12345 |
- /*!Sea.js 2.2.3|https://github.com/seajs/seajs/blob/master/LICENSE.md*/
- ((t,e)=>{if(t.seajs)return;let i=t.seajs={},r=i.data={},s=t=>e=>({}.toString.call(e)==`[object ${t}]`),o=s("String"),l=Array.isArray,a=s("Function"),d=0,h=()=>d++,n=/[^?#]*\//,c=/\/\.\//g,p=/\/[^/]+\/\.\.\//,g=/([^:/])\/\//g,f=t=>t.match(n)[0],b=t=>{for(t=t.replace(c,"/");t.match(p);)t=t.replace(p,"/");return t=t.replace(g,"$1/")},u=/^([^/:]+)(\/.+)$/,x=/^\/\/.|:\//,y=/^.*?\/\/.*?\//,m=(t,e)=>{if(!t)return"";let i=((t,e)=>{let i,s=t.charAt(0);if(x.test(t))i=t;else if("."===s)i=b((e?f(e):r.cwd)+t);else if("/"===s){let e=r.cwd.match(y);i=e?e[0]+t.substring(1):t}else i=r.base+t;return 0===i.indexOf("//")&&(i=location.protocol+i),i})(t=(t=>{let e=t.length-1,i=t.charAt(e);return"#"===i?t.substring(0,e):".js"===t.substring(e-2)||t.indexOf("?")>0||".css"===t.substring(e-3)||"/"===i?t:t+".js"})(t=(t=>{let e,i=r.paths;return i&&(e=t.match(u))&&o(i[e[1]])&&(t=i[e[1]]+e[2]),t})(t=(t=>{let e=r.alias;return e&&o(e[t])?e[t]:t})(t))),e);return i},w=document,_=f(w.URL),k=w.scripts,v=k[k.length-1],j=f(((L=v).hasAttribute?L.src:L.getAttribute("src",4))||_);var L;let R,S,M,F=w.head,X=F.getElementsByTagName("base")[0],C=/\.css(?:\?|$)/i,A=+navigator.userAgent.replace(/.*(?:AppleWebKit|AndroidWebKit)\/(\d+).*/,"$1")<536,z=(t,e,i)=>{let s="onload"in t;if(i&&(A||!s))return void setTimeout((()=>{B(t,e)}),1);let o=()=>{t.onload=t.onerror=t.onreadystatechange=null,i||r.debug||F.removeChild(t),t=null,e()};s?(t.onload=o,t.onerror=o):t.onreadystatechange=()=>{/loaded|complete/.test(t.readyState)&&o()}},B=(t,e)=>{let i,r=t.sheet;if(A)r&&(i=!0);else if(r)try{r.cssRules&&(i=!0)}catch(t){"NS_ERROR_DOM_SECURITY_ERR"===t.name&&(i=!0)}setTimeout((()=>{i?e():B(t,e)}),20)},T=()=>{if(R)return R;if(S&&"interactive"===S.readyState)return S;let t=F.getElementsByTagName("script");for(let e=t.length;e--;){let i=t[e];if("interactive"===i.readyState)return S=i,S}},O=i.cache={},V={},N={},P={},Y=1,K=2,I=3,W=4,J=5,q=6;function $(t,e){this.uri=t,this._fU=e||[],this.exports=null,this.status=0,this._fV={},this._fW=0}$.prototype.resolve=function(){let t=this,e=t._fU,i=[];for(let r=0,s=e.length;r<s;r++)i[r]=m(e[r],t.uri);return i},$.prototype.load=function(){let t=this;if(t.status>=I)return;t.status=I;let e,i=t.resolve(),r=t._fW=i.length;for(let s=0;s<r;s++)e=$.get(i[s]),e.status<W?e._fV[t.uri]=(e._fV[t.uri]||0)+1:t._fW--;if(0===t._fW)return void t.onload();let s={};for(let t=0;t<r;t++)e=O[i[t]],e.status<Y?e.fetch(s):e.status===K&&e.load();for(let t in s)s.hasOwnProperty(t)&&s[t]()},$.prototype.onload=function(){let t=this;t.status=W,t._fX&&t._fX();let e,i,r=t._fV;for(e in r)r.hasOwnProperty(e)&&(i=O[e],i._fW-=r[e],0===i._fW&&i.onload());delete t._fV,delete t._fW},$.prototype.fetch=function(t){let e=this,i=e.uri;if(e.status=Y,!i||N[i])return void e.load();if(V[i])return void P[i].push(e);V[i]=!0,P[i]=[e];let s=()=>{delete V[i],N[i]=!0,M&&($.save(i,M),M=null);let t,e=P[i];for(delete P[i];t=e.shift();)t.load()},o=()=>{((t,e,i,r)=>{let s=C.test(t),o=w.createElement(s?"link":"script");i&&(o.charset=i),null!=r&&o.setAttribute("crossorigin",r),z(o,e,s,t),s?(o.rel="stylesheet",o.href=t):(o.async=!0,o.src=t),R=o,X?F.insertBefore(o,X):F.appendChild(o),R=null})(i,s,r.charset,r.crossorigin)};t?t[i]=o:o()},$.prototype.exec=function(){let t=this;if(t.status>=J)return t.exports;t.status=J;let i=t.uri,r=t=>$.get(r.resolve(t)).exec();r.resolve=t=>m(t,i),r.async=(t,e)=>($.use(t,e,i+"__fY_"+h()),r);let s=t.factory,o=a(s)?s(r,t.exports={},t):s;return o===e&&(o=t.exports),delete t.factory,t.exports=o,t.status=q,o},$.define=function(t,i,r){let s=arguments.length;1===s?(r=t,t=e):2===s&&(r=i,l(t)?(i=t,t=e):i=e),!l(i)&&a(r)&&(i=[]);let o={id:t,uri:m(t),deps:i,factory:r};if(!o.uri&&w.attachEvent){let t=T();t&&(o.uri=t.src)}o.uri?$.save(o.uri,o):M=o},$.save=(t,e)=>{let i=$.get(t);i.status<K&&(i.id=e.id||t,i._fU=e.deps||[],i.factory=e.factory,i.status=K)},$.get=(t,e)=>O[t]||(O[t]=new $(t,e)),$.use=(e,i,r)=>{let s=$.get(r,l(e)?e:[e]);s._fX=()=>{let e=[],r=s.resolve();for(let t=0,i=r.length;t<i;t++)e[t]=O[r[t]].exec();i&&i.apply(t,e),delete s._fX},s.load()},i.use=(t,e)=>{$.use(t,e,r.cwd+"__dP_"+h())},t.define=$.define,i.require=t=>{let e=$.get(m(t));return e.status<J&&(e.onload(),e.exec()),e.exports},r.base=j,r.cwd=_,r.charset="utf-8",i.realpath=b,i.config=t=>{for(let e in t){let i=t[e];r[e]=i}return i}})(window),define("1h",(()=>{let t,e=0,i="",r=[],s=null,o=window,l=Promise,a=document,d=o.setTimeout,h=encodeURIComponent,n="_";function c(){}let p,g=JSON.stringify,f=a.head,b=o.performance,u=b.now.bind(b),x="\x1e",y="mx5-",m="mx5-view",w="mx5-owner",_=t=>(t||n)+e++,k=t=>a.getElementById(t),v=(t,e)=>t.innerHTML=e,j=t=>t[0]==x,L={},R={rootId:_(),retard:c,request:c,error(t){throw t}},S=t=>!t||"object"!=typeof t,M=(t,e,i,r)=>{if(t&&e&&!(r=!i&&t==e))try{r=16==(16&e.compareDocumentPosition(t))}catch(t){}return r},F=(t,e,i,r)=>{e?(r=t["\x1ebJ"])&&(r[e]=0):t["\x1ebJ"]=0},{assign:X,keys:C,hasOwnProperty:A,prototype:z}=Object,B=z.toString,T=t=>B.call(t).slice(8,-1),O=t=>"Object"==T(t),V=Array.isArray,N=f.getAttribute,P=(t,e)=>N.call(t,e),Y=(t,e,i)=>{e&&!Y[t]&&(Y[t]=1,i=a.createElement("style"),v(i,e),f.appendChild(i))},K=(t,e,i,r)=>{try{r=V(e)?t.apply(i,e):t.call(i,e)}catch(t){R.error(t)}return r},I=(t,e)=>t&&A.call(t,e),W=(t,e)=>{let r,s;if(S(e))r=e+i,j(r)&&(e=t.get(r));else for(r in e)s=e[r],s=W(t,s),e[r]=s;return e},J=(t,e)=>e.bJ-t.bJ;function q(t,e,i){(i=this).bJ=[],i.bK=e||20,i.bL=i.bK+(t||50)}X(q.prototype,{get(t){let e=this.bJ[x+t];return e&&(e.bJ++,e=e.bK),e},set(t,e){let i=this,r=i.bJ,s=x+t,o=r[s],l=i.bK;if(!o){if(r.length>i.bL)for(r.sort(J);l--;)o=r.pop(),o.bJ&&i.del(o.bL);o={bL:t},r.push(o),r[s]=o}o.bK=e,o.bJ=1},del(t){t=x+t;let e=this.bJ,r=e[t];r&&(r.bJ=0,r.bK=i,delete e[t])},has(t){return I(this.bJ,x+t)}});let $,H,U,E,D,Z,Q={bubbles:!0,cancelable:!0},G=[],tt=(t,...e)=>t.addEventListener(...e),et=(t,...e)=>t.removeEventListener(...e),it=(t,e,i,r,s,o)=>{let l={bJ:s,bK:i,bL:e,bM:t,bN(t){s?K(i,t,o):i(t)}};G.push(l),tt(t,e,l.bN,r)},rt=(t,e,i,r,s)=>{for(let o,l=G.length;l--;)if(o=G[l],o.bL==e&&o.bJ==s&&o.bM==t&&o.bK==i){G.splice(l,1),et(t,e,o.bN,r);break}},st=new q,ot=(t,e=1,i)=>(e&&st.has(t)?i=st.get(t):(i=K(Function(`return ${t}`)),e&&st.set(t,i)),i),lt=decodeURIComponent,at=new q,dt=t=>{let e,r,s,o,l,a,d=at.get(t);if(!d){if(o={},l=t.indexOf("?"),-1==l?(e=t,a=i):(e=t.substring(0,l),a=t.substring(l+1)),a)for(l of a.split("&"))l&&([r,s=i]=l.split("="),o[lt(r)]=j(s)?s:lt(s));at.set(t,d={a:e,b:o})}return{path:d.a,params:X({},d.b)}},ht=new q,nt=(t,e,i)=>(ht.has(t)?i=ht.get(t):(i=ot(t,0),t.includes(x)?W(e,i):ht.set(t,i)),i),ct=navigator.scheduling,pt=()=>{let t,e,i,r=u()+9,o=R.retard;for(;;){if(!H){D=$=s,0!=Z&&o(Z=0);break}if(E==H&&(E=s),U=H,i=H.bJ,t=H.bK,e=H.bL,e&&K(e,t,i),H=H.bM,U=s,H&&(u()>r||ct&&ct.isInputPending())){1!=Z&&o(Z=1),d(pt);break}}},gt=(t,e,i,r,s)=>{s={bL:t,bJ:i,bK:e},r?(D?D.bM=s:H=s,D=s):((r=E||U)?(s.bM=r.bM,r.bM=s,D==r&&(D=s)):H?(s.bM=H,H=s):H=D=s,E=s),$||($=1,d(pt))},ft=(t,e,i)=>{gt(t,e,i,1)},bt=0,ut=(...t)=>new l((async e=>{let i=[];try{let r=R.request;bt||r(1),bt++,seajs.use(t,((...t)=>{for(let e of t)i.push(e);bt--,bt||r(0),e(i)}))}catch(t){R.error(t)}})),xt=(t,e,i,r)=>(c.prototype=e.prototype,r=new c,X(r,i),r.constructor=t,t.prototype=r,t),yt=t=>t;let mt,wt,_t={fire(t,e){let i,r,o=this,l=o[x+t],a=0;if(e||(e={}),e.type=t,l)for(i=l.length;a<i;a++)r=l[a],r.bJ&&(r.bK=1,K(r.bJ,e,o),r.bJ||(l.splice(a--,1),i--),r.bK=s);return e},on(t,e,i=0){let r,s,o,l=x+t,a=this[l]||(this[l]=[]),d={bJ:e,bL:i};for(o=0,s=a.length;o<s;o++)if(a[o].bL<i){a.splice(o,0,d),r=1;break}r||a.push(d)},off(t,e){let i,r=x+t,o=this,l=o[r];if(e){if(l&&(i=l.length))for(;i--;)if(r=l[i],r.bJ==e){r.bK?r.bJ=s:l.splice(i,1);break}}else o[r]=s}},kt={},vt=(t,e,i,r)=>{e.includes(x)&&(r=kt[t])&&(W(r._fo,i),i["\x1e"]&&(X(i,i["\x1e"]),delete i["\x1e"]))},jt=(t,e,i)=>{let r,o;var l,a,d;e=e?t._fp[i?e:e.bK]:t.id,r=kt[e],r&&(o=r.pId,St(r),(a=kt[l=e])&&(delete kt[l],(d=a.root).bJ=0,d.bK=0,a.id=a.root=a.pId=a._fp=s),r=kt[o],r&&I(r._fp,e)&&(delete r._fp[e],r._fq=0))},Lt=(t,e,i,r,s,o,l)=>{for(e=t._fr,s=t._fs;e.length;)[i,l,r]=e.shift(),i&>(r,(o=s[i])&&K(o,l,s))},Rt=(t,e,i)=>{let r,s,o;for(r in t._fp)e?(s=kt[r],o=s&&M(s.root,e,i)):o=1,o&&jt(t,r,o)},St=t=>{let{_fs:e,root:i,pId:r}=t;e&&(t._fs=0,e._ft&&(e._ft=0,F(e),e._fu&&Rt(t,0,0),e.fire("destroy"),_e(e,1),i&&t._fv&&e._fu&&v(i,t._fw))),t._fx++},Mt=async(t,e,i)=>{let r,s,o,l,a,{id:d,root:h,pId:n}=t;!t._fv&&h&&(t._fv=1,t._fw=h.innerHTML),St(t),h&&e&&(r=dt(e),o=r.path,t.path=e,l=r.params,vt(n,e,l),t._fy=o,X(l,i),s=t._fx,[a]=await ut(o),s==t._fx&&a&&(Se(a),o=new a(d,h,t,l),t._fs=o,_e(o),K(o.init,l,o),K(o._fD,[l,t._fw],o),o._fE(),o._fu||o._fF||we(o)))},Ft=t=>t.bK||(t.bK=_(wt));function Xt(t,e){let i=this,r=Ft(t);var s,o;i.id=r,i.root=t,i._fx=1,i._fp={},i.pId=e,i._fr=[],i._fo=new Map,o=i,I(kt,s=r)||(kt[s]=o)}X(Xt,{root:()=>mt,all:()=>kt,byId:t=>kt[t],byNode:t=>kt[t.bK]}),X(Xt.prototype,{mount(t,e,i){let r,s=this,o=s.id,l=s._fp,a=Ft(t);return r=kt[a],r||(I(l,a)||(s._fq=0),l[a]=a,r=new Xt(t,o)),Mt(r,e,i),r},unmount(...t){jt(this,...t)},children(){return this._fq||(this._fq=C(this._fp))},parent(t,e){for(e=this,t=t>>>0||1;e&&t--;)e=kt[e.pId];return e},invoke(t,...e){let i,r,s=this,o=s._fr;return new l((l=>{(i=s._fs)&&i._fF?l((r=i[t])&&K(r,e,i)):o.push([t,e,l])}))}});let Ct=new q,At=/^([\w\-]+)\x1e(\d+)?(\x1e)?([^(]+)\(([\s\S]*?)\)$/,zt={},Bt={},Tt={},Ot={},Vt={capture:!0,passive:!1},Nt={capture:!0,passive:!0},Pt={capture:!1,passive:!1},Yt={capture:!1,passive:!0},Kt=(t,e)=>{let o,l,a,d,h,n,c,g,f,b=[],u=t,x=P(t,y+e);if(x&&(h=Ct.get(x),h||(h=x.match(At)||r,h={v:h[1],b:0|h[2],t:h[3],n:h[4],i:h[5]},Ct.set(x,h)),h=X({},h)),h&&!h.v||Bt[e]){if(g=u.bL,g==s){for(c=[u];u!=p&&(u=u.parentNode);){if(kt[l=u.bK]||(l=u.bL)){g=l;break}c.push(u)}for(x of c)x.bL=g||i}if(u=t.bK,kt[u]&&(f=g=u),g)do{if(o=kt[g],o&&(n=o._fs)){if(a=n._fG,d=a[e],d)for(u=d.length;u--;)l=d[u],a={r:l,v:g,n:l},l?!f&&t.matches(l)&&b.push(a):f&&b.push(a);if(n._fu&&!f)break}f=0}while(o&&(g=o.pId))}return h&&b.push(h),b},It=t=>{let e,i,r,s,o,l,a,d,{target:h,type:n}=t,c=[];for(;h&&h!=p&&!t.cancelBubble&&(!(i=h.bM)||!i[n]);){if(d=1,h.nodeType==d){if(e=Kt(h,n),e.length)for(l of(c.length=0,e)){let{v:e,n:i,i:c,t:p,b:g}=l;0,r=kt[e],s=r&&r._fs,s&&s._fF&&s._ft&&(o=i+x+n,l=s[o],l&&(t.eventTarget=h,a=c?nt(c,r._fo):L,t.params=a,K(l,t,s)),h==s.root||s._fG[n]||(p?d=g||d:(h=s.root,d=0)))}else c.push(h);d&&(r=h.bK,r&&(r=kt[r],s=r&&r._fs,s&&s._fH[n]&&(c.length=0)))}for(;d--;)h=h.parentNode}for(h of c)i=h.bM||(h.bM={}),i[n]=1},Wt=(t,e,i,r)=>{let s=0|zt[t],o=Ot[t]||(Ot[t]={}),l=i?-1:1,a=i?rt:it;4&r&&(o[4]=(0|o[4])+l),8&r&&(o[8]=(0|o[8])+l),1&r&&(o[1]=(0|o[1])+l),2&r&&(o[2]=(0|o[2])+l);let d,h=Tt[t];d=o[2]?o[4]?Vt:Pt:o[4]?Nt:Yt,s&&i!==s?d!=h&&(rt(p,t,It,h),it(p,t,It,d)):a(p,t,It,i?h:d),Tt[t]=d,zt[t]=s+l,e&&(Bt[t]=(0|Bt[t])+l)};let Jt={"&":38,"<":60,">":62,'"':34,"'":39,"`":96},qt=/[&<>"'\`]/g,$t=t=>`&#${Jt[t]};`,Ht=t=>(t+i).replace(qt,$t),Ut={"!":1,"'":7,"(":8,")":9,"*":"A"},Et=t=>"%2"+Ut[t],Dt=/[!')(*]/g,Zt=t=>h(t).replace(Dt,Et),Qt=/[\\'"]/g,Gt=t=>(t+i).replace(Qt,"\\$&"),te=(t,e,i)=>(t.has(e)?i=t.get(e):(i=x+(i||t.bJ++),t.has(i)||(t.set(e,i),t.set(i,e))),i),ee=(t,e,i)=>{if(t._ft&&(i=t._fu)){let s,o,{_fI:l,id:a,_fB:d}=t,h=kt[a],n={bJ:[],bK:[],bL:0},c=h._fo;t._fJ=0,t._fI={},e&&t.fire("dompatch"),c.bJ=0,c.clear(),o=i(d,re,a,Zt,c,te,Gt,V),s=()=>{if(t._fK=o,t._ft)for(o of((i=n.bM||!t._fF)&&we(t),n.bJ))gt(o._fE,r,o);if(t._fL>1)t._fL=1,n.bK.length=0,ee(t);else{for([o,a,c]of(t._fL=0,n.bK))o[a]!=c&&(o[a]=c);for(o of(t.fire("domready"),l=t._fM,l))o();l.length=0}},gt(fe,[t.root,t._fK,o,n,h,l,t,s])}},ie="textarea",re=(t,e,r,o)=>{let l;if(t){e=e||L;let a,d,h,c,p,g,f=i,b=1==r,u=o,y=o,w=0,_=`<${t}`,k=i,v=0;if(r&&1!=r)for(h of r){if(h.bK)d=h.bK+(h.bL?"/>":`>${h.bM}</${h.bN}>`);else if(d=h.bM,h.bN==se){if(!d)continue;d=Ht(d)}k+=d,g&&h.bN==se&&g.bN==se?g.bM+=h.bM:(h.bO&&(c||(c={}),c[h.bO]=(c[h.bO]||0)+1,w++),u=u||h.bP,g=h,p||(p=[]),p.push(h))}for(a in o=o||L,e)d=e[a],!1!==d&&d!=s?(!0===d&&(e[a]=d=o[a]?d:i),"#"!=a&&"id"!=a&&a!=n||f||(f=d,"id"==a)?(a==m&&d&&(v=dt(d).path,f||(f=t+x+v)),"value"==a&&t==ie?k=d:"$"==a?(u=d,delete e[a]):_+=` ${a}="${d&&Ht(d)}"`):delete e[a]):o[a]||delete e[a];l={bM:k,bO:f,bN:t,bQ:v,bP:u,bR:o,bS:y,bK:_,bT:e,bU:p,bV:c,bW:w,bL:b}}else l={bN:r?x:se,bM:e+i};return l};let se=e;let oe="http://www.w3.org/",le={svg:`${oe}2000/svg`,math:`${oe}1998/Math/MathML`},ae=(t,e,r,s)=>{let o,l,a,d,h,n=0,c=e.bR,p=e.bT;if(r)for(o in a=r.bR,d=r.bT,d)I(p,o)||(n=1,(h=a[o])?s?s.bK.push([t,h,i]):t[h]=i:t.removeAttribute(o));for(o in p)l=p[o],(h=c[o])?r&&t[h]==l||(n=1,s?s.bK.push([t,h,l]):t[h]=l):r&&d[o]==l||(n=1,t.setAttribute(o,l));return n},de=(t,e)=>{let i,r=t.bN;return r==se?i=a.createTextNode(t.bM):(i=a.createElementNS(le[r]||e.namespaceURI,r),ae(i,t),v(i,t.bM)),i},he=(t,e,i,r,s)=>{let o,l,a,d={};for(o=r;o>=i;o--,s--)l=t[o],a=l.bO,a&&(l=d[a]||(d[a]=[]),l.push(e[s]));return d},ne=(t,e)=>t.bO&&e.bO==t.bO||!t.bO&&!e.bO&&t.bN==e.bN||t.bN==x||e.bN==x,ce=(t,e,i,r)=>{i&&((r=kt[t.bK])?jt(r):Rt(e,t))},pe=(t,e,i,r,s,o)=>{s._ft&&(ce(t,i,1==t.nodeType),e.removeChild(t),--r.bL||gt(o))},ge=(t,e,i,r,s,o,l,a)=>{s._ft&&(e.bN==x?(Rt(l,t),v(t,e.bM)):t.insertBefore(de(e,t),i[r]),--o.bL||gt(a))},fe=(t,e,o,l,a,d,h,n)=>{if(h._ft)if(e){if(e.bP||e.bM!=o.bM){let c,p,g,f,b,u=e.bU||r,y=o.bU||r,m=o.bV||L,w=o.bW,_=e.bW,k=t.childNodes,j=0,R=y.length,S=u.length-1,M=0,F=R-1;0;let X,C=u[j],A=u[S],z=y[M],B=y[F],T=j,O=S;for(;j<=S&&M<=F;)if(C)if(A)if(ne(z,C))z.bN==x||C.bN==x?(l.bM=1,Rt(a,t),z.bN==x?(O=0,v(t,z.bM)):(v(t,i),t.appendChild(de(z,t)))):(l.bL++,gt(be,[k[T],t,C,z,l,a,d,h,n])),m[C.bO]&&(m[C.bO]--,w--,f=b&&b[C.bO],f&&--b[C.bO]),T++,C=u[++j],z=y[++M];else if(ne(B,A))l.bL++,gt(be,[k[O],t,A,B,l,a,d,h,n]),m[A.bO]&&(m[A.bO]--,w--),O--,A=u[--S],B=y[--F];else if(ne(B,C))p=k[T],t.insertBefore(p,k[O+1]),l.bL++,gt(be,[p,t,C,B,l,a,d,h,n]),m[C.bO]&&(m[C.bO]--,w--),O--,C=u[++j],B=y[--F];else if(ne(z,A))p=k[O],t.insertBefore(p,k[T++]),l.bL++,gt(be,[p,t,A,z,l,a,d,h,n]),m[A.bO]&&(m[A.bO]--,w--),A=u[--S],z=y[++M];else{if(!b&&w>0&&_>0&&(b=he(u,k,j,S,O)),X=k[T],f=b&&b[z.bO],f&&(f=f.pop())){if(g=C,f!=X){for(p=j+1,c=T+1;p<=S;p++)if(g=u[p],g&&k[c++]==f){u[p]=s;break}j--,t.insertBefore(f,X)}m[g.bO]&&m[g.bO]--,l.bL++,gt(be,[f,t,g,z,l,a,d,h,n])}else b&&b[C.bO]&&m[C.bO]||kt[X.bK]&&!z.bQ?(l.bM=1,t.insertBefore(de(z,t),X),j--,O++):(l.bL++,gt(be,[X,t,C,z,l,a,d,h,n]));++T,C=u[++j],z=y[++M]}else A=u[--S];else C=u[++j];for(c=M,p=1;c<=F;c++,p++)g=y[c],l.bM=1,l.bL++,gt(ge,[t,g,k,O+p,h,l,a,n]);for(!R&&C&&C.bN==x&&(O=k.length-1),c=O;c>=T;c--)l.bM=1,l.bL++,gt(pe,[k[c],t,a,l,h,n])}}else l.bM=1,v(t,o.bM);l.bL||gt(n)},be=(t,e,i,r,s,o,l,a,d)=>{if(a._ft){0;let h=i.bT,n=r.bT;if(i.bP||i.bK!=r.bK||i.bM!=r.bM)if(i.bN==r.bN){if(i.bN==se)s.bM=1,t.nodeValue=r.bM;else if(!h._||h._!=n._){let e,h,c,p,g,f,b,u=n[m],x=r.bM,y=i.bK!=r.bK||r.bS,_=kt[t.bK],k=u&&dt(u);if(y&&(y=ae(t,r,i,s),y&&(s.bM=1)),u&&_&&_._fy==k.path&&(p=_._fs)){if(f=x!=i.bM,b=u!=_.path,c=r.bP,!f&&!b&&c)for(c of(g=c.split(","),g))if("#"==c||I(l,c)){b=1;break}(b||f)&&(c=p._fD,g=k.params,vt(n[w],u,g),_.path=u,_._fw=x,!1!==K(c,[g,x],p)&&s.bJ.push(p),e=!p._fu)}else e=1,h=_;h&&(s.bM=1,jt(_)),e&&!r.bL&&fe(t,i,r,s,o,l,a,d)}}else s.bM=1,ce(t,o,1),e.replaceChild(de(r,e),t)}--s.bL||gt(d)},ue={},xe=X({get:t=>t?ue[t]:ue,set(t){X(ue,t)}},_t),ye=/^(\$?)([^<]*)<([^>]+)>(?:\s*&(.+))?$/,me=(t,e,i)=>(t.bJ?i=t:((i=function(t,e){for(e of i.bJ)K(e,t,this)}).bJ=[t],i.bK=1),i.bJ=i.bJ.concat(e.bJ||e),i),we=t=>{let e,i;t._ft&&(i=t._fF,t._fF=1,e=t.owner,((t,e,i)=>{for(i of(e=e||t.root).querySelectorAll(`[mx5-view][mx5-owner="${t.id}"]`))i.bJ||(i.bJ=1,t.mount(i,P(i,m)))})(e),i||gt(Lt,e))},_e=(t,e)=>{let i,{_fH:r,_fG:s,_fN:o,id:l}=t;for(i in r)Wt(i,s[i],e,r[i]);for(i of(r=e?rt:it,o))r(i.bJ,i.bK,i.bL,i.bM,l,t)},ke={win:o,doc:a,root:i};function ve(...t){return X(this,...t),this}function je(...t){let e=this,i=e.bJ||(e.bJ=[]);return((t,e,i)=>{let r,s,o,l,a={};for(s of t)for(r in s)o=s[r],l=a[r],"ctor"!=r?(ye.test(r)&&(l?o=me(l,o):o.bK=1),a[r]=o):i.push(o);for(r in a)I(e,r)||(e[r]=a[r])})(t,e.prototype,i),e}let Le=t=>function(...e){return this._ft&&K(t,e,this)},Re=(t,e,i,r)=>{if(t)for(r of t)K(r,e,i)};let Se=t=>{if(!t["\x1e"]){t["\x1e"]=1;let e,r,o,l,a,d,h,n,c,p,g,f=t.prototype,b={},u=[],y={};for(h in f)if(e=f[h],r=h.match(ye),r)for(n of([,d,o,l,g]=r,p=g?ot(g):Yt,l=l.split(","),l)){if(a=ke[o],c=0,p.passive||p.passive==s?c|=1:c|=2,p.capture?c|=4:c|=8,d){if(a){u.push({bL:e,bJ:a,bK:n,bM:p});continue}a===i&&(o=i),a=y[n],a||(a=y[n]=[]),a[o]||(a[o]=1,a.push(o))}b[n]|=c,n=o+x+n,a=f[n],a?a.bK&&(e.bK?f[n]=me(e,a):I(f,h)&&(f[n]=e)):f[n]=e}f._fE!=f.render&&(f._fE=f.render=Le(f.render)),f._fH=b,f._fN=u,f._fG=y,f._fD=f.assign,f._fu=f.tmpl}};function Me(t,e,i,r,s){(s=this).root=e,s.owner=i,s.id=t,s._ft=1,s._fJ=1,s._fB={},s._fI={},s._fL=0,s._fM=[],Re(Me.bJ,r,s)}function Fe(){this.id=_("b"),this.bJ={}}X(Me,{merge:je,extend:function t(e){let i=this,r=(e=e||{}).ctor;function s(t,e,o,l,a){i.call(a=this,t,e,o,l),r&&K(r,l,a),Re(s.bJ,l,a)}return s.merge=je,s.extend=t,s.static=ve,xt(s,i,e)}}),X(Me.prototype,_t,{init:c,render:c,assign:c,get(t,e){return e=this._fB,t&&(e=e[t]),e},set(t){let e,i,r,s,o=this,l=o._fB,a=o._fI,d=o._fJ;for(r in t)e=t[r],i=l[r],s=!S(e)||i!=e,s&&(a[r]=1,d=1),l[r]=e;return o._fJ=d,o},digest(t){return t=this.set(t),new l((e=>{t._fJ?(t._fL++,t._fM.push(e),1==t._fL&&ee(t,1)):t._fL?t._fM.push(e):e()}))},finale(){let t=this;return new l((e=>{t._fL?t._fM.push(e):e()}))},parse(t){return nt(t,this.owner._fo)}}),X(Fe.prototype,{get(e,r){let s,o=this,l=o.bJ;if(e){let r,s=V(e)?e.slice():(e+i).split(".");for(;(r=s.shift())&&l;)l=l[r];r&&(l=t)}return r!==t&&(s=T(r))!=T(l)&&(l=r),l},set(t){X(this.bJ,t)}});let Xe=(t,e,i)=>r=>{if(i=t[e]){delete t[e];for(let t of i)K(t,r,i.bJ)}},Ce=(t,e,i,r,o)=>{if(t.bJ)return t;if(t.bK)return t.enqueue(Ce.bind(t,t,e,i,r,o));t.bK=1,V(e)||(e=[e]);let l=t.constructor,a=0,d=l.bL,h=((t,e,i,r,o,l)=>{let a=[],d=s,h=0;return(n,c,p)=>{let g;h++;let f,b=n.bK,x=b.bJ;if(a[c+1]=n,p?(d=p,g=1):l.has(x)||(x&&l.set(x,n),b.bK=u(),f=b.bL,f&&K(f,n,n),g=1),!i.bJ){let e=h==r;e&&(i.bK=0,2==o&&(a[0]=d,K(t,a,i))),1==o&&K(t,[p||s,n,e,c],i)}g&&e.fire("end",{bag:n,error:p})}})(i,l,t,e.length,r,l.bM);for(let t of e)if(t){let e,[i,r]=l.get(t,o),s=i.bK.bJ,n=h.bind(i,i,a++);s&&d[s]?d[s].push(n):r?(s&&(e=[n],e.bJ=i,d[s]=e,n=Xe(d,s)),l.bN(i,n)):n()}return t};function Ae(){this.id=_("s"),this.bO=[]}X(Ae.prototype,{all(t,e){return Ce(this,t,e,2)},save(t,e){return Ce(this,t,e,2,1)},one(t,e){return Ce(this,t,e,1)},enqueue(t){let e=this;return e.bJ||(e.bO.push(t),e.dequeue(e.bP)),e},dequeue(...t){let e,i=this;i.bK||i.bJ||(i.bK=1,d((()=>{i.bK=0,i.bJ||(e=i.bO.shift(),e&&K(e,i.bP=t))})))},destroy(t){(t=this).bJ=1,t.bO=0}});let ze=(t,e)=>[g(e),g(t)].join(x),Be=X({add(t){let e,i=this.bQ;for(e of(V(t)||(t=[t]),t))if(e){let{name:t,cache:r}=e;e.cache=0|r,i[t]=e}},create(t){let e=this.meta(t),i=0|t.cache||e.cache,r=new Fe;r.set(e),r.bK={bL:e.after,bJ:i&&ze(e,t)},O(t)&&r.set(t);let s=e.before;return s&&K(s,r,r),this.fire("begin",{bag:r}),r},meta(t){return this.bQ[t.name||t]||t},get(t,e){let i,r,s=this;return e||(i=s.cached(t)),i||(i=s.create(t),r=1),[i,r]},cached(t){let e,i,r=this,s=r.bM,o=r.meta(t),l=0|t.cache||o.cache;if(l&&(i=ze(o,t)),i){let t=r.bL[i];t?e=t.bJ:(e=s.get(i),e&&u()-e.bK.bK>l&&(s.del(i),e=0))}return e}},_t);Ae.extend=(t,e,i)=>{function r(){Ae.call(this)}return r.bN=t,r.bM=new q(e,i),r.bL={},r.bQ={},X(r,Be),xt(r,Ae)};let Te=0;return{version:"5.1.0",config(t,...e){let i=R;return t&&(i=O(t)?X(i,t,...e):i[t]),i},boot(t){var e,i;Te||(Te=1,X(R,t),Mt((mt||(p=a.body,e=wt=R.rootId,(i=k(e))||(i=p),mt=new Xt(i)),mt),R.defaultView))},unboot(){Te&&(Te=0,mt&&(jt(mt),mt=s))},HIGH:1e3,LOW:-1e3,isObject:O,isArray:V,isFunction:t=>"Function"==T(t),isString:t=>"String"==T(t),isNumber:t=>"Number"==T(t),isPrimitive:S,isNumeric:t=>!isNaN(parseFloat(t))&&isFinite(t),attach:tt,detach:et,mix:X,toMap:(t,e)=>{let i,r={};if(t)for(i of t)r[e&&i?i[e]:i]=e?i:1+(0|r[i]);return r},toTry:K,toUrl:(t,e,r)=>{let s,o,l,a=[];for(o in e)s=e[o]+i,(s||I(r,o))&&(s=h(s),a.push(l=o+"="+s));return l&&(t+=(t&&(t.includes("?")?"&":"?"))+a.join("&")),t},parseUrl:dt,guid:_,use:ut,dispatch:(t,e,i)=>{let r=new Event(e,Q);X(r,i),t.dispatchEvent(r)},guard:yt,type:T,has:I,inside:M,applyStyle:Y,Cache:q,View:Me,Vframe:Xt,State:xe,Service:Ae,Event:_t,mark:(t,e,i,r,s)=>(0!=t[s="\x1ebJ"]&&(i=t[s]||(t[s]={}),I(i,e)||(i[e]=u()),r=++i[e]),i=>(i=t[s])&&r===i[e]),unmark:F,node:k,task:gt,lowTask:ft,taskFinale:()=>new l(gt),lowTaskFinale:()=>new l(ft),delay:t=>new l((e=>d(e,t)))}})),
- /*!report-desinger|https://github.com/xinglie/report-designer/blob/master/LICENSE*/
- (()=>{let t=document.currentScript.src.replace(/\/[^\/]+$/,"/"),e=document.body,i=(t,e)=>t.startsWith("_")?void 0:e,r=t=>(r._mC||(r._mC=new Promise((e=>{seajs.use(["1h","1s/index"],(({applyStyle:r,config:s,View:o},l)=>{r("bK","@font-face{font-family:bJ;src:url('//at.alicdn.com/t/font_890516_37l6idugoni.woff2?t=1637741365462') format('woff2'),url('//at.alicdn.com/t/font_890516_37l6idugoni.woff?t=1637741365462') format('woff'),url('//at.alicdn.com/t/font_890516_37l6idugoni.ttf?t=1637741365462') format('truetype');font-display:block}.bJ{font:400 normal normal 16px/1 bJ;display:inline-block;position:relative}.bK{all:initial;display:block;box-sizing:border-box;font-size:14px;line-height:1.5;font-family:Arial,sans-serif}.bK *{box-sizing:inherit}.bK :after,.bK :before{box-sizing:inherit}.bK ::-moz-placeholder{color:#999}.bK :-ms-input-placeholder{color:#999}.bK ::placeholder{color:#999}.bK ::-moz-selection{background:rgba(250,116,43,.2)}.bK ::selection{background:rgba(250,116,43,.2)}.bL *{cursor:inherit!important}.bM{margin:0}.bN,.bO{font-size:100%;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;caret-color:#FA742B;display:inline-block;height:22px;padding:1px 4px;border-radius:2px;box-sizing:border-box;box-shadow:none;border:1px solid #e6e6e6;background-color:#fff;color:#333;width:140px;max-width:100%;outline:0}.bN:hover,.bO:hover{border-color:#ccc}.bN:focus,.bO:focus,.bP{outline:0;border-color:#fa742b}.bO{height:auto;overflow:auto;resize:none;padding:3px 4px;font-family:Arial,sans-serif;line-height:1.5}.bQ{outline:0}.bN[disabled],.bO[disabled]{background-color:#f5f5f5;cursor:not-allowed;color:#999}.bN:-moz-placeholder,.bO:-moz-placeholder{color:#a9a9a9;opacity:1}.bN:-moz-focus-inner{border-style:none;padding:0}.bN[disabled]:hover,.bO[disabled]:hover{cursor:not-allowed;border-color:#e6e6e6}.bP:hover{border-color:#fa742b}.bR{margin:0;outline:0;display:inline-block;font-weight:400;vertical-align:middle;background-image:none;background-color:#ccc;white-space:nowrap;padding:4px 14px;font-size:14px;line-height:1;border:0;color:#333;border-radius:2px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.bS{font-weight:400}.bR:focus,.bR:hover{background-color:#bbb;color:#333}.bT{background-color:#fa742b;color:#fff}.bT:focus,.bT:hover{background-color:#f96412;color:#fff}.bR[disabled]{background-color:#f5f5f5;color:#999;cursor:not-allowed}.bR[disabled]:hover{border-color:#e6e6e6;color:#999}.bR:-moz-focus-inner{border-style:none;padding:0}.bU{padding:8px 25px;border-bottom:1px solid rgba(230,230,230,.4);color:#333;margin:0;line-height:1.5}.bV{margin-top:-20px}.bW{height:10px;margin-top:10px;top:28px;box-shadow:0 0 6px #ccc}.bX{line-height:1.1}.bY{padding:18px 25px}.bZ{height:10px;bottom:28px;margin-bottom:10px;box-shadow:0 0 6px #ccc}.b0{padding:8px 25px;border-top:1px solid rgba(230,230,230,.4)}.b1{margin-bottom:-20px}.b2{padding:150px 0;margin:0 auto;width:150px;line-height:0}.b2:after,.b2:before,.b3{content:\"\";width:14px;height:14px;background-color:#ccc;border-radius:100%;display:inline-block;-webkit-animation:bJ 1s infinite ease-in-out both;animation:bJ 1s infinite ease-in-out both}.b2:before{-webkit-animation-delay:-.32s;animation-delay:-.32s}.b3{margin:0 10px;-webkit-animation-delay:-.16s;animation-delay:-.16s}@-webkit-keyframes bJ{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}@keyframes bJ{0%,100%,80%{transform:scale(0)}40%{transform:scale(1)}}.b4{display:inline-block;font-weight:400}.b5{font-size:14px;margin:0;padding:0}.b6{list-style-type:none;list-style-image:none;margin:0;padding:0}.b7{color:#fa742b;text-decoration:none}.b7:focus,.b7:hover{color:#e25305}.b7:active,.b7:focus,.b7:hover,.b7:visited{outline:0}.b8{border-style:none;height:auto;vertical-align:top}.b9{margin-right:2px}.c_{margin-left:5px}.ca{transform:rotate(180deg)}.cb{transform:rotate(90deg)}.cc{transform:rotate(270deg)}.cd{margin-right:5px}.ce{margin-right:10px}.cf{margin-left:10px}.cg{padding-left:10px}.ch{background-color:rgba(250,116,43,.6)}.ci{background-color:#fff}.cj{width:100%}.ck{height:100%}.cl{max-width:100%}.cm{max-height:100%}.cn{text-align:right}.co{text-align:center}.cp{float:left}.cq{float:right}.cr{position:absolute}.cs{position:relative}.ct{pointer-events:none}.cu{pointer-events:all}.cv{margin:30px 0}html .cw{display:none}.cx{display:block}.cy{display:inline-block}.cz{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cA{scrollbar-color:#FA742B #0000}.cA::-webkit-scrollbar{height:4px;width:4px}.cA::-webkit-scrollbar-corner{height:4px;width:4px}.cA::-webkit-scrollbar-thumb{background:#fa742b;border-radius:2px}.cA::-webkit-scrollbar-thumb:hover{background:#ec5706}.cB{scrollbar-width:thin;scroll-behavior:smooth}.cB::-webkit-scrollbar{height:2px;width:2px}.cB::-webkit-scrollbar-corner{height:2px;width:2px}.cC{white-space:nowrap;word-wrap:normal;overflow:hidden;text-overflow:ellipsis}.cD{height:1px;margin:5px 0;background:linear-gradient(to right,#0000,#7d768454 50%,#0000)}.cE{flex:1}.cF{display:flex}.cG{flex-direction:column}.cH{flex-shrink:0}.cI{align-items:center}.cJ{transform:scaleX(-1)}.cK{transform:scaleY(-1)}.cL{position:-webkit-sticky;position:sticky}.cM{top:0}.cN{margin-bottom:4px}.cO{margin-top:4px}.cP{width:60px}.cQ{width:140px}.cR{width:113px}.cS{width:220px}.cT{height:100px}.cU{height:1px}.cV{height:4px}.cW{width:1px}.cX{width:4px}.cY{justify-content:space-between}.cZ{justify-content:center}.c0{justify-content:flex-end}.c1{flex-wrap:wrap}.c2{color:#e6e6e6}.c3{cursor:pointer}.c4{cursor:move}.c5{cursor:default}.c6{cursor:text}.c7{word-break:break-all}.c8{word-break:keep-all}.c9{border-collapse:collapse}.d_{border:1px solid #000;padding:0}.da{background:rgba(250,116,43,.05)}.db{overflow:hidden;white-space:pre}.dc{border:solid 2px #fa742b}.dd,.de{border-right:solid 6px #fa742b;border-radius:2px}.dd{right:-4px}.de{left:-4px}.df,.dg{border-bottom:solid 6px #fa742b;border-radius:2px}.df{bottom:-4px}.dg{top:-4px}.dh{inset:-1px}.di{inset:0}.dj{box-shadow:inset 2px 2px 10px rgba(0,0,0,.2);outline:#FA742B 2px solid;background-color:rgba(250,116,43,.1)}.dk{width:80px}.dl{width:220px}.dm{background:rgba(250,116,43,.2)}.dn{align-items:flex-start}.do{visibility:hidden}.dp{width:32px;height:16px;display:inline-block;border-radius:22px;background:#ccc}.dp::before{content:'';width:12px;height:12px;position:absolute;left:0;margin:2px;border-radius:50%;background:#fff;transition:all .25s}.dq{transition:all .25s}.do:checked+.dp{background:#fa742b}.do:checked+.dp::before{left:100%;margin-left:-14px}.do:disabled+.dp{background:#e6e6e6;cursor:not-allowed}.dr{width:20px;margin:0 1px;height:20px;line-height:20px;background:#e0e0e0;border-radius:2px}.dr:hover{background:#ccc}.ds,.ds:hover{background:#fa742b;color:#fff}.dt{opacity:.6}.du .dr,.du .dr:hover{background:#e6e6e6}.du .ds,.du .ds:hover{background:#999}.dv{cursor:not-allowed}.dw{color:#fa742b}.dx,.dy{color:#999}.dz{color:#666}.dx:hover{color:#666}.dA{overflow:hidden}.dB{overflow:visible}.dC{overflow:auto}.dD{overflow-y:scroll}.dE{font-size:10px}.dF{font-size:12px}.dG{font-size:14px}.dH{font-size:16px}.dI{font-size:20px}.dJ{font-size:26px}.dK{right:2px}.dL{right:0}.dM{top:2px}.dN{bottom:2px}.dO{bottom:0}.dP{border:dashed 1px #fa742b;display:none;z-index:2}.dQ{border:dotted 1px #999}.dR{z-index:1}.dS{z-index:5}.dT{z-index:6}.dU{z-index:7}.dV{z-index:8}.dW{z-index:9}.dX::before{width:100%;height:100%;content:attr(data-tip);position:absolute;display:flex;justify-content:center;align-items:center}.dY{min-height:80px}.dZ{min-height:500px}.d0{min-height:100vh}.d1{border-style:dashed}.d2{contain:paint}.d3{padding:4px}.d4{padding:2px}.d5{left:2px}.d6{left:0}.d7{border-radius:2px;padding:2px}.d8{opacity:0}.d8:focus{opacity:1}.d9{opacity:0}.e_{transform:translateY(-50%)}.ea{transform:translateX(-50%)}.eb{touch-action:none}");let a=navigator.language.toLowerCase();try{let t=localStorage;t&&(a=t.getItem("rd.lang")||a)}catch(t){}s(t,{lang:a});let d=/(?:\r\n|\r|\n)/g,h={"&":38,"<":60,">":62,'"':34,"'":39,"`":96},n=/[&<>"'\`]/g,c=t=>`&#${h[t]};`,p=t=>(null==t?t="":t+="",t.replace(n,c).replace(d,"<br/>")),g=(t,e=65)=>{let i,r="";for(t+=1;t;)i=(t-1)%26,r=String.fromCharCode(i+e)+r,t=(t-i-1)/26;return r},f=/<(script|style)[^>]*>[\S\s]*<\/\1[^>]*>/gi,b=t=>t.replace(f,"");o.merge({ctor(){this.set({excelTitle:g,textReturn:p,safeHTML:b,i18n:l})},getValue(){let{id:t,type:e,props:r}=this.get();return{id:t,type:e,props:r,elementId:t,elementType:e,elementProps:JSON.stringify(r,i)}},getProps(){return this.get("props")},update(t){this.set({props:t}),this.render()},_fl:b,_fm(t){t.stopPropagation()},"_fn<change>"(t){this._fm(t)}}),e()}))}))),r._mC),s=async t=>(await r(t),s._mC||(s._mC=new Promise((t=>{seajs.use(["1h"],(({View:i,boot:r,toUrl:s,config:o})=>{let l=o("rootId");define("~/root",(()=>i.extend())),e.id||(e.id=l),r({defaultPath:"/rd",defaultView:"~/root",rootId:e.id,error(t){{let e=o("errorReportUrl");e&&(e=s(e,{error:t.message}),navigator.sendBeacon(e))}}}),t()}))}))),s._mC),o="bK",l=async(t,e,i)=>{await s();let{config:r,node:l,type:a,Vframe:d,State:h}=seajs.require("1h"),n=l(r("rootId"));h.set({bM:i.unit||"px"});let c=d.byNode(n),p=t;if("String"==a(p)&&(p=l(p.replace(/^#/,""))),p){p.classList.contains(o)||p.classList.add(o);let t=d.byNode(p);t&&t.path==e?(await t.invoke("assign",i),await t.invoke("render")):c.mount(p,e,i)}};window.printer={resolve:e=>seajs.realpath(t+e),setup:(t={})=>new Promise((async i=>{await s(t),seajs.use(["1h","1s/index"],(({node:r,config:s,Vframe:l},a)=>{let d,h=t.rootId||"app",n="index";if(d=r(h),s({appId:h}),t&&"virtual"==t.use){if(n=t.use,!d){let t=document.createElement("div"),i="pointer-events:none;position:fixed;";i+="opacity:0;left:-500cm;top:-500cm",t.style.cssText=i,t.id=h,d=t,e.append(t)}}else{let e=t.siteName;document.title=e||a("b2")}d&&d.classList.add(o);let c=s("rootId");l.byNode(r(c)).mount(d,"3t/"+n),i()}))})),getHTML:t=>new Promise(((e,i)=>{seajs.use(["1h"],(({config:r,node:s,Vframe:o})=>{let l=r("appId"),a=s(l);if(a){let r=o.byNode(a);r?r.invoke("_mB",t,e):i("can not find "+l)}else i("can not find "+l)}))})),config:s,element(t,e){l(t,`27/${e.type}/index`,e)},getVframe:t=>new Promise(((e,i)=>{let r=20,s=t,{node:o,Vframe:l,isString:a}=seajs.require("1h");a(s)&&(s=o(s.replace(/^#/,"")));let d=()=>{if(s){let t=l.byNode(s);t?e(t):(r--,r?setTimeout(d,50):i(new Error("can not find vframe")))}else i(new Error("can not find nodeOrId"))};setTimeout(d,50)})),page(t,e){l(t,"3t/page",e)},remove(t){let e=t,{node:i,Vframe:r,isString:s}=seajs.require("1h");if(s(e)&&(e=i(e.replace(/^#/,""))),e){let t=r.byNode(e);if(t)return t.unmount(),!0}return!1},destroy(){seajs.use("1h",(({unboot:t})=>{delete s._mC,t()}))}}})(),define("1s/index",["1h","./3r"],((t,e,i)=>{let r=t("1h"),s=t("./3r"),o={zh:s,"zh-cn":s},{has:l,config:a,Cache:d}=r,h=/\{(\d+)\}/g,n=new d(200,60);i.exports=(t,...e)=>{let i=(a("lang")||navigator.language).toLowerCase();l(o,i)||(i="zh");let r=o[i],s=[i,t,...e].join("\0");if(n.has(s))return n.get(s);let d=l(r,t)?r[t]:t;return e.length&&(d=d.replace(h,((t,i,s)=>(i|=0,e.length>i?(s=e[i],l(r,s)?r[s]:s):t)))),n.set(s,d),d}})),define("1s/3r",[],((t,e,i)=>{i.exports={cn:"\u4e0b\u5bf9\u9f50",cl:"\u6c34\u5e73\u5c45\u4e2d\u5bf9\u9f50",cj:"\u5de6\u5bf9\u9f50",co:"\u5782\u76f4\u5c45\u4e2d\u5bf9\u9f50",ck:"\u53f3\u5bf9\u9f50",cm:"\u4e0a\u5bf9\u9f50",df:"\u5feb\u6377\u952e\u5927\u5168",dg:"\u5143\u7d20\u95f4\u6c34\u5e73\u5747\u5206\u6392\u5217(\u6309\u4e0bShift\u952e\u5219\u4f7f\u7528\u5143\u7d20\u4e2d\u5fc3\u70b9\u8fdb\u884c\u5747\u5206)",di:"\u5143\u7d20\u5728\u8bbe\u8ba1\u533a\u5185\u6c34\u5e73\u5747\u5206\u6392\u5217(\u6309\u4e0bShift\u952e\u5219\u4f7f\u7528\u5143\u7d20\u4e2d\u5fc3\u70b9\u8fdb\u884c\u5747\u5206\u6216\u6309\u4e0bCtrl\u952e\u5728\u8bbe\u8ba1\u533a\u6c34\u5e73\u5c45\u4e2d)",dj:"\u5143\u7d20\u5728\u8bbe\u8ba1\u533a\u5185\u5782\u76f4\u5747\u5206\u6392\u5217(\u6309\u4e0bShift\u952e\u5219\u4f7f\u7528\u5143\u7d20\u4e2d\u5fc3\u70b9\u8fdb\u884c\u5747\u5206\u6216\u6309\u4e0bCtrl\u952e\u5728\u8bbe\u8ba1\u533a\u5782\u76f4\u5c45\u4e2d)",dh:"\u5143\u7d20\u95f4\u5782\u76f4\u5747\u5206\u6392\u5217(\u6309\u4e0bShift\u952e\u5219\u4f7f\u7528\u5143\u7d20\u4e2d\u5fc3\u70b9\u8fdb\u884c\u5747\u5206)",bL:"\u5220\u9664\u8f85\u52a9\u7ebf",bN:"\u70b9\u51fb\u9690\u85cf\u6240\u6709\u8f85\u52a9\u7ebf",bM:"\u6309\u4e0b\u62d6\u52a8\u53ef\u79fb\u52a8\u8f85\u52a9\u7ebf",bO:"\u70b9\u51fb\u663e\u793a\u6240\u6709\u8f85\u52a9\u7ebf",b5:"\u5e94\u7528",b6:"\u53d6\u6d88",jZ:"\u786e\u5b9a",j6:"\u7d2f\u8ba1\u5e73\u5747",j5:"\u672c\u9875\u5e73\u5747",j4:"\u672c\u5355\u5e73\u5747",jw:"\u6c42\u5e73\u5747",jx:"\u81ea\u5b9a\u4e49",ff:"\u70b9\u51fb\u9009\u4e2d\u5f53\u524d\u683c\u5b50",ju:"\u9759\u6001\u6587\u672c",j3:"\u672c\u9875\u7d2f\u8ba1",j1:"\u672c\u9875\u6c42\u548c",j2:"\u672c\u5355\u6c42\u548c",jv:"\u6c42\u548c",da:"\u60a8\u786e\u8ba4\u6e05\u7a7a\u7f16\u8f91\u533a\u5185\u5bb9\u5417\uff1f",kg:"\u70b9\u51fb\u9009\u62e9\u56fe\u7247",j0:"\u5173\u95ed\u7a97\u53e3",jW:"\u6dfb\u52a0\u914d\u8272",jU:"\u968f\u673a\u4e00\u4e2a\u989c\u8272",jV:"\u79fb\u9664\u5f53\u524d\u914d\u8272",d_:"\u60a8\u786e\u8ba4\u65b0\u5efa\u7f16\u8f91\u533a\u5185\u5bb9\u5417\uff1f",kn:'\u8bf7\u9009\u4e2d\u4e00\u4e2a\u652f\u6301\u6570\u636e\u7ed1\u5b9a\u7684\u7ec4\u4ef6\uff0c\u5982\u6570\u636e\u4e2d\u7684"\u5217\u8868\u683c"\u3001"\u5355\u5143\u683c"\u6216"\u67f1\u72b6\u56fe"',jY:"\u63d0\u793a",ip:"\u4e0b",iq:"\u5de6",jk:"\u5de6\u4e0b",jh:"\u5de6\u4e0a",io:"\u53f3",jj:"\u53f3\u4e0b",ji:"\u53f3\u4e0a",in:"\u4e0a",hS:"\u5f27",dQ:"\u8bf7\u8f93\u5165\u6216\u7ed1\u5b9a\u6761\u5f62\u7801\u5185\u5bb9",dy:"\u6761\u5f62\u7801",dR:"\u57fa\u5143",dS:"\u6279\u91cf\u6761\u7801",dX:"\u6279\u91cf\u6587\u672c",hY:"\u7535\u6c60",h4:"\u8d1d\u585e\u5c142",h5:"\u8d1d\u585e\u5c143",ea:"\u65e5\u5386",ef:"\u67f1\u72b6\u56fe",ei:"Chart.js",ek:"\u6f0f\u6597\u56fe",em:"\u6298\u7ebf\u56fe",ep:"\u4eea\u8868\u76d8",es:"\u997c\u56fe",et:"\u96f7\u8fbe\u56fe",eu:"\u6563\u70b9\u56fe",ev:"\u5706\u5f62",ex:"\u65f6\u949f",eB:"\u73af\u5f62\u8fdb\u5ea6",fx:"\u66f2\u7ebf",dV:"\u8bf7\u7ed1\u5b9a\u6570\u636e",eF:"\u5355\u5143\u683c",eQ:"\u5217\u8868\u683c",e2:"\u6570\u636e\u8868\u683c",fh:"\u81ea\u7531\u8868\u683c",fm:"\u6a2a\u7eb5\u91cd\u590d",eN:"\u5220\u9664\u7ed1\u5b9a\u5b57\u6bb5",h9:"\u692d\u5706",i_:"\u98ce\u6247",fo:"\u6ce8\u91ca",fs:"\u5361\u7247",ft:"\u8fde\u63a5\u7ebf",fD:"\u6570\u636e",fE:"\u6570\u636e\u5e93",fF:"\u5224\u5b9a",fL:"\u5c55\u793a",fM:"\u6587\u6863",fN:"\u5916\u90e8\u6570\u636e",fO:"\u5185\u90e8\u5b58\u50a8",fP:"\u5faa\u73af\u9650\u503c",fQ:"\u4eba\u5de5\u8f93\u5165",fR:"\u4eba\u5de5\u64cd\u4f5c",fS:"\u8de8\u9875\u5f15\u7528",fT:"\u5e76\u884c\u6a21\u5f0f",fU:"\u9884\u5907",fV:"\u8fc7\u7a0b",fW:"\u961f\u5217\u6570\u636e",fX:"\u9875\u5185\u5f15\u7528",fY:"\u5b50\u6d41\u7a0b",fZ:"\u6761\u5e26",f0:"\u5f00\u59cb\u7ed3\u675f",f1:"\u590d\u9009\u6846",gb:"\u6570\u636e\u91c7\u96c6",gi:"\u4e0b\u62c9\u6846",gm:"\u8f93\u5165\u6846",gr:"\u5355\u9009\u6846",gs:"\u516c\u5f0f",gt:"\u51fd\u6570",gI:"H-Flex",gC:"\u70ed\u5ea6",gN:"HTML",ko:"\u539f\u59cb\u56fe\u7247\u5bbd\u9ad8",gU:"\u8bf7\u9009\u62e9\u6216\u7ed1\u5b9a\u56fe\u7247",gO:"\u56fe\u7247",fv:"\u76f4\u7ebf",g6:"\u6b63\u5728\u8f7d\u5165\u7b2c\u4e09\u65b9\u7ec4\u4ef6...",gX:"\u8fb9\u6846",gY:"\u9884\u8bbe\u56fe\u7247",gZ:"\u5730\u56fe",g9:"\u7f16\u8f91\u533a",hD:"\u9875\u7801\u5668",iG:"\u5706\u997c",fw:"\u6298\u7ebf",if:"\u6298\u7ebf2",gF:"\u9875\u811a",gH:"\u9875\u5934",hE:"\u8fdb\u5ea6\u6761",hG:"\u8bf7\u8f93\u5165\u6216\u7ed1\u5b9a\u4e8c\u7ef4\u7801\u5185\u5bb9",dW:"\u4e8c\u7ef4\u7801",hH:"\u8bc4\u5206",hK:"\u77e9\u5f62",hM:"\u8bf7\u9009\u62e9\u6216\u7ed1\u5b9a\u80cc\u666f\u56fe\u7247",hL:"\u80cc\u666f\u56fe",fn:"\u5bcc\u6587\u672c",hO:"\u6807\u5c3a",iJ:"\u4fe1\u53f7",iN:"\u626c\u58f0\u5668",ik:"\u7bad\u5934",h6:"\u5927\u62ec\u53f7",il:"\u6c14\u6ce1",h7:"\u5706",it:"\u62d0\u89d2",iu:"\u5341\u5b57",iv:"\u7acb\u65b9\u4f53",iz:"\u5706\u67f1",iB:"\u53cc\u7bad\u5934",iR:"\u4e94\u89d2\u661f",ic:"\u7ebf\u6bb5",iF:"\u6708\u7259",id:"\u591a\u8fb9\u5f62",iC:"\u56db\u8fb9\u5f62",iH:"\u661f\u661f",gJ:"\u8868\u683c",gK:"Tabs",iU:"\u6807\u7b7e",e_:"\u8bf7\u8f93\u5165\u6216\u7ed1\u5b9a\u5185\u5bb9",iV:"\u6587\u672c",iS:"\u4e09\u89d2\u5f62",gM:"V-Flex",i2:"\u8bf7\u8f93\u5165\u89c6\u9891\u5730\u5740",iW:"\u89c6\u9891",iT:"WiFi",i3:"Excel",b1:"\u6b63\u5728\u5bfc\u51fa...",b3:"\u5bfc\u51fa\u6210\u529f~",bS:"\u5fae\u8f6f\u6b63\u9ed1\u4f53",bT:"\u6977\u4f53",bU:"\u96b6\u4e66",bQ:"\u9ed1\u4f53",bP:"\u5b8b\u4f53",bR:"\u5fae\u8f6f\u96c5\u9ed1",bV:"\u5e7c\u5706",bK:"\u6c34\u5e73",bJ:"\u5782\u76f4",cD:"\u6dfb\u52a0<{0}>\u8f85\u52a9\u7ebf",cC:"\u6e05\u9664\u5168\u90e8\u8f85\u52a9\u7ebf",cG:"\u6e05\u7a7a\u7f16\u8f91\u533a",cE:"\u5220\u9664<{0}>\u8f85\u52a9\u7ebf",cP:"\u6dfb\u52a0<{0}>",cN:"\u5bf9\u9f50\u5143\u7d20",c4:"\u6c34\u5e73\u5747\u5206<\u591a\u4e2a\u5143\u7d20>",c5:"\u5782\u76f4\u5747\u5206<\u591a\u4e2a\u5143\u7d20>",c2:"\u526a\u5207<{0}>",c3:"\u514b\u9686<{0}>",cL:"\u9009\u4e2d<{0}>",cR:"\u7ec4\u5408\u5143\u7d20",cT:"\u7f16\u8f91\u9501\u5b9a<{0}>",cK:"\u53d6\u6d88\u9009\u4e2d<{0}>",cY:"\u4fee\u6539<{0}>\u63a7\u5236\u70b9",cZ:"\u4fee\u6539<{0}>\u8c03\u6574\u70b9",c1:"\u4fee\u6539<{0}>\u5c5e\u6027",c0:"\u4fee\u6539<{0}>\u5c3a\u5bf8",cM:"\u79fb\u52a8<{0}>",cW:"\u7c98\u8d34<{0}>",cQ:"\u5220\u9664<{0}>",cX:"\u65cb\u8f6c<{0}>",cO:"\u540c\u6b65\u5143\u7d20\u5c3a\u5bf8",cS:"\u53d6\u6d88\u7ec4\u5408\u5143\u7d20",cU:"\u53d6\u6d88\u7f16\u8f91\u9501\u5b9a<{0}>",cV:"\u8c03\u6574<{0}>Z\u8f74",c8:"\u663e\u793a\u81ea\u5b9a\u4e49\u6a21\u677f",c6:"\u663e\u793a\u6a21\u677f<{0}>",c7:"\u663e\u793aid\u4e3a{0}\u7684\u6a21\u677f",cB:"\u521d\u59cb\u72b6\u6001",cF:"\u79fb\u52a8<{0}>\u8f85\u52a9\u7ebf",cJ:"\u65b0\u5efa\u7f16\u8f91\u533a",cH:"\u653e\u5927\u7f16\u8f91\u533a",cI:"\u7f29\u5c0f\u7f16\u8f91\u533a",kp:"\u70b9\u51fb\u8fd8\u539f\u5230{0}",ki:"\u56fe\u7247\u5e93",kh:"\u83b7\u53d6\u56fe\u7247\u5c3a\u5bf8\u5931\u8d25\uff0c\u8bf7\u91cd\u8bd5\uff5e\uff5e",cv:"\u6e05\u7a7a\u683c\u5b50",cg:"\u6e05\u7a7a\u7f16\u8f91\u533a",cp:"\u7ec4\u5408",cq:"\u53d6\u6d88\u7ec4\u5408",b8:"\u590d\u5236",b9:"\u526a\u5207",cf:"\u5220\u9664",cd:"\u514b\u9686",dp:"\u5f53\u524d\u72b6\u6001\uff1a\u901a\u8fc7\u5c5e\u6027\u9762\u677f\u4fee\u6539\u5750\u6807\u65f6\uff0c\u7ec4\u5408\u4e2d\u7684\u5176\u5b83\u5143\u7d20\u4e0d\u968f\u7740\u4fee\u6539",do:"\u5f53\u524d\u72b6\u6001\uff1a\u901a\u8fc7\u5c5e\u6027\u9762\u677f\u4fee\u6539\u5750\u6807\u65f6\uff0c\u7ec4\u5408\u4e2d\u7684\u5176\u5b83\u5143\u7d20\u968f\u7740\u4fee\u6539",dm:"\u7ec4\u5408\u9009\u4e2d\u5143\u7d20",cA:"\u4ece\u672c\u5730\u6587\u4ef6\u5bfc\u5165",dq:"\u9501\u5b9a\u7f16\u8f91",cc:"\u4e0b\u79fb\u4e00\u5c42",cb:"\u4e0a\u79fb\u4e00\u5c42",ch:"\u65b0\u5efa\u7f16\u8f91\u533a",ce:"\u7c98\u8d34",ci:"\u53cd\u9009",cz:"\u5bfc\u51fa\u5230\u672c\u5730\u6587\u4ef6",cy:"\u4fdd\u5b58\u5230\u670d\u52a1\u5668",b7:"\u5168\u9009",cs:"\u9ad8\u4f5c\u4e3a\u5bbd",cu:"\u540c\u9ad8",cr:"\u5bbd\u4f5c\u4e3a\u9ad8",ct:"\u540c\u5bbd",ca:"\u79fb\u81f3\u5e95\u5c42",c_:"\u79fb\u81f3\u9876\u5c42",dn:"\u53d6\u6d88\u7ec4\u5408\u5143\u7d20",dr:"\u89e3\u9501\u7f16\u8f91",cw:"\u591a\u4e2a\u5143\u7d20",jd:"\u5220\u9664\u5f53\u524d\u683c\u5b50",jn:"\u4e0b\u65b9\u6dfb\u52a0\u683c\u5b50",jb:"\u5de6\u4fa7\u6dfb\u52a0\u683c\u5b50",jc:"\u53f3\u4fa7\u6dfb\u52a0\u683c\u5b50",jm:"\u4e0a\u65b9\u6dfb\u52a0\u683c\u5b50",jo:"\u5de6\u4fa7\u6dfb\u52a0\u5217",jp:"\u53f3\u4fa7\u6dfb\u52a0\u5217",ja:"\u4e0b\u65b9\u6dfb\u52a0\u884c",j_:"\u4e0a\u65b9\u6dfb\u52a0\u884c",jr:"\u5411\u4e0b\u5408\u5e76\u683c\u5b50",je:"\u5411\u5de6\u5408\u5e76\u683c\u5b50",jf:"\u5411\u53f3\u5408\u5e76\u683c\u5b50",jq:"\u5411\u4e0a\u5408\u5e76\u683c\u5b50",jg:"\u62c6\u5206\u683c\u5b50",jS:"\u53ef\u4ee5\u8f93\u5165\u6216\u7c98\u8d34\u5341\u516d\u8fdb\u5236\u7684\u989c\u8272\u503c",jT:"\u70b9\u51fb\u4f7f\u7528\u5438\u7ba1\u5438\u53d6\u989c\u8272",kq:"\u786e\u5b9a",j7:"\u62d6\u52a8\u6570\u636e\u6e90\u5b57\u6bb5\u5230\u8fd9\u91cc",i9:"\u5782\u76f4\u5c45\u4e0b",i5:"\u6c34\u5e73\u5c45\u4e2d",i4:"\u6c34\u5e73\u5c45\u5de6",i8:"\u5782\u76f4\u5c45\u4e2d",i6:"\u6c34\u5e73\u5c45\u53f3",i7:"\u5782\u76f4\u5c45\u4e0a",ka:"\u52a0\u7c97",kb:"\u659c\u4f53",ke:"\u4e0a\u5212\u7ebf",kd:"\u5220\u9664\u7ebf",kc:"\u4e0b\u5212\u7ebf",j9:"\u5c45\u4e2d",j8:"\u5c45\u5de6",k_:"\u5c45\u53f3",jX:"\u8bf7\u5148\u7ed1\u5b9a\u6570\u636e",km:"\u9ad8\u5ea6\u5747\u5206",kl:"\u5bbd\u5ea6\u5747\u5206",kj:"\u70b9\u51fb\u9690\u85cf{0}\u8fb9\u6846",kk:"\u70b9\u51fb\u663e\u793a{0}\u8fb9\u6846",jK:"\u5220\u9664\u5f53\u524d\u5217",jJ:"\u5220\u9664\u5f53\u524d\u884c",jH:"\u5de6\u4fa7\u6dfb\u52a0\u5217",jI:"\u53f3\u4fa7\u6dfb\u52a0\u5217",jG:"\u4e0b\u65b9\u6dfb\u52a0\u884c",jF:"\u4e0a\u65b9\u6dfb\u52a0\u884c",jQ:"\u5411\u4e0b\u5408\u5e76\u5355\u5143\u683c",jN:"\u5411\u5de6\u5408\u5e76\u5355\u5143\u683c",jO:"\u5411\u53f3\u5408\u5e76\u5355\u5143\u683c",jP:"\u5411\u4e0a\u5408\u5e76\u5355\u5143\u683c",jL:"\u6c34\u5e73\u62c6\u5206\u5355\u5143\u683c",jM:"\u5782\u76f4\u62c6\u5206\u5355\u5143\u683c",dZ:"\u81ea\u52a8\u6362\u884c\uff1a",cx:"\u57fa\u7840\u5c5e\u6027",kr:"\u70b9\u51fb\u663e\u793a{0}",dw:"\u5173\u95ed\u6240\u6709\u9762\u677f(Shift+Z)",du:"\u5173\u95ed{0}\u9762\u677f(\u6570\u5b57\u952e{1})",ks:"\u6570\u636e\u6e90",kt:"\u6309\u4e0b\u79fb\u52a8\u9762\u677f",ku:"\u5143\u7d20",kv:"\u6309\u4e0b\u62d6\u52a8\u6539\u53d8\u9762\u677f\u5bbd\u5ea6",kw:"\u5c55\u5f00{0}\u9762\u677f(Shift+\u6570\u5b57\u952e{1})",kx:"\u70b9\u51fb\u67e5\u770b{0}\u7684\u8bf4\u660e",ky:"\u5386\u53f2\u64cd\u4f5c",kz:"\u6309\u4e0b\u62d6\u52a8\u6539\u53d8\u9762\u677f\u9ad8\u5ea6",dx:"\u6253\u5f00\u6240\u6709\u9762\u677f(Shift+Z)",dv:"\u6253\u5f00{0}\u9762\u677f(\u6570\u5b57\u952e{1})",kA:"\u6982\u89c8\u56fe",kB:"\u5c5e\u6027",kC:"\u53ea\u8bfb\u5143\u7d20\u4e0d\u80fd\u9009\u4e2d\u548c\u62d6\u52a8\u6392\u5e8f",kD:"\u6298\u53e0{0}\u9762\u677f(Shift+\u6570\u5b57\u952e{1})",kE:"\u7ed3\u6784\u6811",hj:"\u8bf7\u9009\u62e9",kF:"\u4e0d\u80fd\u653e\u7f6e",kG:"\u677e\u5f00\u653e\u5728\u683c\u5b50\u91cc",kH:"\u677e\u5f00\u653e\u5728\u7f16\u8f91\u533a",eP:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u683c\u5b50\u9ad8\u5ea6",eO:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u683c\u5b50\u5bbd\u5ea6",fJ:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u63a7\u5236\u70b9",gh:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539Excel\u9876\u90e8\u6807\u9898\u9ad8\u5ea6",gg:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539Excel\u5de6\u4fa7\u6807\u9898\u5bbd\u5ea6",fH:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u5143\u7d20\u9ad8\u5ea6",fK:"\u6309\u4e0b\u62d6\u52a8\u4e0e\u5176\u5b83\u5143\u7d20\u8fde\u7ebf",g8:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u8c03\u6574\u70b9",fI:"\u6309\u4e0b\u62d6\u52a8\u65cb\u8f6c\u5143\u7d20",fg:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u7559\u767d\u9ad8\u5ea6",fG:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u5143\u7d20\u5bbd\u5ea6",g7:"\u6309\u4e0b\u62d6\u52a8\u4fee\u6539\u5143\u7d20\u5bbd\u5ea6\u548c\u9ad8\u5ea6",kI:"\u6d4f\u89c8\u5668\u6253\u5370",kJ:"\u8f6c\u6362\u5185\u5bb9\u4e3a\uff1a",kK:"\u8bf7\u4f20\u9012 id \u53c2\u6570\u4e14\u914d\u7f6e getContentUrl \u6216\u8005\u5728\u8bbe\u8ba1\u5668\u4e2d\u6253\u5f00\u8be5\u9875\u9762",kL:"\u6b63\u5728\u51c6\u5907\u57fa\u7840\u9875\u9762...",kM:"RDS\u6253\u5370",kN:"RDS\u8bbe\u7f6e",kO:"\u7b2c\u4e09\u65b9\u9759\u9ed8\u6253\u5370",kP:"\u72ec\u7acb\u4f7f\u7528\u6253\u5370\u9875\u9762",gL:"\u9009\u4e2d\uff1a",dD:"\u900f\u660e\u5ea6\uff1a",fl:"\u884c\u9ad8\u68c0\u6d4b\uff1a",iZ:"\u81ea\u52a8\u64ad\u653e\uff1a",hr:"\u80cc\u666f\u56fe\u7247\uff1a",ht:"\u5e73\u94fa\u65b9\u5f0f\uff1a",d4:"\u80cc\u666f\u989c\u8272\uff1a",hF:"\u8fdb\u5ea6\u989c\u8272\uff1a",gD:"\u67f1\u5b50\u4e2a\u6570\uff1a",gE:"\u67f1\u5b50\u5bbd\u5ea6\uff1a",dH:"\u7f16\u7801\u683c\u5f0f\uff1a",h0:"\u5145\u7535\u4e2d\uff1a",h2:"\u7535\u91cf\u989c\u8272\uff1a",h3:"\u95ea\u7535\u989c\u8272\uff1a",h1:"\u7535\u6c60\u989c\u8272\uff1a",hZ:"\u7535\u91cf\uff1a",dG:"\u7ed1\u5b9a\u5b57\u6bb5\uff1a",eo:"X\u8f74\u7ed1\u5b9a\uff1a",en:"Y\u8f74\u7ed1\u5b9a\uff1a",d9:"\u8fb9\u6846\u989c\u8272\uff1a",er:"\u5706\u89d2\uff1a",bY:"\u865a\u7ebf",bX:"\u70b9\u7ebf",bZ:"\u53cc\u8fb9\u6846",bW:"\u5b9e\u7ebf",d8:"\u8fb9\u6846\u7c7b\u578b\uff1a",d7:"\u8fb9\u6846\u5bbd\u5ea6\uff1a",ig:"\u62d0\u89d2\uff1a",ih:"\u5c16\u89d2",ij:"\u5706\u89d2",ii:"\u659c\u89d2",jl:"\u8fb9\u6846\uff1a",fc:"\u5e73\u5747\u5206\u914d",fd:"\u4e0d\u5206\u914d",fb:"\u5360\u6bd4\u5206\u914d",fa:"\u5bbd\u5ea6\u5206\u914d\uff1a",jD:"\u683c\u5b50\u80cc\u666f\uff1a",jt:"\u683c\u5b50\u8ba1\u7b97\uff1a",js:"\u683c\u5b50\u5185\u5bb9\uff1a",f_:"\u6570\u636e\u68c0\u6d4b\uff1a",eM:"\u683c\u5b50\u64cd\u4f5c\uff1a",eG:"\u683c\u5b50\u5747\u5206\uff1a",gG:"\u683c\u5b50\u9ad8\uff1a",eK:"\u683c\u5b50\u5bbd\u9ad8\uff1a",eg:"\u56fe\u8868\u6807\u9898\uff1a",ey:"\u8868\u76d8\u989c\u8272\uff1a",ez:"\u6307\u9488\u989c\u8272\uff1a",eA:"\u523b\u5ea6\u989c\u8272\uff1a",hX:"\u95ed\u5408\uff1a",el:"\u914d\u8272\uff1a",dK:"\u989c\u8272\uff1a",fu:"\u8fde\u7ebf\u7c7b\u578b\uff1a",jy:"\u5185\u5bb9\u4f4d\u7f6e\uff1a",f9:"\u81ea\u52a8",ga:"\u9690\u85cf",g_:"\u663e\u793a",f8:"\u5185\u5bb9\u6ea2\u51fa\uff1a",i1:"\u663e\u793a\u63a7\u5236\uff1a",iI:"\u89d2\uff1a",iA:"\u67f1\u4f53\u989c\u8272\uff1a",fi:"\u6570\u636e\u6e90\uff1a",go:"\u9ed8\u8ba4\u6587\u672c\uff1a",gv:"\u7981\u7528\u7f29\u653e\uff1a",iM:"\u65ad\u7f51\u989c\u8272\uff1a",f2:"\u8bc6\u522b\u540d\u79f0\uff1a",f5:"\u5782\u76f4",f4:"\u6c34\u5e73",f3:"\u6392\u5217\u65b9\u5f0f\uff1a",hp:"\u62d6\u52a8\u78c1\u5438\uff1a",hW:"\u7ed3\u675f\u89d2\u5ea6\uff1a",fz:"\u7ed3\u675f\u7bad\u5934\uff1a",hR:"\u7ed3\u675f\u8fb9\u6846\uff1a",gd:"\u6807\u9898\u80cc\u666f\uff1a",gf:"\u5de6\u6807\u9898\u5bbd\uff1a",ge:"\u9876\u6807\u9898\u9ad8\uff1a",gc:"Excel\u6807\u9898\uff1a",gk:"\u6269\u5c55\u6837\u5f0f\uff1a",gj:"\u6269\u5c55\u6807\u8bb0\uff1a",ew:"\u586b\u5145\u989c\u8272\uff1a",d6:"\u6392\u5217\uff1a",d2:"\u5b57\u4f53\uff1a",d1:"\u5b57\u53f7\uff1a",dJ:"\u6587\u5b57\u6837\u5f0f\uff1a",e4:"\u6700\u540e\u663e\u5c3e\uff1a",d5:"\u6587\u5b57\u989c\u8272\uff1a",eD:"\u8ba1\u7b97\u51fd\u6570\uff1a",dY:"\u663e\u793a\u683c\u5f0f\uff1a",ix:"\u524d\u90e8\u989c\u8272\uff1a",hu:"\u62c9\u4f38\u94fa\u6ee1",im:"\u7f3a\u53e3\u65b9\u5411\uff1a",ir:"\u7f3a\u53e3\u4f4d\u7f6e\uff1a",is:"\u7f3a\u53e3\u5927\u5c0f\uff1a",dT:"\u6c34\u5e73\u95f4\u9694\uff1a",e3:"\u521d\u59cb\u663e\u5934\uff1a",dC:"\u9ad8\uff1a",dN:"\u5e2e\u52a9\uff1a",e9:"\u9690\u85cf\u5c3e\uff1a",e5:"\u9690\u85cf\u5934\uff1a",e6:"\u9690\u85cf\u6807\u9898\uff1a",fk:"\u9690\u85cf\u8868\u5c3e\uff1a",fj:"\u9690\u85cf\u8868\u5934\uff1a",e8:"\u9690\u85cf\u5408\u8ba1\uff1a",eE:"\u9ad8\u4eae\u989c\u8272\uff1a",hA:"\u56fe\u7247\u9ad8\uff1a",gR:"\u8fd8\u539f\u5c3a\u5bf8\uff1a",hz:"\u56fe\u7247\u5bbd\uff1a",gQ:"\u56fe\u7247\uff1a",f6:"\u9009\u9879\u95f4\u8ddd\uff1a",d3:"\u5b57\u95f4\u8ddd\uff1a",fq:"\u7ebf\u6761\u989c\u8272\uff1a",fp:"\u865a\u7ebf\u95f4\u9694\uff1a",fr:"\u6587\u5b57\uff1a",gW:"\u7ebf\u7c7b\u578b\uff1a",dL:"\u7ebf\u6761\u5bbd\uff1a",dP:"\u9501\u5b9a\u7f16\u8f91\uff1a",gV:"\u957f\uff1a",i0:"\u5faa\u73af\u64ad\u653e\uff1a",g5:"\u53cc\u51fb\u7f29\u653e\uff1a",g4:"\u80fd\u5426\u62d6\u52a8\uff1a",g2:"\u7eac\u5ea6\uff1a",g1:"\u7ecf\u5ea6\uff1a",g3:"\u663e\u793a\u7f29\u653e\uff1a",g0:"\u7f29\u653e\u7ea7\u522b\uff1a",kQ:"\u6700\u5927\u9ad8\u5ea6\uff1a",kR:"\u6700\u5927\u5bbd\u5ea6\uff1a",gl:"\u591a\u9009\uff1a",gp:"\u591a\u884c\u6a21\u5f0f\uff1a",fe:"\u591a\u680f\u6253\u5370\uff1a",iQ:"\u9759\u97f3\u989c\u8272\uff1a",iO:"\u9759\u97f3\uff1a",hv:"\u4e0d\u5e73\u94fa",dM:"\u5b98\u65b9\u7f51\u7ad9\uff1a",hB:"\u6c34\u5e73\u504f\u79fb\uff1a",hC:"\u5782\u76f4\u504f\u79fb\uff1a",ej:"\u914d\u7f6e\uff1a",jB:"\u4e0b\u8fb9\u8ddd\uff1a",jC:"\u5de6\u8fb9\u8ddd\uff1a",jA:"\u53f3\u8fb9\u8ddd\uff1a",jz:"\u4e0a\u8fb9\u8ddd\uff1a",gu:"\u7f51\u683c\uff1a",hi:"\u5e38\u7528\u7eb8\u5f20\uff1a",hl:"\u5168\u5c4f\u663e\u793a\uff1a",hq:"\u9875\u9762\u6807\u9898\uff1a",h_:"\u5355\u4f4d\uff1a",hh:"\u7f16\u8f91\u533a\uff1a",gn:"\u5360\u4f4d\u6587\u672c\uff1a",hs:"\u5957\u6253\uff1a",ho:"\u6253\u5370\u4efd\u6570\uff1a",h8:"\u534a\u5f84\uff1a",hw:"\u6a2a\u5411\u5e73\u94fa",hx:"\u5782\u76f4\u5e73\u94fa",hy:"\u53cc\u5411\u5e73\u94fa",ie:"\u53cd\u8f6c\uff1a",d0:"\u5bcc\u6587\u672c\uff1a",gS:"\u5782\u76f4\u955c\u50cf\uff1a",gT:"\u6c34\u5e73\u955c\u50cf\uff1a",dE:"\u65cb\u8f6c\u89d2\u5ea6\uff1a",iD:"\u6c34\u5e73\u5706\u89d2\uff1a",iE:"\u5782\u76f4\u5706\u89d2\uff1a",hT:"\u6c34\u5e73\u534a\u5f84\uff1a",hU:"\u5782\u76f4\u534a\u5f84\uff1a",hm:"\u81ea\u9002\u5e94",hn:"\u5168\u5c4f\u94fa\u6ee1",hk:"\u5206\u8fa8\u7387\uff1a",e7:"\u6bcf\u9875\u6807\u9898\uff1a",eq:"\u663e\u793a\u8fdb\u5ea6\uff1a",dI:"\u663e\u793a\u6587\u5b57\uff1a",iy:"\u4fa7\u90e8\u989c\u8272\uff1a",iL:"\u4fe1\u53f7\u5f3a\u5ea6\uff1a",ib:"\u901f\u5ea6\uff1a",hN:"\u81ea\u52a8\u5206\u9875\uff1a",hI:"\u661f\u661f\u4e2a\u6570\uff1a",hJ:"\u661f\u661f\u5927\u5c0f\uff1a",hV:"\u5f00\u59cb\u89d2\u5ea6\uff1a",fy:"\u5f00\u59cb\u7bad\u5934\uff1a",hQ:"\u5f00\u59cb\u8fb9\u6846\uff1a",e0:"\u5076\u6570\u884c\uff1a",ed:"\u5185\u5bb9\u5b57\u53f7\uff1a",e1:"\u5947\u6570\u884c\uff1a",eZ:"\u5185\u5bb9\u884c\u9ad8\uff1a",eW:"\u5c45\u4e2d",eV:"\u5c45\u5de6",eX:"\u5c45\u53f3",eU:"\u5185\u5bb9\u5bf9\u9f50\uff1a",eI:"\u5408\u5e76",eH:"\u8fb9\u6846\u884c\u4e3a\uff1a",eJ:"\u5206\u79bb",eL:"\u8fb9\u6846\u663e\u793a\uff1a",eR:"\u5217\u5bbd\uff1a",eS:"\u7559\u767d\uff1a",eb:"\u8868\u5934\u5b57\u53f7\uff1a",ec:"\u8868\u5934\u80cc\u666f\uff1a",eY:"\u8868\u5934\u884c\u9ad8\uff1a",eT:"\u5feb\u6377\u76ae\u80a4\uff1a",gq:"\u6587\u5b57\u5bf9\u9f50\uff1a",dF:"\u5185\u5bb9\uff1a",fA:"\u7ebf\u4e0a\u4f4d\u7f6e\uff1a",hP:"\u6587\u5b57\u89d2\u5ea6\uff1a",f7:"\u5185\u5bb9\u95f4\u8ddd\uff1a",jE:"\u6587\u672c\uff1a",eh:"\u6807\u9898\u5bf9\u9f50\uff1a",dO:"\u5143\u7d20\u540d\u79f0\uff1a",iw:"\u9876\u90e8\u989c\u8272\uff1a",kS:"\u7c7b\u578b\uff1a",dU:"\u5782\u76f4\u95f4\u9694\uff1a",eC:"\u503c\uff1a",iY:"\u6d77\u62a5\u5730\u5740\uff1a",iX:"\u89c6\u9891\u5730\u5740\uff1a",iP:"\u97f3\u91cf\uff1a",gP:"\u7f51\u7edc\u56fe\u7247\uff1a",ee:"\u5f00\u59cb\u65e5\u671f\uff1a",dB:"\u5bbd\uff1a",iK:"\u8054\u63a5\uff1a",ia:"\u65cb\u8f6c\uff1a",gx:"X\u8f74\u8303\u56f4\uff1a",gw:"X\u8f74\u6807\u9898\uff1a",gA:"X\u63d0\u793a\u7ebf\uff1a",fB:"\u6c34\u5e73\u504f\u79fb\uff1a",dz:"X\u5750\u6807\uff1a",gz:"Y\u8f74\u8303\u56f4\uff1a",gy:"Y\u8f74\u6807\u9898\uff1a",gB:"Y\u63d0\u793a\u7ebf\uff1a",fC:"\u5782\u76f4\u504f\u79fb\uff1a",dA:"Y\u5750\u6807\uff1a",b0:"\u8bfb\u53d6\u5185\u5bb9\u5931\u8d25\uff1a",dl:"\u91cd\u505a(Ctrl+Y,Ctrl+Shift+Z)",jR:"\u6e05\u9664\u989c\u8272",kT:"\u70b9\u51fb\u5220\u9664\u5143\u7d20",kU:"\u70b9\u51fb\u5220\u9664\u5386\u53f2\u8bb0\u5f55",kf:"\u6e05\u9664\u56fe\u7247",kV:"\u6e05\u9664\u5173\u952e\u5b57",b4:"\u7f16\u8f91\u533a\u6570\u636e",db:"\u4fdd\u5b58\u5931\u8d25",dc:"\u4fdd\u5b58\u6210\u529f~",dd:"\u8bf7\u9009\u62e9\u6570\u636e\u6e90",de:"\u6388\u6743\u53ca\u6e90\u7801\u8bf7\u8054\u7cfb\u5fae\u4fe1\uff1aqq84685009 ©2018-"+(new Date).getFullYear(),b2:"\u901a\u7528\u8bbe\u8ba1\u5668",c9:"\u7cfb\u7edf\u6b63\u5fd9...",dk:"\u64a4\u9500(Ctrl+Z)",hb:"\u5398\u7c73(cm)",he:"\u82f1\u5bf8(in)",ha:"\u6beb\u7c73(mm)",hf:"\u6d3e\u5361(pc)",hd:"\u78c5(pt)",hc:"\u50cf\u7d20(px)",hg:"1/4\u6beb\u7c73(q)",dt:"\u653e\u5927(Ctrl+\u52a0\u53f7)",ds:"\u7f29\u5c0f(Ctrl+\u51cf\u53f7)"}})),define("1g/2b",["1h"],((t,e,i)=>{let r=t("1h"),{Service:s,toUrl:o,config:l,guid:a,State:d}=r,h=(t,e)=>{let i,r;return t.success?r=t.data:i=t.message||`\u63a5\u53e3${e}\u9519\u8bef`,{_eN:i,_eO:r}},n=s.extend(((t,e)=>{d.fire("b9",{_eA:1});let i=t.get("_eP")||"GET",r=t.get("_eu"),s=t.get("_et"),a=t.get("url"),n={Accept:"application/json","Content-type":"application/x-www-form-urlencoded;charset=utf-8"},c={method:i,credentials:"include"};t.get("_eQ")||(c.headers=n);let p=l("version");r||(r={}),r.v=p,r&&(a=o(a,r)),s&&(c.body=s),((t,e)=>fetch(t,e).then((t=>{if(t.ok)return t.json();throw Error(t.statusText||"Network error")})))(a,c).then((i=>{d.fire("b9");let{_eN:r,_eO:s}=h(i,a);r?e({message:r}):(t.set({data:s}),e())})).catch((t=>{e({message:t.message})}))}));n.add([{name:"_eR",url:l("getImageUrl"),cache:18e5},{name:"_eC",url:l("getFieldUrl"),cache:18e5},{name:"_dO",url:l("getTemplateUrl"),cache:18e5},{name:"_es",url:l("saveContentUrl"),_eP:"post"},{name:"_eG",url:l("getContentUrl")},{name:"_eH",url:l("presetUrl")},{name:"_eS",cache:18e5},{name:"_eT",_eP:"post"}]),n._eU=h,i.exports=n})),define("1g/1k",["1h","./1j"],((t,e,i)=>{let r=t("1h"),s=t("./1j"),{State:o,node:l,config:a}=r,{sqrt:d,pow:h,atan:n,PI:c,sin:p,cos:g,min:f,max:b,atan2:u,tan:x,abs:y}=Math,m=c/180,w={tl:2,tm:2,tr:3,mr:3,br:0,bm:0,bl:1,ml:1},_=()=>l("_rd_sc").getBoundingClientRect();i.exports={bJ:_,bN({x:t,y:e}){let i=_();return{x:t=t-i.x-scrollX,y:e=e-i.y-scrollY}},bP(t,{x:e,y:i,f:r}){let s=t;if(r)for(;s.parentNode&&"hod"!=s.dataset.as;)s=s.parentNode;let o=s.getBoundingClientRect();return{x:e=e-o.x-scrollX,y:i=i-o.y-scrollY}},bQ({x:t,y:e}){let i=_();return{x:t=t+i.x+scrollX,y:e=e+i.y+scrollY}},bM(t){let e=t/o.get("bL");return s.bL(e)},bR:t=>t*o.get("bL"),bK({x:t,y:e,width:i,height:r,rotate:s}){s||(s=0);let o=d(h(i,2)+h(r,2))/2,l=i?180*n(r/i)/c:90,a=180-s-l,u=l-s,x=90-s,y=i/2,w=r/2,_=t+y,k=e+w,v={x:_+o*g(a*m),y:k-o*p(a*m)},j={x:_+o*g(u*m),y:k-o*p(u*m)},L={x:_-o*g(a*m),y:k+o*p(a*m)},R={x:_-o*g(u*m),y:k+o*p(u*m)},S={x:_+w*g(x*m),y:k-w*p(x*m)},M={x:_+y*g(s*m),y:k+y*p(s*m)},F={x:_-w*p(s*m),y:k+w*g(s*m)},X={x:_-y*g(s*m),y:k-y*p(s*m)},C=f(v.x,j.x,L.x,R.x),A=b(v.x,j.x,L.x,R.x),z=f(v.y,j.y,L.y,R.y),B=b(v.y,j.y,L.y,R.y);return{_ct:[v,j,L,R],_eV:[S,M,F,X],_cx:A-C,_cy:B-z,_cv:C,_dT:A,_cw:z,_dU:B,_cM:_,_cN:k}},bS:(t,e)=>(360+180*u(t.y-e.y,t.x-e.x)/c)%360,bT:t=>w[t],bU(t,e,i){let r=d(h(t.x-e.x,2)+h(t.y-e.y,2));return{x:e.x+r*g(i*m),y:e.y+r*p(i*m)}},bV(t,e,i){let r=x(i*m);return{k:r,b:e-t*r}},bW(t,e,i,r){let s=(r-e)/(i-t);return{k:s,b:e-t*s}},bX:(t,e)=>d(h(t.x-e.x,2)+h(t.y-e.y,2)),bO(t,e){let[i,r]=t,[s,o]=e,l=((r.x-i.x)*(s.y-i.y)-(r.y-i.y)*(s.x-i.x))*((r.x-i.x)*(o.y-i.y)-(r.y-i.y)*(o.x-i.x)),a=((o.x-s.x)*(i.y-s.y)-(o.y-s.y)*(i.x-s.x))*((o.x-s.x)*(r.y-s.y)-(o.y-s.y)*(r.x-s.x));return l<0&&a<0},bL(t,e,i){let r=t.width/2,s=t.height/2,o=e.width/2,l=e.height/2,a=t.x+r,d=t.y+s,h=e.x+o,n=e.y+l,c=i?-1:1;return y(h-a)<=r+c*o&&y(n-d)<=s+c*l},bY({rows:t},e,i,r){for(let r of t){for(let t of i)null!=r[t]&&(r[t]*=e);for(let t of r.cols)for(let r of i)null!=t[r]&&(t[r]*=e)}r&&(r.rows=t)},bZ(t,e,i){let r=[];for(let t of e){let e={...t,cols:[]};for(let t of i)null!=e[t]&&(e[t]=this.bM(e[t]));for(let r of t.cols){let t={...r};for(let e of i)null!=t[e]&&(t[e]=this.bM(t[e]));e.cols.push(t)}r.push(e)}t.rows=r},b0(t,e,i){for(let r of t){for(let t of i)null!=r[t]&&(r[t]=s.cC(r[t],e));for(let t of r.cols)for(let r of i)null!=t[r]&&(t[r]=s.cC(t[r],e))}}}})),define("1g/1j",["1h","./21"],((t,e,i)=>{let r=t("1h"),s=t("./21"),{State:o,isArray:l,isObject:a}=r,{round:d,pow:h,abs:n}=Math,c=1e-7,p={px:0,mm:2,cm:3,pt:2,in:3,pc:3,q:1},g={px:{bJ:1,bK:1}},f=t=>{if(!g[t]){0;let e=document.createElement("div"),i=1e3;e.style.cssText=`width:${i}${t};position:absolute;left:-${i}${t};top:-10px`,document.body.appendChild(e);let r=e.clientWidth;document.body.removeChild(e);let s=i/r,o=r/i;g[t]={bJ:s,bK:o}}},b=(t,e)=>(e=e||o.get("bM"),f(e),t*g[e].bK),u=t=>{if(t)if(l(t)){let e=[];for(let i of t)e.push(u(i));t=e}else if(a(t)){let e={};for(let i in t)e[i]=u(t[i]);t=e}return t};i.exports={bZ:50,bR:900,b0:1,b1:1,b2:1,b3:1,b4:1,bY:1,b5:1,b6:[80,380,80,240],b7:793,b8:1122,b9:6e3,c_:6e3,ca:20,cb:5,cc:1,cd:s.bK,ce:s.bL|s.bM,bW:0,bN:20,bM:500,bJ:1,cf:4,cg:.5,ch:.5,ci:0,bQ:1,bP:10,cj:1,ck:5,cl:8,cm:4,cn:1,co:1,bT:10,cp:3,cq:200,cr:0,cs:1,ct:1,cu:[{value:"SimSun",text:"bP"},{value:"SimHei",text:"bQ"},{value:"Microsoft YaHei",text:"bR"},{value:"Microsoft JhengHei",text:"bS"},{value:"KaiTi",text:"bT"},{value:"LiSu",text:"bU"},{value:"YouYuan",text:"bV"},{value:"Arial",text:"Arial"},{value:"Times New Roman",text:"Times New Roman"},{value:"Tahoma",text:"Tahoma"},{value:"webdings",text:"webdings"},{value:"Arial Black",text:"Arial Black"},{value:"Arial Narrow",text:"Arial Narrow"},{value:"Arial Unicode MS",text:"Arial Unicode MS"},{value:"monospace",text:"Monospace"}],cv:[{text:"bW",value:"solid"},{text:"bX",value:"dotted"},{text:"bY",value:"dashed"},{text:"bZ",value:"double"}],cw:"mm",cx:1,bV:t=>(t=t||o.get("bM"),f(t),g[t].bJ),cy:t=>(t=t||o.get("bM"),p[t]),bO:{px:{_bZ:0,.5:{space:200,step:10},1:{space:100,step:10},1.5:{space:70,step:10.5},2:{space:50,step:10},2.5:{space:40,step:10},3:{space:35,step:10.5},3.5:{space:28,step:9.8},4:{space:20,step:8}},mm:{_bZ:0,.5:{space:151.2,step:7.56},1:{space:75.6,step:7.56},1.5:{space:49.14,step:7.371},2:{space:37.8,step:7.56},2.5:{space:30.24,step:7.56},3:{space:26.46,step:7.938},3.5:{space:21.168,step:7.4088},4:{space:15.12,step:6.048}},in:{_bZ:2,.5:{space:192,step:9.6},1:{space:96,step:9.6},1.5:{space:67.2,step:10.08},2:{space:48,step:9.6},2.5:{space:38.4,step:9.6},3:{space:33.6,step:10.08},3.5:{space:26.88,step:9.408},4:{space:19.2,step:7.68}},pt:{_bZ:0,.5:{space:213.28,step:10.664},1:{space:106.64,step:10.664},1.5:{space:74.648,step:11.1972},2:{space:53.32,step:10.664},2.5:{space:42.656,step:10.664},3:{space:37.324,step:11.1972},3.5:{space:29.8592,step:10.45072},4:{space:21.328,step:8.5312}},cm:{_bZ:1,.5:{space:151.18,step:7.559},1:{space:75.59,step:7.559},1.5:{space:52.913,step:7.93695},2:{space:37.795,step:7.559},2.5:{space:30.236,step:7.559},3:{space:26.4565,step:7.93695},3.5:{space:21.1652,step:7.40782},4:{space:15.118,step:6.0472}},pc:{_bZ:1,.5:{space:160,step:8},1:{space:80,step:8},1.5:{space:54.4,step:8.16},2:{space:40,step:8},2.5:{space:32,step:8},3:{space:27.2,step:8.16},3.5:{space:22.4,step:7.84},4:{space:16,step:6.4}},q:{_bZ:0,.5:{space:151.2,step:7.56},1:{space:75.6,step:7.56},1.5:{space:51.03,step:7.6545},2:{space:37.8,step:7.56},2.5:{space:30.24,step:7.56},3:{space:24.57,step:7.371},3.5:{space:18.9,step:6.615},4:{space:15.12,step:6.048}}},bL(t,e,i){i=i||o.get("bM"),null==e&&(e=p[i]);let r=h(10,e);return d(t*=r)/r},bK:(t,e)=>(e=e||o.get("bM"),f(e),t*=g[e].bJ),cz:c,cA:(t,e)=>t<e?n(t-e)<c:1,bS:(t,e)=>n(t-e)<c,bX:b,cB(t){let e=b((t=>(t=t||o.get("bM"),1/h(10,p[t])))(t));return e>.5&&(e=.5),e},cC(t,e,i){i=i||o.get("bM"),f(i),f(e);let r=g[i],s=g[e];return t*r.bK*s.bJ},bU:u}})),define("1g/21",[],((t,e,i)=>{i.exports={bJ:1,bN:2,bU:4,bM:1,bV:2,bL:4,bP:1,bK:2,bW:1,bT:2,bR:4,bS:8,bX:16,bY:32,bZ:64,bO:128,b0:256,bQ:512,b1:1024,b2:2048}})),define("27/base/index",["1h"],((t,e,i)=>{let r=t("1h"),{min:s}=Math;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,{props:s,unit:o}=t;return r=[e("div",{class:"cr dR",style:"left:"+s.x+o+";top:"+s.y+o+";width:"+s.width+o+";height:"+s.height+o+";opacity:"+s.alpha+";transform:rotate("+s.rotate+"deg)"})],e(i,0,r)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:o}=e,l=s(r,o)/2;i>l&&(i=l),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/barcode/index",["1h","../../24/barcode"],((t,e,i)=>{let r={class:"cF cI cZ ck"},s=t("1h"),o=t("../../24/barcode"),{View:l,mark:a,task:d,isArray:h}=s;i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l=[],{error:a,text:d,props:h,unit:n}=t;return(a||d)&&(o=[],a?(s=[e(0,a)],o.push(e("div",r,s))):o.push(e("img",{id:"_rd_"+i+"_bar",class:"b8 cj ck cl"},1)),l.push(e("div",{class:"cr dA dR",style:"left:"+h.x+n+";top:"+h.y+n+";height:"+h.height+n+";opacity:"+h.alpha+";width:"+h.width+n+";transform:rotate("+h.rotate+"deg)"},o))),e(i,0,l)},assign(t){this.set(t);let{props:e}=t,{bind:i,text:r}=e;if(i.id){let t=i.fields[0];if(i._tip)r=i._tip;else if(i._data){let e=i._data;h(e)&&(e=e[0]),r=e[t.id]}else r=`[bind:${t.id}]`}this.set({text:r})},async render(){let t=a(this,"_bQ");await this.digest({error:null});try{if(await o._f1(),t()){let{linewidth:e,format:i,showText:r,styleBold:s,styleItalic:o,color:l}=this.get("props"),h=this.get("text");!h||h==this._f2&&i==this._f3&&r==this._f4&&e==this._f5&&l==this._f6&&s==this._f7&&o==this._f8||(t=a(this,"_f9"),d((()=>{if(t()){this._f7=s,this._f8=o;let t="";s&&(t="bold"),o&&(s&&(t+=" "),t+="italic"),JsBarcode(`#_rd_${this.id}_bar`,this._f2=h,{lineColor:this._f6=l,width:this._f5=e,fontOptions:t,format:this._f3=i,displayValue:this._f4=r})}})))}}catch(e){t()&&this.digest({error:e})}}})})),define("27/batch-qrcode/index",["1h","../../24/qrcode"],((t,e,i)=>{let r={class:"cF cI cZ ck"},s=t("1h"),o=t("../../24/qrcode"),{View:l,mark:a,node:d,task:h,isArray:n}=s;i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l=[],{error:a,text:d,props:h,unit:n}=t;return(a||d)&&(o=[],a&&(s=[e(0,a)],o.push(e("div",r,s))),o.push(e("div",{id:"_rd_"+i+"_qr"})),l.push(e("div",{class:"cr dA dR",style:"left:"+h.x+n+";top:"+h.y+n+";height:"+h.height+n+";opacity:"+h.alpha+";width:"+h.width+n+";transform:rotate("+h.rotate+"deg)"},o))),e(i,0,l)},assign(t){this.set(t);let{props:e}=t,{bind:i,text:r}=e;if(i.id){let t=i.fields[0];if(i._tip)r=i._tip;else if(i._data){let e=i._data;n(e)&&(e=e[0]),r=e[t.id]}else r=`[\u7ed1\u5b9a:${t.name}]`}this.set({text:r})},async render(){let t=a(this,"_bQ");await this.digest({error:null});try{if(await o(),t()){let e=this.get("text")+"";if(e&&e!=this._f2){let i=this._gc;if(!i){let t=d(`_rd_${this.id}_qr`);i=new QRCode(t),this._gc=i}t=a(this,"_gd"),h((()=>{if(t()){i.makeCode(this._f2=e),this.root.querySelector("img").classList.add("cj")}}))}}}catch(e){t()&&this.digest({error:e})}}})})),define("27/batch-text/index",["1h","../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../24/format"),{View:o,isArray:l}=r,{min:a}=Math;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,bw:d,safeHTML:h,text:n,textReturn:c}=t;return o=[e(0,l.richtext?h(n):c(n),1)],s="left:"+l.x+a+";top:"+l.y+a+";color:"+l.forecolor+";",l.background&&(s+="background:"+l.background+";"),s+="font-size:"+l.fontsize+a+";min-height:"+l.height+a+";letter-spacing:"+l.letterspacing+a+";opacity:"+l.alpha+";",l.styleBold&&(s+="font-weight:bold;"),l.styleItalic&&(s+="font-style:italic;"),(l.styleUnderline||l.styleStrike||l.styleOverline)&&(s+="text-decoration:",l.styleStrike?s+="line-through":l.styleOverline?s+="overline":s+="underline",s+=";"),s+="align-items:"+l.vpos+";justify-content:"+l.hpos+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg);font-family:"+l.fontfamily+";",d&&(s+="border:"+d+a+" "+l.bordertype+" "+l.bordercolor+";"),l.autoReturn?s+="word-break:break-all":s+="max-height:"+l.height+"px",r=[e("div",{class:"cF cr dA dR",style:s},o)],e(i,0,r)},assign(t){this.set(t);let{props:e}=t,{text:i,bind:r,format:o,borderwidth:d,width:h,height:n}=e;if(r.id){let t=r.fields[0];if(r._tip)i=r._tip;else if(r._data){let e=r._data;l(e)&&(e=e[0]),i=e[t.id],i=s._ge(o,i,e)}else i=`[\u7ed1\u5b9a:${t.name}]`}let c=a(h,n)/2;d>c&&(d=c),this.set({bw:d,text:i})},render(){this.digest()}})})),define("27/calendar/index",["1h","../../1o/1r/index"],((t,e,i)=>{let r={class:"c9 cj ck co"},s=t("1h"),o=t("../../1o/1r/index"),{View:l}=s,a="\u65e5\u4e00\u4e8c\u4e09\u56db\u4e94\u516d".split("");i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l,a,d,h,n,{props:c,unit:p,weekText:g,weeks:f}=t;d=[],l=[];for(let t=g.length,i=0;i<t;i+=1){o=[e(0,g[i])],l.push(e("td",{style:"font-size:"+c.theadFontsize+p+";background:"+c.theadRowBackground},o))}d.push(e("tr",0,l));for(let t=f.length,i=0;i<t;i+=1){let t=f[i];l=[];for(let i=t.length,r=0;r<i;r+=1){let i=t[r],s=`${i.year}-${i.month}-${i.day}`;a="",i.otherMonth||(a+=" "+i.day+" "),o=[e(0,a)],l.push(e("td",{style:"font-size:"+c.tbodyFontsize+p,title:!i.otherMonth&&s},o))}d.push(e("tr",0,l))}return h=[e("tbody",0,d)],n=[e("table",r,h)],s=[e("div",{class:"cr dA dR",style:"left:"+c.x+p+";top:"+c.y+p+";height:"+c.height+p+";opacity:"+c.alpha+";width:"+c.width+p+";transform:rotate("+c.rotate+"deg)"},n)],e(i,0,s)},init(){let t=this.render.bind(this);o._b9(3e5,t),this.on("destroy",(()=>{o._b8(t)}))},assign(t){this.set(t);let e=t.props.weekStart,i=a.slice(e);e>0&&(i=i.concat(a.slice(0,e))),this.set({weekText:i,weekStart:e})},render(){let t=new Date,e=t.getFullYear(),i=t.getMonth()+1,r=t.getDate();t.setHours(0,0,0,0);let s,o=(7-this.get("weekStart")+new Date(e,i-1,1).getDay())%7,l=[],a=[],d=((t,e)=>32-new Date(t,e-1,32).getDate())(e,i);for(s=1;s<=o;s++)a.push({otherMonth:!0});for(s=1;s<=d;s++)a.push({year:e,day:s,month:i}),(s+o)%7==0&&(l.push(a),a=[]);let h=a.length;if(h){let t=7;for(s=h;s<t&&(a.push({otherMonth:!0}),(s+1)%7!=0||(l.push(a),a=[],6!=l.length));s++);}this.digest({year:e,month:i,day:r,weeks:l})}})})),define("27/circle/index",["1h"],((t,e,i)=>{let r=t("1h"),{min:s}=Math;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,bw:a}=t;return s="border-radius:50%;left:"+o.x+l+";top:"+o.y+l+";",a&&(s+="border:"+a+l+" "+o.bordertype+" "+o.bordercolor+";"),o.fillcolor&&(s+="background:"+o.fillcolor+";"),s+="height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg)",r=[e("div",{class:"cr dR",style:s})],e(i,0,r)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:o}=e,l=s(r,o)/2;i>l&&(i=l),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/clock/index",["1h","../../1o/1r/index"],((t,e,i)=>{let r,s=t("1h"),o=t("../../1o/1r/index"),{View:l,applyStyle:a,mark:d,node:h,State:n}=s;a("c6",".fk{border-radius:50%}.fl{height:2px;border-radius:1px;width:calc(50% + 3px);top:calc(50% - 1px);left:calc(50% - 15px);transform-origin:15px center}.fm{height:4px;border-radius:2px;width:calc(50% - 15px);top:calc(50% - 2px);left:calc(50% - 12px);transform-origin:12px center}.fn{height:6px;border-radius:3px;width:calc(50% - 25px);top:calc(50% - 3px);left:calc(50% - 10px);transform-origin:10px center}.fo{height:6px;background:#fff6;box-shadow:0 0 0 2px #0006;border-radius:50%;width:6px;top:calc(50% - 3px);left:calc(50% - 3px)}.fp,.fq,.fr,.fs,.ft,.fu{left:4px;top:calc(50% - 2px);height:4px;width:calc(100% - 8px);border-left:4px solid;border-right:4px solid}.fq{transform:rotate(30deg)}.fr{transform:rotate(60deg)}.fs{transform:rotate(90deg)}.ft{transform:rotate(120deg)}.fu{transform:rotate(150deg)}"),i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l,{props:a,unit:d,scale:h}=t;return l=[e("div",{class:"cr fp",style:"border-color:"+a.markColor}),e("div",{class:"cr fq",style:"border-color:"+a.markColor}),e("div",{class:"cr fr",style:"border-color:"+a.markColor}),e("div",{class:"cr fs",style:"border-color:"+a.markColor}),e("div",{class:"cr ft",style:"border-color:"+a.markColor}),e("div",{class:"cr fu",style:"border-color:"+a.markColor}),e("div",{class:"cr fn",id:"_rd_h_"+i,style:"background-color:"+a.handleColor}),e("div",{class:"cr fm",id:"_rd_m_"+i,style:"background-color:"+a.handleColor}),e("div",{class:"cr fl",id:"_rd_s_"+i,style:"background-color:"+a.handleColor})],r?l.push(r):l.push(r=e("div",{_:"a;",class:"cr fo"})),o="left:"+a.x+d+";top:"+a.y+d+";height:"+a.height/h+d+";opacity:"+a.alpha+";width:"+a.width/h+d+";background-color:"+a.dialColor+";",1!=h&&(o+="transform:scale("+h+");transform-origin:0 0;"),s=[e("div",{class:"cr dR fk",style:o},l)],e(i,0,s)},assign(t){this.set(t)},async render(){let t=d(this,"_bQ");if(await this.digest({scale:n.get("bL")||1}),t()){let t=h("_rd_s_"+this.id),e=h("_rd_m_"+this.id),i=h("_rd_h_"+this.id),r=()=>{let r=new Date,s=(1e3*r.getSeconds()+r.getMilliseconds())/1e3,o=(60*r.getMinutes()+s)/60,l=(60*r.getHours()+o)/60;t.style.transform=`rotate(${6*s-90}deg)`,e.style.transform=`rotate(${6*o-90}deg)`,i.style.transform=`rotate(${30*l-90}deg)`};o._b9(32,r),this.on("destroy",(()=>{o._b8(r)}))}}})})),define("27/cprogress/index",["1h","../../1g/1j","../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/format"),{View:l,isArray:a}=r,{max:d,PI:h}=Math;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,{props:d,unit:h,radius:n,center:c,d1:p,d2:g,text:f,value:b}=t;return l=[],l.push(e("circle",{cx:"50%",cy:"50%",r:n,fill:"none",stroke:d.background,"stroke-width":d.border},1)),s="",d.roundCap?s+="round":s+="butt",l.push(e("circle",{cx:"50%",cy:"50%",r:n,fill:"none",stroke:d.fillcolor,transform:"rotate(-90 "+c+" "+c+")","stroke-width":d.border,"stroke-dasharray":p+","+g,"stroke-linecap":s},1)),d.showText&&(o=[e(0,f||b+"%")],l.push(e("text",{x:"50%",y:"50%",style:"text-anchor:middle; dominant-baseline:middle","font-family":d.fontfamily,"font-size":d.fontsize+h,fill:d.forecolor},o))),a=[e("svg",{style:"width:"+d.width+h+";height:"+d.height+h+";opacity:"+d.alpha},l)],r=[e("div",{class:"cr",style:"left:"+d.x+h+";top:"+d.y+h},a)],e(i,0,r)},assign(t){this.set(t);let{props:e}=t,{bind:i,value:r,textFormat:l,width:n,border:c}=e,p="";if(i.id){let t=i.fields[0];if(i._tip)p=i._tip,r=60;else if(i._data){let s=i._data;a(s)&&(s=s[0]),r=s[t.id],r=o._ge(l,r,e),!isNaN(r)&&isFinite(r)||(r=0),r<0?r=0:r>100&&(r=100)}else p=`[\u7ed1\u5b9a:${t.name}]`,r=60}let g=s.bX(n),f=d((g-c)/2,0),b=2*h*f,u=b*(r/100),x=b-u;this.set({center:g/2,d1:u,d2:x,radius:f,value:r,text:p})},render(){this.digest()}})})),define("27/data-celltable/index",["1h","../../1g/1j","../../24/format","../subs/barcode","../subs/qrcode"],((t,e,i)=>{t("../subs/barcode"),t("../subs/qrcode");let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/format"),l=o._ge.bind(o);i.exports=r.View.extend({tmpl:(t,e,i,r)=>{let s,o,l,a,d,h,n,c,p,g,{props:f,unit:b,toUnit:u,format:x}=t;o="";let y=f.borderwidth,m=f.bordertype,w=f.bordercolor,_=f.borderdeed,k=f.rows,v=f.bind;o+=" ";let j=("collapse"==_?1:2)*y;c=[];for(let t=k.length,s=0;s<t;s+=1){let t=k[s];n=[];for(let s=t.cols,c=s.length,p=0;p<c;p+=1){let c=s[p];if(h=[],v._tip)h.push(e(0,v._tip));else{o="";let s=c.paddingTop,n=c.paddingBottom,p=c.paddingLeft,g=c.paddingRight;o+=" ";let f,y=c.width-j-u(1),m=c.height-j-u(1);s>m&&(s=m),s+n>m&&(n=m-s),p>y&&(p=y),p+g>y&&(g=y-p),d=[],"text"==c.type?(c.bindKey?(o="",f=v._data&&v._data[c.bindKey],o+=" ",f=x(c.textFormat,f,v._data)):f=c.textContent,f&&(a=[e(0,f,1)],d.push(e("div",{class:!c.textAutoReturn&&"cC"},a)))):"image"==c.type?(f=c.bindKey?v._data&&v._data[c.bindKey]:c.imageContent,f&&(l="",(c.imageRotateX||c.imageRotateY)&&(l+=";transform:",c.imageRotateX&&(l+="rotateX(180deg)"),c.imageRotateY&&(l+=" rotateY(180deg)")),d.push(e("img",{class:"b8 cl cm",src:f,style:l},1)))):"barcode"==c.type?(f=c.bindKey?v._data&&v._data[c.bindKey]:c.barcodeContent,f&&d.push(e("div",{"mx5-owner":i,class:"cF",style:"height:"+(m-s-n)+b+";align-items:"+c.vpos,"mx5-view":"27/subs/barcode?lineColor="+r(c.barcodeColor)+"&lineWidth="+r(c.barcodeLineWidth)+"&showText="+r(c.barcodeShowText)+"&format="+r(c.barcodeFormat)+"&value="+r(f)}))):"qrcode"==c.type?(f=c.bindKey?v._data&&v._data[c.bindKey]:c.qrcodeContent,f&&d.push(e("div",{"mx5-owner":i,style:"height:"+(m-s-n)+b,"mx5-view":"27/subs/qrcode?vpos="+r(c.vpos)+"&value="+r(f)}))):c.bindKey&&d.push(e(0,"[\u672a\u6307\u5b9a\u6570\u636e\u5904\u7406\u65b9\u5f0f]"+(f??""))),l="padding:"+s+b+" "+g+b+" "+n+b+" "+p+b+";width:"+y+b+";height:",t.hasAutoReturn?l+="100%":l+=""+m+b,l+=";align-items:"+c.vpos+";justify-content:"+c.hpos+";opacity:"+c.alpha+";",c.background&&(l+="background:"+c.background+";"),"text"==c.type&&(l+="color:"+c.textForecolor+";letter-spacing:"+c.textLetterspacing+b+";",c.textStyleBold&&(l+="font-weight:bold;"),c.textStyleItalic&&(l+="font-style:italic;"),(c.textStyleUnderline||c.textStyleStrike||c.textStyleOverline)&&(l+="text-decoration:",c.textStyleStrike?l+="line-through":c.textStyleOverline?l+="overline":l+="underline",l+=";"),l+="font-family:"+c.textFontfamily+";font-size:"+c.textFontsize+b+";"),h.push(e("div",{class:"cF dA",style:l},d))}n.push(e("td",{class:"c7 d_",colspan:1!=c.colspan&&c.colspan,rowspan:1!=c.rowspan&&c.rowspan,style:"position:relative;width:"+c.width+b+";height:"+c.height+b+";border-left:"+(y?m:"dotted")+" "+y+b+" "+(y&&c.bLeft?w:"#0000")+";border-top:"+(y?m:"dotted")+" "+y+b+" "+(y&&c.bTop?w:"#0000")+";border-right:"+(y?m:"dotted")+" "+y+b+" "+(y&&c.bRight?w:"#0000")+";border-bottom:"+(y?m:"dotted")+" "+y+b+" "+(y&&c.bBottom?w:"#0000")},h))}c.push(e("tr",0,n))}return p=[e("tbody",0,c)],g=[e("table",{class:"c9 cj",style:"border-collapse:"+_},p)],s=[e("div",{class:"cr dR",style:"left:"+f.x+b+";top:"+f.y+b+";opacity:"+f.alpha+";width:"+f.width+b+";transform:rotate("+f.rotate+"deg)"},g)],e(i,0,s)},init(){this.set({toUnit:s.bK,format:l})},assign(t){for(let e of t.props.rows)for(let t of e.cols)if("text"==t.type&&t.textAutoReturn){e.hasAutoReturn=!0;break}this.set(t)},render(){this.digest()}})})),define("27/data-coltable/consts",[],((t,e,i)=>{i.exports={_gy:120,_gz:200,_gA:100}})),define("27/data-coltable/index",["1h"],((t,e,i)=>{let r,s,o=t("1h");i.exports=o.View.extend({tmpl:(t,e,i)=>{let o,l,a,d,h,n,c,p,{props:g,unit:f}=t;if(c=[],g.bind&&g.bind.fields&&g.bind.fields.length){h=[];for(let t=g.bind.fields,i=t.length,r=0;r<i;r+=1){let i=t[r];a=[e(0,i.name)],d=[e("div",{class:"db",style:"height:"+g.theadRowHeight+f+";line-height:"+g.theadRowHeight+f+";font-size:"+g.theadFontsize+f+";color:"+g.theadForecolor},a)],l="width:"+g.columns[i.id]+f+";border-color:"+g.bordercolor+";text-align:"+g.cellAlign+";",g.theadRowBackground&&(l+="background:"+g.theadRowBackground),h.push(e("th",{class:"c7 d_",style:l},d))}if(n=[e("tr",0,h)],c.push(e("thead",0,n)),n=[],g.bind)if(g.bind._tip)a=[e(0,g.bind._tip)],d=[e("div",{class:"db",style:"height:"+g.loadingHeight+f+";line-height:"+g.loadingHeight+f+";font-size:"+g.theadFontsize+f},a)],h=[e("td",{class:"c7 co dF d_ dy",colspan:g.bind.fields.length,style:"border-color:"+g.bordercolor},d)],n.push(e("tr",0,h));else for(let t=g.bind._data,i=t.length,r=0;r<i;r+=1){let i=t[r];h=[];for(let t=g.bind.fields,s=t.length,o=0;o<s;o+=1){a=[e(0,i[t[o].id])],d=[e("div",{class:"db",style:"height:"+g.tbodyRowHeight+f+";line-height:"+g.tbodyRowHeight+f+";font-size:"+g.tbodyFontsize+f+";color:"+g.tbodyForecolor},a)],l="text-align:"+g.cellAlign+";border-color:"+g.bordercolor+";",r%2&&g.tbodyOddRowBackground?l+="background:"+g.tbodyOddRowBackground:r%2==0&&g.tbodyEvenRowBackground&&(l+="background:"+g.tbodyEvenRowBackground),h.push(e("td",{class:"c7 d_",style:l},d))}n.push(e("tr",0,h))}c.push(e("tbody",0,n))}else a=[r||(r=e(0,"\u7ed1\u5b9a\u6570\u636e"))],d=[e("div",{class:"db",style:"height:"+g.theadRowHeight+f+";line-height:"+g.theadRowHeight+f+";font-size:"+g.theadFontsize+f+";color:"+g.theadForecolor},a)],l="text-align:"+g.cellAlign+";border-color:"+g.bordercolor+";",g.theadRowBackground&&(l+="background:"+g.theadRowBackground),h=[e("th",{class:"c7 d_",style:l},d)],n=[e("tr",0,h)],c.push(e("thead",0,n)),a=[s||(s=e(0,"\u8bf7\u5148\u7ed1\u5b9a\u6570\u636e"))],d=[e("div",{class:"db",style:"height:"+g.tbodyRowHeight+f+";line-height:"+g.tbodyRowHeight+f+";font-size:"+g.tbodyFontsize+f+";color:"+g.tbodyForecolor},a)],l="text-align:"+g.cellAlign+";border-color:"+g.bordercolor+";",g.tbodyOddRowBackground&&(l+="background:"+g.tbodyOddRowBackground),h=[e("td",{class:"c7 d_",style:l},d)],n=[e("tr",0,h)],c.push(e("tbody",0,n));return p=[e("table",{class:"c9 cj",style:"table-layout:fixed;border-color:"+g.bordercolor},c)],o=[e("div",{class:"cr dR",style:"left:"+g.x+f+";top:"+g.y+f+";opacity:"+g.alpha+";width:"+g.width+f},p)],e(i,0,o)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/data-ftable/index",["1h","../../1g/1j","../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/format"),l=o._ge.bind(o),a=t=>(t+="").length?t[0].toUpperCase()+t.substring(1):t;i.exports=r.View.extend({tmpl:(t,e,i,r,s,o)=>{let l,a,d,h,n,c,p,g,f,{props:b,unit:u}=t;a="",a+=" ";let x=b.borderwidth,y=b.bordertype,m=b.bordercolor,w=b.borderdeed,_=b.rows,k=b.bind;a+=" ";n=[];for(let t=_.length,l=0;l<t;l+=1){let t=_[l];if(!t.label&&!g&&k._showHead||t.label&&!b.hideLabel||t.data||t.total&&!b.hideTotal||f&&k._showFoot){h=[];for(let a=t.cols,n=a.length,c=0;c<n;c+=1){let t=a[c];if(d=[],k._tip)d.push(e(0,k._tip));else if(t.elements&&t.elements.length)for(let a=t.elements,h=a.length,n=0;n<h;n+=1){let t=a[n];d.push(e("div",{"mx5-owner":i,$:"props","mx5-view":"27/"+t.type+"/index?props="+o(s,t.props,"a;."+l+".a:."+c+".a-."+n+".a+")+"&unit="+r(u)}))}h.push(e("td",{class:"c7 dA d_",colspan:1!=t.colspan&&t.colspan,rowspan:1!=t.rowspan&&t.rowspan,style:"position:relative;width:"+t.width+u+";height:"+t.height+u+";border-left:"+(x?y:"dotted")+" "+x+u+" "+(x&&t.bLeft?m:"#0000")+";border-top:"+(x?y:"dotted")+" "+x+u+" "+(x&&t.bTop?m:"#0000")+";border-right:"+(x?y:"dotted")+" "+x+u+" "+(x&&t.bRight?m:"#0000")+";border-bottom:"+(x?y:"dotted")+" "+x+u+" "+(x&&t.bBottom?m:"#0000")},d))}n.push(e("tr",0,h))}t.total?f=1:t.label&&(g=1)}return c=[e("tbody",0,n)],p=[e("table",{class:"c9 cj",style:"border-collapse:"+w},c)],l=[e("div",{class:"cr dR",style:"left:"+b.x+u+";top:"+b.y+u+";opacity:"+b.alpha+";width:"+b.width+u},p)],e(i,0,l)},init(){this.set({format:l,toPx:s.bX,toUnit:s.bK,ftu:a})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/data-repeater/index",["1h"],((t,e,i)=>{let r={class:"cF"},s=t("1h");i.exports=s.View.extend({tmpl:(t,e,i,s,o,l)=>{let a,d,h,n,{props:c,unit:p}=t;n=[];for(let t=c.rows,s=t.length,a=0;a<s;a+=1){let s=t[a];h=[];for(let t=s.cols,r=t.length,n=0;n<r;n+=1){let r=t[n];d=[];for(let t=r.elements,s=t.length,h=0;h<s;h+=1){let r=t[h];d.push(e("div",{"mx5-owner":i,$:"props,unit","mx5-view":"27/"+r.type+"/index?props="+l(o,r.props,"a;."+a+".a:."+n+".a-."+h+".a+")+"&unit="+l(o,p,"b_")}))}h.push(e("div",{class:"cj ck cs dA",style:"height:"+s.height+p+";width:"+r.width+p+";border-top:"+r.borderTopStyle+" "+r.borderTopWidth+p+" "+r.borderTopColor+";border-right:"+r.borderRightStyle+" "+r.borderRightWidth+p+" "+r.borderRightColor+";border-bottom:"+r.borderBottomStyle+" "+r.borderBottomWidth+p+" "+r.borderBottomColor+";border-left:"+r.borderLeftStyle+" "+r.borderLeftWidth+p+" "+r.borderLeftColor+";border-radius:"+r.borderLeftTopRadius+p+" "+r.borderRightTopRadius+p+" "+r.borderRightBottomRadius+p+" "+r.borderLeftBottomRadius+p},d))}n.push(e("div",r,h))}return a=[e("div",{class:"cF cG cr dR",style:"left:"+c.x+p+";top:"+c.y+p+";opacity:"+c.alpha+";width:"+c.width+p+";height:"+c.height+p},n)],e(i,0,a)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/data-dtable/index",["1h","../../1g/1j","../../24/format","../subs/barcode","../subs/qrcode"],((t,e,i)=>{t("../subs/barcode"),t("../subs/qrcode");let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/format"),l=o._ge.bind(o),a=t=>(t+="").length?t[0].toUpperCase()+t.substring(1):t;i.exports=r.View.extend({tmpl:(t,e,i,r,s,o)=>{let l,a,d,h,n,c,p,g,f,b,u,x,{props:y,unit:m,toUnit:w,ftu:_,format:k}=t;a="",a+=" ";let v=y.borderwidth,j=y.bordertype,L=y.bordercolor,R=y.borderdeed,S=y.rows,M=y.bind;a+=" ";let F,X=("collapse"==R?1:2)*v;a+=" ",g=[];for(let t=S.length,l=0;l<t;l+=1){let t=S[l];if(t.label&&M._data&&M._data.length&&!y.hideLabel||!t.data&&!t.label&&!u&&M._showHead||x&&!y.hideFoot&&M._showFoot||t.total&&!y.hideTotal&&M._showAcc){p=[];for(let g=t.cols,f=g.length,b=0;b<f;b+=1){let f=g[b];if(c=[],M._tip)c.push(e(0,M._tip));else if(f.elements&&f.elements.length)for(let t=f.elements,a=t.length,d=0;d<a;d+=1){let a=t[d];c.push(e("div",{"mx5-owner":i,$:"props","mx5-view":"27/"+a.type+"/index?props="+o(s,a.props,"a;."+l+".a:."+b+".a-."+d+".a+")+"&unit="+r(m)}))}else{a="";let p=f.paddingTop,g=f.paddingBottom,u=f.paddingLeft,x=f.paddingRight;a+=" ";let y=f.width-X-w(1),v=Math.max(f.height-X-w(1),0);if(p>v&&(p=v),p+g>v&&(g=v-p),u>y&&(u=y),u+x>y&&(x=y-u),n=[],"text"==f.type)h=[e(0,f.textContent,1)],n.push(e("div",{class:!f.textAutoReturn&&"cC"},h));else if("image"==f.type)f.imageContent&&(d="",(f.imageRotateX||f.imageRotateY)&&(d+=";transform:",f.imageRotateX&&(d+="rotateX(180deg)"),f.imageRotateY&&(d+=" rotateY(180deg)")),n.push(e("img",{class:"b8 cl cm",src:f.imageContent,style:d},1)));else if("barcode"==f.type)f.barcodeContent&&n.push(e("div",{"mx5-owner":i,$:"props",class:"cF",style:"height:"+(v-p-g)+m+";align-items:"+f.vpos,"mx5-view":"27/subs/barcode?lineColor="+o(s,f.barcodeColor,"a;."+l+".a:."+b+".b_")+"&lineWidth="+o(s,f.barcodeLineWidth,"a;."+l+".a:."+b+".ba")+"&showText="+o(s,f.barcodeShowText,"a;."+l+".a:."+b+".bb")+"&format="+o(s,f.barcodeFormat,"a;."+l+".a:."+b+".bc")+"&value="+r(f.barcodeContent)}));else if("qrcode"==f.type)f.qrcodeContent&&n.push(e("div",{"mx5-owner":i,style:"height:"+(v-p-g)+m,"mx5-view":"27/subs/qrcode?vpos="+r(f.vpos)+"&value="+r(f.qrcodeContent)}));else if(t.total){a="";let t=F[b];a+=" ";let i=_(f.type);"text"==f.type?(h=[e(0,f.textContent)],n.push(e("div",{class:!f.textAutoReturn&&"cC"},h))):"custom"==f.type?(h=[e(0,k(f.textFormat,f.totalData,M._data,M._all))],n.push(e("div",{class:!f.textAutoReturn&&"cC"},h))):null!=f.totalData[t.bindKey+i]&&(h=[e(0,k(f.textFormat,f.totalData[t.bindKey+i],f.totalData))],n.push(e("div",{class:!f.textAutoReturn&&"cC"},h)))}d="padding:"+p+m+" "+x+m+" "+g+m+" "+u+m+";width:"+y+m+";",f.textAutoReturn&&(d+="min-"),d+="height:"+v+m+";align-items:"+f.vpos+";justify-content:"+f.hpos+";opacity:"+f.alpha+";",null!=f.textFontsize&&(d+="color:"+f.textForecolor+";letter-spacing:"+f.textLetterspacing+m+";",f.textStyleBold&&(d+="font-weight:bold;"),f.textStyleItalic&&(d+="font-style:italic;"),(f.textStyleUnderline||f.textStyleStrike||f.textStyleOverline)&&(d+="text-decoration:",f.textStyleStrike?d+="line-through":f.textStyleOverline?d+="overline":d+="underline",d+=";"),d+="font-family:"+f.textFontfamily+";font-size:"+f.textFontsize+m+";"),c.push(e("div",{class:"cF dA",style:d},n))}d="position:relative;width:"+f.width+m+";height:"+f.height+m+";border-left:"+(v?j:"dotted")+" "+v+m+" "+(v&&f.bLeft?L:"#0000")+";border-top:"+(v?j:"dotted")+" "+v+m+" "+(v&&f.bTop?L:"#0000")+";border-right:"+(v?j:"dotted")+" "+v+m+" "+(v&&f.bRight?L:"#0000")+";border-bottom:"+(v?j:"dotted")+" "+v+m+" "+(v&&f.bBottom?L:"#0000")+";",f.background&&(d+="background:"+f.background),p.push(e("td",{class:"c7 dA d_",colspan:1!=f.colspan&&f.colspan,rowspan:1!=f.rowspan&&f.rowspan,style:d},c))}g.push(e("tr",0,p))}if(t.data){if(F=t.cols,M._data){let s=M._rHeights;for(let o=M._data,l=o.length,f=0;f<l;f+=1){let l=o[f];p=[];let b=s&&s[f];for(let s=t.cols,o=s.length,g=0;g<o;g+=1){let t=s[g];if(c=[],M._tip)c.push(e(0,M._tip));else{a="";let s=t.paddingTop,o=t.paddingBottom,p=t.paddingLeft,g=t.paddingRight;a+=" ";let f,u=t.width-X,x=(b||t.height)-X;s>x&&(s=x),s+o>x&&(o=x-s),p>u&&(p=u),p+g>u&&(g=u-p),n=[],"text"==t.type?(t.bindKey&&(a="",f=l[t.bindKey],a+=" ",f=k(t.textFormat,f,l)),f&&(h=[e(0,f,1)],n.push(e("div",{class:!t.textAutoReturn&&"cC"},h)))):"image"==t.type?(t.bindKey&&(f=l[t.bindKey]),f&&(d="height:"+(x-s-o)+"px;",(t.imageRotateX||t.imageRotateY)&&(d+=";transform:",t.imageRotateX&&(d+="rotateX(180deg)"),t.imageRotateY&&(d+=" rotateY(180deg)")),n.push(e("img",{class:"b8 cl cm",src:f,style:d},1)))):"barcode"==t.type?(t.bindKey&&(f=l[t.bindKey]),f&&n.push(e("div",{"mx5-owner":i,class:"cF",style:"height:"+(x-s-o)+m+";align-items:"+t.vpos,"mx5-view":"27/subs/barcode?lineColor="+r(t.barcodeColor)+"&lineWidth="+r(t.barcodeLineWidth)+"&showText="+r(t.barcodeShowText)+"&format="+r(t.barcodeFormat)+"&value="+r(f)}))):"qrcode"==t.type?(t.bindKey&&(f=l[t.bindKey]),f&&n.push(e("div",{"mx5-owner":i,style:"height:"+(x-s-o)+m,"mx5-view":"27/subs/qrcode?vpos="+r(t.vpos)+"&value="+r(f)}))):t.bindKey&&n.push(e(0,"[\u672a\u6307\u5b9a\u6570\u636e\u5904\u7406\u65b9\u5f0f]"+f)),d="padding:"+s+m+" "+g+m+" "+o+m+" "+p+m+";width:"+u+m+";",t.textAutoReturn&&(d+="min-"),d+="height:"+x+m+";align-items:"+t.vpos+";justify-content:"+t.hpos+";opacity:"+t.alpha+";","text"==t.type&&(d+="color:"+t.textForecolor+";letter-spacing:"+t.textLetterspacing+m+";",t.textStyleBold&&(d+="font-weight:bold;"),t.textStyleItalic&&(d+="font-style:italic;"),(t.textStyleUnderline||t.textStyleStrike||t.textStyleOverline)&&(d+="text-decoration:",t.textStyleStrike?d+="line-through":t.textStyleOverline?d+="overline":d+="underline",d+=";"),d+="font-family:"+t.textFontfamily+";font-size:"+t.textFontsize+m+";"),c.push(e("div",{class:"cF dA",style:d},n))}d="position:relative;width:"+t.width+m+";border-left:"+(v?j:"dotted")+" "+v+m+" "+(v&&t.bLeft?L:"#0000")+";border-top:"+(v?j:"dotted")+" "+v+m+" "+(v&&t.bTop?L:"#0000")+";border-right:"+(v?j:"dotted")+" "+v+m+" "+(v&&t.bRight?L:"#0000")+";border-bottom:"+(v?j:"dotted")+" "+v+m+" "+(v&&t.bBottom?L:"#0000")+";",t.background&&(d+="background:"+t.background),p.push(e("td",{class:"c7 d_",colspan:1!=t.colspan&&t.colspan,rowspan:1!=t.rowspan&&t.rowspan,style:d},c))}g.push(e("tr",0,p))}}}else t.total?x=1:t.label&&(u=1)}return f=[e("tbody",0,g)],b=[e("table",{class:"c9 cj",style:"border-collapse:"+R},f)],l=[e("div",{class:"cr dR",style:"left:"+y.x+m+";top:"+y.y+m+";opacity:"+y.alpha+";width:"+y.width+m},b)],e(i,0,l)},init(){this.set({format:l,toPx:s.bX,toUnit:s.bK,ftu:a})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/form-checkbox/index",["1h"],((t,e,i)=>{let r={checked:"checked"},s=t("1h"),{View:o,node:l,dispatch:a,isArray:d,isObject:h}=s;i.exports=o.extend({tmpl:(t,e,i)=>{let s,o,l,a,d,h,{props:n,unit:c}=t;h=[];for(let t=n.items,i=t.length,s=0;s<i;s+=1){let i=t[s],o=0===s;d=[e("input",{name:n.inputName,class:"bM",type:"checkbox",checked:i.checked,disabled:i.disabled,value:i.value},1,r)],a=[e(0,i.text)],d.push(e("span",{style:"color:"+n.forecolor+";font-size:"+n.fontsize+c+";letter-spacing:"+n.letterspacing+c+";font-family:"+n.fontfamily+";margin-left:"+n.textSpace+c},a)),l="",o||(l+="margin-","row"==n.rank?l+="left":l+="top",l+=":"+n.itemSpace+c),h.push(e("label",{class:"cF cH cI",style:l},d))}return o="cr dR cF","hidden"==n.overflow?o+=" dA":"visible"==n.overflow?o+=" dB":o+=" cA cB dC","column"==n.rank&&(o+=" cG"),s=[e("div",{style:"left:"+n.x+c+";top:"+n.y+c+";height:"+n.height+c+";opacity:"+n.alpha+";width:"+n.width+c+";transform:rotate("+n.rotate+"deg)",class:o},h)],e(i,0,s)},assign(t){let{props:e}=t,{items:i,bind:r}=e;if(r.id&&r.fields.length){i.length=0;let t=r._data,e=r.fields[0].id;d(t)||(t=[t]);for(let r of t){let t=r[e];h(t)&&i.push(t)}}this.set(t)},render(){this.digest()}})})),define("27/form-collect/index",["1h","../../1g/1j","../../24/format","../../24/table","../subs/barcode","../subs/qrcode"],((t,e,i)=>{let r,s;t("../subs/barcode"),t("../subs/qrcode");let o={class:"cF cI cU cZ cj ck"},l={class:"cC"},a={value:"value"},d={selected:"selected"},h=t("1h"),n=t("../../1g/1j"),c=t("../../24/format"),p=t("../../24/table"),{View:g,mark:f,dispatch:b,node:u,mix:x}=h,y=c._ge.bind(c),m=(t,e)=>t.startsWith("_")?void 0:e,w=t=>{let e=0;for(let i of t)for(let t of i)t._g1&&(e+=t._g2);return e},_=t=>{let e=0,i=0,r=0;for(let i of t)for(let t of i)t._g1&&(e+=t._g2,r++);return r>0&&(i=e/r),i};i.exports=g.extend({tmpl:(t,e,i,h,n,c)=>{let p,g,f,b,u,x,y,m,w,_,k,v,{props:j,unit:L,readonly:R,getMaxCol:S,excelTitle:M,toUnit:F,getSumByCell:X,format:C,calcSum:A,calcAvg:z,toPx:B}=t;g="";let T=j.borderwidth,O=j.bordertype,V=j.bordercolor,N=j.borderdeed,P=j.rows,Y=j.readonly,K=j.excel,I=j.excelLeft,W=j.excelTop,J=j.excelBackground,q=j.excelForecolor;g+=" ";let $,H,U=("collapse"==N?1:2)*T;g+=" ",g+=" ";let E=0;g+=" ";let D=R||Y;if(_=[],K){u=[],u.push(e("td",{class:"c7 d_",style:"height:"+W+L+";background:"+J+";border:"+(T?O:"dotted")+" "+T+L+" "+V}));let t=S(j);for(let i=0;i<t;i++)f=[e(0,M(i))],b=[e("div",o,f)],u.push(e("td",{class:"c7 d_",style:"height:"+W+L+";background:"+J+";border:"+(T?O:"dotted")+" "+T+L+" "+V+";color:"+q},b));_.push(e("tr",0,u))}for(let t=P.length,p=0;p<t;p+=1){let t=P[p];if(t.label&&($=1),t.total&&!j.hideTotal||t.data||t.label&&!j.hideLabel||!$&&!j.hideHead||H&&!j.hideFoot){u=[],K&&(f=[e(0,++E)],b=[e("div",o,f)],u.push(e("td",{class:"c7 d_",style:"width:"+I+L+";background:"+J+";border:"+(T?O:"dotted")+" "+T+L+" "+V+";color:"+q},b)));for(let o=t.cols,_=o.length,k=_-1,v=0;v<_;v+=1){let _=o[v],j=0===v,R=v===k;if(b=[],_.elements&&_.elements.length)for(let t=_.elements,r=t.length,s=0;s<r;s+=1){let r=t[s];b.push(e("div",{"mx5-owner":i,$:"props,readonly||eReadonly",id:r.id,"mx5-view":"27/"+r.type+"/index?props="+c(n,r.props,"a;."+p+".a:."+v+".a-."+s+".a+")+"&unit="+h(L)+"&readonly="+c(n,D),"mx5-elementinput":i+"\x1e_h_()"}))}else{g="";let o=_.paddingTop,u=_.paddingBottom,k=_.paddingLeft,S=_.paddingRight;g+=" ";let M=_.width-U-F(1),O=_.height-U-F(1);if(o>O&&(o=O),o+u>O&&(u=O-o),k>M&&(k=M),k+S>M&&(S=M-k),f=[],"text"==_.type)m=[e(0,_.textContent,1)],f.push(e("div",l,m));else if("image"==_.type)_.imageContent&&(y="",(_.imageRotateX||_.imageRotateY)&&(y+=";transform:",_.imageRotateX&&(y+="rotateX(180deg)"),_.imageRotateY&&(y+=" rotateY(180deg)")),f.push(e("img",{class:"b8 cl cm",src:_.imageContent,style:y},1)));else if("barcode"==_.type)_.barcodeContent&&f.push(e("div",{"mx5-owner":i,$:"props",class:"cF",style:"height:"+(O-o-u)+L+";align-items:"+_.vpos,"mx5-view":"27/subs/barcode?lineColor="+c(n,_.barcodeColor,"a;."+p+".a:."+v+".b_")+"&lineWidth="+c(n,_.barcodeLineWidth,"a;."+p+".a:."+v+".ba")+"&showText="+c(n,_.barcodeShowText,"a;."+p+".a:."+v+".bb")+"&format="+c(n,_.barcodeFormat,"a;."+p+".a:."+v+".bc")+"&value="+h(_.barcodeContent)}));else if("qrcode"==_.type)_.qrcodeContent&&f.push(e("div",{"mx5-owner":i,style:"height:"+(O-o-u)+L,"mx5-view":"27/subs/qrcode?vpos="+h(_.vpos)+"&value="+h(_.qrcodeContent)}));else if("input"==_.type)_.inputMultiline?(x="cj ck bO",_.inputClassName&&(x+=" "+_.inputClassName),f.push(e("textarea",{id:"ipt_"+i+"_"+p+"_"+v,readonly:!0===D,style:"color:"+_.inputForecolor+";font-size:"+_.inputFontsize+L+";letter-spacing:"+_.inputLetterspacing+L+";font-family:"+_.inputFontfamily+";text-align:"+_.inputTextAlign,placeholder:_.inputplaceholder,"mx5-input":i+"\x1e_g9({cell:'"+c(n,_,"a;."+p+".a:."+v+".bd")+"'})",value:_.inputUserValue||_.inputText,class:x},0,a))):(x="cj ck bN",_.inputClassName&&(x+=" "+_.inputClassName),f.push(e("input",{id:"ipt_"+i+"_"+p+"_"+v,readonly:!0===D,style:"color:"+_.inputForecolor+";font-size:"+_.inputFontsize+L+";letter-spacing:"+_.inputLetterspacing+L+";font-family:"+_.inputFontfamily+";text-align:"+_.inputTextAlign,placeholder:_.inputPlaceholder,value:_.inputUserValue||_.inputText,"mx5-input":i+"\x1e_g9({cell:'"+c(n,_,"a;."+p+".a:."+v+".bd")+"'})",class:x},1,a)));else if("sum"==_.type||"custom"==_.type||"avg"==_.type){let t=X(_);"sum"==_.type?(m=[e(0,C(_.textFormat,A(t)),1)],f.push(e("div",l,m))):"avg"==_.type?(m=[e(0,C(_.textFormat,z(t)),1)],f.push(e("div",l,m))):(m=[e(0,C(_.textFormat,t),1)],f.push(e("div",l,m)))}else if("dropdown"==_.type){m=[];for(let t=_.dropdownItems,i=t.length,r=0;r<i;r+=1){let i=t[r];w=[e(0,i.text)],m.push(e("option",{disabled:i.disabled,selected:i.checked,value:i.value},w,d))}x="cj ck",_.dropdownClassName&&(x+=" "+_.dropdownClassName),f.push(e("select",{multiple:_.dropdownMultipleSelect,readonly:!0===D,style:"color:"+_.dropdownForecolor+";font-size:"+_.dropdownFontsize+L+";letter-spacing:"+_.dropdownLetterspacing+L+";font-family:"+_.dropdownFontfamily,name:_.dropdownName,"mx5-change":i+"\x1e_g9({cell:'"+c(n,_,"a;."+p+".a:."+v+".bd")+"'})",class:x},m))}else f.push(e(0,_.type));D||t.data&&(j&&(m=[r||(r=e(0,"\ue606"))],f.push(e("i",{style:"left:"+(-45-B(T)-(K?B(I):0))+"px;top:"+(B(O)-22)/2+"px",class:"bJ bR c3 co cr cu",title:"\u70b9\u51fb\u590d\u5236\u6dfb\u52a0\u5f53\u524d\u884c","mx5-click":i+"\x1e_ha({ri:"+p+"})"},m))),R&&t.copy&&(m=[s||(s=e(0,"\ue601"))],f.push(e("i",{style:"right:"+(-45-B(T))+"px;top:"+(B(O)-22)/2+"px",class:"bJ bR c3 co cr cu",title:"\u70b9\u51fb\u5220\u9664\u5f53\u524d\u884c","mx5-click":i+"\x1e_hb({ri:"+p+"})"},m)))),y="padding:"+o+L+" "+S+L+" "+u+L+" "+k+L+";width:"+M+L+";height:"+O+L+";align-items:"+_.vpos+";justify-content:"+_.hpos+";opacity:"+_.alpha+";",_.background&&(y+="background:"+_.background+";"),null!=_.textFontsize&&(y+="color:"+_.textForecolor+";letter-spacing:"+_.textLetterspacing+L+";",_.textStyleBold&&(y+="font-weight:bold;"),_.textStyleItalic&&(y+="font-style:italic;"),(_.textStyleUnderline||_.textStyleStrike||_.textStyleOverline)&&(y+="text-decoration:",_.textStyleStrike?y+="line-through":_.textStyleOverline?y+="overline":y+="underline",y+=";"),y+="font-family:"+_.textFontfamily+";font-size:"+_.textFontsize+L+";"),b.push(e("div",{class:"cF dA",style:y},f))}x="d_ c7",t.data||(x+=" dA"),u.push(e("td",{colspan:1!=_.colspan&&_.colspan,rowspan:1!=_.rowspan&&_.rowspan,style:"position:relative;width:"+_.width+L+";height:"+_.height+L+";border-left:"+(T?O:"dotted")+" "+T+L+" "+(T&&_.bLeft?V:"#0000")+";border-top:"+(T?O:"dotted")+" "+T+L+" "+(T&&_.bTop?V:"#0000")+";border-right:"+(T?O:"dotted")+" "+T+L+" "+(T&&_.bRight?V:"#0000")+";border-bottom:"+(T?O:"dotted")+" "+T+L+" "+(T&&_.bBottom?V:"#0000"),class:x},b))}_.push(e("tr",0,u))}t.total&&(H=1)}return k=[e("tbody",0,_)],v=[e("table",{class:"c9 cj",style:"border-collapse:"+N},k)],p=[e("div",{class:"cr dR",style:"left:"+j.x+L+";top:"+j.y+L+";opacity:"+j.alpha+";width:"+j.width+L},v)],e(i,0,p)},init(){this.set({format:y,toPx:n.bX,toUnit:n.bK,getMaxCol:t=>p.bJ(t,1)._go,getSumByCell:t=>{let{rows:e}=this.get("props"),i={};for(let r of e)if(r.data)for(let e of r.cols){let r=e._g3;if(r>=t._g3&&r<=t._g4){i[r]||(i[r]=[]);let t,s=e.inputUserValue||e.inputText,o=parseInt(s,10);t=isNaN(o)?{_g2:0,_g1:0}:{_g2:o,_g1:1},i[r].push(t)}}let r=[];for(let t in i)r.push(i[t]);return r},calcSum:w,calcAvg:_})},assign(t){t.overrideProps&&x(t.props,t.overrideProps),p.bJ(t.props,!0),t.overrideProps&&x(t.props,t.overrideProps),this.set(t)},async render(){let t=f(this,"_g5");await this.digest();let e=await this.getValue();t()&&this._g6(e)},_g6(t){t||(t=this._g7()),t.elementProps!=this._g8&&(this._g8=t.elementProps,delete t.id,delete t.type,b(this.root,"elementinput",t))},_g7(){let t=this.get("props"),e=JSON.stringify(t,m),{rows:i}=t,r={head:[],label:[],data:[],total:[],foot:[]},s=[],o=t=>{let e=[];for(let i of t)if("form-input"==i.type){let{userValue:t,text:r,inputName:o}=i.props;null==t&&(t=r),e.push({type:"form-input",value:t,name:o});let l=u(i.id);l&&s.push({node:l.querySelector("input"),type:"form-input",value:t,name:o})}else e.push(null);return e};for(let t=0;t<i.length;t++){let e,l=i[t],a=[];for(let e=0;e<l.cols.length;e++){let i=l.cols[e];if(i.elements&&i.elements.length)a.push(o(i.elements));else if("input"==i.type){let r;r=null!=i.inputUserValue?i.inputUserValue:i.inputText,a.push({value:r,type:"form-collect-input",name:i.inputName}),s.push({node:u(`ipt_${this.id}_${t}_${e}`),type:"form-collect-input",value:r,name:i.inputName})}else if("sum"==i.type||"custom"==i.type){let t,{getSumByCell:e,format:r,calcSum:s}=this.get(),o=e(i);t="sum"==i.type?r(i.textFormat,s(o)):r(i.textFormat,o),a.push({type:"total-sum",value:t})}else a.push(null)}l.head?e=r.head:l.label?e=r.label:l.data?e=r.data:l.total?e=r.total:l.foot&&(e=r.foot),e.push(a)}let l=this.get("id");return{id:l,type:"form-collect",props:t,elementId:l,elementType:"form-collect",elementProps:e,elementValue:r,elementInputs:s}},getValue(){return new Promise((t=>{let e=()=>{let i=this._g7(),r=1;for(let t of i.elementInputs)if(!t.node){r=0;break}r?t(i):setTimeout(e,50)};setTimeout(e,50)}))},"_g9<input>"(t){let{cell:e}=t.params,i=t.eventTarget;e.inputUserValue=i.value;let r=this.get("props");this.digest({props:r}),this._g6()},"_g9<change>"(t){},"_h_<elementinput>"(t){t.stopImmediatePropagation(),this._g6()},"_ha<click>"(t){let{ri:e}=t.params,i=this.get("props"),{rows:r}=i,s=r[e],o=0;for(let t of r){if(t.total)break;o++}p.bL(i,o,{},0);let l=r[o];l.data=!0,l.copy=!0;for(let t=s.cols.length;t--;){let e=s.cols[t],i=l.cols[t],r=JSON.parse(JSON.stringify(e));x(i,r)}p.bJ(i),this.set({props:i}),this.render()},"_hb<click>"(t){let{ri:e}=t.params,i=this.get("props");p.bM(i,e),p.bJ(i),this.set({props:i}),this.render()}})})),define("27/form-input/index",["1h"],((t,e,i)=>{let r={value:"value"},s=t("1h"),{View:o,node:l,dispatch:a}=s;i.exports=o.extend({tmpl:(t,e,i)=>{let s,o,l,{props:a,unit:d,readonly:h}=t;l=[];let n=h||a.readonly;return a.multiline?(o="cj ck bO",a.className&&(o+=" "+a.className),l.push(e("textarea",{id:"ipt_"+i,readonly:!0===n,style:"color:"+a.forecolor+";font-size:"+a.fontsize+d+";letter-spacing:"+a.letterspacing+d+";font-family:"+a.fontfamily+";text-align:"+a.textAlign,placeholder:a.placeholder,"mx5-input":i+"\x1e_g9()",value:a.userValue||a.text,class:o},0,r))):(o="cj ck bN",a.className&&(o+=" "+a.className),l.push(e("input",{id:"ipt_"+i,readonly:!0===n,style:"color:"+a.forecolor+";font-size:"+a.fontsize+d+";letter-spacing:"+a.letterspacing+d+";font-family:"+a.fontfamily+";text-align:"+a.textAlign,placeholder:a.placeholder,value:a.userValue||a.text,"mx5-input":i+"\x1e_g9()",class:o},1,r))),s=[e("div",{class:"cF cI cr dA dR",style:"left:"+a.x+d+";top:"+a.y+d+";height:"+a.height+d+";opacity:"+a.alpha+";width:"+a.width+d+";transform:rotate("+a.rotate+"deg)"},l)],e(i,0,s)},assign(t){this.set(t)},render(){this.digest()},getValue(){let t=this.get("props"),e=l(`ipt_${this.id}`),i=this.get("id");return{id:i,type:"form-input",props:t,elementId:i,elementType:"form-input",elementProps:JSON.stringify(t),elementValue:t.userValue,elementName:t.inputName,elementInput:e}},"_g9<input>"(t){this._fm(t);let{eventTarget:e}=t,i=e.value,r=this.get("props");r.userValue=i,a(this.root,"elementinput",{elementId:this.get("id"),elementType:"form-input",elementProps:JSON.stringify(r),elementValue:i,elementName:r.inputName,elementInput:e})}})})),define("27/form-radio/index",["1h"],((t,e,i)=>{let r={checked:"checked"},s=t("1h"),{View:o,node:l,dispatch:a,isArray:d,isObject:h}=s;i.exports=o.extend({tmpl:(t,e,i)=>{let s,o,l,a,d,h,{props:n,unit:c}=t;h=[];for(let t=n.items,i=t.length,s=0;s<i;s+=1){let i=t[s],o=0===s;d=[e("input",{name:n.inputName,class:"bM",type:"radio",checked:i.checked,disabled:i.disabled,value:i.value},1,r)],a=[e(0,i.text)],d.push(e("span",{style:"color:"+n.forecolor+";font-size:"+n.fontsize+c+";letter-spacing:"+n.letterspacing+c+";font-family:"+n.fontfamily+";margin-left:"+n.textSpace+c},a)),l="",o||(l+="margin-","row"==n.rank?l+="left":l+="top",l+=":"+n.itemSpace+c),h.push(e("label",{class:"cF cH cI",style:l},d))}return o="cr dR cF","hidden"==n.overflow?o+=" dA":"visible"==n.overflow?o+=" dB":o+=" cA cB dC","column"==n.rank&&(o+=" cG"),s=[e("div",{style:"left:"+n.x+c+";top:"+n.y+c+";height:"+n.height+c+";opacity:"+n.alpha+";width:"+n.width+c+";transform:rotate("+n.rotate+"deg)",class:o},h)],e(i,0,s)},assign(t){let{props:e}=t,{items:i,bind:r}=e;if(r.id&&r.fields.length){i.length=0;let t=r._data,e=r.fields[0].id;d(t)||(t=[t]);for(let r of t){let t=r[e];h(t)&&i.push(t)}}this.set(t)},render(){this.digest()}})})),define("27/formula/index",["1h","../../24/mathjax"],((t,e,i)=>{let r=t("1h"),s=t("../../24/mathjax"),{View:o,mark:l}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,html:a}=t;return s=[e(0,a,1)],r=[e("div",{class:"cr dA dR",style:"left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);padding:2px;color:"+o.color+";font-size:"+o.fontsize+l},s)],e(i,0,r)},assign(t){this.set(t)},async render(){let t=l(this,"_bQ");try{if(window.MathJax||await this.digest({html:"loading..."}),await s(),t()){let t=this.get("props").text,e=this._hd;t!=this._he&&(this._he=t,e=MathJax.tex2svg(t,{em:12,ex:6}).innerHTML,this._hd=e),this.digest({html:e})}}catch(e){t()&&this.digest({html:e})}}})})),define("27/form-dropdown/index",["1h"],((t,e,i)=>{let r={selected:"selected"},s=t("1h"),{View:o,node:l,dispatch:a,isArray:d,isObject:h}=s;i.exports=o.extend({tmpl:(t,e,i)=>{let s,o,l,a,d,{props:h,unit:n}=t;a=[];for(let t=h.items,i=t.length,s=0;s<i;s+=1){let i=t[s];l=[e(0,i.text)],a.push(e("option",{disabled:i.disabled,selected:i.checked,value:i.value},l,r))}return o="cj ck",h.className&&(o+=" "+h.className),d=[e("select",{multiple:h.multipleSelect,style:"color:"+h.forecolor+";font-size:"+h.fontsize+n+";letter-spacing:"+h.letterspacing+n+";font-family:"+h.fontfamily,name:h.inputName,class:o},a)],o="cr dR cF cI ","hidden"==h.overflow?o+=" dA":"visible"==h.overflow?o+=" dB":o+=" dC",s=[e("div",{style:"left:"+h.x+n+";top:"+h.y+n+";height:"+h.height+n+";opacity:"+h.alpha+";width:"+h.width+n+";transform:rotate("+h.rotate+"deg)",class:o},d)],e(i,0,s)},assign(t){let{props:e}=t,{items:i,bind:r,multipleSelect:s}=e;if(r.id&&r.fields.length){i.length=0;let t=r._data,e=r.fields[0].id;d(t)||(t=[t]);for(let r of t){let t=r[e];h(t)&&i.push({...t})}}if(!s){let t;for(let e=i.length;e--;){let r=i[e];t?r.checked&&(r.checked=!1):r.checked&&(t=1)}}this.set(t)},render(){this.digest()}})})),define("27/fx/index",["1h","../../1g/1j","../../24/fx"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/fx"),{View:l,mark:a,node:d}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,html:d}=t;return s=[e(0,d)],o=[e("div",{class:"cr",id:"ld_"+i},s),e("div",{id:"fx_"+i})],r=[e("div",{class:"cr dA dR",style:"left:"+l.x+a+";top:"+l.y+a+";height:"+l.height+a+";opacity:"+l.alpha+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){this.set(t)},async render(){let t=a(this,"_bQ");try{if(window.functionPlot?await this.digest():await this.digest({html:"loading..."}),await o(),t()){let{title:t,width:e,height:i,xAxisRange:r,xAxisTitle:o,yAxisRange:l,yAxisTitle:a,grid:h,zoom:n,xLine:c,yLine:p,data:g,annotations:f}=this.get("props"),b=d(`fx_${this.id}`),u=d(`ld_${this.id}`);b.innerHTML="",functionPlot({target:b,width:this._cx=s.bX(e),height:this._cy=s.bX(i),yAxis:{domain:l,label:this._hj=a},xAxis:{domain:r,label:this._hh=o},tip:{xLine:c,yLine:p},grid:h,disableZoom:n,title:this._hf=t,data:g,annotations:f}),u.innerHTML=" "}}catch(e){t()&&this.digest({html:e})}}})})),define("27/heat/index",["1h","../../24/format"],((t,e,i)=>{let r={class:"cF cI cY ck"},s=t("1h"),o=t("../../24/format"),{View:l,isArray:a}=s;i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l,a,{props:d,unit:h,value:n,step:c}=t;o=[];for(let t=0;t<d.bars;t++)o.push(e("div",{style:"height:80%;width:"+d.barWidth+h+";background:"+d.background+";border-radius:"+d.barWidth/2+h}));a=[e("div",r,o)],l=[];for(let t=0;t<d.bars;t++)l.push(e("div",{style:"height:80%;opacity:"+t*c*100+"%;width:"+d.barWidth+h+";background:"+d.fillcolor+";border-radius:"+d.barWidth/2+h}));return o=[e("div",{class:"cF cI cY ck",style:"width:"+d.width+h},l)],a.push(e("div",{class:"cr dA di",style:"width:"+n+"%"},o)),s=[e("div",{class:"cr",style:"left:"+d.x+h+";top:"+d.y+h+";height:"+d.height+h+";opacity:"+d.alpha+";width:"+d.width+h+";transform:rotate("+d.rotate+"deg);color:"+d.background},a)],e(i,0,s)},assign(t){this.set(t);let{props:e}=t,{bind:i,value:r,textFormat:s,bars:l}=e,d="";if(i.id){let t=i.fields[0];if(i._tip)d=i._tip,r=60;else if(i._data){let l=i._data;a(l)&&(l=l[0]),r=l[t.id],r=o._ge(s,r,e),!isNaN(r)&&isFinite(r)||(r=0),r<0?r=0:r>100&&(r=100)}else d=`[\u7ed1\u5b9a:${t.name}]`,r=60}this.set({step:1/l,value:r,text:d})},render(){this.digest()}})})),define("27/hod-header/index",["1h"],((t,e,i)=>{let r={class:"cF"},s=t("1h");i.exports=s.View.extend({tmpl:(t,e,i,s,o,l)=>{let a,d,h,n,{props:c,unit:p}=t;n=[];for(let t=c.rows,s=t.length,a=0;a<s;a+=1){let s=t[a];h=[];for(let t=s.cols,r=t.length,n=0;n<r;n+=1){let r=t[n];d=[];for(let t=r.elements,s=t.length,h=0;h<s;h+=1){let r=t[h];d.push(e("div",{"mx5-owner":i,$:"props,unit","mx5-view":"27/"+r.type+"/index?props="+l(o,r.props,"a;."+a+".a:."+n+".a-."+h+".a+")+"&unit="+l(o,p,"b_")}))}h.push(e("div",{class:"cj ck cs dA",style:"height:"+s.height+p+";width:"+r.width+p+";border-top:"+r.borderTopStyle+" "+r.borderTopWidth+p+" "+r.borderTopColor+";border-right:"+r.borderRightStyle+" "+r.borderRightWidth+p+" "+r.borderRightColor+";border-bottom:"+r.borderBottomStyle+" "+r.borderBottomWidth+p+" "+r.borderBottomColor+";border-left:"+r.borderLeftStyle+" "+r.borderLeftWidth+p+" "+r.borderLeftColor+";border-radius:"+r.borderLeftTopRadius+p+" "+r.borderRightTopRadius+p+" "+r.borderRightBottomRadius+p+" "+r.borderLeftBottomRadius+p},d))}n.push(e("div",r,h))}return a=[e("div",{class:"cF cG cr dR",style:"left:"+c.x+p+";top:"+c.y+p+";opacity:"+c.alpha+";width:"+c.width+p+";height:"+c.height+p},n)],e(i,0,a)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/hod-hflex/index",["1h"],((t,e,i)=>{let r={class:"cF"},s=t("1h");i.exports=s.View.extend({tmpl:(t,e,i,s,o,l)=>{let a,d,h,n,{props:c,unit:p}=t;n=[];for(let t=c.rows,s=t.length,a=0;a<s;a+=1){let s=t[a];h=[];for(let t=s.cols,r=t.length,n=0;n<r;n+=1){let r=t[n];d=[];for(let t=r.elements,s=t.length,h=0;h<s;h+=1){let r=t[h];d.push(e("div",{"mx5-owner":i,$:"props,unit","mx5-view":"27/"+r.type+"/index?props="+l(o,r.props,"a;."+a+".a:."+n+".a-."+h+".a+")+"&unit="+l(o,p,"b_")}))}h.push(e("div",{class:"cj ck cs dA",style:"height:"+s.height+p+";width:"+r.width+p+";border-top:"+r.borderTopStyle+" "+r.borderTopWidth+p+" "+r.borderTopColor+";border-right:"+r.borderRightStyle+" "+r.borderRightWidth+p+" "+r.borderRightColor+";border-bottom:"+r.borderBottomStyle+" "+r.borderBottomWidth+p+" "+r.borderBottomColor+";border-left:"+r.borderLeftStyle+" "+r.borderLeftWidth+p+" "+r.borderLeftColor+";border-radius:"+r.borderLeftTopRadius+p+" "+r.borderRightTopRadius+p+" "+r.borderRightBottomRadius+p+" "+r.borderLeftBottomRadius+p},d))}n.push(e("div",r,h))}return a=[e("div",{class:"cF cG cr dR",style:"left:"+c.x+p+";top:"+c.y+p+";opacity:"+c.alpha+";width:"+c.width+p+";height:"+c.height+p},n)],e(i,0,a)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/hod-table/index",["1h"],((t,e,i)=>{let r={class:"cj ck cs dA"},s=t("1h");i.exports=s.View.extend({tmpl:(t,e,i,s,o,l)=>{let a,d,h,n,c,p,g,{props:f,unit:b}=t,u=f.borderwidth,x=f.bordertype,y=f.bordercolor,m=f.borderdeed,w=f.rows;c=[];for(let t=w.length,s=0;s<t;s+=1){n=[];for(let t=w[s].cols,a=t.length,c=0;c<a;c+=1){let a=t[c];d=[];for(let t=a.elements,r=t.length,h=0;h<r;h+=1){let r=t[h];d.push(e("div",{"mx5-owner":i,$:"props,unit",id:r.id,"mx5-view":"27/"+r.type+"/index?props="+l(o,r.props,"a;."+s+".a:."+c+".a-."+h+".a+")+"&unit="+l(o,b,"b_")}))}h=[e("div",r,d)],n.push(e("td",{class:"c7 d_",colspan:1!=a.colspan&&a.colspan,rowspan:1!=a.rowspan&&a.rowspan,style:"position:relative;width:"+a.width+b+";height:"+a.height+b+";border-left:"+(u?x:"dotted")+" "+u+b+" "+(u&&a.bLeft?y:"#0000")+";border-top:"+(u?x:"dotted")+" "+u+b+" "+(u&&a.bTop?y:"#0000")+";border-right:"+(u?x:"dotted")+" "+u+b+" "+(u&&a.bRight?y:"#0000")+";border-bottom:"+(u?x:"dotted")+" "+u+b+" "+(u&&a.bBottom?y:"#0000")},h))}c.push(e("tr",0,n))}return p=[e("tbody",0,c)],g=[e("table",{class:"c9 cj",style:"border-collapse:"+m},p)],a=[e("div",{class:"cr dR",style:"left:"+f.x+b+";top:"+f.y+b+";opacity:"+f.alpha+";width:"+f.width+b+";height:"+f.height+b},g)],e(i,0,a)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/hod-tabs/index",["1h"],((t,e,i)=>{let r={class:"c8 cF cr dC dR f0"},s={class:"cr di fZ"},o={class:"cj ck cs dA"},l=t("1h"),{View:a,applyStyle:d}=l;d("eP",".fZ{box-shadow:0 -1px #d7dde4}.f0{transform:translate(10px,-100%);width:calc(100% - 20px)}.f1{padding:2px 6px;color:#666}.f2{color:#fa742b;border-bottom:solid 2px #fa742b}"),i.exports=a.extend({tmpl:(t,e,i,l,a,d)=>{let h,n,c,p,g,f,{props:b,unit:u}=t;f=[],p=[];for(let t=b.rows,r=t.length,s=0;s<r;s+=1){for(let r=t[s].cols,o=r.length,l=0;l<o;l+=1){c=[e(0,r[l].text)],n="f1 cu c3",b.activeTab==l&&(n+=" f2"),p.push(e("div",{"mx5-click":i+"\x1e_ho({to:"+l+"})",class:n},c))}}f.push(e("div",r,p));for(let t=b.rows,r=t.length,l=0;l<r;l+=1){let r=t[l];p=[];for(let t=r.cols,s=t.length,h=0;h<s;h+=1){let s=t[h];if(h==b.activeTab){g=[];for(let t=s.elements,r=t.length,o=0;o<r;o+=1){let r=t[o];g.push(e("div",{"mx5-owner":i,$:"props,unit","mx5-view":"27/"+r.type+"/index?props="+d(a,r.props,"a;."+l+".a:."+h+".a-."+o+".a+")+"&unit="+d(a,u,"b_")}))}c=[e("div",o,g)],p.push(e("div",{class:"cs",style:"height:"+r.height+u+";width:"+s.width+u},c))}}f.push(e("div",s,p))}return h=[e("div",{class:"cF cG cr dR",style:"left:"+b.x+u+";top:"+b.y+u+";opacity:"+b.alpha+";width:"+b.width+u+";height:"+b.height+u},f)],e(i,0,h)},assign(t){this.set(t)},render(){this.digest()},"_ho<click>"(t){let{to:e}=t.params,i=this.get("props");e!=i.activeTab&&(i.activeTab=e,this.digest({props:i}))}})})),define("27/hod-vflex/index",["1h"],((t,e,i)=>{let r={class:"cF cG"},s=t("1h");i.exports=s.View.extend({tmpl:(t,e,i,s,o,l)=>{let a,d,h,n,{props:c,unit:p}=t;n=[];for(let t=c.rows,s=t.length,a=0;a<s;a+=1){let s=t[a];h=[];for(let t=s.cols,r=t.length,n=0;n<r;n+=1){let r=t[n];d=[];for(let t=r.elements,s=t.length,h=0;h<s;h+=1){let r=t[h];d.push(e("div",{"mx5-owner":i,$:"props,unit","mx5-view":"27/"+r.type+"/index?props="+l(o,r.props,"a;."+a+".a:."+n+".a-."+h+".a+")+"&unit="+l(o,p,"b_")}))}h.push(e("div",{class:"cj ck cs dA",style:"width:"+s.width+p+";height:"+r.height+p+";border-top:"+r.borderTopStyle+" "+r.borderTopWidth+p+" "+r.borderTopColor+";border-right:"+r.borderRightStyle+" "+r.borderRightWidth+p+" "+r.borderRightColor+";border-bottom:"+r.borderBottomStyle+" "+r.borderBottomWidth+p+" "+r.borderBottomColor+";border-left:"+r.borderLeftStyle+" "+r.borderLeftWidth+p+" "+r.borderLeftColor},d))}n.push(e("div",r,h))}return a=[e("div",{class:"cF cr dR",style:"left:"+c.x+p+";top:"+c.y+p+";opacity:"+c.alpha+";width:"+c.width+p+";height:"+c.height+p},n)],e(i,0,a)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/hod-footer/index",["1h"],((t,e,i)=>{let r={class:"cF"},s=t("1h");i.exports=s.View.extend({tmpl:(t,e,i,s,o,l)=>{let a,d,h,n,c,{props:p,unit:g,stage:f}=t;c=[];for(let t=p.rows,s=t.length,a=0;a<s;a+=1){let s=t[a];n=[];for(let t=s.cols,r=t.length,d=0;d<r;d+=1){let r=t[d];h=[];for(let t=r.elements,s=t.length,n=0;n<s;n+=1){let r=t[n];h.push(e("div",{"mx5-owner":i,$:"props,unit","mx5-view":"27/"+r.type+"/index?props="+l(o,r.props,"a;."+a+".a:."+d+".a-."+n+".a+")+"&unit="+l(o,g,"b_")}))}n.push(e("div",{class:"cj ck cs dA",style:"height:"+s.height+g+";width:"+r.width+g+";border-top:"+r.borderTopStyle+" "+r.borderTopWidth+g+" "+r.borderTopColor+";border-right:"+r.borderRightStyle+" "+r.borderRightWidth+g+" "+r.borderRightColor+";border-bottom:"+r.borderBottomStyle+" "+r.borderBottomWidth+g+" "+r.borderBottomColor+";border-left:"+r.borderLeftStyle+" "+r.borderLeftWidth+g+" "+r.borderLeftColor+";border-radius:"+r.borderLeftTopRadius+g+" "+r.borderRightTopRadius+g+" "+r.borderRightBottomRadius+g+" "+r.borderLeftBottomRadius+g},h))}c.push(e("div",r,n))}return d="left:"+p.x+g+";",d+=f?"bottom:0;":"top:"+p.y+g+";",d+="opacity:"+p.alpha+";width:"+p.width+g+";height:"+p.height+g,a=[e("div",{class:"cF cG cr dR",style:d},c)],e(i,0,a)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/batch-barcode/index",["1h","../../24/barcode"],((t,e,i)=>{let r={class:"cF cI cZ ck"},s=t("1h"),o=t("../../24/barcode"),{View:l,mark:a,task:d,isArray:h}=s;i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l=[],{error:a,text:d,props:h,unit:n}=t;return(a||d)&&(o=[],a?(s=[e(0,a)],o.push(e("div",r,s))):o.push(e("img",{id:"_rd_"+i+"_bar",class:"b8 cj ck cl"},1)),l.push(e("div",{class:"cr dA dR",style:"left:"+h.x+n+";top:"+h.y+n+";height:"+h.height+n+";opacity:"+h.alpha+";width:"+h.width+n+";transform:rotate("+h.rotate+"deg)"},o))),e(i,0,l)},assign(t){this.set(t);let{props:e}=t,{bind:i,text:r}=e;if(i.id){let t=i.fields[0];if(i._tip)r=i._tip;else if(i._data){let e=i._data;h(e)&&(e=e[0]),r=e[t.id]}else r=`[bind:${t.id}]`}this.set({text:r})},async render(){let t=a(this,"_bQ");await this.digest({error:null});try{if(await o._f1(),t()){let{linewidth:e,height:i,format:r,showText:s,styleBold:o,styleItalic:l,color:h}=this.get("props"),n=this.get("text");!n||n==this._f2&&r==this._f3&&s==this._f4&&e==this._f5&&h==this._f6&&o==this._f7&&l==this._f8||(t=a(this,"_f9"),d((()=>{if(t()){this._f7=o,this._f8=l;let t="";o&&(t="bold"),l&&(o&&(t+=" "),t+="italic"),JsBarcode(`#_rd_${this.id}_bar`,this._f2=n,{lineColor:this._f6=h,width:this._f5=e,fontOptions:t,format:this._f3=r,displayValue:this._f4=s})}})))}}catch(e){t()&&this.digest({error:e})}}})})),define("27/image/index",["1h"],((t,e,i)=>{let r=t("1h"),{View:s,isArray:o}=r;i.exports=s.extend({tmpl:(t,e,i)=>{let r,s=[],{image:o,props:l,unit:a}=t;return o&&(r="left:"+l.x+a+";top:"+l.y+a+";height:"+l.height+a+";opacity:"+l.alpha+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg);",(l.rotateX||l.rotateY)&&(r+=";transform:",l.rotateX&&(r+="rotateX(180deg)"),l.rotateY&&(r+=" rotateY(180deg)")),s.push(e("img",{class:"b8 cr dR",src:o,style:r},1))),e(i,0,s)},assign(t){this.set(t);let{props:e}=t,{bind:i,image:r,webUrl:s}=e,l="";if(!r&&s&&(r=s),i.id){let t=i.fields[0];if(i._tip)l=i._tip;else if(i._data){let e=i._data;o(e)&&(e=e[0]),r=e[t.id]}else l=`[\u7ed1\u5b9a:${t.name}]`}this.set({image:r,text:l})},render(){this.digest()}})})),define("27/map/index",["1h","../../24/map"],((t,e,i)=>{let r=t("1h"),s=t("../../24/map"),{View:o,mark:l,node:a}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d,error:h,i18n:n}=t;return s="",s+=h?" "+h+" ":" "+n("g6")+" ",o=[e(0,s)],l=[e("div",{id:"tip_"+i,class:"cF cI cZ ck"},o)],r=[e("div",{class:"cr dR",style:"left:"+a.x+d+";top:"+a.y+d+";height:"+a.height+d+";opacity:"+a.alpha+";width:"+a.width+d,id:"map_"+i},l)],e(i,0,r)},init(){this.on("destroy",(()=>{let t=this._hq;t&&t.remove()}))},assign(t){this.set(t)},async render(){let t=l(this,"_bQ"),e=this.get("props");if(this._hr)this.digest({error:this._hr});else{if(await this.digest(),!this._hq)try{if(await s(),t()){let t=a(`map_${this.id}`),i=L.map(t,{zoom:e.zoom,center:[e.lat,e.lng],zoomControl:e.zoomCtrl,dragging:e.dragging,doubleClickZoom:e.doubleClickZoom});this._hq=i,L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{attribution:'© <a href="https://www.openstreetmap.org/copyright" target="_blank">OpenStreetMap</a> contributors'}).addTo(i);let r=a(`tip_${this.id}`);r.parentNode.removeChild(r)}}catch(t){this.digest({error:this._hr=t})}}}})})),define("27/pager/index",["1h"],((t,e,i)=>{let r=t("1h"),{has:s,View:o}=r,l=/\$\{([a-zA-z0-9_]+)\}/g;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,textReturn:d,text:h}=t;return o=[e(0,d(h),1)],s="left:"+l.x+a+";top:"+l.y+a+";color:"+l.forecolor+";",l.background&&(s+="background:"+l.background+";"),s+="font-size:"+l.fontsize+a+";height:"+l.height+a+";letter-spacing:"+l.letterspacing+a+";opacity:"+l.alpha+";",l.styleBold&&(s+="font-weight:bold;"),l.styleItalic&&(s+="font-style:italic;"),(l.styleUnderline||l.styleStrike||l.styleOverline)&&(s+="text-decoration:",l.styleStrike?s+="line-through":l.styleOverline?s+="overline":s+="underline",s+=";"),s+="align-items:"+l.vpos+";justify-content:"+l.hpos+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg);font-family:"+l.fontfamily,r=[e("div",{class:"cF cr dA dR",style:s},o)],e(i,0,r)},assign(t){this.set(t);let{props:e}=t,{text:i,ext:r}=e;null==r._totalPage&&(r._totalPage="Y"),null==r._currentPage&&(r._currentPage="X"),i=i.replace(l,((t,e)=>s(r,"_"+e)?r["_"+e]:t)),this.set({text:i})},render(){this.digest()}})})),define("27/progressbar/index",["1h","../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../24/format"),{View:o,isArray:l}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d,value:h,text:n}=t;return o=[],(a.showText||n)&&(s=[e(0,n||h+"%")],o.push(e("span",{class:"cr",style:"transform:translate(50%,-100%);right:0;color:"+a.textColor+";font-size:"+a.textFontsize+d},s))),l=[e("div",{style:"width:"+h+"%;background-color:"+a.barcolor+";border-radius:"+a.radius+d,class:"ck cs"},o)],r=[e("div",{class:"cr",style:"left:"+a.x+d+";top:"+a.y+d+";height:"+a.height+d+";opacity:"+a.alpha+";width:"+a.width+d+";transform:rotate("+a.rotate+"deg);background-color:"+a.background+";border-radius:"+a.radius+d},l)],e(i,0,r)},assign(t){this.set(t);let{props:e}=t,{bind:i,value:r,textFormat:o}=e,a="";if(i.id){let t=i.fields[0];if(i._tip)a=i._tip,r=60;else if(i._data){let a=i._data;l(a)&&(a=a[0]),r=a[t.id],r=s._ge(o,r,e),!isNaN(r)&&isFinite(r)||(r=0),r<0?r=0:r>100&&(r=100)}else a=`[\u7ed1\u5b9a:${t.name}]`,r=60}this.set({value:r,text:a})},render(){this.digest()}})})),define("27/html/index",["1h","../../24/underscore"],((t,e,i)=>{let r=t("1h"),s=t("../../24/underscore"),{View:o}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l}=t;return s=[e(0,o.value,1)],r=[e("div",{class:"cr dR",style:"left:"+o.x+l+";top:"+o.y+l+";min-height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l},s)],e(i,0,r)},assign(t){let{props:e}=t;e.value=this._fl(e.value),this.set(t)},async render(){await s();let t=this.get("props"),{bind:e}=t;if(e.id){let i=e.fields[0];e._data&&(t.value=_.template(t.value)({data:e._data,field:i}))}this.digest()}})})),define("27/rate/index",["1h","../../24/format"],((t,e,i)=>{let r,s={class:"cF cI cY ck"},o=t("1h"),l=t("../../24/format"),{View:a,isArray:d}=o;i.exports=a.extend({tmpl:(t,e,i)=>{let o,l,a,d,h,{props:n,unit:c,value:p}=t;a=[];for(let t=0;t<n.stars;t++)l=[r||(r=e(0,"\ue60c"))],a.push(e("i",{class:"bJ",style:"font-size:"+n.starSize+c},l));h=[e("div",s,a)],l=[];for(let t=0;t<n.stars;t++)d=[r||(r=e(0,"\ue60c"))],l.push(e("i",{class:"bJ",style:"font-size:"+n.starSize+c},d));return a=[e("div",{class:"cF cI cY ck",style:"width:"+n.width+c},l)],h.push(e("div",{class:"cr dA di",style:"width:"+p+"%;color:"+n.fillcolor},a)),o=[e("div",{class:"cr",style:"left:"+n.x+c+";top:"+n.y+c+";height:"+n.height+c+";opacity:"+n.alpha+";width:"+n.width+c+";transform:rotate("+n.rotate+"deg);color:"+n.background},h)],e(i,0,o)},assign(t){this.set(t);let{props:e}=t,{bind:i,value:r,textFormat:s}=e,o="";if(i.id){let t=i.fields[0];if(i._tip)o=i._tip,r=60;else if(i._data){let o=i._data;d(o)&&(o=o[0]),r=o[t.id],r=l._ge(s,r,e),!isNaN(r)&&isFinite(r)||(r=0),r<0?r=0:r>100&&(r=100)}else o=`[\u7ed1\u5b9a:${t.name}]`,r=60}this.set({value:r,text:o})},render(){this.digest()}})})),define("27/rect/index",["1h"],((t,e,i)=>{let r=t("1h"),{min:s}=Math;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,bw:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";",a&&(s+="border:"+a+l+" "+o.bordertype+" "+o.bordercolor+";"),o.fillcolor&&(s+="background:"+o.fillcolor+";"),s+="height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.radius&&(s+="border-radius:"+o.radius+l+";"),r=[e("div",{class:"cr dR",style:s})],e(i,0,r)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:o}=e,l=s(r,o)/2;i>l&&(i=l),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/repeat/index",["1h"],((t,e,i)=>{let r=t("1h"),{View:s,isArray:o}=r;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.radius&&(s+="border-radius:"+o.radius+l+";"),(o.image||o.webUrl)&&(s+="background-image:url("+(o.image||o.webUrl)+");","full"==o.repeat?s+="background-size:100% 100%;":o.imageWidth>0&&o.imageHeight>0&&(s+="background-size:"+o.imageWidth+l+" "+o.imageHeight+l+";"),s+="background-repeat:"+("full"==o.repeat?"no-repeat":o.repeat)+";background-position:"+o.backgroundXOffset+l+" "+o.backgroundYOffset+l),r=[e("div",{class:"cr dA dR",style:s})],e(i,0,r)},assign(t){this.set(t);let{props:e}=t,{bind:i}=e,r="";if(i.id){let t=i.fields[0];if(i._tip)r=i._tip;else if(i._data){let r=i._data;o(r)&&(r=r[0]),e.image=r[t.id]}else r=`[\u7ed1\u5b9a:${t.name}]`}this.set({text:r})},render(){this.digest()}})})),define("27/richtext/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d}=t;return l=[e(0,a.text,1)],s="cr dR",a.splitToPages||(s+=" dC"),o="left:"+a.x+d+";top:"+a.y+d+";opacity:"+a.alpha+";width:"+a.width+d+";height:",a.splitToPages?o+="auto":o+=""+a.height+d,r=[e("div",{class:s,style:o},l)],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/rod/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d}=t;return l=[e("span",{style:"flex-grow:1;border-top:1px "+a.linetype+" "+a.color})],o=[e(0,a.text)],l.push(e("span",{style:"padding:0 4px;transform:rotate("+a.textRotate+"deg);color:"+a.color},o),e("span",{style:"flex-grow:1;border-top:1px "+a.linetype+" "+a.color})),s="left:"+a.x+d+";top:"+a.y+d+";opacity:"+a.alpha+";width:"+a.width+d+";height:"+a.height+d+";transform:rotate("+a.rotate+"deg);",a.startBorder&&(s+="border-left:1px "+a.linetype+" "+a.color+";"),a.endBorder&&(s+="border-right:1px "+a.linetype+" "+a.color+";"),r=[e("div",{class:"cF cI cZ cr dR",style:s},l)],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/line/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,{props:s,unit:o}=t;return r=[e("div",{class:"cr dR",style:"left:"+s.x+o+";top:"+s.y+o+";border-top:"+s.height+o+" "+s.linetype+" "+s.color+";opacity:"+s.alpha+";width:"+s.width+o+";transform:rotate("+s.rotate+"deg)"})],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/subs/barcode",["1h","../../24/barcode"],((t,e,i)=>{let r=t("1h"),s=t("../../24/barcode"),{View:o,task:l,mark:a}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r=[],{msg:s}=t;return s?r.push(e(0,s)):r.push(e("img",{id:i+"_bar",class:"b8 cl cm"},1)),e(i,0,r)},assign(t){this.set(t)},async render(){let t=a(this,"_bQ");await this.digest({msg:"loading..."});try{if(await s._f1(),t()){let{value:e,lineWidth:i,format:r,showText:s,lineColor:o}=this.get();await this.digest({msg:null}),t=a(this,"_f9"),l((()=>{t()&&JsBarcode(`#${this.id}_bar`,e,{lineColor:o,width:+i,format:r,displayValue:"true"==s})}))}}catch(e){t()&&this.digest({msg:e.message||e})}}})})),define("27/subs/qrcode",["1h","../../24/qrcode"],((t,e,i)=>{let r=t("1h"),s=t("../../24/qrcode"),{View:o,mark:l,node:a,task:d}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r=[],{msg:s,vpos:o}=t;return s?r.push(e(0,s)):r.push(e("div",{id:i+"_qr",class:"cF ck",style:"align-items:"+o})),e(i,0,r)},assign(t){this.set(t)},async render(){let t=l(this,"_bQ");await this.digest({msg:"loading..."});try{if(await s(),t()){let{value:e}=this.get();await this.digest({msg:null}),t=l(this,"_gd"),d((()=>{if(t()){let t=a(`${this.id}_qr`);new QRCode(t).makeCode(e+"");let i=this.root.querySelector("img");i.classList.add("cl"),i.classList.add("cm")}}))}}catch(e){t()&&this.digest({msg:e})}}})})),define("27/qrcode/index",["1h","../../24/qrcode"],((t,e,i)=>{let r={class:"cF cI cZ ck"},s=t("1h"),o=t("../../24/qrcode"),{View:l,mark:a,node:d,task:h,isArray:n}=s;i.exports=l.extend({tmpl:(t,e,i)=>{let s,o,l=[],{error:a,text:d,props:h,unit:n}=t;return(a||d)&&(o=[],a&&(s=[e(0,a)],o.push(e("div",r,s))),o.push(e("div",{id:"_rd_"+i+"_qr"})),l.push(e("div",{class:"cr dA dR",style:"left:"+h.x+n+";top:"+h.y+n+";height:"+h.height+n+";opacity:"+h.alpha+";width:"+h.width+n+";transform:rotate("+h.rotate+"deg)"},o))),e(i,0,l)},assign(t){this.set(t);let{props:e}=t,{bind:i,text:r}=e;if(i.id){let t=i.fields[0];if(i._tip)r=i._tip;else if(i._data){let e=i._data;n(e)&&(e=e[0]),r=e[t.id]}else r=`[\u7ed1\u5b9a:${t.name}]`}this.set({text:r})},async render(){let t=a(this,"_bQ");await this.digest({error:null});try{if(await o(),t()){let e=this.get("text")+"";if(e&&e!=this._f2){let i=this._gc;if(!i){let t=d(`_rd_${this.id}_qr`);i=new QRCode(t),this._gc=i}t=a(this,"_gd"),h((()=>{if(t()){i.makeCode(this._f2=e),this.root.querySelector("img").classList.add("cj")}}))}}}catch(e){t()&&this.digest({error:e})}}})})),define("27/text/index",["1h","../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../24/format"),{min:o}=Math,{isArray:l,View:a}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,bw:d,safeHTML:h,text:n,textReturn:c}=t;return o=[e(0,l.richtext?h(n):c(n),1)],s="left:"+l.x+a+";top:"+l.y+a+";color:"+l.forecolor+";",l.background&&(s+="background:"+l.background+";"),s+="font-size:"+l.fontsize+a+";min-height:"+l.height+a+";letter-spacing:"+l.letterspacing+a+";opacity:"+l.alpha+";",l.styleBold&&(s+="font-weight:bold;"),l.styleItalic&&(s+="font-style:italic;"),(l.styleUnderline||l.styleStrike||l.styleOverline)&&(s+="text-decoration:",l.styleStrike?s+="line-through":l.styleOverline?s+="overline":s+="underline",s+=";"),s+="align-items:"+l.vpos+";justify-content:"+l.hpos+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg);font-family:"+l.fontfamily+";",d&&(s+="border:"+d+a+" "+l.bordertype+" "+l.bordercolor+";"),l.autoReturn?s+="word-break:break-all;transform-origin:"+l.width/2+a+" "+l.height/2+a+";":s+="max-height:"+l.height+a,r=[e("div",{class:"cF cr dA dR",style:s},o)],e(i,0,r)},assign(t){this.set(t);let{props:e}=t,{text:i,bind:r,format:a,borderwidth:d,width:h,height:n}=e;if(r.id){let t=r.fields[0];if(r._tip)i=r._tip;else if(r._data){let e=r._data;l(e)&&(e=e[0]),i=e[t.id],i=s._ge(a,i,e)}else i=`[\u7ed1\u5b9a:${t.name}]`}let c=o(h,n)/2;d>c&&(d=c),this.set({bw:d,text:i})},render(){this.digest()}})})),define("27/tag/index",["1h"],((t,e,i)=>{let r=t("1h"),{View:s,applyStyle:o,isArray:l,isObject:a}=r;o("gH",".f9{padding:1px 4px;border-radius:2px;text-decoration:none;margin:4px;display:inline-block}"),i.exports=s.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d}=t;l=[];for(let t=a.words,i=t.length,r=0;r<i;r+=1){let i=t[r];i.text&&(i.url?(o=[e(0,i.text)],l.push(e("a",{class:"c8 f9",style:"background:"+i.background+";color:"+i.forecolor,href:i.url,rel:"noopener noreferrer",target:"_blank"},o))):(o=[e(0,i.text)],l.push(e("span",{class:"c8 f9",style:"background:"+i.background+";color:"+i.forecolor},o))))}return s="cr dR","hidden"==a.overflow?s+=" dA":"visible"==a.overflow?s+=" dB":s+=" cA cB dC",r=[e("div",{style:"left:"+a.x+d+";top:"+a.y+d+";width:"+a.width+d+";height:"+a.height+d+";opacity:"+a.alpha+";transform:rotate("+a.rotate+"deg)",class:s},l)],e(i,0,r)},assign(t){let{props:e}=t,{words:i,bind:r}=e;if(r.id&&r.fields.length){i.length=0;let t=r._data,e=r.fields[0].id;l(t)||(t=[t]);for(let r of t){let t=r[e];a(t)&&i.push(t)}}this.set(t)},render(){this.digest()}})})),define("27/todo/index",["1h","../../1g/1j"],((t,e,i)=>{let r,s,o={class:"gb gd"},l={class:"g_"},a={class:"cF cI gd gf"},d={checked:"checked"},h=t("1h"),n=t("../../1g/1j"),{View:c,applyStyle:p,node:g,State:f}=h;p("gP",".g_{border-radius:2px;border:solid 1px #ccc9}.ga{background:#eee9}.gb{padding:4px}.gc{min-height:40px}.gd{border-bottom:1px solid #ccc9}.ge{height:26px}.gf{height:24px;line-height:24px;padding:0 4px}.gg{display:none}.gf:hover{background:#eee3}.gf:hover .gg{display:block}.gh{text-decoration:line-through}");let b=/scaleY\(([\d\.]+)\)/;i.exports=c.extend({tmpl:(t,e,i)=>{let h,n,c,p,g,f,b,u,{props:x,unit:y,scale:m}=t;if(c=[e("input",{class:"bM bN cj ge",placeholder:"\u51c6\u5907\u505a\u4ec0\u4e48?\u56de\u8f66\u6dfb\u52a0\u5f85\u529e\u4e8b\u9879","mx5-keydown":i+"\x1e_hQ()"},1)],u=[e("div",o,c)],c=[],x.todos.length){b=[];for(let t=x.todos,s=t.length,o=0;o<s;o+=1){let s=t[o];g=[e("input",{type:"checkbox",checked:s.complete,"mx5-change":i+"\x1e_hP({index:"+o+"})"},1,d),e(0,s.task)],p="cF cI cE cC",s.complete&&(p+=" dy gh"),f=[e("label",{class:p},g)],g=[r||(r=e(0,"\ue6b3"))],f.push(e("i",{class:"bJ c3 dF dx gg","mx5-click":i+"\x1e_hR({index:"+o+"})"},g)),b.push(e("div",a,f))}c.push(e("div",l,b))}else c.push(s||(s=e(0,"\u6682\u65e0\u5f85\u529e\u4e8b\u9879")));return p="gb gc ci",x.todos.length||(p+=" dy"),u.push(e("div",{class:p},c)),n="left:"+x.x+y+";top:"+x.y+y+";height:"+x.height/m+y+";opacity:"+x.alpha+";width:"+x.width/m+y+";",1!=m&&(n+="transform:scale("+m+");transform-origin:0 0;"),h=[e("div",{class:"cr dR eb g_ ga","mx5-pointerdown":i+"\x1e_fn()","mx5-contextmenu":i+"\x1e_fn()",id:"todo_"+i,style:n},u)],e(i,0,h)},assign(t){this.set(t)},render(){this.digest({scale:f.get("bL")||1})},_hO(){let t=g(`todo_${this.id}`);if(t){let e=t.childNodes,i=2*(f.get("bL")||1);for(let t=e.length;t--;){let r=e[t];if(1==r.nodeType){i+=r.getBoundingClientRect().height}}let r=g("_rd_sc");if(r){let t=r.parentNode.style.transform.match(b);t&&(i/=parseFloat(t[1]))}let s=this.get("props");s.height=n.bK(i),this.digest({props:s})}},async"_hQ<keydown>"(t){let{code:e,eventTarget:i}=t;if("Enter"==e){let t=i.value;i.value="";let e=this.get("props");e.todos.unshift({task:t,complete:!1}),await this.digest({props:e}),this._hO()}},async"_hR<click>"(t){let{index:e}=t.params,i=this.get("props");i.todos.splice(e,1),await this.digest({props:i}),this._hO()},"_hP<change>"(t){let{index:e}=t.params,i=this.get("props");i.todos[e].complete=t.eventTarget.checked,this.digest({props:i})},"_fn<pointerdown,contextmenu>"(t){t._d4||(t._d4=1)}})})),define("27/video/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,i18n:d}=t;return o=[],l.src?o.push(e("video",{src:l.src,poster:l.poster,controls:l.controls,autoplay:l.autoplay,loop:l.loop,muted:l.muted,style:"width:"+l.width+a+";height:"+l.height+a})):(s=[e(0,d("i2"))],o.push(e("div",{class:"co dA",style:"width:"+l.width+a+";height:"+l.height+a+";line-height:"+l.height+a},s))),r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";opacity:"+l.alpha+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/xsheet/index",["1h","../../24/xsheet"],((t,e,i)=>{let r=t("1h"),s=t("../../24/xsheet"),{View:o,mark:l,node:a}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d,error:h,i18n:n}=t;return s="",s+=h?" "+h+" ":" "+n("g6")+" ",o=[e(0,s)],l=[e("div",{id:"_rd_tip_"+i,class:"cF cI cZ ck"},o)],r=[e("div",{class:"cr dR",style:"left:"+a.x+d+";top:"+a.y+d+";height:"+a.height+d+";opacity:"+a.alpha+";width:"+a.width+d,id:"_rd_sheet_"+i},l)],e(i,0,r)},init(){this.on("destroy",(()=>{this._hS&&window.luckysheet&&luckysheet.destroy({container:"_rd_sheet_"+this.id})}))},assign(t){this.set(t)},async render(){let t=l(this,"_bQ");if(this._hr)this.digest({error:this._hr});else{if(await this.digest(),!this._hS)try{if(await s(),t()){let t=this.get("props");luckysheet.create({showtoolbar:!1,showsheetbar:!1,showinfobar:!1,enableAddBackTop:!1,enableAddRow:!1,sheetFormulaBar:!1,showstatisticBar:!1,data:t.sheetData,cellRightClickConfig:{copy:!0,copyAs:!0,paste:!0,insertRow:!0,insertColumn:!0,deleteRow:!0,deleteColumn:!0,deleteCell:!0,hideRow:!1,hideColumn:!1,rowHeight:!1,columnWidth:!1,clear:!1,matrix:!1,sort:!1,filter:!1,chart:!1,image:!1,link:!1,data:!1,cellFormat:!1},container:"_rd_sheet_"+this.id}),this._hS=1;let e=a(`_rd_tip_${this.id}`);e.parentNode.removeChild(e)}}catch(t){this.digest({error:this._hr=t})}}}})})),define("27/chart/bar/index",["1h","../../../24/30","../../../24/echarts"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),{node:l,View:a,mark:d,isArray:h}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=l("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf.dispose()}));let e=["\u8bf7\u7ed1\u5b9a\u6570\u636e"],i=[100];this._gf.setOption({tooltip:{trigger:"axis"},xAxis:{data:e},yAxis:{type:"value"},series:[{data:i,type:"bar"}]},!0),t.dataset.tip=""}this._gf.resize()},async render(){let t=d(this,"_bQ");await this.digest();try{if(await o(),t()){let t=this.get("props");this._gg(),this._gf.setOption({title:{text:t.title,x:t.titleAlign},color:t.color});let e=this._gh,i=JSON.stringify(t.bind);e!=i&&(this._gh=i,this._gi(t))}}catch(e){t()&&this.digest({error:e})}},async _gi(t){let{bind:e}=t;if(e.id){let t=d(this,"_gi"),{_eO:i}=await s._gj(e);if(t()){h(i)||(i=[i]);let t=i[0],r=[],s=[];if(t){for(let i of e.fields)r.push(i.name),s.push(t[i.id]);this._gf.setOption({xAxis:{data:r},series:[{data:s,type:"bar"}]})}}}}})})),define("27/chart/chartjs/index",["1h","../../../24/30","../../../24/chart","../../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/chart"),l=t("../../../24/format"),{node:a,View:d,mark:h,isArray:n,mix:c}=r;i.exports=d.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,error:d}=t;return o=[e("canvas",{id:"_rd_chart_c_"+i})],s="left:"+l.x+a+";top:"+l.y+a+";height:"+l.height+a+";opacity:"+l.alpha+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg);",l.background&&(s+="background:"+l.background+";"),r=[e("div",{class:"cr dA dR dX","data-tip":d||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s},o)],e(i,0,r)},init(){this.on("destroy",(()=>{this._gf&&this._gf.destroy()}))},assign(t){this.set(t)},_gk(t){if(this._gf){let e=this._gf;c(e.config,t),e.update()}else{let e=a(`_rd_chart_${this.id}`),i=a(`_rd_chart_c_${this.id}`),r=new Chart(i,t);this._gf=r,e.dataset.tip=""}},async render(){let t=h(this,"_bQ");await this.digest();try{await o();let e,i=this.get("props"),{bind:r,options:a}=i;if(r.id){let{_eO:t}=await s._gj(r);e=t}if(t()){let t=l._ge(a,e,r.fields),i=JSON.stringify(t);this._gl!=i&&(this._gl=i,this._gk(t))}}catch(e){t()&&(this._gf&&(this._gf.destroy(),this._gf=null),this.digest({error:e}))}}})})),define("27/chart/funnel/index",["1h","../../../24/30","../../../24/echarts"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),{node:l,View:a,mark:d,isArray:h}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=l("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf.dispose()})),this._gf.setOption({series:[{type:"funnel",min:0,max:100,minSize:"0%",maxSize:"100%",gap:2,label:{show:!0,position:"inside"},data:[{value:100,name:"\u8bf7\u7ed1\u5b9a\u6570\u636e"}]}]},!0),t.dataset.tip=""}this._gf.resize()},async render(){let t=d(this,"_bQ");await this.digest();try{if(await o(),t()){let t=this.get("props");this._gg(),this._gf.setOption({title:{text:t.title,x:t.titleAlign},color:t.colors});let e=this._gh,i=JSON.stringify(t.bind);e!=i&&(this._gh=i,this._gi(t))}}catch(e){t()&&this.digest({error:e})}},async _gi(t){let{bind:e,showProgress:i,roundCap:r,color:o}=t,l=this._gf,{series:a}=this._gf.getOption();if(e.id){let t=d(this,"_gi"),{_eO:i}=await s._gj(e);if(t()){h(i)||(i=[i]);let t=[],r=i[0];if(r){for(let i of e.fields)t.push({value:r[i.id],name:i.name});a[0].data=t,l.setOption({series:a})}}}else a[0].data=[{value:100,name:"\u8bf7\u7ed1\u5b9a\u6570\u636e"}],l.setOption({series:a})}})})),define("27/chart/line/index",["1h","../../../24/30","../../../24/echarts"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),{node:l,View:a,mark:d,isArray:h}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=l("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf.dispose()})),this._gf.setOption({tooltip:{trigger:"axis"},xAxis:{data:["\u8bf7\u5148\u7ed1\u5b9a\u6570\u636e\u548cX\u8f74\u7684\u6570\u636e"]},yAxis:{type:"value"}},!0),t.dataset.tip=""}this._gf.resize()},async render(){let t=d(this,"_bQ");await this.digest();try{if(await o(),t()){let t=this.get("props");this._gg(),this._gf.setOption({title:{text:t.title,x:t.titleAlign},color:t.colors});let e=this._gh,i=JSON.stringify(t.bind)+JSON.stringify(t.xBind);e!=i&&(this._gh=i,this._gi(t))}}catch(e){t()&&this.digest({error:e})}},async _gi(t){let e=this._gf,{bind:i,xBind:r}=t;if(i.id&&r.id){let t=d(this,"_gi"),{_eO:o}=await s._gj(i);if(t()){h(o)||(o=[o]);let t=[],s=[];for(let e of o){for(let i of r.fields)t.push(e[i.id]);let o=0;for(let t of i.fields){let i=s[o];i||(s[o]=i={data:[],type:"line"}),i.data.push(e[t.id]),o++}}e.setOption({xAxis:{data:t},series:s})}}else e.setOption({xAxis:{data:["\u8bf7\u5148\u7ed1\u5b9a\u6570\u636e\u548cX\u8f74\u7684\u6570\u636e"]},series:[{data:[],type:"line"}]})}})})),define("27/chart/pie/index",["1h","../../../24/30","../../../24/echarts"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),{node:l,View:a,mark:d,isArray:h}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=l("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf.dispose()})),this._gf.setOption({series:[{data:[{value:0,name:"\u8bf7\u7ed1\u5b9a\u6570\u636e"}],type:"pie"}]},!0),t.dataset.tip=""}this._gf.resize()},async render(){let t=d(this,"_bQ");await this.digest();try{if(await o(),t()){let t=this.get("props");this._gg(),this._gf.setOption({title:{text:t.title,x:t.titleAlign},color:t.colors});let e=this._gh,i=JSON.stringify(t.bind);e!=i&&(this._gh=i,this._gi(t))}}catch(e){t()&&this.digest({error:e})}},async _gi(t){let{bind:e}=t;if(e.id){let t=d(this,"_gi"),{_eO:i}=await s._gj(e);if(t()){h(i)||(i=[i]);let t=[],r=i[0];if(r){for(let i of e.fields)t.push({value:r[i.id],name:i.name});this._gf.setOption({series:[{data:t,type:"pie"}]})}}}}})})),define("27/chart/meter/index",["1h","../../../24/30","../../../24/echarts"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),{node:l,View:a,mark:d,isArray:h}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=l("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf.dispose()})),this._gf.setOption({series:[{type:"gauge",detail:{formatter:"{value}%"},data:[{value:0,name:"\u8bf7\u7ed1\u5b9a\u6570\u636e"}],itemStyle:{color:this.get("props").color}}]},!0),t.dataset.tip=""}this._gf.resize()},async render(){let t=d(this,"_bQ");await this.digest();try{if(await o(),t()){let t=this.get("props");this._gg();let{series:e}=this._gf.getOption();e[0].progress={show:t.showProgress,roundCap:t.roundCap},e[0].itemStyle={color:t.color},this._gf.setOption({series:e,title:{text:t.title,x:t.titleAlign}});let i=this._gh,r=JSON.stringify(t.bind);i!=r&&(this._gh=r,this._gi(t))}}catch(e){t()&&this.digest({error:e})}},async _gi(t){let{bind:e,showProgress:i,roundCap:r,color:o}=t,l=this._gf,{series:a}=this._gf.getOption();if(e.id){let t=d(this,"_gi"),{_eO:n}=await s._gj(e);if(t()){h(n)||(n=[n]);let t=[],s=n[0];if(s){for(let i of e.fields)t.push({value:s[i.id],name:i.name});a[0].progress={show:i,roundCap:r},a[0].itemStyle={color:o},a[0].data=t,l.setOption({series:a})}}}else a[0].data=[{value:0,name:"\u8bf7\u7ed1\u5b9a\u6570\u636e"}],l.setOption({series:a})}})})),define("27/chart/radar/index",["1h","../../../24/30","../../../24/echarts","../../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),l=t("../../../24/format"),{node:a,View:d,mark:h,isArray:n}=r;i.exports=d.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=a("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf&&this._gf.dispose()})),t.dataset.tip=""}this._gf.resize()},async render(){let t=h(this,"_bQ");await this.digest();try{await o();let e,i=this.get("props"),{bind:r,options:a}=i;if(r.id){let{_eO:t}=await s._gj(r);e=t}if(t()){this._gg();let t=l._ge(a,e,r.fields);this._gf.setOption(t)}}catch(e){t()&&(this._gf&&(this._gf.dispose(),this._gf=null),this.digest({error:e}))}}})})),define("27/chart/scatter/index",["1h","../../../24/30","../../../24/echarts","../../../24/format"],((t,e,i)=>{let r=t("1h"),s=t("../../../24/30"),o=t("../../../24/echarts"),l=t("../../../24/format"),{node:a,View:d,mark:h,isArray:n}=r;i.exports=d.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l,error:a}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",o.background&&(s+="background:"+o.background+";"),r=[e("div",{class:"cr dR dX","data-tip":a||"\u6b63\u5728\u52a0\u8f7d\u56fe\u8868\u7ec4\u4ef6...",id:"_rd_chart_"+i,style:s})],e(i,0,r)},assign(t){this.set(t)},_gg(){if(!this._gf){let t=a("_rd_chart_"+this.id);this._gf=echarts.init(t),this.on("destroy",(()=>{this._gf&&this._gf.dispose()})),t.dataset.tip=""}this._gf.resize()},async render(){let t=h(this,"_bQ");await this.digest();try{await o();let e,i=this.get("props"),{bind:r,options:a}=i;if(r.id){let{_eO:t}=await s._gj(r);e=t}if(t()){this._gg();let t=l._ge(a,e,r.fields);this._gf.setOption(t)}}catch(e){t()&&(this._gf&&(this._gf.dispose(),this._gf=null),this.digest({error:e}))}}})})),define("27/flow/annotation/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.height);return a=[e("path",{d:"M20 0L0 0L0 "+b+"L20 "+b,style:"fill:none;stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],s="left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)",h.fillColor&&(s+=";background:"+h.fillColor),r=[e("div",{class:"cr dR",style:s},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/card/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 "+u/4+"L0 "+u+"L"+b+" "+u+"L"+b+" 0L"+b/4+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/connector/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,h,{toUnit:n,props:c,unit:p,toScale:g,toPx:f,ox:b,oy:u,animation:x,scale:y,time:m,textReturn:w}=t,_=Math.max,k=n(1);if(d=[],o=[],2==c.endArrow?(s=[e("path",{d:"M2 1L8 3L2 5z",style:"fill:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 8 6",refX:7,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):3==c.endArrow?(s=[e("path",{d:"M2 1L7 3L2 5z",style:"fill:#fff;stroke:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 8 6",refX:7,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):4==c.endArrow?(s=[e("path",{d:"M2 1L8 3L2 5",style:"fill:none;stroke:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 8 6",refX:7,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):5==c.endArrow?(s=[e("path",{d:"M4 1L7 3L4 5L1 3z",style:"fill:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 8 6",refX:7,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):6==c.endArrow?(s=[e("path",{d:"M4 1L7 3L4 5L1 3z",style:"fill:#fff;stroke:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 8 6",refX:8,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):7==c.endArrow?(s=[e("circle",{cx:3,cy:3,r:2,style:"fill:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 6 6",refX:5,refY:3,orient:"auto",markerWidth:6,markerHeight:6},s))):8==c.endArrow?(s=[e("circle",{cx:3,cy:3,r:2,style:"fill:#fff;stroke:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 6 6",refX:6,refY:3,orient:"auto",markerWidth:6,markerHeight:6},s))):9==c.endArrow&&(s=[e("path",{d:"M2 4L6 1M2 4L6 7",style:"fill:none;stroke:"+c.color},1)],o.push(e("marker",{id:"a_"+i,viewBox:"0 0 6 8",refX:6,refY:4,orient:"auto",markerWidth:6,markerHeight:8},s))),2==c.startArrow?(s=[e("path",{d:"M6 1L0 3L6 5z",style:"fill:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 8 6",refX:1,refY:3,markerWidth:8,markerHeight:6,orient:"auto"},s))):3==c.startArrow?(s=[e("path",{d:"M6 1L1 3L6 5z",style:"fill:#fff;stroke:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 8 6",refX:1,refY:3,markerWidth:8,markerHeight:6,orient:"auto"},s))):4==c.startArrow?(s=[e("path",{d:"M6 1L0 3L6 5",style:"fill:none;stroke:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 8 6",refX:1,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):5==c.startArrow?(s=[e("path",{d:"M4 1L7 3L4 5L1 3z",style:"fill:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 8 6",refX:1,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):6==c.startArrow?(s=[e("path",{d:"M4 1L7 3L4 5L1 3z",style:"fill:#fff;stroke:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 8 6",refX:0,refY:3,orient:"auto",markerWidth:8,markerHeight:6},s))):7==c.startArrow?(s=[e("circle",{cx:3,cy:3,r:2,style:"fill:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 6 6",refX:1,refY:3,orient:"auto",markerWidth:6,markerHeight:6},s))):8==c.startArrow?(s=[e("circle",{cx:3,cy:3,r:2,style:"fill:#fff;stroke:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 6 6",refX:0,refY:3,orient:"auto",markerWidth:6,markerHeight:6},s))):9==c.startArrow&&(s=[e("path",{d:"M4 4L0 1M4 4L0 7",style:"fill:none;stroke:"+c.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 6 8",refX:0,refY:4,orient:"auto",markerWidth:6,markerHeight:8},s))),d.push(e("defs",0,o)),l="M"+f(c.startX-c.x+b)+" "+f(c.startY-c.y+u),"line"==c.lineType)l+="L";else if("bezier"==c.lineType)l+="C"+f(c.ctrl1X-c.x+b)+" "+f(c.ctrl1Y-c.y+u)+" "+f(c.ctrl2X-c.x+b)+" "+f(c.ctrl2Y-c.y+u)+" ";else{for(let t=c.points,e=0,i=t.length;e<i;e+=1){let i=t[e];l+="L"+f(i.x-c.x+b)+" "+f(i.y-c.y+u)}l+="L"}return l+=f(c.endX-c.x+b)+" "+f(c.endY-c.y+u),d.push(e("path",{style:"fill:none;stroke:"+c.color+";stroke-width:"+c.linewidth+p,"stroke-dasharray":c.dash+p,"marker-start":1!=c.startArrow&&"url(#as_"+i+")","marker-end":1!=c.endArrow&&"url(#a_"+i+")",id:"p_"+i,d:l},1)),x&&(s=[e("mpath",{"xlink:href":"#p_"+i},1)],o=[e("animateMotion",{dur:m/y+"s",repeatCount:"indefinite"},s)],d.push(e("circle",{r:4*y,fill:"#FA742B"},o))),s=[e(0,w(c.text),1)],a="line-height:"+c.textHeight+p+";font-size:"+c.textFontsize+p+";width:"+c.textWidth+p+";height:"+c.textHeight+p+";color:"+c.textForecolor+";",c.textBackground&&(a+="background:"+c.textBackground+";"),a+="letter-spacing:"+c.textLetterspacing+p+";font-family:"+c.textFontfamily,o=[e("div",{class:"co",style:a},s)],d.push(e("foreignObject",{transform:"rotate("+c.textRotate+","+f(c.textPointX-c.x+c.textOffsetX+b)+","+f(c.textPointY-c.y+c.textOffsetY+u)+")",x:c.textX-c.x+c.textOffsetX+b+p,y:c.textY-c.y+c.textOffsetY+u+p,width:c.textWidth+p,height:c.textHeight+p},o)),h=[e("svg",{class:"cr dB",style:"width:"+_(g(c.width),k)+p+";height:"+_(g(c.height),k)+p+";opacity:"+c.alpha},d)],r=[e("div",{class:"cr dR",style:"left:"+c.x+p+";top:"+c.y+p+";width:"+c.width+p+";height:"+c.height+p},h)],e(i,0,r)},init(){this.set({toUnit:s.bK,toScale:s.bL,toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/data/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M40 0L0 "+u+"L"+(b-40)+" "+u+"L"+b+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/database/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M"+b/8+" 0L"+b/8*7+" 0A"+b/8+" "+u/2+" 0 0 1 "+b/8*7+" "+u+"L"+b/8+" "+u+"A"+b/8+" "+u/2+" 0 0 1 "+b/8+" 0M"+b/8*7+" "+u+"A"+b/8+" "+u/2+" 0 0 1 "+b/8*7+" 0",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/decision/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M"+b/2+" 0L0 "+u/2+"L"+b/2+" "+u+"L"+b+" "+u/2+"z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/display/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M"+b/8+" 0L"+b/8*7+" 0A"+b/8+" "+u/2+" 0 0 1 "+b/8*7+" "+u+"L"+b/8+" "+u+"L0 "+u/2+"z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/document/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0L0 "+u+"C"+b/4+" "+1.5*u+" "+.75*b+" "+u/2+" "+b+" "+u+"L"+b+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/estore/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M"+b/8+" 0L"+b+" 0A"+b/8+" "+u/2+" 0 0 0 "+b+" "+u+"L"+b/8+" "+u+"A"+b/8+" "+u/2+" 0 0 1 "+b/8+" 0",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/istore/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=(c(h.width),c(h.height));return a=[e("path",{d:"M0 0L0 "+b+"L"+b+" "+b+"L"+b+" 0ZM"+.1*b+" 0L"+.1*b+" "+b+"M0 "+.1*b+"L"+b+" "+.1*b,style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/looplimit/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r,{min:a}=Math;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,h,{props:n,unit:c,toPx:p,min:g,ox:f,oy:b,textReturn:u}=t;s="";let x=p(n.width),y=p(n.height);s+=" ";let m=g(x,y);return d=[e("path",{d:"M"+m/4+" 0L0 "+m/4+"L0 "+y+"L"+x+" "+y+"L"+x+" "+m/4+"L"+(x-m/4)+" 0z",style:"fill:"+(n.fillColor||"none")+";stroke:"+n.color+";stroke-width:"+n.linewidth+c,"stroke-dasharray":n.dash+c},1)],l=[e(0,u(n.text),1)],o="padding:"+n.padding+c+";font-size:"+n.textFontsize+c+";width:"+n.textWidth+c+";color:"+n.textForecolor+";",n.textBackground&&(o+="background:"+n.textBackground+";"),o+="letter-spacing:"+n.textLetterspacing+c+";font-family:"+n.textFontfamily,a=[e("div",{class:"c7 cF cI cZ ck",style:o},l)],d.push(e("foreignObject",{x:n.textX-n.x+f+c,y:n.textY-n.y+b+c,width:n.textWidth+c,height:n.textHeight+c},a)),h=[e("svg",{class:"cr dB",style:"width:"+n.width+c+";height:"+n.height+c+";opacity:"+n.alpha},d)],r=[e("div",{class:"cr dR",style:"left:"+n.x+c+";top:"+n.y+c+";width:"+n.width+c+";height:"+n.height+c+";transform:rotate("+n.rotate+"deg)"},h)],e(i,0,r)},init(){this.set({min:a,toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/manual/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 "+u/4+"L0 "+u+"L"+b+" "+u+"L"+b+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/moperation/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0L"+.1*b+" "+u+"L"+.9*b+" "+u+"L"+b+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/pageref/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0L0 "+.75*u+"L"+b/2+" "+u+"L"+b+" "+.75*u+"L"+b+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/parallel/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0L"+b+" 0M"+b+" "+u+"L0 "+u,style:"stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],s="left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)",h.fillColor&&(s+=";background:"+h.fillColor),r=[e("div",{class:"cr dR",style:s},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/prepare/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M"+b/4+" 0L0 "+u/2+"L"+b/4+" "+u+"L"+b/4*3+" "+u+"L"+b+" "+u/2+"L"+b/4*3+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/process/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0L0 "+u+"L"+b+" "+u+"L"+b+" 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/qdata/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("ellipse",{cx:b/2,cy:u/2,rx:b/2,ry:u/2,style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1),e("path",{d:"M"+b/2+" "+u+"L"+b+" "+u,style:"fill:none;stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/ref/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("ellipse",{cx:b/2,cy:u/2,rx:b/2,ry:u/2,style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/subprocess/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0L0 "+u+"L"+b+" "+u+"L"+b+" 0ZM"+.1*b+" 0L"+.1*b+" "+u+"M"+.9*b+" 0L"+.9*b+" "+u,style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/tape/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,toPx:c,ox:p,oy:g,textReturn:f}=t,b=c(h.width),u=c(h.height);return a=[e("path",{d:"M0 0C"+b/4+" "+.5*u+" "+.75*b+" "+-u/2+" "+b+" 0L"+b+" "+u+"C"+.75*b+" "+.5*u+" "+.25*b+" "+1.5*u+" 0 "+u+"L0 0z",style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n},1)],o=[e(0,f(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+p+n,y:h.textY-h.y+g+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/flow/terminator/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,d,{props:h,unit:n,ox:c,oy:p,textReturn:g}=t;return a=[e("rect",{x:0,y:0,width:h.width+n,height:h.height+n,style:"fill:"+(h.fillColor||"none")+";stroke:"+h.color+";stroke-width:"+h.linewidth+n,"stroke-dasharray":h.dash+n,rx:20,ry:h.height/2+n},1)],o=[e(0,g(h.text),1)],s="padding:"+h.padding+n+";font-size:"+h.textFontsize+n+";width:"+h.textWidth+n+";color:"+h.textForecolor+";",h.textBackground&&(s+="background:"+h.textBackground+";"),s+="letter-spacing:"+h.textLetterspacing+n+";font-family:"+h.textFontfamily,l=[e("div",{class:"c7 cF cI cZ ck",style:s},o)],a.push(e("foreignObject",{x:h.textX-h.x+c+n,y:h.textY-h.y+p+n,width:h.textWidth+n,height:h.textHeight+n},l)),d=[e("svg",{class:"cr dB",style:"width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha},a)],r=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/lscreen/border-bg/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,{props:s,unit:o}=t;return r=[e("div",{class:"cr dR",style:"left:"+s.x+o+";top:"+s.y+o+";height:"+s.height+o+";opacity:"+s.alpha+";width:"+s.width+o+";transform:rotate("+s.rotate+"deg);background:url(./images/border_1.png);background-size:"+s.width+o+" "+s.height+o})],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/lscreen/border-css4/index",["1h"],((t,e,i)=>{let r,s,o=t("1h"),{View:l,applyStyle:a}=o;a("f_",".f5{border:1px solid #19ba8b2b;background:#0001}.f6::after,.f6::before,.f7::after,.f7::before{position:absolute;content:'';width:10px;height:10px}.f7::before{border-left:2px solid #02a6b5;left:0;border-top:2px solid #02a6b5}.f7::after{border-right:2px solid #02a6b5;right:0;border-top:2px solid #02a6b5}.f6::before{border-left:2px solid #02a6b5;left:0;bottom:0;border-bottom:2px solid #02a6b5}.f6::after{border-right:2px solid #02a6b5;right:0;bottom:0;border-bottom:2px solid #02a6b5}"),i.exports=l.extend({tmpl:(t,e,i)=>{let o,l,{props:a,unit:d}=t;return l=r?[r]:[r=e("div",{_:"a;",class:"cj cr dL f7"})],s?l.push(s):l.push(s=e("div",{_:"a:",class:"cj cr dL dO f6"})),o=[e("div",{class:"cr dR f5",style:"left:"+a.x+d+";top:"+a.y+d+";height:"+a.height+d+";opacity:"+a.alpha+";width:"+a.width+d+";transform:rotate("+a.rotate+"deg)"},l)],e(i,0,o)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/lscreen/image/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,{props:o,unit:l}=t;return s="left:"+o.x+l+";top:"+o.y+l+";height:"+o.height+l+";opacity:"+o.alpha+";width:"+o.width+l+";transform:rotate("+o.rotate+"deg);",(o.rotateX||o.rotateY)&&(s+=";transform:",o.rotateX&&(s+="rotateX(180deg)"),o.rotateY&&(s+=" rotateY(180deg)")),r=[e("img",{class:"b8 cr dR",src:o.image,style:s},1)],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/lscreen/border-css2/index",["1h"],((t,e,i)=>{let r,s=t("1h"),{View:o,applyStyle:l}=s;l("e7",".f3{border-radius:10px;border:1px #0174f5 solid;padding:1px;background:#0208171a}.f4{border:2px solid #016ae0;border-radius:10px}"),i.exports=o.extend({tmpl:(t,e,i)=>{let s,o,{props:l,unit:a}=t;return o=r?[r]:[r=e("div",{_:"a;",class:"cj ck f4"})],s=[e("div",{class:"cr dR f3",style:"left:"+l.x+a+";top:"+l.y+a+";height:"+l.height+a+";opacity:"+l.alpha+";width:"+l.width+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,s)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/arc/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{PI:o,cos:l,sin:a}=Math,{State:d,View:h}=r;i.exports=h.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d,toPx:h,startX:n,ox:c,startY:p,oy:g,big:f,endX:b,endY:u}=t;return o=[e("path",{d:"M"+h(n-a.x+c)+" "+h(p-a.y+g)+"A"+h(a.rx)+" "+h(a.ry)+" 0 "+(f?1:0)+" 1 "+h(b-a.x+c)+" "+h(u-a.y+g)+(a.closed?"z":""),style:"fill:"+(a.fillcolor||"none")+";stroke:"+a.color+";stroke-width:"+a.linewidth+d+";opacity:"+a.alpha,"stroke-dasharray":a.dash+d},1)],l=[e("svg",{class:"cr dB",style:"width:"+a.width+d+";height:"+a.height+d},o)],s="left:"+a.x+d+";top:"+a.y+d+";width:"+a.width+d+";height:"+a.height+d,a.rotate&&(s+=";transform:rotate("+a.rotate+"deg)"),r=[e("div",{class:"cr dR",style:s},l)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:d.get("b5")||0,oy:d.get("b6")||0})},assign(t){this.set(t);let{props:e}=t,{startAngle:i,endAngle:r,rx:s,ry:d,centerX:h,centerY:n}=e;i=parseFloat(i),r=parseFloat(r),r<i&&([r,i]=[i,r]);let c=r-i;c>360&&(i+=360,c=r-i);let p=c>=180,g=o/180,f=h+s*l(i*g),b=n+d*a(i*g),u=h+s*l(r*g),x=n+d*a(r*g);this.set({big:p,startX:f,startY:b,endX:u,endY:x})},render(){this.digest()}})})),define("27/svg/bezier3/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,{props:d,unit:h,toPx:n,ox:c,oy:p}=t;return s=[e("path",{d:"M0 0 L16 8 L0 16z",style:"fill:"+d.color},1)],o=[e("marker",{id:"a_"+i,viewBox:"0 0 16 16",refX:8,refY:8,markerWidth:8,markerHeight:8,orient:"auto"},s)],s=[e("path",{d:"M16 0 L0 8 L16 16z",style:"fill:"+d.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 16 16",refX:8,refY:8,markerWidth:8,markerHeight:8,orient:"auto"},s)),l=[e("defs",0,o),e("path",{d:"M"+n(d.ctrl1X-d.x+c)+","+n(d.ctrl1Y-d.y+p)+" C"+n(d.ctrl2X-d.x+c)+" "+n(d.ctrl2Y-d.y+p)+" "+n(d.ctrl3X-d.x+c)+" "+n(d.ctrl3Y-d.y+p)+" "+n(d.ctrl4X-d.x+c)+","+n(d.ctrl4Y-d.y+p),style:"fill:"+(d.fillcolor||"none")+";stroke:"+d.color+";stroke-width:"+d.linewidth+h+";opacity:"+d.alpha,"stroke-dasharray":d.dash+h,"marker-start":d.startArrow&&"url(#as_"+i+")","marker-end":d.endArrow&&"url(#a_"+i+")"},1)],a=[e("svg",{class:"cr dB",style:"width:"+d.width+h+";height:"+d.height+h},l)],r=[e("div",{class:"cr dR",style:"left:"+d.x+h+";top:"+d.y+h+";width:"+d.width+h+";height:"+d.height+h},a)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/bezier2/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,{props:d,unit:h,toPx:n,ox:c,oy:p}=t;return s=[e("path",{d:"M0 0 L16 8 L0 16z",style:"fill:"+d.color},1)],o=[e("marker",{id:"a_"+i,viewBox:"0 0 16 16",refX:8,refY:8,markerWidth:8,markerHeight:8,orient:"auto"},s)],s=[e("path",{d:"M16 0 L0 8 L16 16z",style:"fill:"+d.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 16 16",refX:8,refY:8,markerWidth:8,markerHeight:8,orient:"auto"},s)),l=[e("defs",0,o),e("path",{d:"M"+n(d.ctrl1X-d.x+c)+" "+n(d.ctrl1Y-d.y+p)+"Q"+n(d.ctrl2X-d.x+c)+" "+n(d.ctrl2Y-d.y+p)+" "+n(d.ctrl3X-d.x+c)+" "+n(d.ctrl3Y-d.y+p),style:"fill:"+(d.fillcolor||"none")+";stroke:"+d.color+";stroke-width:"+d.linewidth+h+";opacity:"+d.alpha,"stroke-dasharray":d.dash+h,"marker-start":d.startArrow&&"url(#as_"+i+")","marker-end":d.endArrow&&"url(#a_"+i+")"},1)],a=[e("svg",{class:"cr dB",style:"width:"+d.width+h+";height:"+d.height+h},l)],r=[e("div",{class:"cr dR",style:"left:"+d.x+h+";top:"+d.y+h+";width:"+d.width+h+";height:"+d.height+h},a)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/battery/index",["1h"],((t,e,i)=>{let r={viewBox:"0 0 1024 1024"},s=t("1h"),{min:o}=Math;i.exports=s.View.extend({tmpl:(t,e,i)=>{let s,o,l,{props:a,unit:d}=t,h=8.1*(100-a.power),n=8.1*a.power;return o=[],o.push(e("path",{fill:a.fill,d:"M330 "+(140+h)+"h350v"+n+"H330z"},1)),a.charging&&o.push(e("path",{fill:a.lightning,d:"M499.712 801.131l97.445-324.376-97.445 12.783V266.735l-93.415 314.798 93.415-29.927zm50.077-772.228h-94.704z",stroke:a.fill,"stroke-width":"10px"},1)),o.push(e("path",{fill:a.outline,d:"M440 0c-47.368 0-47.368 76.338-48.788 76.338h190.86S582.072 0 534.704 0z"},1),e("path",{fill:a.outline,d:"M247.742 168.663V919.75c0 99.328 93.712 100.121 93.712 100.121h327.879s93.712 0 93.712-100.12V168.662c0-100.121-93.712-100.121-93.712-100.121H341.454s-93.712 0-93.712 100.12zm427.206-60.45s48.458-.065 48.458 51.234V928.9c0 51.3-48.458 51.3-48.458 51.3H335.84s-48.458 0-48.458-51.3V159.48c0-52.885 48.458-51.3 48.458-51.3h339.11z"},1)),l=[e("svg",r,o)],s=[e("div",{class:"cr dR",style:"left:"+a.x+d+";top:"+a.y+d+";width:"+a.width+d+";height:"+a.height+d+";opacity:"+a.alpha+";transform:rotate("+a.rotate+"deg)"},l)],e(i,0,s)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:s}=e,l=o(r,s)/2;i>l&&(i=l),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/svg/brace/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,toPx:d}=t,h=d(l.width),n=d(l.height);return s=[e("path",{d:"M"+h+" 0C0 0 "+h+" "+n/2+" 0 "+n/2+"M0 "+n/2+"C"+h+" "+n/2+" 0 "+n+" "+h+" "+n,style:"fill:none;stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},init(){this.set({toPx:s.bX})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/circle/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a}=t;return s=[e("circle",{r:l.r+a,cx:l.r+a,cy:l.r+a,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/ellipse/index",["1h"],((t,e,i)=>{let r=t("1h"),{State:s,View:o}=r;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,o,l,{props:a,unit:d,ox:h,oy:n}=t;return o=[e("ellipse",{cx:a.centerX-a.x+h+d,cy:a.centerY-a.y+n+d,rx:a.rx+d,ry:a.ry+d,style:"fill:"+(a.fillcolor||"none")+";stroke:"+a.color+";stroke-width:"+a.linewidth+d+";opacity:"+a.alpha,"stroke-dasharray":a.dash+d},1)],l=[e("svg",{class:"cr dB",style:"width:"+a.width+d+";height:"+a.height+d},o)],s="left:"+a.x+d+";top:"+a.y+d+";width:"+a.width+d+";height:"+a.height+d,a.rotate&&(s+=";transform:rotate("+a.rotate+"deg)"),r=[e("div",{class:"cr dR",style:s},l)],e(i,0,r)},init(){this.set({ox:s.get("b5")||0,oy:s.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/fan/index",["1h"],((t,e,i)=>{let r={viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg"},s=t("1h"),{View:o}=s;i.exports=o.extend({tmpl:(t,e,i)=>{let s,o,l,a,{props:d,unit:h}=t;return o=[],d.working&&o.push(e("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",from:"0 500 510",to:"360 500 510",dur:d.speed+"s",repeatCount:"indefinite"},1)),l=[e("path",{d:"M941.376 595.693c-15.633-99.283-108.77-158.96-225.173-146.083-48.627 5.366-134.595 45.824-145.204 20.339-18.51-86.894 90.139-112.135 169.397-116.183 103.305-5.291 137.717-64.237 87.554-153.447C774.318 104.928 639.771 47.324 552 82.173c-90.306 35.85-127.715 134.389-100.112 265.985 7.074 33.509 39.706 77.992-12.949 92.087-39.238 10.535-65.287-28.484-75.089-67.847-7.804-31.46-15.95-63.334-18.899-95.502-10.217-111.914-71.212-140.547-165.985-76.334-94.038 63.75-141.129 186.372-97.012 270.216 56.36 107.111 152.837 115.744 258.217 92.453 34.02-7.535 79.916-39.556 92.746 14.608 8.584 36.339-31.217 60.679-69.213 75.261-31.802 12.241-62.895 15.998-96.208 17.656-105.185 5.171-135.523 61.58-84.067 152.617 54.021 95.624 190.958 151.399 277.289 112.94 97.331-43.336 152.473-156.738 102.137-289.75-4.391-24.192-33.604-54.335-5.534-67.163 26.848-12.242 50.676 8.413 63.918 27.411 31.021 44.582 44.287 93.062 38.192 151.181-7.584 72.233 32.874 107.134 107.988 93.453 97.964-17.876 190.1-153.131 173.957-255.752z m-440.662-46.678c-21.122 0-38.24-17.121-38.24-38.239 0-21.12 17.118-38.24 38.24-38.24 21.122 0 38.24 17.12 38.24 38.24 0 21.118-17.118 38.239-38.24 38.239z",fill:d.fill},o)],a=[e("svg",r,l)],s=[e("div",{class:"cr dA dR",style:"left:"+d.x+h+";top:"+d.y+h+";width:"+d.width+h+";height:"+d.height+h+";opacity:"+d.alpha},a)],e(i,0,s)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/line/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,l,a,{props:d,unit:h,toPx:n,ox:c,oy:p}=t,g=Math.max;return s=[e("path",{d:"M0 0 L16 8 L0 16z",style:"fill:"+d.color},1)],o=[e("marker",{id:"a_"+i,viewBox:"0 0 16 16",refX:8,refY:8,markerWidth:8,markerHeight:8,orient:"auto"},s)],s=[e("path",{d:"M16 0 L0 8 L16 16z",style:"fill:"+d.color},1)],o.push(e("marker",{id:"as_"+i,viewBox:"0 0 16 16",refX:8,refY:8,markerWidth:8,markerHeight:8,orient:"auto"},s)),l=[e("defs",0,o),e("path",{d:"M"+n(d.ctrl1X-d.x+c)+" "+n(d.ctrl1Y-d.y+p)+"L"+n(d.ctrl2X-d.x+c)+" "+n(d.ctrl2Y-d.y+p),style:"fill:none;stroke:"+d.color+";stroke-width:"+d.linewidth+h+";opacity:"+d.alpha,"stroke-dasharray":d.dash+h,"marker-start":d.startArrow&&"url(#as_"+i+")","marker-end":d.endArrow&&"url(#a_"+i+")"},1)],a=[e("svg",{class:"cr dB",style:"width:"+g(d.width,1)+h+";height:"+g(d.height,1)+h},l)],r=[e("div",{class:"cr dR",style:"left:"+d.x+h+";top:"+d.y+h+";width:"+g(d.width,1)+h+";height:"+g(d.height,1)+h},a)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/polyline/index",["1h","../../../1g/1j","../../../1g/1k"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),o=t("../../../1g/1k"),{State:l,View:a}=r,{min:d,max:h}=Math,n=t=>{let e=[],i=1,r=t[0];for(;i<t.length;){let s=t[i];e.push([{x:r.x,y:r.y},{x:s.x,y:s.y}]),r=s,i++}return e},c=t=>{let e="";for(let i of t)e+="L"+s.bX(i.x)+","+s.bX(i.y);return e};i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,{x:r,y:a,reverse:p,ctrl1X:g,ctrl1Y:f,ctrl2X:b,ctrl2Y:u,ctrl3X:x,ctrl3Y:y}=e;r-=l.get("b5")||0,a-=l.get("b6")||0;let m="M"+s.bX(g-r)+","+s.bX(f-a),w=d(g,x),_=d(f,y),k=h(g,x),v=h(f,y),j=b>=w&&b<=k,L=u>=_&&u<=v,R="L"+s.bX(b-r)+","+s.bX(f-a)+"L"+s.bX(b-r)+","+s.bX(y-a)+"L"+s.bX(x-r)+","+s.bX(y-a),S="L"+s.bX(g-r)+","+s.bX(u-a)+"L"+s.bX(x-r)+","+s.bX(u-a)+"L"+s.bX(x-r)+","+s.bX(y-a);if(j&&L)m+=p?R:S;else if(j)m+=S;else if(L)m+=R;else{let t=((t,e)=>{let i=[],r=[t,e];for(let t of r){let e=n(t),r=0;for(let t=0;t<e.length-1;t++){let i=e[t];for(let s=t+1;s<e.length;s++){let t=e[s];if(o.bO(i,t)){r=1;break}}if(r)break}r||i.push(t)}return i})([{x:g-r,y:f-a},{x:g-r,y:u-a},{x:b-r,y:u-a},{x:b-r,y:y-a},{x:x-r,y:y-a}],[{x:g-r,y:f-a},{x:b-r,y:f-a},{x:b-r,y:u-a},{x:x-r,y:u-a},{x:x-r,y:y-a}]);m+=c(p?t[t.length-1]:t[0])}this.set({unit:i,props:e,path:m})},render(){this.digest()}})})),define("27/svg/polyline2/index",["1h","../../../1g/1j","../../../24/33"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),o=t("../../../24/33"),{State:l,View:a}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a,"stroke-linejoin":l.linejoin},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,{x:r,y:a}=e;r-=l.get("b5")||0,a-=l.get("b6")||0;let d,h=o._hI(e);for(let t of h){let i=e[t+"X"],o=e[t+"Y"];d?d+="L":d="M",d+=s.bX(i-r)+","+s.bX(o-a)}this.set({unit:i,props:e,path:d})},render(){this.digest()}})})),define("27/svg/polygon/index",["1h","../../../1g/1j","../../../24/33"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),o=t("../../../24/33"),{State:l,View:a}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r=(t=>{let e=l.get("b5")||0,i=l.get("b6")||0,r=o._hI(t),a=0,d=[];for(let o of r)d.push(a?"L":"M"),a=1,d.push(`${s.bX(t[o+"X"]-t.x+e)} ${s.bX(t[o+"Y"]-t.y+i)}`);return d.push("z"),d.join("")})(e);this.set({props:e,unit:i,path:r})},render(){this.digest()}})})),define("27/svg/rarrow/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r="M",{width:o,height:l,mod1X:a,mod1Y:d}=e,h=s.bX(o),n=s.bX(l),c=n/2,p=0,g=c*d;r+=p+" "+g,p=h*a,r+="L"+p+" "+g,r+="L"+p+" 0",r+="L"+h+" "+c,r+="L"+p+" "+n,r+="L"+p+" "+(n-g),r+="L0 "+(n-g)+"z",this.set({unit:i,props:e,path:r})},render(){this.digest()}})})),define("27/svg/rbubble/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{min:o}=Math;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,{width:r,height:l,mod1X:a,mod1Y:d,radius:h,gapPosition:n,gapPRatio:c,gapRatio:p}=e,g=o(r/2,l/2);h>g&&(h=g);let f=[],b=s.bX(h),u=s.bX(r),x=s.bX(l),y=s.bX(a),m=s.bX(d),w=u-2*b,_=x-2*b,k="A"+b+","+b+",0,0,1,"+b+",0",v="A"+b+","+b+",0,0,1,"+u+","+b,j="A"+b+","+b+",0,0,1,"+(u-b)+","+x,L="A"+b+","+b+",0,0,1,0,"+(x-b);if("top"==n){let t=b+w*c,e=t+w*p;e>u-b&&(e=u-b),f.push(b,",0,L",t,",0","L",y,",",-m,"L",e,",0","L",u-b,",0",v,"L",u,",",x-b,j,"L",b,",",x,",",L,"L0,",b,k)}else if("right"==n){let t=b+_*c,e=t+_*p;e>x-b&&(e=x-b),f.push(b,",0,L",u-b,",0",v,"L",u,",",t,"L",u+y,",",m,"L",u,",",e,"L",u,",",x-b,j,"L",b,",",x,L,"L0,",b,k)}else if("bottom"==n){let t=b+w*c,e=t+w*p;e>u-b&&(e=u-b),f.push(b,",0,L",u-b,",0",v,"L",u,",",x-b,j,"L",e,",",x,"L",y,",",x+m,"L",t,",",x,"L",b,",",x,L,"L0,",b,k)}else if("left"==n){let t=b+_*c,e=t+_*p;e>x-b&&(e=x-b),f.push(b,",0,L",u-b,",0",v,"L",u,",",x-b,j,"L",b,",",x,L,"L0,",e,"L",-y,",",m,"L0,",t,"L0,",b,k)}this.set({unit:i,props:e,path:"M"+f.join("")})},render(){this.digest()}})})),define("27/svg/rcorner/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r="M",{width:o,height:l,mod1Y:a,mod2X:d,mod2Y:h,mod3X:n}=e,c=s.bX(o),p=s.bX(l),g=p/2,f=c/2;r+="0 0",r+="L0 "+p,r+="L"+d*f+" "+(p-a*g),r+="L"+d*f+" "+h*g,r+="L"+(c-n*f)+" "+h*g,r+="L"+c+" 0z",this.set({unit:i,props:e,path:r})},render(){this.digest()}})})),define("27/svg/rcross/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r="M",{width:o,height:l,mod1X:a,mod1Y:d}=e;o=s.bX(o),l=s.bX(l);let h=o/2*a,n=l/2*d;r+="0 "+n,r+="L"+h+" "+n,r+="L"+h+" 0",r+="L"+(o-h)+" 0",r+="L"+(o-h)+" "+n,r+="L"+o+" "+n,r+="L"+o+" "+(l-n),r+="L"+(o-h)+" "+(l-n),r+="L"+(o-h)+" "+l,r+="L"+h+" "+l,r+="L"+h+" "+(l-n),r+="L0 "+(l-n)+"z",this.set({unit:i,props:e,path:r})},render(){this.digest()}})})),define("27/svg/rcard/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r="M",{width:o,height:l,mod1X:a,mod2Y:d}=e,h=s.bX(o),n=s.bX(l);r+=h*a+" 0",r+="L"+h+" 0",r+="L"+h+" "+n,r+="L0 "+n,r+="L0 "+n*d+"z",this.set({unit:i,props:e,path:r})},render(){this.digest()}})})),define("27/svg/rcube/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path1:d,path2:h,path3:n,path4:c}=t;return s=[e("path",{d:d,style:"fill:"+(l.topcolor||"none")},1),e("path",{d:h,style:"fill:"+(l.frontcolor||"none")},1),e("path",{d:n,style:"fill:"+(l.sidecolor||"none")},1),e("path",{d:c,style:"fill:none;stroke:"+l.color+";stroke-width:"+l.linewidth+a,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg);opacity:"+l.alpha},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,{width:r,height:o,mod1Y:l}=e;r=s.bX(r),o=s.bX(o);let a=o*l;a>r&&(a=r);let d="M"+a+",0";d+="L"+r+",0",d+="L"+(r-a)+","+a,d+="L0,"+a+"z";let h="M0,"+a;h+="L0,"+o,h+="L"+(r-a)+","+o,h+="L"+(r-a)+","+a+"z";let n="M"+r+",0";n+="L"+r+","+(o-a),n+="L"+(r-a)+","+o,n+="L"+(r-a)+","+a+"z";let c="M0,"+a;c+="L0,"+o,c+="L"+(r-a)+","+o,c+="L"+r+","+(o-a),c+="L"+r+",0",c+="L"+a+",0z",c+="M"+r+",0",c+="L"+(r-a)+","+a,c+="L"+(r-a)+","+o,c+="M"+(r-a)+","+a,c+="L0,"+a,this.set({unit:i,props:e,path1:d,path2:h,path3:n,path4:c})},render(){this.digest()}})})),define("27/svg/rcylinder/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d,cx:h,cy:n}=t;return s=[e("path",{d:d,style:"fill:"+(l.bodycolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1),e("ellipse",{cx:h,cy:n,rx:h,ry:n,style:"fill:"+(l.topcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,{width:r,height:o,mod1Y:l}=e;r=s.bX(r),o=s.bX(o);let a=r/2,d=o/2/2*l,h="M0,"+d;h+="L0,"+(o-d),h+="A"+a+","+d+",0 0 0,"+r+","+(o-d),h+="L"+r+","+d,h+="A"+a+","+d+",0 0 1,0,"+d,this.set({unit:i,props:e,cx:a,cy:d,path:h})},render(){this.digest()}})})),define("27/svg/rdarrow/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r="M",{width:o,height:l,mod1X:a,mod1Y:d}=e;o=s.bX(o),l=s.bX(l);let h=l/2,n=h*d,c=o/2*a;r+="0 "+h,r+="L"+c+" 0",r+="L"+c+" "+n,r+="L"+(o-c)+" "+n,r+="L"+(o-c)+" 0",r+="L"+o+" "+h,r+="L"+(o-c)+" "+l,r+="L"+(o-c)+" "+(l-n),r+="L"+c+" "+(l-n),r+="L"+c+" "+l+"z",this.set({unit:i,props:e,path:r})},render(){this.digest()}})})),define("27/svg/rect/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,toPx:d,ox:h,oy:n}=t;return s=[e("path",{d:"M"+d(l.ctrl1X-l.x+h)+" "+d(l.ctrl1Y-l.y+n)+"L"+d(l.ctrl2X-l.x+h)+" "+d(l.ctrl2Y-l.y+n)+"L"+d(l.ctrl3X-l.x+h)+" "+d(l.ctrl3Y-l.y+n)+"L"+d(l.ctrl4X-l.x+h)+" "+d(l.ctrl4Y-l.y+n)+"Z",style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/rect2/index",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a}=t;return s=[e("rect",{x:0,y:0,rx:l.roundX+a,ry:l.roundY+a,width:l.width+a,height:l.height+a,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/rpie/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{PI:o,cos:l,sin:a}=Math;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,startX:d,toPx:h,startY:n,big:c,endX:p,endY:g,cx:f,cy:b}=t;return s=[e("path",{d:"M"+(d-h(l.x))+" "+(n-h(l.y))+"A"+h(l.rx)+" "+h(l.ry)+" 0 "+(c?1:0)+" 1 "+(p-h(l.x))+" "+(g-h(l.y))+"L"+f+" "+b+"z",style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},init(){this.set({toPx:s.bX})},assign(t){this.set(t);let{props:e,unit:i}=t,{startAngle:r,endAngle:d,rx:h,ry:n,centerX:c,centerY:p,mod1X:g,mod1Y:f}=e;h=s.bX(h),n=s.bX(n),c=s.bX(c),p=s.bX(p),d<r&&([d,r]=[r,d]);let b=d-r;b>360&&(r+=360,b=d-r);let u=b>=180,x=o/180,y=c+h*l(r*x),m=p+n*a(r*x),w=c+h*l(d*x),_=p+n*a(d*x),k=2*h*g,v=2*n*f;this.set({unit:i,big:u,cx:k,cy:v,startX:y,startY:m,endX:w,endY:_})},render(){this.digest()}})})),define("27/svg/rstar/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{PI:o,sin:l,cos:a}=Math,{MAX_VALUE:d}=Number;i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r=o/180,h=s.bX(e.width)/2,n=h*(1-e.mod1Y),c=e.corner,p=360/c,g=p/2-90,f=[];for(let t=0;t<c;t++)f.push(h+h*a((t*p-90)*r),h+h*l((t*p-90)*r),h+n*a((g+t*p)*r),h+n*l((g+t*p)*r));let{h:b,v:u}=(t=>{let e=-d,i=e,r=d,s=r;for(let o=0;o<t.length;o+=2){let l=t[o],a=t[o+1];l>e&&(e=l),l<s&&(s=l),a>i&&(i=a),a<r&&(r=a)}return{h:s+(e-s)/2,v:r+(i-r)/2}})(f);b=h-b,u=h-u;let x="M";for(let t=0;t<f.length;t+=2){"M"!=x&&(x+="L"),x+=f[t]+b+" "+(f[t+1]+u)}x+="Z",this.set({unit:i,props:e,path:x})},render(){this.digest()}})})),define("27/svg/signal/index",["1h"],((t,e,i)=>{let r={viewBox:"0 0 1294 1024"},s=t("1h"),{min:o}=Math;i.exports=s.View.extend({tmpl:(t,e,i)=>{let s,o,l,a,{props:d,unit:h}=t;return l=[],o="",!d.connected||d.strength<1?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M112.88 689.631h155.428v244.244h-155.428v-244.244z",fill:o},1)),o="",!d.connected||d.strength<2?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M334.921 556.409h155.428v377.467h-155.428v-377.467z",fill:o},1)),o="",!d.connected||d.strength<3?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M579.164 400.98h133.223v532.895h-133.223v-532.895z",fill:o},1)),o="",!d.connected||d.strength<4?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M801.202 245.553h155.428v688.323h-155.428v-688.323z",fill:o},1)),o="",!d.connected||d.strength<5?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M1023.242 90.125h155.427v843.75h-155.428v-843.75z",fill:o},1)),d.connected||l.push(e("path",{fill:d.disconnect,d:"M301.188 81.702l83.042 82.935-251.446 252.884-83.042-82.935z"},1),e("path",{fill:d.disconnect,d:"M47.262 160.271l78.843-78.265L381.75 334.009l-78.842 78.264z"},1)),a=[e("svg",r,l)],s=[e("div",{class:"cr dR",style:"left:"+d.x+h+";top:"+d.y+h+";width:"+d.width+h+";height:"+d.height+h+";opacity:"+d.alpha+";transform:rotate("+d.rotate+"deg)"},a)],e(i,0,s)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:s}=e,l=o(r,s)/2;i>l&&(i=l),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/svg/star/index",["1h","../../../1g/1j","../../../24/33"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),o=t("../../../24/33"),{State:l,View:a}=r;i.exports=a.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,r=(t=>{let e=l.get("b5")||0,i=l.get("b6")||0,r=o._hI(t),a=0,d=[];for(let o of r)d.push(a?"L":"M"),a=1,d.push(`${s.bX(t[o+"X"]-t.x+e)} ${s.bX(t[o+"Y"]-t.y+i)}`);return d.push("z"),d.join("")})(e);this.set({unit:i,props:e,path:r})},render(){this.digest()}})})),define("27/svg/speaker/index",["1h"],((t,e,i)=>{let r,s={viewBox:"0 0 1024 1024"},o=t("1h"),{min:l}=Math;i.exports=o.View.extend({tmpl:(t,e,i)=>{let o,l,a,d,{props:h,unit:n}=t;return a=[],r?a.push(r):a.push(r=e("path",{_:"a;",d:"M213.34 341.34L426.68 128v768L213.34 682.66H128q-53.002 0-90.501-37.499T0 554.66v-83.661q0-53.002 37.499-91.34T128 341.318h85.34zm128 348.652V332.329l-92.672 94.33H128q-17.326 0-30.003 13.17t-12.677 31.17v83.66q0 17.675 12.492 30.168t30.168 12.493h120.668z"},1)),h.muted?a.push(e("path",{fill:h.mutedcolor,d:"M537 609.9l248.8-248.8c15.7-15.7 41.3-15.7 57 0 15.7 15.7 15.7 41.3 0 57L594 666.9c-15.7 15.7-41.3 15.7-57 0-15.7-15.6-15.7-41.3 0-57z"},1),e("path",{fill:h.mutedcolor,d:"M594 361.1l248.8 248.8c15.7 15.7 15.7 41.3 0 57-15.7 15.7-41.3 15.7-57 0L537 418.1c-15.7-15.7-15.7-41.3 0-57 15.7-15.7 41.3-15.7 57 0z"},1)):(l="",h.volume<1?l+=""+h.background:l+=""+h.fill,a.push(e("path",{class:"dq",d:"M619.991 369.664q12.329 0 23.163 7.004t16.159 19.006q23.326 56.34 23.326 116.326 0 61.01-23.326 115.671-4.997 12.001-15.831 19.17t-23.491 7.167q-15.667 0-29.163-11.837t-13.497-30.843q0-7.66 3.338-16.67Q597.34 555.314 597.34 512q0-43.008-16.67-83.005-3.339-7.66-3.339-16.671 0-19.006 12.841-30.843t29.84-11.837z",fill:l},1)),l="",h.volume<2?l+=""+h.background:l+=""+h.fill,a.push(e("path",{class:"dq",d:"M750.326 250.675q24.002 0 36.659 20.992 32.993 55.01 49.009 113.664Q853.32 448 853.32 512q0 63.672-17.326 126.996-16.343 59.331-49.009 113.664-12.329 20.665-36.66 20.665-16.67 0-29.675-12.001t-13.005-30.659q0-11.674 6.329-21.996 26.01-43.335 39.67-92.672Q767.98 566.006 767.98 512q0-53.658-14.336-103.67-13.66-49.336-39.67-93-6.329-9.666-6.329-21.667 0-18.002 13.17-30.495t29.49-12.493z",fill:l},1)),l="",h.volume<3?l+=""+h.background:l+=""+h.fill,a.push(e("path",{class:"dq",d:"M877.998 133.673q23 0 35.328 18.657 54.334 79.667 82.494 171.336T1023.98 512t-28.16 188.334-82.494 171.336q-12.001 18.657-35.328 18.657-17.326 0-29.84-12.001t-12.492-30.659q0-13.332 7.332-24.002Q938.66 683.335 938.66 512q0-84.009-24.33-163.328t-71.332-148.337q-7.332-10.67-7.332-24.002 0-18.657 12.493-30.659t29.84-12.001z",fill:l},1))),d=[e("svg",s,a)],o=[e("div",{class:"cr dR",style:"left:"+h.x+n+";top:"+h.y+n+";width:"+h.width+n+";height:"+h.height+n+";opacity:"+h.alpha+";transform:rotate("+h.rotate+"deg)"},d)],e(i,0,o)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:s}=e,o=l(r,s)/2;i>o&&(i=o),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/svg/triangle/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j"),{State:o,View:l}=r;i.exports=l.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,toPx:d,ox:h,oy:n}=t;return s=[e("path",{d:"M"+d(l.ctrl1X-l.x+h)+" "+d(l.ctrl1Y-l.y+n)+"L"+d(l.ctrl2X-l.x+h)+" "+d(l.ctrl2Y-l.y+n)+"L"+d(l.ctrl3X-l.x+h)+" "+d(l.ctrl3Y-l.y+n)+"Z",style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a+";opacity:"+l.alpha,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a},o)],e(i,0,r)},init(){this.set({toPx:s.bX,ox:o.get("b5")||0,oy:o.get("b6")||0})},assign(t){this.set(t)},render(){this.digest()}})})),define("27/svg/wifi/index",["1h"],((t,e,i)=>{let r={viewBox:"0 0 1024 1024"},s=t("1h"),{min:o}=Math;i.exports=s.View.extend({tmpl:(t,e,i)=>{let s,o,l,a,{props:d,unit:h}=t;return l=[],o="",!d.connected||d.strength<3?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M512.2 192c-159.8 0-311.4 59.8-427.8 168.2l-20.4 19 19.8 19.6 64.6 64 18.6 18.4 19.2-17.6c89-81.8 204.6-127 325.6-127 121 0 236.8 45.2 325.6 127l19.2 17.6 18.6-18.4 64.6-64 19.8-19.6-20.4-19C823.2 251.8 671.4 192 512.2 192z",fill:o},1)),o="",!d.connected||d.strength<2?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M794.8 512.8C717.2 442.6 617 404 512.6 404h-17.8l-.2.4c-98.4 4-192 42.2-265.2 108.4l-21 19 20.2 20 65.4 64.8 18.2 18 19.2-16.8c50.6-44.4 114.8-69 180.6-69 66.2 0 130.4 24.6 181 69l19.2 16.8 18.2-18 65.4-64.8 20.2-20-21.2-19z",fill:o},1)),o="",!d.connected||d.strength<1?o+=""+d.background:o+=""+d.fill,l.push(e("path",{class:"dq",d:"M512.4 832l19.2-19 105.6-104.4 21.2-21-23.2-19c-30.8-22.8-64.8-40-123-40-58 0-89.8 18.8-123 40l-23 19 21.2 21L493 813l19.4 19z",fill:o},1)),d.connected||l.push(e("path",{fill:d.disconnect,d:"M513.067 170.667c34.133 0 64 29.866 64 64v298.666c0 34.134-29.867 64-64 64s-64-29.866-64-64V234.667c0-34.134 29.866-64 64-64zM449.067 682.667a64 64 0 1 0 128 0 64 64 0 1 0-128 0z"},1)),a=[e("svg",r,l)],s=[e("div",{class:"cr dR",style:"left:"+d.x+h+";top:"+d.y+h+";width:"+d.width+h+";height:"+d.height+h+";opacity:"+d.alpha+";transform:rotate("+d.rotate+"deg)"},a)],e(i,0,s)},assign(t){let{props:e}=t,{borderwidth:i,width:r,height:s}=e,l=o(r,s)/2;i>l&&(i=l),this.set(t),this.set({bw:i})},render(){this.digest()}})})),define("27/svg/rmoon/index",["1h","../../../1g/1j"],((t,e,i)=>{let r=t("1h"),s=t("../../../1g/1j");i.exports=r.View.extend({tmpl:(t,e,i)=>{let r,s,o,{props:l,unit:a,path:d}=t;return s=[e("path",{d:d,style:"fill:"+(l.fillcolor||"none")+";stroke:"+l.color+";stroke-width:"+l.linewidth+a,"stroke-dasharray":l.dash+a},1)],o=[e("svg",{class:"cr dB",style:"width:"+l.width+a+";height:"+l.height+a+";opacity:"+l.alpha},s)],r=[e("div",{class:"cr dR",style:"left:"+l.x+a+";top:"+l.y+a+";width:"+l.width+a+";height:"+l.height+a+";transform:rotate("+l.rotate+"deg)"},o)],e(i,0,r)},assign(t){let{props:e,unit:i}=t,{width:r,height:o,mod1X:l}=e;r=s.bX(r),o=s.bX(o);let a=o/2,d="M0,0";d+="A"+r+","+a+",0 0 1 0,"+o,d+="A"+l*r+","+a+",0 0 0 0 0",this.set({unit:i,props:e,path:d})},render(){this.digest()}})})),define("24/barcode",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.barcode||"//unpkg.com/jsbarcode@3.11.5/dist/")+"JsBarcode.all.js"];i.exports={_dn:[{value:"CODE128",text:"CODE128"},{value:"CODE128A",text:"CODE128A"},{value:"CODE128B",text:"CODE128B"},{value:"CODE128C",text:"CODE128C"},{value:"CODE39",text:"CODE39"},{value:"EAN2",text:"EAN2"},{value:"EAN5",text:"EAN5"},{value:"EAN8",text:"EAN8"},{value:"EAN13",text:"EAN13"},{value:"ITF",text:"ITF"},{value:"ITF14",text:"ITF14"},{value:"MSI",text:"MSI"},{value:"MSI10",text:"MSI10"},{value:"MSI11",text:"MSI11"},{value:"MSI1010",text:"MSI1010"},{value:"MSI1110",text:"MSI1110"},{value:"UPC",text:"UPC"},{value:"UPCE",text:"UPCE"},{value:"upce",text:"UPC-E"},{value:"codabar",text:"codabar"},{value:"pharmacode",text:"pharmacode"},{value:"GenericBarcode",text:"GenericBarcode"}],_f1:()=>s("JsBarcode",a)}})),define("24/chart",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.chartjs||"//unpkg.com/chart.js@3.7.0/dist/")+"chart.min.js"];i.exports=()=>s("Chart",a)})),define("24/35",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.ckeditor||"//ckeditor.com/assets/libs/ckeditor5/31.1.0/")+"ckeditor.js"];i.exports=()=>s("CKEditor",a)})),define("24/30",["1h","../1g/2b"],((t,e,i)=>{let r=t("1h"),s=t("../1g/2b"),o={},{random:l}=Math,{type:a,config:d,isFunction:h,has:n}=r,c={},p=t=>{let e=t.id+"~"+t.url,i=t.url,r=d("rebuildBindUrl");return h(r)&&(c[e]?i=c[e]:(i=r(t),c[e]=i)),i};i.exports={_lX(t){let e=p(t);return o[e]},_gj:t=>new Promise((e=>{let i=p(t),r=o[i];if(r||(r={},o[i]=r),r._mD)e(r);else if(r._mE)r._mE.push(e);else{r._mE=[e],(new s).all({name:"_eS",url:i},((t,e)=>{let i=e.get("data");if(l()<.1&&"Array"==a(i)){let t=[];for(let e of i)if("Object"==a(e)){let i={};for(let t in e){let r=e[t];"Number"==a(r)?i[t]=r+10*l()|0:"String"!=a(r)||r.startsWith("//")||r.startsWith("http://")||r.startsWith("https://")?i[t]=r:i[t]=r.substring(1)}t.push(i)}else t.push(e);i=t}r._eO=i,r._mD=1,r._eN=null==t?void 0:t.message;for(let t of r._mE)t(r);delete r._mE}))}})),_mz(t,e,i){let r=o[t];r||(r={},o[t]=r),r._eO=e,r._mD=1,r._eN=i},_bU(){for(let t in o)delete o[t]},_mA:t=>n(o,t),_mF:p}})),define("24/echarts",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.echart||"//unpkg.com/echarts@5.2.2/dist/")+"echarts.min.js"];i.exports=()=>s("echarts",a)})),define("24/format",["1h"],((t,e,i)=>{let r=t("1h"),s=[{title:"\u65e0\u5c0f\u6570",format:".",example:"0"},{title:"\u4e00\u4f4d\u5c0f\u6570",format:".#",example:"0.1"},{title:"\u4e24\u4f4d\u5c0f\u6570",format:".##",example:"0.01"},{title:"\u4e09\u4f4d\u5c0f\u6570",format:".###",example:"0.001"},{title:"\u56db\u4f4d\u5c0f\u6570",format:".####",example:"0.0001"}],o=[{title:"\u6570\u5b57",id:"number",groups:[{title:"\u6574\u6570",list:[{title:"\u5343\u5206\u4f4d",format:"#,###",example:"1,000"},{title:"\u4e07\u5206\u4f4d",format:"#,####",example:"1,0000"},{title:"\u4e07\u5206\u4f4d",format:"#'####",example:"1'0000"},{title:"\u767e\u5206\u6bd4",format:"#%",example:"100%"},{title:"\u5343\u5206\u6bd4",format:"#\u2030",example:"1000\u2030"}]},{title:"\u5c0f\u6570",list:s}]},{title:"\u8d27\u5e01",id:"currency",groups:[{title:"\u524d\u7f00",list:[{title:"\xa5\u4eba\u6c11\u5e01",format:"^\xa5"},{title:"$\u7f8e\u5143",format:"^$"},{title:"\u20ac\u6b27\u5143",format:"^\u20ac"},{title:"\uffe1\u82f1\u78c5",format:"^\uffe1"},{title:"\u0e3f\u6cf0\u94e2",format:"^\u0e3f"}]},{title:"\u6574\u6570",list:[{title:"\u5343\u5206\u4f4d",format:"#,###",example:"1,000"},{title:"\u4e07\u5206\u4f4d",format:"#,####",example:"1,0000"},{title:"\u4e07\u5206\u4f4d",format:"#'####",example:"1'0000"}]},{title:"\u5c0f\u6570",list:s},{title:"\u540e\u7f00",list:[{title:"\u4eba\u6c11\u5e01\xa5",format:"\xa5"},{title:"\u7f8e\u5143$",format:"$"},{title:"\u6b27\u5143\u20ac",format:"\u20ac"},{title:"\u82f1\u78c5\uffe1",format:"\uffe1"},{title:"\u6cf0\u94e2\u0e3f",format:"\u0e3f"}]}]},{title:"\u65e5\u671f",id:"date",groups:[{title:"\u65e5\u671f",list:[{title:"\u5e74\u6708\u65e5",format:"yyyyMMdd",example:"20200908"},{title:"\u5e74\u6708\u65e5",format:"yyyyMd",example:"202098"},{title:"\u5e74-\u6708-\u65e5",format:"yyyy-MM-dd",example:"2020-09-08"},{title:"\u5e74-\u6708-\u65e5",format:"yyyy-M-d",example:"2020-9-8"},{title:"\u5e74/\u6708/\u65e5",format:"yyyy/MM/dd",example:"2020/09/08"},{title:"\u5e74/\u6708/\u65e5",format:"yyyy/M/d",example:"2020/9/8"},{title:"\u65e5-\u6708-\u5e74",format:"dd-MM-yyyy",example:"08-09-2020"},{title:"\u65e5-\u6708-\u5e74",format:"d-M-yyyy",example:"8-9-2020"},{title:"\u65e5/\u6708/\u5e74",format:"dd/MM/yyyy",example:"08/09/2020"},{title:"\u65e5/\u6708/\u5e74",format:"d/M/yyyy",example:"8/9/2020"},{title:"\u6708\u65e5",format:"MMdd",example:"0908"},{title:"\u6708\u65e5",format:"Md",example:"98"},{title:"\u6708-\u65e5",format:"MM-dd",example:"09-08"},{title:"\u6708-\u65e5",format:"M-d",example:"9-8"},{title:"\u6708/\u65e5",format:"MM/dd",example:"09/08"},{title:"\u6708/\u65e5",format:"M/d",example:"9/8"}]},{title:"\u65f6\u95f4",list:[{title:" \u5c0f\u65f6",format:" h",example:"9"},{title:" \u5c0f\u65f6",format:" hh",example:"09"},{title:" \u5c0f\u65f6:\u5206\u949f",format:" h:m",example:"9:2"},{title:" \u5c0f\u65f6:\u5206\u949f",format:" hh:mm",example:"09:02"},{title:" \u5c0f\u65f6:\u5206\u949f:\u79d2",format:" h:m:s",example:"9:2:8"},{title:" \u5c0f\u65f6:\u5206\u949f:\u79d2",format:" hh:mm:ss",example:"09:02:08"}]}]},{title:"\u81ea\u5b9a\u4e49",id:"custom",defaults:"/*\n data\u662f\u6839\u636e\u6839\u636e\u5f53\u524d\u7ed1\u5b9a\u7684\u5b57\u6bb5\u53d6\u5230\u7684\u6570\u636e\n item\u662f\u5b8c\u6574\u7684\u5355\u6761\u6570\u636e\u5bf9\u8c61\n \u53ef\u4ee5\u628a\u4e0b\u9762\u7684console\u524d\u7684\u6ce8\u91ca\u53bb\u6389\u67e5\u770b\u76f8\u5e94\u7684\u6570\u636e\n*/\nfunction(data,item){\n //console.log(data,item);\n //return data+item.name;\n return data;\n}"}],l=[{reg:/y+/gi,fn:(t,e)=>(e.getFullYear()+"").slice(-t.length)},{reg:/M+/g,fn:(t,e)=>("0"+(e.getMonth()+1)).slice(-t.length)},{reg:/d+/gi,fn:(t,e)=>("0"+e.getDate()).slice(-t.length)},{reg:/h+/gi,fn:(t,e)=>("0"+e.getHours()).slice(-t.length)},{reg:/m+/g,fn:(t,e)=>("0"+e.getMinutes()).slice(-t.length)},{reg:/s+/g,fn:(t,e)=>("0"+e.getSeconds()).slice(-t.length)}],a=new r.Cache,d=/\bfunction\s*\(([\s\S]*?)\)\s*\{([\s\S]*?)\}\s*;?\s*$/i,h=/^(\^[\s\S]+?)?(?:#([,'%\u2030]))?(#{3,4})?(\.#{0,4})?([\s\S]*?)$/;i.exports={_jw:()=>o,_jr(t){null==t&&(t="");let e=t.indexOf(":");if(e>-1){let i=t.substring(0,e),r=t.substring(e+1),s="currency"==i;if("number"==i||s){let t=[i];return r.replace(h,((e,i,r,o,l,a)=>{s&&t.push(i||""),"%"==r||"\u2030"==r?t.push("#"+r):r?t.push("#"+r+o):t.push(""),t.push(l||""),s&&t.push(a||"")})),t}if("date"==i){let t=r.indexOf(" ");return t>-1?[i,r.substring(0,t),r.substring(t)]:[i,r,""]}if("custom"==i)return[i,r]}return[]},_jv(t){let e=this._jr(t),i="";for(let t of o)if(t.id==e[0]){if(i=t.title+":","custom"==t.id)i+="\u51fd\u6570";else{let r=1;for(let s of t.groups){for(let t of s.list)if(t.format==e[r]){i+=t.title;break}r++}}break}return i},_ge(t,e,...i){t+="";let r=this._jr(t),s=r.shift();if("number"==s||"currency"==s){let t=Number(e);if(isNaN(t))return e;let i,o,l,a="",d="";"number"==s?[i,o]=r:([a,i,o,d]=r,a&&(a=a.substring(1))),"#%"==i?(t*=100,i="",d="%"):"#\u2030"==i&&(t*=1e3,i="",d="\u2030"),l=o?t.toFixed(o.length-1):t+"";let h=l.indexOf("."),n="";if(h>0&&(n=l.substring(h),l=l.substring(0,h)),i){let t,e=",",r=i.lastIndexOf(e);if(-1==r&&(e="'",r=i.lastIndexOf(e)),-1!=r){t=i.substring(r+1).length,l=((t,e,i)=>{let r="";for(;t.length>e;)r=i+t.slice(-e)+r,t=t.substring(0,t.length-e);return t&&(r=t+r),r})(l,t,e)}}return a+l+n+d}if("date"==s){let t=(t=>t instanceof Date||(t=new Date(Date.parse(String(t).replace(/-/g,"/"))))instanceof Date&&"Invalid Date"!=t.toString()?t:null)(e);if(!t)return e;let i=r.join(" ").trim();for(let e of l)i=i.replace(e.reg,(i=>e.fn(i,t)));return i}if("custom"==s){let t,s;if(r.join("").replace(d,((e,i,r)=>{t=i,s=r})),!t&&!s)return e;{let r=[t,"\0",s].join(""),o=a.get(r);o||(o=Function(t,s),a.set(r,o));try{return o(e,...i)}catch(t){return t.message}}}return e}}})),define("24/42",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.filesaver||"//unpkg.com/file-saver@2.0.5/dist/")+"FileSaver.min.js"];i.exports=()=>s("saveAs",a)})),define("24/fs",["../1o/23/index","../1s/index","1h","../24/42"],((t,e,i)=>{let r=t("../1o/23/index"),s=t("../1s/index"),o=t("1h"),l=t("../24/42"),{guid:a}=o,d=!window.showOpenFilePicker&&!window.showSaveFilePicker;i.exports={_d3:()=>d,async _c0(){if(d&&!window.saveAs)try{r.show(s("g6")),await l()}catch(t){throw t}finally{r.hide()}},async _cZ(t){if(d){let e=t.files[0];return e?(t.value="",await(t=>new Promise(((e,i)=>{let r=new FileReader;r.onload=t=>{e(t.target.result)},r.onerror=t=>{i(t)},r.readAsText(t)})))(e)):""}let[e]=await window.showOpenFilePicker({id:"_rd_write",excludeAcceptAllOption:!0,types:[{description:"Report Designer File",accept:{"text/plain":[".rd"]}}]}),i=await e.getFile();return await i.text()},async _c1(t,e,i=[".rd"]){if(d){let i=new Blob([e]);saveAs(i,t)}else{let r=await window.showSaveFilePicker({id:"_rd_read",suggestedName:t,startIn:"downloads",types:[{description:"Report Designer File",accept:{"text/plain":i}}]}),s=await r.createWritable();await s.write(e),await s.close()}}}})),define("24/fx",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.fx||"//unpkg.com/function-plot/dist/")+"function-plot.js"];i.exports=()=>s("functionPlot",a)})),define("24/html2canvas",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.html2canvas||"//unpkg.com/html2canvas@1.3.3/dist/")+"html2canvas.min.js"];i.exports=()=>s("html2canvas",a)})),define("24/3u",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.jspdf||"//cdn.bootcdn.net/ajax/libs/jspdf/2.5.0/")+"jspdf.umd.min.js"];i.exports=()=>s("jspdf",a)})),define("24/loader",["1h","../1o/1r/index"],((t,e,i)=>{let r=t("1h"),s=t("../1o/1r/index"),{State:o}=r,l={},a={},d="can not load: ",h=t=>new Promise((e=>{let i,r=t.endsWith("css");if(o.fire("b9",{_eA:1}),r){i=document.createElement("link"),i.href=t,i.rel="stylesheet",document.head.appendChild(i);let r=Date.now(),l=()=>{let t=i.sheet,a=0;try{t&&(a=1)}catch(t){}Date.now()-r>2e3&&(a=1),a&&(s._b8(l),e(),o.fire("b9"))};s._b9(30,l)}else{let i=document.createElement("script");i.onload=i.onerror=()=>{document.head.removeChild(i),e(),o.fire("b9")},i.src=t,document.head.appendChild(i)}}));i.exports=(t,e,i)=>new Promise(((r,s)=>{let o=l[t]||1,n=a[t]||(a[t]=[]);if(4&o)window[t]?r():s(d+t);else if(2&o)n.push([r,s]);else{l[t]=2|o,n.push([r,s]);let a=[];if(i)for(let t of i)a.push(h(t));Promise.all(a).then((()=>{let t=[];for(let i of e)t.push(h(i));return Promise.all(t)})).then((()=>{l[t]=4|o;for(let[e,i]of n)window[t]?e():i(d+t);n.length=0})).catch(s)}}))})),define("24/map",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=l&&l.leaflet||"//unpkg.com/leaflet@1.7.1/dist/",d=[a+"leaflet.css",a+"leaflet.js"];i.exports=()=>s("L",d)})),define("24/mathjax",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.mathjax||"//unpkg.com/mathjax@3.2.0/es5/")+"tex-svg.js"];i.exports=()=>s("MathJax",a)})),define("24/qrcode",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.qrcode||"//unpkg.com/@keeex/qrcodejs-kx@1.0.2/")+"qrcode.min.js"];i.exports=()=>s("QRCode",a)})),define("24/table",["1h"],((t,e,i)=>{let r=t("1h"),{isArray:s}=r,{abs:o,min:l,max:a}=Math,d=["head","label","data","total","foot"],h=(t,e)=>{for(let i of d)e[i]&&(t[i]=!0);return t},n=(t,e,i)=>{let r=i;for(let i of t)for(let t of i.cols){let i=t._g3+t.colspan-1;if(t._g3<=e&&i>=e){let t=i-e;t<r&&(r=t)}}return r},c=(t,e,i)=>{let r=i;for(let i of t)for(let t of i.cols){let i=t._ig+t.rowspan-1;if(t._ig<=e&&i>=e){let t=i-e;t<r&&(r=t)}}return r};i.exports={bJ(t,e){if(!e||null==t._gn||null==t._go){let e=0,i=0,r={},s={},{rows:o}=t,l=0,a=0,d=0;for(let t of o){i=0,d=0;for(let o of t.cols){for(;r[i]&&s[i]&&e<s[i];)i+=r[i];o._dt=d++,o._ds=e,o._ig=e,o._g3=i,o.rowspan?(s[i]=o.rowspan+e,o._if=e+o.rowspan-1):o._if=e,o.colspan&&(r[i]=o.colspan,i+=o.colspan-1),o._g4=i++,i>l&&(l=i)}e++,e>a&&(a=e)}t._gn=a,t._go=l}return t},bP(t,e){let i,{focusCol:r,focusRow:o,rows:l}=t,a=0,d=0;if("left"==e)i=[[o,r-1],[o,r]],d=1;else if("right"==e)i=[[o,r],[o,r+1]],d=1;else{a=1;let t=l[o].cols[r],s=t._if+1,d=t._g4,h=0;for(let a=0;a<=s;a++){for(let s=0;s<=d;s++){let d=l[a];if(d){let l=d.cols[s];if(l&&l!=t){let s=l._dt;if(l._g3==t._g3&&l._g4==t._g4)if(l._if+1==t._ig){if("top"==e){i=[[a,s],[o,r]],h=1;break}}else if(t._if+1==l._ig&&"bottom"==e){i=[[o,r],[a,s]],h=1;break}}}}if(h)break}}let[h,p]=i;t.focusRow=h[0],t.focusCol=h[1];let g=0,f=0,b=-1,u=-1;for(let t of i){let e=l[t[0]].cols[t[1]],i=e._if;i>b&&(b=i);let r=e._g4;r>u&&(u=r)}let x=l[h[0]].cols[h[1]],y=l[p[0]].cols[p[1]];f=b-x._ig+1,g=u-x._g3+1,d&&(x.width+=y.width),a&&(x.height+=y.height),s(x.elements)?x.elements.push(...y.elements):!x.bindKey&&y.bindKey&&(x.bindKey=y.bindKey,x.bindName=y.bindName,x.type=y.type),x.colspan=g,x.rowspan=f;for(let t=i.length-1;t>0;t--){let e=i[t];l[e[0]].cols.splice(e[1],1)}let m=t._gn;for(let t=m;t--;){l[t].cols.length||(l.splice(t,1),m--)}for(let t=0;t<m;t++){let e=c(l,t,m);if(e>0){for(let i=0;i<=t;i++){let r=l[i];for(let i of r.cols){let r=i._ig+i.rowspan-1;i._ig<=t&&r>=t&&(i.rowspan-=e)}}break}}let w=t._go;for(let t=0;t<w;t++){let e=n(l,t,w);if(e>0){for(let i of l)for(let r of i.cols){let i=r._g3+r.colspan-1;r._g3<=t&&i>=t&&(r.colspan-=e)}break}}return t},bQ(t,e,i,r,s){let{focusRow:o,focusCol:l,rows:a}=t,d=a[o],n=d.cols[l],c=this.bK(t);if(e){let t,e;if(n.colspan>1){let i=n.colspan/2|0,r=n.colspan-i,s=0,o=n._g4;for(let t=o-i+1;t<=o;t++)s+=c._gp[t];n.colspan=r,n.width-=s,t=i,e=s}else{let i=n.width,s=i/2;s<r&&(s=r),n.width=s,e=s,t=1;let o=2*s-i;for(let t of a)for(let e of t.cols)e!=n&&e._g3<=n._g3&&e._g4>=n._g4&&(e.colspan++,e.width+=o)}let s={...i,elements:[],colspan:t,rowspan:n.rowspan,width:e,height:n.height};d.cols.splice(l+1,0,s)}else{let t,e;if(n.rowspan>1){let i=n.rowspan/2|0,r=n.rowspan-i,s=0,o=n._if;for(let t=o-i+1;t<=o;t++)s+=c._gq[t];n.rowspan=r,n.height-=s,t=i,e=s,d=a[n._ig+r];let h=0;for(let t of d.cols){if(t._g3>n._g3){l=h;break}h++}}else{let i=n.height,r=i/2;r<s&&(r=s),n.height=r,e=r,t=1;let o=2*r-i;for(let t of a)for(let e of t.cols)e!=n&&e._ig<=n._ig&&e._if>=n._if&&(e.rowspan++,e.height+=o);a.splice(n._if+1,0,d=h({cols:[]},d))}let r={...i,elements:[],colspan:n.colspan,rowspan:t,width:n.width,height:e};d.cols.splice(l,0,r)}},bL(t,e,i,r){let s={},{rows:o,focusRow:l,_go:a}=t,d=o[l],n=this.bK(t);for(let t=0;t<e;t++){let i=o[t];for(let t of i.cols)if(t._if>=e){t.rowspan++,t.height+=r;let e=t._g3,i=e+t.colspan;for(let t=e;t<i;t++)s[t]=1}}let c={cols:[]};d&&h(c,d);for(let t=0;t<a;t++)if(!s[t]){let e={...i,elements:[],width:n._gp[t],height:r,rowspan:1,colspan:1};c.cols.push(e)}return o.splice(e,0,c),t},bN(t,e,i,r){let{rows:s}=t,o=[],l=0,a=this.bK(t);for(let t of s){let s=t.cols.length,d=s;for(let i=0;i<s;i++){let s=t.cols[i];if(s.rowspan>1&&o.push(s),s._g3<e&&s._g4>=e){s.colspan++,s.width+=r,d=-1;break}if(s._g3>=e){d=i;break}}for(let t of o)if(t._g3<e&&t._g4>=e&&t._ig<l&&t._if>=l){d=-1;break}if(-1!=d){let e={...i,elements:[],height:a._gq[l],width:r,rowspan:1,colspan:1};t.cols.splice(d,0,e)}l++}return t},bM(t,e){let i,{rows:r,focusRow:s,focusCol:d}=t;if(null!=e)i=[e,e];else{let t=r[s].cols[d];i=[t._ig,t._if]}let h={},n=0,c=i[1]-i[0]+1,p=r[i[1]+1],g=c/2;for(let t=i[1];t>=0;t--){let e=r[t],s=0;for(let t=e.cols.length;t--;){let r=e.cols[t],d=r._g3,p=r._if,f=r._ig,b=p-f+1;if(1==b&&(s=r.height),b>1){let u=b/2;if(o(i[0]+g-f-u)<g+u){if(i[0]==r._ig&&r._if-r._ig>=c&&(h[d]=r,n=1),!s)for(let i=t;i--;){let t=e.cols[i];if(t._if==t._ig){s=t.height;break}}let o=l(p,i[1])-a(i[0],f)+1;r.rowspan-=o,r.height-=s*o}}}t<=i[1]&&t>=i[0]&&r.splice(t,1)}if(n){let e=t._go;if(p)for(let t=e,i=p.cols.length;t--;){let e=h[t];if(e){let r=0;for(let e=i;e--;){if(p.cols[e]._g3<t){i=e,r=e+1;break}}p.cols.splice(r,0,e)}}}return t},bO(t,e,i){let r,{focusRow:s,focusCol:d,rows:h}=t,n=0;if(null!=e){let t;null==i&&(i=e),r=[e,i];for(let r of h){for(let s=r.cols.length;s--;){let o=r.cols[s];if(o._g3==e&&o._g4==i){t=1,n=o.width;break}}if(t)break}}else{let t=h[s].cols[d];r=[t._g3,t._g4],n=t.width}let c=(r[1]-r[0]+1)/2;for(let t of h)for(let e=t.cols.length;e--;){let i=t.cols[e],s=i._g3,d=i._g4;if(s>=r[0]&&d<=r[1])t.cols.splice(e,1);else if(i.colspan>1){let t=(d-s+1)/2;if(o(r[0]+c-s-t)<c+t){let t=l(d,r[1])-a(r[0],s)+1;i.colspan-=t,i.width-=n}}}return t},bK(t,e){let i=[],r=[],{rows:s}=t,o=!1,l=!1;for(let t of s)for(let s of t.cols){if(1==s.colspan){let t=s._g3;(null==i[t]||!o&&s.width>i[t]||e==s)&&(o=o||e==s,i[t]=s.width)}if(1==s.rowspan){let t=s._ig;(null==r[t]||!l&&s.height>r[t]||e==s)&&(l=l||e==s,r[t]=s.height)}}for(let t of s)for(let s of t.cols){if(s.colspan>1){let t=0,r=0,o=s._g3,l=o+s.colspan;for(let e=o;e<l;e++)null!=i[e]&&i[e]>=0&&(t+=i[e],r++);if(r<s.colspan){let e=a(s.width-t,0)/(s.colspan-r);for(let t=o;t<l;t++)(null==i[t]||i[t]<0)&&(i[t]=e)}else if(t<s.width&&(!e||e==s)||t>s.width&&e&&e==s)for(let e=o;e<l;e++)i[e]=t>0?i[e]/t*s.width:s.width/s.colspan}if(s.rowspan>1){let t=0,i=0,o=s._ig,l=o+s.rowspan;for(let e=o;e<l;e++)null!=r[e]&&r[e]>=0&&(t+=r[e],i++);if(i<s.rowspan){let e=a(0,s.height-t)/(s.rowspan-i);for(let t=o;t<l;t++)(null==r[t]||r[t]<0)&&(r[t]=e)}else if(t<s.height&&(!e||e==s)||t>s.height&&e&&s==e)for(let e=o;e<l;e++)r[e]=t>0?r[e]/t*s.height:s.height/s.rowspan}}return{_gp:i,_gq:r}},bR(t,e){let i=this.bK(t,e),{rows:r}=t;for(let t of r)for(let e of t.cols){let t=e.rowspan||1,r=e.colspan||1,s=e._g3,o=e._ig,l=0,a=0;for(let t=s+r-1;t>=s;t--)l+=i._gp[t];for(let e=o+t-1;e>=o;e--)a+=i._gq[e];e.width=l,e.height=a}}}})),define("24/underscore",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=[(l&&l.underscore||"//unpkg.com/underscore@1.13.2/")+"underscore-umd-min.js"];i.exports=()=>s("_",a)})),define("24/xsheet",["1h","./loader"],((t,e,i)=>{let r=t("1h"),s=t("./loader"),{config:o}=r,l=o("providers"),a=l&&l.luckysheet||"//unpkg.com/luckysheet/dist/",d=[a+"plugins/css/pluginsCss.css",a+"plugins/plugins.css",a+"css/luckysheet.css",a+"assets/iconfont/iconfont.css",a+"plugins/js/plugin.js"],h=[a+"luckysheet.umd.js"];i.exports=()=>s("luckysheet",h,d)})),define("1o/2d/alert",["1h","../../1s/index"],((t,e,i)=>{let r,s,o={class:"bU bV cF cI cL cM ci dV"},l={class:"b5"},a={class:"bY c7"},d={class:"b0 b1 c0 cF cI cL ci dO dT"},h=t("1h"),n=t("../../1s/index"),{View:c,toTry:p,node:g}=h;i.exports=c.extend({tmpl:(t,e,i)=>{let h,n,c,{title:p,body:g,i18n:f}=t;return h=r?[r]:[r=e("div",{_:"a;",class:"bW cL dU"})],n=[e(0,p)],c=[e("h5",l,n)],h.push(e("div",o,c)),c=[e(0,g)],h.push(e("div",a,c)),n=[e(0,f("jZ"))],c=[e("button",{"mx5-click":i+"\x1e_iV()",class:"bR bT c3 co",type:"button",tabindex:1,id:"_mx_o_"+i},n)],h.push(e("div",d,c)),s?h.push(s):h.push(s=e("div",{_:"a:",class:"bZ cL dS"})),e(i,0,h)},init(t){let e=this;e._cV=t.dialog,e._iS=t.body,e._iT=t.title||n("jY"),e._iU=t.enter},async render(){let t=this;await t.digest({body:t._iS,title:t._iT});let e=g(`_mx_o_${this.id}`);e&&e.focus()},"_iV<click>"(){let t=this;t._cV.close(),t._iU&&p(t._iU)}})})),define("1o/2d/confirm",["1h","../../1s/index"],((t,e,i)=>{let r,s,o={class:"bU bV cF cI cL cM ci dV"},l={class:"b5"},a={class:"bY c7"},d={class:"b0 b1 c0 cF cI cL ci dO dT"},h=t("1h"),n=t("../../1s/index"),{View:c,toTry:p,node:g}=h;i.exports=c.extend({tmpl:(t,e,i)=>{let h,n,c,{title:p,body:g,i18n:f}=t;return h=r?[r]:[r=e("div",{_:"a;",class:"bW cL dU"})],n=[e(0,p)],c=[e("h5",l,n)],h.push(e("div",o,c)),c=[e(0,g)],h.push(e("div",a,c)),n=[e(0,f("jZ"))],c=[e("button",{type:"button","mx5-click":i+"\x1e_iV()",class:"bR bT c3 co",tabindex:1,id:"_mx_o_"+i},n)],n=[e(0,f("b6"))],c.push(e("button",{type:"button","mx5-click":i+"\x1e_cW()",class:"bR c3 cf co",tabindex:2},n)),h.push(e("div",d,c)),s?h.push(s):h.push(s=e("div",{_:"a:",class:"bZ cL dS"})),e(i,0,h)},init(t){let e=this;e._cV=t.dialog,e._iS=t.body,e._iT=t.title||n("jY"),e._iU=t.enter,e._iW=t.cancel},async render(){let t=this;await t.digest({body:t._iS,title:t._iT});let e=g(`_mx_o_${this.id}`);e&&e.focus()},"_iV<click>"(){let t=this;t._cV.close(),t._iU&&p(t._iU)},"_cW<click>"(){let t=this;t._cV.close(),t._iW&&p(t._iW)}})})),define("1o/2d/index",["1h"],((t,e,i)=>{let r,s,o=t("1h"),{View:l,applyStyle:a,node:d,dispatch:h,has:n,guid:c,mix:p,attach:g,detach:f}=o;a("hf",".gP{border-radius:2px;border:1px solid #e6e6e6;background-color:#fff;margin:25px;min-height:60px}.gQ{opacity:.2;top:10px;right:10px}.gQ:focus,.gQ:hover{opacity:.5}.gR{margin:auto}.gS{float:right;margin:35px 35px 0 -35px}.gT{position:fixed;background-color:#000;opacity:.4}.gU{-webkit-animation:bL .2s;animation:bL .2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}.gV{padding:80px 0}@-webkit-keyframes bL{from{opacity:0}to{opacity:.4}}@keyframes bL{from{opacity:0}to{opacity:.4}}.gW{-webkit-animation:bM .2s;animation:bM .2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes bM{from{opacity:.4}to{opacity:0}}@keyframes bM{from{opacity:.4}to{opacity:0}}.gX{-ms-scroll-chaining:none;overscroll-behavior:contain;position:fixed;scrollbar-gutter:stable}.gY{-webkit-animation:bN .2s;animation:bN .2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes bN{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes bN{from{transform:translateY(30px);opacity:0}to{transform:translateY(0);opacity:1}}.gZ{-webkit-animation:bO .2s;animation:bO .2s;-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@-webkit-keyframes bO{from{transform:translateY(0);opacity:1}to{transform:translateY(-30px);opacity:0}}@keyframes bO{from{transform:translateY(0);opacity:1}to{transform:translateY(-30px);opacity:0}}");let b=800,u=[];i.exports=l.extend({tmpl:(t,e,i,o,l,a)=>{let d,h,n,c,p,{zIndex:g,width:f,closable:b,i18n:u,view:x}=t;return d=[e("div",{class:"di gT gU",style:"z-index:"+(g-1),id:"_mx_mask_"+i})],c=[],b&&(h=[r||(r=e(0,"\ue624"))],c.push(e("span",{class:"bJ c3 cL dW gQ gS",title:u("j0"),"mx5-click":i+"\x1e_dQ()"},h))),s?h=[s]:(n=[e(0,'<span class="b3"></span>',1)],h=[s=e("div",{_:"a;",class:"b2 co gV"},n)]),c.push(e("div",{"mx5-owner":i,$:"#",class:"cs d2 gP","mx5-view":x+"?\x1e="+a(l,t,"a;")},h)),p=[e("div",{class:"cH gR",id:"_mx_body_"+i,style:"width:"+f+"px"},c)],d.push(e("div",{class:"bQ cB cF cj ck dC di gX gY",style:"z-index:"+g,tabindex:0,id:"_mx_scroll_"+i},p)),e(i,0,d)},init(t){let e=this,i=e.root;e.on("destroy",(()=>{(t=>{for(let e,i=u.length-1;i>=0;i--)if(e=u[i],e.id==t.id){u.splice(i,1);break}})(e),b-=2,h(i,"_iX"),i.parentNode.removeChild(i)})),n(t,"closable")||(t.closable=!0),e.set(t),b+=2,u.push(e)},async render(){await this.digest({zIndex:b});let t=d(`_mx_scroll_${this.id}`);t&&t.focus()},_iY(){let t,e=this.id;t=d("_mx_scroll_"+e),t.classList.add("gZ"),t=d("_mx_mask_"+e),t.classList.add("gW")},"_dQ<click>"(){h(this.root,"_iZ")},"$doc<keyup>"(t){if("Escape"==t.code){let t=u[u.length-1];t==this&&t.get("closable")&&h(this.root,"_iZ")}}}).static({_i1(t,e){let i=c("_mx_dlg_");document.body.insertAdjacentHTML("beforeend",'<div id="'+i+'" class="bK"/>');let r=d(i),s=t.owner.mount(r,"1o/2d/index",e),o=async()=>{r._i0||(r._i0=1,s.invoke("_iY"),f(r,"_iZ",o),setTimeout((()=>{s.unmount()}),200))};return g(r,"_iZ",o),r},alert(t,e,i){this.confirm(t,e,null,i,"alert")},confirm(t,e,i,r,s="confirm"){this.mxDialog("1o/2d/"+s,{body:t,cancel:i,enter:e,title:r,modal:!0,width:350})},mxDialog(t,e){let i,r,s=this,o="$dlg_"+t;if(s[o])return;s[o]=1;let l=p({view:t},e);l.width||(l.width=550),l.dialog={close(){i&&h(i,"_iZ")}},i=s._i1(s,l);let a=()=>{delete s[o],f(i,"_iX",a),r&&r()};return g(i,"_iX",a),{close(){i&&h(i,"_iZ")},whenClose(t){r=t}}}})})),define("1o/23/index",["1h"],((t,e,i)=>{let r=t("1h"),{applyStyle:s,guid:o,node:l}=r;s("h1",".h5{position:fixed;border-radius:5px;background:#0008;left:50%;top:50%;padding:6px;color:#fff;min-width:15%;text-align:center;transform:translate(-50%,-50%);z-index:2000}");let a,d=o("_mx_toast_");i.exports={show(t,e){let i=l(d);i||(i=document.createElement("div"),i.id=d,i.className="h5 bK",document.body.appendChild(i)),i.style.display="block",i.innerHTML=t,clearTimeout(a),e&&(a=setTimeout((()=>{this.hide()}),e))},hide(){clearTimeout(a);let t=l(d);t&&(t.style.display="none")}}})),define("1o/3a/index",["1h","../3i/index"],((t,e,i)=>{let r,s={class:"bJ hb"},o={class:"cA cB cr cw dC g7"},l={class:"bJ dF hb"},a=t("1h"),d=t("../3i/index"),{View:h,applyStyle:n,toMap:c,inside:p,node:g,dispatch:f,isFunction:b}=a;n("hi",".g0{min-width:50px;background-color:#fff;border:solid 1px #e6e6e6;border-radius:2px;height:22px;outline:0}.g1:focus,.g1:focus:hover{border-color:#fa742b}.g0:hover{border-color:#ccc}.g2{color:#333;padding:0 20px 0 3px}.g3{background-color:#f5f5f5}.g3:hover{border-color:#e6e6e6}.g3 .g2{cursor:not-allowed;color:#999}.g4{top:0;width:20px;color:#ccc}.g4::after{width:0;height:0;position:absolute;inset:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #ccc;content:'';display:block;margin:auto}.g5 .g4{transform:rotate(180deg)}.g5,.g5:hover{border-color:#fa742b}.g6{height:20px;line-height:21px}.g7{top:100%;left:-1px;right:-1px;margin-top:4px;border-radius:2px;z-index:300;border:1px solid #ccc;background-color:#fff}.g5 .g7{display:block}.g8{max-height:196px;padding:2px 0}.g9{padding:0 2px;margin:2px 0}.h_{padding:0 5px;height:20px;line-height:20px;border-radius:2px}.h_:hover{color:#333;background-color:#f0f0f0}.ha,.ha:active,.ha:focus,.ha:hover{color:#fff;background-color:#fa742b}.hb{padding:0 4px}"),i.exports=h.extend({tmpl:(t,e,i,a,d,h)=>{let n,c,p,g,f,b,u,x,y,{disabled:m,i18n:w,selectedText:_,selected:k,emptyText:v,selectedIcon:j,rList:L,list:R,textKey:S,valueKey:M,iconKey:F}=t;if(y=[],g=[],j&&(p=[e(0,j,1)],g.push(e("i",s,p))),g.push(e(0,w(_))),c="g6 cx cC",""!==k&&k!=v||(c+=" dy"),f=[e("span",{class:c},g)],r?f.push(r):f.push(r=e("span",{_:"a;",class:"ck cr dL dq g4"})),y.push(e("div",{class:"c3 cj cs g2","mx5-click":i+"\x1e_bV()",title:w(_)},f)),L){g=[];for(let t=R.length,r=0;r<t;r+=1){let t,s=R[r],o=s,a=s;S&&M&&(b="",o=w(s[S]),b+=" ",a=s[M],b+=" ",t=s[F]);let n=a+""==k+"";x=[],t&&(u=[e(0,t,1)],x.push(e("i",l,u))),x.push(e(0,o)),c="h_ cx dz cj c3 cC",n&&(c+=" ha"),p=[e("span",{"mx5-click":i+"\x1e_i9({item:'"+h(d,s,"a;."+r+".a:")+"'})",class:c},x)],g.push(e("li",{title:o,class:"dC g9"},p))}f=[e("ul",{class:"b6 g8",id:"_mx_list_"+i},g)],y.push(e("div",o,f))}return c="g0 cj cz cs",c+=m?" g3 dv":" g1",n=[e("div",{id:"_mx_dd_"+i,tabindex:!m&&0,class:c},y)],e(i,0,n)},init(){d._in(),this.on("destroy",(()=>{d._dZ(this),d._io()}))},assign(t){let{selected:e,textKey:i="",valueKey:r="",iconKey:s="",emptyText:o="",disabled:l,list:a}=t;a=b(a)?a(t.props):a||[],a=a.slice();let d=c(a,r);if(o)if(i&&r){if(!d[""]){let t={};t[i]=o,t[r]="",a.unshift(t),d[""]=t}}else d[o]||(a.unshift(o),d[o]=o);e||!o||i||r||(e=o),e&&d[e]||(e=d[e]||a[0],i&&r&&(e=e[r]));let h=i&&r?d[e][i]:e,n=s?d[e][s]:"";this.set({selected:e,selectedText:h,selectedIcon:n,list:a,iconKey:s,textKey:i,valueKey:r,emptyText:o,disabled:l})},render(){this.digest()},_iD(t){return p(t,this.root)},async _cj(){let t=this,e=g("_mx_dd_"+t.id);if(!e.classList.contains("g5")){e.classList.add("g5"),t.get("rList")||await t.digest({rList:!0}),e=g("_mx_list_"+t.id);let i=e.querySelector("li[active]");i&&i.scrollIntoViewIfNeeded&&i.scrollIntoViewIfNeeded(),d._iE(t)}},_ck(){let t=this,e=g("_mx_dd_"+t.id),{classList:i}=e;i.contains("g5")&&(i.remove("g5"),d._dZ(t))},"_bV<click>"(){let t=this,e=g("_mx_dd_"+t.id),{classList:i}=e;i.contains("g5")?t._ck():i.contains("g3")||t._cj()},"_i9<click>"(t){let e=this;e._ck();let i=e.get("valueKey"),r=e.get("textKey"),s=e.get("iconKey"),o=e.get("selected"),l=t.params.item,a=l,d=l,h="";r&&i&&(d=l[r],a=l[i],h=l[s]),o!==a&&(e.digest({selected:a,selectedIcon:h,selectedText:d}),f(e.root,"change",{item:l,value:i?l[i]:l,text:r?l[r]:l}))}})})),define("1o/39/index",["1h"],((t,e,i)=>{let r=t("1h"),{node:s,View:o,applyStyle:l,has:a,mark:d,dispatch:h,isFunction:n}=r,c=Number.MAX_SAFE_INTEGER;l("hD",".hC{border:none;background:0 0;color:#333;padding:0 20px 0 0;font-size:100%}.hC:focus{outline:0}.hC:disabled{cursor:not-allowed;color:#999;background:#f5f5f5}.hD,.hE{width:20px;height:50%;border:2px solid #fff;border-radius:2px}.hD:hover,.hE:hover{background-color:#f0f0f0}.hE{top:1px}.hD{bottom:1px}.hF::after{width:0;height:0;position:absolute;inset:0;border-left:4px solid transparent;border-right:4px solid transparent;content:'';display:block;margin:auto}.hD:after{border-top:4px solid #ccc}.hE:after{border-bottom:4px solid #ccc}.hD.hG,.hE.hG{border-color:transparent}.hD.hG:hover,.hE.hG:hover{background-color:transparent}");let p=t=>t.shiftKey?1:t.metaKey||t.ctrlKey?2:0;i.exports=o.extend({tmpl:(t,e,i)=>{let r,s,{disabled:o}=t;return r=[e("input",{class:"cj ck cx hC",id:"_mx_ipt_"+i,"mx5-focusin":i+"\x1e_j1()","mx5-focusout":i+"\x1e_j3()","mx5-change":i+"\x1e_fn()","mx5-keydown":i+"\x1e_j9()",disabled:o,autocomplete:"off","mx5-input":i+"\x1e_ka()","mx5-wheel":i+"\x1e_k_()"},1)],s="hE dL cr hF cz c3 eb",o&&(s+=" hG dv "),r.push(e("span",{"mx5-click":i+"\x1e_jX({i:1})","mx5-pointerdown":i+"\x1e_j8({i:1})","mx5-contextmenu":i+"\x1e_eM()",class:s})),s="hD dL cr hF cz c3 eb",o&&(s+=" hG dv "),r.push(e("span",{"mx5-click":i+"\x1e_jX()","mx5-pointerdown":i+"\x1e_j8()","mx5-contextmenu":i+"\x1e_eM()",class:s})),e(i,0,r)},assign(t){let e=this,{root:i}=e;if(i.classList.contains("bP"))return e._jL=e._jU(t.value),!1;delete e._jL,n(t.max)&&(//!important callback with ops.props
- t.max=t.max(t.props)),n(t.min)&&(t.min=t.min(t.props)),n(t.fixed)&&(t.fixed=t.fixed()),n(t.step)&&(t.step=t.step()),e._jM=+t.step||1,e._jN=t.empty,e._jO=i.hasAttribute("disabled"),e._jP=a(t,"max")?+t.max:c,e._jQ=a(t,"min")?+t.min:-c,e._jR=+t.ratio||10,e._jS=+t.fixed||0,e._jT=e._jU(t.value)},async render(){let{root:t}=this,e=d(this,"_bQ");await this.digest({disabled:this._jO}),e()&&!t.classList.contains("bP")&&this._jV()},_jV(t){let e=this;t=void 0===t?void 0===e._jL?e._jT:e._jL:t,s("_mx_ipt_"+e.id).value=t},_jU(t){let e=this;if((t=+t)||0===t){let i=e._jP,r=e._jQ;t>i?t=i:t<r&&(t=r),t=+t.toFixed(e._jS)}return isNaN(t)?e._jN?"":0:t},_jW(t,e){let i=this;if(""!==t||!i._jN)return(t=i._jU(t))!==i._jT&&(e||i._jV(t),h(i.root,"input",{value:i._jT=t})),i._jT;h(i.root,"input",{value:i._jT=t})},_jX(t,e){let i=this,r=i._jT;""===r&&(r=0);let s=i._jM;if(e)if(1==e)s*=i._jR;else{let t=i._jS,e=Number((s/i._jR).toFixed(t));0!=e&&(s=e)}t?r+=s:r-=s,i._jW(r)},_jY(){let t=s("_mx_ipt_"+this.id);t&&(t.focus(),t.selectionStart=t.selectionEnd=t.value.length)},_j0(){let t=this;t.root.classList.add("bP"),a(t,"_jZ")||(t._jZ=t._jT)},"_j1<focusin>"(){this._j0()},"_j3<focusout>"(){let t=this;t._j2||(t.root.classList.remove("bP"),t._jV(),t._jZ!=t._jT&&h(t.root,"change",{value:t._jT}),delete t._jZ)},"_jX<click>"(t){let e=this;e._jO||e._j4||(e._jX(t.params.i,p(t)),e._jY())},"_j8<pointerdown>"(t){let e=this;if(!e._jO){e._j2=1,e._j0();let i=t.params.i,r=d(this,"_j5");e._j6=setTimeout((()=>{r()&&(e._j7=setInterval((()=>{r()&&(e._j4=1,e._jX(i,p(t)),e._jY())}),50))}),300)}},"_j9<keydown>&{passive:false}"(t){if("ArrowUp"==t.code||"ArrowDown"==t.code){this._cq(t),this._jX("ArrowUp"==t.code,p(t))}},"_k_<wheel>&{passive:false}"(t){if(this.root.classList.contains("bP")){this._cq(t);let e=t.deltaY;this._jX(e>0,p(t))}},"_ka<input>"(t){this._fm(t);let e=t.eventTarget;this._jW(e.value,1)},"$doc<pointerup>"(){let t=this;clearTimeout(t._j6),clearInterval(t._j7),delete t._j2;let e=d(this,"_kb");setTimeout((()=>{e()&&delete t._j4}),0)}})})),define("1o/3i/index",["1h"],((t,e,i)=>{let r,s=t("1h"),{node:o,attach:l,detach:a}=s,d=0,h=[],n=["pointerdown","keyup","keydown"],c=document,p=window,g={capture:!1,passive:!0},f=t=>{for(let e=h.length;e--;){let i=h[e];if(i._jJ)h.splice(e,1);else{let e=i._jK;"resize"!=t.type&&"blur"!=t.type&&e._iD(t.target)||e._ck()}}},b=t=>{let e=h[t.id];e&&(e._jJ=1,delete h[t.id])};i.exports={_iE(t){b(t);let e={_jK:t};h.push(e),h[t.id]=e},_dZ:b,_in(){if(!d){r||(r=o("_rd_stage"));for(let t of n)l(c,t,f,g);l(p,"resize",f,g),l(p,"blur",f,g),l(p,"scroll",f,g),r&&l(r,"scroll",f,g)}d++},_io(){if(d>0&&(d--,!d)){for(let t of n)a(c,t,f,g);a(p,"resize",f,g),a(p,"blur",f,g),a(p,"scroll",f,g),r&&a(r,"scroll",f,g)}}}})),define("1o/1r/index",["1h"],((t,e,i)=>{let r,s,o=t("1h"),{toTry:l}=o,a=t=>setTimeout(t,16),d=clearTimeout,h=requestAnimationFrame||a,n=cancelAnimationFrame||d,c=Date.now,p=[],g=[];i.exports={_b9(t,e){p.push({i:t||15,f:e,n:c()}),(()=>{if(!r){let t=()=>{for(let t,e,i=0;i<p.length;i++)t=p[i],t.r?p.splice(i--,1):(e=c(),e-t.n>=t.i&&(t.n=e,l(t.f)));p.length?r=h(t):(n(r),r=0)};r=h(t)}})()},_b8(t){for(let e,i=0;i<p.length;i++)if(e=p[i],!e.r&&e.f==t){e.r=1,e.f="";break}},_eg(t,e){g.push({i:t||15,f:e,n:c()}),(()=>{if(!s){let t=()=>{for(let t,e,i=0;i<g.length;i++)t=g[i],t.r?g.splice(i--,1):(e=c(),e-t.n>=t.i&&(t.n=e,l(t.f)));g.length?s=a(t):(d(s),s=0)};s=a(t)}})()},_ed(t){for(let e,i=0;i<g.length;i++)if(e=g[i],!e.r&&e.f==t){e.r=1,e.f="";break}}}})),define("3t/index",["1h","../1g/1j","../1g/2b","../1o/2d/index","../1o/23/index","../1s/index","../24/30","../24/fs","../24/html2canvas","../24/3u","./1v/index","./1v/resource","./3v/index","./40/batch","./40/common","./40/data-celltable","./40/data-coltable","./40/data-dtable","./40/data-ftable","./40/data-repeater","./40/pager","./40/richtext","1o/3a/index"],((t,e,i)=>{let r,s;t("1o/3a/index");let o={class:"cF cI jb"},l={class:"dH je"},a=t("1h"),d=t("../1g/1j"),h=t("../1g/2b"),n=t("../1o/2d/index"),c=t("../1o/23/index"),p=t("../1s/index"),g=t("../24/30"),f=t("../24/fs"),b=t("../24/html2canvas"),u=t("../24/3u"),x=t("./1v/index"),y=t("./1v/resource"),m=t("./3v/index"),w=t("./40/batch"),_=t("./40/common"),k=t("./40/data-celltable"),v=t("./40/data-coltable"),j=t("./40/data-dtable"),L=t("./40/data-ftable"),R=t("./40/data-repeater"),S=t("./40/pager"),M=t("./40/richtext"),{State:F,View:X,lowTaskFinale:C,has:A,applyStyle:z,parseUrl:B,config:T,mark:O,guid:V,unboot:N,delay:P,task:Y,node:K,toUrl:I}=a,W=!1;let{min:J}=Math;z("iu",".i3{-ms-scroll-chaining:none;overscroll-behavior:contain;background:#eee}.i4{page-break-after:auto;page-break-inside:avoid}.i5{width:120px}.i6{width:350px}.i7{margin-top:20px}.i8{height:calc(100vh - 45px)}.i9{position:fixed;bottom:0;padding:4px;background-color:#fff;box-shadow:-1px -1px 4px #0000002b}.j_{height:30px;background:linear-gradient(#ddd4,#ddd 30%,#ddd 70%,#ddd4);margin:4px 20px}.ja{transform-origin:top center}@page{margin:0}@media screen{.jb{box-shadow:0 0 6px 0 rgba(0,0,0,.3);height:34px;justify-content:flex-end;padding-right:50px;position:fixed;top:0;left:0;right:0;z-index:2;background-color:#fff}.jc{padding:30px 50px;margin:20px auto}.jd{margin-top:45px}.je{height:120px;line-height:120px}.jf{box-shadow:0 0 6px 0 rgba(0,0,0,.3);contain:paint}.jg{margin:5px auto}}@media print{.jb{display:none}body{min-width:auto}.jg{margin:0}.jc{padding:0;margin:0}.jf{box-shadow:none}.jh{display:block}}");let q=document;q.documentElement.classList.add("cA","dD","i3");let $={"hod-table":1,"hod-hflex":1,"hod-vflex":1,"hod-footer":1,"hod-header":1,"data-dtable":1,"data-rdtable":1},H={...$,"data-repeater":1,"data-ftable":1},U=[{text:"\u7f51\u9875",value:"web"},{text:"\u56fe\u7247",value:"image"},{text:"pdf",value:"pdf"}];U.push({text:"\u56fe\u7247-RDS\u670d\u52a1",value:"rdImage"},{text:"pdf-RDS\u670d\u52a1",value:"rdPdf"});let E=/<[^>]+>/g,D=/\s*(?:id|mx5-[a-z]+)\s*=\s*"[^"]+"/gi;i.exports=X.extend({tmpl:(t,e,i,a,d,h)=>{let n,c,p,g,f,b,u,x,y,{d:m,approve:w,inner:_,i18n:k,empty:v,format:j,sf:L,enable:R,rds:S,hasData:M,loading:F,page:X,unit:C,pdf:A,rdPdf:z,pages:B,images:T,rdImages:O}=t;if(f=[],!m&&w||(_&&(p=[e(0,k("kP"))],f.push(e("button",{class:"bR c3 ce co","mx5-click":i+"\x1e_mp()"},p))),p=[e(0,k("kO"))],f.push(e("button",{class:"bR c3 ce co","mx5-click":i+"\x1e_mk()"},p)),r?f.push(r):f.push(r=e("div",{_:"a;",class:"cW j_"}))),p=[e(0,k("kJ"))],f.push(e("div",0,p)),g="1o/3a/index?",(n=v)&&(g+="disabled="+h(d,n,"a;")+"&"),g+="list="+h(d,j,"a:")+"&textKey=text&valueKey=value&selected="+a(L),f.push(e("div",{"mx5-owner":i,$:"format,empty",class:"ce i5","mx5-change":i+"\x1e_mj()","mx5-view":g})),p=[e(0,k("cz"))],f.push(e("button",{disabled:"pdf"!=L&&"rdPdf"!=L&&!R,class:"bR bT c3 co","mx5-click":i+"\x1e_mr()"},p)),S&&(r?f.push(r):f.push(r=e("div",{_:"a;",class:"cW j_"})),p=[e(0,k("kN"))],f.push(e("button",{disabled:!R,class:"bR c3 ce co","mx5-click":i+"\x1e_ml()"},p)),p=[e(0,k("kM"))],f.push(e("button",{disabled:!R,class:"bR bT c3 co","mx5-click":i+"\x1e_mo()"},p))),r?f.push(r):f.push(r=e("div",{_:"a;",class:"cW j_"})),p=[e(0,k("kI"))],f.push(e("button",{disabled:!R,class:"bR bT c3 co","mx5-click":i+"\x1e_d2()"},p)),c=[e("div",o,f)],p=[],M)if(F)u=[e(0,k("kL"))],x=[e("div",l,u)],p.push(e("div",{class:"cF cZ cs dA jf jg",style:"width:"+X.width+C+";height:"+X.height+C+";background:"+X.background},x));else if("pdf"==L)p.push(e("embed",{src:A,class:"cj i8",type:"application/pdf"},1));else if("rdPdf"==L)p.push(e("embed",{src:z,class:"cj i8",type:"application/pdf"},1));else for(let t=B.length,r=t-1,s=0;s<t;s+=1){let t=B[s],o=s===r;if(x=[],"web"==L)for(let r=t.length,o=0;o<r;o+=1){let r=t[o];x.push(e("div",{"mx5-owner":i,$:"pages,unit","mx5-view":"27/"+r.type+"/index?props="+h(d,r.props,"a-."+s+".a+."+o+".b_")+"&unit="+h(d,C,"ba")}))}else"image"==L&&T?x.push(e("img",{class:"b8 cl",src:T[s]},1)):"rdImage"==L&&O&&x.push(e("img",{class:"b8 cl",src:O[s]},1));b="bK cs jf jg dA",o||(b+=" i4"),y="width:"+X.width+C+";height:"+X.height+C+";background:"+X.background+";",!X.preformat&&X.backgroundImage&&(y+="background-image:url("+X.backgroundImage+");background-repeat:"+("full"==X.backgroundRepeat?"no-repeat":X.backgroundRepeat)+";background-size:","full"==X.backgroundRepeat?y+="100% 100%":y+=""+X.backgroundWidth+C+" "+X.backgroundHeight+C+";background-position:"+X.backgroundXOffset+C+" "+X.backgroundYOffset+C),p.push(e("div",{role:"page-content",class:b,style:y},x))}else x=[e(0,k("kK"))],p.push(e("div",l,x));return b="ja jh cF cI cG ",b+="pdf"==L||"rdPdf"==L?"jd":"jc",f=[e("div",{class:b},p)],c.push(e("div",{id:"c_"+i,class:"pdf"!=L&&"rdPdf"!=L&&"cF"},f)),s?c.push(s):c.push(s=e("div",{_:"a:",id:"_rd_tip",class:"cw dL i9"})),e(i,0,c)},async render(){q.rdState=1;let t=top!=self;await this.digest({inner:t,rds:!0,approve:!1,d:!1,format:U,hasData:!1,empty:!0,sf:"web"}),q.rdState|=2;let{params:e}=B(location.href),i=T("getContentUrl");if(e.id&&i&&!t){(new h).all({name:"_eG",_eu:e},((t,e)=>{if(!t){let t=e.get("data");this._l3(t)}}))}},async _l5(t,e,i,r,s,o,l){let a=0,h=this._l4,n=this.get("unit");for(let e of t)"data-dtable"!=e.type&&"data-ftable"!=e.type||x._lY(e);let c=(t,e)=>{for(let i=t.length;i--;){let r=t[i];if(("data-coltable"==r.type||"data-celltable"==r.type||"data-dtable"==r.type||"data-rdtable"==r.type||"batch-barcode"==r.type||"batch-qrcode"==r.type||"batch-text"==r.type||"data-repeater"==r.type||"data-ftable"==r.type||"richtext"==r.type||"html"==r.type||"data-richtext"==r.type)&&-1!=e[i])return!0}return!1};for(;a<e.pages;){let p=a*e.height,g=x._lU(e,a,t,o);a++;let f={},b=async(t,e,a)=>{let c=[];for(let g=0;g<t.length;g++){let u=t[g],x=a?u:{type:u.type,id:u.id,props:d.bU(u.props)};if(a||(x.props.x+=s,x.props.y+=o,x.props.y-=p),"pager"==u.type)S(x,c,a,r,i.length);else if("data-coltable"==u.type){let t=f[g]||0;-1!=t&&(f[g]=v(x,t,e,l,c,a))}else if("data-celltable"==u.type)if(a)k(x,0,h,c,a);else{let t=f[g]||0;-1!=t&&(f[g]=await k(x,t,h,c,a))}else if("data-dtable"==u.type||"data-rdtable"==u.type){let t=f[g]||0;-1!=t&&(f[g]=await j(x,t,e,l,h,n,c,a))}else if("batch-barcode"==u.type||"batch-qrcode"==u.type||"batch-text"==u.type){let t=f[g]||0;-1!=t&&(f[g]=await w(x,t,e,l,c,a,n))}else if("data-repeater"==u.type){let t=f[g]||0;-1!=t&&(f[g]=await R(x,t,e,l,c,a))}else if("data-ftable"==u.type){let t=f[g]||0;-1!=t&&(f[g]=await L(x,t,e,l,h,c,a,n))}else if("richtext"==u.type||"data-richtext"==u.type||"html"==u.type){let t=f[g]||0;-1!=t&&(f[g]=await M(x,t,e,l,h,n,c))}else u.props.bind?_(x,c,h,a):c.push(x);if(A($,u.type)){let{rows:t}=x.props;for(let i of t)for(let t of i.cols)t.elements&&b(t.elements,e,1)}}return await P(0),c};do{x._lR(`\u6b63\u5728\u8ba1\u7b97\u7b2c${i.length+1}\u9875`);let t=await b(g,e);i.push(t)}while(c(g,f))}x._lS()},async _l3(t){if(!t)return void(q.rdState|=4);let{page:e,elements:i,unit:r}=t;if(!e||!i||!r)return void(q.rdState|=4);c.show("\u6b63\u5728\u51c6\u5907\u6570\u636e..."),g._bU();let{marginLeft:s,marginRight:o,marginTop:l,marginBottom:a}=e;null!=s&&null!=o&&(e.width-=s+o),null!=l&&null!=a&&(e.height-=l+a),await this.digest({enable:!1,empty:!0,page:e,unit:r,hasData:!0,loading:!0});let d=e.xOffset-(null!=s?s:0),h=e.yOffset-(null!=l?l:0);F.set({bM:r,b5:d,b6:h});let n=[],p=[],f=[],b=[],u=0,m=new y;this._l4=m;let w=t=>{for(let e of t){e.id||(e.id=V("e"));let{props:t,type:i}=e,{bind:r}=t;if(r&&r.id){let t=r.url+"~"+r.id;p.includes(t)||(p.push(t),f.push(r))}if(A(H,i)){let{rows:e}=t;for(let t of e)for(let e of t.cols)e.elements&&w(e.elements)}"data-richtext"==i&&(i="richtext"),m._iE("_l2",i),"hod-footer"==i?u=t.height:"barcode"==i||"batch-barcode"==i||"qrcode"==i||"batch-qrcode"==i||"fx"==i||"formula"==i||i.startsWith("chart_")?(i.startsWith("chart_")?i="echarts":"formula"==i?i="mathjax":i.startsWith("batch-")&&(i=i.substring(6)),m._iE("_l1",i)):"richtext"==i?m._iE("_l1","html2canvas"):"html"==i&&m._iE("_l1","underscore")}};w(i),await(t=>{let e=[];for(let i of t)e.push(g._gj(i));return Promise.all(e)})(f),c.show("\u6b63\u5728\u51c6\u5907\u8d44\u6e90..."),await m._dS(),c.show("\u6b63\u5728\u8ba1\u7b97\u5206\u9875..."),await this._l5(i,e,n,b,d,h,u);for(let t of b)t.props.ext._totalPage=n.length;let{copies:_=1}=e;if(_>1){let t=n.slice();for(;_>1;)n.push(...t),_--}c.show("\u7b49\u5f85\u9875\u9762\u751f\u6210..."),await this.digest({stage:t,enable:!1,images:null,pdf:null,sf:"web",pages:n,loading:!1}),await P(500),await C(),c.show("\u6b63\u5728\u68c0\u67e5\u56fe\u7247\u72b6\u6001..."),await x._lV(this.root),c.show("\u9a6c\u4e0a\u5c31\u597d..."),this.digest({enable:!0,empty:!1}),await P(200),c.hide(),q.rdState|=4},"_d2<click>"(){print()},_l8(){return new Promise((async t=>{let e=this.get("images"),i=O(this,"_l7");if(e)t(e);else{"web"!=this.get("sf")&&(await this.digest({sf:"web"}),await C(),this.set({sf:"image"})),e=[];let r={useCORS:!0,scale:2},s=this.root.querySelectorAll(".jf"),o=0,l=s.length,a=4,d=async()=>{if(i()){scrollTo(0,0);let i=o+1,h=Math.min(i+a-1,l);x._lR(`\u8f6c\u6362\u8fdb\u5ea6\uff1a[${i}~${h}] / ${l}`);let n=[],c=0;if(o<l){for(;c<a&&!(o+c>=l);)n.push(html2canvas(s[o+c],r)),c++;let t=await Promise.all(n);for(let i of t)e.push(i.toDataURL("image/jpeg",1));setTimeout(d,0),o+=c}else x._lS(),this.set({images:e}),t(e)}};d()}}))},async _m_(){let t=this.get("images");if(t)this.digest({enable:!0});else{let e=O(this,"_l9");c.show("\u6b63\u5728\u8f6c\u6362\u4e3a\u56fe\u7247...");try{await b(),e()&&(t=await this._l8()),e()&&(c.show("\u8f6c\u6362\u56fe\u7247\u6210\u529f\uff5e",2e3),this.digest({enable:!0,images:t}))}catch(t){e()&&c.show(t.message||t,5e3)}}},_mc(){if(this.get("rdImages"))this.digest({enable:!0});else{let t=O(this,"_ma");c.show("\u6b63\u5728\u8f6c\u6362\u4e3a\u56fe\u7247...");let e={location:encodeURIComponent(location.href),stage:this.get("stage")};(new h).save({name:"_eT",url:T("rdsUrl")+"image",_et:JSON.stringify(e)},((e,i)=>{t()&&(e?(c.hide(),this.alert(m._mb(e)),this.digest({sf:"rdImage"})):(c.show("\u8f6c\u6362\u56fe\u7247\u6210\u529f\uff5e",2e3),this.digest({sf:"rdImage",enable:!0,rdImages:i.get("data",[])})))}))}},_me(){if(this.get("rdPdf"))this.digest({enable:!1});else{let t=O(this,"_md");c.show("\u6b63\u5728\u8f6c\u6362\u4e3apdf...");let e={location:encodeURIComponent(location.href),stage:this.get("stage")};(new h).save({name:"_eT",url:T("rdsUrl")+"pdf",_et:JSON.stringify(e)},((e,i)=>{if(t())if(e)c.hide(),this.alert(m._mb(e)),this.digest({sf:"rdPdf"});else{c.show("\u8f6c\u6362pdf\u6210\u529f\uff5e",2e3);let t=i.get("data",[]),e=atob(t[0]),r=e.length,s=new Uint8Array(r);for(;r--;)s[r]=e.charCodeAt(r);let o=new Blob([s],{type:"application/pdf"});this.digest({sf:"rdPdf",enable:!1,rdPdf:URL.createObjectURL(o)})}}))}},async _mh(){let t=this.get("pdf"),e=this.get("page");if(!t&&e){let t=O(this,"_mf");try{let i=this.get("rdImages");i||(c.show("\u5148\u8f6c\u6362\u4e3a\u56fe\u7247..."),await b(),i=await this._l8()),c.show("\u6b63\u5728\u52a0\u8f7dPDF\u63d2\u4ef6..."),await u(),c.show("\u6b63\u5728\u751f\u6210PDF...");let r=d.bX(e.width),s=d.bX(e.height),o=new jspdf.jsPDF({unit:"px",hotfixes:["px_scaling"],format:[r,r>s?r+1:s]});this._mg=o,o.setDocumentProperties({title:p("b2")+"<\u672a\u6ce8\u518c\u7248>",subject:"\u6253\u5370\u9875\u9762",author:"kooboy_li@163.com",keywords:"\u6253\u5370\u3001\u53ef\u89c6\u5316\u3001\u7f16\u8f91\u5668",creator:location.host});let l=i.length,a=t=>{x._lR(`\u751f\u6210\u8fdb\u5ea6\uff1a${t+1} / ${l}`),t&&o.addPage();let e=i[t];o.addImage(e,"JPEG",0,0,r,s,void 0,"FAST")};for(let t=0;t<l;t++)Y(a,[t]);await C(),x._lS(),t()&&(c.show("\u8f6c\u6362PDF\u6210\u529f\uff5e",2e3),this.digest({sf:"pdf",enable:!1,pdf:o.output("bloburi")}))}catch(e){t()&&c.show(e.message||e,5e3)}}else this.digest({enable:!1})},_mi(){c.hide(),O(this,"_l7"),O(this,"_l9"),O(this,"_ma"),O(this,"_mf"),O(this,"_md"),x._lS()},"_mj<change>"(t){this._mi(),this.digest({enable:!1}),this.set({sf:t.value}),"image"==t.value?this._m_():"pdf"==t.value?this._mh():"rdImage"==t.value?this._mc():"rdPdf"==t.value?this._me():this.digest({enable:!0})},"_mk<click>"(){open("//github.com/xinglie/report-designer/issues/49")},"_ml<click>"(){this.mxDialog("3t/3v/setting",{width:550})},"_mo<click>"(){let t=O(this,"_mm");c.show("\u6b63\u5728\u8c03\u7528RDS\u6253\u5370\u670d\u52a1...");let e=m._mn(),i={location:encodeURIComponent(location.href),printer:e,stage:this.get("stage")};(new h).save({name:"_eT",url:T("rdsUrl")+"print",_et:JSON.stringify(i)},(e=>{t()&&(e?(c.hide(),this.alert(m._mb(e))):c.show("\u6253\u5370\u6210\u529f\uff5e",2e3))}))},"_mp<click>"(){let{params:t,path:e}=B(location.href),i={...t};i.id||(i.id="xl");let r=I(e,i);open(r)},async"_mr<click>"(){let t,e,i,r=this.get("sf"),s=O(this,"_mq");try{await f._c0()}catch(t){return this.alert(t.message)}if(c.show(p("b1")),"web"==r){let r=[],o=[],l=document.getElementsByTagName("style");for(let t=0;t<l.length;t++){let e=l[t].innerHTML.trim();e&&r.push(`<style>${e}</style>`)}let a=document.querySelectorAll(".jf");for(let t=0;t<a.length;t++)o.push(a[t].outerHTML.replace(E,(t=>t.replace(D,""))));i=[".html"],t=`${p("b2")}-web.html`,e=`<!DOCTYPE html><html><head><meta charset="utf-8" /><title>${p("b2")}-web</title>${r.join("")}</head><body>${o.join("")}</body></html>`;try{s()&&(await f._c1(t,e,i),c.show(p("b3"),3e3))}catch(t){c.hide(),s()&&"AbortError"!=t.name&&this.alert(t.message)}}else if("pdf"==r&&this._mg)this._mg.save(`${p("b2")}.pdf`),c.show(p("b3"),3e3);else if("rdPdf"==r&&this.get("rdPdf")){let t=document.createElement("a");t.download=`${p("b2")}.pdf`,t.href=this.get("rdPdf"),t.click()}else c.show("\u6682\u4e0d\u652f\u6301\u5f53\u524d\u7c7b\u578b\u7684\u6587\u4ef6\u5bfc\u51fa",3e3)},_l6(){let t=K(`c_${this.id}`),e=t.firstElementChild,i=innerHeight-44,r=e.offsetHeight,s=i/r,o=document.documentElement.offsetWidth,l=e.offsetWidth,a=J(s,o/l);t.style.height=a*r+"px",e.style.transform=`scale(${a})`},"$win<keydown>&{passive:false}"(t){let{code:e,ctrlKey:i,shiftKey:r,altKey:s,metaKey:o}=t;"KeyP"!=e||r||s||!i&&!o||(t.preventDefault(),window.print())},"$win<resize>"(){W},"$doc<paste>"(t){let e=t.clipboardData.getData("text/plain");this._l3(x._lW(e))},"$win<render>"(t){4&q.rdState&&(q.rdState^=4),8&q.rdState&&(q.rdState^=8),q.rdState|=8,this._l3(x._lW(t.json))},"$win<message>"(t){let e=location.protocol+"//"+location.host;t.source!=window&&t.source.postMessage("_ej",e),t.origin==e&&t.data&&"_ej"!=t.data&&this._l3(x._lW(t.data))}}).merge(n)})),define("3t/page",["1h"],((t,e,i)=>{let r=t("1h");i.exports=r.View.extend({tmpl:(t,e,i,r,s,o)=>{let l,a,d,{page:h,unit:n,elements:c}=t;d=[];for(let t=c.length,l=0;l<t;l+=1){let t=c[l];d.push(e("div",{"mx5-owner":i,$:"elements","mx5-view":"27/"+t.type+"/index?props="+o(s,t.props,"a;."+l+".a:")+"&unit="+r(n)}))}return a="position:relative;width:"+h.width+"px;height:"+h.height*h.pages+"px;background:"+h.background+";",h.backgroundImage&&(a+="background-image:url("+h.backgroundImage+");background-repeat:"+("full"==h.backgroundRepeat?"no-repeat":h.backgroundRepeat)+";background-size:","full"==h.backgroundRepeat?a+="100% 100%":a+=h.backgroundWidth+"px "+h.backgroundHeight+"px;background-position:"+h.backgroundXOffset+n+" "+h.backgroundYOffset+n),l=[e("div",{style:a},d)],e(i,0,l)},assign(t){this.set(t)},render(){this.digest()},getValue(){let{page:t,elements:e,groups:i}=this.get();return{page:t,elements:e,groups:i}}})})),define("3t/virtual",["1h","../1g/2b","./1v/index","./1v/resource","./40/batch","./40/common","./40/data-celltable","./40/data-coltable","./40/data-dtable","./40/data-ftable","./40/data-repeater","./40/pager","./40/richtext","../1g/1j","../24/30"],((t,e,i)=>{let r=t("1h"),s=t("../1g/2b"),o=t("./1v/index"),l=t("./1v/resource"),a=t("./40/batch"),d=t("./40/common"),h=t("./40/data-celltable"),n=t("./40/data-coltable"),c=t("./40/data-dtable"),p=t("./40/data-ftable"),g=t("./40/data-repeater"),f=t("./40/pager"),b=t("./40/richtext"),u=t("../1g/1j"),x=t("../24/30"),{State:y,View:m,lowTaskFinale:w,has:_,applyStyle:k,delay:v,guid:j,config:L,isFunction:R}=r;k("iI",".ji{page-break-after:auto;page-break-inside:avoid}.jj{display:block;contain:paint}");let S={"hod-table":1,"hod-hflex":1,"hod-vflex":1,"hod-footer":1,"hod-header":1,"data-dtable":1,"data-rdtable":1},M={...S,"data-repeater":1,"data-ftable":1},F=/<[^>]+>/g,X=/\s*(?:id|mx5-[a-z]+)\s*=\s*"[^"]+"/gi;i.exports=m.extend({tmpl:(t,e,i,r,s,o)=>{let l,a,d,h=[],{pages:n,page:c,unit:p}=t;if(n)for(let t=n.length,r=t-1,g=0;g<t;g+=1){let t=n[g],f=g===r;d=[];for(let r=t.length,l=0;l<r;l+=1){let r=t[l];d.push(e("div",{"mx5-owner":i,$:"pages,unit","mx5-view":"27/"+r.type+"/index?props="+o(s,r.props,"a;."+g+".a:."+l+".a-")+"&unit="+o(s,p,"a+")}))}l="bK cs jj dA",f||(l+=" ji"),a="width:"+c.width+p+";height:"+c.height+p+";background:"+c.background+";",!c.preformat&&c.backgroundImage&&(a+="background-image:url("+c.backgroundImage+");background-repeat:"+("full"==c.backgroundRepeat?"no-repeat":c.backgroundRepeat)+";background-size:","full"==c.backgroundRepeat?a+="100% 100%":a+=""+c.backgroundWidth+p+" "+c.backgroundHeight+p+";background-position:"+c.backgroundXOffset+p+" "+c.backgroundYOffset+p),h.push(e("div",{class:l,style:a},d))}return e(i,0,h)},render(){this.digest()},async _l5(t,e,i,r,s,l,x){let y=0,m=this._l4,w=this.get("unit");for(let e of t)"data-dtable"!=e.type&&"data-ftable"!=e.type||o._lY(e);let k=(t,e)=>{for(let i=t.length;i--;){let r=t[i];if(("data-coltable"==r.type||"data-celltable"==r.type||"data-dtable"==r.type||"data-rdtable"==r.type||"batch-barcode"==r.type||"batch-qrcode"==r.type||"batch-text"==r.type||"data-repeater"==r.type||"data-ftable"==r.type||"richtext"==r.type||"data-richtext"==r.type)&&-1!=e[i])return!0}return!1};for(;y<e.pages;){let v=y*e.height,j=o._lU(e,y,t,l);y++;let L={},R=async(t,e,o)=>{let y=[];for(let k=0;k<t.length;k++){let j=t[k],M=o?j:{type:j.type,id:j.id,props:u.bU(j.props)};if(o||(M.props.x+=s,M.props.y+=l,M.props.y-=v),"pager"==j.type)f(M,y,o,r,i.length);else if("data-coltable"==j.type){let t=L[k]||0;-1!=t&&(L[k]=n(M,t,e,x,y,o))}else if("data-celltable"==j.type)if(o)h(M,0,m,y,o);else{let t=L[k]||0;-1!=t&&(L[k]=await h(M,t,m,y,o))}else if("data-dtable"==j.type||"data-rdtable"==j.type){let t=L[k]||0;-1!=t&&(L[k]=await c(M,t,e,x,m,w,y,o))}else if("batch-barcode"==j.type||"batch-qrcode"==j.type||"batch-text"==j.type){let t=L[k]||0;-1!=t&&(L[k]=await a(M,t,e,x,y,o,w))}else if("data-repeater"==j.type){let t=L[k]||0;-1!=t&&(L[k]=await g(M,t,e,x,y,o))}else if("data-ftable"==j.type){let t=L[k]||0;-1!=t&&(L[k]=await p(M,t,e,x,m,y,o,w))}else if("richtext"==j.type||"data-richtext"==j.type){let t=L[k]||0;-1!=t&&(L[k]=await b(M,t,e,x,m,w,y))}else j.props.bind?d(M,y,m,o):y.push(M);if(_(S,j.type)){let{rows:t}=M.props;for(let i of t)for(let t of i.cols)t.elements&&R(t.elements,e,1)}}return y};do{let t=await R(j,e);i.push(t)}while(k(j,L))}},async _mB({stage:t,data:e},i){for(let t in e){let i=e[t],{_eO:r,_eN:o}=s._eU(i,t);x._mz(t,r,o)}if(!t)return;let{page:r,elements:o,unit:a}=t;if(!r||!o||!a)return;let d=new l;this._l4=d;let{marginLeft:h,marginRight:n,marginTop:c,marginBottom:p}=r;null!=h&&null!=n&&(r.width-=h+n),null!=c&&null!=p&&(r.height-=c+p),this.set({page:r,unit:a});let g=r.xOffset-(null!=h?h:0),f=r.yOffset-(null!=c?c:0);y.set({bM:a,b5:g,b6:f});let b=[],u=[],m=0,k=t=>{for(let e of t){e.id=j("e");let{props:t,type:i}=e;d._iE("_l2",i);let{bind:r}=t;if(r&&r.id){let t=r.url,e=L("rebuildBindUrl");R(e)&&(t=e(r)),x._mA(t)||x._mz(t,null,`\u672a\u63d0\u4f9b${t}\u7684\u6570\u636e`)}if(_(M,i)){let{rows:e}=t;for(let t of e)for(let e of t.cols)e.elements&&k(e.elements)}"hod-footer"==i?m=t.height:("barcode"==i||"batch-barcode"==i||"qrcode"==i||"batch-qrcode"==i||"fx"==i||"formula"==i||i.startsWith("chart_"))&&(i.startsWith("chart_")?i="echarts":"formula"==i?i="mathjax":i.startsWith("batch-")&&(i=i.substring(6)),d._iE("_l1",i))}};k(o),await d._dS(),await this._l5(o,r,b,u,g,f,m);for(let t of u)t.props.ext._totalPage=b.length;let{copies:S=1}=r;if(S>1){let t=b.slice();for(;S>1;)b.push(...t),S--}await this.digest({stage:t,pages:b}),await w(),await v(1e3);let C=[],A=[],z=document.getElementsByTagName("style");for(let t=0;t<z.length;t++){let e=z[t].innerHTML.trim();e&&C.push(`<style>${e}</style>`)}let B=document.querySelectorAll(".jj");for(let t=0;t<B.length;t++)A.push(B[t].outerHTML.replace(F,(t=>t.replace(X,""))));i({styles:C,pages:A})}})})),define("3t/1v/index",["1h","../../1g/1k","../../24/30","../../24/table"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1k"),o=t("../../24/30"),l=t("../../24/table"),{Vframe:a,node:d,has:h,guid:n,delay:c,lowTaskFinale:p,isArray:g}=r,f={"data-coltable":1,"data-dtable":1,"data-rdtable":1,"data-ftable":1,"data-richtext":1,video:1},b={xsheet:1},u=n("_rd_mdt"),x="cw",y=t=>{let e=d("_rd_tip"),{classList:i}=e;i.contains(x)&&i.remove(x),e.innerHTML=t},m=()=>{let t=d("_rd_tip"),{classList:e}=t;e.contains(x)||e.add(x)},w=(t,e)=>{if(t&&t.length){let i;for(let{props:r}of t){if(!(r.bind&&r.bind.fields&&r.bind.fields.length)){i=1;break}if(null!=e[r.bind.fields[0].id]){i=1;break}}return i}return 1};i.exports={_lR:y,_lS:m,_lT:async(t,e)=>{let i=d(u);i||(i=document.createElement("div"),i.className="bK",i.style.cssText="position:fixed;left:-500cm;top:-500cm;pointer-events:none;opacity:0",i.id=u,document.body.appendChild(i));let r=a.root();for(r.unmount(i),r.mount(i,`27/${t}/index`,e);!i.childNodes.length;)await c(10);return await p(),i},_lU:(t,e,i,r)=>{let o=[],{width:l,height:a}=t,d=e*a,n=d+a,c={x:0,y:d,width:l,height:a};for(let t of i){let{props:i,type:l}=t;if(!t.used||!b[l])if(t.used=1,"hod-header"==l||"hod-footer"==l)i.y="hod-header"==l?e*a:(e+1)*a-i.height,o.push(t);else{let{x:a,y:p,width:g,height:b,rotate:u}=i;if(p+=r,h(f,l))(p>=d&&p<=n||p<0&&0==e)&&o.push(t);else{let e=s.bK({x:a,y:p,width:g,height:b,rotate:u}),i={x:e._cv,y:e._cw,width:e._cx,height:e._cy};s.bL(i,c)&&o.push(t)}}}return o},_lV:async(t,e=!0)=>{let i=t.getElementsByTagName("img");for(;;){let t=1,r=0;for(let e=i.length;e--;){i[e].complete?r++:t=0}if(e&&y(`\u56fe\u7247\u5b8c\u6210\u8fdb\u5ea6\uff1a${r} / ${i.length}`),t){e&&m();break}await c(6)}},_lW:t=>{let e;try{e=JSON.parse(t)}finally{return e}},_lY(t){let{props:e,type:i}=t,{bind:r,rows:s,dynamicCols:a,avgDynamicColsWidth:d}=e;if(r.id&&a){let{_eN:t,_eO:a}=o._lX(r);if(!t){let t,r=g(a)?a[0]:a;t="data-dtable"==i?((t,e)=>{let i=[],r=0,s=0;for(let o of t){if(o.data){for(let t=o.cols.length;t--;){let s=o.cols[t];s.bindKey&&null==e[s.bindKey]&&(i.push(t),r+=s.width)}break}s++}return{bJ:s,bK:i,bL:r}})(s,r):((t,e)=>{let i=[],r=0,s=0;for(let o of t){if(o.data){for(let t=o.cols.length;t--;){let s=o.cols[t];w(s.elements,e)||(i.push(t),r+=s.width)}break}s++}return{bJ:s,bK:i,bL:r}})(s,r);let o=t.bK,h=t.bL,n=t.bJ;e.focusRow=n,l.bJ(e);for(let t of o)e.focusCol=t,l.bO(e),l.bJ(e);if("none"==d)e.width-=h;else if("direct"==d){let t=h/e._go;for(let e of s)for(let i of e.cols){let e=i.colspan;i.width+=t*e}}else{let t=l.bK(e)._gp,i=0;for(let e of t)i+=e;for(let t of s)for(let e of t.cols)e.width+=e.width/i*h}}}}}})),define("3t/1v/resource",["1h"],((t,e,i)=>{let r=t("1h"),{use:s,isFunction:o,mix:l}=r,a=async t=>{let[e]=await s("24/"+t);o(e)?await e():o(e._f1)&&await e._f1()},d=async t=>{await s("27/"+t+"/index")},h=t=>new Promise((e=>{let i=new Image;i.onload=i.onerror=()=>{e()},i.src=t,i.complete&&e()})),n=function(){this._lZ={},this._l0=[]};l(n.prototype,{_iE(t,e){let i=t+"~"+e,r=this._lZ,s=this._l0;1!=r[i]&&(r[i]=1,s.push({type:t,src:e}))},_dS(){let t=[],e=this._l0;for(let i of e)"_l1"==i.type?t.push(a(i.src)):"_l2"==i.type?t.push(d(i.src)):t.push(h(i.src));return Promise.all(t)}}),i.exports=n})),define("3t/3v/index",[],((t,e,i)=>{let r={"127.0.0.1":1,localhost:1};i.exports={_mn(){let t={name:"",nc:1,pt:0,pl:0,pr:0,pb:0,l:"portrait",ts:!1};try{let e=JSON.parse(localStorage.getItem("rds.printer"));Object.assign(t,e)}catch(t){}return t},_ms(t){try{localStorage.setItem("rds.printer",JSON.stringify(t))}catch(t){}},_mb(t){let e=location.hostname;return r[e]?`RDS\u670d\u52a1\u5f02\u5e38[${t.message||t}]`:e+"\u73af\u5883\u4e0d\u652f\u6301RDS\u670d\u52a1\uff0c\u8fdb\u4e00\u6b65\u4e86\u89e3\u8be6\u60c5\u53ef\u4ee5\u6dfb\u52a0\u4f5c\u8005\u5fae\u4fe1\uff1aqq84685009"}}})),define("3t/3v/setting",["1h","../../1g/2b","./index","1o/3a/index","1o/39/index"],((t,e,i)=>{let r,s,o,l,a,d,h,n,c,p,g,f,b,u;t("1o/3a/index"),t("1o/39/index");let x={class:"bY"},y={class:"cF cI"},m={class:"cF cI i7"},w={class:"b4 c3 cF cI cl"},_={class:"b0 b1 c0 cF cI cL ci dO dT"},k={checked:"checked"},v=t("1h"),j=t("../../1g/2b"),L=t("./index"),{config:R,mark:S,View:M}=v,F=[{text:"\u7eb5\u5411",value:"portrait"},{text:"\u6a2a\u5411",value:"landscape"}];i.exports=M.extend({tmpl:(t,e,i,v,j,L)=>{let R,S,M,F,{error:X,exf:C,list:A,printer:z,layouts:B}=t;return R=r?[r]:[r=e("div",{_:"a;",class:"bW cL dU"})],s?R.push(s):(S=[e(0,'<h5 class="b5">RDS\u6253\u5370\u670d\u52a1\u8bbe\u7f6e</h5>',1)],R.push(s=e("div",{_:"a:",class:"bU bV cL cM ci dV"},S))),S=[],X?S.push(e(0,C(X.message))):(o?F=[o]:(M=[e(0,"\u6253\u5370\u673a\uff1a")],F=[o=e("div",{_:"a-",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"list",class:"i6","mx5-change":i+"\x1e_mv({key:'name'})","mx5-view":"1o/3a/index?list="+L(j,A,"a;")+"&selected="+v(z.name)})),S.push(e("div",y,F)),l?F=[l]:(M=[e(0,"\u65b9\u5411\uff1a")],F=[l=e("div",{_:"a+",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"layouts",class:"i6","mx5-change":i+"\x1e_mv({key:'l'})","mx5-view":"1o/3a/index?list="+L(j,B,"a:")+"&textKey=text&valueKey=value&selected="+v(z.l)})),S.push(e("div",m,F)),a?F=[a]:(M=[e(0,"\u53cc\u9762\u6253\u5370\uff1a")],F=[a=e("div",{_:"b_",class:"cn i5"},M)]),M=[e("input",{class:"cr do",type:"checkbox",checked:z.ts,"mx5-change":i+"\x1e_mw()"},1,k)],d?M.push(d):M.push(d=e("i",{_:"ba",class:"cs cz dp"})),F.push(e("label",w,M)),S.push(e("div",m,F)),h?F=[h]:(M=[e(0,"\u6253\u5370\u4efd\u6570\uff1a")],F=[h=e("div",{_:"bb",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"printer","mx5-input":i+"\x1e_mu({key:'nc'})",class:"bN cs","mx5-view":"1o/39/index?min=1&value="+L(j,z.nc,"a-")})),S.push(e("div",m,F)),n?F=[n]:(M=[e(0,"\u5de6\u9875\u8fb9\u8ddd\uff1a")],F=[n=e("div",{_:"bc",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"printer","mx5-input":i+"\x1e_mu({key:'pl'})",class:"bN cs","mx5-view":"1o/39/index?min=0&value="+L(j,z.pl,"a+")})),S.push(e("div",m,F)),c?F=[c]:(M=[e(0,"\u4e0a\u9875\u8fb9\u8ddd\uff1a")],F=[c=e("div",{_:"bd",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"printer","mx5-input":i+"\x1e_mu({key:'pt'})",class:"bN cs","mx5-view":"1o/39/index?min=0&value="+L(j,z.pt,"b_")})),S.push(e("div",m,F)),p?F=[p]:(M=[e(0,"\u53f3\u9875\u8fb9\u8ddd\uff1a")],F=[p=e("div",{_:"be",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"printer","mx5-input":i+"\x1e_mu({key:'pr'})",class:"bN cs","mx5-view":"1o/39/index?min=0&value="+L(j,z.pr,"ba")})),S.push(e("div",m,F)),g?F=[g]:(M=[e(0,"\u4e0b\u9875\u8fb9\u8ddd\uff1a")],F=[g=e("div",{_:"bf",class:"cn i5"},M)]),F.push(e("div",{"mx5-owner":i,$:"printer","mx5-input":i+"\x1e_mu({key:'pb'})",class:"bN cs","mx5-view":"1o/39/index?min=0&value="+L(j,z.pb,"bb")})),S.push(e("div",m,F))),R.push(e("div",x,S)),F=[f||(f=e(0,"\u5e94\u7528"))],S=[e("button",{"mx5-click":i+"\x1e_cX()",class:"bR bT c3 co",type:"button"},F)],F=[b||(b=e(0,"\u53d6\u6d88"))],S.push(e("button",{"mx5-click":i+"\x1e_cW()",class:"bR c3 cf co",type:"button"},F)),R.push(e("div",_,S)),u?R.push(u):R.push(u=e("div",{_:"bg",class:"bZ cL dS"})),e(i,0,R)},init(t){this._cV=t.dialog,this.set({exf:L._mb,layouts:F})},render(){let t=S(this,"_mt");(new j).all({name:"_eT",url:R("rdsUrl")+"printers",_et:JSON.stringify({width:0,height:0,location:location.href})},((e,i)=>{if(t()){let t=L._mn(),r=i.get("data",[]);t.name||(t.name=r[0]),this.digest({error:e,list:r,printer:t})}}))},"_cW<click>"(){this._cV.close()},"_mu<input>"(t){let e=this.get("printer"),{key:i}=t.params;e[i]=t.value},"_mv<change>"(t){let e=this.get("printer"),{key:i}=t.params;e[i]=t.value},"_mw<change>"(t){this.get("printer").ts=t.eventTarget.checked},"_cX<click>"(){L._ms(this.get("printer")),this._cV.close()}})})),define("3t/40/batch",["1h","../../1g/1j","../../1g/1k","../../24/30","../1v/index"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1j"),o=t("../../1g/1k"),l=t("../../24/30"),a=t("../1v/index"),{guid:d,isArray:h}=r,{max:n,abs:c}=Math;i.exports=async(t,e,i,r,c,p,g)=>{let f,{props:b,type:u,id:x}=t,{x:y,y:m,width:w,hspace:_,vspace:k,rotate:v,bind:j}=b;if(!j)return-1;let L,R,S,M=i.height-r,F=o.bK(b),X=F._cy,C=F._cx,A=F._cv,z=F._cw,B=F._ct[0],T=A-y,O=z-m,V=m,N=y,P=0,Y=c.length,K=0,{_eN:I,_eO:W}=l._lX(j);for(h(W)||(W=[W]),K=W.length;;){let t=s.bU(b),r=t.bind;if(I)r._tip=I;else{let t=W[e++];r._data=t,e>K&&(f=-1)}if(-1==f)break;{t.x=N,t.y=V;let r={type:u,id:d(x),props:t};if(p||c.push(r),"batch-text"==u&&t.autoReturn){let r=await a._lT(u,{props:t,unit:g}),l=s.bK(r.firstElementChild.offsetHeight),d=o.bK({x:y,y:m,width:w,rotate:v,height:l}),h=d._ct[0],p=B.x-h.x+N-y+(L?L-d._cv+_:0),b=B.y-h.y+V-m+(R?R-d._cw+k:0);if(t.x+=p,t.y+=b,A=d._dT+p,A>i.width){S=1,Y=c.length;let e=z-(d._cw+b)+k,i=t.x-y;t.y+=e,t.x=y,A-=i,R=z,L=A,P=d._cy,z=d._dU+b+e}else z=n(z,d._dU+b),P=n(P,d._cy),L=A;if(S&&z>M){let t=c.length-Y+1;f=e-t,c.splice(Y-1,t);break}}else if(A+=C+_,N=A-T,A+C>i.width&&(A=F._cv,N=A-T,z+=X+k,V=z-O,z+X>M)){f=e;break}}}return f==K?-1:f}})),define("3t/40/common",["1h","../../24/30"],((t,e,i)=>{let r=t("1h"),s=t("../../24/30"),{isArray:o}=r;i.exports=(t,e,i,r)=>{let{props:l}=t,{bind:a}=l;if(a.id&&!a._tip&&!a._data){let{_eN:t,_eO:e}=s._lX(a);t?a._tip=t:a._data=e}if("repeat"==t.type){let t=l.image;if(a._data){let e=a._data;o(e)&&(e=e[0]),t=e[a.fields[0].id]}i._iE("_mx",t)}r||e.push(t)}})),define("3t/40/data-celltable",["../../24/30"],((t,e,i)=>{let r=t("../../24/30");i.exports=(t,e,i,s,o)=>{o||s.push(t);let{props:l}=t,{bind:a,rows:d}=l;if(a.id){let{_eN:t,_eO:s}=r._lX(a);if(!t){a._data=s[e];for(let t of d)for(let e of t.cols)"qrcode"!=e.type&&"barcode"!=e.type||i._iE("_l1",e.type);return e==s.length-1?-1:e+1}a._tip=t}return-1}})),define("3t/40/data-coltable",["../../27/data-coltable/consts","../../24/30"],((t,e,i)=>{let r=t("../../27/data-coltable/consts"),s=t("../../24/30"),{floor:o}=Math;i.exports=(t,e,i,l,a,d)=>{d||a.push(t);let{props:h}=t,{bind:n,columns:c}=h;if(n.fields&&n.fields.length){let t=0;for(let e of n.fields)t+=c[e.id];h.width=t+1;let{_eN:a,_eO:d}=s._lX(n);if(!a){let t=i.height-h.y-h.theadRowHeight-1-h.tfootSpacing-l,r=o(t/(h.tbodyRowHeight+1));r<1&&(r=1);let s=r+e;return s>d.length&&(s=d.length),n._data=d.slice(e,s),s==d.length?-1:s}h.loadingHeight=r._gA,n._tip=a}else h.width=r._gz;return-1}})),define("3t/40/data-dtable",["../../1g/1j","../../24/30","../../24/table","../1v/index"],((t,e,i)=>{let r=t("../../1g/1j"),s=t("../../24/30"),o=t("../../24/table"),l=t("../1v/index"),{min:a,floor:d}=Math,h={},n=(t,e,i,r)=>{let s={},o=Object.keys(t[0]);i=a(i,t.length);for(let r of o){let o=0,l=0;for(let s=e;s<i;s++){o+=t[s][r],l++}isNaN(o)&&(o=0),s[r+"Sumpage"]=o,s[r+"Avgpage"]=l>0?o/l:0,o=0,l=0;for(let e=0;e<i;e++){o+=t[e][r],l++}isNaN(o)&&(o=0),s[r+"Acc"]=o,s[r+"Avgacc"]=l>0?o/l:0,o=0,l=0;for(let e=0;e<t.length;e++){o+=t[e][r],l++}isNaN(o)&&(o=0),s[r+"Sum"]=o,s[r+"Avg"]=l>0?o/l:0}for(let t=r.cols.length;t--;){r.cols[t].totalData=s}};i.exports=async(t,e,i,a,c,p,g,f)=>{f||g.push(t);let{props:b,type:u}=t,{bind:x,rows:y,borderwidth:m,tfootSpacing:w,borderdeed:_,headFirst:k,footLast:v,hideFoot:j,hideHead:L,hideTotal:R,hideLabel:S,columnsPrint:M,hspace:F}=b,X=async(t,i,s)=>{x._data=t.slice(e,e+1),x._showAcc=!0,x._showFoot=!1,x._showHead=!1,n(t,e,i,s);let o=(await l._lT(u,{props:b,unit:p})).getElementsByTagName("tr"),a=o[o.length-1];return r.bK(a.clientHeight)};if(x.id){let{_eN:f,_eO:C}=s._lX(x);if(!f){let s=!1,f=0,A=-1,z=-1,B=-1,T=0,O=0;for(let t of y)t.label?-1==A&&(A=f):t.data?z=f:t.total?B=f:-1==A?T++:-1!=B&&O++,f++;let V=y[B],N=y[z],P=!1,Y=!1,K=!1;for(let t of N.cols)if(t.bindKey&&t.textAutoReturn){P=!0;break}for(let t=A;t<z;t++){let e,i=y[t];for(let t of i.cols)if(t.textAutoReturn){Y=!0,e=!0;break}if(e)break}let I=P||Y,W=[];if(I&&(await(async(e,i)=>{if(!h[t.id]){x._data=e,x._showAcc=!1,x._showFoot=!1,x._showHead=!1,b.hideLabel=!1;let s=await l._lT(i,{props:b,unit:p});b.hideLabel=S;let o=s.getElementsByTagName("tr"),a=[];for(let t=o.length;t--;){let e=o[t];a[t]=r.bK(e.clientHeight)}h[t.id]=a}})(C,u),W=h[t.id]),!R)for(let t of V.cols)if("sumpage"==t.type||"sum"==t.type||"acc"==t.type||"custom"==t.type||"avg"==t.type||"avgpage"==t.type||"avgacc"==t.type||"text"==t.type&&t.textContent){s=!0;break}if(s)for(let t of V.cols)if(t.textAutoReturn){K=!0;break}o.bJ(b,!0);let J=o.bK(b)._gq,q=J[B]||0,$=q,H=0,U=J[z]||0,E=0,D=0;if(Y)for(let t=A;t<z;t++){let e=y[t],i=W[t-A]||0;E+=i;for(let t of e.cols)t.height=i}else for(let t=A;t<z;t++){E+=J[t]||0}for(let t=0;t<J.length;t++)!L&&t<A&&(H+=J[t]||0),t>B&&!j&&(D+=J[t]||0);"separate"==_&&(H+=2*T,D+=2*O,q+=2,E+=2,m=2,U+=2);let Z,Q,G,tt=!1;for(;;){let o=!0,l=!0;0==e||b.eachPageLabel||(b.hideLabel=!0),b.hideLabel&&(E=0);let h,c=i.height-b.y-m-w-a-E;L?l=!1:k?0==e?c-=H:l=!1:c-=H,s&&(c-=q);let p=async()=>{for(;;){if(Q<1&&(Q=1),Q+e>C.length&&(Q=C.length-e),I){let t=z-A,i=W.slice(e+t,e+Q+t);x._rHeights=i,h=0;for(let t of i)h+=t}else h=Q*U+m;if(K){for(let t of V.cols)t.height=$;let t=await X(C,Q+e,V);for(let e of V.cols)e.height=t;c+=q,c-=t,q=t}if(h>c&&Q>1?Q--:G=1,G)break}Z=Q+e};if(v&&!j)if(Q=d(c/U),await p(),Z>=C.length)if(Z=C.length,e<Z){let t=h+m+E+D+w;s&&(t+=q),b.y+t<=i.height?tt=!0:o=!1}else tt=!0;else o=!1;else c-=D,Q=d(c/U),await p(),Z>=C.length&&(Z=C.length,tt=!0);x._data=C.slice(e,Z),x._all=C,x._showAcc=s,x._showFoot=o,x._showHead=l,s&&n(C,e,Z,V);let f=b.x+2*b.width+F<=i.width;if(tt||!M||!f)break;e=Z,t=r.bU(t),g.push(t),b=t.props,x=b.bind,y=b.rows,V=y[B],b.x+=b.width+F,G=0}for(let t of N.cols)"qrcode"!=t.type&&"barcode"!=t.type||c._iE("_l1",t.type);return tt?-1:Z}x._tip=f}else x._showHead=!0,x._showFoot=!0;return-1}})),define("3t/40/data-ftable",["../../1g/1j","../../1g/1k","../../24/30","../../24/table","../1v/index","./common"],((t,e,i)=>{let r=t("../../1g/1j"),s=t("../../1g/1k"),o=t("../../24/30"),l=t("../../24/table"),a=t("../1v/index"),d=t("./common"),{floor:h}=Math,n={};i.exports=async(t,e,i,c,p,g,f,b)=>{f||g.push(t);let u,x,{props:y,id:m}=t,{bind:w,rows:_,borderwidth:k,tfootSpacing:v,borderdeed:j,headFirst:L,footLast:R,hideFoot:S,hideHead:M,hideLabel:F,hideTotal:X,hspace:C,columnsPrint:A,autoHeight:z}=y,B=r.bU(_);if(w.id){let t=o._lX(w);u=t._eN,x=t._eO}else x=[];if(!u){let o;z&&(n[m]?o=n[m]:(o=await(async(t,e,i,o,l)=>{(e=r.bU(e)).hideLabel=!1,e.hideTotal=!1;let{rows:h,bind:n}=e;n._showAcc=!0,n._showHead=!0,n._showFoot=!0;let c=0,p=-1;for(let t of h){if(t.data){p=c;break}c++}c=0;for(let t of h){if(c!=p)for(let e of t.cols)if(e.elements&&e.elements.length)for(let t of e.elements)t.props.bind&&d(t,l,o,1);c++}let g=h[p],f=[];for(let e of t){let t=r.bU(g);for(let i of t.cols)if(i.elements&&i.elements.length)for(let t of i.elements)t.props.bind&&(t.props.bind._data=e);f.push(t)}h.splice(p,1,...f);let b=(await a._lT("data-ftable",{props:e,unit:i})).querySelector("tbody").getElementsByTagName("tr"),u=[];c=0;for(let t of h){let e=0,o=0;for(let l of t.cols){if(l.elements&&l.elements.length){let t=0,a=b[c].cells[o].children,d=0;for(let e of l.elements){let o=s.bK(e.props)._cy,l=a[t].firstElementChild.getBoundingClientRect(),h=r.bK(l.height,i)-o;h>d&&(d=h),t++}d>e&&(e=d)}o++}u[c]=e,c++}return u})(x,y,b,p,g),n[m]=o));let f=!X,u=0,T=-1,O=-1,V=-1,N=-1,P=0,Y=0;for(let t of _)t.label?-1==T&&(T=u):t.data?O=u:t.total?-1==V&&(V=u):-1==T?P++:-1!=V&&(-1==N&&(N=u),Y++),u++;let K=_[O];l.bJ(y,!0);let I,W,J,q=l.bK(y)._gq,$=0,H=0,U=0,E=q[O]||0,D=0,Z=!1;for(let t=0;t<q.length;t++)!M&&t<T?U+=q[t]:t>=T&&t<O&&!F?H+=q[t]:t>=V&&t<N&&!X?$+=q[t]:t>=N&&!S&&(D+=q[t]);for("separate"==j&&(U+=2*P,D+=2*Y,$+=2,H+=2,k=2,E+=2);;){let s=!0,l=!0,a=i.height-y.y-k-v-c-H;M?l=!1:L?0==e?a-=U:l=!1:a-=U,f&&(a-=$);let n,b=O+e,m=()=>{for(;;){if(W<1&&(W=1),W+e>x.length&&(W=x.length-e),z){n=0;for(let t=b+W-1;t>=b;t--)n+=E+o[t]}else n=W*E;if(n>a&&W>1?W--:J=1,J)break}I=W+e};if(R&&!S)if(W=h(a/E),m(),I>=x.length)if(I=x.length,e<I){let t=n+k+H+D+v;f&&(t+=$),y.y+t<=i.height?Z=!0:s=!1}else Z=!0;else s=!1;else s=!S,a-=D,W=h(a/E),m(),I>=x.length&&(I=x.length,Z=!0);u=0;for(let t of _){if(u!=O){let e;e=u<O?u:x.length+u-1;for(let i of t.cols)if(i.elements&&i.elements.length){for(let t of i.elements)t.props.bind&&d(t,g,p,1);z&&(i.height+=o[e])}}u++}let j=O+e,F=x.slice(e,I),X=[];for(let t of F){let e=r.bU(K);for(let i of e.cols){if(i.elements&&i.elements.length)for(let e of i.elements)e.props.bind&&(e.props.bind._data=t);z&&(i.height+=o[j])}j++,X.push(e)}_.splice(O,1,...X),w._showAcc=f,w._showFoot=s,w._showHead=l;let T=y.x+2*y.width+C<=i.width;if(Z||!A||!T)break;e=I,t=r.bU(t),g.push(t),y=t.props,w=y.bind,y.rows=r.bU(B),_=y.rows,y.x+=y.width+C,J=0}return Z?-1:I}return w._tip=u,-1}})),define("3t/40/data-repeater",["1h","../../1g/1j","../../24/30"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/30"),{guid:l,isArray:a}=r;i.exports=async(t,e,i,r,d,h)=>{let n,{props:c,type:p,id:g}=t,{x:f,y:b,width:u,height:x,hspace:y,vspace:m}=c,w=i.height-r,_=f,k=b,v=x;for(;;){let t=s.bU(c);t.x=_,t.y=k;let r=t.bind;if(r.id){let{_eN:t,_eO:i}=o._lX(r);if(t)r._tip=t;else{a(i)||(i=[i]);let t=i[e++];r._data=t,e>=i.length&&(n=-1)}}else n=-1;for(let e of t.rows)for(let t of e.cols)for(let e of t.elements){let t=e.props.bind;t&&t.id==r.id&&(t._data=r._data)}let b={type:p,id:l(g),props:t};if(h||d.push(b),-1==n)break;if(_+=u+y,_+u>i.width){if(_=f,k+=v+m,k+x>w){n=e;break}v=x}}return n}})),define("3t/40/pager",[],((t,e,i)=>{i.exports=(t,e,i,r,s)=>{r.push(t),t.props.ext._currentPage=s+1,i||e.push(t)}})),define("3t/40/richtext",["1h","../../1g/1j","../../24/html2canvas","../1v/index","../../24/30"],((t,e,i)=>{let r=t("1h"),s=t("../../1g/1j"),o=t("../../24/html2canvas"),l=t("../1v/index"),a=t("../../24/30"),{task:d,lowTaskFinale:h,isArray:n,has:c}=r,p={TD:1,BR:1,TH:1,P:1,DIV:1},g=(t,e)=>t-e,f=(t,e)=>t.y-e.y,b=(t,e)=>{let i=e.getBoundingClientRect();if(i.height){let e=`${i.y}~${i.height}`;t[e]||(t[e]=1,t.push({y:scrollY+i.y,height:i.height}))}},u=async(t,e,i)=>{let r=window.devicePixelRatio||1,s=t.x,a=t.y;t.x=0,t.y=0,l._lR("\u5bcc\u6587\u672c:\u6b63\u5728\u68c0\u6d4b\u56fe\u7247...");let n=await l._lT(i,{props:t,unit:e});t.x=s,t.y=a;let u=n.firstElementChild;await l._lV(u,!1),l._lR("\u5bcc\u6587\u672c:\u6b63\u5728\u51c6\u5907\u73af\u5883\u548c\u6570\u636e..."),await o(),scrollTo(0,0);let x=await html2canvas(u,{useCORS:!0,scale:r});l._lR("\u5bcc\u6587\u672c:\u6b63\u5728\u68c0\u6d4b\u5206\u5272\u70b9...");let y=u.getBoundingClientRect(),m=await(async(t,{y:e,height:i})=>{let r=document.createRange(),s=[],o=t=>{if(scrollTo(0,0),3==t.nodeType){let e=0;for(;e<t.length;)r.setStart(t,e),r.setEnd(t,e+1),b(s,r),e++}else r.setStartBefore(t),r.setEndAfter(t),b(s,r)},l=t=>{for(let e of t)3==e.nodeType?d(o,[e]):1==e.nodeType&&(e.childNodes.length?d(l,e.childNodes):c(p,e.tagName.toUpperCase())||d(o,[e]))};l(t),await h(),s=s.sort(f),s.length||s.push({y:e,height:2});let a=e+i,n=s[s.length-1];return a-(n.y+n.height)>=40&&s.push({y:a-2,height:2}),(t=>{let e=[],i=t[0];for(let r=1;r<t.length;r++){e.push(i);let s=t[r],o=i.y+i.height,l=s.y-o,a=l/40|0;if(a){let t=l/a;for(let i=0;i<a;i++)e.push({y:o+t*(i+1)-2,height:4})}i=s}return e.push(i),e})(s)})([u],y),w=await(async(t,e)=>{let i=[],r=r=>{let s,o=r.y+r.height,l=1;for(let t of e){if(t.y+t.height>o&&t.y<o){l=0;break}t.y>o&&(null==s||t.y<s)&&(s=t.y)}if(l){let e=o-t.y;null!=s&&(s-=t.y,e+=(s-e)/2),-1==i.indexOf(e)&&i.push(e)}};for(let t of e)d(r,[t]);return await h(),i.sort(g)})(y,m);return l._lR("\u5bcc\u6587\u672c:\u6b63\u5728\u5206\u5272..."),await(async(t,e,i)=>{let r=[],s=document.createElement("canvas"),o=s.getContext("2d"),l=0,a=e.width;s.width=a,t[t.length-1]=e.height/i;let n=t=>{let d=(t-l)*i;d>0&&(s.height=d,o.drawImage(e,0,l*i,a,d,0,0,a,d),r.push({_eO:s.toDataURL("image/png",1),_cx:a/i,_cy:d/i})),o.clearRect(0,0,a,d),l=t};for(let e of t)d(n,[e]);return await h(),r})(w,x,r)};i.exports=async(t,e,i,r,o,d,h)=>{let{props:c,type:p,id:g}=t,f=s.bX(i.height-r-c.y),b="richtext";if("data-richtext"==p){t.type="richtext";let e=c.bind;if(e.id){c.splitToPages=!0;let{_eN:t,_eO:i}=a._lX(e),r=e.fields[0];if(t)c.text=t;else{let t=n(i)?i[0]:i;c.text=t[r.id]}}else c.height=s.bK(30)}else if("html"==p){let e=c.bind;if(c.splitToPages=!0,e.id){let{_eN:t,_eO:i}=a._lX(e);t||(e._data=i)}t.type="richtext",b="html"}if(c.splitToPages)try{let i=o[`_my_${g}`];i||(i=await u(c,d,b),o[`_my_${g}`]=i);let r=e,s=i.length,a=[];for(;r<s;){let t=i[r];if(f<t._cy){a.length||(r++,a.push(t));break}f-=t._cy,a.push(t),r++}let n='<div style="display:flex;flex-direction:column;">';for(let t of a)n+=`<img src="${t._eO}" style="width:${t._cx}px;height:${t._cy}px"/>`;return n+="</div>",c.text=n,h.push(t),r<s?r:-1}catch(t){c.text=t.message||t.name}finally{l._lS()}return h.push(t),-1}}));
|