(function(){page.using={types:["ConflictGrid"]};page.onLoad=function(){if(!page.process){$error("This page only works inside processes")}this.commandBindings=$.extend(this.commandBindings,{Relink:n,Continue:n,Cancel:o});var i=this.url;var t=$("#mergeConflictResolution").uniqueId("mergeConflictResolution");var a=$("<div />").appendTo(t);a.widget("ConflictGrid",{conflict:e(i.getInt("conflictIndex")),mainInfoAreaId:i.get("mainInfoAreaId"),mergeOption:i.get("mergeOption"),showEqualValues:i.getBoolean("showEqualValues",false),parent:page})};function e(e){return page.process.get("conflicts")[e]}function n(e,n,o){page.proceed({resolution:o.resolution})}function o(e,n,o){page.proceed({cancel:true})}})();