define("ng.cla.core.share",["cla_angular"],function(n){return function(n){function e(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return n[r].call(a.exports,a,a.exports,e),a.l=!0,a.exports}var t={};return e.m=n,e.c=t,e.i=function(n){return n},e.d=function(n,t,r){e.o(n,t)||Object.defineProperty(n,t,{configurable:!1,enumerable:!0,get:r})},e.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return e.d(t,"a",t),t},e.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},e.p="/components/",e(e.s="./assets/js/angular/cla/share/share.directive.js")}({"./assets/js/angular/cla/share/share.directive.js":function(n,e,t){(function(n){var r,a;r=[t(0),t("./web/intranet/share/html/share_link_dialog.html")],void 0!==(a=function(n,e){function t(n,e,t){var r=t.canonicalUrl;void 0!==r&&$("#shareButton").attr("data-canonical-url",r)}function r(){return{link:t,restrict:"E",templateUrl:e,scope:{canonicalUrl:"@"}}}var a=null;try{a=n.module("cla.core.share")}catch(e){a=n.module("cla.core.share",[])}a.directive("claShare",r)}.apply(e,r))&&(n.exports=a)}).call(e,t("./node_modules/webpack/buildin/module.js")(n))},"./node_modules/webpack/buildin/module.js":function(n,e){n.exports=function(n){return n.webpackPolyfill||(n.deprecate=function(){},n.paths=[],n.children||(n.children=[]),Object.defineProperty(n,"loaded",{enumerable:!0,get:function(){return n.l}}),Object.defineProperty(n,"id",{enumerable:!0,get:function(){return n.i}}),n.webpackPolyfill=1),n}},"./web/intranet/share/html/share_link_dialog.html":function(n,e){var t="/web/intranet/share/html/share_link_dialog.html";window.angular.module("ng").run(["$templateCache",function(n){n.put(t,'\n<a href="#" class="btn btn-secondary" id="shareButton">\n\t<ion-icon name="share-social-outline"></ion-icon>\n\t<txt name="share:link:share_this_page" lmsg="share.link.share_this_page">_Share</txt>\n</a>\n\n<script type="text/javascript">\n    require([\'domReady\', \'sharelink\', \'user_picker\'], function(domReady, ShareLink, user_picker){\n    \tdomReady(function(){\n    \t\tvar canonicalUrl = \'${canonical_url}\';\n    \t\tif (canonicalUrl === \'${canonical_url}\')\n    \t\t\tcanonicalUrl = \'\';\n    \t\tShareLink.Init(canonicalUrl);\n        })\n    });\n<\/script>\n<include file="../common/select2_inc.html">\n')}]),n.exports=t},0:function(e,t){e.exports=n}})});