!function(e,t,i,a){var s="exopiteSOFDatepicker";function n(t,i){this.element=t,this._name=s,this.$element=e(t),this.init()}n.prototype={init:function(){this.$element.find(".datepicker").each(function(t,i){if(!e(i).parents(".exopite-sof-cloneable__muster").length&&!e(i).hasClass(".disabled")){var a=e(i).data("format");e(i).datepicker({dateFormat:a})}}),this.$element.closest(".exopite-sof-wrapper").on("exopite-sof-field-group-item-added-after",function(t,i){i.find(".datepicker").each(function(t,i){if(!e(i).closest(".exopite-sof-cloneable__item").hasClass("exopite-sof-cloneable__muster")&&!e(i).hasClass("disabled")){e(i).hasClass("hasDatepicker")&&(e(i).datepicker("destroy"),e(i).removeClass("hasDatepicker").removeAttr("id"));var a=e(i).data("format");e(i).datepicker({dateFormat:a})}})})}},e.fn[s]=function(t){return this.each(function(){e.data(this,"plugin_"+s)||e.data(this,"plugin_"+s,new n(this,t))})}}(jQuery,window,document),function(e){"use strict";e(document).ready(function(){e(".exopite-sof-field-date").exopiteSOFDatepicker()})}(jQuery);