diff --git a/docs/assets/index-BpTTqlnx.css b/docs/assets/index-BpTTqlnx.css deleted file mode 100644 index 03d8c4e..0000000 --- a/docs/assets/index-BpTTqlnx.css +++ /dev/null @@ -1 +0,0 @@ -.logo[data-v-16a1c733]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-16a1c733]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-16a1c733]:hover{filter:drop-shadow(0 0 2em #42b883aa)}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;place-items:center;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{max-width:1280px;margin:0 auto;padding:2rem;text-align:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.container{display:flex;height:80vh;overflow:hidden;gap:0;padding-top:140px}.editor-controls{width:400px;padding:25px;background-color:#f5f5f5;overflow-y:scroll;box-sizing:border-box;display:flex;flex-direction:column;gap:15px;scrollbar-width:thin;scrollbar-color:#888 #f5f5f5}.editor-controls::-webkit-scrollbar{width:8px}.editor-controls::-webkit-scrollbar-track{background:#f5f5f5}.editor-controls::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.editor-controls::-webkit-scrollbar-thumb:hover{background:#666}.control-group{background-color:#fff;border-radius:8px;padding:15px;box-shadow:0 2px 4px #0000001a}.control-group:hover{box-shadow:0 4px 8px #00000026}.button-group{position:sticky;top:0;z-index:1000;background-color:#fff;padding:10px;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.button-group button{padding:8px 12px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease}.button-group button:hover{background-color:#45a049;transform:translateY(-1px)}.control-group h3{margin:0 0 15px;padding-bottom:8px;border-bottom:2px solid #4caf50;color:#333;font-size:16px;font-weight:600}.inner-circle-list,.company-list,.stamp-type-list{display:flex;flex-direction:column;gap:12px}.inner-circle-item,.company-item,.stamp-type-item{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:12px;transition:all .3s ease}.inner-circle-item:hover,.company-item:hover,.stamp-type-item:hover{box-shadow:0 4px 6px #0000001a}.editor-controls label{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;font-size:14px;color:#555}.editor-controls input[type=text],.editor-controls input[type=number],.editor-controls select{padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s ease}.editor-controls input[type=text]:focus,.editor-controls input[type=number]:focus,.editor-controls select:focus{border-color:#4caf50;outline:none}.editor-controls input[type=range]{-webkit-appearance:none;width:100%;height:6px;background:#ddd;border-radius:3px;outline:none}.editor-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#4caf50;border-radius:50%;cursor:pointer;transition:background .3s ease}.editor-controls input[type=range]::-webkit-slider-thumb:hover{background:#45a049}.checkbox-label{flex-direction:row!important;align-items:center;cursor:pointer}.checkbox-label input[type=checkbox]{margin-right:8px;cursor:pointer}.add-button,.delete-button{padding:6px 12px;border:none;border-radius:4px;color:#fff;font-size:13px;cursor:pointer;transition:all .3s ease}.add-button{background-color:#4caf50;width:100%;margin-top:8px}.delete-button{background-color:#dc3545}.add-button:hover{background-color:#45a049}.delete-button:hover{background-color:#c82333}.inner-circle-header,.company-header,.stamp-type-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #eee}.canvas-container{flex:1;background-color:#f8f9fa;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:40px 20px 20px;overflow:hidden}canvas{box-shadow:0 4px 12px #0000001a;border-radius:8px;background-color:#fff}.template-panel{width:250px;background:#fff;border-left:1px solid #eee;display:flex;flex-direction:column;height:100vh}.template-header{padding:15px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.template-header h3{margin:0;color:#333}.add-template{background:#4caf50;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:4px}.template-list{flex:1;overflow-y:auto;padding:15px}.template-item{border:1px solid #eee;border-radius:8px;margin-bottom:15px;cursor:pointer;transition:all .3s ease}.template-item:hover{box-shadow:0 2px 8px #0000001a}.template-item.active{border-color:#4caf50;box-shadow:0 0 0 2px #4caf5033}.template-preview{height:150px;overflow:hidden;border-radius:8px 8px 0 0;background:#f5f5f5}.template-preview img{width:100%;height:100%;object-fit:contain}.template-info{padding:10px;display:flex;justify-content:space-between;align-items:center}.template-name{font-size:14px;color:#333}.template-actions{display:flex;gap:8px}.delete-template{background:#ff4d4f;color:#fff;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:12px}.delete-template:hover{background:#ff7875}.tab-navigation{display:flex;gap:2px;background:#f0f0f0;padding:2px;border-radius:8px;margin-bottom:15px;position:sticky;top:60px;z-index:1000}.tab-button{flex:1;padding:10px;border:none;background:#fff;color:#666;cursor:pointer;border-radius:6px;font-size:14px;transition:all .3s ease}.tab-button:hover{background:#e8f5e9;color:#4caf50}.tab-button.active{background:#4caf50;color:#fff}@media (max-width: 1200px){.container{flex-direction:column}.editor-controls{width:100%;max-height:50vh}.canvas-container{height:50vh}.tab-navigation{top:0}.button-group{position:static}}.template-category{margin-bottom:20px}.template-category h4{margin:0 0 10px;color:#666;font-size:14px;padding-bottom:8px;border-bottom:1px solid #eee}.legal-disclaimer{position:fixed;top:0;left:0;right:0;z-index:2000;background-color:#fff1f0fa;box-shadow:0 2px 8px #00000026;padding:12px 20px;transition:all .3s ease}.disclaimer-content{max-width:1200px;margin:0 auto;display:flex;align-items:flex-start;gap:16px}.warning-icon{font-size:24px;color:#ff4d4f;flex-shrink:0}.warning-text{flex:1}.warning-text h3{color:#ff4d4f;margin:0 0 8px;font-size:18px;font-weight:700}.warning-text p{color:#cf1322;margin:4px 0;font-size:14px;line-height:1.5}.warning-text strong{font-size:16px}.legal-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2100}.legal-dialog{background-color:#fff;padding:24px;border-radius:8px;max-width:500px;width:90%;box-shadow:0 4px 12px #00000026}.legal-dialog h3{color:#ff4d4f;margin:0 0 16px;font-size:20px;display:flex;align-items:center;gap:8px}.legal-content{margin-bottom:20px}.legal-content p{color:#cf1322;margin-bottom:12px}.legal-content ol{color:#666;padding-left:20px;margin:0}.legal-content li{margin-bottom:8px;line-height:1.5}.dialog-buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.cancel-button,.confirm-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease}.cancel-button{background-color:#f5f5f5;color:#666}.confirm-button{background-color:#4caf50;color:#fff}.cancel-button:hover{background-color:#e8e8e8}.confirm-button:hover{background-color:#45a049}.image-list{display:flex;flex-direction:column;gap:15px}.image-item{border:1px solid #ddd;padding:12px;border-radius:6px;background:#f8f9fa}.image-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.image-preview{width:100px;height:100px;margin:10px auto;border:1px solid #ddd;border-radius:4px;overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:contain} diff --git a/docs/assets/index-CDRsG2Tf.js b/docs/assets/index-CDRsG2Tf.js deleted file mode 100644 index 2697dd4..0000000 --- a/docs/assets/index-CDRsG2Tf.js +++ /dev/null @@ -1,20 +0,0 @@ -var fo=Object.defineProperty;var po=(e,t,n)=>t in e?fo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var V=(e,t,n)=>po(e,typeof t!="symbol"?t+"":t,n);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();/** -* @vue/shared v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function As(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ie={},Kt=[],Qe=()=>{},ho=()=>!1,Gn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ms=e=>e.startsWith("onUpdate:"),be=Object.assign,Rs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},mo=Object.prototype.hasOwnProperty,ee=(e,t)=>mo.call(e,t),$=Array.isArray,Xt=e=>wn(e)==="[object Map]",tn=e=>wn(e)==="[object Set]",Qs=e=>wn(e)==="[object Date]",K=e=>typeof e=="function",de=e=>typeof e=="string",tt=e=>typeof e=="symbol",ae=e=>e!==null&&typeof e=="object",Ui=e=>(ae(e)||K(e))&&K(e.then)&&K(e.catch),Oi=Object.prototype.toString,wn=e=>Oi.call(e),zo=e=>wn(e).slice(8,-1),Wi=e=>wn(e)==="[object Object]",Is=e=>de(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,gn=As(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),qn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},vo=/-(\w)/g,Vt=qn(e=>e.replace(vo,(t,n)=>n?n.toUpperCase():"")),yo=/\B([A-Z])/g,$t=qn(e=>e.replace(yo,"-$1").toLowerCase()),Di=qn(e=>e.charAt(0).toUpperCase()+e.slice(1)),gs=qn(e=>e?`on${Di(e)}`:""),Et=(e,t)=>!Object.is(e,t),On=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},$n=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ei;const Hi=()=>ei||(ei=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Gt(e){if($(e)){const t={};for(let n=0;n{if(n){const s=n.split(Co);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function _e(e){let t="";if(de(e))t=e;else if($(e))for(let n=0;nSn(n,t))}const $i=e=>!!(e&&e.__v_isRef===!0),oe=e=>de(e)?e:e==null?"":$(e)||ae(e)&&(e.toString===Oi||!K(e.toString))?$i(e)?oe(e.value):JSON.stringify(e,ki,2):String(e),ki=(e,t)=>$i(t)?ki(e,t.value):Xt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],l)=>(n[cs(s,l)+" =>"]=i,n),{})}:tn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>cs(n))}:tt(t)?cs(t):ae(t)&&!$(t)&&!Wi(t)?String(t):t,cs=(e,t="")=>{var n;return tt(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** -* @vue/reactivity v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let We;class Eo{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=We,!t&&We&&(this.index=(We.scopes||(We.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t0)return;let e;for(;cn;){let t=cn;for(cn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function Ki(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xi(e,t=!1){let n,s=e.depsTail,i=s;for(;i;){const l=i.prevDep;i.version===-1?(i===s&&(s=l),Ds(i,t),Lo(i)):n=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=l}e.deps=n,e.depsTail=s}function Cs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Gi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Gi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===mn))return;e.globalVersion=mn;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Cs(e)){e.flags&=-3;return}const n=se,s=Xe;se=e,Xe=!0;try{Ki(e);const i=e.fn(e._value);(t.version===0||Et(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{se=n,Xe=s,Xi(e,!0),e.flags&=-3}}function Ds(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s),!n.subs)if(n.computed){n.computed.flags&=-5;for(let l=n.computed.deps;l;l=l.nextDep)Ds(l,!0)}else n.map&&!t&&(n.map.delete(n.key),n.map.size||kn.delete(n.target))}function Lo(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 qi=[];function _t(){qi.push(Xe),Xe=!1}function Lt(){const e=qi.pop();Xe=e===void 0?!0:e}function ti(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=se;se=void 0;try{t()}finally{se=n}}}let mn=0;class Fo{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vs{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(t){if(!se||!Xe||se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==se)n=this.activeLink=new Fo(se,this),se.deps?(n.prevDep=se.depsTail,se.depsTail.nextDep=n,se.depsTail=n):se.deps=se.depsTail=n,se.flags&4&&Ji(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=se.depsTail,n.nextDep=void 0,se.depsTail.nextDep=n,se.depsTail=n,se.deps===n&&(se.deps=s)}return n}trigger(t){this.version++,mn++,this.notify(t)}notify(t){Os();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Ws()}}}function Ji(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ji(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}const kn=new WeakMap,Dt=Symbol(""),ws=Symbol(""),zn=Symbol("");function xe(e,t,n){if(Xe&&se){let s=kn.get(e);s||kn.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new Vs),i.target=e,i.map=s,i.key=n),i.track()}}function zt(e,t,n,s,i,l){const o=kn.get(e);if(!o){mn++;return}const r=g=>{g&&g.trigger()};if(Os(),t==="clear")o.forEach(r);else{const g=$(e),h=g&&Is(n);if(g&&n==="length"){const f=Number(s);o.forEach((m,z)=>{(z==="length"||z===zn||!tt(z)&&z>=f)&&r(m)})}else switch(n!==void 0&&r(o.get(n)),h&&r(o.get(zn)),t){case"add":g?h&&r(o.get("length")):(r(o.get(Dt)),Xt(e)&&r(o.get(ws)));break;case"delete":g||(r(o.get(Dt)),Xt(e)&&r(o.get(ws)));break;case"set":Xt(e)&&r(o.get(Dt));break}}Ws()}function Yt(e){const t=te(e);return t===e?t:(xe(t,"iterate",zn),$e(e)?t:t.map(we))}function Jn(e){return xe(e=te(e),"iterate",zn),e}const Ao={__proto__:null,[Symbol.iterator](){return ds(this,Symbol.iterator,we)},concat(...e){return Yt(this).concat(...e.map(t=>$(t)?Yt(t):t))},entries(){return ds(this,"entries",e=>(e[1]=we(e[1]),e))},every(e,t){return dt(this,"every",e,t,void 0,arguments)},filter(e,t){return dt(this,"filter",e,t,n=>n.map(we),arguments)},find(e,t){return dt(this,"find",e,t,we,arguments)},findIndex(e,t){return dt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return dt(this,"findLast",e,t,we,arguments)},findLastIndex(e,t){return dt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return dt(this,"forEach",e,t,void 0,arguments)},includes(...e){return ps(this,"includes",e)},indexOf(...e){return ps(this,"indexOf",e)},join(e){return Yt(this).join(e)},lastIndexOf(...e){return ps(this,"lastIndexOf",e)},map(e,t){return dt(this,"map",e,t,void 0,arguments)},pop(){return on(this,"pop")},push(...e){return on(this,"push",e)},reduce(e,...t){return ni(this,"reduce",e,t)},reduceRight(e,...t){return ni(this,"reduceRight",e,t)},shift(){return on(this,"shift")},some(e,t){return dt(this,"some",e,t,void 0,arguments)},splice(...e){return on(this,"splice",e)},toReversed(){return Yt(this).toReversed()},toSorted(e){return Yt(this).toSorted(e)},toSpliced(...e){return Yt(this).toSpliced(...e)},unshift(...e){return on(this,"unshift",e)},values(){return ds(this,"values",we)}};function ds(e,t,n){const s=Jn(e),i=s[t]();return s!==e&&!$e(e)&&(i._next=i.next,i.next=()=>{const l=i._next();return l.value&&(l.value=n(l.value)),l}),i}const Mo=Array.prototype;function dt(e,t,n,s,i,l){const o=Jn(e),r=o!==e&&!$e(e),g=o[t];if(g!==Mo[t]){const m=g.apply(e,l);return r?we(m):m}let h=n;o!==e&&(r?h=function(m,z){return n.call(this,we(m),z,e)}:n.length>2&&(h=function(m,z){return n.call(this,m,z,e)}));const f=g.call(o,h,s);return r&&i?i(f):f}function ni(e,t,n,s){const i=Jn(e);let l=n;return i!==e&&($e(e)?n.length>3&&(l=function(o,r,g){return n.call(this,o,r,g,e)}):l=function(o,r,g){return n.call(this,o,we(r),g,e)}),i[t](l,...s)}function ps(e,t,n){const s=te(e);xe(s,"iterate",zn);const i=s[t](...n);return(i===-1||i===!1)&&js(n[0])?(n[0]=te(n[0]),s[t](...n)):i}function on(e,t,n=[]){_t(),Os();const s=te(e)[t].apply(e,n);return Ws(),Lt(),s}const Ro=As("__proto__,__v_isRef,__isVue"),Zi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(tt));function Io(e){tt(e)||(e=String(e));const t=te(this);return xe(t,"has",e),t.hasOwnProperty(e)}class Qi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){const i=this._isReadonly,l=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return l;if(n==="__v_raw")return s===(i?l?Ko:sl:l?nl:tl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=$(t);if(!i){let g;if(o&&(g=Ao[n]))return g;if(n==="hasOwnProperty")return Io}const r=Reflect.get(t,n,Se(t)?t:s);return(tt(n)?Zi.has(n):Ro(n))||(i||xe(t,"get",n),l)?r:Se(r)?o&&Is(n)?r:r.value:ae(r)?i?il(r):$s(r):r}}class el extends Qi{constructor(t=!1){super(!1,t)}set(t,n,s,i){let l=t[n];if(!this._isShallow){const g=Ht(l);if(!$e(s)&&!Ht(s)&&(l=te(l),s=te(s)),!$(t)&&Se(l)&&!Se(s))return g?!1:(l.value=s,!0)}const o=$(t)&&Is(n)?Number(n)e,Zn=e=>Reflect.getPrototypeOf(e);function Ln(e,t,n=!1,s=!1){e=e.__v_raw;const i=te(e),l=te(t);n||(Et(t,l)&&xe(i,"get",t),xe(i,"get",l));const{has:o}=Zn(i),r=s?Hs:n?Ys:we;if(o.call(i,t))return r(e.get(t));if(o.call(i,l))return r(e.get(l));e!==i&&e.get(t)}function Fn(e,t=!1){const n=this.__v_raw,s=te(n),i=te(e);return t||(Et(e,i)&&xe(s,"has",e),xe(s,"has",i)),e===i?n.has(e):n.has(e)||n.has(i)}function An(e,t=!1){return e=e.__v_raw,!t&&xe(te(e),"iterate",Dt),Reflect.get(e,"size",e)}function si(e,t=!1){!t&&!$e(e)&&!Ht(e)&&(e=te(e));const n=te(this);return Zn(n).has.call(n,e)||(n.add(e),zt(n,"add",e,e)),this}function ii(e,t,n=!1){!n&&!$e(t)&&!Ht(t)&&(t=te(t));const s=te(this),{has:i,get:l}=Zn(s);let o=i.call(s,e);o||(e=te(e),o=i.call(s,e));const r=l.call(s,e);return s.set(e,t),o?Et(t,r)&&zt(s,"set",e,t):zt(s,"add",e,t),this}function li(e){const t=te(this),{has:n,get:s}=Zn(t);let i=n.call(t,e);i||(e=te(e),i=n.call(t,e)),s&&s.call(t,e);const l=t.delete(e);return i&&zt(t,"delete",e,void 0),l}function oi(){const e=te(this),t=e.size!==0,n=e.clear();return t&&zt(e,"clear",void 0,void 0),n}function Mn(e,t){return function(s,i){const l=this,o=l.__v_raw,r=te(o),g=t?Hs:e?Ys:we;return!e&&xe(r,"iterate",Dt),o.forEach((h,f)=>s.call(i,g(h),g(f),l))}}function Rn(e,t,n){return function(...s){const i=this.__v_raw,l=te(i),o=Xt(l),r=e==="entries"||e===Symbol.iterator&&o,g=e==="keys"&&o,h=i[e](...s),f=n?Hs:t?Ys:we;return!t&&xe(l,"iterate",g?ws:Dt),{next(){const{value:m,done:z}=h.next();return z?{value:m,done:z}:{value:r?[f(m[0]),f(m[1])]:f(m),done:z}},[Symbol.iterator](){return this}}}}function wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Vo(){const e={get(l){return Ln(this,l)},get size(){return An(this)},has:Fn,add:si,set:ii,delete:li,clear:oi,forEach:Mn(!1,!1)},t={get(l){return Ln(this,l,!1,!0)},get size(){return An(this)},has:Fn,add(l){return si.call(this,l,!0)},set(l,o){return ii.call(this,l,o,!0)},delete:li,clear:oi,forEach:Mn(!1,!0)},n={get(l){return Ln(this,l,!0)},get size(){return An(this,!0)},has(l){return Fn.call(this,l,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Mn(!0,!1)},s={get(l){return Ln(this,l,!0,!0)},get size(){return An(this,!0)},has(l){return Fn.call(this,l,!0)},add:wt("add"),set:wt("set"),delete:wt("delete"),clear:wt("clear"),forEach:Mn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(l=>{e[l]=Rn(l,!1,!1),n[l]=Rn(l,!0,!1),t[l]=Rn(l,!1,!0),s[l]=Rn(l,!0,!0)}),[e,n,t,s]}const[Ho,No,$o,ko]=Vo();function Ns(e,t){const n=t?e?ko:$o:e?No:Ho;return(s,i,l)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(ee(n,i)&&i in s?n:s,i,l)}const jo={get:Ns(!1,!1)},Yo={get:Ns(!1,!0)},Bo={get:Ns(!0,!1)};const tl=new WeakMap,nl=new WeakMap,sl=new WeakMap,Ko=new WeakMap;function Xo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Go(e){return e.__v_skip||!Object.isExtensible(e)?0:Xo(zo(e))}function $s(e){return Ht(e)?e:ks(e,!1,Oo,jo,tl)}function qo(e){return ks(e,!1,Do,Yo,nl)}function il(e){return ks(e,!0,Wo,Bo,sl)}function ks(e,t,n,s,i){if(!ae(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=i.get(e);if(l)return l;const o=Go(e);if(o===0)return e;const r=new Proxy(e,o===2?s:n);return i.set(e,r),r}function qt(e){return Ht(e)?qt(e.__v_raw):!!(e&&e.__v_isReactive)}function Ht(e){return!!(e&&e.__v_isReadonly)}function $e(e){return!!(e&&e.__v_isShallow)}function js(e){return e?!!e.__v_raw:!1}function te(e){const t=e&&e.__v_raw;return t?te(t):e}function Jo(e){return!ee(e,"__v_skip")&&Object.isExtensible(e)&&Vi(e,"__v_skip",!0),e}const we=e=>ae(e)?$s(e):e,Ys=e=>ae(e)?il(e):e;function Se(e){return e?e.__v_isRef===!0:!1}function _(e){return Zo(e,!1)}function Zo(e,t){return Se(e)?e:new Qo(e,t)}class Qo{constructor(t,n){this.dep=new Vs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:te(t),this._value=n?t:we(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||$e(t)||Ht(t);t=s?t:te(t),Et(t,n)&&(this._rawValue=t,this._value=s?t:we(t),this.dep.trigger())}}function ea(e){return Se(e)?e.value:e}const ta={get:(e,t,n)=>t==="__v_raw"?e:ea(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Se(i)&&!Se(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function ll(e){return qt(e)?e:new Proxy(e,ta)}class na{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Vs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=mn-1,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&se!==this)return Bi(this),!0}get value(){const t=this.dep.track();return Gi(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function sa(e,t,n=!1){let s,i;return K(e)?s=e:(s=e.get,i=e.set),new na(s,i,n)}const In={},jn=new WeakMap;let Wt;function ia(e,t=!1,n=Wt){if(n){let s=jn.get(n);s||jn.set(n,s=[]),s.push(e)}}function la(e,t,n=ie){const{immediate:s,deep:i,once:l,scheduler:o,augmentJob:r,call:g}=n,h=U=>i?U:$e(U)||i===!1||i===0?mt(U,1):mt(U);let f,m,z,x,R=!1,O=!1;if(Se(e)?(m=()=>e.value,R=$e(e)):qt(e)?(m=()=>h(e),R=!0):$(e)?(O=!0,R=e.some(U=>qt(U)||$e(U)),m=()=>e.map(U=>{if(Se(U))return U.value;if(qt(U))return h(U);if(K(U))return g?g(U,2):U()})):K(e)?t?m=g?()=>g(e,2):e:m=()=>{if(z){_t();try{z()}finally{Lt()}}const U=Wt;Wt=f;try{return g?g(e,3,[x]):e(x)}finally{Wt=U}}:m=Qe,t&&i){const U=m,q=i===!0?1/0:i;m=()=>mt(U(),q)}const B=_o(),D=()=>{f.stop(),B&&Rs(B.effects,f)};if(l&&t){const U=t;t=(...q)=>{U(...q),D()}}let j=O?new Array(e.length).fill(In):In;const Y=U=>{if(!(!(f.flags&1)||!f.dirty&&!U))if(t){const q=f.run();if(i||R||(O?q.some((pe,he)=>Et(pe,j[he])):Et(q,j))){z&&z();const pe=Wt;Wt=f;try{const he=[q,j===In?void 0:O&&j[0]===In?[]:j,x];g?g(t,3,he):t(...he),j=q}finally{Wt=pe}}}else f.run()};return r&&r(Y),f=new ji(m),f.scheduler=o?()=>o(Y,!1):Y,x=U=>ia(U,!1,f),z=f.onStop=()=>{const U=jn.get(f);if(U){if(g)g(U,4);else for(const q of U)q();jn.delete(f)}},t?s?Y(!0):j=f.run():o?o(Y.bind(null,!0),!0):f.run(),D.pause=f.pause.bind(f),D.resume=f.resume.bind(f),D.stop=D,D}function mt(e,t=1/0,n){if(t<=0||!ae(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Se(e))mt(e.value,t,n);else if($(e))for(let s=0;s{mt(s,t,n)});else if(Wi(e)){for(const s in e)mt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&mt(e[s],t,n)}return e}/** -* @vue/runtime-core v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/function xn(e,t,n,s){try{return s?e(...s):e()}catch(i){Qn(i,t,n)}}function nt(e,t,n,s){if(K(e)){const i=xn(e,t,n,s);return i&&Ui(i)&&i.catch(l=>{Qn(l,t,n)}),i}if($(e)){const i=[];for(let l=0;l>>1,i=Le[s],l=yn(i);l=yn(n)?Le.push(e):Le.splice(aa(t),0,e),e.flags|=1,rl()}}function rl(){!vn&&!Ss&&(Ss=!0,Bs=ol.then(gl))}function ra(e){$(e)?Jt.push(...e):xt&&e.id===-1?xt.splice(Bt+1,0,e):e.flags&1||(Jt.push(e),e.flags|=1),rl()}function ai(e,t,n=vn?Je+1:0){for(;nyn(n)-yn(s));if(Jt.length=0,xt){xt.push(...t);return}for(xt=t,Bt=0;Bte.id==null?e.flags&2?-1:1/0:e.id;function gl(e){Ss=!1,vn=!0;try{for(Je=0;Je{s._d&&hi(-1);const l=Yn(t);let o;try{o=e(...i)}finally{Yn(l),s._d&&hi(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function F(e,t){if(Ne===null)return e;const n=is(Ne),s=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport;function Xs(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xs(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function fl(e,t){return K(e)?be({name:e.name},t,{setup:e}):e}function dl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function xs(e,t,n,s,i=!1){if($(e)){e.forEach((R,O)=>xs(R,t&&($(t)?t[O]:t),n,s,i));return}if(fn(s)&&!i)return;const l=s.shapeFlag&4?is(s.component):s.el,o=i?null:l,{i:r,r:g}=e,h=t&&t.r,f=r.refs===ie?r.refs={}:r.refs,m=r.setupState,z=te(m),x=m===ie?()=>!1:R=>ee(z,R);if(h!=null&&h!==g&&(de(h)?(f[h]=null,x(h)&&(m[h]=null)):Se(h)&&(h.value=null)),K(g))xn(g,r,12,[o,f]);else{const R=de(g),O=Se(g);if(R||O){const B=()=>{if(e.f){const D=R?x(g)?m[g]:f[g]:g.value;i?$(D)&&Rs(D,l):$(D)?D.includes(l)||D.push(l):R?(f[g]=[l],x(g)&&(m[g]=f[g])):(g.value=[l],e.k&&(f[e.k]=g.value))}else R?(f[g]=o,x(g)&&(m[g]=o)):O&&(g.value=o,e.k&&(f[e.k]=o))};o?(B.id=-1,Oe(B,n)):B()}}}const fn=e=>!!e.type.__asyncLoader,pl=e=>e.type.__isKeepAlive;function fa(e,t){hl(e,"a",t)}function da(e,t){hl(e,"da",t)}function hl(e,t,n=Fe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(es(t,s,n),n){let i=n.parent;for(;i&&i.parent;)pl(i.parent.vnode)&&pa(s,t,n,i),i=i.parent}}function pa(e,t,n,s){const i=es(t,e,s,!0);ml(()=>{Rs(s[t],i)},n)}function es(e,t,n=Fe,s=!1){if(n){const i=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{_t();const r=Tn(n),g=nt(t,n,e,o);return r(),Lt(),g});return s?i.unshift(l):i.push(l),l}}const yt=e=>(t,n=Fe)=>{(!ss||e==="sp")&&es(e,(...s)=>t(...s),n)},ha=yt("bm"),Wn=yt("m"),ma=yt("bu"),za=yt("u"),va=yt("bum"),ml=yt("um"),ya=yt("sp"),ba=yt("rtg"),Ca=yt("rtc");function wa(e,t=Fe){es("ec",e,t)}const Sa=Symbol.for("v-ndc");function pt(e,t,n,s){let i;const l=n,o=$(e);if(o||de(e)){const r=o&&qt(e);let g=!1;r&&(g=!$e(e),e=Jn(e)),i=new Array(e.length);for(let h=0,f=e.length;ht(r,g,void 0,l));else{const r=Object.keys(e);i=new Array(r.length);for(let g=0,h=r.length;ge?Wl(e)?is(e):Ts(e.parent):null,dn=be(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ts(e.parent),$root:e=>Ts(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Gs(e),$forceUpdate:e=>e.f||(e.f=()=>{Ks(e.update)}),$nextTick:e=>e.n||(e.n=al.bind(e.proxy)),$watch:e=>Ya.bind(e)}),hs=(e,t)=>e!==ie&&!e.__isScriptSetup&&ee(e,t),xa={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:l,accessCache:o,type:r,appContext:g}=e;let h;if(t[0]!=="$"){const x=o[t];if(x!==void 0)switch(x){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(hs(s,t))return o[t]=1,s[t];if(i!==ie&&ee(i,t))return o[t]=2,i[t];if((h=e.propsOptions[0])&&ee(h,t))return o[t]=3,l[t];if(n!==ie&&ee(n,t))return o[t]=4,n[t];Ps&&(o[t]=0)}}const f=dn[t];let m,z;if(f)return t==="$attrs"&&xe(e.attrs,"get",""),f(e);if((m=r.__cssModules)&&(m=m[t]))return m;if(n!==ie&&ee(n,t))return o[t]=4,n[t];if(z=g.config.globalProperties,ee(z,t))return z[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:l}=e;return hs(i,t)?(i[t]=n,!0):s!==ie&&ee(s,t)?(s[t]=n,!0):ee(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,propsOptions:l}},o){let r;return!!n[o]||e!==ie&&ee(e,o)||hs(t,o)||(r=l[0])&&ee(r,o)||ee(s,o)||ee(dn,o)||ee(i.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ee(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function ri(e){return $(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ps=!0;function Ta(e){const t=Gs(e),n=e.proxy,s=e.ctx;Ps=!1,t.beforeCreate&&ui(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:o,watch:r,provide:g,inject:h,created:f,beforeMount:m,mounted:z,beforeUpdate:x,updated:R,activated:O,deactivated:B,beforeDestroy:D,beforeUnmount:j,destroyed:Y,unmounted:U,render:q,renderTracked:pe,renderTriggered:he,errorCaptured:ve,serverPrefetch:Me,expose:Re,inheritAttrs:ke,components:Ft,directives:st,filters:it}=t;if(h&&Pa(h,s,null),o)for(const le in o){const Q=o[le];K(Q)&&(s[le]=Q.bind(n))}if(i){const le=i.call(n,n);ae(le)&&(e.data=$s(le))}if(Ps=!0,l)for(const le in l){const Q=l[le],Ie=K(Q)?Q.bind(n,n):K(Q.get)?Q.get.bind(n,n):Qe,Ve=!K(Q)&&K(Q.set)?Q.set.bind(n):Qe,Ue=f0({get:Ie,set:Ve});Object.defineProperty(s,le,{enumerable:!0,configurable:!0,get:()=>Ue.value,set:Ae=>Ue.value=Ae})}if(r)for(const le in r)zl(r[le],s,n,le);if(g){const le=K(g)?g.call(n):g;Reflect.ownKeys(le).forEach(Q=>{Ma(Q,le[Q])})}f&&ui(f,e,"c");function me(le,Q){$(Q)?Q.forEach(Ie=>le(Ie.bind(n))):Q&&le(Q.bind(n))}if(me(ha,m),me(Wn,z),me(ma,x),me(za,R),me(fa,O),me(da,B),me(wa,ve),me(Ca,pe),me(ba,he),me(va,j),me(ml,U),me(ya,Me),$(Re))if(Re.length){const le=e.exposed||(e.exposed={});Re.forEach(Q=>{Object.defineProperty(le,Q,{get:()=>n[Q],set:Ie=>n[Q]=Ie})})}else e.exposed||(e.exposed={});q&&e.render===Qe&&(e.render=q),ke!=null&&(e.inheritAttrs=ke),Ft&&(e.components=Ft),st&&(e.directives=st),Me&&dl(e)}function Pa(e,t,n=Qe){$(e)&&(e=Es(e));for(const s in e){const i=e[s];let l;ae(i)?"default"in i?l=Dn(i.from||s,i.default,!0):l=Dn(i.from||s):l=Dn(i),Se(l)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[s]=l}}function ui(e,t,n){nt($(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function zl(e,t,n,s){let i=s.includes(".")?Al(n,s):()=>n[s];if(de(e)){const l=t[e];K(l)&&pn(i,l)}else if(K(e))pn(i,e.bind(n));else if(ae(e))if($(e))e.forEach(l=>zl(l,t,n,s));else{const l=K(e.handler)?e.handler.bind(n):t[e.handler];K(l)&&pn(i,l,e)}}function Gs(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,r=l.get(t);let g;return r?g=r:!i.length&&!n&&!s?g=t:(g={},i.length&&i.forEach(h=>Bn(g,h,o,!0)),Bn(g,t,o)),ae(t)&&l.set(t,g),g}function Bn(e,t,n,s=!1){const{mixins:i,extends:l}=t;l&&Bn(e,l,n,!0),i&&i.forEach(o=>Bn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const r=Ea[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const Ea={data:gi,props:ci,emits:ci,methods:un,computed:un,beforeCreate:Ee,created:Ee,beforeMount:Ee,mounted:Ee,beforeUpdate:Ee,updated:Ee,beforeDestroy:Ee,beforeUnmount:Ee,destroyed:Ee,unmounted:Ee,activated:Ee,deactivated:Ee,errorCaptured:Ee,serverPrefetch:Ee,components:un,directives:un,watch:La,provide:gi,inject:_a};function gi(e,t){return t?e?function(){return be(K(e)?e.call(this,this):e,K(t)?t.call(this,this):t)}:t:e}function _a(e,t){return un(Es(e),Es(t))}function Es(e){if($(e)){const t={};for(let n=0;n1)return n&&K(t)?t.call(s&&s.proxy):t}}const yl={},bl=()=>Object.create(yl),Cl=e=>Object.getPrototypeOf(e)===yl;function Ra(e,t,n,s=!1){const i={},l=bl();e.propsDefaults=Object.create(null),wl(e,t,i,l);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:qo(i):e.type.props?e.props=i:e.props=l,e.attrs=l}function Ia(e,t,n,s){const{props:i,attrs:l,vnode:{patchFlag:o}}=e,r=te(i),[g]=e.propsOptions;let h=!1;if((s||o>0)&&!(o&16)){if(o&8){const f=e.vnode.dynamicProps;for(let m=0;m{g=!0;const[z,x]=Sl(m,t,!0);be(o,z),x&&r.push(...x)};!n&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!l&&!g)return ae(e)&&s.set(e,Kt),Kt;if($(l))for(let f=0;fe[0]==="_"||e==="$stable",qs=e=>$(e)?e.map(Ze):[Ze(e)],Oa=(e,t,n)=>{if(t._n)return t;const s=ua((...i)=>qs(t(...i)),n);return s._c=!1,s},Tl=(e,t,n)=>{const s=e._ctx;for(const i in e){if(xl(i))continue;const l=e[i];if(K(l))t[i]=Oa(i,l,s);else if(l!=null){const o=qs(l);t[i]=()=>o}}},Pl=(e,t)=>{const n=qs(t);e.slots.default=()=>n},El=(e,t,n)=>{for(const s in t)(n||s!=="_")&&(e[s]=t[s])},Wa=(e,t,n)=>{const s=e.slots=bl();if(e.vnode.shapeFlag&32){const i=t._;i?(El(s,t,n),n&&Vi(s,"_",i,!0)):Tl(t,s)}else t&&Pl(e,t)},Da=(e,t,n)=>{const{vnode:s,slots:i}=e;let l=!0,o=ie;if(s.shapeFlag&32){const r=t._;r?n&&r===1?l=!1:El(i,t,n):(l=!t.$stable,Tl(t,i)),o=t}else t&&(Pl(e,t),o={default:1});if(l)for(const r in i)!xl(r)&&o[r]==null&&delete i[r]},Oe=Za;function Va(e){return Ha(e)}function Ha(e,t){const n=Hi();n.__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:o,createText:r,createComment:g,setText:h,setElementText:f,parentNode:m,nextSibling:z,setScopeId:x=Qe,insertStaticContent:R}=e,O=(c,p,v,S=null,b=null,w=null,L=void 0,E=null,P=!!p.dynamicChildren)=>{if(c===p)return;c&&!an(c,p)&&(S=Mt(c),Ae(c,b,w,!0),c=null),p.patchFlag===-2&&(P=!1,p.dynamicChildren=null);const{type:C,ref:W,shapeFlag:A}=p;switch(C){case ns:B(c,p,v,S);break;case Nt:D(c,p,v,S);break;case Vn:c==null&&j(p,v,S,L);break;case ze:Ft(c,p,v,S,b,w,L,E,P);break;default:A&1?q(c,p,v,S,b,w,L,E,P):A&6?st(c,p,v,S,b,w,L,E,P):(A&64||A&128)&&C.process(c,p,v,S,b,w,L,E,P,He)}W!=null&&b&&xs(W,c&&c.ref,w,p||c,!p)},B=(c,p,v,S)=>{if(c==null)s(p.el=r(p.children),v,S);else{const b=p.el=c.el;p.children!==c.children&&h(b,p.children)}},D=(c,p,v,S)=>{c==null?s(p.el=g(p.children||""),v,S):p.el=c.el},j=(c,p,v,S)=>{[c.el,c.anchor]=R(c.children,p,v,S,c.el,c.anchor)},Y=({el:c,anchor:p},v,S)=>{let b;for(;c&&c!==p;)b=z(c),s(c,v,S),c=b;s(p,v,S)},U=({el:c,anchor:p})=>{let v;for(;c&&c!==p;)v=z(c),i(c),c=v;i(p)},q=(c,p,v,S,b,w,L,E,P)=>{p.type==="svg"?L="svg":p.type==="math"&&(L="mathml"),c==null?pe(p,v,S,b,w,L,E,P):Me(c,p,b,w,L,E,P)},pe=(c,p,v,S,b,w,L,E)=>{let P,C;const{props:W,shapeFlag:A,transition:I,dirs:H}=c;if(P=c.el=o(c.type,w,W&&W.is,W),A&8?f(P,c.children):A&16&&ve(c.children,P,null,S,b,ms(c,w),L,E),H&&It(c,null,S,"created"),he(P,c,c.scopeId,L,S),W){for(const J in W)J!=="value"&&!gn(J)&&l(P,J,null,W[J],w,S);"value"in W&&l(P,"value",null,W.value,w),(C=W.onVnodeBeforeMount)&&Ge(C,S,c)}H&&It(c,null,S,"beforeMount");const X=Na(b,I);X&&I.beforeEnter(P),s(P,p,v),((C=W&&W.onVnodeMounted)||X||H)&&Oe(()=>{C&&Ge(C,S,c),X&&I.enter(P),H&&It(c,null,S,"mounted")},b)},he=(c,p,v,S,b)=>{if(v&&x(c,v),S)for(let w=0;w{for(let C=P;C{const E=p.el=c.el;let{patchFlag:P,dynamicChildren:C,dirs:W}=p;P|=c.patchFlag&16;const A=c.props||ie,I=p.props||ie;let H;if(v&&Ut(v,!1),(H=I.onVnodeBeforeUpdate)&&Ge(H,v,p,c),W&&It(p,c,v,"beforeUpdate"),v&&Ut(v,!0),(A.innerHTML&&I.innerHTML==null||A.textContent&&I.textContent==null)&&f(E,""),C?Re(c.dynamicChildren,C,E,v,S,ms(p,b),w):L||Q(c,p,E,null,v,S,ms(p,b),w,!1),P>0){if(P&16)ke(E,A,I,v,b);else if(P&2&&A.class!==I.class&&l(E,"class",null,I.class,b),P&4&&l(E,"style",A.style,I.style,b),P&8){const X=p.dynamicProps;for(let J=0;J{H&&Ge(H,v,p,c),W&&It(p,c,v,"updated")},S)},Re=(c,p,v,S,b,w,L)=>{for(let E=0;E{if(p!==v){if(p!==ie)for(const w in p)!gn(w)&&!(w in v)&&l(c,w,p[w],null,b,S);for(const w in v){if(gn(w))continue;const L=v[w],E=p[w];L!==E&&w!=="value"&&l(c,w,E,L,b,S)}"value"in v&&l(c,"value",p.value,v.value,b)}},Ft=(c,p,v,S,b,w,L,E,P)=>{const C=p.el=c?c.el:r(""),W=p.anchor=c?c.anchor:r("");let{patchFlag:A,dynamicChildren:I,slotScopeIds:H}=p;H&&(E=E?E.concat(H):H),c==null?(s(C,v,S),s(W,v,S),ve(p.children||[],v,W,b,w,L,E,P)):A>0&&A&64&&I&&c.dynamicChildren?(Re(c.dynamicChildren,I,v,b,w,L,E),(p.key!=null||b&&p===b.subTree)&&_l(c,p,!0)):Q(c,p,v,W,b,w,L,E,P)},st=(c,p,v,S,b,w,L,E,P)=>{p.slotScopeIds=E,c==null?p.shapeFlag&512?b.ctx.activate(p,v,S,L,P):it(p,v,S,b,w,L,P):kt(c,p,P)},it=(c,p,v,S,b,w,L)=>{const E=c.component=o0(c,S,b);if(pl(c)&&(E.ctx.renderer=He),a0(E,!1,L),E.asyncDep){if(b&&b.registerDep(E,me,L),!c.el){const P=E.subTree=et(Nt);D(null,P,p,v)}}else me(E,c,p,v,b,w,L)},kt=(c,p,v)=>{const S=p.component=c.component;if(qa(c,p,v))if(S.asyncDep&&!S.asyncResolved){le(S,p,v);return}else S.next=p,S.update();else p.el=c.el,S.vnode=p},me=(c,p,v,S,b,w,L)=>{const E=()=>{if(c.isMounted){let{next:A,bu:I,u:H,parent:X,vnode:J}=c;{const ye=Ll(c);if(ye){A&&(A.el=J.el,le(c,A,L)),ye.asyncDep.then(()=>{c.isUnmounted||E()});return}}let G=A,ue;Ut(c,!1),A?(A.el=J.el,le(c,A,L)):A=J,I&&On(I),(ue=A.props&&A.props.onVnodeBeforeUpdate)&&Ge(ue,X,A,J),Ut(c,!0);const fe=zs(c),Te=c.subTree;c.subTree=fe,O(Te,fe,m(Te.el),Mt(Te),c,b,w),A.el=fe.el,G===null&&Ja(c,fe.el),H&&Oe(H,b),(ue=A.props&&A.props.onVnodeUpdated)&&Oe(()=>Ge(ue,X,A,J),b)}else{let A;const{el:I,props:H}=p,{bm:X,m:J,parent:G,root:ue,type:fe}=c,Te=fn(p);if(Ut(c,!1),X&&On(X),!Te&&(A=H&&H.onVnodeBeforeMount)&&Ge(A,G,p),Ut(c,!0),I&&rt){const ye=()=>{c.subTree=zs(c),rt(I,c.subTree,c,b,null)};Te&&fe.__asyncHydrate?fe.__asyncHydrate(I,c,ye):ye()}else{ue.ce&&ue.ce._injectChildStyle(fe);const ye=c.subTree=zs(c);O(null,ye,v,S,c,b,w),p.el=ye.el}if(J&&Oe(J,b),!Te&&(A=H&&H.onVnodeMounted)){const ye=p;Oe(()=>Ge(A,G,ye),b)}(p.shapeFlag&256||G&&fn(G.vnode)&&G.vnode.shapeFlag&256)&&c.a&&Oe(c.a,b),c.isMounted=!0,p=v=S=null}};c.scope.on();const P=c.effect=new ji(E);c.scope.off();const C=c.update=P.run.bind(P),W=c.job=P.runIfDirty.bind(P);W.i=c,W.id=c.uid,P.scheduler=()=>Ks(W),Ut(c,!0),C()},le=(c,p,v)=>{p.component=c;const S=c.vnode.props;c.vnode=p,c.next=null,Ia(c,p.props,S,v),Da(c,p.children,v),_t(),ai(c),Lt()},Q=(c,p,v,S,b,w,L,E,P=!1)=>{const C=c&&c.children,W=c?c.shapeFlag:0,A=p.children,{patchFlag:I,shapeFlag:H}=p;if(I>0){if(I&128){Ve(C,A,v,S,b,w,L,E,P);return}else if(I&256){Ie(C,A,v,S,b,w,L,E,P);return}}H&8?(W&16&&je(C,b,w),A!==C&&f(v,A)):W&16?H&16?Ve(C,A,v,S,b,w,L,E,P):je(C,b,w,!0):(W&8&&f(v,""),H&16&&ve(A,v,S,b,w,L,E,P))},Ie=(c,p,v,S,b,w,L,E,P)=>{c=c||Kt,p=p||Kt;const C=c.length,W=p.length,A=Math.min(C,W);let I;for(I=0;IW?je(c,b,w,!0,!1,A):ve(p,v,S,b,w,L,E,P,A)},Ve=(c,p,v,S,b,w,L,E,P)=>{let C=0;const W=p.length;let A=c.length-1,I=W-1;for(;C<=A&&C<=I;){const H=c[C],X=p[C]=P?Tt(p[C]):Ze(p[C]);if(an(H,X))O(H,X,v,null,b,w,L,E,P);else break;C++}for(;C<=A&&C<=I;){const H=c[A],X=p[I]=P?Tt(p[I]):Ze(p[I]);if(an(H,X))O(H,X,v,null,b,w,L,E,P);else break;A--,I--}if(C>A){if(C<=I){const H=I+1,X=HI)for(;C<=A;)Ae(c[C],b,w,!0),C++;else{const H=C,X=C,J=new Map;for(C=X;C<=I;C++){const Ce=p[C]=P?Tt(p[C]):Ze(p[C]);Ce.key!=null&&J.set(Ce.key,C)}let G,ue=0;const fe=I-X+1;let Te=!1,ye=0;const ut=new Array(fe);for(C=0;C=fe){Ae(Ce,b,w,!0);continue}let ge;if(Ce.key!=null)ge=J.get(Ce.key);else for(G=X;G<=I;G++)if(ut[G-X]===0&&an(Ce,p[G])){ge=G;break}ge===void 0?Ae(Ce,b,w,!0):(ut[ge-X]=C+1,ge>=ye?ye=ge:Te=!0,O(Ce,p[ge],v,null,b,w,L,E,P),ue++)}const gt=Te?$a(ut):Kt;for(G=gt.length-1,C=fe-1;C>=0;C--){const Ce=X+C,ge=p[Ce],Pn=Ce+1{const{el:w,type:L,transition:E,children:P,shapeFlag:C}=c;if(C&6){Ue(c.component.subTree,p,v,S);return}if(C&128){c.suspense.move(p,v,S);return}if(C&64){L.move(c,p,v,He);return}if(L===ze){s(w,p,v);for(let A=0;AE.enter(w),b);else{const{leave:A,delayLeave:I,afterLeave:H}=E,X=()=>s(w,p,v),J=()=>{A(w,()=>{X(),H&&H()})};I?I(w,X,J):J()}else s(w,p,v)},Ae=(c,p,v,S=!1,b=!1)=>{const{type:w,props:L,ref:E,children:P,dynamicChildren:C,shapeFlag:W,patchFlag:A,dirs:I,cacheIndex:H}=c;if(A===-2&&(b=!1),E!=null&&xs(E,null,v,c,!0),H!=null&&(p.renderCache[H]=void 0),W&256){p.ctx.deactivate(c);return}const X=W&1&&I,J=!fn(c);let G;if(J&&(G=L&&L.onVnodeBeforeUnmount)&&Ge(G,p,c),W&6)ls(c.component,v,S);else{if(W&128){c.suspense.unmount(v,S);return}X&&It(c,null,p,"beforeUnmount"),W&64?c.type.remove(c,p,v,He,S):C&&!C.hasOnce&&(w!==ze||A>0&&A&64)?je(C,p,v,!1,!0):(w===ze&&A&384||!b&&W&16)&&je(P,p,v),S&<(c)}(J&&(G=L&&L.onVnodeUnmounted)||X)&&Oe(()=>{G&&Ge(G,p,c),X&&It(c,null,p,"unmounted")},v)},lt=c=>{const{type:p,el:v,anchor:S,transition:b}=c;if(p===ze){At(v,S);return}if(p===Vn){U(c);return}const w=()=>{i(v),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(c.shapeFlag&1&&b&&!b.persisted){const{leave:L,delayLeave:E}=b,P=()=>L(v,w);E?E(c.el,w,P):P()}else w()},At=(c,p)=>{let v;for(;c!==p;)v=z(c),i(c),c=v;i(p)},ls=(c,p,v)=>{const{bum:S,scope:b,job:w,subTree:L,um:E,m:P,a:C}=c;di(P),di(C),S&&On(S),b.stop(),w&&(w.flags|=8,Ae(L,c,p,v)),E&&Oe(E,p),Oe(()=>{c.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&c.asyncDep&&!c.asyncResolved&&c.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},je=(c,p,v,S=!1,b=!1,w=0)=>{for(let L=w;L{if(c.shapeFlag&6)return Mt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const p=z(c.anchor||c.el),v=p&&p[ga];return v?z(v):p};let ot=!1;const bt=(c,p,v)=>{c==null?p._vnode&&Ae(p._vnode,null,null,!0):O(p._vnode||null,c,p,null,null,null,v),p._vnode=c,ot||(ot=!0,ai(),ul(),ot=!1)},He={p:O,um:Ae,m:Ue,r:lt,mt:it,mc:ve,pc:Q,pbc:Re,n:Mt,o:e};let at,rt;return{render:bt,hydrate:at,createApp:Aa(bt,at)}}function ms({type:e,props:t},n){return n==="svg"&&e==="foreignObject"||n==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ut({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Na(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _l(e,t,n=!1){const s=e.children,i=t.children;if($(s)&&$(i))for(let l=0;l>1,e[n[r]]0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function Ll(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ll(t)}function di(e){if(e)for(let t=0;tDn(ka);function pn(e,t,n){return Fl(e,t,n)}function Fl(e,t,n=ie){const{immediate:s,deep:i,flush:l,once:o}=n,r=be({},n);let g;if(ss)if(l==="sync"){const z=ja();g=z.__watcherHandles||(z.__watcherHandles=[])}else if(!t||s)r.once=!0;else{const z=()=>{};return z.stop=Qe,z.resume=Qe,z.pause=Qe,z}const h=Fe;r.call=(z,x,R)=>nt(z,h,x,R);let f=!1;l==="post"?r.scheduler=z=>{Oe(z,h&&h.suspense)}:l!=="sync"&&(f=!0,r.scheduler=(z,x)=>{x?z():Ks(z)}),r.augmentJob=z=>{t&&(z.flags|=4),f&&(z.flags|=2,h&&(z.id=h.uid,z.i=h))};const m=la(e,t,r);return g&&g.push(m),m}function Ya(e,t,n){const s=this.proxy,i=de(e)?e.includes(".")?Al(s,e):()=>s[e]:e.bind(s,s);let l;K(t)?l=t:(l=t.handler,n=t);const o=Tn(this),r=Fl(i,l.bind(s),n);return o(),r}function Al(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;it==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Vt(t)}Modifiers`]||e[`${$t(t)}Modifiers`];function Ka(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ie;let i=n;const l=t.startsWith("update:"),o=l&&Ba(s,t.slice(7));o&&(o.trim&&(i=n.map(f=>de(f)?f.trim():f)),o.number&&(i=n.map($n)));let r,g=s[r=gs(t)]||s[r=gs(Vt(t))];!g&&l&&(g=s[r=gs($t(t))]),g&&nt(g,e,6,i);const h=s[r+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,nt(h,e,6,i)}}function Ml(e,t,n=!1){const s=t.emitsCache,i=s.get(e);if(i!==void 0)return i;const l=e.emits;let o={},r=!1;if(!K(e)){const g=h=>{const f=Ml(h,t,!0);f&&(r=!0,be(o,f))};!n&&t.mixins.length&&t.mixins.forEach(g),e.extends&&g(e.extends),e.mixins&&e.mixins.forEach(g)}return!l&&!r?(ae(e)&&s.set(e,null),null):($(l)?l.forEach(g=>o[g]=null):be(o,l),ae(e)&&s.set(e,o),o)}function ts(e,t){return!e||!Gn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ee(e,t[0].toLowerCase()+t.slice(1))||ee(e,$t(t))||ee(e,t))}function zs(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[l],slots:o,attrs:r,emit:g,render:h,renderCache:f,props:m,data:z,setupState:x,ctx:R,inheritAttrs:O}=e,B=Yn(e);let D,j;try{if(n.shapeFlag&4){const U=i||s,q=U;D=Ze(h.call(q,U,f,m,x,z,R)),j=r}else{const U=t;D=Ze(U.length>1?U(m,{attrs:r,slots:o,emit:g}):U(m,null)),j=t.props?r:Xa(r)}}catch(U){hn.length=0,Qn(U,e,1),D=et(Nt)}let Y=D;if(j&&O!==!1){const U=Object.keys(j),{shapeFlag:q}=Y;U.length&&q&7&&(l&&U.some(Ms)&&(j=Ga(j,l)),Y=Qt(Y,j,!1,!0))}return n.dirs&&(Y=Qt(Y,null,!1,!0),Y.dirs=Y.dirs?Y.dirs.concat(n.dirs):n.dirs),n.transition&&Xs(Y,n.transition),D=Y,Yn(B),D}const Xa=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gn(n))&&((t||(t={}))[n]=e[n]);return t},Ga=(e,t)=>{const n={};for(const s in e)(!Ms(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function qa(e,t,n){const{props:s,children:i,component:l}=e,{props:o,children:r,patchFlag:g}=t,h=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&g>=0){if(g&1024)return!0;if(g&16)return s?pi(s,o,h):!!o;if(g&8){const f=t.dynamicProps;for(let m=0;me.__isSuspense;function Za(e,t){t&&t.pendingBranch?$(e)?t.effects.push(...e):t.effects.push(e):ra(e)}const ze=Symbol.for("v-fgt"),ns=Symbol.for("v-txt"),Nt=Symbol.for("v-cmt"),Vn=Symbol.for("v-stc"),hn=[];let De=null;function Z(e=!1){hn.push(De=e?null:[])}function Qa(){hn.pop(),De=hn[hn.length-1]||null}let bn=1;function hi(e){bn+=e,e<0&&De&&(De.hasOnce=!0)}function Il(e){return e.dynamicChildren=bn>0?De||Kt:null,Qa(),bn>0&&De&&De.push(e),e}function ne(e,t,n,s,i,l){return Il(u(e,t,n,s,i,l,!0))}function Ul(e,t,n,s,i){return Il(et(e,t,n,s,i,!0))}function e0(e){return e?e.__v_isVNode===!0:!1}function an(e,t){return e.type===t.type&&e.key===t.key}const Ol=({key:e})=>e??null,Hn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?de(e)||Se(e)||K(e)?{i:Ne,r:e,k:t,f:!!n}:e:null);function u(e,t=null,n=null,s=0,i=null,l=e===ze?0:1,o=!1,r=!1){const g={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ol(t),ref:t&&Hn(t),scopeId:cl,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Ne};return r?(Js(g,n),l&128&&e.normalize(g)):n&&(g.shapeFlag|=de(n)?8:16),bn>0&&!o&&De&&(g.patchFlag>0||l&6)&&g.patchFlag!==32&&De.push(g),g}const et=t0;function t0(e,t=null,n=null,s=0,i=null,l=!1){if((!e||e===Sa)&&(e=Nt),e0(e)){const r=Qt(e,t,!0);return n&&Js(r,n),bn>0&&!l&&De&&(r.shapeFlag&6?De[De.indexOf(e)]=r:De.push(r)),r.patchFlag=-2,r}if(c0(e)&&(e=e.__vccOpts),t){t=n0(t);let{class:r,style:g}=t;r&&!de(r)&&(t.class=_e(r)),ae(g)&&(js(g)&&!$(g)&&(g=be({},g)),t.style=Gt(g))}const o=de(e)?1:Rl(e)?128:ca(e)?64:ae(e)?4:K(e)?2:0;return u(e,t,n,s,i,o,l,!0)}function n0(e){return e?js(e)||Cl(e)?be({},e):e:null}function Qt(e,t,n=!1,s=!1){const{props:i,ref:l,patchFlag:o,children:r,transition:g}=e,h=t?s0(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Ol(h),ref:t&&t.ref?n&&l?$(l)?l.concat(Hn(t)):[l,Hn(t)]:Hn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ze?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:g,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return g&&s&&Xs(f,g.clone(f)),f}function M(e=" ",t=0){return et(ns,null,e,t)}function Un(e,t){const n=et(Vn,null,e);return n.staticCount=t,n}function Be(e="",t=!1){return t?(Z(),Ul(Nt,null,e)):et(Nt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?et(Nt):$(e)?et(ze,null,e.slice()):typeof e=="object"?Tt(e):et(ns,null,String(e))}function Tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function Js(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if($(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Js(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!Cl(t)?t._ctx=Ne:i===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else K(t)?(t={default:t,_ctx:Ne},n=32):(t=String(t),s&64?(n=16,t=[M(t)]):n=8);e.children=t,e.shapeFlag|=n}function s0(...e){const t={};for(let n=0;n{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),l=>{i.length>1?i.forEach(o=>o(l)):i[0](l)}};Kn=t("__VUE_INSTANCE_SETTERS__",n=>Fe=n),Ls=t("__VUE_SSR_SETTERS__",n=>ss=n)}const Tn=e=>{const t=Fe;return Kn(e),e.scope.on(),()=>{e.scope.off(),Kn(t)}},mi=()=>{Fe&&Fe.scope.off(),Kn(null)};function Wl(e){return e.vnode.shapeFlag&4}let ss=!1;function a0(e,t=!1,n=!1){t&&Ls(t);const{props:s,children:i}=e.vnode,l=Wl(e);Ra(e,s,l,t),Wa(e,i,n);const o=l?r0(e,t):void 0;return t&&Ls(!1),o}function r0(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,xa);const{setup:s}=n;if(s){const i=e.setupContext=s.length>1?g0(e):null,l=Tn(e);_t();const o=xn(s,e,0,[e.props,i]);if(Lt(),l(),Ui(o)){if(fn(e)||dl(e),o.then(mi,mi),t)return o.then(r=>{zi(e,r,t)}).catch(r=>{Qn(r,e,0)});e.asyncDep=o}else zi(e,o,t)}else Dl(e,t)}function zi(e,t,n){K(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ae(t)&&(e.setupState=ll(t)),Dl(e,n)}let vi;function Dl(e,t,n){const s=e.type;if(!e.render){if(!t&&vi&&!s.render){const i=s.template||Gs(e).template;if(i){const{isCustomElement:l,compilerOptions:o}=e.appContext.config,{delimiters:r,compilerOptions:g}=s,h=be(be({isCustomElement:l,delimiters:r},o),g);s.render=vi(i,h)}}e.render=s.render||Qe}{const i=Tn(e);_t();try{Ta(e)}finally{Lt(),i()}}}const u0={get(e,t){return xe(e,"get",""),e[t]}};function g0(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,u0),slots:e.slots,emit:e.emit,expose:t}}function is(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ll(Jo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in dn)return dn[n](e)},has(t,n){return n in t||n in dn}})):e.proxy}function c0(e){return K(e)&&"__vccOpts"in e}const f0=(e,t)=>sa(e,t,ss),d0="3.5.8";/** -* @vue/runtime-dom v3.5.8 -* (c) 2018-present Yuxi (Evan) You and Vue contributors -* @license MIT -**/let Fs;const yi=typeof window<"u"&&window.trustedTypes;if(yi)try{Fs=yi.createPolicy("vue",{createHTML:e=>e})}catch{}const Vl=Fs?e=>Fs.createHTML(e):e=>e,p0="http://www.w3.org/2000/svg",h0="http://www.w3.org/1998/Math/MathML",ht=typeof document<"u"?document:null,bi=ht&&ht.createElement("template"),m0={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const i=t==="svg"?ht.createElementNS(p0,e):t==="mathml"?ht.createElementNS(h0,e):n?ht.createElement(e,{is:n}):ht.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>ht.createTextNode(e),createComment:e=>ht.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ht.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,l){const o=n?n.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===l||!(i=i.nextSibling)););else{bi.innerHTML=Vl(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const r=bi.content;if(s==="svg"||s==="mathml"){const g=r.firstChild;for(;g.firstChild;)r.appendChild(g.firstChild);r.removeChild(g)}t.insertBefore(r,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},z0=Symbol("_vtc");function v0(e,t,n){const s=e[z0];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Xn=Symbol("_vod"),Hl=Symbol("_vsh"),Ke={beforeMount(e,{value:t},{transition:n}){e[Xn]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):rn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),rn(e,!0),s.enter(e)):s.leave(e,()=>{rn(e,!1)}):rn(e,t))},beforeUnmount(e,{value:t}){rn(e,t)}};function rn(e,t){e.style.display=t?e[Xn]:"none",e[Hl]=!t}const y0=Symbol(""),b0=/(^|;)\s*display\s*:/;function C0(e,t,n){const s=e.style,i=de(n);let l=!1;if(n&&!i){if(t)if(de(t))for(const o of t.split(";")){const r=o.slice(0,o.indexOf(":")).trim();n[r]==null&&Nn(s,r,"")}else for(const o in t)n[o]==null&&Nn(s,o,"");for(const o in n)o==="display"&&(l=!0),Nn(s,o,n[o])}else if(i){if(t!==n){const o=s[y0];o&&(n+=";"+o),s.cssText=n,l=b0.test(n)}}else t&&e.removeAttribute("style");Xn in e&&(e[Xn]=l?s.display:"",e[Hl]&&(s.display="none"))}const Ci=/\s*!important$/;function Nn(e,t,n){if($(n))n.forEach(s=>Nn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=w0(e,t);Ci.test(n)?e.setProperty($t(s),n.replace(Ci,""),"important"):e[s]=n}}const wi=["Webkit","Moz","ms"],vs={};function w0(e,t){const n=vs[t];if(n)return n;let s=Vt(t);if(s!=="filter"&&s in e)return vs[t]=s;s=Di(s);for(let i=0;iys||(E0.then(()=>ys=0),ys=Date.now());function L0(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;nt(F0(s,n.value),t,5,[s])};return n.value=e,n.attached=_0(),n}function F0(e,t){if($(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const Ei=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,A0=(e,t,n,s,i,l)=>{const o=i==="svg";t==="class"?v0(e,s,o):t==="style"?C0(e,n,s):Gn(t)?Ms(t)||T0(e,t,n,s,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):M0(e,t,s,o))?(S0(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xi(e,t,s,o,l,t!=="value")):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xi(e,t,s,o))};function M0(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ei(t)&&K(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ei(t)&&de(n)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!de(n)))}const en=e=>{const t=e.props["onUpdate:modelValue"]||!1;return $(t)?n=>On(t,n):t};function R0(e){e.target.composing=!0}function _i(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vt=Symbol("_assign"),k={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[vt]=en(i);const l=s||i.props&&i.props.type==="number";Pt(e,t?"change":"input",o=>{if(o.target.composing)return;let r=e.value;n&&(r=r.trim()),l&&(r=$n(r)),e[vt](r)}),n&&Pt(e,"change",()=>{e.value=e.value.trim()}),t||(Pt(e,"compositionstart",R0),Pt(e,"compositionend",_i),Pt(e,"change",_i))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:l}},o){if(e[vt]=en(o),e.composing)return;const r=(l||e.type==="number")&&!/^0\d/.test(e.value)?$n(e.value):e.value,g=t??"";r!==g&&(document.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===g)||(e.value=g))}},qe={deep:!0,created(e,t,n){e[vt]=en(n),Pt(e,"change",()=>{const s=e._modelValue,i=Cn(e),l=e.checked,o=e[vt];if($(s)){const r=Us(s,i),g=r!==-1;if(l&&!g)o(s.concat(i));else if(!l&&g){const h=[...s];h.splice(r,1),o(h)}}else if(tn(s)){const r=new Set(s);l?r.add(i):r.delete(i),o(r)}else o(Nl(e,l))})},mounted:Li,beforeUpdate(e,t,n){e[vt]=en(n),Li(e,t,n)}};function Li(e,{value:t,oldValue:n},s){e._modelValue=t;let i;$(t)?i=Us(t,s.props.value)>-1:tn(t)?i=t.has(s.props.value):i=Sn(t,Nl(e,!0)),e.checked!==i&&(e.checked=i)}const St={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const i=tn(t);Pt(e,"change",()=>{const l=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?$n(Cn(o)):Cn(o));e[vt](e.multiple?i?new Set(l):l:l[0]),e._assigning=!0,al(()=>{e._assigning=!1})}),e[vt]=en(s)},mounted(e,{value:t,modifiers:{number:n}}){Fi(e,t)},beforeUpdate(e,t,n){e[vt]=en(n)},updated(e,{value:t,modifiers:{number:n}}){e._assigning||Fi(e,t)}};function Fi(e,t,n){const s=e.multiple,i=$(t);if(!(s&&!i&&!tn(t))){for(let l=0,o=e.options.length;lString(f)===String(g)):r.selected=Us(t,g)>-1}else r.selected=t.has(g);else if(Sn(Cn(r),t)){e.selectedIndex!==l&&(e.selectedIndex=l);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Cn(e){return"_value"in e?e._value:e.value}function Nl(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const I0=be({patchProp:A0},m0);let Ai;function U0(){return Ai||(Ai=Va(I0))}const O0=(...e)=>{const t=U0().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=D0(s);if(!i)return;const l=t._component;!K(l)&&!l.render&&!l.template&&(l.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,W0(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function W0(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function D0(e){return de(e)?document.querySelector(e):e}function V0(e,t,n,s,i,l,o){e.beginPath(),e.ellipse(t,n,s,i,0,0,Math.PI*2),e.strokeStyle=o,e.lineWidth=l,e.stroke()}class H0{constructor(t){V(this,"mmToPixel",10);this.mmToPixel=t}drawCircleList(t,n,s,i,l){n.forEach(o=>{o.drawInnerCircle&&this.drawCircle(t,s,i,l,o)})}drawCircle(t,n,s,i,l){const o=(l.innerCircleLineRadiusX-l.innerCircleLineWidth)/2,r=(l.innerCircleLineRadiusY-l.innerCircleLineWidth)/2;this.drawEllipse(t,n,s,o*this.mmToPixel,r*this.mmToPixel,l.innerCircleLineWidth*this.mmToPixel,i)}drawEllipse(t,n,s,i,l,o,r){t.beginPath(),t.ellipse(n,s,i,l,0,0,Math.PI*2),t.strokeStyle=r,t.lineWidth=o,t.stroke()}}class N0{constructor(t){V(this,"mmToPixel",10);this.mmToPixel=t}drawCompanyList(t,n,s,i,l,o,r){n.forEach(g=>{this.drawCompanyName(t,g,s,i,l,o,g.color||r)})}drawCompanyName(t,n,s,i,l,o,r){const g=n.fontHeight*this.mmToPixel,h=n.fontWeight||"normal";t.save(),t.font=`${h} ${g}px ${n.fontFamily}`,t.fillStyle=r,t.textAlign="center",t.textBaseline="bottom";const f=n.companyName.split(""),m=f.length,z=n.borderOffset*this.mmToPixel,x=Math.PI*(.5+m/(n.textDistributionFactor*4)),R=x/m,O=n.rotateDirection==="clockwise"?-1:1,B=(n.startAngle?n.startAngle:0)+(n.rotateDirection==="clockwise"?Math.PI-x/2:Math.PI+(Math.PI-x)/2);if(n.adjustEllipseText){const D=(m+1)/2;f.forEach((j,Y)=>{const U=D-Y-1,pe=Math.pow(U/D,2)*R*n.adjustEllipseTextFactor,he=Y-D,ve=he/Math.abs(he);let Me=B+O*R*(Y+.5);Me+=pe*ve;const Re=s+Math.cos(Me)*(l-g-z),ke=i+Math.sin(Me)*(o-g-z);t.save(),t.translate(Re,ke),t.rotate(Me+(n.rotateDirection==="clockwise"?-Math.PI/2:Math.PI/2)),t.scale(n.compression,1),t.fillText(j,0,0),t.restore()})}else f.forEach((D,j)=>{const Y=B+O*R*(j+.5),U=s+Math.cos(Y)*(l-g-z),q=i+Math.sin(Y)*(o-g-z);t.save(),t.translate(U,q),t.rotate(Y+(n.rotateDirection==="clockwise"?-Math.PI/2:Math.PI/2)),t.scale(n.compression,1),t.fillText(D,0,0),t.restore()});t.restore()}}class $0{constructor(t){V(this,"mmToPixel",10);V(this,"drawPositionCrossLines",(t,n,s,i,l,o,r)=>{const g=t;if(!g)return;const h=g.getContext("2d");if(h&&(h.clearRect(0,0,g.width,g.height),h.beginPath(),h.strokeStyle=r,h.lineWidth=1,h.moveTo(s,o),h.lineTo(g.width,o),h.moveTo(l,i),h.lineTo(l,g.height),h.stroke(),n)){const f=n.getContext("2d");f&&f.drawImage(g,0,0)}});V(this,"drawCurrentPositionText",(t,n,s,i,l,o)=>{t.fillStyle="black",t.font="bold 12px Arial",t.textAlign="left",t.textBaseline="top";const r=n/i,g=s/i;t.fillText(`${r.toFixed(1)}mm, ${g.toFixed(1)}mm, scale: ${i.toFixed(2)}`,l+5,o+5)});this.mmToPixel=t}drawRuler(t,n,s,i,l,o){if(!n.showRuler)return;const r=1/this.mmToPixel;t.save(),t.fillStyle="lightgray",o?t.fillRect(0,0,i,l):t.fillRect(0,0,l,i),t.fillStyle="black",t.font="10px Arial",t.textAlign="center",t.textBaseline="top";const g=this.mmToPixel,h=Math.ceil((i-l)*r/s);for(let f=0;f<=h;f++){const m=f*g*s+l;f%5===0?(t.beginPath(),o?(t.moveTo(m,0),t.lineTo(m,l*.8)):(t.moveTo(0,m),t.lineTo(l*.8,m)),t.lineWidth=1,t.stroke(),t.save(),o?t.fillText(f.toString(),m,l*.8):(t.translate(l*.8,m),t.rotate(-Math.PI/2),t.fillText(f.toString(),0,0)),t.restore()):(t.beginPath(),o?(t.moveTo(m,0),t.lineTo(m,l*.6)):(t.moveTo(0,m),t.lineTo(l*.6,m)),t.lineWidth=.5,t.stroke())}t.restore()}showCrossDashLine(t,n,s,i,l,o,r){if(!n.showDashLine)return;t.save(),t.strokeStyle="#bbbbbb",t.lineWidth=1,t.setLineDash([5,5]);const g=this.mmToPixel*5;for(let h=i;h{const m=s+l*Math.cos(h),z=i+o*Math.sin(h),x=n.securityPatternLength*this.mmToPixel,R=m-x/2*Math.cos(f),O=z-x/2*Math.sin(f),B=m+x/2*Math.cos(f),D=z+x/2*Math.sin(f);t.beginPath(),t.moveTo(R,O),t.lineTo(B,D),t.stroke()}),t.restore()}}class Mi{constructor(t){V(this,"mmToPixel",10);this.mmToPixel=t}async drawSVGContent(t,n,s,i,l=1){try{const o=10*this.mmToPixel,r=document.createElement("div");r.innerHTML=n;const g=r.querySelector("svg");if(!g)throw new Error("Invalid SVG content");g.hasAttribute("width")||g.setAttribute("width","100"),g.hasAttribute("height")||g.setAttribute("height","100");const h=parseFloat(g.getAttribute("width")||"100"),f=parseFloat(g.getAttribute("height")||"100"),m=new XMLSerializer().serializeToString(g),x=`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(m)))}`,R=new Image;R.src=x,await new Promise((O,B)=>{R.onload=O,R.onerror=B}),t.save(),t.translate(s,i),t.scale(1,1),t.strokeStyle="blue",t.lineWidth=1,t.strokeRect(10,10,o,o),t.restore(),console.log("draw svg base64Url")}catch(o){console.error("Error drawing SVG:",o)}}async loadAndDrawSVG(t,n,s,i,l=1){try{const o=10*this.mmToPixel;console.log("draw test svg content",n,s,i,l),t.save(),t.translate(s,i),t.scale(1,1),t.strokeStyle="blue",t.lineWidth=1,t.strokeRect(10,10,o,o),t.restore()}catch(o){console.error("Error loading SVG:",o)}}async drawStarShape(t,n,s,i,l){try{if(console.log("draw star svg content",n.svgPath),n.svgPath.startsWith("{m.onload=z,m.onerror=x,m.src=f}),this.imageCtx.drawImage(m,n,s,i,l),this.imageCanvas}getCanvas(){return this.imageCanvas}clear(){this.imageCtx.clearRect(0,0,this.imageCanvas.width,this.imageCanvas.height)}}const bs=80,Ot=80;class Ri{constructor(t,n){V(this,"scale",1);V(this,"offsetX",0);V(this,"offsetY",0);V(this,"mmToPixel");V(this,"canvasCtx");V(this,"offscreenCanvas");V(this,"canvas");V(this,"stampOffsetX",0);V(this,"stampOffsetY",0);V(this,"drawStampConfigs");V(this,"imageCache",new Map);V(this,"drawCircleUtils");V(this,"drawSvgUtils");V(this,"drawCompanyUtils");V(this,"drawRulerUtils");V(this,"drawSecurityPatternUtils");V(this,"initDrawStampConfigsUtils");V(this,"imageCanvas");V(this,"isDragging",!1);V(this,"dragStartX",0);V(this,"dragStartY",0);V(this,"onMouseUp",()=>{this.isDragging=!1,this.refreshStamp(!1,!1)});V(this,"onCanvasClick",t=>{this.canvas});V(this,"onMouseLeave",t=>{this.isDragging=!1,this.refreshStamp()});V(this,"onMouseDown",t=>{this.isDragging=!0,this.dragStartX=t.clientX-this.stampOffsetX*this.mmToPixel,this.dragStartY=t.clientY-this.stampOffsetY*this.mmToPixel});V(this,"onMouseMove",t=>{if(!this.drawStampConfigs.openManualAging)if(this.isDragging){const n=(t.clientX-this.dragStartX)/this.mmToPixel,s=(t.clientY-this.dragStartY)/this.mmToPixel;this.stampOffsetX=Math.round(n*10)/10,this.stampOffsetY=Math.round(s*10)/10,this.refreshStamp()}else{const n=this.canvas.getBoundingClientRect(),s=t.clientX-n.left,i=t.clientY-n.top,l=Math.round((s-bs)/this.mmToPixel*10)/10,o=Math.round((i-Ot)/this.mmToPixel*10)/10;this.refreshStamp(),this.drawStampConfigs.ruler.showCurrentPositionText&&this.drawRulerUtils.drawCurrentPositionText(this.canvasCtx,l,o,this.scale,bs,Ot),this.drawStampConfigs.ruler.showCrossLine&&this.drawRulerUtils.drawPositionCrossLines(this.offscreenCanvas,this.canvas,bs,Ot,s,i,this.drawStampConfigs.primaryColor)}});if(!t)throw new Error("Canvas is null");const s=t.getContext("2d");if(!s)throw new Error("Failed to get canvas context");this.initDrawStampConfigsUtils=new j0,this.drawStampConfigs=this.initDrawStampConfigsUtils.initDrawStampConfigs(),this.canvasCtx=s,this.mmToPixel=n,this.canvas=t,this.offscreenCanvas=document.createElement("canvas"),this.canvas&&this.offscreenCanvas&&(this.offscreenCanvas.width=t.width,this.offscreenCanvas.height=t.height),this.addCanvasListener(),this.initDrawUtils(),this.drawSvgUtils=new Mi(n),this.imageCanvas=new Y0(t.width,t.height)}initDrawUtils(){this.drawCircleUtils=new H0(this.mmToPixel),this.drawSvgUtils=new Mi(this.mmToPixel),this.drawCompanyUtils=new N0(this.mmToPixel),this.drawRulerUtils=new $0(this.mmToPixel),this.drawSecurityPatternUtils=new k0(this.mmToPixel)}getDrawConfigs(){return this.drawStampConfigs}addManualAgingEffect(t,n,s){console.log("手动做旧 1",t,n,this.drawStampConfigs.agingEffect.agingEffectParams);const i=1*this.mmToPixel,l=t-this.stampOffsetX*this.mmToPixel,o=n-this.stampOffsetY*this.mmToPixel;for(let r=0;r<10;r++)this.drawStampConfigs.agingEffect.agingEffectParams.push({x:l,y:o,noiseSize:Math.random()*3+1,noise:Math.random()*200*s,strongNoiseSize:Math.random()*5+2,strongNoise:Math.random()*250*s+5,fade:Math.random()*50*s,seed:Math.random()});this.refreshStamp(!1,!1),this.canvasCtx.save(),this.canvasCtx.globalCompositeOperation="destination-out",this.canvasCtx.beginPath(),this.canvasCtx.arc(t,n,i,0,Math.PI*2,!0),this.canvasCtx.fillStyle="rgba(255, 255, 255, 0.5)",this.canvasCtx.fill(),this.canvasCtx.restore()}setDrawConfigs(t){this.drawStampConfigs=t}addCanvasListener(){this.canvas.addEventListener("mousemove",t=>{if(this.drawStampConfigs.openManualAging&&t.buttons===1){const n=this.canvas.getBoundingClientRect(),s=t.clientX-n.left,i=t.clientY-n.top,l=this.drawStampConfigs.agingEffect.agingIntensity/100;this.addManualAgingEffect(s,i,l)}else this.onMouseMove(t)}),this.canvas.addEventListener("mouseleave",t=>{this.onMouseLeave(t)}),this.canvas.addEventListener("mousedown",t=>{if(this.onMouseDown(t),this.drawStampConfigs.openManualAging){const n=this.canvas.getBoundingClientRect(),s=t.clientX-n.left,i=t.clientY-n.top,l=this.drawStampConfigs.agingEffect.agingIntensity/100;this.addManualAgingEffect(s,i,l)}}),this.canvas.addEventListener("mouseup",t=>{this.onMouseUp()}),this.canvas.addEventListener("click",t=>{this.onCanvasClick(t)}),this.canvas.addEventListener("wheel",t=>{if(t.ctrlKey){t.preventDefault();const n=t.deltaY>0?.9:1.1;this.zoomCanvas(t.offsetX,t.offsetY,n)}})}zoomCanvas(t,n,s){const i=this.scale;this.scale*=s,this.scale=Math.max(.1,Math.min(5,this.scale)),this.offsetX=t-(t-this.offsetX)*(this.scale/i),this.offsetY=n-(n-this.offsetY)*(this.scale/i),this.refreshStamp()}async drawSvgImage(t,n,s,i){try{const r=await this.imageCanvas.drawImage(n.svgPath,s-100,i-100,200,200);t.drawImage(r,0,0)}catch(l){console.error("Error drawing SVG:",l)}}async drawImageList(t,n,s,i){for(const l of n)if(l.imageUrl){let o=this.imageCache.get(l.imageUrl);if(o)this.drawSingleImage(t,o,l,s,i);else try{const r=new Image;r.src=l.imageUrl,await new Promise((h,f)=>{r.onload=h,r.onerror=f});const g=await createImageBitmap(r);this.imageCache.set(l.imageUrl,g),this.drawSingleImage(t,g,l,s,i),requestAnimationFrame(()=>{this.refreshStamp()})}catch(r){console.error("Error loading or processing image:",r)}}}drawSingleImage(t,n,s,i,l){let o=s.imageWidth*this.mmToPixel,r=s.imageHeight*this.mmToPixel;if(s.keepAspectRatio){const f=Math.min(o/n.width,r/n.height);o=n.width*f,r=n.height*f}const g=i-o/2+s.positionX*this.mmToPixel,h=l-r/2+s.positionY*this.mmToPixel;t.save(),t.drawImage(n,g,h,o,r),t.restore()}async clearImageCache(){for(const t of this.imageCache.values())t.close();this.imageCache.clear()}drawStampType(t,n,s,i,l){const o=n.fontHeight*this.mmToPixel,r=n.letterSpacing,g=n.positionY,h=n.fontWeight||"normal",f=n.lineSpacing*this.mmToPixel;t.save(),t.font=`${h} ${o}px ${n.fontFamily}`,t.fillStyle=this.drawStampConfigs.primaryColor,t.textAlign="center",t.textBaseline="middle";const m=n.stampType.split(` -`),z=m.length;m.forEach((x,R)=>{const O=x.split(""),B=O.map(q=>t.measureText(q).width),D=B.reduce((q,pe)=>q+pe,0)+(O.length-1)*r*this.mmToPixel,j=(R-(z-1)/2)*(o+f),Y=i+l*.5+g*this.mmToPixel+j;t.save(),t.translate(s,Y);let U=-D/2;t.scale(n.compression,1),O.forEach((q,pe)=>{t.fillText(q,U+B[pe]/2,0),U+=B[pe]+r*this.mmToPixel}),t.restore()}),t.restore()}drawStampTypeList(t,n,s,i,l){n.forEach(o=>{this.drawStampType(t,o,s,i,l)}),t.restore()}drawEllipse(t,n,s,i,l,o,r){t.beginPath(),t.ellipse(n,s,i,l,0,0,Math.PI*2),t.strokeStyle=r,t.lineWidth=o,t.stroke()}drawCode(t,n,s,i,l,o){const r=n.fontHeight*this.mmToPixel,g=n.code,h=n.fontWeight||"normal";t.save(),t.font=`${h} ${r}px ${n.fontFamily}`,t.fillStyle=this.drawStampConfigs.primaryColor,t.textAlign="center",t.textBaseline="middle";const f=g.split(""),m=f.length;if(m===1){const z=s,x=i+o-r-n.borderOffset*this.mmToPixel;t.save(),t.translate(z,x),t.scale(n.compression,1),t.fillText(g,0,0),t.restore()}else{const z=Math.PI*((1+m)/n.textDistributionFactor),x=Math.PI/2+z/2,R=z/(m-1);f.forEach((O,B)=>{const D=x-R*B,j=s+Math.cos(D)*(l-r/2-n.borderOffset*this.mmToPixel),Y=i+Math.sin(D)*(o-r/2-n.borderOffset*this.mmToPixel);t.save(),t.translate(j,Y),t.rotate(D-Math.PI/2),t.scale(n.compression,1),t.fillText(O,0,0),t.restore()})}t.restore()}drawTaxNumber(t,n,s,i){const l=n.fontHeight*this.mmToPixel,o=n.totalWidth*this.mmToPixel,r=n.positionY*this.mmToPixel+.3,g=n.fontWeight||"normal";t.save(),t.font=`${g} ${l}px ${n.fontFamily}`,t.fillStyle=this.drawStampConfigs.primaryColor,t.textAlign="center",t.textBaseline="middle";const h=n.code.split(""),f=h.length,m=this.drawStampConfigs.taxNumber.letterSpacing*this.mmToPixel,x=(o*this.drawStampConfigs.taxNumber.compression-(f-1)*m)/f,R=f*x+(f-1)*m,O=s-R/2+x/2,B=i+r*this.mmToPixel;h.forEach((D,j)=>{const Y=O+j*(x+m);t.save(),t.translate(Y,B),t.scale(this.drawStampConfigs.taxNumber.compression,1.35),t.fillText(D,0,0),t.restore()}),t.restore()}addRoughEdge(t,n,s,i,l,o,r=!1){const g=o*this.drawStampConfigs.roughEdge.roughEdgeHeight*.01,h=this.drawStampConfigs.roughEdge.roughEdgePoints,f=this.drawStampConfigs.roughEdge.roughEdgeShift;if(t.save(),t.fillStyle="white",t.globalCompositeOperation="destination-out",r||this.drawStampConfigs.roughEdge.roughEdgeParams.length===0){this.drawStampConfigs.roughEdge.roughEdgeParams=[];for(let m=0;mthis.drawStampConfigs.roughEdge.roughEdgeProbability?Math.random()*g*Math.random()+this.drawStampConfigs.roughEdge.roughEdgeWidth:0;this.drawStampConfigs.roughEdge.roughEdgeParams.push({angle:z,size:R,offset:f,opacity:1})}}this.drawStampConfigs.roughEdge.roughEdgeParams.forEach(({angle:m,size:z})=>{const x=n+Math.cos(m)*(i+f),R=s+Math.sin(m)*(l+f);z>0&&(t.beginPath(),t.arc(x,R,z*this.mmToPixel,0,Math.PI*2),t.fill())}),t.restore()}addAgingEffect(t,n,s,i=!1){if(!this.drawStampConfigs.agingEffect.applyAging)return;const l=t.getImageData(0,0,n,s),o=l.data,r=n/(2*this.scale)+this.stampOffsetX*this.mmToPixel/this.scale,g=s/(2*this.scale)+this.stampOffsetY*this.mmToPixel/this.scale,h=Math.max(n,s)/2*this.mmToPixel/this.scale;if(i||this.drawStampConfigs.agingEffect.agingEffectParams.length===0){this.drawStampConfigs.agingEffect.agingEffectParams=[];for(let f=0;f200&&o[z+1]<50&&o[z+2]<50){const R=this.drawStampConfigs.agingEffect.agingIntensity/100,O=Math.random();this.drawStampConfigs.agingEffect.agingEffectParams.push({x:m-this.stampOffsetX*this.mmToPixel,y:f-this.stampOffsetY*this.mmToPixel,noiseSize:Math.random()*3+1,noise:Math.random()*200*R,strongNoiseSize:Math.random()*5+2,strongNoise:Math.random()*250*R+5,fade:Math.random()*50*R,seed:O})}}}this.drawStampConfigs.agingEffect.agingEffectParams.forEach(f=>{const{x:m,y:z,noiseSize:x,noise:R,strongNoiseSize:O,strongNoise:B,fade:D,seed:j}=f,Y=m+this.stampOffsetX*this.mmToPixel,U=z+this.stampOffsetY*this.mmToPixel,q=(Math.round(U)*n+Math.round(Y))*4;j<.4&&this.addCircularNoise(o,n,Y,U,x,R,!0),j<.05&&this.addCircularNoise(o,n,Y,U,O,B,!0),j<.2&&(o[q+3]=Math.max(0,o[q+3]-D))}),t.putImageData(l,0,0)}addCircularNoise(t,n,s,i,l,o,r=!1){const g=l*l/4;for(let h=-l/2;h=0&&x{const n=document.createElement("canvas");n.width=t,n.height=t;const s=n.getContext("2d");if(!s)return;s.clearRect(0,0,t,t);const i=(Math.max(this.drawStampConfigs.width,this.drawStampConfigs.height)+2)*this.mmToPixel,l=(this.canvas.width-i)/2+this.stampOffsetX*this.mmToPixel,o=(this.canvas.height-i)/2+this.stampOffsetY*this.mmToPixel,r=t*.01,g=t-2*r;s.drawImage(this.canvas,l,o,i,i,r,r,g,g),this.drawStampConfigs.agingEffect.applyAging&&this.addAgingEffect(s,t,t,!1);const h=n.toDataURL("image/png"),f=document.createElement("a");f.href=h,f.download="印章.png",document.body.appendChild(f),f.click(),document.body.removeChild(f),this.drawStampConfigs.ruler.showCrossLine=!0,this.drawStampConfigs.ruler.showRuler=!0,this.drawStampConfigs.ruler.showDashLine=!0,this.drawStampConfigs.ruler.showSideRuler=!0,this.drawStampConfigs.ruler.showFullRuler=!0,this.drawStampConfigs.ruler.showCurrentPositionText=!0,this.refreshStamp()},50)}refreshStamp(t=!1,n=!1,s=!1){this.canvasCtx.clearRect(0,0,this.canvas.width,this.canvas.height),this.canvasCtx.save(),this.canvasCtx.translate(this.offsetX,this.offsetY),this.canvasCtx.scale(this.scale,this.scale);const i=this.canvas.width/2/this.scale,l=this.canvas.height/2/this.scale,o=this.mmToPixel,r=(this.drawStampConfigs.width-this.drawStampConfigs.borderWidth)/2,g=(this.drawStampConfigs.height-this.drawStampConfigs.borderWidth)/2,h=this.stampOffsetX*this.mmToPixel,f=this.stampOffsetY*this.mmToPixel,m=i+h,z=l+f;this.drawStamp(this.canvasCtx,m,z,r*o,g*o,this.drawStampConfigs.borderWidth*o,this.drawStampConfigs.primaryColor,t,n,s),this.canvasCtx.restore(),this.drawStampConfigs.ruler.showRuler&&(this.drawStampConfigs.ruler.showSideRuler&&(this.drawRulerUtils.drawRuler(this.canvasCtx,this.drawStampConfigs.ruler,this.scale,this.canvas.width,Ot,!0),this.drawRulerUtils.drawRuler(this.canvasCtx,this.drawStampConfigs.ruler,this.scale,this.canvas.height,Ot,!1)),this.drawStampConfigs.ruler.showDashLine&&this.drawRulerUtils.showCrossDashLine(this.canvasCtx,this.drawStampConfigs.ruler,this.scale,Ot,Ot,this.canvas.width,this.canvas.height))}resetZoom(){this.scale=1,this.offsetX=0,this.offsetY=0,this.refreshStamp()}drawStamp(t,n,s,i,l,o,r,g=!1,h=!1,f=!1){t.clearRect(0,0,this.canvas.width,this.canvas.height);const m=this.offscreenCanvas;m.width=this.canvas.width,m.height=this.canvas.height;const z=m.getContext("2d");if(!z)return;const x=document.createElement("canvas");x.width=this.canvas.width,x.height=this.canvas.height,x.getContext("2d")&&(V0(z,n,s,i,l,o,r),z.save(),z.beginPath(),z.ellipse(n,s,i,l,0,0,Math.PI*2),z.clip(),this.drawStampConfigs.innerCircleList.length>0&&this.drawCircleUtils.drawCircleList(z,this.drawStampConfigs.innerCircleList,n,s,r),this.drawStampConfigs.drawStar.drawStar&&this.drawSvgUtils.drawStarShape(z,this.drawStampConfigs.drawStar,n,s,this.drawStampConfigs.primaryColor),this.drawStampConfigs.imageList&&this.drawStampConfigs.imageList.length>0&&this.drawImageList(z,this.drawStampConfigs.imageList,n,s),this.drawCompanyUtils.drawCompanyList(z,this.drawStampConfigs.companyList,n,s,i,l,this.drawStampConfigs.primaryColor),this.drawStampTypeList(z,this.drawStampConfigs.stampTypeList,n,s,i),this.drawCode(z,this.drawStampConfigs.stampCode,n,s,i,l),this.drawTaxNumber(z,this.drawStampConfigs.taxNumber,n,s),z.restore(),t.save(),this.drawStampConfigs.roughEdge.drawRoughEdge&&this.addRoughEdge(z,n,s,i,l,o,f),this.drawStampConfigs.securityPattern.openSecurityPattern&&this.drawSecurityPatternUtils.drawSecurityPattern(z,this.drawStampConfigs.securityPattern,n,s,i,l,g),t.globalCompositeOperation="source-over",t.drawImage(m,0,0),t.restore(),this.drawStampConfigs.agingEffect.applyAging&&this.addAgingEffect(t,this.canvas.width,this.canvas.height,h))}}async function B0(){try{if(window.queryLocalFonts){const e=await window.queryLocalFonts();return[...new Set(e.map(t=>t.family))]}else return["SimSun","SimHei","Microsoft YaHei","KaiTi","FangSong","STHeiti","STKaiti","STSong","STFangsong","LiSu","YouYuan","STZhongsong","STXihei","Arial","Times New Roman","Helvetica"]}catch(e){return console.error("获取系统字体失败:",e),["SimSun","SimHei","Microsoft YaHei","KaiTi"]}}const K0={drawRoughEdge:!0,roughEdgeWidth:.2,roughEdgeHeight:5,roughEdgeParams:[{angle:0,size:0},{angle:.017453292519943295,size:.38295203621045515},{angle:.03490658503988659,size:.5492613923360503},{angle:.05235987755982988,size:.27434474993518904},{angle:.06981317007977318,size:.22030697295451715},{angle:.08726646259971647,size:.3156841250988867},{angle:.10471975511965977,size:.40612969609125726},{angle:.12217304763960307,size:.2522901213757936},{angle:.13962634015954636,size:.246306211980516},{angle:.15707963267948966,size:.23786514123799182},{angle:.17453292519943295,size:0},{angle:.19198621771937624,size:.2015434095954711},{angle:.20943951023931953,size:.38369357988290775},{angle:.22689280275926282,size:0},{angle:.24434609527920614,size:.6487769458762811},{angle:.2617993877991494,size:0},{angle:.2792526803190927,size:0},{angle:.296705972839036,size:.2317359759490517},{angle:.3141592653589793,size:.2712568593134777},{angle:.33161255787892263,size:.2845195717645558},{angle:.3490658503988659,size:0},{angle:.3665191429188092,size:0},{angle:.3839724354387525,size:.6230142506529917},{angle:.40142572795869574,size:.23084210527369242},{angle:.41887902047863906,size:0},{angle:.4363323129985824,size:.29243244701418614},{angle:.45378560551852565,size:.5814076452082239},{angle:.47123889803846897,size:.38996798463997884},{angle:.4886921905584123,size:.5609326818193505},{angle:.5061454830783556,size:.4126978370429956},{angle:.5235987755982988,size:.46945256703319604},{angle:.5410520681182421,size:.23998992906190666},{angle:.5585053606381855,size:0},{angle:.5759586531581287,size:.33107627343004614},{angle:.593411945678072,size:.26114366022228325},{angle:.6108652381980153,size:.44170318442645573},{angle:.6283185307179586,size:.3407227219134016},{angle:.6457718232379019,size:.4622866936800872},{angle:.6632251157578453,size:.32531065236340706},{angle:.6806784082777886,size:.4483851005090098},{angle:.6981317007977318,size:.2448124389343519},{angle:.7155849933176751,size:.2541491123397663},{angle:.7330382858376184,size:.21847185146472708},{angle:.7504915783575618,size:0},{angle:.767944870877505,size:0},{angle:.7853981633974483,size:0},{angle:.8028514559173915,size:.3447841036309345},{angle:.8203047484373349,size:0},{angle:.8377580409572781,size:0},{angle:.8552113334772213,size:0},{angle:.8726646259971648,size:.20527614207837877},{angle:.890117918517108,size:0},{angle:.9075712110370513,size:0},{angle:.9250245035569946,size:.3856907029999833},{angle:.9424777960769379,size:.24568040616605208},{angle:.9599310885968813,size:.24387909310207762},{angle:.9773843811168246,size:.3873033740903039},{angle:.9948376736367678,size:.39382726829515113},{angle:1.0122909661567112,size:0},{angle:1.0297442586766543,size:.3100704229098932},{angle:1.0471975511965976,size:.22843467963639974},{angle:1.064650843716541,size:0},{angle:1.0821041362364843,size:0},{angle:1.0995574287564276,size:.22001569021712197},{angle:1.117010721276371,size:0},{angle:1.1344640137963142,size:0},{angle:1.1519173063162573,size:.2844161570717306},{angle:1.1693705988362009,size:.2501214761414058},{angle:1.186823891356144,size:.36924905509636724},{angle:1.2042771838760875,size:0},{angle:1.2217304763960306,size:0},{angle:1.239183768915974,size:.4020436243776079},{angle:1.2566370614359172,size:.24827252389605228},{angle:1.2740903539558606,size:.286073856283045},{angle:1.2915436464758039,size:.494627844741657},{angle:1.3089969389957472,size:.2454587617336245},{angle:1.3264502315156905,size:.3094515137722454},{angle:1.3439035240356336,size:.23637957236743304},{angle:1.3613568165555772,size:0},{angle:1.3788101090755203,size:0},{angle:1.3962634015954636,size:.20412286570199437},{angle:1.413716694115407,size:.24047090482284017},{angle:1.4311699866353502,size:.34666334659398645},{angle:1.4486232791552935,size:0},{angle:1.4660765716752369,size:.22726894266550954},{angle:1.48352986419518,size:.4820862785218389},{angle:1.5009831567151235,size:.4900794054445491},{angle:1.5184364492350666,size:0},{angle:1.53588974175501,size:.31077487338632476},{angle:1.5533430342749532,size:0},{angle:1.5707963267948966,size:.3096924472677579},{angle:1.5882496193148399,size:.2242517531481337},{angle:1.605702911834783,size:0},{angle:1.6231562043547265,size:.3573012946346664},{angle:1.6406094968746698,size:.3539673000303739},{angle:1.6580627893946132,size:.4493979184966387},{angle:1.6755160819145563,size:.2435163326350156},{angle:1.6929693744344996,size:.4700148636032513},{angle:1.7104226669544427,size:0},{angle:1.7278759594743864,size:0},{angle:1.7453292519943295,size:.545036528273444},{angle:1.7627825445142729,size:0},{angle:1.780235837034216,size:0},{angle:1.7976891295541593,size:.35832487488982373},{angle:1.8151424220741026,size:0},{angle:1.8325957145940461,size:.45358546019000345},{angle:1.8500490071139892,size:.37813184438366143},{angle:1.8675022996339325,size:.42066320855740963},{angle:1.8849555921538759,size:.22990722992079815},{angle:1.902408884673819,size:.34671651422545785},{angle:1.9198621771937625,size:.2559117507605169},{angle:1.9373154697137058,size:.3770724933685311},{angle:1.9547687622336491,size:.4467399517651608},{angle:1.9722220547535922,size:.2306109026042734},{angle:1.9896753472735356,size:.24412993697937255},{angle:2.007128639793479,size:.2731605071560616},{angle:2.0245819323134224,size:0},{angle:2.0420352248333655,size:0},{angle:2.0594885173533086,size:0},{angle:2.076941809873252,size:.298209325216828},{angle:2.0943951023931953,size:0},{angle:2.111848394913139,size:.2761919087766098},{angle:2.129301687433082,size:.2303367463257467},{angle:2.1467549799530254,size:0},{angle:2.1642082724729685,size:.21592332912084936},{angle:2.1816615649929116,size:.29689704754021284},{angle:2.199114857512855,size:.2736677833089964},{angle:2.2165681500327987,size:.44081382511230294},{angle:2.234021442552742,size:0},{angle:2.251474735072685,size:0},{angle:2.2689280275926285,size:0},{angle:2.2863813201125716,size:.2324275170023464},{angle:2.3038346126325147,size:.21488001083655994},{angle:2.321287905152458,size:.2000761478431045},{angle:2.3387411976724017,size:.32108071359823326},{angle:2.356194490192345,size:.2796037803575216},{angle:2.373647782712288,size:0},{angle:2.3911010752322315,size:0},{angle:2.408554367752175,size:.3071203309470264},{angle:2.426007660272118,size:0},{angle:2.443460952792061,size:0},{angle:2.4609142453120048,size:0},{angle:2.478367537831948,size:0},{angle:2.495820830351891,size:.2957402344868382},{angle:2.5132741228718345,size:0},{angle:2.530727415391778,size:0},{angle:2.548180707911721,size:.5218905725112977},{angle:2.5656340004316642,size:.2128333297070366},{angle:2.5830872929516078,size:.23762846686866643},{angle:2.600540585471551,size:0},{angle:2.6179938779914944,size:0},{angle:2.6354471705114375,size:0},{angle:2.652900463031381,size:.43067817432513267},{angle:2.670353755551324,size:.251100899774858},{angle:2.6878070480712672,size:.5719027771274653},{angle:2.705260340591211,size:0},{angle:2.7227136331111543,size:.37597645466750806},{angle:2.7401669256310974,size:.2516699750238845},{angle:2.7576202181510405,size:.2905083224535283},{angle:2.7750735106709836,size:0},{angle:2.792526803190927,size:.23403918990114664},{angle:2.8099800957108707,size:.28164860055171315},{angle:2.827433388230814,size:.33570892978211286},{angle:2.844886680750757,size:.23037735725477287},{angle:2.8623399732707004,size:.20234094608333014},{angle:2.8797932657906435,size:.48018978799750517},{angle:2.897246558310587,size:.3083444076717795},{angle:2.91469985083053,size:0},{angle:2.9321531433504737,size:.5202938598060132},{angle:2.949606435870417,size:.2452234594941649},{angle:2.96705972839036,size:.20621527311747193},{angle:2.9845130209103035,size:0},{angle:3.001966313430247,size:.2251741478067806},{angle:3.01941960595019,size:.292733813104287},{angle:3.036872898470133,size:.4747992853341091},{angle:3.0543261909900767,size:0},{angle:3.07177948351002,size:.21240209096627946},{angle:3.089232776029963,size:.23507559861062655},{angle:3.1066860685499065,size:0},{angle:3.12413936106985,size:0},{angle:3.141592653589793,size:.29815762522238404},{angle:3.159045946109736,size:0},{angle:3.1764992386296798,size:0},{angle:3.193952531149623,size:.5901429894718011},{angle:3.211405823669566,size:.5974209429375996},{angle:3.2288591161895095,size:.24416679351420006},{angle:3.246312408709453,size:0},{angle:3.2637657012293966,size:.506073722136908},{angle:3.2812189937493397,size:0},{angle:3.2986722862692828,size:.36597518132766504},{angle:3.3161255787892263,size:0},{angle:3.3335788713091694,size:0},{angle:3.3510321638291125,size:0},{angle:3.368485456349056,size:.6037208156598743},{angle:3.385938748868999,size:.279160859643192},{angle:3.4033920413889422,size:.37220400172995294},{angle:3.4208453339088853,size:.37748863606739747},{angle:3.4382986264288293,size:.2107989050214913},{angle:3.455751918948773,size:.4351201476445452},{angle:3.473205211468716,size:.36285258361795913},{angle:3.490658503988659,size:.29998347533739605},{angle:3.5081117965086026,size:.20092496858442133},{angle:3.5255650890285457,size:0},{angle:3.543018381548489,size:.37814528234776545},{angle:3.560471674068432,size:.2385265818864284},{angle:3.5779249665883754,size:.3059994265268066},{angle:3.5953782591083185,size:0},{angle:3.6128315516282616,size:.2577187712542432},{angle:3.630284844148205,size:0},{angle:3.647738136668149,size:.283266213677964},{angle:3.6651914291880923,size:.5419206869967785},{angle:3.6826447217080354,size:0},{angle:3.7000980142279785,size:.24188206877997467},{angle:3.717551306747922,size:.3718844622815858},{angle:3.735004599267865,size:.20395706268246955},{angle:3.752457891787808,size:0},{angle:3.7699111843077517,size:.269463613416793},{angle:3.787364476827695,size:.27677705210186654},{angle:3.804817769347638,size:.31205270076489416},{angle:3.8222710618675815,size:.24489501509740932},{angle:3.839724354387525,size:.3206064785801519},{angle:3.8571776469074686,size:.26973655528717033},{angle:3.8746309394274117,size:0},{angle:3.8920842319473548,size:.5329452694839945},{angle:3.9095375244672983,size:0},{angle:3.9269908169872414,size:0},{angle:3.9444441095071845,size:0},{angle:3.961897402027128,size:.31803959564006123},{angle:3.979350694547071,size:.27949367154160926},{angle:3.9968039870670142,size:.2779335935429797},{angle:4.014257279586958,size:.22651700120284607},{angle:4.031710572106902,size:0},{angle:4.049163864626845,size:.4147579556206455},{angle:4.066617157146788,size:.502607531171329},{angle:4.084070449666731,size:.4057269277969495},{angle:4.101523742186674,size:.2811797670905706},{angle:4.118977034706617,size:0},{angle:4.136430327226561,size:.43073095465385847},{angle:4.153883619746504,size:.5209935700764091},{angle:4.171336912266447,size:0},{angle:4.1887902047863905,size:.22205989879990534},{angle:4.206243497306334,size:0},{angle:4.223696789826278,size:0},{angle:4.241150082346221,size:0},{angle:4.258603374866164,size:.5590056872827196},{angle:4.276056667386108,size:.382771790208737},{angle:4.293509959906051,size:.308450138010432},{angle:4.310963252425994,size:0},{angle:4.328416544945937,size:.20987002240002106},{angle:4.34586983746588,size:0},{angle:4.363323129985823,size:.3331984790288821},{angle:4.380776422505767,size:.2922008337374681},{angle:4.39822971502571,size:.2053337353395718},{angle:4.4156830075456535,size:0},{angle:4.4331363000655974,size:.22551974764020258},{angle:4.4505895925855405,size:.2138619359580861},{angle:4.468042885105484,size:.28618941442769497},{angle:4.485496177625427,size:.3428933823612739},{angle:4.50294947014537,size:0},{angle:4.520402762665314,size:.5967059422685509},{angle:4.537856055185257,size:.3833493364544054},{angle:4.5553093477052,size:.60130230126192},{angle:4.572762640225143,size:.5738648444412305},{angle:4.590215932745086,size:.21850688919505262},{angle:4.607669225265029,size:.20566524689026358},{angle:4.625122517784973,size:.5137770748798419},{angle:4.642575810304916,size:.34946042723119625},{angle:4.66002910282486,size:.2287881159363336},{angle:4.6774823953448035,size:.2355438884134427},{angle:4.694935687864747,size:0},{angle:4.71238898038469,size:.24401366821517417},{angle:4.729842272904633,size:0},{angle:4.747295565424576,size:.4386979552875503},{angle:4.764748857944519,size:.35308646977788044},{angle:4.782202150464463,size:0},{angle:4.799655442984406,size:.5451606464538774},{angle:4.81710873550435,size:.3029721352349761},{angle:4.834562028024293,size:0},{angle:4.852015320544236,size:.37320609592907344},{angle:4.869468613064179,size:0},{angle:4.886921905584122,size:.44629176019424927},{angle:4.9043751981040655,size:0},{angle:4.9218284906240095,size:.21948420242671768},{angle:4.939281783143953,size:.21617085623851662},{angle:4.956735075663896,size:.21735079185803896},{angle:4.974188368183839,size:.5172828645149814},{angle:4.991641660703782,size:.20173808887642838},{angle:5.009094953223726,size:0},{angle:5.026548245743669,size:.39828611067878034},{angle:5.044001538263612,size:.2840677025368674},{angle:5.061454830783556,size:0},{angle:5.078908123303499,size:0},{angle:5.096361415823442,size:.2238510605444375},{angle:5.113814708343385,size:.4716984484529754},{angle:5.1312680008633285,size:.21535480242638494},{angle:5.148721293383272,size:.3341952328429191},{angle:5.1661745859032155,size:.21740549472404713},{angle:5.183627878423159,size:.47040575474782287},{angle:5.201081170943102,size:.3244807302556352},{angle:5.218534463463046,size:.2580754179212702},{angle:5.235987755982989,size:.4624154963046924},{angle:5.253441048502932,size:.201714413502068},{angle:5.270894341022875,size:.3340395897002632},{angle:5.288347633542818,size:.3623815856385897},{angle:5.305800926062762,size:.22470487048075383},{angle:5.323254218582705,size:.6317581429629764},{angle:5.340707511102648,size:0},{angle:5.358160803622591,size:0},{angle:5.3756140961425345,size:.26582844919746756},{angle:5.393067388662478,size:0},{angle:5.410520681182422,size:.24690021397667702},{angle:5.427973973702365,size:.299212133323042},{angle:5.445427266222309,size:.21335753776228694},{angle:5.462880558742252,size:.21744182424161645},{angle:5.480333851262195,size:0},{angle:5.497787143782138,size:.26127448233707784},{angle:5.515240436302081,size:0},{angle:5.532693728822024,size:.21010189500474288},{angle:5.550147021341967,size:0},{angle:5.567600313861911,size:.3028828766192924},{angle:5.585053606381854,size:.20314275883528143},{angle:5.602506898901798,size:0},{angle:5.619960191421741,size:.25454007257343775},{angle:5.6374134839416845,size:.20667793686377162},{angle:5.654866776461628,size:.45370551724727093},{angle:5.672320068981571,size:.31046294335586977},{angle:5.689773361501514,size:0},{angle:5.707226654021458,size:0},{angle:5.724679946541401,size:.2559910430906398},{angle:5.742133239061344,size:.3771699672911649},{angle:5.759586531581287,size:0},{angle:5.77703982410123,size:.22024367992318616},{angle:5.794493116621174,size:.22874708203163643},{angle:5.811946409141117,size:.34408056590047187},{angle:5.82939970166106,size:.23519983879227166},{angle:5.846852994181004,size:0},{angle:5.8643062867009474,size:0},{angle:5.8817595792208905,size:.43733534767515825},{angle:5.899212871740834,size:.4490881907656139},{angle:5.916666164260777,size:0},{angle:5.93411945678072,size:.20202185594320343},{angle:5.951572749300664,size:0},{angle:5.969026041820607,size:.4006389251697413},{angle:5.98647933434055,size:.22734323569469708},{angle:6.003932626860494,size:0},{angle:6.021385919380437,size:0},{angle:6.03883921190038,size:0},{angle:6.056292504420323,size:.29053305748258446},{angle:6.073745796940266,size:0},{angle:6.09119908946021,size:.22147539569893432},{angle:6.1086523819801535,size:.22459570403151013},{angle:6.126105674500097,size:.2030313802612825},{angle:6.14355896702004,size:.3947947454071749},{angle:6.161012259539983,size:.2696549738905104},{angle:6.178465552059926,size:0},{angle:6.19591884457987,size:0},{angle:6.213372137099813,size:0},{angle:6.230825429619757,size:.4276929124437861},{angle:6.2482787221397,size:.29361877489386645},{angle:6.265732014659643,size:0}],roughEdgeProbability:.3,roughEdgeShift:8,roughEdgePoints:360},X0={showRuler:!1,showFullRuler:!0},G0={svgPath:"M 0 -1 L 0.588 0.809 L -0.951 -0.309 L 0.951 -0.309 L -0.588 0.809 Z",drawStar:!1,starDiameter:14,starPositionY:0,scaleToSmallStar:!1,useImage:!1,imageUrl:"",imageWidth:10,imageHeight:10,keepAspectRatio:!0},q0={openSecurityPattern:!0,securityPatternWidth:.15,securityPatternLength:3,securityPatternCount:5,securityPatternAngleRange:40,securityPatternParams:[{angle:2.2133597445443898,lineAngle:-.4081252598817178},{angle:5.495176927405389,lineAngle:2.748263363444218},{angle:3.953214289859482,lineAngle:-2.5713077607148795},{angle:2.203849967220271,lineAngle:-.187991596425076},{angle:1.5481188637896033,lineAngle:-.22305068253272764}]},J0={companyName:"印章绘制有限责任公司",compression:1,borderOffset:1,textDistributionFactor:5,fontFamily:"Songti SC",fontHeight:4.2,fontWeight:400,shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"clockwise"},Z0={code:"1234567890",compression:1,fontHeight:1.2,fontFamily:"Arial",borderOffset:1,fontWidth:1.2,textDistributionFactor:50,fontWeight:"normal"},Q0=40,er=30,tr={stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2},nr="#ff0000",sr=1,ir=!1,lr=!1,or={code:"000000000000000000",compression:.7,fontHeight:3.7,fontFamily:"Arial",fontWidth:1.3,letterSpacing:8,positionY:0,totalWidth:26,fontWeight:"normal"},ar={applyAging:!1,agingIntensity:50,agingEffectParams:[]},rr=!0,ur={drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12},gr={drawInnerCircle:!0,innerCircleLineWidth:.2,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},cr=!1,fr=[{stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2}],dr=[{companyName:"绘制印章有限责任公司",compression:1,borderOffset:1,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!0,adjustEllipseTextFactor:.5}],pr=[],hr={roughEdge:K0,ruler:X0,drawStar:G0,securityPattern:q0,company:J0,stampCode:Z0,width:Q0,height:er,stampType:tr,primaryColor:nr,borderWidth:sr,refreshSecurityPattern:ir,refreshOld:lr,taxNumber:or,agingEffect:ar,shouldDrawRuler:rr,innerCircle:ur,outThinCircle:gr,openManualAging:cr,stampTypeList:fr,companyList:dr,innerCircleList:pr},mr={drawRoughEdge:!1,roughEdgeWidth:.2,roughEdgeHeight:5,roughEdgeParams:[{angle:0,size:0},{angle:.017453292519943295,size:0},{angle:.03490658503988659,size:0},{angle:.05235987755982988,size:.31730287292758974},{angle:.06981317007977318,size:.3916444365989694},{angle:.08726646259971647,size:.208608754055621},{angle:.10471975511965977,size:.2201400602607466},{angle:.12217304763960307,size:0},{angle:.13962634015954636,size:.413218673378141},{angle:.15707963267948966,size:.2265863014473266},{angle:.17453292519943295,size:.24605542095631253},{angle:.19198621771937624,size:.23655514355059734},{angle:.20943951023931953,size:.253807375717143},{angle:.22689280275926282,size:0},{angle:.24434609527920614,size:.24330943667000401},{angle:.2617993877991494,size:.22953279555062572},{angle:.2792526803190927,size:.21392879792197558},{angle:.296705972839036,size:.2890854202057443},{angle:.3141592653589793,size:0},{angle:.33161255787892263,size:0},{angle:.3490658503988659,size:.20956234004730973},{angle:.3665191429188092,size:0},{angle:.3839724354387525,size:.4195584128674653},{angle:.40142572795869574,size:.28732832573605316},{angle:.41887902047863906,size:.47727796370752146},{angle:.4363323129985824,size:.4078196234676063},{angle:.45378560551852565,size:0},{angle:.47123889803846897,size:0},{angle:.4886921905584123,size:0},{angle:.5061454830783556,size:0},{angle:.5235987755982988,size:.23556530694644498},{angle:.5410520681182421,size:.2599537196239181},{angle:.5585053606381855,size:0},{angle:.5759586531581287,size:.22683369358645425},{angle:.593411945678072,size:.43941963242183213},{angle:.6108652381980153,size:.256981026413524},{angle:.6283185307179586,size:0},{angle:.6457718232379019,size:.4143289542013904},{angle:.6632251157578453,size:.2043975927300548},{angle:.6806784082777886,size:.2775738594178865},{angle:.6981317007977318,size:.45292165202456325},{angle:.7155849933176751,size:0},{angle:.7330382858376184,size:0},{angle:.7504915783575618,size:0},{angle:.767944870877505,size:.20332628954785245},{angle:.7853981633974483,size:.34115588214343917},{angle:.8028514559173915,size:0},{angle:.8203047484373349,size:0},{angle:.8377580409572781,size:.5593400040413774},{angle:.8552113334772213,size:.2033100660342137},{angle:.8726646259971648,size:0},{angle:.890117918517108,size:.5091817435737851},{angle:.9075712110370513,size:.279445568305137},{angle:.9250245035569946,size:.20767293459237582},{angle:.9424777960769379,size:.21286087516612376},{angle:.9599310885968813,size:.2725735644590326},{angle:.9773843811168246,size:.46298636488105377},{angle:.9948376736367678,size:.41238315415937515},{angle:1.0122909661567112,size:0},{angle:1.0297442586766543,size:0},{angle:1.0471975511965976,size:0},{angle:1.064650843716541,size:0},{angle:1.0821041362364843,size:0},{angle:1.0995574287564276,size:.20485472246876976},{angle:1.117010721276371,size:.3052714854016909},{angle:1.1344640137963142,size:.20607768685630748},{angle:1.1519173063162573,size:.3276447266845562},{angle:1.1693705988362009,size:.28664182476391264},{angle:1.186823891356144,size:0},{angle:1.2042771838760875,size:.20123843031687727},{angle:1.2217304763960306,size:.6548549401786197},{angle:1.239183768915974,size:.2296486641966379},{angle:1.2566370614359172,size:0},{angle:1.2740903539558606,size:0},{angle:1.2915436464758039,size:.3028221310953204},{angle:1.3089969389957472,size:.20635785523064312},{angle:1.3264502315156905,size:.3572536461573111},{angle:1.3439035240356336,size:.2598928499974735},{angle:1.3613568165555772,size:0},{angle:1.3788101090755203,size:.2094684164364703},{angle:1.3962634015954636,size:.3360749168526257},{angle:1.413716694115407,size:0},{angle:1.4311699866353502,size:.32475263917391867},{angle:1.4486232791552935,size:.5399755074264703},{angle:1.4660765716752369,size:.2644556748669187},{angle:1.48352986419518,size:.34449155662616326},{angle:1.5009831567151235,size:0},{angle:1.5184364492350666,size:.5685198037288627},{angle:1.53588974175501,size:0},{angle:1.5533430342749532,size:.20889344877506363},{angle:1.5707963267948966,size:.285347548051893},{angle:1.5882496193148399,size:0},{angle:1.605702911834783,size:.23292373033793978},{angle:1.6231562043547265,size:.25986031187936487},{angle:1.6406094968746698,size:.2559482264281531},{angle:1.6580627893946132,size:.3447768560720649},{angle:1.6755160819145563,size:.22484393149110152},{angle:1.6929693744344996,size:.22594026543664494},{angle:1.7104226669544427,size:.2073252363813488},{angle:1.7278759594743864,size:.5489029803336072},{angle:1.7453292519943295,size:0},{angle:1.7627825445142729,size:.280466955003097},{angle:1.780235837034216,size:.5137446035690201},{angle:1.7976891295541593,size:0},{angle:1.8151424220741026,size:.43845983704991326},{angle:1.8325957145940461,size:.20304403238592938},{angle:1.8500490071139892,size:.4073492348853144},{angle:1.8675022996339325,size:.219470131281173},{angle:1.8849555921538759,size:.45660256406005684},{angle:1.902408884673819,size:.3393399144640195},{angle:1.9198621771937625,size:.276550419773976},{angle:1.9373154697137058,size:.5320105900684261},{angle:1.9547687622336491,size:.6155269654771666},{angle:1.9722220547535922,size:.22419474338943196},{angle:1.9896753472735356,size:.23804382078153533},{angle:2.007128639793479,size:0},{angle:2.0245819323134224,size:.3633540999326592},{angle:2.0420352248333655,size:0},{angle:2.0594885173533086,size:.41460769244944395},{angle:2.076941809873252,size:.6286936990049774},{angle:2.0943951023931953,size:.200739905476094},{angle:2.111848394913139,size:.2193856614849951},{angle:2.129301687433082,size:.5174703835812356},{angle:2.1467549799530254,size:.43823170630040026},{angle:2.1642082724729685,size:.20016208053109044},{angle:2.1816615649929116,size:0},{angle:2.199114857512855,size:.2438752390230925},{angle:2.2165681500327987,size:.558839847177411},{angle:2.234021442552742,size:.5058161307652331},{angle:2.251474735072685,size:.4163416134868366},{angle:2.2689280275926285,size:.3927452602366039},{angle:2.2863813201125716,size:.22048433415322144},{angle:2.3038346126325147,size:0},{angle:2.321287905152458,size:.38325379506961654},{angle:2.3387411976724017,size:.26996156219160933},{angle:2.356194490192345,size:.24570140652714895},{angle:2.373647782712288,size:.4318682468411399},{angle:2.3911010752322315,size:0},{angle:2.408554367752175,size:.36303356973789147},{angle:2.426007660272118,size:0},{angle:2.443460952792061,size:0},{angle:2.4609142453120048,size:.2034206921689368},{angle:2.478367537831948,size:.3378753953823601},{angle:2.495820830351891,size:0},{angle:2.5132741228718345,size:.20946355100653166},{angle:2.530727415391778,size:0},{angle:2.548180707911721,size:.2010267555449919},{angle:2.5656340004316642,size:0},{angle:2.5830872929516078,size:.24585312769394696},{angle:2.600540585471551,size:.2678216009873836},{angle:2.6179938779914944,size:0},{angle:2.6354471705114375,size:.37886445683552594},{angle:2.652900463031381,size:0},{angle:2.670353755551324,size:.4207804712656875},{angle:2.6878070480712672,size:.3661765638604485},{angle:2.705260340591211,size:.23332090131822605},{angle:2.7227136331111543,size:.29260827281303475},{angle:2.7401669256310974,size:0},{angle:2.7576202181510405,size:0},{angle:2.7750735106709836,size:.2406869915993585},{angle:2.792526803190927,size:.4853579770327698},{angle:2.8099800957108707,size:0},{angle:2.827433388230814,size:0},{angle:2.844886680750757,size:.30911318272910954},{angle:2.8623399732707004,size:.24276346331431295},{angle:2.8797932657906435,size:.4074278930841708},{angle:2.897246558310587,size:0},{angle:2.91469985083053,size:0},{angle:2.9321531433504737,size:0},{angle:2.949606435870417,size:.5034771448783059},{angle:2.96705972839036,size:0},{angle:2.9845130209103035,size:.47671083061745534},{angle:3.001966313430247,size:.2954476419863419},{angle:3.01941960595019,size:.34721182293920017},{angle:3.036872898470133,size:0},{angle:3.0543261909900767,size:.33634281965249424},{angle:3.07177948351002,size:0},{angle:3.089232776029963,size:.3969744022758298},{angle:3.1066860685499065,size:.45035023963380594},{angle:3.12413936106985,size:0},{angle:3.141592653589793,size:.20123624256656963},{angle:3.159045946109736,size:.3409197476453387},{angle:3.1764992386296798,size:0},{angle:3.193952531149623,size:.2390378545693296},{angle:3.211405823669566,size:.4217427260554771},{angle:3.2288591161895095,size:.2321428378715548},{angle:3.246312408709453,size:.5108775192826629},{angle:3.2637657012293966,size:0},{angle:3.2812189937493397,size:.24830209118581767},{angle:3.2986722862692828,size:.4285043784690051},{angle:3.3161255787892263,size:0},{angle:3.3335788713091694,size:.41615345101647594},{angle:3.3510321638291125,size:.3443457167465501},{angle:3.368485456349056,size:.24278181910967297},{angle:3.385938748868999,size:.3170954028710607},{angle:3.4033920413889422,size:0},{angle:3.4208453339088853,size:.5762959264864541},{angle:3.4382986264288293,size:.4570336120259396},{angle:3.455751918948773,size:.24428631116492075},{angle:3.473205211468716,size:.21924143717137337},{angle:3.490658503988659,size:.25603848888915326},{angle:3.5081117965086026,size:.2719205421132959},{angle:3.5255650890285457,size:.3438426899001237},{angle:3.543018381548489,size:.21720854515049806},{angle:3.560471674068432,size:.33736501349723935},{angle:3.5779249665883754,size:.42428591127192306},{angle:3.5953782591083185,size:0},{angle:3.6128315516282616,size:.48794628528485784},{angle:3.630284844148205,size:0},{angle:3.647738136668149,size:0},{angle:3.6651914291880923,size:.5881284717282445},{angle:3.6826447217080354,size:0},{angle:3.7000980142279785,size:0},{angle:3.717551306747922,size:.4850921312265409},{angle:3.735004599267865,size:.25103285144303134},{angle:3.752457891787808,size:.28607749275975697},{angle:3.7699111843077517,size:.43242300153574686},{angle:3.787364476827695,size:.22208141764509584},{angle:3.804817769347638,size:.25299299895316874},{angle:3.8222710618675815,size:.2522146211017582},{angle:3.839724354387525,size:.5402465242948407},{angle:3.8571776469074686,size:.3571496842941953},{angle:3.8746309394274117,size:.47105064530199614},{angle:3.8920842319473548,size:.3510998272207881},{angle:3.9095375244672983,size:0},{angle:3.9269908169872414,size:.31137304702972385},{angle:3.9444441095071845,size:0},{angle:3.961897402027128,size:0},{angle:3.979350694547071,size:.5742732785644481},{angle:3.9968039870670142,size:.27293372321156956},{angle:4.014257279586958,size:.28094640267328636},{angle:4.031710572106902,size:.35734740177238444},{angle:4.049163864626845,size:0},{angle:4.066617157146788,size:.2037592858556903},{angle:4.084070449666731,size:.27965198692253335},{angle:4.101523742186674,size:0},{angle:4.118977034706617,size:.20244058497912834},{angle:4.136430327226561,size:0},{angle:4.153883619746504,size:0},{angle:4.171336912266447,size:.3550862726043248},{angle:4.1887902047863905,size:.27964599942794816},{angle:4.206243497306334,size:.26094683927319057},{angle:4.223696789826278,size:0},{angle:4.241150082346221,size:0},{angle:4.258603374866164,size:0},{angle:4.276056667386108,size:0},{angle:4.293509959906051,size:0},{angle:4.310963252425994,size:.21050224418624597},{angle:4.328416544945937,size:.20159105956083992},{angle:4.34586983746588,size:0},{angle:4.363323129985823,size:0},{angle:4.380776422505767,size:.2303200233080059},{angle:4.39822971502571,size:.28584907416913696},{angle:4.4156830075456535,size:.2702190630740686},{angle:4.4331363000655974,size:.2542534071769331},{angle:4.4505895925855405,size:.20590028943030392},{angle:4.468042885105484,size:.4935504132705553},{angle:4.485496177625427,size:.29690267122365893},{angle:4.50294947014537,size:.20580921471888527},{angle:4.520402762665314,size:.36441980896217085},{angle:4.537856055185257,size:0},{angle:4.5553093477052,size:0},{angle:4.572762640225143,size:.3899102794839669},{angle:4.590215932745086,size:.20125538999002457},{angle:4.607669225265029,size:.6263400863372552},{angle:4.625122517784973,size:0},{angle:4.642575810304916,size:0},{angle:4.66002910282486,size:0},{angle:4.6774823953448035,size:.20412933536875083},{angle:4.694935687864747,size:0},{angle:4.71238898038469,size:0},{angle:4.729842272904633,size:.21049088172464211},{angle:4.747295565424576,size:0},{angle:4.764748857944519,size:0},{angle:4.782202150464463,size:.43689909343537303},{angle:4.799655442984406,size:0},{angle:4.81710873550435,size:.3298382241770763},{angle:4.834562028024293,size:0},{angle:4.852015320544236,size:0},{angle:4.869468613064179,size:.286634468435369},{angle:4.886921905584122,size:.26747579680629896},{angle:4.9043751981040655,size:0},{angle:4.9218284906240095,size:.3521297980099919},{angle:4.939281783143953,size:.23127324951261863},{angle:4.956735075663896,size:.24965415339986494},{angle:4.974188368183839,size:.23172880439370955},{angle:4.991641660703782,size:0},{angle:5.009094953223726,size:.3679831345094222},{angle:5.026548245743669,size:.5470123408215705},{angle:5.044001538263612,size:.4530142685955189},{angle:5.061454830783556,size:0},{angle:5.078908123303499,size:.350315594587748},{angle:5.096361415823442,size:.20181768514230186},{angle:5.113814708343385,size:0},{angle:5.1312680008633285,size:.28487004445575653},{angle:5.148721293383272,size:.4102707998784525},{angle:5.1661745859032155,size:.3388659010142765},{angle:5.183627878423159,size:.33083986204933336},{angle:5.201081170943102,size:.3166212094297834},{angle:5.218534463463046,size:0},{angle:5.235987755982989,size:.20652480787107877},{angle:5.253441048502932,size:.3885527736251152},{angle:5.270894341022875,size:.20456614851743604},{angle:5.288347633542818,size:.4338995907399211},{angle:5.305800926062762,size:.30412699721363057},{angle:5.323254218582705,size:0},{angle:5.340707511102648,size:.419438754015243},{angle:5.358160803622591,size:0},{angle:5.3756140961425345,size:0},{angle:5.393067388662478,size:.42556206108576267},{angle:5.410520681182422,size:.25031055427765553},{angle:5.427973973702365,size:.35975108909375286},{angle:5.445427266222309,size:.22754830048197103},{angle:5.462880558742252,size:.2029808517797327},{angle:5.480333851262195,size:.32799674228923514},{angle:5.497787143782138,size:0},{angle:5.515240436302081,size:.3095980030407374},{angle:5.532693728822024,size:0},{angle:5.550147021341967,size:0},{angle:5.567600313861911,size:0},{angle:5.585053606381854,size:0},{angle:5.602506898901798,size:.22929725546430665},{angle:5.619960191421741,size:0},{angle:5.6374134839416845,size:0},{angle:5.654866776461628,size:.486297562894816},{angle:5.672320068981571,size:.3759204214445959},{angle:5.689773361501514,size:.20745644189726606},{angle:5.707226654021458,size:0},{angle:5.724679946541401,size:.26546917127540703},{angle:5.742133239061344,size:.23068229745925445},{angle:5.759586531581287,size:.20045367856022286},{angle:5.77703982410123,size:.3172715326653881},{angle:5.794493116621174,size:.5332522186868482},{angle:5.811946409141117,size:.3759996438500316},{angle:5.82939970166106,size:.2922710127994122},{angle:5.846852994181004,size:0},{angle:5.8643062867009474,size:0},{angle:5.8817595792208905,size:.28001225096002696},{angle:5.899212871740834,size:.23169987000640824},{angle:5.916666164260777,size:0},{angle:5.93411945678072,size:0},{angle:5.951572749300664,size:.2666549139221699},{angle:5.969026041820607,size:0},{angle:5.98647933434055,size:.2621717655706146},{angle:6.003932626860494,size:0},{angle:6.021385919380437,size:0},{angle:6.03883921190038,size:.20671180860826915},{angle:6.056292504420323,size:.30370381391874146},{angle:6.073745796940266,size:.41357741598512554},{angle:6.09119908946021,size:.420551183125432},{angle:6.1086523819801535,size:.3790235708916212},{angle:6.126105674500097,size:.24967080089513013},{angle:6.14355896702004,size:.5575536015801299},{angle:6.161012259539983,size:.430540594260699},{angle:6.178465552059926,size:.42226795702173153},{angle:6.19591884457987,size:.22644215957711042},{angle:6.213372137099813,size:.3890337434456625},{angle:6.230825429619757,size:.21837281600909064},{angle:6.2482787221397,size:.48856734220218423},{angle:6.265732014659643,size:0}],roughEdgeProbability:.3,roughEdgeShift:8,roughEdgePoints:360},zr={showRuler:!0,showFullRuler:!0,showCrossLine:!0,showDashLine:!0,showSideRuler:!0,showCurrentPositionText:!0},vr={svgPath:"M 0 -1 L 0.588 0.809 L -0.951 -0.309 L 0.951 -0.309 L -0.588 0.809 Z",drawStar:!0,starDiameter:14,starPositionY:0,scaleToSmallStar:!1,useImage:!1,imageUrl:"",imageWidth:10,imageHeight:10,keepAspectRatio:!0},yr={openSecurityPattern:!0,securityPatternWidth:.15,securityPatternLength:3,securityPatternCount:5,securityPatternAngleRange:40,securityPatternParams:[{angle:1.253382821001648,lineAngle:.5011688961751503},{angle:2.0261644738555464,lineAngle:-.4527134494869728},{angle:.8372465390781247,lineAngle:.8205784612614496},{angle:4.985211537991283,lineAngle:2.957635549111782},{angle:4.841439261858876,lineAngle:3.3253215871661475}]},br={companyName:"印章绘制有限责任公司",compression:1,borderOffset:1,textDistributionFactor:5,fontFamily:"Songti SC",fontHeight:4.2,fontWeight:400,shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"clockwise"},Cr={code:"1234567890",compression:1,fontHeight:1.2,fontFamily:"Arial",borderOffset:1,fontWidth:1.2,textDistributionFactor:50,fontWeight:"normal"},wr=40,Sr=40,xr={stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2},Tr="#ff0000",Pr=1,Er=!1,_r=!1,Lr={code:"",compression:.7,fontHeight:3.7,fontFamily:"Arial",fontWidth:1.3,letterSpacing:8,positionY:0,totalWidth:26,fontWeight:"normal"},Fr={applyAging:!1,agingIntensity:50,agingEffectParams:[]},Ar={drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12},Mr={drawInnerCircle:!0,innerCircleLineWidth:.2,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},Rr=!1,Ir=[{stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:1.55,positionY:.5,fontWeight:"normal",lineSpacing:2}],Ur=[{companyName:"绘制印章有限责任公司",compression:1,borderOffset:1,textDistributionFactor:3.7,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!0,adjustEllipseTextFactor:.75}],Or=[],Wr={roughEdge:mr,ruler:zr,drawStar:vr,securityPattern:yr,company:br,stampCode:Cr,width:wr,height:Sr,stampType:xr,primaryColor:Tr,borderWidth:Pr,refreshSecurityPattern:Er,refreshOld:_r,taxNumber:Lr,agingEffect:Fr,innerCircle:Ar,outThinCircle:Mr,openManualAging:Rr,stampTypeList:Ir,companyList:Ur,innerCircleList:Or},Dr={drawRoughEdge:!1,roughEdgeWidth:.2,roughEdgeHeight:5,roughEdgeParams:[{angle:0,size:0},{angle:.017453292519943295,size:0},{angle:.03490658503988659,size:0},{angle:.05235987755982988,size:.31730287292758974},{angle:.06981317007977318,size:.3916444365989694},{angle:.08726646259971647,size:.208608754055621},{angle:.10471975511965977,size:.2201400602607466},{angle:.12217304763960307,size:0},{angle:.13962634015954636,size:.413218673378141},{angle:.15707963267948966,size:.2265863014473266},{angle:.17453292519943295,size:.24605542095631253},{angle:.19198621771937624,size:.23655514355059734},{angle:.20943951023931953,size:.253807375717143},{angle:.22689280275926282,size:0},{angle:.24434609527920614,size:.24330943667000401},{angle:.2617993877991494,size:.22953279555062572},{angle:.2792526803190927,size:.21392879792197558},{angle:.296705972839036,size:.2890854202057443},{angle:.3141592653589793,size:0},{angle:.33161255787892263,size:0},{angle:.3490658503988659,size:.20956234004730973},{angle:.3665191429188092,size:0},{angle:.3839724354387525,size:.4195584128674653},{angle:.40142572795869574,size:.28732832573605316},{angle:.41887902047863906,size:.47727796370752146},{angle:.4363323129985824,size:.4078196234676063},{angle:.45378560551852565,size:0},{angle:.47123889803846897,size:0},{angle:.4886921905584123,size:0},{angle:.5061454830783556,size:0},{angle:.5235987755982988,size:.23556530694644498},{angle:.5410520681182421,size:.2599537196239181},{angle:.5585053606381855,size:0},{angle:.5759586531581287,size:.22683369358645425},{angle:.593411945678072,size:.43941963242183213},{angle:.6108652381980153,size:.256981026413524},{angle:.6283185307179586,size:0},{angle:.6457718232379019,size:.4143289542013904},{angle:.6632251157578453,size:.2043975927300548},{angle:.6806784082777886,size:.2775738594178865},{angle:.6981317007977318,size:.45292165202456325},{angle:.7155849933176751,size:0},{angle:.7330382858376184,size:0},{angle:.7504915783575618,size:0},{angle:.767944870877505,size:.20332628954785245},{angle:.7853981633974483,size:.34115588214343917},{angle:.8028514559173915,size:0},{angle:.8203047484373349,size:0},{angle:.8377580409572781,size:.5593400040413774},{angle:.8552113334772213,size:.2033100660342137},{angle:.8726646259971648,size:0},{angle:.890117918517108,size:.5091817435737851},{angle:.9075712110370513,size:.279445568305137},{angle:.9250245035569946,size:.20767293459237582},{angle:.9424777960769379,size:.21286087516612376},{angle:.9599310885968813,size:.2725735644590326},{angle:.9773843811168246,size:.46298636488105377},{angle:.9948376736367678,size:.41238315415937515},{angle:1.0122909661567112,size:0},{angle:1.0297442586766543,size:0},{angle:1.0471975511965976,size:0},{angle:1.064650843716541,size:0},{angle:1.0821041362364843,size:0},{angle:1.0995574287564276,size:.20485472246876976},{angle:1.117010721276371,size:.3052714854016909},{angle:1.1344640137963142,size:.20607768685630748},{angle:1.1519173063162573,size:.3276447266845562},{angle:1.1693705988362009,size:.28664182476391264},{angle:1.186823891356144,size:0},{angle:1.2042771838760875,size:.20123843031687727},{angle:1.2217304763960306,size:.6548549401786197},{angle:1.239183768915974,size:.2296486641966379},{angle:1.2566370614359172,size:0},{angle:1.2740903539558606,size:0},{angle:1.2915436464758039,size:.3028221310953204},{angle:1.3089969389957472,size:.20635785523064312},{angle:1.3264502315156905,size:.3572536461573111},{angle:1.3439035240356336,size:.2598928499974735},{angle:1.3613568165555772,size:0},{angle:1.3788101090755203,size:.2094684164364703},{angle:1.3962634015954636,size:.3360749168526257},{angle:1.413716694115407,size:0},{angle:1.4311699866353502,size:.32475263917391867},{angle:1.4486232791552935,size:.5399755074264703},{angle:1.4660765716752369,size:.2644556748669187},{angle:1.48352986419518,size:.34449155662616326},{angle:1.5009831567151235,size:0},{angle:1.5184364492350666,size:.5685198037288627},{angle:1.53588974175501,size:0},{angle:1.5533430342749532,size:.20889344877506363},{angle:1.5707963267948966,size:.285347548051893},{angle:1.5882496193148399,size:0},{angle:1.605702911834783,size:.23292373033793978},{angle:1.6231562043547265,size:.25986031187936487},{angle:1.6406094968746698,size:.2559482264281531},{angle:1.6580627893946132,size:.3447768560720649},{angle:1.6755160819145563,size:.22484393149110152},{angle:1.6929693744344996,size:.22594026543664494},{angle:1.7104226669544427,size:.2073252363813488},{angle:1.7278759594743864,size:.5489029803336072},{angle:1.7453292519943295,size:0},{angle:1.7627825445142729,size:.280466955003097},{angle:1.780235837034216,size:.5137446035690201},{angle:1.7976891295541593,size:0},{angle:1.8151424220741026,size:.43845983704991326},{angle:1.8325957145940461,size:.20304403238592938},{angle:1.8500490071139892,size:.4073492348853144},{angle:1.8675022996339325,size:.219470131281173},{angle:1.8849555921538759,size:.45660256406005684},{angle:1.902408884673819,size:.3393399144640195},{angle:1.9198621771937625,size:.276550419773976},{angle:1.9373154697137058,size:.5320105900684261},{angle:1.9547687622336491,size:.6155269654771666},{angle:1.9722220547535922,size:.22419474338943196},{angle:1.9896753472735356,size:.23804382078153533},{angle:2.007128639793479,size:0},{angle:2.0245819323134224,size:.3633540999326592},{angle:2.0420352248333655,size:0},{angle:2.0594885173533086,size:.41460769244944395},{angle:2.076941809873252,size:.6286936990049774},{angle:2.0943951023931953,size:.200739905476094},{angle:2.111848394913139,size:.2193856614849951},{angle:2.129301687433082,size:.5174703835812356},{angle:2.1467549799530254,size:.43823170630040026},{angle:2.1642082724729685,size:.20016208053109044},{angle:2.1816615649929116,size:0},{angle:2.199114857512855,size:.2438752390230925},{angle:2.2165681500327987,size:.558839847177411},{angle:2.234021442552742,size:.5058161307652331},{angle:2.251474735072685,size:.4163416134868366},{angle:2.2689280275926285,size:.3927452602366039},{angle:2.2863813201125716,size:.22048433415322144},{angle:2.3038346126325147,size:0},{angle:2.321287905152458,size:.38325379506961654},{angle:2.3387411976724017,size:.26996156219160933},{angle:2.356194490192345,size:.24570140652714895},{angle:2.373647782712288,size:.4318682468411399},{angle:2.3911010752322315,size:0},{angle:2.408554367752175,size:.36303356973789147},{angle:2.426007660272118,size:0},{angle:2.443460952792061,size:0},{angle:2.4609142453120048,size:.2034206921689368},{angle:2.478367537831948,size:.3378753953823601},{angle:2.495820830351891,size:0},{angle:2.5132741228718345,size:.20946355100653166},{angle:2.530727415391778,size:0},{angle:2.548180707911721,size:.2010267555449919},{angle:2.5656340004316642,size:0},{angle:2.5830872929516078,size:.24585312769394696},{angle:2.600540585471551,size:.2678216009873836},{angle:2.6179938779914944,size:0},{angle:2.6354471705114375,size:.37886445683552594},{angle:2.652900463031381,size:0},{angle:2.670353755551324,size:.4207804712656875},{angle:2.6878070480712672,size:.3661765638604485},{angle:2.705260340591211,size:.23332090131822605},{angle:2.7227136331111543,size:.29260827281303475},{angle:2.7401669256310974,size:0},{angle:2.7576202181510405,size:0},{angle:2.7750735106709836,size:.2406869915993585},{angle:2.792526803190927,size:.4853579770327698},{angle:2.8099800957108707,size:0},{angle:2.827433388230814,size:0},{angle:2.844886680750757,size:.30911318272910954},{angle:2.8623399732707004,size:.24276346331431295},{angle:2.8797932657906435,size:.4074278930841708},{angle:2.897246558310587,size:0},{angle:2.91469985083053,size:0},{angle:2.9321531433504737,size:0},{angle:2.949606435870417,size:.5034771448783059},{angle:2.96705972839036,size:0},{angle:2.9845130209103035,size:.47671083061745534},{angle:3.001966313430247,size:.2954476419863419},{angle:3.01941960595019,size:.34721182293920017},{angle:3.036872898470133,size:0},{angle:3.0543261909900767,size:.33634281965249424},{angle:3.07177948351002,size:0},{angle:3.089232776029963,size:.3969744022758298},{angle:3.1066860685499065,size:.45035023963380594},{angle:3.12413936106985,size:0},{angle:3.141592653589793,size:.20123624256656963},{angle:3.159045946109736,size:.3409197476453387},{angle:3.1764992386296798,size:0},{angle:3.193952531149623,size:.2390378545693296},{angle:3.211405823669566,size:.4217427260554771},{angle:3.2288591161895095,size:.2321428378715548},{angle:3.246312408709453,size:.5108775192826629},{angle:3.2637657012293966,size:0},{angle:3.2812189937493397,size:.24830209118581767},{angle:3.2986722862692828,size:.4285043784690051},{angle:3.3161255787892263,size:0},{angle:3.3335788713091694,size:.41615345101647594},{angle:3.3510321638291125,size:.3443457167465501},{angle:3.368485456349056,size:.24278181910967297},{angle:3.385938748868999,size:.3170954028710607},{angle:3.4033920413889422,size:0},{angle:3.4208453339088853,size:.5762959264864541},{angle:3.4382986264288293,size:.4570336120259396},{angle:3.455751918948773,size:.24428631116492075},{angle:3.473205211468716,size:.21924143717137337},{angle:3.490658503988659,size:.25603848888915326},{angle:3.5081117965086026,size:.2719205421132959},{angle:3.5255650890285457,size:.3438426899001237},{angle:3.543018381548489,size:.21720854515049806},{angle:3.560471674068432,size:.33736501349723935},{angle:3.5779249665883754,size:.42428591127192306},{angle:3.5953782591083185,size:0},{angle:3.6128315516282616,size:.48794628528485784},{angle:3.630284844148205,size:0},{angle:3.647738136668149,size:0},{angle:3.6651914291880923,size:.5881284717282445},{angle:3.6826447217080354,size:0},{angle:3.7000980142279785,size:0},{angle:3.717551306747922,size:.4850921312265409},{angle:3.735004599267865,size:.25103285144303134},{angle:3.752457891787808,size:.28607749275975697},{angle:3.7699111843077517,size:.43242300153574686},{angle:3.787364476827695,size:.22208141764509584},{angle:3.804817769347638,size:.25299299895316874},{angle:3.8222710618675815,size:.2522146211017582},{angle:3.839724354387525,size:.5402465242948407},{angle:3.8571776469074686,size:.3571496842941953},{angle:3.8746309394274117,size:.47105064530199614},{angle:3.8920842319473548,size:.3510998272207881},{angle:3.9095375244672983,size:0},{angle:3.9269908169872414,size:.31137304702972385},{angle:3.9444441095071845,size:0},{angle:3.961897402027128,size:0},{angle:3.979350694547071,size:.5742732785644481},{angle:3.9968039870670142,size:.27293372321156956},{angle:4.014257279586958,size:.28094640267328636},{angle:4.031710572106902,size:.35734740177238444},{angle:4.049163864626845,size:0},{angle:4.066617157146788,size:.2037592858556903},{angle:4.084070449666731,size:.27965198692253335},{angle:4.101523742186674,size:0},{angle:4.118977034706617,size:.20244058497912834},{angle:4.136430327226561,size:0},{angle:4.153883619746504,size:0},{angle:4.171336912266447,size:.3550862726043248},{angle:4.1887902047863905,size:.27964599942794816},{angle:4.206243497306334,size:.26094683927319057},{angle:4.223696789826278,size:0},{angle:4.241150082346221,size:0},{angle:4.258603374866164,size:0},{angle:4.276056667386108,size:0},{angle:4.293509959906051,size:0},{angle:4.310963252425994,size:.21050224418624597},{angle:4.328416544945937,size:.20159105956083992},{angle:4.34586983746588,size:0},{angle:4.363323129985823,size:0},{angle:4.380776422505767,size:.2303200233080059},{angle:4.39822971502571,size:.28584907416913696},{angle:4.4156830075456535,size:.2702190630740686},{angle:4.4331363000655974,size:.2542534071769331},{angle:4.4505895925855405,size:.20590028943030392},{angle:4.468042885105484,size:.4935504132705553},{angle:4.485496177625427,size:.29690267122365893},{angle:4.50294947014537,size:.20580921471888527},{angle:4.520402762665314,size:.36441980896217085},{angle:4.537856055185257,size:0},{angle:4.5553093477052,size:0},{angle:4.572762640225143,size:.3899102794839669},{angle:4.590215932745086,size:.20125538999002457},{angle:4.607669225265029,size:.6263400863372552},{angle:4.625122517784973,size:0},{angle:4.642575810304916,size:0},{angle:4.66002910282486,size:0},{angle:4.6774823953448035,size:.20412933536875083},{angle:4.694935687864747,size:0},{angle:4.71238898038469,size:0},{angle:4.729842272904633,size:.21049088172464211},{angle:4.747295565424576,size:0},{angle:4.764748857944519,size:0},{angle:4.782202150464463,size:.43689909343537303},{angle:4.799655442984406,size:0},{angle:4.81710873550435,size:.3298382241770763},{angle:4.834562028024293,size:0},{angle:4.852015320544236,size:0},{angle:4.869468613064179,size:.286634468435369},{angle:4.886921905584122,size:.26747579680629896},{angle:4.9043751981040655,size:0},{angle:4.9218284906240095,size:.3521297980099919},{angle:4.939281783143953,size:.23127324951261863},{angle:4.956735075663896,size:.24965415339986494},{angle:4.974188368183839,size:.23172880439370955},{angle:4.991641660703782,size:0},{angle:5.009094953223726,size:.3679831345094222},{angle:5.026548245743669,size:.5470123408215705},{angle:5.044001538263612,size:.4530142685955189},{angle:5.061454830783556,size:0},{angle:5.078908123303499,size:.350315594587748},{angle:5.096361415823442,size:.20181768514230186},{angle:5.113814708343385,size:0},{angle:5.1312680008633285,size:.28487004445575653},{angle:5.148721293383272,size:.4102707998784525},{angle:5.1661745859032155,size:.3388659010142765},{angle:5.183627878423159,size:.33083986204933336},{angle:5.201081170943102,size:.3166212094297834},{angle:5.218534463463046,size:0},{angle:5.235987755982989,size:.20652480787107877},{angle:5.253441048502932,size:.3885527736251152},{angle:5.270894341022875,size:.20456614851743604},{angle:5.288347633542818,size:.4338995907399211},{angle:5.305800926062762,size:.30412699721363057},{angle:5.323254218582705,size:0},{angle:5.340707511102648,size:.419438754015243},{angle:5.358160803622591,size:0},{angle:5.3756140961425345,size:0},{angle:5.393067388662478,size:.42556206108576267},{angle:5.410520681182422,size:.25031055427765553},{angle:5.427973973702365,size:.35975108909375286},{angle:5.445427266222309,size:.22754830048197103},{angle:5.462880558742252,size:.2029808517797327},{angle:5.480333851262195,size:.32799674228923514},{angle:5.497787143782138,size:0},{angle:5.515240436302081,size:.3095980030407374},{angle:5.532693728822024,size:0},{angle:5.550147021341967,size:0},{angle:5.567600313861911,size:0},{angle:5.585053606381854,size:0},{angle:5.602506898901798,size:.22929725546430665},{angle:5.619960191421741,size:0},{angle:5.6374134839416845,size:0},{angle:5.654866776461628,size:.486297562894816},{angle:5.672320068981571,size:.3759204214445959},{angle:5.689773361501514,size:.20745644189726606},{angle:5.707226654021458,size:0},{angle:5.724679946541401,size:.26546917127540703},{angle:5.742133239061344,size:.23068229745925445},{angle:5.759586531581287,size:.20045367856022286},{angle:5.77703982410123,size:.3172715326653881},{angle:5.794493116621174,size:.5332522186868482},{angle:5.811946409141117,size:.3759996438500316},{angle:5.82939970166106,size:.2922710127994122},{angle:5.846852994181004,size:0},{angle:5.8643062867009474,size:0},{angle:5.8817595792208905,size:.28001225096002696},{angle:5.899212871740834,size:.23169987000640824},{angle:5.916666164260777,size:0},{angle:5.93411945678072,size:0},{angle:5.951572749300664,size:.2666549139221699},{angle:5.969026041820607,size:0},{angle:5.98647933434055,size:.2621717655706146},{angle:6.003932626860494,size:0},{angle:6.021385919380437,size:0},{angle:6.03883921190038,size:.20671180860826915},{angle:6.056292504420323,size:.30370381391874146},{angle:6.073745796940266,size:.41357741598512554},{angle:6.09119908946021,size:.420551183125432},{angle:6.1086523819801535,size:.3790235708916212},{angle:6.126105674500097,size:.24967080089513013},{angle:6.14355896702004,size:.5575536015801299},{angle:6.161012259539983,size:.430540594260699},{angle:6.178465552059926,size:.42226795702173153},{angle:6.19591884457987,size:.22644215957711042},{angle:6.213372137099813,size:.3890337434456625},{angle:6.230825429619757,size:.21837281600909064},{angle:6.2482787221397,size:.48856734220218423},{angle:6.265732014659643,size:0}],roughEdgeProbability:.3,roughEdgeShift:8,roughEdgePoints:360},Vr={showRuler:!0,showFullRuler:!0,showCrossLine:!0,showDashLine:!0,showSideRuler:!0,showCurrentPositionText:!0},Hr={svgPath:"M 0 -1 L 0.588 0.809 L -0.951 -0.309 L 0.951 -0.309 L -0.588 0.809 Z",drawStar:!1,starDiameter:14,starPositionY:0,scaleToSmallStar:!1,useImage:!1,imageUrl:"",imageWidth:10,imageHeight:10,keepAspectRatio:!0},Nr={openSecurityPattern:!0,securityPatternWidth:.15,securityPatternLength:3,securityPatternCount:5,securityPatternAngleRange:40,securityPatternParams:[{angle:1.253382821001648,lineAngle:.5011688961751503},{angle:2.0261644738555464,lineAngle:-.4527134494869728},{angle:.8372465390781247,lineAngle:.8205784612614496},{angle:4.985211537991283,lineAngle:2.957635549111782},{angle:4.841439261858876,lineAngle:3.3253215871661475}]},$r={companyName:"印章绘制有限责任公司",compression:1,borderOffset:1,textDistributionFactor:5,fontFamily:"Songti SC",fontHeight:4.2,fontWeight:400,shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"clockwise"},kr={code:"",compression:1,fontHeight:1.2,fontFamily:"Arial",borderOffset:1,fontWidth:1.2,textDistributionFactor:50,fontWeight:"normal"},jr=40,Yr=40,Br={stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2},Kr="#ff0000",Xr=1,Gr=!1,qr=!1,Jr={code:"",compression:.7,fontHeight:3.7,fontFamily:"Arial",fontWidth:1.3,letterSpacing:8,positionY:0,totalWidth:26,fontWeight:"normal"},Zr={applyAging:!1,agingIntensity:50,agingEffectParams:[]},Qr={drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12},e2={drawInnerCircle:!0,innerCircleLineWidth:.2,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},t2=!1,n2=[{stampType:"MUMBAI",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:1.55,positionY:-9,fontWeight:"normal",lineSpacing:2}],s2=[{companyName:"MYSTAMP READYL AND SEAL GENERATOR",compression:1,borderOffset:1,textDistributionFactor:6.1,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.75}],i2=[{drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:28,innerCircleLineRadiusY:28}],l2={roughEdge:Dr,ruler:Vr,drawStar:Hr,securityPattern:Nr,company:$r,stampCode:kr,width:jr,height:Yr,stampType:Br,primaryColor:Kr,borderWidth:Xr,refreshSecurityPattern:Gr,refreshOld:qr,taxNumber:Jr,agingEffect:Zr,innerCircle:Qr,outThinCircle:e2,openManualAging:t2,stampTypeList:n2,companyList:s2,innerCircleList:i2},o2={key:0,class:"legal-dialog-overlay"},a2={class:"container"},r2={class:"button-group",style:{position:"sticky",top:"0","z-index":"1000","background-color":"white",padding:"10px"}},u2={class:"control-group"},g2={class:"group-content"},c2={class:"checkbox-label"},f2={class:"control-group"},d2={class:"group-content"},p2={class:"company-header"},h2=["onClick"],m2=["onUpdate:modelValue"],z2={class:"font-input-group"},v2=["onUpdate:modelValue"],y2=["value"],b2=["onUpdate:modelValue"],C2=["onUpdate:modelValue"],w2=["onUpdate:modelValue"],S2=["onUpdate:modelValue"],x2=["onUpdate:modelValue"],T2=["onUpdate:modelValue"],P2={class:"checkbox-label"},E2=["onUpdate:modelValue"],_2={key:0},L2=["onUpdate:modelValue"],F2=["onUpdate:modelValue"],A2=["onUpdate:modelValue"],M2={class:"control-group"},R2={class:"group-content"},I2={class:"stamp-type-header"},U2=["onClick"],O2=["onUpdate:modelValue"],W2=["onUpdate:modelValue"],D2={class:"font-input-group"},V2=["onUpdate:modelValue"],H2={id:"stampTypeFontList"},N2=["value"],$2=["onUpdate:modelValue"],k2=["onUpdate:modelValue"],j2=["onUpdate:modelValue"],Y2=["onUpdate:modelValue"],B2={class:"control-group"},K2={class:"group-content"},X2={class:"font-input-group"},G2=["value"],q2={class:"control-group"},J2={class:"group-content"},Z2={class:"font-input-group"},Q2=["value"],e1={class:"control-group"},t1={class:"group-content"},n1={class:"image-list"},s1={class:"image-header"},i1=["onClick"],l1={key:0,class:"image-preview"},o1=["src"],a1=["onChange"],r1=["onUpdate:modelValue"],u1=["onUpdate:modelValue"],g1=["onUpdate:modelValue"],c1=["onUpdate:modelValue"],f1={class:"checkbox-label"},d1=["onUpdate:modelValue"],p1={class:"control-group"},h1={class:"group-content"},m1={class:"checkbox-label"},z1={key:0},v1={class:"control-group"},y1={class:"group-content"},b1={class:"control-group"},C1={class:"group-content"},w1={class:"checkbox-label"},S1={key:0},x1={key:1},T1={key:2},P1={key:3},E1={key:4},_1={class:"control-group"},L1={class:"group-content"},F1={class:"checkbox-label"},A1={class:"checkbox-label"},M1={key:0},R1={class:"control-group"},I1={class:"group-content"},U1={class:"inner-circle-header"},O1=["onClick"],W1=["onUpdate:modelValue"],D1=["onUpdate:modelValue"],V1=["onUpdate:modelValue"],H1={class:"canvas-container"},N1={style:{display:"flex","flex-direction":"row","margin-top":"12px",gap:"12px"}},$1={class:"control-group"},k1={class:"checkbox-label"},j1={class:"checkbox-label"},Y1={key:0},B1={class:"template-panel"},K1={class:"template-list"},X1={class:"template-category"},G1=["onClick"],q1={class:"template-preview"},J1=["src"],Z1={class:"template-info"},Q1={class:"template-name"},Ii=10,e5=fl({__name:"DrawStampUtilsDemo",setup(e){const t=_(null),n=_(null),s=_(!0),i=_("绘制印章有限责任公司"),l=_("1234567890123"),o=_("000000000000000000"),r=_("Songti SC"),g=_(4.2),h=_("SimSun"),f=_(1.2),m=_(1.2),z=_(20),x=_(1),R=_("#ff0000"),O=_(14),B=_(!1),D=_(!1),j=_(50),Y=_(3),U=_(!1),q=_(.5),pe=_(1),he=_(1),ve=_(20),Me=_("合同专用章"),Re=_("SimSun"),ke=_(4.6),Ft=_(3),st=_(0),it=_(0),kt=_(-5),me=_(1),le=_(400),Q=_(400),Ie=_(400),Ve=_("Songti SC"),Ue=_(400),Ae=_(1),lt=_(1),At=_(!0),ls=_(.5),je=_(.2),Mt=_("#FF0000"),ot=_(5),bt=_(2);_(!1);const He=_(!1),at=_(1),rt=_(.3),c=_(0),p=_(!0),v=_(.5),S=_(15),b=_(12),w=_(!0),L=_(.5),E=_(25),P=_(22);_(null);const C=_(!1),W=_(.2),A=_(5),I=_(.5),H=_(8),X=_(360),J=_(!1),G=_([{stampType:"印章类型",fontHeight:4.6,fontFamily:"SimSun",compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2,fontWidth:3}]),ue=_([{companyName:"绘制印章有限责任公司",compression:1,borderOffset:1,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"}]),fe=_(!1),Te=_(10),ye=_(10),ut=_(!0),gt=_([{drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},{drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12}]),Ce=_(null),ge=_([{imageUrl:"",imageWidth:10,imageHeight:10,positionX:0,positionY:0,keepAspectRatio:!0}]),Pn=()=>{console.log("add new image",ge.value),(ge.value===void 0||ge.value===null)&&(ge.value=[]),ge.value.length<10&&ge.value.push({imageUrl:"",imageWidth:10,imageHeight:10,positionX:0,positionY:0,keepAspectRatio:!0})},$l=y=>{ge.value.splice(y,1)},kl=()=>{const y=Ct.getDrawConfigs(),a=JSON.stringify(y,null,2),d=new Blob([a],{type:"application/json"}),N=URL.createObjectURL(d),T=document.createElement("a");T.href=N,T.download="印章模板.json",document.body.appendChild(T),T.click(),document.body.removeChild(T),URL.revokeObjectURL(N)},jl=()=>{var y;(y=Ce.value)==null||y.click()},Yl=y=>{const a=y.target;if(a.files&&a.files[0]){const d=a.files[0],N=new FileReader;N.onload=T=>{var ce;try{if((ce=T.target)!=null&&ce.result){const Pe=T.target.result,ft=JSON.parse(Pe);Ct.setDrawConfigs(ft),as(),ct()}}catch(Pe){console.error("加载模板失败:",Pe),alert("加载模板失败,请确保文件格式正确")}},N.readAsText(d)}a.value=""},Bl=(y,a)=>{const d=y.target;if(d.files&&d.files[0]){const N=d.files[0],T=new FileReader;T.onload=ce=>{var Pe;(Pe=ce.target)!=null&&Pe.result&&(ge.value[a].imageUrl=ce.target.result,ct())},T.readAsDataURL(N)}},Kl=()=>{let y=-3;if(G.value.length>0){const a=G.value[G.value.length-1];y=a.positionY+a.fontHeight}G.value.push({stampType:"新印章类型",fontHeight:4,fontFamily:"SimSun",compression:.75,letterSpacing:0,positionY:y,fontWeight:"normal",lineSpacing:2,fontWidth:3})},Xl=y=>{G.value.splice(y,1)},Gl=()=>{let y=1;if(ue.value.length>0){const a=ue.value[ue.value.length-1];y=a.borderOffset+a.fontHeight}ue.value.push({companyName:"新公司名称",compression:1,borderOffset:y,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"})},ql=y=>{ue.value.splice(y,1)},Jl=()=>{J.value=!0},nn=_(40),sn=_(30),os=_(1.2);let Ct;const Zl=()=>{Ct=new Ri(n.value,Ii)},ct=(y=!1,a=!1,d=!1)=>{Ct.refreshStamp(y,a,d)},Ql=()=>{gt.value.push({drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12})},eo=y=>{gt.value.splice(y,1)},to=()=>{const y=Ct.getDrawConfigs(),a=y.agingEffect;a.applyAging=B.value,a.agingIntensity=j.value,y.openManualAging=D.value;const d=y.securityPattern;d.openSecurityPattern=At.value,d.securityPatternCount=ot.value,d.securityPatternWidth=je.value,d.securityPatternLength=bt.value;const N=y.company;N.companyName=i.value,N.textDistributionFactor=Y.value,N.borderOffset=pe.value,N.fontHeight=g.value,N.fontFamily=r.value,N.compression=me.value,N.fontWeight=le.value,N.adjustEllipseText=U.value,N.adjustEllipseTextFactor=q.value;const T=y.taxNumber;T.code=o.value,T.compression=at.value,T.positionY=c.value,T.letterSpacing=rt.value,T.fontFamily=Ve.value,T.fontWeight=Ue.value;const ce=y.stampType;ce.stampType=Me.value,ce.fontFamily=Re.value,ce.fontHeight=ke.value,ce.fontWidth=Ft.value,ce.letterSpacing=st.value,ce.positionY=kt.value,ce.compression=Ae.value,ce.fontWeight=Q.value,ce.lineSpacing=os.value;const Pe=y.stampCode;Pe.code=l.value,Pe.compression=lt.value,Pe.fontFamily=h.value,Pe.fontHeight=f.value,Pe.fontWidth=m.value,Pe.borderOffset=he.value,Pe.textDistributionFactor=ve.value,Pe.fontWeight=Ie.value,y.primaryColor=R.value,y.borderWidth=x.value,y.width=nn.value,y.height=sn.value;const ft=y.drawStar;ft.drawStar=He.value,ft.useImage=fe.value,ft.imageWidth=Te.value,ft.imageHeight=ye.value,ft.keepAspectRatio=ut.value,ft.starDiameter=O.value,ft.starPositionY=it.value;const jt=y.roughEdge;jt.drawRoughEdge=C.value,jt.roughEdgeWidth=W.value,jt.roughEdgeHeight=A.value,jt.roughEdgeProbability=I.value,jt.roughEdgeShift=H.value,jt.roughEdgePoints=X.value;const En=y.innerCircle;En.drawInnerCircle=p.value,En.innerCircleLineWidth=v.value,En.innerCircleLineRadiusX=S.value,En.innerCircleLineRadiusY=b.value;const _n=y.outThinCircle;_n.drawInnerCircle=w.value,_n.innerCircleLineWidth=L.value,_n.innerCircleLineRadiusX=E.value,_n.innerCircleLineRadiusY=P.value,y.stampTypeList=G.value,y.companyList=ue.value,y.innerCircleList=gt.value,y.imageList=ge.value,ct()},no=()=>{J.value=!1},so=()=>{J.value=!1,Ct.saveStampAsPNG(512)},as=()=>{const y=Ct.getDrawConfigs();B.value=y.agingEffect.applyAging,j.value=y.agingEffect.agingIntensity,D.value=y.openManualAging,At.value=y.securityPattern.openSecurityPattern,ot.value=y.securityPattern.securityPatternCount,je.value=y.securityPattern.securityPatternWidth,bt.value=y.securityPattern.securityPatternLength,C.value=y.roughEdge.drawRoughEdge,W.value=y.roughEdge.roughEdgeWidth,A.value=y.roughEdge.roughEdgeHeight,I.value=y.roughEdge.roughEdgeProbability,H.value=y.roughEdge.roughEdgeShift,X.value=y.roughEdge.roughEdgePoints,nn.value=y.width,sn.value=y.height,x.value=y.borderWidth,R.value=y.primaryColor,i.value=y.company.companyName,g.value=y.company.fontHeight,me.value=y.company.compression,Y.value=y.company.textDistributionFactor,pe.value=y.company.borderOffset,ue.value=y.companyList;const a=y.stampCode;l.value=a.code,f.value=a.fontHeight,m.value=a.fontWidth,ve.value=a.textDistributionFactor,he.value=a.borderOffset,h.value=a.fontFamily,Ie.value=a.fontWeight,lt.value=a.compression;const d=y.taxNumber;o.value=d.code,at.value=d.compression,rt.value=d.letterSpacing,c.value=d.positionY,Ve.value=d.fontFamily,Ue.value=d.fontWeight;const N=y.stampType;Me.value=N.stampType,ke.value=N.fontHeight,Ft.value=N.fontWidth,st.value=N.letterSpacing,kt.value=N.positionY,Re.value=N.fontFamily,Q.value=N.fontWeight,Ae.value=N.compression,os.value=N.lineSpacing,G.value=y.stampTypeList,He.value=y.drawStar.drawStar,fe.value=y.drawStar.useImage,Te.value=y.drawStar.imageWidth,ye.value=y.drawStar.imageHeight,ut.value=y.drawStar.keepAspectRatio,O.value=y.drawStar.starDiameter,it.value=y.drawStar.starPositionY,p.value=y.innerCircle.drawInnerCircle,v.value=y.innerCircle.innerCircleLineWidth,S.value=y.innerCircle.innerCircleLineRadiusX,b.value=y.innerCircle.innerCircleLineRadiusY,gt.value=y.innerCircleList,w.value=y.outThinCircle.drawInnerCircle,L.value=y.outThinCircle.innerCircleLineWidth,E.value=y.outThinCircle.innerCircleLineRadiusX,P.value=y.outThinCircle.innerCircleLineRadiusY,ge.value=y.imageList||[]},ln=_([]),io=async()=>{ln.value=await B0()};Wn(async()=>{await io(),Zl(),as(),ct(),document.querySelectorAll(".font-select, .font-input").forEach(y=>{y instanceof HTMLElement&&Rt({target:y})})}),pn([i,r,l,g,f,z,x,R,O,ve,Y,pe,he,j,Me,Re,ke,st,kt,o,B,j,me,Ae,lt,st,Mt,ls,Mt,At,ot,bt,je,nn,sn,He,it,at,Ve,rt,c,O,p,v,S,b,L,E,P,w,D,C,W,A,I,H,X,le,Q,Ie,h,Ue,U,q,os,G,ue,fe,Te,ye,ut,gt,ge],()=>{to()},{deep:!0});const rs=_([{id:"contract",name:"合同专用章",text:"合同专用章",fontSize:4.6,letterSpacing:0,lineSpacing:1.2,positionY:-5,compression:1},{id:"invoice",name:"印章类型",text:`发票专章 -增值税专用`,fontSize:4.2,letterSpacing:0,lineSpacing:1.5,positionY:-4,compression:.9},{id:"finance",name:"财务专用章",text:`财务专用章 -仅限报销使用`,fontSize:4,letterSpacing:0,lineSpacing:1.8,positionY:-3,compression:.85}]),lo=()=>{localStorage.setItem("stampTypePresets",JSON.stringify(rs.value))},oo=()=>{const y=localStorage.getItem("stampTypePresets");y&&(rs.value=JSON.parse(y))};Wn(()=>{oo()}),pn(rs,()=>{lo()},{deep:!0});const ao=()=>{window.open("https://xxss0903.github.io/extractstamp/","_blank")},Rt=y=>{var N,T;const a=y.target,d=(a.tagName==="SELECT",a.value);if(a.style.setProperty("--current-font",d),a.tagName==="SELECT"){const ce=(N=a.parentElement)==null?void 0:N.querySelector(".font-input");ce&&(ce.value=d,ce.style.setProperty("--current-font",d))}if(a.tagName==="INPUT"){const ce=(T=a.parentElement)==null?void 0:T.querySelector(".font-select");ce&&(ce.value=d,ce.style.setProperty("--current-font",d))}},re=_({basic:!1,company:!1,stampType:!1,code:!1,taxNumber:!1,star:!1,security:!1,roughEdge:!1,aging:!1,innerCircle:!1,images:!1}),Ye=y=>{re.value[y]=!re.value[y]},Zs=_(-1),ro=async()=>{prompt("请输入模板名称")&&go()},uo=y=>{try{const a=JSON.parse(JSON.stringify(y.config));a.ruler.showRuler=!0,a.ruler.showFullRuler=!0,a.ruler.showSideRuler=!0,a.ruler.showCrossLine=!0,a.ruler.showCurrentPositionText=!0,a.ruler.showDashLine=!0,a.company.startAngle=y.config.company.startAngle,a.company.rotateDirection=y.config.company.rotateDirection,console.log("load template",y,a),Ct.setDrawConfigs(a),as(),ct(),Zs.value=-1-us.findIndex(d=>d===y)}catch(a){console.error("加载默认模板失败:",a),alert("加载默认模板失败")}},go=()=>{localStorage.setItem("stampTemplates",JSON.stringify(templateList.value))},co=()=>{us.forEach(async y=>{const a=document.createElement("canvas");a.width=400,a.height=400;const d=new Ri(a,Ii);y.config.ruler.showRuler=!1,d.setDrawConfigs(y.config),d.refreshStamp(),y.preview=a.toDataURL("image/png")})};Wn(()=>{co()});const us=[{name:"合同印章",preview:"",config:hr},{name:"公司印章1",preview:"",config:Wr},{name:"公司印章2",preview:"",config:l2}];return(y,a)=>(Z(),ne(ze,null,[J.value?(Z(),ne("div",o2,[u("div",{class:"legal-dialog"},[a[54]||(a[54]=u("h3",null,"⚠️ 法律提示",-1)),a[55]||(a[55]=u("div",{class:"legal-content"},[u("p",null,[u("strong",null,"请确认您已知悉并同意以下内容:")]),u("ol",null,[u("li",null,"本工具仅供学习和技术研究使用"),u("li",null,"使用本工具生成的任何图片请勿用于任何非法用途"),u("li",null,"因违法使用本工具造成的任何法律责任和损失,需自行承担"),u("li",null,"如果使用本工具请遵守相关法律法规")])],-1)),u("div",{class:"dialog-buttons"},[u("button",{onClick:no,class:"cancel-button"},"取消"),u("button",{onClick:so,class:"confirm-button"},"我已知悉并同意")])])])):Be("",!0),u("div",a2,[a[136]||(a[136]=u("div",{class:"legal-disclaimer"},[u("div",{class:"disclaimer-content"},[u("div",{class:"warning-icon"},"⚠️"),u("div",{class:"warning-text"},[u("h3",null,"安全警告"),u("p",null,[u("strong",null,"本项目仅供学习和参考!严禁用于任何非法用途!")]),u("p",null,[M(" 1. 本项目开源代码仅用于技术学习和交流。"),u("br"),M(" 2. 使用本项目生成的任何图片请勿用于任何非法用途。"),u("br"),M(" 3. 因违法使用本项目造成的任何法律责任和损失,需自行承担,与本项目无关。"),u("br"),M(" 4. 如果使用本项目请遵守相关法律法规。 ")])])])],-1)),u("div",{class:"editor-controls",ref_key:"editorControls",ref:t},[u("div",r2,[u("button",{onClick:Jl},"保存印章"),u("button",{onClick:kl},"保存模板"),u("input",{type:"file",ref_key:"templateFileInput",ref:Ce,style:{display:"none"},accept:".json",onChange:Yl},null,544),u("button",{onClick:jl},"加载模板")]),u("div",u2,[u("div",{class:"group-header",onClick:a[0]||(a[0]=d=>Ye("basic"))},[a[56]||(a[56]=u("h3",null,"印章基本设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.basic}])},"▼",2)]),F(u("div",g2,[u("label",c2,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[1]||(a[1]=d=>s.value=d)},null,512),[[qe,s.value]]),a[57]||(a[57]=M(" 提取圆形印章 "))]),u("label",null,[a[58]||(a[58]=M("印章宽度 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":a[2]||(a[2]=d=>nn.value=d),min:"1",max:"50",step:"1"},null,512),[[k,nn.value,void 0,{number:!0}]])]),u("label",null,[a[59]||(a[59]=M("印章高度 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":a[3]||(a[3]=d=>sn.value=d),min:"1",max:"50",step:"1"},null,512),[[k,sn.value,void 0,{number:!0}]])]),u("label",null,[a[60]||(a[60]=M("圆形边框宽度 (mm): ")),F(u("input",{type:"number",step:"0.1","onUpdate:modelValue":a[4]||(a[4]=d=>x.value=d)},null,512),[[k,x.value,void 0,{number:!0}]])]),u("label",null,[a[61]||(a[61]=M("印章颜色: ")),F(u("input",{type:"color","onUpdate:modelValue":a[5]||(a[5]=d=>R.value=d)},null,512),[[k,R.value]])])],512),[[Ke,re.value.basic]])]),u("div",f2,[u("div",{class:"group-header",onClick:a[6]||(a[6]=d=>Ye("company"))},[a[62]||(a[62]=u("h3",null,"公司名称列表设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.company}])},"▼",2)]),F(u("div",d2,[(Z(!0),ne(ze,null,pt(ue.value,(d,N)=>(Z(),ne("div",{key:N,class:"company-item"},[u("div",p2,[u("span",null,"第 "+oe(N+1)+" 行",1),u("button",{class:"small-button delete-button",onClick:T=>ql(N)},"删除",8,h2)]),u("label",null,[a[63]||(a[63]=M(" 公司名称: ")),F(u("input",{type:"text","onUpdate:modelValue":T=>d.companyName=T},null,8,m2),[[k,d.companyName]])]),u("label",null,[a[64]||(a[64]=M(" 字体: ")),u("div",z2,[F(u("select",{"onUpdate:modelValue":T=>d.fontFamily=T,class:"font-select",onChange:Rt},[(Z(!0),ne(ze,null,pt(ln.value,T=>(Z(),ne("option",{key:T,value:T,style:Gt({fontFamily:T})},oe(T),13,y2))),128))],40,v2),[[St,d.fontFamily]]),F(u("input",{type:"text","onUpdate:modelValue":T=>d.fontFamily=T,class:"font-input",onInput:Rt,placeholder:"输入字体名称"},null,40,b2),[[k,d.fontFamily]])])]),u("label",null,[a[65]||(a[65]=M(" 字体大小 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.fontHeight=T,min:"1",max:"10",step:"0.1"},null,8,C2),[[k,d.fontHeight,void 0,{number:!0}]])]),u("label",null,[a[67]||(a[67]=M(" 字体粗细: ")),F(u("select",{"onUpdate:modelValue":T=>d.fontWeight=T},a[66]||(a[66]=[Un('',11)]),8,w2),[[St,d.fontWeight]])]),u("label",null,[a[68]||(a[68]=M(" 压缩比例: ")),F(u("input",{type:"range","onUpdate:modelValue":T=>d.compression=T,min:"0.5",max:"1.5",step:"0.05"},null,8,S2),[[k,d.compression,void 0,{number:!0}]]),u("span",null,oe(d.compression.toFixed(2)),1)]),u("label",null,[a[69]||(a[69]=M(" 分布因子: ")),F(u("input",{type:"range","onUpdate:modelValue":T=>d.textDistributionFactor=T,min:"0",max:"50",step:"0.1"},null,8,x2),[[k,d.textDistributionFactor,void 0,{number:!0}]]),u("span",null,oe(d.textDistributionFactor.toFixed(2)),1)]),u("label",null,[a[70]||(a[70]=M(" 边距 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.borderOffset=T,min:"-10",max:"10",step:"0.05"},null,8,T2),[[k,d.borderOffset,void 0,{number:!0}]])]),u("label",P2,[F(u("input",{type:"checkbox","onUpdate:modelValue":T=>d.adjustEllipseText=T},null,8,E2),[[qe,d.adjustEllipseText]]),a[71]||(a[71]=M(" 调整椭圆文字 "))]),d.adjustEllipseText?(Z(),ne("label",_2,[a[72]||(a[72]=M(" 椭圆文字调整: ")),F(u("input",{type:"range","onUpdate:modelValue":T=>d.adjustEllipseTextFactor=T,min:"0",max:"2",step:"0.01"},null,8,L2),[[k,d.adjustEllipseTextFactor,void 0,{number:!0}]]),u("span",null,oe(d.adjustEllipseTextFactor.toFixed(2)),1)])):Be("",!0),u("label",null,[a[73]||(a[73]=M(" 开始角度: ")),F(u("input",{type:"range","onUpdate:modelValue":T=>d.startAngle=T,min:"-6.5",max:"6.5",step:"0.01"},null,8,F2),[[k,d.startAngle,void 0,{number:!0}]]),u("span",null,oe(d.startAngle?(d.startAngle*180/Math.PI).toFixed(0):0)+"°",1)]),u("label",null,[a[75]||(a[75]=M(" 旋转方向: ")),F(u("select",{"onUpdate:modelValue":T=>d.rotateDirection=T},a[74]||(a[74]=[u("option",{value:"clockwise"},"顺时针",-1),u("option",{value:"counterclockwise"},"逆时针",-1)]),8,A2),[[St,d.rotateDirection]])])]))),128)),u("button",{class:"add-button",onClick:Gl},"添加新行")],512),[[Ke,re.value.company]])]),u("div",M2,[u("div",{class:"group-header",onClick:a[7]||(a[7]=d=>Ye("stampType"))},[a[76]||(a[76]=u("h3",null,"印章类型列表设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.stampType}])},"▼",2)]),F(u("div",R2,[(Z(!0),ne(ze,null,pt(G.value,(d,N)=>(Z(),ne("div",{key:N,class:"stamp-type-item"},[u("div",I2,[u("span",null,"第 "+oe(N+1)+" 行",1),u("button",{class:"small-button delete-button",onClick:T=>Xl(N)},"删除",8,U2)]),u("label",null,[a[77]||(a[77]=M(" 文字内容: ")),F(u("input",{type:"text","onUpdate:modelValue":T=>d.stampType=T},null,8,O2),[[k,d.stampType]])]),u("label",null,[a[78]||(a[78]=M(" 字体大小 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.fontHeight=T,min:"1",max:"10",step:"0.1"},null,8,W2),[[k,d.fontHeight,void 0,{number:!0}]])]),u("label",null,[a[79]||(a[79]=M(" 字体: ")),u("div",D2,[F(u("input",{type:"text","onUpdate:modelValue":T=>d.fontFamily=T,list:"stampTypeFontList",class:"font-input"},null,8,V2),[[k,d.fontFamily]]),u("datalist",H2,[(Z(!0),ne(ze,null,pt(ln.value,T=>(Z(),ne("option",{key:T,value:T},oe(T),9,N2))),128))])])]),u("label",null,[a[81]||(a[81]=M(" 字体粗细: ")),F(u("select",{"onUpdate:modelValue":T=>d.fontWeight=T},a[80]||(a[80]=[Un('',11)]),8,$2),[[St,d.fontWeight]])]),u("label",null,[a[82]||(a[82]=M(" 压缩比例: ")),F(u("input",{type:"range","onUpdate:modelValue":T=>d.compression=T,min:"0.1",max:"1.5",step:"0.05"},null,8,k2),[[k,d.compression,void 0,{number:!0}]]),u("span",null,oe(d.compression.toFixed(2)),1)]),u("label",null,[a[83]||(a[83]=M(" 字符间距 (mm): ")),F(u("input",{type:"range","onUpdate:modelValue":T=>d.letterSpacing=T,min:"-1",max:"10",step:"0.05"},null,8,j2),[[k,d.letterSpacing,void 0,{number:!0}]]),u("span",null,oe(d.letterSpacing.toFixed(2)),1)]),u("label",null,[a[84]||(a[84]=M(" 垂直位置 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.positionY=T,min:"-20",max:"20",step:"0.5"},null,8,Y2),[[k,d.positionY,void 0,{number:!0}]])])]))),128)),u("button",{class:"add-button",onClick:Kl},"添加新行")],512),[[Ke,re.value.stampType]])]),u("div",B2,[u("div",{class:"group-header",onClick:a[8]||(a[8]=d=>Ye("code"))},[a[85]||(a[85]=u("h3",null,"印章编码设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.code}])},"▼",2)]),F(u("div",K2,[u("label",null,[a[86]||(a[86]=M("印章编码: ")),F(u("input",{"onUpdate:modelValue":a[9]||(a[9]=d=>l.value=d)},null,512),[[k,l.value]])]),u("label",null,[a[87]||(a[87]=M(" 字体: ")),u("div",X2,[F(u("select",{"onUpdate:modelValue":a[10]||(a[10]=d=>h.value=d),class:"font-select",onChange:Rt},[(Z(!0),ne(ze,null,pt(ln.value,d=>(Z(),ne("option",{key:d,value:d,style:Gt({fontFamily:d})},oe(d),13,G2))),128))],544),[[St,h.value]]),F(u("input",{type:"text","onUpdate:modelValue":a[11]||(a[11]=d=>h.value=d),class:"font-input",onInput:Rt,placeholder:"输入字体名称"},null,544),[[k,h.value]])])]),u("label",null,[a[88]||(a[88]=M("字体大小 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":a[12]||(a[12]=d=>f.value=d),step:"0.1"},null,512),[[k,f.value,void 0,{number:!0}]])]),u("label",null,[a[90]||(a[90]=M(" 字体粗细: ")),F(u("select",{"onUpdate:modelValue":a[13]||(a[13]=d=>Ie.value=d)},a[89]||(a[89]=[Un('',11)]),512),[[St,Ie.value]])]),u("label",null,[u("span",null,"压缩比例:"+oe(lt.value.toFixed(2)),1),F(u("input",{type:"range","onUpdate:modelValue":a[14]||(a[14]=d=>lt.value=d),min:"0.0",max:"3",step:"0.01"},null,512),[[k,lt.value,void 0,{number:!0}]])]),u("label",null,[u("span",null,"分布因子: "+oe(ve.value.toFixed(1)),1),F(u("input",{type:"range","onUpdate:modelValue":a[15]||(a[15]=d=>ve.value=d),min:"0",max:"100",step:"0.5"},null,512),[[k,ve.value,void 0,{number:!0}]])]),u("label",null,[a[91]||(a[91]=M(" 边距 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":a[16]||(a[16]=d=>he.value=d),min:"-10",max:"20",step:"0.05"},null,512),[[k,he.value,void 0,{number:!0}]])])],512),[[Ke,re.value.code]])]),u("div",q2,[u("div",{class:"group-header",onClick:a[17]||(a[17]=d=>Ye("taxNumber"))},[a[92]||(a[92]=u("h3",null,"中间数字设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.taxNumber}])},"▼",2)]),F(u("div",J2,[u("label",null,[a[93]||(a[93]=M("税号: ")),F(u("input",{"onUpdate:modelValue":a[18]||(a[18]=d=>o.value=d)},null,512),[[k,o.value]])]),u("label",null,[a[94]||(a[94]=M(" 字体: ")),u("div",Z2,[F(u("select",{"onUpdate:modelValue":a[19]||(a[19]=d=>Ve.value=d),class:"font-select",onChange:Rt},[(Z(!0),ne(ze,null,pt(ln.value,d=>(Z(),ne("option",{key:d,value:d,style:Gt({fontFamily:d})},oe(d),13,Q2))),128))],544),[[St,Ve.value]]),F(u("input",{type:"text","onUpdate:modelValue":a[20]||(a[20]=d=>Ve.value=d),class:"font-input",onInput:Rt,placeholder:"输入字体名称"},null,544),[[k,Ve.value]])])]),u("label",null,[a[96]||(a[96]=M(" 字体粗细: ")),F(u("select",{"onUpdate:modelValue":a[21]||(a[21]=d=>Ue.value=d)},a[95]||(a[95]=[Un('',11)]),512),[[St,Ue.value]])]),u("label",null,[u("span",null,"压缩比例:"+oe(at.value.toFixed(2)),1),F(u("input",{type:"range","onUpdate:modelValue":a[22]||(a[22]=d=>at.value=d),min:"0.0",max:"3",step:"0.01"},null,512),[[k,at.value,void 0,{number:!0}]])]),u("label",null,[u("span",null,"字符间距 (mm):"+oe(rt.value.toFixed(2)),1),F(u("input",{type:"range","onUpdate:modelValue":a[23]||(a[23]=d=>rt.value=d),min:"-1",max:"20",step:"0.05"},null,512),[[k,rt.value,void 0,{number:!0}]])]),u("label",null,[u("span",null,"垂直位置调整 (mm):"+oe(c.value.toFixed(1)),1),F(u("input",{type:"range","onUpdate:modelValue":a[24]||(a[24]=d=>c.value=d),min:"-10",max:"10",step:"0.1"},null,512),[[k,c.value,void 0,{number:!0}]])])],512),[[Ke,re.value.taxNumber]])]),u("div",e1,[u("div",{class:"group-header",onClick:a[25]||(a[25]=d=>Ye("images"))},[a[97]||(a[97]=u("h3",null,"图片列表设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.images}])},"▼",2)]),F(u("div",t1,[u("div",n1,[(Z(!0),ne(ze,null,pt(ge.value,(d,N)=>(Z(),ne("div",{key:N,class:"image-item"},[u("div",s1,[u("span",null,"图片 "+oe(N+1),1),u("button",{class:"small-button delete-button",onClick:T=>$l(N)},"删除",8,i1)]),d.imageUrl?(Z(),ne("div",l1,[u("img",{src:d.imageUrl,alt:"预览"},null,8,o1)])):Be("",!0),u("label",null,[a[98]||(a[98]=M(" 选择图片: ")),u("input",{type:"file",onChange:T=>Bl(T,N),accept:"image/*"},null,40,a1)]),u("label",null,[a[99]||(a[99]=M(" 图片宽度 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.imageWidth=T,min:"1",max:"100",step:"0.5"},null,8,r1),[[k,d.imageWidth,void 0,{number:!0}]])]),u("label",null,[a[100]||(a[100]=M(" 图片高度 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.imageHeight=T,min:"1",max:"100",step:"0.5"},null,8,u1),[[k,d.imageHeight,void 0,{number:!0}]])]),u("label",null,[a[101]||(a[101]=M(" 水平位置 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.positionX=T,min:"-20",max:"20",step:"0.5"},null,8,g1),[[k,d.positionX,void 0,{number:!0}]])]),u("label",null,[a[102]||(a[102]=M(" 垂直位置 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.positionY=T,min:"-20",max:"20",step:"0.5"},null,8,c1),[[k,d.positionY,void 0,{number:!0}]])]),u("label",f1,[F(u("input",{type:"checkbox","onUpdate:modelValue":T=>d.keepAspectRatio=T},null,8,d1),[[qe,d.keepAspectRatio]]),a[103]||(a[103]=M(" 保持宽高比 "))])]))),128))]),u("button",{class:"add-button",onClick:Pn},"添加新图片")],512),[[Ke,re.value.images]])]),u("div",p1,[u("div",{class:"group-header",onClick:a[26]||(a[26]=d=>Ye("star"))},[a[104]||(a[104]=u("h3",null,"五角星设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.star}])},"▼",2)]),F(u("div",h1,[u("label",m1,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[27]||(a[27]=d=>He.value=d)},null,512),[[qe,He.value]]),a[105]||(a[105]=M(" 绘制五角星 "))]),He.value?(Z(),ne("div",z1,[u("label",null,[a[106]||(a[106]=M(" 五角星直径 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":a[28]||(a[28]=d=>O.value=d),step:"0.1"},null,512),[[k,O.value,void 0,{number:!0}]])]),u("label",null,[a[107]||(a[107]=M(" 垂直位置 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":a[29]||(a[29]=d=>it.value=d),min:"-10",max:"10",step:"0.1"},null,512),[[k,it.value,void 0,{number:!0}]])])])):Be("",!0)],512),[[Ke,re.value.star]])]),u("div",v1,[u("div",{class:"group-header",onClick:a[30]||(a[30]=d=>Ye("security"))},[a[108]||(a[108]=u("h3",null,"防伪纹路设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.security}])},"▼",2)]),F(u("div",y1,[u("label",null,[a[109]||(a[109]=M(" 启用防伪纹路: ")),F(u("input",{type:"checkbox","onUpdate:modelValue":a[31]||(a[31]=d=>At.value=d)},null,512),[[qe,At.value]])]),u("button",{onClick:a[32]||(a[32]=d=>ct(!0,!1))},"刷新纹路"),u("label",null,[a[110]||(a[110]=M("纹路数量: ")),F(u("input",{type:"range","onUpdate:modelValue":a[33]||(a[33]=d=>ot.value=d),min:"1",max:"100",step:"1"},null,512),[[k,ot.value,void 0,{number:!0}]])]),u("label",null,[a[111]||(a[111]=M("纹路长度 (mm): ")),F(u("input",{type:"range","onUpdate:modelValue":a[34]||(a[34]=d=>bt.value=d),min:"0.1",max:"100",step:"0.1"},null,512),[[k,bt.value,void 0,{number:!0}]])]),u("label",null,[a[112]||(a[112]=M("纹路宽度 (mm): ")),F(u("input",{type:"range","onUpdate:modelValue":a[35]||(a[35]=d=>je.value=d),min:"0.05",max:"0.5",step:"0.05"},null,512),[[k,je.value,void 0,{number:!0}]])])],512),[[Ke,re.value.security]])]),u("div",b1,[u("div",{class:"group-header",onClick:a[36]||(a[36]=d=>Ye("roughEdge"))},[a[113]||(a[113]=u("h3",null,"毛边效果设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.roughEdge}])},"▼",2)]),F(u("div",C1,[u("label",w1,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[37]||(a[37]=d=>C.value=d)},null,512),[[qe,C.value]]),a[114]||(a[114]=M(" 启用毛边效果 "))]),C.value?(Z(),ne("label",S1,[a[115]||(a[115]=M(" 毛边宽度 (mm): ")),F(u("input",{type:"range","onUpdate:modelValue":a[38]||(a[38]=d=>W.value=d),min:"0.05",max:"0.5",step:"0.05"},null,512),[[k,W.value,void 0,{number:!0}]]),u("span",null,oe(W.value.toFixed(2)),1)])):Be("",!0),C.value?(Z(),ne("label",x1,[a[116]||(a[116]=M(" 毛边高度 (mm): ")),F(u("input",{type:"range","onUpdate:modelValue":a[39]||(a[39]=d=>A.value=d),min:"0.1",max:"5",step:"0.1"},null,512),[[k,A.value,void 0,{number:!0}]]),u("span",null,oe(A.value.toFixed(1)),1)])):Be("",!0),C.value?(Z(),ne("label",T1,[a[117]||(a[117]=M(" 毛边概率: ")),F(u("input",{type:"range","onUpdate:modelValue":a[40]||(a[40]=d=>I.value=d),min:"0",max:"1",step:"0.01"},null,512),[[k,I.value,void 0,{number:!0}]]),u("span",null,oe(I.value.toFixed(2)),1)])):Be("",!0),C.value?(Z(),ne("label",P1,[a[118]||(a[118]=M(" 毛边偏移 (mm): ")),F(u("input",{type:"range","onUpdate:modelValue":a[41]||(a[41]=d=>H.value=d),min:"-10",max:"10",step:"0.01"},null,512),[[k,H.value,void 0,{number:!0}]]),u("span",null,oe(H.value.toFixed(2)),1)])):Be("",!0),C.value?(Z(),ne("label",E1,[a[119]||(a[119]=M(" 毛边点数: ")),F(u("input",{type:"range","onUpdate:modelValue":a[42]||(a[42]=d=>X.value=d),min:"100",max:"1000",step:"10"},null,512),[[k,X.value,void 0,{number:!0}]]),u("span",null,oe(X.value),1)])):Be("",!0),u("button",{onClick:a[43]||(a[43]=d=>ct(!1,!1,!0))},"刷新毛边")],512),[[Ke,re.value.roughEdge]])]),u("div",_1,[u("div",{class:"group-header",onClick:a[44]||(a[44]=d=>Ye("aging"))},[a[120]||(a[120]=u("h3",null,"做旧效果",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.aging}])},"▼",2)]),F(u("div",L1,[u("label",F1,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[45]||(a[45]=d=>B.value=d)},null,512),[[qe,B.value]]),a[121]||(a[121]=M(" 启用做旧效果 "))]),u("label",A1,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[46]||(a[46]=d=>D.value=d)},null,512),[[qe,D.value]]),a[122]||(a[122]=M(" 手动做旧 "))]),B.value?(Z(),ne("label",M1,[a[123]||(a[123]=M(" 做旧强度: ")),F(u("input",{type:"range","onUpdate:modelValue":a[47]||(a[47]=d=>j.value=d),min:"0",max:"100",step:"1"},null,512),[[k,j.value,void 0,{number:!0}]])])):Be("",!0),u("button",{onClick:a[48]||(a[48]=d=>ct(!1,!0))},"刷新做旧")],512),[[Ke,re.value.aging]])]),u("div",R1,[u("div",{class:"group-header",onClick:a[49]||(a[49]=d=>Ye("innerCircle"))},[a[124]||(a[124]=u("h3",null,"内圈圆形设置",-1)),u("span",{class:_e(["expand-icon",{expanded:re.value.innerCircle}])},"▼",2)]),F(u("div",I1,[u("button",{onClick:Ql},"添加新行"),(Z(!0),ne(ze,null,pt(gt.value,(d,N)=>(Z(),ne("div",{key:N,class:"inner-circle-item"},[u("div",U1,[u("span",null,"第 "+oe(N+1)+" 行",1),u("button",{class:"small-button delete-button",onClick:T=>eo(N)},"删除",8,O1)]),u("label",null,[a[125]||(a[125]=M(" 内圈圆线宽 (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.innerCircleLineWidth=T,min:"0.05",max:"0.5",step:"0.05"},null,8,W1),[[k,d.innerCircleLineWidth,void 0,{number:!0}]])]),u("label",null,[a[126]||(a[126]=M(" 内圈圆半径X (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.innerCircleLineRadiusX=T,min:"1",max:"50",step:"0.1"},null,8,D1),[[k,d.innerCircleLineRadiusX,void 0,{number:!0}]])]),u("label",null,[a[127]||(a[127]=M(" 内圈圆半径Y (mm): ")),F(u("input",{type:"number","onUpdate:modelValue":T=>d.innerCircleLineRadiusY=T,min:"1",max:"50",step:"0.1"},null,8,V1),[[k,d.innerCircleLineRadiusY,void 0,{number:!0}]])])]))),128))],512),[[Ke,re.value.innerCircle]])])],512),u("div",H1,[u("div",N1,[u("div",$1,[a[131]||(a[131]=u("h3",null,"做旧效果",-1)),u("label",k1,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[50]||(a[50]=d=>B.value=d)},null,512),[[qe,B.value]]),a[128]||(a[128]=M(" 启用做旧效果 "))]),u("label",j1,[F(u("input",{type:"checkbox","onUpdate:modelValue":a[51]||(a[51]=d=>D.value=d)},null,512),[[qe,D.value]]),a[129]||(a[129]=M(" 手动做旧 "))]),B.value?(Z(),ne("label",Y1,[a[130]||(a[130]=M(" 做旧强度: ")),F(u("input",{type:"range","onUpdate:modelValue":a[52]||(a[52]=d=>j.value=d),min:"0",max:"100",step:"1"},null,512),[[k,j.value,void 0,{number:!0}]])])):Be("",!0),u("button",{onClick:a[53]||(a[53]=d=>ct(!1,!0))},"刷新做旧")]),u("div",{class:"control-group"},[a[132]||(a[132]=u("h3",null,"提取印章",-1)),u("button",{onClick:ao},"提取印章工具")])]),u("canvas",{ref_key:"stampCanvas",ref:n,width:"600",height:"600"},null,512)]),u("div",B1,[u("div",{class:"template-header"},[a[134]||(a[134]=u("h3",null,"常用模板",-1)),u("button",{class:"add-template",onClick:ro},a[133]||(a[133]=[u("span",null,"+",-1),M(" 保存当前为模板 ")]))]),u("div",K1,[u("div",X1,[a[135]||(a[135]=u("h4",null,"默认模板",-1)),(Z(),ne(ze,null,pt(us,(d,N)=>u("div",{key:"default-"+N,class:_e(["template-item",{active:Zs.value===-1-N}]),onClick:T=>uo(d)},[u("div",q1,[u("img",{src:d.preview,alt:"模板预览"},null,8,J1)]),u("div",Z1,[u("span",Q1,oe(d.name),1)])],10,G1)),64))])])])])],64))}}),t5=fl({__name:"App",setup(e){return(t,n)=>(Z(),Ul(e5))}}),n5=(e,t)=>{const n=e.__vccOpts||e;for(const[s,i]of t)n[s]=i;return n},s5=n5(t5,[["__scopeId","data-v-16a1c733"]]);O0(s5).mount("#app"); diff --git a/docs/assets/index-G9YfgL6A.css b/docs/assets/index-G9YfgL6A.css new file mode 100644 index 0000000..3ca7ba8 --- /dev/null +++ b/docs/assets/index-G9YfgL6A.css @@ -0,0 +1 @@ +.logo[data-v-2421fd2e]{height:6em;padding:1.5em;will-change:filter;transition:filter .3s}.logo[data-v-2421fd2e]:hover{filter:drop-shadow(0 0 2em #646cffaa)}.logo.vue[data-v-2421fd2e]:hover{filter:drop-shadow(0 0 2em #42b883aa)}.language-switch[data-v-2421fd2e]{position:fixed;top:20px;right:20px;z-index:1000}.language-switch button[data-v-2421fd2e]{padding:8px 16px;margin-left:8px;border:1px solid #ddd;border-radius:4px;background:#fff;cursor:pointer}.language-switch button.active[data-v-2421fd2e]{background:#007bff;color:#fff;border-color:#0056b3}:root{font-family:Inter,system-ui,Avenir,Helvetica,Arial,sans-serif;line-height:1.5;font-weight:400;color-scheme:light dark;color:#ffffffde;background-color:#242424;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}a{font-weight:500;color:#646cff;text-decoration:inherit}a:hover{color:#535bf2}body{margin:0;display:flex;min-width:320px;min-height:100vh}h1{font-size:3.2em;line-height:1.1}button{border-radius:8px;border:1px solid transparent;padding:.6em 1.2em;font-size:1em;font-weight:500;font-family:inherit;background-color:#1a1a1a;cursor:pointer;transition:border-color .25s}button:hover{border-color:#646cff}button:focus,button:focus-visible{outline:4px auto -webkit-focus-ring-color}.card{padding:2em}#app{background-color:#d8ae8c;flex:1;padding:4rem;text-align:center;display:flex;flex-direction:column;align-items:center}@media (prefers-color-scheme: light){:root{color:#213547;background-color:#fff}a:hover{color:#747bff}button{background-color:#f9f9f9}}.container{border-radius:12px;background-color:#f8f9fa;flex:1;width:80%;display:flex;align-items:center;flex-direction:row;justify-content:center;overflow:hidden}.editor-controls{height:80vh;width:400px;padding:25px;background-color:#f5f5f5;overflow-y:scroll;box-sizing:border-box;display:flex;flex-direction:column;gap:15px;scrollbar-width:thin;scrollbar-color:#888 #f5f5f5}.editor-controls::-webkit-scrollbar{width:8px}.editor-controls::-webkit-scrollbar-track{background:#f5f5f5}.editor-controls::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.editor-controls::-webkit-scrollbar-thumb:hover{background:#666}.control-group{background-color:#fff;border-radius:8px;padding:15px;box-shadow:0 2px 4px #0000001a}.control-group:hover{box-shadow:0 4px 8px #00000026}.button-group{position:sticky;top:0;z-index:1000;background-color:#fff;padding:10px;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.button-group button{padding:8px 12px;background-color:#4caf50;color:#fff;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease}.button-group button:hover{background-color:#45a049;transform:translateY(-1px)}.control-group h3{margin:0 0 15px;padding-bottom:8px;border-bottom:2px solid #4caf50;color:#333;font-size:16px;font-weight:600}.inner-circle-list,.company-list,.stamp-type-list{display:flex;flex-direction:column;gap:12px}.inner-circle-item,.company-item,.stamp-type-item{background-color:#f8f9fa;border:1px solid #e9ecef;border-radius:6px;padding:12px;transition:all .3s ease}.inner-circle-item:hover,.company-item:hover,.stamp-type-item:hover{box-shadow:0 4px 6px #0000001a}.editor-controls label{display:flex;flex-direction:column;gap:4px;margin-bottom:10px;font-size:14px;color:#555}.editor-controls input[type=text],.editor-controls input[type=number],.editor-controls select{padding:6px 8px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s ease}.editor-controls input[type=text]:focus,.editor-controls input[type=number]:focus,.editor-controls select:focus{border-color:#4caf50;outline:none}.editor-controls input[type=range]{-webkit-appearance:none;width:100%;height:6px;background:#ddd;border-radius:3px;outline:none}.editor-controls input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:16px;height:16px;background:#4caf50;border-radius:50%;cursor:pointer;transition:background .3s ease}.editor-controls input[type=range]::-webkit-slider-thumb:hover{background:#45a049}.checkbox-label{flex-direction:row!important;align-items:center;cursor:pointer}.checkbox-label input[type=checkbox]{margin-right:8px;cursor:pointer}.add-button,.delete-button{padding:6px 12px;border:none;border-radius:4px;color:#fff;font-size:13px;cursor:pointer;transition:all .3s ease}.add-button{background-color:#4caf50;width:100%;margin-top:8px}.delete-button{background-color:#dc3545}.add-button:hover{background-color:#45a049}.delete-button:hover{background-color:#c82333}.inner-circle-header,.company-header,.stamp-type-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;padding-bottom:8px;border-bottom:1px solid #eee}.canvas-container{height:100%;background-color:#f8f9fa;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;overflow:hidden}canvas{box-shadow:0 4px 12px #0000001a;border-radius:8px;background-color:#fff}.template-panel{width:300px;background:#fff;border-left:1px solid #eee;display:flex;flex-direction:column;height:80vh}.template-header{padding:15px;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center}.template-header h3{margin:0;color:#333}.add-template{background:#4caf50;color:#fff;border:none;padding:6px 12px;border-radius:4px;cursor:pointer;display:flex;align-items:center;gap:4px}.template-list{flex:1;overflow-y:auto;padding:15px}.template-item{border:1px solid #eee;border-radius:8px;margin-bottom:15px;cursor:pointer;transition:all .3s ease}.template-item:hover{box-shadow:0 2px 8px #0000001a}.template-item.active{border-color:#4caf50;box-shadow:0 0 0 2px #4caf5033}.template-preview{height:150px;overflow:hidden;border-radius:8px 8px 0 0;background:#f5f5f5}.template-preview img{width:100%;height:100%;object-fit:contain}.template-info{padding:10px;display:flex;justify-content:space-between;align-items:center}.template-name{font-size:14px;color:#333}.template-actions{display:flex;gap:8px}.delete-template{background:#ff4d4f;color:#fff;border:none;padding:4px 8px;border-radius:4px;cursor:pointer;font-size:12px}.delete-template:hover{background:#ff7875}.tab-navigation{display:flex;gap:2px;background:#f0f0f0;padding:2px;border-radius:8px;margin-bottom:15px;position:sticky;top:60px;z-index:1000}.tab-button{flex:1;padding:10px;border:none;background:#fff;color:#666;cursor:pointer;border-radius:6px;font-size:14px;transition:all .3s ease}.tab-button:hover{background:#e8f5e9;color:#4caf50}.tab-button.active{background:#4caf50;color:#fff}.template-category{margin-bottom:20px}.template-category h4{margin:0 0 10px;color:#666;font-size:14px;padding-bottom:8px;border-bottom:1px solid #eee}.legal-disclaimer{position:fixed;top:0;left:0;right:0;z-index:2000;background-color:#fff1f0fa;box-shadow:0 2px 8px #00000026;padding:12px 20px;transition:all .3s ease}.disclaimer-content{max-width:1200px;margin:0 auto;display:flex;align-items:flex-start;gap:16px}.warning-icon{font-size:24px;color:#ff4d4f;flex-shrink:0}.warning-text{flex:1}.warning-text h3{color:#ff4d4f;margin:0 0 8px;font-size:18px;font-weight:700}.warning-text p{color:#cf1322;margin:4px 0;font-size:14px;line-height:1.5}.warning-text strong{font-size:16px}.legal-dialog-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:#00000080;display:flex;justify-content:center;align-items:center;z-index:2100}.legal-dialog{background-color:#fff;padding:24px;border-radius:8px;max-width:500px;width:90%;box-shadow:0 4px 12px #00000026}.legal-dialog h3{color:#ff4d4f;margin:0 0 16px;font-size:20px;display:flex;align-items:center;gap:8px}.legal-content{margin-bottom:20px}.legal-content p{color:#cf1322;margin-bottom:12px}.legal-content ol{color:#666;padding-left:20px;margin:0}.legal-content li{margin-bottom:8px;line-height:1.5}.dialog-buttons{display:flex;justify-content:flex-end;gap:12px;margin-top:20px}.cancel-button,.confirm-button{padding:8px 16px;border:none;border-radius:4px;cursor:pointer;font-size:14px;transition:all .3s ease}.cancel-button{background-color:#f5f5f5;color:#666}.confirm-button{background-color:#4caf50;color:#fff}.cancel-button:hover{background-color:#e8e8e8}.confirm-button:hover{background-color:#45a049}.image-list{display:flex;flex-direction:column;gap:15px}.image-item{border:1px solid #ddd;padding:12px;border-radius:6px;background:#f8f9fa}.image-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.image-preview{width:100px;height:100px;margin:10px auto;border:1px solid #ddd;border-radius:4px;overflow:hidden}.image-preview img{width:100%;height:100%;object-fit:contain} diff --git a/docs/assets/index-qHrmcBR-.js b/docs/assets/index-qHrmcBR-.js new file mode 100644 index 0000000..c2f4285 --- /dev/null +++ b/docs/assets/index-qHrmcBR-.js @@ -0,0 +1,44 @@ +var Lr=Object.defineProperty;var Pr=(e,t,s)=>t in e?Lr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s;var J=(e,t,s)=>Pr(e,typeof t!="symbol"?t+"":t,s);(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function s(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=s(i);fetch(i.href,o)}})();/** +* @vue/shared v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Wi(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const Ce={},Es=[],Mt=()=>{},Mr=()=>!1,jn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Vi=e=>e.startsWith("onUpdate:"),We=Object.assign,$i=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Ar=Object.prototype.hasOwnProperty,ge=(e,t)=>Ar.call(e,t),q=Array.isArray,zs=e=>pn(e)==="[object Map]",Rs=e=>pn(e)==="[object Set]",Co=e=>pn(e)==="[object Date]",te=e=>typeof e=="function",Oe=e=>typeof e=="string",At=e=>typeof e=="symbol",Se=e=>e!==null&&typeof e=="object",Da=e=>(Se(e)||te(e))&&te(e.then)&&te(e.catch),Oa=Object.prototype.toString,pn=e=>Oa.call(e),xr=e=>pn(e).slice(8,-1),Ra=e=>pn(e)==="[object Object]",Hi=e=>Oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Gs=Wi(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Yn=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Nr=/-(\w)/g,gs=Yn(e=>e.replace(Nr,(t,s)=>s?s.toUpperCase():"")),Dr=/\B([A-Z])/g,hs=Yn(e=>e.replace(Dr,"-$1").toLowerCase()),Fa=Yn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ai=Yn(e=>e?`on${Fa(e)}`:""),es=(e,t)=>!Object.is(e,t),An=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Rn=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let So;const Ua=()=>So||(So=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Is(e){if(q(e)){const t={};for(let s=0;s{if(s){const n=s.split(Rr);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Re(e){let t="";if(Oe(e))t=e;else if(q(e))for(let s=0;sgn(s,t))}const Va=e=>!!(e&&e.__v_isRef===!0),M=e=>Oe(e)?e:e==null?"":q(e)||Se(e)&&(e.toString===Oa||!te(e.toString))?Va(e)?M(e.value):JSON.stringify(e,$a,2):String(e),$a=(e,t)=>Va(t)?$a(e,t.value):zs(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],o)=>(s[li(n,o)+" =>"]=i,s),{})}:Rs(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>li(s))}:At(t)?li(t):Se(t)&&!q(t)&&!Ra(t)?String(t):t,li=(e,t="")=>{var s;return At(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/** +* @vue/reactivity v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let at;class Ha{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=at,!t&&at&&(this.index=(at.scopes||(at.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t0)return;let e;for(;Xs;){let t=Xs;for(Xs=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function Ga(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Xa(e,t=!1){let s,n=e.depsTail,i=n;for(;i;){const o=i.prevDep;i.version===-1?(i===n&&(n=o),Gi(i,t),jr(i)):s=i,i.dep.activeLink=i.prevActiveLink,i.prevActiveLink=void 0,i=o}e.deps=s,e.depsTail=n}function vi(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ka(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ka(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===en))return;e.globalVersion=en;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!vi(e)){e.flags&=-3;return}const s=be,n=St;be=e,St=!0;try{Ga(e);const i=e.fn(e._value);(t.version===0||es(i,e._value))&&(e._value=i,t.version++)}catch(i){throw t.version++,i}finally{be=s,St=n,Xa(e,!0),e.flags&=-3}}function Gi(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n),!s.subs)if(s.computed){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)Gi(o,!0)}else s.map&&!t&&(s.map.delete(s.key),s.map.size||Fn.delete(s.target))}function jr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let St=!0;const Ja=[];function ts(){Ja.push(St),St=!1}function ss(){const e=Ja.pop();St=e===void 0?!0:e}function To(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=be;be=void 0;try{t()}finally{be=s}}}let en=0;class Yr{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Xi{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0}track(t){if(!be||!St||be===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==be)s=this.activeLink=new Yr(be,this),be.deps?(s.prevDep=be.depsTail,be.depsTail.nextDep=s,be.depsTail=s):be.deps=be.depsTail=s,be.flags&4&&Qa(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=be.depsTail,s.nextDep=void 0,be.depsTail.nextDep=s,be.depsTail=s,be.deps===s&&(be.deps=n)}return s}trigger(t){this.version++,en++,this.notify(t)}notify(t){Yi();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Bi()}}}function Qa(e){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)Qa(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}const Fn=new WeakMap,ps=Symbol(""),bi=Symbol(""),tn=Symbol("");function Ye(e,t,s){if(St&&be){let n=Fn.get(e);n||Fn.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Xi),i.target=e,i.map=n,i.key=s),i.track()}}function jt(e,t,s,n,i,o){const a=Fn.get(e);if(!a){en++;return}const l=r=>{r&&r.trigger()};if(Yi(),t==="clear")a.forEach(l);else{const r=q(e),u=r&&Hi(s);if(r&&s==="length"){const f=Number(n);a.forEach((d,v)=>{(v==="length"||v===tn||!At(v)&&v>=f)&&l(d)})}else switch(s!==void 0&&l(a.get(s)),u&&l(a.get(tn)),t){case"add":r?u&&l(a.get("length")):(l(a.get(ps)),zs(e)&&l(a.get(bi)));break;case"delete":r||(l(a.get(ps)),zs(e)&&l(a.get(bi)));break;case"set":zs(e)&&l(a.get(ps));break}}Bi()}function bs(e){const t=de(e);return t===e?t:(Ye(t,"iterate",tn),ht(e)?t:t.map($e))}function Bn(e){return Ye(e=de(e),"iterate",tn),e}const Br={__proto__:null,[Symbol.iterator](){return ci(this,Symbol.iterator,$e)},concat(...e){return bs(this).concat(...e.map(t=>q(t)?bs(t):t))},entries(){return ci(this,"entries",e=>(e[1]=$e(e[1]),e))},every(e,t){return Rt(this,"every",e,t,void 0,arguments)},filter(e,t){return Rt(this,"filter",e,t,s=>s.map($e),arguments)},find(e,t){return Rt(this,"find",e,t,$e,arguments)},findIndex(e,t){return Rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rt(this,"findLast",e,t,$e,arguments)},findLastIndex(e,t){return Rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return fi(this,"includes",e)},indexOf(...e){return fi(this,"indexOf",e)},join(e){return bs(this).join(e)},lastIndexOf(...e){return fi(this,"lastIndexOf",e)},map(e,t){return Rt(this,"map",e,t,void 0,arguments)},pop(){return $s(this,"pop")},push(...e){return $s(this,"push",e)},reduce(e,...t){return wo(this,"reduce",e,t)},reduceRight(e,...t){return wo(this,"reduceRight",e,t)},shift(){return $s(this,"shift")},some(e,t){return Rt(this,"some",e,t,void 0,arguments)},splice(...e){return $s(this,"splice",e)},toReversed(){return bs(this).toReversed()},toSorted(e){return bs(this).toSorted(e)},toSpliced(...e){return bs(this).toSpliced(...e)},unshift(...e){return $s(this,"unshift",e)},values(){return ci(this,"values",$e)}};function ci(e,t,s){const n=Bn(e),i=n[t]();return n!==e&&!ht(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=s(o.value)),o}),i}const Gr=Array.prototype;function Rt(e,t,s,n,i,o){const a=Bn(e),l=a!==e&&!ht(e),r=a[t];if(r!==Gr[t]){const d=r.apply(e,o);return l?$e(d):d}let u=s;a!==e&&(l?u=function(d,v){return s.call(this,$e(d),v,e)}:s.length>2&&(u=function(d,v){return s.call(this,d,v,e)}));const f=r.call(a,u,n);return l&&i?i(f):f}function wo(e,t,s,n){const i=Bn(e);let o=s;return i!==e&&(ht(e)?s.length>3&&(o=function(a,l,r){return s.call(this,a,l,r,e)}):o=function(a,l,r){return s.call(this,a,$e(l),r,e)}),i[t](o,...n)}function fi(e,t,s){const n=de(e);Ye(n,"iterate",tn);const i=n[t](...s);return(i===-1||i===!1)&&Zi(s[0])?(s[0]=de(s[0]),n[t](...s)):i}function $s(e,t,s=[]){ts(),Yi();const n=de(e)[t].apply(e,s);return Bi(),ss(),n}const Xr=Wi("__proto__,__v_isRef,__isVue"),qa=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(At));function Kr(e){At(e)||(e=String(e));const t=de(this);return Ye(t,"has",e),t.hasOwnProperty(e)}class Za{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){const i=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(i?o?rc:nl:o?sl:tl).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const a=q(t);if(!i){let r;if(a&&(r=Br[s]))return r;if(s==="hasOwnProperty")return Kr}const l=Reflect.get(t,s,Ue(t)?t:n);return(At(s)?qa.has(s):Xr(s))||(i||Ye(t,"get",s),o)?l:Ue(l)?a&&Hi(s)?l:l.value:Se(l)?i?il(l):Qi(l):l}}class el extends Za{constructor(t=!1){super(!1,t)}set(t,s,n,i){let o=t[s];if(!this._isShallow){const r=ds(o);if(!ht(n)&&!ds(n)&&(o=de(o),n=de(n)),!q(t)&&Ue(o)&&!Ue(n))return r?!1:(o.value=n,!0)}const a=q(t)&&Hi(s)?Number(s)e,Gn=e=>Reflect.getPrototypeOf(e);function Cn(e,t,s=!1,n=!1){e=e.__v_raw;const i=de(e),o=de(t);s||(es(t,o)&&Ye(i,"get",t),Ye(i,"get",o));const{has:a}=Gn(i),l=n?Ki:s?eo:$e;if(a.call(i,t))return l(e.get(t));if(a.call(i,o))return l(e.get(o));e!==i&&e.get(t)}function Sn(e,t=!1){const s=this.__v_raw,n=de(s),i=de(e);return t||(es(e,i)&&Ye(n,"has",e),Ye(n,"has",i)),e===i?s.has(e):s.has(e)||s.has(i)}function Tn(e,t=!1){return e=e.__v_raw,!t&&Ye(de(e),"iterate",ps),Reflect.get(e,"size",e)}function Eo(e,t=!1){!t&&!ht(e)&&!ds(e)&&(e=de(e));const s=de(this);return Gn(s).has.call(s,e)||(s.add(e),jt(s,"add",e,e)),this}function zo(e,t,s=!1){!s&&!ht(t)&&!ds(t)&&(t=de(t));const n=de(this),{has:i,get:o}=Gn(n);let a=i.call(n,e);a||(e=de(e),a=i.call(n,e));const l=o.call(n,e);return n.set(e,t),a?es(t,l)&&jt(n,"set",e,t):jt(n,"add",e,t),this}function Io(e){const t=de(this),{has:s,get:n}=Gn(t);let i=s.call(t,e);i||(e=de(e),i=s.call(t,e)),n&&n.call(t,e);const o=t.delete(e);return i&&jt(t,"delete",e,void 0),o}function Lo(){const e=de(this),t=e.size!==0,s=e.clear();return t&&jt(e,"clear",void 0,void 0),s}function wn(e,t){return function(n,i){const o=this,a=o.__v_raw,l=de(a),r=t?Ki:e?eo:$e;return!e&&Ye(l,"iterate",ps),a.forEach((u,f)=>n.call(i,r(u),r(f),o))}}function En(e,t,s){return function(...n){const i=this.__v_raw,o=de(i),a=zs(o),l=e==="entries"||e===Symbol.iterator&&a,r=e==="keys"&&a,u=i[e](...n),f=s?Ki:t?eo:$e;return!t&&Ye(o,"iterate",r?bi:ps),{next(){const{value:d,done:v}=u.next();return v?{value:d,done:v}:{value:l?[f(d[0]),f(d[1])]:f(d),done:v}},[Symbol.iterator](){return this}}}}function Kt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ec(){const e={get(o){return Cn(this,o)},get size(){return Tn(this)},has:Sn,add:Eo,set:zo,delete:Io,clear:Lo,forEach:wn(!1,!1)},t={get(o){return Cn(this,o,!1,!0)},get size(){return Tn(this)},has:Sn,add(o){return Eo.call(this,o,!0)},set(o,a){return zo.call(this,o,a,!0)},delete:Io,clear:Lo,forEach:wn(!1,!0)},s={get(o){return Cn(this,o,!0)},get size(){return Tn(this,!0)},has(o){return Sn.call(this,o,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:wn(!0,!1)},n={get(o){return Cn(this,o,!0,!0)},get size(){return Tn(this,!0)},has(o){return Sn.call(this,o,!0)},add:Kt("add"),set:Kt("set"),delete:Kt("delete"),clear:Kt("clear"),forEach:wn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(o=>{e[o]=En(o,!1,!1),s[o]=En(o,!0,!1),t[o]=En(o,!1,!0),n[o]=En(o,!0,!0)}),[e,s,t,n]}const[tc,sc,nc,ic]=ec();function Ji(e,t){const s=t?e?ic:nc:e?sc:tc;return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(ge(s,i)&&i in n?s:n,i,o)}const oc={get:Ji(!1,!1)},ac={get:Ji(!1,!0)},lc={get:Ji(!0,!1)};const tl=new WeakMap,sl=new WeakMap,nl=new WeakMap,rc=new WeakMap;function cc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function fc(e){return e.__v_skip||!Object.isExtensible(e)?0:cc(xr(e))}function Qi(e){return ds(e)?e:qi(e,!1,Qr,oc,tl)}function uc(e){return qi(e,!1,Zr,ac,sl)}function il(e){return qi(e,!0,qr,lc,nl)}function qi(e,t,s,n,i){if(!Se(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=i.get(e);if(o)return o;const a=fc(e);if(a===0)return e;const l=new Proxy(e,a===2?n:s);return i.set(e,l),l}function Ls(e){return ds(e)?Ls(e.__v_raw):!!(e&&e.__v_isReactive)}function ds(e){return!!(e&&e.__v_isReadonly)}function ht(e){return!!(e&&e.__v_isShallow)}function Zi(e){return e?!!e.__v_raw:!1}function de(e){const t=e&&e.__v_raw;return t?de(t):e}function pc(e){return!ge(e,"__v_skip")&&Object.isExtensible(e)&&ka(e,"__v_skip",!0),e}const $e=e=>Se(e)?Qi(e):e,eo=e=>Se(e)?il(e):e;function Ue(e){return e?e.__v_isRef===!0:!1}function $(e){return ol(e,!1)}function gc(e){return ol(e,!0)}function ol(e,t){return Ue(e)?e:new dc(e,t)}class dc{constructor(t,s){this.dep=new Xi,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:de(t),this._value=s?t:$e(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ht(t)||ds(t);t=n?t:de(t),es(t,s)&&(this._rawValue=t,this._value=n?t:$e(t),this.dep.trigger())}}function N(e){return Ue(e)?e.value:e}const mc={get:(e,t,s)=>t==="__v_raw"?e:N(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return Ue(i)&&!Ue(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function al(e){return Ls(e)?e:new Proxy(e,mc)}class hc{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Xi(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=en-1,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Ba(this),!0}get value(){const t=this.dep.track();return Ka(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function yc(e,t,s=!1){let n,i;return te(e)?n=e:(n=e.get,i=e.set),new hc(n,i,s)}const zn={},kn=new WeakMap;let fs;function _c(e,t=!1,s=fs){if(s){let n=kn.get(s);n||kn.set(s,n=[]),n.push(e)}}function vc(e,t,s=Ce){const{immediate:n,deep:i,once:o,scheduler:a,augmentJob:l,call:r}=s,u=T=>i?T:ht(T)||i===!1||i===0?Vt(T,1):Vt(T);let f,d,v,E,D=!1,O=!1;if(Ue(e)?(d=()=>e.value,D=ht(e)):Ls(e)?(d=()=>u(e),D=!0):q(e)?(O=!0,D=e.some(T=>Ls(T)||ht(T)),d=()=>e.map(T=>{if(Ue(T))return T.value;if(Ls(T))return u(T);if(te(T))return r?r(T,2):T()})):te(e)?t?d=r?()=>r(e,2):e:d=()=>{if(v){ts();try{v()}finally{ss()}}const T=fs;fs=f;try{return r?r(e,3,[E]):e(E)}finally{fs=T}}:d=Mt,t&&i){const T=d,F=i===!0?1/0:i;d=()=>Vt(T(),F)}const W=Hr(),b=()=>{f.stop(),W&&$i(W.effects,f)};if(o&&t){const T=t;t=(...F)=>{T(...F),b()}}let z=O?new Array(e.length).fill(zn):zn;const P=T=>{if(!(!(f.flags&1)||!f.dirty&&!T))if(t){const F=f.run();if(i||D||(O?F.some((H,k)=>es(H,z[k])):es(F,z))){v&&v();const H=fs;fs=f;try{const k=[F,z===zn?void 0:O&&z[0]===zn?[]:z,E];r?r(t,3,k):t(...k),z=F}finally{fs=H}}}else f.run()};return l&&l(P),f=new ja(d),f.scheduler=a?()=>a(P,!1):P,E=T=>_c(T,!1,f),v=f.onStop=()=>{const T=kn.get(f);if(T){if(r)r(T,4);else for(const F of T)F();kn.delete(f)}},t?n?P(!0):z=f.run():a?a(P.bind(null,!0),!0):f.run(),b.pause=f.pause.bind(f),b.resume=f.resume.bind(f),b.stop=b,b}function Vt(e,t=1/0,s){if(t<=0||!Se(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,Ue(e))Vt(e.value,t,s);else if(q(e))for(let n=0;n{Vt(n,t,s)});else if(Ra(e)){for(const n in e)Vt(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Vt(e[n],t,s)}return e}/** +* @vue/runtime-core v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function dn(e,t,s,n){try{return n?e(...n):e()}catch(i){Xn(i,t,s)}}function xt(e,t,s,n){if(te(e)){const i=dn(e,t,s,n);return i&&Da(i)&&i.catch(o=>{Xn(o,t,s)}),i}if(q(e)){const i=[];for(let o=0;o>>1,i=qe[n],o=nn(i);o=nn(s)?qe.push(e):qe.splice(Cc(t),0,e),e.flags|=1,cl()}}function cl(){!sn&&!Ci&&(Ci=!0,to=ll.then(ul))}function Sc(e){q(e)?Ps.push(...e):Qt&&e.id===-1?Qt.splice(Ss+1,0,e):e.flags&1||(Ps.push(e),e.flags|=1),cl()}function Po(e,t,s=sn?Lt+1:0){for(;snn(s)-nn(n));if(Ps.length=0,Qt){Qt.push(...t);return}for(Qt=t,Ss=0;Sse.id==null?e.flags&2?-1:1/0:e.id;function ul(e){Ci=!1,sn=!0;try{for(Lt=0;Lt{n._d&&Fo(-1);const o=Un(t);let a;try{a=e(...i)}finally{Un(o),n._d&&Fo(1)}return a};return n._n=!0,n._c=!0,n._d=!0,n}function B(e,t){if(lt===null)return e;const s=qn(lt),n=e.dirs||(e.dirs=[]);for(let i=0;ie.__isTeleport;function no(e,t){e.shapeFlag&6&&e.component?(e.transition=t,no(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function mn(e,t){return te(e)?We({name:e.name},t,{setup:e}):e}function gl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Si(e,t,s,n,i=!1){if(q(e)){e.forEach((D,O)=>Si(D,t&&(q(t)?t[O]:t),s,n,i));return}if(Ks(n)&&!i)return;const o=n.shapeFlag&4?qn(n.component):n.el,a=i?null:o,{i:l,r}=e,u=t&&t.r,f=l.refs===Ce?l.refs={}:l.refs,d=l.setupState,v=de(d),E=d===Ce?()=>!1:D=>ge(v,D);if(u!=null&&u!==r&&(Oe(u)?(f[u]=null,E(u)&&(d[u]=null)):Ue(u)&&(u.value=null)),te(r))dn(r,l,12,[a,f]);else{const D=Oe(r),O=Ue(r);if(D||O){const W=()=>{if(e.f){const b=D?E(r)?d[r]:f[r]:r.value;i?q(b)&&$i(b,o):q(b)?b.includes(o)||b.push(o):D?(f[r]=[o],E(r)&&(d[r]=f[r])):(r.value=[o],e.k&&(f[e.k]=r.value))}else D?(f[r]=a,E(r)&&(d[r]=a)):O&&(r.value=a,e.k&&(f[e.k]=a))};a?(W.id=-1,ot(W,s)):W()}}}const Ks=e=>!!e.type.__asyncLoader,dl=e=>e.type.__isKeepAlive;function zc(e,t){ml(e,"a",t)}function Ic(e,t){ml(e,"da",t)}function ml(e,t,s=He){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Kn(t,n,s),s){let i=s.parent;for(;i&&i.parent;)dl(i.parent.vnode)&&Lc(n,t,s,i),i=i.parent}}function Lc(e,t,s,n){const i=Kn(t,e,n,!0);io(()=>{$i(n[t],i)},s)}function Kn(e,t,s=He,n=!1){if(s){const i=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...a)=>{ts();const l=yn(s),r=xt(t,s,e,a);return l(),ss(),r});return n?i.unshift(o):i.push(o),o}}const Gt=e=>(t,s=He)=>{(!Qn||e==="sp")&&Kn(e,(...n)=>t(...n),s)},Pc=Gt("bm"),Js=Gt("m"),Mc=Gt("bu"),Ac=Gt("u"),xc=Gt("bum"),io=Gt("um"),Nc=Gt("sp"),Dc=Gt("rtg"),Oc=Gt("rtc");function Rc(e,t=He){Kn("ec",e,t)}const Fc=Symbol.for("v-ndc");function Ft(e,t,s,n){let i;const o=s,a=q(e);if(a||Oe(e)){const l=a&&Ls(e);let r=!1;l&&(r=!ht(e),e=Bn(e)),i=new Array(e.length);for(let u=0,f=e.length;ut(l,r,void 0,o));else{const l=Object.keys(e);i=new Array(l.length);for(let r=0,u=l.length;re?Ol(e)?qn(e):Ti(e.parent):null,Qs=We(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Ti(e.parent),$root:e=>Ti(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>oo(e),$forceUpdate:e=>e.f||(e.f=()=>{so(e.update)}),$nextTick:e=>e.n||(e.n=rl.bind(e.proxy)),$watch:e=>af.bind(e)}),ui=(e,t)=>e!==Ce&&!e.__isScriptSetup&&ge(e,t),kc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:o,accessCache:a,type:l,appContext:r}=e;let u;if(t[0]!=="$"){const E=a[t];if(E!==void 0)switch(E){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return o[t]}else{if(ui(n,t))return a[t]=1,n[t];if(i!==Ce&&ge(i,t))return a[t]=2,i[t];if((u=e.propsOptions[0])&&ge(u,t))return a[t]=3,o[t];if(s!==Ce&&ge(s,t))return a[t]=4,s[t];wi&&(a[t]=0)}}const f=Qs[t];let d,v;if(f)return t==="$attrs"&&Ye(e.attrs,"get",""),f(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(s!==Ce&&ge(s,t))return a[t]=4,s[t];if(v=r.config.globalProperties,ge(v,t))return v[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:o}=e;return ui(i,t)?(i[t]=s,!0):n!==Ce&&ge(n,t)?(n[t]=s,!0):ge(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,propsOptions:o}},a){let l;return!!s[a]||e!==Ce&&ge(e,a)||ui(t,a)||(l=o[0])&&ge(l,a)||ge(n,a)||ge(Qs,a)||ge(i.config.globalProperties,a)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:ge(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function Mo(e){return q(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let wi=!0;function Uc(e){const t=oo(e),s=e.proxy,n=e.ctx;wi=!1,t.beforeCreate&&Ao(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:a,watch:l,provide:r,inject:u,created:f,beforeMount:d,mounted:v,beforeUpdate:E,updated:D,activated:O,deactivated:W,beforeDestroy:b,beforeUnmount:z,destroyed:P,unmounted:T,render:F,renderTracked:H,renderTriggered:k,errorCaptured:ee,serverPrefetch:ne,expose:_e,inheritAttrs:Ee,components:ve,directives:Ze,filters:ft}=t;if(u&&Wc(u,n,null),a)for(const ce in a){const ae=a[ce];te(ae)&&(n[ce]=ae.bind(s))}if(i){const ce=i.call(s,s);Se(ce)&&(e.data=Qi(ce))}if(wi=!0,o)for(const ce in o){const ae=o[ce],Pe=te(ae)?ae.bind(s,s):te(ae.get)?ae.get.bind(s,s):Mt,Be=!te(ae)&&te(ae.set)?ae.set.bind(s):Mt,Me=Ts({get:Pe,set:Be});Object.defineProperty(n,ce,{enumerable:!0,configurable:!0,get:()=>Me.value,set:Ae=>Me.value=Ae})}if(l)for(const ce in l)hl(l[ce],n,s,ce);if(r){const ce=te(r)?r.call(s):r;Reflect.ownKeys(ce).forEach(ae=>{Bc(ae,ce[ae])})}f&&Ao(f,e,"c");function ze(ce,ae){q(ae)?ae.forEach(Pe=>ce(Pe.bind(s))):ae&&ce(ae.bind(s))}if(ze(Pc,d),ze(Js,v),ze(Mc,E),ze(Ac,D),ze(zc,O),ze(Ic,W),ze(Rc,ee),ze(Oc,H),ze(Dc,k),ze(xc,z),ze(io,T),ze(Nc,ne),q(_e))if(_e.length){const ce=e.exposed||(e.exposed={});_e.forEach(ae=>{Object.defineProperty(ce,ae,{get:()=>s[ae],set:Pe=>s[ae]=Pe})})}else e.exposed||(e.exposed={});F&&e.render===Mt&&(e.render=F),Ee!=null&&(e.inheritAttrs=Ee),ve&&(e.components=ve),Ze&&(e.directives=Ze),ne&&gl(e)}function Wc(e,t,s=Mt){q(e)&&(e=Ei(e));for(const n in e){const i=e[n];let o;Se(i)?"default"in i?o=qs(i.from||n,i.default,!0):o=qs(i.from||n):o=qs(i),Ue(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:a=>o.value=a}):t[n]=o}}function Ao(e,t,s){xt(q(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function hl(e,t,s,n){let i=n.includes(".")?Ml(s,n):()=>s[n];if(Oe(e)){const o=t[e];te(o)&&Yt(i,o)}else if(te(e))Yt(i,e.bind(s));else if(Se(e))if(q(e))e.forEach(o=>hl(o,t,s,n));else{const o=te(e.handler)?e.handler.bind(s):t[e.handler];te(o)&&Yt(i,o,e)}}function oo(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:a}}=e.appContext,l=o.get(t);let r;return l?r=l:!i.length&&!s&&!n?r=t:(r={},i.length&&i.forEach(u=>Wn(r,u,a,!0)),Wn(r,t,a)),Se(t)&&o.set(t,r),r}function Wn(e,t,s,n=!1){const{mixins:i,extends:o}=t;o&&Wn(e,o,s,!0),i&&i.forEach(a=>Wn(e,a,s,!0));for(const a in t)if(!(n&&a==="expose")){const l=Vc[a]||s&&s[a];e[a]=l?l(e[a],t[a]):t[a]}return e}const Vc={data:xo,props:No,emits:No,methods:Bs,computed:Bs,beforeCreate:Je,created:Je,beforeMount:Je,mounted:Je,beforeUpdate:Je,updated:Je,beforeDestroy:Je,beforeUnmount:Je,destroyed:Je,unmounted:Je,activated:Je,deactivated:Je,errorCaptured:Je,serverPrefetch:Je,components:Bs,directives:Bs,watch:Hc,provide:xo,inject:$c};function xo(e,t){return t?e?function(){return We(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function $c(e,t){return Bs(Ei(e),Ei(t))}function Ei(e){if(q(e)){const t={};for(let s=0;s1)return s&&te(t)?t.call(n&&n.proxy):t}}const _l={},vl=()=>Object.create(_l),bl=e=>Object.getPrototypeOf(e)===_l;function Gc(e,t,s,n=!1){const i={},o=vl();e.propsDefaults=Object.create(null),Cl(e,t,i,o);for(const a in e.propsOptions[0])a in i||(i[a]=void 0);s?e.props=n?i:uc(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Xc(e,t,s,n){const{props:i,attrs:o,vnode:{patchFlag:a}}=e,l=de(i),[r]=e.propsOptions;let u=!1;if((n||a>0)&&!(a&16)){if(a&8){const f=e.vnode.dynamicProps;for(let d=0;d{r=!0;const[v,E]=Sl(d,t,!0);We(a,v),E&&l.push(...E)};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}if(!o&&!r)return Se(e)&&n.set(e,Es),Es;if(q(o))for(let f=0;fe[0]==="_"||e==="$stable",ao=e=>q(e)?e.map(Pt):[Pt(e)],Jc=(e,t,s)=>{if(t._n)return t;const n=Tc((...i)=>ao(t(...i)),s);return n._c=!1,n},wl=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Tl(i))continue;const o=e[i];if(te(o))t[i]=Jc(i,o,n);else if(o!=null){const a=ao(o);t[i]=()=>a}}},El=(e,t)=>{const s=ao(t);e.slots.default=()=>s},zl=(e,t,s)=>{for(const n in t)(s||n!=="_")&&(e[n]=t[n])},Qc=(e,t,s)=>{const n=e.slots=vl();if(e.vnode.shapeFlag&32){const i=t._;i?(zl(n,t,s),s&&ka(n,"_",i,!0)):wl(t,n)}else t&&El(e,t)},qc=(e,t,s)=>{const{vnode:n,slots:i}=e;let o=!0,a=Ce;if(n.shapeFlag&32){const l=t._;l?s&&l===1?o=!1:zl(i,t,s):(o=!t.$stable,wl(t,i)),a=t}else t&&(El(e,t),a={default:1});if(o)for(const l in i)!Tl(l)&&a[l]==null&&delete i[l]},ot=gf;function Zc(e){return ef(e)}function ef(e,t){const s=Ua();s.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:a,createText:l,createComment:r,setText:u,setElementText:f,parentNode:d,nextSibling:v,setScopeId:E=Mt,insertStaticContent:D}=e,O=(m,h,L,U=null,R=null,c=null,g=void 0,S=null,I=!!h.dynamicChildren)=>{if(m===h)return;m&&!Hs(m,h)&&(U=et(m),Ae(m,R,c,!0),m=null),h.patchFlag===-2&&(I=!1,h.dynamicChildren=null);const{type:A,ref:V,shapeFlag:y}=h;switch(A){case hn:W(m,h,L,U);break;case ms:b(m,h,L,U);break;case xn:m==null&&z(h,L,U,g);break;case Le:ve(m,h,L,U,R,c,g,S,I);break;default:y&1?F(m,h,L,U,R,c,g,S,I):y&6?Ze(m,h,L,U,R,c,g,S,I):(y&64||y&128)&&A.process(m,h,L,U,R,c,g,S,I,Ge)}V!=null&&R&&Si(V,m&&m.ref,c,h||m,!h)},W=(m,h,L,U)=>{if(m==null)n(h.el=l(h.children),L,U);else{const R=h.el=m.el;h.children!==m.children&&u(R,h.children)}},b=(m,h,L,U)=>{m==null?n(h.el=r(h.children||""),L,U):h.el=m.el},z=(m,h,L,U)=>{[m.el,m.anchor]=D(m.children,h,L,U,m.el,m.anchor)},P=({el:m,anchor:h},L,U)=>{let R;for(;m&&m!==h;)R=v(m),n(m,L,U),m=R;n(h,L,U)},T=({el:m,anchor:h})=>{let L;for(;m&&m!==h;)L=v(m),i(m),m=L;i(h)},F=(m,h,L,U,R,c,g,S,I)=>{h.type==="svg"?g="svg":h.type==="math"&&(g="mathml"),m==null?H(h,L,U,R,c,g,S,I):ne(m,h,R,c,g,S,I)},H=(m,h,L,U,R,c,g,S)=>{let I,A;const{props:V,shapeFlag:y,transition:w,dirs:Y}=m;if(I=m.el=a(m.type,c,V&&V.is,V),y&8?f(I,m.children):y&16&&ee(m.children,I,null,U,R,pi(m,c),g,S),Y&&ls(m,null,U,"created"),k(I,m,m.scopeId,g,U),V){for(const se in V)se!=="value"&&!Gs(se)&&o(I,se,null,V[se],c,U);"value"in V&&o(I,"value",null,V.value,c),(A=V.onVnodeBeforeMount)&&Et(A,U,m)}Y&&ls(m,null,U,"beforeMount");const X=tf(R,w);X&&w.beforeEnter(I),n(I,h,L),((A=V&&V.onVnodeMounted)||X||Y)&&ot(()=>{A&&Et(A,U,m),X&&w.enter(I),Y&&ls(m,null,U,"mounted")},R)},k=(m,h,L,U,R)=>{if(L&&E(m,L),U)for(let c=0;c{for(let A=I;A{const S=h.el=m.el;let{patchFlag:I,dynamicChildren:A,dirs:V}=h;I|=m.patchFlag&16;const y=m.props||Ce,w=h.props||Ce;let Y;if(L&&rs(L,!1),(Y=w.onVnodeBeforeUpdate)&&Et(Y,L,h,m),V&&ls(h,m,L,"beforeUpdate"),L&&rs(L,!0),(y.innerHTML&&w.innerHTML==null||y.textContent&&w.textContent==null)&&f(S,""),A?_e(m.dynamicChildren,A,S,L,U,pi(h,R),c):g||ae(m,h,S,null,L,U,pi(h,R),c,!1),I>0){if(I&16)Ee(S,y,w,L,R);else if(I&2&&y.class!==w.class&&o(S,"class",null,w.class,R),I&4&&o(S,"style",y.style,w.style,R),I&8){const X=h.dynamicProps;for(let se=0;se{Y&&Et(Y,L,h,m),V&&ls(h,m,L,"updated")},U)},_e=(m,h,L,U,R,c,g)=>{for(let S=0;S{if(h!==L){if(h!==Ce)for(const c in h)!Gs(c)&&!(c in L)&&o(m,c,h[c],null,R,U);for(const c in L){if(Gs(c))continue;const g=L[c],S=h[c];g!==S&&c!=="value"&&o(m,c,S,g,R,U)}"value"in L&&o(m,"value",h.value,L.value,R)}},ve=(m,h,L,U,R,c,g,S,I)=>{const A=h.el=m?m.el:l(""),V=h.anchor=m?m.anchor:l("");let{patchFlag:y,dynamicChildren:w,slotScopeIds:Y}=h;Y&&(S=S?S.concat(Y):Y),m==null?(n(A,L,U),n(V,L,U),ee(h.children||[],L,V,R,c,g,S,I)):y>0&&y&64&&w&&m.dynamicChildren?(_e(m.dynamicChildren,w,L,R,c,g,S),(h.key!=null||R&&h===R.subTree)&&Il(m,h,!0)):ae(m,h,L,V,R,c,g,S,I)},Ze=(m,h,L,U,R,c,g,S,I)=>{h.slotScopeIds=S,m==null?h.shapeFlag&512?R.ctx.activate(h,L,U,g,I):ft(h,L,U,R,c,g,I):ut(m,h,I)},ft=(m,h,L,U,R,c,g)=>{const S=m.component=Cf(m,U,R);if(dl(m)&&(S.ctx.renderer=Ge),Sf(S,!1,g),S.asyncDep){if(R&&R.registerDep(S,ze,g),!m.el){const I=S.subTree=je(ms);b(null,I,h,L)}}else ze(S,m,h,L,R,c,g)},ut=(m,h,L)=>{const U=h.component=m.component;if(uf(m,h,L))if(U.asyncDep&&!U.asyncResolved){ce(U,h,L);return}else U.next=h,U.update();else h.el=m.el,U.vnode=h},ze=(m,h,L,U,R,c,g)=>{const S=()=>{if(m.isMounted){let{next:y,bu:w,u:Y,parent:X,vnode:se}=m;{const ke=Ll(m);if(ke){y&&(y.el=se.el,ce(m,y,g)),ke.asyncDep.then(()=>{m.isUnmounted||S()});return}}let ie=y,pe;rs(m,!1),y?(y.el=se.el,ce(m,y,g)):y=se,w&&An(w),(pe=y.props&&y.props.onVnodeBeforeUpdate)&&Et(pe,X,y,se),rs(m,!0);const he=gi(m),Ve=m.subTree;m.subTree=he,O(Ve,he,d(Ve.el),et(Ve),m,R,c),y.el=he.el,ie===null&&pf(m,he.el),Y&&ot(Y,R),(pe=y.props&&y.props.onVnodeUpdated)&&ot(()=>Et(pe,X,y,se),R)}else{let y;const{el:w,props:Y}=h,{bm:X,m:se,parent:ie,root:pe,type:he}=m,Ve=Ks(h);if(rs(m,!1),X&&An(X),!Ve&&(y=Y&&Y.onVnodeBeforeMount)&&Et(y,ie,h),rs(m,!0),w&&nt){const ke=()=>{m.subTree=gi(m),nt(w,m.subTree,m,R,null)};Ve&&he.__asyncHydrate?he.__asyncHydrate(w,m,ke):ke()}else{pe.ce&&pe.ce._injectChildStyle(he);const ke=m.subTree=gi(m);O(null,ke,L,U,m,R,c),h.el=ke.el}if(se&&ot(se,R),!Ve&&(y=Y&&Y.onVnodeMounted)){const ke=h;ot(()=>Et(y,ie,ke),R)}(h.shapeFlag&256||ie&&Ks(ie.vnode)&&ie.vnode.shapeFlag&256)&&m.a&&ot(m.a,R),m.isMounted=!0,h=L=U=null}};m.scope.on();const I=m.effect=new ja(S);m.scope.off();const A=m.update=I.run.bind(I),V=m.job=I.runIfDirty.bind(I);V.i=m,V.id=m.uid,I.scheduler=()=>so(V),rs(m,!0),A()},ce=(m,h,L)=>{h.component=m;const U=m.vnode.props;m.vnode=h,m.next=null,Xc(m,h.props,U,L),qc(m,h.children,L),ts(),Po(m),ss()},ae=(m,h,L,U,R,c,g,S,I=!1)=>{const A=m&&m.children,V=m?m.shapeFlag:0,y=h.children,{patchFlag:w,shapeFlag:Y}=h;if(w>0){if(w&128){Be(A,y,L,U,R,c,g,S,I);return}else if(w&256){Pe(A,y,L,U,R,c,g,S,I);return}}Y&8?(V&16&&yt(A,R,c),y!==A&&f(L,y)):V&16?Y&16?Be(A,y,L,U,R,c,g,S,I):yt(A,R,c,!0):(V&8&&f(L,""),Y&16&&ee(y,L,U,R,c,g,S,I))},Pe=(m,h,L,U,R,c,g,S,I)=>{m=m||Es,h=h||Es;const A=m.length,V=h.length,y=Math.min(A,V);let w;for(w=0;wV?yt(m,R,c,!0,!1,y):ee(h,L,U,R,c,g,S,I,y)},Be=(m,h,L,U,R,c,g,S,I)=>{let A=0;const V=h.length;let y=m.length-1,w=V-1;for(;A<=y&&A<=w;){const Y=m[A],X=h[A]=I?qt(h[A]):Pt(h[A]);if(Hs(Y,X))O(Y,X,L,null,R,c,g,S,I);else break;A++}for(;A<=y&&A<=w;){const Y=m[y],X=h[w]=I?qt(h[w]):Pt(h[w]);if(Hs(Y,X))O(Y,X,L,null,R,c,g,S,I);else break;y--,w--}if(A>y){if(A<=w){const Y=w+1,X=Yw)for(;A<=y;)Ae(m[A],R,c,!0),A++;else{const Y=A,X=A,se=new Map;for(A=X;A<=w;A++){const xe=h[A]=I?qt(h[A]):Pt(h[A]);xe.key!=null&&se.set(xe.key,A)}let ie,pe=0;const he=w-X+1;let Ve=!1,ke=0;const Nt=new Array(he);for(A=0;A=he){Ae(xe,R,c,!0);continue}let it;if(xe.key!=null)it=se.get(xe.key);else for(ie=X;ie<=w;ie++)if(Nt[ie-X]===0&&Hs(xe,h[ie])){it=ie;break}it===void 0?Ae(xe,R,c,!0):(Nt[it-X]=A+1,it>=ke?ke=it:Ve=!0,O(xe,h[it],L,null,R,c,g,S,I),pe++)}const ys=Ve?sf(Nt):Es;for(ie=ys.length-1,A=he-1;A>=0;A--){const xe=X+A,it=h[xe],Xe=xe+1{const{el:c,type:g,transition:S,children:I,shapeFlag:A}=m;if(A&6){Me(m.component.subTree,h,L,U);return}if(A&128){m.suspense.move(h,L,U);return}if(A&64){g.move(m,h,L,Ge);return}if(g===Le){n(c,h,L);for(let y=0;yS.enter(c),R);else{const{leave:y,delayLeave:w,afterLeave:Y}=S,X=()=>n(c,h,L),se=()=>{y(c,()=>{X(),Y&&Y()})};w?w(c,X,se):se()}else n(c,h,L)},Ae=(m,h,L,U=!1,R=!1)=>{const{type:c,props:g,ref:S,children:I,dynamicChildren:A,shapeFlag:V,patchFlag:y,dirs:w,cacheIndex:Y}=m;if(y===-2&&(R=!1),S!=null&&Si(S,null,L,m,!0),Y!=null&&(h.renderCache[Y]=void 0),V&256){h.ctx.deactivate(m);return}const X=V&1&&w,se=!Ks(m);let ie;if(se&&(ie=g&&g.onVnodeBeforeUnmount)&&Et(ie,h,m),V&6)wt(m.component,L,U);else{if(V&128){m.suspense.unmount(L,U);return}X&&ls(m,null,h,"beforeUnmount"),V&64?m.type.remove(m,h,L,Ge,U):A&&!A.hasOnce&&(c!==Le||y>0&&y&64)?yt(A,h,L,!1,!0):(c===Le&&y&384||!R&&V&16)&&yt(I,h,L),U&&Tt(m)}(se&&(ie=g&&g.onVnodeUnmounted)||X)&&ot(()=>{ie&&Et(ie,h,m),X&&ls(m,null,h,"unmounted")},L)},Tt=m=>{const{type:h,el:L,anchor:U,transition:R}=m;if(h===Le){pt(L,U);return}if(h===xn){T(m);return}const c=()=>{i(L),R&&!R.persisted&&R.afterLeave&&R.afterLeave()};if(m.shapeFlag&1&&R&&!R.persisted){const{leave:g,delayLeave:S}=R,I=()=>g(L,c);S?S(m.el,c,I):I()}else c()},pt=(m,h)=>{let L;for(;m!==h;)L=v(m),i(m),m=L;i(h)},wt=(m,h,L)=>{const{bum:U,scope:R,job:c,subTree:g,um:S,m:I,a:A}=m;Oo(I),Oo(A),U&&An(U),R.stop(),c&&(c.flags|=8,Ae(g,m,h,L)),S&&ot(S,h),ot(()=>{m.isUnmounted=!0},h),h&&h.pendingBranch&&!h.isUnmounted&&m.asyncDep&&!m.asyncResolved&&m.suspenseId===h.pendingId&&(h.deps--,h.deps===0&&h.resolve())},yt=(m,h,L,U=!1,R=!1,c=0)=>{for(let g=c;g{if(m.shapeFlag&6)return et(m.component.subTree);if(m.shapeFlag&128)return m.suspense.next();const h=v(m.anchor||m.el),L=h&&h[wc];return L?v(L):h};let _t=!1;const gt=(m,h,L)=>{m==null?h._vnode&&Ae(h._vnode,null,null,!0):O(h._vnode||null,m,h,null,null,null,L),h._vnode=m,_t||(_t=!0,Po(),fl(),_t=!1)},Ge={p:O,um:Ae,m:Me,r:Tt,mt:ft,mc:ee,pc:ae,pbc:_e,n:et,o:e};let st,nt;return{render:gt,hydrate:st,createApp:Yc(gt,st)}}function pi({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function rs({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function tf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Il(e,t,s=!1){const n=e.children,i=t.children;if(q(n)&&q(i))for(let o=0;o>1,e[s[l]]0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,a=s[o-1];o-- >0;)s[o]=a,a=t[a];return s}function Ll(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ll(t)}function Oo(e){if(e)for(let t=0;tqs(nf);function Yt(e,t,s){return Pl(e,t,s)}function Pl(e,t,s=Ce){const{immediate:n,deep:i,flush:o,once:a}=s,l=We({},s);let r;if(Qn)if(o==="sync"){const v=of();r=v.__watcherHandles||(v.__watcherHandles=[])}else if(!t||n)l.once=!0;else{const v=()=>{};return v.stop=Mt,v.resume=Mt,v.pause=Mt,v}const u=He;l.call=(v,E,D)=>xt(v,u,E,D);let f=!1;o==="post"?l.scheduler=v=>{ot(v,u&&u.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(v,E)=>{E?v():so(v)}),l.augmentJob=v=>{t&&(v.flags|=4),f&&(v.flags|=2,u&&(v.id=u.uid,v.i=u))};const d=vc(e,t,l);return r&&r.push(d),d}function af(e,t,s){const n=this.proxy,i=Oe(e)?e.includes(".")?Ml(n,e):()=>n[e]:e.bind(n,n);let o;te(t)?o=t:(o=t.handler,s=t);const a=yn(this),l=Pl(i,o.bind(n),s);return a(),l}function Ml(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;it==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${gs(t)}Modifiers`]||e[`${hs(t)}Modifiers`];function rf(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Ce;let i=s;const o=t.startsWith("update:"),a=o&&lf(n,t.slice(7));a&&(a.trim&&(i=s.map(f=>Oe(f)?f.trim():f)),a.number&&(i=s.map(Rn)));let l,r=n[l=ai(t)]||n[l=ai(gs(t))];!r&&o&&(r=n[l=ai(hs(t))]),r&&xt(r,e,6,i);const u=n[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,xt(u,e,6,i)}}function Al(e,t,s=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let a={},l=!1;if(!te(e)){const r=u=>{const f=Al(u,t,!0);f&&(l=!0,We(a,f))};!s&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!o&&!l?(Se(e)&&n.set(e,null),null):(q(o)?o.forEach(r=>a[r]=null):We(a,o),Se(e)&&n.set(e,a),a)}function Jn(e,t){return!e||!jn(t)?!1:(t=t.slice(2).replace(/Once$/,""),ge(e,t[0].toLowerCase()+t.slice(1))||ge(e,hs(t))||ge(e,t))}function gi(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[o],slots:a,attrs:l,emit:r,render:u,renderCache:f,props:d,data:v,setupState:E,ctx:D,inheritAttrs:O}=e,W=Un(e);let b,z;try{if(s.shapeFlag&4){const T=i||n,F=T;b=Pt(u.call(F,T,f,d,E,v,D)),z=l}else{const T=t;b=Pt(T.length>1?T(d,{attrs:l,slots:a,emit:r}):T(d,null)),z=t.props?l:cf(l)}}catch(T){Zs.length=0,Xn(T,e,1),b=je(ms)}let P=b;if(z&&O!==!1){const T=Object.keys(z),{shapeFlag:F}=P;T.length&&F&7&&(o&&T.some(Vi)&&(z=ff(z,o)),P=As(P,z,!1,!0))}return s.dirs&&(P=As(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(s.dirs):s.dirs),s.transition&&no(P,s.transition),b=P,Un(W),b}const cf=e=>{let t;for(const s in e)(s==="class"||s==="style"||jn(s))&&((t||(t={}))[s]=e[s]);return t},ff=(e,t)=>{const s={};for(const n in e)(!Vi(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function uf(e,t,s){const{props:n,children:i,component:o}=e,{props:a,children:l,patchFlag:r}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&r>=0){if(r&1024)return!0;if(r&16)return n?Ro(n,a,u):!!a;if(r&8){const f=t.dynamicProps;for(let d=0;de.__isSuspense;function gf(e,t){t&&t.pendingBranch?q(e)?t.effects.push(...e):t.effects.push(e):Sc(e)}const Le=Symbol.for("v-fgt"),hn=Symbol.for("v-txt"),ms=Symbol.for("v-cmt"),xn=Symbol.for("v-stc"),Zs=[];let rt=null;function le(e=!1){Zs.push(rt=e?null:[])}function df(){Zs.pop(),rt=Zs[Zs.length-1]||null}let on=1;function Fo(e){on+=e,e<0&&rt&&(rt.hasOnce=!0)}function Nl(e){return e.dynamicChildren=on>0?rt||Es:null,df(),on>0&&rt&&rt.push(e),e}function fe(e,t,s,n,i,o){return Nl(p(e,t,s,n,i,o,!0))}function mf(e,t,s,n,i){return Nl(je(e,t,s,n,i,!0))}function Ii(e){return e?e.__v_isVNode===!0:!1}function Hs(e,t){return e.type===t.type&&e.key===t.key}const Dl=({key:e})=>e??null,Nn=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Oe(e)||Ue(e)||te(e)?{i:lt,r:e,k:t,f:!!s}:e:null);function p(e,t=null,s=null,n=0,i=null,o=e===Le?0:1,a=!1,l=!1){const r={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Dl(t),ref:t&&Nn(t),scopeId:pl,slotScopeIds:null,children:s,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:lt};return l?(lo(r,s),o&128&&e.normalize(r)):s&&(r.shapeFlag|=Oe(s)?8:16),on>0&&!a&&rt&&(r.patchFlag>0||o&6)&&r.patchFlag!==32&&rt.push(r),r}const je=hf;function hf(e,t=null,s=null,n=0,i=null,o=!1){if((!e||e===Fc)&&(e=ms),Ii(e)){const l=As(e,t,!0);return s&&lo(l,s),on>0&&!o&&rt&&(l.shapeFlag&6?rt[rt.indexOf(e)]=l:rt.push(l)),l.patchFlag=-2,l}if(zf(e)&&(e=e.__vccOpts),t){t=yf(t);let{class:l,style:r}=t;l&&!Oe(l)&&(t.class=Re(l)),Se(r)&&(Zi(r)&&!q(r)&&(r=We({},r)),t.style=Is(r))}const a=Oe(e)?1:xl(e)?128:Ec(e)?64:Se(e)?4:te(e)?2:0;return p(e,t,s,n,i,a,o,!0)}function yf(e){return e?Zi(e)||bl(e)?We({},e):e:null}function As(e,t,s=!1,n=!1){const{props:i,ref:o,patchFlag:a,children:l,transition:r}=e,u=t?_f(i||{},t):i,f={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Dl(u),ref:t&&t.ref?s&&o?q(o)?o.concat(Nn(t)):[o,Nn(t)]:Nn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Le?a===-1?16:a|16:a,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:r,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&As(e.ssContent),ssFallback:e.ssFallback&&As(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return r&&n&&no(f,r.clone(f)),f}function K(e=" ",t=0){return je(hn,null,e,t)}function In(e,t){const s=je(xn,null,e);return s.staticCount=t,s}function dt(e="",t=!1){return t?(le(),mf(ms,null,e)):je(ms,null,e)}function Pt(e){return e==null||typeof e=="boolean"?je(ms):q(e)?je(Le,null,e.slice()):typeof e=="object"?qt(e):je(hn,null,String(e))}function qt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:As(e)}function lo(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(q(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),lo(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!bl(t)?t._ctx=lt:i===3&<&&(lt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:lt},s=32):(t=String(t),n&64?(s=16,t=[K(t)]):s=8);e.children=t,e.shapeFlag|=s}function _f(...e){const t={};for(let s=0;sHe||lt;let Vn,Li;{const e=Ua(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),o=>{i.length>1?i.forEach(a=>a(o)):i[0](o)}};Vn=t("__VUE_INSTANCE_SETTERS__",s=>He=s),Li=t("__VUE_SSR_SETTERS__",s=>Qn=s)}const yn=e=>{const t=He;return Vn(e),e.scope.on(),()=>{e.scope.off(),Vn(t)}},ko=()=>{He&&He.scope.off(),Vn(null)};function Ol(e){return e.vnode.shapeFlag&4}let Qn=!1;function Sf(e,t=!1,s=!1){t&&Li(t);const{props:n,children:i}=e.vnode,o=Ol(e);Gc(e,n,o,t),Qc(e,i,s);const a=o?Tf(e,t):void 0;return t&&Li(!1),a}function Tf(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,kc);const{setup:n}=s;if(n){const i=e.setupContext=n.length>1?Ef(e):null,o=yn(e);ts();const a=dn(n,e,0,[e.props,i]);if(ss(),o(),Da(a)){if(Ks(e)||gl(e),a.then(ko,ko),t)return a.then(l=>{Uo(e,l,t)}).catch(l=>{Xn(l,e,0)});e.asyncDep=a}else Uo(e,a,t)}else Rl(e,t)}function Uo(e,t,s){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Se(t)&&(e.setupState=al(t)),Rl(e,s)}let Wo;function Rl(e,t,s){const n=e.type;if(!e.render){if(!t&&Wo&&!n.render){const i=n.template||oo(e).template;if(i){const{isCustomElement:o,compilerOptions:a}=e.appContext.config,{delimiters:l,compilerOptions:r}=n,u=We(We({isCustomElement:o,delimiters:l},a),r);n.render=Wo(i,u)}}e.render=n.render||Mt}{const i=yn(e);ts();try{Uc(e)}finally{ss(),i()}}}const wf={get(e,t){return Ye(e,"get",""),e[t]}};function Ef(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,wf),slots:e.slots,emit:e.emit,expose:t}}function qn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(al(pc(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Qs)return Qs[s](e)},has(t,s){return s in t||s in Qs}})):e.proxy}function zf(e){return te(e)&&"__vccOpts"in e}const Ts=(e,t)=>yc(e,t,Qn);function Fl(e,t,s){const n=arguments.length;return n===2?Se(t)&&!q(t)?Ii(t)?je(e,null,[t]):je(e,t):je(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ii(s)&&(s=[s]),je(e,t,s))}const If="3.5.8";/** +* @vue/runtime-dom v3.5.8 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Pi;const Vo=typeof window<"u"&&window.trustedTypes;if(Vo)try{Pi=Vo.createPolicy("vue",{createHTML:e=>e})}catch{}const kl=Pi?e=>Pi.createHTML(e):e=>e,Lf="http://www.w3.org/2000/svg",Pf="http://www.w3.org/1998/Math/MathML",Wt=typeof document<"u"?document:null,$o=Wt&&Wt.createElement("template"),Mf={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Wt.createElementNS(Lf,e):t==="mathml"?Wt.createElementNS(Pf,e):s?Wt.createElement(e,{is:s}):Wt.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Wt.createTextNode(e),createComment:e=>Wt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Wt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,o){const a=s?s.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===o||!(i=i.nextSibling)););else{$o.innerHTML=kl(n==="svg"?`${e}`:n==="mathml"?`${e}`:e);const l=$o.content;if(n==="svg"||n==="mathml"){const r=l.firstChild;for(;r.firstChild;)l.appendChild(r.firstChild);l.removeChild(r)}t.insertBefore(l,s)}return[a?a.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Af=Symbol("_vtc");function xf(e,t,s){const n=e[Af];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const $n=Symbol("_vod"),Ul=Symbol("_vsh"),bt={beforeMount(e,{value:t},{transition:s}){e[$n]=e.style.display==="none"?"":e.style.display,s&&t?s.beforeEnter(e):js(e,t)},mounted(e,{value:t},{transition:s}){s&&t&&s.enter(e)},updated(e,{value:t,oldValue:s},{transition:n}){!t!=!s&&(n?t?(n.beforeEnter(e),js(e,!0),n.enter(e)):n.leave(e,()=>{js(e,!1)}):js(e,t))},beforeUnmount(e,{value:t}){js(e,t)}};function js(e,t){e.style.display=t?e[$n]:"none",e[Ul]=!t}const Nf=Symbol(""),Df=/(^|;)\s*display\s*:/;function Of(e,t,s){const n=e.style,i=Oe(s);let o=!1;if(s&&!i){if(t)if(Oe(t))for(const a of t.split(";")){const l=a.slice(0,a.indexOf(":")).trim();s[l]==null&&Dn(n,l,"")}else for(const a in t)s[a]==null&&Dn(n,a,"");for(const a in s)a==="display"&&(o=!0),Dn(n,a,s[a])}else if(i){if(t!==s){const a=n[Nf];a&&(s+=";"+a),n.cssText=s,o=Df.test(s)}}else t&&e.removeAttribute("style");$n in e&&(e[$n]=o?n.display:"",e[Ul]&&(n.display="none"))}const Ho=/\s*!important$/;function Dn(e,t,s){if(q(s))s.forEach(n=>Dn(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Rf(e,t);Ho.test(s)?e.setProperty(hs(n),s.replace(Ho,""),"important"):e[n]=s}}const jo=["Webkit","Moz","ms"],di={};function Rf(e,t){const s=di[t];if(s)return s;let n=gs(t);if(n!=="filter"&&n in e)return di[t]=n;n=Fa(n);for(let i=0;imi||(Vf.then(()=>mi=0),mi=Date.now());function Hf(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;xt(jf(n,s.value),t,5,[n])};return s.value=e,s.attached=$f(),s}function jf(e,t){if(q(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Ko=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yf=(e,t,s,n,i,o)=>{const a=i==="svg";t==="class"?xf(e,n,a):t==="style"?Of(e,s,n):jn(t)?Vi(t)||Uf(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Bf(e,t,n,a))?(Ff(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Bo(e,t,n,a,o,t!=="value")):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Bo(e,t,n,a))};function Bf(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ko(t)&&te(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Ko(t)&&Oe(s)?!1:!!(t in e||e._isVueCE&&(/[A-Z]/.test(t)||!Oe(s)))}const xs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return q(t)?s=>An(t,s):t};function Gf(e){e.target.composing=!0}function Jo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Bt=Symbol("_assign"),Z={created(e,{modifiers:{lazy:t,trim:s,number:n}},i){e[Bt]=xs(i);const o=n||i.props&&i.props.type==="number";Zt(e,t?"change":"input",a=>{if(a.target.composing)return;let l=e.value;s&&(l=l.trim()),o&&(l=Rn(l)),e[Bt](l)}),s&&Zt(e,"change",()=>{e.value=e.value.trim()}),t||(Zt(e,"compositionstart",Gf),Zt(e,"compositionend",Jo),Zt(e,"change",Jo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:i,number:o}},a){if(e[Bt]=xs(a),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Rn(e.value):e.value,r=t??"";l!==r&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||i&&e.value.trim()===r)||(e.value=r))}},zt={deep:!0,created(e,t,s){e[Bt]=xs(s),Zt(e,"change",()=>{const n=e._modelValue,i=ln(e),o=e.checked,a=e[Bt];if(q(n)){const l=ji(n,i),r=l!==-1;if(o&&!r)a(n.concat(i));else if(!o&&r){const u=[...n];u.splice(l,1),a(u)}}else if(Rs(n)){const l=new Set(n);o?l.add(i):l.delete(i),a(l)}else a(Wl(e,o))})},mounted:Qo,beforeUpdate(e,t,s){e[Bt]=xs(s),Qo(e,t,s)}};function Qo(e,{value:t,oldValue:s},n){e._modelValue=t;let i;q(t)?i=ji(t,n.props.value)>-1:Rs(t)?i=t.has(n.props.value):i=gn(t,Wl(e,!0)),e.checked!==i&&(e.checked=i)}const cs={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const i=Rs(t);Zt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,a=>a.selected).map(a=>s?Rn(ln(a)):ln(a));e[Bt](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,rl(()=>{e._assigning=!1})}),e[Bt]=xs(n)},mounted(e,{value:t,modifiers:{number:s}}){qo(e,t)},beforeUpdate(e,t,s){e[Bt]=xs(s)},updated(e,{value:t,modifiers:{number:s}}){e._assigning||qo(e,t)}};function qo(e,t,s){const n=e.multiple,i=q(t);if(!(n&&!i&&!Rs(t))){for(let o=0,a=e.options.length;oString(f)===String(r)):l.selected=ji(t,r)>-1}else l.selected=t.has(r);else if(gn(ln(l),t)){e.selectedIndex!==o&&(e.selectedIndex=o);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ln(e){return"_value"in e?e._value:e.value}function Wl(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Xf=We({patchProp:Yf},Mf);let Zo;function Kf(){return Zo||(Zo=Zc(Xf))}const Jf=(...e)=>{const t=Kf().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=qf(n);if(!i)return;const o=t._component;!te(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const a=s(i,!1,Qf(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),a},t};function Qf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function qf(e){return Oe(e)?document.querySelector(e):e}/*! + * shared v11.0.0-rc.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const Hn=typeof window<"u",ns=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Zf=(e,t,s)=>eu({l:e,k:t,s}),eu=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Ne=e=>typeof e=="number"&&isFinite(e),tu=e=>ro(e)==="[object Date]",Ns=e=>ro(e)==="[object RegExp]",Zn=e=>oe(e)&&Object.keys(e).length===0,Fe=Object.assign,su=Object.create,ye=(e=null)=>su(e);let ea;const us=()=>ea||(ea=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:ye());function ta(e){return e.replace(//g,">").replace(/"/g,""").replace(/'/g,"'")}const nu=Object.prototype.hasOwnProperty;function Ct(e,t){return nu.call(e,t)}const De=Array.isArray,Te=e=>typeof e=="function",G=e=>typeof e=="string",re=e=>typeof e=="boolean",ue=e=>e!==null&&typeof e=="object",iu=e=>ue(e)&&Te(e.then)&&Te(e.catch),Vl=Object.prototype.toString,ro=e=>Vl.call(e),oe=e=>ro(e)==="[object Object]",ou=e=>e==null?"":De(e)||oe(e)&&e.toString===Vl?JSON.stringify(e,null,2):String(e);function co(e,t=""){return e.reduce((s,n,i)=>i===0?s+n:s+t+n,"")}function au(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const Ln=e=>!ue(e)||De(e);function On(e,t){if(Ln(e)||Ln(t))throw new Error("Invalid value");const s=[{src:e,des:t}];for(;s.length;){const{src:n,des:i}=s.pop();Object.keys(n).forEach(o=>{o!=="__proto__"&&(ue(n[o])&&!ue(i[o])&&(i[o]=Array.isArray(n[o])?[]:ye()),Ln(i[o])||Ln(n[o])?i[o]=n[o]:s.push({src:n[o],des:i[o]}))})}}/*! + * message-compiler v11.0.0-rc.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function lu(e,t,s){return{line:e,column:t,offset:s}}function Mi(e,t,s){return{start:e,end:t}}const me={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16},ru=17;function ei(e,t,s={}){const{domain:n,messages:i,args:o}=s,a=e,l=new SyntaxError(String(a));return l.code=e,t&&(l.location=t),l.domain=n,l}function cu(e){throw e}const kt=" ",fu="\r",Qe=` +`,uu="\u2028",pu="\u2029";function gu(e){const t=e;let s=0,n=1,i=1,o=0;const a=k=>t[k]===fu&&t[k+1]===Qe,l=k=>t[k]===Qe,r=k=>t[k]===pu,u=k=>t[k]===uu,f=k=>a(k)||l(k)||r(k)||u(k),d=()=>s,v=()=>n,E=()=>i,D=()=>o,O=k=>a(k)||r(k)||u(k)?Qe:t[k],W=()=>O(s),b=()=>O(s+o);function z(){return o=0,f(s)&&(n++,i=0),a(s)&&s++,s++,i++,t[s]}function P(){return a(s+o)&&o++,o++,t[s+o]}function T(){s=0,n=1,i=1,o=0}function F(k=0){o=k}function H(){const k=s+o;for(;k!==s;)z();o=0}return{index:d,line:v,column:E,peekOffset:D,charAt:O,currentChar:W,currentPeek:b,next:z,peek:P,reset:T,resetPeek:F,skipToPeek:H}}const Jt=void 0,du=".",sa="'",mu="tokenizer";function hu(e,t={}){const s=t.location!==!1,n=gu(e),i=()=>n.index(),o=()=>lu(n.line(),n.column(),n.index()),a=o(),l=i(),r={currentType:13,offset:l,startLoc:a,endLoc:a,lastType:13,lastOffset:l,lastStartLoc:a,lastEndLoc:a,braceNest:0,inLinked:!1,text:""},u=()=>r,{onError:f}=t;function d(c,g,S,...I){const A=u();if(g.column+=S,g.offset+=S,f){const V=s?Mi(A.startLoc,g):null,y=ei(c,V,{domain:mu,args:I});f(y)}}function v(c,g,S){c.endLoc=o(),c.currentType=g;const I={type:g};return s&&(I.loc=Mi(c.startLoc,c.endLoc)),S!=null&&(I.value=S),I}const E=c=>v(c,13);function D(c,g){return c.currentChar()===g?(c.next(),g):(d(me.EXPECTED_TOKEN,o(),0,g),"")}function O(c){let g="";for(;c.currentPeek()===kt||c.currentPeek()===Qe;)g+=c.currentPeek(),c.peek();return g}function W(c){const g=O(c);return c.skipToPeek(),g}function b(c){if(c===Jt)return!1;const g=c.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function z(c){if(c===Jt)return!1;const g=c.charCodeAt(0);return g>=48&&g<=57}function P(c,g){const{currentType:S}=g;if(S!==2)return!1;O(c);const I=b(c.currentPeek());return c.resetPeek(),I}function T(c,g){const{currentType:S}=g;if(S!==2)return!1;O(c);const I=c.currentPeek()==="-"?c.peek():c.currentPeek(),A=z(I);return c.resetPeek(),A}function F(c,g){const{currentType:S}=g;if(S!==2)return!1;O(c);const I=c.currentPeek()===sa;return c.resetPeek(),I}function H(c,g){const{currentType:S}=g;if(S!==7)return!1;O(c);const I=c.currentPeek()===".";return c.resetPeek(),I}function k(c,g){const{currentType:S}=g;if(S!==8)return!1;O(c);const I=b(c.currentPeek());return c.resetPeek(),I}function ee(c,g){const{currentType:S}=g;if(!(S===7||S===11))return!1;O(c);const I=c.currentPeek()===":";return c.resetPeek(),I}function ne(c,g){const{currentType:S}=g;if(S!==9)return!1;const I=()=>{const V=c.currentPeek();return V==="{"?b(c.peek()):V==="@"||V==="|"||V===":"||V==="."||V===kt||!V?!1:V===Qe?(c.peek(),I()):Ee(c,!1)},A=I();return c.resetPeek(),A}function _e(c){O(c);const g=c.currentPeek()==="|";return c.resetPeek(),g}function Ee(c,g=!0){const S=(A=!1,V="")=>{const y=c.currentPeek();return y==="{"||y==="@"||!y?A:y==="|"?!(V===kt||V===Qe):y===kt?(c.peek(),S(!0,kt)):y===Qe?(c.peek(),S(!0,Qe)):!0},I=S();return g&&c.resetPeek(),I}function ve(c,g){const S=c.currentChar();return S===Jt?Jt:g(S)?(c.next(),S):null}function Ze(c){const g=c.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function ft(c){return ve(c,Ze)}function ut(c){const g=c.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function ze(c){return ve(c,ut)}function ce(c){const g=c.charCodeAt(0);return g>=48&&g<=57}function ae(c){return ve(c,ce)}function Pe(c){const g=c.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function Be(c){return ve(c,Pe)}function Me(c){let g="",S="";for(;g=ae(c);)S+=g;return S}function Ae(c){let g="";for(;;){const S=c.currentChar();if(S==="{"||S==="}"||S==="@"||S==="|"||!S)break;if(S===kt||S===Qe)if(Ee(c))g+=S,c.next();else{if(_e(c))break;g+=S,c.next()}else g+=S,c.next()}return g}function Tt(c){W(c);let g="",S="";for(;g=ze(c);)S+=g;return c.currentChar()===Jt&&d(me.UNTERMINATED_CLOSING_BRACE,o(),0),S}function pt(c){W(c);let g="";return c.currentChar()==="-"?(c.next(),g+=`-${Me(c)}`):g+=Me(c),c.currentChar()===Jt&&d(me.UNTERMINATED_CLOSING_BRACE,o(),0),g}function wt(c){return c!==sa&&c!==Qe}function yt(c){W(c),D(c,"'");let g="",S="";for(;g=ve(c,wt);)g==="\\"?S+=et(c):S+=g;const I=c.currentChar();return I===Qe||I===Jt?(d(me.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),I===Qe&&(c.next(),D(c,"'")),S):(D(c,"'"),S)}function et(c){const g=c.currentChar();switch(g){case"\\":case"'":return c.next(),`\\${g}`;case"u":return _t(c,g,4);case"U":return _t(c,g,6);default:return d(me.UNKNOWN_ESCAPE_SEQUENCE,o(),0,g),""}}function _t(c,g,S){D(c,g);let I="";for(let A=0;A{const I=c.currentChar();return I==="{"||I==="@"||I==="|"||I==="("||I===")"||!I||I===kt?S:(S+=I,c.next(),g(S))};return g("")}function m(c){W(c);const g=D(c,"|");return W(c),g}function h(c,g){let S=null;switch(c.currentChar()){case"{":return g.braceNest>=1&&d(me.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),c.next(),S=v(g,2,"{"),W(c),g.braceNest++,S;case"}":return g.braceNest>0&&g.currentType===2&&d(me.EMPTY_PLACEHOLDER,o(),0),c.next(),S=v(g,3,"}"),g.braceNest--,g.braceNest>0&&W(c),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),S;case"@":return g.braceNest>0&&d(me.UNTERMINATED_CLOSING_BRACE,o(),0),S=L(c,g)||E(g),g.braceNest=0,S;default:{let A=!0,V=!0,y=!0;if(_e(c))return g.braceNest>0&&d(me.UNTERMINATED_CLOSING_BRACE,o(),0),S=v(g,1,m(c)),g.braceNest=0,g.inLinked=!1,S;if(g.braceNest>0&&(g.currentType===4||g.currentType===5||g.currentType===6))return d(me.UNTERMINATED_CLOSING_BRACE,o(),0),g.braceNest=0,U(c,g);if(A=P(c,g))return S=v(g,4,Tt(c)),W(c),S;if(V=T(c,g))return S=v(g,5,pt(c)),W(c),S;if(y=F(c,g))return S=v(g,6,yt(c)),W(c),S;if(!A&&!V&&!y)return S=v(g,12,Ge(c)),d(me.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,S.value),W(c),S;break}}return S}function L(c,g){const{currentType:S}=g;let I=null;const A=c.currentChar();switch((S===7||S===8||S===11||S===9)&&(A===Qe||A===kt)&&d(me.INVALID_LINKED_FORMAT,o(),0),A){case"@":return c.next(),I=v(g,7,"@"),g.inLinked=!0,I;case".":return W(c),c.next(),v(g,8,".");case":":return W(c),c.next(),v(g,9,":");default:return _e(c)?(I=v(g,1,m(c)),g.braceNest=0,g.inLinked=!1,I):H(c,g)||ee(c,g)?(W(c),L(c,g)):k(c,g)?(W(c),v(g,11,st(c))):ne(c,g)?(W(c),A==="{"?h(c,g)||I:v(g,10,nt(c))):(S===7&&d(me.INVALID_LINKED_FORMAT,o(),0),g.braceNest=0,g.inLinked=!1,U(c,g))}}function U(c,g){let S={type:13};if(g.braceNest>0)return h(c,g)||E(g);if(g.inLinked)return L(c,g)||E(g);switch(c.currentChar()){case"{":return h(c,g)||E(g);case"}":return d(me.UNBALANCED_CLOSING_BRACE,o(),0),c.next(),v(g,3,"}");case"@":return L(c,g)||E(g);default:{if(_e(c))return S=v(g,1,m(c)),g.braceNest=0,g.inLinked=!1,S;if(Ee(c))return v(g,0,Ae(c));break}}return S}function R(){const{currentType:c,offset:g,startLoc:S,endLoc:I}=r;return r.lastType=c,r.lastOffset=g,r.lastStartLoc=S,r.lastEndLoc=I,r.offset=i(),r.startLoc=o(),n.currentChar()===Jt?v(r,13):U(n,r)}return{nextToken:R,currentOffset:i,currentPosition:o,context:u}}const yu="parser",_u=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function vu(e,t,s){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const n=parseInt(t||s,16);return n<=55295||n>=57344?String.fromCodePoint(n):"�"}}}function bu(e={}){const t=e.location!==!1,{onError:s}=e;function n(b,z,P,T,...F){const H=b.currentPosition();if(H.offset+=T,H.column+=T,s){const k=t?Mi(P,H):null,ee=ei(z,k,{domain:yu,args:F});s(ee)}}function i(b,z,P){const T={type:b};return t&&(T.start=z,T.end=z,T.loc={start:P,end:P}),T}function o(b,z,P,T){t&&(b.end=z,b.loc&&(b.loc.end=P))}function a(b,z){const P=b.context(),T=i(3,P.offset,P.startLoc);return T.value=z,o(T,b.currentOffset(),b.currentPosition()),T}function l(b,z){const P=b.context(),{lastOffset:T,lastStartLoc:F}=P,H=i(5,T,F);return H.index=parseInt(z,10),b.nextToken(),o(H,b.currentOffset(),b.currentPosition()),H}function r(b,z){const P=b.context(),{lastOffset:T,lastStartLoc:F}=P,H=i(4,T,F);return H.key=z,b.nextToken(),o(H,b.currentOffset(),b.currentPosition()),H}function u(b,z){const P=b.context(),{lastOffset:T,lastStartLoc:F}=P,H=i(9,T,F);return H.value=z.replace(_u,vu),b.nextToken(),o(H,b.currentOffset(),b.currentPosition()),H}function f(b){const z=b.nextToken(),P=b.context(),{lastOffset:T,lastStartLoc:F}=P,H=i(8,T,F);return z.type!==11?(n(b,me.UNEXPECTED_EMPTY_LINKED_MODIFIER,P.lastStartLoc,0),H.value="",o(H,T,F),{nextConsumeToken:z,node:H}):(z.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,It(z)),H.value=z.value||"",o(H,b.currentOffset(),b.currentPosition()),{node:H})}function d(b,z){const P=b.context(),T=i(7,P.offset,P.startLoc);return T.value=z,o(T,b.currentOffset(),b.currentPosition()),T}function v(b){const z=b.context(),P=i(6,z.offset,z.startLoc);let T=b.nextToken();if(T.type===8){const F=f(b);P.modifier=F.node,T=F.nextConsumeToken||b.nextToken()}switch(T.type!==9&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(T)),T=b.nextToken(),T.type===2&&(T=b.nextToken()),T.type){case 10:T.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(T)),P.key=d(b,T.value||"");break;case 4:T.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(T)),P.key=r(b,T.value||"");break;case 5:T.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(T)),P.key=l(b,T.value||"");break;case 6:T.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(T)),P.key=u(b,T.value||"");break;default:{n(b,me.UNEXPECTED_EMPTY_LINKED_KEY,z.lastStartLoc,0);const F=b.context(),H=i(7,F.offset,F.startLoc);return H.value="",o(H,F.offset,F.startLoc),P.key=H,o(P,F.offset,F.startLoc),{nextConsumeToken:T,node:P}}}return o(P,b.currentOffset(),b.currentPosition()),{node:P}}function E(b){const z=b.context(),P=z.currentType===1?b.currentOffset():z.offset,T=z.currentType===1?z.endLoc:z.startLoc,F=i(2,P,T);F.items=[];let H=null;do{const ne=H||b.nextToken();switch(H=null,ne.type){case 0:ne.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(ne)),F.items.push(a(b,ne.value||""));break;case 5:ne.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(ne)),F.items.push(l(b,ne.value||""));break;case 4:ne.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(ne)),F.items.push(r(b,ne.value||""));break;case 6:ne.value==null&&n(b,me.UNEXPECTED_LEXICAL_ANALYSIS,z.lastStartLoc,0,It(ne)),F.items.push(u(b,ne.value||""));break;case 7:{const _e=v(b);F.items.push(_e.node),H=_e.nextConsumeToken||null;break}}}while(z.currentType!==13&&z.currentType!==1);const k=z.currentType===1?z.lastOffset:b.currentOffset(),ee=z.currentType===1?z.lastEndLoc:b.currentPosition();return o(F,k,ee),F}function D(b,z,P,T){const F=b.context();let H=T.items.length===0;const k=i(1,z,P);k.cases=[],k.cases.push(T);do{const ee=E(b);H||(H=ee.items.length===0),k.cases.push(ee)}while(F.currentType!==13);return H&&n(b,me.MUST_HAVE_MESSAGES_IN_PLURAL,P,0),o(k,b.currentOffset(),b.currentPosition()),k}function O(b){const z=b.context(),{offset:P,startLoc:T}=z,F=E(b);return z.currentType===13?F:D(b,P,T,F)}function W(b){const z=hu(b,Fe({},e)),P=z.context(),T=i(0,P.offset,P.startLoc);return t&&T.loc&&(T.loc.source=b),T.body=O(z),e.onCacheKey&&(T.cacheKey=e.onCacheKey(b)),P.currentType!==13&&n(z,me.UNEXPECTED_LEXICAL_ANALYSIS,P.lastStartLoc,0,b[P.offset]||""),o(T,z.currentOffset(),z.currentPosition()),T}return{parse:W}}function It(e){if(e.type===13)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function Cu(e,t={}){const s={ast:e,helpers:new Set};return{context:()=>s,helper:o=>(s.helpers.add(o),o)}}function na(e,t){for(let s=0;sia(s)),e}function ia(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let s=0;sl;function u(W,b){l.code+=W}function f(W,b=!0){const z=b?i:"";u(o?z+" ".repeat(W):z)}function d(W=!0){const b=++l.indentLevel;W&&f(b)}function v(W=!0){const b=--l.indentLevel;W&&f(b)}function E(){f(l.indentLevel)}return{context:r,push:u,indent:d,deindent:v,newline:E,helper:W=>`_${W}`,needIndent:()=>l.needIndent}}function Eu(e,t){const{helper:s}=e;e.push(`${s("linked")}(`),Ds(e,t.key),t.modifier?(e.push(", "),Ds(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function zu(e,t){const{helper:s,needIndent:n}=e;e.push(`${s("normalize")}([`),e.indent(n());const i=t.items.length;for(let o=0;o1){e.push(`${s("plural")}([`),e.indent(n());const i=t.cases.length;for(let o=0;o{const s=G(t.mode)?t.mode:"normal",n=G(t.filename)?t.filename:"message.intl",i=!!t.sourceMap,o=t.breakLineCode!=null?t.breakLineCode:s==="arrow"?";":` +`,a=t.needIndent?t.needIndent:s!=="arrow",l=e.helpers||[],r=wu(e,{mode:s,filename:n,sourceMap:i,breakLineCode:o,needIndent:a});r.push(s==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),r.indent(a),l.length>0&&(r.push(`const { ${co(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),r.newline()),r.push("return "),Ds(r,e),r.deindent(a),r.push("}"),delete e.helpers;const{code:u,map:f}=r.context();return{ast:e,code:u,map:f?f.toJSON():void 0}};function Mu(e,t={}){const s=Fe({},t),n=!!s.jit,i=!!s.minify,o=s.optimize==null?!0:s.optimize,l=bu(s).parse(e);return n?(o&&Tu(l),i&&ws(l),{ast:l,code:""}):(Su(l,s),Pu(l,s))}/*! + * core-base v11.0.0-rc.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */function Au(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(us().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(us().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function hi(e){return s=>xu(s,e)}function xu(e,t){const s=Du(t);if(s==null)throw rn(0);if(uo(s)===1){const o=Ru(s);return e.plural(o.reduce((a,l)=>[...a,oa(e,l)],[]))}else return oa(e,s)}const Nu=["b","body"];function Du(e){return is(e,Nu)}const Ou=["c","cases"];function Ru(e){return is(e,Ou,[])}function oa(e,t){const s=ku(t);if(s!=null)return e.type==="text"?s:e.normalize([s]);{const n=Wu(t).reduce((i,o)=>[...i,Ai(e,o)],[]);return e.normalize(n)}}const Fu=["s","static"];function ku(e){return is(e,Fu)}const Uu=["i","items"];function Wu(e){return is(e,Uu,[])}function Ai(e,t){const s=uo(t);switch(s){case 3:return Pn(t,s);case 9:return Pn(t,s);case 4:{const n=t;if(Ct(n,"k")&&n.k)return e.interpolate(e.named(n.k));if(Ct(n,"key")&&n.key)return e.interpolate(e.named(n.key));throw rn(s)}case 5:{const n=t;if(Ct(n,"i")&&Ne(n.i))return e.interpolate(e.list(n.i));if(Ct(n,"index")&&Ne(n.index))return e.interpolate(e.list(n.index));throw rn(s)}case 6:{const n=t,i=ju(n),o=Bu(n);return e.linked(Ai(e,o),i?Ai(e,i):void 0,e.type)}case 7:return Pn(t,s);case 8:return Pn(t,s);default:throw new Error(`unhandled node on format message part: ${s}`)}}const Vu=["t","type"];function uo(e){return is(e,Vu)}const $u=["v","value"];function Pn(e,t){const s=is(e,$u);if(s)return s;throw rn(t)}const Hu=["m","modifier"];function ju(e){return is(e,Hu)}const Yu=["k","key"];function Bu(e){const t=is(e,Yu);if(t)return t;throw rn(6)}function is(e,t,s){for(let n=0;ne;let Mn=ye();function Os(e){return ue(e)&&uo(e)===0&&(Ct(e,"b")||Ct(e,"body"))}function Xu(e,t={}){let s=!1;const n=t.onError||cu;return t.onError=i=>{s=!0,n(i)},{...Mu(e,t),detectError:s}}function Ku(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){re(t.warnHtmlMessage)&&t.warnHtmlMessage;const n=(t.onCacheKey||Gu)(e),i=Mn[n];if(i)return i;const{ast:o,detectError:a}=Xu(e,{...t,location:!1,jit:!0}),l=hi(o);return a?l:Mn[n]=l}else{const s=e.cacheKey;if(s){const n=Mn[s];return n||(Mn[s]=hi(e))}else return hi(e)}}let cn=null;function Ju(e){cn=e}function Qu(e,t,s){cn&&cn.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:s})}const qu=Zu("function:translate");function Zu(e){return t=>cn&&cn.emit(e,t)}const $t={INVALID_ARGUMENT:ru,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23},e0=24;function Ht(e){return ei(e,null,void 0)}function po(e,t){return t.locale!=null?aa(t.locale):aa(e.locale)}let yi;function aa(e){if(G(e))return e;if(Te(e)){if(e.resolvedOnce&&yi!=null)return yi;if(e.constructor.name==="Function"){const t=e();if(iu(t))throw Ht($t.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return yi=t}else throw Ht($t.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Ht($t.NOT_SUPPORT_LOCALE_TYPE)}function t0(e,t,s){return[...new Set([s,...De(t)?t:ue(t)?Object.keys(t):G(t)?[t]:[s]])]}function $l(e,t,s){const n=G(s)?s:fn,i=e;i.__localeChainCache||(i.__localeChainCache=new Map);let o=i.__localeChainCache.get(n);if(!o){o=[];let a=[s];for(;De(a);)a=la(o,a,t);const l=De(t)||!oe(t)?t:t.default?t.default:null;a=G(l)?[l]:l,De(a)&&la(o,a,!1),i.__localeChainCache.set(n,o)}return o}function la(e,t,s){let n=!0;for(let i=0;i{a===void 0?a=l:a+=l},v[1]=()=>{a!==void 0&&(t.push(a),a=void 0)},v[2]=()=>{v[0](),i++},v[3]=()=>{if(i>0)i--,n=4,v[0]();else{if(i=0,a===void 0||(a=r0(a),a===!1))return!1;v[1]()}};function E(){const D=e[s+1];if(n===5&&D==="'"||n===6&&D==='"')return s++,l="\\"+D,v[0](),!0}for(;n!==null;)if(s++,o=e[s],!(o==="\\"&&E())){if(r=l0(o),d=os[n],u=d[r]||d.l||8,u===8||(n=u[0],u[1]!==void 0&&(f=v[u[1]],f&&(l=o,f()===!1))))return;if(n===7)return t}}const ra=new Map;function f0(e,t){return ue(e)?e[t]:null}function u0(e,t){if(!ue(e))return null;let s=ra.get(t);if(s||(s=c0(t),s&&ra.set(t,s)),!s)return null;const n=s.length;let i=e,o=0;for(;o`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function g0(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&ue(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?fa(e):t==="vnode"&&ue(e)&&"__v_isVNode"in e?fa(e.children):e}}let Hl;function d0(e){Hl=e}let jl;function m0(e){jl=e}let Yl;function h0(e){Yl=e}let Bl=null;const y0=e=>{Bl=e},_0=()=>Bl;let Gl=null;const ua=e=>{Gl=e},v0=()=>Gl;let pa=0;function b0(e={}){const t=Te(e.onWarn)?e.onWarn:au,s=G(e.version)?e.version:p0,n=G(e.locale)||Te(e.locale)?e.locale:fn,i=Te(n)?fn:n,o=De(e.fallbackLocale)||oe(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,a=oe(e.messages)?e.messages:_i(i),l=oe(e.datetimeFormats)?e.datetimeFormats:_i(i),r=oe(e.numberFormats)?e.numberFormats:_i(i),u=Fe(ye(),e.modifiers,g0()),f=e.pluralRules||ye(),d=Te(e.missing)?e.missing:null,v=re(e.missingWarn)||Ns(e.missingWarn)?e.missingWarn:!0,E=re(e.fallbackWarn)||Ns(e.fallbackWarn)?e.fallbackWarn:!0,D=!!e.fallbackFormat,O=!!e.unresolving,W=Te(e.postTranslation)?e.postTranslation:null,b=oe(e.processor)?e.processor:null,z=re(e.warnHtmlMessage)?e.warnHtmlMessage:!0,P=!!e.escapeParameter,T=Te(e.messageCompiler)?e.messageCompiler:Hl,F=Te(e.messageResolver)?e.messageResolver:jl||f0,H=Te(e.localeFallbacker)?e.localeFallbacker:Yl||t0,k=ue(e.fallbackContext)?e.fallbackContext:void 0,ee=e,ne=ue(ee.__datetimeFormatters)?ee.__datetimeFormatters:new Map,_e=ue(ee.__numberFormatters)?ee.__numberFormatters:new Map,Ee=ue(ee.__meta)?ee.__meta:{};pa++;const ve={version:s,cid:pa,locale:n,fallbackLocale:o,messages:a,modifiers:u,pluralRules:f,missing:d,missingWarn:v,fallbackWarn:E,fallbackFormat:D,unresolving:O,postTranslation:W,processor:b,warnHtmlMessage:z,escapeParameter:P,messageCompiler:T,messageResolver:F,localeFallbacker:H,fallbackContext:k,onWarn:t,__meta:Ee};return ve.datetimeFormats=l,ve.numberFormats=r,ve.__datetimeFormatters=ne,ve.__numberFormatters=_e,__INTLIFY_PROD_DEVTOOLS__&&Qu(ve,s,Ee),ve}const _i=e=>({[e]:ye()});function go(e,t,s,n,i){const{missing:o,onWarn:a}=e;if(o!==null){const l=o(e,s,t,i);return G(l)?l:t}else return t}function Ys(e,t,s){const n=e;n.__localeChainCache=new Map,e.localeFallbacker(e,s,t)}function C0(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function S0(e,t){const s=t.indexOf(e);if(s===-1)return!1;for(let n=s+1;n{Xl.includes(r)?a[r]=s[r]:o[r]=s[r]}),G(n)?o.locale=n:oe(n)&&(a=n),oe(i)&&(a=i),[o.key||"",l,o,a]}function da(e,t,s){const n=e;for(const i in s){const o=`${t}__${i}`;n.__datetimeFormatters.has(o)&&n.__datetimeFormatters.delete(o)}}function ma(e,...t){const{numberFormats:s,unresolving:n,fallbackLocale:i,onWarn:o,localeFallbacker:a}=e,{__numberFormatters:l}=e,[r,u,f,d]=Ni(...t),v=re(f.missingWarn)?f.missingWarn:e.missingWarn;re(f.fallbackWarn)?f.fallbackWarn:e.fallbackWarn;const E=!!f.part,D=po(e,f),O=a(e,i,D);if(!G(r)||r==="")return new Intl.NumberFormat(D,d).format(u);let W={},b,z=null;const P="number format";for(let H=0;H{Kl.includes(r)?a[r]=s[r]:o[r]=s[r]}),G(n)?o.locale=n:oe(n)&&(a=n),oe(i)&&(a=i),[o.key||"",l,o,a]}function ha(e,t,s){const n=e;for(const i in s){const o=`${t}__${i}`;n.__numberFormatters.has(o)&&n.__numberFormatters.delete(o)}}const T0=e=>e,w0=e=>"",E0="text",z0=e=>e.length===0?"":co(e),I0=ou;function ya(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function L0(e){const t=Ne(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Ne(e.named.count)||Ne(e.named.n))?Ne(e.named.count)?e.named.count:Ne(e.named.n)?e.named.n:t:t}function P0(e,t){t.count||(t.count=e),t.n||(t.n=e)}function M0(e={}){const t=e.locale,s=L0(e),n=ue(e.pluralRules)&&G(t)&&Te(e.pluralRules[t])?e.pluralRules[t]:ya,i=ue(e.pluralRules)&&G(t)&&Te(e.pluralRules[t])?ya:void 0,o=b=>b[n(s,b.length,i)],a=e.list||[],l=b=>a[b],r=e.named||ye();Ne(e.pluralIndex)&&P0(s,r);const u=b=>r[b];function f(b,z){const P=Te(e.messages)?e.messages(b,!!z):ue(e.messages)?e.messages[b]:!1;return P||(e.parent?e.parent.message(b):w0)}const d=b=>e.modifiers?e.modifiers[b]:T0,v=oe(e.processor)&&Te(e.processor.normalize)?e.processor.normalize:z0,E=oe(e.processor)&&Te(e.processor.interpolate)?e.processor.interpolate:I0,D=oe(e.processor)&&G(e.processor.type)?e.processor.type:E0,W={list:l,named:u,plural:o,linked:(b,...z)=>{const[P,T]=z;let F="text",H="";z.length===1?ue(P)?(H=P.modifier||H,F=P.type||F):G(P)&&(H=P||H):z.length===2&&(G(P)&&(H=P||H),G(T)&&(F=T||F));const k=f(b,!0)(W),ee=F==="vnode"&&De(k)&&H?k[0]:k;return H?d(H)(ee,F):ee},message:f,type:D,interpolate:E,normalize:v,values:Fe(ye(),a,r)};return W}const _a=()=>"",mt=e=>Te(e);function va(e,...t){const{fallbackFormat:s,postTranslation:n,unresolving:i,messageCompiler:o,fallbackLocale:a,messages:l}=e,[r,u]=Di(...t),f=re(u.missingWarn)?u.missingWarn:e.missingWarn,d=re(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn,v=re(u.escapeParameter)?u.escapeParameter:e.escapeParameter,E=!!u.resolvedMessage,D=G(u.default)||re(u.default)?re(u.default)?o?r:()=>r:u.default:s?o?r:()=>r:null,O=s||D!=null&&(G(D)||Te(D)),W=po(e,u);v&&A0(u);let[b,z,P]=E?[r,W,l[W]||ye()]:Jl(e,r,W,a,d,f),T=b,F=r;if(!E&&!(G(T)||Os(T)||mt(T))&&O&&(T=D,F=T),!E&&(!(G(T)||Os(T)||mt(T))||!G(z)))return i?ti:r;let H=!1;const k=()=>{H=!0},ee=mt(T)?T:Ql(e,r,z,T,F,k);if(H)return T;const ne=D0(e,z,P,u),_e=M0(ne),Ee=x0(e,ee,_e),ve=n?n(Ee,r):Ee;if(__INTLIFY_PROD_DEVTOOLS__){const Ze={timestamp:Date.now(),key:G(r)?r:mt(T)?T.key:"",locale:z||(mt(T)?T.locale:""),format:G(T)?T:mt(T)?T.source:"",message:ve};Ze.meta=Fe({},e.__meta,_0()||{}),qu(Ze)}return ve}function A0(e){De(e.list)?e.list=e.list.map(t=>G(t)?ta(t):t):ue(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=ta(e.named[t]))})}function Jl(e,t,s,n,i,o){const{messages:a,onWarn:l,messageResolver:r,localeFallbacker:u}=e,f=u(e,n,s);let d=ye(),v,E=null;const D="translate";for(let O=0;On;return u.locale=s,u.key=t,u}const r=a(n,N0(e,s,i,n,l,o));return r.locale=s,r.key=t,r.source=n,r}function x0(e,t,s){return t(s)}function Di(...e){const[t,s,n]=e,i=ye();if(!G(t)&&!Ne(t)&&!mt(t)&&!Os(t))throw Ht($t.INVALID_ARGUMENT);const o=Ne(t)?String(t):(mt(t),t);return Ne(s)?i.plural=s:G(s)?i.default=s:oe(s)&&!Zn(s)?i.named=s:De(s)&&(i.list=s),Ne(n)?i.plural=n:G(n)?i.default=n:oe(n)&&Fe(i,n),[o,i]}function N0(e,t,s,n,i,o){return{locale:t,key:s,warnHtmlMessage:i,onError:a=>{throw o&&o(a),a},onCacheKey:a=>Zf(t,s,a)}}function D0(e,t,s,n){const{modifiers:i,pluralRules:o,messageResolver:a,fallbackLocale:l,fallbackWarn:r,missingWarn:u,fallbackContext:f}=e,v={locale:t,modifiers:i,pluralRules:o,messages:(E,D)=>{let O=a(s,E);if(O==null&&(f||D)){const[,,W]=Jl(f||e,E,t,l,r,u);O=a(W,E)}if(G(O)||Os(O)){let W=!1;const z=Ql(e,E,t,O,E,()=>{W=!0});return W?_a:z}else return mt(O)?O:_a}};return e.processor&&(v.processor=e.processor),n.list&&(v.list=n.list),n.named&&(v.named=n.named),Ne(n.plural)&&(v.pluralIndex=n.plural),v}Au();/*! + * vue-i18n v11.0.0-rc.1 + * (c) 2024 kazuya kawaguchi + * Released under the MIT License. + */const O0="11.0.0-rc.1";function R0(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(us().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(us().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(us().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(us().__INTLIFY_PROD_DEVTOOLS__=!1)}const tt={UNEXPECTED_RETURN_TYPE:e0,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function ct(e,...t){return ei(e,null,void 0)}const Oi=ns("__translateVNode"),Ri=ns("__datetimeParts"),Fi=ns("__numberParts"),ql=ns("__setPluralRules"),Zl=ns("__injectWithOption"),ki=ns("__dispose");function un(e){if(!ue(e))return e;for(const t in e)if(Ct(e,t))if(!t.includes("."))ue(e[t])&&un(e[t]);else{const s=t.split("."),n=s.length-1;let i=e,o=!1;for(let a=0;a{if("locale"in l&&"resource"in l){const{locale:r,resource:u}=l;r?(a[r]=a[r]||ye(),On(u,a[r])):On(u,a)}else G(l)&&On(JSON.parse(l),a)}),i==null&&o)for(const l in a)Ct(a,l)&&un(a[l]);return a}function er(e){return e.type}function tr(e,t,s){let n=ue(t.messages)?t.messages:ye();"__i18nGlobal"in s&&(n=mo(e.locale.value,{messages:n,__i18n:s.__i18nGlobal}));const i=Object.keys(n);i.length&&i.forEach(o=>{e.mergeLocaleMessage(o,n[o])});{if(ue(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(a=>{e.mergeDateTimeFormat(a,t.datetimeFormats[a])})}if(ue(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(a=>{e.mergeNumberFormat(a,t.numberFormats[a])})}}}function ba(e){return je(hn,null,e,0)}const Ca="__INTLIFY_META__",Sa=()=>[],F0=()=>!1;let Ta=0;function wa(e){return(t,s,n,i)=>e(s,n,an()||void 0,i)}const k0=()=>{const e=an();let t=null;return e&&(t=er(e)[Ca])?{[Ca]:t}:null};function ho(e={}){const{__root:t,__injectWithOption:s}=e,n=t===void 0,i=e.flatJson,o=Hn?$:gc;let a=re(e.inheritLocale)?e.inheritLocale:!0;const l=o(t&&a?t.locale.value:G(e.locale)?e.locale:fn),r=o(t&&a?t.fallbackLocale.value:G(e.fallbackLocale)||De(e.fallbackLocale)||oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:l.value),u=o(mo(l.value,e)),f=o(oe(e.datetimeFormats)?e.datetimeFormats:{[l.value]:{}}),d=o(oe(e.numberFormats)?e.numberFormats:{[l.value]:{}});let v=t?t.missingWarn:re(e.missingWarn)||Ns(e.missingWarn)?e.missingWarn:!0,E=t?t.fallbackWarn:re(e.fallbackWarn)||Ns(e.fallbackWarn)?e.fallbackWarn:!0,D=t?t.fallbackRoot:re(e.fallbackRoot)?e.fallbackRoot:!0,O=!!e.fallbackFormat,W=Te(e.missing)?e.missing:null,b=Te(e.missing)?wa(e.missing):null,z=Te(e.postTranslation)?e.postTranslation:null,P=t?t.warnHtmlMessage:re(e.warnHtmlMessage)?e.warnHtmlMessage:!0,T=!!e.escapeParameter;const F=t?t.modifiers:oe(e.modifiers)?e.modifiers:{};let H=e.pluralRules||t&&t.pluralRules,k;k=(()=>{n&&ua(null);const y={version:O0,locale:l.value,fallbackLocale:r.value,messages:u.value,modifiers:F,pluralRules:H,missing:b===null?void 0:b,missingWarn:v,fallbackWarn:E,fallbackFormat:O,unresolving:!0,postTranslation:z===null?void 0:z,warnHtmlMessage:P,escapeParameter:T,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};y.datetimeFormats=f.value,y.numberFormats=d.value,y.__datetimeFormatters=oe(k)?k.__datetimeFormatters:void 0,y.__numberFormatters=oe(k)?k.__numberFormatters:void 0;const w=b0(y);return n&&ua(w),w})(),Ys(k,l.value,r.value);function ne(){return[l.value,r.value,u.value,f.value,d.value]}const _e=Ts({get:()=>l.value,set:y=>{l.value=y,k.locale=l.value}}),Ee=Ts({get:()=>r.value,set:y=>{r.value=y,k.fallbackLocale=r.value,Ys(k,l.value,y)}}),ve=Ts(()=>u.value),Ze=Ts(()=>f.value),ft=Ts(()=>d.value);function ut(){return Te(z)?z:null}function ze(y){z=y,k.postTranslation=y}function ce(){return W}function ae(y){y!==null&&(b=wa(y)),W=y,k.missing=b}const Pe=(y,w,Y,X,se,ie)=>{ne();let pe;try{__INTLIFY_PROD_DEVTOOLS__,n||(k.fallbackContext=t?v0():void 0),pe=y(k)}finally{__INTLIFY_PROD_DEVTOOLS__,n||(k.fallbackContext=void 0)}if(Y!=="translate exists"&&Ne(pe)&&pe===ti||Y==="translate exists"&&!pe){const[he,Ve]=w();return t&&D?X(t):se(he)}else{if(ie(pe))return pe;throw ct(tt.UNEXPECTED_RETURN_TYPE)}};function Be(...y){return Pe(w=>Reflect.apply(va,null,[w,...y]),()=>Di(...y),"translate",w=>Reflect.apply(w.t,w,[...y]),w=>w,w=>G(w))}function Me(...y){const[w,Y,X]=y;if(X&&!ue(X))throw ct(tt.INVALID_ARGUMENT);return Be(w,Y,Fe({resolvedMessage:!0},X||{}))}function Ae(...y){return Pe(w=>Reflect.apply(ga,null,[w,...y]),()=>xi(...y),"datetime format",w=>Reflect.apply(w.d,w,[...y]),()=>ca,w=>G(w))}function Tt(...y){return Pe(w=>Reflect.apply(ma,null,[w,...y]),()=>Ni(...y),"number format",w=>Reflect.apply(w.n,w,[...y]),()=>ca,w=>G(w))}function pt(y){return y.map(w=>G(w)||Ne(w)||re(w)?ba(String(w)):w)}const yt={normalize:pt,interpolate:y=>y,type:"vnode"};function et(...y){return Pe(w=>{let Y;const X=w;try{X.processor=yt,Y=Reflect.apply(va,null,[X,...y])}finally{X.processor=null}return Y},()=>Di(...y),"translate",w=>w[Oi](...y),w=>[ba(w)],w=>De(w))}function _t(...y){return Pe(w=>Reflect.apply(ma,null,[w,...y]),()=>Ni(...y),"number format",w=>w[Fi](...y),Sa,w=>G(w)||De(w))}function gt(...y){return Pe(w=>Reflect.apply(ga,null,[w,...y]),()=>xi(...y),"datetime format",w=>w[Ri](...y),Sa,w=>G(w)||De(w))}function Ge(y){H=y,k.pluralRules=H}function st(y,w){return Pe(()=>{if(!y)return!1;const Y=G(w)?w:l.value,X=h(Y),se=k.messageResolver(X,y);return Os(se)||mt(se)||G(se)},()=>[y],"translate exists",Y=>Reflect.apply(Y.te,Y,[y,w]),F0,Y=>re(Y))}function nt(y){let w=null;const Y=$l(k,r.value,l.value);for(let X=0;X{a&&(l.value=y,k.locale=y,Ys(k,l.value,r.value))}),Yt(t.fallbackLocale,y=>{a&&(r.value=y,k.fallbackLocale=y,Ys(k,l.value,r.value))}));const V={id:Ta,locale:_e,fallbackLocale:Ee,get inheritLocale(){return a},set inheritLocale(y){a=y,y&&t&&(l.value=t.locale.value,r.value=t.fallbackLocale.value,Ys(k,l.value,r.value))},get availableLocales(){return Object.keys(u.value).sort()},messages:ve,get modifiers(){return F},get pluralRules(){return H||{}},get isGlobal(){return n},get missingWarn(){return v},set missingWarn(y){v=y,k.missingWarn=v},get fallbackWarn(){return E},set fallbackWarn(y){E=y,k.fallbackWarn=E},get fallbackRoot(){return D},set fallbackRoot(y){D=y},get fallbackFormat(){return O},set fallbackFormat(y){O=y,k.fallbackFormat=O},get warnHtmlMessage(){return P},set warnHtmlMessage(y){P=y,k.warnHtmlMessage=y},get escapeParameter(){return T},set escapeParameter(y){T=y,k.escapeParameter=y},t:Be,getLocaleMessage:h,setLocaleMessage:L,mergeLocaleMessage:U,getPostTranslationHandler:ut,setPostTranslationHandler:ze,getMissingHandler:ce,setMissingHandler:ae,[ql]:Ge};return V.datetimeFormats=Ze,V.numberFormats=ft,V.rt=Me,V.te=st,V.tm=m,V.d=Ae,V.n=Tt,V.getDateTimeFormat=R,V.setDateTimeFormat=c,V.mergeDateTimeFormat=g,V.getNumberFormat=S,V.setNumberFormat=I,V.mergeNumberFormat=A,V[Zl]=s,V[Oi]=et,V[Ri]=gt,V[Fi]=_t,V}function U0(e){const t=G(e.locale)?e.locale:fn,s=G(e.fallbackLocale)||De(e.fallbackLocale)||oe(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,n=Te(e.missing)?e.missing:void 0,i=re(e.silentTranslationWarn)||Ns(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=re(e.silentFallbackWarn)||Ns(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,a=re(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,r=oe(e.modifiers)?e.modifiers:{},u=e.pluralizationRules,f=Te(e.postTranslation)?e.postTranslation:void 0,d=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,v=!!e.escapeParameterHtml,E=re(e.sync)?e.sync:!0;let D=e.messages;if(oe(e.sharedMessages)){const F=e.sharedMessages;D=Object.keys(F).reduce((k,ee)=>{const ne=k[ee]||(k[ee]={});return Fe(ne,F[ee]),k},D||{})}const{__i18n:O,__root:W,__injectWithOption:b}=e,z=e.datetimeFormats,P=e.numberFormats,T=e.flatJson;return{locale:t,fallbackLocale:s,messages:D,flatJson:T,datetimeFormats:z,numberFormats:P,missing:n,missingWarn:i,fallbackWarn:o,fallbackRoot:a,fallbackFormat:l,modifiers:r,pluralRules:u,postTranslation:f,warnHtmlMessage:d,escapeParameter:v,messageResolver:e.messageResolver,inheritLocale:E,__i18n:O,__root:W,__injectWithOption:b}}function Ui(e={}){const t=ho(U0(e)),{__extender:s}=e,n={id:t.id,get locale(){return t.locale.value},set locale(i){t.locale.value=i},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(i){t.fallbackLocale.value=i},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(i){t.setMissingHandler(i)},get silentTranslationWarn(){return re(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(i){t.missingWarn=re(i)?!i:i},get silentFallbackWarn(){return re(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(i){t.fallbackWarn=re(i)?!i:i},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(i){t.fallbackFormat=i},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(i){t.setPostTranslationHandler(i)},get sync(){return t.inheritLocale},set sync(i){t.inheritLocale=i},get warnHtmlInMessage(){return t.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(i){t.warnHtmlMessage=i!=="off"},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(i){t.escapeParameter=i},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...i){return Reflect.apply(t.t,t,[...i])},rt(...i){return Reflect.apply(t.rt,t,[...i])},te(i,o){return t.te(i,o)},tm(i){return t.tm(i)},getLocaleMessage(i){return t.getLocaleMessage(i)},setLocaleMessage(i,o){t.setLocaleMessage(i,o)},mergeLocaleMessage(i,o){t.mergeLocaleMessage(i,o)},d(...i){return Reflect.apply(t.d,t,[...i])},getDateTimeFormat(i){return t.getDateTimeFormat(i)},setDateTimeFormat(i,o){t.setDateTimeFormat(i,o)},mergeDateTimeFormat(i,o){t.mergeDateTimeFormat(i,o)},n(...i){return Reflect.apply(t.n,t,[...i])},getNumberFormat(i){return t.getNumberFormat(i)},setNumberFormat(i,o){t.setNumberFormat(i,o)},mergeNumberFormat(i,o){t.mergeNumberFormat(i,o)}};return n.__extender=s,n}function W0(e,t,s){return{beforeCreate(){const n=an();if(!n)throw ct(tt.UNEXPECTED_ERROR);const i=this.$options;if(i.i18n){const o=i.i18n;if(i.__i18n&&(o.__i18n=i.__i18n),o.__root=t,this===this.$root)this.$i18n=Ea(e,o);else{o.__injectWithOption=!0,o.__extender=s.__vueI18nExtend,this.$i18n=Ui(o);const a=this.$i18n;a.__extender&&(a.__disposer=a.__extender(this.$i18n))}}else if(i.__i18n)if(this===this.$root)this.$i18n=Ea(e,i);else{this.$i18n=Ui({__i18n:i.__i18n,__injectWithOption:!0,__extender:s.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;i.__i18nGlobal&&tr(t,i,i),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$te=(o,a)=>this.$i18n.te(o,a),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),s.__setInstance(n,this.$i18n)},mounted(){},unmounted(){const n=an();if(!n)throw ct(tt.UNEXPECTED_ERROR);const i=this.$i18n;delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,i.__disposer&&(i.__disposer(),delete i.__disposer,delete i.__extender),s.__deleteInstance(n),delete this.$i18n}}}function Ea(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[ql](t.pluralizationRules||e.pluralizationRules);const s=mo(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(s).forEach(n=>e.mergeLocaleMessage(n,s[n])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}const yo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function V0({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((n,i)=>[...n,...i.type===Le?i.children:[i]],[]):t.reduce((s,n)=>{const i=e[n];return i&&(s[n]=i()),s},ye())}function sr(){return Le}const $0=mn({name:"i18n-t",props:Fe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Ne(e)||!isNaN(e)}},yo),setup(e,t){const{slots:s,attrs:n}=t,i=e.i18n||_n({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(s).filter(d=>d!=="_"),a=ye();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=G(e.plural)?+e.plural:e.plural);const l=V0(t,o),r=i[Oi](e.keypath,l,a),u=Fe(ye(),n),f=G(e.tag)||ue(e.tag)?e.tag:sr();return Fl(f,u,r)}}}),za=$0;function H0(e){return De(e)&&!G(e[0])}function nr(e,t,s,n){const{slots:i,attrs:o}=t;return()=>{const a={part:!0};let l=ye();e.locale&&(a.locale=e.locale),G(e.format)?a.key=e.format:ue(e.format)&&(G(e.format.key)&&(a.key=e.format.key),l=Object.keys(e.format).reduce((v,E)=>s.includes(E)?Fe(ye(),v,{[E]:e.format[E]}):v,ye()));const r=n(e.value,a,l);let u=[a.key];De(r)?u=r.map((v,E)=>{const D=i[v.type],O=D?D({[v.type]:v.value,index:E,parts:r}):[v.value];return H0(O)&&(O[0].key=`${v.type}-${E}`),O}):G(r)&&(u=[r]);const f=Fe(ye(),o),d=G(e.tag)||ue(e.tag)?e.tag:sr();return Fl(d,f,u)}}const j0=mn({name:"i18n-n",props:Fe({value:{type:Number,required:!0},format:{type:[String,Object]}},yo),setup(e,t){const s=e.i18n||_n({useScope:e.scope,__useComponent:!0});return nr(e,t,Kl,(...n)=>s[Fi](...n))}}),Ia=j0;function Y0(e,t){const s=e;if(e.mode==="composition")return s.__getInstance(t)||e.global;{const n=s.__getInstance(t);return n!=null?n.__composer:e.global.__composer}}function B0(e){const t=a=>{const{instance:l,value:r}=a;if(!l||!l.$)throw ct(tt.UNEXPECTED_ERROR);const u=Y0(e,l.$),f=La(r);return[Reflect.apply(u.t,u,[...Pa(f)]),u]};return{created:(a,l)=>{const[r,u]=t(l);Hn&&e.global===u&&(a.__i18nWatcher=Yt(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),a.__composer=u,a.textContent=r},unmounted:a=>{Hn&&a.__i18nWatcher&&(a.__i18nWatcher(),a.__i18nWatcher=void 0,delete a.__i18nWatcher),a.__composer&&(a.__composer=void 0,delete a.__composer)},beforeUpdate:(a,{value:l})=>{if(a.__composer){const r=a.__composer,u=La(l);a.textContent=Reflect.apply(r.t,r,[...Pa(u)])}},getSSRProps:a=>{const[l]=t(a);return{textContent:l}}}}function La(e){if(G(e))return{path:e};if(oe(e)){if(!("path"in e))throw ct(tt.REQUIRED_VALUE,"path");return e}else throw ct(tt.INVALID_VALUE)}function Pa(e){const{path:t,locale:s,args:n,choice:i,plural:o}=e,a={},l=n||{};return G(s)&&(a.locale=s),Ne(i)&&(a.plural=i),Ne(o)&&(a.plural=o),[t,l,a]}function G0(e,t,...s){const n=oe(s[0])?s[0]:{};(re(n.globalInstall)?n.globalInstall:!0)&&([za.name,"I18nT"].forEach(o=>e.component(o,za)),[Ia.name,"I18nN"].forEach(o=>e.component(o,Ia)),[Aa.name,"I18nD"].forEach(o=>e.component(o,Aa))),e.directive("t",B0(t))}const X0=ns("global-vue-i18n");function K0(e={}){const t=__VUE_I18N_LEGACY_API__&&re(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=re(e.globalInjection)?e.globalInjection:!0,n=new Map,[i,o]=J0(e,t),a=ns("");function l(d){return n.get(d)||null}function r(d,v){n.set(d,v)}function u(d){n.delete(d)}const f={get mode(){return __VUE_I18N_LEGACY_API__&&t?"legacy":"composition"},async install(d,...v){if(d.__VUE_I18N_SYMBOL__=a,d.provide(d.__VUE_I18N_SYMBOL__,f),oe(v[0])){const O=v[0];f.__composerExtend=O.__composerExtend,f.__vueI18nExtend=O.__vueI18nExtend}let E=null;!t&&s&&(E=i1(d,f.global)),__VUE_I18N_FULL_INSTALL__&&G0(d,f,...v),__VUE_I18N_LEGACY_API__&&t&&d.mixin(W0(o,o.__composer,f));const D=d.unmount;d.unmount=()=>{E&&E(),f.dispose(),D()}},get global(){return o},dispose(){i.stop()},__instances:n,__getInstance:l,__setInstance:r,__deleteInstance:u};return f}function _n(e={}){const t=an();if(t==null)throw ct(tt.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw ct(tt.NOT_INSTALLED);const s=Q0(t),n=Z0(s),i=er(t),o=q0(e,i);if(o==="global")return tr(n,e,i),n;if(o==="parent"){let r=e1(s,t,e.__useComponent);return r==null&&(r=n),r}const a=s;let l=a.__getInstance(t);if(l==null){const r=Fe({},e);"__i18n"in i&&(r.__i18n=i.__i18n),n&&(r.__root=n),l=ho(r),a.__composerExtend&&(l[ki]=a.__composerExtend(l)),s1(a,t,l),a.__setInstance(t,l)}return l}function J0(e,t){const s=$r(),n=__VUE_I18N_LEGACY_API__&&t?s.run(()=>Ui(e)):s.run(()=>ho(e));if(n==null)throw ct(tt.UNEXPECTED_ERROR);return[s,n]}function Q0(e){const t=qs(e.isCE?X0:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw ct(e.isCE?tt.NOT_INSTALLED_WITH_PROVIDE:tt.UNEXPECTED_ERROR);return t}function q0(e,t){return Zn(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function Z0(e){return e.mode==="composition"?e.global:e.global.__composer}function e1(e,t,s=!1){let n=null;const i=t.root;let o=t1(t,s);for(;o!=null;){const a=e;if(e.mode==="composition")n=a.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=a.__getInstance(o);l!=null&&(n=l.__composer,s&&n&&!n[Zl]&&(n=null))}if(n!=null||i===o)break;o=o.parent}return n}function t1(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function s1(e,t,s){Js(()=>{},t),io(()=>{const n=s;e.__deleteInstance(t);const i=n[ki];i&&(i(),delete n[ki])},t)}const n1=["locale","fallbackLocale","availableLocales"],Ma=["t","rt","d","n","tm","te"];function i1(e,t){const s=Object.create(null);return n1.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o)throw ct(tt.UNEXPECTED_ERROR);const a=Ue(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(s,i,a)}),e.config.globalProperties.$i18n=s,Ma.forEach(i=>{const o=Object.getOwnPropertyDescriptor(t,i);if(!o||!o.value)throw ct(tt.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${i}`,o)}),()=>{delete e.config.globalProperties.$i18n,Ma.forEach(i=>{delete e.config.globalProperties[`$${i}`]})}}const o1=mn({name:"i18n-d",props:Fe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},yo),setup(e,t){const s=e.i18n||_n({useScope:e.scope,__useComponent:!0});return nr(e,t,Xl,(...n)=>s[Ri](...n))}}),Aa=o1;R0();d0(Ku);m0(u0);h0($l);if(__INTLIFY_PROD_DEVTOOLS__){const e=us();e.__INTLIFY__=!0,Ju(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}function a1(e,t,s,n,i,o,a){e.beginPath(),e.ellipse(t,s,n,i,0,0,Math.PI*2),e.strokeStyle=a,e.lineWidth=o,e.stroke()}class l1{constructor(t){J(this,"mmToPixel",10);this.mmToPixel=t}drawCircleList(t,s,n,i,o){s.forEach(a=>{a.drawInnerCircle&&this.drawCircle(t,n,i,o,a)})}drawCircle(t,s,n,i,o){const a=(o.innerCircleLineRadiusX-o.innerCircleLineWidth)/2,l=(o.innerCircleLineRadiusY-o.innerCircleLineWidth)/2;this.drawEllipse(t,s,n,a*this.mmToPixel,l*this.mmToPixel,o.innerCircleLineWidth*this.mmToPixel,i)}drawEllipse(t,s,n,i,o,a,l){t.beginPath(),t.ellipse(s,n,i,o,0,0,Math.PI*2),t.strokeStyle=l,t.lineWidth=a,t.stroke()}}class r1{constructor(t){J(this,"mmToPixel",10);this.mmToPixel=t}drawCompanyList(t,s,n,i,o,a,l){s.forEach(r=>{this.drawCompanyName(t,r,n,i,o,a,r.color||l)})}drawCompanyName(t,s,n,i,o,a,l){const r=s.fontHeight*this.mmToPixel,u=s.fontWeight||"normal";t.save(),t.font=`${u} ${r}px ${s.fontFamily}`,t.fillStyle=l,t.textAlign="center",t.textBaseline="bottom";const f=s.companyName.split(""),d=f.length,v=s.borderOffset*this.mmToPixel,E=Math.PI*(.5+d/(s.textDistributionFactor*4)),D=E/d,O=s.rotateDirection==="clockwise"?-1:1,W=(s.startAngle?s.startAngle:0)+(s.rotateDirection==="clockwise"?Math.PI-E/2:Math.PI+(Math.PI-E)/2);if(s.adjustEllipseText){const b=(d+1)/2;f.forEach((z,P)=>{const T=b-P-1,H=Math.pow(T/b,2)*D*s.adjustEllipseTextFactor,k=P-b,ee=k/Math.abs(k);let ne=W+O*D*(P+.5);ne+=H*ee;const _e=n+Math.cos(ne)*(o-r-v),Ee=i+Math.sin(ne)*(a-r-v);t.save(),t.translate(_e,Ee),t.rotate(ne+(s.rotateDirection==="clockwise"?-Math.PI/2:Math.PI/2)),t.scale(s.compression,1),t.fillText(z,0,0),t.restore()})}else f.forEach((b,z)=>{const P=W+O*D*(z+.5),T=n+Math.cos(P)*(o-r-v),F=i+Math.sin(P)*(a-r-v);t.save(),t.translate(T,F),t.rotate(P+(s.rotateDirection==="clockwise"?-Math.PI/2:Math.PI/2)),t.scale(s.compression,1),t.fillText(b,0,0),t.restore()});t.restore()}}class c1{constructor(t,s){J(this,"mmToPixel",10);J(this,"rulerSize",80);J(this,"drawPositionCrossLines",(t,s,n,i,o,a,l)=>{const r=t;if(!r)return;const u=r.getContext("2d");if(u&&(u.clearRect(0,0,r.width,r.height),u.beginPath(),u.strokeStyle=l,u.lineWidth=1,u.moveTo(n,a),u.lineTo(r.width,a),u.moveTo(o,i),u.lineTo(o,r.height),u.stroke(),s)){const f=s.getContext("2d");f&&f.drawImage(r,0,0)}});J(this,"drawCurrentPositionText",(t,s,n,i,o,a)=>{t.fillStyle="black",t.font="bold 12px Arial",t.textAlign="left",t.textBaseline="top";const l=s/i,r=n/i;t.fillText(`${l.toFixed(1)}mm, ${r.toFixed(1)}mm, scale: ${i.toFixed(2)}`,o+5,a+5)});this.mmToPixel=t,this.rulerSize=s}drawRuler(t,s,n,i,o,a){if(!s.showRuler)return;const l=1/this.mmToPixel;t.save(),t.fillStyle="lightgray",a?t.fillRect(0,0,i,o):t.fillRect(0,0,o,i),t.fillStyle="black",t.font="10px Arial",t.textAlign="center",t.textBaseline="top";const r=this.mmToPixel,u=Math.ceil((i-o)*l/n);for(let f=0;f<=u;f++){const d=f*r*n+o;f%5===0?(t.beginPath(),a?(t.moveTo(d,0),t.lineTo(d,o*.8)):(t.moveTo(0,d),t.lineTo(o*.8,d)),t.lineWidth=1,t.stroke(),t.save(),a?t.fillText(f.toString(),d,o*.8):(t.translate(o*.8,d),t.rotate(-Math.PI/2),t.fillText(f.toString(),0,0)),t.restore()):(t.beginPath(),a?(t.moveTo(d,0),t.lineTo(d,o*.6)):(t.moveTo(0,d),t.lineTo(o*.6,d)),t.lineWidth=.5,t.stroke())}t.restore()}showCrossDashLine(t,s,n,i,o,a,l){if(!s.showDashLine)return;t.save(),t.strokeStyle="#bbbbbb",t.lineWidth=1,t.setLineDash([5,5]);const r=this.mmToPixel*5;for(let u=this.rulerSize;u{const d=n+o*Math.cos(u),v=i+a*Math.sin(u),E=s.securityPatternLength*this.mmToPixel,D=d-E/2*Math.cos(f),O=v-E/2*Math.sin(f),W=d+E/2*Math.cos(f),b=v+E/2*Math.sin(f);t.beginPath(),t.moveTo(D,O),t.lineTo(W,b),t.stroke()}),t.restore()}}class xa{constructor(t){J(this,"mmToPixel",10);this.mmToPixel=t}async drawSVGContent(t,s,n,i,o=1){try{const a=10*this.mmToPixel,l=document.createElement("div");l.innerHTML=s;const r=l.querySelector("svg");if(!r)throw new Error("Invalid SVG content");r.hasAttribute("width")||r.setAttribute("width","100"),r.hasAttribute("height")||r.setAttribute("height","100");const u=parseFloat(r.getAttribute("width")||"100"),f=parseFloat(r.getAttribute("height")||"100"),d=new XMLSerializer().serializeToString(r),E=`data:image/svg+xml;base64,${btoa(unescape(encodeURIComponent(d)))}`,D=new Image;D.src=E,await new Promise((O,W)=>{D.onload=O,D.onerror=W}),t.save(),t.translate(n,i),t.scale(1,1),t.strokeStyle="blue",t.lineWidth=1,t.strokeRect(10,10,a,a),t.restore(),console.log("draw svg base64Url")}catch(a){console.error("Error drawing SVG:",a)}}async loadAndDrawSVG(t,s,n,i,o=1){try{const a=10*this.mmToPixel;console.log("draw test svg content",s,n,i,o),t.save(),t.translate(n,i),t.scale(1,1),t.strokeStyle="blue",t.lineWidth=1,t.strokeRect(10,10,a,a),t.restore()}catch(a){console.error("Error loading SVG:",a)}}async drawStarShape(t,s,n,i,o){try{if(s.svgPath.startsWith("{d.onload=v,d.onerror=E,d.src=f}),this.imageCtx.drawImage(d,s,n,i,o),this.imageCanvas}getCanvas(){return this.imageCanvas}clear(){this.imageCtx.clearRect(0,0,this.imageCanvas.width,this.imageCanvas.height)}}const Cs=8,Ut=8;class Na{constructor(t,s){J(this,"scale",1);J(this,"offsetX",0);J(this,"offsetY",0);J(this,"mmToPixel");J(this,"canvasCtx");J(this,"offscreenCanvas");J(this,"canvas");J(this,"stampOffsetX",0);J(this,"stampOffsetY",0);J(this,"drawStampConfigs");J(this,"imageCache",new Map);J(this,"drawCircleUtils");J(this,"drawSvgUtils");J(this,"drawCompanyUtils");J(this,"drawRulerUtils");J(this,"drawSecurityPatternUtils");J(this,"initDrawStampConfigsUtils");J(this,"imageCanvas");J(this,"isDragging",!1);J(this,"dragStartX",0);J(this,"dragStartY",0);J(this,"onMouseUp",()=>{this.isDragging=!1,this.refreshStamp(!1,!1)});J(this,"onCanvasClick",t=>{this.canvas});J(this,"onMouseLeave",t=>{this.isDragging=!1,this.refreshStamp()});J(this,"onMouseDown",t=>{this.isDragging=!0,this.dragStartX=t.clientX-this.stampOffsetX*this.mmToPixel,this.dragStartY=t.clientY-this.stampOffsetY*this.mmToPixel});J(this,"onMouseMove",t=>{if(!this.drawStampConfigs.openManualAging)if(this.isDragging){const s=(t.clientX-this.dragStartX)/this.mmToPixel,n=(t.clientY-this.dragStartY)/this.mmToPixel;this.stampOffsetX=Math.round(s*10)/10,this.stampOffsetY=Math.round(n*10)/10,this.refreshStamp()}else{const s=this.canvas.getBoundingClientRect(),n=t.clientX-s.left,i=t.clientY-s.top,o=Math.round((n-Cs*this.mmToPixel)/this.mmToPixel*10)/10,a=Math.round((i-Ut*this.mmToPixel)/this.mmToPixel*10)/10;this.refreshStamp(),this.drawStampConfigs.ruler.showCurrentPositionText&&this.drawRulerUtils.drawCurrentPositionText(this.canvasCtx,o,a,this.scale,Cs*this.mmToPixel,Ut*this.mmToPixel),this.drawStampConfigs.ruler.showCrossLine&&this.drawRulerUtils.drawPositionCrossLines(this.offscreenCanvas,this.canvas,Cs*this.mmToPixel,Ut*this.mmToPixel,n,i,this.drawStampConfigs.primaryColor)}});if(!t)throw new Error("Canvas is null");const n=t.getContext("2d");if(!n)throw new Error("Failed to get canvas context");this.initDrawStampConfigsUtils=new u1,this.drawStampConfigs=this.initDrawStampConfigsUtils.initDrawStampConfigs(),this.canvasCtx=n,this.mmToPixel=s,this.canvas=t,this.offscreenCanvas=document.createElement("canvas"),this.canvas&&this.offscreenCanvas&&(this.offscreenCanvas.width=t.width,this.offscreenCanvas.height=t.height),this.addCanvasListener(),this.initDrawUtils(),this.drawSvgUtils=new xa(s),this.imageCanvas=new p1(t.width,t.height)}initDrawUtils(){this.drawCircleUtils=new l1(this.mmToPixel),this.drawSvgUtils=new xa(this.mmToPixel),this.drawCompanyUtils=new r1(this.mmToPixel),this.drawRulerUtils=new c1(this.mmToPixel,Cs*this.mmToPixel),this.drawSecurityPatternUtils=new f1(this.mmToPixel)}getDrawConfigs(){return this.drawStampConfigs}addManualAgingEffect(t,s,n){console.log("手动做旧 1",t,s,this.drawStampConfigs.agingEffect.agingEffectParams);const i=1*this.mmToPixel,o=t-this.stampOffsetX*this.mmToPixel,a=s-this.stampOffsetY*this.mmToPixel;for(let l=0;l<10;l++)this.drawStampConfigs.agingEffect.agingEffectParams.push({x:o,y:a,noiseSize:Math.random()*3+1,noise:Math.random()*200*n,strongNoiseSize:Math.random()*5+2,strongNoise:Math.random()*250*n+5,fade:Math.random()*50*n,seed:Math.random()});this.refreshStamp(!1,!1),this.canvasCtx.save(),this.canvasCtx.globalCompositeOperation="destination-out",this.canvasCtx.beginPath(),this.canvasCtx.arc(t,s,i,0,Math.PI*2,!0),this.canvasCtx.fillStyle="rgba(255, 255, 255, 0.5)",this.canvasCtx.fill(),this.canvasCtx.restore()}setDrawConfigs(t){this.drawStampConfigs=t}addCanvasListener(){this.canvas.addEventListener("mousemove",t=>{if(this.drawStampConfigs.openManualAging&&t.buttons===1){const s=this.canvas.getBoundingClientRect(),n=t.clientX-s.left,i=t.clientY-s.top,o=this.drawStampConfigs.agingEffect.agingIntensity/100;this.addManualAgingEffect(n,i,o)}else this.onMouseMove(t)}),this.canvas.addEventListener("mouseleave",t=>{this.onMouseLeave(t)}),this.canvas.addEventListener("mousedown",t=>{if(this.onMouseDown(t),this.drawStampConfigs.openManualAging){const s=this.canvas.getBoundingClientRect(),n=t.clientX-s.left,i=t.clientY-s.top,o=this.drawStampConfigs.agingEffect.agingIntensity/100;this.addManualAgingEffect(n,i,o)}}),this.canvas.addEventListener("mouseup",t=>{this.onMouseUp()}),this.canvas.addEventListener("click",t=>{this.onCanvasClick(t)}),this.canvas.addEventListener("wheel",t=>{if(t.ctrlKey){t.preventDefault();const s=t.deltaY>0?.9:1.1;this.zoomCanvas(t.offsetX,t.offsetY,s)}})}zoomCanvas(t,s,n){const i=this.scale;this.scale*=n,this.scale=Math.max(.1,Math.min(5,this.scale)),this.offsetX=t-(t-this.offsetX)*(this.scale/i),this.offsetY=s-(s-this.offsetY)*(this.scale/i),this.refreshStamp()}async drawSvgImage(t,s,n,i){try{const l=await this.imageCanvas.drawImage(s.svgPath,n-100,i-100,200,200);t.drawImage(l,0,0)}catch(o){console.error("Error drawing SVG:",o)}}async drawImageList(t,s,n,i){for(const o of s)if(o.imageUrl){let a=this.imageCache.get(o.imageUrl);if(a)this.drawSingleImage(t,a,o,n,i);else try{const l=new Image;l.src=o.imageUrl,await new Promise((u,f)=>{l.onload=u,l.onerror=f});const r=await createImageBitmap(l);this.imageCache.set(o.imageUrl,r),this.drawSingleImage(t,r,o,n,i),requestAnimationFrame(()=>{this.refreshStamp()})}catch(l){console.error("Error loading or processing image:",l)}}}drawSingleImage(t,s,n,i,o){let a=n.imageWidth*this.mmToPixel,l=n.imageHeight*this.mmToPixel;if(n.keepAspectRatio){const f=Math.min(a/s.width,l/s.height);a=s.width*f,l=s.height*f}const r=i-a/2+n.positionX*this.mmToPixel,u=o-l/2+n.positionY*this.mmToPixel;t.save(),t.drawImage(s,r,u,a,l),t.restore()}async clearImageCache(){for(const t of this.imageCache.values())t.close();this.imageCache.clear()}drawStampType(t,s,n,i,o){const a=s.fontHeight*this.mmToPixel,l=s.letterSpacing,r=s.positionY,u=s.fontWeight||"normal",f=s.lineSpacing*this.mmToPixel;t.save(),t.font=`${u} ${a}px ${s.fontFamily}`,t.fillStyle=this.drawStampConfigs.primaryColor,t.textAlign="center",t.textBaseline="middle";const d=s.stampType.split(` +`),v=d.length;d.forEach((E,D)=>{const O=E.split(""),W=O.map(F=>t.measureText(F).width),b=W.reduce((F,H)=>F+H,0)+(O.length-1)*l*this.mmToPixel,z=(D-(v-1)/2)*(a+f),P=i+o*.5+r*this.mmToPixel+z;t.save(),t.translate(n,P);let T=-b/2;t.scale(s.compression,1),O.forEach((F,H)=>{t.fillText(F,T+W[H]/2,0),T+=W[H]+l*this.mmToPixel}),t.restore()}),t.restore()}drawStampTypeList(t,s,n,i,o){s.forEach(a=>{this.drawStampType(t,a,n,i,o)}),t.restore()}drawEllipse(t,s,n,i,o,a,l){t.beginPath(),t.ellipse(s,n,i,o,0,0,Math.PI*2),t.strokeStyle=l,t.lineWidth=a,t.stroke()}drawCode(t,s,n,i,o,a){const l=s.fontHeight*this.mmToPixel,r=s.code,u=s.fontWeight||"normal";t.save(),t.font=`${u} ${l}px ${s.fontFamily}`,t.fillStyle=this.drawStampConfigs.primaryColor,t.textAlign="center",t.textBaseline="middle";const f=r.split(""),d=f.length;if(d===1){const v=n,E=i+a-l-s.borderOffset*this.mmToPixel;t.save(),t.translate(v,E),t.scale(s.compression,1),t.fillText(r,0,0),t.restore()}else{const v=Math.PI*((1+d)/s.textDistributionFactor),E=Math.PI/2+v/2,D=v/(d-1);f.forEach((O,W)=>{const b=E-D*W,z=n+Math.cos(b)*(o-l/2-s.borderOffset*this.mmToPixel),P=i+Math.sin(b)*(a-l/2-s.borderOffset*this.mmToPixel);t.save(),t.translate(z,P),t.rotate(b-Math.PI/2),t.scale(s.compression,1),t.fillText(O,0,0),t.restore()})}t.restore()}drawTaxNumber(t,s,n,i){const o=s.fontHeight*this.mmToPixel,a=s.totalWidth*this.mmToPixel,l=s.positionY*this.mmToPixel+.3,r=s.fontWeight||"normal";t.save(),t.font=`${r} ${o}px ${s.fontFamily}`,t.fillStyle=this.drawStampConfigs.primaryColor,t.textAlign="center",t.textBaseline="middle";const u=s.code.split(""),f=u.length,d=this.drawStampConfigs.taxNumber.letterSpacing*this.mmToPixel,E=(a*this.drawStampConfigs.taxNumber.compression-(f-1)*d)/f,D=f*E+(f-1)*d,O=n-D/2+E/2,W=i+l*this.mmToPixel;u.forEach((b,z)=>{const P=O+z*(E+d);t.save(),t.translate(P,W),t.scale(this.drawStampConfigs.taxNumber.compression,1.35),t.fillText(b,0,0),t.restore()}),t.restore()}addRoughEdge(t,s,n,i,o,a,l=!1){const r=a*this.drawStampConfigs.roughEdge.roughEdgeHeight*.01,u=this.drawStampConfigs.roughEdge.roughEdgePoints,f=this.drawStampConfigs.roughEdge.roughEdgeShift;if(t.save(),t.fillStyle="white",t.globalCompositeOperation="destination-out",l||this.drawStampConfigs.roughEdge.roughEdgeParams.length===0){this.drawStampConfigs.roughEdge.roughEdgeParams=[];for(let d=0;dthis.drawStampConfigs.roughEdge.roughEdgeProbability?Math.random()*r*Math.random()+this.drawStampConfigs.roughEdge.roughEdgeWidth:0;this.drawStampConfigs.roughEdge.roughEdgeParams.push({angle:v,size:D,offset:f,opacity:1})}}this.drawStampConfigs.roughEdge.roughEdgeParams.forEach(({angle:d,size:v})=>{const E=s+Math.cos(d)*(i+f),D=n+Math.sin(d)*(o+f);v>0&&(t.beginPath(),t.arc(E,D,v*this.mmToPixel,0,Math.PI*2),t.fill())}),t.restore()}addAgingEffect(t,s,n,i=!1){if(console.log("addAgingEffect","width",s,"height",n,"forceRefresh",this.drawStampConfigs.agingEffect.applyAging),!this.drawStampConfigs.agingEffect.applyAging)return;const o=t.getImageData(0,0,s,n),a=o.data,l=s/(2*this.scale)+this.stampOffsetX*this.mmToPixel/this.scale,r=n/(2*this.scale)+this.stampOffsetY*this.mmToPixel/this.scale,u=Math.max(s,n)/2*this.mmToPixel/this.scale;if(i||this.drawStampConfigs.agingEffect.agingEffectParams.length===0){this.drawStampConfigs.agingEffect.agingEffectParams=[];for(let f=0;f0){const D=this.drawStampConfigs.agingEffect.agingIntensity/100,O=Math.random();this.drawStampConfigs.agingEffect.agingEffectParams.push({x:d-this.stampOffsetX*this.mmToPixel,y:f-this.stampOffsetY*this.mmToPixel,noiseSize:Math.random()*3+1,noise:Math.random()*200*D,strongNoiseSize:Math.random()*5+2,strongNoise:Math.random()*250*D+5,fade:Math.random()*50*D,seed:O})}}}this.drawStampConfigs.agingEffect.agingEffectParams.forEach(f=>{const{x:d,y:v,noiseSize:E,noise:D,strongNoiseSize:O,strongNoise:W,fade:b,seed:z}=f,P=d+this.stampOffsetX*this.mmToPixel,T=v+this.stampOffsetY*this.mmToPixel,F=(Math.round(T)*s+Math.round(P))*4;z<.4&&this.addCircularNoise(a,s,P,T,E,D,!0),z<.05&&this.addCircularNoise(a,s,P,T,O,W,!0),z<.2&&(a[F+3]=Math.max(0,a[F+3]-b))}),t.putImageData(o,0,0)}addCircularNoise(t,s,n,i,o,a,l=!1){const r=o*o/4;for(let u=-o/2;u=0&&E{const o=document.createElement("canvas");o.width=n,o.height=i;const a=o.getContext("2d");if(!a)return;a.clearRect(0,0,n,i),a.drawImage(this.canvas,Cs*this.mmToPixel+this.stampOffsetX*this.mmToPixel,Ut*this.mmToPixel+this.stampOffsetY*this.mmToPixel,n,i,t*this.mmToPixel,t*this.mmToPixel,n,i),this.drawStampConfigs.agingEffect.applyAging&&this.addAgingEffect(a,n,i,!1);const l=o.toDataURL("image/png"),r=document.createElement("a");r.href=l,r.download="mystamp.png",document.body.appendChild(r),r.click(),document.body.removeChild(r),this.drawStampConfigs.ruler.showCrossLine=!0,this.drawStampConfigs.ruler.showRuler=!0,this.drawStampConfigs.ruler.showDashLine=!0,this.drawStampConfigs.ruler.showSideRuler=!0,this.drawStampConfigs.ruler.showFullRuler=!0,this.drawStampConfigs.ruler.showCurrentPositionText=!0,this.refreshStamp()},50)}refreshStamp(t=!1,s=!1,n=!1){this.canvasCtx.clearRect(0,0,this.canvas.width,this.canvas.height),this.canvasCtx.save(),this.canvasCtx.translate(this.offsetX,this.offsetY),this.canvasCtx.scale(this.scale,this.scale);const i=this.drawStampConfigs.width/2*10+Cs*this.mmToPixel,o=this.drawStampConfigs.height/2*10+Ut*this.mmToPixel,a=i/this.scale,l=o/this.scale,r=this.mmToPixel,u=(this.drawStampConfigs.width-this.drawStampConfigs.outBorder.innerCircleLineWidth)/2,f=(this.drawStampConfigs.height-this.drawStampConfigs.outBorder.innerCircleLineWidth)/2,d=this.stampOffsetX*this.mmToPixel,v=this.stampOffsetY*this.mmToPixel,E=a+d,D=l+v;this.drawStamp(this.canvasCtx,E,D,u*r,f*r,this.drawStampConfigs.primaryColor,t,s,n),this.canvasCtx.restore(),this.drawStampConfigs.ruler.showRuler&&(this.drawStampConfigs.ruler.showSideRuler&&(this.drawRulerUtils.drawRuler(this.canvasCtx,this.drawStampConfigs.ruler,this.scale,this.canvas.width,Ut*this.mmToPixel,!0),this.drawRulerUtils.drawRuler(this.canvasCtx,this.drawStampConfigs.ruler,this.scale,this.canvas.height,Ut*this.mmToPixel,!1)),this.drawStampConfigs.ruler.showDashLine&&this.drawRulerUtils.showCrossDashLine(this.canvasCtx,this.drawStampConfigs.ruler,this.scale,Ut,Ut,this.canvas.width,this.canvas.height))}resetZoom(){this.scale=1,this.offsetX=0,this.offsetY=0,this.refreshStamp()}drawStamp(t,s,n,i,o,a,l=!1,r=!1,u=!1){t.clearRect(0,0,this.canvas.width,this.canvas.height);const f=this.offscreenCanvas;f.width=this.canvas.width,f.height=this.canvas.height;const d=f.getContext("2d");if(!d)return;const v=document.createElement("canvas");v.width=this.canvas.width,v.height=this.canvas.height,v.getContext("2d")&&(this.drawStampConfigs.outBorder.drawInnerCircle&&a1(d,s,n,i,o,this.drawStampConfigs.outBorder.innerCircleLineWidth*this.mmToPixel,a),d.save(),d.beginPath(),d.ellipse(s,n,i,o,0,0,Math.PI*2),d.clip(),this.drawStampConfigs.innerCircleList.length>0&&this.drawCircleUtils.drawCircleList(d,this.drawStampConfigs.innerCircleList,s,n,a),this.drawStampConfigs.drawStar.drawStar&&this.drawSvgUtils.drawStarShape(d,this.drawStampConfigs.drawStar,s,n,this.drawStampConfigs.primaryColor),this.drawStampConfigs.imageList&&this.drawStampConfigs.imageList.length>0&&this.drawImageList(d,this.drawStampConfigs.imageList,s,n),this.drawCompanyUtils.drawCompanyList(d,this.drawStampConfigs.companyList,s,n,i,o,this.drawStampConfigs.primaryColor),this.drawStampTypeList(d,this.drawStampConfigs.stampTypeList,s,n,i),this.drawCode(d,this.drawStampConfigs.stampCode,s,n,i,o),this.drawTaxNumber(d,this.drawStampConfigs.taxNumber,s,n),d.restore(),t.save(),this.drawStampConfigs.roughEdge.drawRoughEdge&&this.addRoughEdge(d,s,n,i,o,this.drawStampConfigs.outBorder.innerCircleLineWidth*this.mmToPixel,u),this.drawStampConfigs.securityPattern.openSecurityPattern&&this.drawSecurityPatternUtils.drawSecurityPattern(d,this.drawStampConfigs.securityPattern,s,n,i,o,l),t.globalCompositeOperation="source-over",t.drawImage(f,0,0),t.restore(),this.drawStampConfigs.agingEffect.applyAging&&this.addAgingEffect(t,this.canvas.width,this.canvas.height,r))}}async function g1(){try{if(window.queryLocalFonts){const e=await window.queryLocalFonts();return[...new Set(e.map(t=>t.family))]}else return["SimSun","SimHei","Microsoft YaHei","KaiTi","FangSong","STHeiti","STKaiti","STSong","STFangsong","LiSu","YouYuan","STZhongsong","STXihei","Arial","Times New Roman","Helvetica"]}catch(e){return console.error("获取系统字体失败:",e),["SimSun","SimHei","Microsoft YaHei","KaiTi"]}}const d1={drawRoughEdge:!1,roughEdgeWidth:.2,roughEdgeHeight:5,roughEdgeParams:[{angle:0,size:.5032563701178842,offset:8,opacity:1},{angle:.017453292519943295,size:.3379166289700789,offset:8,opacity:1},{angle:.03490658503988659,size:.49850828105362677,offset:8,opacity:1},{angle:.05235987755982988,size:0,offset:8,opacity:1},{angle:.06981317007977318,size:.33027000340902746,offset:8,opacity:1},{angle:.08726646259971647,size:0,offset:8,opacity:1},{angle:.10471975511965977,size:.47393696973712246,offset:8,opacity:1},{angle:.12217304763960307,size:.6350416726108645,offset:8,opacity:1},{angle:.13962634015954636,size:.42238834211115167,offset:8,opacity:1},{angle:.15707963267948966,size:.2486073483438663,offset:8,opacity:1},{angle:.17453292519943295,size:0,offset:8,opacity:1},{angle:.19198621771937624,size:.35123274555265016,offset:8,opacity:1},{angle:.20943951023931953,size:.22448742164649077,offset:8,opacity:1},{angle:.22689280275926282,size:.4586736104699405,offset:8,opacity:1},{angle:.24434609527920614,size:.3043430828713793,offset:8,opacity:1},{angle:.2617993877991494,size:.3678224039628227,offset:8,opacity:1},{angle:.2792526803190927,size:.6163525747317525,offset:8,opacity:1},{angle:.296705972839036,size:.4363211517667617,offset:8,opacity:1},{angle:.3141592653589793,size:.205723548131973,offset:8,opacity:1},{angle:.33161255787892263,size:.4441622976512367,offset:8,opacity:1},{angle:.3490658503988659,size:0,offset:8,opacity:1},{angle:.3665191429188092,size:0,offset:8,opacity:1},{angle:.3839724354387525,size:.43017918657846765,offset:8,opacity:1},{angle:.40142572795869574,size:.4300022134137814,offset:8,opacity:1},{angle:.41887902047863906,size:0,offset:8,opacity:1},{angle:.4363323129985824,size:.25786098537584295,offset:8,opacity:1},{angle:.45378560551852565,size:.26525313850692,offset:8,opacity:1},{angle:.47123889803846897,size:.2838264875019364,offset:8,opacity:1},{angle:.4886921905584123,size:.4487316582245055,offset:8,opacity:1},{angle:.5061454830783556,size:.22112605086657722,offset:8,opacity:1},{angle:.5235987755982988,size:.4294648804576925,offset:8,opacity:1},{angle:.5410520681182421,size:.2181025744046031,offset:8,opacity:1},{angle:.5585053606381855,size:.20053237605486948,offset:8,opacity:1},{angle:.5759586531581287,size:0,offset:8,opacity:1},{angle:.593411945678072,size:0,offset:8,opacity:1},{angle:.6108652381980153,size:.20041438725089644,offset:8,opacity:1},{angle:.6283185307179586,size:.2609460635118062,offset:8,opacity:1},{angle:.6457718232379019,size:.39197138754198557,offset:8,opacity:1},{angle:.6632251157578453,size:.2605111967121892,offset:8,opacity:1},{angle:.6806784082777886,size:.20565487747739025,offset:8,opacity:1},{angle:.6981317007977318,size:.28654344221403566,offset:8,opacity:1},{angle:.7155849933176751,size:0,offset:8,opacity:1},{angle:.7330382858376184,size:.4584907994244955,offset:8,opacity:1},{angle:.7504915783575618,size:0,offset:8,opacity:1},{angle:.767944870877505,size:0,offset:8,opacity:1},{angle:.7853981633974483,size:0,offset:8,opacity:1},{angle:.8028514559173915,size:.32662457556616653,offset:8,opacity:1},{angle:.8203047484373349,size:.3119138674864993,offset:8,opacity:1},{angle:.8377580409572781,size:.4433990641657177,offset:8,opacity:1},{angle:.8552113334772213,size:.2123628886068149,offset:8,opacity:1},{angle:.8726646259971648,size:0,offset:8,opacity:1},{angle:.890117918517108,size:.34950148564089184,offset:8,opacity:1},{angle:.9075712110370513,size:0,offset:8,opacity:1},{angle:.9250245035569946,size:.20120500318879,offset:8,opacity:1},{angle:.9424777960769379,size:0,offset:8,opacity:1},{angle:.9599310885968813,size:.5188164082336375,offset:8,opacity:1},{angle:.9773843811168246,size:0,offset:8,opacity:1},{angle:.9948376736367678,size:.22172251375465574,offset:8,opacity:1},{angle:1.0122909661567112,size:.2432685121130981,offset:8,opacity:1},{angle:1.0297442586766543,size:.2320690651003732,offset:8,opacity:1},{angle:1.0471975511965976,size:.3907006251295331,offset:8,opacity:1},{angle:1.064650843716541,size:0,offset:8,opacity:1},{angle:1.0821041362364843,size:.2625156540222333,offset:8,opacity:1},{angle:1.0995574287564276,size:0,offset:8,opacity:1},{angle:1.117010721276371,size:.3145596222093862,offset:8,opacity:1},{angle:1.1344640137963142,size:.32936787676169677,offset:8,opacity:1},{angle:1.1519173063162573,size:.2857231314976785,offset:8,opacity:1},{angle:1.1693705988362009,size:.20120534399793935,offset:8,opacity:1},{angle:1.186823891356144,size:0,offset:8,opacity:1},{angle:1.2042771838760875,size:.23237394092882147,offset:8,opacity:1},{angle:1.2217304763960306,size:.28398641365511185,offset:8,opacity:1},{angle:1.239183768915974,size:.21502333555596864,offset:8,opacity:1},{angle:1.2566370614359172,size:.3499693244354978,offset:8,opacity:1},{angle:1.2740903539558606,size:0,offset:8,opacity:1},{angle:1.2915436464758039,size:.5105882933252887,offset:8,opacity:1},{angle:1.3089969389957472,size:.21784406246195218,offset:8,opacity:1},{angle:1.3264502315156905,size:.22514376311106876,offset:8,opacity:1},{angle:1.3439035240356336,size:.29704092249825453,offset:8,opacity:1},{angle:1.3613568165555772,size:.4521472353131752,offset:8,opacity:1},{angle:1.3788101090755203,size:.21507145749905754,offset:8,opacity:1},{angle:1.3962634015954636,size:.21682236241700453,offset:8,opacity:1},{angle:1.413716694115407,size:.22356961113236007,offset:8,opacity:1},{angle:1.4311699866353502,size:.22219417312865522,offset:8,opacity:1},{angle:1.4486232791552935,size:.2977119909206255,offset:8,opacity:1},{angle:1.4660765716752369,size:.38291243837511746,offset:8,opacity:1},{angle:1.48352986419518,size:.3116663219443704,offset:8,opacity:1},{angle:1.5009831567151235,size:0,offset:8,opacity:1},{angle:1.5184364492350666,size:.25492313554632756,offset:8,opacity:1},{angle:1.53588974175501,size:.2228509582782908,offset:8,opacity:1},{angle:1.5533430342749532,size:.35672171117898743,offset:8,opacity:1},{angle:1.5707963267948966,size:0,offset:8,opacity:1},{angle:1.5882496193148399,size:0,offset:8,opacity:1},{angle:1.605702911834783,size:.4388252813562349,offset:8,opacity:1},{angle:1.6231562043547265,size:.2273036372658915,offset:8,opacity:1},{angle:1.6406094968746698,size:.21718818137496743,offset:8,opacity:1},{angle:1.6580627893946132,size:.36941527530149404,offset:8,opacity:1},{angle:1.6755160819145563,size:.21623671572399,offset:8,opacity:1},{angle:1.6929693744344996,size:.636688937830729,offset:8,opacity:1},{angle:1.7104226669544427,size:0,offset:8,opacity:1},{angle:1.7278759594743864,size:0,offset:8,opacity:1},{angle:1.7453292519943295,size:.27728150462159734,offset:8,opacity:1},{angle:1.7627825445142729,size:0,offset:8,opacity:1},{angle:1.780235837034216,size:0,offset:8,opacity:1},{angle:1.7976891295541593,size:.23328034069543777,offset:8,opacity:1},{angle:1.8151424220741026,size:0,offset:8,opacity:1},{angle:1.8325957145940461,size:.2586898150005329,offset:8,opacity:1},{angle:1.8500490071139892,size:.4994559385312126,offset:8,opacity:1},{angle:1.8675022996339325,size:.26421680867532127,offset:8,opacity:1},{angle:1.8849555921538759,size:.3209021989338088,offset:8,opacity:1},{angle:1.902408884673819,size:0,offset:8,opacity:1},{angle:1.9198621771937625,size:0,offset:8,opacity:1},{angle:1.9373154697137058,size:.26002544806143374,offset:8,opacity:1},{angle:1.9547687622336491,size:.2924936993062236,offset:8,opacity:1},{angle:1.9722220547535922,size:.43140240061138796,offset:8,opacity:1},{angle:1.9896753472735356,size:.29591579647411836,offset:8,opacity:1},{angle:2.007128639793479,size:.46532747343985814,offset:8,opacity:1},{angle:2.0245819323134224,size:0,offset:8,opacity:1},{angle:2.0420352248333655,size:.37989836106928254,offset:8,opacity:1},{angle:2.0594885173533086,size:.43824671847111324,offset:8,opacity:1},{angle:2.076941809873252,size:.21491306461629336,offset:8,opacity:1},{angle:2.0943951023931953,size:.2576066045616476,offset:8,opacity:1},{angle:2.111848394913139,size:.20559969896825836,offset:8,opacity:1},{angle:2.129301687433082,size:.5452053035796387,offset:8,opacity:1},{angle:2.1467549799530254,size:.4317948579735969,offset:8,opacity:1},{angle:2.1642082724729685,size:.2926508010599716,offset:8,opacity:1},{angle:2.1816615649929116,size:.37646244630618103,offset:8,opacity:1},{angle:2.199114857512855,size:.5182160912889464,offset:8,opacity:1},{angle:2.2165681500327987,size:.5838728943805604,offset:8,opacity:1},{angle:2.234021442552742,size:.21844249399465382,offset:8,opacity:1},{angle:2.251474735072685,size:0,offset:8,opacity:1},{angle:2.2689280275926285,size:.3721009993624145,offset:8,opacity:1},{angle:2.2863813201125716,size:0,offset:8,opacity:1},{angle:2.3038346126325147,size:.24598938578156437,offset:8,opacity:1},{angle:2.321287905152458,size:.4507505938631045,offset:8,opacity:1},{angle:2.3387411976724017,size:.25469635650569583,offset:8,opacity:1},{angle:2.356194490192345,size:.30528741051655217,offset:8,opacity:1},{angle:2.373647782712288,size:.37088412070072785,offset:8,opacity:1},{angle:2.3911010752322315,size:.24486197147462863,offset:8,opacity:1},{angle:2.408554367752175,size:0,offset:8,opacity:1},{angle:2.426007660272118,size:.43989471208136854,offset:8,opacity:1},{angle:2.443460952792061,size:.33696542573155486,offset:8,opacity:1},{angle:2.4609142453120048,size:0,offset:8,opacity:1},{angle:2.478367537831948,size:0,offset:8,opacity:1},{angle:2.495820830351891,size:0,offset:8,opacity:1},{angle:2.5132741228718345,size:.2505063689411901,offset:8,opacity:1},{angle:2.530727415391778,size:.31438011396387455,offset:8,opacity:1},{angle:2.548180707911721,size:.34374426546984016,offset:8,opacity:1},{angle:2.5656340004316642,size:.2305610481543743,offset:8,opacity:1},{angle:2.5830872929516078,size:.37268657957858453,offset:8,opacity:1},{angle:2.600540585471551,size:.25219421624230426,offset:8,opacity:1},{angle:2.6179938779914944,size:0,offset:8,opacity:1},{angle:2.6354471705114375,size:.23021680363052838,offset:8,opacity:1},{angle:2.652900463031381,size:.3483359449322281,offset:8,opacity:1},{angle:2.670353755551324,size:.3251780474107786,offset:8,opacity:1},{angle:2.6878070480712672,size:0,offset:8,opacity:1},{angle:2.705260340591211,size:.3687577362310519,offset:8,opacity:1},{angle:2.7227136331111543,size:.5694461018098402,offset:8,opacity:1},{angle:2.7401669256310974,size:.22425733709526832,offset:8,opacity:1},{angle:2.7576202181510405,size:0,offset:8,opacity:1},{angle:2.7750735106709836,size:.32709123488963454,offset:8,opacity:1},{angle:2.792526803190927,size:.3643797544475289,offset:8,opacity:1},{angle:2.8099800957108707,size:.25481296814968835,offset:8,opacity:1},{angle:2.827433388230814,size:.20233815801319835,offset:8,opacity:1},{angle:2.844886680750757,size:.22289439004543232,offset:8,opacity:1},{angle:2.8623399732707004,size:0,offset:8,opacity:1},{angle:2.8797932657906435,size:0,offset:8,opacity:1},{angle:2.897246558310587,size:0,offset:8,opacity:1},{angle:2.91469985083053,size:.22662095056906018,offset:8,opacity:1},{angle:2.9321531433504737,size:.6177358599983805,offset:8,opacity:1},{angle:2.949606435870417,size:.5579600289881892,offset:8,opacity:1},{angle:2.96705972839036,size:.24919239443796898,offset:8,opacity:1},{angle:2.9845130209103035,size:0,offset:8,opacity:1},{angle:3.001966313430247,size:.20285345071151972,offset:8,opacity:1},{angle:3.01941960595019,size:.29633213437720063,offset:8,opacity:1},{angle:3.036872898470133,size:.31615740448077223,offset:8,opacity:1},{angle:3.0543261909900767,size:.4883995719883713,offset:8,opacity:1},{angle:3.07177948351002,size:.2500925025911332,offset:8,opacity:1},{angle:3.089232776029963,size:.262931178068741,offset:8,opacity:1},{angle:3.1066860685499065,size:.3135512137978654,offset:8,opacity:1},{angle:3.12413936106985,size:.31083588965839803,offset:8,opacity:1},{angle:3.141592653589793,size:0,offset:8,opacity:1},{angle:3.159045946109736,size:.24804439339468767,offset:8,opacity:1},{angle:3.1764992386296798,size:0,offset:8,opacity:1},{angle:3.193952531149623,size:.2571395452468249,offset:8,opacity:1},{angle:3.211405823669566,size:.6279202198461746,offset:8,opacity:1},{angle:3.2288591161895095,size:.24288586668685336,offset:8,opacity:1},{angle:3.246312408709453,size:.34718500726687895,offset:8,opacity:1},{angle:3.2637657012293966,size:.47061815108690846,offset:8,opacity:1},{angle:3.2812189937493397,size:0,offset:8,opacity:1},{angle:3.2986722862692828,size:.4866126208626991,offset:8,opacity:1},{angle:3.3161255787892263,size:0,offset:8,opacity:1},{angle:3.3335788713091694,size:0,offset:8,opacity:1},{angle:3.3510321638291125,size:.22976093136313686,offset:8,opacity:1},{angle:3.368485456349056,size:0,offset:8,opacity:1},{angle:3.385938748868999,size:0,offset:8,opacity:1},{angle:3.4033920413889422,size:.4397259724357342,offset:8,opacity:1},{angle:3.4208453339088853,size:.24667841492062575,offset:8,opacity:1},{angle:3.4382986264288293,size:.43391379529064145,offset:8,opacity:1},{angle:3.455751918948773,size:0,offset:8,opacity:1},{angle:3.473205211468716,size:0,offset:8,opacity:1},{angle:3.490658503988659,size:.21961175000891414,offset:8,opacity:1},{angle:3.5081117965086026,size:.36890033272657746,offset:8,opacity:1},{angle:3.5255650890285457,size:.4326945036689108,offset:8,opacity:1},{angle:3.543018381548489,size:.3268470087082487,offset:8,opacity:1},{angle:3.560471674068432,size:.20854219238334568,offset:8,opacity:1},{angle:3.5779249665883754,size:.2423254936922336,offset:8,opacity:1},{angle:3.5953782591083185,size:.4064744910955269,offset:8,opacity:1},{angle:3.6128315516282616,size:0,offset:8,opacity:1},{angle:3.630284844148205,size:.31287388031447483,offset:8,opacity:1},{angle:3.647738136668149,size:.3948160804791036,offset:8,opacity:1},{angle:3.6651914291880923,size:0,offset:8,opacity:1},{angle:3.6826447217080354,size:.2026956152601606,offset:8,opacity:1},{angle:3.7000980142279785,size:0,offset:8,opacity:1},{angle:3.717551306747922,size:.44054519647144813,offset:8,opacity:1},{angle:3.735004599267865,size:.4130009051490618,offset:8,opacity:1},{angle:3.752457891787808,size:0,offset:8,opacity:1},{angle:3.7699111843077517,size:.49311184417141246,offset:8,opacity:1},{angle:3.787364476827695,size:.45508968556466084,offset:8,opacity:1},{angle:3.804817769347638,size:0,offset:8,opacity:1},{angle:3.8222710618675815,size:.48005037780936805,offset:8,opacity:1},{angle:3.839724354387525,size:0,offset:8,opacity:1},{angle:3.8571776469074686,size:.4561164475672816,offset:8,opacity:1},{angle:3.8746309394274117,size:.3002000652009621,offset:8,opacity:1},{angle:3.8920842319473548,size:.3336541884527151,offset:8,opacity:1},{angle:3.9095375244672983,size:0,offset:8,opacity:1},{angle:3.9269908169872414,size:.4811384274609927,offset:8,opacity:1},{angle:3.9444441095071845,size:0,offset:8,opacity:1},{angle:3.961897402027128,size:.5102504861379599,offset:8,opacity:1},{angle:3.979350694547071,size:.23214101697543765,offset:8,opacity:1},{angle:3.9968039870670142,size:.29156434123379016,offset:8,opacity:1},{angle:4.014257279586958,size:0,offset:8,opacity:1},{angle:4.031710572106902,size:.20004717274584805,offset:8,opacity:1},{angle:4.049163864626845,size:.3614701974794731,offset:8,opacity:1},{angle:4.066617157146788,size:0,offset:8,opacity:1},{angle:4.084070449666731,size:.2219991701875027,offset:8,opacity:1},{angle:4.101523742186674,size:.22431067260162876,offset:8,opacity:1},{angle:4.118977034706617,size:.30926005945781443,offset:8,opacity:1},{angle:4.136430327226561,size:.2513871895964691,offset:8,opacity:1},{angle:4.153883619746504,size:.2659224601694766,offset:8,opacity:1},{angle:4.171336912266447,size:.2216658406470619,offset:8,opacity:1},{angle:4.1887902047863905,size:.4273566387084955,offset:8,opacity:1},{angle:4.206243497306334,size:.34036553217806864,offset:8,opacity:1},{angle:4.223696789826278,size:.32533678816516465,offset:8,opacity:1},{angle:4.241150082346221,size:.23594875228493112,offset:8,opacity:1},{angle:4.258603374866164,size:0,offset:8,opacity:1},{angle:4.276056667386108,size:0,offset:8,opacity:1},{angle:4.293509959906051,size:.31051254932537203,offset:8,opacity:1},{angle:4.310963252425994,size:0,offset:8,opacity:1},{angle:4.328416544945937,size:0,offset:8,opacity:1},{angle:4.34586983746588,size:0,offset:8,opacity:1},{angle:4.363323129985823,size:.41758554970783024,offset:8,opacity:1},{angle:4.380776422505767,size:0,offset:8,opacity:1},{angle:4.39822971502571,size:.5165181485571547,offset:8,opacity:1},{angle:4.4156830075456535,size:0,offset:8,opacity:1},{angle:4.4331363000655974,size:0,offset:8,opacity:1},{angle:4.4505895925855405,size:.2875659335408256,offset:8,opacity:1},{angle:4.468042885105484,size:.2630697344221547,offset:8,opacity:1},{angle:4.485496177625427,size:.3044067435482997,offset:8,opacity:1},{angle:4.50294947014537,size:.3224161157725142,offset:8,opacity:1},{angle:4.520402762665314,size:.29296045447988417,offset:8,opacity:1},{angle:4.537856055185257,size:0,offset:8,opacity:1},{angle:4.5553093477052,size:.5348621754537155,offset:8,opacity:1},{angle:4.572762640225143,size:.23724437888510921,offset:8,opacity:1},{angle:4.590215932745086,size:0,offset:8,opacity:1},{angle:4.607669225265029,size:.23471290119278718,offset:8,opacity:1},{angle:4.625122517784973,size:.23001169467314136,offset:8,opacity:1},{angle:4.642575810304916,size:.3381947981140539,offset:8,opacity:1},{angle:4.66002910282486,size:0,offset:8,opacity:1},{angle:4.6774823953448035,size:.2820194526396866,offset:8,opacity:1},{angle:4.694935687864747,size:.27589340223228825,offset:8,opacity:1},{angle:4.71238898038469,size:0,offset:8,opacity:1},{angle:4.729842272904633,size:0,offset:8,opacity:1},{angle:4.747295565424576,size:0,offset:8,opacity:1},{angle:4.764748857944519,size:0,offset:8,opacity:1},{angle:4.782202150464463,size:.6047061570324029,offset:8,opacity:1},{angle:4.799655442984406,size:0,offset:8,opacity:1},{angle:4.81710873550435,size:0,offset:8,opacity:1},{angle:4.834562028024293,size:.4385393337320528,offset:8,opacity:1},{angle:4.852015320544236,size:0,offset:8,opacity:1},{angle:4.869468613064179,size:.3738861085343654,offset:8,opacity:1},{angle:4.886921905584122,size:.2369083255375507,offset:8,opacity:1},{angle:4.9043751981040655,size:.20042730995532476,offset:8,opacity:1},{angle:4.9218284906240095,size:.27407857191507573,offset:8,opacity:1},{angle:4.939281783143953,size:.260307602595212,offset:8,opacity:1},{angle:4.956735075663896,size:.22693010922108042,offset:8,opacity:1},{angle:4.974188368183839,size:0,offset:8,opacity:1},{angle:4.991641660703782,size:.36404125447608293,offset:8,opacity:1},{angle:5.009094953223726,size:.36660145102645764,offset:8,opacity:1},{angle:5.026548245743669,size:.21844437325488894,offset:8,opacity:1},{angle:5.044001538263612,size:0,offset:8,opacity:1},{angle:5.061454830783556,size:0,offset:8,opacity:1},{angle:5.078908123303499,size:0,offset:8,opacity:1},{angle:5.096361415823442,size:.6203742746502853,offset:8,opacity:1},{angle:5.113814708343385,size:0,offset:8,opacity:1},{angle:5.1312680008633285,size:0,offset:8,opacity:1},{angle:5.148721293383272,size:0,offset:8,opacity:1},{angle:5.1661745859032155,size:0,offset:8,opacity:1},{angle:5.183627878423159,size:.4394142349769681,offset:8,opacity:1},{angle:5.201081170943102,size:.46186021808530575,offset:8,opacity:1},{angle:5.218534463463046,size:.29002729040435316,offset:8,opacity:1},{angle:5.235987755982989,size:0,offset:8,opacity:1},{angle:5.253441048502932,size:0,offset:8,opacity:1},{angle:5.270894341022875,size:0,offset:8,opacity:1},{angle:5.288347633542818,size:.2776981969296649,offset:8,opacity:1},{angle:5.305800926062762,size:0,offset:8,opacity:1},{angle:5.323254218582705,size:.3066397012962211,offset:8,opacity:1},{angle:5.340707511102648,size:.22441601610004672,offset:8,opacity:1},{angle:5.358160803622591,size:.25396857567416625,offset:8,opacity:1},{angle:5.3756140961425345,size:.5404051622973916,offset:8,opacity:1},{angle:5.393067388662478,size:.274204802103521,offset:8,opacity:1},{angle:5.410520681182422,size:.2565405657819229,offset:8,opacity:1},{angle:5.427973973702365,size:.3725761880437103,offset:8,opacity:1},{angle:5.445427266222309,size:0,offset:8,opacity:1},{angle:5.462880558742252,size:0,offset:8,opacity:1},{angle:5.480333851262195,size:.25731937569411467,offset:8,opacity:1},{angle:5.497787143782138,size:.3188635809253325,offset:8,opacity:1},{angle:5.515240436302081,size:.3356669541977725,offset:8,opacity:1},{angle:5.532693728822024,size:.20400657089323843,offset:8,opacity:1},{angle:5.550147021341967,size:0,offset:8,opacity:1},{angle:5.567600313861911,size:0,offset:8,opacity:1},{angle:5.585053606381854,size:0,offset:8,opacity:1},{angle:5.602506898901798,size:.3165635361425635,offset:8,opacity:1},{angle:5.619960191421741,size:.3235314722259551,offset:8,opacity:1},{angle:5.6374134839416845,size:.26584898777242194,offset:8,opacity:1},{angle:5.654866776461628,size:.21243062483790226,offset:8,opacity:1},{angle:5.672320068981571,size:.30724136900399,offset:8,opacity:1},{angle:5.689773361501514,size:.2501099291145934,offset:8,opacity:1},{angle:5.707226654021458,size:.39400265901275955,offset:8,opacity:1},{angle:5.724679946541401,size:.2093418399866516,offset:8,opacity:1},{angle:5.742133239061344,size:.32923152005471246,offset:8,opacity:1},{angle:5.759586531581287,size:0,offset:8,opacity:1},{angle:5.77703982410123,size:.56456531278707,offset:8,opacity:1},{angle:5.794493116621174,size:.20557753914211502,offset:8,opacity:1},{angle:5.811946409141117,size:.5684634070194285,offset:8,opacity:1},{angle:5.82939970166106,size:.20249056891565564,offset:8,opacity:1},{angle:5.846852994181004,size:.3190036119950446,offset:8,opacity:1},{angle:5.8643062867009474,size:0,offset:8,opacity:1},{angle:5.8817595792208905,size:.20533088638096786,offset:8,opacity:1},{angle:5.899212871740834,size:.3241677112796085,offset:8,opacity:1},{angle:5.916666164260777,size:.3624193559997502,offset:8,opacity:1},{angle:5.93411945678072,size:.40343678768322566,offset:8,opacity:1},{angle:5.951572749300664,size:.4188672613641715,offset:8,opacity:1},{angle:5.969026041820607,size:.2285210234832376,offset:8,opacity:1},{angle:5.98647933434055,size:0,offset:8,opacity:1},{angle:6.003932626860494,size:.48733967322430105,offset:8,opacity:1},{angle:6.021385919380437,size:.24186501745395364,offset:8,opacity:1},{angle:6.03883921190038,size:.4584926710071769,offset:8,opacity:1},{angle:6.056292504420323,size:.25479465338552776,offset:8,opacity:1},{angle:6.073745796940266,size:.2281956836229175,offset:8,opacity:1},{angle:6.09119908946021,size:.29373851820189983,offset:8,opacity:1},{angle:6.1086523819801535,size:.3027785858358294,offset:8,opacity:1},{angle:6.126105674500097,size:.39200941647226684,offset:8,opacity:1},{angle:6.14355896702004,size:.5167887646509625,offset:8,opacity:1},{angle:6.161012259539983,size:.48184476186013575,offset:8,opacity:1},{angle:6.178465552059926,size:.2170741818198825,offset:8,opacity:1},{angle:6.19591884457987,size:0,offset:8,opacity:1},{angle:6.213372137099813,size:.20735775148015026,offset:8,opacity:1},{angle:6.230825429619757,size:.38122080663892877,offset:8,opacity:1},{angle:6.2482787221397,size:.25023583869705845,offset:8,opacity:1},{angle:6.265732014659643,size:.2303276717210175,offset:8,opacity:1}],roughEdgeProbability:.3,roughEdgeShift:8,roughEdgePoints:360},m1={showRuler:!0,showFullRuler:!0,showCrossLine:!0,showDashLine:!0,showSideRuler:!0,showCurrentPositionText:!0},h1={svgPath:"M 0 -1 L 0.588 0.809 L -0.951 -0.309 L 0.951 -0.309 L -0.588 0.809 Z",drawStar:!1,starDiameter:14,starPositionY:0,scaleToSmallStar:!1},y1={openSecurityPattern:!0,securityPatternWidth:.15,securityPatternLength:3,securityPatternCount:5,securityPatternAngleRange:40,securityPatternParams:[{angle:1.409748801283011,lineAngle:.1920074644466812},{angle:5.32114078029858,lineAngle:2.6432851725092466},{angle:4.1098611216984136,lineAngle:-2.5979078269198292},{angle:4.994408472565594,lineAngle:2.8406667666143948},{angle:2.962601457171679,lineAngle:-1.5064351132749016}]},_1={companyName:"印章绘制有限责任公司",compression:1,borderOffset:1,textDistributionFactor:5,fontFamily:"Songti SC",fontHeight:4.2,fontWeight:400,shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"},v1={code:"1234567890",compression:1,fontHeight:1.2,fontFamily:"Arial",borderOffset:1,fontWidth:1.2,textDistributionFactor:50,fontWeight:"normal"},b1=40,C1=40,S1={stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2},T1="blue",w1=1,E1=!1,z1=!1,I1={code:"000000000000000000",compression:.7,fontHeight:3.7,fontFamily:"Arial",fontWidth:1.3,letterSpacing:8,positionY:0,totalWidth:26,fontWeight:"normal"},L1={applyAging:!1,agingIntensity:50,agingEffectParams:[]},P1={drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12},M1={drawInnerCircle:!0,innerCircleLineWidth:.2,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},A1=!1,x1=[{stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2}],N1=[{companyName:"绘制印章有限责任公司",compression:1,borderOffset:1,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!0,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"}],D1=[],O1=[],R1=1,F1=0,k1=0,U1=0,W1={drawInnerCircle:!0,innerCircleLineWidth:1,innerCircleLineRadiusX:20,innerCircleLineRadiusY:15},V1={roughEdge:d1,ruler:m1,drawStar:h1,securityPattern:y1,company:_1,stampCode:v1,width:b1,height:C1,stampType:S1,primaryColor:T1,borderWidth:w1,refreshSecurityPattern:E1,refreshOld:z1,taxNumber:I1,agingEffect:L1,innerCircle:P1,outThinCircle:M1,openManualAging:A1,stampTypeList:x1,companyList:N1,innerCircleList:D1,imageList:O1,scale:R1,offsetX:F1,offsetY:k1,mmToPixel:U1,outBorder:W1},$1={drawRoughEdge:!1,roughEdgeWidth:.2,roughEdgeHeight:5,roughEdgeParams:[{angle:0,size:.5032563701178842,offset:8,opacity:1},{angle:.017453292519943295,size:.3379166289700789,offset:8,opacity:1},{angle:.03490658503988659,size:.49850828105362677,offset:8,opacity:1},{angle:.05235987755982988,size:0,offset:8,opacity:1},{angle:.06981317007977318,size:.33027000340902746,offset:8,opacity:1},{angle:.08726646259971647,size:0,offset:8,opacity:1},{angle:.10471975511965977,size:.47393696973712246,offset:8,opacity:1},{angle:.12217304763960307,size:.6350416726108645,offset:8,opacity:1},{angle:.13962634015954636,size:.42238834211115167,offset:8,opacity:1},{angle:.15707963267948966,size:.2486073483438663,offset:8,opacity:1},{angle:.17453292519943295,size:0,offset:8,opacity:1},{angle:.19198621771937624,size:.35123274555265016,offset:8,opacity:1},{angle:.20943951023931953,size:.22448742164649077,offset:8,opacity:1},{angle:.22689280275926282,size:.4586736104699405,offset:8,opacity:1},{angle:.24434609527920614,size:.3043430828713793,offset:8,opacity:1},{angle:.2617993877991494,size:.3678224039628227,offset:8,opacity:1},{angle:.2792526803190927,size:.6163525747317525,offset:8,opacity:1},{angle:.296705972839036,size:.4363211517667617,offset:8,opacity:1},{angle:.3141592653589793,size:.205723548131973,offset:8,opacity:1},{angle:.33161255787892263,size:.4441622976512367,offset:8,opacity:1},{angle:.3490658503988659,size:0,offset:8,opacity:1},{angle:.3665191429188092,size:0,offset:8,opacity:1},{angle:.3839724354387525,size:.43017918657846765,offset:8,opacity:1},{angle:.40142572795869574,size:.4300022134137814,offset:8,opacity:1},{angle:.41887902047863906,size:0,offset:8,opacity:1},{angle:.4363323129985824,size:.25786098537584295,offset:8,opacity:1},{angle:.45378560551852565,size:.26525313850692,offset:8,opacity:1},{angle:.47123889803846897,size:.2838264875019364,offset:8,opacity:1},{angle:.4886921905584123,size:.4487316582245055,offset:8,opacity:1},{angle:.5061454830783556,size:.22112605086657722,offset:8,opacity:1},{angle:.5235987755982988,size:.4294648804576925,offset:8,opacity:1},{angle:.5410520681182421,size:.2181025744046031,offset:8,opacity:1},{angle:.5585053606381855,size:.20053237605486948,offset:8,opacity:1},{angle:.5759586531581287,size:0,offset:8,opacity:1},{angle:.593411945678072,size:0,offset:8,opacity:1},{angle:.6108652381980153,size:.20041438725089644,offset:8,opacity:1},{angle:.6283185307179586,size:.2609460635118062,offset:8,opacity:1},{angle:.6457718232379019,size:.39197138754198557,offset:8,opacity:1},{angle:.6632251157578453,size:.2605111967121892,offset:8,opacity:1},{angle:.6806784082777886,size:.20565487747739025,offset:8,opacity:1},{angle:.6981317007977318,size:.28654344221403566,offset:8,opacity:1},{angle:.7155849933176751,size:0,offset:8,opacity:1},{angle:.7330382858376184,size:.4584907994244955,offset:8,opacity:1},{angle:.7504915783575618,size:0,offset:8,opacity:1},{angle:.767944870877505,size:0,offset:8,opacity:1},{angle:.7853981633974483,size:0,offset:8,opacity:1},{angle:.8028514559173915,size:.32662457556616653,offset:8,opacity:1},{angle:.8203047484373349,size:.3119138674864993,offset:8,opacity:1},{angle:.8377580409572781,size:.4433990641657177,offset:8,opacity:1},{angle:.8552113334772213,size:.2123628886068149,offset:8,opacity:1},{angle:.8726646259971648,size:0,offset:8,opacity:1},{angle:.890117918517108,size:.34950148564089184,offset:8,opacity:1},{angle:.9075712110370513,size:0,offset:8,opacity:1},{angle:.9250245035569946,size:.20120500318879,offset:8,opacity:1},{angle:.9424777960769379,size:0,offset:8,opacity:1},{angle:.9599310885968813,size:.5188164082336375,offset:8,opacity:1},{angle:.9773843811168246,size:0,offset:8,opacity:1},{angle:.9948376736367678,size:.22172251375465574,offset:8,opacity:1},{angle:1.0122909661567112,size:.2432685121130981,offset:8,opacity:1},{angle:1.0297442586766543,size:.2320690651003732,offset:8,opacity:1},{angle:1.0471975511965976,size:.3907006251295331,offset:8,opacity:1},{angle:1.064650843716541,size:0,offset:8,opacity:1},{angle:1.0821041362364843,size:.2625156540222333,offset:8,opacity:1},{angle:1.0995574287564276,size:0,offset:8,opacity:1},{angle:1.117010721276371,size:.3145596222093862,offset:8,opacity:1},{angle:1.1344640137963142,size:.32936787676169677,offset:8,opacity:1},{angle:1.1519173063162573,size:.2857231314976785,offset:8,opacity:1},{angle:1.1693705988362009,size:.20120534399793935,offset:8,opacity:1},{angle:1.186823891356144,size:0,offset:8,opacity:1},{angle:1.2042771838760875,size:.23237394092882147,offset:8,opacity:1},{angle:1.2217304763960306,size:.28398641365511185,offset:8,opacity:1},{angle:1.239183768915974,size:.21502333555596864,offset:8,opacity:1},{angle:1.2566370614359172,size:.3499693244354978,offset:8,opacity:1},{angle:1.2740903539558606,size:0,offset:8,opacity:1},{angle:1.2915436464758039,size:.5105882933252887,offset:8,opacity:1},{angle:1.3089969389957472,size:.21784406246195218,offset:8,opacity:1},{angle:1.3264502315156905,size:.22514376311106876,offset:8,opacity:1},{angle:1.3439035240356336,size:.29704092249825453,offset:8,opacity:1},{angle:1.3613568165555772,size:.4521472353131752,offset:8,opacity:1},{angle:1.3788101090755203,size:.21507145749905754,offset:8,opacity:1},{angle:1.3962634015954636,size:.21682236241700453,offset:8,opacity:1},{angle:1.413716694115407,size:.22356961113236007,offset:8,opacity:1},{angle:1.4311699866353502,size:.22219417312865522,offset:8,opacity:1},{angle:1.4486232791552935,size:.2977119909206255,offset:8,opacity:1},{angle:1.4660765716752369,size:.38291243837511746,offset:8,opacity:1},{angle:1.48352986419518,size:.3116663219443704,offset:8,opacity:1},{angle:1.5009831567151235,size:0,offset:8,opacity:1},{angle:1.5184364492350666,size:.25492313554632756,offset:8,opacity:1},{angle:1.53588974175501,size:.2228509582782908,offset:8,opacity:1},{angle:1.5533430342749532,size:.35672171117898743,offset:8,opacity:1},{angle:1.5707963267948966,size:0,offset:8,opacity:1},{angle:1.5882496193148399,size:0,offset:8,opacity:1},{angle:1.605702911834783,size:.4388252813562349,offset:8,opacity:1},{angle:1.6231562043547265,size:.2273036372658915,offset:8,opacity:1},{angle:1.6406094968746698,size:.21718818137496743,offset:8,opacity:1},{angle:1.6580627893946132,size:.36941527530149404,offset:8,opacity:1},{angle:1.6755160819145563,size:.21623671572399,offset:8,opacity:1},{angle:1.6929693744344996,size:.636688937830729,offset:8,opacity:1},{angle:1.7104226669544427,size:0,offset:8,opacity:1},{angle:1.7278759594743864,size:0,offset:8,opacity:1},{angle:1.7453292519943295,size:.27728150462159734,offset:8,opacity:1},{angle:1.7627825445142729,size:0,offset:8,opacity:1},{angle:1.780235837034216,size:0,offset:8,opacity:1},{angle:1.7976891295541593,size:.23328034069543777,offset:8,opacity:1},{angle:1.8151424220741026,size:0,offset:8,opacity:1},{angle:1.8325957145940461,size:.2586898150005329,offset:8,opacity:1},{angle:1.8500490071139892,size:.4994559385312126,offset:8,opacity:1},{angle:1.8675022996339325,size:.26421680867532127,offset:8,opacity:1},{angle:1.8849555921538759,size:.3209021989338088,offset:8,opacity:1},{angle:1.902408884673819,size:0,offset:8,opacity:1},{angle:1.9198621771937625,size:0,offset:8,opacity:1},{angle:1.9373154697137058,size:.26002544806143374,offset:8,opacity:1},{angle:1.9547687622336491,size:.2924936993062236,offset:8,opacity:1},{angle:1.9722220547535922,size:.43140240061138796,offset:8,opacity:1},{angle:1.9896753472735356,size:.29591579647411836,offset:8,opacity:1},{angle:2.007128639793479,size:.46532747343985814,offset:8,opacity:1},{angle:2.0245819323134224,size:0,offset:8,opacity:1},{angle:2.0420352248333655,size:.37989836106928254,offset:8,opacity:1},{angle:2.0594885173533086,size:.43824671847111324,offset:8,opacity:1},{angle:2.076941809873252,size:.21491306461629336,offset:8,opacity:1},{angle:2.0943951023931953,size:.2576066045616476,offset:8,opacity:1},{angle:2.111848394913139,size:.20559969896825836,offset:8,opacity:1},{angle:2.129301687433082,size:.5452053035796387,offset:8,opacity:1},{angle:2.1467549799530254,size:.4317948579735969,offset:8,opacity:1},{angle:2.1642082724729685,size:.2926508010599716,offset:8,opacity:1},{angle:2.1816615649929116,size:.37646244630618103,offset:8,opacity:1},{angle:2.199114857512855,size:.5182160912889464,offset:8,opacity:1},{angle:2.2165681500327987,size:.5838728943805604,offset:8,opacity:1},{angle:2.234021442552742,size:.21844249399465382,offset:8,opacity:1},{angle:2.251474735072685,size:0,offset:8,opacity:1},{angle:2.2689280275926285,size:.3721009993624145,offset:8,opacity:1},{angle:2.2863813201125716,size:0,offset:8,opacity:1},{angle:2.3038346126325147,size:.24598938578156437,offset:8,opacity:1},{angle:2.321287905152458,size:.4507505938631045,offset:8,opacity:1},{angle:2.3387411976724017,size:.25469635650569583,offset:8,opacity:1},{angle:2.356194490192345,size:.30528741051655217,offset:8,opacity:1},{angle:2.373647782712288,size:.37088412070072785,offset:8,opacity:1},{angle:2.3911010752322315,size:.24486197147462863,offset:8,opacity:1},{angle:2.408554367752175,size:0,offset:8,opacity:1},{angle:2.426007660272118,size:.43989471208136854,offset:8,opacity:1},{angle:2.443460952792061,size:.33696542573155486,offset:8,opacity:1},{angle:2.4609142453120048,size:0,offset:8,opacity:1},{angle:2.478367537831948,size:0,offset:8,opacity:1},{angle:2.495820830351891,size:0,offset:8,opacity:1},{angle:2.5132741228718345,size:.2505063689411901,offset:8,opacity:1},{angle:2.530727415391778,size:.31438011396387455,offset:8,opacity:1},{angle:2.548180707911721,size:.34374426546984016,offset:8,opacity:1},{angle:2.5656340004316642,size:.2305610481543743,offset:8,opacity:1},{angle:2.5830872929516078,size:.37268657957858453,offset:8,opacity:1},{angle:2.600540585471551,size:.25219421624230426,offset:8,opacity:1},{angle:2.6179938779914944,size:0,offset:8,opacity:1},{angle:2.6354471705114375,size:.23021680363052838,offset:8,opacity:1},{angle:2.652900463031381,size:.3483359449322281,offset:8,opacity:1},{angle:2.670353755551324,size:.3251780474107786,offset:8,opacity:1},{angle:2.6878070480712672,size:0,offset:8,opacity:1},{angle:2.705260340591211,size:.3687577362310519,offset:8,opacity:1},{angle:2.7227136331111543,size:.5694461018098402,offset:8,opacity:1},{angle:2.7401669256310974,size:.22425733709526832,offset:8,opacity:1},{angle:2.7576202181510405,size:0,offset:8,opacity:1},{angle:2.7750735106709836,size:.32709123488963454,offset:8,opacity:1},{angle:2.792526803190927,size:.3643797544475289,offset:8,opacity:1},{angle:2.8099800957108707,size:.25481296814968835,offset:8,opacity:1},{angle:2.827433388230814,size:.20233815801319835,offset:8,opacity:1},{angle:2.844886680750757,size:.22289439004543232,offset:8,opacity:1},{angle:2.8623399732707004,size:0,offset:8,opacity:1},{angle:2.8797932657906435,size:0,offset:8,opacity:1},{angle:2.897246558310587,size:0,offset:8,opacity:1},{angle:2.91469985083053,size:.22662095056906018,offset:8,opacity:1},{angle:2.9321531433504737,size:.6177358599983805,offset:8,opacity:1},{angle:2.949606435870417,size:.5579600289881892,offset:8,opacity:1},{angle:2.96705972839036,size:.24919239443796898,offset:8,opacity:1},{angle:2.9845130209103035,size:0,offset:8,opacity:1},{angle:3.001966313430247,size:.20285345071151972,offset:8,opacity:1},{angle:3.01941960595019,size:.29633213437720063,offset:8,opacity:1},{angle:3.036872898470133,size:.31615740448077223,offset:8,opacity:1},{angle:3.0543261909900767,size:.4883995719883713,offset:8,opacity:1},{angle:3.07177948351002,size:.2500925025911332,offset:8,opacity:1},{angle:3.089232776029963,size:.262931178068741,offset:8,opacity:1},{angle:3.1066860685499065,size:.3135512137978654,offset:8,opacity:1},{angle:3.12413936106985,size:.31083588965839803,offset:8,opacity:1},{angle:3.141592653589793,size:0,offset:8,opacity:1},{angle:3.159045946109736,size:.24804439339468767,offset:8,opacity:1},{angle:3.1764992386296798,size:0,offset:8,opacity:1},{angle:3.193952531149623,size:.2571395452468249,offset:8,opacity:1},{angle:3.211405823669566,size:.6279202198461746,offset:8,opacity:1},{angle:3.2288591161895095,size:.24288586668685336,offset:8,opacity:1},{angle:3.246312408709453,size:.34718500726687895,offset:8,opacity:1},{angle:3.2637657012293966,size:.47061815108690846,offset:8,opacity:1},{angle:3.2812189937493397,size:0,offset:8,opacity:1},{angle:3.2986722862692828,size:.4866126208626991,offset:8,opacity:1},{angle:3.3161255787892263,size:0,offset:8,opacity:1},{angle:3.3335788713091694,size:0,offset:8,opacity:1},{angle:3.3510321638291125,size:.22976093136313686,offset:8,opacity:1},{angle:3.368485456349056,size:0,offset:8,opacity:1},{angle:3.385938748868999,size:0,offset:8,opacity:1},{angle:3.4033920413889422,size:.4397259724357342,offset:8,opacity:1},{angle:3.4208453339088853,size:.24667841492062575,offset:8,opacity:1},{angle:3.4382986264288293,size:.43391379529064145,offset:8,opacity:1},{angle:3.455751918948773,size:0,offset:8,opacity:1},{angle:3.473205211468716,size:0,offset:8,opacity:1},{angle:3.490658503988659,size:.21961175000891414,offset:8,opacity:1},{angle:3.5081117965086026,size:.36890033272657746,offset:8,opacity:1},{angle:3.5255650890285457,size:.4326945036689108,offset:8,opacity:1},{angle:3.543018381548489,size:.3268470087082487,offset:8,opacity:1},{angle:3.560471674068432,size:.20854219238334568,offset:8,opacity:1},{angle:3.5779249665883754,size:.2423254936922336,offset:8,opacity:1},{angle:3.5953782591083185,size:.4064744910955269,offset:8,opacity:1},{angle:3.6128315516282616,size:0,offset:8,opacity:1},{angle:3.630284844148205,size:.31287388031447483,offset:8,opacity:1},{angle:3.647738136668149,size:.3948160804791036,offset:8,opacity:1},{angle:3.6651914291880923,size:0,offset:8,opacity:1},{angle:3.6826447217080354,size:.2026956152601606,offset:8,opacity:1},{angle:3.7000980142279785,size:0,offset:8,opacity:1},{angle:3.717551306747922,size:.44054519647144813,offset:8,opacity:1},{angle:3.735004599267865,size:.4130009051490618,offset:8,opacity:1},{angle:3.752457891787808,size:0,offset:8,opacity:1},{angle:3.7699111843077517,size:.49311184417141246,offset:8,opacity:1},{angle:3.787364476827695,size:.45508968556466084,offset:8,opacity:1},{angle:3.804817769347638,size:0,offset:8,opacity:1},{angle:3.8222710618675815,size:.48005037780936805,offset:8,opacity:1},{angle:3.839724354387525,size:0,offset:8,opacity:1},{angle:3.8571776469074686,size:.4561164475672816,offset:8,opacity:1},{angle:3.8746309394274117,size:.3002000652009621,offset:8,opacity:1},{angle:3.8920842319473548,size:.3336541884527151,offset:8,opacity:1},{angle:3.9095375244672983,size:0,offset:8,opacity:1},{angle:3.9269908169872414,size:.4811384274609927,offset:8,opacity:1},{angle:3.9444441095071845,size:0,offset:8,opacity:1},{angle:3.961897402027128,size:.5102504861379599,offset:8,opacity:1},{angle:3.979350694547071,size:.23214101697543765,offset:8,opacity:1},{angle:3.9968039870670142,size:.29156434123379016,offset:8,opacity:1},{angle:4.014257279586958,size:0,offset:8,opacity:1},{angle:4.031710572106902,size:.20004717274584805,offset:8,opacity:1},{angle:4.049163864626845,size:.3614701974794731,offset:8,opacity:1},{angle:4.066617157146788,size:0,offset:8,opacity:1},{angle:4.084070449666731,size:.2219991701875027,offset:8,opacity:1},{angle:4.101523742186674,size:.22431067260162876,offset:8,opacity:1},{angle:4.118977034706617,size:.30926005945781443,offset:8,opacity:1},{angle:4.136430327226561,size:.2513871895964691,offset:8,opacity:1},{angle:4.153883619746504,size:.2659224601694766,offset:8,opacity:1},{angle:4.171336912266447,size:.2216658406470619,offset:8,opacity:1},{angle:4.1887902047863905,size:.4273566387084955,offset:8,opacity:1},{angle:4.206243497306334,size:.34036553217806864,offset:8,opacity:1},{angle:4.223696789826278,size:.32533678816516465,offset:8,opacity:1},{angle:4.241150082346221,size:.23594875228493112,offset:8,opacity:1},{angle:4.258603374866164,size:0,offset:8,opacity:1},{angle:4.276056667386108,size:0,offset:8,opacity:1},{angle:4.293509959906051,size:.31051254932537203,offset:8,opacity:1},{angle:4.310963252425994,size:0,offset:8,opacity:1},{angle:4.328416544945937,size:0,offset:8,opacity:1},{angle:4.34586983746588,size:0,offset:8,opacity:1},{angle:4.363323129985823,size:.41758554970783024,offset:8,opacity:1},{angle:4.380776422505767,size:0,offset:8,opacity:1},{angle:4.39822971502571,size:.5165181485571547,offset:8,opacity:1},{angle:4.4156830075456535,size:0,offset:8,opacity:1},{angle:4.4331363000655974,size:0,offset:8,opacity:1},{angle:4.4505895925855405,size:.2875659335408256,offset:8,opacity:1},{angle:4.468042885105484,size:.2630697344221547,offset:8,opacity:1},{angle:4.485496177625427,size:.3044067435482997,offset:8,opacity:1},{angle:4.50294947014537,size:.3224161157725142,offset:8,opacity:1},{angle:4.520402762665314,size:.29296045447988417,offset:8,opacity:1},{angle:4.537856055185257,size:0,offset:8,opacity:1},{angle:4.5553093477052,size:.5348621754537155,offset:8,opacity:1},{angle:4.572762640225143,size:.23724437888510921,offset:8,opacity:1},{angle:4.590215932745086,size:0,offset:8,opacity:1},{angle:4.607669225265029,size:.23471290119278718,offset:8,opacity:1},{angle:4.625122517784973,size:.23001169467314136,offset:8,opacity:1},{angle:4.642575810304916,size:.3381947981140539,offset:8,opacity:1},{angle:4.66002910282486,size:0,offset:8,opacity:1},{angle:4.6774823953448035,size:.2820194526396866,offset:8,opacity:1},{angle:4.694935687864747,size:.27589340223228825,offset:8,opacity:1},{angle:4.71238898038469,size:0,offset:8,opacity:1},{angle:4.729842272904633,size:0,offset:8,opacity:1},{angle:4.747295565424576,size:0,offset:8,opacity:1},{angle:4.764748857944519,size:0,offset:8,opacity:1},{angle:4.782202150464463,size:.6047061570324029,offset:8,opacity:1},{angle:4.799655442984406,size:0,offset:8,opacity:1},{angle:4.81710873550435,size:0,offset:8,opacity:1},{angle:4.834562028024293,size:.4385393337320528,offset:8,opacity:1},{angle:4.852015320544236,size:0,offset:8,opacity:1},{angle:4.869468613064179,size:.3738861085343654,offset:8,opacity:1},{angle:4.886921905584122,size:.2369083255375507,offset:8,opacity:1},{angle:4.9043751981040655,size:.20042730995532476,offset:8,opacity:1},{angle:4.9218284906240095,size:.27407857191507573,offset:8,opacity:1},{angle:4.939281783143953,size:.260307602595212,offset:8,opacity:1},{angle:4.956735075663896,size:.22693010922108042,offset:8,opacity:1},{angle:4.974188368183839,size:0,offset:8,opacity:1},{angle:4.991641660703782,size:.36404125447608293,offset:8,opacity:1},{angle:5.009094953223726,size:.36660145102645764,offset:8,opacity:1},{angle:5.026548245743669,size:.21844437325488894,offset:8,opacity:1},{angle:5.044001538263612,size:0,offset:8,opacity:1},{angle:5.061454830783556,size:0,offset:8,opacity:1},{angle:5.078908123303499,size:0,offset:8,opacity:1},{angle:5.096361415823442,size:.6203742746502853,offset:8,opacity:1},{angle:5.113814708343385,size:0,offset:8,opacity:1},{angle:5.1312680008633285,size:0,offset:8,opacity:1},{angle:5.148721293383272,size:0,offset:8,opacity:1},{angle:5.1661745859032155,size:0,offset:8,opacity:1},{angle:5.183627878423159,size:.4394142349769681,offset:8,opacity:1},{angle:5.201081170943102,size:.46186021808530575,offset:8,opacity:1},{angle:5.218534463463046,size:.29002729040435316,offset:8,opacity:1},{angle:5.235987755982989,size:0,offset:8,opacity:1},{angle:5.253441048502932,size:0,offset:8,opacity:1},{angle:5.270894341022875,size:0,offset:8,opacity:1},{angle:5.288347633542818,size:.2776981969296649,offset:8,opacity:1},{angle:5.305800926062762,size:0,offset:8,opacity:1},{angle:5.323254218582705,size:.3066397012962211,offset:8,opacity:1},{angle:5.340707511102648,size:.22441601610004672,offset:8,opacity:1},{angle:5.358160803622591,size:.25396857567416625,offset:8,opacity:1},{angle:5.3756140961425345,size:.5404051622973916,offset:8,opacity:1},{angle:5.393067388662478,size:.274204802103521,offset:8,opacity:1},{angle:5.410520681182422,size:.2565405657819229,offset:8,opacity:1},{angle:5.427973973702365,size:.3725761880437103,offset:8,opacity:1},{angle:5.445427266222309,size:0,offset:8,opacity:1},{angle:5.462880558742252,size:0,offset:8,opacity:1},{angle:5.480333851262195,size:.25731937569411467,offset:8,opacity:1},{angle:5.497787143782138,size:.3188635809253325,offset:8,opacity:1},{angle:5.515240436302081,size:.3356669541977725,offset:8,opacity:1},{angle:5.532693728822024,size:.20400657089323843,offset:8,opacity:1},{angle:5.550147021341967,size:0,offset:8,opacity:1},{angle:5.567600313861911,size:0,offset:8,opacity:1},{angle:5.585053606381854,size:0,offset:8,opacity:1},{angle:5.602506898901798,size:.3165635361425635,offset:8,opacity:1},{angle:5.619960191421741,size:.3235314722259551,offset:8,opacity:1},{angle:5.6374134839416845,size:.26584898777242194,offset:8,opacity:1},{angle:5.654866776461628,size:.21243062483790226,offset:8,opacity:1},{angle:5.672320068981571,size:.30724136900399,offset:8,opacity:1},{angle:5.689773361501514,size:.2501099291145934,offset:8,opacity:1},{angle:5.707226654021458,size:.39400265901275955,offset:8,opacity:1},{angle:5.724679946541401,size:.2093418399866516,offset:8,opacity:1},{angle:5.742133239061344,size:.32923152005471246,offset:8,opacity:1},{angle:5.759586531581287,size:0,offset:8,opacity:1},{angle:5.77703982410123,size:.56456531278707,offset:8,opacity:1},{angle:5.794493116621174,size:.20557753914211502,offset:8,opacity:1},{angle:5.811946409141117,size:.5684634070194285,offset:8,opacity:1},{angle:5.82939970166106,size:.20249056891565564,offset:8,opacity:1},{angle:5.846852994181004,size:.3190036119950446,offset:8,opacity:1},{angle:5.8643062867009474,size:0,offset:8,opacity:1},{angle:5.8817595792208905,size:.20533088638096786,offset:8,opacity:1},{angle:5.899212871740834,size:.3241677112796085,offset:8,opacity:1},{angle:5.916666164260777,size:.3624193559997502,offset:8,opacity:1},{angle:5.93411945678072,size:.40343678768322566,offset:8,opacity:1},{angle:5.951572749300664,size:.4188672613641715,offset:8,opacity:1},{angle:5.969026041820607,size:.2285210234832376,offset:8,opacity:1},{angle:5.98647933434055,size:0,offset:8,opacity:1},{angle:6.003932626860494,size:.48733967322430105,offset:8,opacity:1},{angle:6.021385919380437,size:.24186501745395364,offset:8,opacity:1},{angle:6.03883921190038,size:.4584926710071769,offset:8,opacity:1},{angle:6.056292504420323,size:.25479465338552776,offset:8,opacity:1},{angle:6.073745796940266,size:.2281956836229175,offset:8,opacity:1},{angle:6.09119908946021,size:.29373851820189983,offset:8,opacity:1},{angle:6.1086523819801535,size:.3027785858358294,offset:8,opacity:1},{angle:6.126105674500097,size:.39200941647226684,offset:8,opacity:1},{angle:6.14355896702004,size:.5167887646509625,offset:8,opacity:1},{angle:6.161012259539983,size:.48184476186013575,offset:8,opacity:1},{angle:6.178465552059926,size:.2170741818198825,offset:8,opacity:1},{angle:6.19591884457987,size:0,offset:8,opacity:1},{angle:6.213372137099813,size:.20735775148015026,offset:8,opacity:1},{angle:6.230825429619757,size:.38122080663892877,offset:8,opacity:1},{angle:6.2482787221397,size:.25023583869705845,offset:8,opacity:1},{angle:6.265732014659643,size:.2303276717210175,offset:8,opacity:1}],roughEdgeProbability:.3,roughEdgeShift:8,roughEdgePoints:360},H1={showRuler:!0,showFullRuler:!0,showCrossLine:!0,showDashLine:!0,showSideRuler:!0,showCurrentPositionText:!0},j1={svgPath:"M 0 -1 L 0.588 0.809 L -0.951 -0.309 L 0.951 -0.309 L -0.588 0.809 Z",drawStar:!1,starDiameter:14,starPositionY:0,scaleToSmallStar:!1},Y1={openSecurityPattern:!0,securityPatternWidth:.15,securityPatternLength:3,securityPatternCount:5,securityPatternAngleRange:40,securityPatternParams:[{angle:1.409748801283011,lineAngle:.1920074644466812},{angle:5.32114078029858,lineAngle:2.6432851725092466},{angle:4.1098611216984136,lineAngle:-2.5979078269198292},{angle:4.994408472565594,lineAngle:2.8406667666143948},{angle:2.962601457171679,lineAngle:-1.5064351132749016}]},B1={companyName:"印章绘制有限责任公司",compression:1,borderOffset:1,textDistributionFactor:5,fontFamily:"Songti SC",fontHeight:4.2,fontWeight:400,shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"},G1={code:"1234567890",compression:1,fontHeight:1.2,fontFamily:"Arial",borderOffset:1,fontWidth:1.2,textDistributionFactor:50,fontWeight:"normal"},X1=40,K1=40,J1={stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2},Q1="blue",q1=1,Z1=!1,ep=!1,tp={code:"",compression:.7,fontHeight:3.7,fontFamily:"Arial",fontWidth:1.3,letterSpacing:8,positionY:0,totalWidth:26,fontWeight:"normal"},sp={applyAging:!1,agingIntensity:50,agingEffectParams:[]},np={drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12},ip={drawInnerCircle:!0,innerCircleLineWidth:.2,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},op=!1,ap=[{stampType:"印章类型",fontHeight:4.6,fontFamily:"Arial",fontWidth:3,compression:.75,letterSpacing:0,positionY:.5,fontWeight:"normal",lineSpacing:2}],lp=[{companyName:"绘制印章有限责任公司",compression:1,borderOffset:1,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!0,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"}],rp=[],cp=[{imageUrl:"data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBzdGFuZGFsb25lPSJubyI/Pgo8IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDIwMDEwOTA0Ly9FTiIKICJodHRwOi8vd3d3LnczLm9yZy9UUi8yMDAxL1JFQy1TVkctMjAwMTA5MDQvRFREL3N2ZzEwLmR0ZCI+CjxzdmcgdmVyc2lvbj0iMS4wIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiB3aWR0aD0iMTI4MC4wMDAwMDBwdCIgaGVpZ2h0PSIxMjgwLjAwMDAwMHB0IiB2aWV3Qm94PSIwIDAgMTI4MC4wMDAwMDAgMTI4MC4wMDAwMDAiCiBwcmVzZXJ2ZUFzcGVjdFJhdGlvPSJ4TWlkWU1pZCBtZWV0Ij4KPG1ldGFkYXRhPgpDcmVhdGVkIGJ5IHBvdHJhY2UgMS4xNSwgd3JpdHRlbiBieSBQZXRlciBTZWxpbmdlciAyMDAxLTIwMTcKPC9tZXRhZGF0YT4KPGcgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMC4wMDAwMDAsMTI4MC4wMDAwMDApIHNjYWxlKDAuMTAwMDAwLC0wLjEwMDAwMCkiCmZpbGw9IiMwMDAwMDAiIHN0cm9rZT0ibm9uZSI+CjxwYXRoIGQ9Ik02MzY4IDEyNzYzIGMtOCAtMjEgLTQwNCAtMTEwOCAtODc4IC0yNDE1IGwtODY0IC0yMzc4IC0yMzEzIDAKYy0yMTk2IDAgLTIzMTMgLTEgLTIzMTIgLTE3IDAgLTExIDMzNiAtMzA0IDgyNiAtNzIzIDE2MDYgLTEzNzEgMjY0OCAtMjI2MgoyNjc2IC0yMjg5IGwyNyAtMjcgLTY1NSAtMjQyOCBjLTM2MSAtMTMzNSAtNjU0IC0yNDMwIC02NTIgLTI0MzMgMyAtMiA5NDIKNjQyIDIwODcgMTQzMSBsMjA4MSAxNDM2IDIwNjIgLTE0MjIgYzExMzQgLTc4MSAyMDc0IC0xNDI5IDIwODkgLTE0NDAgMTggLTEyCjI2IC0xNCAyMyAtNiAtMiA3IC0zNDQgMTEwNCAtNzYwIDI0MzggLTcyMiAyMzE3IC03NTUgMjQyNSAtNzM4IDI0NDIgMTAgOQo4NTMgNjkyIDE4NzMgMTUxOCAxMDIwIDgyNSAxODU2IDE1MDUgMTg1OCAxNTEwIDMgNyAtNzk1IDEwIC0yMzA3IDEwIGwtMjMxMQowIC0xMCAyMyBjLTYgMTIgLTQwNSAxMDk3IC04ODggMjQxMSAtNDgyIDEzMTQgLTg4MiAyMzkxIC04ODggMjM5MyAtNyAyIC0xOAotMTMgLTI2IC0zNHogbTIwIC0zODgwIGwtMyAtMjk3OCAtMTIzMCAtNDI4IGMtOTcwIC0zMzcgLTEyMzQgLTQyNSAtMTI0OAotNDE3IC0xMiA3IC0yODkyIDIzOTkgLTMwMDYgMjQ5NyAtMyAyIDUgMTMgMTcgMjUgbDIxIDIyIDE1MyAtNDcgYzg0IC0yNgoxMzA3IC00MDcgMjcxOCAtODQ2IDE0MTEgLTQzOSAyNTY3IC03OTcgMjU2OSAtNzk1IDIgMSAtMTc2IDIyNiAtMzk1IDUwMAotMjIwIDI3MyAtNTU1IDY5MSAtNzQ2IDkyOSBsLTM0NyA0MzMgNzI1IDIwMjkgYzM5OCAxMTE1IDcyNyAyMDM0IDcyOSAyMDQxIDIKNiAxNCAxMiAyNSAxMiBsMjAgMCAtMiAtMjk3N3ogbTU0ODAgLTEyMzUgYy0zIC0yMCAtMjQ1IC05OCAtMjcxOCAtODc0IC0xNDkzCi00NjkgLTI3MjMgLTg1NSAtMjczMyAtODU4IC0xMSAtMyAtMTUgMCAtMTAgNyA0IDcgMzIxIDQwMiA3MDUgODgwIGw2OTkgODY3CjIwMzAgMCAyMDMwIDAgLTMgLTIyeiBtLTQzNDQgLTIwOTcgYzYxMCAtMTkzIDExMTIgLTM1NCAxMTE2IC0zNTggNCAtNCAzMTYKLTk3MSA2OTMgLTIxNDggNjI4IC0xOTU2IDY4NSAtMjE0MSA2NzAgLTIxNTMgLTE0IC0xMCAtMjAgLTkgLTM0IDUgLTE1IDE2Ci0zNTQzIDQ5NTkgLTM1NjIgNDk5MCAtNCA3IC00IDEzIDAgMTMgNCAwIDUwNyAtMTU3IDExMTcgLTM0OXogbS0xMTM0IC05NDgKbC0xIC0xMjc4IC0xODE4IC0xMjg0IGMtMTAwMCAtNzA2IC0xODIyIC0xMjg1IC0xODI2IC0xMjg1IC00IC0xIC0xNiAyMSAtMjYKNDkgbC0xOSA1MCAyMyAzMSBjNjcgOTQgMzY2MiA0OTkzIDM2NjUgNDk5NCAxIDAgMiAtNTc1IDIgLTEyNzd6Ii8+CjwvZz4KPC9zdmc+Cg==",imageWidth:16.5,imageHeight:16,positionX:0,positionY:-2,keepAspectRatio:!0}],fp=1,up=0,pp=0,gp=0,dp={drawInnerCircle:!0,innerCircleLineWidth:1,innerCircleLineRadiusX:20,innerCircleLineRadiusY:15},mp={roughEdge:$1,ruler:H1,drawStar:j1,securityPattern:Y1,company:B1,stampCode:G1,width:X1,height:K1,stampType:J1,primaryColor:Q1,borderWidth:q1,refreshSecurityPattern:Z1,refreshOld:ep,taxNumber:tp,agingEffect:sp,innerCircle:np,outThinCircle:ip,openManualAging:op,stampTypeList:ap,companyList:lp,innerCircleList:rp,imageList:cp,scale:fp,offsetX:up,offsetY:pp,mmToPixel:gp,outBorder:dp},hp={key:0,class:"legal-dialog-overlay"},yp={class:"legal-dialog"},_p={class:"legal-content"},vp={style:{"white-space":"pre-line"}},bp={class:"dialog-buttons"},Cp={class:"disclaimer-content"},Sp={class:"warning-text"},Tp={style:{"white-space":"pre-line"}},wp={class:"button-group",style:{position:"sticky",top:"0","z-index":"1000","background-color":"white",padding:"10px"}},Ep={class:"control-group"},zp={class:"group-content"},Ip={class:"checkbox-label"},Lp={class:"checkbox-label"},Pp={key:0},Mp={class:"control-group"},Ap={class:"group-content"},xp={class:"company-header"},Np=["onClick"],Dp=["onUpdate:modelValue"],Op={class:"font-input-group"},Rp=["onUpdate:modelValue"],Fp=["value"],kp=["onUpdate:modelValue","placeholder"],Up=["onUpdate:modelValue"],Wp=["onUpdate:modelValue"],Vp={value:"normal"},$p={value:"bold"},Hp=["onUpdate:modelValue"],jp=["onUpdate:modelValue"],Yp=["onUpdate:modelValue"],Bp={class:"control-group"},Gp={class:"group-content"},Xp={class:"stamp-type-header"},Kp=["onClick"],Jp=["onUpdate:modelValue"],Qp=["onUpdate:modelValue"],qp={class:"font-input-group"},Zp=["onUpdate:modelValue"],eg={id:"stampTypeFontList"},tg=["value"],sg=["onUpdate:modelValue"],ng=["onUpdate:modelValue"],ig=["onUpdate:modelValue"],og=["onUpdate:modelValue"],ag={class:"control-group"},lg={class:"group-content"},rg={class:"font-input-group"},cg=["value"],fg={value:"normal"},ug={value:"bold"},pg={class:"control-group"},gg={class:"group-content"},dg={class:"font-input-group"},mg=["value"],hg={class:"control-group"},yg={class:"group-content"},_g={class:"image-header"},vg=["onClick"],bg={key:0,class:"image-preview"},Cg=["src","alt"],Sg=["onChange"],Tg=["onUpdate:modelValue"],wg=["onUpdate:modelValue"],Eg=["onUpdate:modelValue"],zg=["onUpdate:modelValue"],Ig={class:"checkbox-label"},Lg=["onUpdate:modelValue"],Pg={class:"control-group"},Mg={class:"group-content"},Ag={class:"checkbox-label"},xg={key:0},Ng={class:"control-group"},Dg={class:"group-content"},Og={class:"control-group"},Rg={class:"group-content"},Fg={class:"checkbox-label"},kg={key:0},Ug={key:1},Wg={key:2},Vg={key:3},$g={key:4},Hg={class:"control-group"},jg={class:"group-content"},Yg={class:"checkbox-label"},Bg={class:"checkbox-label"},Gg={key:0},Xg={class:"control-group"},Kg={class:"group-content"},Jg={class:"inner-circle-header"},Qg=["onClick"],qg=["onUpdate:modelValue"],Zg=["onUpdate:modelValue"],ed=["onUpdate:modelValue"],td={class:"canvas-container"},sd={style:{display:"flex","flex-direction":"row","margin-top":"12px",gap:"12px"}},nd={class:"control-group"},id={class:"checkbox-label"},od={class:"checkbox-label"},ad={key:0},ld={class:"control-group"},rd={style:{"margin-top":"12px"}},cd={class:"template-panel"},fd={class:"template-header"},ud={class:"template-list"},pd={class:"template-category"},gd=["onClick"],dd={class:"template-preview"},md=["src","alt"],hd={class:"template-info"},yd={class:"template-name"},_d=10,vd=mn({__name:"DrawStampUtilsDemo",setup(e){const{t}=_n(),s=$(null),n=$(null),i=$(!0),o=$("绘制印章有限责任公司"),a=$("1234567890123"),l=$("000000000000000000"),r=$("Songti SC"),u=$(4.2),f=$("SimSun"),d=$(1.2),v=$(1.2),E=$(20),D=$(1),O=$("blue"),W=$(14),b=$(!1),z=$(!1),P=$(50),T=$(3),F=$(!1),H=$(.5),k=$(1),ee=$(1),ne=$(20),_e=$("合同专用章"),Ee=$("SimSun"),ve=$(4.6),Ze=$(3),ft=$(0),ut=$(0),ze=$(-5),ce=$(1),ae=$(400),Pe=$(400),Be=$(400),Me=$("Songti SC"),Ae=$(400),Tt=$(1),pt=$(1),wt=$(!0),yt=$(.5),et=$(.2),_t=$("#FF0000"),gt=$(5),Ge=$(2);$(!1);const st=$(!1),nt=$(1),m=$(.3),h=$(0),L=$(!0),U=$(.5),R=$(15),c=$(12),g=$(!0),S=$(.5),I=$(25),A=$(22);$(null);const V=$(!1),y=$(.2),w=$(5),Y=$(.5),X=$(8),se=$(360),ie=$(!1),pe=$([{stampType:"印章类型",fontHeight:4.6,fontFamily:"SimSun",compression:.75,letterSpacing:0,positionY:-3,fontWeight:"normal",lineSpacing:2,fontWidth:3}]),he=$([{companyName:"绘制印章有限责任公司",compression:1,borderOffset:1,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"}]),Ve=$(!1),ke=$(10),Nt=$(10),ys=$(!0),xe=$([{drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:36,innerCircleLineRadiusY:27},{drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12}]),it=$(null),Xe=$([{imageUrl:"",imageWidth:10,imageHeight:10,positionX:0,positionY:0,keepAspectRatio:!0}]),_s=$(!0),Fs=$(1),or=()=>{console.log("add new image",Xe.value),(Xe.value===void 0||Xe.value===null)&&(Xe.value=[]),Xe.value.length<10&&Xe.value.push({imageUrl:"",imageWidth:10,imageHeight:10,positionX:0,positionY:0,keepAspectRatio:!0})},ar=x=>{Xe.value.splice(x,1)},_o=()=>{const x=Xt.getDrawConfigs(),C=JSON.stringify(x,null,2),_=new Blob([C],{type:"application/json"}),Q=URL.createObjectURL(_),j=document.createElement("a");j.href=Q,j.download="stamp_template.json",document.body.appendChild(j),j.click(),document.body.removeChild(j),URL.revokeObjectURL(Q)},lr=()=>{var x;(x=it.value)==null||x.click()},rr=x=>{const C=x.target;if(C.files&&C.files[0]){const _=C.files[0],Q=new FileReader;Q.onload=j=>{var Ie;try{if((Ie=j.target)!=null&&Ie.result){const Ke=j.target.result,Ot=JSON.parse(Ke);Xt.setDrawConfigs(Ot),ni(),Dt()}}catch(Ke){console.error("加载模板失败:",Ke),alert("加载模板失败,请确保文件格式正确")}},Q.readAsText(_)}C.value=""},cr=(x,C)=>{const _=x.target;if(_.files&&_.files[0]){const Q=_.files[0],j=new FileReader;j.onload=Ie=>{var Ke;(Ke=Ie.target)!=null&&Ke.result&&(Xe.value[C].imageUrl=Ie.target.result,Dt())},j.readAsDataURL(Q)}},fr=()=>{let x=-3;if(pe.value.length>0){const C=pe.value[pe.value.length-1];x=C.positionY+C.fontHeight}pe.value.push({stampType:"新印章类型",fontHeight:4,fontFamily:"SimSun",compression:.75,letterSpacing:0,positionY:x,fontWeight:"normal",lineSpacing:2,fontWidth:3})},ur=x=>{pe.value.splice(x,1)},pr=()=>{let x=1;if(he.value.length>0){const C=he.value[he.value.length-1];x=C.borderOffset+C.fontHeight}he.value.push({companyName:"新公司名称",compression:1,borderOffset:x,textDistributionFactor:3,fontFamily:"SimSun",fontHeight:4.2,fontWeight:"normal",shape:"ellipse",adjustEllipseText:!1,adjustEllipseTextFactor:.5,startAngle:0,rotateDirection:"counterclockwise"})},gr=x=>{he.value.splice(x,1)},dr=()=>{ie.value=!0},ks=$(40),Us=$(30),si=$(1.2);let Xt;const mr=()=>{Xt=new Na(n.value,_d)},Dt=(x=!1,C=!1,_=!1)=>{Xt.refreshStamp(x,C,_)},hr=()=>{xe.value.push({drawInnerCircle:!0,innerCircleLineWidth:.5,innerCircleLineRadiusX:16,innerCircleLineRadiusY:12})},yr=x=>{xe.value.splice(x,1)},_r=()=>{const x=Xt.getDrawConfigs(),C=x.agingEffect;C.applyAging=b.value,C.agingIntensity=P.value,x.openManualAging=z.value;const _=x.securityPattern;_.openSecurityPattern=wt.value,_.securityPatternCount=gt.value,_.securityPatternWidth=et.value,_.securityPatternLength=Ge.value;const Q=x.company;Q.companyName=o.value,Q.textDistributionFactor=T.value,Q.borderOffset=k.value,Q.fontHeight=u.value,Q.fontFamily=r.value,Q.compression=ce.value,Q.fontWeight=ae.value,Q.adjustEllipseText=F.value,Q.adjustEllipseTextFactor=H.value;const j=x.taxNumber;j.code=l.value,j.compression=nt.value,j.positionY=h.value,j.letterSpacing=m.value,j.fontFamily=Me.value,j.fontWeight=Ae.value;const Ie=x.stampType;Ie.stampType=_e.value,Ie.fontFamily=Ee.value,Ie.fontHeight=ve.value,Ie.fontWidth=Ze.value,Ie.letterSpacing=ft.value,Ie.positionY=ze.value,Ie.compression=Tt.value,Ie.fontWeight=Pe.value,Ie.lineSpacing=si.value;const Ke=x.stampCode;Ke.code=a.value,Ke.compression=pt.value,Ke.fontFamily=f.value,Ke.fontHeight=d.value,Ke.fontWidth=v.value,Ke.borderOffset=ee.value,Ke.textDistributionFactor=ne.value,Ke.fontWeight=Be.value,x.primaryColor=O.value,x.borderWidth=D.value,x.width=ks.value,x.height=Us.value;const Ot=x.drawStar;Ot.drawStar=st.value,Ot.useImage=Ve.value,Ot.imageWidth=ke.value,Ot.imageHeight=Nt.value,Ot.keepAspectRatio=ys.value,Ot.starDiameter=W.value,Ot.starPositionY=ut.value;const vs=x.roughEdge;vs.drawRoughEdge=V.value,vs.roughEdgeWidth=y.value,vs.roughEdgeHeight=w.value,vs.roughEdgeProbability=Y.value,vs.roughEdgeShift=X.value,vs.roughEdgePoints=se.value;const vn=x.innerCircle;vn.drawInnerCircle=L.value,vn.innerCircleLineWidth=U.value,vn.innerCircleLineRadiusX=R.value,vn.innerCircleLineRadiusY=c.value;const bn=x.outThinCircle;bn.drawInnerCircle=g.value,bn.innerCircleLineWidth=S.value,bn.innerCircleLineRadiusX=I.value,bn.innerCircleLineRadiusY=A.value,x.stampTypeList=pe.value,x.companyList=he.value,x.innerCircleList=xe.value,x.imageList=Xe.value;const bo=x.outBorder;bo.drawInnerCircle=_s.value,bo.innerCircleLineWidth=Fs.value,Dt()},vr=()=>{ie.value=!1},br=()=>{ie.value=!1,Xt.saveStampAsPNG()},ni=()=>{const x=Xt.getDrawConfigs();b.value=x.agingEffect.applyAging,P.value=x.agingEffect.agingIntensity,z.value=x.openManualAging,wt.value=x.securityPattern.openSecurityPattern,gt.value=x.securityPattern.securityPatternCount,et.value=x.securityPattern.securityPatternWidth,Ge.value=x.securityPattern.securityPatternLength,V.value=x.roughEdge.drawRoughEdge,y.value=x.roughEdge.roughEdgeWidth,w.value=x.roughEdge.roughEdgeHeight,Y.value=x.roughEdge.roughEdgeProbability,X.value=x.roughEdge.roughEdgeShift,se.value=x.roughEdge.roughEdgePoints,ks.value=x.width,Us.value=x.height,D.value=x.borderWidth,O.value=x.primaryColor,o.value=x.company.companyName,u.value=x.company.fontHeight,ce.value=x.company.compression,T.value=x.company.textDistributionFactor,k.value=x.company.borderOffset,he.value=x.companyList;const C=x.stampCode;a.value=C.code,d.value=C.fontHeight,v.value=C.fontWidth,ne.value=C.textDistributionFactor,ee.value=C.borderOffset,f.value=C.fontFamily,Be.value=C.fontWeight,pt.value=C.compression;const _=x.taxNumber;l.value=_.code,nt.value=_.compression,m.value=_.letterSpacing,h.value=_.positionY,Me.value=_.fontFamily,Ae.value=_.fontWeight;const Q=x.stampType;_e.value=Q.stampType,ve.value=Q.fontHeight,Ze.value=Q.fontWidth,ft.value=Q.letterSpacing,ze.value=Q.positionY,Ee.value=Q.fontFamily,Pe.value=Q.fontWeight,Tt.value=Q.compression,si.value=Q.lineSpacing,pe.value=x.stampTypeList,st.value=x.drawStar.drawStar,Ve.value=x.drawStar.useImage,ke.value=x.drawStar.imageWidth,Nt.value=x.drawStar.imageHeight,ys.value=x.drawStar.keepAspectRatio,W.value=x.drawStar.starDiameter,ut.value=x.drawStar.starPositionY,L.value=x.innerCircle.drawInnerCircle,U.value=x.innerCircle.innerCircleLineWidth,R.value=x.innerCircle.innerCircleLineRadiusX,c.value=x.innerCircle.innerCircleLineRadiusY,xe.value=x.innerCircleList,g.value=x.outThinCircle.drawInnerCircle,S.value=x.outThinCircle.innerCircleLineWidth,I.value=x.outThinCircle.innerCircleLineRadiusX,A.value=x.outThinCircle.innerCircleLineRadiusY,Xe.value=x.imageList||[],_s.value=x.outBorder.drawInnerCircle,Fs.value=x.outBorder.innerCircleLineWidth},Ws=$([]),Cr=async()=>{Ws.value=await g1()};Js(async()=>{await Cr(),mr(),ni(),Dt(),document.querySelectorAll(".font-select, .font-input").forEach(x=>{x instanceof HTMLElement&&as({target:x})})}),Yt([o,r,a,u,d,E,D,O,W,ne,T,k,ee,P,_e,Ee,ve,ft,ze,l,b,P,ce,Tt,pt,ft,_t,yt,_t,wt,gt,Ge,et,ks,Us,st,ut,nt,Me,m,h,W,L,U,R,c,S,I,A,g,z,V,y,w,Y,X,se,ae,Pe,Be,f,Ae,F,H,si,pe,he,Ve,ke,Nt,ys,xe,Xe,_s,Fs],()=>{_r()},{deep:!0});const ii=$([{id:"contract",name:"合同专用章",text:"合同专用章",fontSize:4.6,letterSpacing:0,lineSpacing:1.2,positionY:-5,compression:1},{id:"invoice",name:"印章类型",text:`发票专章 +增值税专用`,fontSize:4.2,letterSpacing:0,lineSpacing:1.5,positionY:-4,compression:.9},{id:"finance",name:"财务专用章",text:`财务专用章 +仅限报销使用`,fontSize:4,letterSpacing:0,lineSpacing:1.8,positionY:-3,compression:.85}]),Sr=()=>{localStorage.setItem("stampTypePresets",JSON.stringify(ii.value))},Tr=()=>{const x=localStorage.getItem("stampTypePresets");x&&(ii.value=JSON.parse(x))};Js(()=>{Tr()}),Yt(ii,()=>{Sr()},{deep:!0});const wr=()=>{window.open("https://xxss0903.github.io/extractstamp/","_blank")},as=x=>{var Q,j;const C=x.target,_=(C.tagName==="SELECT",C.value);if(C.style.setProperty("--current-font",_),C.tagName==="SELECT"){const Ie=(Q=C.parentElement)==null?void 0:Q.querySelector(".font-input");Ie&&(Ie.value=_,Ie.style.setProperty("--current-font",_))}if(C.tagName==="INPUT"){const Ie=(j=C.parentElement)==null?void 0:j.querySelector(".font-select");Ie&&(Ie.value=_,Ie.style.setProperty("--current-font",_))}},we=$({basic:!1,company:!1,stampType:!1,code:!1,taxNumber:!1,star:!1,security:!1,roughEdge:!1,aging:!1,innerCircle:!1,images:!1}),vt=x=>{we.value[x]=!we.value[x]},vo=$(-1),Er=async()=>{_o()},zr=x=>{try{const C=JSON.parse(JSON.stringify(x.config));C.ruler.showRuler=!0,C.ruler.showFullRuler=!0,C.ruler.showSideRuler=!0,C.ruler.showCrossLine=!0,C.ruler.showCurrentPositionText=!0,C.ruler.showDashLine=!0,C.company.startAngle=x.config.company.startAngle,C.company.rotateDirection=x.config.company.rotateDirection,console.log("load template",x,C),Xt.setDrawConfigs(C),ni(),Dt(),vo.value=-1-oi.findIndex(_=>_===x)}catch(C){console.error("加载默认模板失败:",C),alert("加载默认模板失败")}},Ir=()=>{oi.forEach(async x=>{const C=document.createElement("canvas");C.width=500,C.height=500;const _=new Na(C,8);x.config.ruler.showRuler=!1,_.setDrawConfigs(x.config),_.refreshStamp(),x.preview=C.toDataURL("image/png")})};Js(()=>{Ir()});const oi=[{name:"印章1",preview:"",config:V1},{name:"印章2",preview:"",config:mp}],Vs=$(localStorage.getItem("showSecurityWarning")!=="false");return Yt(Vs,x=>{localStorage.setItem("showSecurityWarning",String(x))}),(x,C)=>(le(),fe(Le,null,[ie.value?(le(),fe("div",hp,[p("div",yp,[p("h3",null,"⚠️ "+M(N(t)("legal.title")),1),p("div",_p,[p("p",null,[p("strong",null,M(N(t)("legal.warning")),1)]),p("p",null,[p("span",vp,M(N(t)("legal.securityItems")),1)])]),p("div",bp,[p("button",{onClick:vr,class:"cancel-button"},M(N(t)("legal.cancel")),1),p("button",{onClick:br,class:"confirm-button"},M(N(t)("legal.confirm")),1)])])])):dt("",!0),p("div",{class:Re(["container",{"has-warning":Vs.value}])},[Vs.value?(le(),fe("div",{key:0,class:Re(["legal-disclaimer",{hidden:!Vs.value}])},[p("div",Cp,[C[57]||(C[57]=p("div",{class:"warning-icon"},"⚠️",-1)),p("div",Sp,[p("h3",null,M(N(t)("legal.securityWarning")),1),p("p",null,[p("strong",null,M(N(t)("legal.securityNotice")),1)]),p("p",null,[p("span",Tp,M(N(t)("legal.securityItems")),1)]),p("button",{class:"close-warning",onClick:C[0]||(C[0]=_=>Vs.value=!1)},"×")])])],2)):dt("",!0),p("div",{class:"editor-controls",ref_key:"editorControls",ref:s},[p("div",wp,[p("button",{onClick:dr},M(N(t)("stamp.save")),1),p("button",{onClick:_o},M(N(t)("stamp.saveTemplate")),1),p("input",{type:"file",ref_key:"templateFileInput",ref:it,style:{display:"none"},accept:".json",onChange:rr},null,544),p("button",{onClick:lr},M(N(t)("stamp.loadTemplate")),1)]),p("div",Ep,[p("div",{class:"group-header",onClick:C[1]||(C[1]=_=>vt("basic"))},[p("h3",null,M(N(t)("stamp.basic.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.basic}])},"▼",2)]),B(p("div",zp,[p("label",Ip,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[2]||(C[2]=_=>i.value=_)},null,512),[[zt,i.value]]),K(" "+M(N(t)("stamp.basic.extractCircle")),1)]),p("label",null,[K(M(N(t)("stamp.basic.width"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[3]||(C[3]=_=>ks.value=_),min:"1",max:"50",step:"1"},null,512),[[Z,ks.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.basic.height"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[4]||(C[4]=_=>Us.value=_),min:"1",max:"50",step:"1"},null,512),[[Z,Us.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.basic.borderWidth"))+": ",1),B(p("input",{type:"number",step:"0.1","onUpdate:modelValue":C[5]||(C[5]=_=>D.value=_)},null,512),[[Z,D.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.basic.color"))+": ",1),B(p("input",{type:"color","onUpdate:modelValue":C[6]||(C[6]=_=>O.value=_)},null,512),[[Z,O.value]])]),p("label",Lp,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[7]||(C[7]=_=>_s.value=_)},null,512),[[zt,_s.value]]),K(" "+M(N(t)("stamp.outBorder.enable")),1)]),_s.value?(le(),fe("label",Pp,[K(M(N(t)("stamp.outBorder.lineWidth"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[8]||(C[8]=_=>Fs.value=_),min:"0.1",max:"5",step:"0.1"},null,512),[[Z,Fs.value,void 0,{number:!0}]])])):dt("",!0)],512),[[bt,we.value.basic]])]),p("div",Mp,[p("div",{class:"group-header",onClick:C[9]||(C[9]=_=>vt("company"))},[p("h3",null,M(N(t)("stamp.company.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.company}])},"▼",2)]),B(p("div",Ap,[(le(!0),fe(Le,null,Ft(he.value,(_,Q)=>(le(),fe("div",{key:Q,class:"company-item"},[p("div",xp,[p("span",null,M(N(t)("stamp.common.line",{index:Q+1})),1),p("button",{class:"small-button delete-button",onClick:j=>gr(Q)},M(N(t)("stamp.common.delete")),9,Np)]),p("label",null,[K(M(N(t)("stamp.company.name"))+": ",1),B(p("input",{type:"text","onUpdate:modelValue":j=>_.companyName=j},null,8,Dp),[[Z,_.companyName]])]),p("label",null,[K(M(N(t)("stamp.company.font"))+": ",1),p("div",Op,[B(p("select",{"onUpdate:modelValue":j=>_.fontFamily=j,class:"font-select",onChange:as},[(le(!0),fe(Le,null,Ft(Ws.value,j=>(le(),fe("option",{key:j,value:j,style:Is({fontFamily:j})},M(j),13,Fp))),128))],40,Rp),[[cs,_.fontFamily]]),B(p("input",{type:"text","onUpdate:modelValue":j=>_.fontFamily=j,class:"font-input",onInput:as,placeholder:N(t)("stamp.common.fontPlaceholder")},null,40,kp),[[Z,_.fontFamily]])])]),p("label",null,[K(M(N(t)("stamp.company.fontSize"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.fontHeight=j,min:"1",max:"10",step:"0.1"},null,8,Up),[[Z,_.fontHeight,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.company.fontWeight"))+": ",1),B(p("select",{"onUpdate:modelValue":j=>_.fontWeight=j},[p("option",Vp,M(N(t)("stamp.common.fontWeight.normal")),1),p("option",$p,M(N(t)("stamp.common.fontWeight.bold")),1),C[58]||(C[58]=In('',9))],8,Wp),[[cs,_.fontWeight]])]),p("label",null,[K(M(N(t)("stamp.company.compression"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":j=>_.compression=j,min:"0.5",max:"1.5",step:"0.05"},null,8,Hp),[[Z,_.compression,void 0,{number:!0}]]),p("span",null,M(_.compression.toFixed(2)),1)]),p("label",null,[K(M(N(t)("stamp.company.distribution"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":j=>_.textDistributionFactor=j,min:"0",max:"50",step:"0.1"},null,8,jp),[[Z,_.textDistributionFactor,void 0,{number:!0}]]),p("span",null,M(_.textDistributionFactor.toFixed(2)),1)]),p("label",null,[K(M(N(t)("stamp.company.margin"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.borderOffset=j,min:"-10",max:"10",step:"0.05"},null,8,Yp),[[Z,_.borderOffset,void 0,{number:!0}]])])]))),128)),p("button",{class:"add-button",onClick:pr},M(N(t)("stamp.common.addNew")),1)],512),[[bt,we.value.company]])]),p("div",Bp,[p("div",{class:"group-header",onClick:C[10]||(C[10]=_=>vt("stampType"))},[p("h3",null,M(N(t)("stamp.stampType.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.stampType}])},"▼",2)]),B(p("div",Gp,[(le(!0),fe(Le,null,Ft(pe.value,(_,Q)=>(le(),fe("div",{key:Q,class:"stamp-type-item"},[p("div",Xp,[p("span",null,M(N(t)("stamp.stampType.line",{index:Q+1})),1),p("button",{class:"small-button delete-button",onClick:j=>ur(Q)},M(N(t)("stamp.stampType.delete")),9,Kp)]),p("label",null,[K(M(N(t)("stamp.stampType.type"))+": ",1),B(p("input",{type:"text","onUpdate:modelValue":j=>_.stampType=j},null,8,Jp),[[Z,_.stampType]])]),p("label",null,[K(M(N(t)("stamp.stampType.fontSize"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.fontHeight=j,min:"1",max:"10",step:"0.1"},null,8,Qp),[[Z,_.fontHeight,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.stampType.font"))+": ",1),p("div",qp,[B(p("input",{type:"text","onUpdate:modelValue":j=>_.fontFamily=j,list:"stampTypeFontList",class:"font-input"},null,8,Zp),[[Z,_.fontFamily]]),p("datalist",eg,[(le(!0),fe(Le,null,Ft(Ws.value,j=>(le(),fe("option",{key:j,value:j},M(j),9,tg))),128))])])]),p("label",null,[K(M(N(t)("stamp.stampType.fontWeight"))+": ",1),B(p("select",{"onUpdate:modelValue":j=>_.fontWeight=j},C[59]||(C[59]=[In('',11)]),8,sg),[[cs,_.fontWeight]])]),p("label",null,[K(M(N(t)("stamp.stampType.compression"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":j=>_.compression=j,min:"0.1",max:"1.5",step:"0.05"},null,8,ng),[[Z,_.compression,void 0,{number:!0}]]),p("span",null,M(_.compression.toFixed(2)),1)]),p("label",null,[K(M(N(t)("stamp.stampType.letterSpacing"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":j=>_.letterSpacing=j,min:"-1",max:"10",step:"0.05"},null,8,ig),[[Z,_.letterSpacing,void 0,{number:!0}]]),p("span",null,M(_.letterSpacing.toFixed(2)),1)]),p("label",null,[K(M(N(t)("stamp.stampType.verticalPosition"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.positionY=j,min:"-20",max:"20",step:"0.5"},null,8,og),[[Z,_.positionY,void 0,{number:!0}]])])]))),128)),p("button",{class:"add-button",onClick:fr},M(N(t)("stamp.stampType.addNew")),1)],512),[[bt,we.value.stampType]])]),p("div",ag,[p("div",{class:"group-header",onClick:C[11]||(C[11]=_=>vt("code"))},[p("h3",null,M(N(t)("stamp.code.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.code}])},"▼",2)]),B(p("div",lg,[p("label",null,[K(M(N(t)("stamp.code.code"))+": ",1),B(p("input",{"onUpdate:modelValue":C[12]||(C[12]=_=>a.value=_)},null,512),[[Z,a.value]])]),p("label",null,[K(M(N(t)("stamp.code.font"))+": ",1),p("div",rg,[B(p("select",{"onUpdate:modelValue":C[13]||(C[13]=_=>f.value=_),class:"font-select",onChange:as},[(le(!0),fe(Le,null,Ft(Ws.value,_=>(le(),fe("option",{key:_,value:_,style:Is({fontFamily:_})},M(_),13,cg))),128))],544),[[cs,f.value]]),B(p("input",{type:"text","onUpdate:modelValue":C[14]||(C[14]=_=>f.value=_),class:"font-input",onInput:as,placeholder:"输入字体名称"},null,544),[[Z,f.value]])])]),p("label",null,[K(M(N(t)("stamp.code.fontSize"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[15]||(C[15]=_=>d.value=_),step:"0.1"},null,512),[[Z,d.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.code.fontWeight"))+": ",1),B(p("select",{"onUpdate:modelValue":C[16]||(C[16]=_=>Be.value=_)},[p("option",fg,M(N(t)("stamp.common.fontWeight.normal")),1),p("option",ug,M(N(t)("stamp.common.fontWeight.bold")),1),C[60]||(C[60]=In('',9))],512),[[cs,Be.value]])]),p("label",null,[p("span",null,M(N(t)("stamp.common.compression",{value:pt.value.toFixed(2)})),1),B(p("input",{type:"range","onUpdate:modelValue":C[17]||(C[17]=_=>pt.value=_),min:"0.0",max:"3",step:"0.01"},null,512),[[Z,pt.value,void 0,{number:!0}]])]),p("label",null,[p("span",null,M(N(t)("stamp.common.distribution",{value:ne.value.toFixed(1)})),1),B(p("input",{type:"range","onUpdate:modelValue":C[18]||(C[18]=_=>ne.value=_),min:"0",max:"100",step:"0.5"},null,512),[[Z,ne.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.code.margin"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[19]||(C[19]=_=>ee.value=_),min:"-10",max:"20",step:"0.05"},null,512),[[Z,ee.value,void 0,{number:!0}]])])],512),[[bt,we.value.code]])]),p("div",pg,[p("div",{class:"group-header",onClick:C[20]||(C[20]=_=>vt("taxNumber"))},[p("h3",null,M(N(t)("stamp.taxNumber.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.taxNumber}])},"▼",2)]),B(p("div",gg,[p("label",null,[K(M(N(t)("stamp.taxNumber.number"))+": ",1),B(p("input",{"onUpdate:modelValue":C[21]||(C[21]=_=>l.value=_)},null,512),[[Z,l.value]])]),p("label",null,[K(M(N(t)("stamp.taxNumber.font"))+": ",1),p("div",dg,[B(p("select",{"onUpdate:modelValue":C[22]||(C[22]=_=>Me.value=_),class:"font-select",onChange:as},[(le(!0),fe(Le,null,Ft(Ws.value,_=>(le(),fe("option",{key:_,value:_,style:Is({fontFamily:_})},M(_),13,mg))),128))],544),[[cs,Me.value]]),B(p("input",{type:"text","onUpdate:modelValue":C[23]||(C[23]=_=>Me.value=_),class:"font-input",onInput:as,placeholder:"输入字体名称"},null,544),[[Z,Me.value]])])]),p("label",null,[K(M(N(t)("stamp.taxNumber.fontWeight"))+": ",1),B(p("select",{"onUpdate:modelValue":C[24]||(C[24]=_=>Ae.value=_)},C[61]||(C[61]=[In('',11)]),512),[[cs,Ae.value]])]),p("label",null,[p("span",null,M(N(t)("stamp.common.compression",{value:nt.value.toFixed(2)})),1),B(p("input",{type:"range","onUpdate:modelValue":C[25]||(C[25]=_=>nt.value=_),min:"0.0",max:"3",step:"0.01"},null,512),[[Z,nt.value,void 0,{number:!0}]])]),p("label",null,[p("span",null,M(N(t)("stamp.common.letterSpacing",{value:m.value.toFixed(2)})),1),B(p("input",{type:"range","onUpdate:modelValue":C[26]||(C[26]=_=>m.value=_),min:"-1",max:"20",step:"0.05"},null,512),[[Z,m.value,void 0,{number:!0}]])]),p("label",null,[p("span",null,M(N(t)("stamp.common.verticalPosition",{value:h.value.toFixed(1)})),1),B(p("input",{type:"range","onUpdate:modelValue":C[27]||(C[27]=_=>h.value=_),min:"-10",max:"10",step:"0.1"},null,512),[[Z,h.value,void 0,{number:!0}]])])],512),[[bt,we.value.taxNumber]])]),p("div",hg,[p("div",{class:"group-header",onClick:C[28]||(C[28]=_=>vt("images"))},[p("h3",null,M(N(t)("stamp.images.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.images}])},"▼",2)]),B(p("div",yg,[(le(!0),fe(Le,null,Ft(Xe.value,(_,Q)=>(le(),fe("div",{key:Q,class:"image-item"},[p("div",_g,[p("span",null,M(N(t)("stamp.images.image",{index:Q+1})),1),p("button",{class:"small-button delete-button",onClick:j=>ar(Q)},"删除",8,vg)]),_.imageUrl?(le(),fe("div",bg,[p("img",{src:_.imageUrl,alt:N(t)("stamp.common.preview")},null,8,Cg)])):dt("",!0),p("label",null,[K(M(N(t)("stamp.images.select"))+": ",1),p("input",{type:"file",onChange:j=>cr(j,Q),accept:"image/*"},null,40,Sg)]),p("label",null,[K(M(N(t)("stamp.images.width"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.imageWidth=j,min:"1",max:"100",step:"0.5"},null,8,Tg),[[Z,_.imageWidth,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.images.height"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.imageHeight=j,min:"1",max:"100",step:"0.5"},null,8,wg),[[Z,_.imageHeight,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.images.positionX"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.positionX=j,min:"-20",max:"20",step:"0.5"},null,8,Eg),[[Z,_.positionX,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.images.positionY"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.positionY=j,min:"-20",max:"20",step:"0.5"},null,8,zg),[[Z,_.positionY,void 0,{number:!0}]])]),p("label",Ig,[B(p("input",{type:"checkbox","onUpdate:modelValue":j=>_.keepAspectRatio=j},null,8,Lg),[[zt,_.keepAspectRatio]]),K(" "+M(N(t)("stamp.images.keepRatio")),1)])]))),128)),p("button",{class:"add-button",onClick:or},M(N(t)("stamp.common.addNew")),1)],512),[[bt,we.value.images]])]),p("div",Pg,[p("div",{class:"group-header",onClick:C[29]||(C[29]=_=>vt("star"))},[p("h3",null,M(N(t)("stamp.star.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.star}])},"▼",2)]),B(p("div",Mg,[p("label",Ag,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[30]||(C[30]=_=>st.value=_)},null,512),[[zt,st.value]]),K(" "+M(N(t)("stamp.star.enable")),1)]),st.value?(le(),fe("div",xg,[p("label",null,[K(M(N(t)("stamp.star.diameter"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[31]||(C[31]=_=>W.value=_),step:"0.1"},null,512),[[Z,W.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.star.verticalPosition"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":C[32]||(C[32]=_=>ut.value=_),min:"-10",max:"10",step:"0.1"},null,512),[[Z,ut.value,void 0,{number:!0}]])])])):dt("",!0)],512),[[bt,we.value.star]])]),p("div",Ng,[p("div",{class:"group-header",onClick:C[33]||(C[33]=_=>vt("security"))},[p("h3",null,M(N(t)("stamp.security.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.security}])},"▼",2)]),B(p("div",Dg,[p("label",null,[K(M(N(t)("stamp.security.enable"))+": ",1),B(p("input",{type:"checkbox","onUpdate:modelValue":C[34]||(C[34]=_=>wt.value=_)},null,512),[[zt,wt.value]])]),p("button",{onClick:C[35]||(C[35]=_=>Dt(!0,!1))},M(N(t)("stamp.security.refresh")),1),p("label",null,[K(M(N(t)("stamp.security.count"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[36]||(C[36]=_=>gt.value=_),min:"1",max:"100",step:"1"},null,512),[[Z,gt.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.security.length"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[37]||(C[37]=_=>Ge.value=_),min:"0.1",max:"100",step:"0.1"},null,512),[[Z,Ge.value,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.security.width"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[38]||(C[38]=_=>et.value=_),min:"0.05",max:"0.5",step:"0.05"},null,512),[[Z,et.value,void 0,{number:!0}]])])],512),[[bt,we.value.security]])]),p("div",Og,[p("div",{class:"group-header",onClick:C[39]||(C[39]=_=>vt("roughEdge"))},[p("h3",null,M(N(t)("stamp.roughEdge.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.roughEdge}])},"▼",2)]),B(p("div",Rg,[p("label",Fg,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[40]||(C[40]=_=>V.value=_)},null,512),[[zt,V.value]]),K(" "+M(N(t)("stamp.roughEdge.enable")),1)]),V.value?(le(),fe("label",kg,[K(M(N(t)("stamp.roughEdge.width"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[41]||(C[41]=_=>y.value=_),min:"0.05",max:"0.5",step:"0.05"},null,512),[[Z,y.value,void 0,{number:!0}]]),p("span",null,M(y.value.toFixed(2)),1)])):dt("",!0),V.value?(le(),fe("label",Ug,[K(M(N(t)("stamp.roughEdge.height"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[42]||(C[42]=_=>w.value=_),min:"0.1",max:"5",step:"0.1"},null,512),[[Z,w.value,void 0,{number:!0}]]),p("span",null,M(w.value.toFixed(1)),1)])):dt("",!0),V.value?(le(),fe("label",Wg,[K(M(N(t)("stamp.roughEdge.probability"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[43]||(C[43]=_=>Y.value=_),min:"0",max:"1",step:"0.01"},null,512),[[Z,Y.value,void 0,{number:!0}]]),p("span",null,M(Y.value.toFixed(2)),1)])):dt("",!0),V.value?(le(),fe("label",Vg,[K(M(N(t)("stamp.roughEdge.shift"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[44]||(C[44]=_=>X.value=_),min:"-10",max:"10",step:"0.01"},null,512),[[Z,X.value,void 0,{number:!0}]]),p("span",null,M(X.value.toFixed(2)),1)])):dt("",!0),V.value?(le(),fe("label",$g,[K(M(N(t)("stamp.roughEdge.points"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[45]||(C[45]=_=>se.value=_),min:"100",max:"1000",step:"10"},null,512),[[Z,se.value,void 0,{number:!0}]]),p("span",null,M(se.value),1)])):dt("",!0),p("button",{onClick:C[46]||(C[46]=_=>Dt(!1,!1,!0))},M(N(t)("stamp.roughEdge.refresh")),1)],512),[[bt,we.value.roughEdge]])]),p("div",Hg,[p("div",{class:"group-header",onClick:C[47]||(C[47]=_=>vt("aging"))},[p("h3",null,M(N(t)("stamp.aging.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.aging}])},"▼",2)]),B(p("div",jg,[p("label",Yg,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[48]||(C[48]=_=>b.value=_)},null,512),[[zt,b.value]]),K(" "+M(N(t)("stamp.aging.enable")),1)]),p("label",Bg,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[49]||(C[49]=_=>z.value=_)},null,512),[[zt,z.value]]),K(" "+M(N(t)("stamp.aging.manual")),1)]),b.value?(le(),fe("label",Gg,[K(M(N(t)("stamp.aging.intensity"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[50]||(C[50]=_=>P.value=_),min:"0",max:"100",step:"1"},null,512),[[Z,P.value,void 0,{number:!0}]])])):dt("",!0),p("button",{onClick:C[51]||(C[51]=_=>Dt(!1,!0))},M(N(t)("stamp.aging.refresh")),1)],512),[[bt,we.value.aging]])]),p("div",Xg,[p("div",{class:"group-header",onClick:C[52]||(C[52]=_=>vt("innerCircle"))},[p("h3",null,M(N(t)("stamp.innerCircle.title")),1),p("span",{class:Re(["expand-icon",{expanded:we.value.innerCircle}])},"▼",2)]),B(p("div",Kg,[p("button",{onClick:hr},M(N(t)("stamp.innerCircle.addNew")),1),(le(!0),fe(Le,null,Ft(xe.value,(_,Q)=>(le(),fe("div",{key:Q,class:"inner-circle-item"},[p("div",Jg,[p("span",null,"第 "+M(Q+1)+" 行",1),p("button",{class:"small-button delete-button",onClick:j=>yr(Q)},"删除",8,Qg)]),p("label",null,[K(M(N(t)("stamp.innerCircle.lineWidth"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.innerCircleLineWidth=j,min:"0.05",max:"0.5",step:"0.05"},null,8,qg),[[Z,_.innerCircleLineWidth,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.innerCircle.radiusX"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.innerCircleLineRadiusX=j,min:"1",max:"50",step:"0.1"},null,8,Zg),[[Z,_.innerCircleLineRadiusX,void 0,{number:!0}]])]),p("label",null,[K(M(N(t)("stamp.innerCircle.radiusY"))+": ",1),B(p("input",{type:"number","onUpdate:modelValue":j=>_.innerCircleLineRadiusY=j,min:"1",max:"50",step:"0.1"},null,8,ed),[[Z,_.innerCircleLineRadiusY,void 0,{number:!0}]])])]))),128))],512),[[bt,we.value.innerCircle]])])],512),p("div",td,[p("div",sd,[p("div",nd,[p("h3",null,M(N(t)("stamp.aging.title")),1),p("label",id,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[53]||(C[53]=_=>b.value=_)},null,512),[[zt,b.value]]),K(" "+M(N(t)("stamp.aging.enable")),1)]),p("label",od,[B(p("input",{type:"checkbox","onUpdate:modelValue":C[54]||(C[54]=_=>z.value=_)},null,512),[[zt,z.value]]),K(" "+M(N(t)("stamp.aging.manual")),1)]),b.value?(le(),fe("label",ad,[K(M(N(t)("stamp.aging.intensity"))+": ",1),B(p("input",{type:"range","onUpdate:modelValue":C[55]||(C[55]=_=>P.value=_),min:"0",max:"100",step:"1"},null,512),[[Z,P.value,void 0,{number:!0}]])])):dt("",!0),p("button",{onClick:C[56]||(C[56]=_=>Dt(!1,!0))},M(N(t)("stamp.aging.refresh")),1)]),p("div",ld,[p("h3",null,M(N(t)("stamp.extract.title")),1),p("button",{onClick:wr},M(N(t)("stamp.extract.tool")),1)])]),p("div",rd,[p("canvas",{ref_key:"stampCanvas",ref:n,width:"600",height:"600"},null,512)])]),p("div",cd,[p("div",fd,[p("h3",null,M(N(t)("stamp.template.title")),1),p("button",{class:"add-template",onClick:Er},[C[62]||(C[62]=p("span",null,"+",-1)),K(" "+M(N(t)("stamp.template.save")),1)])]),p("div",ud,[p("div",pd,[p("h4",null,M(N(t)("stamp.template.defaultTitle")),1),(le(),fe(Le,null,Ft(oi,(_,Q)=>p("div",{key:"default-"+Q,class:Re(["template-item",{active:vo.value===-1-Q}]),onClick:j=>zr(_)},[p("div",dd,[p("img",{src:_.preview,alt:N(t)("stamp.template.preview")},null,8,md)]),p("div",hd,[p("span",yd,M(N(t)("stamp.template.name"))+": "+M(_.name),1)])],10,gd)),64))])])])],2)],64))}}),bd={class:"language-switch"},Cd=mn({__name:"App",setup(e){const{locale:t}=_n(),s=$(t.value),n=i=>{t.value=i,s.value=i};return(i,o)=>(le(),fe(Le,null,[p("div",bd,[p("button",{onClick:o[0]||(o[0]=a=>n("zh")),class:Re({active:s.value==="zh"})},"中文",2),p("button",{onClick:o[1]||(o[1]=a=>n("en")),class:Re({active:s.value==="en"})},"English",2)]),je(vd)],64))}}),Sd=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Td=Sd(Cd,[["__scopeId","data-v-2421fd2e"]]),wd={zh:{menu:{home:"首页",about:"关于",contact:"联系我们"},legal:{title:"法律提示",warning:"请确认您已知悉并同意以下内容:",securityWarning:"安全警告",securityNotice:"本项目仅供学习和参考!严禁用于任何非法用途!",securityItems:`1. 本项目开源代码仅用于技术学习和交流。 +2. 使用本项目生成的任何图片请勿用于任何非法用途。 +3. 因违法使用本项目造成的任何法律责任和损失,需自行承担,与本项目无关。 +4. 如果使用本项目请遵守相关法律法规。`,cancel:"取消",confirm:"我已知悉并同意"},stamp:{save:"保存印章",saveTemplate:"保存模板",loadTemplate:"加载模板",basic:{title:"印章基本设置",extractCircle:"提取圆形印章",width:"印章宽度 (mm)",height:"印章高度 (mm)",borderWidth:"圆形边框宽度 (mm)",color:"印章颜色"},company:{title:"公司名称列表设置",name:"公司名称",font:"字体",fontSize:"字体大小 (mm)",fontWeight:"字体粗细",compression:"压缩比例",distribution:"分布因子",margin:"边距 (mm)"},stampType:{title:"印章类型列表设置",type:"文字内容",fontSize:"字体大小 (mm)",font:"字体",fontWeight:"字体粗细",compression:"压缩比例",letterSpacing:"字符间距 (mm)",verticalPosition:"垂直位置 (mm)",addNew:"添加新行",delete:"删除",line:"第 {index} 行"},star:{title:"五角星设置",enable:"绘制五角星",diameter:"五角星直径 (mm)",verticalPosition:"垂直位置 (mm)"},security:{title:"防伪纹路设置",enable:"启用防伪纹路",refresh:"刷新纹路",count:"纹路数量",length:"纹路长度 (mm)",width:"纹路宽度 (mm)"},roughEdge:{title:"毛边效果设置",enable:"启用毛边效果",width:"毛边宽度 (mm)",height:"毛边高度 (mm)",probability:"毛边概率",shift:"毛边偏移 (mm)",points:"毛边点数",refresh:"刷新毛边"},aging:{title:"做旧效果",enable:"启用做旧效果",manual:"手动做旧",intensity:"做旧强度",refresh:"刷新做旧"},extract:{title:"提取印章",tool:"提取印章工具"},template:{title:"常用模板",save:"保存当前为模板",defaultTitle:"默认模板",preview:"预览",name:"模板名称"},common:{line:"第 {index} 行",delete:"删除",addNew:"添加新行",fontPlaceholder:"输入字体名称",fontWeightNormal:"正常",fontWeightBold:"粗体",fontWeight:{normal:"正常",bold:"粗体",light:"细体",medium:"中等",semibold:"半粗"},compression:"压缩比例:{value}",distribution:"分布因子:{value}",letterSpacing:"字符间距:{value} mm",verticalPosition:"垂直位置:{value} mm",preview:"预览图片"},code:{title:"印章编码设置",code:"印章编码",font:"字体",fontSize:"字体大小 (mm)",fontWeight:"字体粗细",compression:"压缩比例",distribution:"分布因子",margin:"边距 (mm)"},taxNumber:{title:"中间数字设置",number:"税号",font:"字体",fontSize:"字体大小 (mm)",fontWeight:"字体粗细",compression:"压缩比例",letterSpacing:"字符间距 (mm)",verticalPosition:"垂直位置调整 (mm)"},images:{title:"图片列表设置",image:"图片 {index}",select:"选择图片",width:"图片宽度 (mm)",height:"图片高度 (mm)",positionX:"水平位置 (mm)",positionY:"垂直位置 (mm)",keepRatio:"保持宽高比",preview:"预览"},innerCircle:{addNew:"新增",title:"内圈圆形设置",lineWidth:"内圈圆线宽 (mm)",radiusX:"内圈圆半径X (mm)",radiusY:"内圈圆半径Y (mm)"},outBorder:{enable:"显示外圈边框",lineWidth:"边框宽度 (mm)"}}},en:{menu:{home:"Home",about:"About",contact:"Contact"},legal:{title:"Legal Notice",warning:"Please confirm that you understand and agree to the following:",securityWarning:"Security Warning",securityNotice:"This project is for learning and reference only! It is strictly prohibited for any illegal use!",securityItems:`1. This project's open source code is only for technical learning and communication. +2. Do not use any images generated by this project for any illegal purposes. +3. You are responsible for any legal liability and losses caused by illegal use of this project. +4. Please comply with relevant laws and regulations when using this project.`,cancel:"Cancel",confirm:"I understand and agree"},stamp:{save:"Save Stamp",saveTemplate:"Save Template",loadTemplate:"Load Template",basic:{title:"Basic Stamp Settings",extractCircle:"Extract Circle Stamp",width:"Stamp Width (mm)",height:"Stamp Height (mm)",borderWidth:"Circle Border Width (mm)",color:"Stamp Color"},company:{title:"Company Name List Settings",name:"Company Name",font:"Font",fontSize:"Font Size (mm)",fontWeight:"Font Weight",compression:"Compression Ratio",distribution:"Distribution Factor",margin:"Margin (mm)"},stampType:{title:"Stamp Type List Settings",type:"Text Content",fontSize:"Font Size (mm)",font:"Font",fontWeight:"Font Weight",compression:"Compression Ratio",letterSpacing:"Letter Spacing (mm)",verticalPosition:"Vertical Position (mm)",addNew:"Add New",delete:"Delete",line:"Line {index}"},star:{title:"Star Settings",enable:"Draw Star",diameter:"Star Diameter (mm)",verticalPosition:"Vertical Position (mm)"},security:{title:"Security Pattern Settings",enable:"Enable Security Pattern",refresh:"Refresh Pattern",count:"Pattern Count",length:"Pattern Length (mm)",width:"Pattern Width (mm)"},roughEdge:{title:"Rough Edge Settings",enable:"Enable Rough Edge",width:"Edge Width (mm)",height:"Edge Height (mm)",probability:"Edge Probability",shift:"Edge Shift (mm)",points:"Edge Points",refresh:"Refresh Edge"},aging:{title:"Aging Effect",enable:"Enable Aging",manual:"Manual Aging",intensity:"Aging Intensity",refresh:"Refresh Aging"},extract:{title:"Extract Stamp",tool:"Extract Stamp Tool"},template:{title:"Common Templates",save:"Save Current as Template",defaultTitle:"Default Templates",preview:"Preview",name:"Template Name"},common:{line:"Line {index}",delete:"Delete",addNew:"Add New",fontPlaceholder:"Enter font name",fontWeightNormal:"Normal",fontWeightBold:"Bold",fontWeight:{normal:"Normal",bold:"Bold",light:"Light",medium:"Medium",semibold:"Semi Bold"},compression:"Compression: {value}",distribution:"Distribution: {value}",letterSpacing:"Letter Spacing: {value} mm",verticalPosition:"Vertical Position: {value} mm",preview:"Preview Image"},code:{title:"Stamp Code Settings",code:"Stamp Code",font:"Font",fontSize:"Font Size (mm)",fontWeight:"Font Weight",compression:"Compression Ratio",distribution:"Distribution Factor",margin:"Margin (mm)"},taxNumber:{title:"Center Number Settings",number:"Tax Number",font:"Font",fontSize:"Font Size (mm)",fontWeight:"Font Weight",compression:"Compression Ratio",letterSpacing:"Letter Spacing (mm)",verticalPosition:"Vertical Position (mm)"},images:{title:"Image List Settings",image:"Image {index}",select:"Select Image",width:"Image Width (mm)",height:"Image Height (mm)",positionX:"Horizontal Position (mm)",positionY:"Vertical Position (mm)",keepRatio:"Keep Aspect Ratio",preview:"Preview"},innerCircle:{addNew:"Add New",title:"Inner Circle Settings",lineWidth:"Circle Line Width (mm)",radiusX:"Circle Radius X (mm)",radiusY:"Circle Radius Y (mm)"},outBorder:{enable:"Show Outer Border",lineWidth:"Border Width (mm)"}}}},Ed=K0({locale:"zh",fallbackLocale:"en",messages:wd}),ir=Jf(Td);ir.use(Ed);ir.mount("#app"); diff --git a/docs/homedesign.png b/docs/homedesign.png new file mode 100644 index 0000000..1ce42ce Binary files /dev/null and b/docs/homedesign.png differ diff --git a/docs/index.html b/docs/index.html index b9ac45a..4373563 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2,11 +2,11 @@ - + - Vite + Vue + TS - - + DrawStamp + +
diff --git a/docs/logo128.png b/docs/logo128.png new file mode 100644 index 0000000..b7a4912 Binary files /dev/null and b/docs/logo128.png differ diff --git a/docs/logo32.png b/docs/logo32.png new file mode 100644 index 0000000..3de430f Binary files /dev/null and b/docs/logo32.png differ diff --git a/docs/logo64.png b/docs/logo64.png new file mode 100644 index 0000000..6bf974f Binary files /dev/null and b/docs/logo64.png differ diff --git a/vite.config.ts b/vite.config.ts index 58d3c25..7b93fc0 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,8 +3,9 @@ import vue from '@vitejs/plugin-vue' // https://vitejs.dev/config/ export default defineConfig({ plugins: [vue()], - base: '/', + base: '/drawstamputils/', build: { - outDir: "dist" + outDir: "docs" } }) +