{:uriI"file:///Users/tyler/Development/Bitbucket/guts/app/assets/javascripts/guts/vendor/tinymce/plugins/colorpicker/plugin.min.js?type=application/javascript&id=db55d39524720c49f42e05e76238c8dc40e6638ca23b9580921abe7d21284225:ET:load_pathI"C/Users/tyler/Development/Bitbucket/guts/app/assets/javascripts;T: filenameI"y/Users/tyler/Development/Bitbucket/guts/app/assets/javascripts/guts/vendor/tinymce/plugins/colorpicker/plugin.min.js;T: nameI"7guts/vendor/tinymce/plugins/colorpicker/plugin.min;T:logical_pathI":guts/vendor/tinymce/plugins/colorpicker/plugin.min.js;T:content_typeI"application/javascript;T: sourceI"tinymce.PluginManager.add("colorpicker",function(e){function t(t,n){function r(e){var t=new tinymce.util.Color(e),n=t.toRgb();o.fromJSON({r:n.r,g:n.g,b:n.b,hex:t.toHex().substr(1)}),i(t.toHex())}function i(e){o.find("#preview")[0].getEl().style.background=e}var o=e.windowManager.open({title:"Color",items:{type:"container",layout:"flex",direction:"row",align:"stretch",padding:5,spacing:10,items:[{type:"colorpicker",value:n,onchange:function(){var e=this.rgb();o&&(o.find("#r").value(e.r),o.find("#g").value(e.g),o.find("#b").value(e.b),o.find("#hex").value(this.value().substr(1)),i(this.value()))}},{type:"form",padding:0,labelGap:5,defaults:{type:"textbox",size:7,value:"0",flex:1,spellcheck:!1,onchange:function(){var e,t,n=o.find("colorpicker")[0];return e=this.name(),t=this.value(),"hex"==e?(t="#"+t,r(t),void n.value(t)):(t={r:o.find("#r").value(),g:o.find("#g").value(),b:o.find("#b").value()},n.value(t),void r(t))}},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(){t("#"+this.toJSON().hex)}});r(n)}e.settings.color_picker_callback||(e.settings.color_picker_callback=t)}); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"file-digest:///Users/tyler/Development/Bitbucket/guts/app/assets/javascripts/guts/vendor/tinymce/plugins/colorpicker/plugin.min.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TT: linkso;;{: included[I"file:///Users/tyler/Development/Bitbucket/guts/app/assets/javascripts/guts/vendor/tinymce/plugins/colorpicker/plugin.min.js?type=application/javascript&pipeline=self&id=c35dbb5d099369b685d3d9bce3012d2df239d6b098c888f42552433f07842f43;T: charsetI" utf-8;F: digest"%Rn!KGn'P1: lengthi:dependencies_digest"%GlpJ1-F!߇2P9?:idI"Edb55d39524720c49f42e05e76238c8dc40e6638ca23b9580921abe7d21284225;F: mtimel+8nV