!function(e,t){"object"==typeofexports&&"undefined"!=typeofmodule?t(exports,require("vue")):"function"==typeofdefine&&define.amd?define(["exports","vue"],t):t((e="undefined"!=typeofglobalThis?globalThis:e||self).TDesign={},e.Vue)}(this,(function(e,t){"use strict";functionn(e){if(e&&e.__esModule)returne;vart=Object.create(null);returne&&Object.keys(e).forEach((function(n){if("default"!==n){varr=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){returne[n]}})}})),t.default=e,Object.freeze(t)}varr=n(t);functiono(e,t){(null==t||t>e.length)&&(t=e.length);for(varn=0,r=newArray(t);n<t;n++)r[n]=e[n];returnr}functiona(e){if("undefined"!=typeofSymbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])returnArray.from(e)}functionl(e,t){if(e){if("string"==typeofe)returno(e,t);varn=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(e,t):void0}}functioni(e){returnfunction(e){if(Array.isArray(e))returno(e)}(e)||a(e)||l(e)||function(){thrownewTypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}functionu(e){returnu="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},u(e)}functionc(e){vart=function(e,t){if("object"!==u(e)||null===e)returne;varn=e[Symbol.toPrimitive];if(void0!==n){varr=n.call(e,t||"default");if("object"!==u(r))returnr;thrownewTypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===u(t)?t:String(t)}functions(e,t,n){return(t=c(t))ine?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}vard="object"==("undefined"==typeofglobal?"undefined":u(global))&&global&&global.Object===Object&&global,v="object"==("undefined"==typeofself?"undefined":u(self))&&self&&self.Object===Object&&self,f=d||v||Function("return this")(),p=f.Symbol,m=Object.prototype,h=m.hasOwnProperty,g=m.toString,y=p?p.toStringTag:void0;varb=Object.prototype.toString;varw=p?p.toStringTag:void0;functionO(e){returnnull==e?void0===e?"[object Undefined]":"[object Null]":w&&winObject(e)?function(e){vart=h.call(e,y),n=e[y];try{e[y]=void0;varr=!0}catch(e){}varo=g.call(e);returnr&&(t?e[y]=n:deletee[y]),o}(e):function(e){returnb.call(e)}(e)}functionC(e){returnnull!=e&&"object"==u(e)}functionx(e){return"symbol"==u(e)||C(e)&&"[object Symbol]"==O(e)}functionP(e,t){for(varn=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);returno}varj=Array.isArray,S=p?p.prototype:void0,k=S?S.toString:void0;functionN(e){if("string"==typeofe)returne;if(j(e))returnP(e,N)+"";if(x(e))returnk?k.call(e):"";vart=e+"";return"0"==t&&1/e==-1/0?"-0":t}var_=/\s/;varV=/^\s+/;functionD(e){returne?e.slice(0,function(e){for(vart=e.length;t--&&_.test(e.charAt(t)););returnt}(e)+1).replace(V,""):e}functionE(e){vart=u(e);returnnull!=e&&("object"==t||"function"==t)}varF=/^[-+]0x[0-9a-f]+$/i,T=/^0b[01]+$/i,I=/^0o[0-7]+$/i,M=parseInt;functionA(e){if("number"==typeofe)returne;if(x(e))returnNaN;if(E(e)){vart="function"==typeofe.valueOf?e.valueOf():e;e=E(t)?t+"":t}if("string"!=typeofe)return0===e?e:+e;e=D(e);varn=T.test(e);returnn||I.test(e)?M(e.slice(2),n?2:8):F.test(e)?NaN:+e}varB=1/0;functionL(e){returne?(e=A(e))===B||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}functionR(e){vart=L(e),n=t%1;returnt==t?n?t-n:t:0}functionz(e){returne}functionH(e){if(!E(e))return!1;vart=O(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}varW,K=f["__core-js_shared__"],U=(W=/[^.]+$/.exec(K&&K.keys&&K.keys.IE_PROTO||""))?"Symbol(src)_1."+W:"";varY=Function.prototype.toString;function$(e){if(null
e.exports=n=function(){returno},e.exports.__esModule=!0,e.exports.default=e.exports;varr,o={},a=Object.prototype,l=a.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},u="function"==typeofSymbol?Symbol:{},c=u.iterator||"@@iterator",s=u.asyncIterator||"@@asyncIterator",d=u.toStringTag||"@@toStringTag";functionv(e,t,n){returnObject.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{v({},"")}catch(r){v=function(e,t,n){returne[t]=n}}functionf(e,t,n,r){varo=t&&t.prototypeinstanceofw?t:w,a=Object.create(o.prototype),l=newF(r||[]);returni(a,"_invoke",{value:_(e,n,l)}),a}functionp(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}o.wrap=f;varm="suspendedStart",h="suspendedYield",g="executing",y="completed",b={};functionw(){}functionO(){}functionC(){}varx={};v(x,c,(function(){returnthis}));varP=Object.getPrototypeOf,j=P&&P(P(T([])));j&&j!==a&&l.call(j,c)&&(x=j);varS=C.prototype=w.prototype=Object.create(x);functionk(e){["next","throw","return"].forEach((function(t){v(e,t,(function(e){returnthis._invoke(t,e)}))}))}functionN(e,n){functionr(o,a,i,u){varc=p(e[o],e,a);if("throw"!==c.type){vars=c.arg,d=s.value;returnd&&"object"==t(d)&&l.call(d,"__await")?n.resolve(d.__await).then((function(e){r("next",e,i,u)}),(function(e){r("throw",e,i,u)})):n.resolve(d).then((function(e){s.value=e,i(s)}),(function(e){returnr("throw",e,i,u)}))}u(c.arg)}varo;i(this,"_invoke",{value:function(e,t){functiona(){returnnewn((function(n,o){r(e,t,n,o)}))}returno=o?o.then(a,a):a()}})}function_(e,t,n){varo=m;returnfunction(a,l){if(o===g)thrownewError("Generator is already running");if(o===y){if("throw"===a)throwl;return{value:r,done:!0}}for(n.method=a,n.arg=l;;){vari=n.delegate;if(i){varu=V(i,n);if(u){if(u===b)continue;returnu}}if("next"===n.method)n.sent=n._sent=n.arg;elseif("throw"===n.method){if(o===m)throwo=y,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=g;varc=p(e,t,n);if("normal"===c.type){if(o=n.done?y:h,c.arg===b)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(o=y,n.method="throw",n.arg=c.arg)}}}functionV(e,t){varn=t.method,o=e.iterator[n];if(o===r)returnt.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=r,V(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=newTypeError("The iterator does not provide a '"+n+"' method")),b;vara=p(o,e.iterator,t.arg);if("throw"===a.type)returnt.method="throw",t.arg=a.arg,t.delegate=null,b;varl=a.arg;returnl?l.done?(t[e.resultName]=l.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=r),t.delegate=null,b):l:(t.method="throw",t.arg=newTypeError("iterator result is not an object"),t.delegate=null,b)}functionD(e){vart={tryLoc:e[0]};1ine&&(t.catchLoc=e[1]),2ine&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}functionE(e){vart=e.completion||{};t.type="normal",deletet.arg,e.completion=t}functionF(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(D,this),this.reset(!0)}functionT(e){if(e||""===e){varn=e[c];if(n)returnn.call(e);if("function"==typeofe.next)returne;if(!isNaN(e.length)){varo=-1,a=functiont(){for(;++o<e.length;)if(l.call(e,o))returnt.value=e[o],t.done=!1,t;returnt.value=r,t.done=!0,t};returna.next=a}}thrownewTypeError(t(e)+" is not iterable")}returnO.prototype=C,i(S,"constructor",{value:C,configurable:!0}),i(C,"constructor",{value:O,configurable:!0}),O.displayName=v(C,d,"GeneratorFunction"),o.isGeneratorFunction=function(e){vart="function"==typeofe&&e.constructor;return!!t&&(t===O||"GeneratorFunction"===(t.displayName||t.name))},o.mark=function(e){returnObject.setPrototypeOf?Object.setPrototypeOf(e,C):(e.__proto__=C,v(e,d,"GeneratorFunction")),e.prototype=Object.create(S),e},o.awrap=function(e){return{__await:e}},k(N.prototype),v(N.prototype,s,(function(){returnthis})),o.AsyncIterator=N,o.async=function(e,t,n,r,a){void0===a&&(a=Promise);varl=newN(f(e,t,n,r),a);returno.isGeneratorFunction(t)?l:l.next().then((function(e){returne.done?e.value
!function(e){vart;t=function(){returnfunction(){vare={686:function(e,t,n){n.d(t,{default:function(){returnC}});varr=n(279),o=n.n(r),a=n(370),l=n.n(a),i=n(817),u=n.n(i);functionc(e){try{returndocument.execCommand(e)}catch(e){return!1}}vars=function(e){vart=u()(e);returnc("cut"),t},d=function(e,t){varn=function(e){vart="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";varr=window.pageYOffset||document.documentElement.scrollTop;returnn.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);varr=u()(n);returnc("copy"),n.remove(),r},v=function(e){vart=arguments.length>1&&void0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeofe?n=d(e,t):einstanceofHTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void0:e.type)?n=d(e.value,t):(n=u()(e),c("copy")),n};functionf(e){returnf="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},f(e)}varp=function(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:{},t=e.action,n=void0===t?"copy":t,r=e.container,o=e.target,a=e.text;if("copy"!==n&&"cut"!==n)thrownewError('Invalid "action" value, use either "copy" or "cut"');if(void0!==o){if(!o||"object"!==f(o)||1!==o.nodeType)thrownewError('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))thrownewError('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))thrownewError('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}returna?v(a,{container:r}):o?"cut"===n?s(o):v(o,{container:r}):void0};functionm(e){returnm="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},m(e)}functionh(e,t){for(varn=0;n<t.length;n++){varr=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"inr&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}functiong(e,t){returng=Object.setPrototypeOf||function(e,t){returne.__proto__=t,e},g(e,t)}functiony(e){vart=function(){if("undefined"==typeofReflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeofProxy)return!0;try{returnDate.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();returnfunction(){varn,r=b(e);if(t){varo=b(this).constructor;n=Reflect.construct(r,arguments,o)}elsen=r.apply(this,arguments);returnfunction(e,t){return!t||"object"!==m(t)&&"function"!=typeoft?function(e){if(void0===e)thrownewReferenceError("this hasn't been initialised - super() hasn't been called");returne}(e):t}(this,n)}}functionb(e){returnb=Object.setPrototypeOf?Object.getPrototypeOf:function(e){returne.__proto__||Object.getPrototypeOf(e)},b(e)}functionw(e,t){varn="data-clipboard-".concat(e);if(t.hasAttribute(n))returnt.getAttribute(n)}varO=function(e){!function(e,t){if("function"!=typeoft&&null!==t)thrownewTypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&g(e,t)}(a,e);vart,n,r,o=y(a);functiona(e,t){varn;returnfunction(e,t){if(!(einstanceoft))thrownewTypeError("Cannot call a class as a function")}(this,a),(n=o.call(this)).resolveOptions(t),n.listenClick(e),n}returnt=a,n=[{key:"resolveOptions",value:function(){vare=arguments.length>0&&void0!==arguments[0]?arguments[0]:{};this.action="function"==typeofe.action?e.action:this.defaultAction,this.target="function"==typeofe.target?e.target:this.defaultTarget,this.