Файловый менеджер - Редактировать - /home/lmsyaran/public_html/pusher/js.zip
Назад
PK PE�[Z�f� � main.jsnu �[��� jQuery(document).ready(function($){ $('.owl-carousel').owlCarousel({ center: false, loop: true, margin:10, nav:true, autoplay:true, autoplayTimeout:2500, autoplayHoverPause:true, responsive:{ 0:{ items:1 }, 600:{ items:2 }, 1000:{ items:4 } } }); });PK PE�[�0>6� 6� owl.carousel.min.jsnu �[��� /** * Owl Carousel v2.3.4 * Copyright 2013-2018 David Deutsch * Licensed under: SEE LICENSE IN https://github.com/OwlCarousel2/OwlCarousel2/blob/master/LICENSE */ !function(a,b,c,d){function e(b,c){this.settings=null,this.options=a.extend({},e.Defaults,c),this.$element=a(b),this._handlers={},this._plugins={},this._supress={},this._current=null,this._speed=null,this._coordinates=[],this._breakpoint=null,this._width=null,this._items=[],this._clones=[],this._mergers=[],this._widths=[],this._invalidated={},this._pipe=[],this._drag={time:null,target:null,pointer:null,stage:{start:null,current:null},direction:null},this._states={current:{},tags:{initializing:["busy"],animating:["busy"],dragging:["interacting"]}},a.each(["onResize","onThrottledResize"],a.proxy(function(b,c){this._handlers[c]=a.proxy(this[c],this)},this)),a.each(e.Plugins,a.proxy(function(a,b){this._plugins[a.charAt(0).toLowerCase()+a.slice(1)]=new b(this)},this)),a.each(e.Workers,a.proxy(function(b,c){this._pipe.push({filter:c.filter,run:a.proxy(c.run,this)})},this)),this.setup(),this.initialize()}e.Defaults={items:3,loop:!1,center:!1,rewind:!1,checkVisibility:!0,mouseDrag:!0,touchDrag:!0,pullDrag:!0,freeDrag:!1,margin:0,stagePadding:0,merge:!1,mergeFit:!0,autoWidth:!1,startPosition:0,rtl:!1,smartSpeed:250,fluidSpeed:!1,dragEndSpeed:!1,responsive:{},responsiveRefreshRate:200,responsiveBaseElement:b,fallbackEasing:"swing",slideTransition:"",info:!1,nestedItemSelector:!1,itemElement:"div",stageElement:"div",refreshClass:"owl-refresh",loadedClass:"owl-loaded",loadingClass:"owl-loading",rtlClass:"owl-rtl",responsiveClass:"owl-responsive",dragClass:"owl-drag",itemClass:"owl-item",stageClass:"owl-stage",stageOuterClass:"owl-stage-outer",grabClass:"owl-grab"},e.Width={Default:"default",Inner:"inner",Outer:"outer"},e.Type={Event:"event",State:"state"},e.Plugins={},e.Workers=[{filter:["width","settings"],run:function(){this._width=this.$element.width()}},{filter:["width","items","settings"],run:function(a){a.current=this._items&&this._items[this.relative(this._current)]}},{filter:["items","settings"],run:function(){this.$stage.children(".cloned").remove()}},{filter:["width","items","settings"],run:function(a){var b=this.settings.margin||"",c=!this.settings.autoWidth,d=this.settings.rtl,e={width:"auto","margin-left":d?b:"","margin-right":d?"":b};!c&&this.$stage.children().css(e),a.css=e}},{filter:["width","items","settings"],run:function(a){var b=(this.width()/this.settings.items).toFixed(3)-this.settings.margin,c=null,d=this._items.length,e=!this.settings.autoWidth,f=[];for(a.items={merge:!1,width:b};d--;)c=this._mergers[d],c=this.settings.mergeFit&&Math.min(c,this.settings.items)||c,a.items.merge=c>1||a.items.merge,f[d]=e?b*c:this._items[d].width();this._widths=f}},{filter:["items","settings"],run:function(){var b=[],c=this._items,d=this.settings,e=Math.max(2*d.items,4),f=2*Math.ceil(c.length/2),g=d.loop&&c.length?d.rewind?e:Math.max(e,f):0,h="",i="";for(g/=2;g>0;)b.push(this.normalize(b.length/2,!0)),h+=c[b[b.length-1]][0].outerHTML,b.push(this.normalize(c.length-1-(b.length-1)/2,!0)),i=c[b[b.length-1]][0].outerHTML+i,g-=1;this._clones=b,a(h).addClass("cloned").appendTo(this.$stage),a(i).addClass("cloned").prependTo(this.$stage)}},{filter:["width","items","settings"],run:function(){for(var a=this.settings.rtl?1:-1,b=this._clones.length+this._items.length,c=-1,d=0,e=0,f=[];++c<b;)d=f[c-1]||0,e=this._widths[this.relative(c)]+this.settings.margin,f.push(d+e*a);this._coordinates=f}},{filter:["width","items","settings"],run:function(){var a=this.settings.stagePadding,b=this._coordinates,c={width:Math.ceil(Math.abs(b[b.length-1]))+2*a,"padding-left":a||"","padding-right":a||""};this.$stage.css(c)}},{filter:["width","items","settings"],run:function(a){var b=this._coordinates.length,c=!this.settings.autoWidth,d=this.$stage.children();if(c&&a.items.merge)for(;b--;)a.css.width=this._widths[this.relative(b)],d.eq(b).css(a.css);else c&&(a.css.width=a.items.width,d.css(a.css))}},{filter:["items"],run:function(){this._coordinates.length<1&&this.$stage.removeAttr("style")}},{filter:["width","items","settings"],run:function(a){a.current=a.current?this.$stage.children().index(a.current):0,a.current=Math.max(this.minimum(),Math.min(this.maximum(),a.current)),this.reset(a.current)}},{filter:["position"],run:function(){this.animate(this.coordinates(this._current))}},{filter:["width","position","items","settings"],run:function(){var a,b,c,d,e=this.settings.rtl?1:-1,f=2*this.settings.stagePadding,g=this.coordinates(this.current())+f,h=g+this.width()*e,i=[];for(c=0,d=this._coordinates.length;c<d;c++)a=this._coordinates[c-1]||0,b=Math.abs(this._coordinates[c])+f*e,(this.op(a,"<=",g)&&this.op(a,">",h)||this.op(b,"<",g)&&this.op(b,">",h))&&i.push(c);this.$stage.children(".active").removeClass("active"),this.$stage.children(":eq("+i.join("), :eq(")+")").addClass("active"),this.$stage.children(".center").removeClass("center"),this.settings.center&&this.$stage.children().eq(this.current()).addClass("center")}}],e.prototype.initializeStage=function(){this.$stage=this.$element.find("."+this.settings.stageClass),this.$stage.length||(this.$element.addClass(this.options.loadingClass),this.$stage=a("<"+this.settings.stageElement+">",{class:this.settings.stageClass}).wrap(a("<div/>",{class:this.settings.stageOuterClass})),this.$element.append(this.$stage.parent()))},e.prototype.initializeItems=function(){var b=this.$element.find(".owl-item");if(b.length)return this._items=b.get().map(function(b){return a(b)}),this._mergers=this._items.map(function(){return 1}),void this.refresh();this.replace(this.$element.children().not(this.$stage.parent())),this.isVisible()?this.refresh():this.invalidate("width"),this.$element.removeClass(this.options.loadingClass).addClass(this.options.loadedClass)},e.prototype.initialize=function(){if(this.enter("initializing"),this.trigger("initialize"),this.$element.toggleClass(this.settings.rtlClass,this.settings.rtl),this.settings.autoWidth&&!this.is("pre-loading")){var a,b,c;a=this.$element.find("img"),b=this.settings.nestedItemSelector?"."+this.settings.nestedItemSelector:d,c=this.$element.children(b).width(),a.length&&c<=0&&this.preloadAutoWidthImages(a)}this.initializeStage(),this.initializeItems(),this.registerEventHandlers(),this.leave("initializing"),this.trigger("initialized")},e.prototype.isVisible=function(){return!this.settings.checkVisibility||this.$element.is(":visible")},e.prototype.setup=function(){var b=this.viewport(),c=this.options.responsive,d=-1,e=null;c?(a.each(c,function(a){a<=b&&a>d&&(d=Number(a))}),e=a.extend({},this.options,c[d]),"function"==typeof e.stagePadding&&(e.stagePadding=e.stagePadding()),delete e.responsive,e.responsiveClass&&this.$element.attr("class",this.$element.attr("class").replace(new RegExp("("+this.options.responsiveClass+"-)\\S+\\s","g"),"$1"+d))):e=a.extend({},this.options),this.trigger("change",{property:{name:"settings",value:e}}),this._breakpoint=d,this.settings=e,this.invalidate("settings"),this.trigger("changed",{property:{name:"settings",value:this.settings}})},e.prototype.optionsLogic=function(){this.settings.autoWidth&&(this.settings.stagePadding=!1,this.settings.merge=!1)},e.prototype.prepare=function(b){var c=this.trigger("prepare",{content:b});return c.data||(c.data=a("<"+this.settings.itemElement+"/>").addClass(this.options.itemClass).append(b)),this.trigger("prepared",{content:c.data}),c.data},e.prototype.update=function(){for(var b=0,c=this._pipe.length,d=a.proxy(function(a){return this[a]},this._invalidated),e={};b<c;)(this._invalidated.all||a.grep(this._pipe[b].filter,d).length>0)&&this._pipe[b].run(e),b++;this._invalidated={},!this.is("valid")&&this.enter("valid")},e.prototype.width=function(a){switch(a=a||e.Width.Default){case e.Width.Inner:case e.Width.Outer:return this._width;default:return this._width-2*this.settings.stagePadding+this.settings.margin}},e.prototype.refresh=function(){this.enter("refreshing"),this.trigger("refresh"),this.setup(),this.optionsLogic(),this.$element.addClass(this.options.refreshClass),this.update(),this.$element.removeClass(this.options.refreshClass),this.leave("refreshing"),this.trigger("refreshed")},e.prototype.onThrottledResize=function(){b.clearTimeout(this.resizeTimer),this.resizeTimer=b.setTimeout(this._handlers.onResize,this.settings.responsiveRefreshRate)},e.prototype.onResize=function(){return!!this._items.length&&(this._width!==this.$element.width()&&(!!this.isVisible()&&(this.enter("resizing"),this.trigger("resize").isDefaultPrevented()?(this.leave("resizing"),!1):(this.invalidate("width"),this.refresh(),this.leave("resizing"),void this.trigger("resized")))))},e.prototype.registerEventHandlers=function(){a.support.transition&&this.$stage.on(a.support.transition.end+".owl.core",a.proxy(this.onTransitionEnd,this)),!1!==this.settings.responsive&&this.on(b,"resize",this._handlers.onThrottledResize),this.settings.mouseDrag&&(this.$element.addClass(this.options.dragClass),this.$stage.on("mousedown.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("dragstart.owl.core selectstart.owl.core",function(){return!1})),this.settings.touchDrag&&(this.$stage.on("touchstart.owl.core",a.proxy(this.onDragStart,this)),this.$stage.on("touchcancel.owl.core",a.proxy(this.onDragEnd,this)))},e.prototype.onDragStart=function(b){var d=null;3!==b.which&&(a.support.transform?(d=this.$stage.css("transform").replace(/.*\(|\)| /g,"").split(","),d={x:d[16===d.length?12:4],y:d[16===d.length?13:5]}):(d=this.$stage.position(),d={x:this.settings.rtl?d.left+this.$stage.width()-this.width()+this.settings.margin:d.left,y:d.top}),this.is("animating")&&(a.support.transform?this.animate(d.x):this.$stage.stop(),this.invalidate("position")),this.$element.toggleClass(this.options.grabClass,"mousedown"===b.type),this.speed(0),this._drag.time=(new Date).getTime(),this._drag.target=a(b.target),this._drag.stage.start=d,this._drag.stage.current=d,this._drag.pointer=this.pointer(b),a(c).on("mouseup.owl.core touchend.owl.core",a.proxy(this.onDragEnd,this)),a(c).one("mousemove.owl.core touchmove.owl.core",a.proxy(function(b){var d=this.difference(this._drag.pointer,this.pointer(b));a(c).on("mousemove.owl.core touchmove.owl.core",a.proxy(this.onDragMove,this)),Math.abs(d.x)<Math.abs(d.y)&&this.is("valid")||(b.preventDefault(),this.enter("dragging"),this.trigger("drag"))},this)))},e.prototype.onDragMove=function(a){var b=null,c=null,d=null,e=this.difference(this._drag.pointer,this.pointer(a)),f=this.difference(this._drag.stage.start,e);this.is("dragging")&&(a.preventDefault(),this.settings.loop?(b=this.coordinates(this.minimum()),c=this.coordinates(this.maximum()+1)-b,f.x=((f.x-b)%c+c)%c+b):(b=this.settings.rtl?this.coordinates(this.maximum()):this.coordinates(this.minimum()),c=this.settings.rtl?this.coordinates(this.minimum()):this.coordinates(this.maximum()),d=this.settings.pullDrag?-1*e.x/5:0,f.x=Math.max(Math.min(f.x,b+d),c+d)),this._drag.stage.current=f,this.animate(f.x))},e.prototype.onDragEnd=function(b){var d=this.difference(this._drag.pointer,this.pointer(b)),e=this._drag.stage.current,f=d.x>0^this.settings.rtl?"left":"right";a(c).off(".owl.core"),this.$element.removeClass(this.options.grabClass),(0!==d.x&&this.is("dragging")||!this.is("valid"))&&(this.speed(this.settings.dragEndSpeed||this.settings.smartSpeed),this.current(this.closest(e.x,0!==d.x?f:this._drag.direction)),this.invalidate("position"),this.update(),this._drag.direction=f,(Math.abs(d.x)>3||(new Date).getTime()-this._drag.time>300)&&this._drag.target.one("click.owl.core",function(){return!1})),this.is("dragging")&&(this.leave("dragging"),this.trigger("dragged"))},e.prototype.closest=function(b,c){var e=-1,f=30,g=this.width(),h=this.coordinates();return this.settings.freeDrag||a.each(h,a.proxy(function(a,i){return"left"===c&&b>i-f&&b<i+f?e=a:"right"===c&&b>i-g-f&&b<i-g+f?e=a+1:this.op(b,"<",i)&&this.op(b,">",h[a+1]!==d?h[a+1]:i-g)&&(e="left"===c?a+1:a),-1===e},this)),this.settings.loop||(this.op(b,">",h[this.minimum()])?e=b=this.minimum():this.op(b,"<",h[this.maximum()])&&(e=b=this.maximum())),e},e.prototype.animate=function(b){var c=this.speed()>0;this.is("animating")&&this.onTransitionEnd(),c&&(this.enter("animating"),this.trigger("translate")),a.support.transform3d&&a.support.transition?this.$stage.css({transform:"translate3d("+b+"px,0px,0px)",transition:this.speed()/1e3+"s"+(this.settings.slideTransition?" "+this.settings.slideTransition:"")}):c?this.$stage.animate({left:b+"px"},this.speed(),this.settings.fallbackEasing,a.proxy(this.onTransitionEnd,this)):this.$stage.css({left:b+"px"})},e.prototype.is=function(a){return this._states.current[a]&&this._states.current[a]>0},e.prototype.current=function(a){if(a===d)return this._current;if(0===this._items.length)return d;if(a=this.normalize(a),this._current!==a){var b=this.trigger("change",{property:{name:"position",value:a}});b.data!==d&&(a=this.normalize(b.data)),this._current=a,this.invalidate("position"),this.trigger("changed",{property:{name:"position",value:this._current}})}return this._current},e.prototype.invalidate=function(b){return"string"===a.type(b)&&(this._invalidated[b]=!0,this.is("valid")&&this.leave("valid")),a.map(this._invalidated,function(a,b){return b})},e.prototype.reset=function(a){(a=this.normalize(a))!==d&&(this._speed=0,this._current=a,this.suppress(["translate","translated"]),this.animate(this.coordinates(a)),this.release(["translate","translated"]))},e.prototype.normalize=function(a,b){var c=this._items.length,e=b?0:this._clones.length;return!this.isNumeric(a)||c<1?a=d:(a<0||a>=c+e)&&(a=((a-e/2)%c+c)%c+e/2),a},e.prototype.relative=function(a){return a-=this._clones.length/2,this.normalize(a,!0)},e.prototype.maximum=function(a){var b,c,d,e=this.settings,f=this._coordinates.length;if(e.loop)f=this._clones.length/2+this._items.length-1;else if(e.autoWidth||e.merge){if(b=this._items.length)for(c=this._items[--b].width(),d=this.$element.width();b--&&!((c+=this._items[b].width()+this.settings.margin)>d););f=b+1}else f=e.center?this._items.length-1:this._items.length-e.items;return a&&(f-=this._clones.length/2),Math.max(f,0)},e.prototype.minimum=function(a){return a?0:this._clones.length/2},e.prototype.items=function(a){return a===d?this._items.slice():(a=this.normalize(a,!0),this._items[a])},e.prototype.mergers=function(a){return a===d?this._mergers.slice():(a=this.normalize(a,!0),this._mergers[a])},e.prototype.clones=function(b){var c=this._clones.length/2,e=c+this._items.length,f=function(a){return a%2==0?e+a/2:c-(a+1)/2};return b===d?a.map(this._clones,function(a,b){return f(b)}):a.map(this._clones,function(a,c){return a===b?f(c):null})},e.prototype.speed=function(a){return a!==d&&(this._speed=a),this._speed},e.prototype.coordinates=function(b){var c,e=1,f=b-1;return b===d?a.map(this._coordinates,a.proxy(function(a,b){return this.coordinates(b)},this)):(this.settings.center?(this.settings.rtl&&(e=-1,f=b+1),c=this._coordinates[b],c+=(this.width()-c+(this._coordinates[f]||0))/2*e):c=this._coordinates[f]||0,c=Math.ceil(c))},e.prototype.duration=function(a,b,c){return 0===c?0:Math.min(Math.max(Math.abs(b-a),1),6)*Math.abs(c||this.settings.smartSpeed)},e.prototype.to=function(a,b){var c=this.current(),d=null,e=a-this.relative(c),f=(e>0)-(e<0),g=this._items.length,h=this.minimum(),i=this.maximum();this.settings.loop?(!this.settings.rewind&&Math.abs(e)>g/2&&(e+=-1*f*g),a=c+e,(d=((a-h)%g+g)%g+h)!==a&&d-e<=i&&d-e>0&&(c=d-e,a=d,this.reset(c))):this.settings.rewind?(i+=1,a=(a%i+i)%i):a=Math.max(h,Math.min(i,a)),this.speed(this.duration(c,a,b)),this.current(a),this.isVisible()&&this.update()},e.prototype.next=function(a){a=a||!1,this.to(this.relative(this.current())+1,a)},e.prototype.prev=function(a){a=a||!1,this.to(this.relative(this.current())-1,a)},e.prototype.onTransitionEnd=function(a){if(a!==d&&(a.stopPropagation(),(a.target||a.srcElement||a.originalTarget)!==this.$stage.get(0)))return!1;this.leave("animating"),this.trigger("translated")},e.prototype.viewport=function(){var d;return this.options.responsiveBaseElement!==b?d=a(this.options.responsiveBaseElement).width():b.innerWidth?d=b.innerWidth:c.documentElement&&c.documentElement.clientWidth?d=c.documentElement.clientWidth:console.warn("Can not detect viewport width."),d},e.prototype.replace=function(b){this.$stage.empty(),this._items=[],b&&(b=b instanceof jQuery?b:a(b)),this.settings.nestedItemSelector&&(b=b.find("."+this.settings.nestedItemSelector)),b.filter(function(){return 1===this.nodeType}).each(a.proxy(function(a,b){b=this.prepare(b),this.$stage.append(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)},this)),this.reset(this.isNumeric(this.settings.startPosition)?this.settings.startPosition:0),this.invalidate("items")},e.prototype.add=function(b,c){var e=this.relative(this._current);c=c===d?this._items.length:this.normalize(c,!0),b=b instanceof jQuery?b:a(b),this.trigger("add",{content:b,position:c}),b=this.prepare(b),0===this._items.length||c===this._items.length?(0===this._items.length&&this.$stage.append(b),0!==this._items.length&&this._items[c-1].after(b),this._items.push(b),this._mergers.push(1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)):(this._items[c].before(b),this._items.splice(c,0,b),this._mergers.splice(c,0,1*b.find("[data-merge]").addBack("[data-merge]").attr("data-merge")||1)),this._items[e]&&this.reset(this._items[e].index()),this.invalidate("items"),this.trigger("added",{content:b,position:c})},e.prototype.remove=function(a){(a=this.normalize(a,!0))!==d&&(this.trigger("remove",{content:this._items[a],position:a}),this._items[a].remove(),this._items.splice(a,1),this._mergers.splice(a,1),this.invalidate("items"),this.trigger("removed",{content:null,position:a}))},e.prototype.preloadAutoWidthImages=function(b){b.each(a.proxy(function(b,c){this.enter("pre-loading"),c=a(c),a(new Image).one("load",a.proxy(function(a){c.attr("src",a.target.src),c.css("opacity",1),this.leave("pre-loading"),!this.is("pre-loading")&&!this.is("initializing")&&this.refresh()},this)).attr("src",c.attr("src")||c.attr("data-src")||c.attr("data-src-retina"))},this))},e.prototype.destroy=function(){this.$element.off(".owl.core"),this.$stage.off(".owl.core"),a(c).off(".owl.core"),!1!==this.settings.responsive&&(b.clearTimeout(this.resizeTimer),this.off(b,"resize",this._handlers.onThrottledResize));for(var d in this._plugins)this._plugins[d].destroy();this.$stage.children(".cloned").remove(),this.$stage.unwrap(),this.$stage.children().contents().unwrap(),this.$stage.children().unwrap(),this.$stage.remove(),this.$element.removeClass(this.options.refreshClass).removeClass(this.options.loadingClass).removeClass(this.options.loadedClass).removeClass(this.options.rtlClass).removeClass(this.options.dragClass).removeClass(this.options.grabClass).attr("class",this.$element.attr("class").replace(new RegExp(this.options.responsiveClass+"-\\S+\\s","g"),"")).removeData("owl.carousel")},e.prototype.op=function(a,b,c){var d=this.settings.rtl;switch(b){case"<":return d?a>c:a<c;case">":return d?a<c:a>c;case">=":return d?a<=c:a>=c;case"<=":return d?a>=c:a<=c}},e.prototype.on=function(a,b,c,d){a.addEventListener?a.addEventListener(b,c,d):a.attachEvent&&a.attachEvent("on"+b,c)},e.prototype.off=function(a,b,c,d){a.removeEventListener?a.removeEventListener(b,c,d):a.detachEvent&&a.detachEvent("on"+b,c)},e.prototype.trigger=function(b,c,d,f,g){var h={item:{count:this._items.length,index:this.current()}},i=a.camelCase(a.grep(["on",b,d],function(a){return a}).join("-").toLowerCase()),j=a.Event([b,"owl",d||"carousel"].join(".").toLowerCase(),a.extend({relatedTarget:this},h,c));return this._supress[b]||(a.each(this._plugins,function(a,b){b.onTrigger&&b.onTrigger(j)}),this.register({type:e.Type.Event,name:b}),this.$element.trigger(j),this.settings&&"function"==typeof this.settings[i]&&this.settings[i].call(this,j)),j},e.prototype.enter=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]===d&&(this._states.current[b]=0),this._states.current[b]++},this))},e.prototype.leave=function(b){a.each([b].concat(this._states.tags[b]||[]),a.proxy(function(a,b){this._states.current[b]--},this))},e.prototype.register=function(b){if(b.type===e.Type.Event){if(a.event.special[b.name]||(a.event.special[b.name]={}),!a.event.special[b.name].owl){var c=a.event.special[b.name]._default;a.event.special[b.name]._default=function(a){return!c||!c.apply||a.namespace&&-1!==a.namespace.indexOf("owl")?a.namespace&&a.namespace.indexOf("owl")>-1:c.apply(this,arguments)},a.event.special[b.name].owl=!0}}else b.type===e.Type.State&&(this._states.tags[b.name]?this._states.tags[b.name]=this._states.tags[b.name].concat(b.tags):this._states.tags[b.name]=b.tags,this._states.tags[b.name]=a.grep(this._states.tags[b.name],a.proxy(function(c,d){return a.inArray(c,this._states.tags[b.name])===d},this)))},e.prototype.suppress=function(b){a.each(b,a.proxy(function(a,b){this._supress[b]=!0},this))},e.prototype.release=function(b){a.each(b,a.proxy(function(a,b){delete this._supress[b]},this))},e.prototype.pointer=function(a){var c={x:null,y:null};return a=a.originalEvent||a||b.event,a=a.touches&&a.touches.length?a.touches[0]:a.changedTouches&&a.changedTouches.length?a.changedTouches[0]:a,a.pageX?(c.x=a.pageX,c.y=a.pageY):(c.x=a.clientX,c.y=a.clientY),c},e.prototype.isNumeric=function(a){return!isNaN(parseFloat(a))},e.prototype.difference=function(a,b){return{x:a.x-b.x,y:a.y-b.y}},a.fn.owlCarousel=function(b){var c=Array.prototype.slice.call(arguments,1);return this.each(function(){var d=a(this),f=d.data("owl.carousel");f||(f=new e(this,"object"==typeof b&&b),d.data("owl.carousel",f),a.each(["next","prev","to","destroy","refresh","replace","add","remove"],function(b,c){f.register({type:e.Type.Event,name:c}),f.$element.on(c+".owl.carousel.core",a.proxy(function(a){a.namespace&&a.relatedTarget!==this&&(this.suppress([c]),f[c].apply(this,[].slice.call(arguments,1)),this.release([c]))},f))})),"string"==typeof b&&"_"!==b.charAt(0)&&f[b].apply(f,c)})},a.fn.owlCarousel.Constructor=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._interval=null,this._visible=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoRefresh&&this.watch()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={autoRefresh:!0,autoRefreshInterval:500},e.prototype.watch=function(){this._interval||(this._visible=this._core.isVisible(),this._interval=b.setInterval(a.proxy(this.refresh,this),this._core.settings.autoRefreshInterval))},e.prototype.refresh=function(){this._core.isVisible()!==this._visible&&(this._visible=!this._visible,this._core.$element.toggleClass("owl-hidden",!this._visible),this._visible&&this._core.invalidate("width")&&this._core.refresh())},e.prototype.destroy=function(){var a,c;b.clearInterval(this._interval);for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoRefresh=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._loaded=[],this._handlers={"initialized.owl.carousel change.owl.carousel resized.owl.carousel":a.proxy(function(b){if(b.namespace&&this._core.settings&&this._core.settings.lazyLoad&&(b.property&&"position"==b.property.name||"initialized"==b.type)){var c=this._core.settings,e=c.center&&Math.ceil(c.items/2)||c.items,f=c.center&&-1*e||0,g=(b.property&&b.property.value!==d?b.property.value:this._core.current())+f,h=this._core.clones().length,i=a.proxy(function(a,b){this.load(b)},this);for(c.lazyLoadEager>0&&(e+=c.lazyLoadEager,c.loop&&(g-=c.lazyLoadEager,e++));f++<e;)this.load(h/2+this._core.relative(g)),h&&a.each(this._core.clones(this._core.relative(g)),i),g++}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers)};e.Defaults={lazyLoad:!1,lazyLoadEager:0},e.prototype.load=function(c){var d=this._core.$stage.children().eq(c),e=d&&d.find(".owl-lazy");!e||a.inArray(d.get(0),this._loaded)>-1||(e.each(a.proxy(function(c,d){var e,f=a(d),g=b.devicePixelRatio>1&&f.attr("data-src-retina")||f.attr("data-src")||f.attr("data-srcset");this._core.trigger("load",{element:f,url:g},"lazy"),f.is("img")?f.one("load.owl.lazy",a.proxy(function(){f.css("opacity",1),this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("src",g):f.is("source")?f.one("load.owl.lazy",a.proxy(function(){this._core.trigger("loaded",{element:f,url:g},"lazy")},this)).attr("srcset",g):(e=new Image,e.onload=a.proxy(function(){f.css({"background-image":'url("'+g+'")',opacity:"1"}),this._core.trigger("loaded",{element:f,url:g},"lazy")},this),e.src=g)},this)),this._loaded.push(d.get(0)))},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this._core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Lazy=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(c){this._core=c,this._previousHeight=null,this._handlers={"initialized.owl.carousel refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&this.update()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&"position"===a.property.name&&this.update()},this),"loaded.owl.lazy":a.proxy(function(a){a.namespace&&this._core.settings.autoHeight&&a.element.closest("."+this._core.settings.itemClass).index()===this._core.current()&&this.update()},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._intervalId=null;var d=this;a(b).on("load",function(){d._core.settings.autoHeight&&d.update()}),a(b).resize(function(){d._core.settings.autoHeight&&(null!=d._intervalId&&clearTimeout(d._intervalId),d._intervalId=setTimeout(function(){d.update()},250))})};e.Defaults={autoHeight:!1,autoHeightClass:"owl-height"},e.prototype.update=function(){var b=this._core._current,c=b+this._core.settings.items,d=this._core.settings.lazyLoad,e=this._core.$stage.children().toArray().slice(b,c),f=[],g=0;a.each(e,function(b,c){f.push(a(c).height())}),g=Math.max.apply(null,f),g<=1&&d&&this._previousHeight&&(g=this._previousHeight),this._previousHeight=g,this._core.$stage.parent().height(g).addClass(this._core.settings.autoHeightClass)},e.prototype.destroy=function(){var a,b;for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.AutoHeight=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._videos={},this._playing=null,this._handlers={"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.register({type:"state",name:"playing",tags:["interacting"]})},this),"resize.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.video&&this.isInFullScreen()&&a.preventDefault()},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._core.is("resizing")&&this._core.$stage.find(".cloned .owl-video-frame").remove()},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"===a.property.name&&this._playing&&this.stop()},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find(".owl-video");c.length&&(c.css("display","none"),this.fetch(c,a(b.content)))}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this._core.$element.on(this._handlers),this._core.$element.on("click.owl.video",".owl-video-play-icon",a.proxy(function(a){this.play(a)},this))};e.Defaults={video:!1,videoHeight:!1,videoWidth:!1},e.prototype.fetch=function(a,b){var c=function(){return a.attr("data-vimeo-id")?"vimeo":a.attr("data-vzaar-id")?"vzaar":"youtube"}(),d=a.attr("data-vimeo-id")||a.attr("data-youtube-id")||a.attr("data-vzaar-id"),e=a.attr("data-width")||this._core.settings.videoWidth,f=a.attr("data-height")||this._core.settings.videoHeight,g=a.attr("href");if(!g)throw new Error("Missing video URL.");if(d=g.match(/(http:|https:|)\/\/(player.|www.|app.)?(vimeo\.com|youtu(be\.com|\.be|be\.googleapis\.com|be\-nocookie\.com)|vzaar\.com)\/(video\/|videos\/|embed\/|channels\/.+\/|groups\/.+\/|watch\?v=|v\/)?([A-Za-z0-9._%-]*)(\&\S+)?/),d[3].indexOf("youtu")>-1)c="youtube";else if(d[3].indexOf("vimeo")>-1)c="vimeo";else{if(!(d[3].indexOf("vzaar")>-1))throw new Error("Video URL not supported.");c="vzaar"}d=d[6],this._videos[g]={type:c,id:d,width:e,height:f},b.attr("data-video",g),this.thumbnail(a,this._videos[g])},e.prototype.thumbnail=function(b,c){var d,e,f,g=c.width&&c.height?"width:"+c.width+"px;height:"+c.height+"px;":"",h=b.find("img"),i="src",j="",k=this._core.settings,l=function(c){e='<div class="owl-video-play-icon"></div>',d=k.lazyLoad?a("<div/>",{class:"owl-video-tn "+j,srcType:c}):a("<div/>",{class:"owl-video-tn",style:"opacity:1;background-image:url("+c+")"}),b.after(d),b.after(e)};if(b.wrap(a("<div/>",{class:"owl-video-wrapper",style:g})),this._core.settings.lazyLoad&&(i="data-src",j="owl-lazy"),h.length)return l(h.attr(i)),h.remove(),!1;"youtube"===c.type?(f="//img.youtube.com/vi/"+c.id+"/hqdefault.jpg",l(f)):"vimeo"===c.type?a.ajax({type:"GET",url:"//vimeo.com/api/v2/video/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a[0].thumbnail_large,l(f)}}):"vzaar"===c.type&&a.ajax({type:"GET",url:"//vzaar.com/api/videos/"+c.id+".json",jsonp:"callback",dataType:"jsonp",success:function(a){f=a.framegrab_url,l(f)}})},e.prototype.stop=function(){this._core.trigger("stop",null,"video"),this._playing.find(".owl-video-frame").remove(),this._playing.removeClass("owl-video-playing"),this._playing=null,this._core.leave("playing"),this._core.trigger("stopped",null,"video")},e.prototype.play=function(b){var c,d=a(b.target),e=d.closest("."+this._core.settings.itemClass),f=this._videos[e.attr("data-video")],g=f.width||"100%",h=f.height||this._core.$stage.height();this._playing||(this._core.enter("playing"),this._core.trigger("play",null,"video"),e=this._core.items(this._core.relative(e.index())),this._core.reset(e.index()),c=a('<iframe frameborder="0" allowfullscreen mozallowfullscreen webkitAllowFullScreen ></iframe>'),c.attr("height",h),c.attr("width",g),"youtube"===f.type?c.attr("src","//www.youtube.com/embed/"+f.id+"?autoplay=1&rel=0&v="+f.id):"vimeo"===f.type?c.attr("src","//player.vimeo.com/video/"+f.id+"?autoplay=1"):"vzaar"===f.type&&c.attr("src","//view.vzaar.com/"+f.id+"/player?autoplay=true"),a(c).wrap('<div class="owl-video-frame" />').insertAfter(e.find(".owl-video")),this._playing=e.addClass("owl-video-playing"))},e.prototype.isInFullScreen=function(){var b=c.fullscreenElement||c.mozFullScreenElement||c.webkitFullscreenElement;return b&&a(b).parent().hasClass("owl-video-frame")},e.prototype.destroy=function(){var a,b;this._core.$element.off("click.owl.video");for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Video=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this.core=b,this.core.options=a.extend({},e.Defaults,this.core.options),this.swapping=!0,this.previous=d,this.next=d,this.handlers={"change.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&(this.previous=this.core.current(),this.next=a.property.value)},this),"drag.owl.carousel dragged.owl.carousel translated.owl.carousel":a.proxy(function(a){a.namespace&&(this.swapping="translated"==a.type)},this),"translate.owl.carousel":a.proxy(function(a){a.namespace&&this.swapping&&(this.core.options.animateOut||this.core.options.animateIn)&&this.swap()},this)},this.core.$element.on(this.handlers)};e.Defaults={animateOut:!1, animateIn:!1},e.prototype.swap=function(){if(1===this.core.settings.items&&a.support.animation&&a.support.transition){this.core.speed(0);var b,c=a.proxy(this.clear,this),d=this.core.$stage.children().eq(this.previous),e=this.core.$stage.children().eq(this.next),f=this.core.settings.animateIn,g=this.core.settings.animateOut;this.core.current()!==this.previous&&(g&&(b=this.core.coordinates(this.previous)-this.core.coordinates(this.next),d.one(a.support.animation.end,c).css({left:b+"px"}).addClass("animated owl-animated-out").addClass(g)),f&&e.one(a.support.animation.end,c).addClass("animated owl-animated-in").addClass(f))}},e.prototype.clear=function(b){a(b.target).css({left:""}).removeClass("animated owl-animated-out owl-animated-in").removeClass(this.core.settings.animateIn).removeClass(this.core.settings.animateOut),this.core.onTransitionEnd()},e.prototype.destroy=function(){var a,b;for(a in this.handlers)this.core.$element.off(a,this.handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.Animate=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){var e=function(b){this._core=b,this._call=null,this._time=0,this._timeout=0,this._paused=!0,this._handlers={"changed.owl.carousel":a.proxy(function(a){a.namespace&&"settings"===a.property.name?this._core.settings.autoplay?this.play():this.stop():a.namespace&&"position"===a.property.name&&this._paused&&(this._time=0)},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.autoplay&&this.play()},this),"play.owl.autoplay":a.proxy(function(a,b,c){a.namespace&&this.play(b,c)},this),"stop.owl.autoplay":a.proxy(function(a){a.namespace&&this.stop()},this),"mouseover.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"mouseleave.owl.autoplay":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.play()},this),"touchstart.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this._core.is("rotating")&&this.pause()},this),"touchend.owl.core":a.proxy(function(){this._core.settings.autoplayHoverPause&&this.play()},this)},this._core.$element.on(this._handlers),this._core.options=a.extend({},e.Defaults,this._core.options)};e.Defaults={autoplay:!1,autoplayTimeout:5e3,autoplayHoverPause:!1,autoplaySpeed:!1},e.prototype._next=function(d){this._call=b.setTimeout(a.proxy(this._next,this,d),this._timeout*(Math.round(this.read()/this._timeout)+1)-this.read()),this._core.is("interacting")||c.hidden||this._core.next(d||this._core.settings.autoplaySpeed)},e.prototype.read=function(){return(new Date).getTime()-this._time},e.prototype.play=function(c,d){var e;this._core.is("rotating")||this._core.enter("rotating"),c=c||this._core.settings.autoplayTimeout,e=Math.min(this._time%(this._timeout||c),c),this._paused?(this._time=this.read(),this._paused=!1):b.clearTimeout(this._call),this._time+=this.read()%c-e,this._timeout=c,this._call=b.setTimeout(a.proxy(this._next,this,d),c-e)},e.prototype.stop=function(){this._core.is("rotating")&&(this._time=0,this._paused=!0,b.clearTimeout(this._call),this._core.leave("rotating"))},e.prototype.pause=function(){this._core.is("rotating")&&!this._paused&&(this._time=this.read(),this._paused=!0,b.clearTimeout(this._call))},e.prototype.destroy=function(){var a,b;this.stop();for(a in this._handlers)this._core.$element.off(a,this._handlers[a]);for(b in Object.getOwnPropertyNames(this))"function"!=typeof this[b]&&(this[b]=null)},a.fn.owlCarousel.Constructor.Plugins.autoplay=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(b){this._core=b,this._initialized=!1,this._pages=[],this._controls={},this._templates=[],this.$element=this._core.$element,this._overrides={next:this._core.next,prev:this._core.prev,to:this._core.to},this._handlers={"prepared.owl.carousel":a.proxy(function(b){b.namespace&&this._core.settings.dotsData&&this._templates.push('<div class="'+this._core.settings.dotClass+'">'+a(b.content).find("[data-dot]").addBack("[data-dot]").attr("data-dot")+"</div>")},this),"added.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,0,this._templates.pop())},this),"remove.owl.carousel":a.proxy(function(a){a.namespace&&this._core.settings.dotsData&&this._templates.splice(a.position,1)},this),"changed.owl.carousel":a.proxy(function(a){a.namespace&&"position"==a.property.name&&this.draw()},this),"initialized.owl.carousel":a.proxy(function(a){a.namespace&&!this._initialized&&(this._core.trigger("initialize",null,"navigation"),this.initialize(),this.update(),this.draw(),this._initialized=!0,this._core.trigger("initialized",null,"navigation"))},this),"refreshed.owl.carousel":a.proxy(function(a){a.namespace&&this._initialized&&(this._core.trigger("refresh",null,"navigation"),this.update(),this.draw(),this._core.trigger("refreshed",null,"navigation"))},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers)};e.Defaults={nav:!1,navText:['<span aria-label="Previous">‹</span>','<span aria-label="Next">›</span>'],navSpeed:!1,navElement:'button type="button" role="presentation"',navContainer:!1,navContainerClass:"owl-nav",navClass:["owl-prev","owl-next"],slideBy:1,dotClass:"owl-dot",dotsClass:"owl-dots",dots:!0,dotsEach:!1,dotsData:!1,dotsSpeed:!1,dotsContainer:!1},e.prototype.initialize=function(){var b,c=this._core.settings;this._controls.$relative=(c.navContainer?a(c.navContainer):a("<div>").addClass(c.navContainerClass).appendTo(this.$element)).addClass("disabled"),this._controls.$previous=a("<"+c.navElement+">").addClass(c.navClass[0]).html(c.navText[0]).prependTo(this._controls.$relative).on("click",a.proxy(function(a){this.prev(c.navSpeed)},this)),this._controls.$next=a("<"+c.navElement+">").addClass(c.navClass[1]).html(c.navText[1]).appendTo(this._controls.$relative).on("click",a.proxy(function(a){this.next(c.navSpeed)},this)),c.dotsData||(this._templates=[a('<button role="button">').addClass(c.dotClass).append(a("<span>")).prop("outerHTML")]),this._controls.$absolute=(c.dotsContainer?a(c.dotsContainer):a("<div>").addClass(c.dotsClass).appendTo(this.$element)).addClass("disabled"),this._controls.$absolute.on("click","button",a.proxy(function(b){var d=a(b.target).parent().is(this._controls.$absolute)?a(b.target).index():a(b.target).parent().index();b.preventDefault(),this.to(d,c.dotsSpeed)},this));for(b in this._overrides)this._core[b]=a.proxy(this[b],this)},e.prototype.destroy=function(){var a,b,c,d,e;e=this._core.settings;for(a in this._handlers)this.$element.off(a,this._handlers[a]);for(b in this._controls)"$relative"===b&&e.navContainer?this._controls[b].html(""):this._controls[b].remove();for(d in this.overides)this._core[d]=this._overrides[d];for(c in Object.getOwnPropertyNames(this))"function"!=typeof this[c]&&(this[c]=null)},e.prototype.update=function(){var a,b,c,d=this._core.clones().length/2,e=d+this._core.items().length,f=this._core.maximum(!0),g=this._core.settings,h=g.center||g.autoWidth||g.dotsData?1:g.dotsEach||g.items;if("page"!==g.slideBy&&(g.slideBy=Math.min(g.slideBy,g.items)),g.dots||"page"==g.slideBy)for(this._pages=[],a=d,b=0,c=0;a<e;a++){if(b>=h||0===b){if(this._pages.push({start:Math.min(f,a-d),end:a-d+h-1}),Math.min(f,a-d)===f)break;b=0,++c}b+=this._core.mergers(this._core.relative(a))}},e.prototype.draw=function(){var b,c=this._core.settings,d=this._core.items().length<=c.items,e=this._core.relative(this._core.current()),f=c.loop||c.rewind;this._controls.$relative.toggleClass("disabled",!c.nav||d),c.nav&&(this._controls.$previous.toggleClass("disabled",!f&&e<=this._core.minimum(!0)),this._controls.$next.toggleClass("disabled",!f&&e>=this._core.maximum(!0))),this._controls.$absolute.toggleClass("disabled",!c.dots||d),c.dots&&(b=this._pages.length-this._controls.$absolute.children().length,c.dotsData&&0!==b?this._controls.$absolute.html(this._templates.join("")):b>0?this._controls.$absolute.append(new Array(b+1).join(this._templates[0])):b<0&&this._controls.$absolute.children().slice(b).remove(),this._controls.$absolute.find(".active").removeClass("active"),this._controls.$absolute.children().eq(a.inArray(this.current(),this._pages)).addClass("active"))},e.prototype.onTrigger=function(b){var c=this._core.settings;b.page={index:a.inArray(this.current(),this._pages),count:this._pages.length,size:c&&(c.center||c.autoWidth||c.dotsData?1:c.dotsEach||c.items)}},e.prototype.current=function(){var b=this._core.relative(this._core.current());return a.grep(this._pages,a.proxy(function(a,c){return a.start<=b&&a.end>=b},this)).pop()},e.prototype.getPosition=function(b){var c,d,e=this._core.settings;return"page"==e.slideBy?(c=a.inArray(this.current(),this._pages),d=this._pages.length,b?++c:--c,c=this._pages[(c%d+d)%d].start):(c=this._core.relative(this._core.current()),d=this._core.items().length,b?c+=e.slideBy:c-=e.slideBy),c},e.prototype.next=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!0),b)},e.prototype.prev=function(b){a.proxy(this._overrides.to,this._core)(this.getPosition(!1),b)},e.prototype.to=function(b,c,d){var e;!d&&this._pages.length?(e=this._pages.length,a.proxy(this._overrides.to,this._core)(this._pages[(b%e+e)%e].start,c)):a.proxy(this._overrides.to,this._core)(b,c)},a.fn.owlCarousel.Constructor.Plugins.Navigation=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){"use strict";var e=function(c){this._core=c,this._hashes={},this.$element=this._core.$element,this._handlers={"initialized.owl.carousel":a.proxy(function(c){c.namespace&&"URLHash"===this._core.settings.startPosition&&a(b).trigger("hashchange.owl.navigation")},this),"prepared.owl.carousel":a.proxy(function(b){if(b.namespace){var c=a(b.content).find("[data-hash]").addBack("[data-hash]").attr("data-hash");if(!c)return;this._hashes[c]=b.content}},this),"changed.owl.carousel":a.proxy(function(c){if(c.namespace&&"position"===c.property.name){var d=this._core.items(this._core.relative(this._core.current())),e=a.map(this._hashes,function(a,b){return a===d?b:null}).join();if(!e||b.location.hash.slice(1)===e)return;b.location.hash=e}},this)},this._core.options=a.extend({},e.Defaults,this._core.options),this.$element.on(this._handlers),a(b).on("hashchange.owl.navigation",a.proxy(function(a){var c=b.location.hash.substring(1),e=this._core.$stage.children(),f=this._hashes[c]&&e.index(this._hashes[c]);f!==d&&f!==this._core.current()&&this._core.to(this._core.relative(f),!1,!0)},this))};e.Defaults={URLhashListener:!1},e.prototype.destroy=function(){var c,d;a(b).off("hashchange.owl.navigation");for(c in this._handlers)this._core.$element.off(c,this._handlers[c]);for(d in Object.getOwnPropertyNames(this))"function"!=typeof this[d]&&(this[d]=null)},a.fn.owlCarousel.Constructor.Plugins.Hash=e}(window.Zepto||window.jQuery,window,document),function(a,b,c,d){function e(b,c){var e=!1,f=b.charAt(0).toUpperCase()+b.slice(1);return a.each((b+" "+h.join(f+" ")+f).split(" "),function(a,b){if(g[b]!==d)return e=!c||b,!1}),e}function f(a){return e(a,!0)}var g=a("<support>").get(0).style,h="Webkit Moz O ms".split(" "),i={transition:{end:{WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd",transition:"transitionend"}},animation:{end:{WebkitAnimation:"webkitAnimationEnd",MozAnimation:"animationend",OAnimation:"oAnimationEnd",animation:"animationend"}}},j={csstransforms:function(){return!!e("transform")},csstransforms3d:function(){return!!e("perspective")},csstransitions:function(){return!!e("transition")},cssanimations:function(){return!!e("animation")}};j.csstransitions()&&(a.support.transition=new String(f("transition")),a.support.transition.end=i.transition.end[a.support.transition]),j.cssanimations()&&(a.support.animation=new String(f("animation")),a.support.animation.end=i.animation.end[a.support.animation]),j.csstransforms()&&(a.support.transform=new String(f("transform")),a.support.transform3d=j.csstransforms3d())}(window.Zepto||window.jQuery,window,document);PK ZV�[Q�!s� � admin-fields-modal.jsnu �[��� /** * @copyright Copyright (C) 2005 - 2020 Open Source Matters, Inc. All rights reserved. * @license GNU General Public License version 2 or later; see LICENSE.txt */ Joomla = window.Joomla || {}; (function(Joomla) { Joomla.fieldIns = function(id, editor) { /** Use the API, if editor supports it **/ if (window.parent.Joomla && window.parent.Joomla.editors && window.parent.Joomla.editors.instances && window.parent.Joomla.editors.instances.hasOwnProperty(editor)) { window.parent.Joomla.editors.instances[editor].replaceSelection("{field " + id + "}") } else { window.parent.jInsertEditorText("{field " + id + "}", editor); } window.parent.jModalClose(); }; Joomla.fieldgroupIns = function(id, editor) { /** Use the API, if editor supports it **/ if (window.parent.Joomla && window.parent.Joomla.editors && window.parent.Joomla.editors.instances && window.parent.Joomla.editors.instances.hasOwnProperty(editor)) { window.parent.Joomla.editors.instances[editor].replaceSelection("{fieldgroup " + id + "}") } else { window.parent.jInsertEditorText("{fieldgroup " + id + "}", editor); } window.parent.jModalClose(); }; })(Joomla); PK ZV�[nM�� � admin-fields-modal.min.jsnu �[��� Joomla=window.Joomla||{},function(a){a.fieldIns=function(a,b){window.parent.Joomla&&window.parent.Joomla.editors&&window.parent.Joomla.editors.instances&&window.parent.Joomla.editors.instances.hasOwnProperty(b)?window.parent.Joomla.editors.instances[b].replaceSelection("{field "+a+"}"):window.parent.jInsertEditorText("{field "+a+"}",b),window.parent.jModalClose()},a.fieldgroupIns=function(a,b){window.parent.Joomla&&window.parent.Joomla.editors&&window.parent.Joomla.editors.instances&&window.parent.Joomla.editors.instances.hasOwnProperty(b)?window.parent.Joomla.editors.instances[b].replaceSelection("{fieldgroup "+a+"}"):window.parent.jInsertEditorText("{fieldgroup "+a+"}",b),window.parent.jModalClose()}}(Joomla);PK [V�[h�g�" " appointment.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage appointment.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[I�~1 bbbclass.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage bbbclass.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[40oO capital.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage capital.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[1��J comment.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage comment.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[�A_�! ! consultant.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage consultant.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[Ⱦ� doctor.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage doctor.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ /***[JCBGUI.admin_view.javascript_view_file.121.$$$$]***/ jQuery(document).ready(function($){ var gettoken= Joomla.getOptions('token'); $('select#jform_capitalid').change(function () { var capitalid= $(this).val(); var token= gettoken; $.ajax({ url: 'index.php?option=com_reservation', method: 'post', dataType: 'json', data: {[token] : '1',task:'ajax.getCity', format: 'json' , raw: 'true' , capitalid: capitalid}, success: function (msg) { var temp='<option value="">Select an option</option>'; msg.each(function(value, index){ temp += '<option value="'+value.id+'">'+value.name+'</option>'; }); $('select#jform_cityid').html(temp); $( "select#jform_cityid" ).trigger( "liszt:updated" ); }, error: function (err) { console.log(err); } }); }); });/***[/JCBGUI$$$$]***/ PK [V�[�#o, , index.htmlnu �[��� <html><body bgcolor="#FFFFFF"></body></html>PK [V�[3�-� message.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage message.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[�]� plan.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage plan.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[6q�� reserve.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage reserve.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[��1� session.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage session.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ PK [V�[n\t� sick.jsnu �[��� /*----------------------------------------------------------------------------------| www.vdm.io |----/ fdsh /-------------------------------------------------------------------------------------------------------/ @version 1.0.39 @build 4th April, 2023 @created 17th December, 2020 @package Reservation @subpackage sick.js @author farhad shahbazi <http://farhad.com> @copyright Copyright (C) 2015. All Rights Reserved @license GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html ____ _____ _____ __ __ __ __ ___ _____ __ __ ____ _____ _ _ ____ _ _ ____ (_ _)( _ )( _ )( \/ )( ) /__\ / __)( _ )( \/ )( _ \( _ )( \( )( ___)( \( )(_ _) .-_)( )(_)( )(_)( ) ( )(__ /(__)\ ( (__ )(_)( ) ( )___/ )(_)( ) ( )__) ) ( )( \____) (_____)(_____)(_/\/\_)(____)(__)(__) \___)(_____)(_/\/\_)(__) (_____)(_)\_)(____)(_)\_) (__) /------------------------------------------------------------------------------------------------------*/ /***[JCBGUI.admin_view.javascript_view_file.113.$$$$]***/ jQuery(document).ready(function($){ var gettoken= Joomla.getOptions('token'); var route= Joomla.getOptions('route'); $('select#jform_capitalid').change(function () { var capitalid= $(this).val(); var token= gettoken; $.ajax({ url: route, method: 'post', dataType: 'json', data: {[token] : '1',task:'ajax.getCity', format: 'json' , raw: 'true' , capitalid: capitalid}, success: function (msg) { var temp='<option value="">Select an option</option>'; msg.each(function(value, index){ temp += '<option value="'+value.id+'">'+value.name+'</option>'; }); $('select#jform_cityid').html(temp); $( "select#jform_cityid" ).trigger( "liszt:updated" ); }, error: function (err) { console.log(err); } }); }); });/***[/JCBGUI$$$$]***/ PK gV�[�^q� � codemirror.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ "use strict"; if (typeof window.RegularLabsCodeMirror === 'undefined' || typeof RegularLabsCodeMirror.version === 'undefined' || RegularLabsCodeMirror.version < '21.2.19653') { (function($) { window.RegularLabsCodeMirror = { version: '21.2.19653', init: function(id) { if (!$(`#rl_codemirror_${id} .CodeMirror`).length) { setTimeout(function() { RegularLabsCodeMirror.init(id); }, 100); return; } RegularLabsCodeMirror.resizeWidth(id); cmResize(Joomla.editors.instances[id], { minHeight : 50, resizableWidth : false, //Which direction the editor can be resized (default: both width and height). resizableHeight: true, cssClass : 'cm-resize-handle' //CSS class to use on the *default* resize handle. }); $(window).resize(function() { RegularLabsCodeMirror.resizeWidth(id); }); }, resizeWidth: function(id) { $(`#rl_codemirror_${id} .CodeMirror`).width(100).css('visibility', 'hidden'); setTimeout(function() { $(`#rl_codemirror_${id} .CodeMirror`).each(function() { var new_width = $(this).parent().width(); if (new_width <= 100) { setTimeout(function() { RegularLabsCodeMirror.resizeWidth(id); }, 100); return; } $(this).width(new_width).css('visibility', 'visible'); }); }, 100); } }; })(jQuery); (function(global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : typeof define === 'function' && define.amd ? define(factory) : (global.cmResize = factory()); }(this, (function() { 'use strict'; function dragTracker(options) { var ep = Element.prototype; if (!ep.matches) ep.matches = ep.msMatchesSelector || ep.webkitMatchesSelector; if (!ep.closest) ep.closest = function(s) { var node = this; do { if (node.matches(s)) return node; node = node.tagName === 'svg' ? node.parentNode : node.parentElement; } while (node); return null; }; options = options || {}; var container = options.container || document.documentElement, selector = options.selector, callback = options.callback || console.log, callbackStart = options.callbackDragStart, callbackEnd = options.callbackDragEnd, callbackClick = options.callbackClick, propagate = options.propagateEvents, roundCoords = options.roundCoords !== false, dragOutside = options.dragOutside !== false, handleOffset = options.handleOffset || options.handleOffset !== false; var offsetToCenter = null; switch (handleOffset) { case 'center': offsetToCenter = true; break; case 'topleft': case 'top-left': offsetToCenter = false; break; } var dragged = void 0, mouseOffset = void 0, dragStart = void 0; function getMousePos(e, elm, offset, stayWithin) { var x = e.clientX, y = e.clientY; function respectBounds(value, min, max) { return Math.max(min, Math.min(value, max)); } if (elm) { var bounds = elm.getBoundingClientRect(); x -= bounds.left; y -= bounds.top; if (offset) { x -= offset[0]; y -= offset[1]; } if (stayWithin) { x = respectBounds(x, 0, bounds.width); y = respectBounds(y, 0, bounds.height); } if (elm !== container) { var center = offsetToCenter !== null ? offsetToCenter : elm.nodeName === 'circle' || elm.nodeName === 'ellipse'; if (center) { x -= bounds.width / 2; y -= bounds.height / 2; } } } return roundCoords ? [Math.round(x), Math.round(y)] : [x, y]; } function stopEvent(e) { e.preventDefault(); if (!propagate) { e.stopPropagation(); } } function onDown(e) { if (selector) { dragged = selector instanceof Element ? selector.contains(e.target) ? selector : null : e.target.closest(selector); } else { dragged = {}; } if (dragged) { stopEvent(e); mouseOffset = selector && handleOffset ? getMousePos(e, dragged) : [0, 0]; dragStart = getMousePos(e, container, mouseOffset); if (roundCoords) { dragStart = dragStart.map(Math.round); } if (callbackStart) { callbackStart(dragged, dragStart); } } } function onMove(e) { if (!dragged) { return; } stopEvent(e); var pos = getMousePos(e, container, mouseOffset, !dragOutside); callback(dragged, pos, dragStart); } function onEnd(e) { if (!dragged) { return; } if (callbackEnd || callbackClick) { var pos = getMousePos(e, container, mouseOffset, !dragOutside); if (callbackClick && dragStart[0] === pos[0] && dragStart[1] === pos[1]) { callbackClick(dragged, dragStart); } if (callbackEnd) { callbackEnd(dragged, pos, dragStart); } } dragged = null; } container.addEventListener('mousedown', function(e) { if (isLeftButton(e)) { onDown(e); } }); container.addEventListener('touchstart', function(e) { relayTouch(e, onDown); }); window.addEventListener('mousemove', function(e) { if (!dragged) { return; } if (isLeftButton(e)) { onMove(e); } else { onEnd(e); } }); window.addEventListener('touchmove', function(e) { relayTouch(e, onMove); }); window.addEventListener('mouseup', function(e) { if (dragged && !isLeftButton(e)) { onEnd(e); } }); function onTouchEnd(e) { onEnd(tweakTouch(e)); } container.addEventListener('touchend', onTouchEnd); container.addEventListener('touchcancel', onTouchEnd); function isLeftButton(e) { return e.buttons !== undefined ? e.buttons === 1 : e.which === 1; } function relayTouch(e, handler) { if (e.touches.length !== 1) { onEnd(e); return; } handler(tweakTouch(e)); } function tweakTouch(e) { var touch = e.targetTouches[0]; if (!touch) { touch = e.changedTouches[0]; } touch.preventDefault = e.preventDefault.bind(e); touch.stopPropagation = e.stopPropagation.bind(e); return touch; } } function cmResize(cm, config) { config = config || {}; var minW = config.minWidth || 200, minH = config.minHeight || 100, resizeW = config.resizableWidth !== false, resizeH = config.resizableHeight !== false, css = config.cssClass || 'cm-resize-handle'; var cmElement = cm.display.wrapper, cmHandle = config.handle || function() { var h = cmElement.appendChild(document.createElement('div')); h.className = css; return h; }(); var vScroll = cmElement.querySelector('.CodeMirror-vscrollbar'), hScroll = cmElement.querySelector('.CodeMirror-hscrollbar'); function constrainScrollbars() { if (!config.handle) { vScroll.style.bottom = '18px'; hScroll.style.right = '18px'; } } cm.on('update', constrainScrollbars); constrainScrollbars(); var startPos = void 0, startSize = void 0; dragTracker({ container: cmHandle.offsetParent, selector : cmHandle, callbackDragStart: function callbackDragStart(handle, pos) { startPos = pos; startSize = [cmElement.clientWidth, cmElement.clientHeight]; }, callback : function callback(handle, pos) { var diffX = pos[0] - startPos[0], diffY = pos[1] - startPos[1], cw = resizeW ? Math.max(minW, startSize[0] + diffX) : null, ch = resizeH ? Math.max(minH, startSize[1] + diffY) : null; cm.setSize(cw, ch); } }); return cmHandle; } return cmResize; }))); } PK gV�[E �� � codemirror.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"1w 1x";4(J t.g===\'O\'||J g.1h===\'O\'||g.1h<\'[1W]\'){(3($){t.g={1h:\'[1W]\',1Q:3(b){4(!$(`#10${b}.B`).1Z){11(3(){g.1Q(b)},u);6}g.V(b);Q(26.2e.2g[b],{1P:2h,1S:m,1U:1K,1V:\'v-1m-r\'});$(t).1m(3(){g.V(b)})},V:3(b){$(`#10${b}.B`).C(u).N(\'22\',\'2d\');11(3(){$(`#10${b}.B`).2m(3(){5 13=$(Y).2n().C();4(13<=u){11(3(){g.V(b)},u);6}$(Y).C(13).N(\'22\',\'2r\')})},u)}}})(2c);(3(1u,S){J 1p===\'2i\'&&J 1B!==\'O\'?1B.1p=S():J 14===\'3\'&&14.2p?14(S):(1u.Q=S())}(Y,(3(){\'1w 1x\';3 1I(7){5 n=1t.2l;4(!n.18)n.18=n.2k||n.2j;4(!n.17)n.17=3(s){5 i=Y;2f{4(i.18(s))6 i;i=i.2a===\'29\'?i.27:i.24}25(i);6 j};7=7||{};5 a=7.a||21.2s,f=7.f,z=7.z||2q.2u,1e=7.1j,P=7.2O,H=7.H,1v=7.2S,R=7.R!==m,L=7.L!==m,A=7.A||7.A!==m;5 D=j;2T(A){19\'1c\':D=1K;1J;19\'2U\':19\'1G-1n\':D=m;1J}5 8=F 0,G=F 0,c=F 0;3 E(e,q,U,1F){5 x=e.2W,y=e.2X;3 1g(1H,1a,I){6 l.I(1a,l.1a(1H,I))}4(q){5 o=q.2Y();x-=o.1n;y-=o.1G;4(U){x-=U[0];y-=U[1]}4(1F){x=1g(x,0,o.C);y=1g(y,0,o.1o)}4(q!==a){5 1c=D!==j?D:q.1y===\'32\'||q.1y===\'33\';4(1c){x-=o.C/2;y-=o.1o/2}}}6 R?[l.1f(x),l.1f(y)]:[x,y]}3 1d(e){e.1i();4(!1v){e.1k()}}3 15(e){4(f){8=f 2R 1t?f.2Q(e.1r)?f:j:e.1r.17(f)}1O{8={}}4(8){1d(e);G=f&&A?E(e,8):[0,0];c=E(e,a,G);4(R){c=c.2w(l.1f)}4(1e){1e(8,c)}}}3 16(e){4(!8){6}1d(e);5 9=E(e,a,G,!L);z(8,9,c)}3 K(e){4(!8){6}4(P||H){5 9=E(e,a,G,!L);4(H&&c[0]===9[0]&&c[1]===9[1]){H(8,c)}4(P){P(8,9,c)}}8=j}a.k(\'2D\',3(e){4(M(e)){15(e)}});a.k(\'35\',3(e){Z(e,15)});t.k(\'2E\',3(e){4(!8){6}4(M(e)){16(e)}1O{K(e)}});t.k(\'2G\',3(e){Z(e,16)});t.k(\'2H\',3(e){4(8&&!M(e)){K(e)}});3 12(e){K(1b(e))}a.k(\'2I\',12);a.k(\'2J\',12);3 M(e){6 e.1N!==O?e.1N===1:e.2M===1}3 Z(e,23){4(e.2N.1Z!==1){K(e);6}23(1b(e))}3 1b(e){5 w=e.2Z[0];4(!w){w=e.2t[0]}w.1i=e.1i.1R(e);w.1k=e.1k.1R(e);6 w}}3 Q(v,d){d=d||{};5 1D=d.2L||2K,20=d.1P||u,1E=d.1S!==m,1M=d.1U!==m,N=d.1V||\'v-1m-r\';5 p=v.2v.2C,T=d.r||3(){5 h=p.2B(21.2A(\'2z\'));h.2y=N;6 h}();5 1q=p.1L(\'.B-2x\'),1z=p.1L(\'.B-2P\');3 1l(){4(!d.r){1q.1A.2F=\'1C\';1z.1A.34=\'1C\'}}v.31(\'30\',1l);1l();5 X=F 0,W=F 0;1I({a:T.2V,f:T,1j:3 1j(r,9){X=9;W=[p.28,p.2b]},z:3 z(r,9){5 1s=9[0]-X[0],1Y=9[1]-X[1],1X=1E?l.I(1D,W[0]+1s):j,1T=1M?l.I(20,W[1]+1Y):j;v.2o(1X,1T)}});6 T}6 Q})))}',62,192,'|||function|if|var|return|options|dragged|pos|container|id|dragStart|config||selector|RegularLabsCodeMirror||node|null|addEventListener|Math|false|ep|bounds|cmElement|elm|handle||window|100|cm|touch|||callback|handleOffset|CodeMirror|width|offsetToCenter|getMousePos|void|mouseOffset|callbackClick|max|typeof|onEnd|dragOutside|isLeftButton|css|undefined|callbackEnd|cmResize|roundCoords|factory|cmHandle|offset|resizeWidth|startSize|startPos|this|relayTouch|rl_codemirror_|setTimeout|onTouchEnd|new_width|define|onDown|onMove|closest|matches|case|min|tweakTouch|center|stopEvent|callbackStart|round|respectBounds|version|preventDefault|callbackDragStart|stopPropagation|constrainScrollbars|resize|left|height|exports|vScroll|target|diffX|Element|global|propagate|use|strict|nodeName|hScroll|style|module|18px|minW|resizeW|stayWithin|top|value|dragTracker|break|true|querySelector|resizeH|buttons|else|minHeight|init|bind|resizableWidth|ch|resizableHeight|cssClass|LIB_VERSION|cw|diffY|length|minH|document|visibility|handler|parentElement|while|Joomla|parentNode|clientWidth|svg|tagName|clientHeight|jQuery|hidden|editors|do|instances|50|object|webkitMatchesSelector|msMatchesSelector|prototype|each|parent|setSize|amd|console|visible|documentElement|changedTouches|log|display|map|vscrollbar|className|div|createElement|appendChild|wrapper|mousedown|mousemove|bottom|touchmove|mouseup|touchend|touchcancel|200|minWidth|which|touches|callbackDragEnd|hscrollbar|contains|instanceof|propagateEvents|switch|topleft|offsetParent|clientX|clientY|getBoundingClientRect|targetTouches|update|on|circle|ellipse|right|touchstart'.split('|'),0,{}))PK gV�[�#; =\ =\ color.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ /** * BASED ON: * jQuery MiniColors: A tiny color picker built on jQuery * Copyright Cory LaViska for A Beautiful Site, LLC. (http://www.abeautifulsite.net/) * Dual-licensed under the MIT and GPL Version 2 licenses * */ if (jQuery) (function($) { $(document).ready(function() { $('.rl_color').minicolors(); }); // Yay, MiniColors! $.minicolors = { // Default settings defaultSettings: { animationSpeed : 100, animationEasing: 'swing', change : null, changeDelay : 0, control : 'hue', defaultValue : '', hide : null, hideSpeed : 100, inline : false, letterCase : 'lowercase', opacity : false, position : 'default', show : null, showSpeed : 100, swatchPosition : 'left', textfield : true, theme : 'default' } }; // Public methods $.extend($.fn, { minicolors: function(method, data) { switch (method) { // Destroy the control case 'destroy': $(this).each(function() { destroy($(this)); }); return $(this); // Get/set opacity case 'opacity': if (data === undefined) { // Getter return $(this).attr('data-opacity'); } else { // Setter $(this).each(function() { refresh($(this).attr('data-opacity', data)); }); return $(this); } // Get an RGB(A) object based on the current color/opacity case 'rgbObject': return rgbObject($(this), method === 'rgbaObject'); // Get an RGB(A) string based on the current color/opacity case 'rgbString': case 'rgbaString': return rgbString($(this), method === 'rgbaString'); // Get/set settings on the fly case 'settings': if (data === undefined) { return $(this).data('minicolors-settings'); } else { // Setter $(this).each(function() { var settings = $(this).data('minicolors-settings') || {}; destroy($(this)); $(this).minicolors($.extend(true, settings, data)); }); return $(this); } // Get/set the hex color value case 'value': if (data === undefined) { // Getter return $(this).val(); } else { // Setter $(this).each(function() { refresh($(this).val(data)); }); return $(this); } // Initializes the control case 'create': default: if (method !== 'create') data = method; $(this).each(function() { init($(this), data); }); return $(this); } } }); // Initialize input elements function init(input, settings) { var minicolors = $('<span class="minicolors" />'), defaultSettings = $.minicolors.defaultSettings; // Do nothing if already initialized if (input.data('minicolors-initialized')) return; // Handle settings settings = $.extend(true, {}, defaultSettings, settings); // The wrapper minicolors .addClass('minicolors-theme-' + settings.theme) .addClass('minicolors-swatch-position-' + settings.swatchPosition) .toggleClass('minicolors-swatch-left', settings.swatchPosition === 'left') .toggleClass('minicolors-with-opacity', settings.opacity); // Custom positioning if (settings.position !== undefined) { $.each(settings.position.split(' '), function() { minicolors.addClass('minicolors-position-' + this); }); } // The input input .addClass('minicolors-input') .data('minicolors-initialized', true) .data('minicolors-settings', settings) .prop('size', 7) .prop('maxlength', 7) .wrap(minicolors) .after( '<span class="minicolors-panel minicolors-slider-' + settings.control + '">' + '<span class="minicolors-slider">' + '<span class="minicolors-picker"></span>' + '</span>' + '<span class="minicolors-opacity-slider">' + '<span class="minicolors-picker"></span>' + '</span>' + '<span class="minicolors-grid">' + '<span class="minicolors-grid-inner"></span>' + '<span class="minicolors-picker"><span></span></span>' + '</span>' + '</span>' ); // Prevent text selection in IE input.parent().find('.minicolors-panel').on('selectstart', function() { return false; }).end(); // Detect swatch position if (settings.swatchPosition === 'left') { // Left input.before('<span class="minicolors-swatch"><span></span></span>'); } else { // Right input.after('<span class="minicolors-swatch"><span></span></span>'); } // Disable textfield if (!settings.textfield) input.addClass('minicolors-hidden'); // Inline controls if (settings.inline) input.parent().addClass('minicolors-inline'); updateFromInput(input); } // Returns the input back to its original state function destroy(input) { var minicolors = input.parent(); // Revert the input element input .removeData('minicolors-initialized') .removeData('minicolors-settings') .removeProp('size') .removeProp('maxlength') .removeClass('minicolors-input'); // Remove the wrap and destroy whatever remains minicolors.before(input).remove(); } // Refresh the specified control function refresh(input) { updateFromInput(input); } // Shows the specified dropdown panel function show(input) { var minicolors = input.parent(), panel = minicolors.find('.minicolors-panel'), settings = input.data('minicolors-settings'); // Do nothing if uninitialized, disabled, or already open if (!input.data('minicolors-initialized') || input.prop('disabled') || minicolors.hasClass('minicolors-focus')) return; hide(); minicolors.addClass('minicolors-focus'); panel .stop(true, true) .fadeIn(settings.showSpeed, function() { if (settings.show) settings.show.call(input); }); } // Hides all dropdown panels function hide() { $('.minicolors-input').each(function() { var input = $(this), settings = input.data('minicolors-settings'), minicolors = input.parent(); // Don't hide inline controls if (settings.inline) return; minicolors.find('.minicolors-panel').fadeOut(settings.hideSpeed, function() { if (minicolors.hasClass('minicolors-focus')) { if (settings.hide) settings.hide.call(input); } minicolors.removeClass('minicolors-focus'); }); }); } // Moves the selected picker function move(target, event, animate) { var input = target.parents('.minicolors').find('.minicolors-input'), settings = input.data('minicolors-settings'), picker = target.find('[class$=-picker]'), offsetX = target.offset().left, offsetY = target.offset().top, x = Math.round(event.pageX - offsetX), y = Math.round(event.pageY - offsetY), duration = animate ? settings.animationSpeed : 0, wx, wy, r, phi; // Touch support if (event.originalEvent.changedTouches) { x = event.originalEvent.changedTouches[0].pageX - offsetX; y = event.originalEvent.changedTouches[0].pageY - offsetY; } // Constrain picker to its container if (x < 0) x = 0; if (y < 0) y = 0; if (x > target.width()) x = target.width(); if (y > target.height()) y = target.height(); // Constrain color wheel values to the wheel if (target.parent().is('.minicolors-slider-wheel') && picker.parent().is('.minicolors-grid')) { wx = 75 - x; wy = 75 - y; r = Math.sqrt(wx * wx + wy * wy); phi = Math.atan2(wy, wx); if (phi < 0) phi += Math.PI * 2; if (r > 75) { r = 75; x = 75 - (75 * Math.cos(phi)); y = 75 - (75 * Math.sin(phi)); } x = Math.round(x); y = Math.round(y); } // Move the picker if (target.is('.minicolors-grid')) { picker .stop(true) .animate({ top : y + 'px', left: x + 'px' }, duration, settings.animationEasing, function() { updateFromControl(input); }); } else { picker .stop(true) .animate({ top: y + 'px' }, duration, settings.animationEasing, function() { updateFromControl(input); }); } } // Sets the input based on the color picker values function updateFromControl(input) { function getCoords(picker, container) { var left, top; if (!picker.length || !container) return null; left = picker.offset().left; top = picker.offset().top; return { x: left - container.offset().left + (picker.outerWidth() / 2), y: top - container.offset().top + (picker.outerHeight() / 2) }; } var hue, saturation, brightness, opacity, rgb, hex, x, y, r, phi, // Helpful references minicolors = input.parent(), settings = input.data('minicolors-settings'), panel = minicolors.find('.minicolors-panel'), swatch = minicolors.find('.minicolors-swatch'), // Panel objects grid = minicolors.find('.minicolors-grid'), slider = minicolors.find('.minicolors-slider'), opacitySlider = minicolors.find('.minicolors-opacity-slider'), // Picker objects gridPicker = grid.find('[class$=-picker]'), sliderPicker = slider.find('[class$=-picker]'), opacityPicker = opacitySlider.find('[class$=-picker]'), // Picker positions gridPos = getCoords(gridPicker, grid), sliderPos = getCoords(sliderPicker, slider), opacityPos = getCoords(opacityPicker, opacitySlider); // Determine HSB values switch (settings.control) { case 'wheel': // Calculate hue, saturation, and brightness x = (grid.width() / 2) - gridPos.x; y = (grid.height() / 2) - gridPos.y; r = Math.sqrt(x * x + y * y); phi = Math.atan2(y, x); if (phi < 0) phi += Math.PI * 2; if (r > 75) { r = 75; gridPos.x = 69 - (75 * Math.cos(phi)); gridPos.y = 69 - (75 * Math.sin(phi)); } saturation = keepWithin(r / 0.75, 0, 100); hue = keepWithin(phi * 180 / Math.PI, 0, 360); brightness = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100); hex = hsb2hex({ h: hue, s: saturation, b: brightness }); // Update UI slider.css('backgroundColor', hsb2hex({h: hue, s: saturation, b: 100})); break; case 'saturation': // Calculate hue, saturation, and brightness hue = keepWithin(parseInt(gridPos.x * (360 / grid.width())), 0, 360); saturation = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100); brightness = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100); hex = hsb2hex({ h: hue, s: saturation, b: brightness }); // Update UI slider.css('backgroundColor', hsb2hex({h: hue, s: 100, b: brightness})); minicolors.find('.minicolors-grid-inner').css('opacity', saturation / 100); break; case 'brightness': // Calculate hue, saturation, and brightness hue = keepWithin(parseInt(gridPos.x * (360 / grid.width())), 0, 360); saturation = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100); brightness = keepWithin(100 - Math.floor(sliderPos.y * (100 / slider.height())), 0, 100); hex = hsb2hex({ h: hue, s: saturation, b: brightness }); // Update UI slider.css('backgroundColor', hsb2hex({h: hue, s: saturation, b: 100})); minicolors.find('.minicolors-grid-inner').css('opacity', 1 - (brightness / 100)); break; default: // Calculate hue, saturation, and brightness hue = keepWithin(360 - parseInt(sliderPos.y * (360 / slider.height())), 0, 360); saturation = keepWithin(Math.floor(gridPos.x * (100 / grid.width())), 0, 100); brightness = keepWithin(100 - Math.floor(gridPos.y * (100 / grid.height())), 0, 100); hex = hsb2hex({ h: hue, s: saturation, b: brightness }); // Update UI grid.css('backgroundColor', hsb2hex({h: hue, s: 100, b: 100})); break; } // Determine opacity if (settings.opacity) { opacity = parseFloat(1 - (opacityPos.y / opacitySlider.height())).toFixed(2); } else { opacity = 1; } // Adjust case input.val(convertCase(hex, settings.letterCase)); if (settings.opacity) input.attr('data-opacity', opacity); // Set swatch color swatch.find('SPAN').css({ backgroundColor: hex, opacity : opacity }); // Handle change event if (hex + opacity !== input.data('minicolors-lastChange')) { // Remember last-changed value input.data('minicolors-lastChange', hex + opacity); // Fire change event if (settings.change) { if (settings.changeDelay) { // Call after a delay clearTimeout(input.data('minicolors-changeTimeout')); input.data('minicolors-changeTimeout', setTimeout(function() { settings.change.call(input, hex, opacity); }, settings.changeDelay)); } else { // Call immediately settings.change.call(input, hex, opacity); } } } } // Sets the color picker values from the input function updateFromInput(input, preserveInputValue) { var hex, hsb, opacity, x, y, r, phi, // Helpful references minicolors = input.parent(), settings = input.data('minicolors-settings'), swatch = minicolors.find('.minicolors-swatch'), // Panel objects grid = minicolors.find('.minicolors-grid'), slider = minicolors.find('.minicolors-slider'), opacitySlider = minicolors.find('.minicolors-opacity-slider'), // Picker objects gridPicker = grid.find('[class$=-picker]'), sliderPicker = slider.find('[class$=-picker]'), opacityPicker = opacitySlider.find('[class$=-picker]'); // Determine hex/HSB values hex = convertCase(parseHex(input.val(), true), settings.letterCase); if (!hex) hex = convertCase(parseHex(settings.defaultValue, true)); hsb = hex2hsb(hex); // Update input value if (!preserveInputValue) input.val(hex); // Determine opacity value if (settings.opacity) { opacity = input.attr('data-opacity') === '' ? 1 : keepWithin(parseFloat(input.attr('data-opacity')).toFixed(2), 0, 1); input.attr('data-opacity', opacity); swatch.find('SPAN').css('opacity', opacity); // Set opacity picker position y = keepWithin(opacitySlider.height() - (opacitySlider.height() * opacity), 0, opacitySlider.height()); opacityPicker.css('top', y + 'px'); } // Update swatch swatch.find('SPAN').css('backgroundColor', hex); // Determine picker locations switch (settings.control) { case 'wheel': // Set grid position r = keepWithin(Math.ceil(hsb.s * 0.75), 0, grid.height() / 2); phi = hsb.h * Math.PI / 180; x = keepWithin(75 - Math.cos(phi) * r, 0, grid.width()); y = keepWithin(75 - Math.sin(phi) * r, 0, grid.height()); gridPicker.css({ top : y + 'px', left: x + 'px' }); // Set slider position y = 150 - (hsb.b / (100 / grid.height())); if (hex === '') y = 0; sliderPicker.css('top', y + 'px'); // Update panel color slider.css('backgroundColor', hsb2hex({h: hsb.h, s: hsb.s, b: 100})); break; case 'saturation': // Set grid position x = keepWithin((5 * hsb.h) / 12, 0, 150); y = keepWithin(grid.height() - Math.ceil(hsb.b / (100 / grid.height())), 0, grid.height()); gridPicker.css({ top : y + 'px', left: x + 'px' }); // Set slider position y = keepWithin(slider.height() - (hsb.s * (slider.height() / 100)), 0, slider.height()); sliderPicker.css('top', y + 'px'); // Update UI slider.css('backgroundColor', hsb2hex({h: hsb.h, s: 100, b: hsb.b})); minicolors.find('.minicolors-grid-inner').css('opacity', hsb.s / 100); break; case 'brightness': // Set grid position x = keepWithin((5 * hsb.h) / 12, 0, 150); y = keepWithin(grid.height() - Math.ceil(hsb.s / (100 / grid.height())), 0, grid.height()); gridPicker.css({ top : y + 'px', left: x + 'px' }); // Set slider position y = keepWithin(slider.height() - (hsb.b * (slider.height() / 100)), 0, slider.height()); sliderPicker.css('top', y + 'px'); // Update UI slider.css('backgroundColor', hsb2hex({h: hsb.h, s: hsb.s, b: 100})); minicolors.find('.minicolors-grid-inner').css('opacity', 1 - (hsb.b / 100)); break; default: // Set grid position x = keepWithin(Math.ceil(hsb.s / (100 / grid.width())), 0, grid.width()); y = keepWithin(grid.height() - Math.ceil(hsb.b / (100 / grid.height())), 0, grid.height()); gridPicker.css({ top : y + 'px', left: x + 'px' }); // Set slider position y = keepWithin(slider.height() - (hsb.h / (360 / slider.height())), 0, slider.height()); sliderPicker.css('top', y + 'px'); // Update panel color grid.css('backgroundColor', hsb2hex({h: hsb.h, s: 100, b: 100})); break; } } // Generates an RGB(A) object based on the input's value function rgbObject(input) { var hex = parseHex($(input).val(), true), rgb = hex2rgb(hex), opacity = $(input).attr('data-opacity'); if (!rgb) return null; if (opacity !== undefined) $.extend(rgb, {a: parseFloat(opacity)}); return rgb; } // Genearates an RGB(A) string based on the input's value function rgbString(input, alpha) { var hex = parseHex($(input).val(), true), rgb = hex2rgb(hex), opacity = $(input).attr('data-opacity'); if (!rgb) return null; if (opacity === undefined) opacity = 1; if (alpha) { return 'rgba(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ', ' + parseFloat(opacity) + ')'; } else { return 'rgb(' + rgb.r + ', ' + rgb.g + ', ' + rgb.b + ')'; } } // Converts to the letter case specified in settings function convertCase(string, letterCase) { return letterCase === 'uppercase' ? string.toUpperCase() : string.toLowerCase(); } // Parses a string and returns a valid hex string when possible function parseHex(string, expand) { string = string.replace(/[^A-F0-9]/ig, ''); if (string.length !== 3 && string.length !== 6) return ''; if (string.length === 3 && expand) { string = string[0] + string[0] + string[1] + string[1] + string[2] + string[2]; } return '#' + string; } // Keeps value within min and max function keepWithin(value, min, max) { if (value < min) value = min; if (value > max) value = max; return value; } // Converts an HSB object to an RGB object function hsb2rgb(hsb) { var rgb = {}; var h = Math.round(hsb.h); var s = Math.round(hsb.s * 255 / 100); var v = Math.round(hsb.b * 255 / 100); if (s === 0) { rgb.r = rgb.g = rgb.b = v; } else { var t1 = v; var t2 = (255 - s) * v / 255; var t3 = (t1 - t2) * (h % 60) / 60; if (h === 360) h = 0; if (h < 60) { rgb.r = t1; rgb.b = t2; rgb.g = t2 + t3; } else if (h < 120) { rgb.g = t1; rgb.b = t2; rgb.r = t1 - t3; } else if (h < 180) { rgb.g = t1; rgb.r = t2; rgb.b = t2 + t3; } else if (h < 240) { rgb.b = t1; rgb.r = t2; rgb.g = t1 - t3; } else if (h < 300) { rgb.b = t1; rgb.g = t2; rgb.r = t2 + t3; } else if (h < 360) { rgb.r = t1; rgb.g = t2; rgb.b = t1 - t3; } else { rgb.r = 0; rgb.g = 0; rgb.b = 0; } } return { r: Math.round(rgb.r), g: Math.round(rgb.g), b: Math.round(rgb.b) }; } // Converts an RGB object to a hex string function rgb2hex(rgb) { var hex = [ rgb.r.toString(16), rgb.g.toString(16), rgb.b.toString(16) ]; $.each(hex, function(nr, val) { if (val.length === 1) hex[nr] = '0' + val; }); return '#' + hex.join(''); } // Converts an HSB object to a hex string function hsb2hex(hsb) { return rgb2hex(hsb2rgb(hsb)); } // Converts a hex string to an HSB object function hex2hsb(hex) { var hsb = rgb2hsb(hex2rgb(hex)); if (hsb.s === 0) hsb.h = 360; return hsb; } // Converts an RGB object to an HSB object function rgb2hsb(rgb) { var hsb = {h: 0, s: 0, b: 0}; var min = Math.min(rgb.r, rgb.g, rgb.b); var max = Math.max(rgb.r, rgb.g, rgb.b); var delta = max - min; hsb.b = max; hsb.s = max !== 0 ? 255 * delta / max : 0; if (hsb.s !== 0) { if (rgb.r === max) { hsb.h = (rgb.g - rgb.b) / delta; } else if (rgb.g === max) { hsb.h = 2 + (rgb.b - rgb.r) / delta; } else { hsb.h = 4 + (rgb.r - rgb.g) / delta; } } else { hsb.h = -1; } hsb.h *= 60; if (hsb.h < 0) { hsb.h += 360; } hsb.s *= 100 / 255; hsb.b *= 100 / 255; return hsb; } // Converts a hex string to an RGB object function hex2rgb(hex) { hex = parseInt(((hex.indexOf('#') > -1) ? hex.substring(1) : hex), 16); return { r: hex >> 16, g: (hex & 0x00FF00) >> 8, b: (hex & 0x0000FF) }; } // Handle events $(document) // Hide on clicks outside of the control .on('mousedown.minicolors touchstart.minicolors', function(event) { if (!$(event.target).parents().add(event.target).hasClass('minicolors')) { hide(); } }) // Start moving .on('mousedown.minicolors touchstart.minicolors', '.minicolors-grid, .minicolors-slider, .minicolors-opacity-slider', function(event) { var target = $(this); event.preventDefault(); $(document).data('minicolors-target', target); move(target, event, true); }) // Move pickers .on('mousemove.minicolors touchmove.minicolors', function(event) { var target = $(document).data('minicolors-target'); if (target) move(target, event); }) // Stop moving .on('mouseup.minicolors touchend.minicolors', function() { $(this).removeData('minicolors-target'); }) // Toggle panel when swatch is clicked .on('mousedown.minicolors touchstart.minicolors', '.minicolors-swatch', function() { var input = $(this).parent().find('.minicolors-input'), minicolors = input.parent(); if (minicolors.hasClass('minicolors-focus')) { hide(input); } else { show(input); } }) // Show on focus .on('focus.minicolors', '.minicolors-input', function() { var input = $(this); if (!input.data('minicolors-initialized')) return; show(input); }) // Fix hex and hide on blur .on('blur.minicolors', '.minicolors-input', function() { var input = $(this), settings = input.data('minicolors-settings'); if (!input.data('minicolors-initialized')) return; // Parse Hex input.val(parseHex(input.val(), true)); // Is it blank? if (input.val() === '') input.val(parseHex(settings.defaultValue, true)); // Adjust case input.val(convertCase(input.val(), settings.letterCase)); hide(input); }) // Handle keypresses .on('keydown.minicolors', '.minicolors-input', function(event) { var input = $(this); if (!input.data('minicolors-initialized')) return; switch (event.keyCode) { case 9: // tab hide(); break; case 27: // esc hide(); input.blur(); break; } }) // Update on keyup .on('keyup.minicolors', '.minicolors-input', function() { var input = $(this); if (!input.data('minicolors-initialized')) return; updateFromInput(input, true); }) // Update on paste .on('paste.minicolors', '.minicolors-input', function() { var input = $(this); if (!input.data('minicolors-initialized')) return; setTimeout(function() { updateFromInput(input, true); }, 1); }); })(jQuery); PK gV�[��+�F$ F$ color.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('e(2S)(k($){$(1U).3M(k(){$(\'.3g\').c()});$.c={1R:{2M:j,2s:\'3h\',1X:1u,2b:0,1L:\'U\',2f:\'\',19:1u,2J:j,1S:2j,1q:\'3i\',m:2j,1z:\'1H\',1r:1u,2D:j,20:\'T\',2y:L,2i:\'1H\'}};$.1T($.3j,{c:k(1w,o){1P(1w){P\'1Y\':$(z).1f(k(){1Y($(z))});t $(z);P\'m\':e(o===1x){t $(z).1g(\'o-m\')}I{$(z).1f(k(){2o($(z).1g(\'o-m\',o))});t $(z)}P\'29\':t 29($(z),1w===\'3k\');P\'2a\':P\'2B\':t 2a($(z),1w===\'2B\');P\'i\':e(o===1x){t $(z).o(\'c-i\')}I{$(z).1f(k(){B i=$(z).o(\'c-i\')||{};1Y($(z));$(z).c($.1T(L,i,o))});t $(z)}P\'1l\':e(o===1x){t $(z).S()}I{$(z).1f(k(){2o($(z).S(o))});t $(z)}P\'2A\':1H:e(1w!==\'2A\')o=1w;$(z).1f(k(){2z($(z),o)});t $(z)}}});k 2z(d,i){B c=$(\'<D J="c" />\'),1R=$.c.1R;e(d.o(\'c-1e\'))t;i=$.1T(L,{},1R,i);c.1p(\'c-2i-\'+i.2i).1p(\'c-Z-1z-\'+i.20).2x(\'c-Z-T\',i.20===\'T\').2x(\'c-3o-m\',i.m);e(i.1z!==1x){$.1f(i.1z.3p(\' \'),k(){c.1p(\'c-1z-\'+z)})}d.1p(\'c-d\').o(\'c-1e\',L).o(\'c-i\',i).2k(\'2E\',7).2k(\'2G\',7).3r(c).2C(\'<D J="c-1h c-w-\'+i.1L+\'">\'+\'<D J="c-w">\'+\'<D J="c-H"></D>\'+\'</D>\'+\'<D J="c-m-w">\'+\'<D J="c-H"></D>\'+\'</D>\'+\'<D J="c-n">\'+\'<D J="c-n-1G"></D>\'+\'<D J="c-H"><D></D></D>\'+\'</D>\'+\'</D>\');d.17().C(\'.c-1h\').11(\'3s\',k(){t 2j}).3d();e(i.20===\'T\'){d.2H(\'<D J="c-Z"><D></D></D>\')}I{d.2C(\'<D J="c-Z"><D></D></D>\')}e(!i.2y)d.1p(\'c-3a\');e(i.1S)d.17().1p(\'c-1S\');1I(d)}k 1Y(d){B c=d.17();d.2g(\'c-1e\').2g(\'c-i\').2F(\'2E\').2F(\'2G\').2K(\'c-d\');c.2H(d).36()}k 2o(d){1I(d)}k 1r(d){B c=d.17(),1h=c.C(\'.c-1h\'),i=d.o(\'c-i\');e(!d.o(\'c-1e\')||d.2k(\'38\')||c.22(\'c-1s\'))t;19();c.1p(\'c-1s\');1h.2p(L,L).3u(i.2D,k(){e(i.1r)i.1r.1M(d)})}k 19(){$(\'.c-d\').1f(k(){B d=$(z),i=d.o(\'c-i\'),c=d.17();e(i.1S)t;c.C(\'.c-1h\').3w(i.2J,k(){e(c.22(\'c-1s\')){e(i.19)i.19.1M(d)}c.2K(\'c-1s\')})})}k 2u(G,O,1O){B d=G.2X(\'.c\').C(\'.c-d\'),i=d.o(\'c-i\'),H=G.C(\'[J$=-H]\'),2c=G.1t().T,2l=G.1t().K,x=p.1b(O.2N-2c),y=p.1b(O.2P-2l),2r=1O?i.2M:0,1y,1C,r,M;e(O.2h.2d){x=O.2h.2d[0].2N-2c;y=O.2h.2d[0].2P-2l}e(x<0)x=0;e(y<0)y=0;e(x>G.1c())x=G.1c();e(y>G.u())y=G.u();e(G.17().2e(\'.c-w-24\')&&H.17().2e(\'.c-n\')){1y=R-x;1C=R-y;r=p.2R(1y*1y+1C*1C);M=p.2I(1C,1y);e(M<0)M+=p.21*2;e(r>R){r=R;x=R-(R*p.26(M));y=R-(R*p.23(M))}x=p.1b(x);y=p.1b(y)}e(G.2e(\'.c-n\')){H.2p(L).1O({K:y+\'Q\',T:x+\'Q\'},2r,i.2s,k(){2t(d)})}I{H.2p(L).1O({K:y+\'Q\'},2r,i.2s,k(){2t(d)})}}k 2t(d){k 1N(H,1K){B T,K;e(!H.1A||!1K)t 1u;T=H.1t().T;K=H.1t().K;t{x:T-1K.1t().T+(H.3H()/2),y:K-1K.1t().K+(H.3J()/2)}}B U,V,Y,m,f,q,x,y,r,M,c=d.17(),i=d.o(\'c-i\'),1h=c.C(\'.c-1h\'),Z=c.C(\'.c-Z\'),n=c.C(\'.c-n\'),w=c.C(\'.c-w\'),1d=c.C(\'.c-m-w\'),1k=n.C(\'[J$=-H]\'),1m=w.C(\'[J$=-H]\'),1J=1d.C(\'[J$=-H]\'),10=1N(1k,n),1F=1N(1m,w),2Q=1N(1J,1d);1P(i.1L){P\'24\':x=(n.1c()/2)-10.x;y=(n.u()/2)-10.y;r=p.2R(x*x+y*y);M=p.2I(y,x);e(M<0)M+=p.21*2;e(r>R){r=R;10.x=2w-(R*p.26(M));10.y=2w-(R*p.23(M))}V=E(r/0.R,0,j);U=E(M*2q/p.21,0,W);Y=E(j-p.1n(1F.y*(j/w.u())),0,j);q=X({h:U,s:V,b:Y});w.F(\'1a\',X({h:U,s:V,b:j}));18;P\'V\':U=E(1V(10.x*(W/n.1c())),0,W);V=E(j-p.1n(1F.y*(j/w.u())),0,j);Y=E(j-p.1n(10.y*(j/n.u())),0,j);q=X({h:U,s:V,b:Y});w.F(\'1a\',X({h:U,s:j,b:Y}));c.C(\'.c-n-1G\').F(\'m\',V/j);18;P\'Y\':U=E(1V(10.x*(W/n.1c())),0,W);V=E(j-p.1n(10.y*(j/n.u())),0,j);Y=E(j-p.1n(1F.y*(j/w.u())),0,j);q=X({h:U,s:V,b:Y});w.F(\'1a\',X({h:U,s:V,b:j}));c.C(\'.c-n-1G\').F(\'m\',1-(Y/j));18;1H:U=E(W-1V(1F.y*(W/w.u())),0,W);V=E(p.1n(10.x*(j/n.1c())),0,j);Y=E(j-p.1n(10.y*(j/n.u())),0,j);q=X({h:U,s:V,b:Y});n.F(\'1a\',X({h:U,s:j,b:j}));18}e(i.m){m=1Q(1-(2Q.y/1d.u())).34(2)}I{m=1}d.S(1D(q,i.1q));e(i.m)d.1g(\'o-m\',m);Z.C(\'25\').F({1a:q,m:m});e(q+m!==d.o(\'c-2O\')){d.o(\'c-2O\',q+m);e(i.1X){e(i.2b){3y(d.o(\'c-2L\'));d.o(\'c-2L\',32(k(){i.1X.1M(d,q,m)},i.2b))}I{i.1X.1M(d,q,m)}}}}k 1I(d,2U){B q,l,m,x,y,r,M,c=d.17(),i=d.o(\'c-i\'),Z=c.C(\'.c-Z\'),n=c.C(\'.c-n\'),w=c.C(\'.c-w\'),1d=c.C(\'.c-m-w\'),1k=n.C(\'[J$=-H]\'),1m=w.C(\'[J$=-H]\'),1J=1d.C(\'[J$=-H]\');q=1D(1o(d.S(),L),i.1q);e(!q)q=1D(1o(i.2f,L));l=2V(q);e(!2U)d.S(q);e(i.m){m=d.1g(\'o-m\')===\'\'?1:E(1Q(d.1g(\'o-m\')).34(2),0,1);d.1g(\'o-m\',m);Z.C(\'25\').F(\'m\',m);y=E(1d.u()-(1d.u()*m),0,1d.u());1J.F(\'K\',y+\'Q\')}Z.C(\'25\').F(\'1a\',q);1P(i.1L){P\'24\':r=E(p.1B(l.s*0.R),0,n.u()/2);M=l.h*p.21/2q;x=E(R-p.26(M)*r,0,n.1c());y=E(R-p.23(M)*r,0,n.u());1k.F({K:y+\'Q\',T:x+\'Q\'});y=28-(l.b/(j/n.u()));e(q===\'\')y=0;1m.F(\'K\',y+\'Q\');w.F(\'1a\',X({h:l.h,s:l.s,b:j}));18;P\'V\':x=E((5*l.h)/12,0,28);y=E(n.u()-p.1B(l.b/(j/n.u())),0,n.u());1k.F({K:y+\'Q\',T:x+\'Q\'});y=E(w.u()-(l.s*(w.u()/j)),0,w.u());1m.F(\'K\',y+\'Q\');w.F(\'1a\',X({h:l.h,s:j,b:l.b}));c.C(\'.c-n-1G\').F(\'m\',l.s/j);18;P\'Y\':x=E((5*l.h)/12,0,28);y=E(n.u()-p.1B(l.s/(j/n.u())),0,n.u());1k.F({K:y+\'Q\',T:x+\'Q\'});y=E(w.u()-(l.b*(w.u()/j)),0,w.u());1m.F(\'K\',y+\'Q\');w.F(\'1a\',X({h:l.h,s:l.s,b:j}));c.C(\'.c-n-1G\').F(\'m\',1-(l.b/j));18;1H:x=E(p.1B(l.s/(j/n.1c())),0,n.1c());y=E(n.u()-p.1B(l.b/(j/n.u())),0,n.u());1k.F({K:y+\'Q\',T:x+\'Q\'});y=E(w.u()-(l.h/(W/w.u())),0,w.u());1m.F(\'K\',y+\'Q\');n.F(\'1a\',X({h:l.h,s:j,b:j}));18}}k 29(d){B q=1o($(d).S(),L),f=1W(q),m=$(d).1g(\'o-m\');e(!f)t 1u;e(m!==1x)$.1T(f,{a:1Q(m)});t f}k 2a(d,2T){B q=1o($(d).S(),L),f=1W(q),m=$(d).1g(\'o-m\');e(!f)t 1u;e(m===1x)m=1;e(2T){t\'3z(\'+f.r+\', \'+f.g+\', \'+f.b+\', \'+1Q(m)+\')\'}I{t\'f(\'+f.r+\', \'+f.g+\', \'+f.b+\')\'}}k 1D(N,1q){t 1q===\'3A\'?N.3B():N.3C()}k 1o(N,30){N=N.3D(/[^A-3E-9]/3F,\'\');e(N.1A!==3&&N.1A!==6)t\'\';e(N.1A===3&&30){N=N[0]+N[0]+N[1]+N[1]+N[2]+N[2]}t\'#\'+N}k E(1l,1v,15){e(1l<1v)1l=1v;e(1l>15)1l=15;t 1l}k 31(l){B f={};B h=p.1b(l.h);B s=p.1b(l.s*1i/j);B v=p.1b(l.b*1i/j);e(s===0){f.r=f.g=f.b=v}I{B 13=v;B 14=(1i-s)*v/1i;B 1j=(13-14)*(h%1Z)/1Z;e(h===W)h=0;e(h<1Z){f.r=13;f.b=14;f.g=14+1j}I e(h<3I){f.g=13;f.b=14;f.r=13-1j}I e(h<2q){f.g=13;f.r=14;f.b=14+1j}I e(h<3x){f.b=13;f.r=14;f.g=13-1j}I e(h<3K){f.b=13;f.g=14;f.r=14+1j}I e(h<W){f.r=13;f.g=14;f.b=13-1j}I{f.r=0;f.g=0;f.b=0}}t{r:p.1b(f.r),g:p.1b(f.g),b:p.1b(f.b)}}k 2Y(f){B q=[f.r.2m(16),f.g.2m(16),f.b.2m(16)];$.1f(q,k(2W,S){e(S.1A===1)q[2W]=\'0\'+S});t\'#\'+q.3L(\'\')}k X(l){t 2Y(31(l))}k 2V(q){B l=33(1W(q));e(l.s===0)l.h=W;t l}k 33(f){B l={h:0,s:0,b:0};B 1v=p.1v(f.r,f.g,f.b);B 15=p.15(f.r,f.g,f.b);B 1E=15-1v;l.b=15;l.s=15!==0?1i*1E/15:0;e(l.s!==0){e(f.r===15){l.h=(f.g-f.b)/1E}I e(f.g===15){l.h=2+(f.b-f.r)/1E}I{l.h=4+(f.r-f.g)/1E}}I{l.h=-1}l.h*=1Z;e(l.h<0){l.h+=W}l.s*=j/1i;l.b*=j/1i;t l}k 1W(q){q=1V(((q.3G(\'#\')>-1)?q.3v(1):q),16);t{r:q>>16,g:(q&37)>>8,b:(q&35)}}$(1U).11(\'2n.c 2v.c\',k(O){e(!$(O.G).2X().39(O.G).22(\'c\')){19()}}).11(\'2n.c 2v.c\',\'.c-n, .c-w, .c-m-w\',k(O){B G=$(z);O.3b();$(1U).o(\'c-G\',G);2u(G,O,L)}).11(\'3c.c 3e.c\',k(O){B G=$(1U).o(\'c-G\');e(G)2u(G,O)}).11(\'3n.c 3t.c\',k(){$(z).2g(\'c-G\')}).11(\'2n.c 2v.c\',\'.c-Z\',k(){B d=$(z).17().C(\'.c-d\'),c=d.17();e(c.22(\'c-1s\')){19(d)}I{1r(d)}}).11(\'1s.c\',\'.c-d\',k(){B d=$(z);e(!d.o(\'c-1e\'))t;1r(d)}).11(\'2Z.c\',\'.c-d\',k(){B d=$(z),i=d.o(\'c-i\');e(!d.o(\'c-1e\'))t;d.S(1o(d.S(),L));e(d.S()===\'\')d.S(1o(i.2f,L));d.S(1D(d.S(),i.1q));19(d)}).11(\'3q.c\',\'.c-d\',k(O){B d=$(z);e(!d.o(\'c-1e\'))t;1P(O.3m){P 9:19();18;P 27:19();d.2Z();18}}).11(\'3f.c\',\'.c-d\',k(){B d=$(z);e(!d.o(\'c-1e\'))t;1I(d,L)}).11(\'3l.c\',\'.c-d\',k(){B d=$(z);e(!d.o(\'c-1e\'))t;32(k(){1I(d,L)},1)})})(2S);',62,235,'||||||||||||minicolors|input|if|rgb|||settings|100|function|hsb|opacity|grid|data|Math|hex|||return|height||slider|||this||var|find|span|keepWithin|css|target|picker|else|class|top|true|phi|string|event|case|px|75|val|left|hue|saturation|360|hsb2hex|brightness|swatch|gridPos|on||t1|t2|max||parent|break|hide|backgroundColor|round|width|opacitySlider|initialized|each|attr|panel|255|t3|gridPicker|value|sliderPicker|floor|parseHex|addClass|letterCase|show|focus|offset|null|min|method|undefined|wx|position|length|ceil|wy|convertCase|delta|sliderPos|inner|default|updateFromInput|opacityPicker|container|control|call|getCoords|animate|switch|parseFloat|defaultSettings|inline|extend|document|parseInt|hex2rgb|change|destroy|60|swatchPosition|PI|hasClass|sin|wheel|SPAN|cos||150|rgbObject|rgbString|changeDelay|offsetX|changedTouches|is|defaultValue|removeData|originalEvent|theme|false|prop|offsetY|toString|mousedown|refresh|stop|180|duration|animationEasing|updateFromControl|move|touchstart|69|toggleClass|textfield|init|create|rgbaString|after|showSpeed|size|removeProp|maxlength|before|atan2|hideSpeed|removeClass|changeTimeout|animationSpeed|pageX|lastChange|pageY|opacityPos|sqrt|jQuery|alpha|preserveInputValue|hex2hsb|nr|parents|rgb2hex|blur|expand|hsb2rgb|setTimeout|rgb2hsb|toFixed|0x0000FF|remove|0x00FF00|disabled|add|hidden|preventDefault|mousemove|end|touchmove|keyup|rl_color|swing|lowercase|fn|rgbaObject|paste|keyCode|mouseup|with|split|keydown|wrap|selectstart|touchend|fadeIn|substring|fadeOut|240|clearTimeout|rgba|uppercase|toUpperCase|toLowerCase|replace|F0|ig|indexOf|outerWidth|120|outerHeight|300|join|ready'.split('|'),0,{}))PK gV�[[�!2 2 colorpicker.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ /** * LOOSELY BASED ON: * Very simple jQuery Color Picker * Copyright (C) 2012 Tanguy Krotoff * Licensed under the MIT license */ "use strict"; if (typeof window.RegularLabsColorPicker === 'undefined') { (function($) { window.RegularLabsColorPicker = function(element, options) { this.select = $(element); this.options = $.extend({}, $.fn.nncolorpicker.defaults, options); this.select.hide(); // Build the list of colors let list = ''; $('option', this.select).each(function() { const option = $(this); let color = option.val(); if (option.text() == '-') { list += '<br>'; return; } let clss = 'nncolorpicker-swatch'; if (color == 'none') { clss += ' nocolor'; color = 'transparent'; } if (option.attr('selected')) { clss += ' active'; } list += '<span class="' + clss + '"><span style="background-color: ' + color + ';" tabindex="0"></span></span>'; }); let color = this.select.val(); let clss = 'nncolorpicker-swatch'; if (color == 'none') { clss += ' nocolor'; color = 'transparent'; } this.icon = $('<span class="' + clss + '"><span style="background-color: ' + color + ';" tabindex="0"></span></span>').insertAfter(this.select); this.icon.on('click', $.proxy(this.show, this)); this.panel = $('<span class="nncolorpicker-panel"></span>').appendTo(document.body); this.panel.html(list); this.panel.on('click', $.proxy(this.click, this)); // Hide panel when clicking outside $(document).on('mousedown', $.proxy(this.hide, this)); this.panel.on('mousedown', $.proxy(this.mousedown, this)); }; /** * RegularLabsColorPicker class */ RegularLabsColorPicker.prototype = { constructor: RegularLabsColorPicker, show: function() { const bootstrapArrowWidth = 16; // Empirical value const pos = this.icon.offset(); this.panel.css({ left: pos.left + this.icon.width() / 2 - bootstrapArrowWidth, // Middle of the icon top : pos.top + this.icon.outerHeight() }); this.panel.show(this.options.delay); }, hide: function() { this.panel.hide(this.options.delay); }, click: function(e) { const target = $(e.target); if (target.length === 1) { if (target[0].nodeName.toLowerCase() === 'span') { // When you click on a color let color = ''; let bgcolor = ''; let clss = ''; if (target.parent().hasClass('nocolor')) { color = 'none'; bgcolor = 'transparent'; clss = 'nocolor'; } else { color = this.rgb2hex(target.css('background-color')); bgcolor = color; } // Mark this div as the selected one target.parent().siblings().removeClass('active'); target.parent().addClass('active'); this.icon.removeClass('nocolor').addClass(clss); this.icon.find('span').css('background-color', bgcolor); // Hide the panel this.hide(); // Change select value this.select.val(color).change(); } } }, /** * Prevents the mousedown event from "eating" the click event. */ mousedown: function(e) { e.stopPropagation(); e.preventDefault(); }, /** * Converts a RGB color to its hexadecimal value. * * See http://stackoverflow.com/questions/1740700/get-hex-value-rather-than-rgb-value-using-$ */ rgb2hex: function(rgb) { function hex(x) { return ("0" + parseInt(x, 10).toString(16)).slice(-2); } const matches = rgb.match(/^rgb\((\d+),\s*(\d+),\s*(\d+)\)$/); if (matches === null) { // Fix for Internet Explorer < 9 // Variable rgb is already a hexadecimal value return rgb; } else { return '#' + hex(matches[1]) + hex(matches[2]) + hex(matches[3]); } } }; /** * Plugin definition. */ $.fn.nncolorpicker = function(option) { // For HTML element passed to the plugin return this.each(function() { const self = $(this); const options = typeof option === 'object' && option; let data = self.data('nncolorpicker'); if (!data) { self.data('nncolorpicker', (data = new RegularLabsColorPicker(this, options))); } if (typeof option === 'string') { data[option](); } }); }; $.fn.nncolorpicker.Constructor = RegularLabsColorPicker; /** * Default options. */ $.fn.nncolorpicker.defaults = { // Animation delay delay: 0 }; $(document).ready(function() { $('select.nncolorpicker').nncolorpicker(); }); })(jQuery); } PK gV�[����� � colorpicker.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"1y 18";9(O W.l===\'1b\'){(7($){W.l=7(X,k){4.j=$(X);4.k=$.1h({},$.B.8.T,k);4.j.q();c y=\'\';$(\'b\',4.j).13(7(){i b=$(4);c 5=b.N();9(b.1c()==\'-\'){y+=\'<1g>\';n}c a=\'8-Y\';9(5==\'G\'){a+=\' p\';5=\'H\'}9(b.1l(\'1f\')){a+=\' K\'}y+=\'<6 D="\'+a+\'"><6 V="r-5: \'+5+\';" S="0"></6></6>\'});c 5=4.j.N();c a=\'8-Y\';9(5==\'G\'){a+=\' p\';5=\'H\'}4.h=$(\'<6 D="\'+a+\'"><6 V="r-5: \'+5+\';" S="0"></6></6>\').19(4.j);4.h.v(\'z\',$.u(4.P,4));4.f=$(\'<6 D="8-f"></6>\').1a(I.1d);4.f.1e(y);4.f.v(\'z\',$.u(4.z,4));$(I).v(\'t\',$.u(4.q,4));4.f.v(\'t\',$.u(4.t,4))};l.1k={1j:l,P:7(){i Z=16;i F=4.h.1i();4.f.M({U:F.U+4.h.15()/2-Z, 12:F.12+4.h.17()});4.f.P(4.k.L)},q:7(){4.f.q(4.k.L)},z:7(e){i g=$(e.g);9(g.1n===1){9(g[0].1w.1B()===\'6\'){c 5=\'\';c A=\'\';c a=\'\';9(g.J().1D(\'p\')){5=\'G\';A=\'H\';a=\'p\'}11{5=4.Q(g.M(\'r-5\'));A=5}g.J().1E().14(\'K\');g.J().R(\'K\');4.h.14(\'p\').R(a);4.h.1G(\'6\').M(\'r-5\',A);4.q();4.j.N(5).1z()}}},t:7(e){e.1F();e.1C()},Q:7(w){7 C(x){n("0"+1A(x,10).1o(16)).1x(-2)}i o=w.1v(/^w\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/);9(o===1u){n w}11{n\'#\'+C(o[1])+C(o[2])+C(o[3])}}};$.B.8=7(b){n 4.13(7(){i E=$(4);i k=O b===\'1t\'&&b;c m=E.m(\'8\');9(!m){E.m(\'8\',(m=1s l(4,k)))}9(O b===\'1r\'){m[b]()}})};$.B.8.1q=l;$.B.8.T={L:0};$(I).1p(7(){$(\'j.8\').8()})})(1m)}',62,105,'||||this|color|span|function|nncolorpicker|if|clss|option|let|||panel|target|icon|const|select|options|RegularLabsColorPicker|data|return|matches|nocolor|hide|background||mousedown|proxy|on|rgb||list|click|bgcolor|fn|hex|class|self|pos|none|transparent|document|parent|active|delay|css|val|typeof|show|rgb2hex|addClass|tabindex|defaults|left|style|window|element|swatch|bootstrapArrowWidth||else|top|each|removeClass|width||outerHeight|strict|insertAfter|appendTo|undefined|text|body|html|selected|br|extend|offset|constructor|prototype|attr|jQuery|length|toString|ready|Constructor|string|new|object|null|match|nodeName|slice|use|change|parseInt|toLowerCase|preventDefault|hasClass|siblings|stopPropagation|find'.split('|'),0,{}))PK gV�[��G�� � form.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ "use strict"; if (typeof window.RegularLabsForm === 'undefined' || typeof RegularLabsForm.version === 'undefined' || RegularLabsForm.version < '21.2.19653') { (function($) { window.RegularLabsForm = { version: '21.2.19653', getValue: function(name, escape) { let $field = $(`[name="${name}"]`); if (!$field.length) { $field = $(`[name="${name}[]"]`); } if (!$field.length) { return; } const type = $field[0].type; switch (type) { case 'radio': $field = $(`[name="${name}"]:checked`); break; case 'checkbox': return this.getValuesFromList($(`[name="${name}[]"]:checked`), escape); case 'select': case 'select-one': case 'select-multiple': return this.getValuesFromList($field.find('option:checked'), escape); } return this.prepareValue($field.val(), escape); }, getValuesFromList: function($elements, escape) { const self = this; const values = []; $elements.each(function() { values.push(self.prepareValue($(this).val(), escape)); }); return values; }, prepareValue: function(value, escape) { if (!isNaN(value) && value.indexOf('.') < 0) { return parseInt(value); } if (escape) { value = value.replace(/"/g, '\\"'); } return value.trim(); }, toTextValue: function(str) { return str.toString().replace(/^[\s-]*/, '').trim(); }, toSimpleValue: function(str) { return str.toString().toLowerCase().replace(/[^0-9a-z]/g, '').trim(); }, // preg_quote: function(str) { // return str.toString().replace(/([\\\.\+\*\?\[\^\]\$\(\)\{\}\=\!<>\|\:])/g, '\\$1'); // }, // escape: function(str) { // return str.toString().replace(/([\"])/g, '\\$1'); // }, setRadio: function(id, value) { value = value ? 1 : 0; const selector = `input#jform_${id}${value},input#jform_params_${id}${value},input#advancedparams_${id}${value}`; document.getElements(selector).each(function(el) { el.click(); }); }, initCheckAlls: function(id, classname) { $(`#${id}`).attr('checked', this.allChecked(classname)); $(`input.${classname}`).click(function() { $(`#${id}`).attr('checked', this.allChecked(classname)); }); }, allChecked: function(classname) { return $(`input.${classname}:checkbox:not(:checked)`).length < 1; }, checkAll: function(checkbox, classname) { const allchecked = this.allChecked(classname); $(checkbox).attr('checked', !allchecked); $(`input.${classname}`).attr('checked', !allchecked); }, // getEditorSelection: function(editorID) { // const editorTextarea = document.getElementById(editorID); // // if (!editorTextarea) { // return ''; // } // // const editorFrame = editorTextarea.parentNode.querySelector('iframe'); // // if (!editorFrame) { // return ''; // } // // const contentWindow = editorFrame.contentWindow; // // if (typeof contentWindow.getSelection !== 'undefined') { // const sel = contentWindow.getSelection(); // // if (sel.rangeCount) { // const container = contentWindow.document.createElement("div"); // const len = sel.rangeCount; // for (let i = 0; i < len; ++i) { // container.appendChild(sel.getRangeAt(i).cloneContents()); // } // // return container.innerHTML; // } // // return ''; // } // // if (typeof contentWindow.document.selection !== 'undefined') { // if (contentWindow.document.selection.type == "Text") { // return contentWindow.document.selection.createRange().htmlText; // } // } // // return ''; // }, toggleSelectListSelection: function(id) { const el = document.getElement(`#${id}`); if (el && el.options) { for (let i = 0; i < el.options.length; i++) { if (!el.options[i].disabled) { el.options[i].selected = !el.options[i].selected; } } } }, prependTextarea: function(id, content, separator) { const textarea = $(`#${id}`); let originalContent = textarea.val().trim(); if (originalContent && separator) { separator = separator == 'none' ? '' : `\n\n${separator}`; originalContent = `${separator}\n\n${originalContent}`; } textarea.val(`${content}${originalContent}`); this.moveCursorInTextareaTo(id, content.length); }, moveCursorInTextareaTo: function(id, position) { const textarea = document.getElementById(id); if (textarea.setSelectionRange) { textarea.focus(); textarea.setSelectionRange(position, position); textarea.scrollTop = 0; return; } if (textarea.createTextRange) { var range = textarea.createTextRange(); range.moveStart('character', position); range.select(); textarea.scrollTop = 0; } }, setToggleTitleClass: function(input, value) { const el = $(input).parent().parent().parent().parent(); el.removeClass('alert-success').removeClass('alert-error'); if (value === 2) { el.addClass('alert-error'); } else if (value) { el.addClass('alert-success'); } } }; $(document).ready(function() { removeEmptyControlGroups(); addShowOnTriggers(); function removeEmptyControlGroups() { // remove all empty control groups $('div.control-group > div').each(function(i, el) { if ( $(el).html().trim() == '' && ( $(el).attr('class') == 'control-label' || $(el).attr('class') == 'controls' ) ) { $(el).remove(); } }); $('div.control-group').each(function(i, el) { if ($(el).html().trim() == '') { $(el).remove(); } }); $('div.control-group > div.hide').each(function(i, el) { $(el).parent().css('margin', 0); }); } /** * Adds keyup triggers to fields to trigger show/hide of showon fields */ function addShowOnTriggers() { const fieldIDs = []; $('[data-showon]').each(function() { const $target = $(this); const jsonData = $target.data('showon') || []; // Collect an all referenced elements for (let i = 0, len = jsonData.length; i < len; i++) { fieldIDs.push(`[name="${jsonData[i]['field']}"]`); fieldIDs.push(`[name="${jsonData[i]['field']}[]"]`); } }); // Trigger the change event on keyup $(fieldIDs.join(',')).on('input', function() { $(this).change(); }); } }); })(jQuery); } PK gV�[�mM�� � form.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"1V 1s";6(W 1a.w===\'X\'||W w.R===\'X\'||w.R<\'[19]\'){(3($){1a.w={R:\'[19]\',1y:3(9,j){D $d=$(`[9="${9}"]`);6(!$d.o){$d=$(`[9="${9}[]"]`)}6(!$d.o){a}8 T=$d[0].T;1C(T){q\'1q\':$d=$(`[9="${9}"]:h`);1t;q\'C\':a c.L($(`[9="${9}[]"]:h`),j);q\'A\':q\'A-1x\':q\'A-1n\':a c.L($d.1z(\'1r:h\'),j)}a c.K($d.x(),j)},L:3($11,j){8 18=c;8 O=[];$11.k(3(){O.S(18.K($(c).x(),j))});a O},K:3(5,j){6(!1w(5)&&5.1B(\'.\')<0){a 1A(5)}6(j){5=5.Q(/"/g,\'\\\\"\')}a 5.p()},1v:3(E){a E.10().Q(/^[\\s-]*/,\'\').p()},1o:3(E){a E.10().1p().Q(/[^0-1u-z]/g,\'\').p()},1E:3(7,5){5=5?1:0;8 Y=`f#22${7}${5},f#1W${7}${5},f#27${7}${5}`;y.26(Y).k(3(4){4.V()})},25:3(7,e){$(`#${7}`).m(\'h\',c.J(e));$(`f.${e}`).V(3(){$(`#${7}`).m(\'h\',c.J(e))})},J:3(e){a $(`f.${e}:C:24(:h)`).o<1},21:3(C,e){8 M=c.J(e);$(C).m(\'h\',!M);$(`f.${e}`).m(\'h\',!M)},20:3(7){8 4=y.1Z(`#${7}`);6(4&&4.v){12(D i=0;i<4.v.o;i++){6(!4.v[i].1Y){4.v[i].14=!4.v[i].14}}}},1X:3(7,N,l){8 b=$(`#${7}`);D t=b.x().p();6(t&&l){l=l==\'23\'?\'\':`\\n\\n${l}`;t=`${l}\\n\\n${t}`}b.x(`${N}${t}`);c.1k(7,N.o)},1k:3(7,B){8 b=y.1U(7);6(b.1m){b.1T();b.1m(B,B);b.1g=0;a}6(b.1l){1S P=b.1l();P.1R(\'1Q\',B);P.A();b.1g=0}},1P:3(f,5){8 4=$(f).u().u().u().u();4.1f(\'H-1h\').1f(\'H-1e\');6(5===2){4.1b(\'H-1e\')}1O 6(5){4.1b(\'H-1h\')}}};$(y).1N(3(){1i();17();3 1i(){$(\'r.G-U > r\').k(3(i,4){6($(4).1j().p()==\'\'&&($(4).m(\'1d\')==\'G-1M\'||$(4).m(\'1d\')==\'1L\')){$(4).1c()}});$(\'r.G-U\').k(3(i,4){6($(4).1j().p()==\'\'){$(4).1c()}});$(\'r.G-U > r.1K\').k(3(i,4){$(4).u().1J(\'1I\',0)})}3 17(){8 F=[];$(\'[15-13]\').k(3(){8 $16=$(c);8 I=$16.15(\'13\')||[];12(D i=0,Z=I.o;i<Z;i++){F.S(`[9="${I[i][\'d\']}"]`);F.S(`[9="${I[i][\'d\']}[]"]`)}});$(F.1H(\',\')).1G(\'f\',3(){$(c).1F()})}})})(1D)}',62,132,'|||function|el|value|if|id|const|name|return|textarea|this|field|classname|input||checked||escape|each|separator|attr||length|trim|case|div||originalContent|parent|options|RegularLabsForm|val|document||select|position|checkbox|let|str|fieldIDs|control|alert|jsonData|allChecked|prepareValue|getValuesFromList|allchecked|content|values|range|replace|version|push|type|group|click|typeof|undefined|selector|len|toString|elements|for|showon|selected|data|target|addShowOnTriggers|self|LIB_VERSION|window|addClass|remove|class|error|removeClass|scrollTop|success|removeEmptyControlGroups|html|moveCursorInTextareaTo|createTextRange|setSelectionRange|multiple|toSimpleValue|toLowerCase|radio|option|strict|break|9a|toTextValue|isNaN|one|getValue|find|parseInt|indexOf|switch|jQuery|setRadio|change|on|join|margin|css|hide|controls|label|ready|else|setToggleTitleClass|character|moveStart|var|focus|getElementById|use|jform_params_|prependTextarea|disabled|getElement|toggleSelectListSelection|checkAll|jform_|none|not|initCheckAlls|getElements|advancedparams_'.split('|'),0,{}))PK gV�[��M M jquery.cookie.jsnu �[��� /*! * jQuery Cookie Plugin v1.4.1 * https://github.com/carhartl/jquery-cookie * * Copyright 2006, 2014 Klaus Hartl * Released under the MIT license */ (function(factory) { if (typeof define === 'function' && define.amd) { // AMD (Register as an anonymous module) define(['jquery'], factory); } else if (typeof exports === 'object') { // Node/CommonJS module.exports = factory(require('jquery')); } else { // Browser globals factory(jQuery); } }(function($) { var pluses = /\+/g; function encode(s) { return config.raw ? s : encodeURIComponent(s); } function decode(s) { return config.raw ? s : decodeURIComponent(s); } function stringifyCookieValue(value) { return encode(config.json ? JSON.stringify(value) : String(value)); } function parseCookieValue(s) { if (s.indexOf('"') === 0) { // This is a quoted cookie as according to RFC2068, unescape... s = s.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, '\\'); } try { // Replace server-side written pluses with spaces. // If we can't decode the cookie, ignore it, it's unusable. // If we can't parse the cookie, ignore it, it's unusable. s = decodeURIComponent(s.replace(pluses, ' ')); return config.json ? JSON.parse(s) : s; } catch (e) { } } function read(s, converter) { var value = config.raw ? s : parseCookieValue(s); return $.isFunction(converter) ? converter(value) : value; } var config = $.cookie = function(key, value, options) { // Write if (arguments.length > 1 && !$.isFunction(value)) { options = $.extend({}, config.defaults, options); if (typeof options.expires === 'number') { var days = options.expires, t = options.expires = new Date(); t.setMilliseconds(t.getMilliseconds() + days * 864e+5); } return (document.cookie = [ encode(key), '=', stringifyCookieValue(value), options.expires ? '; expires=' + options.expires.toUTCString() : '', // use expires attribute, max-age is not supported by IE options.path ? '; path=' + options.path : '', options.domain ? '; domain=' + options.domain : '', options.secure ? '; secure' : '' ].join('')); } // Read var result = key ? undefined : {}, // To prevent the for loop in the first place assign an empty array // in case there are no cookies at all. Also prevents odd result when // calling $.cookie(). cookies = document.cookie ? document.cookie.split('; ') : [], i = 0, l = cookies.length; for (; i < l; i++) { var parts = cookies[i].split('='), name = decode(parts.shift()), cookie = parts.join('='); if (key === name) { // If second argument (value) is a function it's a converter... result = read(cookie, value); break; } // Prevent storing a cookie that we couldn't decode. if (!key && (cookie = read(cookie)) !== undefined) { result[name] = cookie; } } return result; }; config.defaults = {}; $.removeCookie = function(key, options) { // Must not alter options, thus extending a fresh object... $.cookie(key, '', $.extend({}, options, {expires: -1})); return !$.cookie(key); }; })); PK gV�[� �� jquery.cookie.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('(6(f){b(m v===\'6\'&&v.1c){v([\'F\'],f)}E b(m z===\'T\'){U.z=f(V(\'F\'))}E{f(Y)}}(6($){c G=/\\+/g;6 p(s){9 7.k?s:Z(s)}6 O(s){9 7.k?s:D(s)}6 I(4){9 p(7.C?B.10(4):11(4))}6 A(s){b(s.12(\'"\')===0){s=s.13(1,-1).h(/\\\\"/g,\'"\').h(/\\\\\\\\/g,\'\\\\\')}14{s=D(s.h(G,\' \'));9 7.C?B.1e(s):s}1d(e){}}6 r(s,q){c 4=7.k?s:A(s);9 $.y(q)?q(4):4}c 7=$.3=6(8,4,2){b(1a.J>1&&!$.y(4)){2=$.K({},7.L,2);b(m 2.a===\'18\'){c H=2.a,t=2.a=S R();t.19(t.16()+H*X+5)}9(x.3=[p(8),\'=\',I(4),2.a?\'; a=\'+2.a.1f():\'\',2.o?\'; o=\'+2.o:\'\',2.w?\'; w=\'+2.w:\'\',2.Q?\'; Q\':\'\'].N(\'\'))}c d=8?M:{},j=x.3?x.3.P(\'; \'):[],i=0,l=j.J;1b(;i<l;i++){c n=j[i].P(\'=\'),u=O(n.17()),3=n.N(\'=\');b(8===u){d=r(3,4);15}b(!8&&(3=r(3))!==M){d[u]=3}}9 d};7.L={};$.W=6(8,2){$.3(8,\'\',$.K({},2,{a:-1}));9!$.3(8)}}));',62,78,'||options|cookie|value||function|config|key|return|expires|if|var|result||factory||replace||cookies|raw||typeof|parts|path|encode|converter|read|||name|define|domain|document|isFunction|exports|parseCookieValue|JSON|json|decodeURIComponent|else|jquery|pluses|days|stringifyCookieValue|length|extend|defaults|undefined|join|decode|split|secure|Date|new|object|module|require|removeCookie|864e|jQuery|encodeURIComponent|stringify|String|indexOf|slice|try|break|getMilliseconds|shift|number|setMilliseconds|arguments|for|amd|catch|parse|toUTCString'.split('|'),0,{}))PK gV�[�R�g g multiselect.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ "use strict"; if (typeof window.RegularLabsMultiSelect === 'undefined' || typeof RegulaRegularLabsMultiSelectrLabsForm.version === 'undefined' || RegularLabsMultiSelect.version < '21.2.19653') { (function($) { $(document).ready(function() { $('.rl_multiselect').each(function() { RegularLabsMultiSelect.init($(this)); }); }); window.RegularLabsMultiSelect = { version: '21.2.19653', init: function(element) { const self = this; const controls = element.find('div.rl_multiselect-controls'); const list = element.find('ul.rl_multiselect-ul'); const menu = element.find('div.rl_multiselect-menu-block').html(); const maxHeight = list.css('max-height'); list.find('li').each(function() { const $li = $(this); const $div = $li.find('div.rl_multiselect-item:first'); // Add icons $li.prepend('<span class="pull-left icon-"></span>'); // Append clearfix $div.after('<div class="clearfix"></div>'); if (!$li.find('ul.rl_multiselect-sub').length) { return; } // Add classes to Expand/Collapse icons $li.find('span.icon-').addClass('rl_multiselect-toggle icon-minus'); // Append drop down menu in nodes $div.find('label:first').after(menu); if (!$li.find('ul.rl_multiselect-sub ul.rl_multiselect-sub').length) { $li.find('div.rl_multiselect-menu-expand').remove(); } }); // Takes care of the Expand/Collapse of a node list.find('span.rl_multiselect-toggle').click(function() { const $icon = $(this); // Take care of parent UL if ($icon.parent().find('ul.rl_multiselect-sub').is(':visible')) { $icon.removeClass('icon-minus').addClass('icon-plus'); $icon.parent().find('ul.rl_multiselect-sub').hide(); $icon.parent().find('ul.rl_multiselect-sub span.rl_multiselect-toggle').removeClass('icon-minus').addClass('icon-plus'); return; } $icon.removeClass('icon-plus').addClass('icon-minus'); $icon.parent().find('ul.rl_multiselect-sub').show(); $icon.parent().find('ul.rl_multiselect-sub span.rl_multiselect-toggle').removeClass('icon-plus').addClass('icon-minus'); }); // Takes care of the filtering controls.find('input.rl_multiselect-filter').keyup(function() { const $text = $(this).val().toLowerCase(); list.find('li').each(function() { const $li = $(this); if ($li.text().toLowerCase().indexOf($text) < 0) { $li.hide(); return; } $li.show(); }); }); // Checks all checkboxes in the list list.find('input').on('change', function() { self.updateCounts(this.closest('.rl_multiselect')); }); // Checks all checkboxes in the list controls.find('a.rl_multiselect-checkall').click(function() { list.find('input').prop('checked', true); self.updateCounts(this.closest('.rl_multiselect')); }); // Unchecks all checkboxes in the list controls.find('a.rl_multiselect-uncheckall').click(function() { list.find('input').prop('checked', false); self.updateCounts(this.closest('.rl_multiselect')); }); // Toggles all checkboxes in the list controls.find('a.rl_multiselect-toggleall').click(function() { list.find('input').each(function() { const $input = $(this); $input.prop('checked', !$input.prop('checked')); }); self.updateCounts(this.closest('.rl_multiselect')); }); // Expands all sub-items in the list controls.find('a.rl_multiselect-expandall').click(function() { list.find('ul.rl_multiselect-sub').show(); list.find('span.rl_multiselect-toggle').removeClass('icon-plus').addClass('icon-minus'); }); // Hides all sub-items in the list controls.find('a.rl_multiselect-collapseall').click(function() { list.find('ul.rl_multiselect-sub').hide(); list.find('span.rl_multiselect-toggle').removeClass('icon-minus').addClass('icon-plus'); }); // Shows all selected items in the list controls.find('a.rl_multiselect-showall').click(function() { list.find('li').show(); }); // Shows all selected items in the list controls.find('a.rl_multiselect-showselected').click(function() { list.find('li').each(function() { const $li = $(this); let $hide = true; $li.find('input').each(function() { if ($(this).prop('checked')) { $hide = false; return false; } }); if ($hide) { $li.hide(); return; } $li.show(); }); }); // Maximizes the list controls.find('a.rl_multiselect-maximize').click(function() { list.css('max-height', ''); controls.find('a.rl_multiselect-maximize').hide(); controls.find('a.rl_multiselect-minimize').show(); }); // Minimizes the list controls.find('a.rl_multiselect-minimize').click(function() { list.css('max-height', maxHeight); controls.find('a.rl_multiselect-minimize').hide(); controls.find('a.rl_multiselect-maximize').show(); }); // Take care of children check/uncheck all element.find('a.checkall').click(function() { const $parent = $(this).parent().parent().parent().parent().parent().parent(); $parent.find('ul.rl_multiselect-sub input').prop('checked', true); }); element.find('a.uncheckall').click(function() { const $parent = $(this).parent().parent().parent().parent().parent().parent(); $parent.find('ul.rl_multiselect-sub input').prop('checked', false); }); // Take care of children toggle all element.find('a.expandall').click(function() { const $parent = $(this).parent().parent().parent().parent().parent().parent().parent(); $parent.find('ul.rl_multiselect-sub').show(); $parent.find('ul.rl_multiselect-sub span.rl_multiselect-toggle').removeClass('icon-plus').addClass('icon-minus'); }); element.find('a.collapseall').click(function() { const $parent = $(this).parent().parent().parent().parent().parent().parent().parent(); $parent.find('li ul.rl_multiselect-sub').hide(); $parent.find('li span.rl_multiselect-toggle').removeClass('icon-minus').addClass('icon-plus'); }); element.find('div.rl_multiselect-item.hidechildren').click(function() { const $parent = $(this).parent(); $(this).find('input').each(function() { const $sub = $parent.find('ul.rl_multiselect-sub').first(); const $input = $(this); if ($input.prop('checked')) { $parent.find('span.rl_multiselect-toggle, div.rl_multiselect-menu').css('visibility', 'hidden'); if (!$sub.parent().hasClass('hidelist')) { $sub.wrap('<div style="display:none;" class="hidelist"></div>'); } return; } $parent.find('span.rl_multiselect-toggle, div.rl_multiselect-menu').css('visibility', 'visible'); if ($sub.parent().hasClass('hidelist')) { $sub.unwrap(); } }); }); }, updateCounts: function(container) { $(container).find('.rl_multiselect-count-selected').html( $(container).find('ul.rl_multiselect-ul input:checked').length ); } }; })(jQuery); } PK gV�[�QW � � multiselect.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"1i 1g";k(12 14.B===\'S\'||12 1f.C===\'S\'||B.C<\'[Q]\'){(4($){$(1e).1d(4(){$(\'.2\').t(4(){B.P($(8))})});14.B={C:\'[Q]\',P:4(l){b w=8;b d=l.1(\'g.2-d\');b c=l.1(\'9.2-9\');b u=l.1(\'g.2-u-1b\').T();b R=c.y(\'F-G\');c.1(\'7\').t(4(){b $7=$(8);b $g=$7.1(\'g.2-X:N\');$7.1a(\'<h L="17-18 5-"></h>\');$g.Z(\'<g L="15"></g>\');k(!$7.1(\'9.2-6\').K){v}$7.1(\'h.5-\').o(\'2-j 5-m\');$g.1(\'16:N\').Z(u);k(!$7.1(\'9.2-6 9.2-6\').K){$7.1(\'g.2-u-1h\').1c()}});c.1(\'h.2-j\').e(4(){b $5=$(8);k($5.3().1(\'9.2-6\').1j(\':13\')){$5.r(\'5-m\').o(\'5-s\');$5.3().1(\'9.2-6\').i();$5.3().1(\'9.2-6 h.2-j\').r(\'5-m\').o(\'5-s\');v}$5.r(\'5-s\').o(\'5-m\');$5.3().1(\'9.2-6\').p();$5.3().1(\'9.2-6 h.2-j\').r(\'5-s\').o(\'5-m\')});d.1(\'f.2-1u\').1C(4(){b $M=$(8).1B().U();c.1(\'7\').t(4(){b $7=$(8);k($7.M().U().1A($M)<0){$7.i();v}$7.p()})});c.1(\'f\').1z(\'1y\',4(){w.x(8.z(\'.2\'))});d.1(\'a.2-O\').e(4(){c.1(\'f\').q(\'n\',J);w.x(8.z(\'.2\'))});d.1(\'a.2-W\').e(4(){c.1(\'f\').q(\'n\',A);w.x(8.z(\'.2\'))});d.1(\'a.2-1x\').e(4(){c.1(\'f\').t(4(){b $f=$(8);$f.q(\'n\',!$f.q(\'n\'))});w.x(8.z(\'.2\'))});d.1(\'a.2-Y\').e(4(){c.1(\'9.2-6\').p();c.1(\'h.2-j\').r(\'5-s\').o(\'5-m\')});d.1(\'a.2-11\').e(4(){c.1(\'9.2-6\').i();c.1(\'h.2-j\').r(\'5-m\').o(\'5-s\')});d.1(\'a.2-1w\').e(4(){c.1(\'7\').p()});d.1(\'a.2-1v\').e(4(){c.1(\'7\').t(4(){b $7=$(8);1t $i=J;$7.1(\'f\').t(4(){k($(8).q(\'n\')){$i=A;v A}});k($i){$7.i();v}$7.p()})});d.1(\'a.2-I\').e(4(){c.y(\'F-G\',\'\');d.1(\'a.2-I\').i();d.1(\'a.2-H\').p()});d.1(\'a.2-H\').e(4(){c.y(\'F-G\',R);d.1(\'a.2-H\').i();d.1(\'a.2-I\').p()});l.1(\'a.O\').e(4(){b $3=$(8).3().3().3().3().3().3();$3.1(\'9.2-6 f\').q(\'n\',J)});l.1(\'a.W\').e(4(){b $3=$(8).3().3().3().3().3().3();$3.1(\'9.2-6 f\').q(\'n\',A)});l.1(\'a.Y\').e(4(){b $3=$(8).3().3().3().3().3().3().3();$3.1(\'9.2-6\').p();$3.1(\'9.2-6 h.2-j\').r(\'5-s\').o(\'5-m\')});l.1(\'a.11\').e(4(){b $3=$(8).3().3().3().3().3().3().3();$3.1(\'7 9.2-6\').i();$3.1(\'7 h.2-j\').r(\'5-m\').o(\'5-s\')});l.1(\'g.2-X.1k\').e(4(){b $3=$(8).3();$(8).1(\'f\').t(4(){b $6=$3.1(\'9.2-6\').N();b $f=$(8);k($f.q(\'n\')){$3.1(\'h.2-j, g.2-u\').y(\'10\',\'1s\');k(!$6.3().V(\'D\')){$6.1r(\'<g 1q="1p:1o;" L="D"></g>\')}v}$3.1(\'h.2-j, g.2-u\').y(\'10\',\'13\');k($6.3().V(\'D\')){$6.1n()}})})},x:4(E){$(E).1(\'.2-1m-1l\').T($(E).1(\'9.2-9 f:n\').K)}}})(19)}',62,101,'|find|rl_multiselect|parent|function|icon|sub|li|this|ul||const|list|controls|click|input|div|span|hide|toggle|if|element|minus|checked|addClass|show|prop|removeClass|plus|each|menu|return|self|updateCounts|css|closest|false|RegularLabsMultiSelect|version|hidelist|container|max|height|minimize|maximize|true|length|class|text|first|checkall|init|LIB_VERSION|maxHeight|undefined|html|toLowerCase|hasClass|uncheckall|item|expandall|after|visibility|collapseall|typeof|visible|window|clearfix|label|pull|left|jQuery|prepend|block|remove|ready|document|RegulaRegularLabsMultiSelectrLabsForm|strict|expand|use|is|hidechildren|selected|count|unwrap|none|display|style|wrap|hidden|let|filter|showselected|showall|toggleall|change|on|indexOf|val|keyup'.split('|'),0,{}))PK gV�[��� - - regular.jsnu �[��� /** * @package Regular.js * @description A light and simple JavaScript Library * * @author Peter van Westen <info@regularlabs.com> * @link https://github.com/regularlabs/regularjs * @copyright Copyright © 2019 Regular Labs - All Rights Reserved * @license https://github.com/regularlabs/regularjs/blob/master/LICENCE MIT */ "use strict"; if (typeof window.Regular === 'undefined' || typeof Regular.version === 'undefined' || Regular.version < 1.3) { window.Regular = new function() { /** * * PUBLIC PROPERTIES * */ this.version = 1.3; /** * * PUBLIC METHODS * */ /** * Sets a global alias for the Regular class. * * @param word A string (character or word) representing the alias for the Regular class. * * @return boolean */ this.alias = function(word) { if (typeof window[word] !== 'undefined') { console.error(`Cannot set '${word}' as am alias of Regular, as it already exists.`); return false; } window[word] = $; return true; }; /** * Returns a boolean based on whether the element contains one or more of the given class names. * * @param selector A CSS selector string or a HTMLElement object. * @param classes A string or array of class names. * @param matchAll Optional boolean whether the element should have all given classes (true) or at least one (false). * * @return boolean */ this.hasClasses = function(selector, classes, matchAll = true) { if (!selector) { return false; } const element = typeof selector === 'string' ? document.querySelectorAll(selector) : selector; if (typeof classes === 'string') { classes = classes.split(' '); } let hasClass = false; for (const clss of classes) { hasClass = element.classList.contains(clss); if (matchAll && !hasClass) { return false; } if (!matchAll && hasClass) { return true; } } return hasClass; }; /** * Adds given class name(s) to the element(s). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. * @param classes A string or array of class names. */ this.addClasses = function(selector, classes) { doClasses('add', selector, classes); }; /** * Removes given class name(s) from the element(s). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. * @param classes A string or array of class names. */ this.removeClasses = function(selector, classes) { doClasses('remove', selector, classes); }; /** * Toggles given class name(s) of the element(s). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. * @param classes A string or array of class names. */ this.toggleClasses = function(selector, classes) { doClasses('toggle', selector, classes); }; /** * Shows the given element(s) (changes opacity and display attributes). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. */ this.show = function(selector) { if (!selector) { return; } const element = typeof selector === 'string' ? document.querySelectorAll(selector) : selector; if ('forEach' in element) { element.forEach(subElement => $.show(subElement)); return; } let computedDisplay = getComputedStyle(element, 'display'); if (!('origDisplay' in element)) { element.origDisplay = computedDisplay === 'none' ? getDefaultComputedStyle(element, 'display') : computedDisplay; } if (computedDisplay === 'none') { element.style.display = ('origDisplay' in element) ? element.origDisplay : ''; } computedDisplay = getComputedStyle(element, 'display'); if (computedDisplay === 'none') { element.style.display = 'block'; } element.style.visibility = 'visible'; element.style.opacity = 1; }; /** * Hides the given element(s) (changes opacity and display attributes). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. */ this.hide = function(selector) { if (!selector) { return; } const element = typeof selector === 'string' ? document.querySelectorAll(selector) : selector; if ('forEach' in element) { element.forEach(subElement => $.hide(subElement)); return; } const computedDisplay = getComputedStyle(element, 'display'); if (computedDisplay !== 'none' && !('origDisplay' in element)) { element.origDisplay = computedDisplay; } element.style.display = 'none'; element.style.visibility = 'hidden'; element.style.opacity = 0; }; /** * Fades in the the given element(s). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. * @param duration Optional duration of the effect in milliseconds. * @param oncomplete Optional callback function to execute when effect is completed. */ this.fadeIn = function(selector, duration = 250, oncomplete) { if (!selector) { return; } const element = typeof selector === 'string' ? document.querySelectorAll(selector) : selector; if ('forEach' in element) { element.forEach(subElement => $.fadeIn(subElement, duration, oncomplete)); return; } element.setAttribute('data-fading', 'in'); const wait = 50; // amount of time between steps const nr_of_steps = duration / wait; const change = 1 / nr_of_steps; // time to wait before next step element.style.opacity = getComputedStyle(element, 'opacity'); if (!element.style.opacity) { element.style.opacity = 0; } if (element.style.display === 'none') { element.style.display = 'block'; } element.style.visibility = 'visible'; (function fade() { if (element.getAttribute('data-fading') === 'out') { return; } const new_opacity = parseFloat(element.style.opacity) + change; if (new_opacity >= 1) { $.show(element); element.setAttribute('data-fading', ''); if (oncomplete) { oncomplete.call(element); } return; } element.style.opacity = new_opacity; setTimeout(function() { fade.call(); }, wait); })(); }; /** * Fades out the the given element(s). * * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. * @param duration Optional duration of the effect in milliseconds. * @param oncomplete Optional callback function to execute when effect is completed. */ this.fadeOut = function(selector, duration = 250, oncomplete) { if (!selector) { return; } const element = typeof selector === 'string' ? document.querySelectorAll(selector) : selector; if ('forEach' in element) { element.forEach(subElement => $.fadeOut(subElement, duration, oncomplete)); return; } element.setAttribute('data-fading', 'out'); const wait = 50; // amount of time between steps const nr_of_steps = duration / wait; const change = 1 / nr_of_steps; // time to wait before next step element.style.opacity = getComputedStyle(element, 'opacity'); (function fade() { if (element.getAttribute('data-fading') === 'in') { return; } const new_opacity = parseFloat(element.style.opacity) - change; if (element.style.opacity <= 0) { $.hide(element); element.setAttribute('data-fading', ''); if (oncomplete) { oncomplete.call(element); } return; } element.style.opacity = new_opacity; setTimeout(function() { fade.call(); }, wait); })(); }; /** * Runs a function when the document is loaded (on ready state). * * @param func Callback function to execute when document is ready. */ this.onReady = function(func) { document.addEventListener('DOMContentLoaded', func); }; /** * Converts a string with HTML code to 'DOM' elements. * * @param html String with HTML code. * * @return element */ this.createElementFromHTML = function(html) { return document.createRange().createContextualFragment(html); }; /** * Loads a url with optional POST data and optionally calls a function on success or fail. * * @param url String containing the url to load. * @param data Optional string representing the POST data to send along. * @param success Optional callback function to execute when the url loads successfully (status 200). * @param fail Optional callback function to execute when the url fails to load. */ this.loadUrl = function(url, data, success, fail) { const request = new XMLHttpRequest(); request.open("POST", url, true); request.setRequestHeader('Content-type', 'application/x-www-form-urlencoded'); request.onreadystatechange = function() { if (this.readyState !== 4) { return; } if (this.status === 200) { success && success.call(null, this.responseText, this.status, this); return; } fail && fail.call(null, this.responseText, this.status, this); }; request.send(data); }; /** * * ALIASES * */ this.as = this.alias; this.hasClass = this.hasClasses; this.addClass = this.addClasses; this.removeClass = this.removeClasses; this.toggleClass = this.toggleClasses; /** * * PRIVATE FUNCTIONS * */ /** * Executes an action on the element(s) to add/remove/toggle classes. * * @param action A string that identifies the action: add|remove|toggle. * @param selector A CSS selector string, a HTMLElement object or a collection of HTMLElement objects. * @param classes A string or array of class names. */ const doClasses = function(action, selector, classes) { if (!selector) { return; } const element = typeof selector === 'string' ? document.querySelectorAll(selector) : selector; if ('forEach' in element) { element.forEach(subElement => doClasses(action, subElement, classes)); return; } if (typeof classes === 'string') { classes = classes.split(' '); } element.classList[action](...classes); }; /** * Finds the computed style of an element. * * @param element A HTMLElement object. * @param property The style property that needs to be returned. * * @returns mixed */ const getComputedStyle = function(element, property) { if (!element) { return null; } return window.getComputedStyle(element).getPropertyValue(property); }; /** * Finds the default computed style of an element by its type. * * @param element A HTMLElement object. * @param property The style property that needs to be returned. * * @returns mixed */ const getDefaultComputedStyle = function(element, property) { if (!element) { return null; } const defaultElement = document.createElement(element.nodeName); document.body.append(defaultElement); let propertyValue = window.getComputedStyle(defaultElement).getPropertyValue(property); defaultElement.remove(); return propertyValue; }; /** * * PRIVATE VARIABLES * */ /** * @param $ internal shorthand for the 'this' keyword. */ const $ = this; }; } PK gV�[���� � regular.min.jsnu �[��� /* * Regular.js - A light and simple JavaScript Library * Copyright © 2020 Regular Labs - All Rights Reserved * License https://github.com/regularlabs/regularjs/blob/master/LICENCE MIT */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"1G 1u";6(e y.B===\'X\'||e B.Z===\'X\'||B.Z<1.3){y.B=1i a(){7.Z=1.3;7.U=a(E){6(e y[E]!==\'X\'){1r.1x(`1t 1z\'${E}\'T 1E U 1j B,T 1D 1C 1B.`);8 F}y[E]=$;8 G};7.1l=a(5,c,O=G){6(!5){8 F}9 2=e 5===\'o\'?i.p(5):5;6(e c===\'o\'){c=c.11(\' \')}Y t=F;1A(9 1k 1j c){t=2.13.1y(1k);6(O&&!t){8 F}6(!O&&t){8 G}}8 t};7.1n=a(5,c){z(\'1v\',5,c)};7.17=a(5,c){z(\'1b\',5,c)};7.10=a(5,c){z(\'1s\',5,c)};7.N=a(5){6(!5){8}9 2=e 5===\'o\'?i.p(5):5;6(\'g\'h 2){2.g(f=>$.N(f));8}Y j=m(2,\'k\');6(!(\'s\'h 2)){2.s=j===\'r\'?14(2,\'k\'):j}6(j===\'r\'){2.b.k=(\'s\'h 2)?2.s:\'\'}j=m(2,\'k\');6(j===\'r\'){2.b.k=\'1f\'}2.b.P=\'16\';2.b.d=1};7.Q=a(5){6(!5){8}9 2=e 5===\'o\'?i.p(5):5;6(\'g\'h 2){2.g(f=>$.Q(f));8}9 j=m(2,\'k\');6(j!==\'r\'&&!(\'s\'h 2)){2.s=j}2.b.k=\'r\';2.b.P=\'1w\';2.b.d=0};7.1p=a(5,v=15,l){6(!5){8}9 2=e 5===\'o\'?i.p(5):5;6(\'g\'h 2){2.g(f=>$.1p(f,v,l));8}2.L(\'n-w\',\'h\');9 q=1d;9 J=v/q;9 K=1/J; 2.b.d=m(2,\'d\');6(!2.b.d){2.b.d=0}6(2.b.k===\'r\'){2.b.k=\'1f\'}2.b.P=\'16\';(a D(){6(2.19(\'n-w\')===\'1e\'){8}9 A=18(2.b.d)+K;6(A>=1){$.N(2);2.L(\'n-w\',\'\');6(l){l.u(2)}8}2.b.d=A;12(a(){D.u()},q)})()};7.1q=a(5,v=15,l){6(!5){8}9 2=e 5===\'o\'?i.p(5):5;6(\'g\'h 2){2.g(f=>$.1q(f,v,l));8}2.L(\'n-w\',\'1e\');9 q=1d;9 J=v/q;9 K=1/J; 2.b.d=m(2,\'d\');(a D(){6(2.19(\'n-w\')===\'h\'){8}9 A=18(2.b.d)-K;6(2.b.d<=0){$.Q(2);2.L(\'n-w\',\'\');6(l){l.u(2)}8}2.b.d=A;12(a(){D.u()},q)})()};7.21=a(1g){i.24(\'1W\',1g)};7.27=a(1o){8 i.26().25(1o)};7.1V=a(1m,n,R,S){9 C=1i 23();C.1F("22",1m,G);C.20(\'1Z-1Y\',\'1X/x-1U-1H-1T\');C.1S=a(){6(7.1R!==4){8}6(7.V===1Q){R&&R.u(M,7.1h,7.V,7);8}S&&S.u(M,7.1h,7.V,7)};C.1P(n)};7.T=7.U;7.t=7.1l;7.1O=7.1n;7.1N=7.17;7.1M=7.10;9 z=a(W,5,c){6(!5){8}9 2=e 5===\'o\'?i.p(5):5;6(\'g\'h 2){2.g(f=>z(W,f,c));8}6(e c===\'o\'){c=c.11(\' \')}2.13[W](...c)};9 m=a(2,H){6(!2){8 M}8 y.m(2).1a(H)};9 14=a(2,H){6(!2){8 M}9 I=i.1L(2.1K);i.1J.1I(I);Y 1c=y.m(I).1a(H);I.1b();8 1c};9 $=7}}',62,132,'||element|||selector|if|this|return|const|function|style|classes|opacity|typeof|subElement|forEach|in|document|computedDisplay|display|oncomplete|getComputedStyle|data|string|querySelectorAll|wait|none|origDisplay|hasClass|call|duration|fading||window|doClasses|new_opacity|Regular|request|fade|word|false|true|property|defaultElement|nr_of_steps|change|setAttribute|null|show|matchAll|visibility|hide|success|fail|as|alias|status|action|undefined|let|version|toggleClasses|split|setTimeout|classList|getDefaultComputedStyle|250|visible|removeClasses|parseFloat|getAttribute|getPropertyValue|remove|propertyValue|50|out|block|func|responseText|new|of|clss|hasClasses|url|addClasses|html|fadeIn|fadeOut|console|toggle|Cannot|strict|add|hidden|error|contains|set|for|exists|already|it|am|open|use|form|append|body|nodeName|createElement|toggleClass|removeClass|addClass|send|200|readyState|onreadystatechange|urlencoded|www|loadUrl|DOMContentLoaded|application|type|Content|setRequestHeader|onReady|POST|XMLHttpRequest|addEventListener|createContextualFragment|createRange|createElementFromHTML'.split('|'),0,{}))PK gV�[N}O- - script.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ "use strict"; if (typeof window.RegularLabsScripts === 'undefined' || typeof RegularLabsScripts.version === 'undefined' || RegularLabsScripts.version < '21.2.19653') { (function($) { window.RegularLabsScripts = { version: '21.2.19653', ajax_list : [], started_ajax_list: false, ajax_list_timer : null, loadajax: function(url, success, fail, query, timeout, dataType, cache) { if (url.indexOf('index.php') !== 0 && url.indexOf('administrator/index.php') !== 0) { url = url.replace('http://', ''); url = `index.php?rl_qp=1&url=${encodeURIComponent(url)}`; if (timeout) { url += `&timeout=${timeout}`; } if (cache) { url += `&cache=${cache}`; } } let base = window.location.pathname; base = base.substring(0, base.lastIndexOf('/')); if ( typeof Joomla !== 'undefined' && typeof Joomla.getOptions !== 'undefined' && Joomla.getOptions('system.paths') ) { base = Joomla.getOptions('system.paths').base; } // console.log(url); // console.log(`${base}/${url}`); $.ajax({ type : 'post', url : `${base}/${url}`, dataType: dataType ? dataType : '', success : function(data) { if (success) { success = `data = data ? data : ''; ${success};`.replace(/;\s*;/g, ';'); eval(success); } }, error : function(data) { if (fail) { fail = `data = data ? data : ''; ${fail};`.replace(/;\s*;/g, ';'); eval(fail); } } }); }, displayVersion: function(data, extension, version) { if (!data) { return; } const xml = this.getObjectFromXML(data); if (!xml) { return; } if (typeof xml[extension] === 'undefined') { return; } const dat = xml[extension]; if (!dat || typeof dat.version === 'undefined' || !dat.version) { return; } const new_version = dat.version; const compare = this.compareVersions(version, new_version); if (compare != '<') { return; } let el = $(`#regularlabs_newversionnumber_${extension}`); if (el) { el.text(new_version); } el = $(`#regularlabs_version_${extension}`); if (el) { el.css('display', 'block'); el.parent().removeClass('hide'); } }, addToLoadAjaxList: function(url, success, error) { // wrap inside the loadajax function (and escape string values) url = url.replace(/'/g, "\\'"); success = success.replace(/'/g, "\\'"); error = error.replace(/'/g, "\\'"); const action = `RegularLabsScripts.loadajax( '${url}', '${success};RegularLabsScripts.ajaxRun();', '${error};RegularLabsScripts.ajaxRun();' )`; this.addToAjaxList(action); }, addToAjaxList: function(action) { this.ajax_list.push(action); if (!this.started_ajax_list) { this.ajaxRun(); } }, ajaxRun: function() { if (typeof RegularLabsToggler !== 'undefined') { RegularLabsToggler.initialize(); } if (!this.ajax_list.length) { return; } clearTimeout(this.ajax_list_timer); this.started_ajax_list = true; const action = this.ajax_list.shift(); eval(`${action};`); if (!this.ajax_list.length) { return; } // Re-trigger this ajaxRun function just in case it hangs somewhere this.ajax_list_timer = setTimeout( function() { RegularLabsScripts.ajaxRun(); }, 5000 ); }, in_array: function(needle, haystack, casesensitive) { if ({}.toString.call(needle).slice(8, -1) !== 'Array') { needle = [needle]; } if ({}.toString.call(haystack).slice(8, -1) !== 'Array') { haystack = [haystack]; } for (let h = 0; h < haystack.length; h++) { for (let n = 0; n < needle.length; n++) { if (casesensitive) { if (haystack[h] == needle[n]) { return true; } continue; } if (haystack[h].toLowerCase() == needle[n].toLowerCase()) { return true; } } } return false; }, getObjectFromXML: function(xml) { if (!xml) { return; } const obj = []; $(xml).find('extension').each(function() { const el = []; $(this).children().each(function() { el[this.nodeName.toLowerCase()] = String($(this).text()).trim(); }); if (typeof el.alias !== 'undefined') { obj[el.alias] = el; } if (typeof el.extname !== 'undefined' && el.extname != el.alias) { obj[el.extname] = el; } }); return obj; }, compareVersions: function(number1, neumber2) { number1 = number1.split('.'); neumber2 = neumber2.split('.'); let letter1 = ''; let letter2 = ''; const max = Math.max(number1.length, neumber2.length); for (let i = 0; i < max; i++) { if (typeof number1[i] === 'undefined') { number1[i] = '0'; } if (typeof neumber2[i] === 'undefined') { neumber2[i] = '0'; } letter1 = number1[i].replace(/^[0-9]*(.*)/, '$1'); number1[i] = parseInt(number1[i]); letter2 = neumber2[i].replace(/^[0-9]*(.*)/, '$1'); neumber2[i] = parseInt(neumber2[i]); if (number1[i] < neumber2[i]) { return '<'; } if (number1[i] > neumber2[i]) { return '>'; } } // numbers are same, so compare trailing letters if (letter2 && (!letter1 || letter1 > letter2)) { return '>'; } if (letter1 && (!letter2 || letter1 < letter2)) { return '<'; } return '='; }, getEditorSelection: function(editorID) { const editor_textarea = document.getElementById(editorID); if (!editor_textarea) { return ''; } const editorIFrame = editor_textarea.parentNode.querySelector('iframe'); if (!editorIFrame) { return ''; } const contentWindow = editorIFrame.contentWindow; if (typeof contentWindow.getSelection !== 'undefined') { const sel = contentWindow.getSelection(); if (sel.rangeCount) { const container = contentWindow.document.createElement('div'); const len = sel.rangeCount; for (let i = 0; i < len; ++i) { container.appendChild(sel.getRangeAt(i).cloneContents()); } return container.innerHTML; } return ''; } if (typeof contentWindow.document.selection !== 'undefined' && contentWindow.document.selection.type === 'Text') { return contentWindow.document.selection.createRange().htmlText; } return ''; }, /* 2018-11-01: These methods have moved to RegularLabsForm. Keeping them here for backwards compatibility. */ setRadio : function(id, value) { }, initCheckAlls : function(id, classname) { }, allChecked : function(classname) { return false; }, checkAll : function(checkbox, classname) { }, toggleSelectListSelection: function(id) { }, prependTextarea : function(id, content, separator) { }, setToggleTitleClass : function(input, value) { } }; })(jQuery); } PK gV�[�J!�N N script.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"2x 1y";2(b O.p===\'c\'||b p.k===\'c\'||p.k<\'[1p]\'){(4($){O.p={k:\'[1p]\',C:[],14:Z,10:1w,1q:4(6,j,B,1R,K,H,I){2(6.1c(\'X.15\')!==0&&6.1c(\'1M/X.15\')!==0){6=6.m(\'1D://\',\'\');6=`X.15?1B=1&6=${1N(6)}`;2(K){6+=`&K=${K}`}2(I){6+=`&I=${I}`}}o r=O.1K.1I;r=r.1H(0,r.1G(\'/\'));2(b L!==\'c\'&&b L.13!==\'c\'&&L.13(\'17.1k\')){r=L.13(\'17.1k\').r}$.1E({1t:\'1F\',6:`${r}/${6}`,H:H?H:\'\',j:4(d){2(j){j=`d=d?d:\'\';${j};`.m(/;\\s*;/g,\';\');Y(j)}},F:4(d){2(B){B=`d=d?d:\'\';${B};`.m(/;\\s*;/g,\';\');Y(B)}}})},1J:4(d,w,k){2(!d){3}a u=7.1d(d);2(!u){3}2(b u[w]===\'c\'){3}a E=u[w];2(!E||b E.k===\'c\'||!E.k){3}a P=E.k;a 1b=7.1j(k,P);2(1b!=\'<\'){3}o 5=$(`#1S${w}`);2(5){5.1h(P)}5=$(`#1O${w}`);2(5){5.1P(\'1Q\',\'1L\');5.1C().1A(\'1z\')}},1x:4(6,j,F){6=6.m(/\'/g,"\\\\\'");j=j.m(/\'/g,"\\\\\'");F=F.m(/\'/g,"\\\\\'");a v=`p.1q(\'${6}\',\'${j};p.D();\',\'${F};p.D();\')`;7.1r(v)},1r:4(v){7.C.1U(v);2(!7.14){7.D()}},D:4(){2(b 1m!==\'c\'){1m.26()}2(!7.C.x){3}2k(7.10);7.14=16;a v=7.C.2l();Y(`${v};`);2(!7.C.x){3}7.10=2m(4(){p.D()},2n)},2o:4(q,t,1e){2({}.1a.1v(q).1i(8,-1)!==\'1f\'){q=[q]}2({}.1a.1v(t).1i(8,-1)!==\'1f\'){t=[t]}N(o h=0;h<t.x;h++){N(o n=0;n<q.x;n++){2(1e){2(t[h]==q[n]){3 16}2p}2(t[h].T()==q[n].T()){3 16}}}3 Z},1d:4(u){2(!u){3}a M=[];$(u).2q(\'w\').19(4(){a 5=[];$(7).2s().19(4(){5[7.2j.T()]=2t($(7).1h()).2u()});2(b 5.Q!==\'c\'){M[5.Q]=5}2(b 5.R!==\'c\'&&5.R!=5.Q){M[5.R]=5}});3 M},1j:4(e,f){e=e.1u(\'.\');f=f.1u(\'.\');o y=\'\';o z=\'\';a W=2v.W(e.x,f.x);N(o i=0;i<W;i++){2(b e[i]===\'c\'){e[i]=\'0\'}2(b f[i]===\'c\'){f[i]=\'0\'}y=e[i].m(/^[0-9]*(.*)/,\'$1\');e[i]=1s(e[i]);z=f[i].m(/^[0-9]*(.*)/,\'$1\');f[i]=1s(f[i]);2(e[i]<f[i]){3\'<\'}2(e[i]>f[i]){3\'>\'}}2(z&&(!y||y>z)){3\'>\'}2(y&&(!z||y<z)){3\'<\'}3\'=\'},2w:4(1n){a 11=A.2r(1n);2(!11){3\'\'}a 12=11.2i.2h(\'2g\');2(!12){3\'\'}a l=12.l;2(b l.1l!==\'c\'){a G=l.1l();2(G.1o){a V=l.A.1W(\'1X\');a 18=G.1o;N(o i=0;i<18;++i){V.1Y(G.1Z(i).20())}3 V.21}3\'\'}2(b l.A.U!==\'c\'&&l.A.U.1t===\'22\'){3 l.A.U.23().24}3\'\'},1V:4(J,1g){},25:4(J,S){},27:4(S){3 Z},28:4(29,S){},2a:4(J){},2b:4(J,2c,2d){},2e:4(2f,1g){}}})(1T)}',62,158,'||if|return|function|el|url|this|||const|typeof|undefined|data|number1|neumber2||||success|version|contentWindow|replace||let|RegularLabsScripts|needle|base||haystack|xml|action|extension|length|letter1|letter2|document|fail|ajax_list|ajaxRun|dat|error|sel|dataType|cache|id|timeout|Joomla|obj|for|window|new_version|alias|extname|classname|toLowerCase|selection|container|max|index|eval|false|ajax_list_timer|editor_textarea|editorIFrame|getOptions|started_ajax_list|php|true|system|len|each|toString|compare|indexOf|getObjectFromXML|casesensitive|Array|value|text|slice|compareVersions|paths|getSelection|RegularLabsToggler|editorID|rangeCount|LIB_VERSION|loadajax|addToAjaxList|parseInt|type|split|call|null|addToLoadAjaxList|strict|hide|removeClass|rl_qp|parent|http|ajax|post|lastIndexOf|substring|pathname|displayVersion|location|block|administrator|encodeURIComponent|regularlabs_version_|css|display|query|regularlabs_newversionnumber_|jQuery|push|setRadio|createElement|div|appendChild|getRangeAt|cloneContents|innerHTML|Text|createRange|htmlText|initCheckAlls|initialize|allChecked|checkAll|checkbox|toggleSelectListSelection|prependTextarea|content|separator|setToggleTitleClass|input|iframe|querySelector|parentNode|nodeName|clearTimeout|shift|setTimeout|5000|in_array|continue|find|getElementById|children|String|trim|Math|getEditorSelection|use'.split('|'),0,{}))PK gV�[��_�� � simplecategories.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ "use strict"; (function($) { $(document).ready(function() { // remove all empty control groups $('div.rl_simplecategory').each(function(i, el) { var $el = $(el); var func = function() { var new_value = $(this).val(); if (new_value == '-1') { $el.find('.rl_simplecategory_value').val($el.find('.rl_simplecategory_new input').val()); return; } $el.find('.rl_simplecategory_value').val(new_value); }; $el.find('.rl_simplecategory_select select').on('change', func).on('keyup', func); $el.find('.rl_simplecategory_new input').on('change', func).on('keyup', func); }); }); })(jQuery); PK gV�[���m m simplecategories.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(g--){b[g.toString(e)]=l[g]||g.toString(e)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"r k";(4($){$(l).h(4(){$(\'e.f\').j(4(i,0){7 $0=$(0);7 3=4(){7 8=$(n).6();o(8==\'-1\'){$0.2(\'.d\').6($0.2(\'.c b\').6());m}$0.2(\'.d\').6(8)};$0.2(\'.p q\').5(\'a\',3).5(\'9\',3);$0.2(\'.c b\').5(\'a\',3).5(\'9\',3)})})})(g);',28,28,'el||find|func|function|on|val|var|new_value|keyup|change|input|rl_simplecategory_new|rl_simplecategory_value|div|rl_simplecategory|jQuery|ready||each|strict|document|return|this|if|rl_simplecategory_select|select|use'.split('|'),0,{}))PK gV�[~���) ) textareaplus.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ "use strict"; (function($) { $(document).ready(function() { $('.rl_resize_textarea').click(function() { var $el = $(this); var $field = $(`#${$el.attr('data-id')}`); if ($el.hasClass('rl_minimize')) { $el.removeClass('rl_minimize').addClass('rl_maximize'); $field.css({'height': $el.attr('data-min')}); return; } $el.removeClass('rl_maximize').addClass('rl_minimize'); $field.css({'height': $el.attr('data-max')}); }); }); })(jQuery); PK gV�[��\u0 0 textareaplus.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return c.toString(36)};if(!''.replace(/^/,String)){while(g--){b[g.toString(e)]=l[g]||g.toString(e)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"p c";(1($){$(d).e(1(){$(\'.f\').g(1(){6 $0=$(j);6 $4=$(`#${$0.3(\'2-k\')}`);l($0.m(\'5\')){$0.7(\'5\').9(\'8\');$4.a({\'b\':$0.3(\'2-i\')});o}$0.7(\'8\').9(\'5\');$4.a({\'b\':$0.3(\'2-n\')})})})})(h);',26,26,'el|function|data|attr|field|rl_minimize|var|removeClass|rl_maximize|addClass|css|height|strict|document|ready|rl_resize_textarea|click|jQuery|min|this|id|if|hasClass|max|return|use'.split('|'),0,{}))PK gV�[� N:� � toggler.jsnu �[��� /** * @package Regular Labs Library * @version 21.2.19653 * * @author Peter van Westen <info@regularlabs.com> * @link http://www.regularlabs.com * @copyright Copyright © 2021 Regular Labs All Rights Reserved * @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ /** * @deprecated !!! */ "use strict"; if (typeof window.RegularLabsToggler === 'undefined' || typeof RegularLabsToggler.version === 'undefined' || RegularLabsToggler.version < '21.2.19653') { (function($) { $(document).ready(function() { if (!$('.rl_toggler').length) { // Try again 2 seconds later, because IE sometimes can't see object immediately $(function() { if ($('.rl_toggler').length) { RegularLabsToggler.initialize(); } }).delay(2000); return; } RegularLabsToggler.initialize(); }); window.RegularLabsToggler = { version: '21.2.19653', togglers: {}, // holds all the toggle areas elements: {}, // holds all the elements and their values that affect toggle areas initialize: function() { this.togglers = $('.rl_toggler'); if (!this.togglers.length) { return; } this.initTogglers(); }, initTogglers: function() { const self = this; let newTogglers = {}; this.elements = {}; $.each(this.togglers, function(i, toggler) { // init togglers if (!toggler.id) { return; } $(toggler).show(); $(toggler).removeAttr('height'); toggler.height = $(toggler).height(); toggler.elements = {}; toggler.nofx = $(toggler).hasClass('rl_toggler_nofx'); toggler.method = ($(toggler).hasClass('rl_toggler_and')) ? 'and' : 'or'; toggler.ids = toggler.id.split('___'); for (let i = 1; i < toggler.ids.length; i++) { const keyval = toggler.ids[i].split('.'); const key = keyval[0]; let val = 1; if (keyval.length > 1) { val = keyval[1]; } if (typeof toggler.elements[key] === 'undefined') { toggler.elements[key] = []; } toggler.elements[key].push(val); if (typeof self.elements[key] === 'undefined') { self.elements[key] = {}; self.elements[key].elements = []; self.elements[key].values = []; self.elements[key].togglers = []; } self.elements[key].togglers.push(toggler.id); } newTogglers[toggler.id] = toggler; }); this.togglers = newTogglers; newTogglers = null; this.setElements(); // hide togglers that should be $.each(this.togglers, function(i, toggler) { self.toggleByID(toggler.id, 1); }); $(document.body).delay(250).css('cursor', ''); }, autoHeightDivs: function() { // set all divs in the form to auto height $.each($('div.col div, div.fltrt div'), function(i, el) { if (el.getStyle('height') != '0px' && !el.hasClass('input') && !el.hasClass('rl_hr') // GK elements && el.id.indexOf('gk_') < 0 && el.className.indexOf('gk_') < 0 && el.className.indexOf('switcher-') < 0 ) { el.css('height', 'auto'); } }); }, toggle: function(name) { this.setValues(name); for (let i = 0; i < this.elements[name].togglers.length; i++) { this.toggleByID(this.elements[name].togglers[i]); } //this.autoHeightDivs(); }, toggleByID: function(id, nofx) { if (typeof this.togglers[id] === 'undefined') { return; } const toggler = this.togglers[id]; const show = this.isShow(toggler); if (nofx || toggler.nofx) { if (show) { $(toggler).show(); } else { $(toggler).hide(); } } else { if (show) { $(toggler).slideDown(); } else { $(toggler).slideUp(); } } }, isShow: function(toggler) { let show = (toggler.method == 'and'); for (let name in toggler.elements) { const vals = toggler.elements[name]; const values = this.elements[name].values; if ( values != null && values.length && ( (vals == '*' && values != '') || (vals.toString().substr(0, 1) === '!' && !RegularLabsScripts.in_array(vals.toString().substr(1), values)) || RegularLabsScripts.in_array(vals, values) ) ) { if (toggler.method == 'or') { show = 1; break; } } else { if (toggler.method == 'and') { show = 0; break; } } } return show; }, setValues: function(name) { const els = this.elements[name].elements; const values = []; // get value $.each(els, function(i, el) { switch (el.type) { case 'radio': case 'checkbox': if (el.checked) { values.push(el.value); } break; default: if (typeof el.elements !== 'undefined' && el.elements.length > 1) { for (let i = 0; i < el.elements.length; i++) { if (el.checked) { values.push(el.value); } } } else { values.push(el.value); } break; } }); this.elements[name].values = values; }, setElements: function() { const self = this; $.each($('input, select, textarea'), function(i, el) { const name = el.name .replace('@', '_') .replace('[]', '') .replace(/^(?:jform\[(?:field)?params\]|jform|params|fieldparams|advancedparams)\[(.*?)\]/g, '\$1') .replace(/^(.*?)\[(.*?)\]/g, '\$1_\$2') .trim(); if (name !== '') { if (typeof self.elements[name] !== 'undefined') { self.elements[name].elements.push(el); self.setValues(name); self.setElementEvents(el, name); } } }); }, setElementEvents: function(el, name) { if ($(el).attr('togglerEventAdded')) { return; } const self = this; let type; if (typeof el.type === 'undefined') { if ($(el).prop("tagName").toLowerCase() == 'select') { type = 'select'; } } else { type = el.type; } const func = function() { self.toggle(name); }; $(el).on('input', func); if (typeof jQuery !== 'undefined' && type == 'select' || field.type == 'select-one') { $(el).on('change', func); } $(el).attr('togglerEventAdded', 1); } }; })(jQuery); } PK gV�[$���t t toggler.min.jsnu �[��� /* * Copyright © 2020 Regular Labs - All Rights Reserved * License http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL */ eval(function(r,e,g,l,a,b){a=function(c){return(c<e?'':a(parseInt(c/e)))+((c=c%e)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(g--){b[a(g)]=l[g]||a(g)}l=[function(a){return b[a]}];a=function(){return'\\w+'};g=1};while(g--){if(l[g]){r=r.replace(new RegExp('\\b'+a(g)+'\\b','g'),l[g])}}return r}('"1N 1l";6(h 14.q===\'l\'||h q.N===\'l\'||q.N<\'[Y]\'){(9($){$(Z).1s(9(){6(!$(\'.G\').j){$(9(){6($(\'.G\').j){q.Q()}}).W(1x);o}q.Q()});14.q={N:\'[Y]\',d:{},5:{},Q:9(){7.d=$(\'.G\');6(!7.d.j){o}7.15()},15:9(){c a=7;n D={};7.5={};$.s(7.d,9(i,3){6(!3.f){o}$(3).k();$(3).1v(\'u\');3.u=$(3).u();3.5={};3.A=$(3).z(\'1u\');3.B=($(3).z(\'1t\'))?\'L\':\'17\';3.J=3.f.10(\'1r\');y(n i=1;i<3.J.j;i++){c E=3.J[i].10(\'.\');c e=E[0];n F=1;6(E.j>1){F=E[1]}6(h 3.5[e]===\'l\'){3.5[e]=[]}3.5[e].p(F);6(h a.5[e]===\'l\'){a.5[e]={};a.5[e].5=[];a.5[e].b=[];a.5[e].d=[]}a.5[e].d.p(3.f)}D[3.f]=3});7.d=D;D=S;7.1f();$.s(7.d,9(i,3){a.K(3.f,1)});$(Z.1z).W(1w).11(\'1B\',\'\')},1C:9(){$.s($(\'C.1A C, C.1V C\'),9(i,4){6(4.1T(\'u\')!=\'1S\'&&!4.z(\'H\')&&!4.z(\'1Q\')&&4.f.M(\'13\')<0&&4.12.M(\'13\')<0&&4.12.M(\'1O-\')<0){4.11(\'u\',\'1L\')}})},1c:9(8){7.O(8);y(n i=0;i<7.5[8].d.j;i++){7.K(7.5[8].d[i])}},K:9(f,A){6(h 7.d[f]===\'l\'){o}c 3=7.d[f];c k=7.X(3);6(A||3.A){6(k){$(3).k()}r{$(3).1J()}}r{6(k){$(3).1I()}r{$(3).1H()}}},X:9(3){n k=(3.B==\'L\');y(n 8 1F 3.5){c v=3.5[8];c b=7.5[8].b;6(b!=S&&b.j&&((v==\'*\'&&b!=\'\')||(v.V().T(0,1)===\'!\'&&!R.U(v.V().T(1),b))||R.U(v,b))){6(3.B==\'17\'){k=1;w}}r{6(3.B==\'L\'){k=0;w}}}o k},O:9(8){c 1h=7.5[8].5;c b=[];$.s(1h,9(i,4){1D(4.m){1i\'1E\':1i\'1G\':6(4.1d){b.p(4.I)}w;1K:6(h 4.5!==\'l\'&&4.5.j>1){y(n i=0;i<4.5.j;i++){6(4.1d){b.p(4.I)}}}r{b.p(4.I)}w}});7.5[8].b=b},1f:9(){c a=7;$.s($(\'H, t, 1M\'),9(i,4){c 8=4.8.x(\'@\',\'1P\').x(\'[]\',\'\').x(/^(?:1b\\[(?:1e)?1a\\]|1b|1a|1R|1U)\\[(.*?)\\]/g,\'\\$1\').x(/^(.*?)\\[(.*?)\\]/g,\'\\$1m\\$2\').1n();6(8!==\'\'){6(h a.5[8]!==\'l\'){a.5[8].5.p(4);a.O(8);a.19(4,8)}}})},19:9(4,8){6($(4).1j(\'1g\')){o}c a=7;n m;6(h 4.m===\'l\'){6($(4).1o("1p").1q()==\'t\'){m=\'t\'}}r{m=4.m}c P=9(){a.1c(8)};$(4).18(\'H\',P);6(h 16!==\'l\'&&m==\'t\'||1e.m==\'t-1y\'){$(4).18(\'1k\',P)}$(4).1j(\'1g\',1)}}})(16)}',62,120,'|||toggler|el|elements|if|this|name|function|self|values|const|togglers|key|id||typeof||length|show|undefined|type|let|return|push|RegularLabsToggler|else|each|select|height|vals|break|replace|for|hasClass|nofx|method|div|newTogglers|keyval|val|rl_toggler|input|value|ids|toggleByID|and|indexOf|version|setValues|func|initialize|RegularLabsScripts|null|substr|in_array|toString|delay|isShow|LIB_VERSION|document|split|css|className|gk_|window|initTogglers|jQuery|or|on|setElementEvents|params|jform|toggle|checked|field|setElements|togglerEventAdded|els|case|attr|change|strict|1_|trim|prop|tagName|toLowerCase|___|ready|rl_toggler_and|rl_toggler_nofx|removeAttr|250|2000|one|body|col|cursor|autoHeightDivs|switch|radio|in|checkbox|slideUp|slideDown|hide|default|auto|textarea|use|switcher|_|rl_hr|fieldparams|0px|getStyle|advancedparams|fltrt'.split('|'),0,{}))PK PE�[Z�f� � main.jsnu �[��� PK PE�[�0>6� 6� owl.carousel.min.jsnu �[��� PK ZV�[Q�!s� � �� admin-fields-modal.jsnu �[��� PK ZV�[nM�� � j� admin-fields-modal.min.jsnu �[��� PK [V�[h�g�" " �� appointment.jsnu �[��� PK [V�[I�~1 � bbbclass.jsnu �[��� PK [V�[40oO >� capital.jsnu �[��� PK [V�[1��J �� comment.jsnu �[��� PK [V�[�A_�! ! �� consultant.jsnu �[��� PK [V�[Ⱦ� L� doctor.jsnu �[��� PK [V�[�#o, , �� index.htmlnu �[��� PK [V�[3�-� �� message.jsnu �[��� PK [V�[�]� V� plan.jsnu �[��� PK [V�[6q�� �� reserve.jsnu �[��� PK [V�[��1� � session.jsnu �[��� PK [V�[n\t� X� sick.jsnu �[��� PK gV�[�^q� � �� codemirror.jsnu �[��� PK gV�[E �� � � codemirror.min.jsnu �[��� PK gV�[�#; =\ =\ a color.jsnu �[��� PK gV�[��+�F$ F$ �| color.min.jsnu �[��� PK gV�[[�!2 2 X� colorpicker.jsnu �[��� PK gV�[����� � ȴ colorpicker.min.jsnu �[��� PK gV�[��G�� � �� form.jsnu �[��� PK gV�[�mM�� � �� form.min.jsnu �[��� PK gV�[��M M �� jquery.cookie.jsnu �[��� PK gV�[� �� *� jquery.cookie.min.jsnu �[��� PK gV�[�R�g g z� multiselect.jsnu �[��� PK gV�[�QW � � multiselect.min.jsnu �[��� PK gV�[��� - - E& regular.jsnu �[��� PK gV�[���� � �S regular.min.jsnu �[��� PK gV�[N}O- - �a script.jsnu �[��� PK gV�[�J!�N N �~ script.min.jsnu �[��� PK gV�[��_�� � �� simplecategories.jsnu �[��� PK gV�[���m m �� simplecategories.min.jsnu �[��� PK gV�[~���) ) A� textareaplus.jsnu �[��� PK gV�[��\u0 0 �� textareaplus.min.jsnu �[��� PK gV�[� N:� � � toggler.jsnu �[��� PK gV�[$���t t ?� toggler.min.jsnu �[��� PK &