text: !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.createCopy=e():t.createCopy=e()}(window,(function(){return function(t){var e={};function o(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=t,o.c=e,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)o.d(n,r,function(e){return t[e]}.bind(null,r));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.p="",o(o.s=0)}([function(t,e,o){var n,r;n=[o(1)],void 0===(r=function(e){"use strict";var n,r,u=o(2);e=u(e);var c=function(t,e,o){return r||(window.createCopyListener?window.createCopyListener(t,e,o):void 0)},i=function(t,o,r,u,i,f){var p=o.value,l=function(t,e){if(n)return n;var o=c(t,e);return o?(o.connect().then((function(t){n=t})).catch((function(t){console.log("报错了"),console.log(t)})),n):void 0}(u,i);if(l&&"object"==(0,e.default)(l)){l.update();var a=l.transform(p);t.innerHTML=a}},f=function(t,e,o,u){var f;t&&e?(f=o,"[object Object]"!=Object.prototype.toString.call(f)&&(o={}),u.prototype.$copy=function(t,e,o){return(r=c(t,e,o)).connect().then((function(t){n=t})).catch((function(t){console.log("报错了"),console.log(t)})),r}(t,e,o),u.directive("maya-copy",{bind:function(t,e){var o=e.value,r=n.transform(o);t.innerHTML=r},componentUpdated:function(t,e,o,n,r,u){i(t,e,0,n,r)}})):console.log("请传入oaCount,appKey")};t.exports=f}.apply(e,n))||(t.exports=r)},function(t,e){function o(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=o=function(t){return typeof t}:t.exports=o=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}t.exports=o},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}}])}));
  //# sourceMappingURL=maia-copy.min.js.map