Advertisement
Guest User

Untitled

a guest
Sep 16th, 2014
200
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. !function(){var a=Handlebars.template,e=Handlebars.templates=Handlebars.templates||{};e["image-upload-and-crop"]=a({1:function(){return"empty"},3:function(a,e,n,i){var l,s="function",r=e.helperMissing,t=this.escapeExpression;return'src="'+t((l=null!=(l=e.imageSrc||(null!=a?a.imageSrc:a))?l:r,typeof l===s?l.call(a,{name:"imageSrc",hash:{},data:i}):l))+'"'},5:function(){return"disabled"},7:function(a,e,n,i){var l,s="function",r=e.helperMissing,t=this.escapeExpression;return'            <div class="description">'+t((l=null!=(l=e.description||(null!=a?a.description:a))?l:r,typeof l===s?l.call(a,{name:"description",hash:{},data:i}):l))+"</div>\n"},9:function(a,e,n,i){var l,s="function",r=e.helperMissing,t=this.escapeExpression;return'            <div class="description fallback">'+t((l=null!=(l=e.fallbackDescription||(null!=a?a.fallbackDescription:a))?l:r,typeof l===s?l.call(a,{name:"fallbackDescription",hash:{},data:i}):l))+"</div>\n"},11:function(a,e,n,i){var l,s="";return l=e["if"].call(a,null!=a?a.description:a,{name:"if",hash:{},fn:this.program(12,i),inverse:this.noop,data:i}),null!=l&&(s+=l),s},12:function(a,e,n,i){var l,s="function",r=e.helperMissing,t=this.escapeExpression;return'                <div class="description fallback">'+t((l=null!=(l=e.description||(null!=a?a.description:a))?l:r,typeof l===s?l.call(a,{name:"description",hash:{},data:i}):l))+"</div>\n"},compiler:[6,">= 2.0.0-beta.1"],main:function(a,e,n,i){var l,s='<div class="image-upload-and-crop-container">\n    <div class="image-explorer-container ';return l=e.unless.call(a,null!=a?a.imageSrc:a,{name:"unless",hash:{},fn:this.program(1,i),inverse:this.noop,data:i}),null!=l&&(s+=l),s+='">\n        <div class="image-explorer-image-view">\n            <img class="image-explorer-source" ',l=e["if"].call(a,null!=a?a.imageSrc:a,{name:"if",hash:{},fn:this.program(3,i),inverse:this.noop,data:i}),null!=l&&(s+=l),s+='/>\n            <div class="image-explorer-mask square-mask"></div>\n            <div class="image-explorer-drag-delegate"></div>\n        </div>\n        <div class="image-explorer-scale-slider-wrapper">\n            <input class="image-explorer-scale-slider ',l=e.unless.call(a,null!=a?a.imageSrc:a,{name:"unless",hash:{},fn:this.program(5,i),inverse:this.noop,data:i}),null!=l&&(s+=l),s+='"\n                type="range" min="0" max="100" step="1" value="0" ',l=e.unless.call(a,null!=a?a.imageSrc:a,{name:"unless",hash:{},fn:this.program(5,i),inverse:this.noop,data:i}),null!=l&&(s+=l),s+='/>\n        </div>\n    </div>\n    <form class="aui">\n        <input type="file" id="image-upload-and-crop-upload-field" class="image-upload-field" accept="image/jpeg, image/gif, image/png"/>\n        <label for="image-upload-and-crop-upload-field" class="image-upload-field-replacement aui-button">Select an image</label>\n',l=e["if"].call(a,null!=a?a.description:a,{name:"if",hash:{},fn:this.program(7,i),inverse:this.noop,data:i}),null!=l&&(s+=l),l=e["if"].call(a,null!=a?a.fallbackDescription:a,{name:"if",hash:{},fn:this.program(9,i),inverse:this.program(11,i),data:i}),null!=l&&(s+=l),s+"    </form>\n</div>\n"},useData:!0})}();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement