snipe-it/public/assets/js/all.js

25 lines
756 KiB
JavaScript
Raw Normal View History

!function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.Tether=e()}(this,function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t){var e=t.getBoundingClientRect(),i={};for(var n in e)i[n]=e[n];if(t.ownerDocument!==document){var r=t.ownerDocument.defaultView.frameElement;if(r){var o=s(r);i.top+=o.top,i.bottom+=o.top,i.left+=o.left,i.right+=o.left}}return i}function r(t){var e=getComputedStyle(t)||{},i=e.position,n=[];if("fixed"===i)return[t];for(var s=t;(s=s.parentNode)&&s&&1===s.nodeType;){var r=void 0;try{r=getComputedStyle(s)}catch(o){}if("undefined"==typeof r||null===r)return n.push(s),n;var a=r,l=a.overflow,u=a.overflowX,c=a.overflowY;/(auto|scroll)/.test(l+c+u)&&("absolute"!==i||["relative","absolute","fixed"].indexOf(r.position)>=0)&&n.push(s)}return n.push(t.ownerDocument.body),t.ownerDocument!==document&&n.push(t.ownerDocument.defaultView),n}function o(){D&&document.body.removeChild(D),D=null}function a(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var i=e.documentElement,n=s(t),r=A();return n.top-=r.top,n.left-=r.left,"undefined"==typeof n.width&&(n.width=document.body.scrollWidth-n.left-n.right),"undefined"==typeof n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-i.clientTop,n.left=n.left-i.clientLeft,n.right=e.body.clientWidth-n.width-n.left,n.bottom=e.body.clientHeight-n.height-n.top,n}function l(t){return t.offsetParent||document.documentElement}function u(){if(E)return E;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");c(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;i===n&&(n=e.clientWidth),document.body.removeChild(e);var s=i-n;return E={width:s,height:s}}function c(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t[i]=e[i])}),t}function h(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var i=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),n=f(t).replace(i," ");g(t,n)}}function d(t,e){if("undefined"!=typeof t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{h(t,e);var i=f(t)+(" "+e);g(t,i)}}function p(t,e){if("undefined"!=typeof t.classList)return t.classList.contains(e);var i=f(t);return new RegExp("(^| )"+e+"( |$)","gi").test(i)}function f(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function g(t,e){t.setAttribute("class",e)}function m(t,e,i){i.forEach(function(i){e.indexOf(i)===-1&&p(t,i)&&h(t,i)}),e.forEach(function(e){p(t,e)||d(t,e)})}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function y(t,e){var i=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+i>=e&&e>=t-i}function _(){return"undefined"!=typeof performance&&"undefined"!=typeof performance.now?performance.now():+new Date}function b(){for(var t={top:0,left:0},e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return i.forEach(function(e){var i=e.top,n=e.left;"string"==typeof i&&(i=parseFloat(i,10)),"string"==typeof n&&(n=parseFloat(n,10)),t.top+=i,t.left+=n}),t}function w(t,e){return"string"==typeof t.left&&t.left.indexOf("%")!==-1&&(t.left=parseFloat(t.left,10)/100*e.widt
s||n.data("bs.button",s=new i(this,r)),"toggle"==e?s.toggle():e&&s.setState(e)})}var i=function(e,n){this.$element=t(e),this.options=t.extend({},i.DEFAULTS,n),this.isLoading=!1};i.VERSION="3.3.7",i.DEFAULTS={loadingText:"loading..."},i.prototype.setState=function(e){var i="disabled",n=this.$element,s=n.is("input")?"val":"html",r=n.data();e+="Text",null==r.resetText&&n.data("resetText",n[s]()),setTimeout(t.proxy(function(){n[s](null==r[e]?this.options[e]:r[e]),"loadingText"==e?(this.isLoading=!0,n.addClass(i).attr(i,i).prop(i,!0)):this.isLoading&&(this.isLoading=!1,n.removeClass(i).removeAttr(i).prop(i,!1))},this),0)},i.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var n=t.fn.button;t.fn.button=e,t.fn.button.Constructor=i,t.fn.button.noConflict=function(){return t.fn.button=n,this},t(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(i){var n=t(i.target).closest(".btn");e.call(n,"toggle"),t(i.target).is('input[type="radio"], input[type="checkbox"]')||(i.preventDefault(),n.is("input,button")?n.trigger("focus"):n.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(e){t(e.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(e.type))})}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),s=n.data("bs.carousel"),r=t.extend({},i.DEFAULTS,n.data(),"object"==typeof e&&e),o="string"==typeof e?e:r.slide;s||n.data("bs.carousel",s=new i(this,r)),"number"==typeof e?s.to(e):o?s[o]():r.interval&&s.pause().cycle()})}var i=function(e,i){this.$element=t(e),this.$indicators=this.$element.find(".carousel-indicators"),this.options=i,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",t.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",t.proxy(this.pause,this)).on("mouseleave.bs.carousel",t.proxy(this.cycle,this))};i.VERSION="3.3.7",i.TRANSITION_DURATION=600,i.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},i.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},i.prototype.cycle=function(e){return e||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(t.proxy(this.next,this),this.options.interval)),this},i.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},i.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e),n="prev"==t&&0===i||"next"==t&&i==this.$items.length-1;if(n&&!this.options.wrap)return e;var s="prev"==t?-1:1,r=(i+s)%this.$items.length;return this.$items.eq(r)},i.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(t>i?"next":"prev",this.$items.eq(t))},i.prototype.pause=function(e){return e||(this.paused=!0),this.$element.find(".next, .prev").length&&t.support.transition&&(this.$element.trigger(t.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},i.prototype.next=function(){if(!this.sliding)return this.slide("next")},i.prototype.prev
o.removeClass("in")};var n=t.fn.tab;t.fn.tab=e,t.fn.tab.Constructor=i,t.fn.tab.noConflict=function(){return t.fn.tab=n,this};var s=function(i){i.preventDefault(),e.call(t(this),"show")};t(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',s).on("click.bs.tab.data-api",'[data-toggle="pill"]',s)}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var n=t(this),s=n.data("bs.affix"),r="object"==typeof e&&e;s||n.data("bs.affix",s=new i(this,r)),"string"==typeof e&&s[e]()})}var i=function(e,n){this.options=t.extend({},i.DEFAULTS,n),this.$target=t(this.options.target).on("scroll.bs.affix.data-api",t.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",t.proxy(this.checkPositionWithEventLoop,this)),this.$element=t(e),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};i.VERSION="3.3.7",i.RESET="affix affix-top affix-bottom",i.DEFAULTS={offset:0,target:window},i.prototype.getState=function(t,e,i,n){var s=this.$target.scrollTop(),r=this.$element.offset(),o=this.$target.height();if(null!=i&&"top"==this.affixed)return s<i&&"top";if("bottom"==this.affixed)return null!=i?!(s+this.unpin<=r.top)&&"bottom":!(s+o<=t-n)&&"bottom";var a=null==this.affixed,l=a?s:r.top,u=a?o:e;return null!=i&&s<=i?"top":null!=n&&l+u>=t-n&&"bottom"},i.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(i.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},i.prototype.checkPositionWithEventLoop=function(){setTimeout(t.proxy(this.checkPosition,this),1)},i.prototype.checkPosition=function(){if(this.$element.is(":visible")){var e=this.$element.height(),n=this.options.offset,s=n.top,r=n.bottom,o=Math.max(t(document).height(),t(document.body).height());"object"!=typeof n&&(r=s=n),"function"==typeof s&&(s=n.top(this.$element)),"function"==typeof r&&(r=n.bottom(this.$element));var a=this.getState(o,e,s,r);if(this.affixed!=a){null!=this.unpin&&this.$element.css("top","");var l="affix"+(a?"-"+a:""),u=t.Event(l+".bs.affix");if(this.$element.trigger(u),u.isDefaultPrevented())return;this.affixed=a,this.unpin="bottom"==a?this.getPinnedOffset():null,this.$element.removeClass(i.RESET).addClass(l).trigger(l.replace("affix","affixed")+".bs.affix")}"bottom"==a&&this.$element.offset({top:o-e-r})}};var n=t.fn.affix;t.fn.affix=e,t.fn.affix.Constructor=i,t.fn.affix.noConflict=function(){return t.fn.affix=n,this},t(window).on("load",function(){t('[data-spy="affix"]').each(function(){var i=t(this),n=i.data();n.offset=n.offset||{},null!=n.offsetBottom&&(n.offset.bottom=n.offsetBottom),null!=n.offsetTop&&(n.offset.top=n.offsetTop),e.call(i,n)})})}(jQuery)},function(t,e,i){"use strict";e["default"]={data:function(){return{tokens:[]}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getTokens()},getTokens:function(){var t=this;this.$http.get("/oauth/tokens").then(function(e){t.tokens=e.data})},revoke:function(t){var e=this;this.$http["delete"]("/oauth/tokens/"+t.id).then(function(t){e.getTokens()})}}}},function(t,e,i){"use strict";e["default"]={data:function(){return{clients:[],createForm:{errors:[],name:"",redirect:""},editForm:{errors:[],name:"",redirect:""}}},ready:function(){this.prepareComponent()},mounted:function(){this.prepareComponent()},methods:{prepareComponent:function(){this.getClients(),$("#modal-create-client").on("shown.bs.modal",function(){$("#create-client-name").focus()}),$("#modal-edit-client").on("shown.bs.modal",function(){$("#edit-client-name").focus()})},getClients:function(){var t=this;this.$http.get("/oauth/clients").then(function(e){t.clients=e.data})},showCreateClientForm:function(){$("#modal-create-client").modal("show")},store:function(){this.persistClient("post","/oauth/clients",this.createForm,"#modal-create-client")},edit:function(t){this.editForm.id=t.id,this.editForm.name=t.name,this.editForm.redirect=t.redirect,$("#modal-edit-client").modal("show")},update:function(){this.persistClient("put
t.querySelectorAll("a#"+R+"+*").length||j.push(".#.+[+~]")}),s(function(t){t.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var e=P.createElement("input");e.setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),t.querySelectorAll("[name=d]").length&&j.push("name"+it+"*[*^$|!~]?="),2!==t.querySelectorAll(":enabled").length&&j.push(":enabled",":disabled"),M.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&j.push(":enabled",":disabled"),t.querySelectorAll("*,:x"),j.push(",.*:")})),(x.matchesSelector=mt.test(H=M.matches||M.webkitMatchesSelector||M.mozMatchesSelector||M.oMatchesSelector||M.msMatchesSelector))&&s(function(t){x.disconnectedMatch=H.call(t,"*"),H.call(t,"[s!='']:x"),F.push("!=",rt)}),j=j.length&&new RegExp(j.join("|")),F=F.length&&new RegExp(F.join("|")),e=mt.test(M.compareDocumentPosition),L=e||mt.test(M.contains)?function(t,e){var i=9===t.nodeType?t.documentElement:t,n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(i.contains?i.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))}:function(t,e){if(e)for(;e=e.parentNode;)if(e===t)return!0;return!1},V=e?function(t,e){if(t===e)return O=!0,0;var i=!t.compareDocumentPosition-!e.compareDocumentPosition;return i?i:(i=(t.ownerDocument||t)===(e.ownerDocument||e)?t.compareDocumentPosition(e):1,1&i||!x.sortDetached&&e.compareDocumentPosition(t)===i?t===P||t.ownerDocument===z&&L(z,t)?-1:e===P||e.ownerDocument===z&&L(z,e)?1:I?tt(I,t)-tt(I,e):0:4&i?-1:1)}:function(t,e){if(t===e)return O=!0,0;var i,n=0,s=t.parentNode,r=e.parentNode,a=[t],l=[e];if(!s||!r)return t===P?-1:e===P?1:s?-1:r?1:I?tt(I,t)-tt(I,e):0;if(s===r)return o(t,e);for(i=t;i=i.parentNode;)a.unshift(i);for(i=e;i=i.parentNode;)l.unshift(i);for(;a[n]===l[n];)n++;return n?o(a[n],l[n]):a[n]===z?-1:l[n]===z?1:0},P):P},e.matches=function(t,i){return e(t,null,null,i)},e.matchesSelector=function(t,i){if((t.ownerDocument||t)!==P&&$(t),i=i.replace(ct,"='$1']"),x.matchesSelector&&N&&!Y[i+" "]&&(!F||!F.test(i))&&(!j||!j.test(i)))try{var n=H.call(t,i);if(n||x.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(s){}return e(i,P,null,[t]).length>0},e.contains=function(t,e){return(t.ownerDocument||t)!==P&&$(t),L(t,e)},e.attr=function(t,e){(t.ownerDocument||t)!==P&&$(t);var i=C.attrHandle[e.toLowerCase()],n=i&&X.call(C.attrHandle,e.toLowerCase())?i(t,e,!N):void 0;return void 0!==n?n:x.attributes||!N?t.getAttribute(e):(n=t.getAttributeNode(e))&&n.specified?n.value:null},e.escape=function(t){return(t+"").replace(wt,xt)},e.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},e.uniqueSort=function(t){var e,i=[],n=0,s=0;if(O=!x.detectDuplicates,I=!x.sortStable&&t.slice(0),t.sort(V),O){for(;e=t[s++];)e===t[s]&&(n=i.push(s));for(;n--;)t.splice(i[n],1)}return I=null,t},k=e.getText=function(t){var e,i="",n=0,s=t.nodeType;if(s){if(1===s||9===s||11===s){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=k(t)}else if(3===s||4===s)return t.nodeValue}else for(;e=t[n++];)i+=k(e);return i},C=e.selectors={cacheLength:50,createPseudo:n,match:pt,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(_t,bt),t[3]=(t[3]||t[4]||t[5]||"").replace(_t,bt),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||e.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&e.error(t[0]),t},PSEUDO:function(t){var e,i=!t[6]&&t[2];return pt.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":i&&ht.test(i)&&(e=T(i,!0))&&(e=i.indexOf(")",i.length-e)-i.length)&&(t[0]=t[0].slice(0,e),t[2]=i.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(_t,bt).toLowerCase();return"*"===t?function(){return!0}:function(t){return t.nodeName&&t.nodeName.toLowerCase()===e}},CLASS:function(t){var e=B[t
i&&i.replaceChild(e,this))},t)}}),yt.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(t,e){yt.fn[t]=function(t){for(var i,n=[],s=yt(t),r=s.length-1,o=0;o<=r;o++)i=o===r?this:this.clone(!0),yt(s[o])[e](i),ut.apply(n,i.get());return this.pushStack(n)}});var ue=/^margin/,ce=new RegExp("^("+Ut+")(?!px)[a-z%]+$","i"),he=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=i),e.getComputedStyle(t)};!function(){function t(){if(a){a.style.cssText="box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",a.innerHTML="",te.appendChild(o);var t=i.getComputedStyle(a);e="1%"!==t.top,r="2px"===t.marginLeft,n="4px"===t.width,a.style.marginRight="50%",s="4px"===t.marginRight,te.removeChild(o),a=null}}var e,n,s,r,o=rt.createElement("div"),a=rt.createElement("div");a.style&&(a.style.backgroundClip="content-box",a.cloneNode(!0).style.backgroundClip="",mt.clearCloneStyle="content-box"===a.style.backgroundClip,o.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",o.appendChild(a),yt.extend(mt,{pixelPosition:function(){return t(),e},boxSizingReliable:function(){return t(),n},pixelMarginRight:function(){return t(),s},reliableMarginLeft:function(){return t(),r}}))}();var de=/^(none|table(?!-c[ea]).+)/,pe={position:"absolute",visibility:"hidden",display:"block"},fe={letterSpacing:"0",fontWeight:"400"},ge=["Webkit","Moz","ms"],me=rt.createElement("div").style;yt.extend({cssHooks:{opacity:{get:function(t,e){if(e){var i=N(t,"opacity");return""===i?"1":i}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":"cssFloat"},style:function(t,e,i,n){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var s,r,o,a=yt.camelCase(e),l=t.style;return e=yt.cssProps[a]||(yt.cssProps[a]=F(a)||a),o=yt.cssHooks[e]||yt.cssHooks[a],void 0===i?o&&"get"in o&&void 0!==(s=o.get(t,!1,n))?s:l[e]:(r=typeof i,"string"===r&&(s=Bt.exec(i))&&s[1]&&(i=y(t,e,s),r="number"),void(null!=i&&i===i&&("number"===r&&(i+=s&&s[3]||(yt.cssNumber[a]?"":"px")),mt.clearCloneStyle||""!==i||0!==e.indexOf("background")||(l[e]="inherit"),o&&"set"in o&&void 0===(i=o.set(t,i,n))||(l[e]=i))))}},css:function(t,e,i,n){var s,r,o,a=yt.camelCase(e);return e=yt.cssProps[a]||(yt.cssProps[a]=F(a)||a),o=yt.cssHooks[e]||yt.cssHooks[a],o&&"get"in o&&(s=o.get(t,!0,i)),void 0===s&&(s=N(t,e,n)),"normal"===s&&e in fe&&(s=fe[e]),""===i||i?(r=parseFloat(s),i===!0||isFinite(r)?r||0:s):s}}),yt.each(["height","width"],function(t,e){yt.cssHooks[e]={get:function(t,i,n){if(i)return!de.test(yt.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?R(t,e,n):Vt(t,pe,function(){return R(t,e,n)})},set:function(t,i,n){var s,r=n&&he(t),o=n&&L(t,e,n,"border-box"===yt.css(t,"boxSizing",!1,r),r);return o&&(s=Bt.exec(i))&&"px"!==(s[3]||"px")&&(t.style[e]=i,i=yt.css(t,e)),H(t,i,o)}}}),yt.cssHooks.marginLeft=j(mt.reliableMarginLeft,function(t,e){if(e)return(parseFloat(N(t,"marginLeft"))||t.getBoundingClientRect().left-Vt(t,{marginLeft:0},function(){return t.getBoundingClientRect().left}))+"px"}),yt.each({margin:"",padding:"",border:"Width"},function(t,e){yt.cssHooks[t+e]={expand:function(i){for(var n=0,s={},r="string"==typeof i?i.split(" "):[i];n<4;n++)s[t+qt[n]+e]=r[n]||r[n-2]||r[0];return s}},ue.test(t)||(yt.cssHooks[t+e].set=H)}),yt.fn.extend({css:function(t,e){return Ft(this,function(t,e,i){var n,s,r={},o=0;if(yt.isArray(e)){for(n=he(t),s=e.length;o<s;o++)r[e[o]]=yt.css(t,e[o],!1,n);return r}return void 0!==i?yt.style(t,e,i):yt.css(t,e)},t,e,arguments.length>1)}}),yt.Tween=z,z.prototype={constructor:z,init:function(t,e,i,n,s,r){this.elem=t,this.prop=i,this.easing=s||yt.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=n,this.unit=r||(yt.cssNumber[i]?"":"px")},cur:function(){var t=z.propHooks[this.prop];return t&&t.get?t.get(this):z.propHooks._default.get(this
}return i}function P(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}function M(t,e){return g(e,function(e){return[e,t[e]]})}function N(t){return function(e){return t(e)}}function j(t,e){return g(e,function(e){return t[e]})}function F(t,e){return t.has(e)}function H(t,e){for(var i=-1,n=t.length;++i<n&&k(e,t[i],0)>-1;);return i}function L(t,e){for(var i=t.length;i--&&k(e,t[i],0)>-1;);return i}function R(t,e){for(var i=t.length,n=0;i--;)t[i]===e&&++n;return n}function z(t){return"\\"+en[t]}function W(t,e){return null==t?st:t[e]}function U(t){return Yi.test(t)}function B(t){return Vi.test(t)}function q(t){for(var e,i=[];!(e=t.next()).done;)i.push(e.value);return i}function Y(t){var e=-1,i=Array(t.size);return t.forEach(function(t,n){i[++e]=[n,t]}),i}function V(t,e){return function(i){return t(e(i))}}function X(t,e){for(var i=-1,n=t.length,s=0,r=[];++i<n;){var o=t[i];o!==e&&o!==ht||(t[i]=ht,r[s++]=i)}return r}function K(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=t}),i}function G(t){var e=-1,i=Array(t.size);return t.forEach(function(t){i[++e]=[t,t]}),i}function Q(t,e,i){for(var n=i-1,s=t.length;++n<s;)if(t[n]===e)return n;return-1}function Z(t,e,i){for(var n=i+1;n--;)if(t[n]===e)return n;return n}function J(t){return U(t)?et(t):_n(t)}function tt(t){return U(t)?it(t):b(t)}function et(t){for(var e=Bi.lastIndex=0;Bi.test(t);)++e;return e}function it(t){return t.match(Bi)||[]}function nt(t){return t.match(qi)||[]}var st,rt="4.17.2",ot=200,at="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",lt="Expected a function",ut="__lodash_hash_undefined__",ct=500,ht="__lodash_placeholder__",dt=1,pt=2,ft=4,gt=1,mt=2,vt=1,yt=2,_t=4,bt=8,wt=16,xt=32,Ct=64,kt=128,Dt=256,Tt=512,St=30,At="...",Et=800,It=16,Ot=1,$t=2,Pt=3,Mt=1/0,Nt=9007199254740991,jt=1.7976931348623157e308,Ft=NaN,Ht=4294967295,Lt=Ht-1,Rt=Ht>>>1,zt=[["ary",kt],["bind",vt],["bindKey",yt],["curry",bt],["curryRight",wt],["flip",Tt],["partial",xt],["partialRight",Ct],["rearg",Dt]],Wt="[object Arguments]",Ut="[object Array]",Bt="[object AsyncFunction]",qt="[object Boolean]",Yt="[object Date]",Vt="[object DOMException]",Xt="[object Error]",Kt="[object Function]",Gt="[object GeneratorFunction]",Qt="[object Map]",Zt="[object Number]",Jt="[object Null]",te="[object Object]",ee="[object Promise]",ie="[object Proxy]",ne="[object RegExp]",se="[object Set]",re="[object String]",oe="[object Symbol]",ae="[object Undefined]",le="[object WeakMap]",ue="[object WeakSet]",ce="[object ArrayBuffer]",he="[object DataView]",de="[object Float32Array]",pe="[object Float64Array]",fe="[object Int8Array]",ge="[object Int16Array]",me="[object Int32Array]",ve="[object Uint8Array]",ye="[object Uint8ClampedArray]",_e="[object Uint16Array]",be="[object Uint32Array]",we=/\b__p \+= '';/g,xe=/\b(__p \+=) '' \+/g,Ce=/(__e\(.*?\)|\b__t\)) \+\n'';/g,ke=/&(?:amp|lt|gt|quot|#39);/g,De=/[&<>"']/g,Te=RegExp(ke.source),Se=RegExp(De.source),Ae=/<%-([\s\S]+?)%>/g,Ee=/<%([\s\S]+?)%>/g,Ie=/<%=([\s\S]+?)%>/g,Oe=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$e=/^\w*$/,Pe=/^\./,Me=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ne=/[\\^$.*+?()[\]{}|]/g,je=RegExp(Ne.source),Fe=/^\s+|\s+$/g,He=/^\s+/,Le=/\s+$/,Re=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ze=/\{\n\/\* \[wrapped with (.+)\] \*/,We=/,? & /,Ue=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Be=/\\(\\)?/g,qe=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ye=/\w*$/,Ve=/^[-+]0x[0-9a-f]+$/i,Xe=/^0b[01]+$/i,Ke=/^\[object .+?Constructor\]$/,Ge=/^0o[0-7]+$/i,Qe=/^(?:0|[1-9]\d*)$/,Ze=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Je=/($^)/,ti=/['\n\r\u2028\u2029\\]/g,ei="\\ud800-\\udfff",ii="\\u0300-\\u036f",ni="\\ufe20-\\ufe2f",si="\\u20d0-\\u20ff",ri=ii+ni+si,oi="\\u2700-\\u27bf",ai="a-z\\xdf-\\xf6\\xf8-\\xff",li="\\xac\\xb1\\xd7\\xf7",ui="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ci="\\u2000-\\u206f",hi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",di="A-Z\\xc0-\\xd6\\xd8-\\xde
!!e&&("number"==typeof t||Qe.test(t))&&t>-1&&t%1==0&&t<e}function jr(t,e,i){if(!al(i))return!1;var n=typeof e;return!!("number"==n?Ka(i)&&Nr(e,i.length):"string"==n&&e in i)&&Xa(i[e],t)}function Fr(t,e){if(_d(t))return!1;var i=typeof t;return!("number"!=i&&"symbol"!=i&&"boolean"!=i&&null!=t&&!_l(t))||$e.test(t)||!Oe.test(t)||null!=e&&t in cc(e)}function Hr(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Lr(t){var i=br(t),n=e[i];if("function"!=typeof n||!(i in s.prototype))return!1;if(t===n)return!0;var r=Th(n);return!!r&&t===r[0]}function Rr(t){return!!wc&&wc in t}function zr(t){var e=t&&t.constructor,i="function"==typeof e&&e.prototype||mc;return t===i}function Wr(t){return t===t&&!al(t)}function Ur(t,e){return function(i){return null!=i&&i[t]===e&&(e!==st||t in cc(i))}}function Br(t){var e=Ma(t,function(t){return i.size===ct&&i.clear(),t}),i=e.cache;return e}function qr(t,e){var i=t[1],n=e[1],s=i|n,r=s<(vt|yt|kt),o=n==kt&&i==bt||n==kt&&i==Dt&&t[7].length<=e[8]||n==(kt|Dt)&&e[7].length<=e[8]&&i==bt;if(!r&&!o)return t;n&vt&&(t[2]=e[2],s|=i&vt?0:_t);var a=e[3];if(a){var l=t[3];t[3]=l?Ls(l,a,e[4]):a,t[4]=l?X(t[3],ht):e[4]}return a=e[5],a&&(l=t[5],t[5]=l?Rs(l,a,e[6]):a,t[6]=l?X(t[5],ht):e[6]),a=e[7],a&&(t[7]=a),n&kt&&(t[8]=null==t[8]?e[8]:Kc(t[8],e[8])),null==t[9]&&(t[9]=e[9]),t[0]=e[0],t[1]=s,t}function Yr(t,e,i,n,s,r){return al(t)&&al(e)&&(r.set(e,t),Xn(t,e,st,Yr,r),r["delete"](e)),t}function Vr(t){var e=[];if(null!=t)for(var i in cc(t))e.push(i);return e}function Xr(t){return xc.call(t)}function Kr(t,e,i){return e=Xc(e===st?t.length-1:e,0),function(){for(var n=arguments,s=-1,r=Xc(n.length-e,0),o=rc(r);++s<r;)o[s]=n[e+s];s=-1;for(var l=rc(e+1);++s<e;)l[s]=n[s];return l[e]=i(o),a(t,this,l)}}function Gr(t,e){return e.length<2?t:ln(t,hs(e,0,-1))}function Qr(t,e){for(var i=t.length,n=Kc(e.length,i),s=zs(t);n--;){var r=e[n];t[n]=Nr(r,i)?s[r]:st}return t}function Zr(t,e,i){var n=e+"";return Ph(t,Pr(n,no(Ar(n),i)))}function Jr(t){var e=0,i=0;return function(){var n=Gc(),s=It-(n-i);if(i=n,s>0){if(++e>=Et)return arguments[0]}else e=0;return t.apply(st,arguments)}}function to(t,e){var i=-1,n=t.length,s=n-1;for(e=e===st?n:e;++i<e;){var r=ns(i,s),o=t[r];t[r]=t[i],t[i]=o}return t.length=e,t}function eo(t){if("string"==typeof t||_l(t))return t;var e=t+"";return"0"==e&&1/t==-Mt?"-0":e}function io(t){if(null!=t){try{return yc.call(t)}catch(e){}try{return t+""}catch(e){}}return""}function no(t,e){return u(zt,function(i){var n="_."+i[0];e&i[1]&&!p(t,n)&&t.push(n)}),t.sort()}function so(t){if(t instanceof s)return t.clone();var e=new n(t.__wrapped__,t.__chain__);return e.__actions__=zs(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}function ro(t,e,i){e=(i?jr(t,e,i):e===st)?1:Xc(Dl(e),0);var n=null==t?0:t.length;if(!n||e<1)return[];for(var s=0,r=0,o=rc(zc(n/e));s<n;)o[r++]=hs(t,s,s+=e);return o}function oo(t){for(var e=-1,i=null==t?0:t.length,n=0,s=[];++e<i;){var r=t[e];r&&(s[n++]=r)}return s}function ao(){var t=arguments.length;if(!t)return[];for(var e=rc(t-1),i=arguments[0],n=t;n--;)e[n-1]=arguments[n];return m(_d(i)?zs(i):[i],tn(e,1))}function lo(t,e,i){var n=null==t?0:t.length;return n?(e=i||e===st?1:Dl(e),hs(t,e<0?0:e,n)):[]}function uo(t,e,i){var n=null==t?0:t.length;return n?(e=i||e===st?1:Dl(e),e=n-e,hs(t,0,e<0?0:e)):[]}function co(t,e){return t&&t.length?ws(t,xr(e,3),!0,!0):[]}function ho(t,e){return t&&t.length?ws(t,xr(e,3),!0):[]}function po(t,e,i,n){var s=null==t?0:t.length;return s?(i&&"number"!=typeof i&&jr(t,e,i)&&(i=0,n=s),Zi(t,e,i,n)):[]}function fo(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var s=null==i?0:Dl(i);return s<0&&(s=Xc(n+s,0)),C(t,xr(e,3),s)}function go(t,e,i){var n=null==t?0:t.length;if(!n)return-1;var s=n-1;return i!==st&&(s=Dl(i),s=i<0?Xc(n+s,0):Kc(s,n-1)),C(t,xr(e,3),s,!0)}function mo(t){var e=null==t?0:t.length;return e?tn(t,1):[]}function vo(t){var e=null==t?0:t.length;return e?tn(t,Mt):[]}function yo(t,e){var i=null==t?0:t.length;return i?(e=e===st?1:Dl(e),tn(t,e)):[]}function _o(t){for(var e=-1,i=null==t?0:t.length,n={}
e.findLastKey=Pl,e.floor=pp,e.forEach=fa,e.forEachRight=ga,e.forIn=Ml,e.forInRight=Nl,e.forOwn=jl,e.forOwnRight=Fl,e.get=Rl,e.gt=md,e.gte=vd,e.has=zl,e.hasIn=Wl,e.head=bo,e.identity=Pu,e.includes=ma,e.indexOf=wo,e.inRange=ru,e.invoke=Hd,e.isArguments=yd,e.isArray=_d,e.isArrayBuffer=bd,e.isArrayLike=Ka,e.isArrayLikeObject=Ga,e.isBoolean=Qa,e.isBuffer=wd,e.isDate=xd,e.isElement=Za,e.isEmpty=Ja,e.isEqual=tl,e.isEqualWith=el,e.isError=il,e.isFinite=nl,e.isFunction=sl,e.isInteger=rl,e.isLength=ol,e.isMap=Cd,e.isMatch=ul,e.isMatchWith=cl,e.isNaN=hl,e.isNative=dl,e.isNil=fl,e.isNull=pl,e.isNumber=gl,e.isObject=al,e.isObjectLike=ll,e.isPlainObject=ml,e.isRegExp=kd,e.isSafeInteger=vl,e.isSet=Dd,e.isString=yl,e.isSymbol=_l,e.isTypedArray=Td,e.isUndefined=bl,e.isWeakMap=wl,e.isWeakSet=xl,e.join=Co,e.kebabCase=Yd,e.last=ko,e.lastIndexOf=Do,e.lowerCase=Vd,e.lowerFirst=Xd,e.lt=Sd,e.lte=Ad,e.max=Qu,e.maxBy=Zu,e.mean=Ju,e.meanBy=tc,e.min=ec,e.minBy=ic,e.stubArray=Uu,e.stubFalse=Bu,e.stubObject=qu,e.stubString=Yu,e.stubTrue=Vu,e.multiply=fp,e.nth=To,e.noConflict=Hu,e.noop=Lu,e.now=ad,e.pad=du,e.padEnd=pu,e.padStart=fu,e.parseInt=gu,e.random=ou,e.reduce=_a,e.reduceRight=ba,e.repeat=mu,e.replace=vu,e.result=Kl,e.round=gp,e.runInContext=Dn,e.sample=xa,e.size=Da,e.snakeCase=Kd,e.some=Ta,e.sortedIndex=Po,e.sortedIndexBy=Mo,e.sortedIndexOf=No,e.sortedLastIndex=jo,e.sortedLastIndexBy=Fo,e.sortedLastIndexOf=Ho,e.startCase=Gd,e.startsWith=_u,e.subtract=mp,e.sum=nc,e.sumBy=sc,e.template=bu,e.times=Xu,e.toFinite=kl,e.toInteger=Dl,e.toLength=Tl,e.toLower=wu,e.toNumber=Sl,e.toSafeInteger=El,e.toString=Il,e.toUpper=xu,e.trim=Cu,e.trimEnd=ku,e.trimStart=Du,e.truncate=Tu,e.unescape=Su,e.uniqueId=Gu,e.upperCase=Qd,e.upperFirst=Zd,e.each=fa,e.eachRight=ga,e.first=bo,Fu(e,function(){var t={};return en(e,function(i,n){_c.call(e.prototype,n)||(t[n]=i)}),t}(),{chain:!1}),e.VERSION=rt,u(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){e[t].placeholder=e}),u(["drop","take"],function(t,e){s.prototype[t]=function(i){var n=this.__filtered__;if(n&&!e)return new s(this);i=i===st?1:Xc(Dl(i),0);var r=this.clone();return n?r.__takeCount__=Kc(i,r.__takeCount__):r.__views__.push({size:Kc(i,Ht),type:t+(r.__dir__<0?"Right":"")}),r},s.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}}),u(["filter","map","takeWhile"],function(t,e){var i=e+1,n=i==Ot||i==Pt;s.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:xr(t,3),type:i}),e.__filtered__=e.__filtered__||n,e}}),u(["head","last"],function(t,e){var i="take"+(e?"Right":"");s.prototype[t]=function(){return this[i](1).value()[0]}}),u(["initial","tail"],function(t,e){var i="drop"+(e?"":"Right");s.prototype[t]=function(){return this.__filtered__?new s(this):this[i](1)}}),s.prototype.compact=function(){return this.filter(Pu)},s.prototype.find=function(t){return this.filter(t).head()},s.prototype.findLast=function(t){return this.reverse().find(t)},s.prototype.invokeMap=os(function(t,e){return"function"==typeof t?new s(this):this.map(function(i){return En(i,t,e)})}),s.prototype.reject=function(t){return this.filter(Na(xr(t)))},s.prototype.slice=function(t,e){t=Dl(t);var i=this;return i.__filtered__&&(t>0||e<0)?new s(i):(t<0?i=i.takeRight(-t):t&&(i=i.drop(t)),e!==st&&(e=Dl(e),i=e<0?i.dropRight(-e):i.take(e-t)),i)},s.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},s.prototype.toArray=function(){return this.take(Ht)},en(s.prototype,function(t,i){var r=/^(?:filter|find|map|reject)|While$/.test(i),o=/^(?:head|last)$/.test(i),a=e[o?"take"+("last"==i?"Right":""):i],l=o||/^find/.test(i);a&&(e.prototype[i]=function(){var i=this.__wrapped__,u=o?[1]:arguments,c=i instanceof s,h=u[0],d=c||_d(i),p=function(t){var i=a.apply(e,m([t],u));return o&&f?i[0]:i};d&&r&&"function"==typeof h&&1!=h.length&&(c=d=!1);var f=this.__chain__,g=!!this.__actions__.length,v=l&&!f,y=c&&!g;if(!l&&d){i=y?i:new s(this);var _=t.apply(i,u);return _.__actions__.push({func:ea,args:[p],thisArg:st}),new n(_,f)}return v&&y?t.apply(this,u):(_=this.thru(p),v?o?_.val
return JSON.parse(t)})},t}(),xt=function(){function t(e){_t(this,t),this.body=null,this.params={},ft(this,e,{method:c(e.method||"GET")}),this.headers instanceof bt||(this.headers=new bt(this.headers))}return t.prototype.getUrl=function(){return N(this)},t.prototype.getBody=function(){return this.body},t.prototype.respondWith=function(t,e){return new wt(t,ft(e||{},{url:this.getUrl()}))},t}(),Ct={"X-Requested-With":"XMLHttpRequest"},kt={Accept:"application/json, text/plain, */*"},Dt={"Content-Type":"application/json;charset=utf-8"};et.options={},et.headers={put:Dt,post:Dt,patch:Dt,"delete":Dt,custom:Ct,common:kt},et.interceptors=[B,V,q,z,U,Y,L],["get","delete","head","jsonp"].forEach(function(t){et[t]=function(e,i){return this(ft(i||{},{url:e,method:t}))}}),["post","put","patch"].forEach(function(t){et[t]=function(e,i,n){return this(ft(n||{},{url:e,method:t,body:i}))}}),it.actions={get:{method:"GET"},save:{method:"POST"},query:{method:"GET"},update:{method:"PUT"},remove:{method:"DELETE"},"delete":{method:"DELETE"}},"undefined"!=typeof window&&window.Vue&&window.Vue.use(st),t.exports=st},function(t,e,i){var n=i(11);"string"==typeof n&&(n=[[t.i,n,""]]),i(1)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(12);"string"==typeof n&&(n=[[t.i,n,""]]),i(1)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){var n=i(13);"string"==typeof n&&(n=[[t.i,n,""]]),i(1)(n,{}),n.locals&&(t.exports=n.locals)},function(t,e,i){(function(e){!function(e,i){t.exports=i()}(this,function(){"use strict";function t(t){return null==t?"":"object"==typeof t?JSON.stringify(t,null,2):String(t)}function i(t){var e=parseFloat(t,10);return e||0===e?e:t}function n(t,e){for(var i=Object.create(null),n=t.split(","),s=0;s<n.length;s++)i[n[s]]=!0;return e?function(t){return i[t.toLowerCase()]}:function(t){return i[t]}}function s(t,e){if(t.length){var i=t.indexOf(e);if(i>-1)return t.splice(i,1)}}function r(t,e){return rs.call(t,e)}function o(t){return"string"==typeof t||"number"==typeof t}function a(t){var e=Object.create(null);return function(i){var n=e[i];return n||(e[i]=t(i))}}function l(t,e){function i(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}return i._length=t.length,i}function u(t,e){e=e||0;for(var i=t.length-e,n=new Array(i);i--;)n[i]=t[i+e];return n}function c(t,e){for(var i in e)t[i]=e[i];return t}function h(t){return null!==t&&"object"==typeof t}function d(t){return hs.call(t)===ds}function p(t){for(var e={},i=0;i<t.length;i++)t[i]&&c(e,t[i]);return e}function f(){}function g(t){return t.reduce(function(t,e){return t.concat(e.staticKeys||[])},[]).join(",")}function m(t,e){return t==e||!(!h(t)||!h(e))&&JSON.stringify(t)===JSON.stringify(e)}function v(t,e){for(var i=0;i<t.length;i++)if(m(t[i],e))return i;return-1}function y(t){var e=(t+"").charCodeAt(0);return 36===e||95===e}function _(t,e,i,n){Object.defineProperty(t,e,{value:i,enumerable:!!n,writable:!0,configurable:!0})}function b(t){if(!ms.test(t)){var e=t.split(".");return function(t){for(var i=0;i<e.length;i++){if(!t)return;t=t[e[i]]}return t}}}function w(t){return/native code/.test(t.toString())}function x(t){$s.target&&Ps.push($s.target),$s.target=t}function C(){$s.target=Ps.pop()}function k(t,e){t.__proto__=e}function D(t,e,i){for(var n=0,s=i.length;n<s;n++){var r=i[n];_(t,r,e[r])}}function T(t){if(h(t)){var e;return r(t,"__ob__")&&t.__ob__ instanceof Hs?e=t.__ob__:Fs.shouldConvert&&!Ds()&&(Array.isArray(t)||d(t))&&Object.isExtensible(t)&&!t._isVue&&(e=new Hs(t)),e}}function S(t,e,i,n){var s=new $s,r=Object.getOwnPropertyDescriptor(t,e);if(!r||r.configurable!==!1){var o=r&&r.get,a=r&&r.set,l=T(i);Object.defineProperty(t,e,{enumerable:!0,configurable:!0,get:function(){var e=o?o.call(t):i;return $s.target&&(s.depend(),l&&l.dep.depend(),Array.isArray(e)&&I(e)),e},set:function(e){var r=o?o.call(t):i;e===r||e!==e&&r!==r||(n&&n(),a?a.call(t,e):i=e,l=T(e),s.notify())}})}}function A(t,e,i){if(Array.isArray(t))return t.length=Math.max(t.length,e),t.splice(e,1,i),i;if(r(t,e))return void(t[e]=i);var n=t.__ob__;return t._isVue||n&&n.vmCount?void Es("Avoi
if(t){var p=ve(t.nodeType);if(!p&&ye(t,e))w(t,e,h,s);else{if(p){if(1===t.nodeType&&t.hasAttribute("server-rendered")&&(t.removeAttribute("server-rendered"),n=!0),n){if(C(t,e,h))return x(e,h,!0),t;Es("The client-side rendered virtual DOM tree is not matching server-rendered content. This is likely caused by incorrect HTML markup, for example nesting block-level elements inside <p>, or missing <tbody>. Bailing hydration and performing full client-side render.")}t=i(t)}if(l=t.elm,u=E.parentNode(l),a(e,h,u,E.nextSibling(l)),e.parent){for(var f=e.parent;f;)f.elm=e.elm,f=f.parent;if(d(e))for(var g=0;g<S.create.length;++g)S.create[g](Pr,e.parent)}null!==u?y(u,[t],0,0):ve(t.tag)&&v(t)}}else c=!0,a(e,h,r,o);return x(e,h,c),e.elm}}function we(t,e){(t.data.directives||e.data.directives)&&xe(t,e)}function xe(t,e){var i,n,s,r=t===Pr,o=Ce(t.data.directives,t.context),a=Ce(e.data.directives,e.context),l=[],u=[];for(i in a)n=o[i],s=a[i],n?(s.oldValue=n.value,De(s,"update",e,t),s.def&&s.def.componentUpdated&&u.push(s)):(De(s,"bind",e,t),s.def&&s.def.inserted&&l.push(s));if(l.length){var c=function(){for(var i=0;i<l.length;i++)De(l[i],"inserted",e,t)};r?kt(e.data.hook||(e.data.hook={}),"insert",c,"dir-insert"):c()}if(u.length&&kt(e.data.hook||(e.data.hook={}),"postpatch",function(){for(var i=0;i<u.length;i++)De(u[i],"componentUpdated",e,t)},"dir-postpatch"),!r)for(i in o)a[i]||De(o[i],"unbind",t)}function Ce(t,e){var i=Object.create(null);if(!t)return i;var n,s;for(n=0;n<t.length;n++)s=t[n],s.modifiers||(s.modifiers=jr),i[ke(s)]=s,s.def=H(e.$options,"directives",s.name,!0);return i}function ke(t){return t.rawName||t.name+"."+Object.keys(t.modifiers||{}).join(".")}function De(t,e,i,n){var s=t.def&&t.def[e];s&&s(i.elm,t,i,n)}function Te(t,e){if(t.data.attrs||e.data.attrs){var i,n,s,r=e.elm,o=t.data.attrs||{},a=e.data.attrs||{};a.__ob__&&(a=e.data.attrs=c({},a));for(i in a)n=a[i],s=o[i],s!==n&&Se(r,i,n);ws&&a.value!==o.value&&Se(r,"value",a.value);for(i in o)null==a[i]&&(xr(i)?r.removeAttributeNS(wr,Cr(i)):_r(i)||r.removeAttribute(i))}}function Se(t,e,i){br(e)?kr(i)?t.removeAttribute(e):t.setAttribute(e,e):_r(e)?t.setAttribute(e,kr(i)||"false"===i?"false":"true"):xr(e)?kr(i)?t.removeAttributeNS(wr,Cr(e)):t.setAttributeNS(wr,e,i):kr(i)?t.removeAttribute(e):t.setAttribute(e,i)}function Ae(t,e){var i=e.elm,n=e.data,s=t.data;if(n.staticClass||n["class"]||s&&(s.staticClass||s["class"])){var r=Kt(e),o=i._transitionClasses;o&&(r=Zt(r,Jt(o))),r!==i._prevClass&&(i.setAttribute("class",r),i._prevClass=r)}}function Ee(t,e,i,n){if(i){var s=e;e=function(i){Ie(t,e,n),1===arguments.length?s(i):s.apply(null,arguments)}}gr.addEventListener(t,e,n)}function Ie(t,e,i){gr.removeEventListener(t,e,i)}function Oe(t,e){if(t.data.on||e.data.on){var i=e.data.on||{},n=t.data.on||{};gr=e.elm,Dt(i,n,Ee,Ie,e.context)}}function $e(t,e){if(t.data.domProps||e.data.domProps){var i,n,s=e.elm,r=t.data.domProps||{},o=e.data.domProps||{};o.__ob__&&(o=e.data.domProps=c({},o));for(i in r)null==o[i]&&(s[i]="");for(i in o)if(n=o[i],"textContent"!==i&&"innerHTML"!==i||(e.children&&(e.children.length=0),n!==r[i]))if("value"===i){s._value=n;var a=null==n?"":String(n);!s.composing&&(document.activeElement!==s&&s.value!==a||Pe(e,a))&&(s.value=a)}else s[i]=n}}function Pe(t,e){var n=t.elm.value,s=t.elm._vModifiers;return s&&s.number||"number"===t.elm.type?i(n)!==i(e):s&&s.trim?n.trim()!==e.trim():n!==e}function Me(t){var e=Ne(t.style);return t.staticStyle?c(t.staticStyle,e):e}function Ne(t){return Array.isArray(t)?p(t):"string"==typeof t?Wr(t):t}function je(t,e){var i,n={};if(e)for(var s=t;s.child;)s=s.child._vnode,s.data&&(i=Me(s.data))&&c(n,i);(i=Me(t.data))&&c(n,i);for(var r=t;r=r.parent;)r.data&&(i=Me(r.data))&&c(n,i);return n}function Fe(t,e){var i=e.data,n=t.data;if(i.staticStyle||i.style||n.staticStyle||n.style){var s,r,o=e.elm,a=t.data.staticStyle,l=t.data.style||{},u=a||l,h=Ne(e.data.style)||{};e.data.style=h.__ob__?c({},h):h;var d=je(e,!0);for(r in u)null==d[r]&&qr(o,r,"");for(r in d)s=d[r],s!==u[r]&&qr(o,r,null==s?"":s)}}function He(t,e){if(e&&e.trim())if(t.classList)e.indexOf("
var e=document.createElement("div");return e.appendChild(t.cloneNode(!0)),e.innerHTML}var is,ns,ss=n("slot,component",!0),rs=Object.prototype.hasOwnProperty,os=/-(\w)/g,as=a(function(t){return t.replace(os,function(t,e){return e?e.toUpperCase():""})}),ls=a(function(t){return t.charAt(0).toUpperCase()+t.slice(1)}),us=/([^-])([A-Z])/g,cs=a(function(t){return t.replace(us,"$1-$2").replace(us,"$1-$2").toLowerCase()}),hs=Object.prototype.toString,ds="[object Object]",ps=function(){return!1},fs=function(t){return t},gs={optionMergeStrategies:Object.create(null),silent:!1,devtools:!0,errorHandler:null,ignoredElements:null,keyCodes:Object.create(null),isReservedTag:ps,isUnknownElement:ps,getTagNamespace:f,parsePlatformTagName:fs,mustUseProp:ps,_assetTypes:["component","directive","filter"],_lifecycleHooks:["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated"],_maxUpdateCount:100},ms=/[^\w.$]/,vs="__proto__"in{},ys="undefined"!=typeof window,_s=ys&&window.navigator.userAgent.toLowerCase(),bs=_s&&/msie|trident/.test(_s),ws=_s&&_s.indexOf("msie 9.0")>0,xs=_s&&_s.indexOf("edge/")>0,Cs=_s&&_s.indexOf("android")>0,ks=_s&&/iphone|ipad|ipod|ios/.test(_s),Ds=function(){return void 0===is&&(is=!ys&&"undefined"!=typeof e&&"server"===e.process.env.VUE_ENV),is},Ts=ys&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__,Ss=function(){function t(){n=!1;var t=i.slice(0);i.length=0;for(var e=0;e<t.length;e++)t[e]()}var e,i=[],n=!1;if("undefined"!=typeof Promise&&w(Promise)){var s=Promise.resolve(),r=function(t){};e=function(){s.then(t)["catch"](r),ks&&setTimeout(f)}}else if("undefined"==typeof MutationObserver||!w(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())e=function(){setTimeout(t,0)};else{var o=1,a=new MutationObserver(t),l=document.createTextNode(String(o));a.observe(l,{characterData:!0}),e=function(){o=(o+1)%2,l.data=String(o)}}return function(t,s){var r;if(i.push(function(){t&&t.call(s),r&&r(s)}),n||(n=!0,e()),!t&&"undefined"!=typeof Promise)return new Promise(function(t){r=t})}}();ns="undefined"!=typeof Set&&w(Set)?Set:function(){function t(){this.set=Object.create(null)}return t.prototype.has=function(t){return this.set[t]===!0},t.prototype.add=function(t){this.set[t]=!0},t.prototype.clear=function(){this.set=Object.create(null)},t}();var As,Es=f,Is="undefined"!=typeof console;Es=function(t,e){Is&&!gs.silent},As=function(t){if(t.$root===t)return"root instance";var e=t._isVue?t.$options.name||t.$options._componentTag:t.name;return(e?"component <"+e+">":"anonymous component")+(t._isVue&&t.$options.__file?" at "+t.$options.__file:"")};var Os=0,$s=function(){this.id=Os++,this.subs=[]};$s.prototype.addSub=function(t){this.subs.push(t)},$s.prototype.removeSub=function(t){s(this.subs,t)},$s.prototype.depend=function(){$s.target&&$s.target.addDep(this)},$s.prototype.notify=function(){for(var t=this.subs.slice(),e=0,i=t.length;e<i;e++)t[e].update()},$s.target=null;var Ps=[],Ms=Array.prototype,Ns=Object.create(Ms);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(t){var e=Ms[t];_(Ns,t,function(){for(var i=arguments,n=arguments.length,s=new Array(n);n--;)s[n]=i[n];var r,o=e.apply(this,s),a=this.__ob__;switch(t){case"push":r=s;break;case"unshift":r=s;break;case"splice":r=s.slice(2)}return r&&a.observeArray(r),a.dep.notify(),o})});var js=Object.getOwnPropertyNames(Ns),Fs={shouldConvert:!0,isSettingProps:!1},Hs=function(t){if(this.value=t,this.dep=new $s,this.vmCount=0,_(t,"__ob__",this),Array.isArray(t)){var e=vs?k:D;e(t,Ns,js),this.observeArray(t)}else this.walk(t)};Hs.prototype.walk=function(t){for(var e=Object.keys(t),i=0;i<e.length;i++)S(t,e[i],t[e[i]])},Hs.prototype.observeArray=function(t){for(var e=0,i=t.length;e<i;e++)T(t[e])};var Ls=gs.optionMergeStrategies;Ls.el=Ls.propsData=function(t,e,i,n){return i||Es('option "'+n+'" can only be used during instance creation with the `new` keyword.'),zs(t,e)},Ls.data=function(t,e,i){return i?t||e?function(){var n="function"==typeof e?e.call(i):e,s="function"==typeof t?t.call(
e.off(i).off(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?n[t]:t).apply(n,arguments)}var n=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,i,n){var s,r,o=this.options[e];if(n=n||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],r=i.originalEvent)for(s in r)s in i||(i[s]=r[s]);return this.element.trigger(i,n),!(t.isFunction(o)&&o.apply(this.element[0],[i].concat(n))===!1||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(n,s,r){"string"==typeof s&&(s={effect:s});var o,a=s?s===!0||"number"==typeof s?i:s.effect||i:e;s=s||{},"number"==typeof s&&(s={duration:s}),o=!t.isEmptyObject(s),s.complete=r,s.delay&&n.delay(s.delay),o&&t.effects&&t.effects.effect[a]?n[e](s):a!==e&&n[a]?n[a](s.duration,s.easing,r):n.queue(function(i){t(this)[e](),r&&r.call(n[0]),i()})}});t.widget;!function(){function e(t,e,i){return[parseFloat(t[0])*(h.test(t[0])?e/100:1),parseFloat(t[1])*(h.test(t[1])?i/100:1)]}function i(e,i){return parseInt(t.css(e,i),10)||0}function n(e){var i=e[0];return 9===i.nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:t.isWindow(i)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:i.preventDefault?{width:0,height:0,offset:{top:i.pageY,left:i.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()}}var s,r=Math.max,o=Math.abs,a=/left|center|right/,l=/top|center|bottom/,u=/[\+\-]\d+(\.[\d]+)?%?/,c=/^\w+/,h=/%$/,d=t.fn.position;t.position={scrollbarWidth:function(){if(void 0!==s)return s;var e,i,n=t("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>"),r=n.children()[0];return t("body").append(n),e=r.offsetWidth,n.css("overflow","scroll"),i=r.offsetWidth,e===i&&(i=n[0].clientWidth),n.remove(),s=e-i},getScrollInfo:function(e){var i=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),n=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),s="scroll"===i||"auto"===i&&e.width<e.element[0].scrollWidth,r="scroll"===n||"auto"===n&&e.height<e.element[0].scrollHeight;return{width:r?t.position.scrollbarWidth():0,height:s?t.position.scrollbarWidth():0}},getWithinInfo:function(e){var i=t(e||window),n=t.isWindow(i[0]),s=!!i[0]&&9===i[0].nodeType,r=!n&&!s;return{element:i,isWindow:n,isDocument:s,offset:r?t(e).offset():{left:0,top:0},scrollLeft:i.scrollLeft(),scrollTop:i.scrollTop(),width:i.outerWidth(),height:i.outerHeight()}}},t.fn.position=function(s){if(!s||!s.of)return d.apply(this,arguments);s=t.extend({},s);var h,p,f,g,m,v,y=t(s.of),_=t.position.getWithinInfo(s.within),b=t.position.getScrollInfo(_),w=(s.collision||"flip").split(" "),x={};return v=n(y),y[0].preventDefault&&(s.at="left top"),p=v.width,f=v.height,g=v.offset,m=t.extend({},g),t.each(["my","at"],function(){var t,e,i=(s[this]||"").split(" ");1===i.length&&(i=a.test(i[0])?i.concat(["center"]):l.test(i[0])?["center"].concat(i):["center","center"]),i[0]=a.test(i[0])?i[0]:"center",i[1]=l.test(i[1])?i[1]:"center",t=u.exec(i[0]),e=u.exec(i[1]),x[this]=[t?t[0]:0,e?e[0]:0],s[this]=[c.exec(i[0])[0],c.exec(i[1])[0]]}),1===w.length&&(w[1]=w[0]),"right"===s.at[0]?m.left+=p:"center"===s.at[0]&&(m.left+=p/2),"bottom"===s.at[1]?m.top+=f:"center"===s.at[1]&&(m.top+=f/2),h=e(x.at,p,f),m.left+=h[0],m.top+=h[1],this.each(function(){var n,a,l=t(this),u=l.outerWidth(),c=l.outerHeight(),d=i(th
n=r.cssClip(),s=r.position()[u],d[u]=(c?-1:1)*h+s,d.clip=r.cssClip(),d.clip[o[l][1]]=d.clip[o[l][0]],"show"===a&&(r.cssClip(d.clip),r.css(u,d[u]),d.clip=n,d[u]=s),r.animate(d,{queue:!1,duration:e.duration,easing:e.easing,complete:i})});t.uiBackCompat!==!1&&(f=t.effects.define("transfer",function(e,i){t(this).transfer(e,i)}));t.ui.focusable=function(i,n){var s,r,o,a,l,u=i.nodeName.toLowerCase();return"area"===u?(s=i.parentNode,r=s.name,!(!i.href||!r||"map"!==s.nodeName.toLowerCase())&&(o=t("img[usemap='#"+r+"']"),o.length>0&&o.is(":visible"))):(/^(input|select|textarea|button|object)$/.test(u)?(a=!i.disabled,a&&(l=t(i).closest("fieldset")[0],l&&(a=!l.disabled))):a="a"===u?i.href||n:n,a&&t(i).is(":visible")&&e(t(i)))},t.extend(t.expr[":"],{focusable:function(e){return t.ui.focusable(e,null!=t.attr(e,"tabindex"))}});t.ui.focusable,t.fn.form=function(){return"string"==typeof this[0].form?this.closest("form"):t(this[0].form)},t.ui.formResetMixin={_formResetHandler:function(){var e=t(this);setTimeout(function(){var i=e.data("ui-form-reset-instances");t.each(i,function(){this.refresh()})})},_bindFormResetHandler:function(){if(this.form=this.element.form(),this.form.length){var t=this.form.data("ui-form-reset-instances")||[];t.length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t)}},_unbindFormResetHandler:function(){if(this.form.length){var e=this.form.data("ui-form-reset-instances");e.splice(t.inArray(this,e),1),e.length?this.form.data("ui-form-reset-instances",e):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset")}}};"1.7"===t.fn.jquery.substring(0,3)&&(t.each(["Width","Height"],function(e,i){function n(e,i,n,r){return t.each(s,function(){i-=parseFloat(t.css(e,"padding"+this))||0,n&&(i-=parseFloat(t.css(e,"border"+this+"Width"))||0),r&&(i-=parseFloat(t.css(e,"margin"+this))||0)}),i}var s="Width"===i?["Left","Right"]:["Top","Bottom"],r=i.toLowerCase(),o={innerWidth:t.fn.innerWidth,innerHeight:t.fn.innerHeight,outerWidth:t.fn.outerWidth,outerHeight:t.fn.outerHeight};t.fn["inner"+i]=function(e){return void 0===e?o["inner"+i].call(this):this.each(function(){t(this).css(r,n(this,e)+"px")})},t.fn["outer"+i]=function(e,s){return"number"!=typeof e?o["outer"+i].call(this,e):this.each(function(){t(this).css(r,n(this,e,!0,s)+"px")})}}),t.fn.addBack=function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))});t.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},t.ui.escapeSelector=function(){var t=/([!"#$%&'()*+,.\/:;<=>?@[\]^`{|}~])/g;return function(e){return e.replace(t,"\\$1")}}(),t.fn.labels=function(){var e,i,n,s,r;return this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(s=this.eq(0).parents("label"),n=this.attr("id"),n&&(e=this.eq(0).parents().last(),r=e.add(e.length?e.siblings():this.siblings()),i="label[for='"+t.ui.escapeSelector(n)+"']",s=s.add(r.find(i).addBack(i))),this.pushStack(s))},t.fn.scrollParent=function(e){var i=this.css("position"),n="absolute"===i,s=e?/(auto|scroll|hidden)/:/(auto|scroll)/,r=this.parents().filter(function(){var e=t(this);return(!n||"static"!==e.css("position"))&&s.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==i&&r.length?r:t(this[0].ownerDocument||document)},t.extend(t.expr[":"],{tabbable:function(e){var i=t.attr(e,"tabindex"),n=null!=i;return(!n||i>=0)&&t.ui.focusable(e,n)}}),t.fn.extend({uniqueId:function(){var t=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++t)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&t(this).removeAttr("id")})}}),t.widget("ui.accordion",{version:"1.12.1",options:{active:0,animate:{},classes:{"ui-accordion-header":"ui-corner-top","ui-accordion-header-collapsed":"ui-corner-all","ui-accordion-content":"ui-corner-bottom"},collapsible:!1,event:"click",header:"> li > :first-child, > :not(li):even",heightStyle:"auto",icons:{activ
classes:{}};return n.classes[e]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[t],n},_spinnerOptions:function(t){var e=this._buildSimpleOptions(t,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(t){return this._buildSimpleOptions(t,"ui-button")},_checkboxradioOptions:function(t){return this._buildSimpleOptions(t,"ui-checkboxradio-label")},_selectmenuOptions:function(t){var e="vertical"===this.options.direction;return{width:!!e&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(e?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(e?"top":"left")},last:{"ui-selectmenu-button-open":e?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(e?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[t]}},_resolveClassesValues:function(e,i){var n={};return t.each(e,function(s){var r=i.options.classes[s]||"";r=t.trim(r.replace(g,"")),n[s]=(r+" "+e[s]).replace(/\s+/g," ")}),n},_setOption:function(t,e){return"direction"===t&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(t,e),"disabled"===t?void this._callChildMethod(e?"disable":"enable"):void this.refresh()},refresh:function(){var e,i=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),e=this.childWidgets,this.options.onlyVisible&&(e=e.filter(":visible")),e.length&&(t.each(["first","last"],function(t,n){var s=e[n]().data("ui-controlgroup-data");if(s&&i["_"+s.widgetName+"Options"]){var r=i["_"+s.widgetName+"Options"](1===e.length?"only":n);r.classes=i._resolveClassesValues(r.classes,s),s.element[s.widgetName](r)}else i._updateCornerClass(e[n](),n)}),this._callChildMethod("refresh"))}});t.widget("ui.checkboxradio",[t.ui.formResetMixin,{version:"1.12.1",options:{disabled:null,label:null,icon:!0,classes:{"ui-checkboxradio-label":"ui-corner-all","ui-checkboxradio-icon":"ui-corner-all"}},_getCreateOptions:function(){var e,i,n=this,s=this._super()||{};return this._readType(),i=this.element.labels(),this.label=t(i[i.length-1]),this.label.length||t.error("No label found for checkboxradio widget"),this.originalLabel="",this.label.contents().not(this.element[0]).each(function(){n.originalLabel+=3===this.nodeType?t(this).text():this.outerHTML}),this.originalLabel&&(s.label=this.originalLabel),e=this.element[0].disabled,null!=e&&(s.disabled=e),s},_create:function(){var t=this.element[0].checked;this._bindFormResetHandler(),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled),this._setOption("disabled",this.options.disabled),this._addClass("ui-checkboxradio","ui-helper-hidden-accessible"),this._addClass(this.label,"ui-checkboxradio-label","ui-button ui-widget"),"radio"===this.type&&this._addClass(this.label,"ui-checkboxradio-radio-label"),this.options.label&&this.options.label!==this.originalLabel?this._updateLabel():this.originalLabel&&(this.options.label=this.originalLabel),this._enhance(),t&&(this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),this.icon&&this._addClass(this.icon,null,"ui-state-hover")),this._on({change:"_toggleClasses",focus:function(){this._addClass(this.label,null,"ui-state-focus ui-visual-focus")},blur:function(){this._removeClass(this.label,null,"ui-state-focus ui-visual-focus")}})},_readType:function(){var e=this.element[0].nodeName.toLowerCase();this.type=this.element[0].type,"input"===e&&/radio|checkbox/.test(this.type)||t.error("Can't create checkboxradio on element.nodeName="+e+" and element.type="+this.type)},_enhance:function(){this._updateIcon(this.element[0].checked)},widget:function(){return this.label},_getRadioGroup:function(){var e,i=this.element[0].name,n="input[name='"+t.ui.escapeSelector(i)+"']";return i?(e=this.form.length?t(this.form[0].elements).filter(n):t(n).filter(function(){r
_getDefaultDate:function(t){return this._restrictMinMax(t,this._determineDate(t,this._get(t,"defaultDate"),new Date))},_determineDate:function(e,i,n){var s=function(t){var e=new Date;return e.setDate(e.getDate()+t),e},r=function(i){try{return t.datepicker.parseDate(t.datepicker._get(e,"dateFormat"),i,t.datepicker._getFormatConfig(e))}catch(n){}for(var s=(i.toLowerCase().match(/^c/)?t.datepicker._getDate(e):null)||new Date,r=s.getFullYear(),o=s.getMonth(),a=s.getDate(),l=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,u=l.exec(i);u;){switch(u[2]||"d"){case"d":case"D":a+=parseInt(u[1],10);break;case"w":case"W":a+=7*parseInt(u[1],10);break;case"m":case"M":o+=parseInt(u[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(r,o));break;case"y":case"Y":r+=parseInt(u[1],10),a=Math.min(a,t.datepicker._getDaysInMonth(r,o))}u=l.exec(i)}return new Date(r,o,a)},o=null==i||""===i?n:"string"==typeof i?r(i):"number"==typeof i?isNaN(i)?n:s(i):new Date(i.getTime());return o=o&&"Invalid Date"===o.toString()?n:o,o&&(o.setHours(0),o.setMinutes(0),o.setSeconds(0),o.setMilliseconds(0)),this._daylightSavingAdjust(o)},_daylightSavingAdjust:function(t){return t?(t.setHours(t.getHours()>12?t.getHours()+2:0),t):null},_setDate:function(t,e,i){var n=!e,s=t.selectedMonth,r=t.selectedYear,o=this._restrictMinMax(t,this._determineDate(t,e,new Date));t.selectedDay=t.currentDay=o.getDate(),t.drawMonth=t.selectedMonth=t.currentMonth=o.getMonth(),t.drawYear=t.selectedYear=t.currentYear=o.getFullYear(),s===t.selectedMonth&&r===t.selectedYear||i||this._notifyChange(t),this._adjustInstDate(t),t.input&&t.input.val(n?"":this._formatDate(t))},_getDate:function(t){var e=!t.currentYear||t.input&&""===t.input.val()?null:this._daylightSavingAdjust(new Date(t.currentYear,t.currentMonth,t.currentDay));return e},_attachHandlers:function(e){var i=this._get(e,"stepMonths"),n="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){t.datepicker._adjustDate(n,-i,"M")},next:function(){t.datepicker._adjustDate(n,+i,"M")},hide:function(){t.datepicker._hideDatepicker()},today:function(){t.datepicker._gotoToday(n)},selectDay:function(){return t.datepicker._selectDay(n,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return t.datepicker._selectMonthYear(n,this,"M"),!1},selectYear:function(){return t.datepicker._selectMonthYear(n,this,"Y"),!1}};t(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(t){var e,i,n,s,r,o,a,l,u,c,h,d,p,f,g,m,v,y,_,b,w,x,C,k,D,T,S,A,E,I,O,$,P,M,N,j,F,H,L,R=new Date,z=this._daylightSavingAdjust(new Date(R.getFullYear(),R.getMonth(),R.getDate())),W=this._get(t,"isRTL"),U=this._get(t,"showButtonPanel"),B=this._get(t,"hideIfNoPrevNext"),q=this._get(t,"navigationAsDateFormat"),Y=this._getNumberOfMonths(t),V=this._get(t,"showCurrentAtPos"),X=this._get(t,"stepMonths"),K=1!==Y[0]||1!==Y[1],G=this._daylightSavingAdjust(t.currentDay?new Date(t.currentYear,t.currentMonth,t.currentDay):new Date(9999,9,9)),Q=this._getMinMaxDate(t,"min"),Z=this._getMinMaxDate(t,"max"),J=t.drawMonth-V,tt=t.drawYear;if(J<0&&(J+=12,tt--),Z)for(e=this._daylightSavingAdjust(new Date(Z.getFullYear(),Z.getMonth()-Y[0]*Y[1]+1,Z.getDate())),e=Q&&e<Q?Q:e;this._daylightSavingAdjust(new Date(tt,J,1))>e;)J--,J<0&&(J=11,tt--);for(t.drawMonth=J,t.drawYear=tt,i=this._get(t,"prevText"),i=q?this.formatDate(i,this._daylightSavingAdjust(new Date(tt,J-X,1)),this._getFormatConfig(t)):i,n=this._canAdjustMonth(t,-1,tt,J)?"<a class='ui-datepicker-prev ui-corner-all' data-handler='prev' data-event='click' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+i+"</span></a>":B?"":"<a class='ui-datepicker-prev ui-corner-all ui-state-disabled' title='"+i+"'><span class='ui-icon ui-icon-circle-triangle-"+(W?"e":"w")+"'>"+i+"</span></a>",s=this._get(t,"nextText"),s=q?this.formatDate(s,this._daylightSavingAdjust(new Date(tt,J+X,1)),this._getFormatConfig(t)):s,r=this._canAdjustMonth(t,1,tt,J)?"<a class='ui-datepicker-next ui-corner-all' data-handler='next' data-ev
h=c+n.snapElements[d].height,v<l-g||m>u+g||_<c-g||y>h+g||!t.contains(n.snapElements[d].item.ownerDocument,n.snapElements[d].item)?(n.snapElements[d].snapping&&n.options.snap.release&&n.options.snap.release.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=!1):("inner"!==f.snapMode&&(s=Math.abs(c-_)<=g,r=Math.abs(h-y)<=g,o=Math.abs(l-v)<=g,a=Math.abs(u-m)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:c-n.helperProportions.height,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:h,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l-n.helperProportions.width}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u}).left)),p=s||r||o||a,"outer"!==f.snapMode&&(s=Math.abs(c-y)<=g,r=Math.abs(h-_)<=g,o=Math.abs(l-m)<=g,a=Math.abs(u-v)<=g,s&&(i.position.top=n._convertPositionTo("relative",{top:c,left:0}).top),r&&(i.position.top=n._convertPositionTo("relative",{top:h-n.helperProportions.height,left:0}).top),o&&(i.position.left=n._convertPositionTo("relative",{top:0,left:l}).left),a&&(i.position.left=n._convertPositionTo("relative",{top:0,left:u-n.helperProportions.width}).left)),!n.snapElements[d].snapping&&(s||r||o||a||p)&&n.options.snap.snap&&n.options.snap.snap.call(n.element,e,t.extend(n._uiHash(),{snapItem:n.snapElements[d].item})),n.snapElements[d].snapping=s||r||o||a||p)}}),t.ui.plugin.add("draggable","stack",{start:function(e,i,n){var s,r=n.options,o=t.makeArray(t(r.stack)).sort(function(e,i){return(parseInt(t(e).css("zIndex"),10)||0)-(parseInt(t(i).css("zIndex"),10)||0)});o.length&&(s=parseInt(t(o[0]).css("zIndex"),10)||0,t(o).each(function(e){t(this).css("zIndex",s+e)}),this.css("zIndex",s+o.length))}}),t.ui.plugin.add("draggable","zIndex",{start:function(e,i,n){var s=t(i.helper),r=n.options;s.css("zIndex")&&(r._zIndex=s.css("zIndex")),s.css("zIndex",r.zIndex)},stop:function(e,i,n){var s=n.options;s._zIndex&&t(i.helper).css("zIndex",s._zIndex)}});t.ui.draggable;t.widget("ui.resizable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"resize",options:{alsoResize:!1,animate:!1,animateDuration:"slow",animateEasing:"swing",aspectRatio:!1,autoHide:!1,classes:{"ui-resizable-se":"ui-icon ui-icon-gripsmall-diagonal-se"},containment:!1,ghost:!1,grid:!1,handles:"e,s,se",helper:!1,maxHeight:null,maxWidth:null,minHeight:10,minWidth:10,zIndex:90,resize:null,start:null,stop:null},_num:function(t){return parseFloat(t)||0},_isNumber:function(t){return!isNaN(parseFloat(t))},_hasScroll:function(e,i){if("hidden"===t(e).css("overflow"))return!1;var n=i&&"left"===i?"scrollLeft":"scrollTop",s=!1;return e[n]>0||(e[n]=1,s=e[n]>0,e[n]=0,s)},_create:function(){var e,i=this.options,n=this;this._addClass("ui-resizable"),t.extend(this,{_aspectRatio:!!i.aspectRatio,aspectRatio:i.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:i.helper||i.ghost||i.animate?i.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(t("<div class='ui-wrapper' style='overflow: hidden;'></div>").css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("ui-resizable",this.element.resizable("instance")),this.elementIsWrapper=!0,e={marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom"),marginLeft:this.originalElement.css("marginLeft")},this.element.css(e),this.originalElement.css("margin",0),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css(e),this._proportionallyResize()),this._setupHandles(),i.autoHide&&t(this.element).on("mouseenter",function(){i.disabled||(n._removeClass("ui-resizable-autohide"),n._handle
mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1)}},_destroyOverlay:function(){if(this.options.modal&&this.overlay){var t=this.document.data("ui-dialog-overlays")-1;t?this.document.data("ui-dialog-overlays",t):(this._off(this.document,"focusin"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null}}}),t.uiBackCompat!==!1&&t.widget("ui.dialog",t.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(t,e){"dialogClass"===t&&this.uiDialog.removeClass(this.options.dialogClass).addClass(e),this._superApply(arguments)}});t.ui.dialog;t.widget("ui.droppable",{version:"1.12.1",widgetEventPrefix:"drop",options:{accept:"*",addClasses:!0,greedy:!1,scope:"default",tolerance:"intersect",activate:null,deactivate:null,drop:null,out:null,over:null},_create:function(){var e,i=this.options,n=i.accept;this.isover=!1,this.isout=!0,this.accept=t.isFunction(n)?n:function(t){return t.is(n)},this.proportions=function(){return arguments.length?void(e=arguments[0]):e?e:e={width:this.element[0].offsetWidth,height:this.element[0].offsetHeight}},this._addToManager(i.scope),i.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){t.ui.ddmanager.droppables[e]=t.ui.ddmanager.droppables[e]||[],t.ui.ddmanager.droppables[e].push(this)},_splice:function(t){for(var e=0;e<t.length;e++)t[e]===this&&t.splice(e,1)},_destroy:function(){var e=t.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,i){if("accept"===e)this.accept=t.isFunction(i)?i:function(t){return t.is(i)};else if("scope"===e){var n=t.ui.ddmanager.droppables[this.options.scope];this._splice(n),this._addToManager(i)}this._super(e,i)},_activate:function(e){var i=t.ui.ddmanager.current;this._addActiveClass(),i&&this._trigger("activate",e,this.ui(i))},_deactivate:function(e){var i=t.ui.ddmanager.current;this._removeActiveClass(),i&&this._trigger("deactivate",e,this.ui(i))},_over:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(i)))},_out:function(e){var i=t.ui.ddmanager.current;i&&(i.currentItem||i.element)[0]!==this.element[0]&&this.accept.call(this.element[0],i.currentItem||i.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(i)))},_drop:function(e,i){var n=i||t.ui.ddmanager.current,s=!1;return!(!n||(n.currentItem||n.element)[0]===this.element[0])&&(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var i=t(this).droppable("instance");if(i.options.greedy&&!i.options.disabled&&i.options.scope===n.options.scope&&i.accept.call(i.element[0],n.currentItem||n.element)&&y(n,t.extend(i,{offset:i.element.offset()}),i.options.tolerance,e))return s=!0,!1}),!s&&(!!this.accept.call(this.element[0],n.currentItem||n.element)&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",e,this.ui(n)),this.element)))},ui:function(t){return{draggable:t.currentItem||t.element,helper:t.helper,position:t.position,offset:t.positionAbs}},_addHoverClass:function(){this._addClass("ui-droppable-hover")},_removeHoverClass:function(){this._removeClass("ui-droppable-hover")},_addActiveClass:function(){this._addClass("ui-droppable-active")},_removeActiveClass:function(){this._removeClass("ui-droppable-active")}});var y=t.ui.intersect=function(){function t(t,e,i){return t>=e&&t<e+i}return function(e,i,n,s){if(!i.offset)return!1;var r=(e.positionAbs||e.position.absolute).left+e.margins.left,o=(e.positionAbs||e.position.absolute).top+e.margins.top,a=r+e.helperProportions.width,l=o+e.helperProportions.height,u=i.offset.left,c=i.offset.top,h=u+i.proportions().width,d=c+i.proportions().height;switch(n){case"fit":return u<=r&&a<=h&&c<=o&&l<=d;case"intersect":return u<r+e.helperProportions.width/2&&a-e.helperProportions.width/2<h&&c<o+e.helperProportions.height/2&&l-e.helperProportions.hei
i=this._start(e,o),i===!1))return}switch(r=this.options.step,n=s=this._hasMultipleValues()?this.values(o):this.value(),e.keyCode){case t.ui.keyCode.HOME:s=this._valueMin();break;case t.ui.keyCode.END:s=this._valueMax();break;case t.ui.keyCode.PAGE_UP:s=this._trimAlignValue(n+(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.PAGE_DOWN:s=this._trimAlignValue(n-(this._valueMax()-this._valueMin())/this.numPages);break;case t.ui.keyCode.UP:case t.ui.keyCode.RIGHT:if(n===this._valueMax())return;s=this._trimAlignValue(n+r);break;case t.ui.keyCode.DOWN:case t.ui.keyCode.LEFT:if(n===this._valueMin())return;s=this._trimAlignValue(n-r)}this._slide(e,o,s)},keyup:function(e){var i=t(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,i),this._change(e,i),this._removeClass(t(e.target),null,"ui-state-active"))}}}),t.widget("ui.sortable",t.ui.mouse,{version:"1.12.1",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,i){return t>=e&&t<e+i},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")})},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,i){var n=null,s=!1,r=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each(function(){if(t.data(this,r.widgetName+"-item")===r)return n=t(this),!1}),t.data(e.target,r.widgetName+"-item")===r&&(n=t(e.target)),!!n&&(!(this.options.handle&&!i&&(t(this.options.handle,n).find("*").addBack().each(function(){this===e.target&&(s=!0)}),!s))&&(this.currentItem=n,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,i,n){var s,r,o=this.options;if(this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,o.cursorAt&&this._adjustOffsetFromHelper(o.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),o.containment&&this._setContainment(),o.cursor&&"auto"!==o.cursor&&(r=this.document.find("body"),this.storedCursor=r.css("cursor"),r.css("cursor",o.cursor),this.storedStylesheet=t("<style>*{ cursor: "+o.cursor+" !important; }</style>").appendTo(r)),o.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",o.opacity)),o.zIn
this._stepUp((t||1)*this.options.page)}),pageDown:a(function(t){this._stepDown((t||1)*this.options.page)}),value:function(t){return arguments.length?void a(this._value).call(this,t):this._parse(this.element.val())},widget:function(){return this.uiSpinner}}),t.uiBackCompat!==!1&&t.widget("ui.spinner",t.ui.spinner,{_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap(this._uiSpinnerHtml()).parent().append(this._buttonHtml())},_uiSpinnerHtml:function(){return"<span>"},_buttonHtml:function(){return"<a></a><a></a>"}});t.ui.spinner;t.widget("ui.tabs",{version:"1.12.1",delay:300,options:{active:null,classes:{"ui-tabs":"ui-corner-all","ui-tabs-nav":"ui-corner-all","ui-tabs-panel":"ui-corner-bottom","ui-tabs-tab":"ui-corner-top"},collapsible:!1,event:"click",heightStyle:"content",hide:null,show:null,activate:null,beforeActivate:null,beforeLoad:null,load:null},_isLocal:function(){var t=/#.*$/;return function(e){var i,n;i=e.href.replace(t,""),n=location.href.replace(t,"");try{i=decodeURIComponent(i)}catch(s){}try{n=decodeURIComponent(n)}catch(s){}return e.hash.length>1&&i===n}}(),_create:function(){var e=this,i=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,i.collapsible),this._processTabs(),i.active=this._initialActive(),t.isArray(i.disabled)&&(i.disabled=t.unique(i.disabled.concat(t.map(this.tabs.filter(".ui-state-disabled"),function(t){return e.tabs.index(t)}))).sort()),this.options.active!==!1&&this.anchors.length?this.active=this._findActive(i.active):this.active=t(),this._refresh(),this.active.length&&this.load(i.active)},_initialActive:function(){var e=this.options.active,i=this.options.collapsible,n=location.hash.substring(1);return null===e&&(n&&this.tabs.each(function(i,s){if(t(s).attr("aria-controls")===n)return e=i,!1}),null===e&&(e=this.tabs.index(this.tabs.filter(".ui-tabs-active"))),null!==e&&e!==-1||(e=!!this.tabs.length&&0)),e!==!1&&(e=this.tabs.index(this.tabs.eq(e)),e===-1&&(e=!i&&0)),!i&&e===!1&&this.anchors.length&&(e=0),e},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):t()}},_tabKeydown:function(e){var i=t(t.ui.safeActiveElement(this.document[0])).closest("li"),n=this.tabs.index(i),s=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case t.ui.keyCode.RIGHT:case t.ui.keyCode.DOWN:n++;break;case t.ui.keyCode.UP:case t.ui.keyCode.LEFT:s=!1,n--;break;case t.ui.keyCode.END:n=this.anchors.length-1;break;case t.ui.keyCode.HOME:n=0;break;case t.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n);case t.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(n!==this.options.active&&n);default:return}e.preventDefault(),clearTimeout(this.activating),n=this._focusNextTab(n,s),e.ctrlKey||e.metaKey||(i.attr("aria-selected","false"),this.tabs.eq(n).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",n)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===t.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===t.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===t.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,i){function n(){return e>s&&(e=0),e<0&&(e=s),e}for(var s=this.tabs.length-1;t.inArray(n(),this.options.disabled)!==-1;)e=i?e+1:e-1;return e},_focusNextTab:function(t,e){return t=this._findNextTab(t,e),this.tabs.eq(t).trigger("focus"),t},_setOption:function(t,e){return"active"===t?void this._activate(e):(this._super(t,e),"collapsible"===t&&(this._toggleClass("ui-tabs-collapsible",null,e),e||this.options.active!==!1||this._activate(0)),"event"===t&&this._setupEvents(e),void("heightStyle"===t&&this._setupHeightStyle(e)))},_sanitizeSelector:function(t){return t?t.replace(/[!"$%&'()*+,.\/:;<=>?@\[\]\^`{|}~]/
delegatedEvent:e}),this)!==!1&&n._onSend(e,this)),this.jqXHR||n._getXHRPromise()},i.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",n._trigger("fail",null,this),n._getXHRPromise(!1))},i.state=function(){return this.jqXHR?n._getDeferredState(this.jqXHR):this._processQueue?n._getDeferredState(this._processQueue):void 0},i.processing=function(){return!this.jqXHR&&this._processQueue&&"pending"===n._getDeferredState(this._processQueue)},i.progress=function(){return this._progress},i.response=function(){return this._response}},_getUploadedBytes:function(t){var e=t.getResponseHeader("Range"),i=e&&e.split("-"),n=i&&i.length>1&&parseInt(i[1],10);return n&&n+1},_chunkedUpload:function(e,i){e.uploadedBytes=e.uploadedBytes||0;var n,s,r=this,o=e.files[0],a=o.size,l=e.uploadedBytes,u=e.maxChunkSize||a,c=this._blobSlice,h=t.Deferred(),d=h.promise();return!(!(this._isXHRUpload(e)&&c&&(l||u<a))||e.data)&&(!!i||(l>=a?(o.error=e.i18n("uploadedBytes"),this._getXHRPromise(!1,e.context,[null,"error",o.error])):(s=function(){var i=t.extend({},e),d=i._progress.loaded;i.blob=c.call(o,l,l+u,o.type),i.chunkSize=i.blob.size,i.contentRange="bytes "+l+"-"+(l+i.chunkSize-1)+"/"+a,r._initXHRData(i),r._initProgressListener(i),n=(r._trigger("chunksend",null,i)!==!1&&t.ajax(i)||r._getXHRPromise(!1,i.context)).done(function(n,o,u){l=r._getUploadedBytes(u)||l+i.chunkSize,d+i.chunkSize-i._progress.loaded&&r._onProgress(t.Event("progress",{lengthComputable:!0,loaded:l-i.uploadedBytes,total:l-i.uploadedBytes}),i),e.uploadedBytes=i.uploadedBytes=l,i.result=n,i.textStatus=o,i.jqXHR=u,r._trigger("chunkdone",null,i),r._trigger("chunkalways",null,i),l<a?s():h.resolveWith(i.context,[n,o,u])}).fail(function(t,e,n){i.jqXHR=t,i.textStatus=e,i.errorThrown=n,r._trigger("chunkfail",null,i),r._trigger("chunkalways",null,i),h.rejectWith(i.context,[t,e,n])})},this._enhancePromise(d),d.abort=function(){return n.abort()},s(),d)))},_beforeSend:function(t,e){0===this._active&&(this._trigger("start"),this._bitrateTimer=new this._BitrateTimer,this._progress.loaded=this._progress.total=0,this._progress.bitrate=0),this._initResponseObject(e),this._initProgressObject(e),e._progress.loaded=e.loaded=e.uploadedBytes||0,e._progress.total=e.total=this._getTotal(e.files)||1,e._progress.bitrate=e.bitrate=0,this._active+=1,this._progress.loaded+=e.loaded,this._progress.total+=e.total},_onDone:function(e,i,n,s){var r=s._progress.total,o=s._response;s._progress.loaded<r&&this._onProgress(t.Event("progress",{lengthComputable:!0,loaded:r,total:r}),s),o.result=s.result=e,o.textStatus=s.textStatus=i,o.jqXHR=s.jqXHR=n,this._trigger("done",null,s)},_onFail:function(t,e,i,n){var s=n._response;n.recalculateProgress&&(this._progress.loaded-=n._progress.loaded,this._progress.total-=n._progress.total),s.jqXHR=n.jqXHR=t,s.textStatus=n.textStatus=e,s.errorThrown=n.errorThrown=i,this._trigger("fail",null,n)},_onAlways:function(t,e,i,n){this._trigger("always",null,n)},_onSend:function(e,i){i.submit||this._addConvenienceMethods(e,i);var n,s,r,o,a=this,l=a._getAJAXSettings(i),u=function(){return a._sending+=1,l._bitrateTimer=new a._BitrateTimer,n=n||((s||a._trigger("send",t.Event("send",{delegatedEvent:e}),l)===!1)&&a._getXHRPromise(!1,l.context,s)||a._chunkedUpload(l)||t.ajax(l)).done(function(t,e,i){a._onDone(t,e,i,l)}).fail(function(t,e,i){a._onFail(t,e,i,l)}).always(function(t,e,i){if(a._onAlways(t,e,i,l),a._sending-=1,a._active-=1,l.limitConcurrentUploads&&l.limitConcurrentUploads>a._sending)for(var n=a._slots.shift();n;){if("pending"===a._getDeferredState(n)){n.resolve();break}n=a._slots.shift()}0===a._active&&a._trigger("stop")})};return this._beforeSend(e,l),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(r=t.Deferred(),this._slots.push(r),o=r.then(u)):(this._sequence=this._sequence.then(u,u),o=this._sequence),o.abort=function(){return s=[void 0,"abort","abort"],n?n.abort():(r&&r.rejectWith(l.context,s),u())},this._enhancePromise(o)):u()},_onAdd:function(e,i){
left:n.left})},show:function(t){this.isDisabled()||(this.picker.addClass("colorpicker-visible").removeClass("colorpicker-hidden"),this.reposition(),i(e).on("resize.colorpicker",i.proxy(this.reposition,this)),!t||this.hasInput()&&"color"!==this.input.attr("type")||t.stopPropagation&&t.preventDefault&&(t.stopPropagation(),t.preventDefault()),!this.component&&this.input||this.options.inline!==!1||i(e.document).on({"mousedown.colorpicker":i.proxy(this.hide,this)}),this.element.trigger({type:"showPicker",color:this.color}))},hide:function(t){return("undefined"==typeof t||!t.target||!(i(t.currentTarget).parents(".colorpicker").length>0||i(t.target).parents(".colorpicker").length>0))&&(this.picker.addClass("colorpicker-hidden").removeClass("colorpicker-visible"),i(e).off("resize.colorpicker",this.reposition),i(e.document).off({"mousedown.colorpicker":this.hide}),this.update(),void this.element.trigger({type:"hidePicker",color:this.color}))},updateData:function(t){return t=t||this.color.toString(this.format,!1),this.element.data("color",t),t},updateInput:function(t){return t=t||this.color.toString(this.format,!1),this.input!==!1&&this.input.prop("value",t),t},updatePicker:function(t){"undefined"!=typeof t&&(this.color=this.createColor(t));var e=this.options.horizontal===!1?this.options.sliders:this.options.slidersHorz,i=this.picker.find("i");if(0!==i.length)return this.options.horizontal===!1?(e=this.options.sliders,i.eq(1).css("top",e.hue.maxTop*(1-this.color.value.h)).end().eq(2).css("top",e.alpha.maxTop*(1-this.color.value.a))):(e=this.options.slidersHorz,i.eq(1).css("left",e.hue.maxLeft*(1-this.color.value.h)).end().eq(2).css("left",e.alpha.maxLeft*(1-this.color.value.a))),i.eq(0).css({top:e.saturation.maxTop-this.color.value.b*e.saturation.maxTop,left:this.color.value.s*e.saturation.maxLeft}),this.picker.find(".colorpicker-saturation").css("backgroundColor",this.color.toHex(this.color.value.h,1,1,1)),this.picker.find(".colorpicker-alpha").css("backgroundColor",this.color.toHex()),this.picker.find(".colorpicker-color, .colorpicker-color div").css("backgroundColor",this.color.toString(this.format,!0)),t},updateComponent:function(t){var e;if(e="undefined"!=typeof t?this.createColor(t):this.color,this.component!==!1){var i=this.component.find("i").eq(0);i.length>0?i.css({backgroundColor:e.toString(this.format,!0)}):this.component.css({backgroundColor:e.toString(this.format,!0)})}return e.toString(this.format,!1)},update:function(t){var e;return this.getValue(!1)===!1&&t!==!0||(e=this.updateComponent(),this.updateInput(e),this.updateData(e),this.updatePicker()),e},setValue:function(t){this.color=this.createColor(t),this.update(!0),this.element.trigger({type:"changeColor",color:this.color,value:t})},createColor:function(t){return new n(t?t:null,this.options.colorSelectors,this.options.fallbackColor?this.options.fallbackColor:this.color,this.options.fallbackFormat)},getValue:function(t){t="undefined"==typeof t?this.options.fallbackColor:t;var e;return e=this.hasInput()?this.input.val():this.element.data("color"),void 0!==e&&""!==e&&null!==e||(e=t),e},hasInput:function(){return this.input!==!1},isDisabled:function(){return!!this.hasInput()&&this.input.prop("disabled")===!0},disable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!0),this.element.trigger({type:"disable",color:this.color,value:this.getValue()}),!0)},enable:function(){return!!this.hasInput()&&(this.input.prop("disabled",!1),this.element.trigger({type:"enable",color:this.color,value:this.getValue()}),!0)},currentSlider:null,mousePointer:{left:0,top:0},mousedown:function(t){!t.pageX&&!t.pageY&&t.originalEvent&&t.originalEvent.touches&&(t.pageX=t.originalEvent.touches[0].pageX,t.pageY=t.originalEvent.touches[0].pageY),t.stopPropagation(),t.preventDefault();var n=i(t.target),s=n.closest("div"),r=this.options.horizontal?this.options.slidersHorz:this.options.sliders;if(!s.is(".colorpicker")){if(s.is(".colorpicker-saturation"))this.currentSlider=i.extend({},r.saturation);else if(s.is(".colorpicker-hue"))this.currentSlider=i.extend({},r.hue);else{if(!s.is(".c
i=this.moveAvailableDate(s,e,"moveYear")),i&&(this.focusDate=this.viewDate=i,this.setValue(),this.fill(),t.preventDefault());break;case 13:if(!this.o.forceParse)break;s=this.focusDate||this.dates.get(-1)||this.viewDate,this.o.keyboardNavigation&&(this._toggle_multidate(s),n=!0),this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.setValue(),this.fill(),this.picker.is(":visible")&&(t.preventDefault(),t.stopPropagation(),this.o.autoclose&&this.hide());break;case 9:this.focusDate=null,this.viewDate=this.dates.get(-1)||this.viewDate,this.fill(),this.hide()}n&&(this.dates.length?this._trigger("changeDate"):this._trigger("clearDate"),this.inputField&&this.inputField.change())},showMode:function(t){t&&(this.viewMode=Math.max(this.o.minViewMode,Math.min(this.o.maxViewMode,this.viewMode+t))),this.picker.children("div").hide().filter(".datepicker-"+v.modes[this.viewMode].clsName).show(),this.updateNavArrows()}};var h=function(e,i){t(e).data("datepicker",this),this.element=t(e),this.inputs=t.map(i.inputs,function(t){return t.jquery?t[0]:t}),delete i.inputs,p.call(t(this.inputs),i).on("changeDate",t.proxy(this.dateUpdated,this)),this.pickers=t.map(this.inputs,function(e){return t(e).data("datepicker")}),this.updateDates()};h.prototype={updateDates:function(){this.dates=t.map(this.pickers,function(t){return t.getUTCDate()}),this.updateRanges()},updateRanges:function(){var e=t.map(this.dates,function(t){return t.valueOf()});t.each(this.pickers,function(t,i){i.setRange(e)})},dateUpdated:function(e){if(!this.updating){this.updating=!0;var i=t(e.target).data("datepicker");if("undefined"!=typeof i){var n=i.getUTCDate(),s=t.inArray(e.target,this.inputs),r=s-1,o=s+1,a=this.inputs.length;if(s!==-1){if(t.each(this.pickers,function(t,e){e.getUTCDate()||e.setUTCDate(n)}),n<this.dates[r])for(;r>=0&&n<this.dates[r];)this.pickers[r--].setUTCDate(n);else if(n>this.dates[o])for(;o<a&&n>this.dates[o];)this.pickers[o++].setUTCDate(n);this.updateDates(),delete this.updating}}}},remove:function(){t.map(this.pickers,function(t){t.remove()}),delete this.element.data().datepicker}};var d=t.fn.datepicker,p=function(i){var n=Array.apply(null,arguments);n.shift();var s;if(this.each(function(){var e=t(this),r=e.data("datepicker"),o="object"==typeof i&&i;if(!r){var u=a(this,"date"),d=t.extend({},f,u,o),p=l(d.language),g=t.extend({},f,p,u,o);e.hasClass("input-daterange")||g.inputs?(t.extend(g,{inputs:g.inputs||e.find("input").toArray()}),r=new h(this,g)):r=new c(this,g),e.data("datepicker",r)}"string"==typeof i&&"function"==typeof r[i]&&(s=r[i].apply(r,n))}),s===e||s instanceof c||s instanceof h)return this;if(this.length>1)throw new Error("Using only allowed for the collection of a single element ("+i+" function)");return s};t.fn.datepicker=p;var f=t.fn.datepicker.defaults={assumeNearbyYear:!1,autoclose:!1,beforeShowDay:t.noop,beforeShowMonth:t.noop,beforeShowYear:t.noop,beforeShowDecade:t.noop,beforeShowCentury:t.noop,calendarWeeks:!1,clearBtn:!1,toggleActive:!1,daysOfWeekDisabled:[],daysOfWeekHighlighted:[],datesDisabled:[],endDate:1/0,forceParse:!0,format:"mm/dd/yyyy",keyboardNavigation:!0,language:"en",minViewMode:0,maxViewMode:4,multidate:!1,multidateSeparator:",",orientation:"auto",rtl:!1,startDate:-(1/0),startView:0,todayBtn:!1,todayHighlight:!1,weekStart:0,disableTouchKeyboard:!1,enableOnReadonly:!0,showOnFocus:!0,zIndexOffset:10,container:"body",immediateUpdates:!1,title:"",templates:{leftArrow:"&laquo;",rightArrow:"&raquo;"}},g=t.fn.datepicker.locale_opts=["format","rtl","weekStart"];t.fn.datepicker.Constructor=c;var m=t.fn.datepicker.dates={en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",titleFormat:"MM yyyy"}},v={modes:[{clsName:"days",navFnc:"Month",navStep:1},{clsName
i.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),i},e.prototype.update=function(t,e){var i=1==e.length&&e[0].id!=this.placeholder.id,n=e.length>1;if(n||i)return t.call(this,e);this.clear();var s=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(s)},e}),e.define("select2/selection/allowClear",["jquery","../keys"],function(t,e){function i(){}return i.prototype.bind=function(t,e,i){var n=this;t.call(this,e,i),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error,this.$selection.on("mousedown",".select2-selection__clear",function(t){n._handleClear(t)}),e.on("keypress",function(t){n._handleKeyboardClear(t,e)})},i.prototype._handleClear=function(t,e){if(!this.options.get("disabled")){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){e.stopPropagation();for(var n=i.data("data"),s=0;s<n.length;s++){var r={data:n[s]};if(this.trigger("unselect",r),r.prevented)return}this.$element.val(this.placeholder.id).trigger("change"),this.trigger("toggle",{})}}},i.prototype._handleKeyboardClear=function(t,i,n){n.isOpen()||i.which!=e.DELETE&&i.which!=e.BACKSPACE||this._handleClear(i)},i.prototype.update=function(e,i){if(e.call(this,i),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var n=t('<span class="select2-selection__clear">&times;</span>');n.data("data",i),this.$selection.find(".select2-selection__rendered").prepend(n)}},i}),e.define("select2/selection/search",["jquery","../utils","../keys"],function(t,e,i){function n(t,e,i){t.call(this,e,i)}return n.prototype.render=function(e){var i=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="off" spellcheck="false" role="textbox" aria-autocomplete="list" /></li>');this.$searchContainer=i,this.$search=i.find("input");var n=e.call(this);return this._transferTabIndex(),n},n.prototype.bind=function(t,e,n){var s=this;t.call(this,e,n),e.on("open",function(){s.$search.trigger("focus")}),e.on("close",function(){s.$search.val(""),s.$search.removeAttr("aria-activedescendant"),s.$search.trigger("focus")}),e.on("enable",function(){s.$search.prop("disabled",!1),s._transferTabIndex()}),e.on("disable",function(){s.$search.prop("disabled",!0)}),e.on("focus",function(t){s.$search.trigger("focus")}),e.on("results:focus",function(t){s.$search.attr("aria-activedescendant",t.id)}),this.$selection.on("focusin",".select2-search--inline",function(t){s.trigger("focus",t)}),this.$selection.on("focusout",".select2-search--inline",function(t){s._handleBlur(t)}),this.$selection.on("keydown",".select2-search--inline",function(t){t.stopPropagation(),s.trigger("keypress",t),s._keyUpPrevented=t.isDefaultPrevented();var e=t.which;if(e===i.BACKSPACE&&""===s.$search.val()){var n=s.$searchContainer.prev(".select2-selection__choice");if(n.length>0){var r=n.data("data");s.searchRemoveChoice(r),t.preventDefault()}}});var r=document.documentMode,o=r&&r<=11;this.$selection.on("input.searchcheck",".select2-search--inline",function(t){return o?void s.$selection.off("input.search input.searchcheck"):void s.$selection.off("keyup.search")}),this.$selection.on("keyup.search input.search",".select2-search--inline",function(t){if(o&&"input"===t.type)return void s.$selection.off("input.search input.searchcheck");var e=t.which;e!=i.SHIFT&&e!=i.CTRL&&e!=i.ALT&&e!=i.TAB&&s.handleSearch(t)})},n.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},n.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},n.prototype.update=function(t,e){var i=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),i&&this.$search.focus()},n.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=thi
}if(0!==h.minimumResultsForSearch&&(h.dropdownAdapter=u.Decorate(h.dropdownAdapter,D)),h.closeOnSelect&&(h.dropdownAdapter=u.Decorate(h.dropdownAdapter,S)),null!=h.dropdownCssClass||null!=h.dropdownCss||null!=h.adaptDropdownCssClass){var O=e(h.amdBase+"compat/dropdownCss");h.dropdownAdapter=u.Decorate(h.dropdownAdapter,O)}h.dropdownAdapter=u.Decorate(h.dropdownAdapter,k)}if(null==h.selectionAdapter){if(h.multiple?h.selectionAdapter=s:h.selectionAdapter=n,null!=h.placeholder&&(h.selectionAdapter=u.Decorate(h.selectionAdapter,r)),h.allowClear&&(h.selectionAdapter=u.Decorate(h.selectionAdapter,o)),h.multiple&&(h.selectionAdapter=u.Decorate(h.selectionAdapter,a)),null!=h.containerCssClass||null!=h.containerCss||null!=h.adaptContainerCssClass){var $=e(h.amdBase+"compat/containerCss");h.selectionAdapter=u.Decorate(h.selectionAdapter,$)}h.selectionAdapter=u.Decorate(h.selectionAdapter,l)}if("string"==typeof h.language)if(h.language.indexOf("-")>0){var P=h.language.split("-"),M=P[0];h.language=[h.language,M]}else h.language=[h.language];if(t.isArray(h.language)){var N=new c;h.language.push("en");for(var j=h.language,F=0;F<j.length;F++){var H=j[F],L={};try{L=c.loadPath(H)}catch(R){try{H=this.defaults.amdLanguageBase+H,L=c.loadPath(H)}catch(z){h.debug&&window.console&&console.warn;continue}}N.extend(L)}h.translations=N}else{var W=c.loadPath(this.defaults.amdLanguageBase+"en"),U=new c(h.language);U.extend(W),h.translations=U}return h},E.prototype.reset=function(){function e(t){function e(t){return h[t]||t}return t.replace(/[^\u0000-\u007E]/g,e)}function i(n,s){if(""===t.trim(n.term))return s;if(s.children&&s.children.length>0){for(var r=t.extend(!0,{},s),o=s.children.length-1;o>=0;o--){var a=s.children[o],l=i(n,a);null==l&&r.children.splice(o,1)}return r.children.length>0?r:i(n,r)}var u=e(s.text).toUpperCase(),c=e(n.term).toUpperCase();return u.indexOf(c)>-1?s:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:u.escapeMarkup,language:A,matcher:i,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},E.prototype.set=function(e,i){var n=t.camelCase(e),s={};s[n]=i;var r=u._convertData(s);t.extend(this.defaults,r)};var I=new E;return I}),e.define("select2/options",["require","jquery","./defaults","./utils"],function(t,e,i,n){function s(e,s){if(this.options=e,null!=s&&this.fromElement(s),this.options=i.apply(this.options),s&&s.is("input")){var r=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=n.Decorate(this.options.dataAdapter,r)}}return s.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.language&&(t.prop("lang")?this.options.language=t.prop("lang").toLowerCase():t.closest("[lang]").prop("lang")&&(this.options.language=t.closest("[lang]").prop("lang"))),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),t.data("select2Tags")&&(this.options.debug&&window.console&&console.warn,t.data("data",t.data("select2Tags")),t.data("tags",!0)),t.data("ajaxUrl")&&(this.options.debug&&window.console&&console.warn,t.attr("ajax--url",t.data("ajaxUrl")),t.data("ajax--url",t.data("ajaxUrl")));var s={};s=e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset?e.extend(!0,{},t[0].dataset,t.data()):t.data();var r=e.extend(!0,{},s);r=n._convertData(r);for(var o in r)e.inArray(o,i)>-1||(e.isPlainObject(this.options[o])?e.extend(this.options[o],r[o]):this.options[o]=r[o]);return this},s.prototype.get=function(t){return this.options[t]},s.prototype.set=function(t,e){this.options[t]=e},s}),e.define("select2/core
"http:":80,"https:":443}[location.protocol]+")?$"),"")!==location.host}},{key:"_error",value:function(t){return this._containerToUse().html(t),this._resize(300,300),this}},{key:"_preloadImageByIndex",value:function(e,i){if(this._$galleryItems){var n=t(this._$galleryItems.get(e),!1);if("undefined"!=typeof n){var s=n.attr("data-remote")||n.attr("href");return("image"===n.attr("data-type")||this._isImage(s))&&this._preloadImage(s,!1),i>0?this._preloadImageByIndex(e+1,i-1):void 0}}}},{key:"_preloadImage",value:function(e,i){var n=this;i=i||!1;var s=new Image;return i&&!function(){var r=setTimeout(function(){i.append(n._config.loadingMessage)},200);s.onload=function(){r&&clearTimeout(r),r=null;var e=t("<img />");return e.attr("src",s.src),e.addClass("img-fluid"),i.html(e),n._$modalArrows&&n._$modalArrows.css("display",""),n._resize(s.width,s.height),n._toggleLoading(!1),n._config.onContentLoaded.call(n)},s.onerror=function(){return n._toggleLoading(!1),n._error(n._config.strings.fail+(" "+e))}}(),s.src=e,s}},{key:"_resize",value:function(e,i){i=i||e,this._wantedWidth=e,this._wantedHeight=i;var n=this._padding.left+this._padding.right+this._border.left+this._border.right,s=Math.min(e+n,this._config.doc.body.clientWidth);e+n>s?(i=(s-n)/e*i,e=s):e+=n;var r=0,o=0;this._footerIsShown&&(o=this._$modalFooter.outerHeight(!0)||55),this._titleIsShown&&(r=this._$modalHeader.outerHeight(!0)||67);var a=this._padding.top+this._padding.bottom+this._border.bottom+this._border.top,l=parseFloat(this._$modalDialog.css("margin-top"))+parseFloat(this._$modalDialog.css("margin-bottom")),u=Math.min(i,t(window).height()-a-l-r-o);if(i>u){var c=Math.min(u/i,1);e=Math.ceil(c*e)}return this._$lightboxContainer.css("height",u),this._$modalDialog.css("width","auto").css("maxWidth",e),this._$modal.modal("_handleUpdate"),this}}],[{key:"_jQueryInterface",value:function(e){var i=this;return e=e||{},this.each(function(){var s=t(i),r=t.extend({},n.Default,s.data(),"object"==typeof e&&e);new n(i,r)})}}]),n}();return t.fn[n]=o._jQueryInterface,t.fn[n].Constructor=o,t.fn[n].noConflict=function(){return t.fn[n]=s,o._jQueryInterface},o})(jQuery)}(jQuery);var pieOptions={segmentShowStroke:!0,segmentStrokeColor:"#fff",segmentStrokeWidth:1,percentageInnerCutout:50,animationSteps:100,animationEasing:"easeOutBounce",animateRotate:!0,animateScale:!1,responsive:!0,maintainAspectRatio:!1,legendTemplate:"<ul class=\"<%=name.toLowerCase()%>-legend\"><% for (var i=0; i<segments.length; i++){%><li><i class='fa fa-circle-o' style='color: <%=segments[i].fillColor%>'></i><%if(segments[i].label){%><%=segments[i].label%><%}%> foo</li><%}%></ul>",tooltipTemplate:"<%=value %> <%=label%> "};!function(t,e){var i={};i.modals={},i.modals.confirmDelete=function(){var e=t("table"),i={click:function(e){var i=t(this),n=t("#dataConfirmModal"),s=i.attr("href"),r=i.attr("data-content"),o=i.attr("data-title");return t("#myModalLabel").text(o),n.find(".modal-body").text(r),t("#deleteForm").attr("action",s),n.modal({show:!0}),!1}},n=function(){e.on("click",".delete-asset",i.click)};return{render:n}},t(function(){(new i.modals.confirmDelete).render()})}(jQuery,window.snipeit.settings),$(document).ready(function(){$(".slideout-menu-toggle").on("click",function(t){t.preventDefault();var e=$(".slideout-menu"),i=$(".slideout-menu").width();e.toggleClass("open"),e.hasClass("open")?(e.show(),e.animate({right:"0px"})):(e.animate({right:-i},"-350px"),e.fadeOut())}),$('input[type="checkbox"].minimal, input[type="radio"].minimal').iCheck({checkboxClass:"icheckbox_minimal-blue",radioClass:"iradio_minimal-blue"});var t=/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream;t||$(".select2").select2(),$(".datepicker").datepicker()});