UNPKG

e-datav

Version:
38 lines 94.4 kB
!function(A,e){"object"==typeof exports&&"undefined"!=typeof module?e(require("vue")):"function"==typeof define&&define.amd?define(["vue"],e):e((A="undefined"!=typeof globalThis?globalThis:A||self).Vue)}(this,(function(A){"use strict";var e=function(A,e,t,n){var r=(t-e)/A,o=e,c=new Date;n(o);requestAnimationFrame((function i(){var a=new Date-c;a>A?n(o=t):(n(o=e+r*a),requestAnimationFrame(i))}))},t={name:"EDigitalFlop",components:{},props:{value:{type:Number,required:!1,default:1e3},decimals:{type:Number,required:!1,default:0,validator:function(A){return A>=0}},duration:{type:Number,required:!1,default:3e3},fontSize:{type:Number,required:!1,default:50},fontFamily:{type:String,required:!1,default:"electronic"},color:{type:String,required:!1,default:"#000"},separator:{type:String,required:!1,default:""}},data:function(){return{displayVal:0,startVal:0}},computed:{styles:function(){return{fontFamily:"".concat(this.fontFamily),fontSize:"".concat(this.fontSize,"px"),color:this.color}}},watch:{value:function(A,e){this.startVal=e,this.start()}},mounted:function(){this.start()},methods:{start:function(){var A=this;e(this.duration,this.startVal,this.value,(function(e){A.displayVal=A.formatVal(e)}))},formatVal:function(A){var e=A.toFixed(this.decimals),t=String(e).split("."),n=t[0],r=t.length>1?".".concat(t[1]):"",o=/(\d+)(\d{3})/;if(this.separator&&"number"!=typeof this.separator)for(;o.test(n);)n=n.replace(o,"$1"+this.separator+"$2");return"".concat(n).concat(r)}}};function n(A,e,t,n,r,o,c,i,a,s){"boolean"!=typeof c&&(a=i,i=c,c=!1);const u="function"==typeof t?t.options:t;let l;if(A&&A.render&&(u.render=A.render,u.staticRenderFns=A.staticRenderFns,u._compiled=!0,r&&(u.functional=!0)),n&&(u._scopeId=n),o?(l=function(A){(A=A||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(A=__VUE_SSR_CONTEXT__),e&&e.call(this,a(A)),A&&A._registeredComponents&&A._registeredComponents.add(o)},u._ssrRegister=l):e&&(l=c?function(A){e.call(this,s(A,this.$root.$options.shadowRoot))}:function(A){e.call(this,i(A))}),l)if(u.functional){const A=u.render;u.render=function(e,t){return l.call(t),A(e,t)}}else{const A=u.beforeCreate;u.beforeCreate=A?[].concat(A,l):[l]}return t}const r=t;var o=function(){var A=this,e=A.$createElement;return(A._self._c||e)("span",{style:A.styles},[A._v(A._s(A.displayVal))])};o._withStripped=!0;const c=n({render:o,staticRenderFns:[]},undefined,r,undefined,false,undefined,!1,void 0,void 0,void 0);function i(A){A.component(c.name,c)}var a={name:"EFullScreenContainer",props:{type:{type:String,required:!1,default:"full"},width:{type:Number,required:!1,default:1920},height:{type:Number,required:!1,default:1080}},data:function(){return{}},watch:{},methods:{scale:function(){var A=(document.documentElement.clientWidth||window.screen.width)/this.width,e=(document.documentElement.clientHeight||window.screen.height)/this.height,t="1",n="overflow: hidden";switch(this.type){case"full":t="".concat(A,", ").concat(e),n="overflow: hidden";break;case"full-width":t="".concat(A,", ").concat(A),n="overflow-y: scroll";break;case"full-height":t="".concat(e,", ").concat(e),n="overflow-x: scroll";break;case"initial":t="1",n="overflow: auto"}var r="body{transform: scale(".concat(t,"); \n height: ").concat(this.height+"px","; width: ").concat(this.width,"px; \n transform-origin: left top; ").concat(n,";}"),o=document.getElementsByTagName("head")[0],c=document.createElement("style");c.type="text/css",c.appendChild(document.createTextNode(r)),o.appendChild(c)}},beforeMount:function(){var A=this;this.scale(),window.onresize=function(){return A.scale()}}};const s=a;var u=function(){var A=this,e=A.$createElement;return(A._self._c||e)("div",{staticClass:"full-container"},[A._t("default")],2)};u._withStripped=!0;const l=n({render:u,staticRenderFns:[]},undefined,s,undefined,false,undefined,!1,void 0,void 0,void 0);function d(A){A.component(l.name,l)} /* * @Autor: costa * @Date: 2023-07-07 11:28:01 * @LastEditors: costa * @LastEditTime: 2023-08-22 16:43:57 * @Description: 边框组件公共属性 * @Copyright: © 2023 by costa. All rights reserved. */var g={data:function(){return{width:0,height:0}},methods:{init:function(){var A=this;this.$nextTick((function(e){var t=A.$refs[A.ref];A.width=t?t.$el.clientWidth:0,A.height=t?t.$el.clientHeight:0}))}},mounted:function(){this.init()}};function E(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function B(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?E(Object(t),!0).forEach((function(e){w(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):E(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function w(A,e,t){return(e=function(A){var e=function(A,e){if("object"!=typeof A||null===A)return A;var t=A[Symbol.toPrimitive];if(void 0!==t){var n=t.call(A,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(A)}(A,"string");return"symbol"==typeof e?e:String(e)}(e))in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function h(A,e){return e||(e=A.slice(0)),Object.freeze(Object.defineProperties(A,{raw:{value:Object.freeze(e)}}))}function f(A){return function(A){if(Array.isArray(A))return Q(A)}(A)||function(A){if("undefined"!=typeof Symbol&&null!=A[Symbol.iterator]||null!=A["@@iterator"])return Array.from(A)}(A)||function(A,e){if(!A)return;if("string"==typeof A)return Q(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);"Object"===t&&A.constructor&&(t=A.constructor.name);if("Map"===t||"Set"===t)return Array.from(A);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return Q(A,e)}(A)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var D="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".split("");function x(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function C(A,e){for(var t=0;t<e.length;t++){var n=e[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(A,n.key,n)}}function p(A,e,t){return e&&C(A.prototype,e),t&&C(A,t),A}function y(A,e,t){return e in A?Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):A[e]=t,A}function v(A,e){var t=Object.keys(A);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(A);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(A,e).enumerable}))),t.push.apply(t,n)}return t}function I(A){for(var e=1;e<arguments.length;e++){var t=null!=arguments[e]?arguments[e]:{};e%2?v(Object(t),!0).forEach((function(e){y(A,e,t[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(t)):v(Object(t)).forEach((function(e){Object.defineProperty(A,e,Object.getOwnPropertyDescriptor(t,e))}))}return A}function H(A){return function(A){if(Array.isArray(A))return O(A)}(A)||function(A){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(A))return Array.from(A)}(A)||function(A,e){if(!A)return;if("string"==typeof A)return O(A,e);var t=Object.prototype.toString.call(A).slice(8,-1);"Object"===t&&A.constructor&&(t=A.constructor.name);if("Map"===t||"Set"===t)return Array.from(t);if("Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return O(A,e)}(A)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(A,e){(null==e||e>A.length)&&(e=A.length);for(var t=0,n=new Array(e);t<e;t++)n[t]=A[t];return n}var b,M,S=Function.prototype,F=Object.prototype,m=S.toString,P=F.hasOwnProperty,k=m.call(Object),R=F.toString,N=(b=Object.getPrototypeOf,M=Object,function(A){return b(M(A))});var L=function(A){if(!function(A){return!!A&&"object"==typeof A}(A)||"[object Object]"!=R.call(A)||function(A){var e=!1;if(null!=A&&"function"!=typeof A.toString)try{e=!!(A+"")}catch(A){}return e}(A))return!1;var e=N(A);if(null===e)return!0;var t=P.call(e,"constructor")&&e.constructor;return"function"==typeof t&&t instanceof t&&m.call(t)==k},z=/([A-Z])/g,G=/^ms-/;var T=function(A){return function(A){return A.replace(z,"-$1").toLowerCase()}(A).replace(G,"-ms-")},j=function A(e,t){var n=Object.keys(e).map((function(t){return L(e[t])?A(e[t],t):"".concat(T(t),": ").concat(e[t],";")})).join(" ");return t?"".concat(t," {\n ").concat(n,"\n}"):n},U=function A(e,t){return e.reduce((function(e,n){return null==n||!1===n||""===n?e:Array.isArray(n)?[].concat(H(e),H(A(n,t))):"function"==typeof n?t?e.concat.apply(e,H(A([n(t)],t))):e.concat(n):e.concat(L(n)?j(n):n.toString())}),[])},Y=function(A){for(var e=arguments.length,t=new Array(e>1?e-1:0),n=1;n<e;n++)t[n-1]=arguments[n];return U(function(A,e){return e.reduce((function(e,t,n){return e.concat(t,A[n+1])}),[A[0]])}(A,t))};function J(A){return A[A.length-1]}function K(A){for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===A)return document.styleSheets[e]}var X="undefined"!=typeof document&&!0,V=function(){if(X){var A=document.createElement("div");return A.innerHTML="\x3c!--[if lt IE 10]><i></i><![endif]--\x3e",1===A.getElementsByTagName("i").length}}();function W(){var A=document.createElement("style");return A.type="text/css",A.appendChild(document.createTextNode("")),(document.head||document.getElementsByTagName("head")[0]).appendChild(A),A}var _=function(){function A(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.speedy,n=void 0!==t&&t,r=e.maxLength,o=void 0===r?X&&V?4e3:65e3:r;x(this,A),this.isSpeedy=n,this.sheet=void 0,this.tags=[],this.maxLength=o,this.ctr=0}return p(A,[{key:"inject",value:function(){var A=this;if(this.injected)throw new Error("already injected stylesheet!");X?(this.tags[0]=W(),this.sheet=K(this.tags[0])):this.sheet={cssRules:[],insertRule:function(e){var t={cssText:e};return A.sheet.cssRules.push(t),{serverRule:t,appendRule:function(A){return t.cssText+=A}}}},this.injected=!0}},{key:"speedy",value:function(A){if(0!==this.ctr)throw new Error("cannot change speedy mode after inserting any rule to sheet. Either call speedy(".concat(A,") earlier in your app, or call flush() before speedy(").concat(A,")"));this.isSpeedy=!!A}},{key:"_insert",value:function(A){try{this.sheet.insertRule(A,this.sheet.cssRules.length)}catch(e){console.warn("whoops, illegal rule inserted",A)}}},{key:"insert",value:function(A){var e;if(X)if(this.isSpeedy&&this.sheet.insertRule)this._insert(A);else{var t=document.createTextNode(A);J(this.tags).appendChild(t),e={textNode:t,appendRule:function(A){return t.appendData(A)}},this.isSpeedy||(this.sheet=K(J(this.tags)))}else e=this.sheet.insertRule(A);return this.ctr++,X&&this.ctr%this.maxLength==0&&(this.tags.push(W()),this.sheet=K(J(this.tags))),e}},{key:"flush",value:function(){X?(this.tags.forEach((function(A){return A.parentNode.removeChild(A)})),this.tags=[],this.sheet=null,this.ctr=0):this.sheet.cssRules=[],this.injected=!1}},{key:"rules",value:function(){if(!X)return this.sheet.cssRules;var A=[];return this.tags.forEach((function(e){return A.splice.apply(A,[A.length,0].concat(H(Array.from(K(e).cssRules))))})),A}}]),A}(),Z=function(){function A(){x(this,A),this.globalStyleSheet=new _({speedy:!1}),this.componentStyleSheet=new _({speedy:!1,maxLength:40})}return p(A,[{key:"inject",value:function(){this.globalStyleSheet.inject(),this.componentStyleSheet.inject()}},{key:"flush",value:function(){this.globalStyleSheet.sheet&&this.globalStyleSheet.flush(),this.componentStyleSheet.sheet&&this.componentStyleSheet.flush()}},{key:"insert",value:function(A){return((arguments.length>1&&void 0!==arguments[1]?arguments[1]:{global:!1}).global?this.globalStyleSheet:this.componentStyleSheet).insert(A)}},{key:"rules",value:function(){return this.globalStyleSheet.rules().concat(this.componentStyleSheet.rules())}},{key:"injected",get:function(){return this.globalStyleSheet.injected&&this.componentStyleSheet.injected}}]),A}(),q=new Z;function $(A,e){return A(e={exports:{}},e.exports),e.exports}var AA,eA=$((function(A,e){function t(A,e){return A.charCodeAt(e++)+(A.charCodeAt(e++)<<8)+(A.charCodeAt(e++)<<16)+(A.charCodeAt(e)<<24)}function n(A,e){return A.charCodeAt(e++)+(A.charCodeAt(e++)<<8)}function r(A,e){return(65535&(A|=0))*(e|=0)+(((A>>>16)*e&65535)<<16)|0}Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(A,e){var o=1540483477,c=e^A.length,i=A.length,a=0;for(;i>=4;){var s=t(A,a);s=r(s,o),s=r(s^=s>>>24,o),c=r(c,o),c^=s,a+=4,i-=4}switch(i){case 3:c^=n(A,a),c=r(c^=A.charCodeAt(a+2)<<16,o);break;case 2:c=r(c^=n(A,a),o);break;case 1:c=r(c^=A.charCodeAt(a),o)}return c=r(c^=c>>>13,o),(c^=c>>>15)>>>0}})),tA=(AA=eA)&&AA.__esModule&&Object.prototype.hasOwnProperty.call(AA,"default")?AA.default:AA,nA=$((function(A,e){ /* * __ ___ * _____/ /___ __/ (_)____ * / ___/ __/ / / / / / ___/ * (__ ) /_/ /_/ / / (__ ) * /____/\__/\__, /_/_/____/ * /____/ * * light - weight css preprocessor @licence MIT */ A.exports=function A(e){var t=/^\0+/g,n=/[\0\r\f]/g,r=/: */g,o=/zoo|gra/,c=/([,: ])(transform)/g,i=/,+\s*(?![^(]*[)])/g,a=/ +\s*(?![^(]*[)])/g,s=/ *[\0] */g,u=/,\r+?/g,l=/([\t\r\n ])*\f?&/g,d=/:global\(((?:[^\(\)\[\]]*|\[.*\]|\([^\(\)]*\))*)\)/g,g=/\W+/g,E=/@(k\w+)\s*(\S*)\s*/,B=/::(place)/g,w=/:(read-only)/g,h=/\s+(?=[{\];=:>])/g,f=/([[}=:>])\s+/g,Q=/(\{[^{]+?);(?=\})/g,D=/\s{2,}/g,x=/([^\(])(:+) */g,C=/[svh]\w+-[tblr]{2}/,p=/\(\s*(.*)\s*\)/g,y=/([\s\S]*?);/g,v=/-self|flex-/g,I=/[^]*?(:[rp][el]a[\w-]+)[^]*/,H=/stretch|:\s*\w+\-(?:conte|avail)/,O=/([^-])(image-set\()/,b="-webkit-",M="-moz-",S="-ms-",F=59,m=125,P=123,k=40,R=41,N=91,L=93,z=10,G=13,T=9,j=64,U=32,Y=38,J=45,K=95,X=42,V=44,W=58,_=39,Z=34,q=47,$=62,AA=43,eA=126,tA=0,nA=12,rA=11,oA=107,cA=109,iA=115,aA=112,sA=111,uA=105,lA=99,dA=100,gA=112,EA=1,BA=1,wA=0,hA=1,fA=1,QA=1,DA=0,xA=0,CA=0,pA=[],yA=[],vA=0,IA=null,HA=-2,OA=-1,bA=0,MA=1,SA=2,FA=3,mA=0,PA=1,kA="",RA="",NA="";function LA(A,e,r,o,c){for(var i,a,s=0,u=0,l=0,d=0,g=0,h=0,f=0,Q=0,D=0,x=0,C=0,y=0,v=0,I=0,H=0,O=0,K=0,QA=0,DA=0,yA=r.length,IA=yA-1,HA="",OA="",GA="",YA="",VA="",WA="";H<yA;){if(f=r.charCodeAt(H),H===IA&&u+d+l+s!==0&&(0!==u&&(f=u===q?z:q),d=l=s=0,yA++,IA++),u+d+l+s===0){if(H===IA&&(O>0&&(OA=OA.replace(n,"")),OA.trim().length>0)){switch(f){case U:case T:case F:case G:case z:break;default:OA+=r.charAt(H)}f=F}if(1===K)switch(f){case P:case m:case F:case Z:case _:case k:case R:case V:K=0;case T:case G:case z:case U:break;default:for(K=0,DA=H,g=f,H--,f=F;DA<yA;)switch(r.charCodeAt(DA++)){case z:case G:case F:++H,f=g,DA=yA;break;case W:O>0&&(++H,f=g);case P:DA=yA}}switch(f){case P:for(g=(OA=OA.trim()).charCodeAt(0),C=1,DA=++H;H<yA;){switch(f=r.charCodeAt(H)){case P:C++;break;case m:C--;break;case q:switch(h=r.charCodeAt(H+1)){case X:case q:H=XA(h,H,IA,r)}break;case N:f++;case k:f++;case Z:case _:for(;H++<IA&&r.charCodeAt(H)!==f;);}if(0===C)break;H++}if(GA=r.substring(DA,H),g===tA&&(g=(OA=OA.replace(t,"").trim()).charCodeAt(0)),g===j){switch(O>0&&(OA=OA.replace(n,"")),h=OA.charCodeAt(1)){case dA:case cA:case iA:case J:i=e;break;default:i=pA}if(DA=(GA=LA(e,i,GA,h,c+1)).length,CA>0&&0===DA&&(DA=OA.length),vA>0&&(i=zA(pA,OA,QA),a=KA(FA,GA,i,e,BA,EA,DA,h,c,o),OA=i.join(""),void 0!==a&&0===(DA=(GA=a.trim()).length)&&(h=0,GA="")),DA>0)switch(h){case iA:OA=OA.replace(p,UA);case dA:case cA:case J:GA=OA+"{"+GA+"}";break;case oA:GA=(OA=OA.replace(E,"$1 $2"+(PA>0?kA:"")))+"{"+GA+"}",GA=1===fA||2===fA&&jA("@"+GA,3)?"@"+b+GA+"@"+GA:"@"+GA;break;default:GA=OA+GA,o===gA&&(YA+=GA,GA="")}else GA=""}else GA=LA(e,zA(e,OA,QA),GA,o,c+1);VA+=GA,y=0,K=0,I=0,O=0,QA=0,v=0,OA="",GA="",f=r.charCodeAt(++H);break;case m:case F:if((DA=(OA=(O>0?OA.replace(n,""):OA).trim()).length)>1)switch(0===I&&((g=OA.charCodeAt(0))===J||g>96&&g<123)&&(DA=(OA=OA.replace(" ",":")).length),vA>0&&void 0!==(a=KA(MA,OA,e,A,BA,EA,YA.length,o,c,o))&&0===(DA=(OA=a.trim()).length)&&(OA="\0\0"),g=OA.charCodeAt(0),h=OA.charCodeAt(1),g){case tA:break;case j:if(h===uA||h===lA){WA+=OA+r.charAt(H);break}default:if(OA.charCodeAt(DA-1)===W)break;YA+=TA(OA,g,h,OA.charCodeAt(2))}y=0,K=0,I=0,O=0,QA=0,OA="",f=r.charCodeAt(++H)}}switch(f){case G:case z:if(u+d+l+s+xA===0)switch(x){case R:case _:case Z:case j:case eA:case $:case X:case AA:case q:case J:case W:case V:case F:case P:case m:break;default:I>0&&(K=1)}u===q?u=0:hA+y===0&&o!==oA&&OA.length>0&&(O=1,OA+="\0"),vA*mA>0&&KA(bA,OA,e,A,BA,EA,YA.length,o,c,o),EA=1,BA++;break;case F:case m:if(u+d+l+s===0){EA++;break}default:switch(EA++,HA=r.charAt(H),f){case T:case U:if(d+s+u===0)switch(Q){case V:case W:case T:case U:HA="";break;default:f!==U&&(HA=" ")}break;case tA:HA="\\0";break;case nA:HA="\\f";break;case rA:HA="\\v";break;case Y:d+u+s===0&&hA>0&&(QA=1,O=1,HA="\f"+HA);break;case 108:if(d+u+s+wA===0&&I>0)switch(H-I){case 2:Q===aA&&r.charCodeAt(H-3)===W&&(wA=Q);case 8:D===sA&&(wA=D)}break;case W:d+u+s===0&&(I=H);break;case V:u+l+d+s===0&&(O=1,HA+="\r");break;case Z:case _:0===u&&(d=d===f?0:0===d?f:d);break;case N:d+u+l===0&&s++;break;case L:d+u+l===0&&s--;break;case R:d+u+s===0&&l--;break;case k:d+u+s===0&&(0===y&&(2*Q+3*D==533||(C=0,y=1)),l++);break;case j:u+l+d+s+I+v===0&&(v=1);break;case X:case q:if(d+s+l>0)break;switch(u){case 0:switch(2*f+3*r.charCodeAt(H+1)){case 235:u=q;break;case 220:DA=H,u=X}break;case X:f===q&&Q===X&&DA+2!==H&&(33===r.charCodeAt(DA+2)&&(YA+=r.substring(DA,H+1)),HA="",u=0)}}if(0===u){if(hA+d+s+v===0&&o!==oA&&f!==F)switch(f){case V:case eA:case $:case AA:case R:case k:if(0===y){switch(Q){case T:case U:case z:case G:HA+="\0";break;default:HA="\0"+HA+(f===V?"":"\0")}O=1}else switch(f){case k:I+7===H&&108===Q&&(I=0),y=++C;break;case R:0==(y=--C)&&(O=1,HA+="\0")}break;case T:case U:switch(Q){case tA:case P:case m:case F:case V:case nA:case T:case U:case z:case G:break;default:0===y&&(O=1,HA+="\0")}}OA+=HA,f!==U&&f!==T&&(x=f)}}D=Q,Q=f,H++}if(DA=YA.length,CA>0&&0===DA&&0===VA.length&&0===e[0].length==0&&(o!==cA||1===e.length&&(hA>0?RA:NA)===e[0])&&(DA=e.join(",").length+2),DA>0){if(i=0===hA&&o!==oA?JA(e):e,vA>0&&void 0!==(a=KA(SA,YA,i,A,BA,EA,DA,o,c,o))&&0===(YA=a).length)return WA+YA+VA;if(YA=i.join(",")+"{"+YA+"}",fA*wA!=0){switch(2!==fA||jA(YA,2)||(wA=0),wA){case sA:YA=YA.replace(w,":"+M+"$1")+YA;break;case aA:YA=YA.replace(B,"::"+b+"input-$1")+YA.replace(B,"::"+M+"$1")+YA.replace(B,":"+S+"input-$1")+YA}wA=0}}return WA+YA+VA}function zA(A,e,t){var n=e.trim().split(u),r=n,o=n.length,c=A.length;switch(c){case 0:case 1:for(var i=0,a=0===c?"":A[0]+" ";i<o;++i)r[i]=GA(a,r[i],t,c).trim();break;default:i=0;var s=0;for(r=[];i<o;++i)for(var l=0;l<c;++l)r[s++]=GA(A[l]+" ",n[i],t,c).trim()}return r}function GA(A,e,t,n){var r=e,o=r.charCodeAt(0);switch(o<33&&(o=(r=r.trim()).charCodeAt(0)),o){case Y:switch(hA+n){case 0:case 1:if(0===A.trim().length)break;default:return r.replace(l,"$1"+A.trim())}break;case W:if(103!==r.charCodeAt(1))return A.trim()+r.replace(l,"$1"+A.trim());if(QA>0&&hA>0)return r.replace(d,"$1").replace(l,"$1"+NA);default:if(t*hA>0&&r.indexOf("\f")>0)return r.replace(l,(A.charCodeAt(0)===W?"":"$1")+A.trim())}return A+r}function TA(A,e,t,n){var i,a=0,s=A+";",u=2*e+3*t+4*n;if(944===u)return YA(s);if(0===fA||2===fA&&!jA(s,1))return s;switch(u){case 1015:return 97===s.charCodeAt(10)?b+s+s:s;case 951:return 116===s.charCodeAt(3)?b+s+s:s;case 963:return 110===s.charCodeAt(5)?b+s+s:s;case 1009:if(100!==s.charCodeAt(4))break;case 969:case 942:return b+s+s;case 978:return b+s+M+s+s;case 1019:case 983:return b+s+M+s+S+s+s;case 883:return s.charCodeAt(8)===J?b+s+s:s.indexOf("image-set(",11)>0?s.replace(O,"$1"+b+"$2")+s:s;case 932:if(s.charCodeAt(4)===J)switch(s.charCodeAt(5)){case 103:return b+"box-"+s.replace("-grow","")+b+s+S+s.replace("grow","positive")+s;case 115:return b+s+S+s.replace("shrink","negative")+s;case 98:return b+s+S+s.replace("basis","preferred-size")+s}return b+s+S+s+s;case 964:return b+s+S+"flex-"+s+s;case 1023:if(99!==s.charCodeAt(8))break;return i=s.substring(s.indexOf(":",15)).replace("flex-","").replace("space-between","justify"),b+"box-pack"+i+b+s+S+"flex-pack"+i+s;case 1005:return o.test(s)?s.replace(r,":"+b)+s.replace(r,":"+M)+s:s;case 1e3:switch(a=(i=s.substring(13).trim()).indexOf("-")+1,i.charCodeAt(0)+i.charCodeAt(a)){case 226:i=s.replace(C,"tb");break;case 232:i=s.replace(C,"tb-rl");break;case 220:i=s.replace(C,"lr");break;default:return s}return b+s+S+i+s;case 1017:if(-1===s.indexOf("sticky",9))return s;case 975:switch(a=(s=A).length-10,u=(i=(33===s.charCodeAt(a)?s.substring(0,a):s).substring(A.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|i.charCodeAt(7))){case 203:if(i.charCodeAt(8)<111)break;case 115:s=s.replace(i,b+i)+";"+s;break;case 207:case 102:s=s.replace(i,b+(u>102?"inline-":"")+"box")+";"+s.replace(i,b+i)+";"+s.replace(i,S+i+"box")+";"+s}return s+";";case 938:if(s.charCodeAt(5)===J)switch(s.charCodeAt(6)){case 105:return i=s.replace("-items",""),b+s+b+"box-"+i+S+"flex-"+i+s;case 115:return b+s+S+"flex-item-"+s.replace(v,"")+s;default:return b+s+S+"flex-line-pack"+s.replace("align-content","").replace(v,"")+s}break;case 973:case 989:if(s.charCodeAt(3)!==J||122===s.charCodeAt(4))break;case 931:case 953:if(!0===H.test(A))return 115===(i=A.substring(A.indexOf(":")+1)).charCodeAt(0)?TA(A.replace("stretch","fill-available"),e,t,n).replace(":fill-available",":stretch"):s.replace(i,b+i)+s.replace(i,M+i.replace("fill-",""))+s;break;case 962:if(s=b+s+(102===s.charCodeAt(5)?S+s:"")+s,t+n===211&&105===s.charCodeAt(13)&&s.indexOf("transform",10)>0)return s.substring(0,s.indexOf(";",27)+1).replace(c,"$1"+b+"$2")+s}return s}function jA(A,e){var t=A.indexOf(1===e?":":"{"),n=A.substring(0,3!==e?t:10),r=A.substring(t+1,A.length-1);return IA(2!==e?n:n.replace(I,"$1"),r,e)}function UA(A,e){var t=TA(e,e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2));return t!==e+";"?t.replace(y," or ($1)").substring(4):"("+e+")"}function YA(A){var e=A.length,t=A.indexOf(":",9)+1,n=A.substring(0,t).trim(),r=A.substring(t,e-1).trim();switch(A.charCodeAt(9)*PA){case 0:break;case J:if(110!==A.charCodeAt(10))break;default:var o=r.split((r="",i)),c=0;for(t=0,e=o.length;c<e;t=0,++c){for(var s=o[c],u=s.split(a);s=u[t];){var l=s.charCodeAt(0);if(1===PA&&(l>j&&l<90||l>96&&l<123||l===K||l===J&&s.charCodeAt(1)!==J)&&isNaN(parseFloat(s))+(-1!==s.indexOf("("))===1)switch(s){case"infinite":case"alternate":case"backwards":case"running":case"normal":case"forwards":case"both":case"none":case"linear":case"ease":case"ease-in":case"ease-out":case"ease-in-out":case"paused":case"reverse":case"alternate-reverse":case"inherit":case"initial":case"unset":case"step-start":case"step-end":break;default:s+=kA}u[t++]=s}r+=(0===c?"":",")+u.join(" ")}}return r=n+r+";",1===fA||2===fA&&jA(r,1)?b+r+r:r}function JA(A){for(var e,t,r=0,o=A.length,c=Array(o);r<o;++r){for(var i=A[r].split(s),a="",u=0,l=0,d=0,g=0,E=i.length;u<E;++u)if(!(0===(l=(t=i[u]).length)&&E>1)){if(d=a.charCodeAt(a.length-1),g=t.charCodeAt(0),e="",0!==u)switch(d){case X:case eA:case $:case AA:case U:case k:break;default:e=" "}switch(g){case Y:t=e+RA;case eA:case $:case AA:case U:case R:case k:break;case N:t=e+t+RA;break;case W:switch(2*t.charCodeAt(1)+3*t.charCodeAt(2)){case 530:if(QA>0){t=e+t.substring(8,l-1);break}default:(u<1||i[u-1].length<1)&&(t=e+RA+t)}break;case V:e="";default:t=l>1&&t.indexOf(":")>0?e+t.replace(x,"$1"+RA+"$2"):e+t+RA}a+=t}c[r]=a.replace(n,"").trim()}return c}function KA(A,e,t,n,r,o,c,i,a,s){for(var u,l=0,d=e;l<vA;++l)switch(u=yA[l].call(ZA,A,d,t,n,r,o,c,i,a,s)){case void 0:case!1:case!0:case null:break;default:d=u}if(d!==e)return d}function XA(A,e,t,n){for(var r=e+1;r<t;++r)switch(n.charCodeAt(r)){case q:if(A===X&&n.charCodeAt(r-1)===X&&e+2!==r)return r+1;break;case z:if(A===q)return r+1}return r}function VA(A){return A.replace(n,"").replace(h,"").replace(f,"$1").replace(Q,"$1").replace(D," ")}function WA(A){switch(A){case void 0:case null:vA=yA.length=0;break;default:if("function"==typeof A)yA[vA++]=A;else if("object"==typeof A)for(var e=0,t=A.length;e<t;++e)WA(A[e]);else mA=0|!!A}return WA}function _A(A){for(var e in A){var t=A[e];switch(e){case"keyframe":PA=0|t;break;case"global":QA=0|t;break;case"cascade":hA=0|t;break;case"compress":DA=0|t;break;case"semicolon":xA=0|t;break;case"preserve":CA=0|t;break;case"prefix":IA=null,t?"function"!=typeof t?fA=1:(fA=2,IA=t):fA=0}}return _A}function ZA(e,t){if(void 0!==this&&this.constructor===ZA)return A(e);var n=e,r=n.charCodeAt(0);r<33&&(r=(n=n.trim()).charCodeAt(0)),PA>0&&(kA=n.replace(g,r===N?"":"-")),r=1,1===hA?NA=n:RA=n;var o,c=[NA];vA>0&&void 0!==(o=KA(OA,t,c,c,BA,EA,0,0,0,0))&&"string"==typeof o&&(t=o);var i=LA(pA,c,t,0,0);return vA>0&&void 0!==(o=KA(HA,i,c,c,BA,EA,i.length,0,0,0))&&"string"!=typeof(i=o)&&(r=0),kA="",NA="",RA="",wA=0,BA=1,EA=1,DA*r==0?i:VA(i)}return ZA.use=WA,ZA.set=_A,void 0!==e&&_A(e),ZA}(null)})),rA=function(){function A(e,t){x(this,A),this.rules=e,this.selector=t}return p(A,[{key:"generateAndInject",value:function(){q.injected||q.inject();var A=U(this.rules).join(""),e=this.selector?"".concat(this.selector," { ").concat(A," }"):A,t=nA("",e,!1,!1);q.insert(t,{global:!0})}}]),A}(),oA=Object.prototype.hasOwnProperty;function cA(A,e,t){var n=A[e];oA.call(A,e)&&function(A,e){return A===e||A!=A&&e!=e}(n,t)&&(void 0!==t||e in A)||(A[e]=t)}var iA=function(A,e){return function(A,e,t){for(var n=-1,r=A.length,o=e.length,c={};++n<r;){var i=n<o?e[n]:void 0;t(c,A[n],i)}return c}(A||[],e||[],cA)};function aA(){var A=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Array.isArray(A)?iA(A):A}function sA(A){return A&&("function"==typeof A.render||"string"==typeof A.template)}var uA=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];function lA(A){return function(A){return A&&A.methods&&"function"==typeof A.methods.generateAndInjectStyles}(A)||sA(A)||function(A){if("string"==typeof A)return-1!==uA.indexOf(A)}(A)}var dA,gA,EA,BA,wA=function(A){var e=function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!lA(t))throw new Error(t+" is not allowed for styled tag type.");var o=function(e){for(var o=arguments.length,c=new Array(o>1?o-1:0),i=1;i<o;i++)c[i-1]=arguments[i];return A(t,Y.apply(void 0,[e].concat(c)),n,r)};return o.attrs=function(A){return e(t,n,I({},r,{attrs:Array.prototype.concat(r.attrs,A).filter(Boolean)}))},o};return uA.forEach((function(A){e[A]=e(A)})),e}(function(A){return function e(t,n,r,o){var c=o.attrs,i=void 0===c?[]:c,a=new A(n),s=aA(r),u=aA(t.props),l={inject:{$theme:{default:function(){return function(){return{}}}}},props:I({as:[String,Object],value:null},s,{},u),data:function(){return{localValue:this.value}},render:function(A){var e=this,n=[];for(var r in this.$slots)"default"===r?n.push(this.$slots[r]):n.push(A("template",{slot:r},this.$slots[r]));return A(sA(t)?t:this.$props.as||t,{class:[this.generatedClassName],props:this.$props,domProps:I({},this.attrs,{value:this.localValue}),on:I({},this.$listeners,{input:function(A){A&&A.target&&(e.localValue=A.target.value)}}),scopedSlots:this.$scopedSlots},n)},methods:{generateAndInjectStyles:function(A){return a.generateAndInjectStyles(A)}},computed:{generatedClassName:function(){var A=I({},this.context,{},this.attrs);return this.generateAndInjectStyles(A)},theme:function(){return this.$theme()},context:function(){return I({theme:this.theme},this.$props)},attrs:function(){var A={},e=this.context;return i.forEach((function(t){var n=t;for(var r in"function"==typeof n&&(n=n(e)),n)e[r]=A[r]=n[r]})),A}},watch:{value:function(A){this.localValue=A},localValue:function(){this.$emit("input",this.localValue)}},extend:function(A){for(var c=arguments.length,i=new Array(c>1?c-1:0),a=1;a<c;a++)i[a-1]=arguments[a];var s=Y.apply(void 0,[A].concat(i));return e(t,n.concat(s),r,o)},withComponent:function(A){return e(A,n,r,o)}};return l}}(function(A){var e={},t=function(){function t(A){x(this,t),this.rules=A,nA.set({keyframe:!1}),q.injected||q.inject(),this.insertedRule=q.insert("")}return p(t,[{key:"generateAndInjectStyles",value:function(t){var n=U(this.rules,t).join("").replace(/^\s*\/\/.*$/gm,""),r=tA(n);if(!e[r]){var o=A(r);e[r]=o;var c=nA(".".concat(o),n);this.insertedRule.appendRule(c)}return e[r]}}]),t}();return t}((function A(e){var t=D[e%D.length];return e>D.length?"".concat(A(Math.floor(e/D.length))).concat(t):t})))),hA=Y(dA||(dA=h(["\n position: relative;\n width: 100%;\n height: 100%;\n"]))),fA=wA.div(gA||(gA=h(["\n ","\n"])),(function(){return hA})),QA=wA.svg(EA||(EA=h(["\n position: absolute;\n width: 100%;\n height: 100%;\n top: 0px;\n left: 0px;\n"]))),DA=wA.div(BA||(BA=h(["\n ","\n"])),(function(){return hA}));function xA(){return Date.now().toString(36)+Math.random().toString(36).substring(3)}const CA={name:"EBorderBox1",components:{BorderBox:DA,BorderContent:fA,BorderSvgContainer:QA},mixins:[g],props:{borderRadius:{type:Number,required:!1,default:3},borderWidth:{type:Number,required:!1,default:3},colors:{type:Array,required:!1,default:function(){return["#5ddcff","#4e00c2"]},validator:function(A){return 2===A.length}},duration:{type:Number,required:!1,default:4}},data:function(){return{ref:"e-border-box-1",uniqueId:xA()}}};var pA=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("border-box",{ref:A.ref,class:A.ref},[t("border-svg-container",{attrs:{height:A.height,width:A.width}},[t("defs",[t("linearGradient",{attrs:{id:A.uniqueId,x1:"50%",y1:"0%",x2:"75%",y2:"100%"}},[t("stop",{attrs:{offset:"0%","stop-color":A.colors[0]}},[t("animate",{attrs:{attributeName:"stop-color",values:A.colors[1]+";"+A.colors[0]+";"+A.colors[1],dur:A.duration+"s",repeatCount:"indefinite"}})]),A._v(" "),t("stop",{attrs:{offset:"100%","stop-color":A.colors[1]}},[t("animate",{attrs:{attributeName:"stop-color",values:A.colors[0]+";"+A.colors[1]+";"+A.colors[0],dur:A.duration+"s",repeatCount:"indefinite"}})])],1)],1),A._v(" "),t("rect",{attrs:{x:A.borderWidth,y:A.borderWidth,rx:A.borderRadius,height:A.height>0?A.height-2*A.borderWidth:0,width:A.width>0?A.width-2*A.borderWidth:0,stroke:"url('#"+A.uniqueId+"')",fill:"transparent","stroke-width":A.borderWidth}})]),A._v(" "),t("border-content",[A._t("default")],2)],1)};pA._withStripped=!0;const yA=n({render:pA,staticRenderFns:[]},undefined,CA,undefined,false,undefined,!1,void 0,void 0,void 0);function vA(A){A.component(yA.name,yA)}var IA;const HA={name:"EBorderBox2",components:{BorderContainer:wA("div",{borderColor:{type:String,default:"#4cc7f3"},borderWidth:{type:Number,default:2},lineWidth:{type:Number,default:10},backgroundColor:{type:String,default:"rgba(76, 199, 243, 0.15)"}})(IA||(IA=h(["\n position: relative;\n width: 100%;\n height: 100%;\n background-origin: content-box;\n background-color: ",";\n background-image:\n linear-gradient("," ","px, transparent ","px, transparent calc(100% - ","px), "," ","px),\n linear-gradient(90deg, "," ","px, transparent ","px, transparent calc(100% - ","px), "," ","px),\n linear-gradient("," ","px, transparent ","px, transparent calc(100% - ","px), "," ","px),\n linear-gradient(90deg, "," ","px, transparent ","px, transparent calc(100% - ","px), "," ","px);\n background-repeat: no-repeat;\n background-position: top left, top left, bottom right, bottom right;\n background-size: ","px 100%, 100% ","px;\n"])),(function(A){return A.backgroundColor}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderWidth}),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.lineWidth}),(function(A){return A.lineWidth}))},mixins:[g],props:{borderColor:{type:String,default:"#4cc7f3"},borderWidth:{type:Number,default:2},lineWidth:{type:Number,default:10},backgroundColor:{type:String,default:"rgba(76, 199, 243, 0.15)"}},data:function(){return{ref:"e-border-box-2"}}};var OA=function(){var A=this,e=A.$createElement;return(A._self._c||e)("border-container",{ref:A.ref,class:A.ref,attrs:{"border-color":A.borderColor,"border-width":A.borderWidth,"line-width":A.lineWidth,"background-color":A.backgroundColor}},[A._t("default")],2)};OA._withStripped=!0;const bA=n({render:OA,staticRenderFns:[]},undefined,HA,undefined,false,undefined,!1,void 0,void 0,void 0); /* * @Autor: costa * @Date: 2023-07-26 17:58:10 * @LastEditors: costa * @LastEditTime: 2023-07-27 13:54:53 * @Description: * @Copyright: © 2023 by costa. All rights reserved. */ function MA(A){A.component(bA.name,bA)}var SA,FA,mA={backgroundColor:{type:String,default:"#00ecfb"},height:{type:Number,default:20},textPosition:{type:String,default:""},width:{type:Number,default:20},fontSize:{type:Number,default:16},fontColor:{type:String,default:"#000"}};const PA={name:"EBorderBox3",components:{BorderContainer:wA("div",{borderColor:{type:String,default:"#00ecfb"},borderWidth:{type:Number,default:2},backgroundColor:{type:String,default:"#00ecfb26"}})(SA||(SA=h(["\n --color: ",";\n border-radius: 20px;\n position: relative;\n width: 100%;\n height: 100%;\n border: ","px solid var(--color);\n background-color: ",";\n box-shadow: 0 0 15px var(--color), 0 0 15px var(--color) inset;\n"])),(function(A){return A.borderColor}),(function(A){return A.borderWidth}),(function(A){return A.backgroundColor})),BorderTitle:wA("div",mA)(FA||(FA=h(["\n --height: ",";\n --width: ","\n --color: ",";\n color: ",";\n background-color: ",";\n position: absolute;\n top: calc(var(--height) * -0.5);\n left: ",";\n right: ",";\n height: var(--height);\n font-weight: bold;\n line-height: var(--height);\n font-size: ","px;\n filter: drop-shadow(0 0 8px var(--color));\n padding: 0 10px;\n transform: ",";\n\n ::before {\n content: '';\n position: absolute;\n right: 100%;\n display: inline-block;\n width: 0;\n height: 0;\n border-top: ",";\n border-bottom: ",";\n border-left: var(--height) solid transparent;\n }\n\n ::after {\n content: '';\n position: absolute;\n left: 100%;\n display: inline-block;\n width: 0;\n height: 0;\n border-top: ",";\n border-right: var(--height) solid transparent;\n border-bottom: ",";\n }\n"])),(function(A){return 0===A.height?"auto":A.height+"px"}),(function(A){return 0===A.width?"auto":A.width+"px"}),(function(A){return A.backgroundColor}),(function(A){return A.fontColor}),(function(A){return A.backgroundColor}),(function(A){return"left"===A.textPosition?"calc(var(--height) * 1.5)":"center"===A.textPosition?"50%":"auto"}),(function(A){return"right"===A.textPosition?"calc(var(--height) * 1.5)":"auto"}),(function(A){return A.fontSize}),(function(A){return"center"===A.textPosition?"translateX(calc(var(--width) * -0.5))":""}),(function(A){return"right"===A.textPosition?"":"var(--height) solid var(--color)"}),(function(A){return"right"===A.textPosition?"var(--height) solid var(--color)":""}),(function(A){return"left"===A.textPosition?"":"var(--height) solid var(--color)"}),(function(A){return"left"===A.textPosition?"var(--height) solid var(--color)":""}))},mixins:[g],props:{borderColor:{type:String,default:"#00ecfb"},borderWidth:{type:Number,default:2},backgroundColor:{type:String,default:"#00ecfb26"},fontSize:{type:Number,default:16},fontColor:{type:String,default:"#000"},textPosition:{type:String,default:"left"},text:{type:String,default:"",validator:function(A){return!!A}}},data:function(){return{ref:"e-border-box-3",titleRef:"e-border-box-3-title",titleSize:{width:0,height:0}}},mounted:function(){var A=this;this.$nextTick((function(e){var t=A.$refs[A.titleRef];A.titleSize={width:t?t.$el.clientWidth:0,height:t?t.$el.clientHeight:0}}))}};var kA=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("border-container",{ref:A.ref,class:A.ref,attrs:{"border-color":A.borderColor,"border-width":A.borderWidth,"background-color":A.backgroundColor}},[t("border-title",{ref:A.titleRef,attrs:{width:A.titleSize.width,height:A.titleSize.height,"font-size":A.fontSize,"font-color":A.fontColor,"text-position":A.textPosition,"background-color":A.borderColor}},[A._v(A._s(A.text))]),A._v(" "),A._t("default")],2)};kA._withStripped=!0;const RA=n({render:kA,staticRenderFns:[]},undefined,PA,undefined,false,undefined,!1,void 0,void 0,void 0);function NA(A){A.component(RA.name,RA)}var LA,zA,GA,TA={symbolId:{type:String},value:{type:Number},waveColors:{type:Array}},jA=wA("div",{fontSize:{type:Number},fontColor:{type:String},backgroundColor:{type:String}})(LA||(LA=h(["\n height: 100%;\n width: 100%;\n position: absolute;\n top: 0px;\n left: 0px;\n background: ",";\n border-radius: 100%;\n overflow: hidden;\n\n .percent {\n position: absolute;\n left: 0;\n top: 0;\n z-index: 3;\n width: 100%;\n height: 100%;\n display: flex;\n display: -webkit-flex;\n align-items: center;\n justify-content: center;\n color: ",";\n font-size: ","px;\n }\n"])),(function(A){return A.backgroundColor}),(function(A){return A.fontColor}),(function(A){return A.fontSize})),UA=wA("div",TA)(zA||(zA=h(["\n position: absolute;\n left: 0;\n top: 0;\n z-index: 2;\n width: 100%;\n height: 100%;\n transform: translate(0, ","%);\n background: ",";\n transition: all .3s;\n\n.water_wave {\n width: 200%;\n position: absolute;\n bottom: 100%;\n}\n\n.water_wave_back {\n right: 0;\n fill: ",";\n -webkit-animation: wave-back-"," 2s infinite linear;\n animation: wave-back-"," 2s infinite linear;\n}\n\n.water_wave_front {\n left: 0;\n fill: ",";\n margin-bottom: -1px;\n -webkit-animation: wave-front-"," 1s infinite linear;\n animation: wave-front-"," 1s infinite linear;\n}\n\n@keyframes wave-front-"," {\n 100% {\n -webkit-transform: translate(-50%, 0);\n transform: translate(-50%, 0);\n }\n}\n\n@keyframes wave-back-"," {\n 100% {\n -webkit-transform: translate(50%, 0);\n transform: translate(50%, 0);\n }\n}\n"])),(function(A){return 100-A.value}),(function(A){return A.waveColors[0]}),(function(A){return A.waveColors[1]}),(function(A){return A.symbolId}),(function(A){return A.symbolId}),(function(A){return A.waveColors[0]}),(function(A){return A.symbolId}),(function(A){return A.symbolId}),(function(A){return A.symbolId}),(function(A){return A.symbolId}));const YA={name:"EWaterLevelPond",components:{GlobalBox:wA.div(GA||(GA=h(["\n position: relative;\n width: 100%;\n height: 100%;\n"]))),WaterWave:UA,BoxContent:jA},props:{value:{type:Number,required:!0,default:100,validator:function(A){return A<=100}},decimals:{type:Number,required:!1,default:0,validator:function(A){return A>=0}},duration:{type:Number,required:!1,default:3e3},fontSize:{type:Number,required:!1,default:36},fontColor:{type:String,required:!1,default:"#fff"},backgroundColor:{type:String,required:!1,default:"transparent"},waveColors:{type:Array,required:!1,default:function(){return["#41a9e3","#b0e0ff"]},validator:function(A){return 2===A.length}}},data:function(){return{uniqueId:xA(),displayVal:0,startVal:0}},watch:{value:function(A,e){this.startVal=e,this.start()}},mounted:function(){this.start()},methods:{start:function(){var A=this;e(this.duration,this.startVal,this.value,(function(e){A.displayVal=+e.toFixed(A.decimals)}))}}};var JA=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("global-box",{staticClass:"water-level-pond"},[t("box-content",{staticClass:"e-water-level-pond",attrs:{fontSize:A.fontSize,fontColor:A.fontColor,backgroundColor:A.backgroundColor}},[t("svg",{staticStyle:{display:"none"},attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px"}},[t("symbol",{attrs:{id:A.uniqueId}},[t("path",{attrs:{d:"M420,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C514,6.5,518,4.7,528.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H420z"}}),A._v(" "),t("path",{attrs:{d:"M420,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C326,6.5,322,4.7,311.5,2.7C304.3,1.4,293.6-0.1,280,0c0,0,0,0,0,0v20H420z"}}),A._v(" "),t("path",{attrs:{d:"M140,20c21.5-0.4,38.8-2.5,51.1-4.5c13.4-2.2,26.5-5.2,27.3-5.4C234,6.5,238,4.7,248.5,2.7c7.1-1.3,17.9-2.8,31.5-2.7c0,0,0,0,0,0v20H140z"}}),A._v(" "),t("path",{attrs:{d:"M140,20c-21.5-0.4-38.8-2.5-51.1-4.5c-13.4-2.2-26.5-5.2-27.3-5.4C46,6.5,42,4.7,31.5,2.7C24.3,1.4,13.6-0.1,0,0c0,0,0,0,0,0l0,20H140z"}})])]),A._v(" "),t("div",{staticClass:"percent"},[t("div",{staticClass:"value"},[A._v(A._s(A.displayVal))]),A._v(" "),t("div",{staticClass:"suffix"},[A._v("%")])]),A._v(" "),t("water-wave",{attrs:{symbolId:A.uniqueId,value:A.displayVal,waveColors:A.waveColors}},[t("svg",{staticClass:"water_wave water_wave_back",attrs:{viewBox:"0 0 560 20"}},[t("use",{attrs:{href:"#"+A.uniqueId}})]),A._v(" "),t("svg",{staticClass:"water_wave water_wave_front",attrs:{viewBox:"0 0 560 20"}},[t("use",{attrs:{href:"#"+A.uniqueId}})])])],1)],1)};JA._withStripped=!0;const KA=n({render:JA,staticRenderFns:[]},undefined,YA,undefined,false,undefined,!1,void 0,void 0,void 0);function XA(A){A.component(KA.name,KA)}var VA;const WA={name:"ETab",components:{TabContainer:wA("div",{symbolId:{type:String,default:""},length:{type:Number,default:300}})(VA||(VA=h(["\n position: relative;\n width: 100%;\n height: 100%;\n\n @keyframes blinker-hover-"," {\n 0% { stroke-dashoffset: 0; stroke-dasharray: 0 10000; }\n 50% { stroke-dasharray:","; }\n 100% { stroke-dashoffset: -","; stroke-dasharray: 10000 0;}\n }\n\n @keyframes blinker-active-"," {\n 0% { stroke-dashoffset: 0; }\n 100% { stroke-dashoffset: -",";}\n }\n"])),(function(A){return A.symbolId}),(function(A){return A.length}),(function(A){return 2*A.length}),(function(A){return A.symbolId}),(function(A){return 2*A.length}))},mixins:[g],props:{value:{type:[String,Number],required:!1},columns:{type:Number,require:!1,default:3},margin:{type:Number,require:!1,default:10},fontSize:{type:Number,require:!1,default:16},fontColor:{type:String,require:!1,default:"#fff"},backgroundColor:{type:String,require:!1,default:"transparent"},duration:{type:Number,required:!1,default:3},borderColors:{type:Array,required:!1,default:function(){return["#1CE3B6","#1F38F1","#F95A5A"]}}},data:function(){return{ref:"e-tab",symbolId:xA(),selectedValue:void 0,itemSize:{width:0,height:0},items:[]}},watch:{value:function(A){this.selectedValue=A}},created:function(){var A=this;this.$on("handleChange",(function(e){A.selectedValue=e,A.$emit("change",e)}))},mounted:function(){this.initItemSize(),this.initSelectedValue()},methods:{initItemSize:function(){var A=this;this.$nextTick((function(){var e=A.$children[0].$children;A.items=e;var t=Math.ceil(e.length/A.columns);A.itemSize.width=A.width>0?A.width/A.columns-2*A.margin:0,A.itemSize.height=A.height>0?A.height/t-2*A.margin:0}))},initSelectedValue:function(){var A=this;this.$nextTick((function(){A.value?A.selectedValue=A.value:A.items&&A.items.length>0&&(A.selectedValue=A.items[0].value)}))}}};var _A=function(){var A=this,e=A.$createElement;return(A._self._c||e)("tab-container",{ref:A.ref,class:A.ref,attrs:{symbolId:A.symbolId,length:A.itemSize.width+A.itemSize.height}},[A._t("default")],2)};_A._withStripped=!0;const ZA=n({render:_A,staticRenderFns:[]},undefined,WA,undefined,false,undefined,!1,void 0,void 0,void 0); /* * @Autor: costa * @Date: 2023-07-18 15:00:17 * @LastEditors: costa * @LastEditTime: 2023-07-18 16:45:14 * @Description: * @Copyright: © 2023 by costa. All rights reserved. */ function qA(A){A.component(ZA.name,ZA)}var $A,Ae,ee,te,ne,re={fontSize:{type:Number,default:16},fontColor:{type:String,default:"#fff"}},oe=wA("div",{symbolId:{type:String,default:""},width:{type:Number,default:300},height:{type:Number,default:300},margin:{type:Number,default:10},fontSize:{type:Number,default:16},fontColor:{type:String,default:"#fff"},duration:{type:Number,default:3},backgroundColor:{type:String,default:"transparent"}})($A||($A=h(["\n position: relative;\n height: ","px;\n width: ","px;\n float: left;\n margin: ","px;\n cursor: pointer;\n\n &.active {\n rect {\n stroke-dasharray:","; \n animation: blinker-active-"," ","s linear infinite;\n }\n }\n\n &:hover {\n rect {\n animation: blinker-hover-"," ","s linear infinite;\n }\n }\n\n rect {\n height: ","px;\n width: ","px;\n fill: ",";\n stroke-dasharray: 0 10000;\n stroke-dashoffset: 0;\n stroke-width: 3px;\n }\n"])),(function(A){return A.height}),(function(A){return A.width}),(function(A){return A.margin}),(function(A){return A.width+A.height}),(function(A){return A.symbolId}),(function(A){return A.duration}),(function(A){return A.symbolId}),(function(A){return A.duration}),(function(A){return A.height}),(function(A){return A.width}),(function(A){return A.backgroundColor})),ce=wA.svg(Ae||(Ae=h(["\n position: absolute;\n width: 100%;\n height: 100%;\n left: 0;\n top: 0;\n"]))),ie=wA.span(ee||(ee=h(["\n margin: 0 5px;\n"]))),ae=wA.span(te||(te=h([""])));const se={name:"ETabItem",components:{TabItem:oe,ItemBorder:ce,ItemContent:wA("div",re)(ne||(ne=h(["\n position: absolute;\n width: 100%;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: ","px;\n color: ",";\n"])),(function(A){return A.fontSize}),(function(A){return A.fontColor})),ItemText:ie,ItemIcon:ae},mixins:[{methods:{dispatch:function(A,e,t){for(var n=this.$parent||this.$root,r=n.$options.name;n&&(!r||r!==A);)(n=n.$parent)&&(r=n.$options.name);n&&n.$emit.apply(n,[e].concat(t))}}}],props:{value:{type:[String,Number],required:!0}},computed:{_tabGroup:function(){for(var A=this.$parent;A;)return"ETab"===A.$options.name?A:A.$parent;return A}},methods:{handleClick:function(A,e){var t=this;this.$nextTick((function(){t.dispatch("ETab","handleChange",e)}))}}};var ue=function(){var A=this,e=A.$createElement,t=A._self._c||e;return t("tab-item",{key:A.value,class:A._tabGroup.selectedValue===A.value?"active":"",attrs:{margin:A._tabGroup.margin,width:A._tabGroup.itemSize.width,height:A._tabGroup.itemSize.height,duration:A._tabGroup.duration,"font-color":A._tabGroup.fontColor,"font-size":A._tabGroup.fontSize,"background-color":A._tabGroup.backgroundColor,symbolId:A._tabGroup.symbolId},on:{click:function(e){return A.handleClick(e,A.value)}}},[t("item-border",{attrs:{version:"1.1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px"}},[t("defs",[t("filter",{attrs:{id:"svg-blur-"+A._tabGroup.symbolId,x:"0",y:"0",width:A._tabGroup.itemSize.width,height:A._tabGroup.itemSize.height}},[t("feOffset",{attrs:{result:"offOut",in:"SourceGraphic",dx:"2",dy:"2"}}),A._v(" "),t("feGaussianBlur",{attrs:{in:"offOut",result:"blurout",stdDeviation:"5"}}),A._v(" "),t("feBlend",{attrs:{in:"SourceGraphic",in2:"blurOut",mode:"normal"}})],1),A._v(" "),t("linearGradient",{attrs:{id:"svg-gradient-"+A._tabGroup.symbolId,gradientUnits:"userSpaceOnUse",x1:"0%",y1:"100%",x2:"100%",y2:"0%"}},A._l(A._tabGroup.borderColors,(function(e,n){return t("stop",{key:n,attrs:{offset:n/(A._tabGroup.borderColors.length-1)*100+"%","stop-color":e}})})),1)],1),A._v(" "),t("rect",{attrs:{filter:"url(#svg-blur-"+A._tabGroup.symbolId+")",stroke:"url(#svg-gradient-"+A._tabGroup.symbolId+")",rx:"10"}})]),A._v(" "),t("item-content",[t("item-icon",[A._t("icon")],2),A._v(" "),t("item-text",[A._t("default")],2)],1)],1)};ue._withStripped=!0;const le=n({render:ue,staticRender