!function(e,t){"function"==typeof define&&define.amd?define(["exports"],function(e){t(0,e)}):t(0,{})}(this,function(e,t){"use strict";(window.Toast=window.TOAST=window.TT=window.tt=window._tt=window._t=t).config={moduleBaseUrl:"",dataBaseUrl:""},t.const={},t.extensions={},t.common={},t.api={},t.context={},t._={},t.metadata={},t.log=function(){},t.hook={};var i="htmlReady",n="coreReady",r="extensionsLoaded",s="ready",a="appReady",o="projectLoaded",d="themeReady",l={HTML_READY:!1,CORE_READY:!1,EXTENSIONS_LOADED:!1,READY:!1,APP_READY:!1,PROJECT_LOADED:!1,THEME_READY:!1},c={themeReady:!0},h={};function u(e){try{e()}catch(e){t.log("Exception when calling a 'toast done loading' handler: "+e),t.log(e.stack)}}function f(e,t){var i=l[e];i&&u(t),i&&!c[e]||h[e].push(t)}h[i]=[],h[n]=[],h[r]=[],h[s]=[],h[a]=[],h[o]=[],h[d]=[],t.htmlReady=function(e){f(i,e)},t.coreReady=function(e){f(n,e)},t.extensionsLoaded=function(e){f(r,e)},t.ready=function(e){f(s,e)},t.appReady=function(e){f(a,e)},t.projectLoaded=function(e){f(o,e)},t.themeReady=function(e){f(d,e)},t.dispatchReady=function(e){var t,i=h[e];for(l[e]=!0,t=0;t>1)+"px"})}for(;d',t)}return!n(e,"transform")&&e.adj?(g.addRule(".spin-vml","behavior:url(#default#VML)"),r.prototype.lines=function(e,n){var r=n.length+n.width,t=2*r;function s(){return _(l("group",{coordsize:t+" "+t,coordorigin:-r+" "+-r}),{width:t,height:t})}var i,a=2*-(n.width+n.length)+"px",o=_(s(),{position:"absolute",top:a,left:a});function d(e,t,i){p(o,p(_(s(),{rotation:360/n.lines*e+"deg",left:~~t}),p(_(l("roundrect",{arcsize:n.corners}),{width:r,height:n.width,left:n.radius,top:-n.width>>1,filter:i}),l("fill",{color:m(n.color,e),opacity:n.opacity}),l("stroke",{opacity:0}))))}if(n.shadow)for(i=1;i<=n.lines;i++)d(i,-2,"progid:DXImageTransform.Microsoft.Blur(pixelradius=2,makeshadow=1,shadowopacity=.3)");for(i=1;i<=n.lines;i++)d(i);return p(e,o)},r.prototype.opacity=function(e,t,i,n){e=e.firstChild;n=n.shadow&&n.lines||0,e&&t+n=m(t)?e<0?2:4:t<0?8:16}function ce(e,t,i){return{x:t/e||0,y:i/e||0}}function he(e,t,i){var n,r,s,a,o,d,l,c,h,u,f,p=i.pointers.length,g=i.changedPointers.length,_=t&v&&p-g==0,p=t&(y|x)&&p-g==0;i.isFirst=!!_,i.isFinal=!!p,_&&(e.session={}),i.eventType=t,g=i,_=(p=e).session,t=g.pointers,n=t.length,_.firstInput||(_.firstInput=ae(g)),1m(f.y)?f.x:f.y,g.scale=r?(a=r.pointers,oe(t[0],t[1],ee)/oe(a[0],a[1],ee)):1,g.rotation=r?(n=r.pointers,de(t[1],t[0],ee)+de(n[1],n[0],ee)):0,g.maxPointers=!_.prevInput||g.pointers.length>_.prevInput.maxPointers?g.pointers.length:_.prevInput.maxPointers,o=g,u=(s=_).lastInterval||o,f=o.timeStamp-u.timeStamp,o.eventType!==x&&(Zm(c.y)?c.x:c.y,h=le(f,h),s.lastInterval=o):(c=u.velocity,d=u.velocityX,l=u.velocityY,h=u.direction),o.velocity=c,o.velocityX=d,o.velocityY=l,o.direction=h,a=p.element,re(g.srcEvent.target,a)&&(a=g.srcEvent.target),g.target=a,e.emit("hammer.input",i),e.recognize(i),e.session.prevInput=i}function ue(e){return e.trim().split(/\s+/g)}function fe(t,e,i){f(ue(e),function(e){t.addEventListener(e,i,!1)})}function pe(t,e,i){f(ue(e),function(e){t.removeEventListener(e,i,!1)})}function ge(e){e=e.ownerDocument||e;return e.defaultView||e.parentWindow||window}(r=_e.prototype).handler=function(){},r.init=function(){this.evEl&&fe(this.element,this.evEl,this.domHandler),this.evTarget&&fe(this.target,this.evTarget,this.domHandler),this.evWin&&fe(ge(this.element),this.evWin,this.domHandler)},r.destroy=function(){this.evEl&&pe(this.element,this.evEl,this.domHandler),this.evTarget&&pe(this.target,this.evTarget,this.domHandler),this.evWin&&pe(ge(this.element),this.evWin,this.domHandler)};r=_e;function _e(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){te(t.options.enable,[t])&&i.handler(e)},this.init()}function g(e,t,i){if(e.indexOf&&!i)return e.indexOf(t);for(var n=0;nt[i]}):n.sort():n}(d.concat(a),"identifier",!0),a]:void 0}.call(this,e,t);i&&this.callback(this.manager,t,{pointers:i[0],changedPointers:i[1],pointerType:G,srcEvent:e})},_);function _(){return _.prototype.evTarget="touchstart touchmove touchend touchcancel",_.prototype.targetIds={},Te.apply(this,arguments)||this}var Se,Oe={mousedown:v,mousemove:2,mouseup:y},Ae=(i(Ie,Se=r),Ie.prototype.handler=function(e){var t=Oe[e.type];t&v&&0===e.button&&(this.pressed=!0),2&t&&1!==e.which&&(t=y),this.pressed&&(t&y&&(this.pressed=!1),this.callback(this.manager,t,{pointers:[e],changedPointers:[e],pointerType:J,srcEvent:e}))},Ie),Ne=2500;function Ie(){var e=Ie.prototype;return e.evEl="mousedown",e.evWin="mousemove mouseup",(e=Se.apply(this,arguments)||this).pressed=!1,e}function Pe(e){var t,i,e=e.changedPointers[0];e.identifier===this.primaryTouch&&(t={x:e.clientX,y:e.clientY},i=this.lastTouches,this.lastTouches.push(t),setTimeout(function(){var e=i.indexOf(t);-1t.threshold&&r&t.direction},r.attrTest=function(e){return Ve.prototype.attrTest.call(this,e)&&(2&this.state||!(2&this.state)&&this.directionTest(e))},r.emit=function(e){this.pX=e.deltaX,this.pY=e.deltaY;var t=16===(t=e.direction)?"down":8===t?"up":2===t?"left":4===t?"right":"";t&&(e.additionalEvent=this.options.event+t),Ke.prototype.emit.call(this,e)};var Ke,Ge=Je;function Je(e){return(e=Ke.call(this,t({event:"pan",threshold:10,pointers:1,direction:30},e=void 0===e?{}:e))||this).pX=null,e.pY=null,e}var r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i])},k=Object.assign||function(e){for(var t,i=1,n=arguments.length;it[1]}function et(e,t,i){return i[1]&&e>t[1]||i[0]&&e]*)>/))?(i=I.createElement(t[1]),3===t.length&&t[2].split(" ").forEach(function(e){e=e.split("=");i.setAttribute(e[0],e[1].trim().replace(/(^["']|["']$)/g,""))})):(i=I.querySelectorAll(e)).length?1===i.length&&(i=i[0]):i=null:e.nodeName&&1===e.nodeType&&(i=e),i},toArray:function(e){return[].slice.call(e)},isArray:function(e){return e&&e.constructor===Array},isObject:function(e){return e&&!e.nodeType&&"object"==typeof e&&!this.isArray(e)},extend:function(i){for(var n,r=this,e=arguments.length,t=new Array(1]*)>/)?((n=document.createElement("div")).innerHTML=e,nt(n.childNodes)):nt(document.querySelectorAll(e)),i||(n=1<=n.length?n[0]:void 0)):e!==T&&(!e.nodeName||1!==e.nodeType&&9!==e.nodeType)?"jQuery"in T&&e instanceof jQuery||e.constructor.prototype.jquery?n=i?e.toArray():e.get(0):Array.isArray(e)&&(n=e.map(function(e){return t(e)}),i||(n=1<=n.length?n[0]:void 0)):n=e,n}(e),this.options=k({inputType:["touch","mouse","pointer"],scale:[1,1],thresholdAngle:45,threshold:0,hammerManagerOptions:{cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",userDrag:"none"}}},t),this.onHammerInput=this.onHammerInput.bind(this),this.onPanmove=this.onPanmove.bind(this),this.onPanend=this.onPanend.bind(this)}R.support=!!I.documentElement&&(r=I.documentElement.style,R.name in r||(R.name="webkitTransform")in r);function Ct(e){return M(t,i=e),(e=t.prototype)._holdHandler=function(e){var t=this._conf,i=t.touch,e=e.pos.flick;i.holdPos=e,i.holding=!0,i.isTrusted=!0,t.panel.changed=!1,this._adjustContainerCss("start",e)},e._changeHandler=function(e){var t,i,n=this._conf,r=n.touch,s=e.pos.flick,a=r.holdPos,o=null;this._setPointerEvents(e),e.inputEvent?(t=e.inputEvent.direction,i=e.inputEvent[this.options.horizontal?"deltaX":"deltaY"],~n.dirData.indexOf(t)||(t=n.dirData[+(Math.abs(r.lastPos)<=i)]),r.lastPos=i):r.lastPos=null,!(o=n.customEvent.flick?this._triggerEvent(D.flick,{pos:s,holding:e.holding,direction:t||r.direction,distance:r.isTrusted?s-a:null}):o)&&null!==o||this._setTranslate([-s,0])},e._releaseHandler=function(e){var t=this._conf,i=t.touch,n=i.holdPos,r=t.panel.size,s=t.customEvent,a=i.holdPos'))),function(e,t){t=this._getDataByDirection([this._conf.panel.size*t+"px",0]);P.css(e,{left:t[0],top:t[1]})})},r._adjustContainerCss=function(e,t){var i=this._conf,n=i.panel,r=this.options,s=r.useTranslate,a=r.horizontal,r=r.previewPadding[0],o=this.$container;s||(t=t||-n.size*n.index,"start"===e?(o=o.style,s=parseFloat(o[a?"left":"top"]),a?s&&(o.left="0px"):s!==r&&(o.top="0px"),this._setTranslate([-t,0])):"end"===e&&(t=this._getCoordsValue([t,0]),P.css(o,((n={left:t.x,top:t.y})[R.name]=P.translate(0,0,i.useLayerHack),n)),i.$dummyAnchor&&i.$dummyAnchor.focus()))},r._setAxes=function(e,t,i){return this._axesInst[e]({flick:t},i)},r._setHint=function(){var e={willChange:"transform"};P.css(this.$container,e),P.css(this._conf.panel.$list,e)},r._getDataByDirection=function(e){e=e.concat();return this.options.horizontal||e.reverse(),e},r._arrangePanelPosition=function(e,t){e=e===this._conf.dirData[0];this._movePanelPosition(Math.abs(t||1),e)},r._getBasePositionIndex=function(){return Math.floor(this._conf.panel.count/2-.1)},r._bindEvents=function(e){var t=this.options,i=this.$wrapper,n=this._axesInst;e?(this._panInput=new wt(i,{inputType:t.inputType,thresholdAngle:t.thresholdAngle,scale:this._getDataByDirection([-1,0])}),n.on({hold:this._holdHandler.bind(this),change:this._changeHandler.bind(this),release:this._releaseHandler.bind(this),animationStart:this._animationStartHandler.bind(this),animationEnd:this._animationEndHandler.bind(this)}).connect(this._getDataByDirection(["flick",""]),this._panInput)):(this.disableInput(),n.off())},r._setAdaptiveHeight=function(e){var t,i=this._conf,n=i.indexToMove,e=0===n?this["get"+((e===O.DIRECTION_LEFT?"Next":e===O.DIRECTION_RIGHT&&"Prev")||"")+"Element"]():i.panel.$list[i.panel.currIndex+n],i=e.querySelector(":first-child");i&&((n=i.getAttribute(At))||(t=e.children,0<(n=P.outerHeight(1i?t.no=0:t.no<0&&(t.no=i)},r._setPointerEvents=function(e){var t,i=this.$container,n=P.css(i,"pointerEvents");e&&e.holding&&e.inputEvent&&e.inputEvent.preventSystemEvent&&"none"!==n?t="none":e||"auto"===n||(t="auto"),t&&P.css(i,{pointerEvents:t})},r._getCoordsValue=function(e){e=this._getDataByDirection(e);return{x:P.getUnitValue(e[0]),y:P.getUnitValue(e[1])}},r._setTranslate=function(e){e=this._getCoordsValue(e);this._setMoveStyle(this.$container,[e.x,e.y])},r._isMovable=function(){var e=this.options,t=this._axesInst,i=Math.abs(this._conf.touch.distance)>=e.threshold;return!(!e.circular&&i&&(e=t.axis.flick.range[1],(t=t.get().flick)<0||e=r.origCount||e===r.no||r.animating||n.touch.holding||(n=e-(s?r.no:a),i===O.DIRECTION_RIGHT&&n<0?n+=r.origCount:i===O.DIRECTION_LEFT&&0(i?r.count-(a+1):a)&&(i=0<(n+=(i?-1:1)*r.count)),this._setPanelNo(s?{no:e}:{no:e,index:e}),this._conf.indexToMove=n,this._setValueToMove(i),this._movePanelByPhase(s?"setBy":"setTo",r.size*(s?n:e),t)),this},r.resize=function(){var e,t,i=this._conf,n=this.options,i=i.panel,r=n.horizontal,s=n.useTranslate;return this.isPlaying()||(P.isArray(n.previewPadding)&&"number"==typeof+n.previewPadding.join("")?(this._setPadding(n.previewPadding.concat()),e=i.size):r&&(e=i.size=P.css(this.$wrapper,"width",!0)),P.css(i.$list,((t={})[r?"width":"height"]=P.getUnitValue(e),t)),n.adaptiveHeight&&(r=this.$container.querySelectorAll("["+At+"]")).length&&(P.toArray(r).forEach(function(e){return e.removeAttribute(At)}),this._setAdaptiveHeight()),this._axesInst.axis.flick.range=[0,e*(i.count-1)],this._setAxes("setTo",e*i.index,0),s||(this._applyPanelsPos(),this._adjustContainerCss("end"))),this},r.restore=function(e){var t,i=this._conf,n=i.panel,r=this._axesInst.get().flick;return r!==n.currIndex*n.size?(i.customEvent.restoreCall=!0,e=P.getNumValue(e,this.options.duration),this._revertPanelNo(),t=n.size*n.index,this._triggerBeforeRestore({depaPos:r,destPos:t}),this._setAxes("setTo",t,e),e||(this._adjustContainerCss("end"),this._triggerRestore())):n.changed&&(this._revertPanelNo(),i.touch.distance=i.indexToMove=0),this},r.enableInput=function(){return this._panInput.enable(),this},r.disableInput=function(){return this._panInput.disable(),this},r.getStatus=function(e){var t=this._conf.panel,i=/((?:-webkit-)?transform|left|top|will-change|box-sizing|width):[^;]*;/g,t={panel:{index:t.index,no:t.no,currIndex:t.currIndex,currNo:t.currNo},$list:t.$list.map(function(e){return{style:e.style.cssText.replace(i,"").trim(),className:e.className,html:e.innerHTML}})};return e?JSON.stringify(t):t},r.setStatus=function(e){var t=this._conf.panel,i=this.options.adaptiveHeight,r="string"==typeof e?JSON.parse(e):e;if(r){for(var n in r.panel)n in t&&(t[n]=r.panel[n]);t.$list.forEach(function(e,t){var t=r.$list[t],i=t.style,n=t.className,t=t.html;i&&(e.style.cssText+=i),n&&(e.className=n),t&&(e.innerHTML=t)}),i&&this._setAdaptiveHeight()}},r.destroy=function(){var t=this,e=this._conf.origPanelStyle,i=e.wrapper,n=e.container,r=e.list,s=(this._bindEvents(!1),this.off(),this._axesInst.destroy(),this._panInput.destroy(),this.$wrapper),i=(s.setAttribute("class",i.className),s[i.style?"setAttribute":"removeAttribute"]("style",i.style),this.$container),a=[].slice.call(i.children);e.container.className?(i.setAttribute("class",n.className),i[n.style?"setAttribute":"removeAttribute"]("style",n.style)):(a.forEach(function(e){return s.appendChild(e)}),i.parentNode.removeChild(i));for(var o,d,l,c,h=0;o=a[h];h++)h>r.length-1?o.parentNode.removeChild(o):(d=r[h].className,l=r[h].style,o[d?"setAttribute":"removeAttribute"]("class",d),o[l?"setAttribute":"removeAttribute"]("style",l));for(c in this.plugins.forEach(function(e){t.plugins[e].$componentWillUnmount()}),this)this[c]=null},r.plugin=function(e){var i=this;return e.forEach(function(t){0===i.plugins.filter(function(e){return e.constructor===t.constructor}).length&&i.plugins.push(t.$componentWillMount(i))}),this},(r=Pt).utils=P,r.VERSION="2.4.3",r.consts={EVENTS:D,TRANSFORM:R,SUPPORT_WILLCHANGE:St,IS_ANDROID2:Ot},r.DIRECTION_NONE=O.DIRECTION_NONE,r.DIRECTION_LEFT=O.DIRECTION_LEFT,r.DIRECTION_RIGHT=O.DIRECTION_RIGHT,r.DIRECTION_UP=O.DIRECTION_UP,r.DIRECTION_DOWN=O.DIRECTION_DOWN,r.DIRECTION_HORIZONTAL=O.DIRECTION_HORIZONTAL,r.DIRECTION_VERTICAL=O.DIRECTION_VERTICAL,r.DIRECTION_ALL=O.DIRECTION_ALL,r;function Pt(e,t,i){(n=Et.call(this)||this).$wrapper=P.$(e),n.plugins=[];var n,e=n.$wrapper&&n.$wrapper.children;if(n.$wrapper&&e&&e.length)return n._setOptions(t),n._setConfig(e,i),P.hasClickBug()||(n._setPointerEvents=function(){}),n._build(),n._bindEvents(!0),n._applyPanelsCss(),n._arrangePanels(),n.options.hwAccelerable&&St&&n._setHint(),n.options.adaptiveHeight&&n._setAdaptiveHeight(),n._adjustContainerCss("end"),n;throw new Error("Given base element doesn't exist or it hasn't proper DOM structure to be initialized.")}}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("@egjs/flicking")):"function"==typeof define&&define.amd?define(["@egjs/flicking"],t):(e.eg=e.eg||{},e.eg.Flicking=e.eg.Flicking||{},e.eg.Flicking.plugin=e.eg.Flicking.plugin||{},e.eg.Flicking.plugin.OpacityEffect=t(e.eg.Flicking))}(this,function(e){"use strict";var t,i=e.utils,n=i.extend(i.extend({},e.consts),{DIRECTION_NONE:e.DIRECTION_NONE,DIRECTION_LEFT:e.DIRECTION_LEFT,DIRECTION_RIGHT:e.DIRECTION_RIGHT,DIRECTION_UP:e.DIRECTION_UP,DIRECTION_DOWN:e.DIRECTION_DOWN,DIRECTION_HORIZONTAL:e.DIRECTION_HORIZONTAL,DIRECTION_VERTICAL:e.DIRECTION_VERTICAL,DIRECTION_ALL:e.DIRECTION_ALL}),r=((e=s.prototype).$componentWillMount=function(e){return this.$$=e,this.useWillChange="transform"===e.$container.style.willChange,this.useLayerHack=this.getInstanceConf().useLayerHack,this.bindEvents(),this.$componentMount(),this.$componentDidMount(),this},e.$componentDidMount=function(){return this},e.$componentWillUnmount=function(){var t=this;Object.keys(this).forEach(function(e){t[e]=null})},e.getInstanceConf=function(){return this.$$._conf},e.bindEvents=function(){this.$$.on({flick:this._onFlick.bind(this),flickEnd:this._onFlickEnd.bind(this),restore:this._onRestore.bind(this)})},e._onFlick=function(e){var t=e.pos,t=e.distance||t-this.$$._conf.panel.size;this.onFlick&&this.onFlick(e,t)},e._onFlickEnd=function(e){var t=(e.direction&n.DIRECTION_LEFT?"next":e.direction&n.DIRECTION_RIGHT&&"prev")||"";t&&this.arrange&&this.arrange(t),this.onFlickEnd&&this.onFlickEnd(e)},e._onRestore=function(e){this.onRestore&&this.onRestore(e)},(e=s).utils=i,e.consts=n,e.VERSION="2.4.3",e);function s(e){this.options=e=void 0===e?{}:e}return i=t=r,(e=a).prototype=Object.create(i.prototype),(e.prototype.constructor=e).__proto__=i,(e=a.prototype).$componentMount=function(){return this.details=r.utils.toArray(this.$$.$wrapper.querySelectorAll(this.options.selector)),this._build(),this.resize(),this},e._build=function(){this.details=[this.details.pop()].concat(this.details)},e._setSelected=function(e,t){var i=r.utils;i.classList(i.css(this.details[e],{opacity:""}),"selected",t)},e.resize=function(){this.size=this.getInstanceConf().panel.size,this.onRestore("resize")},e.arrange=function(e){"resize"!==e&&(this.details="next"===e?this.details.concat(this.details.shift()):[this.details.pop()].concat(this.details)),this._setSelected(1,!0),/next|resize/.test(e)&&this._setSelected(0,!1),/prev|resize/.test(e)&&this._setSelected(2,!1)},e.onFlick=function(e,t){var e=e.pos%this.size/this.size,i=r.utils;Math.abs(t)>=this.size||i.css(this.details[1],{opacity:0=r||(r=this._getPanel(),i=[],0 .spinner")[0]),t.modal&&n.el.addClass("modal in"),t.text&&n.el.children(".indigator-container > .text").text(t.text).show(),n.el.show()):n&&(n.spinner.stop(),n.el.children(".indigator-container > .text").text(""),n.el.removeClass("modal in"),n.el.hide(),t.el&&(delete n.spinner,t.el.removeData("indigator"),n.el.remove()))},$(document).ready(function(){var e=$(document.body).children(".indigator"),t=e.find(".spinner").attr("data-color");t&&(s.color=t),i.isNative||(s.width=3),r={el:e,spinner:new Spinner(s)}})}),function(e){"function"==typeof define&&define.amd?define(e):e(jQuery)}(function(){"use strict";for(var i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n="",r=[256],s=[256],e=0,a=function(e){return e.replace(/[\u0080-\u07ff]/g,function(e){e=e.charCodeAt(0);return String.fromCharCode(192|e>>6,128|63&e)}).replace(/[\u0800-\uffff]/g,function(e){e=e.charCodeAt(0);return String.fromCharCode(224|e>>12,128|e>>6&63,128|63&e)})},o=function(e){return e.replace(/[\u00e0-\u00ef][\u0080-\u00bf][\u0080-\u00bf]/g,function(e){e=(15&e.charCodeAt(0))<<12|(63&e.charCodeAt(1))<<6|63&e.charCodeAt(2);return String.fromCharCode(e)}).replace(/[\u00c0-\u00df][\u0080-\u00bf]/g,function(e){e=(31&e.charCodeAt(0))<<6|63&e.charCodeAt(1);return String.fromCharCode(e)})};e<256;){var t=String.fromCharCode(e);n+=t,s[e]=e,r[e]=i.indexOf(t),++e}function d(e,t,i,n,r,s){for(var a=0,o=0,d=(e=String(e)).length,l="",c=0;o>(c-=s);l+=n.charAt(u),a^=u<>>32-t}function h(e,t){var i=2147483648&e,n=2147483648&t,r=1073741824&e,s=1073741824&t,e=(1073741823&e)+(1073741823&t);return r&s?2147483648^e^i^n:r|s?1073741824&e?3221225472^e^i^n:1073741824^e^i^n:e^i^n}function u(e,t,i,n,r,s,a){return e=h(e,h(h(t&i|~t&n,r),a)),h(o(e,s),t)}function f(e,t,i,n,r,s,a){return e=h(e,h(h(t&n|i&~n,r),a)),h(o(e,s),t)}function p(e,t,i,n,r,s,a){return e=h(e,h(h(t^i^n,r),a)),h(o(e,s),t)}function g(e,t,i,n,r,s,a){return e=h(e,h(h(i^(t|~n),r),a)),h(o(e,s),t)}function _(e){for(var t="",i="",n=0;n<=3;n++)t+=(i="0"+(e>>>8*n&255).toString(16)).substr(i.length-2,2);return t}$.extend({md5:function(e){Array();for(var t,i,n,r,s=function(e){for(var t,i=e.length,n=i+8,n=16*(1+(n-n%64)/64),r=Array(n-1),s=0,a=0;a>>29,r}(e=function(e){e=e.replace(/\x0d\x0a/g,"\n");for(var t="",i=0;i>6|192))+String.fromCharCode(63&n|128):(t=(t+=String.fromCharCode(n>>12|224))+String.fromCharCode(n>>6&63|128))+String.fromCharCode(63&n|128)}return t}(e)),a=1732584193,o=4023233417,d=2562383102,l=271733878,c=0;c@*'+~#";.,=\- \/${}%?`]/g},E.jstree.create=function(e,i){var n=new E.jstree.core(++r),t=i;return i=E.extend(!0,{},E.jstree.defaults,i),t&&t.plugins&&(i.plugins=t.plugins),E.each(i.plugins,function(e,t){"core"!==e&&(n=n.plugin(t,i[t]))}),E(e).data("jstree",n),n.init(e,i),n},E.jstree.destroy=function(){E(".jstree:jstree").jstree("destroy"),E(_).off(".jstree")},E.jstree.core=function(e){this._id=e,this._cnt=0,this._wrk=null,this._data={core:{themes:{name:!1,dots:!1,icons:!1},selected:[],last_error:{},working:!1,worker_queue:[],focused:null}}},E.jstree.reference=function(t){var i=null,e=null;if(!t||!t.id||t.tagName&&t.nodeType||(t=t.id),!e||!e.length)try{e=E(t)}catch(e){}if(!e||!e.length)try{e=E("#"+t.replace(E.jstree.idregex,"\\$&"))}catch(e){}return e&&e.length&&(e=e.closest(".jstree")).length&&(e=e.data("jstree"))?i=e:E(".jstree").each(function(){var e=E(this).data("jstree");if(e&&e._model.data[t])return i=e,!1}),i},E.fn.jstree=function(i){var n="string"==typeof i,r=Array.prototype.slice.call(arguments,1),s=null;return!(!0===i&&!this.length)&&(this.each(function(){var e=E.jstree.reference(this),t=n&&e?e[i]:null;if(s=n&&t?t.apply(e,r):null,e||n||i!==b&&!E.isPlainObject(i)||E.jstree.create(this,i),null!==(s=e&&!n||!0===i?e||!1:s)&&s!==b)return!1}),null!==s&&s!==b?s:this)},E.expr[":"].jstree=E.expr.createPseudo(function(e){return function(e){return E(e).hasClass("jstree")&&E(e).data("jstree")!==b}}),E.jstree.defaults.core={data:!1,strings:!1,check_callback:!1,error:E.noop,animation:200,multiple:!0,themes:{name:!1,url:!1,dir:!1,dots:!0,icons:!0,stripes:!1,variant:!1,responsive:!1},expand_selected_onload:!0,worker:!0,force_text:!1,dblclick_toggle:!0},E.jstree.core.prototype={plugin:function(e,t){var i=E.jstree.plugins[e];return i?(this._data[e]={},i.prototype=this,new i(t,this)):this},init:function(e,t){this._model={data:{"#":{id:"#",parent:null,parents:[],children:[],children_d:[],state:{loaded:!1}}},changed:[],force_full_redraw:!1,redraw_timeout:!1,default_state:{loaded:!0,opened:!1,selected:!1,disabled:!1}},this.element=E(e).addClass("jstree jstree-"+this._id),this.settings=t,this._data.core.ready=!1,this._data.core.loaded=!1,this._data.core.rtl="rtl"===this.element.css("direction"),this.element[this._data.core.rtl?"addClass":"removeClass"]("jstree-rtl"),this.element.attr("role","tree"),this.settings.core.multiple&&this.element.attr("aria-multiselectable",!0),this.element.attr("tabindex")||this.element.attr("tabindex","0"),this.bind(),this.trigger("init"),this._data.core.original_container_html=this.element.find(" > ul > li").clone(!0),this._data.core.original_container_html.find("li").addBack().contents().filter(function(){return 3===this.nodeType&&(!this.nodeValue||/^\s+$/.test(this.nodeValue))}).remove(),this.element.html(""),this.element.attr("aria-activedescendant","j"+this._id+"_loading"),this._data.core.li_height=this.get_container_ul().children("li").first().height()||24,this.trigger("loading"),this.load_node("#")},destroy:function(e){if(this._wrk)try{window.URL.revokeObjectURL(this._wrk),this._wrk=null}catch(e){}e||this.element.empty(),this.teardown()},teardown:function(){this.unbind(),this.element.removeClass("jstree").removeData("jstree").find("[class^='jstree']").addBack().attr("class",function(){return this.className.replace(/jstree[^ ]*|$/gi,"")}),this.element=null},bind:function(){var r="",s=null,t=0;this.element.on("dblclick.jstree",function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;if(_.selection&&_.selection.empty)_.selection.empty();else if(window.getSelection){e=window.getSelection();try{e.removeAllRanges(),e.collapse()}catch(e){}}}).on("mousedown.jstree",E.proxy(function(e){e.target===this.element[0]&&(e.preventDefault(),t=+new Date)},this)).on("mousedown.jstree",".jstree-ocl",function(e){e.preventDefault()}).on("click.jstree",".jstree-ocl, :not('.jstree-leaf') .jstree-icon",E.proxy(function(e){this.toggle_node(e.target)},this)).on("dblclick.jstree",".jstree-anchor",E.proxy(function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;this.settings.core.dblclick_toggle&&this.toggle_node(e.target)},this)).on("click.jstree",".jstree-anchor",E.proxy(function(e){e.preventDefault(),e.currentTarget!==_.activeElement&&E(e.currentTarget).focus(),this.activate_node(e.currentTarget,e)},this)).on("keydown.jstree",".jstree-anchor",E.proxy(function(e){if(e.target.tagName&&"input"===e.target.tagName.toLowerCase())return!0;if(32!==e.which&&13!==e.which&&(e.shiftKey||e.ctrlKey||e.altKey||e.metaKey))return!0;var t=null;switch(this._data.core.rtl&&(37===e.which?e.which=39:39===e.which&&(e.which=37)),e.which){case 32:e.ctrlKey&&(e.type="click",E(e.currentTarget).trigger(e));break;case 13:e.type="click",E(e.currentTarget).trigger(e);break;case 37:e.preventDefault(),this.is_open(e.currentTarget)?this.close_node(e.currentTarget):(t=this.get_parent(e.currentTarget))&&"#"!==t.id&&this.get_node(t,!0).children(".jstree-anchor").focus();break;case 38:e.preventDefault(),(t=this.get_prev_dom(e.currentTarget))&&t.length&&t.children(".jstree-anchor").focus();break;case 39:e.preventDefault(),this.is_closed(e.currentTarget)?this.open_node(e.currentTarget,function(e){this.get_node(e,!0).children(".jstree-anchor").focus()}):this.is_open(e.currentTarget)&&(t=this.get_node(e.currentTarget,!0).children(".jstree-children")[0])&&E(this._firstChild(t)).children(".jstree-anchor").focus();break;case 40:e.preventDefault(),(t=this.get_next_dom(e.currentTarget))&&t.length&&t.children(".jstree-anchor").focus();break;case 106:this.open_all();break;case 36:e.preventDefault(),(t=this._firstChild(this.get_container_ul()[0]))&&E(t).children(".jstree-anchor").filter(":visible").focus();break;case 35:e.preventDefault(),this.element.find(".jstree-anchor").filter(":visible").last().focus()}},this)).on("load_node.jstree",E.proxy(function(e,t){t.status&&("#"!==t.node.id||this._data.core.loaded||(this._data.core.loaded=!0,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.trigger("loaded")),this._data.core.ready||setTimeout(E.proxy(function(){if(this.element&&!this.get_container_ul().find(".jstree-loading").length){if(this._data.core.ready=!0,this._data.core.selected.length){if(this.settings.core.expand_selected_onload){for(var e=[],t=0,i=this._data.core.selected.length;t .jstree-anchor").focus())},this)).on("mouseenter.jstree",".jstree-anchor",E.proxy(function(e){this.hover_node(e.currentTarget)},this)).on("mouseleave.jstree",".jstree-anchor",E.proxy(function(e){this.dehover_node(e.currentTarget)},this))},unbind:function(){this.element.off(".jstree"),E(_).off(".jstree-"+this._id)},trigger:function(e,t){((t=t||{}).instance=this).element.triggerHandler(e.replace(".jstree","")+".jstree",t)},get_container:function(){return this.element},get_container_ul:function(){return this.element.children(".jstree-children").first()},get_string:function(e){var t=this.settings.core.strings;return E.isFunction(t)?t.call(this,e):t&&t[e]?t[e]:e},_firstChild:function(e){for(e=e?e.firstChild:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return e},_nextSibling:function(e){for(e=e?e.nextSibling:null;null!==e&&1!==e.nodeType;)e=e.nextSibling;return e},_previousSibling:function(e){for(e=e?e.previousSibling:null;null!==e&&1!==e.nodeType;)e=e.previousSibling;return e},get_node:function(e,t){var i;e&&e.id&&(e=e.id);try{if(this._model.data[e])e=this._model.data[e];else if("string"==typeof e&&this._model.data[e.replace(/^#/,"")])e=this._model.data[e.replace(/^#/,"")];else if("string"==typeof e&&(i=E("#"+e.replace(E.jstree.idregex,"\\$&"),this.element)).length&&this._model.data[i.closest(".jstree-node").attr("id")])e=this._model.data[i.closest(".jstree-node").attr("id")];else if((i=E(e,this.element)).length&&this._model.data[i.closest(".jstree-node").attr("id")])e=this._model.data[i.closest(".jstree-node").attr("id")];else{if(!(i=E(e,this.element)).length||!i.hasClass("jstree"))return!1;e=this._model.data["#"]}return e=t?"#"===e.id?this.element:E("#"+e.id.replace(E.jstree.idregex,"\\$&"),this.element):e}catch(e){return!1}},get_path:function(e,t,i){if(!(e=e.parents?e:this.get_node(e))||"#"===e.id||!e.parents)return!1;var n,r,s=[];for(s.push(i?e.id:e.text),n=0,r=e.parents.length;n").html(t),d.text=this.settings.core.force_text?t.text():t.html(),t=e.data(),d.data=t?E.extend(!0,{},t):null,d.state.opened=e.hasClass("jstree-open"),d.state.selected=e.children("a").hasClass("jstree-clicked"),d.state.disabled=e.children("a").hasClass("jstree-disabled"),d.data&&d.data.jstree)for(s in d.data.jstree)d.data.jstree.hasOwnProperty(s)&&(d.state[s]=d.data.jstree[s]);for((t=e.children("a").children(".jstree-themeicon")).length&&(d.icon=!t.hasClass("jstree-themeicon-hidden")&&t.attr("rel")),d.state.icon!==b&&(d.icon=d.state.icon),d.icon!==b&&null!==d.icon&&""!==d.icon||(d.icon=!0),t=e.children("ul").children("li");o[a="j"+this._id+"_"+ ++this._cnt];);return d.id=d.li_attr.id?d.li_attr.id.toString():a,t.length?(t.each(E.proxy(function(e,t){n=this._parse_model_from_html(E(t),d.id,i),r=this._model.data[n],d.children.push(n),r.children_d.length&&(d.children_d=d.children_d.concat(r.children_d))},this)),d.children_d=d.children_d.concat(d.children)):e.hasClass("jstree-closed")&&(d.state.loaded=!1),d.li_attr.class&&(d.li_attr.class=d.li_attr.class.replace("jstree-closed","").replace("jstree-open","")),d.a_attr.class&&(d.a_attr.class=d.a_attr.class.replace("jstree-clicked","").replace("jstree-disabled","")),(o[d.id]=d).state.selected&&this._data.core.selected.push(d.id),d.id},_parse_model_from_flat_json:function(e,t,i){i=i?i.concat():[],t&&i.unshift(t);var n,r,s,a,o=e.id.toString(),d=this._model.data,l=this._model.default_state,c={id:o,text:e.text||"",icon:e.icon===b||e.icon,parent:t,parents:i,children:e.children||[],children_d:e.children_d||[],data:e.data,state:{},li_attr:{id:!1},a_attr:{href:"#"},original:!1};for(n in l)l.hasOwnProperty(n)&&(c.state[n]=l[n]);if(e&&e.data&&e.data.jstree&&e.data.jstree.icon&&(c.icon=e.data.jstree.icon),c.icon!==b&&null!==c.icon&&""!==c.icon||(c.icon=!0),e&&e.data&&(c.data=e.data,e.data.jstree))for(n in e.data.jstree)e.data.jstree.hasOwnProperty(n)&&(c.state[n]=e.data.jstree[n]);if(e&&"object"==typeof e.state)for(n in e.state)e.state.hasOwnProperty(n)&&(c.state[n]=e.state[n]);if(e&&"object"==typeof e.li_attr)for(n in e.li_attr)e.li_attr.hasOwnProperty(n)&&(c.li_attr[n]=e.li_attr[n]);if(c.li_attr.id||(c.li_attr.id=o),e&&"object"==typeof e.a_attr)for(n in e.a_attr)e.a_attr.hasOwnProperty(n)&&(c.a_attr[n]=e.a_attr[n]);for(e&&e.children&&!0===e.children&&(c.state.loaded=!1,c.children=[],c.children_d=[]),n=0,r=(d[c.id]=c).children.length;n
  • "+this.get_string("Loading ...")+"
  • "),this.element.attr("aria-activedescendant","j"+this._id+"_loading")),this.load_node("#",function(e,t){t&&(this.get_container_ul()[0].className=i,this._firstChild(this.get_container_ul()[0])&&this.element.attr("aria-activedescendant",this._firstChild(this.get_container_ul()[0]).id),this.set_state(E.extend(!0,{},this._data.core.state),function(){this.trigger("refresh")})),this._data.core.state=null})},refresh_node:function(t){if(!(t=this.get_node(t))||"#"===t.id)return!1;var i=[],e=[];this._data.core.selected.concat([]);e.push(t.id),!0===t.state.opened&&i.push(t.id),this.get_node(t,!0).find(".jstree-open").each(function(){i.push(this.id)}),this._load_nodes(e,E.proxy(function(e){this.open_node(i,!1,0),this.select_node(this._data.core.selected),this.trigger("refresh_node",{node:t,nodes:e})},this))},set_id:function(e,t){if(!(e=this.get_node(e))||"#"===e.id)return!1;var i,n,r=this._model.data;for(t=t.toString(),r[e.parent].children[E.inArray(e.id,r[e.parent].children)]=t,i=0,n=e.parents.length;ie.children.length&&(i=e.children.length),t.id||(t.id=!0),!this.check("create_node",t,e,i))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(!0===t.id&&delete t.id,!(t=this._parse_model_from_json(t,e.id,e.parents.concat())))return!1;for(s=this.get_node(t),(a=[]).push(t),a=a.concat(s.children_d),this.trigger("model",{nodes:a,parent:e.id}),e.children_d=e.children_d.concat(a),o=0,d=e.parents.length;oh.children.length&&(i=h.children.length),!this.check("move_node",e,h,i,{core:!0,origin:a,is_multi:u&&u._id&&u._id!==this._id,is_foreign:!u||!u._id}))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(e.parent===h.id){for(p=h.children.concat(),-1!==(g=E.inArray(e.id,p))&&(p=E.vakata.array_remove(p,g),gg.children.length&&(i=g.children.length),!this.check("copy_node",e,g,i,{core:!0,origin:a,is_multi:_&&_._id&&_._id!==this._id,is_foreign:!_||!_._id}))return this.settings.core.error.call(this,this._data.core.last_error),!1;if(!(f=_?_.get_json(e,{no_id:!0,no_data:!0,no_state:!0}):e))return!1;if(!0===f.id&&delete f.id,!(f=this._parse_model_from_json(f,g.id,g.parents.concat())))return!1;for(c=this.get_node(f),e&&e.state&&!1===e.state.loaded&&(c.state.loaded=!1),(l=[]).push(f),l=l.concat(c.children_d),this.trigger("model",{nodes:l,parent:g.id}),h=0,u=g.parents.length;h"),o=e,d=E("
    ",{css:{position:"absolute",top:"-200px",left:t?"0px":"-1000px",visibility:"hidden"}}).appendTo("body"),l=E("",{value:o,class:"jstree-rename-input",css:{padding:"0",border:"1px solid silver","box-sizing":"border-box",display:"inline-block",height:this._data.core.li_height+"px",lineHeight:this._data.core.li_height+"px",width:"150px"},blur:E.proxy(function(){var e=a.children(".jstree-rename-input").val(),t=this.settings.core.force_text;""===e&&(e=o),d.remove(),a.replaceWith(s),a.remove(),o=t?o:E("
    ").append(E.parseHTML(o)).html(),this.set_text(i,o),(t=!!this.rename_node(i,t?E("
    ").text(e).text():E("
    ").append(E.parseHTML(e)).html()))||this.set_text(i,o),n&&n.call(this,c,t)},this),keydown:function(e){var t=e.which;27===t&&(this.value=o),27!==t&&13!==t&&37!==t&&38!==t&&39!==t&&40!==t&&32!==t||e.stopImmediatePropagation(),27!==t&&13!==t||(e.preventDefault(),this.blur())},click:function(e){e.stopImmediatePropagation()},mousedown:function(e){e.stopImmediatePropagation()},keyup:function(e){l.width(Math.min(d.text("pW"+this.value).width(),r))},keypress:function(e){if(13===e.which)return!1}}),e={fontFamily:s.css("fontFamily")||"",fontSize:s.css("fontSize")||"",fontWeight:s.css("fontWeight")||"",fontStyle:s.css("fontStyle")||"",fontStretch:s.css("fontStretch")||"",fontVariant:s.css("fontVariant")||"",letterSpacing:s.css("letterSpacing")||"",wordSpacing:s.css("wordSpacing")||""},a.attr("class",s.attr("class")).append(s.contents().clone()).append(l),s.replaceWith(a),d.css(e),void l.css(e).width(Math.min(d.text("pW"+l[0].value).width(),r))[0].select()))},set_theme:function(e,t){if(!e)return!1;(t=!0===t?(this.settings.core.themes.dir||E.jstree.path+"/themes")+"/"+e+"/style.css":t)&&-1===E.inArray(t,i)&&(E("head").append(''),i.push(t)),this._data.core.themes.name&&this.element.removeClass("jstree-"+this._data.core.themes.name),this._data.core.themes.name=e,this.element.addClass("jstree-"+e),this.element[this.settings.core.themes.responsive?"addClass":"removeClass"]("jstree-"+e+"-responsive"),this.trigger("set_theme",{theme:e})},get_theme:function(){return this._data.core.themes.name},set_theme_variant:function(e){this._data.core.themes.variant&&this.element.removeClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant),(this._data.core.themes.variant=e)&&this.element.addClass("jstree-"+this._data.core.themes.name+"-"+this._data.core.themes.variant)},get_theme_variant:function(){return this._data.core.themes.variant},show_stripes:function(){this._data.core.themes.stripes=!0,this.get_container_ul().addClass("jstree-striped")},hide_stripes:function(){this._data.core.themes.stripes=!1,this.get_container_ul().removeClass("jstree-striped")},toggle_stripes:function(){this._data.core.themes.stripes?this.hide_stripes():this.show_stripes()},show_dots:function(){this._data.core.themes.dots=!0,this.get_container_ul().removeClass("jstree-no-dots")},hide_dots:function(){this._data.core.themes.dots=!1,this.get_container_ul().addClass("jstree-no-dots")},toggle_dots:function(){this._data.core.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this._data.core.themes.icons=!0,this.get_container_ul().removeClass("jstree-no-icons")},hide_icons:function(){this._data.core.themes.icons=!1,this.get_container_ul().addClass("jstree-no-icons")},toggle_icons:function(){this._data.core.themes.icons?this.hide_icons():this.show_icons()},set_icon:function(e,t){var i,n,r,s;if(E.isArray(e))for(i=0,n=(e=e.slice()).length;i "),r=!1,n=(n+="
  • ")+"",c.vakata.context.settings.icons&&(n+="'+(t.shortcut_label||"")+"":"")+"",t.submenu&&(i=c.vakata.context._parse(t.submenu,!0))&&(n+=i),n+="
  • ",t.separator_after&&(n+="
  •  
  • ",r=!0)}),n=n.replace(/
  • <\/li\>$/,""),t&&(n+=""),t||(u.html=n,c.vakata.context._trigger("parse")),10"),u.element.on("mouseenter","li",function(e){e.stopImmediatePropagation(),c.contains(this,e.relatedTarget)||(t&&clearTimeout(t),u.element.find(".vakata-context-hover").removeClass("vakata-context-hover").end(),c(this).siblings().find("ul").hide().end().end().parentsUntil(".vakata-context","li").addBack().addClass("vakata-context-hover"),c.vakata.context._show_submenu(this))}).on("mouseleave","li",function(e){c.contains(this,e.relatedTarget)||c(this).find(".vakata-context-hover").addBack().removeClass("vakata-context-hover")}).on("mouseleave",function(e){c(this).find(".vakata-context-hover").removeClass("vakata-context-hover"),c.vakata.context.settings.hide_onmouseleave&&(t=setTimeout(function(){c.vakata.context.hide()},c.vakata.context.settings.hide_onmouseleave))}).on("click","a",function(e){e.preventDefault(),c(this).blur().parent().hasClass("vakata-context-disabled")||!1===c.vakata.context._execute(c(this).attr("rel"))||c.vakata.context.hide()}).on("keydown","a",function(e){var t=null;switch(e.which){case 13:case 32:e.type="mouseup",e.preventDefault(),c(e.currentTarget).trigger(e);break;case 37:u.is_visible&&(u.element.find(".vakata-context-hover").last().closest("li").first().find("ul").hide().find(".vakata-context-hover").removeClass("vakata-context-hover").end().end().children("a").focus(),e.stopImmediatePropagation(),e.preventDefault());break;case 38:u.is_visible&&((t=(t=u.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").prevAll("li:not(.vakata-context-separator)").first()).length?t:u.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").last()).addClass("vakata-context-hover").children("a").focus(),e.stopImmediatePropagation(),e.preventDefault());break;case 39:u.is_visible&&(u.element.find(".vakata-context-hover").last().children("ul").show().children("li:not(.vakata-context-separator)").removeClass("vakata-context-hover").first().addClass("vakata-context-hover").children("a").focus(),e.stopImmediatePropagation(),e.preventDefault());break;case 40:u.is_visible&&((t=(t=u.element.find("ul:visible").addBack().last().children(".vakata-context-hover").removeClass("vakata-context-hover").nextAll("li:not(.vakata-context-separator)").first()).length?t:u.element.find("ul:visible").addBack().last().children("li:not(.vakata-context-separator)").first()).addClass("vakata-context-hover").children("a").focus(),e.stopImmediatePropagation(),e.preventDefault());break;case 27:c.vakata.context.hide(),e.preventDefault()}}).on("keydown",function(e){e.preventDefault();e=u.element.find(".vakata-contextmenu-shortcut-"+e.which).parent();e.parent().not(".vakata-context-disabled")&&e.click()}),c(_).on("mousedown.vakata.jstree",function(e){u.is_visible&&!c.contains(u.element[0],e.target)&&c.vakata.context.hide()}).on("context_show.vakata.jstree",function(e,t){u.element.find("li:has(ul)").children("a").addClass("vakata-context-parent"),h&&u.element.addClass("vakata-context-rtl").css("direction","rtl"),u.element.find("ul").hide().end()})}),E.jstree.defaults.dnd={copy:!0,open_timeout:500,is_draggable:!0,check_while_dragging:!0,always_copy:!1,inside_pos:0,drag_selection:!0,touch:!0,large_drop_target:!1,large_drag_target:!1},E.jstree.plugins.dnd=function(e,t){this.bind=function(){t.bind.call(this),this.element.on("mousedown.jstree touchstart.jstree",this.settings.dnd.large_drag_target?".jstree-node":".jstree-anchor",E.proxy(function(e){var t,i,n;return!(!this.settings.dnd.large_drag_target||E(e.target).closest(".jstree-node")[0]===e.currentTarget)||("touchstart"===e.type&&(!this.settings.dnd.touch||"selected"===this.settings.dnd.touch&&!E(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").hasClass("jstree-clicked"))||(t=this.get_node(e.target),n=1<(i=this.is_selected(t)&&this.settings.dnd.drag_selection?this.get_top_selected().length:1)?i+" "+this.get_string("nodes"):this.get_text(e.currentTarget),this.settings.core.force_text&&(n=E.vakata.html.escape(n)),t&&t.id&&"#"!==t.id&&(1===e.which||"touchstart"===e.type)&&(!0===this.settings.dnd.is_draggable||E.isFunction(this.settings.dnd.is_draggable)&&this.settings.dnd.is_draggable.call(this,1'+n+'
  • ')):void 0))},this))}},E(function(){var k=!1,w=!1,j=!1,T=!1,C=E('
     
    ').hide();E(_).on("dnd_start.vakata.jstree",function(e,t){j=k=!1,t&&t.data&&t.data.jstree&&C.appendTo("body")}).on("dnd_move.vakata.jstree",function(e,r){if(T&&clearTimeout(T),r&&r.data&&r.data.jstree&&(!r.event.target.id||"jstree-marker"!==r.event.target.id)){j=r.event;var s,t,a,o,d,l,c,h,u,f,p,g,_,m,v,y,x=E.jstree.reference(r.event.target),b=!1;if(x&&x._data&&x._data.dnd)if(C.attr("class","jstree-"+x.get_theme()+(x.settings.core.themes.responsive?" jstree-dnd-responsive":"")),r.helper.children().attr("class","jstree-"+x.get_theme()+" jstree-"+x.get_theme()+"-"+x.get_theme_variant()+" "+(x.settings.core.themes.responsive?" jstree-dnd-responsive":"")).find(".jstree-copy").first()[r.data.origin&&(r.data.origin.settings.dnd.always_copy||r.data.origin.settings.dnd.copy&&(r.event.metaKey||r.event.ctrlKey))?"show":"hide"](),r.event.target!==x.element[0]&&r.event.target!==x.get_container_ul()[0]||0!==x.get_container_ul().children().length){if((b=x.settings.dnd.large_drop_target?E(r.event.target).closest(".jstree-node").children(".jstree-anchor"):E(r.event.target).closest(".jstree-anchor"))&&b.length&&b.parent().is(".jstree-closed, .jstree-open, .jstree-leaf")&&(s=b.offset(),t=r.event.pageY-s.top,d=b.outerHeight(),h=tE.inArray(r.data.nodes[f],m.children)&&--_),!(u=u&&(x&&x.settings&&x.settings.dnd&&!1===x.settings.dnd.check_while_dragging||x.check(g,r.data.origin&&r.data.origin!==x?r.data.origin.get_node(r.data.nodes[f]):r.data.nodes[f],l,_,{dnd:!0,ref:x.get_node(b.parent()),pos:t,origin:r.data.origin,is_multi:r.data.origin&&r.data.origin!==x,is_foreign:!r.data.origin})))){x&&x.last_error&&(w=x.last_error());break}var i,n;if("i"===t&&b.parent().is(".jstree-closed")&&x.settings.dnd.open_timeout&&(T=setTimeout((n=b,function(){i.open_node(n)}),(i=x).settings.dnd.open_timeout)),u)return k={ins:x,par:l,pos:"i"!==t||"last"!==v||0!==c||x.is_loaded(y)?c:"last"},C.css({left:a+"px",top:o+"px"}).show(),r.helper.find(".jstree-icon").first().removeClass("jstree-er").addClass("jstree-ok"),w={},!(h=!0)}),!0===h))return}else{for(u=!0,f=0,p=r.data.nodes.length;f"),escape:function(e){return f.vakata.html.div.text(e).html()},strip:function(e){return f.vakata.html.div.empty().append(f.parseHTML(e)).text()}}),target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},f.vakata.dnd={settings:{scroll_speed:10,scroll_proximity:20,helper_left:5,helper_top:10,threshold:5,threshold_touch:50},_trigger:function(e,t){var i=f.vakata.dnd._get();i.event=t,f(_).triggerHandler("dnd_"+e+".vakata",i)},_get:function(){return{data:p.data,element:p.element,helper:p.helper}},_clean:function(){p.helper&&p.helper.remove(),p.scroll_i&&(clearInterval(p.scroll_i),p.scroll_i=!1),p={element:!1,target:!1,is_down:!1,is_drag:!1,helper:!1,helper_w:0,data:!1,init_x:0,init_y:0,scroll_l:0,scroll_t:0,scroll_e:!1,scroll_i:!1,is_touch:!1},f(_).off("mousemove.vakata.jstree touchmove.vakata.jstree",f.vakata.dnd.drag),f(_).off("mouseup.vakata.jstree touchend.vakata.jstree",f.vakata.dnd.stop)},_scroll:function(e){var t;return p.scroll_e&&(p.scroll_l||p.scroll_t)?p.scroll_i?!0!==e&&(e=p.scroll_e.scrollTop(),t=p.scroll_e.scrollLeft(),p.scroll_e.scrollTop(e+p.scroll_t*f.vakata.dnd.settings.scroll_speed),p.scroll_e.scrollLeft(t+p.scroll_l*f.vakata.dnd.settings.scroll_speed),void(e===p.scroll_e.scrollTop()&&t===p.scroll_e.scrollLeft()||f.vakata.dnd._trigger("scroll",p.scroll_e))):(p.scroll_i=setInterval(f.vakata.dnd._scroll,100),!1):(p.scroll_i&&(clearInterval(p.scroll_i),p.scroll_i=!1),!1)},start:function(e,t,i){"touchstart"===e.type&&e.originalEvent&&e.originalEvent.changedTouches&&e.originalEvent.changedTouches[0]&&(e.pageX=e.originalEvent.changedTouches[0].pageX,e.pageY=e.originalEvent.changedTouches[0].pageY,e.target=_.elementFromPoint(e.originalEvent.changedTouches[0].pageX-window.pageXOffset,e.originalEvent.changedTouches[0].pageY-window.pageYOffset)),p.is_drag&&f.vakata.dnd.stop({});try{e.currentTarget.unselectable="on",e.currentTarget.onselectstart=function(){return!1},e.currentTarget.style&&(e.currentTarget.style.MozUserSelect="none")}catch(e){}return p.init_x=e.pageX,p.init_y=e.pageY,p.data=t,p.is_down=!0,p.element=e.currentTarget,p.target=e.target,p.is_touch="touchstart"===e.type,!1!==i&&(p.helper=f("
    ").html(i).css({display:"block",margin:"0",padding:"0",position:"absolute",top:"-2000px",lineHeight:"16px",zIndex:"10000"})),f(_).on("mousemove.vakata.jstree touchmove.vakata.jstree",f.vakata.dnd.drag),f(_).on("mouseup.vakata.jstree touchend.vakata.jstree",f.vakata.dnd.stop),!1},drag:function(i){if("touchmove"===i.type&&i.originalEvent&&i.originalEvent.changedTouches&&i.originalEvent.changedTouches[0]&&(i.pageX=i.originalEvent.changedTouches[0].pageX,i.pageY=i.originalEvent.changedTouches[0].pageY,i.target=_.elementFromPoint(i.originalEvent.changedTouches[0].pageX-window.pageXOffset,i.originalEvent.changedTouches[0].pageY-window.pageYOffset)),p.is_down){if(!p.is_drag){if(!(Math.abs(i.pageX-p.init_x)>(p.is_touch?f.vakata.dnd.settings.threshold_touch:f.vakata.dnd.settings.threshold)||Math.abs(i.pageY-p.init_y)>(p.is_touch?f.vakata.dnd.settings.threshold_touch:f.vakata.dnd.settings.threshold)))return;p.helper&&(p.helper.appendTo("body"),p.helper_w=p.helper.outerWidth()),p.is_drag=!0,f.vakata.dnd._trigger("start",i)}var e,t,n,r=!1,s=!1,a=!1,o=!1,d=!1,l=!1;return p.scroll_t=0,p.scroll_l=0,p.scroll_e=!1,f(f(i.target).parentsUntil("body").addBack().get().reverse()).filter(function(){return/^auto|scroll$/.test(f(this).css("overflow"))&&(this.scrollHeight>this.offsetHeight||this.scrollWidth>this.offsetWidth)}).each(function(){var e=f(this),t=e.offset();if(this.scrollHeight>this.offsetHeight&&(t.top+e.height()-i.pageYthis.offsetWidth&&(t.left+e.width()-i.pageXo&&(l=o-(p.helper_w+2)),p.helper.css({left:l+"px",top:(d=a&&ah)break;s=d}return{isMatch:0<=u,score:p}},!0===e?{search:t}:t(e)},n.vakata.search.defaults={location:0,distance:100,threshold:.6,fuzzy:!1,caseSensitive:!1},E.jstree.defaults.sort=function(e,t){return this.get_text(e)>this.get_text(t)?1:-1},!(E.jstree.plugins.sort=function(e,t){this.bind=function(){t.bind.call(this),this.element.on("model.jstree",E.proxy(function(e,t){this.sort(t.parent,!0)},this)).on("rename_node.jstree create_node.jstree",E.proxy(function(e,t){this.sort(t.parent||t.node.parent,!1),this.redraw_node(t.parent||t.node.parent,!0)},this)).on("move_node.jstree copy_node.jstree",E.proxy(function(e,t){this.sort(t.parent,!1),this.redraw_node(t.parent,!0)},this))},this.sort=function(e,t){var i,n;if((e=this.get_node(e))&&e.children&&e.children.length&&(e.children.sort(E.proxy(this.settings.sort,this)),t))for(i=0,n=e.children_d.length;ii.ttl)&&(!!(i=(i=i&&i.state?i.state:i)&&E.isFunction(this.settings.state.filter)?this.settings.state.filter.call(this,i):i)&&(this.element.one("set_state.jstree",function(e,t){t.instance.trigger("restore_state",{state:E.extend(!0,{},i)})}),this.set_state(i),!0))},this.clear_state=function(){return E.vakata.storage.del(this.settings.state.key)}},E.vakata.storage={set:function(e,t){return window.localStorage.setItem(e,t)},get:function(e){return window.localStorage.getItem(e)},del:function(e){return window.localStorage.removeItem(e)}},E.jstree.defaults.types={"#":{},default:{}},E.jstree.plugins.types=function(e,c){this.init=function(e,t){var i,n;if(t&&t.types&&t.types.default)for(i in t.types)if("default"!==i&&"#"!==i&&t.types.hasOwnProperty(i))for(n in t.types.default)t.types.default.hasOwnProperty(n)&&t.types[i][n]===b&&(t.types[i][n]=t.types.default[n]);c.init.call(this,e,t),this._model.data["#"].type="#"},this.refresh=function(e,t){c.refresh.call(this,e,t),this._model.data["#"].type="#"},this.bind=function(){this.element.on("model.jstree",E.proxy(function(e,t){for(var i=this._model.data,n=t.nodes,r=this.settings.types,s="default",a=0,o=n.length;a .jstree-ocl",E.proxy(function(e){e.stopImmediatePropagation();var t=E.Event("click",{metaKey:e.metaKey,ctrlKey:e.ctrlKey,altKey:e.altKey,shiftKey:e.shiftKey});E(e.currentTarget).closest(".jstree-node").children(".jstree-anchor").first().trigger(t).focus()},this)).on("mouseover.jstree",".jstree-wholerow, .jstree-icon",E.proxy(function(e){return e.stopImmediatePropagation(),this.is_disabled(e.currentTarget)||this.hover_node(e.currentTarget),!1},this)).on("mouseleave.jstree",".jstree-node",E.proxy(function(e){this.dehover_node(e.currentTarget)},this))},this.teardown=function(){this.settings.wholerow&&this.element.find(".jstree-wholerow").remove(),s.teardown.call(this)},this.redraw_node=function(e,t,i,n){var r;return(e=s.redraw_node.apply(this,arguments))&&(r=v.cloneNode(!0),-1!==E.inArray(e.id,this._data.core.selected)&&(r.className+=" jstree-wholerow-clicked"),this._data.core.focused&&this._data.core.focused===e.id&&(r.className+=" jstree-wholerow-hovered"),e.insertBefore(r,e.childNodes[0])),e}},E.fn.jstree}),function(j){"use strict";var i={item:3,autoWidth:!1,slideMove:1,slideMargin:10,addClass:"",mode:"slide",useCSS:!0,cssEasing:"ease",easing:"linear",speed:400,auto:!1,pauseOnHover:!1,loop:!1,slideEndAnimation:!0,pause:2e3,keyPress:!1,controls:!0,prevHtml:'',nextHtml:'',rtl:!1,adaptiveHeight:!1,vertical:!1,verticalHeight:500,vThumbWidth:100,thumbItem:10,pager:!0,gallery:!1,galleryMargin:5,thumbMargin:5,currentPagerPosition:"middle",enableTouch:!0,enableDrag:!0,freeMove:!0,swipeThreshold:10,responsive:[],onBeforeStart:function(e){},onSliderLoad:function(e){},onBeforeSlide:function(e,t){},onAfterSlide:function(e,t){},onBeforeNextSlide:function(e,t){},onBeforePrevSlide:function(e,t){}};j.fn.lightSlider=function(e){var l,r,c,h,s,a,o,u,t,f,p,g,_,m,v,y,x,b,d,k,w,n;return 0!==this.length&&(1