vendor: 6,433 bytes, line 1
1((e,t)=>{"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(e.document)return t(e);throw new Error("jQuery requires a window with a document")}:t(e)})("undefined"!=typeof window?window:this,function(x,L){function y(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item}function N(e){return null!=e&&e===e.window}var t=[],z=Object.getPrototypeOf,a=t.slice,$=t.flat?function(e){return t.flat.call(e)}:function(e){return t.concat.apply([],e)},H=t.push,_=t.indexOf,R={},B=R.toString,V=R.hasOwnProperty,W=V.toString,q=W.call(Object),m={},k=x.document,U={type:!0,src:!0,nonce:!0,noModule:!0};function Y(e,t,i){var n,o,s=(i=i||k).createElement("script");if(s.text=e,t)for(n in U)(o=t[n]||t.getAttribute&&t.getAttribute(n))&&s.setAttribute(n,o);i.head.appendChild(s).parentNode.removeChild(s)}function Q(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?R[B.call(e)]||"object":typeof e}var e="3.7.1",X=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function G(e){var t=!!e&&"length"in e&&e.length,i=Q(e);return!y(e)&&!N(e)&&("array"===i||0===t||"number"==typeof t&&0<t&&t-1 in e)}function b(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:e,constructor:T,length:0,toArray:function(){return a.call(this)},get:function(e){return null==e?a.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){e=T.merge(this.constructor(),e);return e.prevObject=this,e},each:function(e){return T.each(this,e)},map:function(i){return this.pushStack(T.map(this,function(e,t){return i.call(e,t,e)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,e=+e+(e<0?t:0);return this.pushStack(0<=e&&e<t?[this[e]]:[])},end:function(){return this.prevObject||this.constructor()},push:H,sort:t.sort,splice:t.splice},T.extend=T.fn.extend=function(){var e,t,i,n,o,s=arguments[0]||{},r=1,a=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[r]||{},r++),"object"==typeof s||y(s)||(s={}),r===a&&(s=this,r--);r<a;r++)if(null!=(e=arguments[r]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(l&&i&&(T.isPlainObject(i)||(n=Array.isArray(i)))?(o=s[t],o=n&&!Array.isArray(o)?[]:n||T.isPlainObject(o)?o:{},n=!1,s[t]=T.extend(l,o,i)):void 0!==i&&(s[t]=i));return s},T.extend({expando:"jQuery"+(e+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){return!(!e||"[object Object]"!==B.call(e)||(e=z(e))&&("function"!=typeof(e=V.call(e,"constructor")&&e.constructor)||W.call(e)!==q))},isEmptyObject:function(e){for(var t in e)return!1;return!0},globalEval:function(e,t,i){Y(e,{nonce:t&&t.nonce},i)},each:function(e,t){var i,n=0;if(G(e))for(i=e.length;n<i&&!1!==t.call(e[n],n,e[n]);n++);else for(n in e)if(!1===t.call(e[n],n,e[n]))break;return e},text:function(e){var t,i="",n=0,o=e.nodeType;if(!o)for(;t=e[n++];)i+=T.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:i},makeArray:function(e,t){t=t||[];return null!=e&&(G(Object(e))?T.merge(t,"string"==typeof e?[e]:e):H.call(t,e)),t},inArray:function(e,t,i){return null==t?-1:_.call(t,e,i)},isXMLDoc:function(e){var t=e&&e.namespaceURI,e=e&&(e.ownerDocument||e).documentElement;return!X.test(t||e&&e.nodeName||"HTML")},merge:function(e,t){for(var i=+t.length,n=0,o=e.length;n<i;n++)e[o++]=t[n];return e.length=o,e},grep:function(e,t,i){for(var n=[],o=0,s=e.length,r=!i;o<s;o++)!t(e[o],o)!=r&&n.push(e[o]);return n},map:function(e,t,i){var n,o,s=0,r=[];if(G(e))for(n=e.length;s<n;s++)null!=(o=t(e[s],s,i))&&r.push(o);else for(s in e)null!=(o=t(e[s],s,i))&&r.push(o);return $(r)},guid:1,support:m}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=t[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){R["[object "+t+"]"]=t.toLowerCase()});var K=t.pop,Z=t.sort,J=t.splice,i="[\\x20\\t\\r\\n\\f]",ee=new RegExp("^"+i+"+|((?:^|[^\\\\])(?:\\\\.)*)"+i+"+$","g"),te=(T.contains=function(e,t){t=t&&t.parentNode;return e===t||!(!t||1!==t.nodeType||!(e.contains?e.contains(t):e.compareDocumentPosition&&16&e.compareDocumentPosition(t)))},/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g);function ie(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(te,ie)};var ne,w,oe,se,re,C,n,S,d,ae,o=k,le=H,j=le,E=T.expando,D=0,ce=0,ue=De(),he=De(),de=De(),pe=De(),fe=function(e,t){return e===t&&(re=!0),0},me="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",e="(?:\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",s="\\["+i+"*("+e+")(?:"+i+"*([*^$|!~]?=)"+i+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+e+"))|)"+i+"*\\]",r=":("+e+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+s+")*)|.*)\\)|)",ge=new RegExp(i+"+","g"),ve=new RegExp("^"+i+"*,"+i+"*"),ye=new RegExp("^"+i+"*([>+~]|"+i+")"+i+"*"),be=new RegExp(i+"|>"),_e=new RegExp(r),we=new RegExp("^"+e+"$"),xe={ID:new RegExp("^#("+e+")"),CLASS:new RegExp("^\\.("+e+")"),TAG:new RegExp("^("+e+"|[*])"),ATTR:new RegExp("^"+s),PSEUDO:new RegExp("^"+r),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+i+"*(even|odd|(([+-]|)(\\d*)n|)"+i+"*(?:([+-]|)"+i+"*(\\d+)|))"+i+"*\\)|)","i"),bool:new RegExp("^(?:"+me+")$","i"),needsContext:new RegExp("^"+i+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+i+"*((?:-\\d)?\\d*)"+i+"*\\)|)(?=[^-]|$)","i")},ke=/^(?:input|select|textarea|button)$/i,Te=/^h\d$/i,Ce=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Se=/[+~]/,h=new RegExp("\\\\[\\da-fA-F]{1,6}"+i+"?|\\\\([^\\r\\n\\f])","g"),p=function(e,t){e="0x"+e.slice(1)-65536;return t||(e<0?String.fromCharCode(65536+e):String.fromCharCode(e>>10|55296,1023&e|56320))},je=function(){Fe()},Ee=ze(function(e){return!0===e.disabled&&b(e,"fieldset")},{dir:"parentNode",next:"legend"});try{j.apply(t=a.call(o.childNodes),o.childNodes),t[o.childNodes.length].nodeType}catch(ne){j={apply:function(e,t){le.apply(e,a.call(t))}
vendor: 4,441 bytes, line 1
1,call:function(e){le.apply(e,a.call(arguments,1))}}}function M(e,t,i,n){var o,s,r,a,l,c,u=t&&t.ownerDocument,h=t?t.nodeType:9;if(i=i||[],"string"!=typeof e||!e||1!==h&&9!==h&&11!==h)return i;if(!n&&(Fe(t),t=t||C,S)){if(11!==h&&(a=Ce.exec(e)))if(o=a[1]){if(9===h){if(!(c=t.getElementById(o)))return i;if(c.id===o)return j.call(i,c),i}else if(u&&(c=u.getElementById(o))&&M.contains(t,c)&&c.id===o)return j.call(i,c),i}else{if(a[2])return j.apply(i,t.getElementsByTagName(e)),i;if((o=a[3])&&t.getElementsByClassName)return j.apply(i,t.getElementsByClassName(o)),i}if(!(pe[e+" "]||d&&d.test(e))){if(c=e,u=t,1===h&&(be.test(e)||ye.test(e))){for((u=Se.test(e)&&Ae(t.parentNode)||t)==t&&m.scope||((r=t.getAttribute("id"))?r=T.escapeSelector(r):t.setAttribute("id",r=E)),s=(l=Le(e)).length;s--;)l[s]=(r?"#"+r:":scope")+" "+Ne(l[s]);c=l.join(",")}try{return j.apply(i,u.querySelectorAll(c)),i}catch(t){pe(e,!0)}finally{r===E&&t.removeAttribute("id")}}}return Ve(e.replace(ee,"$1"),t,i,n)}function De(){var n=[];return function e(t,i){return n.push(t+" ")>w.cacheLength&&delete e[n.shift()],e[t+" "]=i}}function l(e){return e[E]=!0,e}function Me(e){var t=C.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t)}}function Pe(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Ee(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function Oe(r){return l(function(s){return s=+s,l(function(e,t){for(var i,n=r([],e.length,s),o=n.length;o--;)e[i=n[o]]&&(e[i]=!(t[i]=e[i]))})})}function Ae(e){return e&&void 0!==e.getElementsByTagName&&e}function Fe(e){var e=e?e.ownerDocument||e:o;return e!=C&&9===e.nodeType&&e.documentElement&&(n=(C=e).documentElement,S=!T.isXMLDoc(C),ae=n.matches||n.webkitMatchesSelector||n.msMatchesSelector,n.msMatchesSelector&&o!=C&&(e=C.defaultView)&&e.top!==e&&e.addEventListener("unload",je),m.getById=Me(function(e){return n.appendChild(e).id=T.expando,!C.getElementsByName||!C.getElementsByName(T.expando).length}),m.disconnectedMatch=Me(function(e){return ae.call(e,"*")}),m.scope=Me(function(){return C.querySelectorAll(":scope")}),m.cssHas=Me(function(){try{return C.querySelector(":has(*,:jqfake)"),0}catch(e){return 1}}),m.getById?(w.filter.ID=function(e){var t=e.replace(h,p);return function(e){return e.getAttribute("id")===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&S)return(t=t.getElementById(e))?[t]:[]}):(w.filter.ID=function(e){var t=e.replace(h,p);return function(e){e=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return e&&e.value===t}},w.find.ID=function(e,t){if(void 0!==t.getElementById&&S){var i,n,o,s=t.getElementById(e);if(s){if((i=s.getAttributeNode("id"))&&i.value===e)return[s];for(o=t.getElementsByName(e),n=0;s=o[n++];)if((i=s.getAttributeNode("id"))&&i.value===e)return[s]}return[]}}),w.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},w.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&S)return t.getElementsByClassName(e)},d=[],Me(function(e){var t;n.appendChild(e).innerHTML="<a id='"+E+"' href='' disabled='disabled'></a><select id='"+E+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||d.push("\\["+i+"*(?:value|"+me+")"),e.querySelectorAll("[id~="+E+"-]").length||d.push("~="),e.querySelectorAll("a#"+E+"+*").length||d.push(".#.+[+~]"),e.querySelectorAll(":checked").length||d.push(":checked"),(t=C.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),n.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&d.push(":enabled",":disabled"),(t=C.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||d.push("\\["+i+"*name"+i+"*="+i+"*(?:''|\"\")")}),m.cssHas||d.push(":has"),d=d.length&&new RegExp(d.join("|")),fe=function(e,t){var i;return e===t?(re=!0,0):!e.compareDocumentPosition-!t.compareDocumentPosition||(1&(i=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!m.sortDetached&&t.compareDocumentPosition(e)===i?e===C||e.ownerDocument==o&&M.contains(o,e)?-1:t===C||t.ownerDocument==o&&M.contains(o,t)?1:se?_.call(se,e)-_.call(se,t):0:4&i?-1:1)}),C}for(ne in M.matches=function(e,t){return M(e,null,null,t)}
vendor: 15,782 bytes, line 1
1,M.matchesSelector=function(e,t){if(Fe(e),S&&!pe[t+" "]&&(!d||!d.test(t)))try{var i=ae.call(e,t);if(i||m.disconnectedMatch||e.document&&11!==e.document.nodeType)return i}catch(e){pe(t,!0)}return 0<M(t,C,null,[e]).length},M.contains=function(e,t){return(e.ownerDocument||e)!=C&&Fe(e),T.contains(e,t)},M.attr=function(e,t){(e.ownerDocument||e)!=C&&Fe(e);var i=w.attrHandle[t.toLowerCase()],i=i&&V.call(w.attrHandle,t.toLowerCase())?i(e,t,!S):void 0;return void 0!==i?i:e.getAttribute(t)},M.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,i=[],n=0,o=0;if(re=!m.sortStable,se=!m.sortStable&&a.call(e,0),Z.call(e,fe),re){for(;t=e[o++];)t===e[o]&&(n=i.push(o));for(;n--;)J.call(e,i[n],1)}return se=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(a.apply(this)))},(w=T.expr={cacheLength:50,createPseudo:l,match:xe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(h,p),e[3]=(e[3]||e[4]||e[5]||"").replace(h,p),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||M.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&M.error(e[0]),e},PSEUDO:function(e){var t,i=!e[6]&&e[2];return xe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":i&&_e.test(i)&&(t=(t=Le(i,!0))&&i.indexOf(")",i.length-t)-i.length)&&(e[0]=e[0].slice(0,t),e[2]=i.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(h,p).toLowerCase();return"*"===e?function(){return!0}:function(e){return b(e,t)}},CLASS:function(e){var t=ue[e+" "];return t||(t=new RegExp("(^|"+i+")"+e+"("+i+"|$)"))&&ue(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(t,i,n){return function(e){e=M.attr(e,t);return null==e?"!="===i:!i||(e+="","="===i?e===n:"!="===i?e!==n:"^="===i?n&&0===e.indexOf(n):"*="===i?n&&-1<e.indexOf(n):"$="===i?n&&e.slice(-n.length)===n:"~="===i?-1<(" "+e.replace(ge," ")+" ").indexOf(n):"|="===i&&(e===n||e.slice(0,n.length+1)===n+"-"))}},CHILD:function(p,e,t,f,m){var g="nth"!==p.slice(0,3),v="last"!==p.slice(-4),y="of-type"===e;return 1===f&&0===m?function(e){return!!e.parentNode}:function(e,t,i){var n,o,s,r,a,l=g!=v?"nextSibling":"previousSibling",c=e.parentNode,u=y&&e.nodeName.toLowerCase(),h=!i&&!y,d=!1;if(c){if(g){for(;l;){for(s=e;s=s[l];)if(y?b(s,u):1===s.nodeType)return!1;a=l="only"===p&&!a&&"nextSibling"}return!0}if(a=[v?c.firstChild:c.lastChild],v&&h){for(d=(r=(n=(o=c[E]||(c[E]={}))[p]||[])[0]===D&&n[1])&&n[2],s=r&&c.childNodes[r];s=++r&&s&&s[l]||(d=r=0,a.pop());)if(1===s.nodeType&&++d&&s===e){o[p]=[D,r,d];break}}else if(!1===(d=h?r=(n=(o=e[E]||(e[E]={}))[p]||[])[0]===D&&n[1]:d))for(;(s=++r&&s&&s[l]||(d=r=0,a.pop()))&&((y?!b(s,u):1!==s.nodeType)||!++d||(h&&((o=s[E]||(s[E]={}))[p]=[D,d]),s!==e)););return(d-=m)===f||d%f==0&&0<=d/f}}},PSEUDO:function(e,s){var t,r=w.pseudos[e]||w.setFilters[e.toLowerCase()]||M.error("unsupported pseudo: "+e);return r[E]?r(s):1<r.length?(t=[e,e,"",s],w.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var i,n=r(e,s),o=n.length;o--;)e[i=_.call(e,n[o])]=!(t[i]=n[o])}):function(e){return r(e,0,t)}):r}},pseudos:{not:l(function(e){var n=[],o=[],a=Be(e.replace(ee,"$1"));return a[E]?l(function(e,t,i,n){for(var o,s=a(e,null,n,[]),r=e.length;r--;)(o=s[r])&&(e[r]=!(t[r]=o))}):function(e,t,i){return n[0]=e,a(n,null,i,o),n[0]=null,!o.pop()}}),has:l(function(t){return function(e){return 0<M(t,e).length}}),contains:l(function(t){return t=t.replace(h,p),function(e){return-1<(e.textContent||T.text(e)).indexOf(t)}}),lang:l(function(i){return we.test(i||"")||M.error("unsupported lang: "+i),i=i.replace(h,p).toLowerCase(),function(e){var t;do{if(t=S?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===i||0===t.indexOf(i+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=x.location&&x.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===n},focus:function(e){return e===(()=>{try{return C.activeElement}catch(e){}})()&&C.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:Pe(!1),disabled:Pe(!0),checked:function(e){return b(e,"input")&&!!e.checked||b(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!w.pseudos.empty(e)},header:function(e){return Te.test(e.nodeName)},input:function(e){return ke.test(e.nodeName)},button:function(e){return b(e,"input")&&"button"===e.type||b(e,"button")},text:function(e){return b(e,"input")&&"text"===e.type&&(null==(e=e.getAttribute("type"))||"text"===e.toLowerCase())},first:Oe(function(){return[0]}),last:Oe(function(e,t){return[t-1]}),eq:Oe(function(e,t,i){return[i<0?i+t:i]}),even:Oe(function(e,t){for(var i=0;i<t;i+=2)e.push(i);return e}),odd:Oe(function(e,t){for(var i=1;i<t;i+=2)e.push(i);return e}),lt:Oe(function(e,t,i){for(var n=i<0?i+t:t<i?t:i;0<=--n;)e.push(n);return e}),gt:Oe(function(e,t,i){for(var n=i<0?i+t:i;++n<t;)e.push(n);return e})}}).pseudos.nth=w.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})w.pseudos[ne]=(t=>function(e){return b(e,"input")&&e.type===t})(ne);for(ne in{submit:!0,reset:!0})w.pseudos[ne]=(t=>function(e){return(b(e,"input")||b(e,"button"))&&e.type===t})(ne);function Ie(){}function Le(e,t){var i,n,o,s,r,a,l,c=he[e+" "];if(c)return t?0:c.slice(0);for(r=e,a=[],l=w.preFilter;r;){for(s in i&&!(n=ve.exec(r))||(n&&(r=r.slice(n[0].length)||r),a.push(o=[])),i=!1,(n=ye.exec(r))&&(i=n.shift(),o.push({value:i,type:n[0].replace(ee," ")}),r=r.slice(i.length)),w.filter)!(n=xe[s].exec(r))||l[s]&&!(n=l[s](n))||(i=n.shift(),o.push({value:i,type:s,matches:n}),r=r.slice(i.length));if(!i)break}return t?r.length:r?M.error(e):he(e,a).slice(0)}function Ne(e){for(var t=0,i=e.length,n="";t<i;t++)n+=e[t].value;return n}function ze(r,e,t){var a=e.dir,l=e.next,c=l||a,u=t&&"parentNode"===c,h=ce++;return e.first?function(e,t,i){for(;e=e[a];)if(1===e.nodeType||u)return r(e,t,i);return!1}:function(e,t,i){var n,o,s=[D,h];if(i){for(;e=e[a];)if((1===e.nodeType||u)&&r(e,t,i))return!0}else for(;e=e[a];)if(1===e.nodeType||u)if(o=e[E]||(e[E]={}),l&&b(e,l))e=e[a]||e;else{if((n=o[c])&&n[0]===D&&n[1]===h)return s[2]=n[2];if((o[c]=s)[2]=r(e,t,i))return!0}return!1}}function $e(o){return 1<o.length?function(e,t,i){for(var n=o.length;n--;)if(!o[n](e,t,i))return!1;return!0}:o[0]}function He(e,t,i,n,o){for(var s,r=[],a=0,l=e.length,c=null!=t;a<l;a++)!(s=e[a])||i&&!i(s,n,o)||(r.push(s),c&&t.push(a));return r}function Re(p,f,m,g,v,e){return g&&!g[E]&&(g=Re(g)),v&&!v[E]&&(v=Re(v,e)),l(function(e,t,i,n){var o,s,r,a,l=[],c=[],u=t.length,h=e||((e,t,i)=>{for(var n=0,o=t.length;n<o;n++)M(e,t[n],i);return i})(f||"*",i.nodeType?[i]:i,[]),d=!p||!e&&f?h:He(h,l,p,i,n);if(m?m(d,a=v||(e?p:u||g)?[]:t,i,n):a=d,g)for(o=He(a,c),g(o,[],i,n),s=o.length;s--;)(r=o[s])&&(a[c[s]]=!(d[c[s]]=r));if(e){if(v||p){if(v){for(o=[],s=a.length;s--;)(r=a[s])&&o.push(d[s]=r);v(null,a=[],o,n)}for(s=a.length;s--;)(r=a[s])&&-1<(o=v?_.call(e,r):l[s])&&(e[o]=!(t[o]=r))}}else a=He(a===t?a.splice(u,a.length):a),v?v(null,t,a,n):j.apply(t,a)})}function Be(e,t){var i,g,v,y,b,n,o=[],s=[],r=de[e+" "];if(!r){for(i=(t=t||Le(e)).length;i--;)((r=function e(t){for(var n,i,o,s=t.length,r=w.relative[t[0].type],a=r||w.relative[" "],l=r?1:0,c=ze(function(e){return e===n},a,!0),u=ze(function(e){return-1<_.call(n,e)},a,!0),h=[function(e,t,i){return e=!r&&(i||t!=oe)||((n=t).nodeType?c:u)(e,t,i),n=null,e}];l<s;l++)if(i=w.relative[t[l].type])h=[ze($e(h),i)];else{if((i=w.filter[t[l].type].apply(null,t[l].matches))[E]){for(o=++l;o<s&&!w.relative[t[o].type];o++);return Re(1<l&&$e(h),1<l&&Ne(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(ee,"$1"),i,l<o&&e(t.slice(l,o)),o<s&&e(t=t.slice(o)),o<s&&Ne(t))}h.push(i)}return $e(h)}(t[i]))[E]?o:s).push(r);(r=de(e,(y=0<(v=o).length,b=0<(g=s).length,n=function(e,t,i,n,o){var s,r,a,l=0,c="0",u=e&&[],h=[],d=oe,p=e||b&&w.find.TAG("*",o),f=D+=null==d?1:Math.random()||.1,m=p.length;for(o&&(oe=t==C||t||o);c!==m&&null!=(s=p[c]);c++){if(b&&s){for(r=0,t||s.ownerDocument==C||(Fe(s),i=!S);a=g[r++];)if(a(s,t||C,i)){j.call(n,s);break}o&&(D=f)}y&&((s=!a&&s)&&l--,e)&&u.push(s)}if(l+=c,y&&c!==l){for(r=0;a=v[r++];)a(u,h,t,i);if(e){if(0<l)for(;c--;)u[c]||h[c]||(h[c]=K.call(n));h=He(h)}j.apply(n,h),o&&!e&&0<h.length&&1<l+v.length&&T.uniqueSort(n)}return o&&(D=f,oe=d),u},y?l(n):n))).selector=e}return r}function Ve(e,t,i,n){var o,s,r,a,l,c="function"==typeof e&&e,u=!n&&Le(e=c.selector||e);if(i=i||[],1===u.length){if(2<(s=u[0]=u[0].slice(0)).length&&"ID"===(r=s[0]).type&&9===t.nodeType&&S&&w.relative[s[1].type]){if(!(t=(w.find.ID(r.matches[0].replace(h,p),t)||[])[0]))return i;c&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(o=xe.needsContext.test(e)?0:s.length;o--&&(r=s[o],!w.relative[a=r.type]);)if((l=w.find[a])&&(n=l(r.matches[0].replace(h,p),Se.test(s[0].type)&&Ae(t.parentNode)||t))){if(s.splice(o,1),e=n.length&&Ne(s))break;return j.apply(i,n),i}}return(c||Be(e,u))(n,t,!S,i,!t||Se.test(e)&&Ae(t.parentNode)||t),i}Ie.prototype=w.filters=w.pseudos,w.setFilters=new Ie,m.sortStable=E.split("").sort(fe).join("")===E,Fe(),m.sortDetached=Me(function(e){return 1&e.compareDocumentPosition(C.createElement("fieldset"))}),T.find=M,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,M.compile=Be,M.select=Ve,M.setDocument=Fe,M.tokenize=Le,M.escape=T.escapeSelector,M.getText=T.text,M.isXML=T.isXMLDoc,M.selectors=T.expr,M.support=T.support,M.uniqueSort=T.uniqueSort;function We(e,t,i){for(var n=[],o=void 0!==i;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(i))break;n.push(e)}return n}function qe(e,t){for(var i=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&i.push(e);return i}var Ue=T.expr.match.needsContext,Ye=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function Qe(e,i,n){return y(i)?T.grep(e,function(e,t){return!!i.call(e,t,e)!==n}):i.nodeType?T.grep(e,function(e){return e===i!==n}):"string"!=typeof i?T.grep(e,function(e){return-1<_.call(i,e)!==n}):T.filter(i,e,n)}T.filter=function(e,t,i){var n=t[0];return i&&(e=":not("+e+")"),1===t.length&&1===n.nodeType?T.find.matchesSelector(n,e)?[n]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,i,n=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<n;t++)if(T.contains(o[t],this))return!0}));for(i=this.pushStack([]),t=0;t<n;t++)T.find(e,o[t],i);return 1<n?T.uniqueSort(i):i},filter:function(e){return this.pushStack(Qe(this,e||[],!1))},not:function(e){return this.pushStack(Qe(this,e||[],!0))},is:function(e){return!!Qe(this,"string"==typeof e&&Ue.test(e)?T(e):e||[],!1).length}});var Xe,Ge=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,Ke=((T.fn.init=function(e,t,i){if(e){if(i=i||Xe,"string"!=typeof e)return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==i.ready?i.ready(e):e(T):T.makeArray(e,this);if(!(n="<"===e[0]&&">"===e[e.length-1]&&3<=e.length?[null,e,null]:Ge.exec(e))||!n[1]&&t)return(!t||t.jquery?t||i:this.constructor(t)).find(e);if(n[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:k,!0)),Ye.test(n[1])&&T.isPlainObject(t))for(var n in t)y(this[n])?this[n](t[n]):this.attr(n,t[n])}else(i=k.getElementById(n[2]))&&(this[0]=i,this.length=1)}return this}).prototype=T.fn,Xe=T(k),/^(?:parents|prev(?:Until|All))/),Ze={children:!0,contents:!0,next:!0,prev:!0};function Je(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),i=t.length;return this.filter(function(){for(var e=0;e<i;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var i,n=0,o=this.length,s=[],r="string"!=typeof e&&T(e);if(!Ue.test(e))for(;n<o;n++)for(i=this[n];i&&i!==t;i=i.parentNode)if(i.nodeType<11&&(r?-1<r.index(i):1===i.nodeType&&T.find.matchesSelector(i,e))){s.push(i);break}return this.pushStack(1<s.length?T.uniqueSort(s):s)},index:function(e){return e?"string"==typeof e?_.call(T(e),this[0]):_.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){e=e.parentNode;return e&&11!==e.nodeType?e:null},parents:function(e){return We(e,"parentNode")},parentsUntil:function(e,t,i){return We(e,"parentNode",i)},next:function(e){return Je(e,"nextSibling")},prev:function(e){return Je(e,"previousSibling")},nextAll:function(e){return We(e,"nextSibling")},prevAll:function(e){return We(e,"previousSibling")},nextUntil:function(e,t,i){return We(e,"nextSibling",i)},prevUntil:function(e,t,i){return We(e,"previousSibling",i)},siblings:function(e){return qe((e.parentNode||{}).firstChild,e)},children:function(e){return qe(e.firstChild)},contents:function(e){return null!=e.contentDocument&&z(e.contentDocument)?e.contentDocument:(b(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(n,o){T.fn[n]=function(e,t){var i=T.map(this,o,e);return(t="Until"!==n.slice(-5)?e:t)&&"string"==typeof t&&(i=T.filter(t,i)),1<this.length&&(Ze[n]||T.uniqueSort(i),Ke.test(n))&&i.reverse(),this.pushStack(i)}});var P=/[^\x20\t\r\n\f]+/g;function et(e){return e}function tt(e){throw e}function it(e,t,i,n){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(i):e&&y(o=e.then)?o.call(e,t,i):t.apply(void 0,[e].slice(n))}catch(e){i.apply(void 0,[e])}}T.Callbacks=function(n){var e,i;n="string"==typeof n?(e=n,i={},T.each(e.match(P)||[],function(e,t){i[t]=!0}),i):T.extend({},n);function o(){for(a=a||n.once,r=s=!0;c.length;u=-1)for(t=c.shift();++u<l.length;)!1===l[u].apply(t[0],t[1])&&n.stopOnFalse&&(u=l.length,t=!1);n.memory||(t=!1),s=!1,a&&(l=t?[]:"")}var s,t,r,a,l=[],c=[],u=-1,h={add:function(){return l&&(t&&!s&&(u=l.length-1,c.push(t)),function i(e){T.each(e,function(e,t){y(t)?n.unique&&h.has(t)||l.push(t):t&&t.length&&"string"!==Q(t)&&i(t)})}(arguments),t)&&!s&&o(),this},remove:function(){return T.each(arguments,function(e,t){for(var i;-1<(i=T.inArray(t,l,i));)l.splice(i,1),i<=u&&u--}),this},has:function(e){return e?-1<T.inArray(e,l):0<l.length},empty:function(){return l=l&&[],this},disable:function(){return a=c=[],l=t="",this},disabled:function(){return!l},lock:function(){return a=c=[],t||s||(l=t=""),this},locked:function(){return!!a},fireWith:function(e,t){return a||(t=[e,(t=t||[]).slice?t.slice():t],c.push(t),s)||o(),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!r}};return h},T.extend({Deferred:function(e){var s=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],o="pending",r={state:function(){return o},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var o=arguments;return T.Deferred(function(n){T.each(s,function(e,t){var i=y(o[t[4]])&&o[t[4]];a[t[1]](function(){var e=i&&i.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[t[0]+"With"](this,i?[e]:arguments)})}),o=null}).promise()},then:function(t,i,n){var l=0;function c(o,s,r,a){return function(){function e(){var e,t;if(!(o<l)){if((e=r.apply(i,n))===s.promise())throw new TypeError("Thenable self
1-resolution");t=e&&("object"==typeof e||"function"==typeof e)&&e.then,y(t)?a?t.call(e,c(l,s,et,a),c(l,s,tt,a)):(l++,t.call(e,c(l,s,et,a),c(l,s,tt,a),c(l,s,et,s.notifyWith))):(r!==et&&(i=void 0,n=[e]),(a||s.resolveWith)(i,n))}}var i=this,n=arguments,t=a?e:function(){try{e()}catch(e){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(e,t.error),l<=o+1&&(r!==tt&&(i=void 0,n=[e]),s.rejectWith(i,n))}};o?t():(T.Deferred.getErrorHook?t.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(t.error=T.Deferred.getStackHook()),x.setTimeout(t))}}return T.Deferred(function(e){s[0][3].add(c(0,e,y(n)?n:et,e.notifyWith)),s[1][3].add(c(0,e,y(t)?t:et)),s[2][3].add(c(0,e,y(i)?i:tt))}).promise()},promise:function(e){return null!=e?T.extend(e,r):r}},a={};return T.each(s,function(e,t){var i=t[2],n=t[5];r[t[1]]=i.add,n&&i.add(function(){o=n},s[3-e][2].disable,s[3-e][3].disable,s[0][2].lock,s[0][3].lock),i.add(t[3].fire),a[t[0]]=function(){return a[t[0]+"With"](this===a?void 0:this,arguments),this},a[t[0]+"With"]=i.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){function t(t){return function(e){o[t]=this,s[t]=1<arguments.length?a.call(arguments):e,--i||r.resolveWith(o,s)}}var i=arguments.length,n=i,o=Array(n),s=a.call(arguments),r=T.Deferred();if(i<=1&&(it(e,r.done(t(n)).resolve,r.reject,!i),"pending"===r.state()||y(s[n]&&s[n].then)))return r.then();for(;n--;)it(s[n],t(n),r.reject);return r.promise()}});var nt=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/,ot=(T.Deferred.exceptionHook=function(e,t){x.console&&x.console.warn&&e&&nt.test(e.name)&&x.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){x.setTimeout(function(){throw e})},T.Deferred());function st(){k.removeEventListener("DOMContentLoaded",st),x.removeEventListener("load",st),T.ready()}T.fn.ready=function(e){return ot.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0)!==e&&0<--T.readyWait||ot.resolveWith(k,[T])}}),T.ready.then=ot.then,"complete"===k.readyState||"loading"!==k.readyState&&!k.documentElement.doScroll?x.setTimeout(T.ready):(k.addEventListener("DOMContentLoaded",st),x.addEventListener("load",st));function u(e,t,i,n,o,s,r){var a=0,l=e.length,c=null==i;if("object"===Q(i))for(a in o=!0,i)u(e,t,a,i[a],!0,s,r);else if(void 0!==n&&(o=!0,y(n)||(r=!0),t=c?r?(t.call(e,n),null):(c=t,function(e,t,i){return c.call(T(e),i)}):t))for(;a<l;a++)t(e[a],i,r?n:n.call(e[a],a,t(e[a],i)));return o?e:c?t.call(e):l?t(e[0],i):s}var rt=/^-ms-/,at=/-([a-z])/g;function lt(e,t){return t.toUpperCase()}function O(e){return e.replace(rt,"ms-").replace(at,lt)}function ct(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType}function ut(){this.expando=T.expando+ut.uid++}ut.uid=1,ut.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ct(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,i){var n,o=this.cache(e);if("string"==typeof t)o[O(t)]=i;else for(n in t)o[O(n)]=t[n];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][O(t)]},access:function(e,t,i){return void 0===t||t&&"string"==typeof t&&void 0===i?this.get(e,t):(this.set(e,t,i),void 0!==i?i:t)},remove:function(e,t){var i,n=e[this.expando];if(void 0!==n){if(void 0!==t){i=(t=Array.isArray(t)?t.map(O):(t=O(t))in n?[t]:t.match(P)||[]).length;for(;i--;)delete n[t[i]]}void 0!==t&&!T.isEmptyObject(n)||(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){e=e[this.expando];return void 0!==e&&!T.isEmptyObject(e)}};var v=new ut,c=new ut,ht=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,dt=/[A-Z]/g;function pt(e,t,i){var n,o;if(void 0===i&&1===e.nodeType)if(n="data-"+t.replace(dt,"-$&").toLowerCase(),"string"==typeof(i=e.getAttribute(n))){try{i="true"===(o=i)||"false"!==o&&("null"===o?null:o===+o+""?+o:ht.test(o)?JSON.parse(o):o)}catch(e){}c.set(e,t,i)}else i=void 0;return i}T.extend({hasData:function(e){return c.hasData(e)||v.hasData(e)},data:function(e,t,i){return c.access(e,t,i)},removeData:function(e,t){c.remove(e,t)},_data:function(e,t,i){return v.access(e,t,i)},_removeData:function(e,t){v.remove(e,t)}}),T.fn.extend({data:function(i,e){var t,n,o,s=this[0],r=s&&s.attributes;if(void 0!==i)return"object"==typeof i?this.each(function(){c.set(this,i)}):u(this,function(e){var t;if(s&&void 0===e)return void 0!==(t=c.get(s,i))||void 0!==(t=pt(s,i))?t:void 0;this.each(function(){c.set(this,i,e)})},null,e,1<arguments.length,null,!0);if(this.length&&(o=c.get(s),1===s.nodeType)&&!v.get(s,"hasDataAttrs")){for(t=r.length;t--;)r[t]&&0===(n=r[t].name).indexOf("data-")&&(n=O(n.slice(5)),pt(s,n,o[n]));v.set(s,"hasDataAttrs",!0)}return o},removeData:function(e){return this.each(function(){c.remove(this,e)})}}),T.extend({queue:function(e,t,i){var n;if(e)return n=v.get(e,t=(t||"fx")+"queue"),i&&(!n||Array.isArray(i)?n=v.access(e,t,T.makeArray(i)):n.push(i)),n||[]},dequeue:function(e,t){t=t||"fx";var i=T.queue(e,t),n=i.length,o=i.shift(),s=T._queueHooks(e,t);"inprogress"===o&&(o=i.shift(),n--),o&&("fx"===t&&i.unshift("inprogress"),delete s.stop,o.call(e,function(){T.dequeue(e,t)},s)),!n&&s&&s.empty.fire()},_queueHooks:function(e,t){var i=t+"queueHooks";return v.get(e,i)||v.access(e,i,{empty:T.Callbacks("once memory").add(function(){v.remove(e,[t+"queue",i])})})}}),T.fn.extend({queue:function(t,i){var e=2;return"string"!=typeof t&&(i=t,t="fx",e--),arguments.length<e?T.queue(this[0],t):void 0===i?this:this.each(function(){var e=T.queue(this,t,i);T._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&T.dequeue(this,t)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){function i(){--o||s.resolveWith(r,[r])}var n,o=1,s=T.Deferred(),r=this,a=this.length;for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=v.get(r[a],e+"queueHooks"))&&n.empty&&(o++,n.empty.add(i));return i(),s.promise(t)}});function ft(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&yt(e)&&"none"===T.css(e,"display")}var e=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+e+")([a-z%]*)$","i"),gt=["Top","Right","Bottom","Left"],vt=k.documentElement,yt=function(e){return T.contains(e.ownerDocument,e)},bt={composed:!0};vt.getRootNode&&(yt=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(bt)===e.ownerDocument});function _t(e,t,i,n){var o,s,r=20,a=n?function(){return n.cur()}:function(){return T.css(e,t,"")},l=a(),c=i&&i[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&mt.exec(T.css(e,t));if(u&&u[3]!==c){for(c=c||u[3],u=+(l/=2)||1;r--;)T.style(e,t,u+c),(1-s)*(1-(s=a()/l||.5))<=0&&(r=0),u/=s;T.style(e,t,(u*=2)+c),i=i||[]}return i&&(u=+u||+l||0,o=i[1]?u+(i[1]+1)*i[2]:+i[2],n)&&(n.unit=c,n.start=u,n.end=o),o}var wt={};function xt(e,t){for(var i,n,o,s,r,a,l=[],c=0,u=e.length;c<u;c++)(n=e[c]).style&&(i=n.style.display,t?("none"===i&&(l[c]=v.get(n,"display")||null,l[c]||(n.style.display="")),""===n.style.display&&ft(n)&&(l[c]=(a=s=o=void 0,s=n.ownerDocument,(a=wt[r=n.nodeName])||(o=s.body.appendChild(s.createElement(r)),a=T.css(o,"display"),o.parentNode.removeChild(o),wt[r]=a="none"===a?"block":a)))):"none"!==i&&(l[c]="none",v.set(n,"display",i)));for(c=0;c<u;c++)null!=l[c]&&(e[c].style.display=l[c]);return e}T.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){ft(this)?T(this).show():T(this).hide()})}});var kt=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ct=/^$|^module$|\/(?:java|ecma)script/i,s=k.createDocumentFragment().appendChild(k.createElement("div")),f=((r=k.createElement("input")).setAttribute("type","radio"),r.setAttribute("checked","checked"),r.setAttribute("name","t"),s.appendChild(r),m.checkClone
vendor: 15,907 bytes, line 1
1=s.cloneNode(!0).cloneNode(!0).lastChild.checked,s.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!s.cloneNode(!0).lastChild.defaultValue,s.innerHTML="<option></option>",m.option=!!s.lastChild,{thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]});function g(e,t){var i=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[];return void 0===t||t&&b(e,t)?T.merge([e],i):i}function St(e,t){for(var i=0,n=e.length;i<n;i++)v.set(e[i],"globalEval",!t||v.get(t[i],"globalEval"))}f.tbody=f.tfoot=f.colgroup=f.caption=f.thead,f.th=f.td,m.option||(f.optgroup=f.option=[1,"<select multiple='multiple'>","</select>"]);var jt=/<|&#?\w+;/;function Et(e,t,i,n,o){for(var s,r,a,l,c,u=t.createDocumentFragment(),h=[],d=0,p=e.length;d<p;d++)if((s=e[d])||0===s)if("object"===Q(s))T.merge(h,s.nodeType?[s]:s);else if(jt.test(s)){for(r=r||u.appendChild(t.createElement("div")),a=(Tt.exec(s)||["",""])[1].toLowerCase(),a=f[a]||f._default,r.innerHTML=a[1]+T.htmlPrefilter(s)+a[2],c=a[0];c--;)r=r.lastChild;T.merge(h,r.childNodes),(r=u.firstChild).textContent=""}else h.push(t.createTextNode(s));for(u.textContent="",d=0;s=h[d++];)if(n&&-1<T.inArray(s,n))o&&o.push(s);else if(l=yt(s),r=g(u.appendChild(s),"script"),l&&St(r),i)for(c=0;s=r[c++];)Ct.test(s.type||"")&&i.push(s);return u}var Dt=/^([^.]*)(?:\.(.+)|)/;function Mt(){return!0}function Pt(){return!1}function Ot(e,t,i,n,o,s){var r,a;if("object"==typeof t){for(a in"string"!=typeof i&&(n=n||i,i=void 0),t)Ot(e,a,i,n,t[a],s);return e}if(null==n&&null==o?(o=i,n=i=void 0):null==o&&("string"==typeof i?(o=n,n=void 0):(o=n,n=i,i=void 0)),!1===o)o=Pt;else if(!o)return e;return 1===s&&(r=o,(o=function(e){return T().off(e),r.apply(this,arguments)}).guid=r.guid||(r.guid=T.guid++)),e.each(function(){T.event.add(this,t,o,n,i)})}function At(e,n,t){t?(v.set(e,n,!1),T.event.add(e,n,{namespace:!1,handler:function(e){var t,i=v.get(this,n);if(1&e.isTrigger&&this[n]){if(i)(T.event.special[n]||{}).delegateType&&e.stopPropagation();else if(i=a.call(arguments),v.set(this,n,i),this[n](),t=v.get(this,n),v.set(this,n,!1),i!==t)return e.stopImmediatePropagation(),e.preventDefault(),t}else i&&(v.set(this,n,T.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Mt)}})):void 0===v.get(e,n)&&T.event.add(e,n,Mt)}T.event={global:{},add:function(t,e,i,n,o){var s,r,a,l,c,u,h,d,p,f=v.get(t);if(ct(t))for(i.handler&&(i=(s=i).handler,o=s.selector),o&&T.find.matchesSelector(vt,o),i.guid||(i.guid=T.guid++),a=(a=f.events)||(f.events=Object.create(null)),r=(r=f.handle)||(f.handle=function(e){return void 0!==T&&T.event.triggered!==e.type?T.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(P)||[""]).length;l--;)h=p=(d=Dt.exec(e[l])||[])[1],d=(d[2]||"").split(".").sort(),h&&(c=T.event.special[h]||{},h=(o?c.delegateType:c.bindType)||h,c=T.event.special[h]||{},p=T.extend({type:h,origType:p,data:n,handler:i,guid:i.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:d.join(".")},s),(u=a[h])||((u=a[h]=[]).delegateCount=0,c.setup&&!1!==c.setup.call(t,n,d,r))||t.addEventListener&&t.addEventListener(h,r),c.add&&(c.add.call(t,p),p.handler.guid||(p.handler.guid=i.guid)),o?u.splice(u.delegateCount++,0,p):u.push(p),T.event.global[h]=!0)},remove:function(e,t,i,n,o){var s,r,a,l,c,u,h,d,p,f,m,g=v.hasData(e)&&v.get(e);if(g&&(l=g.events)){for(c=(t=(t||"").match(P)||[""]).length;c--;)if(p=m=(a=Dt.exec(t[c])||[])[1],f=(a[2]||"").split(".").sort(),p){for(h=T.event.special[p]||{},d=l[p=(n?h.delegateType:h.bindType)||p]||[],a=a[2]&&new RegExp("(^|\\.)"+f.join("\\.(?:.*\\.|)")+"(\\.|$)"),r=s=d.length;s--;)u=d[s],!o&&m!==u.origType||i&&i.guid!==u.guid||a&&!a.test(u.namespace)||n&&n!==u.selector&&("**"!==n||!u.selector)||(d.splice(s,1),u.selector&&d.delegateCount--,h.remove&&h.remove.call(e,u));r&&!d.length&&(h.teardown&&!1!==h.teardown.call(e,f,g.handle)||T.removeEvent(e,p,g.handle),delete l[p])}else for(p in l)T.event.remove(e,p+t[c],i,n,!0);T.isEmptyObject(l)&&v.remove(e,"handle events")}},dispatch:function(e){var t,i,n,o,s,r=new Array(arguments.length),a=T.event.fix(e),e=(v.get(this,"events")||Object.create(null))[a.type]||[],l=T.event.special[a.type]||{};for(r[0]=a,t=1;t<arguments.length;t++)r[t]=arguments[t];if(a.delegateTarget=this,!l.preDispatch||!1!==l.preDispatch.call(this,a)){for(s=T.event.handlers.call(this,a,e),t=0;(n=s[t++])&&!a.isPropagationStopped();)for(a.currentTarget=n.elem,i=0;(o=n.handlers[i++])&&!a.isImmediatePropagationStopped();)a.rnamespace&&!1!==o.namespace&&!a.rnamespace.test(o.namespace)||(a.handleObj=o,a.data=o.data,void 0!==(o=((T.event.special[o.origType]||{}).handle||o.handler).apply(n.elem,r))&&!1===(a.result=o)&&(a.preventDefault(),a.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,a),a.result}},handlers:function(e,t){var i,n,o,s,r,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&1<=e.button))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(s=[],r={},i=0;i<l;i++)void 0===r[o=(n=t[i]).selector+" "]&&(r[o]=n.needsContext?-1<T(o,this).index(c):T.find(o,this,null,[c]).length),r[o]&&s.push(n);s.length&&a.push({elem:c,handlers:s})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(t,e){Object.defineProperty(T.Event.prototype,t,{enumerable:!0,configurable:!0,get:y(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){e=this||e;return kt.test(e.type)&&e.click&&b(e,"input")&&At(e,"click",!0),!1},trigger:function(e){e=this||e;return kt.test(e.type)&&e.click&&b(e,"input")&&At(e,"click"),!0},_default:function(e){e=e.target;return kt.test(e.type)&&e.click&&b(e,"input")&&v.get(e,"click")||b(e,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,i){e.removeEventListener&&e.removeEventListener(t,i)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Mt:Pt,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:Pt,isPropagationStopped:Pt,isImmediatePropagationStopped:Pt,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Mt,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Mt,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Mt,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(n,o){function s(e){var t,i;k.documentMode?(t=v.get(this,"handle"),(i=T.event.fix(e)).type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,t(e),i.target===i.currentTarget&&t(i)):T.event.simulate(o,e.target,T.event.fix(e))}T.event.special[n]={setup:function(){var e;if(At(this,n,!0),!k.documentMode)return!1;(e=v.get(this,o))||this.addEventListener(o,s),v.set(this,o,(e||0)+1)},trigger:function(){return At(this,n),!0},teardown:function(){var e;if(!k.documentMode)return!1;(e=v.get(this,o)-1)?v.set(this,o,e):(this.removeEventListener(o,s),v.remove(this,o))},_default:function(e){return v.get(e.target,n)},delegateType:o},T.event.special[o]={setup:function(){var e=this.ownerDocument||this.document||this,t=k.documentMode?this:e,i=v.get(t,o);i||(k.documentMode?this.addEventListener(o,s):e.addEventListener(n,s,!0)),v.set(t,o,(i||0)+1)},teardown:function(){var e=this.ownerDocument||this.document||this,t=k.documentMode?this:e,i=v.get(t,o)-1;i?v.set(t,o,i):(k.documentMode?this.removeEventListener(o,s):e.removeEventListener(n,s,!0),v.remove(t,o))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,o){T.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,i=e.relatedTarget,n=e.handleObj;return i&&(i===this||T.contains(this,i))||(e.type=n.origType,t=n.handler.apply(this,arguments),e.type=o),t}}}),T.fn.extend({on:function(e,t,i,n){return Ot(this,e,t,i,n)},one:function(e,t,i,n){return Ot(this,e,t,i,n,1)},off:function(e,t,i){var n,o;if(e&&e.preventDefault&&e.handleObj)n=e.handleObj,T(e.delegateTarget).off(n.namespace?n.origType+"."+n.namespace:n.origType,n.selector,n.handler);else{if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(i=t,t=void 0),!1===i&&(i=Pt),this.each(function(){T.event.remove(this,e,i,t)});for(o in e)this.off(o,t,e[o])}return this}});var Ft=/<script|<style|<link/i,It=/checked\s*(?:[^=]|=\s*.checked.)/i,Lt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Nt(e,t){return b(e,"table")&&b(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function zt(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function $t(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Ht(e,t){var i,n,o,s;if(1===t.nodeType){if(v.hasData(e)&&(s=v.get(e).events))for(o in v.remove(t,"handle events"),s)for(i=0,n=s[o].length;i<n;i++)T.event.add(t,o,s[o][i]);c.hasData(e)&&(e=c.access(e),e=T.extend({},e),c.set(t,e))}}function Rt(i,n,o,s){n=$(n);var e,t,r,a,l,c,u=0,h=i.length,d=h-1,p=n[0],f=y(p);if(f||1<h&&"string"==typeof p&&!m.checkClone&&It.test(p))return i.each(function(e){var t=i.eq(e);f&&(n[0]=p.call(this,e,t.html())),Rt(t,n,o,s)});if(h&&(t=(e=Et(n,i[0].ownerDocument,!1,i,s)).firstChild,1===e.childNodes.length&&(e=t),t||s)){for(a=(r=T.map(g(e,"script"),zt)).length;u<h;u++)l=e,u!==d&&(l=T.clone(l,!0,!0),a)&&T.merge(r,g(l,"script")),o.call(i[u],l,u);if(a)for(c=r[r.length-1].ownerDocument,T.map(r,$t),u=0;u<a;u++)l=r[u],Ct.test(l.type||"")&&!v.access(l,"globalEval")&&T.contains(c,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},c):Y(l.textContent.replace(Lt,""),l,c))}return i}function Bt(e,t,i){for(var n,o=t?T.filter(t,e):e,s=0;null!=(n=o[s]);s++)i||1!==n.nodeType||T.cleanData(g(n)),n.parentNode&&(i&&yt(n)&&St(g(n,"script")),n.parentNode.removeChild(n));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,i){var n,o,s,r,a,l,c,u=e.cloneNode(!0),h=yt(e);if(!(m.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(r=g(u),n=0,o=(s=g(e)).length;n<o;n++)a=s[n],"input"===(c=(l=r[n]).nodeName.toLowerCase())&&kt.test(a.type)?l.checked=a.checked:"input"!==c&&"textarea"!==c||(l.defaultValue=a.defaultValue);if(t)if(i)for(s=s||g(e),r=r||g(u),n=0,o=s.length;n<o;n++)Ht(s[n],r[n]);else Ht(e,u);return 0<(r=g(u,"script")).length&&St(r,!h&&g(e,"script")),u},cleanData:function(e){for(var t,i,n,o=T.event.special,s=0;void 0!==(i=e[s]);s++)if(ct(i)){if(t=i[v.expando]){if(t.events)for(n in t.events)o[n]?T.event.remove(i,n):T.removeEvent(i,n,t.handle);i[v.expando]=void 0}i[c.expando]&&(i[c.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Bt(this,e,!0)},remove:function(e){return Bt(this,e)},text:function(e){return u(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Rt(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Nt(this,e).appendChild(e)})},prepend:function(){return Rt(this,arguments,function(e){var t;1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(t=Nt(this,e)).insertBefore(e,t.firstChild)})},before:function(){return Rt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Rt(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData(g(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return u(this,function(e){var t=this[0]||{},i=0,n=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Ft.test(e)&&!f[(Tt.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;i<n;i++)1===(t=this[i]||{}).nodeType&&(T.cleanData(g(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var i=[];return Rt(this,arguments,function(e){var t=this.parentNode;T.inArray(this,i)<0&&(T.cleanData(g(this)),t)&&t.replaceChild(e,this)},i)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,r){T.fn[e]=function(e){for(var t,i=[],n=T(e),o=n.length-1,s=0;s<=o;s++)t=s===o?this:this.clone(!0),T(n[s])[r](t),H.apply(i,t.get());return this.pushStack(i)}});function Vt(e){var t=e.ownerDocument.defaultView;return(t=t&&t.opener?t:x).getComputedStyle(e)}function Wt(e,t,i){var n,o={};for(n in t)o[n]=e.style[n],e.style[n]=t[n];for(n in i=i.call(e),t)e.style[n]=o[n];return i}var qt,Ut,Yt,Qt,Xt,Gt,Kt,A,Zt=new RegExp("^("+e+")(?!px)[a-z%]+$","i"),Jt=/^--/,ei=new RegExp(gt.join("|"),"i");function ti(e,t,i){var n,o=Jt.test(t),s=e.style;return(i=i||Vt(e))&&(n=i.getPropertyValue(t)||i[t],""!==(n=o?n&&(n.replace(ee,"$1")||void 0):n)||yt(e)||(n=T.style(e,t)),!m.pixelBoxStyles())&&Zt.test(n)&&ei.test(t)&&(o=s.width,e=s.minWidth,t=s.maxWidth,s.minWidth=s.maxWidth=s.width=n,n=i.width,s.width=o,s.minWidth=e,s.maxWidth=t),void 0!==n?n+"":n}function ii(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}function ni(){var e;A&&(Kt.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",A.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",vt.appendChild(Kt).appendChild(A),e=x.getComputedStyle(A),qt="1%"!==e.top,Gt=12===oi(e.marginLeft),A.style.right="60%",Qt=36===oi(e.right),Ut=36===oi(e.width),A.style.position="absolute",Yt=12===oi(A.offsetWidth/3),vt.removeChild(Kt),A=null)}function oi(e){return Math.round(parseFloat(e))}Kt=k.createElement("div"),(A=k.createElement("div")).style&&(A.style.backgroundClip="content-box",A.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===A.style.backgroundClip,T.extend(m,{boxSizingReliable:function(){return ni(),Ut},pixelBoxStyles:function(){return ni(),Qt},pixelPosition:function(){return ni(),qt},reliableMarginLeft:function(){return ni(),Gt},scrollboxSize:function(){return ni(),Yt},reliableTrDimensions:function(){var e,t,i;return null==Xt&&(e=k.createElement("table"),t=k.createElement("tr"),i=k.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;
1border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",vt.appendChild(e).appendChild(t).appendChild(i),i=x.getComputedStyle(t),Xt=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===t.offsetHeight,vt.removeChild(e)),Xt}}));var si=["Webkit","Moz","ms"],ri=k.createElement("div").style,ai={};function li(e){return T.cssProps[e]||ai[e]||(e in ri?e:ai[e]=(e=>{for(var t=e[0].toUpperCase()+e.slice(1),i=si.length;i--;)if((e=si[i]+t)in ri)return e})(e)||e)}var ci=/^(none|table(?!-c[ea]).+)/,ui={position:"absolute",visibility:"hidden",display:"block"},hi={letterSpacing:"0",fontWeight:"400"};function di(e,t,i){var n=mt.exec(t);return n?Math.max(0,n[2]-(i||0))+(n[3]||"px"):t}function pi(e,t,i,n,o,s){var r="width"===t?1:0,a=0,l=0,c=0;if(i===(n?"border":"content"))return 0;for(;r<4;r+=2)"margin"===i&&(c+=T.css(e,i+gt[r],!0,o)),n?("content"===i&&(l-=T.css(e,"padding"+gt[r],!0,o)),"margin"!==i&&(l-=T.css(e,"border"+gt[r]+"Width",!0,o))):(l+=T.css(e,"padding"+gt[r],!0,o),"padding"!==i?l+=T.css(e,"border"+gt[r]+"Width",!0,o):a+=T.css(e,"border"+gt[r]+"Width",!0,o));return!n&&0<=s&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-s-l-a-.5))||0),l+c}function fi(e,t,i){var n=Vt(e),o=(!m.boxSizingReliable()||i)&&"border-box"===T.css(e,"boxSizing",!1,n),s=o,r=ti(e,t,n
1),a="offset"+t[0].toUpperCase()+t.slice(1);if(Zt.test(r)){if(!i)return r;r="auto"}return(!m.boxSizingReliable()&&o||!m.reliableTrDimensions()&&b(e,"tr")||"auto"===r||!parseFloat(r)&&"inline"===T.css(e,"display",!1,n))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,n),s=a in e)&&(r=e[a]),(r=parseFloat(r)||0)+pi(e,t,i||(o?"border":"content"),s,n,r)+"px"}function F(e,t,i,n,o){return new F.prototype.init(e,t,i,n,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t)return""===(t=ti(e,"opacity"))?"1":t}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,i,n){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,s,r,a=O(t),l=Jt.test(t),c=e.style;if(l||(t=li(a)),r=T.cssHooks[t]||T.cssHooks[a],void 0===i)return r&&"get"in r&&void 0!==(o=r.get(e,!1,n))?o:c[t];"string"==(s=typeof i)&&(o=mt.exec(i))&&o[1]&&(i=_t(e,t,o),s="number"),null!=i&&i==i&&("number"!==s||l||(i+=o&&o[3]||(T.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==i||0!==t.indexOf("background")||(c[t]="inherit"),r&&"set"in r&&void 0===(i=r.set(e,i,n))||(l?c.setProperty(t,i):c[t]=i))}},css:function(e,t,i,n){var o,s=O(t);return Jt.test(t)||(t=li(s)),"normal"===(o=void 0===(o=(s=T.cssHooks[t]||T.cssHooks[s])&&"get"in s?s.get(e,!0,i):o)?ti(e,t,n):o)&&t in hi&&(o=hi[t]),(""===i||i)&&(s=parseFloat(o),!0===i||isFinite(s))?s||0:o}}),T.each(["height","width"],function(e,r){T.cssHooks[r]={get:function(e,t,i){if(t)return!ci.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?fi(e,r,i):Wt(e,ui,function(){return fi(e,r,i
vendor: 20,939 bytes, line 1
1)})},set:function(e,t,i){var n=Vt(e),o=!m.scrollboxSize()&&"absolute"===n.position,s=(o||i)&&"border-box"===T.css(e,"boxSizing",!1,n),i=i?pi(e,r,i,s,n):0;return s&&o&&(i-=Math.ceil(e["offset"+r[0].toUpperCase()+r.slice(1)]-parseFloat(n[r])-pi(e,r,"border",!1,n)-.5)),i&&(s=mt.exec(t))&&"px"!==(s[3]||"px")&&(e.style[r]=t,t=T.css(e,r)),di(0,t,i)}}}),T.cssHooks.marginLeft=ii(m.reliableMarginLeft,function(e,t){if(t)return(parseFloat(ti(e,"marginLeft"))||e.getBoundingClientRect().left-Wt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(o,s){T.cssHooks[o+s]={expand:function(e){for(var t=0,i={},n="string"==typeof e?e.split(" "):[e];t<4;t++)i[o+gt[t]+s]=n[t]||n[t-2]||n[0];return i}},"margin"!==o&&(T.cssHooks[o+s].set=di)}),T.fn.extend({css:function(e,t){return u(this,function(e,t,i){var n,o,s={},r=0;if(Array.isArray(t)){for(n=Vt(e),o=t.length;r<o;r++)s[t[r]]=T.css(e,t[r],!1,n);return s}return void 0!==i?T.style(e,t,i):T.css(e,t)},e,t,1<arguments.length)}}),((T.Tween=F).prototype={constructor:F,init:function(e,t,i,n,o,s){this.elem=e,this.prop=i,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=n,this.unit=s||(T.cssNumber[i]?"":"px")},cur:function(){var e=F.propHooks[this.prop];return(e&&e.get?e:F.propHooks._default).get(this)},run:function(e){var t,i=F.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),(i&&i.set?i:F.propHooks._default).set(this),this}}).init.prototype=F.prototype,(F.propHooks={_default:{get:function(e){return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(e=T.css(e.elem,e.prop,""))&&"auto"!==e?e:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[li(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}}).scrollTop=F.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=F.prototype.init,T.fx.step={};var mi,gi,vi=/^(?:toggle|show|hide)$/,yi=/queueHooks$/;function bi(){gi&&(!1===k.hidden&&x.requestAnimationFrame?x.requestAnimationFrame(bi):x.setTimeout(bi,T.fx.interval),T.fx.tick())}function _i(){return x.setTimeout(function(){mi=void 0}),mi=Date.now()}function wi(e,t){var i,n=0,o={height:e};for(t=t?1:0;n<4;n+=2-t)o["margin"+(i=gt[n])]=o["padding"+i]=e;return t&&(o.opacity=o.width=e),o}function xi(e,t,i){for(var n,o=(I.tweeners[t]||[]).concat(I.tweeners["*"]),s=0,r=o.length;s<r;s++)if(n=o[s].call(i,t,e))return n}function I(o,e,t){var i,s,n,r,a,l,c,u=0,h=I.prefilters.length,d=T.Deferred().always(function(){delete p.elem}),p=function(){if(s)return!1;for(var e=mi||_i(),e=Math.max(0,f.startTime+f.duration-e),t=1-(e/f.duration||0),i=0,n=f.tweens.length;i<n;i++)f.tweens[i].run(t);return d.notifyWith(o,[f,t,e]),t<1&&n?e:(n||d.notifyWith(o,[f,1,0]),d.resolveWith(o,[f]),!1)},f=d.promise({elem:o,props:T.extend({},e),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},t),originalProperties:e,originalOptions:t,startTime:mi||_i(),duration:t.duration,tweens:[],createTween:function(e,t){t=T.Tween(o,f.opts,e,t,f.opts.specialEasing[e]||f.opts.easing);return f.tweens.push(t),t},stop:function(e){var t=0,i=e?f.tweens.length:0;if(!s){for(s=!0;t<i;t++)f.tweens[t].run(1);e?(d.notifyWith(o,[f,1,0]),d.resolveWith(o,[f,e])):d.rejectWith(o,[f,e])}return this}}),m=f.props,g=m,v=f.opts.specialEasing;for(n in g)if(a=v[r=O(n)],l=g[n],Array.isArray(l)&&(a=l[1],l=g[n]=l[0]),n!==r&&(g[r]=l,delete g[n]),(c=T.cssHooks[r])&&"expand"in c)for(n in l=c.expand(l),delete g[r],l)n in g||(g[n]=l[n],v[n]=a);else v[r]=a;for(;u<h;u++)if(i=I.prefilters[u].call(f,o,m,f.opts))return y(i.stop)&&(T._queueHooks(f.elem,f.opts.queue).stop=i.stop.bind(i)),i;return T.map(m,xi,f),y(f.opts.start)&&f.opts.start.call(o,f),f.progress(f.opts.progress).done(f.opts.done,f.opts.complete).fail(f.opts.fail).always(f.opts.always),T.fx.timer(T.extend(p,{elem:o,anim:f,queue:f.opts.queue})),f}T.Animation=T.extend(I,{tweeners:{"*":[function(e,t){var i=this.createTween(e,t);return _t(i.elem,e,mt.exec(t),i),i}]},tweener:function(e,t){for(var i,n=0,o=(e=y(e)?(t=e,["*"]):e.match(P)).length;n<o;n++)i=e[n],I.tweeners[i]=I.tweeners[i]||[],I.tweeners[i].unshift(t)},prefilters:[function(e,t,i){var n,o,s,r,a,l,c,u="width"in t||"height"in t,h=this,d={},p=e.style,f=e.nodeType&&ft(e),m=v.get(e,"fxshow");for(n in i.queue||(null==(r=T._queueHooks(e,"fx")).unqueued&&(r.unqueued=0,a=r.empty.fire,r.empty.fire=function(){r.unqueued||a()}),r.unqueued++,h.always(function(){h.always(function(){r.unqueued--,T.queue(e,"fx").length||r.empty.fire()})})),t)if(o=t[n],vi.test(o)){if(delete t[n],s=s||"toggle"===o,o===(f?"hide":"show")){if("show"!==o||!m||void 0===m[n])continue;f=!0}d[n]=m&&m[n]||T.style(e,n)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(d))for(n in u&&1===e.nodeType&&(i.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=v.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(xt([e],!0),c=e.style.display||c,u=T.css(e,"display"),xt([e]))),"inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(h.done(function(){p.display=c}),null==c&&(u=p.display,c="none"===u?"":u)),p.display="inline-block"),i.overflow&&(p.overflow="hidden",h.always(function(){p.overflow=i.overflow[0],p.overflowX=i.overflow[1],p.overflowY=i.overflow[2]})),l=!1,d)l||(m?"hidden"in m&&(f=m.hidden):m=v.access(e,"fxshow",{display:c}),s&&(m.hidden=!f),f&&xt([e],!0),h.done(function(){for(n in f||xt([e]),v.remove(e,"fxshow"),d)T.style(e,n,d[n])})),l=xi(f?m[n]:0,n,h),n in m||(m[n]=l.start,f&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?I.prefilters.unshift(e):I.prefilters.push(e)}}),T.speed=function(e,t,i){var n=e&&"object"==typeof e?T.extend({},e):{complete:i||!i&&t||y(e)&&e,duration:e,easing:i&&t||t&&!y(t)&&t};return T.fx.off?n.duration=0:"number"!=typeof n.duration&&(n.duration in T.fx.speeds?n.duration=T.fx.speeds[n.duration]:n.duration=T.fx.speeds._default),null!=n.queue&&!0!==n.queue||(n.queue="fx"),n.old=n.complete,n.complete=function(){y(n.old)&&n.old.call(this),n.queue&&T.dequeue(this,n.queue)},n},T.fn.extend({fadeTo:function(e,t,i,n){return this.filter(ft).css("opacity",0).show().end().animate({opacity:t},e,i,n)},animate:function(t,e,i,n){function o(){var e=I(this,T.extend({},t),r);(s||v.get(this,"finish"))&&e.stop(!0)}var s=T.isEmptyObject(t),r=T.speed(e,i,n);return o.finish=o,s||!1===r.queue?this.each(o):this.queue(r.queue,o)},stop:function(o,e,s){function r(e){var t=e.stop;delete e.stop,t(s)}return"string"!=typeof o&&(s=e,e=o,o=void 0),e&&this.queue(o||"fx",[]),this.each(function(){var e=!0,t=null!=o&&o+"queueHooks",i=T.timers,n=v.get(this);if(t)n[t]&&n[t].stop&&r(n[t]);else for(t in n)n[t]&&n[t].stop&&yi.test(t)&&r(n[t]);for(t=i.length;t--;)i[t].elem!==this||null!=o&&i[t].queue!==o||(i[t].anim.stop(s),e=!1,i.splice(t,1));!e&&s||T.dequeue(this,o)})},finish:function(r){return!1!==r&&(r=r||"fx"),this.each(function(){var e,t=v.get(this),i=t[r+"queue"],n=t[r+"queueHooks"],o=T.timers,s=i?i.length:0;for(t.finish=!0,T.queue(this,r,[]),n&&n.stop&&n.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===r&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)i[e]&&i[e].finish&&i[e].finish.call(this);delete t.finish})}}),T.each(["toggle","show","hide"],function(e,n){var o=T.fn[n];T.fn[n]=function(e,t,i){return null==e||"boolean"==typeof e?o.apply(this,arguments):this.animate(wi(n,!0),e,t,i)}}),T.each({slideDown:wi("show"),slideUp:wi("hide"),slideToggle:wi("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,n){T.fn[e]=function(e,t,i){return this.animate(n,e,t,i)}}),T.timers=[],T.fx.tick=function(){var e,t=0,i=T.timers;for(mi=Date.now();t<i.length;t++)(e=i[t])()||i[t]!==e||i.splice(t--,1);i.length||T.fx.stop(),mi=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){gi||(gi=!0,bi())},T.fx.stop=function(){gi=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(n,e){return n=T.fx&&T.fx.speeds[n]||n,this.queue(e=e||"fx",function(e,t){var i=x.setTimeout(e,n);t.stop=function(){x.clearTimeout(i)}})},r=k.createElement("input"),s=k.createElement("select").appendChild(k.createElement("option")),r.type="checkbox",m.checkOn=""!==r.value,m.optSelected=s.selected,(r=k.createElement("input")).value="t",r.type="radio",m.radioValue="t"===r.value;var ki,Ti=T.expr.attrHandle,Ci=(T.fn.extend({attr:function(e,t){return u(this,T.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,i){var n,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return void 0===e.getAttribute?T.prop(e,t,i):(1===s&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?ki:void 0)),void 0!==i?null===i?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(n=o.set(e,i,t))?n:(e.setAttribute(t,i+""),i):!(o&&"get"in o&&null!==(n=o.get(e,t)))&&null==(n=T.find.attr(e,t))?void 0:n)},attrHooks:{type:{set:function(e,t){var i;if(!m.radioValue&&"radio"===t&&b(e,"input"))return i=e.value,e.setAttribute("type",t),i&&(e.value=i),t}}},removeAttr:function(e,t){var i,n=0,o=t&&t.match(P);if(o&&1===e.nodeType)for(;i=o[n++];)e.removeAttribute(i)}}),ki={set:function(e,t,i){return!1===t?T.removeAttr(e,i):e.setAttribute(i,i),i}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var r=Ti[t]||T.find.attr;Ti[t]=function(e,t,i){var n,o,s=t.toLowerCase();return i||(o=Ti[s],Ti[s]=n,n=null!=r(e,t,i)?s:null,Ti[s]=o),n}}),/^(?:input|select|textarea|button)$/i),Si=/^(?:a|area)$/i;function ji(e){return(e.match(P)||[]).join(" ")}function Ei(e){return e.getAttribute&&e.getAttribute("class")||""}function Di(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(P)||[]}T.fn.extend({prop:function(e,t){return u(this,T.prop,e,t,1<arguments.length)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,i){var n,o,s=e.nodeType;if(3!==s&&8!==s&&2!==s)return 1===s&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==i?o&&"set"in o&&void 0!==(n=o.set(e,i,t))?n:e[t]=i:o&&"get"in o&&null!==(n=o.get(e,t))?n:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):Ci.test(e.nodeName)||Si.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(T.propHooks.selected={get:function(e){e=e.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(e){e=e.parentNode;e&&(e.selectedIndex,e.parentNode)&&e.parentNode.selectedIndex}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(t){var e,i,n,o,s,r;return y(t)?this.each(function(e){T(this).addClass(t.call(this,e,Ei(this)))}):(e=Di(t)).length?this.each(function(){if(n=Ei(this),i=1===this.nodeType&&" "+ji(n)+" "){for(s=0;s<e.length;s++)o=e[s],i.indexOf(" "+o+" ")<0&&(i+=o+" ");r=ji(i),n!==r&&this.setAttribute("class",r)}}):this},removeClass:function(t){var e,i,n,o,s,r;return y(t)?this.each(function(e){T(this).removeClass(t.call(this,e,Ei(this)))}):arguments.length?(e=Di(t)).length?this.each(function(){if(n=Ei(this),i=1===this.nodeType&&" "+ji(n)+" "){for(s=0;s<e.length;s++)for(o=e[s];-1<i.indexOf(" "+o+" ");)i=i.replace(" "+o+" "," ");r=ji(i),n!==r&&this.setAttribute("class",r)}}):this:this.attr("class","")},toggleClass:function(t,i){var e,n,o,s,r=typeof t,a="string"==r||Array.isArray(t);return y(t)?this.each(function(e){T(this).toggleClass(t.call(this,e,Ei(this),i),i)}):"boolean"==typeof i&&a?i?this.addClass(t):this.removeClass(t):(e=Di(t),this.each(function(){if(a)for(s=T(this),o=0;o<e.length;o++)n=e[o],s.hasClass(n)?s.removeClass(n):s.addClass(n);else void 0!==t&&"boolean"!=r||((n=Ei(this))&&v.set(this,"__className__",n),this.setAttribute&&this.setAttribute("class",!n&&!1!==t&&v.get(this,"__className__")||""))}))},hasClass:function(e){for(var t,i=0,n=" "+e+" ";t=this[i++];)if(1===t.nodeType&&-1<(" "+ji(Ei(t))+" ").indexOf(n))return!0;return!1}});function Mi(e){e.stopPropagation()}var Pi=/\r/g,Oi=(T.fn.extend({val:function(t){var i,e,n,o=this[0];return arguments.length?(n=y(t),this.each(function(e){1===this.nodeType&&(null==(e=n?t.call(this,e,T(this).val()):t)?e="":"number"==typeof e?e+="":Array.isArray(e)&&(e=T.map(e,function(e){return null==e?"":e+""})),(i=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in i&&void 0!==i.set(this,e,"value")||(this.value=e))})):o?(i=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in i&&void 0!==(e=i.get(o,"value"))?e:"string"==typeof(e=o.value)?e.replace(Pi,""):null==e?"":e:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:ji(T.text(e))}},select:{get:function(e){for(var t,i=e.options,n=e.selectedIndex,o="select-one"===e.type,s=o?null:[],r=o?n+1:i.length,a=n<0?r:o?n:0;a<r;a++)if(((t=i[a]).selected||a===n)&&!t.disabled&&(!t.parentNode.disabled||!b(t.parentNode,"optgroup"))){if(t=T(t).val(),o)return t;s.push(t)}return s},set:function(e,t){for(var i,n,o=e.options,s=T.makeArray(t),r=o.length;r--;)((n=o[r]).selected=-1<T.inArray(T.valHooks.option.get(n),s))&&(i=!0);return i||(e.selectedIndex=-1),s}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=-1<T.inArray(T(e).val(),t)}},m.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}),x.location),Ai={guid:Date.now()},Fi=/\?/,Ii=(T.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new x.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||T.error("Invalid XML: "+(i?T.map(i.childNodes,function(e){return e.textContent}).join("\n"):e)),t},/^(?:focusinfocus|focusoutblur)$/),Li=(T.extend(T.event,{trigger:function(e,t,i,n){var o,s,r,a,l,c,u,h=[i||k],d=V.call(e,"type")?e.type:e,p=V.call(e,"namespace")?e.namespace.split("."):[],f=u=s=i=i||k;if(3!==i.nodeType&&8!==i.nodeType&&!Ii.test(d+T.event.triggered)&&(-1<d.indexOf(".")&&(d=(p=d.split(".")).shift(),p.sort()),a=d.indexOf(":")<0&&"on"+d,(e=e[T.expando]?e:new T.Event(d,"object"==typeof e&&e)).isTrigger=n?2:3,e.namespace=p.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:T.makeArray(t,[e]),c=T.event.special[d]||{},n||!c.trigger||!1!==c.trigger.apply(i,t))){if(!n&&!c.noBubble&&!N(i)){for(r=c.delegateType||d,Ii.test(r+d)||(f=f.parentNode);f;f=f.parentNode)h.push(f),s=f;s===(i.ownerDocument||k)&&h.push(s.defaultView||s.parentWindow||x)}for(o=0;(f=h[o++])&&!e.isPropagationStopped();)u=f,e.type=1<o?r:c.bindType||d,(l=(v.get(f,"events")||Object.create(null))[e.type]&&v.get(f,"handle"))&&l.apply(f,t),(l=a&&f[a])&&l.apply&&ct(f)&&(e.result=l.apply(f,t),!1===e.result)&&e.preventDefault();return e.type=d,n||e.isDefaultPrevented()||c._default&&!1!==c._default.apply(h.pop(),t)||!ct(i)||a&&y(i[d])&&!N(i)&&((s=i[a])&&(i[a]=null),T.event.triggered=d,e.isPropagationStopped()&&u.addEventListener(d,Mi),i[d](),e.isPropagationStopped()&&u.removeEventListener(d,Mi),T.event.triggered=void 0,s)&&(i[a]=s),e.result}},simulate:function(e,t,i){i=T.extend(new T.Event,i,{type:e,isSimulated:!0});T.event.trigger(i,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var i=this[0];if(i)return T.event.trigger(e,t,i,!0)}}),/\[\]$/),Ni=/\r?\n/g,zi=/^(?:submit|button|image|reset|file)$/i,$i=/^(?:input|select|textarea|keygen)/i;T.param=function(e,t){function i(e,t){t=y(t)?t():t,o[o.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==t?"":t)}var n,o=[];if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){i(this.name,this.value)});else for(n in e)!function i(n,e,o,s){if(Array.isArray(e))T.each(e,function(e,t){o||Li.test(n)?s(n,t):i(n+"["+("object"==typeof t&&null!=t?e:"")+"]",t,o,s)});else if(o||"object"!==Q(e))s(n,e);else for(var t in e)i(n+"["+t+"]",e[t],o,s)}(n,e[n],t,i);return o.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&$i.test(this.nodeName)&&!zi.test(e)&&(this.checked||!kt.test(e))}).map(function(e,t){var i=T(this).val();return null==i?null:Array.isArray(i)?T.map(i,function(e){return{name:t.name,value:e.replace(Ni,"\r\n")}}):{name:t.name,value:i.replace(Ni,"\r\n")}}).get()}});var Hi=/%20/g,Ri=/#.*$/,Bi=/([?&])_=[^&]*/,Vi=/^(.*?):[ \t]*([^\r\n]*)$/gm,Wi=/^(?:GET|HEAD)$/,qi=/^\/\//,Ui={},Yi={},Qi="*/".concat("*"),Xi=k.createElement("a");function Gi(s){return function(e,t){"string"!=typeof e&&(t=e,e="*");var i,n=0,o=e.toLowerCase().match(P)||[];if(y(t))for(;i=o[n++];)"+"===i[0]?(i=i.slice(1)||"*",(s[i]=s[i]||[]).unshift(t)):(s[i]=s[i]||[]).push(t)}}function Ki(t,n,o,s){var r={},a=t===Yi;function l(e){var i;return r[e]=!0,T.each(t[e]||[],function(e,t){t=t(n,o,s);return"string"!=typeof t||a||r[t]?a?!(i=t):void 0:(n.dataTypes.unshift(t),l(t),!1)}),i}return l(n.dataTypes[0])||!r["*"]&&l("*")}function Zi(e,t){var i,n,o=T.ajaxSettings.flatOptions||{};for(i in t)void 0!==t[i]&&((o[i]?e:n=n||{})[i]=t[i]);return n&&T.extend(!0,e,n),e}Xi.href=Oi.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Oi.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Oi.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Qi,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Zi(Zi(e,T.ajaxSettings),t):Zi(T.ajaxSettings,e)},ajaxPrefilter:Gi(Ui),ajaxTransport:Gi(Yi),ajax:function(e,t){"object"==typeof e&&(t=e,e=void 0);var l,c,u,i,h,d,p,n,o,f=T.ajaxSetup({},t=t||{}),m=f.context||f,g=f.context&&(m.nodeType||m.jquery)?T(m):T.event,v=T.Deferred(),y=T.Callbacks("once memory"),b=f.statusCode||{},s={},r={},a="canceled",_={readyState:0,getResponseHeader:function(e){var t;if(d){if(!i)for(i={};t=Vi.exec(u);)i[t[1].toLowerCase()+" "]=(i[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=i[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return d?u:null},setRequestHeader:function(e,t){return null==d&&(e=r[e.toLowerCase()]=r[e.toLowerCase()]||e,s[e]=t),this},overrideMimeType:function(e){return null==d&&(f.mimeType=e),this},statusCode:function(e){if(e)if(d)_.always(e[_.status]);else for(var t in e)b[t]=[b[t],e[t]];return this},abort:function(e){e=e||a;return l&&l.abort(e),w(0,e),this}};if(v.promise(_),f.url=((e||f.url||Oi.href)+"").replace(qi,Oi.protocol+"//"),f.type=t.method||t.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(P)||[""],null==f.crossDomain){o=k.createElement("a");try{o.href=f.url,o.href=o.href,f.crossDomain=Xi.protocol+"//"+Xi.host!=o.protocol+"//"+o.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=T.param(f.data,f.traditional)),Ki(Ui,f,t,_),!d){for(n in(p=T.event&&f.global)&&0==T.active++&&T.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!Wi.test(f.type),c=f.url.replace(Ri,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Hi,"+")):(o=f.url.slice(c.length),f.data&&(f.processData||"string"==typeof f.data)&&(c+=(Fi.test(c)?"&":"?")+f.data,delete f.data),!1===f.cache&&(c=c.replace(Bi,"$1"),o=(Fi.test(c)?"&":"?")+"_="+Ai.guid+++o),f.url=c+o),f.ifModified&&(T.lastModified[c]&&_.setRequestHeader("If-Modified-Since",T.lastModified[c]),T.etag[c])&&_.setRequestHeader("If-None-Match",T.etag[c]),(f.data&&f.hasContent&&!1!==f.contentType||t.contentType)&&_.setRequestHeader("Content-Type",f.contentType),_.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Qi+"; q=0.01":""):f.accepts["*"]),f.headers)_.setRequestHeader(n,f.headers[n]);
vendor: 5,323 bytes, line 1
1if(f.beforeSend&&(!1===f.beforeSend.call(m,_,f)||d))return _.abort();if(a="abort",y.add(f.complete),_.done(f.success),_.fail(f.error),l=Ki(Yi,f,t,_)){if(_.readyState=1,p&&g.trigger("ajaxSend",[_,f]),d)return _;f.async&&0<f.timeout&&(h=x.setTimeout(function(){_.abort("timeout")},f.timeout));try{d=!1,l.send(s,w)}catch(e){if(d)throw e;w(-1,e)}}else w(-1,"No Transport")}return _;function w(e,t,i,n){var o,s,r,a=t;d||(d=!0,h&&x.clearTimeout(h),l=void 0,u=n||"",_.readyState=0<e?4:0,n=200<=e&&e<300||304===e,i&&(r=((e,t,i)=>{for(var n,o,s,r,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===n&&(n=e.mimeType||t.getResponseHeader("Content-Type"));if(n)for(o in a)if(a[o]&&a[o].test(n)){l.unshift(o);break}if(l[0]in i)s=l[0];else{for(o in i){if(!l[0]||e.converters[o+" "+l[0]]){s=o;break}r=r||o}s=s||r}if(s)return s!==l[0]&&l.unshift(s),i[s]})(f,_,i)),!n&&-1<T.inArray("script",f.dataTypes)&&T.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),r=((e,t,i,n)=>{var o,s,r,a,l,c={},u=e.dataTypes.slice();if(u[1])for(r in e.converters)c[r.toLowerCase()]=e.converters[r];for(s=u.shift();s;)if(e.responseFields[s]&&(i[e.responseFields[s]]=t),!l&&n&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=s,s=u.shift())if("*"===s)s=l;else if("*"!==l&&l!==s){if(!(r=c[l+" "+s]||c["* "+s]))for(o in c)if((a=o.split(" "))[1]===s&&(r=c[l+" "+a[0]]||c["* "+a[0]])){!0===r?r=c[o]:!0!==c[o]&&(s=a[0],u.unshift(a[1]));break}if(!0!==r)if(r&&e.throws)t=r(t);else try{t=r(t)}catch(e){return{state:"parsererror",error:r?e:"No conversion from "+l+" to "+s}}}return{state:"success",data:t}})(f,r,_,n),n?(f.ifModified&&((i=_.getResponseHeader("Last-Modified"))&&(T.lastModified[c]=i),i=_.getResponseHeader("etag"))&&(T.etag[c]=i),204===e||"HEAD"===f.type?a="nocontent":304===e?a="notmodified":(a=r.state,o=r.data,n=!(s=r.error))):(s=a,!e&&a||(a="error",e<0&&(e=0))),_.status=e,_.statusText=(t||a)+"",n?v.resolveWith(m,[o,a,_]):v.rejectWith(m,[_,a,s]),_.statusCode(b),b=void 0,p&&g.trigger(n?"ajaxSuccess":"ajaxError",[_,f,n?o:s]),y.fireWith(m,[_,a]),p&&(g.trigger("ajaxComplete",[_,f]),--T.active||T.event.trigger("ajaxStop")))}},getJSON:function(e,t,i){return T.get(e,t,i,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,o){T[o]=function(e,t,i,n){return y(t)&&(n=n||i,i=t,t=void 0),T.ajax(T.extend({url:e,type:o,dataType:n,data:t,success:i},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){for(var t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,i){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,i)}})},T.fn.extend({wrapAll:function(e){return this[0]&&(y(e)&&(e=e.call(this[0])),e=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(i){return y(i)?this.each(function(e){T(this).wrapInner(i.call(this,e))}):this.each(function(){var e=T(this),t=e.contents();t.length?t.wrapAll(i):e.append(i)})},wrap:function(t){var i=y(t);return this.each(function(e){T(this).wrapAll(i?t.call(this,e):t)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new x.XMLHttpRequest}catch(e){}};var Ji={0:200,1223:204},en=T.ajaxSettings.xhr();m.cors=!!en&&"withCredentials"in en,m.ajax=en=!!en,T.ajaxTransport(function(o){var s,r;if(m.cors||en&&!o.crossDomain)return{send:function(e,t){var i,n=o.xhr();if(n.open(o.type,o.url,o.async,o.username,o.password),o.xhrFields)for(i in o.xhrFields)n[i]=o.xhrFields[i];for(i in o.mimeType&&n.overrideMimeType&&n.overrideMimeType(o.mimeType),o.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest"),e)n.setRequestHeader(i,e[i]);s=function(e){return function(){s&&(s=r=n.onload=n.onerror=n.onabort=n.ontimeout=n.onreadystatechange=null,"abort"===e?n.abort():"error"===e?"number"!=typeof n.status?t(0,"error"):t(n.status,n.statusText):t(Ji[n.status]||n.status,n.statusText,"text"!==(n.responseType||"text")||"string"!=typeof n.responseText?{binary:n.response}:{text:n.responseText},n.getAllResponseHeaders()))}},n.onload=s(),r=n.onerror=n.ontimeout=s("error"),void 0!==n.onabort?n.onabort=r:n.onreadystatechange=function(){4===n.readyState&&x.setTimeout(function(){s&&r()})},s=s("abort");try{n.send(o.hasContent&&o.data||null)}catch(e){if(s)throw e}},abort:function(){s&&s()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(i){var n,o;if(i.crossDomain||i.scriptAttrs)return{send:function(e,t){n=T("<script>").attr(i.scriptAttrs||{}
vendor: 6,335 bytes, line 1
1).prop({charset:i.scriptCharset,src:i.url}).on("load error",o=function(e){n.remove(),o=null,e&&t("error"===e.type?404:200,e.type)}),k.head.appendChild(n[0])},abort:function(){o&&o()}}});var tn=[],nn=/(=)\?(?=&|$)|\?\?/,on=(T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=tn.pop()||T.expando+"_"+Ai.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,i){var n,o,s,r=!1!==e.jsonp&&(nn.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(e.data)&&"data");if(r||"jsonp"===e.dataTypes[0])return n=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,r?e[r]=e[r].replace(nn,"$1"+n):!1!==e.jsonp&&(e.url+=(Fi.test(e.url)?"&":"?")+e.jsonp+"="+n),e.converters["script json"]=function(){return s||T.error(n+" was not called"),s[0]},e.dataTypes[0]="json",o=x[n],x[n]=function(){s=arguments},i.always(function(){void 0===o?T(x).removeProp(n):x[n]=o,e[n]&&(e.jsonpCallback=t.jsonpCallback,tn.push(n)),s&&y(o)&&o(s[0]),s=o=void 0}),"script"}),m.createHTMLDocument=((e=k.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===e.childNodes.length),T.parseHTML=function(e,t,i){return"string"!=typeof e?[]:("boolean"==typeof t&&(i=t,t=!1),t||(m.createHTMLDocument?((n=(t=k.implementation.createHTMLDocument("")).createElement("base")).href=k.location.href,t.head.appendChild(n)):t=k),n=!i&&[],(i=Ye.exec(e))?[t.createElement(i[1])]:(i=Et([e],t,n),n&&n.length&&T(n).remove(),T.merge([],i.childNodes)));var n},T.fn.load=function(e,t,i){var n,o,s,r=this,a=e.indexOf(" ");return-1<a&&(n=ji(e.slice(a)),e=e.slice(0,a)),y(t)?(i=t,t=void 0):t&&"object"==typeof t&&(o="POST"),0<r.length&&T.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done(function(e){s=arguments,r.html(n?T("<div>").append(T.parseHTML(e)).find(n):e)}).always(i&&function(e,t){r.each(function(){i.apply(this,s||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(t){return T.grep(T.timers,function(e){return t===e.elem}).length},T.offset={setOffset:function(e,t,i){var n,o,s,r,a=T.css(e,"position"),l=T(e),c={};"static"===a&&(e.style.position="relative"),s=l.offset(),n=T.css(e,"top"),r=T.css(e,"left"),a=("absolute"===a||"fixed"===a)&&-1<(n+r).indexOf("auto")?(o=(a=l.position()).top,a.left):(o=parseFloat(n)||0,parseFloat(r)||0),null!=(t=y(t)?t.call(e,i,T.extend({},s)):t).top&&(c.top=t.top-s.top+o),null!=t.left&&(c.left=t.left-s.left+a),"using"in t?t.using.call(e,c):l.css(c)}},T.fn.extend({offset:function(t){var e,i;return arguments.length?void 0===t?this:this.each(function(e){T.offset.setOffset(this,t,e)}):(i=this[0])?i.getClientRects().length?(e=i.getBoundingClientRect(),i=i.ownerDocument.defaultView,{top:e.top+i.pageYOffset,left:e.left+i.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,i,n=this[0],o={top:0,left:0};if("fixed"===T.css(n,"position"))t=n.getBoundingClientRect();else{for(t=this.offset(),i=n.ownerDocument,e=n.offsetParent||i.documentElement;e&&(e===i.body||e===i.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==n&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(n,"marginTop",!0),left:t.left-o.left-T.css(n,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||vt})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,o){var s="pageYOffset"===o;T.fn[t]=function(e){return u(this,function(e,t,i){var n;if(N(e)?n=e:9===e.nodeType&&(n=e.defaultView),void 0===i)return n?n[o]:e[t];n?n.scrollTo(s?n.pageXOffset:i,s?i:n.pageYOffset):e[t]=i},t,e,arguments.length)}}),T.each(["top","left"],function(e,i){T.cssHooks[i]=ii(m.pixelPosition,function(e,t){if(t)return t=ti(e,i),Zt.test(t)?T(e).position()[i]+"px":t})}),T.each({Height:"height",Width:"width"},function(r,a){T.each({padding:"inner"+r,content:a,"":"outer"+r},function(n,s){T.fn[s]=function(e,t){var i=arguments.length&&(n||"boolean"!=typeof e),o=n||(!0===e||!0===t?"margin":"border");return u(this,function(e,t,i){var n;return N(e)?0===s.indexOf("outer")?e["inner"+r]:e.document.documentElement["client"+r]:9===e.nodeType?(n=e.documentElement,Math.max(e.body["scroll"+r],n["scroll"+r],e.body["offset"+r],n["offset"+r],n["client"+r])):void 0===i?T.css(e,t,o):T.style(e,t,i,o)},a,i?e:void 0,i)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,i){return this.on(e,null,t,i)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,i,n){return this.on(t,e,i,n)},undelegate:function(e,t,i){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",i)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,i){T.fn[i]=function(e,t){return 0<arguments.length?this.on(i,null,e,t):this.trigger(i)}}),/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g),sn=(T.proxy=function(e,t){var i,n;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return i=a.call(arguments,2),(n=function(){return e.apply(t||this,i.concat(a.call(arguments)))}).guid=e.guid=e.guid||T.guid++,n},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=b,T.isFunction=y,T.isWindow=N,T.camelCase=O,T.type=Q,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(on,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],function(){return T}),x.jQuery),rn=x.$;return T.noConflict=function(e){return x.$===T&&(x.$=rn),e&&x.jQuery===T&&(x.jQuery=sn),T},void 0===L&&(x.jQuery=x.$=T),T}),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)})(function(Y){Y.ui=Y.ui||{};Y.ui.version="1.14.1";var o,n,x,k,s,r,a,l,c,i,I=0,L=Array.prototype.hasOwnProperty,u=Array.prototype.slice;Y.cleanData=(o=Y.cleanData,function(e){for(var t,i,n=0;null!=(i=e[n]);
vendor: 7,554 bytes, line 1
1n++)(t=Y._data(i,"events"))&&t.remove&&Y(i).triggerHandler("remove");o(e)}),Y.widget=function(e,i,t){var n,o,s,r,a={},l=e.split(".")[0];return"__proto__"===(e=e.split(".")[1])||"constructor"===e?Y.error("Invalid widget name: "+e):(r=l+"-"+e,t||(t=i,i=Y.Widget),Array.isArray(t)&&(t=Y.extend.apply(null,[{}].concat(t))),Y.expr.pseudos[r.toLowerCase()]=function(e){return!!Y.data(e,r)},Y[l]=Y[l]||{},n=Y[l][e],o=Y[l][e]=function(e,t){if(!this||!this._createWidget)return new o(e,t);arguments.length&&this._createWidget(e,t)},Y.extend(o,n,{version:t.version,_proto:Y.extend({},t),_childConstructors:[]}),(s=new i).options=Y.widget.extend({},s.options),Y.each(t,function(t,n){function o(){return i.prototype[t].apply(this,arguments)}function s(e){return i.prototype[t].apply(this,e)}a[t]="function"!=typeof n?n:function(){var e,t=this._super,i=this._superApply;return this._super=o,this._superApply=s,e=n.apply(this,arguments),this._super=t,this._superApply=i,e}}),o.prototype=Y.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||e},a,{constructor:o,namespace:l,widgetName:e,widgetFullName:r}),n?(Y.each(n._childConstructors,function(e,t){var i=t.prototype;Y.widget(i.namespace+"."+i.widgetName,o,t._proto)}),delete n._childConstructors):i._childConstructors.push(o),Y.widget.bridge(e,o),o)},Y.widget.extend=function(e){for(var t,i,n=u.call(arguments,1),o=0,s=n.length;o<s;o++)for(t in n[o])i=n[o][t],L.call(n[o],t)&&void 0!==i&&(Y.isPlainObject(i)?e[t]=Y.isPlainObject(e[t])?Y.widget.extend({},e[t],i):Y.widget.extend({},i):e[t]=i);return e},Y.widget.bridge=function(s,t){var r=t.prototype.widgetFullName||s;Y.fn[s]=function(i){var e="string"==typeof i,n=u.call(arguments,1),o=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=Y.data(this,r);return"instance"===i?(o=t,!1):t?"function"!=typeof t[i]||"_"===i.charAt(0)?Y.error("no such method '"+i+"' for "+s+" widget instance"):(e=t[i].apply(t,n))!==t&&void 0!==e?(o=e&&e.jquery?o.pushStack(e.get()):e,!1):void 0:Y.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=Y.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=Y.data(this,r);e?(e.option(i||{}),e._init&&e._init()):Y.data(this,r,new t(i,this))})),o}},Y.Widget=function(){},Y.Widget._childConstructors=[],Y.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(e,t){t=Y(t||this.defaultElement||this)[0],this.element=Y(t),this.uuid=I++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=Y(),this.hoverable=Y(),this.focusable=Y(),this.classesElementLookup={},t!==this&&(Y.data(t,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===t&&this.destroy()}}),this.document=Y(t.style?t.ownerDocument:t.document||t),this.window=Y(this.document[0].defaultView||this.document[0].parentWindow)),this.options=Y.widget.extend({},this.options,this._getCreateOptions(),e),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:Y.noop,_create:Y.noop,_init:Y.noop,destroy:function(){var i=this;this._destroy(),Y.each(this.classesElementLookup,function(e,t){i._removeClass(t,e)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:Y.noop,widget:function(){return this.element},option:function(e,t){var i,n,o,s=e;if(0===arguments.length)return Y.widget.extend({},this.options);if("string"==typeof e)if(s={},e=(i=e.split(".")).shift(),i.length){for(n=s[e]=Y.widget.extend({},this.options[e]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(e=i.pop(),1===arguments.length)return void 0===n[e]?null:n[e];n[e]=t}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];s[e]=t}return this._setOptions(s),this},_setOptions:function(e){for(var t in e)this._setOption(t,e[t]);return this},_setOption:function(e,t){return"classes"===e&&this._setOptionClasses(t),this.options[e]=t,"disabled"===e&&this._setOptionDisabled(t),this},_setOptionClasses:function(e){var t,i,n;for(t in e)n=this.classesElementLookup[t],e[t]!==this.options.classes[t]&&n&&n.length&&(i=Y(n.get()),this._removeClass(n,t),i.addClass(this._classes({element:i,keys:t,classes:e,add:!0})))},_setOptionDisabled:function(e){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!e),e&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function e(e,t){for(var i,n=0;n<e.length;n++)i=r.classesElementLookup[e[n]]||Y(),i=o.add?((()=>{var i=[];o.element.each(function(e,t){Y.map(r.classesElementLookup,function(e){return e}).some(function(e){return e.is(t)})||i.push(t)}),r._on(Y(i),{remove:"_untrackClassesElement"})})(),Y(Y.uniqueSort(i.get().concat(o.element.get())))):Y(i.not(o.element).get()),r.classesElementLookup[e[n]]=i,s.push(e[n]),t&&o.classes[e[n]]&&s.push(o.classes[e[n]])}return(o=Y.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&e(o.keys.match(/\S+/g)||[],!0),o.extra&&e(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;Y.each(n.classesElementLookup,function(e,t){-1!==Y.inArray(i.target,t)&&(n.classesElementLookup[e]=Y(t.not(i.target).get()))}),this._off(Y(i.target))},_removeClass:function(e,t,i){return this._toggleClass(e,t,i,!1)},_addClass:function(e,t,i){return this._toggleClass(e,t,i,!0)},_toggleClass:function(e,t,i,n){var o="string"==typeof e||null===e,t={extra:o?t:i,keys:o?e:t,element:o?this.element:e,add:n="boolean"==typeof n?n:i};return t.element.toggleClass(this._classes(t),n),this},_on:function(o,s,e){var r,a=this;"boolean"!=typeof o&&(e=s,s=o,o=!1),e?(s=r=Y(s),this.bindings=this.bindings.add(s)):(e=s,s=this.element,r=this.widget()),Y.each(e,function(e,t){function i(){if(o||!0!==a.options.disabled&&!Y(this).hasClass("ui-state-disabled"))return("string"==typeof t?a[t]:t).apply(a,arguments)}"string"!=typeof t&&(i.guid=t.guid=t.guid||i.guid||Y.guid++);var e=e.match(/^([\w:-]*)\s*(.*)$/),n=e[1]+a.eventNamespace,e=e[2];e?r.on(n,e,i):s.on(n,i)})},_off:function(e,t){t=(t||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(t),this.bindings=Y(this.bindings.not(e).get()),this.focusable=Y(this.focusable.not(e).get()),this.hoverable=Y(this.hoverable.not(e).get())},_delay:function(e,t){var i=this;return setTimeout(function(){return("string"==typeof e?i[e]:e).apply(i,arguments)},t||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(Y(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(Y(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(Y(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(Y(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,t,i){var n,o,s=this.options[e];if(i=i||{},(t=Y.Event(t)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),t.target=this.element[0],o=t.originalEvent)for(n in o)n in t||(t[n]=o[n]);
vendor: 45,373 bytes, line 1
1return this.element.trigger(t,i),!("function"==typeof s&&!1===s.apply(this.element[0],[t].concat(i))||t.isDefaultPrevented())}},Y.each({show:"fadeIn",hide:"fadeOut"},function(s,r){Y.Widget.prototype["_"+s]=function(t,e,i){var n,o=(e="string"==typeof e?{effect:e}:e)?!0!==e&&"number"!=typeof e&&e.effect||r:s;"number"==typeof(e=e||{})?e={duration:e}:!0===e&&(e={}),n=!Y.isEmptyObject(e),e.complete=i,e.delay&&t.delay(e.delay),n&&Y.effects&&Y.effects.effect[o]?t[s](e):o!==s&&t[o]?t[o](e.duration,e.easing,i):t.queue(function(e){Y(this)[s](),i&&i.call(t[0]),e()})}}),Y.widget;function T(e,t,i){return[parseFloat(e[0])*(c.test(e[0])?t/100:1),parseFloat(e[1])*(c.test(e[1])?i/100:1)]}function C(e,t){return parseInt(Y.css(e,t),10)||0}function S(e){return null!=e&&e===e.window}x=Math.max,k=Math.abs,s=/left|center|right/,r=/top|center|bottom/,a=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,c=/%$/,i=Y.fn.position,Y.position={scrollbarWidth:function(){var e,t,i;return void 0!==n?n:(i=(t=Y("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],Y("body").append(t),e=i.offsetWidth,t.css("overflow","scroll"),e===(i=i.offsetWidth)&&(i=t[0].clientWidth),t.remove(),n=e-i)},getScrollInfo:function(e){var t=e.isWindow||e.isDocument?"":e.element.css("overflow-x"),i=e.isWindow||e.isDocument?"":e.element.css("overflow-y"),t="scroll"===t||"auto"===t&&e.width<e.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&e.height<e.element[0].scrollHeight?Y.position.scrollbarWidth():0,height:t?Y.position.scrollbarWidth():0}},getWithinInfo:function(e){var t=Y(e||window),i=S(t[0]),n=!!t[0]&&9===t[0].nodeType;return{element:t,isWindow:i,isDocument:n,offset:!i&&!n?Y(e).offset():{left:0,top:0},scrollLeft:t.scrollLeft(),scrollTop:t.scrollTop(),width:t.outerWidth(),height:t.outerHeight()}}},Y.fn.position=function(h){var d,p,f,m,g,v,y,b,_,w,e,t;return h&&h.of?(v="string"==typeof(h=Y.extend({},h)).of?Y(document).find(h.of):Y(h.of),y=Y.position.getWithinInfo(h.within),b=Y.position.getScrollInfo(y),_=(h.collision||"flip").split(" "),w={},t=9===(t=(e=v)[0]).nodeType?{width:e.width(),height:e.height(),offset:{top:0,left:0}}:S(t)?{width:e.width(),height:e.height(),offset:{top:e.scrollTop(),left:e.scrollLeft()}}:t.preventDefault?{width:0,height:0,offset:{top:t.pageY,left:t.pageX}}:{width:e.outerWidth(),height:e.outerHeight(),offset:e.offset()},v[0].preventDefault&&(h.at="left top"),p=t.width,f=t.height,g=Y.extend({},m=t.offset),Y.each(["my","at"],function(){var e,t,i=(h[this]||"").split(" ");(i=1===i.length?s.test(i[0])?i.concat(["center"]):r.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=s.test(i[0])?i[0]:"center",i[1]=r.test(i[1])?i[1]:"center",e=a.exec(i[0]),t=a.exec(i[1]),w[this]=[e?e[0]:0,t?t[0]:0],h[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===_.length&&(_[1]=_[0]),"right"===h.at[0]?g.left+=p:"center"===h.at[0]&&(g.left+=p/2),"bottom"===h.at[1]?g.top+=f:"center"===h.at[1]&&(g.top+=f/2),d=T(w.at,p,f),g.left+=d[0],g.top+=d[1],this.each(function(){var i,e,r=Y(this),a=r.outerWidth(),l=r.outerHeight(),t=C(this,"marginLeft"),n=C(this,"marginTop"),o=a+t+C(this,"marginRight")+b.width,s=l+n+C(this,"marginBottom")+b.height,c=Y.extend({},g),u=T(w.my,r.outerWidth(),r.outerHeight());"right"===h.my[0]?c.left-=a:"center"===h.my[0]&&(c.left-=a/2),"bottom"===h.my[1]?c.top-=l:"center"===h.my[1]&&(c.top-=l/2),c.left+=u[0],c.top+=u[1],i={marginLeft:t,marginTop:n},Y.each(["left","top"],function(e,t){Y.ui.position[_[e]]&&Y.ui.position[_[e]][t](c,{targetWidth:p,targetHeight:f,elemWidth:a,elemHeight:l,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[d[0]+u[0],d[1]+u[1]],my:h.my,at:h.at,within:y,elem:r})}),h.using&&(e=function(e){var t=m.left-c.left,i=t+p-a,n=m.top-c.top,o=n+f-l,s={target:{element:v,left:m.left,top:m.top,width:p,height:f},element:{element:r,left:c.left,top:c.top,width:a,height:l},horizontal:i<0?"left":0<t?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};p<a&&k(t+i)<p&&(s.horizontal="center"),f<l&&k(n+o)<f&&(s.vertical="middle"),x(k(t),k(i))>x(k(n),k(o))?s.important="horizontal":s.important="vertical",h.using.call(this,e,s)}),r.offset(Y.extend(c,{using:e}))})):i.apply(this,arguments)},Y.ui.position={fit:{left:function(e,t){var i,n=t.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=e.left-t.collisionPosition.marginLeft,r=o-s,a=s+t.collisionWidth-n-o;n<t.collisionWidth?0<r&&a<=0?(i=e.left+r+t.collisionWidth-n-o,e.left+=r-i):e.left=!(0<a&&r<=0)&&a<r?o+n-t.collisionWidth:o:0<r?e.left+=r:0<a?e.left-=a:e.left=x(e.left-s,e.left)},top:function(e,t){var i,n=t.within,n=n.isWindow?n.scrollTop:n.offset.top,o=t.within.height,s=e.top-t.collisionPosition.marginTop,r=n-s,a=s+t.collisionHeight-o-n;o<t.collisionHeight?0<r&&a<=0?(i=e.top+r+t.collisionHeight-o-n,e.top+=r-i):e.top=!(0<a&&r<=0)&&a<r?n+o-t.collisionHeight:n:0<r?e.top+=r:0<a?e.top-=a:e.top=x(e.top-s,e.top)}},flip:{left:function(e,t){var i=t.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=e.left-t.collisionPosition.marginLeft,r=s-i,s=s+t.collisionWidth-o-i,a="left"===t.my[0]?-t.elemWidth:"right"===t.my[0]?t.elemWidth:0,l="left"===t.at[0]?t.targetWidth:"right"===t.at[0]?-t.targetWidth:0,c=-2*t.offset[0];r<0?((o=e.left+a+l+c+t.collisionWidth-o-n)<0||o<k(r))&&(e.left+=a+l+c):0<s&&(0<(n=e.left-t.collisionPosition.marginLeft+a+l+c-i)||k(n)<s)&&(e.left+=a+l+c)},top:function(e,t){var i=t.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=e.top-t.collisionPosition.marginTop,r=s-i,s=s+t.collisionHeight-o-i,a="top"===t.my[1]?-t.elemHeight:"bottom"===t.my[1]?t.elemHeight:0,l="top"===t.at[1]?t.targetHeight:"bottom"===t.at[1]?-t.targetHeight:0,c=-2*t.offset[1];r<0?((o=e.top+a+l+c+t.collisionHeight-o-n)<0||o<k(r))&&(e.top+=a+l+c):0<s&&(0<(n=e.top-t.collisionPosition.marginTop+a+l+c-i)||k(n)<s)&&(e.top+=a+l+c)}},flipfit:{left:function(){Y.ui.position.flip.left.apply(this,arguments),Y.ui.position.fit.left.apply(this,arguments)},top:function(){Y.ui.position.flip.top.apply(this,arguments),Y.ui.position.fit.top.apply(this,arguments)}}};Y.ui.position,Y.extend(Y.expr.pseudos,{data:Y.expr.createPseudo(function(t){return function(e){return!!Y.data(e,t)}})}),Y.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",function(e){e.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}),Y.ui.focusable=function(e,t){var i,n,o,s=e.nodeName.toLowerCase();return"area"===s?(o=(i=e.parentNode).name,!(!e.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=Y("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!e.disabled)&&(o=Y(e).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&e.href||t,n&&Y(e).is(":visible")&&"visible"===Y(e).css("visibility"))},Y.extend(Y.expr.pseudos,{focusable:function(e){return Y.ui.focusable(e,null!=Y.attr(e,"tabindex"))}}),Y.ui.focusable,Y.ui.formResetMixin={_formResetHandler:function(){var t=Y(this);setTimeout(function(){var e=t.data("ui-form-reset-instances");Y.each(e,function(){this.refresh()})})},_bindFormResetHandler:function(){var e;this.form=Y(this.element.prop("form")),this.form.length&&((e=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),e.push(this),this.form.data("ui-form-reset-instances",e))},_unbindFormResetHandler:function(){var e;this.form.length&&((e=this.form.data("ui-form-reset-instances")).splice(Y.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"))}},Y.escapeSelector||(Y.escapeSelector=function(e){return CSS.escape(e+"")}),Y.fn.even&&Y.fn.odd||Y.fn.extend({even:function(){return this.filter(function(e){return e%2==0})},odd:function(){return this.filter(function(e){return e%2==1})}}),Y.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},Y.fn.labels=function(){var e,t,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(t=this.eq(0).parents("label"),(e=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),e="label[for='"+CSS.escape(e)+"']",t=t.add(i.find(e).addBack(e))),this.pushStack(t)):this.pushStack([])},Y.fn.scrollParent=function(e){var t=this.css("position"),i="absolute"===t,n=e?/(auto|scroll|hidden)/:/(auto|scroll)/,e=this.parents().filter(function(){var e=Y(this);return(!i||"static"!==e.css("position"))&&n.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))}).eq(0);return"fixed"!==t&&e.length?e:Y(this[0].ownerDocument||document)},Y.extend(Y.expr.pseudos,{tabbable:function(e){var t=Y.attr(e,"tabindex"),i=null!=t;return(!i||0<=t)&&Y.ui.focusable(e,i)}}),Y.fn.extend({uniqueId:(N=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++N)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&Y(this).removeAttr("id")})}});var e,N,h=!1;Y(document).on("mouseup",function(){h=!1}),Y.widget("ui.mouse",{version:"1.14.1",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var t=this;this.element.on("mousedown."+this.widgetName,function(e){return t._mouseDown(e)}).on("click."+this.widgetName,function(e){if(!0===Y.data(e.target,t.widgetName+".preventClickEvent"))return Y.removeData(e.target,t.widgetName+".preventClickEvent"),e.stopImmediatePropagation(),!1}),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(e){var t,i,n;if(!h)return this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(e),i=1===(this._mouseDownEvent=e).which,n="string"==typeof(t=this).options.cancel&&Y(e.target).closest(this.options.cancel).length,i&&!n&&this._mouseCapture(e)&&(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout(function(){t.mouseDelayMet=!0},this.options.delay)),this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(e),!this._mouseStarted)?e.preventDefault():(!0===Y.data(e.target,this.widgetName+".preventClickEvent")&&Y.removeData(e.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(e){return t._mouseMove(e)},this._mouseUpDelegate=function(e){return t._mouseUp(e)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),e.preventDefault(),h=!0)),!0},_mouseMove:function(e){if(this._mouseMoved&&!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e);return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(e){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,e.target===this._mouseDownEvent.target&&Y.data(e.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(e)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,h=!1,e.preventDefault()},_mouseDistanceMet:function(e){return Math.max(Math.abs(this._mouseDownEvent.pageX-e.pageX),Math.abs(this._mouseDownEvent.pageY-e.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}}),Y.ui.plugin={add:function(e,t,i){var n,o=Y.ui[e].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([t,i[n]])},call:function(e,t,i,n){var o,s=e.plugins[t];if(s&&(n||e.element[0].parentNode&&11!==e.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)e.options[s[o][0]]&&s[o][1].apply(e.element,i)}},Y.widget("ui.draggable",Y.ui.mouse,{version:"1.14.1",widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1,drag:null,start:null,stop:null},_create:function(){"original"===this.options.helper&&this._setPositionRelative(),this.options.addClasses&&this._addClass("ui-draggable"),this._setHandleClassName(),this._mouseInit()},_setOption:function(e,t){this._super(e,t),"handle"===e&&(this._removeHandleClassName(),this._setHandleClassName())},_destroy:function(){(this.helper||this.element).is(".ui-draggable-dragging")?this.destroyOnClear=!0:(this._removeHandleClassName(),this._mouseDestroy())},_mouseCapture:function(e){var t=this.options;return!(this.helper||t.disabled||0<Y(e.target).closest(".ui-resizable-handle").length||(this.handle=this._getHandle(e),!this.handle)||(this._blurActiveElement(e),this._blockFrames(!0===t.iframeFix?"iframe":t.iframeFix),0))},_blockFrames:function(e){this.iframeBlocks=this.document.find(e).map(function(){var e=Y(this);return Y("<div>").css("position","absolute").appendTo(e.parent()).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_blurActiveElement:function(e){var t=this.document[0].activeElement;Y(e.target).closest(t).length||Y(t).trigger("blur")},_mouseStart:function(e){var t=this.options;return this.helper=this._createHelper(e),this._addClass(this.helper,"ui-draggable-dragging"),this._cacheHelperProportions(),Y.ui.ddmanager&&(Y.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(!0),this.offsetParent=this.helper.offsetParent(),this.hasFixedAncestor=0<this.helper.parents().filter(function(){return"fixed"===Y(this).css("position")}).length,this.positionAbs=this.element.offset(),this._refreshOffsets(e),this.originalPosition=this.position=this._generatePosition(e,!1),this.originalPageX=e.pageX,this.originalPageY=e.pageY,t.cursorAt&&this._adjustOffsetFromHelper(t.cursorAt),this._setContainment(),!1===this._trigger("start",e)?(this._clear(),!1):(this._cacheHelperProportions(),Y.ui.ddmanager&&!t.dropBehaviour&&Y.ui.ddmanager.prepareOffsets(this,e),this._mouseDrag(e,!0),Y.ui.ddmanager&&Y.ui.ddmanager.dragStart(this,e),!0)},_refreshOffsets:function(e){this.offset={top:this.positionAbs.top-this.margins.top,left:this.positionAbs.left-this.margins.left,scroll:!1,parent:this._getParentOffset(),relative:this._getRelativeOffset()},this.offset.click={left:e.pageX-this.offset.left,top:e.pageY-this.offset.top}},_mouseDrag:function(e,t){if(this.hasFixedAncestor&&(this.offset.parent=this._getParentOffset()),this.position=this._generatePosition(e,!0),this.positionAbs=this._convertPositionTo("absolute"),!t){t=this._uiHash();if(!1===this._trigger("drag",e,t))return this._mouseUp(new Y.Event("mouseup",e)),!1;this.position=t.position}return this.helper[0].style.left=this.position.left+"px",this.helper[0].style.top=this.position.top+"px",Y.ui.ddmanager&&Y.ui.ddmanager.drag(this,e),!1},_mouseStop:function(e){var t=this,i=!1;return Y.ui.ddmanager&&!this.options.dropBehaviour&&(i=Y.ui.ddmanager.drop(this,e)),this.dropped&&(i=this.dropped,this.dropped=!1),"invalid"===this.options.revert&&!i||"valid"===this.options.revert&&i||!0===this.options.revert||"function"==typeof this.options.revert&&this.options.revert.call(this.element,i)?Y(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){!1!==t._trigger("stop",e)&&t._clear()}):!1!==this._trigger("stop",e)&&this._clear(),!1},_mouseUp:function(e){return this._unblockFrames(),Y.ui.ddmanager&&Y.ui.ddmanager.dragStop(this,e),this.handleElement.is(e.target)&&this.element.trigger("focus"),Y.ui.mouse.prototype._mouseUp.call(this,e)},cancel:function(){return this.helper.is(".ui-draggable-dragging")?this._mouseUp(new Y.Event("mouseup",{target:this.element[0]})):this._clear(),this},_getHandle:function(e){return!this.options.handle||!!Y(e.target).closest(this.element.find(this.options.handle)).length},_setHandleClassName:function(){this.handleElement=this.options.handle?this.element.find(this.options.handle):this.element,this._addClass(this.handleElement,"ui-draggable-handle")},_removeHandleClassName:function(){this._removeClass(this.handleElement,"ui-draggable-handle")},_createHelper:function(e){var t=this.options,i="function"==typeof t.helper,e=i?Y(t.helper.apply(this.element[0],[e])):"clone"===t.helper?this.element.clone().removeAttr("id"):this.element;return e.parents("body").length||e.appendTo("parent"===t.appendTo?this.element[0].parentNode:t.appendTo),i&&e[0]===this.element[0]&&this._setPositionRelative(),e[0]===this.element[0]||/(fixed|absolute)/.test(e.css("position"))||e.css("position","absolute"),e},_setPositionRelative:function(){/^(?:r|a|f)/.test(this.element.css("position"))||(this.element[0].style.position="relative")},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_isRootNode:function(e){return/(html|body)/i.test(e.tagName)||e===this.document[0]},_getParentOffset:function(){var e=this.offsetParent.offset(),t=this.document[0];return"absolute"===this.cssPosition&&this.scrollParent[0]!==t&&Y.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this._isRootNode(this.offsetParent[0])?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e,t;return"relative"!==this.cssPosition?{top:0,left:0}:(e=this.element.position(),t=this._isRootNode(this.scrollParent[0]),{top:e.top-(parseInt(this.helper.css("top"),10)||0)+(t?0:this.scrollParent.scrollTop()),left:e.left-(parseInt(this.helper.css("left"),10)||0)+(t?0:this.scrollParent.scrollLeft())})},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t=this.options,i=this.document[0];this.relativeContainer=null,t.containment?"window"===t.containment?this.containment=[Y(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,Y(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,Y(window).scrollLeft()+Y(window).width()-this.helperProportions.width-this.margins.left,Y(window).scrollTop()+(Y(window).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:"document"===t.containment?this.containment=[0,0,Y(i).width()-this.helperProportions.width-this.margins.left,(Y(i).height()||i.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]:t.containment.constructor===Array?this.containment=t.containment:("parent"===t.containment&&(t.containment=this.helper[0].parentNode),(t=(i=Y(t.containment))[0])&&(e=/(scroll|auto)/.test(i.css("overflow")),this.containment=[(parseInt(i.css("borderLeftWidth"),10)||0)+(parseInt(i.css("paddingLeft"),10)||0),(parseInt(i.css("borderTopWidth"),10)||0)+(parseInt(i.css("paddingTop"),10)||0),(e?Math.max(t.scrollWidth,t.offsetWidth):t.offsetWidth)-(parseInt(i.css("borderRightWidth"),10)||0)-(parseInt(i.css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(e?Math.max(t.scrollHeight,t.offsetHeight):t.offsetHeight)-(parseInt(i.css("borderBottomWidth"),10)||0)-(parseInt(i.css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relativeContainer=i)):this.containment=null},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,i=this._isRootNode(this.scrollParent[0]);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.offset.scroll.top:i?0:this.offset.scroll.top)*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.offset.scroll.left:i?0:this.offset.scroll.left)*e}},_generatePosition:function(e,t){var i,n=this.options,o=this._isRootNode(this.scrollParent[0]),s=e.pageX,r=e.pageY;return o&&this.offset.scroll||(this.offset.scroll={top:this.scrollParent.scrollTop(),left:this.scrollParent.scrollLeft()}),{top:(r=t&&(this.containment&&(i=this.relativeContainer?(t=this.relativeContainer.offset(),[this.containment[0]+t.left,this.containment[1]+t.top,this.containment[2]+t.left,this.containment[3]+t.top]):this.containment,e.pageX-this.offset.click.left<i[0]&&(s=i[0]+this.offset.click.left),e.pageY-this.offset.click.top<i[1]&&(r=i[1]+this.offset.click.top),e.pageX-this.offset.click.left>i[2]&&(s=i[2]+this.offset.click.left),e.pageY-this.offset.click.top>i[3])&&(r=i[3]+this.offset.click.top),n.grid&&(t=n.grid[1]?this.originalPageY+Math.round((r-this.originalPageY)/n.grid[1])*n.grid[1]:this.originalPageY,r=!i||t-this.offset.click.top>=i[1]||t-this.offset.click.top>i[3]?t:t-this.offset.click.top>=i[1]?t-n.grid[1]:t+n.grid[1],e=n.grid[0]?this.originalPageX+Math.round((s-this.originalPageX)/n.grid[0])*n.grid[0]:this.originalPageX,s=!i||e-this.offset.click.left>=i[0]||e-this.offset.click.left>i[2]?e:e-this.offset.click.left>=i[0]?e-n.grid[0]:e+n.grid[0]),"y"===n.axis&&(s=this.originalPageX),"x"===n.axis)?this.originalPageY:r)-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.offset.scroll.top:o?0:this.offset.scroll.top),left:s-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.offset.scroll.left:o?0:this.offset.scroll.left)}},_clear:function(){this._removeClass(this.helper,"ui-draggable-dragging"),this.helper[0]===this.element[0]||this.cancelHelperRemoval||this.helper.remove(),this.helper=null,this.cancelHelperRemoval=!1,this.destroyOnClear&&this.destroy()},_trigger:function(e,t,i){return i=i||this._uiHash(),Y.ui.plugin.call(this,e,[t,i,this],!0),/^(drag|start|stop)/.test(e)&&(this.positionAbs=this._convertPositionTo("absolute"),i.offset=this.positionAbs),Y.Widget.prototype._trigger.call(this,e,t,i)},plugins:{},_uiHash:function(){return{helper:this.helper,position:this.position,originalPosition:this.originalPosition,offset:this.positionAbs}}}),Y.ui.plugin.add("draggable","connectToSortable",{start:function(t,e,i){var n=Y.extend({},e,{item:i.element});i.sortables=[],Y(i.options.connectToSortable).each(function(){var e=Y(this).sortable("instance");e&&!e.options.disabled&&(i.sortables.push(e),e.refreshPositions(),e._trigger("activate",t,n))})},stop:function(t,e,i){var n=Y.extend({},e,{item:i.element});i.cancelHelperRemoval=!1,Y.each(i.sortables,function(){var e=this;e.isOver?(e.isOver=0,i.cancelHelperRemoval=!0,e.cancelHelperRemoval=!1,e._storedCSS={position:e.placeholder.css("position"),top:e.placeholder.css("top"),left:e.placeholder.css("left")},e._mouseStop(t),e.options.helper=e.options._helper):(e.cancelHelperRemoval=!0,e._trigger("deactivate",t,n))})},drag:function(i,n,o){Y.each(o.sortables,function(){var e=!1,t=this;t.positionAbs=o.positionAbs,t.helperProportions=o.helperProportions,t.offset.click=o.offset.click,t._intersectsWith(t.containerCache)&&(e=!0,Y.each(o.sortables,function(){return this.positionAbs=o.positionAbs,this.helperProportions=o.helperProportions,this.offset.click=o.offset.click,e=this!==t&&this._intersectsWith(this.containerCache)&&Y.contains(t.element[0],this.element[0])?!1:e})),e?(t.isOver||(t.isOver=1,o._parent=n.helper.parent(),t.currentItem=n.helper.appendTo(t.element).data("ui-sortable-item",!0),t.options._helper=t.options.helper,t.options.helper=function(){return n.helper[0]},i.target=t.currentItem[0],t._mouseCapture(i,!0),t._mouseStart(i,!0,!0),t.offset.click.top=o.offset.click.top,t.offset.click.left=o.offset.click.left,t.offset.parent.left-=o.offset.parent.left-t.offset.parent.left,t.offset.parent.top-=o.offset.parent.top-t.offset.parent.top,o._trigger("toSortable",i),o.dropped=t.element,Y.each(o.sortables,function(){this.refreshPositions()}),o.currentItem=o.element,t.fromOutside=o),t.currentItem&&(t._mouseDrag(i),n.position=t.position)):t.isOver&&(t.isOver=0,t.cancelHelperRemoval=!0,t.options._revert=t.options.revert,t.options.revert=!1,t._trigger("out",i,t._uiHash(t)),t._mouseStop(i,!0),t.options.revert=t.options._revert,t.options.helper=t.options._helper,t.placeholder&&t.placeholder.remove(),n.helper.appendTo(o._parent),o._refreshOffsets(i),n.position=o._generatePosition(i,!0),o._trigger("fromSortable",i),o.dropped=!1,Y.each(o.sortables,function(){this.refreshPositions()}))})}}),Y.ui.plugin.add("draggable","cursor",{start:function(e,t,i){var n=Y("body"),i=i.options;n.css("cursor")&&(i._cursor=n.css("cursor")),n.css("cursor",i.cursor)},stop:function(e,t,i){i=i.options;i._cursor&&Y("body").css("cursor",i._cursor)}}),Y.ui.plugin.add("draggable","opacity",{start:function(e,t,i){t=Y(t.helper),i=i.options;t.css("opacity")&&(i._opacity=t.css("opacity")),t.css("opacity",i.opacity)},stop:function(e,t,i){i=i.options;i._opacity&&Y(t.helper).css("opacity",i._opacity)}}),Y.ui.plugin.add("draggable","scroll",{start:function(e,t,i){i.scrollParentNotHidden||(i.scrollParentNotHidden=i.helper.scrollParent(!1)),i.scrollParentNotHidden[0]!==i.document[0]&&"HTML"!==i.scrollParentNotHidden[0].tagName&&(i.overflowOffset=i.scrollParentNotHidden.offset())},drag:function(e,t,i){var n=i.options,o=!1,s=i.scrollParentNotHidden[0],r=i.document[0];s!==r&&"HTML"!==s.tagName?(n.axis&&"x"===n.axis||(i.overflowOffset.top+s.offsetHeight-e.pageY<n.scrollSensitivity?s.scrollTop=o=s.scrollTop+n.scrollSpeed:e.pageY-i.overflowOffset.top<n.scrollSensitivity&&(s.scrollTop=o=s.scrollTop-n.scrollSpeed)),n.axis&&"y"===n.axis||(i.overflowOffset.left+s.offsetWidth-e.pageX<n.scrollSensitivity?s.scrollLeft=o=s.scrollLeft+n.scrollSpeed:e.pageX-i.overflowOffset.left<n.scrollSensitivity&&(s.scrollLeft=o=s.scrollLeft-n.scrollSpeed))):(n.axis&&"x"===n.axis||(e.pageY-Y(r).scrollTop()<n.scrollSensitivity?o=Y(r).scrollTop(Y(r).scrollTop()-n.scrollSpeed):Y(window).height()-(e.pageY-Y(r).scrollTop())<n.scrollSensitivity&&(o=Y(r).scrollTop(Y(r).scrollTop()+n.scrollSpeed))),n.axis&&"y"===n.axis||(e.pageX-Y(r).scrollLeft()<n.scrollSensitivity?o=Y(r).scrollLeft(Y(r).scrollLeft()-n.scrollSpeed):Y(window).width()-(e.pageX-Y(r).scrollLeft())<n.scrollSensitivity&&(o=Y(r).scrollLeft(Y(r).scrollLeft()+n.scrollSpeed)))),!1!==o&&Y.ui.ddmanager&&!n.dropBehaviour&&Y.ui.ddmanager.prepareOffsets(i,e)}}),Y.ui.plugin.add("draggable","snap",{start:function(e,t,i){var n=i.options;i.snapElements=[],Y(n.snap.constructor!==String?n.snap.items||":data(ui-draggable)":n.snap).each(function(){var e=Y(this),t=e.offset();this!==i.element[0]&&i.snapElements.push({item:this,width:e.outerWidth(),height:e.outerHeight(),top:t.top,left:t.left})})},drag:function(e,t,i){for(var n,o,s,r,a,l,c,u,h,d=i.options,p=d.snapTolerance,f=t.offset.left,m=f+i.helperProportions.width,g=t.offset.top,v=g+i.helperProportions.height,y=i.snapElements.length-1;0<=y;y--)l=(a=i.snapElements[y].left-i.margins.left)+i.snapElements[y].width,u=(c=i.snapElements[y].top-i.margins.top)+i.snapElements[y].height,m<a-p||l+p<f||v<c-p||u+p<g||!Y.contains(i.snapElements[y].item.ownerDocument,i.snapElements[y].item)?(i.snapElements[y].snapping&&i.options.snap.release&&i.options.snap.release.call(i.element,e,Y.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=!1):("inner"!==d.snapMode&&(n=Math.abs(c-v)<=p,o=Math.abs(u-g)<=p,s=Math.abs(a-m)<=p,r=Math.abs(l-f)<=p,n&&(t.position.top=i._convertPositionTo("relative",{top:c-i.helperProportions.height,left:0}).top),o&&(t.position.top=i._convertPositionTo("relative",{top:u,left:0}).top),s&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a-i.helperProportions.width}).left),r)&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l}).left),h=n||o||s||r,"outer"!==d.snapMode&&(n=Math.abs(c-g)<=p,o=Math.abs(u-v)<=p,s=Math.abs(a-f)<=p,r=Math.abs(l-m)<=p,n&&(t.position.top=i._convertPositionTo("relative",{top:c,left:0}).top),o&&(t.position.top=i._convertPositionTo("relative",{top:u-i.helperProportions.height,left:0}).top),s&&(t.position.left=i._convertPositionTo("relative",{top:0,left:a}).left),r)&&(t.position.left=i._convertPositionTo("relative",{top:0,left:l-i.helperProportions.width}).left),!i.snapElements[y].snapping&&(n||o||s||r||h)&&i.options.snap.snap&&i.options.snap.snap.call(i.element,e,Y.extend(i._uiHash(),{snapItem:i.snapElements[y].item})),i.snapElements[y].snapping=n||o||s||r||h)}}),Y.ui.plugin.add("draggable","stack",{start:function(e,t,i){var n,i=i.options,i=Y.makeArray(Y(i.stack)).sort(function(e,t){return(parseInt(Y(e).css("zIndex"),10)||0)-(parseInt(Y(t).css("zIndex"),10)||0)});i.length&&(n=parseInt(Y(i[0]).css("zIndex"),10)||0,Y(i).each(function(e){Y(this).css("zIndex",n+e)}),this.css("zIndex",n+i.length))}}),Y.ui.plugin.add("draggable","zIndex",{start:function(e,t,i){t=Y(t.helper),i=i.options;t.css("zIndex")&&(i._zIndex=t.css("zIndex")),t.css("zIndex",i.zIndex)},stop:function(e,t,i){i=i.options;i._zIndex&&Y(t.helper).css("zIndex",i._zIndex)}}),Y.ui.draggable;function z(e,t,i){return t<=e&&e<t+i}Y.widget("ui.droppable",{version:"1.14.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,t=this.options,i=t.accept;this.isover=!1,this.isout=!0,this.accept="function"==typeof i?i:function(e){return e.is(i)},this.proportions=function(){if(!arguments.length)return e=e||{width:this.element[0].offsetWidth,height:this.element[0].offsetHeight};e=arguments[0]},this._addToManager(t.scope),t.addClasses&&this._addClass("ui-droppable")},_addToManager:function(e){Y.ui.ddmanager.droppables[e]=Y.ui.ddmanager.droppables[e]||[],Y.ui.ddmanager.droppables[e].push(this)},_splice:function(e){for(var t=0;t<e.length;t++)e[t]===this&&e.splice(t,1)},_destroy:function(){var e=Y.ui.ddmanager.droppables[this.options.scope];this._splice(e)},_setOption:function(e,t){var i;"accept"===e?this.accept="function"==typeof t?t:function(e){return e.is(t)}:"scope"===e&&(i=Y.ui.ddmanager.droppables[this.options.scope],this._splice(i),this._addToManager(t)),this._super(e,t)},_activate:function(e){var t=Y.ui.ddmanager.current;this._addActiveClass(),t&&this._trigger("activate",e,this.ui(t))},_deactivate:function(e){var t=Y.ui.ddmanager.current;this._removeActiveClass(),t&&this._trigger("deactivate",e,this.ui(t))},_over:function(e){var t=Y.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._addHoverClass(),this._trigger("over",e,this.ui(t)))},_out:function(e){var t=Y.ui.ddmanager.current;t&&(t.currentItem||t.element)[0]!==this.element[0]&&this.accept.call(this.element[0],t.currentItem||t.element)&&(this._removeHoverClass(),this._trigger("out",e,this.ui(t)))},_drop:function(t,e){var i=e||Y.ui.ddmanager.current,n=!1;return!(!i||(i.currentItem||i.element)[0]===this.element[0]||(this.element.find(":data(ui-droppable)").not(".ui-draggable-dragging").each(function(){var e=Y(this).droppable("instance");if(e.options.greedy&&!e.options.disabled&&e.options.scope===i.options.scope&&e.accept.call(e.element[0],i.currentItem||i.element)&&Y.ui.intersect(i,Y.extend(e,{offset:e.element.offset()}),e.options.tolerance,t))return!(n=!0)}),n)||!this.accept.call(this.element[0],i.currentItem||i.element))&&(this._removeActiveClass(),this._removeHoverClass(),this._trigger("drop",t,this.ui(i)),this.element)},ui:function(e){return{draggable:e.currentItem||e.element,helper:e.helper,position:e.position,offset:e.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")}}),Y.ui.intersect=function(e,t,i,n){if(!t.offset)return!1;var o=(e.positionAbs||e.position.absolute).left+e.margins.left,s=(e.positionAbs||e.position.absolute).top+e.margins.top,r=o+e.helperProportions.width,a=s+e.helperProportions.height,l=t.offset.left,c=t.offset.top,u=l+t.proportions().width,h=c+t.proportions().height;switch(i){case"fit":return l<=o&&r<=u&&c<=s&&a<=h;case"intersect":return l<o+e.helperProportions.width/2&&r-e.helperProportions.width/2<u&&c<s+e.helperProportions.height/2&&a-e.helperProportions.height/2<h;case"pointer":return z(n.pageY,c,t.proportions().height)&&z(n.pageX,l,t.proportions().width);case"touch":return(c<=s&&s<=h||c<=a&&a<=h||s<c&&h<a)&&(l<=o&&o<=u||l<=r&&r<=u||o<l&&u<r);default:return!1}},Y.ui.ddmanager={current:null,droppables:{default:[]},prepareOffsets:function(e,t){var i,n,o=Y.ui.ddmanager.droppables[e.options.scope]||[],s=t?t.type:null,r=(e.currentItem||e.element).find(":data(ui-droppable)").addBack();e:for(i=0;i<o.length;i++)if(!(o[i].options.disabled||e&&!o[i].accept.call(o[i].element[0],e.currentItem||e.element))){for(n=0;n<r.length;n++)if(r[n]===o[i].element[0]){o[i].proportions().height=0;continue e}o[i].visible="none"!==o[i].element.css("display"),o[i].visible&&("mousedown"===s&&o[i]._activate.call(o[i],t),o[i].offset=o[i].element.offset(),o[i].proportions({width:o[i].element[0].offsetWidth,height:o[i].element[0].offsetHeight}))}},drop:function(e,t){var i=!1;return Y.each((Y.ui.ddmanager.droppables[e.options.scope]||[]).slice(),function(){this.options&&(!this.options.disabled&&this.visible&&Y.ui.intersect(e,this,this.options.tolerance,t)&&(i=this._drop.call(this,t)||i),!this.options.disabled)&&this.visible&&this.accept.call(this.element[0],e.currentItem||e.element)&&(this.isout=!0,this.isover=!1,this._deactivate.call(this,t))}),i},dragStart:function(e,t){e.element.parentsUntil("body").on("scroll.droppable",function(){e.options.refreshPositions||Y.ui.ddmanager.prepareOffsets(e,t)})},drag:function(o,s){o.options.refreshPositions&&Y.ui.ddmanager.prepareOffsets(o,s),Y.each(Y.ui.ddmanager.droppables[o.options.scope]||[],function(){var e,t,i,n;this.options.disabled||this.greedyChild||!this.visible||(n=!(n=Y.ui.intersect(o,this,this.options.tolerance,s))&&this.isover?"isout":n&&!this.isover?"isover":null)&&(this.options.greedy&&(t=this.options.scope,(i=this.element.parents(":data(ui-droppable)").filter(function(){return Y(this).droppable("instance").options.scope===t})).length)&&((e=Y(i[0]).droppable("instance")).greedyChild="isover"===n),e&&"isover"===n&&(e.isover=!1,e.isout=!0,e._out.call(e,s)),this[n]=!0,this["isout"===n?"isover":"isout"]=!1,this["isover"===n?"_over":"_out"].call(this,s),e)&&"isout"===n&&(e.isout=!1,e.isover=!0,e._over.call(e,s))})},dragStop:function(e,t){e.element.parentsUntil("body").off("scroll.droppable"),e.options.refreshPositions||Y.ui.ddmanager.prepareOffsets(e,t)}},!0===Y.uiBackCompat&&Y.widget("ui.droppable",Y.ui.droppable,{options:{hoverClass:!1,activeClass:!1},_addActiveClass:function(){this._super(),this.options.activeClass&&this.element.addClass(this.options.activeClass)},_removeActiveClass:function(){this._super(),this.options.activeClass&&this.element.removeClass(this.options.activeClass)},_addHoverClass:function(){this._super(),this.options.hoverClass&&this.element.addClass(this.options.hoverClass)},_removeHoverClass:function(){this._super(),this.options.hoverClass&&this.element.removeClass(this.options.hoverClass)}});Y.ui.droppable,Y.widget("ui.resizable",Y.ui.mouse,{version:"1.14.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(e){return parseFloat(e)||0},_isNumber:function(e){return!isNaN(parseFloat(e))},_hasScroll:function(e,t){var i=!1,n=Y(e).css("overflow");if("hidden"===n)return!1;if("scroll"===n)return!0;if(0<e[n=t&&"left"===t?"scrollLeft":"scrollTop"])return!0;try{e[n]=1,i=0<e[n],e[n]=0}catch(e){}return i},_create:function(){var e,t=this.options,i=this;this._addClass("ui-resizable"),Y.extend(this,{_aspectRatio:!!t.aspectRatio,aspectRatio:t.aspectRatio,originalElement:this.element,_proportionallyResizeElements:[],_helper:t.helper||t.ghost||t.animate?t.helper||"ui-resizable-helper":null}),this.element[0].nodeName.match(/^(canvas|textarea|input|select|button|img)$/i)&&(this.element.wrap(Y("<div class='ui-wrapper'></div>").css({overflow:"hidden",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.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this._proportionallyResize()),this._setupHandles(),t.autoHide&&Y(this.element).on("mouseenter",function(){t.disabled||(i._removeClass("ui-resizable-autohide"),i._handles.show())}).on("mouseleave",function(){t.disabled||i.resizing||(i._addClass("ui-resizable-autohide"),i._handles.hide())}),this._mouseInit()},_destroy:function(){this._mouseDestroy(),this._addedHandles.remove();function e(e){Y(e).removeData("resizable").removeData("ui-resizable").off(".resizable")}var t;return this.elementIsWrapper&&(e(this.element),t=this.element,this.originalElement.css({position:t.css("position"),width:t.outerWidth(),height:t.outerHeight(),top:t.css("top"),left:t.css("left")}).insertAfter(t),t.remove()),this.originalElement.css("resize",this.originalResizeStyle),e(this.originalElement),this},_setOption:function(e,t){switch(this._super(e,t),e){case"handles":this._removeHandles(),this._setupHandles();break;case"aspectRatio":this._aspectRatio=!!t}},_setupHandles:function(){var e,t,i,n,o,s=this.options,r=this;if(this.handles=s.handles||(Y(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se"),this._handles=Y(),this._addedHandles=Y(),this.handles.constructor===String)for("all"===this.handles&&(this.handles="n,e,s,w,se,sw,ne,nw"),i=this.handles.split(","),this.handles={},t=0;t<i.length;t++)n="ui-resizable-"+(e=String.prototype.trim.call(i[t])),o=Y("<div>"),this._addClass(o,"ui-resizable-handle "+n),o.css({zIndex:s.zIndex}),this.handles[e]=".ui-resizable-"+e,this.element.children(this.handles[e]).length||(this.element.append(o),this._addedHandles=this._addedHandles.add(o));this._renderAxis=function(e){var t,i,n;for(t in e=e||this.element,this.handles)this.handles[t].constructor===String?this.handles[t]=this.element.children(this.handles[t]).first().show():(this.handles[t].jquery||this.handles[t].nodeType)&&(this.handles[t]=Y(this.handles[t]),this._on(this.handles[t],{mousedown:r._mouseDown})),this.elementIsWrapper&&this.originalElement[0].nodeName.match(/^(textarea|input|select|button)$/i)&&(n=Y(this.handles[t],this.element),n=/sw|ne|nw|se|n|s/.test(t)?n.outerHeight():n.outerWidth(),i=["padding",/ne|nw|n/.test(t)?"Top":/se|sw|s/.test(t)?"Bottom":/^e$/.test(t)?"Right":"Left"].join(""),e.css(i,n),this._proportionallyResize()),this._handles=this._handles.add(this.handles[t])},this._renderAxis(this.element),this._handles=this._handles.add(this.element.find(".ui-resizable-handle")),this._handles.disableSelection(),this._handles.on("mouseover",function(){r.resizing||(this.className&&(o=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)),r.axis=o&&o[1]?o[1]:"se")}),s.autoHide&&(this._handles.hide(),this._addClass("ui-resizable-autohide"))},_removeHandles:function(){this._addedHandles.remove()},_mouseCapture:function(e){var t,i,n=!1;for(t in this.handles)(i=Y(this.handles[t])[0])!==e.target&&!Y.contains(i,e.target)||(n=!0);return!this.options.disabled&&n},_mouseStart:function(e){var t,i,n,o=this.options,s=this.element;return this.resizing=!0,this._renderProxy(),t=this._num(this.helper.css("left")),i=this._num(this.helper.css("top")),o.containment&&(t+=Y(o.containment).scrollLeft()||0,i+=Y(o.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:t,top:i},this._helper||(n=this._calculateAdjustedElementDimensions(s)),this.size=this._helper?{width:this.helper.width(),height:this.helper.height()}:{width:n.width,height:n.height},this.originalSize=this._helper?{width:s.outerWidth(),height:s.outerHeight()}:{width:n.width,height:n.height},this.sizeDiff={width:s.outerWidth()-s.width(),height:s.outerHeight()-s.height()},this.originalPosition={left:t,top:i},this.originalMousePosition={left:e.pageX,top:e.pageY},this.aspectRatio="number"==typeof o.aspectRatio?o.aspectRatio:this.originalSize.width/this.originalSize.height||1,n=Y(".ui-resizable-"+this.axis).css("cursor"),Y("body").css("cursor","auto"===n?this.axis+"-resize":n),this._addClass("ui-resizable-resizing"),this._propagate("start",e),!0},_mouseDrag:function(e){var t=this.originalMousePosition,i=this.axis,n=e.pageX-t.left||0,t=e.pageY-t.top||0,i=this._change[i];return this._updatePrevProperties(),i&&(i=i.apply(this,[e,n,t]),this._updateVirtualBoundaries(e.shiftKey),(this._aspectRatio||e.shiftKey)&&(i=this._updateRatio(i,e)),i=this._respectSize(i,e),this._updateCache(i),this._propagate("resize",e),n=this._applyChanges(),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),Y.isEmptyObject(n)||(this._updatePrevProperties(),this._trigger("resize",e,this.ui()),this._applyChanges())),!1},_mouseStop:function(e){this.resizing=!1;var t,i,n,o=this.options,s=this;return this._helper&&(i=(t=(i=this._proportionallyResizeElements).length&&/textarea/i.test(i[0].nodeName))&&this._hasScroll(i[0],"left")?0:s.sizeDiff.height,t=t?0:s.sizeDiff.width,t={width:s.helper.width()-t,height:s.helper.height()-i},i=parseFloat(s.element.css("left"))+(s.position.left-s.originalPosition.left)||null,n=parseFloat(s.element.css("top"))+(s.position.top-s.originalPosition.top)||null,o.animate||this.element.css(Y.extend(t,{top:n,left:i})),s.helper.height(s.size.height),s.helper.width(s.size.width),this._helper)&&!o.animate&&this._proportionallyResize(),Y("body").css("cursor","auto"),this._removeClass("ui-resizable-resizing"),this._propagate("stop",e),this._helper&&this.helper.remove(),!1},_updatePrevProperties:function(){this.prevPosition={top:this.position.top,left:this.position.left},this.prevSize={width:this.size.width,height:this.size.height}},_applyChanges:function(){var e={};return this.position.top!==this.prevPosition.top&&(e.top=this.position.top+"px"),this.position.left!==this.prevPosition.left&&(e.left=this.position.left+"px"),this.helper.css(e),this.size.width!==this.prevSize.width&&(e.width=this.size.width+"px",this.helper.width(e.width)),this.size.height!==this.prevSize.height&&(e.height=this.size.height+"px",this.helper.height(e.height)),e},_updateVirtualBoundaries:function(e){var t,i,n,o=this.options,o={minWidth:this._isNumber(o.minWidth)?o.minWidth:0,maxWidth:this._isNumber(o.maxWidth)?o.maxWidth:1/0,minHeight:this._isNumber(o.minHeight)?o.minHeight:0,maxHeight:this._isNumber(o.maxHeight)?o.maxHeight:1/0};(this._aspectRatio||e)&&(e=o.minHeight*this.aspectRatio,i=o.minWidth/this.aspectRatio,t=o.maxHeight*this.aspectRatio,n=o.maxWidth/this.aspectRatio,o.minWidth<e&&(o.minWidth=e),o.minHeight<i&&(o.minHeight=i),t<o.maxWidth&&(o.maxWidth=t),n<o.maxHeight)&&(o.maxHeight=n),this._vBoundaries=o},_updateCache:function(e){this.offset=this.helper.offset(),this._isNumber(e.left)&&(this.position.left
vendor: 4,772 bytes, line 1
1=e.left),this._isNumber(e.top)&&(this.position.top=e.top),this._isNumber(e.height)&&(this.size.height=e.height),this._isNumber(e.width)&&(this.size.width=e.width)},_updateRatio:function(e){var t=this.position,i=this.size,n=this.axis;return this._isNumber(e.height)?e.width=e.height*this.aspectRatio:this._isNumber(e.width)&&(e.height=e.width/this.aspectRatio),"sw"===n&&(e.left=t.left+(i.width-e.width),e.top=null),"nw"===n&&(e.top=t.top+(i.height-e.height),e.left=t.left+(i.width-e.width)),e},_respectSize:function(e){var t=this._vBoundaries,i=this.axis,n=this._isNumber(e.width)&&t.maxWidth&&t.maxWidth<e.width,o=this._isNumber(e.height)&&t.maxHeight&&t.maxHeight<e.height,s=this._isNumber(e.width)&&t.minWidth&&t.minWidth>e.width,r=this._isNumber(e.height)&&t.minHeight&&t.minHeight>e.height,a=this.originalPosition.left+this.originalSize.width,l=this.originalPosition.top+this.originalSize.height,c=/sw|nw|w/.test(i),i=/nw|ne|n/.test(i);return s&&(e.width=t.minWidth),r&&(e.height=t.minHeight),n&&(e.width=t.maxWidth),o&&(e.height=t.maxHeight),s&&c&&(e.left=a-t.minWidth),n&&c&&(e.left=a-t.maxWidth),r&&i&&(e.top=l-t.minHeight),o&&i&&(e.top=l-t.maxHeight),e.width||e.height||e.left||!e.top?e.width||e.height||e.top||!e.left||(e.left=null):e.top=null,e},_getPaddingPlusBorderDimensions:function(e){for(var t=0,i=[],n=[e.css("borderTopWidth"),e.css("borderRightWidth"),e.css("borderBottomWidth"),e.css("borderLeftWidth")],o=[e.css("paddingTop"),e.css("paddingRight"),e.css("paddingBottom"),e.css("paddingLeft")];t<4;t++)i[t]=parseFloat(n[t])||0,i[t]+=parseFloat(o[t])||0;return{height:i[0]+i[2],width:i[1]+i[3]}},_calculateAdjustedElementDimensions:function(e){var t,i,n=e.get(0);return"content-box"!==e.css("box-sizing")||!this._hasScroll(n)&&!this._hasScroll(n,"left")?{height:parseFloat(e.css("height")),width:parseFloat(e.css("width"))}:(t=parseFloat(n.style.width),n=parseFloat(n.style.height),i=this._getPaddingPlusBorderDimensions(e),t=isNaN(t)?this._getElementTheoreticalSize(e,i,"width"):t,{height:isNaN(n)?this._getElementTheoreticalSize(e,i,"height"):n,width:t})},_getElementTheoreticalSize:function(e,t,i){return Math.max(0,Math.ceil(e.get(0)["offset"+i[0].toUpperCase()+i.slice(1)]-t[i]-.5))||0},_proportionallyResize:function(){if(this._proportionallyResizeElements.length)for(var e,t=0,i=this.helper||this.element;t<this._proportionallyResizeElements.length;t++)e=this._proportionallyResizeElements[t],this.outerDimensions||(this.outerDimensions=this._getPaddingPlusBorderDimensions(e)),e.css({height:i.height()-this.outerDimensions.height||0,width:i.width()-this.outerDimensions.width||0})},_renderProxy:function(){var e=this.element,t=this.options;this.elementOffset=e.offset(),this._helper?(this.helper=this.helper||Y("<div></div>").css({overflow:"hidden"}),this._addClass(this.helper,this._helper),this.helper.css({width:this.element.outerWidth(),height:this.element.outerHeight(),position:"absolute",left:this.elementOffset.left+"px",top:this.elementOffset.top+"px",zIndex:++t.zIndex}),this.helper.appendTo("body").disableSelection()):this.helper=this.element},_change:{e:function(e,t){return{width:this.originalSize.width+t}},w:function(e,t){var i=this.originalSize;return{left:this.originalPosition.left+t,width:i.width-t}},n:function(e,t,i){var n=this.originalSize;return{top:this.originalPosition.top+i,height:n.height-i}},s:function(e,t,i){return{height:this.originalSize.height+i}},se:function(e,t,i){return Y.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},sw:function(e,t,i){return Y.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[e,t,i]))},ne:function(e,t,i){return Y.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[e,t,i]))},nw:function(e,t,i){return Y.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[e,t,i]))}},_propagate:function(e,t){Y.ui.plugin.call(this,e,[t,this.ui()]),"resize"!==e&&this._trigger(e,t,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),Y.ui.plugin.add("resizable","animate",{stop:function(t){var i=Y(this).resizable("instance"),e=i.options,n=i._proportionallyResizeElements,o=n.length&&/textarea/i.test(n[0].nodeName),s=o&&i._hasScroll(n[0],"left")?0:i.sizeDiff.height,o=o?0:i.sizeDiff.width,o={width:i.size.width-o,height:i.size.height-s},s=parseFloat(i.element.css("left"))+(i.position.left-i.originalPosition.left)||null,r=parseFloat(i.element.css("top"))+(i.position.top-i.originalPosition.top)||null;i.element.animate(Y.extend(o,r&&s?{top:r,left:s}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var e={
vendor: 50,381 bytes, line 1
1width:parseFloat(i.element.css("width")),height:parseFloat(i.element.css("height")),top:parseFloat(i.element.css("top")),left:parseFloat(i.element.css("left"))};n&&n.length&&Y(n[0]).css({width:e.width,height:e.height}),i._updateCache(e),i._propagate("resize",t)}})}}),Y.ui.plugin.add("resizable","containment",{start:function(){var i,n,e,t,o=Y(this).resizable("instance"),s=o.options,r=o.element,s=s.containment,r=s instanceof Y?s.get(0):/parent/.test(s)?r.parent().get(0):s;r&&(o.containerElement=Y(r),/document/.test(s)||s===document?(o.containerOffset={left:0,top:0},o.containerPosition={left:0,top:0},o.parentData={element:Y(document),left:0,top:0,width:Y(document).width(),height:Y(document).height()||document.body.parentNode.scrollHeight}):(i=Y(r),n=[],Y(["Top","Right","Left","Bottom"]).each(function(e,t){n[e]=o._num(i.css("padding"+t))}),o.containerOffset=i.offset(),o.containerPosition=i.position(),o.containerSize={height:i.innerHeight()-n[3],width:i.innerWidth()-n[1]},s=o.containerOffset,t=o.containerSize.height,e=o.containerSize.width,e=o._hasScroll(r,"left")?r.scrollWidth:e,t=o._hasScroll(r)?r.scrollHeight:t,o.parentData={element:r,left:s.left,top:s.top,width:e,height:t}))},resize:function(e){var t=Y(this).resizable("instance"),i=t.options,n=t.containerOffset,o=t.position,e=t._aspectRatio||e.shiftKey,s={top:0,left:0},r=t.containerElement,a=!0;r[0]!==document&&/static/.test(r.css("position"))&&(s=n),o.left<(t._helper?n.left:0)&&(t.size.width=t.size.width+(t._helper?t.position.left-n.left:t.position.left-s.left),e&&(t.size.height=t.size.width/t.aspectRatio,a=!1),t.position.left=i.helper?n.left:0),o.top<(t._helper?n.top:0)&&(t.size.height=t.size.height+(t._helper?t.position.top-n.top:t.position.top),e&&(t.size.width=t.size.height*t.aspectRatio,a=!1),t.position.top=t._helper?n.top:0),r=t.containerElement.get(0)===t.element.parent().get(0),i=/relative|absolute/.test(t.containerElement.css("position")),r&&i?(t.offset.left=t.parentData.left+t.position.left,t.offset.top=t.parentData.top+t.position.top):(t.offset.left=t.element.offset().left,t.offset.top=t.element.offset().top),o=Math.abs(t.sizeDiff.width+(t._helper?t.offset.left-s.left:t.offset.left-n.left)),r=Math.abs(t.sizeDiff.height+(t._helper?t.offset.top-s.top:t.offset.top-n.top)),o+t.size.width>=t.parentData.width&&(t.size.width=t.parentData.width-o,e)&&(t.size.height=t.size.width/t.aspectRatio,a=!1),r+t.size.height>=t.parentData.height&&(t.size.height=t.parentData.height-r,e)&&(t.size.width=t.size.height*t.aspectRatio,a=!1),a||(t.position.left=t.prevPosition.left,t.position.top=t.prevPosition.top,t.size.width=t.prevSize.width,t.size.height=t.prevSize.height)},stop:function(){var e=Y(this).resizable("instance"),t=e.options,i=e.containerOffset,n=e.containerPosition,o=e.containerElement,s=Y(e.helper),r=s.offset(),a=s.outerWidth()-e.sizeDiff.width,s=s.outerHeight()-e.sizeDiff.height;e._helper&&!t.animate&&/relative/.test(o.css("position"))&&Y(this).css({left:r.left-n.left-i.left,width:a,height:s}),e._helper&&!t.animate&&/static/.test(o.css("position"))&&Y(this).css({left:r.left-n.left-i.left,width:a,height:s})}}),Y.ui.plugin.add("resizable","alsoResize",{start:function(){var i=Y(this).resizable("instance"),e=i.options;Y(e.alsoResize).each(function(){var e=Y(this),t=i._calculateAdjustedElementDimensions(e);e.data("ui-resizable-alsoresize",{width:t.width,height:t.height,left:parseFloat(e.css("left")),top:parseFloat(e.css("top"))})})},resize:function(e,i){var t=Y(this).resizable("instance"),n=t.options,o=t.originalSize,s=t.originalPosition,r={height:t.size.height-o.height||0,width:t.size.width-o.width||0,top:t.position.top-s.top||0,left:t.position.left-s.left||0};Y(n.alsoResize).each(function(){var e=Y(this),n=Y(this).data("ui-resizable-alsoresize"),o={},t=e.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];Y.each(t,function(e,t){var i=(n[t]||0)+(r[t]||0);i&&0<=i&&(o[t]=i||null)}),e.css(o)})},stop:function(){Y(this).removeData("ui-resizable-alsoresize")}}),Y.ui.plugin.add("resizable","ghost",{start:function(){var e=Y(this).resizable("instance"),t=e.size;e.ghost=e.originalElement.clone(),e.ghost.css({opacity:.25,display:"block",position:"relative",height:t.height,width:t.width,margin:0,left:0,top:0}),e._addClass(e.ghost,"ui-resizable-ghost"),!0===Y.uiBackCompat&&"string"==typeof e.options.ghost&&e.ghost.addClass(this.options.ghost),e.ghost.appendTo(e.helper)},resize:function(){var e=Y(this).resizable("instance");e.ghost&&e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})},stop:function(){var e=Y(this).resizable("instance");e.ghost&&e.helper&&e.helper.get(0).removeChild(e.ghost.get(0))}}),Y.ui.plugin.add("resizable","grid",{resize:function(){var e,t=Y(this).resizable("instance"),i=t.options,n=t.size,o=t.originalSize,s=t.originalPosition,r=t.axis,a="number"==typeof i.grid?[i.grid,i.grid]:i.grid,l=a[0]||1,c=a[1]||1,u=Math.round((n.width-o.width)/l)*l,n=Math.round((n.height-o.height)/c)*c,h=o.width+u,d=o.height+n,p=i.maxWidth&&i.maxWidth<h,f=i.maxHeight&&i.maxHeight<d,m=i.minWidth&&i.minWidth>h,g=i.minHeight&&i.minHeight>d;i.grid=a,m&&(h+=l),g&&(d+=c),p&&(h-=l),f&&(d-=c),/^(se|s|e)$/.test(r)?(t.size.width=h,t.size.height=d):/^(ne)$/.test(r)?(t.size.width=h,t.size.height=d,t.position.top=s.top-n):/^(sw)$/.test(r)?(t.size.width=h,t.size.height=d,t.position.left=s.left-u):((d-c<=0||h-l<=0)&&(e=t._getPaddingPlusBorderDimensions(this)),0<d-c?(t.size.height=d,t.position.top=s.top-n):(d=c-e.height,t.size.height=d,t.position.top=s.top+o.height-d),0<h-l?(t.size.width=h,t.position.left=s.left-u):(h=l-e.width,t.size.width=h,t.position.left=s.left+o.width-h))}}),Y.ui.resizable,Y.widget("ui.selectable",Y.ui.mouse,{version:"1.14.1",options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch",selected:null,selecting:null,start:null,stop:null,unselected:null,unselecting:null},_create:function(){var i=this;this._addClass("ui-selectable"),this.dragged=!1,this.refresh=function(){i.elementPos=Y(i.element[0]).offset(),i.selectees=Y(i.options.filter,i.element[0]),i._addClass(i.selectees,"ui-selectee"),i.selectees.each(function(){var e=Y(this),t=e.offset(),t={left:t.left-i.elementPos.left,top:t.top-i.elementPos.top};Y.data(this,"selectable-item",{element:this,$element:e,left:t.left,top:t.top,right:t.left+e.outerWidth(),bottom:t.top+e.outerHeight(),startselected:!1,selected:e.hasClass("ui-selected"),selecting:e.hasClass("ui-selecting"),unselecting:e.hasClass("ui-unselecting")})})},this.refresh(),this._mouseInit(),this.helper=Y("<div>"),this._addClass(this.helper,"ui-selectable-helper")},_destroy:function(){this.selectees.removeData("selectable-item"),this._mouseDestroy()},_mouseStart:function(i){var n=this,e=this.options;this.opos=[i.pageX,i.pageY],this.elementPos=Y(this.element[0]).offset(),this.options.disabled||(this.selectees=Y(e.filter,this.element[0]),this._trigger("start",i),Y(e.appendTo).append(this.helper),this.helper.css({left:i.pageX,top:i.pageY,width:0,height:0}),e.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var e=Y.data(this,"selectable-item");e.startselected=!0,i.metaKey||i.ctrlKey||(n._removeClass(e.$element,"ui-selected"),e.selected=!1,n._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,n._trigger("unselecting",i,{unselecting:e.element}))}),Y(i.target).parents().addBack().each(function(){var e,t=Y.data(this,"selectable-item");if(t)return e=!i.metaKey&&!i.ctrlKey||!t.$element.hasClass("ui-selected"),n._removeClass(t.$element,e?"ui-unselecting":"ui-selected")._addClass(t.$element,e?"ui-selecting":"ui-unselecting"),t.unselecting=!e,t.selecting=e,(t.selected=e)?n._trigger("selecting",i,{selecting:t.element}):n._trigger("unselecting",i,{unselecting:t.element}),!1}))},_mouseDrag:function(n){var e,o,s,r,a,l,c;if(this.dragged=!0,!this.options.disabled)return s=(o=this).options,r=this.opos[0],a=this.opos[1],(l=n.pageX)<r&&(e=l,l=r,r=e),(c=n.pageY)<a&&(e=c,c=a,a=e),this.helper.css({left:r,top:a,width:l-r,height:c-a}),this.selectees.each(function(){var e=Y.data(this,"selectable-item"),t=!1,i={};e&&e.element!==o.element[0]&&(i.left=e.left+o.elementPos.left,i.right=e.right+o.elementPos.left,i.top=e.top+o.elementPos.top,i.bottom=e.bottom+o.elementPos.top,"touch"===s.tolerance?t=!(l<i.left||i.right<r||c<i.top||i.bottom<a):"fit"===s.tolerance&&(t=r<i.left&&i.right<l&&a<i.top&&i.bottom<c),t?(e.selected&&(o._removeClass(e.$element,"ui-selected"),e.selected=!1),e.unselecting&&(o._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1),e.selecting||(o._addClass(e.$element,"ui-selecting"),e.selecting=!0,o._trigger("selecting",n,{selecting:e.element}))):(e.selecting&&((n.metaKey||n.ctrlKey)&&e.startselected?(o._removeClass(e.$element,"ui-selecting"),e.selecting=!1,o._addClass(e.$element,"ui-selected"),e.selected=!0):(o._removeClass(e.$element,"ui-selecting"),e.selecting=!1,e.startselected&&(o._addClass(e.$element,"ui-unselecting"),e.unselecting=!0),o._trigger("unselecting",n,{unselecting:e.element}))),!e.selected||n.metaKey||n.ctrlKey||e.startselected||(o._removeClass(e.$element,"ui-selected"),e.selected=!1,o._addClass(e.$element,"ui-unselecting"),e.unselecting=!0,o._trigger("unselecting",n,{unselecting:e.element}))))}),!1},_mouseStop:function(t){var i=this;return this.dragged=!1,Y(".ui-unselecting",this.element[0]).each(function(){var e=Y.data(this,"selectable-item");i._removeClass(e.$element,"ui-unselecting"),e.unselecting=!1,e.startselected=!1,i._trigger("unselected",t,{unselected:e.element})}),Y(".ui-selecting",this.element[0]).each(function(){var e=Y.data(this,"selectable-item");i._removeClass(e.$element,"ui-selecting")._addClass(e.$element,"ui-selected"),e.selecting=!1,e.selected=!0,e.startselected=!0,i._trigger("selected",t,{selected:e.element})}),this._trigger("stop",t),this.helper.remove(),!1}}),Y.widget("ui.sortable",Y.ui.mouse,{version:"1.14.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(e,t,i){return t<=e&&e<t+i},_isFloating:function(e){return/left|right/.test(e.css("float"))||/inline|table-cell/.test(e.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(e,t){this._super(e,t),"handle"===e&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),Y.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 e=this.items.length-1;0<=e;e--)this.items[e].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,t){var i=null,n=!1,o=this;return!(this.reverting||this.options.disabled||"static"===this.options.type||(this._refreshItems(e),Y(e.target).parents().each(function(){if(Y.data(this,o.widgetName+"-item")===o)return i=Y(this),!1}),!(i=Y.data(e.target,o.widgetName+"-item")===o?Y(e.target):i))||(this.options.handle&&!t&&(Y(this.options.handle,i).find("*").addBack().each(function(){this===e.target&&(n=!0)}),!n)||(this.currentItem=i,this._removeCurrentsFromItems(),0)))},_mouseStart:function(e,t,i){var n,o,s=this.options;if((this.currentContainer=this).refreshPositions(),this.appendTo=Y("parent"!==s.appendTo?s.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},Y.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),Y.extend(this.offset,{parent:this._getParentOffset()}),s.containment&&this._setContainment(),s.cursor&&"auto"!==s.cursor&&(o=this.document.find("body"),this._storedStylesheet=Y("<style>*{ cursor: "+s.cursor+" !important; }</style>").appendTo(o)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!i)for(n=this.containers.length-1;0<=n;n--)this.containers[n]._trigger("activate",e,this._uiHash(this));return Y.ui.ddmanager&&(Y.ui.ddmanager.current=this),Y.ui.ddmanager&&!s.dropBehaviour&&Y.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(e){var t=this.options,i=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-e.pageY<t.scrollSensitivity?this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop+t.scrollSpeed:e.pageY-this.overflowOffset.top<t.scrollSensitivity&&(this.scrollParent[0].scrollTop=i=this.scrollParent[0].scrollTop-t.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-e.pageX<t.scrollSensitivity?this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft+t.scrollSpeed:e.pageX-this.overflowOffset.left<t.scrollSensitivity&&(this.scrollParent[0].scrollLeft=i=this.scrollParent[0].scrollLeft-t.scrollSpeed)):(e.pageY-this.document.scrollTop()<t.scrollSensitivity?i=this.document.scrollTop(this.document.scrollTop()-t.scrollSpeed):this.window.height()-(e.pageY-this.document.scrollTop())<t.scrollSensitivity&&(i=this.document.scrollTop(this.document.scrollTop()+t.scrollSpeed)),e.pageX-this.document.scrollLeft()<t.scrollSensitivity?i=this.document.scrollLeft(this.document.scrollLeft()-t.scrollSpeed):this.window.width()-(e.pageX-this.document.scrollLeft())<t.scrollSensitivity&&(i=this.document.scrollLeft(this.document.scrollLeft()+t.scrollSpeed))),i},_mouseDrag:function(e){var t,i,n,o,s=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),s.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),Y.ui.ddmanager)&&!s.dropBehaviour&&Y.ui.ddmanager.prepareOffsets(this,e),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},t=this.items.length-1;0<=t;t--)if(n=(i=this.items[t]).item[0],(o=this._intersectsWithPointer(i))&&i.instance===this.currentContainer&&!(n===this.currentItem[0]||this.placeholder[1===o?"next":"prev"]()[0]===n||Y.contains(this.placeholder[0],n)||"semi-dynamic"===this.options.type&&Y.contains(this.element[0],n))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(i))break;this._rearrange(e,i),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),Y.ui.ddmanager&&Y.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,t){var i,n,o,s;if(e)return Y.ui.ddmanager&&!this.options.dropBehaviour&&Y.ui.ddmanager.drop(this,e),this.options.revert?(n=(i=this).placeholder.offset(),s={},(o=this.options.axis)&&"x"!==o||(s.left=n.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(s.top=n.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,Y(this.helper).animate(s,parseInt(this.options.revert,10)||500,function(){i._clear(e)})):this._clear(e,t),!1},cancel:function(){if(this.dragging){this._mouseUp(new Y.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;0<=e;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),Y.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?Y(this.domPosition.prev).after(this.currentItem):Y(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(t){var e=this._getItemsAsjQuery(t&&t.connected),i=[];return t=t||{},Y(e).each(function(){var e=(Y(t.item||this).attr(t.attribute||"id")||"").match(t.expression||/(.+)[\-=_](.+)/);e&&i.push((t.key||e[1]+"[]")+"="+(t.key&&t.expression?e[1]:e[2]))}),!i.length&&t.key&&i.push(t.key+"="),i.join("&")},toArray:function(e){var t=this._getItemsAsjQuery(e&&e.connected),i=[];return e=e||{},t.each(function(){i.push(Y(e.item||this).attr(e.attribute||"id")||"")}),i},_intersectsWith:function(e){var t=this.positionAbs.left,i=t+this.helperProportions.width,n=this.positionAbs.top,o=n+this.helperProportions.height,s=e.left,r=s+e.width,a=e.top,l=a+e.height,c=this.offset.click.top,u=this.offset.click.left,c="x"===this.options.axis||a<n+c&&n+c<l,u="y"===this.options.axis||s<t+u&&t+u<r;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>e[this.floating?"width":"height"]?c&&u:s<t+this.helperProportions.width/2&&i-this.helperProportions.width/2<r&&a<n+this.helperProportions.height/2&&o-this.helperProportions.height/2<l},_intersectsWithPointer:function(e){var t="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top,e.height),e="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left,e.width);return!(!t||!e)&&(t=this.dragDirection.vertical,e=this.dragDirection.horizontal,this.floating?"right"===e||"down"===t?2:1:t&&("down"===t?2:1))},_intersectsWithSides:function(e){var t=this._isOverAxis(this.positionAbs.top+this.offset.click.top,e.top+e.height/2,e.height),e=this._isOverAxis(this.positionAbs.left+this.offset.click.left,e.left+e.width/2,e.width),i=this.dragDirection.vertical,n=this.dragDirection.horizontal;return this.floating&&n?"right"===n&&e||"left"===n&&!e:i&&("down"===i&&t||"up"===i&&!t)},_getDragVerticalDirection:function(){var e=this.positionAbs.top-this.lastPositionAbs.top;return 0!=e&&(0<e?"down":"up")},_getDragHorizontalDirection:function(){var e=this.positionAbs.left-this.lastPositionAbs.left;return 0!=e&&(0<e?"right":"left")},refresh:function(e){return this._refreshItems(e),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var e=this.options;return e.connectWith.constructor===String?[e.connectWith]:e.connectWith},_getItemsAsjQuery:function(e){var t,i,n,o,s=[],r=[],a=this._connectWith();if(a&&e)for(t=a.length-1;0<=t;t--)for(i=(n=Y(a[t],this.document[0])).length-1;0<=i;i--)(o=Y.data(n[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&r.push(["function"==typeof o.options.items?o.options.items.call(o.element):Y(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);function l(){s.push(this)}for(r.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):Y(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),t=r.length-1;0<=t;t--)r[t][0].each(l);return Y(s)},_removeCurrentsFromItems:function(){var i=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=Y.grep(this.items,function(e){for(var t=0;t<i.length;t++)if(i[t]===e.item[0])return!1;return!0})},_refreshItems:function(e){this.items=[],this.containers=[this];var t,i,n,o,s,r,a,l,c=this.items,u=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):Y(this.options.items,this.element),this]],h=this._connectWith();if(h&&this.ready)for(t=h.length-1;0<=t;t--)for(i=(n=Y(h[t],this.document[0])).length-1;0<=i;i--)(o=Y.data(n[i],this.widgetFullName))&&o!==this&&!o.options.disabled&&(u.push(["function"==typeof o.options.items?o.options.items.call(o.element[0],e,{item:this.currentItem}):Y(o.options.items,o.element),o]),this.containers.push(o));for(t=u.length-1;0<=t;t--)for(s=u[t][1],l=(r=u[t][i=0]).length;i<l;i++)(a=Y(r[i])).data(this.widgetName+"-item",s),c.push({item:a,instance:s,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){for(var t,i,n=this.items.length-1;0<=n;n--)t=this.items[n],this.currentContainer&&t.instance!==this.currentContainer&&t.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?Y(this.options.toleranceElement,t.item):t.item,e||(t.width=i.outerWidth(),t.height=i.outerHeight()),i=i.offset(),t.left=i.left,t.top=i.top)},refreshPositions:function(e){var t,i;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(e),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(t=this.containers.length-1;0<=t;t--)i=this.containers[t].element.offset(),this.containers[t].containerCache.left=i.left,this.containers[t].containerCache.top=i.top,this.containers[t].containerCache.width=this.containers[t].element.outerWidth(),this.containers[t].containerCache.height=this.containers[t].element.outerHeight();return this},_createPlaceholder:function(i){var n,o,s=(i=i||this).options;s.placeholder&&s.placeholder.constructor!==String||(n=s.placeholder,o=i.currentItem[0].nodeName.toLowerCase(),s.placeholder={element:function(){var e=Y("<"+o+">",i.document[0]);return i._addClass(e,"ui-sortable-placeholder",n||i.currentItem[0].className)._removeClass(e,"ui-sortable-helper"),"tbody"===o?i._createTrPlaceholder(i.currentItem.find("tr").eq(0),Y("<tr>",i.document[0]).appendTo(e)):"tr"===o?i._createTrPlaceholder(i.currentItem,e):"img"===o&&e.attr("src",i.currentItem.attr("src")),n||e.css("visibility","hidden"),e},update:function(e,t){n&&!s.forcePlaceholderSize||(t.height()&&(!s.forcePlaceholderSize||"tbody"!==o&&"tr"!==o)||t.height(i.currentItem.innerHeight()-parseInt(i.currentItem.css("paddingTop")||0,10)-parseInt(i.currentItem.css("paddingBottom")||0,10)),t.width())||t.width(i.currentItem.innerWidth()-parseInt(i.currentItem.css("paddingLeft")||0,10)-parseInt(i.currentItem.css("paddingRight")||0,10))}}),i.placeholder=Y(s.placeholder.element.call(i.element,i.currentItem)),i.currentItem.after(i.placeholder),s.placeholder.update(i,i.placeholder)},_createTrPlaceholder:function(e,t){var i=this;e.children().each(function(){Y("<td> </td>",i.document[0]).attr("colspan",Y(this).attr("colspan")||1).appendTo(t)})},_contactContainers:function(e){for(var t,i,n,o,s,r,a,l,c,u=null,h=null,d=this.containers.length-1;0<=d;d--)Y.contains(this.currentItem[0],this.containers[d].element[0])||(this._intersectsWith(this.containers[d].containerCache)?u&&Y.contains(this.containers[d].element[0],u.element[0])||(u=this.containers[d],h=d):this.containers[d].containerCache.over&&(this.containers[d]._trigger("out",e,this._uiHash(this)),this.containers[d].containerCache.over=0));if(u)if(1===this.containers.length)this.containers[h].containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1);else{for(i=1e4,n=null,o=(l=u.floating||this._isFloating(this.currentItem))?"left":"top",s=l?"width":"height",c=l?"pageX":"pageY",t=this.items.length-1;0<=t;t--)Y.contains(this.containers[h].element[0],this.items[t].item[0])&&this.items[t].item[0]!==this.currentItem[0]&&(r=this.items[t].item.offset()[o],a=!1,e[c]-r>this.items[t][s]/2&&(a=!0),Math.abs(e[c]-r)<i)&&(i=Math.abs(e[c]-r),n=this.items[t],this.direction=a?"up":"down");(n||this.options.dropOnEmpty)&&(this.currentContainer===this.containers[h]?this.currentContainer.containerCache.over||(this.containers[h]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1):(n?this._rearrange(e,n,null,!0):this._rearrange(e,null,this.containers[h].element,!0),this._trigger("change",e,this._uiHash()),this.containers[h]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[h],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[h]._trigger("over",e,this._uiHash(this)),this.containers[h].containerCache.over=1))}},_createHelper:function(e){var t=this.options,e="function"==typeof t.helper?Y(t.helper.apply(this.element[0],[e,this.currentItem])):"clone"===t.helper?this.currentItem.clone():this.currentItem;return e.parents("body").length||this.appendTo[0].appendChild(e[0]),e[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),e[0].style.width&&!t.forceHelperSize||e.width(this.currentItem.width()),e[0].style.height&&!t.forceHelperSize||e.height(this.currentItem.height()),e},_adjustOffsetFromHelper:function(e){"string"==typeof e&&(e=e.split(" ")),"left"in(e=Array.isArray(e)?{left:+e[0],top:+e[1]||0}:e)&&(this.offset.click.left=e.left+this.margins.left),"right"in e&&(this.offset.click.left=this.helperProportions.width-e.right+this.margins.left),"top"in e&&(this.offset.click.top=e.top+this.margins.top),"bottom"in e&&(this.offset.click.top=this.helperProportions.height-e.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&Y.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),{top:(e=this.offsetParent[0]===this.document[0].body?{top:0,left:0}:e).top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){var e;return"relative"===this.cssPosition?{top:(e=this.currentItem.position()).top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:e.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}:{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,t,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=Y(i.containment)[0],i=Y(i.containment).offset(),t="hidden"!==Y(e).css("overflow"),this.containment=[i.left+(parseInt(Y(e).css("borderLeftWidth"),10)||0)+(parseInt(Y(e).css("paddingLeft"),10)||0)-this.margins.left,i.top+(parseInt(Y(e).css("borderTopWidth"),10)||0)+(parseInt(Y(e).css("paddingTop"),10)||0)-this.margins.top,i.left+(t?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(Y(e).css("borderLeftWidth"),10)||0)-(parseInt(Y(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,i.top+(t?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(Y(e).css("borderTopWidth"),10)||0)-(parseInt(Y(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,t){t=t||this.position;var e="absolute"===e?1:-1,i="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&Y.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,n=/(html|body)/i.test(i[0].tagName);return{top:t.top+this.offset.relative.top*e+this.offset.parent.top*e-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():n?0:i.scrollTop())*e,left:t.left+this.offset.relative.left*e+this.offset.parent.left*e-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():n?0:i.scrollLeft())*e}},_generatePosition:function(e){var t=this.options,i=e.pageX,n=e.pageY,o="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&Y.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,s=/(html|body)/i.test(o[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(i=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(n=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(i=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3])&&(n=this.containment[3]+this.offset.click.top),t.grid)&&(e=this.originalPageY+Math.round((n-this.originalPageY)/t.grid[1])*t.grid[1],n=!this.containment||e-this.offset.click.top>=this.containment[1]&&e-this.offset.click.top<=this.containment[3]?e:e-this.offset.click.top>=this.containment[1]?e-t.grid[1]:e+t.grid[1],e=this.originalPageX+Math.round((i-this.originalPageX)/t.grid[0])*t.grid[0],i=!this.containment||e-this.offset.click.left>=this.containment[0]&&e-this.offset.click.left<=this.containment[2]?e:e-this.offset.click.left>=this.containment[0]?e-t.grid[0]:e+t.grid[0]),{top:n-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():s?0:o.scrollTop()),left:i-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():s?0:o.scrollLeft())}},_rearrange:function(e,t,i,n){i?i[0].appendChild(this.placeholder[0]):t.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?t.item[0]:t.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var o=this.counter;this._delay(function(){o===this.counter&&this.refreshPositions(!n)})},_clear:function(e,t){this.reverting=!1;var i,n=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(i in this._storedCSS)"auto"!==this._storedCSS[i]&&"static"!==this._storedCSS[i]||(this._storedCSS[i]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function o(t,i,n){return function(e){n._trigger(t,e,i._uiHash(i))}}for(this.fromOutside&&!t&&n.push(function(e){this._trigger("receive",e,this._uiHash(this.fromOutside))}),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||t||n.push(function(e){this._trigger("update",e,this._uiHash())}),this===this.currentContainer||t||(n.push(function(e){this._trigger("remove",e,this._uiHash())}),n.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),n.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer))),i=this.containers.length-1;0<=i;i--)t||n.push(o("deactivate",this,this.containers[i])),this.containers[i].containerCache.over&&(n.push(o("out",this,this.containers[i])),this.containers[i].containerCache.over=0);if(this._storedStylesheet&&(this._storedStylesheet.remove(),this._storedStylesheet=null),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,t||this._trigger("beforeStop",e,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!t){for(i=0;i<n.length;i++)n[i].call(this,e);this._trigger("stop",e,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===Y.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var t=e||this;return{helper:t.helper,placeholder:t.placeholder||Y([]),position:t.position,originalPosition:t.originalPosition,offset:t.positionAbs,item:t.currentItem,sender:e?e.element:null}}}),Y.widget("ui.accordion",{version:"1.14.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:function(e){return e.find("> li > :first-child").add(e.find("> :not(li)").filter(function(e){return e%2==0}))},heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},hideProps:{borderTopWidth:"hide",borderBottomWidth:"hide",paddingTop:"hide",paddingBottom:"hide",height:"hide"},showProps:{borderTopWidth:"show",borderBottomWidth:"show",paddingTop:"show",paddingBottom:"show",height:"show"},_create:function(){var e=this.options;this.prevShow=this.prevHide=Y(),this._addClass("ui-accordion","ui-widget ui-helper-reset"),this.element.attr("role","tablist"),e.collapsible||!1!==e.active&&null!=e.active||(e.active=0),this._processPanels(),e.active<0&&(e.active+=this.headers.length),this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():Y()}},_createIcons:function(){var e,t=this.options.icons;t&&(e=Y("<span>"),this._addClass(e,"ui-accordion-header-icon","ui-icon "+t.header),e.prependTo(this.headers),e=this.active.children(".ui-accordion-header-icon"),this._removeClass(e,t.header)._addClass(e,null,t.activeHeader)._addClass(this.headers,"ui-accordion-icons"))},_destroyIcons:function(){this._removeClass(this.headers,"ui-accordion-icons"),this.headers.children(".ui-accordion-header-icon").remove()},_destroy:function(){var e;this.element.removeAttr("role"),this.headers.removeAttr("role aria-expanded aria-selected aria-controls tabIndex").removeUniqueId(),this._destroyIcons(),e=this.headers.next().css("display","").removeAttr("role aria-hidden aria-labelledby").removeUniqueId(),"content"!==this.options.heightStyle&&e.css("height","")},_setOption:function(e,t){"active"===e?this._activate(t):("event"===e&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(t)),this._super(e,t),"collapsible"!==e||t||!1!==this.options.active||this._activate(0),"icons"===e&&(this._destroyIcons(),t)&&this._createIcons())},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_keydown:function(e){if(!e.altKey&&!e.ctrlKey){var t=Y.ui.keyCode,i=this.headers.length,n=this.headers.index(e.target),o=!1;switch(e.keyCode){case t.RIGHT:case t.DOWN:o=this.headers[(n+1)%i];break;case t.LEFT:case t.UP:o=this.headers[(n-1+i)%i];break;case t.SPACE:case t.ENTER:this._eventHandler(e);break;case t.HOME:o=this.headers[0];break;case t.END:o=this.headers[i-1]}o&&(Y(e.target).attr("tabIndex",-1),Y(o).attr("tabIndex",0),Y(o).trigger("focus"),e.preventDefault())}},_panelKeyDown:function(e){e.keyCode===Y.ui.keyCode.UP&&e.ctrlKey&&Y(e.currentTarget).prev().trigger("focus")},refresh:function(){var e=this.options;this._processPanels(),!1===e.active&&!0===e.collapsible||!this.headers.length?(e.active=!1,this.active=Y()):!1===e.active?this._activate(0):this.active.length&&!Y.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(e.active=!1,this.active=Y()):this._activate(Math.max(0,e.active-1)):e.active=this.headers.index(this.active),this._destroyIcons(),this._refresh()},_processPanels:function(){var e=this.headers,t=this.panels;"function"==typeof this.options.header?this.headers=this.options.header(this.element):this.headers=this.element.find(this.options.header),this._addClass(this.headers,"ui-accordion-header ui-accordion-header-collapsed","ui-state-default"),this.panels=this.headers.next().filter(":not(.ui-accordion-content-active)").hide(),this._addClass(this.panels,"ui-accordion-content","ui-helper-reset ui-widget-content"),t&&(this._off(e.not(this.headers)),this._off(t.not(this.panels)))},_refresh:function(){var i,e=this.options,t=e.heightStyle,n=this.element.parent();this.active=this._findActive(e.active),this._addClass(this.active,"ui-accordion-header-active","ui-state-active")._removeClass(this.active,"ui-accordion-header-collapsed"),this._addClass(this.active.next(),"ui-accordion-content-active"),this.active.next().show(),this.headers.attr("role","tab").each(function(){var e=Y(this),t=e.uniqueId().attr("id"),i=e.next(),n=i.uniqueId().attr("id");e.attr("aria-controls",n),i.attr("aria-labelledby",t)}).next().attr("role","tabpanel"),this.headers.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}).next().attr({"aria-hidden":"true"}).hide(),this.active.length?this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}).next().attr({"aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0),this._createIcons(),this._setupEvents(e.event),"fill"===t?(i=n.height(),this.element.siblings(":visible").each(function(){var e=Y(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.headers.each(function(){i-=Y(this).outerHeight(!0)}),this.headers.next().each(function(){Y(this).height(Math.max(0,i-Y(this).innerHeight()+Y(this).height()))}).css("overflow","auto")):"auto"===t&&(i=0,this.headers.next().each(function(){var e=Y(this).is(":visible");e||Y(this).show(),i=Math.max(i,Y(this).css("height","").height()),e||Y(this).hide()}).height(i))},_activate:function(e){e=this._findActive(e)[0];e!==this.active[0]&&(e=e||this.active[0],this._eventHandler({target:e,currentTarget:e,preventDefault:Y.noop}))},_findActive:function(e){return"number"==typeof e?this.headers.eq(e):Y()},_setupEvents:function(e){var i={keydown:"_keydown"};e&&Y.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.headers.add(this.headers.next())),this._on(this.headers,i),this._on(this.headers.next(),{keydown:"_panelKeyDown"}),this._hoverable(this.headers),this._focusable(this.headers)},_eventHandler:function(e){var t=this.options,i=this.active,n=Y(e.currentTarget),o=n[0]===i[0],s=o&&t.collapsible,r=s?Y():n.next(),a=i.next(),a={oldHeader:i,oldPanel:a,newHeader:s?Y():n,newPanel:r};e.preventDefault(),o&&!t.collapsible||!1===this._trigger("beforeActivate",e,a)||(t.active=!s&&this.headers.index(n),this.active=o?Y():n,this._toggle(a),this._removeClass(i,"ui-accordion-header-active","ui-state-active"),t.icons&&(r=i.children(".ui-accordion-header-icon"),this._removeClass(r,null,t.icons.activeHeader)._addClass(r,null,t.icons.header)),o)||(this._removeClass(n,"ui-accordion-header-collapsed")._addClass(n,"ui-accordion-header-active","ui-state-active"),t.icons&&(e=n.children(".ui-accordion-header-icon"),this._removeClass(e,null,t.icons.header)._addClass(e,null,t.icons.activeHeader)),this._addClass(n.next(),"ui-accordion-content-active"))},_toggle:function(e){var t=e.newPanel,i=this.prevShow.length?this.prevShow:e.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0),this.prevShow=t,this.prevHide=i,this.options.animate?this._animate(t,i,e):(i.hide(),t.show(),this._toggleComplete(e)),i.attr({"aria-hidden":"true"}),i.prev().attr({"aria-selected":"false","aria-expanded":"false"}),t.length&&i.length?i.prev().attr({tabIndex:-1,"aria-expanded":"false"}):t.length&&this.headers.filter(function(){return 0===parseInt(Y(this).attr("tabIndex"),10)}).attr("tabIndex",-1),t.attr("aria-hidden","false").prev().attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_animate:function(e,i,t){function n(){s._toggleComplete(t)}var o,s=this,r=0,a=e.css("box-sizing"),l=e.length&&(!i.length||e.index()<i.index()),c=this.options.animate||{},l=l&&c.down||c,u=(u="string"==typeof l?l:u)||l.easing||c.easing,h=(h="number"==typeof l?l:h)||l.duration||c.duration;return i.length?e.length?(o=e.show().outerHeight(),i.animate(this.hideProps,{duration:h,easing:u,step:function(e,t){t.now=Math.round(e)}}),void e.hide().animate(this.showProps,{duration:h,easing:u,complete:n,step:function(e,t){t.now=Math.round(e),"height"!==t.prop?"content-box"===a&&(r+=t.now):"content"!==s.options.heightStyle&&(t.now=Math.round(o-i.outerHeight()-r),r=0)}})):i.animate(this.hideProps,h,u,n):e.animate(this.showProps,h,u,n)},_toggleComplete:function(e){var t=e.oldPanel,i=t.prev();this._removeClass(t,"ui-accordion-content-active"),this._removeClass(i,"ui-accordion-header-active")._addClass(i,"ui-accordion-header-collapsed"),this._trigger("activate",null,e)}}),Y.widget("ui.menu",{version:"1.14.1",defaultElement:"<ul>",delay:300,options:{icons:{submenu:"ui-icon-caret-1-e"},items:"> *",menus:"ul",position:{my:"left top",at:"right top"},role:"menu",blur:null,focus:null,select:null},_create:function(){this.activeMenu=this.element,this.mouseHandled=!1,this.lastMousePosition={x:null,y:null},this.element.uniqueId().attr({role:this.options.role,tabIndex:0}),this._addClass("ui-menu","ui-widget ui-widget-content"),this._on({"mousedown .ui-menu-item":function(e){e.preventDefault(),this._activateItem(e)},"click .ui-menu-item":function(e){var t=Y(e.target),i=Y(this.document[0].activeElement);!this.mouseHandled&&t.not(".ui-state-disabled").length&&(this.select(e),e.isPropagationStopped()||(this.mouseHandled=!0),t.has(".ui-menu").length?this.expand(e):!this.element.is(":focus")&&i.closest(".ui-menu").length&&(this.element.trigger("focus",[!0]),this.active)&&1===this.active.parents(".ui-menu").length&&clearTimeout(this.timer))},"mouseenter .ui-menu-item":"_activateItem","mousemove .ui-menu-item":"_activateItem",mouseleave:"collapseAll","mouseleave .ui-menu":"collapseAll",focus:function(e,t){var i=this.active||this._menuItems().first();t||this.focus(e,i)},blur:function(e){this._delay(function(){Y.contains(this.element[0],this.document[0].activeElement)||this.collapseAll(e)})},keydown:"_keydown"}),this.refresh(),this._on(this.document,{click:function(e){this._closeOnDocumentClick(e)&&this.collapseAll(e,!0),this.mouseHandled=!1}})},_activateItem:function(e){var t,i;this.previousFilter||e.clientX===this.lastMousePosition.x&&e.clientY===this.lastMousePosition.y||(this.lastMousePosition={x:e.clientX,y:e.clientY},t=Y(e.target).closest(".ui-menu-item"),i=Y(e.currentTarget),t[0]!==i[0])||i.is(".ui-state-active")||(this._removeClass(i.siblings().children(".ui-state-active"),null,"ui-state-active"),this.focus(e,i))},_destroy:function(){var e=this.element.find(".ui-menu-item").removeAttr("role aria-disabled").children(".ui-menu-item-wrapper").removeUniqueId().removeAttr("tabIndex role aria-haspopup");this.element.removeAttr("aria-activedescendant").find(".ui-menu").addBack().removeAttr("role aria-labelledby aria-expanded aria-hidden aria-disabled tabIndex").removeUniqueId().show(),e.children().each(function(){var e=Y(this);e.data("ui-menu-submenu-caret")&&e.remove()})},_keydown:function(e){var t,i,n,o=!0;switch(e.keyCode){case Y.ui.keyCode.PAGE_UP:this.previousPage(e);break;case Y.ui.keyCode.PAGE_DOWN:this.nextPage(e);break;case Y.ui.keyCode.HOME:this._move("first","first",e);break;case Y.ui.keyCode.END:this._move("last","last",e);break;case Y.ui.keyCode.UP:this.previous(e);break;case Y.ui.keyCode.DOWN:this.next(e);break;case Y.ui.keyCode.LEFT:this.collapse(e);break;case Y.ui.keyCode.RIGHT:this.active&&!this.active.is(".ui-state-disabled")&&this.expand(e);break;case Y.ui.keyCode.ENTER:case Y.ui.keyCode.SPACE:this._activate(e);break;case Y.ui.keyCode.ESCAPE:this.collapse(e);break;default:t=this.previousFilter||"",n=o=!1,i=96<=e.keyCode&&e.keyCode<=105?(e.keyCode-96).toString():String.fromCharCode(e.keyCode),clearTimeout(this.filterTimer),i===t?n=!0:i=t+i,t=this._filterMenuItems(i),(t=n&&-1!==t.index(this.active.next())?this.active.nextAll(".ui-menu-item"):t).length||(i=String.fromCharCode(e.keyCode),t=this._filterMenuItems(i)),t.length?(this.focus(e,t),this.previousFilter=i,this.filterTimer=this._delay(function(){delete this.previousFilter},1e3)):delete this.previousFilter}o&&e.preventDefault()},_activate:function(e){this.active&&!this.active.is(".ui-state-disabled")&&(this.active.children("[aria-haspopup='true']").length?this.expand(e):this.select(e))},refresh:function(){var e,t,n=this,o=this.options.icons.submenu,i=this.element.find(this.options.menus);this._toggleClass("ui-menu-icons",null,!!this.element.find(".ui-icon").length),e=i.filter(":not(.ui-menu)").hide().attr({role:this.options.role,"aria-hidden":"true","aria-expanded":"false"}).each(function(){var e=Y(this),t=e.prev(),i=Y("<span>").data("ui-menu-submenu-caret",!0);n._addClass(i,"ui-menu-icon","ui-icon "+o),t.attr("aria-haspopup","true").prepend(i),e.attr("aria-labelledby",t.attr("id"))}),this._addClass(e,"ui-menu","ui-widget ui-widget-content ui-front"),(e=i.add(this.element).find(this.options.items)).not(".ui-menu-item").each(function(){var e=Y(this);n._isDivider(e)&&n._addClass(e,"ui-menu-divider","ui-widget-content")}),t=(i=e.not(".ui-menu-item, .ui-menu-divider")).children().not(".ui-menu").uniqueId().attr({tabIndex:-1,role:this._itemRole()}),this._addClass(i,"ui-menu-item")._addClass(t,"ui-menu-item-wrapper"),e.filter(".ui-state-disabled").attr("aria-disabled","true"),this.active&&!Y.contains(this.element[0],this.active[0])&&this.blur()},_itemRole:function(){return{menu:"menuitem",listbox:"option"}[this.options.role]},_setOption:function(e,t){var i;"icons"===e&&(i=this.element.find(".ui-menu-icon"),this._removeClass(i,null,this.options.icons.submenu)._addClass(i,null,t.submenu)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",String(e)),this._toggleClass(null,"ui-state-disabled",!!e)},focus:function(e,t){var i;this.blur(e,e&&"focus"===e.type),this._scrollIntoView(t),this.active=t.first(),i=this.active.children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),this.options.role&&this.element.attr("aria-activedescendant",i.attr("id")),i=this.active.parent().closest(".ui-menu-item").children(".ui-menu-item-wrapper"),this._addClass(i,null,"ui-state-active"),e&&"keydown"===e.type?this._close():this.timer=this._delay(function(){this._close()},this.delay),(i=t.children(".ui-menu")).length&&e&&/^mouse/.test(e.type)&&this._startOpening(i),this.activeMenu=t.parent(),this._trigger("focus",e,{item:t})},_scrollIntoView:function(e){var t,i,n;this._hasScroll()&&(t=parseFloat(Y.css(this.activeMenu[0],"borderTopWidth"))||0,i=parseFloat(Y.css(this.activeMenu[0],"paddingTop"))||0,t=e.offset().top-this.activeMenu.offset().top-t-i,i=this.activeMenu.scrollTop(),n=this.activeMenu.height(),e=e.outerHeight(),t<0?this.activeMenu.scrollTop(i+t):n<t+e&&this.activeMenu.scrollTop(i+t-n+e))},blur:function(e,t){t||clearTimeout(this.timer),this.active&&(this._removeClass(this.active.children(".ui-menu-item-wrapper"),null,"ui-state-active"),this._trigger("blur",e,{item:this.active}),this.active=null)},_startOpening:function(e){clearTimeout(this.timer),"true"===e.attr("aria-hidden")&&(this.timer=this._delay(function(){this._close(),this._open(e)},this.delay))},_open:function(e){var t=Y.extend({of:this.active},this.options.position);clearTimeout(this.timer),this.element.find(".ui-menu").not(e.parents(".ui-menu")).hide().attr("aria-hidden","true"),e.show().removeAttr("aria-hidden").attr("aria-expanded","true").position(t)},collapseAll:function(t,i){clearTimeout(this.timer),this.timer=this._delay(function(){var e=i?this.element:Y(t&&t.target).closest(this.element.find(".ui-menu"));e.length||(e=this.element),this._close(e),this.blur(t),this._removeClass(e.find(".ui-state-active"),null,"ui-state-active"),this.activeMenu=e},i?0:this.delay)},_close:function(e){(e=e||(this.active?this.active.parent():this.element)).find(".ui-menu").hide().attr("aria-hidden","true").attr("aria-expanded","fal
1se")},_closeOnDocumentClick:function(e){return!Y(e.target).closest(".ui-menu").length},_isDivider:function(e){return!/[^\-\u2014\u2013\s]/.test(e.text())},collapse:function(e){var t=this.active&&this.active.parent().closest(".ui-menu-item",this.element);t&&t.length&&(this._close(),this.focus(e,t))},expand:function(e){var t=this.active&&this._menuItems(this.active.children(".ui-menu")).first();t&&t.length&&(this._open(t.parent()),this._delay(function(){this.focus(e,t)}))},next:function(e){this._move("next","first",e)},previous:function(e){this._move("prev","last",e)},isFirstItem:function(){return this.active&&!this.active.prevAll(".ui-menu-item").length},isLastItem:function(){return this.active&&!this.active.nextAll(".ui-menu-item").length},_menuItems:function(e){return(e||this.element).find(this.options.items).filter(".ui-menu-item")},_move:function(e,t,i){var n;(n=this.active?"first"===e||"last"===e?this.active["first"===e?"prevAll":"nextAll"](".ui-menu-item").last():this.active[e+"All"](".ui-menu-item").first():n)&&n.length&&this.active||(n=this._menuItems(this.activeMenu)[t]()),this.focus(i,n)},nextPage:function(e){var t,i,n;this.active?this.isLastItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.innerHeight(),0===Y.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.nextAll(".ui-menu-item").each(function(){return(t=Y(this)).offset().top-i-n<0}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu)[this.active?"last":"first"]())):this.next(e)},previousPage:function(e){var t,i,n;this.active?this.isFirstItem()||(this._hasScroll()?(i=this.active.offset().top,n=this.element.innerHeight(),0===Y.fn.jquery.indexOf("3.2.")&&(n+=this.element[0].offsetHeight-this.element.outerHeight()),this.active.prevAll(".ui-menu-item").each(function(){return 0<(t=Y(this)).offset().top-i+n}),this.focus(e,t)):this.focus(e,this._menuItems(this.activeMenu).first())):this.next(e)},_hasScroll:function(){return this.element.outerHeight()<this.element.prop("scrollHeight")},select:function(e){this.active=this.active||Y(e.target).closest(".ui-menu-item");var t={item:this.active};this.active.has(".ui-menu").length||this.collapseAll(e,!0),this._trigger("select",e,t)},_filterMenuItems:function(e){var e=e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&"),t=new RegExp("^"+e,"i");return this.activeMenu.find(this.options.items).filter(".ui-menu-item").filter(function(){return t.test(String.prototype.trim.call(Y(this).children(".ui-menu-item-wrapper").text()))})}}),Y.widget("ui.autocomplete",{version:"1.14.1",defaultElement:"<input>",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},requestIndex:0,pending:0,liveRegionTimer:null,_create:function(){var i,n,o,e=this.element[0].nodeName.toLowerCase(),t="textarea"===e,e="input"===e;this.isMultiLine=t||!e&&"true"===this.element.prop("contentEditable"),this.valueMethod=this.element[t||e?"val":"text"],this.isNewMenu=!0,this._addClass("ui-autocomplete-input"),this.element.attr("autocomplete","off"),this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))n=o=i=!0;else{n=o=i=!1;var t=Y.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:i=!0,this._move("previousPage",e);break;case t.PAGE_DOWN:i=!0,this._move("nextPage",e);break;case t.UP:i=!0,this._keyEvent("previous",e);break;case t.DOWN:i=!0,this._keyEvent("next",e);break;case t.ENTER:this.menu.active&&(i=!0,e.preventDefault(),this.menu.select(e));break;case t.TAB:this.menu.active&&this.menu.select(e);break;case t.ESCAPE:this.menu.element.is(":visible")&&(this.isMultiLine||this._value(this.term),this.close(e),e.preventDefault());break;default:n=!0,this._searchTimeout(e)}}},keypress:function(e){if(i)i=!1,this.isMultiLine&&!this.menu.element.is(":visible")||e.preventDefault();else if(!n){var t=Y.ui.keyCode;switch(e.keyCode){case t.PAGE_UP:this._move("previousPage",e);break;case t.PAGE_DOWN:this._move("nextPage",e);break;case t.UP:this._keyEvent("previous",e);break;case t.DOWN:this._keyEvent("next",e)}}},input:function(e){o?(o=!1,e.preventDefault()):this._searchTimeout(e)},focus:function(){this.selectedItem=null,this.previous=this._value(
vendor: 13,200 bytes, line 1
1)},blur:function(e){clearTimeout(this.searching),this.close(e),this._change(e)}}),this._initSource(),this.menu=Y("<ul>").appendTo(this._appendTo()).menu({role:null}).hide().menu("instance"),this._addClass(this.menu.element,"ui-autocomplete","ui-front"),this._on(this.menu.element,{mousedown:function(e){e.preventDefault()},menufocus:function(e,t){var i,n;this.isNewMenu&&(this.isNewMenu=!1,e.originalEvent)&&/^mouse/.test(e.originalEvent.type)?(this.menu.blur(),this.document.one("mousemove",function(){Y(e.target).trigger(e.originalEvent)})):(n=t.item.data("ui-autocomplete-item"),!1!==this._trigger("focus",e,{item:n})&&e.originalEvent&&/^key/.test(e.originalEvent.type)&&this._value(n.value),(i=t.item.attr("aria-label")||n.value)&&String.prototype.trim.call(i).length&&(clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(Y("<div>").text(i))},100)))},menuselect:function(e,t){var t=t.item.data("ui-autocomplete-item"),i=this.previous;this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=i),!1!==this._trigger("select",e,{item:t})&&this._value(t.value),this.term=this._value(),this.close(e),this.selectedItem=t}}),this.liveRegion=Y("<div>",{role:"status","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_destroy:function(){clearTimeout(this.searching),this.element.removeAttr("autocomplete"),this.menu.element.remove(),this.liveRegion.remove()},_setOption:function(e,t){this._super(e,t),"source"===e&&this._initSource(),"appendTo"===e&&this.menu.element.appendTo(this._appendTo()),"disabled"===e&&t&&this.xhr&&this.xhr.abort()},_isEventTargetInWidget:function(e){var t=this.menu.element[0];return e.target===this.element[0]||e.target===t||Y.contains(t,e.target)},_closeOnClickOutside:function(e){this._isEventTargetInWidget(e)||this.close()},_appendTo:function(){var e=this.options.appendTo;return e=(e=(e=e&&(e.jquery||e.nodeType?Y(e):this.document.find(e).eq(0)))&&e[0]?e:this.element.closest(".ui-front, dialog")).length?e:this.document[0].body},_initSource:function(){var i,n,o=this;Array.isArray(this.options.source)?(i=this.options.source,this.source=function(e,t){t(Y.ui.autocomplete.filter(i,e.term))}):"string"==typeof this.options.source?(n=this.options.source,this.source=function(e,t){o.xhr&&o.xhr.abort(),o.xhr=Y.ajax({url:n,data:e,dataType:"json",success:function(e){t(e)},error:function(){t([])}})}):this.source=this.options.source},_searchTimeout:function(n){clearTimeout(this.searching),this.searching=this._delay(function(){var e=this.term===this._value(),t=this.menu.element.is(":visible"),i=n.altKey||n.ctrlKey||n.metaKey||n.shiftKey;e&&(t||i)||(this.selectedItem=null,this.search(null,n))},this.options.delay)},search:function(e,t){return e=null!=e?e:this._value(),this.term=this._value(),e.length<this.options.minLength?this.close(t):!1!==this._trigger("search",t)?this._search(e):void 0},_search:function(e){this.pending++,this._addClass("ui-autocomplete-loading"),this.cancelSearch=!1,this.source({term:e},this._response())},_response:function(){var t=++this.requestIndex;return function(e){t===this.requestIndex&&this.__response(e),this.pending--,this.pending||this._removeClass("ui-autocomplete-loading")}.bind(this)},__response:function(e){e=e&&this._normalize(e),this._trigger("response",null,{content:e}),!this.options.disabled&&e&&e.length&&!this.cancelSearch?(this._suggest(e),this._trigger("open")):this._close()},close:function(e){this.cancelSearch=!0,this._close(e)},_close:function(e){this._off(this.document,"mousedown"),this.menu.element.is(":visible")&&(this.menu.element.hide(),this.menu.blur(),this.isNewMenu=!0,this._trigger("close",e))},_change:function(e){this.previous!==this._value()&&this._trigger("change",e,{item:this.selectedItem})},_normalize:function(e){return e.length&&e[0].label&&e[0].value?e:Y.map(e,function(e){return"string"==typeof e?{label:e,value:e}:Y.extend({},e,{label:e.label||e.value,value:e.value||e.label})})},_suggest:function(e){var t=this.menu.element.empty();this._renderMenu(t,e),this.isNewMenu=!0,this.menu.refresh(),t.show(),this._resizeMenu(),t.position(Y.extend({of:this.element},this.options.position)),this.options.autoFocus&&this.menu.next(),this._on(this.document,{mousedown:"_closeOnClickOutside"})},_resizeMenu:function(){var e=this.menu.element;e.outerWidth(Math.max(e.width("").outerWidth()+1,this.element.outerWidth()))},_renderMenu:function(i,e){var n=this;Y.each(e,function(e,t){n._renderItemData(i,t)})},_renderItemData:function(e,t){return this._renderItem(e,t).data("ui-autocomplete-item",t)},_renderItem:function(e,t){return Y("<li>").append(Y("<div>").text(t.label)).appendTo(e)},_move:function(e,t){this.menu.element.is(":visible")?this.menu.isFirstItem()&&/^previous/.test(e)||this.menu.isLastItem()&&/^next/.test(e)?(this.isMultiLine||this._value(this.term),this.menu.blur()):this.menu[e](t):this.search(null,t)},widget:function(){return this.menu.element},_value:function(){return this.valueMethod.apply(this.element,arguments)},_keyEvent:function(e,t){this.isMultiLine&&!this.menu.element.is(":visible")||(this._move(e,t),t.preventDefault())}}),Y.extend(Y.ui.autocomplete,{escapeRegex:function(e){return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")},filter:function(e,t){var i=new RegExp(Y.ui.autocomplete.escapeRegex(t),"i");return Y.grep(e,function(e){return i.test(e.label||e.value||e)})}}),Y.widget("ui.autocomplete",Y.ui.autocomplete,{options:{messages:{noResults:"No search results.",results:function(e){return e+(1<e?" results are":" result is")+" available, use up and down arrow keys to navigate."}}},__response:function(e){var t;this._superApply(arguments),this.options.disabled||this.cancelSearch||(t=e&&e.length?this.options.messages.results(e.length):this.options.messages.noResults,clearTimeout(this.liveRegionTimer),this.liveRegionTimer=this._delay(function(){this.liveRegion.html(Y("<div>").text(t))},100))}}),Y.ui.autocomplete;var $,d,H=/ui-corner-([a-z]){2,6}/g;Y.widget("ui.controlgroup",{version:"1.14.1",defaultElement:"<div>",options:{direction:"horizontal",disabled:null,onlyVisible:!0,items:{button:"input[type=button], input[type=submit], input[type=reset], button, a",controlgroupLabel:".ui-controlgroup-label",checkboxradio:"input[type='checkbox'], input[type='radio']",selectmenu:"select",spinner:".ui-spinner-input"}},_create:function(){this._enhance()},_enhance:function(){this.element.attr("role","toolbar"),this.refresh()},_destroy:function(){this._callChildMethod("destroy"),this.childWidgets.removeData("ui-controlgroup-data"),this.element.removeAttr("role"),this.options.items.controlgroupLabel&&this.element.find(this.options.items.controlgroupLabel).find(".ui-controlgroup-label-contents").contents().unwrap()},_initWidgets:function(){var s=this,r=[];Y.each(this.options.items,function(n,e){var t,o={};e&&("controlgroupLabel"===n?((t=s.element.find(e)).each(function(){var e=Y(this);e.children(".ui-controlgroup-label-contents").length||e.contents().wrapAll("<span class='ui-controlgroup-label-contents'></span>")}),s._addClass(t,null,"ui-widget ui-widget-content ui-state-default"),r=r.concat(t.get())):Y.fn[n]&&(o=s["_"+n+"Options"]?s["_"+n+"Options"]("middle"):{classes:{}},s.element.find(e).each(function(){var e=Y(this),t=e[n]("instance"),i=Y.widget.extend({},o);"button"===n&&e.parent(".ui-spinner").length||((t=t||e[n]()[n]("instance"))&&(i.classes=s._resolveClassesValues(i.classes,t)),e[n](i),i=e[n]("widget"),Y.data(i[0],"ui-controlgroup-data",t||e[n]("instance")),r.push(i[0]))})))}),this.childWidgets=Y(Y.uniqueSort(r)),this._addClass(this.childWidgets,"ui-controlgroup-item")},_callChildMethod:function(t){this.childWidgets.each(function(){var e=Y(this).data("ui-controlgroup-data");e&&e[t]&&e[t]()})},_updateCornerClass:function(e,t){t=this._buildSimpleOptions(t,"label").classes.label;this._removeClass(e,null,"ui-corner-top ui-corner-bottom ui-corner-left ui-corner-right ui-corner-all"),this._addClass(e,null,t)},_buildSimpleOptions:function(e,t){var i="vertical"===this.options.direction,n={classes:{}};return n.classes[t]={middle:"",first:"ui-corner-"+(i?"top":"left"),last:"ui-corner-"+(i?"bottom":"right"),only:"ui-corner-all"}[e],n},_spinnerOptions:function(e){e=this._buildSimpleOptions(e,"ui-spinner");return e.classes["ui-spinner-up"]="",e.classes["ui-spinner-down"]="",e},_buttonOptions:function(e){return this._buildSimpleOptions(e,"ui-button")},_checkboxradioOptions:function(e){return this._buildSimpleOptions(e,"ui-checkboxradio-label")},_selectmenuOptions:function(e){var t="vertical"===this.options.direction;return{width:t&&"auto",classes:{middle:{"ui-selectmenu-button-open":"","ui-selectmenu-button-closed":""},first:{"ui-selectmenu-button-open":"ui-corner-"+(t?"top":"tl"),"ui-selectmenu-button-closed":"ui-corner-"+(t?"top":"left")},last:{"ui-selectmenu-button-open":t?"":"ui-corner-tr","ui-selectmenu-button-closed":"ui-corner-"+(t?"bottom":"right")},only:{"ui-selectmenu-button-open":"ui-corner-top","ui-selectmenu-button-closed":"ui-corner-all"}}[e]}},_resolveClassesValues:function(i,n){var o={};return Y.each(i,function(e){var t=n.options.classes[e]||"",t=String.prototype.trim.call(t.replace(H,""));o[e]=(t+" "+i[e]).replace(/\s+/g," ")}),o},_setOption:function(e,t){"direction"===e&&this._removeClass("ui-controlgroup-"+this.options.direction),this._super(e,t),"disabled"===e?this._callChildMethod(t?"disable":"enable"):this.refresh()},refresh:function(){var o,s=this;this._addClass("ui-controlgroup ui-controlgroup-"+this.options.direction),"horizontal"===this.options.direction&&this._addClass(null,"ui-helper-clearfix"),this._initWidgets(),o=this.childWidgets,(o=this.options.onlyVisible?o.filter(":visible"):o).length&&(Y.each(["first","last"],function(e,t){var i,n=o[t]().data("ui-controlgroup-data");n&&s["_"+n.widgetName+"Options"]?((i=s["_"+n.widgetName+"Options"](1===o.length?"only":t)).classes=s._resolveClassesValues(i.classes,n),n.element[n.widgetName](i)):s._updateCornerClass(o[t](),t)}),this._callChildMethod("refresh"))}}),Y.widget("ui.checkboxradio",[Y.ui.formResetMixin,{version:"1.14.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,t=this._super()||{};return this._readType(),e=this.element.labels(),this.label=Y(e[e.length-1]),this.label.length||Y.error("No label found for checkboxradio widget"),this.originalLabel="",(e=this.label.contents().not(this.element[0])).length&&(this.originalLabel+=e.clone().wrapAll("<div></div>").parent().html()),this.originalLabel&&(t.label=this.originalLabel),null!=(e=this.element[0].disabled)&&(t.disabled=e),t},_create:function(){var e=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(),e&&this._addClass(this.label,"ui-checkboxradio-checked","ui-state-active"),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)||Y.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=this.element[0].name,t="input[name='"+CSS.escape(e)+"']";return e?(this.form.length?Y(this.form[0].elements).filter(t):Y(t).filter(function(){return 0===Y(Y(this).prop("form")).length})).not(this.element):Y([])},_toggleClasses:function(){var e=this.element[0].checked;this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),this.options.icon&&"checkbox"===this.type&&this._toggleClass(this.icon,null,"ui-icon-check ui-state-checked",e)._toggleClass(this.icon,null,"ui-icon-blank",!e),"radio"===this.type&&this._getRadioGroup().each(function(){var e=Y(this).checkboxradio("instance");e&&e._removeClass(e.label,"ui-checkboxradio-checked","ui-state-active")})},_destroy:function(){this._unbindFormResetHandler(),this.icon&&(this.icon.remove(),this.iconSpace.remove())},_setOption:function(e,t){"label"===e&&!t||(this._super(e,t),"disabled"===e?(this._toggleClass(this.label,null,"ui-state-disabled",t),this.element[0].disabled=t):this.refresh())},_updateIcon:function(e){var t="ui-icon ui-icon-background ";this.options.icon?(this.icon||(this.icon=Y("<span>"),this.iconSpace=Y("<span> </span>
1"),this._addClass(this.iconSpace,"ui-checkboxradio-icon-space")),"checkbox"===this.type?(t+=e?"ui-icon-check ui-state-checked":"ui-icon-blank",this._removeClass(this.icon,null,e?"ui-icon-blank":"ui-icon-check")):t+="ui-icon-blank",this._addClass(this.icon,"ui-checkboxradio-icon",t),e||this._removeClass(this.icon,null,"ui-icon-check ui-state-checked"),this.icon.prependTo(this.label).after(this.iconSpace)):void 0!==this.icon&&(this.icon.remove(),this.iconSpace.remove(),delete this.icon)},_updateLabel:function(){var e=this.label.contents().not(this.element[0]);this.icon&&(e=e.not(this.icon[0])),(e=this.iconSpace?e.not(this.iconSpace[0]):e).remove(),this.label.append(this.options.label)},refresh:function(){var e=this.element[0].checked,t=this.element[0].disabled;this._updateIcon(e),this._toggleClass(this.label,"ui-checkboxradio-checked","ui-state-active",e),null!==this.options.label&&this._updateLabel(),t!==this.options.disabled&&this._setOptions({disabled:t})}}]),Y.ui.checkboxradio,Y.widget("ui.button",{version:"1.14.1",defaultElement:"<button>",options:{classes:{"ui-button":"ui-corner-all"},disabled:null,icon:null,iconPosition:"beginning",label:null,showLabel:!0},_getCreateOptions:function(){var e,t=this._super()||{};return this.isInput=this.element.is("input"),null!=(e=this.element[0].disabled)&&(t.disabled=e),this.originalLabel=this.isInput?this.element.val():this.element.html(),this.originalLabel&&(t.label=this.originalLabel),t},_create:function(){!this.option.showLabel&!this.options.icon&&(this.options.showLabel=!0),null==this.options.disabled&&(this.options.disabled=this.element[0].disabled||!1),this.hasTitle=!!this.element.attr("title"),this.options.label&&this.options.label!==this.originalLabel&&(this.isInput?this.element.val(this.options.label):this.element.html(this.options.label)),this._addClass("ui-button","ui-widget"),this._setOption("disabled",this.options.disabled),this._enhance(),this.element.is("a")&&this._on({keyup:function(e){e.keyCode===Y.ui.keyCode.SPACE&&(e.preventDefault(),this.element[0].click?this.element[0].click():this.element.trigger("click"))}})},_enhance:function(){this.element.is("button")||this.element.attr("role","button"),this.options.icon&&(this._updateIcon("icon",this.options.icon),this._updateTooltip())},_updateTooltip:function(){this.title=this.element.attr("title"),this.options.showLabel||this.title||this.element.attr("title",this.options.label)},_updateIcon:function(e,t){var e="iconPosition"!==e,i=e?this.options.iconPosition:t,n="top"===i||"bottom"===i;this.icon?e&&this._removeClass(this.icon,null,this.options.icon):(this.icon=Y("<span>"),this._addClass(this.icon,"ui-button-icon","ui-icon"),this.options.showLabel||this._addClass("ui-button-icon-only")),e&&this._addClass(this.icon,null,t),this._attachIcon(i),n?(this._addClass(this.icon,null,"ui-widget-icon-block"),this.iconSpace&&this.iconSpace.remove()):(this.iconS
vendor: 9,978 bytes, line 1
1pace||(this.iconSpace=Y("<span> </span>"),this._addClass(this.iconSpace,"ui-button-icon-space")),this._removeClass(this.icon,null,"ui-wiget-icon-block"),this._attachIconSpace(i))},_destroy:function(){this.element.removeAttr("role"),this.icon&&this.icon.remove(),this.iconSpace&&this.iconSpace.remove(),this.hasTitle||this.element.removeAttr("title")},_attachIconSpace:function(e){this.icon[/^(?:end|bottom)/.test(e)?"before":"after"](this.iconSpace)},_attachIcon:function(e){this.element[/^(?:end|bottom)/.test(e)?"append":"prepend"](this.icon)},_setOptions:function(e){var t=(void 0===e.showLabel?this.options:e).showLabel,i=(void 0===e.icon?this.options:e).icon;t||i||(e.showLabel=!0),this._super(e)},_setOption:function(e,t){"icon"===e&&(t?this._updateIcon(e,t):this.icon&&(this.icon.remove(),this.iconSpace)&&this.iconSpace.remove()),"iconPosition"===e&&this._updateIcon(e,t),"showLabel"===e&&(this._toggleClass("ui-button-icon-only",null,!t),this._updateTooltip()),"label"===e&&(this.isInput?this.element.val(t):(this.element.html(t),this.icon&&(this._attachIcon(this.options.iconPosition),this._attachIconSpace(this.options.iconPosition)))),this._super(e,t),"disabled"===e&&(this._toggleClass(null,"ui-state-disabled",t),this.element[0].disabled=t)&&this.element.trigger("blur")},refresh:function(){var e=this.element.is("input, button")?this.element[0].disabled:this.element.hasClass("ui-button-disabled");e!==this.options.disabled&&this._setOptions({disabled:e}),this._updateTooltip()}}),!0===Y.uiBackCompat&&(Y.widget("ui.button",Y.ui.button,{options:{text:!0,icons:{primary:null,secondary:null}},_create:function(){this.options.showLabel&&!this.options.text&&(this.options.showLabel=this.options.text),!this.options.showLabel&&this.options.text&&(this.options.text=this.options.showLabel),this.options.icon||!this.options.icons.primary&&!this.options.icons.secondary?this.options.icon&&(this.options.icons.primary=this.options.icon):this.options.icons.primary?this.options.icon=this.options.icons.primary:(this.options.icon=this.options.icons.secondary,this.options.iconPosition="end"),this._super()},_setOption:function(e,t){"text"===e?this._super("showLabel",t):("showLabel"===e&&(this.options.text=t),"icon"===e&&(this.options.icons.primary=t),"icons"===e&&(t.primary?(this._super("icon",t.primary),this._super("iconPosition","beginning")):t.secondary&&(this._super("icon",t.secondary),this._super("iconPosition","end"))),this._superApply(arguments))}}),Y.fn.button=($=Y.fn.button,function(i){var e="string"==typeof i,n=Array.prototype.slice.call(arguments,1),o=this;return e?this.length||"instance"!==i?this.each(function(){var e,t=Y(this).attr("type"),t=Y.data(this,"ui-"+("checkbox"!==t&&"radio"!==t?"button":"checkboxradio"));return"instance"===i?(o=t,!1):t?"function"!=typeof t[i]||"_"===i.charAt(0)?Y.error("no such method '"+i+"' for button widget instance"):(e=t[i].apply(t,n))!==t&&void 0!==e?(o=e&&e.jquery?o.pushStack(e.get()):e,!1):void 0:Y.error("cannot call methods on button prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=Y.widget.extend.apply(null,[i].concat(n))),this.each(function(){var e=Y(this).attr("type"),e="checkbox"!==e&&"radio"!==e?"button":"checkboxradio",t=Y.data(this,"ui-"+e);t?(t.option(i||{}),t._init&&t._init()):"button"==e?$.call(Y(this),i):Y(this).checkboxradio(Y.extend({icon:!1},i))})),o}),Y.fn.buttonset=function(){return Y.ui.controlgroup||Y.error("Controlgroup widget missing"),"option"===arguments[0]&&"items"===arguments[1]&&arguments[2]?this.controlgroup.apply(this,[arguments[0],"items.button",arguments[2]]):"option"===arguments[0]&&"items"===arguments[1]?this.controlgroup.apply(this,[arguments[0],"items.button"]):("object"==typeof arguments[0]&&arguments[0].items&&(arguments[0].items={button:arguments[0].items}),this.controlgroup.apply(this,arguments))}),Y.ui.button;function R(){this._curInst=null,this._keyEvent=!1,this._disabledInputs=[],this._datepickerShowing=!1,this._inDialog=!1,this._mainDivId="ui-datepicker-div",this._inlineClass="ui-datepicker-inline",this._appendClass="ui-datepicker-append",this._triggerClass="ui-datepicker-trigger",this._dialogClass="ui-datepicker-dialog",this._disableClass="ui-datepicker-disabled",this._unselectableClass="ui-datepicker-unselectable",this._currentClass="ui-datepicker-current-day",this._dayOverClass="ui-datepicker-days-cell-over",this.regional=[],this.regional[""]={closeText:"Done",prevText:"Prev",nextText:"Next",currentText:"Today",monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],dayNamesMin:["Su","Mo","Tu","We","Th","Fr","Sa"],weekHeader:"Wk",dateFormat:"mm/dd/yy",firstDay:0,isRTL:!1,showMonthAfterYear:!1,yearSuffix:"",selectMonthLabel:"Select month",selectYearLabel:"Select year"},this._defaults={showOn:"focus",showAnim:"fadeIn",showOptions:{},defaultDate:null,appendText:"",buttonText:"...",buttonImage:"",buttonImageOnly:!1,hideIfNoPrevNext:!1,navigationAsDateFormat:!1,gotoCurrent:!1,changeMonth:!1,changeYear:!1,yearRange:"c-10:c+10",showOtherMonths:!1,selectOtherMonths:!1,showWeek:!1,calculateWeek:this.iso8601Week,shortYearCutoff:"+10",minDate:null,maxDate:null,duration:"fast",beforeShowDay:null,beforeShow:null,onSelect:null,onChangeMonthYear:null,onClose:null,onUpdateDatepicker:null,numberOfMonths:1,showCurrentAtPos:0,stepMonths:1,stepBigMonths:12,altField:"",altFormat:"",constrainInput:!0,showButtonPanel:!1,autoSize:!1,disabled:!1},Y.extend(this._defaults,this.regional[""]),this.regional.en=Y.extend(!0,{},this.regional[""]),this.regional["en-US"]=Y.extend(!0,{},this.regional.en),this.dpDiv=B(Y("<div id='"+this._mainDivId+"' class='ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>"))}function B(e){var t="button, .ui-datepicker-prev, .ui-datepicker-next, .ui-datepicker-calendar td a";return e.on("mouseout",t,function(){Y(this).removeClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&Y(this).removeClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&Y(this).removeClass("ui-datepicker-next-hover")}).on("mouseover",t,V)}function V(){Y.datepicker._isDisabledDatepicker((d.inline?d.dpDiv.parent():d.input)[0])||(Y(this).parents(".ui-datepicker-calendar").find("a").removeClass("ui-state-hover"),Y(this).addClass("ui-state-hover"),-1!==this.className.indexOf("ui-datepicker-prev")&&Y(this).addClass("ui-datepicker-prev-hover"),-1!==this.className.indexOf("ui-datepicker-next")&&Y(this).addClass("ui-datepicker-next-hover"))}function p(e,t){for(var i in Y.extend(e,t),t)null==t[i]&&(e[i]=t[i])}Y.extend(Y.ui,{datepicker:{version:"1.14.1"}}),Y.extend(R.prototype,{markerClassName:"hasDatepicker",maxRows:4,_widgetDatepicker:function(){return this.dpDiv},setDefaults:function(e){return p(this._defaults,e||{}),this},_attachDatepicker:function(e,t){var i,n=e.nodeName.toLowerCase(),o="div"===n||"span"===n;e.id||(this.uuid+=1,e.id="dp"+this.uuid),(i=this._newInst(Y(e),o)).settings=Y.extend({},t||{}),"input"===n?this._connectDatepicker(e,i):o&&this._inlineDatepicker(e,i)},_newInst:function(e,t){return{id:e[0].id.replace(/([^A-Za-z0-9_\-])/g,"\\\\$1"),input:e,selectedDay:0,selectedMonth:0,selectedYear:0,drawMonth:0,drawYear:0,inline:t,dpDiv:t?B(Y("<div class='"+this._inlineClass+" ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all'></div>")):this.dpDiv}},_connectDatepicker:function(e,t){var i=Y(e);t.append=Y([]),t.trigger=Y([]),i.hasClass(this.markerClassName)||(this._attachments(i,t),i.addClass(this.markerClassName).on("keydown",this._doKeyDown).on("keypress",this._doKeyPress).on("keyup",this._doKeyUp),this._autoSize(t),Y.data(e,"datepicker",t),t.settings.disabled&&this._disableDatepicker(e))},_attachments:function(e,t){var i,n=this._get(t,"appendText"),o=this._get(t,"isRTL");t.append&&t.append.remove(),n&&(t.append=Y("<span>").addClass(this._appendClass).text(n),e[o?"before":"after"](t.append)),e.off("focus",this._showDatepicker),t.trigger&&t.trigger.remove(),"focus"!==(n=this._get(t,"showOn"))&&"both"!==n||e.on("focus",this._showDatepicker),"button"!==n&&"both"!==n||(n=this._get(t,"buttonText"),i=this._get(t,"buttonImage"),this._get(t,"buttonImageOnly")?t.trigger=Y("<img>").addClass(this._triggerClass).attr({src:i,alt:n,title:n}):(t.trigger=Y("<button type='button'>").addClass(this._triggerClass),i?t.trigger.html(Y("<img>").attr({src:i,alt:n,title:n})):t.trigger.text(n)),e[o?"before":"after"](t.trigger),t.trigger.on("click",function(){return Y.datepicker._datepickerShowing&&Y.datepicker._lastInput===e[0]?Y.datepicker._hideDatepicker():(Y.datepicker._datepickerShowing&&Y.datepicker._lastInput!==e[0]&&Y.datepicker._hideDatepicker(),Y.datepicker._showDatepicker(e[0])),!1}))},_autoSize:function(e){var t,i,n,o,s,r;this._get(e,"autoSize")&&!e.inline&&(s=new Date(2009,11,20),(r=this._get(e,"dateFormat")).match(/[DM]/)&&(s.setMonth((t=function(e){for(o=n=i=0;o<e.length;o++)e[o].length>i&&(i=e[o].length,n=o);return n})(this._get(e,r.match(/MM/)?"monthNames":"monthNamesShort"))),s.setDate(t(this._get(e,r.match(/DD/)?"dayNames":"dayNamesShort"))+20-s.getDay())),e.input.attr("size",this._formatDate(e,s).length))},_inlineDatepicker:function(e,t){var i=Y(e);i.hasClass(this.markerClassName)||(i.addClass(this.markerClassName).append(t.dpDiv),Y.data(e,"datepicker",t),this._setDate(t,this._getDefaultDate(t),!0),this._updateDatepicker(t),this._updateAlternate(t),t.settings.disabled&&this._disableDatepicker(e),t.dpDiv.css("display","block"))},_dialogDatepicker:function(e,t,i,n,o){var s,r=this._dialogInst;return r||(this.uuid+=1,s="dp"+this.uuid,this._dialogInput=Y("<input type='text' id='"+s+"' style='position: absolute; top: -100px; width: 0px;'/>
1"),this._dialogInput.on("keydown",this._doKeyDown),Y("body").append(this._dialogInput),(r=this._dialogInst=this._newInst(this._dialogInput,!1)).settings={},Y.data(this._dialogInput[0],"datepicker",r)),p(r.settings,n||{}),t=t&&t.constructor===Date?this._formatDate(r,t):t,this._dialogInput.val(t),this._pos=o?o.length?o:[o.pageX,o.pageY]:null,this._pos||(s=document.documentElement.clientWidth,n=document.documentElement.clientHeight,t=document.documentElement.scrollLeft||document.body.scrollLeft,o=document.documentElement.scrollTop||document.body.scrollTop,this._pos=[s/2-100+t,n/2-150+o]),this._dialogInput.css("left",this._pos[0]+20+"px").css("top",this._pos[1]+"px"),r.settings.onSelect=i,this._inDialog=!0,this.dpDiv.addClass(this._dialogClass),this._showDatepicker(this._dialogInput[0]),Y.blockUI&&Y.blockUI(this.dpDiv),Y.data(this._dialogInput[0],"datepicker",r),this},_destroyDatepicker:function(e){var t,i=Y(e),n=Y.data(e,"datepicker");i.hasClass(this.markerClassName)&&(t=e.nodeName.toLowerCase(),Y.removeData(e,"datepicker"),"input"===t?(n.append.remove(),n.trigger.remove(),i.removeClass(this.markerClassName).off("focus",this._showDatepicker).off("keydown",this._doKeyDown).off("keypress",this._doKeyPress).off("keyup",this._doKeyUp)):"div"!==t&&"span"!==t||i.removeClass(this.markerClassName).empty(),Y.datepicker._hideDatepicker(),d===n)&&(d=null,this._curInst=null)},_enableDatepicker:function(t){var e,i=Y(t),n=Y.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!1,n.trigger.filter("button").each(function(){this.disabled=!1}).end().filter("img").css({opacity:"1.0",cursor:""})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().removeClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!1)),this._disabledInputs=Y.map(this._disabledInputs,function(e){return e===t?null:e}))},_disableDatepicker:function(t){var e,i=Y(t),n=Y.data(t,"datepicker");i.hasClass(this.markerClassName)&&("input"===(e=t.nodeName.toLowerCase())?(t.disabled=!0,n.trigger.filter("button").each(function(){this.disabled=!0}).end().filter("img").css({opacity:"0.5",cursor:"default"})):"div"!==e&&"span"!==e||((n=i.children("."+this._inlineClass)).children().addClass("ui-state-disabled"),n.find("select.ui-datepicker-month, select.ui-datepicker-year").prop("disabled",!0)),this._disabledInputs=Y.map(this._disabledInputs,function(e){return e===t?null:e}),this._disabledInputs[this._disabledInputs.length]=t)},_isDisabledDatepicker:function(e){if(e)for(var t=0;t<this._disabledInputs.length;t++)if(this._disabledInputs[t]===e)return!0;return!1},_getInst:function(e){try{return Y.data(e,"datepicker")}catch(e){throw"Missing instance data for this datepicker"}},_optionDatepicker:function(e,t,i){var n,o,s=this._getInst(e);if(2===arguments.length&&"string"==typeof t)return"defaults"===t?Y.extend({},Y.datepicker._defaults):s?"all"===t?Y.extend({},s.settings):this._get(s,t):null;n=t||{},"string"==typeof t&&((n={})[t]=i),s&&(this._curInst===s&&this._hideDatepicker(),t=this._getDateDatepicker(e,!0),i=this._getMinMaxDate(s,"min"),o=this._getMinMaxDate(s,"max"),p(s.settings,n),null!==i&&void 0!==n.dateFormat&&void 0===n.minDate&&(s.settings.minDate=this._formatDate(s,i)),null!==o&&void 0!==n.dateFormat&&void 0===n.maxDate&&(s.settings.maxDate=this._formatDate(s,o)),"disabled"in n&&(n.disabled?this._disableDatepicker(e):this._enableDatepicker(e)),this._attachments(Y(e),s),this._autoSize(s),this._setDate(s,t),this._updateAlternate(s),this._updateDatepicker(s))},_changeDatepicker:function(e,t,i){this._optionDatepicker(e,t,i)},_refreshDatepicker:function(e){e=this._getInst(e);e&&this._updateDatepicker(e)},_setDateDatepicker:function(e,t){e=this._getInst(e);e&&(this._setDate(e,t),this._updateDatepicker(e),this._updateAlternate(e))},_getDateDatepicker:function(e,t){e=this._getInst(e);return e&&!e.inline&&this._setDateFromField(e,t),e?this._getDate(e):null},_doKeyDown:function(e){var t,i,n=Y.datepicker._getInst(e.target),o=!0,s=n.dpDiv.is(".ui-datepicker-rtl");if(n._keyEvent=!0,Y.datepicker._datepickerShowing)switch(e.keyCode){case 9:Y.datepicker._hideDatepicker(),o=!1;break;case 13:return(i=Y("td."+Y.datepicker._dayOverClass+":not(."+Y.datepicker._currentClass+")",n.dpDiv))[0]&&Y.datepicker._selectDay(e.target,n.selectedMonth,n.selectedYear,i[0]),(i=Y.datepicker._get(n,"onSelect"))?(t=Y.datepicker._formatDate(n),i.apply(n.input?n.input[0]:null,[t,n])):Y.datepicker._hideDatepicker(),!1;case 27:Y.datepicker._hideDatepicker();break;case 33:Y.datepicker._adjustDate(e.target,e.ctrlKey?-Y.datepicker._get(n,"stepBigMonths"):-Y.datepicker._get(n,"stepMonths"),"M");break;case 34:Y.datepicker._adjustDate(e.target,e.ctrlKey?+Y.datepicker._get(n,"stepBigMonths"):+Y.datepicker._get(n,"stepMonths"),"M");break;case 35:(e.ctrlKey||e.metaKey)&&Y.datepicker._clearDate(e.target),o=e.ctrlKey||e.metaKey;break;case 36:(e.ctrlKey||e.metaKey)&&Y.datepicker._gotoToday(e.target),o=e.ctrlKey||e.metaKey;break;case 37:(e.ctrlKey||e.metaKey)&&Y.datepicker._adjustDate(e.target,s?1:-1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&Y.datepicker._adjustDate(e.target,e.ctrlKey?-Y.datepicker._get(n,"stepBigMonths"):-Y.datepicker._get(n,"stepMonths"),"M");break;case 38:(e.ctrlKey||e.metaKey)&&Y.datepicker._adjustDate(e.target,-7,"D"),o=e.ctrlKey||e.metaKey;break;case 39:(e.ctrlKey||e.metaKey)&&Y.datepicker._adjustDate(e.target,s?-1:1,"D"),o=e.ctrlKey||e.metaKey,e.originalEvent.altKey&&Y.datepicker._adjustDate(e.target,e.ctrlKey?+Y.datepicker._get(n,"stepBigMonths"):+Y.datepicker._get(n,"stepMonths"),"M");break;case 40:(e.ctrlKey||e.metaKey)&&Y.datepicker._adjustDate(e.target,7,"D"),o=e.ctrlKey||e.metaKey;break;default:o=!1}else 36===e.keyCode&&e.ctrlKey?Y.datepicker._showDatepicker(this):o=!1;o&&(e.preventDefault(),e.stopPropagation())},_doKeyPress:function(e){var t,i=Y.datepicker._getInst(e.target);if(Y.datepicker._get(i,"constrainInput"))return i=Y.datepicker._possibleChars(Y.datepicker._get(i,"dateFormat")),t=String.fromCharCode(null==e.charCode?e.keyCode:e.charCode),e.ctrlKey||e.metaKey||t<" "||!i||-1<i.indexOf(t)},_doKeyUp:function(e){e=Y.datepicker._getInst(e.target);if(e.input.val()!==e.lastVal)try{Y.datepicker.parseDate(Y.datepicker._get(e,"dateFormat"),e.input?e.input.val():null,Y.datepicker._getFormatConfig(e))&&(Y.datepicker._setDateFromField(e),Y.datepicker._updateAlternate(e),Y.datepicker._updateDatepicker(e))}catch(e){}return!0},_showDatepicker:function(e){var t,i,n,o;"input"!==(e=e.target||e).nodeName.toLowerCase()&&(e=Y("input",e.parentNode)[0]),Y.datepicker._isDisabledDatepicker(e)||Y.datepicker._lastInput===e||(o=Y.datepicker._getInst(e),Y.datepicker._curInst&&Y.datepicker._curInst!==o&&(Y.datepicker._curInst.dpDiv.stop(!0,!0),o)&&Y.datepicker._datepickerShowing&&Y.datepicker._hideDatepicker(Y.datepicker._curInst.input[0]),!1===(i=(i=Y.datepicker._get(o,"beforeShow"))?i.apply(e,[e,o]):{}
vendor: 90,132 bytes, line 1
1))||(p(o.settings,i),o.lastVal=null,Y.datepicker._lastInput=e,Y.datepicker._setDateFromField(o),Y.datepicker._inDialog&&(e.value=""),Y.datepicker._pos||(Y.datepicker._pos=Y.datepicker._findPos(e),Y.datepicker._pos[1]+=e.offsetHeight),t=!1,Y(e).parents().each(function(){return!(t|="fixed"===Y(this).css("position"))}),i={left:Y.datepicker._pos[0],top:Y.datepicker._pos[1]},Y.datepicker._pos=null,o.dpDiv.empty(),o.dpDiv.css({position:"absolute",display:"block",top:"-1000px"}),Y.datepicker._updateDatepicker(o),i=Y.datepicker._checkOffset(o,i,t),o.dpDiv.css({position:Y.datepicker._inDialog&&Y.blockUI?"static":t?"fixed":"absolute",display:"none",left:i.left+"px",top:i.top+"px"}),o.inline)||(i=Y.datepicker._get(o,"showAnim"),n=Y.datepicker._get(o,"duration"),o.dpDiv.css("z-index",(e=>{for(var t;e.length&&e[0]!==document;){if(("absolute"===(t=e.css("position"))||"relative"===t||"fixed"===t)&&(t=parseInt(e.css("zIndex"),10),!isNaN(t))&&0!==t)return t;e=e.parent()}return 0})(Y(e))+1),Y.datepicker._datepickerShowing=!0,Y.effects&&Y.effects.effect[i]?o.dpDiv.show(i,Y.datepicker._get(o,"showOptions"),n):o.dpDiv[i||"show"](i?n:null),Y.datepicker._shouldFocusInput(o)&&o.input.trigger("focus"),Y.datepicker._curInst=o)},_updateDatepicker:function(e){this.maxRows=4,(d=e).dpDiv.empty().append(this._generateHTML(e)),this._attachHandlers(e);var t,i=this._getNumberOfMonths(e),n=i[1],o=e.dpDiv.find("."+this._dayOverClass+" a"),s=Y.datepicker._get(e,"onUpdateDatepicker");0<o.length&&V.apply(o.get(0)),e.dpDiv.removeClass("ui-datepicker-multi-2 ui-datepicker-multi-3 ui-datepicker-multi-4").width(""),1<n&&e.dpDiv.addClass("ui-datepicker-multi-"+n).css("width",17*n+"em"),e.dpDiv[(1!==i[0]||1!==i[1]?"add":"remove")+"Class"]("ui-datepicker-multi"),e.dpDiv[(this._get(e,"isRTL")?"add":"remove")+"Class"]("ui-datepicker-rtl"),e===Y.datepicker._curInst&&Y.datepicker._datepickerShowing&&Y.datepicker._shouldFocusInput(e)&&e.input.trigger("focus"),e.yearshtml&&(t=e.yearshtml,setTimeout(function(){t===e.yearshtml&&e.yearshtml&&e.dpDiv.find("select.ui-datepicker-year").first().replaceWith(e.yearshtml),t=e.yearshtml=null},0)),s&&s.apply(e.input?e.input[0]:null,[e])},_shouldFocusInput:function(e){return e.input&&e.input.is(":visible")&&!e.input.is(":disabled")},_checkOffset:function(e,t,i){var n=e.dpDiv.outerWidth(),o=e.dpDiv.outerHeight(),s=e.input?e.input.outerWidth():0,r=e.input?e.input.outerHeight():0,a=document.documentElement.clientWidth+(i?0:Y(document).scrollLeft()),l=document.documentElement.clientHeight+(i?0:Y(document).scrollTop());return t.left-=this._get(e,"isRTL")?n-s:0,t.left-=i&&t.left===e.input.offset().left?Y(document).scrollLeft():0,t.top-=i&&t.top===e.input.offset().top+r?Y(document).scrollTop():0,t.left-=Math.min(t.left,a<t.left+n&&n<a?Math.abs(t.left+n-a):0),t.top-=Math.min(t.top,l<t.top+o&&o<l?Math.abs(o+r):0),t},_findPos:function(e){for(var t=this._getInst(e),i=this._get(t,"isRTL");e&&("hidden"===e.type||1!==e.nodeType||Y.expr.pseudos.hidden(e));)e=e[i?"previousSibling":"nextSibling"];return[(t=Y(e).offset()).left,t.top]},_hideDatepicker:function(e){var t,i,n=this._curInst;!n||e&&n!==Y.data(e,"datepicker")||this._datepickerShowing&&(e=this._get(n,"showAnim"),i=this._get(n,"duration"),t=function(){Y.datepicker._tidyDialog(n)},Y.effects&&Y.effects.effect[e]?n.dpDiv.hide(e,Y.datepicker._get(n,"showOptions"),i,t):n.dpDiv["slideDown"===e?"slideUp":"fadeIn"===e?"fadeOut":"hide"](e?i:null,t),e||t(),this._datepickerShowing=!1,(i=this._get(n,"onClose"))&&i.apply(n.input?n.input[0]:null,[n.input?n.input.val():"",n]),this._lastInput=null,this._inDialog&&(this._dialogInput.css({position:"absolute",left:"0",top:"-100px"}),Y.blockUI)&&(Y.unblockUI(),Y("body").append(this.dpDiv)),this._inDialog=!1)},_tidyDialog:function(e){e.dpDiv.removeClass(this._dialogClass).off(".ui-datepicker-calendar")},_checkExternalClick:function(e){var t;Y.datepicker._curInst&&(e=Y(e.target),t=Y.datepicker._getInst(e[0]),!(e[0].id===Y.datepicker._mainDivId||0!==e.parents("#"+Y.datepicker._mainDivId).length||e.hasClass(Y.datepicker.markerClassName)||e.closest("."+Y.datepicker._triggerClass).length||!Y.datepicker._datepickerShowing||Y.datepicker._inDialog&&Y.blockUI)||e.hasClass(Y.datepicker.markerClassName)&&Y.datepicker._curInst!==t)&&Y.datepicker._hideDatepicker()},_adjustDate:function(e,t,i){var e=Y(e),n=this._getInst(e[0]);this._isDisabledDatepicker(e[0])||(this._adjustInstDate(n,t,i),this._updateDatepicker(n))},_gotoToday:function(e){var t,e=Y(e),i=this._getInst(e[0]);this._get(i,"gotoCurrent")&&i.currentDay?(i.selectedDay=i.currentDay,i.drawMonth=i.selectedMonth=i.currentMonth,i.drawYear=i.selectedYear=i.currentYear):(t=new Date,i.selectedDay=t.getDate(),i.drawMonth=i.selectedMonth=t.getMonth(),i.drawYear=i.selectedYear=t.getFullYear()),this._notifyChange(i),this._adjustDate(e)},_selectMonthYear:function(e,t,i){var e=Y(e),n=this._getInst(e[0]);n["selected"+("M"===i?"Month":"Year")]=n["draw"+("M"===i?"Month":"Year")]=parseInt(t.options[t.selectedIndex].value,10),this._notifyChange(n),this._adjustDate(e)},_selectDay:function(e,t,i,n){var o=Y(e);Y(n).hasClass(this._unselectableClass)||this._isDisabledDatepicker(o[0])||((o=this._getInst(o[0])).selectedDay=o.currentDay=parseInt(Y("a",n).attr("data-date")),o.selectedMonth=o.currentMonth=t,o.selectedYear=o.currentYear=i,this._selectDate(e,this._formatDate(o,o.currentDay,o.currentMonth,o.currentYear)))},_clearDate:function(e){e=Y(e);this._selectDate(e,"")},_selectDate:function(e,t){var i,e=Y(e),e=this._getInst(e[0]);t=null!=t?t:this._formatDate(e),e.input&&e.input.val(t),this._updateAlternate(e),(i=this._get(e,"onSelect"))?i.apply(e.input?e.input[0]:null,[t,e]):e.input&&e.input.trigger("change"),e.inline?this._updateDatepicker(e):(this._hideDatepicker(),this._lastInput=e.input[0],"object"!=typeof e.input[0]&&e.input.trigger("focus"),this._lastInput=null)},_updateAlternate:function(e){var t,i,n=this._get(e,"altField");n&&(i=this._get(e,"altFormat")||this._get(e,"dateFormat"),t=this._getDate(e),i=this.formatDate(i,t,this._getFormatConfig(e)),Y(document).find(n).val(i))},noWeekends:function(e){e=e.getDay();return[0<e&&e<6,""]},iso8601Week:function(e){var t,e=new Date(e.getTime());return e.setDate(e.getDate()+4-(e.getDay()||7)),t=e.getTime(),e.setMonth(0),e.setDate(1),Math.floor(Math.round((t-e)/864e5)/7)+1},parseDate:function(t,o,e){if(null==t||null==o)throw"Invalid arguments";if(""===(o="object"==typeof o?o.toString():o+""))return null;for(var i,n,s=0,r=(e?e.shortYearCutoff:null)||this._defaults.shortYearCutoff,r="string"!=typeof r?r:(new Date).getFullYear()%100+parseInt(r,10),a=(e?e.dayNamesShort:null)||this._defaults.dayNamesShort,l=(e?e.dayNames:null)||this._defaults.dayNames,c=(e?e.monthNamesShort:null)||this._defaults.monthNamesShort,u=(e?e.monthNames:null)||this._defaults.monthNames,h=-1,d=-1,p=-1,f=-1,m=!1,g=function(e){e=_+1<t.length&&t.charAt(_+1)===e;return e&&_++,e},v=function(e){var t=g(e),t="@"===e?14:"!"===e?20:"y"===e&&t?4:"o"===e?3:2,e=new RegExp("^\\d{"+("y"===e?t:1)+","+t+"}"),t=o.substring(s).match(e);if(t)return s+=t[0].length,parseInt(t[0],10);throw"Missing number at position "+s},y=function(e,t,i){var n=-1,e=Y.map(g(e)?i:t,function(e,t){return[[t,e]]}).sort(function(e,t){return-(e[1].length-t[1].length)});if(Y.each(e,function(e,t){var i=t[1];if(o.substr(s,i.length).toLowerCase()===i.toLowerCase())return n=t[0],s+=i.length,!1}),-1!==n)return n+1;throw"Unknown name at position "+s},b=function(){if(o.charAt(s)!==t.charAt(_))throw"Unexpected literal at position "+s;s++},_=0;_<t.length;_++)if(m)"'"!==t.charAt(_)||g("'")?b():m=!1;else switch(t.charAt(_)){case"d":p=v("d");break;case"D":y("D",a,l);break;case"o":f=v("o");break;case"m":d=v("m");break;case"M":d=y("M",c,u);break;case"y":h=v("y");break;case"@":h=(n=new Date(v("@"))).getFullYear(),d=n.getMonth()+1,p=n.getDate();break;case"!":h=(n=new Date((v("!")-this._ticksTo1970)/1e4)).getFullYear(),d=n.getMonth()+1,p=n.getDate();break;case"'":g("'")?b():m=!0;break;default:b()}if(s<o.length&&(e=o.substr(s),!/^\s+/.test(e)))throw"Extra/unparsed characters found in date: "+e;if(-1===h?h=(new Date).getFullYear():h<100&&(h+=(new Date).getFullYear()-(new Date).getFullYear()%100+(h<=r?0:-100)),-1<f)for(d=1,p=f;;){if(p<=(i=this._getDaysInMonth(h,d-1)))break;d++,p-=i}if((n=this._daylightSavingAdjust(new Date(h,d-1,p))).getFullYear()!==h||n.getMonth()+1!==d||n.getDate()!==p)throw"Invalid date";return n},ATOM:"yy-mm-dd",COOKIE:"D, dd M yy",ISO_8601:"yy-mm-dd",RFC_822:"D, d M y",RFC_850:"DD, dd-M-y",RFC_1036:"D, d M y",RFC_1123:"D, d M yy",RFC_2822:"D, d M yy",RSS:"D, d M y",TICKS:"!",TIMESTAMP:"@",W3C:"yy-mm-dd",_ticksTo1970:24*(718685+Math.floor(492.5)-Math.floor(19.7)+Math.floor(4.925))*60*60*1e7,formatDate:function(t,e,i){if(!e)return"";function n(e,t,i){var n=""+t;if(u(e))for(;n.length<i;)n="0"+n;return n}function o(e,t,i,n){return(u(e)?n:i)[t]}var s,r=(i?i.dayNamesShort:null)||this._defaults.dayNamesShort,a=(i?i.dayNames:null)||this._defaults.dayNames,l=(i?i.monthNamesShort:null)||this._defaults.monthNamesShort,c=(i?i.monthNames:null)||this._defaults.monthNames,u=function(e){e=s+1<t.length&&t.charAt(s+1)===e;return e&&s++,e},h="",d=!1;if(e)for(s=0;s<t.length;s++)if(d)"'"!==t.charAt(s)||u("'")?h+=t.charAt(s):d=!1;else switch(t.charAt(s)){case"d":h+=n("d",e.getDate(),2);break;case"D":h+=o("D",e.getDay(),r,a);break;case"o":h+=n("o",Math.round((new Date(e.getFullYear(),e.getMonth(),e.getDate()).getTime()-new Date(e.getFullYear(),0,0).getTime())/864e5),3);break;case"m":h+=n("m",e.getMonth()+1,2);break;case"M":h+=o("M",e.getMonth(),l,c);break;case"y":h+=u("y")?e.getFullYear():(e.getFullYear()%100<10?"0":"")+e.getFullYear()%100;break;case"@":h+=e.getTime();break;case"!":h+=1e4*e.getTime()+this._ticksTo1970;break;case"'":u("'")?h+="'":d=!0;break;default:h+=t.charAt(s)}return h},_possibleChars:function(t){for(var e="",i=!1,n=function(e){e=o+1<t.length&&t.charAt(o+1)===e;return e&&o++,e},o=0;o<t.length;o++)if(i)"'"!==t.charAt(o)||n("'")?e+=t.charAt(o):i=!1;else switch(t.charAt(o)){case"d":case"m":case"y":case"@":e+="0123456789";break;case"D":case"M":return null;case"'":n("'")?e+="'":i=!0;break;default:e+=t.charAt(o)}return e},_get:function(e,t){return(void 0!==e.settings[t]?e.settings:this._defaults)[t]},_setDateFromField:function(e,t){if(e.input.val()!==e.lastVal){var i=this._get(e,"dateFormat"),n=e.lastVal=e.input?e.input.val():null,o=this._getDefaultDate(e),s=o,r=this._getFormatConfig(e);try{s=this.parseDate(i,n,r)||o}catch(e){n=t?"":n}e.selectedDay=s.getDate(),e.drawMonth=e.selectedMonth=s.getMonth(),e.drawYear=e.selectedYear=s.getFullYear(),e.currentDay=n?s.getDate():0,e.currentMonth=n?s.getMonth():0,e.currentYear=n?s.getFullYear():0,this._adjustInstDate(e)}},_getDefaultDate:function(e){return this._restrictMinMax(e,this._determineDate(e,this._get(e,"defaultDate"),new Date))},_determineDate:function(a,e,t){var i,n=null==e||""===e?t:"string"==typeof e?(e=>{try{return Y.datepicker.parseDate(Y.datepicker._get(a,"dateFormat"),e,Y.datepicker._getFormatConfig(a))}catch(e){}for(var t=(e.toLowerCase().match(/^c/)?Y.datepicker._getDate(a):null)||new Date,i=t.getFullYear(),n=t.getMonth(),o=t.getDate(),s=/([+\-]?[0-9]+)\s*(d|D|w|W|m|M|y|Y)?/g,r=s.exec(e);r;){switch(r[2]||"d"){case"d":case"D":o+=parseInt(r[1],10);break;case"w":case"W":o+=7*parseInt(r[1],10);break;case"m":case"M":n+=parseInt(r[1],10),o=Math.min(o,Y.datepicker._getDaysInMonth(i,n));break;case"y":case"Y":i+=parseInt(r[1],10),o=Math.min(o,Y.datepicker._getDaysInMonth(i,n))}r=s.exec(e)}return new Date(i,n,o)})(e):"number"==typeof e?isNaN(e)?t:(n=e,(i=new Date).setDate(i.getDate()+n),i):new Date(e.getTime());return(n=n&&"Invalid Date"===n.toString()?t:n)&&(n.setHours(0),n.setMinutes(0),n.setSeconds(0),n.setMilliseconds(0)),this._daylightSavingAdjust(n)},_daylightSavingAdjust:function(e){return e?(e.setHours(12<e.getHours()?e.getHours()+2:0),e):null},_setDate:function(e,t,i){var n=!t,o=e.selectedMonth,s=e.selectedYear,t=this._restrictMinMax(e,this._determineDate(e,t,new Date));e.selectedDay=e.currentDay=t.getDate(),e.drawMonth=e.selectedMonth=e.currentMonth=t.getMonth(),e.drawYear=e.selectedYear=e.currentYear=t.getFullYear(),o===e.selectedMonth&&s===e.selectedYear||i||this._notifyChange(e),this._adjustInstDate(e),e.input&&e.input.val(n?"":this._formatDate(e))},_getDate:function(e){return!e.currentYear||e.input&&""===e.input.val()?null:this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay))},_attachHandlers:function(e){var t=this._get(e,"stepMonths"),i="#"+e.id.replace(/\\\\/g,"\\");e.dpDiv.find("[data-handler]").map(function(){var e={prev:function(){Y.datepicker._adjustDate(i,-t,"M")},next:function(){Y.datepicker._adjustDate(i,+t,"M")},hide:function(){Y.datepicker._hideDatepicker()},today:function(){Y.datepicker._gotoToday(i)},selectDay:function(){return Y.datepicker._selectDay(i,+this.getAttribute("data-month"),+this.getAttribute("data-year"),this),!1},selectMonth:function(){return Y.datepicker._selectMonthYear(i,this,"M"),!1},selectYear:function(){return Y.datepicker._selectMonthYear(i,this,"Y"),!1}};Y(this).on(this.getAttribute("data-event"),e[this.getAttribute("data-handler")])})},_generateHTML:function(e){var t,i,n,o,s,L,N,z,$,r,a,H,l,c,u,h,d,p,f,m,g,v,R,y,b,B,_,V,W,w,x,k,T=new Date,q=this._daylightSavingAdjust(new Date(T.getFullYear(),T.getMonth(),T.getDate())),C=this._get(e,"isRTL"),T=this._get(e,"showButtonPanel"),S=this._get(e,"hideIfNoPrevNext"),j=this._get(e,"navigationAsDateFormat"),E=this._getNumberOfMonths(e),D=this._get(e,"showCurrentAtPos"),M=this._get(e,"stepMonths"),U=1!==E[0]||1!==E[1],P=this._daylightSavingAdjust(e.currentDay?new Date(e.currentYear,e.currentMonth,e.currentDay):new Date(9999,9,9)),O=this._getMinMaxDate(e,"min"),A=this._getMinMaxDate(e,"max"),F=e.drawMonth-D,I=e.drawYear;if(F<0&&(F+=12,I--),A)for(t=this._daylightSavingAdjust(new Date(A.getFullYear(),A.getMonth()-E[0]*E[1]+1,A.getDate())),t=O&&t<O?O:t;this._daylightSavingAdjust(new Date(I,F,1))>t;)--F<0&&(F=11,I--);for(e.drawMonth=F,e.drawYear=I,D=this._get(e,"prevText"),D=j?this.formatDate(D,this._daylightSavingAdjust(new Date(I,F-M,1)),this._getFormatConfig(e)):D,i=this._canAdjustMonth(e,-1,I,F)?Y("<a>").attr({class:"ui-datepicker-prev ui-corner-all","data-handler":"prev","data-event":"click",title:D}).append(Y("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(C?"e":"w")).text(D))[0].outerHTML:S?"":Y("<a>").attr({class:"ui-datepicker-prev ui-corner-all ui-state-disabled",title:D}).append(Y("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(C?"e":"w")).text(D))[0].outerHTML,D=this._get(e,"nextText"),D=j?this.formatDate(D,this._daylightSavingAdjust(new Date(I,F+M,1)),this._getFormatConfig(e)):D,n=this._canAdjustMonth(e,1,I,F)?Y("<a>").attr({class:"ui-datepicker-next ui-corner-all","data-handler":"next","data-event":"click",title:D}).append(Y("<span>").addClass("ui-icon ui-icon-circle-triangle-"+(C?"w":"e")).text(D))[0].outerHTML:S?"":Y("<a>").attr({class:"ui-datepicker-next ui-corner-all ui-state-disabled",title:D}).append(Y("<span>").attr("class","ui-icon ui-icon-circle-triangle-"+(C?"w":"e")).text(D))[0].outerHTML,M=this._get(e,"currentText"),S=this._get(e,"gotoCurrent")&&e.currentDay?P:q,M=j?this.formatDate(M,S,this._getFormatConfig(e)):M,D="",e.inline||(D=Y("<button>").attr({type:"button",class:"ui-datepicker-close ui-state-default ui-priority-primary ui-corner-all","data-handler":"hide","data-event":"click"}).text(this._get(e,"closeText"))[0].outerHTML),j="",T&&(j=Y("<div class='ui-datepicker-buttonpane ui-widget-content'>").append(C?D:"").append(this._isInRange(e,S)?Y("<button>").attr({type:"button",class:"ui-datepicker-current ui-state-default ui-priority-secondary ui-corner-all","data-handler":"today","data-event":"click"}).text(M):"").append(C?"":D)[0].outerHTML),o=parseInt(this._get(e,"firstDay"),10),o=isNaN(o)?0:o,s=this._get(e,"showWeek"),L=this._get(e,"dayNames"),N=this._get(e,"dayNamesMin"),z=this._get(e,"monthNames"),$=this._get(e,"monthNamesShort"),r=this._get(e,"beforeShowDay"),a=this._get(e,"showOtherMonths"),H=this._get(e,"selectOtherMonths"),l=this._getDefaultDate(e),c="",h=0;h<E[0];h++){for(d="",this.maxRows=4,p=0;p<E[1];p++){if(f=this._daylightSavingAdjust(new Date(I,F,e.selectedDay)),m=" ui-corner-all",g="",U){if(g+="<div class='ui-datepicker-group",1<E[1])switch(p){case 0:g+=" ui-datepicker-group-first",m=" ui-corner-"+(C?"right":"left");break;case E[1]-1:g+=" ui-datepicker-group-last",m=" ui-corner-"+(C?"left":"right");break;default:g+=" ui-datepicker-group-middle",m=""}g+="'>"}for(g+="<div class='ui-datepicker-header ui-widget-header ui-helper-clearfix"+m+"'>"+(/all|left/.test(m)&&0===h?C?n:i:"")+(/all|right/.test(m)&&0===h?C?i:n:"")+this._generateMonthYearHeader(e,F,I,O,A,0<h||0<p,z,$)+"</div><table class='ui-datepicker-calendar'><thead><tr>",v=s?"<th class='ui-datepicker-week-col'>"+this._get(e,"weekHeader")+"</th>":"",u=0;u<7;u++)v+="<th scope='col'"+(5<=(u+o+6)%7?" class='ui-datepicker-week-end'":"")+"><span title='"+L[R=(u+o)%7]+"'>"+N[R]+"</span></th>";for(g+=v+"</tr></thead><tbody>",b=this._getDaysInMonth(I,F),I===e.selectedYear&&F===e.selectedMonth&&(e.selectedDay=Math.min(e.selectedDay,b)),y=(this._getFirstDayOfMonth(I,F)-o+7)%7,b=Math.ceil((y+b)/7),B=U&&this.maxRows>b?this.maxRows:b,this.maxRows=B,_=this._daylightSavingAdjust(new Date(I,F,1-y)),V=0;V<B;V++){for(g+="<tr>",W=s?"<td class='ui-datepicker-week-col'>"+this._get(e,"calculateWeek")(_)+"</td>":"",u=0;u<7;u++)w=r?r.apply(e.input?e.input[0]:null,[_]):[!0,""],k=(x=_.getMonth()!==F)&&!H||!w[0]||O&&_<O||A&&A<_,W+="<td class='"+(5<=(u+o+6)%7?" ui-datepicker-week-end":"")+(x?" ui-datepicker-other-month":"")+(_.getTime()===f.getTime()&&F===e.selectedMonth&&e._keyEvent||l.getTime()===_.getTime()&&l.getTime()===f.getTime()?" "+this._dayOverClass:"")+(k?" "+this._unselectableClass+" ui-state-disabled":"")+(x&&!a?"":" "+w[1]+(_.getTime()===P.getTime()?" "+this._currentClass:"")+(_.getTime()===q.getTime()?" ui-datepicker-today":""))+"'"+(x&&!a||!w[2]?"":" title='"+w[2].replace(/'/g,"'")+"'")+(k?"":" data-handler='selectDay' data-event='click' data-month='"+_.getMonth()+"' data-year='"+_.getFullYear()+"'")+">"+(x&&!a?" ":k?"<span class='ui-state-default'>"+_.getDate()+"</span>":"<a class='ui-state-default"+(_.getTime()===q.getTime()?" ui-state-highlight":"")+(_.getTime()===P.getTime()?" ui-state-active":"")+(x?" ui-priority-secondary":"")+"' href='#' aria-current='"+(_.getTime()===P.getTime()?"true":"false")+"' data-date='"+_.getDate()+"'>"+_.getDate()+"</a>")+"</td>",_.setDate(_.getDate()+1),_=this._daylightSavingAdjust(_);g+=W+"</tr>"}11<++F&&(F=0,I++),d+=g+="</tbody></table>"+(U?"</div>"+(0<E[0]&&p===E[1]-1?"<div class='ui-datepicker-row-break'></div>":""):"")}c+=d}return c+=j,e._keyEvent=!1,c},_generateMonthYearHeader:function(e,t,i,n,o,s,r,a){var l,c,u,h,d,p,f=this._get(e,"changeMonth"),m=this._get(e,"changeYear"),g=this._get(e,"showMonthAfterYear"),v=this._get(e,"selectMonthLabel"),y=this._get(e,"selectYearLabel"),b="<div class='ui-datepicker-title'>",_="";if(s||!f)_+="<span class='ui-datepicker-month'>"+r[t]+"</span>";else{for(l=n&&n.getFullYear()===i,c=o&&o.getFullYear()===i,_+="<select class='ui-datepicker-month' aria-label='"+v+"' data-handler='selectMonth' data-event='change'>",u=0;u<12;u++)(!l||u>=n.getMonth())&&(!c||u<=o.getMonth())&&(_+="<option value='"+u+"'"+(u===t?" selected='selected'":"")+">"+a[u]+"</option>");_+="</select>"}if(g||(b+=_+(!s&&f&&m?"":" ")),!e.yearshtml)if(e.yearshtml="",s||!m)b+="<span class='ui-datepicker-year'>"+i+"</span>";else{for(r=this._get(e,"yearRange").split(":"),h=(new Date).getFullYear(),d=(v=function(e){e=e.match(/c[+\-].*/)?i+parseInt(e.substring(1),10):e.match(/[+\-].*/)?h+parseInt(e,10):parseInt(e,10);return isNaN(e)?h:e})(r[0]),p=Math.max(d,v(r[1]||"")),d=n?Math.max(d,n.getFullYear()):d,p=o?Math.min(p,o.getFullYear()):p,e.yearshtml+="<select class='ui-datepicker-year' aria-label='"+y+"' data-handler='selectYear' data-event='change'>";d<=p;d++)e.yearshtml+="<option value='"+d+"'"+(d===i?" selected='selected'":"")+">"+d+"</option>";e.yearshtml+="</select>",b+=e.yearshtml,e.yearshtml=null}return b+=this._get(e,"yearSuffix"),g&&(b+=(!s&&f&&m?"":" ")+_),b+="</div>"},_adjustInstDate:function(e,t,i){var n=e.selectedYear+("Y"===i?t:0),o=e.selectedMonth+("M"===i?t:0),t=Math.min(e.selectedDay,this._getDaysInMonth(n,o))+("D"===i?t:0),n=this._restrictMinMax(e,this._daylightSavingAdjust(new Date(n,o,t)));e.selectedDay=n.getDate(),e.drawMonth=e.selectedMonth=n.getMonth(),e.drawYear=e.selectedYear=n.getFullYear(),"M"!==i&&"Y"!==i||this._notifyChange(e)},_restrictMinMax:function(e,t){var i=this._getMinMaxDate(e,"min"),e=this._getMinMaxDate(e,"max"),i=i&&t<i?i:t;return e&&e<i?e:i},_notifyChange:function(e){var t=this._get(e,"onChangeMonthYear");t&&t.apply(e.input?e.input[0]:null,[e.selectedYear,e.selectedMonth+1,e])},_getNumberOfMonths:function(e){e=this._get(e,"numberOfMonths");return null==e?[1,1]:"number"==typeof e?[1,e]:e},_getMinMaxDate:function(e,t){return this._determineDate(e,this._get(e,t+"Date"),null)},_getDaysInMonth:function(e,t){return 32-this._daylightSavingAdjust(new Date(e,t,32)).getDate()},_getFirstDayOfMonth:function(e,t){return new Date(e,t,1).getDay()},_canAdjustMonth:function(e,t,i,n){var o=this._getNumberOfMonths(e),i=this._daylightSavingAdjust(new Date(i,n+(t<0?t:o[0]*o[1]),1));return t<0&&i.setDate(this._getDaysInMonth(i.getFullYear(),i.getMonth())),this._isInRange(e,i)},_isInRange:function(e,t){var i,n=this._getMinMaxDate(e,"min"),o=this._getMinMaxDate(e,"max"),s=null,r=null,e=this._get(e,"yearRange");return e&&(e=e.split(":"),i=(new Date).getFullYear(),s=parseInt(e[0],10),r=parseInt(e[1],10),e[0].match(/[+\-].*/)&&(s+=i),e[1].match(/[+\-].*/))&&(r+=i),(!n||t.getTime()>=n.getTime())&&(!o||t.getTime()<=o.getTime())&&(!s||t.getFullYear()>=s)&&(!r||t.getFullYear()<=r)},_getFormatConfig:function(e){var t=this._get(e,"shortYearCutoff");return{shortYearCutoff:"string"!=typeof t?t:(new Date).getFullYear()%100+parseInt(t,10),dayNamesShort:this._get(e,"dayNamesShort"),dayNames:this._get(e,"dayNames"),monthNamesShort:this._get(e,"monthNamesShort"),monthNames:this._get(e,"monthNames")}},_formatDate:function(e,t,i,n){t||(e.currentDay=e.selectedDay,e.currentMonth=e.selectedMonth,e.currentYear=e.selectedYear);n=t?"object"==typeof t?t:this._daylightSavingAdjust(new Date(n,i,t)):this._daylightSavingAdjust(new Date(e.currentYear,e.currentMonth,e.currentDay));return this.formatDate(this._get(e,"dateFormat"),n,this._getFormatConfig(e))}}),Y.fn.datepicker=function(e){if(!this.length)return this;Y.datepicker.initialized||(Y(document).on("mousedown",Y.datepicker._checkExternalClick),Y.datepicker.initialized=!0),0===Y("#"+Y.datepicker._mainDivId).length&&Y("body").append(Y.datepicker.dpDiv);var t=Array.prototype.slice.call(arguments,1);return"string"==typeof e&&("isDisabled"===e||"getDate"===e||"widget"===e)||"option"===e&&2===arguments.length&&"string"==typeof arguments[1]?Y.datepicker["_"+e+"Datepicker"].apply(Y.datepicker,[this[0]].concat(t)):this.each(function(){"string"==typeof e?Y.datepicker["_"+e+"Datepicker"].apply(Y.datepicker,[this].concat(t)):Y.datepicker._attachDatepicker(this,e)})},Y.datepicker=new R,Y.datepicker.initialized=!1,Y.datepicker.uuid=(new Date).getTime(),Y.datepicker.version="1.14.1";Y.widget("ui.dialog",{version:"1.14.1",options:{appendTo:"body",autoOpen:!0,buttons:[],classes:{"ui-dialog":"ui-corner-all","ui-dialog-titlebar":"ui-corner-all"},closeOnEscape:!0,closeText:"Close",draggable:!0,hide:null,height:"auto",maxHeight:null,maxWidth:null,minHeight:150,minWidth:150,modal:!1,position:{my:"center",at:"center",of:window,collision:"fit",using:function(e){var t=Y(this).css(e).offset().top;t<0&&Y(this).css("top",e.top-t)}},resizable:!0,show:null,title:null,uiDialogTitleHeadingLevel:0,width:300,beforeClose:null,close:null,drag:null,dragStart:null,dragStop:null,focus:null,open:null,resize:null,resizeStart:null,resizeStop:null},sizeRelatedOptions:{buttons:!0,height:!0,maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0,width:!0},resizableRelatedOptions:{maxHeight:!0,maxWidth:!0,minHeight:!0,minWidth:!0},_create:function(){this.originalCss={display:this.element[0].style.display,width:this.element[0].style.width,minHeight:this.element[0].style.minHeight,maxHeight:this.element[0].style.maxHeight,height:this.element[0].style.height},this.originalPosition={parent:this.element.parent(),index:this.element.parent().children().index(this.element)},this.originalTitle=this.element.attr("title"),null==this.options.title&&null!=this.originalTitle&&(this.options.title=this.originalTitle),this.options.disabled&&(this.options.disabled=!1),this._createWrapper(),this.element.show().removeAttr("title").appendTo(this.uiDialog),this._addClass("ui-dialog-content","ui-widget-content"),this._createTitlebar(),this._createButtonPane(),this.options.draggable&&Y.fn.draggable&&this._makeDraggable(),this.options.resizable&&Y.fn.resizable&&this._makeResizable(),this._isOpen=!1,this._trackFocus()},_init:function(){this.options.autoOpen&&this.open()},_appendTo:function(){var e=this.options.appendTo;return e&&(e.jquery||e.nodeType)?Y(e):this.document.find(e||"body").eq(0)},_destroy:function(){var e,t=this.originalPosition;this._untrackInstance(),this._destroyOverlay(),this.element.removeUniqueId().css(this.originalCss).detach(),this.uiDialog.remove(),this.originalTitle&&this.element.attr("title",this.originalTitle),(e=t.parent.children().eq(t.index)).length&&e[0]!==this.element[0]?e.before(this.element):t.parent.append(this.element)},widget:function(){return this.uiDialog},disable:Y.noop,enable:Y.noop,close:function(e){var t=this;this._isOpen&&!1!==this._trigger("beforeClose",e)&&(this._isOpen=!1,this._focusedElement=null,this._destroyOverlay(),this._untrackInstance(),this.opener.filter(":focusable").trigger("focus").length||Y(this.document[0].activeElement).trigger("blur"),this._hide(this.uiDialog,this.options.hide,function(){t._trigger("close",e)}))},isOpen:function(){return this._isOpen},moveToTop:function(){this._moveToTop()},_moveToTop:function(e,t){var i=!1,n=this.uiDialog.siblings(".ui-front:visible").map(function(){return+Y(this).css("z-index")}).get(),n=Math.max.apply(null,n);return n>=+this.uiDialog.css("z-index")&&(this.uiDialog.css("z-index",n+1),i=!0),i&&!t&&this._trigger("focus",e),i},open:function(){var e=this;this._isOpen?this._moveToTop()&&this._focusTabbable():(this._isOpen=!0,this.opener=Y(this.document[0].activeElement),this._size(),this._position(),this._createOverlay(),this._moveToTop(null,!0),this.overlay&&this.overlay.css("z-index",this.uiDialog.css("z-index")-1),this._show(this.uiDialog,this.options.show,function(){e._focusTabbable(),e._trigger("focus")}),this._makeFocusTarget(),this._trigger("open"))},_focusTabbable:function(){var e=this._focusedElement;(e=(e=(e=(e=(e=e||this.element.find("[autofocus]")).length?e:this.element.find(":tabbable")).length?e:this.uiDialogButtonPane.find(":tabbable")).length?e:this.uiDialogTitlebarClose.filter(":tabbable")).length?e:this.uiDialog).eq(0).trigger("focus")},_restoreTabbableFocus:function(){var e=this.document[0].activeElement;this.uiDialog[0]===e||Y.contains(this.uiDialog[0],e)||this._focusTabbable()},_keepFocus:function(e){e.preventDefault(),this._restoreTabbableFocus()},_createWrapper:function(){this.uiDialog=Y("<div>").hide().attr({tabIndex:-1,role:"dialog","aria-modal":this.options.modal?"true":null}).appendTo(this._appendTo()),this._addClass(this.uiDialog,"ui-dialog","ui-widget ui-widget-content ui-front"),this._on(this.uiDialog,{keydown:function(e){var t,i,n;this.options.closeOnEscape&&!e.isDefaultPrevented()&&e.keyCode&&e.keyCode===Y.ui.keyCode.ESCAPE?(e.preventDefault(),this.close(e)):e.keyCode!==Y.ui.keyCode.TAB||e.isDefaultPrevented()||(t=this.uiDialog.find(":tabbable"),i=t.first(),n=t.last(),e.target!==n[0]&&e.target!==this.uiDialog[0]||e.shiftKey?e.target!==i[0]&&e.target!==this.uiDialog[0]||!e.shiftKey||(this._delay(function(){n.trigger("focus")}),e.preventDefault()):(this._delay(function(){i.trigger("focus")}),e.preventDefault()))},mousedown:function(e){this._moveToTop(e)&&this._focusTabbable()}}),this.element.find("[aria-describedby]").length||this.uiDialog.attr({"aria-describedby":this.element.uniqueId().attr("id")})},_createTitlebar:function(){this.uiDialogTitlebar=Y("<div>"),this._addClass(this.uiDialogTitlebar,"ui-dialog-titlebar","ui-widget-header ui-helper-clearfix"),this._on(this.uiDialogTitlebar,{mousedown:function(e){Y(e.target).closest(".ui-dialog-titlebar-close")||this.uiDialog.trigger("focus")}}),this.uiDialogTitlebarClose=Y("<button type='button'></button>").button({label:Y("<a>").text(this.options.closeText).html(),icon:"ui-icon-closethick",showLabel:!1}).appendTo(this.uiDialogTitlebar),this._addClass(this.uiDialogTitlebarClose,"ui-dialog-titlebar-close"),this._on(this.uiDialogTitlebarClose,{click:function(e){e.preventDefault(),this.close(e)}});var e=Number.isInteger(this.options.uiDialogTitleHeadingLevel)&&0<this.options.uiDialogTitleHeadingLevel&&this.options.uiDialogTitleHeadingLevel<=6?"h"+this.options.uiDialogTitleHeadingLevel:"span",e=Y("<"+e+">").uniqueId().prependTo(this.uiDialogTitlebar);this._addClass(e,"ui-dialog-title"),this._title(e),this.uiDialogTitlebar.prependTo(this.uiDialog),this.uiDialog.attr({"aria-labelledby":e.attr("id")})},_title:function(e){this.options.title?e.text(this.options.title):e.html(" ")},_createButtonPane:function(){this.uiDialogButtonPane=Y("<div>"),this._addClass(this.uiDialogButtonPane,"ui-dialog-buttonpane","ui-widget-content ui-helper-clearfix"),this.uiButtonSet=Y("<div>").appendTo(this.uiDialogButtonPane),this._addClass(this.uiButtonSet,"ui-dialog-buttonset"),this._createButtons()},_createButtons:function(){var n=this,e=this.options.buttons;this.uiDialogButtonPane.remove(),this.uiButtonSet.empty(),Y.isEmptyObject(e)||Array.isArray(e)&&!e.length?this._removeClass(this.uiDialog,"ui-dialog-buttons"):(Y.each(e,function(e,t){var i;t=Y.extend({type:"button"},t="function"==typeof t?{click:t,text:e}:t),i=t.click,e={icon:t.icon,iconPosition:t.iconPosition,showLabel:t.showLabel,icons:t.icons,text:t.text},delete t.click,delete t.icon,delete t.iconPosition,delete t.showLabel,delete t.icons,"boolean"==typeof t.text&&delete t.text,Y("<button></button>",t).button(e).appendTo(n.uiButtonSet).on("click",function(){i.apply(n.element[0],arguments)})}),this._addClass(this.uiDialog,"ui-dialog-buttons"),this.uiDialogButtonPane.appendTo(this.uiDialog))},_makeDraggable:function(){var o=this,s=this.options;function r(e){return{position:e.position,offset:e.offset}}this.uiDialog.draggable({cancel:".ui-dialog-content, .ui-dialog-titlebar-close",handle:".ui-dialog-titlebar",containment:"document",start:function(e,t){o._addClass(Y(this),"ui-dialog-dragging"),o._blockFrames(),o._trigger("dragStart",e,r(t))},drag:function(e,t){o._trigger("drag",e,r(t))},stop:function(e,t){var i=t.offset.left-o.document.scrollLeft(),n=t.offset.top-o.document.scrollTop();s.position={my:"left top",at:"left"+(0<=i?"+":"")+i+" top"+(0<=n?"+":"")+n,of:o.window},o._removeClass(Y(this),"ui-dialog-dragging"),o._unblockFrames(),o._trigger("dragStop",e,r(t))}})},_makeResizable:function(){var o=this,s=this.options,e=s.resizable,t=this.uiDialog.css("position"),e="string"==typeof e?e:"n,e,s,w,se,sw,ne,nw";function r(e){return{originalPosition:e.originalPosition,originalSize:e.originalSize,position:e.position,size:e.size}}this.uiDialog.resizable({cancel:".ui-dialog-content",containment:"document",alsoResize:this.element,maxWidth:s.maxWidth,maxHeight:s.maxHeight,minWidth:s.minWidth,minHeight:this._minHeight(),handles:e,start:function(e,t){o._addClass(Y(this),"ui-dialog-resizing"),o._blockFrames(),o._trigger("resizeStart",e,r(t))},resize:function(e,t){o._trigger("resize",e,r(t))},stop:function(e,t){var i=o.uiDialog.offset(),n=i.left-o.document.scrollLeft(),i=i.top-o.document.scrollTop();s.height=o.uiDialog.height(),s.width=o.uiDialog.width(),s.position={my:"left top",at:"left"+(0<=n?"+":"")+n+" top"+(0<=i?"+":"")+i,of:o.window},o._removeClass(Y(this),"ui-dialog-resizing"),o._unblockFrames(),o._trigger("resizeStop",e,r(t))}}).css("position",t)},_trackFocus:function(){this._on(this.widget(),{focusin:function(e){this._makeFocusTarget(),this._focusedElement=Y(e.target)}})},_makeFocusTarget:function(){this._untrackInstance(),this._trackingInstances().unshift(this)},_untrackInstance:function(){var e=this._trackingInstances(),t=Y.inArray(this,e);-1!==t&&e.splice(t,1)},_trackingInstances:function(){var e=this.document.data("ui-dialog-instances");return e||this.document.data("ui-dialog-instances",e=[]),e},_minHeight:function(){var e=this.options;return"auto"===e.height?e.minHeight:Math.min(e.minHeight,e.height)},_position:function(){var e=this.uiDialog.is(":visible");e||this.uiDialog.show(),this.uiDialog.position(this.options.position),e||this.uiDialog.hide()},_setOptions:function(e){var i=this,n=!1,o={};Y.each(e,function(e,t){i._setOption(e,t),e in i.sizeRelatedOptions&&(n=!0),e in i.resizableRelatedOptions&&(o[e]=t)}),n&&(this._size(),this._position()),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option",o)},_setOption:function(e,t){var i,n=this.uiDialog;"disabled"!==e&&(this._super(e,t),"appendTo"===e&&this.uiDialog.appendTo(this._appendTo()),"buttons"===e&&this._createButtons(),"closeText"===e&&this.uiDialogTitlebarClose.button({label:Y("<a>").text(""+this.options.closeText).html()}),"draggable"===e&&((i=n.is(":data(ui-draggable)"))&&!t&&n.draggable("destroy"),!i)&&t&&this._makeDraggable(),"position"===e&&this._position(),"resizable"===e&&((i=n.is(":data(ui-resizable)"))&&!t&&n.resizable("destroy"),i&&"string"==typeof t&&n.resizable("option","handles",t),i||!1===t||this._makeResizable()),"title"===e&&this._title(this.uiDialogTitlebar.find(".ui-dialog-title")),"modal"===e)&&n.attr("aria-modal",t?"true":null)},_size:function(){var e,t,i,n=this.options;this.element.show().css({width:"auto",minHeight:0,maxHeight:"none",height:0}),n.minWidth>n.width&&(n.width=n.minWidth),e=this.uiDialog.css({height:"auto",width:n.width}).outerHeight(),t=Math.max(0,n.minHeight-e),i="number"==typeof n.maxHeight?Math.max(0,n.maxHeight-e):"none","auto"===n.height?this.element.css({minHeight:t,maxHeight:i,height:"auto"}):this.element.height(Math.max(0,n.height-e)),this.uiDialog.is(":data(ui-resizable)")&&this.uiDialog.resizable("option","minHeight",this._minHeight())},_blockFrames:function(){this.iframeBlocks=this.document.find("iframe").map(function(){var e=Y(this);return Y("<div>").css({position:"absolute",width:e.outerWidth(),height:e.outerHeight()}).appendTo(e.parent()).offset(e.offset())[0]})},_unblockFrames:function(){this.iframeBlocks&&(this.iframeBlocks.remove(),delete this.iframeBlocks)},_allowInteraction:function(e){return!!Y(e.target).closest(".ui-dialog").length||!!Y(e.target).closest(".ui-datepicker").length},_createOverlay:function(){var i;this.options.modal&&(i=!0,this._delay(function(){i=!1}),this.document.data("ui-dialog-overlays")||this.document.on("focusin.ui-dialog",function(e){var t;i||(t=this._trackingInstances()[0])._allowInteraction(e)||(e.preventDefault(),t._focusTabbable())}.bind(this)),this.overlay=Y("<div>").appendTo(this._appendTo()),this._addClass(this.overlay,null,"ui-widget-overlay ui-front"),this._on(this.overlay,{mousedown:"_keepFocus"}),this.document.data("ui-dialog-overlays",(this.document.data("ui-dialog-overlays")||0)+1))},_destroyOverlay:function(){var e;this.options.modal&&this.overlay&&((e=this.document.data("ui-dialog-overlays")-1)?this.document.data("ui-dialog-overlays",e):(this.document.off("focusin.ui-dialog"),this.document.removeData("ui-dialog-overlays")),this.overlay.remove(),this.overlay=null)}}),!0===Y.uiBackCompat&&Y.widget("ui.dialog",Y.ui.dialog,{options:{dialogClass:""},_createWrapper:function(){this._super(),this.uiDialog.addClass(this.options.dialogClass)},_setOption:function(e,t){"dialogClass"===e&&this.uiDialog.removeClass(this.options.dialogClass).addClass(t),this._superApply(arguments)}}),Y.ui.dialog,Y.widget("ui.progressbar",{version:"1.14.1",options:{classes:{"ui-progressbar":"ui-corner-all","ui-progressbar-value":"ui-corner-left","ui-progressbar-complete":"ui-corner-right"},max:100,value:0,change:null,complete:null},min:0,_create:function(){this.oldValue=this.options.value=this._constrainedValue(),this.element.attr({role:"progressbar","aria-valuemin":this.min}),this._addClass("ui-progressbar","ui-widget ui-widget-content"),this.valueDiv=Y("<div>").appendTo(this.element),this._addClass(this.valueDiv,"ui-progressbar-value","ui-widget-header"),this._refreshValue()},_destroy:function(){this.element.removeAttr("role aria-valuemin aria-valuemax aria-valuenow"),this.valueDiv.remove()},value:function(e){if(void 0===e)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return void 0===e&&(e=this.options.value),this.indeterminate=!1===e,"number"!=typeof e&&(e=0),!this.indeterminate&&Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){"max"===e&&(t=Math.max(this.min,t)),this._super(e,t)},_setOptionDisabled:function(e){this._super(e),this.element.attr("aria-disabled",e),this._toggleClass(null,"ui-state-disabled",!!e)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var e=this.options.value,t=this._percentage();this.valueDiv.toggle(this.indeterminate||e>this.min).width(t.toFixed(0)+"%"),this._toggleClass(this.valueDiv,"ui-progressbar-complete",null,e===this.options.max)._toggleClass("ui-progressbar-indeterminate",null,this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=Y("<div>").appendTo(this.valueDiv),this._addClass(this.overlayDiv,"ui-progressbar-overlay"))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":e}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),e===this.options.max&&this._trigger("complete")}}),Y.widget("ui.slider",Y.ui.mouse,{version:"1.14.1",widgetEventPrefix:"slide",options:{animate:!1,classes:{"ui-slider":"ui-corner-all","ui-slider-handle":"ui-corner-all","ui-slider-range":"ui-corner-all ui-widget-header"},distance:0,max:100,min:0,orientation:"horizontal",range:!1,step:1,value:0,values:null,change:null,slide:null,start:null,stop:null},numPages:5,_create:function(){this._keySliding=!1,this._mouseSliding=!1,this._animateOff=!0,this._handleIndex=null,this._detectOrientation(),this._mouseInit(),this._calculateNewMax(),this._addClass("ui-slider ui-slider-"+this.orientation,"ui-widget ui-widget-content"),this._refresh(),this._animateOff=!1},_refresh:function(){this._createRange(),this._createHandles(),this._setupEvents(),this._refreshValue()},_createHandles:function(){var e,t=this.options,i=this.element.find(".ui-slider-handle"),n=[],o=t.values&&t.values.length||1;for(i.length>o&&(i.slice(o).remove(),i=i.slice(0,o)),e=i.length;e<o;e++)n.push("<span tabindex='0'></span>");this.handles=i.add(Y(n.join("")).appendTo(this.element)),this._addClass(this.handles,"ui-slider-handle","ui-state-default"),this.handle=this.handles.eq(0),this.handles.each(function(e){Y(this).data("ui-slider-handle-index",e).attr("tabIndex",0)})},_createRange:function(){var e=this.options;e.range?(!0===e.range&&(e.values?e.values.length&&2!==e.values.length?e.values=[e.values[0],e.values[0]]:Array.isArray(e.values)&&(e.values=e.values.slice(0)):e.values=[this._valueMin(),this._valueMin()]),this.range&&this.range.length?(this._removeClass(this.range,"ui-slider-range-min ui-slider-range-max"),this.range.css({left:"",bottom:""})):(this.range=Y("<div>").appendTo(this.element),this._addClass(this.range,"ui-slider-range")),"min"!==e.range&&"max"!==e.range||this._addClass(this.range,"ui-slider-range-"+e.range)):(this.range&&this.range.remove(),this.range=null)},_setupEvents:function(){this._off(this.handles),this._on(this.handles,this._handleEvents),this._hoverable(this.handles),this._focusable(this.handles)},_destroy:function(){this.handles.remove(),this.range&&this.range.remove(),this._mouseDestroy()},_mouseCapture:function(e){var i,n,o,s,t,r,a=this,l=this.options;return!l.disabled&&(this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()},this.elementOffset=this.element.offset(),t={x:e.pageX,y:e.pageY},i=this._normValueFromMouse(t),n=this._valueMax()-this._valueMin()+1,this.handles.each(function(e){var t=Math.abs(i-a.values(e));(t<n||n===t&&(e===a._lastChangedValue||a.values(e)===l.min))&&(n=t,o=Y(this),s=e)}),!1!==this._start(e,s))&&(this._mouseSliding=!0,this._handleIndex=s,this._addClass(o,null,"ui-state-active"),o.trigger("focus"),t=o.offset(),r=!Y(e.target).parents().addBack().is(".ui-slider-handle"),this._clickOffset=r?{left:0,top:0}:{left:e.pageX-t.left-o.width()/2,top:e.pageY-t.top-o.height()/2-(parseInt(o.css("borderTopWidth"),10)||0)-(parseInt(o.css("borderBottomWidth"),10)||0)+(parseInt(o.css("marginTop"),10)||0)},this.handles.hasClass("ui-state-hover")||this._slide(e,s,i),this._animateOff=!0)},_mouseStart:function(){return!0},_mouseDrag:function(e){var t={x:e.pageX,y:e.pageY},t=this._normValueFromMouse(t);return this._slide(e,this._handleIndex,t),!1},_mouseStop:function(e){return this._removeClass(this.handles,null,"ui-state-active"),this._mouseSliding=!1,this._stop(e,this._handleIndex),this._change(e,this._handleIndex),this._handleIndex=null,this._clickOffset=null,this._animateOff=!1},_detectOrientation:function(){this.orientation="vertical"===this.options.orientation?"vertical":"horizontal"},_normValueFromMouse:function(e){var t,e="horizontal"===this.orientation?(t=this.elementSize.width,e.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)):(t=this.elementSize.height,e.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)),e=e/t;return(e=1<e?1:e)<0&&(e=0),"vertical"===this.orientation&&(e=1-e),t=this._valueMax()-this._valueMin(),e=this._valueMin()+e*t,this._trimAlignValue(e)},_uiHash:function(e,t,i){var n={handle:this.handles[e],handleIndex:e,value:void 0!==t?t:this.value()};return this._hasMultipleValues()&&(n.value=void 0!==t?t:this.values(e),n.values=i||this.values()),n},_hasMultipleValues:function(){return this.options.values&&this.options.values.length},_start:function(e,t){return this._trigger("start",e,this._uiHash(t))},_slide:function(e,t,i){var n,o=this.value(),s=this.values();this._hasMultipleValues()&&(n=this.values(t?0:1),o=this.values(t),2===this.options.values.length&&!0===this.options.range&&(i=0===t?Math.min(n,i):Math.max(n,i)),s[t]=i),i!==o&&!1!==this._trigger("slide",e,this._uiHash(t,i,s))&&(this._hasMultipleValues()?this.values(t,i):this.value(i))},_stop:function(e,t){this._trigger("stop",e,this._uiHash(t))},_change:function(e,t){this._keySliding||this._mouseSliding||(this._lastChangedValue=t,this._trigger("change",e,this._uiHash(t)))},value:function(e){if(!arguments.length)return this._value();this.options.value=this._trimAlignValue(e),this._refreshValue(),this._change(null,0)},values:function(e,t){var i,n,o;if(1<arguments.length)this.options.values[e]=this._trimAlignValue(t),this._refreshValue(),this._change(null,e);else{if(!arguments.length)return this._values();if(!Array.isArray(e))return this._hasMultipleValues()?this._values(e):this.value();for(i=this.options.values,n=e,o=0;o<i.length;o+=1)i[o]=this._trimAlignValue(n[o]),this._change(null,o);this._refreshValue()}},_setOption:function(e,t){var i,n=0;switch("range"===e&&!0===this.options.range&&("min"===t?(this.options.value=this._values(0),this.options.values=null):"max"===t&&(this.options.value=this._values(this.options.values.length-1),this.options.values=null)),Array.isArray(this.options.values)&&(n=this.options.values.length),this._super(e,t),e){case"orientation":this._detectOrientation(),this._removeClass("ui-slider-horizontal ui-slider-vertical")._addClass("ui-slider-"+this.orientation),this._refreshValue(),this.options.range&&this._refreshRange(t),this.handles.css("horizontal"===t?"bottom":"left","");break;case"value":this._animateOff=!0,this._refreshValue(),this._change(null,0),this._animateOff=!1;break;case"values":for(this._animateOff=!0,this._refreshValue(),i=n-1;0<=i;i--)this._change(null,i);this._animateOff=!1;break;case"step":case"min":case"max":this._animateOff=!0,this._calculateNewMax(),this._refreshValue(),this._animateOff=!1;break;case"range":this._animateOff=!0,this._refresh(),this._animateOff=!1}},_setOptionDisabled:function(e){this._super(e),this._toggleClass(null,"ui-state-disabled",!!e)},_value:function(){var e=this.options.value;return this._trimAlignValue(e)},_values:function(e){var t,i;if(arguments.length)return e=this.options.values[e],this._trimAlignValue(e);if(this._hasMultipleValues()){for(t=this.options.values.slice(),i=0;i<t.length;i+=1)t[i]=this._trimAlignValue(t[i]);return t}return[]},_trimAlignValue:function(e){var t,i;return e<=this._valueMin()?this._valueMin():e>=this._valueMax()?this._valueMax():(t=0<this.options.step?this.options.step:1,i=e-(e=(e-this._valueMin())%t),2*Math.abs(e)>=t&&(i+=0<e?t:-t),parseFloat(i.toFixed(5)))},_calculateNewMax:function(){var e=this.options.max,t=this._valueMin(),i=this.options.step;(e=Math.round((e-t)/i)*i+t)>this.options.max&&(e-=i),this.max=parseFloat(e.toFixed(this._precision()))},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=e.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_valueMin:function(){return this.options.min},_valueMax:function(){return this.max},_refreshRange:function(e){"vertical"===e&&this.range.css({width:"",left:""}),"horizontal"===e&&this.range.css({height:"",bottom:""})},_refreshValue:function(){var t,i,e,n,o,s=this.options.range,r=this.options,a=this,l=!this._animateOff&&r.animate,c={};this._hasMultipleValues()?this.handles.each(function(e){i=(a.values(e)-a._valueMin())/(a._valueMax()-a._valueMin())*100,c["horizontal"===a.orientation?"left":"bottom"]=i+"%",Y(this).stop(1,1)[l?"animate":"css"](c,r.animate),!0===a.options.range&&("horizontal"===a.orientation?(0===e&&a.range.stop(1,1)[l?"animate":"css"]({left:i+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({width:i-t+"%"},{queue:!1,duration:r.animate})):(0===e&&a.range.stop(1,1)[l?"animate":"css"]({bottom:i+"%"},r.animate),1===e&&a.range[l?"animate":"css"]({height:i-t+"%"},{queue:!1,duration:r.animate}))),t=i}):(e=this.value(),n=this._valueMin(),o=this._valueMax(),i=o!==n?(e-n)/(o-n)*100:0,c["horizontal"===this.orientation?"left":"bottom"]=i+"%",this.handle.stop(1,1)[l?"animate":"css"](c,r.animate),"min"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:i+"%"},r.animate),"max"===s&&"horizontal"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({width:100-i+"%"},r.animate),"min"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:i+"%"},r.animate),"max"===s&&"vertical"===this.orientation&&this.range.stop(1,1)[l?"animate":"css"]({height:100-i+"%"},r.animate))},_handleEvents:{keydown:function(e){var t,i,n,o=Y(e.target).data("ui-slider-handle-index");switch(e.keyCode){case Y.ui.keyCode.HOME:case Y.ui.keyCode.END:case Y.ui.keyCode.PAGE_UP:case Y.ui.keyCode.PAGE_DOWN:case Y.ui.keyCode.UP:case Y.ui.keyCode.RIGHT:case Y.ui.keyCode.DOWN:case Y.ui.keyCode.LEFT:if(e.preventDefault(),this._keySliding||(this._keySliding=!0,this._addClass(Y(e.target),null,"ui-state-active"),!1!==this._start(e,o)))break;return}switch(n=this.options.step,t=i=this._hasMultipleValues()?this.values(o):this.value(),e.keyCode){case Y.ui.keyCode.HOME:i=this._valueMin();break;case Y.ui.keyCode.END:i=this._valueMax();break;case Y.ui.keyCode.PAGE_UP:i=this._trimAlignValue(t+(this._valueMax()-this._valueMin())/this.numPages);break;case Y.ui.keyCode.PAGE_DOWN:i=this._trimAlignValue(t-(this._valueMax()-this._valueMin())/this.numPages);break;case Y.ui.keyCode.UP:case Y.ui.keyCode.RIGHT:if(t===this._valueMax())return;i=this._trimAlignValue(t+n);break;case Y.ui.keyCode.DOWN:case Y.ui.keyCode.LEFT:if(t===this._valueMin())return;i=this._trimAlignValue(t-n)}this._slide(e,o,i)},keyup:function(e){var t=Y(e.target).data("ui-slider-handle-index");this._keySliding&&(this._keySliding=!1,this._stop(e,t),this._change(e,t),this._removeClass(Y(e.target),null,"ui-state-active"))}}});function t(t){return function(){var e=this.element.val();t.apply(this,arguments),this._refresh(),e!==this.element.val()&&this._trigger("change")}}Y.widget("ui.spinner",{version:"1.14.1",defaultElement:"<input>",widgetEventPrefix:"spin",options:{classes:{"ui-spinner":"ui-corner-all","ui-spinner-down":"ui-corner-br","ui-spinner-up":"ui-corner-tr"},culture:null,icons:{down:"ui-icon-triangle-1-s",up:"ui-icon-triangle-1-n"},incremental:!0,max:null,min:null,numberFormat:null,page:10,step:1,change:null,spin:null,start:null,stop:null},_create:function(){this._setOption("max",this.options.max),this._setOption("min",this.options.min),this._setOption("step",this.options.step),""!==this.value()&&this._value(this.element.val(),!0),this._draw(),this._on(this._events),this._refresh(),this._on(this.window,{beforeunload:function(){this.element.removeAttr("autocomplete")}})},_getCreateOptions:function(){var n=this._super(),o=this.element;return Y.each(["min","max","step"],function(e,t){var i=o.attr(t);null!=i&&i.length&&(n[t]=i)}),n},_events:{keydown:function(e){this._start(e)&&this._keydown(e)&&e.preventDefault()},keyup:"_stop",focus:function(){this.previous=this.element.val()},blur:function(e){this._stop(),this._refresh(),this.previous!==this.element.val()&&this._trigger("change",e)},mousewheel:function(e,t){var i=this.document[0].activeElement;if(this.element[0]===i&&t){if(!this.spinning&&!this._start(e))return!1;this._spin((0<t?1:-1)*this.options.step,e),clearTimeout(this.mousewheelTimer),this.mousewheelTimer=this._delay(function(){this.spinning&&this._stop(e)},100),e.preventDefault()}},"mousedown .ui-spinner-button":function(e){var t;t=this.element[0]===this.document[0].activeElement?this.previous:this.element.val(),e.preventDefault(),function(){this.element[0]!==this.document[0].activeElement&&(this.element.trigger("focus"),this.previous=t)}.call(this),!1!==this._start(e)&&this._repeat(null,Y(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseup .ui-spinner-button":"_stop","mouseenter .ui-spinner-button":function(e){if(Y(e.currentTarget).hasClass("ui-state-active"))return!1!==this._start(e)&&void this._repeat(null,Y(e.currentTarget).hasClass("ui-spinner-up")?1:-1,e)},"mouseleave .ui-spinner-button":"_stop"},_enhance:function(){this.uiSpinner=this.element.attr("autocomplete","off").wrap("<span>").parent().append("<a></a><a></a>")},_draw:function(){this._enhance(),this._addClass(this.uiSpinner,"ui-spinner","ui-widget ui-widget-content"),this._addClass("ui-spinner-input"),this.element.attr("role","spinbutton"),this.buttons=this.uiSpinner.children("a").attr("tabIndex",-1).attr("aria-hidden",!0).button({classes:{"ui-button":""}}),this._removeClass(this.buttons,"ui-corner-all"),this._addClass(this.buttons.first(),"ui-spinner-button ui-spinner-up"),this._addClass(this.buttons.last(),"ui-spinner-button ui-spinner-down"),this.buttons.first().button({icon:this.options.icons.up,showLabel:!1}),this.buttons.last().button({icon:this.options.icons.down,showLabel:!1}),this.buttons.height()>Math.ceil(.5*this.uiSpinner.height())&&0<this.uiSpinner.height()&&this.uiSpinner.height(this.uiSpinner.height())},_keydown:function(e){var t=this.options,i=Y.ui.keyCode;switch(e.keyCode){case i.UP:return this._repeat(null,1,e),!0;case i.DOWN:return this._repeat(null,-1,e),!0;case i.PAGE_UP:return this._repeat(null,t.page,e),!0;case i.PAGE_DOWN:return this._repeat(null,-t.page,e),!0}return!1},_start:function(e){return!(!this.spinning&&!1===this._trigger("start",e))&&(this.counter||(this.counter=1),this.spinning=!0)},_repeat:function(e,t,i){e=e||500,clearTimeout(this.timer),this.timer=this._delay(function(){this._repeat(40,t,i)},e),this._spin(t*this.options.step,i)},_spin:function(e,t){var i=this.value()||0;this.counter||(this.counter=1),i=this._adjustValue(i+e*this._increment(this.counter)),this.spinning&&!1===this._trigger("spin",t,{value:i})||(this._value(i),this.counter++)},_increment:function(e){var t=this.options.incremental;return t?"function"==typeof t?t(e):Math.floor(e*e*e/5e4-e*e/500+17*e/200+1):1},_precision:function(){var e=this._precisionOf(this.options.step);return e=null!==this.options.min?Math.max(e,this._precisionOf(this.options.min)):e},_precisionOf:function(e){var e=e.toString(),t=e.indexOf(".");return-1===t?0:e.length-t-1},_adjustValue:function(e){var t=this.options,i=null!==t.min?t.min:0,n=e-i;return e=i+Math.round(n/t.step)*t.step,e=parseFloat(e.toFixed(this._precision())),null!==t.max&&e>t.max?t.max:null!==t.min&&e<t.min?t.min:e},_stop:function(e){this.spinning&&(clearTimeout(this.timer),clearTimeout(this.mousewheelTimer),this.counter=0,this.spinning=!1,this._trigger("stop",e))},_setOption:function(e,t){var i;"culture"===e||"numberFormat"===e?(i=this._parse(this.element.val()),this.options[e]=t,this.element.val(this._format(i))):("max"!==e&&"min"!==e&&"step"!==e||"string"==typeof t&&(t=this._parse(t)),"icons"===e&&(i=this.buttons.first().find(".ui-icon"),this._removeClass(i,null,this.options.icons.up),this._addClass(i,null,t.up),i=this.buttons.last().find(".ui-icon"),this._removeClass(i,null,this.options.icons.down),this._addClass(i,null,t.down)),this._super(e,t))},_setOptionDisabled:function(e){this._super(e),this._toggleClass(this.uiSpinner,null,"ui-state-disabled",!!e),this.element.prop("disabled",!!e),this.buttons.button(e?"disable":"enable")},_setOptions:t(function(e){this._super(e)}),_parse:function(e){return""===(e="string"==typeof e&&""!==e?window.Globalize&&this.options.numberFormat?Globalize.parseFloat(e,10,this.options.culture):+e:e)||isNaN(e)?null:e},_format:function(e){return""===e?"":window.Globalize&&this.options.numberFormat?Globalize.format(e,this.options.numberFormat,this.options.culture):e},_refresh:function(){this.element.attr({"aria-valuemin":this.options.min,"aria-valuemax":this.options.max,"aria-valuenow":this._parse(this.element.val())})},isValid:function(){var e=this.value();return null!==e&&e===this._adjustValue(e)},_value:function(e,t){var i;""!==e&&null!==(i=this._parse(e))&&(t||(i=this._adjustValue(i)),e=this._format(i)),this.element.val(e),this._refresh()},_destroy:function(){this.element.prop("disabled",!1).removeAttr("autocomplete role aria-valuemin aria-valuemax aria-valuenow"),this.uiSpinner.replaceWith(this.element)},stepUp:t(function(e){this._stepUp(e)}),_stepUp:function(e){this._start()&&(this._spin((e||1)*this.options.step),this._stop())},stepDown:t(function(e){this._stepDown(e)}),_stepDown:function(e){this._start()&&(this._spin((e||1)*-this.options.step),this._stop())},pageUp:t(function(e){this._stepUp((e||1)*this.options.page)}),pageDown:t(function(e){this._stepDown((e||1)*this.options.page)}),value:function(e){if(!arguments.length)return this._parse(this.element.val());t(this._value).call(this,e)},widget:function(){return this.uiSpinner}}),!0===Y.uiBackCompat&&Y.widget("ui.spinner",Y.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>"}});Y.ui.spinner,Y.widget("ui.tabs",{version:"1.14.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:(f=/#.*$/,function(e){var t=e.href.replace(f,""),i=location.href.replace(f,"");try{t=decodeURIComponent(t)}catch(e){}try{i=decodeURIComponent(i)}catch(e){}return 1<e.hash.length&&t===i}),_create:function(){var t=this,e=this.options;this.running=!1,this._addClass("ui-tabs","ui-widget ui-widget-content"),this._toggleClass("ui-tabs-collapsible",null,e.collapsible),this._processTabs(),e.active=this._initialActive(),Array.isArray(e.disabled)&&(e.disabled=Y.uniqueSort(e.disabled.concat(Y.map(this.tabs.filter(".ui-state-disabled"),function(e){return t.tabs.index(e)}))).sort()),!1!==this.options.active&&this.anchors.length?this.active=this._findActive(e.active):this.active=Y(),this._refresh(),this.active.length&&this.load(e.active)},_initialActive:function(){var i=this.options.active,e=this.options.collapsible,n=decodeURIComponent(location.hash.substring(1));return null===i&&(n&&this.tabs.each(function(e,t){if(Y(t).attr("aria-controls")===n)return i=e,!1}),null!==(i=null===i?this.tabs.index(this.tabs.filter(".ui-tabs-active")):i)&&-1!==i||(i=!!this.tabs.length&&0)),!1!==i&&-1===(i=this.tabs.index(this.tabs.eq(i)))&&(i=!e&&0),i=!e&&!1===i&&this.anchors.length?0:i},_getCreateEventData:function(){return{tab:this.active,panel:this.active.length?this._getPanelForTab(this.active):Y()}},_tabKeydown:function(e){var t=Y(this.document[0].activeElement).closest("li"),i=this.tabs.index(t),n=!0;if(!this._handlePageNav(e)){switch(e.keyCode){case Y.ui.keyCode.RIGHT:case Y.ui.keyCode.DOWN:i++;break;case Y.ui.keyCode.UP:case Y.ui.keyCode.LEFT:n=!1,i--;break;case Y.ui.keyCode.END:i=this.anchors.length-1;break;case Y.ui.keyCode.HOME:i=0;break;case Y.ui.keyCode.SPACE:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i);case Y.ui.keyCode.ENTER:return e.preventDefault(),clearTimeout(this.activating),void this._activate(i!==this.options.active&&i);default:return}e.preventDefault(),clearTimeout(this.activating),i=this._focusNextTab(i,n),e.ctrlKey||e.metaKey||(t.attr("aria-selected","false"),this.tabs.eq(i).attr("aria-selected","true"),this.activating=this._delay(function(){this.option("active",i)},this.delay))}},_panelKeydown:function(e){this._handlePageNav(e)||e.ctrlKey&&e.keyCode===Y.ui.keyCode.UP&&(e.preventDefault(),this.active.trigger("focus"))},_handlePageNav:function(e){return e.altKey&&e.keyCode===Y.ui.keyCode.PAGE_UP?(this._activate(this._focusNextTab(this.options.active-1,!1)),!0):e.altKey&&e.keyCode===Y.ui.keyCode.PAGE_DOWN?(this._activate(this._focusNextTab(this.options.active+1,!0)),!0):void 0},_findNextTab:function(e,t){var i=this.tabs.length-1;for(;-1!==Y.inArray(e=(e=i<e?0:e)<0?i:e,this.options.disabled);)e=t?e+1:e-1;return e},_focusNextTab:function(e,t){return e=this._findNextTab(e,t),this.tabs.eq(e).trigger("focus"),e},_setOption:function(e,t){"active"===e?this._activate(t):(this._super(e,t),"collapsible"===e&&(this._toggleClass("ui-tabs-collapsible",null,t),t||!1!==this.options.active||this._activate(0)),"event"===e&&this._setupEvents(t),"heightStyle"===e&&this._setupHeightStyle(t))},refresh:function(){var e=this.options,t=this.tablist.children(":has(a[href])");e.disabled=Y.map(t.filter(".ui-state-disabled"),function(e){return t.index(e)}),this._processTabs(),!1!==e.active&&this.anchors.length?this.active.length&&!Y.contains(this.tablist[0],this.active[0])?this.tabs.length===e.disabled.length?(e.active=!1,this.active=Y()):this._activate(this._findNextTab(Math.max(0,e.active-1),!1)):e.active=this.tabs.index(this.active):(e.active=!1,this.active=Y()),this._refresh()},_refresh:function(){this._setOptionDisabled(this.options.disabled),this._setupEvents(this.options.event),this._setupHeightStyle(this.options.heightStyle),this.tabs.not(this.active).attr({"aria-selected":"false","aria-expanded":"false",tabIndex:-1}),this.panels.not(this._getPanelForTab(this.active)).hide().attr({"aria-hidden":"true"}),this.active.length?(this.active.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0}),this._addClass(this.active,"ui-tabs-active","ui-state-active"),this._getPanelForTab(this.active).show().attr({"aria-hidden":"false"})):this.tabs.eq(0).attr("tabIndex",0)},_processTabs:function(){var a=this,e=this.tabs,t=this.anchors,i=this.panels;this.tablist=this._getList().attr("role","tablist"),this._addClass(this.tablist,"ui-tabs-nav","ui-helper-reset ui-helper-clearfix ui-widget-header"),this.tablist.on("mousedown"+this.eventNamespace,"> li",function(e){Y(this).is(".ui-state-disabled")&&e.preventDefault()}),this.tabs=this.tablist.find("> li:has(a[href])").attr({role:"tab",tabIndex:-1}),this._addClass(this.tabs,"ui-tabs-tab","ui-state-default"),this.anchors=this.tabs.map(function(){return Y("a",this)[0]}).attr({tabIndex:-1}),this._addClass(this.anchors,"ui-tabs-anchor"),this.panels=Y(),this.anchors.each(function(e,t){var i,n,o=Y(t).uniqueId().attr("id"),s=Y(t).closest("li"),r=s.attr("aria-controls");a._isLocal(t)?(n=decodeURIComponent(t.hash).substring(1),i=a.element.find("#"+CSS.escape(n))):(n=s.attr("aria-controls")||Y({}).uniqueId()[0].id,(i=a.element.find("#"+n)).length||(i=a._createPanel(n)).insertAfter(a.panels[e-1]||a.tablist),i.attr("aria-live","polite")),i.length&&(a.panels=a.panels.add(i)),r&&s.data("ui-tabs-aria-controls",r),s.attr({"aria-controls":n,"aria-labelledby":o}),i.attr("aria-labelledby",o)}),this.panels.attr("role","tabpanel"),this._addClass(this.panels,"ui-tabs-panel","ui-widget-content"),e&&(this._off(e.not(this.tabs)),this._off(t.not(this.anchors)),this._off(i.not(this.panels)))},_getList:function(){return this.tablist||this.element.find("ol, ul").eq(0)},_createPanel:function(e){return Y("<div>").attr("id",e).data("ui-tabs-destroy",!0)},_setOptionDisabled:function(e){var t,i;for(Array.isArray(e)&&(e.length?e.length===this.anchors.length&&(e=!0):e=!1),i=0;t=this.tabs[i];i++)t=Y(t),!0===e||-1!==Y.inArray(i,e)?(t.attr("aria-disabled","true"),this._addClass(t,null,"ui-state-disabled")):(t.removeAttr("aria-disabled"),this._removeClass(t,null,"ui-state-disabled"));this.options.disabled=e,this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!0===e)},_setupEvents:function(e){var i={};e&&Y.each(e.split(" "),function(e,t){i[t]="_eventHandler"}),this._off(this.anchors.add(this.tabs).add(this.panels)),this._on(!0,this.anchors,{click:function(e){e.preventDefault()}}),this._on(this.anchors,i),this._on(this.tabs,{keydown:"_tabKeydown"}),this._on(this.panels,{keydown:"_panelKeydown"}),this._focusable(this.tabs),this._hoverable(this.tabs)},_setupHeightStyle:function(e){var i,t=this.element.parent();"fill"===e?(i=t.height(),i-=this.element.outerHeight()-this.element.height(),this.element.siblings(":visible").each(function(){var e=Y(this),t=e.css("position");"absolute"!==t&&"fixed"!==t&&(i-=e.outerHeight(!0))}),this.element.children().not(this.panels).each(function(){i-=Y(this).outerHeight(!0)}),this.panels.each(function(){Y(this).height(Math.max(0,i-Y(this).innerHeight()+Y(this).height()))}).css("overflow","auto")):"auto"===e&&(i=0,this.panels.each(function(){i=Math.max(i,Y(this).height("").height())}).height(i))},_eventHandler:function(e){var t=this.options,i=this.active,n=Y(e.currentTarget).closest("li"),o=n[0]===i[0],s=o&&t.collapsible,r=s?Y():this._getPanelForTab(n),a=i.length?this._getPanelForTab(i):Y(),i={oldTab:i,oldPanel:a,newTab:s?Y():n,newPanel:r};e.preventDefault(),n.hasClass("ui-state-disabled")||n.hasClass("ui-tabs-loading")||this.running||o&&!t.collapsible||!1===this._trigger("beforeActivate",e,i)||(t.active=!s&&this.tabs.index(n),this.active=o?Y():n,this.xhr&&this.xhr.abort(),a.length||r.length||Y.error("jQuery UI Tabs: Mismatching fragment identifier."),r.length&&this.load(this.tabs.index(n),e),this._toggle(e,i))},_toggle:function(e,t){var i=this,n=t.newPanel,o=t.oldPanel;function s(){i.running=!1,i._trigger("activate",e,t)}function r(){i._addClass(t.newTab.closest("li"),"ui-tabs-active","ui-state-active"),n.length&&i.options.show?i._show(n,i.options.show,s):(n.show(),s())}this.running=!0,o.length&&this.options.hide?this._hide(o,this.options.hide,function(){i._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),r()}):(this._removeClass(t.oldTab.closest("li"),"ui-tabs-active","ui-state-active"),o.hide(),r()),o.attr("aria-hidden","true"),t.oldTab.attr({"aria-selected":"false","aria-expanded":"false"}),n.length&&o.length?t.oldTab.attr("tabIndex",-1):n.length&&this.tabs.filter(function(){return 0===Y(this).attr("tabIndex")}).attr("tabIndex",-1),n.attr("aria-hidden","false"),t.newTab.attr({"aria-selected":"true","aria-expanded":"true",tabIndex:0})},_activate:function(e){var e=this._findActive(e);e[0]!==this.active[0]&&(e=(e=e.length?e:this.active).find(".ui-tabs-anchor")[0],this._eventHandler({target:e,currentTarget:e,preventDefault:Y.noop}))},_findActive:function(e){return!1===e?Y():this.tabs.eq(e)},_getIndex:function(e){return e="string"==typeof e?this.anchors.index(this.anchors.filter("[href$='"+CSS.escape(e)+"']")):e},_destroy:function(){this.xhr&&this.xhr.abort(),this.tablist.removeAttr("role").off(this.eventNamespace),this.anchors.removeAttr("role tabIndex").removeUniqueId(),this.tabs.add(this.panels).each(function(){Y.data(this,"ui-tabs-destroy")?Y(this).remove():Y(this).removeAttr("role tabIndex aria-live aria-busy aria-selected aria-labelledby aria-hidden aria-expanded")}),this.tabs.each(function(){var e=Y(this),t=e.data("ui-tabs-aria-controls");t?e.attr("aria-controls",t).removeData("ui-tabs-aria-controls"):e.removeAttr("aria-controls")}),this.panels.show(),"content"!==this.options.heightStyle&&this.panels.css("height","")},enable:function(i){var e=this.options.disabled;!1!==e&&(e=void 0!==i&&(i=this._getIndex(i),Array.isArray(e)?Y.map(e,function(e){return e!==i?e:null}):Y.map(this.tabs,function(e,t){return t!==i?t:null})),this._setOptionDisabled(e))},disable:function(e){var t=this.options.disabled;if(!0!==t){if(void 0===e)t=!0;else{if(e=this._getIndex(e),-1!==Y.inArray(e,t))return;t=Array.isArray(t)?Y.merge([e],t).sort():[e]}this._setOptionDisabled(t)}},load:function(e,n){e=this._getIndex(e);function o(e,t){"abort"===t&&s.panels.stop(!1,!0),s._removeClass(i,"ui-tabs-loading"),r.removeAttr("aria-busy"),e===s.xhr&&delete s.xhr}var s=this,i=this.tabs.eq(e),e=i.find(".ui-tabs-anchor"),r=this._getPanelForTab(i),a={tab:i,panel:r};this._isLocal(e[0])||(this.xhr=Y.ajax(this._ajaxSettings(e,n,a)),"canceled"!==this.xhr.statusText&&(this._addClass(i,"ui-tabs-loading"),r.attr("aria-busy","true"),this.xhr.done(function(e,t,i){r.html(e),s._trigger("load",n,a),o(i,t)}).fail(function(e,t){o(e,t)})))},_ajaxSettings:function(e,i,n){var o=this;return{url:e.attr("href"),beforeSend:function(e,t){return o._trigger("beforeLoad",i,Y.extend({jqXHR:e,ajaxSettings:t},n))}}},_getPanelForTab:function(e){e=Y(e).attr("aria-controls");return this.element.find("#"+CSS.escape(e))}}),!0===Y.uiBackCompat&&Y.widget("ui.tabs",Y.ui.tabs,{_processTabs:function(){this._superApply(arguments),this._addClass(this.tabs,"ui-tab")}}),Y.ui.tabs,Y.widget("ui.tooltip",{version:"1.14.1",options:{classes:{"ui-tooltip":"ui-corner-all ui-widget-shadow"},content:function(){var e=Y(this).attr("title");return Y("<a>").text(e).html()},hide:!0,items:"[title]:not([disabled])",position:{my:"left top+15",at:"left bottom",collision:"flipfit flip"},show:!0,track:!1,close:null,open:null},_addDescribedBy:function(e,t){var i=(e.attr("aria-describedby")||"").split(/\s+/);i.push(t),e.data("ui-tooltip-id",t).attr("aria-describedby",String.prototype.trim.call(i.join(" ")))},_removeDescribedBy:function(e){var t=e.data("ui-tooltip-id"),i=(e.attr("aria-describedby")||"").split(/\s+/),t=Y.inArray(t,i);-1!==t&&i.splice(t,1),e.removeData("ui-tooltip-id"),(i=String.prototype.trim.call(i.join(" ")))?e.attr("aria-describedby",i):e.removeAttr("aria-describedby")},_create:function(){this._on({mouseover:"open",focusin:"open"}),this.tooltips={},this.parents={},this.liveRegion=Y("<div>").attr({role:"log","aria-live":"assertive","aria-relevant":"additions"}).appendTo(this.document[0].body),this._addClass(this.liveRegion,null,"ui-helper-hidden-accessible"),this.disabledTitles=Y([])},_setOption:function(e,t){var i=this;this._super(e,t),"content"===e&&Y.each(this.tooltips,function(e,t){i._updateContent(t.element)})},_setOptionDisabled:function(e){this[e?"_disable":"_enable"]()},_disable:function(){var n=this;Y.each(this.tooltips,function(e,t){var i=Y.Event("blur");i.target=i.currentTarget=t.element[0],n.close(i,!0)}),this.disabledTitles=this.disabledTitles.add(this.element.find(this.options.items).addBack().filter(function(){var e=Y(this);if(e.is("[title]"))return e.data("ui-tooltip-title",e.attr("title")).removeAttr("title")}))},_enable:function(){this.disabledTitles.each(function(){var e=Y(this);e.data("ui-tooltip-title")&&e.attr("title",e.data("ui-tooltip-title"))}),this.disabledTitles=Y([])},open:function(e){var i=this,t=Y(e?e.target:this.element).closest(this.options.items);t.length&&!t.data("ui-tooltip-id")&&(t.attr("title")&&t.data("ui-tooltip-title",t.attr("title")),t.data("ui-tooltip-open",!0),e&&"mouseover"===e.type&&t.parents().each(function(){var e,t=Y(this);t.data("ui-tooltip-open")&&((e=Y.Event("blur")).target=e.currentTarget=this,i.close(e,!0)),t.attr("title")&&(t.uniqueId(),i.parents[this.id]={element:this,title:t.attr("title")},t.attr("title",""))}),this._registerCloseHandlers(e,t),this._updateContent(t,e))},_updateContent:function(t,i){var e=this.options.content,n=this,o=i?i.type:null;if("string"==typeof e||e.nodeType||e.jquery)return this._open(i,t,e);(e=e.call(t[0],function(e){t.data("ui-tooltip-open")&&(i&&(i.type=o),n._open(i,t,e))}))&&this._open(i,t,e)},_open:function(e,t,i){var n,o,s,r=Y.extend({},this.options.position);function a(e){r.of=e,n.is(":hidden")||n.position(r)}i&&((s=this._find(t))?s.tooltip.find(".ui-tooltip-content").html(i):(t.is("[title]")&&(e&&"mouseover"===e.type?t.attr("title",""):t.removeAttr("title")),s=this._tooltip(t),n=s.tooltip,this._addDescribedBy(t,n.attr("id")),n.find(".ui-tooltip-content").html(i),this.liveRegion.children().hide(),(s=Y("<div>").html(n.find(".ui-tooltip-content").html())).removeAttr("name").find("[name]").removeAttr("name"),s.removeAttr("id").find("[id]").removeAttr("id"),s.appendTo(this.liveRegion),this.options.track&&e&&/^mouse/.test(e.type)?(this._on(this.document,{mousemove:a}),a(e)):n.position(Y.extend({of:t},this.options.position)),n.hide(),this._show(n,this.options.show),this.options.track&&this.options.show&&this.options.show.delay&&(o=this.delayedShow=setInterval(function(){n.is(":visible")&&(a(r.of),clearInterval(o))},13)),this._trigger("open",e,{tooltip:n})))},_registerCloseHandlers:function(e,t){var i={keyup:function(e){e.keyCode===Y.ui.keyCode.ESCAPE&&((e=Y.Event(e)).currentTarget=t[0],this.close(e,!0))}};t[0]!==this.element[0]&&(i.remove=function(){var e=this._find(t);e&&this._removeTooltip(e.tooltip)}),e&&"mouseover"!==e.type||(i.mouseleave="close"),e&&"focusin"!==e.type||(i.focusout="close"),this._on(!0,t,i)},close:function(e){var t,i=this,n=Y(e?e.currentTarget:this.element),o=this._find(n);o?(t=o.tooltip,o.closing||(clearInterval(this.delayedShow),n.data("ui-tooltip-title")&&!n.attr("title")&&n.attr("title",n.data("ui-tooltip-title")),this._removeDescribedBy(n),o.hiding=!0,t.stop(!0),this._hide(t,this.options.hide,function(){i._removeTooltip(Y(this))}),n.removeData("ui-tooltip-open"),this._off(n,"mouseleave focusout keyup"),n[0]!==this.element[0]&&this._off(n,"remove"),this._off(this.document,"mousemove"),e&&"mouseleave"===e.type&&Y.each(this.parents,function(e,t){Y(t.element).attr("title",t.title),delete i.parents[e]}),o.closing=!0,this._trigger("close",e,{tooltip:t}),o.hiding)||(o.closing=!1)):n.removeData("ui-tooltip-open")},_tooltip:function(e){var t=Y("<div>").attr("role","tooltip"),i=Y("<div>").appendTo(t),n=t.uniqueId().attr("id");return this._addClass(i,"ui-tooltip-content"),this._addClass(t,"ui-tooltip","ui-widget ui-widget-content"),t.appendTo(this._appendTo(e)),this.tooltips[n]={element:e,tooltip:t}},_find:function(e){e=e.data("ui-tooltip-id");return e?this.tooltips[e]:null},_removeTooltip:function(e){clearInterval(this.delayedShow),e.remove(),delete this.tooltips[e.attr("id")]},_appendTo:function(e){e=e.closest(".ui-front, dialog");return e=e.length?e:this.document[0].body},_destroy:function(){var n=this;Y.each(this.tooltips,function(e,t){var i=Y.Event("blur"),t=t.element;i.target=i.currentTarget=t[0],n.close(i,!0),Y("#"+e).remove(),t.data("ui-tooltip-title")&&(t.attr("title")||t.attr("title",t.data("ui-tooltip-title")),t.removeData("ui-tooltip-title"))}),this.liveRegion.remove()}}),!0===Y.uiBackCompat&&Y.widget("ui.tooltip",Y.ui.tooltip,{options:{tooltipClass:null},_tooltip:function(){var e=this._superApply(arguments);return this.options.tooltipClass&&e.tooltip.addClass(this.options.tooltipClass),e}}),Y.ui.tooltip;var f,m=Y,g={},W=g.toString,q=/^([\-+])=\s*(\d+\.?\d*)/,U=[{re:/rgba?\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[e[1],e[2],e[3],e[4]]}},{re:/rgba?\(\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,parse:function(e){return[2.55*e[1],2.55*e[2],2.55*e[3],e[4]]}},{re:/#([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})?/,parse:function(e){return[parseInt(e[1],16),parseInt(e[2],16),parseInt(e[3],16),e[4]?(parseInt(e[4],16)/255).toFixed(2):1]}},{re:/#([a-f0-9])([a-f0-9])([a-f0-9])([a-f0-9])?/,parse:function(e){return[parseInt(e[1]+e[1],16),parseInt(e[2]+e[2],16),parseInt(e[3]+e[3],16),e[4]?(parseInt(e[4]+e[4],16)/255).toFixed(2):1]}},{re:/hsla?\(\s*(\d+(?:\.\d+)?)\s*,\s*(\d+(?:\.\d+)?)\%\s*,\s*(\d+(?:\.\d+)?)\%\s*(?:,\s*(\d?(?:\.\d+)?)\s*)?\)/,space:"hsla",parse:function(e){return[e[1],e[2]/100,e[3]/100,e[4]]}}],v=m.Color=function(e,t,i,n){return new m.Color.fn.parse(e,t,i,n)},y={rgba:{props:{red:{idx:0,type:"byte"},green:{idx:1,type:"byte"},blue:{idx:2,type:"byte"}}},hsla:{props:{hue:{idx:0,type:"degrees"},saturation:{idx:1,type:"percent"},lightness:{idx:2,type:"percent"}}}},Q={byte:{floor:!0,max:255},percent:{max:1},degrees:{mod:360,floor:!0}},b=m.each;function _(e){return null==e?e+"":"object"==typeof e?g[W.call(e)]||"object":typeof e}function w(e,t,i){var n=Q[t.type]||{};return null==e?i||!t.def?null:t.def:(e=n.floor?~~e:parseFloat(e),n.mod?(e+n.mod)%n.mod:Math.min(n.max,Math.max(0,e)))}function X(n){var o=v(),s=o._rgba=[];return n=n.toLowerCase(),b(U,function(e,t){var i=t.re.exec(n),i=i&&t.parse(i),t=t.space||"rgba";if(i)return i=o[t](i),o[y[t].cache]=i[y[t].cache],s=o._rgba=i._rgba,!1}),s.length?("0,0,0,0"===s.join()&&m.extend(s,D.transparent),o):D[n]}function j(e,t,i){return 6*(i=(i+1)%1)<1?e+(t-e)*i*6:2*i<1?t:3*i<2?e+(t-e)*(2/3-i)*6:e}b(y,function(e,t){t.cache="_"+e,t.props.alpha={idx:3,type:"percent",def:1}}),m.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){g["[object "+t+"]"]=t.toLowerCase()}),v.fn=m.extend(v.prototype,{parse:function(o,e,t,i){if(void 0===o)return this._rgba=[null,null,null,null],this;(o.jquery||o.nodeType)&&(o=m(o).css(e),e=void 0);var s=this,n=_(o),r=this._rgba=[];return void 0!==e&&(o=[o,e,t,i],n="array"),"string"===n?this.parse(X(o)||D._default):"array"===n?(b(y.rgba.props,function(e,t){r[t.idx]=w(o[t.idx],t)}),this):"object"===n?(o instanceof v?b(y,function(e,t){o[t.cache]&&(s[t.cache]=o[t.cache].slice())}):b(y,function(e,i){var n=i.cache;b(i.props,function(e,t){if(!s[n]&&i.to){if("alpha"===e||null==o[e])return;s[n]=i.to(s._rgba)}s[n][t.idx]=w(o[e],t,!0)}),s[n]&&m.inArray(null,s[n].slice(0,3))<0&&(null==s[n][3]&&(s[n][3]=1),i.from)&&(s._rgba=i.from(s[n]))}),this):void 0},is:function(e){var o=v(e),s=!0,r=this;return b(y,function(e,t){var i,n=o[t.cache];return n&&(i=r[t.cache]||t.to&&t.to(r._rgba)||[],b(t.props,function(e,t){if(null!=n[t.idx])return s=n[t.idx]===i[t.idx]})),s}),s},_space:function(){var i=[],n=this;return b(y,function(e,t){n[t.cache]&&i.push(e)}),i.pop()},transition:function(e,r){var e=(c=v(e))._space(),t=y[e],i=0===this.alpha()?v("transparent"):this,a=i[t.cache]||t.to(i._rgba),l=a.slice(),c=c[t.cache];return b(t.props,function(e,t){var i=t.idx,n=a[i],o=c[i],s=Q[t.type]||{};null!==o&&(null===n?l[i]=o:(s.mod&&(o-n>s.mod/2?n+=s.mod:n-o>s.mod/2&&(n-=s.mod)),l[i]=w((o-n)*r+n,t)))}),this[e](l)},blend:function(e){var t,i,n;return 1===this._rgba[3]?this:(t=this._rgba.slice(),i=t.pop(),n=v(e)._rgba,v(m.map(t,function(e,t){return(1-i)*n[t]+i*e})))},toRgbaString:function(){var e="rgba(",t=m.map(this._rgba,function(e,t){return null!=e?e:2<t?1:0});return 1===t[3]&&(t.pop(),e="rgb("),e+t.join(", ")+")"},toHslaString:function(){var e="hsla(",t=m.map(this.hsla(),function(e,t){return null==e&&(e=2<t?1:0),e=t&&t<3?Math.round(100*e)+"%":e});return 1===t[3]&&(t.pop(),e="hsl("),e+t.join(", ")+")"},toHexString:function(e){var t=this._rgba.slice(),i=t.pop();return e&&t.push(~~(255*i)),"#"+m.map(t,function(e){return("0"+(e||0).toString(16)).substr(-2)}).join("")},toString:function(){return this.toRgbaString()}}),v.fn.parse.prototype=v.fn,y.hsla.to=function(e){var t,i,n,o,s,r,a,l;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/255,i=e[1]/255,n=e[2]/255,e=e[3],o=(l=Math.max(t,i,n))-(a=Math.min(t,i,n)),r=.5*(s=l+a),a=a===l?0:t===l?60*(i-n)/o+360:i===l?60*(n-t)/o+120:60*(t-i)/o+240,l=0==o?0:r<=.5?o/s:o/(2-s),[Math.round(a)%360,l,r,null==e?1:e])},y.hsla.from=function(e){var t,i,n;return null==e[0]||null==e[1]||null==e[2]?[null,null,null,e[3]]:(t=e[0]/360,n=e[1],i=e[3],n=2*(e=e[2])-(e=e<=.5?e*(1+n):e+n-e*n),[Math.round(255*j(n,e,t+1/3)),Math.round(255*j(n,e,t)),Math.round(255*j(n,e,t-1/3)),i])},b(y,function(a,e){var t=e.props,s=e.cache,r=e.to,l=e.from;v.fn[a]=function(e){var i,n,o;return r&&!this[s]&&(this[s]=r(this._rgba)),void 0===e?this[s].slice():(i=_(e),n="array"===i||"object"===i?e:arguments,o=this[s].slice(),b(t,function(e,t){e=n["object"===i?e:t.idx];null==e&&(e=o[t.idx]),o[t.idx]=w(e,t)}),l?((e=v(l(o)))[s]=o,e):v(o))},b(t,function(s,r){v.fn[s]||(v.fn[s]=function(e){var t=_(e),i="alpha"===s?this._hsla?"hsla":"rgba":a,n=this[i](),o=n[r.idx];return"undefined"===t?o:("function"===t&&(t=_(e=e.call(this,o))),null==e&&r.empty?this:("string"===t&&(t=q.exec(e))&&(e=o+parseFloat(t[2])*("+"===t[1]?1:-1)),n[r.idx]=e,this[i](n)))})})}),v.hook=function(e){e=e.split(" ");b(e,function(e,n){m.cssHooks[n]={set:function(e,t){var i;"transparent"===t||"string"===_(t)&&!(i=X(t))||(t=(t=v(i||t)).toRgbaString()),e.style[n]=t}},m.fx.step[n]=function(e){e.colorInit||(e.start=v(e.elem,n),e.end=v(e.end),e.colorInit=!0),m.cssHooks[n].set(e.elem,e.start.transition(e.end,e.pos))}})},v.hook("backgroundColor borderBottomColor borderLeftColor borderRightColor borderTopColor color columnRuleColor outlineColor textDecorationColor textEmphasisColor"),m.cssHooks.borderColor={expand:function(i){var n={};return b(["Top","Right","Bottom","Left"],function(e,t){n["border"+t+"Color"]=i}),n}};var G,K,Z,J,ee,te,ie,ne,oe,E,D=m.Color.names={aqua:"#00ffff",black:"#000000",blue:"#0000ff",fuchsia:"#ff00ff",gray:"#808080",green:"#008000",lime:"#00ff00",maroon:"#800000",navy:"#000080",olive:"#808000",purple:"#800080",red:"#ff0000",silver:"#c0c0c0",teal:"#008080",white:"#ffffff",yellow:"#ffff00",transparent:[null,null,null,0],_default:"#ffffff"},M="ui-effects-",P="ui-effects-style",O="ui-effects-animated";function se(e){for(var t,i=e.ownerDocument.defaultView.getComputedStyle(e),n={},o=i.length;o--;)"string"==typeof i[t=i[o]]&&(n[t.replace(/-([\da-z])/gi,function(e,t){return t.toUpperCase()})]=i[t]);return n}function A(e,t,i,n){return e={effect:e=Y.isPlainObject(e)?(t=e).effect:e},"function"==typeof(t=null==t?{}:t)&&(n=t,i=null,t={}),"number"!=typeof t&&!Y.fx.speeds[t]||(n=i,i=t,t={}),"function"==typeof i&&(n=i,i=null),t&&Y.extend(e,t),i=i||t.duration,e.duration=Y.fx.off?0:"number"==typeof i?i:i in Y.fx.speeds?Y.fx.speeds[i]:Y.fx.speeds._default,e.complete=n||t.complete,e}function F(e){return!e||"number"==typeof e||Y.fx.speeds[e]||"string"==typeof e&&!Y.effects.effect[e]||"function"==typeof e||"object"==typeof e&&!e.effect}function re(e,t){var i=t.outerWidth(),t=t.outerHeight(),e=/^rect\((-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto),?\s*(-?\d*\.?\d*px|-?\d+%|auto)\)$/.exec(e)||["",0,i,t,0];return{top:parseFloat(e[1])||0,right:"auto"===e[2]?i:parseFloat(e[2]),bottom:"auto"===e[3]?t:parseFloat(e[3]),left:parseFloat(e[4])||0}}Y.effects={effect:{}},J=["add","remove","toggle"],ee={border:1,borderBottom:1,borderColor:1,borderLeft:1,borderRight:1,borderTop:1,borderWidth:1,margin:1,padding:1},Y.each(["borderLeftStyle","borderRightStyle","borderBottomStyle","borderTopStyle"],function(e,t){Y.fx.step[t]=function(e){("none"!==e.end&&!e.setAttr||1===e.pos&&!e.setAttr)&&(m.style(e.elem,t,e.end),e.setAttr=!0)}}),Y.effects.animateClass=function(o,e,t,i){var s=Y.speed(e,t,i);return this.queue(function(){var i=Y(this),e=i.attr("class")||"",t=(t=s.children?i.find("*").addBack():i).map(function(){return{el:Y(this),start:se(this)}}),n=function(){Y.each(J,function(e,t){o[t]&&i[t+"Class"](o[t])})};n(),t=t.map(function(){return this.end=se(this.el[0]),this.diff=((e,t)=>{var i,n,o={};for(i in t)n=t[i],e[i]===n||ee[i]||!Y.fx.step[i]&&isNaN(parseFloat(n))||(o[i]=n);return o})(this.start,this.end),this}),i.attr("class",e),t=t.map(function(){var e=this,t=Y.Deferred(),i=Y.extend({},s,{queue:!1,complete:function(){t.resolve(e)}});return this.el.animate(this.diff,i),t.promise()}),Y.when.apply(Y,t.get()).done(function(){n(),Y.each(arguments,function(){var t=this.el;Y.each(this.diff,function(e){t.css(e,"")})}),s.complete.call(i[0])})})},Y.fn.extend({addClass:(Z=Y.fn.addClass,function(e,t,i,n){return t?Y.effects.animateClass.call(this,{add:e},t,i,n):Z.apply(this,arguments)}),removeClass:(K=Y.fn.removeClass,function(e,t,i,n){return 1<arguments.length?Y.effects.animateClass.call(this,{remove:e},t,i,n):K.apply(this,arguments)}),toggleClass:(G=Y.fn.toggleClass,function(e,t,i,n,o){return"boolean"==typeof t||void 0===t?i?Y.effects.animateClass.call(this,t?{add:e}:{remove:e},i,n,o):G.apply(this,arguments):Y.effects.animateClass.call(this,{toggle:e},t,i,n)}),switchClass:function(e,t,i,n,o){return Y.effects.animateClass.call(this,{add:t,remove:e},i,n,o)}}),Y.expr&&Y.expr.pseudos&&Y.expr.pseudos.animated&&(Y.expr.pseudos.animated=(te=Y.expr.pseudos.animated,function(e){return!!Y(e).data(O)||te(e)})),!0===Y.uiBackCompat&&Y.extend(Y.effects,{save:function(e,t){for(var i=0,n=t.length;i<n;i++)null!==t[i]&&e.data(M+t[i],e[0].style[t[i]])},restore:function(e,t){for(var i,n=0,o=t.length;n<o;n++)null!==t[n]&&(i=e.data(M+t[n]),e.css(t[n],i))},setMode:function(e,t){return t="toggle"===t?e.is(":hidden")?"show":"hide":t},createWrapper:function(i){if(i.parent().is(".ui-effects-wrapper"))return i.parent();var n={width:i.outerWidth(!0),height:i.outerHeight(!0),float:i.css("float")},e=Y("<div></div>").addClass("ui-effects-wrapper").css({fontSize:"100%",background:"transparent",border:"none",margin:0,padding:0}),t={width:i.width(),height:i.height()},o=document.activeElement;try{o.id}catch(e){o=document.body}return i.wrap(e),i[0]!==o&&!Y.contains(i[0],o)||Y(o).trigger("focus"),e=i.parent(),"static"===i.css("position")?(e.css({position:"relative"}),i.css({position:"relative"})):(Y.extend(n,{position:i.css("position"),zIndex:i.css("z-index")}),Y.each(["top","left","bottom","right"],function(e,t){n[t]=i.css(t),isNaN(parseInt(n[t],10))&&(n[t]="auto")}),i.css({position:"relative",top:0,left:0,right:"auto",bottom:"auto"})),i.css(t),e.css(n).show()},removeWrapper:function(e){var t=document.activeElement;return e.parent().is(".ui-effects-wrapper")&&(e.parent().replaceWith(e),e[0]!==t&&!Y.contains(e[0],t)||Y(t).trigger("focus")),e}}),Y.extend(Y.effects,{version:"1.14.1",define:function(e,t,i){return i||(i=t,t="effect"),Y.effects.effect[e]=i,Y.effects.effect[e].mode=t,i},scaledDimensions:function(e,t,i){var n;return 0===t?{height:0,width:0,outerHeight:0,outerWidth:0}:(n="horizontal"!==i?(t||100)/100:1,i="vertical"!==i?(t||100)/100:1,{height:e.height()*i,width:e.width()*n,outerHeight:e.outerHeight()*i,outerWidth:e.outerWidth()*n})},clipToBox:function(e){return{width:e.clip.right-e.clip.left,height:e.clip.bottom-e.clip.top,left:e.clip.left,top:e.clip.top}},unshift:function(e,t,i){var n=e.queue();1<t&&n.splice.apply(n,[1,0].concat(n.splice(t,i))),e.dequeue()},saveStyle:function(e){e.data(P,e[0].style.cssText)},restoreStyle:function(e){e[0].style.cssText=e.data(P)||"",e.removeData(P)},mode:function(e,t){e=e.is(":hidden");return"toggle"===t&&(t=e?"show":"hide"),t=(e?"hide"===t:"show"===t)?"none":t},getBaseline:function(e,t){var i,n;switch(e[0]){case"top":i=0;break;case"middle":i=.5;break;case"bottom":i=1;break;default:i=e[0]/t.height}switch(e[1]){case"left":n=0;break;case"center":n=.5;break;case"right":n=1;break;default:n=e[1]/t.width}return{x:n,y:i}},createPlaceholder:function(e){var t,i=e.css("position"),n=e.position();return e.css({marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()),/^(static|relative)/.test(i)&&(i="absolute",t=Y("<"+e[0].nodeName+">").insertAfter(e).css({display:/^(inline|ruby)/.test(e.css("display"))?"inline-block":"block",visibility:"hidden",marginTop:e.css("marginTop"),marginBottom:e.css("marginBottom"),marginLeft:e.css("marginLeft"),marginRight:e.css("marginRight"),float:e.css("float")}).outerWidth(e.outerWidth()).outerHeight(e.outerHeight()).addClass("ui-effects-placeholder"),e.data(M+"placeholder",t)),e.css({position:i,left:n.left,top:n.top}),t},removePlaceholder:function(e){var t=M+"placeholder",i=e.data(t);i&&(i.remove(),e.removeData(t))},cleanUp:function(e){Y.effects.restoreStyle(e),Y.effects.removePlaceholder(e)},setTransition:function(n,e,o,s){return s=s||{},Y.each(e,function(e,t){var i=n.cssUnit(t);0<i[0]&&(s[t]=i[0]*o+i[1])}),s}}),Y.fn.extend({effect:function(){function e(e){var t=Y(this),i=Y.effects.mode(t,a)||s;t.data(O,!0),l.push(i),s&&("show"===i||i===s&&"hide"===i)&&t.show(),s&&"none"===i||Y.effects.saveStyle(t),"function"==typeof e&&e()}var n=A.apply(this,arguments),o=Y.effects.effect[n.effect],s=o.mode,t=n.queue,i=t||"fx",r=n.complete,a=n.mode,l=[];return Y.fx.off||!o?a?this[a](n.duration,r):this.each(function(){r&&r.call(this)}):!1===t?this.each(e).each(c):this.queue(i,e).queue(i,c);function c(e){var t=Y(this);function i(){"function"==typeof r&&r.call(t[0]),"function"==typeof e&&e()}n.mode=l.shift(),!0!==Y.uiBackCompat||s?"none"===n.mode?(t[a](),i()):o.call(t[0],n,function(){t.removeData(O),Y.effects.cleanUp(t),"hide"===n.mode&&t.hide(),i()}):(t.is(":hidden")?"hide"===a:"show"===a)?(t[a](),i()):o.call(t[0],n,i)}},show:(oe=Y.fn.show,function(e){return F(e)?oe.apply(this,arguments):((e=A.apply(this,arguments)).mode="show",this.effect.call(this,e))}),hide:(ne=Y.fn.hide,function(e){return F(e)?ne.apply(this,arguments):((e=A.apply(this,arguments)).mode="hide",this.effect.call(this,e))}),toggle:(ie=Y.fn.toggle,function(e){return F(e)||"boolean"==typeof e?ie.apply(this,arguments):((e=A.apply(this,arguments)).mode="toggle",this.effect.call(this,e))}),cssUnit:function(e){var i=this.css(e),n=[];return Y.each(["em","px","%","pt"],function(e,t){0<i.indexOf(t)&&(n=[parseFloat(i),t])}),n},cssClip:function(e){return e?this.css("clip","rect("+e.top+"px "+e.right+"px "+e.bottom+"px "+e.left+"px)"):re(this.css("clip"),this)},transfer:function(e,t){var i=Y(this),n=Y(e.to),o="fixed"===n.css("position"),s=Y("body"),r=o?s.scrollTop():0,s=o?s.scrollLeft():0,a=n.offset(),a={top:a.top-r,left:a.left-s,height:n.innerHeight(),width:n.innerWidth()},n=i.offset(),l=Y("<div class='ui-effects-transfer'></div>");l.appendTo("body").addClass(e.className).css({top:n.top-r,left:n.left-s,height:i.innerHeight(),width:i.innerWidth(),position:o?"fixed":"absolute"}).animate(a,e.duration,e.easing,function(){l.remove(),"function"==typeof t&&t()})}}),Y.fx.step.clip=function(e){e.clipInit||(e.start=Y(e.elem).cssClip(),"string"==typeof e.end&&(e.end=re(e.end,e.elem)),e.clipInit=!0),Y(e.elem).cssClip({top:e.pos*(e.end.top-e.start.top)+e.start.top,right:e.pos*(e.end.right-e.start.right)+e.start.right,bottom:e.pos*(e.end.bottom-e.start.bottom)+e.start.bottom,left:e.pos*(e.end.left-e.start.left)+e.start.left})},E={},Y.each(["Quad","Cubic","Quart","Quint","Expo"],function(t,e){E[e]=function(e){return Math.pow(e,t+2)}}),Y.extend(E,{Sine:function(e){return 1-Math.cos(e*Math.PI/2)},Circ:function(e){return 1-Math.sqrt(1-e*e)},Elastic:function(e){return 0===e||1===e?e:-Math.pow(2,8*(e-1))*Math.sin((80*(e-1)-7.5)*Math.PI/15)},Back:function(e){return e*e*(3*e-2)},Bounce:function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}}),Y.each(E,function(e,t){Y.easing["easeIn"+e]=t,Y.easing["easeOut"+e]=function(e){return 1-t(1-e)},Y.easing["easeInOut"+e]=function(e){return e<.5?t(2*e)/2:1-t(-2*e+2)/2}});var ae=Y.effects;Y.effects.define("blind","hide",function(e,t){var i={up:["bottom","top"],vertical:["bottom","top"],down:["top","bottom"],left:["right","left"],horizontal:["right","left"],right:["left","right"]},n=Y(this),o=e.direction||"up",s=n.cssClip(),r={clip:Y.extend({},s)},a=Y.effects.createPlaceholder(n);r.clip[i[o][0]]=r.clip[i[o][1]],"show"===e.mode&&(n.cssClip(r.clip),a&&a.css(Y.effects.clipToBox(r)),r.clip=s),a&&a.animate(Y.effects.clipToBox(r),e.duration,e.easing),n.animate(r,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Y.effects.define("bounce",function(e,t){var i,n,o=Y(this),s=e.mode,r="hide"===s,s="show"===s,a=e.direction||"up",l=e.distance,c=e.times||5,u=2*c+(s||r?1:0),h=e.duration/u,d=e.easing,p="up"===a||"down"===a?"top":"left",f="up"===a||"left"===a,m=0,e=o.queue().length;for(Y.effects.createPlaceholder(o),a=o.css(p),l=l||o["top"==p?"outerHeight":"outerWidth"]()/3,s&&((n={opacity:1})[p]=a,o.css("opacity",0).css(p,f?2*-l:2*l).animate(n,h,d)),r&&(l/=Math.pow(2,c-1)),(n={})[p]=a;m<c;m++)(i={})[p]=(f?"-=":"+=")+l,o.animate(i,h,d).animate(n,h,d),l=r?2*l:l/2;r&&((i={opacity:0}
1)[p]=(f?"-=":"+=")+l,o.animate(i,h,d)),o.queue(t),Y.effects.unshift(o,e,1+u)}),Y.effects.define("clip","hide",function(e,t){var i={},n=Y(this),o=e.direction||"vertical",s="both"===o,r=s||"horizontal"===o,s=s||"vertical"===o,o=n.cssClip();i.clip={top:s?(o.bottom-o.top)/2:o.top,right:r?(o.right-o.left)/2:o.right,bottom:s?(o.bottom-o.top)/2:o.bottom,left:r?(o.right-o.left)/2:o.left},Y.effects.createPlaceholder(n),"show"===e.mode&&(n.cssClip(i.clip),i.clip=o),n.animate(i,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Y.effects.define("drop","hide",function(e,t){var i,n=Y(this),o="show"===e.mode,s=e.direction||"left",r="up"===s||"down"===s?"top":"left",s="up"===s||"left"===s?"-=":"+=",a="+="==s?"-=":"+=",l={opacity:0};Y.effects.createPlaceholder(n),i=e.distance||n["top"==r?"outerHeight":"outerWidth"](!0)/2,l[r]=s+i,o&&(n.css(l),l[r]=a+i,l.opacity=1),n.animate(l,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Y.effects.define("explode","hide",function(e,t){var i,n,o,s,r,a,l=e.pieces?Math.round(Math.sqrt(e.pieces)):3,c=l,u=Y(this),h="show"===e.mode,d=u.show().css("visibility","hidden").offset(),p=Math.ceil(u.outerWidth()/c),f=Math.ceil(u.outerHeight()/l),m=[];function g(){m.push(this),m.length===l*c&&(u.css({visibility:"visible"}),Y(m).remove(),t())}for(i=0;i<l;i++)for(s=d.top+i*f,a=i-(l-1)/2,n=0;n<c;n++)o=d.left+n*p,r=n-(c-1)/2,u.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-n*p,top:-i*f}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:p,height:f,left:o+(h?r*p:0),top:s+(h?a*f:0),opacity:h?0:1}).animate({left:o+(h?0:r*p),top:s+(h?0:a*f),opacity:h?1:0},e.duration||500,e.easing,g)}),Y.effects.define("fade","toggle",function(e,t){var i="show"===e.mode;Y(this).css("opacity",i?0:1).animate({opacity:i?1:0},{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Y.effects.define("fold","hide",function(t,e){var i=Y(this),n=t.mode,o="show"===n,n="hide"===n,s=t.size||15,r=/([0-9]+)%/.exec(s),a=!!t.horizFirst?["right","bottom"]:["bottom","right"],l=t.duration/2,c=Y.effects.createPlaceholder(i),u=i.cssClip(),h={clip:Y.extend({},u)},d={clip:Y.extend({},u)},p=[u[a[0]],u[a[1]]],f=i.queue().length;r&&(s=parseInt(r[1],10)/100*p[n?0:1]),h.clip[a[0]]=s,d.clip[a[0]]=s,d.clip[a[1]]=0,o&&(i.cssClip(d.clip),c&&c.css(Y.effects.clipToBox(d)),d.clip=u),i.queue(function(e){c&&c.animate(Y.effects.clipToBox(h),l,t.easing).animate(Y.effects.clipToBox(d),l,t.easing),e()}).animate(h,l,t.easing).animate(d,l,t.easing).queue(e),Y.effects.unshift(i,f,4)}),Y.effects.define("highlight","show",function(e,t){var i=Y(this),n={backgroundColor:i.css("backgroundColor")};"hide"===e.mode&&(n.opacity=0),Y.effects.saveStyle(i),i.css({backgroundImage:"none",backgroundColor:e.color||"#ffff99"}).animate(n,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),Y.effects.define("pulsate","show",function(e,t){var i=Y(this),n=e.mode,o="show"===n,s=2*(e.times||5)+(o||"hide"===n?1:0),r=e.duration/s,a=0,l=1,n=i.queue().length;for(!o&&i.is(":visible")||(i.css("opacity",0).show(),a=1);l<s;l++)i.animate({opacity:a},r,e.easing),a=1-a;i.animate({opacity:a},r,e.easing),i.queue(t),Y.effects.unshift(i,n,1+s)}),Y.effects.define("size",function(n,t){var o,i=Y(this),e=["fontSize"],s=["borderTopWidth","borderBottomWidth","paddingTop","paddingBottom"],r=["borderLeftWidth","borderRightWidth","paddingLeft","paddingRight"],a=n.mode,l="effect"!==a,c=n.scale||"both",u=n.origin||["middle","center"],h=i.css("position"),d=i.position(),p=Y.effects.scaledDimensions(i),f=n.from||p,m=n.to||Y.effects.scaledDimensions(i,0);Y.effects.createPlaceholder(i),"show"===a&&(a=f,f=m,m=a),o={from:{y:f.height/p.height,x:f.width/p.width},to:{y:m.height/p.height,x:m.width/p.width}},"box"!==c&&"both"!==c||(o.from.y!==o.to.y&&(f=Y.effects.setTransition(i,s,o.from.y,f),m=Y.effects.setTransition(i,s,o.to.y,m)),o.from.x!==o.to.x&&(f=Y.effects.setTransition(i,r,o.from.x,f),m=Y.effects.setTransition(i,r,o.to.x,m))),"content"!==c&&"both"!==c||o.from.y!==o.to.y&&(f=Y.effects.setTransition(i,e,o.from.y,f),m=Y.effects.setTransition(i,e,o.to.y,m)),u&&(a=Y.effects.getBaseline(u,p),f.top=(p.outerHeight-f.outerHeight)*a.y+d.top,f.left=(p.outerWidth-f.outerWidth)*a.x+d.left,m.top=(p.outerHeight-m.outerHeight)*a.y+d.top,m.left=(p.outerWidth-m.outerWidth)*a.x+d.left),delete f.outerHeight,delete f.outerWidth,i.css(f),"content"!==c&&"both"!==c||(s=s.concat(["marginTop","marginBottom"]).concat(e),r=r.concat(["marginLeft","marginRight"]),i.find("*[width]").each(function(){var e=Y(this),t=Y.effects.scaledDimensions(e),i={height:t.height*o.from.y,width:t.width*o.from.x,outerHeight:t.outerHeight*o.from.y,outerWidth:t.outerWidth*o.from.x},t={height:t.height*o.to.y,width:t.width*o.to.x,outerHeight:t.height*o.to.y,outerWidth:t.width*o.to.x};o.from.y!==o.to.y&&(i=Y.effects.setTransition(e,s,o.from.y,i),t=Y.effects.setTransition(e,s,o.to.y,t)),o.from.x!==o.to.x&&(i=Y.effects.setTransition(e,r,o.from.x,i),t=Y.effects.setTransition(e,r,o.to.x,t)),l&&Y.effects.saveStyle(e),e.css(i),e.animate(t,n.duration,n.easing,function(){l&&Y.effects.restoreStyle(e)})})),i.animate(m,{queue:!1,duration:n.duration,easing:n.easing,complete:function(){var e=i.offset();0===m.opacity&&i.css("opacity",f.opacity),l||(i.css("position","static"===h?"relative":h).offset(e),Y.effects.saveStyle(i)),t()}})}),Y.effects.define("scale",function(e,t){var i=Y(this),n=e.mode,n=parseInt(e.percent,10)||(0===parseInt(e.percent,10)||"effect"!==n?0:100),i=Y.extend(!0,{from:Y.effects.scaledDimensions(i),to:Y.effects.scaledDimensions(i,n,e.direction||"both"),origin:e.origin||["middle","center"]},e);e.fade&&(i.from.opacity=1,i.to.opacity=0),Y.effects.effect.size.call(this,i,t)}),Y.effects.define("shake",function(e,t){var i=1,n=Y(this),o=e.direction||"left",s=e.distance||20,r=e.times||3,a=2*r+1,l=Math.round(e.duration/a),c="up"===o||"down"===o?"top":"left",o="up"===o||"left"===o,u={},h={},d={},p=n.queue().length;for(Y.effects.createPlaceholder(n),u[c]=(o?"-=":"+=")+s,h[c]=(o?"+=":"-=")+2*s,d[c]=(o?"-=":"+=")+2*s,n.animate(u,l,e.easing);i<r;i++)n.animate(h,l,e.easing).animate(d,l,e.easing);n.animate(h,l,e.easing).animate(u,l/2,e.easing).queue(t),Y.effects.unshift(n,p,1+a)}),Y.effects.define("slide","show",function(e,t){var i,n,o=Y(this),s={up:["bottom","top"],down:["top","bottom"],left:["right","left"],right:["left","right"]},r=e.mode,a=e.direction||"left",l="up"===a||"down"===a?"top":"left",c="up"===a||"left"===a,u=e.distance||o["top"==l?"outerHeight":"outerWidth"](!0),h={};Y.effects.createPlaceholder(o),i=o.cssClip(),n=o.position()[l],h[l]=(c?-1:1)*u+n,h.clip=o.cssClip(),h.clip[s[a][1]]=h.clip[s[a][0]],"show"===r&&(o.cssClip(h.clip),o.css(l,h[l]),h.clip=i,h[l]=n),o.animate(h,{queue:!1,duration:e.duration,easing:e.easing,complete:t})}),!0===Y.uiBackCompat&&Y.effects.define("transfer",function(e,t){Y(this).transfer(e,t)})}),((s,t,i)=>{s.fn.doubleTapToGo=function(e){return!!("ontouchstart"in t||navigator.msMaxTouchPoints||navigator.userAgent.toLowerCase().match(/windows phone os 7/i))&&(this.each(function(){var o=!1;s(this).on("click",function(e){var t=s(this);t[0]!=o[0]&&(e.preventDefault(),o=t)}),s(i).on("click touchstart MSPointerDown",function(e){for(var t=!0,i=s(e.target).parents(),n=0;n<i.length;n++)i[n]==o[0]&&(t=!1);t&&(o=!1)})}),this)}})(jQuery,window,document),jQuery.easing.jswing=jQuery.easing.swing,jQuery.extend(jQuery.easing,{def:"easeOutQuad",swing:function(e,t,i,n,o){return jQuery.easing[jQuery.easing.def](e,t,i,n,o)},easeInQuad:function(e,t,i,n,o){return n*(t/=o)*t+i},easeOutQuad:function(e,t,i,n,o){return-n*(t/=o)*(t-2)+i},easeInOutQuad:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t+i:-n/2*(--t*(t-2)-1)+i},easeInCubic:function(e,t,i,n,o){return n*(t/=o)*t*t+i},easeOutCubic:function(e,t,i,n,o){return n*((t=t/o-1)*t*t+1)+i},easeInOutCubic:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t+i:n/2*((t-=2)*t*t+2)+i},easeInQuart:function(e,t,i,n,o){return n*(t/=o)*t*t*t+i},easeOutQuart:function(e,t,i,n,o){return-n*((t=t/o-1)*t*t*t-1)+i},easeInOutQuart:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t+i:-n/2*((t-=2)*t*t*t-2)+i},easeInQuint:function(e,t,i,n,o){return n*(t/=o)*t*t*t*t+i},easeOutQuint:function(e,t,i,n,o){return n*((t=t/o-1)*t*t*t*t+1)+i},easeInOutQuint:function(e,t,i,n,o){return(t/=o/2)<1?n/2*t*t*t*t*t+i:n/2*((t-=2)*t*t*t*t+2)+i},easeInSine:function(e,t,i,n,o){return-n*Math.cos(t/o*(Math.PI/2))+n+i},easeOutSine:function(e,t,i,n,o){return n*Math.sin(t/o*(Math.PI/2))+i},easeInOutSine:function(e,t,i,n,o){return-n/2*(Math.cos(Math.PI*t/o)-1)+i},easeInExpo:function(e,t,i,n,o){return 0==t?i:n*Math.pow(2,10*(t/o-1))+i},easeOutExpo:function(e,t,i,n,o){return t==o?i+n:n*(1-Math.pow(2,-10*t/o))+i},easeInOutExpo:function(e,t,i,n,o){return 0==t?i:t==o?i+n:(t/=o/2)<1?n/2*Math.pow(2,10*(t-1))+i:n/2*(2-Math.pow(2,-10*--t))+i},easeInCirc:function(e,t,i,n,o){return-n*(Math.sqrt(1-(t/=o)*t)-1)+i},easeOutCirc:function(e,t,i,n,o){return n*Math.sqrt(1-(t=t/o-1)*t)+i},easeInOutCirc:function(e,t,i,n,o){return(t/=o/2)<1?-n/2*(Math.sqrt(1-t*t)-1)+i:n/2*(Math.sqrt(1-(t-=2)*t)+1)+i},easeInElastic:function(e,t,i,n,o){var s=1.70158,r=0,a=n;return 0==t?i:1==(t/=o)?i+n:(r=r||.3*o,s=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),-(a*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*o-s)/r))+i)},easeOutElastic:function(e,t,i,n,o){var s=1.70158,r=0,a=n;return 0==t?i:1==(t/=o)?i+n:(r=r||.3*o,s=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),a*
1Math.pow(2,-10*t)*Math.sin(2*Math.PI*(t*o-s)/r)+n+i)},easeInOutElastic:function(e,t,i,n,o){var s=1.70158,r=0,a=n;return 0==t?i:2==(t/=o/2)?i+n:(r=r||o*(.3*1.5),s=a<Math.abs(n)?(a=n,r/4):r/(2*Math.PI)*Math.asin(n/a),t<1?a*Math.pow(2,10*--t)*Math.sin(2*Math.PI*(t*o-s)/r)*-.5+i:a*Math.pow(2,-10*--t)*Math.sin(2*Math.PI*(t*o-s)/r)*.5+n+i)},easeInBack:function(e,t,i,n,o,s){return n*(t/=o)*t*(((s=null==s?1.70158:s)+1)*t-s)+i},easeOutBack:function(e,t,i,n,o,s){return n*((t=t/o-1)*t*(((s=null==s?1.70158:s)+1)*t+s)+1)+i},easeInOutBack:function(e,t,i,n,o,s){return null==s&&(s=1.70158),(t/=o/2)<1?n/2*(t*t*((1+(s*=1.525))*t-s))+i:n/2*((t-=2)*t*((1+(s*=1.525))*t+s)+2)+i},easeInBounce:function(e,t,i,n,o){return n-jQuery.easing.easeOutBounce(e,o-t,0,n,o)+i},easeOutBounce:function(e,t,i,n,o){return(t/=o)<1/2.75?n*(7.5625*t*t)+i:t<2/2.75?n*(7.5625*(t-=1.5/2.75)*t+.75)+i:t<2.5/2.75?n*(7.5625*(t-=2.25/2.75)*t+.9375)+i:n*(7.5625*(t-=2.625/2.75)*t+.984375)+i},easeInOutBounce:function(e,t,i,n,o){return t<o/2?.5*jQuery.easing.easeInBounce(e,2*t,0,n,o)+i:.5*jQuery.easing.easeOutBounce(e,2*t-o,0,n,o)+.5*n+i}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):(e=e||self).parsley=t(e.jQuery)})(this,function(d){function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function r(){return(r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}).apply(this,arguments)}function s(e,t){return(e=>{if(Array.isArray(e))return e})(e)||((e,t)=>{if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e)){var i=[],n=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!t||i.length!==t);n=!0);}catch(e){o=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}return i}})(e,t)||(()=>{throw new TypeError("Invalid attempt to destructure non-iterable instance")})()}function a(e){return(e=>{if(Array.isArray(e)){for(var t=0,i=new Array(e.length);t<e.length;t++)i[t]=e[t];return i}})(e)||(e=>{if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)})(e)||(()=>{throw new TypeError("Invalid attempt to spread non-iterable instance")})()}var e=1,t={},p={attr:function(e,t,i){var n,o,s,r=new RegExp("^"+t,"i");if(void 0===i)i={};else for(n in i)i.hasOwnProperty(n)&&delete i[n];if(e)for(n=(s=e.attributes).length;n--;)(o=s[n])&&o.specified&&r.test(o.name)&&(i[this.camelize(o.name.slice(t.length))]=this.deserializeValue(o.value));return i},checkAttr:function(e,t,i){return e.hasAttribute(t+i)},setAttr:function(e,t,i,n){e.setAttribute(this.dasherize(t+i),String(n))},getType:function(e){return e.getAttribute("type")||"text"},generateID:function(){return""+e++},deserializeValue:function(t){var e;try{return t&&("true"==t||"false"!=t&&("null"==t?null:isNaN(e=Number(t))?/^[\[\{]/.test(t)?JSON.parse(t):t:e))}catch(e){return t}},camelize:function(e){return e.replace(/-+(.)?/g,function(e,t){return t?t.toUpperCase():""})},dasherize:function(e){return e.replace(/::/g,"/").replace(/([A-Z]+)([A-Z][a-z])/g,"$1_$2").replace(/([a-z\d])([A-Z])/g,"$1_$2").replace(/_/g,"-").toLowerCase()},warn:function(){var e;window.console&&"function"==typeof window.console.warn&&(e=window.console).warn.apply(e,arguments)},warnOnce:function(e){t[e]||(t[e]=!0,this.warn.apply(this,arguments))},_resetWarnings:function(){t={}},trimString:function(e){return e.replace(/^\s+|\s+$/g,"")},parse:{date:function(e){var t,i,n,e=e.match(/^(\d{4,})-(\d\d)-(\d\d)$/);return!e||((e=s(e.map(function(e){return parseInt(e,10)}),4))[0],t=e[1],i=e[2],e=e[3],(n=new Date(t,i-1,e)).getFullYear()!==t)||n.getMonth()+1!==i||n.getDate()!==e?null:n},string:function(e){return e},integer:function(e){return isNaN(e)?null:parseInt(e,10)},number:function(e){if(isNaN(e))throw null;return parseFloat(e)},boolean:function(e){return!/^\s*false\s*$/i.test(e)},object:function(e){return p.deserializeValue(e)},regexp:function(e){var t="";return e=/^\/.*\/(?:[gimy]*)$/.test(e)?(t=e.replace(/.*\/([gimy]*)$/,"$1"),e.replace(new RegExp("^/(.*?)/"+t+"$"),"$1")):"^"+e+"$",new RegExp(e,t)}},parseRequirement:function(e,t){var i=this.parse[e||"string"];if(!i)throw'Unknown requirement specification: "'+e+'"';i=i(t);if(null===i)throw"Requirement is not a ".concat(e,': "').concat(t,'"');return i},namespaceEvents:function(e,t){return(e=this.trimString(e||"").split(/\s+/))[0]?d.map(e,function(e){return"".concat(e,".").concat(t)}).join(" "):""},difference:function(e,i){var n=[];return d.each(e,function(e,t){-1==i.indexOf(t)&&n.push(t)}),n},all:function(e){return d.when.apply(d,a(e).concat([42,42]))},objectCreate:Object.create||function(e){if(1<arguments.length)throw Error("Second argument not supported");if("object"!=o(e))throw TypeError("Argument must be an object");i.prototype=e;e=new i;return i.prototype=null,e},_SubmitSelector:'input[type="submit"], button:submit'};function i(){}function n(){this.__id__=p.generateID()}function l(e){d.extend(!0,this,e)}function c(e,t){this.__class__="ValidatorRegistry",this.locale="en",this.init(e||{},t||{})}function u(e){return(e=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/))?Math.max(0,(e[1]?e[1].length:0)-(e[2]?+e[2]:0)):0}function h(o,s){return function(e){for(var t=arguments.length,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return i.pop(),s.apply(void 0,[e].concat(a(k(o,i))))}}function f(e){return{validateDate:h("date",e),validateNumber:h("number",e),requirementType:e.length<=2?"string":["string","string"],priority:30}}function m(e,t,i){for(var n=[],o=[],s=0;s<e.length;s++){for(var r=!1,a=0;a<t.length;a++)if(e[s].assert.name===t[a].assert.name){r=!0;break}(r?o:n).push(e[s])}return{kept:o,added:n,removed:i?[]:m(t,e,!0).added}}function g(e,t,i){this.__class__="Form",this.element=e,this.$element=d(e),this.domOptions=t,this.options=i,this.parent=window.Parsley,this.fields=[],this.validationResult=null}function v(e,t,i,n,o){var s=window.Parsley._validatorRegistry.validators[t];r(this,{validator:s=new l(s),name:t,requirements:i,priority:n=n||e.options[t+"Priority"]||s.priority,isDomConstraint:o=!0===o}),this._parseRequirements(e.options)}function y(e,t,i,n){this.__class__="Field",this.element=e,this.$element=d(e),void 0!==n&&(this.parent=n),this.options=i,this.domOptions=t,this.constraints=[],this.constraintsByName={},this.validationResult=!0,this._bindConstraints()}function b(){this.__class__="FieldMultiple"}function _(e,t,i){if(this.element=e,this.$element=d(e),e=this.$element.data("Parsley"))return void 0!==i&&e.parent===window.Parsley&&(e.parent=i,e._resetOptions(e.options)),"object"===o(t)&&r(e.options,t),e;if(!this.$element.length)throw new Error("You must bind Parsley on an existing element.");if(void 0!==i&&"Form"!==i.__class__)throw new Error("Parent instance must be a Form instance");return this.parent=i||window.Parsley,this.init(t)}var w={namespace:"data-parsley-",inputs:"input, textarea, select",excluded:"input[type=button], input[type=submit], input[type=reset], input[type=hidden]",priorityEnabled:!0,multiple:null,group:null,uiEnabled:!0,validationThreshold:3,focu
1s:"first",trigger:!1,triggerAfterFailure:"input",errorClass:"parsley-error",successClass:"parsley-success",classHandler:function(e){},errorsContainer:function(e){},errorsWrapper:'<ul class="parsley-errors-list"></ul>',errorTemplate:"<li></li>"},x=(n.prototype={asyncSupport:!0,_pipeAccordingToValidationResult:function(){function e(){var e=d.Deferred();return!0!==t.validationResult&&e.reject(),e.resolve().promise()}var t=this;return[e,e]},actualizeOptions:function(){return p.attr(this.element,this.options.namespace,this.domOptions),this.parent&&this.parent.actualizeOptions&&this.parent.actualizeOptions(),this},_resetOptions:function(e){for(var t in this.domOptions=p.objectCreate(this.parent.options),this.options=p.objectCreate(this.domOptions),e)e.hasOwnProperty(t)&&(this.options[t]=e[t]);this.actualizeOptions()},_listeners:null,on:function(e,t){return this._listeners=this._listeners||{},(this._listeners[e]=this._listeners[e]||[]).push(t),this},subscribe:function(e,t){d.listenTo(this,e.toLowerCase(),t)},off:function(e,t){var i=this._listeners&&this._listeners[e];if(i)if(t)for(var n=i.length;n--;)i[n]===t&&i.splice(n,1);else delete this._listeners[e];return this},unsubscribe:function(e,t){d.unsubscribeTo(this,e.toLowerCase())},trigger:function(e,t,i){t=t||this;var n,o=this._listeners&&this._listeners[e];if(o)for(var s=o.length;s--;)if(!1===(n=o[s].call(t,t,i)))return n;return!this.parent||this.parent.trigger(e,t,i)},asyncIsValid:function(e,t){return p.warnOnce("asyncIsValid is deprecated; please use whenValid instead"),this.whenValid({group:e,force:t})},_findRelated:function(){return this.options.multiple?d(this.parent.element.querySelectorAll("[".concat(this.options.namespace,'multiple="').concat(this.options.multiple,'"]'))):this.$element}},l.prototype={validate:function(e,t){if(this.fn)return 3<arguments.length&&(t=[].slice.call(arguments,1,-1)),this.fn(e,t);if(Array.isArray(e)){if(this.validateMultiple)return this.validateMultiple.apply(this,arguments);throw"Validator `"+this.name+"` does not handle multiple values"}t=arguments[arguments.length-1];if(this.validateDate&&t._isDateInput())return arguments[0]=p.parse.date(arguments[0]),null!==arguments[0]&&this.validateDate.apply(this,arguments);if(this.validateNumber)return!e||!isNaN(e)&&(arguments[0]=parseFloat(arguments[0]),this.validateNumber.apply(this,arguments));if(this.validateString)return this.validateString.apply(this,arguments);throw"Validator `"+this.name+"` only handles multiple values"},parseRequirements:function(e,t){if("string"!=typeof e)return Array.isArray(e)?e:[e];var i=this.requirementType;if(Array.isArray(i)){for(var n=((e,t)=>{var i=e.match(/^\s*\[(.*)\]\s*$/);if(!i)throw'Requirement is not an array: "'+e+'"';if((e=i[1].split(",").map(p.trimString)).length!==t)throw"Requirement has "+e.length+" values when "+t+" are needed";return e})(e,i.length),o=0;o<n.length;o++)n[o]=p.parseRequirement(i[o],n[o]);return n}if(d.isPlainObject(i)){var s,r,a=i,l=e,c=t,u=null,h={};for(s in a)s?("string"==typeof(r=c(s))&&(r=p.parseRequirement(a[s],r)),h[s]=r):u=p.parseRequirement(a[s],l);return[u,h]}return[p.parseRequirement(i,e)]},requirementType:"string",priority:2},{email:/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/,number:/^-?(\d*\.)?\d+(e[-+]?\d+)?$/i,integer:/^-?\d+$/,digits:/^\d+$/,alphanum:/^\w+$/i,date:{test:function(e){return null!==p.parse.date(e)}},url:new RegExp("^(?:(?:https?|ftp)://)?(?:\\S+(?::\\S*)?@)?(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[1-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-zA-Z\\u00a1-\\uffff0-9]-*)*[a-zA-Z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-zA-Z\\u00a1-\\uffff]{2,})))(?::\\d{2,5})?(?:/\\S*)?$")}),k=(x.range=x.number,function(e,t){return t.map(p.parse[e])}),T=(c.prototype={init:function(e,t){for(var i in this.catalog=t,this.validators=r({},this.validators),e)this.addValidator(i,e[i].fn,e[i].priority);window.Parsley.trigger("parsley:validator:init")},setLocale:function(e){if(void 0===this.catalog[e])throw new Error(e+" is not available in the catalog");return this.locale=e,this},addCatalog:function(e,t,i){return"object"===o(t)&&(this.catalog[e]=t),!0===i?this.setLocale(e):this},addMessage:function(e,t,i){return void 0===this.catalog[e]&&(this.catalog[e]={}),this.catalog[e][t]=i,this},addMessages:function(e,t){for(var i in t)this.addMessage(e,i,t[i]);return this},addValidator:function(e,t,i){if(this.validators[e])p.warn('Validator "'+e+'" is already defined.');else if(w.hasOwnProperty(e))return void p.warn('"'+e+'" is a restricted keyword and is not a valid validator name.');return this._setValidator.apply(this,arguments)},hasValidator:function(e){return!!this.validators[e]}
1,updateValidator:function(e,t,i){return(this.validators[e]?this._setValidator:(p.warn('Validator "'+e+'" is not already defined.'),this.addValidator)).apply(this,arguments)},removeValidator:function(e){return this.validators[e]||p.warn('Validator "'+e+'" is not defined.'),delete this.validators[e],this},_setValidator:function(e,t,i){for(var n in(t="object"!==o(t)?{fn:t,priority:i}:t).validate||(t=new l(t)),(this.validators[e]=t).messages||{})this.addMessage(n,e,t.messages[n]);return this},getErrorMessage:function(e){return("type"===e.name?(this.catalog[this.locale][e.name]||{})[e.requirements]:this.formatMessage(this.catalog[this.locale][e.name],e.requirements))||this.catalog[this.locale].defaultMessage||this.catalog.en.defaultMessage},formatMessage:function(e,t){if("object"!==o(t))return"string"==typeof e?e.replace(/%s/i,t):"";for(var i in t)e=this.formatMessage(e,t[i]);return e},validators:{notblank:{validateString:function(e){return/\S/.test(e)},priority:2},required:{validateMultiple:function(e){return 0<e.length},validateString:function(e){return/\S/.test(e)},priority:512},type:{validateString:function(e,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},n=i.step,n=void 0===n?"any":n,i=i.base,i=void 0===i?0:i,o=x[t];if(console.log("value",e),console.log("typeTesters",x),console.log("type",t),console.log("debugger should stop here"),!o)throw new Error("validator type `"+t+"` is not supported");if(e){if(!o.test(e))return!1;if("number"===t&&!/^any$/i.test(n||"")){var o=Number(e),s=Math.max(u(n),u(i));if(u(o)>s)return!1;t=function(e){return Math.round(e*Math.pow(10,s))};if((t(o)-t(i))%t(n)!=0)return!1}}return!0},requirementType:{"":"string",step:"string",base:"number"},priority:256},pattern:{validateString:function(e,t){return!e||t.test(e)},requirementType:"regexp",priority:64},minlength:{validateString:function(e,t){return!e||e.length>=t},requirementType:"integer",priority:30},maxlength:{validateString:function(e,t){return e.length<=t},requirementType:"integer",priority:30},length:{validateString:function(e,t,i){return!e||e.length>=t&&e.length<=i},requirementType:["integer","integer"],priority:30},mincheck:{validateMultiple:function(e,t){return e.length>=t},requirementType:"integer",priority:30},maxcheck:{validateMultiple:function(e,t){return e.length<=t},requirementType:"integer",priority:30},check:{validateMultiple:function(e,t,i){return e.length>=t&&e.length<=i},requirementType:["integer","integer"],priority:30},min:f(function(e,t){return t<=e}),max:f(function(e,t){return e<=t}),range:f(function(e,t,i){return t<=e&&e<=i}),equalto:{validateString:function(e,t){var i;return!e||((i=d(t)).length?e===i.val():e===t)},priority:256},euvatin:{validateString:function(e,t){return!e||/^[A-Z][A-Z][A-Za-z0-9 -]{2,}$/.test(e)},priority:30}}},{}),C=(T.Form={_actualizeTriggers:function(){var t=this;this.$element.on("submit.Parsley",function(e){t.onSubmitValidate(e)}),this.$element.on("click.Parsley",p._SubmitSelector,function(e){t.onSubmitButton(e)}),!1!==this.options.uiEnabled&&this.element.setAttribute("novalidate","")},focus:function(){if(!(this._focusedField=null)===this.validationResult||"none"===this.options.focus)return null;for(var e=0;e<this.fields.length;e++){var t=this.fields[e];if(!0!==t.validationResult&&0<t.validationResult.length&&void 0===t.options.noFocus&&(this._focusedField=t.$element,"first"===this.options.focus))break}return null===this._focusedField?null:this._focusedField.focus()},_destroyUI:function(){this.$element.off(".Parsley")}},{pending:null,resolved:!0,rejected:!(T.Field={_reflowUI:function(){var e;this._buildUI(),this._ui&&(e=m(this.validationResult,this._ui.lastValidationResult),this._ui.lastValidationResult=this.validationResult,this._manageStatusClass(),this._manageErrorsMessages(e),this._actualizeTriggers(),!e.kept.length&&!e.added.length||this._failedOnce||(this._failedOnce=!0,this._actualizeTriggers()))},getErrorsMessages:function(){if(!0===this.validationResult)return[];for(var e=[],t=0;t<this.validationResult.length;t++)e.push(this.validationResult[t].errorMessage||this._getErrorMessage(this.validationResult[t].assert));return e},addError:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=t.message,n=t.assert,t=t.updateClass,t=void 0===t||t;this._buildUI(),this._addError(e,{message:i,assert:n}),t&&this._errorClass()},updateError:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=t.message,n=t.assert,t=t.updateClass,t=void 0===t||t;this._buildUI(),this._updateError(e,{message:i,assert:n}),t&&this._errorClass()},removeError:function(e){var t=(1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}).updateClass,t=void 0===t||t;this._buildUI(),this._removeError(e),t&&this._manageStatusClass()},_manageStatusClass:function(){this.hasConstraints()&&this.needsValidation()&&
1!0===this.validationResult?this._successClass():0<this.validationResult.length?this._errorClass():this._resetClass()},_manageErrorsMessages:function(e){if(void 0===this.options.errorsMessagesDisabled){if(void 0!==this.options.errorMessage)return e.added.length||e.kept.length?(this._insertErrorWrapper(),0===this._ui.$errorsWrapper.find(".parsley-custom-error-message").length&&this._ui.$errorsWrapper.append(d(this.options.errorTemplate).addClass("parsley-custom-error-message")),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").find(".parsley-custom-error-message").html(this.options.errorMessage)):(this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-custom-error-message").remove());for(var t=0;t<e.removed.length;t++)this._removeError(e.removed[t].assert.name);for(t=0;t<e.added.length;t++)this._addError(e.added[t].assert.name,{message:e.added[t].errorMessage,assert:e.added[t].assert});for(t=0;t<e.kept.length;t++)this._updateError(e.kept[t].assert.name,{message:e.kept[t].errorMessage,assert:e.kept[t].assert})}},_addError:function(e,t){var i=t.message,t=t.assert;this._insertErrorWrapper(),this._ui.$errorClassHandler.attr("aria-describedby",this._ui.errorsWrapperId),this._ui.$errorsWrapper.addClass("filled").attr("aria-hidden","false").append(d(this.options.errorTemplate).addClass("parsley-"+e).html(i||this._getErrorMessage(t)))},_updateError:function(e,t){var i=t.message,t=t.assert;this._ui.$errorsWrapper.addClass("filled").find(".parsley-"+e).html(i||this._getErrorMessage(t))},_removeError:function(e){this._ui.$errorClassHandler.removeAttr("aria-describedby"),this._ui.$errorsWrapper.removeClass("filled").attr("aria-hidden","true").find(".parsley-"+e).remove()},_getErrorMessage:function(e){var t=e.name+"Message";return void 0!==this.options[t]?window.Parsley.formatMessage(this.options[t],e.requirements):window.Parsley.getErrorMessage(e)},_buildUI:function(){var e;this._ui||!1===this.options.uiEnabled||(e={},this.element.setAttribute(this.options.namespace+"id",this.__id__),e.$errorClassHandler=this._manageClassHandler(),e.errorsWrapperId="parsley-id-"+(this.options.multiple?"multiple-"+this.options.multiple:this.__id__),e.$errorsWrapper=d(this.options.errorsWrapper).attr("id",e.errorsWrapperId),e.lastValidationResult=[],e.validationInformationVisible=!1,this._ui=e)},_manageClassHandler:function(){if("string"==typeof this.options.classHandler&&d(this.options.classHandler).length)return d(this.options.classHandler);var e=this.options.classHandler;if("function"==typeof(e="string"==typeof this.options.classHandler&&"function"==typeof window[this.options.classHandler]?window[this.options.classHandler]:e)){var t=e.call(this,this);if(void 0!==t&&t.length)return t}else{if("object"===o(e)&&e instanceof jQuery&&e.length)return e;e&&p.warn("The class handler `"+e+"` does not exist in DOM nor as a global JS function")}return this._inputHolder()},_inputHolder:function(){return this.options.multiple&&"SELECT"!==this.element.nodeName?this.$element.parent():this.$element},_insertErrorWrapper:function(){var e=this.options.errorsContainer;if(0!==this._ui.$errorsWrapper.parent().length)return this._ui.$errorsWrapper.parent();if("string"==typeof e){if(d(e).length)return d(e).append(this._ui.$errorsWrapper);"function"==typeof window[e]?e=window[e]:p.warn("The errors container `"+e+"` does not exist in DOM nor as a global JS function")}return"object"===o(e="function"==typeof e?e.call(this,this):e)&&e.length?e.append(this._ui.$errorsWrapper):this._inputHolder().after(this._ui.$errorsWrapper)},_actualizeTriggers:function(){var e,t=this,i=this._findRelated();i.off(".Parsley"),this._failedOnce?i.on(p.namespaceEvents(this.options.triggerAfterFailure,"Parsley"),function(){t._validateIfNeeded()}):(e=p.namespaceEvents(this.options.trigger,"Parsley"))&&i.on(e,function(e){t._validateIfNeeded(e)})},_validateIfNeeded:function(e){var t=this;e&&/key|input/.test(e.type)&&(!this._ui||!this._ui.validationInformationVisible)&&this.getValue().length<=this.options.validationThreshold||(this.options.debounce?(window.clearTimeout(this._debounced),this._debounced=window.setTimeout(function(){return t.validate()},this.options.debounce)):this.validate())},_resetUI:function(){this._failedOnce=!1,this._actualizeTriggers(),void 0!==this._ui&&(this._ui.$errorsWrapper.removeClass("filled").children().remove(),this._resetClass(),this._ui.lastValidationResult=[],this._ui.validationInformationVisible=!1)},_destroyUI:function(){this._resetUI(),void 0!==this._ui&&this._ui.$errorsWrapper.remove(),delete this._ui},_successClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.errorClass).addClass(this.options.successClass)},_errorClass:function(){this._ui.validationInformationVisible=!0,this._ui.$errorClassHandler.removeClass(this.options.successClass).addClass(this.options.errorClass)},_resetClass:function(){this._ui.$errorClassHandler.removeClass(this.options.successClass).removeClass(this.options.errorClass)}})}),S=(g.prototype={onSubmitValidate:function(e){var t,i,n=this;!0===e.parsley||(t=this._submitSource||this.$element.find(p._SubmitSelector)[0],this._submitSource=null,this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!0),t&&null!==t.getAttribute("formnovalidate"))||(window.Parsley._remoteCache={},"resolved"===(i=this.whenValidate({event:e})).state()&&!1!==this._trigger("submit"))||(e.stopImmediatePropagation(),e.preventDefault(),"pending"===i.state()&&i.done(function(){n._submit(t)}))},onSubmitButton:function(e){this._submitSource=e.currentTarget},_submit:function(e){var t;!1!==this._trigger("submit")&&(e&&(t=0===(t=this.$element.find(".parsley-synthetic-submit-button").prop("disabled",!1)).length?d('<input class="parsley-synthetic-submit-button" type="hidden">').appendTo(this.$element):t).attr({name:e.getAttribute("name"),value:e.getAttribute("value")}),this.$element.trigger(r(d.Event("submit"),{parsley:!0})))},validate:function(e){var t;return 1<=arguments.length&&!d.isPlainObject(e)&&(p.warnOnce("Calling validate on a parsley form without passing arguments as an object is deprecated."),e={group:(t=Array.prototype.slice.call(arguments))[0],force:t[1],event:t[2]}),C[this.whenValidate(e).state()]},whenValidate:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=t.group,n=t.force,t=t.event,t=((this.submitEvent=t)&&(this.submitEvent=r({},t,{preventDefault:function(){p.warnOnce("Using `this.submitEvent.preventDefault()` is deprecated; instead, call `this.validationResult = false`"),e.validationResult=!1}})),this.validationResult=!0,this._trigger("validate"),this._refreshFields(),this._withoutReactualizingFormOptions(function(){return d.map(e.fields,function(e){return e.whenValidate({force:n,group:i})})}));return(t=p.all(t).done(function(){e._trigger("success")}).fail(function(){e.validationResult=!1,e.focus(),e._trigger("error")}).always(function(){e._trigger("validated")})).pipe.apply(t,a(this._pipeAccordingToValidationResult()))},isValid:function(e){var t;return 1<=arguments.length&&!d.isPlainObject(e)&&(p.warnOnce("Calling isValid on a parsley form without passing arguments as an object is deprecated."),e={group:(t=Array.prototype.slice.call(arguments))[0],force:t[1]}),C[this.whenValid(e).state()]},whenValid:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=t.group,n=t.force,t=(this._refreshFields(),this._withoutReactualizingFormOptions(function(){return d.map(e.fields,function(e){return e.whenValid({group:i,force:n})})}));return p.all(t)},refresh:function(){return this._refreshFields(),this},reset:function(){for(var e=0;e<this.fields.length;e++)this.fields[e].reset();this._trigger("reset")},destroy:function(){this._destroyUI();for(var e=0;e<this.fields.length;e++)this.fields[e].destroy();this.$element.removeData("Parsley"),this._trigger("destroy")},_refreshFields:function(){return this.actualizeOptions()._bindFields()},_bindFields:function(){var n=this,e=this.fields;return this.fields=[],this.fieldsMappedById={},this._withoutReactualizingFormOptions(function(){n.$element.find(n.options.inputs).not(n.options.excluded).not("[".concat(n.options.namespace,"excluded=true]")).each(function(e,t){var i,t=new window.Parsley.Factory(t,{},n);"Field"!==t.__class__&&"FieldMultiple"!==t.__class__||(i=t.__class__+"-"+t.__id__,void 0===n.fieldsMappedById[i]&&(n.fieldsMappedById[i]=t,n.fields.push(t)))}),d.each(p.difference(e,n.fields),function(e,t){t.reset()})}),this},_withoutReactualizingFormOptions:function(e){var t=this.actualizeOptions,e=(this.actualizeOptions=function(){return this},e());return this.actualizeOptions=t,e},_trigger:function(e){return this.trigger("form:"+e)}},{pending:null,resolved:!0,rejected:!(v.prototype={validate:function(e,t){var i;
1return(i=this.validator).validate.apply(i,[e].concat(a(this.requirementList),[t]))},_parseRequirements:function(t){var i=this;this.requirementList=this.validator.parseRequirements(this.requirements,function(e){return t[i.name+((e=e)[0].toUpperCase()+e.slice(1))]})}})}),j=(y.prototype={validate:function(e){1<=arguments.length&&!d.isPlainObject(e)&&(p.warnOnce("Calling validate on a parsley field without passing arguments as an object is deprecated."),e={options:e});e=this.whenValidate(e);if(!e)return!0;switch(e.state()){case"pending":return null;case"resolved":return!0;case"rejected":return this.validationResult}},whenValidate:function(){var e=this,t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},i=t.force,t=t.group;if(this.refresh(),!t||this._isInGroup(t))return this.value=this.getValue(),this._trigger("validate"),(t=this.whenValid({force:i,value:this.value,_refreshed:!0}).always(function(){e._reflowUI()}).done(function(){e._trigger("success")}).fail(function(){e._trigger("error")}).always(function(){e._trigger("validated")})).pipe.apply(t,a(this._pipeAccordingToValidationResult()))},hasConstraints:function(){return 0!==this.constraints.length},needsValidation:function(e){return!(!(e=void 0===e?this.getValue():e).length&&!this._isRequired()&&void 0===this.options.validateIfEmpty)},_isInGroup:function(e){return Array.isArray(this.options.group)?-1!==d.inArray(e,this.options.group):this.options.group===e},isValid:function(e){1<=arguments.length&&!d.isPlainObject(e)&&(p.warnOnce("Calling isValid on a parsley field without passing arguments as an object is deprecated."),e={force:(t=Array.prototype.slice.call(arguments))[0],value:t[1]});var t=this.whenValid(e);return!t||S[t.state()]},whenValid:function(){var i,n=this,e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{},t=e.force,t=void 0!==t&&t,o=e.value,s=e.group;if(e._refreshed||this.refresh(),!s||this._isInGroup(s))return this.validationResult=!0,this.hasConstraints()&&(null==o&&(o=this.getValue()),this.needsValidation(o)||!0===t)?(e=this._getGroupedConstraints(),i=[],d.each(e,function(e,t){t=p.all(d.map(t,function(e){return n._validateConstraint(o,e)}));if(i.push(t),"rejected"===t.state())return!1}),p.all(i)):d.when()},_validateConstraint:function(e,t){var i=this,e=t.validate(e,this);return!1===e&&(e=d.Deferred().reject()),p.all([e]).fail(function(e){i.validationResult instanceof Array||(i.validationResult=[]),i.validationResult.push({assert:t,errorMessage:"string"==typeof e&&e})})},getValue:function(){var e="function"==typeof this.options.value?this.options.value(this):void 0!==this.options.value?this.options.value:this.$element.val();return null==e?"":this._handleWhitespace(e)},reset:function(){return this._resetUI(),this._trigger("reset")},destroy:function(){this._destroyUI(),this.$element.removeData("Parsley"),this.$element.removeData("FieldMultiple"),this._trigger("destroy")},refresh:function(){return this._refreshConstraints(),this},_refreshConstraints:function(){return this.actualizeOptions()._bindConstraints()},refreshConstraints:function(){return p.warnOnce("Parsley's refreshConstraints is deprecated. Please use refresh"),this.refresh()},addConstraint:function(e,t,i,n){return window.Parsley._validatorRegistry.validators[e]&&(e=new v(this,e,t,i,n),"undefined"!==this.constraintsByName[e.name]&&this.removeConstraint(e.name),this.constraints.push(e),this.constraintsByName[e.name]=e),this},removeConstraint:function(e){for(var t=0;t<this.constraints.length;t++)if(e===this.constraints[t].name){this.constraints.splice(t,1);break}return delete this.constraintsByName[e],this},updateConstraint:function(e,t,i){return this.removeConstraint(e).addConstraint(e,t,i)},_bindConstraints:function(){for(var e,t=[],i={},n=0;n<this.constraints.length;n++)!1===this.constraints[n].isDomConstraint&&(t.push(this.constraints[n]),i[this.constraints[n].name]=this.constraints[n]);for(e in this.constraints=t,this.constraintsByName=i,this.options)this.addConstraint(e,this.options[e],void 0,!0);return this._bindHtml5Constraints()},_bindHtml5Constraints:function(){null!==this.element.getAttribute("required")&&this.addConstraint("required",!0,void 0,!0),null!==this.element.getAttribute("pattern")&&this.addConstraint("pattern",this.element.getAttribute("pattern"),void 0,!0);var e=this.element.getAttribute("min"),t=this.element.getAttribute("max"),t=(null!==e&&null!==t?this.addConstraint("range",[e,t],void 0,!0):null!==e?this.addConstraint("min",e,void 0,!0):null!==t&&this.addConstraint("max",t,void 0,!0),null!==this.element.getAttribute("minlength")&&null!==this.element.getAttribute("maxlength")?this.addConstraint("length",[this.element.getAttribute("minlength"),this.element.getAttribute("maxlength")],void 0,!0):null!==this.element.getAttribute("minlength")?this.addConstraint("minlength",this.element.getAttribute("minlength"),void 0,!0):null!==this.element.getAttribute("maxlength")&&this.addConstraint("maxlength",this.element.getAttribute("maxlength"),void 0,!0),p.getType(this.element));return"number"===t?this.addConstraint("type",["number",{step:this.element.getAttribute("step")||"1",base
vendor: 4,540 bytes, line 1
1:e||this.element.getAttribute("value")}],void 0,!0):/^(email|url|range|date)$/i.test(t)?this.addConstraint("type",t,void 0,!0):this},_isRequired:function(){return void 0!==this.constraintsByName.required&&!1!==this.constraintsByName.required.requirements},_trigger:function(e){return this.trigger("field:"+e)},_handleWhitespace:function(e){return!0===this.options.trimValue&&p.warnOnce('data-parsley-trim-value="true" is deprecated, please use data-parsley-whitespace="trim"'),"squish"===this.options.whitespace&&(e=e.replace(/\s{2,}/g," ")),e="trim"!==this.options.whitespace&&"squish"!==this.options.whitespace&&!0!==this.options.trimValue?e:p.trimString(e)},_isDateInput:function(){var e=this.constraintsByName.type;return e&&"date"===e.requirements},_getGroupedConstraints:function(){if(!1===this.options.priorityEnabled)return[this.constraints];for(var e=[],t={},i=0;i<this.constraints.length;i++){var n=this.constraints[i].priority;t[n]||e.push(t[n]=[]),t[n].push(this.constraints[i])}return e.sort(function(e,t){return t[0].priority-e[0].priority}),e}},b.prototype={addElement:function(e){return this.$elements.push(e),this},_refreshConstraints:function(){if(this.constraints=[],"SELECT"===this.element.nodeName)this.actualizeOptions()._bindConstraints();else for(var e=0;e<this.$elements.length;e++)if(d("html").has(this.$elements[e]).length)for(var t=this.$elements[e].data("FieldMultiple")._refreshConstraints().constraints,i=0;i<t.length;i++)this.addConstraint(t[i].name,t[i].requirements,t[i].priority,t[i].isDomConstraint);else this.$elements.splice(e,1);return this},getValue:function(){if("function"==typeof this.options.value)return this.options.value(this);if(void 0!==this.options.value)return this.options.value;if("INPUT"===this.element.nodeName){var e,t=p.getType(this.element);if("radio"===t)return this._findRelated().filter(":checked").val()||"";if("checkbox"===t)return e=[],this._findRelated().filter(":checked").each(function(){e.push(d(this).val())}),e}return"SELECT"===this.element.nodeName&&null===this.$element.val()?[]:this.$element.val()},_init:function(){return this.$elements=[this.$element],this}},_.prototype={init:function(e){return this.__class__="Parsley",this.__version__="2.9.2",this.__id__=p.generateID(),this._resetOptions(e),"FORM"===this.element.nodeName||p.checkAttr(this.element,this.options.namespace,"validate")&&!this.$element.is(this.options.inputs)?this.bind("parsleyForm"):this.isMultiple()?this.handleMultiple():this.bind("parsleyField")},isMultiple:function(){var e=p.getType(this.element);return"radio"===e||"checkbox"===e||"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple")},handleMultiple:function(){var e,t,n=this;if(this.options.multiple=this.options.multiple||(e=this.element.getAttribute("name"))||this.element.getAttribute("id"),"SELECT"===this.element.nodeName&&null!==this.element.getAttribute("multiple"))return this.options.multiple=this.options.multiple||this.__id__,this.bind("parsleyFieldMultiple");if(!this.options.multiple)return p.warn("To be bound by Parsley, a radio, a checkbox and a multiple select input must have either a name or a multiple option.",this.$element),this;this.options.multiple=this.options.multiple.replace(/(:|\.|\[|\]|\{|\}|\$)/g,""),e&&d('input[name="'+e+'"]').each(function(e,t){var i=p.getType(t);"radio"!==i&&"checkbox"!==i||t.setAttribute(n.options.namespace+"multiple",n.options.multiple)});for(var i=this._findRelated(),o=0;o<i.length;o++)if(void 0!==(t=d(i.get(o)).data("Parsley"))){this.$element.data("FieldMultiple")||t.addElement(this.$element);break}return this.bind("parsleyField",!0),t||this.bind("parsleyFieldMultiple")},bind:function(e,t){var i;switch(e){case"parsleyForm":i=d.extend(new g(this.element,this.domOptions,this.options),new n,window.ParsleyExtend)._bindFields();break;case"parsleyField":i=d.extend(new y(this.element,this.domOptions,this.options,this.parent),new n,window.ParsleyExtend);break;case"parsleyFieldMultiple":i=d.extend(new y(this.element,this.domOptions,this.options,this.parent),new b,new n,window.ParsleyExtend)._init();break;default:throw new Error(e+"is not a supported Parsley type")}return this.options.multiple&&p.setAttr(this.element,this.options.namespace,"multiple",this.options.multiple),void 0!==t?this.$element.data("FieldMultiple",i):(this.$element.data("Parsley",i),i._actualizeTriggers(),i._trigger("init")),i}},d.fn.jquery.split("."));if(parseInt(j[0])<=1&&parseInt(j[1])<8)throw"The loaded version of jQuery is too old. Please upgrade to 1.8.x or better.";
1j.forEach||p.warn("Parsley requires ES5 to run properly. Please include https://github.com/es-shims/es5-shim");function E(){p.warnOnce("Parsley's pubsub module is deprecated; use the 'on' and 'off' methods on parsley instances or window.Parsley")}var D=r(new n,{element:document,$element:d(document),actualizeOptions:null,_resetOptions:null,Factory:_,version:"2.9.2"}),M=(r(y.prototype,T.Field,n.prototype),r(g.prototype,T.Form,n.prototype),r(_.prototype,n.prototype),d.fn.parsley=d.fn.psly=function(e){var t;return 1<this.length?(t=[],this.each(function(){t.push(d(this).parsley(e))}),t):0!=this.length?new _(this[0],e):void 0},void 0===window.ParsleyExtend&&(window.ParsleyExtend={}),D.options=r(p.objectCreate(w),window.ParsleyConfig),window.ParsleyConfig=D.options,(window.Parsley=window.psly=D).Utils=p,window.ParsleyUtils={},d.each(p,function(e,t){"function"==typeof t&&(window.ParsleyUtils[e]=function(){return p.warnOnce("Accessing `window.ParsleyUtils` is deprecated. Use `window.Parsley.Utils` instead."),p[e].apply(p,arguments)})}),window.Parsley._validatorRegistry=new c(window.ParsleyConfig.validators,window.ParsleyConfig.i18n)),P=(window.ParsleyValidator={},d.each("setLocale addCatalog addMessage addMessages getErrorMessage formatMessage addValidator updateValidator removeValidator hasValidator".split(" "),function(e,t){window.Parsley[t]=function(){return M[t].apply(M,arguments)},window.ParsleyValidator[t]=function(){var e;return p.warnOnce("Accessing the method '".concat(t,"' through Validator is deprecated. Simply call 'window.Parsley.").concat(t,"(...)'")),(e=window.Parsley)[t].apply(e,arguments)}}),window.Parsley.UI=T,window.ParsleyUI={removeError:function(e,t,i){i=!0!==i;return p.warnOnce("Accessing UI is deprecated. Call 'removeError' on the instance directly. Please comment in issue 1073 as to your need to call this method."),e.removeError(t,{updateClass:i})},getErrorsMessages:function(e){return p.warnOnce("Accessing UI is deprecated. Call 'getErrorsMessages' on the instance directly."),e.getErrorsMessages()}},d.each("addError updateError".split(" "),function(e,s){window.ParsleyUI[s]=function(e,t,i,n,o){o=!0!==o;return p.warnOnce("Accessing UI is deprecated. Call '".concat(s,"' on the instance directly. Please comment in issue 1073 as to your need to call this method.")),e[s](t,{message:i,assert:n,updateClass:o})}}),!1!==window.ParsleyConfig.autoBind&&d(function(){d("[data-parsley-validate]").length&&d("[data-parsley-validate]").parsley()}),d({}));function O(t,i){return t.parsleyAdaptedCallback||(t.parsleyAdaptedCallback=function(){var e=Array.prototype.slice.call(arguments,0);e.unshift(this),t.apply(i||P,e)}),t.parsleyAdaptedCallback}function A(e){return 0===e.lastIndexOf("parsley:",0)?e.substr("parsley:".length):e}return d.listen=function(e,t){var i;if(E(),"object"===o(arguments[1])&&"function"==typeof arguments[2]&&(i=arguments[1],t=arguments[2]),"function"!=typeof t)throw new Error("Wrong parameters");window.Parsley.on(A(e),O(t,i))},d.listenTo=function(e,t,i){if(E(),!(e instanceof y||e instanceof g))throw new Error("Mu
1st give Parsley instance");if("string"!=typeof t||"function"!=typeof i)throw new Error("Wrong parameters");e.on(A(t),O(i))},d.unsubscribe=function(e,t){if(E(),"string"!=typeof e||"function"!=typeof t)throw new Error("Wrong arguments");window.Parsley.off(A(e),t.parsleyAdaptedCallback)},d.unsubscribeTo=function(e,t){if(E(),!(e instanceof y||e instanceof g))throw new Error("Must give Parsley instance");e.off(A(t))},d.unsubscribeAll=function(t){E(),window.Parsley.off(A(t)),d("form,input,textarea,select").each(function(){var e=d(this).data("Parsley");e&&e.off(A(t))})},d.emit=function(e,t){E();var i=t instanceof y||t instanceof g,n=Array.prototype.slice.call(arguments,i?2:1);n.unshift(A(e)),(t=i?t:window.Parsley).trigger.apply(t,a(n))},d.extend(!0,D,{asyncValidators:{default:{fn:function(e){return 200<=e.status&&e.status<300},url:!1},reverse:{fn:function(e){return e.status<200||300<=e.status},url:!1}},addAsyncValidator:function(e,t,i,n){return D.asyncValidators[e]={fn:t,url:i||!1,options:n||{}},this}}),D.addValidator("remote",{requirementType:{"":"string",validator:"string",reverse:"boolean",options:"object"},validateString:function(e,t,i,n){var o={},s=i.validator||(!0===i.reverse?"reverse":"default");if(void 0===D.asyncValidators[s])throw new Error("Calling an undefined async validator: `"+s+"`");-1<(t=D.asyncValidators[s].url||t).indexOf("{value}")?t=t.replace("{value}",encodeURIComponent(e)):o[n.element.getAttribute("name")||n.element.getAttribute("id")]=e;function r(){var e=(e=D.asyncValidators[s].fn.call(n,a,t,i))||d.Deferred().reject();return d.when(e)}var e=d.extend(!0,i.options||{},D.asyncValidators[s].options),o=d.extend(!0,{},{url:t,data:o,type:"GET"},e),a=(n.trigger("field:ajaxoptions",n,o),e=d.param(o),void 0===D._remoteCache&&(D._remoteCache={}),D._remoteCache[e]=D._remoteCache[e]||d.ajax(o));return a.then(r,r)},priority:-1}),D.on("form:submit",function(){D._remoteCache={}}),n.prototype.addAsyncValidator=function(){return p.warnOnce("Accessing the method `addAsyncValidator` through an instance is deprecated. Simply call `Parsley.addAsyncValidator(...)`"),D.addAsyncValidator.apply(D,arguments)},D.addMessages("en",{defaultMessage:"This value seems to be invalid.",type:{email:"This value should be a valid email.",url:"This value should be a valid url.",number:"This value should be a valid number.",integer:"This value should be a valid integer.",digits:"This value should be digits.",alphanum:"This value should be alphanumeric."},notblank:"This value should not be blank.",required:"This value is required.",pattern:"This value seems to be invalid.",min:"This value should be greater than or equal to %s.",max:"This value should be lower than or equal to %s.",range:"This value should be between %s and %s.",minlength:"This value is too short. It should have %s characters or more.",maxlength:"This value is too long. It should have %s characters or fewer.",length:"This value length is invalid. It should be between %s and %s characters long.",mincheck:"You must select at least %s choices.",maxcheck:"You must select %s choices or fewer.",check:"You must select between %s and %s choices.",equalto:"This value should be the same.",euvatin:"It's not a valid VAT Identification Number."}),D.setLocale("en"),(new function(){var n=this,o=window||global;r(this,{isNativeEvent:function(e){return e.originalEvent&&!1!==e.originalEvent.isTrusted},fakeInputEvent:function(e){n.isNativeEvent(e)&&d(e.target).trigger("input")},misbehaves:function(e){n.isNativeEvent(e)&&(n.behavesOk(e),d(document).on("change.inputevent",e.data.selector,n.fakeInputEvent),n.fakeInputEvent(e))},behavesOk:function(e){n.isNativeEvent(e)&&d(document).off("input.inputevent",e.data.selector,n.behavesOk).off("change.inputevent",e.data.selector,n.misbehaves)},install:function(){if(!o.inputEventPatched){o.inputEventPatched="0.0.3";for(var e=0,t=["select",'input[type="checkbox"]','input[type="radio"]','input[type="file"]'];e<t.length;e++){var i=t[e];d(document).on("input.inputevent",i,{selector:i},n.behavesOk).on("change.inputevent",i,{selector:i},n.misbehaves)}}},uninstall:function(){delete o.inputEventPatched,d(document).off(".inputevent")}})}).install(),D}),window.ParsleyConfig=window.ParsleyConfig||{},window.ParsleyConfig.i18n=window.ParsleyConfig.i18n||{},window.ParsleyConfig.i18n.de=$.extend(window.ParsleyConfig.i18n.de||{},{defaultMessage:"Die Eingabe scheint nicht korrekt zu sein.",type:{email:"Die Eingabe muss eine gültige E-Mail-Adresse sein.",url:"Die Eingabe muss eine gültige URL sein.",number:"Die Eingabe muss eine Zahl sein.",integer:"Die Eingabe muss eine Zahl sein.",digits:"Die Eingabe darf nur Ziffern enthalten.",alphanum:"Die Eingabe muss alphanumerisch sein."},notblank:"Die Eingabe darf nicht leer sein.",required:"Dies ist ein Pflichtfeld.",pattern:"Die Eingabe scheint ungültig zu sein.",min:"Die Eingabe muss gröÃer oder gleich %s sein.",max:"Die Eingabe muss kleiner oder gleich %s sein.",range:"Die Eingabe muss zwischen %s und %s liegen.",minlength:"Die Eingabe ist zu kurz. Es müssen mindestens %s Zeichen eingegeben werden.",maxlength:"Die Eingabe ist zu lang. Es dürfen höchstens %s Zeichen eingegeben werden.",length:"Die Länge der Eingabe ist ungültig. Es müssen zwischen %s und %s Zeichen eingegeben werden.",equalto:"Dieses Feld muss dem anderen entsprechen."}),void 0!==window.ParsleyValidator&&window.ParsleyValidator.addCatalog("de",window.ParsleyConfig.i18n.de,!0),window.Modernizr=function(n,u,h){function t(e){l.cssText=e}function d(e,t){return typeof e===t}function o(e,t){return!!~(""+e).indexOf(t)}function p(e,t){for(var i in e){i=e[i];if(!o(i,"-")&&l[i]!==h)return"pfx"!=t||i}return!1}function s(e,t,i){var n=e.charAt(0).toUpperCase()+e.slice(1),o=(e+" "+L.join(n+" ")+n).split(" ");if(d(t,"string")||void 0===t)return p(o,t);var s,r=(e+" "+N.join(n+" ")+n).split(" "),a=t,l=i;for(s in r){var c=a[r[s]];if(c!==h)return!1===l?r[s]:d(c,"function")?c.bind(l||a):c}return!1}var e,r,i,a={},f=u.documentElement,m="modernizr",l=u.createElement(m).style,c=u.createElement("input"),g=":)",v={}.toString,y=" -webkit- -moz- -o- -ms- ".split(" "),b="Webkit Moz O ms",L=b.split(" "),N=b.toLowerCase().split(" "),_="http://www.w3.org/2000/svg",w={},z={},x={},k=[],T=k.slice,C=function(e,t,i,n){var o,s,r,a=u.createElement("div"),l=u.body,c=l||u.createElement("body");if(parseInt(i,10))for(;i--;)(s=u.createElement("div")).id=n?n[i]:m+(i+1),a.appendChild(s);return o=["­",'<style id="s',m,'">',e,"</style>"].join(""),a.id=m,(l?a:c).innerHTML+=o,c.appendChild(a),l||(c.style.background="",c.style.overflow="hidden",r=f.style.overflow,f.style.overflow="hidden",f.appendChild(c)),o=t(a,e),l?a.parentNode.removeChild(a):(c.parentNode.removeChild(c),f.style.overflow=r),!!o},$=(r={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"},function(e,t){t=t||u.createElement(r[e]||"div");var i=(e="on"+e)in t;
1return i||(t=t.setAttribute?t:u.createElement("div")).setAttribute&&t.removeAttribute&&(t.setAttribute(e,""),i=d(t[e],"function"),void 0!==t[e]&&(t[e]=h),t.removeAttribute(e)),t=null,i}),S={}.hasOwnProperty,H=void 0!==S&&void 0!==S.call?function(e,t){return S.call(e,t)}:function(e,t){return t in e&&void 0===e.constructor.prototype[t]};for(i in Function.prototype.bind||(Function.prototype.bind=function(i){var n=this;if("function"!=typeof n)throw new TypeError;var o=T.call(arguments,1),s=function(){var e,t;return this instanceof s?((e=function(){}).prototype=n.prototype,e=new e,t=n.apply(e,o.concat(T.call(arguments))),Object(t)===t?t:e):n.apply(i,o.concat(T.call(arguments)))};return s}),w.flexbox=function(){return s("flexWrap")},w.canvas=function(){var e=u.createElement("canvas");return!!e.getContext&&!!e.getContext("2d")},w.canvastext=function(){return!!a.canvas&&!!d(u.createElement("canvas").getContext("2d").fillText,"function")},w.webgl=function(){return!!n.WebGLRenderingContext},w.touch=function(){var t;return"ontouchstart"in n||n.DocumentTouch&&u instanceof DocumentTouch?t=!0:C(["@media (",y.join("touch-enabled),("),m,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(e){t=9===e.offsetTop}),t},w.geolocation=function(){return"geolocation"in navigator},w.postmessage=function(){return!!n.postMessage},w.websqldatabase=function(){return!!n.openDatabase},w.indexedDB=function(){return!!s("indexedDB",n)},w.hashchange=function(){return $("hashchange",n)&&(u.documentMode===h||7<u.documentMode)},w.history=function(){return!!n.history&&!!history.pushState},w.draganddrop=function(){var e=u.createElement("div");return"draggable"in e||"ondragstart"in e&&"ondrop"in e},w.websockets=function(){return"WebSocket"in n||"MozWebSocket"in n},w.rgba=function(){return t("background-color:rgba(150,255,150,.5)"),o(l.backgroundColor,"rgba")},w.hsla=function(){return t("background-color:hsla(120,40%,100%,.5)"),o(l.backgroundColor,"rgba")||o(l.backgroundColor,"hsla")},w.multiplebgs=function(){return t("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(l.background)},w.backgroundsize=function(){return s("backgroundSize")},w.borderimage=function(){return s("borderImage")},w.borderradius=function(){return s("borderRadius")},w.boxshadow=function(){return s("boxShadow")},w.textshadow=function(){return""===u.createElement("div").style.textShadow},w.opacity=function(){return t(y.join("opacity:.55;")+""),/^0.55$/.test(l.opacity)},w.cssanimations=function(){return s("animationName")},w.csscolumns=function(){return s("columnCount")},w.cssgradients=function(){var e="background-image:";return t((e+"-webkit- ".split(" ").join("gradient(linear,left top,right bottom,from(#9f9),to(white));"+e)+y.join("linear-gradient(left top,#9f9, white);"+e)).slice(0,-e.length)),o(l.backgroundImage,"gradient")},w.cssreflections=function(){return s("boxReflect")},w.csstransforms=function(){return!!s("transform")},w.csstransforms3d=function(){var i=!!s("perspective");return i&&"webkitPerspective"in f.style&&C("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(e,t){i=9===e.offsetLeft&&3===e.offsetHeight}),i},w.csstransitions=function(){return s("transition")},w.fontface=function(){var n;return C('@font-face {font-family:"font";src:url("https://")}',function(e,t){var i=u.getElementById("smodernizr"),i=i.sheet||i.styleSheet,i=i?i.cssRules&&i.cssRules[0]?i.cssRules[0].cssText:i.cssText||"":"";n=/src/i.test(i)&&0===i.indexOf(t.split(" ")[0])}),n},w.generatedcontent=function(){var t;return C(["#",m,"{font:0/0 a}#",m,':after{content:"',g,'";visibility:hidden;font:3px/1 a}'].join(""),function(e){t=3<=e.offsetHeight}),t},w.video=function(){var e=u.createElement("video"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),t.h264=e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),t.webm=e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(e){}return t},w.audio=function(){var e=u.createElement("audio"),t=!1;try{(t=!!e.canPlayType)&&((t=new Boolean(t)).ogg=e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),t.mp3=e.canPlayType("audio/mpeg;").replace(/^no$/,""),t.wav=e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),t.m4a=(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(e){}return t},w.localstorage=function(){try{return localStorage.setItem(m,m),localStorage.removeItem(m),!0}catch(e){return!1}},w.sessionstorage=function(){try{return sessionStorage.setItem(m,m),sessionStorage.removeItem(m),!0}catch(e){return!1}},w.webworkers=function(){return!!n.Worker},w.applicationcache=function(){return!!n.applicationCache},w.svg=function(){return!!u.createElementNS&&!!u.createElementNS(_,"svg").createSVGRect},w.inlinesvg=function(){var e=u.createElement("div");return e.innerHTML="<svg/>
1",(e.firstChild&&e.firstChild.namespaceURI)==_},w.smil=function(){return!!u.createElementNS&&/SVGAnimate/.test(v.call(u.createElementNS(_,"animate")))},w.svgclippaths=function(){return!!u.createElementNS&&/SVGClipPath/.test(v.call(u.createElementNS(_,"clipPath")))},w)H(w,i)&&(e=i.toLowerCase(),a[e]=w[i](),k.push((a[e]?"":"no-")+e));a.input||(a.input=(e=>{for(var t=0,i=e.length;t<i;t++)x[e[t]]=e[t]in c;return x.list&&(x.list=!!u.createElement("datalist")&&!!n.HTMLDataListElement),x})("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),a.inputtypes=(e=>{for(var t,i,n,o=0,s=e.length;o<s;o++)c.setAttribute("type",i=e[o]),(t="text"!==c.type)&&(c.value=g,c.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(i)&&c.style.WebkitAppearance!==h?(f.appendChild(c),t=(n=u.defaultView).getComputedStyle&&"textfield"!==n.getComputedStyle(c,null).WebkitAppearance&&0!==c.offsetHeight,f.removeChild(c)):/^(search|tel)$/.test(i)||(t=/^(url|email)$/.test(i)?c.checkValidity&&!1===c.checkValidity():c.value!=g)),z[e[o]]=!!t;return z})("search tel url email datetime date month week time datetime-local number range color".split(" "))),a.addTest=function(e,t){if("object"==typeof e)for(var i in e)H(e,i)&&a.addTest(i,e[i]);else{if(e=e.toLowerCase(),a[e]!==h)return a;t="function"==typeof t?t():t,f.className+=" "+(t?"":"no-")+e,a[e]=t}return a},t("");c=null;var b=this,j=u;function R(){var e=I.elements;return"string"==typeof e?e.split(" "):e}function E(e){var t=Y[e[U]];return t||(t={},A++,e[U]=A,Y[A]=t),t}function B(e,t,i){return t=t||j,M?t.createElement(e):(t=(i=i||E(t)).cache[e]?i.cache[e].cloneNode():q.test(e)?(i.cache[e]=i.createElem(e)).cloneNode():i.createElem(e)).canHaveChildren&&!W.test(e)?i.frag.appendChild(t):t}function V(e){var t,i,n,o,s,r=E(e=e||j);return!I.shivCSS||D||r.hasCSS||(r.hasCSS=(o="article,aside,figcaption,figure,footer,header,hgroup,nav,section{display:block}mark{background:#FF0;color:#000}",s=(n=e).createElement("p"),n=n.getElementsByTagName("head")[0]||n.documentElement,s.innerHTML="x<style>"+o+"</style>",!!n.insertBefore(s.lastChild,n.firstChild))),M||(t=e,(i=r).cache||(i.cache={},i.createElem=t.createElement,i.createFrag=t.createDocumentFragment,i.frag=i.createFrag()),t.createElement=function(e){return I.shivMethods?B(e,t,i):i.createElem(e)},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+R().join().replace(/\w+/g,function(e){return i.createElem(e),i.frag.createElement(e),'c("'+e+'")'})+");return n}")(I,i.frag)),e}var D,M,P,O=b.html5||{},W=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,q=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,U="_html5shiv",A=0,Y={};try{var F=j.createElement("a");F.innerHTML="<xyz></xyz>",D="hidden"in F,M=1==F.childNodes.length||(j.createElement("a"),void 0===(P=j.createDocumentFragment()).cloneNode)||void 0===P.createDocumentFragment||void 0===P.createElement}catch(e){M=D=!0}var I={elements:O.elements||"abbr article aside audio bdi canvas data datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",shivCSS:!1!==O.shivCSS,supportsUnknownElements:M,shivMethods:!1!==O.shivMethods,type:"default",shivDocument:V,createElement:B,createDocumentFragment:function(e,t){if(e=e||j,M)return e.createDocumentFragment();for(var i=(t=t||E(e)).frag.cloneNode(),n=0,o=R(),s=o.length;n<s;n++)i.createElement(o[n]);return i}};return b.html5=I,V(j),a._version="2.6.2",a._prefixes=y,a._domPrefixes=N,a._cssomPrefixes=L,a.mq=function(e){var t,i=n.matchMedia||n.msMatchMedia;return i?i(e).matches:(C("@media "+e+" { #"+m+" { position: absolute; } }",function(e){t="absolute"==(n.getComputedStyle?getComputedStyle(e,null):e.currentStyle).position}),t)},a.hasEvent=$,a.testProp=function(e){return p([e])},a.testAllProps=s,a.testStyles=C,a.prefixed=function(e,t,i){return t?s(e,t,i):s(e,"pfx")},f.className=f.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(" js "+k.join(" ")),a}(this,this.document),((e,p)=>{function h(e){return"[object Function]"==o.call(e)}function f(e){return"string"==typeof e}function d(){}function m(e){return!e||"loaded"==e||"complete"==e||"uninitialized"==e}function g(){var e=b.shift();_=1,e?e.t?v(function(){("c"==e.t?S.injectCss:S.injectJs)(e.s,0,e.a,e.x,e.e,1)},0):(e(),g()):_=0}function t(e,t,i,n,o){return _=0,t=t||"j",f(e)?(r="c"==t?T:k,a=e,t=t,l=this.i++,i=i,n=n,o=(o=o)||S.errorTimeout,c=p.createElement(r),h=u=0,d={t:t,s:a,e:i,a:n,x:o},1===C[a]&&(h=1,C[a]=[]),"object"==r?c.data=a:(c.src=a,c.type=r),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){s.c
1all(this,h)},b.splice(l,0,d),"img"!=r&&(h||2===C[a]?(x.insertBefore(c,w?null:y),v(s,o)):C[a].push(c))):(b.splice(this.i++,0,e),1==b.length&&g()),this;function s(e){if(!u&&m(c.readyState)&&(d.r=u=1,_||g(),c.onload=c.onreadystatechange=null,e))for(var t in"img"!=r&&v(function(){x.removeChild(c)},50),C[a])C[a].hasOwnProperty(t)&&C[a][t].onload()}var r,a,l,c,u,h,d}function a(){var e=S;return e.loader={load:t,i:0},e}var i,n=p.documentElement,v=e.setTimeout,y=p.getElementsByTagName("script")[0],o={}.toString,b=[],_=0,s="MozAppearance"in n.style,w=s&&!!p.createRange().compareNode,x=w?n:y.parentNode,n=e.opera&&"[object Opera]"==o.call(e.opera),n=!!p.attachEvent&&!n,k=s?"object":n?"script":"img",T=n?"script":k,r=Array.isArray||function(e){return"[object Array]"==o.call(e)},l=[],C={},c={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e}},S=function(e){function u(e,t,i,n,o){var s=(e=>{for(var t,i,e=e.split("!"),n=l.length,o=e.pop(),s=e.length,o={url:o,origUrl:o,prefixes:e},r=0;r<s;r++)i=e[r].split("="),(t=c[i.shift()])&&(o=t(o,i));for(r=0;r<n;r++)o=l[r](o);return o})(e),r=s.autoCallback;s.url.split(".").pop().split("?").shift(),s.bypass||(t=t&&(h(t)?t:t[e]||t[n]||t[e.split("/").pop().split("?")[0]]),s.instead?s.instead(e,t,i,n,o):(C[s.url]?s.noexec=!0:C[s.url]=1,i.load(s.url,s.forceCSS||!s.forceJS&&"css"==s.url.split(".").pop().split("?").shift()?"c":void 0,s.noexec,s.attrs,s.timeout),(h(t)||h(r))&&i.load(function(){a(),t&&t(s.origUrl,o,n),r&&r(s.origUrl,o,n),C[s.url]=2})))}function t(e,t){function i(i,e){if(i){if(f(i))u(i,a=e?a:function(){var e=[].slice.call(arguments);l.apply(this,e),c()},t,0,s);else if(Object(i)===i)for(o in n=(()=>{var e,t=0;for(e in i)i.hasOwnProperty(e)&&t++;return t})(),i)i.hasOwnProperty(o)&&(e||--n||(h(a)?a=function(){var e=[].slice.call(arguments);l.apply(this,e),c()}:a[o]=(t=>function(){var e=[].slice.call(arguments);t&&t.apply(this,e),c()})(l[o])),u(i[o],a,t,o,s))}else e||c()}var n,o,s=!!e.test,r=e.load||e.both,a=e.callback||d,l=a,c=e.complete||d;i(s?e.yep:e.nope,!!r),r&&i(r)}var i,n,o=this.yepnope.loader;if(f(e))u(e,0,o,0);else if(r(e))for(i=0;i<e.length;i++)f(n=e[i])?u(n,0,o,0):r(n)?S(n):Object(n)===n&&t(n,o);else Object(e)===e&&t(e,o)};S.addPrefix=function(e,t){c[e]=t},S.addFilter=function(e){l.push(e)},S.errorTimeout=1e4,null==p.readyState&&p.addEventListener&&(p.readyState="loading",p.addEventListener("DOMContentLoaded",i=function(){p.removeEventListener("DOMContentLoaded",i,0),p.readyState="complete"},0)),e.yepnope=a(),e.yepnope.executeStack=g,e.yepnope.injectJs=function(e,t,i,n,o,s){var r,a,l=p.createElement("script"),n=n||S.errorTimeout;for(a in l.src=e,i)l.setAttribute(a,i[a]);t=s?g:t||d,l.onreadystatechange=l.onload=function(){!r&&m(l.readyState)&&(r=1,t(),l.onload=l.onreadystatechange=null)},v(function(){r||t(r=1)},n),o?l.onload():y.parentNode.insertBefore(l,y)},e.yepnope.injectCss=function(e,t,i,n,o,s){var r,t=s?g:t||d;for(r in(n=p.createElement("link")).href=e,n.rel="stylesheet",n.type="text/css",i)n.setAttribute(r,i[r]);o||(y.parentNode.insertBefore(n,y),v(t,0))}})(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0))},(q=>{var U={mode:"horizontal",slideSelector:"",infiniteLoop:!0,hideControlOnEnd:!1,speed:500,easing:null,slideMargin:0,startSlide:0,randomStart:!1,captions:!1,ticker:!1,tickerHover:!1,adaptiveHeight:!1,adaptiveHeightSpeed:500,video:!1,useCSS:!0,preloadImages:"visible",responsive:!0,slideZIndex:50,wrapperClass:"bx-wrapper",touchEnabled:!0,swipeThreshold:50,oneToOneTouch:!0,preventDefaultSwipeX:!0,preventDefaultSwipeY:!1,ariaLive:!0,ariaHidden:!1,keyboardEnabled:!1,pager:!0,pagerType:"full",pagerShortSeparator:" / ",pagerSelector:null,buildPager:null,pagerCustom:null,controls:!0,nextText:"Nächster Slide",prevText:"Vorheriger Slide",nextSelector:null,prevSelector:null,autoControls:!1,startText:"Start",stopText:"Stop",autoControlsCombine:!1,autoControlsSelector:null,auto:!1,pause:4e3,autoStart:!0,autoDirection:"next",stopAutoOnClick:!1,autoHover:!1,autoDelay:0,autoSlideForOnePage:!1,minSlides:1,maxSlides:1,moveSlides:0,slideWidth:0,shrinkItems:!1,onSliderLoad:function(){return!0},onSlideBefore:function(){return!0},onSlideAfter:function(){return!0},onSlideNext:function(){return!0},onSlidePrev:function(){return!0},onSliderResize:function(){return!0},onAutoChange:function(){return!0}};q.fn.bxSlider=function(t){var c,u,n,o,s,e,r,a,l,h,d,p,f,m,g,v,y,b,_,w,x,k,T,N,z,$,C,S,j,E,D,M,H,R,P,B,O,V,W,A,F,I,L;return 0===this.length?this:1<this.length?(this.each(function(){q(this).bxSlider(t)}),this):(c={},u=this,n=q(window).width(),o=q(window).height(),q(u).data("bxSlider")?void 0:(s=function(){q(u).data("bxSlider")||(c.settings=q.extend({},U,t),c.settings.slideWidth=parseInt(c.settings.slideWidth),c.children=u.children(c.settings.slideSelector),c.children.length<c.settings.minSlides&&(c.settings.minSlides=c.children.length),c.children.length<c.settings.maxSlides&&(c.settings.maxSlides=c.children.length),c.settings.randomStart&&(c.settings.startSlide=Math.floor(Math.random()*c.children.length)),c.active={index:c.settings.startSlide},c.carousel=1<c.settings.minSlides||1<c.settings.maxSlides,c.carousel&&(c.settings.preloadImages="all"),c.minThreshold=c.settings.minSlides*c.settings.slideWidth+(c.settings.minSlides-1)*c.settings.slideMargin,c.maxThreshold=c.settings.maxSlides*c.settings.slideWidth+(c.settings.maxSlides-1)*c.settings.slideMargin,c.working=!1,c.controls={},c.interval=null,c.animProp="vertical"===c.settings.mode?"top":"left",c.usingCSS=c.settings.useCSS&&"fade"!==c.settings.mode&&(()=>{for(var e=document.createElement("div"),t=["WebkitPerspective","MozPerspective","OPerspective","msPerspective"],i=0;i<t.length;i++)if(void 0!==e.style[t[i]])return c.cssPrefix=t[i].replace("Perspective","").toLowerCase(),c.animProp="-"+c.cssPrefix+"-transform",!0;return!1})(),"vertical"===c.settings.mode&&(c.settings.maxSlides=c.settings.minSlides),u.data("origStyle",u.attr("style")),u.children(c.settings.slideSelector).each(function(){q(this).data("origStyle",q(this).attr("style"))}),e())},e=function(){var e=c.children.eq(c.settings.startSlide);u.wrap('<div class="'+c.settings.wrapperClass+'"><div class="bx-viewport"></div></div>'),c.viewport=u.parent(),c.settings.ariaLive&&!c.settings.ticker&&c.viewport.attr("aria-live","polite"),c.loader=q('<div class="bx-loading" />'),c.viewport.prepend(c.loader),u.css({width:"horizontal"===c.settings.mode?1e3*c.children.length+215+"%":"auto",position:"relative"}),c.usingCSS&&c.settings.easing?u.css("-"+c.cssPrefix+"-transition-timing-function",c.settings.easing):c.settings.easing||(c.settings.easing="swing"),c.viewport.css({width:"100%",overflow:"hidden",position:"relative"}),c.viewport.parent().css({maxWidth:h()}
1),c.children.css({float:"horizontal"===c.settings.mode?"left":"none",listStyle:"none",position:"relative"}),c.children.css("width",d()),"horizontal"===c.settings.mode&&0<c.settings.slideMargin&&c.children.css("marginRight",c.settings.slideMargin),"vertical"===c.settings.mode&&0<c.settings.slideMargin&&c.children.css("marginBottom",c.settings.slideMargin),"fade"===c.settings.mode&&(c.children.css({position:"absolute",zIndex:0,display:"none"}),c.children.eq(c.settings.startSlide).css({zIndex:c.settings.slideZIndex,display:"block"})),c.controls.el=q('<div class="bx-controls" />'),c.settings.captions&&x(),c.active.last=c.settings.startSlide===f()-1,c.settings.video&&u.fitVids(),"none"===c.settings.preloadImages?e=null:"all"!==c.settings.preloadImages&&!c.settings.ticker||(e=c.children),c.settings.ticker?c.settings.pager=!1:(c.settings.controls&&_(),c.settings.auto&&c.settings.autoControls&&w(),c.settings.pager&&b(),(c.settings.controls||c.settings.autoControls||c.settings.pager)&&c.viewport.after(c.controls.el)),null===e?a():r(e,a)},r=function(e,t){var i=e.find('img:not([src=""]), iframe').length,n=0;0===i?t():e.find('img:not([src=""]), iframe').each(function(){q(this).one("load error",function(){++n===i&&t()}).each(function(){setTimeout(()=>{!this.complete&&""!=this.src||q(this).trigger("load")},0)})})},a=function(){var e,t;c.settings.infiniteLoop&&"fade"!==c.settings.mode&&!c.settings.ticker&&(t="vertical"===c.settings.mode?c.settings.minSlides:c.settings.maxSlides,e=c.children.slice(0,t).clone(!0).addClass("bx-clone"),t=c.children.slice(-t).clone(!0).addClass("bx-clone"),c.settings.ariaHidden&&(e.attr("aria-hidden",!0),t.attr("aria-hidden",!0)),u.append(e).prepend(t)),c.loader.remove(),g(),"vertical"===c.settings.mode&&(c.settings.adaptiveHeight=!0),c.viewport.height(l()),u.redrawSlider(),c.settings.onSliderLoad.call(u,c.active.index),c.initialized=!0,c.settings.responsive&&q(window).on("resize",I),c.settings.auto&&c.settings.autoStart&&(1<f()||c.settings.autoSlideForOnePage)&&H(),c.settings.ticker&&R(),c.settings.pager&&C(c.settings.startSlide),c.settings.controls&&E(),c.settings.touchEnabled&&!c.settings.ticker&&V(),c.settings.keyboardEnabled&&!c.settings.ticker&&q(document).keydown(O)},l=function(){var t=0,e=q();if("vertical"===c.settings.mode||c.settings.adaptiveHeight)if(c.carousel){var n=1===c.settings.moveSlides?c.active.index:c.active.index*m(),e=c.children.eq(n);for(i=1;i<=c.settings.maxSlides-1;i++)e=n+i>=c.children.length?e.add(c.children.eq(i-1)):e.add(c.children.eq(n+i))}else e=c.children.eq(c.active.index);else e=c.children;return"vertical"===c.settings.mode?(e.each(function(e){t+=q(this).outerHeight()}),0<c.settings.slideMargin&&(t+=c.settings.slideMargin*(c.settings.minSlides-1))):t=Math.max.apply(Math,e.map(function(){return q(this).outerHeight(!1)}).get()),"border-box"===c.viewport.css("box-sizing")?t+=parseFloat(c.viewport.css("padding-top"))+parseFloat(c.viewport.css("padding-bottom"))+parseFloat(c.viewport.css("border-top-width"))+parseFloat(c.viewport.css("border-bottom-width")):"padding-box"===c.viewport.css("box-sizing")&&(t+=parseFloat(c.viewport.css("padding-top"))+parseFloat(c.viewport.css("padding-bottom"))),t},h=function(){var e="100%";return e=0<c.settings.slideWidth?"horizontal"===c.settings.mode?c.settings.maxSlides*c.settings.slideWidth+(c.settings.maxSlides-1)*c.settings.slideMargin:c.settings.slideWidth:e},d=function(){var e=c.settings.slideWidth,t=c.viewport.width();if(0===c.settings.slideWidth||c.settings.slideWidth>t&&!c.carousel||"vertical"===c.settings.mode)e=t;else if(1<c.settings.maxSlides&&"horizontal"===c.settings.mode){if(t>c.maxThreshold)return e;t<c.minThreshold?e=(t-c.settings.slideMargin*(c.settings.minSlides-1))/c.settings.minSlides:c.settings.shrinkItems&&(e=Math.floor((t+c.settings.slideMargin)/Math.ceil((t+c.settings.slideMargin)/(e+c.settings.slideMargin))-c.settings.slideMargin))}return e},p=function(){var e,t=1;return"horizontal"===c.settings.mode&&0<c.settings.slideWidth?t=c.viewport.width()<c.minThreshold?c.settings.minSlides:c.viewport.width()>c.maxThreshold?c.settings.maxSlides:(e=c.children.first().width()+c.settings.slideMargin,Math.floor((c.viewport.width()+c.settings.slideMargin)/e)||1):"vertical"===c.settings.mode&&(t=c.settings.minSlides),t},f=function(){var e=0,t=0,i=0;if(0<c.settings.moveSlides){if(!c.settings.infiniteLoop){for(;t<c.children.length;)++e,t=i+p(),i+=c.settings.moveSlides<=p()?c.settings.moveSlides:p();return i}e=Math.ceil(c.children.length/m())}else e=Math.ceil(c.children.length/p());return e},m=function(){return 0<c.settings.moveSlides&&c.settings.moveSlides<=p()?c.settings.moveSlides:p()},g=function(){var e,t;c.children.length>c.settings.maxSlides&&c.active.last&&!c.settings.infiniteLoop?"horizontal"===c.settings.mode?(e=(t=c.children.last(
vendor: 4,322 bytes, line 1
1)).position(),v(-(e.left-(c.viewport.width()-t.outerWidth())),"reset",0)):"vertical"===c.settings.mode&&(t=c.children.length-c.settings.minSlides,e=c.children.eq(t).position(),v(-e.top,"reset",0)):(e=c.children.eq(c.active.index*m()).position(),c.active.index===f()-1&&(c.active.last=!0),void 0!==e&&("horizontal"===c.settings.mode?v(-e.left,"reset",0):"vertical"===c.settings.mode&&v(-e.top,"reset",0)))},v=function(e,t,i,n){var o;c.usingCSS?(o="vertical"===c.settings.mode?"translate3d(0, "+e+"px, 0)":"translate3d("+e+"px, 0, 0)",u.css("-"+c.cssPrefix+"-transition-duration",i/1e3+"s"),"slide"===t?(u.css(c.animProp,o),0!==i?u.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){q(e.target).is(u)&&(u.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),S())}):S()):"reset"===t?u.css(c.animProp,o):"ticker"===t&&(u.css("-"+c.cssPrefix+"-transition-timing-function","linear"),u.css(c.animProp,o),0!==i?u.on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",function(e){q(e.target).is(u)&&(u.off("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd"),v(n.resetValue,"reset",0),P())}):(v(n.resetValue,"reset",0),P()))):((o={})[c.animProp]=e,"slide"===t?u.animate(o,i,c.settings.easing,function(){S()}):"reset"===t?u.css(c.animProp,e):"ticker"===t&&u.animate(o,i,"linear",function(){v(n.resetValue,"reset",0),P()}))},y=function(){for(var e="",t="",i=f(),n=0;n<i;n++)t="",c.settings.buildPager&&q.isFunction(c.settings.buildPager)||c.settings.pagerCustom?(t=c.settings.buildPager(n),c.pagerEl.addClass("bx-custom-pager")):(t=n+1,c.pagerEl.addClass("bx-default-pager")),e+='<div class="bx-pager-item"><a href="" data-slide-index="'+n+'" class="bx-pager-link">'+t+"</a></div>";c.pagerEl.html(e)},b=function(){c.settings.pagerCustom?c.pagerEl=q(c.settings.pagerCustom):(c.pagerEl=q('<div class="bx-pager" />'),c.settings.pagerSelector?q(c.settings.pagerSelector).html(c.pagerEl):c.controls.el.addClass("bx-has-pager").append(c.pagerEl),y()),c.pagerEl.on("click touchend","a",$)},_=function(){c.controls.next=q('<a class="bx-next" href="" aria-label="Nächster Slide">'+c.settings.nextText+"</a>"),c.controls.prev=q('<a class="bx-prev" href="" aria-label="Vorheriger Slide">'+c.settings.prevText+"</a>"),c.controls.next.on("click touchend",k),c.controls.prev.on("click touchend",T),c.settings.nextSelector&&q(c.settings.nextSelector).append(c.controls.next),c.settings.prevSelector&&q(c.settings.prevSelector).append(c.controls.prev),c.settings.nextSelector||c.settings.prevSelector||(c.controls.directionEl=q('<div class="bx-controls-direction" />'),c.controls.directionEl.append(c.controls.prev).append(c.controls.next),c.controls.el.addClass("bx-has-controls-direction").append(c.controls.directionEl))},w=function(){c.controls.start=q('<div class="bx-controls-auto-item"><a class="bx-start" href="" aria-label="Autoplay start">'+c.settings.startText+"</a></div>"),c.controls.stop=q('<div class="bx-controls-auto-item"><a class="bx-stop" href="" aria-label="Autoplay stop">'+c.settings.stopText+"</a></div>"),c.controls.autoEl=q('<div class="bx-controls-auto" />'),c.controls.autoEl.on("click",".bx-start",N),c.controls.autoEl.on("click",".bx-stop",z),c.settings.autoControlsCombine?c.controls.autoEl.append(c.controls.start):c.controls.autoEl.append(c.controls.start).append(c.controls.stop),c.settings.autoControlsSelector?q(c.settings.autoControlsSelector).html(c.controls.autoEl):c.controls.el.addClass("bx-has-controls-auto").append(c.controls.autoEl),j(c.settings.autoStart?"stop":"start")},x=function(){c.children.each(function(e){var t=q(this).find("img:first").attr("title");void 0!==t&&(""+t).length&&q(this).append('<div class="bx-caption"><span>'+t+"</span></div>")})},k=function(e){e.preventDefault(),c.controls.el.hasClass("disabled")||(c.settings.auto&&c.settings.stopAutoOnClick&&u.stopAuto(),u.goToNextSlide())},T=function(e){e.preventDefault(),c.controls.el.hasClass("disabled")||(c.settings.auto&&c.settings.stopAutoOnClick&&u.stopAuto(),u.goToPrevSlide())},N=function(e){u.startAuto(),e.preventDefault()},z=function(e){u.stopAuto(),e.preventDefault()},$=function(e){e.preventDefault(),c.controls.el.hasClass("disabled")||(c.settings.auto&&c.settings.stopAutoOnClick&&u.stopAuto(),void 0!==(e=q(e.currentTarget)).attr("data-sli
1de-index")&&(e=parseInt(e.attr("data-slide-index")))!==c.active.index&&u.goToSlide(e))},C=function(i){var e=c.children.length;"short"===c.settings.pagerType?(1<c.settings.maxSlides&&(e=Math.ceil(c.children.length/c.settings.maxSlides)),c.pagerEl.html(i+1+c.settings.pagerShortSeparator+e)):(c.pagerEl.find("a").removeClass("active"),c.pagerEl.each(function(e,t){q(t).find("a").eq(i).addClass("active")}))},S=function(){var e;c.settings.infiniteLoop&&(e="",0===c.active.index?e=c.children.eq(0).position():c.active.index===f()-1&&c.carousel?e=c.children.eq((f()-1)*m()).position():c.active.index===c.children.length-1&&(e=c.children.eq(c.children.length-1).position()),e)&&("horizontal"===c.settings.mode?v(-e.left,"reset",0):"vertical"===c.settings.mode&&v(-e.top,"reset",0)),c.working=!1,c.settings.onSlideAfter.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index)},j=function(e){c.settings.autoControlsCombine?c.controls.autoEl.html(c.controls[e]):(c.controls.autoEl.find("a").removeClass("active"),c.controls.autoEl.find("a:not(.bx-"+e+")").addClass("active"))},E=function(){1===f()?(c.controls.prev.addClass("disabled"),c.controls.next.addClass("disabled")):!c.settings.infiniteLoop&&c.settings.hideControlOnEnd&&(0===c.active.index?(c.controls.prev.addClass("disabled"),c.controls.next):c.active.index===f()-1?(c.controls.next.addClass("disabled"),c.controls.prev):(c.controls.prev.removeClass("disabled"),c.controls.next)).removeClass("disabled")},D=function(){u.startAuto()},M=function(){u.stopAuto()},H=function(){0<c.settings.autoDelay?setTimeout(u.startAuto,c.settings.autoDelay):(u.startAuto(),q(window).focus(D).blur(M)),c.settings.autoHover&&u.hover(function(){c.interval&&(u.stopAuto(!0),c.autoPaused=!0)},function(){c.autoPaused&&(u.startAuto(!0),c.autoPaused=null)})},R=function(){var e,t,i,n,o,s,r,a,l=0;"next"===c.settings.autoDirection?u.append(c.children.clone().addClass("bx-clone")):(u.prepend(c.children.clone().addClass("bx-clone")),e=c.children.first().position(),l="horizontal"===c.settings.mode?-e.left:-e.top),v(l,"reset",0),c.settings.pager=!1,c.settings.controls=!1,c.settings.autoControls=!1,c.settings.tickerHover&&(c.usingCSS?(n="horizontal"===c.settings.mode?4:5,c.viewport.hover(function(){t=u.css("-"+c.cssPrefix+"-transform"),i=parseFloat(t.split(",")[n]),v(i,"reset",0)},function(){a=0,c.children.each(function(e){a+="horizontal"===c.settings.mode?q(this).outerWidth(!0):q(this).outerHeight(!0)}),o=c.settings.speed/a,s="horizontal"===c.settings.mode?"left":"top",r=o*(a-Math.abs(parseInt(i))),P(r)})):c.viewport.hover(function(){u.stop()},function(){a=0,c.children.each(function(e){a+="horizontal"===c.settings.mode?q(this).outerWidth(!0):q(this).outerHeight(!0)}),o=c.settings.speed/a,s="horizontal"===c.settings.mode?"left":"top",r=o*(a-Math.abs(parseInt(u.css(s)))),P(r)})),P()},P=function(e){var e=e||c.settings.speed,t={left:0,top:0},i={left:0,top:0};"next"===c.settings.autoDirection?t=u.find(".bx-clone").first().position():i=c.children.first().position(),t="horizontal"===c.settings.mode?-t.left:-t.top,i="horizontal"===c.settings.mode?-i.left:-i.top,v(t,"ticker",e,{resetValue:i})},B=function(e){var t=q(window),i={top:t.scrollTop(),left:t.scrollLeft()},n=e.offset();return i.right=i.left+t.width(),i.bottom=i.top+t.height(),n.right=n.left+e.outerWidth(),n.bottom=n.top+e.outerHeight(),!(i.right<n.left||i.left>n.right||i.bottom<n.top||i.top>n.bottom)},O=function(e){var t=document.activeElement.tagName.toLowerCase();if(null==new RegExp(t,["i"]).exec("input|textarea")&&B(u))return 39===e.keyCode?(k(e),!1):37===e.ke
1yCode?(T(e),!1):void 0},V=function(){c.touch={start:{x:0,y:0},end:{x:0,y:0}},c.viewport.on("touchstart MSPointerDown pointerdown",W),c.viewport.on("click",".bxslider a",function(e){c.viewport.hasClass("click-disabled")&&(e.preventDefault(),c.viewport.removeClass("click-disabled"))})},W=function(e){q(e.target).is("a")||0<q(e.target).closest(".slide-caption > *").length||u.getSlideCount()<=1||"touchstart"!==e.type&&0!==e.button||(e=(void 0!==(e=e.originalEvent).changedTouches?e.changedTouches:[e])[0],c.touch.start.x=e.pageX,c.touch.start.y=e.pageY,c.touch.originalPos=u.position(),c.hasMove=!1,c.viewport.on("touchmove",function e(t){var i=t.originalEvent.changedTouches[0];Math.abs(i.pageX-c.touch.start.x)<Math.abs(i.pageY-c.touch.start.y)?(c.viewport.off("touchmove",e),c.viewport.off("touchend",F)):A(t)}),c.viewport.on("touchend",F))},A=function(e){var t=e.originalEvent,t=void 0!==t.changedTouches?t.changedTouches:[t],i=Math.abs(t[0].pageX-c.touch.start.x),n=Math.abs(t[0].pageY-c.touch.start.y),o=0,s=0;c.hasMove=!0,n<i&&c.settings.preventDefaultSwipeX&&(e.preventDefault(),"touchmove"!==e.type&&e.preventDefault(),"fade"!==c.settings.mode)&&c.settings.oneToOneTouch&&(o="horizontal"===c.settings.mode?(s=t[0].pageX-c.touch.start.x,c.touch.originalPos.left+s):(s=t[0].pageY-c.touch.start.y,c.touch.originalPos.top+s),v(o,"reset",0))},F=function(e){e.preventDefault(),c.viewport.off("touchmove MSPointerMove pointermove",A),c.controls.el.removeClass("disabled");var e=e.originalEvent,e=void 0!==e.changedTouches?e.changedTouches:[e],t=0,i=0;c.touch.end.x=e[0].pageX,c.touch.end.y=e[0].pageY,"fade"===c.settings.mode?(i=Math.abs(c.touch.start.x-c.touch.end.x))>=c.settings.swipeThreshold&&(c.touch.start.x>c.touch.end.x?u.goToNextSlide():u.goToPrevSlide(),u.stopAuto()):(t="horizontal"===c.settings.mode?(i=c.touch.end.x-c.touch.start.x,c.touch.originalPos.left):(i=c.touch.end.y-c.touch.start.y,c.touch.originalPos.top),(c.settings.infiniteLoop||!(0===c.active.index&&0<i||c.active.last&&i<0))&&Math.abs(i)>=c.settings.swipeThreshold?(i<0?u.goToNextSlide():u.goToPrevSlide(),u.stopAuto()):v(t,"reset",200)),c.viewport.off("touchend MSPointerUp pointerup",F),c.viewport.get(0).releasePointerCapture&&c.viewport.get(0).releasePointerCapture(c.pointerId),!1!==c.hasMove||0!==c.originalClickButton&&"touchstart"!==c.originalEventType||q(c.originalClickTarget).trigger({type:"click",button:c.originalClickButton,buttons:c.originalClickButtons})},I=function(e){var t,i;c.initialized&&(c.working?window.setTimeout(I,10):(t=q(window).width(),i=q(window).height(),n===t&&o===i||(n=t,o=i,u.redrawSlider(),c.settings.onSliderResize.call(u,c.active.index))))},L=function(e){var t=p();c.settings.ariaHidden&&!c.settings.ticker&&(c.children.attr("aria-hidden","true"),c.children.slice(e,e+t).attr("aria-hidden","false"))},u.goToSlide=function(e,t){var i,n=!0,o=0,s={left:0,top:0},r=null;c.oldIndex=c.active.index,c.active.index=(i=e)<0?c.settings.infiniteLoop?f()-1:c.active.index:i>=f()?c.settings.infiniteLoop?0:c.active.index:i,c.working||c.active.index===c.oldIndex||(c.working=!0,void 0===(n=c.settings.onSlideBefore.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index))||n?("next"===t?c.settings.onSlideNext.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index)||(n=!1):"prev"!==t||c.settings.onSlidePrev.call(u,c.children.eq(c.active.index),c.oldIndex,c.active.index)||(n=!1),c.active.last=c.active.index>=f()-1,(c.settings.pager||c.settings.pagerCustom)&&C(c.active.index),c.settings.controls&&E(),"fade"===c.settings.mode?(c.settings.adaptiveHeight&&c.viewport.height()!==l()&&c.viewport.animate({height:l()},c.settings.adaptiveHeightSpeed),c.children.filter(":visible").fadeOut(c.settings.speed).css({zIndex:0}),c.children.eq(c.active.index).css("zIndex",c.settings.slideZIndex+1).fadeIn(c.settings.speed,function(){q(this).css("zIndex",c.settings.slideZIndex),S()})):(c.settings.adaptiveHeight&&c.viewport.height()!==l()&&c.viewport.animate({height:l()},c.settings.adaptiveHeightSpeed),!c.settings.infiniteLoop&&c.carousel&&c.active.last?"horizontal"===c.settings.mode?(s=(r=c.children.eq(c.children.length-1)).position(),o=c.viewport.width()-r.outerWidth()):(i=c.children.length-c.settings.minSlides,s=c.children.eq(i).position()):c.carousel&&c.active.last&&"prev"===t?(n=1===c.settings.moveSlides?c.settings.maxSlides-m():(f()-1)*m()-(c.children.length-c.settings.maxSlides),s=(r=u.children(".bx-clone").eq(n)).position()):"next"===t&&0===c.active.index?(s=u.find("> .bx-clone").eq(c.settings.maxSlides).position(),c.active.last=!1):0<=e&&(i=e*parseInt(m()),s=c.children.eq(i).position()),void 0!==s&&(n="horizontal"===c.settings.mode?-(s.left-o):-s.top,v(n,"slide",c.settings.speed)),c.working=!1),c.settings.ariaHidden&&L(c.active.index*m())):(c.active.index=c.oldIndex,c.working=!1))},u.goToNextSlide=function(){var e;!c.settings.infiniteLoop&&c.active.last||!0!==c.working&&(e=parseInt(c.active.index)+1,u.goToSlide(e,"next"))},u.goToPrevSlide=function(){var e;!c.settings.infiniteLoop&&0===c.active.index||!0===c.working||(e=parseInt(c.active.index)-1,u.goToSlide(e,"prev"))},u.startAuto=function(e){c.interval||(c.interval=setInterval(function(){"next"===c.settings.autoDirection?u.goToNextSlide():u.goToPrevSlide()},c.settings.pause),c.settings.onAutoChange.call(u,!0),c.settings.autoControls&&!0!==e&&j("stop"))},u.stopAuto=function(e){c.autoPaused&&(c.autoPaused=!1),c.interval&&(clearInterval(c.interval),c.interval=null,c.settings.onAutoChange.call(u,!1),c.settings.autoControls)&&!0!==e&&j("start")},u.getCurrentSlide=function(){return c.active.index},u.getCurrentSlideElement=function(){return c.children.eq(c.active.index)},u.getSlideElement=function(e){return c.children.eq(e)},u.getSlideCount=function(){return c.children.length},u.isWorking=function(){return c.working},u.redrawSlider=function(){c.children.add(u.find(".bx-clone")).outerWidth(d()),c.viewport.css("height",l()),c.settings.ticker||g(),c.active.last&&(c.active.index=f()-1),c.active.index>=f()&&(c.active.last=!0),c.settings.pager&&!c.settings.pagerCustom&&(y(),C(c.active.index)),c.settings.ariaHidden&&L(c.active.index*m())},u.destroySlider=function(){c.initialized&&(c.initialized=!1,q(".bx-clone",this).remove(),c.children.each(function(){void 0!==q(this).data("origStyle")?q(this).attr("style",q(this).data("origStyle")):q(this).removeAttr("style")}),void 0!==q(this).data("origStyle")?this.attr("style",q(this).data("origStyle")):q(this).removeAttr("style"),q
1(this).unwrap().unwrap(),c.controls.el&&c.controls.el.remove(),c.controls.next&&c.controls.next.remove(),c.controls.prev&&c.controls.prev.remove(),c.pagerEl&&c.settings.controls&&!c.settings.pagerCustom&&c.pagerEl.remove(),q(".bx-caption",this).remove(),c.controls.autoEl&&c.controls.autoEl.remove(),clearInterval(c.interval),c.settings.responsive&&q(window).off("resize",I),c.settings.keyboardEnabled&&q(document).off("keydown",O),q(this).removeData("bxSlider"),q(window).off("blur",M).off("focus",D))},u.reloadSlider=function(e){void 0!==e&&(t=e),u.destroySlider(),s(),q(u).data("bxSlider",this)},s(),q(u).data("bxSlider",this),this))}})(jQuery),((u,h,d)=>{function p(e,t,i){e=h.createElement(e);return t&&(e.id=N+t),i&&(e.style.cssText=i),u(e)}function R(){return d.innerHeight||u(d).height()}function B(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var t;return void 0===this.cache[e]&&(void 0!==(t=u(this.el).attr("data-cbox-"+e))?this.cache[e]=t:void 0!==i[e]?this.cache[e]=i[e]:void 0!==oe[e]&&(this.cache[e]=oe[e])),this.cache[e]},this.get=function(e){e=this.value(e);return u.isFunction(e)?e.call(this.el,this):e}}function a(e){var t=w.length,e=(M+e)%t;return e<0?t+e:e}function f(e,t){return Math.round((/%/.test(e)?("x"===t?x.width():R())/100:1)*parseInt(e,10))}function V(e,t){return e.get("photo")||e.get("photoRegex").test(t)}function W(e,t){return e.get("retinaUrl")&&1<d.devicePixelRatio?t.replace(e.get("photoRegex"),e.get("retinaSuffix")):t}function q(e){"contains"in y[0]&&!y[0].contains(e.target)&&e.target!==v[0]&&(e.stopPropagation(),y.focus())}function m(e){m.str!==e&&(y.add(v).removeClass(m.str).addClass(e),m.str=e)}function g(e){u(h).trigger(e),$.triggerHandler(e)}function o(e){var t,i,n,o,s,r,a,l,c;F||(i=u(e).data(L),C=new B(e,i),c=C.get("rel"),M=0,c&&!1!==c&&"nofollow"!==c?(w=u("."+z).filter(function(){return new B(this,u.data(this,L)).get("rel")===c}),-1===(M=w.index(C.el))&&(w=w.add(C.el),M=w.length-1)):w=u(C.el),O||(O=A=!0,m(C.get("className")),y.css({visibility:"hidden",display:"block",opacity:""}),k=p(H,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),_.css({width:"",height:""}).append(k),S=U.height()+X.height()+_.outerHeight(!0)-_.height(),j=Y.width()+Q.width()+_.outerWidth(!0)-_.width(),E=k.outerHeight(!0),D=k.outerWidth(!0),e=f(C.get("initialWidth"),"x"),i=f(C.get("initialHeight"),"y"),n=C.get("maxWidth"),t=C.get("maxHeight"),C.w=Math.max((!1!==n?Math.min(e,f(n,"x")):e)-D-j,0),C.h=Math.max((!1!==t?Math.min(i,f(t,"y")):i)-E-S,0),k.css({width:"",height:C.h}),I.position(),g(se),C.get("onOpen"),J.add(K).hide(),y.focus(),C.get("trapFocus")&&h.addEventListener&&(h.addEventListener("focus",q,!0),$.one(ce,function(){h.removeEventListener("focus",q,!0)})),C.get("returnFocus")&&$.one(ce,function(){u(C.el).focus()})),n=parseFloat(C.get("opacity")),v.css({opacity:n==n?n:"",cursor:C.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),C.get("closeButton")?Z.html(C.get("close")).appendTo(_):Z.appendTo("<div/>"),a=I.prep,l=++he,P=!(A=!0),g(ue),g(re),C.get("onLoad"),C.h=C.get("height")?f(C.get("height"),"y")-E-S:C.get("innerHeight")&&f(C.get("innerHeight"),"y"),C.w=C.get("width")?f(C.get("width"),"x")-D-j:C.get("innerWidth")&&f(C.get("innerWidth"),"x"),C.mw=C.w,C.mh=C.h,C.get("maxWidth")&&(C.mw=f(C.get("maxWidth"),"x")-D-j,C.mw=C.w&&C.w<C.mw?C.w:C.mw),C.get("maxHeight")&&(C.mh=f(C.get("maxHeight"),"y")-E-S,C.mh=C.h&&C.h<C.mh?C.h:C.mh),e=C.get("href"),ee=setTimeout(function(){G.show()},100),C.get("inline")?(r=u(e).eq(0),s=u("<div>").hide().insertBefore(r),$.one(ue,function(){s.replaceWith(r)}),a(r)):C.get("iframe")?a(" "):C.get("html")?a(C.get("html")):V(C,e)?(e=W(C,e),P=C.get("createImg"),u(P).addClass(N+"Photo").bind("error."+N,function(){a(p(H,"Error").html(C.get("imgError")))}).one("load",function(){l===he&&setTimeout(function(){var e;C.get("retinaImage")&&1<d.devicePixelRatio&&(P.height=P.height/d.devicePixelRatio,P.width=P.width/d.devicePixelRatio),C.get("scalePhotos")&&(o=function(){P.height-=P.height*e,P.width-=P.width*e},C.mw&&P.width>C.mw&&(e=(P.width-C.mw)/P.width,o()),C.mh)&&P.height>C.mh&&(e=(P.height-C.mh)/P.height,o()),C.h&&(P.style.marginTop=Math.max(C.mh-P.height,0)/2+"px"),w[1]&&(C.get("loop")||w[M+1])&&(P.style.cursor="pointer",u(P).bind("click."+N,function(){I.next()})),P.style.width=P.width+"px",P.style.height=P.height+"px",a(P)},1)}),P.src=e):e&&T.load(e,C.get("data"),function(e,t){l===he&&a("error"===t?p(H,"Error").html(C.get("xhrError")):u(this).contents())}))}function l(){y||(te=!1,x=u(d),y=p(H).attr({id:L,class:!1===u.support.opacity?N+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=p(H,"Overlay").hide(),G=u([p(H,"LoadingOverlay")[0],p(H,"LoadingGraphic")[0]]),b=p(H,"Wrapper"),_=p(H,"Content").append(K=p(H,"Title"),c=p(H,"Current"),r=u('<button type="button"/>').attr({id:N+"Previous"}),s=u('<button type="button"/>').attr({id:N+"Next"}),e=u('<button type="button"/>').attr({id:N+"Slideshow"}),G),Z=u('<button type="button"/>').attr({id:N+"Close"}),b.append(p(H).append(p(H,"TopLeft"),U=p(H,"TopCenter"),p(H,"TopRight")),p(H,!1,"clear:left").append(Y=p(H,"MiddleLeft"),_,Q=p(H,"MiddleRight")),p(H,!1,"clear:left").append(p(H,"BottomLeft"),X=p(H,"BottomCenter"),p(H,"BottomRight"))).find("div div").css({float:"left"}),T=p(H,!1,"position:absolute; width:9999px; visibility:hidden; display:none; max-width:none;"),J=s.add(r).add(c).add(e)),h.body&&!y.parent().length&&u(h.body).append(v,y.append(b,T))}var v,y,b,_,U,Y,Q,X,w,x,k,T,G,K,c,e,s,r,Z,J,C,S,j,E,D,M,P,O,A,F,ee,I,te,n,ie,t,ne,oe={html:!1,photo:!1,iframe:!1,inline:!1,transition:"elastic",speed:300,fadeOut:300,width:!1,initialWidth:"600",innerWidth:!1,maxWidth:!1,height:!1,initialHeight:"450",innerHe
1ight:!1,maxHeight:!1,scalePhotos:!0,scrolling:!0,opacity:.9,preloading:!0,className:!1,overlayClose:!0,escKey:!0,arrowKey:!0,top:!1,bottom:!1,left:!1,right:!1,fixed:!1,data:void 0,closeButton:!0,fastIframe:!0,open:!1,reposition:!0,loop:!0,slideshow:!1,slideshowAuto:!0,slideshowSpeed:2500,slideshowStart:"start slideshow",slideshowStop:"stop slideshow",photoRegex:/\.(gif|png|jp(e|g|eg)|bmp|ico|webp|jxr|svg)((#|\?).*)?$/i,retinaImage:!1,retinaUrl:!1,retinaSuffix:"@2x.$1",current:"image {current} of {total}",previous:"previous",next:"next",close:"close",xhrError:"This content failed to load.",imgError:"This image failed to load.",returnFocus:!0,trapFocus:!0,onOpen:!1,onLoad:!1,onComplete:!1,onCleanup:!1,onClosed:!1,rel:function(){return this.rel},href:function(){return u(this).attr("href")},title:function(){return this.title},createImg:function(){var i=new Image,e=u(this).data("cbox-img-attrs");return"object"==typeof e&&u.each(e,function(e,t){i[e]=t}),i},createIframe:function(){var i=h.createElement("iframe"),e=u(this).data("cbox-iframe-attrs");return"object"==typeof e&&u.each(e,function(e,t){i[e]=t}),"frameBorder"in i&&(i.frameBorder=0),"allowTransparency"in i&&(i.allowTransparency="true"),i.name=(new Date).getTime(),i.allowFullscreen=!0,i}},L="colorbox",N="cbox",z=N+"Element",se=N+"_open",re=N+"_load",ae=N+"_complete",le=N+"_cleanup",ce=N+"_closed",ue=N+"_purge",$=u("<a/>"),H="div",he=0,de={},pe=(t=N+"Slideshow_",ne="click."+N,function(){n?C.get("slideshow")||($.unbind(le,ve),ve()):C.get("slideshow")&&w[1]&&(n=!0,$.one(le,ve),(C.get("slideshowAuto")?me:ge)(),e.show())});function i(){clearTimeout(ie)}function fe(){(C.get("loop")||w[M+1])&&(i(),ie=setTimeout(I.next,C.get("slideshowSpeed")))}function me(){e.html(C.get("slideshowStop")).unbind(ne).one(ne,ge),$.bind(ae,fe).bind(re,i),y.removeClass(t+"off").addClass(t+"on")}function ge(){i(),$.unbind(ae,fe).unbind(re,i),e.html(C.get("slideshowStart")).unbind(ne).one(ne,function(){I.next(),me()}),y.removeClass(t+"on").addClass(t+"off")}function ve(){n=!1,e.hide(),i(),$.unbind(ae,fe).unbind(re,i),y.removeClass(t+"off "+t+"on")}u[L]||(u(l),(I=u.fn[L]=u[L]=function(t,e){var i=this;return t=t||{},u.isFunction(i)&&(i=u("<a/>"),t.open=!0),i[0]&&(l(),y)&&(te||(te=!0,s.click(function(){I.next()}),r.click(function(){I.prev()}),Z.click(function(){I.close()}),v.click(function(){C.get("overlayClose")&&I.close()}),u(h).bind("keydown."+N,function(e){var t=e.keyCode;O&&C.get("escKey")&&27===t&&(e.preventDefault(),I.close()),O&&C.get("arrowKey")&&w[1]&&!e.altKey&&(37===t?(e.preventDefault(),r.click()):39===t&&(e.preventDefault(),s.click()))}),u.isFunction(u.fn.on)?u(h).on("click."+N,"."+z,n):u("."+z).live("click."+N,n)),1)&&(e&&(t.onComplete=e),i.each(function(){var e=u.data(this,L)||{};u.data(this,L,u.extend(e,t))}).addClass(z),new B(i[0],t).get("open")&&o(i[0])),i;function n(e){1<e.which||e.shiftKey||e.altKey||e.metaKey||e.ctrlKey||(e.preventDefault(),o(this))}}).position=function(t,e){function i(){U[0].style.width=X[0].style.width=_[0].style.width=parseInt(y[0].style.width,10)-j+"px",_[0].style.height=Y[0].style.height=Q[0].style.height=parseInt(y[0].style.height,10)-S+"px"}var n,o,s,r,a=0,l=0,c=y.offset();x.unbind("resize."+N),y.css({top:-9e4,left:-9e4}),o=x.scrollTop(),s=x.scrollLeft(),C.get("fixed")?(c.top-=o,c.left-=s,y.css({position:"fixed"})):(a=o,l=s,y.css({position:"absolute"})),l+=!1!==C.get("right")?Math.max(x.width()-C.w-D-j-f(C.get("right"),"x"),0):!1!==C.get("left")?f(C.get("left"),"x"):Math.round(Math.max(x.width()-C.w-D-j,0)/2),a+=!1!==C.get("bottom")?Math.max(R()-C.h-E-S-f(C.get("bottom"),"y"),0):!1!==C.get("top")?f(C.get("top"),"y"):Math.round(Math.max(R()-C.h-E-S,0)/2),y.css({top:c.top,left:c.left,visibility:"visible"}),b[0].style.width=b[0].style.height="9999px",n={width:C.w+D+j,height:C.h+E+S,top:a,left:l},t&&(r=0,u.each(n,function(e){return n[e]!==de[e]?void(r=t):void 0}),t=r),de=n,t||y.css(n),y.dequeue().animate(n,{duration:t||0,complete:function(){i(),A=!1,b[0].style.width=C.w+D+j+"px",b[0].style.height=C.h+E+S+"px",C.get("reposition")&&setTimeout(function(){x.bind("resize."+N,I.position)},1),u.isFunction(e)&&e()},step:i})},I.resize=function(e){var t;O&&((e=e||{}).width&&(C.w=f(e.width,"x")-D-j),e.innerWidth&&(C.w=f(e.innerWidth,"x")),k.css({width:C.w}
1),e.height&&(C.h=f(e.height,"y")-E-S),e.innerHeight&&(C.h=f(e.innerHeight,"y")),e.innerHeight||e.height||(t=k.scrollTop(),k.css({height:"auto"}),C.h=k.height()),k.css({height:C.h}),t&&k.scrollTop(t),I.position("none"===C.get("transition")?0:C.get("speed")))},I.prep=function(e){var t,o;O&&(o="none"===C.get("transition")?0:C.get("speed"),k.remove(),(k=p(H,"LoadedContent").append(e)).hide().appendTo(T.show()).css({width:(C.w=C.w||k.width(),C.w=C.mw&&C.mw<C.w?C.mw:C.w,C.w),overflow:C.get("scrolling")?"auto":"hidden"}).css({height:(C.h=C.h||k.height(),C.h=C.mh&&C.mh<C.h?C.mh:C.h,C.h)}).prependTo(_),T.hide(),u(P).css({float:"none"}),m(C.get("className")),t=function(){function e(){!1===u.support.opacity&&y[0].style.removeAttribute("filter")}var t,i,n=w.length;O&&(i=function(){clearTimeout(ee),G.hide(),g(ae),C.get("onComplete")},K.html(C.get("title")).show(),k.show(),1<n?("string"==typeof C.get("current")&&c.html(C.get("current").replace("{current}",M+1).replace("{total}",n)).show(),s[C.get("loop")||M<n-1?"show":"hide"]().html(C.get("next")),r[C.get("loop")||M?"show":"hide"]().html(C.get("previous")),pe(),C.get("preloading")&&u.each([a(-1),a(1)],function(){var e=w[this],e=new B(e,u.data(e,L)),t=e.get("href");t&&V(e,t)&&(t=W(e,t),h.createElement("img").src=t)})):J.hide(),C.get("iframe")?(t=C.get("createIframe"),C.get("scrolling")||(t.scrolling="no"),u(t).attr({src:C.get("href"),class:N+"Iframe"}).one("load",i).appendTo(k),$.one(ue,function(){t.src="//about:blank"}),C.get("fastIframe")&&u(t).trigger("load")):i(),"fade"===C.get("transition")?y.fadeTo(o,1,e):e())},"fade"===C.get("transition")?y.fadeTo(o,0,function(){I.position(0,t)}):I.position(o,t))},I.next=function(){!A&&w[1]&&(C.get("loop")||w[M+1])&&(M=a(1),o(w[M]))},I.prev=function(){!A&&w[1]&&(C.get("loop")||M)&&(M=a(-1),o(w[M]))},I.close=function(){O&&!F&&(O=!(F=!0),g(le),C.get("onCleanup"),x.unbind("."+N),v.fadeTo(C.get("fadeOut")||0,0),y.stop().fadeTo(C.get("fadeOut")||0,0,function(){y.hide(),v.hide(),g(ue),k.remove(),setTimeout(function(){F=!1,g(ce),C.get("onClosed")},1)}))},I.remove=function(){y&&(y.stop(),u[L].close(),y.stop(!1,!0).remove(),v.remove(),F=!1,y=null,u("."+z).removeData(L).removeClass(z),u(h).unbind("click."+N).unbind("keydown."+N))},I.element=function(){return u(C.el)},I.settings=oe)})(jQuery,document,window),(c=>{var u,h,r,y,b,_,w,s,d,x,i,p,k;function f(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function T(e,t,i){"addEventListener"in window?e.addEventListener(t,i,!1):"attachEvent"in window&&e.attachEvent("on"+t,i)}function z(e,t,i){"removeEventListener"in window?e.removeEventListener(t,i,!1):"detachEvent"in window&&e.detachEvent("on"+t,i)}function v(e){return b+"["+(t="Host page: "+(e=e),t=window.top!==window.self?window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e:t)+"]";var t}function n(e){return x[e]?x[e].log:h}function C(e,t){o("log",e,t,n(e))}function S(e,t){o("info",e,t,n(e))}function j(e,t){o("warn",e,t,!0)}function o(e,t,i,n){!0===n&&"object"==typeof window.console&&console[e](v(t),i)}function $(e){function i(){t("Height"),t("Width"),I(function(){F(m),P(g),u("resizedCallback",m)},m,"init")}function t(e){var t=Number(x[g]["max"+e]),i=Number(x[g]["min"+e]),e=e.toLowerCase(),n=Number(m[e]);C(g,"Checking "+e+" is in range "+i+"-"+t),n<i&&(n=i,C(g,"Set "+e+" to min value")),t<n&&(n=t,C(g,"Set "+e+" to max value")),m[e]=""+n}function n(){var n=e.origin,o=x[g]&&x[g].checkOrigin;if(o&&""+n!="null"&&!(()=>{if(o.constructor!==Array)return e=x[g]&&x[g].remoteHost,C(g,"Checking connection is from: "+e),n===e;var e,t=0,i=!1;for(C(g,"Checking connection is from allowed list of origins: "+o);t<o.length;t++)if(o[t]===n){i=!0;break}return i})())throw new Error("Unexpected message received from: "+n+" for "+m.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return 1}function r(e){return f.substr(f.indexOf(":")+y+e)}function a(i,n){var e,t,o;e=function(){var e,t;L("Send Page Info","pageInfo:"+(e=document.body.getBoundingClientRect(),t=m.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})),i,n)},t=32,k[o=n]||(k[o]=setTimeout(function(){k[o]=null,e()},t))}function o(e){e=e.getBoundingClientRect();return M(g),{x:Math.floor(Number(e.left)+Number(w.x)),y:Math.floor(Number(e.top)+Number(w.y))}}function l(e){var t=e?o(m.iframe):{x:0,y:0},i={x:Number(m.width)+t.x,y:Number(m.height)+t.y};C(g,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](i.x,i.y):j(g,"Unable to scroll to requested position, window.parentIFrame not found"):(w=i,s(),C(g,"--"))}function s(){!1!==u("scrollCallback",w)?P(g):O()}function c(e){var e=e.split("#")[1]||"",t=decodeURIComponent(e),t=document.getElementById(t)||document.getElementsByName(t)[0];t?(t=o(t),C(g,"Moving to in page link (#"+e+") at x: "+t.x+" y: "+t.y),w={x:t.x,y:t.y},s(),C(g,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(e):C(g,"In page link #"+e+" not found and window.parentIFrame not found"):C(g,"In page link #"+e+" not found")}function u(e,t){return E(g,e,t)}function h(){switch(x[g]&&x[g].firstRun&&x[g]&&(x[g].firstRun=!1),m.type){case"close"
1:x[g].closeRequestCallback?E(g,"closeRequestCallback",x[g].iframe):D(m.iframe);break;case"message":t=r(6),C(g,"MessageCallback passed: {iframe: "+m.iframe.id+", message: "+t+"}"),u("messageCallback",{iframe:m.iframe,message:JSON.parse(t)}),C(g,"--");break;case"scrollTo":l(!1);break;case"scrollToOffset":l(!0);break;case"pageInfo":a(x[g]&&x[g].iframe,g),s=g,e("Add ",T),x[s]&&(x[s].stopPageInfo=o);break;case"pageInfoStop":x[g]&&x[g].stopPageInfo&&(x[g].stopPageInfo(),delete x[g].stopPageInfo);break;case"inPageLink":c(r(9));break;case"reset":A(m);break;case"init":i(),u("initCallback",m.iframe);break;default:i()}function e(t,i){function n(){x[s]?a(x[s].iframe,s):o()}["scroll","resize"].forEach(function(e){C(s,t+e+" listener for sendPageInfo"),i(window,e,n)})}function o(){e("Remove ",z)}var s,t}var d,p,f=e.data,m={},g=null;if("[iFrameResizerChild]Ready"===f)for(var v in x)L("iFrame requested init",N(v),document.getElementById(v),v);else b===(""+f).substr(0,_)&&f.substr(_).split(":")[0]in x?(p=f.substr(_).split(":"),m={iframe:x[p[0]]&&x[p[0]].iframe,id:p[0],height:p[1],width:p[2],type:p[3]},g=m.id,x[g]&&(x[g].loaded=!0),(p=m.type in{true:1,false:1,undefined:1})&&C(g,"Ignoring init message from meta parent page"),!p&&(p=!0,x[d=g]||(p=!1,j(m.type+" No settings for "+d+". Message was: "+f)),p)&&(C(g,"Received: "+f),d=!0,null===m.iframe&&(j(g,"IFrame ("+m.id+") not found"),d=!1),d&&n()&&h())):S(g,"Ignored: "+f)}function E(e,t,i){var n=null,o=null;if(x[e]){if("function"!=typeof(n=x[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=n(i)}return o}function m(e){e=e.id;delete x[e]}function D(e){var t=e.id;C(t,"Removing iFrame: "+t);try{e.parentNode&&e.parentNode.removeChild(e)}catch(e){}E(t,"closedCallback",t),C(t,"--"),m(e)}function M(e){null===w&&C(e,"Get page position: "+(w={x:window.pageXOffset!==c?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==c?window.pageYOffset:document.documentElement.scrollTop}).x+","+w.y)}function P(e){null!==w&&(window.scrollTo(w.x,w.y),C(e,"Set page position: "+w.x+","+w.y),O())}function O(){w=null}function A(e){C(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),M(e.id),I(function(){F(e),L("reset","reset",e.iframe,e.id)},e,"reset")}function F(o){function i(e){var t;function i(){for(var e in x)(t=>{function e(e){return"0px"===(x[t]&&x[t].iframe.style[e])}x[t]&&null!==x[t].iframe.offsetParent&&(e("height")||e("width"))&&L("Visibility change","resize",x[t].iframe,t)})(e)}function n(e){C("window","Mutation observed: "+e[0].target+" "+e[0].type),l(i,16)}!r&&"0"===o[e]&&(r=!0,C(s,"Hidden iFrame detected, creating visibility listener"),e=f())&&(t=document.querySelector("body"),new e(n).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}function e(e){var t;t=e,o.id?(o.iframe.style[t]=o[t]+"px",C(o.id,"IFrame ("+s+") "+t+" set to "+o[t]+"px")):C("undefined","messageData id not set"),i(e)}var s=o.iframe.id;x[s]&&(x[s].sizeHeight&&e("height"),x[s].sizeWidth)&&e("width")}function I(e,t,i){i!==t.type&&s?(C(t.id,"Requesting animation frame"),s(e)):e()}function L(t,i,n,o,e){function s(){var e;n&&"contentWindow"in n&&null!==n.contentWindow?(e=x[o]&&x[o].targetOrigin,C(o,"["+t+"] Sending msg to iframe["+o+"] ("+i+") targetOrigin: "+e),n.contentWindow.postMessage(b+i,e)):j(o,"["+t+"] IFrame("+o+") not found")}function r(){e&&x[o]&&x[o].warningTimeout&&(x[o].msgTimeout=setTimeout(function(){!x[o]||x[o].loaded||a||(a=!0,j(o,"IFrame has not responded within "+x[o].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ignored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},x[o].warningTimeout))}var a=!1;o=o||n.id,x[o]&&(s(),r())}function N(e){return e+":"+x[e].bodyMarginV1+":"+x[e].sizeWidth+":"+x[e].log+":"+x[e].interval+":"+x[e].enablePublicMethods+":"+x[e].autoResize+":"+x[e].bodyMargin+":"+x[e].heightCalculationMethod+":"+x[e].bodyBackground+":"+x[e].bodyPadding+":"+x[e].tolerance+":"+x[e].inPageLinks+":"+x[e].resizeFrom+":"+x[e].widthCalculationMethod}function a(n,e){function t(i){var e=f();e&&(e=e,n.parentNode)&&new e(function(e){e.forEach(function(e){Array.prototype.slice.call(e.removedNodes
1).forEach(function(e){e===n&&D(n)})})}).observe(n.parentNode,{childList:!0}),T(n,"load",function(){var e,t;L("iFrame.onload",i,n,c,!0),e=x[r]&&x[r].firstRun,t=x[r]&&x[r].heightCalculationMethod in d,!e&&t&&A({iframe:n,height:0,width:0,type:"init"})}),L("init",i,n,c,!0)}function i(e){if(e=e||{},x[r]={firstRun:!0,iframe:n,remoteHost:n.src.split("/").slice(0,3).join("/")},"object"!=typeof e)throw new TypeError("Options is not an object");var t,i=e;for(t in p)p.hasOwnProperty(t)&&(x[r][t]=(i.hasOwnProperty(t)?i:p)[t]);x[r]&&(x[r].targetOrigin=!0!==x[r].checkOrigin||""===(e=x[r].remoteHost)||"file://"===e?"*":e)}o=n.id,""===o&&(n.id=(s=e&&e.id||p.id+u++,null!==document.getElementById(s)&&(s+=u++),o=s),h=(e||{}).log,C(o,"Added missing iframe ID: "+o+" ("+n.src+")"));var o,s,r=o;if(r in x&&"iFrameResizer"in n)j(r,"Ignored iFrame, already setup.");else{switch(i(e),C(r,"IFrame scrolling "+(x[r]&&x[r].scrolling?"enabled":"disabled")+" for "+r),n.style.overflow=!1===(x[r]&&x[r].scrolling)?"hidden":"auto",x[r]&&x[r].scrolling){case"omit":break;case!0:n.scrolling="yes";break;case!1:n.scrolling="no";break;default:n.scrolling=x[r]?x[r].scrolling:"no"}l("Height"),l("Width"),a("maxHeight"),a("minHeight"),a("maxWidth"),a("minWidth"),"number"!=typeof(x[r]&&x[r].bodyMargin)&&"0"!==(x[r]&&x[r].bodyMargin)||(x[r].bodyMarginV1=x[r].bodyMargin,x[r].bodyMargin=x[r].bodyMargin+"px"),t(N(r)),Function.prototype.bind&&x[r]&&(x[r].iframe.iFrameResizer={close:D.bind(null,x[r].iframe),removeListeners:m.bind(null,x[r].iframe),resize:L.bind(null,"Window resize","resize",x[r].iframe),moveToAnchor:function(e){L("Move to anchor","moveToAnchor:"+e,x[r].iframe,r)},sendMessage:function(e){L("Send Message","message:"+(e=JSON.stringify(e)),x[r].iframe,r)}})}function a(e){1/0!==x[r][e]&&0!==x[r][e]&&(n.style[e]=x[r][e]+"px",C(r,"Set "+e+" = "+x[r][e]+"px"))}function l(e){if(x[r]["min"+e]>x[r]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}}function l(e,t){null===i&&(i=setTimeout(function(){i=null,e()},t))}function g(e){C("window","Trigger event: "+e),l(function(){t("Window "+e,"resize")},16)}function H(){"hidden"!==document.visibilityState&&(C("document","Trigger event: Visiblity change"),l(function(){t("Tab Visable","resize")},16))}function t(e,t){for(var i in x)x[n=i]&&"parent"===x[n].resizeFrom&&x[n].autoResize&&!x[n].firstRun&&L(e,t,document.getElementById(i),i);var n}function e(){function n(e,t){if(t){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">");a(t,e),o.push(t)}}for(var o,e=["moz","webkit","o","ms"],t=0;t<e.length&&!s;t+=1)s=window[e[t]+"RequestAnimationFrame"];return s||C("setup","RequestAnimationFrame not supported"),T(window,"message",$),T(window,"resize",function(){g("resize")}),T(document,"visibilitychange",H),T(document,"-webkit-visibilitychange",H),T(window,"focusin",function(){g("focus")}),T(window,"focus",function(){g("focus")}),function(e,t){var i;switch(o=[],(i=e)&&i.enablePublicMethods&&j("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof t){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(t||"iframe"),n.bind(c,e));break;case"object":n(e,t);break;default:throw new TypeError("Unexpected data type ("+typeof t+")")}return o}}function R(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(i){return this.filter("iframe").each(function(e,t){a(t,i)}).end()}):S("","Unable to bind to jQuery, it is not fully loaded.")}"undefined"!=typeof window&&(u=0,r=h=!1,y="message".length,_=(b="[iFrameSizer]").length,w=null,s=window.requestAnimationFrame,p={autoResize:!(i=null),bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!"Host Page",enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!(x={}),maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!(d={max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){j("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},k={},window.jQuery&&R(window.jQuery),"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&"object"==typeof module.exports&&(module.exports=e()),window.iFrameResize=window.iFrameResize||e())})(),((e,t)=>{e[t]=(()=>{var e=function(){};return e.fn=e.prototype={_version:"0.1.5",encryptFn:"antiSpamMail.linkDecrypt",encryptDecrypt:function(e,t){var i,n,o;for(null==t&&(t=-1),n=i=0,o="";i<e.length;)8364<=(n=e.charCodeAt(i))&&(n=128),o+=String.fromCharCode(n+t),i++;return o}},(e=new e).encrypt=function(e){return this.encryptDecrypt("mailto:"+e,1)},e.encryptForm=function(e,t){var i,n,o,s;if(e=e||"antiSpamMail",t=t||"cryptmail_email",t=(e=document.forms[e])[t].value,e.cryptmail_email.value.length<4)return!1;if(0<(o=e.cryptmail_radio).length)for(n=0;n<o.length;)s=parseInt(o[n].checked?o[n].value:void 0,10),n++;else s=0;i=1===s?(i=t.replace(/\./g,'<span class="crypt" aria-hidden="true">.</span>.<span class="crypt" aria-hidden="true">.</span>')).replace(/@/,'<span class="crypt" aria-hidden="true">.</span>@<span class="crypt" aria-hidden="true">.</span>'):(i=t.replace(/\./g," [dot] ")).replace(/@/," [at] "),t=this.encrypt
1(t),e.cryptmail_cryptedmail.value=t,e.cryptmail_html.value='<a href="javascript:'+this.encryptFn+"('"+t+"');\">"+i+"</a>"},e.decrypt=function(e){return this.encryptDecrypt(e)},e.linkDecrypt=function(e){location.href=this.decrypt(e)},e})(),"function"==typeof define&&define.amd?define(function(){return e[t]}):"object"==typeof exports&&(module.exports=e[t])})("object"==typeof window&&window||this,"antiSpamMail"),(e=>{"object"==typeof module&&"object"==typeof module.exports?e(require("jquery"),window,document):"undefined"!=typeof jQuery&&e(jQuery,window,document)})(function(l,e,r,t){function c(e,t,i){return new Array(i+1-e.length).join(t)+e}function u(e,t,i){var n;return 1===arguments.length?("string"==typeof(n=e)&&(n=l.fn.timepicker.parseTime(n)),new Date(0,0,0,n.getHours(),n.getMinutes(),n.getSeconds())):3===arguments.length?new Date(0,0,0,e,t,i):2===arguments.length?new Date(0,0,0,e,t,0):new Date(0,0,0)}var h,d;l.TimePicker=function(){var t=this;t.container=l(".ui-timepicker-container"),t.ui=t.container.find(".ui-timepicker"),0===t.container.length&&(t.container=l("<div></div>").addClass("ui-timepicker-container").addClass("ui-timepicker-hidden ui-helper-hidden").appendTo("body").hide(),t.ui=l("<div></div>").addClass("ui-timepicker").addClass("ui-widget ui-widget-content ui-menu").addClass("ui-corner-all").appendTo(t.container),t.viewport=l("<ul></ul>").addClass("ui-timepicker-viewport").appendTo(t.ui),"1.4.2"<=l.fn.jquery)&&t.ui.delegate("a","mouseenter.timepicker",function(){t.activate(!1,l(this).parent())}).delegate("a","mouseleave.timepicker",function(){t.deactivate(!1)}).delegate("a","click.timepicker",function(e){e.preventDefault(),t.select(!1,l(this).parent())})},l.TimePicker.count=0,l.TimePicker.instance=function(){return l.TimePicker._instance||(l.TimePicker._instance=new l.TimePicker),l.TimePicker._instance},l.TimePicker.prototype={keyCode:{ALT:18,BLOQ_MAYUS:20,CTRL:17,DOWN:40,END:35,ENTER:13,HOME:36,LEFT:37,NUMPAD_ENTER:108,PAGE_DOWN:34,PAGE_UP:33,RIGHT:39,SHIFT:16,TAB:9,UP:38},_items:function(e,t){var i,n,o=l("<ul></ul>"),s=null;for(-1===e.options.timeFormat.indexOf("m")&&e.options.interval%60!=0&&(e.options.interval=60*Math.max(Math.round(e.options.interval/60),1)),i=t?u(t):e.options.startTime?u(e.options.startTime):u(e.options.startHour,e.options.startMinutes),n=new Date(i.getTime()+864e5);i<n;)this._isValidTime(e,i)&&(s=l("<li>").addClass("ui-menu-item").appendTo(o),l("<a>").addClass("ui-corner-all").text(l.fn.timepicker.formatTime(e.options.timeFormat,i)).appendTo(s),s.data("time-value",i)),i=new Date(i.getTime()+60*e.options.interval*1e3);return o.children()},_isValidTime:function(e,t){var i=null,n=null;return t=u(t),null!==e.options.minTime?i=u(e.options.minTime):null===e.options.minHour&&null===e.options.minMinutes||(i=u(e.options.minHour,e.options.minMinutes)),null!==e.options.maxTime?n=u(e.options.maxTime):null===e.options.maxHour&&null===e.options.maxMinutes||(n=u(e.options.maxHour,e.options.maxMinutes)),null!==i&&null!==n?i<=t&&t<=n:null!==i?i<=t:null===n||t<=n},_hasScroll:function(){var e=void 0!==this.ui.prop?"prop":"attr";return this.ui.height()<this.ui[e]("scrollHeight")},_move:function(e,t,i){this.closed()&&this.open(e),this.active&&(t=this.active[t+"All"](".ui-menu-item").eq(0)).length?this.activate(e,t):this.activate(e,this.viewport.children(i))},register:function(e,t){var i=this,n={};n.element=l(e),n.element.data("TimePicker")||(n.options=l.metadata?l.extend({},t,n.element.metadata()):l.extend({},t),n.widget=i,l.extend(n,{next:function(){return i.next(n)},previous:function(){return i.previous(n)},first:function(){return i.first(n)},last:function(){return i.last(n)},selected:function(){return i.selected(n)},open:function(){return i.open(n)},close:function(){return i.close(n)},closed:function(){return i.closed(n)},destroy:function(){return i.destroy(n)},parse:function(e){return i.parse(n,e)},format:function(e,t){return i.format(n,e,t)},getTime:function(){return i.getTime(n)},setTime:function(e,t){return i.setTime(n,e,t)},option:function(e,t){return i.option(n,e,t)}}),i._setDefaultTime(n),i._addInputEventsHandlers(n),n.element.data("TimePicker",n))},_setDefaultTime:function(e){"now"===e.options.defaultTime?e.setTime(u(new Date)):e.options.defaultTime&&e.options.defaultTime.getFullYear?e.setTime(u(e.options.defaultTime)):e.options.defaultTime&&e.setTime(l.fn.timepicker.parseTime(e.options.defaultTime))},_addInputEventsHandlers:function(t){var i=this;t.element.bind("keydown.timepicker",function(e){switch(e.which||e.keyCode){case i.keyCode.ENTER:case i.keyCode.NUMPAD_ENTER:e.preventDefault(),i.closed()?t.element.trigger("change.timepicker"):i.select(t,i.active);break;case i.keyCode.UP:t.previous();break;case i.keyCode.DOWN:t.next();break;default:i.closed()||t.close(!0)}}).bind("focus.timepicker",function(){t.open()}).bind("blur.timepicker",function(){setTimeout(function(){t.element.data("timepicker-user-clicked-outside")&&t.close()})}).bind("change.timepicker",function(){t.closed()&&t.setTime(l.fn.timepicker.parseTime(t.element.val()))})},select:function(e,t){e=!1===e?this.instance:e;this.setTime(e,l.fn.timepicker.parseTime(t.children("a").text())),this.close(e,!0)},activate:function(e,t){var i,n,o=this;(!1===e?o.instance:e)===o.instance&&(o.deactivate(),o._hasScroll()&&(e=t.offset().top-o.ui.offset().top,i=o.ui.scrollTop(),n=o.ui.height(),e<0?o.ui.scrollTop(i+e):n<=e&&o.ui.scrollTop(i+e-n+t.height())),o.active=t.eq(0).children("a").addClass("ui-state-hover").attr("id","ui-active-item").end())},deactivate:function(){this.active&&(this.active.children("a").removeClass("ui-state-hover").removeAttr("id"),this.active=null)},next:function(e){return!this.closed()&&this.instance!==e||this._move(e,"next",".ui-menu-item:first"),e.element},previous:function(e){return!this.closed()&&this.instance!==e||this._move(e,"prev",".ui-menu-item:last"),e.element},first:function(e){return this.instance===e&&this.active&&0===this.active.prevAll(".ui-menu-item").length},last:function(e){return this.instance===e&&this.active&&0===this.active.nextAll(".ui-menu-item").length},selected:function(e){return this.instance===e&&this.active?this.active:null},open:function(t){var i=this,n=t.getTime(),e=t.options.dynamic&&n;if(t.options.dropdown){switch(t.element.data("timepicker-event-namespace",Math.random()),l(r).bind("click.timepicker-"+t.element.data("timepicker-event-namespace"),function(e){t.element.get(0)===e.target?t.element.data("timepicker-user-clicked-outside",!1):t.element.data("timepicker-user-clicked-outside",!0).blur()}),!t.rebuild&&t.items&&!e||(t.items=i._items(t,e?n:null)),(t.rebuild||i.instance!==t||e)&&(l.fn.jquery<"1.4.2"?(i.viewport.children().remove(),i.viewport.append(t.items),i.viewport.find("a").bind("mouseover.timepicker",function(){i.activate(t,l(this).parent())}).bind("mouseout.timepicker",function(){i.deactivate(t)}).bind("click.timepicker",function(e){e.preventDefault(),i.select(t,l(this).parent())}
1)):(i.viewport.children().detach(),i.viewport.append(t.items))),t.rebuild=!1,i.container.removeClass("ui-helper-hidden ui-timepicker-hidden ui-timepicker-standard ui-timepicker-corners").show(),t.options.theme){case"standard":i.container.addClass("ui-timepicker-standard");break;case"standard-rounded-corners":i.container.addClass("ui-timepicker-standard ui-timepicker-corners")}i.container.hasClass("ui-timepicker-no-scrollbar")||t.options.scrollbar||(i.container.addClass("ui-timepicker-no-scrollbar"),i.viewport.css({paddingRight:40}));var e=i.container.outerHeight()-i.container.height(),o=t.options.zindex||t.element.offsetParent().css("z-index"),s=t.element.offset(),s=(i.container.css({top:s.top+t.element.outerHeight(),left:s.left}),i.container.show(),i.container.css({left:t.element.offset().left,height:i.ui.outerHeight()+e,width:t.element.outerWidth(),zIndex:o,cursor:"default"}),i.container.width()-(i.ui.outerWidth()-i.ui.width()));i.ui.css({width:s}),i.viewport.css({width:s}),t.items.css({width:s}),i.instance=t,n?t.items.each(function(){var e=l(this);return(l.fn.jquery<"1.4.2"?l.fn.timepicker.parseTime(e.find("a").text()):e.data("time-value")).getTime()!==n.getTime()||(i.activate(t,e),!1)}):i.deactivate(t)}return t.element},close:function(e){return this.instance===e&&(this.container.addClass("ui-helper-hidden ui-timepicker-hidden").hide(),this.ui.scrollTop(0),this.ui.children().removeClass("ui-state-hover")),l(r).unbind("click.timepicker-"+e.element.data("timepicker-event-namespace")),e.element},closed:function(){return this.ui.is(":hidden")},destroy:function(e){return this.close(e,!0),e.element.unbind(".timepicker").data("TimePicker",null)},parse:function(e,t){return l.fn.timepicker.parseTime(t)},format:function(e,t,i){return i=i||e.options.timeFormat,l.fn.timepicker.formatTime(i,t)},getTime:function(e){var t=l.fn.timepicker.parseTime(e.element.val());return t instanceof Date&&!this._isValidTime(e,t)?null:t instanceof Date&&e.selectedTime?e.format(t)===e.format(e.selectedTime)?e.selectedTime:t:t instanceof Date?t:null},setTime:function(e,t,i){var n=e.selectedTime;if((t="string"==typeof t?e.parse(t):t)&&t.getMinutes&&this._isValidTime(e,t)){if(t=u(t),e.selectedTime=t,e.element.val(e.format(t,e.options.timeFormat)),i)return e}else e.selectedTime=null;return null===n&&null===e.selectedTime||(e.element.trigger("time-change",[t]),l.isFunction(e.options.change)&&e.options.change.apply(e.element,[t])),e.element},option:function(t,e,i){if(void 0===i)return t.options[e];var n,o,s=t.getTime();"string"==typeof e?(n={})[e]=i:n=e,o=["minHour","minMinutes","minTime","maxHour","maxMinutes","maxTime","startHour","startMinutes","startTime","timeFormat","interval","dropdown"],l.each(n,function(e){t.options[e]=n[e],t.rebuild=t.rebuild||-1<l.inArray(e,o)}),t.rebuild&&t.setTime(s)}},l.TimePicker.defaults={timeFormat:"hh:mm p",minHour:null,minMinutes:null,minTime:null,maxHour:null,maxMinutes:null,maxTime:null,startHour:null,startMinutes:null,startTime:null,interval:30,dynamic:!0,theme:"standard",zindex:null,dropdown:!0,scrollbar:!1,change:function(){}},l.TimePicker.methods={chainable:["next","previous","open","close","destroy","setTime"]},l.fn.timepicker=function(t){var i,e,n,o;return"string"==typeof t?(i=Array.prototype.slice.call(arguments,1),n=this[e="option"===t&&2<arguments.length||-1!==l.inArray(t,l.TimePicker.methods.chainable)?"each":"map"](function(){var e=l(this).data("TimePicker");return"object"==typeof e?e[t].apply(e,i):void 0}),"map"==e&&1===this.length?l.makeArray(n).shift():"map"==e?l.makeArray(n):n):1===this.length&&this.data("TimePicker")?this.data("TimePicker"):(o=l.extend({},l.TimePicker.defaults,t),this.each(function(){l.TimePicker.instance().register(this,o)}))},l.fn.timepicker.formatTime=function(e,t){var i=t.getHours(),n=i%12,o=t.getMinutes(),t=t.getSeconds(),s={hh:c((0===n?12:n).toString(),"0",2),HH:c(i.toString(),"0",2),mm:c(o.toString(),"0",2),ss:c(t.toString(),"0",2),h:0===n?12:n,H:i,m:o,s:t,p:11<i?"PM":"AM"},r=e,a="";for(a in s)s.hasOwnProperty(a)&&(r=r.replace(new RegExp(a,"g"),s[a]));
1return r.replace(new RegExp("a","g"),11<i?"pm":"am")},l.fn.timepicker.parseTime=(d=(h=[[/^(\d+)$/,"$1"],[/^:(\d)$/,"$10"],[/^:(\d+)/,"$1"],[/^(\d):([7-9])$/,"0$10$2"],[/^(\d):(\d\d)$/,"$1$2"],[/^(\d):(\d{1,})$/,"0$1$20"],[/^(\d\d):([7-9])$/,"$10$2"],[/^(\d\d):(\d)$/,"$1$20"],[/^(\d\d):(\d*)$/,"$1$2"],[/^(\d{3,}):(\d)$/,"$10$2"],[/^(\d{3,}):(\d{2,})/,"$1$2"],[/^(\d):(\d):(\d)$/,"0$10$20$3"],[/^(\d{1,2}):(\d):(\d\d)/,"$10$2$3"]]).length,function(e){var t,i,n=u(new Date),o=!1,s=!1,r=!1;if(void 0===e||!e.toLowerCase)return null;e=e.toLowerCase(),i=!(t=/a/.test(e))&&/p/.test(e),e=e.replace(/[^0-9:]/g,"").replace(/:+/g,":");for(var a=0;a<d;a+=1)if(h[a][0].test(e)){e=e.replace(h[a][0],h[a][1]);break}return 1===(e=e.replace(/:/g,"")).length||2===e.length?o=e:3===e.length||5===e.length?(o=e.substr(0,1),s=e.substr(1,2),r=e.substr(3,2)):(4===e.length||5<e.length)&&(o=e.substr(0,2),s=e.substr(2,2),r=e.substr(4,2)),0<e.length&&e.length<5&&(e.length<3&&(s=0),r=0),!1!==o&&!1!==s&&!1!==r&&(o=parseInt(o,10),s=parseInt(s,10),r=parseInt(r,10),t&&12===o?o=0:i&&o<12&&(o+=12),24<o?6<=e.length?l.fn.timepicker.parseTime(e.substr(0,5)):l.fn.timepicker.parseTime(e+"0"+(t?"a":"")+(i?"p":"")):(n.setHours(o,s,r),n))})}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t((e||self).jQuery)})(this,function(_){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}_=_&&_.hasOwnProperty("default")?_.default:_;var n={autoShow:!1,autoHide:!1,autoPick:!1,inline:!1,container:null,trigger:null,language:"",format:"mm/dd/yyyy",date:null,startDate:null,endDate:null,startView:0,weekStart:0,yearFirst:!1,yearSuffix:"",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"],itemTag:"li",mutedClass:"muted",pickedClass:"picked",disabledClass:"disabled",highlightedClass:"highlighted",template:'<div class="datepicker-container"><div class="datepicker-panel" data-view="years picker"><ul><li data-view="years prev">‹</li><li data-view="years current"></li><li data-view="years next">›</li></ul><ul data-view="years"></ul></div><div class="datepicker-panel" data-view="months picker"><ul><li data-view="year prev">‹</li><li data-view="year current"></li><li data-view="year next">›</li></ul><ul data-view="months"></ul></div><div class="datepicker-panel" data-view="days picker"><ul><li data-view="month prev">‹</li><li data-view="month current"></li><li data-view="month next">›</li></ul><ul data-view="week"></ul><ul data-view="days"></ul></div></div>',offset:10,zIndex:1e3,filter:null,show:null,hide:null,pick:null},t="undefined"!=typeof window,i=t?window:{},o=!!t&&"ontouchstart"in i.document.documentElement,c="datepicker",s="click.".concat(c),r="focus.".concat(c),a="hide.".concat(c),l="keyup.".concat(c),u="pick.".concat(c),h="resize.".concat(c),d="scroll.".concat(c),p="show.".concat(c),f="touchstart.".concat(c),m="".concat(c,"-hide"),g={},v=Object.prototype.toString;function y(e){return"string"==typeof e}var b=Number.isNaN||i.isNaN;function w(e){return"number"==typeof e&&!b(e)}function x(e){return void 0===e}function k(e){return"date"===v.call(e).slice(8,-1).toLowerCase()&&!b(e.getTime())}function T(n,o){for(var e=arguments.length,s=new Array(2<e?e-2:0),t=2;t<e;t++)s[t-2]=arguments[t];return function(){for(var e=arguments.length,t=new Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.apply(o,s.concat(t))}}function C(e){return'[data-view="'.concat(e,'"]')}function z(e,t){return[31,e%4==0&&e%100!=0||e%400==0?29:28,31,30,31,30,31,31,30,31,30,31][t]}function S(e,t,i){return Math.min(i,z(e,t))}var I=/(y|m|d)+/g;function j(e,t){var i=1<arguments.length&&void 0!==t?t:1,t=String(Math.abs(e)),n=t.length,o="";for(e<0&&(o+="-");n<i;)n+=1,o+="0";return o+t}var E,L=/\d+/g,t={show:function(){this.built||this.build(),this.shown||this.trigger(p).isDefaultPrevented()||(this.shown=!0,this.$picker.removeClass(m).on(s,_.proxy(this.click,this)),this.showView(this.options.startView),this.inline)||(this.$scrollParent.on(d,_.proxy(this.place,this)),_(window).on(h,this.onResize=T(this.place,this)),_(document).on(s,this.onGlobalClick=T(this.globalClick,this)),_(document).on(l,this.onGlobalKeyup=T(this.globalKeyup,this)),o&&_(document).on(f,this.onTouchStart=T(this.touchstart,this)),this.place())},hide:function(){!this.shown||this.trigger(a).isDefaultPrevented()||(this.shown=!1,this.$picker.addClass(m).off(s,this.click),this.inline)||(this.$scrollParent.off(d,this.place),_(window).off(h,this.onResize),_(document).off(s,this.onGlobalClick),_(document).off(l,this.onGlobalKeyup),o&&_(document).off(f,this.onTouchStart))},toggle:function(){this.shown?this.hide():this.show()},update:function(){var e=this.getValue();e!==this.oldValue&&(this.setDate(e,!0),this.oldValue=e)},pick:function(e){var t=this.$element,i=this.date;this.trigger(u,{view:e||"",date:i}).isDefaultPrevented()||(i=this.formatDate(this.date),this.setValue(i),this.isInput&&(t.trigger("input"),t.trigger("change")))},reset:function(){this.setDate(this.initialDate,!0),this.setValue(this.initialValue),this.shown&&this.showView(this.options.startView)},getMonthName:function(e,t){var i=this.options,n=i.monthsShort,i=i.months;return _.isNumeric(e)?e=Number(e):x(t)&&(t=e),(i=!0===t?n:i)[w(e)?e:this.date.getMonth()]},getDayName:function(e,t,i){var n=this.options,o=n.days;return _.isNumeric(e)?e=Number(e):(x(i)&&(i=t),x(t)&&(t=e)),i?o=n.daysMin:t&&(o=n.daysShort),o[w(e)?e:this.date.getDay()]},getDate:function(e){var t=this.date;return e?this.formatDate(t):new Date(t)},setDate:function(e,t){var i=this.options.filter;(k(e)||y(e))&&(e=this.parseDate(e),_.isFunction(i)&&!1===i.call(this.$element,e,"day")||(this.date=e,this.viewDate=new Date(e),t||this.pick(),this.built&&this.render()))},setStartDate:function(e){k(e)||y(e)?this.startDate=this.parseDate(e):this.startDate=null,this.built&&this.render()},setEndDate:function(e){k(e)||y(e)?this.endDate=this.parseDate(e):this.endDate=null,this.built&&this.render()},parseDate:function(n){var o=this.format,e=[];return k(n)||(y(n)&&(e=n.match(L)||[]),k(n=n?new Date(n):new Date)||(n=new Date),e.length===o.parts.length&&_.each(e,function(e,t){var i=parseInt(t,10);switch(o.parts[e]){case"dd":case"d":n.setDate(i);break;case"mm":case"m":n.setMonth(i-1);break;case"yy":n.setFullYear(2e3+i);break;case"yyyy":n.setFullYear(2===t.length?2e3+i:i)}})),new Date(n.getFullYear(),n.getMonth(),n.getDate())},formatDate:function(e){var t,i,n,o=this.format,s="";return k(e)&&(t=e.getFullYear(),i=e.getMonth(),e=e.getDate(),n={d:e,dd:j(e,2),m:i+1,mm:j(i+1,2),yy:String(t).substring(2),yyyy:j(t,4)},s=o.source,_.each(o.parts,function(e,t){s=s.replace(t,n[t])})),s},destroy:function(){this.unbind(),this.unbuild(),this.$element.removeData(c)}},i={click:function(e){var t=_(e.target),i=this.options,n=this.date,o=this.viewDate,s=this.format;if(e.stopPropagation(),e.preventDefault(),!t.hasClass("disabled")){var r=t.data("view"),a=o.getFullYear(),l=o.getMonth(),c=o.getDate();switch(r){case"years prev":case"years next":o.setFullYear(a="years prev"===r?a-10:a+10),o.setDate(S(a,l,c)),this.renderYears();break;case"year prev":case"year next":o.setFullYear(a="year prev"===r?a-1:a+1),o.setDate(S(a,l,c)),this.renderMonths();break;case"year current":s.hasYear&&this.showView(2);break;case"year picked":s.hasMonth?this.showView(1):(t.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("year");break;case"year":a=parseInt(t.text(),10),n.setFullYear(a),n.setDate(S(a,l,c)),o.setFullYear(a),o.setDate(S(a,l,c)),s.hasMonth?this.showView(1):(t.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("year");break;case"month prev":case"month next":(l="month prev"===r?l-1:l+1)<0?(--a,l+=12):11<l&&(a+=1,l-=12),o.setFullYear(a),o.setDate(S(a,l,c)),o.setMonth(l),this.renderDays();break;case"month current":s.hasMonth&&this.showView(1);break;case"month picked":s.hasDay?this.showView(0):(t.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("month");break;case"month":l=_.inArray(t.text(),i.monthsShort),n.setFullYear(a),n.setDate(S(a,l,c)),n.setMonth(l),o.setFullYear(a),o.setDate(S(a,l,c)),o.setMonth(l),s.hasDay?this.showView(0):(t.addClass(i.pickedClass).siblings().removeClass(i.pickedClass),this.hideView()),this.pick("month");break;case"day prev":case"day next":case"day":"day prev"===r?--l:"day next"===r&&(l+=1),c=p
1arseInt(t.text(),10),n.setFullYear(a),n.setMonth(l),n.setDate(c),o.setFullYear(a),o.setMonth(l),o.setDate(c),this.renderDays(),"day"===r&&this.hideView(),this.pick("day");break;case"day picked":this.hideView(),this.pick("day")}}},globalClick:function(e){for(var t=e.target,i=this.element,n=this.$trigger[0],o=!0;t!==document;){if(t===n||t===i){o=!1;break}t=t.parentNode}o&&this.hide()},keyup:function(){this.update()},globalKeyup:function(e){var t=e.target;this.isInput&&t!==this.element&&this.shown&&("Tab"===e.key||9===e.keyCode)&&this.hide()},touchstart:function(e){e=e.target;this.isInput&&e!==this.element&&!_.contains(this.$picker[0],e)&&(this.hide(),this.element.blur())}},N={render:function(){this.renderYears(),this.renderMonths(),this.renderDays()},renderWeek:function(){var i=this,n=[],e=this.options,t=e.weekStart,e=e.daysMin,t=parseInt(t,10)%7,e=e.slice(t).concat(e.slice(0,t));_.each(e,function(e,t){n.push(i.createItem({text:t}))}),this.$week.html(n.join(""))},renderYears:function(){for(var e=this.options,t=this.startDate,i=this.endDate,n=e.disabledClass,o=e.filter,e=e.yearSuffix,s=this.viewDate.getFullYear(),r=(new Date).getFullYear(),a=this.date.getFullYear(),l=[],c=!1,u=!1,h=-5;h<=6;h+=1){var d=new Date(s+h,1,1),p=!1,f=(t&&(p=d.getFullYear()<t.getFullYear(),-5===h)&&(c=p),!p&&i&&(p=d.getFullYear()>i.getFullYear(),6===h)&&(u=p),!p&&o&&(p=!1===o.call(this.$element,d,"year")),s+h===a);l.push(this.createItem({picked:f,disabled:p,text:s+h,view:p?"year disabled":f?"year picked":"year",highlighted:d.getFullYear()===r}))}this.$yearsPrev.toggleClass(n,c),this.$yearsNext.toggleClass(n,u),this.$yearsCurrent.toggleClass(n,!0).html("".concat(s+-5+e," - ").concat(s+6).concat(e)),this.$years.html(l.join(""))},renderMonths:function(){for(var e=this.options,t=this.startDate,i=this.endDate,n=this.viewDate,o=e.disabledClass||"",s=e.monthsShort,r=_.isFunction(e.filter)&&e.filter,a=n.getFullYear(),n=new Date,l=n.getFullYear(),c=n.getMonth(),u=this.date.getFullYear(),h=this.date.getMonth(),d=[],p=!1,f=!1,m=0;m<=11;m+=1){var g=new Date(a,m,1),v=!1,y=(!(v=!(v=t?(p=g.getFullYear()===t.getFullYear())&&g.getMonth()<t.getMonth():v)&&i?(f=g.getFullYear()===i.getFullYear())&&g.getMonth()>i.getMonth():v)&&r&&(v=!1===r.call(this.$element,g,"month")),a===u&&m===h),b=y?"month picked":"month";d.push(this.createItem({disabled:v,picked:y,highlighted:a===l&&g.getMonth()===c,index:m,text:s[m],view:v?"month disabled":b}))}this.$yearPrev.toggleClass(o,p),this.$yearNext.toggleClass(o,f),this.$yearCurrent.toggleClass(o,p&&f).html(a+e.yearSuffix||""),this.$months.html(d.join(""))},renderDays:function(){var e,t,i=this.$element,n=this.options,o=this.startDate,s=this.endDate,r=this.viewDate,a=this.date,l=n.disabledClass,c=n.filter,u=n.months,h=n.weekStart,d=n.yearSuffix,p=r.getFullYear(),f=r.getMonth(),r=new Date,m=r.getFullYear(),g=r.getMonth(),v=r.getDate(),y=a.getFullYear(),b=a.getMonth(),_=a.getDate(),w=[],x=p,k=f,r=!1,a=(0===f?(--x,k=11):--k,e=z(x,k),new Date(p,f,1));for((t=a.getDay()-parseInt(h,10)%7)<=0&&(t+=7),o&&(r=a.getTime()<=o.getTime()),O=e-(t-1);O<=e;O+=1){var T=new Date(x,k,O),C=!1;!(C=o?T.getTime()<o.getTime():C)&&c&&(C=!1===c.call(i,T,"day")),w.push(this.createItem({disabled:C,highlighted:x===m&&k===g&&T.getDate()===v,muted:!0,picked:x===y&&k===b&&O===_,text:O,view:"day prev"}))}var S=[],j=p,E=f,h=!1,a=(11===f?(j+=1,E=0):E+=1,e=z(p,f),t=42-(w.length+e),new Date(p,f,e));for(s&&(h=a.getTime()>=s.getTime()),O=1;O<=t;O+=1){var D=new Date(j,E,O),L=j===y&&E===b&&O===_,M=!1;!(M=s?D.getTime()>s.getTime():M)&&c&&(M=!1===c.call(i,D,"day")),S.push(this.createItem({disabled:M,picked:L,highlighted:j===m&&E===g&&D.getDate()===v,muted:!0,text:O,view:"day next"}))}for(var P=[],O=1;O<=e;O+=1){var A=new Date(p,f,O),F=!1,I=(!(F=!(F=o?A.getTime()<o.getTime():F)&&s?A.getTime()>s.getTime():F)&&c&&(F=!1===c.call(i,A,"day")),p===y&&f===b&&O===_),N=I?"day picked":"day";P.push(this.createItem({disabled:F,picked:I,highlighted:p===m&&f===g&&A.getDate()===v,text:O,view:F?"day disabled":N}))}this.$monthPrev.toggleClass(l,r),this.$monthNext.toggleClass(l,h),this.$monthCurrent.toggleClass(l,r&&h).html(n.yearFirst?"".concat(p+d," ").concat(u[f]):"".concat(u[f]," ").concat(p).concat(d)),this.$days.html(w.join("")+P.join("")+S.join(""))}},D="".concat(c,"-top-left"),M="".concat(c,"-top-right"),P="".concat(c,"-bottom-left"),O="".concat(c,"-bottom-right"),$=[D,M,P,O].join(" "),A=(M=[{key:"setDefaults",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:{};_.extend(n,g[e.language],_.isPlainObject(e)&&e)}}],e((O=F).prototype,[{key:"init",value:function(){var e=this.$element,t=this.options,i=t.startDate,n=t.endDate,o=t.date,e=(this.$trigger=_(t.trigger),this.isInput=e.is("input")||e.is("textarea"),this.inline=t.inline&&(t.container||!this.isInput),this.format=(i=>{var e=String(i).toLowerCase(),t=e.match(I);if(t&&0!==t.length)return i={source:e,parts:t},_.each(t,function(e,t){switch(t){case"dd":case"d":i.hasDay=!0;break;case"mm":case"m":i.hasMonth=!0;break;case"yyyy":case"yy":i.hasYear=!0}}),i;throw new Error("Invalid date format.")})(t.format),this.getValue());this.initialValue=e,this.oldValue=e,o=this.parseDate(o||e),i&&(i=this.parseDate(i),o.getTime()<i.getTime()&&(o=new Date(i)),this.startDate=i),n&&(n=this.parseDate(n),i&&n.getTime()<i.getTime()&&(n=new Date(i)),o.getTime()>n.getTime()&&(o=new Date(n)),this.endDate=n),this.date=o,this.viewDate=new Date(o),this.initialDate=new Date(this.date),this.bind(),(t.autoShow||this.inline)&&this.show(),t.autoPick&&this.pick()}},{key:"build",value:function(){var e,t,i;this.built||(this.built=!0,e=this.$element,t=this.options,i=_(t.template),this.$picker=i,this.$week=i.find(C("week")),this.$yearsPicker=i.find(C("years picker")),this.$yearsPrev=i.find(C("years prev")),this.$yearsNext=i.find(C("years next")),this.$yearsCurrent=i.find(C("years current")),this.$years=i.find(C("years")),this.$monthsPicker=i.find(C("months picker")),this.$yearPrev=i.find(C("year prev")),this.$yearNext=i.find(C("year next")),this.$yearCurrent=i.find(C("year current")),this.$months=i.find(C("months")),this.$daysPicker=i.find(C("days picker")),this.$monthPrev=i.find(C("month prev")),this.$monthNext=i.find(C("month next")),this.$monthCurrent=i.find(C("month current")),this.$days=i.find(C("days")),this.inline?_(t.container||e).append(i.addClass("".concat(c,"-inline"))):(_(document.body).append(i.addClass("".concat(c,"-dropdown"))),i.addClass(m).css({zIndex:parseInt(t.zIndex,10)})),this.renderWeek())}},{key:"unbuild",value:function(){this.built&&(this.built=!1,this.$picker.remove())}},{key:"bind",value:function(){var e=this.options,t=this.$element;_.isFunction(e.show)&&t.on(p,e.show),_.isFunction(e.hide)&&t.on(a,e.hide),_.isFunction(e.pick)&&t.on(u,e.pick),this.isInput&&t.on(l,_.proxy(this.keyup,this)),this.inline||(e.trigger?this.$trigger.on(s,_.proxy(this.toggle,this)):this.isInput?t.on(r,_.proxy(this.show,this)):t.on(s,_.proxy(this.show,this)))}},{key:"unbind",value:function(){var e=this.$element,t=this.options;_.isFunction(t.show)&&e.off(p,t.show),_.isFunction(t.hide)&&e.off(a,t.hide),_.isFunction(t.pick)&&e.off(u,t.pick),this.isInput&&e.off(l,this.keyup),this.inline||(t.trigger?this.$trigger.off(s,this.toggle):this.isInput?e.off(r,this.show):e.off(s,this.show))}},{key:"showView",value:function(e){var t=this.$yearsPicker,i=this.$monthsPicker,n=this.$daysPicker,o=this.format;if(o.hasYear||o.hasMonth||o.hasDay)switch(Number(e)){case 2:i.addClass(m),n.addClass(m),o.hasYear?(this.renderYears(),t.removeClass(m),this.place()):this.showView(0);break;case 1:t.addClass(m),n.addClass(m),o.hasMonth?(this.renderMonths(),i.removeClass(m),this.place()):this.showView(2);break;default:t.addClass(m),i.addClass(m),o.hasDay?(this.renderDays(),n.removeClass(m),this.place()):this.showView(1)}}}
1,{key:"hideView",value:function(){!this.inline&&this.options.autoHide&&this.hide()}},{key:"place",value:function(){var e,t,i,n,o,s,r,a,l,c,u;this.inline||(l=this.$element,c=this.options,e=this.$picker,t=_(document).outerWidth(),i=_(document).outerHeight(),n=l.outerWidth(),o=l.outerHeight(),s=e.width(),r=e.height(),a=(l=l.offset()).left,l=l.top,c=parseFloat(c.offset),u=D,b(c)&&(c=10),r<l&&i<l+o+r?(l-=r+c,u=P):l+=o+c,t<a+s&&(a+=n-s,u=u.replace("left","right")),e.removeClass($).addClass(u).css({top:l,left:a}))}},{key:"trigger",value:function(e,t){e=_.Event(e,t);return this.$element.trigger(e),e}},{key:"createItem",value:function(e){var t=this.options,i=t.itemTag,n={text:"",view:"",muted:!1,picked:!1,disabled:!1,highlighted:!1},o=[];return _.extend(n,e),n.muted&&o.push(t.mutedClass),n.highlighted&&o.push(t.highlightedClass),n.picked&&o.push(t.pickedClass),n.disabled&&o.push(t.disabledClass),"<".concat(i,' class="').concat(o.join(" "),'" data-view="').concat(n.view,'">').concat(n.text,"</").concat(i,">")}},{key:"getValue",value:function(){var e=this.$element;return this.isInput?e.val():e.text()}},{key:"setValue",value:function(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"",t=this.$element;
1this.isInput?t.val(e):this.inline&&!this.options.container||t.text(e)}}]),e(O,M),F);function F(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},i=this;if(!(i instanceof F))throw new TypeError("Cannot call a class as a function");this.$element=_(e),this.element=e,this.options=_.extend({},n,g[t.language],_.isPlainObject(t)&&t),this.$scrollParent=function(e,t){var t=1<arguments.length&&void 0!==t&&t,i=_(e),n=i.css("position"),o="absolute"===n,s=t?/auto|scroll|hidden/:/auto|scroll/,t=i.parents().filter(function(e,t){t=_(t);return(!o||"static"!==t.css("position"))&&s.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==n&&t.length?t:_(e.ownerDocument||document)}(e,!0),this.built=!1,this.shown=!1,this.isInput=!1,this.inline=!1,this.initialValue="",this.initialDate=null,this.startDate=null,this.endDate=null,this.init()}_.extend&&_.extend(A.prototype,N,i,t),_.fn&&(E=_.fn.datepicker,_.fn.datepicker=function(r){for(var a,e=arguments.length,l=new Array(1<e?e-1:0),t=1;t<e;t++)l[t-1]=arguments[t];return this.each(function(e,t){var i=_(t),n="destroy"===r;if(!(s=i.data(c))){if(n)return;var o=_.extend({},i.data(),_.isPlainObject(r)&&r),s=new A(t,o);i.data(c,s)}y(r)&&(t=s[r],_.isFunction(t))&&(a=t.apply(s,l),n)&&i.removeData(c)}),x(a)?this:a},_.fn.datepicker.Constructor=A,_.fn.datepicker.languages=g,_.fn.datepicker.setDefaults=A.setDefaults,_.fn.datepicker.noConflict=function(){return _.fn.datepicker=E,this})}),(i=>{var t;function n(e){0<e.pageY-window.scrollY||(t&&clearTimeout(t),i.exitIntent.settings.sensitivity<=0?i.event.trigger("exitintent"):t=setTimeout(function(){t=null,i.event.trigger("exitintent")},i.exitIntent.settings.sensitivity))}function o(){t&&(clearTimeout(t),t=null)}i.exitIntent=function(e,t){if(i.exitIntent.settings=i.extend(i.exitIntent.settings,t),"enable"==e)i(window).mouseleave(n),i(window).mouseenter(o);else{if("disable"!=e)throw"Invalid parameter to jQuery.exitIntent -- should be 'enable'/'disable'";o(),i(window).unbind("mouseleave",n),i(window).unbind("mouseenter",o)}},i.exitIntent.settings={sensitivity:300}})(jQuery),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(require("jquery")):"function"==typeof define&&define.amd?define(["jquery"],t):t(e.jQuery)})(this,function(e){e.fn.datepicker.languages["de-DE"]={format:"dd.mm.yyyy",days:["Sonntag","Montag","Dienstag","Mittwoch","Donnerstag","Freitag","Samstag"],daysShort:["So","Mo","Di","Mi","Do","Fr","Sa"],daysMin:["So","Mo","Di","Mi","Do","Fr","Sa"],weekStart:1,months:["Januar","Februar","März","April","Mai","Juni","Juli","August","September","Oktober","November","Dezember"],monthsShort:["Jan","Feb","Mär","Apr","Mai","Jun","Jul","Aug","Sep","Okt","Nov","Dez"]}}),$.fn.simpledatepicker=$.fn.datepicker.noConflict(),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):e("undefined"!=typeof jQuery?jQuery:window.Zepto)})(function(M){function i(e){var t=e.data;e.isDefaultPrevented()||(e.preventDefault(),M(e.target).ajaxSubmit(t))}function n(e){var t=e.target,i=M(t);if(!i.is("[type=submit],[type=image]")){var n=i.closest("[type=submit]");if(0===n.length)return;t=n[0]}var o=this;"image"==(o.clk=t).type&&(void 0!==e.offsetX?(o.clk_x=e.offsetX,o.clk_y=e.offsetY):"function"==typeof M.fn.offset?(n=i.offset(),o.clk_x=e.pageX-n.left,o.clk_y=e.pageY-n.top):(o.clk_x=e.pageX-t.offsetLeft,o.clk_y=e.pageY-t.offsetTop)),setTimeout(function(){o.clk=o.clk_x=o.clk_y=null},100)}function P(){var e;M.fn.ajaxSubmit.debug&&(e="[jquery.form] "+Array.prototype.join.call(arguments,""),window.console&&window.console.log?window.console.log(e):window.opera&&window.opera.postError&&window.opera.postError(e))}var m={},O=(m.fileapi=void 0!==M("<input type='file'/>").get(0).files,m.formdata=void 0!==window.FormData,!!M.fn.prop);M.fn.attr2=function(){var e;return O&&((e=this.prop.apply(this,arguments))&&e.jquery||"string"==typeof e)?e:this.attr.apply(this,arguments)},M.fn.ajaxSubmit=function(l){function e(e){function c(t){var i=null;try{t.contentWindow&&(i=t.contentWindow.document)}catch(e){P("cannot get iframe.contentWindow document: "+e)}if(!i)try{i=t.contentDocument||t.document}catch(e){P("cannot get iframe.contentDocument: "+e),i=t.document}return i}function t(){var e=E.attr2("target"),t=E.attr2("action"),i=E.attr("enctype")||E.attr("encoding")||"multipart/form-data",n=(a.setAttribute("target",s),j&&!/post/i.test(j)||a.setAttribute("method","POST"),t!=h.url&&a.setAttribute("action",h.url),h.skipEncodingOverride||j&&!/post/i.test(j)||E.attr({encoding:"multipart/form-data",enctype:"multipart/form-data"}),h.timeout&&(v=setTimeout(function(){g=!0,u(y)},h.timeout)),[]);try{if(h.extraData)for(var o in h.extraData)h.extraData.hasOwnProperty(o)&&n.push((M.isPlainObject(h.extraData[o])&&h.extraData[o].hasOwnProperty("name")&&h.extraData[o].hasOwnProperty("value")?M('<input type="hidden" name="'+h.extraData[o].name+'">').val(h.extraData[o].value):M('<input type="hidden" name="'+o+'">').val(h.extraData[o])).appendTo(a)[0]);h.iframeTarget||p.appendTo("body"),f.attachEvent?f.attachEvent("onload",u):f.addEventListener("load",u,!1),setTimeout(function e(){try{var t=c(f).readyState;P("state = "+t),t&&"uninitialized"==t.toLowerCase()&&setTimeout(e,50)}catch(e){P("Server abort: ",e," (",e.name,")"),u(b),v&&clearTimeout(v),v=void 0}},15);try{a.submit()}catch(e){document.createElement("form").submit.apply(a)}}finally{a.setAttribute("action",t),a.setAttribute("enctype",i),e?a.setAttribute("target",e):E.removeAttr("target"),M(n).remove()}}function u(t){if(!m.aborted&&!x)if((w=c(f))||(P("cannot access response document"),t=b),t===y&&m)m.abort("timeout"),S.reject(m,"timeout");else if(t==b&&m)m.abort("server abort"),S.reject(m,"error","server abort");else if(w&&w.location.href!=h.iframeSrc||g){f.detachEvent?f.detachEvent("onload",u):f.removeEventListener("load",u,!1);var i,t="success";try{if(g)throw"timeout";var e="xml"==h.dataType||w.XMLDocument||M.isXMLDoc(w);if(P("isXml="+e),!e&&window.opera&&(null===w.body||!w.body.innerHTML)&&--k)return P("requeing onLoad callback, DOM not available"),void setTimeout(u,250);var n,o,s,r=w.body||w.documentElement,a=(m.responseText=r?r.innerHTML:null,m.responseXML=w.XMLDocument||w,e&&(h.dataType="xml"),m.getResponseHeader=function(e){return{"content-type":h.dataType}[e.toLowerCase()]},r&&(m.status=Number(r.getAttribute("status"))||m.status,m.statusText=r.getAttribute("statusText")||m.statusText),(h.dataType||"").toLowerCase()),l=/(json|script|text)/.test(a);l||h.textarea?(n=w.getElementsByTagName("textarea")[0])?(m.responseText=n.value,m.status=Number(n.getAttribute("status"))||m.status,m.statusText=n.getAttribute("statusText")||m.statusText):l&&(o=w.getElementsByTagName("pre")[0],s=w.getElementsByTagName("body")[0],o?m.responseText=o.textContent||o.innerText:s&&(m.responseText=s.textContent||s.innerText)):"xml"==a&&!m.responseXML&&m.responseText&&(m.responseXML=T(m.responseText));try{_=C(m,a,h)}catch(e){t="parsererror",m.error=i=e||t}}catch(e){P("error caught: ",e),t="error",m.error=i=e||t}m.aborted&&(P("upload aborted"),t=null),"success"===(t=m.status?200<=m.status&&m.status<300||304===m.status?"success":"error":t)?(h.success&&h.success.call(h.context,_,"success",m),S.resolve(m.responseText,"success",m),d&&M.event.trigger("ajaxSuccess",[m,h])):t&&(void 0===i&&(i=m.statusText),h.error&&h.error.call(h.context,m,t,i),S.reject(m,"error",i),d)&&M.event.trigger("ajaxError",[m,h,i]),d&&M.event.trigger("ajaxComplete",[m,h]),d&&!--M.active&&M.event.trigger("ajaxStop"),h.complete&&h.complete.call(h.context,m,t),x=!0,h.timeout&&clearTimeout(v),setTimeout(function(){h.iframeTarget?p.attr("src",h.iframeSrc):p.remove(),m.responseXML=null},100)}}var i,n,h,d,s,p,f,m,g,v,y,b,o,_,w,x,k,T,r,C,a=E[0],S=M.Deferred();if(S.abort=function(e){m.abort(e)},e)for(n=0;n<D.length;n++)i=M(D[n]),O?i.prop("disabled",!1):i.removeAttr("disabled");return((h=M.extend(!0,{}
1,M.ajaxSettings,l)).context=h.context||h,s="jqFormIO"+(new Date).getTime(),h.iframeTarget?(o=(p=M(h.iframeTarget)).attr2("name"))?s=o:p.attr2("name",s):(p=M('<iframe name="'+s+'" src="'+h.iframeSrc+'" />')).css({position:"absolute",top:"-1000px",left:"-1000px"}),f=p[0],m={aborted:0,responseText:null,responseXML:null,status:0,statusText:"n/a",getAllResponseHeaders:function(){},getResponseHeader:function(){},setRequestHeader:function(){},abort:function(e){var t="timeout"===e?"timeout":"aborted";P("aborting upload... "+t),this.aborted=1;try{f.contentWindow.document.execCommand&&f.contentWindow.document.execCommand("Stop")}catch(e){}p.attr("src",h.iframeSrc),m.error=t,h.error&&h.error.call(h.context,m,t,e),d&&M.event.trigger("ajaxError",[m,h,t]),h.complete&&h.complete.call(h.context,m,t)}},(d=h.global)&&0==M.active++&&M.event.trigger("ajaxStart"),d&&M.event.trigger("ajaxSend",[m,h]),h.beforeSend&&!1===h.beforeSend.call(h.context,m,h))?(h.global&&M.active--,S.reject()):m.aborted?S.reject():((e=a.clk)&&(o=e.name)&&!e.disabled&&(h.extraData=h.extraData||{},h.extraData[o]=e.value,"image"==e.type)&&(h.extraData[o+".x"]=a.clk_x,h.extraData[o+".y"]=a.clk_y),y=1,b=2,e=M("meta[name=csrf-token]").attr("content"),(o=M("meta[name=csrf-param]").attr("content"))&&e&&(h.extraData=h.extraData||{},h.extraData[o]=e),h.forceSync?t():setTimeout(t,10),k=50,T=M.parseXML||function(e,t){return window.ActiveXObject?((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e)):t=(new DOMParser).parseFromString(e,"text/xml"),t&&t.documentElement&&"parsererror"!=t.documentElement.nodeName?t:null},r=M.parseJSON||function(e){return window.eval("("+e+")")},C=function(e,t,i){var n=e.getResponseHeader("content-type")||"",o="xml"===t||!t&&0<=n.indexOf("xml"),e=o?e.responseXML:e.responseText;return o&&"parsererror"===e.documentElement.nodeName&&M.error&&M.error("parsererror"),"string"==typeof(e=i&&i.dataFilter?i.dataFilter(e,t):e)&&("json"===t||!t&&0<=n.indexOf("json")?e=r(e):("script"===t||!t&&0<=n.indexOf("javascript"))&&M.globalEval(e)),e}),S}if(this.length){var j,E=this,t=("function"==typeof l?l={success:l}:void 0===l&&(l={}),j=l.type||this.attr2("method"),t=(t=(t="string"==typeof(t=l.url||this.attr2("action"))?M.trim(t):"")||window.location.href||"")&&(t.match(/^([^#]+)/)||[])[1],l=M.extend(!0,{url:t,success:M.ajaxSettings.success,type:j||M.ajaxSettings.type,iframeSrc:/^https/i.test(window.location.href||"")?"javascript:false":"about:blank"},l),{});if(this.trigger("form-pre-serialize",[this,l,t]),t.veto)P("ajaxSubmit: submit vetoed via form-pre-serialize trigger");else if(l.beforeSerialize&&!1===l.beforeSerialize(this,l))P("ajaxSubmit: submit aborted via beforeSerialize callback");else{var i=l.traditional;void 0===i&&(i=M.ajaxSettings.traditional);var D=[],n=this.formToArray(l.semantic,D);if(l.data&&(l.extraData=l.data,u=M.param(l.data,i)),l.beforeSubmit&&!1===l.beforeSubmit(n,this,l))P("ajaxSubmit: submit aborted via beforeSubmit callback");else if(this.trigger("form-submit-validate",[n,this,l,t]),t.veto)P("ajaxSubmit: submit vetoed via form-submit-validate trigger");else{var o,s,r,t=M.param(n,i),a=(u&&(t=t?t+"&"+u:u),"GET"==l.type.toUpperCase()?(l.url+=(0<=l.url.indexOf("?")?"&":"?")+t,l.data=null):l.data=t,[]);l.resetForm&&a.push(function(){E.resetForm()}),l.clearForm&&a.push(function(){E.clearForm(l.includeHidden)}),!l.dataType&&l.target?(o=l.success||function(){},a.push(function(e){var t=l.replaceTarget?"replaceWith":"html";M(l.target)[t](e).each(o,arguments)})):l.success&&a.push(l.success),l.success=function(e,t,i){for(var n=l.context||this,o=0,s=a.length;o<s;o++)a[o].apply(n,[e,t,i||E,E])},l.error&&(s=l.error,l.error=function(e,t,i){var n=l.context||this;s.apply(n,[e,t,i,E])}),l.complete&&(r=l.complete,l.complete=function(e,t){var i=l.context||this;r.apply(i,[e,t,E])});var c,i=0<M("input[type=file]:enabled",this).filter(function(){return""!==M(this).val()}).length,u="multipart/form-data",t=E.attr("enctype")==u||E.attr("encoding")==u,u=m.fileapi&&m.formdata;P("fileAPI :"+u),!1!==l.iframe&&(l.iframe||(i||t)&&!u)?l.closeKeepAlive?M.get(l.closeKeepAlive,function(){c=e(n)}):c=e(n):c=(i||t)&&u?(e=>{for(var i=new FormData,t=0;t<e.length;t++)i.append(e[t].name,e[t].value);if(l.extraData)for(var n=(e=>{for(var t,i=M.param(e,l.traditional).split("&"),n=i.length,o=[],s=0;s<n;s++)i[s]=i[s].replace(/\+/g," "),t=i[s].split("="),o.push([decodeURIComponent(t[0]),decodeURIComponent(t[1])]);return o}
1)(l.extraData),t=0;t<n.length;t++)n[t]&&i.append(n[t][0],n[t][1]);l.data=null;var o=M.extend(!0,{},M.ajaxSettings,l,{contentType:!1,processData:!1,cache:!1,type:j||"POST"}),s=(l.uploadProgress&&(o.xhr=function(){var e=M.ajaxSettings.xhr();return e.upload&&e.upload.addEventListener("progress",function(e){var t=0,i=e.loaded||e.position,n=e.total;e.lengthComputable&&(t=Math.ceil(i/n*100)),l.uploadProgress(e,i,n,t)},!1),e}),o.data=null,o.beforeSend);return o.beforeSend=function(e,t){t.data=l.formData||i,s&&s.call(this,e,t)},M.ajax(o)})(n):M.ajax(l),E.removeData("jqxhr").data("jqxhr",c);for(var h=0;h<D.length;h++)D[h]=null;this.trigger("form-submit-notify",[this,l])}}}else P("ajaxSubmit: skipping submit process - no element selected");return this},M.fn.ajaxForm=function(e){var t;return(e=e||{}).delegation=e.delegation&&M.isFunction(M.fn.on),e.delegation||0!==this.length?e.delegation?(M(document).off("submit.form-plugin",this.selector,i).off("click.form-plugin",this.selector,n).on("submit.form-plugin",this.selector,e,i).on("click.form-plugin",this.selector,e,n),this):this.ajaxFormUnbind().bind("submit.form-plugin",e,i).bind("click.form-plugin",e,n):(t={s:this.selector,c:this.context},!M.isReady&&t.s?(P("DOM not ready, queuing ajaxForm"),M(function(){M(t.s,t.c).ajaxForm(e)})):P("terminating; zero elements found by selector"+(M.isReady?"":" (DOM not ready)")),this)},M.fn.ajaxFormUnbind=function(){return this.unbind("submit.form-plugin click.form-plugin")},M.fn.formToArray=function(e,t){var i=[];if(0!==this.length){var n=this[0],o=this.attr("id"),s=e?n.getElementsByTagName("*"):n.elements;if(s&&!/MSIE [678]/.test(navigator.userAgent)&&(s=M(s).get()),(s=o&&(o=M(':input[form="'+o+'"]').get()).length?(s||[]).concat(o):s)&&s.length){for(var r,a,l,c,u,h,d=0,p=s.length;d<p;d++)if((h=(l=s[d]).name)&&!l.disabled)if(e&&n.clk&&"image"==l.type)n.clk==l&&(i.push({name:h,value:M(l).val(),type:l.type}),i.push({name:h+".x",value:n.clk_x},{name:h+".y",value:n.clk_y}));else if((a=M.fieldValue(l,!0))&&a.constructor==Array)for(t&&t.push(l),r=0,c=a.length;r<c;r++)i.push({name:h,value:a[r]});else if(m.fileapi&&"file"==l.type){t&&t.push(l);var f=l.files;if(f.length)for(r=0;r<f.length;r++)i.push({name:h,value:f[r],type:l.type});else i.push({name:h,value:"",type:l.type})}else null!=a&&(t&&t.push(l),i.push({name:h,value:a,type:l.type,required:l.required}));!e&&n.clk&&(h=(u=(o=M(n.clk))[0]).name)&&!u.disabled&&"image"==u.type&&(i.push({name:h,value:o.val()}),i.push({name:h+".x",value:n.clk_x},{name:h+".y",value:n.clk_y}))}}return i},M.fn.formSerialize=function(e){return M.param(this.formToArray(e))},M.fn.fieldSerialize=function(o){var s=[];return this.each(function(){var e=this.name;if(e){var t=M.fieldValue(this,o);if(t&&t.constructor==Array)for(var i=0,n=t.length;i<n;i++)s.push({name:e,value:t[i]});else null!=t&&s.push({name:this.name,value:t})}}),M.param(s)},M.fn.fieldValue=function(e){for(var t=[],i=0,n=this.length;i<n;i++){var o=this[i],o=M.fieldValue(o,e);null==o||o.constructor==Array&&!o.length||(o.constructor==Array?M.merge(t,o):t.push(o))}return t},M.fieldValue=function(e,t){var i=e.name,n=e.type,o=e.tagName.toLowerCase();if((t=void 0===t?!0:t)&&(!i||e.disabled||"reset"==n||"button"==n||("checkbox"==n||"radio"==n)&&!e.checked||("submit"==n||"image"==n)&&e.form&&e.form.clk!=e||"select"==o&&-1==e.selectedIndex))return null;if("select"!=o)return M(e).val();t=e.selectedIndex;if(t<0)return null;for(var s=[],r=e.options,a="select-one"==n,l=a?t+1:r.length,c=a?t:0;c<l;c++){var u=r[c];if(u.selected){var h=(h=u.value)||(u.attributes&&u.attributes.value&&!u.attributes.value.specified?u.text:u.value);if(a)return h;s.push(h)}}return s},M.fn.clearForm=function(e){return this.each(function(){M("input,select,textarea",this).clearFields(e)})},M.fn.clearFields=M.fn.clearInputs=function(i){var n=/^(?:color|date|datetime|email|month|number|password|range|search|tel|text|time|url|week)$/i;return this.each(function(){var e=this.type,t=this.tagName.toLowerCase();n.test(e)||"textarea"==t?this.value="":"checkbox"==e||"radio"==e?this.checked=!1:"select"==t?this.selectedIndex=-1:"file"==e?/MSIE/.test(navigator.userAgent)?M(this).replaceWith(M(this).clone(!0)):M(this).val(""):i&&(!0===i&&/hidden/.test(e)||"string"==typeof i&&M(this).is(i))&&(this.value="")}
1)},M.fn.resetForm=function(){return this.each(function(){"function"!=typeof this.reset&&("object"!=typeof this.reset||this.reset.nodeType)||this.reset()})},M.fn.enable=function(e){return void 0===e&&(e=!0),this.each(function(){this.disabled=!e})},M.fn.selected=function(t){return void 0===t&&(t=!0),this.each(function(){var e=this.type;"checkbox"==e||"radio"==e?this.checked=t:"option"==this.tagName.toLowerCase()&&(e=M(this).parent("select"),t&&e[0]&&"select-one"==e[0].type&&e.find("option").selected(!1),this.selected=t)})},M.fn.ajaxSubmit.debug=!1}),((l,r,f)=>{function i(e,t){var i,n,o,s=[],r=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},i=(t=e&&e.data?h(e.data.options,t):t).$target||f(e.currentTarget).trigger("blur"),(o=f.fancybox.getInstance())&&o.$trigger&&o.$trigger.is(i))||(s=t.selector?f(t.selector):(n=i.attr("data-fancybox")||"")?(s=e.data?e.data.items:[]).length?s.filter('[data-fancybox="'+n+'"]'):f('[data-fancybox="'+n+'"]'):[i],r=f(s).index(i),(o=f.fancybox.open(s,t,r=r<0?0:r)).$trigger=i)}if(l.console=l.console||{info:function(e){}},f){if(f.fn.fancybox)return console.info("fancyBox already initialized");var e={closeExisting:!1,loop:!1,gutter:50,keyboard:!0,preventCaptionOverlap:!0,arrows:!0,infobar:!0,smallBtn:"auto",toolbar:"auto",buttons:["zoom","slideShow","thumbs","close"],idleTime:3,protect:!1,modal:!1,image:{preload:!1},ajax:{settings:{data:{fancybox:!0}}},iframe:{tpl:'<iframe id="fancybox-frame{rnd}" name="fancybox-frame{rnd}" class="fancybox-iframe" allowfullscreen="allowfullscreen" allow="autoplay; fullscreen" src=""></iframe>',preload:!0,css:{},attr:{scrolling:"auto"}},video:{tpl:'<video class="fancybox-video" controls controlsList="nodownload" poster="{{poster}}"><source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos, <a href="{{src}}">download</a> and watch with your favorite video player!</video>',format:"",autoStart:!0},defaultType:"image",animationEffect:"zoom",animationDuration:366,zoomOpacity:"auto",transitionEffect:"fade",transitionDuration:366,slideClass:"",baseClass:"",baseTpl:'<div class="fancybox-container" role="dialog" tabindex="-1"><div class="fancybox-bg"></div><div class="fancybox-inner"><div class="fancybox-infobar"><span data-fancybox-index></span> / <span data-fancybox-count></span></div><div class="fancybox-toolbar">{{buttons}}</div><div class="fancybox-navigation">{{arrows}}</div><div class="fancybox-stage"></div><div class="fancybox-caption"><div class="fancybox-caption__body"></div></div></div></div>',spinnerTpl:'<div class="fancybox-loading"></div>',errorTpl:'<div class="fancybox-error"><p>{{ERROR}}</p></div>',btnTpl:{download:'<a download data-fancybox-download class="fancybox-button fancybox-button--download" title="{{DOWNLOAD}}" href="javascript:;"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.62 17.09V19H5.38v-1.91zm-2.97-6.96L17 11.45l-5 4.87-5-4.87 1.36-1.32 2.68 2.64V5h1.92v7.77z"/></svg></a>',zoom:'<button data-fancybox-zoom class="fancybox-button fancybox-button--zoom" title="{{ZOOM}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M18.7 17.3l-3-3a5.9 5.9 0 0 0-.6-7.6 5.9 5.9 0 0 0-8.4 0 5.9 5.9 0 0 0 0 8.4 5.9 5.9 0 0 0 7.7.7l3 3a1 1 0 0 0 1.3 0c.4-.5.4-1 0-1.5zM8.1 13.8a4 4 0 0 1 0-5.7 4 4 0 0 1 5.7 0 4 4 0 0 1 0 5.7 4 4 0 0 1-5.7 0z"/></svg></button>',close:'<button data-fancybox-close class="fancybox-button fancybox-button--close" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 10.6L6.6 5.2 5.2 6.6l5.4 5.4-5.4 5.4 1.4 1.4 5.4-5.4 5.4 5.4 1.4-1.4-5.4-5.4 5.4-5.4-1.4-1.4-5.4 5.4z"/></svg></button>',arrowLeft:'<button data-fancybox-prev class="fancybox-button fancybox-button--arrow_left" title="{{PREV}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M11.28 15.7l-1.34 1.37L5 12l4.94-5.07 1.34 1.38-2.68 2.72H19v1.94H8.6z"/></svg></div></button>',arrowRight:'<button data-fancybox-next class="fancybox-button fancybox-button--arrow_right" title="{{NEXT}}"><div><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
1<path d="M15.4 12.97l-2.68 2.72 1.34 1.38L19 12l-4.94-5.07-1.34 1.38 2.68 2.72H5v1.94z"/></svg></div></button>',smallBtn:'<button type="button" data-fancybox-close class="fancybox-button fancybox-close-small" title="{{CLOSE}}"><svg xmlns="http://www.w3.org/2000/svg" version="1" viewBox="0 0 24 24"><path d="M13 12l5-5-1-1-5 5-5-5-1 1 5 5-5 5 1 1 5-5 5 5 1-1z"/></svg></button>'},parentEl:"body",hideScrollbar:!0,autoFocus:!0,backFocus:!0,trapFocus:!0,fullScreen:{autoStart:!1},touch:{vertical:!0,momentum:!0},hash:null,media:{},slideShow:{autoStart:!1,speed:3e3},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"},wheel:"auto",onInit:f.noop,beforeLoad:f.noop,afterLoad:f.noop,beforeShow:f.noop,afterShow:f.noop,beforeClose:f.noop,afterClose:f.noop,onActivate:f.noop,onDeactivate:f.noop,clickContent:function(e,t){return"image"===e.type&&"zoom"},clickSlide:"close",clickOutside:"close",dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1,mobile:{preventCaptionOverlap:!1,idleTime:!1,clickContent:function(e,t){return"image"===e.type&&"toggleControls"},clickSlide:function(e,t){return"image"===e.type?"toggleControls":"close"},dblclickContent:function(e,t){return"image"===e.type&&"zoom"},dblclickSlide:function(e,t){return"image"===e.type&&"zoom"}},lang:"en",i18n:{en:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",ERROR:"The requested content cannot be loaded. <br/> Please try again later.",PLAY_START:"Start slideshow",PLAY_STOP:"Pause slideshow",FULL_SCREEN:"Full screen",THUMBS:"Thumbnails",DOWNLOAD:"Download",SHARE:"Share",ZOOM:"Zoom"},de:{CLOSE:"Schließen",NEXT:"Weiter",PREV:"Zurück",ERROR:"Die angeforderten Daten konnten nicht geladen werden. <br/> Bitte versuchen Sie es später nochmal.",PLAY_START:"Diaschau starten",PLAY_STOP:"Diaschau beenden",FULL_SCREEN:"Vollbild",THUMBS:"Vorschaubilder",DOWNLOAD:"Herunterladen",SHARE:"Teilen",ZOOM:"Vergrößern"}}},o=f(l),s=f(r),a=0,u=l.requestAnimationFrame||l.webkitRequestAnimationFrame||l.mozRequestAnimationFrame||l.oRequestAnimationFrame||function(e){return l.setTimeout(e,1e3/60)},t=l.cancelAnimationFrame||l.webkitCancelAnimationFrame||l.mozCancelAnimationFrame||l.oCancelAnimationFrame||function(e){l.clearTimeout(e)},c=(()=>{var e,t=r.createElement("fakeelement"),i={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in i)if(void 0!==t.style[e])return i[e];return"transitionend"})(),d=function(e){return e&&e.length&&e[0].offsetHeight},h=function(e,t){var i=f.extend(!0,{},e,t);return f.each(t,function(e,t){f.isArray(t)&&(i[e]=t)}),i},n=function(e,t,i){var n=this;n.opts=h({index:i},f.fancybox.defaults),f.isPlainObject(t)&&(n.opts=h(n.opts,t)),f.fancybox.isMobile&&(n.opts=h(n.opts,n.opts.mobile)),n.id=n.opts.id||++a,n.currIndex=parseInt(n.opts.index,10)||0,n.prevIndex=null,n.prevPos=null,n.currPos=0,n.firstRun=!0,n.group=[],n.slides={},n.addContent(e),n.group.length&&n.init()};f.extend(n.prototype,{init:function(){var t,i,n=this,o=n.group[n.currIndex].opts;o.closeExisting&&f.fancybox.close(!0),f("body").addClass("fancybox-active"),!f.fancybox.getInstance()&&!1!==o.hideScrollbar&&!f.fancybox.isMobile&&r.body.scrollHeight>l.innerHeight&&(f("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(l.innerWidth-r.documentElement.clientWidth)+"px;}</style>"),f("body").addClass("compensate-for-scrollbar")),i="",f.each(o.buttons,function(e,t){i+=o.btnTpl[t]||""}),t=f(n.translate(n,o.baseTpl.replace("{{buttons}}",i).replace("{{arrows}}",o.btnTpl.arrowLeft+o.btnTpl.arrowRight))).attr("id","fancybox-container-"+n.id).addClass(o.baseClass).data("FancyBox",n).appendTo(o.parentEl),n.$refs={container:t},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach(function(e){n.$refs[e]=t.find(".fancybox-"+e)}),n.trigger("onInit"),n.activate(),n.jumpTo(n.currIndex)},translate:function(e,t){var i=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,function(e,t){return void 0===i[t]?e:i[t]})},addContent:function(e){var r=this,e=f.makeArray(e);f.each(e,function(e,t){var i,n,o={},s={};f.isPlainObject(t)?s=(o=t).opts||t:"object"===f.type(t)&&f(t).length?(s=(i=f(t)).data()||{},(s=f.extend(!0,{},s,s.options)).$orig=i,o.src=r.opts.src||s.src||i.attr("href"),o.type||o.src||(o.type="inline",o.src=t)):o={type:"html",src:t+""},o.opts=f.extend(!0,{},r.opts,s),f.isArray(s.buttons)&&(o.opts.buttons=s.buttons),f.fancybox.isMobile&&o.opts.mobile&&(o.opts=h(o.opts,o.opts.mobile)),i=o.type||o.opts.type,s=o.src||"",!i&&s&&((n=s.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(i="video",o.opts.video.format||(o.opts.video.format="video/"+("ogv"===n[1]?"ogg":n[1]))):s.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?i="image":s.match(/\.(pdf)((\?|#).*)?$/i)?o=f.extend(!0,o,{contentType:"pdf",opts:{iframe:{preload:!(i="iframe")}}}):"#"===s.charAt(0)&&(i="inline")),i?o.type=i:r.trigger("objectNeedsType",o),o.contentType||(o.contentType=-1<f.inArray(o.type,["html","inline","ajax"])?"html":o.type),o.index=r.group.length,"auto"==o.opts.smallBtn&&(o.opts.smallBtn=-1<f.inArray(o.type,["html","inline","ajax"])),"auto"===o.opts.toolbar&&(o.opts.toolbar=!o.opts.smallBtn),o.$thumb=o.opts.$thumb||null,o.opts.$trigger&&o.index===r.opts.index&&(o.$thumb=o.opts.$trigger.find("img:first"),o.$thumb.length)&&(o.opts.$orig=o.opts.$trigger),o.$thumb&&o.$thumb.length||!o.opts.$orig||(o.$thumb=o.opts.$orig.find("img:first")),o.$thumb&&!o.$thumb.length&&(o.$thumb=null),o.thumb=o.opts.thumb||(o.$thumb?o.$thumb[0].src:null),"function"===f.type(o.opts.caption)&&(o.opts.caption=o.opts.caption.apply(t,[r,o])),"function"===f.type(r.opts.caption)&&(o.opts.caption=r.opts.caption.apply(t,[r,o])),o.opts.caption instanceof f||(o.opts.caption=void 0===o.opts.caption?"":o.opts.caption+""),"ajax"===o.type&&1<(n=s.split(/\s+/,2)).length&&(o.src=n.shift(),o.opts.filter=n.shift()),o.opts.modal&&(o.opts=f.extend(!0,o.opts,{trapFocus:!0,infobar:0,toolbar:0,smallBtn:0,keyboard:0,slideShow:0,fullScreen:0,thumbs:0,touch:0,clickContent:!1,clickSlide:!1,clickOutside:!1,dblclickContent:!1,dblclickSlide:!1,dblclickOutside:!1})),r.group.push(o)}),Object.keys(r.slides).length&&(r.updateControls(),e=r.Thumbs)&&e.isActive&&(e.create(),e.focus())},addEvents:function(){var n=this;n.removeEvents(),n.$refs.container.on("click.fb-close","[data-fancybox-close]",function(e){e.stopPropagation(),e.preventDefault(),n.close(e)}).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",function(e){e.stopPropagation(),e.preventDefault(),n.previous()}).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",function(e){e.stopPropagation(),e.preventDefault(),n.next()}).on("click.fb","[data-fancybox-zoom]",function(e){n[n.isScaledDown()?"scaleToActual":"scaleToFit"]()}),o.on("orientationchange.fb resize.fb",function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(n.requestId&&t(n.requestId),n.requestId=u(function(){n.update(e)})):(n.current&&"iframe"===n.current.type&&n.$refs.stage.hide(),setTimeout(function(){n.$refs.stage.show(),n.update(e)},f.fancybox.isMobile?600:250))}),s.on("keydown.fb",function(e){var t=(f.fancybox?f.fancybox.getInstance():null).current,i=e.keyCode||e.which;if(9!=i)return!t.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||f(e.target).is("input,textarea,video,audio,select")?void 0:8===i||27===i?(e.preventDefault(),void n.close(e)):37===i||38===i?(e.preventDefault(),void n.previous()):39===i||40===i?(e.preventDefault(),void n.next()):void n.trigger("afterKeydown",e,
1i);t.opts.trapFocus&&n.focus(e)}),n.group[n.currIndex].opts.idleTime&&(n.idleSecondsCounter=0,s.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",function(e){n.idleSecondsCounter=0,n.isIdle&&n.showControls(),n.isIdle=!1}),n.idleInterval=l.setInterval(function(){++n.idleSecondsCounter>=n.group[n.currIndex].opts.idleTime&&!n.isDragging&&(n.isIdle=!0,n.idleSecondsCounter=0,n.hideControls())},1e3))},removeEvents:function(){o.off("orientationchange.fb resize.fb"),s.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),this.idleInterval&&(l.clearInterval(this.idleInterval),this.idleInterval=null)},previous:function(e){return this.jumpTo(this.currPos-1,e)},next:function(e){return this.jumpTo(this.currPos+1,e)},jumpTo:function(e,n){var t,i,o,s,r,a,l,c,u=this,h=u.group.length;if(!(u.isDragging||u.isClosing||u.isAnimating&&u.firstRun)){if(e=parseInt(e,10),!(i=(u.current||u).opts.loop)&&(e<0||h<=e))return!1;(t=u.firstRun=!Object.keys(u.slides).length,s=u.current,u.prevIndex=u.currIndex,u.prevPos=u.currPos,o=u.createSlide(e),1<h&&((i||o.index<h-1)&&u.createSlide(e+1),i||0<o.index)&&u.createSlide(e-1),u.current=o,u.currIndex=o.index,u.currPos=o.pos,u.trigger("beforeShow",t),u.updateControls(),o.forcedDuration=void 0,f.isNumeric(n)?o.forcedDuration=n:n=o.opts[t?"animationDuration":"transitionDuration"],n=parseInt(n,10),h=u.isMoved(o),o.$slide.addClass("fancybox-slide--current"),t)?(o.opts.animationEffect&&n&&u.$refs.container.css("transition-duration",n+"ms"),u.$refs.container.addClass("fancybox-is-open").trigger("focus"),u.loadSlide(o),u.preload("image")):(r=f.fancybox.getTranslate(s.$slide),a=f.fancybox.getTranslate(u.$refs.stage),f.each(u.slides,function(e,t){f.fancybox.stop(t.$slide,!0)}),s.pos!==o.pos&&(s.isComplete=!1),s.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),h?(c=r.left-(s.pos*r.width+s.pos*s.opts.gutter),f.each(u.slides,function(e,t){t.$slide.removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")});var i=t.pos*r.width+t.pos*t.opts.gutter;f.fancybox.setTranslate(t.$slide,{top:0,left:i-a.left+c}),t.pos!==o.pos&&t.$slide.addClass("fancybox-slide--"+(t.pos>o.pos?"next":"previous")),d(t.$slide),f.fancybox.animate(t.$slide,{top:0,left:(t.pos-o.pos)*r.width+(t.pos-o.pos)*t.opts.gutter},n,function(){t.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),t.pos===u.currPos&&u.complete()})})):n&&o.opts.transitionEffect&&(l="fancybox-animated fancybox-fx-"+o.opts.transitionEffect,s.$slide.addClass("fancybox-slide--"+(s.pos>o.pos?"next":"previous")),f.fancybox.animate(s.$slide,l,n,function(){s.$slide.removeClass(l).removeClass("fancybox-slide--next fancybox-slide--previous")},!1)),o.isLoaded?u.revealContent(o):u.loadSlide(o),u.preload("image"))}},createSlide:function(e){var t,i=this,n=e%i.group.length;return n=n<0?i.group.length+n:n,!i.slides[e]&&i.group[n]&&(t=f('<div class="fancybox-slide"></div>').appendTo(i.$refs.stage),i.slides[e]=f.extend(!0,{},i.group[n],{pos:e,$slide:t,isLoaded:!1}),i.updateSlide(i.slides[e])),i.slides[e]},scaleToActual:function(e,t,i){var n,o,s,r,a=this,l=a.current,c=l.$content,u=f.fancybox.getTranslate(l.$slide).width,h=f.fancybox.getTranslate(l.$slide).height,d=l.width,p=l.height;a.isAnimating||a.isMoved()||!c||"image"!=l.type||!l.isLoaded||l.hasError||(a.isAnimating=!0,f.fancybox.stop(c),e=void 0===e?.5*u:e,t=void 0===t?.5*h:t,(n=f.fancybox.getTranslate(c)).top-=f.fancybox.getTranslate(l.$slide).top,n.left-=f.fancybox.getTranslate(l.$slide).left,l=d/n.width,r=p/n.height,o=.5*u-.5*d,s=.5*h-.5*p,u<d&&(o=0<(o=n.left*l-(e*l-e))?0:o)<u-d&&(o=u-d),h<p&&(s=0<(s=n.top*r-(t*r-t))?0:s)<h-p&&(s=h-p),a.updateCursor(d,p),f.fancybox.animate(c,{top:s,left:o,scaleX:l,scaleY:r},i||366,function(){a.isAnimating=!1}),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop())},scaleToFit:function(e){var t=this,i=t.current,n=i.$content;t.isAnimating||t.isMoved()||!n||"image"!=i.type||!i.isLoaded||i.hasError||(t.isAnimating=!0,f.fancybox.stop(n),i=t.getFitPos(i),t.updateCursor(i.width,i.height),f.fancybox.animate(n,{top:i.top,left
1:i.left,scaleX:i.width/n.width(),scaleY:i.height/n.height()},e||366,function(){t.isAnimating=!1}))},getFitPos:function(e){var t,i,n=e.$content,o=e.$slide,s=e.width||e.opts.width,r=e.height||e.opts.height,a={};return!!(e.isLoaded&&n&&n.length)&&(t=f.fancybox.getTranslate(this.$refs.stage).width,i=f.fancybox.getTranslate(this.$refs.stage).height,t-=parseFloat(o.css("paddingLeft"))+parseFloat(o.css("paddingRight"))+parseFloat(n.css("marginLeft"))+parseFloat(n.css("marginRight")),i-=parseFloat(o.css("paddingTop"))+parseFloat(o.css("paddingBottom"))+parseFloat(n.css("marginTop"))+parseFloat(n.css("marginBottom")),s&&r||(s=t,r=i),t-.5<(s*=n=Math.min(1,t/s,i/r))&&(s=t),i-.5<(r*=n)&&(r=i),"image"===e.type?(a.top=Math.floor(.5*(i-r))+parseFloat(o.css("paddingTop")),a.left=Math.floor(.5*(t-s))+parseFloat(o.css("paddingLeft"))):"video"===e.contentType&&(s/(n=e.opts.width&&e.opts.height?s/r:e.opts.ratio||16/9)<r?r=s/n:r*n<s&&(s=r*n)),a.width=s,a.height=r,a)},update:function(i){var n=this;f.each(n.slides,function(e,t){n.updateSlide(t,i)})},updateSlide:function(e,t){var i=this,n=e&&e.$content,o=e.width||e.opts.width,s=e.height||e.opts.height,r=e.$slide;i.adjustCaption(e),n&&(o||s||"video"===e.contentType)&&!e.hasError&&(f.fancybox.stop(n),f.fancybox.setTranslate(n,i.getFitPos(e)),e.pos===i.currPos)&&(i.isAnimating=!1,i.updateCursor()),i.adjustLayout(e),r.length&&(r.trigger("refresh"),e.pos===i.currPos)&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",r.get(0).scrollHeight>r.get(0).clientHeight),i.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,i=t.current,n=i.$slide;!t.isClosing&&i&&(n.siblings().css({transform:"",opacity:""}),n.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),f.fancybox.animate(n,{top:0,left:0,opacity:1},void 0===e?0:e,function(){n.css({transform:"",opacity:""}),i.isComplete||t.complete()},!1))},isMoved:function(e){var t,i,e=e||this.current;return!!e&&(i=f.fancybox.getTranslate(this.$refs.stage),t=f.fancybox.getTranslate(e.$slide),!e.$slide.hasClass("fancybox-animated"))&&(.5<Math.abs(t.top-i.top)||.5<Math.abs(t.left-i.left))},updateCursor:function(e,t){var i=this.current,n=this.$refs.container;i&&!this.isClosing&&this.Guestures&&(n.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),t=!!(e=this.canPan(e,t))||this.isZoomable(),n.toggleClass("fancybox-is-zoomable",t),f("[data-fancybox-zoom]").prop("disabled",!t),e?n.addClass("fancybox-can-pan"):t&&("zoom"===i.opts.clickContent||f.isFunction(i.opts.clickContent)&&"zoom"==i.opts.clickContent(i))?n.addClass("fancybox-can-zoomIn"):i.opts.touch&&(i.opts.touch.vertical||1<this.group.length)&&"video"!==i.contentType&&n.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this.current;if(t&&!this.isClosing&&"image"===t.type&&!t.hasError){if(!t.isLoaded)return!0;if((e=this.getFitPos(t))&&(t.width>e.width||t.height>e.height))return!0}return!1},isScaledDown:function(e,t){var i=!1,n=this.current,o=n.$content;return void 0!==e&&void 0!==t?i=e<n.width&&t<n.height:o&&(i=(i=f.fancybox.getTranslate(o)).width<n.width&&i.height<n.height),i},canPan:function(e,t){var i=this.current,n=null,o=!1;return o="image"===i.type&&(i.isComplete||e&&t)&&!i.hasError&&(o=this.getFitPos(i),void 0!==e&&void 0!==t?n={width:e,height:t}:i.isComplete&&(n=f.fancybox.getTranslate(i.$content)),n)?o&&(1.5<Math.abs(n.width-o.width)||1.5<Math.abs(n.height-o.height)):o},loadSlide:function(i){var e,t,n,o=this;if(!i.isLoading&&!i.isLoaded){if(!(i.isLoading=!0)===o.trigger("beforeLoad",i))return i.isLoading=!1;switch(e=i.type,(t=i.$slide).off("refresh").trigger("onReset").addClass(i.opts.slideClass),e){case"image":o.setImage(i);break;case"iframe":o.setIframe(i);break;case"html":o.setContent(i,i.src||i.content);break;case"video":o.setContent(i,i.opts.video.tpl.replace(/\{\{src\}\}/gi,i.src).replace("{{format}}",i.opts.videoFormat||i.opts.video.format||"").replace("{{poster}}",i.thumb||""));break;case"inline":f(i.src).length?o.setContent(i,f(i.src)):o.setError(i);break;case"ajax":o.showLoading(i),n=f.ajax(f.extend({},i.opts.ajax.settings,{url:i.src,success:function(e,t){"success"===t&&o.setContent(i,e)},error:function(e,t){e&&"abort"!==t&&o.setError(i)}})),t.one("onReset",function(){n.abort()});break;default:o.setError(i)}return!0}},setImage:function(t){var e,i=this;setTimeout(function(){var e=t.$image;i.isClosing||!t.isLoading||e&&e.length&&e[0].complete||t.hasError||i.showLoading(t)}
vendor: 5,715 bytes, line 1
1,50),i.checkSrcset(t),t.$content=f('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(t.$slide.addClass("fancybox-slide--image")),!1!==t.opts.preload&&t.opts.width&&t.opts.height&&t.thumb&&(t.width=t.opts.width,t.height=t.opts.height,(e=r.createElement("img")).onerror=function(){f(this).remove(),t.$ghost=null},e.onload=function(){i.afterLoad(t)},t.$ghost=f(e).addClass("fancybox-image").appendTo(t.$content).attr("src",t.thumb)),i.setBigImage(t)},checkSrcset:function(e){var t,i,n,o,s=e.opts.srcset||e.opts.image.srcset;if(s){n=l.devicePixelRatio||1,o=l.innerWidth*n,(i=s.split(",").map(function(e){var n={};return e.trim().split(/\s+/).forEach(function(e,t){var i=parseInt(e.substring(0,e.length-1),10);if(0===t)return n.url=e;i&&(n.value=i,n.postfix=e[e.length-1])}),n})).sort(function(e,t){return e.value-t.value});for(var r=0;r<i.length;r++){var a=i[r];if("w"===a.postfix&&a.value>=o||"x"===a.postfix&&a.value>=n){t=a;break}}(t=!t&&i.length?i[i.length-1]:t)&&(e.src=t.url,e.width&&e.height&&"w"==t.postfix&&(e.height=e.width/e.height*t.value,e.width=t.value),e.opts.srcset=s)}},setBigImage:function(t){var i=this,e=r.createElement("img"),n=f(e);t.$image=n.one("error",function(){i.setError(t)}).one("load",function(){var e;t.$ghost||(i.resolveImageSlideSize(t,this.naturalWidth,this.naturalHeight),i.afterLoad(t)),i.isClosing||(t.opts.srcset&&((e=t.opts.sizes)&&"auto"!==e||(e=(1<t.width/t.height&&1<o.width()/o.height()?"100":Math.round(t.width/t.height*100))+"vw"),n.attr("sizes",e).attr("srcset",t.opts.srcset)),t.$ghost&&setTimeout(function(){t.$ghost&&!i.isClosing&&t.$ghost.hide()},Math.min(300,Math.max(1e3,t.height/1600))),i.hideLoading(t))}).addClass("fancybox-image").attr("src",t.src).appendTo(t.$content),(e.complete||"complete"==e.readyState)&&n.naturalWidth&&n.naturalHeight?n.trigger("load"):e.error&&n.trigger("error")},resolveImageSlideSize:function(e,t,i){var n=parseInt(e.opts.width,10),o=parseInt(e.opts.height,10);e.width=t,e.height=i,0<n&&(e.width=n,e.height=Math.floor(n*i/t)),0<o&&(e.width=Math.floor(o*t/i),e.height=o)},setIframe:function(o){var s,t=this,r=o.opts.iframe,a=o.$slide;o.$content=f('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(a),a.addClass("fancybox-slide--"+o.contentType),o.$iframe=s=f(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(o.$content),r.preload?(t.showLoading(o),s.on("load.fb error.fb",function(e){this.isReady=1,o.$slide.trigger("refresh"),t.afterLoad(o)}),a.on("refresh.fb",function(){var e,t=o.$content,i=r.css.width,n=r.css.height;if(1===s[0].isReady){try{e=s.contents().find("body")}catch(e){}e&&e.length&&e.children().length&&(a.css("overflow","visible"),t.css({width:"100%","max-width":"100%",height:"9999px"}),void 0===i&&(i=Math.ceil(Math.max(e[0].clientWidth,e.outerWidth(!0)))),t.css("width",i||"").css("max-width",""),void 0===n&&(n=Math.ceil(Math.max(e[0].clientHeight,e.outerHeight(!0)))),t.css("height",n||""),a.css("overflow","auto")),t.removeClass("fancybox-is-hidden")}})):t.afterLoad(o),s.attr("src",o.src),a.one("onReset",function(){try{f(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}f(this).off("refresh.fb").empty(),o.isLoaded=!1,o.isRevealed=!1})},setContent:function(e,t){var i;this.isClosing||(this.hideLoading(e),e.$content&&f.fancybox.stop(e.$content),e.$slide.empty(),(i=t)&&i.hasOwnProperty&&i instanceof f&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=f("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===f.type(t)&&(t=f("<div>").append(f.trim(t)).contents()),e.opts.filter&&(t=f("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",function(){f(this).find("video,audio").trigger("pause"),e.$placeholder&&(e.$placeholder.after(t.removeClass("fancybox-content").hide()).remove(),e.$placeholder=null),e.$smallBtn&&(e.$smallBtn.remove(),e.$smallBtn=null),e.hasError||(f(this).empty(),e.isLoaded=!1,e.isRevealed=!1)}),f(t).appendTo(e.$slide),f(t).is("video,audio")&&(f(t).addClass("fancybox-video"),f(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||f(t).attr("width"),e.opts.height=e.opts.height||f(t).attr("height")),e.$content=e.$slide.children().filter("div,form,main,video,audio,article,.fancybox-content").first(),e.$content.siblings().hide(),e.$content.length||(e.$content=e.$slide.wrapInner("<div></div>").children().first()),e.$content.addClass("fancybox-content"),e.$slide.addClass("fancybox-slide--"+e.contentType),this.afterLoad(e))},setError:function(e){e.hasError=!0,e.$slide.trigger("onReset").removeClass("fancybox-slide--"+e.contentType).addClass("fancybox-slide--error"),e.contentType="html",this.setContent(e,this.translate(e,e.opts.errorTpl)),e.pos===this.currPos&&(this.isAnimating=!1)},showLoading:function(e){(e=e||this.current)&&!e.$spinner&&(e.$spinner=f(this.translate(this,this.opts.spinnerTpl)).appendTo(e.$slide).hide().fadeIn("fast"))},hideLoading:function(e){(e=e||this.current)&&e.$spinner&&(e.$spinner.stop().remove(),delete e.$spinner)},afterLoad:function(e){this.isClosing||(e.isLoading=!1,e.isLoaded=!0,this.trigger("afterLoad",e),this.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=f(this.translate(e,e.opts.btnTpl.smallBtn)).appendTo(e.$content)),e.opts.protect&&e.$content&&!e.hasError&&(e.$content.on("contextmenu.fb",function(e){return 2==e.button&&e.preventDefault(),!0}),"image"===e.type)&&f('<div class="fancybox-spaceball"></div>').appendTo(e.$content),this.adjustCaption(e),this.adjustLayout(e),e.pos===this.currPos&&this.updateCursor(
1),this.revealContent(e))},adjustCaption:function(e){var e=e||this.current,t=e.opts.caption,i=e.opts.preventCaptionOverlap,n=this.$refs.caption,o=!1;n.toggleClass("fancybox-caption--separate",i),i&&t&&t.length&&(e.pos!==this.currPos?((i=n.clone().appendTo(n.parent())).children().eq(0).empty().html(t),o=i.outerHeight(!0),i.empty().remove()):this.$caption&&(o=this.$caption.outerHeight(!0)),e.$slide.css("padding-bottom",o||""))},adjustLayout:function(e){var t,i,n,o,e=e||this.current;e.isLoaded&&!0!==e.opts.disableLayoutFix&&(e.$content.css("margin-bottom",""),e.$content.outerHeight()>e.$slide.height()+.5&&(n=e.$slide[0].style["padding-bottom"],o=e.$slide.css("padding-bottom"),0<parseFloat(o))&&(t=e.$slide[0].scrollHeight,e.$slide.css("padding-bottom",0),Math.abs(t-e.$slide[0].scrollHeight)<1&&(i=o),e.$slide.css("padding-bottom",n)),e.$content.css("margin-bottom",i))},revealContent:function(e){var t,i,n,o,s=this,r=e.$slide,a=!1,l=!1,c=s.isMoved(e),u=e.isRevealed;return e.isRevealed=!0,t=e.opts[s.firstRun?"animationEffect":"transitionEffect"],n=e.opts[s.firstRun?"animationDuration":"transitionDuration"],n=parseInt(void 0===e.forcedDuration?n:e.forcedDuration,10),"zoom"===(t=!c&&e.pos===s.currPos&&n?t:!1)&&(e.pos===s.currPos&&n&&"image"===e.type&&!e.hasError&&(l=s.getThumbPos(e))?a=s.getFitPos(e):t="fade"),"zoom"===t?(s.isAnimating=!0,a.scaleX=a.width/l.width,a.scaleY=a.height/l.height,(o="auto"==(o=e.opts.zoomOpacity)?.1<Math.abs(e.width/e.height-l.width/l.height):o)&&(l.opacity=.1,a.opacity=1),f.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),l),d(e.$content),void f.fancybox.animate(e.$content,a,n,function(){s.isAnimating=!1,s.complete()})):(s.updateSlide(e),t?(f.fancybox.stop(r),i="fancybox-slide--"+(e.pos>=s.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,r.addClass(i).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),d(r),"image"!==e.type&&e.$content.hide().show(0),void f.fancybox.animate(r,"fancybox-slide--current",n,function(){r.removeClass(i).css({transform:"",opacity:""}),e.pos===s.currPos&&s.complete()},!0)):(e.$content.removeClass("fancybox-is-hidden"),u||!c||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===s.currPos&&s.complete())))},getThumbPos:function(e){var t,i,n,o,e=e.$thumb;return!(!e||!(n=e[0])||n.ownerDocument!==r||(f(".fancybox-container").css("pointer-events","none"),o={x:n.getBoundingClientRect().left+n.offsetWidth/2,y:n.getBoundingClientRect().top+n.offsetHeight/2},o=r.elementFromPoint(o.x,o.y)===n,f(".fancybox-container").css("pointer-events",""),!o))&&(n=f.fancybox.getTranslate(e),o=parseFloat(e.css("border-top-width")||0),i=parseFloat(e.css("border-right-width")||0),t=parseFloat(e.css("border-bottom-width")||0),e=parseFloat(e.css("border-left-width")||0),i={top:n.top+o,left:n.left+e,width:n.width-i-e,height:n.height-o-t,scaleX:1,scaleY:1},0<n.width)&&0<n.height&&i},complete:function(){var e,i=this,t=i.current,n={};!i.isMoved()&&t.isLoaded&&(t.isComplete||(t.isComplete=!0,t.$slide.siblings().trigger("onReset"),i.preload("inline"),d(t.$slide),t.$slide.addClass("fancybox-slide--complete"),f.each(i.slides,function(e,t){t.pos>=i.currPos-1&&t.pos<=i.currPos+1?n[t.pos]=t:t&&(f.fancybox.stop(t.$slide),t.$slide.off().remove())}),i.slides=n),i.isAnimating=!1,i.updateCursor(),i.trigger("afterShow"),t.opts.video.autoStart&&t.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),i.next()}),t.opts.autoFocus&&"html"===t.contentType&&((e=t.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):i.focus(null,!0)),t.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,i;this.group.length<2||(i=this.slides[this.currPos+1],(t=this.slides[this.currPos-1])&&t.type===e&&this.loadSlide(t),i&&i.type===e&&this.loadSlide(i))},focus:function(e,t){var i=["a[href]","area[href]",'input:not([disabled]):not([type="hidden"]):not([aria-hidden])',"select:not([disabled]):not([aria-hidden])","textarea:not([disabled]):not([aria-hidden])","button:not([disabled]):not([aria-hidden])","iframe","object","embed","video","audio","[contenteditable]",'[tabindex]:not
1([tabindex^="-"])'].join(",");this.isClosing||((t=(t=!e&&this.current&&this.current.isComplete?this.current.$slide.find("*:visible"+(t?":not(.fancybox-close-small)":"")):this.$refs.container.find("*:visible")).filter(i).filter(function(){return"hidden"!==f(this).css("visibility")&&!f(this).hasClass("disabled")})).length?(i=t.index(r.activeElement),e&&e.shiftKey?(i<0||0==i)&&(e.preventDefault(),t.eq(t.length-1).trigger("focus")):(i<0||i==t.length-1)&&(e&&e.preventDefault(),t.eq(0).trigger("focus"))):this.$refs.container.trigger("focus"))},activate:function(){var t=this;f(".fancybox-container").each(function(){var e=f(this).data("FancyBox");e&&e.id!==t.id&&!e.isClosing&&(e.trigger("onDeactivate"),e.removeEvents(),e.isVisible=!1)}),t.isVisible=!0,(t.current||t.isIdle)&&(t.update(),t.updateControls()),t.trigger("onActivate"),t.addEvents()},close:function(e,t){function i(){l.cleanUp(e)}var n,o,s,r,a,l=this,c=l.current;return!l.isClosing&&(!(l.isClosing=!0)===l.trigger("beforeClose",e)?(l.isClosing=!1,u(function(){l.update()}),!1):(l.removeEvents(),o=c.$content,n=c.opts.animationEffect,t=f.isNumeric(t)?t:n?c.opts.animationDuration:0,c.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?f.fancybox.stop(c.$slide):n=!1,c.$slide.siblings().trigger("onReset").remove(),t&&l.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",t+"ms"),l.hideLoading(c),l.hideControls(!0),l.updateCursor(),"zoom"===(n="zoom"!==n||o&&t&&"image"===c.type&&!l.isMoved()&&!c.hasError&&(a=l.getThumbPos(c))?n:"fade")?(f.fancybox.stop(o),r={top:(r=f.fancybox.getTranslate(o)).top,left:r.left,scaleX:r.width/a.width,scaleY:r.height/a.height,width:a.width,height:a.height},(s="auto"==(s=c.opts.zoomOpacity)?.1<Math.abs(c.width/c.height-a.width/a.height):s)&&(a.opacity=0),f.fancybox.setTranslate(o,r),d(o),f.fancybox.animate(o,a,t,i)):n&&t?f.fancybox.animate(c.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+n,t,i):!0===e?setTimeout(i,t):i(),!0))},cleanUp:function(e){var t,i=this.current.opts.$orig;this.current.$slide.trigger("onReset"),this.$refs.container.empty().remove(),this.trigger("afterClose",e),this.current.opts.backFocus&&(i=i&&i.length&&i.is(":visible")?i:this.$trigger)&&i.length&&(e=l.scrollX,t=l.scrollY,i.trigger("focus"),f("html, body").scrollTop(t).scrollLeft(e)),this.current=null,(i=f.fancybox.getInstance())?i.activate():(f("body").removeClass("fancybox-active compensate-for-scrollbar"),f("#fancybox-style-noscroll").remove())},trigger:function(e,t){var i,n=Array.prototype.slice.call(arguments,1),t=t&&t.opts?t:this.current;if(t?n.unshift(t):t=this,n.unshift(this),!1===(i=f.isFunction(t.opts[e])?t.opts[e].apply(t,n):i))return i;("afterClose"!==e&&this.$refs?this.$refs.container:s).trigger(e+".fb",n)},updateControls:function(){var e=this,t=e.current,i=t.index,n=e.$refs.container,o=e.$refs.caption,s=t.opts.caption;t.$slide.trigger("refresh"),s&&s.length?(e.$caption=o).children().eq(0).html(s):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),n.find("[data-fancybox-count]").html(e.group.length),n.find("[data-fancybox-index]").html(i+1),n.find("[data-fancybox-prev]").prop("disabled",!t.opts.loop&&i<=0),n.find("[data-fancybox-next]").prop("disabled",!t.opts.loop&&i>=e.group.length-1),"image"===t.type?n.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",t.opts.image.src||t.src).show():t.opts.toolbar&&n.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),f(r.activeElement).is(":hidden,[disabled]")&&e.$refs.container.trigger("focus")},hideControls:function(e){var t=["infobar","toolbar","nav"];!e&&this.current.opts.preventCaptionOverlap||t.push("caption"),this.$refs.container.removeClass(t.map(function(e){return"fancybox-show-"+e}).join(" ")),this.hasHiddenControls=!0},showControls:function(){var e=(this.current||this).opts,t=this.$refs.container;this.hasHiddenControls=!1,this.idleSecondsCounter=0,t.toggleClass("fancybox-show-toolbar",!(!e.toolbar||!e.buttons)).toggleClass("fancybox-show-infobar",!!(e.infobar&&1<this.group.length)).toggleClass("fancybox-show-caption",!!this.$caption).toggleClass("fancybox-show-nav",!!(e.arrows&&1<this.group.length)).toggleClass("fancybox-is-modal",!!e.modal)}
1,toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),f.fancybox={version:"3.5.7",defaults:e,getInstance:function(e){var t=f('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return t instanceof n&&("string"===f.type(e)?t[e].apply(t,i):"function"===f.type(e)&&e.apply(t,i),t)},open:function(e,t,i){return new n(e,t,i)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e)&&this.close(e)},destroy:function(){this.close(!0),s.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(e=r.createElement("div"),l.getComputedStyle&&l.getComputedStyle(e)&&l.getComputedStyle(e).getPropertyValue("transform")&&!(r.documentMode&&r.documentMode<11)),getTranslate:function(e){var t;return!(!e||!e.length)&&{top:(t=e[0].getBoundingClientRect()).top||0,left:t.left||0,width:t.width,height:t.height,opacity:parseFloat(e.css("opacity"))}},setTranslate:function(e,t){var i="",n={};if(e&&t)return void 0===t.left&&void 0===t.top||(i=(void 0===t.left?e.position():t).left+"px, "+(void 0===t.top?e.position():t).top+"px",i=this.use3d?"translate3d("+i+", 0px)":"translate("+i+")"),void 0!==t.scaleX&&void 0!==t.scaleY?i+=" scale("+t.scaleX+", "+t.scaleY+")":void 0!==t.scaleX&&(i+=" scaleX("+t.scaleX+")"),i.length&&(n.transform=i),void 0!==t.opacity&&(n.opacity=t.opacity),void 0!==t.width&&(n.width=t.width),void 0!==t.height&&(n.height=t.height),e.css(n)},animate:function(t,i,n,o,s){var r,a=this;f.isFunction(n)&&(o=n,n=null),a.stop(t),r=a.getTranslate(t),t.on(c,function(e){(!e||!e.originalEvent||t.is(e.originalEvent.target)&&"z-index"!=e.originalEvent.propertyName)&&(a.stop(t),f.isNumeric(n)&&t.css("transition-duration",""),f.isPlainObject(i)?void 0!==i.scaleX&&void 0!==i.scaleY&&a.setTranslate(t,{top:i.top,left:i.left,width:r.width*i.scaleX,height:r.height*i.scaleY,scaleX:1,scaleY:1}):!0!==s&&t.removeClass(i),f.isFunction(o))&&o(e)}),f.isNumeric(n)&&t.css("transition-duration",n+"ms"),f.isPlainObject(i)?(void 0!==i.scaleX&&void 0!==i.scaleY&&(delete i.width,delete i.height,t.parent().hasClass("fancybox-slide--image"))&&t.parent().addClass("fancybox-is-scaling"),f.fancybox.setTranslate(t,i)):t.addClass(i),t.data("timer",setTimeout(function(){t.trigger(c)},n+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(c),e.off(c).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},f.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?f("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},i):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},i),this},s.on("click.fb-start","[data-fancybox]",i),s.on("click.fb-start","[data-fancybox-trigger]",function(e){f('[data-fancybox="'+f(this).attr("data-fancybox-trigger")+'"]').eq(f(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:f(this)})}),p=null,s.on("mousedown mouseup focus blur",".fancybox-button",function(e){switch(e.type){case"mousedown":p=f(this);break;case"mouseup":p=null;break;case"focusin":f(".fancybox-button").removeClass("fancybox-focus"),f(this).is(p)||f(this).is("[disabled]")||f(this).addClass("fancybox-focus");break;case"focusout":f(".fancybox-button").removeClass("fancybox-focus")}})}var p})(window,document,jQuery),(p=>{function f(i,e,t){if(i)return"object"===p.type(t=t||"")&&(t=p.param(t,!0)),p.each(e,function(e,t){i=i.replace("$"+e,t||"")}),t.length&&(i+=(0<i.indexOf("?")?"&":"?")+t),i}var n={youtube:{matcher:/(youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(watch\?(.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(.*)|[\w-]{11}|\?listType=(.*)&list=(.*))(.*)/i,params:{autoplay:1,autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},paramPlace:8,type:"iframe",url:"https://www.youtube-nocookie.com/embed/$4",thumb:"https://img.youtube.com/vi/$4/hqdefault.jpg"},vimeo:{matcher:/^.+vimeo.com\/(.*\/)?([\d]+)(.*)?/,params:{autoplay:1,hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},paramPlace:3,type:"iframe",url:"//player.vimeo.com/video/$2"},instagram:{matcher:/(instagr\.am|instagram\.com)\/p\/([a-zA-Z0-9_\-]+)\/?/i,type:"image",url:"//$1/p/$2/media/?size=l"},gmap_place:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(((maps\/(place\/(.*)\/)?\@(.*),(\d+.?\d+?)z))|(\?ll=))(.*)?/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/?ll="+(e[9]?e[9]+"&z="+Math.floor(e[10])+(e[12]?e[12].replace(/^\//,"&"):""):e[12]+"").replace(/\?/,"&")+"&output="+(e[12]&&0<e[12].indexOf("layer=c")?"svembed":"embed")}},gmap_search:{matcher:/(maps\.)?google\.([a-z]{2,3}(\.[a-z]{2})?)\/(maps\/search\/)(.*)/i,type:"iframe",url:function(e){return"//maps.google."+e[2]+"/maps?q="+e[5].replace("query=","q=").replace("api=1","")+"&output=embed"}}},o=(p(document).on("objectNeedsType.fb",function(e,t,o){var s,r,a,l,c,u,h=o.src||"",d=!1,i=p.extend(!0,{},n,o.opts.media);p.each(i,function(e,t){if(r=h.match(t.matcher)){if(d=t.type,u=e,c={},t.paramPlace&&r[t.paramPlace]){l=(l="?"==(l=r[t.paramPlace])[0]?l.substring(1):l).split("&");for(var i=0;i<l.length;++i){var n=l[i].split("=",2);2==n.length&&(c[n[0]]=decodeURIComponent(n[1].replace(/\+/g," ")))}}return a=p.extend(!0,{},t.params,o.opts[e],c),h="function"===p.type(t.url)?t.url.call(this,r,a,o):f(t.url,r,a),s="function"===p.type(t.thumb)?t.thumb.call(this,r,a,o):f(t.thumb,r),"youtube"===e?h=h.replace(/&t=((\d+)m)?(\d+)s/,function(e,t,i,n){return"&start="+((i?60*parseInt(i,10):0)+parseInt(n,10))}):"vimeo"===e&&(h=h.replace("&%23","#")),!1}}),d?(o.opts.thumb||o.opts.$thumb&&o.opts.$thumb.length||(o.opts.thumb=s),"iframe"===d&&(o.opts=p.extend(!0,o.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),p.extend(o,{type:d,src:h,origSrc:o.src,contentSource:u,contentType:"image"===d?"image":"gmap_place"==u||"gmap_search"==u?"map":"video"})):h&&(o.type=o.opts.defaultType)}),{youtube:{src:"https://www.youtube.com/iframe_api",class:"YT",loading:!1,loaded:!1},vimeo:{src:"https://player.vimeo.com/api/player.js",class:"Vimeo",loading:!1,loaded:!1},load:function(e){var t,i=this;this[e].loaded?setTimeout(function(){i.done(e)}):this[e].loading||(this[e].loading=!0,(t=document.createElement("script")).type="text/javascript",t.src=this[e].src,"youtube"===e?window.onYouTubeIframeAPIReady=function(){i[e].loaded=!0,i.done(e)}:t.onload=function(){i[e].loaded=!0,i.done(e)},document.body.appendChild(t))},done:function(e){var t,i;"youtube"===e&&delete window.onYouTubeIframeAPIReady,(t=p.fancybox.getInstance())&&(i=t.current.$content.find("iframe"),"youtube"===e&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(e){0==e.data&&t.next()}}}):"vimeo"===e&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",function(){t.next()}))}});p(document).on({"afterShow.fb":function(e,t,i){1<t.group.length&&("youtube"===i.contentSource||"vimeo"===i.contentSource)&&o.load(i.contentSource)}})})(jQuery),((u,l,h)=>{function d(e){var t,i=[];for(t in e=(e=e.originalEvent||e||u.e).touches&&e.touches.length?e.touches:e.changedTouches&&e.changedTouches.length?e.changedTouches:[e])e[t].pageX?i.push({x:e[t].pageX,y:e[t].pageY}):e[t].clientX&&i.push({x:e[t].clientX,y:e[t].clientY});return i}function p(e,t,i){return t&&e?"x"===i?e.x-t.x:"y"===i?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function c(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||h.isFunction(e.get(0).onclick)||e.data("selectable"))return 1;for(var t=0,i=e[0].attributes,n=i.length;t<n;t++)if("data-fancybox-"===i[t].nodeName.substr(0,14))return 1}function f(e){for(var t,i,n,o=!1;(t=e.get(0),n=i=n=i=void 0,i=u.getComputedStyle(t)["overflow-y"],n=u.getComputedStyle(t)["overflow-x"],i=("scroll"===i||"auto"===i)&&t.scrollHeight>t.clientHeight,n=("scroll"===n||"auto"===n)&&t.scrollWidth>
1t.clientWidth,!(o=i||n))&&((e=e.parent()).length&&!e.hasClass("fancybox-stage")&&!e.is("body")););return o}function i(e){this.instance=e,this.$bg=e.$refs.bg,this.$stage=e.$refs.stage,this.$container=e.$refs.container,this.destroy(),this.$container.on("touchstart.fb.touch mousedown.fb.touch",h.proxy(this,"ontouchstart"))}var m=u.requestAnimationFrame||u.webkitRequestAnimationFrame||u.mozRequestAnimationFrame||u.oRequestAnimationFrame||function(e){return u.setTimeout(e,1e3/60)},g=u.cancelAnimationFrame||u.webkitCancelAnimationFrame||u.mozCancelAnimationFrame||u.oCancelAnimationFrame||function(e){u.clearTimeout(e)};i.prototype.destroy=function(){this.$container.off(".fb.touch"),h(l).off(".fb.touch"),this.requestId&&(g(this.requestId),this.requestId=null),this.tapped&&(clearTimeout(this.tapped),this.tapped=null)},i.prototype.ontouchstart=function(e){var t=this,i=h(e.target),n=t.instance,o=n.current,s=o.$slide,r=o.$content,a="touchstart"==e.type;a&&t.$container.off("mousedown.fb.touch"),e.originalEvent&&2==e.originalEvent.button||!s.length||!i.length||c(i)||c(i.parent())||!i.is("img")&&e.originalEvent.clientX>i[0].clientWidth+i.offset().left||(!o||n.isAnimating||o.$slide.hasClass("fancybox-animated")?(e.stopPropagation(),e.preventDefault()):(t.realPoints=t.startPoints=d(e),t.startPoints.length&&(o.touch&&e.stopPropagation(),t.startEvent=e,t.canTap=!0,t.$target=i,t.$content=r,t.opts=o.opts.touch,t.isPanning=!1,t.isSwiping=!1,t.isZooming=!1,t.isScrolling=!1,t.canPan=n.canPan(),t.startTime=(new Date).getTime(),t.distanceX=t.distanceY=t.distance=0,t.canvasWidth=Math.round(s[0].clientWidth),t.canvasHeight=Math.round(s[0].clientHeight),t.contentLastPos=null,t.contentStartPos=h.fancybox.getTranslate(t.$content)||{top:0,left:0},t.sliderStartPos=h.fancybox.getTranslate(s),t.stagePos=h.fancybox.getTranslate(n.$refs.stage),t.sliderStartPos.top-=t.stagePos.top,t.sliderStartPos.left-=t.stagePos.left,t.contentStartPos.top-=t.stagePos.top,t.contentStartPos.left-=t.stagePos.left,h(l).off(".fb.touch").on(a?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",h.proxy(t,"ontouchend")).on(a?"touchmove.fb.touch":"mousemove.fb.touch",h.proxy(t,"ontouchmove")),h.fancybox.isMobile&&l.addEventListener("scroll",t.onscroll,!0),(t.opts||t.canPan)&&(i.is(t.$stage)||t.$stage.find(i).length)||(i.is(".fancybox-image")&&e.preventDefault(),h.fancybox.isMobile&&i.parents(".fancybox-caption").length))&&(t.isScrollable=f(i)||f(i.parent()),h.fancybox.isMobile&&t.isScrollable||e.preventDefault(),1!==t.startPoints.length&&!o.hasError||(t.canPan?(h.fancybox.stop(t.$content),t.isPanning=!0):t.isSwiping=!0,t.$container.addClass("fancybox-is-grabbing")),2===t.startPoints.length)&&"image"===o.type&&(o.isLoaded||o.$ghost)&&(t.canTap=!1,t.isSwiping=!1,t.isPanning=!1,t.isZooming=!0,h.fancybox.stop(t.$content),t.centerPointStartX=.5*(t.startPoints[0].x+t.startPoints[1].x)-h(u).scrollLeft(),t.centerPointStartY=.5*(t.startPoints[0].y+t.startPoints[1].y)-h(u).scrollTop(),t.percentageOfImageAtPinchPointX=(t.centerPointStartX-t.contentStartPos.left)/t.contentStartPos.width,t.percentageOfImageAtPinchPointY=(t.centerPointStartY-t.contentStartPos.top)/t.contentStartPos.height,t.startDistanceBetweenFingers=p(t.startPoints[0],t.startPoints[1]))))},i.prototype.onscroll=function(e){this.isScrolling=!0,l.removeEventListener("scroll",this.onscroll,!0)},i.prototype.ontouchmove=function(e){var t=this;return void 0!==e.originalEvent.buttons&&0===e.originalEvent.buttons?void t.ontouchend(e):t.isScrolling?void(t.canTap=!1):(t.newPoints=d(e),void((t.opts||t.canPan)&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=p(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=p(t.newPoints[0],t.startPoints[0],"y"),t.distance=p(t.newPoints[0],t.startPoints[0]),0<t.distance)&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom())))},i.prototype.onSwipe=function(e){var o=this,s=o.instance,t=o.isSwiping,i=o.sliderStartPos.left||0;!0!==t?("x"==t&&(0<o.distanceX&&(o.instance.group.length<2||0===o.instance.current.index&&!o.instance.current.opts.loop)?i+=Math.pow(o.distanceX,.8):o.distanceX<0&&(o.instance.group.length<2||o.instance.current.index===o.instance.group.length-1&&!o.instance.current.opts.loop)?i-=Math.pow(-o.distanceX,.8):i+=o.distanceX),o.sliderLastPos={top:"x"==t?0:o.sliderStartPos.top+o.distanceY,left:i},o.requestId&&(g(o.requestId),o.requestId=null),o.requestId=m(function(){o.sliderLastPos&&(h.each(o.instance.slides,function(e,t){var i=t.pos-o.instance.currPos;
1h.fancybox.setTranslate(t.$slide,{top:o.sliderLastPos.top,left:o.sliderLastPos.left+i*o.canvasWidth+i*t.opts.gutter})}),o.$container.addClass("fancybox-is-sliding"))})):10<Math.abs(o.distance)&&(o.canTap=!1,s.group.length<2&&o.opts.vertical?o.isSwiping="y":s.isDragging||!1===o.opts.vertical||"auto"===o.opts.vertical&&800<h(u).width()?o.isSwiping="x":(t=Math.abs(180*Math.atan2(o.distanceY,o.distanceX)/Math.PI),o.isSwiping=45<t&&t<135?"y":"x"),"y"===o.isSwiping&&h.fancybox.isMobile&&o.isScrollable?o.isScrolling=!0:(s.isDragging=o.isSwiping,o.startPoints=o.newPoints,h.each(s.slides,function(e,t){var i,n;h.fancybox.stop(t.$slide),i=h.fancybox.getTranslate(t.$slide),n=h.fancybox.getTranslate(s.$refs.stage),t.$slide.css({transform:"",opacity:"","transition-duration":""}).removeClass("fancybox-animated").removeClass(function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}),t.pos===s.current.pos&&(o.sliderStartPos.top=i.top-n.top,o.sliderStartPos.left=i.left-n.left),h.fancybox.setTranslate(t.$slide,{top:i.top-n.top,left:i.left-n.left})}),s.SlideShow&&s.SlideShow.isActive&&s.SlideShow.stop()))},i.prototype.onPan=function(){var e=this;p(e.newPoints[0],e.realPoints[0])<(h.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&g(e.requestId),e.requestId=m(function(){h.fancybox.setTranslate(e.$content,e.contentLastPos)}))},i.prototype.limitMovement=function(){var e=this.canvasWidth,t=this.canvasHeight,i=this.distanceX,n=this.distanceY,o=this.contentStartPos,s=o.left,r=o.top,a=o.width,o=o.height,l=e<a?s+i:s,c=r+n,u=Math.max(0,.5*e-.5*a),h=Math.max(0,.5*t-.5*o),e=Math.min(e-a,.5*e-.5*a),a=Math.min(t-o,.5*t-.5*o);return 0<i&&u<l&&(l=u-1+Math.pow(-u+s+i,.8)||0),i<0&&l<e&&(l=e+1-Math.pow(e-s-i,.8)||0),0<n&&h<c&&(c=h-1+Math.pow(-h+r+n,.8)||0),{top:c=n<0&&c<a?a+1-Math.pow(a-r-n,.8)||0:c,left:l}},i.prototype.limitPosition=function(e,t,i,n){var o=this.canvasWidth,s=this.canvasHeight;return e=o<i?(e=0<e?0:e)<o-i?o-i:e:Math.max(0,o/2-i/2),{top:t=s<n?(t=0<t?0:t)<s-n?s-n:t:Math.max(0,s/2-n/2),left:e}},i.prototype.onZoom=function(){var e=this,t=e.contentStartPos,i=t.width,n=t.height,o=t.left,t=t.top,s=p(e.newPoints[0],e.newPoints[1])/e.startDistanceBetweenFingers,r=Math.floor(i*s),a=Math.floor(n*s),i=(i-r)*e.percentageOfImageAtPinchPointX,n=(n-a)*e.percentageOfImageAtPinchPointY,l=(e.newPoints[0].x+e.newPoints[1].x)/2-h(u).scrollLeft(),c=(e.newPoints[0].y+e.newPoints[1].y)/2-h(u).scrollTop(),l=l-e.centerPointStartX,t={top:t+(n+(c-e.centerPointStartY)),left:o+(i+l),scaleX:s,scaleY:s};e.canTap=!1,e.newWidth=r,e.newHeight=a,e.contentLastPos=t,e.requestId&&g(e.requestId),e.requestId=m(function(){h.fancybox.setTranslate(e.$content,e.contentLastPos)})},i.prototype.ontouchend=function(e){var t=this,i=t.isSwiping,n=t.isPanning,o=t.isZooming,s=t.isScrolling;if(t.endPoints=d(e),t.dMs=Math.max((new Date).getTime()-t.startTime,1),t.$container.removeClass("fancybox-is-grabbing"),h(l).off(".fb.touch"),l.removeEventListener("scroll",t.onscroll,!0),t.requestId&&(g(t.requestId),t.requestId=null),t.isSwiping=!1,t.isPanning=!1,t.isZooming=!1,t.isScrolling=!1,t.instance.isDragging=!1,t.canTap)return t.onTap(e);t.speed=100,t.velocityX=t.distanceX/t.dMs*.5,t.velocityY=t.distanceY/t.dMs*.5,n?t.endPanning():o?t.endZooming():t.endSwiping(i,s)},i.prototype.endSwiping=function(e,t){var i=this,n=!1,o=i.instance.group.length,s=Math.abs(i.distanceX),o="x"==e&&1<o&&(130<i.dMs&&10<s||50<s);i.sliderLastPos=null,"y"==e&&!t&&50<Math.abs(i.distanceY)?(h.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),n=i.instance.close(!0,250)):o&&0<i.distanceX?n=i.instance.previous(300):o&&i.distanceX<0&&(n=i.instance.next(300)),!1!==n||"x"!=e&&"y"!=e||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},i.prototype.endPanning=function(){var e,t,i=this;i.contentLastPos&&(e=!1===i.opts.momentum||350<i.dMs?(t=i.contentLastPos.left,i.contentLastPos.top):(t=i.contentLastPos.left+500*i.velocityX,i.contentLastPos.top+500*i.velocityY),(t=i.limitPosition(t,e,
1i.contentStartPos.width,i.contentStartPos.height)).width=i.contentStartPos.width,t.height=i.contentStartPos.height,h.fancybox.animate(i.$content,t,366))},i.prototype.endZooming=function(){var e,t,i=this,n=i.instance.current,o=i.newWidth,s=i.newHeight;i.contentLastPos&&(e=i.contentLastPos.left,t=i.contentLastPos.top,h.fancybox.setTranslate(i.$content,{top:t,left:e,width:o,height:s,scaleX:1,scaleY:1}),o<i.canvasWidth&&s<i.canvasHeight?i.instance.scaleToFit(150):o>n.width||s>n.height?i.instance.scaleToActual(i.centerPointStartX,i.centerPointStartY,150):(n=i.limitPosition(e,t,o,s),h.fancybox.animate(i.$content,n,150)))},i.prototype.onTap=function(t){function e(e){if(e=r.opts[e],e=h.isFunction(e)?e.apply(s,[r,t]):e)switch(e){case"close":s.close(n.startEvent);break;case"toggleControls":s.toggleControls();break;case"next":s.next();break;case"nextOrClose":1<s.group.length?s.next():s.close(n.startEvent);break;case"zoom":"image"==r.type&&(r.isLoaded||r.$ghost)&&(s.canPan()?s.scaleToFit():s.isScaledDown()?s.scaleToActual(l,c):s.group.length<2&&s.close(n.startEvent))}}var i,n=this,o=h(t.target),s=n.instance,r=s.current,a=t&&d(t)||n.startPoints,l=a[0]?a[0].x-h(u).scrollLeft()-n.stagePos.left:0,c=a[0]?a[0].y-h(u).scrollTop()-n.stagePos.top:0;if((!t.originalEvent||2!=t.originalEvent.button)&&(o.is("img")||!(l>o[0].clientWidth+o.offset().left))){if(o.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(o.is(".fancybox-slide"))i="Slide";else{if(!s.current.$content||!s.current.$content.find(o).addBack().filter(o).length)return;i="Content"}if(n.tapped){if(clearTimeout(n.tapped),n.tapped=null,50<Math.abs(l-n.tapX)||50<Math.abs(c-n.tapY))return this;e("dblclick"+i)}else n.tapX=l,n.tapY=c,r.opts["dblclick"+i]&&r.opts["dblclick"+i]!==r.opts["click"+i]?n.tapped=setTimeout(function(){n.tapped=null,s.isAnimating||e("click"+i)},500):e("click"+i);return this}},h(l).on("onActivate.fb",function(e,t){t&&!t.Guestures&&(t.Guestures=new i(t))}).on("beforeClose.fb",function(e,t){t&&t.Guestures&&t.Guestures.destroy()})})(window,document,jQuery),((s,r)=>{function i(e){this.instance=e,this.init()}r.extend(!0,r.fancybox.defaults,{btnTpl:{slideShow:'<button data-fancybox-play class="fancybox-button fancybox-button--play" title="{{PLAY_START}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6.5 5.4v13.2l11-6.6z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M8.33 5.75h2.2v12.5h-2.2V5.75zm5.15 0h2.2v12.5h-2.2V5.75z"/></svg></button>'},slideShow:{autoStart:!1,speed:3e3,progress:!0}}),r.extend(i.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,t=e.instance,i=t.group[t.currIndex].opts.slideShow;e.$button=t.$refs.toolbar.find("[data-fancybox-play]").on("click",function(){e.toggle()}),t.group.length<2||!i?e.$button.hide():i.progress&&(e.$progress=r('<div class="fancybox-progress"></div>').appendTo(t.$refs.inner))},set:function(e){var t=this.instance,i=t.current;i&&(!0===e||i.opts.loop||t.currIndex<t.group.length-1)?this.isActive&&"video"!==i.contentType&&(this.$progress&&r.fancybox.animate(this.$progress.show(),{scaleX:1},i.opts.slideShow.speed),this.timer=setTimeout(function(){t.current.opts.loop||t.current.index!=t.group.length-1?t.next():t.jumpTo(0)},i.opts.slideShow.speed)):(this.stop(),t.idleSecondsCounter=0,t.showControls())},clear:function(){clearTimeout(this.timer),this.timer=null,this.$progress&&this.$progress.removeAttr("style").hide()},start:function(){var e=this.instance.current;e&&(this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),this.isActive=!0,e.isComplete&&this.set(!0),this.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this.instance.current;this.clear(),this.$button.attr("title",(e.opts.i18n[e.opts.lang]||e.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),this.isActive=!1,this.instance.trigger("onSlideShowChange",!1),this.$progress&&this.$progress.removeAttr("style").hide()},toggle:function(){this.isActive?this.stop():this.start()}}),r(s).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new i(t))},"beforeShow.fb":function(e,t,i,n){t=t&&t.SlideShow;n?t&&i.opts.slideShow.autoStart&&t.start():t&&t.isActive&&t.clear()},"afterShow.fb":function(e,t,i){t=t&&t.SlideShow;t&&t.isActive&&t.set()},"afterKeydown.fb":function(e,t,i,n,o){t=t&&t.SlideShow;!t||!i.opts.slideShow||80!==o&&32!==o||r(s.activeElement).is("button,a,input")||(n.preventDefault(),t.toggle(
1))},"beforeClose.fb onDeactivate.fb":function(e,t){t=t&&t.SlideShow;t&&t.stop()}}),r(s).on("visibilitychange",function(){var e=r.fancybox.getInstance(),e=e&&e.SlideShow;e&&e.isActive&&(s.hidden?e.clear():e.set())})})(document,jQuery),((s,i)=>{var n,o=(()=>{for(var e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],t={},i=0;i<e.length;i++){var n=e[i];if(n&&n[1]in s){for(var o=0;o<n.length;o++)t[e[0][o]]=n[o];return t}}return!1})();o&&(n={request:function(e){(e=e||s.documentElement)[o.requestFullscreen](e.ALLOW_KEYBOARD_INPUT)},exit:function(){s[o.exitFullscreen]()},toggle:function(e){e=e||s.documentElement,this.isFullscreen()?this.exit():this.request(e)},isFullscreen:function(){return Boolean(s[o.fullscreenElement])},enabled:function(){return Boolean(s[o.fullscreenEnabled])}},i.extend(!0,i.fancybox.defaults,{btnTpl:{fullScreen:'<button data-fancybox-fullscreen class="fancybox-button fancybox-button--fsenter" title="{{FULL_SCREEN}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M7 14H5v5h5v-2H7v-3zm-2-4h2V7h3V5H5v5zm12 7h-3v2h5v-5h-2v3zM14 5v2h3v3h2V5h-5z"/></svg><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M5 16h3v3h2v-5H5zm3-8H5v2h5V5H8zm6 11h2v-3h3v-2h-5zm2-11V5h-2v5h5V8z"/></svg></button>'},fullScreen:{autoStart:!1}}),i(s).on(o.fullscreenchange,function(){var e=n.isFullscreen(),t=i.fancybox.getInstance();t&&(t.current&&"image"===t.current.type&&t.isAnimating&&(t.isAnimating=!1,t.update(!0,!0,0),t.isComplete||t.complete()),t.trigger("onFullscreenChange",e),t.$refs.container.toggleClass("fancybox-is-fullscreen",e),t.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))})),i(s).on({"onInit.fb":function(e,t){o?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",function(e){e.stopPropagation(),e.preventDefault(),n.toggle()}),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&n.request(),t.FullScreen=n):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,i,n,o){t&&t.FullScreen&&70===o&&(n.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&n.exit()}})})(document,jQuery),((e,s)=>{function i(e){this.init(e)}var r="fancybox-thumbs";s.fancybox.defaults=s.extend(!0,{btnTpl:{thumbs:'<button data-fancybox-thumbs class="fancybox-button fancybox-button--thumbs" title="{{THUMBS}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M14.59 14.59h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76h-3.76v-3.76zm-4.47 0h3.76v3.76H5.65v-3.76zm8.94-4.47h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76h-3.76V5.65zm-4.47 0h3.76v3.76H5.65V5.65z"/></svg></button>'},thumbs:{autoStart:!1,hideOnClose:!0,parentEl:".fancybox-container",axis:"y"}},s.fancybox.defaults),s.extend(i.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,i=e.group,n=0;t.instance=e,t.opts=i[e.currIndex].opts.thumbs,(e.Thumbs=t).$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,s=i.length;o<s&&(i[o].thumb&&n++,!(1<n));o++);1<n&&t.opts?(t.$button.removeAttr("style").on("click",function(){t.toggle()}),t.isActive=!0):t.$button.hide()},create:function(){var i,e=this,t=e.instance,n=e.opts.parentEl,o=[];e.$grid||(e.$grid=s('<div class="'+r+" "+r+"-"+e.opts.axis+'"></div>').appendTo(t.$refs.container.find(n).addBack().filter(n)),e.$grid.on("click","a",function(){t.jumpTo(s(this).attr("data-index"))})),e.$list||(e.$list=s('<div class="'+r+'__list">').appendTo(e.$grid)),s.each(t.group,function(e,t){(i=t.thumb)||"image"!==t.type||(i=t.src),o.push('<a href="javascript:;" tabindex="0" data-index="'+e+'"'+(i&&i.length?' style="background-image:url('+i+')"':'class="fancybox-thumbs-missing"')+"></a>")}),e.$list[0].innerHTML=o.join(""),"x"===e.opts.axis&&e.$list.width(parseInt(e.$grid.css("padding-right"),10)+t.group.length*e.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,i,n=this.$list,o=this.$grid;this.instance.current&&(i=(t=n.children().removeClass("fancybox-thumbs-active").filter('[data-index="'+this.instance.current.index+'"]').addClass("fancybox-thumbs-active")).position(),"y"===this.opts.axis&&(i.top<0||i.top>n.height()-t.outerHeight())?n.stop().animate({scrollTop:n.scrollTop()+i.top},e):"x"===this.opts.axis&&(i.left<o.scrollLeft()||i.left>o.scrollLeft()+(o.width()-t.outerWidth()))&&n.parent().stop().animate({scrollLeft:i.left},e))},update:function(){this.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),this.isVisible?(this.$grid||this.create(),this.instance.trigger("onThumbsShow"),this.focus(0)):this.$grid&&this.instance.trigger("onThumbsHide"),this.instance.update(
1)},hide:function(){this.isVisible=!1,this.update()},show:function(){this.isVisible=!0,this.update()},toggle:function(){this.isVisible=!this.isVisible,this.update()}}),s(e).on({"onInit.fb":function(e,t){t&&!t.Thumbs&&(t=new i(t)).isActive&&!0===t.opts.autoStart&&t.show()},"beforeShow.fb":function(e,t,i,n){t=t&&t.Thumbs;t&&t.isVisible&&t.focus(n?0:250)},"afterKeydown.fb":function(e,t,i,n,o){t=t&&t.Thumbs;t&&t.isActive&&71===o&&(n.preventDefault(),t.toggle())},"beforeClose.fb":function(e,t){t=t&&t.Thumbs;t&&t.isVisible&&!1!==t.opts.hideOnClose&&t.$grid.hide()}})})(document,jQuery),((e,o)=>{o.extend(!0,o.fancybox.defaults,{btnTpl:{share:'<button data-fancybox-share class="fancybox-button fancybox-button--share" title="{{SHARE}}"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M2.55 19c1.4-8.4 9.1-9.8 11.9-9.8V5l7 7-7 6.3v-3.5c-2.8 0-10.5 2.1-11.9 4.2z"/></svg></button>'},share:{url:function(e,t){return!e.currentHash&&"inline"!==t.type&&"html"!==t.type&&(t.origSrc||t.src)||window.location},tpl:'<div class="fancybox-share"><h1>{{SHARE}}</h1><p><a class="fancybox-share__button fancybox-share__button--fb" href="https://www.facebook.com/sharer/sharer.php?u={{url}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m287 456v-299c0-21 6-35 35-35h38v-63c-7-1-29-3-55-3-54 0-91 33-91 94v306m143-254h-205v72h196" /></svg><span>Facebook</span></a><a class="fancybox-share__button fancybox-share__button--tw" href="https://twitter.com/intent/tweet?url={{url}}&text={{descr}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m456 133c-14 7-31 11-47 13 17-10 30-27 37-46-15 10-34 16-52 20-61-62-157-7-141 75-68-3-129-35-169-85-22 37-11 86 26 109-13 0-26-4-37-9 0 39 28 72 65 80-12 3-25 4-37 2 10 33 41 57 77 57-42 30-77 38-122 34 170 111 378-32 359-208 16-11 30-25 41-42z" /></svg><span>Twitter</span></a><a class="fancybox-share__button fancybox-share__button--pt" href="https://www.pinterest.com/pin/create/button/?url={{url}}&description={{descr}}&media={{media}}"><svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"><path d="m265 56c-109 0-164 78-164 144 0 39 15 74 47 87 5 2 10 0 12-5l4-19c2-6 1-8-3-13-9-11-15-25-15-45 0-58 43-110 113-110 62 0 96 38 96 88 0 67-30 122-73 122-24 0-42-19-36-44 6-29 20-60 20-81 0-19-10-35-31-35-25 0-44 26-44 60 0 21 7 36 7 36l-30 125c-8 37-1 83 0 87 0 3 4 4 5 2 2-3 32-39 42-75l16-64c8 16 31 29 56 29 74 0 124-67 124-157 0-69-58-132-146-132z" fill="#fff"/></svg><span>Pinterest</span></a></p><p><input class="fancybox-share__input" type="text" value="{{url_raw}}" onclick="select()" /></p></div>'}}),o(e).on("click","[data-fancybox-share]",function(){var e,t,i=o.fancybox.getInstance(),n=i.current||null;n&&("function"===o.type(n.opts.share.url)&&(e=n.opts.share.url.apply(n,[i,n])),n=n.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===n.type?encodeURIComponent(n.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(t={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(e).replace(/[&<>"'`=\/]/g,function(e){return t[e]}))).replace(/\{\{descr\}\}/g,i.$caption?encodeURIComponent(i.$caption.text()):""),o.fancybox.open({src:i.translate(i,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){i.$refs.container.one("beforeClose.fb",function(){e.close(null,0)}),t.$content.find(".fancybox-share__button").click(function(){return window.open(this.href,"Share","width=550, height=450"),!1})},mobile:{autoFocus:!1}}}))})})(document,jQuery),((s,r,n)=>{function o(){var e=s.location.hash.substr(1),t=e.split("-"),i=1<t.length&&/^\+?\d+$/.test(t[t.length-1])&&parseInt(t.pop(-1),10)||1;return{hash:e,index:i<1?1:i,gallery:t.join("-")}}function t(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function a(e){return!!e&&""!==(e=(e=(e.current||e).opts).hash||(e.$orig?e.$orig.data("fancybox")||e.$orig.data("fancybox-trigger"):""))&&e}n.escapeSelector||(n.escapeSelector=function(e){return(e+"").replace(/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,function(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e})}),n(function(){!1!==n.fancybox.defaults.hash&&(n(r).on({"onInit.fb":function(e,t){var i,n;!1!==t.group[t.currIndex].opts.hash&&(i=o(),n=a(t))&&i.gallery&&n==i.gallery&&(t.currIndex=i.index-1)},"beforeShow.fb":function(e,t,i,n){var o;i&&!1!==i.opts.hash&&(o=a(t))&&(t.currentHash=o+(1<t.group.length?"-"+(i.index+1):""),s.location.hash!=="#"+t.currentHash)&&(n&&!t.origHash&&(t.origHash=s.location.hash),t.hashTimer&&clearTimeout(t.hashTimer),t.hashTimer=setTimeout(function(){"replaceState"in s.history?(s.history[n?"pushState":"replaceState"]({},r.title,s.location.pathname+s.location.search+"#"+t.currentHash),n&&(t.hasCreatedHistory=!0)):s.location.hash=t.currentHash,t.hashTimer=null},300))},"beforeClose.fb":function(e,t,i){i&&!1!==i.opts.hash&&(clearTimeout(t.hashTimer),t.currentHash&&t.hasCreatedHistory?s.history.back():t.currentHash&&("replaceState"in s.history?s.history.replaceState({},r.title,s.location.pathname+s.location.search+(t.origHash||"")):s.location.hash=t.origHash),t.currentHash=null)}}),n(s).on("hashchange.fb",function(){var e=o(),i=null;n.each(n(".fancybox-container").get().reverse(),function(e,t){t=n(t).data("FancyBox");if(t&&t.currentHash)return i=t,!1}),i?i.currentHash===e.gallery+"-"+e.index||1===e.index&&i.currentHash==e.gallery||(i.currentHash=null,i.close()):""!==e.gallery&&t(e)}),setTimeout(function(){n.fancybox.getInstance()||t(o())},50))})})(window,document,jQuery),((e,t)=>{var o=(new Date).getTime();t(e).on({"onInit.fb":function(e,n,t){n.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",function(e){var t=n.current,i=(new Date).getTime();n.group.length<2||!1===t.opts.wheel||"auto"===t.opts.wheel&&"image"!==t.type||(e.preventDefault(),e.stopPropagation(),t.$slide.hasClass("fancybox-animated"))||(e=e.originalEvent||e,i-o<250)||(o=i,n[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())})}})})(document,jQuery),void 0===useA11y&&(useA11y=!1),window.console&&console.log("Trurnit.Neos.EVU scripts.js loaded");var useA11y,mainNaviEvent="hover",maps_config=("undefined"!=typeof overrideMainNaviEvent&&(mainNaviEvent=overrideMainNaviEvent,window.console)&&console.log("mainNaviEvent",mainNaviEvent),$(document).ready(function(){window.console&&console.log("Trurnit.Neos.EVU scripts.js document ready");var s=!1,e=($(".main-nav > li").each(function(){var e,t=null,i=$(this);function n(){i.find("> ul").slideDown("fast","easeOutExpo"),i.find("> a:first").addClass("active")}function o(){$(".nav").find("ul").slideUp("fast","easeOutExpo"),$(".nav").find("> ul > li > a").removeClass("active")}"hover"==mainNaviEvent?(e=$(i).find("> a"),i.hover(function(){t=setTimeout(function(){n(),t=null},300)},function(){t?(clearTimeout(t),t=null):(i.find("ul:first").slideUp("fast","easeOutExpo"),i.find("a:first").removeClass("active"))}),e.focusin(function(e){s=!0,o(),n()}),$(".main-nav-wrap").focusout(function(){setTimeout(()=>{s||o()},0)}),$(".main-nav-wrap").on("focusin",function(e){var t=$(e.target).closest(".main-nav-wrap").index(".main-nav-wrap");$.contains($(".main-nav-wrap")[t],e.target)||(s=!1)})):"click"==mainNaviEvent&&i.click(function(e){return e.stopPropagation(),!$(e.target).parent().is(i)||(0<i.find("> ul").length?($(".main-nav > li.menuactive").each(function(e){$(this).is(i)||($(this).find("ul:first").slideUp("fast","easeOutExpo"),$(this).removeClass("menuactive"),$(this).find("> a:first").removeClass("menuactive"))}),i.hasClass("menuactive")?(i.find("ul:first").slideUp("fast","easeOutExpo"),i.removeClass("menuactive"),$(this).find("> a:first").removeClass("menuactive"),$("body").removeClass("has-menu-open")):(i.addClass("menuactive"),i.find("> ul").slideDown("fast","easeOutExpo"),i.find("> a:first").addClass("menuactive\t"),$("body").addClass("has-menu-open")),!1):void 0)})}),"click"==mainNaviEvent&&$(document).click(function(e){$("body").hasClass("has-menu-open")&&$(".main-nav > li.menuactive").each(function(e){$(this).find("ul:first").slideUp("fast","easeOutExpo"),$(this).removeClass("menuactive"),$(this).find("> a:first").removeClass("active"),$("body").removeClass("has-menu-open")})}),$(".main-nav li:has(> ul)").find(">:first-child").addClass("parent"),$(".main-nav").html()),t=$(".meta-nav").html(),i=$(".meta-nav li:last-child").html();function n(e){$(e).addClass("indicator-active").removeClass("indicator"),$(e).html('<i class="icon evu-arrow-up"></i>'),$(e).parent().find("ul:first").slideToggle("fast")}function o(e){$(e).addClass("indicator").removeClass("indicator-active"),$(e).html('<i class="icon evu-arrow-down"></i>'),$(e).parent().find("ul:first").slideToggle("fast",function(){var e=$
1(".mobile-nav").height();$(window).height()<e&&$(".overlay, .mobile-nav-wrap").css("height",e)})}function r(){$("#mobile").removeAttr("inert"),$("#mobile > nav").removeAttr("inert").attr("aria-hidden",!1),$("body").addClass("mobile-nav-open"),$("html").css({overflowX:"hidden"}),$("body").css({position:"relative",left:"0px"}),$("#mobile").css({position:"absolute",left:"0"}),$(".overlay").show()}function a(){$("#mobile > nav").attr("inert","").attr("aria-hidden",!0),$("body").removeClass("mobile-nav-open"),$("html").css({overflowX:"auto"}),$("body").css({position:"relative",left:"0px"}),$("#mobile").css({position:"absolute",left:"-280px"}),$(".overlay").hide()}$(".mobile-nav").html(e),$(".mobile-meta-nav").html(t),$("#mobile-search").html(i),$(".mobile-nav .parent").after('<button class="indicator" tabindex="0" role="button" aria-label="Unternavigation öffnen"><i class="icon evu-arrow-down"></i></button>'),$(".mobile-nav .parent "),$(document).on("click",".mobile-nav .indicator",function(){n(this)}),$(document).on("keydown",".mobile-nav .indicator",function(e){13===e.keyCode&&n(this)}),$(document).on("click",".mobile-nav .indicator-active",function(){o(this)}),$(document).on("keydown",".mobile-nav .indicator-active",function(e){13===e.keyCode&&o(this)}),$(".open").click(function(){r()}),useA11y&&$(document).on("keydown",".open",function(e){13===e.keyCode&&(r(),$(".mobile-nav-wrap .mobile-nav li:first-child a").first().focus())}),$(".overlay").click(function(){a()}),useA11y&&($(document).on("keydown",".overlay",function(e){13===e.keyCode&&a()}),$(document).on("keydown",function(e){27===e.keyCode&&$("body").hasClass("mobile-nav-open")&&(a(),$(".open").focus())})),$(function(){$(".main-nav li:has(ul)").doubleTapToGo()}),$(document).on("click",".sub-nav .indicator",function(){$(this).addClass("indicator-active").removeClass("indicator"),$(this).html('<i class="icon evu-arrow-up"></i>'),$(this).parent().find("ul:first").slideToggle("fast")}),$(document).on("click",".sub-nav .indicator-active",function(){$(this).addClass("indicator").removeClass("indicator-active"),$(this).html('<i class="icon evu-arrow-down"></i>'),$(this).parent().find("ul:first").slideToggle("fast")});/Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent),$(".frontend-slider > .fullwidth-slider").bxSlider({mode:"fade",speed:1500,pager:!0,auto:!0,pause:7e3,responsive:!0,preloadImages:"all",preventDefaultSwipeY:!0,onSlideBefore:function(e){e.find(".slide-caption").fadeOut().animate({top:"100px"},{queue:!1,easing:"easeOutQuad",duration:550}),e.find(".slide-caption").hide().animate({top:"-100px"})},onSlideAfter:function(e){e.find(".slide-caption").fadeIn().animate({top:"0"},{queue:!1,easing:"easeOutQuad",duration:450})},onSliderLoad:function(){$(".bx-controls-direction").hide(),$(".bx-wrapper").hover(function(){$(".bx-controls-direction").fadeIn(300)},function(){$(".bx-controls-direction").fadeOut(300)})}}),$(".backend-slider > .fullwidth-slider").bxSlider({mode:"fade",speed:1e3,pager:!0,auto:!1,responsive:!0,slideSelector:".slide",preloadImages:"all",preventDefaultSwipeY:!0,onSlideBefore:function(e){e.find(".slide-caption").fadeOut().animate({top:"100px"},{queue:!1,easing:"easeOutQuad",duration:550}),e.find(".slide-caption").hide().animate({top:"-100px"})},onSlideAfter:function(e){e.find(".slide-caption").fadeIn().animate({top:"0"},{queue:!1,easing:"easeOutQuad",duration:450})},onSliderLoad:function(){$(".bx-controls-direction").hide(),$(".bx-wrapper").hover(function(){$(".bx-controls-direction").fadeIn(300)},function(){$(".bx-controls-direction").fadeOut(300)})}}),$(".fullwidth-header").bxSlider({mode:"fade",pager:!1,touchEnabled:!1,responsive:!0,preloadImages:"all",preventDefaultSwipeY:!0,onSlideBefore:function(e){e.find(".slide-caption").fadeOut().animate({top:"100px"},{queue:!1,easing:"easeOutQuad",duration:550}),e.find(".slide-caption").hide().animate({top:"-100px"})},onSlideAfter:function(e){e.find(".slide-caption").fadeIn().animate({top:"0"},{queue:!1,easing:"easeOutQuad",duration:450})},onSliderLoad:function(){$(".bx-controls-direction").hide(),$(".bx-wrapper").hover(function(){$(".bx-controls-direction").fadeIn(300)},function(){$(".bx-controls-direction").fadeOut(300)})}}),$(".bx-wrapper .bx-controls-direction a").attr("data-500","top:83%; opacity: 0;
1").attr("data-start","top:50%; opacity: 1;"),$(".accordion > div").each(function(){var e=$(this),t=!1,i=$("h5",e),n=$(".plus-medium",e),o=e.children("div").not(".plus-medium").hide().css("height","auto").slideUp();e.click(function(){((t=!t)?n.html("-"):n.html("+")).css({lineHeight:"13px"}),o.slideToggle(t),i.toggleClass("txt-highlight-color",t),e.toggleClass("active",t)})})}),$(document).ready(function(){$(".trurnit-neos-evu-accordion").each(function(){$(this).prev().hasClass("trurnit-neos-evu-accordion")||$(this).addClass("first"),void 0!==$(this).attr("typeof")&&($(this).addClass("active disabled"),$(this).find(".accordion-content-wrap").show())}),$(".accordion-title").click(function(){var e=$(this).parent();e.hasClass("disabled")||(e.hasClass("active")?(e.removeClass("active"),e.find(".accordion-title").attr("aria-expanded","false"),e.find(".accordion-content-wrap").slideUp("slow")):(e.addClass("active"),e.find(".accordion-title").attr("aria-expanded","true"),e.find(".accordion-content-wrap").slideDown("slow",function(){jQuery("table",this).each(function(){checkTableForScrollbar($(this))})})))})}),(o=>{function i(e,t){for(var i in t)t.hasOwnProperty(i)&&(e[i]=t[i]);return e}function e(e,t){this.el=e,this.options=i({},this.options),i(this.options,t),this._init()}e.prototype.options={start:0},e.prototype._init=function(){this.tabs=[].slice.call(this.el.querySelectorAll(".tabs > nav > ul > li")),this.items=[].slice.call(this.el.querySelectorAll(".tabs-content-wrap > section")),this.current=-1,this._show(),this._initEvents()},e.prototype._initEvents=function(){var e,n=this;""!=o.location.hash&&(e=o.location.hash.replace(/#/,""),0<jQuery("#"+e).length)&&jQuery("#"+e).hasClass("trurnit-neos-evu-singletab")&&n._show(jQuery("#"+e).index()),this.tabs.forEac
1h(function(e,t){e.addEventListener("click",function(e){e.preventDefault(),n._show(t)})}),document.addEventListener("click",function(e){var t,i=e.target&&e.target.closest?e.target.closest('a[href^="#panel-"]'):null;i&&(i=i.getAttribute("href"))&&0===i.indexOf("#panel-")&&(t=document.getElementById(i.slice(1)))&&n.el.contains(t)&&(e.preventDefault(),0<=(e=n.items.indexOf(t)))&&(n._show(e),(t=n.tabs[e].querySelector('a[role="tab"]'))&&"function"==typeof t.focus&&t.focus(),o.location.hash!==i&&"function"==typeof history.pushState?history.pushState(null,"",i):o.location.hash=i)},!1),o.addEventListener("hashchange",function(){var e=o.location.hash;e&&0===e.indexOf("#panel-")&&(e=document.getElementById(e.slice(1)))&&n.el.contains(e)&&0<=(e=n.items.indexOf(e))&&(n._show(e),e=n.tabs[e].querySelector('a[role="tab"]'))&&"function"==typeof e.focus&&e.focus()},!1)},e.prototype._show=function(e){0<=this.current&&(this.tabs[this.current].className="",this.items[this.current].className=this.items[this.current].className.replace(/tabs-content-current\b/,""),jQuery("> a",this.tabs[this.current]).attr("aria-selected","false")),this.current=null!=e?e:0<=this.options.start&&this.options.start<this.items.length?this.options.start:0,this.tabs[this.current]&&(this.tabs[this.current].className="tab-current",jQuery("> a",this.tabs[this.current]).attr("aria-selected","true"),-1==this.items[this.current].className.indexOf("tabs-content-current"))&&(this.items[this.current].className+=" tabs-content-current")},o.CBPFWTabs=e})(window),"function"==typeof document.addEventListener&&document.addEventListener("Neos.PageLoaded",function(e){$(".backend-slider > .fullwidth-slider").bxSlider({mode:"fade",speed:1e3,pager:!0,auto:!1,responsive:!0,preloadImages:"all",onSlideBefore:function(e){e.find(".slide-caption").fadeOut().animate({top:"100px"},{queue:!1,easing:"easeOutQuad",duration:550}),e.find(".slide-caption").hide().animate({top:"-100px"})},onSlideAfter:function(e){e.find(".slide-caption").fadeIn().animate({top:"0"},{queue:!1,easing:"easeOutQuad",duration:450})},onSliderLoad:function(){$(".bx-controls-direction").hide(),$(".bx-wrapper").hover(function(){$(".bx-controls-direction").fadeIn(300)},function(){$(".bx-controls-direction").fadeOut(300)})}})},!1),Modernizr.input.placeholder||($("form").find("input[type='text'], textarea").each(function(){var e=$
1(this).attr("placeholder");$(this).attr("value",e).css("color","#b2b2b2")}).focusin(function(){var e=$(this).attr("placeholder");$(this).val()==e&&$(this).attr("value","").css("color","#b2b2b2")}).focusout(function(){var e=$(this).attr("placeholder");""==$(this).val()&&$(this).attr("value",e).css("color","#b2b2b2")}),$("form").submit(function(){$(this).find("input[type='text']").each(function(){var e=$(this).attr("placeholder");$(this).val()==e&&$(this).attr("value","")})})),jQuery(document).ready(function(){var e,t,i,n;1==jQuery(".content-header .neos-contentcollection > .typo3-neos-nodetypes-image").length&&(e=jQuery(".content-header .neos-contentcollection > .typo3-neos-nodetypes-image"),t=jQuery("img",e).attr("src"),e.attr("style",'background-image: url("'+t+'");'),jQuery("#content").addClass("header-exists")),[].slice.call(document.querySelectorAll(".tabs")).forEach(function(e){new CBPFWTabs(e)}),"undefined"!=typeof includeFancybox&&(i=!0,window.console&&console.log("fancybox activated"),jQuery("body").hasClass("neos-backend")||(n=1,jQuery(".lightbox-group, .bildergalerie").each(function(){var e=$
1(this);jQuery(".lightbox",e).attr("data-fancybox","gal-"+n),n++}),0==jQuery(".lightbox-group, .bildergalerie").length&&jQuery(".lightbox").attr("data-fancybox","gal-0"),jQuery(".lightbox").fancybox({caption:function(e,t){return $(this).attr("data-lightbox-caption")||""},animationEffect:"fade",thumbs:{autoStart:!0},buttons:["zoom","close"]}))),void 0===i&&(window.console&&console.log("default lightbox enabled"),$(".lightbox").colorbox({rel:"lightbox",current:!1,maxWidth:"95%",maxHeight:"95%",transition:"fade"})),$("a.normal").each(function(){var e=$(this).attr("target");e&&0<=e.indexOf("node:")&&$(this).removeAttr("target")}),jQuery(".lightbox-button").on("click",function(){var e=$(this).data("selector"),t=$(this).data("height"),i=$(this).data("width");return void 0===i&&(i="90%"),void 0===t&&(t="600px"),0<$(e).length?$.colorbox({html:$(e).html(),className:"html-content",width:i,height:t,maxHeight:"95%"}):window.console&&console.log("lightbox-button target not found",e),!1})}),"function"==typeof document.addEventListener&&document.addEventListener("Neos.PageLoaded",function(e){[].slice.call(document.querySelectorAll(".tabs")).forEach(function(e){new CBPFWTabs(e)})},!1),((e,t)=>{"function"==typeof define&&define.amd?define(["exports"],t):"object"==typeof exports&&"string"!=typeof exports.nodeName?t(exports):t(e.IBAN={})})(this,function(e){Array.prototype.map||(Array.prototype.map=function(e){if(null==this)throw new TypeError;var t=Object(this),i=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var n=new Array(i),o=2<=arguments.length?arguments[1]:void 0,s=0;s<i;s++)s in t&&(n[s]=e.call(o,t[s],s,t));return n});var i="A".charCodeAt(0),n="Z".charCodeAt(0);function o(e){return(e=(e=e.toUpperCase()).substr(4)+e.substr(0,4)).split("").map(function(e){var t=e.charCodeAt(0);return i<=t&&t<=n?t-i+10:e}).join("")}function s(e){for(var t,i=e;2<i.length;)t=i.slice(0,9),i=parseInt(t,10)%97+i.slice(t.length);return parseInt(i,10)%97}function t(e,t,i,n){this.countryCode=e,this.length=t,this.structure=i,this.example=n}t.prototype._regex=function(){return this._cachedRegex||(this._cachedRegex=(e=(e=this.structure).match(/(.{3})/g).map(function(e){var t,i=e.slice(0,1),e=parseInt(e.slice(1),10);switch(i){case"A":t="0-9A-Za-z";break;case"B":t="0-9A-Z";break;case"C":t="A-Za-z";break;case"F":t="0-9";break;case"L":t="a-z";break;case"U":t="A-Z";break;case"W":t="0-9a-z"}return"(["+t+"]{"+e+"})"}),new RegExp("^"+e.join("")+"$")));var e},t.prototype.isValid=function(e){return this.length==e.length&&this.countryCode===e.slice(0,2)&&this._regex().test(e.slice(4))&&1==s(o(e))},t.prototype.toBBAN=function(e,t){return this._regex().exec(e.slice(4)).slice(1).join(t)},t.prototype.fromBBAN=function(e){var t;if(this.isValidBBAN(e))return t=("0"+(98-s(o(this.countryCode+"00"+e)))).slice(-2),this.countryCode+t+e;throw new Error("Invalid BBAN")},t.prototype.isValidBBAN=function(e){return this.length-4==e.length&&this._regex().test(e)};var r={};function a(e){r[e.countryCode]=e}a(new t("AD",24,"F04F04A12","AD1200012030200359100100")),a(new t("AE",23,"F03F16","AE070331234567890123456")),a(new t("AL",28,"F08A16","AL47212110090000000235698741")),a(new t("AT",20,"F05F11","AT611904300234573201")),a(new t("AZ",28,"U04A20","AZ21NABZ00000000137010001944")),a(new t("BA",20,"F03F03F08F02","BA391290079401028494")),a(new t("BE",16,"F03F07F02","BE68539007547034")),a(new t("BG",22,"U04F04F02A08","BG80BNBG96611020345678")),a(new t("BH",22,"U04A14","BH67BMAG00001299123456")),a(new t("BR",29,"F08F05F10U01A01","BR9700360305000010009795493P1")),a(new t("CH",21,"F05A12","CH9300762011623852957")),a(new t("CR",21,"F03F14","CR0515202001026284066")),a(new t("CY",28,"F03F05A16","CY17002001280000001200527600")),a(new t("CZ",24,"F04F06F10","CZ6508000000192000145399")),a(new t("DE",22,"F08F10","DE89370400440532013000")),a(new t("DK",18,"F04F09F01","DK5000400440116243")),a(new t("DO",28,"U04F20","DO28BAGR00000001212453611324")),a(new t("EE",20,"F02F02F11F01","EE382200221020145685")),a(new t("ES",24,"F04F04F01F01F10","ES9121000418450200051332")),a(new t("FI",18,"F06F07F01","FI2112345600000785")),a(new t("FO",18,"F04F09F01","FO6264600001631634")),a(new t("FR",27,"F05F05A11F02","FR1420041010050500013M02606")),a(new t("GB",22,"U04F06F08","GB29NWBK60161331926819")),a(new t("GE",22,"U02F16","GE29NB0000000101904917")),a(new t("GI",23,"U04A15","GI75NWBK000000007099453")),a(new t("GL",18,"F04F09F01","GL8964710001000206")),a(new t("GR",27,"F03F04A16","GR1601101250000000012300695")),a(new t("GT",28,"A04A20","GT82TRAJ01020000001210029690")),a(new t("HR",21,"F07F10","HR1210010051863000160")),a(new t("HU",28,"F03F04F01F15F01","HU42117730161111101800000000")),a(new t("IE",22,"U04F06F08","IE29AIBK93115212345678")),a(new t("IL",23,"F03F03F13","IL620108000000099999999")),a(new t("IS",26,"F04F02F06F10","IS140159260076545510730339")),a(new t("IT",27,"U01F05F05A12","IT60X0542811101000000123456")),a(new t("KW",30,"U04A22","KW81CBKU0000000000001234560101")),a(new t("KZ",20,"F03A13","KZ86125KZT5004100100")),a(new t("LB",28,"F04A20","LB62099900000001001901229114")),a(new t("LC",32,"U04F24","LC07HEMM000100010012001200013015")),a(new t("LI",21,"F05A12","LI21088100002324013AA")),a(new t("LT",20,"F05F11","LT121000011101001000")),a(new t("LU",20,"F03A13","LU280019400644750000")),a(new t("LV",21,"U04A13","LV80BANK0000435195001")),a(new t("MC",27,"F05F05A11F02","MC5811222000010123456789030")),a(new t("MD",24,"U02A18","MD24AG000225100013104168")),a(new t("ME",22,"F03F13F02","ME25505000012345678951")),a(new t("MK",19,"F03A10F02","MK07250120000058984")),a(new t("MR",27,"F05F05F11F02","MR1300020001010000123456753")),a(new t("MT",31,"U04F05A18","MT84MALT011000012345MTLCAST001S")),a(new t("MU",30,"U04F02F02F12F03U03","MU17BOMM0101101030300200000MUR")),a(new t("NL",18,"U04F10","NL91ABNA0417164300")),a(new t("NO",15,"F04F06F01","NO9386011117947")),a(new t("PK",24,"U04A16","PK36SCBL0000001123456702")),a(new t("PL",28,"F08F16","PL61109010140000071219812874")),a(new t("PS",29,"U04A21","PS92PALS000000000400123456702")),a(new t("PT",25,"F04F04F11F02","PT50000201231234567890154")),a(new t("RO",24,"U04A16","RO49AAAA1B31007593840000")),a(new t("RS",22,"F03F13F02","RS35260005601001611379")),a(new t("SA",24,"F02A18","SA0380000000608010167519")),a(new t("SE",24,"F03F16F01","SE4550000000058398257466")),a(new t("SI",19,"F05F08F02","SI56263300012039086")),a(new t("SK",24,"F04F06F10","SK3112000000198742637541")),a(new t("SM",27,"U01F05F05A12","SM86U0322509800000000270100")),a(new t("ST",25,"F08F11F02","ST68000100010051845310112")),a(new t("TL",23,"F03F14F02","TL380080012345678910157")),a(new t("TN",24,"F02F03F13F02","TN5910006035183598478831")),a(new t("TR",26,"F05F01A16","TR330006100519786457841326")),a(new t("VG",24,"U04F16","VG96VPVG0000012345678901")),a(new t("XK",20,"F04F10
1F02","XK051212012345678906")),a(new t("AO",25,"F21","AO69123456789012345678901")),a(new t("BF",27,"F23","BF2312345678901234567890123")),a(new t("BI",16,"F12","BI41123456789012")),a(new t("BJ",28,"F24","BJ39123456789012345678901234")),a(new t("CI",28,"U01F23","CI17A12345678901234567890123")),a(new t("CM",27,"F23","CM9012345678901234567890123")),a(new t("CV",25,"F21","CV30123456789012345678901")),a(new t("DZ",24,"F20","DZ8612345678901234567890")),a(new t("IR",26,"F22","IR861234568790123456789012")),a(new t("JO",30,"A04F22","JO15AAAA1234567890123456789012")),a(new t("MG",27,"F23","MG1812345678901234567890123")),a(new t("ML",28,"U01F23","ML15A12345678901234567890123")),a(new t("MZ",25,"F21","MZ25123456789012345678901")),a(new t("QA",29,"U04A21","QA30AAAA123456789012345678901")),a(new t("SN",28,"U01F23","SN52A12345678901234567890123")),a(new t("UA",29,"F25","UA511234567890123456789012345"));var l=/[^a-zA-Z0-9]/g,c=/(.{4})(?!$)/g;function u(e){return"string"==typeof e||e instanceof String}e.isValid=function(e){if(!u(e))return!1;e=this.electronicFormat(e);var t=r[e.slice(0,2)];return!!t&&t.isValid(e)},e.toBBAN=function(e,t){void 0===t&&(t=" "),e=this.electronicFormat(e);var i=r[e.slice(0,2)];if(i)return i.toBBAN(e,t);throw new Error("No country with code "+e.slice(0,2))},e.fromBBAN=function(e,t){var i=r[e];if(i)return i.fromBBAN(this.electronicFormat(t));throw new Error("No country with code "+e)},e.isValidBBAN=function(e,t){return!!u(t)&&(e=r[e])&&e.isValidBBAN(this.electronicFormat(t))},e.printFormat=function(e,t){return void 0===t&&(t=" "),this.electronicFormat(e).replace(c,"$1"+t)},e.electronicFormat=function(e){return e.replace(l,"").toUpperCase()},e.countries=r}),$(document).ready(function(){var e;$(".neos-nodetypes-form form").each(function(){$(".clearfix",this).each(function(){var e,t;(0<$(".required",this).length||$(this).hasClass("field-type-forms-neos-smartweb-captcha"))&&((t=(e=0==(e=0==(e=$("input",this)).length?$("textarea",this):e).length?$("select",this):e).attr("id"))&&0<t.indexOf("email")&&e.attr("data-parsley-email","true"),e.attr("data-parsley-required","true"))}),$('input[type="text"], input[type="email"]',this).each(function(){var e=$
1(this).attr("id"),t=$(this).attr("name");(e&&-1<e.toLowerCase().indexOf("email")||t&&-1<t.toLowerCase().indexOf("email"))&&!$(this).attr("data-parsley-email")&&$(this).attr("data-parsley-optionalemail","true")})}),0<$(".neos-nodetypes-form form").length&&(e=$(".neos-nodetypes-form form").parsley({errorsContainer:function(e){var t=e.$element.closest(".form-field");return t.has(".error-list")?t.find(".error-list"):e}}),$(".btn-cancel").click(function(){e.destroy()})),jQuery(".required li:first-child input[type=radio]").attr("data-parsley-required","true"),jQuery(".required select").attr("data-parsley-required","true"),jQuery(".validate-date").attr("data-parsley-date","true"),jQuery(".validate-date-6weeks").attr("data-parsley-date6weeks","true"),jQuery(".validate-email").attr("data-parsley-email","true"),jQuery(".validate-pin").attr("data-parsley-pin","true"),jQuery(".validate-iban").attr("data-parsley-iban","true"),jQuery(".validate-bic").attr("data-parsley-bic","true"),jQuery(".validate-money").attr("data-parsley-money","true"),jQuery(".validate-malo").attr("data-parsley-malo","true"),jQuery("input.readonly").prop("readonly",!0),jQuery("input.disabled").prop("disabled",!0),jQuery(".validate-numeric-int").attr("data-parsley-numericint","true"),jQuery(".validate-numeric-float").attr("data-parsley-numericfloat","true"),jQuery(".neos-nodetypes-form form input, .neos-nodetypes-form form textarea, .neos-nodetypes-form form select").on("focusout",function(){jQuery(this).parsley().validate()})}),ParsleyValidator.addValidator("money",function(e,t){return errorMsg="Eingabe in von 1 bis 999 EUR erforderlich (ohne Kommastellen)",""!=e&&!!/^(\d{1,3})$/g.test(e)||(ParsleyValidator.addMessage("de","money",errorMsg),!1)},32),ParsleyValidator.addValidator("malo",function(e,t){return errorMsg="MaLo-ID muss genau 11 Ziffern entsprechen",""!=e&&!!/^(\d{11})$/g.test(e)||(ParsleyValidator.addMessage("de","malo",errorMsg),!1)},32),ParsleyValidator.addValidator("date",function(e,t){return errorMsg="Kein gültiges Datumsformat (dd.mm.yy)",!!/^(\d{2})(\.|-)(\d{2})(\.|-)(\d{2,4})$/g.test(e)||(ParsleyValidator.addMessage("de","date",errorMsg),!1)},32),ParsleyValidator.addValidator("pin",function(e,t){return errorMsg="Bitte geben Sie Ihre Pin an (max. 6 Ziffern)",""==e?(ParsleyValidator.addMessage("de","pin",errorMsg),!1):6<e.length?(errorMsg="Die Pin darf nicht mehr 6 Ziffern haben",ParsleyValidator.addMessage("de","pin",errorMsg),!1):!!/(\d{2,6})/g.test(e)||(errorMsg="Die Pin darf nur aus Ziffern/Zahlen bestehen",ParsleyValidator.addMessage("de","pin",errorMsg),!1)},32),ParsleyValidator.addValidator("iban",function(e,t){return errorMsg="Bitte geben Sie eine gültige IBAN an.",!!IBAN.isValid(e)||(ParsleyValidator.addMessage("de","iban",errorMsg),!1)},32),ParsleyValidator.addValidator("bic",function(e,t){errorMsg="Bitte geben Sie eine gültige BIC an.";return 0!=/^([a-zA-Z]){4}([a-zA-Z]){2}([0-9a-zA-Z]){2}([0-9a-zA-Z]{3})?$/.test(e)||(ParsleyValidator.addMessage("de","bic",errorMsg),!1)},32),ParsleyValidator.addValidator("optionalemail",function(e,t){return""===e||null==e||""===e.trim()||!!/^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,}$/.test(e)||(ParsleyValidator.addMessage("de","optionalemail","Bitte geben Sie eine gültige E-Mail-Adresse ein."),!1)},32),ParsleyValidator.addValidator("date6weeks",function(e,t){var i=/(\d{2})(\.|-)(\d{2})(\.|-)(\d{2,4})/g;return errorMsg="Kein gültiges Datumsformat (dd.mm.yy)",i.test(e)?(e=new Date(e.replace(i,"$5-$3-$1")),(i=new Date).setDate(i.getDate()-42),!(e<i&&(errorMsg="Datum muss nach dem "+i.getUTCDate()+"."+(i.getUTCMonth()+1)+"."+i.getUTCFullYear()+" liegen",ParsleyValidator.addMessage("de","date6weeks",errorMsg),1))):(ParsleyValidator.addMessage("de","date6weeks",errorMsg),!1)},32),ParsleyValidator.addValidator("numericint",function(e,t){return errorMsg="Es sind nur Ganzzahlen erlaubt (ohne Kommastellen)",""==e||!!/^(\d+)$/g.test(e)||(ParsleyValidator.addMessage("de","numericint",errorMsg),!1)},32),ParsleyValidator.addValidator("numericfloat",function(e,t){return errorMsg="Es sind nur Ganzzahlen mit max. 2 Nachkommastellen erlaubt",""==e||!!/^\d*\.?,?\d{0,2}$/g.test(e)||(ParsleyValidator.addMessage("de","numericfloat",errorMsg),!1)},32),ParsleyValidator.addValidator("email",function(e,t){return errorMsg="Bitte geben Sie eine gültige E-Mail ein.",""==e||!!/^((([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-zA-Z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-zA-Z]|\d|-|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-zA-Z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))$/g.test(e)||(ParsleyValidator.addMessage("de","email",errorMsg),!1)},32),ParsleyValidator.addValidator("kundennummer",function(e,t){return errorMsg="Die Kundennummer muss genau 6 Ziffern haben.",""!=e&&!!/^(\d{6})$/g.test(e)||(ParsleyValidator.addMessage("de","kundennummer",errorMsg),!1)},32),ParsleyValidator.addValidator("emailconfirmation",function(e,t){try{var i,n,o=null!=e?String(e).trim():"",s=jQuery(t);return 0===s.length?(console.warn("Email confirmation: Target field not found:",t),!0):(n=null!=(i=s.val())?String(i).trim():"",""===o&&""===n||o===n||(ParsleyValidator.addMessage("de","emailconfirmation","Die E-Mail-Adressen stimmen nicht überein."),!1))}catch(e){return console.error("Email confirmation validation error:",e),!0}},32),!function(e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).videojs=e()}(function(){return function n(o,s,r){function a(i,e){if(!s[i]){if(!o[i]){var t="function"==typeof require&&require;if(!e&&t)return t(i,!0);if(l)return l(i,!0);e=new Error("Cannot find module '"+i+"'");throw e.code="MODULE_NOT_FOUND",e}
1t=s[i]={exports:{}};o[i][0].call(t.exports,function(e){var t=o[i][1][e];return a(t||e)},t,t.exports,n,o,s,r)}return s[i].exports}for(var l="function"==typeof require&&require,e=0;e<r.length;e++)a(r[e]);return a}({1:[function(n,o,e){!function(e){var t,e=void 0!==e?e:"undefined"!=typeof window?window:{},i=n("min-document");"undefined"!=typeof document?o.exports=document:(t=(t=e["__GLOBAL_DOCUMENT_CACHE@4"])||(e["__GLOBAL_DOCUMENT_CACHE@4"]=i),o.exports=t)}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{"min-document":3}],2:[function(e,t,i){!function(e){"undefined"!=typeof window?t.exports=window:void 0!==e?t.exports=e:"undefined"!=typeof self?t.exports=self:t.exports={}}.call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(e,t,i){},{}],4:[function(e,t,i){e=e("../internal/getNative")(Date,"now");t.exports=e||function(){return(new Date).getTime()}},{"../internal/getNative":20}],5:[function(e,t,i){var y=e("../lang/isObject"),b=e("../date/now"),_=Math.max;t.exports=function(n,o,e){var s,r,a,l,c,u,h,d,p=0,f=!1,m=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function t(e,t){t&&clearTimeout(t),r=u=h=void 0,e&&(p=b(),a=n.apply(c,s),u||r||(s=c=void 0))}function g(){var e=o-(b()-l);e<=0||o<e?t(h,r):u=setTimeout(g,e)}function v(){t(m,u)}function i(){var e,t,i;return s=arguments,l=b(),c=this,h=m&&(u||!d),!1===f?e=d&&!u:(i=(t=f-(l-(p=r||d?p:l)))<=0||f<t)?(r=r&&clearTimeout(r),p=l,a=n.apply(c,s)):r=r||setTimeout(v,t),i&&u?u=clearTimeout(u):u||o===f||(u=setTimeout(g,o)),e&&(i=!0,a=n.apply(c,s)),!i||u||r||(s=c=void 0),a}return o=!(o<0)&&+o||0,!0===e?m=!(d=!0):y(e)&&(d=!!e.leading,f="maxWait"in e&&_(+e.maxWait||0,o),m="trailing"in e?!!e.trailing:m),i.cancel=function(){u&&clearTimeout(u),r&&clearTimeout(r),r=u=h=void(p=0)},i}},{"../date/now":4,"../lang/isObject":33}],6:[function(e,t,i){var a=Math.max;t.exports=function(s,r){if("function"!=typeof s)throw new TypeError("Expected a function");return r=a(void 0===r?s.length-1:+r||0,0),function(){for(var e=arguments,t=-1,i=a(e.length-r,0),n=Array(i);++t<i;)n[t]=e[r+t];switch(r){case 0:return s.call(this,n);case 1:return s.call(this,e[0],n);case 2:return s.call(this,e[0],e[1],n)}for(var o=Array(r+1),t=-1;++t<r;)o[t]=e[t];return o[r]=n,s.apply(this,o)}}},{}],7:[function(e,t,i){var s=e("./debounce"),r=e("../lang/isObject");t.exports=function(e,t,i){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return!1===i?n=!1:r(i)&&(n="leading"in i?!!i.leading:n,o="trailing"in i?!!i.trailing:o),s(e,t,{leading:n,maxWait:+t,trailing:o})}},{"../lang/isObject":33,"./debounce":5}],8:[function(e,t,i){t.exports=function(e,t){var i=-1,n=e.length;for(t=t||Array(n);++i<n;)t[i]=e[i];return t}},{}],9:[function(e,t,i){t.exports=function(e,t){for(var i=-1,n=e.length;++i<n&&!1!==t(e[i],i,e););return e}},{}],10:[function(e,t,i){t.exports=function(e,t,i){i=i||{};for(var n=-1,o=t.length;++n<o;){var s=t[n];i[s]=e[s]}return i}},{}],11:[function(e,t,i){e=e("./createBaseFor")();t.exports=e},{"./createBaseFor":18}],12:[function(e,t,i){var n=e("./baseFor"),o=e("../object/keysIn");t.exports=function(e,t){return n(e,t,o)}},{"../object/keysIn":39,"./baseFor":11}],13:[function(e,t,i){var n=e("./arrayEach"),p=e("./baseMergeDeep"),o=e("../lang/isArray"),f=e("./isArrayLike"),m=e("../lang/isObject"),g=e("./isObjectLike"),v=e("../lang/isTypedArray"),y=e("../object/keys");t.exports=function s(r,a,l,c,u){var h,d;return m(r)&&(h=f(a)&&(o(a)||v(a)),d=h?void 0:y(a),n(d||a,function(e,t){var i,n,o;d&&(e=a[t=e]),g(e)?p(r,a,t,s,l,c=c||[],u=u||[]):(i=r[t],void 0===(n=(o=void 0===(n=l?l(i,e,t,r,a):void 0))?e:n)&&(!h||t in r)||!o&&(n==n?n===i:i!=i)||(r[t]=n))})),r}},{"../lang/isArray":30,"../lang/isObject":33,"../lang/isTypedArray":36,"../object/keys":38,"./arrayEach":9,"./baseMergeDeep":14,"./isArrayLike":21,"./isObjectLike":26}],14:[function(e,t,i){var h=e("./arrayCopy"),d=e("../lang/isArguments"),p=e("../lang/isArray"),f=e("./isArrayLike"),m=e("../lang/isPlainObject"),g=e("../lang/isTypedArray"),v=e("../lang/toPlainObject");t.exports=function(e,t,i,n,o,s,r){for(var a=s.length,l=t[i];a--;)if(s[a]==l)return void(e[i]=r[a]);var c=e[i],u=void 0===(t=o?o(c,l,i,e,t):void 0);u&&(f(t=l)&&(p(l)||g(l))?t=p(c)?c:f(c)?h(c):[]:m(l)||d(l)?t=d(c)?v(c):m(c)?c:{}:u=!1),s.push(l),r.push(t),u?e[i]=n(t,l,o,s,r):(t==t?t!==c:c==c)&&(e[i]=t)}},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isPlainObject":34,"../lang/isTypedArray":36,"../lang/toPlainObject":37,"./arrayCopy":8,"./isArrayLike":21}],15:[function(e,t,i){var n=e("./toObject");t.exports=function(t){return function(e){return null==e?void 0:n(e)[t]}}},{"./toObject":28}],16:[function(e,t,i){var n=e("../utility/identity");t.exports=function(s,r,e){if("function"!=typeof s)return n;if(void 0===r)return s;switch(e){case 1:return function(e){return s.call(r,e)};case 3:return function(e,t,i){return s.call(r,e,t,i)};case 4:return function(e,t,i,n){return s.call(r,e,t,i,n)};case 5:return function(e,t,i,n,o){return s.call(r,e,t,i,n,o)}}return function(){return s.apply(r,arguments)}}},{"../utility/identity":42}],17:[function(e,t,i){var c=e("./bindCallback"),u=e("./isIterateeCall"),n=e("../function/restParam");t.exports=function(l){return n(function(e,t){var i=-1,n=null==e?0:t.length,o=2<n?t[n-2]:void 0,s=2<n?t[2]:void 0,r=1<n?t[n-1]:void 0;for("function"==typeof o?(o=c(o,r,5),n-=2):n-=(o="function"==typeof r?r:void 0)?1:0,s&&u(t[0],t[1],s)&&(o=n<3?void 0:o,n=1);++i<n;){var a=t[i];a&&l(e,a,o)}return e})}},{"../function/restParam":6,"./bindCallback":16,"./isIterateeCall":24}],18:[function(e,t,i){var c=e("./toObject");t.exports=function(l){return function(e,t,i){for(var n=c(e),o=i(e),s=o.length,r=l?s:-1;l?r--:++r<s;){var a=o[r];if(!1===t(n[a],a,n))break}return e}}},{"./toObject":28}],19:[function(e,t,i){e=e("./baseProperty")("length");t.exports=e},{"./baseProperty":15}],20:[function(e,t,i){var n=e("../lang/isNative");t.exports=function(e,t){return e=null==e?void 0:e[t],n(e)?e:void 0}},{"../lang/isNative":32}],21:[function(e,t,i){var n=e("./getLength"),o=e("./isLength");t.exports=function(e){return null!=e&&o(n(e))}},{"./getLength":19,"./isLength":25}],22:[function(e,t,i){var n=(()=>{try{Object({toString:0}+"")}catch(e){return function(){return!1}}return function(e){return"function"!=typeof e.toString&&"string"==typeof(e+"")}})();t.exports=n},{}],23:[function(e,t,i){var n=/^\d+$/;t.exports=function(e,t){return t=null==t?9007199254740991:t,-1<(e="number"==typeof e||n.test(e)?+e:-1)&&e%1==0&&e<t}},{}],24:[function(e,t,i){var o=e("./isArrayLike"),s=e("./isIndex"),r=e("../lang/isObject");t.exports=function(e,t,i){var n;return!!r(i)&&!!("number"==(n=typeof t)?o(i)&&s(t,i.length):"string"==n&&t in i)&&
1(n=i[t],e==e?e===n:n!=n)}},{"../lang/isObject":33,"./isArrayLike":21,"./isIndex":23}],25:[function(e,t,i){t.exports=function(e){return"number"==typeof e&&-1<e&&e%1==0&&e<=9007199254740991}},{}],26:[function(e,t,i){t.exports=function(e){return!!e&&"object"==typeof e}},{}],27:[function(e,t,i){var l=e("../lang/isArguments"),c=e("../lang/isArray"),u=e("./isIndex"),h=e("./isLength"),d=e("../lang/isString"),p=e("../object/keysIn"),f=Object.prototype.hasOwnProperty;t.exports=function(e){for(var t=p(e),i=t.length,n=i&&e.length,o=!!n&&h(n)&&(c(e)||l(e)||d(e)),s=-1,r=[];++s<i;){var a=t[s];(o&&u(a,n)||f.call(e,a))&&r.push(a)}return r}},{"../lang/isArguments":29,"../lang/isArray":30,"../lang/isString":35,"../object/keysIn":39,"./isIndex":23,"./isLength":25}],28:[function(e,t,i){var o=e("../lang/isObject"),s=e("../lang/isString"),r=e("../support");t.exports=function(e){if(r.unindexedChars&&s(e)){for(var t=-1,i=e.length,n=Object(e);++t<i;)n[t]=e.charAt(t);return n}return o(e)?e:Object(e)}},{"../lang/isObject":33,"../lang/isString":35,"../support":41}],29:[function(e,t,i){var n=e("../internal/isArrayLike"),o=e("../internal/isObjectLike"),e=Object.prototype,s=e.hasOwnProperty,r=e.propertyIsEnumerable;t.exports=function(e){return o(e)&&n(e)&&s.call(e,"callee")&&!r.call(e,"callee")}},{"../internal/isArrayLike":21,"../internal/isObjectLike":26}],30:[function(e,t,i){var n=e("../internal/getNative"),o=e("../internal/isLength"),s=e("../internal/isObjectLike"),r=Object.prototype.toString,e=n(Array,"isArray");t.exports=e||function(e){return s(e)&&o(e.length)&&"[object Array]"==r.call(e)}},{"../internal/getNative":20,"../internal/isLength":25,"../internal/isObjectLike":26}],31:[function(e,t,i){var n=e("./isObject"),o=Object.prototype.toString;t.exports=function(e){return n(e)&&"[object Function]"==o.call(e)}},{"./isObject":33}],32:[function(e,t,i){var n=e("./isFunction"),o=e("../internal/isHostObject"),s=e("../internal/isObjectLike"),r=/^\[object .+?Constructor\]$/,e=Object.prototype,a=Function.prototype.toString,e=e.hasOwnProperty,l=RegExp("^"+a.call(e).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");t.exports=function(e){return null!=e&&(n(e)?l.test(a.call(e)):s(e)&&(o(e)?l:r).test(e))}},{"../internal/isHostObject":22,"../internal/isObjectLike":26,"./isFunction":31}],33:[function(e,t,i){t.exports=function(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}},{}],34:[function(e,t,i){var o=e("../internal/baseForIn"),s=e("./isArguments"),r=e("../internal/isHostObject"),a=e("../internal/isObjectLike"),l=e("../support"),e=Object.prototype,c=e.hasOwnProperty,u=e.toString;t.exports=function(e){var t,n;return!(!a(e)||"[object Object]"!=u.call(e)||r(e)||s(e)||!(c.call(e,"constructor")||"function"!=typeof(t=e.constructor)||t instanceof t))&&(l.ownLast?(o(e,function(e,t,i){return n=c.call(i,t),!1}),!1!==n):(o(e,function(e,t){n=t}),void 0===n||c.call(e,n)))}},{"../internal/baseForIn":12,"../internal/isHostObject":22,"../internal/isObjectLike":26,"../support":41,"./isArguments":29}],35:[function(e,t,i){var n=e("../internal/isObjectLike"),o=Object.prototype.toString;t.exports=function(e){return"string"==typeof e||n(e)&&"[object String]"==o.call(e)}},{"../internal/isObjectLike":26}],36:[function(e,t,i){var n=e("../internal/isLength"),o=e("../internal/isObjectLike"),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1;var r=Object.prototype.toString;t.exports=function(e){return o(e)&&n(e.length)&&!!s[r.call(e)]}},{"../internal/isLength":25,"../internal/isObjectLike":26}],37:[function(e,t,i){var n=e("../internal/baseCopy"),o=e("../object/keysIn");t.exports=function(e){return n(e,o(e))}},{"../internal/baseCopy":10,"../object/keysIn":39}],38:[function(e,t,i){var n=e("../internal/getNative"),o=e("../internal/isArrayLike"),s=e("../lang/isObject"),r=e("../internal/shimKeys"),a=e("../support"),l=n(Object,"keys");t.exports=l?function(e){var t=null==e?void 0:e.constructor;return"function"==typeof t&&t.prototype===e||("function"==typeof e?a.enumPrototypes:o(e))?r(e):s(e)?l(e):[]}:r},{"../internal/getNative":20,"../internal/isArrayLike":21,"../internal/shimKeys":27,"../lang/isObject":33,"../support":41}],39:[function(e,t,i){var n=e("../internal/arrayEach"),p=e("../lang/isArguments"),f=e("../lang/isArray"),m=e("../lang/isFunction"),g=e("../internal/isIndex"),v=e("../internal/isLength"),y=e("../lang/isObject"),b=e("../lang/isString"),_=e("../support"),w="[object Error]",x="[object Object]",k="[object String]",T=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleStr
1ing","toString","valueOf"],C=Error.prototype,S=Object.prototype,j=String.prototype,E=S.hasOwnProperty,D=S.toString,M={};M["[object Array]"]=M["[object Date]"]=M["[object Number]"]={constructor:!0,toLocaleString:!0,toString:!0,valueOf:!0},M["[object Boolean]"]=M[k]={constructor:!0,toString:!0,valueOf:!0},M[w]=M["[object Function]"]=M["[object RegExp]"]={constructor:!0,toString:!0},M[x]={constructor:!0},n(T,function(e){for(var t in M)E.call(M,t)&&((t=M[t])[e]=E.call(t,e))}),t.exports=function(e){if(null==e)return[];for(var t=(t=(e=y(e)?e:Object(e)).length)&&v(t)&&(f(e)||p(e)||b(e))&&t||0,i=e.constructor,n=-1,o=m(i)&&i.prototype||S,s=o===e,r=Array(t),a=0<t,l=_.enumErrorProps&&(e===C||e instanceof Error),c=_.enumPrototypes&&m(e);++n<t;)r[n]=n+"";for(h in e)c&&"prototype"==h||l&&("message"==h||"name"==h)||a&&g(h,t)||"constructor"==h&&(s||!E.call(e,h))||r.push(h);if(_.nonEnumShadows&&e!==S){var i=e===j?k:e===C?w:D.call(e),u=M[i]||M[x];for(i==x&&(o=S),t=T.length;t--;){var h,d=u[h=T[t]];s&&d||(d?!E.call(e,h):e[h]===o[h])||r.push(h)}}return r}},{"../internal/arrayEach":9,"../internal/isIndex":23,"../internal/isLength":25,"../lang/isArguments":29,"../lang/isArray":30,"../lang/isFunction":31,"../lang/isObject":33,"../lang/isString":35,"../support":41}],40:[function(e,t,i){var n=e("../internal/baseMerge"),e=e("../internal/createAssigner")(n);t.exports=e},{"../internal/baseMerge":13,"../internal/createAssigner":17}],41:[function(e,t,i){var n=Array.prototype,o=Error.prototype,s=Object.prototype.propertyIsEnumerable,n=n.splice,r={};function a(){this.x=1}var l,c={0:1,length:1},u=[];for(l in a.prototype={valueOf:1,y:1},new a)u.push(l);r.enumErrorProps=s.call(o,"message")||s.call(o,"name"),r.enumPrototypes=s.call(a,"prototype"),r.nonEnumShadows=!/valueOf/.test(u),r.ownLast="x"!=u[0],r.spliceObjects=(n.call(c,0,1),!c[0]),r.unindexedChars="x"[0]+Object("x")[0]!="xx",t.exports=r},{}],42:[function(e,t,i){t.exports=function(e){return e}},{}],43:[function(e,t,i){var n=e("object-keys");t.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"!=typeof Symbol.iterator){var e={},t=Symbol("test");if("string"==typeof t)return!1;for(t in e[t]=42,e)return!1;if(0!==n(e).length)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var i=Object.getOwnPropertySymbols(e);if(1!==i.length||i[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){i=Object.getOwnPropertyDescriptor(e,t);if(42!==i.value||!0!==i.enumerable)return!1}}return!0}},{"object-keys":50}],44:[function(e,t,i){var u=e("object-keys"),n=e("function-bind"),h=e("./hasSymbols")(),d=Object,p=n.call(Function.call,Array.prototype.push),f=n.call(Function.call,Object.prototype.propertyIsEnumerable);t.exports=function(e,t){if(null==e)throw new TypeError("target must be an object");for(var i,n,o,s,r,a,l=d(e),c=1;c<arguments.length;++c){if(i=d(arguments[c]),o=u(i),h&&Object.getOwnPropertySymbols)for(s=Object.getOwnPropertySymbols(i),n=0;n<s.length;++n)a=s[n],f(i,a)&&p(o,a);for(n=0;n<o.length;++n)r=i[a=o[n]],f(i,a)&&(l[a]=r)}return l}},{"./hasSymbols":43,"function-bind":49,"object-keys":50}],45:[function(e,t,i){var n=e("define-properties"),o=e("./implementation");n(o,{implementation:o,getPolyfill:e("./polyfill"),shim:e("./shim")}),t.exports=o},{"./implementation":44,"./polyfill":52,"./shim":53,"define-properties":46}],46:[function(e,t,i){function n(o,s){var r=2<arguments.length?arguments[2]:{},e=a(s);c&&(e=e.concat(Object.getOwnPropertySymbols(s))),l(e,function(e){var t,i,n;t=o,n=s[i=e],e=r[e],i in t&&(!u(e)||!e())||(h?Object.defineProperty(t,i,{configurable:!0,enumerable:!1,value:n,writable:!0}):t[i]=n)})}var a=e("object-keys"),l=e("foreach"),c="function"==typeof Symbol&&"symbol"==typeof Symbol(),o=Object.prototype.toString,u=function(e){return"function"==typeof e&&"[object Function]"===o.call(e)},h=Object.defineProperty&&(()=>{var e={};try{for(var t in Object.defineProperty(e,"x",{enumerable:!1,value:e}),e)return!1;return e.x===e}catch(e){return!1}})();n.supportsDescriptors=!!h,t.exports=n},{foreach:47,"object-keys":50}],47:[function(e,t,i){var r=Object.prototype.hasOwnProperty,a=Object.prototype.toString;t.exports=function(e,t,i){if("[object Function]"!==a.call(t))throw new TypeError("iterator must be a function");var n=e.length;if(n===+n)for(var o=0;o<n;o++)t.call(i,e[o],o,e);else for(var s in e)r.call(e,s)&&t.call(i,e[s],s,e)}},{}],48:[function(e,t,i){var l=Array.prototype.slice,c=Object.prototype.toString;t.exports=function(t){var i=this;if("function"!=typeof i||"[object Function]"!==c.call(i))throw new TypeError("Function.prototype.bind called on incompatible "+i);
1for(var n,e,o=l.call(arguments,1),s=Math.max(0,i.length-o.length),r=[],a=0;a<s;a++)r.push("$"+a);return n=Function("binder","return function ("+r.join(",")+"){ return binder.apply(this,arguments); }")(function(){var e;return this instanceof n?(e=i.apply(this,o.concat(l.call(arguments))),Object(e)===e?e:this):i.apply(t,o.concat(l.call(arguments)))}),i.prototype&&((e=function(){}).prototype=i.prototype,n.prototype=new e,e.prototype=null),n}},{}],49:[function(e,t,i){e=e("./implementation");t.exports=Function.prototype.bind||e},{"./implementation":48}],50:[function(e,t,i){function n(e){var t=null!==e&&"object"==typeof e,i="[object Function]"===p.call(e),n=f(e),o=t&&"[object String]"===p.call(e),s=[];if(!t&&!i&&!n)throw new TypeError("Object.keys called on a non-object");var r=g&&i;if(o&&0<e.length&&!d.call(e,0))for(var a=0;a<e.length;++a)s.push(String(a));if(n&&0<e.length)for(var l=0;l<e.length;++l)s.push(String(l));else for(var c in e)r&&"prototype"===c||!d.call(e,c)||s.push(String(c));if(m)for(var u=(e=>{if("undefined"==typeof window||!b)return y(e);try{return y(e)}catch(e){return!1}})(e),h=0;h<v.length;++h)u&&"constructor"===v[h]||!d.call(e,v[h])||s.push(v[h]);return s}var d=Object.prototype.hasOwnProperty,p=Object.prototype.toString,o=Array.prototype.slice,f=e("./isArguments"),m=!{toString:null}.propertyIsEnumerable("toString"),g=function(){}.propertyIsEnumerable("prototype"),v=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],y=function(e){var t=e.constructor;return t&&t.prototype===e},s={$console:!0,$frame:!0,$frameElement:!0,$frames:!0,$parent:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},b=(()=>{if("undefined"!=typeof window)for(var e in window)try{if(!s["$"+e]&&d.call(window,e)&&null!==window[e]&&"object"==typeof window[e])try{y(window[e])}catch(e){return!0}}catch(e){return!0}return!1})();n.shim=function(){var t;return Object.keys?function(){return 2===(Object.keys(arguments)||"").length}(1,2)||(t=Object.keys,Object.keys=function(e){return f(e)?t(o.call(e)):t(e)}):Object.keys=n,Object.keys||n},t.exports=n},{"./isArguments":51}],51:[function(e,t,i){var n=Object.prototype.toString;t.exports=function(e){var t=n.call(e);return"[object Arguments]"===t||"[object Array]"!==t&&null!==e&&"object"==typeof e&&"number"==typeof e.length&&0<=e.length&&"[object Function]"===n.call(e.callee)}},{}],52:[function(e,t,i){var n=e("./implementation");t.exports=function(){return!Object.assign||(()=>{if(!Object.assign)return!1;for(var e="abcdefghijklmnopqrst",t=e.split(""),i={},n=0;n<t.length;++n)i[t[n]]=t[n];var o,s="";for(o in Object.assign({},i))s+=o;return e!==s})()||(()=>{if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch(e){return"y"===t[1]}})()?n:Object.assign}},{"./implementation":44}],53:[function(e,t,i){var n=e("define-properties"),o=e("./polyfill");t.exports=function(){var e=o();return n(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e}},{"./polyfill":52,"define-properties":46}],54:[function(e,t,i){t.exports=function(e,t){var i,n=null;try{i=JSON.parse(e,t)}catch(e){n=e}return[n,i]}},{}],55:[function(e,t,i){t.exports=function(e){for(var t="",i=0;i<arguments.length;i++)t+=e[i].replace(/\n\r?\s*/g,"")+(arguments[i+1]||"");return t}},{}],56:[function(e,t,i){for(var n=e("global/window"),m=e("once"),o=e("is-function"),g=e("parse-headers"),s=e("xtend"),r=((t.exports=v).XMLHttpRequest=n.XMLHttpRequest||function(){},v.XDomainRequest="withCredentials"in new v.XMLHttpRequest?v.XMLHttpRequest:n.XDomainRequest,["get","put","post","patch","head","delete"]),a=function(n){v["delete"===n?"del":n]=function(e,t,i){return(t=c(e,t,i)).method=n.toUpperCase(),u(t)}},l=0;l<r.length;l++)a(r[l]);function c(e,t,i){var n=e;return o(t)?(i=t,"string"==typeof e&&(n={uri:e})):n=s(t,{uri:e}),n.callback=i,n}function v(e,t,i){return u(t=c(e,t,i))}function u(n){if(void 0===(o=n.callback))throw new Error("callback argument missing");var o=m(o),s={body:void 0,headers:{},statusCode:0,method:u,url:c,rawRequest:l};function t(e){clearTimeout(a),(e=e instanceof Error?e:new Error(""+(e||"Unknown XMLHttpRequest Error"))).statusCode=0,o(e,s)}function e(){var e,t,i;r||(clearTimeout(a),e=n.useXDR&&void 0===l.status?200:1223===l.status?204:l.status,t=s,i=null,0!==e?(t={body:(()=>{var e=void 0;if(l.response?e=l.response:"text"!==l.responseType&&l.responseType||(e=l.responseText||l.responseXML),f)try{e=JSON.parse(e)}catch(e){}return e})(),statusCode:e,method:u,headers:{},url:c,rawRequest:l},l.getAllResponseHeaders&&(t.headers=g(l.getAllResponseHeaders()))):i=new Error("Internal XMLHttpRequest Error"),o(i,t,t.body))}var i,r,a,l=n.xhr||null,c=(l=l||new(n.cors||n.useXDR?v.XDomainRequest:v.XMLHttpRequest)).url=n.uri||n.url,u=l.method=n.method||"GET",h=n.body||n.data||null,d=l.headers=n.headers||{},p=!!n.sync,f=!1;if("json"in n&&(f=!0,d.accept||d.Accept||(d.Accept="application/json"),"GET"!==u)&&"HEAD"!==u&&(d["content-type"]||d["Content-Type"]||(d["Content-Type"]="application/json"),h=JSON.stringify(n.json)),l.onreadystatechange=function(){4===l.readyState&&e()},l.onload=e,l.onerror=t,l.onprogress=function(){},l.ontimeout=t,l.open(u,c,!p,n.username,n.password),p||(l.withCredentials=!!n.withCredentials),!p&&0<n.timeout&&(a=setTimeout(function(){r=!0,l.abort("timeout");var e=new Error("XMLHttpRequest timeout");e.code="ETIMEDOUT",t(e)},n.timeout)),l.setRequestHeader)for(i in d)d.hasOwnProperty(i)&&l.setRequestHeader(i,d[i]);else if(n.headers&&!(e=>{for(var t in e)if(e.hasOwnProperty(t))return;return 1})(n.headers))throw new Error("Headers cannot be set on an XDomainRequest object");return"responseType"in n&&(l.responseType=n.responseType),"beforeSend"in n&&"function"==typeof n.beforeSend&&n.beforeSend(l),l.send(h),l}},{"global/window":2,"is-function":57,once:58,"parse-headers":61,xtend:62}],57:[function(e,t,i){t.exports=function(e){var t=n.call(e);return"[object Function]"===t||"function"==typeof e&&"[object RegExp]"!==t||"undefined"!=typeof window&&(e===window.setTimeout||e===window.alert||e===window.confirm||e===window.prompt)};var n=Object.prototype.toString},{}],58:[function(e,t,i){function n(e){var t=!1;return function(){if(!t)return t=!0,e.apply(this,arguments)}}(t.exports=n).proto=n(function(){Object.defineProperty(Function.prototype,"once",{value:function(){return n(this)},configurable:!0})})},{}],59:[function(e,t,i){var n=e("is-function"),o=(t.exports=function(e,t,i){if(!n(t))throw new TypeError("iterator must be a function");arguments.length<3&&(i=this);("[object Array]"===o.call(e)?(e,t,i)=>{for(var n=0,o=e.length;n<o;n++)s.call(e,n)&&t.call(i,e[n],n,e)}:"string"==typeof e?(e,t,i)=>{for(var n=0,o=e.length;n<o;n++)t.call(i,e.charAt(n),n,e)}:(e,t,i)=>{for(var n in e)s.call(e,n)&&t.call(i,e[n],n,e)})(e,t,i)},Object.prototype.toString),s=Object.prototype.hasOwnProperty},{"is-function":57}],60:[function(e,t,i){(i=t.exports=function(e){return e.replace(/^\s*|\s*$/g,"")}).left=function(e){return e.replace(/^\s*/,"")},i.right=function(e){return e.replace(/\s*$/,"")}},{}],61:[function(e,t,i){var o=e("trim"),s=e("for-each");t.exports=function(e){var n;return e?(n={},s(o(e).split("\n"),function(e){var t=e.indexOf(":"),i=o(e.slice(0,t)).toLowerCase(),e=o(e.slice(t+1));void 0===n[i]?n[i]=e:(t=n[i],"[object Array]"===Object.prototype.toString.call(t)?n[i].push(e):n[i]=[n[i],e])}),n):{}}},{"for-each":59,trim:60}],62:[function(e,t,i){t.exports=function(){for(var e={},t=0;t<arguments.length;t++){var i,n=arguments[t];for(i in n)o.call(n,i)&&(e[i]=n[i])}return e};var o=Object.prototype.hasOwnProperty},{}
1],63:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./button.js")),e=n(e("./component.js")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-big-play-button"},n.prototype.handleClick=function(){this.player_.play()},n})(o.default);o.prototype.controlText_="Play Video",e.default.registerComponent("BigPlayButton",o),i.default=o,t.exports=i.default},{"./button.js":64,"./component.js":67}],64:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./clickable-component.js")),r=o(e("./component")),a=(n(e("./utils/events.js")),n(e("./utils/fn.js")),o(e("./utils/log.js"))),l=(o(e("global/document")),o(e("object.assign"))),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){var e=arguments.length<=0||void 0===arguments[0]?"button":arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],t=l.default({className:this.buildCSSClass()},t),i=("button"!==e&&a.default.warn("Creating a Button with an HTML element of "+e+" is deprecated; use ClickableComponent instead."),l.default({type:"button","aria-live":"polite"},i)),e=r.default.prototype.createEl.call(this,e,t,i);return this.createControlTextEl(e),e},n.prototype.addChild=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=this.constructor.name;return a.default.warn("Adding an actionable (user controllable) child to a Button ("+i+") is not supported; use a ClickableComponent instead."),r.default.prototype.addChild.call(this,e,t)},n.prototype.handleKeyPress=function(e){32!==e.which&&13!==e.which&&i.prototype.handleKeyPress.call(this,e)},n})(s.default);r.default.registerComponent("Button",e),i.default=e,t.exports=i.default},{"./clickable-component.js":65,"./component":67,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],65:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./component")),r=n(e("./utils/dom.js")),a=n(e("./utils/events.js")),l=n(e("./utils/fn.js")),c=o(e("./utils/log.js")),u=o(e("global/document")),h=o(e("object.assign")),e=(n=>{var e=i,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,e,t),this.emitTapEvents(),this.on("tap",this.handleClick),this.on("click",this.handleClick),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),i.prototype.createEl=function(){var e=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],t=h.default({className:this.buildCSSClass(),tabIndex:0},t),i=("button"===e&&c.default.error("Creating a ClickableComponent with an HTML element of "+e+" is not supported; use a Button instead."),h.default({role:"button","aria-live":"polite"},i)),e=n.prototype.createEl.call(this,e,t,i);return this.createControlTextEl(e),e},i.prototype.createControlTextEl=function(e){return this.controlTextEl_=r.createEl("span",{className:"vjs-control-text"}),e&&e.appendChild(this.controlTextEl_),this.controlText(this.controlText_),this.controlTextEl_},i.prototype.controlText=function(e){return e?(this.controlText_=e,this.controlTextEl_.innerHTML=this.localize(this.controlText_),this):this.controlText_||"Need Text"},i.prototype.buildCSSClass=function(){return"vjs-control vjs-button "+n.prototype.buildCSSClass.call(this)},i.prototype.addChild=function(e){return n.prototype.addChild.call(this,e,arguments.length<=1||void 0===arguments[1]?{}:arguments[1])},i.prototype.handleClick=function(){},i.prototype.handleFocus=function(){a.on(u.default,"keydown",l.bind(this,this.handleKeyPress))},i.prototype.handleKeyPress=function(e){32===e.which||13===e.which?(e.preventDefault(),this.handleClick(e)):n.prototype.handleKeyPress&&n.prototype.handleKeyPress.call(this,e)},i.prototype.handleBlur=function(){a.off(u.default,"keydown",l.bind(this,this.handleKeyPress))},i})(s.default);s.default.registerComponent("ClickableComponent",e),i.default=e,t.exports=i.default}
1,{"./component":67,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/log.js":137,"global/document":1,"object.assign":45}],66:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./button")),e=n(e("./component")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.controlText(t&&t.controlText||this.localize("Close"))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-close-button "+i.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.trigger({type:"close",bubbles:!1})},n})(o.default);e.default.registerComponent("CloseButton",o),i.default=o,t.exports=i.default},{"./button":64,"./component":67}],67:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("global/window")),r=n(e("./utils/dom.js")),c=n(e("./utils/fn.js")),a=n(e("./utils/guid.js")),u=n(e("./utils/events.js")),l=o(e("./utils/log.js")),h=o(e("./utils/to-title-case.js")),d=o(e("object.assign")),p=o(e("./utils/merge-options.js")),e=(f.prototype.dispose=function(){if(this.trigger({type:"dispose",bubbles:!1}),this.children_)for(var e=this.children_.length-1;0<=e;e--)this.children_[e].dispose&&this.children_[e].dispose();this.children_=null,this.childIndex_=null,this.childNameIndex_=null,this.off(),this.el_.parentNode&&this.el_.parentNode.removeChild(this.el_),r.removeElData(this.el_),this.el_=null},f.prototype.player=function(){return this.player_},f.prototype.options=function(e){return l.default.warn("this.options() has been deprecated and will be moved to the constructor in 6.0"),e&&(this.options_=p.default(this.options_,e)),this.options_},f.prototype.el=function(){return this.el_},f.prototype.createEl=function(e,t,i){return r.createEl(e,t,i)},f.prototype.localize=function(e){var t,i=this.player_.language&&this.player_.language(),n=this.player_.languages&&this.player_.languages();return i&&n?(t=n[i])&&t[e]?t[e]:(t=n[i.split("-")[0]])&&t[e]?t[e]:e:e},f.prototype.contentEl=function(){return this.contentEl_||this.el_},f.prototype.id=function(){return this.id_},f.prototype.name=function(){return this.name_},f.prototype.children=function(){return this.children_},f.prototype.getChildById=function(e){return this.childIndex_[e]},f.prototype.getChild=function(e){return this.childNameIndex_[e]},f.prototype.addChild=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?this.children_.length:arguments[2],n=void 0,o=void 0;if("string"==typeof e){o=e,!0===(t=t||{})&&(l.default.warn("Initializing a child component with `true` is deprecated. Children should be defined in an array when possible, but if necessary use an object instead of `true`."),t={});var s=t.componentClass||h.default(o),r=(t.name=o,f.getComponent(s));if(!r)throw new Error("Component "+s+" does not exist");if("function"!=typeof r)return null;n=new r(this.player_||this,t)}else n=e;return this.children_.splice(i,0,n),"function"==typeof n.id&&(this.childIndex_[n.id()]=n),(o=o||n.name&&n.name())&&(this.childNameIndex_[o]=n),"function"==typeof n.el&&n.el()&&(s=this.contentEl().children[i]||null,this.contentEl().insertBefore(n.el(),s)),n},f.prototype.removeChild=function(e){if((e="string"==typeof e?this.getChild(e):e)&&this.children_){for(var t,i=!1,n=this.children_.length-1;0<=n;n--)if(this.children_[n]===e){i=!0,this.children_.splice(n,1);break}i&&(this.childIndex_[e.id()]=null,this.childNameIndex_[e.name()]=null,t=e.el())&&t.parentNode===this.contentEl()&&this.contentEl().removeChild(e.el())}},f.prototype.initChildren=function(){var i,e,t,n=this,o=this.options_.children;o&&(i=n.options_,e=void 0,t=f.getComponent("Tech"),(e=Array.isArray(o)?o:Object.keys(o)).concat(Object.keys(n.options_).filter(function(t){return!e.s
1ome(function(e){return"string"==typeof e?t===e:t===e.name})})).map(function(e){var t=void 0,i=void 0,i="string"==typeof e?o[t=e]||n.options_[t]||{}:(t=e.name,e);return{name:t,opts:i}}).filter(function(e){e=f.getComponent(e.opts.componentClass||h.default(e.name));return e&&!t.isTech(e)}).forEach(function(e){var t=e.name,e=e.opts;!1!==(e=void 0!==i[t]?i[t]:e)&&((e=!0===e?{}:e).playerOptions=n.options_.playerOptions,e=n.addChild(t,e))&&(n[t]=e)}))},f.prototype.buildCSSClass=function(){return""},f.prototype.on=function(e,t,i){var n,o,s,r=this;function a(){return r.off(n,o,s)}function l(){return r.off("dispose",a)}return"string"==typeof e||Array.isArray(e)?u.on(this.el_,e,c.bind(this,t)):(n=e,o=t,s=c.bind(r,i),a.guid=s.guid,r.on("dispose",a),l.guid=s.guid,e.nodeName?(u.on(n,o,s),u.on(n,"dispose",l)):"function"==typeof e.on&&(n.on(o,s),n.on("dispose",l))),this},f.prototype.off=function(e,t,i){var n;return!e||"string"==typeof e||Array.isArray(e)?u.off(this.el_,e,t):(n=e,t=t,i=c.bind(this,i),this.off("dispose",i),e.nodeName?(u.off(n,t,i),u.off(n,"dispose",i)):(n.off(t,i),n.off("dispose",i))),this},f.prototype.one=function(e,t,i){var n,o,s,r=this,a=arguments;function l(){r.off(n,o,l),s.apply(null,a)}return"string"==typeof e||Array.isArray(e)?u.one(this.el_,e,c.bind(this,t)):(n=e,o=t,s=c.bind(r,i),l.guid=s.guid,r.on(n,o,l)),this},f.prototype.trigger=function(e,t){return u.trigger(this.el_,e,t),this},f.prototype.ready=function(e){return e&&(this.isReady_?!(arguments.length<=1||void 0===arguments[1])&&arguments[1]?e.call(this):this.setTimeout(e,1):(this.readyQueue_=this.readyQueue_||[],this.readyQueue_.push(e))),this},f.prototype.triggerReady=function(){this.isReady_=!0,this.setTimeout(function(){var e=this.readyQueue_;this.readyQueue_=[],e&&0<e.length&&e.forEach(function(e){e.call(this)},this),this.trigger("ready")},1)},f.prototype.$=function(e,t){return r.$(e,t||this.contentEl())},f.prototype.$$=function(e,t){return r.$$(e,t||this.contentEl())},f.prototype.hasClass=function(e){return r.hasElClass(this.el_,e)},f.prototype.addClass=function(e){return r.addElClass(this.el_,e),this},f.prototype.removeClass=function(e){return r.removeElClass(this.el_,e),this},f.prototype.toggleClass=function(e,t){return r.toggleElClass(this.el_,e,t),this},f.prototype.show=function(){return this.removeClass("vjs-hidden"),this},f.prototype.hide=function(){return this.addClass("vjs-hidden"),this},f.prototype.lockShowing=function(){return this.addClass("vjs-lock-showing"),this},f.prototype.unlockShowing=function(){return this.removeClass("vjs-lock-showing"),this},f.prototype.width=function(e,t){return this.dimension("width",e,t)},f.prototype.height=function(e,t){return this.dimension("height",e,t)},f.prototype.dimensions=function(e,t){return this.width(e,!0).height(t)},f.prototype.dimension=function(e,t,i){return void 0!==t?(-1!==(""+(t=null!==t&&t==t?t:0)).indexOf("%")||-1!==(""+t).indexOf("px")?this.el_.style[e]=t:this.el_.style[e]="auto"===t?"":t+"px",i||this.trigger("resize"),this):this.el_?-1!==(i=(t=this.el_.style[e]).indexOf("px"))?parseInt(t.slice(0,i),10):parseInt(this.el_["offset"+h.default(e)],10):0},f.prototype.emitTapEvents=function(){function e(){n=!1}var t=0,i=null,n=void 0;this.on("touchstart",function(e){1===e.touches.length&&(i=d.default({},e.touches[0]),t=(new Date).getTime(),n=!0)}),this.on("touchmove",function(e){var t;(1<e.touches.length||i&&(t=e.touches[0].pageX-i.pageX,e=e.touches[0].pageY-i.pageY,10<Math.sqrt(t*t+e*e)))&&(n=!1)});this.on("touchleave",e),this.on("touchcancel",e),this.on("touchend",function(e){!(i=null)===n&&(new Date).getTime()-t<200&&(e.preventDefault(),this.trigger("tap"))})},f.prototype.enableTouchActivity=function(){var t,i,e;this.player()&&this.player().reportUserActivity&&(t=c.bind(this.player(),this.player().reportUserActivity),i=void 0,this.on("touchstart",function(){t(),this.clearInterval(i),i=this.setInterval(t,250)}),e=function(e){t(),this.clearInterval(i)},this.on("touchmove",t),this.on("touchend",e),this.on("touchcancel",e))},f.prototype.setTimeout=function(e,t){e=c.bind(this,e);function i(){this.clearTimeout(n)}var n=s.default.setTimeout(e,t);return i.guid="vjs-timeout-"+n,this.on("dispose",i),n},f.prototype.clearTimeout=function(e){s.default.clearTimeout(e);function t(){}return t.guid="vjs-timeout-"+e,this.off("dispose",t),e},f.prototype.setInterval=function(e,t){e=c.bind(this,e);function i(){this.clearInterval(n)}var n=s.default.setInterval(e,t);return i.guid="vjs-interval-"+n,this.on("dispose",i),n},f.prototype.clearInterval=function(e){s.default.clearInterval(e);function t(){}return t.guid="vjs-interval-"+e,this.off("dispose",t),e},f.registerComponent=function(e,t){return(f.components_=f.components_?f.components_:{})[e]=t},f.getComponent=function(e){return f.components_&&f.components_[e]?f.components_[e]:s.default&&s.default.videojs&&s.default.videojs[e]?(l.default.warn("The "+e+" component was added to the videojs object when it should be registered using videojs.registerComponent(name, component)"),s.default.videojs[e]):void 0},f.extend=function(e){e=e||{},l.default.warn("Component.extend({}) has been deprecated, use videojs.extend(Component, {}) instead");function t(){n.apply(this,arguments)}var i,n=e.init||this.prototype.init||function(){};for(i in((t.prototype=Object.create(this.prototype)).constructor=t).extend=f.extend,e)e.hasOwnProperty(i)&&(t.prototype[i]=e[i]);return t},f);function f(e,t,i){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");!e&&this.play?this.player_=e=this:this.player_=e,this.options_=p.default({},this.options_),t=this.options_=p.default(this.options_,t),this.id_=t.id||t.el&&t.el.id,this.id_||(e=e&&e.id&&e.id()||"no_player",this.id_=e+"_component_"+a.newGUID()),this.name_=t.name||null,t.el?this.el_=t.el:!1!==t.createEl&&(this.el_=this.createEl()),this.children_=[],this.childIndex_={},!(this.childNameIndex_={})!==t.initChildren&&this.initChildren(),this.ready(i),!1!==t.reportTouchActivity&&this.enableTouchActivity()}e.registerComponent("Component",e),i.default=e,t.exports=i.default}
1,{"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/to-title-case.js":141,"global/window":2,"object.assign":45}],68:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../component.js")),e=(n(e("./play-toggle.js")),n(e("./time-controls/current-time-display.js")),n(e("./time-controls/duration-display.js")),n(e("./time-controls/time-divider.js")),n(e("./time-controls/remaining-time-display.js")),n(e("./live-display.js")),n(e("./progress-control/progress-control.js")),n(e("./fullscreen-toggle.js")),n(e("./volume-control/volume-control.js")),n(e("./volume-menu-button.js")),n(e("./mute-toggle.js")),n(e("./text-track-controls/chapters-button.js")),n(e("./text-track-controls/subtitles-button.js")),n(e("./text-track-controls/captions-button.js")),n(e("./playback-rate-menu/playback-rate-menu-button.js")),n(e("./spacer-controls/custom-control-spacer.js")),(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-control-bar",dir:"ltr"},{role:"group"})},n})(o.default));e.prototype.options_={loadEvent:"play",children:["playToggle","volumeMenuButton","currentTimeDisplay","timeDivider","durationDisplay","progressControl","liveDisplay","remainingTimeDisplay","customControlSpacer","playbackRateMenuButton","chaptersButton","subtitlesButton","captionsButton","fullscreenToggle"]},o.default.registerComponent("ControlBar",e),i.default=e,t.exports=i.default},{"../component.js":67,"./fullscreen-toggle.js":69,"./live-display.js":70,"./mute-toggle.js":71,"./play-toggle.js":72,"./playback-rate-menu/playback-rate-menu-button.js":73,"./progress-control/progress-control.js":78,"./spacer-controls/custom-control-spacer.js":80,"./text-track-controls/captions-button.js":83,"./text-track-controls/chapters-button.js":84,"./text-track-controls/subtitles-button.js":87,"./time-controls/current-time-display.js":90,"./time-controls/duration-display.js":91,"./time-controls/remaining-time-display.js":92,"./time-controls/time-divider.js":93,"./volume-control/volume-control.js":95,"./volume-menu-button.js":97}],69:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../button.js")),e=n(e("../component.js")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-fullscreen-control "+i.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.player_.isFullscreen()?(this.player_.exitFullscreen(),this.controlText("Fullscreen")):(this.player_.requestFullscreen(),this.controlText("Non-Fullscreen"))},n})(o.default);o.prototype.controlText_="Fullscreen",e.default.registerComponent("FullscreenToggle",o),i.default=o,t.exports=i.default},{"../button.js":64,"../component.js":67}],70:[function(e,t,i){i.__esModule=!0;var n=e("../component"),n=(n=n)&&n.__esModule?n:{default:n},o=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/dom.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.updateShowing(),this.on(this.player(),"durationchange",this.updateShowing)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){var e=i.prototype.createEl.call(this,"div",{className:"vjs-live-control vjs-control"});return this.contentEl_=o.createEl("div",{className:"vjs-live-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Stream Type")+"</span>"+this.localize("LIVE")},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},n.prototype.updateShowing=function(){this.player().duration()===1/0?this.show():this.hide()},n})(n.default);n.default.registerComponent("LiveDisplay",e),i.default=e,t.exports=i.default},{"../component":67,"../utils/dom.js":132}
1],71:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../button")),s=n(e("../component")),r=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/dom.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"volumechange",this.update),e.tech_&&!1===e.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(e,"loadstart",function(){this.update(),!1===e.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-mute-control "+i.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.player_.muted(!this.player_.muted())},n.prototype.update=function(){var e=this.player_.volume(),t=3,e=(0===e||this.player_.muted()?t=0:e<.33?t=1:e<.67&&(t=2),this.player_.muted()?"Unmute":"Mute");this.controlText()!==e&&this.controlText(e);for(var i=0;i<4;i++)r.removeElClass(this.el_,"vjs-vol-"+i);r.addElClass(this.el_,"vjs-vol-"+t)},n})(o.default);e.prototype.controlText_="Mute",s.default.registerComponent("MuteToggle",e),i.default=e,t.exports=i.default},{"../button":64,"../component":67,"../utils/dom.js":132}],72:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../button.js")),e=n(e("../component.js")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"play",this.handlePlay),this.on(e,"pause",this.handlePause)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-play-control "+i.prototype.buildCSSClass.call(this)},n.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},n.prototype.handlePlay=function(){this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.controlText("Pause")},n.prototype.handlePause=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.controlText("Play")},n})(o.default);o.prototype.controlText_="Play",e.default.registerComponent("PlayToggle",o),i.default=o,t.exports=i.default},{"../button.js":64,"../component.js":67}],73:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../menu/menu-button.js")),s=n(e("../../menu/menu.js")),r=n(e("./playback-rate-menu-item.js")),a=n(e("../../component.js")),l=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/dom.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.updateVisibility(),this.updateLabel(),this.on(e,"loadstart",this.updateVisibility),this.on(e,"ratechange",this.updateLabel)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){var e=i.prototype.createEl.call(this);return this.labelEl_=l.createEl("div",{className:"vjs-playback-rate-value",innerHTML:1}),e.appendChild(this.labelEl_),e},n.prototype.buildCSSClass=function(){return"vjs-playback-rate "+i.prototype.buildCSSClass.call(this)},n.prototype.createMenu=function(){var e=new s.default(this.player()),t=this.playbackRates();if(t)for(var i=t.length-1;0<=i;i--)e.addChild(new r.default(this.player(),{rate:t[i]+"x"}));return e},n.prototype.updateARIAAttributes=function(){this.el().setAttribute("aria-valuenow",this.player().playbackRate())},n.prototype.handleClick=function(){for(var e=this.player().playbackRate(),t=this.playbackRates(),i=t[0],n=0;n<t.length;n++)if(t[n]>e){i=t[n];break}this.player().playbackRate(i)},n.prototype.playbackRates=function(){return this.options_.playbackRates||this.options_.playerOptions&&this.options_.playerOptions.playbackRates},n.prototype.playbackRateSupported=function(){return this.player().tech_&&this.player().tech_.featuresPlaybackRate&&this.playbackRates()&&0<this.playbackRates().length},n.prototype.updateVisibility=function(){this.playbackRateSupported()?this.removeClass("vjs-hidden"):this.addClass("vjs-hidden")},n.prototype.updateLabel=function(){this.playbackRateSupported()&&(this.labelEl_.innerHTML=this.player().playbackRate()+"x")},n})(o.default);e.prototype.controlText_="Playback Rate",a.default.registerComponent("PlaybackRateMenuButton",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../menu/menu-button.js":104,"../../menu/menu.js":106,"../../utils/dom.js":132,"./playback-rate-menu-item.js":74}
1],74:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../menu/menu-item.js")),e=n(e("../../component.js")),o=(o=>{var e=s,t=o;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");var i=t.rate,n=parseFloat(i,10);t.label=i,t.selected=1===n,o.call(this,e,t),this.label=i,this.rate=n,this.on(e,"ratechange",this.update)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),s.prototype.handleClick=function(){o.prototype.handleClick.call(this),this.player().playbackRate(this.rate)},s.prototype.update=function(){this.selected(this.player().playbackRate()===this.rate)},s})(o.default);o.prototype.contentElType="button",e.default.registerComponent("PlaybackRateMenuItem",o),i.default=o,t.exports=i.default},{"../../component.js":67,"../../menu/menu-item.js":105}],75:[function(e,t,i){i.__esModule=!0;var n=e("../../component.js"),n=(n=n)&&n.__esModule?n:{default:n},c=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/dom.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"progress",this.update)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-load-progress",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Loaded")+"</span>: 0%</span>"})},n.prototype.update=function(){function e(e,t){return 100*(1<=(e=e/t||0)?1:e)+"%"}var t=this.player_.buffered(),i=this.player_.duration(),n=this.player_.bufferedEnd(),o=this.el_.children;this.el_.style.width=e(n,i);for(var s=0;s<t.length;s++){var r=t.start(s),a=t.end(s),l=o[s];(l=l||this.el_.appendChild(c.createEl())).style.left=e(r,n),l.style.width=e(a-r,n)}for(s=o.length;s>t.length;s--)this.el_.removeChild(o[s-1])},n})(n.default);n.default.registerComponent("LoadProgressBar",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../utils/dom.js":132}],76:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("../../component.js")),r=n(e("../../utils/dom.js")),a=n(e("../../utils/fn.js")),l=o(e("../../utils/format-time.js")),c=o(e("lodash-compat/function/throttle")),e=(n=>{var e=o,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function o(e,t){var i=this;if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");n.call(this,e,t),this.update(0,0),e.on("ready",function(){i.on(e.controlBar.progressControl.el(),"mousemove",c.default(a.bind(i,i.handleMouseMove),25))})}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o.prototype.createEl=function(){return n.prototype.createEl.call(this,"div",{className:"vjs-mouse-display"})},o.prototype.handleMouseMove=function(e){var t=this.player_.duration(),t=this.calculateDistance(e)*t,e=e.pageX-r.findElPosition(this.el().parentNode).left;this.update(t,e)},o.prototype.update=function(e,t){e=l.default(e,this.player_.duration());this.el().style.left=t+"px",this.el().setAttribute("data-current-time",e)},o.prototype.calculateDistance=function(e){return r.getPointerPosition(this.el().parentNode,e).x},o})(s.default);s.default.registerComponent("MouseTimeDisplay",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/format-time.js":135,"lodash-compat/function/throttle":7}
1],77:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../component.js")),s=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/fn.js")),r=n(e("../../utils/format-time.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.updateDataAttr(),this.on(e,"timeupdate",this.updateDataAttr),e.ready(s.bind(this,this.updateDataAttr))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-play-progress vjs-slider-bar",innerHTML:'<span class="vjs-control-text"><span>'+this.localize("Progress")+"</span>: 0%</span>"})},n.prototype.updateDataAttr=function(){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("data-current-time",r.default(e,this.player_.duration()))},n})(o.default);o.default.registerComponent("PlayProgressBar",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../utils/fn.js":134,"../../utils/format-time.js":135}],78:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../component.js")),e=(n(e("./seek-bar.js")),n(e("./mouse-time-display.js")),(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-progress-control vjs-control"})},n})(o.default));e.prototype.options_={children:["seekBar"]},o.default.registerComponent("ProgressControl",e),i.default=e,t.exports=i.default},{"../../component.js":67,"./mouse-time-display.js":76,"./seek-bar.js":79}],79:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../slider/slider.js")),s=n(e("../../component.js")),r=(n(e("./load-progress-bar.js")),n(e("./play-progress-bar.js")),(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/fn.js"))),a=n(e("../../utils/format-time.js")),e=(n(e("object.assign")),(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"timeupdate",this.updateARIAAttributes),e.ready(r.bind(this,this.updateARIAAttributes))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-progress-holder"},{"aria-label":"video progress bar"})},n.prototype.updateARIAAttributes=function(){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime();this.el_.setAttribute("aria-valuenow",(100*this.getPercent()).toFixed(2)),this.el_.setAttribute("aria-valuetext",a.default(e,this.player_.duration()))},n.prototype.getPercent=function(){var e=this.player_.currentTime()/this.player_.duration();return 1<=e?1:e},n.prototype.handleMouseDown=function(e){i.prototype.handleMouseDown.call(this,e),this.player_.scrubbing(!0),this.videoWasPlaying=!this.player_.paused(),this.player_.pause()},n.prototype.handleMouseMove=function(e){e=this.calculateDistance(e)*this.player_.duration();e===this.player_.duration()&&(e-=.1),this.player_.currentTime(e)},n.prototype.handleMouseUp=function(e){i.prototype.handleMouseUp.call(this,e),this.player_.scrubbing(!1),this.videoWasPlaying&&this.player_.play()},n.prototype.stepForward=function(){this.player_.currentTime(this.player_.currentTime()+5)},n.prototype.stepBack=function(){this.player_.currentTime(this.player_.currentTime()-5)},n})(o.default));e.prototype.options_={children:["loadProgressBar","mouseTimeDisplay","playProgressBar"],barName:"playProgressBar"},e.prototype.playerEvent="timeupdate",s.default.registerComponent("SeekBar",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"../../utils/format-time.js":135,"./load-progress-bar.js":75,"./play-progress-bar.js":77,"object.assign":45}
1],80:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./spacer.js")),e=n(e("../../component.js")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-custom-control-spacer "+i.prototype.buildCSSClass.call(this)},n.prototype.createEl=function(){var e=i.prototype.createEl.call(this,{className:this.buildCSSClass()});return e.innerHTML=" ",e},n})(o.default);e.default.registerComponent("CustomControlSpacer",o),i.default=o,t.exports=i.default},{"../../component.js":67,"./spacer.js":81}],81:[function(e,t,i){i.__esModule=!0;var e=e("../../component.js"),e=(e=e)&&e.__esModule?e:{default:e},n=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-spacer "+i.prototype.buildCSSClass.call(this)},n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},n})(e.default);e.default.registerComponent("Spacer",n),i.default=n,t.exports=i.default},{"../../component.js":67}],82:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./text-track-menu-item.js")),e=n(e("../../component.js")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");t.track={kind:t.kind,player:e,label:t.kind+" settings",selectable:!1,default:!1,mode:"disabled"},t.selectable=!1,i.call(this,e,t),this.addClass("vjs-texttrack-settings"),this.controlText(", opens "+t.kind+" settings dialog")}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.handleClick=function(){this.player().getChild("textTrackSettings").show(),this.player().getChild("textTrackSettings").el_.focus()},n})(o.default);e.default.registerComponent("CaptionSettingsMenuItem",o),i.default=o,t.exports=i.default},{"../../component.js":67,"./text-track-menu-item.js":89}],83:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./text-track-button.js")),s=n(e("../../component.js")),r=n(e("./caption-settings-menu-item.js")),e=(n=>{var e=o,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function o(e,t,i){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");n.call(this,e,t,i),this.el_.setAttribute("aria-label","Captions Menu")}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o.prototype.buildCSSClass=function(){return"vjs-captions-button "+n.prototype.buildCSSClass.call(this)},o.prototype.update=function(){var e=2;n.prototype.update.call(this),this.player().tech_&&this.player().tech_.featuresNativeTextTracks&&(e=1),this.items&&this.items.length>e?this.show():this.hide()},o.prototype.createItems=function(){var e=[];return this.player().tech_&&this.player().tech_.featuresNativeTextTracks||e.push(new r.default(this.player_,{kind:this.kind_})),n.prototype.createItems.call(this,e)},o})(o.default);e.prototype.kind_="captions",e.prototype.controlText_="Captions",s.default.registerComponent("CaptionsButton",e),i.default=e,t.exports=i.default},{"../../component.js":67,"./caption-settings-menu-item.js":82,"./text-track-button.js":88}
1],84:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./text-track-button.js")),r=o(e("../../component.js")),a=o(e("./text-track-menu-item.js")),d=o(e("./chapters-track-menu-item.js")),p=o(e("../../menu/menu.js")),f=n(e("../../utils/dom.js")),m=(n(e("../../utils/fn.js")),o(e("../../utils/to-title-case.js"))),e=(o(e("global/window")),(n=>{var e=o,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function o(e,t,i){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");n.call(this,e,t,i),this.el_.setAttribute("aria-label","Chapters Menu")}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o.prototype.buildCSSClass=function(){return"vjs-chapters-button "+n.prototype.buildCSSClass.call(this)},o.prototype.createItems=function(){var e=[],t=this.player_.textTracks();if(t)for(var i=0;i<t.length;i++){var n=t[i];n.kind===this.kind_&&e.push(new a.default(this.player_,{track:n}))}return e},o.prototype.createMenu=function(){for(var t=this,e=this.player_.textTracks()||[],i=void 0,n=this.items=[],o=0,s=e.length;o<s;o++){var r=e[o];if(r.kind===this.kind_){i=r;break}}var a,l=this.menu;if(void 0===l&&(l=new p.default(this.player_),a=f.createEl("li",{className:"vjs-menu-title",innerHTML:m.default(this.kind_),tabIndex:-1}),l.children_.unshift(a),f.insertElFirst(a,l.contentEl())),i&&null==i.cues&&(i.mode="hidden",a=this.player_.remoteTextTrackEls().getTrackElementByTrack_(i))&&a.addEventListener("load",function(e){return t.update()}),i&&i.cues&&0<i.cues.length){for(var c=i.cues,o=0,u=c.length;o<u;o++){var h=c[o],h=new d.default(this.player_,{track:i,cue:h});n.push(h),l.addChild(h)}this.addChild(l)}return 0<this.items.length&&this.show(),l},o})(s.default));e.prototype.kind_="chapters",e.prototype.controlText_="Chapters",r.default.registerComponent("ChaptersButton",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../menu/menu.js":106,"../../utils/dom.js":132,"../../utils/fn.js":134,"../../utils/to-title-case.js":141,"./chapters-track-menu-item.js":85,"./text-track-button.js":88,"./text-track-menu-item.js":89,"global/window":2}],85:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../menu/menu-item.js")),s=n(e("../../component.js")),a=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/fn.js")),e=(s=>{var e=r,t=s;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function r(e,t){if(!(this instanceof r))throw new TypeError("Cannot call a class as a function");var i=t.track,n=t.cue,o=e.currentTime();t.label=n.text,t.selected=n.startTime<=o&&o<n.endTime,s.call(this,e,t),this.track=i,this.cue=n,i.addEventListener("cuechange",a.bind(this,this.update))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),r.prototype.handleClick=function(){s.prototype.handleClick.call(this),this.player_.currentTime(this.cue.startTime),this.update(this.cue.startTime)},r.prototype.update=function(){var e=this.cue,t=this.player_.currentTime();this.selected(e.startTime<=t&&t<e.endTime)},r})(o.default);s.default.registerComponent("ChaptersTrackMenuItem",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134}],86:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./text-track-menu-item.js")),e=n(e("../../component.js")),o=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");t.track={kind:t.kind,player:e,label:t.kind+" off",default:!1,mode:"disabled"},t.selectable=!0,i.call(this,e,t),this.selected(!0)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.handleTracksChange=function(e){for(var t=this.player().textTracks(),i=!0,n=0,o=t.length;n<o;n++){var s=t[n];if(s.kind===this.track.kind&&"showing"===s.mode){i=!1;break}}this.selected(i)},n})(o.default);e.default.registerComponent("OffTextTrackMenuItem",o),i.default=o,t.exports=i.default},{"../../component.js":67,"./text-track-menu-item.js":89}
1],87:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./text-track-button.js")),e=n(e("../../component.js")),o=(n=>{var e=o,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function o(e,t,i){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");n.call(this,e,t,i),this.el_.setAttribute("aria-label","Subtitles Menu")}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o.prototype.buildCSSClass=function(){return"vjs-subtitles-button "+n.prototype.buildCSSClass.call(this)},o})(o.default);o.prototype.kind_="subtitles",o.prototype.controlText_="Subtitles",e.default.registerComponent("SubtitlesButton",o),i.default=o,t.exports=i.default},{"../../component.js":67,"./text-track-button.js":88}],88:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../menu/menu-button.js")),s=n(e("../../component.js")),r=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/fn.js")),a=n(e("./text-track-menu-item.js")),l=n(e("./off-text-track-menu-item.js")),e=(o=>{var e=s,t=o;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function s(e,t){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");o.call(this,e,t);var i,n=this.player_.textTracks();this.items.length<=1&&this.hide(),n&&(i=r.bind(this,this.update),n.addEventListener("removetrack",i),n.addEventListener("addtrack",i),this.player_.on("dispose",function(){n.removeEventListener("removetrack",i),n.removeEventListener("addtrack",i)}))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),s.prototype.createItems=function(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=(e.push(new l.default(this.player_,{kind:this.kind_})),this.player_.textTracks());if(t)for(var i=0;i<t.length;i++){var n=t[i];n.kind===this.kind_&&e.push(new a.default(this.player_,{selectable:!0,track:n}))}return e},s})(o.default);s.default.registerComponent("TextTrackButton",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../menu/menu-button.js":104,"../../utils/fn.js":134,"./off-text-track-menu-item.js":86,"./text-track-menu-item.js":89}],89:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../menu/menu-item.js")),s=n(e("../../component.js")),c=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/fn.js")),u=n(e("global/window")),h=n(e("global/document")),e=(a=>{var e=l,t=a;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function l(e,t){var i=this;if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");var n,o,s=t.track,r=e.textTracks();t.label=s.label||s.language||"Unknown",t.selected=s.default||"showing"===s.mode,a.call(this,e,t),this.track=s,r&&(n=c.bind(i,i.handleTracksChange),r.addEventListener("change",n),i.on("dispose",function(){r.removeEventListener("change",n)})),r&&void 0===r.onchange&&(o=void 0,i.on(["tap","click"],function(){if("object"!=typeof u.default.Event)try{o=new u.default.Event("change")}catch(e){}o||(o=h.default.createEvent("Event")).initEvent("change",!0,!0),r.dispatchEvent(o)}))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),l.prototype.handleClick=function(e){var t=this.track.kind,i=this.player_.textTracks();if(a.prototype.handleClick.call(this,e),i)for(var n=0;n<i.length;n++){var o=i[n];o.kind===t&&(o===this.track?o.mode="showing":o.mode="disabled")}},l.prototype.handleTracksChange=function(e){this.selected("showing"===this.track.mode)},l})(o.default);s.default.registerComponent("TextTrackMenuItem",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../menu/menu-item.js":105,"../../utils/fn.js":134,"global/document":1,"global/window":2}
1],90:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../component.js")),s=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/dom.js")),r=n(e("../../utils/format-time.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"timeupdate",this.updateContent)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){var e=i.prototype.createEl.call(this,"div",{className:"vjs-current-time vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-current-time-display",innerHTML:'<span class="vjs-control-text">Current Time </span>0:00'},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},n.prototype.updateContent=function(){var e=this.player_.scrubbing()?this.player_.getCache().currentTime:this.player_.currentTime(),t=this.localize("Current Time"),e=r.default(e,this.player_.duration());e!==this.formattedTime_&&(this.formattedTime_=e,this.contentEl_.innerHTML='<span class="vjs-control-text">'+t+"</span> "+e)},n})(o.default);o.default.registerComponent("CurrentTimeDisplay",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],91:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../component.js")),s=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/dom.js")),r=n(e("../../utils/format-time.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"timeupdate",this.updateContent),this.on(e,"loadedmetadata",this.updateContent)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){var e=i.prototype.createEl.call(this,"div",{className:"vjs-duration vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-duration-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Duration Time")+"</span> 0:00"},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},n.prototype.updateContent=function(){var e,t=this.player_.duration();t&&this.duration_!==t&&(this.duration_=t,e=this.localize("Duration Time"),t=r.default(t),this.contentEl_.innerHTML='<span class="vjs-control-text">'+e+"</span> "+t)},n})(o.default);o.default.registerComponent("DurationDisplay",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],92:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../component.js")),s=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/dom.js")),r=n(e("../../utils/format-time.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"timeupdate",this.updateContent)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){var e=i.prototype.createEl.call(this,"div",{className:"vjs-remaining-time vjs-time-control vjs-control"});return this.contentEl_=s.createEl("div",{className:"vjs-remaining-time-display",innerHTML:'<span class="vjs-control-text">'+this.localize("Remaining Time")+"</span> -0:00"},{"aria-live":"off"}),e.appendChild(this.contentEl_),e},n.prototype.updateContent=function(){var e,t;this.player_.duration()&&(e=this.localize("Remaining Time"),(t=r.default(this.player_.remainingTime()))!==this.formattedTime_)&&(this.formattedTime_=t,this.contentEl_.innerHTML='<span class="vjs-control-text">'+e+"</span> -"+t)},n})(o.default);o.default.registerComponent("RemainingTimeDisplay",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../utils/dom.js":132,"../../utils/format-time.js":135}],93:[function(e,t,i){i.__esModule=!0;
1var e=e("../../component.js"),e=(e=e)&&e.__esModule?e:{default:e},n=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-time-control vjs-time-divider",innerHTML:"<div><span>/</span></div>"})},n})(e.default);e.default.registerComponent("TimeDivider",n),i.default=n,t.exports=i.default},{"../../component.js":67}],94:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../slider/slider.js")),s=n(e("../../component.js")),r=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../../utils/fn.js")),e=(n(e("./volume-level.js")),(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"volumechange",this.updateARIAAttributes),e.ready(r.bind(this,this.updateARIAAttributes))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-volume-bar vjs-slider-bar"},{"aria-label":"volume level"})},n.prototype.handleMouseMove=function(e){this.checkMuted(),this.player_.volume(this.calculateDistance(e))},n.prototype.checkMuted=function(){this.player_.muted()&&this.player_.muted(!1)},n.prototype.getPercent=function(){return this.player_.muted()?0:this.player_.volume()},n.prototype.stepForward=function(){this.checkMuted(),this.player_.volume(this.player_.volume()+.1)},n.prototype.stepBack=function(){this.checkMuted(),this.player_.volume(this.player_.volume()-.1)},n.prototype.updateARIAAttributes=function(){var e=(100*this.player_.volume()).toFixed(2);this.el_.setAttribute("aria-valuenow",e),this.el_.setAttribute("aria-valuetext",e+"%")},n})(o.default));e.prototype.options_={children:["volumeLevel"],barName:"volumeLevel"},e.prototype.playerEvent="volumechange",s.default.registerComponent("VolumeBar",e),i.default=e,t.exports=i.default},{"../../component.js":67,"../../slider/slider.js":114,"../../utils/fn.js":134,"./volume-level.js":96}],95:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../../component.js")),e=(n(e("./volume-bar.js")),(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),e.tech_&&!1===e.tech_.featuresVolumeControl&&this.addClass("vjs-hidden"),this.on(e,"loadstart",function(){!1===e.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")})}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-volume-control vjs-control"})},n})(o.default));e.prototype.options_={children:["volumeBar"]},o.default.registerComponent("VolumeControl",e),i.default=e,t.exports=i.default},{"../../component.js":67,"./volume-bar.js":94}],96:[function(e,t,i){i.__esModule=!0;var e=e("../../component.js"),e=(e=e)&&e.__esModule?e:{default:e},n=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-volume-level",innerHTML:'<span class="vjs-control-text"></span>'})},n})(e.default);
1e.default.registerComponent("VolumeLevel",n),i.default=n,t.exports=i.default},{"../../component.js":67}],97:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/fn.js")),s=n(e("../component.js")),a=n(e("../popup/popup.js")),r=n(e("../popup/popup-button.js")),l=n(e("./mute-toggle.js")),c=n(e("./volume-control/volume-bar.js")),u=n(e("global/document")),e=(s=>{var e=r,t=s;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function r(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=this,n=r;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");function o(){e.tech_&&!1===e.tech_.featuresVolumeControl?this.addClass("vjs-hidden"):this.removeClass("vjs-hidden")}void 0===t.inline&&(t.inline=!0),void 0===t.vertical&&(t.inline?t.vertical=!1:t.vertical=!0),t.volumeBar=t.volumeBar||{},t.volumeBar.vertical=!!t.vertical,s.call(this,e,t),this.on(e,"volumechange",this.volumeUpdate),this.on(e,"loadstart",this.volumeUpdate),o.call(this),this.on(e,"loadstart",o),this.on(this.volumeBar,["slideractive","focus"],function(){this.addClass("vjs-slider-active")}),this.on(this.volumeBar,["sliderinactive","blur"],function(){this.removeClass("vjs-slider-active")}),this.on(this.volumeBar,["focus"],function(){this.addClass("vjs-lock-showing")}),this.on(this.volumeBar,["blur"],function(){this.removeClass("vjs-lock-showing")})}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),r.prototype.buildCSSClass=function(){var e="",e=this.options_.vertical?"vjs-volume-menu-button-vertical":"vjs-volume-menu-button-horizontal";return"vjs-volume-menu-button "+s.prototype.buildCSSClass.call(this)+" "+e},r.prototype.createPopup=function(){var e=new a.default(this.player_,{contentElType:"div"}),t=new c.default(this.player_,this.options_.volumeBar);return e.addChild(t),this.menuContent=e,this.volumeBar=t,this.attachVolumeBarEvents(),e},r.prototype.handleClick=function(){l.default.prototype.handleClick.call(this),s.prototype.handleClick.call(this)},r.prototype.attachVolumeBarEvents=function(){this.menuContent.on(["mousedown","touchdown"],o.bind(this,this.handleMouseDown))},r.prototype.handleMouseDown=function(e){this.on(["mousemove","touchmove"],o.bind(this.volumeBar,this.volumeBar.handleMouseMove)),this.on(u.default,["mouseup","touchend"],this.handleMouseUp)},r.prototype.handleMouseUp=function(e){this.off(["mousemove","touchmove"],o.bind(this.volumeBar,this.volumeBar.handleMouseMove))},r})(r.default);e.prototype.volumeUpdate=l.default.prototype.update,e.prototype.controlText_="Mute",s.default.registerComponent("VolumeMenuButton",e),i.default=e,t.exports=i.default},{"../component.js":67,"../popup/popup-button.js":110,"../popup/popup.js":111,"../utils/fn.js":134,"./mute-toggle.js":71,"./volume-control/volume-bar.js":94,"global/document":1}],98:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("./component")),s=n(e("./modal-dialog")),e=((e=>{if(e&&e.__esModule)return;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);t.default=e})(e("./utils/dom")),n(e("./utils/merge-options"))),r=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.on(e,"error",this.open)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.buildCSSClass=function(){return"vjs-error-display "+i.prototype.buildCSSClass.call(this)},n.prototype.content=function(){var e=this.player().error();return e?this.localize(e.message):""},n})(s.default);r.prototype.options_=e.default(s.default.prototype.options_,{fillAlways:!0,temporary:!1,uncloseable:!0}),o.default.registerComponent("ErrorDisplay",r),i.default=r,t.exports=i.default}
1,{"./component":67,"./modal-dialog":107,"./utils/dom":132,"./utils/merge-options":138}],99:[function(e,t,i){i.__esModule=!0;function n(){}var o=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("./utils/events.js"));n.prototype.allowedEvents_={},n.prototype.addEventListener=n.prototype.on=function(e,t){var i=this.addEventListener;this.addEventListener=Function.prototype,o.on(this,e,t),this.addEventListener=i},n.prototype.removeEventListener=n.prototype.off=function(e,t){o.off(this,e,t)},n.prototype.one=function(e,t){o.one(this,e,t)},n.prototype.dispatchEvent=n.prototype.trigger=function(e){var t=e.type||e;e=o.fixEvent(e="string"==typeof e?{type:t}:e),this.allowedEvents_[t]&&this["on"+t]&&this["on"+t](e),o.trigger(this,e)},i.default=n,t.exports=i.default},{"./utils/events.js":133}],100:[function(e,t,i){i.__esModule=!0;var e=e("./utils/log"),r=(e=e)&&e.__esModule?e:{default:e};i.default=function(e){var t,i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=function(){e.apply(this,arguments)},o={},i=("object"==typeof i?("function"==typeof i.init&&(r.default.warn("Constructor logic via init() is deprecated; please use constructor() instead."),i.constructor=i.init),i.constructor!==Object.prototype.constructor&&(n=i.constructor),o=i):"function"==typeof i&&(n=i),n),s=e;if("function"!=typeof s&&null!==s)throw new TypeError("Super expression must either be null or a function, not "+typeof s);for(t in i.prototype=Object.create(s&&s.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),s&&(i.super_=s),o)o.hasOwnProperty(t)&&(n.prototype[t]=o[t]);return n},t.exports=i.default},{"./utils/log":137}],101:[function(e,t,i){i.__esModule=!0;for(var e=e("global/document"),n=(e=e)&&e.__esModule?e:{default:e},o={},s=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],r=s[0],a=void 0,l=0;l<s.length;l++)if(s[l][1]in n.default){a=s[l];break}if(a)for(l=0;l<a.length;l++)o[r[l]]=a[l];i.default=o,t.exports=i.default},{"global/document":1}],102:[function(e,t,i){i.__esModule=!0;var e=e("./component"),e=(e=e)&&e.__esModule?e:{default:e},n=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-loading-spinner",dir:"ltr"})},n})(e.default);e.default.registerComponent("LoadingSpinner",n),i.default=n,t.exports=i.default},{"./component":67}],103:[function(e,t,i){i.__esModule=!0;function n(e){"number"==typeof e?this.code=e:"string"==typeof e?this.message=e:"object"==typeof e&&o.default(this,e),this.message||(this.message=n.defaultMessages[this.code]||"")}var e=e("object.assign"),o=(e=e)&&e.__esModule?e:{default:e};n.prototype.code=0,n.prototype.message="",n.prototype.status=null,n.errorTypes=["MEDIA_ERR_CUSTOM","MEDIA_ERR_ABORTED","MEDIA_ERR_NETWORK","MEDIA_ERR_DECODE","MEDIA_ERR_SRC_NOT_SUPPORTED","MEDIA_ERR_ENCRYPTED"],n.defaultMessages={1:"You aborted the media playback",2:"A network error caused the media download to fail part-way.",3:"The media playback was aborted due to a corruption problem or because the media used features your browser did not support.",4:"The media could not be loaded, either because the server or network failed or because the format is not supported.",5:"The media is encrypted and we do not have the keys to decrypt it."};for(var s=0;s<n.errorTypes.length;s++)n[n.errorTypes[s]]=s,n.prototype[n.errorTypes[s]]=s;
1i.default=n,t.exports=i.default},{"object.assign":45}],104:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("../clickable-component.js")),r=o(e("../component.js")),a=o(e("./menu.js")),l=n(e("../utils/dom.js")),c=n(e("../utils/fn.js")),u=o(e("../utils/to-title-case.js")),e=(o=>{var e=s,t=o;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function s(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=this,n=s;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");o.call(this,e,t),this.update(),this.el_.setAttribute("aria-haspopup",!0),this.el_.setAttribute("role","menuitem"),this.on("keydown",this.handleSubmenuKeyPress)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),s.prototype.update=function(){var e=this.createMenu();this.menu&&this.removeChild(this.menu),this.menu=e,this.addChild(e),this.buttonPressed_=!1,this.el_.setAttribute("aria-expanded",!1),this.items&&0===this.items.length?this.hide():this.items&&1<this.items.length&&this.show()},s.prototype.createMenu=function(){var e,t=new a.default(this.player_);if(this.options_.title&&(e=l.createEl("li",{className:"vjs-menu-title",innerHTML:u.default(this.options_.title),tabIndex:-1}),t.children_.unshift(e),l.insertElFirst(e,t.contentEl())),this.items=this.createItems(),this.items)for(var i=0;i<this.items.length;i++)t.addItem(this.items[i]);return t},s.prototype.createItems=function(){},s.prototype.createEl=function(){return o.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},s.prototype.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+o.prototype.buildCSSClass.call(this)},s.prototype.handleClick=function(){this.one("mouseout",c.bind(this,function(){this.menu.unlockShowing(),this.el_.blur()})),this.buttonPressed_?this.unpressButton():this.pressButton()},s.prototype.handleKeyPress=function(e){27===e.which||9===e.which?(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault()):38===e.which||40===e.which?this.buttonPressed_||(this.pressButton(),e.preventDefault()):o.prototype.handleKeyPress.call(this,e)},s.prototype.handleSubmenuKeyPress=function(e){27!==e.which&&9!==e.which||(this.buttonPressed_&&this.unpressButton(),9!==e.which&&e.preventDefault())},s.prototype.pressButton=function(){this.buttonPressed_=!0,this.menu.lockShowing(),this.el_.setAttribute("aria-expanded",!0),this.menu.focus()},s.prototype.unpressButton=function(){this.buttonPressed_=!1,this.menu.unlockShowing(),this.el_.setAttribute("aria-expanded",!1),this.el_.focus()},s})(s.default);r.default.registerComponent("MenuButton",e),i.default=e,t.exports=i.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./menu.js":106}],105:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../clickable-component.js")),s=n(e("../component.js")),r=n(e("object.assign")),e=(n=>{var e=i,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,e,t),this.selectable=t.selectable,this.selected(t.selected),this.selectable?this.el_.setAttribute("role","menuitemcheckbox"):this.el_.setAttribute("role","menuitem")}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),i.prototype.createEl=function(e,t,i){return n.prototype.createEl.call(this,"li",r.default({className:"vjs-menu-item",innerHTML:this.localize(this.options_.label),tabIndex:-1},t),i)},i.prototype.handleClick=function(){this.selected(!0)},i.prototype.selected=function(e){this.selectable&&(e?(this.addClass("vjs-selected"),this.el_.setAttribute("aria-checked",!0),this.controlText(", selected")):(this.removeClass("vjs-selected"),this.el_.setAttribute("aria-checked",!1),this.controlText(" ")))},i})(o.default);s.default.registerComponent("MenuItem",e),i.default=e,t.exports=i.default},{"../clickable-component.js":65,"../component.js":67,"object.assign":45}
1],106:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}i.__esModule=!0;var o=e("../component.js"),o=(o=o)&&o.__esModule?o:{default:o},s=n(e("../utils/dom.js")),r=n(e("../utils/fn.js")),a=n(e("../utils/events.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.focusedChild_=-1,this.on("keydown",this.handleKeyPress)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.addItem=function(e){this.addChild(e),e.on("click",r.bind(this,function(){this.unlockShowing()}))},n.prototype.createEl=function(){var e=this.options_.contentElType||"ul",e=(this.contentEl_=s.createEl(e,{className:"vjs-menu-content"}),this.contentEl_.setAttribute("role","menu"),i.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}));return e.setAttribute("role","presentation"),e.appendChild(this.contentEl_),a.on(e,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),e},n.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepForward()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepBack())},n.prototype.stepForward=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_+1),this.focus(e)},n.prototype.stepBack=function(){var e=0;void 0!==this.focusedChild_&&(e=this.focusedChild_-1),this.focus(e)},n.prototype.focus=function(){var e=arguments.length<=0||void 0===arguments[0]?0:arguments[0],t=this.children().slice();t.length&&t[0].className&&/vjs-menu-title/.test(t[0].className)&&t.shift(),0<t.length&&(e<0?e=0:e>=t.length&&(e=t.length-1),t[this.focusedChild_=e].el_.focus())},n})(o.default);o.default.registerComponent("Menu",e),i.default=e,t.exports=i.default},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}],107:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("global/document")),r=n(e("./utils/dom")),a=n(e("./utils/fn")),l=(o(e("./utils/log")),o(e("./component"))),c=(o(e("./close-button")),"vjs-modal-dialog"),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.opened_=this.hasBeenOpened_=this.hasBeenFilled_=!1,this.closeable(!this.options_.uncloseable),this.content(this.options_.content),this.contentEl_=r.createEl("div",{className:c+"-content"},{role:"document"}),this.descEl_=r.createEl("p",{className:c+"-description vjs-offscreen",id:this.el().getAttribute("aria-describedby")}),r.textContent(this.descEl_,this.description()),this.el_.appendChild(this.descEl_),this.el_.appendChild(this.contentEl_)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:this.buildCSSClass(),tabIndex:-1},{"aria-describedby":this.id()+"_description","aria-hidden":"true","aria-label":this.label(),role:"dialog"})},n.prototype.buildCSSClass=function(){return c+" vjs-hidden "+i.prototype.buildCSSClass.call(this)},n.prototype.handleKeyPress=function(e){27===e.which&&this.closeable()&&this.close()},n.prototype.label=function(){return this.options_.label||this.localize("Modal Window")},n.prototype.description=function(){var e=this.options_.description||this.localize("This is a modal window.");return this.closeable()&&(e+=" "+this.localize("This modal can be closed by pressing the Escape key or activating the close button.")),e},n.prototype.open=function(){var e;return this.opened_||(e=this.player(),this.trigger("beforemodalopen"),this.opened_=!0,!this.options_.fillAlways&&(this.hasBeenOpened_||this.hasBeenFilled_)||this.fill(),this.wasPlaying_=!e.paused(),this.wasPlaying_&&e.pause(),this.closeable()&&this.on(s.default,"keydown",a.bind(this,this.handleKeyPress)),e.controls(!1),this.show(),this.el().setAttribute("aria-hidden","false"),this.trigger("modalopen"),this.hasBeenOpened_=!0),this},n.prototype.opened=function(e){return"boolean"==typeof e&&this[e?"open":"close"](),this.opened_},n.prototype.close=function(){var e;return this.opened_&&(e=this.player(),this.trigger("beforemodalclose"),this.opened_=!1,this.wasPlaying_&&e.play(),this.closeable()&&this.off(s.default,"keydown",a.bind(this,this.handleKeyPress)),e.controls(!0),this.hide(),this.el().setAttribute("aria-hidden","true"),this.trigger("modalclose"),this.options_.temporary)&&this.dispose(),this},n.prototype.closeable=function(e){var t,i;return"boolean"==typeof e&&(e=this.closeable_=!!e,t=this.getChild("closeButton"),e&&!t&&(i=this.contentEl_,this.contentEl_=this.el_,t=this.addChild("closeButton"),this.contentEl_=i,this.on(t,"close",this.close)),!e)&&t&&(this.off(t,"close",this.close),this.removeChild(t),t.dispose()),this.closeable_},n.prototype.fill=function(){return this.fillWith(this.content())},n.prototype.fillWith=function(e){var t=this.contentEl(),i=t.parentNode,n=t.nextSibling;return this.trigger("beforemodalfill"),this.hasBeenFilled_=!0,i.removeChild(t),this.empty(),r.insertContent(t,e),this.trigger("modalfill"),n?i.insertBefore(t,n):i.appendChild(t),this},n.prototype.empty=function(){return this.trigger("beforemodalempty"),r.emptyEl(this.contentEl()),this.trigger("modalempty"),this},n.prototype.content=function(e){return void 0!==e&&(this.content_=e),this.content_},n})(l.default);e.prototype.options_={temporary:!0}
1,l.default.registerComponent("ModalDialog",e),i.default=e,t.exports=i.default},{"./close-button":66,"./component":67,"./utils/dom":132,"./utils/fn":134,"./utils/log":137,"global/document":1}],108:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./component.js")),l=o(e("global/document")),c=o(e("global/window")),u=n(e("./utils/events.js")),h=n(e("./utils/dom.js")),d=n(e("./utils/fn.js")),p=n(e("./utils/guid.js")),f=n(e("./utils/browser.js")),m=o(e("./utils/log.js")),g=o(e("./utils/to-title-case.js")),v=e("./utils/time-ranges.js"),y=e("./utils/buffer.js"),b=n(e("./utils/stylesheet.js")),_=o(e("./fullscreen-api.js")),w=o(e("./media-error.js")),x=o(e("safe-json-parse/tuple")),k=o(e("object.assign")),T=o(e("./utils/merge-options.js")),C=o(e("./tracks/text-track-list-converter.js")),S=(o(e("./tech/loader.js")),o(e("./poster-image.js")),o(e("./tracks/text-track-display.js")),o(e("./loading-spinner.js")),o(e("./big-play-button.js")),o(e("./control-bar/control-bar.js")),o(e("./error-display.js")),o(e("./tracks/text-track-settings.js")),o(e("./modal-dialog"))),j=o(e("./tech/tech.js")),e=(o(e("./tech/html5.js")),(r=>{var e=a,t=r;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function a(e,t,i){var n,o=this;if(!(this instanceof a))throw new TypeError("Cannot call a class as a function");if(e.id=e.id||"vjs_video_"+p.newGUID(),(t=k.default(a.getTagSettings(e),t)).initChildren=!1,t.createEl=!1,t.reportTouchActivity=!1,r.call(this,null,t,i),!this.options_||!this.options_.techOrder||!this.options_.techOrder.length)throw new Error("No techOrder specified. Did you overwrite videojs.options instead of just changing the properties you want to override?");this.tag=e,this.tagAttributes=e&&h.getElAttributes(e),this.language(this.options_.language),t.languages?(n={},Object.getOwnPropertyNames(t.languages).forEach(function(e){n[e.toLowerCase()]=t.languages[e]}),o.languages_=n):this.languages_=a.prototype.options_.languages,this.cache_={},this.poster_=t.poster||"",this.controls_=!!t.controls,e.controls=!1,this.scrubbing_=!1,this.el_=this.createEl();var s,i=T.default(this.options_);t.plugins&&(s=t.plugins,Object.getOwnPropertyNames(s).forEach(function(e){"function"==typeof this[e]?this[e](s[e]):m.default.error("Unable to find plugin:",e)},o)),this.options_.playerOptions=i,this.initChildren(),this.isAudio("audio"===e.nodeName.toLowerCase()),this.controls()?this.addClass("vjs-controls-enabled"):this.addClass("vjs-controls-disabled"),this.isAudio()&&this.addClass("vjs-audio"),this.flexNotSupported_()&&this.addClass("vjs-no-flex"),f.IS_IOS||this.addClass("vjs-workinghover"),(a.players[this.id_]=this).userActive(!0),this.reportUserActivity(),this.listenForUserActivity_(),this.on("fullscreenchange",this.handleFullscreenChange_),this.on("stageclick",this.handleStageClick_)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),a.prototype.dispose=function(){this.trigger("dispose"),this.off("dispose"),this.styleEl_&&this.styleEl_.parentNode&&this.styleEl_.parentNode.removeChild(this.styleEl_),a.players[this.id_]=null,this.tag&&this.tag.player&&(this.tag.player=null),this.el_&&this.el_.player&&(this.el_.player=null),this.tech_&&this.tech_.dispose(),r.prototype.dispose.call(this)},a.prototype.createEl=function(){var t=this.el_=r.prototype.createEl.call(this,"div"),e=this.tag,i=(e.removeAttribute("width"),e.removeAttribute("height"),h.getElAttributes(e)),n=(Object.getOwnPropertyNames(i).forEach(function(e){"class"===e?t.className=i[e]:t.setAttribute(e,i[e])}),e.playerId=e.id,e.id+="_html5_api",e.className="vjs-tech",(e.player=t.player=this).addClass("vjs-paused"),this.styleEl_=b.createStyleElement("vjs-styles-dimensions"),h.$(".vjs-styles-defaults")),o=h.$("head");return o.insertBefore(this.styleEl_,n?n.nextSibling:o.firstChild),this.width(this.options_.width),this.height(this.options_.height),this.fluid(this.options_.fluid),this.aspectRatio(this.options_.aspectRatio),e.initNetworkState_=e.networkState,e.parentNode&&e.parentNode.insertBefore(t,e),h.insertElFirst(e,t),this.children_.unshift(e),this.el_=t},a.prototype.width=function(e){return this.dimension("width",e)},a.prototype.height=function(e){return this.dimension("height",e)},a.prototype.dimension=function(e,t){var i=e+"_";if(void 0===t)return this[i]||0;if(""===t)this[i]=void 0;else{var n=parseFloat(t);if(isNaN(n))return m.default.error('Improper value "'+t+'" supplied for for '+e),this;this[i]=n}return this.updateStyleEl_(),this},a.prototype.fluid=function(e){if(void 0===e)return!!this.fluid_;this.fluid_=!!e,e?this.addClass("vjs-fluid"):this.removeClass("vjs-fluid")},a.prototype.aspectRatio=function(e){if(void 0===e)return this.aspectRatio_;if(!/^\d+\:\d+$/.test(e))throw new Error("Improper value supplied for aspect ratio. The format should be width:height, for example 16:9.");this.aspectRatio_=e,this.fluid(!0),this.updateStyleEl_()},a.prototype.updateStyleEl_=function(){var e=void 0,t=void 0,i=void 0,n=(void 0!==this.aspectRatio_&&"auto"!==this.aspectRatio_?this.aspectRatio_:this.videoWidth()?this.videoWidth()+":"+this.videoHeight():"16:9").split(":"),n=n[1]/n[0],e=void 0!==this.width_?this.width_:void 0!==this.height_?this.height_/n:this.videoWidth()||300,t=void 0!==this.height_?this.height_:e*n,i=/^[^a-zA-Z]/.test(this.id())?"dimensions-"+this.id():this.id()+"-dimensions";this.addClass(i),b.setTextContent(this.styleEl_,"\n ."+i+" {\n width: "+e+"px;\n height: "+t+"px;\n }\n\n ."+i+".vjs-fluid {\n padding-top: "+100*n+"%;\n }\n ")},a.prototype.loadTech_=function(e,t){this.tech_&&this.unloadTech_(),"Html5"!==e&&this.tag&&(j.default.getTech("Html5").disposeMediaElement(this.tag),this.tag.player=null,this.tag=null),this.techName_=e,this.isReady_=!1;var i=k.default({nativeControlsForTouch:this.options_.nativeControlsForTouch,source:t,playerId:this.id(),techId:this.id()+"_"+e+"_api",textTracks:this.textTracks_,autoplay:this.options_.autoplay,preload:this.options_.preload,loop:this.options_.loop,muted:this.options_.muted,poster:this.poster(),language:this.language(),"vtt.js":this.options_["vtt.js"]},this.options_[e.toLowerCase()]);this.tag&&(i.tag=this.tag),t&&(this.currentType_=t.type,t.src===this.cache_.src&&0<this.cache_.currentTime&&(i.startTime=this.cache_.currentTime),this.cache_.src=t.src);t=(t=j.default.getTech(e))||s.default.getComponent(e);this.tech_=new t(i),this.tech_.ready(d.bind(this,this.handleTechReady_),!0),C.default.jsonToTextTracks(this.textTracksJson_||[],this.tech_),this.on(this.tech_,"loadstart",this.handleTechLoadStart_),this.on(this.tech_,"
1waiting",this.handleTechWaiting_),this.on(this.tech_,"canplay",this.handleTechCanPlay_),this.on(this.tech_,"canplaythrough",this.handleTechCanPlayThrough_),this.on(this.tech_,"playing",this.handleTechPlaying_),this.on(this.tech_,"ended",this.handleTechEnded_),this.on(this.tech_,"seeking",this.handleTechSeeking_),this.on(this.tech_,"seeked",this.handleTechSeeked_),this.on(this.tech_,"play",this.handleTechPlay_),this.on(this.tech_,"firstplay",this.handleTechFirstPlay_),this.on(this.tech_,"pause",this.handleTechPause_),this.on(this.tech_,"progress",this.handleTechProgress_),this.on(this.tech_,"durationchange",this.handleTechDurationChange_),this.on(this.tech_,"fullscreenchange",this.handleTechFullscreenChange_),this.on(this.tech_,"error",this.handleTechError_),this.on(this.tech_,"suspend",this.handleTechSuspend_),this.on(this.tech_,"abort",this.handleTechAbort_),this.on(this.tech_,"emptied",this.handleTechEmptied_),this.on(this.tech_,"stalled",this.handleTechStalled_),this.on(this.tech_,"loadedmetadata",this.handleTechLoadedMetaData_),this.on(this.tech_,"loadeddata",this.handleTechLoadedData_),this.on(this.tech_,"timeupdate",this.handleTechTimeUpdate_),this.on(this.tech_,"ratechange",this.handleTechRateChange_),this.on(this.tech_,"volumechange",this.handleTechVolumeChange_),this.on(this.tech_,"texttrackchange",this.handleTechTextTrackChange_),this.on(this.tech_,"loadedmetadata",this.updateStyleEl_),this.on(this.tech_,"posterchange",this.handleTechPosterChange_),this.usingNativeControls(this.techGet_("controls")),this.controls()&&!this.usingNativeControls()&&this.addTechControlsListeners_(),this.tech_.el().parentNode===this.el()||"Html5"===e&&this.tag||h.insertElFirst(this.tech_.el(),this.el()),this.tag&&(this.tag.player=null,this.tag=null)},a.prototype.unloadTech_=function(){this.textTracks_=this.textTracks(),this.textTracksJson_=C.default.textTracksToJson(this.tech_),this.isReady_=!1,this.tech_.dispose(),this.tech_=!1},a.prototype.tech=function(e){if(e&&e.IWillNotUseThisInPlugins)return this.tech_;e="\n Please make sure that you are not using this inside of a plugin.\n To disable this alert and error, please pass in an object with\n `IWillNotUseThisInPlugins` to the `tech` method. See\n https://github.com/videojs/video.js/issues/2617 for more info.\n ";throw c.default.alert(e),new Error(e)},a.prototype.addTechControlsListeners_=function(){this.removeTechControlsListeners_(),this.on(this.tech_,"mousedown",this.handleTechClick_),this.on(this.tech_,"touchstart",this.handleTechTouchStart_),this.on(this.tech_,"touchmove",this.handleTechTouchMove_),this.on(this.tech_,"touchend",this.handleTechTouchEnd_),this.on(this.tech_,"tap",this.handleTechTap_)},a.prototype.removeTechControlsListeners_=function(){this.off(this.tech_,"tap",this.handleTechTap_),this.off(this.tech_,"touchstart",this.handleTechTouchStart_),this.off(this.tech_,"touchmove",this.handleTechTouchMove_),this.off(this.tech_,"touchend",this.handleTechTouchEnd_),this.off(this.tech_,"mousedown",this.handleTechClick_)},a.prototype.handleTechReady_=function(){this.triggerReady(),this.cache_.volume&&this.techCall_("setVolume",this.cache_.volume),this.handleTechPosterChange_(),this.handleTechDurationChange_(),this.src()&&this.tag&&this.options_.autoplay&&this.paused()&&(delete this.tag.poster,this.play())},a.prototype.handleTechLoadStart_=function(){this.removeClass("vjs-ended"),this.error(null),this.paused()?(this.hasStarted(!1),this.trigger("loadstart")):(this.trigger("loadstart"),this.trigger("firstplay"))},a.prototype.hasStarted=function(e){return void 0!==e?(this.hasStarted_!==e&&((this.hasStarted_=e)?(this.addClass("vjs-has-started"),this.trigger("firstplay")):this.removeClass("vjs-has-started")),this):!!this.hasStarted_},a.prototype.handleTechPlay_=function(){this.removeClass("vjs-ended"),this.removeClass("vjs-paused"),this.addClass("vjs-playing"),this.hasStarted(!0),this.trigger("play")},a.prototype.handleTechWaiting_=function(){var e=this;this.addClass("vjs-waiting"),this.trigger("waiting"),this.one("timeupdate",function(){return e.removeClass("vjs-waiting")})},a.prototype.handleTechCanPlay_=function(){this.removeClass("vjs-waiting"),this.trigger("canplay")},a.prototype.handleTechCanPlayThrough_=function(){this.removeClass("vjs-waiting"),this.trigger("canplaythrough")},a.prototype.handleTechPlaying_=function(){this.removeClass("vjs-waiting"),this.trigger("playing")},a.prototype.handleTechSeeking_=function(){this.addClass("vjs-seeking"),this.trigger("seeking")},a.prototype.handleTechSeeked_=function(){this.removeClass("vjs-seeking"),this.trigger("seeked")},a.prototype.handleTechFirstPlay_=function(){this.options_.starttime&&this.currentTime(this.options_.starttime),this.addClass("vjs-has-started"),this.trigger("firstplay")},a.prototype.handleTechPause_=function(){this.removeClass("vjs-playing"),this.addClass("vjs-paused"),this.trigger("pause")},a.prototype.handleTechProgress_=function(){this.trigger("progress")},a.prototype.handleTechEnded_=function(){this.addClass("vjs-ended"),this.options_.loop?(this.currentTime(0),this.play()):this.paused()||this.pause(),this.trigger("ended")},a.prototype.handleTechDurationChange_=function(){this.duration(this.techGet_("duration"))},a.prototype.handleTechClick_=function(e){0===e.button&&this.controls()&&(this.paused()?this.play():this.pause())},a.prototype.handleTechTap_=function(){this.userActive(!this.userActive())},a.prototype.handleTechTouchStart_=function(){this.userWasActive=this.userActive()},a.prototype.handleTechTouchMove_=function(){this.userWasActive&&this.reportUserActivity()},a.prototype.handleTechTouchEnd_=function(e){e.preventDefault()},a.prototype.handleFullscreenChange_=function(){this.isFullscreen()?this.addClass("vjs-fullscreen"):this.removeClass("vjs-fullscreen")},a.prototype.handleStageClick_=function(){this.reportUserActivity()},a.prototype.handleTechFullscreenChange_=function(e,t){t&&this.isFullscreen(t.isFullscreen),this.trigger("fullscreenchange")},a.prototype.handleTechError_=function(){var e=this.tech_.error();this.error(e&&e.code)},a.prototype.handleTechSuspend_=function(){this.trigger("suspend")},a.prototype.handleTechAbort_=function(){this.trigger("abort")},a.prototype.handleTechEmptied_=function(){this.trigger("emptied")},a.prototype.handleTechStalled_=function(){this.trigger("stalled")},a.prototype.handleTechLoadedMetaData_=function(){this.trigger("loadedmetadata")},a.prototype.handleTechLoadedData_=function(){this.trigger("loadeddata")},a.prototype.handleTechTimeUpdate_=function(){this.trigger("timeupdate")},a.prototype.handleTechRateChange_=function(){this.trigger("ratechange")},a.prototype.handleTechVolumeChange_=function(){this.trigger("volumechange")},a.prototype.handleTechTextTrackChange_=function(){this.trigger("texttrackchange")},a.prototype.getCache=function(){return this.cache_},a.prototype.techCall_=function(e,t){if(this.tech_&&!this.tech_.isReady_)this.tech_.ready(function(){this[e](t)},!0);else try{this.tech_[e](t)}catch(e){throw m.default(e),e}},a.prototype.techGet_=function(t){if(this.tech_&&this.tech_.isReady_)try{return this.tech_[t]()}catch(e){throw void 0===this.tech_[t]?m.default("Video.js: "+t+" method not defined for "+this.techName_+" playback technology.",e):"TypeError"===e.name?(m.default("Video.js: "+t+" unavailable on "+this.techName_+" playback technology element.",e),this.tech_.isReady_=!1):m.default(e),e}},a.prototype.play=function(){return this.techCall_("play"),this},a.prototype.pause=function(){return this.techCall_("pause"),this},a.prototype.paused=function(){return!1!==this.techGet_("paused")},a.prototype.scrubbing=function(e){return void 0!==e?(this.scrubbing_=!!e,e?this.addClass("vjs-scrubbing"):this.removeClass("vjs-scrubbing"),this):this.scrubbing_},a.prototype.currentTime=function(e){return void 0!==e?(this.techCall_("setCurrentTime",e),this):this.cache_.currentTime=this.techGet_("currentTime")||0},a.prototype.duration=function(e){return void 0===e?this.cache_.duration||0:((e=(e=parseFloat(e)||0)<0?1/0:e)!==this.cache_.duration&&((this.cache_.duration=e)===1/0?this.addClass("vjs-live"):this.removeClass("vjs-live"),this.trigger("durationchange")),this)},a.prototype.remainingTime=function(){return this.duration()-this.currentTime()},a.prototype.buffered=function(){var e;return e=(e=this.techGet_("buffered"))&&e.length?e:v.createTimeRange(0,0)},a.prototype.bufferedPercent=function(){return y.bufferedPercent(this.buffered(),this.duration())},a.prototype.bufferedEnd=function(){var e=this.buffered(),t=this.duration(),e=e.end(e.length-1);return e=t<e?t:e},a.prototype.volume=function(e){var t=void 0;return void 0!==e?(t=Math.max(0,Math.min(1,parseFloat(e))),this.cache_.volume=t,this.techCall_("setVolume",t),this):(t=parseFloat(this.techGet_("volume")),isNaN(t)?1:t)},a.prototype.muted=function(e){return void 0!==e?(this.techCall_("setMuted",e),this):this.techGet_("muted")||!1},a.prototype.supportsFullScreen=function(){return this.techGet_("supportsFullScreen")||!1},a.prototype.isFullscreen=function(e){return void 0!==e?(this.isFullscreen_=!!e,this):!!this.isFullscreen_},a.prototype.requestFullscreen=function(){var i=_.default;return this.isFullscreen(!0),i.requestFullscreen?(u.on(l.default,i.fullscreenchange,d.bind(this,function e(t){this.isFullscreen(l.default[i.fullscreenElement]),!1===this.isFullscreen()&&u.off(l.default,i.fullscreenchange,e),this.trigger("fullscreenchange")})),this.el_[i.requestFullscreen]()):this.tech_.supportsFullScreen()?this.techCall_("enterFullScreen"):(this.enterFullWindow(),this.trigger("fullscreenchange")),this},a.prototype.exitFullscreen=function(){var e=_.default;return this.isFullscreen(!1),e.requestFullscreen?l.default[e.exitFullscreen]():this.tech_.supportsFullScreen()?this.techCall_("exitFullScreen"):(this.exitFullWindow(),this.trigger("fullscreenchange")),this},a.prototype.enterFullWindow=function(){this.isFullWindow=!0,this.docOrigOverflow=l.default.documentElement.style.overflow,u.on(l.default,"keydown",d.bind(this,this.fullWindowOnEscKey)),l.default.documentElement.style.overflow="hidden",h.addElClass(l.default.body,"vjs-full-window"),this.trigger("enterFullWindow")}
1,a.prototype.fullWindowOnEscKey=function(e){27===e.keyCode&&(!0===this.isFullscreen()?this.exitFullscreen():this.exitFullWindow())},a.prototype.exitFullWindow=function(){this.isFullWindow=!1,u.off(l.default,"keydown",this.fullWindowOnEscKey),l.default.documentElement.style.overflow=this.docOrigOverflow,h.removeElClass(l.default.body,"vjs-full-window"),this.trigger("exitFullWindow")},a.prototype.canPlayType=function(e){for(var t=0,i=this.options_.techOrder;t<i.length;t++){var n=g.default(i[t]),o=j.default.getTech(n);if(o=o||s.default.getComponent(n)){if(o.isSupported()&&(o=o.canPlayType(e)))return o}else m.default.error('The "'+n+'" tech is undefined. Skipped browser support check for that tech.')}return""},a.prototype.selectSource=function(e){function t(e,i,n){var o=void 0;return e.some(function(t){return i.some(function(e){if(o=n(t,e))return!0})}),o}function i(e,t){var i=e[0];if(e[1].canPlaySource(t))return{source:t,tech:i}}var n,o=this.options_.techOrder.map(g.default).map(function(e){return[e,j.default.getTech(e)||s.default.getComponent(e)]}).filter(function(e){var t=e[0],e=e[1];return e?e.isSupported():(m.default.error('The "'+t+'" tech is undefined. Skipped browser support check for that tech.'),!1)});return(this.options_.sourceOrder?t(e,o,(n=i,function(e,t){return n(t,e)})):t(o,e,i))||!1},a.prototype.src=function(e){var t;return void 0===e?this.techGet_("src"):(t=(t=j.default.getTech(this.techName_))||s.default.getComponent(this.techName_),Array.isArray(e)?this.sourceList_(e):"string"==typeof e?this.src({src:e}):e instanceof Object&&(e.type&&!t.canPlaySource(e)?this.sourceList_([e]):(this.cache_.src=e.src,this.currentType_=e.type||"",this.ready(function(){t.prototype.hasOwnProperty("setSource")?this.techCall_("setSource",e):this.techCall_("src",e.src),"auto"===this.options_.preload&&this.load(),this.options_.autoplay&&this.play()},!0))),this)},a.prototype.sourceList_=function(e){e=this.selectSource(e);e?e.tech===this.techName_?this.src(e.source):this.loadTech_(e.tech,e.source):(this.setTimeout(function(){this.error({code:4,message:this.localize(this.options_.notSupportedMessage)})},0),this.triggerReady())},a.prototype.load=function(){return this.techCall_("load"),this},a.prototype.reset=function(){return this.loadTech_(g.default(this.options_.techOrder[0]),null),this.techCall_("reset"),this},a.prototype.currentSrc=function(){return this.techGet_("currentSrc")||this.cache_.src||""},a.prototype.currentType=function(){return this.currentType_||""},a.prototype.preload=function(e){return void 0!==e?(this.techCall_("setPreload",e),this.options_.preload=e,this):this.techGet_("preload")},a.prototype.autoplay=function(e){return void 0!==e?(this.techCall_("setAutoplay",e),this.options_.autoplay=e,this):this.techGet_("autoplay",e)},a.prototype.loop=function(e){return void 0!==e?(this.techCall_("setLoop",e),this.options_.loop=e,this):this.techGet_("loop")},a.prototype.poster=function(e){return void 0===e?this.poster_:(this.poster_=e=e||"",this.techCall_("setPoster",e),this.trigger("posterchange"),this)},a.prototype.handleTechPosterChange_=function(){!this.poster_&&this.tech_&&this.tech_.poster&&(this.poster_=this.tech_.poster()||"",this.trigger("posterchange"))},a.prototype.controls=function(e){return void 0!==e?(this.controls_!==(e=!!e)&&(this.controls_=e,this.usingNativeControls()&&this.techCall_("setControls",e),e?(this.removeClass("vjs-controls-disabled"),this.addClass("vjs-controls-enabled"),this.trigger("controlsenabled"),this.usingNativeControls()||this.addTechControlsListeners_()):(this.removeClass("vjs-controls-enabled"),this.addClass("vjs-controls-disabled"),this.trigger("controlsdisabled"),this.usingNativeControls()||this.removeTechControlsListeners_())),this):!!this.controls_},a.prototype.usingNativeControls=function(e){return void 0!==e?(this.usingNativeControls_!==(e=!!e)&&((this.usingNativeControls_=e)?(this.addClass("vjs-using-native-controls"),this.trigger("usingnativecontrols")):(this.removeClass("vjs-using-native-controls"),this.trigger("usingcustomcontrols"))),this):!!this.usingNativeControls_},a.prototype.error=function(e){return void 0===e?this.error_||null:(null===e?(this.error_=e,this.removeClass("vjs-error"),this.errorDisplay.close()):(e instanceof w.default?this.error_=e:this.error_=new w.default(e),this.addClass("vjs-error"),m.default.error("(CODE:"+this.error_.code+" "+w.default.errorTypes[this.error_.code]+")",this.error_.message,this.error_),this.trigger("error")),this)},a.prototype.ended=function(){return this.techGet_("ended")},a.prototype.seeking=function(){return this.techGet_("seeking")},a.prototype.seekable=function(){return this.techGet_("seekable")},a.prototype.reportUserActivity=function(e){this.userActivity_=!0}
1,a.prototype.userActive=function(e){return void 0!==e?((e=!!e)!==this.userActive_&&((this.userActive_=e)?(this.userActivity_=!0,this.removeClass("vjs-user-inactive"),this.addClass("vjs-user-active"),this.trigger("useractive")):(this.userActivity_=!1,this.tech_&&this.tech_.one("mousemove",function(e){e.stopPropagation(),e.preventDefault()}),this.removeClass("vjs-user-active"),this.addClass("vjs-user-inactive"),this.trigger("userinactive"))),this):this.userActive_},a.prototype.listenForUserActivity_=function(){var t=void 0,i=void 0,n=void 0,o=d.bind(this,this.reportUserActivity),s=(this.on("mousedown",function(){o(),this.clearInterval(t),t=this.setInterval(o,250)}),this.on("mousemove",function(e){e.screenX===i&&e.screenY===n||(i=e.screenX,n=e.screenY,o())}),this.on("mouseup",function(e){o(),this.clearInterval(t)}),this.on("keydown",o),this.on("keyup",o),void 0);this.setInterval(function(){var e;this.userActivity_&&(this.userActivity_=!1,this.userActive(!0),this.clearTimeout(s),0<(e=this.options_.inactivityTimeout))&&(s=this.setTimeout(function(){this.userActivity_||this.userActive(!1)},e))},250)},a.prototype.playbackRate=function(e){return void 0!==e?(this.techCall_("setPlaybackRate",e),this):this.tech_&&this.tech_.featuresPlaybackRate?this.techGet_("playbackRate"):1},a.prototype.isAudio=function(e){return void 0!==e?(this.isAudio_=!!e,this):!!this.isAudio_},a.prototype.networkState=function(){return this.techGet_("networkState")},a.prototype.readyState=function(){return this.techGet_("readyState")},a.prototype.textTracks=function(){return this.tech_&&this.tech_.textTracks()},a.prototype.remoteTextTracks=function(){return this.tech_&&this.tech_.remoteTextTracks()},a.prototype.remoteTextTrackEls=function(){return this.tech_&&this.tech_.remoteTextTrackEls()},a.prototype.addTextTrack=function(e,t,i){return this.tech_&&this.tech_.addTextTrack(e,t,i)},a.prototype.addRemoteTextTrack=function(e){return this.tech_&&this.tech_.addRemoteTextTrack(e)},a.prototype.removeRemoteTextTrack=function(e){this.tech_&&this.tech_.removeRemoteTextTrack(e)},a.prototype.videoWidth=function(){return this.tech_&&this.tech_.videoWidth&&this.tech_.videoWidth()||0},a.prototype.videoHeight=function(){return this.tech_&&this.tech_.videoHeight&&this.tech_.videoHeight()||0},a.prototype.language=function(e){return void 0===e?this.language_:(this.language_=(""+e).toLowerCase(),this)},a.prototype.languages=function(){return T.default(a.prototype.options_.languages,this.languages_)},a.prototype.toJSON=function(){var e=T.default(this.options_),t=e.tracks;e.tracks=[];for(var i=0;i<t.length;i++){var n=t[i];(n=T.default(n)).player=void 0,e.tracks[i]=n}return e},a.prototype.createModal=function(e,t){var i=this,n=((t=t||{}).content=e||"",new S.default(i,t));return i.addChild(n),n.on("dispose",function(){i.removeChild(n)}),n.open()},a.getTagSettings=function(e){var t,i={sources:[],tracks:[]},n=h.getElAttributes(e),o=n["data-setup"];if(null!==o&&(t=(o=x.default(o||"{}"))[0],o=o[1],t&&m.default.error(t),k.default(n,o)),k.default(i,n),e.hasChildNodes())for(var s=e.childNodes,r=0,a=s.length;r<a;r++){var l=s[r],c=l.nodeName.toLowerCase();"source"===c?i.sources.push(h.getElAttributes(l)):"track"===c&&i.tracks.push(h.getElAttributes(l))}return i},a})(s.default)),r=(e.players={},c.default.navigator);e.prototype.options_={techOrder:["html5","flash"],html5:{},flash:{},defaultVolume:0,inactivityTimeout:2e3,playbackRates:[],children:["mediaLoader","posterImage","textTrackDisplay","loadingSpinner","bigPlayButton","controlBar","errorDisplay","textTrackSettings"],language:l.default.getElementsByTagName("html")[0].getAttribute("lang")||r.languages&&r.languages[0]||r.userLanguage||r.language||"en",languages:{},notSupportedMessage:"No compatible source was found for this media."},e.prototype.handleLoadedMetaData_,e.prototype.handleLoadedData_,e.prototype.handleUserActive_,e.prototype.handleUserInactive_,e.prototype.handleTimeUpdate_,e.prototype.handleTechEnded_,e.prototype.handleVolumeChange_,e.prototype.handleError_,e.prototype.flexNotSupported_=function(){var e=l.default.createElement("i");
1return!("flexBasis"in e.style||"webkitFlexBasis"in e.style||"mozFlexBasis"in e.style||"msFlexBasis"in e.style||"msFlexOrder"in e.style)},s.default.registerComponent("Player",e),i.default=e,t.exports=i.default},{"./big-play-button.js":63,"./component.js":67,"./control-bar/control-bar.js":68,"./error-display.js":98,"./fullscreen-api.js":101,"./loading-spinner.js":102,"./media-error.js":103,"./modal-dialog":107,"./poster-image.js":112,"./tech/html5.js":117,"./tech/loader.js":118,"./tech/tech.js":119,"./tracks/text-track-display.js":123,"./tracks/text-track-list-converter.js":125,"./tracks/text-track-settings.js":127,"./utils/browser.js":129,"./utils/buffer.js":130,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/guid.js":136,"./utils/log.js":137,"./utils/merge-options.js":138,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/to-title-case.js":141,"global/document":1,"global/window":2,"object.assign":45,"safe-json-parse/tuple":54}],109:[function(e,t,i){i.__esModule=!0;var e=e("./player.js"),n=(e=e)&&e.__esModule?e:{default:e};i.default=function(e,t){n.default.prototype[e]=t},t.exports=i.default},{"./player.js":108}],110:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("../clickable-component.js")),r=o(e("../component.js")),e=(o(e("./popup.js")),n(e("../utils/dom.js")),n(e("../utils/fn.js")),o(e("../utils/to-title-case.js")),(o=>{var e=s,t=o;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function s(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=this,n=s;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");o.call(this,e,t),this.update()}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),s.prototype.update=function(){var e=this.createPopup();this.popup&&this.removeChild(this.popup),this.popup=e,this.addChild(e),this.items&&0===this.items.length?this.hide():this.items&&1<this.items.length&&this.show()},s.prototype.createPopup=function(){},s.prototype.createEl=function(){return o.prototype.createEl.call(this,"div",{className:this.buildCSSClass()})},s.prototype.buildCSSClass=function(){var e="vjs-menu-button";return!0===this.options_.inline?e+="-inline":e+="-popup","vjs-menu-button "+e+" "+o.prototype.buildCSSClass.call(this)},s})(s.default));r.default.registerComponent("PopupButton",e),i.default=e,t.exports=i.default},{"../clickable-component.js":65,"../component.js":67,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/to-title-case.js":141,"./popup.js":111}],111:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}i.__esModule=!0;var o=e("../component.js"),o=(o=o)&&o.__esModule?o:{default:o},s=n(e("../utils/dom.js")),r=n(e("../utils/fn.js")),a=n(e("../utils/events.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(){var e=this,t=n;if(!(e instanceof t))throw new TypeError("Cannot call a class as a function");i.apply(this,arguments)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.addItem=function(e){this.addChild(e),e.on("click",r.bind(this,function(){this.unlockShowing()}))},n.prototype.createEl=function(){var e=this.options_.contentElType||"ul",e=(this.contentEl_=s.createEl(e,{className:"vjs-menu-content"}),i.prototype.createEl.call(this,"div",{append:this.contentEl_,className:"vjs-menu"}));return e.appendChild(this.contentEl_),a.on(e,"click",function(e){e.preventDefault(),e.stopImmediatePropagation()}),e},n})(o.default);o.default.registerComponent("Popup",e),i.default=e,t.exports=i.default},{"../component.js":67,"../utils/dom.js":132,"../utils/events.js":133,"../utils/fn.js":134}
1],112:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./clickable-component.js")),r=o(e("./component.js")),a=n(e("./utils/fn.js")),l=n(e("./utils/dom.js")),c=n(e("./utils/browser.js")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.update(),e.on("posterchange",a.bind(this,this.update))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.dispose=function(){this.player().off("posterchange",this.update),i.prototype.dispose.call(this)},n.prototype.createEl=function(){var e=l.createEl("div",{className:"vjs-poster",tabIndex:-1});return c.BACKGROUND_SIZE_SUPPORTED||(this.fallbackImg_=l.createEl("img"),e.appendChild(this.fallbackImg_)),e},n.prototype.update=function(){var e=this.player().poster();this.setSrc(e),e?this.show():this.hide()},n.prototype.setSrc=function(e){this.fallbackImg_?this.fallbackImg_.src=e:this.el_.style.backgroundImage=e?'url("'+e+'")':""},n.prototype.handleClick=function(){this.player_.paused()?this.player_.play():this.player_.pause()},n})(s.default);r.default.registerComponent("PosterImage",e),i.default=e,t.exports=i.default},{"./clickable-component.js":65,"./component.js":67,"./utils/browser.js":129,"./utils/dom.js":132,"./utils/fn.js":134}],113:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;function r(e,t){t&&(c=t),setTimeout(s,e)}var o=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("./utils/events.js")),a=n(e("global/document")),e=n(e("global/window")),l=!1,
1c=void 0,s=function(){var e=a.default.getElementsByTagName("video"),t=a.default.getElementsByTagName("audio"),i=[];if(e&&0<e.length)for(var n=0,o=e.length;n<o;n++)i.push(e[n]);if(t&&0<t.length)for(n=0,o=t.length;n<o;n++)i.push(t[n]);if(i&&0<i.length)for(n=0,o=i.length;n<o;n++){var s=i[n];if(!s||!s.getAttribute){r(1);break}void 0===s.player&&null!==s.getAttribute("data-setup")&&c(s)}else l||r(1)};"complete"===a.default.readyState?l=!0:o.one(e.default,"load",function(){l=!0});i.autoSetup=s,i.autoSetupTimeout=r,i.hasLoaded=function(){return l}},{"./utils/events.js":133,"global/document":1,"global/window":2}],114:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../component.js")),s=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/dom.js")),r=n(e("global/document")),a=n(e("object.assign")),e=(n=>{var e=i,t=n;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function i(e,t){if(!(this instanceof i))throw new TypeError("Cannot call a class as a function");n.call(this,e,t),this.bar=this.getChild(this.options_.barName),this.vertical(!!this.options_.vertical),this.on("mousedown",this.handleMouseDown),this.on("touchstart",this.handleMouseDown),this.on("focus",this.handleFocus),this.on("blur",this.handleBlur),this.on("click",this.handleClick),this.on(e,"controlsvisible",this.update),this.on(e,this.playerEvent,this.update)}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),i.prototype.createEl=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],i=arguments.length<=2||void 0===arguments[2]?{}:arguments[2];return t.className=t.className+" vjs-slider",t=a.default({tabIndex:0},t),i=a.default({role:"slider","aria-valuenow":0,"aria-valuemin":0,"aria-valuemax":100,tabIndex:0},i),n.prototype.createEl.call(this,e,t,i)},i.prototype.handleMouseDown=function(e){e.preventDefault(),s.blockTextSelection(),this.addClass("vjs-sliding"),this.trigger("slideractive"),this.on(r.default,"mousemove",this.handleMouseMove),this.on(r.default,"mouseup",this.handleMouseUp),this.on(r.default,"touchmove",this.handleMouseMove),this.on(r.default,"touchend",this.handleMouseUp),this.handleMouseMove(e)},i.prototype.handleMouseMove=function(){},i.prototype.handleMouseUp=function(){s.unblockTextSelection(),this.removeClass("vjs-sliding"),this.trigger("sliderinactive"),this.off(r.default,"mousemove",this.handleMouseMove),this.off(r.default,"mouseup",this.handleMouseUp),this.off(r.default,"touchmove",this.handleMouseMove),this.off(r.default,"touchend",this.handleMouseUp),this.update()},i.prototype.update=function(){var e,t;this.el_&&(t=this.getPercent(),e=this.bar)&&(t=(100*(t="number"!=typeof t||t!=t||t<0||t===1/0?0:t)).toFixed(2)+"%",this.vertical()?e.el().style.height=t:e.el().style.width=t)},i.prototype.calculateDistance=function(e){e=s.getPointerPosition(this.el_,e);return this.vertical()?e.y:e.x},i.prototype.handleFocus=function(){this.on(r.default,"keydown",this.handleKeyPress)},i.prototype.handleKeyPress=function(e){37===e.which||40===e.which?(e.preventDefault(),this.stepBack()):38!==e.which&&39!==e.which||(e.preventDefault(),this.stepForward())},i.prototype.handleBlur=function(){this.off(r.default,"keydown",this.handleKeyPress)},i.prototype.handleClick=function(e){e.stopImmediatePropagation(),e.preventDefault()},i.prototype.vertical=function(e){return void 0===e?this.vertical_||!1:(this.vertical_=!!e,this.vertical_?this.addClass("vjs-slider-vertical"):this.addClass("vjs-slider-horizontal"),this)},i})(o.default);o.default.registerComponent("Slider",e),i.default=e,t.exports=i.default},{"../component.js":67,"../utils/dom.js":132,"global/document":1,"object.assign":45}],115:[function(e,t,i){i.__esModule=!0,i.default=function(i){return i.streamingFormats={"rtmp/mp4":"MP4","rtmp/flv":"FLV"},i.streamFromParts=function(e,t){return e+"&"+t},i.streamToParts=function(e){var t,i,n={connection:"",stream:""};return e&&(i=void 0,-1!==(t=e.search(/&(?!\w+=)/))?i=t+1:0===(t=i=e.lastIndexOf("/")+1)&&(t=i=e.length),n.connection=e.substring(0,t),n.stream=e.substring(i,e.length)),n},i.isStreamingType=function(e){return e in i.streamingFormats},i.RTMP_RE=/^rtmp[set]?:\/\//i,i.isStreamingSrc=function(e){return i.RTMP_RE.test(e)},i.rtmpSourceHandler={},i.rtmpSourceHandler.canPlayType=function(e){return i.isStreamingType(e)?"maybe":""},i.rtmpSourceHandler.canHandleSource=function(e){var t=i.rtmpSourceHandler.canPlayType(e.type);return t||(i.isStreamingSrc(e.src)?"maybe":"")},i.rtmpSourceHandler.handleSource=function(e,t){e=i.streamToParts(e.src);t.setRtmpConnection(e.connection),t.setRtmpStream(e.stream)},i.registerSourceHandler(i.rtmpSourceHandler),i},t.exports=i.default},{}
1],116:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./tech")),r=n(e("../utils/dom.js")),a=n(e("../utils/url.js")),l=e("../utils/time-ranges.js"),c=o(e("./flash-rtmp")),u=o(e("../component")),h=o(e("global/window")),d=o(e("object.assign")),p=h.default.navigator,f=(i=>{var e=o,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function o(e,t){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),e.source&&this.ready(function(){this.setSource(e.source)},!0),e.startTime&&this.ready(function(){this.load(),this.play(),this.currentTime(e.startTime)},!0),h.default.videojs=h.default.videojs||{},h.default.videojs.Flash=h.default.videojs.Flash||{},h.default.videojs.Flash.onReady=o.onReady,h.default.videojs.Flash.onEvent=o.onEvent,h.default.videojs.Flash.onError=o.onError,this.on("seeked",function(){this.lastSeekTarget_=void 0})}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o.prototype.createEl=function(){var e=this.options_,t=(e.swf||(e.swf="//vjs.zencdn.net/swf/5.0.1/video-js.swf"),e.techId),i=d.default({readyFunction:"videojs.Flash.onReady",eventProxyFunction:"videojs.Flash.onEvent",errorEventProxyFunction:"videojs.Flash.onError",autoplay:e.autoplay,preload:e.preload,loop:e.loop,muted:e.muted},e.flashVars),n=d.default({wmode:"opaque",bgcolor:"#000000"},e.params),t=d.default({id:t,name:t,class:"vjs-tech"},e.attributes);return this.el_=o.embed(e.swf,i,n,t),(this.el_.tech=this).el_},o.prototype.play=function(){this.ended()&&this.setCurrentTime(0),this.el_.vjs_play()},o.prototype.pause=function(){this.el_.vjs_pause()},o.prototype.src=function(e){return void 0===e?this.currentSrc():this.setSrc(e)},o.prototype.setSrc=function(e){var t;e=a.getAbsoluteURL(e),this.el_.vjs_src(e),this.autoplay()&&(t=this).setTimeout(function(){t.play()},0)},o.prototype.seeking=function(){return void 0!==this.lastSeekTarget_},o.prototype.setCurrentTime=function(e){var t=this.seekable();t.length&&(e=(e=e>t.start(0)?e:t.start(0))<t.end(t.length-1)?e:t.end(t.length-1),this.lastSeekTarget_=e,this.trigger("seeking"),this.el_.vjs_setProperty("currentTime",e),i.prototype.setCurrentTime.call(this))},o.prototype.currentTime=function(e){return this.seeking()?this.lastSeekTarget_||0:this.el_.vjs_getProperty("currentTime")},o.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.vjs_getProperty("currentSrc")},o.prototype.load=function(){this.el_.vjs_load()},o.prototype.poster=function(){this.el_.vjs_getProperty("poster")},o.prototype.setPoster=function(){},o.prototype.seekable=function(){var e=this.duration();return 0===e?l.createTimeRange():l.createTimeRange(0,e)},o.prototype.buffered=function(){var e=this.el_.vjs_getProperty("buffered");return 0===e.length?l.createTimeRange():l.createTimeRange(e[0][0],e[0][1])},o.prototype.supportsFullScreen=function(){return!1},o.prototype.enterFullScreen=function(){return!1},o})(s.default),m=f.prototype,g="rtmpConnection,rtmpStream,preload,defaultPlaybackRate,playbackRate,autoplay,loop,mediaGroup,controller,controls,volume,muted,defaultMuted".split(","),v="networkState,readyState,initialTime,duration,startOffsetTime,paused,ended,videoTracks,audioTracks,videoWidth,videoHeight".split(",");function y(e){m[e]=function(){return this.el_.vjs_getProperty(e)}}for(var b=0;b<g.length;b++)y(g[b]),(t=>{var e=t.charAt(0).toUpperCase()+t.slice(1);m["set"+e]=function(e){return this.el_.vjs_setProperty(t,e)}})(g[b]);for(b=0;b<v.length;b++)y(v[b]);f.isSupported=function(){return 10<=f.version()[0]},s.default.withSourceHandlers(f),f.nativeSourceHandler={},f.nativeSourceHandler.canPlayType=function(e){return e in f.formats?"maybe":""},f.nativeSourceHandler.canHandleSource=function(e){return e=e.type?e.type.replace(/;.*/,"").toLowerCase():(e=e.src,(e=a.getFileExtension(e))?"video/"+e:""),f.nativeSourceHandler.canPlayType(e)},f.nativeSourceHandler.handleSource=function(e,t){t.setSrc(e.src)},f.nativeSourceHandler.dispose=function(){},f.registerSourceHandler(f.nativeSourceHandler),f.formats={"video/flv":"FLV","video/x-flv":"FLV","video/mp4":"MP4","video/m4v":"MP4"},f.onReady=function(e){e=r.getEl(e),e=e&&e.tech;e&&e.el()&&f.checkReady(e)},f.checkReady=function(e){e.el()&&(e.el().vjs_getProperty?e.triggerReady():this.setTimeout(function(){f.checkReady(e)},50))},f.onEvent=function(e,t){r.getEl(e).tech.trigger(t)},f.onError=function(e,t){e=r.getEl(e).tech;if("srcnotfound"===t)return e.error(4);e.error("FLASH: "+t)},f.version=function(){var t="0,0,0";try{t=new h.default.ActiveXObject("ShockwaveFlash.ShockwaveFlash").GetVariable("$version").replace(/\D+/g,",").match(/^,?(.+),?$/)[1]}catch(e){try{p.mimeTypes["application/x-shockwave-flash"].enabledPlugin&&(t=(p.plugins["Shockwave Flash 2.0"]||p.plugins["Shockwave Flash"]).description.replace(/\D+/g,",").match(/^,?(.+),?$/)[1])}catch(e){}}return t.split(",")},f.embed=function(e,t,i,n){e=f.getEmbedCode(e,t,i,n);return r.createEl("div",{innerHTML:e}).childNodes[0]},f.getEmbedCode=function(e,t,i,n){var o="",s="",r="";return t&&Object.getOwnPropertyNames(t).forEach(function(e){o+=e+"="+t[e]+"&"}),i=d.default({movie:e,flashvars:o,allowScriptAccess:"always",allowNetworking:"all"}
1,i),Object.getOwnPropertyNames(i).forEach(function(e){s+='<param name="'+e+'" value="'+i[e]+'" />'}),n=d.default({data:e,width:"100%",height:"100%"},n),Object.getOwnPropertyNames(n).forEach(function(e){r+=e+'="'+n[e]+'" '}),'<object type="application/x-shockwave-flash" '+r+">"+s+"</object>"},c.default(f),u.default.registerComponent("Flash",f),s.default.registerTech("Flash",f),i.default=f,t.exports=i.default},{"../component":67,"../utils/dom.js":132,"../utils/time-ranges.js":140,"../utils/url.js":142,"./flash-rtmp":115,"./tech":119,"global/window":2,"object.assign":45}],117:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("./tech.js")),r=o(e("../component")),c=n(e("../utils/dom.js")),a=n(e("../utils/url.js")),u=n(e("../utils/fn.js")),h=o(e("../utils/log.js")),d=n(e("../utils/browser.js")),p=o(e("global/document")),f=o(e("global/window")),m=o(e("object.assign")),g=o(e("../utils/merge-options.js")),l=(a=>{var e=l,t=a;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function l(e,t){if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");a.call(this,e,t);t=e.source;if(t&&(this.el_.currentSrc!==t.src||e.tag&&3===e.tag.initNetworkState_)?this.setSource(t):this.handleLateInit_(this.el_),this.el_.hasChildNodes()){for(var i=this.el_.childNodes,n=i.length,o=[];n--;){var s=i[n];"track"===s.nodeName.toLowerCase()&&(this.featuresNativeTextTracks?(this.remoteTextTrackEls().addTrackElement_(s),this.remoteTextTracks().addTrack_(s.track)):o.push(s))}for(var r=0;r<o.length;r++)this.el_.removeChild(o[r])}this.featuresNativeTextTracks&&(this.handleTextTrackChange_=u.bind(this,this.handleTextTrackChange),this.handleTextTrackAdd_=u.bind(this,this.handleTextTrackAdd),this.handleTextTrackRemove_=u.bind(this,this.handleTextTrackRemove),this.proxyNativeTextTracks_()),(d.TOUCH_ENABLED&&
1!0===e.nativeControlsForTouch||d.IS_IPHONE||d.IS_NATIVE_ANDROID)&&this.setControls(!0),this.triggerReady()}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),l.prototype.dispose=function(){for(var e=this.el().textTracks,t=this.textTracks(),i=(e&&e.removeEventListener&&(e.removeEventListener("change",this.handleTextTrackChange_),e.removeEventListener("addtrack",this.handleTextTrackAdd_),e.removeEventListener("removetrack",this.handleTextTrackRemove_)),t.length);i--;)t.removeTrack_(t[i]);l.disposeMediaElement(this.el_),a.prototype.dispose.call(this)},l.prototype.createEl=function(){for(var e,t=this.options_.tag,i=(t&&!1!==this.movingMediaElementInDOM||(t?(e=t.cloneNode(!0),t.parentNode.insertBefore(e,t),l.disposeMediaElement(t),t=e):(t=p.default.createElement("video"),e=this.options_.tag&&c.getElAttributes(this.options_.tag),e=g.default({},e),d.TOUCH_ENABLED&&!0===this.options_.nativeControlsForTouch||delete e.controls,c.setElAttributes(t,m.default(e,{id:this.options_.techId,class:"vjs-tech"})))),["autoplay","preload","loop","muted"]),n=i.length-1;0<=n;n--){var o=i[n],s={};void 0!==this.options_[o]&&(s[o]=this.options_[o]),c.setElAttributes(t,s)}return t},l.prototype.handleLateInit_=function(e){var n=this;if(0!==e.networkState&&3!==e.networkState){if(0===e.readyState){var t=(()=>{function e(){i=!0}function t(){i||this.trigger("loadstart")}var i=!1;return n.on("loadstart",e),n.on("loadedmetadata",t),n.ready(function(){this.off("loadstart",e),this.off("loadedmetadata",t),i||this.trigger("loadstart")}),{v:void 0}})();if("object"==typeof t)return t.v}var i=["loadstart"];i.push("loadedmetadata"),2<=e.readyState&&i.push("loadeddata"),3<=e.readyState&&i.push("canplay"),4<=e.readyState&&i.push("canplaythrough"),this.ready(function(){i.forEach(function(e){this.trigger(e)},this)})}},l.prototype.proxyNativeTextTracks_=function(){var e=this.el().textTracks;if(e){for(var t=0;t<e.length;t++)this.textTracks().addTrack_(e[t]);e.addEventListener&&(e.addEventListener("change",this.handleTextTrackChange_),e.addEventListener("addtrack",this.handleTextTrackAdd_),e.addEventListener("removetrack",this.handleTextTrackRemove_))}},l.prototype.handleTextTrackChange=function(e){var t=this.textTracks();this.textTracks().trigger({type:"change",target:t,currentTarget:t,srcElement:t})},l.prototype.handleTextTrackAdd=function(e){this.textTracks().addTrack_(e.track)},l.prototype.handleTextTrackRemove=function(e){this.textTracks().removeTrack_(e.track)},l.prototype.play=function(){this.el_.play()},l.prototype.pause=function(){this.el_.pause()},l.prototype.paused=function(){return this.el_.paused},l.prototype.currentTime=function(){return this.el_.currentTime},l.prototype.setCurrentTime=function(e){try{this.el_.currentTime=e}catch(e){h.default(e,"Video is not ready. (Video.js)")}},l.prototype.duration=function(){return this.el_.duration||0},l.prototype.buffered=function(){return this.el_.buffered},l.prototype.volume=function(){return this.el_.volume},l.prototype.setVolume=function(e){this.el_.volume=e},l.prototype.muted=function(){return this.el_.muted},l.prototype.setMuted=function(e){this.el_.muted=e},l.prototype.width=function(){return this.el_.offsetWidth},l.prototype.height=function(){return this.el_.offsetHeight},l.prototype.supportsFullScreen=function(){if("function"==typeof this.el_.webkitEnterFullScreen){var e=f.default.navigator.userAgent;if(/Android/.test(e)||!/Chrome|Mac OS X 10.5/.test(e))return!0}return!1},l.prototype.enterFullScreen=function(){var e=this.el_;"webkitDisplayingFullscreen"in e&&this.one("webkitbeginfullscreen",function(){this.one("webkitendfullscreen",function(){this.trigger("fullscreenchange",{isFullscreen:!1})}),this.trigger("fullscreenchange",{isFullscreen:!0})}),e.paused&&e.networkState<=e.HAVE_METADATA?(this.el_.play(),this.setTimeout(function(){e.pause(),e.webkitEnterFullScreen()},0)):e.webkitEnterFullScreen()},l.prototype.exitFullScreen=function(){this.el_.webkitExitFullScreen()},l.prototype.src=function(e){if(void 0===e)return this.el_.src;this.setSrc(e)},l.prototype.setSrc=function(e){this.el_.src=e},l.prototype.load=function(){this.el_.load()},l.prototype.reset=function(){l.resetMediaElement(this.el_)},l.prototype.currentSrc=function(){return this.currentSource_?this.currentSource_.src:this.el_.currentSrc},l.prototype.poster=function(){return this.el_.poster},l.prototype.setPoster=function(e){this.el_.poster=e},l.prototype.preload=function(){return this.el_.preload},l.prototype.setPreload=function(e){this.el_.preload=e},l.prototype.autoplay=function(){return this.el_.autoplay},l.prototype.setAutoplay=function(e){this.el_.autoplay=e},l.prototype.controls=function(){return this.el_.controls},l.prototype.setControls=function(e){this.el_.controls=!!e},l.prototype.loop=function(){return this.el_.loop},l.prototype.setLoop=function(e){this.el_.loop=e},l.prototype.error=function(){return this.el_.error},l.prototype.seeking=function(){return this.el_.seeking},l.prototype.seekable=function(){return this.el_.seekable},l.prototype.ended=function(){return this.el_.ended},l.prototype.defaultMuted=function(){return this.el_.defaultMuted},l.prototype.playbackRate=function(){return this.el_.playbackRate},l.prototype.played=function(){return this.el_.played},l.prototype.setPlaybackRate=function(e){this.el_.playbackRate=e},l.prototype.networkState=function(){return this.el_.networkState},l.prototype.readyState=function(){return this.el_.readyState},l.prototype.videoWidth=function(){return this.el_.videoWidth},l.prototype.videoHeight=function(){return this.el_.videoHeight},l.prototype.textTracks=function(){return a.prototype.textTracks.call(this)},l.prototype.addTextTrack=function(e,t,i){return this.featuresNativeTextTracks?this.el_.addTextTrack(e,t,i):a.prototype.addTextTrack.call(this,e,t,i)},l.prototype.addRemoteTextTrack=function(){var e,t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];return this.featuresNativeTextTracks?(e=p.default.createElement("track"),t.kind&&(e.kind=t.kind),t.label&&(e.label=t.label),(t.language||t.srclang)&&(e.srclang=t.language||t.srclang),t.default&&(e.default=t.default),t.id&&(e.id=t.id),t.src&&(e.src=t.src),this.el().appendChild(e),this.remoteTextTrackEls().addTrackElement_(e),this.remoteTextTracks().addTrack_(e.track),e):a.prototype.addRemoteTextTrack.call(this,t)},l.prototype.removeRemoteTextTrack=function(e){if(!this.featuresNativeTextTracks)return a.prototype.removeRemoteTextTrack.call(this,e);var t,i=void 0,n=this.remoteTextTrackEls().getTrackElementByTrack_(e);for(this.remoteTextTrackEls().removeTrackElement_(n),this.remoteTextTracks().removeTrack_(e),i=(t=this.$$("track")).length;i--;)e!==t[i]&&e!==t[i].track||this.el().removeChild(t[i])},l})(s.default),e=(l.TEST_VID=p.default.createElement("video"),p.default.createElement("track")),v=(e.kind="captions",e.srclang="en",e.label="English",l.TEST_VID.appendChild(e),l.isSupported=function(){try{l.TEST_VID.volume=.5}catch(e){return!1}return!!l.TEST_VID.canPlayType},s.default.withSourceHandlers(l),l.nativeSourceHandler={},l.nativeSourceHandler.canPlayType=function(e){try{return l.TEST_VID.canPlayType(e)}catch(e){return""}},l.nativeSourceHandler.canHandleSource=function(e){return e.type?l.nativeSourceHandler.canPlayType(e.type):e.src?(e=a.getFileExtension(e.src),l.nativeSourceHandler.canPlayType("video/"+e)):""},l.nativeSourceHandler.handleSource=function(e,t){t.setSrc(e.src)},l.nativeSourceHandler.dispose=function(){},l.registerSourceHandler(l.nativeSourceHandler),l.canControlVolume=function(){var e=l.TEST_VID.volume;return l.TEST_VID.volume=e/2+.1,e!==l.TEST_VID.volume},l.canControlPlaybackRate=function(){var e=l.TEST_VID.playbackRate;return l.TEST_VID.playbackRate=e/2+.1,e!==l.TEST_VID.playbackRate},l.supportsNativeTextTracks=function(){var e=!!l.TEST_VID.textTracks;return e=!(e=(e=e&&0<l.TEST_VID.textTracks.length?"number"!=typeof l.TEST_VID.textTracks[0].mode:e)&&d.IS_FIREFOX?!1:e)||"onremovetrack"in l.TEST_VID.textTracks?e:!1},l.Events=["loadstart","suspend","abort","error","emptied","stalled","loadedmetadata","loadeddata","canplay","canplaythrough","playing","waiting","seeking","seeked","ended","durationchange","timeupdate","progress","play","pause","ratechange","volumechange"],l.prototype.featuresVolumeControl=l.canControlVolume(),l.prototype.featuresPlaybackRate=l.canControlPlaybackRate(),l.prototype.movingMediaElementInDOM=!d.IS_IOS,l.prototype.featuresFullscreenResize=!0,l.prototype.featuresProgressEvents=!0,l.prototype.featuresNativeTextTracks=l.supportsNativeTextTracks(),void 0),y=/^a
1pplication\/(?:x-|vnd\.apple\.)mpegurl/i,b=/^video\/mp4/i;l.patchCanPlayType=function(){4<=d.ANDROID_VERSION&&(v=v||l.TEST_VID.constructor.prototype.canPlayType,l.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&y.test(e)?"maybe":v.call(this,e)}),d.IS_OLD_ANDROID&&(v=v||l.TEST_VID.constructor.prototype.canPlayType,l.TEST_VID.constructor.prototype.canPlayType=function(e){return e&&b.test(e)?"maybe":v.call(this,e)})},l.unpatchCanPlayType=function(){var e=l.TEST_VID.constructor.prototype.canPlayType;return l.TEST_VID.constructor.prototype.canPlayType=v,v=null,e},l.patchCanPlayType(),l.disposeMediaElement=function(e){if(e){for(e.parentNode&&e.parentNode.removeChild(e);e.hasChildNodes();)e.removeChild(e.firstChild);if(e.removeAttribute("src"),"function"==typeof e.load)try{e.load()}catch(e){}}},l.resetMediaElement=function(e){if(e){for(var t=e.querySelectorAll("source"),i=t.length;i--;)e.removeChild(t[i]);if(e.removeAttribute("src"),"function"==typeof e.load)try{e.load()}catch(e){}}},r.default.registerComponent("Html5",l),s.default.registerTech("Html5",l),i.default=l,t.exports=i.default},{"../component":67,"../utils/browser.js":129,"../utils/dom.js":132,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/url.js":142,"./tech.js":119,"global/document":1,"global/window":2,"object.assign":45}],118:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var c=n(e("../component.js")),u=n(e("./tech.js")),h=(n(e("global/window")),n(e("../utils/to-title-case.js"))),e=(a=>{var e=l,t=a;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function l(e,t,i){if(!(this instanceof l))throw new TypeError("Cannot call a class as a function");if(a.call(this,e,t,i),t.playerOptions.sources&&0!==t.playerOptions.sources.length)e.src(t.playerOptions.sources);else for(var n=0,o=t.playerOptions.techOrder;n<o.length;n++){var s=h.default(o[n]),r=u.default.getTech(s);if((r=s?r:c.default.getComponent(s))&&r.isSupported()){e.loadTech_(s);break}}}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),l})(c.default);c.default.registerComponent("MediaLoader",e),i.default=e,t.exports=i.default},{"../component.js":67,"../utils/to-title-case.js":141,"./tech.js":119,"global/window":2}],119:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../component")),r=n(e("../tracks/html-track-element")),a=n(e("../tracks/html-track-element-list")),l=n(e("../utils/merge-options.js")),c=n(e("../tracks/text-track")),u=n(e("../tracks/text-track-list")),h=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/fn.js")),d=n(e("../utils/log.js")),p=e("../utils/time-ranges.js"),f=e("../utils/buffer.js"),m=n(e("../media-error.js")),g=n(e("global/window")),v=n(e("global/document")),e=(o=>{var e=s,t=o;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function s(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=arguments.length<=1||void 0===arguments[1]?function(){}:arguments[1],i=this,n=s;if(!(i instanceof n))throw new TypeError("Cannot call a class as a function");e.reportTouchActivity=!1,o.call(this,null,e,t),this.hasStarted_=!1,this.on("playing",function(){this.hasStarted_=!0}),this.on("loadstart",function(){this.hasStarted_=!1}),this.textTracks_=e.textTracks,this.featuresProgressEvents||this.manualProgressOn(),this.featuresTimeupdateEvents||this.manualTimeUpdatesOn(),!1!==e.nativeCaptions&&!1!==e.nativeTextTracks||(this.featuresNativeTextTracks=!1),this.featuresNativeTextTracks||this.on("ready",this.emulateTextTracks),this.initTextTrackListeners(),this.emitTapEvents()}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),s.prototype.manualProgressOn=function(){this.on("durationchange",this.onDurationChange),this.manualProgress=!0,this.one("ready",this.trackProgress)},s.prototype.manualProgressOff=function(){this.manualProgress=!1,this.stopTrackingProgress(),this.off("durationchange",this.onDurationChange)},s.prototype.trackProgress=function(){this.stopTrackingProgress(),this.progressInterval=this.setInterval(h.bind(this,function(){var e=this.bufferedPercent();this.bufferedPercent_!==e&&this.trigger("progress"),1===(this.bufferedPercent_=e)&&this.stopTrackingProgress()}),500)},s.prototype.onDurationChange=function(){this.duration_=this.duration()},s.prototype.buffered=function(){return p.createTimeRange(0,0)},s.prototype.bufferedPercent=function(){return f.bufferedPercent(this.buffered(),this.duration_)},s.prototype.stopTrackingProgress=function(){this.clearInterval(this.progressInterval)},s.prototype.manualTimeUpdatesOn=function(){this.manualTimeUpdates=!0,this.on("play",this.trackCurrentTime),this.on("pause",this.stopTrackingCurrentTime)},s.prototype.manualTimeUpdatesOff=function(){this.manualTimeUpdates=!1,this.stopTrackingCurrentTime(),this.off("play",this.trackCurrentTime),this.off("pause",this.stopTrackingCurrentTime)},s.prototype.trackCurrentTime=function(){this.currentTimeInterval&&this.stopTrackingCurrentTime(),this.currentTimeInterval=this.setInterval(function(){this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},250)},s.prototype.stopTrackingCurrentTime=function(){this.clearInterval(this.currentTimeInterval),this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},s.prototype.dispose=function(){var e=this.textTracks();if(e)for(var t=e.length;t--;)this.removeRemoteTextTrack(e[t]);this.manualProgress&&this.manualProgressOff(),this.manualTimeUpdates&&this.manualTimeUpdatesOff(),o.prototype.dispose.call(this)},s.prototype.reset=function(){},s.prototype.error=function(e){return void 0!==e&&(e instanceof m.default?this.error_=e:this.error_=new m.default(e),this.trigger("error")),this.error_},s.prototype.played=function(){return this.hasStarted_?p.createTimeRange(0,0):p.createTimeRange()},s.prototype.setCurrentTime=function(){this.manualTimeUpdates&&this.trigger({type:"timeupdate",target:this,manuallyTriggered:!0})},s.prototype.initTextTrackListeners=function(){var e=h.bind(this,function(){this.trigger("texttrackchange")}),t=this.textTracks();t&&(t.addEventListener("removetrack",e),t.addEventListener("addtrack",e),this.on("dispose",h.bind(this,function(){t.removeEventListener("removetrack",e),t.removeEventListener("addtrack",e)})))},s.prototype.emulateTextTracks=function(){var e,i,t,n=this,o=this.textTracks();o&&(g.default.WebVTT||null==this.el().parentNode||((e=v.default.createElement("script")).src=n.options_["vtt.js"]||"https://cdn.rawgit.com/gkatsev/vtt.js/vjs-v0.12.1/dist/vtt.min.js",e.onload=function(){n.trigger("vttjsloaded")},e.onerror=function(){n.trigger("vttjserror")},n.on("dispose",function(){e.onload=null,e.onerror=null}),n.el().parentNode.appendChild(e),g.default.WebVTT=!0),i=function(){return n.trigger("texttrackchange")},(t=function(){i();for(var e=0;e<o.length;e++){var t=o[e];
1t.removeEventListener("cuechange",i),"showing"===t.mode&&t.addEventListener("cuechange",i)}})(),o.addEventListener("change",t),this.on("dispose",function(){o.removeEventListener("change",t)}))},s.prototype.textTracks=function(){return this.textTracks_=this.textTracks_||new u.default,this.textTracks_},s.prototype.remoteTextTracks=function(){return this.remoteTextTracks_=this.remoteTextTracks_||new u.default,this.remoteTextTracks_},s.prototype.remoteTextTrackEls=function(){return this.remoteTextTrackEls_=this.remoteTextTrackEls_||new a.default,this.remoteTextTrackEls_},s.prototype.addTextTrack=function(e,t,i){if(e)return y(this,e,t,i);throw new Error("TextTrack kind is required but was not provided")},s.prototype.addRemoteTextTrack=function(e){e=l.default(e,{tech:this}),e=new r.default(e);return this.remoteTextTrackEls().addTrackElement_(e),this.remoteTextTracks().addTrack_(e.track),this.textTracks().addTrack_(e.track),e},s.prototype.removeRemoteTextTrack=function(e){this.textTracks().removeTrack_(e);var t=this.remoteTextTrackEls().getTrackElementByTrack_(e);this.remoteTextTrackEls().removeTrackElement_(t),this.remoteTextTracks().removeTrack_(e)},s.prototype.setPoster=function(){},s.prototype.canPlayType=function(){return""},s.isTech=function(e){return e.prototype instanceof s||e instanceof s||e===s},s.registerTech=function(e,t){if(s.techs_||(s.techs_={}),s.isTech(t))return s.techs_[e]=t;throw new Error("Tech "+e+" must be a Tech")},s.getTech=function(e){return s.techs_&&s.techs_[e]?s.techs_[e]:g.default&&g.default.videojs&&g.default.videojs[e]?(d.default.warn("The "+e+" tech was added to the videojs object when it should be registered using videojs.registerTech(name, tech)"),g.default.videojs[e]):void 0},s})(o.default),y=(e.prototype.textTracks_,function(e,t,i,n){var o=arguments.length<=4||void 0===arguments[4]?{}:arguments[4],s=e.textTracks(),t=(o.kind=t,i&&(o.label=i),n&&(o.language=n),o.tech=e,new c.default(o));return s.addTrack_(t),t});e.prototype.featuresVolumeControl=!0,e.prototype.featuresFullscreenResize=!1,e.prototype.featuresPlaybackRate=!1,e.prototype.featuresProgressEvents=!1,e.prototype.featuresTimeupdateEvents=!1,e.prototype.featuresNativeTextTracks=!1,e.withSourceHandlers=function(o){o.registerSourceHandler=function(e,t){var i=(i=o.sourceHandlers)||(o.sourceHandlers=[]);void 0===t&&(t=i.length),i.splice(t,0,e)},o.canPlayType=function(e){for(var t,i=o.sourceHandlers||[],n=0;n<i.length;n++)if(t=i[n].canPlayType(e))return t;return""},o.selectSourceHandler=function(e){for(var t=o.sourceHandlers||[],i=0;i<t.length;i++)if(t[i].canHandleSource(e))return t[i];return null},o.canPlaySource=function(e){var t=o.selectSourceHandler(e);return t?t.canHandleSource(e):""};["seekable","duration"].forEach(function(e){var t=this[e];"function"==typeof t&&(this[e]=function(){return this.sourceHandler_&&this.sourceHandler_[e]?this.sourceHandler_[e].apply(this.sourceHandler_,arguments):t.apply(this,arguments)})},o.prototype),o.prototype.setSource=function(e){var t=o.selectSourceHandler(e);return t||(o.nativeSourceHandler?t=o.nativeSourceHandler:d.default.error("No source hander found for the current source.")),this.disposeSourceHandler(),this.off("dispose",this.disposeSourceHandler),this.currentSource_=e,this.sourceHandler_=t.handleSource(e,this),this.on("dispose",this.disposeSourceHandler),this},o.prototype.disposeSourceHandler=function(){this.sourceHandler_&&this.sourceHandler_.dispose&&this.sourceHandler_.dispose()}},o.default.registerComponent("Tech",e),o.default.registerComponent("MediaTechController",e),e.registerTech("Tech",e),i.default=e,t.exports=i.default},{"../component":67,"../media-error.js":103,"../tracks/html-track-element":121,"../tracks/html-track-element-list":120,"../tracks/text-track":128,"../tracks/text-track-list":126,"../utils/buffer.js":130,"../utils/fn.js":134,"../utils/log.js":137,"../utils/merge-options.js":138,"../utils/time-ranges.js":140,"global/document":1,"global/window":2}],120:[function(e,t,i){i.__esModule=!0;var a=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/browser.js")),e=e("global/document"),l=(e=e)&&e.__esMo
1dule?e:{default:e};function c(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=this,i=c;if(!(t instanceof i))throw new TypeError("Cannot call a class as a function");var n=this;if(a.IS_IE8)for(var o in n=l.default.createElement("custom"),c.prototype)"constructor"!==o&&(n[o]=c.prototype[o]);n.trackElements_=[],Object.defineProperty(n,"length",{get:function(){return this.trackElements_.length}});for(var s=0,r=e.length;s<r;s++)n.addTrackElement_(e[s]);if(a.IS_IE8)return n}c.prototype.addTrackElement_=function(e){this.trackElements_.push(e)},c.prototype.getTrackElementByTrack_=function(e){for(var t=void 0,i=0,n=this.trackElements_.length;i<n;i++)if(e===this.trackElements_[i].track){t=this.trackElements_[i];break}return t},c.prototype.removeTrackElement_=function(e){for(var t=0,i=this.trackElements_.length;t<i;t++)if(e===this.trackElements_[t]){this.trackElements_.splice(t,1);break}},i.default=c,t.exports=i.default},{"../utils/browser.js":129,"global/document":1}],121:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var c=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/browser.js")),u=n(e("global/document")),o=n(e("../event-target")),h=n(e("../tracks/text-track")),e=(a=>{var e=l,t=a;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function l(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=this,i=l;if(!(t instanceof i))throw new TypeError("Cannot call a class as a function");a.call(this);var n=void 0,o=this;if(c.IS_IE8)for(var s in o=u.default.createElement("custom"),l.prototype)"constructor"!==s&&(o[s]=l.prototype[s]);var r=new h.default(e);if(o.kind=r.kind,o.src=r.src,o.srclang=r.language,o.label=r.label,o.default=r.default,Object.defineProperty(o,"readyState",{get:function(){return n}}),Object.defineProperty(o,"track",{get:function(){return r}}),n=0,r.addEventListener("loadeddata",function(){n=2,o.trigger({type:"load",target:o})}),c.IS_IE8)return o}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),l})(o.default);e.prototype.allowedEvents_={load:"load"},e.NONE=0,e.LOADING=1,e.LOADED=2,e.ERROR=3,i.default=e,t.exports=i.default},{"../event-target":99,"../tracks/text-track":128,"../utils/browser.js":129,"global/document":1}],122:[function(e,t,i){i.__esModule=!0;var n=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/browser.js")),e=e("global/document"),o=(e=e)&&e.__esModule?e:{default:e};function s(e){if(!(this instanceof s))throw new TypeError("Cannot call a class as a function");var t=this;if(n.IS_IE8)for(var i in t=o.default.createElement("custom"),s.prototype)"constructor"!==i&&(t[i]=s.prototype[i]);if(s.prototype.setCues_.call(t,e),Object.defineProperty(t,"length",{get:function(){return this.length_}}),n.IS_IE8)return t}s.prototype.setCues_=function(e){function t(e){""+e in this||Object.defineProperty(this,""+e,{get:function(){return this.cues_[e]}})}var i=this.length||0,n=0,o=e.length;this.cues_=e,this.length_=e.length;if(i<o)for(n=i;n<o;n++)t.call(this,n)},s.prototype.getCueById=function(e){for(var t=null,i=0,n=this.length;i<n;i++){var o=this[i];if(o.id===e){t=o;break}}return t},i.default=s,t.exports=i.default},{"../utils/browser.js":129,"global/document":1}],123:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("../component")),s=(n(e("../menu/menu.js")),n(e("../menu/menu-item.js")),n(e("../menu/menu-button.js")),(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("../utils/fn.js"))),a=(n(e("global/document")),n(e("global/window"))),l={monospace:"monospace",sansSerif:"sans-serif",serif:"serif",monospaceSansSerif:'"Andale Mono", "Lucida Console", monospace',monospaceSerif:'"Courier New", monospace',proportionalSansSerif:"sans-serif",proportionalSerif:"serif",casual:'"Comic Sans MS", Impact, fantasy',
1script:'"Monotype Corsiva", cursive',smallcaps:'"Andale Mono", "Lucida Console", monospace, sans-serif'},e=(i=>{var e=o,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function o(n,e,t){if(!(this instanceof o))throw new TypeError("Cannot call a class as a function");i.call(this,n,e,t),n.on("loadstart",s.bind(this,this.toggleDisplay)),n.on("texttrackchange",s.bind(this,this.updateDisplay)),n.ready(s.bind(this,function(){if(n.tech_&&n.tech_.featuresNativeTextTracks)this.hide();else{n.on("fullscreenchange",s.bind(this,this.updateDisplay));for(var e=this.options_.playerOptions.tracks||[],t=0;t<e.length;t++){var i=e[t];this.player_.addRemoteTextTrack(i)}}}))}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),o.prototype.toggleDisplay=function(){this.player_.tech_&&this.player_.tech_.featuresNativeTextTracks?this.hide():this.show()},o.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-text-track-display"})},o.prototype.clearDisplay=function(){"function"==typeof a.default.WebVTT&&a.default.WebVTT.processCues(a.default,[],this.el_)},o.prototype.updateDisplay=function(){var e=this.player_.textTracks();if(this.clearDisplay(),e)for(var t=0;t<e.length;t++){var i=e[t];"showing"===i.mode&&this.updateForTrack(i)}},o.prototype.updateForTrack=function(e){if("function"==typeof a.default.WebVTT&&e.activeCues){for(var t=this.player_.textTrackSettings.getValues(),i=[],n=0;n<e.activeCues.length;n++)i.push(e.activeCues[n]);a.default.WebVTT.processCues(a.default,e.activeCues,this.el_);for(var o=i.length;o--;){var s,r=i[o];r&&(r=r.displayState,t.color&&(r.firstChild.style.color=t.color),t.textOpacity&&u(r.firstChild,"color",c(t.color||"#fff",t.textOpacity)),t.backgroundColor&&(r.firstChild.style.backgroundColor=t.backgroundColor),t.backgroundOpacity&&u(r.firstChild,"backgroundColor",c(t.backgroundColor||"#000",t.backgroundOpacity)),t.windowColor&&(t.windowOpacity?u(r,"backgroundColor",c(t.windowColor,t.windowOpacity)):r.style.backgroundColor=t.windowColor),t.edgeStyle&&("dropshadow"===t.edgeStyle?r.firstChild.style.textShadow="2px 2px 3px #222, 2px 2px 4px #222, 2px 2px 5px #222":"raised"===t.edgeStyle?r.firstChild.style.textShadow="1px 1px #222, 2px 2px #222, 3px 3px #222":"depressed"===t.edgeStyle?r.firstChild.style.textShadow="1px 1px #ccc, 0 1px #ccc, -1px -1px #222, 0 -1px #222":"uniform"===t.edgeStyle&&(r.firstChild.style.textShadow="0 0 4px #222, 0 0 4px #222, 0 0 4px #222, 0 0 4px #222")),t.fontPercent&&1!==t.fontPercent&&(s=a.default.parseFloat(r.style.fontSize),r.style.fontSize=s*t.fontPercent+"px",r.style.height="auto",r.style.top="auto",r.style.bottom="2px"),t.fontFamily)&&"default"!==t.fontFamily&&("small-caps"===t.fontFamily?r.firstChild.style.fontVariant="small-caps":r.firstChild.style.fontFamily=l[t.fontFamily])}}},o})(o.default);function c(e,t){return"rgba("+parseInt(e[1]+e[1],16)+","+parseInt(e[2]+e[2],16)+","+parseInt(e[3]+e[3],16)+","+t+")"}function u(e,t,i){try{e.style[t]=i}catch(e){}}o.default.registerComponent("TextTrackDisplay",e),i.default=e,t.exports=i.default},{"../component":67,"../menu/menu-button.js":104,"../menu/menu-item.js":105,"../menu/menu.js":106,"../utils/fn.js":134,"global/document":1,"global/window":2}],124:[function(e,t,i){i.__esModule=!0;i.TextTrackMode={disabled:"disabled",hidden:"hidden",showing:"showing"},i.TextTrackKind={subtitles:"subtitles",captions:"captions",descriptions:"descriptions",chapters:"chapters",metadata:"metadata"}},{}],125:[function(e,t,i){i.__esModule=!0;function n(n){return["kind","label","language","id","inBandMetadataTrackDispatchType","mode","src"].reduce(function(e,t,i){return n[t]&&(e[t]=n[t]),e},{cues:n.cues&&Array.prototype.map.call(n.cues,function(e){return{startTime:e.startTime,endTime:e.endTime,text:e.text,id:e.id}})})}i.default={textTracksToJson:function(e){var t=e.$$("track"),i=Array.prototype.map.call(t,function(e){return e.track});return Array.prototype.map.call(t,function(e){var t=n(e.track);return e.src&&(t.src=e.src),t}).concat(Array.prototype.filter.call(e.textTracks(),function(e){return-1===i.indexOf(e)}).map(n))},jsonToTextTracks:function(e,i){return e.forEach(function(e){var t=i.addRemoteTextTrack(e).track;
1!e.src&&e.cues&&e.cues.forEach(function(e){return t.addCue(e)})}),i.textTracks()},trackToJson_:n},t.exports=i.default},{}],126:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s,r=o(e("../event-target")),l=n(e("../utils/fn.js")),c=n(e("../utils/browser.js")),u=o(e("global/document")),a=(r=>{var e=a,t=r;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function a(){var e=arguments.length<=0||void 0===arguments[0]?[]:arguments[0],t=this,i=a;if(!(t instanceof i))throw new TypeError("Cannot call a class as a function");r.call(this);var n=this;if(c.IS_IE8)for(var o in n=u.default.createElement("custom"),a.prototype)"constructor"!==o&&(n[o]=a.prototype[o]);n.tracks_=[],Object.defineProperty(n,"length",{get:function(){return this.tracks_.length}});for(var s=0;s<e.length;s++)n.addTrack_(e[s]);if(c.IS_IE8)return n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),a.prototype.addTrack_=function(e){var t=this.tracks_.length;""+t in this||Object.defineProperty(this,t,{get:function(){return this.tracks_[t]}}),e.addEventListener("modechange",l.bind(this,function(){this.trigger("change")})),-1===this.tracks_.indexOf(e)&&(this.tracks_.push(e),this.trigger({track:e,type:"addtrack"}))},a.prototype.removeTrack_=function(e){for(var t=void 0,i=0,n=this.length;i<n;i++)if(this[i]===e){(t=this[i]).off&&t.off(),this.tracks_.splice(i,1);break}t&&this.trigger({track:t,type:"removetrack"})},a.prototype.getTrackById=function(e){for(var t=null,i=0,n=this.length;i<n;i++){var o=this[i];if(o.id===e){t=o;break}}return t},a})(r.default);for(s in a.prototype.allowedEvents_={change:"change",addtrack:"addtrack",removetrack:"removetrack"},a.prototype.allowedEvents_)a.prototype["on"+s]=null;i.default=a,t.exports=i.default},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"global/document":1}],127:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var s=o(e("../component")),r=n(e("../utils/events.js")),a=n(e("../utils/fn.js")),l=o(e("../utils/log.js")),c=o(e("safe-json-parse/tuple")),u=o(e("global/window")),e=(i=>{var e=n,t=i;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function n(e,t){if(!(this instanceof n))throw new TypeError("Cannot call a class as a function");i.call(this,e,t),this.hide(),void 0===t.persistTextTrackSettings&&(this.options_.persistTextTrackSettings=this.options_.playerOptions.persistTextTrackSettings),r.on(this.$(".vjs-done-button"),"click",a.bind(this,function(){this.saveSettings(),this.hide()})),r.on(this.$(".vjs-default-button"),"click",a.bind(this,function(){this.$(".vjs-fg-color > select").selectedIndex=0,this.$(".vjs-bg-color > select").selectedIndex=0,this.$(".window-color > select").selectedIndex=0,this.$(".vjs-text-opacity > select").selectedIndex=0,this.$(".vjs-bg-opacity > select").selectedIndex=0,this.$(".vjs-window-opacity > select").selectedIndex=0,this.$(".vjs-edge-style select").selectedIndex=0,this.$(".vjs-font-family select").selectedIndex=0,this.$(".vjs-font-percent select").selectedIndex=2,this.updateDisplay()})),r.on(this.$(".vjs-fg-color > select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-bg-color > select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".window-color > select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-text-opacity > select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-bg-opacity > select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-window-opacity > select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-font-percent select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-edge-style select"),"change",a.bind(this,this.updateDisplay)),r.on(this.$(".vjs-font-family select"),"change",a.bind(this,this.updateDisplay)),this.options_.persistTextTrackSettings&&this.restoreSettings()}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),n.prototype.createEl=function(){return i.prototype.createEl.call(this,"div",{className:"vjs-caption-settings vjs-modal-overlay",innerHTML:'<div class="vjs-tracksettings">\n <div class="vjs-tracksettings-colors">\n <div class="vjs-fg-color vjs-tracksetting">\n <label class="vjs-label">Foreground</label>\n <select>\n <option value="">---</option>\n <option value="#FFF">White</option>\n <option value="#000">Black</option>\n <option value="#F00">Red</option>\n <option value="#0F0">Green</option>\n <option value="#00F">Blue</option>\n <option value="#FF0">Yellow</option>\n <option value="#F0F">Magenta</option>\n <option value="#0FF">Cyan</option>\n </select>
1\n <span class="vjs-text-opacity vjs-opacity">\n <select>\n <option value="">---</option>\n <option value="1">Opaque</option>\n <option value="0.5">Semi-Opaque</option>\n </select>\n </span>\n </div> \x3c!-- vjs-fg-color --\x3e\n <div class="vjs-bg-color vjs-tracksetting">\n <label class="vjs-label">Background</label>\n <select>\n <option value="">---</option>\n <option value="#FFF">White</option>\n <option value="#000">Black</option>\n <option value="#F00">Red</option>\n <option value="#0F0">Green</option>\n <option value="#00F">Blue</option>\n <option value="#FF0">Yellow</option>\n <option value="#F0F">Magenta</option>\n <option value="#0FF">Cyan</option>\n </select>\n <span class="vjs-bg-opacity vjs-opacity">\n <select>\n <option value="">---</option>\n <option value="1">Opaque</option>\n <option value="0.5">Semi-Transparent</option>\n <option value="0">Transparent</option>\n </select>\n </span>\n </div> \x3c!-- vjs-bg-color --\x3e\n <div class="window-color vjs-tracksetting">\n <label class="vjs-label">Window</label>\n <select>\n <option value="">---</option>\n <option value="#FFF">White</option>\n <option value="#000">Black</option>\n <option value="#F00">Red</option>\n <option value="#0F0">Green</option>\n <option value="#00F">Blue</option>\n <option value="#FF0">Yellow</option>\n <option value="#F0F">Magenta</option>\n <option value="#0FF">Cyan</option>\n </select>\n <span class="vjs-window-opacity vjs-opacity">\n <select>\n <option value="">---</option>\n <option value="1">Opaque</option>\n <option value="0.5">Semi-Transparent</option>\n <option value="0">Transparent</option>\n </select>\n </span>\n </div> \x3c!-- vjs-window-color --\x3e\n </div> \x3c!-- vjs-tracksettings --\x3e\n <div class="vjs-tracksettings-font">\n <div class="vjs-font-percent vjs-tracksetting">\n <label class="vjs-label">Font Size</label>\n <select>\n <option value="0.50">50%</option>\n <option value="0.75">75%</option>\n <option value="1.00" selected>100%</option>\n <option value="1.25">125%</option>\n <option value="1.50">150%</option>\n <option value="1.75">175%</option>\n <option value="2.00">200%</option>\n <option value="3.00">300%</option>\n <option value="4.00">400%</option>\n </select>\n </div> \x3c!-- vjs-font-percent --\x3e\n <div class="vjs-edge-style vjs-tracksetting">\n <label class="vjs-label">Text Edge Style</label>\n <select>\n <option value="none">None</option>\n <option value="raised">Raised</option>\n <option value="depressed">Depressed</option>\n <option value="uniform">Uniform</option>\n <option value="dropshadow">Dropshadow</option>\n </select>\n </div> \x3c!-- vjs-edge-style --\x3e\n <div class="vjs-font-family vjs-tracksetting">\n <label class="vjs-label">Font Family</label>\n <select>\n <option value="">Default</option>\n <option value="monospaceSerif">Monospace Serif</option>\n <option value="proportionalSerif">Proportional Serif</option>\n <option value="monospaceSansSerif">Monospace Sans-Serif</option>\n <option value="proportionalSansSerif">Proportional Sans-Serif</option>\n <option value="casual">Casual</option>\n <option value="script">Script</option>\n <option value="small-caps">Small Caps</option>\n </select>\n </div> \x3c!-- vjs-font-family --\x3e\n </div>\n </div>\n <div class="vjs-tracksettings-controls">\n <button class="vjs-default-button">Defaults</button>\n <button class="vjs-done-button">Done</button>\n </div>'})},n.prototype.getValues=function(){var e,t=h(this.$(".vjs-edge-style select")),i=h(this.$(".vjs-font-family select")),n=h(this.$(".vjs-fg-color > select")),o=h(this.$(".vjs-text-opacity > select")),s=h(this.$(".vjs-bg-color > select")),r=h(this.$(".vjs-bg-opacity > select")),a=h(this.$(".window-color > select")),l={backgroundOpacity:r,textOpacity:o,windowOpacity:h(this.$(".vjs-window-opacity > select")),edgeStyle:t,fontFamily:i,color:n,backgroundColor:s,windowColor:a,fontPercent:u.default.parseFloat(h(this.$(".vjs-font-percent > select")))};for(e in l)(""===l[e]||"none"===l[e]||"fontPercent"===e&&1===l[e])&&delete l[e];return l},n.prototype.setValues=function(e){d(this.$(".vjs-edge-style select"),e.edgeStyle),d(this.$(".vjs-font-family select"),e.fontFamily),d(this.$(".vjs-fg-color > select"),e.color),d(this.$(".vjs-text-opacity > select"),e.textOpacity),d(this.$(".vjs-bg-color > select"),e.backgroundColor),d(this.$(".vjs-bg-opacity > select"),e.backgroundOpacity),d(this.$(".window-color > select"),e.windowColor),d(this.$(".vjs-window-opacity > select"),e.windowOpacity);e=(e=e.fontPercent)&&e.toFixed(2);d(this.$(".vjs-font-percent > select"),e)},n.prototype.restoreSettings=function(){var e=void 0;try{var t=c.default(u.default.localStorage.getItem("vjs-text-track-settings")),i=t[0],e=t[1];i&&l.default.error(i)}catch(e){l.default.warn(e)}e&&this.setValues(e)},n.prototype.saveSettings=function(){if(this.options_.persistTextTrackSettings){var e=this.getValues();try{0<Object.getOwnPropertyNames(e).length?u.default.localStorage.setItem("vjs-text-track-settings",JSON.stringify(e)):u.default.localStorage.removeItem("vjs-text-track-settings")}catch(e){l.default.warn(e)}}},n.prototype.updateDisplay=function(){var e=this.player_.getChild("textTrackDisplay");e&&e.updateDisplay()},n})(s.default);function h(e){var t=void 0;return e.selectedOptions?t=e.selectedOptions[0]:e.options&&(t=e.options[e.options.selectedIndex]),t.value}function d(e,t){if(t){for(var i=void 0,i=0;i<e.options.length;i++)if(e.options[i].value===t)break;e.selectedIndex=i}}s.default.registerComponent("TextTrackSettings",e),i.default=e,t.exports=i.default},{"../component":67,"../utils/events.js":133,"../utils/fn.js":134,"../utils/log.js":137,"global/window":2,"safe-json-parse/tuple":54}
1],128:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;function g(e,o){var t={uri:e};(e=l.isCrossOrigin(e))&&(t.cors=e),c.default(t,y.bind(this,function(e,t,i){if(e)return s.default.error(e,t);function n(){return u(i,o)}o.loaded_=!0,"function"!=typeof a.default.WebVTT?o.tech_&&(o.tech_.on("vttjsloaded",n),o.tech_.on("vttjserror",function(){s.default.error("vttjs failed to load, stopping trying to process "+o.src),o.tech_.off("vttjsloaded",n)})):u(i,o)}))}var v=o(e("./text-track-cue-list")),y=n(e("../utils/fn.js")),b=n(e("../utils/guid.js")),_=n(e("../utils/browser.js")),w=n(e("./text-track-enums")),s=o(e("../utils/log.js")),r=o(e("../event-target")),x=o(e("global/document")),a=o(e("global/window")),l=e("../utils/url.js"),c=o(e("xhr")),u=function(e,t){var i=new a.default.WebVTT.Parser(a.default,a.default.vttjs,a.default.WebVTT.StringDecoder());i.oncue=function(e){t.addCue(e)},i.onparsingerror=function(e){s.default.error(e)},i.onflush=function(){t.trigger({type:"loadeddata",target:t})},i.parse(e),i.flush()},e=(f=>{var e=m,t=f;if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);function m(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],t=this,i=m;if(!(t instanceof i))throw new TypeError("Cannot call a class as a function");if(f.call(this),!e.tech)throw new Error("A tech was not provided.");var n=this;if(_.IS_IE8)for(var o in n=x.default.createElement("custom"),m.prototype)"constructor"!==o&&(n[o]=m.prototype[o]);n.tech_=e.tech;var s=w.TextTrackMode[e.mode]||"disabled",r=w.TextTrackKind[e.kind]||"subtitles",a=e.label||"",l=e.language||e.srclang||"",c=e.id||"vjs_text_track_"+b.newGUID(),u=("metadata"!==r&&"chapters"!==r||(s="hidden"),n.cues_=[],n.activeCues_=[],new v.default(n.cues_)),h=new v.default(n.activeCues_),d=!1,p=y.bind(n,function(){this.activeCues,d&&(this.trigger("cuechange"),d=!1)});if("disabled"!==s&&n.tech_.on("timeupdate",p),Object.defineProperty(n,"kind",{get:function(){return r},set:function(){}}),Object.defineProperty(n,"label",{get:function(){return a}
1,set:function(){}}),Object.defineProperty(n,"language",{get:function(){return l},set:function(){}}),Object.defineProperty(n,"id",{get:function(){return c},set:function(){}}),Object.defineProperty(n,"mode",{get:function(){return s},set:function(e){w.TextTrackMode[e]&&("showing"===(s=e)&&this.tech_.on("timeupdate",p),this.trigger("modechange"))}}),Object.defineProperty(n,"cues",{get:function(){return this.loaded_?u:null},set:function(){}}),Object.defineProperty(n,"activeCues",{get:function(){if(!this.loaded_)return null;if(0!==this.cues.length){for(var e=this.tech_.currentTime(),t=[],i=0,n=this.cues.length;i<n;i++){var o=this.cues[i];(o.startTime<=e&&o.endTime>=e||o.startTime===o.endTime&&o.startTime<=e&&o.startTime+.5>=e)&&t.push(o)}if(d=!1,t.length!==this.activeCues_.length)d=!0;else for(i=0;i<t.length;i++)-1===this.activeCues_.indexOf(t[i])&&(d=!0);this.activeCues_=t,h.setCues_(this.activeCues_)}return h},set:function(){}}),e.src?(n.src=e.src,g(e.src,n)):n.loaded_=!0,_.IS_IE8)return n}return e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t),m.prototype.addCue=function(e){var t=this.tech_.textTracks();if(t)for(var i=0;i<t.length;i++)t[i]!==this&&t[i].removeCue(e);this.cues_.push(e),this.cues.setCues_(this.cues_)},m.prototype.removeCue=function(e){for(var t=!1,i=0,n=this.cues_.length;i<n;i++)this.cues_[i]===e&&(this.cues_.splice(i,1),t=!0);t&&this.cues.setCues_(this.cues_)},m})(r.default);e.prototype.allowedEvents_={cuechange:"cuechange"},i.default=e,t.exports=i.default},{"../event-target":99,"../utils/browser.js":129,"../utils/fn.js":134,"../utils/guid.js":136,"../utils/log.js":137,"../utils/url.js":142,"./text-track-cue-list":122,"./text-track-enums":124,"global/document":1,"global/window":2,xhr:56}],129:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;var o=n(e("global/document")),e=n(e("global/window")),s=e.default.navigator.userAgent,r=/AppleWebKit\/([\d.]+)/i.exec(s),r=r?parseFloat(r.pop()):null,a=/iPad/i.test(s),l=(i.IS_IPAD=a,/iPhone/i.test(s)&&!a),c=(i.IS_IPHONE=l,/iPod/i.test(s)),l=(i.IS_IPOD=c,l||a||c),a=(i.IS_IOS=l,(()=>{var e=s.match(/OS (\d+)_/i);if(e&&e[1])return e[1]})()),c=(i.IOS_VERSION=a,/Android/i.test(s)),u=(i.IS_ANDROID=c,(l=s.match(/Android (\d+)(?:\.(\d+))?(?:\.(\d+))*/i))?(a=l[1]&&parseFloat(l[1]),u=l[2]&&parseFloat(l[2]),a&&u?parseFloat(l[1]+"."+l[2]):a||null):null),l=(i.ANDROID_VERSION=u,c&&/webkit/i.test(s)&&u<2.3),a=(i.IS_OLD_ANDROID=l,c&&u<5&&r<537),l=(i.IS_NATIVE_ANDROID=a,/Firefox/i.test(s)),c=(i.IS_FIREFOX=l,/Chrome/i.test(s)),r=(i.IS_CHROME=c,/MSIE\s8\.0/.test(s)),a=(i.IS_IE8=r,!!("ontouchstart"in e.default||e.default.DocumentTouch&&o.default instanceof e.default.DocumentTouch)),l=(i.TOUCH_ENABLED=a,"backgroundSize"in o.default.createElement("video").style);i.BACKGROUND_SIZE_SUPPORTED=l},{"global/document":1,"global/window":2}],130:[function(e,t,i){i.__esModule=!0,i.bufferedPercent=function(e,t){var i,n,o=0;if(!t)return 0;e&&e.length||(e=r.createTimeRange(0,0));for(var s=0;s<e.length;s++)i=e.start(s),n=e.end(s),o+=(n=t<n?t:n)-i;return o/t};var r=e("./time-ranges.js")},{"./time-ranges.js":140}],131:[function(e,t,i){i.__esModule=!0;var e=e("./log.js"),o=(e=e)&&e.__esModule?e:{default:e},s={get:function(e,t){return e[t]},set:function(e,t,i){return e[t]=i,!0}};i.default=function(e){var t,i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1];if("function"==typeof Proxy){t={}
1,Object.keys(i).forEach(function(e){s.hasOwnProperty(e)&&(t[e]=function(){return o.default.warn(i[e]),s[e].apply(this,arguments)})});var n={v:new Proxy(e,t)};if("object"==typeof n)return n.v}return e},t.exports=i.default},{"./log.js":137}],132:[function(e,t,i){i.__esModule=!0,i.getEl=function(e){0===e.indexOf("#")&&(e=e.slice(1));return s.default.getElementById(e)},i.createEl=function(){var e=arguments.length<=0||void 0===arguments[0]?"div":arguments[0],i=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],t=arguments.length<=2||void 0===arguments[2]?{}:arguments[2],n=s.default.createElement(e);return Object.getOwnPropertyNames(i).forEach(function(e){var t=i[e];-1!==e.indexOf("aria-")||"role"===e||"type"===e?(l.default.warn(c.default(o,e,t)),n.setAttribute(e,t)):n[e]=t}),Object.getOwnPropertyNames(t).forEach(function(e){t[e];n.setAttribute(e,t[e])}),n},i.textContent=function(e,t){void 0===e.textContent?e.innerText=t:e.textContent=t},i.insertElFirst=function(e,t){t.firstChild?t.insertBefore(e,t.firstChild):t.appendChild(e)},i.getElData=function(e){var t=e[f];t=t||(e[f]=a.newGUID());p[t]||(p[t]={});return p[t]},i.hasElData=function(e){e=e[f];return!!e&&!!Object.getOwnPropertyNames(p[e]).length},i.removeElData=function(t){var e=t[f];if(e){delete p[e];try{delete t[f]}catch(e){t.removeAttribute?t.removeAttribute(f):t[f]=null}}},i.hasElClass=m,i.addElClass=g,i.removeElClass=v,i.toggleElClass=function(e,t,i){var n=m(e,t);"function"==typeof i&&(i=i(e,t));"boolean"!=typeof i&&(i=!n);if(i!==n)return(i?g:v)(e,t),e},i.setElAttributes=function(i,n){Object.getOwnPropertyNames(n).forEach(function(e){var t=n[e];null==t||!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})},i.getElAttributes=function(e){var t,i,n,o;if(t={},e&&e.attributes&&0<e.attributes.length)for(var s=(i=e.attributes).length-1;0<=s;s--)n=i[s].name,o=i[s].value,"boolean"!=typeof e[n]&&-1===",auto
1play,controls,loop,muted,default,".indexOf(","+n+",")||(o=null!==o),t[n]=o;return t},i.blockTextSelection=function(){s.default.body.focus(),s.default.onselectstart=function(){return!1}},i.unblockTextSelection=function(){s.default.onselectstart=function(){return!0}},i.findElPosition=y,i.getPointerPosition=function(e,t){var i={},n=y(e),o=e.offsetWidth,e=e.offsetHeight,s=n.top,n=n.left,r=t.pageY,a=t.pageX;t.changedTouches&&(a=t.changedTouches[0].pageX,r=t.changedTouches[0].pageY);return i.y=Math.max(0,Math.min(1,(s-r+e)/e)),i.x=Math.max(0,Math.min(1,(a-n)/o)),i},i.isEl=b,i.isTextNode=_,i.emptyEl=w,i.normalizeContent=x,i.appendContent=k,i.insertContent=function(e,t){return k(w(e),t)};(T=["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."]).raw=["Setting attributes in the second argument of createEl()\n has been deprecated. Use the third argument instead.\n createEl(type, properties, attributes). Attempting to set "," to ","."];var o=T;function n(e){return e&&e.__esModule?e:{default:e}}var s=n(e("global/document")),r=n(e("global/window")),a=(e=>{if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t})(e("./guid.js")),l=n(e("./log.js")),c=n(e("tsml"));function u(e){return"string"==typeof e&&/\S/.test(e)}function h(e){if(/\s/.test(e))throw new Error("class has illegal whitespace characters")}function d(i){return function(e,t){return u(e)?(b(t=u(t)?s.default.querySelector(t):t)?t:s.default)[i](e):s.default[i](null)}}var p={},f="vdata"+(new Date).getTime();function m(e,t){return e.classList?e.classList.contains(t):(h(t),new RegExp("(^|\\s)"+t+"($|\\s)").test(e.className))}function g(e,t){return e.classList?e.classList.add(t):m(e,t)||(e.className=(e.className+" "+t).trim()),e}function v(e,t){return e.classList?e.classList.remove(t):(h(t),e.className=e.className.split(/\s+/).filter(function(e){return e!==t}).join(" ")),e}function y(e){var t,i,n,o=void 0;return(o=e.getBoundingClientRect&&e.parentNode?e.getBoundingClientRect():o)?(e=s.default.documentElement,n=s.default.body,i=e.clientLeft||n.clientLeft||0,t=r.default.pageXOffset||n.scrollLeft,t=o.left+t-i,i=e.clientTop||n.clientTop||0,e=r.default.pageYOffset||n.scrollTop,n=o.top+e-i,{left:Math.round(t),top:Math.round(n)}):{left:0,top:0}}function b(e){return!!e&&"object"==typeof e&&1===e.nodeType}function _(e){return!!e&&"object"==typeof e&&3===e.nodeType}function w(e){for(;e.firstChild;)e.removeChild(e.firstChild);return e}function x(e){return"function"==typeof e&&(e=e()),(Array.isArray(e)?e:[e]).map(function(e){return b(e="function"==typeof e?e():e)||_(e)?e:"string"==typeof e&&/\S/.test(e)?s.default.createTextNode(e):void 0}).filter(function(e){return e})}function k(t,e){return x(e).forEach(function(e){return t.appendChild(e)}),t}var T=d("querySelector"),e=(i.$=T,d("querySelectorAll"));i.$$=e},{"./guid.js":136,"./log.js":137,"global/document":1,"global/window":2,tsml:55}],133:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}function o(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}i.__esModule=!0,i.on=u,i.off=h,i.trigger=r,i.one=function e(t,i,n){if(Array.isArray(i))return f(e,t,i,n);var o=function e(){h(t,i,e),n.apply(this,arguments)};o.guid=n.guid=n.guid||s.newGUID();u(t,i,o)},i.fixEvent=d;var l=o(e("./dom.js")),s=o(e("./guid.js")),a=n(e("global/window")),c=n(e("global/document"));function u(r,e,t){if(Array.isArray(e))return f(u,r,e,t);var a=l.getElData(r);a.handlers||(a.handlers={}
1),a.handlers[e]||(a.handlers[e]=[]),t.guid||(t.guid=s.newGUID()),a.handlers[e].push(t),a.dispatcher||(a.disabled=!1,a.dispatcher=function(e,t){if(!a.disabled){e=d(e);var i=a.handlers[e.type];if(i)for(var n=i.slice(0),o=0,s=n.length;o<s&&!e.isImmediatePropagationStopped();o++)n[o].call(r,e,t)}}),1===a.handlers[e].length&&(r.addEventListener?r.addEventListener(e,a.dispatcher,!1):r.attachEvent&&r.attachEvent("on"+e,a.dispatcher))}function h(t,e,i){if(l.hasElData(t)){var n=l.getElData(t);if(n.handlers){if(Array.isArray(e))return f(h,t,e,i);var o=function(e){n.handlers[e]=[],p(t,e)};if(e){var s=n.handlers[e];if(s)if(i){if(i.guid)for(var r=0;r<s.length;r++)s[r].guid===i.guid&&s.splice(r--,1);p(t,e)}else o(e)}else for(var a in n.handlers)o(a)}}}function r(e,t,i){var n=l.hasElData(e)?l.getElData(e):{},o=e.parentNode||e.ownerDocument;return t=d(t="string"==typeof t?{type:t,target:e}:t),n.dispatcher&&n.dispatcher.call(e,t,i),o&&!t.isPropagationStopped()&&!0===t.bubbles?r.call(null,o,t,i):o||t.defaultPrevented||(n=l.getElData(t.target),t.target[t.type]&&(n.disabled=!0,"function"==typeof t.target[t.type]&&t.target[t.type](),n.disabled=!1)),!t.defaultPrevented}function d(e){function t(){return!0}function i(){return!1}if(!e||!e.isPropagationStopped){var n,o,s,r=e||a.default.event;for(n in e={},r)"layerX"===n||"layerY"===n||"keyLocation"===n||"webkitMovementX"===n||"webkitMovementY"===n||"returnValue"===n&&r.preventDefault||(e[n]=r[n]);e.target||(e.target=e.srcElement||c.default),e.relatedTarget||(e.relatedTarget=e.fromElement===e.target?e.toElement:e.fromElement),e.preventDefault=function(){r.preventDefault&&r.preventDefault(),e.returnValue=!1,r.returnValue=!1,e.defaultPrevented=!0},e.defaultPrevented=!1,e.stopPropagation=function(){r.stopPropagation&&r.stopPropagation(),e.cancelBubble=!0,r.cancelBubble=!0,e.isPropagationStopped=t},e.isPropagationStopped=i,e.stopImmediatePropagation=function(){r.stopImmediatePropagation&&r.stopImmediatePropagation(),e.isImmediatePropagationStopped=t,e.stopPropagation()},e.isImmediatePropagationStopped=i,null!=e.clientX&&(o=c.default.documentElement,s=c.default.body,e.pageX=e.clientX+(o&&o.scrollLeft||s&&s.scrollLeft||0)-(o&&o.clientLeft||s&&s.clientLeft||0),e.pageY=e.clientY+(o&&o.scrollTop||s&&s.scrollTop||0)-(o&&o.clientTop||s&&s.clientTop||0)),e.which=e.charCode||e.keyCode,null!=e.button&&(e.button=1&e.button?0:4&e.button?1:2&e.button?2:0)}return e}function p(e,t){var i=l.getElData(e);0===i.handlers[t].length&&(delete i.handlers[t],e.removeEventListener?e.removeEventListener(t,i.dispatcher,!1):e.detachEvent&&e.detachEvent("on"+t,i.dispatcher)),Object.getOwnPropertyNames(i.handlers).length<=0&&(delete i.handlers,delete i.dispatcher,delete i.disabled),0===Object.getOwnPropertyNames(i).length&&l.removeElData(e)}function f(t,i,e,n){e.forEach(function(e){t(i,e,n)})}},{"./dom.js":132,"./guid.js":136,"global/document":1,"global/window":2}],134:[function(e,t,i){i.__esModule=!0;var o=e("./guid.js");i.bind=function(e,t,i){t.guid||(t.guid=o.newGUID());function n(){return t.apply(e,arguments)}return n.guid=i?i+"_"+t.guid:t.guid,n}},{"./guid.js":136}],135:[function(e,t,i){i.__esModule=!0,i.default=function(e){var t,i,n,o,s=arguments.length<=1||void 0===arguments[1]?e:arguments[1];return e=e<0?0:e,t=Math.floor(e%60),i=Math.floor(e/60%60),n=Math.floor(e/3600),o=Math.floor(s/60%60),s=Math.floor(s/3600),(n=0<(n=!isNaN(e)&&e!==1/0?n:i=t="-")||0<s?n+":":"")+(i=((n||10<=o)&&i<10?"0"+i:i)+":")+(t=t<10?"0"+t:t)},t.exports=i.default},{}],136:[function(e,t,i){i.__esModule=!0,i.newGUID=function(){return n++};var n=1},{}],137:[function(e,t,i){i.__esModule=!0;var e=e("global/window"),o=(e=e)&&e.__esModule?e:{default:e},s=function(){n(null,arguments)};function n(e,t){function i(){}var t=Array.prototype.slice.call(t),n=o.default.console||{log:i,warn:i,error:i};e?t.unshift(e.toUpperCase()+":"):e="log",s.history.push(t),t.unshift("VIDEOJS:"),n[e].apply?n[e].apply(n,t):n[e](t.join(" "))}s.history=[],s.error=function(){n("error",arguments)},s.warn=function(){n("warn",arguments)},i.default=s,t.exports=i.default},{"global/window":2}],138:[function(e,t,i){i.__esModule=!0,i.default=r;
1var e=e("lodash-compat/object/merge"),n=(e=e)&&e.__esModule?e:{default:e};function o(e){return e&&"object"==typeof e&&"[object Object]"===e.toString()&&e.constructor===Object}var s=function(e,t){return o(t)?o(e)?void 0:r(t):t};function r(){var e=Array.prototype.slice.call(arguments);return e.unshift({}),e.push(s),n.default.apply(null,e),e[0]}t.exports=i.default},{"lodash-compat/object/merge":40}],139:[function(e,t,i){i.__esModule=!0;var e=e("global/document"),n=(e=e)&&e.__esModule?e:{default:e};i.createStyleElement=function(e){var t=n.default.createElement("style");return t.className=e,t};i.setTextContent=function(e,t){e.styleSheet?e.styleSheet.cssText=t:e.textContent=t}},{"global/document":1}],140:[function(e,t,i){i.__esModule=!0,i.createTimeRanges=n;var e=e("./log.js"),r=(e=e)&&e.__esModule?e:{default:e};function n(e,t){return Array.isArray(e)?o(e):void 0===e||void 0===t?o():o([[e,t]])}function o(e){return void 0===e||0===e.length?{length:0,start:function(){throw new Error("This TimeRanges object is empty")},end:function(){throw new Error("This TimeRanges object is empty")}}:{length:e.length,start:s.bind(null,"start",0,e),end:s.bind(null,"end",1,e)}}function s(e,t,i,n){void 0===n&&(r.default.warn("DEPRECATED: Function '"+e+"' on 'TimeRanges' called without an index argument."),n=0);var o=n,s=i.length-1;if(o<0||s<o)throw new Error("Failed to execute '"+e+"' on 'TimeRanges': The index provided ("+o+") is greater than or equal to the maximum bound ("+s+").");return i[n][t]}i.createTimeRange=n},{"./log.js":137}],141:[function(e,t,i){i.__esModule=!0,i.default=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},t.exports=i.default},{}],142:[function(e,t,i){function n(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;function o(e){for(var t=["protocol","hostname","port","pathname","search","hash","host"],i=a.default.createElement("a"),n=(i.href=e,""===i.host&&"file:"!==i.protocol),o=void 0,s=(n&&((o=a.default.createElement("div")).innerHTML='<a href="'+e+'"></a>',i=o.firstChild,o.setAttribute("style","display:none; position:absolute;"),a.default.body.appendChild(o)),{}),r=0;r<t.length;r++)s[t[r]]=i[t[r]];return"http:"===s.protocol&&(s.host=s.host.replace(/:80$/,"")),"https:"===s.protocol&&(s.host=s.host.replace(/:443$/,"")),n&&a.default.body.removeChild(o),s}var a=n(e("global/document")),s=n(e("global/window"));i.parseUrl=o,i.getAbsoluteURL=function(e){var t;return e.match(/^https?:\/\//)||((t=a.default.createElement("div")).innerHTML='<a href="'+e+'">x</a>',e=t.firstChild.href),e},i.getFileExtension=function(e){if("string"==typeof e){e=/^(\/?)([\s\S]*?)((?:\.{1,2}|[^\/]+?)(\.([^\.\/\?]+)))(?:[\/]*|[\?].*)$/i.exec(e);if(e)return e.pop().toLowerCase()}return""};i.isCrossOrigin=function(e){var t=s.default.location,e=o(e);return(":"===e.protocol?t:e).protocol+e.host!==t.protocol+t.host}},{"global/document":1,"global/window":2}],143:[function(e,t,i){function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&(t[i]=e[i]);return t.default=e,t}function o(e){return e&&e.__esModule?e:{default:e}}i.__esModule=!0;function s(e,t,i){var n=void 0;if("string"==typeof e){if(0===e.indexOf("#")&&(e=e.slice(1)),s.getPlayers()[e])return t&&b.default.warn('Player "'+e+'" is already initialised. Options will not be applied.'),i&&s.getPlayers()[e].ready(i),s.getPlayers()[e];n=_.getEl(e)}else n=e;if(n&&n.nodeName)return n.player||d.default.players[n.playerId]||new d.default(n,t,i);throw new TypeError("The element or ID supplied is not valid. (videojs)")}var r=o(e("global/document")),a=n(e("./setup")),l=n(e("./utils/stylesheet.js")),c=o(e("./component")),u=o(e("./event-target")),h=n(e("./utils/events.js")),d=o(e("./player")),p=o(e("./plugins.js")),f=o(e("../../src/js/utils/merge-options.js")),m=n(e("./utils/fn.js")),g=o(e("./tracks/text-track.js")),v=(o(e("object.assign")),e("./utils/time-ranges.js")),y=o(e("./utils/format-time.js")),b=o(e("./utils/log.js")),_=n(e("./utils/dom.js")),w=n(e("./utils/browser.js")),x=n(e("./utils/url.js")),k=o(e("./extend.js")),T=o(e("lodash-compat/object/merge")),C=o(e("./utils/create-deprecation-proxy.js")),S=o(e("xhr")),j=o(e("./tech/tech.js")),e=(o(e("./tech/html5.js")),o(e("./tech/flash.js")),"undefined"==typeof HTMLVideoElement&&(r.default.createElement("video"),r.default.createElement("audio"),r.default.createElement("track")),_.$(".vjs-styles-defaults"));e||(e=l.createStyleElement("vjs-styles-defaults"),(r=_.$("head")).insertBefore(e,r.firstChild),l.setTextContent(e,"\n .video-js {\n width: 300px;\n height: 150px;\n }\n\n .vjs-fluid {\n padding-top: 56.25%\n }\n ")),a.autoSetupTimeout(1,s),s.VERSION="5.8.8",s.options=d.default.prototype.options_,s.getPlayers=function(){return d.default.players},s.players=C.default(d.default.players,{get:"Access to videojs.players is deprecated; use videojs.getPlayers instead",set:"Modification of videojs.players is deprecated"}),s.getComponent=c.default.getComponent,s.registerComponent=function(e,t){j.default.isTech(t)&&b.default.warn("The "+e+" tech w
1as registered as a component. It should instead be registered using videojs.registerTech(name, tech)"),c.default.registerComponent.call(c.default,e,t)},s.getTech=j.default.getTech,s.registerTech=j.default.registerTech,s.browser=w,s.TOUCH_ENABLED=w.TOUCH_ENABLED,s.extend=k.default,s.mergeOptions=f.default,s.bind=m.bind,s.plugin=p.default,s.addLanguage=function(e,t){var i;return e=(""+e).toLowerCase(),T.default(s.options.languages,((i={})[e]=t,i))[e]},s.log=b.default,s.createTimeRange=s.createTimeRanges=v.createTimeRanges,s.formatTime=y.default,s.parseUrl=x.parseUrl,s.isCrossOrigin=x.isCrossOrigin,s.EventTarget=u.default,s.on=h.on,s.one=h.one,s.off=h.off,s.trigger=h.trigger,s.xhr=S.default,s.TextTrack=g.default,s.isEl=_.isEl,s.isTextNode=_.isTextNode,s.createEl=_.createEl,s.hasClass=_.hasElClass,s.addClass=_.addElClass,s.removeClass=_.removeElClass,s.toggleClass=_.toggleElClass,s.setAttributes=_.setElAttributes,s.getAttributes=_.getElAttributes,s.emptyEl=_.emptyEl,s.appendContent=_.appendContent,s.insertContent=_.insertContent,"object"==typeof i&&"object"==typeof t&&(t.exports=s),i.default=s,t.exports=i.default},{"../../src/js/utils/merge-options.js":138,"./component":67,"./event-target":99,"./extend.js":100,"./player":108,"./plugins.js":109,"./setup":113,"./tech/flash.js":116,"./tech/html5.js":117,"./tech/tech.js":119,"./tracks/text-track.js":128,"./utils/browser.js":129,"./utils/create-deprecation-proxy.js":131,"./utils/dom.js":132,"./utils/events.js":133,"./utils/fn.js":134,"./utils/format-time.js":135,"./utils/log.js":137,"./utils/stylesheet.js":139,"./utils/time-ranges.js":140,"./utils/url.js":142,"global/document":1,"lodash-compat/object/merge":40,"object.assign":45,xhr:56}]},{},[143])(143)}),(e=>{var t=e.vttjs={},i=t.VTTCue,n=t.VTTRegion,o=e.VTTCue,s=e.VTTRegion;t.shim=function(){t.VTTCue=i,t.VTTRegion=n},t.restore=function(){t.VTTCue=o,t.VTTRegion=s}})(this),((e,t)=>{var _={"":!0,lr:!0,rl:!0},i={start:!0,middle:!0,end:!0,left:!0,right:!0};function w(e){return"string"==typeof e&&!!i[e.toLowerCase()]&&e.toLowerCase()}function x(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)e[i]=n[i]}return e}function n(e,t,i){var n=this,o=/MSIE\s8\.0/.test(navigator.userAgent),s={},r=(o?n=document.createElement("custom"):s.enumerable=!0,n.hasBeenReset=!1,""),a=!1,l=e,c=t,u=i,h=null,d="",p=!0,f="auto",m="start",g=50,v="middle",y=50,b="middle";if(Object.defineProperty(n,"id",x({},s,{get:function(){return r},set:function(e){r=""+e}})),Object.defineProperty(n,"pauseOnExit",x({},s,{get:function(){return a}
1,set:function(e){a=!!e}})),Object.defineProperty(n,"startTime",x({},s,{get:function(){return l},set:function(e){if("number"!=typeof e)throw new TypeError("Start time must be set to a number.");l=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"endTime",x({},s,{get:function(){return c},set:function(e){if("number"!=typeof e)throw new TypeError("End time must be set to a number.");c=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"text",x({},s,{get:function(){return u},set:function(e){u=""+e,this.hasBeenReset=!0}})),Object.defineProperty(n,"region",x({},s,{get:function(){return h},set:function(e){h=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"vertical",x({},s,{get:function(){return d},set:function(e){e="string"==typeof(e=e)&&!!_[e.toLowerCase()]&&e.toLowerCase();if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");d=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"snapToLines",x({},s,{get:function(){return p},set:function(e){p=!!e,this.hasBeenReset=!0}})),Object.defineProperty(n,"line",x({},s,{get:function(){return f},set:function(e){if("number"!=typeof e&&"auto"!==e)throw new SyntaxError("An invalid number or illegal string was specified.");f=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"lineAlign",x({},s,{get:function(){return m},set:function(e){e=w(e);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");m=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"position",x({},s,{get:function(){return g},set:function(e){if(e<0||100<e)throw new Error("Position must be between 0 and 100.");g=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"positionAlign",x({},s,{get:function(){return v},set:function(e){e=w(e);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");v=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"size",x({},s,{get:function(){return y},set:function(e){if(e<0||100<e)throw new Error("Size must be between 0 and 100.");y=e,this.hasBeenReset=!0}})),Object.defineProperty(n,"align",x({},s,{get:function(){return b},set:function(e){e=w(e);if(!e)throw new SyntaxError("An invalid or illegal string was specified.");b=e,this.hasBeenReset=!0}})),n.displayState=void 0,o)return n}n.prototype.getCueAsHTML=function(){return WebVTT.convertCueToDOMTree(window,this.text)},e.VTTCue=e.VTTCue||n,t.VTTCue=n})(this,this.vttjs||{}),((e,t)=>{var l={"":!0,up:!0};function c(e){return"number"==typeof e&&0<=e&&e<=100}function i(){var t=100,i=3,n=0,o=100,s=0,r=100,a="";Object.defineProperties(this,{width:{enumerable:!0,get:function(){return t},set:function(e){if(!c(e))throw new Error("Width must be between 0 and 100.");t=e}},lines:{enumerable:!0,get:function(){return i},set:function(e){if("number"!=typeof e)throw new TypeError("Lines must be set to a number.");i=e}},regionAnchorY:{enumerable:!0,get:function(){return o},set:function(e){if(!c(e))throw new Error("RegionAnchorX must be between 0 and 100.");o=e}},regionAnchorX:{enumerable:!0,get:function(){return n},set:function(e){if(!c(e))throw new Error("RegionAnchorY must be between 0 and 100.");n=e}},viewportAnchorY:{enumerable:!0,get:function(){return r},set:function(e){if(!c(e))throw new Error("ViewportAnchorY must be between 0 and 100.");r=e}},viewportAnchorX:{enumerable:!0,get:function(){return s},set:function(e){if(!c(e))throw new Error("ViewportAnchorX must be between 0 and 100.");s=e}},scroll:{enumerable:!0,get:function(){return a}
1,set:function(e){e="string"==typeof(e=e)&&!!l[e.toLowerCase()]&&e.toLowerCase();if(!1===e)throw new SyntaxError("An invalid or illegal string was specified.");a=e}}})}e.VTTRegion=e.VTTRegion||i,t.VTTRegion=i})(this,this.vttjs||{}),(e=>{var t=Object.create||function(e){if(1!==arguments.length)throw new Error("Object.create shim only accepts one parameter.");return i.prototype=e,new i};function i(){}function l(e,t){this.name="ParsingError",this.code=e.code,this.message=t||e.message}function p(e){function t(e,t,i,n){return 3600*(0|e)+60*(0|t)+(0|i)+(0|n)/1e3}e=e.match(/^(\d+):(\d{2})(:\d{2})?\.(\d{3})/);return e?e[3]?t(e[1],e[2],e[3].replace(":",""),e[4]):59<e[1]?t(e[1],e[2],0,e[4]):t(0,e[1],e[2],e[4]):null}function c(){this.values=t(null)}function u(e,t,i,n){var o,s,r=n?e.split(n):[e];for(o in r)"string"==typeof r[o]&&2===(s=r[o].split(i)).length&&t(s[0],s[1])}((l.prototype=t(Error.prototype)).constructor=l).Errors={BadSignature:{code:0,message:"Malformed WebVTT signature."},BadTimeStamp:{code:1,message:"Malformed time stamp."}},c.prototype={set:function(e,t){this.get(e)||""===t||(this.values[e]=t)},get:function(e,t,i){return i?this.has(e)?this.values[e]:t[i]:this.has(e)?this.values[e]:t},has:function(e){return e in this.values},alt:function(e,t,i){for(var n=0;n<i.length;++n)if(t===i[n]){this.set(e,t);break}},integer:function(e,t){/^-?\d+$/.test(t)&&this.set(e,parseInt(t,10))},percent:function(e,t){return!!(t.match(/^([\d]{1,3})(\.[\d]*)?%$/)&&0<=(t=parseFloat(t))&&t<=100)&&(this.set(e,t),!0)}};var f={"&":"&","<":"<",">":">","‎":"â","‏":"â"," ":"Â "},m={c:"span",i:"i",b:"b",u:"u",ruby:"ruby",rt:"rt",v:"span",lang:"span"},g={v:"title",lang:"lang"},v={rt:"ruby"};function a(e,t){function i(e){return f[e]}for(var n,o,s,r,a,l,c,u=e.document.createElement("div"),h=u,d=[];null!==(c=void 0,c=t?(c=(c=t.match(/^([^<]*)(<[^>]+>?)?/))[1]||c[2],t=t.substr(c.length),c):null);)"<"===c[0]?"/"===c[1]?d.length&&d[d.length-1]===c.substr(2).replace(">","")&&(d.pop(),h=h.parentNode):(s=p(c.substr(1,c.length-2)))?(n=e.document.createProcessingInstruction("timestamp",s),h.appendChild(n)):(o=c.match(/^<([^.\s/0-9>]+)(\.[^\s\\>]+)?([^>\\]+)?(\\?)>?$/))&&(s=o[1],r=o[3],l=a=void 0,l=m[s],n=l?((a=e.document.createElement(l)).localName=l,(l=g[s])&&r&&(a[l]=r.trim()),a):null)&&(s=h,v[(l=n).localName]&&v[l.localName]!==s.localName||(o[2]&&(n.className=o[2].substr(1).replace("."," ")),d.push(o[1]),h.appendChild(n),h=n)):h.appendChild(e.document.createTextNode((e=>{for(;o=e.match(/&(amp|lt|gt|lrm|rlm|nbsp);/);)e=e.replace(o[0],i);return e})(c)));return u}var h=[1470,1472,1475,1478,1488,1489,1490,1491,1492,1493,1494,1495,1496,1497,1498,1499,1500,1501,1502,1503,1504,1505,1506,1507,1508,1509,1510,1511,1512,1513,1514,1520,1521,1522,1523,1524,1544,1547,1549,1563,1566,1567,1568,1569,1570,1571,1572,1573,1574,1575,1576,1577,1578,1579,1580,1581,1582,1583,1584,1585,1586,1587,1588,1589,1590,1591,1592,1593,1594,1595,1596,1597,1598,1599,1600,1601,1602,1603,1604,1605,1606,1607,1608,1609,1610,1645,1646,1647,1649,1650,1651,1652,1653,1654,1655,1656,1657,1658,1659,1660,1661,1662,1663,1664,1665,1666,1667,1668,1669,1670,1671,1672,1673,1674,1675,1676,1677,1678,1679,1680,1681,1682,1683,1684,1685,1686,1687,1688,1689,1690,1691,1692,1693,1694,1695,1696,1697,1698,1699,1700,1701,1702,1703,1704,1705,1706,1707,1708,1709,1710,1711,1712,1713,1714,1715,1716,1717,1718,1719,1720,1721,1722,1723,1724,1725,1726,1727,1728,1729,1730,1731,1732,1733,1734,1735,1736,1737,1738,1739,1740,1741,1742,1743,1744,1745,1746,1747,1748,1749,1765,1766,1774,1775,1786,1787,1788,1789,1790,1791,1792,1793,1794,1795,1796,1797,1798,1799,1800,1801,1802,1803,1804,1805,1807,1808,1810,1811,1812,1813,1814,1815,1816,1817,1818,1819,1820,1821,1822,1823,1824,1825,1826,1827,1828,1829,1830,1831,1832,1833,1834,1835,1836,1837,1838,1839,1869,1870,1871,1872,1873,1874,1875,1876,1877,1878,1879,1880,1881,1882,1883,1884,1885,1886,1887,1888,1889,1890,1891,1892,1893,1894,1895,1896,1897,1898,1899,1900,1901,1902,1903,1904,1905,1906,1907,1908,1909,1910,1911,1912,1913,1914,1915,1916,1917,1918,1919,1920,1921,1922,1923,1924,1925,1926,1927,1928,1929,1930,1931,1932,1933,1934,1935,1936,1937,1938,1939,1940,1941,1942,1943,1944,1945,1946,1947,1948,1949,1950,1951,1952,1953,1954,1955,1956,1957,1969,1984,1985,1986,1987,1988,1989,1990,1991,1992,1993,1994,1995,1996,1997,1998,1999,2e3,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021,2022,2023,2024,2025,2026,2036,2037,2042,2048,2049,2050,2051,2052,2053,2054,2055,2056,2057,2058,2059,2060,2061,2062,2063,2064,2065,2066,2067,2068,2069,2074,2084,2088,2096,2097,2098,2099,2100,2101,2102,2103,2104,2105,2106,2107,2108,2109,2110,2112,2113,2114,2115,2116,2117,2118,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2142,2208,2210,2211,2212,2213,2214,2215,2216,2217,2218,2219,2220,8207,64285,64287,64288,64289,64290,64291,64292,64293,64294,64295,64296,64298,64299,64300,64301,64302,64303,64304,64305,64306,64307,64308,64309,64310,64312,64313,64314,64315,64316,64318,64320,64321,64323,64324,64326,64327,64328,64329,64330,64331,64332,64333,64334,64335,64336,64337,64338,64339,64340,64341,64342,64343,64344,64345,64346,64347,64348,64349,64350,64351,64352,64353,64354,64355,64356,64357,64358,64359,64360,64361,64362,64363,64364,64365,64366,64367,64368,64369,64370,64371,64372,64373,64374,64375,64376,6437
17,64378,64379,64380,64381,64382,64383,64384,64385,64386,64387,64388,64389,64390,64391,64392,64393,64394,64395,64396,64397,64398,64399,64400,64401,64402,64403,64404,64405,64406,64407,64408,64409,64410,64411,64412,64413,64414,64415,64416,64417,64418,64419,64420,64421,64422,64423,64424,64425,64426,64427,64428,64429,64430,64431,64432,64433,64434,64435,64436,64437,64438,64439,64440,64441,64442,64443,64444,64445,64446,64447,64448,64449,64467,64468,64469,64470,64471,64472,64473,64474,64475,64476,64477,64478,64479,64480,64481,64482,64483,64484,64485,64486,64487,64488,64489,64490,64491,64492,64493,64494,64495,64496,64497,64498,64499,64500,64501,64502,64503,64504,64505,64506,64507,64508,64509,64510,64511,64512,64513,64514,64515,64516,64517,64518,64519,64520,64521,64522,64523,64524,64525,64526,64527,64528,64529,64530,64531,64532,64533,64534,64535,64536,64537,64538,64539,64540,64541,64542,64543,64544,64545,64546,64547,64548,64549,64550,64551,64552,64553,64554,64555,64556,64557,64558,64559,64560,64561,64562,64563,64564,64565,64566,64567,64568,64569,64570,64571,64572,64573,64574,64575,64576,64577,64578,64579,64580,64581,64582,64583,64584,64585,64586,64587,64588,64589,64590,64591,64592,64593,64594,64595,64596,64597,64598,64599,64600,64601,64602,64603,64604,64605,64606,64607,64608,64609,64610,64611,64612,64613,64614,64615,64616,64617,64618,64619,64620,64621,64622,64623,64624,64625,64626,64627,64628,64629,64630,64631,64632,64633,64634,64635,64636,64637,64638,64639,64640,64641,64642,64643,64644,64645,64646,64647,64648,64649,64650,64651,64652,64653,64654,64655,64656,64657,64658,64659,64660,64661,64662,64663,64664,64665,64666,64667,64668,64669,64670,64671,64672,64673,64674,64675,64676,64677,64678,64679,64680,64681,64682,64683,64684,64685,64686,64687,64688,64689,64690,64691,64692,64693,64694,64695,64696,64697,64698,64699,64700,64701,64702,64703,64704,64705,64706,64707,64708,64709,64710,64711,64712,64713,64714,64715,64716,64717,64718,64719,64720,64721,64722,64723,64724,64725,64726,64727,64728,64729,64730,64731,64732,64733,64734,64735,64736,64737,64738,64739,64740,64741,64742,64743,64744,64745,64746,64747,64748,64749,64750,64751,64752,64753,64754,64755,64756,64757,64758,64759,64760,64761,64762,64763,64764,64765,64766,64767,64768,64769,64770,64771,64772,64773,64774,64775,64776,64777,64778,64779,64780,64781,64782,64783,64784,64785,64786,64787,64788,64789,64790,64791,64792,64793,64794,64795,64796,64797,64798,64799,64800,64801,64802,64803,64804,64805,64806,64807,64808,64809,64810,64811,64812,64813,64814,64815,64816,64817,64818,64819,64820,64821,64822,64823,64824,64825,64826,64827,64828,64829,64848,64849,64850,64851,64852,64853,64854,64855,64856,64857,64858,64859,64860,64861,64862,64863,64864,64865,64866,64867,64868,64869,64870,64871,64872,64873,64874,64875,64876,64877,64878,64879,64880,64881,64882,64883,64884,64885,64886,64887,64888,64889,64890,64891,64892,64893,64894,64895,64896,64897,64898,64899,64900,64901,64902,64903,64904,64905,64906,64907,64908,64909,64910,64911,64914,64915,64916,64917,64918,64919,64920,64921,64922,64923,64924,64925,64926,64927,64928,64929,64930,64931,64932,64933,64934,64935,64936,64937,64938,64939,64940,64941,64942,64943,64944,64945,64946,64947,64948,64949,64950,64951,64952,64953,64954,64955,64956,64957,64958,64959,64960,64961,64962,64963,64964,64965,64966,64967,65008,65009,65010,65011,65012,65013,65014,65015,65016,65017,65018,65019,65020,65136,65137,65138,65139,65140,65142,65143,65144,65145,65146,65147,65148,65149,65150,65151,65152,65153,65154,65155,65156,65157,65158,65159,65160,65161,65162,65163,65164,65165,65166,65167,65168,65169,65170,65171,65172,65173,65174,65175,65176,65177,65178,65179,65180,65181,65182,65183,65184,65185,65186,65187,65188,65189,65190,65191,65192,65193,65194,65195,65196,65197,65198,65199,65200,65201,65202,65203,65204,65205,65206,65207,65208,65209,65210,65211,65212,65213,65214,65215,65216,65217,65218,65219,65220,65221,65222,65223,65224,65225,65226,65227,65228,65229,65230,65231,65232,65233,65234,65235,65236,65237,65238,65239,65240,65241,65242,65243,65244,65245,65246,65247,65248,65249,65250,65251,65252,65253,65254,65255,65256,65257,65258,65259,65260,65261,65262,65263,65264,65265,652
166,65267,65268,65269,65270,65271,65272,65273,65274,65275,65276,67584,67585,67586,67587,67588,67589,67592,67594,67595,67596,67597,67598,67599,67600,67601,67602,67603,67604,67605,67606,67607,67608,67609,67610,67611,67612,67613,67614,67615,67616,67617,67618,67619,67620,67621,67622,67623,67624,67625,67626,67627,67628,67629,67630,67631,67632,67633,67634,67635,67636,67637,67639,67640,67644,67647,67648,67649,67650,67651,67652,67653,67654,67655,67656,67657,67658,67659,67660,67661,67662,67663,67664,67665,67666,67667,67668,67669,67671,67672,67673,67674,67675,67676,67677,67678,67679,67840,67841,67842,67843,67844,67845,67846,67847,67848,67849,67850,67851,67852,67853,67854,67855,67856,67857,67858,67859,67860,67861,67862,67863,67864,67865,67866,67867,67872,67873,67874,67875,67876,67877,67878,67879,67880,67881,67882,67883,67884,67885,67886,67887,67888,67889,67890,67891,67892,67893,67894,67895,67896,67897,67903,67968,67969,67970,67971,67972,67973,67974,67975,67976,67977,67978,67979,67980,67981,67982,67983,67984,67985,67986,67987,67988,67989,67990,67991,67992,67993,67994,67995,67996,67997,67998,67999,68e3,68001,68002,68003,68004,68005,68006,68007,68008,68009,68010,68011,68012,68013,68014,68015,68016,68017,68018,68019,68020,68021,68022,68023,68030,68031,68096,68112,68113,68114,68115,68117,68118,68119,68121,68122,68123,68124,68125,68126,68127,68128,68129,68130,68131,68132,68133,68134,68135,68136,68137,68138,68139,68140,68141,68142,68143,68144,68145,68146,68147,68160,68161,68162,68163,68164,68165,68166,68167,68176,68177,68178,68179,68180,68181,68182,68183,68184,68192,68193,68194,68195,68196,68197,68198,68199,68200,68201,68202,68203,68204,68205,68206,68207,68208,68209,68210,68211,68212,68213,68214,68215,68216,68217,68218,68219,68220,68221,68222,68223,68352,68353,68354,68355,68356,68357,68358,68359,68360,68361,68362,68363,68364,68365,68366,68367,68368,68369,68370,68371,68372,68373,68374,68375,68376,68377,68378,68379,68380,68381,68382,68383,68384,68385,68386,68387,68388,68389,68390,68391,68392,68393,68394,68395,68396,68397,68398,68399,68400,68401,68402,68403,68404,68405,68416,68417,68418,68419,68420,68421,68422,68423,68424,68425,68426,68427,68428,68429,68430,68431,68432,68433,68434,68435,68436,68437,68440,68441,68442,68443,68444,68445,68446,68447,68448,68449,68450,68451,68452,68453,68454,68455,68456,68457,68458,68459,68460,68461,68462,68463,68464,68465,68466,68472,68473,68474,68475,68476,68477,68478,68479,68608,68609,68610,68611,68612,68613,68614,68615,68616,68617,68618,68619,68620,68621,68622,68623,68624,68625,68626,68627,68628,68629,68630,68631,68632,68633,68634,68635,68636,68637,68638,68639,68640,68641,68642,68643,68644,68645,68646,68647,68648,68649,68650,68651,68652,68653,68654,68655,68656,68657,68658,68659,68660,68661,68662,68663,68664,68665,68666,68667,68668,68669,68670,68671,68672,68673,68674,68675,68676,68677,68678,68679,68680,126464,126465,126466,126467,126469,126470,126471,126472,126473,126474,126475,126476,126477,126478,126479,126480,126481,126482,126483,126484,126485,126486,126487,126488,126489,126490,126491,126492,126493,126494,126495,126497,126498,126500,126503,126505,126506,126507,126508,126509,126510,126511,126512,126513,126514,126516,126517,126518,126519,126521,126523,126530,126535,126537,126539,126541,126542,126543,126545,126546,126548,126551,126553,126555,126557,126559,126561,126562,126564,126567,126568,126569,126570,126572,126573,126574,126575,126576,126577,126578,126580,126581,126582,126583,126585,126586,126587,126588,126590,126592,126593,126594,126595,126596,126597,126598,126599,126600,126601,126603,126604,126605,126606,126607,126608,126609,126610,126611,126612,126613,126614,126615,126616,126617,126618,126619,126625,126626,126627,126629,126630,126631,126632,126633,126635,126636,126637,126638,126639,126640,126641,126642,126643,126644,126645,126646,126647,126648,126649,126650,126651,1114109];function d(e){var t=[],i="";if(e&&e.childNodes)for(r(t,e);i=function e(t){var i,n,o;return t&&t.length?(n=(i=t.pop()).textContent||i.innerText)?(o=n.match(/^.*(\n|\r)/))?o[t.length=0]:n:"ruby"===i.tagName?e(t):i.childNodes?(r(t,i),e(t)):void 0:null}(t);)for(var n=0;n<i.length;n++)for(var o=i.charCodeAt(n),s=0;s<h.length;s++)if(h[s]===o)return"rtl";return"ltr";function r(e,t){for(var i=t.childNodes.length-1;0<=i;i--)e.push(t.childNodes[i])}}function y(){}function b(e,t,i){var n=/MSIE\s8\.0/.test(navigator.userAgent),o="rgba(255, 255, 255, 1)",s="rgba(0, 0, 0, 0.8)",o=(n&&(o="rgb(255, 255, 255)",s="rgb(0, 0, 0)"),y.call(this),this.cue=t,this.cueDiv=a(e,t.text),{color:o,backgroundColor:s,position:"relative",left:0,right:0,top:0,bottom:0,display:"inline"}
vendor: 6,606 bytes, line 1
1),r=(n||(o.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl",o.unicodeBidi="plaintext"),this.applyStyles(o,this.cueDiv),this.div=e.document.createElement("div"),o={textAlign:"middle"===t.align?"center":t.align,font:i.font,whiteSpace:"pre-line",position:"absolute"},n||(o.direction=d(this.cueDiv),o.writingMode=""===t.vertical?"horizontal-tb":"lr"===t.vertical?"vertical-lr":"vertical-rl".stylesunicodeBidi="plaintext"),this.applyStyles(o),this.div.appendChild(this.cueDiv),0);switch(t.positionAlign){case"start":r=t.position;break;case"middle":r=t.position-t.size/2;break;case"end":r=t.position-t.size}""===t.vertical?this.applyStyles({left:this.formatStyle(r,"%"),width:this.formatStyle(t.size,"%")}):this.applyStyles({top:this.formatStyle(r,"%"),height:this.formatStyle(t.size,"%")}),this.move=function(e){this.applyStyles({top:this.formatStyle(e.top,"px"),bottom:this.formatStyle(e.bottom,"px"),left:this.formatStyle(e.left,"px"),right:this.formatStyle(e.right,"px"),height:this.formatStyle(e.height,"px"),width:this.formatStyle(e.width,"px")})}}function _(e){var t,i,n,o,s=/MSIE\s8\.0/.test(navigator.userAgent);e.div&&(t=e.div.offsetHeight,i=e.div.offsetWidth,n=e.div.offsetTop,o=(o=(o=e.div.childNodes)&&o[0])&&o.getClientRects&&o.getClientRects(),e=e.div.getBoundingClientRect(),o=o?Math.max(o[0]&&o[0].height||0,e.height/o.length):0),this.left=e.left,this.right=e.right,this.top=e.top||n,this.height=e.height||t,this.bottom=e.bottom||n+(e.height||t),this.width=e.width||i,this.lineHeight=void 0!==o?o:e.lineHeight,s&&!this.lineHeight&&(this.lineHeight=13)}function w(e,t,a,l){var i,n=new _(t),o=t.cue,s=(e=>{if("number"==typeof e.line&&(e.snapToLines||0<=e.line&&e.line<=100))return e.line;if(!e.track||!e.track.textTrackList||!e.track.textTrackList.mediaElement)return-1;for(var t=e.track,i=t.textTrackList,n=0,o=0;o<i.length&&i[o]!==t;o++)"showing"===i[o].mode&&n++;return-1*++n})(o),r=[];if(o.snapToLines){switch(o.vertical){case"":r=["+y","-y"],i="height";break;case"rl":r=["+x","-x"],i="width";break;case"lr":r=["-x","+x"],i="width"}var c=n.lineHeight,u=c*Math.round(s),h=a[i]+c,d=r[0];Math.abs(u)>h&&(u=u<0?-1:1,u*=Math.ceil(h/c)*c),s<0&&(u+=""===o.vertical?a.height:a.width,r=r.reverse()),n.move(d,u)}else{var p=n.lineHeight/a.height*100;switch(o.lineAlign){case"middle":s-=p/2;break;case"end":s-=p}switch(o.vertical){case"":t.applyStyles({top:t.formatStyle(s,"%")});break;case"rl":t.applyStyles({left:t.formatStyle(s,"%")});break;case"lr":t.applyStyles({right:t.formatStyle(s,"%")})}r=["+y","-x","+x","-y"],n=new _(t)}h=((e,t)=>{for(var i,n=new _(e),o=1,s=0;s<t.length;s++){for(;e.overlapsOppositeAxis(a,t[s])||e.within(a)&&e.overlapsAny(l);)e.move(t[s]);if(e.within(a))return e;var r=e.intersectPercentage(a);r<o&&(i=new _(e),o=r),e=new _(n)}return i||n})(n,r);t.move(h.toCSSCompatValues(a))}function n(){}y.prototype.applyStyles=function(e,t){for(var i in t=t||this.div,e)e.hasOwnProperty(i)&&(t.style[i]=e[i])},y.prototype.formatStyle=function(e,t){return 0===e?0:e+t},(b.prototype=t(y.prototype)).constructor=b,_.prototype.move=function(e,t){switch(t=void 0!==t?t:this.lineHeight,e){case"+x":this.left+=t,this.right+=t;break;case"-x":this.left-=t,this.right-=t;break;case"+y":this.top+=t,this.bottom+=t;break;case"-y":this.top-=t,this.bottom-=t}},_.prototype.overlaps=function(e){return this.left<e.right&&this.right>e.left&&this.top<e.bottom&&this.bottom>e.top},_.prototype.overlapsAny=function(e){for(var t=0;t<e.length;t++)if(this.overlaps(e[t]))return!0;return!1},_.prototype.within=function(e){return this.top>=e.top&&this.bottom<=e.bottom&&this.left>=e.left&&this.right<=e.right},_.prototype.overlapsOppositeAxis=function(e,t){switch(t){case"+x":return this.left<e.left;case"-x":return this.right>e.right;case"+y":return this.top<e.top;case"-y":return this.bottom>e.bottom}},_.prototype.intersectPercentage=function(e){return Math.max(0,Math.min(this.right,e.right)-Math.max(this.left,e.left))*Math.max(0,Math.min(this.bottom,e.bottom)-Math.max(this.top,e.top))/(this.height*this.width)},_.prototype.toCSSCompatValues=function(e){return{top:this.top-e.top,bottom:e.bottom-this.bottom,left:this.left-e.left,right:e.right-this.right,height:this.height,width:this.width}},_.getSimpleBoxPosition=function(e){var t=e.div?e.div.offsetHeight:e.tagName?e.offsetHeight:0,i=e.div?e.div.offsetWidth:e.tagName?e.offsetWidth:0,n=e.div?e.div.offsetTop:e.tagName?e.offsetTop:0;return{left:(e=e.div?e.div.getBoundingClientRect():e.tagName?e.getBoundingClientRect():e).left,right:e.right,top:e.top||n,height:e.height||t,bottom:e.bottom||n+(e.height||t),width:e.width||i}},n.StringDecoder=function(){return{decode:function(e){if(!e)return"";if("string"!=typeof e)throw new Error("Error - expected string data.");return decodeURIComponent(encodeURIComponent(e))}}},n.convertCueToDOMTree=function(e,t){return e&&t?a(e,t):null},n.processCues=function(e,t,i){if(!e||!t||!i)return null;for(;i.firstChild;)i.removeChild(i.firstChild);var n=e.document.createElement("div");if(n.style.position="absolute",n.style.left="0",n.style.right="0",n.style.top="0",n.style.bottom="0",n.style.margin="1.5%",i.appendChild(n),(e=>{for(var t=0;t<e.length;t++)if(e[t].hasBeenReset||!e[t].displayState)return 1})(t))for(var o,s,r=[],a=_.getSimpleBoxPosition(n),l={font:Math.round(.05*a.height*100)/100+"px sans-serif"},c=0;c<t.length;c++)o=new b(e,s=t[c],l),n.appendChild(o.div),w(0,o,a,r),s.displayState=o.div,r.push(_.getSimpleBoxPosition(o));else for(var u=0;u<t.length;u++)n.appendChild(t[u].displayState)},(n.Parser=function(e,t,i){i||(i=t,t={}),t=t||{},this.window=e,this.vttjs=t,this.state="INITIAL",this.buffer="",this.decoder=i||new TextDecoder("utf8"),this.regionList=[]}).prototype={reportOrThrowError:function(e){if(!(e instanceof l))throw e;this.onparsingerror&&this.onparsingerror(e)},parse:function(e){var n=this;function t(){for(var e=n.buffer,t=0;t<e.length&&"\r"!==e[t]&&"\n"!==e[t];)++t;var i=e.substr(0,t);return"\r"===e[t]&&++t,"\n"===e[t]&&++t,n.buffer=e.substr(t),i}function i(e){u(e,function(e,t){var o;"Region"===e&&(e=t,o=new c,u(e,function(e,t){switch(e){case"id":o.set(e,t);break;case"width":o.percent(e,t);break;case"lines":o.integer(e,t);break;case"regionanchor":case"viewportanchor":var i,n=t.split(",");2===n.length&&((i=new c).percent("x",n[0]),i.percent("y",n[1]),i.has("x")&&i.has("y"))&&(o.set(e+"X",i.get("x")),o.set(e+"Y",i.get("y")));break;case"scroll":o.alt(e,t,["up"])}},/=/,/\s/),o.has("id"))&&((e=new(n.vttjs.VTTRegion||n.window.VTTRegion)).width=o.get("width",100),e.lines=o.get("lines",3),e.regionAnchorX=o.get("regionanchorX",0),e.regi
1onAnchorY=o.get("regionanchorY",100),e.viewportAnchorX=o.get("viewportanchorX",0),e.viewportAnchorY=o.get("viewportanchorY",100),e.scroll=o.get("scroll",""),n.onregion&&n.onregion(e),n.regionList.push({id:o.get("id"),region:e}))},/:/)}e&&(n.buffer+=n.decoder.decode(e,{stream:!0}));try{if("INITIAL"===n.state){if(!/\r\n|\n/.test(n.buffer))return this;var o,s=(o=t()).match(/^WEBVTT([ \t].*)?$/);if(!s||!s[0])throw new l(l.Errors.BadSignature);n.state="HEADER"}for(var r=!1;n.buffer;){if(!/\r\n|\n/.test(n.buffer))return this;switch(r?r=!1:o=t(),n.state){case"HEADER":/:/.test(o)?i(o):o||(n.state="ID");continue;case"NOTE":o||(n.state="ID");continue;case"ID":if(/^NOTE($|[ \t])/.test(o)){n.state="NOTE";break}if(!o)continue;if(n.cue=new(n.vttjs.VTTCue||n.window.VTTCue)(0,0,""),n.state="CUE",-1===o.indexOf("--\x3e")){n.cue.id=o;continue}case"CUE":try{((t,e,s)=>{var i,r,n=t;function o(){var e=p(t);if(null===e)throw new l(l.Errors.BadTimeStamp,"Malformed timestamp: "+n);return t=t.replace(/^[^\sa-zA-Z-]+/,""),e}function a(){t=t.replace(/^\s+/,"")}if(a(),e.startTime=o(),a(),"--\x3e"!==t.substr(0,3))throw new l(l.Errors.BadTimeStamp,"Malformed time stamp (time stamps must be separated by '--\x3e'): "+n);t=t.substr(3),a(),e.endTime=o(),a(),i=t,e=e,r=new c,u(i,function(e,t){switch(e){case"region":for(var i=s.length-1;0<=i;i--)if(s[i].id===t){r.set(e,s[i].region);break}break;case"vertical":r.alt(e,t,["rl","lr"]);break;case"line":var n=t.split(","),o=n[0];r.integer(e,o),r.percent(e,o)&&r.set("snapToLines",!1),r.alt(e,o,["auto"]),2===n.length&&r.alt("lineAlign",n[1],["start","middle","end"]);break;case"position":n=t.split(","),r.percent(e,n[0]),2===n.length&&r.alt("positionAlign",n[1],["start","middle","end"]);break;case"size":r.percent(e,t);break;case"align":r.alt(e,t,["start","middle","end","left","right"])}},/:/,/\s/),e.region=r.get("region",null),e.vertical=r.get("vertical",""),e.line=r.get("line","auto"),e.lineAlign=r.get("lineAlign","start"),e.snapToLines=r.get("snapToLines",!0),e.size=r.get("size",100),e.align=r.get("align","middle"),e.position=r.get("position",{start:0,left:0,middle:50,end:100,right:100},e.align),e.positionAlign=r.get("positionAlign",{start:"start",left:"start",middle:"middle",end:"end",right:"end"},e.align)})(o,n.cue,n.regionList)}catch(e){n.reportOrThrowError(e),n.cue=null,n.state="BADCUE";continue}n.state="CUETEXT";continue;case"CUETEXT":var a=-1!==o.indexOf("--\x3e");if(!o||a&&(r=!0)){n.oncue&&n.oncue(n.cue),n.cue=null,n.state="ID";continue}n.cue.text&&(n.cue.text+="\n"),n.cue.text+=o;continue;case"BADCUE":o||(n.state="ID");continue}}}catch(e){n.reportOrThrowError(e),"CUETEXT"===n.state&&n.cue&&n.oncue&&n.oncue(n.cue),n.cue=null,n.state="INITIAL"===n.state?"BADWEBVTT":"BADCUE"}return this},flush:function(){var t=this;try{if(t.buffer+=t.decoder.decode(),!t.cue&&"HEADER"!==t.state||(t.buffer+="\n\n",t.parse()),"INITIAL"===t.state)throw new l(l.Errors.BadSignature)}catch(e){t.reportOrThrowError(e)}return t.onflush&&t.onflush(),this}},e.WebVTT=n})(this,this.vttjs),(()=>{var e,t,i,n,o,s,r;s=window,(r=s&&s.videojs)&&(r.CDN_VERSION="5.8.8",s="https:"===s.location.protocol?"https://":"http://",r.options.flash.swf=s+"vjs.zencdn.net/swf/5.0.1/video-js.swf"),r=new Image,s=window,e=navigator,t=encodeURIComponent,i=Math,!s||!1===s.HELP_IMPROVE_VIDEOJS||.01<i.random()||(n=s.location,o=s.videojs||{},r.src="//www.google-analytics.com/__utm.gif?utmwv=5.4.2&utmac=UA-16505296-3&utmn=1&utmhn="+t(n.hostname)+"&utmsr="+s.screen.availWidth+"x"+s.screen.availHeight+"&utmul="+(e.language||e.userLanguage||"").toLowerCase()+"&utmr="+t(n.href)+"&utmp="+t(n.hostname+n.pathname)+"&utmcc=__utma%3D1."+i.floor(1e10*i.random())+".1.1.1.1%3B&utme=8(vjsv*cdnv)9("+o.VERSION+"*"+o.CDN_VERSION+")")})(),null),maps_marker=null,maps_url=null,maps_load=!1;function CookiebotCallback_OnAccept(){var e;Cookiebot.consent.marketing&&(window.console&&console.log("googlemaps marketing accepted",maps_load,maps_url),maps_load=maps_load||!0,null!=maps_url)&&((e=document.createElement("script")).src=maps_url,e.type="text/javascript",jQuery("body").append(e))}function initMap(){if(null!==maps_config)for(var s in window.console&&console.log(maps_config),maps_config){var r=maps_config[s],e=(console.log("local config",r),maps_config[s].directionsDisplay=new google.maps.DirectionsRenderer,{streetViewControl:!1,scrollwheel:!1,zoom:r.zoom,mapTypeId:google.maps.MapTypeId.ROADMAP,center:{lat:r.lat,lng:r.lng}}),a=("undefined"!=typeof mapStyles&&(e.styles=mapStyles),"function"==typeof modifyGoogleMapOptions&&(e=modifyGoogleMapOptions(e,r.id)),window.console&&console.log("init options",e),new google.maps.InfoWindow({maxWidth:350}));maps_config[s].map=new google.maps.Map(document.getElementById(r.id),e),$("#directions-panel-"+r.index).empty(),maps_config[s].directionsDisplay.setMap(ma
1ps_config[s].map),maps_config[s].directionsDisplay.setPanel(document.getElementById("directions-panel-"+r.index)),1<maps_config[s].htmlItems.length&&$(".search-widget-wrapper-"+maps_config[s].index).hide(),0<maps_config[s].htmlItems.length&&maps_config[s].htmlItems.each(function(){var e,t=$(this).html(),i=+$(this).data("lat"),n=+$(this).data("lng"),o=$(this).data("marker-icon");void 0===o&&void 0!==r.icon&&(o=r.icon),1==maps_config[s].htmlItems.length&&void 0===i&&void 0===n&&(i=r.lat,n=r.lng),void 0!==i&&void 0!==n?(markerItem=new google.maps.Marker({position:new google.maps.LatLng({lat:i,lng:n}),map:maps_config[s].map,title:$(this).attr("aria-label")??"",content:t}),o&&markerItem.setIcon(o),google.maps.event.addListener(markerItem,"click",(e=markerItem,function(){a.setContent(e.content),a.open(maps_config[s].map,e)}))):window.console&&(console.log("missing data-lat or data-lng for following content element:"),console.log(t))}),autocomplete=new google.maps.places.Autocomplete(document.getElementById("gm-search"+r.index),{types:["(cities)"],componentRestrictions:{country:"de"}}),maps_config[s].places=new google.maps.places.PlacesService(maps_config[s].map),google.maps.event.addListener(autocomplete,"place_changed",function(){var e=autocomplete.getPlace();void 0!==e&&e.geometry&&(maps_config[s].start=e.geometry.location,calcRoute(maps_config[s].start,{lat:maps_config[s].lat,lng:maps_config[s].lng}))}),google.maps.event.addListener(maps_config[s].map,"dragend",function(e){window.console&&(console.log("map has been draged"),console.log(maps_config[s].map.getCenter().lat(),maps_config[s].map.getCenter().lng()))}),maps_config[s].nopan||maps_config[s].map.panBy(0,-100)}}function calcRoute(e,t){e={origin:e,destination:t,travelMode:google.maps.DirectionsTravelMode.DRIVING};(new google.maps.DirectionsService).route(e,function(e,t){t==google.maps.DirectionsStatus.OK&&maps_config.directionsDisplay.setDirections(e)})}function showSmartwebPopup(){jQuery("#smartweb-popup").addClass("popup-visible"),jQuery(document).trigger("smartweb-popup-visible")}function hideSmartwebPopup(){jQuery("#smartweb-popup").removeClass("popup-visible"),jQuery(document).trigger("smartweb-popup-closed")}function showSmartwebSlidePopup(){jQuery("#smartweb-slide-popup").addClass("popup-visible"),jQuery(document).trigger("smartweb-slide-popup-visible")}function hideSmartwebSlidePopup(){jQuery("#smartweb-slide-popup").removeClass("popup-visible"),jQuery(document).trigger("smartweb-slide-popup-closed")}jQuery(document).ready(function(){var n;maps_config=[],maps_marker=[],0<jQuery(".smartweb-map").length&&(jQuery(".smartweb-map").each(function(){var e={},t=(n=maps_config.length+1,e.id="map"+n,e.lat=+$(this).data("lat"),e.lng=+$(this).data("lng"),e.zoom=void 0!==$(this).data("zoom")?$(this).data("zoom"):8,e.htmlItems=$("> div",this),e.index=n,e.nopan=void 0!==$(this).data("nopan"),e.icon=void 0!==$(this).data("marker-icon")?$(this).data("marker-icon"):null,e.cookiebot=void 0!==$(this).data("cookiebot"),$(this).data("key"));if(maps_config.push(e),""!=e.lat&&""!=e.lng&&0<$("> div",this).length&&""!=t){if($("> div",this).remove(),$(this).append('<div id="'+e.id+'" style="'+$(this).attr("style")+'"></div>'),$(this).append('<div class="search-widget-wrapper search-widget-wrapper-'+n+" ui-widget ui-widget"+n+'"><label for="gm-search'+n+'">Route berechnen von</label><br><input id="gm-search'+n+'" aria-label="Adresse" class="gm-search" placeholder="Adresse"><input type="submit" class="gm-submit-button" id="gm-submit-button'+n+'" aria-label="Suche" value="»"></div>'),$(this).append('<div id="directions-panel-'+n+'" class="directions-panel"></div>'),$(this).hasClass("hide-form")&&$(this).find("> .directions-panel, > .ui-widget").hide(),$(this).removeAttr("style"),maps_load)return;maps_url="https://maps.googleapis.com/maps/api/js?key="+t+"&callback=initMap&libraries=places";var i=document.createElement("script");i.src=maps_url,i.type="text/javascript",e.cookiebot?(console.log("cookiebot active"),maps_load&&($("body").append(i),maps_load=!(maps_url=null))):($("body").append(i),maps_load=!0)}else window.console&&(0==$("> div",this).length&&console.log("no infowindow html found"),""==t&&console.log('no api key provided (provide with data-key="<key>")'),""==e.lat&&console.log('no latitude provided (provide with data-lat="<latitude>")'),""==e.lng)&&console.log('no longitude provided (provide with data-lng="<longitude>")');0}),$(".gm-submit-button").click(function(e){var t=$(this).closest(".smartweb-map");return""!=$(".gm-search",t).val()&&calcRoute(maps_config.start,{lat:maps_config.lat,lng:maps_config.lng}),!1}))}),jQuery(document).ready(function(){0<jQuery("#smartweb-popup").length&&(jQuery(document).on("smartweb-popup-show",function(){showSmartwebPopup()}),jQuery("#smartweb-popup .overlay-content .close, #smartweb-popup .overlay-background").click(function(){hideSmartwebPopup()}),jQuery(document).keyup(function(e){"Escape"===e.key&&hideSmartwebPopup()})),0<jQuery("#smartweb-slide-popup").length&&(jQuery(document).on("smartweb-slide-popup-show",function(){showSmartwebSlidePopup()}),jQuery("#smartweb-slide-popup .overlay-content .close, #smartweb-slide-popup .overlay-background").click(function(){hideSmartwebSlidePopup()}),jQuery(document).keyup(function(e){"Escape"===e.key&&hideSmartwebSlidePopup()}))}),$(document).ready(function(){0<$(".iframe-resizer").length&&$(".iframe-resizer").each(function(){var e,t;void 0!==$(this).attr("id")&&(e="#logging"==window.location.hash,t=$(this).attr("id"),iFrameResize({log:e,height
1CalculationMethod:"lowestElement",checkOrigin:!1},"#"+t))})});var datepickerConfig={language:"de-DE",filter:function(e,t){return console.log("this",this),console.log("date",e),console.log("view",t),!(!$(this).hasClass("enable-weekend")||"day"!==t)||(0!==e.getDay()&&6!==e.getDay()||"day"!==t)&&void 0},autoHide:!0};function checkTableForScrollbar(e){$("body").hasClass("neos-backend")||($(this).parent().hasClass("table-wrap")||e.wrap('<div class="table-wrap" style="overflow-y: hidden"></div>'),e.hasXScrollBar()?(window.console&&console.log("hasXScrollBar=true"),e.parent().addClass("table-has-scrollbar")):window.console&&console.log("hasXScrollBar=false"))}function showHideMatomoContent(){jQuery("#matomo-iframe").hide(),jQuery(".matomo-active").hide(),jQuery(".matomo-inactive").show()}function disableMatomo(){var e=new Date;e.setDate(e.getDate()+365),document.cookie="smartweb-matomo-decline=1;path=/;expires="+e.toGMTString(),showHideMatomoContent()}function hideCookieLayer(){var e=jQuery("#smartweb-eucookie-matomo-evu"),t=new Date;t.setDate(t.getDate()+365),document.cookie="smartweb-eucookie-matomo=1;path=/;expires="+t.toGMTString(),e.slideUp("slow")}(i=>{i(document).ready(function(){i(".datepicker-item").each(function(){var e,t=i(this).attr("class");i(this).hasClass("datepicker-nopast")&&(datepickerConfig.startDate=new Date);null!==(match=/datepicker-offset-(\d+)/g.exec(t))&&(t=+match[1],(e=new Date).setDate(e.getDate()+t),datepickerConfig.startDate=e),"function"==typeof modifyDatepickerConfig&&(datepickerConfig=modifyDatepickerConfig(datepickerConfig,this)),i(this).simpledatepicker(datepickerConfig)})})})(jQuery),(t=>{t(document).ready(function(){t(".timepicker-item").each(function(){var e={timeFormat:jQuery(this).data("time-format"),interval:jQuery(this).data("interval"),minTime:jQuery(this).data("min-time"),maxTime:jQuery(this).data("max-time"),dynamic:"1"==jQuery(this).data("dyamic"),dropdown:"1"==jQuery(this).data("dropdown"),scrollbar:"1"==jQuery(this).data("scrollbar")};""!=jQuery(this).data("default-time")&&(e.defaultTime=jQuery(this).data("default-time")),window.console&&console.log(e),t(this).timepicker(e),t(this).on("time-change",function(){t(this).parsley().validate()})})})})(jQuery),jQuery.fn.hasXScrollBar=function(){var e,t;if(jQuery(this)[0])return(e=jQuery(this).parent()).scrollLeft(1),t=0!=e.scrollLeft(),e.scrollLeft(0),t},$(document).ready(function(){jQuery("#main-content table, .content table").each(function(){window.console&&(console.log("Tabellen Scrollbar"),console.log($(this))),checkTableForScrollbar($(this))})}),jQuery(document).ready(function(){var t=jQuery("#smartweb-eucookie"),e=jQuery("#smartweb-eucookie button");-1===document.cookie.indexOf("smartweb-eucookie")&&setTimeout(function(){t.slideDown("slow")},1e3),e.on("click",function(){var e=new Date;e.setDate(e.getDate()+365),document.cookie="smartweb-eucookie="+escape("hide")+";path=/;expires="+e.toGMTString(),t.slideUp("slow")})}),jQuery(document).ready(function(){var e=jQuery("#smartweb-eucookie-matomo-evu"),t=jQuery("#smartweb-eucookie-matomo-evu #button_accept"),i=jQuery("#smartweb-eucookie-matomo-evu #button_decline");-1===document.cookie.indexOf("smartweb-eucookie-matomo")&&setTimeout(function(){e.slideDown("slow")},1e3),t.on("click",function(){return hideCookieLayer(),!1}),i.on("click",function(){return disableMatomo(),hideCookieLayer(),!1}),-1!==document.cookie.indexOf("smartweb-matomo-decline")&&showHideMatomoContent()}),jQuery(document).ready(function(){jQuery(".youtube-video .confirm-text > a.loadvideo").click(function(){var e=jQuery(this).closest(".preview-image"),t=e.data("video");return e.replaceWith('<iframe src="//www.youtube-nocookie.com/embed/'+t+'" height="315" width="560" allowfullscreen="" frameborder="0"></iframe>'),!1})});var error=!1,uploadFile=(jQuery(document).ready(function(){jQuery(".ajax-image-uploader").on("change",function(){error=!1;var e,t=jQuery(this).closest(".ajax-uploader-wrapper");for(e in t.find(".upload-errors").hide(),this.files){var i=this.files[e];uploadFile(i,t)}return!1}),jQuery(".field-type-forms-neos-smartweb-ajaxupload").each(function(){var e=jQuery(this),t=e.find(".
1images-uploaded"),i=e.find('input[type="hidden"]'),e=e.find(".ajax-image-uploader");0<(i=""==i.val()?[]:i.val().split("|")).length&&e.removeAttr("data-parsley-required"),t.find("span").html(i.length)})}),function(e,t){var n,o,s,r,i=new FormData;i.append("uploadImage",e),error||(n=t.find(".progress"),o=t.find(".images-uploaded"),s=t.find('input[type="hidden"]'),r=t.find(".upload-errors"),n.show(),$.ajax({url:"/smartweb/form/image-upload",type:"POST",data:i,contentType:!1,processData:!1,success:function(e){var t,i;error||(e&&!0===e.success&&e.uploadToken?((t=""==s.val()?[]:s.val().split("|")).push(e.uploadToken),s.val(t.join("|")),i=o.html(),count=t.length,0<=i.indexOf("Bilder hochgeladen")?o.find("span").html(count):o.html('<div class="images-uploaded"> Sie haben bisher <span>'+count+"</span> Bilder hochgeladen.</div>"),o.show(),n.hide(),r.hide()):(error=!0,n.hide(),r.text(e&&e.message||"Das Bild konnte nicht hochgeladen werden."),r.show()))},error:function(e,t,i){error=!0,n.hide();e=e.responseJSON&&e.responseJSON.message;r.text(e||"Das Bild konnte nicht hochgeladen werden."),r.show()}}))});function _typeof(e){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!=typeof t?_assertThisInitialized(e):t}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _inherits(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function _createClass(e,t,i){return t&&_defineProperties(e.prototype,t),i&&_defineProperties(e,i),e}var Emitter=(()=>{function e(){_classCallCheck(this,e)}return _createClass(e,[{key:"on",value:function(e,t){return this._callbacks=this._callbacks||{},this._callbacks[e]||(this._callbacks[e]=[]),this._callbacks[e].push(t),this}},{key:"emit",value:function(e){this._callbacks=this._callbacks||{};e=this._callbacks[e];if(e){for(var t=arguments.length,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var o=!0,s=!1,r=void 0;try{for(var a,l=e[Symbol.iterator]();!(o=(a=l.next()).done);o=!0)a.value.apply(this,i)}catch(e){s=!0,r=e}finally{try{o||null==l.return||l.return()}finally{if(s)throw r}}}return this}},{key:"off",value:function(e,t){if(this._callbacks&&0!==arguments.length){var i=this._callbacks[e];if(i)if(1===arguments.length)delete this._callbacks[e];else for(var n=0;n<i.length;n++)if(i[n]===t){i.splice(n,1);break}}else this._callbacks={};return this}}]),e})(),Dropzone=(()=>{function x(e,t){var i;if(_classCallCheck(this,x),(i=_possibleConstructorReturn(this,_getPrototypeOf(x).call(this))).element=e,i.version=x.version,i.defaultOptions.previewTemplate=i.defaultOptions.previewTemplate.replace(/\n*/g,""),i.clickableElements=[],i.listeners=[],i.files=[],"string"==typeof i.element&&(i.element=document.querySelector(i.element)),!i.element||null==i.element.nodeType)throw new Error("Invalid dropzone element.");if(i.element.dropzone)throw new Error("Dropzone already attached.");x.instances.push(_assertThisInitialized(i)),i.element.dropzone=_assertThisInitialized(i);var e=null!=(e=x.optionsForElement(i.element))?e:{};if(i.options=x.extend({},i.defaultOptions,e,null!=t?t:{}),i.options.forceFallback||!x.isBrowserSupported())return _possibleConstructorReturn(i,i.options.fallback.call(_assertThisInitialized(i)));if(null==i.options.url&&(i.options.url=i.element.getAttribute("action")),!i.options.url)throw new Error("No URL provided.");if(i.options.acceptedFiles&&i.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");
1if(i.options.uploadMultiple&&i.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return i.options.acceptedMimeTypes&&(i.options.acceptedFiles=i.options.acceptedMimeTypes,delete i.options.acceptedMimeTypes),null!=i.options.renameFilename&&(i.options.renameFile=function(e){return i.options.renameFilename.call(_assertThisInitialized(i),e.name,e)}),i.options.method=i.options.method.toUpperCase(),(e=i.getExistingFallback())&&e.parentNode&&e.parentNode.removeChild(e),!1!==i.options.previewsContainer&&(i.options.previewsContainer?i.previewsContainer=x.getElement(i.options.previewsContainer,"previewsContainer"):i.previewsContainer=i.element),i.options.clickable&&(!0===i.options.clickable?i.clickableElements=[i.element]:i.clickableElements=x.getElements(i.options.clickable,"clickable")),i.init(),i}return _inherits(x,Emitter),_createClass(x,null,[{key:"initClass",value:function(){this.prototype.Emitter=Emitter,this.prototype.events=["drop","dragstart","dragend","dragenter","dragover","dragleave","addedfile","addedfiles","removedfile","thumbnail","error","errormultiple","processing","processingmultiple","uploadprogress","totaluploadprogress","sending","sendingmultiple","success","successmultiple","canceled","canceledmultiple","complete","completemultiple","reset","maxfilesexceeded","maxfilesreached","queuecomplete"],this.prototype.defaultOptions={url:null,method:"post",withCredentials:!1,timeout:3e4,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(e,t,i){if(i)return{dzuuid:i.file.upload.uuid,dzchunkindex:i.index,dztotalfilesize:i.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:i.file.upload.totalChunkCount,dzchunkbyteoffset:i.index*this.options.chunkSize}},accept:function(e,t){return t()},chunksUploaded:function(e,t){t()},fallback:function(){this.element.className="".concat(this.element.className," dz-browser-not-supported");var e,t=!0,i=!1,n=void 0;try{for(var o,s=this.element.getElementsByTagName("div")[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;if(/(^| )dz-message($| )/.test(r.className)){(e=r).className="dz-message";break}}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}e||(e=x.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(e));i=e.getElementsByTagName("span")[0];return i&&(null!=i.textContent?i.textContent=this.options.dictFallbackMessage:null!=i.innerText&&(i.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(e,t,i,n){var o={srcX:0,srcY:0,srcWidth:e.width,srcHeight:e.height},s=e.width/e.height,r=(null==t&&null==i?(t=o.srcWidth,i=o.srcHeight):null==t?t=i*s:null==i&&(i=t/s),(t=Math.min(t,o.srcWidth))/(i=Math.min(i,o.srcHeight)));if(o.srcWidth>t||o.srcHeight>i)if("crop"===n)r<s?(o.srcHeight=e.height,o.srcWidth=o.srcHeight*r):(o.srcWidth=e.width,o.srcHeight=o.srcWidth/r);else{if("contain"!==n)throw new Error("Unknown resizeMethod '".concat(n,"'"));r<s?i=t/s:t=i*s}return o.srcX=(e.width-o.srcWidth)/2,o.srcY=(e.height-o.srcHeight)/2,o.trgWidth=t,o.trgHeight=i,o},transformFile:function(e,t){return(this.options.resizeWidth||this.options.resizeHeight)&&e.type.match(/image.*/)?this.resizeImage(e,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,t):t(e)},previewTemplate:'<div class="dz-preview dz-file-preview">\n <div class="dz-image"><img data-dz-thumbnail /></div>\n <div class="dz-details">\n <div class="dz-size"><span data-dz-size></span></div>\n <div class="dz-filename"><span data-dz-name></span></div>\n </div>\n <div class="dz-progress"><span class="dz-upload" data-dz-uploadprogress></span></div>\n <div class="dz-error-message"><span data-dz-errormessage></span></div>\n <div class="dz-success-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Check</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path>\n </g>\n </svg>\n </div>\n <div class="dz-error-mark">\n <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n <title>Error</title>\n <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">\n <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475">\n <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path>\n </g>\n </g>\n </svg>\n </div>\n</div>',drop:function(e){return this.element.classList.remove("dz-drag-hover")},dragstart:function(e){},dragend:function(e){return this.element.classList.remove("dz-drag-hover")},dragenter:function(e){return this.element.classList.add("dz-drag-hover")},dragover:function(e){return this.element.classList.add("dz-drag-hover")},dragleave:function(e){return this.element.classList.remove("dz-drag-hover")},paste:function(e){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(t){var i=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer){t.previewElement=x.createElement(this.options.previewTemplate.trim()),t.previewTemplate=t.previewElement,this.previewsContainer.appendChild(t.previewElement);var e=!0,n=!1,o=void 0;try{for(var s,r=t.previewElement.querySelectorAll("[data-dz-name]")[Symbol.iterator]();!(e=(s=r.next()).done);e=!0){var a=s.value;a.textContent=t.name}}catch(e){n=!0,o=e}finally{try{e||null==r.return||r.return()}finally{if(n)throw o}}var l=!0,n=!1,o=void 0;try{for(var c,u=t.previewElement.querySelectorAll("[data-dz-size]")[Symbol.iterator]();!(l=(c=u.next()).done);l=!0)(a=c.value).innerHTML=this.filesize(t.size)}catch(e){n=!0,o=e}finally{try{l||null==u.return||u.return()}finally{if(n)throw o}}this.options.addRemoveLinks&&(t._removeLink=x.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),t.previewElement.appendChild(t._removeLink));var h=function(e){return e.preventDefault(),e.stopPropagation(),t.status===x.UPLOADING?x.confirm(i.options.dictCancelUploadConfirmation,function(){return i.removeFile(t)}):i.options.dictRemoveFileConfirmation?x.confirm(i.options.dictRemoveFileConfirmation,function(){return i.removeFile(t)}):i.removeFile(t)},d=!0,n=!1,o=void 0;try{for(var p,f=t.previewElement.querySelectorAll("[data-dz-remove]")[Symbol.iterator]();!(d=(p=f.next()).done);d=!0)p.value.addEventListener("click",h)}catch(e){n=!0,o=e}finally{try{d||null==f.return||f.return()}finally{if(n)throw o}}}},removedfile:function(e){return null!=e.previewElement&&null!=e.previewElement.parentNode&&e.previewElement.parentNode.removeChild(e.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(e,t){if(e.previewElement){e.previewElement.classList.remove("dz-file-preview");var i=!0,n=!1,o=void 0;try{for(var s,r=e.previewElement.querySelectorAll("[data-dz-thumbnail]")[Symbol.iterator]();!(i=(s=r.next()).done);i=!0){var a=s.value;a.alt=e.name,a.src=t}}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}return setTimeout(function(){return e.previewElement.classList.add("dz-image-preview")},1)}},error:function(e,t){if(e.previewElement){e.previewElement.classList.add("dz-error"),"String"!=typeof t&&t.error&&(t=t.error);var i=!0,n=!1,o=void 0;try{for(var s,r=e.previewElement.querySelectorAll("[data-dz-errormessage]")[Symbol.iterator]();!(i=(s=r.next()).done);i=!0)s.value.textContent=t}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}}},errormultiple:function(){},processing:function(e){if(e.previewElement&&(e.previewElement.classList.add("dz-processing"),e._removeLink))return e._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(e,t,i){if(e.previewElement){var n=!0,o=!1,s=void 0;try{for(var r,a=e.previewElement.querySelectorAll("[data-dz-uploadprogress]")[Symbol.iterator]();!(n=(r=a.next()).done);
1n=!0){var l=r.value;"PROGRESS"===l.nodeName?l.value=t:l.style.width="".concat(t,"%")}}catch(e){o=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(e){if(e.previewElement)return e.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(e){return this.emit("error",e,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(e){if(e._removeLink&&(e._removeLink.innerHTML=this.options.dictRemoveFile),e.previewElement)return e.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},this.prototype._thumbnailQueue=[],this.prototype._processingThumbnail=!1}},{key:"extend",value:function(e){for(var t=arguments.length,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];for(var o=0,s=i;o<s.length;o++){var r,a=s[o];for(r in a){var l=a[r];e[r]=l}}return e}}]),_createClass(x,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(e){return e.accepted}).map(function(e){return e})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(e){return!e.accepted}).map(function(e){return e})}},{key:"getFilesWithStatus",value:function(t){return this.files.filter(function(e){return e.status===t}).map(function(e){return e})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(x.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(x.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(x.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(e){return e.status===x.UPLOADING||e.status===x.QUEUED}).map(function(e){return e})}},{key:"init",value:function(){var l=this,e=("form"===this.element.tagName&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(x.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length&&function a(){return l.hiddenFileInput&&l.hiddenFileInput.parentNode.removeChild(l.hiddenFileInput),l.hiddenFileInput=document.createElement("input"),l.hiddenFileInput.setAttribute("type","file"),(null===l.options.maxFiles||1<l.options.maxFiles)&&l.hiddenFileInput.setAttribute("multiple","multiple"),l.hiddenFileInput.className="dz-hidden-input",null!==l.options.acceptedFiles&&l.hiddenFileInput.setAttribute("accept",l.options.acceptedFiles),null!==l.options.capture&&l.hiddenFileInput.setAttribute("capture",l.options.capture),l.hiddenFileInput.style.visibility="hidden",l.hiddenFileInput.style.position="absolute",l.hiddenFileInput.style.top="0",l.hiddenFileInput.style.left="0",l.hiddenFileInput.style.height="0",l.hiddenFileInput.style.width="0",x.getElement(l.options.hiddenInputContainer,"hiddenInputContainer").appendChild(l.hiddenFileInput),l.hiddenFileInput.addEventListener("change",function(){var e=l.hiddenFileInput.files;if(e.length){var t=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;l.addFile(r)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}}return l.emit("addedfiles",e),a()})}(),this.URL=null!==window.URL?window.URL:window.webkitURL,!0),t=!1,i=void 0;try{for(var n,o=this.events[Symbol.iterator]();!(e=(n=o.next()).done);e=!0){var s=n.value;this.on(s,this.options[s])}}catch(e){t=!0,i=e}finally{try{e||null==o.return||o.return()}finally{if(t)throw i}}this.on("uploadprogress",function(){return l.updateTotalUploadProgress()}),this.on("removedfile",function(){return l.updateTotalUploadProgress()}),this.on("canceled",function(e){return l.emit("complete",e)}),this.on("complete",function(e){if(0===l.getAddedFiles().length&&0===l.getUploadingFiles().length&&0===l.getQueuedFiles().length)return setTimeout(function(){return l.emit("queuecomplete")},0)});function r(e){if(a(e))e.stopPropagation(),e.preventDefault?e.preventDefault():e.returnValue=!1}var a=function(e){return e.dataTransfer.types&&e.dataTransfer.types.some(function(e){return"Files"==e})};return this.listeners=[{element:this.element,events:{dragstart:function(e){return l.emit("dragstart",e)},dragenter:function(e){return r(e),l.emit("dragenter",e)},dragover:function(e){var t;try{t=e.dataTransfer.effectAllowed}catch(e){}return e.dataTransfer.dropEffect="move"===t||"linkMove"===t?"move":"copy",r(e),l.emit("dragover",e)},dragleave:function(e){return l.emit("dragleave",e)},drop:function(e){return r(e),l.drop(e)},dragend:function(e){return l.emit("dragend",e)}}}
1],this.clickableElements.forEach(function(t){return l.listeners.push({element:t,events:{click:function(e){return t===l.element&&e.target!==l.element&&!x.elementInside(e.target,l.element.querySelector(".dz-message"))||l.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),null!=this.hiddenFileInput&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,x.instances.splice(x.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var e=0,t=0;if(this.getActiveFiles().length){var i=!0,n=!1,o=void 0;try{for(var s,r=this.getActiveFiles()[Symbol.iterator]();!(i=(s=r.next()).done);i=!0){var a=s.value;e+=a.upload.bytesSent,t+=a.upload.total}}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}n=100*e/t}else n=100;return this.emit("totaluploadprogress",n,t,e)}},{key:"_getParamName",value:function(e){return"function"==typeof this.options.paramName?this.options.paramName(e):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(e,"]"):"")}},{key:"_renameFile",value:function(e){return"function"!=typeof this.options.renameFile?e.name:this.options.renameFile(e)}},{key:"getFallbackForm",value:function(){var e,t;return(t=this.getExistingFallback())||(t='<div class="dz-fallback">',this.options.dictFallbackText&&(t+="<p>".concat(this.options.dictFallbackText,"</p>")),t+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>'),t=x.createElement(t),"FORM"!==this.element.tagName?(e=x.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>'))).appendChild(t):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),null!=e?e:t)}},{key:"getExistingFallback",value:function(){for(var e,t=0,i=["div","form"];t<i.length;t++)if(e=(e=>{var t=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;if(/(^| )fallback($| )/.test(r.className))return r}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}})(this.element.getElementsByTagName(i[t])))return e}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(e){var t,i=[];for(t in e.events){var n=e.events[t];i.push(e.element.addEventListener(t,n,!1))}return i})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(e){var t,i=[];for(t in e.events){var n=e.events[t];i.push(e.element.removeEventListener(t,n,!1))}return i})}},{key:"disable",value:function(){var t=this;return this.clickableElements.forEach(function(e){return e.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(e){return t.cancelUpload(e)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(e){return e.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(e){var t=0,i="b";if(0<e){for(var n=["tb","gb","mb","kb","b"],o=0;o<n.length;o++){var s=n[o];if(Math.pow(this.options.filesizeBase,4-o)/10<=e){t=e/Math.pow(this.options.filesizeBase,4-o),i=s;break}}t=Math.round(10*t)/10}return"<strong>".concat(t,"</strong> ").concat(this.options.dictFileSizeUnits[i])}},{key:"_updateMaxFilesReachedClass",value:function(){return null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(e){if(e.dataTransfer){this.emit("drop",e);for(var t,i=[],n=0;n<e.dataTransfer.files.length;n++)i[n]=e.dataTransfer.files[n];i.length&&((t=e.dataTransfer.items)&&t.length&&null!=t[0].webkitGetAsEntry?this._addFilesFromItems(t):this.handleFiles(i)),this.emit
1("addedfiles",i)}}},{key:"paste",value:function(e){if(null!=__guard__(null!=e?e.clipboardData:void 0,function(e){return e.items}))return this.emit("paste",e),(e=e.clipboardData.items).length?this._addFilesFromItems(e):void 0}},{key:"handleFiles",value:function(e){var t=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;this.addFile(r)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}}},{key:"_addFilesFromItems",value:function(e){var t=this,i=[],n=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var l,c=r.value;null!=c.webkitGetAsEntry&&(l=c.webkitGetAsEntry())?l.isFile?i.push(t.addFile(c.getAsFile())):l.isDirectory?i.push(t._addFilesFromDirectory(l,l.name)):i.push(void 0):null!=c.getAsFile&&(null==c.kind||"file"===c.kind)?i.push(t.addFile(c.getAsFile())):i.push(void 0)}}catch(e){o=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}return i}},{key:"_addFilesFromDirectory",value:function(e,l){var c=this,t=e.createReader(),i=function(t){return __guardMethod__(console,"log",function(e){return e.log(t)})};return function a(){return t.readEntries(function(e){if(0<e.length){var t=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;r.isFile?r.file(function(e){if(!c.options.ignoreHiddenFiles||"."!==e.name.substring(0,1))return e.fullPath="".concat(l,"/").concat(e.name),c.addFile(e)}):r.isDirectory&&c._addFilesFromDirectory(r,"".concat(l,"/").concat(r.name))}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}a()}return null},i)}()}},{key:"accept",value:function(e,t){this.options.maxFilesize&&e.size>1024*this.options.maxFilesize*1024?t(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(e.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):x.isValidFile(e,this.options.acceptedFiles)?null!=this.options.maxFiles&&this.getAcceptedFiles().length>=this.options.maxFiles?(t(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",e)):this.options.accept.call(this,e,t):t(this.options.dictInvalidFileType)}},{key:"addFile",value:function(t){var i=this;t.upload={uuid:x.uuidv4(),progress:0,total:t.size,bytesSent:0,filename:this._renameFile(t)},this.files.push(t),t.status=x.ADDED,this.emit("addedfile",t),this._enqueueThumbnail(t),this.accept(t,function(e){e?(t.accepted=!1,i._errorProcessing([t],e)):(t.accepted=!0,i.options.autoQueue&&i.enqueueFile(t)),i._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(e){var t=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;this.enqueueFile(r)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}return null}},{key:"enqueueFile",value:function(e){var t=this;if(e.status!==x.ADDED||!0!==e.accepted)throw new Error("This file can't be queued because it has already been processed or was rejected.");if(e.status=x.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return t.processQueue()},0)}},{key:"_enqueueThumbnail",value:function(e){var t=this;if(this.options.createImageThumbnails&&e.type.match(/image.*/)&&e.size<=1024*this.options.maxThumbnailFilesize*1024)return this._thumbnailQueue.push(e),setTimeout(function(){return t._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var t,i=this;if(!this._processingThumbnail&&0!==this._thumbnailQueue.length)return this._processingThumbnail=!0,t=this._thumbnailQueue.shift(),this.createThumbnail(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(e){return i.emit("thumbnail",t,e),i._processingThumbnail=!1,i._processThumbnailQueue()})}},{key:"removeFile",value:function(e){if(e.status===x.UPLOADING&&this.cancelUpload(e),this.files=without(this.files,e),this.emit("removedfile",e),0===this.files.length)return this.emit("reset")}},{key:"removeAllFiles",value:function(e){null==e&&(e=!1);var t=!0,i=!1,n=void 0;try{for(var o,s=this.files.slice()[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;r.status===x.UPLOADING&&!e||this.removeFile(r)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}return null}},{key:"resizeImage",value:function(n,e,t,i,o){var s=this;return this.createThumbnail(n,e,t,i,!0,function(e,t){var i;return null==t?o(n):(null==(i=s.options.resizeMimeType)&&(i=n.type),t=t.toDataURL(i,s.options.resizeQuality),"image/jpeg"!==i&&"image/jpg"!==i||(t=ExifRestore.restore(n.dataURL,t)),o(x.dataURItoBlob(t)))})}},{key:"createThumbnail",value:function(e,t,i,n,o,s){var r=this,a=new FileReader;a.onload=function(){e.dataURL=a.result,"image/svg+xml"===e.type?null!=s&&s(a.result):r.createThumbnailFromUrl(e,t,i,n,o,s)},a.readAsDataURL(e)}}
1,{key:"displayExistingFile",value:function(t,e,i,n){var o=this,s=!(4<arguments.length&&void 0!==arguments[4])||arguments[4];this.emit("addedfile",t),this.emit("complete",t),s?(t.dataURL=e,this.createThumbnailFromUrl(t,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.resizeMethod,this.options.fixOrientation,function(e){o.emit("thumbnail",t,e),i&&i()},n)):(this.emit("thumbnail",t,e),i&&i())}},{key:"createThumbnailFromUrl",value:function(o,s,r,a,t,l,e){var c=this,u=document.createElement("img");return e&&(u.crossOrigin=e),u.onload=function(){var e=function(e){return e(1)};return(e="undefined"!=typeof EXIF&&null!==EXIF&&t?function(e){return EXIF.getData(u,function(){return e(EXIF.getTag(this,"Orientation"))})}:e)(function(e){o.width=u.width,o.height=u.height;var t=c.options.resize.call(c,o,s,r,a),i=document.createElement("canvas"),n=i.getContext("2d");switch(i.width=t.trgWidth,i.height=t.trgHeight,4<e&&(i.width=t.trgHeight,i.height=t.trgWidth),e){case 2:n.translate(i.width,0),n.scale(-1,1);break;case 3:n.translate(i.width,i.height),n.rotate(Math.PI);break;case 4:n.translate(0,i.height),n.scale(1,-1);break;case 5:n.rotate(.5*Math.PI),n.scale(1,-1);break;case 6:n.rotate(.5*Math.PI),n.translate(0,-i.width);break;case 7:n.rotate(.5*Math.PI),n.translate(i.height,-i.width),n.scale(-1,1);break;case 8:n.rotate(-.5*Math.PI),n.translate(-i.height,0)}drawImageIOSFix(n,u,null!=t.srcX?t.srcX:0,null!=t.srcY?t.srcY:0,t.srcWidth,t.srcHeight,null!=t.trgX?t.trgX:0,null!=t.trgY?t.trgY:0,t.trgWidth,t.trgHeight);e=i.toDataURL("image/png");if(null!=l)return l(e,i)})},null!=l&&(u.onerror=l),u.src=o.dataURL}},{key:"processQueue",value:function(){var e=this.options.parallelUploads,t=this.getUploadingFiles().length,i=t;if(!(e<=t)){var n=this.getQueuedFiles();if(0<n.length){if(this.options.uploadMultiple)return this.processFiles(n.slice(0,e-t));for(;i<e;){if(!n.length)return;this.processFile(n.shift()),i++}}}}},{key:"processFile",value:function(e){return this.processFiles([e])}},{key:"processFiles",value:function(e){var t=!0,i=!1,n=void 0;try{for(var o,s=e[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;r.processing=!0,r.status=x.UPLOADING,this.emit("processing",r)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}return this.options.uploadMultiple&&this.emit("processingmultiple",e),this.uploadFiles(e)}},{key:"_getFilesWithXhr",value:function(t){return this.files.filter(function(e){return e.xhr===t}).map(function(e){return e})}},{key:"cancelUpload",value:function(e){if(e.status===x.UPLOADING){var t=this._getFilesWithXhr(e.xhr),i=!0,n=!1,o=void 0;try{for(var s,r=t[Symbol.iterator]();!(i=(s=r.next()).done);i=!0)s.value.status=x.CANCELED}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}void 0!==e.xhr&&e.xhr.abort();var a=!0,n=!1,o=void 0;try{for(var l,c=t[Symbol.iterator]();!(a=(l=c.next()).done);a=!0){var u=l.value;this.emit("canceled",u)}}catch(e){n=!0,o=e}finally{try{a||null==c.return||c.return()}finally{if(n)throw o}}this.options.uploadMultiple&&this.emit("canceledmultiple",t)}else e.status!==x.ADDED&&e.status!==x.QUEUED||(e.status=x.CANCELED,this.emit("canceled",e),this.options.uploadMultiple&&this.emit("canceledmultiple",[e]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(e){if("function"!=typeof e)return e;for(var t=arguments.length,i=new Array(1<t?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];return e.apply(this,i)}},{key:"uploadFile",value:function(e){return this.uploadFiles([e])}},{key:"uploadFiles",value:function(l){var c=this;this._transformFiles(l,function(e){var t;if(c.options.chunking&&(t=e[0],l[0].upload.chunked=c.options.chunking&&(c.options.forceChunking||t.size>c.options.chunkSize),l[0].upload.totalChunkCount=Math.ceil(t.size/c.options.chunkSize)),l[0].upload.chunked){var n=l[0],o=e[0],s=(n.upload.chunks=[],function(){for(var e,t,i=0;void 0!==n.upload.chunks[i];)i++;i>=n.upload.totalChunkCount||(t=i*c.options.chunkSize,e=Math.min(t+c.options.chunkSize,n.size),t={name:c._getParamName(0),data:o.webkitSlice?o.webkitSlice(t,e):o.slice(t,e),filename:n.upload.filename,chunkIndex:i},n.upload.chunks[i]={file:n,index:i,dataBlock:t,status:x.UPLOADING,progress:0,retries:0},c._uploadData(l,[t]))});if(n.upload.finishedChunkUpload=function(e){var t=!0;e.status=x.SUCCESS,e.dataBlock=null,e.xhr=null;for(var i=0;i<n.upload.totalChunkCount;i++){if(void 0===n.upload.chunks[i])return s();n.upload.chunks[i].status!==x.SUCCESS&&(t=!1)}t&&c.options.chunksUploaded(n,function(){c._finished(l,"",null)})},c.options.parallelChunkUploads)for(var i=0;i<n.upload.totalChunkCount;i++)s();else s()}else{for(var r=[],a=0;a<l.length;a++)r[a]={name:c._getParamName(a),data:e[a],filename:l[a].upload.filename};c._uploadData(l,r)}})}},{key:"_getChunk",value:function(e,t){for(var i=0;i<e.upload.totalChunkCount;i++)if(void 0!==e.upload.chunks[i]&&e.upload.chunks[i].xhr===t)return e.upload.chunks[i]}},{key:"_uploadData",value:function(t,e){var i=this,n=new XMLHttpRequest,o=!0,s=!1,r=void 0;try{for(var a,l=t[Symbol.iterator]();!(o=(a=l.next()).done);o=!0)a.value.xhr=n}catch(e){s=!0,r=e}finally{try{o||null==l.return||l.return()}finally{if(s)throw r}}t[0].upload.chunked&&(t[0].upload.chunks[e[0].chunkIndex].xhr=n);s=this.resolveOption(this.options.method,t),r=this.resolveOption(this.options.url,t);n.open(s,r,!0),n.timeout=this.resolveOption(this.options.timeout,t),n.withCredentials=!!this.options.withCredentials,n.onload=function(e){i._finishedUploading(t,n,e)},n.ontimeout=function(){i._handleUploadError(t,n,"Request timedout after ".concat(i.options.timeout," seconds"))},n.onerror=function(){i._handleUploadError(t,n)};(null!=n.upload?n.upload:n).onprogress=function(e){return i._updateFilesUploadProgress(t,n,e)};var c,u={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};for(c in this.options.headers&&x.extend(u,this.options.headers),u){var h=u[c];h&&n.setRequestHeader(c,h)}var d=new FormData;if(this.options.params){var p,f=this.options.params;for(p in f="function"==typeof f?f.call(this,t,n,t[0].upload.chunked?this._getChunk(t[0],n):null):f){var m=f[p];d.append(p,m)}}var g=!0,s=!1,r=void 0;try{for(var v,y=t[Symbol.iterator]();!(g=(v=y.next()).done);g=!0){var b=v.value;
1this.emit("sending",b,n,d)}}catch(e){s=!0,r=e}finally{try{g||null==y.return||y.return()}finally{if(s)throw r}}this.options.uploadMultiple&&this.emit("sendingmultiple",t,n,d),this._addFormElementData(d);for(var _=0;_<e.length;_++){var w=e[_];d.append(w.name,w.data,w.filename)}this.submitRequest(n,d,t)}},{key:"_transformFiles",value:function(i,n){for(var e=this,o=[],s=0,t=0;t<i.length;t++)(t=>{e.options.transformFile.call(e,i[t],function(e){o[t]=e,++s===i.length&&n(o)})})(t)}},{key:"_addFormElementData",value:function(e){if("FORM"===this.element.tagName){var t=!0,i=!1,n=void 0;try{for(var o,s=this.element.querySelectorAll("input, textarea, select, button")[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value,a=r.getAttribute("name"),l=(l=r.getAttribute("type"))&&l.toLowerCase();if(null!=a)if("SELECT"===r.tagName&&r.hasAttribute("multiple")){var c=!0,u=!1,h=void 0;try{for(var d,p=r.options[Symbol.iterator]();!(c=(d=p.next()).done);c=!0){var f=d.value;f.selected&&e.append(a,f.value)}}catch(e){u=!0,h=e}finally{try{c||null==p.return||p.return()}finally{if(u)throw h}}}else(!l||"checkbox"!==l&&"radio"!==l||r.checked)&&e.append(a,r.value)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}}}},{key:"_updateFilesUploadProgress",value:function(e,t,i){if(void 0!==i){if(m=100*i.loaded/i.total,e[0].upload.chunked){var n=e[0],t=this._getChunk(n,t);t.progress=m,t.total=i.total,t.bytesSent=i.loaded;n.upload.progress=0,n.upload.total=0;for(var o=n.upload.bytesSent=0;o<n.upload.totalChunkCount;o++)void 0!==n.upload.chunks[o]&&void 0!==n.upload.chunks[o].progress&&(n.upload.progress+=n.upload.chunks[o].progress,n.upload.total+=n.upload.chunks[o].total,n.upload.bytesSent+=n.upload.chunks[o].bytesSent);n.upload.progress=n.upload.progress/n.upload.totalChunkCount}else{var s=!0,t=!1,r=void 0;try{for(var a,l=e[Symbol.iterator]();!(s=(a=l.next()).done);s=!0){var c=a.value;c.upload.progress=m,c.upload.total=i.total,c.upload.bytesSent=i.loaded}}catch(e){t=!0,r=e}finally{try{s||null==l.return||l.return()}finally{if(t)throw r}}}var u=!0,t=!1,r=void 0;try{for(var h,d=e[Symbol.iterator]();!(u=(h=d.next()).done);u=!0){var p=h.value;this.emit("uploadprogress",p,p.upload.progress,p.upload.bytesSent)}}catch(e){t=!0,r=e}finally{try{u||null==d.return||d.return()}finally{if(t)throw r}}}else{var f=!0,m=100,g=!0,t=!1,r=void 0;try{for(var v,y=e[Symbol.iterator]();!(g=(v=y.next()).done);g=!0){var b=v.value;
1100===b.upload.progress&&b.upload.bytesSent===b.upload.total||(f=!1),b.upload.progress=m,b.upload.bytesSent=b.upload.total}}catch(e){t=!0,r=e}finally{try{g||null==y.return||y.return()}finally{if(t)throw r}}if(!f){var _=!0,t=!1,r=void 0;try{for(var w,x=e[Symbol.iterator]();!(_=(w=x.next()).done);_=!0){var k=w.value;this.emit("uploadprogress",k,m,k.upload.bytesSent)}}catch(e){t=!0,r=e}finally{try{_||null==x.return||x.return()}finally{if(t)throw r}}}}}},{key:"_finishedUploading",value:function(e,t,i){var n;if(e[0].status!==x.CANCELED&&4===t.readyState){if("arraybuffer"!==t.responseType&&"blob"!==t.responseType&&(n=t.responseText,t.getResponseHeader("content-type"))&&~t.getResponseHeader("content-type").indexOf("application/json"))try{n=JSON.parse(n)}catch(e){i=e,n="Invalid JSON response from server."}this._updateFilesUploadProgress(e),200<=t.status&&t.status<300?e[0].upload.chunked?e[0].upload.finishedChunkUpload(this._getChunk(e[0],t)):this._finished(e,n,i):this._handleUploadError(e,t,n)}}},{key:"_handleUploadError",value:function(e,t,i){if(e[0].status!==x.CANCELED){if(e[0].upload.chunked&&this.options.retryChunks){var n=this._getChunk(e[0],t);if(n.retries++<this.options.retryChunksLimit)return void this._uploadData(e,[n.dataBlock]);console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(e,i||this.options.dictResponseError.replace("{{statusCode}}",t.status),t)}}},{key:"submitRequest",value:function(e,t,i){e.send(t)}},{key:"_finished",value:function(e,t,i){var n=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var l=r.value;l.status=x.SUCCESS,this.emit("success",l,t,i),this.emit("complete",l)}}catch(e){o=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}
1if(this.options.uploadMultiple&&(this.emit("successmultiple",e,t,i),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(e,t,i){var n=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done);n=!0){var l=r.value;l.status=x.ERROR,this.emit("error",l,t,i),this.emit("complete",l)}}catch(e){o=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}if(this.options.uploadMultiple&&(this.emit("errormultiple",e,t,i),this.emit("completemultiple",e)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})}}]),x})(),without=(Dropzone.initClass(),Dropzone.version="5.7.0",Dropzone.options={},Dropzone.optionsForElement=function(e){if(e.getAttribute("id"))return Dropzone.options[camelize(e.getAttribute("id"))]},Dropzone.instances=[],Dropzone.forElement=function(e){if(null==(null!=(e="string"==typeof e?document.querySelector(e):e)?e.dropzone:void 0))throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return e.dropzone},Dropzone.autoDiscover=!0,Dropzone.discover=function(){document.querySelectorAll?l=document.querySelectorAll(".dropzone"):(l=[],(i=function(e){var t=[],i=!0,n=!1,o=void 0;try{for(var s,r=e[Symbol.iterator]();!(i=(s=r.next()).done);i=!0){var a=s.value;/(^| )dropzone($| )/.test(a.className)?t.push(l.push(a)):t.push(void 0)}}catch(e){n=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(n)throw o}}return t})(document.getElementsByTagName("div")),i(document.getElementsByTagName("form")));var l,e=[],t=!0,i=!1,n=void 0;try{for(var o,s=l[Symbol.iterator]();!(t=(o=s.next()).done);t=!0){var r=o.value;!1!==Dropzone.optionsForElement(r)?e.push(new Dropzone(r)):e.push(void 0)}}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}return e},Dropzone.blacklistedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],Dropzone.isBrowserSupported=function(){var e=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if("classList"in document.createElement("a")){var t=!0,i=!1,n=void 0;try{for(var o,s=Dropzone.blacklistedBrowsers[Symbol.iterator]();!(t=(o=s.next()).done);t=!0)o.value.test(navigator.userAgent)&&(e=!1)}catch(e){i=!0,n=e}finally{try{t||null==s.return||s.return()}finally{if(i)throw n}}}else e=!1;else e=!1;return e},Dropzone.dataURItoBlob=function(e){for(var t=atob(e.split(",")[1]),e=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),n=new Uint8Array(i),o=0,s=t.length,r=0<=s;r?o<=s:s<=o;r?o++:o--)n[o]=t.charCodeAt(o);return new Blob([i],{type:e})},function(e,t){return e.filter(function(e){return e!==t}).map(function(e){return e})}),camelize=function(e){return e.replace(/[\-_](\w)/g,function(e){return e.charAt(1).toUpperCase()})},detectVerticalSquash=(Dropzone.createElement=function(e){var t=document.createElement("div");return t.innerHTML=e,t.childNodes[0]},Dropzone.elementInside=function(e,t){if(e===t)return!0;for(;e=e.parentNode;)if(e===t)return!0;return!1},Dropzone.getElement=function(e,t){var i;if("string"==typeof e?i=document.querySelector(e):null!=e.nodeType&&(i=e),null==i)throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector or a plain HTML element."));return i},Dropzone.getElements=function(e,t){var i;if(e instanceof Array){l=[];try{var n=!0,o=!1,s=void 0;try{for(var r,a=e[Symbol.iterator]();!(n=(r=a.next()).done);n=!0)i=r.value,l.push(this.getElement(i,t))}catch(e){o=!0,s=e}finally{try{n||null==a.return||a.return()}finally{if(o)throw s}}}catch(e){l=null}}else if("string"==typeof e){var l=[],c=!0,o=!1,s=void 0;try{for(var u,h=document.querySelectorAll(e)[Symbol.iterator]();!(c=(u=h.next()).done);c=!0)i=u.value,l.push(i)}catch(e){o=!0,s=e}finally{try{c||null==h.return||h.return()}finally{if(o)throw s}}}else null!=e.nodeType&&(l=[e]);if(null!=l&&l.length)return l;throw new Error("Invalid `".concat(t,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."))},Dropzone.confirm=function(e,t,i){return window.confirm(e)?t():null!=i?i():void 0},Dropzone.isValidFile=function(e,t){if(!t)return!0;t=t.split(",");var i=e.type,n=i.replace(/\/.*$/,""),o=!0,s=!1,r=void 0;try{for(var a,l=t[Symbol.iterator]();!(o=(a=l.next()).done);o=!0){var c=a.value;if("."===(c=c.trim()).charAt(0)){if(-1!==e.name.toLowerCase().indexOf(c.toLowerCase(),e.name.length-c.length))return!0}else if(/\/\*$/.test(c)){if(n===c.replace(/\/.*$/,""))return!0}else if(i===c)return!0}}catch(e){s=!0,r=e}finally{try{o||null==l.return||l.return()}finally{if(s)throw r}}return!1},"undefined"!=typeof jQuery&&null!==jQuery&&(jQuery.fn.dropzone=function(e){return this.each(function(){return new Dropzone(this,e)})}),"undefined"!=typeof module&&null!==module?module.exports=Dropzone:window.Dropzone=Dropzone,Dropzone.ADDED="added",Dropzone.QUEUED="queued",Dropzone.ACCEPTED=Dropzone.QUEUED,Dropzone.UPLOADING="uploading",Dropzone.PROCESSING=Dropzone.UPLOADING,Dropzone.CANCELED="canceled",Dropzone.ERROR="error",Dropzone.SUCCESS="success",function(e){e.naturalWi
1dth;var t=e.naturalHeight,i=document.createElement("canvas"),i=(i.width=1,i.height=t,i.getContext("2d"));i.drawImage(e,0,0);for(var n=i.getImageData(1,0,1,t).data,o=0,s=t,r=t;o<r;)0===n[4*(r-1)+3]?s=r:o=r,r=s+o>>1;e=r/t;return 0==e?1:e}),drawImageIOSFix=function(e,t,i,n,o,s,r,a,l,c){var u=detectVerticalSquash(t);return e.drawImage(t,i,n,o,s,r,a,l,c/u)},ExifRestore=(()=>{function e(){_classCallCheck(this,e)}return _createClass(e,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(e){for(var t,i,n,o,s="",r=void 0,a="",l=0;n=(t=e[l++])>>2,o=(3&t)<<4|(t=e[l++])>>4,r=(15&t)<<2|(i=e[l++])>>6,a=63&i,isNaN(t)?r=a=64:isNaN(i)&&(a=64),s=s+this.KEY_STR.charAt(n)+this.KEY_STR.charAt(o)+this.KEY_STR.charAt(r)+this.KEY_STR.charAt(a),r=a="",l<e.length;);return s}},{key:"restore",value:function(e,t){return e.match("data:image/jpeg;base64,")?(e=this.decode64(e.replace("data:image/jpeg;base64,","")),e=this.slice2Segments(e),e=this.exifManipulation(t,e),"data:image/jpeg;base64,".concat(this.encode64(e))):t}},{key:"exifManipulation",value:function(e,t){t=this.getExifArray(t),e=this.insertExif(e,t);return new Uint8Array(e)}},{key:"getExifArray",value:function(e){for(var t,i=0;i<e.length;){if(255===(t=e[i])[0]&225===t[1])return t;i++}return[]}},{key:"insertExif",value:function(e,t){var e=e.replace("data:image/jpeg;base64,",""),e=this.decode64(e),i=e.indexOf(255,3),n=e.slice(0,i),e=e.slice(i);return n.concat(t).concat(e)}},{key:"slice2Segments",value:function(e){for(var t,i,n=0,o=[];!(255===e[n]&218===e[n+1])&&(255===e[n]&216===e[n+1]?n+=2:(t=n+(256*e[n+2]+e[n+3])+2,i=e.slice(n,t),o.push(i),n=t),!(e.length<n)););return o}},{key:"decode64",value:function(e){var t,i,n,o,s,r,a=0,l=[];for(/[^A-Za-z0-9\+\/\=]/g.exec(e)&&console.warn("There were invalid base64 characters in the input text.\nValid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='\nExpect errors in decoding."),e=e.replace(/[^A-Za-z0-9\+\/\=]/g,"");;)if(n=this.KEY_STR.indexOf(e.charAt(a++)),t=(15&(o=this.KEY_STR.indexOf(e.charAt(a++))))<<4|(s=this.KEY_STR.indexOf(e.charAt(a++)))>>2,i=(3&s)<<6|(r=this.KEY_STR.indexOf(e.charAt(a++))),l.push(n<<2|o>>4),64!==s&&l.push(t),64!==r&&l.push(i),!(a<e.length))break;return l}}]),e})(),contentLoaded=(ExifRestore.initClass(),function(t,i){function n(e){if("readystatechange"!==e.type||"complete"===r.readyState)return("load"===e.type?t:r)[c](u+e.type,n,!1),!s&&(s=!0)?i.call(t,e.type||e):void 0}function o(){try{a.doScroll("left")}catch(e){return void setTimeout(o,50)}return n("poll")}var s=!1,e=!0,r=t.document,a=r.documentElement,l=r.addEventListener?"addEventListener":"attachEvent",c=r.addEventListener?"removeEventListener":"detachEvent",u=r.addEventListener?"":"on";if("complete"!==r.readyState){if(r.createEventObject&&a.doScroll){try{e=!t.frameElement}catch(e){}e&&o()}return r[l](u+"DOMContentLoaded",n,!1),r[l](u+"readystatechange",n,!1),t[l](u+"load",n,!1)}});function __guard__(e,t){return null!=e?t(e):void 0}function __guardMethod__(e,t,i){if(null!=e&&"function"==typeof e[t])return i(e,t)}Dropzone._autoDiscoverFunction=function(){if(Dropzone.autoDiscover)return Dropzone.discover()},contentLoaded(window,Dropzone._autoDiscoverFunction),Dropzone.autoDiscover=!1,Dropzone.prototype.defaultOptions.dictRemoveFile="Datei entfernen",Dropzone.prototype.defaultOptions.dictDefaultMessage="Dateien hier ablegen oder klicken",jQuery(document).ready(function(){var o,s=null;function r(e,t){var i=e.files.filter(function(e){return!!(t?e.uploadToken:e.filename)&&e.status===Dropzone.SUCCESS}).map(function(e){return t?e.uploadToken:e.filename});jQuery(e.element).closest(".dropzone-wrapper").find(".dropzone-files").val(i.join("|"))}jQuery("div.dropzone-field").each(function(){var e=jQuery(this),t=e.attr("data-upload-url")||"/_Resources/Static/Packages/Forms.Neos.Smartweb/dropzone.php",i=e.attr("data-remove-url")||"",n="token"===e.attr("data-upload-response");o=e.closest(".dropzone-wrapper").find(".dropzone-settings").val(),s={addRemoveLinks:!0,maxFilesize:jQuery(this).data("maxFilesize")||10,paramName:"file",url:t,params:{settings:o},error:function(e,t){t=t&&t.message?t.message:"Der Upload ist fehlgeschlagen.";jQuery(e.previewElement).addClass("dz-error").find(".dz-error-message").text(t)},init:function(){this.on("removedfile",function(e){n&&i&&e.uploadToken&&jQuery.ajax({url:i,method:"POST",dataType:"json",data:{uploadToken:e.uploadToken}}),r(this,n)}),this.on("success",function(e,t){if(n){if(!t||!0!==t.success||!t.uploadToken)return void this.emit
1("error",e,t&&t.message||"Ungültige Serverantwort.");e.uploadToken=t.uploadToken,e.name=t.originalFilename}else{if(!(t&&t.files&&t.files[0]&&t.files[0].filename))return void this.emit("error",e,t&&t.message||"Ungültige Serverantwort.");e.filename=t.files[0].filename,e.name=t.files[0].filename}r(this,n)}),this.on("complete",function(e){r(this,n)}),this.on("maxfilesexceeded",function(e){$(e.previewElement).addClass("dz-error").find(".dz-error-message").text("Das Dateilimit wurde erreicht (Limit "+this.options.maxFiles+").")})}},""!=jQuery(this).data("defaultMessage")&&(s.dictDefaultMessage=jQuery(this).data("defaultMessage")),""!=jQuery(this).data("limit")&&0<(e=+jQuery(this).data("limit"))&&(s.maxFiles=e),jQuery(this).dropzone(s)})});var hash=window.location.hash;if(0<=hash.indexOf("-form")){var el=document.querySelector(".neos-nodetypes-form");if(null!=el){window.setTimeout(function(){var e=document.querySelector(".header--fixed");let t=0;e&&(t=e.offsetHeight);e=el.getBoundingClientRect().top+window.pageYOffset;window.scrollTo({top:e-t,behavior:"smooth"})},500);var accordion=el.closest(".trurnit-neos-evu-accordion"),elements=(null!=accordion&&(accordion.classList.add("active"),accordion.classList.add("disabled"),accordion.querySelector(".accordion-content-wrap").style.display="block"),document.querySelectorAll(".hide-on-form-submit"));for(i=0;i<elements.length;++i)elements[i].style.display="none"}}$(document).ready(function(){if(0!==$("#sideBar .sidebar-links").length){let n=$("#sideBar"),o=$("#sideBarOverlay");function t(){n.find(".sidebar-links > a").removeClass("active"),n.removeClass("active"),setTimeout(()=>{n.find(".sidebar-item").hide().attr("inert","").attr("aria-hidden","true").removeClass("active")},300),o.fadeOut()}o.on("click",t),$(document).on("keyup",e=>{"Escape"===e.key&&n.hasClass("active")&&t()}),$("#sideBar .sidebar-links > a").on("click",function(e){let t=$(e.currentTarget),i=$(t.data("target"));if(i.length)return t.hasClass("active")?(t.removeClass("active"),n.removeClass("active").find(".sidebar-item").attr("inert","").attr("aria-hidden","true"),o.fadeOut()):n.hasClass("active")?(console.log(n,"has active class"),n.removeClass("active"),setTimeout(()=>{n.find(".sidebar-item").hide().attr("inert","").attr("aria-hidden","true"),i.show().removeAttr("inert").attr("aria-hidden","false").first().focus(),i.show().removeAttr("inert").attr("aria-hidden","false").find("a").first().focus(),n.addClass("active").find(".sidebar-links > a").removeClass("active"),t.addClass("active")},300)):(console.log(n,"not active class"),n.find(".sidebar-item").hide(),i.show().removeAttr("inert").attr("aria-hidden","false"),i.find("a").first().focus(),o.fadeIn(),n.addClass("active"),t.addClass("active")),!1;console.error("target not found",t.data("target"))})}}),$(document).ready(function(){-1===document.cookie.indexOf("smartweb-info-popup")&&340<jQuery(window).width()&&window.setTimeout(function(){jQuery(document).trigger("smartweb-slide-popup-show")},2e3),jQuery(document).on("smartweb-slide-popup-closed",function(){var e=new Date,t=432e5;"undefined"!=typeof infoLayerOffset&&(t=parseInt(infoLayerOffset)),e.setTime(e.getTime()+t),document.cookie="smartweb-info-popup="+escape("hide")+";path=/;expires="+e.toGMTString()})}),jQuery(document).ready(function(){jQuery(".field-type-forms-neos-smartweb-autocomplete").each(function(){var i=jQuery(this).find("input.field-autocomplete"),n=jQuery(this).find("input.not-visible");i.autocomplete({source:i.data("url"),minLength:i.data("minLength"),autoFocus:!0,change:function(e,t){null==t.item&&n.val("")},select:function(e,t){return n.val(t.item.value),i.val(t.item.label),!1}})})}),$(document).ready(function(){var e=jQuery(".main-nav.collapsable");function t(e,t){e.toggleClass("collapsable-open",t),e.find("> .mainnavi-subtoggle").attr("aria-expanded",t?"true":"false")}0!=e.length&&(jQuery("li > ul > li > a.parent",e).each(function(){var e=jQuery(this);0!==e.closest("li").find("> ul").length&&jQuery("<button>",{type:"button",class:"mainnavi-subtoggle","aria-expanded":"false","aria-label":"Untermenü "+jQuery.trim(e.text())+" öffnen"}).insertAfter(e)}),jQuery("li > ul > li.active",e).each(function(){0<jQuery(this).find("> ul").length&&(t(jQuery(this),!0),jQuery(this).find("> ul").show())}),jQuery("li > ul > li > .mainnavi-subtoggle",e).click(function(){var e=jQuery(this).closest("li");return e.find("ul").slideToggle(),t(e,!e.hasClass("collapsable-open")),e.closest("ul").find("li.collapsable-open").each(function(){jQuery(this).is(e)||(t(jQuery(this),!1),jQuery(this).find("ul").slideUp())}),!1}))}),jQuery(document).ready(function(){jQuery(".trurnit-neos-evu-videoheader").each(function(){jQuery(this).videoHeader()})}),$.fn.videoHeader=function(){var a=this,e=a.find("video").first();if(e.length){var t,l=e.get(0),c=(e.attr("id")||e.attr("id","video-header-"+Math.random().toString(36).slice(2)),!1),i=a.find(".video-header__toggle").first(),n=(i.length||(i=jQuery('<button type="button" class="video-header__toggle" aria-pressed="false" data-action="toggle">\n<span class="video-header__toggle-label--pause">Video anhalten</span>\n<span class="video-header__toggle-label--play" aria-hidden="true" hidden>Video abspielen</span>\n</button>'),((t=a.find(".video-wrapper").first()).length?t:a).append(i)),i.attr("aria-controls",e.attr("id")),i.find(".video-header__toggle-label--pause").first()),o=i.find(".video-header__toggle-label--play").first(),u=!1;try{u=window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}catch(e){}if(u){try{l.pause()}catch(e){}h(c=!0)}else h(l.paused);e.on("playing play",function(){h(!1)}),e.on("pause",function(){h(!0)}),e.on("loadeddata canplay",function(){h(!!l.paused)}),i.on("click",function(){(l.paused?r:s)()}),i.on("keydown",function(e){" "!==e.key&&"Spacebar"!==e.key&&"Enter"!==e.key||(e.preventDefault(),(l.paused?r:s)())}),d(),window.addEventListener("resize",d)}return this;function h(e){i.attr("aria-pressed",e?"true":"false"),e?(n.length&&n.attr("hidden",!0),o.length&&o.attr("hidden",!1).attr("aria-hidden","false")):(n.length&&n.attr("hidden",!1),o.length&&o.attr("hidden",!0).attr("aria-hidden","true"))}function s(){try{l.pause()}catch(e){}h(c=!0)}function r(){var e;try{e=l.play()}catch(e){}e&&"function"==typeof e.catch&&e.catch(function(){}),h(c=!1)}function d(){var t,i=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,e=a.find("video > source"),n=null,o=999999,e=(e.each(function(){var e=jQuery(this);void 0!==e.data("src")&&(+e.data("maxWidth")>=i&&(t=+e.data("maxWidth")-i)<o&&(o=t,n=e),+e.data("minWidth")<=i)&&(t=i-+e.data("minWidth"))<o&&(o=t,n=e)}),a.find(".source-default"));if(n&&e.attr("src")!==n.data("src")){var s,r=l.paused||c;e.attr("src",n.data("src"));try{l.load()}catch(e){}if(r){try{l.pause()}catch(e){}h(!0)}else if(!u){try{s=l.play()}catch(e){}s&&"function"==typeof s.catch&&s.catch(function(){}),h(!1)}}}},((e,t)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i,n=t();
vendor: 4,536 bytes, line 1
1for(i in n)("object"==typeof exports?exports:e)[i]=n[i]}})(globalThis,()=>{var i={958:e=>{var t=(r=>{var l,e=Object.prototype,c=e.hasOwnProperty,u=Object.defineProperty||function(e,t,i){e[t]=i.value},t="function"==typeof Symbol?Symbol:{},n=t.iterator||"@@iterator",i=t.asyncIterator||"@@asyncIterator",o=t.toStringTag||"@@toStringTag";function s(e,t,i){return Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{s({},"")}catch(r){s=function(e,t,i){return e[t]=i}}function a(e,t,i,n){var o,s,r,a,t=t&&t.prototype instanceof v?t:v,t=Object.create(t.prototype),n=new S(n||[]);return u(t,"_invoke",{value:(o=e,s=i,r=n,a=d,function(e,t){if(a===f)throw new Error("Generator is already running");if(a===m){if("throw"===e)throw t;return{value:l,done:!0}}for(r.method=e,r.arg=t;;){var i=r.delegate;if(i){i=function e(t,i){var n=i.method,o=t.iterator[n];if(o===l)return i.delegate=null,"throw"===n&&t.iterator.return&&(i.method="return",i.arg=l,e(t,i),"throw"===i.method)||"return"!==n&&(i.method="throw",i.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;n=h(o,t.iterator,i.arg);if("throw"===n.type)return i.method="throw",i.arg=n.arg,i.delegate=null,g;o=n.arg;return o?o.done?(i[t.resultName]=o.value,i.next=t.nextLoc,"return"!==i.method&&(i.method="next",i.arg=l),i.delegate=null,g):o:(i.method="throw",i.arg=new TypeError("iterator result is not an object"),i.delegate=null,g)}(i,r);if(i){if(i===g)continue;return i}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(a===d)throw a=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);a=f;i=h(o,s,r);if("normal"===i.type){if(a=r.done?m:p,i.arg===g)continue;return{value:i.arg,done:r.done}}"throw"===i.type&&(a=m,r.method="throw",r.arg=i.arg)}})}),t}function h(e,t,i){try{return{type:"normal",arg:e.call(t,i)}}catch(e){return{type:"throw",arg:e}}}r.wrap=a;var d="suspendedStart",p="suspendedYield",f="executing",m="completed",g={};function v(){}function y(){}function b(){}s(t={},n,function(){return this});var _=Object.getPrototypeOf,w=((_=_&&_(_(j([]))))&&_!==e&&c.call(_,n)&&(t=_),b.prototype=v.prototype=Object.create(t));function x(e){["next","throw","return"].forEach(function(t){s(e,t,function(e){return this._invoke(t,e)})})}function k(r,a){var t;u(this,"_invoke",{value:function(i,n){function e(){return new a(function(e,t){!function t(e,i,n,o){var s,e=h(r[e],r,i);if("throw"!==e.type)return(i=(s=e.arg).value)&&"object"==typeof i&&c.call(i,"__await")?a.resolve(i.__await).then(function(e){t("next",e,n,o)},function(e){t("throw",e,n,o)}):a.resolve(i).then(function(e){s.value=e,n(s)},function(e){return t("throw",e,n,o)});o(e.arg)}(i,n,e,t)})}return t=t?t.then(e,e):e()}})}function T(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(T,this),this.reset(!0)}function j(t){if(null!=t){var i,e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length))return i=-1,(e=function e(){for(;++i<t.length;)if(c.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=l,e.done=!0,e}).next=e}throw new TypeError(typeof t+" is not iterable")}return u(w,"constructor",{value:y.prototype=b,configurable:!0}),u(b,"constructor",{value:y,configurable:!0}),y.displayName=s(b,o,"GeneratorFunction"),r.isGeneratorFunction=function(e){e="function"==typeof e&&e.constructor;return!!e&&(e===y||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,s(e,o,"GeneratorFunction")),e.prototype=Object.create(w),e},r.awrap=function(e){return{__await:e}},x(k.prototype),s(k.prototype,i,function(){return this}),r.AsyncIterator=k,r.async=function(e,t,i,n,o){void 0===o&&(o=Promise);var s=new k(a(e,t,i,n),o);return r.isGeneratorFunction(t)?s:s.next().then(function(e){return e.done?e.value:s.next()})},x(w),s(w,o,"Generator"),s(w,n,function(){return this}),s(w,"toString",function(){return"[object Generator]"}),r.keys=function(e){var t,i=Object(e),n=[];for(t in i)n.push(t);return n.reverse(),function e(){for(;n.length;){var t=n.pop();if(t in i)return e.value=t,e.done=!1,e}return e.done=!0,e}},r.values=j,S.prototype={constructor:S,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=l,this.done=!1,this.delegate=null,this.method="next",this.arg=l,this.tryEntries.forEac
1h(C),!e)for(var t in this)"t"===t.charAt(0)&&c.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=l)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(i){if(this.done)throw i;var n=this;function e(e,t){return s.type="throw",s.arg=i,n.next=e,t&&(n.method="next",n.arg=l),!!t}for(var t=this.tryEntries.length-1;0<=t;--t){var o=this.tryEntries[t],s=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var r=c.call(o,"catchLoc"),a=c.call(o,"finallyLoc");if(r&&a){if(this.prev<o.catchLoc)return e(o.catchLoc,!0);if(this.prev<o.finallyLoc)return e(o.finallyLoc)}else if(r){if(this.prev<o.catchLoc)return e(o.catchLoc,!0)}else{if(!a)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return e(o.finallyLoc)}}}},abrupt:function(e,t){for(var i=this.tryEntries.length-1;0<=i;--i){var n=this.tryEntries[i];if(n.tryLoc<=this.prev&&c.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var s=(o=o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc?null:o)?o.completion:{};return s.type=e,s.arg=t,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i=this.tryEntries[t];if(i.finallyLoc===e)return this.complete(i.completion,i.afterLoc),C(i),g}},catch:function(e){for(var t=this.tryEntries.length-1;0<=t;--t){var i,n,o=this.tryEntries[t];if(o.tryLoc===e)return"throw"===(i=o.completion).type&&(n=i.arg,C(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(e,t,i){return this.delegate={iterator:j(e),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=l),g}},r})(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}},n={};function o(e){var t=n[e];return void 0!==t||(t=n[e]={exports:{}},i[e](t,t.exports,o)),t.exports}o.d=(e,t)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var s,t,r={};{o.r(r),o.d(r,{Accessibility:()=>e}),o(958);class c{constructor(){this.body=document.body||document.querySelector("body"),this.deployedMap=new Map}isIOS(){return"boolean"!=typeof this._isIOS&&(this._isIOS=(()=>{var e=["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"];if(navigator.platform)for(;e.length;)if(navigator.platform===e.pop())return!0;return!1})()),this._isIOS}jsonToHtml(e){var t,i,n=document.createElement(e.type);for(t in e.attrs)n.setAttribute(t,e.attrs[t]);for(i in e.children){var o=null;((o="#text"===e.children[i].type?document.createTextNode(e.children[i].text):this.jsonToHtml(e.children[i]))&&o.tagName&&"undefined"!==o.tagName.toLowerCase()||3===o.nodeType)&&n.appendChild(o)}return n}injectStyle(e,t={}){var i=document.createElement("style");return i.appendChild(document.createTextNode(e)),t.className&&i.classList.add(t.className),this.body.appendChild(i),i}getFormattedDim(e){var t;return e?(t=function(e,t){return{size:e.substring(0,e.indexOf(t)),suffix:t}},-1<(e=String(e)).indexOf("%")?t(e,"%"):-1<e.indexOf("px")?t(e,"px"):-1<e.indexOf("em")?t(e,"em"):-1<e.indexOf("rem")?t(e,"rem"):-1<e.indexOf("pt")?t(e,"pt"):"auto"===e?t(e,""):void 0):null}extend(e,t){for(var i in e)"object"==typeof e[i]?t&&t[i]&&(t[i]instanceof Array?e[i]=t[i]:e[i]=this.extend(e[i],t[i])):"object"==typeof t&&void 0!==t[i]&&(e[i]=t[i]);return e}injectIconsFont(e,s){if(e&&e.length){let i=document.getElementsByTagName("head")[0],n=0,t=!1,o=e=>{t=t||""===e.type,--n||s(t)};e.forEach(e=>{var t=document.createElement("link");t.type="text/css",t.rel="stylesheet",t.href=e,t.className="_access-font-icon-"+n++,t.onload=o,t.onerror=o,this.deployedObjects.set("."+t.className,!0),i.appendChild(t)})}}getFixedFont(e){return this.isIOS()?e.replaceAll(" ","+"):e}getFixedPseudoFont(e){return this.isIOS()?e.replaceAll("+"," "):e}isFontLoaded(t,i){try{let e=()=>i(document.fonts.check("1em "+t.replaceAll("+"," ")));document.fonts.ready.then(()=>{e()},()=>{e()})}catch(t){return i(!0)}}warn(e){var t="Accessibility: ";console.warn?console.warn(t+e):console.log(t+e)}get deployedObjects(){return{get:e=>this.deployedMap.get(e),contains:e=>this.deployedMap.has(e),set:(e,t)=>{this.deployedMap.set(e,t)},remove:e=>{this.deployedMap.delete(e)},getAll:()=>this.deployedMap}}createScreenshot(t){return new Promise((i,e)=>{this._canvas||(this._canvas=document.createElement("canvas"));let n=new Image;this._canvas.style.position="fixed",this._canvas.style.top="0",this._canvas.style.left="0",this._canvas.style.opacity="0.05",this._canvas.style.transform="scale(0.05)",n.crossOrigin="anonymous",n.onload=()=>{return e=this,a=function*(){document.body.appendChild(this._canvas);var e=this._canvas.getContext("2d");
1this._canvas.width=n.naturalWidth,this._canvas.height=n.naturalHeight,e.clearRect(0,0,this._canvas.width,this._canvas.height),e.drawImage(n,0,0);let t=c.DEFAULT_PIXEL;try{t=this._canvas.toDataURL("image/png")}catch(e){}i(t),this._canvas.remove()},new(r=(r=void 0,Promise))(function(i,t){function n(e){try{s(a.next(e))}catch(e){t(e)}}function o(e){try{s(a.throw(e))}catch(e){t(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(n,o)}s((a=a.apply(e,[])).next())});var e,r,a},n.onerror=()=>{i(c.DEFAULT_PIXEL)},n.src=t})}getFileExtension(e){return e.substring(e.lastIndexOf(".")+1,e.length)||e}}function a(e,r,a,l){return new(a=a||Promise)(function(i,t){function n(e){try{s(l.next(e))}catch(e){t(e)}}function o(e){try{s(l.throw(e))}catch(e){t(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(n,o)}s((l=l.apply(e,r||[])).next())})}c.DEFAULT_PIXEL="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdj+P///38ACfsD/QVDRcoAAAAASUVORK5CYII=",(t=s=s||{})[t.increaseText=1]="increaseText",t[t.decreaseText=2]="decreaseText",t[t.increaseTextSpacing=3]="increaseTextSpacing",t[t.decreaseTextSpacing=4]="decreaseTextSpacing",t[t.increaseLineHeight=5]="increaseLineHeight",t[t.decreaseLineHeight=6]="decreaseLineHeight",t[t.invertColors=7]="invertColors",t[t.grayHues=8]="grayHues",t[t.bigCursor=9]="bigCursor",t[t.readingGuide=10]="readingGuide",t[t.underlineLinks=11]="underlineLinks",t[t.textToSpeech=12]="textToSpeech",t[t.speechToText=13]="speechToText",t[t.disableAnimations=14]="disableAnimations",t[t.iframeModals=15]="iframeModals",t[t.customFunctions=16]="customFunctions";class u{constructor(e){this._acc=e,this.readBind=this._acc.read.bind(this._acc)}increaseText(){this._acc.alterTextSize(!0)}decreaseText(){this._acc.alterTextSize(!1)}increaseTextSpacing(){this._acc.alterTextSpace(!0)}decreaseTextSpacing(){this._acc.alterTextSpace(!1)}invertColors(e){void 0===this._acc.stateValues.html.backgroundColor&&(this._acc.stateValues.html.backgroundColor=getComputedStyle(this._acc.html).backgroundColor),void 0===this._acc.stateValues.html.color&&(this._acc.stateValues.html.color=getComputedStyle(this._acc.html).color),e?(this._acc.resetIfDefined(this._acc.stateValues.html.backgroundColor,this._acc.html.style,"backgroundColor"),this._acc.resetIfDefined(this._acc.stateValues.html.color,this._acc.html.style,"color"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="invertColors"]').classList.remove("active"),this._acc.stateValues.invertColors=!1,this._acc.sessionState.invertColors=this._acc.stateValues.invertColors,this._acc.onChange(!0),this._acc.html.style.filter=""):(this._acc.stateValues.invertColors&&this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Colors Set To Normal"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="invertColors"]').classList.toggle("active"),this._acc.stateValues.invertColors=!this._acc.stateValues.invertColors,this._acc.sessionState.invertColors=this._acc.stateValues.invertColors,this._acc.onChange(!0),this._acc.stateValues.invertColors?(this._acc.stateValues.grayHues&&this._acc.menuInterface.grayHues(!0),this._acc.html.style.filter="invert(1)",this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Colors Inverted")):this._acc.html.style.filter="")}grayHues(e){if(void 0===this._acc.stateValues.html.filter&&(this._acc.stateValues.html.filter=getComputedStyle(this._acc.html).filter),void 0===this._acc.stateValues.html.webkitFilter&&(this._acc.stateValues.html.webkitFilter=getComputedStyle(this._acc.html).webkitFilter),void 0===this._acc.stateValues.html.mozFilter&&(this._acc.stateValues.html.mozFilter=getComputedStyle(this._acc.html).mozFilter),void 0===this._acc.stateValues.html.msFilter&&(this._acc.stateValues.html.msFilter=getComputedStyle(this._acc.html).msFilter),e)this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="grayHues"]').classList.remove("active"),this._acc.stateValues.grayHues=!1,this._acc.sessionState.grayHues=this._acc.stateValues.grayHues,this._acc.onChange(!0),this._acc.resetIfDefined(this._acc.stateValues.html.filter,this._acc.html.style,"filter"),this._acc.resetIfDefined(this._acc.stateValues.html.webkitFilter,this._acc.html.style,"webkitFilter"),this._acc.resetIfDefined(this._acc.stateValues.html.mozFilter,this._acc.html.style,"mozFilter"),this._acc.resetIfDefined(this._acc.stateValues.html.msFilter,this._acc.html.style,"msFilter");else{let e;this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="grayHues"]').classList.toggle("active"),this._acc.stateValues.grayHues=!this._acc.stateValues.grayHues,this._acc.sessionState.grayHues=this._acc.stateValues.grayHues,this._acc.onChange(!0),this._acc.stateValues.textToSpeech&&!this._acc.stateValues.grayHues&&this._acc.textToSpeech("Gray Hues Disabled."),this._acc.stateValues.grayHues?(e="grayscale(1)",this._acc.stateValues.invertColors&&this.invertColors(!0),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Gray Hues Enabled.")):e="",this._acc.html.style.webkitFilter=e,this._acc.html.style.mozFilter=e,this._acc.html.style.msFilter=e,this._acc.html.style.filter=e}}underlineLinks(e){let t="_access-underline",i=()=>{var e=document.querySelector("."+t);e&&(e.parentElement.removeChild(e),this._acc.common.deployedObjects.remove("."+t))};if(e)return this._acc.stateValues.underlineLinks=!1,this._acc.sessionState.underlineLinks=this._acc.stateValues.underlineLinks,this._acc.onChange(!0),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="underlineLinks"]').classList.remove("active"),i();this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="underlineLinks"]').classList.toggle("active"),this._acc.stateValues.underlineLinks=!this._acc.stateValues.underlineLinks,this._acc.sessionState.underlineLinks=this._acc.stateValues.underlineLinks,this._acc.onChange(!0),this._acc.stateValues.underlineLinks?(this._acc.common.injectStyle("\n body a {\n text-decoration: underline !important;\n }\n ",{className:t}),this._acc.common.deployedObjects.set("."+t,!0),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Links UnderLined")):(this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Links UnderLine Removed"),i())}bigCursor(e){e?(this._acc.html.classList.remove("_access_cursor"),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="bigCursor"]').classList.remove("active"),this._acc.stateValues.bigCursor=!1,this._acc.sessionState.bigCursor=!1,this._acc.onChange(!0)):(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="bigCursor"]').classList.toggle("active"),this._acc.stateValues.bigCursor=!this._acc.stateValues.bigCursor,this._acc.sessionState.bigCursor=this._acc.stateValues.bigCursor,this._acc.onChange(!0),this._acc.html.classList.toggle("_access_cursor"),this._acc.stateValues.textToSpeech&&this._acc.stateValues.bigCursor&&this._acc.textToSpeech("Big Cursor Enabled"),this._acc.stateValues.textToSpeech&&!this._acc.stateValues.bigCursor&&this._acc.textToSpeech("Big Cursor Disabled"))}readingGuide(e){e?(document.getElementById("access_read_guide_bar")&&document.getElementById("access_read_guide_bar").remove(),this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="readingGuide"]').classList.remove("active"),this._acc.stateValues.readingGuide=!1,this._acc.sessionState.readingGuide=this._acc.stateValues.readingGuide,this._acc.onChange(!0),document.body.removeEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.removeEventListener("mousemove",this._acc.updateReadGuide,!1),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Reading Guide Enabled")):(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="readingGuide"]').classList.toggle("active"),this._acc.stateValues.readingGuide=!this._acc.stateValues.readingGuide,this._acc.sessionState.readingGuide=this._acc.stateValues.readingGuide,this._acc.onChange(!0),this._acc.stateValues.readingGuide?((e=document.createElement("div")).id="access_read_guide_bar",e.classList.add("access_read_guide_bar"),document.body.append(e),document.body.addEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.addEventListener("mousemove",this._acc.updateReadGuide,!1)):(void 0!==document.getElementById("access_read_guide_bar")&&document.getElementById("access_read_guide_bar").remove(),document.body.removeEventListener("touchmove",this._acc.updateReadGuide,!1),document.body.removeEventListener("mousemove",this._acc.updateReadGuide,!1),this._acc.stateValues.textToSpeech&&this._acc.textToSpeech("Reading Guide Disabled")))}textToSpeech(e){var n=document.querySelector('._access-menu [data-access-action="textToSpeech"]');if(n){var o=document.getElementsByClassName("screen-reader-wrapper-step-1"),s=document.getElementsByClassName("screen-reader-wrapper-step-2"),r=document.getElementsByClassName("screen-reader-wrapper-step-3");this._acc.onChange(!1);let t="_access-text-to-speech",i=()=>{var e=document.querySelector("."+t);e&&(e.parentElement.removeChild(e),document.removeEventListener("click",this.readBind,!1),document.removeEventListener("keyup",this.readBind,!1),this._acc.common.deployedObjects.remove("."+t)),window.speechSynthesis&&window.speechSynthesis.cancel(),this._acc.isReading=!1};if(e)return n.classList.remove("active"),o[0].classList.remove("active"),s[0].classList.remove("active"),r[0].classList.remove("active"),this._acc.stateValues.textToSpeech=!1,window.speechSynthesis.cancel(),i();if(1!==this._acc.stateValues.speechRate||n.classList.contains("active"))if(1===this._acc.stateValues.speechRate&&n.classList.contains("active"))this._acc.stateValues.speechRate=1.5,this._acc.textToSpeech("Reading Pace - Fast"),o[0].classList.remove("active");else{if(1.5!==this._acc.stateValues.speechRate||!n.classList.contains("active")){this._acc.stateValues.speechRate=1,this._acc.textToSpeech("Screen Reader - Disabled"),n.classList.remove("active"),r[0].classList.remove("active");let e=setInterval(()=>{this._acc.isReading||(this._acc.stateValues.textToSpeech=!1,i(),clearTimeout(e))},500);return}this._acc.stateValues.speechRate=.7,this._acc.textToSpeech("Reading Pace - Slow"),s[0].classList.remove("active")}else this._acc.stateValues.textToSpeech=!0,this._acc.textToSpeech("Screen Reader enabled. Reading Pace - Normal"),n.classList.add("active"),o[0].classList.add("active"),s[0].classList.add("active"),r[0].classList.add("active");n.classList.contains("active")&&1===this._acc.stateValues.speechRate&&(this._acc.common.injectStyle("\n *:hover {\n box-shadow: 2px 2px 2px rgba(180,180,180,0.7);\n }\n ",{className:t}),this._acc.common.deployedObjects.set("."+t,!0),document.addEventListener("click",this.readBind,!1),document.addEventListener("keyup",this.readBind,!1))}}speechToText(t){let n=document.querySelector('._access-menu [data-access-action="speechToText"]');if(n){this._acc.onChange(!1);let i="_access-speech-to-text",e=()=>{this._acc.recognition&&(this._acc.recognition.stop(),this._acc.body.classList.remove("_access-listening"));var e=document.querySelector("."+i),t=(e&&(e.parentElement.removeChild(e),this._acc.common.deployedObjects.remove("."+i)),document.querySelectorAll("._access-mic"));for(let e=0;e<t.length;e++)t[e].removeEventListener("focus",this._acc.listen.bind(this._acc),!1),t[e].classList.remove("_access-mic");n.classList.remove("active")};if(t)return this._acc.stateValues.speechToText=!1,e();if(this._acc.stateValues.speechToText=!this._acc.stateValues.speechToText,this._acc.stateValues.speechToText){var t=` 2 body:after { 3 content: ${this._acc.options.icon.useEmojis?'var(--_access-menu-item-icon-mic,"ð¤")':'"mic"'}; 4 ${this._acc.options.icon.useEmojis?"":"font-family: var(--_access-menu-item-icon-font-family-after, "+this._acc.fixedDefaultFont} 5 position: fixed; 6 z-index: 1100; 7 top: 1vw; 8 right: 1vw; 9 width: 36px; 10 height: 36px; 11 font-size: 30px; 12 line-height: 36px; 13 border-radius: 50%; 14 background: rgba(255,255,255,0.7); 15 display: flex; 16 justify-content: center; 17 aling-items: center; 18 } 19 20 body._access-listening:after { 21 animation: _access-listening-animation 2s infinite ease; 22 } 23 24 @keyframes _access-listening-animation { 25 0% {background-color: transparent;} 26 50% {background-color: #EF9A9A;} 27 } 28 `,o=(this._acc.common.injectStyle(t,{className:i}),this._acc.common.deployedObjects.set("."+i,!0),document.querySelectorAll('input[type="text"], input[type="email"], input[type="tel"], input[type="search"], textarea, [contenteditable]'));for(let e=0;e<o.length;e++)o[e].addEventListener("blur",()=>{"object"==typeof this._acc.recognition&&"function"==typeof this._acc.recognition.stop&&this._acc.recognition.stop()},!1),o[e].addEventListener("focus",this._acc.listen.bind(this._acc),!1),o[e].parentElement.classList.add("_access-mic");n.classList.add("active")}else e()}}disableAnimations(e){let t="_access-disable-animations",i="data-autoplay-stopped",n=()=>{this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="disableAnimations"]').classList.remove("active"),this._acc.stateValues.disableAnimations=!1;var e=document.querySelector("."+t);e&&(e.parentElement.removeChild(e),this._acc.common.deployedObjects.remove("."+t)),document.querySelectorAll("[data-org-src]").forEach(t=>a(this,void 0,void 0,function*(){var e=t.src;t.setAttribute("src",t.getAttribute("data-org-src")),t.setAttribute("data-org-src",e)})),document.querySelectorAll(`video[${i}
28]`).forEach(e=>{e.setAttribute("autoplay",""),e.removeAttribute(i),e.play()})};!e&&(this._acc.stateValues.disableAnimations=!this._acc.stateValues.disableAnimations,this._acc.stateValues.disableAnimations)?(this._acc.options.suppressDomInjection||document.querySelector('._access-menu [data-access-action="disableAnimations"]').classList.add("active"),this._acc.common.injectStyle("\n body * {\n animation-duration: 0.0ms !important;\n transition-duration: 0.0ms !important;\n }\n ",{className:t}),this._acc.common.deployedObjects.set("."+t,!0),document.querySelectorAll("img").forEach(t=>a(this,void 0,void 0,function*(){var e=this._acc.common.getFileExtension(t.src);if(e&&"gif"===e.toLowerCase()){let e=t.getAttribute("data-org-src");e=e||(yield this._acc.common.createScreenshot(t.src)),t.setAttribute("data-org-src",t.src),t.src=e}})),document.querySelectorAll("video[autoplay]").forEach(e=>{e.setAttribute(i,""),e.removeAttribute("autoplay"),e.pause()})):n()}iframeModals(e,t){let i=()=>{this._dialog&&(this._dialog.classList.add("closing"),setTimeout(()=>{this._dialog.classList.remove("closing"),this._dialog.close(),this._dialog.remove()},350),o()),t&&t.classList.remove("active")},n=()=>{i()},o=()=>{this._dialog.querySelector("button").removeEventListener("click",n,!1),this._dialog.removeEventListener("close",n)};(e=t?e:!0)?i():(t.classList.add("active"),this._dialog||(this._dialog=document.createElement("dialog")),this._dialog.classList.add("_access"),this._dialog.innerHTML="",this._dialog.appendChild(this._acc.common.jsonToHtml({type:"div",children:[{type:"div",children:[{type:"button",attrs:{role:"button",class:this._acc.options.icon.useEmojis?"":this._acc.options.icon.fontClass,style:"position: absolute;\n top: 5px;\n cursor: pointer;\n font-size: 24px !important;\n font-weight: bold;\n background: transparent;\n border: none;\n left: 5px;\n color: #d63c3c;\n padding: 0;"},children:[{type:"#text",text:this._acc.options.icon.useEmojis?"X":"close"}]}]},{type:"div",children:[{type:"iframe",attrs:{src:t.getAttribute("data-access-url"),style:"width: 50vw;height: 50vh;padding: 30px;"}}]}]})),document.body.appendChild(this._dialog),this._dialog.querySelector("button").addEventListener("click",n,!1),this._dialog.addEventListener("close",n),this._dialog.showModal())}customFunctions(e,t){var i;t&&((e=(i=this._acc.options.customFunctions[parseInt(t.getAttribute("data-access-custom-index"))]).toggle&&t.classList.contains("active")?!0:e)?(i.toggle&&t.classList.remove("active"),i.method(i,!1)):(i.toggle&&t.classList.add("active"),i.method(i,!0)))}increaseLineHeight(){this._acc.alterLineHeight(!0)}decreaseLineHeight(){this._acc.alterLineHeight(!1)}}class h{constructor(){}has(e){return window.localStorage.hasOwnProperty(e)}set(e,t){window.localStorage.setItem(e,JSON.stringify(t))}get(e){var t=window.localStorage.getItem(e);try{return JSON.parse(t)}catch(e){return t}}clear(){window.localStorage.clear()}remove(e){window.localStorage.removeItem(e)}isSupported(){try{return localStorage.setItem("_test","_test"),localStorage.removeItem("_test"),!0}catch(e){return!1}}}function l(e,r,a,l){return new(a=a||Promise)(function(i,t){function n(e){try{s(l.next(e))}catch(e){t(e)}}function o(e){try{s(l.throw(e))}catch(e){t(e)}}function s(e){var t;e.done?i(e.value):((t=e.value)instanceof a?t:new a(function(e){e(t)})).then(n,o)}s((l=l.apply(e,r||[])).next())})}class d{constructor(e={}){this._common=new c,this._storage=new h,this._fixedDefaultFont=this._common.getFixedFont("Material Icons"),this._options=this.defaultOptions,this.options=this._common.extend(this._options,e),this.addModuleOrderIfNotDefined(),this.addDefaultOptions(e),this.disabledUnsupportedFeatures(),this._onKeyDownBind=this.onKeyDown.bind(this),this._sessionState={textSize:0,textSpace:0,lineHeight:0,invertColors:!1,grayHues:!1,underlineLinks:!1,bigCursor:!1,readingGuide:!1},this.options.icon.useEmojis?(this.fontFallback(),this.build()):this._common.injectIconsFont(this.options.icon.fontFaceSrc,t=>{this.build(),this.options.icon.fontFamilyValidation&&setTimeout(()=>{this._common.isFontLoaded(this.options.icon.fontFamilyValidation,e=>{e&&!t||(console.log("!isLoaded || hasError",!e||t),this._common.warn(this.options.icon.fontFamilyValidation+" font was not loaded, using emojis instead"),this.fontFallback(),this.destroy(),this.build())})})}),this.options.modules.speechToText&&window.addEventListener("beforeunload",()=>{this._isReading&&(window.speechSynthesis.cancel(),this._isReading=!1)})}get stateValues(){return this._stateValues}set stateValues(e){this._stateValues=e}get html(){return this._html}get body(){return this._body}get sessionState(){return this._sessionState}set sessionState(e){this._sessionState=e}get common(){return this._common}get recognition(){return this._recognition}get isReading(){return this._isReading}set isReading(e){this._isReading=e}get fixedDefaultFont(){return this._fixedDefaultFont}get defaultOptions(){let i={icon:{img:"accessibility",fontFaceSrc:["/_Resources/Static/Packages/Trurnit.Neos.EVU/Styles/material-icon.css"],fontClass:"material-icons",useEmojis:!1,closeIcon:"close",resetIcon:"refresh"},hotkeys:{enabled:!1,helpTitles:!0,keys:{toggleMenu:["ctrlKey","altKey",65],invertColors:["ctrlKey","altKey",73],grayHues:["ctrlKey","altKey",71],underlineLinks:["ctrlKey","altKey",85],bigCursor:["ctrlKey","altKey",67],readingGuide:["ctrlKey","altKey",82],textToSpeech:["ctrlKey","altKey",84],speechToText:["ctrlKey","altKey",83],disableAnimations:["ctrlKey","altKey",81]}}
28,guide:{cBorder:"#20ff69",cBackground:"#000000",height:"12px"},suppressCssInjection:!1,suppressDomInjection:!1,labels:{resetTitle:"Reset",closeTitle:"Close",menuTitle:"Accessibility Options",increaseText:"increase text size",decreaseText:"decrease text size",increaseTextSpacing:"increase text spacing",decreaseTextSpacing:"decrease text spacing",invertColors:"invert colors",grayHues:"gray hues",bigCursor:"big cursor",readingGuide:"reading guide",underlineLinks:"underline links",textToSpeech:"text to speech",speechToText:"speech to text",disableAnimations:"disable animations",increaseLineHeight:"increase line height",decreaseLineHeight:"decrease line height",hotkeyPrefix:"Hotkey: "},textPixelMode:!1,textEmlMode:!0,textSizeFactor:12.5,animations:{buttons:!0},modules:{increaseText:!0,decreaseText:!0,increaseTextSpacing:!0,decreaseTextSpacing:!0,increaseLineHeight:!0,decreaseLineHeight:!0,invertColors:!0,grayHues:!0,bigCursor:!0,readingGuide:!0,underlineLinks:!0,textToSpeech:!0,speechToText:!0,disableAnimations:!0,iframeModals:!0,customFunctions:!0},modulesOrder:[],session:{persistent:!0},iframeModals:[],customFunctions:[],statement:{url:""},feedback:{url:""},language:{textToSpeechLang:"",speechToTextLang:""}};return Object.keys(s).forEach((e,t)=>{e=parseInt(e);isNaN(e)||i.modulesOrder.push({type:e,order:e})}),i}initFontSize(){var e,t;this._htmlInitFS||(e=this._common.getFormattedDim(getComputedStyle(this._html).fontSize),t=this._common.getFormattedDim(getComputedStyle(this._body).fontSize),this._html.style.fontSize=e.size/16*100+"%",this._htmlOrgFontSize=this._html.style.fontSize,this._body.style.fontSize=t.size/e.size+"em")}fontFallback(){this.options.icon.useEmojis=!0,this.options.icon.img="â¿",this.options.icon.fontClass=""}addDefaultOptions(e){var t;null!=(t=e.icon)&&t.closeIconElem&&(this.options.icon.closeIconElem=e.icon.closeIconElem),null!=(t=e.icon)&&t.resetIconElem&&(this.options.icon.resetIconElem=e.icon.resetIconElem),null!=(t=e.icon)&&t.imgElem&&(this.options.icon.imgElem=e.icon.imgElem),this.options.icon.closeIconElem||(this.options.icon.closeIconElem={type:"#text",text:""+(this.options.icon.useEmojis?"X":this.options.icon.closeIcon)}),this.options.icon.resetIconElem||(this.options.icon.resetIconElem={type:"#text",text:""+(this.options.icon.useEmojis?"â²":this.options.icon.resetIcon)}),this.options.icon.imgElem||(this.options.icon.imgElem={type:"#text",text:this.options.icon.img})}addModuleOrderIfNotDefined(){this.defaultOptions.modulesOrder.forEach(t=>{this.options.modulesOrder.find(e=>e.type===t.type)||this.options.modulesOrder.push(t)})}disabledUnsupportedFeatures(){"webkitSpeechRecognition"in window&&"https:"===location.protocol||(this._common.warn("speech to text isn't supported in this browser or in http protocol (https required)"),this.options.modules.speechToText=!1);var e=window;e.SpeechSynthesisUtterance&&e.speechSynthesis||(this._common.warn("text to speech isn't supported in this browser"),this.options.modules.textToSpeech=!1)}injectCss(e){var t=` 29 html._access_cursor * { 30 cursor: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz48IURPQ1RZUEUgc3ZnIFBVQkxJQyAiLS8vVzNDLy9EVEQgU1ZHIDEuMS8vRU4iICJodHRwOi8vd3d3LnczLm9yZy9HcmFwaGljcy9TVkcvMS4xL0RURC9zdmcxMS5kdGQiPjxzdmcgdmVyc2lvbj0iMS4xIiBpZD0iTGF5ZXJfMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayIgeD0iMHB4IiB5PSIwcHgiIHdpZHRoPSIyOS4xODhweCIgaGVpZ2h0PSI0My42MjVweCIgdmlld0JveD0iMCAwIDI5LjE4OCA0My42MjUiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgMCAwIDI5LjE4OCA0My42MjUiIHhtbDpzcGFjZT0icHJlc2VydmUiPjxnPjxwb2x5Z29uIGZpbGw9IiNGRkZGRkYiIHN0cm9rZT0iI0Q5REFEOSIgc3Ryb2tlLXdpZHRoPSIxLjE0MDYiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIyLjgsNC41NDkgMjYuODQ3LDE5LjkwMiAxNi45NjQsMjIuNzAxIDI0LjIzOSwzNy43NDkgMTguMjc4LDQyLjAxNyA5Ljc0MSwzMC43MjQgMS4xMzgsMzUuODA5ICIvPjxnPjxnPjxnPjxwYXRoIGZpbGw9IiMyMTI2MjciIGQ9Ik0yOS4xNzUsMjEuMTU1YzAuMDcxLTAuNjEzLTAuMTY1LTEuMjUzLTAuNjM1LTEuNTczTDIuMTY1LDAuMjU4Yy0wLjQyNC0wLjMyLTAuOTg4LTAuMzQ2LTEuNDM1LTAuMDUzQzAuMjgyLDAuNDk3LDAsMS4wMywwLDEuNjE3djM0LjE3MWMwLDAuNjEzLDAuMzA2LDEuMTQ2LDAuNzc2LDEuNDM5YzAuNDcxLDAuMjY3LDEuMDU5LDAuMjEzLDEuNDgyLTAuMTZsNy40ODItNi4zNDRsNi44NDcsMTIuMTU1YzAuMjU5LDAuNDgsMC43MjksMC43NDYsMS4yLDAuNzQ2YzAuMjM1LDAsMC40OTQtMC4wOCwwLjcwNi0wLjIxM2w2Ljk4OC00LjU4NWMwLjMyOS0wLjIxMywwLjU2NS0wLjU4NiwwLjY1OS0xLjAxM2MwLjA5NC0wLjQyNiwwLjAyNC0wLjg4LTAuMTg4LTEuMjI2bC02LjM3Ni0xMS4zODJsOC42MTEtMi43NDVDMjguNzA1LDIyLjI3NCwyOS4xMDUsMjEuNzY4LDI5LjE3NSwyMS4xNTV6IE0xNi45NjQsMjIuNzAxYy0wLjQyNCwwLjEzMy0wLjc3NiwwLjUwNi0wLjk0MSwwLjk2Yy0wLjE2NSwwLjQ4LTAuMTE4LDEuMDEzLDAuMTE4LDEuNDM5bDYuNTg4LDExLjc4MWwtNC41NDEsMi45ODVsLTYuODk0LTEyLjMxNWMtMC4yMTItMC4zNzMtMC41NDEtMC42NC0wLjk0MS0wLjcyYy0wLjA5NC0wLjAyNy0wLjE2NS0wLjAyNy0wLjI1OS0wLjAyN2MtMC4zMDYsMC0wLjU4OCwwLjEwNy0wLjg0NywwLjMyTDIuOCwzMi41OVY0LjU0OWwyMS41OTksMTUuODA2TDE2Ljk2NCwyMi43MDF6Ii8+PC9nPjwvZz48L2c+PC9nPjwvc3ZnPg==),auto!important; 31 } 32 @keyframes _access-dialog-backdrop { 33 0% { 34 background: var(--_access-menu-dialog-backdrop-background-start, rgba(0, 0, 0, 0.1)) 35 } 36 100% { 37 background: var(--_access-menu-dialog-backdrop-background-end, rgba(0, 0, 0, 0.5)) 38 } 39 } 40 dialog._access::backdrop, dialog._access { 41 transition-duration: var(--_access-menu-dialog-backdrop-transition-duration, 0.35s); 42 transition-timing-function: var(--_access-menu-dialog-backdrop-transition-timing-function, ease-in-out); 43 } 44 dialog._access:modal { 45 border-color: transparent; 46 border-width: 0; 47 padding: 0; 48 } 49 dialog._access[open]::backdrop { 50 background: var(--_access-menu-dialog-backdrop-background-end, rgba(0, 0, 0, 0.5)); 51 animation: _access-dialog-backdrop var(--_access-menu-dialog-backdrop-transition-duration, 0.35s) ease-in-out; 52 } 53 dialog._access.closing[open]::backdrop { 54 background: var(--_access-menu-dialog-backdrop-background-start, rgba(0, 0, 0, 0.1)); 55 } 56 dialog._access.closing[open] { 57 opacity: 0; 58 } 59 .screen-reader-wrapper { 60 margin: 0; 61 position: absolute; 62 bottom: -4px; 63 width: calc(100% - 2px); 64 left: 1px; 65 } 66 .screen-reader-wrapper-step-1, .screen-reader-wrapper-step-2,.screen-reader-wrapper-step-3 { 67 float: left; 68 background: var(--_access-menu-background-color, #fff); 69 width: 33.33%; 70 height: 3px; 71 border-radius: 10px; 72 } 73 .screen-reader-wrapper-step-1.active, .screen-reader-wrapper-step-2.active,.screen-reader-wrapper-step-3.active { 74 background: var(--_access-menu-item-button-background, #f9f9f9); 75 } 76 .access_read_guide_bar { 77 box-sizing: border-box; 78 background: var(--_access-menu-read-guide-bg, ${this.options.guide.cBackgroun
78d}); 79 width: 100%!important; 80 min-width: 100%!important; 81 position: fixed!important; 82 height: var(--_access-menu-read-guide-height, ${this.options.guide.height}) !important; 83 border: var(--_access-menu-read-guide-border, solid 3px ${this.options.guide.cBorder}); 84 border-radius: 5px; 85 top: 15px; 86 z-index: 2147483647; 87 }`,e=e?` 88 ._access-scrollbar::-webkit-scrollbar-track, .mat-autocomplete-panel::-webkit-scrollbar-track, .mat-tab-body-content::-webkit-scrollbar-track, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar-track, .mat-menu-panel::-webkit-scrollbar-track { 89 -webkit-box-shadow: var(--_access-scrollbar-track-box-shadow, inset 0 0 6px rgba(0,0,0,0.3)); 90 background-color: var(--_access-scrollbar-track-background-color, #F5F5F5); 91 } 92 ._access-scrollbar::-webkit-scrollbar, .mat-autocomplete-panel::-webkit-scrollbar, .mat-tab-body-content::-webkit-scrollbar, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar, .mat-menu-panel::-webkit-scrollbar {
93 width: var(--_access-scrollbar-width, 6px); 94 background-color: var(--_access-scrollbar-background-color, #F5F5F5); 95 } 96 ._access-scrollbar::-webkit-scrollbar-thumb, .mat-autocomplete-panel::-webkit-scrollbar-thumb, .mat-tab-body-content::-webkit-scrollbar-thumb, .mat-select-panel:not([class*='mat-elevation-z'])::-webkit-scrollbar-thumb, .mat-menu-panel::-webkit-scrollbar-thumb { 97 background-color: var(--_access-scrollbar-thumb-background-color, #999999); 98 } 99 ._access-icon { 100 position: var(--_access-icon-position, fixed); 101 width: var(--_access-icon-width, 50px); 102 height: var(--_access-icon-height, 50px); 103 bottom: var(--_access-icon-bottom, 50px); 104 top: var(--_access-icon-top, unset); 105 left: var(--_access-icon-left, unset); 106 right: var(--_access-icon-right, 10px); 107 z-index: var(--_access-icon-z-index, 9999); 108 font: var(--_access-icon-font, 40px / 45px "Material Icons"); 109 background: var(--_access-icon-bg, #4054b2); 110 color: var(--_access-icon-color, #fff); 111 background-repeat: no-repeat; 112 background-size: contain; 113 cursor: pointer; 114 opacity: 0; 115 transition-duration: .35s; 116 -moz-user-select: none; 117 -webkit-user-select: none; 118 -ms-user-select: none; 119 user-select: none; 120 ${this.options.icon.useEmojis?"":"box-shadow: 1px 1px 5px rgba(0,0,0,.5);"} 121 transform: ${this.options.icon.useEmojis?"skewX(14deg)":"scale(1)"}; 122 border-radius: var(--_access-icon-border-radius); 123 border: var(--_access-icon-border); 124 text-align: var(--_access-icon-text-align, center); 125 } 126 ._access-icon:hover { 127 transform: var(--_access-icon-transform-hover, scale(1.1)); 128 vertical-align: var(--_access-icon-vertical-align-hover); 129 } 130 ._access-menu { 131 -moz-user-select: none; 132 -webkit-user-select: none; 133 -ms-user-select: none; 134 user-select: none; 135 position: fixed; 136 width: var(--_access-menu-width, ${d.MENU_WIDTH}); 137 height: var(--_access-menu-height, auto); 138 transition-duration: var(--_access-menu-transition-duration, .35s); 139 z-index: var(--_access-menu-z-index, 99991); 140 opacity: 1; 141 background-color: var(--_access-menu-background-color, #fff); 142 color: var(--_access-menu-color, #000); 143 border-radius: var(--_access-menu-border-radius, 3px); 144 border: var(--_access-menu-border, solid 1px #f1f0f1); 145 font-family: var(--_access-menu-font-family, RobotoDraft, Roboto, sans-serif, Arial); 146 min-width: var(--_access-menu-min-width, 300px); 147 box-shadow: var(--_access-menu-box-shadow, 0px 0px 1px #aaa); 148 max-height: calc(100vh - 80px); 149 ${"rtl"===getComputedStyle(this._body).direction?"text-indent: -5px":""} 150 top: var(--_access-menu-top, unset); 151 left: var(--_access-menu-left, unset); 152 bottom: var(--_access-menu-bottom, 0); 153 right: var(--_access-menu-right, 0); 154 } 155 ._access-menu.close { 156 z-index: -1; 157 width: 0; 158 opacity: 0; 159 background-color: transparent; 160 left: calc(-1 * var(--_access-menu-left), unset); 161 right: calc(-1 * var(--_access-menu-width, ${d.MENU_WIDTH})); 162 } 163 ._access-menu ._text-center { 164 font-size: var(--_access-menu-header-font-size, 22px); 165 font-weight: var(--_access-menu-header-font-weight, nornal); 166 margin: var(--_access-menu-header-margin, 20px 0 10px); 167 padding: 0; 168 color: var(--_access-menu-header-color, rgba(0,0,0,.87)); 169 letter-spacing: var(--_access-menu-header-letter-spacing, initial); 170 word-spacing: var(--_access-menu-header-word-spacing, initial); 171 text-align: var(--_access-menu-header-text-align, center); 172 } 173 ._access-menu ._menu-close-btn { 174 left: 5px; 175 color: #d63c3c; 176 transition: .3s ease; 177 transform: rotate(0deg); 178 font-style: normal !important; 179 } 180 ._access-menu ._menu-reset-btn:hover,._access-menu ._menu-close-btn:hover { 181 transform: var(--_access-menu-header-btn-hover-rotate, rotate(180deg)); 182 } 183 ._access-menu ._menu-reset-btn { 184 right: 5px; 185 color: #4054b2; 186 transition: .3s ease; 187 transform: rotate(0deg); 188 font-style: normal !important; 189 } 190 ._access-menu ._menu-btn { 191 position: absolute; 192 top: 5px; 193 cursor: pointer; 194 font-size: 24px !important; 195 font-weight: bold; 196 background: transparent; 197 border: none; 198 } 199 ._access-menu ul { 200 padding: 0 0 5px; 201 position: relative; 202 font-size: var(--_access-menu-font-size, 18px); 203 margin: 0; 204 overflow: auto; 205 max-height: var(--_access-menu-max-height, calc(100vh - 145px)); 206 display: flex; 207 flex-flow: column; 208 gap: 5px; 209 } 210 ${t} 211 ._access-menu ul li { 212 position: relative; 213 list-style-type: none;
214 -ms-user-select: none; 215 -moz-user-select: none; 216 -webkit-user-select: none; 217 user-select: none; 218 margin: 0 5px 0 8px; 219 font: { size: 18, units: 'px' } 220 font-size: var(--_access-menu-item-font-size, 18px) !important; 221 line-height: var(--_access-menu-item-line-height, 18px) !important; 222 color: var(--_access-menu-item-color, rgba(0,0,0,.6)); 223 letter-spacing: var(--_access-menu-item-letter-spacing, initial); 224 word-spacing: var(--_access-menu-item-word-spacing, initial); 225 width: calc(100% - 17px); 226 } 227 ._access-menu ul li button { 228 background: var(--_access-menu-item-button-background, #f9f9f9); 229 padding: var(--_access-menu-item-button-padding, 10px 0); 230 width: 100%; 231 text-indent: var(--_access-menu-item-button-text-indent, 35px); 232 text-align: start; 233 position: relative; 234 transition-duration: var(--_access-menu-item-button-transition-duration, .35s); 235 transition-timing-function: var(--_access-menu-item-button-transition-timing-function, ease-in-out); 236 border: var(--_access-menu-item-button-border, solid 1px #f1f0f1); 237 border-radius: var(--_access-menu-item-button-border-radius, 4px); 238 cursor: pointer; 239 } 240 ._access-menu ul li.position { 241 display: inline-block; 242 width: auto; 243 } 244 ._access-menu ul.before-collapse li button { 245 opacity: var(--_access-menu-item-button-before-collapse-opacity, 0.05); 246 } 247 ._access-menu ul li button.active, ._access-menu ul li button.active:hover { 248 background-color: var(--_access-menu-item-button-active-background-color, #000); 249 } 250 ._access-menu div.active { 251 color: var(--_access-menu-div-active-color, #fff); 252 background-color: var(--_access-menu-div-active-background-color, #000); 253 } 254 ._access-menu ul li button.active, ._access-menu ul li button.active:hover, ._access-menu ul li button.active:before, ._access-menu ul li button.active:hover:before { 255 color: var(--_access-menu-item-button-active-color, #fff); 256 } 257 ._access-menu ul li button:hover { 258 color: var(--_access-menu-item-button-hover-color, rgba(0,0,0,.8)); 259 background-color: var(--_access-menu-item-button-hover-background-color, #eaeaea); 260 } 261 ._access-menu ul li.not-supported { 262 display: none; 263 } 264 ._access-menu ul li button:before { 265 content: ' '; 266 font-family: var(--_access-menu-button-font-family-before, ${this._fixedDefaultFont}); 267 text-rendering: optimizeLegibility; 268 font-feature-settings: "liga" 1; 269 font-style: normal; 270 text-transform: none; 271 line-height: ${this.options.icon.useEmojis?"1.1":"1"}; 272 font-size: ${this.options.icon.useEmojis?"20px":"24px"} !important; 273 width: 30px; 274 height: 30px; 275 display: inline-block; 276 overflow: hidden; 277 -webkit-font-smoothing: antialiased; 278 top: 7px; 279 left: 5px; 280 position: absolute; 281 color: var(--_access-menu-item-icon-color, rgba(0,0,0,.6)); 282 direction: ltr; 283 text-indent: 0; 284 transition-duration: .35s; 285 transition-timing-function: ease-in-out; 286 } 287 ._access-menu ul li button svg path { 288 fill: var(--_access-menu-item-icon-color, rgba(0,0,0,.6)); 289 transition-duration: .35s; 290 transition-timing-function: ease-in-out; 291 } 292 ._access-menu ul li button:hover svg path { 293 fill: var(--_access-menu-item-hover-icon-color, rgba(0,0,0,.8)); 294 } 295 ._access-menu ul li button.active svg path { 296 fill: var(--_access-menu-item-active-icon-color, #fff); 297 } 298 ._access-menu ul li:hover button:before { 299 color: var(--_access-menu-item-hover-icon-color, rgba(0,0,0,.8)); 300 } 301 ._access-menu ul li button.active button:before { 302 color: var(--_access-menu-item-active-icon-color, #fff); 303 } 304 ._access-menu ul li button[data-access-action="increaseText"]:before { 305 content: var(--_access-menu-item-icon-increase-text, ${this.options.icon.useEmojis?'"ð¼"':'"zoom_in"'}); 306 transform: var(--_access-menu-item-icon-increase-text-transform, unset); 307 top: var(--_access-menu-item-icon-increase-text-top, 7px); 308 left: var(--_access-menu-item-icon-increase-text-left, 5px); 309 } 310 ._access-menu ul li button[data-access-action="decreaseText"]:before { 311 content: var(--_access-menu-item-icon-decrease-text, ${this.options.icon.useEmojis?'"ð½"':'"zoom_out"'}); 312 transform: var(--_access-menu-item-icon-decrease-text-spacing-transform, unset); 313 top: var(--_access-menu-item-icon-decrease-text-spacing-top, 7px); 314 left: var(--_access-menu-item-icon-decrease-text-spacing-left, 5px); 315 } 316 ._access-menu ul li button[data-access-action="increaseTextSpacing"]:before { 317 content: var(--_access-menu-item-icon-increase-text-spacing, ${this.options.icon.useEmojis?'"ð¼"':'"unfold_more"'}); 318 transform: var(--_access-menu-item-icon-increase-text-spacing-transform, rotate(90deg) translate(-7px, 2px)
318); 319 top: var(--_access-menu-item-icon-increase-text-spacing-top, 14px); 320 left: var(--_access-menu-item-icon-increase-text-spacing-left, 0); 321 } 322 ._access-menu ul li button[data-access-action="decreaseTextSpacing"]:before { 323 content: var(--_access-menu-item-icon-decrease-text-spacing, ${this.options.icon.useEmojis?'"ð½"':'"unfold_less"'}); 324 transform: var(--_access-menu-item-icon-decrease-text-spacing-transform, rotate(90deg) translate(-7px, 2px)); 325 top: var(--_access-menu-item-icon-decrease-text-spacing-top, 14px); 326 left: var(--_access-menu-item-icon-decrease-text-spacing-left, 0); 327 } 328 ._access-menu ul li button[data-access-action="invertColors"]:before { 329 content: var(--_access-menu-item-icon-invert-colors, ${this.options.icon.useEmojis?'"ð"':'"invert_colors"'}); 330 transform: var(--_access-menu-item-icon-invert-colors-transform, unset); 331 top: var(--_access-menu-item-icon-invert-colors-top, 7px); 332 left: var(--_access-menu-item-icon-invert-colors-left, 5px); 333 } 334 ._access-menu ul li button[data-access-action="grayHues"]:before { 335 content: var(--_access-menu-item-icon-gray-hues, ${this.options.icon.useEmojis?'"ð«ï¸"':'"format_color_reset"'}); 336 transform: var(--_access-menu-item-icon-gray-hues-transform, unset); 337 top: var(--_access-menu-item-icon-gray-hues-top, 7px); 338 left: var(--_access-menu-item-icon-gray-hues-left, 5px); 339 } 340 ._access-menu ul li button[data-access-action="underlineLinks"]:before { 341 content: var(--_access-menu-item-icon-underline-links, ${this.options.icon.useEmojis?'"ð"':'"format_underlined"'}); 342 transform: var(--_access-menu-item-icon-underline-links-transform, unset); 343 top: var(--_access-menu-item-icon-underline-links-top, 7px); 344 left: var(--_access-menu-item-icon-underline-links-left, 5px); 345 } 346 ._access-menu ul li button[data-access-action="bigCursor"]:before { 347 /*content: 'touch_app';*/ 348 content: var(--_access-menu-item-icon-big-cursor, inherit); 349 transform: var(--_access-menu-item-icon-big-cursor-transform, unset); 350 top: var(--_access-menu-item-icon-big-cursor-top, 7px); 351 left: var(--_access-menu-item-icon-big-cursor-left, 5px); 352 } 353 ._access-menu ul li button[data-access-action="readingGuide"]:before { 354 content: var(--_access-menu-item-icon-reading-guide, ${this.options.icon.useEmojis?'"âï¸"':'"border_horizontal"'}); 355 transform: var(--_access-menu-item-icon-reading-guide-transform, unset); 356 top: var(--_access-menu-item-icon-reading-guide-top, 7px); 357 left: var(--_access-menu-item-icon-reading-guide-left, 5px); 358 } 359 ._access-menu ul li button[data-access-action="textToSpeech"]:before { 360 content: var(--_access-menu-item-icon-text-to-speech, ${this.options.icon.useEmojis?'"âºï¸"':'"record_voice_over"'}); 361 transform: var(--_access-menu-item-icon-text-to-speech-transform, unset); 362 top: var(--_access-menu-item-icon-text-to-speech-top, 7px); 363 left: var(--_access-menu-item-icon-text-to-speech-left, 5px); 364 } 365 ._access-menu ul li button[data-access-action="speechToText"]:before { 366 content: var(--_access-menu-item-icon-speech-to-text, ${this.options.icon.useEmojis?'"ð¤"':'"mic"'}); 367 transform: var(--_access-menu-item-icon-speech-to-text-transform, unset); 368 top: var(--_access-menu-item-icon-speech-to-text-top, 7px); 369 left: var(--_access-menu-item-icon-speech-to-text-left, 5px); 370 } 371 ._access-menu ul li button[data-access-action="disableAnimations"]:before { 372 content: var(--_access-menu-item-icon-disable-animations, ${this.options.icon.useEmojis?'"ðââï¸"':'"animation"'}); 373 transform: var(--_access-menu-item-icon-disable-animations-transform, unset); 374 top: var(--_access-menu-item-icon-disable-animations-top, 7px); 375 left: var(--_access-menu-item-icon-disable-animations-left, 5px); 376 } 377 ._access-menu ul li button[data-access-action="iframeModals"]:before { 378 content: var(--_access-menu-item-icon-iframe-modals, ${this.options.icon.useEmojis?'"âï¸"':'"policy"'}); 379 transform: var(--_access-menu-item-icon-iframe-transform, unset); 380 top: var(--_access-menu-item-icon-iframe-top, 7px); 381 left: var(--_access-menu-item-icon-iframe-left, 5px); 382 } 383 ._access-menu ul li button[data-access-action="customFunctions"]:before { 384 content: var(--_access-menu-item-icon-custom-functions, ${this.options.icon.useEmojis?'"â"':'"psychology_alt"'}); 385 transform: var(--_access-menu-item-icon-custom-functions-transform, unset); 386 top: var(--_access-menu-item-icon-custom-functions-top, 7px); 387 left: var(--_access-menu-item-icon-custom-functions-left, 5px); 388 } 389 ._access-menu ul li button[data-access-action="increaseLineHeight"]:before { 390 content: var(--_access-menu-item-icon-increase-line-height, ${this.options.icon.useEmojis?'"ð¼"':'"unfold_more"'}); 391 transform: var(--_access-menu-item-icon-increase-line-height-transform, unset); 392 top: var(--_access-menu-item-icon-increase-line-height-top, 7px); 393 left: var(--_access-menu-item-icon-increase-line-height-left, 5px); 394 } 395 ._access-menu ul li button[data-access-action="decreaseLineHeight"]:before { 396 content: var(--_access-menu-item-icon-decrease-line-height, ${this.options.icon.useEmojis?'"ð½"':'"unfold_less"'}); 397 transform: var(--_access-menu-item-icon-decrease-line-height-transform, unset); 398 top: var(--_access-menu-item-icon-decrease-line-height-top, 7px); 399 left: var(--_access-menu-item-icon-decrease-line-height-left, 5px); 400 }`:t,t=d.CSS_CLASS_NAME;this._common.injectStyle(e,{className:t}),this._common.deployedObjects.set("."+t,!1)}removeCSS(){var e=document.querySelector("."+d.CSS_CLASS_NAME);e&&e.remove()}injectIcon(){var e=`_access-icon ${this.options.icon.fontClass} _access`,e=this._common.jsonToHtml({type:"i",attrs:{class:e,title:this.options.hotkeys.enabled?this.parseKeys(this.options.hotkeys.keys.toggleMenu):this.options.labels.menuTitle,tabIndex:0},children:[this.options.icon.imgElem]});return this._body.appendChild(e),this._common.deployedObjects.set("._access-icon",!1),e}parseKeys(e){return this.options.hotkeys.enabled&&this.options.hotkeys.helpT
400itles?this.options.labels.hotkeyPrefix+e.map(function(e){return Number.isInteger(e)?String.fromCharCode(e).toLowerCase():e.replace("Key","")}).join("+"):""}injectMenu(){let s={type:"div",attrs:{class:"_access-menu close _access"},children:[{type:"p",attrs:{class:"_text-center",role:"presentation"},children:[{type:"button",attrs:{class:"_menu-close-btn _menu-btn "+this.options.icon.fontClass,style:`font-family: var(--_access-menu-close-btn-font-family, ${this._fixedDefaultFont})`,title:this.options.hotkeys.enabled?this.parseKeys(this.options.hotkeys.keys.toggleMenu):this.options.labels.closeTitle},children:[this.options.icon.closeIconElem]},{type:"#text",text:this.options.labels.menuTitle},{type:"button",attrs:{class:"_menu-reset-btn _menu-btn "+this.options.icon.fontClass,style:`font-family: var(--_access-menu-reset-btn-font-family, ${this._fixedDefaultFont})`,title:this.options.labels.resetTitle},children:[this.options.icon.resetIconElem]}]},{type:"ul",attrs:{class:"before-collapse _access-scrollbar"},children:[{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseText",tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.increaseText}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseText",tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.decreaseText}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseTextSpacing",tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.increaseTextSpacing}
400]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseTextSpacing",tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.decreaseTextSpacing}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"increaseLineHeight",tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.increaseLineHeight}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"decreaseLineHeight",tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.decreaseLineHeight}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"invertColors",title:this.parseKeys(this.options.hotkeys.keys.invertColors),tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.invertColors}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"grayHues",title:this.parseKeys(this.options.hotkeys.keys.grayHues),tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.grayHues}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"underlineLinks",title:this.parseKeys(this.options.hotkeys.keys.underlineLinks),tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.underlineLinks}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"bigCursor",title:this.parseKeys(this.options.hotkeys.keys.bigCursor),tabIndex:"-1"},children:[{type:"div",attrs:{id:"iconBigCursor"}},{type:"#text",text:this.options.labels.bigCursor}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"readingGuide",title:this.parseKeys(this.options.hotkeys.keys.readingGuide),tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.readingGuide}]}]},{type:"li",children:[{type:"button",attrs:{"data-access-action":"disableAnimations",title:this.parseKeys(this.options.hotkeys.keys.disableAnimations),tabIndex:"-1"},children:[{type:"#text",text:this.options.labels.disableAnimations}]}]}]}]};this.options.iframeModals&&this.options.iframeModals.forEach((t,i)=>{var n={type:"li",children:[{type:"button",attrs:{"data-access-action":"iframeModals","data-access-url":t.iframeUrl},children:[{type:"#text",text:t.buttonText}]}]};let o=null;if(t.icon&&!this.options.icon.useEmojis?o=t.icon:t.emoji&&this.options.icon.useEmojis&&(o=t.emoji),o){let e=`._access-menu ul li button[data-access-action="iframeModals"][data-access-iframe-index="${n.children[0].attrs["data-access-iframe-index"]=i}"]:before { 401 content: "${o}"; 402 }`;t="_data-access-iframe-index-"+i;this._common.injectStyle(e,{className:t}),this._common.deployedObjects.set("."+t,!1)}this.options.modules.textToSpeech?s.children[1].children.splice(s.children[1].children.length-2,0,n):s.children[1].children.push(n)}),this.options.customFunctions&&this.options.customFunctions.forEach((t,e)=>{e={type:"li",children:[{type:"button",attrs:{"data-access-action":"customFunctions","data-access-custom-id":t.id,"data-access-custom-index":e},children:[{type:"#text",text:t.buttonText}]}]};let i=null;if(t.icon&&!this.options.icon.useEmojis?i=t.icon:t.emoji&&this.options.icon.useEmojis&&(i=t.emoji),i){let e=`._access-menu ul li button[data-access-action="customFunctions"][data-access-custom-id="${t.id}"]:before { 403 content: "${i}"; 404 }`;t="_data-access-custom-id-"+t.id;this._common.injectStyle(e,{className:t}),this._common.deployedObjects.set("."+t,!1)}this.options.modules.textToSpeech?s.children[1].children.splice(s.children[1].children.length-2,0,e):s.children[1].children.push(e)});var e=this._common.jsonToHtml(s);this._body.appendChild(e),setTimeout(function(){var e=document.getElementById("iconBigCursor");e&&(e.outerHTML=e.outerHTML+'<svg version="1.1" id="iconBigCursorSvg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 512 512" style="position: absolute;width: 19px;height: 19px;top: 9px; left: 9px;" xml:space="preserve"><path d="M 423.547 323.115 l -320 -320 c -3.051 -3.051 -7.637 -3.947 -11.627 -2.304 s -6.592 5.547 -6.592 9.856 V 480 c 0 4.501 2.837 8.533 7.083 10.048 c 4.224 1.536 8.981 0.192 11.84 -3.285 l 85.205 -104.128 l 56.853 123.179 c 1.792 3.883 5.653 6.187 9.685 6.187 c 1.408 0 2.837 -0.277 4.203 -0.875 l 74.667 -32 c 2.645 -1.131 4.736 -3.285 5.76 -5.973 c 1.024 -2.688 0.939 -5.675 -0.277
404-8.299 l -57.024 -123.52 h 132.672 c 4.309 0 8.213 -2.603 9.856 -6.592 C 427.515 330.752 426.598 326.187 423.547 323.115 Z"/></svg>',document.getElementById("iconBigCursor").remove())},1),this._common.deployedObjects.set("._access-menu",!1);let t=document.querySelector("._access-menu ._menu-close-btn"),i=(["click","keyup"].forEach(e=>{t.addEventListener(e,e=>{e=e||window.event;0===e.detail&&"Enter"!==e.key||this.toggleMenu()},!1)}),document.querySelector("._access-menu ._menu-reset-btn"));return["click","keyup"].forEach(e=>{i.addEventListener(e,e=>{e=e||window.event;0===e.detail&&"Enter"!==e.key||this.resetAll()},!1)}),e}getVoices(){return new Promise(e=>{let t,i=window.speechSynthesis;t=setInterval(()=>{0!==i.getVoices().length&&(e(i.getVoices()),clearInterval(t))},10)})}injectTts(){return l(this,void 0,void 0,function*(){let t=yield this.getVoices(),i=!1;for(let e=0;e<t.length;e++)if(t[e].lang===this.options.language.textToSpeechLang){i=!0;break}var e,n,o;i&&(e=this.common.jsonToHtml({type:"li",children:[{type:"button",attrs:{"data-access-action":"textToSpeech",title:this.parseKeys(this.options.hotkeys.keys.textToSpeech)},children:[{type:"#text",text:this.options.labels.textToSpeech}]},{type:"div",attrs:{class:"screen-reader-wrapper"},children:[{type:"div",attrs:{class:"screen-reader-wrapper-step-1",tabIndex:"-1"}},{type:"div",attrs:{class:"screen-reader-wrapper-step-2",tabIndex:"-1"}},{type:"div",attrs:{class:"screen-reader-wrapper-step-3",tabIndex:"-1"}}]}]}),n=this.common.jsonToHtml({type:"li",children:[{type:"button",attrs:{"data-access-action":"speechToText",title:this.parseKeys(this.options.hotkeys.keys.speechToText)},children:[{type:"#text",text:this.options.labels.speechToText}]}]}),(o=document.querySelector("._access-menu ul")).appendChild(n),o.appendChild(e))})}addListeners(){let i=document.querySelectorAll("._access-menu ul li"),e=document.getElementsByClassName("screen-reader-wrapper-step-1"),t=document.getElementsByClassName("screen-reader-wrapper-step-2"),n=document.getElementsByClassName("screen-reader-wrapper-step-3");for(let t=0;t<i.length;t++)["click","keyup"].forEach(e=>i[t].addEventListener(e,e=>{e=e||window.event;0===e.detail&&"Enter"!==e.key||this.invoke(e.target.getAttribute("data-access-action"),e.target)}));
404[...Array.from(e),...Array.from(t),...Array.from(n)].forEach(e=>e.addEventListener("click",e=>{e=e||window.event;this.invoke(e.target.parentElement.parentElement.getAttribute("data-access-action"),e.target)},!1))}sortModuleTypes(){this.options.modulesOrder.sort((e,t)=>e.order-t.order)}disableUnsupportedModulesAndSort(){this.sortModuleTypes();let i=document.querySelector("._access-menu ul");this.options.modulesOrder.forEach(e=>{var e=e.type,e=s[e],t=this.options.modules[e],e=document.querySelector('button[data-access-action="'+e+'"]');e&&(e.parentElement.remove(),i.appendChild(e.parentElement),t||e.parentElement.classList.add("not-supported"))})}resetAll(){this.menuInterface.textToSpeech(!0),this.menuInterface.speechToText(!0),this.menuInterface.disableAnimations(!0),this.menuInterface.underlineLinks(!0),this.menuInterface.grayHues(!0),this.menuInterface.invertColors(!0),this.menuInterface.bigCursor(!0),this.menuInterface.readingGuide(!0),this.resetTextSize(),this.resetTextSpace(),this.resetLineHeight()}resetTextSize(){this.resetIfDefined(this._stateValues.body.fontSize,this._body.style,"fontSize"),void 0!==this._htmlOrgFontSize&&(this._html.style.fontSize=this._htmlOrgFontSize);var t=document.querySelectorAll("[data-init-font-size]");for(let e=0;e<t.length;e++)t[e].style.fontSize=t[e].getAttribute("data-init-font-size"),t[e].removeAttribute("data-init-font-size");this._sessionState.textSize=0,this.onChange(!0)}resetLineHeight(){this.resetIfDefined(this._stateValues.body.lineHeight,this.body.style,"lineHeight");var t=document.querySelectorAll("[data-init-line-height]");for(let e=0;e<t.length;e++)t[e].style.lineHeight=t[e].getAttribute("data-init-line-height"),t[e].removeAttribute("data-init-line-height");this.sessionState.lineHeight=0,this.onChange(!0)}resetTextSpace(){this.resetIfDefined(this._stateValues.body.wordSpacing,this._body.style,"wordSpacing"),this.resetIfDefined(this._stateValues.body.letterSpacing,this._body.style,"letterSpacing");var t=document.querySelectorAll("[data-init-word-spacing]"),i=document.querySelectorAll("[data-init-letter-spacing]");for(let e=0;e<t.length;e++)t[e].style.wordSpacing=t[e].getAttribute("data-init-word-spacing"),t[e].removeAttribute("data-init-word-spacing");for(let e=0;e<i.length;e++)t[e].style.letterSpacing=t[e].getAttribute("data-init-letter-spacing"),t[e].removeAttribute("data-init-letter-spacing");this._sessionState.textSpace=0,this.onChange(!0)}alterTextSize(i){this._sessionState.textSize+=i?1:-1,this.onChange(!0);let n=this.options.textSizeFactor;if(i||(n*=-1),this.options.textPixelMode){var o=document.querySelectorAll("*:not(._access)");for(let e=0;e<o.length;e++){var t=getComputedStyle(o[e]).fontSize;t&&-1<t.indexOf("px")&&(o[e].getAttribute("data-init-font-size")||o[e].setAttribute("data-init-font-size",t))}for(let t=0;t<o.length;t++){let e=getComputedStyle(o[t]).fontSize;e&&-1<e.indexOf("px")&&(e=parseInt(e.replace("px",""))+n,o[t].style.fontSize=e+"px"),this._stateValues.textToSpeech&&this.textToSpeech("Text Size "+(i?"Increased":"Decreased"))}let e=getComputedStyle(this._body).fontSize;e&&-1<e.indexOf("px")&&(this._body.getAttribute("data-init-font-size")||this._body.setAttribute("data-init-font-size",e),e=parseInt(e.replace("px",""))+n,this._body.style.fontSize=e+"px")}else if(this.options.textEmlMode){let e=this._html.style.fontSize;e.indexOf("%")?(e=parseInt(e.replace("%","")),this._html.style.fontSize=e+n+"%",this._stateValues.textToSpeech&&this.textToSpeech("Text Size "+(i?"Increased":"Decreased"))):this._common.warn("Accessibility.textEmlMode, html element is not set in %.")}else{var e=this._common.getFormattedDim(getComputedStyle(this._body).fontSize);void 0===this._stateValues.body.fontSize&&(this._stateValues.body.fontSize=e.size+e.suffix),e&&e.suffix&&!isNaN(+e.size)&&(this._body.style.fontSize=+e.size+n+e.suffix)}}alterLineHeight(n){this.sessionState.lineHeight+=n?1:-1,this.onChange(!0);let o=2;n||(o*=-1),this.options.textEmlMode&&(o*=10);var s=document.querySelectorAll("*:not(._access)"),e=Array.prototype.slice.call(document.querySelectorAll("._access-menu *"));for(let i=0;i<s.length;i++)if(!e.includes(s[i]))if(this.options.textPixelMode){var r=getComputedStyle(s[i]).lineHeight;if(r&&-1<r.indexOf("px")){s[i].getAttribute("data-init-line-height")||s[i].setAttribute("data-init-line-height",r);let e=parseInt(r.replace("px",""))+o;s[i].style.lineHeight=e+"px"}this._stateValues.textToSpeech&&this.textToSpeech("Line Height "+(n?"Increased":"Decreased"))}else if(this.options.textEmlMode){let e=getComputedStyle(s[i]).fontSize,t=getComputedStyle(s[i]).lineHeight;var r=(t="normal"===t?(1.2*parseInt(e.replace("px",""))).toString()+"px":t).replace("px",""),a=e.replace("px",""),a=100*parseInt(r)/parseInt(a);t&&-1<t.indexOf("px")&&(s[i].getAttribute("data-init-line-height")||s[i].setAttribute("data-init-line-height",a+"%"),a+=o,s[i].style.lineHeight=a+"%"),this._stateValues.textToSpeech&&this.textToSpeech("Line height "+(n?"Increased":"Decreased"))}}alterTextSpace(e){this._sessionState.textSpace+=e?1:-1,this.onChange(!0);let n=2;if(e||(n*=-1),this.options.textPixelMode){var o=document.querySelectorAll("*:not(._access)"),t=Array.prototype.slice.call(document.querySelectorAll("._access-menu *"));for(let i=0;i<o.length;i++)if(!t.includes(o[i])){let e=o[i].style.wordSpacing,t=(e&&-1<e.indexOf("px")?(o[i].getAttribute("data-init-word-spacing")||o[i].setAttribute("data-init-word-spacing",e),e=+e.replace("px","")+n,o[i].style.wordSpacing=e+"px"):(o[i].setAttribute("data-init-word-spacing",e),o[i].style.wordSpacing=n+"px"),o[i].style.letterSpacing);t&&-1<t.indexOf("px")?(o[i].getAttribute("data-init-letter-spacing")||o[i].setAttribute("data-init-letter-spacing",t),t=+t.replace("px","")+n,o[i].style.letterSpacing=t+"px"):(o[i].setAttribute("data-init-letter-spacing",t),o[i].style.letterSpacing=n+"px")}}else{var i=this._common.getFormattedDim(getComputedStyle(this._body).wordSpacing),i=(void 0===this._stateValues.body.wordSpacing&&(this._stateValues.body.wordSpacing=""),i&&i.suffix&&!isNaN(+i.size)&&(this._body.style.wordSpacing=+i.size+n+i.suffix
404),this._common.getFormattedDim(getComputedStyle(this._body).letterSpacing));void 0===this._stateValues.body.letterSpacing&&(this._stateValues.body.letterSpacing=""),i&&i.sufix&&!isNaN(+i.size)&&(this._body.style.letterSpacing=+i.size+n+i.sufix)}this._stateValues.textToSpeech&&this.textToSpeech("Text Spacing "+(e?"Increased":"Decreased"))}speechToText(){("webkitSpeechRecognition"in window||"SpeechRecognition"in window)&&(this._recognition=new(window.SpeechRecognition||window.webkitSpeechRecognition),this._recognition.continuous=!0,this._recognition.interimResults=!0,this._recognition.onstart=()=>{this._body.classList.add("_access-listening")},this._recognition.onend=()=>{this._body.classList.remove("_access-listening")},this._recognition.onresult=t=>{let i="";if(void 0!==t.results){for(let e=t.resultIndex;e<t.results.length;++e)t.results[e].isFinal&&(i+=t.results[e][0].transcript);i&&this._speechToTextTarget&&(this._speechToTextTarget.parentElement.classList.remove("_access-listening"),"input"===this._speechToTextTarget.tagName.toLowerCase()||"textarea"===this._speechToTextTarget.tagName.toLowerCase()?this._speechToTextTarget.value=i:null!==this._speechToTextTarget.getAttribute("contenteditable")&&(this._speechToTextTarget.innerText=i))}},this._recognition.lang=this.options.language.speechToTextLang,this._recognition.start())}textToSpeech(e){var n=window;if(n.SpeechSynthesisUtterance&&n.speechSynthesis){var o=new n.SpeechSynthesisUtterance(e);o.lang=this.options.language.textToSpeechLang,o.lang=this.options.textToSpeechLang,o.rate=this._stateValues.speechRate,o.onend=()=>{this._isReading=!1};let t=n.speechSynthesis.getVoices(),i=!1;for(let e=0;e<t.length;e++)if(t[e].lang===o.lang){o.voice=t[e],i=!0;break}i||this._common.warn("text to speech language not supported!"),(window.speechSynthesis.pending||window.speechSynthesis.speaking)&&(window.speechSynthesis.pause,window.speechSynthesis.cancel()),window.speechSynthesis.speak(o),this._isReading=!0}}createScreenShot(e){return new Promise(i=>{let n=document.createElement("canvas"),o=new Image;n.style.position="fixed",n.style.top="0",n.style.left="0",n.style.opacity="0",n.style.transform="scale(0.05)",o.crossOrigin="anonymous",o.onload=()=>l(this,void 0,void 0,function*(){document.body.appendChild(n);var e=n.getContext("2d");let t;n.width=o.naturalWidth,n.height=o.naturalHeight,e.clearRect(0,0,n.width,n.height),e.drawImage(o,0,0);try{t=n.toDataURL("image/png")}catch(e){}i(t),n.remove()}),o.onerror=()=>{i(c.DEFAULT_PIXEL)},o.src=e})}listen(){"object"==typeof this._recognition&&"function"==typeof this._recognition.stop&&this._recognition.stop(),this._speechToTextTarget=window.event.target,this.speechToText()}read(e){try{(e=window.event||e||arguments[0])&&e.preventDefault&&(e.preventDefault(),e.stopPropagation())}catch(e){}var t,i=Array.prototype.slice.call(document.querySelectorAll("._access-menu *"));for(t in i)if(i[t]===window.event.target&&e instanceof MouseEvent)return;!(e instanceof KeyboardEvent&&(e.shiftKey&&"Tab"===e.key||"Tab"===e.key))&&this._isReading?(window.speechSynthesis.cancel(),this._isReading=!1):this.textToSpeech(window.event.target.innerText)}runHotkey(e){"toggleMenu"===e?this.toggleMenu():"function"==typeof this.menuInterface[e]&&this._options.modules[e]&&this.menuInterface[e](!1)}toggleMenu(){let t=this._menu.classList.contains("close");setTimeout(()=>{this._menu.querySelector("ul").classList.toggle("before-collapse")},t?500:10),this._menu.classList.toggle("close"),this.options.icon.tabIndex=t?0:-1,this._menu.childNodes.forEach(e=>{e.tabIndex=0,e.hasChildNodes()&&(e.tabIndex=-1,e.childNodes.forEach(e=>{e.tabIndex=t?0:-1}))})}invoke(e,t){"function"==typeof this.menuInterface[e]&&this.menuInterface[e](void 0,t)}onKeyDown(n){var e=Object.entries(this.options.hotkeys.keys).find(function(e){let t=!0;for(var i=0;i<e[1].length;i++)Number.isInteger(e[1][i])?n.keyCode!==e[1][i]&&(t=!1):void 0!==n[e[1][i]]&&!1!==n[e[1][i]]||(t=!1);return t});void 0!==e&&this.runHotkey(e[0])}build(){this._stateValues={underlineLinks:!1,textToSpeech:!1,bigCursor:!1,readingGuide:!1,speechRate:1,body:{},html:{}},this._body=document.body||document.getElementsByTagName("body")[0],this._html=document.documentElement||document.getElementsByTagName("html")[0],this.options.textEmlMode&&this.initFontSize(),this.injectCss(!this.options.suppressCssInjection&&!this.options.suppressDomInjection),this.options.suppressDomInjection||(this._icon=this.injectIcon(),this._menu=this.injectMenu(),this.injectTts(),setTimeout(()=>{this.addListeners(),this.disableUnsupportedModulesAndSort()},10),this.options.hotkeys.enabled&&document.addEventListener("keydown",this._onKeyDownBind,!1),this._icon.addEventListener("click",()=>{this.toggleMenu()},!1),this._icon.addEventListener("keyup",e=>{"Enter"===e.key&&this.toggleMenu()},!1),setTimeout(()=>{this._icon.style.opacity="1"},10)),this.updateReadGuide=e=>{e="touchmove"===e.type?e.changedTouches[0].clientY:e.y;document.getElementById("access_read_guide_bar").style.top=e-(parseInt(this.options.guide.height.replace("px",""))+5)+"px"},this.menuInterface=new u(this),this.options.session.persistent&&this.setSessionFromCac
404he()}updateReadGuide(e){e="touchmove"===e.type?e.changedTouches[0].clientY:e.y;document.getElementById("access_read_guide_bar").style.top=e-(parseInt(this.options.guide.height.replace("px",""))+5)+"px"}resetIfDefined(e,t,i){void 0!==e&&(t[i]=e)}onChange(e){e&&this.options.session.persistent&&this.saveSession()}saveSession(){this._storage.set("_accessState",this.sessionState)}setSessionFromCache(){var t=this._storage.get("_accessState");if(t){if(t.textSize){let e=t.textSize;if(0<e)for(;e--;)this.alterTextSize(!0);else for(;e++;)this.alterTextSize(!1)}if(t.textSpace){let e=t.textSpace;if(0<e)for(;e--;)this.alterTextSpace(!0);else for(;e++;)this.alterTextSpace(!1)}if(t.lineHeight){let e=t.lineHeight;if(0<e)for(;e--;)this.alterLineHeight(!0);else for(;e--;)this.alterLineHeight(!1)}t.invertColors&&this.menuInterface.invertColors(),t.grayHues&&this.menuInterface.grayHues(),t.underlineLinks&&this.menuInterface.underlineLinks(),t.bigCursor&&this.menuInterface.bigCursor(),t.readingGuide&&this.menuInterface.readingGuide(),this.sessionState=t}}destroy(){this._common.deployedObjects.getAll().forEach((e,t)=>{t=document.querySelector(t);t&&t.parentElement.removeChild(t)}),document.removeEventListener("keydown",this._onKeyDownBind,!1)}}d.CSS_CLASS_NAME="_access-main-css",d.MENU_WIDTH="25vw",d.init=e=>{console.warn('"Accessibility.init()" is deprecated! Please use "new Accessibility()" instead'),new d(e)};let e=d;"undefined"!=typeof window&&(window.Accessibility=e)}return r}),jQuery("a.tooltip-icon").on("click",function(e){e.preventDefault()}); 405//# sourceMappingURL=Smartweb.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.