i&&j8(i)):[n&&j8(n)]).forEach(i=>{i!==void 0&&(t+=(t.length?"&":"")+r,i!=null&&(t+="="+i))})}return t}function Tet(e){const t={};for(const r in e){const n=e[r];n!==void 0&&(t[r]=co(n)?n.map(a=>a==null?null:""+a):n==null?n:""+n)}return t}const Met=Symbol(""),AD=Symbol(""),tT=Symbol(""),yW=Symbol(""),q8=Symbol("");function Ev(){let e=[];function t(n){return e.push(n),()=>{const a=e.indexOf(n);a>-1&&e.splice(a,1)}}function r(){e=[]}return{add:t,list:()=>e,reset:r}}function Hl(e,t,r,n,a){const i=n&&(n.enterCallbacks[a]=n.enterCallbacks[a]||[]);return()=>new Promise((o,s)=>{const l=f=>{f===!1?s(Ih(4,{from:r,to:t})):f instanceof Error?s(f):qQe(f)?s(Ih(2,{from:t,to:f})):(i&&n.enterCallbacks[a]===i&&typeof f=="function"&&i.push(f),o())},u=e.call(n&&n.instances[a],t,r,l);let c=Promise.resolve(u);e.length<3&&(c=c.then(l)),c.catch(f=>s(f))})}function Xb(e,t,r,n){const a=[];for(const i of e)for(const o in i.components){let s=i.components[o];if(!(t!=="beforeRouteEnter"&&!i.instances[o]))if(ket(s)){const u=(s.__vccOpts||s)[t];u&&a.push(Hl(u,r,n,i,o))}else{let l=s();a.push(()=>l.then(u=>{if(!u)return Promise.reject(new Error(`Couldn't resolve component "${o}" at "${i.path}"`));const c=IQe(u)?u.default:u;i.components[o]=c;const d=(c.__vccOpts||c)[t];return d&&Hl(d,r,n,i,o)()}))}}return a}function ket(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ED(e){const t=je(tT),r=je(yW),n=O(()=>t.resolve(b(e.to))),a=O(()=>{const{matched:l}=n.value,{length:u}=l,c=l[u-1],f=r.matched;if(!c||!f.length)return-1;const d=f.findIndex(Dh.bind(null,c));if(d>-1)return d;const h=DD(l[u-2]);return u>1&&DD(c)===h&&f[f.length-1].path!==h?f.findIndex(Dh.bind(null,l[u-2])):d}),i=O(()=>a.value>-1&&Iet(r.params,n.value.params)),o=O(()=>a.value>-1&&a.value===r.matched.length-1&&lW(r.params,n.value.params));function s(l={}){return Det(l)?t[b(e.replace)?"replace":"push"](b(e.to)).catch(Rp):Promise.resolve()}return{route:n,href:O(()=>n.value.href),isActive:i,isExactActive:o,navigate:s}}const Aet=Ce({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:ED,setup(e,{slots:t}){const r=jt(ED(e)),{options:n}=je(tT),a=O(()=>({[ID(e.activeClass,n.linkActiveClass,"router-link-active")]:r.isActive,[ID(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:r.isExactActive}));return()=>{const i=t.default&&t.default(r);return e.custom?i:Ze("a",{"aria-current":r.isExactActive?e.ariaCurrentValue:null,href:r.href,onClick:r.navigate,class:a.value},i)}}}),Eet=Aet;function Det(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Iet(e,t){for(const r in t){const n=t[r],a=e[r];if(typeof n=="string"){if(n!==a)return!1}else if(!co(a)||a.length!==n.length||n.some((i,o)=>i!==a[o]))return!1}return!0}function DD(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ID=(e,t,r)=>e!=null?e:t!=null?t:r,Let=Ce({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:r}){const n=je(q8),a=O(()=>e.route||n.value),i=je(AD,0),o=O(()=>{let u=b(i);const{matched:c}=a.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),s=O(()=>a.value.matched[o.value]);kt(AD,O(()=>o.value+1)),kt(Met,s),kt(q8,a);const l=G();return Me(()=>[l.value,s.value,e.name],([u,c,f],[d,h,v])=>{c&&(c.instances[f]=u,h&&h!==c&&u&&u===d&&(c.leaveGuards.size||(c.leaveGuards=h.leaveGuards),c.updateGuards.size||(c.updateGuards=h.updateGuards))),u&&c&&(!h||!Dh(c,h)||!d)&&(c.enterCallbacks[f]||[]).forEach(p=>p(u))},{flush:"post"}),()=>{const u=a.value,c=e.name,f=s.value,d=f&&f.components[c];if(!d)return LD(r.default,{Component:d,route:u});const h=f.props[c],v=h?h===!0?u.params:typeof h=="function"?h(u):h:null,g=Ze(d,Mr({},v,t,{onVnodeUnmounted:m=>{m.component.isUnmounted&&(f.instances[c]=null)},ref:l}));return LD(r.default,{Component:g,route:u})||g}}});function LD(e,t){if(!e)return null;const r=e(t);return r.length===1?r[0]:r}const $et=Let;function Pet(e){const t=iet(e.routes,e),r=e.parseQuery||xet,n=e.stringifyQuery||kD,a=e.history,i=Ev(),o=Ev(),s=Ev(),l=Cr(Ml);let u=Ml;kd&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=jb.bind(null,J=>""+J),f=jb.bind(null,Cet),d=jb.bind(null,uy);function h(J,se){let Q,K;return cW(J)?(Q=t.getRecordMatcher(J),K=se):K=J,t.addRoute(K,Q)}function v(J){const se=t.getRecordMatcher(J);se&&t.removeRoute(se)}function p(){return t.getRoutes().map(J=>J.record)}function g(J){return!!t.getRecordMatcher(J)}function m(J,se){if(se=Mr({},se||l.value),typeof J=="string"){const be=qb(r,J,se.path),Z=t.resolve({path:be.path},se),ee=a.createHref(be.fullPath);return Mr(be,Z,{params:d(Z.params),hash:uy(be.hash),redirectedFrom:void 0,href:ee})}let Q;if("path"in J)Q=Mr({},J,{path:qb(r,J.path,se.path).path});else{const be=Mr({},J.params);for(const Z in be)be[Z]==null&&delete be[Z];Q=Mr({},J,{params:f(J.params)}),se.params=f(se.params)}const K=t.resolve(Q,se),re=J.hash||"";K.params=c(d(K.params));const ae=PQe(n,Mr({},J,{hash:_et(re),path:K.path})),he=a.createHref(ae);return Mr({fullPath:ae,hash:re,query:n===kD?Tet(J.query):J.query||{}},K,{redirectedFrom:void 0,href:he})}function y(J){return typeof J=="string"?qb(r,J,l.value.path):Mr({},J)}function _(J,se){if(u!==J)return Ih(8,{from:se,to:J})}function w(J){return x(J)}function C(J){return w(Mr(y(J),{replace:!0}))}function S(J){const se=J.matched[J.matched.length-1];if(se&&se.redirect){const{redirect:Q}=se;let K=typeof Q=="function"?Q(J):Q;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=y(K):{path:K},K.params={}),Mr({query:J.query,hash:J.hash,params:"path"in K?{}:J.params},K)}}function x(J,se){const Q=u=m(J),K=l.value,re=J.state,ae=J.force,he=J.replace===!0,be=S(Q);if(be)return x(Mr(y(be),{state:typeof be=="object"?Mr({},re,be.state):re,force:ae,replace:he}),se||Q);const Z=Q;Z.redirectedFrom=se;let ee;return!ae&&RQe(n,K,Q)&&(ee=Ih(16,{to:Z,from:K}),U(K,K,!0,!1)),(ee?Promise.resolve(ee):M(Z,K)).catch(ve=>ps(ve)?ps(ve,2)?ve:N(ve):F(ve,Z,K)).then(ve=>{if(ve){if(ps(ve,2))return x(Mr({replace:he},y(ve.to),{state:typeof ve.to=="object"?Mr({},re,ve.to.state):re,force:ae}),se||Z)}else ve=E(Z,K,!0,he,re);return A(Z,K,ve),ve})}function T(J,se){const Q=_(J,se);return Q?Promise.reject(Q):Promise.resolve()}function M(J,se){let Q;const[K,re,ae]=Ret(J,se);Q=Xb(K.reverse(),"beforeRouteLeave",J,se);for(const be of K)be.leaveGuards.forEach(Z=>{Q.push(Hl(Z,J,se))});const he=T.bind(null,J,se);return Q.push(he),Zf(Q).then(()=>{Q=[];for(const be of i.list())Q.push(Hl(be,J,se));return Q.push(he),Zf(Q)}).then(()=>{Q=Xb(re,"beforeRouteUpdate",J,se);for(const be of re)be.updateGuards.forEach(Z=>{Q.push(Hl(Z,J,se))});return Q.push(he),Zf(Q)}).then(()=>{Q=[];for(const be of J.matched)if(be.beforeEnter&&!se.matched.includes(be))if(co(be.beforeEnter))for(const Z of be.beforeEnter)Q.push(Hl(Z,J,se));else Q.push(Hl(be.beforeEnter,J,se));return Q.push(he),Zf(Q)}).then(()=>(J.matched.forEach(be=>be.enterCallbacks={}),Q=Xb(ae,"beforeRouteEnter",J,se),Q.push(he),Zf(Q))).then(()=>{Q=[];for(const be of o.list())Q.push(Hl(be,J,se));return Q.push(he),Zf(Q)}).catch(be=>ps(be,8)?be:Promise.reject(be))}function A(J,se,Q){for(const K of s.list())K(J,se,Q)}function E(J,se,Q,K,re){const ae=_(J,se);if(ae)return ae;const he=se===Ml,be=kd?history.state:{};Q&&(K||he?a.replace(J.fullPath,Mr({scroll:he&&be&&be.scroll},re)):a.push(J.fullPath,re)),l.value=J,U(J,se,Q,he),N()}let D;function L(){D||(D=a.listen((J,se,Q)=>{if(!ne.listening)return;const K=m(J),re=S(K);if(re){x(Mr(re,{replace:!0}),K).catch(Rp);return}u=K;const ae=l.value;kd&&WQe(_D(ae.fullPath,Q.delta),o4()),M(K,ae).catch(he=>ps(he,12)?he:ps(he,2)?(x(he.to,K).then(be=>{ps(be,20)&&!Q.delta&&Q.type===$0.pop&&a.go(-1,!1)}).catch(Rp),Promise.reject()):(Q.delta&&a.go(-Q.delta,!1),F(he,K,ae))).then(he=>{he=he||E(K,ae,!1),he&&(Q.delta&&!ps(he,8)?a.go(-Q.delta,!1):Q.type===$0.pop&&ps(he,20)&&a.go(-1,!1)),A(K,ae,he)}).catch(Rp)}))}let I=Ev(),R=Ev(),z;function F(J,se,Q){N(J);const K=R.list();return K.length?K.forEach(re=>re(J,se,Q)):console.error(J),Promise.reject(J)}function B(){return z&&l.value!==Ml?Promise.resolve():new Promise((J,se)=>{I.add([J,se])})}function N(J){return z||(z=!J,L(),I.list().forEach(([se,Q])=>J?Q(J):se()),I.reset()),J}function U(J,se,Q,K){const{scrollBehavior:re}=e;if(!kd||!re)return Promise.resolve();const ae=!Q&&GQe(_D(J.fullPath,0))||(K||!Q)&&history.state&&history.state.scroll||null;return Ge().then(()=>re(J,se,ae)).then(he=>he&&HQe(he)).catch(he=>F(he,J,se))}const j=J=>a.go(J);let Y;const X=new Set,ne={currentRoute:l,listening:!0,addRoute:h,removeRoute:v,hasRoute:g,getRoutes:p,resolve:m,options:e,push:w,replace:C,go:j,back:()=>j(-1),forward:()=>j(1),beforeEach:i.add,beforeResolve:o.add,afterEach:s.add,onError:R.add,isReady:B,install(J){const se=this;J.component("RouterLink",Eet),J.component("RouterView",$et),J.config.globalProperties.$router=se,Object.defineProperty(J.config.globalProperties,"$route",{enumerable:!0,get:()=>b(l)}),kd&&!Y&&l.value===Ml&&(Y=!0,w(a.location).catch(re=>{}));const Q={};for(const re in Ml)Q[re]=O(()=>l.value[re]);J.provide(tT,se),J.provide(yW,jt(Q)),J.provide(q8,l);const K=J.unmount;X.add(J),J.unmount=function(){X.delete(J),X.size<1&&(u=Ml,D&&D(),D=null,l.value=Ml,Y=!1,z=!1),K()}}};return ne}function Zf(e){return e.reduce((t,r)=>t.then(()=>r()),Promise.resolve())}function Ret(e,t){const r=[],n=[],a=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;oDh(u,s))?n.push(s):r.push(s));const l=e.matched[o];l&&(t.matched.find(u=>Dh(u,l))||a.push(l))}return[r,n,a]}const Oet={name:"404",data(){return{}},mounted(){},methods:{goBack(){this.$router.go(-1)},goHome(){this.$router.push({path:"/SystemManager/SysInfo"})}}},Net={class:"container container-star"},zet={class:"container container-bird"},Bet=y5('',1),Vet=[Bet],Fet={class:"container-title"},Het=y5('\u54CE\u5440\u3002\u770B\u6765\u4F60\u62D0\u9519\u5F2F\u4E86\u3002
',2),Wet={class:"btn"};function Get(e,t,r,n,a,i){return k(),P("div",null,[$("div",Net,[(k(),P(Fe,null,bt(30,(o,s)=>$("div",{key:s,class:"star-1"})),64)),(k(),P(Fe,null,bt(30,(o,s)=>$("div",{key:s,class:"star-2"})),64))]),$("div",zet,[(k(),P(Fe,null,bt(6,(o,s)=>$("div",{class:"bird bird-anim",key:s},Vet)),64)),$("div",Fet,[Het,$("div",Wet,[$("button",{onClick:t[0]||(t[0]=(...o)=>i.goHome&&i.goHome(...o)),style:{"margin-right":"30px"}},"\u8FD4\u56DE\u9996\u9875"),$("button",{onClick:t[1]||(t[1]=(...o)=>i.goBack&&i.goBack(...o)),style:{"margin-left":"20px"}},"\u8FD4\u56DE\u4E0A\u4E00\u9875")])])])])}var Uet=Sg(Oet,[["render",Get],["__file","D:/myproject/git/GLT-FreeCarRegistration/FreeCarRegistrationView/src/views/ErrorPage/404.vue"]]),Zr,La=!1,cy=!1,Xr,d2,$D=0,PD=0,s4=!1,fy=0,dy=0,h2=0,v2=0,Yet=0;function _W(){if(La){var e=new Uint8Array(3);e[0]=119,e[1]=136,e[2]=255,Zr.send(e.buffer)}}window.onbeforeunload=function(){rT(),cy=!1;try{_W(),Zr.close(),Zr=null}catch{}alert("onbeforeunload")};function X8(){console.log("\u5173\u95ED\u6444\u50CF\u5934"),rT(),La=!1;try{_W(),Zr.close(),Zr=null}catch{}}function Ket(e){for(var t=new Date().getTime();new Date().getTime()=65536&&n<=1114111?(t.push(n>>18&7|240),t.push(n>>12&63|128),t.push(n>>6&63|128),t.push(n&63|128)):n>=2048&&n<=65535?(t.push(n>>12&15|224),t.push(n>>6&63|128),t.push(n&63|128)):n>=128&&n<=2047?(t.push(n>>6&31|192),t.push(n&63|128)):t.push(n&255);return t}function Ao(e){if(typeof e=="string")return e;for(var t="",r=e,n=0;n>8&255,n[5]=Xr.width&255,n[6]=Xr.height>>8&255,n[7]=Xr.height&255,n[8]=t>>8&255,n[9]=t&255,n[10]=r>>8&255,n[11]=r&255,Zr.send(n.buffer)}}function rT(){if(La){var e=new Uint8Array(4);e[0]=119,e[1]=136,e[2]=2,e[3]=0,Zr.send(e.buffer)}}function itt(e){if(La)if(e==""){var t=1,r=0,n=0,a=12,i=new Uint8Array(a);i[0]=119,i[1]=136,i[2]=16,i[3]=0,i[4]=r>>16&255,i[5]=r>>8&255,i[6]=r&255,i[7]=t>>8&255,i[8]=t&255,i[9]=0,i[10]=n>>8&255,i[11]=n&255,Zr.send(i.buffer)}else{for(var o=encodeURI(e),s=jet(o),r=s.length,t=0,l=r;l>0;)l=l-90,t++;console.log("packageCount:"+t);var n=0;for(l=r;l>0;){if(l=l-90,l>0){var a=102,i=new Uint8Array(a);i[0]=119,i[1]=136,i[2]=16,i[3]=0,i[4]=r>>16&255,i[5]=r>>8&255,i[6]=r&255,i[7]=t>>8&255,i[8]=t&255,i[9]=90,i[10]=n>>8&255,i[11]=n&255,console.log("pindex:"+n);for(var u=0;u<90;u++)i[12+u]=s[u+n*90];Zr.send(i.buffer)}else{var a=90+l+12,i=new Uint8Array(a);i[0]=119,i[1]=136,i[2]=16,i[3]=0,i[4]=r>>16&255,i[5]=r>>8&255,i[6]=r&255,i[7]=t>>8&255,i[8]=t&255,i[9]=90+l,i[10]=n>>8&255,i[11]=n&255,console.log("pindex:"+n);for(var u=0;u<90+l;u++)i[12+u]=s[u+n*90];Zr.send(i.buffer)}n++,Ket(80)}}}function ott(){if(La){var e=new Uint8Array(4);e[0]=119,e[1]=136,e[2]=3,e[3]=0,Zr.send(e.buffer)}}function stt(){if(La){var e=new Uint8Array(4);e[0]=119,e[1]=136,e[2]=4,e[3]=0,Zr.send(e.buffer)}}function ltt(e,t,r,n){if(La){var a=new Uint8Array(10);a[0]=119,a[1]=136,a[2]=9,a[3]=0,a[4]=e>>8&255,a[5]=e&255,a[6]=t>>8&255,a[7]=t&255,a[8]=r,a[9]=n,Zr.send(a.buffer)}}function OD(t){var t=t||window.event,r=!0;return r=t.wheelDelta?t.wheelDelta<0:t.detail>0,r?stt():ott(),!1}function utt(e){s4=!0,fy=e.pageX-Xr.offsetLeft,dy=e.pageY-Xr.offsetTop}function ctt(e){s4=!1}function ftt(e){s4=!1}function dtt(e){if(s4){h2=e.pageX-Xr.offsetLeft,v2=e.pageY-Xr.offsetTop;var t=h2-fy,r=v2-dy,n=0,a=0;t<0?n=0:n=1,r<0?a=0:a=1,fy=h2,dy=v2,ltt(Math.abs(t),Math.abs(r),n,a)}}var ND=-1;function htt(){clearInterval(ND),ND=setInterval(function(){if(La){var e=new Uint8Array(3);e[0]=17,e[1]=17,e[2]=17,Zr.send(e.buffer),console.log("heartCheck...........")}},6e3)}var Z8=-1;function zD(){clearInterval(Z8),Z8=setInterval(function(){La==!1&&(bW(!1),console.log("reconnect...")),console.log("reconnectTimer.........!")},3e3)}function bW(e){Zr=new WebSocket("ws://127.0.0.1:22225"),Zr.binaryType="arraybuffer";try{Zr.onopen=function(t){_i.gpyLoading=!1,htt(),La=!0,clearInterval(Z8),Xet(),console.log("socket.onopen")},Zr.onclose=function(t){_i.gpyLoading=!1,console.log("socket.onclose"),La=!1,e?lr.error("\u94FE\u63A5\u5931\u8D25\uFF01"):zD()},Zr.onerror=function(t){La=!1,_i.gpyLoading=!1,e?lr.error("\u94FE\u63A5\u5931\u8D25\uFF01"):zD()},Zr.onmessage=function(t){var r=new Uint8Array(t.data);if(r.length>0&&(r[0]==17&&r[1]==17&&r[2]==17&&console.log("heart socket!!!!"),r[0]==85&&r[1]==102)){if(r[2]==80){for(var n=r[3],a=r.length-4,i=new Uint8Array(a),o=0;o0){for(var y=new Uint8Array(m),o=0;o0){for(var S=new Uint8Array(w),o=0;o0){for(var y=new Uint8Array(m),o=0;o0){for(var S=new Uint8Array(w),o=0;o0){for(var S=new Uint8Array(w),o=0;o0){for(var S=new Uint8Array(w),o=0;o0){for(var S=new Uint8Array(w),o=0;o0){for(var y=new Uint8Array(m),o=0;o0){for(var L=new Uint8Array(D),o=0;o0?(_i.devNameList=t,_i.devName=0,_i.gpyConnect=!0,Zet(_i.devName)):console.log("\u6CA1\u6709\u53D1\u73B0\u5408\u9002\u7684\u8BBE\u5907\uFF01")}function gtt(e,t){if(e>0){Qet(),vtt(100);var r="1920*1080",n=r.lastIndexOf("*"),a=parseInt(r.substring(0,n)),i=parseInt(r.substring(n+1,r.length)),o=_i.devName;Jet(o,a,i)}else console.log("\u83B7\u53D6\u5206\u8FA8\u7387\u4FE1\u606F\u5931\u8D25\uFF01")}function BD(e){e==0?(console.log("\u8BBE\u5907\u5F00\u542F\u6210\u529F"),_i.gpyLoading=!1):(_i.showMessage("\u8BBE\u5907\u5F00\u542F\u5931\u8D25!"),console.log("\u8BBE\u5907\u5F00\u542F\u5931\u8D25!"))}function Jb(e,t,r){if(e==0){var n="data:image/png;base64,"+r;_i.imgSrc=n,t==""?console.log("\u62CD\u7167\u6210\u529F"):console.log("\u62CD\u7167\u6210\u529F\uFF0C\u56FE\u7247\u4FDD\u5B58\u4F4D\u7F6E\uFF1A"+t)}else console.log("\u62CD\u7167\u5931\u8D25!")}function mtt(e,t,r,n,a,i,o,s,l,u,c){if(e==0){document.getElementById("CardName").value=t,document.getElementById("CardSex").value=r,document.getElementById("CardNation").value=n,document.getElementById("CardBorn").value=a,document.getElementById("CardAddress").value=i,document.getElementById("CardNum").value=o,document.getElementById("CardIssuedAt").value=s,document.getElementById("CardEffectDate").value=l;var f=document.getElementById("IdCardPhoto");f.src="data:image/png;base64,"+c,console.log("\u8BFB\u5361\u6210\u529F")}else console.log("\u8BFB\u5361\u5931\u8D25!")}function ytt(e,t,r,n,a,i,o,s,l,u,c,f){if(e==0){document.getElementById("CardName").value=t,document.getElementById("CardSex").value=r,document.getElementById("CardNation").value=n,document.getElementById("CardBorn").value=a,document.getElementById("CardAddress").value=i,document.getElementById("CardNum").value=o,document.getElementById("CardIssuedAt").value=s,document.getElementById("CardEffectDate").value=l;var d=document.getElementById("IdCardPhoto");d.src="data:image/png;base64,"+c;var d=document.getElementById("CameraPhoto");d.src="data:image/png;base64,"+f,console.log("\u8BFB\u5361\u6210\u529F")}else console.log("\u8BFB\u5361\u5931\u8D25!")}function _tt(e,t){e==0?console.log("\u6761\u7801/\u4E8C\u7EF4\u7801 \u8BC6\u522B\u7ED3\u679C:"+t):console.log("\u672A\u8BC6\u522B\u5230\u5185\u5BB9!")}function VD(e){e==""?console.log("\u83B7\u53D6\u76D8\u7B26\u5931\u8D25!"):console.log(e)}var _i,nT={exports:{}},wW=function(t,r){return function(){for(var a=new Array(arguments.length),i=0;i0;)i=n[a],o[i]||(t[i]=e[i],o[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t}function ztt(e,t,r){e=String(e),(r===void 0||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return n!==-1&&n===r}function Btt(e){if(!e)return null;var t=e.length;if(hy(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r}var Vtt=function(e){return function(t){return e&&t instanceof e}}(typeof Uint8Array!="undefined"&&Object.getPrototypeOf(Uint8Array)),Hn={isArray:oT,isArrayBuffer:SW,isBuffer:wtt,isFormData:Dtt,isArrayBufferView:Stt,isString:Ctt,isNumber:xtt,isObject:CW,isPlainObject:p2,isUndefined:hy,isDate:Ttt,isFile:Mtt,isBlob:ktt,isFunction:sT,isStream:Ett,isURLSearchParams:Itt,isStandardBrowserEnv:$tt,forEach:lT,merge:J8,extend:Ptt,trim:Ltt,stripBOM:Rtt,inherits:Ott,toFlatObject:Ntt,kindOf:iT,kindOfTest:zf,endsWith:ztt,toArray:Btt,isTypedArray:Vtt,isFileList:Att},Jf=Hn;function FD(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var xW=function(t,r,n){if(!r)return t;var a;if(n)a=n(r);else if(Jf.isURLSearchParams(r))a=r.toString();else{var i=[];Jf.forEach(r,function(l,u){l===null||typeof l=="undefined"||(Jf.isArray(l)?u=u+"[]":l=[l],Jf.forEach(l,function(f){Jf.isDate(f)?f=f.toISOString():Jf.isObject(f)&&(f=JSON.stringify(f)),i.push(FD(u)+"="+FD(f))}))}),a=i.join("&")}if(a){var o=t.indexOf("#");o!==-1&&(t=t.slice(0,o)),t+=(t.indexOf("?")===-1?"?":"&")+a}return t},Ftt=Hn;function l4(){this.handlers=[]}l4.prototype.use=function(t,r,n){return this.handlers.push({fulfilled:t,rejected:r,synchronous:n?n.synchronous:!1,runWhen:n?n.runWhen:null}),this.handlers.length-1};l4.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)};l4.prototype.forEach=function(t){Ftt.forEach(this.handlers,function(n){n!==null&&t(n)})};var Htt=l4,Wtt=Hn,Gtt=function(t,r){Wtt.forEach(t,function(a,i){i!==r&&i.toUpperCase()===r.toUpperCase()&&(t[r]=a,delete t[i])})},TW=Hn;function Lh(e,t,r,n,a){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),a&&(this.response=a)}TW.inherits(Lh,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var MW=Lh.prototype,kW={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach(function(e){kW[e]={value:e}});Object.defineProperties(Lh,kW);Object.defineProperty(MW,"isAxiosError",{value:!0});Lh.from=function(e,t,r,n,a,i){var o=Object.create(MW);return TW.toFlatObject(e,o,function(l){return l!==Error.prototype}),Lh.call(o,e.message,t,r,n,a),o.name=e.name,i&&Object.assign(o,i),o};var Zh=Lh,AW={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Hi=Hn;function Utt(e,t){t=t||new FormData;var r=[];function n(i){return i===null?"":Hi.isDate(i)?i.toISOString():Hi.isArrayBuffer(i)||Hi.isTypedArray(i)?typeof Blob=="function"?new Blob([i]):Buffer.from(i):i}function a(i,o){if(Hi.isPlainObject(i)||Hi.isArray(i)){if(r.indexOf(i)!==-1)throw Error("Circular reference detected in "+o);r.push(i),Hi.forEach(i,function(l,u){if(!Hi.isUndefined(l)){var c=o?o+"."+u:u,f;if(l&&!o&&typeof l=="object"){if(Hi.endsWith(u,"{}"))l=JSON.stringify(l);else if(Hi.endsWith(u,"[]")&&(f=Hi.toArray(l))){f.forEach(function(d){!Hi.isUndefined(d)&&t.append(c,n(d))});return}}a(l,c)}}),r.pop()}else t.append(o,n(i))}return a(e),t}var EW=Utt,Qb=Zh,Ytt=function(t,r,n){var a=n.config.validateStatus;!n.status||!a||a(n.status)?t(n):r(new Qb("Request failed with status code "+n.status,[Qb.ERR_BAD_REQUEST,Qb.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))},km=Hn,Ktt=km.isStandardBrowserEnv()?function(){return{write:function(r,n,a,i,o,s){var l=[];l.push(r+"="+encodeURIComponent(n)),km.isNumber(a)&&l.push("expires="+new Date(a).toGMTString()),km.isString(i)&&l.push("path="+i),km.isString(o)&&l.push("domain="+o),s===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(r){var n=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove:function(r){this.write(r,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}(),jtt=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)},qtt=function(t,r){return r?t.replace(/\/+$/,"")+"/"+r.replace(/^\/+/,""):t},Xtt=jtt,Ztt=qtt,DW=function(t,r){return t&&!Xtt(r)?Ztt(t,r):r},e3=Hn,Jtt=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"],Qtt=function(t){var r={},n,a,i;return t&&e3.forEach(t.split(`
+`),function(s){if(i=s.indexOf(":"),n=e3.trim(s.substr(0,i)).toLowerCase(),a=e3.trim(s.substr(i+1)),n){if(r[n]&&Jtt.indexOf(n)>=0)return;n==="set-cookie"?r[n]=(r[n]?r[n]:[]).concat([a]):r[n]=r[n]?r[n]+", "+a:a}}),r},HD=Hn,ert=HD.isStandardBrowserEnv()?function(){var t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a"),n;function a(i){var o=i;return t&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(o){var s=HD.isString(o)?a(o):o;return s.protocol===n.protocol&&s.host===n.host}}():function(){return function(){return!0}}(),Q8=Zh,trt=Hn;function IW(e){Q8.call(this,e==null?"canceled":e,Q8.ERR_CANCELED),this.name="CanceledError"}trt.inherits(IW,Q8,{__CANCEL__:!0});var u4=IW,rrt=function(t){var r=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return r&&r[1]||""},Dv=Hn,nrt=Ytt,art=Ktt,irt=xW,ort=DW,srt=Qtt,lrt=ert,urt=AW,gs=Zh,crt=u4,frt=rrt,WD=function(t){return new Promise(function(n,a){var i=t.data,o=t.headers,s=t.responseType,l;function u(){t.cancelToken&&t.cancelToken.unsubscribe(l),t.signal&&t.signal.removeEventListener("abort",l)}Dv.isFormData(i)&&Dv.isStandardBrowserEnv()&&delete o["Content-Type"];var c=new XMLHttpRequest;if(t.auth){var f=t.auth.username||"",d=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";o.Authorization="Basic "+btoa(f+":"+d)}var h=ort(t.baseURL,t.url);c.open(t.method.toUpperCase(),irt(h,t.params,t.paramsSerializer),!0),c.timeout=t.timeout;function v(){if(!!c){var m="getAllResponseHeaders"in c?srt(c.getAllResponseHeaders()):null,y=!s||s==="text"||s==="json"?c.responseText:c.response,_={data:y,status:c.status,statusText:c.statusText,headers:m,config:t,request:c};nrt(function(C){n(C),u()},function(C){a(C),u()},_),c=null}}if("onloadend"in c?c.onloadend=v:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(v)},c.onabort=function(){!c||(a(new gs("Request aborted",gs.ECONNABORTED,t,c)),c=null)},c.onerror=function(){a(new gs("Network Error",gs.ERR_NETWORK,t,c,c)),c=null},c.ontimeout=function(){var y=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",_=t.transitional||urt;t.timeoutErrorMessage&&(y=t.timeoutErrorMessage),a(new gs(y,_.clarifyTimeoutError?gs.ETIMEDOUT:gs.ECONNABORTED,t,c)),c=null},Dv.isStandardBrowserEnv()){var p=(t.withCredentials||lrt(h))&&t.xsrfCookieName?art.read(t.xsrfCookieName):void 0;p&&(o[t.xsrfHeaderName]=p)}"setRequestHeader"in c&&Dv.forEach(o,function(y,_){typeof i=="undefined"&&_.toLowerCase()==="content-type"?delete o[_]:c.setRequestHeader(_,y)}),Dv.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),s&&s!=="json"&&(c.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&c.addEventListener("progress",t.onDownloadProgress),typeof t.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(l=function(m){!c||(a(!m||m&&m.type?new crt:m),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(l),t.signal&&(t.signal.aborted?l():t.signal.addEventListener("abort",l))),i||(i=null);var g=frt(h);if(g&&["http","https","file"].indexOf(g)===-1){a(new gs("Unsupported protocol "+g+":",gs.ERR_BAD_REQUEST,t));return}c.send(i)})},drt=null,xn=Hn,GD=Gtt,UD=Zh,hrt=AW,vrt=EW,prt={"Content-Type":"application/x-www-form-urlencoded"};function YD(e,t){!xn.isUndefined(e)&&xn.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}function grt(){var e;return(typeof XMLHttpRequest!="undefined"||typeof process!="undefined"&&Object.prototype.toString.call(process)==="[object process]")&&(e=WD),e}function mrt(e,t,r){if(xn.isString(e))try{return(t||JSON.parse)(e),xn.trim(e)}catch(n){if(n.name!=="SyntaxError")throw n}return(r||JSON.stringify)(e)}var c4={transitional:hrt,adapter:grt(),transformRequest:[function(t,r){if(GD(r,"Accept"),GD(r,"Content-Type"),xn.isFormData(t)||xn.isArrayBuffer(t)||xn.isBuffer(t)||xn.isStream(t)||xn.isFile(t)||xn.isBlob(t))return t;if(xn.isArrayBufferView(t))return t.buffer;if(xn.isURLSearchParams(t))return YD(r,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n=xn.isObject(t),a=r&&r["Content-Type"],i;if((i=xn.isFileList(t))||n&&a==="multipart/form-data"){var o=this.env&&this.env.FormData;return vrt(i?{"files[]":t}:t,o&&new o)}else if(n||a==="application/json")return YD(r,"application/json"),mrt(t);return t}],transformResponse:[function(t){var r=this.transitional||c4.transitional,n=r&&r.silentJSONParsing,a=r&&r.forcedJSONParsing,i=!n&&this.responseType==="json";if(i||a&&xn.isString(t)&&t.length)try{return JSON.parse(t)}catch(o){if(i)throw o.name==="SyntaxError"?UD.from(o,UD.ERR_BAD_RESPONSE,this,null,this.response):o}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:drt},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};xn.forEach(["delete","get","head"],function(t){c4.headers[t]={}});xn.forEach(["post","put","patch"],function(t){c4.headers[t]=xn.merge(prt)});var uT=c4,yrt=Hn,_rt=uT,brt=function(t,r,n){var a=this||_rt;return yrt.forEach(n,function(o){t=o.call(a,t,r)}),t},LW=function(t){return!!(t&&t.__CANCEL__)},KD=Hn,t3=brt,wrt=LW,Srt=uT,Crt=u4;function r3(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Crt}var xrt=function(t){r3(t),t.headers=t.headers||{},t.data=t3.call(t,t.data,t.headers,t.transformRequest),t.headers=KD.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),KD.forEach(["delete","get","head","post","put","patch","common"],function(a){delete t.headers[a]});var r=t.adapter||Srt.adapter;return r(t).then(function(a){return r3(t),a.data=t3.call(t,a.data,a.headers,t.transformResponse),a},function(a){return wrt(a)||(r3(t),a&&a.response&&(a.response.data=t3.call(t,a.response.data,a.response.headers,t.transformResponse))),Promise.reject(a)})},Ra=Hn,$W=function(t,r){r=r||{};var n={};function a(c,f){return Ra.isPlainObject(c)&&Ra.isPlainObject(f)?Ra.merge(c,f):Ra.isPlainObject(f)?Ra.merge({},f):Ra.isArray(f)?f.slice():f}function i(c){if(Ra.isUndefined(r[c])){if(!Ra.isUndefined(t[c]))return a(void 0,t[c])}else return a(t[c],r[c])}function o(c){if(!Ra.isUndefined(r[c]))return a(void 0,r[c])}function s(c){if(Ra.isUndefined(r[c])){if(!Ra.isUndefined(t[c]))return a(void 0,t[c])}else return a(void 0,r[c])}function l(c){if(c in r)return a(t[c],r[c]);if(c in t)return a(void 0,t[c])}var u={url:o,method:o,data:o,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:l};return Ra.forEach(Object.keys(t).concat(Object.keys(r)),function(f){var d=u[f]||i,h=d(f);Ra.isUndefined(h)&&d!==l||(n[f]=h)}),n},PW={version:"0.27.2"},Trt=PW.version,Wl=Zh,cT={};["object","boolean","number","function","string","symbol"].forEach(function(e,t){cT[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});var jD={};cT.transitional=function(t,r,n){function a(i,o){return"[Axios v"+Trt+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return function(i,o,s){if(t===!1)throw new Wl(a(o," has been removed"+(r?" in "+r:"")),Wl.ERR_DEPRECATED);return r&&!jD[o]&&(jD[o]=!0,console.warn(a(o," has been deprecated since v"+r+" and will be removed in the near future"))),t?t(i,o,s):!0}};function Mrt(e,t,r){if(typeof e!="object")throw new Wl("options must be an object",Wl.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),a=n.length;a-- >0;){var i=n[a],o=t[i];if(o){var s=e[i],l=s===void 0||o(s,i,e);if(l!==!0)throw new Wl("option "+i+" must be "+l,Wl.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new Wl("Unknown option "+i,Wl.ERR_BAD_OPTION)}}var krt={assertOptions:Mrt,validators:cT},RW=Hn,Art=xW,qD=Htt,XD=xrt,f4=$W,Ert=DW,OW=krt,Qf=OW.validators;function $h(e){this.defaults=e,this.interceptors={request:new qD,response:new qD}}$h.prototype.request=function(t,r){typeof t=="string"?(r=r||{},r.url=t):r=t||{},r=f4(this.defaults,r),r.method?r.method=r.method.toLowerCase():this.defaults.method?r.method=this.defaults.method.toLowerCase():r.method="get";var n=r.transitional;n!==void 0&&OW.assertOptions(n,{silentJSONParsing:Qf.transitional(Qf.boolean),forcedJSONParsing:Qf.transitional(Qf.boolean),clarifyTimeoutError:Qf.transitional(Qf.boolean)},!1);var a=[],i=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(r)===!1||(i=i&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});var o=[];this.interceptors.response.forEach(function(h){o.push(h.fulfilled,h.rejected)});var s;if(!i){var l=[XD,void 0];for(Array.prototype.unshift.apply(l,a),l=l.concat(o),s=Promise.resolve(r);l.length;)s=s.then(l.shift(),l.shift());return s}for(var u=r;a.length;){var c=a.shift(),f=a.shift();try{u=c(u)}catch(d){f(d);break}}try{s=XD(u)}catch(d){return Promise.reject(d)}for(;o.length;)s=s.then(o.shift(),o.shift());return s};$h.prototype.getUri=function(t){t=f4(this.defaults,t);var r=Ert(t.baseURL,t.url);return Art(r,t.params,t.paramsSerializer)};RW.forEach(["delete","get","head","options"],function(t){$h.prototype[t]=function(r,n){return this.request(f4(n||{},{method:t,url:r,data:(n||{}).data}))}});RW.forEach(["post","put","patch"],function(t){function r(n){return function(i,o,s){return this.request(f4(s||{},{method:t,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}$h.prototype[t]=r(),$h.prototype[t+"Form"]=r(!0)});var Drt=$h,Irt=u4;function Ph(e){if(typeof e!="function")throw new TypeError("executor must be a function.");var t;this.promise=new Promise(function(a){t=a});var r=this;this.promise.then(function(n){if(!!r._listeners){var a,i=r._listeners.length;for(a=0;a{this.uploadImageSrc=r.result}},showMessage(e){lr.error(e)},setImgSrc(e,t){},closePage(){X8(),this.gpyConnect=!1},connectGpy(){this.gpyLoading=!0,this.gpyConnect=!0;const e=document.documentElement.clientHeight*.4,t=e/9*16;this.CameraStyle="width:"+t+"px;height:"+e+"px",Zb(document.getElementById("CameraCtl"),0,0,t,e,this,!0)},connectGpy2(){this.gpyLoading=!0,this.gpyConnect=!0;const e=document.documentElement.clientHeight*.4,t=e/9*16;this.CameraStyle="width:"+t+"px;height:"+e+"px",Zb(document.getElementById("CameraCtl"),0,0,t,e,this,!0)},toConnectGPY(){if(this.devName!=null&&this.devName!=""){this.gpyLoading=!0,this.gpyConnect=!0;const e=document.documentElement.clientHeight*.4,t=e/9*16;this.imgStyle="height:"+e*.45+"px;",this.CameraStyle="width:"+t+"px;height:"+e+"px",Zb(document.getElementById("CameraCtl"),0,0,t,e,this)}}},mounted(){window.WebSocket||alert("\u6D4F\u89C8\u5668\u4E0D\u652F\u6301HTML5,\u8BF7\u66F4\u65B0\u6D4F\u89C8\u5668\u6216\u8005\u4F7F\u7528\u5176\u5B83\u6D4F\u89C8\u5668");const e=document.documentElement.clientHeight*.4,t=e/9*16;this.imgStyle="height:"+e*.45+"px;",this.CameraStyle="width:"+t+"px;height:"+e+"px"},beforeUnmount(){this.gpyConnect=!1,X8()}},Vrt={align:"center"},Frt=$("span",{style:{"vertical-align":"middle"}}," \u8FDE\u63A5\u9AD8\u62CD\u4EEA ",-1),Hrt={align:"center"},Wrt=$("span",{style:{"vertical-align":"middle"}}," \u62CD\u7167 ",-1),Grt={align:"center"},Urt=$("span",{style:{"vertical-align":"middle"}}," \u4E0A\u4F20 ",-1),Yrt={style:{width:"100%"},align:"center"},Krt=$("br",null,null,-1),jrt=$("span",{style:{"vertical-align":"middle"}}," \u5220\u9664 ",-1);function qrt(e,t,r,n,a,i){const o=_f,s=ns,l=Mx,u=e4,c=He("VideoCamera"),f=We,d=bn,h=He("CameraFilled"),v=He("Upload"),p=tW,g=a4,m=UF,y=He("delete"),_=I0;return k(),P(Fe,null,[ct((k(),ue(g,null,{default:q(()=>[W(u,{span:10},{default:q(()=>[W(l,{label:"\u8BBE\u5907\u5217\u8868","label-width":"80px"},{default:q(()=>[W(s,{modelValue:a.devName,"onUpdate:modelValue":t[0]||(t[0]=w=>a.devName=w),class:"m-2",clearable:"",onChange:i.toConnectGPY,style:{width:"60%"}},{default:q(()=>[W(o,{label:"\u672A\u8FDE\u63A5",value:""}),(k(!0),P(Fe,null,bt(a.devNameList,(w,C)=>(k(),ue(o,{label:w,value:C},null,8,["label","value"]))),256))]),_:1},8,["modelValue","onChange"])]),_:1})]),_:1}),W(u,{span:3},{default:q(()=>[$("div",Vrt,[W(d,{type:"primary",onClick:i.connectGpy},{default:q(()=>[W(f,null,{default:q(()=>[W(c)]),_:1}),Frt]),_:1},8,["onClick"])])]),_:1}),W(u,{span:3}),W(u,{span:3},{default:q(()=>[$("div",Hrt,[W(d,{type:"primary",onClick:i.addImage,disabled:!a.gpyConnect},{default:q(()=>[W(f,null,{default:q(()=>[W(h)]),_:1}),Wrt]),_:1},8,["onClick","disabled"])])]),_:1}),W(u,{span:1}),W(u,{span:3},{default:q(()=>[$("div",Grt,[W(p,{accept:".jpg,.jpeg,.png,.gif,.bmp,.pdf,.JPG,.JPEG,.PBG,.GIF,.BMP,.PDF",id:"upload","show-file-list":!1,ref:"upload",class:"upload-demo",action:"#","on-change":i.onChange,"auto-upload":!1},{trigger:q(()=>[W(d,{type:"primary",onClick:t[1]||(t[1]=()=>{})},{default:q(()=>[W(f,null,{default:q(()=>[W(v)]),_:1}),Urt]),_:1})]),_:1},8,["on-change"])])]),_:1}),W(u,{span:24},{default:q(()=>[$("div",Yrt,[$("div",{id:"CameraCtl",style:Ye(a.CameraStyle)},null,4)])]),_:1})]),_:1})),[[_,a.gpyLoading]]),W(g,{style:{width:"100%"}},{default:q(()=>[Krt,(k(!0),P(Fe,null,bt(a.imgArr,(w,C)=>(k(),ue(u,{span:8,key:C},{default:q(()=>[W(m,{fit:"cover",src:w,"preview-src-list":a.imgArr,style:{height:"150px",width:"150px",color:"#6aa6ea"}},null,8,["src","preview-src-list"]),W(d,{slot:"append",type:"danger",onClick:S=>i.deleteImage(C)},{default:q(()=>[W(f,null,{default:q(()=>[W(y)]),_:1}),jrt]),_:2},1032,["onClick"])]),_:2},1024))),128))]),_:1})],64)}var zW=Sg(Brt,[["render",qrt],["__file","D:/myproject/git/GLT-FreeCarRegistration/FreeCarRegistrationView/src/views/wxCharCarUser/gpy.vue"]]),Xrt=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var a=42;t[r]=a;for(r in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var i=Object.getOwnPropertySymbols(t);if(i.length!==1||i[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var o=Object.getOwnPropertyDescriptor(t,r);if(o.value!==a||o.enumerable!==!0)return!1}return!0},JD=typeof Symbol!="undefined"&&Symbol,Zrt=Xrt,Jrt=function(){return typeof JD!="function"||typeof Symbol!="function"||typeof JD("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Zrt()},Qrt="Function.prototype.bind called on incompatible ",n3=Array.prototype.slice,ent=Object.prototype.toString,tnt="[object Function]",rnt=function(t){var r=this;if(typeof r!="function"||ent.call(r)!==tnt)throw new TypeError(Qrt+r);for(var n=n3.call(arguments,1),a,i=function(){if(this instanceof a){var c=r.apply(this,n.concat(n3.call(arguments)));return Object(c)===c?c:this}else return r.apply(t,n.concat(n3.call(arguments)))},o=Math.max(0,r.length-n.length),s=[],l=0;l1&&typeof r!="boolean")throw new Qd('"allowMissing" argument must be a boolean');if(fnt(/^%?[^%]*%?$/,t)===null)throw new Rh("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=vnt(t),a=n.length>0?n[0]:"",i=pnt("%"+a+"%",r),o=i.name,s=i.value,l=!1,u=i.alias;u&&(a=u[0],cnt(n,unt([0,1],u)));for(var c=1,f=!0;c=n.length){var p=ef(s,d);f=!!p,f&&"get"in p&&!("originalValue"in p.get)?s=p.get:s=s[d]}else f=vy(s,d),s=s[d];f&&!l&&(eh[o]=s)}}return s},VW={exports:{}};(function(e){var t=fT,r=dT,n=r("%Function.prototype.apply%"),a=r("%Function.prototype.call%"),i=r("%Reflect.apply%",!0)||t.call(a,n),o=r("%Object.getOwnPropertyDescriptor%",!0),s=r("%Object.defineProperty%",!0),l=r("%Math.max%");if(s)try{s({},"a",{value:1})}catch{s=null}e.exports=function(f){var d=i(t,a,arguments);if(o&&s){var h=o(d,"length");h.configurable&&s(d,"length",{value:1+l(0,f.length-(arguments.length-1))})}return d};var u=function(){return i(t,n,arguments)};s?s(e.exports,"apply",{value:u}):e.exports.apply=u})(VW);var FW=dT,HW=VW.exports,gnt=HW(FW("String.prototype.indexOf")),mnt=function(t,r){var n=FW(t,!!r);return typeof n=="function"&&gnt(t,".prototype.")>-1?HW(n):n},hT=dT,Jh=mnt;hT("%TypeError%");hT("%WeakMap%",!0);hT("%Map%",!0);Jh("WeakMap.prototype.get",!0);Jh("WeakMap.prototype.set",!0);Jh("WeakMap.prototype.has",!0);Jh("Map.prototype.get",!0);Jh("Map.prototype.set",!0);Jh("Map.prototype.has",!0);(function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e})();qo.defaults.baseURL="http://10.115.230.229:9330";qo.defaults.headers.post["Content-Type"]="application/x-www-form-urlencoded;charset=UTF-8";qo.defaults.changeOrigin=!0;qo.defaults.headers.post["Access-Control-Allow-Origin-Type"]="*";qo.defaults.timeout=15e4;qo.interceptors.request.use(e=>{const t=localStorage.getItem("token");if(t==null){try{window.parent.toLogin()}catch{RT.push("/dist/login")}lr.error("\u8BF7\u767B\u5F55!");return}return t&&(e.headers.token=t),e},e=>Promise.error(e));qo.interceptors.response.use(e=>e.status==200?(e.headers.token!=null&&e.headers.token!=""&&localStorage.setItem("token",e.headers.token),Promise.resolve(e)):Promise.reject(e),e=>{if(e!=null&&e.response.data.status==-1){try{window.parent.toLogin()}catch{RT.push("/dist/login")}lr.error("\u767B\u9646\u8D85\u65F6\u8BF7\u91CD\u65B0\u767B\u5F55!")}else alert(JSON.stringify(e),"\u8BF7\u6C42\u5F02\u5E38",{confirmButtonText:"\u786E\u5B9A",callback:t=>{console.log(t)}})});var vT={post(e,t){return t==null&&(t={}),new Promise((r,n,a)=>{qo({method:"post",url:e,data:t,crossDomain:!0,responseType:a==null||a==""?"json":a}).then(i=>{r(i.data)}).catch(i=>{n(i)})})},get(e,t,r){return new Promise((n,a,i)=>{qo({method:"get",url:e,params:t,crossDomain:!0,headers:{Accept:"application/json","Content-Type":"application/json; charset=utf-8",withCredentials:!0},responseType:r==null||r==""?"json":r}).then(o=>{n(o)}).catch(o=>{a(o)})})},downLoad(e,t){return new Promise((r,n)=>{qo({method:"post",url:e,data:t,headers:{"Content-Type":"application/json;charset=UTF-8"},responseType:"arraybuffer"}).then(a=>{r(a)}).catch(a=>{n(a)})})}};const{post:Wn,get:r9t,downLoad:ynt}=vT,_nt=e=>Wn("/FreeCarRegistration/WxVehicleBind/getPage",e),bnt=e=>Wn("/FreeCarRegistration/WxVehicleBind/getCarColorList",e),wnt=e=>Wn("/FreeCarRegistration/WxVehicleBind/getCarTypeList",e),Snt=e=>Wn("/FreeCarRegistration/WxVehicleBind/getFreeTypeList",e),Cnt=e=>Wn("/FreeCarRegistration/WxVehicleBind/commitVehicleBind",e),xnt=e=>Wn("/FreeCarRegistration/WxVehicleBind/deleteVehicleBind",e),Tnt=e=>Wn("/FreeCarRegistration/WxVehicleBind/isShowAdvanceFee",e),Mnt=e=>Wn("/FreeCarRegistration/WxVehicleBind/queryImageList",e),knt=e=>Wn("/FreeCarRegistration/WxVehicleBind/notPassed",e),Ant=e=>Wn("/FreeCarRegistration/WxVehicleBind/completeSetup",e),Ent=e=>Wn("/FreeCarRegistration/WxVehicleBind/getVersionNumber",e),t7=e=>Wn("/FreeCarRegistration/WxVehicleBind/queryWxName",e),r7=e=>Wn("/FreeCarRegistration/WxVehicleBind/updateApproved",e),Dnt=e=>ynt("/FreeCarRegistration/WxVehicleBind/exportFreeExcel",e),Int=e=>Wn("/FreeCarRegistration/UnBind/getPage",e),Lnt=e=>Wn("/FreeCarRegistration/UnBind/deleteData",e),$nt=e=>Wn("/FreeCarRegistration/UnBind/getWXCarColorList",e),Pnt=e=>Wn("/FreeCarRegistration/UnBind/crossData",e);var o3={isString:function(e){return Object.prototype.toString.call(e)==="[object String]"},isArray:function(e){return Object.prototype.toString.call(e)==="[object Array]"},isNumber:function(e){return Object.prototype.toString.call(e)==="[object Number]"},isDate:function(e){return Object.prototype.toString.call(e)==="[object Date]"},isBoolean:function(e){return Object.prototype.toString.call(e)==="[object Boolean]"},isObject:function(e){return Object.prototype.toString.call(e)==="[object Object]"},isFunction:function(e){return Object.prototype.toString.call(e)==="[object Function]"},isFile:function(e){return Object.prototype.toString.call(e)==="[object File]"},isNull:function(e){return Object.prototype.toString.call(e)==="[object Null]"},isUndefined:function(e){return Object.prototype.toString.call(e)==="[object Undefined]"},isRegExp:function(e){return Object.prototype.toString.call(e)==="[object RegExp]"},getType:function(e){return{"[object Boolean]":"boolean","[object Number]":"number","[object String]":"string","[object Function]":"function","[object Array]":"array","[object Date]":"date","[object RegExp]":"regExp","[object Undefined]":"undefined","[object Null]":"null","[object Object]":"object"}[Object.prototype.toString.call(e)]}};let eS={copy:function(){return function e(t){const r=o3.getType(t);let n;if(r==="array"){n=[];for(let a=0;a{r.push(n),n.children&&n.children.length>0&&r.push(...e(n.children))}),r}}(),dateFormat:function(e){const t=e;if(t!=null){var r=new Date(t),n=r.getFullYear(),a=r.getMonth()+1<10?"0"+(r.getMonth()+1):r.getMonth()+1,i=r.getDate()<10?"0"+r.getDate():r.getDate(),o=r.getHours()<10?"0"+r.getHours():r.getHours(),s=r.getMinutes()<10?"0"+r.getMinutes():r.getMinutes(),l=r.getSeconds()<10?"0"+r.getSeconds():r.getSeconds();return n+"-"+a+"-"+i+" "+o+":"+s+":"+l}},dateFormatDay:function(e){const t=e;if(t!=null){var r=new Date(t),n=r.getFullYear(),a=r.getMonth()+1<10?"0"+(r.getMonth()+1):r.getMonth()+1,i=r.getDate()<10?"0"+r.getDate():r.getDate();return n+"-"+a+"-"+i}},checkMonth(e){return e<10&&(e="0"+e),e},MonthAdd(e,t){let r=e;r=new Date(r);let n=r.setMonth(r.getMonth()+t);return n=new Date(n),e=n,e},YearAdd(e,t){let r=e;r=new Date(r);let n=r.setYear(r.getFullYear()+t);return n=new Date(n),e=n,e},toCamelCase:function(e){return e.replace(/([A-Z])/g,"_$1")},ensureNotNull:function(e){return o3.isNull(e)||o3.isUndefined(e)?0:e},deepLocate:function(){return function e(t,r){let n=[];return r.forEach(a=>{n.push(a),a.children&&a.children.length>0&&n.push(...e(a.children))}),n}}(),getParentNodes:function(){return function e(t,r,n={label:"name",key:"id",children:"children"}){let a=[];return(r||[]).forEach(i=>{if(a.length==0){if(t==(i[n.key]||0))a.push(i);else if(i[n.children]&&i[n.children].length>0){const o=e(i[n.children]);o.length>0&&(a.push(i),a=a.concat(o))}}}),a}}()};//! moment.js
+//! version : 2.29.4
+//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
+//! license : MIT
+//! momentjs.com
+var WW;function dt(){return WW.apply(null,arguments)}function Rnt(e){WW=e}function fo(e){return e instanceof Array||Object.prototype.toString.call(e)==="[object Array]"}function tf(e){return e!=null&&Object.prototype.toString.call(e)==="[object Object]"}function mr(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function pT(e){if(Object.getOwnPropertyNames)return Object.getOwnPropertyNames(e).length===0;var t;for(t in e)if(mr(e,t))return!1;return!0}function Ca(e){return e===void 0}function Qs(e){return typeof e=="number"||Object.prototype.toString.call(e)==="[object Number]"}function Pg(e){return e instanceof Date||Object.prototype.toString.call(e)==="[object Date]"}function GW(e,t){var r=[],n,a=e.length;for(n=0;n>>0,n;for(n=0;n0)for(r=0;r=0;return(i?r?"+":"":"-")+Math.pow(10,Math.max(0,a)).toString().substr(1)+n}var _T=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,Am=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,l3={},th={};function $t(e,t,r,n){var a=n;typeof n=="string"&&(a=function(){return this[n]()}),e&&(th[e]=a),t&&(th[t[0]]=function(){return as(a.apply(this,arguments),t[1],t[2])}),r&&(th[r]=function(){return this.localeData().ordinal(a.apply(this,arguments),e)})}function Vnt(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function Fnt(e){var t=e.match(_T),r,n;for(r=0,n=t.length;r=0&&Am.test(e);)e=e.replace(Am,n),Am.lastIndex=0,r-=1;return e}var Hnt={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function Wnt(e){var t=this._longDateFormat[e],r=this._longDateFormat[e.toUpperCase()];return t||!r?t:(this._longDateFormat[e]=r.match(_T).map(function(n){return n==="MMMM"||n==="MM"||n==="DD"||n==="dddd"?n.slice(1):n}).join(""),this._longDateFormat[e])}var Gnt="Invalid date";function Unt(){return this._invalidDate}var Ynt="%d",Knt=/\d{1,2}/;function jnt(e){return this._ordinal.replace("%d",e)}var qnt={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Xnt(e,t,r,n){var a=this._relativeTime[r];return fs(a)?a(e,t,r,n):a.replace(/%d/i,e)}function Znt(e,t){var r=this._relativeTime[e>0?"future":"past"];return fs(r)?r(t):r.replace(/%s/i,t)}var Np={};function na(e,t){var r=e.toLowerCase();Np[r]=Np[r+"s"]=Np[t]=e}function Ri(e){return typeof e=="string"?Np[e]||Np[e.toLowerCase()]:void 0}function bT(e){var t={},r,n;for(n in e)mr(e,n)&&(r=Ri(n),r&&(t[r]=e[n]));return t}var jW={};function aa(e,t){jW[e]=t}function Jnt(e){var t=[],r;for(r in e)mr(e,r)&&t.push({unit:r,priority:jW[r]});return t.sort(function(n,a){return n.priority-a.priority}),t}function h4(e){return e%4===0&&e%100!==0||e%400===0}function fi(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ir(e){var t=+e,r=0;return t!==0&&isFinite(t)&&(r=fi(t)),r}function Qh(e,t){return function(r){return r!=null?(qW(this,e,r),dt.updateOffset(this,t),this):gy(this,e)}}function gy(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function qW(e,t,r){e.isValid()&&!isNaN(r)&&(t==="FullYear"&&h4(e.year())&&e.month()===1&&e.date()===29?(r=ir(r),e._d["set"+(e._isUTC?"UTC":"")+t](r,e.month(),_4(r,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](r))}function Qnt(e){return e=Ri(e),fs(this[e])?this[e]():this}function eat(e,t){if(typeof e=="object"){e=bT(e);var r=Jnt(e),n,a=r.length;for(n=0;n68?1900:2e3)};var iG=Qh("FullYear",!0);function _at(){return h4(this.year())}function bat(e,t,r,n,a,i,o){var s;return e<100&&e>=0?(s=new Date(e+400,t,r,n,a,i,o),isFinite(s.getFullYear())&&s.setFullYear(e)):s=new Date(e,t,r,n,a,i,o),s}function P0(e){var t,r;return e<100&&e>=0?(r=Array.prototype.slice.call(arguments),r[0]=e+400,t=new Date(Date.UTC.apply(null,r)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}function yy(e,t,r){var n=7+t-r,a=(7+P0(e,0,n).getUTCDay()-t)%7;return-a+n-1}function oG(e,t,r,n,a){var i=(7+r-n)%7,o=yy(e,n,a),s=1+7*(t-1)+i+o,l,u;return s<=0?(l=e-1,u=zp(l)+s):s>zp(e)?(l=e+1,u=s-zp(e)):(l=e,u=s),{year:l,dayOfYear:u}}function R0(e,t,r){var n=yy(e.year(),t,r),a=Math.floor((e.dayOfYear()-n-1)/7)+1,i,o;return a<1?(o=e.year()-1,i=a+Ws(o,t,r)):a>Ws(e.year(),t,r)?(i=a-Ws(e.year(),t,r),o=e.year()+1):(o=e.year(),i=a),{week:i,year:o}}function Ws(e,t,r){var n=yy(e,t,r),a=yy(e+1,t,r);return(zp(e)-n+a)/7}$t("w",["ww",2],"wo","week");$t("W",["WW",2],"Wo","isoWeek");na("week","w");na("isoWeek","W");aa("week",5);aa("isoWeek",5);mt("w",Yr);mt("ww",Yr,Qa);mt("W",Yr);mt("WW",Yr,Qa);Ng(["w","ww","W","WW"],function(e,t,r,n){t[n.substr(0,1)]=ir(e)});function wat(e){return R0(e,this._week.dow,this._week.doy).week}var Sat={dow:0,doy:6};function Cat(){return this._week.dow}function xat(){return this._week.doy}function Tat(e){var t=this.localeData().week(this);return e==null?t:this.add((e-t)*7,"d")}function Mat(e){var t=R0(this,1,4).week;return e==null?t:this.add((e-t)*7,"d")}$t("d",0,"do","day");$t("dd",0,0,function(e){return this.localeData().weekdaysMin(this,e)});$t("ddd",0,0,function(e){return this.localeData().weekdaysShort(this,e)});$t("dddd",0,0,function(e){return this.localeData().weekdays(this,e)});$t("e",0,0,"weekday");$t("E",0,0,"isoWeekday");na("day","d");na("weekday","e");na("isoWeekday","E");aa("day",11);aa("weekday",11);aa("isoWeekday",11);mt("d",Yr);mt("e",Yr);mt("E",Yr);mt("dd",function(e,t){return t.weekdaysMinRegex(e)});mt("ddd",function(e,t){return t.weekdaysShortRegex(e)});mt("dddd",function(e,t){return t.weekdaysRegex(e)});Ng(["dd","ddd","dddd"],function(e,t,r,n){var a=r._locale.weekdaysParse(e,n,r._strict);a!=null?t.d=a:Jt(r).invalidWeekday=e});Ng(["d","e","E"],function(e,t,r,n){t[n]=ir(e)});function kat(e,t){return typeof e!="string"?e:isNaN(e)?(e=t.weekdaysParse(e),typeof e=="number"?e:null):parseInt(e,10)}function Aat(e,t){return typeof e=="string"?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}function CT(e,t){return e.slice(t,7).concat(e.slice(0,t))}var Eat="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),sG="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Dat="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Iat=Og,Lat=Og,$at=Og;function Pat(e,t){var r=fo(this._weekdays)?this._weekdays:this._weekdays[e&&e!==!0&&this._weekdays.isFormat.test(t)?"format":"standalone"];return e===!0?CT(r,this._week.dow):e?r[e.day()]:r}function Rat(e){return e===!0?CT(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Oat(e){return e===!0?CT(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Nat(e,t,r){var n,a,i,o=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)i=cs([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(i,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(i,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(i,"").toLocaleLowerCase();return r?t==="dddd"?(a=on.call(this._weekdaysParse,o),a!==-1?a:null):t==="ddd"?(a=on.call(this._shortWeekdaysParse,o),a!==-1?a:null):(a=on.call(this._minWeekdaysParse,o),a!==-1?a:null):t==="dddd"?(a=on.call(this._weekdaysParse,o),a!==-1||(a=on.call(this._shortWeekdaysParse,o),a!==-1)?a:(a=on.call(this._minWeekdaysParse,o),a!==-1?a:null)):t==="ddd"?(a=on.call(this._shortWeekdaysParse,o),a!==-1||(a=on.call(this._weekdaysParse,o),a!==-1)?a:(a=on.call(this._minWeekdaysParse,o),a!==-1?a:null)):(a=on.call(this._minWeekdaysParse,o),a!==-1||(a=on.call(this._weekdaysParse,o),a!==-1)?a:(a=on.call(this._shortWeekdaysParse,o),a!==-1?a:null))}function zat(e,t,r){var n,a,i;if(this._weekdaysParseExact)return Nat.call(this,e,t,r);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){if(a=cs([2e3,1]).day(n),r&&!this._fullWeekdaysParse[n]&&(this._fullWeekdaysParse[n]=new RegExp("^"+this.weekdays(a,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[n]=new RegExp("^"+this.weekdaysShort(a,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[n]=new RegExp("^"+this.weekdaysMin(a,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[n]||(i="^"+this.weekdays(a,"")+"|^"+this.weekdaysShort(a,"")+"|^"+this.weekdaysMin(a,""),this._weekdaysParse[n]=new RegExp(i.replace(".",""),"i")),r&&t==="dddd"&&this._fullWeekdaysParse[n].test(e))return n;if(r&&t==="ddd"&&this._shortWeekdaysParse[n].test(e))return n;if(r&&t==="dd"&&this._minWeekdaysParse[n].test(e))return n;if(!r&&this._weekdaysParse[n].test(e))return n}}function Bat(e){if(!this.isValid())return e!=null?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return e!=null?(e=kat(e,this.localeData()),this.add(e-t,"d")):t}function Vat(e){if(!this.isValid())return e!=null?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return e==null?t:this.add(e-t,"d")}function Fat(e){if(!this.isValid())return e!=null?this:NaN;if(e!=null){var t=Aat(e,this.localeData());return this.day(this.day()%7?t:t-7)}else return this.day()||7}function Hat(e){return this._weekdaysParseExact?(mr(this,"_weekdaysRegex")||xT.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(mr(this,"_weekdaysRegex")||(this._weekdaysRegex=Iat),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Wat(e){return this._weekdaysParseExact?(mr(this,"_weekdaysRegex")||xT.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(mr(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Lat),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Gat(e){return this._weekdaysParseExact?(mr(this,"_weekdaysRegex")||xT.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(mr(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=$at),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function xT(){function e(c,f){return f.length-c.length}var t=[],r=[],n=[],a=[],i,o,s,l,u;for(i=0;i<7;i++)o=cs([2e3,1]).day(i),s=Va(this.weekdaysMin(o,"")),l=Va(this.weekdaysShort(o,"")),u=Va(this.weekdays(o,"")),t.push(s),r.push(l),n.push(u),a.push(s),a.push(l),a.push(u);t.sort(e),r.sort(e),n.sort(e),a.sort(e),this._weekdaysRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+n.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+r.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+t.join("|")+")","i")}function TT(){return this.hours()%12||12}function Uat(){return this.hours()||24}$t("H",["HH",2],0,"hour");$t("h",["hh",2],0,TT);$t("k",["kk",2],0,Uat);$t("hmm",0,0,function(){return""+TT.apply(this)+as(this.minutes(),2)});$t("hmmss",0,0,function(){return""+TT.apply(this)+as(this.minutes(),2)+as(this.seconds(),2)});$t("Hmm",0,0,function(){return""+this.hours()+as(this.minutes(),2)});$t("Hmmss",0,0,function(){return""+this.hours()+as(this.minutes(),2)+as(this.seconds(),2)});function lG(e,t){$t(e,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)})}lG("a",!0);lG("A",!1);na("hour","h");aa("hour",13);function uG(e,t){return t._meridiemParse}mt("a",uG);mt("A",uG);mt("H",Yr);mt("h",Yr);mt("k",Yr);mt("HH",Yr,Qa);mt("hh",Yr,Qa);mt("kk",Yr,Qa);mt("hmm",JW);mt("hmmss",QW);mt("Hmm",JW);mt("Hmmss",QW);Lr(["H","HH"],pn);Lr(["k","kk"],function(e,t,r){var n=ir(e);t[pn]=n===24?0:n});Lr(["a","A"],function(e,t,r){r._isPm=r._locale.isPM(e),r._meridiem=e});Lr(["h","hh"],function(e,t,r){t[pn]=ir(e),Jt(r).bigHour=!0});Lr("hmm",function(e,t,r){var n=e.length-2;t[pn]=ir(e.substr(0,n)),t[eo]=ir(e.substr(n)),Jt(r).bigHour=!0});Lr("hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[pn]=ir(e.substr(0,n)),t[eo]=ir(e.substr(n,2)),t[$s]=ir(e.substr(a)),Jt(r).bigHour=!0});Lr("Hmm",function(e,t,r){var n=e.length-2;t[pn]=ir(e.substr(0,n)),t[eo]=ir(e.substr(n))});Lr("Hmmss",function(e,t,r){var n=e.length-4,a=e.length-2;t[pn]=ir(e.substr(0,n)),t[eo]=ir(e.substr(n,2)),t[$s]=ir(e.substr(a))});function Yat(e){return(e+"").toLowerCase().charAt(0)==="p"}var Kat=/[ap]\.?m?\.?/i,jat=Qh("Hours",!0);function qat(e,t,r){return e>11?r?"pm":"PM":r?"am":"AM"}var cG={calendar:znt,longDateFormat:Hnt,invalidDate:Gnt,ordinal:Ynt,dayOfMonthOrdinalParse:Knt,relativeTime:qnt,months:uat,monthsShort:eG,week:Sat,weekdays:Eat,weekdaysMin:Dat,weekdaysShort:sG,meridiemParse:Kat},Kr={},Iv={},O0;function Xat(e,t){var r,n=Math.min(e.length,t.length);for(r=0;r0;){if(a=b4(i.slice(0,r).join("-")),a)return a;if(n&&n.length>=r&&Xat(i,n)>=r-1)break;r--}t++}return O0}function Jat(e){return e.match("^[^/\\\\]*$")!=null}function b4(e){var t=null,r;if(Kr[e]===void 0&&typeof Xn!="undefined"&&Xn&&Xn.exports&&Jat(e))try{t=O0._abbr,r=require,r("./locale/"+e),lu(t)}catch{Kr[e]=null}return Kr[e]}function lu(e,t){var r;return e&&(Ca(t)?r=_l(e):r=MT(e,t),r?O0=r:typeof console!="undefined"&&console.warn&&console.warn("Locale "+e+" not found. Did you forget to load it?")),O0._abbr}function MT(e,t){if(t!==null){var r,n=cG;if(t.abbr=e,Kr[e]!=null)YW("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),n=Kr[e]._config;else if(t.parentLocale!=null)if(Kr[t.parentLocale]!=null)n=Kr[t.parentLocale]._config;else if(r=b4(t.parentLocale),r!=null)n=r._config;else return Iv[t.parentLocale]||(Iv[t.parentLocale]=[]),Iv[t.parentLocale].push({name:e,config:t}),null;return Kr[e]=new yT(rS(n,t)),Iv[e]&&Iv[e].forEach(function(a){MT(a.name,a.config)}),lu(e),Kr[e]}else return delete Kr[e],null}function Qat(e,t){if(t!=null){var r,n,a=cG;Kr[e]!=null&&Kr[e].parentLocale!=null?Kr[e].set(rS(Kr[e]._config,t)):(n=b4(e),n!=null&&(a=n._config),t=rS(a,t),n==null&&(t.abbr=e),r=new yT(t),r.parentLocale=Kr[e],Kr[e]=r),lu(e)}else Kr[e]!=null&&(Kr[e].parentLocale!=null?(Kr[e]=Kr[e].parentLocale,e===lu()&&lu(e)):Kr[e]!=null&&delete Kr[e]);return Kr[e]}function _l(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return O0;if(!fo(e)){if(t=b4(e),t)return t;e=[e]}return Zat(e)}function eit(){return nS(Kr)}function kT(e){var t,r=e._a;return r&&Jt(e).overflow===-2&&(t=r[Ls]<0||r[Ls]>11?Ls:r[Bo]<1||r[Bo]>_4(r[Jn],r[Ls])?Bo:r[pn]<0||r[pn]>24||r[pn]===24&&(r[eo]!==0||r[$s]!==0||r[zc]!==0)?pn:r[eo]<0||r[eo]>59?eo:r[$s]<0||r[$s]>59?$s:r[zc]<0||r[zc]>999?zc:-1,Jt(e)._overflowDayOfYear&&(tBo)&&(t=Bo),Jt(e)._overflowWeeks&&t===-1&&(t=oat),Jt(e)._overflowWeekday&&t===-1&&(t=sat),Jt(e).overflow=t),e}var tit=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,rit=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,nit=/Z|[+-]\d\d(?::?\d\d)?/,Em=[["YYYYYY-MM-DD",/[+-]\d{6}-\d\d-\d\d/],["YYYY-MM-DD",/\d{4}-\d\d-\d\d/],["GGGG-[W]WW-E",/\d{4}-W\d\d-\d/],["GGGG-[W]WW",/\d{4}-W\d\d/,!1],["YYYY-DDD",/\d{4}-\d{3}/],["YYYY-MM",/\d{4}-\d\d/,!1],["YYYYYYMMDD",/[+-]\d{10}/],["YYYYMMDD",/\d{8}/],["GGGG[W]WWE",/\d{4}W\d{3}/],["GGGG[W]WW",/\d{4}W\d{2}/,!1],["YYYYDDD",/\d{7}/],["YYYYMM",/\d{6}/,!1],["YYYY",/\d{4}/,!1]],u3=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],ait=/^\/?Date\((-?\d+)/i,iit=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,oit={UT:0,GMT:0,EDT:-4*60,EST:-5*60,CDT:-5*60,CST:-6*60,MDT:-6*60,MST:-7*60,PDT:-7*60,PST:-8*60};function fG(e){var t,r,n=e._i,a=tit.exec(n)||rit.exec(n),i,o,s,l,u=Em.length,c=u3.length;if(a){for(Jt(e).iso=!0,t=0,r=u;tzp(o)||e._dayOfYear===0)&&(Jt(e)._overflowDayOfYear=!0),r=P0(o,0,e._dayOfYear),e._a[Ls]=r.getUTCMonth(),e._a[Bo]=r.getUTCDate()),t=0;t<3&&e._a[t]==null;++t)e._a[t]=n[t]=a[t];for(;t<7;t++)e._a[t]=n[t]=e._a[t]==null?t===2?1:0:e._a[t];e._a[pn]===24&&e._a[eo]===0&&e._a[$s]===0&&e._a[zc]===0&&(e._nextDay=!0,e._a[pn]=0),e._d=(e._useUTC?P0:bat).apply(null,n),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),e._tzm!=null&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[pn]=24),e._w&&typeof e._w.d!="undefined"&&e._w.d!==i&&(Jt(e).weekdayMismatch=!0)}}function vit(e){var t,r,n,a,i,o,s,l,u;t=e._w,t.GG!=null||t.W!=null||t.E!=null?(i=1,o=4,r=Ed(t.GG,e._a[Jn],R0(Gr(),1,4).year),n=Ed(t.W,1),a=Ed(t.E,1),(a<1||a>7)&&(l=!0)):(i=e._locale._week.dow,o=e._locale._week.doy,u=R0(Gr(),i,o),r=Ed(t.gg,e._a[Jn],u.year),n=Ed(t.w,u.week),t.d!=null?(a=t.d,(a<0||a>6)&&(l=!0)):t.e!=null?(a=t.e+i,(t.e<0||t.e>6)&&(l=!0)):a=i),n<1||n>Ws(r,i,o)?Jt(e)._overflowWeeks=!0:l!=null?Jt(e)._overflowWeekday=!0:(s=oG(r,n,a,i,o),e._a[Jn]=s.year,e._dayOfYear=s.dayOfYear)}dt.ISO_8601=function(){};dt.RFC_2822=function(){};function ET(e){if(e._f===dt.ISO_8601){fG(e);return}if(e._f===dt.RFC_2822){dG(e);return}e._a=[],Jt(e).empty=!0;var t=""+e._i,r,n,a,i,o,s=t.length,l=0,u,c;for(a=KW(e._f,e._locale).match(_T)||[],c=a.length,r=0;r0&&Jt(e).unusedInput.push(o),t=t.slice(t.indexOf(n)+n.length),l+=n.length),th[i]?(n?Jt(e).empty=!1:Jt(e).unusedTokens.push(i),iat(i,n,e)):e._strict&&!n&&Jt(e).unusedTokens.push(i);Jt(e).charsLeftOver=s-l,t.length>0&&Jt(e).unusedInput.push(t),e._a[pn]<=12&&Jt(e).bigHour===!0&&e._a[pn]>0&&(Jt(e).bigHour=void 0),Jt(e).parsedDateParts=e._a.slice(0),Jt(e).meridiem=e._meridiem,e._a[pn]=pit(e._locale,e._a[pn],e._meridiem),u=Jt(e).era,u!==null&&(e._a[Jn]=e._locale.erasConvertYear(u,e._a[Jn])),AT(e),kT(e)}function pit(e,t,r){var n;return r==null?t:e.meridiemHour!=null?e.meridiemHour(t,r):(e.isPM!=null&&(n=e.isPM(r),n&&t<12&&(t+=12),!n&&t===12&&(t=0)),t)}function git(e){var t,r,n,a,i,o,s=!1,l=e._f.length;if(l===0){Jt(e).invalidFormat=!0,e._d=new Date(NaN);return}for(a=0;athis?this:e:d4()});function pG(e,t){var r,n;if(t.length===1&&fo(t[0])&&(t=t[0]),!t.length)return Gr();for(r=t[0],n=1;nthis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Nit(){if(!Ca(this._isDSTShifted))return this._isDSTShifted;var e={},t;return mT(e,this),e=hG(e),e._a?(t=e._isUTC?cs(e._a):Gr(e._a),this._isDSTShifted=this.isValid()&&Ait(e._a,t.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function zit(){return this.isValid()?!this._isUTC:!1}function Bit(){return this.isValid()?this._isUTC:!1}function mG(){return this.isValid()?this._isUTC&&this._offset===0:!1}var Vit=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,Fit=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function So(e,t){var r=e,n=null,a,i,o;return y2(e)?r={ms:e._milliseconds,d:e._days,M:e._months}:Qs(e)||!isNaN(+e)?(r={},t?r[t]=+e:r.milliseconds=+e):(n=Vit.exec(e))?(a=n[1]==="-"?-1:1,r={y:0,d:ir(n[Bo])*a,h:ir(n[pn])*a,m:ir(n[eo])*a,s:ir(n[$s])*a,ms:ir(iS(n[zc]*1e3))*a}):(n=Fit.exec(e))?(a=n[1]==="-"?-1:1,r={y:Wu(n[2],a),M:Wu(n[3],a),w:Wu(n[4],a),d:Wu(n[5],a),h:Wu(n[6],a),m:Wu(n[7],a),s:Wu(n[8],a)}):r==null?r={}:typeof r=="object"&&("from"in r||"to"in r)&&(o=Hit(Gr(r.from),Gr(r.to)),r={},r.ms=o.milliseconds,r.M=o.months),i=new w4(r),y2(e)&&mr(e,"_locale")&&(i._locale=e._locale),y2(e)&&mr(e,"_isValid")&&(i._isValid=e._isValid),i}So.fn=w4.prototype;So.invalid=kit;function Wu(e,t){var r=e&&parseFloat(e.replace(",","."));return(isNaN(r)?0:r)*t}function o7(e,t){var r={};return r.months=t.month()-e.month()+(t.year()-e.year())*12,e.clone().add(r.months,"M").isAfter(t)&&--r.months,r.milliseconds=+t-+e.clone().add(r.months,"M"),r}function Hit(e,t){var r;return e.isValid()&&t.isValid()?(t=IT(t,e),e.isBefore(t)?r=o7(e,t):(r=o7(t,e),r.milliseconds=-r.milliseconds,r.months=-r.months),r):{milliseconds:0,months:0}}function yG(e,t){return function(r,n){var a,i;return n!==null&&!isNaN(+n)&&(YW(t,"moment()."+t+"(period, number) is deprecated. Please use moment()."+t+"(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."),i=r,r=n,n=i),a=So(r,n),_G(this,a,e),this}}function _G(e,t,r,n){var a=t._milliseconds,i=iS(t._days),o=iS(t._months);!e.isValid()||(n=n==null?!0:n,o&&rG(e,gy(e,"Month")+o*r),i&&qW(e,"Date",gy(e,"Date")+i*r),a&&e._d.setTime(e._d.valueOf()+a*r),n&&dt.updateOffset(e,i||o))}var Wit=yG(1,"add"),Git=yG(-1,"subtract");function bG(e){return typeof e=="string"||e instanceof String}function Uit(e){return ho(e)||Pg(e)||bG(e)||Qs(e)||Kit(e)||Yit(e)||e===null||e===void 0}function Yit(e){var t=tf(e)&&!pT(e),r=!1,n=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],a,i,o=n.length;for(a=0;ar.valueOf():r.valueOf()9999?m2(r,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):fs(Date.prototype.toISOString)?t?this.toDate().toISOString():new Date(this.valueOf()+this.utcOffset()*60*1e3).toISOString().replace("Z",m2(r,"Z")):m2(r,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}function sot(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e="moment",t="",r,n,a,i;return this.isLocal()||(e=this.utcOffset()===0?"moment.utc":"moment.parseZone",t="Z"),r="["+e+'("]',n=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",a="-MM-DD[T]HH:mm:ss.SSS",i=t+'[")]',this.format(r+n+a+i)}function lot(e){e||(e=this.isUtc()?dt.defaultFormatUtc:dt.defaultFormat);var t=m2(this,e);return this.localeData().postformat(t)}function uot(e,t){return this.isValid()&&(ho(e)&&e.isValid()||Gr(e).isValid())?So({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function cot(e){return this.from(Gr(),e)}function fot(e,t){return this.isValid()&&(ho(e)&&e.isValid()||Gr(e).isValid())?So({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function dot(e){return this.to(Gr(),e)}function wG(e){var t;return e===void 0?this._locale._abbr:(t=_l(e),t!=null&&(this._locale=t),this)}var SG=Pi("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(e){return e===void 0?this.localeData():this.locale(e)});function CG(){return this._locale}var _y=1e3,rh=60*_y,by=60*rh,xG=(365*400+97)*24*by;function nh(e,t){return(e%t+t)%t}function TG(e,t,r){return e<100&&e>=0?new Date(e+400,t,r)-xG:new Date(e,t,r).valueOf()}function MG(e,t,r){return e<100&&e>=0?Date.UTC(e+400,t,r)-xG:Date.UTC(e,t,r)}function hot(e){var t,r;if(e=Ri(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?MG:TG,e){case"year":t=r(this.year(),0,1);break;case"quarter":t=r(this.year(),this.month()-this.month()%3,1);break;case"month":t=r(this.year(),this.month(),1);break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=r(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=nh(t+(this._isUTC?0:this.utcOffset()*rh),by);break;case"minute":t=this._d.valueOf(),t-=nh(t,rh);break;case"second":t=this._d.valueOf(),t-=nh(t,_y);break}return this._d.setTime(t),dt.updateOffset(this,!0),this}function vot(e){var t,r;if(e=Ri(e),e===void 0||e==="millisecond"||!this.isValid())return this;switch(r=this._isUTC?MG:TG,e){case"year":t=r(this.year()+1,0,1)-1;break;case"quarter":t=r(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=r(this.year(),this.month()+1,1)-1;break;case"week":t=r(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=r(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=r(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=by-nh(t+(this._isUTC?0:this.utcOffset()*rh),by)-1;break;case"minute":t=this._d.valueOf(),t+=rh-nh(t,rh)-1;break;case"second":t=this._d.valueOf(),t+=_y-nh(t,_y)-1;break}return this._d.setTime(t),dt.updateOffset(this,!0),this}function pot(){return this._d.valueOf()-(this._offset||0)*6e4}function got(){return Math.floor(this.valueOf()/1e3)}function mot(){return new Date(this.valueOf())}function yot(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function _ot(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function bot(){return this.isValid()?this.toISOString():null}function wot(){return gT(this)}function Sot(){return Zl({},Jt(this))}function Cot(){return Jt(this).overflow}function xot(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}$t("N",0,0,"eraAbbr");$t("NN",0,0,"eraAbbr");$t("NNN",0,0,"eraAbbr");$t("NNNN",0,0,"eraName");$t("NNNNN",0,0,"eraNarrow");$t("y",["y",1],"yo","eraYear");$t("y",["yy",2],0,"eraYear");$t("y",["yyy",3],0,"eraYear");$t("y",["yyyy",4],0,"eraYear");mt("N",LT);mt("NN",LT);mt("NNN",LT);mt("NNNN",Rot);mt("NNNNN",Oot);Lr(["N","NN","NNN","NNNN","NNNNN"],function(e,t,r,n){var a=r._locale.erasParse(e,n,r._strict);a?Jt(r).era=a:Jt(r).invalidEra=e});mt("y",ev);mt("yy",ev);mt("yyy",ev);mt("yyyy",ev);mt("yo",Not);Lr(["y","yy","yyy","yyyy"],Jn);Lr(["yo"],function(e,t,r,n){var a;r._locale._eraYearOrdinalRegex&&(a=e.match(r._locale._eraYearOrdinalRegex)),r._locale.eraYearOrdinalParse?t[Jn]=r._locale.eraYearOrdinalParse(e,a):t[Jn]=parseInt(e,10)});function Tot(e,t){var r,n,a,i=this._eras||_l("en")._eras;for(r=0,n=i.length;r=0)return i[n]}function kot(e,t){var r=e.since<=e.until?1:-1;return t===void 0?dt(e.since).year():dt(e.since).year()+(t-e.offset)*r}function Aot(){var e,t,r,n=this.localeData().eras();for(e=0,t=n.length;ei&&(t=i),Got.call(this,e,t,r,n,a))}function Got(e,t,r,n,a){var i=oG(e,t,r,n,a),o=P0(i.year,0,i.dayOfYear);return this.year(o.getUTCFullYear()),this.month(o.getUTCMonth()),this.date(o.getUTCDate()),this}$t("Q",0,"Qo","quarter");na("quarter","Q");aa("quarter",7);mt("Q",XW);Lr("Q",function(e,t){t[Ls]=(ir(e)-1)*3});function Uot(e){return e==null?Math.ceil((this.month()+1)/3):this.month((e-1)*3+this.month()%3)}$t("D",["DD",2],"Do","date");na("date","D");aa("date",9);mt("D",Yr);mt("DD",Yr,Qa);mt("Do",function(e,t){return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient});Lr(["D","DD"],Bo);Lr("Do",function(e,t){t[Bo]=ir(e.match(Yr)[0])});var AG=Qh("Date",!0);$t("DDD",["DDDD",3],"DDDo","dayOfYear");na("dayOfYear","DDD");aa("dayOfYear",4);mt("DDD",p4);mt("DDDD",ZW);Lr(["DDD","DDDD"],function(e,t,r){r._dayOfYear=ir(e)});function Yot(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return e==null?t:this.add(e-t,"d")}$t("m",["mm",2],0,"minute");na("minute","m");aa("minute",14);mt("m",Yr);mt("mm",Yr,Qa);Lr(["m","mm"],eo);var Kot=Qh("Minutes",!1);$t("s",["ss",2],0,"second");na("second","s");aa("second",15);mt("s",Yr);mt("ss",Yr,Qa);Lr(["s","ss"],$s);var jot=Qh("Seconds",!1);$t("S",0,0,function(){return~~(this.millisecond()/100)});$t(0,["SS",2],0,function(){return~~(this.millisecond()/10)});$t(0,["SSS",3],0,"millisecond");$t(0,["SSSS",4],0,function(){return this.millisecond()*10});$t(0,["SSSSS",5],0,function(){return this.millisecond()*100});$t(0,["SSSSSS",6],0,function(){return this.millisecond()*1e3});$t(0,["SSSSSSS",7],0,function(){return this.millisecond()*1e4});$t(0,["SSSSSSSS",8],0,function(){return this.millisecond()*1e5});$t(0,["SSSSSSSSS",9],0,function(){return this.millisecond()*1e6});na("millisecond","ms");aa("millisecond",16);mt("S",p4,XW);mt("SS",p4,Qa);mt("SSS",p4,ZW);var Jl,EG;for(Jl="SSSS";Jl.length<=9;Jl+="S")mt(Jl,ev);function qot(e,t){t[zc]=ir(("0."+e)*1e3)}for(Jl="S";Jl.length<=9;Jl+="S")Lr(Jl,qot);EG=Qh("Milliseconds",!1);$t("z",0,0,"zoneAbbr");$t("zz",0,0,"zoneName");function Xot(){return this._isUTC?"UTC":""}function Zot(){return this._isUTC?"Coordinated Universal Time":""}var et=Rg.prototype;et.add=Wit;et.calendar=Xit;et.clone=Zit;et.diff=aot;et.endOf=vot;et.format=lot;et.from=uot;et.fromNow=cot;et.to=fot;et.toNow=dot;et.get=Qnt;et.invalidAt=Cot;et.isAfter=Jit;et.isBefore=Qit;et.isBetween=eot;et.isSame=tot;et.isSameOrAfter=rot;et.isSameOrBefore=not;et.isValid=wot;et.lang=SG;et.locale=wG;et.localeData=CG;et.max=wit;et.min=bit;et.parsingFlags=Sot;et.set=eat;et.startOf=hot;et.subtract=Git;et.toArray=yot;et.toObject=_ot;et.toDate=mot;et.toISOString=oot;et.inspect=sot;typeof Symbol!="undefined"&&Symbol.for!=null&&(et[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"});et.toJSON=bot;et.toString=iot;et.unix=got;et.valueOf=pot;et.creationData=xot;et.eraName=Aot;et.eraNarrow=Eot;et.eraAbbr=Dot;et.eraYear=Iot;et.year=iG;et.isLeapYear=_at;et.weekYear=zot;et.isoWeekYear=Bot;et.quarter=et.quarters=Uot;et.month=nG;et.daysInMonth=gat;et.week=et.weeks=Tat;et.isoWeek=et.isoWeeks=Mat;et.weeksInYear=Hot;et.weeksInWeekYear=Wot;et.isoWeeksInYear=Vot;et.isoWeeksInISOWeekYear=Fot;et.date=AG;et.day=et.days=Bat;et.weekday=Vat;et.isoWeekday=Fat;et.dayOfYear=Yot;et.hour=et.hours=jat;et.minute=et.minutes=Kot;et.second=et.seconds=jot;et.millisecond=et.milliseconds=EG;et.utcOffset=Dit;et.utc=Lit;et.local=$it;et.parseZone=Pit;et.hasAlignedHourOffset=Rit;et.isDST=Oit;et.isLocal=zit;et.isUtcOffset=Bit;et.isUtc=mG;et.isUTC=mG;et.zoneAbbr=Xot;et.zoneName=Zot;et.dates=Pi("dates accessor is deprecated. Use date instead.",AG);et.months=Pi("months accessor is deprecated. Use month instead",nG);et.years=Pi("years accessor is deprecated. Use year instead",iG);et.zone=Pi("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",Iit);et.isDSTShifted=Pi("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Nit);function Jot(e){return Gr(e*1e3)}function Qot(){return Gr.apply(null,arguments).parseZone()}function DG(e){return e}var br=yT.prototype;br.calendar=Bnt;br.longDateFormat=Wnt;br.invalidDate=Unt;br.ordinal=jnt;br.preparse=DG;br.postformat=DG;br.relativeTime=Xnt;br.pastFuture=Znt;br.set=Nnt;br.eras=Tot;br.erasParse=Mot;br.erasConvertYear=kot;br.erasAbbrRegex=$ot;br.erasNameRegex=Lot;br.erasNarrowRegex=Pot;br.months=dat;br.monthsShort=hat;br.monthsParse=pat;br.monthsRegex=yat;br.monthsShortRegex=mat;br.week=wat;br.firstDayOfYear=xat;br.firstDayOfWeek=Cat;br.weekdays=Pat;br.weekdaysMin=Oat;br.weekdaysShort=Rat;br.weekdaysParse=zat;br.weekdaysRegex=Hat;br.weekdaysShortRegex=Wat;br.weekdaysMinRegex=Gat;br.isPM=Yat;br.meridiem=qat;function wy(e,t,r,n){var a=_l(),i=cs().set(n,t);return a[r](i,e)}function IG(e,t,r){if(Qs(e)&&(t=e,e=void 0),e=e||"",t!=null)return wy(e,t,r,"month");var n,a=[];for(n=0;n<12;n++)a[n]=wy(e,n,r,"month");return a}function PT(e,t,r,n){typeof e=="boolean"?(Qs(t)&&(r=t,t=void 0),t=t||""):(t=e,r=t,e=!1,Qs(t)&&(r=t,t=void 0),t=t||"");var a=_l(),i=e?a._week.dow:0,o,s=[];if(r!=null)return wy(t,(r+i)%7,n,"day");for(o=0;o<7;o++)s[o]=wy(t,(o+i)%7,n,"day");return s}function est(e,t){return IG(e,t,"months")}function tst(e,t){return IG(e,t,"monthsShort")}function rst(e,t,r){return PT(e,t,r,"weekdays")}function nst(e,t,r){return PT(e,t,r,"weekdaysShort")}function ast(e,t,r){return PT(e,t,r,"weekdaysMin")}lu("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,r=ir(e%100/10)===1?"th":t===1?"st":t===2?"nd":t===3?"rd":"th";return e+r}});dt.lang=Pi("moment.lang is deprecated. Use moment.locale instead.",lu);dt.langData=Pi("moment.langData is deprecated. Use moment.localeData instead.",_l);var ms=Math.abs;function ist(){var e=this._data;return this._milliseconds=ms(this._milliseconds),this._days=ms(this._days),this._months=ms(this._months),e.milliseconds=ms(e.milliseconds),e.seconds=ms(e.seconds),e.minutes=ms(e.minutes),e.hours=ms(e.hours),e.months=ms(e.months),e.years=ms(e.years),this}function LG(e,t,r,n){var a=So(t,r);return e._milliseconds+=n*a._milliseconds,e._days+=n*a._days,e._months+=n*a._months,e._bubble()}function ost(e,t){return LG(this,e,t,1)}function sst(e,t){return LG(this,e,t,-1)}function s7(e){return e<0?Math.floor(e):Math.ceil(e)}function lst(){var e=this._milliseconds,t=this._days,r=this._months,n=this._data,a,i,o,s,l;return e>=0&&t>=0&&r>=0||e<=0&&t<=0&&r<=0||(e+=s7(sS(r)+t)*864e5,t=0,r=0),n.milliseconds=e%1e3,a=fi(e/1e3),n.seconds=a%60,i=fi(a/60),n.minutes=i%60,o=fi(i/60),n.hours=o%24,t+=fi(o/24),l=fi($G(t)),r+=l,t-=s7(sS(l)),s=fi(r/12),r%=12,n.days=t,n.months=r,n.years=s,this}function $G(e){return e*4800/146097}function sS(e){return e*146097/4800}function ust(e){if(!this.isValid())return NaN;var t,r,n=this._milliseconds;if(e=Ri(e),e==="month"||e==="quarter"||e==="year")switch(t=this._days+n/864e5,r=this._months+$G(t),e){case"month":return r;case"quarter":return r/3;case"year":return r/12}else switch(t=this._days+Math.round(sS(this._months)),e){case"week":return t/7+n/6048e5;case"day":return t+n/864e5;case"hour":return t*24+n/36e5;case"minute":return t*1440+n/6e4;case"second":return t*86400+n/1e3;case"millisecond":return Math.floor(t*864e5)+n;default:throw new Error("Unknown unit "+e)}}function cst(){return this.isValid()?this._milliseconds+this._days*864e5+this._months%12*2592e6+ir(this._months/12)*31536e6:NaN}function bl(e){return function(){return this.as(e)}}var fst=bl("ms"),dst=bl("s"),hst=bl("m"),vst=bl("h"),pst=bl("d"),gst=bl("w"),mst=bl("M"),yst=bl("Q"),_st=bl("y");function bst(){return So(this)}function wst(e){return e=Ri(e),this.isValid()?this[e+"s"]():NaN}function Bf(e){return function(){return this.isValid()?this._data[e]:NaN}}var Sst=Bf("milliseconds"),Cst=Bf("seconds"),xst=Bf("minutes"),Tst=Bf("hours"),Mst=Bf("days"),kst=Bf("months"),Ast=Bf("years");function Est(){return fi(this.days()/7)}var xs=Math.round,Bd={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function Dst(e,t,r,n,a){return a.relativeTime(t||1,!!r,e,n)}function Ist(e,t,r,n){var a=So(e).abs(),i=xs(a.as("s")),o=xs(a.as("m")),s=xs(a.as("h")),l=xs(a.as("d")),u=xs(a.as("M")),c=xs(a.as("w")),f=xs(a.as("y")),d=i<=r.ss&&["s",i]||i0,d[4]=n,Dst.apply(null,d)}function Lst(e){return e===void 0?xs:typeof e=="function"?(xs=e,!0):!1}function $st(e,t){return Bd[e]===void 0?!1:t===void 0?Bd[e]:(Bd[e]=t,e==="s"&&(Bd.ss=t-1),!0)}function Pst(e,t){if(!this.isValid())return this.localeData().invalidDate();var r=!1,n=Bd,a,i;return typeof e=="object"&&(t=e,e=!1),typeof e=="boolean"&&(r=e),typeof t=="object"&&(n=Object.assign({},Bd,t),t.s!=null&&t.ss==null&&(n.ss=t.s-1)),a=this.localeData(),i=Ist(this,!r,n,a),r&&(i=a.pastFuture(+this,i)),a.postformat(i)}var c3=Math.abs;function td(e){return(e>0)-(e<0)||+e}function C4(){if(!this.isValid())return this.localeData().invalidDate();var e=c3(this._milliseconds)/1e3,t=c3(this._days),r=c3(this._months),n,a,i,o,s=this.asSeconds(),l,u,c,f;return s?(n=fi(e/60),a=fi(n/60),e%=60,n%=60,i=fi(r/12),r%=12,o=e?e.toFixed(3).replace(/\.?0+$/,""):"",l=s<0?"-":"",u=td(this._months)!==td(s)?"-":"",c=td(this._days)!==td(s)?"-":"",f=td(this._milliseconds)!==td(s)?"-":"",l+"P"+(i?u+i+"Y":"")+(r?u+r+"M":"")+(t?c+t+"D":"")+(a||n||e?"T":"")+(a?f+a+"H":"")+(n?f+n+"M":"")+(e?f+o+"S":"")):"P0D"}var vr=w4.prototype;vr.isValid=Mit;vr.abs=ist;vr.add=ost;vr.subtract=sst;vr.as=ust;vr.asMilliseconds=fst;vr.asSeconds=dst;vr.asMinutes=hst;vr.asHours=vst;vr.asDays=pst;vr.asWeeks=gst;vr.asMonths=mst;vr.asQuarters=yst;vr.asYears=_st;vr.valueOf=cst;vr._bubble=lst;vr.clone=bst;vr.get=wst;vr.milliseconds=Sst;vr.seconds=Cst;vr.minutes=xst;vr.hours=Tst;vr.days=Mst;vr.weeks=Est;vr.months=kst;vr.years=Ast;vr.humanize=Pst;vr.toISOString=C4;vr.toString=C4;vr.toJSON=C4;vr.locale=wG;vr.localeData=CG;vr.toIsoString=Pi("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",C4);vr.lang=SG;$t("X",0,0,"unix");$t("x",0,0,"valueOf");mt("x",m4);mt("X",rat);Lr("X",function(e,t,r){r._d=new Date(parseFloat(e)*1e3)});Lr("x",function(e,t,r){r._d=new Date(ir(e))});//! moment.js
+dt.version="2.29.4";Rnt(Gr);dt.fn=et;dt.min=Sit;dt.max=Cit;dt.now=xit;dt.utc=cs;dt.unix=Jot;dt.months=est;dt.isDate=Pg;dt.locale=lu;dt.invalid=d4;dt.duration=So;dt.isMoment=ho;dt.weekdays=rst;dt.parseZone=Qot;dt.localeData=_l;dt.isDuration=y2;dt.monthsShort=tst;dt.weekdaysMin=ast;dt.defineLocale=MT;dt.updateLocale=Qat;dt.locales=eit;dt.weekdaysShort=nst;dt.normalizeUnits=Ri;dt.relativeTimeRounding=Lst;dt.relativeTimeThreshold=$st;dt.calendarFormat=qit;dt.prototype=et;dt.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",DATETIME_LOCAL_MS:"YYYY-MM-DDTHH:mm:ss.SSS",DATE:"YYYY-MM-DD",TIME:"HH:mm",TIME_SECONDS:"HH:mm:ss",TIME_MS:"HH:mm:ss.SSS",WEEK:"GGGG-[W]WW",MONTH:"YYYY-MM"};const Rst={name:"WxVehicleBind",components:{gpy:zW},data(){return{Delete:F_,Edit:H5,Reading:G5,ZoomIn:Mg,Select:U5,CloseBold:tB,Switch:gB,version:"",unBindShow:!1,unBindThisRow:{},completeShow:!1,isShowFreeTimes:!1,addShow:!1,isShow:!1,locale:Qx,tableData:[],CarColorList:[],FreeTypeList:[],CarTypeList:[],freestas:[{freesta:"G",text:"\u560E\u9C81\u56FE"},{freesta:"T",text:"\u53F0\u683C"}],multipleSelection:[],searchForm:{total:0,pageNum:1,pageSize:10},man:"",manno:"",wxIsComplete:"1",formLabelWidth:"130px",myHeight:500,tableLoading:!1,editShow:!1,editThisRow:{},editRules:{vehicleid:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F66\u8F86\u8F66\u724C\u53F7\u7801",trigger:"blur"}],vehiclecolor:[{required:!0,message:"\u8BF7\u8F93\u5165\u8F66\u724C\u989C\u8272",trigger:"blur"}],vehicletype:[{required:!0,message:"\u8BF7\u9009\u62E9\u8F66\u578B",trigger:"blur"}],phoneNumber:[{required:!0,message:"\u8BF7\u8F93\u5165\u624B\u673A\u53F7",trigger:"blur"}],freetype:[{required:!0,message:"\u8BF7\u9009\u62E9\u514D\u8D39\u7C7B\u578B",trigger:"blur"}],freeStartTime:[{required:!0,message:"\u8BF7\u9009\u62E9\u514D\u8D39\u5F00\u59CB\u65F6\u95F4",trigger:"blur"}],freeEndTime:[{required:!0,message:"\u8BF7\u9009\u62E9\u514D\u8D39\u7ED3\u675F\u65F6\u95F4",trigger:"blur"}],freeTimes:[{required:!0,message:"\u8BF7\u8F93\u5165\u514D\u8D39\u6B21\u6570",trigger:"blur"}],freesta:[{required:!0,message:"\u8BF7\u9009\u62E9\u514D\u8D39\u7AD9",trigger:"blur"}],advancefee:[{required:!0,message:"\u8BF7\u8F93\u5165\u9884\u7F34\u91D1\u989D",trigger:"blur"}]},unBindRules:{}}},methods:{queryUserBasic(){this.man=localStorage.getItem("man"),this.manno=localStorage.getItem("manno"),this.wxIsComplete=localStorage.getItem("wxIsComplete"),this.wxIsComplete==="0"?this.addShow=!0:this.wxIsComplete==="1"?this.completeShow=!0:this.wxIsComplete==="2"&&(this.addShow=!0,this.completeShow=!0)},exportExcel(){Dnt(this.searchForm).then(e=>{const t="\u5305\u7F34\u8F66\u6570\u636E.xlsx";if(e.data.type==="application/json"){let r=new FileReader;r.onload=n=>{typeof n.target.result=="string"&&(e=JSON.parse(n.target.result)),this.$message.error(e.msg)},r.readAsText(e.data)}else{const r=new Blob([e.data],{type:"blob"});let n=document.createElement("a");n.download=t,n.style.display="none",n.href=URL.createObjectURL(r),document.body.appendChild(n),n.setAttribute("download",t),n.click(),URL.revokeObjectURL(n.href),document.body.removeChild(n),n=null}}).catch(lr({type:"info",message:"\u540E\u53F0\u6B63\u5728\u4E0B\u8F7D\u4E2D....\u8BF7\u7A0D\u540E"}))},notApproved(){As.confirm("\u662F\u5426\u628A\u7533\u8BF7\u72B6\u6001\u66F4\u6539\u4E3A\u4E0D\u901A\u8FC7\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.unBindThisRow.approved=!1,r7(this.unBindThisRow).then(e=>{e?(lr({message:"\u7533\u8BF7\u5904\u7406\u5B8C\u6210\uFF01",type:"success"}),this.unBindShow=!1,this.network()):(lr.error("\u7533\u8BF7\u5904\u7406\u5931\u8D25\uFF01"),this.network())})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},approved(){As.confirm("\u662F\u5426\u628A\u7533\u8BF7\u72B6\u6001\u66F4\u6539\u4E3A\u901A\u8FC7\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.unBindThisRow.approved=!0,r7(this.unBindThisRow).then(e=>{e?(lr({message:"\u7533\u8BF7\u5904\u7406\u5B8C\u6210\uFF01",type:"success"}),this.unBindShow=!1,this.network()):(lr.error("\u7533\u8BF7\u5904\u7406\u5931\u8D25\uFF01"),this.network())})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},unBindThis(e){this.unBindShow=!0,this.unBindThisRow=JSON.parse(JSON.stringify(e)),this.unBindThisRow.vehicleid,this.unBindThisRow.vehiclecolor;const t=this.unBindThisRow.wxid,r=this.unBindThisRow.managerWXID;t7({wxid:t}).then(n=>{this.unBindThisRow.wxname=n}),t7({wxid:r}).then(n=>{this.unBindThisRow.managername=n})},changDisPlay(e){return e.applyType===0||e.applyType===1},queryVersion(){Ent({}).then(e=>{this.version=e})},getColorStyle(e){switch(e.iscomplete){case 1:return"color: green;";case 2:return"color: orange;";default:return"color: red;"}},isCompleted(e){if(e.iscomplete===0)return"\u672A\u5BA1\u6838";if(e.iscomplete===1)return"\u901A\u8FC7";if(e.iscomplete===2)return"\u672A\u901A\u8FC7"},closeBoldThis(e){As.confirm("\u662F\u5426\u628A\u5BA1\u6838\u72B6\u6001\u66F4\u6539\u4E3A\u672A\u901A\u8FC7\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{knt(e).then(t=>{t?(lr({message:"\u672A\u901A\u8FC7\u8BBE\u7F6E\u6210\u529F\uFF01",type:"success"}),this.network()):(lr.error("\u672A\u901A\u8FC7\u8BBE\u7F6E\u5931\u8D25\uFF01"),this.network())})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},completeThis(e){let t=[];if(e!=null?t[0]=e:t=this.multipleSelection,t.length===0){lr({showClose:!0,message:"\u8BF7\u9009\u62E9\u8981\u5BA1\u6838\u7684\u6570\u636E\uFF01",type:"warning"});return}As.confirm("\u662F\u5426\u6279\u91CF\u5BA1\u6838"+t.length+"\u6761\u6570\u636E\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{Ant(t).then(r=>{r?(lr({message:"\u5BA1\u6838\u6210\u529F\uFF01",type:"success"}),this.network()):(lr.error("\u5BA1\u6838\u5931\u8D25\uFF01"),this.network())})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},showadvancefee(e){this.isShowFreeTimes=!1,this.editThisRow.freeTimes=-1e3,e===5&&(this.isShowFreeTimes=!0,this.editThisRow.freeTimes=0),Tnt({freetype:e}).then(t=>{t?this.isShow=!0:(this.isShow=!1,this.editThisRow.advancefee=0)})},commit(){this.$refs.editThisRow.validate(e=>{e&&As.confirm("\u662F\u5426\u4FEE\u6539\u4FDD\u5B58\u8FD9\u6761\u6570\u636E,\u4FEE\u6539\u540E\u9700\u91CD\u65B0\u5BA1\u6838\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{this.editThisRow.adduserid=this.manno,this.editThisRow.adduser=this.man,this.editThisRow.imageList=this.$refs.gpy.imgArr,this.editThisRow.freesta=this.editThisRow.freesta.join(","),Cnt(this.editThisRow).then(t=>(t==="\u8BE5\u8F66\u724C\u5DF2\u5B58\u5728"?lr.error("\u8BE5\u8F66\u724C\u5DF2\u5B58\u5728!"):t?(lr.success("\u64CD\u4F5C\u6210\u529F!"),this.network(),this.editShow=!1):lr.error("\u64CD\u4F5C\u5931\u8D25!"),t))})})},addItem(){this.editThisRow={},this.editThisRow.isAdd=!0,this.editThisRow.timeSpan=eS.MonthAdd(new Date,6),this.editShow=!0,this.isShow=!1,this.isShowFreeTimes=!1},editThis(e){this.editThisRow=JSON.parse(JSON.stringify(e)),this.editThisRow.isAdd=!1,this.editThisRow.freesta=this.editThisRow.freesta.split(","),Mnt({ImagesID:this.editThisRow.ImagesID}).then(t=>{const r=[];for(const n in t){let a="data:image/png;base64,"+t[n].images;r.push(a)}this.$refs.gpy.imgArr=r}),this.editShow=!0,this.isShow=!0,this.editThisRow.freetype===5&&(this.isShowFreeTimes=!0)},deleteSelect(e){let t=[];if(e!=null?t[0]=e:t=this.multipleSelection,t.length==0){lr({showClose:!0,message:"\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E\uFF01",type:"warning"});return}As.confirm("\u662F\u5426\u6279\u91CF\u5220\u9664"+t.length+"\u6761\u6570\u636E\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{xnt(t).then(r=>{r?(lr({message:r+"\u6761\u5220\u9664\u6210\u529F\uFF01",type:"success"}),this.network()):lr.error("\u5220\u9664\u5931\u8D25\uFF01")})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},handleSelectionChange(e){this.multipleSelection=e},reNetwork(){this.searchForm={total:0,pageNum:1,pageSize:10},this.network()},network(){this.tableLoading=!0,_nt(this.searchForm).then(e=>{e.records!=null?(this.tableData=e.records,this.searchForm.total=e.total,this.searchForm.pageNum=e.current,this.searchForm.pageSize=e.size):lr.error("\u67E5\u8BE2\u5931\u8D25\uFF01"),this.tableLoading=!1})},carColor(e,t){for(let r=0;r{this.CarColorList=e}),Snt().then(e=>{this.FreeTypeList=e}),wnt().then(e=>{this.CarTypeList=e}),this.network(),this.myHeight=document.documentElement.clientHeight*.86}},tv=e=>(ZJ("data-v-db3ba592"),e=e(),JJ(),e),Ost={style:{padding:"10px 0"}},Nst=tv(()=>$("span",{style:{"vertical-align":"middle"}}," \u641C\u7D22 ",-1)),zst=tv(()=>$("span",{style:{"vertical-align":"middle"}}," \u91CD\u7F6E ",-1)),Bst=tv(()=>$("span",{style:{"vertical-align":"middle"}}," \u65B0\u589E ",-1)),Vst=tv(()=>$("span",{style:{"vertical-align":"middle"}}," \u5BA1\u6838 ",-1)),Fst=tv(()=>$("span",{style:{"vertical-align":"middle"}}," \u5220\u9664 ",-1)),Hst=tv(()=>$("span",{style:{"vertical-align":"middle"}}," \u5BFC\u51FA ",-1)),Wst={key:0},Gst={class:"dialog-footer"},Ust=Vt(" \u5173\u95ED"),Yst=Vt(" \u786E\u8BA4"),Kst={class:"dialog-footer"},jst=Vt(" \u5173\u95ED"),qst=Vt("\u89E3\u7ED1\u4E0D\u901A\u8FC7"),Xst=Vt("\u89E3\u7ED1\u901A\u8FC7");function Zst(e,t,r,n,a,i){const o=kn,s=_f,l=ns,u=He("search"),c=We,f=bn,d=He("Refresh"),h=He("plus"),v=He("Select"),p=He("delete"),g=He("Download"),m=Bx,y=ga,_=zx,w=Dx,C=yx,S=e4,x=a4,T=Mx,M=xF,A=He("gpy"),E=WF,D=DF,L=I0;return k(),P(Fe,null,[W(x,null,{default:q(()=>[W(S,{span:24},{default:q(()=>[$("div",Ost,[W(o,{style:{width:"150px","margin-left":"0.5%"},placeholder:"\u8F66\u724C\u53F7",modelValue:a.searchForm.vehicleid,"onUpdate:modelValue":t[0]||(t[0]=I=>a.searchForm.vehicleid=I),clearable:""},null,8,["modelValue"]),W(l,{modelValue:a.searchForm.vehiclecolor,"onUpdate:modelValue":t[1]||(t[1]=I=>a.searchForm.vehiclecolor=I),class:"m-2",clearable:"",placeholder:"\u8F66\u724C\u989C\u8272",style:{width:"150px","margin-left":"0.5%"}},{default:q(()=>[(k(!0),P(Fe,null,bt(a.CarColorList,I=>(k(),ue(s,{label:I.text,value:I.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]),W(f,{type:"primary",style:{"margin-left":"0.5%","margin-top":"0px"},onClick:i.network},{default:q(()=>[W(c,{style:{"vertical-align":"middle"}},{default:q(()=>[W(u)]),_:1}),Nst]),_:1},8,["onClick"]),W(f,{type:"primary",style:{"margin-left":"0.5%","margin-top":"0px"},onClick:i.reNetwork},{default:q(()=>[W(c,null,{default:q(()=>[W(d)]),_:1}),zst]),_:1},8,["onClick"]),a.addShow?(k(),ue(f,{key:0,type:"primary",style:{"margin-top":"0px"},onClick:i.addItem},{default:q(()=>[W(c,null,{default:q(()=>[W(h)]),_:1}),Bst]),_:1},8,["onClick"])):oe("",!0),a.completeShow?(k(),ue(f,{key:1,type:"success",style:{"margin-top":"0px"},onClick:t[2]||(t[2]=I=>i.completeThis(null))},{default:q(()=>[W(c,null,{default:q(()=>[W(v)]),_:1}),Vst]),_:1})):oe("",!0),a.addShow?(k(),ue(f,{key:2,type:"danger",style:{"margin-top":"0px"},onClick:t[3]||(t[3]=I=>i.deleteSelect(null))},{default:q(()=>[W(c,null,{default:q(()=>[W(p)]),_:1}),Fst]),_:1})):oe("",!0),W(f,{type:"success",style:{"margin-top":"0px"},onClick:i.exportExcel},{default:q(()=>[Hst,W(c,null,{default:q(()=>[W(g)]),_:1})]),_:1},8,["onClick"])]),ct((k(),ue(_,{data:a.tableData,border:"","highlight-current-row":"true",style:{width:"100%"},height:a.myHeight,onSelectionChange:i.handleSelectionChange},{default:q(()=>[W(m,{resizable:!1,fixed:"",type:"selection",width:"50",align:"center"}),W(m,{prop:"vehicleid",fixed:"",label:"\u8F66\u724C",align:"center",width:"120"}),W(m,{prop:"platecolorname",fixed:"",label:"\u8F66\u724C\u989C\u8272",align:"center"}),W(m,{prop:"typename",label:"\u8F66\u578B",align:"center",width:"120"}),W(m,{prop:"phoneNumber",label:"\u624B\u673A\u53F7",align:"center",width:"160"}),W(m,{prop:"freetypename",label:"\u514D\u8D39\u7C7B\u578B",align:"center"}),W(m,{prop:"freeStartTime",label:"\u514D\u8D39\u5F00\u59CB\u65F6\u95F4",align:"center",width:"180"}),W(m,{prop:"freeEndTime",label:"\u514D\u8D39\u7ED3\u675F\u65F6\u95F4",align:"center",width:"180"}),W(m,{prop:"freeTimes",label:"\u514D\u8D39\u6B21\u6570",align:"center",width:"100",formatter:i.transforFreeTimes},null,8,["formatter"]),W(m,{prop:"applyTimes",label:"\u4F7F\u7528\u6B21\u6570",align:"center",width:"100"}),W(m,{prop:"surplusTimes",label:"\u5269\u4F59\u6B21\u6570",align:"center",width:"100",formatter:i.transforSurplusTimes},null,8,["formatter"]),W(m,{prop:"adduserid",label:"\u6DFB\u52A0\u4EBAID",align:"center"}),W(m,{prop:"adduser",label:"\u6DFB\u52A0\u4EBA",align:"center"}),W(m,{prop:"freesta",label:"\u514D\u8D39\u7AD9",align:"center",formatter:i.transforSta,width:"120"},null,8,["formatter"]),W(m,{prop:"advancefee",label:"\u9884\u7F34\u91D1\u989D",align:"center",width:"90"}),a.completeShow?(k(),ue(m,{key:0,prop:"applyType",label:"\u7533\u8BF7",align:"center",width:"90"},{default:q(I=>[W(y,{effect:"dark",placement:"top",content:"\u89E3\u7ED1\u7533\u8BF7"},{default:q(()=>[i.changDisPlay(I.row)?(k(),ue(f,{key:0,style:{width:"23%","margin-left":"1%","margin-top":"2%"},onClick:R=>i.unBindThis(I.row),type:"warning",size:"default",icon:a.Switch},null,8,["onClick","icon"])):oe("",!0)]),_:2},1024),i.changDisPlay(I.row)?oe("",!0):(k(),P("p",Wst,"\u65E0\u7533\u8BF7"))]),_:1})):oe("",!0),W(m,{prop:"iscomplete",label:"\u5BA1\u6838\u72B6\u6001",align:"center",width:"100"},{default:q(({row:I})=>[$("span",{style:Ye(i.getColorStyle(I))},Ie(i.isCompleted(I)),5)]),_:1}),W(m,{resizable:!1,prop:"right",label:"\u64CD\u4F5C",align:"center",width:"100",fixed:"right"},{default:q(I=>[W(y,{effect:"dark",placement:"top",content:"\u7F16\u8F91"},{default:q(()=>[a.addShow?(k(),ue(f,{key:0,style:{width:"23%","margin-left":"1%","margin-top":"2%"},onClick:R=>i.editThis(I.row),type:"warning",size:"default",icon:a.Edit},null,8,["onClick","icon"])):oe("",!0)]),_:2},1024),W(y,{effect:"dark",placement:"top",content:"\u5BA1\u6838\u901A\u8FC7"},{default:q(()=>[a.completeShow?(k(),ue(f,{key:0,style:{width:"23%","margin-left":"2%","margin-top":"0%"},onClick:R=>i.completeThis(I.row),type:"success",size:"default",icon:a.Select},null,8,["onClick","icon"])):oe("",!0)]),_:2},1024),W(y,{effect:"dark",placement:"top",content:"\u5220\u9664"},{default:q(()=>[a.addShow?(k(),ue(f,{key:0,style:{width:"23%","margin-left":"2%","margin-top":"2%"},onClick:R=>i.deleteSelect(I.row),type:"danger",size:"default",icon:a.Delete},null,8,["onClick","icon"])):oe("",!0)]),_:2},1024),W(y,{effect:"dark",placement:"top",content:"\u5BA1\u6838\u4E0D\u901A\u8FC7"},{default:q(()=>[a.completeShow?(k(),ue(f,{key:0,style:{width:"23%","margin-left":"2%","margin-top":"0%"},onClick:R=>i.closeBoldThis(I.row),type:"warning",size:"default",icon:a.CloseBold},null,8,["onClick","icon"])):oe("",!0)]),_:2},1024)]),_:1})]),_:1},8,["data","height","onSelectionChange"])),[[L,a.tableLoading]]),W(C,{locale:a.locale},{default:q(()=>[W(w,{background:"",onSizeChange:i.handleSizeChange,onCurrentChange:i.handleCurrentChange,"current-page":a.searchForm.pageNum,"page-sizes":[10,50,100],"page-size":a.searchForm.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:a.searchForm.total},null,8,["onSizeChange","onCurrentChange","current-page","page-size","total"])]),_:1},8,["locale"])]),_:1})]),_:1}),W(D,{title:"\u514D\u8D39\u8F66\u767B\u8BB0\u64CD\u4F5C",modelValue:a.editShow,"onUpdate:modelValue":t[17]||(t[17]=I=>a.editShow=I),width:"60%",top:"0.5%","destroy-on-close":"","close-on-click-modal":!1},{footer:q(()=>[$("span",Gst,[W(f,{onClick:t[15]||(t[15]=I=>a.editShow=!1)},{default:q(()=>[Ust]),_:1}),W(f,{type:"primary",onClick:t[16]||(t[16]=I=>i.commit())},{default:q(()=>[Yst]),_:1})])]),default:q(()=>[W(E,{model:a.editThisRow,size:"medium",rules:a.editRules,ref:"editThisRow"},{default:q(()=>[W(x,null,{default:q(()=>[W(S,{span:12},{default:q(()=>[W(T,{label:"\u8F66\u724C","label-width":a.formLabelWidth,prop:"vehicleid"},{default:q(()=>[W(o,{modelValue:a.editThisRow.vehicleid,"onUpdate:modelValue":t[4]||(t[4]=I=>a.editThisRow.vehicleid=I),autocomplete:"off",disabled:!a.editThisRow.isAdd,clearable:""},null,8,["modelValue","disabled"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u8F66\u724C\u989C\u8272","label-width":a.formLabelWidth,prop:"vehiclecolor"},{default:q(()=>[W(l,{modelValue:a.editThisRow.vehiclecolor,"onUpdate:modelValue":t[5]||(t[5]=I=>a.editThisRow.vehiclecolor=I),class:"m-2",placeholder:"\u8BF7\u9009\u62E9\u8F66\u724C\u989C\u8272",style:{width:"100%"},disabled:!a.editThisRow.isAdd},{default:q(()=>[(k(!0),P(Fe,null,bt(a.CarColorList,I=>(k(),ue(s,{label:I.text,value:I.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue","disabled"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u8F66\u578B","label-width":a.formLabelWidth,prop:"vehicletype"},{default:q(()=>[W(l,{modelValue:a.editThisRow.vehicletype,"onUpdate:modelValue":t[6]||(t[6]=I=>a.editThisRow.vehicletype=I),class:"m-2",placeholder:"\u8BF7\u9009\u62E9\u8F66\u578B",style:{width:"100%"}},{default:q(()=>[(k(!0),P(Fe,null,bt(a.CarTypeList,I=>(k(),ue(s,{label:I.text,value:I.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u624B\u673A\u53F7","label-width":a.formLabelWidth,prop:"phoneNumber"},{default:q(()=>[W(o,{modelValue:a.editThisRow.phoneNumber,"onUpdate:modelValue":t[7]||(t[7]=I=>a.editThisRow.phoneNumber=I),autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u514D\u8D39\u7C7B\u578B","label-width":a.formLabelWidth,prop:"freetype"},{default:q(()=>[W(l,{modelValue:a.editThisRow.freetype,"onUpdate:modelValue":t[8]||(t[8]=I=>a.editThisRow.freetype=I),class:"m-2",placeholder:"\u8BF7\u9009\u62E9\u514D\u8D39\u7C7B\u578B",style:{width:"100%"},onChange:t[9]||(t[9]=I=>i.showadvancefee(a.editThisRow.freetype))},{default:q(()=>[(k(!0),P(Fe,null,bt(a.FreeTypeList,I=>(k(),ue(s,{label:I.text,value:I.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u514D\u8D39\u5F00\u59CB\u65F6\u95F4","label-width":a.formLabelWidth,prop:"freeStartTime"},{default:q(()=>[W(M,{modelValue:a.editThisRow.freeStartTime,"onUpdate:modelValue":t[10]||(t[10]=I=>a.editThisRow.freeStartTime=I),type:"datetime",format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",clearable:!1,style:{width:"100%"}},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u514D\u8D39\u7ED3\u675F\u65F6\u95F4","label-width":a.formLabelWidth,prop:"freeEndTime"},{default:q(()=>[W(M,{modelValue:a.editThisRow.freeEndTime,"onUpdate:modelValue":t[11]||(t[11]=I=>a.editThisRow.freeEndTime=I),type:"datetime",format:"YYYY-MM-DD HH:mm:ss","value-format":"YYYY-MM-DD HH:mm:ss",clearable:!1,style:{width:"100%"}},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u514D\u8D39\u7AD9","label-width":a.formLabelWidth,prop:"freesta"},{default:q(()=>[W(l,{modelValue:a.editThisRow.freesta,"onUpdate:modelValue":t[12]||(t[12]=I=>a.editThisRow.freesta=I),class:"m-2",placeholder:"\u8BF7\u9009\u62E9\u514D\u8D39\u7AD9",multiple:"",style:{width:"100%"}},{default:q(()=>[(k(!0),P(Fe,null,bt(a.freestas,I=>(k(),ue(s,{label:I.text,value:I.freesta},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[a.isShow?(k(),ue(T,{key:0,label:"\u9884\u7F34\u91D1\u989D","label-width":a.formLabelWidth,prop:"advancefee"},{default:q(()=>[W(o,{modelValue:a.editThisRow.advancefee,"onUpdate:modelValue":t[13]||(t[13]=I=>a.editThisRow.advancefee=I),modelModifiers:{number:!0},autocomplete:"off",clearable:"",oninput:"if(!/^[0-9]+$/.test(value)) value=value.replace(/\\D/g,'');if(value<0)value=0"},null,8,["modelValue"])]),_:1},8,["label-width"])):oe("",!0)]),_:1}),W(S,{span:12},{default:q(()=>[a.isShowFreeTimes?(k(),ue(T,{key:0,label:"\u514D\u8D39\u6B21\u6570","label-width":a.formLabelWidth,prop:"freeTimes"},{default:q(()=>[W(o,{modelValue:a.editThisRow.freeTimes,"onUpdate:modelValue":t[14]||(t[14]=I=>a.editThisRow.freeTimes=I),modelModifiers:{number:!0},autocomplete:"off",oninput:"if(!/^[0-9]+$/.test(value)) value=value.replace(/\\D/g,'');if(value<0)value=0"},null,8,["modelValue"])]),_:1},8,["label-width"])):oe("",!0)]),_:1}),W(S,{span:24},{default:q(()=>[W(T,{label:"\u56FE\u50CF","label-width":a.formLabelWidth,prop:"imageList",disabled:!a.editThisRow.isAdd},{default:q(()=>[W(A,{ref:"gpy"},null,512)]),_:1},8,["label-width","disabled"])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"]),W(D,{title:"\u5904\u7406\u7ED1\u5B9A\u7533\u8BF7\u64CD\u4F5C",modelValue:a.unBindShow,"onUpdate:modelValue":t[26]||(t[26]=I=>a.unBindShow=I),width:"50%",top:"0.5%","destroy-on-close":"","close-on-click-modal":!1},{footer:q(()=>[$("span",Kst,[W(f,{onClick:t[23]||(t[23]=I=>a.unBindShow=!1)},{default:q(()=>[jst]),_:1}),W(f,{type:"warning",onClick:t[24]||(t[24]=I=>i.notApproved())},{default:q(()=>[qst]),_:1}),W(f,{type:"primary",onClick:t[25]||(t[25]=I=>i.approved())},{default:q(()=>[Xst]),_:1})])]),default:q(()=>[W(E,{model:a.unBindThisRow,size:"medium",rules:a.unBindRules,ref:"unBindThisRow"},{default:q(()=>[W(x,null,{default:q(()=>[W(S,{span:12},{default:q(()=>[W(T,{label:"\u8F66\u724C","label-width":a.formLabelWidth,prop:"vehicleid"},{default:q(()=>[W(o,{modelValue:a.unBindThisRow.vehicleid,"onUpdate:modelValue":t[18]||(t[18]=I=>a.unBindThisRow.vehicleid=I),autocomplete:"off",disabled:"",clearable:""},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u8F66\u724C\u989C\u8272","label-width":a.formLabelWidth,prop:"vehiclecolor"},{default:q(()=>[W(l,{modelValue:a.unBindThisRow.vehiclecolor,"onUpdate:modelValue":t[19]||(t[19]=I=>a.unBindThisRow.vehiclecolor=I),class:"m-2",placeholder:"\u8BF7\u9009\u62E9\u8F66\u724C\u989C\u8272",style:{width:"100%"},disabled:""},{default:q(()=>[(k(!0),P(Fe,null,bt(a.CarColorList,I=>(k(),ue(s,{label:I.text,value:I.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u539F\u5FAE\u4FE1\u6635\u79F0","label-width":a.formLabelWidth,prop:"wxname"},{default:q(()=>[W(o,{modelValue:a.unBindThisRow.wxname,"onUpdate:modelValue":t[20]||(t[20]=I=>a.unBindThisRow.wxname=I),disabled:"",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:12},{default:q(()=>[W(T,{label:"\u66F4\u6362\u5FAE\u4FE1\u6635\u79F0","label-width":a.formLabelWidth,prop:"managername"},{default:q(()=>[W(o,{modelValue:a.unBindThisRow.managername,"onUpdate:modelValue":t[21]||(t[21]=I=>a.unBindThisRow.managername=I),disabled:"",autocomplete:"off"},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1}),W(S,{span:24},{default:q(()=>[W(T,{label:"\u539F\u56E0","label-width":a.formLabelWidth,prop:"text"},{default:q(()=>[W(o,{modelValue:a.unBindThisRow.text,"onUpdate:modelValue":t[22]||(t[22]=I=>a.unBindThisRow.text=I),type:"textarea",rows:5,placeholder:"\u8BF7\u8F93\u5165\u539F\u56E0"},null,8,["modelValue"])]),_:1},8,["label-width"])]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"])],64)}var Jst=Sg(Rst,[["render",Zst],["__scopeId","data-v-db3ba592"],["__file","D:/myproject/git/GLT-FreeCarRegistration/FreeCarRegistrationView/src/views/wxCharCarUser/WxVehicleBind.vue"]]);const Qst={name:"WXUnBind",components:{},data(){return{Select:U5,Delete:F_,Edit:H5,Reading:G5,ZoomIn:Mg,locale:Qx,tableData:[],CarColorList:[],CarColorMap:{},CarTypeList:[],CarTypeMap:{},multipleSelection:[],searchForm:{total:0,pageNum:1,pageSize:10},formLabelWidth:"130px",myHeight:500,tableLoading:!1}},methods:{deleteSelect(e){let t=[];if(e!=null?t[0]=e:t=this.multipleSelection,t.length===0){lr({showClose:!0,message:"\u8BF7\u9009\u62E9\u8981\u5220\u9664\u7684\u6570\u636E\uFF01",type:"warning"});return}As.confirm("\u662F\u5426\u6279\u91CF\u5220\u9664"+t.length+"\u6761\u6570\u636E\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{Lnt(t).then(r=>{r?(lr({message:r+"\u6761\u5220\u9664\u6210\u529F\uFF01",type:"success"}),this.network()):lr.error("\u5220\u9664\u5931\u8D25\uFF01")})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},toCrossData(e){As.confirm("\u662F\u5426\u786E\u8BA4\u901A\u8FC7\u8BE5\u6761\u6570\u636E\uFF1F","\u63D0\u793A",{confirmButtonText:"\u786E\u5B9A",cancelButtonText:"\u53D6\u6D88",type:"warning"}).then(()=>{Pnt(e).then(t=>{t?(lr({message:"\u4FEE\u6539\u72B6\u6001\u6210\u529F\uFF01",type:"success"}),this.network()):lr.error("\u4FEE\u6539\u72B6\u6001\u5931\u8D25\uFF01")})}).catch(()=>{lr({type:"info",message:"\u5DF2\u53D6\u6D88\uFF01"})})},handleSelectionChange(e){this.multipleSelection=e},reNetwork(){this.searchForm={total:0,pageNum:1,pageSize:10},this.network()},network(){this.tableLoading=!0,Int(this.searchForm).then(e=>{e.records!=null?(this.tableData=e.records,this.searchForm.total=e.total,this.searchForm.pageNum=e.current,this.searchForm.pageSize=e.size):lr.error("\u67E5\u8BE2\u5931\u8D25\uFF01"),this.tableLoading=!1})},carColor(e,t){if(e[t.property]!=null)return this.CarColorMap[e[t.property]]},carType(e,t){if(e[t.property]!=null)return this.CarTypeMap[e[t.property]]},statusType(e,t){if(e[t.property]===1)return"\u8F66\u4E3B";if(e[t.property]===2)return"\u5DF2\u62D2\u7EDD";if(e[t.property]===3)return"\u5F85\u5BA1\u6838";if(e[t.property]===0)return"\u975E\u8F66\u4E3B\u7528\u6237"},dateFormat(e,t){return eS.dateFormat(e[t.property])},handleSizeChange(e){this.searchForm.pageSize=e,this.network()},handleCurrentChange(e){this.searchForm.pageNum=e,this.network()}},mounted(){$nt().then(e=>{this.CarColorList=e.CarColor;for(let t=0;t[W(y,{span:24},{default:q(()=>[$("div",elt,[W(o,{style:{width:"150px","margin-left":"0.5%"},placeholder:"\u7ED1\u5B9A\u4EBA",modelValue:a.searchForm.wxname,"onUpdate:modelValue":t[0]||(t[0]=C=>a.searchForm.wxname=C)},null,8,["modelValue"]),W(o,{style:{width:"150px","margin-left":"0.5%"},placeholder:"\u8F66\u724C\u53F7",modelValue:a.searchForm.vehicleid,"onUpdate:modelValue":t[1]||(t[1]=C=>a.searchForm.vehicleid=C)},null,8,["modelValue"]),W(l,{modelValue:a.searchForm.vehiclecolor,"onUpdate:modelValue":t[2]||(t[2]=C=>a.searchForm.vehiclecolor=C),class:"m-2",clearable:!0,placeholder:"\u8F66\u724C\u989C\u8272",style:{width:"150px","margin-left":"0.5%"}},{default:q(()=>[(k(!0),P(Fe,null,bt(a.CarColorList,C=>(k(),ue(s,{label:C.text,value:C.value},null,8,["label","value"]))),256))]),_:1},8,["modelValue"]),W(l,{modelValue:a.searchForm.ismanager,"onUpdate:modelValue":t[3]||(t[3]=C=>a.searchForm.ismanager=C),class:"m-2",clearable:!0,placeholder:"\u5BA1\u6838\u72B6\u6001",style:{width:"150px","margin-left":"0.5%"}},{default:q(()=>[W(s,{label:"\u975E\u8F66\u4E3B\u7528\u6237",value:0}),W(s,{label:"\u8F66\u4E3B",value:1}),W(s,{label:"\u5DF2\u62D2\u7EDD",value:2}),W(s,{label:"\u5F85\u5BA1\u6838",value:3})]),_:1},8,["modelValue"]),W(f,{type:"primary",style:{"margin-left":"0.5%","margin-top":"0"},onClick:i.network},{default:q(()=>[W(c,{style:{"vertical-align":"middle"}},{default:q(()=>[W(u)]),_:1}),tlt]),_:1},8,["onClick"]),W(f,{type:"primary",style:{"margin-left":"0.5%","margin-top":"0"},onClick:i.reNetwork},{default:q(()=>[W(c,null,{default:q(()=>[W(d)]),_:1}),rlt]),_:1},8,["onClick"]),W(f,{type:"danger",style:{"margin-top":"0"},onClick:t[4]||(t[4]=C=>i.deleteSelect(null))},{default:q(()=>[W(c,null,{default:q(()=>[W(h)]),_:1}),nlt]),_:1})]),ct((k(),ue(p,{data:a.tableData,border:"","highlight-current-row":!0,style:{width:"100%"},height:a.myHeight,onSelectionChange:i.handleSelectionChange},{default:q(()=>[W(v,{resizable:!1,fixed:!0,type:"selection",width:"50",align:"center"}),W(v,{prop:"wxname",label:"\u7ED1\u5B9A\u4EBA",align:"center"}),W(v,{prop:"vehicleid",label:"\u8F66\u724C\u53F7\u7801",align:"center"}),W(v,{prop:"vehiclecolor",label:"\u8F66\u724C\u989C\u8272",align:"center",formatter:i.carColor},null,8,["formatter"]),W(v,{prop:"ismanager",label:"\u72B6\u6001",align:"center",formatter:i.statusType},null,8,["formatter"]),W(v,{prop:"vehicletype",label:"\u8F66\u578B",align:"center",formatter:i.carType},null,8,["formatter"]),W(v,{prop:"phoneNumber",label:"\u5907\u6CE8",align:"center"}),W(v,{resizable:!1,prop:"right",label:"\u64CD\u4F5C",width:"130",align:"center"},{default:q(C=>[W(f,{style:{width:"48%","margin-left":"2%","margin-top":"2%"},onClick:S=>i.deleteSelect(C.row),type:"danger",size:"default",icon:a.Delete},null,8,["onClick","icon"]),W(f,{style:{width:"48%","margin-left":"2%","margin-top":"2%"},onClick:S=>i.toCrossData(C.row),type:"success",size:"default",icon:a.Select,disabled:C.row.ismanager!==3},null,8,["onClick","icon","disabled"])]),_:1})]),_:1},8,["data","height","onSelectionChange"])),[[w,a.tableLoading]]),W(m,{locale:a.locale},{default:q(()=>[W(g,{background:"",onSizeChange:i.handleSizeChange,onCurrentChange:i.handleCurrentChange,"current-page":a.searchForm.pageNum,"page-sizes":[10,50,100],"page-size":a.searchForm.pageSize,layout:"total, sizes, prev, pager, next, jumper",total:a.searchForm.total},null,8,["onSizeChange","onCurrentChange","current-page","page-size","total"])]),_:1},8,["locale"])]),_:1})]),_:1})}var ilt=Sg(Qst,[["render",alt],["__file","D:/myproject/git/GLT-FreeCarRegistration/FreeCarRegistrationView/src/views/wxCharCarUser/WXUnBind.vue"]]);const olt=[{path:"/FreeCarRegistration/gpy",component:zW},{path:"/FreeCarRegistration/WxVehicleBind",component:Jst},{path:"/FreeCarRegistration/WXUnBind",component:ilt},{path:"/FreeCarRegistration/404",component:Uet},{path:"/FreeCarRegistration:pathMatch(.*)",redirect:"/FreeCarRegistration/404"}],slt=Pet({mode:"hash",history:jQe(),routes:olt});var RT=slt;/*! *****************************************************************************
+Copyright (c) Microsoft Corporation.
+
+Permission to use, copy, modify, and/or distribute this software for any
+purpose with or without fee is hereby granted.
+
+THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
+REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
+AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
+INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
+OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
+PERFORMANCE OF THIS SOFTWARE.
+***************************************************************************** */var lS=function(e,t){return lS=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(r[a]=n[a])},lS(e,t)};function ye(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");lS(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}var llt=function(){function e(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1}return e}(),ult=function(){function e(){this.browser=new llt,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow=typeof window!="undefined"}return e}(),gc=new ult;typeof wx=="object"&&typeof wx.getSystemInfoSync=="function"?(gc.wxa=!0,gc.touchEventsSupported=!0):typeof document=="undefined"&&typeof self!="undefined"?gc.worker=!0:typeof navigator=="undefined"?(gc.node=!0,gc.svgSupported=!0):clt(navigator.userAgent,gc);function clt(e,t){var r=t.browser,n=e.match(/Firefox\/([\d.]+)/),a=e.match(/MSIE\s([\d.]+)/)||e.match(/Trident\/.+?rv:(([\d.]+))/),i=e.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(e);n&&(r.firefox=!0,r.version=n[1]),a&&(r.ie=!0,r.version=a[1]),i&&(r.edge=!0,r.version=i[1],r.newEdge=+i[1].split(".")[0]>18),o&&(r.weChat=!0),t.svgSupported=typeof SVGRect!="undefined",t.touchEventsSupported="ontouchstart"in window&&!r.ie&&!r.edge,t.pointerEventsSupported="onpointerdown"in window&&(r.edge||r.ie&&+r.version>=11),t.domSupported=typeof document!="undefined";var s=document.documentElement.style;t.transform3dSupported=(r.ie&&"transition"in s||r.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),t.transformSupported=t.transform3dSupported||r.ie&&+r.version>=9}var Qt=gc,OT=12,PG="sans-serif",wu=OT+"px "+PG,flt=20,dlt=100,hlt="007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N";function vlt(e){var t={};if(typeof JSON=="undefined")return t;for(var r=0;r=0)s=o*r.length;else for(var l=0;l>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",n[l]+":0",a[u]+":0",n[1-l]+":auto",a[1-u]+":auto",""].join("!important;"),e.appendChild(o),r.push(o)}return r}function zlt(e,t,r){for(var n=r?"invTrans":"trans",a=t[n],i=t.srcCoords,o=[],s=[],l=!0,u=0;u<4;u++){var c=e[u].getBoundingClientRect(),f=2*u,d=c.left,h=c.top;o.push(d,h),l=l&&i&&d===i[f]&&h===i[f+1],s.push(e[u].offsetLeft,e[u].offsetTop)}return l&&a?a:(t.srcCoords=o,t[n]=r?u7(s,o):u7(o,s))}function YG(e){return e.nodeName.toUpperCase()==="CANVAS"}var Blt=/([&<>"'])/g,Vlt={"&":"&","<":"<",">":">",'"':""","'":"'"};function ca(e){return e==null?"":(e+"").replace(Blt,function(t,r){return Vlt[r]})}var Flt=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,d3=[],Hlt=Qt.browser.firefox&&+Qt.browser.version.split(".")[0]<39;function hS(e,t,r,n){return r=r||{},n?f7(e,t,r):Hlt&&t.layerX!=null&&t.layerX!==t.offsetX?(r.zrX=t.layerX,r.zrY=t.layerY):t.offsetX!=null?(r.zrX=t.offsetX,r.zrY=t.offsetY):f7(e,t,r),r}function f7(e,t,r){if(Qt.domSupported&&e.getBoundingClientRect){var n=t.clientX,a=t.clientY;if(YG(e)){var i=e.getBoundingClientRect();r.zrX=n-i.left,r.zrY=a-i.top;return}else if(dS(d3,e,n,a)){r.zrX=d3[0],r.zrY=d3[1];return}}r.zrX=r.zrY=0}function WT(e){return e||window.event}function oi(e,t,r){if(t=WT(t),t.zrX!=null)return t;var n=t.type,a=n&&n.indexOf("touch")>=0;if(a){var o=n!=="touchend"?t.targetTouches[0]:t.changedTouches[0];o&&hS(e,o,t,r)}else{hS(e,t,t,r);var i=Wlt(t);t.zrDelta=i?i/120:-(t.detail||0)/3}var s=t.button;return t.which==null&&s!==void 0&&Flt.test(t.type)&&(t.which=s&1?1:s&2?3:s&4?2:0),t}function Wlt(e){var t=e.wheelDelta;if(t)return t;var r=e.deltaX,n=e.deltaY;if(r==null||n==null)return t;var a=Math.abs(n!==0?n:r),i=n>0?-1:n<0?1:r>0?-1:1;return 3*a*i}function vS(e,t,r,n){e.addEventListener(t,r,n)}function Glt(e,t,r,n){e.removeEventListener(t,r,n)}var el=function(e){e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0};function d7(e){return e.which===2||e.which===3}var Ult=function(){function e(){this._track=[]}return e.prototype.recognize=function(t,r,n){return this._doTrack(t,r,n),this._recognize(t)},e.prototype.clear=function(){return this._track.length=0,this},e.prototype._doTrack=function(t,r,n){var a=t.touches;if(!!a){for(var i={points:[],touches:[],target:r,event:t},o=0,s=a.length;o1&&n&&n.length>1){var i=h7(n)/h7(a);!isFinite(i)&&(i=1),t.pinchScale=i;var o=Ylt(n);return t.pinchX=o[0],t.pinchY=o[1],{type:"pinch",target:e[0].target,event:t}}}}};function Xa(){return[1,0,0,1,0,0]}function Vg(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=1,e[4]=0,e[5]=0,e}function E4(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function Jo(e,t,r){var n=t[0]*r[0]+t[2]*r[1],a=t[1]*r[0]+t[3]*r[1],i=t[0]*r[2]+t[2]*r[3],o=t[1]*r[2]+t[3]*r[3],s=t[0]*r[4]+t[2]*r[5]+t[4],l=t[1]*r[4]+t[3]*r[5]+t[5];return e[0]=n,e[1]=a,e[2]=i,e[3]=o,e[4]=s,e[5]=l,e}function po(e,t,r){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4]+r[0],e[5]=t[5]+r[1],e}function Pu(e,t,r){var n=t[0],a=t[2],i=t[4],o=t[1],s=t[3],l=t[5],u=Math.sin(r),c=Math.cos(r);return e[0]=n*c+o*u,e[1]=-n*u+o*c,e[2]=a*c+s*u,e[3]=-a*u+c*s,e[4]=c*i+u*l,e[5]=c*l-u*i,e}function D4(e,t,r){var n=r[0],a=r[1];return e[0]=t[0]*n,e[1]=t[1]*a,e[2]=t[2]*n,e[3]=t[3]*a,e[4]=t[4]*n,e[5]=t[5]*a,e}function Ff(e,t){var r=t[0],n=t[2],a=t[4],i=t[1],o=t[3],s=t[5],l=r*o-i*n;return l?(l=1/l,e[0]=o*l,e[1]=-i*l,e[2]=-n*l,e[3]=r*l,e[4]=(n*s-o*a)*l,e[5]=(i*a-r*s)*l,e):null}function KG(e){var t=Xa();return E4(t,e),t}var Klt=Object.freeze(Object.defineProperty({__proto__:null,create:Xa,identity:Vg,copy:E4,mul:Jo,translate:po,rotate:Pu,scale:D4,invert:Ff,clone:KG},Symbol.toStringTag,{value:"Module"})),jlt=function(){function e(t,r){this.x=t||0,this.y=r||0}return e.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},e.prototype.clone=function(){return new e(this.x,this.y)},e.prototype.set=function(t,r){return this.x=t,this.y=r,this},e.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},e.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},e.prototype.scale=function(t){this.x*=t,this.y*=t},e.prototype.scaleAndAdd=function(t,r){this.x+=t.x*r,this.y+=t.y*r},e.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},e.prototype.dot=function(t){return this.x*t.x+this.y*t.y},e.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},e.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},e.prototype.distance=function(t){var r=this.x-t.x,n=this.y-t.y;return Math.sqrt(r*r+n*n)},e.prototype.distanceSquare=function(t){var r=this.x-t.x,n=this.y-t.y;return r*r+n*n},e.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},e.prototype.transform=function(t){if(!!t){var r=this.x,n=this.y;return this.x=t[0]*r+t[2]*n+t[4],this.y=t[1]*r+t[3]*n+t[5],this}},e.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},e.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},e.set=function(t,r,n){t.x=r,t.y=n},e.copy=function(t,r){t.x=r.x,t.y=r.y},e.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},e.lenSquare=function(t){return t.x*t.x+t.y*t.y},e.dot=function(t,r){return t.x*r.x+t.y*r.y},e.add=function(t,r,n){t.x=r.x+n.x,t.y=r.y+n.y},e.sub=function(t,r,n){t.x=r.x-n.x,t.y=r.y-n.y},e.scale=function(t,r,n){t.x=r.x*n,t.y=r.y*n},e.scaleAndAdd=function(t,r,n,a){t.x=r.x+n.x*a,t.y=r.y+n.y*a},e.lerp=function(t,r,n,a){var i=1-a;t.x=i*r.x+a*n.x,t.y=i*r.y+a*n.y},e}(),Pt=jlt,Im=Math.min,Lm=Math.max,Gu=new Pt,Uu=new Pt,Yu=new Pt,Ku=new Pt,$v=new Pt,Pv=new Pt,qlt=function(){function e(t,r,n,a){n<0&&(t=t+n,n=-n),a<0&&(r=r+a,a=-a),this.x=t,this.y=r,this.width=n,this.height=a}return e.prototype.union=function(t){var r=Im(t.x,this.x),n=Im(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=Lm(t.x+t.width,this.x+this.width)-r:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=Lm(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=r,this.y=n},e.prototype.applyTransform=function(t){e.applyTransform(this,this,t)},e.prototype.calculateTransform=function(t){var r=this,n=t.width/r.width,a=t.height/r.height,i=Xa();return po(i,i,[-r.x,-r.y]),D4(i,i,[n,a]),po(i,i,[t.x,t.y]),i},e.prototype.intersect=function(t,r){if(!t)return!1;t instanceof e||(t=e.create(t));var n=this,a=n.x,i=n.x+n.width,o=n.y,s=n.y+n.height,l=t.x,u=t.x+t.width,c=t.y,f=t.y+t.height,d=!(iv&&(v=_,pv&&(v=w,m=n.x&&t<=n.x+n.width&&r>=n.y&&r<=n.y+n.height},e.prototype.clone=function(){return new e(this.x,this.y,this.width,this.height)},e.prototype.copy=function(t){e.copy(this,t)},e.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},e.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},e.prototype.isZero=function(){return this.width===0||this.height===0},e.create=function(t){return new e(t.x,t.y,t.width,t.height)},e.copy=function(t,r){t.x=r.x,t.y=r.y,t.width=r.width,t.height=r.height},e.applyTransform=function(t,r,n){if(!n){t!==r&&e.copy(t,r);return}if(n[1]<1e-5&&n[1]>-1e-5&&n[2]<1e-5&&n[2]>-1e-5){var a=n[0],i=n[3],o=n[4],s=n[5];t.x=r.x*a+o,t.y=r.y*i+s,t.width=r.width*a,t.height=r.height*i,t.width<0&&(t.x+=t.width,t.width=-t.width),t.height<0&&(t.y+=t.height,t.height=-t.height);return}Gu.x=Yu.x=r.x,Gu.y=Ku.y=r.y,Uu.x=Ku.x=r.x+r.width,Uu.y=Yu.y=r.y+r.height,Gu.transform(n),Ku.transform(n),Uu.transform(n),Yu.transform(n),t.x=Im(Gu.x,Uu.x,Yu.x,Ku.x),t.y=Im(Gu.y,Uu.y,Yu.y,Ku.y);var l=Lm(Gu.x,Uu.x,Yu.x,Ku.x),u=Lm(Gu.y,Uu.y,Yu.y,Ku.y);t.width=l-t.x,t.height=u-t.y},e}(),Ot=qlt,jG="silent";function Xlt(e,t,r){return{type:e,event:r,target:t.target,topTarget:t.topTarget,cancelBubble:!1,offsetX:r.zrX,offsetY:r.zrY,gestureEvent:r.gestureEvent,pinchX:r.pinchX,pinchY:r.pinchY,pinchScale:r.pinchScale,wheelDelta:r.zrDelta,zrByTouch:r.zrByTouch,which:r.which,stop:Zlt}}function Zlt(){el(this.event)}var Jlt=function(e){ye(t,e);function t(){var r=e!==null&&e.apply(this,arguments)||this;return r.handler=null,r}return t.prototype.dispose=function(){},t.prototype.setCursor=function(){},t}(Oi),Rv=function(){function e(t,r){this.x=t,this.y=r}return e}(),Qlt=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],v3=new Ot(0,0,0,0),qG=function(e){ye(t,e);function t(r,n,a,i,o){var s=e.call(this)||this;return s._hovered=new Rv(0,0),s.storage=r,s.painter=n,s.painterRoot=i,s._pointerSize=o,a=a||new Jlt,s.proxy=null,s.setHandlerProxy(a),s._draggingMgr=new $lt(s),s}return t.prototype.setHandlerProxy=function(r){this.proxy&&this.proxy.dispose(),r&&(H(Qlt,function(n){r.on&&r.on(n,this[n],this)},this),r.handler=this),this.proxy=r},t.prototype.mousemove=function(r){var n=r.zrX,a=r.zrY,i=XG(this,n,a),o=this._hovered,s=o.target;s&&!s.__zr&&(o=this.findHover(o.x,o.y),s=o.target);var l=this._hovered=i?new Rv(n,a):this.findHover(n,a),u=l.target,c=this.proxy;c.setCursor&&c.setCursor(u?u.cursor:"default"),s&&u!==s&&this.dispatchToElement(o,"mouseout",r),this.dispatchToElement(l,"mousemove",r),u&&u!==s&&this.dispatchToElement(l,"mouseover",r)},t.prototype.mouseout=function(r){var n=r.zrEventControl;n!=="only_globalout"&&this.dispatchToElement(this._hovered,"mouseout",r),n!=="no_globalout"&&this.trigger("globalout",{type:"globalout",event:r})},t.prototype.resize=function(){this._hovered=new Rv(0,0)},t.prototype.dispatch=function(r,n){var a=this[r];a&&a.call(this,n)},t.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},t.prototype.setCursorStyle=function(r){var n=this.proxy;n.setCursor&&n.setCursor(r)},t.prototype.dispatchToElement=function(r,n,a){r=r||{};var i=r.target;if(!(i&&i.silent)){for(var o="on"+n,s=Xlt(n,r,a);i&&(i[o]&&(s.cancelBubble=!!i[o].call(i,s)),i.trigger(n,s),i=i.__hostTarget?i.__hostTarget:i.parent,!s.cancelBubble););s.cancelBubble||(this.trigger(n,s),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(l){typeof l[o]=="function"&&l[o].call(l,s),l.trigger&&l.trigger(n,s)}))}},t.prototype.findHover=function(r,n,a){var i=this.storage.getDisplayList(),o=new Rv(r,n);if(v7(i,o,r,n,a),this._pointerSize&&!o.target){for(var s=[],l=this._pointerSize,u=l/2,c=new Ot(r-u,n-u,l,l),f=i.length-1;f>=0;f--){var d=i[f];d!==a&&!d.ignore&&!d.ignoreCoarsePointer&&(!d.parent||!d.parent.ignoreCoarsePointer)&&(v3.copy(d.getBoundingRect()),d.transform&&v3.applyTransform(d.transform),v3.intersect(c)&&s.push(d))}if(s.length)for(var h=4,v=Math.PI/12,p=Math.PI*2,g=0;g4)return;this._downPoint=null}this.dispatchToElement(i,e,t)}});function eut(e,t,r){if(e[e.rectHover?"rectContain":"contain"](t,r)){for(var n=e,a=void 0,i=!1;n;){if(n.ignoreClip&&(i=!0),!i){var o=n.getClipPath();if(o&&!o.contain(t,r))return!1;n.silent&&(a=!0)}var s=n.__hostTarget;n=s||n.parent}return a?jG:!0}return!1}function v7(e,t,r,n,a){for(var i=e.length-1;i>=0;i--){var o=e[i],s=void 0;if(o!==a&&!o.ignore&&(s=eut(o,r,n))&&(!t.topTarget&&(t.topTarget=o),s!==jG)){t.target=o;break}}}function XG(e,t,r){var n=e.painter;return t<0||t>n.getWidth()||r<0||r>n.getHeight()}var tut=qG,ZG=32,Ov=7;function rut(e){for(var t=0;e>=ZG;)t|=e&1,e>>=1;return e+t}function p7(e,t,r,n){var a=t+1;if(a===r)return 1;if(n(e[a++],e[t])<0){for(;a=0;)a++;return a-t}function nut(e,t,r){for(r--;t>>1,a(i,e[l])<0?s=l:o=l+1;var u=n-o;switch(u){case 3:e[o+3]=e[o+2];case 2:e[o+2]=e[o+1];case 1:e[o+1]=e[o];break;default:for(;u>0;)e[o+u]=e[o+u-1],u--}e[o]=i}}function p3(e,t,r,n,a,i){var o=0,s=0,l=1;if(i(e,t[r+a])>0){for(s=n-a;l0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}else{for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}for(o++;o>>1);i(e,t[r+c])>0?o=c+1:l=c}return l}function g3(e,t,r,n,a,i){var o=0,s=0,l=1;if(i(e,t[r+a])<0){for(s=a+1;ls&&(l=s);var u=o;o=a-l,l=a-u}else{for(s=n-a;l=0;)o=l,l=(l<<1)+1,l<=0&&(l=s);l>s&&(l=s),o+=a,l+=a}for(o++;o>>1);i(e,t[r+c])<0?l=c:o=c+1}return l}function aut(e,t){var r=Ov,n,a,i=0;e.length;var o=[];n=[],a=[];function s(h,v){n[i]=h,a[i]=v,i+=1}function l(){for(;i>1;){var h=i-2;if(h>=1&&a[h-1]<=a[h]+a[h+1]||h>=2&&a[h-2]<=a[h]+a[h-1])a[h-1]a[h+1])break;c(h)}}function u(){for(;i>1;){var h=i-2;h>0&&a[h-1]=Ov||x>=Ov);if(T)break;C<0&&(C=0),C+=2}if(r=C,r<1&&(r=1),v===1){for(m=0;m=0;m--)e[S+m]=e[C+m];e[w]=o[_];return}for(var x=r;;){var T=0,M=0,A=!1;do if(t(o[_],e[y])<0){if(e[w--]=e[y--],T++,M=0,--v===0){A=!0;break}}else if(e[w--]=o[_--],M++,T=0,--g===1){A=!0;break}while((T|M)=0;m--)e[S+m]=e[C+m];if(v===0){A=!0;break}}if(e[w--]=o[_--],--g===1){A=!0;break}if(M=g-p3(e[y],o,0,g,g-1,t),M!==0){for(w-=M,_-=M,g-=M,S=w+1,C=_+1,m=0;m=Ov||M>=Ov);if(A)break;x<0&&(x=0),x+=2}if(r=x,r<1&&(r=1),g===1){for(w-=v,y-=v,S=w+1,C=y+1,m=v-1;m>=0;m--)e[S+m]=e[C+m];e[w]=o[_]}else{if(g===0)throw new Error;for(C=w-(g-1),m=0;ms&&(l=s),g7(e,r,r+l,r+i,t),i=l}o.pushRun(r,i),o.mergeRuns(),a-=i,r+=i}while(a!==0);o.forceMergeRuns()}}var Fa=1,dp=2,Dd=4,m7=!1;function m3(){m7||(m7=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function y7(e,t){return e.zlevel===t.zlevel?e.z===t.z?e.z2-t.z2:e.z-t.z:e.zlevel-t.zlevel}var iut=function(){function e(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=y7}return e.prototype.traverse=function(t,r){for(var n=0;n0&&(c.__clipPaths=[]),isNaN(c.z)&&(m3(),c.z=0),isNaN(c.z2)&&(m3(),c.z2=0),isNaN(c.zlevel)&&(m3(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var f=t.getDecalElement&&t.getDecalElement();f&&this._updateAndAddDisplayable(f,r,n);var d=t.getTextGuideLine();d&&this._updateAndAddDisplayable(d,r,n);var h=t.getTextContent();h&&this._updateAndAddDisplayable(h,r,n)}},e.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},e.prototype.delRoot=function(t){if(t instanceof Array){for(var r=0,n=t.length;r=0&&this._roots.splice(a,1)},e.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},e.prototype.getRoots=function(){return this._roots},e.prototype.dispose=function(){this._displayList=null,this._roots=null},e}(),out=iut,JG;JG=Qt.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(e){return setTimeout(e,16)};var pS=JG,w2={linear:function(e){return e},quadraticIn:function(e){return e*e},quadraticOut:function(e){return e*(2-e)},quadraticInOut:function(e){return(e*=2)<1?.5*e*e:-.5*(--e*(e-2)-1)},cubicIn:function(e){return e*e*e},cubicOut:function(e){return--e*e*e+1},cubicInOut:function(e){return(e*=2)<1?.5*e*e*e:.5*((e-=2)*e*e+2)},quarticIn:function(e){return e*e*e*e},quarticOut:function(e){return 1- --e*e*e*e},quarticInOut:function(e){return(e*=2)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2)},quinticIn:function(e){return e*e*e*e*e},quinticOut:function(e){return--e*e*e*e*e+1},quinticInOut:function(e){return(e*=2)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2)},sinusoidalIn:function(e){return 1-Math.cos(e*Math.PI/2)},sinusoidalOut:function(e){return Math.sin(e*Math.PI/2)},sinusoidalInOut:function(e){return .5*(1-Math.cos(Math.PI*e))},exponentialIn:function(e){return e===0?0:Math.pow(1024,e-1)},exponentialOut:function(e){return e===1?1:1-Math.pow(2,-10*e)},exponentialInOut:function(e){return e===0?0:e===1?1:(e*=2)<1?.5*Math.pow(1024,e-1):.5*(-Math.pow(2,-10*(e-1))+2)},circularIn:function(e){return 1-Math.sqrt(1-e*e)},circularOut:function(e){return Math.sqrt(1- --e*e)},circularInOut:function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)},elasticIn:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),-(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)))},elasticOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),r*Math.pow(2,-10*e)*Math.sin((e-t)*(2*Math.PI)/n)+1)},elasticInOut:function(e){var t,r=.1,n=.4;return e===0?0:e===1?1:(!r||r<1?(r=1,t=n/4):t=n*Math.asin(1/r)/(2*Math.PI),(e*=2)<1?-.5*(r*Math.pow(2,10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)):r*Math.pow(2,-10*(e-=1))*Math.sin((e-t)*(2*Math.PI)/n)*.5+1)},backIn:function(e){var t=1.70158;return e*e*((t+1)*e-t)},backOut:function(e){var t=1.70158;return--e*e*((t+1)*e+t)+1},backInOut:function(e){var t=2.5949095;return(e*=2)<1?.5*(e*e*((t+1)*e-t)):.5*((e-=2)*e*((t+1)*e+t)+2)},bounceIn:function(e){return 1-w2.bounceOut(1-e)},bounceOut:function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375},bounceInOut:function(e){return e<.5?w2.bounceIn(e*2)*.5:w2.bounceOut(e*2-1)*.5+.5}},QG=w2,$m=Math.pow,cu=Math.sqrt,Ty=1e-8,eU=1e-4,_7=cu(3),Pm=1/3,Vo=$u(),di=$u(),ih=$u();function eu(e){return e>-Ty&&eTy||e<-Ty}function vn(e,t,r,n,a){var i=1-a;return i*i*(i*e+3*a*t)+a*a*(a*n+3*i*r)}function b7(e,t,r,n,a){var i=1-a;return 3*(((t-e)*i+2*(r-t)*a)*i+(n-r)*a*a)}function My(e,t,r,n,a,i){var o=n+3*(t-r)-e,s=3*(r-t*2+e),l=3*(t-e),u=e-a,c=s*s-3*o*l,f=s*l-9*o*u,d=l*l-3*s*u,h=0;if(eu(c)&&eu(f))if(eu(s))i[0]=0;else{var v=-l/s;v>=0&&v<=1&&(i[h++]=v)}else{var p=f*f-4*c*d;if(eu(p)){var g=f/c,v=-s/o+g,m=-g/2;v>=0&&v<=1&&(i[h++]=v),m>=0&&m<=1&&(i[h++]=m)}else if(p>0){var y=cu(p),_=c*s+1.5*o*(-f+y),w=c*s+1.5*o*(-f-y);_<0?_=-$m(-_,Pm):_=$m(_,Pm),w<0?w=-$m(-w,Pm):w=$m(w,Pm);var v=(-s-(_+w))/(3*o);v>=0&&v<=1&&(i[h++]=v)}else{var C=(2*c*s-3*o*f)/(2*cu(c*c*c)),S=Math.acos(C)/3,x=cu(c),T=Math.cos(S),v=(-s-2*x*T)/(3*o),m=(-s+x*(T+_7*Math.sin(S)))/(3*o),M=(-s+x*(T-_7*Math.sin(S)))/(3*o);v>=0&&v<=1&&(i[h++]=v),m>=0&&m<=1&&(i[h++]=m),M>=0&&M<=1&&(i[h++]=M)}}return h}function rU(e,t,r,n,a){var i=6*r-12*t+6*e,o=9*t+3*n-3*e-9*r,s=3*t-3*e,l=0;if(eu(o)){if(tU(i)){var u=-s/i;u>=0&&u<=1&&(a[l++]=u)}}else{var c=i*i-4*o*s;if(eu(c))a[0]=-i/(2*o);else if(c>0){var f=cu(c),u=(-i+f)/(2*o),d=(-i-f)/(2*o);u>=0&&u<=1&&(a[l++]=u),d>=0&&d<=1&&(a[l++]=d)}}return l}function Su(e,t,r,n,a,i){var o=(t-e)*a+e,s=(r-t)*a+t,l=(n-r)*a+r,u=(s-o)*a+o,c=(l-s)*a+s,f=(c-u)*a+u;i[0]=e,i[1]=o,i[2]=u,i[3]=f,i[4]=f,i[5]=c,i[6]=l,i[7]=n}function nU(e,t,r,n,a,i,o,s,l,u,c){var f,d=.005,h=1/0,v,p,g,m;Vo[0]=l,Vo[1]=u;for(var y=0;y<1;y+=.05)di[0]=vn(e,r,a,o,y),di[1]=vn(t,n,i,s,y),g=uu(Vo,di),g=0&&g=0&&u<=1&&(a[l++]=u)}}else{var c=o*o-4*i*s;if(eu(c)){var u=-o/(2*i);u>=0&&u<=1&&(a[l++]=u)}else if(c>0){var f=cu(c),u=(-o+f)/(2*i),d=(-o-f)/(2*i);u>=0&&u<=1&&(a[l++]=u),d>=0&&d<=1&&(a[l++]=d)}}return l}function aU(e,t,r){var n=e+r-2*t;return n===0?.5:(e-t)/n}function V0(e,t,r,n,a){var i=(t-e)*n+e,o=(r-t)*n+t,s=(o-i)*n+i;a[0]=e,a[1]=i,a[2]=s,a[3]=s,a[4]=o,a[5]=r}function iU(e,t,r,n,a,i,o,s,l){var u,c=.005,f=1/0;Vo[0]=o,Vo[1]=s;for(var d=0;d<1;d+=.05){di[0]=Tn(e,r,a,d),di[1]=Tn(t,n,i,d);var h=uu(Vo,di);h=0&&h=1?1:My(0,n,i,1,l,s)&&vn(0,a,o,1,s[0])}}}var fut=function(){function e(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||Jr,this.ondestroy=t.ondestroy||Jr,this.onrestart=t.onrestart||Jr,t.easing&&this.setEasing(t.easing)}return e.prototype.step=function(t,r){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),this._paused){this._pausedTime+=r;return}var n=this._life,a=t-this._startTime-this._pausedTime,i=a/n;i<0&&(i=0),i=Math.min(i,1);var o=this.easingFunc,s=o?o(i):i;if(this.onframe(s),i===1)if(this.loop){var l=a%n;this._startTime=t-l,this._pausedTime=0,this.onrestart()}else return!0;return!1},e.prototype.pause=function(){this._paused=!0},e.prototype.resume=function(){this._paused=!1},e.prototype.setEasing=function(t){this.easing=t,this.easingFunc=lt(t)?t:QG[t]||GT(t)},e}(),dut=fut,oU=function(){function e(t){this.value=t}return e}(),hut=function(){function e(){this._len=0}return e.prototype.insert=function(t){var r=new oU(t);return this.insertEntry(r),r},e.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},e.prototype.remove=function(t){var r=t.prev,n=t.next;r?r.next=n:this.head=n,n?n.prev=r:this.tail=r,t.next=t.prev=null,this._len--},e.prototype.len=function(){return this._len},e.prototype.clear=function(){this.head=this.tail=null,this._len=0},e}(),vut=function(){function e(t){this._list=new hut,this._maxSize=10,this._map={},this._maxSize=t}return e.prototype.put=function(t,r){var n=this._list,a=this._map,i=null;if(a[t]==null){var o=n.len(),s=this._lastRemovedEntry;if(o>=this._maxSize&&o>0){var l=n.head;n.remove(l),delete a[l.key],i=l.value,this._lastRemovedEntry=l}s?s.value=r:s=new oU(r),s.key=t,n.insertEntry(s),a[t]=s}return i},e.prototype.get=function(t){var r=this._map[t],n=this._list;if(r!=null)return r!==n.tail&&(n.remove(r),n.insertEntry(r)),r.value},e.prototype.clear=function(){this._list.clear(),this._map={}},e.prototype.len=function(){return this._list.len()},e}(),Fg=vut,w7={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function ao(e){return e=Math.round(e),e<0?0:e>255?255:e}function put(e){return e=Math.round(e),e<0?0:e>360?360:e}function F0(e){return e<0?0:e>1?1:e}function y3(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?ao(parseFloat(t)/100*255):ao(parseInt(t,10))}function rf(e){var t=e;return t.length&&t.charAt(t.length-1)==="%"?F0(parseFloat(t)/100):F0(parseFloat(t))}function _3(e,t,r){return r<0?r+=1:r>1&&(r-=1),r*6<1?e+(t-e)*r*6:r*2<1?t:r*3<2?e+(t-e)*(2/3-r)*6:e}function tu(e,t,r){return e+(t-e)*r}function ii(e,t,r,n,a){return e[0]=t,e[1]=r,e[2]=n,e[3]=a,e}function mS(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e}var sU=new Fg(20),Rm=null;function nd(e,t){Rm&&mS(Rm,t),Rm=sU.put(e,Rm||t.slice())}function fa(e,t){if(!!e){t=t||[];var r=sU.get(e);if(r)return mS(t,r);e=e+"";var n=e.replace(/ /g,"").toLowerCase();if(n in w7)return mS(t,w7[n]),nd(e,t),t;var a=n.length;if(n.charAt(0)==="#"){if(a===4||a===5){var i=parseInt(n.slice(1,4),16);if(!(i>=0&&i<=4095)){ii(t,0,0,0,1);return}return ii(t,(i&3840)>>4|(i&3840)>>8,i&240|(i&240)>>4,i&15|(i&15)<<4,a===5?parseInt(n.slice(4),16)/15:1),nd(e,t),t}else if(a===7||a===9){var i=parseInt(n.slice(1,7),16);if(!(i>=0&&i<=16777215)){ii(t,0,0,0,1);return}return ii(t,(i&16711680)>>16,(i&65280)>>8,i&255,a===9?parseInt(n.slice(7),16)/255:1),nd(e,t),t}return}var o=n.indexOf("("),s=n.indexOf(")");if(o!==-1&&s+1===a){var l=n.substr(0,o),u=n.substr(o+1,s-(o+1)).split(","),c=1;switch(l){case"rgba":if(u.length!==4)return u.length===3?ii(t,+u[0],+u[1],+u[2],1):ii(t,0,0,0,1);c=rf(u.pop());case"rgb":if(u.length>=3)return ii(t,y3(u[0]),y3(u[1]),y3(u[2]),u.length===3?c:rf(u[3])),nd(e,t),t;ii(t,0,0,0,1);return;case"hsla":if(u.length!==4){ii(t,0,0,0,1);return}return u[3]=rf(u[3]),yS(u,t),nd(e,t),t;case"hsl":if(u.length!==3){ii(t,0,0,0,1);return}return yS(u,t),nd(e,t),t;default:return}}ii(t,0,0,0,1)}}function yS(e,t){var r=(parseFloat(e[0])%360+360)%360/360,n=rf(e[1]),a=rf(e[2]),i=a<=.5?a*(n+1):a+n-a*n,o=a*2-i;return t=t||[],ii(t,ao(_3(o,i,r+1/3)*255),ao(_3(o,i,r)*255),ao(_3(o,i,r-1/3)*255),1),e.length===4&&(t[3]=e[3]),t}function gut(e){if(!!e){var t=e[0]/255,r=e[1]/255,n=e[2]/255,a=Math.min(t,r,n),i=Math.max(t,r,n),o=i-a,s=(i+a)/2,l,u;if(o===0)l=0,u=0;else{s<.5?u=o/(i+a):u=o/(2-i-a);var c=((i-t)/6+o/2)/o,f=((i-r)/6+o/2)/o,d=((i-n)/6+o/2)/o;t===i?l=d-f:r===i?l=1/3+c-d:n===i&&(l=2/3+f-c),l<0&&(l+=1),l>1&&(l-=1)}var h=[l*360,u,s];return e[3]!=null&&h.push(e[3]),h}}function ky(e,t){var r=fa(e);if(r){for(var n=0;n<3;n++)t<0?r[n]=r[n]*(1-t)|0:r[n]=(255-r[n])*t+r[n]|0,r[n]>255?r[n]=255:r[n]<0&&(r[n]=0);return io(r,r.length===4?"rgba":"rgb")}}function mut(e){var t=fa(e);if(t)return((1<<24)+(t[0]<<16)+(t[1]<<8)+ +t[2]).toString(16).slice(1)}function Hp(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){r=r||[];var n=e*(t.length-1),a=Math.floor(n),i=Math.ceil(n),o=t[a],s=t[i],l=n-a;return r[0]=ao(tu(o[0],s[0],l)),r[1]=ao(tu(o[1],s[1],l)),r[2]=ao(tu(o[2],s[2],l)),r[3]=F0(tu(o[3],s[3],l)),r}}var yut=Hp;function UT(e,t,r){if(!(!(t&&t.length)||!(e>=0&&e<=1))){var n=e*(t.length-1),a=Math.floor(n),i=Math.ceil(n),o=fa(t[a]),s=fa(t[i]),l=n-a,u=io([ao(tu(o[0],s[0],l)),ao(tu(o[1],s[1],l)),ao(tu(o[2],s[2],l)),F0(tu(o[3],s[3],l))],"rgba");return r?{color:u,leftIndex:a,rightIndex:i,value:n}:u}}var _ut=UT;function oh(e,t,r,n){var a=fa(e);if(e)return a=gut(a),t!=null&&(a[0]=put(t)),r!=null&&(a[1]=rf(r)),n!=null&&(a[2]=rf(n)),io(yS(a),"rgba")}function H0(e,t){var r=fa(e);if(r&&t!=null)return r[3]=F0(t),io(r,"rgba")}function io(e,t){if(!(!e||!e.length)){var r=e[0]+","+e[1]+","+e[2];return(t==="rgba"||t==="hsva"||t==="hsla")&&(r+=","+e[3]),t+"("+r+")"}}function W0(e,t){var r=fa(e);return r?(.299*r[0]+.587*r[1]+.114*r[2])*r[3]/255+(1-r[3])*t:0}function but(){return io([Math.round(Math.random()*255),Math.round(Math.random()*255),Math.round(Math.random()*255)],"rgb")}var wut=Object.freeze(Object.defineProperty({__proto__:null,parse:fa,lift:ky,toHex:mut,fastLerp:Hp,fastMapToColor:yut,lerp:UT,mapToColor:_ut,modifyHSL:oh,modifyAlpha:H0,stringify:io,lum:W0,random:but},Symbol.toStringTag,{value:"Module"})),Ay=Math.round;function G0(e){var t;if(!e||e==="transparent")e="none";else if(typeof e=="string"&&e.indexOf("rgba")>-1){var r=fa(e);r&&(e="rgb("+r[0]+","+r[1]+","+r[2]+")",t=r[3])}return{color:e,opacity:t==null?1:t}}var S7=1e-4;function ru(e){return e-S7}function Om(e){return Ay(e*1e3)/1e3}function _S(e){return Ay(e*1e4)/1e4}function Sut(e){return"matrix("+Om(e[0])+","+Om(e[1])+","+Om(e[2])+","+Om(e[3])+","+_S(e[4])+","+_S(e[5])+")"}var Cut={left:"start",right:"end",center:"middle",middle:"middle"};function xut(e,t,r){return r==="top"?e+=t/2:r==="bottom"&&(e-=t/2),e}function Tut(e){return e&&(e.shadowBlur||e.shadowOffsetX||e.shadowOffsetY)}function Mut(e){var t=e.style,r=e.getGlobalScale();return[t.shadowColor,(t.shadowBlur||0).toFixed(2),(t.shadowOffsetX||0).toFixed(2),(t.shadowOffsetY||0).toFixed(2),r[0],r[1]].join(",")}function lU(e){return e&&!!e.image}function kut(e){return e&&!!e.svgElement}function YT(e){return lU(e)||kut(e)}function uU(e){return e.type==="linear"}function cU(e){return e.type==="radial"}function fU(e){return e&&(e.type==="linear"||e.type==="radial")}function I4(e){return"url(#"+e+")"}function dU(e){var t=e.getGlobalScale(),r=Math.max(t[0],t[1]);return Math.max(Math.ceil(Math.log(r)/Math.log(10)),1)}function hU(e){var t=e.x||0,r=e.y||0,n=(e.rotation||0)*Bp,a=Rt(e.scaleX,1),i=Rt(e.scaleY,1),o=e.skewX||0,s=e.skewY||0,l=[];return(t||r)&&l.push("translate("+t+"px,"+r+"px)"),n&&l.push("rotate("+n+")"),(a!==1||i!==1)&&l.push("scale("+a+","+i+")"),(o||s)&&l.push("skew("+Ay(o*Bp)+"deg, "+Ay(s*Bp)+"deg)"),l.join(" ")}var Aut=function(){return Qt.hasGlobalWindow&<(window.btoa)?function(e){return window.btoa(unescape(encodeURIComponent(e)))}:typeof Buffer!="undefined"?function(e){return Buffer.from(e).toString("base64")}:function(e){return null}}(),bS=Array.prototype.slice;function Ts(e,t,r){return(t-e)*r+e}function b3(e,t,r,n){for(var a=t.length,i=0;in?t:e,i=Math.min(r,n),o=a[i-1]||{color:[0,0,0,0],offset:0},s=i;so;if(s)n.length=o;else for(var l=i;l=1},e.prototype.getAdditiveTrack=function(){return this._additiveTrack},e.prototype.addKeyframe=function(t,r,n){this._needsSort=!0;var a=this.keyframes,i=a.length,o=!1,s=x7,l=r;if(zn(r)){var u=Lut(r);s=u,(u===1&&!er(r[0])||u===2&&!er(r[0][0]))&&(o=!0)}else if(er(r)&&!Nh(r))s=zm;else if(Qe(r))if(!isNaN(+r))s=zm;else{var c=fa(r);c&&(l=c,s=hp)}else if(zg(r)){var f=De({},l);f.colorStops=Be(r.colorStops,function(h){return{offset:h.offset,color:fa(h.color)}}),uU(r)?s=wS:cU(r)&&(s=SS),l=f}i===0?this.valType=s:(s!==this.valType||s===x7)&&(o=!0),this.discrete=this.discrete||o;var d={time:t,value:l,rawValue:r,percent:0};return n&&(d.easing=n,d.easingFunc=lt(n)?n:QG[n]||GT(n)),a.push(d),d},e.prototype.prepare=function(t,r){var n=this.keyframes;this._needsSort&&n.sort(function(p,g){return p.time-g.time});for(var a=this.valType,i=n.length,o=n[i-1],s=this.discrete,l=Bm(a),u=T7(a),c=0;c=0&&!(o[c].percent<=r);c--);c=d(c,s-2)}else{for(c=f;cr);c++);c=d(c-1,s-2)}v=o[c+1],h=o[c]}if(!!(h&&v)){this._lastFr=c,this._lastFrP=r;var g=v.percent-h.percent,m=g===0?1:d((r-h.percent)/g,1);v.easingFunc&&(m=v.easingFunc(m));var y=n?this._additiveValue:u?Nv:t[l];if((Bm(i)||u)&&!y&&(y=this._additiveValue=[]),this.discrete)t[l]=m<1?h.rawValue:v.rawValue;else if(Bm(i))i===C2?b3(y,h[a],v[a],m):Eut(y,h[a],v[a],m);else if(T7(i)){var _=h[a],w=v[a],C=i===wS;t[l]={type:C?"linear":"radial",x:Ts(_.x,w.x,m),y:Ts(_.y,w.y,m),colorStops:Be(_.colorStops,function(x,T){var M=w.colorStops[T];return{offset:Ts(x.offset,M.offset,m),color:S2(b3([],x.color,M.color,m))}}),global:w.global},C?(t[l].x2=Ts(_.x2,w.x2,m),t[l].y2=Ts(_.y2,w.y2,m)):t[l].r=Ts(_.r,w.r,m)}else if(u)b3(y,h[a],v[a],m),n||(t[l]=S2(y));else{var S=Ts(h[a],v[a],m);n?this._additiveValue=S:t[l]=S}n&&this._addToTarget(t)}}},e.prototype._addToTarget=function(t){var r=this.valType,n=this.propName,a=this._additiveValue;r===zm?t[n]=t[n]+a:r===hp?(fa(t[n],Nv),Nm(Nv,Nv,a,1),t[n]=S2(Nv)):r===C2?Nm(t[n],t[n],a,1):r===vU&&C7(t[n],t[n],a,1)},e}(),Put=function(){function e(t,r,n,a){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=r,r&&a){T4("Can' use additive animation on looped animation.");return}this._additiveAnimators=a,this._allowDiscrete=n}return e.prototype.getMaxTime=function(){return this._maxTime},e.prototype.getDelay=function(){return this._delay},e.prototype.getLoop=function(){return this._loop},e.prototype.getTarget=function(){return this._target},e.prototype.changeTarget=function(t){this._target=t},e.prototype.when=function(t,r,n){return this.whenWithKeys(t,r,Ut(r),n)},e.prototype.whenWithKeys=function(t,r,n,a){for(var i=this._tracks,o=0;o0&&l.addKeyframe(0,Wp(u),a),this._trackKeys.push(s)}l.addKeyframe(t,Wp(r[s]),a)}return this._maxTime=Math.max(this._maxTime,t),this},e.prototype.pause=function(){this._clip.pause(),this._paused=!0},e.prototype.resume=function(){this._clip.resume(),this._paused=!1},e.prototype.isPaused=function(){return!!this._paused},e.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},e.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var r=t.length,n=0;n0)){this._started=1;for(var r=this,n=[],a=this._maxTime||0,i=0;i1){var s=o.pop();i.addKeyframe(s.time,t[a]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},e}(),KT=Put;function Vd(){return new Date().getTime()}var Rut=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,r=r||{},n.stage=r.stage||{},n}return t.prototype.addClip=function(r){r.animation&&this.removeClip(r),this._head?(this._tail.next=r,r.prev=this._tail,r.next=null,this._tail=r):this._head=this._tail=r,r.animation=this},t.prototype.addAnimator=function(r){r.animation=this;var n=r.getClip();n&&this.addClip(n)},t.prototype.removeClip=function(r){if(!!r.animation){var n=r.prev,a=r.next;n?n.next=a:this._head=a,a?a.prev=n:this._tail=n,r.next=r.prev=r.animation=null}},t.prototype.removeAnimator=function(r){var n=r.getClip();n&&this.removeClip(n),r.animation=null},t.prototype.update=function(r){for(var n=Vd()-this._pausedTime,a=n-this._time,i=this._head;i;){var o=i.next,s=i.step(n,a);s&&(i.ondestroy(),this.removeClip(i)),i=o}this._time=n,r||(this.trigger("frame",a),this.stage.update&&this.stage.update())},t.prototype._startLoop=function(){var r=this;this._running=!0;function n(){r._running&&(pS(n),!r._paused&&r.update())}pS(n)},t.prototype.start=function(){this._running||(this._time=Vd(),this._pausedTime=0,this._startLoop())},t.prototype.stop=function(){this._running=!1},t.prototype.pause=function(){this._paused||(this._pauseStart=Vd(),this._paused=!0)},t.prototype.resume=function(){this._paused&&(this._pausedTime+=Vd()-this._pauseStart,this._paused=!1)},t.prototype.clear=function(){for(var r=this._head;r;){var n=r.next;r.prev=r.next=r.animation=null,r=n}this._head=this._tail=null},t.prototype.isFinished=function(){return this._head==null},t.prototype.animate=function(r,n){n=n||{},this.start();var a=new KT(r,n.loop);return this.addAnimator(a),a},t}(Oi),Out=Rut,Nut=300,w3=Qt.domSupported,S3=function(){var e=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],t=["touchstart","touchend","touchmove"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},n=Be(e,function(a){var i=a.replace("mouse","pointer");return r.hasOwnProperty(i)?i:a});return{mouse:e,touch:t,pointer:n}}(),M7={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},k7=!1;function CS(e){var t=e.pointerType;return t==="pen"||t==="touch"}function zut(e){e.touching=!0,e.touchTimer!=null&&(clearTimeout(e.touchTimer),e.touchTimer=null),e.touchTimer=setTimeout(function(){e.touching=!1,e.touchTimer=null},700)}function C3(e){e&&(e.zrByTouch=!0)}function But(e,t){return oi(e.dom,new Vut(e,t),!0)}function pU(e,t){for(var r=t,n=!1;r&&r.nodeType!==9&&!(n=r.domBelongToZr||r!==t&&r===e.painterRoot);)r=r.parentNode;return n}var Vut=function(){function e(t,r){this.stopPropagation=Jr,this.stopImmediatePropagation=Jr,this.preventDefault=Jr,this.type=r.type,this.target=this.currentTarget=t.dom,this.pointerType=r.pointerType,this.clientX=r.clientX,this.clientY=r.clientY}return e}(),Ki={mousedown:function(e){e=oi(this.dom,e),this.__mayPointerCapture=[e.zrX,e.zrY],this.trigger("mousedown",e)},mousemove:function(e){e=oi(this.dom,e);var t=this.__mayPointerCapture;t&&(e.zrX!==t[0]||e.zrY!==t[1])&&this.__togglePointerCapture(!0),this.trigger("mousemove",e)},mouseup:function(e){e=oi(this.dom,e),this.__togglePointerCapture(!1),this.trigger("mouseup",e)},mouseout:function(e){e=oi(this.dom,e);var t=e.toElement||e.relatedTarget;pU(this,t)||(this.__pointerCapturing&&(e.zrEventControl="no_globalout"),this.trigger("mouseout",e))},wheel:function(e){k7=!0,e=oi(this.dom,e),this.trigger("mousewheel",e)},mousewheel:function(e){k7||(e=oi(this.dom,e),this.trigger("mousewheel",e))},touchstart:function(e){e=oi(this.dom,e),C3(e),this.__lastTouchMoment=new Date,this.handler.processGesture(e,"start"),Ki.mousemove.call(this,e),Ki.mousedown.call(this,e)},touchmove:function(e){e=oi(this.dom,e),C3(e),this.handler.processGesture(e,"change"),Ki.mousemove.call(this,e)},touchend:function(e){e=oi(this.dom,e),C3(e),this.handler.processGesture(e,"end"),Ki.mouseup.call(this,e),+new Date-+this.__lastTouchMomentD7||e<-D7}var qu=[],ad=[],T3=Xa(),M3=Math.abs,Yut=function(){function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return ju(this.rotation)||ju(this.x)||ju(this.y)||ju(this.scaleX-1)||ju(this.scaleY-1)||ju(this.skewX)||ju(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,r=this.needLocalTransform(),n=this.transform;if(!(r||t)){n&&E7(n);return}n=n||Xa(),r?this.getLocalTransform(n):E7(n),t&&(r?Jo(n,t,n):E4(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var r=this.globalScaleRatio;if(r!=null&&r!==1){this.getGlobalScale(qu);var n=qu[0]<0?-1:1,a=qu[1]<0?-1:1,i=((qu[0]-n)*r+n)/qu[0]||0,o=((qu[1]-a)*r+a)/qu[1]||0;t[0]*=i,t[1]*=i,t[2]*=o,t[3]*=o}this.invTransform=this.invTransform||Xa(),Ff(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,r=[];t;)r.push(t),t=t.parent;for(;t=r.pop();)t.updateTransform();return this.transform},e.prototype.setLocalTransform=function(t){if(!!t){var r=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],a=Math.atan2(t[1],t[0]),i=Math.PI/2+a-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),r=Math.sqrt(r),this.skewX=i,this.skewY=0,this.rotation=-a,this.x=+t[4],this.y=+t[5],this.scaleX=r,this.scaleY=n,this.originX=0,this.originY=0}},e.prototype.decomposeTransform=function(){if(!!this.transform){var t=this.parent,r=this.transform;t&&t.transform&&(Jo(ad,t.invTransform,r),r=ad);var n=this.originX,a=this.originY;(n||a)&&(T3[4]=n,T3[5]=a,Jo(ad,r,T3),ad[4]-=n,ad[5]-=a,r=ad),this.setLocalTransform(r)}},e.prototype.getGlobalScale=function(t){var r=this.transform;return t=t||[],r?(t[0]=Math.sqrt(r[0]*r[0]+r[1]*r[1]),t[1]=Math.sqrt(r[2]*r[2]+r[3]*r[3]),r[0]<0&&(t[0]=-t[0]),r[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},e.prototype.transformCoordToLocal=function(t,r){var n=[t,r],a=this.invTransform;return a&&An(n,n,a),n},e.prototype.transformCoordToGlobal=function(t,r){var n=[t,r],a=this.transform;return a&&An(n,n,a),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&M3(t[0]-1)>1e-10&&M3(t[3]-1)>1e-10?Math.sqrt(M3(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){mU(this,t)},e.getLocalTransform=function(t,r){r=r||[];var n=t.originX||0,a=t.originY||0,i=t.scaleX,o=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,c=t.x,f=t.y,d=t.skewX?Math.tan(t.skewX):0,h=t.skewY?Math.tan(-t.skewY):0;if(n||a||s||l){var v=n+s,p=a+l;r[4]=-v*i-d*p*o,r[5]=-p*o-h*v*i}else r[4]=r[5]=0;return r[0]=i,r[3]=o,r[1]=h*i,r[2]=d*o,u&&Pu(r,r,u),r[4]+=n+c,r[5]+=a+f,r},e.initDefaultProps=function(){var t=e.prototype;t.scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0}(),e}(),is=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function mU(e,t){for(var r=0;r=0?parseFloat(e)/100*t:parseFloat(e):e}function Dy(e,t,r){var n=t.position||"inside",a=t.distance!=null?t.distance:5,i=r.height,o=r.width,s=i/2,l=r.x,u=r.y,c="left",f="top";if(n instanceof Array)l+=go(n[0],r.width),u+=go(n[1],r.height),c=null,f=null;else switch(n){case"left":l-=a,u+=s,c="right",f="middle";break;case"right":l+=a+o,u+=s,f="middle";break;case"top":l+=o/2,u-=a,c="center",f="bottom";break;case"bottom":l+=o/2,u+=i+a,c="center";break;case"inside":l+=o/2,u+=s,c="center",f="middle";break;case"insideLeft":l+=a,u+=s,f="middle";break;case"insideRight":l+=o-a,u+=s,c="right",f="middle";break;case"insideTop":l+=o/2,u+=a,c="center";break;case"insideBottom":l+=o/2,u+=i-a,c="center",f="bottom";break;case"insideTopLeft":l+=a,u+=a;break;case"insideTopRight":l+=o-a,u+=a,c="right";break;case"insideBottomLeft":l+=a,u+=i-a,f="bottom";break;case"insideBottomRight":l+=o-a,u+=i-a,c="right",f="bottom";break}return e=e||{},e.x=l,e.y=u,e.align=c,e.verticalAlign=f,e}var k3="__zr_normal__",A3=is.concat(["ignore"]),Kut=Li(is,function(e,t){return e[t]=!0,e},{ignore:!1}),id={},jut=new Ot(0,0,0,0),jT=function(){function e(t){this.id=BT(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return e.prototype._init=function(t){this.attr(t)},e.prototype.drift=function(t,r,n){switch(this.draggable){case"horizontal":r=0;break;case"vertical":t=0;break}var a=this.transform;a||(a=this.transform=[1,0,0,1,0,0]),a[4]+=t,a[5]+=r,this.decomposeTransform(),this.markRedraw()},e.prototype.beforeUpdate=function(){},e.prototype.afterUpdate=function(){},e.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},e.prototype.updateInnerText=function(t){var r=this._textContent;if(r&&(!r.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,a=n.local,i=r.innerTransformable,o=void 0,s=void 0,l=!1;i.parent=a?this:null;var u=!1;if(i.copyTransform(r),n.position!=null){var c=jut;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),a||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(id,n,c):Dy(id,n,c),i.x=id.x,i.y=id.y,o=id.align,s=id.verticalAlign;var f=n.origin;if(f&&n.rotation!=null){var d=void 0,h=void 0;f==="center"?(d=c.width*.5,h=c.height*.5):(d=go(f[0],c.width),h=go(f[1],c.height)),u=!0,i.originX=-i.x+d+(a?0:c.x),i.originY=-i.y+h+(a?0:c.y)}}n.rotation!=null&&(i.rotation=n.rotation);var v=n.offset;v&&(i.x+=v[0],i.y+=v[1],u||(i.originX=-v[0],i.originY=-v[1]));var p=n.inside==null?typeof n.position=="string"&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),m=void 0,y=void 0,_=void 0;p&&this.canBeInsideText()?(m=n.insideFill,y=n.insideStroke,(m==null||m==="auto")&&(m=this.getInsideTextFill()),(y==null||y==="auto")&&(y=this.getInsideTextStroke(m),_=!0)):(m=n.outsideFill,y=n.outsideStroke,(m==null||m==="auto")&&(m=this.getOutsideFill()),(y==null||y==="auto")&&(y=this.getOutsideStroke(m),_=!0)),m=m||"#000",(m!==g.fill||y!==g.stroke||_!==g.autoStroke||o!==g.align||s!==g.verticalAlign)&&(l=!0,g.fill=m,g.stroke=y,g.autoStroke=_,g.align=o,g.verticalAlign=s,r.setDefaultTextStyle(g)),r.__dirty|=Fa,l&&r.dirtyStyle(!0)}},e.prototype.canBeInsideText=function(){return!0},e.prototype.getInsideTextFill=function(){return"#fff"},e.prototype.getInsideTextStroke=function(t){return"#000"},e.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?kS:MS},e.prototype.getOutsideStroke=function(t){var r=this.__zr&&this.__zr.getBackgroundColor(),n=typeof r=="string"&&fa(r);n||(n=[255,255,255,1]);for(var a=n[3],i=this.__zr.isDarkMode(),o=0;o<3;o++)n[o]=n[o]*a+(i?0:255)*(1-a);return n[3]=1,io(n,"rgba")},e.prototype.traverse=function(t,r){},e.prototype.attrKV=function(t,r){t==="textConfig"?this.setTextConfig(r):t==="textContent"?this.setTextContent(r):t==="clipPath"?this.setClipPath(r):t==="extra"?(this.extra=this.extra||{},De(this.extra,r)):this[t]=r},e.prototype.hide=function(){this.ignore=!0,this.markRedraw()},e.prototype.show=function(){this.ignore=!1,this.markRedraw()},e.prototype.attr=function(t,r){if(typeof t=="string")this.attrKV(t,r);else if(vt(t))for(var n=t,a=Ut(n),i=0;i0},e.prototype.getState=function(t){return this.states[t]},e.prototype.ensureState=function(t){var r=this.states;return r[t]||(r[t]={}),r[t]},e.prototype.clearStates=function(t){this.useState(k3,!1,t)},e.prototype.useState=function(t,r,n,a){var i=t===k3,o=this.hasState();if(!(!o&&i)){var s=this.currentStates,l=this.stateTransition;if(!(zt(s,t)>=0&&(r||s.length===1))){var u;if(this.stateProxy&&!i&&(u=this.stateProxy(t)),u||(u=this.states&&this.states[t]),!u&&!i){T4("State "+t+" not exists.");return}i||this.saveCurrentToNormalState(u);var c=!!(u&&u.hoverLayer||a);c&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,u,this._normalState,r,!n&&!this.__inHover&&l&&l.duration>0,l);var f=this._textContent,d=this._textGuide;return f&&f.useState(t,r,n,c),d&&d.useState(t,r,n,c),i?(this.currentStates=[],this._normalState={}):r?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!c&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Fa),u}}},e.prototype.useStates=function(t,r,n){if(!t.length)this.clearStates();else{var a=[],i=this.currentStates,o=t.length,s=o===i.length;if(s){for(var l=0;l0,v);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,r,d),g&&g.useStates(t,r,d),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!d&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~Fa)}},e.prototype._updateAnimationTargets=function(){for(var t=0;t=0){var n=this.currentStates.slice();n.splice(r,1),this.useStates(n)}},e.prototype.replaceState=function(t,r,n){var a=this.currentStates.slice(),i=zt(a,t),o=zt(a,r)>=0;i>=0?o?a.splice(i,1):a[i]=r:n&&!o&&a.push(r),this.useStates(a)},e.prototype.toggleState=function(t,r){r?this.useState(t,!0):this.removeState(t)},e.prototype._mergeStates=function(t){for(var r={},n,a=0;a=0&&i.splice(o,1)}),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},e.prototype.updateDuringAnimation=function(t){this.markRedraw()},e.prototype.stopAnimation=function(t,r){for(var n=this.animators,a=n.length,i=[],o=0;o0&&r.during&&i[0].during(function(v,p){r.during(p)});for(var d=0;d0||a.force&&!o.length){var T=void 0,M=void 0,A=void 0;if(s){M={},d&&(T={});for(var w=0;w<_;w++){var m=p[w];M[m]=r[m],d?T[m]=n[m]:r[m]=n[m]}}else if(d){A={};for(var w=0;w<_;w++){var m=p[w];A[m]=Wp(r[m]),Xut(r,n,m)}}var C=new KT(r,!1,!1,f?dr(v,function(D){return D.targetName===t}):null);C.targetName=t,a.scope&&(C.scope=a.scope),d&&T&&C.whenWithKeys(0,T,p),A&&C.whenWithKeys(0,A,p),C.whenWithKeys(u==null?500:u,s?M:n,p).delay(c||0),e.addAnimator(C,t),o.push(C)}}var _U=jT,bU=function(e){ye(t,e);function t(r){var n=e.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(r),n}return t.prototype.childrenRef=function(){return this._children},t.prototype.children=function(){return this._children.slice()},t.prototype.childAt=function(r){return this._children[r]},t.prototype.childOfName=function(r){for(var n=this._children,a=0;a=0&&(a.splice(i,0,r),this._doAdd(r))}return this},t.prototype.replace=function(r,n){var a=zt(this._children,r);return a>=0&&this.replaceAt(n,a),this},t.prototype.replaceAt=function(r,n){var a=this._children,i=a[n];if(r&&r!==this&&r.parent!==this&&r!==i){a[n]=r,i.parent=null;var o=this.__zr;o&&i.removeSelfFromZr(o),this._doAdd(r)}return this},t.prototype._doAdd=function(r){r.parent&&r.parent.remove(r),r.parent=this;var n=this.__zr;n&&n!==r.__zr&&r.addSelfToZr(n),n&&n.refresh()},t.prototype.remove=function(r){var n=this.__zr,a=this._children,i=zt(a,r);return i<0?this:(a.splice(i,1),r.parent=null,n&&r.removeSelfFromZr(n),n&&n.refresh(),this)},t.prototype.removeAll=function(){for(var r=this._children,n=this.__zr,a=0;a0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},e.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},e.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},e.prototype.refreshHover=function(){this._needsRefreshHover=!0},e.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover()},e.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},e.prototype.clearAnimation=function(){this.animation.clear()},e.prototype.getWidth=function(){return this.painter.getWidth()},e.prototype.getHeight=function(){return this.painter.getHeight()},e.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},e.prototype.findHover=function(t,r){return this.handler.findHover(t,r)},e.prototype.on=function(t,r,n){return this.handler.on(t,r,n),this},e.prototype.off=function(t,r){this.handler.off(t,r)},e.prototype.trigger=function(t,r){this.handler.trigger(t,r)},e.prototype.clear=function(){for(var t=this.storage.getRoots(),r=0;r0){if(e<=a)return o;if(e>=i)return s}else{if(e>=a)return o;if(e<=i)return s}else{if(e===a)return o;if(e===i)return s}return(e-a)/l*u+o}function qe(e,t){switch(e){case"center":case"middle":e="50%";break;case"left":case"top":e="0%";break;case"right":case"bottom":e="100%";break}return Qe(e)?sct(e).match(/%$/)?parseFloat(e)/100*t:parseFloat(e):e==null?NaN:+e}function jr(e,t,r){return t==null&&(t=10),t=Math.min(Math.max(0,t),SU),e=(+e).toFixed(t),r?e:+e}function Ga(e){return e.sort(function(t,r){return t-r}),e}function to(e){if(e=+e,isNaN(e))return 0;if(e>1e-14){for(var t=1,r=0;r<15;r++,t*=10)if(Math.round(e*t)/t===e)return r}return CU(e)}function CU(e){var t=e.toString().toLowerCase(),r=t.indexOf("e"),n=r>0?+t.slice(r+1):0,a=r>0?r:t.length,i=t.indexOf("."),o=i<0?0:a-1-i;return Math.max(0,o-n)}function qT(e,t){var r=Math.log,n=Math.LN10,a=Math.floor(r(e[1]-e[0])/n),i=Math.round(r(Math.abs(t[1]-t[0]))/n),o=Math.min(Math.max(-a+i,0),20);return isFinite(o)?o:20}function lct(e,t,r){if(!e[t])return 0;var n=xU(e,r);return n[t]||0}function xU(e,t){var r=Li(e,function(h,v){return h+(isNaN(v)?0:v)},0);if(r===0)return[];for(var n=Math.pow(10,t),a=Be(e,function(h){return(isNaN(h)?0:h)/r*n*100}),i=n*100,o=Be(a,function(h){return Math.floor(h)}),s=Li(o,function(h,v){return h+v},0),l=Be(a,function(h,v){return h-o[v]});su&&(u=l[f],c=f);++o[c],l[c]=0,++s}return Be(o,function(h){return h/n})}function uct(e,t){var r=Math.max(to(e),to(t)),n=e+t;return r>SU?n:jr(n,r)}var ES=9007199254740991;function XT(e){var t=Math.PI*2;return(e%t+t)%t}function U0(e){return e>-$7&&e<$7}var cct=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function Za(e){if(e instanceof Date)return e;if(Qe(e)){var t=cct.exec(e);if(!t)return new Date(NaN);if(t[8]){var r=+t[4]||0;return t[8].toUpperCase()!=="Z"&&(r-=+t[8].slice(0,3)),new Date(Date.UTC(+t[1],+(t[2]||1)-1,+t[3]||1,r,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0))}else return new Date(+t[1],+(t[2]||1)-1,+t[3]||1,+t[4]||0,+(t[5]||0),+t[6]||0,t[7]?+t[7].substring(0,3):0)}else if(e==null)return new Date(NaN);return new Date(Math.round(e))}function TU(e){return Math.pow(10,$4(e))}function $4(e){if(e===0)return 0;var t=Math.floor(Math.log(e)/Math.LN10);return e/Math.pow(10,t)>=10&&t++,t}function ZT(e,t){var r=$4(e),n=Math.pow(10,r),a=e/n,i;return t?a<1.5?i=1:a<2.5?i=2:a<4?i=3:a<7?i=5:i=10:a<1?i=1:a<2?i=2:a<3?i=3:a<5?i=5:i=10,e=i*n,r>=-20?+e.toFixed(r<0?-r:0):e}function M2(e,t){var r=(e.length-1)*t+1,n=Math.floor(r),a=+e[n-1],i=r-n;return i?a+i*(e[n]-a):a}function DS(e){e.sort(function(l,u){return s(l,u,0)?-1:1});for(var t=-1/0,r=1,n=0;n=0||i&&zt(i,l)<0)){var u=n.getShallow(l,t);u!=null&&(o[e[s][0]]=u)}}return o}}var Pct=[["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]],Rct=Cf(Pct),Oct=function(){function e(){}return e.prototype.getAreaStyle=function(t,r){return Rct(this,t,r)},e}(),LS=new Fg(50);function Nct(e){if(typeof e=="string"){var t=LS.get(e);return t&&t.image}else return e}function r9(e,t,r,n,a){if(e)if(typeof e=="string"){if(t&&t.__zrImageSrc===e||!r)return t;var i=LS.get(e),o={hostEl:r,cb:n,cbPayload:a};return i?(t=i.image,!R4(t)&&i.pending.push(o)):(t=vo.loadImage(e,N7,N7),t.__zrImageSrc=e,LS.put(e,t.__cachedImgObj={image:t,pending:[o]})),t}else return e;else return t}function N7(){var e=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var t=0;t=o;l++)s-=o;var u=Ka(r,t);return u>s&&(r="",u=0),s=e-u,a.ellipsis=r,a.ellipsisWidth=u,a.contentWidth=s,a.containerWidth=e,a}function zU(e,t){var r=t.containerWidth,n=t.font,a=t.contentWidth;if(!r)return"";var i=Ka(e,n);if(i<=r)return e;for(var o=0;;o++){if(i<=a||o>=t.maxIterations){e+=t.ellipsis;break}var s=o===0?zct(e,a,t.ascCharWidth,t.cnCharWidth):i>0?Math.floor(e.length*a/i):0;e=e.substr(0,s),i=Ka(e,n)}return e===""&&(e=t.placeholder),e}function zct(e,t,r,n){for(var a=0,i=0,o=e.length;ih&&u){var v=Math.floor(h/s);f=f.slice(0,v)}if(e&&i&&c!=null)for(var p=NU(c,a,t.ellipsis,{minChar:t.truncateMinChar,placeholder:t.placeholder}),g=0;gs&&L3(r,e.substring(s,u),t,o),L3(r,l[2],t,o,l[1]),s=I3.lastIndex}sa){C>0?(y.tokens=y.tokens.slice(0,C),g(y,w,_),r.lines=r.lines.slice(0,m+1)):r.lines=r.lines.slice(0,m);break e}var D=x.width,L=D==null||D==="auto";if(typeof D=="string"&&D.charAt(D.length-1)==="%")S.percentWidth=D,c.push(S),S.contentWidth=Ka(S.text,A);else{if(L){var I=x.backgroundColor,R=I&&I.image;R&&(R=Nct(R),R4(R)&&(S.width=Math.max(S.width,R.width*E/R.height)))}var z=v&&n!=null?n-w:null;z!=null&&z0&&v+n.accumWidth>n.width&&(c=t.split(`
+`),u=!0),n.accumWidth=v}else{var p=BU(t,l,n.width,n.breakAll,n.accumWidth);n.accumWidth=p.accumWidth+h,f=p.linesWidths,c=p.lines}}else c=t.split(`
+`);for(var g=0;g=32&&t<=591||t>=880&&t<=4351||t>=4608&&t<=5119||t>=7680&&t<=8303}var Gct=Li(",&?/;] ".split(""),function(e,t){return e[t]=!0,e},{});function Uct(e){return Wct(e)?!!Gct[e]:!0}function BU(e,t,r,n,a){for(var i=[],o=[],s="",l="",u=0,c=0,f=0;fr:a+c+h>r){c?(s||l)&&(v?(s||(s=l,l="",u=0,c=u),i.push(s),o.push(c-u),l+=d,u+=h,s="",c=u):(l&&(s+=l,l="",u=0),i.push(s),o.push(c),s=d,c=h)):v?(i.push(l),o.push(u),l=d,u=h):(i.push(d),o.push(h));continue}c+=h,v?(l+=d,u+=h):(l&&(s+=l,l="",u=0),s+=d)}return!i.length&&!s&&(s=e,l="",u=0),l&&(s+=l),s&&(i.push(s),o.push(c)),i.length===1&&(c+=a),{accumWidth:c,lines:i,linesWidths:o}}var $S="__zr_style_"+Math.round(Math.random()*10),nf={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},O4={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};nf[$S]=!0;var B7=["z","z2","invisible"],Yct=["invisible"],Kct=function(e){ye(t,e);function t(r){return e.call(this,r)||this}return t.prototype._init=function(r){for(var n=Ut(r),a=0;a1e-4){s[0]=e-r,s[1]=t-n,l[0]=e+r,l[1]=t+n;return}if(Vm[0]=O3(a)*r+e,Vm[1]=R3(a)*n+t,Fm[0]=O3(i)*r+e,Fm[1]=R3(i)*n+t,u(s,Vm,Fm),c(l,Vm,Fm),a=a%Zu,a<0&&(a=a+Zu),i=i%Zu,i<0&&(i=i+Zu),a>i&&!o?i+=Zu:aa&&(Hm[0]=O3(h)*r+e,Hm[1]=R3(h)*n+t,u(s,Hm,s),c(l,Hm,l))}var Sr={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},Ju=[],Qu=[],Eo=[],kl=[],Do=[],Io=[],N3=Math.min,z3=Math.max,ec=Math.cos,tc=Math.sin,ys=Math.abs,PS=Math.PI,Bl=PS*2,B3=typeof Float32Array!="undefined",zv=[];function V3(e){var t=Math.round(e/PS*1e8)/1e8;return t%2*PS}function VU(e,t){var r=V3(e[0]);r<0&&(r+=Bl);var n=r-e[0],a=e[1];a+=n,!t&&a-r>=Bl?a=r+Bl:t&&r-a>=Bl?a=r-Bl:!t&&r>a?a=r+(Bl-V3(r-a)):t&&r0&&(this._ux=ys(n/Ey/t)||0,this._uy=ys(n/Ey/r)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,r){return this._drawPendingPt(),this.addData(Sr.M,t,r),this._ctx&&this._ctx.moveTo(t,r),this._x0=t,this._y0=r,this._xi=t,this._yi=r,this},e.prototype.lineTo=function(t,r){var n=ys(t-this._xi),a=ys(r-this._yi),i=n>this._ux||a>this._uy;if(this.addData(Sr.L,t,r),this._ctx&&i&&this._ctx.lineTo(t,r),i)this._xi=t,this._yi=r,this._pendingPtDist=0;else{var o=n*n+a*a;o>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=r,this._pendingPtDist=o)}return this},e.prototype.bezierCurveTo=function(t,r,n,a,i,o){return this._drawPendingPt(),this.addData(Sr.C,t,r,n,a,i,o),this._ctx&&this._ctx.bezierCurveTo(t,r,n,a,i,o),this._xi=i,this._yi=o,this},e.prototype.quadraticCurveTo=function(t,r,n,a){return this._drawPendingPt(),this.addData(Sr.Q,t,r,n,a),this._ctx&&this._ctx.quadraticCurveTo(t,r,n,a),this._xi=n,this._yi=a,this},e.prototype.arc=function(t,r,n,a,i,o){this._drawPendingPt(),zv[0]=a,zv[1]=i,VU(zv,o),a=zv[0],i=zv[1];var s=i-a;return this.addData(Sr.A,t,r,n,n,a,s,0,o?0:1),this._ctx&&this._ctx.arc(t,r,n,a,i,o),this._xi=ec(i)*n+t,this._yi=tc(i)*n+r,this},e.prototype.arcTo=function(t,r,n,a,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,r,n,a,i),this},e.prototype.rect=function(t,r,n,a){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,r,n,a),this.addData(Sr.R,t,r,n,a),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(Sr.Z);var t=this._ctx,r=this._x0,n=this._y0;return t&&t.closePath(),this._xi=r,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var r=t.length;!(this.data&&this.data.length===r)&&B3&&(this.data=new Float32Array(r));for(var n=0;nc.length&&(this._expandData(),c=this.data);for(var f=0;f0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],r=0;r11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){Eo[0]=Eo[1]=Do[0]=Do[1]=Number.MAX_VALUE,kl[0]=kl[1]=Io[0]=Io[1]=-Number.MAX_VALUE;var t=this.data,r=0,n=0,a=0,i=0,o;for(o=0;on||ys(_)>a||d===r-1)&&(p=Math.sqrt(y*y+_*_),i=g,o=m);break}case Sr.C:{var w=t[d++],C=t[d++],g=t[d++],m=t[d++],S=t[d++],x=t[d++];p=sut(i,o,w,C,g,m,S,x,10),i=S,o=x;break}case Sr.Q:{var w=t[d++],C=t[d++],g=t[d++],m=t[d++];p=uut(i,o,w,C,g,m,10),i=g,o=m;break}case Sr.A:var T=t[d++],M=t[d++],A=t[d++],E=t[d++],D=t[d++],L=t[d++],I=L+D;d+=1,t[d++],v&&(s=ec(D)*A+T,l=tc(D)*E+M),p=z3(A,E)*N3(Bl,Math.abs(L)),i=ec(I)*A+T,o=tc(I)*E+M;break;case Sr.R:{s=i=t[d++],l=o=t[d++];var R=t[d++],z=t[d++];p=R*2+z*2;break}case Sr.Z:{var y=s-i,_=l-o;p=Math.sqrt(y*y+_*_),i=s,o=l;break}}p>=0&&(u[f++]=p,c+=p)}return this._pathLen=c,c},e.prototype.rebuildPath=function(t,r){var n=this.data,a=this._ux,i=this._uy,o=this._len,s,l,u,c,f,d,h=r<1,v,p,g=0,m=0,y,_=0,w,C;if(h&&(this._pathSegLen||this._calculateLength(),v=this._pathSegLen,p=this._pathLen,y=r*p,!y))return;e:for(var S=0;S0&&(t.lineTo(w,C),_=0),x){case Sr.M:s=u=n[S++],l=c=n[S++],t.moveTo(u,c);break;case Sr.L:{f=n[S++],d=n[S++];var M=ys(f-u),A=ys(d-c);if(M>a||A>i){if(h){var E=v[m++];if(g+E>y){var D=(y-g)/E;t.lineTo(u*(1-D)+f*D,c*(1-D)+d*D);break e}g+=E}t.lineTo(f,d),u=f,c=d,_=0}else{var L=M*M+A*A;L>_&&(w=f,C=d,_=L)}break}case Sr.C:{var I=n[S++],R=n[S++],z=n[S++],F=n[S++],B=n[S++],N=n[S++];if(h){var E=v[m++];if(g+E>y){var D=(y-g)/E;Su(u,I,z,B,D,Ju),Su(c,R,F,N,D,Qu),t.bezierCurveTo(Ju[1],Qu[1],Ju[2],Qu[2],Ju[3],Qu[3]);break e}g+=E}t.bezierCurveTo(I,R,z,F,B,N),u=B,c=N;break}case Sr.Q:{var I=n[S++],R=n[S++],z=n[S++],F=n[S++];if(h){var E=v[m++];if(g+E>y){var D=(y-g)/E;V0(u,I,z,D,Ju),V0(c,R,F,D,Qu),t.quadraticCurveTo(Ju[1],Qu[1],Ju[2],Qu[2]);break e}g+=E}t.quadraticCurveTo(I,R,z,F),u=z,c=F;break}case Sr.A:var U=n[S++],j=n[S++],Y=n[S++],X=n[S++],ne=n[S++],J=n[S++],se=n[S++],Q=!n[S++],K=Y>X?Y:X,re=ys(Y-X)>.001,ae=ne+J,he=!1;if(h){var E=v[m++];g+E>y&&(ae=ne+J*(y-g)/E,he=!0),g+=E}if(re&&t.ellipse?t.ellipse(U,j,Y,X,se,ne,ae,Q):t.arc(U,j,K,ne,ae,Q),he)break e;T&&(s=ec(ne)*Y+U,l=tc(ne)*X+j),u=ec(ae)*Y+U,c=tc(ae)*X+j;break;case Sr.R:s=u=n[S],l=c=n[S+1],f=n[S++],d=n[S++];var be=n[S++],Z=n[S++];if(h){var E=v[m++];if(g+E>y){var ee=y-g;t.moveTo(f,d),t.lineTo(f+N3(ee,be),d),ee-=be,ee>0&&t.lineTo(f+be,d+N3(ee,Z)),ee-=Z,ee>0&&t.lineTo(f+z3(be-ee,0),d+Z),ee-=be,ee>0&&t.lineTo(f,d+z3(Z-ee,0));break e}g+=E}t.rect(f,d,be,Z);break;case Sr.Z:if(h){var E=v[m++];if(g+E>y){var D=(y-g)/E;t.lineTo(u*(1-D)+s*D,c*(1-D)+l*D);break e}g+=E}t.closePath(),u=s,c=l}}},e.prototype.clone=function(){var t=new e,r=this.data;return t.data=r.slice?r.slice():Array.prototype.slice.call(r),t._len=this._len,t},e.CMD=Sr,e.initDefaultProps=function(){var t=e.prototype;t._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0}(),e}(),ss=Jct;function Ul(e,t,r,n,a,i,o){if(a===0)return!1;var s=a,l=0,u=e;if(o>t+s&&o>n+s||oe+s&&i>r+s||i