{:uriI"file:///home/slice-d5/.rvm/gems/ruby-2.5.1/gems/ckeditor-4.2.4/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js?type=application/javascript&id=2c4c657ce1d2c7f850cc812acd6844b8182dd193342b90b9672324f76ccd29b6:ET:load_pathI"V/home/slice-d5/.rvm/gems/ruby-2.5.1/gems/ckeditor-4.2.4/vendor/assets/javascripts;T: filenameI"/home/slice-d5/.rvm/gems/ruby-2.5.1/gems/ckeditor-4.2.4/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js;T: nameI"*ckeditor/plugins/forms/dialogs/button;T:logical_pathI"-ckeditor/plugins/forms/dialogs/button.js;T:content_typeI"application/javascript;T: sourceI"/* Copyright (c) 2003-2017, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or http://ckeditor.com/license */ CKEDITOR.dialog.add("button",function(b){function d(a){var b=this.getValue();b?(a.attributes[this.id]=b,"name"==this.id&&(a.attributes["data-cke-saved-name"]=b)):(delete a.attributes[this.id],"name"==this.id&&delete a.attributes["data-cke-saved-name"])}return{title:b.lang.forms.button.title,minWidth:350,minHeight:150,onShow:function(){delete this.button;var a=this.getParentEditor().getSelection().getSelectedElement();a&&a.is("input")&&a.getAttribute("type")in{button:1,reset:1,submit:1}&&(this.button= a,this.setupContent(a))},onOk:function(){var a=this.getParentEditor(),b=this.button,d=!b,c=b?CKEDITOR.htmlParser.fragment.fromHtml(b.getOuterHtml()).children[0]:new CKEDITOR.htmlParser.element("input");this.commitContent(c);var e=new CKEDITOR.htmlParser.basicWriter;c.writeHtml(e);c=CKEDITOR.dom.element.createFromHtml(e.getHtml(),a.document);d?a.insertElement(c):(c.replace(b),a.getSelection().selectElement(c))},contents:[{id:"info",label:b.lang.forms.button.title,title:b.lang.forms.button.title,elements:[{id:"name", type:"text",bidi:!0,label:b.lang.common.name,"default":"",setup:function(a){this.setValue(a.data("cke-saved-name")||a.getAttribute("name")||"")},commit:d},{id:"value",type:"text",label:b.lang.forms.button.text,accessKey:"V","default":"",setup:function(a){this.setValue(a.getAttribute("value")||"")},commit:d},{id:"type",type:"select",label:b.lang.forms.button.type,"default":"button",accessKey:"T",items:[[b.lang.forms.button.typeBtn,"button"],[b.lang.forms.button.typeSbm,"submit"],[b.lang.forms.button.typeRst, "reset"]],setup:function(a){this.setValue(a.getAttribute("type")||"")},commit:d}]}]}}); ;T: metadata{ :dependencieso:Set: @hash} I"environment-version;TTI"environment-paths;TTI"rails-env;TTI"Lprocessors:type=application/javascript&file_type=application/javascript;TTI"file-digest:///home/slice-d5/.rvm/gems/ruby-2.5.1/gems/ckeditor-4.2.4/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js;TTI"Zprocessors:type=application/javascript&file_type=application/javascript&pipeline=self;TTF: linkso;;}F: included[I"file:///home/slice-d5/.rvm/gems/ruby-2.5.1/gems/ckeditor-4.2.4/vendor/assets/javascripts/ckeditor/plugins/forms/dialogs/button.js?type=application/javascript&pipeline=self&id=db62905345a892c271a467637688f8efb86de1f2ec4349894a3cbc7b9a5cb776;T: charsetI" utf-8;F: digest"%.&SS`?xL: lengthi:dependencies_digest"%UJK- <[SV& ->:idI"E2c4c657ce1d2c7f850cc812acd6844b8182dd193342b90b9672324f76ccd29b6;F: mtimel+L[