!function(e){"object"==typeof module&&"object"==typeof module.exports?e(require,exports):"function"==typeof define&&define.amd&&define(["require","exports","../../Validation"],e)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var c=e("../../Validation"),e=(n.prototype.execute=function(e){var t=c.validation.string("content",e.content,void 0),e=c.validation.string("url",e.url,void 0);if(t){for(var n=!1,o=document.getElementsByTagName("style"),i=0;i<o.length;i++)if(o[i].textContent===t){n=!0;break}n||((a=document.createElement("style")).appendChild(document.createTextNode(t)),document.getElementsByTagName("head")[0].appendChild(a))}if(e){var n=!1,r=document.createElement("a");r.href=e;for(var a,d=document.getElementsByTagName("link"),i=0;i<d.length;i++)if(d[i].href===r.href){n=!0;break}n||((a=document.createElement("link")).href=e,a.rel="stylesheet",a.type="text/css",document.getElementsByTagName("head")[0].appendChild(a))}return{}},n.action="gcx:wf:browser::InjectCss",n.suite="gcx:wf:builtin",n);function n(){}t.InjectCss=e});