text: //>>built
  define("epi/cms/contentediting/ShortcutNotification",["dojo/_base/declare","dojo/_base/lang","dojo/Stateful","epi/string","epi/shell/_StatefulGetterSetterMixin","epi/i18n!epi/cms/nls/episerver.cms.contentediting.shortcutnotification"],function(_1,_2,_3,_4,_5,_6){var _7=["normal","shortcut","external","inactive","fetchdata"];var _8=_1("epi.cms.contentediting.ShortcutNotification",[_3,_5],{contentData:null,notification:null,res:_6,viewModel:null,postscript:function(){this.inherited(arguments);},_setViewModelAttr:function(_9){this._set("viewModel",_9);if(this._viewModelWatch){this._viewModelWatch.unwatch();}this._viewModelWatch=this.viewModel.watch("contentModel",_2.hitch(this,function(_a,_b,_c){if(this._contentModelWatch){this._contentModelWatch.unwatch();}this._contentModelWatch=_c.watch("iversionable_shortcut",_2.hitch(this,function(_d,_e,_f){var _10=_f&&_f.pageShortcutType;this._updateNotificationMessage(_10);}));}));this.set("contentData",this.viewModel.contentData);},_setContentDataAttr:function(_11){this._set("contentData",_11);if(_11&&_11.capabilities.isPage){var _12=_11.properties.pageShortcutType;this._updateNotificationMessage(_12);}},_updateNotificationMessage:function(_13){var _14,_15=null;if(_13>0){_14=_7[_13];_15=_4.toHTML(this.res[_14]);}this.set("notification",{shortcutType:_13,content:_15});}});_8.LinkTypes=_7;return _8;});