var mainFunction = function(options) {
var vars = {
id: '',
bootsGrid: ["col-md-1", "col-md-2", "col-md-3", "col-md-4", "col-md-6", "col-md-12", "col-sm-1", "col-sm-2", "col-sm-3", "col-sm-4", "col-sm-6", "col-sm-12", "col-lg-1", "col-lg-2", "col-lg-3", "col-lg-4", "col-lg-6", "col-lg-12", "col-xs-1", "col-xs-2", "col-xs-3", "col-xs-4", "col-xs-6", "col-xs-12", "col-xl-1", "col-xl-2", "col-xl-3", "col-xl-4", "col-xl-6", "col-xl-12"],
breakPoint : [1200, 992, 768, 567, 0]
}
var root = this;
construct = function(v, options) {
$.extend(v, options);
}
this.GetUnique = function(e) {
var l = [],
s = temp_c = [],
t = vars.bootsGrid;
$(e).find('.carousel-item').each(function() {
for (var l = $(this).find('div').first().attr("class").split(/\s+/), t = 0; t < l.length; t++) s.push(l[t])
});
for (var c = 0; c < s.length; c++) temp_c = s[c].split("-"), 2 == temp_c.length && (temp_c.push(""), temp_c[2] = temp_c[1], temp_c[1] = "xs", s[c] = temp_c.join("-")), -1 == $.inArray(s[c], l) && $.inArray(s[c], t) && l.push(s[c]);
setcss(l, '#' + vars.id + ' .carousel-item', '#' + vars.id + ' .carousel-inner')
return l
}
setcss = function(e, l, s) {
var t = [];
$.each(vars.breakPoint,function(i,e){
t.push("");
})
for (var c = d = f = g = 0, o = [], a = 0; a < e.length; a++) {
var i = e[a].split("-");
if (3 == i.length) {
switch (i[1]) {
case "xl":
d = 0;
break;
case "lg":
d = 1;
break;