{:uriI"file:///Users/adam/.rvm/gems/ruby-2.0.0-p598/gems/comfortable_mexican_sofa-1.12.8/app/assets/javascripts/comfy/admin/cms/lib/diff/pretty_text_diff.min.js?type=application/javascript&pipeline=self&id=d7dd407d1e5ce79ad98d916f4785d8feac53cc0255d8640095c6ddd2759f7e42:ET:load_pathI"f/Users/adam/.rvm/gems/ruby-2.0.0-p598/gems/comfortable_mexican_sofa-1.12.8/app/assets/javascripts;T: filenameI"’/Users/adam/.rvm/gems/ruby-2.0.0-p598/gems/comfortable_mexican_sofa-1.12.8/app/assets/javascripts/comfy/admin/cms/lib/diff/pretty_text_diff.min.js;T: nameI"2comfy/admin/cms/lib/diff/pretty_text_diff.min;T:logical_pathI":comfy/admin/cms/lib/diff/pretty_text_diff.min.self.js;T:content_typeI"application/javascript;T: sourceI"‚/* @preserve jQuery.PrettyTextDiff 1.0.2 See https://github.com/arnab/jQuery.PrettyTextDiff/ */ (function(){var $;$=jQuery;$.fn.extend({prettyTextDiff:function(options){var dmp,settings;settings={originalContainer:".original",changedContainer:".changed",diffContainer:".diff",cleanup:true,debug:false};settings=$.extend(settings,options);$.fn.prettyTextDiff.debug("Options: ",settings,settings);dmp=new diff_match_patch;return this.each(function(){var changed,diff_as_html,diffs,original;original=$(settings.originalContainer,this).text();$.fn.prettyTextDiff.debug("Original text found: ",original,settings);changed=$(settings.changedContainer,this).text();$.fn.prettyTextDiff.debug("Changed text found: ",changed,settings);diffs=dmp.diff_main(original,changed);if(settings.cleanup){dmp.diff_cleanupSemantic(diffs)}$.fn.prettyTextDiff.debug("Diffs: ",diffs,settings);diff_as_html=diffs.map(function(diff){return $.fn.prettyTextDiff.createHTML(diff)});$(settings.diffContainer,this).html(diff_as_html.join(""));return this})}});$.fn.prettyTextDiff.debug=function(message,object,settings){if(settings.debug){return console.log(message,object)}};$.fn.prettyTextDiff.createHTML=function(diff){var data,html,operation,pattern_amp,pattern_gt,pattern_lt,pattern_para,text;html=[];pattern_amp=/&/g;pattern_lt=//g;pattern_para=/\n/g;operation=diff[0],data=diff[1];text=data.replace(pattern_amp,"&").replace(pattern_lt,"<").replace(pattern_gt,">").replace(pattern_para,"
");switch(operation){case DIFF_INSERT:return""+text+"";case DIFF_DELETE:return""+text+"";case DIFF_EQUAL:return""+text+""}}}).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI" file-digest:///Users/adam/.rvm/gems/ruby-2.0.0-p598/gems/comfortable_mexican_sofa-1.12.8/app/assets/javascripts/comfy/admin/cms/lib/diff/pretty_text_diff.min.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%2}eùÔLÕXŸ ¾ elMí.Õ†bHVµU1 =: lengthi‚:dependencies_digest"%»ä™íu× Ô~µHnc(\¼”Ñž¸6S{ # ^T¢þ¥:idI"Ed7dd407d1e5ce79ad98d916f4785d8feac53cc0255d8640095c6ddd2759f7e42;F: mtimel+Âû°U