text: !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("angular"),require("test-standalone-component")):"function"==typeof define&&define.amd?define("standalone-component-ng1-adapter",["angular","test-standalone-component"],t):"object"==typeof exports?exports["standalone-component-ng1-adapter"]=t(require("angular"),require("test-standalone-component")):e["standalone-component-ng1-adapter"]=t(e.angular,e["test-standalone-component"])}(this,function(e,t){return function(e){function t(o){if(n[o])return n[o].exports;var r=n[o]={exports:{},id:o,loaded:!1};return e[o].call(r.exports,r,r.exports,t),r.loaded=!0,r.exports}var n={};return t.m=e,t.c=n,t.p="",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(1),a=o(r),i=n(2),s=o(i),u=a.default.module("testStandaloneComponentAdapter",[]).component("testStandaloneComponentAdapter",s.default);t.default=u.name,e.exports=t.default},function(t,n){t.exports=e},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=n(3),a=o(r);n(5);var i={bindings:{name:"<",isRightToLeft:"<",onClicked:"&",delayedOnClicked:"<"},controller:a.default};t.default=i,e.exports=t.default},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}Object.defineProperty(t,"__esModule",{value:!0});var a=function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}return function(t,n,o){return n&&e(t.prototype,n),o&&e(t,o),t}}(),i=n(4),s=o(i),u=function(){function e(t,n,o){"ngInject";var a=this;r(this,e),this.wrappedComponentController=new s.default(t,{name:"Initial name (set in application)",onClicked:function(){"function"==typeof a.onClicked&&(a.delayedOnClicked?n(1e3).then(function(){a.onClicked()}):o.$apply(function(){a.onClicked()}))}})}return e.$inject=["a","b","c"],a(e,[{key:"$onInit",value:function(){this.wrappedComponentController.setRTL(this.isRightToLeft),this.wrappedComponentController.render()}},{key:"handleNameChange",value:function(e){e.isFirstChange()||this.wrappedComponentController.changeName(e.currentValue)}},{key:"handleIsRightToLeftChangeChange",value:function(e){e.isFirstChange()||this.wrappedComponentController.setRTL(e.currentValue)}},{key:"$onChanges",value:function(e){"name"in e&&this.handleNameChange(e.name),"isRightToLeft"in e&&this.handleIsRightToLeftChangeChange(e.isRightToLeft)}}]),e}();t.default=u,e.exports=t.default},function(e,n){e.exports=t},function(e,t,n){var o=n(6);"string"==typeof o&&(o=[[e.id,o,""]]);n(8)(o,{});o.locals&&(e.exports=o.locals)},function(e,t,n){t=e.exports=n(7)(),t.push([e.id,"test-standalone-component-adapter{display:block}",""])},function(e,t){e.exports=function(){var e=[];return e.toString=function(){for(var e=[],t=0;t<this.length;t++){var n=this[t];n[2]?e.push("@media "+n[2]+"{"+n[1]+"}"):e.push(n[1])}return e.join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var a=this[r][0];"number"==typeof a&&(o[a]=!0)}for(r=0;r<t.length;r++){var i=t[r];"number"==typeof i[0]&&o[i[0]]||(n&&!i[2]?i[2]=n:n&&(i[2]="("+i[2]+") and ("+n+")"),e.push(i))}},e}},function(e,t,n){function o(e,t){for(var n=0;n<e.length;n++){var o=e[n],r=p[o.id];if(r){r.refs++;for(var a=0;a<r.parts.length;a++)r.parts[a](o.parts[a]);for(;a<o.parts.length;a++)r.parts.push(l(o.parts[a],t))}else{for(var i=[],a=0;a<o.parts.length;a++)i.push(l(o.parts[a],t));p[o.id]={id:o.id,refs:1,parts:i}}}}function r(e){for(var t=[],n={},o=0;o<e.length;o++){var r=e[o],a=r[0],i=r[1],s=r[2],u=r[3],l={css:i,media:s,sourceMap:u};n[a]?n[a].parts.push(l):t.push(n[a]={id:a,parts:[l]})}return t}function a(e,t){var n=m(),o=C[C.length-1];if("top"===e.insertAt)o?o.nextSibling?n.insertBefore(t,o.nextSibling):n.appendChild(t):n.insertBefore(t,n.firstChild),C.push(t);else{if("bottom"!==e.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(t)}}function i(e){e.parentNode.removeChild(e);var t=C.indexOf(e);t>=0&&C.splice(t,1)}function s(e){var t=document.createElement("style");return t.type="text/css",a(e,t),t}function u(e){var t=document.createElement("link");return t.rel="stylesheet",a(e,t),t}function l(e,t){var n,o,r;if(t.singleton){var a=y++;n=g||(g=s(t)),o=f.bind(null,n,a,!1),r=f.bind(null,n,a,!0)}else e.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=u(t),o=d.bind(null,n),r=function(){i(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(t),o=c.bind(null,n),r=function(){i(n)});return o(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;o(e=t)}else r()}}function f(e,t,n,o){var r=n?"":o.css;if(e.styleSheet)e.styleSheet.cssText=b(t,r);else{var a=document.createTextNode(r),i=e.childNodes;i[t]&&e.removeChild(i[t]),i.length?e.insertBefore(a,i[t]):e.appendChild(a)}}function c(e,t){var n=t.css,o=t.media;if(o&&e.setAttribute("media",o),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}function d(e,t){var n=t.css,o=t.sourceMap;o&&(n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */");var r=new Blob([n],{type:"text/css"}),a=e.href;e.href=URL.createObjectURL(r),a&&URL.revokeObjectURL(a)}var p={},h=function(e){var t;return function(){return"undefined"==typeof t&&(t=e.apply(this,arguments)),t}},v=h(function(){return/msie [6-9]\b/.test(window.navigator.userAgent.toLowerCase())}),m=h(function(){return document.head||document.getElementsByTagName("head")[0]}),g=null,y=0,C=[];e.exports=function(e,t){t=t||{},"undefined"==typeof t.singleton&&(t.singleton=v()),"undefined"==typeof t.insertAt&&(t.insertAt="bottom");var n=r(e);return o(n,t),function(e){for(var a=[],i=0;i<n.length;i++){var s=n[i],u=p[s.id];u.refs--,a.push(u)}if(e){var l=r(e);o(l,t)}for(var i=0;i<a.length;i++){var u=a[i];if(0===u.refs){for(var f=0;f<u.parts.length;f++)u.parts[f]();delete p[u.id]}}}};var b=function(){var e=[];return function(t,n){return e[t]=n,e.filter(Boolean).join("\n")}}()}])});
  //# sourceMappingURL=standalone-component-ng1-adapter.min.js.map