{:uriI" file:///Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.2.0/gems/tinymce-rails-4.3.8/vendor/assets/javascripts/tinymce/plugins/colorpicker/plugin.js?type=application/javascript&pipeline=self&id=3ddff4aa2f37b431e094d09e47a1aa35775a4c761e09d512cf4765f10ca2dd67:ET:load_pathI"u/Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.2.0/gems/tinymce-rails-4.3.8/vendor/assets/javascripts;T: filenameI"/Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.2.0/gems/tinymce-rails-4.3.8/vendor/assets/javascripts/tinymce/plugins/colorpicker/plugin.js;T: nameI"'tinymce/plugins/colorpicker/plugin;T:logical_pathI"/tinymce/plugins/colorpicker/plugin.self.js;T:content_typeI"application/javascript;T: sourceI"tinymce.PluginManager.add("colorpicker",function(a){function b(b,c){function d(a){var b=new tinymce.util.Color(a),c=b.toRgb();f.fromJSON({r:c.r,g:c.g,b:c.b,hex:b.toHex().substr(1)}),e(b.toHex())}function e(a){f.find("#preview")[0].getEl().style.background=a}var f=a.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:c,onchange:function(){var a=this.rgb();f&&(f.find("#r").value(a.r),f.find("#g").value(a.g),f.find("#b").value(a.b),f.find("#hex").value(this.value().substr(1)),e(this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var a,b,c=f.find("colorpicker")[0];return a=this.name(),b=this.value(),"hex"==a?(b="#"+b,d(b),void c.value(b)):(b={r:f.find("#r").value(),g:f.find("#g").value(),b:f.find("#b").value()},c.value(b),void d(b))}},items:[{name:"r",label:"R",autofocus:1},{name:"g",label:"G"},{name:"b",label:"B"},{name:"hex",label:"#",value:"000000"},{name:"preview",type:"container",border:1}]}]},onSubmit:function(){b("#"+this.toJSON().hex)}});d(c)}a.settings.color_picker_callback||(a.settings.color_picker_callback=b)}); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTI"file-digest:///Users/tyler/Development/GitHub/guts/vendor/bundle/ruby/2.2.0/gems/tinymce-rails-4.3.8/vendor/assets/javascripts/tinymce/plugins/colorpicker/plugin.js;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%ׁ"P jds16. L*kI*: lengthi:dependencies_digest"%ȩ3\0ulTRJ#9_:|;E@$:idI"E3ddff4aa2f37b431e094d09e47a1aa35775a4c761e09d512cf4765f10ca2dd67;F: mtimel+ W