text: /*!
   * codebase - v4.1.0
   * @author pixelcave - https://pixelcave.com
   * Copyright (c) 2021
   */
  !function(){function e(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var t=function(){function t(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t)}var n,o;return n=t,o=[{key:"initImageCropper",value:function(){var e=document.getElementById("js-img-cropper");Cropper.setDefaults({aspectRatio:4/3,preview:".js-img-cropper-preview"});var t=new Cropper(e,{crop:function(e){}});jQuery('[data-toggle="cropper"]').on("click",(function(e){var n=jQuery(e.currentTarget),o=n.data("method")||!1,r=n.data("option")||!1,a={zoom:function(){t.zoom(r)},setDragMode:function(){t.setDragMode(r)},rotate:function(){t.rotate(r)},scaleX:function(){t.scaleX(r),n.data("option",-r)},scaleY:function(){t.scaleY(r),n.data("option",-r)},setAspectRatio:function(){t.setAspectRatio(r)},crop:function(){t.crop()},clear:function(){t.clear()}};a[o]&&a[o]()}))}},{key:"init",value:function(){this.initImageCropper()}}],null&&e(n.prototype,null),o&&e(n,o),t}();jQuery((function(){t.init()}))}();