@ecan-bi/datav 1.2.64 → 1.2.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1,5 +1,5 @@
1
- /*! @ecan-bi/datav@1.2.64 */
2
- (function(q,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("echarts/core"),require("resize-detector"),require("ant-design-vue"),require("ant-design-vue/es/spin/style"),require("ant-design-vue/es/skeleton/style"),require("lodash-es"),require("dayjs"),require("axios"),require("mitt"),require("ant-design-vue/es/progress/style"),require("ant-design-vue/es/input/style"),require("ant-design-vue/es/date-picker/style"),require("ant-design-vue/es/date-picker/locale/zh_CN"),require("ant-design-vue/es/button/style"),require("ant-design-vue/es/checkbox/style"),require("ant-design-vue/es/select/style"),require("ant-design-vue/es/tree-select/style"),require("echarts/renderers"),require("echarts/charts"),require("echarts/components"),require("ant-design-vue/es/modal/style"),require("echarts"),require("ant-design-vue/es/table/style"),require("ant-design-vue/es/notification/style"),require("xlsx"),require("big.js")):typeof define=="function"&&define.amd?define(["exports","vue","echarts/core","resize-detector","ant-design-vue","ant-design-vue/es/spin/style","ant-design-vue/es/skeleton/style","lodash-es","dayjs","axios","mitt","ant-design-vue/es/progress/style","ant-design-vue/es/input/style","ant-design-vue/es/date-picker/style","ant-design-vue/es/date-picker/locale/zh_CN","ant-design-vue/es/button/style","ant-design-vue/es/checkbox/style","ant-design-vue/es/select/style","ant-design-vue/es/tree-select/style","echarts/renderers","echarts/charts","echarts/components","ant-design-vue/es/modal/style","echarts","ant-design-vue/es/table/style","ant-design-vue/es/notification/style","xlsx","big.js"],a):(q=typeof globalThis<"u"?globalThis:q||self,a(q["@ecan/bi-datav"]={},q.Vue,q["echarts/core"],q.ResizeDetector,q.AntDesignVue,null,null,q.LodashEs,q.Dayjs,q.Axios,q.Mitt,null,null,null,q["ant-design-vue/es/date-picker/locale/zh_CN"],null,null,null,null,q["echarts/renderers"],q["echarts/charts"],q["echarts/components"],null,q.Echarts,null,null,q.Xlsx,q.big.js))})(this,function(q,a,Pe,ua,re,nd,od,Ye,we,s0,c0,ad,rd,id,ha,ld,sd,cd,fd,dt,Xe,he,dd,f0,ud,hd,Rt,d0){var Xi,Qi,Ji,e0;"use strict";function u0(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const h0=u0(f0),g0=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function m0(e,n){function t(r){return(...i)=>{if(e.value||n(),!e.value)throw new Error("ECharts is not initialized yet.");return e.value[r].apply(e.value,i)}}function o(){const r=Object.create(null);return g0.forEach(i=>{r[i]=t(i)}),r}return o()}function x0(e,n,t){let o=null;a.watch([t,e,n],([r,i,s],l,f)=>{r&&i&&s&&(o=Pe.throttle(()=>{i.resize()},100),ua.addListener(r,o)),f(()=>{o&&r&&ua.removeListener(r,o)})})}const y0={autoresize:Boolean},p0="ecLoadingOptions";function v0(e,n,t){const o=a.inject(p0,{}),r=a.computed(()=>({...a.unref(o),...t==null?void 0:t.value}));a.watchEffect(()=>{const i=e.value;i&&(n.value?i.showLoading(r.value):i.hideLoading())})}const b0={loading:Boolean,loadingOptions:Object},gd="",w0=/^on[^a-z]/,S0=e=>w0.test(e);function C0(e){const n={};for(const t in e)S0(t)||(n[t]=e[t]);return n}const A0="x-vue-echarts",k0="ecTheme",E0="ecInitOptions",T0="ecUpdateOptions",nt=a.defineComponent({name:"echarts",props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...y0,...b0},inheritAttrs:!1,setup(e,{attrs:n,listeners:t}){const o=a.shallowRef(),r=a.shallowRef(),i=a.shallowRef(),s=a.inject(k0,null),l=a.inject(E0,null),f=a.inject(T0,null),{autoresize:c,manualUpdate:d,loading:y,loadingOptions:h}=a.toRefs(e),u=a.computed(()=>i.value||e.option||Object.create(null)),m=a.computed(()=>e.theme||a.unref(s)||{}),g=a.computed(()=>e.initOptions||a.unref(l)||{}),S=a.computed(()=>e.updateOptions||a.unref(f)||{}),E=a.computed(()=>C0(n));function x(b){if(r.value||!o.value)return;const T=r.value=Pe.init(o.value,m.value,g.value);e.group&&(T.group=e.group);let B=t;B||(B={},Object.keys(n).filter(I=>I.indexOf("on")===0&&I.length>2).forEach(I=>{const D=I.charAt(2).toLowerCase()+I.slice(3);B[D]=n[I]})),Object.keys(B).forEach(I=>{const D=B[I];D&&(I.indexOf("zr:")===0?T.getZr().on(I.slice(3).toLowerCase(),D):T.on(I.toLowerCase(),D))});function A(){if(T&&!T.isDisposed())try{T.resize()}catch(I){if(I.message==="Cannot read property 'get' of undefined")return;throw I}}function k(){T.setOption(b||u.value,S.value)}c.value?a.nextTick(()=>{A(),k()}):k()}function v(b,T){e.manualUpdate&&(i.value=b),r.value?r.value.setOption(b,T||{}):x(b)}function p(){r.value&&(r.value.dispose(),r.value=void 0)}let C=null;a.watch(d,b=>{typeof C=="function"&&(C(),C=null),b||(C=a.watch(()=>e.option,T=>{T&&(r.value?r.value.setOption(T,S.value):x())},{deep:!0}))},{immediate:!0}),a.watch([m,g],()=>{p(),x()},{deep:!0}),a.watchEffect(()=>{e.group&&r.value&&(r.value.group=e.group)});const w=m0(r,x);return v0(r,y,h),x0(r,c,o),a.onMounted(()=>{e.option&&x()}),a.onUnmounted(p),{chart:r,root:o,setOption:v,nonEventAttrs:E,...w}},render(){const e={...this.nonEventAttrs};return e.ref="root",e.class=e.class?["echarts"].concat(e.class):"echarts",a.h(A0,e)}});function Ve(e,n){B0(e)&&(e="100%");var t=_0(e);return e=n===360?e:Math.min(n,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*n),10)/100),Math.abs(e-n)<1e-6?1:(n===360?e=(e<0?e%n+n:e%n)/parseFloat(String(n)):e=e%n/parseFloat(String(n)),e)}function B0(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function _0(e){return typeof e=="string"&&e.indexOf("%")!==-1}function D0(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ft(e){return e<=1?"".concat(Number(e)*100,"%"):e}function on(e){return e.length===1?"0"+e:String(e)}function R0(e,n,t){return{r:Ve(e,255)*255,g:Ve(n,255)*255,b:Ve(t,255)*255}}function an(e,n,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+(n-e)*(6*t):t<1/2?n:t<2/3?e+(n-e)*(2/3-t)*6:e}function I0(e,n,t){var o,r,i;if(e=Ve(e,360),n=Ve(n,100),t=Ve(t,100),n===0)r=t,i=t,o=t;else{var s=t<.5?t*(1+n):t+n-t*n,l=2*t-s;o=an(l,s,e+1/3),r=an(l,s,e),i=an(l,s,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function O0(e,n,t){e=Ve(e,255),n=Ve(n,255),t=Ve(t,255);var o=Math.max(e,n,t),r=Math.min(e,n,t),i=0,s=o,l=o-r,f=o===0?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(n-t)/l+(n<t?6:0);break;case n:i=(t-e)/l+2;break;case t:i=(e-n)/l+4;break}i/=6}return{h:i,s:f,v:s}}function L0(e,n,t){e=Ve(e,360)*6,n=Ve(n,100),t=Ve(t,100);var o=Math.floor(e),r=e-o,i=t*(1-n),s=t*(1-r*n),l=t*(1-(1-r)*n),f=o%6,c=[t,s,i,i,l,t][f],d=[l,t,t,s,i,i][f],y=[i,i,l,t,t,s][f];return{r:c*255,g:d*255,b:y*255}}function N0(e,n,t,o){var r=[on(Math.round(e).toString(16)),on(Math.round(n).toString(16)),on(Math.round(t).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function ga(e){return Fe(e)/255}function Fe(e){return parseInt(e,16)}var ma={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function It(e){var n={r:0,g:0,b:0},t=1,o=null,r=null,i=null,s=!1,l=!1;return typeof e=="string"&&(e=P0(e)),typeof e=="object"&&(Qe(e.r)&&Qe(e.g)&&Qe(e.b)?(n=R0(e.r,e.g,e.b),s=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qe(e.h)&&Qe(e.s)&&Qe(e.v)?(o=Ft(e.s),r=Ft(e.v),n=L0(e.h,o,r),s=!0,l="hsv"):Qe(e.h)&&Qe(e.s)&&Qe(e.l)&&(o=Ft(e.s),i=Ft(e.l),n=I0(e.h,o,i),s=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(t=e.a)),t=D0(t),{ok:s,format:e.format||l,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:t}}var M0="[-\\+]?\\d+%?",z0="[-\\+]?\\d*\\.\\d+%?",ot="(?:".concat(z0,")|(?:").concat(M0,")"),rn="[\\s|\\(]+(".concat(ot,")[,|\\s]+(").concat(ot,")[,|\\s]+(").concat(ot,")\\s*\\)?"),ln="[\\s|\\(]+(".concat(ot,")[,|\\s]+(").concat(ot,")[,|\\s]+(").concat(ot,")[,|\\s]+(").concat(ot,")\\s*\\)?"),Ue={CSS_UNIT:new RegExp(ot),rgb:new RegExp("rgb"+rn),rgba:new RegExp("rgba"+ln),hsl:new RegExp("hsl"+rn),hsla:new RegExp("hsla"+ln),hsv:new RegExp("hsv"+rn),hsva:new RegExp("hsva"+ln),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function P0(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var n=!1;if(ma[e])e=ma[e],n=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t=Ue.rgb.exec(e);return t?{r:t[1],g:t[2],b:t[3]}:(t=Ue.rgba.exec(e),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Ue.hsl.exec(e),t?{h:t[1],s:t[2],l:t[3]}:(t=Ue.hsla.exec(e),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Ue.hsv.exec(e),t?{h:t[1],s:t[2],v:t[3]}:(t=Ue.hsva.exec(e),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Ue.hex8.exec(e),t?{r:Fe(t[1]),g:Fe(t[2]),b:Fe(t[3]),a:ga(t[4]),format:n?"name":"hex8"}:(t=Ue.hex6.exec(e),t?{r:Fe(t[1]),g:Fe(t[2]),b:Fe(t[3]),format:n?"name":"hex"}:(t=Ue.hex4.exec(e),t?{r:Fe(t[1]+t[1]),g:Fe(t[2]+t[2]),b:Fe(t[3]+t[3]),a:ga(t[4]+t[4]),format:n?"name":"hex8"}:(t=Ue.hex3.exec(e),t?{r:Fe(t[1]+t[1]),g:Fe(t[2]+t[2]),b:Fe(t[3]+t[3]),format:n?"name":"hex"}:!1)))))))))}function Qe(e){return!!Ue.CSS_UNIT.exec(String(e))}var Ht=2,xa=.16,F0=.05,H0=.05,q0=.15,ya=5,pa=4,V0=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function va(e){var n=e.r,t=e.g,o=e.b,r=O0(n,t,o);return{h:r.h*360,s:r.s,v:r.v}}function qt(e){var n=e.r,t=e.g,o=e.b;return"#".concat(N0(n,t,o,!1))}function j0(e,n,t){var o=t/100,r={r:(n.r-e.r)*o+e.r,g:(n.g-e.g)*o+e.g,b:(n.b-e.b)*o+e.b};return r}function ba(e,n,t){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=t?Math.round(e.h)-Ht*n:Math.round(e.h)+Ht*n:o=t?Math.round(e.h)+Ht*n:Math.round(e.h)-Ht*n,o<0?o+=360:o>=360&&(o-=360),o}function wa(e,n,t){if(e.h===0&&e.s===0)return e.s;var o;return t?o=e.s-xa*n:n===pa?o=e.s+xa:o=e.s+F0*n,o>1&&(o=1),t&&n===ya&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Sa(e,n,t){var o;return t?o=e.v+H0*n:o=e.v-q0*n,o>1&&(o=1),Number(o.toFixed(2))}function sn(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=[],o=It(e),r=ya;r>0;r-=1){var i=va(o),s=qt(It({h:ba(i,r,!0),s:wa(i,r,!0),v:Sa(i,r,!0)}));t.push(s)}t.push(qt(o));for(var l=1;l<=pa;l+=1){var f=va(o),c=qt(It({h:ba(f,l),s:wa(f,l),v:Sa(f,l)}));t.push(c)}return n.theme==="dark"?V0.map(function(d){var y=d.index,h=d.opacity,u=qt(j0(It(n.backgroundColor||"#141414"),It(t[y]),h*100));return u}):t}var cn={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fn={},dn={};Object.keys(cn).forEach(function(e){fn[e]=sn(cn[e]),fn[e].primary=fn[e][5],dn[e]=sn(cn[e],{theme:"dark",backgroundColor:"#141414"}),dn[e].primary=dn[e][5]});var Ca=[],Ot=[],G0="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function U0(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}function W0(e,n){if(n=n||{},e===void 0)throw new Error(G0);var t=n.prepend===!0?"prepend":"append",o=n.container!==void 0?n.container:document.querySelector("head"),r=Ca.indexOf(o);r===-1&&(r=Ca.push(o)-1,Ot[r]={});var i;return Ot[r]!==void 0&&Ot[r][t]!==void 0?i=Ot[r][t]:(i=Ot[r][t]=U0(),t==="prepend"?o.insertBefore(i,o.childNodes[0]):o.appendChild(i)),e.charCodeAt(0)===65279&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}function Aa(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){$0(e,r,t[r])})}return e}function $0(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function Z0(e,n){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(n))}function Y0(e,n){Z0(e,"[@ant-design/icons-vue] ".concat(n))}function ka(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function un(e,n,t){return t?a.h(e.tag,Aa({key:n},t,e.attrs),(e.children||[]).map(function(o,r){return un(o,"".concat(n,"-").concat(e.tag,"-").concat(r))})):a.h(e.tag,Aa({key:n},e.attrs),(e.children||[]).map(function(o,r){return un(o,"".concat(n,"-").concat(e.tag,"-").concat(r))}))}function Ea(e){return sn(e)[0]}function Ta(e){return e?Array.isArray(e)?e:[e]:[]}var K0=`
1
+ /*! @ecan-bi/datav@1.2.66 */
2
+ (function(q,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("echarts/core"),require("resize-detector"),require("ant-design-vue"),require("ant-design-vue/es/spin/style"),require("ant-design-vue/es/skeleton/style"),require("lodash-es"),require("dayjs"),require("axios"),require("mitt"),require("ant-design-vue/es/progress/style"),require("ant-design-vue/es/input/style"),require("ant-design-vue/es/date-picker/style"),require("ant-design-vue/es/date-picker/locale/zh_CN"),require("ant-design-vue/es/button/style"),require("ant-design-vue/es/checkbox/style"),require("ant-design-vue/es/select/style"),require("ant-design-vue/es/tree-select/style"),require("echarts/renderers"),require("echarts/charts"),require("echarts/components"),require("ant-design-vue/es/modal/style"),require("echarts"),require("ant-design-vue/es/table/style"),require("ant-design-vue/es/notification/style"),require("xlsx"),require("big.js")):typeof define=="function"&&define.amd?define(["exports","vue","echarts/core","resize-detector","ant-design-vue","ant-design-vue/es/spin/style","ant-design-vue/es/skeleton/style","lodash-es","dayjs","axios","mitt","ant-design-vue/es/progress/style","ant-design-vue/es/input/style","ant-design-vue/es/date-picker/style","ant-design-vue/es/date-picker/locale/zh_CN","ant-design-vue/es/button/style","ant-design-vue/es/checkbox/style","ant-design-vue/es/select/style","ant-design-vue/es/tree-select/style","echarts/renderers","echarts/charts","echarts/components","ant-design-vue/es/modal/style","echarts","ant-design-vue/es/table/style","ant-design-vue/es/notification/style","xlsx","big.js"],a):(q=typeof globalThis<"u"?globalThis:q||self,a(q["@ecan/bi-datav"]={},q.Vue,q["echarts/core"],q.ResizeDetector,q.AntDesignVue,null,null,q.LodashEs,q.Dayjs,q.Axios,q.Mitt,null,null,null,q["ant-design-vue/es/date-picker/locale/zh_CN"],null,null,null,null,q["echarts/renderers"],q["echarts/charts"],q["echarts/components"],null,q.Echarts,null,null,q.Xlsx,q.big.js))})(this,function(q,a,Pe,ga,oe,id,ld,Ye,Se,g0,m0,sd,cd,fd,ma,dd,ud,hd,gd,dt,Xe,he,md,x0,xd,yd,Rt,y0){var o0,a0,r0,i0;"use strict";function p0(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(n,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return n.default=e,Object.freeze(n)}const v0=p0(x0),b0=["getWidth","getHeight","getDom","getOption","resize","dispatchAction","convertToPixel","convertFromPixel","containPixel","getDataURL","getConnectedDataURL","appendData","clear","isDisposed","dispose"];function S0(e,n){function t(r){return(...i)=>{if(e.value||n(),!e.value)throw new Error("ECharts is not initialized yet.");return e.value[r].apply(e.value,i)}}function o(){const r=Object.create(null);return b0.forEach(i=>{r[i]=t(i)}),r}return o()}function w0(e,n,t){let o=null;a.watch([t,e,n],([r,i,s],l,f)=>{r&&i&&s&&(o=Pe.throttle(()=>{i.resize()},100),ga.addListener(r,o)),f(()=>{o&&r&&ga.removeListener(r,o)})})}const C0={autoresize:Boolean},A0="ecLoadingOptions";function k0(e,n,t){const o=a.inject(A0,{}),r=a.computed(()=>({...a.unref(o),...t==null?void 0:t.value}));a.watchEffect(()=>{const i=e.value;i&&(n.value?i.showLoading(r.value):i.hideLoading())})}const T0={loading:Boolean,loadingOptions:Object},pd="",E0=/^on[^a-z]/,B0=e=>E0.test(e);function _0(e){const n={};for(const t in e)B0(t)||(n[t]=e[t]);return n}const D0="x-vue-echarts",R0="ecTheme",I0="ecInitOptions",O0="ecUpdateOptions",nt=a.defineComponent({name:"echarts",props:{option:Object,theme:{type:[Object,String]},initOptions:Object,updateOptions:Object,group:String,manualUpdate:Boolean,...C0,...T0},inheritAttrs:!1,setup(e,{attrs:n,listeners:t}){const o=a.shallowRef(),r=a.shallowRef(),i=a.shallowRef(),s=a.inject(R0,null),l=a.inject(I0,null),f=a.inject(O0,null),{autoresize:c,manualUpdate:d,loading:y,loadingOptions:h}=a.toRefs(e),u=a.computed(()=>i.value||e.option||Object.create(null)),m=a.computed(()=>e.theme||a.unref(s)||{}),g=a.computed(()=>e.initOptions||a.unref(l)||{}),w=a.computed(()=>e.updateOptions||a.unref(f)||{}),T=a.computed(()=>_0(n));function x(b){if(r.value||!o.value)return;const E=r.value=Pe.init(o.value,m.value,g.value);e.group&&(E.group=e.group);let B=t;B||(B={},Object.keys(n).filter(I=>I.indexOf("on")===0&&I.length>2).forEach(I=>{const D=I.charAt(2).toLowerCase()+I.slice(3);B[D]=n[I]})),Object.keys(B).forEach(I=>{const D=B[I];D&&(I.indexOf("zr:")===0?E.getZr().on(I.slice(3).toLowerCase(),D):E.on(I.toLowerCase(),D))});function A(){if(E&&!E.isDisposed())try{E.resize()}catch(I){if(I.message==="Cannot read property 'get' of undefined")return;throw I}}function k(){E.setOption(b||u.value,w.value)}c.value?a.nextTick(()=>{A(),k()}):k()}function v(b,E){e.manualUpdate&&(i.value=b),r.value?r.value.setOption(b,E||{}):x(b)}function p(){r.value&&(r.value.dispose(),r.value=void 0)}let C=null;a.watch(d,b=>{typeof C=="function"&&(C(),C=null),b||(C=a.watch(()=>e.option,E=>{E&&(r.value?r.value.setOption(E,w.value):x())},{deep:!0}))},{immediate:!0}),a.watch([m,g],()=>{p(),x()},{deep:!0}),a.watchEffect(()=>{e.group&&r.value&&(r.value.group=e.group)});const S=S0(r,x);return k0(r,y,h),w0(r,c,o),a.onMounted(()=>{e.option&&x()}),a.onUnmounted(p),{chart:r,root:o,setOption:v,nonEventAttrs:T,...S}},render(){const e={...this.nonEventAttrs};return e.ref="root",e.class=e.class?["echarts"].concat(e.class):"echarts",a.h(D0,e)}});function Ve(e,n){L0(e)&&(e="100%");var t=N0(e);return e=n===360?e:Math.min(n,Math.max(0,parseFloat(e))),t&&(e=parseInt(String(e*n),10)/100),Math.abs(e-n)<1e-6?1:(n===360?e=(e<0?e%n+n:e%n)/parseFloat(String(n)):e=e%n/parseFloat(String(n)),e)}function L0(e){return typeof e=="string"&&e.indexOf(".")!==-1&&parseFloat(e)===1}function N0(e){return typeof e=="string"&&e.indexOf("%")!==-1}function z0(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function Ft(e){return e<=1?"".concat(Number(e)*100,"%"):e}function on(e){return e.length===1?"0"+e:String(e)}function M0(e,n,t){return{r:Ve(e,255)*255,g:Ve(n,255)*255,b:Ve(t,255)*255}}function an(e,n,t){return t<0&&(t+=1),t>1&&(t-=1),t<1/6?e+(n-e)*(6*t):t<1/2?n:t<2/3?e+(n-e)*(2/3-t)*6:e}function P0(e,n,t){var o,r,i;if(e=Ve(e,360),n=Ve(n,100),t=Ve(t,100),n===0)r=t,i=t,o=t;else{var s=t<.5?t*(1+n):t+n-t*n,l=2*t-s;o=an(l,s,e+1/3),r=an(l,s,e),i=an(l,s,e-1/3)}return{r:o*255,g:r*255,b:i*255}}function F0(e,n,t){e=Ve(e,255),n=Ve(n,255),t=Ve(t,255);var o=Math.max(e,n,t),r=Math.min(e,n,t),i=0,s=o,l=o-r,f=o===0?0:l/o;if(o===r)i=0;else{switch(o){case e:i=(n-t)/l+(n<t?6:0);break;case n:i=(t-e)/l+2;break;case t:i=(e-n)/l+4;break}i/=6}return{h:i,s:f,v:s}}function H0(e,n,t){e=Ve(e,360)*6,n=Ve(n,100),t=Ve(t,100);var o=Math.floor(e),r=e-o,i=t*(1-n),s=t*(1-r*n),l=t*(1-(1-r)*n),f=o%6,c=[t,s,i,i,l,t][f],d=[l,t,t,s,i,i][f],y=[i,i,l,t,t,s][f];return{r:c*255,g:d*255,b:y*255}}function q0(e,n,t,o){var r=[on(Math.round(e).toString(16)),on(Math.round(n).toString(16)),on(Math.round(t).toString(16))];return o&&r[0].startsWith(r[0].charAt(1))&&r[1].startsWith(r[1].charAt(1))&&r[2].startsWith(r[2].charAt(1))?r[0].charAt(0)+r[1].charAt(0)+r[2].charAt(0):r.join("")}function xa(e){return Fe(e)/255}function Fe(e){return parseInt(e,16)}var ya={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",goldenrod:"#daa520",gold:"#ffd700",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavenderblush:"#fff0f5",lavender:"#e6e6fa",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"};function It(e){var n={r:0,g:0,b:0},t=1,o=null,r=null,i=null,s=!1,l=!1;return typeof e=="string"&&(e=G0(e)),typeof e=="object"&&(Qe(e.r)&&Qe(e.g)&&Qe(e.b)?(n=M0(e.r,e.g,e.b),s=!0,l=String(e.r).substr(-1)==="%"?"prgb":"rgb"):Qe(e.h)&&Qe(e.s)&&Qe(e.v)?(o=Ft(e.s),r=Ft(e.v),n=H0(e.h,o,r),s=!0,l="hsv"):Qe(e.h)&&Qe(e.s)&&Qe(e.l)&&(o=Ft(e.s),i=Ft(e.l),n=P0(e.h,o,i),s=!0,l="hsl"),Object.prototype.hasOwnProperty.call(e,"a")&&(t=e.a)),t=z0(t),{ok:s,format:e.format||l,r:Math.min(255,Math.max(n.r,0)),g:Math.min(255,Math.max(n.g,0)),b:Math.min(255,Math.max(n.b,0)),a:t}}var V0="[-\\+]?\\d+%?",j0="[-\\+]?\\d*\\.\\d+%?",ot="(?:".concat(j0,")|(?:").concat(V0,")"),rn="[\\s|\\(]+(".concat(ot,")[,|\\s]+(").concat(ot,")[,|\\s]+(").concat(ot,")\\s*\\)?"),ln="[\\s|\\(]+(".concat(ot,")[,|\\s]+(").concat(ot,")[,|\\s]+(").concat(ot,")[,|\\s]+(").concat(ot,")\\s*\\)?"),Ue={CSS_UNIT:new RegExp(ot),rgb:new RegExp("rgb"+rn),rgba:new RegExp("rgba"+ln),hsl:new RegExp("hsl"+rn),hsla:new RegExp("hsla"+ln),hsv:new RegExp("hsv"+rn),hsva:new RegExp("hsva"+ln),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/};function G0(e){if(e=e.trim().toLowerCase(),e.length===0)return!1;var n=!1;if(ya[e])e=ya[e],n=!0;else if(e==="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var t=Ue.rgb.exec(e);return t?{r:t[1],g:t[2],b:t[3]}:(t=Ue.rgba.exec(e),t?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=Ue.hsl.exec(e),t?{h:t[1],s:t[2],l:t[3]}:(t=Ue.hsla.exec(e),t?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=Ue.hsv.exec(e),t?{h:t[1],s:t[2],v:t[3]}:(t=Ue.hsva.exec(e),t?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=Ue.hex8.exec(e),t?{r:Fe(t[1]),g:Fe(t[2]),b:Fe(t[3]),a:xa(t[4]),format:n?"name":"hex8"}:(t=Ue.hex6.exec(e),t?{r:Fe(t[1]),g:Fe(t[2]),b:Fe(t[3]),format:n?"name":"hex"}:(t=Ue.hex4.exec(e),t?{r:Fe(t[1]+t[1]),g:Fe(t[2]+t[2]),b:Fe(t[3]+t[3]),a:xa(t[4]+t[4]),format:n?"name":"hex8"}:(t=Ue.hex3.exec(e),t?{r:Fe(t[1]+t[1]),g:Fe(t[2]+t[2]),b:Fe(t[3]+t[3]),format:n?"name":"hex"}:!1)))))))))}function Qe(e){return!!Ue.CSS_UNIT.exec(String(e))}var Ht=2,pa=.16,U0=.05,W0=.05,$0=.15,va=5,ba=4,Z0=[{index:7,opacity:.15},{index:6,opacity:.25},{index:5,opacity:.3},{index:5,opacity:.45},{index:5,opacity:.65},{index:5,opacity:.85},{index:4,opacity:.9},{index:3,opacity:.95},{index:2,opacity:.97},{index:1,opacity:.98}];function Sa(e){var n=e.r,t=e.g,o=e.b,r=F0(n,t,o);return{h:r.h*360,s:r.s,v:r.v}}function qt(e){var n=e.r,t=e.g,o=e.b;return"#".concat(q0(n,t,o,!1))}function Y0(e,n,t){var o=t/100,r={r:(n.r-e.r)*o+e.r,g:(n.g-e.g)*o+e.g,b:(n.b-e.b)*o+e.b};return r}function wa(e,n,t){var o;return Math.round(e.h)>=60&&Math.round(e.h)<=240?o=t?Math.round(e.h)-Ht*n:Math.round(e.h)+Ht*n:o=t?Math.round(e.h)+Ht*n:Math.round(e.h)-Ht*n,o<0?o+=360:o>=360&&(o-=360),o}function Ca(e,n,t){if(e.h===0&&e.s===0)return e.s;var o;return t?o=e.s-pa*n:n===ba?o=e.s+pa:o=e.s+U0*n,o>1&&(o=1),t&&n===va&&o>.1&&(o=.1),o<.06&&(o=.06),Number(o.toFixed(2))}function Aa(e,n,t){var o;return t?o=e.v+W0*n:o=e.v-$0*n,o>1&&(o=1),Number(o.toFixed(2))}function sn(e){for(var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=[],o=It(e),r=va;r>0;r-=1){var i=Sa(o),s=qt(It({h:wa(i,r,!0),s:Ca(i,r,!0),v:Aa(i,r,!0)}));t.push(s)}t.push(qt(o));for(var l=1;l<=ba;l+=1){var f=Sa(o),c=qt(It({h:wa(f,l),s:Ca(f,l),v:Aa(f,l)}));t.push(c)}return n.theme==="dark"?Z0.map(function(d){var y=d.index,h=d.opacity,u=qt(Y0(It(n.backgroundColor||"#141414"),It(t[y]),h*100));return u}):t}var cn={red:"#F5222D",volcano:"#FA541C",orange:"#FA8C16",gold:"#FAAD14",yellow:"#FADB14",lime:"#A0D911",green:"#52C41A",cyan:"#13C2C2",blue:"#1890FF",geekblue:"#2F54EB",purple:"#722ED1",magenta:"#EB2F96",grey:"#666666"},fn={},dn={};Object.keys(cn).forEach(function(e){fn[e]=sn(cn[e]),fn[e].primary=fn[e][5],dn[e]=sn(cn[e],{theme:"dark",backgroundColor:"#141414"}),dn[e].primary=dn[e][5]});var ka=[],Ot=[],K0="insert-css: You need to provide a CSS string. Usage: insertCss(cssString[, options]).";function X0(){var e=document.createElement("style");return e.setAttribute("type","text/css"),e}function Q0(e,n){if(n=n||{},e===void 0)throw new Error(K0);var t=n.prepend===!0?"prepend":"append",o=n.container!==void 0?n.container:document.querySelector("head"),r=ka.indexOf(o);r===-1&&(r=ka.push(o)-1,Ot[r]={});var i;return Ot[r]!==void 0&&Ot[r][t]!==void 0?i=Ot[r][t]:(i=Ot[r][t]=X0(),t==="prepend"?o.insertBefore(i,o.childNodes[0]):o.appendChild(i)),e.charCodeAt(0)===65279&&(e=e.substr(1,e.length)),i.styleSheet?i.styleSheet.cssText+=e:i.textContent+=e,i}function Ta(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){J0(e,r,t[r])})}return e}function J0(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function el(e,n){process.env.NODE_ENV!=="production"&&!e&&console!==void 0&&console.error("Warning: ".concat(n))}function tl(e,n){el(e,"[@ant-design/icons-vue] ".concat(n))}function Ea(e){return typeof e=="object"&&typeof e.name=="string"&&typeof e.theme=="string"&&(typeof e.icon=="object"||typeof e.icon=="function")}function un(e,n,t){return t?a.h(e.tag,Ta({key:n},t,e.attrs),(e.children||[]).map(function(o,r){return un(o,"".concat(n,"-").concat(e.tag,"-").concat(r))})):a.h(e.tag,Ta({key:n},e.attrs),(e.children||[]).map(function(o,r){return un(o,"".concat(n,"-").concat(e.tag,"-").concat(r))}))}function Ba(e){return sn(e)[0]}function _a(e){return e?Array.isArray(e)?e:[e]:[]}var nl=`
3
3
  .anticon {
4
4
  display: inline-block;
5
5
  color: inherit;
@@ -53,9 +53,9 @@
53
53
  transform: rotate(360deg);
54
54
  }
55
55
  }
56
- `,Ba=!1,X0=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:K0;a.nextTick(function(){Ba||(typeof window<"u"&&window.document&&window.document.documentElement&&W0(n,{prepend:!0}),Ba=!0)})},Q0=["icon","primaryColor","secondaryColor"];function J0(e,n){if(e==null)return{};var t=el(e,n),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function el(e,n){if(e==null)return{};var t={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&(t[r]=e[r]);return t}function Vt(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){tl(e,r,t[r])})}return e}function tl(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Lt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function nl(e){var n=e.primaryColor,t=e.secondaryColor;Lt.primaryColor=n,Lt.secondaryColor=t||Ea(n),Lt.calculated=!!t}function ol(){return Vt({},Lt)}var xt=function(n,t){var o=Vt({},n,t.attrs),r=o.icon,i=o.primaryColor,s=o.secondaryColor,l=J0(o,Q0),f=Lt;if(i&&(f={primaryColor:i,secondaryColor:s||Ea(i)}),X0(),Y0(ka(r),"icon should be icon definiton, but got ".concat(r)),!ka(r))return null;var c=r;return c&&typeof c.icon=="function"&&(c=Vt({},c,{icon:c.icon(f.primaryColor,f.secondaryColor)})),un(c.icon,"svg-".concat(c.name),Vt({},l,{"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};xt.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},xt.inheritAttrs=!1,xt.displayName="IconBase",xt.getTwoToneColors=ol,xt.setTwoToneColors=nl;const hn=xt;function al(e,n){return sl(e)||ll(e,n)||il(e,n)||rl()}function rl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
57
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function il(e,n){if(e){if(typeof e=="string")return _a(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return _a(e,n)}}function _a(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function ll(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],r=!0,i=!1,s,l;try{for(t=t.call(e);!(r=(s=t.next()).done)&&(o.push(s.value),!(n&&o.length===n));r=!0);}catch(f){i=!0,l=f}finally{try{!r&&t.return!=null&&t.return()}finally{if(i)throw l}}return o}}function sl(e){if(Array.isArray(e))return e}function Da(e){var n=Ta(e),t=al(n,2),o=t[0],r=t[1];return hn.setTwoToneColors({primaryColor:o,secondaryColor:r})}function cl(){var e=hn.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var fl=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function dl(e,n){return ml(e)||gl(e,n)||hl(e,n)||ul()}function ul(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
58
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hl(e,n){if(e){if(typeof e=="string")return Ra(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ra(e,n)}}function Ra(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function gl(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],r=!0,i=!1,s,l;try{for(t=t.call(e);!(r=(s=t.next()).done)&&(o.push(s.value),!(n&&o.length===n));r=!0);}catch(f){i=!0,l=f}finally{try{!r&&t.return!=null&&t.return()}finally{if(i)throw l}}return o}}function ml(e){if(Array.isArray(e))return e}function Ia(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){gn(e,r,t[r])})}return e}function gn(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function xl(e,n){if(e==null)return{};var t=yl(e,n),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function yl(e,n){if(e==null)return{};var t={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&(t[r]=e[r]);return t}Da("#1890ff");var yt=function(n,t){var o,r=Ia({},n,t.attrs),i=r.class,s=r.icon,l=r.spin,f=r.rotate,c=r.tabindex,d=r.twoToneColor,y=r.onClick,h=xl(r,fl),u=(o={anticon:!0},gn(o,"anticon-".concat(s.name),!!s.name),gn(o,i,i),o),m=l===""||l||s.name==="loading"?"anticon-spin":"",g=c;g===void 0&&y&&(g=-1,h.tabindex=g);var S=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,E=Ta(d),x=dl(E,2),v=x[0],p=x[1];return a.createVNode("span",Ia({role:"img","aria-label":s.name},h,{onClick:y,class:u}),[a.createVNode(hn,{class:m,icon:s,primaryColor:v,secondaryColor:p,style:S},null)])};yt.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String},yt.displayName="AntdIcon",yt.inheritAttrs=!1,yt.getTwoToneColor=cl,yt.setTwoToneColor=Da;const Oa=yt;var pl={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const vl=pl;function La(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){bl(e,r,t[r])})}return e}function bl(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var mn=function(n,t){var o=La({},n,t.attrs);return a.createVNode(Oa,La({},o,{icon:vl}),null)};mn.displayName="CloseOutlined",mn.inheritAttrs=!1;const wl=mn;var Sl={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const Cl=Sl;function Na(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){Al(e,r,t[r])})}return e}function Al(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var xn=function(n,t){var o=Na({},n,t.attrs);return a.createVNode(Oa,Na({},o,{icon:Cl}),null)};xn.displayName="LoadingOutlined",xn.inheritAttrs=!1;const kl=xn,El=a.defineComponent({props:{spinning:{type:Boolean,default:!1}},components:{ASpin:re.Spin},setup(){return{indicator:a.h(kl,{style:{fontSize:"24px",color:"#1890ff"},spin:!0})}}}),md="",se=(e,n)=>{const t=e.__vccOpts||e;for(const[o,r]of n)t[o]=r;return t},Tl={class:"spin-wrapper"};function Bl(e,n,t,o,r,i){const s=a.resolveComponent("a-spin");return a.openBlock(),a.createElementBlock("div",Tl,[e.spinning?(a.openBlock(),a.createBlock(s,{key:0,class:"spin",spinning:e.spinning,indicator:e.indicator,tip:"加载中..."},null,8,["spinning","indicator"])):a.renderSlot(e.$slots,"default",{key:1})])}const pt=se(El,[["render",Bl]]),_l=a.defineComponent({name:"Skeleton",props:{loading:{type:Boolean,default:!1}},components:{ASkeleton:re.Skeleton}});function Dl(e,n,t,o,r,i){const s=a.resolveComponent("a-skeleton");return a.openBlock(),a.createBlock(s,{active:"",loading:e.loading},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["loading"])}const jt=se(_l,[["render",Dl]]);process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const fe=(e,n)=>{if(e.install=t=>{for(const o of[e,...Object.values(n??{})])t.component(o.name,o)},n)for(const[t,o]of Object.entries(n))e[t]=o;return e},ge={id:"",name:"",keyName:"",type:"",width:"100px",height:"40px",position:"absolute",top:"0px",left:"0px",zIndex:1,rotate:"0deg",isShow:!0,isRender:!0,requestUrl:"",requestMethod:"get",requestHeaders:{},isOpenRequestTimer:!1,requestInterval:1,requestSort:0,requestParams:[{key:null,value:{}}],events:[],dataType:"static"},de=e=>{const n={};if(typeof e=="object"&&e!=null)for(const t in e){const o=e[t];n[t]={type:o==null?void 0:o.constructor,default:o}}return n},yn={width:"1920px",height:"1080px",backgroundColor:"#ffffff",backgroundImage:"",backgroundSize:"100% 100%",contextRequestUrl:"",mode:"normal"},pn=de(yn),Rl=["width","height","color","position","top","left","rotate","fontSize","fontFamily","fontWeight","textDecoration","textAlign","lineHeight","verticalAlign","overflow","backgroundColor","backgroundImage","backgroundSize","borderWidth","borderStyle","borderRadius","borderColor","textShadow","justifyContent","alignItems","zIndex"],ue=(e,n=[])=>{const t=Ye.without(Rl,...n);return a.computed(()=>Ye.pick(e,t))},vn="EVENT_BUS",Ie="GLOBAL_CONFIG",Se="GLOBAL_MODEL",Be="REQUEST_MODEL",Ma="GLOBAL_TOKEN",Nt="REFRESH_PAGE",za="MODAL_MODEL",We=18,Pa="ygt",Fa=(Xi=window==null?void 0:window.config)==null?void 0:Xi.indicatorURL;(Qi=window==null?void 0:window.config)!=null&&Qi.uploadPath;const Ha=((Ji=window==null?void 0:window.config)==null?void 0:Ji.routerBaseURL)||"./",Il=((e0=window==null?void 0:window.config)==null?void 0:e0.erdURL)||"",ke=(e,n)=>{a.watch(()=>e.id,t=>{const o=a.inject(vn,{onEvent:(r,i)=>{}});t!=null&&t!==""&&o.onEvent(t,n)},{immediate:!0})},pe=e=>{const n=e.events,t=e.id,o=a.inject(vn,{emitEvent:(i,s)=>{}}),{touchEventId:r}=a.inject(Ie,{touchEventId:a.ref("")});return(i,s=()=>{})=>function(){s.call(this,...arguments);const{emitEvent:l}=o;n.forEach(f=>{if(i===f.on)try{r.value=t,l(f.target,f.emit)}catch(c){console.error(c)}})}},vt=(e,n)=>{let{name:t="name",value:o="value",type:r="type"}=n||{};t=t==null?void 0:t.trim(),o=o==null?void 0:o.trim(),r=r==null?void 0:r.trim();const i=new Map,s=e.length;for(let c=0;c<s;c++){const d=e[c],y=d[t]||"",h=d[o]||"",u=d[r]||"";if(i.has(u)){const m=i.get(u);m.push({name:y,value:h,...d}),i.set(u,m)}else i.set(u,[{name:y,value:h,...d}])}const l=[],f=[];for(const[c,d]of i)if(f.push({name:c,data:d}),d!=null&&d.length)if(l.length)for(const y of d)l.includes(y.name)||l.push(y.name);else l.push(...d.map(y=>y.name));return{dimensions:l,dataset:f}};var te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qa(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Ol(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function o(){return this instanceof o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),t}var Va={exports:{}};function Ll(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bn={exports:{}};const Nl=Ol(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var ja;function le(){return ja||(ja=1,function(e,n){(function(t,o){e.exports=o()})(te,function(){var t=t||function(o,r){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof te<"u"&&te.crypto&&(i=te.crypto),!i&&typeof Ll=="function")try{i=Nl}catch{}var s=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function x(){}return function(v){var p;return x.prototype=v,p=new x,x.prototype=null,p}}(),f={},c=f.lib={},d=c.Base=function(){return{extend:function(x){var v=l(this);return x&&v.mixIn(x),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var v in x)x.hasOwnProperty(v)&&(this[v]=x[v]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),y=c.WordArray=d.extend({init:function(x,v){x=this.words=x||[],v!=r?this.sigBytes=v:this.sigBytes=x.length*4},toString:function(x){return(x||u).stringify(this)},concat:function(x){var v=this.words,p=x.words,C=this.sigBytes,w=x.sigBytes;if(this.clamp(),C%4)for(var b=0;b<w;b++){var T=p[b>>>2]>>>24-b%4*8&255;v[C+b>>>2]|=T<<24-(C+b)%4*8}else for(var B=0;B<w;B+=4)v[C+B>>>2]=p[B>>>2];return this.sigBytes+=w,this},clamp:function(){var x=this.words,v=this.sigBytes;x[v>>>2]&=4294967295<<32-v%4*8,x.length=o.ceil(v/4)},clone:function(){var x=d.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var v=[],p=0;p<x;p+=4)v.push(s());return new y.init(v,x)}}),h=f.enc={},u=h.Hex={stringify:function(x){for(var v=x.words,p=x.sigBytes,C=[],w=0;w<p;w++){var b=v[w>>>2]>>>24-w%4*8&255;C.push((b>>>4).toString(16)),C.push((b&15).toString(16))}return C.join("")},parse:function(x){for(var v=x.length,p=[],C=0;C<v;C+=2)p[C>>>3]|=parseInt(x.substr(C,2),16)<<24-C%8*4;return new y.init(p,v/2)}},m=h.Latin1={stringify:function(x){for(var v=x.words,p=x.sigBytes,C=[],w=0;w<p;w++){var b=v[w>>>2]>>>24-w%4*8&255;C.push(String.fromCharCode(b))}return C.join("")},parse:function(x){for(var v=x.length,p=[],C=0;C<v;C++)p[C>>>2]|=(x.charCodeAt(C)&255)<<24-C%4*8;return new y.init(p,v)}},g=h.Utf8={stringify:function(x){try{return decodeURIComponent(escape(m.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return m.parse(unescape(encodeURIComponent(x)))}},S=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new y.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=g.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var v,p=this._data,C=p.words,w=p.sigBytes,b=this.blockSize,T=b*4,B=w/T;x?B=o.ceil(B):B=o.max((B|0)-this._minBufferSize,0);var A=B*b,k=o.min(A*4,w);if(A){for(var I=0;I<A;I+=b)this._doProcessBlock(C,I);v=C.splice(0,A),p.sigBytes-=k}return new y.init(v,k)},clone:function(){var x=d.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0});c.Hasher=S.extend({cfg:d.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){S.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(x){return function(v,p){return new x.init(p).finalize(v)}},_createHmacHelper:function(x){return function(v,p){return new E.HMAC.init(x,p).finalize(v)}}});var E=f.algo={};return f}(Math);return t})}(bn)),bn.exports}var wn={exports:{}},Ga;function Gt(){return Ga||(Ga=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.Base,l=i.WordArray,f=r.x64={};f.Word=s.extend({init:function(c,d){this.high=c,this.low=d}}),f.WordArray=s.extend({init:function(c,d){c=this.words=c||[],d!=o?this.sigBytes=d:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,d=c.length,y=[],h=0;h<d;h++){var u=c[h];y.push(u.high),y.push(u.low)}return l.create(y,this.sigBytes)},clone:function(){for(var c=s.clone.call(this),d=c.words=this.words.slice(0),y=d.length,h=0;h<y;h++)d[h]=d[h].clone();return c}})}(),t})}(wn)),wn.exports}var Sn={exports:{}},Ua;function Ml(){return Ua||(Ua=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){if(typeof ArrayBuffer=="function"){var o=t,r=o.lib,i=r.WordArray,s=i.init,l=i.init=function(f){if(f instanceof ArrayBuffer&&(f=new Uint8Array(f)),(f instanceof Int8Array||typeof Uint8ClampedArray<"u"&&f instanceof Uint8ClampedArray||f instanceof Int16Array||f instanceof Uint16Array||f instanceof Int32Array||f instanceof Uint32Array||f instanceof Float32Array||f instanceof Float64Array)&&(f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength)),f instanceof Uint8Array){for(var c=f.byteLength,d=[],y=0;y<c;y++)d[y>>>2]|=f[y]<<24-y%4*8;s.call(this,d,c)}else s.apply(this,arguments)};l.prototype=i}}(),t.lib.WordArray})}(Sn)),Sn.exports}var Cn={exports:{}},Wa;function zl(){return Wa||(Wa=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.enc;s.Utf16=s.Utf16BE={stringify:function(f){for(var c=f.words,d=f.sigBytes,y=[],h=0;h<d;h+=2){var u=c[h>>>2]>>>16-h%4*8&65535;y.push(String.fromCharCode(u))}return y.join("")},parse:function(f){for(var c=f.length,d=[],y=0;y<c;y++)d[y>>>1]|=f.charCodeAt(y)<<16-y%2*16;return i.create(d,c*2)}},s.Utf16LE={stringify:function(f){for(var c=f.words,d=f.sigBytes,y=[],h=0;h<d;h+=2){var u=l(c[h>>>2]>>>16-h%4*8&65535);y.push(String.fromCharCode(u))}return y.join("")},parse:function(f){for(var c=f.length,d=[],y=0;y<c;y++)d[y>>>1]|=l(f.charCodeAt(y)<<16-y%2*16);return i.create(d,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),t.enc.Utf16})}(Cn)),Cn.exports}var An={exports:{}},$a;function bt(){return $a||($a=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.enc;s.Base64={stringify:function(f){var c=f.words,d=f.sigBytes,y=this._map;f.clamp();for(var h=[],u=0;u<d;u+=3)for(var m=c[u>>>2]>>>24-u%4*8&255,g=c[u+1>>>2]>>>24-(u+1)%4*8&255,S=c[u+2>>>2]>>>24-(u+2)%4*8&255,E=m<<16|g<<8|S,x=0;x<4&&u+x*.75<d;x++)h.push(y.charAt(E>>>6*(3-x)&63));var v=y.charAt(64);if(v)for(;h.length%4;)h.push(v);return h.join("")},parse:function(f){var c=f.length,d=this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var h=0;h<d.length;h++)y[d.charCodeAt(h)]=h}var u=d.charAt(64);if(u){var m=f.indexOf(u);m!==-1&&(c=m)}return l(f,c,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(f,c,d){for(var y=[],h=0,u=0;u<c;u++)if(u%4){var m=d[f.charCodeAt(u-1)]<<u%4*2,g=d[f.charCodeAt(u)]>>>6-u%4*2,S=m|g;y[h>>>2]|=S<<24-h%4*8,h++}return i.create(y,h)}}(),t.enc.Base64})}(An)),An.exports}var kn={exports:{}},Za;function Pl(){return Za||(Za=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.enc;s.Base64url={stringify:function(f,c=!0){var d=f.words,y=f.sigBytes,h=c?this._safe_map:this._map;f.clamp();for(var u=[],m=0;m<y;m+=3)for(var g=d[m>>>2]>>>24-m%4*8&255,S=d[m+1>>>2]>>>24-(m+1)%4*8&255,E=d[m+2>>>2]>>>24-(m+2)%4*8&255,x=g<<16|S<<8|E,v=0;v<4&&m+v*.75<y;v++)u.push(h.charAt(x>>>6*(3-v)&63));var p=h.charAt(64);if(p)for(;u.length%4;)u.push(p);return u.join("")},parse:function(f,c=!0){var d=f.length,y=c?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var u=0;u<y.length;u++)h[y.charCodeAt(u)]=u}var m=y.charAt(64);if(m){var g=f.indexOf(m);g!==-1&&(d=g)}return l(f,d,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function l(f,c,d){for(var y=[],h=0,u=0;u<c;u++)if(u%4){var m=d[f.charCodeAt(u-1)]<<u%4*2,g=d[f.charCodeAt(u)]>>>6-u%4*2,S=m|g;y[h>>>2]|=S<<24-h%4*8,h++}return i.create(y,h)}}(),t.enc.Base64url})}(kn)),kn.exports}var En={exports:{}},Ya;function wt(){return Ya||(Ya=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.algo,c=[];(function(){for(var g=0;g<64;g++)c[g]=o.abs(o.sin(g+1))*4294967296|0})();var d=f.MD5=l.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,S){for(var E=0;E<16;E++){var x=S+E,v=g[x];g[x]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var p=this._hash.words,C=g[S+0],w=g[S+1],b=g[S+2],T=g[S+3],B=g[S+4],A=g[S+5],k=g[S+6],I=g[S+7],D=g[S+8],P=g[S+9],H=g[S+10],O=g[S+11],V=g[S+12],_=g[S+13],L=g[S+14],z=g[S+15],R=p[0],N=p[1],M=p[2],F=p[3];R=y(R,N,M,F,C,7,c[0]),F=y(F,R,N,M,w,12,c[1]),M=y(M,F,R,N,b,17,c[2]),N=y(N,M,F,R,T,22,c[3]),R=y(R,N,M,F,B,7,c[4]),F=y(F,R,N,M,A,12,c[5]),M=y(M,F,R,N,k,17,c[6]),N=y(N,M,F,R,I,22,c[7]),R=y(R,N,M,F,D,7,c[8]),F=y(F,R,N,M,P,12,c[9]),M=y(M,F,R,N,H,17,c[10]),N=y(N,M,F,R,O,22,c[11]),R=y(R,N,M,F,V,7,c[12]),F=y(F,R,N,M,_,12,c[13]),M=y(M,F,R,N,L,17,c[14]),N=y(N,M,F,R,z,22,c[15]),R=h(R,N,M,F,w,5,c[16]),F=h(F,R,N,M,k,9,c[17]),M=h(M,F,R,N,O,14,c[18]),N=h(N,M,F,R,C,20,c[19]),R=h(R,N,M,F,A,5,c[20]),F=h(F,R,N,M,H,9,c[21]),M=h(M,F,R,N,z,14,c[22]),N=h(N,M,F,R,B,20,c[23]),R=h(R,N,M,F,P,5,c[24]),F=h(F,R,N,M,L,9,c[25]),M=h(M,F,R,N,T,14,c[26]),N=h(N,M,F,R,D,20,c[27]),R=h(R,N,M,F,_,5,c[28]),F=h(F,R,N,M,b,9,c[29]),M=h(M,F,R,N,I,14,c[30]),N=h(N,M,F,R,V,20,c[31]),R=u(R,N,M,F,A,4,c[32]),F=u(F,R,N,M,D,11,c[33]),M=u(M,F,R,N,O,16,c[34]),N=u(N,M,F,R,L,23,c[35]),R=u(R,N,M,F,w,4,c[36]),F=u(F,R,N,M,B,11,c[37]),M=u(M,F,R,N,I,16,c[38]),N=u(N,M,F,R,H,23,c[39]),R=u(R,N,M,F,_,4,c[40]),F=u(F,R,N,M,C,11,c[41]),M=u(M,F,R,N,T,16,c[42]),N=u(N,M,F,R,k,23,c[43]),R=u(R,N,M,F,P,4,c[44]),F=u(F,R,N,M,V,11,c[45]),M=u(M,F,R,N,z,16,c[46]),N=u(N,M,F,R,b,23,c[47]),R=m(R,N,M,F,C,6,c[48]),F=m(F,R,N,M,I,10,c[49]),M=m(M,F,R,N,L,15,c[50]),N=m(N,M,F,R,A,21,c[51]),R=m(R,N,M,F,V,6,c[52]),F=m(F,R,N,M,T,10,c[53]),M=m(M,F,R,N,H,15,c[54]),N=m(N,M,F,R,w,21,c[55]),R=m(R,N,M,F,D,6,c[56]),F=m(F,R,N,M,z,10,c[57]),M=m(M,F,R,N,k,15,c[58]),N=m(N,M,F,R,_,21,c[59]),R=m(R,N,M,F,B,6,c[60]),F=m(F,R,N,M,O,10,c[61]),M=m(M,F,R,N,b,15,c[62]),N=m(N,M,F,R,P,21,c[63]),p[0]=p[0]+R|0,p[1]=p[1]+N|0,p[2]=p[2]+M|0,p[3]=p[3]+F|0},_doFinalize:function(){var g=this._data,S=g.words,E=this._nDataBytes*8,x=g.sigBytes*8;S[x>>>5]|=128<<24-x%32;var v=o.floor(E/4294967296),p=E;S[(x+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,S[(x+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,g.sigBytes=(S.length+1)*4,this._process();for(var C=this._hash,w=C.words,b=0;b<4;b++){var T=w[b];w[b]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360}return C},clone:function(){var g=l.clone.call(this);return g._hash=this._hash.clone(),g}});function y(g,S,E,x,v,p,C){var w=g+(S&E|~S&x)+v+C;return(w<<p|w>>>32-p)+S}function h(g,S,E,x,v,p,C){var w=g+(S&x|E&~x)+v+C;return(w<<p|w>>>32-p)+S}function u(g,S,E,x,v,p,C){var w=g+(S^E^x)+v+C;return(w<<p|w>>>32-p)+S}function m(g,S,E,x,v,p,C){var w=g+(E^(S|~x))+v+C;return(w<<p|w>>>32-p)+S}r.MD5=l._createHelper(d),r.HmacMD5=l._createHmacHelper(d)}(Math),t.MD5})}(En)),En.exports}var Tn={exports:{}},Ka;function Bn(){return Ka||(Ka=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=r.Hasher,l=o.algo,f=[],c=l.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,y){for(var h=this._hash.words,u=h[0],m=h[1],g=h[2],S=h[3],E=h[4],x=0;x<80;x++){if(x<16)f[x]=d[y+x]|0;else{var v=f[x-3]^f[x-8]^f[x-14]^f[x-16];f[x]=v<<1|v>>>31}var p=(u<<5|u>>>27)+E+f[x];x<20?p+=(m&g|~m&S)+1518500249:x<40?p+=(m^g^S)+1859775393:x<60?p+=(m&g|m&S|g&S)-1894007588:p+=(m^g^S)-899497514,E=S,S=g,g=m<<30|m>>>2,m=u,u=p}h[0]=h[0]+u|0,h[1]=h[1]+m|0,h[2]=h[2]+g|0,h[3]=h[3]+S|0,h[4]=h[4]+E|0},_doFinalize:function(){var d=this._data,y=d.words,h=this._nDataBytes*8,u=d.sigBytes*8;return y[u>>>5]|=128<<24-u%32,y[(u+64>>>9<<4)+14]=Math.floor(h/4294967296),y[(u+64>>>9<<4)+15]=h,d.sigBytes=y.length*4,this._process(),this._hash},clone:function(){var d=s.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA1=s._createHelper(c),o.HmacSHA1=s._createHmacHelper(c)}(),t.SHA1})}(Tn)),Tn.exports}var _n={exports:{}},Xa;function Qa(){return Xa||(Xa=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.algo,c=[],d=[];(function(){function u(E){for(var x=o.sqrt(E),v=2;v<=x;v++)if(!(E%v))return!1;return!0}function m(E){return(E-(E|0))*4294967296|0}for(var g=2,S=0;S<64;)u(g)&&(S<8&&(c[S]=m(o.pow(g,1/2))),d[S]=m(o.pow(g,1/3)),S++),g++})();var y=[],h=f.SHA256=l.extend({_doReset:function(){this._hash=new s.init(c.slice(0))},_doProcessBlock:function(u,m){for(var g=this._hash.words,S=g[0],E=g[1],x=g[2],v=g[3],p=g[4],C=g[5],w=g[6],b=g[7],T=0;T<64;T++){if(T<16)y[T]=u[m+T]|0;else{var B=y[T-15],A=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,k=y[T-2],I=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;y[T]=A+y[T-7]+I+y[T-16]}var D=p&C^~p&w,P=S&E^S&x^E&x,H=(S<<30|S>>>2)^(S<<19|S>>>13)^(S<<10|S>>>22),O=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),V=b+O+D+d[T]+y[T],_=H+P;b=w,w=C,C=p,p=v+V|0,v=x,x=E,E=S,S=V+_|0}g[0]=g[0]+S|0,g[1]=g[1]+E|0,g[2]=g[2]+x|0,g[3]=g[3]+v|0,g[4]=g[4]+p|0,g[5]=g[5]+C|0,g[6]=g[6]+w|0,g[7]=g[7]+b|0},_doFinalize:function(){var u=this._data,m=u.words,g=this._nDataBytes*8,S=u.sigBytes*8;return m[S>>>5]|=128<<24-S%32,m[(S+64>>>9<<4)+14]=o.floor(g/4294967296),m[(S+64>>>9<<4)+15]=g,u.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var u=l.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA256=l._createHelper(h),r.HmacSHA256=l._createHmacHelper(h)}(Math),t.SHA256})}(_n)),_n.exports}var Dn={exports:{}},Ja;function Fl(){return Ja||(Ja=1,function(e,n){(function(t,o,r){e.exports=o(le(),Qa())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.algo,l=s.SHA256,f=s.SHA224=l.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});o.SHA224=l._createHelper(f),o.HmacSHA224=l._createHmacHelper(f)}(),t.SHA224})}(Dn)),Dn.exports}var Rn={exports:{}},er;function tr(){return er||(er=1,function(e,n){(function(t,o,r){e.exports=o(le(),Gt())})(te,function(t){return function(){var o=t,r=o.lib,i=r.Hasher,s=o.x64,l=s.Word,f=s.WordArray,c=o.algo;function d(){return l.create.apply(l,arguments)}var y=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],h=[];(function(){for(var m=0;m<80;m++)h[m]=d()})();var u=c.SHA512=i.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(m,g){for(var S=this._hash.words,E=S[0],x=S[1],v=S[2],p=S[3],C=S[4],w=S[5],b=S[6],T=S[7],B=E.high,A=E.low,k=x.high,I=x.low,D=v.high,P=v.low,H=p.high,O=p.low,V=C.high,_=C.low,L=w.high,z=w.low,R=b.high,N=b.low,M=T.high,F=T.low,W=B,Y=A,Q=k,Z=I,ne=D,ce=P,De=H,Ee=O,me=V,ve=_,Ge=L,Me=z,Ne=R,et=N,tt=M,G=F,U=0;U<80;U++){var $,K,X=h[U];if(U<16)K=X.high=m[g+U*2]|0,$=X.low=m[g+U*2+1]|0;else{var ae=h[U-15],J=ae.high,ie=ae.low,xe=(J>>>1|ie<<31)^(J>>>8|ie<<24)^J>>>7,ye=(ie>>>1|J<<31)^(ie>>>8|J<<24)^(ie>>>7|J<<25),ze=h[U-2],Re=ze.high,Te=ze.low,zt=(Re>>>19|Te<<13)^(Re<<3|Te>>>29)^Re>>>6,Pt=(Te>>>19|Re<<13)^(Te<<3|Re>>>29)^(Te>>>6|Re<<26),nn=h[U-7],Uf=nn.high,Wf=nn.low,t0=h[U-16],$f=t0.high,n0=t0.low;$=ye+Wf,K=xe+Uf+($>>>0<ye>>>0?1:0),$=$+Pt,K=K+zt+($>>>0<Pt>>>0?1:0),$=$+n0,K=K+$f+($>>>0<n0>>>0?1:0),X.high=K,X.low=$}var Zf=me&Ge^~me&Ne,o0=ve&Me^~ve&et,Yf=W&Q^W&ne^Q&ne,Kf=Y&Z^Y&ce^Z&ce,Xf=(W>>>28|Y<<4)^(W<<30|Y>>>2)^(W<<25|Y>>>7),a0=(Y>>>28|W<<4)^(Y<<30|W>>>2)^(Y<<25|W>>>7),Qf=(me>>>14|ve<<18)^(me>>>18|ve<<14)^(me<<23|ve>>>9),Jf=(ve>>>14|me<<18)^(ve>>>18|me<<14)^(ve<<23|me>>>9),r0=y[U],ed=r0.high,i0=r0.low,qe=G+Jf,ft=tt+Qf+(qe>>>0<G>>>0?1:0),qe=qe+o0,ft=ft+Zf+(qe>>>0<o0>>>0?1:0),qe=qe+i0,ft=ft+ed+(qe>>>0<i0>>>0?1:0),qe=qe+$,ft=ft+K+(qe>>>0<$>>>0?1:0),l0=a0+Kf,td=Xf+Yf+(l0>>>0<a0>>>0?1:0);tt=Ne,G=et,Ne=Ge,et=Me,Ge=me,Me=ve,ve=Ee+qe|0,me=De+ft+(ve>>>0<Ee>>>0?1:0)|0,De=ne,Ee=ce,ne=Q,ce=Z,Q=W,Z=Y,Y=qe+l0|0,W=ft+td+(Y>>>0<qe>>>0?1:0)|0}A=E.low=A+Y,E.high=B+W+(A>>>0<Y>>>0?1:0),I=x.low=I+Z,x.high=k+Q+(I>>>0<Z>>>0?1:0),P=v.low=P+ce,v.high=D+ne+(P>>>0<ce>>>0?1:0),O=p.low=O+Ee,p.high=H+De+(O>>>0<Ee>>>0?1:0),_=C.low=_+ve,C.high=V+me+(_>>>0<ve>>>0?1:0),z=w.low=z+Me,w.high=L+Ge+(z>>>0<Me>>>0?1:0),N=b.low=N+et,b.high=R+Ne+(N>>>0<et>>>0?1:0),F=T.low=F+G,T.high=M+tt+(F>>>0<G>>>0?1:0)},_doFinalize:function(){var m=this._data,g=m.words,S=this._nDataBytes*8,E=m.sigBytes*8;g[E>>>5]|=128<<24-E%32,g[(E+128>>>10<<5)+30]=Math.floor(S/4294967296),g[(E+128>>>10<<5)+31]=S,m.sigBytes=g.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var m=i.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:1024/32});o.SHA512=i._createHelper(u),o.HmacSHA512=i._createHmacHelper(u)}(),t.SHA512})}(Rn)),Rn.exports}var In={exports:{}},nr;function Hl(){return nr||(nr=1,function(e,n){(function(t,o,r){e.exports=o(le(),Gt(),tr())})(te,function(t){return function(){var o=t,r=o.x64,i=r.Word,s=r.WordArray,l=o.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var d=f._doFinalize.call(this);return d.sigBytes-=16,d}});o.SHA384=f._createHelper(c),o.HmacSHA384=f._createHmacHelper(c)}(),t.SHA384})}(In)),In.exports}var On={exports:{}},or;function ql(){return or||(or=1,function(e,n){(function(t,o,r){e.exports=o(le(),Gt())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.x64,c=f.Word,d=r.algo,y=[],h=[],u=[];(function(){for(var S=1,E=0,x=0;x<24;x++){y[S+5*E]=(x+1)*(x+2)/2%64;var v=E%5,p=(2*S+3*E)%5;S=v,E=p}for(var S=0;S<5;S++)for(var E=0;E<5;E++)h[S+5*E]=E+(2*S+3*E)%5*5;for(var C=1,w=0;w<24;w++){for(var b=0,T=0,B=0;B<7;B++){if(C&1){var A=(1<<B)-1;A<32?T^=1<<A:b^=1<<A-32}C&128?C=C<<1^113:C<<=1}u[w]=c.create(b,T)}})();var m=[];(function(){for(var S=0;S<25;S++)m[S]=c.create()})();var g=d.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var S=this._state=[],E=0;E<25;E++)S[E]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(S,E){for(var x=this._state,v=this.blockSize/2,p=0;p<v;p++){var C=S[E+2*p],w=S[E+2*p+1];C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,w=(w<<8|w>>>24)&16711935|(w<<24|w>>>8)&4278255360;var b=x[p];b.high^=w,b.low^=C}for(var T=0;T<24;T++){for(var B=0;B<5;B++){for(var A=0,k=0,I=0;I<5;I++){var b=x[B+5*I];A^=b.high,k^=b.low}var D=m[B];D.high=A,D.low=k}for(var B=0;B<5;B++)for(var P=m[(B+4)%5],H=m[(B+1)%5],O=H.high,V=H.low,A=P.high^(O<<1|V>>>31),k=P.low^(V<<1|O>>>31),I=0;I<5;I++){var b=x[B+5*I];b.high^=A,b.low^=k}for(var _=1;_<25;_++){var A,k,b=x[_],L=b.high,z=b.low,R=y[_];R<32?(A=L<<R|z>>>32-R,k=z<<R|L>>>32-R):(A=z<<R-32|L>>>64-R,k=L<<R-32|z>>>64-R);var N=m[h[_]];N.high=A,N.low=k}var M=m[0],F=x[0];M.high=F.high,M.low=F.low;for(var B=0;B<5;B++)for(var I=0;I<5;I++){var _=B+5*I,b=x[_],W=m[_],Y=m[(B+1)%5+5*I],Q=m[(B+2)%5+5*I];b.high=W.high^~Y.high&Q.high,b.low=W.low^~Y.low&Q.low}var b=x[0],Z=u[T];b.high^=Z.high,b.low^=Z.low}},_doFinalize:function(){var S=this._data,E=S.words;this._nDataBytes*8;var x=S.sigBytes*8,v=this.blockSize*32;E[x>>>5]|=1<<24-x%32,E[(o.ceil((x+1)/v)*v>>>5)-1]|=128,S.sigBytes=E.length*4,this._process();for(var p=this._state,C=this.cfg.outputLength/8,w=C/8,b=[],T=0;T<w;T++){var B=p[T],A=B.high,k=B.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,b.push(k),b.push(A)}return new s.init(b,C)},clone:function(){for(var S=l.clone.call(this),E=S._state=this._state.slice(0),x=0;x<25;x++)E[x]=E[x].clone();return S}});r.SHA3=l._createHelper(g),r.HmacSHA3=l._createHmacHelper(g)}(Math),t.SHA3})}(On)),On.exports}var Ln={exports:{}},ar;function Vl(){return ar||(ar=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){/** @preserve
56
+ `,Da=!1,ol=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:nl;a.nextTick(function(){Da||(typeof window<"u"&&window.document&&window.document.documentElement&&Q0(n,{prepend:!0}),Da=!0)})},al=["icon","primaryColor","secondaryColor"];function rl(e,n){if(e==null)return{};var t=il(e,n),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function il(e,n){if(e==null)return{};var t={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&(t[r]=e[r]);return t}function Vt(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){ll(e,r,t[r])})}return e}function ll(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var Lt={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function sl(e){var n=e.primaryColor,t=e.secondaryColor;Lt.primaryColor=n,Lt.secondaryColor=t||Ba(n),Lt.calculated=!!t}function cl(){return Vt({},Lt)}var xt=function(n,t){var o=Vt({},n,t.attrs),r=o.icon,i=o.primaryColor,s=o.secondaryColor,l=rl(o,al),f=Lt;if(i&&(f={primaryColor:i,secondaryColor:s||Ba(i)}),ol(),tl(Ea(r),"icon should be icon definiton, but got ".concat(r)),!Ea(r))return null;var c=r;return c&&typeof c.icon=="function"&&(c=Vt({},c,{icon:c.icon(f.primaryColor,f.secondaryColor)})),un(c.icon,"svg-".concat(c.name),Vt({},l,{"data-icon":c.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"}))};xt.props={icon:Object,primaryColor:String,secondaryColor:String,focusable:String},xt.inheritAttrs=!1,xt.displayName="IconBase",xt.getTwoToneColors=cl,xt.setTwoToneColors=sl;const hn=xt;function fl(e,n){return gl(e)||hl(e,n)||ul(e,n)||dl()}function dl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
57
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function ul(e,n){if(e){if(typeof e=="string")return Ra(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Ra(e,n)}}function Ra(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function hl(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],r=!0,i=!1,s,l;try{for(t=t.call(e);!(r=(s=t.next()).done)&&(o.push(s.value),!(n&&o.length===n));r=!0);}catch(f){i=!0,l=f}finally{try{!r&&t.return!=null&&t.return()}finally{if(i)throw l}}return o}}function gl(e){if(Array.isArray(e))return e}function Ia(e){var n=_a(e),t=fl(n,2),o=t[0],r=t[1];return hn.setTwoToneColors({primaryColor:o,secondaryColor:r})}function ml(){var e=hn.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var xl=["class","icon","spin","rotate","tabindex","twoToneColor","onClick"];function yl(e,n){return Sl(e)||bl(e,n)||vl(e,n)||pl()}function pl(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
58
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function vl(e,n){if(e){if(typeof e=="string")return Oa(e,n);var t=Object.prototype.toString.call(e).slice(8,-1);if(t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set")return Array.from(e);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Oa(e,n)}}function Oa(e,n){(n==null||n>e.length)&&(n=e.length);for(var t=0,o=new Array(n);t<n;t++)o[t]=e[t];return o}function bl(e,n){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var o=[],r=!0,i=!1,s,l;try{for(t=t.call(e);!(r=(s=t.next()).done)&&(o.push(s.value),!(n&&o.length===n));r=!0);}catch(f){i=!0,l=f}finally{try{!r&&t.return!=null&&t.return()}finally{if(i)throw l}}return o}}function Sl(e){if(Array.isArray(e))return e}function La(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){gn(e,r,t[r])})}return e}function gn(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}function wl(e,n){if(e==null)return{};var t=Cl(e,n),o,r;if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)o=i[r],!(n.indexOf(o)>=0)&&Object.prototype.propertyIsEnumerable.call(e,o)&&(t[o]=e[o])}return t}function Cl(e,n){if(e==null)return{};var t={},o=Object.keys(e),r,i;for(i=0;i<o.length;i++)r=o[i],!(n.indexOf(r)>=0)&&(t[r]=e[r]);return t}Ia("#1890ff");var yt=function(n,t){var o,r=La({},n,t.attrs),i=r.class,s=r.icon,l=r.spin,f=r.rotate,c=r.tabindex,d=r.twoToneColor,y=r.onClick,h=wl(r,xl),u=(o={anticon:!0},gn(o,"anticon-".concat(s.name),!!s.name),gn(o,i,i),o),m=l===""||l||s.name==="loading"?"anticon-spin":"",g=c;g===void 0&&y&&(g=-1,h.tabindex=g);var w=f?{msTransform:"rotate(".concat(f,"deg)"),transform:"rotate(".concat(f,"deg)")}:void 0,T=_a(d),x=yl(T,2),v=x[0],p=x[1];return a.createVNode("span",La({role:"img","aria-label":s.name},h,{onClick:y,class:u}),[a.createVNode(hn,{class:m,icon:s,primaryColor:v,secondaryColor:p,style:w},null)])};yt.props={spin:Boolean,rotate:Number,icon:Object,twoToneColor:String},yt.displayName="AntdIcon",yt.inheritAttrs=!1,yt.getTwoToneColor=ml,yt.setTwoToneColor=Ia;const Na=yt;var Al={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"};const kl=Al;function za(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){Tl(e,r,t[r])})}return e}function Tl(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var mn=function(n,t){var o=za({},n,t.attrs);return a.createVNode(Na,za({},o,{icon:kl}),null)};mn.displayName="CloseOutlined",mn.inheritAttrs=!1;const El=mn;var Bl={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"};const _l=Bl;function Ma(e){for(var n=1;n<arguments.length;n++){var t=arguments[n]!=null?Object(arguments[n]):{},o=Object.keys(t);typeof Object.getOwnPropertySymbols=="function"&&(o=o.concat(Object.getOwnPropertySymbols(t).filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable}))),o.forEach(function(r){Dl(e,r,t[r])})}return e}function Dl(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}var xn=function(n,t){var o=Ma({},n,t.attrs);return a.createVNode(Na,Ma({},o,{icon:_l}),null)};xn.displayName="LoadingOutlined",xn.inheritAttrs=!1;const Rl=xn,Il=a.defineComponent({props:{spinning:{type:Boolean,default:!1}},components:{ASpin:oe.Spin},setup(){return{indicator:a.h(Rl,{style:{fontSize:"24px",color:"#1890ff"},spin:!0})}}}),vd="",se=(e,n)=>{const t=e.__vccOpts||e;for(const[o,r]of n)t[o]=r;return t},Ol={class:"spin-wrapper"};function Ll(e,n,t,o,r,i){const s=a.resolveComponent("a-spin");return a.openBlock(),a.createElementBlock("div",Ol,[e.spinning?(a.openBlock(),a.createBlock(s,{key:0,class:"spin",spinning:e.spinning,indicator:e.indicator,tip:"加载中..."},null,8,["spinning","indicator"])):a.renderSlot(e.$slots,"default",{key:1})])}const pt=se(Il,[["render",Ll]]),Nl=a.defineComponent({name:"Skeleton",props:{loading:{type:Boolean,default:!1}},components:{ASkeleton:oe.Skeleton}});function zl(e,n,t,o,r,i){const s=a.resolveComponent("a-skeleton");return a.openBlock(),a.createBlock(s,{active:"",loading:e.loading},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["loading"])}const jt=se(Nl,[["render",zl]]);process.env.NODE_ENV!=="production"&&Object.freeze({}),process.env.NODE_ENV!=="production"&&Object.freeze([]);const fe=(e,n)=>{if(e.install=t=>{for(const o of[e,...Object.values(n??{})])t.component(o.name,o)},n)for(const[t,o]of Object.entries(n))e[t]=o;return e},ge={id:"",name:"",keyName:"",type:"",width:"100px",height:"40px",position:"absolute",top:"0px",left:"0px",zIndex:1,rotate:"0deg",isShow:!0,isRender:!0,requestUrl:"",requestMethod:"get",requestHeaders:{},isOpenRequestTimer:!1,requestInterval:1,requestSort:0,requestParams:[{key:null,value:{}}],events:[],dataType:"static"},de=e=>{const n={};if(typeof e=="object"&&e!=null)for(const t in e){const o=e[t];n[t]={type:o==null?void 0:o.constructor,default:o}}return n},yn={width:"1920px",height:"1080px",backgroundColor:"#ffffff",backgroundImage:"",backgroundSize:"100% 100%",contextRequestUrl:"",mode:"normal"},pn=de(yn),Ml=["width","height","color","position","top","left","rotate","fontSize","fontFamily","fontWeight","textDecoration","textAlign","lineHeight","verticalAlign","overflow","backgroundColor","backgroundImage","backgroundSize","borderWidth","borderStyle","borderRadius","borderColor","textShadow","justifyContent","alignItems","zIndex"],ue=(e,n=[])=>{const t=Ye.without(Ml,...n);return a.computed(()=>Ye.pick(e,t))},vn="EVENT_BUS",Ie="GLOBAL_CONFIG",we="GLOBAL_MODEL",Be="REQUEST_MODEL",Pa="GLOBAL_TOKEN",Nt="REFRESH_PAGE",Fa="MODAL_MODEL",We=18,Ha="ygt",qa=(o0=window==null?void 0:window.config)==null?void 0:o0.indicatorURL;(a0=window==null?void 0:window.config)!=null&&a0.uploadPath;const Va=((r0=window==null?void 0:window.config)==null?void 0:r0.routerBaseURL)||"./",Pl=((i0=window==null?void 0:window.config)==null?void 0:i0.erdURL)||"",ke=(e,n)=>{a.watch(()=>e.id,t=>{const o=a.inject(vn,{onEvent:(r,i)=>{}});t!=null&&t!==""&&o.onEvent(t,n)},{immediate:!0})},pe=e=>{const n=e.events,t=e.id,o=a.inject(vn,{emitEvent:(i,s)=>{}}),{touchEventId:r}=a.inject(Ie,{touchEventId:a.ref("")});return(i,s=()=>{})=>function(){s.call(this,...arguments);const{emitEvent:l}=o;n.forEach(f=>{if(i===f.on)try{r.value=t,l(f.target,f.emit)}catch(c){console.error(c)}})}},vt=(e,n)=>{let{name:t="name",value:o="value",type:r="type"}=n||{};t=t==null?void 0:t.trim(),o=o==null?void 0:o.trim(),r=r==null?void 0:r.trim();const i=new Map,s=e.length;for(let c=0;c<s;c++){const d=e[c],y=d[t]||"",h=d[o]||"",u=d[r]||"";if(i.has(u)){const m=i.get(u);m.push({name:y,value:h,...d}),i.set(u,m)}else i.set(u,[{name:y,value:h,...d}])}const l=[],f=[];for(const[c,d]of i)if(f.push({name:c,data:d}),d!=null&&d.length)if(l.length)for(const y of d)l.includes(y.name)||l.push(y.name);else l.push(...d.map(y=>y.name));return{dimensions:l,dataset:f}};var te=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function ja(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Fl(e){if(e.__esModule)return e;var n=e.default;if(typeof n=="function"){var t=function o(){return this instanceof o?Reflect.construct(n,arguments,this.constructor):n.apply(this,arguments)};t.prototype=n.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(o){var r=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,r.get?r:{enumerable:!0,get:function(){return e[o]}})}),t}var Ga={exports:{}};function Hl(e){throw new Error('Could not dynamically require "'+e+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var bn={exports:{}};const ql=Fl(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Ua;function le(){return Ua||(Ua=1,function(e,n){(function(t,o){e.exports=o()})(te,function(){var t=t||function(o,r){var i;if(typeof window<"u"&&window.crypto&&(i=window.crypto),typeof self<"u"&&self.crypto&&(i=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(i=globalThis.crypto),!i&&typeof window<"u"&&window.msCrypto&&(i=window.msCrypto),!i&&typeof te<"u"&&te.crypto&&(i=te.crypto),!i&&typeof Hl=="function")try{i=ql}catch{}var s=function(){if(i){if(typeof i.getRandomValues=="function")try{return i.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof i.randomBytes=="function")try{return i.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function x(){}return function(v){var p;return x.prototype=v,p=new x,x.prototype=null,p}}(),f={},c=f.lib={},d=c.Base=function(){return{extend:function(x){var v=l(this);return x&&v.mixIn(x),(!v.hasOwnProperty("init")||this.init===v.init)&&(v.init=function(){v.$super.init.apply(this,arguments)}),v.init.prototype=v,v.$super=this,v},create:function(){var x=this.extend();return x.init.apply(x,arguments),x},init:function(){},mixIn:function(x){for(var v in x)x.hasOwnProperty(v)&&(this[v]=x[v]);x.hasOwnProperty("toString")&&(this.toString=x.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),y=c.WordArray=d.extend({init:function(x,v){x=this.words=x||[],v!=r?this.sigBytes=v:this.sigBytes=x.length*4},toString:function(x){return(x||u).stringify(this)},concat:function(x){var v=this.words,p=x.words,C=this.sigBytes,S=x.sigBytes;if(this.clamp(),C%4)for(var b=0;b<S;b++){var E=p[b>>>2]>>>24-b%4*8&255;v[C+b>>>2]|=E<<24-(C+b)%4*8}else for(var B=0;B<S;B+=4)v[C+B>>>2]=p[B>>>2];return this.sigBytes+=S,this},clamp:function(){var x=this.words,v=this.sigBytes;x[v>>>2]&=4294967295<<32-v%4*8,x.length=o.ceil(v/4)},clone:function(){var x=d.clone.call(this);return x.words=this.words.slice(0),x},random:function(x){for(var v=[],p=0;p<x;p+=4)v.push(s());return new y.init(v,x)}}),h=f.enc={},u=h.Hex={stringify:function(x){for(var v=x.words,p=x.sigBytes,C=[],S=0;S<p;S++){var b=v[S>>>2]>>>24-S%4*8&255;C.push((b>>>4).toString(16)),C.push((b&15).toString(16))}return C.join("")},parse:function(x){for(var v=x.length,p=[],C=0;C<v;C+=2)p[C>>>3]|=parseInt(x.substr(C,2),16)<<24-C%8*4;return new y.init(p,v/2)}},m=h.Latin1={stringify:function(x){for(var v=x.words,p=x.sigBytes,C=[],S=0;S<p;S++){var b=v[S>>>2]>>>24-S%4*8&255;C.push(String.fromCharCode(b))}return C.join("")},parse:function(x){for(var v=x.length,p=[],C=0;C<v;C++)p[C>>>2]|=(x.charCodeAt(C)&255)<<24-C%4*8;return new y.init(p,v)}},g=h.Utf8={stringify:function(x){try{return decodeURIComponent(escape(m.stringify(x)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(x){return m.parse(unescape(encodeURIComponent(x)))}},w=c.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new y.init,this._nDataBytes=0},_append:function(x){typeof x=="string"&&(x=g.parse(x)),this._data.concat(x),this._nDataBytes+=x.sigBytes},_process:function(x){var v,p=this._data,C=p.words,S=p.sigBytes,b=this.blockSize,E=b*4,B=S/E;x?B=o.ceil(B):B=o.max((B|0)-this._minBufferSize,0);var A=B*b,k=o.min(A*4,S);if(A){for(var I=0;I<A;I+=b)this._doProcessBlock(C,I);v=C.splice(0,A),p.sigBytes-=k}return new y.init(v,k)},clone:function(){var x=d.clone.call(this);return x._data=this._data.clone(),x},_minBufferSize:0});c.Hasher=w.extend({cfg:d.extend(),init:function(x){this.cfg=this.cfg.extend(x),this.reset()},reset:function(){w.reset.call(this),this._doReset()},update:function(x){return this._append(x),this._process(),this},finalize:function(x){x&&this._append(x);var v=this._doFinalize();return v},blockSize:16,_createHelper:function(x){return function(v,p){return new x.init(p).finalize(v)}},_createHmacHelper:function(x){return function(v,p){return new T.HMAC.init(x,p).finalize(v)}}});var T=f.algo={};return f}(Math);return t})}(bn)),bn.exports}var Sn={exports:{}},Wa;function Gt(){return Wa||(Wa=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.Base,l=i.WordArray,f=r.x64={};f.Word=s.extend({init:function(c,d){this.high=c,this.low=d}}),f.WordArray=s.extend({init:function(c,d){c=this.words=c||[],d!=o?this.sigBytes=d:this.sigBytes=c.length*8},toX32:function(){for(var c=this.words,d=c.length,y=[],h=0;h<d;h++){var u=c[h];y.push(u.high),y.push(u.low)}return l.create(y,this.sigBytes)},clone:function(){for(var c=s.clone.call(this),d=c.words=this.words.slice(0),y=d.length,h=0;h<y;h++)d[h]=d[h].clone();return c}})}(),t})}(Sn)),Sn.exports}var wn={exports:{}},$a;function Vl(){return $a||($a=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){if(typeof ArrayBuffer=="function"){var o=t,r=o.lib,i=r.WordArray,s=i.init,l=i.init=function(f){if(f instanceof ArrayBuffer&&(f=new Uint8Array(f)),(f instanceof Int8Array||typeof Uint8ClampedArray<"u"&&f instanceof Uint8ClampedArray||f instanceof Int16Array||f instanceof Uint16Array||f instanceof Int32Array||f instanceof Uint32Array||f instanceof Float32Array||f instanceof Float64Array)&&(f=new Uint8Array(f.buffer,f.byteOffset,f.byteLength)),f instanceof Uint8Array){for(var c=f.byteLength,d=[],y=0;y<c;y++)d[y>>>2]|=f[y]<<24-y%4*8;s.call(this,d,c)}else s.apply(this,arguments)};l.prototype=i}}(),t.lib.WordArray})}(wn)),wn.exports}var Cn={exports:{}},Za;function jl(){return Za||(Za=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.enc;s.Utf16=s.Utf16BE={stringify:function(f){for(var c=f.words,d=f.sigBytes,y=[],h=0;h<d;h+=2){var u=c[h>>>2]>>>16-h%4*8&65535;y.push(String.fromCharCode(u))}return y.join("")},parse:function(f){for(var c=f.length,d=[],y=0;y<c;y++)d[y>>>1]|=f.charCodeAt(y)<<16-y%2*16;return i.create(d,c*2)}},s.Utf16LE={stringify:function(f){for(var c=f.words,d=f.sigBytes,y=[],h=0;h<d;h+=2){var u=l(c[h>>>2]>>>16-h%4*8&65535);y.push(String.fromCharCode(u))}return y.join("")},parse:function(f){for(var c=f.length,d=[],y=0;y<c;y++)d[y>>>1]|=l(f.charCodeAt(y)<<16-y%2*16);return i.create(d,c*2)}};function l(f){return f<<8&4278255360|f>>>8&16711935}}(),t.enc.Utf16})}(Cn)),Cn.exports}var An={exports:{}},Ya;function bt(){return Ya||(Ya=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.enc;s.Base64={stringify:function(f){var c=f.words,d=f.sigBytes,y=this._map;f.clamp();for(var h=[],u=0;u<d;u+=3)for(var m=c[u>>>2]>>>24-u%4*8&255,g=c[u+1>>>2]>>>24-(u+1)%4*8&255,w=c[u+2>>>2]>>>24-(u+2)%4*8&255,T=m<<16|g<<8|w,x=0;x<4&&u+x*.75<d;x++)h.push(y.charAt(T>>>6*(3-x)&63));var v=y.charAt(64);if(v)for(;h.length%4;)h.push(v);return h.join("")},parse:function(f){var c=f.length,d=this._map,y=this._reverseMap;if(!y){y=this._reverseMap=[];for(var h=0;h<d.length;h++)y[d.charCodeAt(h)]=h}var u=d.charAt(64);if(u){var m=f.indexOf(u);m!==-1&&(c=m)}return l(f,c,y)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function l(f,c,d){for(var y=[],h=0,u=0;u<c;u++)if(u%4){var m=d[f.charCodeAt(u-1)]<<u%4*2,g=d[f.charCodeAt(u)]>>>6-u%4*2,w=m|g;y[h>>>2]|=w<<24-h%4*8,h++}return i.create(y,h)}}(),t.enc.Base64})}(An)),An.exports}var kn={exports:{}},Ka;function Gl(){return Ka||(Ka=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.enc;s.Base64url={stringify:function(f,c=!0){var d=f.words,y=f.sigBytes,h=c?this._safe_map:this._map;f.clamp();for(var u=[],m=0;m<y;m+=3)for(var g=d[m>>>2]>>>24-m%4*8&255,w=d[m+1>>>2]>>>24-(m+1)%4*8&255,T=d[m+2>>>2]>>>24-(m+2)%4*8&255,x=g<<16|w<<8|T,v=0;v<4&&m+v*.75<y;v++)u.push(h.charAt(x>>>6*(3-v)&63));var p=h.charAt(64);if(p)for(;u.length%4;)u.push(p);return u.join("")},parse:function(f,c=!0){var d=f.length,y=c?this._safe_map:this._map,h=this._reverseMap;if(!h){h=this._reverseMap=[];for(var u=0;u<y.length;u++)h[y.charCodeAt(u)]=u}var m=y.charAt(64);if(m){var g=f.indexOf(m);g!==-1&&(d=g)}return l(f,d,h)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function l(f,c,d){for(var y=[],h=0,u=0;u<c;u++)if(u%4){var m=d[f.charCodeAt(u-1)]<<u%4*2,g=d[f.charCodeAt(u)]>>>6-u%4*2,w=m|g;y[h>>>2]|=w<<24-h%4*8,h++}return i.create(y,h)}}(),t.enc.Base64url})}(kn)),kn.exports}var Tn={exports:{}},Xa;function St(){return Xa||(Xa=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.algo,c=[];(function(){for(var g=0;g<64;g++)c[g]=o.abs(o.sin(g+1))*4294967296|0})();var d=f.MD5=l.extend({_doReset:function(){this._hash=new s.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(g,w){for(var T=0;T<16;T++){var x=w+T,v=g[x];g[x]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360}var p=this._hash.words,C=g[w+0],S=g[w+1],b=g[w+2],E=g[w+3],B=g[w+4],A=g[w+5],k=g[w+6],I=g[w+7],D=g[w+8],P=g[w+9],H=g[w+10],O=g[w+11],V=g[w+12],_=g[w+13],L=g[w+14],M=g[w+15],R=p[0],N=p[1],z=p[2],F=p[3];R=y(R,N,z,F,C,7,c[0]),F=y(F,R,N,z,S,12,c[1]),z=y(z,F,R,N,b,17,c[2]),N=y(N,z,F,R,E,22,c[3]),R=y(R,N,z,F,B,7,c[4]),F=y(F,R,N,z,A,12,c[5]),z=y(z,F,R,N,k,17,c[6]),N=y(N,z,F,R,I,22,c[7]),R=y(R,N,z,F,D,7,c[8]),F=y(F,R,N,z,P,12,c[9]),z=y(z,F,R,N,H,17,c[10]),N=y(N,z,F,R,O,22,c[11]),R=y(R,N,z,F,V,7,c[12]),F=y(F,R,N,z,_,12,c[13]),z=y(z,F,R,N,L,17,c[14]),N=y(N,z,F,R,M,22,c[15]),R=h(R,N,z,F,S,5,c[16]),F=h(F,R,N,z,k,9,c[17]),z=h(z,F,R,N,O,14,c[18]),N=h(N,z,F,R,C,20,c[19]),R=h(R,N,z,F,A,5,c[20]),F=h(F,R,N,z,H,9,c[21]),z=h(z,F,R,N,M,14,c[22]),N=h(N,z,F,R,B,20,c[23]),R=h(R,N,z,F,P,5,c[24]),F=h(F,R,N,z,L,9,c[25]),z=h(z,F,R,N,E,14,c[26]),N=h(N,z,F,R,D,20,c[27]),R=h(R,N,z,F,_,5,c[28]),F=h(F,R,N,z,b,9,c[29]),z=h(z,F,R,N,I,14,c[30]),N=h(N,z,F,R,V,20,c[31]),R=u(R,N,z,F,A,4,c[32]),F=u(F,R,N,z,D,11,c[33]),z=u(z,F,R,N,O,16,c[34]),N=u(N,z,F,R,L,23,c[35]),R=u(R,N,z,F,S,4,c[36]),F=u(F,R,N,z,B,11,c[37]),z=u(z,F,R,N,I,16,c[38]),N=u(N,z,F,R,H,23,c[39]),R=u(R,N,z,F,_,4,c[40]),F=u(F,R,N,z,C,11,c[41]),z=u(z,F,R,N,E,16,c[42]),N=u(N,z,F,R,k,23,c[43]),R=u(R,N,z,F,P,4,c[44]),F=u(F,R,N,z,V,11,c[45]),z=u(z,F,R,N,M,16,c[46]),N=u(N,z,F,R,b,23,c[47]),R=m(R,N,z,F,C,6,c[48]),F=m(F,R,N,z,I,10,c[49]),z=m(z,F,R,N,L,15,c[50]),N=m(N,z,F,R,A,21,c[51]),R=m(R,N,z,F,V,6,c[52]),F=m(F,R,N,z,E,10,c[53]),z=m(z,F,R,N,H,15,c[54]),N=m(N,z,F,R,S,21,c[55]),R=m(R,N,z,F,D,6,c[56]),F=m(F,R,N,z,M,10,c[57]),z=m(z,F,R,N,k,15,c[58]),N=m(N,z,F,R,_,21,c[59]),R=m(R,N,z,F,B,6,c[60]),F=m(F,R,N,z,O,10,c[61]),z=m(z,F,R,N,b,15,c[62]),N=m(N,z,F,R,P,21,c[63]),p[0]=p[0]+R|0,p[1]=p[1]+N|0,p[2]=p[2]+z|0,p[3]=p[3]+F|0},_doFinalize:function(){var g=this._data,w=g.words,T=this._nDataBytes*8,x=g.sigBytes*8;w[x>>>5]|=128<<24-x%32;var v=o.floor(T/4294967296),p=T;w[(x+64>>>9<<4)+15]=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,w[(x+64>>>9<<4)+14]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360,g.sigBytes=(w.length+1)*4,this._process();for(var C=this._hash,S=C.words,b=0;b<4;b++){var E=S[b];S[b]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360}return C},clone:function(){var g=l.clone.call(this);return g._hash=this._hash.clone(),g}});function y(g,w,T,x,v,p,C){var S=g+(w&T|~w&x)+v+C;return(S<<p|S>>>32-p)+w}function h(g,w,T,x,v,p,C){var S=g+(w&x|T&~x)+v+C;return(S<<p|S>>>32-p)+w}function u(g,w,T,x,v,p,C){var S=g+(w^T^x)+v+C;return(S<<p|S>>>32-p)+w}function m(g,w,T,x,v,p,C){var S=g+(T^(w|~x))+v+C;return(S<<p|S>>>32-p)+w}r.MD5=l._createHelper(d),r.HmacMD5=l._createHmacHelper(d)}(Math),t.MD5})}(Tn)),Tn.exports}var En={exports:{}},Qa;function Bn(){return Qa||(Qa=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=r.Hasher,l=o.algo,f=[],c=l.SHA1=s.extend({_doReset:function(){this._hash=new i.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,y){for(var h=this._hash.words,u=h[0],m=h[1],g=h[2],w=h[3],T=h[4],x=0;x<80;x++){if(x<16)f[x]=d[y+x]|0;else{var v=f[x-3]^f[x-8]^f[x-14]^f[x-16];f[x]=v<<1|v>>>31}var p=(u<<5|u>>>27)+T+f[x];x<20?p+=(m&g|~m&w)+1518500249:x<40?p+=(m^g^w)+1859775393:x<60?p+=(m&g|m&w|g&w)-1894007588:p+=(m^g^w)-899497514,T=w,w=g,g=m<<30|m>>>2,m=u,u=p}h[0]=h[0]+u|0,h[1]=h[1]+m|0,h[2]=h[2]+g|0,h[3]=h[3]+w|0,h[4]=h[4]+T|0},_doFinalize:function(){var d=this._data,y=d.words,h=this._nDataBytes*8,u=d.sigBytes*8;return y[u>>>5]|=128<<24-u%32,y[(u+64>>>9<<4)+14]=Math.floor(h/4294967296),y[(u+64>>>9<<4)+15]=h,d.sigBytes=y.length*4,this._process(),this._hash},clone:function(){var d=s.clone.call(this);return d._hash=this._hash.clone(),d}});o.SHA1=s._createHelper(c),o.HmacSHA1=s._createHmacHelper(c)}(),t.SHA1})}(En)),En.exports}var _n={exports:{}},Ja;function er(){return Ja||(Ja=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.algo,c=[],d=[];(function(){function u(T){for(var x=o.sqrt(T),v=2;v<=x;v++)if(!(T%v))return!1;return!0}function m(T){return(T-(T|0))*4294967296|0}for(var g=2,w=0;w<64;)u(g)&&(w<8&&(c[w]=m(o.pow(g,1/2))),d[w]=m(o.pow(g,1/3)),w++),g++})();var y=[],h=f.SHA256=l.extend({_doReset:function(){this._hash=new s.init(c.slice(0))},_doProcessBlock:function(u,m){for(var g=this._hash.words,w=g[0],T=g[1],x=g[2],v=g[3],p=g[4],C=g[5],S=g[6],b=g[7],E=0;E<64;E++){if(E<16)y[E]=u[m+E]|0;else{var B=y[E-15],A=(B<<25|B>>>7)^(B<<14|B>>>18)^B>>>3,k=y[E-2],I=(k<<15|k>>>17)^(k<<13|k>>>19)^k>>>10;y[E]=A+y[E-7]+I+y[E-16]}var D=p&C^~p&S,P=w&T^w&x^T&x,H=(w<<30|w>>>2)^(w<<19|w>>>13)^(w<<10|w>>>22),O=(p<<26|p>>>6)^(p<<21|p>>>11)^(p<<7|p>>>25),V=b+O+D+d[E]+y[E],_=H+P;b=S,S=C,C=p,p=v+V|0,v=x,x=T,T=w,w=V+_|0}g[0]=g[0]+w|0,g[1]=g[1]+T|0,g[2]=g[2]+x|0,g[3]=g[3]+v|0,g[4]=g[4]+p|0,g[5]=g[5]+C|0,g[6]=g[6]+S|0,g[7]=g[7]+b|0},_doFinalize:function(){var u=this._data,m=u.words,g=this._nDataBytes*8,w=u.sigBytes*8;return m[w>>>5]|=128<<24-w%32,m[(w+64>>>9<<4)+14]=o.floor(g/4294967296),m[(w+64>>>9<<4)+15]=g,u.sigBytes=m.length*4,this._process(),this._hash},clone:function(){var u=l.clone.call(this);return u._hash=this._hash.clone(),u}});r.SHA256=l._createHelper(h),r.HmacSHA256=l._createHmacHelper(h)}(Math),t.SHA256})}(_n)),_n.exports}var Dn={exports:{}},tr;function Ul(){return tr||(tr=1,function(e,n){(function(t,o,r){e.exports=o(le(),er())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=o.algo,l=s.SHA256,f=s.SHA224=l.extend({_doReset:function(){this._hash=new i.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var c=l._doFinalize.call(this);return c.sigBytes-=4,c}});o.SHA224=l._createHelper(f),o.HmacSHA224=l._createHmacHelper(f)}(),t.SHA224})}(Dn)),Dn.exports}var Rn={exports:{}},nr;function or(){return nr||(nr=1,function(e,n){(function(t,o,r){e.exports=o(le(),Gt())})(te,function(t){return function(){var o=t,r=o.lib,i=r.Hasher,s=o.x64,l=s.Word,f=s.WordArray,c=o.algo;function d(){return l.create.apply(l,arguments)}var y=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],h=[];(function(){for(var m=0;m<80;m++)h[m]=d()})();var u=c.SHA512=i.extend({_doReset:function(){this._hash=new f.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(m,g){for(var w=this._hash.words,T=w[0],x=w[1],v=w[2],p=w[3],C=w[4],S=w[5],b=w[6],E=w[7],B=T.high,A=T.low,k=x.high,I=x.low,D=v.high,P=v.low,H=p.high,O=p.low,V=C.high,_=C.low,L=S.high,M=S.low,R=b.high,N=b.low,z=E.high,F=E.low,W=B,K=A,Q=k,Z=I,ne=D,ce=P,De=H,Te=O,me=V,ve=_,Ge=L,ze=M,Ne=R,et=N,tt=z,G=F,U=0;U<80;U++){var $,Y,X=h[U];if(U<16)Y=X.high=m[g+U*2]|0,$=X.low=m[g+U*2+1]|0;else{var re=h[U-15],J=re.high,ie=re.low,xe=(J>>>1|ie<<31)^(J>>>8|ie<<24)^J>>>7,ye=(ie>>>1|J<<31)^(ie>>>8|J<<24)^(ie>>>7|J<<25),Me=h[U-2],Re=Me.high,Ee=Me.low,Mt=(Re>>>19|Ee<<13)^(Re<<3|Ee>>>29)^Re>>>6,Pt=(Ee>>>19|Re<<13)^(Ee<<3|Re>>>29)^(Ee>>>6|Re<<26),nn=h[U-7],Yf=nn.high,Kf=nn.low,l0=h[U-16],Xf=l0.high,s0=l0.low;$=ye+Kf,Y=xe+Yf+($>>>0<ye>>>0?1:0),$=$+Pt,Y=Y+Mt+($>>>0<Pt>>>0?1:0),$=$+s0,Y=Y+Xf+($>>>0<s0>>>0?1:0),X.high=Y,X.low=$}var Qf=me&Ge^~me&Ne,c0=ve&ze^~ve&et,Jf=W&Q^W&ne^Q&ne,ed=K&Z^K&ce^Z&ce,td=(W>>>28|K<<4)^(W<<30|K>>>2)^(W<<25|K>>>7),f0=(K>>>28|W<<4)^(K<<30|W>>>2)^(K<<25|W>>>7),nd=(me>>>14|ve<<18)^(me>>>18|ve<<14)^(me<<23|ve>>>9),od=(ve>>>14|me<<18)^(ve>>>18|me<<14)^(ve<<23|me>>>9),d0=y[U],ad=d0.high,u0=d0.low,qe=G+od,ft=tt+nd+(qe>>>0<G>>>0?1:0),qe=qe+c0,ft=ft+Qf+(qe>>>0<c0>>>0?1:0),qe=qe+u0,ft=ft+ad+(qe>>>0<u0>>>0?1:0),qe=qe+$,ft=ft+Y+(qe>>>0<$>>>0?1:0),h0=f0+ed,rd=td+Jf+(h0>>>0<f0>>>0?1:0);tt=Ne,G=et,Ne=Ge,et=ze,Ge=me,ze=ve,ve=Te+qe|0,me=De+ft+(ve>>>0<Te>>>0?1:0)|0,De=ne,Te=ce,ne=Q,ce=Z,Q=W,Z=K,K=qe+h0|0,W=ft+rd+(K>>>0<qe>>>0?1:0)|0}A=T.low=A+K,T.high=B+W+(A>>>0<K>>>0?1:0),I=x.low=I+Z,x.high=k+Q+(I>>>0<Z>>>0?1:0),P=v.low=P+ce,v.high=D+ne+(P>>>0<ce>>>0?1:0),O=p.low=O+Te,p.high=H+De+(O>>>0<Te>>>0?1:0),_=C.low=_+ve,C.high=V+me+(_>>>0<ve>>>0?1:0),M=S.low=M+ze,S.high=L+Ge+(M>>>0<ze>>>0?1:0),N=b.low=N+et,b.high=R+Ne+(N>>>0<et>>>0?1:0),F=E.low=F+G,E.high=z+tt+(F>>>0<G>>>0?1:0)},_doFinalize:function(){var m=this._data,g=m.words,w=this._nDataBytes*8,T=m.sigBytes*8;g[T>>>5]|=128<<24-T%32,g[(T+128>>>10<<5)+30]=Math.floor(w/4294967296),g[(T+128>>>10<<5)+31]=w,m.sigBytes=g.length*4,this._process();var x=this._hash.toX32();return x},clone:function(){var m=i.clone.call(this);return m._hash=this._hash.clone(),m},blockSize:1024/32});o.SHA512=i._createHelper(u),o.HmacSHA512=i._createHmacHelper(u)}(),t.SHA512})}(Rn)),Rn.exports}var In={exports:{}},ar;function Wl(){return ar||(ar=1,function(e,n){(function(t,o,r){e.exports=o(le(),Gt(),or())})(te,function(t){return function(){var o=t,r=o.x64,i=r.Word,s=r.WordArray,l=o.algo,f=l.SHA512,c=l.SHA384=f.extend({_doReset:function(){this._hash=new s.init([new i.init(3418070365,3238371032),new i.init(1654270250,914150663),new i.init(2438529370,812702999),new i.init(355462360,4144912697),new i.init(1731405415,4290775857),new i.init(2394180231,1750603025),new i.init(3675008525,1694076839),new i.init(1203062813,3204075428)])},_doFinalize:function(){var d=f._doFinalize.call(this);return d.sigBytes-=16,d}});o.SHA384=f._createHelper(c),o.HmacSHA384=f._createHmacHelper(c)}(),t.SHA384})}(In)),In.exports}var On={exports:{}},rr;function $l(){return rr||(rr=1,function(e,n){(function(t,o,r){e.exports=o(le(),Gt())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.x64,c=f.Word,d=r.algo,y=[],h=[],u=[];(function(){for(var w=1,T=0,x=0;x<24;x++){y[w+5*T]=(x+1)*(x+2)/2%64;var v=T%5,p=(2*w+3*T)%5;w=v,T=p}for(var w=0;w<5;w++)for(var T=0;T<5;T++)h[w+5*T]=T+(2*w+3*T)%5*5;for(var C=1,S=0;S<24;S++){for(var b=0,E=0,B=0;B<7;B++){if(C&1){var A=(1<<B)-1;A<32?E^=1<<A:b^=1<<A-32}C&128?C=C<<1^113:C<<=1}u[S]=c.create(b,E)}})();var m=[];(function(){for(var w=0;w<25;w++)m[w]=c.create()})();var g=d.SHA3=l.extend({cfg:l.cfg.extend({outputLength:512}),_doReset:function(){for(var w=this._state=[],T=0;T<25;T++)w[T]=new c.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(w,T){for(var x=this._state,v=this.blockSize/2,p=0;p<v;p++){var C=w[T+2*p],S=w[T+2*p+1];C=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,S=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360;var b=x[p];b.high^=S,b.low^=C}for(var E=0;E<24;E++){for(var B=0;B<5;B++){for(var A=0,k=0,I=0;I<5;I++){var b=x[B+5*I];A^=b.high,k^=b.low}var D=m[B];D.high=A,D.low=k}for(var B=0;B<5;B++)for(var P=m[(B+4)%5],H=m[(B+1)%5],O=H.high,V=H.low,A=P.high^(O<<1|V>>>31),k=P.low^(V<<1|O>>>31),I=0;I<5;I++){var b=x[B+5*I];b.high^=A,b.low^=k}for(var _=1;_<25;_++){var A,k,b=x[_],L=b.high,M=b.low,R=y[_];R<32?(A=L<<R|M>>>32-R,k=M<<R|L>>>32-R):(A=M<<R-32|L>>>64-R,k=L<<R-32|M>>>64-R);var N=m[h[_]];N.high=A,N.low=k}var z=m[0],F=x[0];z.high=F.high,z.low=F.low;for(var B=0;B<5;B++)for(var I=0;I<5;I++){var _=B+5*I,b=x[_],W=m[_],K=m[(B+1)%5+5*I],Q=m[(B+2)%5+5*I];b.high=W.high^~K.high&Q.high,b.low=W.low^~K.low&Q.low}var b=x[0],Z=u[E];b.high^=Z.high,b.low^=Z.low}},_doFinalize:function(){var w=this._data,T=w.words;this._nDataBytes*8;var x=w.sigBytes*8,v=this.blockSize*32;T[x>>>5]|=1<<24-x%32,T[(o.ceil((x+1)/v)*v>>>5)-1]|=128,w.sigBytes=T.length*4,this._process();for(var p=this._state,C=this.cfg.outputLength/8,S=C/8,b=[],E=0;E<S;E++){var B=p[E],A=B.high,k=B.low;A=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360,k=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360,b.push(k),b.push(A)}return new s.init(b,C)},clone:function(){for(var w=l.clone.call(this),T=w._state=this._state.slice(0),x=0;x<25;x++)T[x]=T[x].clone();return w}});r.SHA3=l._createHelper(g),r.HmacSHA3=l._createHmacHelper(g)}(Math),t.SHA3})}(On)),On.exports}var Ln={exports:{}},ir;function Zl(){return ir||(ir=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){/** @preserve
59
59
  (c) 2012 by Cédric Mesnil. All rights reserved.
60
60
 
61
61
  Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
@@ -64,18 +64,18 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
64
64
  - Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
65
65
 
66
66
  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
67
- */return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.algo,c=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),d=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),y=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=s.create([0,1518500249,1859775393,2400959708,2840853838]),m=s.create([1352829926,1548603684,1836072691,2053994217,0]),g=f.RIPEMD160=l.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(w,b){for(var T=0;T<16;T++){var B=b+T,A=w[B];w[B]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var k=this._hash.words,I=u.words,D=m.words,P=c.words,H=d.words,O=y.words,V=h.words,_,L,z,R,N,M,F,W,Y,Q;M=_=k[0],F=L=k[1],W=z=k[2],Y=R=k[3],Q=N=k[4];for(var Z,T=0;T<80;T+=1)Z=_+w[b+P[T]]|0,T<16?Z+=S(L,z,R)+I[0]:T<32?Z+=E(L,z,R)+I[1]:T<48?Z+=x(L,z,R)+I[2]:T<64?Z+=v(L,z,R)+I[3]:Z+=p(L,z,R)+I[4],Z=Z|0,Z=C(Z,O[T]),Z=Z+N|0,_=N,N=R,R=C(z,10),z=L,L=Z,Z=M+w[b+H[T]]|0,T<16?Z+=p(F,W,Y)+D[0]:T<32?Z+=v(F,W,Y)+D[1]:T<48?Z+=x(F,W,Y)+D[2]:T<64?Z+=E(F,W,Y)+D[3]:Z+=S(F,W,Y)+D[4],Z=Z|0,Z=C(Z,V[T]),Z=Z+Q|0,M=Q,Q=Y,Y=C(W,10),W=F,F=Z;Z=k[1]+z+Y|0,k[1]=k[2]+R+Q|0,k[2]=k[3]+N+M|0,k[3]=k[4]+_+F|0,k[4]=k[0]+L+W|0,k[0]=Z},_doFinalize:function(){var w=this._data,b=w.words,T=this._nDataBytes*8,B=w.sigBytes*8;b[B>>>5]|=128<<24-B%32,b[(B+64>>>9<<4)+14]=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360,w.sigBytes=(b.length+1)*4,this._process();for(var A=this._hash,k=A.words,I=0;I<5;I++){var D=k[I];k[I]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return A},clone:function(){var w=l.clone.call(this);return w._hash=this._hash.clone(),w}});function S(w,b,T){return w^b^T}function E(w,b,T){return w&b|~w&T}function x(w,b,T){return(w|~b)^T}function v(w,b,T){return w&T|b&~T}function p(w,b,T){return w^(b|~T)}function C(w,b){return w<<b|w>>>32-b}r.RIPEMD160=l._createHelper(g),r.HmacRIPEMD160=l._createHmacHelper(g)}(),t.RIPEMD160})}(Ln)),Ln.exports}var Nn={exports:{}},rr;function Mn(){return rr||(rr=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){(function(){var o=t,r=o.lib,i=r.Base,s=o.enc,l=s.Utf8,f=o.algo;f.HMAC=i.extend({init:function(c,d){c=this._hasher=new c.init,typeof d=="string"&&(d=l.parse(d));var y=c.blockSize,h=y*4;d.sigBytes>h&&(d=c.finalize(d)),d.clamp();for(var u=this._oKey=d.clone(),m=this._iKey=d.clone(),g=u.words,S=m.words,E=0;E<y;E++)g[E]^=1549556828,S[E]^=909522486;u.sigBytes=m.sigBytes=h,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var d=this._hasher,y=d.finalize(c);d.reset();var h=d.finalize(this._oKey.clone().concat(y));return h}})})()})}(Nn)),Nn.exports}var zn={exports:{}},ir;function jl(){return ir||(ir=1,function(e,n){(function(t,o,r){e.exports=o(le(),Bn(),Mn())})(te,function(t){return function(){var o=t,r=o.lib,i=r.Base,s=r.WordArray,l=o.algo,f=l.SHA1,c=l.HMAC,d=l.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:f,iterations:1}),init:function(y){this.cfg=this.cfg.extend(y)},compute:function(y,h){for(var u=this.cfg,m=c.create(u.hasher,y),g=s.create(),S=s.create([1]),E=g.words,x=S.words,v=u.keySize,p=u.iterations;E.length<v;){var C=m.update(h).finalize(S);m.reset();for(var w=C.words,b=w.length,T=C,B=1;B<p;B++){T=m.finalize(T),m.reset();for(var A=T.words,k=0;k<b;k++)w[k]^=A[k]}g.concat(C),x[0]++}return g.sigBytes=v*4,g}});o.PBKDF2=function(y,h,u){return d.create(u).compute(y,h)}}(),t.PBKDF2})}(zn)),zn.exports}var Pn={exports:{}},lr;function ut(){return lr||(lr=1,function(e,n){(function(t,o,r){e.exports=o(le(),Bn(),Mn())})(te,function(t){return function(){var o=t,r=o.lib,i=r.Base,s=r.WordArray,l=o.algo,f=l.MD5,c=l.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:f,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,y){for(var h,u=this.cfg,m=u.hasher.create(),g=s.create(),S=g.words,E=u.keySize,x=u.iterations;S.length<E;){h&&m.update(h),h=m.update(d).finalize(y),m.reset();for(var v=1;v<x;v++)h=m.finalize(h),m.reset();g.concat(h)}return g.sigBytes=E*4,g}});o.EvpKDF=function(d,y,h){return c.create(h).compute(d,y)}}(),t.EvpKDF})}(Pn)),Pn.exports}var Fn={exports:{}},sr;function _e(){return sr||(sr=1,function(e,n){(function(t,o,r){e.exports=o(le(),ut())})(te,function(t){t.lib.Cipher||function(o){var r=t,i=r.lib,s=i.Base,l=i.WordArray,f=i.BufferedBlockAlgorithm,c=r.enc;c.Utf8;var d=c.Base64,y=r.algo,h=y.EvpKDF,u=i.Cipher=f.extend({cfg:s.extend(),createEncryptor:function(A,k){return this.create(this._ENC_XFORM_MODE,A,k)},createDecryptor:function(A,k){return this.create(this._DEC_XFORM_MODE,A,k)},init:function(A,k,I){this.cfg=this.cfg.extend(I),this._xformMode=A,this._key=k,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){A&&this._append(A);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function A(k){return typeof k=="string"?B:w}return function(k){return{encrypt:function(I,D,P){return A(D).encrypt(k,I,D,P)},decrypt:function(I,D,P){return A(D).decrypt(k,I,D,P)}}}}()});i.StreamCipher=u.extend({_doFinalize:function(){var A=this._process(!0);return A},blockSize:1});var m=r.mode={},g=i.BlockCipherMode=s.extend({createEncryptor:function(A,k){return this.Encryptor.create(A,k)},createDecryptor:function(A,k){return this.Decryptor.create(A,k)},init:function(A,k){this._cipher=A,this._iv=k}}),S=m.CBC=function(){var A=g.extend();A.Encryptor=A.extend({processBlock:function(I,D){var P=this._cipher,H=P.blockSize;k.call(this,I,D,H),P.encryptBlock(I,D),this._prevBlock=I.slice(D,D+H)}}),A.Decryptor=A.extend({processBlock:function(I,D){var P=this._cipher,H=P.blockSize,O=I.slice(D,D+H);P.decryptBlock(I,D),k.call(this,I,D,H),this._prevBlock=O}});function k(I,D,P){var H,O=this._iv;O?(H=O,this._iv=o):H=this._prevBlock;for(var V=0;V<P;V++)I[D+V]^=H[V]}return A}(),E=r.pad={},x=E.Pkcs7={pad:function(A,k){for(var I=k*4,D=I-A.sigBytes%I,P=D<<24|D<<16|D<<8|D,H=[],O=0;O<D;O+=4)H.push(P);var V=l.create(H,D);A.concat(V)},unpad:function(A){var k=A.words[A.sigBytes-1>>>2]&255;A.sigBytes-=k}};i.BlockCipher=u.extend({cfg:u.cfg.extend({mode:S,padding:x}),reset:function(){var A;u.reset.call(this);var k=this.cfg,I=k.iv,D=k.mode;this._xformMode==this._ENC_XFORM_MODE?A=D.createEncryptor:(A=D.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,I&&I.words):(this._mode=A.call(D,this,I&&I.words),this._mode.__creator=A)},_doProcessBlock:function(A,k){this._mode.processBlock(A,k)},_doFinalize:function(){var A,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),k.unpad(A)),A},blockSize:128/32});var v=i.CipherParams=s.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}}),p=r.format={},C=p.OpenSSL={stringify:function(A){var k,I=A.ciphertext,D=A.salt;return D?k=l.create([1398893684,1701076831]).concat(D).concat(I):k=I,k.toString(d)},parse:function(A){var k,I=d.parse(A),D=I.words;return D[0]==1398893684&&D[1]==1701076831&&(k=l.create(D.slice(2,4)),D.splice(0,4),I.sigBytes-=16),v.create({ciphertext:I,salt:k})}},w=i.SerializableCipher=s.extend({cfg:s.extend({format:C}),encrypt:function(A,k,I,D){D=this.cfg.extend(D);var P=A.createEncryptor(I,D),H=P.finalize(k),O=P.cfg;return v.create({ciphertext:H,key:I,iv:O.iv,algorithm:A,mode:O.mode,padding:O.padding,blockSize:A.blockSize,formatter:D.format})},decrypt:function(A,k,I,D){D=this.cfg.extend(D),k=this._parse(k,D.format);var P=A.createDecryptor(I,D).finalize(k.ciphertext);return P},_parse:function(A,k){return typeof A=="string"?k.parse(A,this):A}}),b=r.kdf={},T=b.OpenSSL={execute:function(A,k,I,D){D||(D=l.random(64/8));var P=h.create({keySize:k+I}).compute(A,D),H=l.create(P.words.slice(k),I*4);return P.sigBytes=k*4,v.create({key:P,iv:H,salt:D})}},B=i.PasswordBasedCipher=w.extend({cfg:w.cfg.extend({kdf:T}),encrypt:function(A,k,I,D){D=this.cfg.extend(D);var P=D.kdf.execute(I,A.keySize,A.ivSize);D.iv=P.iv;var H=w.encrypt.call(this,A,k,P.key,D);return H.mixIn(P),H},decrypt:function(A,k,I,D){D=this.cfg.extend(D),k=this._parse(k,D.format);var P=D.kdf.execute(I,A.keySize,A.ivSize,k.salt);D.iv=P.iv;var H=w.decrypt.call(this,A,k,P.key,D);return H}})}()})}(Fn)),Fn.exports}var Hn={exports:{}},cr;function Gl(){return cr||(cr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.CFB=function(){var o=t.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize;r.call(this,i,s,f,l),this._prevBlock=i.slice(s,s+f)}}),o.Decryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize,c=i.slice(s,s+f);r.call(this,i,s,f,l),this._prevBlock=c}});function r(i,s,l,f){var c,d=this._iv;d?(c=d.slice(0),this._iv=void 0):c=this._prevBlock,f.encryptBlock(c,0);for(var y=0;y<l;y++)i[s+y]^=c[y]}return o}(),t.mode.CFB})}(Hn)),Hn.exports}var qn={exports:{}},fr;function Ul(){return fr||(fr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.CTR=function(){var o=t.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0);var y=d.slice(0);l.encryptBlock(y,0),d[f-1]=d[f-1]+1|0;for(var h=0;h<f;h++)i[s+h]^=y[h]}});return o.Decryptor=r,o}(),t.mode.CTR})}(qn)),qn.exports}var Vn={exports:{}},dr;function Wl(){return dr||(dr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){/** @preserve
67
+ */return function(o){var r=t,i=r.lib,s=i.WordArray,l=i.Hasher,f=r.algo,c=s.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),d=s.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),y=s.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),h=s.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),u=s.create([0,1518500249,1859775393,2400959708,2840853838]),m=s.create([1352829926,1548603684,1836072691,2053994217,0]),g=f.RIPEMD160=l.extend({_doReset:function(){this._hash=s.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(S,b){for(var E=0;E<16;E++){var B=b+E,A=S[B];S[B]=(A<<8|A>>>24)&16711935|(A<<24|A>>>8)&4278255360}var k=this._hash.words,I=u.words,D=m.words,P=c.words,H=d.words,O=y.words,V=h.words,_,L,M,R,N,z,F,W,K,Q;z=_=k[0],F=L=k[1],W=M=k[2],K=R=k[3],Q=N=k[4];for(var Z,E=0;E<80;E+=1)Z=_+S[b+P[E]]|0,E<16?Z+=w(L,M,R)+I[0]:E<32?Z+=T(L,M,R)+I[1]:E<48?Z+=x(L,M,R)+I[2]:E<64?Z+=v(L,M,R)+I[3]:Z+=p(L,M,R)+I[4],Z=Z|0,Z=C(Z,O[E]),Z=Z+N|0,_=N,N=R,R=C(M,10),M=L,L=Z,Z=z+S[b+H[E]]|0,E<16?Z+=p(F,W,K)+D[0]:E<32?Z+=v(F,W,K)+D[1]:E<48?Z+=x(F,W,K)+D[2]:E<64?Z+=T(F,W,K)+D[3]:Z+=w(F,W,K)+D[4],Z=Z|0,Z=C(Z,V[E]),Z=Z+Q|0,z=Q,Q=K,K=C(W,10),W=F,F=Z;Z=k[1]+M+K|0,k[1]=k[2]+R+Q|0,k[2]=k[3]+N+z|0,k[3]=k[4]+_+F|0,k[4]=k[0]+L+W|0,k[0]=Z},_doFinalize:function(){var S=this._data,b=S.words,E=this._nDataBytes*8,B=S.sigBytes*8;b[B>>>5]|=128<<24-B%32,b[(B+64>>>9<<4)+14]=(E<<8|E>>>24)&16711935|(E<<24|E>>>8)&4278255360,S.sigBytes=(b.length+1)*4,this._process();for(var A=this._hash,k=A.words,I=0;I<5;I++){var D=k[I];k[I]=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360}return A},clone:function(){var S=l.clone.call(this);return S._hash=this._hash.clone(),S}});function w(S,b,E){return S^b^E}function T(S,b,E){return S&b|~S&E}function x(S,b,E){return(S|~b)^E}function v(S,b,E){return S&E|b&~E}function p(S,b,E){return S^(b|~E)}function C(S,b){return S<<b|S>>>32-b}r.RIPEMD160=l._createHelper(g),r.HmacRIPEMD160=l._createHmacHelper(g)}(),t.RIPEMD160})}(Ln)),Ln.exports}var Nn={exports:{}},lr;function zn(){return lr||(lr=1,function(e,n){(function(t,o){e.exports=o(le())})(te,function(t){(function(){var o=t,r=o.lib,i=r.Base,s=o.enc,l=s.Utf8,f=o.algo;f.HMAC=i.extend({init:function(c,d){c=this._hasher=new c.init,typeof d=="string"&&(d=l.parse(d));var y=c.blockSize,h=y*4;d.sigBytes>h&&(d=c.finalize(d)),d.clamp();for(var u=this._oKey=d.clone(),m=this._iKey=d.clone(),g=u.words,w=m.words,T=0;T<y;T++)g[T]^=1549556828,w[T]^=909522486;u.sigBytes=m.sigBytes=h,this.reset()},reset:function(){var c=this._hasher;c.reset(),c.update(this._iKey)},update:function(c){return this._hasher.update(c),this},finalize:function(c){var d=this._hasher,y=d.finalize(c);d.reset();var h=d.finalize(this._oKey.clone().concat(y));return h}})})()})}(Nn)),Nn.exports}var Mn={exports:{}},sr;function Yl(){return sr||(sr=1,function(e,n){(function(t,o,r){e.exports=o(le(),Bn(),zn())})(te,function(t){return function(){var o=t,r=o.lib,i=r.Base,s=r.WordArray,l=o.algo,f=l.SHA1,c=l.HMAC,d=l.PBKDF2=i.extend({cfg:i.extend({keySize:128/32,hasher:f,iterations:1}),init:function(y){this.cfg=this.cfg.extend(y)},compute:function(y,h){for(var u=this.cfg,m=c.create(u.hasher,y),g=s.create(),w=s.create([1]),T=g.words,x=w.words,v=u.keySize,p=u.iterations;T.length<v;){var C=m.update(h).finalize(w);m.reset();for(var S=C.words,b=S.length,E=C,B=1;B<p;B++){E=m.finalize(E),m.reset();for(var A=E.words,k=0;k<b;k++)S[k]^=A[k]}g.concat(C),x[0]++}return g.sigBytes=v*4,g}});o.PBKDF2=function(y,h,u){return d.create(u).compute(y,h)}}(),t.PBKDF2})}(Mn)),Mn.exports}var Pn={exports:{}},cr;function ut(){return cr||(cr=1,function(e,n){(function(t,o,r){e.exports=o(le(),Bn(),zn())})(te,function(t){return function(){var o=t,r=o.lib,i=r.Base,s=r.WordArray,l=o.algo,f=l.MD5,c=l.EvpKDF=i.extend({cfg:i.extend({keySize:128/32,hasher:f,iterations:1}),init:function(d){this.cfg=this.cfg.extend(d)},compute:function(d,y){for(var h,u=this.cfg,m=u.hasher.create(),g=s.create(),w=g.words,T=u.keySize,x=u.iterations;w.length<T;){h&&m.update(h),h=m.update(d).finalize(y),m.reset();for(var v=1;v<x;v++)h=m.finalize(h),m.reset();g.concat(h)}return g.sigBytes=T*4,g}});o.EvpKDF=function(d,y,h){return c.create(h).compute(d,y)}}(),t.EvpKDF})}(Pn)),Pn.exports}var Fn={exports:{}},fr;function _e(){return fr||(fr=1,function(e,n){(function(t,o,r){e.exports=o(le(),ut())})(te,function(t){t.lib.Cipher||function(o){var r=t,i=r.lib,s=i.Base,l=i.WordArray,f=i.BufferedBlockAlgorithm,c=r.enc;c.Utf8;var d=c.Base64,y=r.algo,h=y.EvpKDF,u=i.Cipher=f.extend({cfg:s.extend(),createEncryptor:function(A,k){return this.create(this._ENC_XFORM_MODE,A,k)},createDecryptor:function(A,k){return this.create(this._DEC_XFORM_MODE,A,k)},init:function(A,k,I){this.cfg=this.cfg.extend(I),this._xformMode=A,this._key=k,this.reset()},reset:function(){f.reset.call(this),this._doReset()},process:function(A){return this._append(A),this._process()},finalize:function(A){A&&this._append(A);var k=this._doFinalize();return k},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function A(k){return typeof k=="string"?B:S}return function(k){return{encrypt:function(I,D,P){return A(D).encrypt(k,I,D,P)},decrypt:function(I,D,P){return A(D).decrypt(k,I,D,P)}}}}()});i.StreamCipher=u.extend({_doFinalize:function(){var A=this._process(!0);return A},blockSize:1});var m=r.mode={},g=i.BlockCipherMode=s.extend({createEncryptor:function(A,k){return this.Encryptor.create(A,k)},createDecryptor:function(A,k){return this.Decryptor.create(A,k)},init:function(A,k){this._cipher=A,this._iv=k}}),w=m.CBC=function(){var A=g.extend();A.Encryptor=A.extend({processBlock:function(I,D){var P=this._cipher,H=P.blockSize;k.call(this,I,D,H),P.encryptBlock(I,D),this._prevBlock=I.slice(D,D+H)}}),A.Decryptor=A.extend({processBlock:function(I,D){var P=this._cipher,H=P.blockSize,O=I.slice(D,D+H);P.decryptBlock(I,D),k.call(this,I,D,H),this._prevBlock=O}});function k(I,D,P){var H,O=this._iv;O?(H=O,this._iv=o):H=this._prevBlock;for(var V=0;V<P;V++)I[D+V]^=H[V]}return A}(),T=r.pad={},x=T.Pkcs7={pad:function(A,k){for(var I=k*4,D=I-A.sigBytes%I,P=D<<24|D<<16|D<<8|D,H=[],O=0;O<D;O+=4)H.push(P);var V=l.create(H,D);A.concat(V)},unpad:function(A){var k=A.words[A.sigBytes-1>>>2]&255;A.sigBytes-=k}};i.BlockCipher=u.extend({cfg:u.cfg.extend({mode:w,padding:x}),reset:function(){var A;u.reset.call(this);var k=this.cfg,I=k.iv,D=k.mode;this._xformMode==this._ENC_XFORM_MODE?A=D.createEncryptor:(A=D.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==A?this._mode.init(this,I&&I.words):(this._mode=A.call(D,this,I&&I.words),this._mode.__creator=A)},_doProcessBlock:function(A,k){this._mode.processBlock(A,k)},_doFinalize:function(){var A,k=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(k.pad(this._data,this.blockSize),A=this._process(!0)):(A=this._process(!0),k.unpad(A)),A},blockSize:128/32});var v=i.CipherParams=s.extend({init:function(A){this.mixIn(A)},toString:function(A){return(A||this.formatter).stringify(this)}}),p=r.format={},C=p.OpenSSL={stringify:function(A){var k,I=A.ciphertext,D=A.salt;return D?k=l.create([1398893684,1701076831]).concat(D).concat(I):k=I,k.toString(d)},parse:function(A){var k,I=d.parse(A),D=I.words;return D[0]==1398893684&&D[1]==1701076831&&(k=l.create(D.slice(2,4)),D.splice(0,4),I.sigBytes-=16),v.create({ciphertext:I,salt:k})}},S=i.SerializableCipher=s.extend({cfg:s.extend({format:C}),encrypt:function(A,k,I,D){D=this.cfg.extend(D);var P=A.createEncryptor(I,D),H=P.finalize(k),O=P.cfg;return v.create({ciphertext:H,key:I,iv:O.iv,algorithm:A,mode:O.mode,padding:O.padding,blockSize:A.blockSize,formatter:D.format})},decrypt:function(A,k,I,D){D=this.cfg.extend(D),k=this._parse(k,D.format);var P=A.createDecryptor(I,D).finalize(k.ciphertext);return P},_parse:function(A,k){return typeof A=="string"?k.parse(A,this):A}}),b=r.kdf={},E=b.OpenSSL={execute:function(A,k,I,D){D||(D=l.random(64/8));var P=h.create({keySize:k+I}).compute(A,D),H=l.create(P.words.slice(k),I*4);return P.sigBytes=k*4,v.create({key:P,iv:H,salt:D})}},B=i.PasswordBasedCipher=S.extend({cfg:S.cfg.extend({kdf:E}),encrypt:function(A,k,I,D){D=this.cfg.extend(D);var P=D.kdf.execute(I,A.keySize,A.ivSize);D.iv=P.iv;var H=S.encrypt.call(this,A,k,P.key,D);return H.mixIn(P),H},decrypt:function(A,k,I,D){D=this.cfg.extend(D),k=this._parse(k,D.format);var P=D.kdf.execute(I,A.keySize,A.ivSize,k.salt);D.iv=P.iv;var H=S.decrypt.call(this,A,k,P.key,D);return H}})}()})}(Fn)),Fn.exports}var Hn={exports:{}},dr;function Kl(){return dr||(dr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.CFB=function(){var o=t.lib.BlockCipherMode.extend();o.Encryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize;r.call(this,i,s,f,l),this._prevBlock=i.slice(s,s+f)}}),o.Decryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize,c=i.slice(s,s+f);r.call(this,i,s,f,l),this._prevBlock=c}});function r(i,s,l,f){var c,d=this._iv;d?(c=d.slice(0),this._iv=void 0):c=this._prevBlock,f.encryptBlock(c,0);for(var y=0;y<l;y++)i[s+y]^=c[y]}return o}(),t.mode.CFB})}(Hn)),Hn.exports}var qn={exports:{}},ur;function Xl(){return ur||(ur=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.CTR=function(){var o=t.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize,c=this._iv,d=this._counter;c&&(d=this._counter=c.slice(0),this._iv=void 0);var y=d.slice(0);l.encryptBlock(y,0),d[f-1]=d[f-1]+1|0;for(var h=0;h<f;h++)i[s+h]^=y[h]}});return o.Decryptor=r,o}(),t.mode.CTR})}(qn)),qn.exports}var Vn={exports:{}},hr;function Ql(){return hr||(hr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){/** @preserve
68
68
  * Counter block mode compatible with Dr Brian Gladman fileenc.c
69
69
  * derived from CryptoJS.mode.CTR
70
70
  * Jan Hruby jhruby.web@gmail.com
71
- */return t.mode.CTRGladman=function(){var o=t.lib.BlockCipherMode.extend();function r(l){if((l>>24&255)===255){var f=l>>16&255,c=l>>8&255,d=l&255;f===255?(f=0,c===255?(c=0,d===255?d=0:++d):++c):++f,l=0,l+=f<<16,l+=c<<8,l+=d}else l+=1<<24;return l}function i(l){return(l[0]=r(l[0]))===0&&(l[1]=r(l[1])),l}var s=o.Encryptor=o.extend({processBlock:function(l,f){var c=this._cipher,d=c.blockSize,y=this._iv,h=this._counter;y&&(h=this._counter=y.slice(0),this._iv=void 0),i(h);var u=h.slice(0);c.encryptBlock(u,0);for(var m=0;m<d;m++)l[f+m]^=u[m]}});return o.Decryptor=s,o}(),t.mode.CTRGladman})}(Vn)),Vn.exports}var jn={exports:{}},ur;function $l(){return ur||(ur=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.OFB=function(){var o=t.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),l.encryptBlock(d,0);for(var y=0;y<f;y++)i[s+y]^=d[y]}});return o.Decryptor=r,o}(),t.mode.OFB})}(jn)),jn.exports}var Gn={exports:{}},hr;function Zl(){return hr||(hr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.ECB=function(){var o=t.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(r,i){this._cipher.encryptBlock(r,i)}}),o.Decryptor=o.extend({processBlock:function(r,i){this._cipher.decryptBlock(r,i)}}),o}(),t.mode.ECB})}(Gn)),Gn.exports}var Un={exports:{}},gr;function Yl(){return gr||(gr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.AnsiX923={pad:function(o,r){var i=o.sigBytes,s=r*4,l=s-i%s,f=i+l-1;o.clamp(),o.words[f>>>2]|=l<<24-f%4*8,o.sigBytes+=l},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},t.pad.Ansix923})}(Un)),Un.exports}var Wn={exports:{}},mr;function Kl(){return mr||(mr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.Iso10126={pad:function(o,r){var i=r*4,s=i-o.sigBytes%i;o.concat(t.lib.WordArray.random(s-1)).concat(t.lib.WordArray.create([s<<24],1))},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},t.pad.Iso10126})}(Wn)),Wn.exports}var $n={exports:{}},xr;function Xl(){return xr||(xr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.Iso97971={pad:function(o,r){o.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(o,r)},unpad:function(o){t.pad.ZeroPadding.unpad(o),o.sigBytes--}},t.pad.Iso97971})}($n)),$n.exports}var Zn={exports:{}},yr;function Ql(){return yr||(yr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.ZeroPadding={pad:function(o,r){var i=r*4;o.clamp(),o.sigBytes+=i-(o.sigBytes%i||i)},unpad:function(o){for(var r=o.words,i=o.sigBytes-1,i=o.sigBytes-1;i>=0;i--)if(r[i>>>2]>>>24-i%4*8&255){o.sigBytes=i+1;break}}},t.pad.ZeroPadding})}(Zn)),Zn.exports}var Yn={exports:{}},pr;function Jl(){return pr||(pr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})}(Yn)),Yn.exports}var Kn={exports:{}},vr;function es(){return vr||(vr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.CipherParams,l=r.enc,f=l.Hex,c=r.format;c.Hex={stringify:function(d){return d.ciphertext.toString(f)},parse:function(d){var y=f.parse(d);return s.create({ciphertext:y})}}}(),t.format.Hex})}(Kn)),Kn.exports}var Xn={exports:{}},br;function ts(){return br||(br=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),wt(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.BlockCipher,s=o.algo,l=[],f=[],c=[],d=[],y=[],h=[],u=[],m=[],g=[],S=[];(function(){for(var v=[],p=0;p<256;p++)p<128?v[p]=p<<1:v[p]=p<<1^283;for(var C=0,w=0,p=0;p<256;p++){var b=w^w<<1^w<<2^w<<3^w<<4;b=b>>>8^b&255^99,l[C]=b,f[b]=C;var T=v[C],B=v[T],A=v[B],k=v[b]*257^b*16843008;c[C]=k<<24|k>>>8,d[C]=k<<16|k>>>16,y[C]=k<<8|k>>>24,h[C]=k;var k=A*16843009^B*65537^T*257^C*16843008;u[b]=k<<24|k>>>8,m[b]=k<<16|k>>>16,g[b]=k<<8|k>>>24,S[b]=k,C?(C=T^v[v[v[A^T]]],w^=v[v[w]]):C=w=1}})();var E=[0,1,2,4,8,16,32,64,128,27,54],x=s.AES=i.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,C=p.words,w=p.sigBytes/4,b=this._nRounds=w+6,T=(b+1)*4,B=this._keySchedule=[],A=0;A<T;A++)A<w?B[A]=C[A]:(v=B[A-1],A%w?w>6&&A%w==4&&(v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255]):(v=v<<8|v>>>24,v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255],v^=E[A/w|0]<<24),B[A]=B[A-w]^v);for(var k=this._invKeySchedule=[],I=0;I<T;I++){var A=T-I;if(I%4)var v=B[A];else var v=B[A-4];I<4||A<=4?k[I]=v:k[I]=u[l[v>>>24]]^m[l[v>>>16&255]]^g[l[v>>>8&255]]^S[l[v&255]]}}},encryptBlock:function(v,p){this._doCryptBlock(v,p,this._keySchedule,c,d,y,h,l)},decryptBlock:function(v,p){var C=v[p+1];v[p+1]=v[p+3],v[p+3]=C,this._doCryptBlock(v,p,this._invKeySchedule,u,m,g,S,f);var C=v[p+1];v[p+1]=v[p+3],v[p+3]=C},_doCryptBlock:function(v,p,C,w,b,T,B,A){for(var k=this._nRounds,I=v[p]^C[0],D=v[p+1]^C[1],P=v[p+2]^C[2],H=v[p+3]^C[3],O=4,V=1;V<k;V++){var _=w[I>>>24]^b[D>>>16&255]^T[P>>>8&255]^B[H&255]^C[O++],L=w[D>>>24]^b[P>>>16&255]^T[H>>>8&255]^B[I&255]^C[O++],z=w[P>>>24]^b[H>>>16&255]^T[I>>>8&255]^B[D&255]^C[O++],R=w[H>>>24]^b[I>>>16&255]^T[D>>>8&255]^B[P&255]^C[O++];I=_,D=L,P=z,H=R}var _=(A[I>>>24]<<24|A[D>>>16&255]<<16|A[P>>>8&255]<<8|A[H&255])^C[O++],L=(A[D>>>24]<<24|A[P>>>16&255]<<16|A[H>>>8&255]<<8|A[I&255])^C[O++],z=(A[P>>>24]<<24|A[H>>>16&255]<<16|A[I>>>8&255]<<8|A[D&255])^C[O++],R=(A[H>>>24]<<24|A[I>>>16&255]<<16|A[D>>>8&255]<<8|A[P&255])^C[O++];v[p]=_,v[p+1]=L,v[p+2]=z,v[p+3]=R},keySize:256/32});o.AES=i._createHelper(x)}(),t.AES})}(Xn)),Xn.exports}var Qn={exports:{}},wr;function ns(){return wr||(wr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),wt(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=r.BlockCipher,l=o.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],y=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=l.DES=s.extend({_doReset:function(){for(var E=this._key,x=E.words,v=[],p=0;p<56;p++){var C=f[p]-1;v[p]=x[C>>>5]>>>31-C%32&1}for(var w=this._subKeys=[],b=0;b<16;b++){for(var T=w[b]=[],B=d[b],p=0;p<24;p++)T[p/6|0]|=v[(c[p]-1+B)%28]<<31-p%6,T[4+(p/6|0)]|=v[28+(c[p+24]-1+B)%28]<<31-p%6;T[0]=T[0]<<1|T[0]>>>31;for(var p=1;p<7;p++)T[p]=T[p]>>>(p-1)*4+3;T[7]=T[7]<<5|T[7]>>>27}for(var A=this._invSubKeys=[],p=0;p<16;p++)A[p]=w[15-p]},encryptBlock:function(E,x){this._doCryptBlock(E,x,this._subKeys)},decryptBlock:function(E,x){this._doCryptBlock(E,x,this._invSubKeys)},_doCryptBlock:function(E,x,v){this._lBlock=E[x],this._rBlock=E[x+1],m.call(this,4,252645135),m.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),m.call(this,1,1431655765);for(var p=0;p<16;p++){for(var C=v[p],w=this._lBlock,b=this._rBlock,T=0,B=0;B<8;B++)T|=y[B][((b^C[B])&h[B])>>>0];this._lBlock=b,this._rBlock=w^T}var A=this._lBlock;this._lBlock=this._rBlock,this._rBlock=A,m.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),E[x]=this._lBlock,E[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function m(E,x){var v=(this._lBlock>>>E^this._rBlock)&x;this._rBlock^=v,this._lBlock^=v<<E}function g(E,x){var v=(this._rBlock>>>E^this._lBlock)&x;this._lBlock^=v,this._rBlock^=v<<E}o.DES=s._createHelper(u);var S=l.TripleDES=s.extend({_doReset:function(){var E=this._key,x=E.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var v=x.slice(0,2),p=x.length<4?x.slice(0,2):x.slice(2,4),C=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=u.createEncryptor(i.create(v)),this._des2=u.createEncryptor(i.create(p)),this._des3=u.createEncryptor(i.create(C))},encryptBlock:function(E,x){this._des1.encryptBlock(E,x),this._des2.decryptBlock(E,x),this._des3.encryptBlock(E,x)},decryptBlock:function(E,x){this._des3.decryptBlock(E,x),this._des2.encryptBlock(E,x),this._des1.decryptBlock(E,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});o.TripleDES=s._createHelper(S)}(),t.TripleDES})}(Qn)),Qn.exports}var Jn={exports:{}},Sr;function os(){return Sr||(Sr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),wt(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.StreamCipher,s=o.algo,l=s.RC4=i.extend({_doReset:function(){for(var d=this._key,y=d.words,h=d.sigBytes,u=this._S=[],m=0;m<256;m++)u[m]=m;for(var m=0,g=0;m<256;m++){var S=m%h,E=y[S>>>2]>>>24-S%4*8&255;g=(g+u[m]+E)%256;var x=u[m];u[m]=u[g],u[g]=x}this._i=this._j=0},_doProcessBlock:function(d,y){d[y]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var d=this._S,y=this._i,h=this._j,u=0,m=0;m<4;m++){y=(y+1)%256,h=(h+d[y])%256;var g=d[y];d[y]=d[h],d[h]=g,u|=d[(d[y]+d[h])%256]<<24-m*8}return this._i=y,this._j=h,u}o.RC4=i._createHelper(l);var c=s.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)f.call(this)}});o.RC4Drop=i._createHelper(c)}(),t.RC4})}(Jn)),Jn.exports}var eo={exports:{}},Cr;function as(){return Cr||(Cr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),wt(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.StreamCipher,s=o.algo,l=[],f=[],c=[],d=s.Rabbit=i.extend({_doReset:function(){for(var h=this._key.words,u=this.cfg.iv,m=0;m<4;m++)h[m]=(h[m]<<8|h[m]>>>24)&16711935|(h[m]<<24|h[m]>>>8)&4278255360;var g=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],S=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var m=0;m<4;m++)y.call(this);for(var m=0;m<8;m++)S[m]^=g[m+4&7];if(u){var E=u.words,x=E[0],v=E[1],p=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,w=p>>>16|C&4294901760,b=C<<16|p&65535;S[0]^=p,S[1]^=w,S[2]^=C,S[3]^=b,S[4]^=p,S[5]^=w,S[6]^=C,S[7]^=b;for(var m=0;m<4;m++)y.call(this)}},_doProcessBlock:function(h,u){var m=this._X;y.call(this),l[0]=m[0]^m[5]>>>16^m[3]<<16,l[1]=m[2]^m[7]>>>16^m[5]<<16,l[2]=m[4]^m[1]>>>16^m[7]<<16,l[3]=m[6]^m[3]>>>16^m[1]<<16;for(var g=0;g<4;g++)l[g]=(l[g]<<8|l[g]>>>24)&16711935|(l[g]<<24|l[g]>>>8)&4278255360,h[u+g]^=l[g]},blockSize:128/32,ivSize:64/32});function y(){for(var h=this._X,u=this._C,m=0;m<8;m++)f[m]=u[m];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<f[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<f[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<f[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<f[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<f[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<f[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<f[6]>>>0?1:0)|0,this._b=u[7]>>>0<f[7]>>>0?1:0;for(var m=0;m<8;m++){var g=h[m]+u[m],S=g&65535,E=g>>>16,x=((S*S>>>17)+S*E>>>15)+E*E,v=((g&4294901760)*g|0)+((g&65535)*g|0);c[m]=x^v}h[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,h[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,h[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,h[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,h[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,h[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,h[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,h[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.Rabbit=i._createHelper(d)}(),t.Rabbit})}(eo)),eo.exports}var to={exports:{}},Ar;function rs(){return Ar||(Ar=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),wt(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.StreamCipher,s=o.algo,l=[],f=[],c=[],d=s.RabbitLegacy=i.extend({_doReset:function(){var h=this._key.words,u=this.cfg.iv,m=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],g=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var S=0;S<4;S++)y.call(this);for(var S=0;S<8;S++)g[S]^=m[S+4&7];if(u){var E=u.words,x=E[0],v=E[1],p=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,w=p>>>16|C&4294901760,b=C<<16|p&65535;g[0]^=p,g[1]^=w,g[2]^=C,g[3]^=b,g[4]^=p,g[5]^=w,g[6]^=C,g[7]^=b;for(var S=0;S<4;S++)y.call(this)}},_doProcessBlock:function(h,u){var m=this._X;y.call(this),l[0]=m[0]^m[5]>>>16^m[3]<<16,l[1]=m[2]^m[7]>>>16^m[5]<<16,l[2]=m[4]^m[1]>>>16^m[7]<<16,l[3]=m[6]^m[3]>>>16^m[1]<<16;for(var g=0;g<4;g++)l[g]=(l[g]<<8|l[g]>>>24)&16711935|(l[g]<<24|l[g]>>>8)&4278255360,h[u+g]^=l[g]},blockSize:128/32,ivSize:64/32});function y(){for(var h=this._X,u=this._C,m=0;m<8;m++)f[m]=u[m];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<f[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<f[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<f[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<f[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<f[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<f[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<f[6]>>>0?1:0)|0,this._b=u[7]>>>0<f[7]>>>0?1:0;for(var m=0;m<8;m++){var g=h[m]+u[m],S=g&65535,E=g>>>16,x=((S*S>>>17)+S*E>>>15)+E*E,v=((g&4294901760)*g|0)+((g&65535)*g|0);c[m]=x^v}h[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,h[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,h[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,h[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,h[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,h[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,h[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,h[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.RabbitLegacy=i._createHelper(d)}(),t.RabbitLegacy})}(to)),to.exports}(function(e,n){(function(t,o,r){e.exports=o(le(),Gt(),Ml(),zl(),bt(),Pl(),wt(),Bn(),Qa(),Fl(),tr(),Hl(),ql(),Vl(),Mn(),jl(),ut(),_e(),Gl(),Ul(),Wl(),$l(),Zl(),Yl(),Kl(),Xl(),Ql(),Jl(),es(),ts(),ns(),os(),as(),rs())})(te,function(t){return t})})(Va);var is=Va.exports;const He=qa(is);var ls="0123456789abcdefghijklmnopqrstuvwxyz";function Je(e){return ls.charAt(e)}function ss(e,n){return e&n}function Ut(e,n){return e|n}function kr(e,n){return e^n}function Er(e,n){return e&~n}function cs(e){if(e==0)return-1;var n=0;return e&65535||(e>>=16,n+=16),e&255||(e>>=8,n+=8),e&15||(e>>=4,n+=4),e&3||(e>>=2,n+=2),e&1||++n,n}function fs(e){for(var n=0;e!=0;)e&=e-1,++n;return n}var St="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Tr="=";function Wt(e){var n,t,o="";for(n=0;n+3<=e.length;n+=3)t=parseInt(e.substring(n,n+3),16),o+=St.charAt(t>>6)+St.charAt(t&63);for(n+1==e.length?(t=parseInt(e.substring(n,n+1),16),o+=St.charAt(t<<2)):n+2==e.length&&(t=parseInt(e.substring(n,n+2),16),o+=St.charAt(t>>2)+St.charAt((t&3)<<4));(o.length&3)>0;)o+=Tr;return o}function Br(e){var n="",t,o=0,r=0;for(t=0;t<e.length&&e.charAt(t)!=Tr;++t){var i=St.indexOf(e.charAt(t));i<0||(o==0?(n+=Je(i>>2),r=i&3,o=1):o==1?(n+=Je(r<<2|i>>4),r=i&15,o=2):o==2?(n+=Je(r),n+=Je(i>>2),r=i&3,o=3):(n+=Je(r<<2|i>>4),n+=Je(i&15),o=0))}return o==1&&(n+=Je(r<<2)),n}var Ct,ds={decode:function(e){var n;if(Ct===void 0){var t="0123456789ABCDEF",o=` \f
71
+ */return t.mode.CTRGladman=function(){var o=t.lib.BlockCipherMode.extend();function r(l){if((l>>24&255)===255){var f=l>>16&255,c=l>>8&255,d=l&255;f===255?(f=0,c===255?(c=0,d===255?d=0:++d):++c):++f,l=0,l+=f<<16,l+=c<<8,l+=d}else l+=1<<24;return l}function i(l){return(l[0]=r(l[0]))===0&&(l[1]=r(l[1])),l}var s=o.Encryptor=o.extend({processBlock:function(l,f){var c=this._cipher,d=c.blockSize,y=this._iv,h=this._counter;y&&(h=this._counter=y.slice(0),this._iv=void 0),i(h);var u=h.slice(0);c.encryptBlock(u,0);for(var m=0;m<d;m++)l[f+m]^=u[m]}});return o.Decryptor=s,o}(),t.mode.CTRGladman})}(Vn)),Vn.exports}var jn={exports:{}},gr;function Jl(){return gr||(gr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.OFB=function(){var o=t.lib.BlockCipherMode.extend(),r=o.Encryptor=o.extend({processBlock:function(i,s){var l=this._cipher,f=l.blockSize,c=this._iv,d=this._keystream;c&&(d=this._keystream=c.slice(0),this._iv=void 0),l.encryptBlock(d,0);for(var y=0;y<f;y++)i[s+y]^=d[y]}});return o.Decryptor=r,o}(),t.mode.OFB})}(jn)),jn.exports}var Gn={exports:{}},mr;function es(){return mr||(mr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.mode.ECB=function(){var o=t.lib.BlockCipherMode.extend();return o.Encryptor=o.extend({processBlock:function(r,i){this._cipher.encryptBlock(r,i)}}),o.Decryptor=o.extend({processBlock:function(r,i){this._cipher.decryptBlock(r,i)}}),o}(),t.mode.ECB})}(Gn)),Gn.exports}var Un={exports:{}},xr;function ts(){return xr||(xr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.AnsiX923={pad:function(o,r){var i=o.sigBytes,s=r*4,l=s-i%s,f=i+l-1;o.clamp(),o.words[f>>>2]|=l<<24-f%4*8,o.sigBytes+=l},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},t.pad.Ansix923})}(Un)),Un.exports}var Wn={exports:{}},yr;function ns(){return yr||(yr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.Iso10126={pad:function(o,r){var i=r*4,s=i-o.sigBytes%i;o.concat(t.lib.WordArray.random(s-1)).concat(t.lib.WordArray.create([s<<24],1))},unpad:function(o){var r=o.words[o.sigBytes-1>>>2]&255;o.sigBytes-=r}},t.pad.Iso10126})}(Wn)),Wn.exports}var $n={exports:{}},pr;function os(){return pr||(pr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.Iso97971={pad:function(o,r){o.concat(t.lib.WordArray.create([2147483648],1)),t.pad.ZeroPadding.pad(o,r)},unpad:function(o){t.pad.ZeroPadding.unpad(o),o.sigBytes--}},t.pad.Iso97971})}($n)),$n.exports}var Zn={exports:{}},vr;function as(){return vr||(vr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.ZeroPadding={pad:function(o,r){var i=r*4;o.clamp(),o.sigBytes+=i-(o.sigBytes%i||i)},unpad:function(o){for(var r=o.words,i=o.sigBytes-1,i=o.sigBytes-1;i>=0;i--)if(r[i>>>2]>>>24-i%4*8&255){o.sigBytes=i+1;break}}},t.pad.ZeroPadding})}(Zn)),Zn.exports}var Yn={exports:{}},br;function rs(){return br||(br=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return t.pad.NoPadding={pad:function(){},unpad:function(){}},t.pad.NoPadding})}(Yn)),Yn.exports}var Kn={exports:{}},Sr;function is(){return Sr||(Sr=1,function(e,n){(function(t,o,r){e.exports=o(le(),_e())})(te,function(t){return function(o){var r=t,i=r.lib,s=i.CipherParams,l=r.enc,f=l.Hex,c=r.format;c.Hex={stringify:function(d){return d.ciphertext.toString(f)},parse:function(d){var y=f.parse(d);return s.create({ciphertext:y})}}}(),t.format.Hex})}(Kn)),Kn.exports}var Xn={exports:{}},wr;function ls(){return wr||(wr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),St(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.BlockCipher,s=o.algo,l=[],f=[],c=[],d=[],y=[],h=[],u=[],m=[],g=[],w=[];(function(){for(var v=[],p=0;p<256;p++)p<128?v[p]=p<<1:v[p]=p<<1^283;for(var C=0,S=0,p=0;p<256;p++){var b=S^S<<1^S<<2^S<<3^S<<4;b=b>>>8^b&255^99,l[C]=b,f[b]=C;var E=v[C],B=v[E],A=v[B],k=v[b]*257^b*16843008;c[C]=k<<24|k>>>8,d[C]=k<<16|k>>>16,y[C]=k<<8|k>>>24,h[C]=k;var k=A*16843009^B*65537^E*257^C*16843008;u[b]=k<<24|k>>>8,m[b]=k<<16|k>>>16,g[b]=k<<8|k>>>24,w[b]=k,C?(C=E^v[v[v[A^E]]],S^=v[v[S]]):C=S=1}})();var T=[0,1,2,4,8,16,32,64,128,27,54],x=s.AES=i.extend({_doReset:function(){var v;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var p=this._keyPriorReset=this._key,C=p.words,S=p.sigBytes/4,b=this._nRounds=S+6,E=(b+1)*4,B=this._keySchedule=[],A=0;A<E;A++)A<S?B[A]=C[A]:(v=B[A-1],A%S?S>6&&A%S==4&&(v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255]):(v=v<<8|v>>>24,v=l[v>>>24]<<24|l[v>>>16&255]<<16|l[v>>>8&255]<<8|l[v&255],v^=T[A/S|0]<<24),B[A]=B[A-S]^v);for(var k=this._invKeySchedule=[],I=0;I<E;I++){var A=E-I;if(I%4)var v=B[A];else var v=B[A-4];I<4||A<=4?k[I]=v:k[I]=u[l[v>>>24]]^m[l[v>>>16&255]]^g[l[v>>>8&255]]^w[l[v&255]]}}},encryptBlock:function(v,p){this._doCryptBlock(v,p,this._keySchedule,c,d,y,h,l)},decryptBlock:function(v,p){var C=v[p+1];v[p+1]=v[p+3],v[p+3]=C,this._doCryptBlock(v,p,this._invKeySchedule,u,m,g,w,f);var C=v[p+1];v[p+1]=v[p+3],v[p+3]=C},_doCryptBlock:function(v,p,C,S,b,E,B,A){for(var k=this._nRounds,I=v[p]^C[0],D=v[p+1]^C[1],P=v[p+2]^C[2],H=v[p+3]^C[3],O=4,V=1;V<k;V++){var _=S[I>>>24]^b[D>>>16&255]^E[P>>>8&255]^B[H&255]^C[O++],L=S[D>>>24]^b[P>>>16&255]^E[H>>>8&255]^B[I&255]^C[O++],M=S[P>>>24]^b[H>>>16&255]^E[I>>>8&255]^B[D&255]^C[O++],R=S[H>>>24]^b[I>>>16&255]^E[D>>>8&255]^B[P&255]^C[O++];I=_,D=L,P=M,H=R}var _=(A[I>>>24]<<24|A[D>>>16&255]<<16|A[P>>>8&255]<<8|A[H&255])^C[O++],L=(A[D>>>24]<<24|A[P>>>16&255]<<16|A[H>>>8&255]<<8|A[I&255])^C[O++],M=(A[P>>>24]<<24|A[H>>>16&255]<<16|A[I>>>8&255]<<8|A[D&255])^C[O++],R=(A[H>>>24]<<24|A[I>>>16&255]<<16|A[D>>>8&255]<<8|A[P&255])^C[O++];v[p]=_,v[p+1]=L,v[p+2]=M,v[p+3]=R},keySize:256/32});o.AES=i._createHelper(x)}(),t.AES})}(Xn)),Xn.exports}var Qn={exports:{}},Cr;function ss(){return Cr||(Cr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),St(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.WordArray,s=r.BlockCipher,l=o.algo,f=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],c=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],d=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],y=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],h=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],u=l.DES=s.extend({_doReset:function(){for(var T=this._key,x=T.words,v=[],p=0;p<56;p++){var C=f[p]-1;v[p]=x[C>>>5]>>>31-C%32&1}for(var S=this._subKeys=[],b=0;b<16;b++){for(var E=S[b]=[],B=d[b],p=0;p<24;p++)E[p/6|0]|=v[(c[p]-1+B)%28]<<31-p%6,E[4+(p/6|0)]|=v[28+(c[p+24]-1+B)%28]<<31-p%6;E[0]=E[0]<<1|E[0]>>>31;for(var p=1;p<7;p++)E[p]=E[p]>>>(p-1)*4+3;E[7]=E[7]<<5|E[7]>>>27}for(var A=this._invSubKeys=[],p=0;p<16;p++)A[p]=S[15-p]},encryptBlock:function(T,x){this._doCryptBlock(T,x,this._subKeys)},decryptBlock:function(T,x){this._doCryptBlock(T,x,this._invSubKeys)},_doCryptBlock:function(T,x,v){this._lBlock=T[x],this._rBlock=T[x+1],m.call(this,4,252645135),m.call(this,16,65535),g.call(this,2,858993459),g.call(this,8,16711935),m.call(this,1,1431655765);for(var p=0;p<16;p++){for(var C=v[p],S=this._lBlock,b=this._rBlock,E=0,B=0;B<8;B++)E|=y[B][((b^C[B])&h[B])>>>0];this._lBlock=b,this._rBlock=S^E}var A=this._lBlock;this._lBlock=this._rBlock,this._rBlock=A,m.call(this,1,1431655765),g.call(this,8,16711935),g.call(this,2,858993459),m.call(this,16,65535),m.call(this,4,252645135),T[x]=this._lBlock,T[x+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function m(T,x){var v=(this._lBlock>>>T^this._rBlock)&x;this._rBlock^=v,this._lBlock^=v<<T}function g(T,x){var v=(this._rBlock>>>T^this._lBlock)&x;this._lBlock^=v,this._rBlock^=v<<T}o.DES=s._createHelper(u);var w=l.TripleDES=s.extend({_doReset:function(){var T=this._key,x=T.words;if(x.length!==2&&x.length!==4&&x.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var v=x.slice(0,2),p=x.length<4?x.slice(0,2):x.slice(2,4),C=x.length<6?x.slice(0,2):x.slice(4,6);this._des1=u.createEncryptor(i.create(v)),this._des2=u.createEncryptor(i.create(p)),this._des3=u.createEncryptor(i.create(C))},encryptBlock:function(T,x){this._des1.encryptBlock(T,x),this._des2.decryptBlock(T,x),this._des3.encryptBlock(T,x)},decryptBlock:function(T,x){this._des3.decryptBlock(T,x),this._des2.encryptBlock(T,x),this._des1.decryptBlock(T,x)},keySize:192/32,ivSize:64/32,blockSize:64/32});o.TripleDES=s._createHelper(w)}(),t.TripleDES})}(Qn)),Qn.exports}var Jn={exports:{}},Ar;function cs(){return Ar||(Ar=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),St(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.StreamCipher,s=o.algo,l=s.RC4=i.extend({_doReset:function(){for(var d=this._key,y=d.words,h=d.sigBytes,u=this._S=[],m=0;m<256;m++)u[m]=m;for(var m=0,g=0;m<256;m++){var w=m%h,T=y[w>>>2]>>>24-w%4*8&255;g=(g+u[m]+T)%256;var x=u[m];u[m]=u[g],u[g]=x}this._i=this._j=0},_doProcessBlock:function(d,y){d[y]^=f.call(this)},keySize:256/32,ivSize:0});function f(){for(var d=this._S,y=this._i,h=this._j,u=0,m=0;m<4;m++){y=(y+1)%256,h=(h+d[y])%256;var g=d[y];d[y]=d[h],d[h]=g,u|=d[(d[y]+d[h])%256]<<24-m*8}return this._i=y,this._j=h,u}o.RC4=i._createHelper(l);var c=s.RC4Drop=l.extend({cfg:l.cfg.extend({drop:192}),_doReset:function(){l._doReset.call(this);for(var d=this.cfg.drop;d>0;d--)f.call(this)}});o.RC4Drop=i._createHelper(c)}(),t.RC4})}(Jn)),Jn.exports}var eo={exports:{}},kr;function fs(){return kr||(kr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),St(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.StreamCipher,s=o.algo,l=[],f=[],c=[],d=s.Rabbit=i.extend({_doReset:function(){for(var h=this._key.words,u=this.cfg.iv,m=0;m<4;m++)h[m]=(h[m]<<8|h[m]>>>24)&16711935|(h[m]<<24|h[m]>>>8)&4278255360;var g=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],w=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var m=0;m<4;m++)y.call(this);for(var m=0;m<8;m++)w[m]^=g[m+4&7];if(u){var T=u.words,x=T[0],v=T[1],p=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,S=p>>>16|C&4294901760,b=C<<16|p&65535;w[0]^=p,w[1]^=S,w[2]^=C,w[3]^=b,w[4]^=p,w[5]^=S,w[6]^=C,w[7]^=b;for(var m=0;m<4;m++)y.call(this)}},_doProcessBlock:function(h,u){var m=this._X;y.call(this),l[0]=m[0]^m[5]>>>16^m[3]<<16,l[1]=m[2]^m[7]>>>16^m[5]<<16,l[2]=m[4]^m[1]>>>16^m[7]<<16,l[3]=m[6]^m[3]>>>16^m[1]<<16;for(var g=0;g<4;g++)l[g]=(l[g]<<8|l[g]>>>24)&16711935|(l[g]<<24|l[g]>>>8)&4278255360,h[u+g]^=l[g]},blockSize:128/32,ivSize:64/32});function y(){for(var h=this._X,u=this._C,m=0;m<8;m++)f[m]=u[m];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<f[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<f[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<f[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<f[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<f[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<f[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<f[6]>>>0?1:0)|0,this._b=u[7]>>>0<f[7]>>>0?1:0;for(var m=0;m<8;m++){var g=h[m]+u[m],w=g&65535,T=g>>>16,x=((w*w>>>17)+w*T>>>15)+T*T,v=((g&4294901760)*g|0)+((g&65535)*g|0);c[m]=x^v}h[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,h[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,h[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,h[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,h[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,h[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,h[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,h[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.Rabbit=i._createHelper(d)}(),t.Rabbit})}(eo)),eo.exports}var to={exports:{}},Tr;function ds(){return Tr||(Tr=1,function(e,n){(function(t,o,r){e.exports=o(le(),bt(),St(),ut(),_e())})(te,function(t){return function(){var o=t,r=o.lib,i=r.StreamCipher,s=o.algo,l=[],f=[],c=[],d=s.RabbitLegacy=i.extend({_doReset:function(){var h=this._key.words,u=this.cfg.iv,m=this._X=[h[0],h[3]<<16|h[2]>>>16,h[1],h[0]<<16|h[3]>>>16,h[2],h[1]<<16|h[0]>>>16,h[3],h[2]<<16|h[1]>>>16],g=this._C=[h[2]<<16|h[2]>>>16,h[0]&4294901760|h[1]&65535,h[3]<<16|h[3]>>>16,h[1]&4294901760|h[2]&65535,h[0]<<16|h[0]>>>16,h[2]&4294901760|h[3]&65535,h[1]<<16|h[1]>>>16,h[3]&4294901760|h[0]&65535];this._b=0;for(var w=0;w<4;w++)y.call(this);for(var w=0;w<8;w++)g[w]^=m[w+4&7];if(u){var T=u.words,x=T[0],v=T[1],p=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,C=(v<<8|v>>>24)&16711935|(v<<24|v>>>8)&4278255360,S=p>>>16|C&4294901760,b=C<<16|p&65535;g[0]^=p,g[1]^=S,g[2]^=C,g[3]^=b,g[4]^=p,g[5]^=S,g[6]^=C,g[7]^=b;for(var w=0;w<4;w++)y.call(this)}},_doProcessBlock:function(h,u){var m=this._X;y.call(this),l[0]=m[0]^m[5]>>>16^m[3]<<16,l[1]=m[2]^m[7]>>>16^m[5]<<16,l[2]=m[4]^m[1]>>>16^m[7]<<16,l[3]=m[6]^m[3]>>>16^m[1]<<16;for(var g=0;g<4;g++)l[g]=(l[g]<<8|l[g]>>>24)&16711935|(l[g]<<24|l[g]>>>8)&4278255360,h[u+g]^=l[g]},blockSize:128/32,ivSize:64/32});function y(){for(var h=this._X,u=this._C,m=0;m<8;m++)f[m]=u[m];u[0]=u[0]+1295307597+this._b|0,u[1]=u[1]+3545052371+(u[0]>>>0<f[0]>>>0?1:0)|0,u[2]=u[2]+886263092+(u[1]>>>0<f[1]>>>0?1:0)|0,u[3]=u[3]+1295307597+(u[2]>>>0<f[2]>>>0?1:0)|0,u[4]=u[4]+3545052371+(u[3]>>>0<f[3]>>>0?1:0)|0,u[5]=u[5]+886263092+(u[4]>>>0<f[4]>>>0?1:0)|0,u[6]=u[6]+1295307597+(u[5]>>>0<f[5]>>>0?1:0)|0,u[7]=u[7]+3545052371+(u[6]>>>0<f[6]>>>0?1:0)|0,this._b=u[7]>>>0<f[7]>>>0?1:0;for(var m=0;m<8;m++){var g=h[m]+u[m],w=g&65535,T=g>>>16,x=((w*w>>>17)+w*T>>>15)+T*T,v=((g&4294901760)*g|0)+((g&65535)*g|0);c[m]=x^v}h[0]=c[0]+(c[7]<<16|c[7]>>>16)+(c[6]<<16|c[6]>>>16)|0,h[1]=c[1]+(c[0]<<8|c[0]>>>24)+c[7]|0,h[2]=c[2]+(c[1]<<16|c[1]>>>16)+(c[0]<<16|c[0]>>>16)|0,h[3]=c[3]+(c[2]<<8|c[2]>>>24)+c[1]|0,h[4]=c[4]+(c[3]<<16|c[3]>>>16)+(c[2]<<16|c[2]>>>16)|0,h[5]=c[5]+(c[4]<<8|c[4]>>>24)+c[3]|0,h[6]=c[6]+(c[5]<<16|c[5]>>>16)+(c[4]<<16|c[4]>>>16)|0,h[7]=c[7]+(c[6]<<8|c[6]>>>24)+c[5]|0}o.RabbitLegacy=i._createHelper(d)}(),t.RabbitLegacy})}(to)),to.exports}(function(e,n){(function(t,o,r){e.exports=o(le(),Gt(),Vl(),jl(),bt(),Gl(),St(),Bn(),er(),Ul(),or(),Wl(),$l(),Zl(),zn(),Yl(),ut(),_e(),Kl(),Xl(),Ql(),Jl(),es(),ts(),ns(),os(),as(),rs(),is(),ls(),ss(),cs(),fs(),ds())})(te,function(t){return t})})(Ga);var us=Ga.exports;const He=ja(us);var hs="0123456789abcdefghijklmnopqrstuvwxyz";function Je(e){return hs.charAt(e)}function gs(e,n){return e&n}function Ut(e,n){return e|n}function Er(e,n){return e^n}function Br(e,n){return e&~n}function ms(e){if(e==0)return-1;var n=0;return e&65535||(e>>=16,n+=16),e&255||(e>>=8,n+=8),e&15||(e>>=4,n+=4),e&3||(e>>=2,n+=2),e&1||++n,n}function xs(e){for(var n=0;e!=0;)e&=e-1,++n;return n}var wt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",_r="=";function Wt(e){var n,t,o="";for(n=0;n+3<=e.length;n+=3)t=parseInt(e.substring(n,n+3),16),o+=wt.charAt(t>>6)+wt.charAt(t&63);for(n+1==e.length?(t=parseInt(e.substring(n,n+1),16),o+=wt.charAt(t<<2)):n+2==e.length&&(t=parseInt(e.substring(n,n+2),16),o+=wt.charAt(t>>2)+wt.charAt((t&3)<<4));(o.length&3)>0;)o+=_r;return o}function Dr(e){var n="",t,o=0,r=0;for(t=0;t<e.length&&e.charAt(t)!=_r;++t){var i=wt.indexOf(e.charAt(t));i<0||(o==0?(n+=Je(i>>2),r=i&3,o=1):o==1?(n+=Je(r<<2|i>>4),r=i&15,o=2):o==2?(n+=Je(r),n+=Je(i>>2),r=i&3,o=3):(n+=Je(r<<2|i>>4),n+=Je(i&15),o=0))}return o==1&&(n+=Je(r<<2)),n}var Ct,ys={decode:function(e){var n;if(Ct===void 0){var t="0123456789ABCDEF",o=` \f
72
72
  \r  \u2028\u2029`;for(Ct={},n=0;n<16;++n)Ct[t.charAt(n)]=n;for(t=t.toLowerCase(),n=10;n<16;++n)Ct[t.charAt(n)]=n;for(n=0;n<o.length;++n)Ct[o.charAt(n)]=-1}var r=[],i=0,s=0;for(n=0;n<e.length;++n){var l=e.charAt(n);if(l=="=")break;if(l=Ct[l],l!=-1){if(l===void 0)throw new Error("Illegal character at offset "+n);i|=l,++s>=2?(r[r.length]=i,i=0,s=0):i<<=4}}if(s)throw new Error("Hex encoding incomplete: 4 bits missing");return r}},ht,no={decode:function(e){var n;if(ht===void 0){var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=`= \f
73
- \r  \u2028\u2029`;for(ht=Object.create(null),n=0;n<64;++n)ht[t.charAt(n)]=n;for(ht["-"]=62,ht._=63,n=0;n<o.length;++n)ht[o.charAt(n)]=-1}var r=[],i=0,s=0;for(n=0;n<e.length;++n){var l=e.charAt(n);if(l=="=")break;if(l=ht[l],l!=-1){if(l===void 0)throw new Error("Illegal character at offset "+n);i|=l,++s>=4?(r[r.length]=i>>16,r[r.length]=i>>8&255,r[r.length]=i&255,i=0,s=0):i<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=i>>10;break;case 3:r[r.length]=i>>16,r[r.length]=i>>8&255;break}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var n=no.re.exec(e);if(n)if(n[1])e=n[1];else if(n[2])e=n[2];else throw new Error("RegExp out of sync");return no.decode(e)}},At=1e13,Mt=function(){function e(n){this.buf=[+n||0]}return e.prototype.mulAdd=function(n,t){var o=this.buf,r=o.length,i,s;for(i=0;i<r;++i)s=o[i]*n+t,s<At?t=0:(t=0|s/At,s-=t*At),o[i]=s;t>0&&(o[i]=t)},e.prototype.sub=function(n){var t=this.buf,o=t.length,r,i;for(r=0;r<o;++r)i=t[r]-n,i<0?(i+=At,n=1):n=0,t[r]=i;for(;t[t.length-1]===0;)t.pop()},e.prototype.toString=function(n){if((n||10)!=10)throw new Error("only base 10 is supported");for(var t=this.buf,o=t[t.length-1].toString(),r=t.length-2;r>=0;--r)o+=(At+t[r]).toString().substring(1);return o},e.prototype.valueOf=function(){for(var n=this.buf,t=0,o=n.length-1;o>=0;--o)t=t*At+n[o];return t},e.prototype.simplify=function(){var n=this.buf;return n.length==1?n[0]:this},e}(),_r="…",us=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,hs=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function kt(e,n){return e.length>n&&(e=e.substring(0,n)+_r),e}var oo=function(){function e(n,t){this.hexDigits="0123456789ABCDEF",n instanceof e?(this.enc=n.enc,this.pos=n.pos):(this.enc=n,this.pos=t)}return e.prototype.get=function(n){if(n===void 0&&(n=this.pos++),n>=this.enc.length)throw new Error("Requesting byte offset ".concat(n," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(n):this.enc[n]},e.prototype.hexByte=function(n){return this.hexDigits.charAt(n>>4&15)+this.hexDigits.charAt(n&15)},e.prototype.hexDump=function(n,t,o){for(var r="",i=n;i<t;++i)if(r+=this.hexByte(this.get(i)),o!==!0)switch(i&15){case 7:r+=" ";break;case 15:r+=`
74
- `;break;default:r+=" "}return r},e.prototype.isASCII=function(n,t){for(var o=n;o<t;++o){var r=this.get(o);if(r<32||r>176)return!1}return!0},e.prototype.parseStringISO=function(n,t){for(var o="",r=n;r<t;++r)o+=String.fromCharCode(this.get(r));return o},e.prototype.parseStringUTF=function(n,t){for(var o="",r=n;r<t;){var i=this.get(r++);i<128?o+=String.fromCharCode(i):i>191&&i<224?o+=String.fromCharCode((i&31)<<6|this.get(r++)&63):o+=String.fromCharCode((i&15)<<12|(this.get(r++)&63)<<6|this.get(r++)&63)}return o},e.prototype.parseStringBMP=function(n,t){for(var o="",r,i,s=n;s<t;)r=this.get(s++),i=this.get(s++),o+=String.fromCharCode(r<<8|i);return o},e.prototype.parseTime=function(n,t,o){var r=this.parseStringISO(n,t),i=(o?us:hs).exec(r);return i?(o&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),r=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(r+=":"+i[5],i[6]&&(r+=":"+i[6],i[7]&&(r+="."+i[7]))),i[8]&&(r+=" UTC",i[8]!="Z"&&(r+=i[8],i[9]&&(r+=":"+i[9]))),r):"Unrecognized time: "+r},e.prototype.parseInteger=function(n,t){for(var o=this.get(n),r=o>127,i=r?255:0,s,l="";o==i&&++n<t;)o=this.get(n);if(s=t-n,s===0)return r?-1:0;if(s>4){for(l=o,s<<=3;!((+l^i)&128);)l=+l<<1,--s;l="("+s+` bit)
75
- `}r&&(o=o-256);for(var f=new Mt(o),c=n+1;c<t;++c)f.mulAdd(256,this.get(c));return l+f.toString()},e.prototype.parseBitString=function(n,t,o){for(var r=this.get(n),i=(t-n-1<<3)-r,s="("+i+` bit)
73
+ \r  \u2028\u2029`;for(ht=Object.create(null),n=0;n<64;++n)ht[t.charAt(n)]=n;for(ht["-"]=62,ht._=63,n=0;n<o.length;++n)ht[o.charAt(n)]=-1}var r=[],i=0,s=0;for(n=0;n<e.length;++n){var l=e.charAt(n);if(l=="=")break;if(l=ht[l],l!=-1){if(l===void 0)throw new Error("Illegal character at offset "+n);i|=l,++s>=4?(r[r.length]=i>>16,r[r.length]=i>>8&255,r[r.length]=i&255,i=0,s=0):i<<=6}}switch(s){case 1:throw new Error("Base64 encoding incomplete: at least 2 bits missing");case 2:r[r.length]=i>>10;break;case 3:r[r.length]=i>>16,r[r.length]=i>>8&255;break}return r},re:/-----BEGIN [^-]+-----([A-Za-z0-9+\/=\s]+)-----END [^-]+-----|begin-base64[^\n]+\n([A-Za-z0-9+\/=\s]+)====/,unarmor:function(e){var n=no.re.exec(e);if(n)if(n[1])e=n[1];else if(n[2])e=n[2];else throw new Error("RegExp out of sync");return no.decode(e)}},At=1e13,zt=function(){function e(n){this.buf=[+n||0]}return e.prototype.mulAdd=function(n,t){var o=this.buf,r=o.length,i,s;for(i=0;i<r;++i)s=o[i]*n+t,s<At?t=0:(t=0|s/At,s-=t*At),o[i]=s;t>0&&(o[i]=t)},e.prototype.sub=function(n){var t=this.buf,o=t.length,r,i;for(r=0;r<o;++r)i=t[r]-n,i<0?(i+=At,n=1):n=0,t[r]=i;for(;t[t.length-1]===0;)t.pop()},e.prototype.toString=function(n){if((n||10)!=10)throw new Error("only base 10 is supported");for(var t=this.buf,o=t[t.length-1].toString(),r=t.length-2;r>=0;--r)o+=(At+t[r]).toString().substring(1);return o},e.prototype.valueOf=function(){for(var n=this.buf,t=0,o=n.length-1;o>=0;--o)t=t*At+n[o];return t},e.prototype.simplify=function(){var n=this.buf;return n.length==1?n[0]:this},e}(),Rr="…",ps=/^(\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/,vs=/^(\d\d\d\d)(0[1-9]|1[0-2])(0[1-9]|[12]\d|3[01])([01]\d|2[0-3])(?:([0-5]\d)(?:([0-5]\d)(?:[.,](\d{1,3}))?)?)?(Z|[-+](?:[0]\d|1[0-2])([0-5]\d)?)?$/;function kt(e,n){return e.length>n&&(e=e.substring(0,n)+Rr),e}var oo=function(){function e(n,t){this.hexDigits="0123456789ABCDEF",n instanceof e?(this.enc=n.enc,this.pos=n.pos):(this.enc=n,this.pos=t)}return e.prototype.get=function(n){if(n===void 0&&(n=this.pos++),n>=this.enc.length)throw new Error("Requesting byte offset ".concat(n," on a stream of length ").concat(this.enc.length));return typeof this.enc=="string"?this.enc.charCodeAt(n):this.enc[n]},e.prototype.hexByte=function(n){return this.hexDigits.charAt(n>>4&15)+this.hexDigits.charAt(n&15)},e.prototype.hexDump=function(n,t,o){for(var r="",i=n;i<t;++i)if(r+=this.hexByte(this.get(i)),o!==!0)switch(i&15){case 7:r+=" ";break;case 15:r+=`
74
+ `;break;default:r+=" "}return r},e.prototype.isASCII=function(n,t){for(var o=n;o<t;++o){var r=this.get(o);if(r<32||r>176)return!1}return!0},e.prototype.parseStringISO=function(n,t){for(var o="",r=n;r<t;++r)o+=String.fromCharCode(this.get(r));return o},e.prototype.parseStringUTF=function(n,t){for(var o="",r=n;r<t;){var i=this.get(r++);i<128?o+=String.fromCharCode(i):i>191&&i<224?o+=String.fromCharCode((i&31)<<6|this.get(r++)&63):o+=String.fromCharCode((i&15)<<12|(this.get(r++)&63)<<6|this.get(r++)&63)}return o},e.prototype.parseStringBMP=function(n,t){for(var o="",r,i,s=n;s<t;)r=this.get(s++),i=this.get(s++),o+=String.fromCharCode(r<<8|i);return o},e.prototype.parseTime=function(n,t,o){var r=this.parseStringISO(n,t),i=(o?ps:vs).exec(r);return i?(o&&(i[1]=+i[1],i[1]+=+i[1]<70?2e3:1900),r=i[1]+"-"+i[2]+"-"+i[3]+" "+i[4],i[5]&&(r+=":"+i[5],i[6]&&(r+=":"+i[6],i[7]&&(r+="."+i[7]))),i[8]&&(r+=" UTC",i[8]!="Z"&&(r+=i[8],i[9]&&(r+=":"+i[9]))),r):"Unrecognized time: "+r},e.prototype.parseInteger=function(n,t){for(var o=this.get(n),r=o>127,i=r?255:0,s,l="";o==i&&++n<t;)o=this.get(n);if(s=t-n,s===0)return r?-1:0;if(s>4){for(l=o,s<<=3;!((+l^i)&128);)l=+l<<1,--s;l="("+s+` bit)
75
+ `}r&&(o=o-256);for(var f=new zt(o),c=n+1;c<t;++c)f.mulAdd(256,this.get(c));return l+f.toString()},e.prototype.parseBitString=function(n,t,o){for(var r=this.get(n),i=(t-n-1<<3)-r,s="("+i+` bit)
76
76
  `,l="",f=n+1;f<t;++f){for(var c=this.get(f),d=f==t-1?r:0,y=7;y>=d;--y)l+=c>>y&1?"1":"0";if(l.length>o)return s+kt(l,o)}return s+l},e.prototype.parseOctetString=function(n,t,o){if(this.isASCII(n,t))return kt(this.parseStringISO(n,t),o);var r=t-n,i="("+r+` byte)
77
- `;o/=2,r>o&&(t=n+o);for(var s=n;s<t;++s)i+=this.hexByte(this.get(s));return r>o&&(i+=_r),i},e.prototype.parseOID=function(n,t,o){for(var r="",i=new Mt,s=0,l=n;l<t;++l){var f=this.get(l);if(i.mulAdd(128,f&127),s+=7,!(f&128)){if(r==="")if(i=i.simplify(),i instanceof Mt)i.sub(80),r="2."+i.toString();else{var c=i<80?i<40?0:1:2;r=c+"."+(i-c*40)}else r+="."+i.toString();if(r.length>o)return kt(r,o);i=new Mt,s=0}}return s>0&&(r+=".incomplete"),r},e}(),gs=function(){function e(n,t,o,r,i){if(!(r instanceof Dr))throw new Error("Invalid tag value.");this.stream=n,this.header=t,this.length=o,this.tag=r,this.sub=i}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(n){if(this.tag===void 0)return null;n===void 0&&(n=1/0);var t=this.posContent(),o=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+o,n);switch(this.tag.tagNumber){case 1:return this.stream.get(t)===0?"false":"true";case 2:return this.stream.parseInteger(t,t+o);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+o,n);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+o,n);case 6:return this.stream.parseOID(t,t+o,n);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return kt(this.stream.parseStringUTF(t,t+o),n);case 18:case 19:case 20:case 21:case 22:case 26:return kt(this.stream.parseStringISO(t,t+o),n);case 30:return kt(this.stream.parseStringBMP(t,t+o),n);case 23:case 24:return this.stream.parseTime(t,t+o,this.tag.tagNumber==23)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(n){n===void 0&&(n="");var t=n+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(t+=" (encapsulates)"),t+=`
78
- `,this.sub!==null){n+=" ";for(var o=0,r=this.sub.length;o<r;++o)t+=this.sub[o].toPrettyString(n)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(n){var t=n.get(),o=t&127;if(o==t)return o;if(o>6)throw new Error("Length over 48 bits not supported at position "+(n.pos-1));if(o===0)return null;t=0;for(var r=0;r<o;++r)t=t*256+n.get();return t},e.prototype.getHexStringValue=function(){var n=this.toHexString(),t=this.header*2,o=this.length*2;return n.substr(t,o)},e.decode=function(n){var t;n instanceof oo?t=n:t=new oo(n,0);var o=new oo(t),r=new Dr(t),i=e.decodeLength(t),s=t.pos,l=s-o.pos,f=null,c=function(){var y=[];if(i!==null){for(var h=s+i;t.pos<h;)y[y.length]=e.decode(t);if(t.pos!=h)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var u=e.decode(t);if(u.tag.isEOC())break;y[y.length]=u}i=s-t.pos}catch(m){throw new Error("Exception while decoding undefined length content: "+m)}return y};if(r.tagConstructed)f=c();else if(r.isUniversal()&&(r.tagNumber==3||r.tagNumber==4))try{if(r.tagNumber==3&&t.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");f=c();for(var d=0;d<f.length;++d)if(f[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch{f=null}if(f===null){if(i===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);t.pos=s+Math.abs(i)}return new e(o,l,i,r,f)},e}(),Dr=function(){function e(n){var t=n.get();if(this.tagClass=t>>6,this.tagConstructed=(t&32)!==0,this.tagNumber=t&31,this.tagNumber==31){var o=new Mt;do t=n.get(),o.mulAdd(128,t&127);while(t&128);this.tagNumber=o.simplify()}}return e.prototype.isUniversal=function(){return this.tagClass===0},e.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},e}(),at,ms=0xdeadbeefcafe,Rr=(ms&16777215)==15715070,Le=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],xs=(1<<26)/Le[Le.length-1],ee=function(){function e(n,t,o){n!=null&&(typeof n=="number"?this.fromNumber(n,t,o):t==null&&typeof n!="string"?this.fromString(n,256):this.fromString(n,t))}return e.prototype.toString=function(n){if(this.s<0)return"-"+this.negate().toString(n);var t;if(n==16)t=4;else if(n==8)t=3;else if(n==2)t=1;else if(n==32)t=5;else if(n==4)t=2;else return this.toRadix(n);var o=(1<<t)-1,r,i=!1,s="",l=this.t,f=this.DB-l*this.DB%t;if(l-- >0)for(f<this.DB&&(r=this[l]>>f)>0&&(i=!0,s=Je(r));l>=0;)f<t?(r=(this[l]&(1<<f)-1)<<t-f,r|=this[--l]>>(f+=this.DB-t)):(r=this[l]>>(f-=t)&o,f<=0&&(f+=this.DB,--l)),r>0&&(i=!0),i&&(s+=Je(r));return i?s:"0"},e.prototype.negate=function(){var n=oe();return e.ZERO.subTo(this,n),n},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(n){var t=this.s-n.s;if(t!=0)return t;var o=this.t;if(t=o-n.t,t!=0)return this.s<0?-t:t;for(;--o>=0;)if((t=this[o]-n[o])!=0)return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Zt(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(n){var t=oe();return this.abs().divRemTo(n,null,t),this.s<0&&t.compareTo(e.ZERO)>0&&n.subTo(t,t),t},e.prototype.modPowInt=function(n,t){var o;return n<256||t.isEven()?o=new Ir(t):o=new Or(t),this.exp(n,o)},e.prototype.clone=function(){var n=oe();return this.copyTo(n),n},e.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var n=this.t,t=[];t[0]=this.s;var o=this.DB-n*this.DB%8,r,i=0;if(n-- >0)for(o<this.DB&&(r=this[n]>>o)!=(this.s&this.DM)>>o&&(t[i++]=r|this.s<<this.DB-o);n>=0;)o<8?(r=(this[n]&(1<<o)-1)<<8-o,r|=this[--n]>>(o+=this.DB-8)):(r=this[n]>>(o-=8)&255,o<=0&&(o+=this.DB,--n)),r&128&&(r|=-256),i==0&&(this.s&128)!=(r&128)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},e.prototype.equals=function(n){return this.compareTo(n)==0},e.prototype.min=function(n){return this.compareTo(n)<0?this:n},e.prototype.max=function(n){return this.compareTo(n)>0?this:n},e.prototype.and=function(n){var t=oe();return this.bitwiseTo(n,ss,t),t},e.prototype.or=function(n){var t=oe();return this.bitwiseTo(n,Ut,t),t},e.prototype.xor=function(n){var t=oe();return this.bitwiseTo(n,kr,t),t},e.prototype.andNot=function(n){var t=oe();return this.bitwiseTo(n,Er,t),t},e.prototype.not=function(){for(var n=oe(),t=0;t<this.t;++t)n[t]=this.DM&~this[t];return n.t=this.t,n.s=~this.s,n},e.prototype.shiftLeft=function(n){var t=oe();return n<0?this.rShiftTo(-n,t):this.lShiftTo(n,t),t},e.prototype.shiftRight=function(n){var t=oe();return n<0?this.lShiftTo(-n,t):this.rShiftTo(n,t),t},e.prototype.getLowestSetBit=function(){for(var n=0;n<this.t;++n)if(this[n]!=0)return n*this.DB+cs(this[n]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var n=0,t=this.s&this.DM,o=0;o<this.t;++o)n+=fs(this[o]^t);return n},e.prototype.testBit=function(n){var t=Math.floor(n/this.DB);return t>=this.t?this.s!=0:(this[t]&1<<n%this.DB)!=0},e.prototype.setBit=function(n){return this.changeBit(n,Ut)},e.prototype.clearBit=function(n){return this.changeBit(n,Er)},e.prototype.flipBit=function(n){return this.changeBit(n,kr)},e.prototype.add=function(n){var t=oe();return this.addTo(n,t),t},e.prototype.subtract=function(n){var t=oe();return this.subTo(n,t),t},e.prototype.multiply=function(n){var t=oe();return this.multiplyTo(n,t),t},e.prototype.divide=function(n){var t=oe();return this.divRemTo(n,t,null),t},e.prototype.remainder=function(n){var t=oe();return this.divRemTo(n,null,t),t},e.prototype.divideAndRemainder=function(n){var t=oe(),o=oe();return this.divRemTo(n,t,o),[t,o]},e.prototype.modPow=function(n,t){var o=n.bitLength(),r,i=rt(1),s;if(o<=0)return i;o<18?r=1:o<48?r=3:o<144?r=4:o<768?r=5:r=6,o<8?s=new Ir(t):t.isEven()?s=new ps(t):s=new Or(t);var l=[],f=3,c=r-1,d=(1<<r)-1;if(l[1]=s.convert(this),r>1){var y=oe();for(s.sqrTo(l[1],y);f<=d;)l[f]=oe(),s.mulTo(y,l[f-2],l[f]),f+=2}var h=n.t-1,u,m=!0,g=oe(),S;for(o=Zt(n[h])-1;h>=0;){for(o>=c?u=n[h]>>o-c&d:(u=(n[h]&(1<<o+1)-1)<<c-o,h>0&&(u|=n[h-1]>>this.DB+o-c)),f=r;!(u&1);)u>>=1,--f;if((o-=f)<0&&(o+=this.DB,--h),m)l[u].copyTo(i),m=!1;else{for(;f>1;)s.sqrTo(i,g),s.sqrTo(g,i),f-=2;f>0?s.sqrTo(i,g):(S=i,i=g,g=S),s.mulTo(g,l[u],i)}for(;h>=0&&!(n[h]&1<<o);)s.sqrTo(i,g),S=i,i=g,g=S,--o<0&&(o=this.DB-1,--h)}return s.revert(i)},e.prototype.modInverse=function(n){var t=n.isEven();if(this.isEven()&&t||n.signum()==0)return e.ZERO;for(var o=n.clone(),r=this.clone(),i=rt(1),s=rt(0),l=rt(0),f=rt(1);o.signum()!=0;){for(;o.isEven();)o.rShiftTo(1,o),t?((!i.isEven()||!s.isEven())&&(i.addTo(this,i),s.subTo(n,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(n,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),t?((!l.isEven()||!f.isEven())&&(l.addTo(this,l),f.subTo(n,f)),l.rShiftTo(1,l)):f.isEven()||f.subTo(n,f),f.rShiftTo(1,f);o.compareTo(r)>=0?(o.subTo(r,o),t&&i.subTo(l,i),s.subTo(f,s)):(r.subTo(o,r),t&&l.subTo(i,l),f.subTo(s,f))}if(r.compareTo(e.ONE)!=0)return e.ZERO;if(f.compareTo(n)>=0)return f.subtract(n);if(f.signum()<0)f.addTo(n,f);else return f;return f.signum()<0?f.add(n):f},e.prototype.pow=function(n){return this.exp(n,new ys)},e.prototype.gcd=function(n){var t=this.s<0?this.negate():this.clone(),o=n.s<0?n.negate():n.clone();if(t.compareTo(o)<0){var r=t;t=o,o=r}var i=t.getLowestSetBit(),s=o.getLowestSetBit();if(s<0)return t;for(i<s&&(s=i),s>0&&(t.rShiftTo(s,t),o.rShiftTo(s,o));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=o.getLowestSetBit())>0&&o.rShiftTo(i,o),t.compareTo(o)>=0?(t.subTo(o,t),t.rShiftTo(1,t)):(o.subTo(t,o),o.rShiftTo(1,o));return s>0&&o.lShiftTo(s,o),o},e.prototype.isProbablePrime=function(n){var t,o=this.abs();if(o.t==1&&o[0]<=Le[Le.length-1]){for(t=0;t<Le.length;++t)if(o[0]==Le[t])return!0;return!1}if(o.isEven())return!1;for(t=1;t<Le.length;){for(var r=Le[t],i=t+1;i<Le.length&&r<xs;)r*=Le[i++];for(r=o.modInt(r);t<i;)if(r%Le[t++]==0)return!1}return o.millerRabin(n)},e.prototype.copyTo=function(n){for(var t=this.t-1;t>=0;--t)n[t]=this[t];n.t=this.t,n.s=this.s},e.prototype.fromInt=function(n){this.t=1,this.s=n<0?-1:0,n>0?this[0]=n:n<-1?this[0]=n+this.DV:this.t=0},e.prototype.fromString=function(n,t){var o;if(t==16)o=4;else if(t==8)o=3;else if(t==256)o=8;else if(t==2)o=1;else if(t==32)o=5;else if(t==4)o=2;else{this.fromRadix(n,t);return}this.t=0,this.s=0;for(var r=n.length,i=!1,s=0;--r>=0;){var l=o==8?+n[r]&255:Nr(n,r);if(l<0){n.charAt(r)=="-"&&(i=!0);continue}i=!1,s==0?this[this.t++]=l:s+o>this.DB?(this[this.t-1]|=(l&(1<<this.DB-s)-1)<<s,this[this.t++]=l>>this.DB-s):this[this.t-1]|=l<<s,s+=o,s>=this.DB&&(s-=this.DB)}o==8&&+n[0]&128&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),i&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var n=this.s&this.DM;this.t>0&&this[this.t-1]==n;)--this.t},e.prototype.dlShiftTo=function(n,t){var o;for(o=this.t-1;o>=0;--o)t[o+n]=this[o];for(o=n-1;o>=0;--o)t[o]=0;t.t=this.t+n,t.s=this.s},e.prototype.drShiftTo=function(n,t){for(var o=n;o<this.t;++o)t[o-n]=this[o];t.t=Math.max(this.t-n,0),t.s=this.s},e.prototype.lShiftTo=function(n,t){for(var o=n%this.DB,r=this.DB-o,i=(1<<r)-1,s=Math.floor(n/this.DB),l=this.s<<o&this.DM,f=this.t-1;f>=0;--f)t[f+s+1]=this[f]>>r|l,l=(this[f]&i)<<o;for(var f=s-1;f>=0;--f)t[f]=0;t[s]=l,t.t=this.t+s+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(n,t){t.s=this.s;var o=Math.floor(n/this.DB);if(o>=this.t){t.t=0;return}var r=n%this.DB,i=this.DB-r,s=(1<<r)-1;t[0]=this[o]>>r;for(var l=o+1;l<this.t;++l)t[l-o-1]|=(this[l]&s)<<i,t[l-o]=this[l]>>r;r>0&&(t[this.t-o-1]|=(this.s&s)<<i),t.t=this.t-o,t.clamp()},e.prototype.subTo=function(n,t){for(var o=0,r=0,i=Math.min(n.t,this.t);o<i;)r+=this[o]-n[o],t[o++]=r&this.DM,r>>=this.DB;if(n.t<this.t){for(r-=n.s;o<this.t;)r+=this[o],t[o++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;o<n.t;)r-=n[o],t[o++]=r&this.DM,r>>=this.DB;r-=n.s}t.s=r<0?-1:0,r<-1?t[o++]=this.DV+r:r>0&&(t[o++]=r),t.t=o,t.clamp()},e.prototype.multiplyTo=function(n,t){var o=this.abs(),r=n.abs(),i=o.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i<r.t;++i)t[i+o.t]=o.am(0,r[i],t,i,0,o.t);t.s=0,t.clamp(),this.s!=n.s&&e.ZERO.subTo(t,t)},e.prototype.squareTo=function(n){for(var t=this.abs(),o=n.t=2*t.t;--o>=0;)n[o]=0;for(o=0;o<t.t-1;++o){var r=t.am(o,t[o],n,2*o,0,1);(n[o+t.t]+=t.am(o+1,2*t[o],n,2*o+1,r,t.t-o-1))>=t.DV&&(n[o+t.t]-=t.DV,n[o+t.t+1]=1)}n.t>0&&(n[n.t-1]+=t.am(o,t[o],n,2*o,0,1)),n.s=0,n.clamp()},e.prototype.divRemTo=function(n,t,o){var r=n.abs();if(!(r.t<=0)){var i=this.abs();if(i.t<r.t){t!=null&&t.fromInt(0),o!=null&&this.copyTo(o);return}o==null&&(o=oe());var s=oe(),l=this.s,f=n.s,c=this.DB-Zt(r[r.t-1]);c>0?(r.lShiftTo(c,s),i.lShiftTo(c,o)):(r.copyTo(s),i.copyTo(o));var d=s.t,y=s[d-1];if(y!=0){var h=y*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),u=this.FV/h,m=(1<<this.F1)/h,g=1<<this.F2,S=o.t,E=S-d,x=t??oe();for(s.dlShiftTo(E,x),o.compareTo(x)>=0&&(o[o.t++]=1,o.subTo(x,o)),e.ONE.dlShiftTo(d,x),x.subTo(s,s);s.t<d;)s[s.t++]=0;for(;--E>=0;){var v=o[--S]==y?this.DM:Math.floor(o[S]*u+(o[S-1]+g)*m);if((o[S]+=s.am(0,v,o,E,0,d))<v)for(s.dlShiftTo(E,x),o.subTo(x,o);o[S]<--v;)o.subTo(x,o)}t!=null&&(o.drShiftTo(d,t),l!=f&&e.ZERO.subTo(t,t)),o.t=d,o.clamp(),c>0&&o.rShiftTo(c,o),l<0&&e.ZERO.subTo(o,o)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var n=this[0];if(!(n&1))return 0;var t=n&3;return t=t*(2-(n&15)*t)&15,t=t*(2-(n&255)*t)&255,t=t*(2-((n&65535)*t&65535))&65535,t=t*(2-n*t%this.DV)%this.DV,t>0?this.DV-t:-t},e.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},e.prototype.exp=function(n,t){if(n>4294967295||n<1)return e.ONE;var o=oe(),r=oe(),i=t.convert(this),s=Zt(n)-1;for(i.copyTo(o);--s>=0;)if(t.sqrTo(o,r),(n&1<<s)>0)t.mulTo(r,i,o);else{var l=o;o=r,r=l}return t.revert(o)},e.prototype.chunkSize=function(n){return Math.floor(Math.LN2*this.DB/Math.log(n))},e.prototype.toRadix=function(n){if(n==null&&(n=10),this.signum()==0||n<2||n>36)return"0";var t=this.chunkSize(n),o=Math.pow(n,t),r=rt(o),i=oe(),s=oe(),l="";for(this.divRemTo(r,i,s);i.signum()>0;)l=(o+s.intValue()).toString(n).substr(1)+l,i.divRemTo(r,i,s);return s.intValue().toString(n)+l},e.prototype.fromRadix=function(n,t){this.fromInt(0),t==null&&(t=10);for(var o=this.chunkSize(t),r=Math.pow(t,o),i=!1,s=0,l=0,f=0;f<n.length;++f){var c=Nr(n,f);if(c<0){n.charAt(f)=="-"&&this.signum()==0&&(i=!0);continue}l=t*l+c,++s>=o&&(this.dMultiply(r),this.dAddOffset(l,0),s=0,l=0)}s>0&&(this.dMultiply(Math.pow(t,s)),this.dAddOffset(l,0)),i&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(n,t,o){if(typeof t=="number")if(n<2)this.fromInt(1);else for(this.fromNumber(n,o),this.testBit(n-1)||this.bitwiseTo(e.ONE.shiftLeft(n-1),Ut,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>n&&this.subTo(e.ONE.shiftLeft(n-1),this);else{var r=[],i=n&7;r.length=(n>>3)+1,t.nextBytes(r),i>0?r[0]&=(1<<i)-1:r[0]=0,this.fromString(r,256)}},e.prototype.bitwiseTo=function(n,t,o){var r,i,s=Math.min(n.t,this.t);for(r=0;r<s;++r)o[r]=t(this[r],n[r]);if(n.t<this.t){for(i=n.s&this.DM,r=s;r<this.t;++r)o[r]=t(this[r],i);o.t=this.t}else{for(i=this.s&this.DM,r=s;r<n.t;++r)o[r]=t(i,n[r]);o.t=n.t}o.s=t(this.s,n.s),o.clamp()},e.prototype.changeBit=function(n,t){var o=e.ONE.shiftLeft(n);return this.bitwiseTo(o,t,o),o},e.prototype.addTo=function(n,t){for(var o=0,r=0,i=Math.min(n.t,this.t);o<i;)r+=this[o]+n[o],t[o++]=r&this.DM,r>>=this.DB;if(n.t<this.t){for(r+=n.s;o<this.t;)r+=this[o],t[o++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;o<n.t;)r+=n[o],t[o++]=r&this.DM,r>>=this.DB;r+=n.s}t.s=r<0?-1:0,r>0?t[o++]=r:r<-1&&(t[o++]=this.DV+r),t.t=o,t.clamp()},e.prototype.dMultiply=function(n){this[this.t]=this.am(0,n-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(n,t){if(n!=0){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=n;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(n,t,o){var r=Math.min(this.t+n.t,t);for(o.s=0,o.t=r;r>0;)o[--r]=0;for(var i=o.t-this.t;r<i;++r)o[r+this.t]=this.am(0,n[r],o,r,0,this.t);for(var i=Math.min(n.t,t);r<i;++r)this.am(0,n[r],o,r,0,t-r);o.clamp()},e.prototype.multiplyUpperTo=function(n,t,o){--t;var r=o.t=this.t+n.t-t;for(o.s=0;--r>=0;)o[r]=0;for(r=Math.max(t-this.t,0);r<n.t;++r)o[this.t+r-t]=this.am(t-r,n[r],o,0,0,this.t+r-t);o.clamp(),o.drShiftTo(1,o)},e.prototype.modInt=function(n){if(n<=0)return 0;var t=this.DV%n,o=this.s<0?n-1:0;if(this.t>0)if(t==0)o=this[0]%n;else for(var r=this.t-1;r>=0;--r)o=(t*o+this[r])%n;return o},e.prototype.millerRabin=function(n){var t=this.subtract(e.ONE),o=t.getLowestSetBit();if(o<=0)return!1;var r=t.shiftRight(o);n=n+1>>1,n>Le.length&&(n=Le.length);for(var i=oe(),s=0;s<n;++s){i.fromInt(Le[Math.floor(Math.random()*Le.length)]);var l=i.modPow(r,this);if(l.compareTo(e.ONE)!=0&&l.compareTo(t)!=0){for(var f=1;f++<o&&l.compareTo(t)!=0;)if(l=l.modPowInt(2,this),l.compareTo(e.ONE)==0)return!1;if(l.compareTo(t)!=0)return!1}}return!0},e.prototype.square=function(){var n=oe();return this.squareTo(n),n},e.prototype.gcda=function(n,t){var o=this.s<0?this.negate():this.clone(),r=n.s<0?n.negate():n.clone();if(o.compareTo(r)<0){var i=o;o=r,r=i}var s=o.getLowestSetBit(),l=r.getLowestSetBit();if(l<0){t(o);return}s<l&&(l=s),l>0&&(o.rShiftTo(l,o),r.rShiftTo(l,r));var f=function(){(s=o.getLowestSetBit())>0&&o.rShiftTo(s,o),(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),o.compareTo(r)>=0?(o.subTo(r,o),o.rShiftTo(1,o)):(r.subTo(o,r),r.rShiftTo(1,r)),o.signum()>0?setTimeout(f,0):(l>0&&r.lShiftTo(l,r),setTimeout(function(){t(r)},0))};setTimeout(f,10)},e.prototype.fromNumberAsync=function(n,t,o,r){if(typeof t=="number")if(n<2)this.fromInt(1);else{this.fromNumber(n,o),this.testBit(n-1)||this.bitwiseTo(e.ONE.shiftLeft(n-1),Ut,this),this.isEven()&&this.dAddOffset(1,0);var i=this,s=function(){i.dAddOffset(2,0),i.bitLength()>n&&i.subTo(e.ONE.shiftLeft(n-1),i),i.isProbablePrime(t)?setTimeout(function(){r()},0):setTimeout(s,0)};setTimeout(s,0)}else{var l=[],f=n&7;l.length=(n>>3)+1,t.nextBytes(l),f>0?l[0]&=(1<<f)-1:l[0]=0,this.fromString(l,256)}},e}(),ys=function(){function e(){}return e.prototype.convert=function(n){return n},e.prototype.revert=function(n){return n},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o)},e.prototype.sqrTo=function(n,t){n.squareTo(t)},e}(),Ir=function(){function e(n){this.m=n}return e.prototype.convert=function(n){return n.s<0||n.compareTo(this.m)>=0?n.mod(this.m):n},e.prototype.revert=function(n){return n},e.prototype.reduce=function(n){n.divRemTo(this.m,null,n)},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o),this.reduce(o)},e.prototype.sqrTo=function(n,t){n.squareTo(t),this.reduce(t)},e}(),Or=function(){function e(n){this.m=n,this.mp=n.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<n.DB-15)-1,this.mt2=2*n.t}return e.prototype.convert=function(n){var t=oe();return n.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),n.s<0&&t.compareTo(ee.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(n){var t=oe();return n.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(n){for(;n.t<=this.mt2;)n[n.t++]=0;for(var t=0;t<this.m.t;++t){var o=n[t]&32767,r=o*this.mpl+((o*this.mph+(n[t]>>15)*this.mpl&this.um)<<15)&n.DM;for(o=t+this.m.t,n[o]+=this.m.am(0,r,n,t,0,this.m.t);n[o]>=n.DV;)n[o]-=n.DV,n[++o]++}n.clamp(),n.drShiftTo(this.m.t,n),n.compareTo(this.m)>=0&&n.subTo(this.m,n)},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o),this.reduce(o)},e.prototype.sqrTo=function(n,t){n.squareTo(t),this.reduce(t)},e}(),ps=function(){function e(n){this.m=n,this.r2=oe(),this.q3=oe(),ee.ONE.dlShiftTo(2*n.t,this.r2),this.mu=this.r2.divide(n)}return e.prototype.convert=function(n){if(n.s<0||n.t>2*this.m.t)return n.mod(this.m);if(n.compareTo(this.m)<0)return n;var t=oe();return n.copyTo(t),this.reduce(t),t},e.prototype.revert=function(n){return n},e.prototype.reduce=function(n){for(n.drShiftTo(this.m.t-1,this.r2),n.t>this.m.t+1&&(n.t=this.m.t+1,n.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);n.compareTo(this.r2)<0;)n.dAddOffset(1,this.m.t+1);for(n.subTo(this.r2,n);n.compareTo(this.m)>=0;)n.subTo(this.m,n)},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o),this.reduce(o)},e.prototype.sqrTo=function(n,t){n.squareTo(t),this.reduce(t)},e}();function oe(){return new ee(null)}function be(e,n){return new ee(e,n)}var Lr=typeof navigator<"u";Lr&&Rr&&navigator.appName=="Microsoft Internet Explorer"?(ee.prototype.am=function(n,t,o,r,i,s){for(var l=t&32767,f=t>>15;--s>=0;){var c=this[n]&32767,d=this[n++]>>15,y=f*c+d*l;c=l*c+((y&32767)<<15)+o[r]+(i&1073741823),i=(c>>>30)+(y>>>15)+f*d+(i>>>30),o[r++]=c&1073741823}return i},at=30):Lr&&Rr&&navigator.appName!="Netscape"?(ee.prototype.am=function(n,t,o,r,i,s){for(;--s>=0;){var l=t*this[n++]+o[r]+i;i=Math.floor(l/67108864),o[r++]=l&67108863}return i},at=26):(ee.prototype.am=function(n,t,o,r,i,s){for(var l=t&16383,f=t>>14;--s>=0;){var c=this[n]&16383,d=this[n++]>>14,y=f*c+d*l;c=l*c+((y&16383)<<14)+o[r]+i,i=(c>>28)+(y>>14)+f*d,o[r++]=c&268435455}return i},at=28),ee.prototype.DB=at,ee.prototype.DM=(1<<at)-1,ee.prototype.DV=1<<at;var ao=52;ee.prototype.FV=Math.pow(2,ao),ee.prototype.F1=ao-at,ee.prototype.F2=2*at-ao;var $t=[],Et,je;for(Et="0".charCodeAt(0),je=0;je<=9;++je)$t[Et++]=je;for(Et="a".charCodeAt(0),je=10;je<36;++je)$t[Et++]=je;for(Et="A".charCodeAt(0),je=10;je<36;++je)$t[Et++]=je;function Nr(e,n){var t=$t[e.charCodeAt(n)];return t??-1}function rt(e){var n=oe();return n.fromInt(e),n}function Zt(e){var n=1,t;return(t=e>>>16)!=0&&(e=t,n+=16),(t=e>>8)!=0&&(e=t,n+=8),(t=e>>4)!=0&&(e=t,n+=4),(t=e>>2)!=0&&(e=t,n+=2),(t=e>>1)!=0&&(e=t,n+=1),n}ee.ZERO=rt(0),ee.ONE=rt(1);var vs=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(n){var t,o,r;for(t=0;t<256;++t)this.S[t]=t;for(o=0,t=0;t<256;++t)o=o+this.S[t]+n[t%n.length]&255,r=this.S[t],this.S[t]=this.S[o],this.S[o]=r;this.i=0,this.j=0},e.prototype.next=function(){var n;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,n=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=n,this.S[n+this.S[this.i]&255]},e}();function bs(){return new vs}var Mr=256,Yt,it=null,$e;if(it==null){it=[],$e=0;var Kt=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var ro=new Uint32Array(256);for(window.crypto.getRandomValues(ro),Kt=0;Kt<ro.length;++Kt)it[$e++]=ro[Kt]&255}var Xt=0,Qt=function(e){if(Xt=Xt||0,Xt>=256||$e>=Mr){window.removeEventListener?window.removeEventListener("mousemove",Qt,!1):window.detachEvent&&window.detachEvent("onmousemove",Qt);return}try{var n=e.x+e.y;it[$e++]=n&255,Xt+=1}catch{}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",Qt,!1):window.attachEvent&&window.attachEvent("onmousemove",Qt))}function ws(){if(Yt==null){for(Yt=bs();$e<Mr;){var e=Math.floor(65536*Math.random());it[$e++]=e&255}for(Yt.init(it),$e=0;$e<it.length;++$e)it[$e]=0;$e=0}return Yt.next()}var io=function(){function e(){}return e.prototype.nextBytes=function(n){for(var t=0;t<n.length;++t)n[t]=ws()},e}();function Ss(e,n){if(n<e.length+22)return console.error("Message too long for RSA"),null;for(var t=n-e.length-6,o="",r=0;r<t;r+=2)o+="ff";var i="0001"+o+"00"+e;return be(i,16)}function Cs(e,n){if(n<e.length+11)return console.error("Message too long for RSA"),null;for(var t=[],o=e.length-1;o>=0&&n>0;){var r=e.charCodeAt(o--);r<128?t[--n]=r:r>127&&r<2048?(t[--n]=r&63|128,t[--n]=r>>6|192):(t[--n]=r&63|128,t[--n]=r>>6&63|128,t[--n]=r>>12|224)}t[--n]=0;for(var i=new io,s=[];n>2;){for(s[0]=0;s[0]==0;)i.nextBytes(s);t[--n]=s[0]}return t[--n]=2,t[--n]=0,new ee(t)}var As=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(n){return n.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(n){if(this.p==null||this.q==null)return n.modPow(this.d,this.n);for(var t=n.mod(this.p).modPow(this.dmp1,this.p),o=n.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(o)<0;)t=t.add(this.p);return t.subtract(o).multiply(this.coeff).mod(this.p).multiply(this.q).add(o)},e.prototype.setPublic=function(n,t){n!=null&&t!=null&&n.length>0&&t.length>0?(this.n=be(n,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(n){var t=this.n.bitLength()+7>>3,o=Cs(n,t);if(o==null)return null;var r=this.doPublic(o);if(r==null)return null;for(var i=r.toString(16),s=i.length,l=0;l<t*2-s;l++)i="0"+i;return i},e.prototype.setPrivate=function(n,t,o){n!=null&&t!=null&&n.length>0&&t.length>0?(this.n=be(n,16),this.e=parseInt(t,16),this.d=be(o,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(n,t,o,r,i,s,l,f){n!=null&&t!=null&&n.length>0&&t.length>0?(this.n=be(n,16),this.e=parseInt(t,16),this.d=be(o,16),this.p=be(r,16),this.q=be(i,16),this.dmp1=be(s,16),this.dmq1=be(l,16),this.coeff=be(f,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(n,t){var o=new io,r=n>>1;this.e=parseInt(t,16);for(var i=new ee(t,16);;){for(;this.p=new ee(n-r,1,o),!(this.p.subtract(ee.ONE).gcd(i).compareTo(ee.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new ee(r,1,o),!(this.q.subtract(ee.ONE).gcd(i).compareTo(ee.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var l=this.p.subtract(ee.ONE),f=this.q.subtract(ee.ONE),c=l.multiply(f);if(c.gcd(i).compareTo(ee.ONE)==0){this.n=this.p.multiply(this.q),this.d=i.modInverse(c),this.dmp1=this.d.mod(l),this.dmq1=this.d.mod(f),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(n){var t=be(n,16),o=this.doPrivate(t);return o==null?null:ks(o,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(n,t,o){var r=new io,i=n>>1;this.e=parseInt(t,16);var s=new ee(t,16),l=this,f=function(){var c=function(){if(l.p.compareTo(l.q)<=0){var h=l.p;l.p=l.q,l.q=h}var u=l.p.subtract(ee.ONE),m=l.q.subtract(ee.ONE),g=u.multiply(m);g.gcd(s).compareTo(ee.ONE)==0?(l.n=l.p.multiply(l.q),l.d=s.modInverse(g),l.dmp1=l.d.mod(u),l.dmq1=l.d.mod(m),l.coeff=l.q.modInverse(l.p),setTimeout(function(){o()},0)):setTimeout(f,0)},d=function(){l.q=oe(),l.q.fromNumberAsync(i,1,r,function(){l.q.subtract(ee.ONE).gcda(s,function(h){h.compareTo(ee.ONE)==0&&l.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(d,0)})})},y=function(){l.p=oe(),l.p.fromNumberAsync(n-i,1,r,function(){l.p.subtract(ee.ONE).gcda(s,function(h){h.compareTo(ee.ONE)==0&&l.p.isProbablePrime(10)?setTimeout(d,0):setTimeout(y,0)})})};setTimeout(y,0)};setTimeout(f,0)},e.prototype.sign=function(n,t,o){var r=Es(o),i=r+t(n).toString(),s=Ss(i,this.n.bitLength()/4);if(s==null)return null;var l=this.doPrivate(s);if(l==null)return null;var f=l.toString(16);return f.length&1?"0"+f:f},e.prototype.verify=function(n,t,o){var r=be(t,16),i=this.doPublic(r);if(i==null)return null;var s=i.toString(16).replace(/^1f+00/,""),l=Ts(s);return l==o(n).toString()},e}();function ks(e,n){for(var t=e.toByteArray(),o=0;o<t.length&&t[o]==0;)++o;if(t.length-o!=n-1||t[o]!=2)return null;for(++o;t[o]!=0;)if(++o>=t.length)return null;for(var r="";++o<t.length;){var i=t[o]&255;i<128?r+=String.fromCharCode(i):i>191&&i<224?(r+=String.fromCharCode((i&31)<<6|t[o+1]&63),++o):(r+=String.fromCharCode((i&15)<<12|(t[o+1]&63)<<6|t[o+2]&63),o+=2)}return r}var Jt={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function Es(e){return Jt[e]||""}function Ts(e){for(var n in Jt)if(Jt.hasOwnProperty(n)){var t=Jt[n],o=t.length;if(e.substr(0,o)==t)return e.substr(o)}return e}/*!
77
+ `;o/=2,r>o&&(t=n+o);for(var s=n;s<t;++s)i+=this.hexByte(this.get(s));return r>o&&(i+=Rr),i},e.prototype.parseOID=function(n,t,o){for(var r="",i=new zt,s=0,l=n;l<t;++l){var f=this.get(l);if(i.mulAdd(128,f&127),s+=7,!(f&128)){if(r==="")if(i=i.simplify(),i instanceof zt)i.sub(80),r="2."+i.toString();else{var c=i<80?i<40?0:1:2;r=c+"."+(i-c*40)}else r+="."+i.toString();if(r.length>o)return kt(r,o);i=new zt,s=0}}return s>0&&(r+=".incomplete"),r},e}(),bs=function(){function e(n,t,o,r,i){if(!(r instanceof Ir))throw new Error("Invalid tag value.");this.stream=n,this.header=t,this.length=o,this.tag=r,this.sub=i}return e.prototype.typeName=function(){switch(this.tag.tagClass){case 0:switch(this.tag.tagNumber){case 0:return"EOC";case 1:return"BOOLEAN";case 2:return"INTEGER";case 3:return"BIT_STRING";case 4:return"OCTET_STRING";case 5:return"NULL";case 6:return"OBJECT_IDENTIFIER";case 7:return"ObjectDescriptor";case 8:return"EXTERNAL";case 9:return"REAL";case 10:return"ENUMERATED";case 11:return"EMBEDDED_PDV";case 12:return"UTF8String";case 16:return"SEQUENCE";case 17:return"SET";case 18:return"NumericString";case 19:return"PrintableString";case 20:return"TeletexString";case 21:return"VideotexString";case 22:return"IA5String";case 23:return"UTCTime";case 24:return"GeneralizedTime";case 25:return"GraphicString";case 26:return"VisibleString";case 27:return"GeneralString";case 28:return"UniversalString";case 30:return"BMPString"}return"Universal_"+this.tag.tagNumber.toString();case 1:return"Application_"+this.tag.tagNumber.toString();case 2:return"["+this.tag.tagNumber.toString()+"]";case 3:return"Private_"+this.tag.tagNumber.toString()}},e.prototype.content=function(n){if(this.tag===void 0)return null;n===void 0&&(n=1/0);var t=this.posContent(),o=Math.abs(this.length);if(!this.tag.isUniversal())return this.sub!==null?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+o,n);switch(this.tag.tagNumber){case 1:return this.stream.get(t)===0?"false":"true";case 2:return this.stream.parseInteger(t,t+o);case 3:return this.sub?"("+this.sub.length+" elem)":this.stream.parseBitString(t,t+o,n);case 4:return this.sub?"("+this.sub.length+" elem)":this.stream.parseOctetString(t,t+o,n);case 6:return this.stream.parseOID(t,t+o,n);case 16:case 17:return this.sub!==null?"("+this.sub.length+" elem)":"(no elem)";case 12:return kt(this.stream.parseStringUTF(t,t+o),n);case 18:case 19:case 20:case 21:case 22:case 26:return kt(this.stream.parseStringISO(t,t+o),n);case 30:return kt(this.stream.parseStringBMP(t,t+o),n);case 23:case 24:return this.stream.parseTime(t,t+o,this.tag.tagNumber==23)}return null},e.prototype.toString=function(){return this.typeName()+"@"+this.stream.pos+"[header:"+this.header+",length:"+this.length+",sub:"+(this.sub===null?"null":this.sub.length)+"]"},e.prototype.toPrettyString=function(n){n===void 0&&(n="");var t=n+this.typeName()+" @"+this.stream.pos;if(this.length>=0&&(t+="+"),t+=this.length,this.tag.tagConstructed?t+=" (constructed)":this.tag.isUniversal()&&(this.tag.tagNumber==3||this.tag.tagNumber==4)&&this.sub!==null&&(t+=" (encapsulates)"),t+=`
78
+ `,this.sub!==null){n+=" ";for(var o=0,r=this.sub.length;o<r;++o)t+=this.sub[o].toPrettyString(n)}return t},e.prototype.posStart=function(){return this.stream.pos},e.prototype.posContent=function(){return this.stream.pos+this.header},e.prototype.posEnd=function(){return this.stream.pos+this.header+Math.abs(this.length)},e.prototype.toHexString=function(){return this.stream.hexDump(this.posStart(),this.posEnd(),!0)},e.decodeLength=function(n){var t=n.get(),o=t&127;if(o==t)return o;if(o>6)throw new Error("Length over 48 bits not supported at position "+(n.pos-1));if(o===0)return null;t=0;for(var r=0;r<o;++r)t=t*256+n.get();return t},e.prototype.getHexStringValue=function(){var n=this.toHexString(),t=this.header*2,o=this.length*2;return n.substr(t,o)},e.decode=function(n){var t;n instanceof oo?t=n:t=new oo(n,0);var o=new oo(t),r=new Ir(t),i=e.decodeLength(t),s=t.pos,l=s-o.pos,f=null,c=function(){var y=[];if(i!==null){for(var h=s+i;t.pos<h;)y[y.length]=e.decode(t);if(t.pos!=h)throw new Error("Content size is not correct for container starting at offset "+s)}else try{for(;;){var u=e.decode(t);if(u.tag.isEOC())break;y[y.length]=u}i=s-t.pos}catch(m){throw new Error("Exception while decoding undefined length content: "+m)}return y};if(r.tagConstructed)f=c();else if(r.isUniversal()&&(r.tagNumber==3||r.tagNumber==4))try{if(r.tagNumber==3&&t.get()!=0)throw new Error("BIT STRINGs with unused bits cannot encapsulate.");f=c();for(var d=0;d<f.length;++d)if(f[d].tag.isEOC())throw new Error("EOC is not supposed to be actual content.")}catch{f=null}if(f===null){if(i===null)throw new Error("We can't skip over an invalid tag with undefined length at offset "+s);t.pos=s+Math.abs(i)}return new e(o,l,i,r,f)},e}(),Ir=function(){function e(n){var t=n.get();if(this.tagClass=t>>6,this.tagConstructed=(t&32)!==0,this.tagNumber=t&31,this.tagNumber==31){var o=new zt;do t=n.get(),o.mulAdd(128,t&127);while(t&128);this.tagNumber=o.simplify()}}return e.prototype.isUniversal=function(){return this.tagClass===0},e.prototype.isEOC=function(){return this.tagClass===0&&this.tagNumber===0},e}(),at,Ss=0xdeadbeefcafe,Or=(Ss&16777215)==15715070,Le=[2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,97,101,103,107,109,113,127,131,137,139,149,151,157,163,167,173,179,181,191,193,197,199,211,223,227,229,233,239,241,251,257,263,269,271,277,281,283,293,307,311,313,317,331,337,347,349,353,359,367,373,379,383,389,397,401,409,419,421,431,433,439,443,449,457,461,463,467,479,487,491,499,503,509,521,523,541,547,557,563,569,571,577,587,593,599,601,607,613,617,619,631,641,643,647,653,659,661,673,677,683,691,701,709,719,727,733,739,743,751,757,761,769,773,787,797,809,811,821,823,827,829,839,853,857,859,863,877,881,883,887,907,911,919,929,937,941,947,953,967,971,977,983,991,997],ws=(1<<26)/Le[Le.length-1],ee=function(){function e(n,t,o){n!=null&&(typeof n=="number"?this.fromNumber(n,t,o):t==null&&typeof n!="string"?this.fromString(n,256):this.fromString(n,t))}return e.prototype.toString=function(n){if(this.s<0)return"-"+this.negate().toString(n);var t;if(n==16)t=4;else if(n==8)t=3;else if(n==2)t=1;else if(n==32)t=5;else if(n==4)t=2;else return this.toRadix(n);var o=(1<<t)-1,r,i=!1,s="",l=this.t,f=this.DB-l*this.DB%t;if(l-- >0)for(f<this.DB&&(r=this[l]>>f)>0&&(i=!0,s=Je(r));l>=0;)f<t?(r=(this[l]&(1<<f)-1)<<t-f,r|=this[--l]>>(f+=this.DB-t)):(r=this[l]>>(f-=t)&o,f<=0&&(f+=this.DB,--l)),r>0&&(i=!0),i&&(s+=Je(r));return i?s:"0"},e.prototype.negate=function(){var n=ae();return e.ZERO.subTo(this,n),n},e.prototype.abs=function(){return this.s<0?this.negate():this},e.prototype.compareTo=function(n){var t=this.s-n.s;if(t!=0)return t;var o=this.t;if(t=o-n.t,t!=0)return this.s<0?-t:t;for(;--o>=0;)if((t=this[o]-n[o])!=0)return t;return 0},e.prototype.bitLength=function(){return this.t<=0?0:this.DB*(this.t-1)+Zt(this[this.t-1]^this.s&this.DM)},e.prototype.mod=function(n){var t=ae();return this.abs().divRemTo(n,null,t),this.s<0&&t.compareTo(e.ZERO)>0&&n.subTo(t,t),t},e.prototype.modPowInt=function(n,t){var o;return n<256||t.isEven()?o=new Lr(t):o=new Nr(t),this.exp(n,o)},e.prototype.clone=function(){var n=ae();return this.copyTo(n),n},e.prototype.intValue=function(){if(this.s<0){if(this.t==1)return this[0]-this.DV;if(this.t==0)return-1}else{if(this.t==1)return this[0];if(this.t==0)return 0}return(this[1]&(1<<32-this.DB)-1)<<this.DB|this[0]},e.prototype.byteValue=function(){return this.t==0?this.s:this[0]<<24>>24},e.prototype.shortValue=function(){return this.t==0?this.s:this[0]<<16>>16},e.prototype.signum=function(){return this.s<0?-1:this.t<=0||this.t==1&&this[0]<=0?0:1},e.prototype.toByteArray=function(){var n=this.t,t=[];t[0]=this.s;var o=this.DB-n*this.DB%8,r,i=0;if(n-- >0)for(o<this.DB&&(r=this[n]>>o)!=(this.s&this.DM)>>o&&(t[i++]=r|this.s<<this.DB-o);n>=0;)o<8?(r=(this[n]&(1<<o)-1)<<8-o,r|=this[--n]>>(o+=this.DB-8)):(r=this[n]>>(o-=8)&255,o<=0&&(o+=this.DB,--n)),r&128&&(r|=-256),i==0&&(this.s&128)!=(r&128)&&++i,(i>0||r!=this.s)&&(t[i++]=r);return t},e.prototype.equals=function(n){return this.compareTo(n)==0},e.prototype.min=function(n){return this.compareTo(n)<0?this:n},e.prototype.max=function(n){return this.compareTo(n)>0?this:n},e.prototype.and=function(n){var t=ae();return this.bitwiseTo(n,gs,t),t},e.prototype.or=function(n){var t=ae();return this.bitwiseTo(n,Ut,t),t},e.prototype.xor=function(n){var t=ae();return this.bitwiseTo(n,Er,t),t},e.prototype.andNot=function(n){var t=ae();return this.bitwiseTo(n,Br,t),t},e.prototype.not=function(){for(var n=ae(),t=0;t<this.t;++t)n[t]=this.DM&~this[t];return n.t=this.t,n.s=~this.s,n},e.prototype.shiftLeft=function(n){var t=ae();return n<0?this.rShiftTo(-n,t):this.lShiftTo(n,t),t},e.prototype.shiftRight=function(n){var t=ae();return n<0?this.lShiftTo(-n,t):this.rShiftTo(n,t),t},e.prototype.getLowestSetBit=function(){for(var n=0;n<this.t;++n)if(this[n]!=0)return n*this.DB+ms(this[n]);return this.s<0?this.t*this.DB:-1},e.prototype.bitCount=function(){for(var n=0,t=this.s&this.DM,o=0;o<this.t;++o)n+=xs(this[o]^t);return n},e.prototype.testBit=function(n){var t=Math.floor(n/this.DB);return t>=this.t?this.s!=0:(this[t]&1<<n%this.DB)!=0},e.prototype.setBit=function(n){return this.changeBit(n,Ut)},e.prototype.clearBit=function(n){return this.changeBit(n,Br)},e.prototype.flipBit=function(n){return this.changeBit(n,Er)},e.prototype.add=function(n){var t=ae();return this.addTo(n,t),t},e.prototype.subtract=function(n){var t=ae();return this.subTo(n,t),t},e.prototype.multiply=function(n){var t=ae();return this.multiplyTo(n,t),t},e.prototype.divide=function(n){var t=ae();return this.divRemTo(n,t,null),t},e.prototype.remainder=function(n){var t=ae();return this.divRemTo(n,null,t),t},e.prototype.divideAndRemainder=function(n){var t=ae(),o=ae();return this.divRemTo(n,t,o),[t,o]},e.prototype.modPow=function(n,t){var o=n.bitLength(),r,i=rt(1),s;if(o<=0)return i;o<18?r=1:o<48?r=3:o<144?r=4:o<768?r=5:r=6,o<8?s=new Lr(t):t.isEven()?s=new As(t):s=new Nr(t);var l=[],f=3,c=r-1,d=(1<<r)-1;if(l[1]=s.convert(this),r>1){var y=ae();for(s.sqrTo(l[1],y);f<=d;)l[f]=ae(),s.mulTo(y,l[f-2],l[f]),f+=2}var h=n.t-1,u,m=!0,g=ae(),w;for(o=Zt(n[h])-1;h>=0;){for(o>=c?u=n[h]>>o-c&d:(u=(n[h]&(1<<o+1)-1)<<c-o,h>0&&(u|=n[h-1]>>this.DB+o-c)),f=r;!(u&1);)u>>=1,--f;if((o-=f)<0&&(o+=this.DB,--h),m)l[u].copyTo(i),m=!1;else{for(;f>1;)s.sqrTo(i,g),s.sqrTo(g,i),f-=2;f>0?s.sqrTo(i,g):(w=i,i=g,g=w),s.mulTo(g,l[u],i)}for(;h>=0&&!(n[h]&1<<o);)s.sqrTo(i,g),w=i,i=g,g=w,--o<0&&(o=this.DB-1,--h)}return s.revert(i)},e.prototype.modInverse=function(n){var t=n.isEven();if(this.isEven()&&t||n.signum()==0)return e.ZERO;for(var o=n.clone(),r=this.clone(),i=rt(1),s=rt(0),l=rt(0),f=rt(1);o.signum()!=0;){for(;o.isEven();)o.rShiftTo(1,o),t?((!i.isEven()||!s.isEven())&&(i.addTo(this,i),s.subTo(n,s)),i.rShiftTo(1,i)):s.isEven()||s.subTo(n,s),s.rShiftTo(1,s);for(;r.isEven();)r.rShiftTo(1,r),t?((!l.isEven()||!f.isEven())&&(l.addTo(this,l),f.subTo(n,f)),l.rShiftTo(1,l)):f.isEven()||f.subTo(n,f),f.rShiftTo(1,f);o.compareTo(r)>=0?(o.subTo(r,o),t&&i.subTo(l,i),s.subTo(f,s)):(r.subTo(o,r),t&&l.subTo(i,l),f.subTo(s,f))}if(r.compareTo(e.ONE)!=0)return e.ZERO;if(f.compareTo(n)>=0)return f.subtract(n);if(f.signum()<0)f.addTo(n,f);else return f;return f.signum()<0?f.add(n):f},e.prototype.pow=function(n){return this.exp(n,new Cs)},e.prototype.gcd=function(n){var t=this.s<0?this.negate():this.clone(),o=n.s<0?n.negate():n.clone();if(t.compareTo(o)<0){var r=t;t=o,o=r}var i=t.getLowestSetBit(),s=o.getLowestSetBit();if(s<0)return t;for(i<s&&(s=i),s>0&&(t.rShiftTo(s,t),o.rShiftTo(s,o));t.signum()>0;)(i=t.getLowestSetBit())>0&&t.rShiftTo(i,t),(i=o.getLowestSetBit())>0&&o.rShiftTo(i,o),t.compareTo(o)>=0?(t.subTo(o,t),t.rShiftTo(1,t)):(o.subTo(t,o),o.rShiftTo(1,o));return s>0&&o.lShiftTo(s,o),o},e.prototype.isProbablePrime=function(n){var t,o=this.abs();if(o.t==1&&o[0]<=Le[Le.length-1]){for(t=0;t<Le.length;++t)if(o[0]==Le[t])return!0;return!1}if(o.isEven())return!1;for(t=1;t<Le.length;){for(var r=Le[t],i=t+1;i<Le.length&&r<ws;)r*=Le[i++];for(r=o.modInt(r);t<i;)if(r%Le[t++]==0)return!1}return o.millerRabin(n)},e.prototype.copyTo=function(n){for(var t=this.t-1;t>=0;--t)n[t]=this[t];n.t=this.t,n.s=this.s},e.prototype.fromInt=function(n){this.t=1,this.s=n<0?-1:0,n>0?this[0]=n:n<-1?this[0]=n+this.DV:this.t=0},e.prototype.fromString=function(n,t){var o;if(t==16)o=4;else if(t==8)o=3;else if(t==256)o=8;else if(t==2)o=1;else if(t==32)o=5;else if(t==4)o=2;else{this.fromRadix(n,t);return}this.t=0,this.s=0;for(var r=n.length,i=!1,s=0;--r>=0;){var l=o==8?+n[r]&255:Mr(n,r);if(l<0){n.charAt(r)=="-"&&(i=!0);continue}i=!1,s==0?this[this.t++]=l:s+o>this.DB?(this[this.t-1]|=(l&(1<<this.DB-s)-1)<<s,this[this.t++]=l>>this.DB-s):this[this.t-1]|=l<<s,s+=o,s>=this.DB&&(s-=this.DB)}o==8&&+n[0]&128&&(this.s=-1,s>0&&(this[this.t-1]|=(1<<this.DB-s)-1<<s)),this.clamp(),i&&e.ZERO.subTo(this,this)},e.prototype.clamp=function(){for(var n=this.s&this.DM;this.t>0&&this[this.t-1]==n;)--this.t},e.prototype.dlShiftTo=function(n,t){var o;for(o=this.t-1;o>=0;--o)t[o+n]=this[o];for(o=n-1;o>=0;--o)t[o]=0;t.t=this.t+n,t.s=this.s},e.prototype.drShiftTo=function(n,t){for(var o=n;o<this.t;++o)t[o-n]=this[o];t.t=Math.max(this.t-n,0),t.s=this.s},e.prototype.lShiftTo=function(n,t){for(var o=n%this.DB,r=this.DB-o,i=(1<<r)-1,s=Math.floor(n/this.DB),l=this.s<<o&this.DM,f=this.t-1;f>=0;--f)t[f+s+1]=this[f]>>r|l,l=(this[f]&i)<<o;for(var f=s-1;f>=0;--f)t[f]=0;t[s]=l,t.t=this.t+s+1,t.s=this.s,t.clamp()},e.prototype.rShiftTo=function(n,t){t.s=this.s;var o=Math.floor(n/this.DB);if(o>=this.t){t.t=0;return}var r=n%this.DB,i=this.DB-r,s=(1<<r)-1;t[0]=this[o]>>r;for(var l=o+1;l<this.t;++l)t[l-o-1]|=(this[l]&s)<<i,t[l-o]=this[l]>>r;r>0&&(t[this.t-o-1]|=(this.s&s)<<i),t.t=this.t-o,t.clamp()},e.prototype.subTo=function(n,t){for(var o=0,r=0,i=Math.min(n.t,this.t);o<i;)r+=this[o]-n[o],t[o++]=r&this.DM,r>>=this.DB;if(n.t<this.t){for(r-=n.s;o<this.t;)r+=this[o],t[o++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;o<n.t;)r-=n[o],t[o++]=r&this.DM,r>>=this.DB;r-=n.s}t.s=r<0?-1:0,r<-1?t[o++]=this.DV+r:r>0&&(t[o++]=r),t.t=o,t.clamp()},e.prototype.multiplyTo=function(n,t){var o=this.abs(),r=n.abs(),i=o.t;for(t.t=i+r.t;--i>=0;)t[i]=0;for(i=0;i<r.t;++i)t[i+o.t]=o.am(0,r[i],t,i,0,o.t);t.s=0,t.clamp(),this.s!=n.s&&e.ZERO.subTo(t,t)},e.prototype.squareTo=function(n){for(var t=this.abs(),o=n.t=2*t.t;--o>=0;)n[o]=0;for(o=0;o<t.t-1;++o){var r=t.am(o,t[o],n,2*o,0,1);(n[o+t.t]+=t.am(o+1,2*t[o],n,2*o+1,r,t.t-o-1))>=t.DV&&(n[o+t.t]-=t.DV,n[o+t.t+1]=1)}n.t>0&&(n[n.t-1]+=t.am(o,t[o],n,2*o,0,1)),n.s=0,n.clamp()},e.prototype.divRemTo=function(n,t,o){var r=n.abs();if(!(r.t<=0)){var i=this.abs();if(i.t<r.t){t!=null&&t.fromInt(0),o!=null&&this.copyTo(o);return}o==null&&(o=ae());var s=ae(),l=this.s,f=n.s,c=this.DB-Zt(r[r.t-1]);c>0?(r.lShiftTo(c,s),i.lShiftTo(c,o)):(r.copyTo(s),i.copyTo(o));var d=s.t,y=s[d-1];if(y!=0){var h=y*(1<<this.F1)+(d>1?s[d-2]>>this.F2:0),u=this.FV/h,m=(1<<this.F1)/h,g=1<<this.F2,w=o.t,T=w-d,x=t??ae();for(s.dlShiftTo(T,x),o.compareTo(x)>=0&&(o[o.t++]=1,o.subTo(x,o)),e.ONE.dlShiftTo(d,x),x.subTo(s,s);s.t<d;)s[s.t++]=0;for(;--T>=0;){var v=o[--w]==y?this.DM:Math.floor(o[w]*u+(o[w-1]+g)*m);if((o[w]+=s.am(0,v,o,T,0,d))<v)for(s.dlShiftTo(T,x),o.subTo(x,o);o[w]<--v;)o.subTo(x,o)}t!=null&&(o.drShiftTo(d,t),l!=f&&e.ZERO.subTo(t,t)),o.t=d,o.clamp(),c>0&&o.rShiftTo(c,o),l<0&&e.ZERO.subTo(o,o)}}},e.prototype.invDigit=function(){if(this.t<1)return 0;var n=this[0];if(!(n&1))return 0;var t=n&3;return t=t*(2-(n&15)*t)&15,t=t*(2-(n&255)*t)&255,t=t*(2-((n&65535)*t&65535))&65535,t=t*(2-n*t%this.DV)%this.DV,t>0?this.DV-t:-t},e.prototype.isEven=function(){return(this.t>0?this[0]&1:this.s)==0},e.prototype.exp=function(n,t){if(n>4294967295||n<1)return e.ONE;var o=ae(),r=ae(),i=t.convert(this),s=Zt(n)-1;for(i.copyTo(o);--s>=0;)if(t.sqrTo(o,r),(n&1<<s)>0)t.mulTo(r,i,o);else{var l=o;o=r,r=l}return t.revert(o)},e.prototype.chunkSize=function(n){return Math.floor(Math.LN2*this.DB/Math.log(n))},e.prototype.toRadix=function(n){if(n==null&&(n=10),this.signum()==0||n<2||n>36)return"0";var t=this.chunkSize(n),o=Math.pow(n,t),r=rt(o),i=ae(),s=ae(),l="";for(this.divRemTo(r,i,s);i.signum()>0;)l=(o+s.intValue()).toString(n).substr(1)+l,i.divRemTo(r,i,s);return s.intValue().toString(n)+l},e.prototype.fromRadix=function(n,t){this.fromInt(0),t==null&&(t=10);for(var o=this.chunkSize(t),r=Math.pow(t,o),i=!1,s=0,l=0,f=0;f<n.length;++f){var c=Mr(n,f);if(c<0){n.charAt(f)=="-"&&this.signum()==0&&(i=!0);continue}l=t*l+c,++s>=o&&(this.dMultiply(r),this.dAddOffset(l,0),s=0,l=0)}s>0&&(this.dMultiply(Math.pow(t,s)),this.dAddOffset(l,0)),i&&e.ZERO.subTo(this,this)},e.prototype.fromNumber=function(n,t,o){if(typeof t=="number")if(n<2)this.fromInt(1);else for(this.fromNumber(n,o),this.testBit(n-1)||this.bitwiseTo(e.ONE.shiftLeft(n-1),Ut,this),this.isEven()&&this.dAddOffset(1,0);!this.isProbablePrime(t);)this.dAddOffset(2,0),this.bitLength()>n&&this.subTo(e.ONE.shiftLeft(n-1),this);else{var r=[],i=n&7;r.length=(n>>3)+1,t.nextBytes(r),i>0?r[0]&=(1<<i)-1:r[0]=0,this.fromString(r,256)}},e.prototype.bitwiseTo=function(n,t,o){var r,i,s=Math.min(n.t,this.t);for(r=0;r<s;++r)o[r]=t(this[r],n[r]);if(n.t<this.t){for(i=n.s&this.DM,r=s;r<this.t;++r)o[r]=t(this[r],i);o.t=this.t}else{for(i=this.s&this.DM,r=s;r<n.t;++r)o[r]=t(i,n[r]);o.t=n.t}o.s=t(this.s,n.s),o.clamp()},e.prototype.changeBit=function(n,t){var o=e.ONE.shiftLeft(n);return this.bitwiseTo(o,t,o),o},e.prototype.addTo=function(n,t){for(var o=0,r=0,i=Math.min(n.t,this.t);o<i;)r+=this[o]+n[o],t[o++]=r&this.DM,r>>=this.DB;if(n.t<this.t){for(r+=n.s;o<this.t;)r+=this[o],t[o++]=r&this.DM,r>>=this.DB;r+=this.s}else{for(r+=this.s;o<n.t;)r+=n[o],t[o++]=r&this.DM,r>>=this.DB;r+=n.s}t.s=r<0?-1:0,r>0?t[o++]=r:r<-1&&(t[o++]=this.DV+r),t.t=o,t.clamp()},e.prototype.dMultiply=function(n){this[this.t]=this.am(0,n-1,this,0,0,this.t),++this.t,this.clamp()},e.prototype.dAddOffset=function(n,t){if(n!=0){for(;this.t<=t;)this[this.t++]=0;for(this[t]+=n;this[t]>=this.DV;)this[t]-=this.DV,++t>=this.t&&(this[this.t++]=0),++this[t]}},e.prototype.multiplyLowerTo=function(n,t,o){var r=Math.min(this.t+n.t,t);for(o.s=0,o.t=r;r>0;)o[--r]=0;for(var i=o.t-this.t;r<i;++r)o[r+this.t]=this.am(0,n[r],o,r,0,this.t);for(var i=Math.min(n.t,t);r<i;++r)this.am(0,n[r],o,r,0,t-r);o.clamp()},e.prototype.multiplyUpperTo=function(n,t,o){--t;var r=o.t=this.t+n.t-t;for(o.s=0;--r>=0;)o[r]=0;for(r=Math.max(t-this.t,0);r<n.t;++r)o[this.t+r-t]=this.am(t-r,n[r],o,0,0,this.t+r-t);o.clamp(),o.drShiftTo(1,o)},e.prototype.modInt=function(n){if(n<=0)return 0;var t=this.DV%n,o=this.s<0?n-1:0;if(this.t>0)if(t==0)o=this[0]%n;else for(var r=this.t-1;r>=0;--r)o=(t*o+this[r])%n;return o},e.prototype.millerRabin=function(n){var t=this.subtract(e.ONE),o=t.getLowestSetBit();if(o<=0)return!1;var r=t.shiftRight(o);n=n+1>>1,n>Le.length&&(n=Le.length);for(var i=ae(),s=0;s<n;++s){i.fromInt(Le[Math.floor(Math.random()*Le.length)]);var l=i.modPow(r,this);if(l.compareTo(e.ONE)!=0&&l.compareTo(t)!=0){for(var f=1;f++<o&&l.compareTo(t)!=0;)if(l=l.modPowInt(2,this),l.compareTo(e.ONE)==0)return!1;if(l.compareTo(t)!=0)return!1}}return!0},e.prototype.square=function(){var n=ae();return this.squareTo(n),n},e.prototype.gcda=function(n,t){var o=this.s<0?this.negate():this.clone(),r=n.s<0?n.negate():n.clone();if(o.compareTo(r)<0){var i=o;o=r,r=i}var s=o.getLowestSetBit(),l=r.getLowestSetBit();if(l<0){t(o);return}s<l&&(l=s),l>0&&(o.rShiftTo(l,o),r.rShiftTo(l,r));var f=function(){(s=o.getLowestSetBit())>0&&o.rShiftTo(s,o),(s=r.getLowestSetBit())>0&&r.rShiftTo(s,r),o.compareTo(r)>=0?(o.subTo(r,o),o.rShiftTo(1,o)):(r.subTo(o,r),r.rShiftTo(1,r)),o.signum()>0?setTimeout(f,0):(l>0&&r.lShiftTo(l,r),setTimeout(function(){t(r)},0))};setTimeout(f,10)},e.prototype.fromNumberAsync=function(n,t,o,r){if(typeof t=="number")if(n<2)this.fromInt(1);else{this.fromNumber(n,o),this.testBit(n-1)||this.bitwiseTo(e.ONE.shiftLeft(n-1),Ut,this),this.isEven()&&this.dAddOffset(1,0);var i=this,s=function(){i.dAddOffset(2,0),i.bitLength()>n&&i.subTo(e.ONE.shiftLeft(n-1),i),i.isProbablePrime(t)?setTimeout(function(){r()},0):setTimeout(s,0)};setTimeout(s,0)}else{var l=[],f=n&7;l.length=(n>>3)+1,t.nextBytes(l),f>0?l[0]&=(1<<f)-1:l[0]=0,this.fromString(l,256)}},e}(),Cs=function(){function e(){}return e.prototype.convert=function(n){return n},e.prototype.revert=function(n){return n},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o)},e.prototype.sqrTo=function(n,t){n.squareTo(t)},e}(),Lr=function(){function e(n){this.m=n}return e.prototype.convert=function(n){return n.s<0||n.compareTo(this.m)>=0?n.mod(this.m):n},e.prototype.revert=function(n){return n},e.prototype.reduce=function(n){n.divRemTo(this.m,null,n)},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o),this.reduce(o)},e.prototype.sqrTo=function(n,t){n.squareTo(t),this.reduce(t)},e}(),Nr=function(){function e(n){this.m=n,this.mp=n.invDigit(),this.mpl=this.mp&32767,this.mph=this.mp>>15,this.um=(1<<n.DB-15)-1,this.mt2=2*n.t}return e.prototype.convert=function(n){var t=ae();return n.abs().dlShiftTo(this.m.t,t),t.divRemTo(this.m,null,t),n.s<0&&t.compareTo(ee.ZERO)>0&&this.m.subTo(t,t),t},e.prototype.revert=function(n){var t=ae();return n.copyTo(t),this.reduce(t),t},e.prototype.reduce=function(n){for(;n.t<=this.mt2;)n[n.t++]=0;for(var t=0;t<this.m.t;++t){var o=n[t]&32767,r=o*this.mpl+((o*this.mph+(n[t]>>15)*this.mpl&this.um)<<15)&n.DM;for(o=t+this.m.t,n[o]+=this.m.am(0,r,n,t,0,this.m.t);n[o]>=n.DV;)n[o]-=n.DV,n[++o]++}n.clamp(),n.drShiftTo(this.m.t,n),n.compareTo(this.m)>=0&&n.subTo(this.m,n)},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o),this.reduce(o)},e.prototype.sqrTo=function(n,t){n.squareTo(t),this.reduce(t)},e}(),As=function(){function e(n){this.m=n,this.r2=ae(),this.q3=ae(),ee.ONE.dlShiftTo(2*n.t,this.r2),this.mu=this.r2.divide(n)}return e.prototype.convert=function(n){if(n.s<0||n.t>2*this.m.t)return n.mod(this.m);if(n.compareTo(this.m)<0)return n;var t=ae();return n.copyTo(t),this.reduce(t),t},e.prototype.revert=function(n){return n},e.prototype.reduce=function(n){for(n.drShiftTo(this.m.t-1,this.r2),n.t>this.m.t+1&&(n.t=this.m.t+1,n.clamp()),this.mu.multiplyUpperTo(this.r2,this.m.t+1,this.q3),this.m.multiplyLowerTo(this.q3,this.m.t+1,this.r2);n.compareTo(this.r2)<0;)n.dAddOffset(1,this.m.t+1);for(n.subTo(this.r2,n);n.compareTo(this.m)>=0;)n.subTo(this.m,n)},e.prototype.mulTo=function(n,t,o){n.multiplyTo(t,o),this.reduce(o)},e.prototype.sqrTo=function(n,t){n.squareTo(t),this.reduce(t)},e}();function ae(){return new ee(null)}function be(e,n){return new ee(e,n)}var zr=typeof navigator<"u";zr&&Or&&navigator.appName=="Microsoft Internet Explorer"?(ee.prototype.am=function(n,t,o,r,i,s){for(var l=t&32767,f=t>>15;--s>=0;){var c=this[n]&32767,d=this[n++]>>15,y=f*c+d*l;c=l*c+((y&32767)<<15)+o[r]+(i&1073741823),i=(c>>>30)+(y>>>15)+f*d+(i>>>30),o[r++]=c&1073741823}return i},at=30):zr&&Or&&navigator.appName!="Netscape"?(ee.prototype.am=function(n,t,o,r,i,s){for(;--s>=0;){var l=t*this[n++]+o[r]+i;i=Math.floor(l/67108864),o[r++]=l&67108863}return i},at=26):(ee.prototype.am=function(n,t,o,r,i,s){for(var l=t&16383,f=t>>14;--s>=0;){var c=this[n]&16383,d=this[n++]>>14,y=f*c+d*l;c=l*c+((y&16383)<<14)+o[r]+i,i=(c>>28)+(y>>14)+f*d,o[r++]=c&268435455}return i},at=28),ee.prototype.DB=at,ee.prototype.DM=(1<<at)-1,ee.prototype.DV=1<<at;var ao=52;ee.prototype.FV=Math.pow(2,ao),ee.prototype.F1=ao-at,ee.prototype.F2=2*at-ao;var $t=[],Tt,je;for(Tt="0".charCodeAt(0),je=0;je<=9;++je)$t[Tt++]=je;for(Tt="a".charCodeAt(0),je=10;je<36;++je)$t[Tt++]=je;for(Tt="A".charCodeAt(0),je=10;je<36;++je)$t[Tt++]=je;function Mr(e,n){var t=$t[e.charCodeAt(n)];return t??-1}function rt(e){var n=ae();return n.fromInt(e),n}function Zt(e){var n=1,t;return(t=e>>>16)!=0&&(e=t,n+=16),(t=e>>8)!=0&&(e=t,n+=8),(t=e>>4)!=0&&(e=t,n+=4),(t=e>>2)!=0&&(e=t,n+=2),(t=e>>1)!=0&&(e=t,n+=1),n}ee.ZERO=rt(0),ee.ONE=rt(1);var ks=function(){function e(){this.i=0,this.j=0,this.S=[]}return e.prototype.init=function(n){var t,o,r;for(t=0;t<256;++t)this.S[t]=t;for(o=0,t=0;t<256;++t)o=o+this.S[t]+n[t%n.length]&255,r=this.S[t],this.S[t]=this.S[o],this.S[o]=r;this.i=0,this.j=0},e.prototype.next=function(){var n;return this.i=this.i+1&255,this.j=this.j+this.S[this.i]&255,n=this.S[this.i],this.S[this.i]=this.S[this.j],this.S[this.j]=n,this.S[n+this.S[this.i]&255]},e}();function Ts(){return new ks}var Pr=256,Yt,it=null,$e;if(it==null){it=[],$e=0;var Kt=void 0;if(typeof window<"u"&&window.crypto&&window.crypto.getRandomValues){var ro=new Uint32Array(256);for(window.crypto.getRandomValues(ro),Kt=0;Kt<ro.length;++Kt)it[$e++]=ro[Kt]&255}var Xt=0,Qt=function(e){if(Xt=Xt||0,Xt>=256||$e>=Pr){window.removeEventListener?window.removeEventListener("mousemove",Qt,!1):window.detachEvent&&window.detachEvent("onmousemove",Qt);return}try{var n=e.x+e.y;it[$e++]=n&255,Xt+=1}catch{}};typeof window<"u"&&(window.addEventListener?window.addEventListener("mousemove",Qt,!1):window.attachEvent&&window.attachEvent("onmousemove",Qt))}function Es(){if(Yt==null){for(Yt=Ts();$e<Pr;){var e=Math.floor(65536*Math.random());it[$e++]=e&255}for(Yt.init(it),$e=0;$e<it.length;++$e)it[$e]=0;$e=0}return Yt.next()}var io=function(){function e(){}return e.prototype.nextBytes=function(n){for(var t=0;t<n.length;++t)n[t]=Es()},e}();function Bs(e,n){if(n<e.length+22)return console.error("Message too long for RSA"),null;for(var t=n-e.length-6,o="",r=0;r<t;r+=2)o+="ff";var i="0001"+o+"00"+e;return be(i,16)}function _s(e,n){if(n<e.length+11)return console.error("Message too long for RSA"),null;for(var t=[],o=e.length-1;o>=0&&n>0;){var r=e.charCodeAt(o--);r<128?t[--n]=r:r>127&&r<2048?(t[--n]=r&63|128,t[--n]=r>>6|192):(t[--n]=r&63|128,t[--n]=r>>6&63|128,t[--n]=r>>12|224)}t[--n]=0;for(var i=new io,s=[];n>2;){for(s[0]=0;s[0]==0;)i.nextBytes(s);t[--n]=s[0]}return t[--n]=2,t[--n]=0,new ee(t)}var Ds=function(){function e(){this.n=null,this.e=0,this.d=null,this.p=null,this.q=null,this.dmp1=null,this.dmq1=null,this.coeff=null}return e.prototype.doPublic=function(n){return n.modPowInt(this.e,this.n)},e.prototype.doPrivate=function(n){if(this.p==null||this.q==null)return n.modPow(this.d,this.n);for(var t=n.mod(this.p).modPow(this.dmp1,this.p),o=n.mod(this.q).modPow(this.dmq1,this.q);t.compareTo(o)<0;)t=t.add(this.p);return t.subtract(o).multiply(this.coeff).mod(this.p).multiply(this.q).add(o)},e.prototype.setPublic=function(n,t){n!=null&&t!=null&&n.length>0&&t.length>0?(this.n=be(n,16),this.e=parseInt(t,16)):console.error("Invalid RSA public key")},e.prototype.encrypt=function(n){var t=this.n.bitLength()+7>>3,o=_s(n,t);if(o==null)return null;var r=this.doPublic(o);if(r==null)return null;for(var i=r.toString(16),s=i.length,l=0;l<t*2-s;l++)i="0"+i;return i},e.prototype.setPrivate=function(n,t,o){n!=null&&t!=null&&n.length>0&&t.length>0?(this.n=be(n,16),this.e=parseInt(t,16),this.d=be(o,16)):console.error("Invalid RSA private key")},e.prototype.setPrivateEx=function(n,t,o,r,i,s,l,f){n!=null&&t!=null&&n.length>0&&t.length>0?(this.n=be(n,16),this.e=parseInt(t,16),this.d=be(o,16),this.p=be(r,16),this.q=be(i,16),this.dmp1=be(s,16),this.dmq1=be(l,16),this.coeff=be(f,16)):console.error("Invalid RSA private key")},e.prototype.generate=function(n,t){var o=new io,r=n>>1;this.e=parseInt(t,16);for(var i=new ee(t,16);;){for(;this.p=new ee(n-r,1,o),!(this.p.subtract(ee.ONE).gcd(i).compareTo(ee.ONE)==0&&this.p.isProbablePrime(10)););for(;this.q=new ee(r,1,o),!(this.q.subtract(ee.ONE).gcd(i).compareTo(ee.ONE)==0&&this.q.isProbablePrime(10)););if(this.p.compareTo(this.q)<=0){var s=this.p;this.p=this.q,this.q=s}var l=this.p.subtract(ee.ONE),f=this.q.subtract(ee.ONE),c=l.multiply(f);if(c.gcd(i).compareTo(ee.ONE)==0){this.n=this.p.multiply(this.q),this.d=i.modInverse(c),this.dmp1=this.d.mod(l),this.dmq1=this.d.mod(f),this.coeff=this.q.modInverse(this.p);break}}},e.prototype.decrypt=function(n){var t=be(n,16),o=this.doPrivate(t);return o==null?null:Rs(o,this.n.bitLength()+7>>3)},e.prototype.generateAsync=function(n,t,o){var r=new io,i=n>>1;this.e=parseInt(t,16);var s=new ee(t,16),l=this,f=function(){var c=function(){if(l.p.compareTo(l.q)<=0){var h=l.p;l.p=l.q,l.q=h}var u=l.p.subtract(ee.ONE),m=l.q.subtract(ee.ONE),g=u.multiply(m);g.gcd(s).compareTo(ee.ONE)==0?(l.n=l.p.multiply(l.q),l.d=s.modInverse(g),l.dmp1=l.d.mod(u),l.dmq1=l.d.mod(m),l.coeff=l.q.modInverse(l.p),setTimeout(function(){o()},0)):setTimeout(f,0)},d=function(){l.q=ae(),l.q.fromNumberAsync(i,1,r,function(){l.q.subtract(ee.ONE).gcda(s,function(h){h.compareTo(ee.ONE)==0&&l.q.isProbablePrime(10)?setTimeout(c,0):setTimeout(d,0)})})},y=function(){l.p=ae(),l.p.fromNumberAsync(n-i,1,r,function(){l.p.subtract(ee.ONE).gcda(s,function(h){h.compareTo(ee.ONE)==0&&l.p.isProbablePrime(10)?setTimeout(d,0):setTimeout(y,0)})})};setTimeout(y,0)};setTimeout(f,0)},e.prototype.sign=function(n,t,o){var r=Is(o),i=r+t(n).toString(),s=Bs(i,this.n.bitLength()/4);if(s==null)return null;var l=this.doPrivate(s);if(l==null)return null;var f=l.toString(16);return f.length&1?"0"+f:f},e.prototype.verify=function(n,t,o){var r=be(t,16),i=this.doPublic(r);if(i==null)return null;var s=i.toString(16).replace(/^1f+00/,""),l=Os(s);return l==o(n).toString()},e}();function Rs(e,n){for(var t=e.toByteArray(),o=0;o<t.length&&t[o]==0;)++o;if(t.length-o!=n-1||t[o]!=2)return null;for(++o;t[o]!=0;)if(++o>=t.length)return null;for(var r="";++o<t.length;){var i=t[o]&255;i<128?r+=String.fromCharCode(i):i>191&&i<224?(r+=String.fromCharCode((i&31)<<6|t[o+1]&63),++o):(r+=String.fromCharCode((i&15)<<12|(t[o+1]&63)<<6|t[o+2]&63),o+=2)}return r}var Jt={md2:"3020300c06082a864886f70d020205000410",md5:"3020300c06082a864886f70d020505000410",sha1:"3021300906052b0e03021a05000414",sha224:"302d300d06096086480165030402040500041c",sha256:"3031300d060960864801650304020105000420",sha384:"3041300d060960864801650304020205000430",sha512:"3051300d060960864801650304020305000440",ripemd160:"3021300906052b2403020105000414"};function Is(e){return Jt[e]||""}function Os(e){for(var n in Jt)if(Jt.hasOwnProperty(n)){var t=Jt[n],o=t.length;if(e.substr(0,o)==t)return e.substr(o)}return e}/*!
79
79
  Copyright (c) 2011, Yahoo! Inc. All rights reserved.
80
80
  Code licensed under the BSD License:
81
81
  http://developer.yahoo.com/yui/license.html
@@ -87,33 +87,33 @@ version: 2.9.0
87
87
  * @version asn1 1.0.13 (2017-Jun-02)
88
88
  * @since jsrsasign 2.1
89
89
  * @license <a href="https://kjur.github.io/jsrsasign/license/">MIT License</a>
90
- */var j={};(typeof j.asn1>"u"||!j.asn1)&&(j.asn1={}),j.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var n=e.toString(16);return n.length%2==1&&(n="0"+n),n},this.bigIntToMinTwosComplementsHex=function(e){var n=e.toString(16);if(n.substr(0,1)!="-")n.length%2==1?n="0"+n:n.match(/^[0-7]/)||(n="00"+n);else{var t=n.substr(1),o=t.length;o%2==1?o+=1:n.match(/^[0-7]/)||(o+=2);for(var r="",i=0;i<o;i++)r+="f";var s=new ee(r,16),l=s.xor(e).add(ee.ONE);n=l.toString(16).replace(/^-/,"")}return n},this.getPEMStringFromHex=function(e,n){return hextopem(e,n)},this.newObject=function(e){var n=j,t=n.asn1,o=t.DERBoolean,r=t.DERInteger,i=t.DERBitString,s=t.DEROctetString,l=t.DERNull,f=t.DERObjectIdentifier,c=t.DEREnumerated,d=t.DERUTF8String,y=t.DERNumericString,h=t.DERPrintableString,u=t.DERTeletexString,m=t.DERIA5String,g=t.DERUTCTime,S=t.DERGeneralizedTime,E=t.DERSequence,x=t.DERSet,v=t.DERTaggedObject,p=t.ASN1Util.newObject,C=Object.keys(e);if(C.length!=1)throw"key of param shall be only one.";var w=C[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+w+":")==-1)throw"undefined key: "+w;if(w=="bool")return new o(e[w]);if(w=="int")return new r(e[w]);if(w=="bitstr")return new i(e[w]);if(w=="octstr")return new s(e[w]);if(w=="null")return new l(e[w]);if(w=="oid")return new f(e[w]);if(w=="enum")return new c(e[w]);if(w=="utf8str")return new d(e[w]);if(w=="numstr")return new y(e[w]);if(w=="prnstr")return new h(e[w]);if(w=="telstr")return new u(e[w]);if(w=="ia5str")return new m(e[w]);if(w=="utctime")return new g(e[w]);if(w=="gentime")return new S(e[w]);if(w=="seq"){for(var b=e[w],T=[],B=0;B<b.length;B++){var A=p(b[B]);T.push(A)}return new E({array:T})}if(w=="set"){for(var b=e[w],T=[],B=0;B<b.length;B++){var A=p(b[B]);T.push(A)}return new x({array:T})}if(w=="tag"){var k=e[w];if(Object.prototype.toString.call(k)==="[object Array]"&&k.length==3){var I=p(k[2]);return new v({tag:k[0],explicit:k[1],obj:I})}else{var D={};if(k.explicit!==void 0&&(D.explicit=k.explicit),k.tag!==void 0&&(D.tag=k.tag),k.obj===void 0)throw"obj shall be specified for 'tag'.";return D.obj=p(k.obj),new v(D)}}},this.jsonToASN1HEX=function(e){var n=this.newObject(e);return n.getEncodedHex()}},j.asn1.ASN1Util.oidHexToInt=function(e){for(var r="",n=parseInt(e.substr(0,2),16),t=Math.floor(n/40),o=n%40,r=t+"."+o,i="",s=2;s<e.length;s+=2){var l=parseInt(e.substr(s,2),16),f=("00000000"+l.toString(2)).slice(-8);if(i=i+f.substr(1,7),f.substr(0,1)=="0"){var c=new ee(i,2);r=r+"."+c.toString(10),i=""}}return r},j.asn1.ASN1Util.oidIntToHex=function(e){var n=function(l){var f=l.toString(16);return f.length==1&&(f="0"+f),f},t=function(l){var f="",c=new ee(l,10),d=c.toString(2),y=7-d.length%7;y==7&&(y=0);for(var h="",u=0;u<y;u++)h+="0";d=h+d;for(var u=0;u<d.length-1;u+=7){var m=d.substr(u,7);u!=d.length-7&&(m="1"+m),f+=n(parseInt(m,2))}return f};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var o="",r=e.split("."),i=parseInt(r[0])*40+parseInt(r[1]);o+=n(i),r.splice(0,2);for(var s=0;s<r.length;s++)o+=t(r[s]);return o},j.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var n=this.hV.length/2,t=n.toString(16);if(t.length%2==1&&(t="0"+t),n<128)return t;var o=t.length/2;if(o>15)throw"ASN.1 length too long to represent by 8x: n = "+n.toString(16);var r=128+o;return r.toString(16)+t},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},j.asn1.DERAbstractString=function(e){j.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(n){this.hTLV=null,this.isModified=!0,this.s=n,this.hV=stohex(this.s)},this.setStringHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"?this.setString(e):typeof e.str<"u"?this.setString(e.str):typeof e.hex<"u"&&this.setStringHex(e.hex))},Ce.lang.extend(j.asn1.DERAbstractString,j.asn1.ASN1Object),j.asn1.DERAbstractTime=function(e){j.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(n){utc=n.getTime()+n.getTimezoneOffset()*6e4;var t=new Date(utc);return t},this.formatDate=function(n,t,o){var r=this.zeroPadding,i=this.localDateToUTC(n),s=String(i.getFullYear());t=="utc"&&(s=s.substr(2,2));var l=r(String(i.getMonth()+1),2),f=r(String(i.getDate()),2),c=r(String(i.getHours()),2),d=r(String(i.getMinutes()),2),y=r(String(i.getSeconds()),2),h=s+l+f+c+d+y;if(o===!0){var u=i.getMilliseconds();if(u!=0){var m=r(String(u),3);m=m.replace(/[0]+$/,""),h=h+"."+m}}return h+"Z"},this.zeroPadding=function(n,t){return n.length>=t?n:new Array(t-n.length+1).join("0")+n},this.getString=function(){return this.s},this.setString=function(n){this.hTLV=null,this.isModified=!0,this.s=n,this.hV=stohex(n)},this.setByDateValue=function(n,t,o,r,i,s){var l=new Date(Date.UTC(n,t-1,o,r,i,s,0));this.setByDate(l)},this.getFreshValueHex=function(){return this.hV}},Ce.lang.extend(j.asn1.DERAbstractTime,j.asn1.ASN1Object),j.asn1.DERAbstractStructured=function(e){j.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(n){this.hTLV=null,this.isModified=!0,this.asn1Array=n},this.appendASN1Object=function(n){this.hTLV=null,this.isModified=!0,this.asn1Array.push(n)},this.asn1Array=new Array,typeof e<"u"&&typeof e.array<"u"&&(this.asn1Array=e.array)},Ce.lang.extend(j.asn1.DERAbstractStructured,j.asn1.ASN1Object),j.asn1.DERBoolean=function(){j.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Ce.lang.extend(j.asn1.DERBoolean,j.asn1.ASN1Object),j.asn1.DERInteger=function(e){j.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(n){this.hTLV=null,this.isModified=!0,this.hV=j.asn1.ASN1Util.bigIntToMinTwosComplementsHex(n)},this.setByInteger=function(n){var t=new ee(String(n),10);this.setByBigInteger(t)},this.setValueHex=function(n){this.hV=n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.bigint<"u"?this.setByBigInteger(e.bigint):typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))},Ce.lang.extend(j.asn1.DERInteger,j.asn1.ASN1Object),j.asn1.DERBitString=function(e){if(e!==void 0&&typeof e.obj<"u"){var n=j.asn1.ASN1Util.newObject(e.obj);e.hex="00"+n.getEncodedHex()}j.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,o){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var r="0"+t;this.hTLV=null,this.isModified=!0,this.hV=r+o},this.setByBinaryString=function(t){t=t.replace(/0+$/,"");var o=8-t.length%8;o==8&&(o=0);for(var r=0;r<=o;r++)t+="0";for(var i="",r=0;r<t.length-1;r+=8){var s=t.substr(r,8),l=parseInt(s,2).toString(16);l.length==1&&(l="0"+l),i+=l}this.hTLV=null,this.isModified=!0,this.hV="0"+o+i},this.setByBooleanArray=function(t){for(var o="",r=0;r<t.length;r++)t[r]==!0?o+="1":o+="0";this.setByBinaryString(o)},this.newFalseArray=function(t){for(var o=new Array(t),r=0;r<t;r++)o[r]=!1;return o},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):typeof e.hex<"u"?this.setHexValueIncludingUnusedBits(e.hex):typeof e.bin<"u"?this.setByBinaryString(e.bin):typeof e.array<"u"&&this.setByBooleanArray(e.array))},Ce.lang.extend(j.asn1.DERBitString,j.asn1.ASN1Object),j.asn1.DEROctetString=function(e){if(e!==void 0&&typeof e.obj<"u"){var n=j.asn1.ASN1Util.newObject(e.obj);e.hex=n.getEncodedHex()}j.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},Ce.lang.extend(j.asn1.DEROctetString,j.asn1.DERAbstractString),j.asn1.DERNull=function(){j.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Ce.lang.extend(j.asn1.DERNull,j.asn1.ASN1Object),j.asn1.DERObjectIdentifier=function(e){var n=function(o){var r=o.toString(16);return r.length==1&&(r="0"+r),r},t=function(o){var r="",i=new ee(o,10),s=i.toString(2),l=7-s.length%7;l==7&&(l=0);for(var f="",c=0;c<l;c++)f+="0";s=f+s;for(var c=0;c<s.length-1;c+=7){var d=s.substr(c,7);c!=s.length-7&&(d="1"+d),r+=n(parseInt(d,2))}return r};j.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(o){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=o},this.setValueOidString=function(o){if(!o.match(/^[0-9.]+$/))throw"malformed oid string: "+o;var r="",i=o.split("."),s=parseInt(i[0])*40+parseInt(i[1]);r+=n(s),i.splice(0,2);for(var l=0;l<i.length;l++)r+=t(i[l]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(o){var r=j.asn1.x509.OID.name2oid(o);if(r!=="")this.setValueOidString(r);else throw"DERObjectIdentifier oidName undefined: "+o},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e=="string"?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):e.oid!==void 0?this.setValueOidString(e.oid):e.hex!==void 0?this.setValueHex(e.hex):e.name!==void 0&&this.setValueName(e.name))},Ce.lang.extend(j.asn1.DERObjectIdentifier,j.asn1.ASN1Object),j.asn1.DEREnumerated=function(e){j.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(n){this.hTLV=null,this.isModified=!0,this.hV=j.asn1.ASN1Util.bigIntToMinTwosComplementsHex(n)},this.setByInteger=function(n){var t=new ee(String(n),10);this.setByBigInteger(t)},this.setValueHex=function(n){this.hV=n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))},Ce.lang.extend(j.asn1.DEREnumerated,j.asn1.ASN1Object),j.asn1.DERUTF8String=function(e){j.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},Ce.lang.extend(j.asn1.DERUTF8String,j.asn1.DERAbstractString),j.asn1.DERNumericString=function(e){j.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},Ce.lang.extend(j.asn1.DERNumericString,j.asn1.DERAbstractString),j.asn1.DERPrintableString=function(e){j.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},Ce.lang.extend(j.asn1.DERPrintableString,j.asn1.DERAbstractString),j.asn1.DERTeletexString=function(e){j.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},Ce.lang.extend(j.asn1.DERTeletexString,j.asn1.DERAbstractString),j.asn1.DERIA5String=function(e){j.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},Ce.lang.extend(j.asn1.DERIA5String,j.asn1.DERAbstractString),j.asn1.DERUTCTime=function(e){j.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(n){this.hTLV=null,this.isModified=!0,this.date=n,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{12}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date))},Ce.lang.extend(j.asn1.DERUTCTime,j.asn1.DERAbstractTime),j.asn1.DERGeneralizedTime=function(e){j.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(n){this.hTLV=null,this.isModified=!0,this.date=n,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{14}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0))},Ce.lang.extend(j.asn1.DERGeneralizedTime,j.asn1.DERAbstractTime),j.asn1.DERSequence=function(e){j.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var n="",t=0;t<this.asn1Array.length;t++){var o=this.asn1Array[t];n+=o.getEncodedHex()}return this.hV=n,this.hV}},Ce.lang.extend(j.asn1.DERSequence,j.asn1.DERAbstractStructured),j.asn1.DERSet=function(e){j.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var n=new Array,t=0;t<this.asn1Array.length;t++){var o=this.asn1Array[t];n.push(o.getEncodedHex())}return this.sortFlag==!0&&n.sort(),this.hV=n.join(""),this.hV},typeof e<"u"&&typeof e.sortflag<"u"&&e.sortflag==!1&&(this.sortFlag=!1)},Ce.lang.extend(j.asn1.DERSet,j.asn1.DERAbstractStructured),j.asn1.DERTaggedObject=function(e){j.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(n,t,o){this.hT=t,this.isExplicit=n,this.asn1Object=o,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=o.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.tag<"u"&&(this.hT=e.tag),typeof e.explicit<"u"&&(this.isExplicit=e.explicit),typeof e.obj<"u"&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},Ce.lang.extend(j.asn1.DERTaggedObject,j.asn1.ASN1Object);var Bs=globalThis&&globalThis.__extends||function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=r[i])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function o(){this.constructor=n}n.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),zr=function(e){Bs(n,e);function n(t){var o=e.call(this)||this;return t&&(typeof t=="string"?o.parseKey(t):(n.hasPrivateKeyProperty(t)||n.hasPublicKeyProperty(t))&&o.parsePropertiesFrom(t)),o}return n.prototype.parseKey=function(t){try{var o=0,r=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,s=i.test(t)?ds.decode(t):no.unarmor(t),l=gs.decode(s);if(l.sub.length===3&&(l=l.sub[2].sub[0]),l.sub.length===9){o=l.sub[1].getHexStringValue(),this.n=be(o,16),r=l.sub[2].getHexStringValue(),this.e=parseInt(r,16);var f=l.sub[3].getHexStringValue();this.d=be(f,16);var c=l.sub[4].getHexStringValue();this.p=be(c,16);var d=l.sub[5].getHexStringValue();this.q=be(d,16);var y=l.sub[6].getHexStringValue();this.dmp1=be(y,16);var h=l.sub[7].getHexStringValue();this.dmq1=be(h,16);var u=l.sub[8].getHexStringValue();this.coeff=be(u,16)}else if(l.sub.length===2)if(l.sub[0].sub){var m=l.sub[1],g=m.sub[0];o=g.sub[0].getHexStringValue(),this.n=be(o,16),r=g.sub[1].getHexStringValue(),this.e=parseInt(r,16)}else o=l.sub[0].getHexStringValue(),this.n=be(o,16),r=l.sub[1].getHexStringValue(),this.e=parseInt(r,16);else return!1;return!0}catch{return!1}},n.prototype.getPrivateBaseKey=function(){var t={array:[new j.asn1.DERInteger({int:0}),new j.asn1.DERInteger({bigint:this.n}),new j.asn1.DERInteger({int:this.e}),new j.asn1.DERInteger({bigint:this.d}),new j.asn1.DERInteger({bigint:this.p}),new j.asn1.DERInteger({bigint:this.q}),new j.asn1.DERInteger({bigint:this.dmp1}),new j.asn1.DERInteger({bigint:this.dmq1}),new j.asn1.DERInteger({bigint:this.coeff})]},o=new j.asn1.DERSequence(t);return o.getEncodedHex()},n.prototype.getPrivateBaseKeyB64=function(){return Wt(this.getPrivateBaseKey())},n.prototype.getPublicBaseKey=function(){var t=new j.asn1.DERSequence({array:[new j.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new j.asn1.DERNull]}),o=new j.asn1.DERSequence({array:[new j.asn1.DERInteger({bigint:this.n}),new j.asn1.DERInteger({int:this.e})]}),r=new j.asn1.DERBitString({hex:"00"+o.getEncodedHex()}),i=new j.asn1.DERSequence({array:[t,r]});return i.getEncodedHex()},n.prototype.getPublicBaseKeyB64=function(){return Wt(this.getPublicBaseKey())},n.wordwrap=function(t,o){if(o=o||64,!t)return t;var r="(.{1,"+o+`})( +|$
90
+ */var j={};(typeof j.asn1>"u"||!j.asn1)&&(j.asn1={}),j.asn1.ASN1Util=new function(){this.integerToByteHex=function(e){var n=e.toString(16);return n.length%2==1&&(n="0"+n),n},this.bigIntToMinTwosComplementsHex=function(e){var n=e.toString(16);if(n.substr(0,1)!="-")n.length%2==1?n="0"+n:n.match(/^[0-7]/)||(n="00"+n);else{var t=n.substr(1),o=t.length;o%2==1?o+=1:n.match(/^[0-7]/)||(o+=2);for(var r="",i=0;i<o;i++)r+="f";var s=new ee(r,16),l=s.xor(e).add(ee.ONE);n=l.toString(16).replace(/^-/,"")}return n},this.getPEMStringFromHex=function(e,n){return hextopem(e,n)},this.newObject=function(e){var n=j,t=n.asn1,o=t.DERBoolean,r=t.DERInteger,i=t.DERBitString,s=t.DEROctetString,l=t.DERNull,f=t.DERObjectIdentifier,c=t.DEREnumerated,d=t.DERUTF8String,y=t.DERNumericString,h=t.DERPrintableString,u=t.DERTeletexString,m=t.DERIA5String,g=t.DERUTCTime,w=t.DERGeneralizedTime,T=t.DERSequence,x=t.DERSet,v=t.DERTaggedObject,p=t.ASN1Util.newObject,C=Object.keys(e);if(C.length!=1)throw"key of param shall be only one.";var S=C[0];if(":bool:int:bitstr:octstr:null:oid:enum:utf8str:numstr:prnstr:telstr:ia5str:utctime:gentime:seq:set:tag:".indexOf(":"+S+":")==-1)throw"undefined key: "+S;if(S=="bool")return new o(e[S]);if(S=="int")return new r(e[S]);if(S=="bitstr")return new i(e[S]);if(S=="octstr")return new s(e[S]);if(S=="null")return new l(e[S]);if(S=="oid")return new f(e[S]);if(S=="enum")return new c(e[S]);if(S=="utf8str")return new d(e[S]);if(S=="numstr")return new y(e[S]);if(S=="prnstr")return new h(e[S]);if(S=="telstr")return new u(e[S]);if(S=="ia5str")return new m(e[S]);if(S=="utctime")return new g(e[S]);if(S=="gentime")return new w(e[S]);if(S=="seq"){for(var b=e[S],E=[],B=0;B<b.length;B++){var A=p(b[B]);E.push(A)}return new T({array:E})}if(S=="set"){for(var b=e[S],E=[],B=0;B<b.length;B++){var A=p(b[B]);E.push(A)}return new x({array:E})}if(S=="tag"){var k=e[S];if(Object.prototype.toString.call(k)==="[object Array]"&&k.length==3){var I=p(k[2]);return new v({tag:k[0],explicit:k[1],obj:I})}else{var D={};if(k.explicit!==void 0&&(D.explicit=k.explicit),k.tag!==void 0&&(D.tag=k.tag),k.obj===void 0)throw"obj shall be specified for 'tag'.";return D.obj=p(k.obj),new v(D)}}},this.jsonToASN1HEX=function(e){var n=this.newObject(e);return n.getEncodedHex()}},j.asn1.ASN1Util.oidHexToInt=function(e){for(var r="",n=parseInt(e.substr(0,2),16),t=Math.floor(n/40),o=n%40,r=t+"."+o,i="",s=2;s<e.length;s+=2){var l=parseInt(e.substr(s,2),16),f=("00000000"+l.toString(2)).slice(-8);if(i=i+f.substr(1,7),f.substr(0,1)=="0"){var c=new ee(i,2);r=r+"."+c.toString(10),i=""}}return r},j.asn1.ASN1Util.oidIntToHex=function(e){var n=function(l){var f=l.toString(16);return f.length==1&&(f="0"+f),f},t=function(l){var f="",c=new ee(l,10),d=c.toString(2),y=7-d.length%7;y==7&&(y=0);for(var h="",u=0;u<y;u++)h+="0";d=h+d;for(var u=0;u<d.length-1;u+=7){var m=d.substr(u,7);u!=d.length-7&&(m="1"+m),f+=n(parseInt(m,2))}return f};if(!e.match(/^[0-9.]+$/))throw"malformed oid string: "+e;var o="",r=e.split("."),i=parseInt(r[0])*40+parseInt(r[1]);o+=n(i),r.splice(0,2);for(var s=0;s<r.length;s++)o+=t(r[s]);return o},j.asn1.ASN1Object=function(){var e="";this.getLengthHexFromValue=function(){if(typeof this.hV>"u"||this.hV==null)throw"this.hV is null or undefined.";if(this.hV.length%2==1)throw"value hex must be even length: n="+e.length+",v="+this.hV;var n=this.hV.length/2,t=n.toString(16);if(t.length%2==1&&(t="0"+t),n<128)return t;var o=t.length/2;if(o>15)throw"ASN.1 length too long to represent by 8x: n = "+n.toString(16);var r=128+o;return r.toString(16)+t},this.getEncodedHex=function(){return(this.hTLV==null||this.isModified)&&(this.hV=this.getFreshValueHex(),this.hL=this.getLengthHexFromValue(),this.hTLV=this.hT+this.hL+this.hV,this.isModified=!1),this.hTLV},this.getValueHex=function(){return this.getEncodedHex(),this.hV},this.getFreshValueHex=function(){return""}},j.asn1.DERAbstractString=function(e){j.asn1.DERAbstractString.superclass.constructor.call(this),this.getString=function(){return this.s},this.setString=function(n){this.hTLV=null,this.isModified=!0,this.s=n,this.hV=stohex(this.s)},this.setStringHex=function(n){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"?this.setString(e):typeof e.str<"u"?this.setString(e.str):typeof e.hex<"u"&&this.setStringHex(e.hex))},Ce.lang.extend(j.asn1.DERAbstractString,j.asn1.ASN1Object),j.asn1.DERAbstractTime=function(e){j.asn1.DERAbstractTime.superclass.constructor.call(this),this.localDateToUTC=function(n){utc=n.getTime()+n.getTimezoneOffset()*6e4;var t=new Date(utc);return t},this.formatDate=function(n,t,o){var r=this.zeroPadding,i=this.localDateToUTC(n),s=String(i.getFullYear());t=="utc"&&(s=s.substr(2,2));var l=r(String(i.getMonth()+1),2),f=r(String(i.getDate()),2),c=r(String(i.getHours()),2),d=r(String(i.getMinutes()),2),y=r(String(i.getSeconds()),2),h=s+l+f+c+d+y;if(o===!0){var u=i.getMilliseconds();if(u!=0){var m=r(String(u),3);m=m.replace(/[0]+$/,""),h=h+"."+m}}return h+"Z"},this.zeroPadding=function(n,t){return n.length>=t?n:new Array(t-n.length+1).join("0")+n},this.getString=function(){return this.s},this.setString=function(n){this.hTLV=null,this.isModified=!0,this.s=n,this.hV=stohex(n)},this.setByDateValue=function(n,t,o,r,i,s){var l=new Date(Date.UTC(n,t-1,o,r,i,s,0));this.setByDate(l)},this.getFreshValueHex=function(){return this.hV}},Ce.lang.extend(j.asn1.DERAbstractTime,j.asn1.ASN1Object),j.asn1.DERAbstractStructured=function(e){j.asn1.DERAbstractString.superclass.constructor.call(this),this.setByASN1ObjectArray=function(n){this.hTLV=null,this.isModified=!0,this.asn1Array=n},this.appendASN1Object=function(n){this.hTLV=null,this.isModified=!0,this.asn1Array.push(n)},this.asn1Array=new Array,typeof e<"u"&&typeof e.array<"u"&&(this.asn1Array=e.array)},Ce.lang.extend(j.asn1.DERAbstractStructured,j.asn1.ASN1Object),j.asn1.DERBoolean=function(){j.asn1.DERBoolean.superclass.constructor.call(this),this.hT="01",this.hTLV="0101ff"},Ce.lang.extend(j.asn1.DERBoolean,j.asn1.ASN1Object),j.asn1.DERInteger=function(e){j.asn1.DERInteger.superclass.constructor.call(this),this.hT="02",this.setByBigInteger=function(n){this.hTLV=null,this.isModified=!0,this.hV=j.asn1.ASN1Util.bigIntToMinTwosComplementsHex(n)},this.setByInteger=function(n){var t=new ee(String(n),10);this.setByBigInteger(t)},this.setValueHex=function(n){this.hV=n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.bigint<"u"?this.setByBigInteger(e.bigint):typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))},Ce.lang.extend(j.asn1.DERInteger,j.asn1.ASN1Object),j.asn1.DERBitString=function(e){if(e!==void 0&&typeof e.obj<"u"){var n=j.asn1.ASN1Util.newObject(e.obj);e.hex="00"+n.getEncodedHex()}j.asn1.DERBitString.superclass.constructor.call(this),this.hT="03",this.setHexValueIncludingUnusedBits=function(t){this.hTLV=null,this.isModified=!0,this.hV=t},this.setUnusedBitsAndHexValue=function(t,o){if(t<0||7<t)throw"unused bits shall be from 0 to 7: u = "+t;var r="0"+t;this.hTLV=null,this.isModified=!0,this.hV=r+o},this.setByBinaryString=function(t){t=t.replace(/0+$/,"");var o=8-t.length%8;o==8&&(o=0);for(var r=0;r<=o;r++)t+="0";for(var i="",r=0;r<t.length-1;r+=8){var s=t.substr(r,8),l=parseInt(s,2).toString(16);l.length==1&&(l="0"+l),i+=l}this.hTLV=null,this.isModified=!0,this.hV="0"+o+i},this.setByBooleanArray=function(t){for(var o="",r=0;r<t.length;r++)t[r]==!0?o+="1":o+="0";this.setByBinaryString(o)},this.newFalseArray=function(t){for(var o=new Array(t),r=0;r<t;r++)o[r]=!1;return o},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e=="string"&&e.toLowerCase().match(/^[0-9a-f]+$/)?this.setHexValueIncludingUnusedBits(e):typeof e.hex<"u"?this.setHexValueIncludingUnusedBits(e.hex):typeof e.bin<"u"?this.setByBinaryString(e.bin):typeof e.array<"u"&&this.setByBooleanArray(e.array))},Ce.lang.extend(j.asn1.DERBitString,j.asn1.ASN1Object),j.asn1.DEROctetString=function(e){if(e!==void 0&&typeof e.obj<"u"){var n=j.asn1.ASN1Util.newObject(e.obj);e.hex=n.getEncodedHex()}j.asn1.DEROctetString.superclass.constructor.call(this,e),this.hT="04"},Ce.lang.extend(j.asn1.DEROctetString,j.asn1.DERAbstractString),j.asn1.DERNull=function(){j.asn1.DERNull.superclass.constructor.call(this),this.hT="05",this.hTLV="0500"},Ce.lang.extend(j.asn1.DERNull,j.asn1.ASN1Object),j.asn1.DERObjectIdentifier=function(e){var n=function(o){var r=o.toString(16);return r.length==1&&(r="0"+r),r},t=function(o){var r="",i=new ee(o,10),s=i.toString(2),l=7-s.length%7;l==7&&(l=0);for(var f="",c=0;c<l;c++)f+="0";s=f+s;for(var c=0;c<s.length-1;c+=7){var d=s.substr(c,7);c!=s.length-7&&(d="1"+d),r+=n(parseInt(d,2))}return r};j.asn1.DERObjectIdentifier.superclass.constructor.call(this),this.hT="06",this.setValueHex=function(o){this.hTLV=null,this.isModified=!0,this.s=null,this.hV=o},this.setValueOidString=function(o){if(!o.match(/^[0-9.]+$/))throw"malformed oid string: "+o;var r="",i=o.split("."),s=parseInt(i[0])*40+parseInt(i[1]);r+=n(s),i.splice(0,2);for(var l=0;l<i.length;l++)r+=t(i[l]);this.hTLV=null,this.isModified=!0,this.s=null,this.hV=r},this.setValueName=function(o){var r=j.asn1.x509.OID.name2oid(o);if(r!=="")this.setValueOidString(r);else throw"DERObjectIdentifier oidName undefined: "+o},this.getFreshValueHex=function(){return this.hV},e!==void 0&&(typeof e=="string"?e.match(/^[0-2].[0-9.]+$/)?this.setValueOidString(e):this.setValueName(e):e.oid!==void 0?this.setValueOidString(e.oid):e.hex!==void 0?this.setValueHex(e.hex):e.name!==void 0&&this.setValueName(e.name))},Ce.lang.extend(j.asn1.DERObjectIdentifier,j.asn1.ASN1Object),j.asn1.DEREnumerated=function(e){j.asn1.DEREnumerated.superclass.constructor.call(this),this.hT="0a",this.setByBigInteger=function(n){this.hTLV=null,this.isModified=!0,this.hV=j.asn1.ASN1Util.bigIntToMinTwosComplementsHex(n)},this.setByInteger=function(n){var t=new ee(String(n),10);this.setByBigInteger(t)},this.setValueHex=function(n){this.hV=n},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.int<"u"?this.setByInteger(e.int):typeof e=="number"?this.setByInteger(e):typeof e.hex<"u"&&this.setValueHex(e.hex))},Ce.lang.extend(j.asn1.DEREnumerated,j.asn1.ASN1Object),j.asn1.DERUTF8String=function(e){j.asn1.DERUTF8String.superclass.constructor.call(this,e),this.hT="0c"},Ce.lang.extend(j.asn1.DERUTF8String,j.asn1.DERAbstractString),j.asn1.DERNumericString=function(e){j.asn1.DERNumericString.superclass.constructor.call(this,e),this.hT="12"},Ce.lang.extend(j.asn1.DERNumericString,j.asn1.DERAbstractString),j.asn1.DERPrintableString=function(e){j.asn1.DERPrintableString.superclass.constructor.call(this,e),this.hT="13"},Ce.lang.extend(j.asn1.DERPrintableString,j.asn1.DERAbstractString),j.asn1.DERTeletexString=function(e){j.asn1.DERTeletexString.superclass.constructor.call(this,e),this.hT="14"},Ce.lang.extend(j.asn1.DERTeletexString,j.asn1.DERAbstractString),j.asn1.DERIA5String=function(e){j.asn1.DERIA5String.superclass.constructor.call(this,e),this.hT="16"},Ce.lang.extend(j.asn1.DERIA5String,j.asn1.DERAbstractString),j.asn1.DERUTCTime=function(e){j.asn1.DERUTCTime.superclass.constructor.call(this,e),this.hT="17",this.setByDate=function(n){this.hTLV=null,this.isModified=!0,this.date=n,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return typeof this.date>"u"&&typeof this.s>"u"&&(this.date=new Date,this.s=this.formatDate(this.date,"utc"),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{12}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date))},Ce.lang.extend(j.asn1.DERUTCTime,j.asn1.DERAbstractTime),j.asn1.DERGeneralizedTime=function(e){j.asn1.DERGeneralizedTime.superclass.constructor.call(this,e),this.hT="18",this.withMillis=!1,this.setByDate=function(n){this.hTLV=null,this.isModified=!0,this.date=n,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)},this.getFreshValueHex=function(){return this.date===void 0&&this.s===void 0&&(this.date=new Date,this.s=this.formatDate(this.date,"gen",this.withMillis),this.hV=stohex(this.s)),this.hV},e!==void 0&&(e.str!==void 0?this.setString(e.str):typeof e=="string"&&e.match(/^[0-9]{14}Z$/)?this.setString(e):e.hex!==void 0?this.setStringHex(e.hex):e.date!==void 0&&this.setByDate(e.date),e.millis===!0&&(this.withMillis=!0))},Ce.lang.extend(j.asn1.DERGeneralizedTime,j.asn1.DERAbstractTime),j.asn1.DERSequence=function(e){j.asn1.DERSequence.superclass.constructor.call(this,e),this.hT="30",this.getFreshValueHex=function(){for(var n="",t=0;t<this.asn1Array.length;t++){var o=this.asn1Array[t];n+=o.getEncodedHex()}return this.hV=n,this.hV}},Ce.lang.extend(j.asn1.DERSequence,j.asn1.DERAbstractStructured),j.asn1.DERSet=function(e){j.asn1.DERSet.superclass.constructor.call(this,e),this.hT="31",this.sortFlag=!0,this.getFreshValueHex=function(){for(var n=new Array,t=0;t<this.asn1Array.length;t++){var o=this.asn1Array[t];n.push(o.getEncodedHex())}return this.sortFlag==!0&&n.sort(),this.hV=n.join(""),this.hV},typeof e<"u"&&typeof e.sortflag<"u"&&e.sortflag==!1&&(this.sortFlag=!1)},Ce.lang.extend(j.asn1.DERSet,j.asn1.DERAbstractStructured),j.asn1.DERTaggedObject=function(e){j.asn1.DERTaggedObject.superclass.constructor.call(this),this.hT="a0",this.hV="",this.isExplicit=!0,this.asn1Object=null,this.setASN1Object=function(n,t,o){this.hT=t,this.isExplicit=n,this.asn1Object=o,this.isExplicit?(this.hV=this.asn1Object.getEncodedHex(),this.hTLV=null,this.isModified=!0):(this.hV=null,this.hTLV=o.getEncodedHex(),this.hTLV=this.hTLV.replace(/^../,t),this.isModified=!1)},this.getFreshValueHex=function(){return this.hV},typeof e<"u"&&(typeof e.tag<"u"&&(this.hT=e.tag),typeof e.explicit<"u"&&(this.isExplicit=e.explicit),typeof e.obj<"u"&&(this.asn1Object=e.obj,this.setASN1Object(this.isExplicit,this.hT,this.asn1Object)))},Ce.lang.extend(j.asn1.DERTaggedObject,j.asn1.ASN1Object);var Ls=globalThis&&globalThis.__extends||function(){var e=function(n,t){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,r){o.__proto__=r}||function(o,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(o[i]=r[i])},e(n,t)};return function(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");e(n,t);function o(){this.constructor=n}n.prototype=t===null?Object.create(t):(o.prototype=t.prototype,new o)}}(),Fr=function(e){Ls(n,e);function n(t){var o=e.call(this)||this;return t&&(typeof t=="string"?o.parseKey(t):(n.hasPrivateKeyProperty(t)||n.hasPublicKeyProperty(t))&&o.parsePropertiesFrom(t)),o}return n.prototype.parseKey=function(t){try{var o=0,r=0,i=/^\s*(?:[0-9A-Fa-f][0-9A-Fa-f]\s*)+$/,s=i.test(t)?ys.decode(t):no.unarmor(t),l=bs.decode(s);if(l.sub.length===3&&(l=l.sub[2].sub[0]),l.sub.length===9){o=l.sub[1].getHexStringValue(),this.n=be(o,16),r=l.sub[2].getHexStringValue(),this.e=parseInt(r,16);var f=l.sub[3].getHexStringValue();this.d=be(f,16);var c=l.sub[4].getHexStringValue();this.p=be(c,16);var d=l.sub[5].getHexStringValue();this.q=be(d,16);var y=l.sub[6].getHexStringValue();this.dmp1=be(y,16);var h=l.sub[7].getHexStringValue();this.dmq1=be(h,16);var u=l.sub[8].getHexStringValue();this.coeff=be(u,16)}else if(l.sub.length===2)if(l.sub[0].sub){var m=l.sub[1],g=m.sub[0];o=g.sub[0].getHexStringValue(),this.n=be(o,16),r=g.sub[1].getHexStringValue(),this.e=parseInt(r,16)}else o=l.sub[0].getHexStringValue(),this.n=be(o,16),r=l.sub[1].getHexStringValue(),this.e=parseInt(r,16);else return!1;return!0}catch{return!1}},n.prototype.getPrivateBaseKey=function(){var t={array:[new j.asn1.DERInteger({int:0}),new j.asn1.DERInteger({bigint:this.n}),new j.asn1.DERInteger({int:this.e}),new j.asn1.DERInteger({bigint:this.d}),new j.asn1.DERInteger({bigint:this.p}),new j.asn1.DERInteger({bigint:this.q}),new j.asn1.DERInteger({bigint:this.dmp1}),new j.asn1.DERInteger({bigint:this.dmq1}),new j.asn1.DERInteger({bigint:this.coeff})]},o=new j.asn1.DERSequence(t);return o.getEncodedHex()},n.prototype.getPrivateBaseKeyB64=function(){return Wt(this.getPrivateBaseKey())},n.prototype.getPublicBaseKey=function(){var t=new j.asn1.DERSequence({array:[new j.asn1.DERObjectIdentifier({oid:"1.2.840.113549.1.1.1"}),new j.asn1.DERNull]}),o=new j.asn1.DERSequence({array:[new j.asn1.DERInteger({bigint:this.n}),new j.asn1.DERInteger({int:this.e})]}),r=new j.asn1.DERBitString({hex:"00"+o.getEncodedHex()}),i=new j.asn1.DERSequence({array:[t,r]});return i.getEncodedHex()},n.prototype.getPublicBaseKeyB64=function(){return Wt(this.getPublicBaseKey())},n.wordwrap=function(t,o){if(o=o||64,!t)return t;var r="(.{1,"+o+`})( +|$
91
91
  ?)|(.{1,`+o+"})";return t.match(RegExp(r,"g")).join(`
92
92
  `)},n.prototype.getPrivateKey=function(){var t=`-----BEGIN RSA PRIVATE KEY-----
93
93
  `;return t+=n.wordwrap(this.getPrivateBaseKeyB64())+`
94
94
  `,t+="-----END RSA PRIVATE KEY-----",t},n.prototype.getPublicKey=function(){var t=`-----BEGIN PUBLIC KEY-----
95
95
  `;return t+=n.wordwrap(this.getPublicBaseKeyB64())+`
96
- `,t+="-----END PUBLIC KEY-----",t},n.hasPublicKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")},n.hasPrivateKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},n.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},n}(As),lo,_s=typeof process<"u"?(lo=process.env)===null||lo===void 0?void 0:lo.npm_package_version:void 0,Ds=function(){function e(n){n===void 0&&(n={}),n=n||{},this.default_key_size=n.default_key_size?parseInt(n.default_key_size,10):1024,this.default_public_exponent=n.default_public_exponent||"010001",this.log=n.log||!1,this.key=null}return e.prototype.setKey=function(n){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new zr(n)},e.prototype.setPrivateKey=function(n){this.setKey(n)},e.prototype.setPublicKey=function(n){this.setKey(n)},e.prototype.decrypt=function(n){try{return this.getKey().decrypt(Br(n))}catch{return!1}},e.prototype.encrypt=function(n){try{return Wt(this.getKey().encrypt(n))}catch{return!1}},e.prototype.sign=function(n,t,o){try{return Wt(this.getKey().sign(n,t,o))}catch{return!1}},e.prototype.verify=function(n,t,o){try{return this.getKey().verify(n,Br(t),o)}catch{return!1}},e.prototype.getKey=function(n){if(!this.key){if(this.key=new zr,n&&{}.toString.call(n)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,n);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=_s,e}();const Pr=new Ds,Tt=Rs();function Rs(){let n=Math.random().toString(36).substr(2);for(;n.length<16;)n+=Math.random().toString(36).substr(2);return n=n.substr(0,16),n}const Fr=He.enc.Utf8.parse("ABCDEF1234123412");function Is(e,n){n=n||Tt;const t=He.enc.Utf8.parse(n);let o="";switch(typeof e){case"string":o=He.enc.Utf8.parse(e);break;case"object":o=He.enc.Utf8.parse(JSON.stringify(e));break;default:o=He.enc.Utf8.parse(e.toString())}return He.AES.encrypt(o,t,{iv:Fr,mode:He.mode.CBC,padding:He.pad.ZeroPadding}).toString()}function Hr(e,n){n=n||Tt;const t=He.enc.Utf8.parse(n),o=He.AES.decrypt(e,t,{iv:Fr,mode:He.mode.CBC,padding:He.pad.ZeroPadding});return He.enc.Utf8.stringify(o).toString()}function Os(e){Pr.setPublicKey(e)}function Ls(e){return Pr.encrypt(e)}function qr(e=""){e.startsWith("/")||(e="/"+e),e=e.split("?")[0];const t=["/diagram","/dataview"].map(o=>`^(.*?)${o}(/|$)`);for(const o of t)if(new RegExp(o).test(e))return!0;return!1}function Ns(e){const{paramType:n,data:t,params:o,method:r}=e;n==="form"?["get","delete"].includes(r)?e.params=Bt(o,"string"):e.data=Bt(t,"string"):["get","delete"].includes(r)?e.params=Bt(o,"string"):e.data=Bt(t)}function Bt(e,n){let t=e||{};if(n==="string"){t="";for(const l in e)if(Object.hasOwnProperty.call(e,l)){const f=e[l];t+=`${l}=${encodeURIComponent(f)}&`}}Os("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMKaTbS1XHH7u/4dhao1n5Lcegpy6AHKX2TjmTP7IDW6N4wznqlL3Tt+U0/Il1TlNp1/EN+tffYYg4dPrrCUDwcCAwEAAQ==");const r=Ls(Tt);return{c:Is(t,Tt),p:r}}window.getEncryptParam=Bt;function Ms(e,n){var t;(t=window==null?void 0:window.config)!=null&&t.encryptFlag&&qr(e.url)&&(e.data instanceof FormData?e.data=zs(e.data):Ns(e))}function zs(e){const n=e.entries(),t=new FormData,o={};for(const i of n){const s=i[0],l=i[1];l instanceof Blob?t.append(s,l):o[s]=l}const r=Bt(o,"json");return typeof r=="object"&&(t.append("c",r.c),t.append("p",r.p)),t}window.xhaesKey=Tt,window.xhaesDecrypt=Hr;function Vr(e,n){var t;if((t=window==null?void 0:window.config)!=null&&t.encryptFlag&&qr(e.config.url)&&!(e.data instanceof Blob)&&e.data.data!==void 0){const o=Hr(e.data.data.content,Tt);e.data=JSON.parse(o)}}const jr=window.config.requestErrorTip,Ke=s0.create({timeout:1e3*180});Ke.interceptors.request.use(e=>(Ms(e),e),e=>Promise.reject(e)),Ke.interceptors.response.use(e=>{var n,t,o;return jr&&+((n=e==null?void 0:e.data)==null?void 0:n.code)==500&&re.message.error({content:((t=e==null?void 0:e.data)==null?void 0:t.msg)||((o=e==null?void 0:e.data)==null?void 0:o.message)||"服务器异常",key:"SERVER_ERROR"}),Vr(e),e},e=>{if(Vr(e==null?void 0:e.response),jr)if(e.message.includes("timeout"))re.message.error({content:"网络连接超时,请重试!",key:"TIMEOUT"});else{const{status:n}=(e==null?void 0:e.response)||{};n>=400&&n<500&&re.message.error({content:"请求异常",key:"REQUEST_ERROR"}),n>=500&&re.message.error({content:"服务器异常",key:"REQUEST_ERROR"})}return Promise.reject(e)});const Ps=e=>e.replace(/\\n/g,`
97
- `),so=(e,n=2)=>{const t=parseFloat(e+"");return isNaN(t)?e:t.toFixed(n).replace(/(\d)(?=(\d{3})+\.)/g,"$1,")},Fs=e=>{const n=parseFloat(e+"");return isNaN(n)?e:(n+"").replace(/\B(?=(\d{3})+(?!\d))/g,",")},en=(e,n=2)=>{const t=e+"";if(t.includes("%"))return e;const o=parseFloat(t);return isNaN(o)?e:`${(o*100).toFixed(n)}%`},Hs=(e,n=2)=>{const t=e+"",o=parseFloat(t);return isNaN(o)?e:o.toFixed(n)},_t=(e,n)=>{if(typeof e=="string"&&typeof n=="string")return e.toLocaleLowerCase().includes(n.toLocaleLowerCase());if(typeof e=="string"&&Array.isArray(n)){const t=n.length;for(let o=0;o<t;o++){const r=n[o];if(typeof r=="string"&&e.toLocaleLowerCase().includes(r.toLocaleLowerCase()))return!0}}return!1},tn=(e,n)=>{const t={dayjs:we,...n};let o="";const r=[];for(const l in t)o+=`${l},`,r.push(t[l]);o=o.replace(/,$/,"");const i=`function (${o}){return ${e}}`;let s;try{s=Function(`"use strict";return (${i})`)()(...r)}catch{return e}return s},Ae=(e="",{textData:n,codeData:t}={},{useNewline:o=!1,useSpace:r=!1}={})=>{const s={...window.config||{},...n},l=e.match(/\{(.+?)\}/g);if(l==null||l.length===0)return e;for(let f=0;f<l.length;f++){const c=l[f];let d=c.slice(1,-1).trim();const y=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,h=d.match(y);for(let u=0;u<h.length;u++){const m=h[u],g=s[m];g!=null&&(d=d.replace(m,g))}(/\(.*\)/g.test(d)||/[+/\\*]/g.test(d))&&(d=tn(d,t)),e=e.replace(c,d)}return o&&(e=e==null?void 0:e.replace(/\n|\\n/g,"<br/>")),r&&(e=e==null?void 0:e.replace(/\s{2,}?/g,"&nbsp;&nbsp;")),e},Oe=(e,n=()=>{})=>{const{requestUrl:t,requestMethod:o,requestHeaders:r,requestParams:i,requestInterval:s,isOpenRequestTimer:l}=e,{contextRequestUrl:f,touchEventId:c}=a.inject(Ie,{contextRequestUrl:"",touchEventId:""}),{getGlobalModel:d}=a.inject(Se,{getGlobalModel:m=>{}}),y=Ae(t),h=async(m={})=>{if(!y||!o||!r)return;let g={};i.forEach(p=>{const{key:C,value:w}=p;if(typeof w=="object"&&w!=null&&w.id){let b={};const{id:T,prop:B,propKey:A,operate:k}=w;T==="THIS"?b=d(a.unref(c))||{}:b=d(T)||{};const I=a.unref(b[B]);let D=null;if(["date","range"].some(H=>_t(b==null?void 0:b.type,H))){const{value:H,type:O,mode:V}=k||{};if(H&&O&&V)switch(O){case"add":D=a.unref(I).add(H,V);break;case"minus":D=a.unref(I).subtract(H,V);break}D==null&&(D=a.unref(I)),D=(D==null?void 0:D.format((A==null?void 0:A.trim())||b.format))||""}else Object.prototype.toString.call(I)==="[object Object]"?A?D=I[A]:D=B?I[B]:I:_t(b==null?void 0:b.type,"select")&&a.unref(I)&&B&&Array.isArray(a.unref(I))?D=a.unref(I).map(H=>Object.prototype.hasOwnProperty.call(H,B)?H[B]:H):D=I;g[C]=D}else typeof w=="string"&&(g[C]=Ae(w))}),g={...window.config.requestParams,...m,...g};let S="";const E=Object.keys(g),x=E.length-1,v=E.length;E.forEach((p,C)=>{let w=g[p];Object.prototype.toString.call(w)==="[object Object]"&&(w=JSON.stringify(w)),C===0?v!==1?S+=`?${p}=${w}&`:S+=`?${p}=${w}`:C===x?S+=`${p}=${w}`:S+=`${p}=${w}&`});try{const p=["get","head"].includes(o),C={};let w=p?y+S:y;g.dataSqlId&&!w.includes("dataSqlId")&&(w+=`${w.includes("?")?"&":"?"}dataSqlId=${g.dataSqlId}`),Object.prototype.hasOwnProperty.call(g,"signal")&&(C.signal=g.signal);const b=await Ke({baseURL:a.unref(f)||"",url:w,method:o,headers:r,data:p?{}:g,...C});return n(b),b}catch(p){console.error(p)}},u=l&&setInterval(h,s*1e3);return a.onUnmounted(()=>{clearInterval(u)}),h},lt=(e=[],n)=>{let{name:t="name",types:o=[]}=n||{};t=(t==null?void 0:t.trim())||t;const r=new Set,i=new Map,s=e.length,l=o.length;for(let d=0;d<s;d++){const y=e[d],h=y[t];r.add(h);for(let u=0;u<l;u++){const m=o[u],{label:g,value:S}=m,E={...y,value:y[S]};if(i.has(g)){const x=i.get(g);x.push(E),i.set(g,x)}else i.set(g,[E])}}const f=Array.from(r),c=[];for(const[d,y]of i)c.push({name:d,data:y});return{dimensions:f,dataset:c}},gt=(e,n=!1)=>{var o;if(!e)return e;let t="";return e!=null&&e.includes("://")?t=e:t=((o=window==null?void 0:window.config)==null?void 0:o.uploadPath)+e,n&&(t=`url(${t})`),t},Gr=(e,n)=>{const t=`${Ha}/preview?pageId=${n}`,o=`${Ha}/${n}`;return e==="preview"?t:o},mt=(e,n)=>{var r;if(e==null)return n;const t=e.match(/\{.*\}/g);if(t==null||t.length===0)return n;const o=t.length;for(let i=0;i<o;i++){const s=t[i];if(s==null||s==="")break;let l=(r=s.slice(1,-1))==null?void 0:r.trim();l=l==null?void 0:l.replace(/value/g,n);try{let f=l;(/\(.*\)/g.test(l)||/[+/\\*]/g.test(l))&&(f=tn(l)),e=e.replace(s,f)}catch{e=e.replace(s,l)}}return e},Ze=(e={})=>{const{requestToken:n}=a.inject(Ma,{requestToken:()=>{}});e.dataType==="indicator"&&n();const t=(c={})=>{const{label:d,name:y,location:h,show:u,indexCode:m}=c;return{label:d,columnName:y,location:h,show:u,calcType:"COLUMN",hrpIndexCode:m}},o=(c,d)=>Object.prototype.hasOwnProperty.call(c,d),r=c=>{o(c,"dataType")&&(c.fieldType==="DATE"&&(c.label=c.fieldName,c.dataType==="component"&&(c.fieldValue="${"+c.fieldValue+"}")),delete c.dataType),o(c,"activeKey")&&delete c.activeKey,o(c,"radioValue")&&delete c.radioValue},i=c=>{const d=[];return c!=null&&c.length&&c.forEach(y=>{if(y.join&&y.conditions){const h=!y.conditions.some(u=>u.join&&u.conditions);y.conditions.forEach((u,m)=>{r(u),h?m<y.conditions.length-1?d.push({join:y.join,...u}):d.push(u):u.join&&u.conditions?d.push({conditions:i([u]),join:y.join}):d.push(u)})}else r(y),d.push(y)}),d},s=(c={})=>{const{label:d,name:y,location:h,show:u,indexCode:m,calcType:g="COLUMN",builtInFormula:S,builtInValueSource:E,builtInCalcWay:x,formula:v,conditions:p,aggregate:C}=c;let w;return p&&(w=i(p)),{label:d.trim(),columnName:y,location:h,show:u,calcType:g,hrpIndexCode:m,aggregate:C,builtInFormula:S,builtInValueSource:E,builtInCalcWay:x,formula:v,conditions:w}},{getGlobalModel:l}=a.inject(Se,{getGlobalModel:c=>{}}),f=(c=[])=>{var h,u;const d=c.length,y=[];for(let m=0;m<d;m++){const g=c[m],{id:S,keyName:E,conditionLabel:x,conditionKey:v,conditionValueType:p,prop:C}=g,w={rule:"NONE",label:x,fieldName:v,fieldValue:"",valueType:p,alias:`${E||S}-${C}`},b=l(S)||{},{value:T,format:B="YYYY-MM-DD",type:A="",useCurrentTime:k}=b||{};_t(b.type,"date")?(k?w.fieldValue=we().format(B):w.fieldValue=(h=a.unref(T))==null?void 0:h.format(B),w.dateFormat=B):A==="ecanRangePicker"&&C?(C==="startTime"?w.rule="GREATER_EQUAL":C==="endTime"&&(w.rule="LESS_EQUAL"),C==="endTime"&&k?w.fieldValue=we().format(B):w.fieldValue=(u=a.unref(b[C]))==null?void 0:u.format(B),w.dateFormat=B):w.fieldValue=a.unref(T),y.push(w)}return y};return async()=>{var z,R,N,M,F;const{graphicConfig:c,type:d,isGroupTable:y=!1}=e;let{source:h,dataViewId:u,plugin:m="1",layer:g,chartType:S,classificationList:E=[],rowHeaderList:x=[],seriesList:v=[],leftAxisList:p=[],rightAxisList:C=[],queryColumnList:w=[],indicators:b=[],controlList:T=[],formFields:B={},idxLibMode:A,preview:k=!1}=c||{};g==null&&(_t(d,["table"])?g="1":_t(d,["select","checkbox","radio"])?g="3":g="2");let I,D="";if(Array.isArray(E)&&E.length>0){const W=E.length;for(let Y=0;Y<W;Y++){const Q=E[Y]||{},{label:Z="",name:ne="",show:ce=!1,sort:De,customGroup:Ee,conditions:me,dateFormat:ve,typeGuid:Ge,truncations:Me=[]}=Q;if(ce||W===1){D=Ge,I={label:Z.trim(),columnName:ne,show:ce,sort:De,customGroup:Ee,conditions:i(me)},ve&&(I.dateFormat=ve),ne==="the_date"&&!I.dateFormat&&(I.dateFormat="YYYY-MM");const Ne={};if(Array.isArray(Me)&&Me.length>0){const et=Me.length;for(let tt=0;tt<et;tt++){const G=Me[tt]||{},{rule:U="",num:$=0,name:K=""}=G;U&&$&&K&&(Ne.num=$,Ne.rule=U,Ne.otherGroupName=K)}}(z=Object.keys(Ne))!=null&&z.length&&(I.truncation=Ne);break}}}let P;if(Array.isArray(v)&&v.length>0){const W=v.length;for(let Y=0;Y<W;Y++){const Q=v[Y]||{},{label:Z="",name:ne="",show:ce=!1,sort:De,customGroup:Ee,conditions:me}=Q;if(ce||W===1){P={label:Z.trim(),columnName:ne,show:ce,sort:De,customGroup:Ee,conditions:i(me)};break}}}const H=[];if(Array.isArray(x)&&x.length>0){const W=x.length;for(let Y=0;Y<W;Y++){const Q=x[Y]||{},{label:Z="",name:ne="",show:ce=!1,sort:De,customGroup:Ee,conditions:me}=Q;H.push({label:Z.trim(),columnName:ne,show:ce,sort:De,customGroup:Ee,conditions:i(me)})}}const O=[];w==null||w.forEach(W=>{O.push(t(W))});const V=[];if(p==null||p.forEach(W=>{W.location="LEFT",V.push(s(W))}),C==null||C.forEach(W=>{W.location="RIGHT",V.push(s(W))}),b==null||b.forEach(W=>{W.location="LEFT",V.push(s(W))}),_t(d,["text","proportion"])&&(S="zb"),y){if(H.length===0||V.length===0)return;S="grouptable"}else{if(g==="1"&&O.length===0)return;if(g==="2"&&V.length===0)return;if(g==="3"&&(!D||!B.labelField||!B.valueField))return}let _=[];(c==null?void 0:c.pageMode)==="design"?_=c.sqlConditions??[]:_=f(T);const L=(R=window==null?void 0:window.config)==null?void 0:R.pageId;if((N=Object.keys(B))!=null&&N.length)try{return await Ke.post(`${Fa}/diagram/formData?keyName=${e.keyName}`,{source:h,dataViewId:u,plugin:"4",layer:g,chartType:"normalSelect",rangeIndexTypeGuid:D,type:"normalSelect",labelField:B.labelField,valueField:B.valueField,pageId:L,sqlConditions:_,idxLibMode:"WITH_DATE_DIM_TABLE",keyName:e.keyName},{headers:{Authentication:(M=window==null?void 0:window.config)==null?void 0:M.indicatorToken,operateContext:Pa}})}catch(W){console.error(W)}else try{return await Ke.post(`${Fa}/diagram?keyName=${e.keyName}`,{source:h,dataViewId:u,plugin:m,layer:g,chartType:S,classification:I,series:P,indicatorList:V,queryColumns:y?[]:O,pageFlag:!0,pageId:L,sqlConditions:_,idxLibMode:A,preview:k,rowHeaders:H,keyName:e.keyName},{headers:{Authentication:(F=window==null?void 0:window.config)==null?void 0:F.indicatorToken,operateContext:Pa}})}catch(W){console.error(W)}}},qs=()=>{const n=window.location.search.slice(1).split("&"),t=n.length,o={};for(let r=0;r<t;r++){const i=n[r];if(i==null||i==="")continue;const s=i.split("=");if(Array.isArray(s)){const l=s[0];o[l]=s[1]}}window.config.requestParams={...window.config.requestParams,...o},window.config={...window.config,...o}},Vs=a.defineComponent({name:"EcanPageConfig",inheritAttrs:!1,props:{...pn},setup(e){const{width:n,height:t}=a.inject(Ie,{width:null,height:null}),o=a.inject("setPageHeight",x=>{}),r=a.computed(()=>({width:n.value,height:t.value,backgroundColor:e.backgroundColor,backgroundImage:gt(e.backgroundImage,!0),backgroundSize:e.backgroundSize})),i=a.ref(0),s=a.ref(0),l=a.ref(0),f=a.ref(0),c=a.ref(!1),d=a.ref();let y;const h=()=>new Promise(x=>{a.nextTick(()=>{n.value&&t.value?(i.value=parseFloat(n.value),s.value=parseFloat(t.value)):(i.value=d.value.clientWidth,s.value=d.value.clientHeight),(!l.value||!f.value)&&(l.value=window.screen.width,f.value=window.screen.height),x()})}),u=()=>{i.value&&s.value?(d.value.style.width=`${i.value}px`,d.value.style.height=`${s.value}px`):(d.value.style.width=`${l.value}px`,d.value.style.height=`${f.value}px`)};a.watch([n,t],async()=>{await h(),u(),m(),window.addEventListener("resize",g),S(),c.value=!0},{immediate:!0});const m=()=>{const x=document.body.clientWidth,v=document.body.clientHeight,p=i.value||l.value,C=s.value||f.value,w=x/p;let b=v/C;(i.value!==1920||s.value!==1080)&&(b=s.value/i.value*x/C),d.value&&(d.value.style.transform=`scale(${w}, ${b})`),o(b)},g=Ye.debounce(async()=>{await h(),m()},100),S=()=>{const x=window.MutationObserver;y=new x(g),y.observe(d.value,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},E=()=>{y&&(y.disconnect(),y.takeRecords(),y=null)};return a.onMounted(()=>{c.value=!1}),a.onUnmounted(()=>{window.removeEventListener("resize",g),E()}),{style:r,container:d,ready:c}}}),pd="",js={id:"container",ref:"container"};function Gs(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",js,[e.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:"page-config",style:a.normalizeStyle(e.style)},[a.renderSlot(e.$slots,"default",{},void 0,!0)],4)):a.createCommentVNode("",!0)],512)}const Ur=fe(se(Vs,[["render",Gs],["__scopeId","data-v-257630c9"]])),co={contextRequestUrl:"",pageMode:"normal",theme:"light",containerMap:{},width:"1920px",height:"1080px"},fo=de(co),Us=a.defineComponent({name:"EcanProviderConfig",inheritAttrs:!1,props:{...fo},setup(e,{expose:n}){qs();const t=a.ref(),o=()=>{t.value.setAttribute("datav-theme",e.theme)};a.watch(()=>e.theme,()=>{o()}),a.onMounted(()=>{o()});const r=a.computed(()=>Ae(e.contextRequestUrl)),i=a.computed(()=>e.pageMode),s=a.computed(()=>e.theme),l=a.computed(()=>e.width),f=a.computed(()=>e.height),c=a.ref("");a.provide(Ie,{contextRequestUrl:r,pageMode:i,theme:s,touchEventId:c,width:l,height:f});const d=a.ref({height:"100%",overflow:e.pageMode==="design"?"":"hidden"});a.provide("setPageHeight",_=>{d.value.height=parseFloat(f.value)*_+"px"});const y=new Map;console.log("globalModel",y);const h=_=>y.get(_),u=(_,L)=>{y.set(_,L)};a.provide(Se,{getGlobalModel:h,setGlobalModel:u});const m=[],g=()=>{m.pop()},S=_=>{m.push(_)},E=new Map,x=_=>E.get(_),v=(_,L)=>{E.set(_,L)};a.provide(za,{popUseModalIds:g,pushUseModalIds:S,getModalModel:x,setModalModel:v});const p=c0(),C=new Set,w=(_,L)=>{C.add(_),p.on(_,z=>typeof L[z]=="function"&&L[z]()),a.onBeforeUnmount(()=>{b(_)})},b=_=>{C.delete(_),p.off(_)},T=(_,L)=>{if(_==="PAGE"){const z=m.length;let R=[];if(z===0)R=[...C];else{const N=m[z-1];R=[...x(N)]}R.forEach(N=>{p.emit(N,L)})}else p.emit(_,L)};a.provide(vn,{onEvent:w,offEvent:b,emitEvent:T});const B=a.ref(0),A=()=>{B.value=a.unref(B)+1};a.provide(Ma,{requestToken:A});const k=new Map,I=new Map,D=({requestFn:_=()=>{},sortNum:L=0,id:z=""})=>{if(k.has(L)){const R=k.get(L);R==null||R.push(_)}else k.set(L,[_]);I.set(z,_)},P=_=>new Promise((L,z)=>{const R=_.map(N=>N());Promise.all(R).then(N=>{L(N)}).catch(N=>{z(N)})}),H=_=>new Promise(async(L,z)=>{if(_){if(typeof _=="string"){const R=I.get(_);if(typeof R=="function"){const N=Ke.interceptors.response.use(M=>(L(M),M),M=>(z(M),Promise.reject(M)));R(),Ke.interceptors.response.eject(N)}}}else{const R=Array.from(k);R.sort((M,F)=>F[0]-M[0]);const N=R.length;try{e.pageMode!=="design"&&a.unref(B)>0;for(let M=0;M<N;M++){const F=R[M][1];await P(F)}}catch(M){console.error(M)}finally{k.clear(),L(null)}}});a.provide(Be,{setRequest:D,touchRequest:H});const O=()=>{p.emit(Nt)};a.provide(Nt,{emitRefreshPage:O});const V=_=>{p.on(Nt,()=>_()),a.onMounted(()=>{p.off(Nt)})};return a.onBeforeUnmount(()=>{k==null||k.clear(),I==null||I.clear()}),n({touchRequest:H,getGlobalModel:h,onRefreshPage:V}),{providerConfig:t,configStyle:d}}}),bd="";function Ws(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{id:"ProviderConfig",ref:"providerConfig",style:a.normalizeStyle(e.configStyle)},[a.renderSlot(e.$slots,"default",{},void 0,!0)],4)}const Wr=fe(se(Us,[["render",Ws],["__scopeId","data-v-60346b8d"]])),uo={...ge,name:"文本",keyName:"文本",type:"ecanText",width:"100px",height:"40px",text:"文字",lineHeight:1,color:"#333",variableColor:"#f00",fontSize:"14px",fontFamily:"",fontWeight:400,textShadow:"",justifyContent:"center",alignItems:"center",variableFontSize:"14px",variableDefaultValue:"0",format:"",target:"self",href:"",linkPage:"",data:{},percentageSide:"left",increaseColor:"",declineColor:"",minusSignShow:!0,unitShow:!0,unitText:"",unitFontSize:"14px",unitFontWeight:400,unitColor:"#333",unitTop:"",unitLeft:"",graphicConfig:{}},ho=de(uo),$r=["refreshData","click","valueChange"],Zr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=",Yr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTA3LTIyVDA5OjM1OjE5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHN0RXZ0OndoZW49IjIwMjItMDctMjJUMDk6MzU6MTkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6VDI+BAAABUUlEQVRIia3WPyhGURgG8B8pi0xisStKMioZLQaLiaQMBoxiVBImCwaLf6MssloUk8Gmb7GgJFKSUvIZ7qe+bvd89+A+03uf989z3nPPPe+tK5fLqtF3tSESzRjFAJ4vemams4IaYqulCq9gEo34QGco+LcCg9hHaxW3jpsiBIZxmMp5kXQTRH1k8S4cZCxoE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==",go=a.defineComponent({name:"EcanText",components:{Skeleton:jt},props:{...ho},setup(e,{expose:n}){const t=a.ref(!1),o=ue(e),r=a.ref({}),i=a.computed(()=>e.variableFontSize||"14px"),s=a.computed(()=>"-"+a.unref(i));a.watch(()=>[e.data,e.dataType],([p,C])=>{C==="static"&&(r.value=p)},{immediate:!0});const l=a.computed(()=>{var A;if(a.unref(t))return"NaN";const p=a.unref(r),C=e.increaseColor||e.color,w=e.declineColor||e.color;let b=e.text;b=b==null?void 0:b.replace(/\n|\\n/g,"<br/>"),b=b==null?void 0:b.replace(/\s(?!\{) | (?!\})\s/g,"&nbsp;");const T=b.match(/\{(.+?)\}/g)||[];let B="";if(T==null||T.length===0){if(b&&e.format==="percentage"&&!isNaN(+b)){const k=parseFloat(b),I=(k*100).toFixed(2);k>=0?b=`<span style="color: ${C||"#ED6643"};font-size:${a.unref(i)};display: inline-block;">
96
+ `,t+="-----END PUBLIC KEY-----",t},n.hasPublicKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")},n.hasPrivateKeyProperty=function(t){return t=t||{},t.hasOwnProperty("n")&&t.hasOwnProperty("e")&&t.hasOwnProperty("d")&&t.hasOwnProperty("p")&&t.hasOwnProperty("q")&&t.hasOwnProperty("dmp1")&&t.hasOwnProperty("dmq1")&&t.hasOwnProperty("coeff")},n.prototype.parsePropertiesFrom=function(t){this.n=t.n,this.e=t.e,t.hasOwnProperty("d")&&(this.d=t.d,this.p=t.p,this.q=t.q,this.dmp1=t.dmp1,this.dmq1=t.dmq1,this.coeff=t.coeff)},n}(Ds),lo,Ns=typeof process<"u"?(lo=process.env)===null||lo===void 0?void 0:lo.npm_package_version:void 0,zs=function(){function e(n){n===void 0&&(n={}),n=n||{},this.default_key_size=n.default_key_size?parseInt(n.default_key_size,10):1024,this.default_public_exponent=n.default_public_exponent||"010001",this.log=n.log||!1,this.key=null}return e.prototype.setKey=function(n){this.log&&this.key&&console.warn("A key was already set, overriding existing."),this.key=new Fr(n)},e.prototype.setPrivateKey=function(n){this.setKey(n)},e.prototype.setPublicKey=function(n){this.setKey(n)},e.prototype.decrypt=function(n){try{return this.getKey().decrypt(Dr(n))}catch{return!1}},e.prototype.encrypt=function(n){try{return Wt(this.getKey().encrypt(n))}catch{return!1}},e.prototype.sign=function(n,t,o){try{return Wt(this.getKey().sign(n,t,o))}catch{return!1}},e.prototype.verify=function(n,t,o){try{return this.getKey().verify(n,Dr(t),o)}catch{return!1}},e.prototype.getKey=function(n){if(!this.key){if(this.key=new Fr,n&&{}.toString.call(n)==="[object Function]"){this.key.generateAsync(this.default_key_size,this.default_public_exponent,n);return}this.key.generate(this.default_key_size,this.default_public_exponent)}return this.key},e.prototype.getPrivateKey=function(){return this.getKey().getPrivateKey()},e.prototype.getPrivateKeyB64=function(){return this.getKey().getPrivateBaseKeyB64()},e.prototype.getPublicKey=function(){return this.getKey().getPublicKey()},e.prototype.getPublicKeyB64=function(){return this.getKey().getPublicBaseKeyB64()},e.version=Ns,e}();const Hr=new zs,Et=Ms();function Ms(){let n=Math.random().toString(36).substr(2);for(;n.length<16;)n+=Math.random().toString(36).substr(2);return n=n.substr(0,16),n}const qr=He.enc.Utf8.parse("ABCDEF1234123412");function Ps(e,n){n=n||Et;const t=He.enc.Utf8.parse(n);let o="";switch(typeof e){case"string":o=He.enc.Utf8.parse(e);break;case"object":o=He.enc.Utf8.parse(JSON.stringify(e));break;default:o=He.enc.Utf8.parse(e.toString())}return He.AES.encrypt(o,t,{iv:qr,mode:He.mode.CBC,padding:He.pad.ZeroPadding}).toString()}function Vr(e,n){n=n||Et;const t=He.enc.Utf8.parse(n),o=He.AES.decrypt(e,t,{iv:qr,mode:He.mode.CBC,padding:He.pad.ZeroPadding});return He.enc.Utf8.stringify(o).toString()}function Fs(e){Hr.setPublicKey(e)}function Hs(e){return Hr.encrypt(e)}function jr(e=""){e.startsWith("/")||(e="/"+e),e=e.split("?")[0];const t=["/diagram","/dataview"].map(o=>`^(.*?)${o}(/|$)`);for(const o of t)if(new RegExp(o).test(e))return!0;return!1}function qs(e){const{paramType:n,data:t,params:o,method:r}=e;n==="form"?["get","delete"].includes(r)?e.params=Bt(o,"string"):e.data=Bt(t,"string"):["get","delete"].includes(r)?e.params=Bt(o,"string"):e.data=Bt(t)}function Bt(e,n){let t=e||{};if(n==="string"){t="";for(const l in e)if(Object.hasOwnProperty.call(e,l)){const f=e[l];t+=`${l}=${encodeURIComponent(f)}&`}}Fs("MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBAMKaTbS1XHH7u/4dhao1n5Lcegpy6AHKX2TjmTP7IDW6N4wznqlL3Tt+U0/Il1TlNp1/EN+tffYYg4dPrrCUDwcCAwEAAQ==");const r=Hs(Et);return{c:Ps(t,Et),p:r}}window.getEncryptParam=Bt;function Vs(e,n){var t;(t=window==null?void 0:window.config)!=null&&t.encryptFlag&&jr(e.url)&&(e.data instanceof FormData?e.data=js(e.data):qs(e))}function js(e){const n=e.entries(),t=new FormData,o={};for(const i of n){const s=i[0],l=i[1];l instanceof Blob?t.append(s,l):o[s]=l}const r=Bt(o,"json");return typeof r=="object"&&(t.append("c",r.c),t.append("p",r.p)),t}window.xhaesKey=Et,window.xhaesDecrypt=Vr;function Gr(e,n){var t;if((t=window==null?void 0:window.config)!=null&&t.encryptFlag&&jr(e.config.url)&&!(e.data instanceof Blob)&&e.data.data!==void 0){const o=Vr(e.data.data.content,Et);e.data=JSON.parse(o)}}const Ur=window.config.requestErrorTip,Ke=g0.create({timeout:1e3*180});Ke.interceptors.request.use(e=>(Vs(e),e),e=>Promise.reject(e)),Ke.interceptors.response.use(e=>{var n,t,o;return Ur&&+((n=e==null?void 0:e.data)==null?void 0:n.code)==500&&oe.message.error({content:((t=e==null?void 0:e.data)==null?void 0:t.msg)||((o=e==null?void 0:e.data)==null?void 0:o.message)||"服务器异常",key:"SERVER_ERROR"}),Gr(e),e},e=>{if(Gr(e==null?void 0:e.response),Ur)if(e.message.includes("timeout"))oe.message.error({content:"网络连接超时,请重试!",key:"TIMEOUT"});else{const{status:n}=(e==null?void 0:e.response)||{};n>=400&&n<500&&oe.message.error({content:"请求异常",key:"REQUEST_ERROR"}),n>=500&&oe.message.error({content:"服务器异常",key:"REQUEST_ERROR"})}return Promise.reject(e)});const Gs=e=>e.replace(/\\n/g,`
97
+ `),so=(e,n=2)=>{const t=parseFloat(e+"");return isNaN(t)?e:t.toFixed(n).replace(/(\d)(?=(\d{3})+\.)/g,"$1,")},Us=e=>{const n=parseFloat(e+"");return isNaN(n)?e:(n+"").replace(/\B(?=(\d{3})+(?!\d))/g,",")},en=(e,n=2)=>{const t=e+"";if(t.includes("%"))return e;const o=parseFloat(t);return isNaN(o)?e:`${(o*100).toFixed(n)}%`},Ws=(e,n=2)=>{const t=e+"",o=parseFloat(t);return isNaN(o)?e:o.toFixed(n)},_t=(e,n)=>{if(typeof e=="string"&&typeof n=="string")return e.toLocaleLowerCase().includes(n.toLocaleLowerCase());if(typeof e=="string"&&Array.isArray(n)){const t=n.length;for(let o=0;o<t;o++){const r=n[o];if(typeof r=="string"&&e.toLocaleLowerCase().includes(r.toLocaleLowerCase()))return!0}}return!1},tn=(e,n)=>{const t={dayjs:Se,...n};let o="";const r=[];for(const l in t)o+=`${l},`,r.push(t[l]);o=o.replace(/,$/,"");const i=`function (${o}){return ${e}}`;let s;try{s=Function(`"use strict";return (${i})`)()(...r)}catch{return e}return s},Ae=(e="",{textData:n,codeData:t}={},{useNewline:o=!1,useSpace:r=!1}={})=>{const s={...window.config||{},...n},l=e.match(/\{(.+?)\}/g);if(l==null||l.length===0)return e;for(let f=0;f<l.length;f++){const c=l[f];let d=c.slice(1,-1).trim();const y=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,h=d.match(y);for(let u=0;u<h.length;u++){const m=h[u],g=s[m];g!=null&&(d=d.replace(m,g))}(/\(.*\)/g.test(d)||/[+/\\*]/g.test(d))&&(d=tn(d,t)),e=e.replace(c,d)}return o&&(e=e==null?void 0:e.replace(/\n|\\n/g,"<br/>")),r&&(e=e==null?void 0:e.replace(/\s{2,}?/g,"&nbsp;&nbsp;")),e},Oe=(e,n=()=>{})=>{const{requestUrl:t,requestMethod:o,requestHeaders:r,requestParams:i,requestInterval:s,isOpenRequestTimer:l}=e,{contextRequestUrl:f,touchEventId:c}=a.inject(Ie,{contextRequestUrl:"",touchEventId:""}),{getGlobalModel:d}=a.inject(we,{getGlobalModel:m=>{}}),y=Ae(t),h=async(m={})=>{if(!y||!o||!r)return;let g={};i.forEach(p=>{const{key:C,value:S}=p;if(typeof S=="object"&&S!=null&&S.id){let b={};const{id:E,prop:B,propKey:A,operate:k}=S;E==="THIS"?b=d(a.unref(c))||{}:b=d(E)||{};const I=a.unref(b[B]);let D=null;if(["date","range"].some(H=>_t(b==null?void 0:b.type,H))){const{value:H,type:O,mode:V}=k||{};if(H&&O&&V)switch(O){case"add":D=a.unref(I).add(H,V);break;case"minus":D=a.unref(I).subtract(H,V);break}D==null&&(D=a.unref(I)),D=(D==null?void 0:D.format((A==null?void 0:A.trim())||b.format))||""}else Object.prototype.toString.call(I)==="[object Object]"?A?D=I[A]:D=B?I[B]:I:_t(b==null?void 0:b.type,"select")&&a.unref(I)&&B&&Array.isArray(a.unref(I))?D=a.unref(I).map(H=>Object.prototype.hasOwnProperty.call(H,B)?H[B]:H):D=I;g[C]=D}else typeof S=="string"&&(g[C]=Ae(S))}),g={...window.config.requestParams,...m,...g};let w="";const T=Object.keys(g),x=T.length-1,v=T.length;T.forEach((p,C)=>{let S=g[p];Object.prototype.toString.call(S)==="[object Object]"&&(S=JSON.stringify(S)),C===0?v!==1?w+=`?${p}=${S}&`:w+=`?${p}=${S}`:C===x?w+=`${p}=${S}`:w+=`${p}=${S}&`});try{const p=["get","head"].includes(o),C={};let S=p?y+w:y;g.dataSqlId&&!S.includes("dataSqlId")&&(S+=`${S.includes("?")?"&":"?"}dataSqlId=${g.dataSqlId}`),Object.prototype.hasOwnProperty.call(g,"signal")&&(C.signal=g.signal);const b=await Ke({baseURL:a.unref(f)||"",url:S,method:o,headers:r,data:p?{}:g,...C});return n(b),b}catch(p){console.error(p)}},u=l&&setInterval(h,s*1e3);return a.onUnmounted(()=>{clearInterval(u)}),h},lt=(e=[],n)=>{let{name:t="name",types:o=[]}=n||{};t=(t==null?void 0:t.trim())||t;const r=new Set,i=new Map,s=e.length,l=o.length;for(let d=0;d<s;d++){const y=e[d],h=y[t];r.add(h);for(let u=0;u<l;u++){const m=o[u],{label:g,value:w}=m,T={...y,value:y[w]};if(i.has(g)){const x=i.get(g);x.push(T),i.set(g,x)}else i.set(g,[T])}}const f=Array.from(r),c=[];for(const[d,y]of i)c.push({name:d,data:y});return{dimensions:f,dataset:c}},gt=(e,n=!1)=>{var o;if(!e)return e;let t="";return e!=null&&e.includes("://")?t=e:t=((o=window==null?void 0:window.config)==null?void 0:o.uploadPath)+e,n&&(t=`url(${t})`),t},Wr=(e,n)=>{const t=`${Va}/preview?pageId=${n}`,o=`${Va}/${n}`;return e==="preview"?t:o},mt=(e,n)=>{var r;if(e==null)return n;const t=e.match(/\{.*\}/g);if(t==null||t.length===0)return n;const o=t.length;for(let i=0;i<o;i++){const s=t[i];if(s==null||s==="")break;let l=(r=s.slice(1,-1))==null?void 0:r.trim();l=l==null?void 0:l.replace(/value/g,n);try{let f=l;(/\(.*\)/g.test(l)||/[+/\\*]/g.test(l))&&(f=tn(l)),e=e.replace(s,f)}catch{e=e.replace(s,l)}}return e},Ze=(e={})=>{const{requestToken:n}=a.inject(Pa,{requestToken:()=>{}});e.dataType==="indicator"&&n();const t=(c={})=>{const{label:d,name:y,location:h,show:u,indexCode:m}=c;return{label:d,columnName:y,location:h,show:u,calcType:"COLUMN",hrpIndexCode:m}},o=(c,d)=>Object.prototype.hasOwnProperty.call(c,d),r=c=>{o(c,"dataType")&&(c.fieldType==="DATE"&&(c.label=c.fieldName,c.dataType==="component"&&(c.fieldValue="${"+c.fieldValue+"}")),delete c.dataType),o(c,"activeKey")&&delete c.activeKey,o(c,"radioValue")&&delete c.radioValue},i=c=>{const d=[];return c!=null&&c.length&&c.forEach(y=>{if(y.join&&y.conditions){const h=!y.conditions.some(u=>u.join&&u.conditions);y.conditions.forEach((u,m)=>{r(u),h?m<y.conditions.length-1?d.push({join:y.join,...u}):d.push(u):u.join&&u.conditions?d.push({conditions:i([u]),join:y.join}):d.push(u)})}else r(y),d.push(y)}),d},s=(c={})=>{const{label:d,name:y,location:h,show:u,indexCode:m,calcType:g="COLUMN",builtInFormula:w,builtInValueSource:T,builtInCalcWay:x,formula:v,conditions:p,aggregate:C}=c;let S;return p&&(S=i(p)),{label:d.trim(),columnName:y,location:h,show:u,calcType:g,hrpIndexCode:m,aggregate:C,builtInFormula:w,builtInValueSource:T,builtInCalcWay:x,formula:v,conditions:S}},{getGlobalModel:l}=a.inject(we,{getGlobalModel:c=>{}}),f=(c=[])=>{var h,u;const d=c.length,y=[];for(let m=0;m<d;m++){const g=c[m],{id:w,keyName:T,conditionLabel:x,conditionKey:v,conditionValueType:p,prop:C}=g,S={rule:"NONE",label:x,fieldName:v,fieldValue:"",valueType:p,alias:`${T||w}-${C}`},b=l(w)||{},{value:E,format:B="YYYY-MM-DD",type:A="",useCurrentTime:k}=b||{};_t(b.type,"date")?(k?S.fieldValue=Se().format(B):S.fieldValue=(h=a.unref(E))==null?void 0:h.format(B),S.dateFormat=B):A==="ecanRangePicker"&&C?(C==="startTime"?S.rule="GREATER_EQUAL":C==="endTime"&&(S.rule="LESS_EQUAL"),C==="endTime"&&k?S.fieldValue=Se().format(B):S.fieldValue=(u=a.unref(b[C]))==null?void 0:u.format(B),S.dateFormat=B):S.fieldValue=a.unref(E),y.push(S)}return y};return async()=>{var M,R,N,z,F;const{graphicConfig:c,type:d,isGroupTable:y=!1}=e;let{source:h,dataViewId:u,plugin:m="1",layer:g,chartType:w,classificationList:T=[],rowHeaderList:x=[],seriesList:v=[],leftAxisList:p=[],rightAxisList:C=[],queryColumnList:S=[],indicators:b=[],controlList:E=[],formFields:B={},idxLibMode:A,preview:k=!1}=c||{};g==null&&(_t(d,["table"])?g="1":_t(d,["select","checkbox","radio"])?g="3":g="2");let I,D="";if(Array.isArray(T)&&T.length>0){const W=T.length;for(let K=0;K<W;K++){const Q=T[K]||{},{label:Z="",name:ne="",show:ce=!1,sort:De,customGroup:Te,conditions:me,dateFormat:ve,typeGuid:Ge,truncations:ze=[]}=Q;if(ce||W===1){D=Ge,I={label:Z.trim(),columnName:ne,show:ce,sort:De,customGroup:Te,conditions:i(me)},ve&&(I.dateFormat=ve),ne==="the_date"&&!I.dateFormat&&(I.dateFormat="YYYY-MM");const Ne={};if(Array.isArray(ze)&&ze.length>0){const et=ze.length;for(let tt=0;tt<et;tt++){const G=ze[tt]||{},{rule:U="",num:$=0,name:Y=""}=G;U&&$&&Y&&(Ne.num=$,Ne.rule=U,Ne.otherGroupName=Y)}}(M=Object.keys(Ne))!=null&&M.length&&(I.truncation=Ne);break}}}let P;if(Array.isArray(v)&&v.length>0){const W=v.length;for(let K=0;K<W;K++){const Q=v[K]||{},{label:Z="",name:ne="",show:ce=!1,sort:De,customGroup:Te,conditions:me}=Q;if(ce||W===1){P={label:Z.trim(),columnName:ne,show:ce,sort:De,customGroup:Te,conditions:i(me)};break}}}const H=[];if(Array.isArray(x)&&x.length>0){const W=x.length;for(let K=0;K<W;K++){const Q=x[K]||{},{label:Z="",name:ne="",show:ce=!1,sort:De,customGroup:Te,conditions:me}=Q;H.push({label:Z.trim(),columnName:ne,show:ce,sort:De,customGroup:Te,conditions:i(me)})}}const O=[];S==null||S.forEach(W=>{O.push(t(W))});const V=[];if(p==null||p.forEach(W=>{W.location="LEFT",V.push(s(W))}),C==null||C.forEach(W=>{W.location="RIGHT",V.push(s(W))}),b==null||b.forEach(W=>{W.location="LEFT",V.push(s(W))}),_t(d,["text","proportion"])&&(w="zb"),y){if(H.length===0||V.length===0)return;w="grouptable"}else{if(g==="1"&&O.length===0)return;if(g==="2"&&V.length===0)return;if(g==="3"&&(!D||!B.labelField||!B.valueField))return}let _=[];(c==null?void 0:c.pageMode)==="design"?_=c.sqlConditions??[]:_=f(E);const L=(R=window==null?void 0:window.config)==null?void 0:R.pageId;if((N=Object.keys(B))!=null&&N.length)try{return await Ke.post(`${qa}/diagram/formData?keyName=${e.keyName}`,{source:h,dataViewId:u,plugin:"4",layer:g,chartType:"normalSelect",rangeIndexTypeGuid:D,type:"normalSelect",labelField:B.labelField,valueField:B.valueField,pageId:L,sqlConditions:_,idxLibMode:"WITH_DATE_DIM_TABLE",keyName:e.keyName},{headers:{Authentication:(z=window==null?void 0:window.config)==null?void 0:z.indicatorToken,operateContext:Ha}})}catch(W){console.error(W)}else try{return await Ke.post(`${qa}/diagram?keyName=${e.keyName}`,{source:h,dataViewId:u,plugin:m,layer:g,chartType:w,classification:I,series:P,indicatorList:V,queryColumns:y?[]:O,pageFlag:!0,pageId:L,sqlConditions:_,idxLibMode:A,preview:k,rowHeaders:H,keyName:e.keyName},{headers:{Authentication:(F=window==null?void 0:window.config)==null?void 0:F.indicatorToken,operateContext:Ha}})}catch(W){console.error(W)}}},$s=()=>{const n=window.location.search.slice(1).split("&"),t=n.length,o={};for(let r=0;r<t;r++){const i=n[r];if(i==null||i==="")continue;const s=i.split("=");if(Array.isArray(s)){const l=s[0];o[l]=s[1]}}window.config.requestParams={...window.config.requestParams,...o},window.config={...window.config,...o}},Zs=a.defineComponent({name:"EcanPageConfig",inheritAttrs:!1,props:{...pn},setup(e){const{width:n,height:t}=a.inject(Ie,{width:null,height:null}),o=a.inject("setPageHeight",x=>{}),r=a.computed(()=>({width:n.value,height:t.value,backgroundColor:e.backgroundColor,backgroundImage:gt(e.backgroundImage,!0),backgroundSize:e.backgroundSize})),i=a.ref(0),s=a.ref(0),l=a.ref(0),f=a.ref(0),c=a.ref(!1),d=a.ref();let y;const h=()=>new Promise(x=>{a.nextTick(()=>{n.value&&t.value?(i.value=parseFloat(n.value),s.value=parseFloat(t.value)):(i.value=d.value.clientWidth,s.value=d.value.clientHeight),(!l.value||!f.value)&&(l.value=window.screen.width,f.value=window.screen.height),x()})}),u=()=>{i.value&&s.value?(d.value.style.width=`${i.value}px`,d.value.style.height=`${s.value}px`):(d.value.style.width=`${l.value}px`,d.value.style.height=`${f.value}px`)};a.watch([n,t],async()=>{await h(),u(),m(),window.addEventListener("resize",g),w(),c.value=!0},{immediate:!0});const m=()=>{const x=document.body.clientWidth,v=document.body.clientHeight,p=i.value||l.value,C=s.value||f.value,S=x/p;let b=v/C;(i.value!==1920||s.value!==1080)&&(b=s.value/i.value*x/C),d.value&&(d.value.style.transform=`scale(${S}, ${b})`),o(b)},g=Ye.debounce(async()=>{await h(),m()},100),w=()=>{const x=window.MutationObserver;y=new x(g),y.observe(d.value,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},T=()=>{y&&(y.disconnect(),y.takeRecords(),y=null)};return a.onMounted(()=>{c.value=!1}),a.onUnmounted(()=>{window.removeEventListener("resize",g),T()}),{style:r,container:d,ready:c}}}),wd="",Ys={id:"container",ref:"container"};function Ks(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",Ys,[e.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:"page-config",style:a.normalizeStyle(e.style)},[a.renderSlot(e.$slots,"default",{},void 0,!0)],4)):a.createCommentVNode("",!0)],512)}const $r=fe(se(Zs,[["render",Ks],["__scopeId","data-v-257630c9"]])),co={contextRequestUrl:"",pageMode:"normal",theme:"light",containerMap:{},width:"1920px",height:"1080px"},fo=de(co),Xs=a.defineComponent({name:"EcanProviderConfig",inheritAttrs:!1,props:{...fo},setup(e,{expose:n}){$s();const t=a.ref(),o=()=>{t.value.setAttribute("datav-theme",e.theme)};a.watch(()=>e.theme,()=>{o()}),a.onMounted(()=>{o()});const r=a.computed(()=>Ae(e.contextRequestUrl)),i=a.computed(()=>e.pageMode),s=a.computed(()=>e.theme),l=a.computed(()=>e.width),f=a.computed(()=>e.height),c=a.ref("");a.provide(Ie,{contextRequestUrl:r,pageMode:i,theme:s,touchEventId:c,width:l,height:f});const d=a.ref({height:"100%",overflow:e.pageMode==="design"?"":"hidden"});a.provide("setPageHeight",_=>{d.value.height=parseFloat(f.value)*_+"px"});const y=new Map;console.log("globalModel",y);const h=_=>y.get(_),u=(_,L)=>{y.set(_,L)};a.provide(we,{getGlobalModel:h,setGlobalModel:u});const m=[],g=()=>{m.pop()},w=_=>{m.push(_)},T=new Map,x=_=>T.get(_),v=(_,L)=>{T.set(_,L)};a.provide(Fa,{popUseModalIds:g,pushUseModalIds:w,getModalModel:x,setModalModel:v});const p=m0(),C=new Set,S=(_,L)=>{C.add(_),p.on(_,M=>typeof L[M]=="function"&&L[M]()),a.onBeforeUnmount(()=>{b(_)})},b=_=>{C.delete(_),p.off(_)},E=(_,L)=>{if(_==="PAGE"){const M=m.length;let R=[];if(M===0)R=[...C];else{const N=m[M-1];R=[...x(N)]}R.forEach(N=>{p.emit(N,L)})}else p.emit(_,L)};a.provide(vn,{onEvent:S,offEvent:b,emitEvent:E});const B=a.ref(0),A=()=>{B.value=a.unref(B)+1};a.provide(Pa,{requestToken:A});const k=new Map,I=new Map,D=({requestFn:_=()=>{},sortNum:L=0,id:M=""})=>{if(k.has(L)){const R=k.get(L);R==null||R.push(_)}else k.set(L,[_]);I.set(M,_)},P=_=>new Promise((L,M)=>{const R=_.map(N=>N());Promise.all(R).then(N=>{L(N)}).catch(N=>{M(N)})}),H=_=>new Promise(async(L,M)=>{if(_){if(typeof _=="string"){const R=I.get(_);if(typeof R=="function"){const N=Ke.interceptors.response.use(z=>(L(z),z),z=>(M(z),Promise.reject(z)));R(),Ke.interceptors.response.eject(N)}}}else{const R=Array.from(k);R.sort((z,F)=>F[0]-z[0]);const N=R.length;try{e.pageMode!=="design"&&a.unref(B)>0;for(let z=0;z<N;z++){const F=R[z][1];await P(F)}}catch(z){console.error(z)}finally{k.clear(),L(null)}}});a.provide(Be,{setRequest:D,touchRequest:H});const O=()=>{p.emit(Nt)};a.provide(Nt,{emitRefreshPage:O});const V=_=>{p.on(Nt,()=>_()),a.onMounted(()=>{p.off(Nt)})};return a.onBeforeUnmount(()=>{k==null||k.clear(),I==null||I.clear()}),n({touchRequest:H,getGlobalModel:h,onRefreshPage:V}),{providerConfig:t,configStyle:d}}}),Ad="";function Qs(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{id:"ProviderConfig",ref:"providerConfig",style:a.normalizeStyle(e.configStyle)},[a.renderSlot(e.$slots,"default",{},void 0,!0)],4)}const Zr=fe(se(Xs,[["render",Qs],["__scopeId","data-v-60346b8d"]])),uo={...ge,name:"文本",keyName:"文本",type:"ecanText",width:"100px",height:"40px",text:"文字",lineHeight:1,color:"#333",variableColor:"#f00",fontSize:"14px",fontFamily:"",fontWeight:400,textShadow:"",justifyContent:"center",alignItems:"center",variableFontSize:"14px",variableDefaultValue:"0",format:"",target:"self",href:"",linkPage:"",data:{},percentageSide:"left",increaseColor:"",declineColor:"",minusSignShow:!0,unitShow:!0,unitText:"",unitFontSize:"14px",unitFontWeight:400,unitColor:"#333",unitTop:"",unitLeft:"",graphicConfig:{}},ho=de(uo),Yr=["refreshData","click","valueChange"],Kr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAMAAADXqc3KAAAAV1BMVEUAAAD/WzT/WjP/WDD/WzT/WzP/WzT/WzT/WzT/WjT/WzT/WDT/YED/WzT/WzT/WjT/YED/WzT/WzT/WzT/XDT/WzT/WjX/WjP/XDT/XDT/WTL/Tif/WzReH8z5AAAAHHRSTlMA8RgS9W9YHbePZyME5sVjCP7bzcCxgndOQC4GFJJgKwAAAIJJREFUKM+Nkd0OgyAMRjvqcLA53fzXvv9zaokmxq8mnsue5ACFDjiy+XyjLZ7yyK35OxN5mSFZKa2QojEIKRhrZKM0QnsMQxirmJ0kBubTIZvAtUyiFAT4JFoUIYmIotZ5xjDPfyoCAV16nMPdFir8xZ16nM//tePtXw2ODOJY0V0WqQwM2rgKrU0AAAAASUVORK5CYII=",Xr="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAACXBIWXMAAAsTAAALEwEAmpwYAAAFHGlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxNDUgNzkuMTYzNDk5LCAyMDE4LzA4LzEzLTE2OjQwOjIyICAgICAgICAiPiA8cmRmOlJERiB4bWxuczpyZGY9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkvMDIvMjItcmRmLXN5bnRheC1ucyMiPiA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtbG5zOmRjPSJodHRwOi8vcHVybC5vcmcvZGMvZWxlbWVudHMvMS4xLyIgeG1sbnM6cGhvdG9zaG9wPSJodHRwOi8vbnMuYWRvYmUuY29tL3Bob3Rvc2hvcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RFdnQ9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZUV2ZW50IyIgeG1wOkNyZWF0b3JUb29sPSJBZG9iZSBQaG90b3Nob3AgQ0MgMjAxOSAoV2luZG93cykiIHhtcDpDcmVhdGVEYXRlPSIyMDIyLTA3LTIyVDA5OjM1OjE5KzA4OjAwIiB4bXA6TW9kaWZ5RGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgeG1wOk1ldGFkYXRhRGF0ZT0iMjAyMi0wNy0yMlQwOTozNTozNyswODowMCIgZGM6Zm9ybWF0PSJpbWFnZS9wbmciIHBob3Rvc2hvcDpDb2xvck1vZGU9IjMiIHBob3Rvc2hvcDpJQ0NQcm9maWxlPSJzUkdCIElFQzYxOTY2LTIuMSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIiB4bXBNTTpPcmlnaW5hbERvY3VtZW50SUQ9InhtcC5kaWQ6MzZkZTc4NjEtZDc4Zi00MjRmLWEzYzktNWU5NDI5MGNkY2YxIj4gPHhtcE1NOkhpc3Rvcnk+IDxyZGY6U2VxPiA8cmRmOmxpIHN0RXZ0OmFjdGlvbj0iY3JlYXRlZCIgc3RFdnQ6aW5zdGFuY2VJRD0ieG1wLmlpZDozNmRlNzg2MS1kNzhmLTQyNGYtYTNjOS01ZTk0MjkwY2RjZjEiIHN0RXZ0OndoZW49IjIwMjItMDctMjJUMDk6MzU6MTkrMDg6MDAiIHN0RXZ0OnNvZnR3YXJlQWdlbnQ9IkFkb2JlIFBob3Rvc2hvcCBDQyAyMDE5IChXaW5kb3dzKSIvPiA8L3JkZjpTZXE+IDwveG1wTU06SGlzdG9yeT4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6VDI+BAAABUUlEQVRIia3WPyhGURgG8B8pi0xisStKMioZLQaLiaQMBoxiVBImCwaLf6MssloUk8Gmb7GgJFKSUvIZ7qe+bvd89+A+03uf989z3nPPPe+tK5fLqtF3tSESzRjFAJ4vemams4IaYqulCq9gEo34QGco+LcCg9hHaxW3jpsiBIZxmMp5kXQTRH1k8S4cZCxoE6//FaiXbEtThm87JjkPI+jN4E9xW4TAQoA/isjNFehCT8B3VoTAUID/xHURAn0B/g5fRQh0B/j7mOJkf2gTaKvY7YG8FsxXPe/hIVbgCTs5C+vAasU+xlooMGuLTrCVI/CDR0zVCgi9gzmUIgQmBbYmT+AdY5LjGMKWpNuaqHWKLrEY8JUkXeYi75iu4DzFfUi6ey9C4AvjeKviliTdRSHmsrvBbMU+lzNg0oidaLvox7LIK+IHdem/iqIROzL/jG+NrT1BRsXKNQAAAABJRU5ErkJggg==",go=a.defineComponent({name:"EcanText",components:{Skeleton:jt},props:{...ho},setup(e,{expose:n}){const t=a.ref(!1),o=ue(e),r=a.ref({}),i=a.computed(()=>e.variableFontSize||"14px"),s=a.computed(()=>"-"+a.unref(i));a.watch(()=>[e.data,e.dataType],([p,C])=>{C==="static"&&(r.value=p)},{immediate:!0});const l=a.computed(()=>{var A;if(a.unref(t))return"NaN";const p=a.unref(r),C=e.increaseColor||e.color,S=e.declineColor||e.color;let b=e.text;b=b==null?void 0:b.replace(/\n|\\n/g,"<br/>"),b=b==null?void 0:b.replace(/\s(?!\{) | (?!\})\s/g,"&nbsp;");const E=b.match(/\{(.+?)\}/g)||[];let B="";if(E==null||E.length===0){if(b&&e.format==="percentage"&&!isNaN(+b)){const k=parseFloat(b),I=(k*100).toFixed(2);k>=0?b=`<span style="color: ${C||"#ED6643"};font-size:${a.unref(i)};display: inline-block;">
98
98
  <div class="percentage-img-box">
99
- <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${C||"#ED6643"} ${a.unref(i)} 0px)`};" src="${Zr}"/>
99
+ <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${C||"#ED6643"} ${a.unref(i)} 0px)`};" src="${Kr}"/>
100
100
  </div>
101
101
  <span style="color: ${e.color}">${Math.abs(+I)}%</span>
102
- </span>`:b=`<span style="color: ${w||"#6ACB97"};font-size:${a.unref(i)};display: inline-block;">
102
+ </span>`:b=`<span style="color: ${S||"#6ACB97"};font-size:${a.unref(i)};display: inline-block;">
103
103
  <div class="percentage-img-box">
104
- <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${w||"#6ACB97"} ${a.unref(i)} 0px)`};" src="${Yr}"/>
104
+ <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${S||"#6ACB97"} ${a.unref(i)} 0px)`};" src="${Xr}"/>
105
105
  </div>
106
106
  <span style="color: ${e.color}">${e.minusSignShow?"-":""}${Math.abs(+I)}%</span>
107
- </span>`}B=b}for(let k=0;k<T.length;k++){const I=T[k],D=(A=I==null?void 0:I.slice(1,I.length-1))==null?void 0:A.trim();let P=D;const H=D.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);for(let V=0;V<H.length;V++){const _=H[V],L=p[_];L&&(P=D.replace(_,L))}if(/\(.*\)/g.test(P)){const V=tn(P);V!=null&&(P=V)}let O=P;if(O===D&&(O=e.variableDefaultValue),O!=null){const V=e.format;V==="percentage"?(O=+O,isNaN(O)?b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">0%</span>`):O>=0?(O=(O*100).toFixed(2),b=b.replace(I,`<span style="color: ${C||"#ED6643"};font-size:${a.unref(i)};display: inline-block;">
107
+ </span>`}B=b}for(let k=0;k<E.length;k++){const I=E[k],D=(A=I==null?void 0:I.slice(1,I.length-1))==null?void 0:A.trim();let P=D;const H=D.match(/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g);for(let V=0;V<H.length;V++){const _=H[V],L=p[_];L&&(P=D.replace(_,L))}if(/\(.*\)/g.test(P)){const V=tn(P);V!=null&&(P=V)}let O=P;if(O===D&&(O=e.variableDefaultValue),O!=null){const V=e.format;V==="percentage"?(O=+O,isNaN(O)?b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">0%</span>`):O>=0?(O=(O*100).toFixed(2),b=b.replace(I,`<span style="color: ${C||"#ED6643"};font-size:${a.unref(i)};display: inline-block;">
108
108
  <div class="percentage-img-box">
109
- <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${C||"#ED6643"} ${a.unref(i)} 0px)`};" src="${Zr}"/>
109
+ <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${C||"#ED6643"} ${a.unref(i)} 0px)`};" src="${Kr}"/>
110
110
  </div>
111
111
  <span style="color: ${e.color}">${Math.abs(+O)}%</span>
112
- </span>`)):(O=(O*100).toFixed(2),b=b.replace(I,`<span style="color: ${w||"#6ACB97"};font-size:${a.unref(i)};display: inline-block;">
112
+ </span>`)):(O=(O*100).toFixed(2),b=b.replace(I,`<span style="color: ${S||"#6ACB97"};font-size:${a.unref(i)};display: inline-block;">
113
113
  <div class="percentage-img-box">
114
- <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${w||"#6ACB97"} ${a.unref(i)} 0px)`};" src="${Yr}"/>
114
+ <img style="width: ${a.unref(i)};filter: ${`drop-shadow(${S||"#6ACB97"} ${a.unref(i)} 0px)`};" src="${Xr}"/>
115
115
  </div>
116
116
  <span style="color: ${e.color}">${e.minusSignShow?"-":""}${Math.abs(+O)}%</span>
117
- </span>`))):e.format==="percent"?(O=+O,isNaN(O)||(O=(O*100).toFixed(2),b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}%</span>`))):e.format==="money"?(O=+O,isNaN(O)||(O=so(O),b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}</span>`))):V==="thousands"?(O=+O,isNaN(O)||(O=Fs(O),b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}</span>`))):b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}</span>`)}}if(B||(B=`<span>${b}</span>`),e.unitShow&&e.unitText){const{unitTop:k,unitLeft:I}=e;let D="position:relative;";k&&(D+=`top:${k};`),I&&(D+=`margin-left:${I};`),B+=`<span style='color:${e.unitColor};font-size:${e.unitFontSize};font-weight:${e.unitFontWeight};${D}'>${e.unitText}</span>`}return B}),{pageMode:f}=a.inject(Ie,{pageMode:"normal"}),c=Oe(e),d=a.ref(!1),y=async()=>{var p;try{d.value=!0;const C=await c();r.value=((p=C==null?void 0:C.data)==null?void 0:p.data)||{}}catch(C){console.error(C)}finally{d.value=!1}},h=(p={})=>{r.value=p},u=Ze(e),m=async()=>{var p;try{d.value=!0;const C=await u(),{data:w}=(C==null?void 0:C.data)||{};if(w){t.value=!1;const{columns:b=[],rows:T=[]}=((p=C==null?void 0:C.data)==null?void 0:p.data)??{};let B={};if(b.length>0){const A=b.find(k=>!!k);A&&(B={value:isNaN(T[A])?0:T[A]||0})}h(B)}else t.value=!0,h({value:"NaN"})}catch(C){console.error(C)}finally{d.value=!1}},g=()=>{switch(e.dataType){case"indicator":m();break;case"request":y();break}},{setRequest:S}=a.inject(Be,{setRequest:({id:p,sortNum:C,requestFn:w})=>{}});typeof S=="function"&&S({id:e.id,requestFn:g,sortNum:e.requestSort}),ke(e,{refreshData:g}),n({refreshData:g});const E=pe(e),x=E("click",()=>{if(!e.linkPage&&!e.href)return;const p=e.linkPage||"",C=Gr(a.unref(f),p),w=e.href;let b=w||C;b=Ae(b);const T=e.target;T&&(T!=="event"?window.open(b,"_"+T):window.parent.postMessage({type:"openPage",url:w},"*"))}),v=E("valueChange",()=>{});return a.watch(()=>l.value,(p,C)=>{p!==C&&v()}),{style:o,myText:l,loading:d,click:x,textIndent:s,vFontSize:i}}}),Kr=()=>{a.useCssVars(e=>({"07409925":e.vFontSize,ee1ad30c:e.textIndent,"74fbae5c":e.percentageSide}))},Xr=go.setup;go.setup=Xr?(e,n)=>(Kr(),Xr(e,n)):Kr;const Sd="",$s=["innerHTML"];function Zs(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return e.loading?(a.openBlock(),a.createElementBlock("div",{key:0,class:"skeleton-wrapper",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},null,8,["loading"])],4)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"ecan-text",style:a.normalizeStyle(e.style),innerHTML:e.myText,onClick:n[0]||(n[0]=(...l)=>e.click&&e.click(...l))},null,12,$s))}const Qr=fe(se(go,[["render",Zs],["__scopeId","data-v-f2351e9b"]])),Ys=a.defineComponent({name:"EcanScrollText",setup(){return{text:a.ref("基础文本")}}}),Ad="",Ks={class:"red"};function Xs(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",Ks,a.toDisplayString(e.text),1)}const Jr=fe(se(Ys,[["render",Xs],["__scopeId","data-v-4dd9c03e"]])),mo={...ge,name:"时间展示",keyName:"时间展示",type:"ecanTimeDisplay",format:"YYYY-MM-DD dddd HH:mm:ss",fontSize:"16px",color:"#333",width:"240px",height:"40px",fontFamily:"",fontWeight:400,textShadow:"",alignItems:"center",justifyContent:"center",operate:null,updateInterval:{value:1,mode:"second"}},xo=de(mo),ei=["timeChange"],Qs=a.defineComponent({name:"EcanTimeDisplay",props:{...xo},setup(e){const n=ue(e),t=()=>{const{format:c,operate:d}=e;let y=we();if(d){const{type:h,value:u,mode:m}=d;switch(h){case"add":y=y.add(u,m);break;case"minus":y=y.subtract(u,m)}}return y.format(c)},o=a.ref();a.watch(()=>[e.operate,e.format],()=>{o.value=t()},{immediate:!0,deep:!0}),a.watch(()=>e.updateInterval,()=>{f()},{deep:!0});let r=null;const i=()=>{clearInterval(r),r=null},l=pe(e)("timeChange",()=>{}),f=()=>{r&&i();let c=1e3;const{value:d,mode:y}=e.updateInterval||{};d&&(c=c*d);const h={second:1,minute:60,hour:60*60,day:24*60*60};y&&(c=c*h[y]),r=setInterval(()=>{o.value=t(),l()},c)};return ke(e,{timeChange:l}),a.onMounted(()=>{f()}),a.onUnmounted(()=>{i()}),{style:n,time:o}}}),Ed="";function Js(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"time-display",style:a.normalizeStyle(e.style)},a.toDisplayString(e.time),5)}const ti=fe(se(Qs,[["render",Js],["__scopeId","data-v-b628fca2"]])),yo={...ge,type:"ecanList",name:"列表",keyName:"列表",width:"330px",height:"80px",backgroundColor:"#0d215e",itemColSpan:"10px",itemRowSpan:"10px",useRanking:!0,useTitle:!1,sliceCount:6,columnCount:1,itemHeight:"32px",data:[{name:"a",age:12},{name:"b",age:14}],columns:[{key:"name"},{key:"age"}]},po=de(yo),ni=["refreshData","click"],ec=a.defineComponent({name:"EcanList",components:{Skeleton:jt},props:{...po},setup(e){const n=a.ref(e.data),t=ue(e,["backgroundColor"]),o=a.computed(()=>e.useRanking?{textAlign:"center"}:{textAlign:"left"}),r=(u,m)=>m==null||m===""?u:{money:so,percentage:en,contrast:en}[m](u)||"",i=(u,m)=>{const g=parseFloat(u+"");if(m!=="contrast")return"";switch(!0){case g>=0:return"goUp";case g<0:return"goDown"}},s=Oe(e),l=a.ref(!1),f=async()=>{var u;if(e.dataType==="request")try{l.value=!0;const m=await s();n.value=((u=m==null?void 0:m.data)==null?void 0:u.data.rows)||[]}catch(m){console.error(m)}finally{l.value=!1}},c=()=>{f()},y=pe(e)("click",()=>{});ke(e,{refreshData:c});const{setRequest:h}=a.inject(Be,{setRequest:({id:u,sortNum:m,requestFn:g})=>{}});return h({id:e.id,requestFn:f,sortNum:e.requestSort}),{style:t,formatFn:r,columnStyle:o,contrastClass:i,dataSource:n,loading:l,click:y}}}),Bd="",_d="",tc=e=>(a.pushScopeId("data-v-7aa27677"),e=e(),a.popScopeId(),e),nc={key:0,class:"title"},oc={key:0,class:"ranking"},ac={key:1,class:"ecan-list-content"},rc={key:0,class:"ranking"},ic=tc(()=>a.createElementVNode("div",{class:"icon"},null,-1)),lc={class:"sort"},sc={key:2,class:"empty"};function cc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-list",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},{default:a.withCtx(()=>[e.useTitle?(a.openBlock(),a.createElementBlock("div",nc,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columnCount,l=>(a.openBlock(),a.createElementBlock("div",{class:"title-inner",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1}/ ${e.columnCount})`,marginRight:l%e.columnCount!==0?e.itemColSpan:""}),key:l},[e.useRanking?(a.openBlock(),a.createElementBlock("div",oc)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,(f,c)=>(a.openBlock(),a.createElementBlock("div",{class:"column",key:f.key||c,style:a.normalizeStyle({color:f.titleColor,...e.columnStyle})},a.toDisplayString(f.title),5))),128))],4))),128))])):a.createCommentVNode("",!0),e.dataSource.length>0?(a.openBlock(),a.createElementBlock("div",ac,[e.useTitle?(a.openBlock(),a.createElementBlock("div",{key:0,class:"title-placeholder",style:a.normalizeStyle({marginBottom:e.itemRowSpan})},null,4)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dataSource.slice(0,e.sliceCount),(l,f)=>(a.openBlock(),a.createElementBlock("div",{class:"item",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1} / ${e.columnCount})`,marginRight:(f+1)%e.columnCount!==0?e.itemColSpan:"",marginBottom:e.itemRowSpan}),key:l.id||f,onClick:n[0]||(n[0]=(...c)=>e.click&&e.click(...c))},[e.useRanking?(a.openBlock(),a.createElementBlock("div",rc,[ic,a.createElementVNode("div",lc," Top "+a.toDisplayString(f+1),1)])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,c=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["column",e.contrastClass(l[c.key],c.format)]),key:c.key,style:a.normalizeStyle({fontSize:c.fontSize,color:e.contrastClass(l[c.key],c.format)===""?c.color:"",fontWeight:c.fontWeight,...e.columnStyle})},a.toDisplayString((c.format!=null||c.format!=="")&&e.formatFn(l[c.key],c.format)),7))),128))],4))),128))])):(a.openBlock(),a.createElementBlock("div",sc," 暂无数据 "))]),_:1},8,["loading"])],4)}const oi=fe(se(ec,[["render",cc],["__scopeId","data-v-7aa27677"]])),vo={...ge,name:"占比图",keyName:"占比图",type:"ecanProportion",strokeType:"circle",width:"200px",height:"200px",strokeColor:"#4091f7",strokeLinecap:"round",trailColor:"#f5f5f5",data:{percent:.3},text:"{percent}%",fontSize:"26px",color:"#4091f7",strokeWidth:6,fontWeight:400,strokeTextWidth:"100%",lineHeight:"26px",decimalFormat:!0,variableDefaultValue:"0",strokeTextShow:!0,gradientShow:!0,gradientColor:"",gradientOffset:1,graphicConfig:{}},bo=de(vo),ai=["refreshData","click"],fc=a.defineComponent({name:"EcanProportion",components:{AProgress:re.Progress,Skeleton:jt},props:{...bo},setup(e,{expose:n}){const t=a.ref(!1),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),r=ue(e),i=a.computed(()=>{const p=e.width;return parseFloat(p)}),s=a.ref({});a.watch(()=>e.data,()=>{(e.dataType==="static"||a.unref(o)==="design")&&(s.value=e.data)},{immediate:!0,deep:!0});const l=a.computed(()=>{const p=a.unref(s),C=+e.variableDefaultValue;if(p==null)return isNaN(C)?0:C;const w=e.text.match(/\{.+\}/g)||[];let b;const T=new Set(Object.keys(p));for(let B=0;B<w.length;B++){const A=w[B],k=A.slice(1,A.length-1);if(T.has(k)){b=p[k];break}}return typeof b=="number"?b=b*100:typeof b=="string"&&!isNaN(+b)?b=+b*100:isNaN(C)?b=0:b=C*100,e.decimalFormat&&(b=+b.toFixed(2)),b}),f=a.computed(()=>{var T;let p=e.text;if(p==="")return a.unref(l);const C=e.variableDefaultValue,w=a.unref(s),b=p.match(/\{.+\}/g)||[];for(let B=0;B<b.length;B++){const A=b[B];let k=A.slice(1,A.length-1);const I=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,D=A.match(I);for(let H=0;H<(D==null?void 0:D.length);H++){const O=(T=D[H])==null?void 0:T.trim();w[O]!=null&&(k=k.replace(O,w[O]))}let P=k;try{/\(.*\)/g.test(k)&&(P=tn(k))}catch(H){console.error(H)}typeof+P=="number"&&!isNaN(+P)?(P=+P*100,e.decimalFormat&&(P=P.toFixed(2))):P=C,p=p.replace(A,P+"")}return a.unref(t)?"NaN":p}),c=Oe(e),d=a.ref(!1),y=async()=>{var p;if(e.dataType==="request")try{d.value=!0;const C=await c();s.value=((p=C==null?void 0:C.data)==null?void 0:p.data)||{}}catch(C){console.error(C)}finally{d.value=!1}},h=(p={})=>{s.value=p},u=Ze(e),m=async()=>{var p;try{d.value=!0;const C=await u(),{data:w}=(C==null?void 0:C.data)||{};if(w){t.value=!1;const{columns:b=[],rows:T=[]}=((p=C==null?void 0:C.data)==null?void 0:p.data)??{};let B={};if(b.length>0){const A=b.find(k=>!!k);A&&(B={percent:T[A]})}h(B)}else t.value=!0,h({percent:"NaN"})}catch(C){console.error(C)}finally{d.value=!1}},g=()=>{switch(e.dataType){case"indicator":m();break;case"request":y();break}};ke(e,{refreshData:g}),n({refreshData:g});const E=pe(e)("click",()=>{}),{setRequest:x}=a.inject(Be,{setRequest:({id:p,sortNum:C,requestFn:w})=>{}});typeof x=="function"&&x({id:e.id,requestFn:g,sortNum:e.requestSort});const v=a.computed(()=>{const{gradientShow:p,gradientColor:C,gradientOffset:w,strokeColor:b}=e;let T=b;return p&&C&&(T={"0%":b,[`${w*100}%`]:C}),T});return{style:r,myWidth:i,text:f,myValue:l,loading:d,click:E,customStrokeColor:v}}}),Rd="";function dc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton"),l=a.resolveComponent("a-progress");return a.openBlock(),a.createElementBlock("div",{class:"ecan-proportion",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"progress",percent:e.myValue,width:e.myWidth,type:e.strokeType,strokeColor:e.customStrokeColor,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,strokeWidth:e.strokeWidth,showInfo:e.strokeTextShow,gapDegree:e.strokeType==="dashboard"?75:0,onClick:e.click},{format:a.withCtx(()=>[e.loading?(a.openBlock(),a.createBlock(s,{key:0,loading:e.loading},null,8,["loading"])):e.strokeTextShow?(a.openBlock(),a.createElementBlock("div",{key:1,class:"format",style:a.normalizeStyle({width:e.strokeTextWidth,fontSize:e.fontSize,color:e.color,fontWeight:e.fontWeight,lineHeight:e.lineHeight})},a.toDisplayString(e.text),5)):a.createCommentVNode("",!0)]),_:1},8,["percent","width","type","strokeColor","strokeLinecap","trailColor","strokeWidth","showInfo","gapDegree","onClick"])],4)}const ri=fe(se(fc,[["render",dc],["__scopeId","data-v-cf942b5f"]])),wo={...ge,width:"200px",id:"",left:"0px",top:"0px",name:"输入框",keyName:"输入框",rotate:"",type:"ecanInput",value:"",placeholder:"请输入文字"},So=de(wo),ii=["inputChange","inputBlur"],uc=a.defineComponent({name:"EcanInput",components:{AInput:re.Input},props:{...So},setup(e){const n=ue(e),t=a.ref("");a.watch(()=>e.value,c=>{t.value=c},{immediate:!0});const{getGlobalModel:o,setGlobalModel:r}=a.inject(Se,{getGlobalModel:c=>{},setGlobalModel:(c,d)=>{}});r(e.id,{type:e.type,value:t});const i=()=>{const c=o(e.id);r(e.id,{...c,RECORD:t})},s=pe(e),l=Ye.debounce(s("inputChange",()=>{i()}),300),f=s("inputBlur",()=>{});return{style:n,myValue:t,inputBlur:f,inputChange:l}}}),Od="";function hc(e,n,t,o,r,i){const s=a.resolveComponent("a-input");return a.openBlock(),a.createElementBlock("div",{class:"ecan-input",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"input",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),placeholder:e.placeholder,onChange:e.inputChange,onBlur:e.inputBlur},null,8,["value","placeholder","onChange","onBlur"])],4)}const li=fe(se(uc,[["render",hc]])),Co={...ge,height:"33px",width:"130px",id:"",left:"0px",top:"0px",name:"日期选择器",keyName:"日期选择器",rotate:"",type:"ecanDatePicker",value:"",picker:"date",format:"YYYY-MM-DD",showTime:!1,useCurrentTime:!0,operate:null},Ao=de(Co),si=["dateChange"],gc=a.defineComponent({name:"EcanDatePicker",props:{...Ao},components:{ADatePicker:re.DatePicker},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref(null);a.watch(()=>[e.value,e.useCurrentTime,e.operate],([f,c,d])=>{let y=null;if(f?y=we(Ae(f)):c&&(y=we()),d&&y){const{type:h,value:u,mode:m}=d;switch(h){case"add":y=y.add(u,m);break;case"minus":y=y.subtract(u,m)}}o.value=y},{deep:!0,immediate:!0});const{setGlobalModel:r}=a.inject(Se,{setGlobalModel:(f,c)=>{}});r(e.id,{type:e.type,format:e.format,useCurrentTime:e.useCurrentTime,value:o});const s=pe(e)("dateChange",()=>{}),l=()=>{a.unref(o)&&s()};return ke(e,{dateChange:s}),{style:n,getPopupContainer:t,myValue:o,locale:ha,change:l}}}),Nd="";function mc(e,n,t,o,r,i){const s=a.resolveComponent("a-date-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-date-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"date-picker",dropdownClassName:"ecan-date-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,showTime:e.showTime,locale:e.locale,onChange:e.change,getPopupContainer:e.getPopupContainer},null,8,["value","format","picker","showTime","locale","onChange","getPopupContainer"])],4)}const ci=fe(se(gc,[["render",mc]])),ko={...ge,name:"日期范围选择器",keyName:"日期范围选择器",type:"ecanRangePicker",width:"250px",height:"35px",picker:"date",format:"YYYY-MM-DD",startTime:"",endTime:"",useCurrentTime:!0,interval:1,intervalUnit:"year",operate:null,limitStartTime:"",limitEndTime:"",associated:""},Eo=de(ko),fi=["dateChange"];var di={exports:{}};(function(e,n){(function(t,o){e.exports=o()})(te,function(){var t="month",o="quarter";return function(r,i){var s=i.prototype;s.quarter=function(c){return this.$utils().u(c)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(c-1))};var l=s.add;s.add=function(c,d){return c=Number(c),this.$utils().p(d)===o?this.add(3*c,t):l.bind(this)(c,d)};var f=s.startOf;s.startOf=function(c,d){var y=this.$utils(),h=!!y.u(d)||d;if(y.p(c)===o){var u=this.quarter()-1;return h?this.month(3*u).startOf(t).startOf("day"):this.month(3*u+2).endOf(t).endOf("day")}return f.bind(this)(c,d)}}})})(di);var xc=di.exports;const yc=qa(xc);we.extend(yc);const pc=a.defineComponent({name:"EcanRangePicker",components:{ARangePicker:re.RangePicker},props:{...Eo},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref([null,null]);a.watch(()=>[e.startTime,e.endTime,e.useCurrentTime,e.interval,e.intervalUnit,e.operate],([x,v,p,C,w,b])=>{let T=null,B=null;if(p&&(T=we().subtract(C,w),B=we()),x&&(T=we(Ae(x))),v&&(B=we(Ae(v))),b){const{type:A,value:k,mode:I}=b;switch(A){case"add":T=T&&T.add(k,I),B=B&&B.add(k,I);break;case"minus":T=T&&T.subtract(k,I),B=B&&B.subtract(k,I)}}o.value=[T,B]},{immediate:!0});let r=a.unref(o)[0],i=a.unref(o)[1];const s=x=>{Array.isArray(x)?(r=x[0],i=x[1]):(r=null,i=null)},l=x=>{let v=!1,{limitStartTime:p,limitEndTime:C}=e;const w={startTime:`${r||""}`,endTime:`${i||""}`};return p=Ae(p,{codeData:w}),C=Ae(C,{codeData:w}),p&&C?v=!(we(p)<x&&x<we(C)):p?v=we(p)>x:C&&(v=we(C)<x),v},{getGlobalModel:f,setGlobalModel:c}=a.inject(Se,{getGlobalModel:x=>{},setGlobalModel:(x,v)=>{}}),d=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[0]:null),y=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[1]:null);c(e.id,{type:e.type,format:e.format,startTime:d,endTime:y});const h=pe(e);let u=!1;const m=h("dateChange",()=>{}),g=x=>{const v=a.unref(o),p=v&&v[0]&&v[1];x===!1&&u===!0&&p&&(m(),u=!1)},S=()=>{u=!0};return ke(e,{dateChange:()=>{const{associated:x}=e;if(x){const v=f(x)||{};if(v){const{value:p}=v;if(p)switch(a.unref(p)){case"month":o.value=[we().startOf("month"),we().endOf("month")];break;case"quarter":o.value=[we().startOf("quarter"),we().endOf("quarter")];break;case"year":o.value=[we().startOf("year"),we().endOf("year")];break}}}m()}}),{style:n,getPopupContainer:t,locale:ha,dateChange:m,myValue:o,disabledDate:l,calendarChange:s,openChange:g,change:S}}}),zd="",Pd="";function vc(e,n,t,o,r,i){const s=a.resolveComponent("a-range-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-range-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"range-picker",dropdownClassName:"ecan-range-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,locale:e.locale,getPopupContainer:e.getPopupContainer,"disabled-date":e.disabledDate,onChange:e.change,onCalendarChange:e.calendarChange,onOpenChange:e.openChange},null,8,["value","format","picker","locale","getPopupContainer","disabled-date","onChange","onCalendarChange","onOpenChange"])],4)}const ui=fe(se(pc,[["render",vc],["__scopeId","data-v-ed6c559e"]])),To={...ge,width:"200px",name:"按钮",keyName:"按钮",type:"ecanButton",text:"按钮",mode:"default",danger:!1,shape:"default",href:"",target:"self",fontSize:"14px",fontWeight:400},Bo=de(To),hi=["click"],bc=a.defineComponent({name:"EcanButton",components:{AButton:re.Button},props:{...Bo},setup(e){const n=ue(e),o=pe(e)("click",()=>{const f=a.unref(s);f&&e.target==="event"&&window.parent.postMessage({type:"openPage",url:f},"*")}),r=a.computed(()=>({height:e.height})),i=a.computed(()=>Ae(e.text)),s=a.computed(()=>Ae(e.href)||null),l=a.computed(()=>{const f=e.target;if(!(f==="event"||a.unref(s)==null))return{self:"_self",blank:"_blank"}[f]});return{style:n,click:o,myText:i,myHref:s,myTarget:l,buttonStyle:r}}}),Hd="";function wc(e,n,t,o,r,i){const s=a.resolveComponent("a-button");return a.openBlock(),a.createElementBlock("div",{class:"ecan-button",style:a.normalizeStyle(e.style)},[a.createVNode(s,{block:"",onClick:e.click,type:e.mode,danger:e.danger,shape:e.shape,href:e.myHref,target:e.myTarget,style:a.normalizeStyle(e.buttonStyle)},{default:a.withCtx(()=>[a.createElementVNode("span",{style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(e.myText),5)]),_:1},8,["onClick","type","danger","shape","href","target","style"])],4)}const gi=fe(se(bc,[["render",wc]])),_o={...ge,width:"240px",id:"",left:"0px",top:"0px",name:"复选框",keyName:"复选框",rotate:"",type:"ecanCheckbox",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2",checked:!0},{label:"选项三",value:"3"}],graphicConfig:{}},Do=de(_o),mi=["checkboxChange"],Sc=a.defineComponent({name:"EcanCheckbox",components:{ACheckboxGroup:re.CheckboxGroup},props:{...Do},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref([]),i=S=>{const E=e.value;let x=[];S.forEach(v=>{v.checked&&x.push(v.value)}),typeof E=="string"&&E!==""?x=x.concat(E.split(",")):Array.isArray(E)&&(x=x.concat(E)),o.value=S,r.value=x};a.watch(()=>[e.data,e.value],([S])=>{i(S)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var x,v;if(e.dataType!=="request")return;const S=await s(),E=((v=(x=S==null?void 0:S.data)==null?void 0:x.data)==null?void 0:v.rows)||[];i(E)},{getGlobalModel:f,setGlobalModel:c}=a.inject(Se,{getGlobalModel:S=>{},setGlobalModel:(S,E)=>{}});c(e.id,{type:e.type,value:r});const y=pe(e)("checkboxChange",()=>{const S=f(e.id);c(e.id,{...S,RECORD:r})}),h=Ze(e),u=async()=>{var S;try{const E=await h(),{data:x}=(E==null?void 0:E.data)||{};if(x){const p=(((S=E==null?void 0:E.data)==null?void 0:S.data)??[]).map(C=>({label:C.label,value:C.value}));i(p)}else i([])}catch(E){console.error(E)}},m=()=>{switch(e.dataType){case"indicator":u();break;case"request":l();break}},{setRequest:g}=a.inject(Be,{setRequest:({id:S,sortNum:E,requestFn:x})=>{}});return typeof g=="function"&&g({id:e.id,requestFn:m,sortNum:e.requestSort}),n({refreshData:m}),{myOption:o,style:t,myValue:r,checkboxChange:y}}}),Vd="";function Cc(e,n,t,o,r,i){const s=a.resolveComponent("a-checkbox-group");return a.openBlock(),a.createElementBlock("div",{class:"ecan-checkbox",style:a.normalizeStyle(e.style)},[a.createVNode(s,{options:e.myOption,value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),onChange:e.checkboxChange},null,8,["options","value","onChange"])],4)}const xi=fe(se(Sc,[["render",Cc]])),Ro={...ge,name:"下拉框选择器",keyName:"下拉框选择器",width:"120px",height:"33px",type:"ecanSelect",mode:void 0,data:[{label:"选项一",value:"1"},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:void 0,dataFieldNames:{label:"label",value:"value",options:""},maxTagCount:3,autoClearSearchValue:!0,placeholder:"请选择",selectFirstOption:!1,graphicConfig:{},valueType:"value",isAllowClear:!0},Io=de(Ro),yi=["selectChange","refreshData"],Ac=a.defineComponent({name:"EcanSelect",components:{ASelect:re.Select},props:{...Io},setup(e,{expose:n}){const t=ue(e),o=()=>document.getElementById("ProviderConfig")||document.body,r=Oe(e),i=a.ref(e.data||[]),s=a.ref(),l=a.computed({get:()=>{var T;const{mode:b}=e;return(T=a.unref(i))!=null&&T.length?s.value:b==="multiple"||b==="tags"||b==="combobox"?[]:""},set:b=>{s.value=b}});a.watch(()=>[e.value,e.mode,e.selectFirstOption,e.valueType,i.value],()=>{const{mode:b,selectFirstOption:T,value:B}=e;b==="multiple"||b==="tags"||b==="combobox"?B?s.value=B.split(","):T&&(s.value=[a.unref(i)[0]]):B?s.value=B:T&&(s.value=a.unref(i)[0])},{immediate:!0});const f=e.dataFieldNames,c=(b,T)=>{const B=f.label,A=f.value;let k;const I=T[B],D=T[A];return I!=null?k=I:D!=null&&(k=D),(k==null?void 0:k.toLowerCase().indexOf(b==null?void 0:b.toLowerCase()))>=0},d=b=>{const{label:T,value:B,options:A}=e.dataFieldNames;if(A&&Array.isArray(b))if(b.some(k=>A in k)){const k={},I=[];b.forEach(D=>{k[D[A]]||(k[D[A]]=[]),k[D[A]].push({[T]:D[T],[B]:D[B]})});for(const D in k)I.push({[T]:D,[A]:k[D]});return I}else return b;else if(!A)return b},y=a.ref(!1),h=async()=>{var b,T;if(e.dataType==="request"){y.value=!0;try{const B=await r();if(i.value=d(((T=(b=B==null?void 0:B.data)==null?void 0:b.data)==null?void 0:T.rows)||[]),e.selectFirstOption){let A=a.unref(i)[0];if(f.options){const k=A[f.options];k&&k.length&&(A=k[0])}s.value=A[f.value]}}catch(B){console.error(B)}finally{y.value=!1}}},{getGlobalModel:u,setGlobalModel:m}=a.inject(Se,{getGlobalModel:b=>{},setGlobalModel:(b,T)=>{}}),g=a.computed(()=>{let b=s.value;if(e.valueType==="label"&&a.unref(s)&&a.unref(i)){const T=f.label,B=f.value;if(e.mode==="multiple")b=a.unref(i).filter(A=>a.unref(s).includes(A[B])).map(A=>A[T]);else{const A=a.unref(i).find(k=>a.unref(s)===k[B]);A&&(b=A[T])}}return b});m(e.id,{type:e.type,value:g});const E=pe(e)("selectChange",()=>{const b=e.id,T=u(b);m(b,{...T,RECORD:g})}),x=(b=[])=>{if(i.value=d(b),e.selectFirstOption){let T=a.unref(i)[0];if(f.options){const B=T[f.options];B&&B.length&&(T=B[0])}s.value=T[f.value]}},v=Ze(e),p=async()=>{var b;try{y.value=!0;const T=await v(),{data:B}=(T==null?void 0:T.data)||{},A=f.label,k=f.value;if(B){const D=(((b=T==null?void 0:T.data)==null?void 0:b.data)??[]).map(P=>({[A]:P.label,[k]:P.value}));x(D)}else x([])}catch(T){console.error(T)}finally{y.value=!1}},C=()=>{switch(e.dataType){case"indicator":p();break;case"request":h();break}};ke(e,{selectChange:E,refreshData:C});const{setRequest:w}=a.inject(Be,{setRequest:({id:b,sortNum:T,requestFn:B})=>{}});return typeof w=="function"&&w({id:e.id,requestFn:C,sortNum:e.requestSort}),n({refreshData:C}),{style:t,getPopupContainer:o,myValue:s,selectChange:E,options:i,filterOption:c,loading:y,resultValue:l}}}),Gd="",Ud="";function kc(e,n,t,o,r,i){const s=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-select",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"select",value:e.resultValue,"onUpdate:value":n[0]||(n[0]=l=>e.resultValue=l),placeholder:e.placeholder,showSearch:"",allowClear:e.isAllowClear,options:e.options,mode:e.mode,getPopupContainer:e.getPopupContainer,fieldNames:e.dataFieldNames,maxTagCount:e.maxTagCount,filterOption:e.filterOption,loading:e.loading,autoClearSearchValue:e.autoClearSearchValue,onChange:e.selectChange},null,8,["value","placeholder","allowClear","options","mode","getPopupContainer","fieldNames","maxTagCount","filterOption","loading","autoClearSearchValue","onChange"])],4)}const pi=fe(se(Ac,[["render",kc],["__scopeId","data-v-80421820"]])),Oo={...ge,name:"树形下拉框选择器",keyName:"树形下拉框选择器",width:"120px",height:"33px",type:"ecanTreeSelect",multiple:!1,data:[{label:"选项一",value:"1",children:[{label:"子选项一",value:"1-1"},{label:"子选项二",value:"1-2"}]},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:"",dataFieldNames:{label:"label",value:"value",children:"children"},maxTagCount:3,placeholder:"请选择",treeCheckable:!1,treeCheckStrictly:!1,selectFirstOption:!1},Lo=de(Oo),vi=["selectChange","refreshData"],Ec={name:"EcanTreeSelect",components:{ATreeSelect:re.TreeSelect},props:{...Lo},setup(e){const n=ue(e),t=a.ref(e.data),o=(u,m)=>{const g=e.dataFieldNames,S=g.label,E=g.value;let x;const v=m[S],p=m[E];return v!=null?x=v:p!=null&&(x=p),(x==null?void 0:x.toLowerCase().indexOf(u==null?void 0:u.toLowerCase()))>=0},r=a.ref();a.watch(()=>[e.multiple,e.value,e.treeCheckable,e.selectFirstOption],()=>{const{multiple:u,value:m,selectFirstOption:g}=e;u?m?r.value=m.split(","):g&&(r.value=[a.unref(t)[0]]):m?r.value=m:g&&(r.value=a.unref(t)[0])},{immediate:!0});const i=a.ref(!1),s=Oe(e),l=async()=>{var u,m;if(e.dataType==="request"){i.value=!0;try{const g=await s();t.value=((m=(u=g==null?void 0:g.data)==null?void 0:u.data)==null?void 0:m.rows)||[];const S=a.unref(t)[0];e.value===""&&S!=null&&(r.value=S[e.dataFieldNames.value])}catch(g){console.error(g)}finally{i.value=!1}}},{getGlobalModel:f,setGlobalModel:c}=a.inject(Se,{getGlobalModel:u=>{},setGlobalModel:(u,m)=>{}});c(e.id,{type:e.type,value:r});const y=pe(e)("selectChange",()=>{const u=e.id,m=f(u);c(u,{...m,RECORD:r})});ke(e,{selectChange:y,refreshData:l});const{setRequest:h}=a.inject(Be,{setRequest:({id:u,sortNum:m,requestFn:g})=>{}});return h({id:e.id,requestFn:l,sortNum:e.reque}),{style:n,treeData:t,filterTreeNode:o,myValue:r,loading:i,selectChange:y}}},$d="",Zd="";function Tc(e,n,t,o,r,i){const s=a.resolveComponent("a-tree-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-tree-select",style:a.normalizeStyle(o.style)},[a.createVNode(s,{class:"tree-select",value:o.myValue,"onUpdate:value":n[0]||(n[0]=l=>o.myValue=l),allowClear:"",showSearch:"",loading:o.loading,fieldNames:e.dataFieldNames,treeData:o.treeData,maxTagCount:e.maxTagCount,multiple:e.multiple,treeCheckable:e.treeCheckable,filterTreeNode:o.filterTreeNode,placeholder:e.placeholder,onChange:o.selectChange},null,8,["value","loading","fieldNames","treeData","maxTagCount","multiple","treeCheckable","filterTreeNode","placeholder","onChange"])],4)}const bi=fe(se(Ec,[["render",Tc],["__scopeId","data-v-37236421"]])),No={...ge,width:"260px",height:"32px",id:"",left:"0px",top:"0px",name:"单选框",keyName:"单选框",rotate:"",type:"ecanRadio",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],optionType:"default",graphicConfig:{}},Mo=de(No),wi=["checkboxChange","click"],Bc=a.defineComponent({name:"EcanRadio",components:{ARadioGroup:re.RadioGroup,ARadioButton:re.RadioButton,ARadio:re.Radio},props:{...Mo},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref(""),i=E=>{const x=e.value;let v=[];E.forEach(p=>{p.checked&&v.push(p.value)}),typeof x=="string"&&x!==""?v=v.concat(x.split(",")):Array.isArray(x)&&(v=v.concat(x)),o.value=E,r.value=v[0]||""};a.watch(()=>[e.data,e.value],([E])=>{i(E)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var v,p;if(e.dataType!=="request")return;const E=await s(),x=((p=(v=E==null?void 0:E.data)==null?void 0:v.data)==null?void 0:p.rows)||[];i(x)},{getGlobalModel:f,setGlobalModel:c}=a.inject(Se,{getGlobalModel:E=>{},setGlobalModel:(E,x)=>{}});c(e.id,{type:e.type,value:r});const d=pe(e),y=d("checkboxChange",()=>{const E=f(e.id);c(e.id,{...E,RECORD:r})}),h=E=>{r.value=E,d("click",()=>{const x=f(e.id);c(e.id,{...x,RECORD:r})})()};a.watch(r,()=>{y()});const u=Ze(e),m=async()=>{var E;try{const x=await u(),{data:v}=(x==null?void 0:x.data)||{};if(v){const C=(((E=x==null?void 0:x.data)==null?void 0:E.data)??[]).map(w=>({label:w.label,value:w.value}));i(C)}else i([])}catch(x){console.error(x)}},g=()=>{switch(e.dataType){case"indicator":m();break;case"request":l();break}},{setRequest:S}=a.inject(Be,{setRequest:({id:E,sortNum:x,requestFn:v})=>{}});return typeof S=="function"&&S({id:e.id,requestFn:g,sortNum:e.requestSort}),n({refreshData:g}),{myOption:o,style:t,myValue:r,onClickButton:h}}}),Kd="";function _c(e,n,t,o,r,i){const s=a.resolveComponent("a-radio"),l=a.resolveComponent("a-radio-button"),f=a.resolveComponent("a-radio-group");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["ecan-radio",e.optionType]),style:a.normalizeStyle(e.style)},[a.createVNode(f,{value:e.myValue,"onUpdate:value":n[0]||(n[0]=c=>e.myValue=c)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myOption,c=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:c.value},[e.optionType==="default"?(a.openBlock(),a.createBlock(s,{key:0,checked:c.checked,value:c.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value"])):e.optionType==="button"?(a.openBlock(),a.createBlock(l,{key:1,checked:c.checked,value:c.value,onClick:d=>e.onClickButton(c.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value","onClick"])):a.createCommentVNode("",!0)],64))),128))]),_:1},8,["value"])],6)}const Si=fe(se(Bc,[["render",_c]])),zo={...ge,id:"",name:"饼图",keyName:"饼图",type:"ecanPie",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335},{name:"名称二",value:310},{name:"名称三",value:234}],titleText:"",titleSubtext:"",titleLeft:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],backgroundColor:"",tooltipShow:!0,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c} ({d}%)",legendShow:!0,legendTextStyleColor:"#333",legendOrient:"vertical",legendTop:"top",legendLeft:"left",innerRadius:"0%",outerRadius:"60%",centerLeft:"50%",centerTop:"50%",minAngle:0,labelShow:!0,labelColor:"#333",labelWidth:100,labelOverflow:"none",isUseLabelColors:!1,labelFontSize:12,labelPosition:"outside",labelFormatter:"{b}\\n{d}%",labelLineShow:!0,labelLineLength:10,labelLineLength2:15,roseType:"",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},dataFieldConfigType:"value",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendFormatter:"{name}",legendFontSize:"12px"},Po=de(zo),Ci=["click","refreshData","resetRecord"],Dt=async e=>{var f;const n=await Ke.post(e,{},{responseType:"blob"}),{data:t,headers:o}=n,r=o["content-disposition"].replace(/\w+;filename=(.*)/,"$1"),i=new Blob([t]),s=document.createElement("a"),l=window.URL.createObjectURL(i);s.href=l,s.download=decodeURI(r),s.style.display="none",document.body.appendChild(s),s.click(),(f=s.parentNode)==null||f.removeChild(s),window.URL.revokeObjectURL(l)},Fo={id:"",type:"ecanModal",title:"",titleFontSize:"14px",titleColor:"",width:"1000px",height:"800px",originalWidth:"1920px",originalHeight:"1080px",backgroundColor:"#fff",backgroundImage:"",backgroundSize:"100% 100%",keyName:"弹窗",componentList:[],fullModal:!1,destroyOnClose:!0,position:"default"},Ho=de(Fo),Ai=["showModal"],Dc=a.defineComponent({name:"EcanModal",components:{AModal:re.Modal,CloseOutlined:wl},props:{...Ho},setup(e,{emit:n}){const t=()=>document.getElementById("ProviderConfig")||document.body,o=a.computed(()=>{const L=e.position;return{verticalAlign:{default:"",top:"top",center:"middle",bottom:"bottom"}[L]}}),r=e.fullModal?"1920px":e.width,i=e.fullModal?"1080px":e.height,s=e.originalWidth,l=e.originalHeight,f=a.ref("80%"),c=a.ref(0),d=a.ref(),y=a.ref(0),h=a.ref({}),u=ue(e),m=a.ref({}),g=a.ref(!1),S=a.ref();let E;const x=()=>{d.value=parseFloat(r)/parseFloat(s);const L=parseFloat(i)/parseFloat(l),z=document.body.offsetWidth,R=document.body.offsetHeight;c.value=z*a.unref(d),y.value=R*L,f.value=`${a.unref(d)*100}%`,h.value={width:`${a.unref(c)}px`,height:`${a.unref(y)}px`},m.value={...a.unref(u),backgroundImage:gt(e.backgroundImage,!0),transform:`scale(${a.unref(c)/parseFloat(r)},${a.unref(y)/parseFloat(i)})`,width:r,height:i}},v=Ye.debounce(()=>{x()},100),p=()=>{const L=window.MutationObserver;E=new L(v),E.observe(document.body,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},C=()=>{E&&(E.disconnect(),E.takeRecords(),E=null)},w=a.ref(!1),{touchRequest:b}=a.inject(Be,{touchRequest:()=>{}}),T=()=>{w.value=!0},B=()=>{n("close"),w.value=!1},A=()=>{B()},k=()=>{B()},{setModalModel:I,pushUseModalIds:D,popUseModalIds:P}=a.inject(za,{pushUseModalIds:L=>{},popUseModalIds:()=>{},setModalModel:(L,z)=>{}}),H=()=>{const L=e.id;let z=[];const R=e.componentList;Array.isArray(R)&&(z=R.map(N=>N.id),I(L,[...new Set(z)]))};a.watch(()=>w.value,async L=>{L?(g.value=!1,D(e.id),H(),await a.nextTick(()=>{x(),window.addEventListener("resize",v),p(),g.value=!0}),b()):(P(),window.removeEventListener("resize",v),C())});const O=a.computed(()=>a.unref(d)>=1),V=a.computed(()=>e.fullModal),_=a.computed(()=>{let L="ecan-modal";return a.unref(O)&&(L+=" ecan-full-width-modal"),a.unref(V)&&(L+=" ecan-full-modal"),L});return ke(e,{showModal:T}),{modalRef:S,containStyle:h,contentStyle:m,getContainer:t,modalStyle:o,modalWith:f,isFullModal:V,style:u,visible:w,showModal:T,onOk:A,onCancel:k,isFullWidth:O,wrapClassName:_,ready:g}}}),Qd="",Jd="",Rc={key:0};function Ic(e,n,t,o,r,i){const s=a.resolveComponent("close-outlined"),l=a.resolveComponent("a-modal");return a.openBlock(),a.createBlock(l,{getContainer:e.getContainer,wrapClassName:e.wrapClassName,centered:"",visible:e.visible,footer:null,width:e.isFullModal||e.isFullWidth?"100%":e.modalWith,destroyOnClose:e.destroyOnClose,style:a.normalizeStyle(e.modalStyle),closable:!1,onOk:e.onOk,onCancel:e.onCancel,ref:"modalRef"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:"contain",ref:"containRef",style:a.normalizeStyle(e.containStyle)},[e.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:"content",style:a.normalizeStyle(e.contentStyle)},[a.createElementVNode("div",{class:"header-bar",style:a.normalizeStyle({backgroundColor:e.backgroundColor,padding:"20px 30px"})},[e.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:"ant-modal-title",style:a.normalizeStyle({fontSize:e.titleFontSize,color:e.titleColor})},a.toDisplayString(e.title),5)):a.createCommentVNode("",!0),a.createVNode(s,{class:"close-icon",onClick:e.onCancel},null,8,["onClick"])],4),e.componentList.length?(a.openBlock(),a.createElementBlock("div",Rc,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.componentList,(f,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(f.type),a.mergeProps({key:f.id+c},f),null,16))),128))])):a.renderSlot(e.$slots,"default",{key:1},void 0,!0)],4)):a.createCommentVNode("",!0)],4)]),_:3},8,["getContainer","wrapClassName","visible","width","destroyOnClose","style","onOk","onCancel"])}const st=fe(se(Dc,[["render",Ic],["__scopeId","data-v-4234f235"]]));Pe.use([dt.CanvasRenderer,Xe.PieChart,he.TitleComponent,he.ToolboxComponent,he.TooltipComponent,he.LegendComponent]);const Oc=a.defineComponent({name:"EcanPie",props:{...Po},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e,{expose:n}){const t=a.ref(!1),o=ue(e),r=a.ref([]),i=a.ref(),s=a.ref({}),l=a.computed(()=>{let{data:B=[]}=a.unref(r)[0]||{};if(Array.isArray(e.colors)){const A=e.isUseLabelColors,k=e.colors;B=B.map((I,D)=>({label:A?{color:k[D]}:{},...I}))}return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:t.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var A;t.value=!0,(A=i.value)==null||A.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){re.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter:A=>{const{marker:k,seriesName:I,name:D,value:P,percent:H,data:O}=A||{};return Ae(e.tooltipFormatter,{textData:{marker:k,name:D,value:P,percent:H,a:I,b:D,c:P,d:H,...O}},{useNewline:!0,useSpace:!0})},textStyle:{color:e.tooltipTextStyleColor}},legend:a.unref(s),color:e.colors,series:[{data:B,type:"pie",radius:[e.innerRadius,e.outerRadius],center:[e.centerLeft,e.centerTop],roseType:e.roseType,avoidLabelOverlap:!1,minAngle:e.minAngle,label:{show:e.labelPosition!=="center"&&e.labelShow,color:e.labelColor,fontSize:t.value?We:e.labelFontSize,position:e.labelPosition,formatter:Ps(e.labelFormatter),width:e.labelWidth,overflow:e.labelOverflow},labelLine:{show:e.labelLineShow,length:e.labelLineLength,length2:e.labelLineLength2},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{}}}]}}),f=()=>{s.value={show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,align:"left",textStyle:{color:e.legendTextStyleColor,fontSize:t.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,formatter:B=>{const{legendFormatter:A}=e;let k=A.replace(/{name}/g,B);if(A.includes("{value}")){const{data:I}=r.value[0]||{};if(I){const D=I.find(P=>P.name===B);D&&(k=k.replace(/{value}/g,D.value))}}return k}}},c=()=>{t.value=!1},{getGlobalModel:d,setGlobalModel:y}=a.inject(Se,{getGlobalModel:B=>{},setGlobalModel:(B,A)=>{}}),{pageMode:h}=a.inject(Ie,{pageMode:"normal"}),u=(B=[],A)=>{const{dataset:k}=vt(B,A);r.value=k},m=(B=[],A)=>{const k=vt(B,A);r.value=k.dataset};a.watch(()=>e.data,B=>{(e.dataType==="static"||a.unref(h)==="design")&&u(B)},{immediate:!0,deep:!0}),a.watch(()=>[e.legendShow,e.legendOrient,e.legendTop,e.legendLeft,e.legendTextStyleColor,e.labelFontSize,e.legendItemHeight,e.legendItemWidth,e.legendItemGap,e.legendFormatter,e.legendFontSize],()=>{f()},{immediate:!0});const g=a.ref(!1),S=Oe(e),E=async()=>{var B,A;if(e.dataType==="request")try{g.value=!0;const k=await S();u((A=(B=k==null?void 0:k.data)==null?void 0:B.data)==null?void 0:A.rows,e.valueTypeDataFieldNames)}catch(k){console.error(k)}finally{g.value=!1}},v=pe(e)("click",B=>{const A=d(e.id);y(e.id,{...A,RECORD:B==null?void 0:B.data})}),p=Ze(e),C=async()=>{var B;try{g.value=!0;const A=await p(),{data:k}=A.data||{};if(k){const{columns:I=[],rows:D=[]}=((B=A==null?void 0:A.data)==null?void 0:B.data)??{};let P=[];if(I.length>0){const H=I[0],O=I[1];P=D.map(V=>({name:V[H],value:isNaN(V[O])?0:V[O]||0}))}m(P)}}catch(A){console.error(A)}finally{g.value=!1}},w=()=>{switch(e.dataType){case"indicator":C();break;case"request":E();break}};ke(e,{resetRecord:()=>{const B=e.id,A=d(B);y(B,{...A,RECORD:""})},refreshData:w,click:v}),n({refreshData:w});const{setRequest:T}=a.inject(Be,{setRequest:B=>{}});return typeof T=="function"&&T({id:e.id,requestFn:w,sortNum:e.requestSort}),{option:l,style:o,click:v,onClose:c,loading:g,ecanModal:i}}}),t1="";function Lc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const ki=fe(se(Oc,[["render",Lc]])),qo={...ge,id:"",name:"折线图",keyName:"折线图",type:"ecanLine",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"}],titleText:"",titleSubtext:"",titleLeft:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:4,lineStyleWidth:2,smooth:!1,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelFormatter:"{value}",xAxisMinInterval:0,yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",graphicConfig:{},tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,areaGradientShow:!1,areaGradientColor:"",isBoundaryGap:!0,yAxisLabelShow:!0,yAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Vo=de(qo),Ei=["click","refreshData","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.LineChart,he.ToolboxComponent,he.TitleComponent,he.LegendComponent]);const Nc=a.defineComponent({name:"EcanLine",props:{...Vo},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref([]),l=a.ref(),f=a.computed(()=>o.value?We:12),c=a.ref({});let d;const y=a.ref([]),h=a.computed(()=>{const P=e.xAxisLabelFormatter,H=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var O;o.value=!0,(O=l.value)==null||O.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){re.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:f.value},show:e.tooltipShow,formatter:O=>{var z;const V=O.length;let _="",L=e.tooltipFormatter;d=(z=O[0])==null?void 0:z.data,L===""&&(L="{marker} {a} {c}");for(let R=0;R<V;R++){const{marker:N,seriesName:M,name:F,value:W,data:Y}=O[R]||{};R===0&&(_+=`${F}<br/>`),_+=Ae(L,{textData:{marker:N,name:F,value:W,a:M,b:F,c:W||0,...Y}},{useNewline:!0,useSpace:!0}),_+="<br/>"}return _}},xAxis:{type:"category",boundaryGap:e.isBoundaryGap,data:a.unref(s).map(O=>{let V={};return O&&typeof O=="object"?V={...O}:V={value:O},V}),minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(O){return mt(P,O)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(O){return mt(H,O)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(y).map(O=>({name:O.name,icon:e.legendType}))},series:a.unref(i)}}),u=()=>{o.value=!1},{getGlobalModel:m,setGlobalModel:g}=a.inject(Se,{getGlobalModel:P=>{},setGlobalModel:(P,H)=>{}}),{pageMode:S}=a.inject(Ie,{pageMode:"normal"}),E=(P=[],H=!1)=>{let O;if(e.dataFieldConfigType==="key"){const z=H?e.keyTypeDataFieldNames:null;O=lt(P,z)}else if(e.dataFieldConfigType==="value"){const z=H?e.valueTypeDataFieldNames:null;O=vt(P,z)}s.value=O.dimensions,y.value=O.dataset;const V=O.dataset,_=[],L=V.length;for(let z=0;z<L;z++){const R={};e.shadowColor&&(R.shadowColor=e.shadowColor,R.shadowBlur=e.shadowBlur,R.shadowOffsetY=e.shadowOffsetY,R.shadowOffsetX=e.shadowOffsetX),_.push({type:"line",...V[z],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[z]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[z],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...R}})}i.value=_},x=(P=[],H,O=!1)=>{const _=lt(P,O?H:null);s.value=_.dimensions,y.value=_.dataset;const L=_.dataset,z=[],R=L.length;for(let N=0;N<R;N++){const M={};e.shadowColor&&(M.shadowColor=e.shadowColor,M.shadowBlur=e.shadowBlur,M.shadowOffsetY=e.shadowOffsetY,M.shadowOffsetX=e.shadowOffsetX),z.push({type:"line",...L[N],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[N]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[N],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...M}})}i.value=z};a.watch(()=>[e.data,e.symbolSize,e.smooth,e.lineStyleWidth,e.areaStyleOpacity,e.areaGradientShow,e.areaGradientColor,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize],([P])=>{(e.dataType==="static"||a.unref(S)==="design")&&E(P)},{immediate:!0,deep:!0});const v=a.ref(!1),p=Oe(e),C=async()=>{var P,H;if(e.dataType==="request")try{v.value=!0;const O=await p();E((H=(P=O==null?void 0:O.data)==null?void 0:P.data)==null?void 0:H.rows,!0)}catch(O){console.error(O)}finally{v.value=!1}},b=pe(e)("click",P=>{const H=m(e.id);g(e.id,{...H,RECORD:e.tooltipShow?d:P.data})}),T=P=>{t.value.chart.containPixel("grid",[P.offsetX,P.offsetY])&&b()};e.tooltipShow?c.value["zr:click"]=T:c.value.click=b;const B=Ze(e),A=async()=>{var P;try{v.value=!0;const H=await B(),{columns:O=[],rows:V=[]}=((P=H==null?void 0:H.data)==null?void 0:P.data)??{};let _;O.length>0&&(_={name:O[0],types:O.slice(1).map(L=>({label:L,value:L}))}),x(V,_,!0)}catch(H){console.error(H)}finally{v.value=!1}},k=()=>{switch(e.dataType){case"indicator":A();break;case"request":C();break}};ke(e,{refreshData:k,resetRecord:()=>{const P=e.id,H=m(P);g(P,{...H,RECORD:""})},click:b});const{setRequest:D}=a.inject(Be,{setRequest:P=>{}});return typeof D=="function"&&D({id:e.id,requestFn:k,sortNum:e.requestSort}),n({refreshData:k}),{option:h,style:r,click:b,loading:v,onClose:u,ecanModal:l,eventObj:c,echartRef:t}}}),o1="";function Mc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Ti=fe(se(Nc,[["render",Mc]])),jo={...ge,id:"",name:"柱状图",keyName:"柱状图",type:"ecanBar",width:"400px",height:"400px",top:"",left:"",rotate:"",xAxisLabelFormatter:"{value}",yAxisLabelFormatter:"{value}",yAxisLineAlwaysDisplay:!1,data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:310,type:"类型一"},{name:"名称三",value:310,type:"类型一"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{marker} {a} {c}",xAxisSplitLineShow:!0,xAxisSplitLineInterval:0,xAxisSplitAreaShow:!1,xAxisSplitLineStyleColor:"#333",xAxisLabelInterval:0,xAxisLabelColor:"#333",xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,yAxisMinInterval:0,yAxisLabelWidth:void 0,yAxisLabelRotate:0,yAxisLabelOverflow:"none",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",barWidth:"40%",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",isUseHorizontalAxis:!1,axisInverse:!1,xAxisInverse:!1,yAxisInverse:!1,isStack:!1,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",labelFormatter:"{c}",toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,barBorderRadius:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,showBarBackground:!1,legendType:"",legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Go=de(jo),Bi=["refreshData","click","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.BarChart,he.TitleComponent,he.LegendComponent,he.DatasetComponent,he.ToolboxComponent]);const zc=a.defineComponent({name:"EcanBar",props:{...Go},components:{Spin:pt,Echarts:nt,EcanModal:st,AModal:re.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref(),d=a.computed(()=>o.value?We:12),y=a.computed(()=>{const{gradientShow:_,gradientColors:L,gradientOffset:z,barBorderRadius:R}=e,N=a.unref(f),M=N.length,F=[];for(let W=0;W<M;W++){const Y={...N[W],type:"bar",barWidth:e.barWidth,showBackground:e.showBarBackground};if(e.isStack&&(Y.stack="stack"),Y.label={show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow,formatter:Q=>{let Z="",ne=e.labelFormatter;ne===""&&(ne="{c}");const{seriesName:ce,name:De,value:Ee,data:me}=Q||{};return Z+=Ae(ne,{textData:{name:De,value:Ee,a:ce,b:De,c:Ee||0,...me}},{useNewline:!0,useSpace:!0}),Z}},Y.itemStyle={},_&&(Y.itemStyle={color:{x:e.isUseHorizontalAxis?1:0,y:0,x2:0,y2:e.isUseHorizontalAxis?0:1,colorStops:[{offset:0,color:e.colors[W]},{offset:z,color:L[W]},{offset:1,color:L[W]}]}}),R){const Q=R.split(",");if(Q!=null&&Q.length){const Z=[];for(const ne of Q){const ce=parseFloat(ne);isNaN(ce)||Z.push(ce)}Y.itemStyle.borderRadius=Z}}F.push(Y)}return F}),h=a.ref([]),u=a.ref(!1),m=a.computed(()=>{const _=e.yAxisLabelFormatter,L=e.xAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const z=t.value.chart.getOption(),{xAxis:R}=z||{};R&&R.length&&(s.value=R[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var z;o.value=!0,(z=c.value)==null||z.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){re.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",show:e.tooltipShow,formatter:z=>{const R=z.length;let N="",M=e.tooltipFormatter;M===""&&(M="{marker} {a} {c}");for(let F=0;F<R;F++){const{marker:W,seriesName:Y,name:Q,value:Z,data:ne}=z[F]||{};F===0&&(N+=`${Q}<br/>`),N+=Ae(M,{textData:{marker:W,name:Q,value:Z,a:Y,b:Q,c:Z||0,...ne}},{useNewline:!0,useSpace:!0}),N+="<br/>"}return N},textStyle:{color:e.tooltipTextStyleColor,fontSize:d.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(f).map((z,R)=>({name:z.name,itemStyle:{color:e.colors[R]},icon:e.legendType}))},xAxis:{type:e.isUseHorizontalAxis?"value":"category",data:e.isUseHorizontalAxis?null:a.unref(v),inverse:e.isUseHorizontalAxis?e.xAxisInverse:e.axisInverse,minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor,type:e.xAxisSplitLineType},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(z){return mt(L,z)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:e.isUseHorizontalAxis?"category":"value",data:e.isUseHorizontalAxis?a.unref(h):null,inverse:e.isUseHorizontalAxis?e.axisInverse:e.yAxisInverse,minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,rotate:e.yAxisLabelRotate,width:e.yAxisLabelWidth,overflow:e.yAxisLabelOverflow,formatter(z){return mt(_,z)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},series:a.unref(y)}}),{pageMode:g}=a.inject(Ie,{pageMode:"normal"}),S=()=>{o.value=!1},E=(_=[],L=!1)=>{let z={};if(e.dataFieldConfigType==="key"){const R=L?e.keyTypeDataFieldNames:null;z=lt(_,R)}else if(e.dataFieldConfigType==="value"){const R=L?e.valueTypeDataFieldNames:null;z=vt(_,R)}f.value=z.dataset,h.value=z.dimensions},x=(_=[],L,z=!1)=>{const N=lt(_,z?L:null);f.value=N.dataset,h.value=N.dimensions},v=a.computed(()=>a.unref(h).map(_=>{let L={};return _&&typeof _=="object"?L={..._}:L={value:_},L}));a.watch(()=>[e.data,e.labelFormatter],([_])=>{(e.dataType==="static"||a.unref(g)==="design")&&E(_)},{immediate:!0,deep:!0});const p=Oe(e),C=async()=>{var _,L;try{u.value=!0;const z=await p();E((L=(_=z==null?void 0:z.data)==null?void 0:_.data)==null?void 0:L.rows,!0)}catch(z){console.error(z)}finally{u.value=!1}},w=Ze(e),b=async()=>{var _;try{u.value=!0;const L=await w(),{columns:z=[],rows:R=[]}=((_=L==null?void 0:L.data)==null?void 0:_.data)??{};let N;z.length>0&&(N={name:z[0],types:z.slice(1).map(M=>({label:M,value:M}))}),x(R,N,!0)}catch(L){console.error(L)}finally{u.value=!1}},T=()=>{switch(e.dataType){case"indicator":b();break;case"request":C();break}},B=(_,L)=>!!a.unref(s)[L.value].value.includes(_),A=async()=>{r.value=!1;const _=t.value.chart.getOption();for(let L=0;L<7;L++)await k(_,L)},k=(_,L)=>new Promise(z=>{setTimeout(()=>{const{series:R,color:N,xAxis:M}=_,F=t.value.chart,{splitArea:W={}}=M[0]||{};R.forEach((Y,Q)=>{const Z=Y.data;let ne="";L%2?ne=N[Q]+"a8":ne=N[Q],Z[i.value].itemStyle={color:ne}}),L%2?(W.show=!0,W.areaStyle.color=a.unref(s).map((Y,Q)=>Q===i.value?"#ff003b26":"")):W.show=!1,F.setOption({series:R,xAxis:M}),z()},200)});n({refreshData:T});const I=pe(e),{getGlobalModel:D,setGlobalModel:P}=a.inject(Se,{getGlobalModel:_=>{},setGlobalModel:(_,L)=>{}}),H=I("click",_=>{const L=D(e.id);P(e.id,{...L,RECORD:_.data})}),{setRequest:O}=a.inject(Be,{setRequest:_=>{}});return typeof O=="function"&&O({id:e.id,requestFn:T,sortNum:e.requestSort}),ke(e,{refreshData:T,click:H,resetRecord:()=>{const _=e.id,L=D(_);P(_,{...L,RECORD:""})}}),{option:m,style:l,refreshData:T,click:H,loading:u,onClose:S,ecanModal:c,echartRef:t,handleLocationOk:A,onFilterOption:B,locationVisible:r,locationValue:i,locationNames:s}}}),r1="",i1="",Pc=e=>(a.pushScopeId("data-v-ea70c6d0"),e=e(),a.popScopeId(),e),Fc={class:"location-wrap"},Hc=Pc(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function qc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),y=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{class:"ecan-bar",style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(y,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",Fc,[Hc,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const _i=fe(se(zc,[["render",qc],["__scopeId","data-v-ea70c6d0"]])),Uo={...ge,id:"",name:"散点图",keyName:"散点图",type:"ecanScatter",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:233,value:335},{name:556,value:310},{name:56,value:234}],titleText:"",titleSubtext:"",tooltipShow:!0,tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c}",legendShow:!1,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:10,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelColor:"#333",xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelFormatter:"{value}",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",dataFieldNames:{name:"name",value:"value"},gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Wo=de(Uo),Di=["click","refreshData","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.ScatterChart,he.ToolboxComponent,he.TitleComponent,he.TooltipComponent,he.LegendComponent]);const Vc=a.defineComponent({name:"EcanScatter",props:{...Wo},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e){const n=a.ref(!1),t=ue(e),o=a.ref([]),r=a.ref(),i=a.computed(()=>n.value?We:12),s=a.computed(()=>{const p=e.xAxisLabelFormatter,C=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:n.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var w;n.value=!0,(w=r.value)==null||w.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){re.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,xAxis:{splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{fontSize:e.xAxisLabelFontSize,color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,formatter(w){return mt(p,w)}},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(w){return mt(C,w)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter(w){var I;const{marker:b,seriesName:T}=w,B=((I=w==null?void 0:w.data)==null?void 0:I.record)??{},{name:A,value:k}=B;return Ae(e.tooltipFormatter,{textData:{marker:b,seriesName:T,a:T,b:A,c:k,...B}})},axisPointer:{type:"cross"},textStyle:{fontSize:i.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:i.value}},series:[{data:a.unref(o),type:"scatter",symbolSize:e.symbolSize}]}}),{getGlobalModel:l,setGlobalModel:f}=a.inject(Se,{getGlobalModel:p=>{},setGlobalModel:(p,C)=>{}}),{pageMode:c}=a.inject(Ie,{pageMode:"normal"}),d=(p=[],C)=>{const{name:w="name",value:b="value"}=C||{};o.value=p.map(T=>({value:[T[w],T[b]],record:T}))};a.watch(()=>e.data,p=>{(e.dataType==="static"||a.unref(c)==="design")&&d(p)},{immediate:!0,deep:!0});const y=a.ref(!1),h=Oe(e),u=async()=>{var p,C;if(e.dataType==="request"){y.value=!0;try{const w=await h();d((C=(p=w==null?void 0:w.data)==null?void 0:p.data)==null?void 0:C.rows,e.dataFieldNames)}catch(w){console.error(w)}finally{y.value=!1}}},m=()=>{n.value=!1},S=pe(e)("click",p=>{const C=e.id,w=l(C);f(C,{...w,RECORD:p==null?void 0:p.data})});ke(e,{refreshData:()=>{u()},click:S,resetRecord:()=>{const p=e.id,C=l(p);f(p,{...C,RECORD:""})}});const{setRequest:v}=a.inject(Be,{setRequest:p=>{}});return typeof v=="function"&&v({id:e.id,requestFn:u,sortNum:e.requestSort}),{option:s,style:t,click:S,loading:y,onClose:m,ecanModal:r}}}),s1="";function jc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Ri=fe(se(Vc,[["render",jc]])),$o={...ge,id:"",name:"自定义图表",keyName:"自定义图表",type:"ecanCustomGraph",width:"400px",height:"400px",option:{},optionCode:""},Zo=de($o),Gc=a.defineComponent({name:"EcanCustomGraph",props:{...Zo},components:{Echarts:nt},setup(e){const n=ue(e),t=a.ref();return a.watch(()=>e.optionCode,o=>{try{const r=eval;t.value=r(o)}catch(r){console.error(r)}},{immediate:!0}),{style:n,myOption:t,echarts:h0}}});function Uc(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(s,{option:e.myOption,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])],4)}const Ii=fe(se(Gc,[["render",Uc]])),Yo={...ge,id:"",name:"组合图表",keyName:"组合图表",type:"ecanComboGraph",width:"400px",height:"400px",data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:410,type:"类型一"},{name:"名称三",value:210,type:"类型一"},{name:"名称一",value:510,type:"类型二"},{name:"名称二",value:731,type:"类型二"},{name:"名称三",value:910,type:"类型二"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {a} {c}",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelWidth:void 0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",seriesTypes:[{type:"bar",axisIndex:0},{type:"line",axisIndex:0}],yAxis:[{axisLabelFormatter:"{value}"},{axisLabelFormatter:"{value}"}],gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,symbolSize:4,lineStyleWidth:2,smooth:!1,barWidth:"40%",barBorderRadius:"",areaGradientShow:!1,areaGradientColor:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,legendType:"",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Ko=de(Yo),Oi=["refreshData","click","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.BarChart,Xe.LineChart,he.TitleComponent,he.LegendComponent,he.DatasetComponent,he.ToolboxComponent]);const Wc=a.defineComponent({name:"EcanComboGraph",props:{...Ko},components:{Spin:pt,Echarts:nt,EcanModal:st,AModal:re.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref([]),d=a.ref(),y=a.ref([]),h=a.computed(()=>o.value?We:12),u=a.computed(()=>({title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const _=t.value.chart.getOption(),{xAxis:L}=_||{};L&&L.length&&(s.value=L[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var _;o.value=!0,(_=d.value)==null||_.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){re.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(y).map((_,L)=>({name:_.name,itemStyle:{color:e.colors[L]},icon:e.legendType}))},tooltip:{trigger:"axis",show:e.tooltipShow,formatter:_=>{const L=_.length;let z="",R=e.tooltipFormatter;R===""&&(R="{marker} {a} {c}");const N=e.seriesTypes;for(let M=0;M<L;M++){const F=N[M],{tooltipFormatter:W}=F||{},{marker:Y,seriesName:Q,name:Z,value:ne,data:ce}=_[M]||{};M===0&&(z+=`${Z}<br/>`),z+=Ae(W||R,{textData:{marker:Y,name:Z,value:ne,seriesName:Q,a:Q,b:Z,c:ne||0,...ce}},{useNewline:!0,useSpace:!0}),z+="<br/>"}return z},textStyle:{color:e.tooltipTextStyleColor,fontSize:h.value}},xAxis:{minInterval:e.xAxisMinInterval,type:"category",data:a.unref(c).map(_=>{let L={};return _&&typeof _=="object"?L={..._}:L={value:_},L}),splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:a.unref(x),series:a.unref(f)})),{pageMode:m}=a.inject(Ie,{pageMode:"normal"}),g=()=>{o.value=!1},S=(_=[],L=!1)=>{let z;if(e.dataFieldConfigType==="key"){const W=L?e.keyTypeDataFieldNames:null;z=lt(_,W)}else if(e.dataFieldConfigType==="value"){const W=L?e.valueTypeDataFieldNames:null;z=vt(_,W)}c.value=z.dimensions;const R=z.dataset;y.value=z.dataset;const N=[],M=R.length,F=e.seriesTypes;for(let W=0;W<M;W++){const Y=F[W],{type:Q,axisIndex:Z}=Y||{};let ne={type:Q,yAxisIndex:Z,...R[W]};if(Q==="line"){const ce={};e.shadowColor&&(ce.shadowColor=e.shadowColor,ce.shadowBlur=e.shadowBlur,ce.shadowOffsetY=e.shadowOffsetY,ce.shadowOffsetX=e.shadowOffsetX),ne={...ne,symbolSize:e.symbolSize,smooth:e.smooth,itemStyle:{color:e.colors[W]},areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[W]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[W],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...ce}}}if(Q==="bar"){const{gradientShow:ce,gradientColors:De,gradientOffset:Ee}=e,me={};if(e.barBorderRadius){const ve=e.barBorderRadius.split(",");if(ve!=null&&ve.length){const Ge=[];for(const Me of ve){const Ne=parseFloat(Me);isNaN(Ne)||Ge.push(Ne)}me.borderRadius=Ge}}ce&&(me.color={x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[W]},{offset:Ee,color:De[W]},{offset:1,color:De[W]}]}),ne={...ne,barWidth:e.barWidth,itemStyle:me}}N.push(ne)}f.value=N},E=(_=[],L,z=!1)=>{const N=lt(_,z?L:null);c.value=N.dimensions;const M=N.dataset;y.value=N.dataset;const F=[],W=M.length,Y=e.seriesTypes;for(let Q=0;Q<W;Q++){const Z=Y[Q];F.push({type:Z==null?void 0:Z.type,yAxisIndex:Z==null?void 0:Z.axisIndex,...M[Q]})}f.value=F};a.watch(()=>[e.data,e.seriesTypes,e.symbolSize,e.smooth,e.areaStyleOpacity,e.lineStyleWidth,e.barWidth,e.barBorderRadius,e.areaGradientShow,e.areaGradientColor,e.gradientShow,e.gradientColors,e.gradientOffset,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize],([_])=>{(e.dataType==="static"||a.unref(m)==="design")&&S(_)},{immediate:!0,deep:!0});const x=a.computed(()=>{const _=e.yAxis;return _==null?void 0:_.map(L=>({type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(z){return mt(L.axisLabelFormatter,z)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}}))}),v=a.ref(!1),p=Oe(e),C=async()=>{var _,L;if(e.dataType==="request")try{v.value=!0;const z=await p();S((L=(_=z==null?void 0:z.data)==null?void 0:_.data)==null?void 0:L.rows,!0)}catch(z){console.error(z)}finally{v.value=!1}},w=Ze(e),b=async()=>{var _;try{v.value=!0;const L=await w(),{columns:z=[],rows:R=[]}=((_=L==null?void 0:L.data)==null?void 0:_.data)??{};let N;z.length>0&&(N={name:z[0],types:z.slice(1).map(M=>({label:M,value:M}))}),E(R,N,!0)}catch(L){console.error(L)}finally{v.value=!1}},T=()=>{switch(e.dataType){case"indicator":b();break;case"request":C();break}},B=(_,L)=>!!a.unref(s)[L.value].value.includes(_),A=async()=>{r.value=!1;const _=t.value.chart.getOption();for(let L=0;L<7;L++)await k(_,L)},k=(_,L)=>new Promise(z=>{setTimeout(()=>{const{series:R,color:N,xAxis:M}=_,F=t.value.chart,{splitArea:W={}}=M[0]||{};R.forEach((Y,Q)=>{const Z=Y.data;let ne="";L%2?ne=N[Q]+"a8":ne=N[Q],Z[i.value].itemStyle={color:ne}}),L%2?(W.show=!0,W.areaStyle.color=a.unref(s).map((Y,Q)=>Q===i.value?"#ff003b26":"")):W.show=!1,F.setOption({series:R,xAxis:M}),z()},200)});n({refreshData:T});const I=pe(e),{getGlobalModel:D,setGlobalModel:P}=a.inject(Se,{getGlobalModel:_=>{},setGlobalModel:(_,L)=>{}}),H=I("click",_=>{const L=D(e.id);P(e.id,{...L,RECORD:_==null?void 0:_.data})}),{setRequest:O}=a.inject(Be,{setRequest:_=>{}});return typeof O=="function"&&O({id:e.id,requestFn:T,sortNum:e.requestSort}),ke(e,{resetRecord:()=>{const _=e.id,L=D(_);P(_,{...L,RECORD:""})},refreshData:T,click:H}),{style:l,option:u,click:H,loading:v,onClose:g,ecanModal:d,echartRef:t,handleLocationOk:A,onFilterOption:B,locationVisible:r,locationValue:i,locationNames:s}}}),d1="",u1="",$c=e=>(a.pushScopeId("data-v-37c8d558"),e=e(),a.popScopeId(),e),Zc={class:"location-wrap"},Yc=$c(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function Kc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),y=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(y,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",Zc,[Yc,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const Li=fe(se(Wc,[["render",Kc],["__scopeId","data-v-37c8d558"]])),Xo={...ge,id:"",name:"雷达图",keyName:"雷达图",type:"ecanRadar",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"},{name:"名称五",value:435,type:"类型一"},{name:"名称六",value:215,type:"类型一"}],titleText:"",titleSubtext:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",lineStyleWidth:2,symbolSize:4,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",axisNameColor:"",legendFontSize:"12px",graphicConfig:{}},Qo=de(Xo),Ni=["refreshData","click","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.RadarChart,he.ToolboxComponent,he.TitleComponent,he.LegendComponent]);const Xc=a.defineComponent({name:"EcanRadar",props:{...Qo},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref(),l=a.computed(()=>o.value?We:12),f=a.ref({});let c;const d=a.ref([]),y=a.ref(e.valueTypeDataFieldNames.name),h=a.computed(()=>{const O=a.unref(d),V=O.length,_=[];for(let L=0;L<V;L++){const{name:z,data:R=[]}=O[L],N=[{name:z,value:R.map(F=>F.value)}],M={type:"radar",name:z,data:N,areaStyle:{color:e.colors[L],opacity:e.areaStyleOpacity},tooltip:{trigger:"item"},symbolSize:e.symbolSize,lineStyle:{width:e.lineStyleWidth},label:{show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow}};_.push(M)}return _}),u=a.computed(()=>{var z,R;const O=[],V={},_=a.unref(d),L=_.length;for(let N=0;N<L;N++){const{data:M=[]}=_[N];if(M!=null&&M.length)for(let F=0;F<M.length;F++)V[M[F][y.value]]?V[M[F][y.value]].push(M[F].value):V[M[F][y.value]]=[M[F].value]}if((z=i.value)!=null&&z.length)for(const N of i.value)O.push({name:N,max:(R=V[N])!=null&&R.length?Math.max(...V[N])*1.2:0});return O}),m=a.computed(()=>({toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var O;o.value=!0,(O=s.value)==null||O.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){re.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:l.value},show:e.tooltipShow,formatter:O=>{var L;let V="",_=e.tooltipFormatter;c=(L=O[0])==null?void 0:L.data,_===""&&(_="{marker} {a} {c}");for(let z=0;z<a.unref(u).length;z++){const R=a.unref(u)[z],{marker:N,seriesName:M,value:F}=O||{};z===0&&M&&(V+=`${M}<br/>`),V+=Ae(_,{textData:{marker:N,name:R.name,value:F[z],a:R.name,b:R.name,c:F[z]||0,type:M}},{useNewline:!0,useSpace:!0}),V+="<br/>"}return V}},radar:{indicator:a.unref(u),axisName:{color:e.axisNameColor}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(d).map(O=>({name:O.name,icon:e.legendType}))},series:a.unref(h)})),g=()=>{o.value=!1},{getGlobalModel:S,setGlobalModel:E}=a.inject(Se,{getGlobalModel:O=>{},setGlobalModel:(O,V)=>{}}),{pageMode:x}=a.inject(Ie,{pageMode:"normal"}),v=(O=[],V=!1)=>{let _;if(e.dataFieldConfigType==="key"){const L=V?e.keyTypeDataFieldNames:null;_=lt(O,L)}else if(e.dataFieldConfigType==="value"){const L=V?e.valueTypeDataFieldNames:null;_=vt(O,L)}i.value=_.dimensions,d.value=_.dataset},p=(O=[],V,_=!1)=>{const z=lt(O,_?V:null);i.value=z.dimensions,d.value=z.dataset};a.watch(()=>[e.data,e.areaStyleOpacity,e.legendFontSize],([O])=>{(e.dataType==="static"||a.unref(x)==="design")&&v(O)},{immediate:!0,deep:!0});const C=a.ref(!1),w=Oe(e),b=async()=>{var O,V;if(e.dataType==="request")try{C.value=!0;const _=await w();v((V=(O=_==null?void 0:_.data)==null?void 0:O.data)==null?void 0:V.rows,!0)}catch(_){console.error(_)}finally{C.value=!1}},B=pe(e)("click",O=>{const V=S(e.id);E(e.id,{...V,RECORD:e.tooltipShow?c:O.data})}),A=O=>{t.value.chart.containPixel("grid",[O.offsetX,O.offsetY])&&B()};e.tooltipShow?f.value["zr:click"]=A:f.value.click=B;const k=Ze(e),I=async()=>{var O;try{C.value=!0;const V=await k(),{columns:_=[],rows:L=[]}=((O=V==null?void 0:V.data)==null?void 0:O.data)??{};let z;_.length>0&&(y.value=_[0],z={name:_[0],types:_.slice(1).map(R=>({label:R,value:R}))}),p(L,z,!0)}catch(V){console.error(V)}finally{C.value=!1}},D=()=>{switch(e.dataType){case"indicator":I();break;case"request":b();break}};ke(e,{refreshData:D,resetRecord:()=>{const O=e.id,V=S(O);E(O,{...V,RECORD:""})},click:B});const{setRequest:H}=a.inject(Be,{setRequest:O=>{}});return typeof H=="function"&&H({id:e.id,requestFn:D,sortNum:e.requestSort}),n({refreshData:D}),{option:m,style:r,click:B,loading:C,onClose:g,ecanModal:s,eventObj:f,echartRef:t}}}),g1="";function Qc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Mi=fe(se(Xc,[["render",Qc]])),Jc="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=",ef="data:image/png;base64,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",tf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==",nf="data:image/png;base64,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",Jo={...ge,name:"边框",keyName:"边框",type:"ecanBorder",width:"300px",height:"300px",zIndex:0,fontSize:"16px",fontFamily:"",fontWeight:700,title:"标题",mode:"no-title",borderColor:"#eee",borderRadius:"5",borderStyle:"solid",borderWidth:"2px",backgroundColor:"#ffffff",useBorderModify:!1,textShadow:"",data:{},gradientShow:!0,gradientColor:"",gradientOffset:1,gradientAngle:"180deg",titleMode:"type-1"},ea=de(Jo),zi=["click"],of=a.defineComponent({name:"EcanBorder",props:{...ea},setup(e){const n=ue(e,["background"]),t=a.computed(()=>{const{gradientShow:m,gradientColor:g,gradientOffset:S,gradientAngle:E,backgroundColor:x}=e;return m&&g?{backgroundImage:`linear-gradient(${E}, ${x}, ${g} ${S*100}%)`}:{}}),o=a.computed(()=>{const{events:m}=e;let g={};return m!=null&&m.length&&m.find(E=>E.emit==="showModal")&&(g={cursor:"pointer"}),g}),{theme:r}=a.inject(Ie,{theme:"light"}),i=a.computed(()=>{let m="";switch(e.titleMode){case"type-2":m="2";break}return m}),s=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-left.png":Jc,"../../assets/border-title-decoration-left2.png":ef})[`../../assets/border-title-decoration-left${i.value}.png`],self.location).href),l=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-right.png":tf,"../../assets/border-title-decoration-right2.png":nf})[`../../assets/border-title-decoration-right${i.value}.png`],self.location).href),f=a.computed(()=>({width:"100%",height:"100%"})),c=a.computed(()=>{const{borderRadius:m}=e,g=[],S={};if(m){const E=m.split(",");for(const x of E)(+x||+x==0)&&g.push(+x+"px")}return g!=null&&g.length&&(S.borderRadius=g.join(" ")),S}),y=pe(e)("click",()=>{}),h=a.ref([]);a.watch(()=>e.data,m=>{h.value=m},{immediate:!0,deep:!0}),ke(e,{click:y});const{setGlobalModel:u}=a.inject(Se,{setGlobalModel:(m,g)=>{}});return u(e.id,{type:e.type,value:h}),{style:n,gradientStyle:t,click:y,borderStyle:f,theme:r,borderRadiusStyle:c,titleLeftIcon:s,titleRightIcon:l,cursorStyle:o}}}),x1="",ct=e=>(a.pushScopeId("data-v-4d259384"),e=e(),a.popScopeId(),e),af=ct(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),rf=ct(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),lf=ct(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),sf=ct(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),cf={class:"title-item"},ff=["src"],df={class:"title"},uf=["src"],hf=ct(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),gf=ct(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),mf=ct(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),xf=ct(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),yf={key:2,class:"left-title"},pf={class:"title"};function vf(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"ecan-border",style:a.normalizeStyle({...e.style,...e.gradientStyle,...e.borderRadiusStyle,...e.cursorStyle}),onClick:n[0]||(n[0]=(...s)=>e.click&&e.click(...s))},[e.mode==="no-title"?(a.openBlock(),a.createElementBlock("div",{key:0,class:"no-title",style:a.normalizeStyle(e.borderStyle)},[e.useBorderModify?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[af,rf,lf,sf],64)):a.createCommentVNode("",!0)],4)):a.createCommentVNode("",!0),e.mode==="top-title"?(a.openBlock(),a.createElementBlock("div",{key:1,class:"top-title",style:a.normalizeStyle(e.borderStyle)},[a.createElementVNode("div",{class:a.normalizeClass(["title-item-wrapper",e.titleMode])},[a.createElementVNode("div",cf,[a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleLeftIcon},null,10,ff),a.createElementVNode("div",df,a.toDisplayString(e.title),1),a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleRightIcon},null,10,uf)])],2),hf,gf,mf,xf],4)):a.createCommentVNode("",!0),e.mode==="left-title"?(a.openBlock(),a.createElementBlock("div",yf,[a.createElementVNode("div",pf,[a.createElementVNode("span",null,a.toDisplayString(e.title),1)])])):a.createCommentVNode("",!0)],4)}const Pi=fe(se(of,[["render",vf],["__scopeId","data-v-4d259384"]])),ta={...ge,tabHorizontalPadding:"0px",type:"ecanTabs",name:"标签页",keyName:"标签页",width:"500px",height:"400px",tabFontSize:"14px",backgroundColor:"#ffffff",activeTabColor:"#1890ff",tabBackgroundImage:"",activeTabBackgroundImage:"",tabColor:"#333",tabBarGutter:"24px",tabFontWeight:400,value:"",activeKey:0,autoSwitch:!1,autoSwitchInterval:5,contains:[],tabFlexDirection:"row",data:[{title:"标签1"},{title:"标签2"},{title:"标签3"}],tabAlignItems:"flex-start",tabJustifyContent:"flex-start"},na=de(ta),Fi=["tabChange"],bf=a.defineComponent({name:"EcanTabs",props:{...na},setup(e){const n=ue(e),t=a.ref(0);a.watch(()=>e.activeKey,u=>{t.value=u},{immediate:!0});const{pageMode:o}=a.inject(Ie,{pageMode:"normal"});let r=null;const i=()=>{const u=Array.isArray(a.unref(s))?a.unref(s).length-1:0;e.autoSwitch&&u>0&&(r=setInterval(()=>{const m=a.unref(t)+1;m<=u?t.value=m:t.value=0,l.value=a.unref(s)[a.unref(t)],y()},e.autoSwitchInterval*1e3))};a.onMounted(()=>{a.unref(o)!=="design"&&i()}),a.onBeforeUnmount(()=>{clearInterval(r)});const s=a.ref([]),l=a.ref({});a.watch(()=>e.data,u=>{s.value=u,l.value=Array.isArray(u)&&u.length>0?u[0]:{}},{immediate:!0,deep:!0});const f=u=>t.value===u,c=pe(e),{setGlobalModel:d}=a.inject(Se,{setGlobalModel:(u,m)=>{}});d(e.id,{value:l,activeKey:t});const{emitRefreshPage:y}=a.inject(Nt,{emitRefreshPage:()=>{}}),h=c("tabChange",(u,m)=>{m!==a.unref(t)&&(l.value=u,t.value=m,y())});return ke(e,{tabChange:h}),{style:n,activeKey:t,isActive:f,tabChange:h,myData:s,useImagePath:gt}}}),p1="",wf=["onClick"];function Sf(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"ecan-tabs",style:a.normalizeStyle(e.style)},[a.createElementVNode("div",{class:"tabs-header",style:a.normalizeStyle({fontSize:e.tabFontSize,alignItems:e.tabAlignItems,justifyContent:e.tabJustifyContent,flexDirection:e.tabFlexDirection})},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myData,(s,l)=>(a.openBlock(),a.createElementBlock("div",{class:"tab",style:a.normalizeStyle({padding:`5px ${e.tabHorizontalPadding}`,color:e.isActive(l)?e.activeTabColor:e.tabColor,backgroundImage:e.isActive(l)?e.useImagePath(e.activeTabBackgroundImage,!0):e.useImagePath(e.tabBackgroundImage,!0),marginRight:e.tabFlexDirection==="row"?e.tabBarGutter:null,marginBottom:e.tabFlexDirection==="column"?e.tabBarGutter:null,fontWeight:e.tabFontWeight}),key:l,onClick:a.withModifiers(f=>e.tabChange(s,l),["prevent","stop"])},[a.createElementVNode("div",{class:"tab-inner",style:a.normalizeStyle({borderBottom:!e.activeTabBackgroundImage&&!e.tabBackgroundImage?`1px solid ${e.isActive(l)?e.activeTabColor:"transparent"}`:""})},a.toDisplayString(s.title),5)],12,wf))),128))],4)],4)}const Hi=fe(se(bf,[["render",Sf],["__scopeId","data-v-a2045b93"]])),oa={...ge,name:"图片",keyName:"图片",type:"ecanImage",width:"300px",height:"300px",imgUrl:"",target:"self",href:"",linkPage:"",data:{}},aa=de(oa),qi=["click"],Cf=a.defineComponent({name:"EcanImage",props:{...aa},setup(e){const n=ue(e),t=a.computed(()=>gt(e.imgUrl)),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),{getGlobalModel:r,setGlobalModel:i}=a.inject(Se,{getGlobalModel:f=>{},setGlobalModel:(f,c)=>{}}),l=pe(e)("click",()=>{const f=r(e.id);if(i(e.id,{...f,RECORD:e.data||{}}),setTimeout(()=>{i(e.id,{...f,RECORD:{}})},0),!e.linkPage&&!e.href)return;const c=e.linkPage||"",d=Gr(a.unref(o),c),y=e.href;let h=y||d;h=Ae(h);const u=e.target;u&&(u!=="event"?window.open(h,"_"+u):window.parent.postMessage({type:"openPage",url:y},"*"))});return ke(e,{click:l}),{style:n,myImgUrl:t,onClick:l}}}),b1="",Af=["src"];function kf(e,n,t,o,r,i){return e.myImgUrl!==""?(a.openBlock(),a.createElementBlock("img",{key:0,style:a.normalizeStyle(e.style),src:e.myImgUrl,onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s))},null,12,Af)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"image-placeholder",style:a.normalizeStyle(e.style)}," 请上传图片 ",4))}const Vi=fe(se(Cf,[["render",kf],["__scopeId","data-v-3665dde7"]])),ra={...ge,name:"网页",keyName:"网页",type:"ecanIframe",width:"300px",height:"300px",link:"",linkType:"web"},ia=de(ra),Ef=a.defineComponent({name:"EcanIframe",props:{...ia},setup(e){const n=ue(e),{contextRequestUrl:t}=a.inject(Ie,{contextRequestUrl:""}),o=a.computed(()=>{let r=Ae(e.link);if(e.linkType==="erd"&&r!=null){let i=a.unref(t);i[i.length-1]==="/"?i+="erdReport":i+="/erdReport",r=`${Il||i}?_t=0&uid=${r}`}return r});return{style:n,myLink:o}}}),S1="",Tf=["src"];function Bf(e,n,t,o,r,i){return e.myLink?(a.openBlock(),a.createElementBlock("iframe",{key:0,src:e.myLink,style:a.normalizeStyle(e.style)},null,12,Tf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"iframe-placeholder",style:a.normalizeStyle(e.style)}," 请填写网页链接 ",4))}const ji=fe(se(Ef,[["render",Bf],["__scopeId","data-v-19bc100c"]])),la={...ge,zIndex:2,name:"表格",keyName:"表格",type:"ecanTable",width:"400px",height:"240px",bordered:!1,headerFontSize:"14px",fontSize:"14px",isUseSeq:!1,size:"default",headerFontWeight:400,isUseExport:!1,fontWeight:400,columnsFixedNum:0,scrollX:0,paginationShow:!0,isReverse:!1,simple:!1,pageSizeShow:!1,cellBackgroundColor:"",headerBackgroundColor:"",borderColor:"",paginationPosition:"bottomRight",paginationPageSize:10,isUseAction:!1,clickHighlight:!1,filterDropdownHeight:"200px",actionList:[{title:"",href:"",target:"",color:""}],actionColumnWidth:100,columns:[{title:"姓名",dataIndex:"name"},{title:"年龄",dataIndex:"age"},{title:"住址",dataIndex:"address"}],data:[{name:"小明",age:32,address:"福州软件园"},{name:"小红",age:25,address:"福州软件园"}],graphicConfig:{},stripedShow:!1,stripedColor:"#fafafa",isGroupTable:!1,seqWidth:"10%",isSummaryFixed:!1,isPageBottom:!1},sa=de(la),Gi=["click","refreshData","resetRecord","exportTableData"],ca=a.defineComponent({name:"EcanTable",components:{Skeleton:jt,AButton:re.Button,AInput:re.Input,ACheckboxGroup:re.CheckboxGroup,ATable:re.Table,ATableSummary:re.TableSummary,ATableSummaryRow:re.TableSummaryRow,ATableSummaryCell:re.TableSummaryCell},props:{...sa},setup(e,{expose:n}){const t=a.ref(!1),o=Ye.cloneDeep(e.columns),r=a.ref(),i=a.ref(!1),s=ue(e),l=a.ref([]),f=a.computed(()=>e.scrollX),c=a.ref(0),d=()=>{let G=0;switch(e.size){case"small":G=50;break;case"middle":G=53;break;default:G=65;break}return G};a.watchEffect(()=>{var G;(G=l.value)!=null&&G.length&&e.height&&a.nextTick(()=>{let U=parseFloat(e.height);const $=document.querySelector(`#ecanTable-${e.id} .ant-table-tbody`),K=document.querySelector(`#ecanTable-${e.id} thead.ant-table-thead`),X=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`);let ae=0;if(K&&(U-=(K==null?void 0:K.clientHeight)||0),X&&e.isSummaryFixed&&(ae=(X==null?void 0:X.clientHeight)||0,U-=ae),e.paginationShow){let J=0;J=d(),J&&(U-=J)}($==null?void 0:$.clientHeight)>U?c.value=U:c.value=0,a.nextTick(()=>{if(ae){const J=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`),ie=(J==null?void 0:J.clientHeight)||0;ae!==ie&&a.unref(c)&&(c.value=U+ae-ie)}})})});const y=a.ref([]),h=a.ref([]),u=a.ref([]),m=a.ref(0),g=a.ref(1),S=a.ref(e.paginationPageSize||10),E=a.reactive([]),x=(G=[])=>{if(Array.isArray(G)&&G.length>0){const U=G.length,$=e.columnsFixedNum;for(let K=0;K<U;K++){const X=G[K];K<$?X.fixed="left":X.fixed=!1;const{cellAlign:ae="center",cellColor:J,dataIndex:ie,title:xe,tableFilter:ye,headerCellAlign:ze,headerCellColor:Re}=X;ye&&(E.push(ie),X.filterOptionsInputValue="",X.filterCheckboxGroupValue=[],X.customFilterDropdown=!0,X.onFilter=(Te,zt)=>zt[ie].toString().toLowerCase().includes(Te.toLowerCase())),X.customHeaderCell=()=>({style:{display:"table-cell",verticalAlign:"middle",fontSize:e.headerFontSize,fontWeight:e.headerFontWeight,textAlign:ze||"center",color:Re,borderBottomColor:e.borderColor}}),X.customCell=(Te,zt)=>({style:{textAlign:ae,color:J,backgroundColor:e.cellBackgroundColor,borderBottomColor:e.borderColor},class:{highlight:a.unref(R)===zt&&e.clickHighlight},onClick:H("click",()=>{const Pt=e.id,nn=O(Pt);Te={dataIndex:ie,title:xe,...Te},V(Pt,{...nn,RECORD:Te})})}),Array.isArray(X.children)&&x(X.children)}}},v=(G=[])=>(e.isUseSeq&&G.unshift({title:"序号",dataIndex:"SEQ",align:"center",width:e.seqWidth}),e.isUseAction&&G.push({title:"操作",dataIndex:"ACTION",width:e.actionColumnWidth}),x(G),G);a.watch(S,()=>{g.value=1,M(!1)}),a.watch(r,G=>{i.value=!!G}),a.watch(()=>[e.columns,e.isUseSeq,e.seqWidth,e.isUseAction,e.columnsFixedNum,e.actionColumnWidth,e.cellBackgroundColor,e.borderColor,e.stripedColor],()=>{y.value=v(Ye.cloneDeep(e.columns))},{immediate:!0,deep:!0}),a.watch(()=>[e.data,e.dataType],([G,U])=>{U==="static"&&(h.value=G)},{immediate:!0});const p=a.ref({}),C=G=>{if(Array.isArray(G)){const U=G.length,$=E,K=$.length,X={};for(let J=0;J<U;J++){const ie=G[J];for(let xe=0;xe<K;xe++){const ye=$[xe];if(X[ye])X[ye].add(ie[ye]);else{const ze=new Set;ze.add(ie[ye]),X[ye]=ze}}}const ae={};for(const J in X)if(Object.prototype.hasOwnProperty.call(X,J)){const ie=X[J],xe=Array.from(ie);ae[J]=xe.map(ye=>({label:ye,value:ye}))}p.value=ae}};a.watch(()=>[e.isReverse,y.value,h.value],()=>{const G=a.unref(y),U=a.unref(h);if(C(U),e.isReverse){const{columns:$,dataSource:K}=w(Ye.cloneDeep(G),Ye.cloneDeep(U));u.value=$,l.value=K}else{let $=G;e.dataType==="indicator"&&(o!=null&&o.length)&&($=G.map((K,X)=>({...o[X],...K}))),u.value=$,l.value=U}},{immediate:!0});const w=(G,U)=>{const $=G[0],K=[{title:$.title,dataIndex:"col0",key:"col0",align:"center"}];for(let ae=0;ae<U.length;ae++){const J=U[ae],ie="col"+(ae+1);K.push({title:J[$.dataIndex],dataIndex:ie,key:ie,align:"center"})}const X=[];for(let ae=1;ae<G.length;ae++){const J=G[ae],ie={col0:J.title};for(let xe=0;xe<U.length;xe++){const ye=U[xe];ie[`col${xe+1}`]=ye[J.dataIndex]}X.push(ie)}return{columns:K,dataSource:X}},b=a.ref(""),T=Oe(e),B=async(G=!0,U={})=>{var $;try{G&&(t.value=!0),a.unref(b)&&(U.orderCondition=a.unref(b)),e.paginationShow&&(U={pageNum:a.unref(g),pageSize:a.unref(S)||"10",layer:"1",...U});const K=await T(U),{rows:X=[],total:ae=0}=(($=K==null?void 0:K.data)==null?void 0:$.data)||{};if(m.value=ae,Array.isArray(X)&&(h.value=X),window.config.routerBaseURL.includes("1523545080925487106")){const{requestParams:J=[]}=e,ie=J.find(xe=>xe.key==="dataSqlId");if((ie==null?void 0:ie.value)==="xt_jxzebg"){const xe=X.filter(ye=>!ye.绩效总额).map(ye=>ye.ORG_NAME);xe!=null&&xe.length&&a.nextTick(()=>{re.notification.warning({message:"提示",description:`当前时段${xe.join("、")}绩效数据为空`,duration:3})})}}}catch(K){console.error(K)}finally{t.value=!1}},A=({current:G},U,$)=>{if(g.value=G,$&&Object.keys($).length>0){const{field:K,order:X}=$,J={ascend:"asc",descend:"desc"}[X];K!=null&&J!=null&&(b.value=K+" "+J)}M(!1)},k=a.computed(()=>{const G=e.simple,U=[e.paginationPosition];return e.paginationShow&&{simple:G,position:U,total:a.unref(m),current:a.unref(g),pageSize:a.unref(S)||"10",showSizeChanger:!1}}),I=G=>+G==1?"是":+G==0?"否":G,D=(G,U,$)=>{if(U==null||U==="")return G;const K={money:so,percentage:en,contrast:en,boolean:I,decimals:Hs};return U==="decimals"?K[U](G,$)||"":K[U](G)||""},P=(G,U)=>{const $=parseFloat(G+"");if(U!=="contrast")return"";switch(!0){case $>=0:return"goUp";case $<0:return"goDown"}},H=pe(e),{getGlobalModel:O,setGlobalModel:V}=a.inject(Se,{getGlobalModel:G=>{},setGlobalModel:(G,U)=>{}}),_=(G=[],U=[])=>{const $=G.map(K=>({title:K,dataIndex:K,key:K}));y.value=v($),h.value=U},L=Ze(e),z=async()=>{var G,U,$,K;try{t.value=!0;const X=await L();_((U=(G=X==null?void 0:X.data)==null?void 0:G.data)==null?void 0:U.columns,(K=($=X==null?void 0:X.data)==null?void 0:$.data)==null?void 0:K.rows)}catch(X){console.error(X)}finally{t.value=!1}},R=a.ref(-1),N=(G,U)=>({onClick:H("rowClick",()=>{const $=e.id,K=O($);V($,{...K,RECORD:G}),R.value=U})}),M=(G=!0)=>{switch(e.dataType){case"request":B(G);break;case"indicator":z();break}},F=()=>{const G=e.id,U=O(G);V(G,{...U,RECORD:""})},W=a.computed(()=>{const G=a.unref(u),U=[];let $=0;for(let ae=0;ae<G.length;ae++){const J=G[ae],{isCalcTotal:ie}=J;e.isUseSeq&&ae===0?U.push({...J,total:"小计"}):ie?(U.push({...J,index:ae,total:0}),$++):U.push({...J})}if($===0)return[];const K=a.unref(l),X=Y(U);for(let ae=0;ae<X.length;ae++){const J=X[ae];let ie=0;const{isCalcTotal:xe,dataIndex:ye}=J;if(xe===!0){for(let ze=0;ze<K.length;ze++){const Te=+K[ze][ye];isNaN(Te)||(ie=new d0.Big(ie).add(Te).toNumber())}J.total=ie}}return X});function Y(G){var $;const U=[];for(const K of G)($=K.children)!=null&&$.length?U.push(...Y(K.children)):U.push(K);return U}const{setRequest:Q}=a.inject(Be,{setRequest:G=>{}});typeof Q=="function"&&Q({id:e.id,requestFn:M,sortNum:e.requestSort}),n({refreshData:M});const Z=(G="",U)=>Ae(G,U),ne=G=>{if(G!=="event")return{self:"_self",blank:"_blank"}[G]},ce=(G,U="")=>{G==="event"&&window.parent.postMessage({type:"openPage",url:U},"*")},De=(G,U)=>{G(U.filterCheckboxGroupValue)},Ee=(G,U)=>{G({confirm:!0}),U.filterOptionsInputValue="",U.filterCheckboxGroupValue=[]},me=()=>{},ve=G=>{const U=G.dataIndex;if(typeof U=="string"){let $=a.unref(p)[U];const K=a.unref(G.filterOptionsInputValue).trim();return Array.isArray($)?($=$.filter(X=>typeof X.label=="string"?X.label.toLowerCase().includes(K.toLowerCase()):!0),$):[]}return[]},Ge=async()=>{var ye,ze;const G="EXPORT_KEY";re.message.loading({key:G,content:"正在导出...",duration:0});let U=[];if(e.dataType==="static")U=e.data;else if(e.dataType==="request"){const Re={layer:"1"};a.unref(b)&&(Re.orderCondition=a.unref(b));const Te=await T(Re);U=((ze=(ye=Te==null?void 0:Te.data)==null?void 0:ye.data)==null?void 0:ze.rows)||{}}const $=a.unref(u),K=[],X=[];$==null||$.forEach(Re=>{K.push(Re.dataIndex),X.push(Re.title)});const ae=U.map(Re=>Ye.pick(Re,K)),J=Rt.utils.book_new(),ie=Rt.utils.aoa_to_sheet([X]),xe=Rt.utils.sheet_add_json(ie,ae,{skipHeader:!0,origin:"A2"});Rt.utils.book_append_sheet(J,xe,"sheet"),Rt.writeFile(J,"表格数据.xlsx"),re.message.success({key:G,content:"导出成功"})},Me=(G,U=2)=>{const $=+G*100;return isNaN($)||$<=0?0:$>=100?100:$.toFixed(U)};ke(e,{resetRecord:F,refreshData:M,exportTableData:Ge});const Ne=a.computed(()=>e.headerBackgroundColor||"#fafafa"),et=(G,U)=>{let $=null;return e.stripedShow&&($=U%2===1?"table-striped":null),$},tt=a.computed(()=>{let G=0;const{height:U,isPageBottom:$}=e;return $&&U&&(G=parseFloat(U)-d()),G?G+"px":"100%"});return{x:f,y:c,style:s,customRow:N,pagination:k,formatFn:D,contrastClass:P,tableChange:A,summaryList:W,loading:t,onTouchHrefEvent:ce,handleHref:Z,handleHrefTarget:ne,useRowIndex:R,tableColumns:u,tableDataSource:l,useFilterOptions:ve,useSetSelectedKeys:De,onResetFilter:Ee,onSearchFilterOptions:me,exportTableData:Ge,handleProgressText:Me,pageSizeVisible:i,pageSize:S,tableRef:r,headerBgColor:Ne,rowClassName:et,tableHeight:tt}}}),Ui=()=>{a.useCssVars(e=>({"75853bbe":e.headerBgColor,"05d8c55f":e.stripedColor}))},Wi=ca.setup;ca.setup=Wi?(e,n)=>(Ui(),Wi(e,n)):Ui;const A1="",k1="",_f=["id"],Df={key:0,class:"table-tool"},Rf=a.createTextVNode("导出数据"),If=a.createTextVNode(" 搜索 "),Of=a.createTextVNode(" 重置 "),Lf={key:0},Nf={key:1,class:"action-list"},Mf=["href","target","onClick"],zf={key:2,class:"progress-cell"},Pf={class:"ant-pagination-options-quick-jumper"},Ff=a.createTextVNode(" 条 / 页 ");function Hf(e,n,t,o,r,i){const s=a.resolveComponent("a-button"),l=a.resolveComponent("a-input"),f=a.resolveComponent("a-checkbox-group"),c=a.resolveComponent("a-table-summary-cell"),d=a.resolveComponent("a-table-summary-row"),y=a.resolveComponent("a-table-summary"),h=a.resolveComponent("a-table"),u=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-table",id:"ecanTable-"+e.id,style:a.normalizeStyle(e.style)},[a.createVNode(u,{loading:e.loading},{default:a.withCtx(()=>{var m;return[e.isUseExport?(a.openBlock(),a.createElementBlock("div",Df,[a.createVNode(s,{class:"export-button",onClick:e.exportTableData},{default:a.withCtx(()=>[Rf]),_:1},8,["onClick"])])):a.createCommentVNode("",!0),a.createVNode(h,{ref:"tableRef",class:"table",style:a.normalizeStyle({height:e.tableHeight}),columns:e.tableColumns,"data-source":e.tableDataSource,bordered:e.bordered,size:e.size,customRow:e.customRow,scroll:e.y?{x:e.x,y:e.y}:{},pagination:e.pagination,"row-class-name":e.rowClassName,onChange:e.tableChange},{customFilterDropdown:a.withCtx(({column:g,selectedKeys:S,setSelectedKeys:E,confirm:x,clearFilters:v})=>[a.createElementVNode("div",{class:"ecan-table-filter",style:a.normalizeStyle({height:e.filterDropdownHeight})},[a.createVNode(l,{value:g.filterOptionsInputValue,"onUpdate:value":p=>g.filterOptionsInputValue=p,placeholder:"请输入关键字",class:"filter-input",onChange:e.onSearchFilterOptions},null,8,["value","onUpdate:value","onChange"]),a.createVNode(f,{value:g.filterCheckboxGroupValue,"onUpdate:value":p=>g.filterCheckboxGroupValue=p,class:"filter-checkbox",options:e.useFilterOptions(g),onChange:p=>e.useSetSelectedKeys(E,g)},null,8,["value","onUpdate:value","options","onChange"]),a.createElementVNode("div",null,[a.createVNode(s,{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:()=>x()},{default:a.withCtx(()=>[If]),_:2},1032,["onClick"]),a.createVNode(s,{size:"small",style:{width:"90px"},onClick:a.withModifiers(p=>e.onResetFilter(v,g),["stop"])},{default:a.withCtx(()=>[Of]),_:2},1032,["onClick"])])],4)]),bodyCell:a.withCtx(({column:g,index:S,text:E,record:x})=>[g.dataIndex==="SEQ"?(a.openBlock(),a.createElementBlock("span",Lf,a.toDisplayString(S+1),1)):g.dataIndex==="ACTION"?(a.openBlock(),a.createElementBlock("div",Nf,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.actionList,(v,p)=>(a.openBlock(),a.createElementBlock("div",{class:"action",key:p},[a.createElementVNode("a",{href:e.handleHref(v.href,x),target:e.handleHrefTarget(v.target),style:a.normalizeStyle({color:v.color,fontSize:e.fontSize,fontWeight:e.fontWeight}),onClick:C=>e.onTouchHrefEvent(v.target,e.handleHref(v.href,x))},a.toDisplayString(v.title),13,Mf)]))),128))])):g.format==="progress"?(a.openBlock(),a.createElementBlock("div",zf,[a.createElementVNode("div",{class:"progress",style:a.normalizeStyle({background:g.progressColor||"#1890ff",height:g.progressWidth||"18px",width:`${e.handleProgressText(E,g.progressTextDecimalPlaces)}%`})},null,4),a.createElementVNode("div",{class:"progress-text",style:a.normalizeStyle({color:+e.handleProgressText(E)<100?g.progressTextColor||"#333":g.progressFinishedTextColor||"#fff"})},a.toDisplayString(e.handleProgressText(E,g.progressTextDecimalPlaces))+"% ",5)])):(a.openBlock(),a.createElementBlock("div",{key:3,class:a.normalizeClass([e.contrastClass(E,g.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(g.format!=null?e.formatFn(E,g.format,g.retentiondigit):E),7))]),summary:a.withCtx(()=>[e.summaryList.length>0?(a.openBlock(),a.createBlock(y,{key:0,fixed:e.isSummaryFixed},{default:a.withCtx(()=>[a.createVNode(d,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.summaryList,(g,S)=>(a.openBlock(),a.createBlock(c,{key:S,index:S,style:a.normalizeStyle({backgroundColor:e.cellBackgroundColor,textAlign:g.cellAlign||"center",color:g.cellColor,borderBottomColor:e.borderColor})},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass([e.contrastClass(g.total,g.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString((g.format!=null||g.format!=="")&&e.formatFn(g.total,g.format,g.retentiondigit)),7)]),_:2},1032,["index","style"]))),128))]),_:1})]),_:1},8,["fixed"])):a.createCommentVNode("",!0)]),_:1},8,["style","columns","data-source","bordered","size","customRow","scroll","pagination","row-class-name","onChange"]),(m=e.tableDataSource)!=null&&m.length&&!e.simple&&e.pageSizeShow&&e.pageSizeVisible?(a.openBlock(),a.createBlock(a.Teleport,{key:1,to:"#ecanTable-"+e.id+" .ant-pagination"},[a.createElementVNode("div",Pf,[a.withDirectives(a.createElementVNode("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=g=>e.pageSize=g)},null,512),[[a.vModelText,e.pageSize]]),Ff])],8,["to"])):a.createCommentVNode("",!0)]}),_:1},8,["loading"])],12,_f)}const $i=fe(se(ca,[["render",Hf],["__scopeId","data-v-b433c372"]])),fa={...ge,mapJson:null,data:[],name:"地图",keyName:"地图",type:"ecanMap",width:"400px",height:"400px",backgroundImage:"",backgroundImageRepeat:"no-repeat",geoBackgroundImage:"",geoBackgroundImageRepeat:"no-repeat",symbolImage:"",symbolWidth:10,symbolHeight:10,itemStyleColor:"#11BFDA",labelFontSize:14,labelShow:!0,geoLabelShow:!0,geoLabelColor:"#000",geoZoom:1,geoRoam:!1,geoCenter:"",geoLabelFontSize:12,labelColor:"",labelFormatter:"{b}",geoItemStyleAreaColor:"#eee",geoItemStyleBorderColor:"#000",geoItemStyleBorderWidth:1,geoItemStyleShadowColor:"",geoItemStyleShadowOffsetX:0,geoItemStyleShadowOffsetY:0,geoItemStyleShadowBlur:0,geoEmphasisDisabled:!1,geoEmphasisLabelColor:"#fff",geoEmphasisItemStyleAreaColor:"#f00",geoEmphasisItemStyleBorderColor:"#000",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{name}:{value}",tooltipRequestData:{requestUrl:"",requestMethod:"get",requestParams:[]},tooltipBackgroundColor:"#fff"},da=de(fa),Zi=["click"];Pe.use([dt.CanvasRenderer,Xe.MapChart,Xe.ScatterChart,he.VisualMapComponent,he.TooltipComponent,he.GraphicComponent]);const qf=a.defineComponent({name:"EcanMap",components:{Echarts:nt},props:{...da},setup(e){const n=Oe(e),t=Oe({...e.tooltipRequestData,requestHeaders:{}}),o=a.ref(),r=a.ref(""),i=a.ref(""),s=ue(e,["backgroundImage"]),l=a.ref(),f=a.computed(()=>gt(e.geoBackgroundImage)),c=a.computed(()=>gt(e.backgroundImage)),d=a.computed(()=>e.geoBackgroundImage?{image:a.unref(l),repeat:e.geoBackgroundImageRepeat}:e.geoItemStyleAreaColor),y=a.computed(()=>{const D=e.symbolImage;return e.symbolImage?"image://"+gt(D):"circle"}),h=D=>{let P=e.tooltipFormatter;const H=P.match(/\{(.+?)\}/g);if(H==null||H.length===0)return P;for(let O=0;O<H.length;O++){const V=H[O];let _=V.slice(1,-1).trim();const L=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,z=_.match(L);for(let R=0;R<z.length;R++){const N=z[R],M=D[N];M!=null&&(_=_.replace(N,M))}P=P.replace(V,_)}return P.split(`
118
- `)},u=a.ref(!1),m=a.ref("");let g=new AbortController;const S=(D,P)=>{const H=g.signal;u.value=!0,r.value=D,t({name:D,signal:H}).then(O=>{var V,_;if(O){const L=((_=(V=O==null?void 0:O.data)==null?void 0:V.data)==null?void 0:_.rows)||[];let z="";for(const R of L){const N=h(R)||[];if(N!=null&&N.length)for(const M of N)z+=`<div style="word-break: break-all;white-space: normal;">${M}</div>`}z=`<div style="max-width:200px;">${z}</div>`,i.value=z,P(a.unref(m),z)}else H.aborted?i.value="Loading":i.value=D,P(a.unref(m),i.value);u.value=!1})},E=a.computed(()=>{const D=e.geoCenter;let P;return typeof D=="string"&&D!==""&&(P=D.split(",")),{tooltip:{show:!0},graphic:[{type:"image",style:{width:parseFloat(e.width),height:parseFloat(e.height),image:a.unref(c)},top:"center"}],geo:{zoom:e.geoZoom,roam:e.geoRoam,center:P,map:`map-${e.id}`,tooltip:{show:e.tooltipShow,trigger:"item",backgroundColor:e.tooltipBackgroundColor,borderColor:"transparent",textStyle:{color:e.tooltipTextStyleColor},formatter:(H,O,V)=>{m.value=O;const{name:_=""}=H,{requestUrl:L}=e.tooltipRequestData;if(!L)return _;if(a.unref(u))a.unref(r)!==_&&(g.abort(),g=new AbortController);else{if(a.unref(r)===_)return a.unref(i);S(_,V)}return"Loading"}},label:{show:e.geoLabelShow,color:e.geoLabelColor,fontSize:e.geoLabelFontSize},itemStyle:{areaColor:a.unref(d),borderColor:e.geoItemStyleBorderColor,borderWidth:e.geoItemStyleBorderWidth,shadowColor:e.geoItemStyleShadowColor,shadowBlur:e.geoItemStyleShadowBlur,shadowOffsetX:e.geoItemStyleShadowOffsetX,shadowOffsetY:e.geoItemStyleShadowOffsetY},emphasis:{disabled:e.geoEmphasisDisabled,label:{color:e.geoEmphasisLabelColor},itemStyle:{areaColor:e.geoEmphasisItemStyleAreaColor,borderColor:e.geoEmphasisItemStyleBorderColor}}},series:[{type:"scatter",coordinateSystem:"geo",itemStyle:{color:e.itemStyleColor},symbol:a.unref(y),symbolSize:[e.symbolWidth,e.symbolHeight],label:{show:e.labelShow,fontSize:e.labelFontSize,formatter:e.labelFormatter,color:e.labelColor},tooltip:{show:e.tooltipShow,textStyle:{color:e.tooltipTextStyleColor}},data:e.data}]}}),x=a.ref(!1),v=async()=>{var H;x.value=!1;const D=e.mapJson,P=`map-${e.id}`;if(D!=null&&D.path){const O=await Ke(((H=window==null?void 0:window.config)==null?void 0:H.uploadPath)+D.path);Pe.registerMap(P,(O==null?void 0:O.data)||{})}else Pe.registerMap(P,{});x.value=!0};a.watch(()=>e.mapJson,()=>{v()},{immediate:!0,deep:!0});const p=async()=>{var D,P;if(e.dataType==="request"){x.value=!1;try{const H=await n(),O=((P=(D=H==null?void 0:H.data)==null?void 0:D.data)==null?void 0:P.rows)||{},V=`map-${e.id}`;if(O!=null&&O.path){const _=await Ke(O.path);Pe.registerMap(V,(_==null?void 0:_.data)||{})}else Pe.registerMap(V,{})}catch(H){console.error(H)}finally{x.value=!0}}},C=()=>{switch(e.dataType){case"request":p();break}},{getGlobalModel:w,setGlobalModel:b}=a.inject(Se,{getGlobalModel:D=>{},setGlobalModel:(D,P)=>{}}),B=pe(e)("click",()=>{const D=w(e.id);b(e.id,{...D,RECORD:a.unref(o)})});ke(e,{refreshData:C});const{setRequest:A}=a.inject(Be,{setRequest:D=>{}});return typeof A=="function"&&A({id:e.id,requestFn:C,sortNum:e.requestSort}),{option:E,style:s,isLoadedData:x,geoBackgroundImageRef:l,myGeoBackgroundImage:f,customClick:()=>{a.unref(o)&&B()},onMouseOver:(D={})=>{D.componentType==="geo"&&D.region?o.value=D.region:o.value=null}}}}),T1="",Vf=["src"];function jf(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{class:"ecan-map",style:a.normalizeStyle(e.style)},[e.isLoadedData?(a.openBlock(),a.createBlock(s,{key:0,option:e.option,"update-options":{notMerge:!0},autoresize:"","onZr:click":e.customClick,onMouseover:e.onMouseOver},null,8,["option","onZr:click","onMouseover"])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("img",{ref:"geoBackgroundImageRef",src:e.myGeoBackgroundImage},null,8,Vf),[[a.vShow,!1]])],4)}const Yi=fe(se(qf,[["render",jf],["__scopeId","data-v-10f150ac"]])),Ki=Object.freeze(Object.defineProperty({__proto__:null,EcanBar:_i,EcanBorder:Pi,EcanButton:gi,EcanCheckbox:xi,EcanComboGraph:Li,EcanCustomGraph:Ii,EcanDatePicker:ci,EcanIframe:ji,EcanImage:Vi,EcanInput:li,EcanLine:Ti,EcanList:oi,EcanMap:Yi,EcanModal:st,EcanPageConfig:Ur,EcanPie:ki,EcanProportion:ri,EcanProviderConfig:Wr,EcanRadar:Mi,EcanRadio:Si,EcanRangePicker:ui,EcanScatter:Ri,EcanScrollText:Jr,EcanSelect:pi,EcanTable:$i,EcanTabs:Hi,EcanText:Qr,EcanTimeDisplay:ti,EcanTreeSelect:bi,barComponentProps:Go,barEvents:Bi,barProps:jo,borderComponentProps:ea,borderEvents:zi,borderProps:Jo,buttonComponentProps:Bo,buttonEvents:hi,buttonProps:To,checkboxComponentProps:Do,checkboxEvents:mi,checkboxProps:_o,comboGraphComponentProps:Ko,comboGraphEvents:Oi,comboGraphProps:Yo,customGraphComponentProps:Zo,customGraphProps:$o,datePickerComponentProps:Ao,datePickerEvents:si,datePickerProps:Co,iframeComponentProps:ia,iframeProps:ra,imageComponentProps:aa,imageEvents:qi,imageProps:oa,inputComponentProps:So,inputEvents:ii,inputProps:wo,lineComponentProps:Vo,lineEvents:Ei,lineProps:qo,listComponentProps:po,listEvents:ni,listProps:yo,mapComponentProps:da,mapEvents:Zi,mapProps:fa,modalComponentProps:Ho,modalEvents:Ai,modalProps:Fo,pageConfig:yn,pageConfigComponentProps:pn,pieComponentProps:Po,pieEvents:Ci,pieProps:zo,proportionComponentProps:bo,proportionEvents:ai,proportionProps:vo,providerConfig:co,providerConfigComponentProps:fo,radarComponentProps:Qo,radarEvents:Ni,radarProps:Xo,radioComponentProps:Mo,radioEvents:wi,radioProps:No,rangePickerComponentProps:Eo,rangePickerEvents:fi,rangePickerProps:ko,scatterComponentProps:Wo,scatterEvents:Di,scatterProps:Uo,selectComponentProps:Io,selectEvents:yi,selectProps:Ro,tableComponentProps:sa,tableEvents:Gi,tableProps:la,tabsComponentProps:na,tabsEvents:Fi,tabsProps:ta,textComponentProps:ho,textEvents:$r,textProps:uo,timeDisplayComponentProps:xo,timeDisplayEvents:ei,timeDisplayProps:mo,treeSelectComponentProps:Lo,treeSelectEvents:vi,treeSelectProps:Oo},Symbol.toStringTag,{value:"Module"})),Gf={install:e=>{Object.keys(Ki).forEach(n=>{const t=Ki[n];t.install&&e.use(t)})}};q.EcanBar=_i,q.EcanBorder=Pi,q.EcanButton=gi,q.EcanCheckbox=xi,q.EcanComboGraph=Li,q.EcanCustomGraph=Ii,q.EcanDatePicker=ci,q.EcanIframe=ji,q.EcanImage=Vi,q.EcanInput=li,q.EcanLine=Ti,q.EcanList=oi,q.EcanMap=Yi,q.EcanModal=st,q.EcanPageConfig=Ur,q.EcanPie=ki,q.EcanProportion=ri,q.EcanProviderConfig=Wr,q.EcanRadar=Mi,q.EcanRadio=Si,q.EcanRangePicker=ui,q.EcanScatter=Ri,q.EcanScrollText=Jr,q.EcanSelect=pi,q.EcanTable=$i,q.EcanTabs=Hi,q.EcanText=Qr,q.EcanTimeDisplay=ti,q.EcanTreeSelect=bi,q.barComponentProps=Go,q.barEvents=Bi,q.barProps=jo,q.borderComponentProps=ea,q.borderEvents=zi,q.borderProps=Jo,q.buttonComponentProps=Bo,q.buttonEvents=hi,q.buttonProps=To,q.checkboxComponentProps=Do,q.checkboxEvents=mi,q.checkboxProps=_o,q.comboGraphComponentProps=Ko,q.comboGraphEvents=Oi,q.comboGraphProps=Yo,q.customGraphComponentProps=Zo,q.customGraphProps=$o,q.datePickerComponentProps=Ao,q.datePickerEvents=si,q.datePickerProps=Co,q.default=Gf,q.iframeComponentProps=ia,q.iframeProps=ra,q.imageComponentProps=aa,q.imageEvents=qi,q.imageProps=oa,q.inputComponentProps=So,q.inputEvents=ii,q.inputProps=wo,q.lineComponentProps=Vo,q.lineEvents=Ei,q.lineProps=qo,q.listComponentProps=po,q.listEvents=ni,q.listProps=yo,q.mapComponentProps=da,q.mapEvents=Zi,q.mapProps=fa,q.modalComponentProps=Ho,q.modalEvents=Ai,q.modalProps=Fo,q.pageConfig=yn,q.pageConfigComponentProps=pn,q.pieComponentProps=Po,q.pieEvents=Ci,q.pieProps=zo,q.proportionComponentProps=bo,q.proportionEvents=ai,q.proportionProps=vo,q.providerConfig=co,q.providerConfigComponentProps=fo,q.radarComponentProps=Qo,q.radarEvents=Ni,q.radarProps=Xo,q.radioComponentProps=Mo,q.radioEvents=wi,q.radioProps=No,q.rangePickerComponentProps=Eo,q.rangePickerEvents=fi,q.rangePickerProps=ko,q.scatterComponentProps=Wo,q.scatterEvents=Di,q.scatterProps=Uo,q.selectComponentProps=Io,q.selectEvents=yi,q.selectProps=Ro,q.tableComponentProps=sa,q.tableEvents=Gi,q.tableProps=la,q.tabsComponentProps=na,q.tabsEvents=Fi,q.tabsProps=ta,q.textComponentProps=ho,q.textEvents=$r,q.textProps=uo,q.timeDisplayComponentProps=xo,q.timeDisplayEvents=ei,q.timeDisplayProps=mo,q.treeSelectComponentProps=Lo,q.treeSelectEvents=vi,q.treeSelectProps=Oo,Object.defineProperties(q,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
117
+ </span>`))):e.format==="percent"?(O=+O,isNaN(O)||(O=(O*100).toFixed(2),b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}%</span>`))):e.format==="money"?(O=+O,isNaN(O)||(O=so(O),b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}</span>`))):V==="thousands"?(O=+O,isNaN(O)||(O=Us(O),b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}</span>`))):b=b.replace(I,`<span style="color:${e.variableColor};font-size:${a.unref(i)}">${O}</span>`)}}if(B||(B=`<span>${b}</span>`),e.unitShow&&e.unitText){const{unitTop:k,unitLeft:I}=e;let D="position:relative;";k&&(D+=`top:${k};`),I&&(D+=`margin-left:${I};`),B+=`<span style='color:${e.unitColor};font-size:${e.unitFontSize};font-weight:${e.unitFontWeight};${D}'>${e.unitText}</span>`}return B}),{pageMode:f}=a.inject(Ie,{pageMode:"normal"}),c=Oe(e),d=a.ref(!1),y=async()=>{var p;try{d.value=!0;const C=await c();r.value=((p=C==null?void 0:C.data)==null?void 0:p.data)||{}}catch(C){console.error(C)}finally{d.value=!1}},h=(p={})=>{r.value=p},u=Ze(e),m=async()=>{var p;try{d.value=!0;const C=await u(),{data:S}=(C==null?void 0:C.data)||{};if(S){t.value=!1;const{columns:b=[],rows:E=[]}=((p=C==null?void 0:C.data)==null?void 0:p.data)??{};let B={};if(b.length>0){const A=b.find(k=>!!k);A&&(B={value:isNaN(E[A])?0:E[A]||0})}h(B)}else t.value=!0,h({value:"NaN"})}catch(C){console.error(C)}finally{d.value=!1}},g=()=>{switch(e.dataType){case"indicator":m();break;case"request":y();break}},{setRequest:w}=a.inject(Be,{setRequest:({id:p,sortNum:C,requestFn:S})=>{}});typeof w=="function"&&w({id:e.id,requestFn:g,sortNum:e.requestSort}),ke(e,{refreshData:g}),n({refreshData:g});const T=pe(e),x=T("click",()=>{if(!e.linkPage&&!e.href)return;const p=e.linkPage||"",C=Wr(a.unref(f),p),S=e.href;let b=S||C;b=Ae(b);const E=e.target;E&&(E!=="event"?window.open(b,"_"+E):window.parent.postMessage({type:"openPage",url:S},"*"))}),v=T("valueChange",()=>{});return a.watch(()=>l.value,(p,C)=>{p!==C&&v()}),{style:o,myText:l,loading:d,click:x,textIndent:s,vFontSize:i}}}),Qr=()=>{a.useCssVars(e=>({"07409925":e.vFontSize,ee1ad30c:e.textIndent,"74fbae5c":e.percentageSide}))},Jr=go.setup;go.setup=Jr?(e,n)=>(Qr(),Jr(e,n)):Qr;const Td="",Js=["innerHTML"];function ec(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return e.loading?(a.openBlock(),a.createElementBlock("div",{key:0,class:"skeleton-wrapper",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},null,8,["loading"])],4)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"ecan-text",style:a.normalizeStyle(e.style),innerHTML:e.myText,onClick:n[0]||(n[0]=(...l)=>e.click&&e.click(...l))},null,12,Js))}const ei=fe(se(go,[["render",ec],["__scopeId","data-v-f2351e9b"]])),tc=a.defineComponent({name:"EcanScrollText",setup(){return{text:a.ref("基础文本")}}}),Bd="",nc={class:"red"};function oc(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",nc,a.toDisplayString(e.text),1)}const ti=fe(se(tc,[["render",oc],["__scopeId","data-v-4dd9c03e"]])),mo={...ge,name:"时间展示",keyName:"时间展示",type:"ecanTimeDisplay",format:"YYYY-MM-DD dddd HH:mm:ss",fontSize:"16px",color:"#333",width:"240px",height:"40px",fontFamily:"",fontWeight:400,textShadow:"",alignItems:"center",justifyContent:"center",operate:null,updateInterval:{value:1,mode:"second"}},xo=de(mo),ni=["timeChange"],ac=a.defineComponent({name:"EcanTimeDisplay",props:{...xo},setup(e){const n=ue(e),t=()=>{const{format:c,operate:d}=e;let y=Se();if(d){const{type:h,value:u,mode:m}=d;switch(h){case"add":y=y.add(u,m);break;case"minus":y=y.subtract(u,m)}}return y.format(c)},o=a.ref();a.watch(()=>[e.operate,e.format],()=>{o.value=t()},{immediate:!0,deep:!0}),a.watch(()=>e.updateInterval,()=>{f()},{deep:!0});let r=null;const i=()=>{clearInterval(r),r=null},l=pe(e)("timeChange",()=>{}),f=()=>{r&&i();let c=1e3;const{value:d,mode:y}=e.updateInterval||{};d&&(c=c*d);const h={second:1,minute:60,hour:60*60,day:24*60*60};y&&(c=c*h[y]),r=setInterval(()=>{o.value=t(),l()},c)};return ke(e,{timeChange:l}),a.onMounted(()=>{f()}),a.onUnmounted(()=>{i()}),{style:n,time:o}}}),Dd="";function rc(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"time-display",style:a.normalizeStyle(e.style)},a.toDisplayString(e.time),5)}const oi=fe(se(ac,[["render",rc],["__scopeId","data-v-b628fca2"]])),yo={...ge,type:"ecanList",name:"列表",keyName:"列表",width:"330px",height:"80px",backgroundColor:"#0d215e",itemColSpan:"10px",itemRowSpan:"10px",useRanking:!0,useTitle:!1,sliceCount:6,columnCount:1,itemHeight:"32px",data:[{name:"a",age:12},{name:"b",age:14}],columns:[{key:"name"},{key:"age"}]},po=de(yo),ai=["refreshData","click"],ic=a.defineComponent({name:"EcanList",components:{Skeleton:jt},props:{...po},setup(e){const n=a.ref(e.data),t=ue(e,["backgroundColor"]),o=a.computed(()=>e.useRanking?{textAlign:"center"}:{textAlign:"left"}),r=(u,m)=>m==null||m===""?u:{money:so,percentage:en,contrast:en}[m](u)||"",i=(u,m)=>{const g=parseFloat(u+"");if(m!=="contrast")return"";switch(!0){case g>=0:return"goUp";case g<0:return"goDown"}},s=Oe(e),l=a.ref(!1),f=async()=>{var u;if(e.dataType==="request")try{l.value=!0;const m=await s();n.value=((u=m==null?void 0:m.data)==null?void 0:u.data.rows)||[]}catch(m){console.error(m)}finally{l.value=!1}},c=()=>{f()},y=pe(e)("click",()=>{});ke(e,{refreshData:c});const{setRequest:h}=a.inject(Be,{setRequest:({id:u,sortNum:m,requestFn:g})=>{}});return h({id:e.id,requestFn:f,sortNum:e.requestSort}),{style:t,formatFn:r,columnStyle:o,contrastClass:i,dataSource:n,loading:l,click:y}}}),Id="",Od="",lc=e=>(a.pushScopeId("data-v-7aa27677"),e=e(),a.popScopeId(),e),sc={key:0,class:"title"},cc={key:0,class:"ranking"},fc={key:1,class:"ecan-list-content"},dc={key:0,class:"ranking"},uc=lc(()=>a.createElementVNode("div",{class:"icon"},null,-1)),hc={class:"sort"},gc={key:2,class:"empty"};function mc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-list",style:a.normalizeStyle(e.style)},[a.createVNode(s,{loading:e.loading},{default:a.withCtx(()=>[e.useTitle?(a.openBlock(),a.createElementBlock("div",sc,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columnCount,l=>(a.openBlock(),a.createElementBlock("div",{class:"title-inner",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1}/ ${e.columnCount})`,marginRight:l%e.columnCount!==0?e.itemColSpan:""}),key:l},[e.useRanking?(a.openBlock(),a.createElementBlock("div",cc)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,(f,c)=>(a.openBlock(),a.createElementBlock("div",{class:"column",key:f.key||c,style:a.normalizeStyle({color:f.titleColor,...e.columnStyle})},a.toDisplayString(f.title),5))),128))],4))),128))])):a.createCommentVNode("",!0),e.dataSource.length>0?(a.openBlock(),a.createElementBlock("div",fc,[e.useTitle?(a.openBlock(),a.createElementBlock("div",{key:0,class:"title-placeholder",style:a.normalizeStyle({marginBottom:e.itemRowSpan})},null,4)):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.dataSource.slice(0,e.sliceCount),(l,f)=>(a.openBlock(),a.createElementBlock("div",{class:"item",style:a.normalizeStyle({backgroundColor:e.backgroundColor,height:e.itemHeight,width:`calc(100% / ${e.columnCount} - ${e.itemColSpan} * ${e.columnCount-1} / ${e.columnCount})`,marginRight:(f+1)%e.columnCount!==0?e.itemColSpan:"",marginBottom:e.itemRowSpan}),key:l.id||f,onClick:n[0]||(n[0]=(...c)=>e.click&&e.click(...c))},[e.useRanking?(a.openBlock(),a.createElementBlock("div",dc,[uc,a.createElementVNode("div",hc," Top "+a.toDisplayString(f+1),1)])):a.createCommentVNode("",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.columns,c=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["column",e.contrastClass(l[c.key],c.format)]),key:c.key,style:a.normalizeStyle({fontSize:c.fontSize,color:e.contrastClass(l[c.key],c.format)===""?c.color:"",fontWeight:c.fontWeight,...e.columnStyle})},a.toDisplayString((c.format!=null||c.format!=="")&&e.formatFn(l[c.key],c.format)),7))),128))],4))),128))])):(a.openBlock(),a.createElementBlock("div",gc," 暂无数据 "))]),_:1},8,["loading"])],4)}const ri=fe(se(ic,[["render",mc],["__scopeId","data-v-7aa27677"]])),vo={...ge,name:"占比图",keyName:"占比图",type:"ecanProportion",strokeType:"circle",width:"200px",height:"200px",strokeColor:"#4091f7",strokeLinecap:"round",trailColor:"#f5f5f5",data:{percent:.3},text:"{percent}%",fontSize:"26px",color:"#4091f7",strokeWidth:6,fontWeight:400,strokeTextWidth:"100%",lineHeight:"26px",decimalFormat:!0,variableDefaultValue:"0",strokeTextShow:!0,gradientShow:!0,gradientColor:"",gradientOffset:1,graphicConfig:{}},bo=de(vo),ii=["refreshData","click"],xc=a.defineComponent({name:"EcanProportion",components:{AProgress:oe.Progress,Skeleton:jt},props:{...bo},setup(e,{expose:n}){const t=a.ref(!1),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),r=ue(e),i=a.computed(()=>{const p=e.width;return parseFloat(p)}),s=a.ref({});a.watch(()=>e.data,()=>{(e.dataType==="static"||a.unref(o)==="design")&&(s.value=e.data)},{immediate:!0,deep:!0});const l=a.computed(()=>{const p=a.unref(s),C=+e.variableDefaultValue;if(p==null)return isNaN(C)?0:C;const S=e.text.match(/\{.+\}/g)||[];let b;const E=new Set(Object.keys(p));for(let B=0;B<S.length;B++){const A=S[B],k=A.slice(1,A.length-1);if(E.has(k)){b=p[k];break}}return typeof b=="number"?b=b*100:typeof b=="string"&&!isNaN(+b)?b=+b*100:isNaN(C)?b=0:b=C*100,e.decimalFormat&&(b=+b.toFixed(2)),b}),f=a.computed(()=>{var E;let p=e.text;if(p==="")return a.unref(l);const C=e.variableDefaultValue,S=a.unref(s),b=p.match(/\{.+\}/g)||[];for(let B=0;B<b.length;B++){const A=b[B];let k=A.slice(1,A.length-1);const I=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,D=A.match(I);for(let H=0;H<(D==null?void 0:D.length);H++){const O=(E=D[H])==null?void 0:E.trim();S[O]!=null&&(k=k.replace(O,S[O]))}let P=k;try{/\(.*\)/g.test(k)&&(P=tn(k))}catch(H){console.error(H)}typeof+P=="number"&&!isNaN(+P)?(P=+P*100,e.decimalFormat&&(P=P.toFixed(2))):P=C,p=p.replace(A,P+"")}return a.unref(t)?"NaN":p}),c=Oe(e),d=a.ref(!1),y=async()=>{var p;if(e.dataType==="request")try{d.value=!0;const C=await c();s.value=((p=C==null?void 0:C.data)==null?void 0:p.data)||{}}catch(C){console.error(C)}finally{d.value=!1}},h=(p={})=>{s.value=p},u=Ze(e),m=async()=>{var p;try{d.value=!0;const C=await u(),{data:S}=(C==null?void 0:C.data)||{};if(S){t.value=!1;const{columns:b=[],rows:E=[]}=((p=C==null?void 0:C.data)==null?void 0:p.data)??{};let B={};if(b.length>0){const A=b.find(k=>!!k);A&&(B={percent:E[A]})}h(B)}else t.value=!0,h({percent:"NaN"})}catch(C){console.error(C)}finally{d.value=!1}},g=()=>{switch(e.dataType){case"indicator":m();break;case"request":y();break}};ke(e,{refreshData:g}),n({refreshData:g});const T=pe(e)("click",()=>{}),{setRequest:x}=a.inject(Be,{setRequest:({id:p,sortNum:C,requestFn:S})=>{}});typeof x=="function"&&x({id:e.id,requestFn:g,sortNum:e.requestSort});const v=a.computed(()=>{const{gradientShow:p,gradientColor:C,gradientOffset:S,strokeColor:b}=e;let E=b;return p&&C&&(E={"0%":b,[`${S*100}%`]:C}),E});return{style:r,myWidth:i,text:f,myValue:l,loading:d,click:T,customStrokeColor:v}}}),Nd="";function yc(e,n,t,o,r,i){const s=a.resolveComponent("skeleton"),l=a.resolveComponent("a-progress");return a.openBlock(),a.createElementBlock("div",{class:"ecan-proportion",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"progress",percent:e.myValue,width:e.myWidth,type:e.strokeType,strokeColor:e.customStrokeColor,strokeLinecap:e.strokeLinecap,trailColor:e.trailColor,strokeWidth:e.strokeWidth,showInfo:e.strokeTextShow,gapDegree:e.strokeType==="dashboard"?75:0,onClick:e.click},{format:a.withCtx(()=>[e.loading?(a.openBlock(),a.createBlock(s,{key:0,loading:e.loading},null,8,["loading"])):e.strokeTextShow?(a.openBlock(),a.createElementBlock("div",{key:1,class:"format",style:a.normalizeStyle({width:e.strokeTextWidth,fontSize:e.fontSize,color:e.color,fontWeight:e.fontWeight,lineHeight:e.lineHeight})},a.toDisplayString(e.text),5)):a.createCommentVNode("",!0)]),_:1},8,["percent","width","type","strokeColor","strokeLinecap","trailColor","strokeWidth","showInfo","gapDegree","onClick"])],4)}const li=fe(se(xc,[["render",yc],["__scopeId","data-v-cf942b5f"]])),So={...ge,width:"200px",id:"",left:"0px",top:"0px",name:"输入框",keyName:"输入框",rotate:"",type:"ecanInput",value:"",placeholder:"请输入文字",optionFontSize:"14px"},wo=de(So),si=["inputChange","inputBlur"],pc=a.defineComponent({name:"EcanInput",components:{AInput:oe.Input},props:{...wo},setup(e){const n=ue(e),t=a.ref("");a.watch(()=>e.value,c=>{t.value=c},{immediate:!0});const{getGlobalModel:o,setGlobalModel:r}=a.inject(we,{getGlobalModel:c=>{},setGlobalModel:(c,d)=>{}});r(e.id,{type:e.type,value:t});const i=()=>{const c=o(e.id);r(e.id,{...c,RECORD:t})},s=pe(e),l=Ye.debounce(s("inputChange",()=>{i()}),300),f=s("inputBlur",()=>{});return{style:n,myValue:t,inputBlur:f,inputChange:l}}}),Md="";function vc(e,n,t,o,r,i){const s=a.resolveComponent("a-input");return a.openBlock(),a.createElementBlock("div",{class:"ecan-input",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"input",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),placeholder:e.placeholder,onChange:e.inputChange,onBlur:e.inputBlur,style:a.normalizeStyle({fontSize:e.optionFontSize})},null,8,["value","placeholder","onChange","onBlur","style"])],4)}const ci=fe(se(pc,[["render",vc]])),Co={...ge,height:"33px",width:"130px",id:"",left:"0px",top:"0px",name:"日期选择器",keyName:"日期选择器",rotate:"",type:"ecanDatePicker",value:"",picker:"date",format:"YYYY-MM-DD",showTime:!1,useCurrentTime:!0,operate:null,optionFontSize:"14px"},Ao=de(Co),fi=["dateChange"],ko=a.defineComponent({name:"EcanDatePicker",props:{...Ao},components:{ADatePicker:oe.DatePicker},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref(null);a.watch(()=>[e.value,e.useCurrentTime,e.operate],([f,c,d])=>{let y=null;if(f?y=Se(Ae(f)):c&&(y=Se()),d&&y){const{type:h,value:u,mode:m}=d;switch(h){case"add":y=y.add(u,m);break;case"minus":y=y.subtract(u,m)}}o.value=y},{deep:!0,immediate:!0});const{setGlobalModel:r}=a.inject(we,{setGlobalModel:(f,c)=>{}});r(e.id,{type:e.type,format:e.format,useCurrentTime:e.useCurrentTime,value:o});const s=pe(e)("dateChange",()=>{}),l=()=>{a.unref(o)&&s()};return ke(e,{dateChange:s}),{style:n,getPopupContainer:t,myValue:o,locale:ma,change:l}}}),di=()=>{a.useCssVars(e=>({"06dd450d":e.optionFontSize}))},ui=ko.setup;ko.setup=ui?(e,n)=>(di(),ui(e,n)):di;const Fd="",Hd="";function bc(e,n,t,o,r,i){const s=a.resolveComponent("a-date-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-date-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"date-picker",dropdownClassName:"ecan-date-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,showTime:e.showTime,locale:e.locale,onChange:e.change,getPopupContainer:e.getPopupContainer,popupStyle:{fontSize:e.optionFontSize}},null,8,["value","format","picker","showTime","locale","onChange","getPopupContainer","popupStyle"])],4)}const hi=fe(se(ko,[["render",bc],["__scopeId","data-v-ab96330d"]])),To={...ge,name:"日期范围选择器",keyName:"日期范围选择器",type:"ecanRangePicker",width:"250px",height:"35px",picker:"date",format:"YYYY-MM-DD",startTime:"",endTime:"",useCurrentTime:!0,interval:1,intervalUnit:"year",operate:null,limitStartTime:"",limitEndTime:"",associated:"",optionFontSize:"14px"},Eo=de(To),gi=["dateChange"];var mi={exports:{}};(function(e,n){(function(t,o){e.exports=o()})(te,function(){var t="month",o="quarter";return function(r,i){var s=i.prototype;s.quarter=function(c){return this.$utils().u(c)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(c-1))};var l=s.add;s.add=function(c,d){return c=Number(c),this.$utils().p(d)===o?this.add(3*c,t):l.bind(this)(c,d)};var f=s.startOf;s.startOf=function(c,d){var y=this.$utils(),h=!!y.u(d)||d;if(y.p(c)===o){var u=this.quarter()-1;return h?this.month(3*u).startOf(t).startOf("day"):this.month(3*u+2).endOf(t).endOf("day")}return f.bind(this)(c,d)}}})})(mi);var Sc=mi.exports;const wc=ja(Sc);Se.extend(wc);const Bo=a.defineComponent({name:"EcanRangePicker",components:{ARangePicker:oe.RangePicker},props:{...Eo},setup(e){const n=ue(e),t=()=>document.getElementById("ProviderConfig")||document.body,o=a.ref([null,null]);a.watch(()=>[e.startTime,e.endTime,e.useCurrentTime,e.interval,e.intervalUnit,e.operate],([x,v,p,C,S,b])=>{let E=null,B=null;if(p&&(E=Se().subtract(C,S),B=Se()),x&&(E=Se(Ae(x))),v&&(B=Se(Ae(v))),b){const{type:A,value:k,mode:I}=b;switch(A){case"add":E=E&&E.add(k,I),B=B&&B.add(k,I);break;case"minus":E=E&&E.subtract(k,I),B=B&&B.subtract(k,I)}}o.value=[E,B]},{immediate:!0});let r=a.unref(o)[0],i=a.unref(o)[1];const s=x=>{Array.isArray(x)?(r=x[0],i=x[1]):(r=null,i=null)},l=x=>{let v=!1,{limitStartTime:p,limitEndTime:C}=e;const S={startTime:`${r||""}`,endTime:`${i||""}`};return p=Ae(p,{codeData:S}),C=Ae(C,{codeData:S}),p&&C?v=!(Se(p)<x&&x<Se(C)):p?v=Se(p)>x:C&&(v=Se(C)<x),v},{getGlobalModel:f,setGlobalModel:c}=a.inject(we,{getGlobalModel:x=>{},setGlobalModel:(x,v)=>{}}),d=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[0]:null),y=a.computed(()=>Array.isArray(a.unref(o))?a.unref(o)[1]:null);c(e.id,{type:e.type,format:e.format,startTime:d,endTime:y});const h=pe(e);let u=!1;const m=h("dateChange",()=>{}),g=x=>{const v=a.unref(o),p=v&&v[0]&&v[1];x===!1&&u===!0&&p&&(m(),u=!1)},w=()=>{u=!0};return ke(e,{dateChange:()=>{const{associated:x}=e;if(x){const v=f(x)||{};if(v){const{value:p}=v;if(p)switch(a.unref(p)){case"month":o.value=[Se().startOf("month"),Se().endOf("month")];break;case"quarter":o.value=[Se().startOf("quarter"),Se().endOf("quarter")];break;case"year":o.value=[Se().startOf("year"),Se().endOf("year")];break}}}m()}}),{style:n,getPopupContainer:t,locale:ma,dateChange:m,myValue:o,disabledDate:l,calendarChange:s,openChange:g,change:w}}}),xi=()=>{a.useCssVars(e=>({"2b09fb7f":e.optionFontSize}))},yi=Bo.setup;Bo.setup=yi?(e,n)=>(xi(),yi(e,n)):xi;const Vd="",jd="";function Cc(e,n,t,o,r,i){const s=a.resolveComponent("a-range-picker");return a.openBlock(),a.createElementBlock("div",{class:"ecan-range-picker",style:a.normalizeStyle(e.style)},[a.createVNode(s,{class:"range-picker",dropdownClassName:"ecan-range-picker-dropdown",value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),format:e.format,picker:e.picker,locale:e.locale,getPopupContainer:e.getPopupContainer,"disabled-date":e.disabledDate,onChange:e.change,onCalendarChange:e.calendarChange,onOpenChange:e.openChange,popupStyle:{fontSize:e.optionFontSize}},null,8,["value","format","picker","locale","getPopupContainer","disabled-date","onChange","onCalendarChange","onOpenChange","popupStyle"])],4)}const pi=fe(se(Bo,[["render",Cc],["__scopeId","data-v-4307d4e3"]])),_o={...ge,width:"200px",name:"按钮",keyName:"按钮",type:"ecanButton",text:"按钮",mode:"default",danger:!1,shape:"default",href:"",target:"self",fontSize:"14px",fontWeight:400},Do=de(_o),vi=["click"],Ac=a.defineComponent({name:"EcanButton",components:{AButton:oe.Button},props:{...Do},setup(e){const n=ue(e),o=pe(e)("click",()=>{const f=a.unref(s);f&&e.target==="event"&&window.parent.postMessage({type:"openPage",url:f},"*")}),r=a.computed(()=>({height:e.height})),i=a.computed(()=>Ae(e.text)),s=a.computed(()=>Ae(e.href)||null),l=a.computed(()=>{const f=e.target;if(!(f==="event"||a.unref(s)==null))return{self:"_self",blank:"_blank"}[f]});return{style:n,click:o,myText:i,myHref:s,myTarget:l,buttonStyle:r}}}),Ud="";function kc(e,n,t,o,r,i){const s=a.resolveComponent("a-button");return a.openBlock(),a.createElementBlock("div",{class:"ecan-button",style:a.normalizeStyle(e.style)},[a.createVNode(s,{block:"",onClick:e.click,type:e.mode,danger:e.danger,shape:e.shape,href:e.myHref,target:e.myTarget,style:a.normalizeStyle(e.buttonStyle)},{default:a.withCtx(()=>[a.createElementVNode("span",{style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(e.myText),5)]),_:1},8,["onClick","type","danger","shape","href","target","style"])],4)}const bi=fe(se(Ac,[["render",kc]])),Ro={...ge,width:"240px",id:"",left:"0px",top:"0px",name:"复选框",keyName:"复选框",rotate:"",type:"ecanCheckbox",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2",checked:!0},{label:"选项三",value:"3"}],graphicConfig:{}},Io=de(Ro),Si=["checkboxChange"],Tc=a.defineComponent({name:"EcanCheckbox",components:{ACheckboxGroup:oe.CheckboxGroup},props:{...Io},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref([]),i=w=>{const T=e.value;let x=[];w.forEach(v=>{v.checked&&x.push(v.value)}),typeof T=="string"&&T!==""?x=x.concat(T.split(",")):Array.isArray(T)&&(x=x.concat(T)),o.value=w,r.value=x};a.watch(()=>[e.data,e.value],([w])=>{i(w)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var x,v;if(e.dataType!=="request")return;const w=await s(),T=((v=(x=w==null?void 0:w.data)==null?void 0:x.data)==null?void 0:v.rows)||[];i(T)},{getGlobalModel:f,setGlobalModel:c}=a.inject(we,{getGlobalModel:w=>{},setGlobalModel:(w,T)=>{}});c(e.id,{type:e.type,value:r});const y=pe(e)("checkboxChange",()=>{const w=f(e.id);c(e.id,{...w,RECORD:r})}),h=Ze(e),u=async()=>{var w;try{const T=await h(),{data:x}=(T==null?void 0:T.data)||{};if(x){const p=(((w=T==null?void 0:T.data)==null?void 0:w.data)??[]).map(C=>({label:C.label,value:C.value}));i(p)}else i([])}catch(T){console.error(T)}},m=()=>{switch(e.dataType){case"indicator":u();break;case"request":l();break}},{setRequest:g}=a.inject(Be,{setRequest:({id:w,sortNum:T,requestFn:x})=>{}});return typeof g=="function"&&g({id:e.id,requestFn:m,sortNum:e.requestSort}),n({refreshData:m}),{myOption:o,style:t,myValue:r,checkboxChange:y}}}),$d="";function Ec(e,n,t,o,r,i){const s=a.resolveComponent("a-checkbox-group");return a.openBlock(),a.createElementBlock("div",{class:"ecan-checkbox",style:a.normalizeStyle(e.style)},[a.createVNode(s,{options:e.myOption,value:e.myValue,"onUpdate:value":n[0]||(n[0]=l=>e.myValue=l),onChange:e.checkboxChange},null,8,["options","value","onChange"])],4)}const wi=fe(se(Tc,[["render",Ec]])),Oo={...ge,name:"下拉框选择器",keyName:"下拉框选择器",width:"120px",height:"33px",type:"ecanSelect",mode:void 0,data:[{label:"选项一",value:"1"},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:void 0,dataFieldNames:{label:"label",value:"value",options:""},maxTagCount:3,autoClearSearchValue:!0,placeholder:"请选择",selectFirstOption:!1,graphicConfig:{},valueType:"value",isAllowClear:!0,optionFontSize:"14px"},Lo=de(Oo),Ci=["selectChange","refreshData"],Bc=a.defineComponent({name:"EcanSelect",components:{ASelect:oe.Select,ASelectOption:oe.SelectOption},props:{...Lo},setup(e,{expose:n}){const t=ue(e),o=()=>document.getElementById("ProviderConfig")||document.body,r=Oe(e),i=a.ref(e.data||[]),s=a.ref(),l=a.computed({get:()=>{var E;const{mode:b}=e;return(E=a.unref(i))!=null&&E.length?s.value:b==="multiple"||b==="tags"||b==="combobox"?[]:""},set:b=>{s.value=b}});a.watch(()=>[e.value,e.mode,e.selectFirstOption,e.valueType,i.value],()=>{const{mode:b,selectFirstOption:E,value:B}=e;b==="multiple"||b==="tags"||b==="combobox"?B?s.value=B.split(","):E&&(s.value=[a.unref(i)[0]]):B?s.value=B:E&&(s.value=a.unref(i)[0])},{immediate:!0});const f=e.dataFieldNames,c=(b,E)=>{const B=f.label,A=f.value;let k;const I=E[B],D=E[A];return I!=null?k=I:D!=null&&(k=D),(k==null?void 0:k.toLowerCase().indexOf(b==null?void 0:b.toLowerCase()))>=0},d=b=>{const{label:E,value:B,options:A}=e.dataFieldNames;if(A&&Array.isArray(b))if(b.some(k=>A in k)){const k={},I=[];b.forEach(D=>{k[D[A]]||(k[D[A]]=[]),k[D[A]].push({[E]:D[E],[B]:D[B]})});for(const D in k)I.push({[E]:D,[A]:k[D]});return I}else return b;else if(!A)return b},y=a.ref(!1),h=async()=>{var b,E;if(e.dataType==="request"){y.value=!0;try{const B=await r();if(i.value=d(((E=(b=B==null?void 0:B.data)==null?void 0:b.data)==null?void 0:E.rows)||[]),e.selectFirstOption){let A=a.unref(i)[0];if(f.options){const k=A[f.options];k&&k.length&&(A=k[0])}s.value=A[f.value]}}catch(B){console.error(B)}finally{y.value=!1}}},{getGlobalModel:u,setGlobalModel:m}=a.inject(we,{getGlobalModel:b=>{},setGlobalModel:(b,E)=>{}}),g=a.computed(()=>{let b=s.value;if(e.valueType==="label"&&a.unref(s)&&a.unref(i)){const E=f.label,B=f.value;if(e.mode==="multiple")b=a.unref(i).filter(A=>a.unref(s).includes(A[B])).map(A=>A[E]);else{const A=a.unref(i).find(k=>a.unref(s)===k[B]);A&&(b=A[E])}}return b});m(e.id,{type:e.type,value:g});const T=pe(e)("selectChange",()=>{const b=e.id,E=u(b);m(b,{...E,RECORD:g})}),x=(b=[])=>{if(i.value=d(b),e.selectFirstOption){let E=a.unref(i)[0];if(f.options){const B=E[f.options];B&&B.length&&(E=B[0])}s.value=E[f.value]}},v=Ze(e),p=async()=>{var b;try{y.value=!0;const E=await v(),{data:B}=(E==null?void 0:E.data)||{},A=f.label,k=f.value;if(B){const D=(((b=E==null?void 0:E.data)==null?void 0:b.data)??[]).map(P=>({[A]:P.label,[k]:P.value}));x(D)}else x([])}catch(E){console.error(E)}finally{y.value=!1}},C=()=>{switch(e.dataType){case"indicator":p();break;case"request":h();break}};ke(e,{selectChange:T,refreshData:C});const{setRequest:S}=a.inject(Be,{setRequest:({id:b,sortNum:E,requestFn:B})=>{}});return typeof S=="function"&&S({id:e.id,requestFn:C,sortNum:e.requestSort}),n({refreshData:C}),{style:t,getPopupContainer:o,myValue:s,selectChange:T,options:i,filterOption:c,loading:y,resultValue:l}}}),Yd="",Kd="";function _c(e,n,t,o,r,i){const s=a.resolveComponent("a-select-option"),l=a.resolveComponent("a-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-select",style:a.normalizeStyle(e.style)},[a.createVNode(l,{class:"select",value:e.resultValue,"onUpdate:value":n[0]||(n[0]=f=>e.resultValue=f),placeholder:e.placeholder,showSearch:"",allowClear:e.isAllowClear,mode:e.mode,getPopupContainer:e.getPopupContainer,fieldNames:e.dataFieldNames,maxTagCount:e.maxTagCount,filterOption:e.filterOption,loading:e.loading,autoClearSearchValue:e.autoClearSearchValue,onChange:e.selectChange,style:a.normalizeStyle({fontSize:e.optionFontSize})},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.options,(f,c)=>(a.openBlock(),a.createBlock(s,{key:c,value:f.value,style:a.normalizeStyle({fontSize:e.optionFontSize})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(f.label),1)]),_:2},1032,["value","style"]))),128))]),_:1},8,["value","placeholder","allowClear","mode","getPopupContainer","fieldNames","maxTagCount","filterOption","loading","autoClearSearchValue","onChange","style"])],4)}const Ai=fe(se(Bc,[["render",_c],["__scopeId","data-v-8a8ab001"]])),No={...ge,name:"树形下拉框选择器",keyName:"树形下拉框选择器",width:"120px",height:"33px",type:"ecanTreeSelect",multiple:!1,data:[{label:"选项一",value:"1",children:[{label:"子选项一",value:"1-1"},{label:"子选项二",value:"1-2"}]},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],value:"",dataFieldNames:{label:"label",value:"value",children:"children"},maxTagCount:3,placeholder:"请选择",treeCheckable:!1,treeCheckStrictly:!1,selectFirstOption:!1},zo=de(No),ki=["selectChange","refreshData"],Dc={name:"EcanTreeSelect",components:{ATreeSelect:oe.TreeSelect},props:{...zo},setup(e){const n=ue(e),t=a.ref(e.data),o=(u,m)=>{const g=e.dataFieldNames,w=g.label,T=g.value;let x;const v=m[w],p=m[T];return v!=null?x=v:p!=null&&(x=p),(x==null?void 0:x.toLowerCase().indexOf(u==null?void 0:u.toLowerCase()))>=0},r=a.ref();a.watch(()=>[e.multiple,e.value,e.treeCheckable,e.selectFirstOption],()=>{const{multiple:u,value:m,selectFirstOption:g}=e;u?m?r.value=m.split(","):g&&(r.value=[a.unref(t)[0]]):m?r.value=m:g&&(r.value=a.unref(t)[0])},{immediate:!0});const i=a.ref(!1),s=Oe(e),l=async()=>{var u,m;if(e.dataType==="request"){i.value=!0;try{const g=await s();t.value=((m=(u=g==null?void 0:g.data)==null?void 0:u.data)==null?void 0:m.rows)||[];const w=a.unref(t)[0];e.value===""&&w!=null&&(r.value=w[e.dataFieldNames.value])}catch(g){console.error(g)}finally{i.value=!1}}},{getGlobalModel:f,setGlobalModel:c}=a.inject(we,{getGlobalModel:u=>{},setGlobalModel:(u,m)=>{}});c(e.id,{type:e.type,value:r});const y=pe(e)("selectChange",()=>{const u=e.id,m=f(u);c(u,{...m,RECORD:r})});ke(e,{selectChange:y,refreshData:l});const{setRequest:h}=a.inject(Be,{setRequest:({id:u,sortNum:m,requestFn:g})=>{}});return h({id:e.id,requestFn:l,sortNum:e.reque}),{style:n,treeData:t,filterTreeNode:o,myValue:r,loading:i,selectChange:y}}},Qd="",Jd="";function Rc(e,n,t,o,r,i){const s=a.resolveComponent("a-tree-select");return a.openBlock(),a.createElementBlock("div",{class:"ecan-tree-select",style:a.normalizeStyle(o.style)},[a.createVNode(s,{class:"tree-select",value:o.myValue,"onUpdate:value":n[0]||(n[0]=l=>o.myValue=l),allowClear:"",showSearch:"",loading:o.loading,fieldNames:e.dataFieldNames,treeData:o.treeData,maxTagCount:e.maxTagCount,multiple:e.multiple,treeCheckable:e.treeCheckable,filterTreeNode:o.filterTreeNode,placeholder:e.placeholder,onChange:o.selectChange},null,8,["value","loading","fieldNames","treeData","maxTagCount","multiple","treeCheckable","filterTreeNode","placeholder","onChange"])],4)}const Ti=fe(se(Dc,[["render",Rc],["__scopeId","data-v-37236421"]])),Mo={...ge,width:"260px",height:"32px",id:"",left:"0px",top:"0px",name:"单选框",keyName:"单选框",rotate:"",type:"ecanRadio",value:[],data:[{label:"选项一",value:"1",checked:!0},{label:"选项二",value:"2"},{label:"选项三",value:"3"}],optionType:"default",graphicConfig:{}},Po=de(Mo),Ei=["checkboxChange","click"],Ic=a.defineComponent({name:"EcanRadio",components:{ARadioGroup:oe.RadioGroup,ARadioButton:oe.RadioButton,ARadio:oe.Radio},props:{...Po},setup(e,{expose:n}){const t=ue(e),o=a.ref([]),r=a.ref(""),i=T=>{const x=e.value;let v=[];T.forEach(p=>{p.checked&&v.push(p.value)}),typeof x=="string"&&x!==""?v=v.concat(x.split(",")):Array.isArray(x)&&(v=v.concat(x)),o.value=T,r.value=v[0]||""};a.watch(()=>[e.data,e.value],([T])=>{i(T)},{immediate:!0,deep:!0});const s=Oe(e),l=async()=>{var v,p;if(e.dataType!=="request")return;const T=await s(),x=((p=(v=T==null?void 0:T.data)==null?void 0:v.data)==null?void 0:p.rows)||[];i(x)},{getGlobalModel:f,setGlobalModel:c}=a.inject(we,{getGlobalModel:T=>{},setGlobalModel:(T,x)=>{}});c(e.id,{type:e.type,value:r});const d=pe(e),y=d("checkboxChange",()=>{const T=f(e.id);c(e.id,{...T,RECORD:r})}),h=T=>{r.value=T,d("click",()=>{const x=f(e.id);c(e.id,{...x,RECORD:r})})()};a.watch(r,()=>{y()});const u=Ze(e),m=async()=>{var T;try{const x=await u(),{data:v}=(x==null?void 0:x.data)||{};if(v){const C=(((T=x==null?void 0:x.data)==null?void 0:T.data)??[]).map(S=>({label:S.label,value:S.value}));i(C)}else i([])}catch(x){console.error(x)}},g=()=>{switch(e.dataType){case"indicator":m();break;case"request":l();break}},{setRequest:w}=a.inject(Be,{setRequest:({id:T,sortNum:x,requestFn:v})=>{}});return typeof w=="function"&&w({id:e.id,requestFn:g,sortNum:e.requestSort}),n({refreshData:g}),{myOption:o,style:t,myValue:r,onClickButton:h}}}),t1="";function Oc(e,n,t,o,r,i){const s=a.resolveComponent("a-radio"),l=a.resolveComponent("a-radio-button"),f=a.resolveComponent("a-radio-group");return a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["ecan-radio",e.optionType]),style:a.normalizeStyle(e.style)},[a.createVNode(f,{value:e.myValue,"onUpdate:value":n[0]||(n[0]=c=>e.myValue=c)},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myOption,c=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:c.value},[e.optionType==="default"?(a.openBlock(),a.createBlock(s,{key:0,checked:c.checked,value:c.value},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value"])):e.optionType==="button"?(a.openBlock(),a.createBlock(l,{key:1,checked:c.checked,value:c.value,onClick:d=>e.onClickButton(c.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.label),1)]),_:2},1032,["checked","value","onClick"])):a.createCommentVNode("",!0)],64))),128))]),_:1},8,["value"])],6)}const Bi=fe(se(Ic,[["render",Oc]])),Fo={...ge,id:"",name:"饼图",keyName:"饼图",type:"ecanPie",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:335},{name:"名称二",value:310},{name:"名称三",value:234}],titleText:"",titleSubtext:"",titleLeft:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],backgroundColor:"",tooltipShow:!0,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c} ({d}%)",legendShow:!0,legendTextStyleColor:"#333",legendOrient:"vertical",legendTop:"top",legendLeft:"left",innerRadius:"0%",outerRadius:"60%",centerLeft:"50%",centerTop:"50%",minAngle:0,labelShow:!0,labelColor:"#333",labelWidth:100,labelOverflow:"none",isUseLabelColors:!1,labelFontSize:12,labelPosition:"outside",labelFormatter:"{b}\\n{d}%",labelLineShow:!0,labelLineLength:10,labelLineLength2:15,roseType:"",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},dataFieldConfigType:"value",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendFormatter:"{name}",legendFontSize:"12px"},Ho=de(Fo),_i=["click","refreshData","resetRecord"],Dt=async e=>{var f;const n=await Ke.post(e,{},{responseType:"blob"}),{data:t,headers:o}=n,r=o["content-disposition"].replace(/\w+;filename=(.*)/,"$1"),i=new Blob([t]),s=document.createElement("a"),l=window.URL.createObjectURL(i);s.href=l,s.download=decodeURI(r),s.style.display="none",document.body.appendChild(s),s.click(),(f=s.parentNode)==null||f.removeChild(s),window.URL.revokeObjectURL(l)},qo={id:"",type:"ecanModal",title:"",titleFontSize:"14px",titleColor:"",width:"1000px",height:"800px",originalWidth:"1920px",originalHeight:"1080px",backgroundColor:"#fff",backgroundImage:"",backgroundSize:"100% 100%",keyName:"弹窗",componentList:[],fullModal:!1,destroyOnClose:!0,position:"default"},Vo=de(qo),Di=["showModal"],Lc=a.defineComponent({name:"EcanModal",components:{AModal:oe.Modal,CloseOutlined:El},props:{...Vo},setup(e,{emit:n}){const t=()=>document.getElementById("ProviderConfig")||document.body,o=a.computed(()=>{const L=e.position;return{verticalAlign:{default:"",top:"top",center:"middle",bottom:"bottom"}[L]}}),r=e.fullModal?"1920px":e.width,i=e.fullModal?"1080px":e.height,s=e.originalWidth,l=e.originalHeight,f=a.ref("80%"),c=a.ref(0),d=a.ref(),y=a.ref(0),h=a.ref({}),u=ue(e),m=a.ref({}),g=a.ref(!1),w=a.ref();let T;const x=()=>{d.value=parseFloat(r)/parseFloat(s);const L=parseFloat(i)/parseFloat(l),M=document.body.offsetWidth,R=document.body.offsetHeight;c.value=M*a.unref(d),y.value=R*L,f.value=`${a.unref(d)*100}%`,h.value={width:`${a.unref(c)}px`,height:`${a.unref(y)}px`},m.value={...a.unref(u),backgroundImage:gt(e.backgroundImage,!0),transform:`scale(${a.unref(c)/parseFloat(r)},${a.unref(y)/parseFloat(i)})`,width:r,height:i}},v=Ye.debounce(()=>{x()},100),p=()=>{const L=window.MutationObserver;T=new L(v),T.observe(document.body,{attributes:!0,attributeFilter:["style"],attributeOldValue:!0})},C=()=>{T&&(T.disconnect(),T.takeRecords(),T=null)},S=a.ref(!1),{touchRequest:b}=a.inject(Be,{touchRequest:()=>{}}),E=()=>{S.value=!0},B=()=>{n("close"),S.value=!1},A=()=>{B()},k=()=>{B()},{setModalModel:I,pushUseModalIds:D,popUseModalIds:P}=a.inject(Fa,{pushUseModalIds:L=>{},popUseModalIds:()=>{},setModalModel:(L,M)=>{}}),H=()=>{const L=e.id;let M=[];const R=e.componentList;Array.isArray(R)&&(M=R.map(N=>N.id),I(L,[...new Set(M)]))};a.watch(()=>S.value,async L=>{L?(g.value=!1,D(e.id),H(),await a.nextTick(()=>{x(),window.addEventListener("resize",v),p(),g.value=!0}),b()):(P(),window.removeEventListener("resize",v),C())});const O=a.computed(()=>a.unref(d)>=1),V=a.computed(()=>e.fullModal),_=a.computed(()=>{let L="ecan-modal";return a.unref(O)&&(L+=" ecan-full-width-modal"),a.unref(V)&&(L+=" ecan-full-modal"),L});return ke(e,{showModal:E}),{modalRef:w,containStyle:h,contentStyle:m,getContainer:t,modalStyle:o,modalWith:f,isFullModal:V,style:u,visible:S,showModal:E,onOk:A,onCancel:k,isFullWidth:O,wrapClassName:_,ready:g}}}),o1="",a1="",Nc={key:0};function zc(e,n,t,o,r,i){const s=a.resolveComponent("close-outlined"),l=a.resolveComponent("a-modal");return a.openBlock(),a.createBlock(l,{getContainer:e.getContainer,wrapClassName:e.wrapClassName,centered:"",visible:e.visible,footer:null,width:e.isFullModal||e.isFullWidth?"100%":e.modalWith,destroyOnClose:e.destroyOnClose,style:a.normalizeStyle(e.modalStyle),closable:!1,onOk:e.onOk,onCancel:e.onCancel,ref:"modalRef"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:"contain",ref:"containRef",style:a.normalizeStyle(e.containStyle)},[e.ready?(a.openBlock(),a.createElementBlock("div",{key:0,class:"content",style:a.normalizeStyle(e.contentStyle)},[a.createElementVNode("div",{class:"header-bar",style:a.normalizeStyle({backgroundColor:e.backgroundColor,padding:"20px 30px"})},[e.title?(a.openBlock(),a.createElementBlock("div",{key:0,class:"ant-modal-title",style:a.normalizeStyle({fontSize:e.titleFontSize,color:e.titleColor})},a.toDisplayString(e.title),5)):a.createCommentVNode("",!0),a.createVNode(s,{class:"close-icon",onClick:e.onCancel},null,8,["onClick"])],4),e.componentList.length?(a.openBlock(),a.createElementBlock("div",Nc,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.componentList,(f,c)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(f.type),a.mergeProps({key:f.id+c},f),null,16))),128))])):a.renderSlot(e.$slots,"default",{key:1},void 0,!0)],4)):a.createCommentVNode("",!0)],4)]),_:3},8,["getContainer","wrapClassName","visible","width","destroyOnClose","style","onOk","onCancel"])}const st=fe(se(Lc,[["render",zc],["__scopeId","data-v-4234f235"]]));Pe.use([dt.CanvasRenderer,Xe.PieChart,he.TitleComponent,he.ToolboxComponent,he.TooltipComponent,he.LegendComponent]);const Mc=a.defineComponent({name:"EcanPie",props:{...Ho},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e,{expose:n}){const t=a.ref(!1),o=ue(e),r=a.ref([]),i=a.ref(),s=a.ref({}),l=a.computed(()=>{let{data:B=[]}=a.unref(r)[0]||{};if(Array.isArray(e.colors)){const A=e.isUseLabelColors,k=e.colors;B=B.map((I,D)=>({label:A?{color:k[D]}:{},...I}))}return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:t.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var A;t.value=!0,(A=i.value)==null||A.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){oe.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter:A=>{const{marker:k,seriesName:I,name:D,value:P,percent:H,data:O}=A||{};return Ae(e.tooltipFormatter,{textData:{marker:k,name:D,value:P,percent:H,a:I,b:D,c:P,d:H,...O}},{useNewline:!0,useSpace:!0})},textStyle:{color:e.tooltipTextStyleColor}},legend:a.unref(s),color:e.colors,series:[{data:B,type:"pie",radius:[e.innerRadius,e.outerRadius],center:[e.centerLeft,e.centerTop],roseType:e.roseType,avoidLabelOverlap:!1,minAngle:e.minAngle,label:{show:e.labelPosition!=="center"&&e.labelShow,color:e.labelColor,fontSize:t.value?We:e.labelFontSize,position:e.labelPosition,formatter:Gs(e.labelFormatter),width:e.labelWidth,overflow:e.labelOverflow},labelLine:{show:e.labelLineShow,length:e.labelLineLength,length2:e.labelLineLength2},emphasis:{itemStyle:{shadowBlur:10,shadowOffsetX:0,shadowColor:"rgba(0, 0, 0, 0.5)"},label:{}}}]}}),f=()=>{s.value={show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,align:"left",textStyle:{color:e.legendTextStyleColor,fontSize:t.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,formatter:B=>{const{legendFormatter:A}=e;let k=A.replace(/{name}/g,B);if(A.includes("{value}")){const{data:I}=r.value[0]||{};if(I){const D=I.find(P=>P.name===B);D&&(k=k.replace(/{value}/g,D.value))}}return k}}},c=()=>{t.value=!1},{getGlobalModel:d,setGlobalModel:y}=a.inject(we,{getGlobalModel:B=>{},setGlobalModel:(B,A)=>{}}),{pageMode:h}=a.inject(Ie,{pageMode:"normal"}),u=(B=[],A)=>{const{dataset:k}=vt(B,A);r.value=k},m=(B=[],A)=>{const k=vt(B,A);r.value=k.dataset};a.watch(()=>e.data,B=>{(e.dataType==="static"||a.unref(h)==="design")&&u(B)},{immediate:!0,deep:!0}),a.watch(()=>[e.legendShow,e.legendOrient,e.legendTop,e.legendLeft,e.legendTextStyleColor,e.labelFontSize,e.legendItemHeight,e.legendItemWidth,e.legendItemGap,e.legendFormatter,e.legendFontSize],()=>{f()},{immediate:!0});const g=a.ref(!1),w=Oe(e),T=async()=>{var B,A;if(e.dataType==="request")try{g.value=!0;const k=await w();u((A=(B=k==null?void 0:k.data)==null?void 0:B.data)==null?void 0:A.rows,e.valueTypeDataFieldNames)}catch(k){console.error(k)}finally{g.value=!1}},v=pe(e)("click",B=>{const A=d(e.id);y(e.id,{...A,RECORD:B==null?void 0:B.data})}),p=Ze(e),C=async()=>{var B;try{g.value=!0;const A=await p(),{data:k}=A.data||{};if(k){const{columns:I=[],rows:D=[]}=((B=A==null?void 0:A.data)==null?void 0:B.data)??{};let P=[];if(I.length>0){const H=I[0],O=I[1];P=D.map(V=>({name:V[H],value:isNaN(V[O])?0:V[O]||0}))}m(P)}}catch(A){console.error(A)}finally{g.value=!1}},S=()=>{switch(e.dataType){case"indicator":C();break;case"request":T();break}};ke(e,{resetRecord:()=>{const B=e.id,A=d(B);y(B,{...A,RECORD:""})},refreshData:S,click:v}),n({refreshData:S});const{setRequest:E}=a.inject(Be,{setRequest:B=>{}});return typeof E=="function"&&E({id:e.id,requestFn:S,sortNum:e.requestSort}),{option:l,style:o,click:v,onClose:c,loading:g,ecanModal:i}}}),i1="";function Pc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Ri=fe(se(Mc,[["render",Pc]])),jo={...ge,id:"",name:"折线图",keyName:"折线图",type:"ecanLine",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"}],titleText:"",titleSubtext:"",titleLeft:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:4,lineStyleWidth:2,smooth:!1,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelFormatter:"{value}",xAxisMinInterval:0,yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",graphicConfig:{},tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,areaGradientShow:!1,areaGradientColor:"",isBoundaryGap:!0,yAxisLabelShow:!0,yAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Go=de(jo),Ii=["click","refreshData","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.LineChart,he.ToolboxComponent,he.TitleComponent,he.LegendComponent]);const Fc=a.defineComponent({name:"EcanLine",props:{...Go},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref([]),l=a.ref(),f=a.computed(()=>o.value?We:12),c=a.ref({});let d;const y=a.ref([]),h=a.computed(()=>{const P=e.xAxisLabelFormatter,H=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var O;o.value=!0,(O=l.value)==null||O.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){oe.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:f.value},show:e.tooltipShow,formatter:O=>{var M;const V=O.length;let _="",L=e.tooltipFormatter;d=(M=O[0])==null?void 0:M.data,L===""&&(L="{marker} {a} {c}");for(let R=0;R<V;R++){const{marker:N,seriesName:z,name:F,value:W,data:K}=O[R]||{};R===0&&(_+=`${F}<br/>`),_+=Ae(L,{textData:{marker:N,name:F,value:W,a:z,b:F,c:W||0,...K}},{useNewline:!0,useSpace:!0}),_+="<br/>"}return _}},xAxis:{type:"category",boundaryGap:e.isBoundaryGap,data:a.unref(s).map(O=>{let V={};return O&&typeof O=="object"?V={...O}:V={value:O},V}),minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(O){return mt(P,O)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(O){return mt(H,O)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(y).map(O=>({name:O.name,icon:e.legendType}))},series:a.unref(i)}}),u=()=>{o.value=!1},{getGlobalModel:m,setGlobalModel:g}=a.inject(we,{getGlobalModel:P=>{},setGlobalModel:(P,H)=>{}}),{pageMode:w}=a.inject(Ie,{pageMode:"normal"}),T=(P=[],H=!1)=>{let O;if(e.dataFieldConfigType==="key"){const M=H?e.keyTypeDataFieldNames:null;O=lt(P,M)}else if(e.dataFieldConfigType==="value"){const M=H?e.valueTypeDataFieldNames:null;O=vt(P,M)}s.value=O.dimensions,y.value=O.dataset;const V=O.dataset,_=[],L=V.length;for(let M=0;M<L;M++){const R={};e.shadowColor&&(R.shadowColor=e.shadowColor,R.shadowBlur=e.shadowBlur,R.shadowOffsetY=e.shadowOffsetY,R.shadowOffsetX=e.shadowOffsetX),_.push({type:"line",...V[M],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[M]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[M],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...R}})}i.value=_},x=(P=[],H,O=!1)=>{const _=lt(P,O?H:null);s.value=_.dimensions,y.value=_.dataset;const L=_.dataset,M=[],R=L.length;for(let N=0;N<R;N++){const z={};e.shadowColor&&(z.shadowColor=e.shadowColor,z.shadowBlur=e.shadowBlur,z.shadowOffsetY=e.shadowOffsetY,z.shadowOffsetX=e.shadowOffsetX),M.push({type:"line",...L[N],symbolSize:e.symbolSize,smooth:e.smooth,areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[N]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[N],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...z}})}i.value=M};a.watch(()=>[e.data,e.symbolSize,e.smooth,e.lineStyleWidth,e.areaStyleOpacity,e.areaGradientShow,e.areaGradientColor,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize],([P])=>{(e.dataType==="static"||a.unref(w)==="design")&&T(P)},{immediate:!0,deep:!0});const v=a.ref(!1),p=Oe(e),C=async()=>{var P,H;if(e.dataType==="request")try{v.value=!0;const O=await p();T((H=(P=O==null?void 0:O.data)==null?void 0:P.data)==null?void 0:H.rows,!0)}catch(O){console.error(O)}finally{v.value=!1}},b=pe(e)("click",P=>{const H=m(e.id);g(e.id,{...H,RECORD:e.tooltipShow?d:P.data})}),E=P=>{t.value.chart.containPixel("grid",[P.offsetX,P.offsetY])&&b()};e.tooltipShow?c.value["zr:click"]=E:c.value.click=b;const B=Ze(e),A=async()=>{var P;try{v.value=!0;const H=await B(),{columns:O=[],rows:V=[]}=((P=H==null?void 0:H.data)==null?void 0:P.data)??{};let _;O.length>0&&(_={name:O[0],types:O.slice(1).map(L=>({label:L,value:L}))}),x(V,_,!0)}catch(H){console.error(H)}finally{v.value=!1}},k=()=>{switch(e.dataType){case"indicator":A();break;case"request":C();break}};ke(e,{refreshData:k,resetRecord:()=>{const P=e.id,H=m(P);g(P,{...H,RECORD:""})},click:b});const{setRequest:D}=a.inject(Be,{setRequest:P=>{}});return typeof D=="function"&&D({id:e.id,requestFn:k,sortNum:e.requestSort}),n({refreshData:k}),{option:h,style:r,click:b,loading:v,onClose:u,ecanModal:l,eventObj:c,echartRef:t}}}),s1="";function Hc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Oi=fe(se(Fc,[["render",Hc]])),Uo={...ge,id:"",name:"柱状图",keyName:"柱状图",type:"ecanBar",width:"400px",height:"400px",top:"",left:"",rotate:"",xAxisLabelFormatter:"{value}",yAxisLabelFormatter:"{value}",yAxisLineAlwaysDisplay:!1,data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:310,type:"类型一"},{name:"名称三",value:310,type:"类型一"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{marker} {a} {c}",xAxisSplitLineShow:!0,xAxisSplitLineInterval:0,xAxisSplitAreaShow:!1,xAxisSplitLineStyleColor:"#333",xAxisLabelInterval:0,xAxisLabelColor:"#333",xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,yAxisMinInterval:0,yAxisLabelWidth:void 0,yAxisLabelRotate:0,yAxisLabelOverflow:"none",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",barWidth:"40%",gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",isUseHorizontalAxis:!1,axisInverse:!1,xAxisInverse:!1,yAxisInverse:!1,isStack:!1,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",labelFormatter:"{c}",toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,barBorderRadius:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisSplitLineType:"solid",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,showBarBackground:!1,legendType:"",legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Wo=de(Uo),Li=["refreshData","click","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.BarChart,he.TitleComponent,he.LegendComponent,he.DatasetComponent,he.ToolboxComponent]);const qc=a.defineComponent({name:"EcanBar",props:{...Wo},components:{Spin:pt,Echarts:nt,EcanModal:st,AModal:oe.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref(),d=a.computed(()=>o.value?We:12),y=a.computed(()=>{const{gradientShow:_,gradientColors:L,gradientOffset:M,barBorderRadius:R}=e,N=a.unref(f),z=N.length,F=[];for(let W=0;W<z;W++){const K={...N[W],type:"bar",barWidth:e.barWidth,showBackground:e.showBarBackground};if(e.isStack&&(K.stack="stack"),K.label={show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow,formatter:Q=>{let Z="",ne=e.labelFormatter;ne===""&&(ne="{c}");const{seriesName:ce,name:De,value:Te,data:me}=Q||{};return Z+=Ae(ne,{textData:{name:De,value:Te,a:ce,b:De,c:Te||0,...me}},{useNewline:!0,useSpace:!0}),Z}},K.itemStyle={},_&&(K.itemStyle={color:{x:e.isUseHorizontalAxis?1:0,y:0,x2:0,y2:e.isUseHorizontalAxis?0:1,colorStops:[{offset:0,color:e.colors[W]},{offset:M,color:L[W]},{offset:1,color:L[W]}]}}),R){const Q=R.split(",");if(Q!=null&&Q.length){const Z=[];for(const ne of Q){const ce=parseFloat(ne);isNaN(ce)||Z.push(ce)}K.itemStyle.borderRadius=Z}}F.push(K)}return F}),h=a.ref([]),u=a.ref(!1),m=a.computed(()=>{const _=e.yAxisLabelFormatter,L=e.xAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const M=t.value.chart.getOption(),{xAxis:R}=M||{};R&&R.length&&(s.value=R[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var M;o.value=!0,(M=c.value)==null||M.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){oe.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,tooltip:{trigger:"axis",show:e.tooltipShow,formatter:M=>{const R=M.length;let N="",z=e.tooltipFormatter;z===""&&(z="{marker} {a} {c}");for(let F=0;F<R;F++){const{marker:W,seriesName:K,name:Q,value:Z,data:ne}=M[F]||{};F===0&&(N+=`${Q}<br/>`),N+=Ae(z,{textData:{marker:W,name:Q,value:Z,a:K,b:Q,c:Z||0,...ne}},{useNewline:!0,useSpace:!0}),N+="<br/>"}return N},textStyle:{color:e.tooltipTextStyleColor,fontSize:d.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(f).map((M,R)=>({name:M.name,itemStyle:{color:e.colors[R]},icon:e.legendType}))},xAxis:{type:e.isUseHorizontalAxis?"value":"category",data:e.isUseHorizontalAxis?null:a.unref(v),inverse:e.isUseHorizontalAxis?e.xAxisInverse:e.axisInverse,minInterval:e.xAxisMinInterval,splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor,type:e.xAxisSplitLineType},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize,formatter(M){return mt(L,M)}},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{type:e.isUseHorizontalAxis?"category":"value",data:e.isUseHorizontalAxis?a.unref(h):null,inverse:e.isUseHorizontalAxis?e.axisInverse:e.yAxisInverse,minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,rotate:e.yAxisLabelRotate,width:e.yAxisLabelWidth,overflow:e.yAxisLabelOverflow,formatter(M){return mt(_,M)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},series:a.unref(y)}}),{pageMode:g}=a.inject(Ie,{pageMode:"normal"}),w=()=>{o.value=!1},T=(_=[],L=!1)=>{let M={};if(e.dataFieldConfigType==="key"){const R=L?e.keyTypeDataFieldNames:null;M=lt(_,R)}else if(e.dataFieldConfigType==="value"){const R=L?e.valueTypeDataFieldNames:null;M=vt(_,R)}f.value=M.dataset,h.value=M.dimensions},x=(_=[],L,M=!1)=>{const N=lt(_,M?L:null);f.value=N.dataset,h.value=N.dimensions},v=a.computed(()=>a.unref(h).map(_=>{let L={};return _&&typeof _=="object"?L={..._}:L={value:_},L}));a.watch(()=>[e.data,e.labelFormatter],([_])=>{(e.dataType==="static"||a.unref(g)==="design")&&T(_)},{immediate:!0,deep:!0});const p=Oe(e),C=async()=>{var _,L;try{u.value=!0;const M=await p();T((L=(_=M==null?void 0:M.data)==null?void 0:_.data)==null?void 0:L.rows,!0)}catch(M){console.error(M)}finally{u.value=!1}},S=Ze(e),b=async()=>{var _;try{u.value=!0;const L=await S(),{columns:M=[],rows:R=[]}=((_=L==null?void 0:L.data)==null?void 0:_.data)??{};let N;M.length>0&&(N={name:M[0],types:M.slice(1).map(z=>({label:z,value:z}))}),x(R,N,!0)}catch(L){console.error(L)}finally{u.value=!1}},E=()=>{switch(e.dataType){case"indicator":b();break;case"request":C();break}},B=(_,L)=>!!a.unref(s)[L.value].value.includes(_),A=async()=>{r.value=!1;const _=t.value.chart.getOption();for(let L=0;L<7;L++)await k(_,L)},k=(_,L)=>new Promise(M=>{setTimeout(()=>{const{series:R,color:N,xAxis:z}=_,F=t.value.chart,{splitArea:W={}}=z[0]||{};R.forEach((K,Q)=>{const Z=K.data;let ne="";L%2?ne=N[Q]+"a8":ne=N[Q],Z[i.value].itemStyle={color:ne}}),L%2?(W.show=!0,W.areaStyle.color=a.unref(s).map((K,Q)=>Q===i.value?"#ff003b26":"")):W.show=!1,F.setOption({series:R,xAxis:z}),M()},200)});n({refreshData:E});const I=pe(e),{getGlobalModel:D,setGlobalModel:P}=a.inject(we,{getGlobalModel:_=>{},setGlobalModel:(_,L)=>{}}),H=I("click",_=>{const L=D(e.id);P(e.id,{...L,RECORD:_.data})}),{setRequest:O}=a.inject(Be,{setRequest:_=>{}});return typeof O=="function"&&O({id:e.id,requestFn:E,sortNum:e.requestSort}),ke(e,{refreshData:E,click:H,resetRecord:()=>{const _=e.id,L=D(_);P(_,{...L,RECORD:""})}}),{option:m,style:l,refreshData:E,click:H,loading:u,onClose:w,ecanModal:c,echartRef:t,handleLocationOk:A,onFilterOption:B,locationVisible:r,locationValue:i,locationNames:s}}}),f1="",d1="",Vc=e=>(a.pushScopeId("data-v-ea70c6d0"),e=e(),a.popScopeId(),e),jc={class:"location-wrap"},Gc=Vc(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function Uc(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),y=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{class:"ecan-bar",style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(y,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",jc,[Gc,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const Ni=fe(se(qc,[["render",Uc],["__scopeId","data-v-ea70c6d0"]])),$o={...ge,id:"",name:"散点图",keyName:"散点图",type:"ecanScatter",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:233,value:335},{name:556,value:310},{name:56,value:234}],titleText:"",titleSubtext:"",tooltipShow:!0,tooltipTrigger:"item",tooltipFormatter:"{marker} {b} {c}",legendShow:!1,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],symbolSize:10,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisSplitLineStyleColor:"#333",xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisLabelColor:"#333",xAxisLabelOverflow:"none",xAxisLabelInterval:0,xAxisLabelWidth:void 0,xAxisLabelRotate:0,xAxisLabelFormatter:"{value}",yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,yAxisLabelFormatter:"{value}",dataFieldNames:{name:"name",value:"value"},gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",yAxisLabelShow:!0,yAxisSplitLineType:"solid",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Zo=de($o),zi=["click","refreshData","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.ScatterChart,he.ToolboxComponent,he.TitleComponent,he.TooltipComponent,he.LegendComponent]);const Wc=a.defineComponent({name:"EcanScatter",props:{...Zo},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e){const n=a.ref(!1),t=ue(e),o=a.ref([]),r=a.ref(),i=a.computed(()=>n.value?We:12),s=a.computed(()=>{const p=e.xAxisLabelFormatter,C=e.yAxisLabelFormatter;return{toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:n.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var S;n.value=!0,(S=r.value)==null||S.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){oe.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,xAxis:{splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{fontSize:e.xAxisLabelFontSize,color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,formatter(S){return mt(p,S)}},axisLine:{lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:{splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(S){return mt(C,S)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}},tooltip:{show:e.tooltipShow,trigger:e.tooltipTrigger,formatter(S){var I;const{marker:b,seriesName:E}=S,B=((I=S==null?void 0:S.data)==null?void 0:I.record)??{},{name:A,value:k}=B;return Ae(e.tooltipFormatter,{textData:{marker:b,seriesName:E,a:E,b:A,c:k,...B}})},axisPointer:{type:"cross"},textStyle:{fontSize:i.value}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:i.value}},series:[{data:a.unref(o),type:"scatter",symbolSize:e.symbolSize}]}}),{getGlobalModel:l,setGlobalModel:f}=a.inject(we,{getGlobalModel:p=>{},setGlobalModel:(p,C)=>{}}),{pageMode:c}=a.inject(Ie,{pageMode:"normal"}),d=(p=[],C)=>{const{name:S="name",value:b="value"}=C||{};o.value=p.map(E=>({value:[E[S],E[b]],record:E}))};a.watch(()=>e.data,p=>{(e.dataType==="static"||a.unref(c)==="design")&&d(p)},{immediate:!0,deep:!0});const y=a.ref(!1),h=Oe(e),u=async()=>{var p,C;if(e.dataType==="request"){y.value=!0;try{const S=await h();d((C=(p=S==null?void 0:S.data)==null?void 0:p.data)==null?void 0:C.rows,e.dataFieldNames)}catch(S){console.error(S)}finally{y.value=!1}}},m=()=>{n.value=!1},w=pe(e)("click",p=>{const C=e.id,S=l(C);f(C,{...S,RECORD:p==null?void 0:p.data})});ke(e,{refreshData:()=>{u()},click:w,resetRecord:()=>{const p=e.id,C=l(p);f(p,{...C,RECORD:""})}});const{setRequest:v}=a.inject(Be,{setRequest:p=>{}});return typeof v=="function"&&v({id:e.id,requestFn:u,sortNum:e.requestSort}),{option:s,style:t,click:w,loading:y,onClose:m,ecanModal:r}}}),h1="";function $c(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Mi=fe(se(Wc,[["render",$c]])),Yo={...ge,id:"",name:"自定义图表",keyName:"自定义图表",type:"ecanCustomGraph",width:"400px",height:"400px",option:{},optionCode:""},Ko=de(Yo),Zc=a.defineComponent({name:"EcanCustomGraph",props:{...Ko},components:{Echarts:nt},setup(e){const n=ue(e),t=a.ref();return a.watch(()=>e.optionCode,o=>{try{const r=eval;t.value=r(o)}catch(r){console.error(r)}},{immediate:!0}),{style:n,myOption:t,echarts:v0}}});function Yc(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(s,{option:e.myOption,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])],4)}const Pi=fe(se(Zc,[["render",Yc]])),Xo={...ge,id:"",name:"组合图表",keyName:"组合图表",type:"ecanComboGraph",width:"400px",height:"400px",data:[{name:"名称一",value:335,type:"类型一"},{name:"名称二",value:410,type:"类型一"},{name:"名称三",value:210,type:"类型一"},{name:"名称一",value:510,type:"类型二"},{name:"名称二",value:731,type:"类型二"},{name:"名称三",value:910,type:"类型二"}],titleText:"",titleSubtext:"",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],legendShow:!0,legendTextStyleColor:"#333",legendOrient:"horizontal",legendTop:"top",legendLeft:"center",tooltipShow:!0,tooltipTextStyleColor:"",tooltipTrigger:"item",tooltipFormatter:"{marker} {a} {c}",xAxisLabelInterval:0,xAxisSplitLineShow:!0,xAxisSplitAreaShow:!1,xAxisSplitLineInterval:0,xAxisLabelRotate:0,xAxisLabelOverflow:"none",xAxisLabelWidth:void 0,xAxisSplitLineStyleColor:"#333",xAxisLabelColor:"#333",xAxisLineShow:!0,xAxisLineStyleColor:"#333",xAxisTickShow:!0,xAxisMinInterval:0,yAxisMinInterval:0,yAxisSplitLineShow:!0,yAxisSplitAreaShow:!1,yAxisSplitLineStyleColor:"#333",yAxisLabelColor:"#333",yAxisLineStyleColor:"#333",yAxisLineAlwaysDisplay:!1,valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",seriesTypes:[{type:"bar",axisIndex:0},{type:"line",axisIndex:0}],yAxis:[{axisLabelFormatter:"{value}"},{axisLabelFormatter:"{value}"}],gridContainLabel:!0,gridTop:"10%",gridBottom:"10%",gridLeft:"5%",gridRight:"5%",graphicConfig:{},toolboxShow:!1,toolboxLocation:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,symbolSize:4,lineStyleWidth:2,smooth:!1,barWidth:"40%",barBorderRadius:"",areaGradientShow:!1,areaGradientColor:"",yAxisLabelShow:!0,yAxisSplitLineType:"solid",gradientShow:!1,gradientColors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientOffset:1,legendType:"",legendItemGap:10,legendItemWidth:25,legendItemHeight:14,shadowColor:"",shadowBlur:0,shadowOffsetY:0,shadowOffsetX:0,legendFontSize:"12px",xAxisLabelFontSize:"12px",yAxisLabelFontSize:"12px"},Qo=de(Xo),Fi=["refreshData","click","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.BarChart,Xe.LineChart,he.TitleComponent,he.LegendComponent,he.DatasetComponent,he.ToolboxComponent]);const Kc=a.defineComponent({name:"EcanComboGraph",props:{...Qo},components:{Spin:pt,Echarts:nt,EcanModal:st,AModal:oe.Modal},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=a.ref(!1),i=a.ref(null),s=a.ref([]),l=ue(e),f=a.ref([]),c=a.ref([]),d=a.ref(),y=a.ref([]),h=a.computed(()=>o.value?We:12),u=a.computed(()=>({title:{text:e.titleText,subtext:e.titleSubtext,left:"center"},toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myLocation:{show:o.value?!1:e.toolboxLocation,title:"快速定位",icon:"path://M512 512m-80 0a80 80 0 1 0 160 0 80 80 0 1 0-160 0Z, M960 480h-33.632C910.752 276.16 747.84 113.248 544 97.632V64a32 32 0 1 0-64 0v33.632C276.16 113.248 113.248 276.16 97.632 480H64a32 32 0 0 0 0 64h33.632C113.248 747.84 276.16 910.752 480 926.368V960a32 32 0 1 0 64 0v-33.632C747.84 910.752 910.752 747.84 926.368 544H960a32 32 0 1 0 0-64zM544 862.368V800a32 32 0 1 0-64 0v62.368C311.424 847.104 176.896 712.576 161.632 544H224a32 32 0 1 0 0-64H161.632C176.896 311.424 311.424 176.896 480 161.632V224a32 32 0 0 0 64 0V161.632c168.576 15.296 303.104 149.792 318.368 318.368H800a32 32 0 1 0 0 64h62.368c-15.264 168.576-149.792 303.104-318.368 318.368z",onclick(){r.value=!0;const _=t.value.chart.getOption(),{xAxis:L}=_||{};L&&L.length&&(s.value=L[0].data)}},myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var _;o.value=!0,(_=d.value)==null||_.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){oe.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},grid:{top:e.gridTop,bottom:e.gridBottom,left:e.gridLeft,right:e.gridRight,containLabel:e.gridContainLabel},color:e.colors,legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{color:e.legendTextStyleColor,fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(y).map((_,L)=>({name:_.name,itemStyle:{color:e.colors[L]},icon:e.legendType}))},tooltip:{trigger:"axis",show:e.tooltipShow,formatter:_=>{const L=_.length;let M="",R=e.tooltipFormatter;R===""&&(R="{marker} {a} {c}");const N=e.seriesTypes;for(let z=0;z<L;z++){const F=N[z],{tooltipFormatter:W}=F||{},{marker:K,seriesName:Q,name:Z,value:ne,data:ce}=_[z]||{};z===0&&(M+=`${Z}<br/>`),M+=Ae(W||R,{textData:{marker:K,name:Z,value:ne,seriesName:Q,a:Q,b:Z,c:ne||0,...ce}},{useNewline:!0,useSpace:!0}),M+="<br/>"}return M},textStyle:{color:e.tooltipTextStyleColor,fontSize:h.value}},xAxis:{minInterval:e.xAxisMinInterval,type:"category",data:a.unref(c).map(_=>{let L={};return _&&typeof _=="object"?L={..._}:L={value:_},L}),splitLine:{show:e.xAxisSplitLineShow,lineStyle:{color:e.xAxisSplitLineStyleColor},interval:e.xAxisSplitLineInterval},splitArea:{show:e.xAxisSplitAreaShow},axisLabel:{color:e.xAxisLabelColor,interval:e.xAxisLabelInterval||0,rotate:e.xAxisLabelRotate,width:e.xAxisLabelWidth,overflow:e.xAxisLabelOverflow,fontSize:e.xAxisLabelFontSize},axisLine:{show:e.xAxisLineShow,lineStyle:{color:e.xAxisLineStyleColor}},axisTick:{show:e.xAxisTickShow}},yAxis:a.unref(x),series:a.unref(f)})),{pageMode:m}=a.inject(Ie,{pageMode:"normal"}),g=()=>{o.value=!1},w=(_=[],L=!1)=>{let M;if(e.dataFieldConfigType==="key"){const W=L?e.keyTypeDataFieldNames:null;M=lt(_,W)}else if(e.dataFieldConfigType==="value"){const W=L?e.valueTypeDataFieldNames:null;M=vt(_,W)}c.value=M.dimensions;const R=M.dataset;y.value=M.dataset;const N=[],z=R.length,F=e.seriesTypes;for(let W=0;W<z;W++){const K=F[W],{type:Q,axisIndex:Z}=K||{};let ne={type:Q,yAxisIndex:Z,...R[W]};if(Q==="line"){const ce={};e.shadowColor&&(ce.shadowColor=e.shadowColor,ce.shadowBlur=e.shadowBlur,ce.shadowOffsetY=e.shadowOffsetY,ce.shadowOffsetX=e.shadowOffsetX),ne={...ne,symbolSize:e.symbolSize,smooth:e.smooth,itemStyle:{color:e.colors[W]},areaStyle:{color:e.areaGradientShow?{type:"linear",x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[W]},{offset:1,color:e.areaGradientColor||"transparent"}],global:!1}:e.colors[W],opacity:e.areaStyleOpacity},lineStyle:{width:e.lineStyleWidth,...ce}}}if(Q==="bar"){const{gradientShow:ce,gradientColors:De,gradientOffset:Te}=e,me={};if(e.barBorderRadius){const ve=e.barBorderRadius.split(",");if(ve!=null&&ve.length){const Ge=[];for(const ze of ve){const Ne=parseFloat(ze);isNaN(Ne)||Ge.push(Ne)}me.borderRadius=Ge}}ce&&(me.color={x:0,y:0,x2:0,y2:1,colorStops:[{offset:0,color:e.colors[W]},{offset:Te,color:De[W]},{offset:1,color:De[W]}]}),ne={...ne,barWidth:e.barWidth,itemStyle:me}}N.push(ne)}f.value=N},T=(_=[],L,M=!1)=>{const N=lt(_,M?L:null);c.value=N.dimensions;const z=N.dataset;y.value=N.dataset;const F=[],W=z.length,K=e.seriesTypes;for(let Q=0;Q<W;Q++){const Z=K[Q];F.push({type:Z==null?void 0:Z.type,yAxisIndex:Z==null?void 0:Z.axisIndex,...z[Q]})}f.value=F};a.watch(()=>[e.data,e.seriesTypes,e.symbolSize,e.smooth,e.areaStyleOpacity,e.lineStyleWidth,e.barWidth,e.barBorderRadius,e.areaGradientShow,e.areaGradientColor,e.gradientShow,e.gradientColors,e.gradientOffset,e.shadowColor,e.shadowBlur,e.shadowOffsetY,e.shadowOffsetX,e.legendFontSize],([_])=>{(e.dataType==="static"||a.unref(m)==="design")&&w(_)},{immediate:!0,deep:!0});const x=a.computed(()=>{const _=e.yAxis;return _==null?void 0:_.map(L=>({type:"value",minInterval:e.yAxisMinInterval,splitLine:{show:e.yAxisSplitLineShow,lineStyle:{color:e.yAxisSplitLineStyleColor,type:e.yAxisSplitLineType}},splitArea:{show:e.yAxisSplitAreaShow},axisLabel:{show:e.yAxisLabelShow,fontSize:e.yAxisLabelFontSize,color:e.yAxisLabelColor,formatter(M){return mt(L.axisLabelFormatter,M)}},axisLine:{show:e.yAxisLineAlwaysDisplay,lineStyle:{color:e.yAxisLineStyleColor}}}))}),v=a.ref(!1),p=Oe(e),C=async()=>{var _,L;if(e.dataType==="request")try{v.value=!0;const M=await p();w((L=(_=M==null?void 0:M.data)==null?void 0:_.data)==null?void 0:L.rows,!0)}catch(M){console.error(M)}finally{v.value=!1}},S=Ze(e),b=async()=>{var _;try{v.value=!0;const L=await S(),{columns:M=[],rows:R=[]}=((_=L==null?void 0:L.data)==null?void 0:_.data)??{};let N;M.length>0&&(N={name:M[0],types:M.slice(1).map(z=>({label:z,value:z}))}),T(R,N,!0)}catch(L){console.error(L)}finally{v.value=!1}},E=()=>{switch(e.dataType){case"indicator":b();break;case"request":C();break}},B=(_,L)=>!!a.unref(s)[L.value].value.includes(_),A=async()=>{r.value=!1;const _=t.value.chart.getOption();for(let L=0;L<7;L++)await k(_,L)},k=(_,L)=>new Promise(M=>{setTimeout(()=>{const{series:R,color:N,xAxis:z}=_,F=t.value.chart,{splitArea:W={}}=z[0]||{};R.forEach((K,Q)=>{const Z=K.data;let ne="";L%2?ne=N[Q]+"a8":ne=N[Q],Z[i.value].itemStyle={color:ne}}),L%2?(W.show=!0,W.areaStyle.color=a.unref(s).map((K,Q)=>Q===i.value?"#ff003b26":"")):W.show=!1,F.setOption({series:R,xAxis:z}),M()},200)});n({refreshData:E});const I=pe(e),{getGlobalModel:D,setGlobalModel:P}=a.inject(we,{getGlobalModel:_=>{},setGlobalModel:(_,L)=>{}}),H=I("click",_=>{const L=D(e.id);P(e.id,{...L,RECORD:_==null?void 0:_.data})}),{setRequest:O}=a.inject(Be,{setRequest:_=>{}});return typeof O=="function"&&O({id:e.id,requestFn:E,sortNum:e.requestSort}),ke(e,{resetRecord:()=>{const _=e.id,L=D(_);P(_,{...L,RECORD:""})},refreshData:E,click:H}),{style:l,option:u,click:H,loading:v,onClose:g,ecanModal:d,echartRef:t,handleLocationOk:A,onFilterOption:B,locationVisible:r,locationValue:i,locationNames:s}}}),x1="",y1="",Xc=e=>(a.pushScopeId("data-v-37c8d558"),e=e(),a.popScopeId(),e),Qc={class:"location-wrap"},Jc=Xc(()=>a.createElementVNode("div",{class:"location-text"},"选择分类:",-1));function ef(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal"),c=a.resolveComponent("a-select-option"),d=a.resolveComponent("a-select"),y=a.resolveComponent("a-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{ref:"echartRef",option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:"",onClick:e.click},null,8,["option","onClick"])]),_:1},8,["spinning"])]),_:1},8,["onClose"]),a.createVNode(y,{visible:e.locationVisible,"onUpdate:visible":n[1]||(n[1]=h=>e.locationVisible=h),title:"快速定位",onOk:e.handleLocationOk},{default:a.withCtx(()=>[a.createElementVNode("div",Qc,[Jc,a.createVNode(d,{value:e.locationValue,"onUpdate:value":n[0]||(n[0]=h=>e.locationValue=h),style:{width:"100%"},placeholder:"请选择","show-search":"","filter-option":e.onFilterOption},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.locationNames,(h,u)=>(a.openBlock(),a.createBlock(c,{key:u,value:u},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:2},1032,["value"]))),128))]),_:1},8,["value","filter-option"])])]),_:1},8,["visible","onOk"])],4)}const Hi=fe(se(Kc,[["render",ef],["__scopeId","data-v-37c8d558"]])),Jo={...ge,id:"",name:"雷达图",keyName:"雷达图",type:"ecanRadar",width:"400px",height:"400px",top:"",left:"",rotate:"",data:[{name:"名称一",value:235,type:"类型一"},{name:"名称二",value:280,type:"类型一"},{name:"名称三",value:230,type:"类型一"},{name:"名称四",value:335,type:"类型一"},{name:"名称五",value:435,type:"类型一"},{name:"名称六",value:215,type:"类型一"}],titleText:"",titleSubtext:"",legendShow:!0,legendOrient:"horizontal",legendTop:"top",legendLeft:"center",colors:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],valueTypeDataFieldNames:{name:"name",value:"value",type:"type"},keyTypeDataFieldNames:{name:"name",types:[]},dataFieldConfigType:"value",tooltipShow:!0,tooltipFormatter:"{marker} {a} {c}",toolboxShow:!1,toolboxDownloadShow:!0,toolboxDataZoomShow:!0,toolboxInfoShow:!0,toolboxOrient:"horizontal",toolboxItemSize:16,toolboxItemGap:8,toolboxLeft:"right",toolboxTop:"top",toolboxIconStyleBorderColor:"#666",toolboxDownloadUrl:"",toolboxInfoText:"当前无说明信息",areaStyleOpacity:0,legendItemGap:10,legendItemWidth:25,legendItemHeight:14,legendType:"",lineStyleWidth:2,symbolSize:4,labelShow:!1,labelFontSize:"12px",labelPosition:"inside",labelColor:"",labelWidth:100,labelOverflow:"none",axisNameColor:"",legendFontSize:"12px",graphicConfig:{}},ea=de(Jo),qi=["refreshData","click","resetRecord"];Pe.use([dt.CanvasRenderer,Xe.RadarChart,he.ToolboxComponent,he.TitleComponent,he.LegendComponent]);const tf=a.defineComponent({name:"EcanRadar",props:{...ea},components:{Spin:pt,Echarts:nt,EcanModal:st},setup(e,{expose:n}){const t=a.ref(),o=a.ref(!1),r=ue(e),i=a.ref([]),s=a.ref(),l=a.computed(()=>o.value?We:12),f=a.ref({});let c;const d=a.ref([]),y=a.ref(e.valueTypeDataFieldNames.name),h=a.computed(()=>{const O=a.unref(d),V=O.length,_=[];for(let L=0;L<V;L++){const{name:M,data:R=[]}=O[L],N=[{name:M,value:R.map(F=>F.value)}],z={type:"radar",name:M,data:N,areaStyle:{color:e.colors[L],opacity:e.areaStyleOpacity},tooltip:{trigger:"item"},symbolSize:e.symbolSize,lineStyle:{width:e.lineStyleWidth},label:{show:e.labelShow,fontSize:e.labelFontSize,position:e.labelPosition,color:e.labelColor,width:e.labelWidth,overflow:e.labelOverflow}};_.push(z)}return _}),u=a.computed(()=>{var M,R;const O=[],V={},_=a.unref(d),L=_.length;for(let N=0;N<L;N++){const{data:z=[]}=_[N];if(z!=null&&z.length)for(let F=0;F<z.length;F++)V[z[F][y.value]]?V[z[F][y.value]].push(z[F].value):V[z[F][y.value]]=[z[F].value]}if((M=i.value)!=null&&M.length)for(const N of i.value)O.push({name:N,max:(R=V[N])!=null&&R.length?Math.max(...V[N])*1.2:0});return O}),m=a.computed(()=>({toolbox:{show:e.toolboxShow,left:e.toolboxLeft,top:e.toolboxTop,itemSize:e.toolboxItemSize,itemGap:e.toolboxItemGap,feature:{myDownload:{show:e.toolboxDownloadShow,title:"数据下载",icon:"path://M502.010485 765.939573c3.773953 3.719718 8.686846 5.573949 13.596669 5.573949 0.075725 0 0.151449-0.010233 0.227174-0.011256 0.329505 0.016373 0.654916 0.050142 0.988514 0.050142 0.706081 0 1.400906-0.042979 2.087545-0.116657 4.352121-0.366344 8.607028-2.190899 11.961426-5.496178l335.053985-330.166675c7.619538-7.509021 7.709589-19.773346 0.200568-27.393907s-19.774369-7.711636-27.39493-0.201591L536.193005 706.304358 536.193005 50.019207c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 657.032164-306.881342-302.44838c-7.618515-7.509021-19.883863-7.419993-27.393907 0.199545-7.509021 7.619538-7.419993 19.884886 0.199545 27.393907L502.010485 765.939573z, M867.170139 711.020776c-10.698666 0-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 13.054317-10.620895 23.675212-23.676236 23.675212L205.182103 919.486668c-13.054317 0-23.676236-10.620895-23.676236-23.675212L181.505867 730.391962c0-10.698666-8.67252-19.371186-19.371186-19.371186s-19.371186 8.67252-19.371186 19.371186l0 165.419494c0 34.416857 28.000728 62.416562 62.417585 62.416562l618.941638 0c34.417881 0 62.417585-27.999704 62.417585-62.416562L886.540302 730.391962C886.541325 719.693296 877.868805 711.020776 867.170139 711.020776z",onclick(){Dt(e.toolboxDownloadUrl)}},myDataZoom:{show:o.value?!1:e.toolboxDataZoomShow,title:"放大",icon:"path://M932.42 902.246667L792 761.793333A403.84 403.84 0 0 0 896 490.666667c0-223.86-181.473333-405.333333-405.333333-405.333334S85.333333 266.806667 85.333333 490.666667s181.473333 405.333333 405.333334 405.333333a403.84 403.84 0 0 0 271.126666-104l140.453334 140.453333a21.333333 21.333333 0 0 0 30.173333-30.173333zM128 490.666667c0-200.293333 162.373333-362.666667 362.666667-362.666667s362.666667 162.373333 362.666666 362.666667-162.373333 362.666667-362.666666 362.666666-362.666667-162.373333-362.666667-362.666666z m512 0a21.333333 21.333333 0 0 1-21.333333 21.333333H512v106.666667a21.333333 21.333333 0 0 1-42.666667 0V512H362.666667a21.333333 21.333333 0 0 1 0-42.666667h106.666666V362.666667a21.333333 21.333333 0 0 1 42.666667 0v106.666666h106.666667a21.333333 21.333333 0 0 1 21.333333 21.333334z",onclick(){var O;o.value=!0,(O=s.value)==null||O.showModal()}},myInfo:{show:e.toolboxInfoShow,title:"说明信息",icon:"path://M512.50142 958.397886c-119.320573 0-231.499491-46.465265-315.871087-130.837884C112.258737 743.188406 65.792449 631.010511 65.792449 511.688915c0-119.319549 46.466288-231.499491 130.837884-315.871087C281.002952 111.445208 393.180847 64.979944 512.50142 64.979944s231.499491 46.465265 315.871087 130.837884c84.372619 84.372619 130.837884 196.551538 130.837884 315.871087 0 119.321596-46.465265 231.499491-130.837884 315.871087C744.000911 911.932622 631.821993 958.397886 512.50142 958.397886zM512.50142 105.962334c-223.718271 0-405.726581 182.00831-405.726581 405.726581s182.00831 405.726581 405.726581 405.726581c223.718271 0 405.727605-182.00831 405.727605-405.726581S736.220714 105.962334 512.50142 105.962334z M510.150886 775.953647c-18.107403 0-32.745798-14.678304-32.745798-32.785707L477.405087 452.191846c0-18.108426 14.638395-32.785707 32.745798-32.785707 18.107403 0 32.745798 14.678304 32.745798 32.785707l0 290.976094C542.896684 761.275343 528.258289 775.953647 510.150886 775.953647z M511.357364 296.458969m-45.080731 0a44.054 44.054 0 1 0 90.161463 0 44.054 44.054 0 1 0-90.161463 0Z",onclick(){oe.Modal.info({title:"说明信息",content:e.toolboxInfoText})}}}},title:{text:e.titleText,subText:e.titleSubtext,left:"center"},color:e.colors,tooltip:{trigger:"axis",textStyle:{fontSize:l.value},show:e.tooltipShow,formatter:O=>{var L;let V="",_=e.tooltipFormatter;c=(L=O[0])==null?void 0:L.data,_===""&&(_="{marker} {a} {c}");for(let M=0;M<a.unref(u).length;M++){const R=a.unref(u)[M],{marker:N,seriesName:z,value:F}=O||{};M===0&&z&&(V+=`${z}<br/>`),V+=Ae(_,{textData:{marker:N,name:R.name,value:F[M],a:R.name,b:R.name,c:F[M]||0,type:z}},{useNewline:!0,useSpace:!0}),V+="<br/>"}return V}},radar:{indicator:a.unref(u),axisName:{color:e.axisNameColor}},legend:{show:e.legendShow,orient:e.legendOrient,top:e.legendTop,left:e.legendLeft,textStyle:{fontSize:o.value?We:e.legendFontSize},itemHeight:e.legendItemHeight,itemWidth:e.legendItemWidth,itemGap:e.legendItemGap,data:a.unref(d).map(O=>({name:O.name,icon:e.legendType}))},series:a.unref(h)})),g=()=>{o.value=!1},{getGlobalModel:w,setGlobalModel:T}=a.inject(we,{getGlobalModel:O=>{},setGlobalModel:(O,V)=>{}}),{pageMode:x}=a.inject(Ie,{pageMode:"normal"}),v=(O=[],V=!1)=>{let _;if(e.dataFieldConfigType==="key"){const L=V?e.keyTypeDataFieldNames:null;_=lt(O,L)}else if(e.dataFieldConfigType==="value"){const L=V?e.valueTypeDataFieldNames:null;_=vt(O,L)}i.value=_.dimensions,d.value=_.dataset},p=(O=[],V,_=!1)=>{const M=lt(O,_?V:null);i.value=M.dimensions,d.value=M.dataset};a.watch(()=>[e.data,e.areaStyleOpacity,e.legendFontSize],([O])=>{(e.dataType==="static"||a.unref(x)==="design")&&v(O)},{immediate:!0,deep:!0});const C=a.ref(!1),S=Oe(e),b=async()=>{var O,V;if(e.dataType==="request")try{C.value=!0;const _=await S();v((V=(O=_==null?void 0:_.data)==null?void 0:O.data)==null?void 0:V.rows,!0)}catch(_){console.error(_)}finally{C.value=!1}},B=pe(e)("click",O=>{const V=w(e.id);T(e.id,{...V,RECORD:e.tooltipShow?c:O.data})}),A=O=>{t.value.chart.containPixel("grid",[O.offsetX,O.offsetY])&&B()};e.tooltipShow?f.value["zr:click"]=A:f.value.click=B;const k=Ze(e),I=async()=>{var O;try{C.value=!0;const V=await k(),{columns:_=[],rows:L=[]}=((O=V==null?void 0:V.data)==null?void 0:O.data)??{};let M;_.length>0&&(y.value=_[0],M={name:_[0],types:_.slice(1).map(R=>({label:R,value:R}))}),p(L,M,!0)}catch(V){console.error(V)}finally{C.value=!1}},D=()=>{switch(e.dataType){case"indicator":I();break;case"request":b();break}};ke(e,{refreshData:D,resetRecord:()=>{const O=e.id,V=w(O);T(O,{...V,RECORD:""})},click:B});const{setRequest:H}=a.inject(Be,{setRequest:O=>{}});return typeof H=="function"&&H({id:e.id,requestFn:D,sortNum:e.requestSort}),n({refreshData:D}),{option:m,style:r,click:B,loading:C,onClose:g,ecanModal:s,eventObj:f,echartRef:t}}}),v1="";function nf(e,n,t,o,r,i){const s=a.resolveComponent("echarts"),l=a.resolveComponent("spin"),f=a.resolveComponent("ecan-modal");return a.openBlock(),a.createElementBlock("div",{style:a.normalizeStyle(e.style)},[a.createVNode(l,{spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,a.mergeProps({ref:"echartRef",option:e.option,autoresize:""},a.toHandlers(e.eventObj)),null,16,["option"])]),_:1},8,["spinning"]),a.createVNode(f,{width:"1920px",height:"1080px",ref:"ecanModal",onClose:e.onClose},{default:a.withCtx(()=>[a.createVNode(l,{class:"spin-wrap",spinning:e.loading},{default:a.withCtx(()=>[a.createVNode(s,{option:e.option,"update-options":{notMerge:!0},autoresize:""},null,8,["option"])]),_:1},8,["spinning"])]),_:1},8,["onClose"])],4)}const Vi=fe(se(tf,[["render",nf]])),of="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAZlBMVEUAAABBltJCldJCldFEk89BltJCltFBldI/lMBKndtmb9pCltNDldFAkclAldNBldJBltM/lM5AltNCldJBldJBlNJBltVBldJBlNJBlNI/lNNBldJBldNAldJBldJBldJBldNBldIiNK7WAAAAInRSTlMAM4BNGmaz5gQGbiAPCV1WQxUpOCY9EmxQSC2jdoacqZK8uPo7tAAAAZ9JREFUSMe90NmOwjAMheGka0J3SulCy/L+Lzk4I+HYhckEKs7dr1x8kQVM5YJMZ7SLiXVHOw817Z72cSns3BmziY7EnGRGjDqUpKt4pEZQKruvyaJt85YmBUebKLJVNUlpq6oOQ1tVVRzbqu6DwFb1NUlsVd3SNL0UDM0jqkaSqoeQqjKmahtQNUzuC1AtU1sF9KHmnmrtrSK6idqBWqE6GFVxFdGvqDGoJ01Qt7rfTEV0e7V6qSK6VjNPtTaqoOq8Ugnqr7aeav+rAuqrTh+qZw3o1urAVcFVQD3U6ZnaYY9MLZk6G5WhDaDFI9UeUPyE7gCNsAdAD9gxoBJ7ARRPUVwALXdu8/h/s3xmjtwUu0/M0M/UJzBjAei3TUTdpmKmcpkBmOHKBNTPzJi59zYJys3DO2aL78YcmNkLgrrM9m9TucwzmoBy08xlju+bgL42G4c5OcxqZSLqbwqXOVNTGXMWFD0ak6KN1ZKaojYmbribndW9MXELNQEFFUyiNqQlmEQ1JqpgErUifUUTUVEIupx1wzpjvWfdsh4FQX8ANe4nnpsb9NEAAAAASUVORK5CYII=",af="data:image/png;base64,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",rf="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHQAAAAcCAMAAACH42siAAAAaVBMVEUAAABElM9BltJCldJCldFBltJBldJCltFNmrNCmNNFldNAldJBldNBldRBldNBldNBldJCoNFBldJBltNBldJBldJAldJAltJBldJBldJBldNAlNFAldJBlNJAldJBldNBldJBldJBldLfIVowAAAAI3RSTlMAGjJNgGbmswMSCScgDTs/ZAVRK0eYj2s3r3AWveHEhXjeXb5rzlgAAAFqSURBVEjH1dbJVsJAEIXhHjJ05tlEooK8/0NKsbDrFjmHiBD0Lvqcf9PfthRM7xvoZMQuLHZaOejGYLtcdEItzI9oaLg5xIHj5hgcG262oXXcrGzJ23Umg5717C7NKBrAjOMDM8YgCI5ghmEPprUTmMZkrBOtdbJgfpZovho0gwzNOkfTam9k5jSGkKlTMOezWT3VLH5qlg8wQzSbO5jJ28l8Z+YLmZMwuz9lupvNXpjlFTMTZv7vzFSatTDtGnNeYdpNzZTMSJhx5f84m8Y3mSEzJzTVolko3J7Qve+a0J3vntDWffdEaMUQQo1vTWjuuyA0UWvUUarqzuqLUMPt1MD3uKTaTdRwvdrdorpFtfZtH6eyK2F3RS23U3uhlr9VB1TdE1V2h7Vr1O4mdbdera6o+Wq1Vqi2rEktFapGoZopVLVCtVCXag19IBPUiiWpBrojE1QNXZAp1/TYbhKdKVwuWotORKfn9wu/DSc/X9T6qgAAAABJRU5ErkJggg==",lf="data:image/png;base64,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",ta={...ge,name:"边框",keyName:"边框",type:"ecanBorder",width:"300px",height:"300px",zIndex:0,fontSize:"16px",fontFamily:"",fontWeight:700,title:"标题",mode:"no-title",borderColor:"#eee",borderRadius:"5",borderStyle:"solid",borderWidth:"2px",backgroundColor:"#ffffff",useBorderModify:!1,textShadow:"",data:{},gradientShow:!0,gradientColor:"",gradientOffset:1,gradientAngle:"180deg",titleMode:"type-1"},na=de(ta),ji=["click"],sf=a.defineComponent({name:"EcanBorder",props:{...na},setup(e){const n=ue(e,["background"]),t=a.computed(()=>{const{gradientShow:m,gradientColor:g,gradientOffset:w,gradientAngle:T,backgroundColor:x}=e;return m&&g?{backgroundImage:`linear-gradient(${T}, ${x}, ${g} ${w*100}%)`}:{}}),o=a.computed(()=>{const{events:m}=e;let g={};return m!=null&&m.length&&m.find(T=>T.emit==="showModal")&&(g={cursor:"pointer"}),g}),{theme:r}=a.inject(Ie,{theme:"light"}),i=a.computed(()=>{let m="";switch(e.titleMode){case"type-2":m="2";break}return m}),s=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-left.png":of,"../../assets/border-title-decoration-left2.png":af})[`../../assets/border-title-decoration-left${i.value}.png`],self.location).href),l=a.computed(()=>new URL(Object.assign({"../../assets/border-title-decoration-right.png":rf,"../../assets/border-title-decoration-right2.png":lf})[`../../assets/border-title-decoration-right${i.value}.png`],self.location).href),f=a.computed(()=>({width:"100%",height:"100%"})),c=a.computed(()=>{const{borderRadius:m}=e,g=[],w={};if(m){const T=m.split(",");for(const x of T)(+x||+x==0)&&g.push(+x+"px")}return g!=null&&g.length&&(w.borderRadius=g.join(" ")),w}),y=pe(e)("click",()=>{}),h=a.ref([]);a.watch(()=>e.data,m=>{h.value=m},{immediate:!0,deep:!0}),ke(e,{click:y});const{setGlobalModel:u}=a.inject(we,{setGlobalModel:(m,g)=>{}});return u(e.id,{type:e.type,value:h}),{style:n,gradientStyle:t,click:y,borderStyle:f,theme:r,borderRadiusStyle:c,titleLeftIcon:s,titleRightIcon:l,cursorStyle:o}}}),S1="",ct=e=>(a.pushScopeId("data-v-4d259384"),e=e(),a.popScopeId(),e),cf=ct(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),ff=ct(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),df=ct(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),uf=ct(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),hf={class:"title-item"},gf=["src"],mf={class:"title"},xf=["src"],yf=ct(()=>a.createElementVNode("div",{class:"top-left border-item"},null,-1)),pf=ct(()=>a.createElementVNode("div",{class:"top-right border-item"},null,-1)),vf=ct(()=>a.createElementVNode("div",{class:"bottom-left border-item"},null,-1)),bf=ct(()=>a.createElementVNode("div",{class:"bottom-right border-item"},null,-1)),Sf={key:2,class:"left-title"},wf={class:"title"};function Cf(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"ecan-border",style:a.normalizeStyle({...e.style,...e.gradientStyle,...e.borderRadiusStyle,...e.cursorStyle}),onClick:n[0]||(n[0]=(...s)=>e.click&&e.click(...s))},[e.mode==="no-title"?(a.openBlock(),a.createElementBlock("div",{key:0,class:"no-title",style:a.normalizeStyle(e.borderStyle)},[e.useBorderModify?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[cf,ff,df,uf],64)):a.createCommentVNode("",!0)],4)):a.createCommentVNode("",!0),e.mode==="top-title"?(a.openBlock(),a.createElementBlock("div",{key:1,class:"top-title",style:a.normalizeStyle(e.borderStyle)},[a.createElementVNode("div",{class:a.normalizeClass(["title-item-wrapper",e.titleMode])},[a.createElementVNode("div",hf,[a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleLeftIcon},null,10,gf),a.createElementVNode("div",mf,a.toDisplayString(e.title),1),a.createElementVNode("img",{class:a.normalizeClass(["title-decoration",e.titleMode]),src:e.titleRightIcon},null,10,xf)])],2),yf,pf,vf,bf],4)):a.createCommentVNode("",!0),e.mode==="left-title"?(a.openBlock(),a.createElementBlock("div",Sf,[a.createElementVNode("div",wf,[a.createElementVNode("span",null,a.toDisplayString(e.title),1)])])):a.createCommentVNode("",!0)],4)}const Gi=fe(se(sf,[["render",Cf],["__scopeId","data-v-4d259384"]])),oa={...ge,tabHorizontalPadding:"0px",type:"ecanTabs",name:"标签页",keyName:"标签页",width:"500px",height:"400px",tabFontSize:"14px",backgroundColor:"#ffffff",activeTabColor:"#1890ff",tabBackgroundImage:"",activeTabBackgroundImage:"",tabColor:"#333",tabBarGutter:"24px",tabFontWeight:400,value:"",activeKey:0,autoSwitch:!1,autoSwitchInterval:5,contains:[],tabFlexDirection:"row",data:[{title:"标签1"},{title:"标签2"},{title:"标签3"}],tabAlignItems:"flex-start",tabJustifyContent:"flex-start"},aa=de(oa),Ui=["tabChange"],Af=a.defineComponent({name:"EcanTabs",props:{...aa},setup(e){const n=ue(e),t=a.ref(0);a.watch(()=>e.activeKey,u=>{t.value=u},{immediate:!0});const{pageMode:o}=a.inject(Ie,{pageMode:"normal"});let r=null;const i=()=>{const u=Array.isArray(a.unref(s))?a.unref(s).length-1:0;e.autoSwitch&&u>0&&(r=setInterval(()=>{const m=a.unref(t)+1;m<=u?t.value=m:t.value=0,l.value=a.unref(s)[a.unref(t)],y()},e.autoSwitchInterval*1e3))};a.onMounted(()=>{a.unref(o)!=="design"&&i()}),a.onBeforeUnmount(()=>{clearInterval(r)});const s=a.ref([]),l=a.ref({});a.watch(()=>e.data,u=>{s.value=u,l.value=Array.isArray(u)&&u.length>0?u[0]:{}},{immediate:!0,deep:!0});const f=u=>t.value===u,c=pe(e),{setGlobalModel:d}=a.inject(we,{setGlobalModel:(u,m)=>{}});d(e.id,{value:l,activeKey:t});const{emitRefreshPage:y}=a.inject(Nt,{emitRefreshPage:()=>{}}),h=c("tabChange",(u,m)=>{m!==a.unref(t)&&(l.value=u,t.value=m,y())});return ke(e,{tabChange:h}),{style:n,activeKey:t,isActive:f,tabChange:h,myData:s,useImagePath:gt}}}),C1="",kf=["onClick"];function Tf(e,n,t,o,r,i){return a.openBlock(),a.createElementBlock("div",{class:"ecan-tabs",style:a.normalizeStyle(e.style)},[a.createElementVNode("div",{class:"tabs-header",style:a.normalizeStyle({fontSize:e.tabFontSize,alignItems:e.tabAlignItems,justifyContent:e.tabJustifyContent,flexDirection:e.tabFlexDirection})},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.myData,(s,l)=>(a.openBlock(),a.createElementBlock("div",{class:"tab",style:a.normalizeStyle({padding:`5px ${e.tabHorizontalPadding}`,color:e.isActive(l)?e.activeTabColor:e.tabColor,backgroundImage:e.isActive(l)?e.useImagePath(e.activeTabBackgroundImage,!0):e.useImagePath(e.tabBackgroundImage,!0),marginRight:e.tabFlexDirection==="row"?e.tabBarGutter:null,marginBottom:e.tabFlexDirection==="column"?e.tabBarGutter:null,fontWeight:e.tabFontWeight}),key:l,onClick:a.withModifiers(f=>e.tabChange(s,l),["prevent","stop"])},[a.createElementVNode("div",{class:"tab-inner",style:a.normalizeStyle({borderBottom:!e.activeTabBackgroundImage&&!e.tabBackgroundImage?`1px solid ${e.isActive(l)?e.activeTabColor:"transparent"}`:""})},a.toDisplayString(s.title),5)],12,kf))),128))],4)],4)}const Wi=fe(se(Af,[["render",Tf],["__scopeId","data-v-a2045b93"]])),ra={...ge,name:"图片",keyName:"图片",type:"ecanImage",width:"300px",height:"300px",imgUrl:"",target:"self",href:"",linkPage:"",data:{}},ia=de(ra),$i=["click"],Ef=a.defineComponent({name:"EcanImage",props:{...ia},setup(e){const n=ue(e),t=a.computed(()=>gt(e.imgUrl)),{pageMode:o}=a.inject(Ie,{pageMode:"normal"}),{getGlobalModel:r,setGlobalModel:i}=a.inject(we,{getGlobalModel:f=>{},setGlobalModel:(f,c)=>{}}),l=pe(e)("click",()=>{const f=r(e.id);if(i(e.id,{...f,RECORD:e.data||{}}),setTimeout(()=>{i(e.id,{...f,RECORD:{}})},0),!e.linkPage&&!e.href)return;const c=e.linkPage||"",d=Wr(a.unref(o),c),y=e.href;let h=y||d;h=Ae(h);const u=e.target;u&&(u!=="event"?window.open(h,"_"+u):window.parent.postMessage({type:"openPage",url:y},"*"))});return ke(e,{click:l}),{style:n,myImgUrl:t,onClick:l}}}),k1="",Bf=["src"];function _f(e,n,t,o,r,i){return e.myImgUrl!==""?(a.openBlock(),a.createElementBlock("img",{key:0,style:a.normalizeStyle(e.style),src:e.myImgUrl,onClick:n[0]||(n[0]=(...s)=>e.onClick&&e.onClick(...s))},null,12,Bf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"image-placeholder",style:a.normalizeStyle(e.style)}," 请上传图片 ",4))}const Zi=fe(se(Ef,[["render",_f],["__scopeId","data-v-3665dde7"]])),la={...ge,name:"网页",keyName:"网页",type:"ecanIframe",width:"300px",height:"300px",link:"",linkType:"web"},sa=de(la),Df=a.defineComponent({name:"EcanIframe",props:{...sa},setup(e){const n=ue(e),{contextRequestUrl:t}=a.inject(Ie,{contextRequestUrl:""}),o=a.computed(()=>{let r=Ae(e.link);if(e.linkType==="erd"&&r!=null){let i=a.unref(t);i[i.length-1]==="/"?i+="erdReport":i+="/erdReport",r=`${Pl||i}?_t=0&uid=${r}`}return r});return{style:n,myLink:o}}}),E1="",Rf=["src"];function If(e,n,t,o,r,i){return e.myLink?(a.openBlock(),a.createElementBlock("iframe",{key:0,src:e.myLink,style:a.normalizeStyle(e.style)},null,12,Rf)):(a.openBlock(),a.createElementBlock("div",{key:1,class:"iframe-placeholder",style:a.normalizeStyle(e.style)}," 请填写网页链接 ",4))}const Yi=fe(se(Df,[["render",If],["__scopeId","data-v-19bc100c"]])),ca={...ge,zIndex:2,name:"表格",keyName:"表格",type:"ecanTable",width:"400px",height:"240px",bordered:!1,headerFontSize:"14px",fontSize:"14px",isUseSeq:!1,size:"default",headerFontWeight:400,isUseExport:!1,fontWeight:400,columnsFixedNum:0,scrollX:0,paginationShow:!0,isReverse:!1,simple:!1,pageSizeShow:!1,cellBackgroundColor:"",headerBackgroundColor:"",borderColor:"",paginationPosition:"bottomRight",paginationPageSize:10,isUseAction:!1,clickHighlight:!1,filterDropdownHeight:"200px",actionList:[{title:"",href:"",target:"",color:""}],actionColumnWidth:100,columns:[{title:"姓名",dataIndex:"name"},{title:"年龄",dataIndex:"age"},{title:"住址",dataIndex:"address"}],data:[{name:"小明",age:32,address:"福州软件园"},{name:"小红",age:25,address:"福州软件园"}],graphicConfig:{},stripedShow:!1,stripedColor:"#fafafa",isGroupTable:!1,seqWidth:"10%",isSummaryFixed:!1,isPageBottom:!1,isShowTotal:!1},fa=de(ca),Ki=["click","refreshData","resetRecord","exportTableData"],da=a.defineComponent({name:"EcanTable",components:{Skeleton:jt,AButton:oe.Button,AInput:oe.Input,ACheckboxGroup:oe.CheckboxGroup,ATable:oe.Table,ATableSummary:oe.TableSummary,ATableSummaryRow:oe.TableSummaryRow,ATableSummaryCell:oe.TableSummaryCell},props:{...fa},setup(e,{expose:n}){const t=a.ref(!1),o=Ye.cloneDeep(e.columns),r=a.ref(),i=a.ref(!1),s=ue(e),l=a.ref([]),f=a.computed(()=>e.scrollX),c=a.ref(0),d=()=>{let G=0;switch(e.size){case"small":G=50;break;case"middle":G=53;break;default:G=65;break}return G};a.watchEffect(()=>{var G;(G=l.value)!=null&&G.length&&e.height&&a.nextTick(()=>{let U=parseFloat(e.height);const $=document.querySelector(`#ecanTable-${e.id} .ant-table-tbody`),Y=document.querySelector(`#ecanTable-${e.id} thead.ant-table-thead`),X=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`);let re=0;if(Y&&(U-=(Y==null?void 0:Y.clientHeight)||0),X&&e.isSummaryFixed&&(re=(X==null?void 0:X.clientHeight)||0,U-=re),e.paginationShow){let J=0;J=d(),J&&(U-=J)}($==null?void 0:$.clientHeight)>U?c.value=U:c.value=0,a.nextTick(()=>{if(re){const J=document.querySelector(`#ecanTable-${e.id} .ant-table-summary`),ie=(J==null?void 0:J.clientHeight)||0;re!==ie&&a.unref(c)&&(c.value=U+re-ie)}})})});const y=a.ref([]),h=a.ref([]),u=a.ref([]),m=a.ref(0),g=a.ref(1),w=a.ref(e.paginationPageSize||10),T=a.reactive([]),x=(G=[])=>{if(Array.isArray(G)&&G.length>0){const U=G.length,$=e.columnsFixedNum;for(let Y=0;Y<U;Y++){const X=G[Y];Y<$?X.fixed="left":X.fixed=!1;const{cellAlign:re="center",cellColor:J,dataIndex:ie,title:xe,tableFilter:ye,headerCellAlign:Me,headerCellColor:Re}=X;ye&&(T.push(ie),X.filterOptionsInputValue="",X.filterCheckboxGroupValue=[],X.customFilterDropdown=!0,X.onFilter=(Ee,Mt)=>Mt[ie].toString().toLowerCase().includes(Ee.toLowerCase())),X.customHeaderCell=()=>({style:{display:"table-cell",verticalAlign:"middle",fontSize:e.headerFontSize,fontWeight:e.headerFontWeight,textAlign:Me||"center",color:Re,borderBottomColor:e.borderColor}}),X.customCell=(Ee,Mt)=>({style:{textAlign:re,color:J,backgroundColor:e.cellBackgroundColor,borderBottomColor:e.borderColor},class:{highlight:a.unref(R)===Mt&&e.clickHighlight},onClick:H("click",()=>{const Pt=e.id,nn=O(Pt);Ee={dataIndex:ie,title:xe,...Ee},V(Pt,{...nn,RECORD:Ee})})}),Array.isArray(X.children)&&x(X.children)}}},v=(G=[])=>(e.isUseSeq&&G.unshift({title:"序号",dataIndex:"SEQ",align:"center",width:e.seqWidth}),e.isUseAction&&G.push({title:"操作",dataIndex:"ACTION",width:e.actionColumnWidth}),x(G),G);a.watch(w,()=>{g.value=1,z(!1)}),a.watch(r,G=>{i.value=!!G}),a.watch(()=>[e.columns,e.isUseSeq,e.seqWidth,e.isUseAction,e.columnsFixedNum,e.actionColumnWidth,e.cellBackgroundColor,e.borderColor,e.stripedColor],()=>{y.value=v(Ye.cloneDeep(e.columns))},{immediate:!0,deep:!0}),a.watch(()=>[e.data,e.dataType],([G,U])=>{U==="static"&&(h.value=G)},{immediate:!0});const p=a.ref({}),C=G=>{if(Array.isArray(G)){const U=G.length,$=T,Y=$.length,X={};for(let J=0;J<U;J++){const ie=G[J];for(let xe=0;xe<Y;xe++){const ye=$[xe];if(X[ye])X[ye].add(ie[ye]);else{const Me=new Set;Me.add(ie[ye]),X[ye]=Me}}}const re={};for(const J in X)if(Object.prototype.hasOwnProperty.call(X,J)){const ie=X[J],xe=Array.from(ie);re[J]=xe.map(ye=>({label:ye,value:ye}))}p.value=re}};a.watch(()=>[e.isReverse,y.value,h.value],()=>{const G=a.unref(y),U=a.unref(h);if(C(U),e.isReverse){const{columns:$,dataSource:Y}=S(Ye.cloneDeep(G),Ye.cloneDeep(U));u.value=$,l.value=Y}else{let $=G;e.dataType==="indicator"&&(o!=null&&o.length)&&($=G.map((Y,X)=>({...o[X],...Y}))),u.value=$,l.value=U}},{immediate:!0});const S=(G,U)=>{const $=G[0],Y=[{title:$.title,dataIndex:"col0",key:"col0",align:"center"}];for(let re=0;re<U.length;re++){const J=U[re],ie="col"+(re+1);Y.push({title:J[$.dataIndex],dataIndex:ie,key:ie,align:"center"})}const X=[];for(let re=1;re<G.length;re++){const J=G[re],ie={col0:J.title};for(let xe=0;xe<U.length;xe++){const ye=U[xe];ie[`col${xe+1}`]=ye[J.dataIndex]}X.push(ie)}return{columns:Y,dataSource:X}},b=a.ref(""),E=Oe(e),B=async(G=!0,U={})=>{var $;try{G&&(t.value=!0),a.unref(b)&&(U.orderCondition=a.unref(b)),e.paginationShow&&(U={pageNum:a.unref(g),pageSize:a.unref(w)||"10",layer:"1",...U});const Y=await E(U),{rows:X=[],total:re=0}=(($=Y==null?void 0:Y.data)==null?void 0:$.data)||{};if(m.value=re,Array.isArray(X)&&(h.value=X),window.config.routerBaseURL.includes("1523545080925487106")){const{requestParams:J=[]}=e,ie=J.find(xe=>xe.key==="dataSqlId");if((ie==null?void 0:ie.value)==="xt_jxzebg"){const xe=X.filter(ye=>!ye.绩效总额).map(ye=>ye.ORG_NAME);xe!=null&&xe.length&&a.nextTick(()=>{oe.notification.warning({message:"提示",description:`当前时段${xe.join("、")}绩效数据为空`,duration:3})})}}}catch(Y){console.error(Y)}finally{t.value=!1}},A=({current:G},U,$)=>{if(g.value=G,$&&Object.keys($).length>0){const{field:Y,order:X}=$,J={ascend:"asc",descend:"desc"}[X];Y!=null&&J!=null&&(b.value=Y+" "+J)}z(!1)},k=a.computed(()=>{const G=e.simple,U=[e.paginationPosition],$={};return e.isShowTotal&&($.showTotal=Y=>`共 ${Y} 条数据`),e.paginationShow&&{simple:G,position:U,total:a.unref(m),current:a.unref(g),pageSize:a.unref(w)||"10",showSizeChanger:!1,...$}}),I=G=>+G==1?"是":+G==0?"否":G,D=(G,U,$)=>{if(U==null||U==="")return G;const Y={money:so,percentage:en,contrast:en,boolean:I,decimals:Ws};return U==="decimals"?Y[U](G,$)||"":Y[U](G)||""},P=(G,U)=>{const $=parseFloat(G+"");if(U!=="contrast")return"";switch(!0){case $>=0:return"goUp";case $<0:return"goDown"}},H=pe(e),{getGlobalModel:O,setGlobalModel:V}=a.inject(we,{getGlobalModel:G=>{},setGlobalModel:(G,U)=>{}}),_=(G=[],U=[])=>{const $=G.map(Y=>({title:Y,dataIndex:Y,key:Y}));y.value=v($),h.value=U},L=Ze(e),M=async()=>{var G,U,$,Y;try{t.value=!0;const X=await L();_((U=(G=X==null?void 0:X.data)==null?void 0:G.data)==null?void 0:U.columns,(Y=($=X==null?void 0:X.data)==null?void 0:$.data)==null?void 0:Y.rows)}catch(X){console.error(X)}finally{t.value=!1}},R=a.ref(-1),N=(G,U)=>({onClick:H("rowClick",()=>{const $=e.id,Y=O($);V($,{...Y,RECORD:G}),R.value=U})}),z=(G=!0)=>{switch(e.dataType){case"request":B(G);break;case"indicator":M();break}},F=()=>{const G=e.id,U=O(G);V(G,{...U,RECORD:""})},W=a.computed(()=>{const G=a.unref(u),U=[];let $=0;for(let re=0;re<G.length;re++){const J=G[re],{isCalcTotal:ie}=J;e.isUseSeq&&re===0?U.push({...J,total:"小计"}):ie?(U.push({...J,index:re,total:0}),$++):U.push({...J})}if($===0)return[];const Y=a.unref(l),X=K(U);for(let re=0;re<X.length;re++){const J=X[re];let ie=0;const{isCalcTotal:xe,dataIndex:ye}=J;if(xe===!0){for(let Me=0;Me<Y.length;Me++){const Ee=+Y[Me][ye];isNaN(Ee)||(ie=new y0.Big(ie).add(Ee).toNumber())}J.total=ie}}return X});function K(G){var $;const U=[];for(const Y of G)($=Y.children)!=null&&$.length?U.push(...K(Y.children)):U.push(Y);return U}const{setRequest:Q}=a.inject(Be,{setRequest:G=>{}});typeof Q=="function"&&Q({id:e.id,requestFn:z,sortNum:e.requestSort}),n({refreshData:z});const Z=(G="",U)=>Ae(G,U),ne=G=>{if(G!=="event")return{self:"_self",blank:"_blank"}[G]},ce=(G,U="")=>{G==="event"&&window.parent.postMessage({type:"openPage",url:U},"*")},De=(G,U)=>{G(U.filterCheckboxGroupValue)},Te=(G,U)=>{G({confirm:!0}),U.filterOptionsInputValue="",U.filterCheckboxGroupValue=[]},me=()=>{},ve=G=>{const U=G.dataIndex;if(typeof U=="string"){let $=a.unref(p)[U];const Y=a.unref(G.filterOptionsInputValue).trim();return Array.isArray($)?($=$.filter(X=>typeof X.label=="string"?X.label.toLowerCase().includes(Y.toLowerCase()):!0),$):[]}return[]},Ge=async()=>{var ye,Me;const G="EXPORT_KEY";oe.message.loading({key:G,content:"正在导出...",duration:0});let U=[];if(e.dataType==="static")U=e.data;else if(e.dataType==="request"){const Re={layer:"1"};a.unref(b)&&(Re.orderCondition=a.unref(b));const Ee=await E(Re);U=((Me=(ye=Ee==null?void 0:Ee.data)==null?void 0:ye.data)==null?void 0:Me.rows)||{}}const $=a.unref(u),Y=[],X=[];$==null||$.forEach(Re=>{Y.push(Re.dataIndex),X.push(Re.title)});const re=U.map(Re=>Ye.pick(Re,Y)),J=Rt.utils.book_new(),ie=Rt.utils.aoa_to_sheet([X]),xe=Rt.utils.sheet_add_json(ie,re,{skipHeader:!0,origin:"A2"});Rt.utils.book_append_sheet(J,xe,"sheet"),Rt.writeFile(J,"表格数据.xlsx"),oe.message.success({key:G,content:"导出成功"})},ze=(G,U=2)=>{const $=+G*100;return isNaN($)||$<=0?0:$>=100?100:$.toFixed(U)};ke(e,{resetRecord:F,refreshData:z,exportTableData:Ge});const Ne=a.computed(()=>e.headerBackgroundColor||"#fafafa"),et=(G,U)=>{let $=null;return e.stripedShow&&($=U%2===1?"table-striped":null),$},tt=a.computed(()=>{let G=0;const{height:U,isPageBottom:$}=e;return $&&U&&(G=parseFloat(U)-d()),G?G+"px":"100%"});return{x:f,y:c,style:s,customRow:N,pagination:k,formatFn:D,contrastClass:P,tableChange:A,summaryList:W,loading:t,onTouchHrefEvent:ce,handleHref:Z,handleHrefTarget:ne,useRowIndex:R,tableColumns:u,tableDataSource:l,useFilterOptions:ve,useSetSelectedKeys:De,onResetFilter:Te,onSearchFilterOptions:me,exportTableData:Ge,handleProgressText:ze,pageSizeVisible:i,pageSize:w,tableRef:r,headerBgColor:Ne,rowClassName:et,tableHeight:tt}}}),Xi=()=>{a.useCssVars(e=>({fb2d50b4:e.headerBgColor,"2f8d8c77":e.stripedColor}))},Qi=da.setup;da.setup=Qi?(e,n)=>(Xi(),Qi(e,n)):Xi;const _1="",D1="",Of=["id"],Lf={key:0,class:"table-tool"},Nf=a.createTextVNode("导出数据"),zf=a.createTextVNode(" 搜索 "),Mf=a.createTextVNode(" 重置 "),Pf={key:0},Ff={key:1,class:"action-list"},Hf=["href","target","onClick"],qf={key:2,class:"progress-cell"},Vf={class:"ant-pagination-options-quick-jumper"},jf=a.createTextVNode(" 条 / 页 ");function Gf(e,n,t,o,r,i){const s=a.resolveComponent("a-button"),l=a.resolveComponent("a-input"),f=a.resolveComponent("a-checkbox-group"),c=a.resolveComponent("a-table-summary-cell"),d=a.resolveComponent("a-table-summary-row"),y=a.resolveComponent("a-table-summary"),h=a.resolveComponent("a-table"),u=a.resolveComponent("skeleton");return a.openBlock(),a.createElementBlock("div",{class:"ecan-table",id:"ecanTable-"+e.id,style:a.normalizeStyle(e.style)},[a.createVNode(u,{loading:e.loading},{default:a.withCtx(()=>{var m;return[e.isUseExport?(a.openBlock(),a.createElementBlock("div",Lf,[a.createVNode(s,{class:"export-button",onClick:e.exportTableData},{default:a.withCtx(()=>[Nf]),_:1},8,["onClick"])])):a.createCommentVNode("",!0),a.createVNode(h,{ref:"tableRef",class:"table",style:a.normalizeStyle({height:e.tableHeight}),columns:e.tableColumns,"data-source":e.tableDataSource,bordered:e.bordered,size:e.size,customRow:e.customRow,scroll:e.y?{x:e.x,y:e.y}:{},pagination:e.pagination,"row-class-name":e.rowClassName,onChange:e.tableChange},{customFilterDropdown:a.withCtx(({column:g,selectedKeys:w,setSelectedKeys:T,confirm:x,clearFilters:v})=>[a.createElementVNode("div",{class:"ecan-table-filter",style:a.normalizeStyle({height:e.filterDropdownHeight})},[a.createVNode(l,{value:g.filterOptionsInputValue,"onUpdate:value":p=>g.filterOptionsInputValue=p,placeholder:"请输入关键字",class:"filter-input",onChange:e.onSearchFilterOptions},null,8,["value","onUpdate:value","onChange"]),a.createVNode(f,{value:g.filterCheckboxGroupValue,"onUpdate:value":p=>g.filterCheckboxGroupValue=p,class:"filter-checkbox",options:e.useFilterOptions(g),onChange:p=>e.useSetSelectedKeys(T,g)},null,8,["value","onUpdate:value","options","onChange"]),a.createElementVNode("div",null,[a.createVNode(s,{type:"primary",size:"small",style:{width:"90px","margin-right":"8px"},onClick:()=>x()},{default:a.withCtx(()=>[zf]),_:2},1032,["onClick"]),a.createVNode(s,{size:"small",style:{width:"90px"},onClick:a.withModifiers(p=>e.onResetFilter(v,g),["stop"])},{default:a.withCtx(()=>[Mf]),_:2},1032,["onClick"])])],4)]),bodyCell:a.withCtx(({column:g,index:w,text:T,record:x})=>[g.dataIndex==="SEQ"?(a.openBlock(),a.createElementBlock("span",Pf,a.toDisplayString(w+1),1)):g.dataIndex==="ACTION"?(a.openBlock(),a.createElementBlock("div",Ff,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.actionList,(v,p)=>(a.openBlock(),a.createElementBlock("div",{class:"action",key:p},[a.createElementVNode("a",{href:e.handleHref(v.href,x),target:e.handleHrefTarget(v.target),style:a.normalizeStyle({color:v.color,fontSize:e.fontSize,fontWeight:e.fontWeight}),onClick:C=>e.onTouchHrefEvent(v.target,e.handleHref(v.href,x))},a.toDisplayString(v.title),13,Hf)]))),128))])):g.format==="progress"?(a.openBlock(),a.createElementBlock("div",qf,[a.createElementVNode("div",{class:"progress",style:a.normalizeStyle({background:g.progressColor||"#1890ff",height:g.progressWidth||"18px",width:`${e.handleProgressText(T,g.progressTextDecimalPlaces)}%`})},null,4),a.createElementVNode("div",{class:"progress-text",style:a.normalizeStyle({color:+e.handleProgressText(T)<100?g.progressTextColor||"#333":g.progressFinishedTextColor||"#fff"})},a.toDisplayString(e.handleProgressText(T,g.progressTextDecimalPlaces))+"% ",5)])):(a.openBlock(),a.createElementBlock("div",{key:3,class:a.normalizeClass([e.contrastClass(T,g.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString(g.format!=null?e.formatFn(T,g.format,g.retentiondigit):T),7))]),summary:a.withCtx(()=>[e.summaryList.length>0?(a.openBlock(),a.createBlock(y,{key:0,fixed:e.isSummaryFixed},{default:a.withCtx(()=>[a.createVNode(d,null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(e.summaryList,(g,w)=>(a.openBlock(),a.createBlock(c,{key:w,index:w,style:a.normalizeStyle({backgroundColor:e.cellBackgroundColor,textAlign:g.cellAlign||"center",color:g.cellColor,borderBottomColor:e.borderColor})},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass([e.contrastClass(g.total,g.format)]),style:a.normalizeStyle({fontSize:e.fontSize,fontWeight:e.fontWeight})},a.toDisplayString((g.format!=null||g.format!=="")&&e.formatFn(g.total,g.format,g.retentiondigit)),7)]),_:2},1032,["index","style"]))),128))]),_:1})]),_:1},8,["fixed"])):a.createCommentVNode("",!0)]),_:1},8,["style","columns","data-source","bordered","size","customRow","scroll","pagination","row-class-name","onChange"]),(m=e.tableDataSource)!=null&&m.length&&!e.simple&&e.pageSizeShow&&e.pageSizeVisible?(a.openBlock(),a.createBlock(a.Teleport,{key:1,to:"#ecanTable-"+e.id+" .ant-pagination"},[a.createElementVNode("div",Vf,[a.withDirectives(a.createElementVNode("input",{type:"text","onUpdate:modelValue":n[0]||(n[0]=g=>e.pageSize=g)},null,512),[[a.vModelText,e.pageSize]]),jf])],8,["to"])):a.createCommentVNode("",!0)]}),_:1},8,["loading"])],12,Of)}const Ji=fe(se(da,[["render",Gf],["__scopeId","data-v-835b6bab"]])),ua={...ge,mapJson:null,data:[],name:"地图",keyName:"地图",type:"ecanMap",width:"400px",height:"400px",backgroundImage:"",backgroundImageRepeat:"no-repeat",geoBackgroundImage:"",geoBackgroundImageRepeat:"no-repeat",symbolImage:"",symbolWidth:10,symbolHeight:10,itemStyleColor:"#11BFDA",labelFontSize:14,labelShow:!0,geoLabelShow:!0,geoLabelColor:"#000",geoZoom:1,geoRoam:!1,geoCenter:"",geoLabelFontSize:12,labelColor:"",labelFormatter:"{b}",geoItemStyleAreaColor:"#eee",geoItemStyleBorderColor:"#000",geoItemStyleBorderWidth:1,geoItemStyleShadowColor:"",geoItemStyleShadowOffsetX:0,geoItemStyleShadowOffsetY:0,geoItemStyleShadowBlur:0,geoEmphasisDisabled:!1,geoEmphasisLabelColor:"#fff",geoEmphasisItemStyleAreaColor:"#f00",geoEmphasisItemStyleBorderColor:"#000",tooltipShow:!0,tooltipTextStyleColor:"",tooltipFormatter:"{name}:{value}",tooltipRequestData:{requestUrl:"",requestMethod:"get",requestParams:[]},tooltipBackgroundColor:"#fff"},ha=de(ua),e0=["click"];Pe.use([dt.CanvasRenderer,Xe.MapChart,Xe.ScatterChart,he.VisualMapComponent,he.TooltipComponent,he.GraphicComponent]);const Uf=a.defineComponent({name:"EcanMap",components:{Echarts:nt},props:{...ha},setup(e){const n=Oe(e),t=Oe({...e.tooltipRequestData,requestHeaders:{}}),o=a.ref(),r=a.ref(""),i=a.ref(""),s=ue(e,["backgroundImage"]),l=a.ref(),f=a.computed(()=>gt(e.geoBackgroundImage)),c=a.computed(()=>gt(e.backgroundImage)),d=a.computed(()=>e.geoBackgroundImage?{image:a.unref(l),repeat:e.geoBackgroundImageRepeat}:e.geoItemStyleAreaColor),y=a.computed(()=>{const D=e.symbolImage;return e.symbolImage?"image://"+gt(D):"circle"}),h=D=>{let P=e.tooltipFormatter;const H=P.match(/\{(.+?)\}/g);if(H==null||H.length===0)return P;for(let O=0;O<H.length;O++){const V=H[O];let _=V.slice(1,-1).trim();const L=/[\u4e00-\u9fa5a-z-_A-Z0-9]*/g,M=_.match(L);for(let R=0;R<M.length;R++){const N=M[R],z=D[N];z!=null&&(_=_.replace(N,z))}P=P.replace(V,_)}return P.split(`
118
+ `)},u=a.ref(!1),m=a.ref("");let g=new AbortController;const w=(D,P)=>{const H=g.signal;u.value=!0,r.value=D,t({name:D,signal:H}).then(O=>{var V,_;if(O){const L=((_=(V=O==null?void 0:O.data)==null?void 0:V.data)==null?void 0:_.rows)||[];let M="";for(const R of L){const N=h(R)||[];if(N!=null&&N.length)for(const z of N)M+=`<div style="word-break: break-all;white-space: normal;">${z}</div>`}M=`<div style="max-width:200px;">${M}</div>`,i.value=M,P(a.unref(m),M)}else H.aborted?i.value="Loading":i.value=D,P(a.unref(m),i.value);u.value=!1})},T=a.computed(()=>{const D=e.geoCenter;let P;return typeof D=="string"&&D!==""&&(P=D.split(",")),{tooltip:{show:!0},graphic:[{type:"image",style:{width:parseFloat(e.width),height:parseFloat(e.height),image:a.unref(c)},top:"center"}],geo:{zoom:e.geoZoom,roam:e.geoRoam,center:P,map:`map-${e.id}`,tooltip:{show:e.tooltipShow,trigger:"item",backgroundColor:e.tooltipBackgroundColor,borderColor:"transparent",textStyle:{color:e.tooltipTextStyleColor},formatter:(H,O,V)=>{m.value=O;const{name:_=""}=H,{requestUrl:L}=e.tooltipRequestData;if(!L)return _;if(a.unref(u))a.unref(r)!==_&&(g.abort(),g=new AbortController);else{if(a.unref(r)===_)return a.unref(i);w(_,V)}return"Loading"}},label:{show:e.geoLabelShow,color:e.geoLabelColor,fontSize:e.geoLabelFontSize},itemStyle:{areaColor:a.unref(d),borderColor:e.geoItemStyleBorderColor,borderWidth:e.geoItemStyleBorderWidth,shadowColor:e.geoItemStyleShadowColor,shadowBlur:e.geoItemStyleShadowBlur,shadowOffsetX:e.geoItemStyleShadowOffsetX,shadowOffsetY:e.geoItemStyleShadowOffsetY},emphasis:{disabled:e.geoEmphasisDisabled,label:{color:e.geoEmphasisLabelColor},itemStyle:{areaColor:e.geoEmphasisItemStyleAreaColor,borderColor:e.geoEmphasisItemStyleBorderColor}}},series:[{type:"scatter",coordinateSystem:"geo",itemStyle:{color:e.itemStyleColor},symbol:a.unref(y),symbolSize:[e.symbolWidth,e.symbolHeight],label:{show:e.labelShow,fontSize:e.labelFontSize,formatter:e.labelFormatter,color:e.labelColor},tooltip:{show:e.tooltipShow,textStyle:{color:e.tooltipTextStyleColor}},data:e.data}]}}),x=a.ref(!1),v=async()=>{var H;x.value=!1;const D=e.mapJson,P=`map-${e.id}`;if(D!=null&&D.path){const O=await Ke(((H=window==null?void 0:window.config)==null?void 0:H.uploadPath)+D.path);Pe.registerMap(P,(O==null?void 0:O.data)||{})}else Pe.registerMap(P,{});x.value=!0};a.watch(()=>e.mapJson,()=>{v()},{immediate:!0,deep:!0});const p=async()=>{var D,P;if(e.dataType==="request"){x.value=!1;try{const H=await n(),O=((P=(D=H==null?void 0:H.data)==null?void 0:D.data)==null?void 0:P.rows)||{},V=`map-${e.id}`;if(O!=null&&O.path){const _=await Ke(O.path);Pe.registerMap(V,(_==null?void 0:_.data)||{})}else Pe.registerMap(V,{})}catch(H){console.error(H)}finally{x.value=!0}}},C=()=>{switch(e.dataType){case"request":p();break}},{getGlobalModel:S,setGlobalModel:b}=a.inject(we,{getGlobalModel:D=>{},setGlobalModel:(D,P)=>{}}),B=pe(e)("click",()=>{const D=S(e.id);b(e.id,{...D,RECORD:a.unref(o)})});ke(e,{refreshData:C});const{setRequest:A}=a.inject(Be,{setRequest:D=>{}});return typeof A=="function"&&A({id:e.id,requestFn:C,sortNum:e.requestSort}),{option:T,style:s,isLoadedData:x,geoBackgroundImageRef:l,myGeoBackgroundImage:f,customClick:()=>{a.unref(o)&&B()},onMouseOver:(D={})=>{D.componentType==="geo"&&D.region?o.value=D.region:o.value=null}}}}),I1="",Wf=["src"];function $f(e,n,t,o,r,i){const s=a.resolveComponent("echarts");return a.openBlock(),a.createElementBlock("div",{class:"ecan-map",style:a.normalizeStyle(e.style)},[e.isLoadedData?(a.openBlock(),a.createBlock(s,{key:0,option:e.option,"update-options":{notMerge:!0},autoresize:"","onZr:click":e.customClick,onMouseover:e.onMouseOver},null,8,["option","onZr:click","onMouseover"])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("img",{ref:"geoBackgroundImageRef",src:e.myGeoBackgroundImage},null,8,Wf),[[a.vShow,!1]])],4)}const t0=fe(se(Uf,[["render",$f],["__scopeId","data-v-10f150ac"]])),n0=Object.freeze(Object.defineProperty({__proto__:null,EcanBar:Ni,EcanBorder:Gi,EcanButton:bi,EcanCheckbox:wi,EcanComboGraph:Hi,EcanCustomGraph:Pi,EcanDatePicker:hi,EcanIframe:Yi,EcanImage:Zi,EcanInput:ci,EcanLine:Oi,EcanList:ri,EcanMap:t0,EcanModal:st,EcanPageConfig:$r,EcanPie:Ri,EcanProportion:li,EcanProviderConfig:Zr,EcanRadar:Vi,EcanRadio:Bi,EcanRangePicker:pi,EcanScatter:Mi,EcanScrollText:ti,EcanSelect:Ai,EcanTable:Ji,EcanTabs:Wi,EcanText:ei,EcanTimeDisplay:oi,EcanTreeSelect:Ti,barComponentProps:Wo,barEvents:Li,barProps:Uo,borderComponentProps:na,borderEvents:ji,borderProps:ta,buttonComponentProps:Do,buttonEvents:vi,buttonProps:_o,checkboxComponentProps:Io,checkboxEvents:Si,checkboxProps:Ro,comboGraphComponentProps:Qo,comboGraphEvents:Fi,comboGraphProps:Xo,customGraphComponentProps:Ko,customGraphProps:Yo,datePickerComponentProps:Ao,datePickerEvents:fi,datePickerProps:Co,iframeComponentProps:sa,iframeProps:la,imageComponentProps:ia,imageEvents:$i,imageProps:ra,inputComponentProps:wo,inputEvents:si,inputProps:So,lineComponentProps:Go,lineEvents:Ii,lineProps:jo,listComponentProps:po,listEvents:ai,listProps:yo,mapComponentProps:ha,mapEvents:e0,mapProps:ua,modalComponentProps:Vo,modalEvents:Di,modalProps:qo,pageConfig:yn,pageConfigComponentProps:pn,pieComponentProps:Ho,pieEvents:_i,pieProps:Fo,proportionComponentProps:bo,proportionEvents:ii,proportionProps:vo,providerConfig:co,providerConfigComponentProps:fo,radarComponentProps:ea,radarEvents:qi,radarProps:Jo,radioComponentProps:Po,radioEvents:Ei,radioProps:Mo,rangePickerComponentProps:Eo,rangePickerEvents:gi,rangePickerProps:To,scatterComponentProps:Zo,scatterEvents:zi,scatterProps:$o,selectComponentProps:Lo,selectEvents:Ci,selectProps:Oo,tableComponentProps:fa,tableEvents:Ki,tableProps:ca,tabsComponentProps:aa,tabsEvents:Ui,tabsProps:oa,textComponentProps:ho,textEvents:Yr,textProps:uo,timeDisplayComponentProps:xo,timeDisplayEvents:ni,timeDisplayProps:mo,treeSelectComponentProps:zo,treeSelectEvents:ki,treeSelectProps:No},Symbol.toStringTag,{value:"Module"})),Zf={install:e=>{Object.keys(n0).forEach(n=>{const t=n0[n];t.install&&e.use(t)})}};q.EcanBar=Ni,q.EcanBorder=Gi,q.EcanButton=bi,q.EcanCheckbox=wi,q.EcanComboGraph=Hi,q.EcanCustomGraph=Pi,q.EcanDatePicker=hi,q.EcanIframe=Yi,q.EcanImage=Zi,q.EcanInput=ci,q.EcanLine=Oi,q.EcanList=ri,q.EcanMap=t0,q.EcanModal=st,q.EcanPageConfig=$r,q.EcanPie=Ri,q.EcanProportion=li,q.EcanProviderConfig=Zr,q.EcanRadar=Vi,q.EcanRadio=Bi,q.EcanRangePicker=pi,q.EcanScatter=Mi,q.EcanScrollText=ti,q.EcanSelect=Ai,q.EcanTable=Ji,q.EcanTabs=Wi,q.EcanText=ei,q.EcanTimeDisplay=oi,q.EcanTreeSelect=Ti,q.barComponentProps=Wo,q.barEvents=Li,q.barProps=Uo,q.borderComponentProps=na,q.borderEvents=ji,q.borderProps=ta,q.buttonComponentProps=Do,q.buttonEvents=vi,q.buttonProps=_o,q.checkboxComponentProps=Io,q.checkboxEvents=Si,q.checkboxProps=Ro,q.comboGraphComponentProps=Qo,q.comboGraphEvents=Fi,q.comboGraphProps=Xo,q.customGraphComponentProps=Ko,q.customGraphProps=Yo,q.datePickerComponentProps=Ao,q.datePickerEvents=fi,q.datePickerProps=Co,q.default=Zf,q.iframeComponentProps=sa,q.iframeProps=la,q.imageComponentProps=ia,q.imageEvents=$i,q.imageProps=ra,q.inputComponentProps=wo,q.inputEvents=si,q.inputProps=So,q.lineComponentProps=Go,q.lineEvents=Ii,q.lineProps=jo,q.listComponentProps=po,q.listEvents=ai,q.listProps=yo,q.mapComponentProps=ha,q.mapEvents=e0,q.mapProps=ua,q.modalComponentProps=Vo,q.modalEvents=Di,q.modalProps=qo,q.pageConfig=yn,q.pageConfigComponentProps=pn,q.pieComponentProps=Ho,q.pieEvents=_i,q.pieProps=Fo,q.proportionComponentProps=bo,q.proportionEvents=ii,q.proportionProps=vo,q.providerConfig=co,q.providerConfigComponentProps=fo,q.radarComponentProps=ea,q.radarEvents=qi,q.radarProps=Jo,q.radioComponentProps=Po,q.radioEvents=Ei,q.radioProps=Mo,q.rangePickerComponentProps=Eo,q.rangePickerEvents=gi,q.rangePickerProps=To,q.scatterComponentProps=Zo,q.scatterEvents=zi,q.scatterProps=$o,q.selectComponentProps=Lo,q.selectEvents=Ci,q.selectProps=Oo,q.tableComponentProps=fa,q.tableEvents=Ki,q.tableProps=ca,q.tabsComponentProps=aa,q.tabsEvents=Ui,q.tabsProps=oa,q.textComponentProps=ho,q.textEvents=Yr,q.textProps=uo,q.timeDisplayComponentProps=xo,q.timeDisplayEvents=ni,q.timeDisplayProps=mo,q.treeSelectComponentProps=zo,q.treeSelectEvents=ki,q.treeSelectProps=No,Object.defineProperties(q,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
119
119
  //# sourceMappingURL=index.umd.js.map