vendor: 15,209 bytes, line 1
1!function(e,t){"use strict";"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,(function(e,t){"use strict";var n=[],i=Object.getPrototypeOf,o=n.slice,r=n.flat?function(e){return n.flat.call(e)}:function(e){return n.concat.apply([],e)},s=n.push,a=n.indexOf,l={},c=l.toString,d=l.hasOwnProperty,u=d.toString,h=u.call(Object),f={},p=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},g=function(e){return null!=e&&e===e.window},m=e.document,v={type:!0,src:!0,nonce:!0,noModule:!0};function y(e,t,n){var i,o,r=(n=n||m).createElement("script");if(r.text=e,t)for(i in v)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function b(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[c.call(e)]||"object":typeof e}var w="3.7.0",x=/HTML$/i,k=function(e,t){return new k.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=b(e);return!p(e)&&!g(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function S(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}k.fn=k.prototype={jquery:w,constructor:k,length:0,toArray:function(){return o.call(this)},get:function(e){return null==e?o.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=k.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return k.each(this,e)},map:function(e){return this.pushStack(k.map(this,(function(t,n){return e.call(t,n,t)})))},slice:function(){return this.pushStack(o.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(k.grep(this,(function(e,t){return(t+1)%2})))},odd:function(){return this.pushStack(k.grep(this,(function(e,t){return t%2})))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:s,sort:n.sort,splice:n.splice},k.extend=k.fn.extend=function(){var e,t,n,i,o,r,s=arguments[0]||{},a=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[a]||{},a++),"object"==typeof s||p(s)||(s={}),a===l&&(s=this,a--);a<l;a++)if(null!=(e=arguments[a]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(c&&i&&(k.isPlainObject(i)||(o=Array.isArray(i)))?(n=s[t],r=o&&!Array.isArray(n)?[]:o||k.isPlainObject(n)?n:{},o=!1,s[t]=k.extend(c,r,i)):void 0!==i&&(s[t]=i));return s},k.extend({expando:"jQuery"+(w+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==c.call(e)||(t=i(e))&&("function"!=typeof(n=d.call(t,"constructor")&&t.constructor)||u.call(n)!==h))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){y(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(E(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,o=e.nodeType;if(o){if(1===o||9===o||11===o)return e.textContent;if(3===o||4===o)return e.nodeValue}else for(;t=e[i++];)n+=k.text(t);return n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?k.merge(n,"string"==typeof e?[e]:e):s.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:a.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!x.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,s=!n;o<r;o++)!t(e[o],o)!==s&&i.push(e[o]);return i},map:function(e,t,n){var i,o,s=0,a=[];if(E(e))for(i=e.length;s<i;s++)null!=(o=t(e[s],s,n))&&a.push(o);else for(s in e)null!=(o=t(e[s],s,n))&&a.push(o);return r(a)},guid:1,support:f}),"function"==typeof Symbol&&(k.fn[Symbol.iterator]=n[Symbol.iterator]),k.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(e,t){l["[object "+t+"]"]=t.toLowerCase()}));var C=n.pop,_=n.sort,A=n.splice,T="[\\x20\\t\\r\\n\\f]",D=new RegExp("^"+T+"+|((?:^|[^\\\\])(?:\\\\.)*)"+T+"+$","g");k.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var M=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function P(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}k.escapeSelector=function(e){return(e+"").replace(M,P)};var O=m,R=s;!function(){var t,i,r,s,l,c,u,h,p,g,m=R,v=k.expando,y=0,b=0,w=ee(),x=ee(),E=ee(),M=ee(),P=function(e,t){return e===t&&(l=!0),0},I="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="(?:\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",N="\\["+T+"*("+L+")(?:"+T+"*([*^$|!~]?=)"+T+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+L+"))|)"+T+"*\\]",j=":("+L+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+N+")*)|.*)\\)|)",H=new RegExp(T+"+","g"),$=new RegExp("^"+T+"*,"+T+"*"),z=new RegExp("^"+T+"*([>+~]|"+T+")"+T+"*"),B=new RegExp(T+"|>"),F=new RegExp(j),V=new RegExp("^"+L+"$"),U={ID:new RegExp("^#("+L+")"),CLASS:new RegExp("^\\.("+L+")"),TAG:new RegExp("^("+L+"|[*])"),ATTR:new RegExp("^"+N),PSEUDO:new RegExp("^"+j),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+T+"*(even|odd|(([+-]|)(\\d*)n|)"+T+"*(?:([+-]|)"+T+"*(\\d+)|))"+T+"*\\)|)","i"),bool:new RegExp("^(?:"+I+")$","i"),needsContext:new RegExp("^"+T+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+T+"*((?:-\\d)?\\d*)"+T+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,q=/^h\d$/i,G=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,Y=/[+~]/,Q=new RegExp("\\\\[\\da-fA-F]{1,6}"+T+"?|\\\\([^\\r\\n\\f])","g"),X=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Z=function(){le()},K=he((function(e){return!0===e.disabled&&S(e,"fieldset")}),{dir:"parentNode",next:"legend"});try{m.apply(n=o.call(O.childNodes),O.childNodes),n[O.childNodes.length].nodeType}catch(e){m={apply:function(e,t){R.apply(e,o.call(t))},call:function(e){R.apply(e,o.call(arguments,1))}}}function J(e,t,n,i){var o,r,s,a,l,d,u,g=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||c,h)){if(11!==y&&(l=G.exec(e)))if(o=l[1]){if(9===y){if(!(s=t.getElementById(o)))return n;if(s.id===o)return m.call(n,s),n}else if(g&&(s=g.getElementById(o))&&J.contains(t,s)&&s.id===o)return m.call(n,s),n}else{if(l[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=l[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(M[e+" "]||p&&p.test(e))){if(u=e,g=t,1===y&&(B.test(e)||z.test(e))){for((g=Y.test(e)&&ae(t.parentNode)||t)==t&&f.scope||((a=t.getAttribute("id"))?a=k.escapeSelector(a):t.setAttribute("id",a=v)),r=(d=de(e)).length;r--;)d[r]=(a?"#"+a:":scope")+" "+ue(d[r]);u=d.join(",")}try{return m.apply(n,g.querySelectorAll(u)),n}catch(t){M(e,!0)}finally{a===v&&t.removeAttribute("id")}}}return ye(e.replace(D,"$1"),t,n,i)}function ee(){var e=[];return function t(n,o){return e.push(n+" ")>i.cacheLength&&delete t[e.shift()],t[n+" "]=o}}function te(e){return e[v]=!0,e}function ne(e){var t=c.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return S(t,"input")&&t.type===e}}function oe(e){return function(t){return(S(t,"input")||S(t,"button"))&&t.type===e}}function re(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&K(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function se(e){return te((function(t){return t=+t,te((function(n,i){for(var o,r=e([],n.length,t),s=r.length;s--;)n[o=r[s]]&&(n[o]=!(i[o]=n[o]))}))}))}function ae(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var t,n=e?e.ownerDocument||e:O;return n!=c&&9===n.nodeType&&n.documentElement?(u=(c=n).documentElement,h=!k.isXMLDoc(c),g=u.matches||u.webkitMatchesSelector||u.msMatchesSelector,O!=c&&(t=c.defaultView)&&t.top!==t&&t.addEventListener("unload",Z),f.getById=ne((function(e){return u.appendChild(e).id=k.expando,!c.getElementsByName||!c.getElementsByName(k.expando).length})),f.disconnectedMatch=ne((function(e){return g.call(e,"*")})),f.scope=ne((function(){return c.querySelectorAll(":scope")})),f.cssHas=ne((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}})),f.getById?(i.filter.ID=function(e){var t=e.replace(Q,X);return function(e){return e.getAttribute("id")===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n=t.getElementById(e);return n?[n]:[]}}):(i.filter.ID=function(e){var t=e.replace(Q,X);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},i.find.ID=function(e,t){if(void 0!==t.getElementById&&h){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),i.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},i.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&h)return t.getElementsByClassName(e)},p=[],ne((function(e){var t;u.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+T+"*(?:value|"+I+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=c.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),u.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=c.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+T+"*name"+T+"*="+T+"*(?:''|\"\")")})),f.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),P=function(e,t){if(e===t)return l=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!f.sortDetached&&t.compareDocumentPosition(e)===n?e===c||e.ownerDocument==O&&J.contains(O,e)?-1:t===c||t.ownerDocument==O&&J.contains(O,t)?1:s?a.call(s,e)-a.call(s,t):0:4&n?-1:1)},c):c}for(t in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),h&&!M[t+" "]&&(!p||!p.test(t)))try{var n=g.call(e,t);if(n||f.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){M(t,!0)}return J(t,c,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=c&&le(e),k.contains(e,t)},J.attr=function(e,t){(e.ownerDocument||e)!=c&&le(e);var n=i.attrHandle[t.toLowerCase()],o=n&&d.call(i.attrHandle,t.toLowerCase())?n(e,t,!h):void 0;return void 0!==o?o:e.getAttribute(t)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},k.uniqueSort=function(e){var t,n=[],i=0,r=0;if(l=!f.sortStable,s=!f.sortStable&&o.call(e,0),_.call(e,P),l){for(;t=e[r++];)t===e[r]&&(i=n.push(r));for(;i--;)A.call(e,n[i],1)}return s=null,e},k.fn.uniqueSort=function(){return this.pushStack(k.uniqueSort(o.apply(this)))},i=k.expr={cacheLength:50,createPseudo:te,match:U,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(Q,X),e[3]=(e[3]||e[4]||e[5]||"").replace(Q,X),"~="===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]||J.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]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.test(n)&&(t=de(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Q,X).toLowerCase();return"*"===e?function(){return!0}:function(e){return S(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+T+")"+e+"("+T+"|$)"))&&w(e,(function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")}))},ATTR:function(e,t,n){return function(i){var o=J.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(H," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),s="last"!==e.slice(-4),a="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,d,u,h,f,p=r!==s?"nextSibling":"previousSibling",g=t.parentNode,m=a&&t.nodeName.toLowerCase(),b=!l&&!a,w=!1;if(g){if(r){for(;p;){for(u=t;u=u[p];)if(a?S(u,m):1===u.nodeType)return!1;f=p="only"===e&&!f&&"nextSibling"}return!0}if(f=[s?g.firstChild:g.lastChild],s&&b){for(w=(h=(c=(d=g[v]||(g[v]={}))[e]||[])[0]===y&&c[1])&&c[2],u=h&&g.childNodes[h];u=++h&&u&&u[p]||(w=h=0)||f.pop();)if(1===u.nodeType&&++w&&u===t){d[e]=[y,h,w];break}}else if(b&&(w=h=(c=(d=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===w)for(;(u=++h&&u&&u[p]||(w=h=0)||f.pop())&&(!(a?S(u,m):1===u.nodeType)||!++w||(b&&((d=u[v]||(u[v]={}))[e]=[y,w]),u!==t)););return(w-=o)===i||w%i==0&&w/i>=0}}},PSEUDO:function(e,t){var n,o=i.pseudos[e]||i.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return o[v]?o(t):o.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?te((function(e,n){for(var i,r=o(e,t),s=r.length;s--;)e[i=a.call(e,r[s])]=!(n[i]=r[s])})):function(e){return o(e,0,n)}):o}},pseudos:{not:te((function(e){var t=[],n=[],i=ve(e.replace(D,"$1"));return i[v]?te((function(e,t,n,o){for(var r,s=i(e,null,o,[]),a=e.length;a--;)(r=s[a])&&(e[a]=!(t[a]=r))})):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}})),has:te((function(e){return function(t){return J(e,t).length>0}})),contains:te((function(e){return e=e.replace(Q,X),function(t){return(t.textContent||k.text(t)).indexOf(e)>-1}})),lang:te((function(e){return V.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(Q,X).toLowerCase(),function(t){var n;do{if(n=h?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}
vendor: 11,039 bytes, line 1
1)),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===u},focus:function(e){return e===function(){try{return c.activeElement}catch(e){}}()&&c.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:re(!1),disabled:re(!0),checked:function(e){return S(e,"input")&&!!e.checked||S(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!i.pseudos.empty(e)},header:function(e){return q.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return S(e,"input")&&"button"===e.type||S(e,"button")},text:function(e){var t;return S(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:se((function(){return[0]})),last:se((function(e,t){return[t-1]})),eq:se((function(e,t,n){return[n<0?n+t:n]})),even:se((function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e})),odd:se((function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e})),lt:se((function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e})),gt:se((function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e}))}},i.pseudos.nth=i.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[t]=ie(t);for(t in{submit:!0,reset:!0})i.pseudos[t]=oe(t);function ce(){}function de(e,t){var n,o,r,s,a,l,c,d=x[e+" "];if(d)return t?0:d.slice(0);for(a=e,l=[],c=i.preFilter;a;){for(s in n&&!(o=$.exec(a))||(o&&(a=a.slice(o[0].length)||a),l.push(r=[])),n=!1,(o=z.exec(a))&&(n=o.shift(),r.push({value:n,type:o[0].replace(D," ")}),a=a.slice(n.length)),i.filter)!(o=U[s].exec(a))||c[s]&&!(o=c[s](o))||(n=o.shift(),r.push({value:n,type:s,matches:o}),a=a.slice(n.length));if(!n)break}return t?a.length:a?J.error(e):x(e,l).slice(0)}function ue(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function he(e,t,n){var i=t.dir,o=t.next,r=o||i,s=n&&"parentNode"===r,a=b++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||s)return e(t,n,o);return!1}:function(t,n,l){var c,d,u=[y,a];if(l){for(;t=t[i];)if((1===t.nodeType||s)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||s)if(d=t[v]||(t[v]={}),o&&S(t,o))t=t[i]||t;else{if((c=d[r])&&c[0]===y&&c[1]===a)return u[2]=c[2];if(d[r]=u,u[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function pe(e,t,n,i,o){for(var r,s=[],a=0,l=e.length,c=null!=t;a<l;a++)(r=e[a])&&(n&&!n(r,i,o)||(s.push(r),c&&t.push(a)));return s}function ge(e,t,n,i,o,r){return i&&!i[v]&&(i=ge(i)),o&&!o[v]&&(o=ge(o,r)),te((function(r,s,l,c){var d,u,h,f,p=[],g=[],v=s.length,y=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)J(e,t[i],n);return n}(t||"*",l.nodeType?[l]:l,[]),b=!e||!r&&t?y:pe(y,p,e,l,c);if(n?n(b,f=o||(r?e:v||i)?[]:s,l,c):f=b,i)for(d=pe(f,g),i(d,[],l,c),u=d.length;u--;)(h=d[u])&&(f[g[u]]=!(b[g[u]]=h));if(r){if(o||e){if(o){for(d=[],u=f.length;u--;)(h=f[u])&&d.push(b[u]=h);o(null,f=[],d,c)}for(u=f.length;u--;)(h=f[u])&&(d=o?a.call(r,h):p[u])>-1&&(r[d]=!(s[d]=h))}}else f=pe(f===s?f.splice(v,f.length):f),o?o(null,s,f,c):m.apply(s,f)}))}function me(e){for(var t,n,o,s=e.length,l=i.relative[e[0].type],c=l||i.relative[" "],d=l?1:0,u=he((function(e){return e===t}),c,!0),h=he((function(e){return a.call(t,e)>-1}),c,!0),f=[function(e,n,i){var o=!l&&(i||n!=r)||((t=n).nodeType?u(e,n,i):h(e,n,i));return t=null,o}];d<s;d++)if(n=i.relative[e[d].type])f=[he(fe(f),n)];else{if((n=i.filter[e[d].type].apply(null,e[d].matches))[v]){for(o=++d;o<s&&!i.relative[e[o].type];o++);return ge(d>1&&fe(f),d>1&&ue(e.slice(0,d-1).concat({value:" "===e[d-2].type?"*":""})).replace(D,"$1"),n,d<o&&me(e.slice(d,o)),o<s&&me(e=e.slice(o)),o<s&&ue(e))}f.push(n)}return fe(f)}function ve(e,t){var n,o=[],s=[],a=E[e+" "];if(!a){for(t||(t=de(e)),n=t.length;n--;)(a=me(t[n]))[v]?o.push(a):s.push(a);a=E(e,function(e,t){var n=t.length>0,o=e.length>0,s=function(s,a,l,d,u){var f,p,g,v=0,b="0",w=s&&[],x=[],E=r,S=s||o&&i.find.TAG("*",u),_=y+=null==E?1:Math.random()||.1,A=S.length;for(u&&(r=a==c||a||u);b!==A&&null!=(f=S[b]);b++){if(o&&f){for(p=0,a||f.ownerDocument==c||(le(f),l=!h);g=e[p++];)if(g(f,a||c,l)){m.call(d,f);break}u&&(y=_)}n&&((f=!g&&f)&&v--,s&&w.push(f))}if(v+=b,n&&b!==v){for(p=0;g=t[p++];)g(w,x,a,l);if(s){if(v>0)for(;b--;)w[b]||x[b]||(x[b]=C.call(d));x=pe(x)}m.apply(d,x),u&&!s&&x.length>0&&v+t.length>1&&k.uniqueSort(d)}return u&&(y=_,r=E),w};return n?te(s):s}(s,o)),a.selector=e}return a}function ye(e,t,n,o){var r,s,a,l,c,d="function"==typeof e&&e,u=!o&&de(e=d.selector||e);if(n=n||[],1===u.length){if((s=u[0]=u[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===t.nodeType&&h&&i.relative[s[1].type]){if(!(t=(i.find.ID(a.matches[0].replace(Q,X),t)||[])[0]))return n;d&&(t=t.parentNode),e=e.slice(s.shift().value.length)}for(r=U.needsContext.test(e)?0:s.length;r--&&(a=s[r],!i.relative[l=a.type]);)if((c=i.find[l])&&(o=c(a.matches[0].replace(Q,X),Y.test(s[0].type)&&ae(t.parentNode)||t))){if(s.splice(r,1),!(e=o.length&&ue(s)))return m.apply(n,o),n;break}}return(d||ve(e,u))(o,t,!h,n,!t||Y.test(e)&&ae(t.parentNode)||t),n}ce.prototype=i.filters=i.pseudos,i.setFilters=new ce,f.sortStable=v.split("").sort(P).join("")===v,le(),f.sortDetached=ne((function(e){return 1&e.compareDocumentPosition(c.createElement("fieldset"))})),k.find=J,k.expr[":"]=k.expr.pseudos,k.unique=k.uniqueSort,J.compile=ve,J.select=ye,J.setDocument=le,J.escape=k.escapeSelector,J.getText=k.text,J.isXML=k.isXMLDoc,J.selectors=k.expr,J.support=k.support,J.uniqueSort=k.uniqueSort}();var I=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&k(e).is(n))break;i.push(e)}return i},L=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},N=k.expr.match.needsContext,j=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function H(e,t,n){return p(t)?k.grep(e,(function(e,i){return!!t.call(e,i,e)!==n})):t.nodeType?k.grep(e,(function(e){return e===t!==n})):"string"!=typeof t?k.grep(e,(function(e){return a.call(t,e)>-1!==n})):k.filter(t,e,n)}k.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?k.find.matchesSelector(i,e)?[i]:[]:k.find.matches(e,k.grep(t,(function(e){return 1===e.nodeType})))},k.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(k(e).filter((function(){for(t=0;t<i;t++)if(k.contains(o[t],this))return!0})));for(n=this.pushStack([]),t=0;t<i;t++)k.find(e,o[t],n);return i>1?k.uniqueSort(n):n},filter:function(e){return this.pushStack(H(this,e||[],!1))},not:function(e){return this.pushStack(H(this,e||[],!0))},is:function(e){return!!H(this,"string"==typeof e&&N.test(e)?k(e):e||[],!1).length}});var $,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(k.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||$,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:z.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof k?t[0]:t,k.merge(this,k.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:m,!0)),j.test(i[1])&&k.isPlainObject(t))for(i in t)p(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=m.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):p(e)?void 0!==n.ready?n.ready(e):e(k):k.makeArray(e,this)}).prototype=k.fn,$=k(m);var B=/^(?:parents|prev(?:Until|All))/,F={children:!0,contents:!0,next:!0,prev:!0};function V(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}k.fn.extend({has:function(e){var t=k(e,this),n=t.length;return this.filter((function(){for(var e=0;e<n;e++)if(k.contains(this,t[e]))return!0}))},closest:function(e,t){var n,i=0,o=this.length,r=[],s="string"!=typeof e&&k(e);if(!N.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&k.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?k.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?a.call(k(e),this[0]):a.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(k.uniqueSort(k.merge(this.get(),k(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),k.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return I(e,"parentNode")},parentsUntil:function(e,t,n){return I(e,"parentNode",n)},next:function(e){return V(e,"nextSibling")},prev:function(e){return V(e,"previousSibling")},nextAll:function(e){return I(e,"nextSibling")},prevAll:function(e){return I(e,"previousSibling")},nextUntil:function(e,t,n){return I(e,"nextSibling",n)},prevUntil:function(e,t,n){return I(e,"previousSibling",n)},siblings:function(e){return L((e.parentNode||{}).firstChild,e)},children:function(e){return L(e.firstChild)},contents:function(e){return null!=e.contentDocument&&i(e.contentDocument)?e.contentDocument:(S(e,"template")&&(e=e.content||e),k.merge([],e.childNodes))}},(function(e,t){k.fn[e]=function(n,i){var o=k.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=k.filter(i,o)),this.length>1&&(F[e]||k.uniqueSort(o),B.test(e)&&o.reverse()),this.pushStack(o)}}));var U=/[^\x20\t\r\n\f]+/g;function W(e){return e}function q(e){throw e}function G(e,t,n,i){var o;try{e&&p(o=e.promise)?o.call(e).done(t).fail(n):e&&p(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}k.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return k.each(e.match(U)||[],(function(e,n){t[n]=!0})),t}(e):k.extend({},e);var t,n,i,o,r=[],s=[],a=-1,l=function(){for(o=o||e.once,i=t=!0;s.length;a=-1)for(n=s.shift();++a<r.length;)!1===r[a].apply(n[0],n[1])&&e.stopOnFalse&&(a=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(a=r.length-1,s.push(n)),function t(n){k.each(n,(function(n,i){p(i)?e.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==b(i)&&t(i)}))}(arguments),n&&!t&&l()),this},remove:function(){return k.each(arguments,(function(e,t){for(var n;(n=k.inArray(t,r,n))>-1;)r.splice(n,1),n<=a&&a--})),this},has:function(e){return e?k.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=s=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=s=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},k.extend({Deferred:function(t){var n=[["notify","progress",k.Callbacks("memory"),k.Callbacks("memory"),2],["resolve","done",k.Callbacks("once memory"),k.Callbacks("once memory"),0,"resolved"],["reject","fail",k.Callbacks("once memory"),k.Callbacks("once memory"),1,"rejected"]],i="pe
1nding",o={state:function(){return i},always:function(){return r.done(arguments).fail(arguments),this},catch:function(e){return o.then(null,e)},pipe:function(){var e=arguments;return k.Deferred((function(t){k.each(n,(function(n,i){var o=p(e[i[4]])&&e[i[4]];r[i[1]]((function(){var e=o&&o.apply(this,arguments);e&&p(e.promise)?e.promise().progress(t.notify).done(t.resolve).fail(t.reject):t[i[0]+"With"](this,o?[e]:arguments)}))})),e=null})).promise()},then:function(t,i,o){var r=0;function s(t,n,i,o){return function(){var a=this,l=arguments,c=function(){var e,c;if(!(t<r)){if((e=i.apply(a,l))===n.promise())throw new TypeError("Thenable self-resolution");c=e&&("object"==typeof e||"function"==typeof e)&&e.then,p(c)?o?c.call(e,s(r,n,W,o),s(r,n,q,o)):(r++,c.call(e,s(r,n,W,o),s(r,n,q,o),s(r,n,W,n.notifyWith))):(i!==W&&(a=void 0,l=[e]),(o||n.resolveWith)(a,l))}},d=o?c:function(){try{c()}catch(e){k.Deferred.exceptionHook&&k.Deferred.exceptionHook(e,d.error),t+1>=r&&(i!==q&&(a=void 0,l=[e]),n.rejectWith(a,l))}};t?d():(k.Deferred.getErrorHook?d.error=k.Deferred.getErrorHook():k.Deferred.getStackHook&&(d.error=k.Deferred.getStackHook()),e.setTimeout(d))}}return k.Deferred((function(e){n[0][3].add(s(0,e,p(o)?o:W,e.notifyWith)),n[1][3].add(s(0,e,p(t)?t:W)),n[2][3].add(s(0,e,p(i)?i:q))})).promise()},promise:function(e){return null!=e?k.extend(e,o):o}},r={};return k.each(n,(function(e,t){var s=t[2],a=t[5];o[t[1]]=s.add,a&&s.add((function(){i=a}),n[3-e][2].disable,n[3-e][3].disable,n[0][2].lock,n[0][3].lock),s.add(t[3].fire),r[t[0]]=function(){return r[t[0]+"With"](this===r?void 0:this,arguments),this},r[t[0]+"With"]=s.fireWith})),o.promise(r),t&&t.call(r,r),r},when:function(e){var t=arguments.length,n=t,i=Array(n),r=o.call(arguments),s=k.Deferred(),a=function(e){return function(n){i[e]=this,r[e]=arguments.length>1?o.call(arguments):n,--t||s.resolveWith(i,r)}};if(t<=1&&(G(e,s.done(a(n)).resolve,s.reject,!t),"pending"===s.state()||p(r[n]&&r[n].then)))return s.then();for(;n--;)G(r[n],a(n),s.reject);return s.promise()}});var Y=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;k.Deferred.exceptionHook=function(t,n){e.console&&e.console.warn&&t&&Y.test(t.name)&&e.console.warn("jQuery.Deferred exception: "+t.message,t.stack,n)},k.readyException=function(t){e.setTimeout((function(){throw t}))};var Q=k.Deferred();function X(){m.removeEventListener("DOMContentLoaded",X),e.removeEventListener("load",X),k.ready()}k.fn.ready=function(e){return Q.then(e).catch((function(e){k.readyException(e)})),this},k.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--k.readyWait:k.isReady)||(k.isReady=!0,!0!==e&&--k.readyWait>
vendor: 51,978 bytes, line 1
10||Q.resolveWith(m,[k]))}}),k.ready.then=Q.then,"complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll?e.setTimeout(k.ready):(m.addEventListener("DOMContentLoaded",X),e.addEventListener("load",X));var Z=function(e,t,n,i,o,r,s){var a=0,l=e.length,c=null==n;if("object"===b(n))for(a in o=!0,n)Z(e,t,a,n[a],!0,r,s);else if(void 0!==i&&(o=!0,p(i)||(s=!0),c&&(s?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(k(e),n)})),t))for(;a<l;a++)t(e[a],n,s?i:i.call(e[a],a,t(e[a],n)));return o?e:c?t.call(e):l?t(e[0],n):r},K=/^-ms-/,J=/-([a-z])/g;function ee(e,t){return t.toUpperCase()}function te(e){return e.replace(K,"ms-").replace(J,ee)}var ne=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function ie(){this.expando=k.expando+ie.uid++}ie.uid=1,ie.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ne(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[te(t)]=n;else for(i in t)o[te(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][te(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(te):(t=te(t))in i?[t]:t.match(U)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||k.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!k.isEmptyObject(t)}};var oe=new ie,re=new ie,se=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ae=/[A-Z]/g;function le(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(ae,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:se.test(e)?JSON.parse(e):e)}(n)}catch(e){}re.set(e,t,n)}else n=void 0;return n}k.extend({hasData:function(e){return re.hasData(e)||oe.hasData(e)},data:function(e,t,n){return re.access(e,t,n)},removeData:function(e,t){re.remove(e,t)},_data:function(e,t,n){return oe.access(e,t,n)},_removeData:function(e,t){oe.remove(e,t)}}),k.fn.extend({data:function(e,t){var n,i,o,r=this[0],s=r&&r.attributes;if(void 0===e){if(this.length&&(o=re.get(r),1===r.nodeType&&!oe.get(r,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=te(i.slice(5)),le(r,i,o[i]));oe.set(r,"hasDataAttrs",!0)}return o}return"object"==typeof e?this.each((function(){re.set(this,e)})):Z(this,(function(t){var n;if(r&&void 0===t)return void 0!==(n=re.get(r,e))||void 0!==(n=le(r,e))?n:void 0;this.each((function(){re.set(this,e,t)}))}),null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each((function(){re.remove(this,e)}))}}),k.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=oe.get(e,t),n&&(!i||Array.isArray(n)?i=oe.access(e,t,k.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=k.queue(e,t),i=n.length,o=n.shift(),r=k._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,(function(){k.dequeue(e,t)}),r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return oe.get(e,n)||oe.access(e,n,{empty:k.Callbacks("once memory").add((function(){oe.remove(e,[t+"queue",n])}))})}}),k.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?k.queue(this[0],e):void 0===t?this:this.each((function(){var n=k.queue(this,e,t);k._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&k.dequeue(this,e)}))},dequeue:function(e){return this.each((function(){k.dequeue(this,e)}))},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=k.Deferred(),r=this,s=this.length,a=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";s--;)(n=oe.get(r[s],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(a));return a(),o.promise(t)}});var ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,de=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),ue=["Top","Right","Bottom","Left"],he=m.documentElement,fe=function(e){return k.contains(e.ownerDocument,e)},pe={composed:!0};he.getRootNode&&(fe=function(e){return k.contains(e.ownerDocument,e)||e.getRootNode(pe)===e.ownerDocument});var ge=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&fe(e)&&"none"===k.css(e,"display")};function me(e,t,n,i){var o,r,s=20,a=i?function(){return i.cur()}:function(){return k.css(e,t,"")},l=a(),c=n&&n[3]||(k.cssNumber[t]?"":"px"),d=e.nodeType&&(k.cssNumber[t]||"px"!==c&&+l)&&de.exec(k.css(e,t));if(d&&d[3]!==c){for(l/=2,c=c||d[3],d=+l||1;s--;)k.style(e,t,d+c),(1-r)*(1-(r=a()/l||.5))<=0&&(s=0),d/=r;d*=2,k.style(e,t,d+c),n=n||[]}return n&&(d=+d||+l||0,o=n[1]?d+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=d,i.end=o)),o}var ve={};function ye(e){var t,n=e.ownerDocument,i=e.nodeName,o=ve[i];return o||(t=n.body.appendChild(n.createElement(i)),o=k.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),ve[i]=o,o)}function be(e,t){for(var n,i,o=[],r=0,s=e.length;r<s;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=oe.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&ge(i)&&(o[r]=ye(i))):"none"!==n&&(o[r]="none",oe.set(i,"display",n)));for(r=0;r<s;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}k.fn.extend({show:function(){return be(this,!0)},hide:function(){return be(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each((function(){ge(this)?k(this).show():k(this).hide()}))}});var we,xe,ke=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Se=/^$|^module$|\/(?:java|ecma)script/i;we=m.createDocumentFragment().appendChild(m.createElement("div")),(xe=m.createElement("input")).setAttribute("type","radio"),xe.setAttribute("checked","checked"),xe.setAttribute("name","t"),we.appendChild(xe),f.checkClone=we.cloneNode(!0).cloneNode(!0).lastChild.checked,we.innerHTML="<textarea>x</textarea>",f.noCloneChecked=!!we.cloneNode(!0).lastChild.defaultValue,we.innerHTML="<option></option>",f.option=!!we.lastChild;var Ce={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 _e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&S(e,t)?k.merge([e],n):n}function Ae(e,t){for(var n=0,i=e.length;n<i;n++)oe.set(e[n],"globalEval",!t||oe.get(t[n],"globalEval"))}Ce.tbody=Ce.tfoot=Ce.colgroup=Ce.caption=Ce.thead,Ce.th=Ce.td,f.option||(Ce.optgroup=Ce.option=[1,"<select multiple='multiple'>","</select>"]);var Te=/<|&#?\w+;/;function De(e,t,n,i,o){for(var r,s,a,l,c,d,u=t.createDocumentFragment(),h=[],f=0,p=e.length;f<p;f++)if((r=e[f])||0===r)if("object"===b(r))k.merge(h,r.nodeType?[r]:r);else if(Te.test(r)){for(s=s||u.appendChild(t.createElement("div")),a=(Ee.exec(r)||["",""])[1].toLowerCase(),l=Ce[a]||Ce._default,s.innerHTML=l[1]+k.htmlPrefilter(r)+l[2],d=l[0];d--;)s=s.lastChild;k.merge(h,s.childNodes),(s=u.firstChild).textContent=""}else h.push(t.createTextNode(r));for(u.textContent="",f=0;r=h[f++];)if(i&&k.inArray(r,i)>-1)o&&o.push(r);else if(c=fe(r),s=_e(u.appendChild(r),"script"),c&&Ae(s),n)for(d=0;r=s[d++];)Se.test(r.type||"")&&n.push(r);return u}var Me=/^([^.]*)(?:\.(.+)|)/;function Pe(){return!0}function Oe(){return!1}function Re(e,t,n,i,o,r){var s,a;if("object"==typeof t){for(a in"string"!=typeof n&&(i=i||n,n=void 0),t)Re(e,a,n,i,t[a],r);return e}if(null==i&&null==o?(o=n,i=n=void 0):null==o&&("string"==typeof n?(o=i,i=void 0):(o=i,i=n,n=void 0)),!1===o)o=Oe;else if(!o)return e;return 1===r&&(s=o,o=function(e){return k().off(e),s.apply(this,arguments)},o.guid=s.guid||(s.guid=k.guid++)),e.each((function(){k.event.add(this,t,o,i,n)}))}function Ie(e,t,n){n?(oe.set(e,t,!1),k.event.add(e,t,{namespace:!1,handler:function(e){var n,i=oe.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(k.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=o.call(arguments),oe.set(this,t,i),this[t](),n=oe.get(this,t),oe.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(oe.set(this,t,k.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Pe)}})):void 0===oe.get(e,t)&&k.event.add(e,t,Pe)}k.event={global:{},add:function(e,t,n,i,o){var r,s,a,l,c,d,u,h,f,p,g,m=oe.get(e);if(ne(e))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&k.find.matchesSelector(he,o),n.guid||(n.guid=k.guid++),(l=m.events)||(l=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(t){return void 0!==k&&k.event.triggered!==t.type?k.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(U)||[""]).length;c--;)f=g=(a=Me.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f&&(u=k.event.special[f]||{},f=(o?u.delegateType:u.bindType)||f,u=k.event.special[f]||{},d=k.extend({type:f,origType:g,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&k.expr.match.needsContext.test(o),namespace:p.join(".")},r),(h=l[f])||((h=l[f]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,i,p,s)||e.addEventListener&&e.addEventListener(f,s)),u.add&&(u.add.call(e,d),d.handler.guid||(d.handler.guid=n.guid)),o?h.splice(h.delegateCount++,0,d):h.push(d),k.event.global[f]=!0)},remove:function(e,t,n,i,o){var r,s,a,l,c,d,u,h,f,p,g,m=oe.hasData(e)&&oe.get(e);if(m&&(l=m.events)){for(c=(t=(t||"").match(U)||[""]).length;c--;)if(f=g=(a=Me.exec(t[c])||[])[1],p=(a[2]||"").split(".").sort(),f){for(u=k.event.special[f]||{},h=l[f=(i?u.delegateType:u.bindType)||f]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=r=h.length;r--;)d=h[r],!o&&g!==d.origType||n&&n.guid!==d.guid||a&&!a.test(d.namespace)||i&&i!==d.selector&&("**"!==i||!d.selector)||(h.splice(r,1),d.selector&&h.delegateCount--,u.remove&&u.remove.call(e,d));s&&!h.length&&(u.teardown&&!1!==u.teardown.call(e,p,m.handle)||k.removeEvent(e,f,m.handle),delete l[f])}else for(f in l)k.event.remove(e,f+t[c],n,i,!0);k.isEmptyObject(l)&&oe.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,s,a=new Array(arguments.length),l=k.event.fix(e),c=(oe.get(this,"events")||Object.create(null))[l.type]||[],d=k.event.special[l.type]||{};for(a[0]=l,t=1;t<arguments.length;t++)a[t]=arguments[t];if(l.delegateTarget=this,!d.preDispatch||!1!==d.preDispatch.call(this,l)){for(s=k.event.handlers.call(this,l,c),t=0;(o=s[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((k.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,a))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return d.postDispatch&&d.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,o,r,s,a=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],s={},n=0;n<l;n++)void 0===s[o=(i=t[n]).selector+" "]&&(s[o]=i.needsContext?k(o,this).index(c)>-1:k.find(o,this,null,[c]).length),s[o]&&r.push(i);r.length&&a.push({elem:c,handlers:r})}return c=this,l<t.length&&a.push({elem:c,handlers:t.slice(l)}),a},addProp:function(e,t){Object.defineProperty(k.Event.prototype,e,{enumerable:!0,configurable:!0,get:p(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]},set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[k.expando]?e:new k.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return ke.test(t.type)&&t.click&&S(t,"input")&&Ie(t,"click",!0),!1},trigger:function(e){var t=this||e;return ke.test(t.type)&&t.click&&S(t,"input")&&Ie(t,"click"),!0},_default:function(e){var t=e.target;return ke.test(t.type)&&t.click&&S(t,"input")&&oe.get(t,"click")||S(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},k.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},k.Event=function(e,t){if(!(this instanceof k.Event))return new k.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Pe:Oe,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&&k.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[k.expando]=!0},k.Event.prototype={constructor:k.Event,isDefaultPrevented:Oe,isPropagationStopped:Oe,isImmediatePropagationStopped:Oe,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Pe,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Pe,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Pe,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},k.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},k.event.addProp),k.each({focus:"focusin",blur:"focusout"},(function(e,t){function n(e){if(m.documentMode){var n=oe.get(this,"handle"),i=k.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else k.event.simulate(t,e.target,k.event.fix(e))}k.event.special[e]={setup:function(){var i;if(Ie(this,e,!0),!m.documentMode)return!1;(i=oe.get(this,t))||this.addEventListener(t,n),oe.set(this,t,(i||0)+1)},trigger:function(){return Ie(this,e),!0},teardown:function(){var e;if(!m.documentMode)return!1;(e=oe.get(this,t)-1)?oe.set(this,t,e):(this.removeEventListener(t,n),oe.remove(this,t))},_default:function(t){return oe.get(t.target,e)},delegateType:t},k.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=m.documentMode?this:i,r=oe.get(o,t);r||(m.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),oe.set(o,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=m.documentMode?this:i,r=oe.get(o,t)-1;r?oe.set(o,t,r):(m.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),oe.remove(o,t))}}})),k.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(e,t){k.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||k.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}})),k.fn.extend({on:function(e,t,n,i){return Re(this,e,t,n,i)},one:function(e,t,n,i){return Re(this,e,t,n,i,1)},off:function(e,t,n){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,k(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,t,e[o]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=Oe),this.each((function(){k.event.remove(this,e,n,t)}))}});var Le=/<script|<style|<link/i,Ne=/checked\s*(?:[^=]|=\s*.checked.)/i,je=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function He(e,t){return S(e,"table")&&S(11!==t.nodeType?t:t.firstChild,"tr")&&k(e).children("tbody")[0]||e}function $e(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function ze(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function Be(e,t){var n,i,o,r,s,a;if(1===t.nodeType){if(oe.hasData(e)&&(a=oe.get(e).events))for(o in oe.remove(t,"handle events"),a)for(n=0,i=a[o].length;n<i;n++)k.event.add(t,o,a[o][n]);re.hasData(e)&&(r=re.access(e),s=k.extend({},r),re.set(t,s))}}function Fe(e,t){var n=t.nodeName.toLowerCase();"input"===n&&ke.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ve(e,t,n,i){t=r(t);var o,s,a,l,c,d,u=0,h=e.length,g=h-1,m=t[0],v=p(m);if(v||h>1&&"string"==typeof m&&!f.checkClone&&Ne.test(m))return e.each((function(o){var r=e.eq(o);v&&(t[0]=m.call(this,o,r.html())),Ve(r,t,n,i)}));if(h&&(s=(o=De(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=s),s||i)){for(l=(a=k.map(_e(o,"script"),$e)).length;u<h;u++)c=o,u!==g&&(c=k.clone(c,!0,!0),l&&k.merge(a,_e(c,"script"))),n.call(e[u],c,u);if(l)for(d=a[a.length-1].ownerDocument,k.map(a,ze),u=0;u<l;u++)c=a[u],Se.test(c.type||"")&&!oe.access(c,"globalEval")&&k.contains(d,c)&&(c.src&&"module"!==(c.type||"").toLowerCase()?k._evalUrl&&!c.noModule&&k._evalUrl(c.src,{nonce:c.nonce||c.getAttribute("nonce")},d):y(c.textContent.replace(je,""),c,d))}return e}function Ue(e,t,n){for(var i,o=t?k.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||k.cleanData(_e(i)),i.parentNode&&(n&&fe(i)&&Ae(_e(i,"script")),i.parentNode.removeChild(i));return e}k.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,s,a=e.cloneNode(!0),l=fe(e);if(!(f.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||k.isXMLDoc(e)))for(s=_e(a),i=0,o=(r=_e(e)).length;i<o;i++)Fe(r[i],s[i]);if(t)if(n)for(r=r||_e(e),s=s||_e(a),i=0,o=r.length;i<o;i++)Be(r[i],s[i]);else Be(e,a);return(s=_e(a,"script")).length>0&&Ae(s,!l&&_e(e,"script")),a},cleanData:function(e){for(var t,n,i,o=k.event.special,r=0;void 0!==(n=e[r]);r++)if(ne(n)){if(t=n[oe.expando]){if(t.events)for(i in t.events)o[i]?k.event.remove(n,i):k.removeEvent(n,i,t.handle);n[oe.expando]=void 0}n[re.expando]&&(n[re.expando]=void 0)}}}),k.fn.extend({detach:function(e){return Ue(this,e,!0)},remove:function(e){return Ue(this,e)},text:function(e){return Z(this,(function(e){return void 0===e?k.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 Ve(this,arguments,(function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||He(this,e).appendChild(e)}))},prepend:function(){return Ve(this,arguments,(function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=He(this,e);t.insertBefore(e,t.firstChild)}}))},before:function(){return Ve(this,arguments,(function(e){this.parentNode&&this.parentNode.insertBefore(e,this)}))},after:function(){return Ve(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&&(k.cleanData(_e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map((function(){return k.clone(this,e,t)}))},html:function(e){return Z(this,(function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!Le.test(e)&&!Ce[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=k.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(k.cleanData(_e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)}),null,e,arguments.length)},replaceWith:function(){var e=[];return Ve(this,arguments,(function(t){var n=this.parentNode;k.inArray(this,e)<0&&(k.cleanData(_e(this)),n&&n.replaceChild(t,this))}),e)}}),k.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(e,t){k.fn[e]=function(e){for(var n,i=[],o=k(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),k(o[a])[t](n),s.apply(i,n.get());return this.pushStack(i)}}));var We=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),qe=/^--/,Ge=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},Ye=function(e,t,n){var i,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.call(e),t)e.style[o]=r[o];return i},Qe=new RegExp(ue.join("|"),"i");function Xe(e,t,n){var i,o,r,s,a=qe.test(t),l=e.style;return(n=n||Ge(e))&&(s=n.getPropertyValue(t)||n[t],a&&s&&(s=s.replace(D,"$1")||void 0),""!==s||fe(e)||(s=k.style(e,t)),!f.pixelBoxStyles()&&We.test(s)&&Qe.test(t)&&(i=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=n.width,l.width=i,l.minWidth=o,l.maxWidth=r)),void 0!==s?s+"":s}function Ze(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function t(){if(d){c.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",d.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",he.appendChild(c).appendChild(d);var t=e.getComputedStyle(d);i="1%"!==t.top,l=12===n(t.marginLeft),d.style.right="60%",s=36===n(t.right),o=36===n(t.width),d.style.position="absolute",r=12===n(d.offsetWidth/3),he.removeChild(c),d=null}}function n(e){return Math.round(parseFloat(e))}var i,o,r,s,a,l,c=m.createElement("div"),d=m.createElement("div");d.style&&(d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",f.clearCloneStyle="content-box"===d.style.backgroundClip,k.extend(f,{boxSizingReliable:function(){return t(),o},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),i},reliableMarginLeft:function(){return t(),l},scrollboxSize:function(){return t(),r},reliableTrDimensions:function(){var t,n,i,o;return null==a&&(t=m.createElement("table"),n=m.createElement("tr"),i=m.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",n.style.cssText="border:1px solid",n.style.height="1px",i.style.height="9px",i.style.display="block",he.appendChild(t).appendChild(n).appendChild(i),o=e.getComputedStyle(n),a=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===n.offsetHeight,he.removeChild(t)),a}}))}();var Ke=["Webkit","Moz","ms"],Je=m.createElement("div").style,et={};function tt(e){return k.cssProps[e]||et[e]||(e in Je?e:et[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=Ke.length;n--;)if((e=Ke[n]+t)in Je)return e}(e)||e)}var nt=/^(none|table(?!-c[ea]).+)/,it={position:"absolute",visibility:"hidden",display:"block"},ot={letterSpacing:"0",fontWeight:"400"};function rt(e,t,n){var i=de.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function st(e,t,n,i,o,r){var s="width"===t?1:0,a=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(c+=k.css(e,n+ue[s],!0,o)),i?("content"===n&&(l-=k.css(e,"padding"+ue[s],!0,o)),"margin"!==n&&(l-=k.css(e,"border"+ue[s]+"Width",!0,o))):(l+=k.css(e,"padding"+ue[s],!0,o),"padding"!==n?l+=k.css(e,"border"+ue[s]+"Width",!0,o):a+=k.css(e,"border"+ue[s]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-a-.5))||0),l+c}function at(e,t,n){var i=Ge(e),o=(!f.boxSizingReliable()||n)&&"border-box"===k.css(e,"boxSizing",!1,i),r=o,s=Xe(e,t,i),a="offset"+t[0].toUpperCase()+t.slice(1);if(We.test(s)){if(!n)return s;s="auto"}return(!f.boxSizingReliable()&&o||!f.reliableTrDimensions()&&S(e,"tr")||"auto"===s||!parseFloat(s)&&"inline"===k.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===k.css(e,"boxSizing",!1,i),(r=a in e)&&(s=e[a])),(s=parseFloat(s)||0)+st(e,t,n||(o?"border":"content"),r,i,s)+"px"}function lt(e,t,n,i,o){return new lt.prototype.init(e,t,n,i,o)}k.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Xe(e,"opacity");return""===n?"1":n}}}},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,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,r,s,a=te(t),l=qe.test(t),c=e.style;if(l||(t=tt(a)),s=k.cssHooks[t]||k.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(o=s.get(e,!1,i))?o:c[t];"string"==(r=typeof n)&&(o=de.exec(n))&&o[1]&&(n=me(e,t,o),r="number"),null!=n&&n==n&&("number"!==r||l||(n+=o&&o[3]||(k.cssNumber[a]?"":"px")),f.clearCloneStyle||""!==n||0!==t.indexOf("background")||(c[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(l?c.setProperty(t,n):c[t]=n))}},css:function(e,t,n,i){var o,r,s,a=te(t);return qe.test(t)||(t=tt(a)),(s=k.cssHooks[t]||k.cssHooks[a])&&"get"in s&&(o=s.get(e,!0,n)),void 0===o&&(o=Xe(e,t,i)),"normal"===o&&t in ot&&(o=ot[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),k.each(["height","width"],(function(e,t){k.cssHooks[t]={get:function(e,n,i){if(n)return!nt.test(k.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?at(e,t,i):Ye(e,it,(function(){return at(e,t,i)}))},set:function(e,n,i){var o,r=Ge(e),s=!f.scrollboxSize()&&"absolute"===r.position,a=(s||i)&&"border-box"===k.css(e,"boxSizing",!1,r),l=i?st(e,t,i,a,r):0;return a&&s&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-st(e,t,"border",!1,r)-.5)),l&&(o=de.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=k.css(e,t)),rt(0,n,l)}}})),k.cssHooks.marginLeft=Ze(f.reliableMarginLeft,(function(e,t){if(t)return(parseFloat(Xe(e,"marginLeft"))||e.getBoundingClientRect().left-Ye(e,{marginLeft:0},(function(){return e.getBoundingClientRect().left})))+"px"})),k.each({margin:"",padding:"",border:"Width"},(function(e,t){k.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+ue[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(k.cssHooks[e+t].set=rt)})),k.fn.extend({css:function(e,t){return Z(this,(function(e,t,n){var i,o,r={},s=0;if(Array.isArray(t)){for(i=Ge(e),o=t.length;s<o;s++)r[t[s]]=k.css(e,t[s],!1,i);return r}return void 0!==n?k.style(e,t,n):k.css(e,t)}),e,t,arguments.length>1)}}),k.Tween=lt,lt.prototype={constructor:lt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||k.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(k.cssNumber[n]?"":"px")},cur:function(){var e=lt.propHooks[this.prop];return e&&e.get?e.get(this):lt.propHooks._default.get(this)},run:function(e){var t,n=lt.propHooks[this.prop];return this.options.duration?this.pos=t=k.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),n&&n.set?n.set(this):lt.propHooks._default.set(this),this}},lt.prototype.init.prototype=lt.prototype,lt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=k.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){k.fx.step[e.prop]?k.fx.step[e.prop](e):1!==e.elem.nodeType||!k.cssHooks[e.prop]&&null==e.elem.style[tt(e.prop)]?e.elem[e.prop]=e.now:k.style(e.elem,e.prop,e.now+e.unit)}}},lt.propHooks.scrollTop=lt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},k.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},k.fx=lt.prototype.init,k.fx.step={};var ct,dt,ut=/^(?:toggle|show|hide)$/,ht=/queueHooks$/;function ft(){dt&&(!1===m.hidden&&e.requestAnimationFrame?e.requestAnimationFrame(ft):e.setTimeout(ft,k.fx.interval),k.fx.tick())}function pt(){return e.setTimeout((function(){ct=void 0})),ct=Date.now()}function gt(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=ue[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function mt(e,t,n){for(var i,o=(vt.tweeners[t]||[]).concat(vt.tweeners["*"]),r=0,s=o.length;r<s;r++)if(i=o[r].call(n,t,e))return i}function vt(e,t,n){var i,o,r=0,s=vt.prefilters.length,a=k.Deferred().always((function(){delete l.elem})),l=function(){if(o)return!1;for(var t=ct||pt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),r=0,s=c.tweens.length;r<s;r++)c.tweens[r].run(i);return a.notifyWith(e,[c,i,n]),i<1&&s?n:(s||a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c]),!1)},c=a.promise({elem:e,props:k.extend({},t),opts:k.extend(!0,{specialEasing:{},easing:k.easing._default},n),originalProperties:t,originalOptions:n,startTime:ct||pt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=k.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(a.notifyWith(e,[c,1,0]),a.resolveWith(e,[c,t])):a.rejectWith(e,[c,t]),this}}),d=c.props;for(function(e,t){var n,i,o,r,s;for(n in e)if(o=t[i=te(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(s=k.cssHooks[i])&&"expand"in s)for(n in r=s.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(d,c.opts.specialEasing);r<s;r++)if(i=vt.prefilters[r].call(c,e,d,c.opts))return p(i.stop)&&(k._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return k.map(d,mt,c),p(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),k.fx.timer(k.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}k.Animation=k.extend(vt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return me(n.elem,e,de.exec(t),n),n}]},tweener:function(e,t){p(e)?(t=e,e=["*"]):e=e.match(U);for(var n,i=0,o=e.length;i<o;i++)n=e[i],vt.tweeners[n]=vt.tweeners[n]||[],vt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,s,a,l,c,d,u="width"in t||"height"in t,h=this,f={},p=e.style,g=e.nodeType&&ge(e),m=oe.get(e,"fxshow");for(i in n.queue||(null==(s=k._queueHooks(e,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,h.always((function(){h.always((function(){s.unqueued--,k.queue(e,"fx").length||s.empty.fire()}))}))),t)if(o=t[i],ut.test(o)){if(delete t[i],r=r||"toggle"===o,o===(g?"hide":"show")){if("show"!==o||!m||void 0===m[i])continue;g=!0}f[i]=m&&m[i]||k.style(e,i)}if((l=!k.isEmptyObject(t))||!k.isEmptyObject(f))for(i in u&&1===e.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(c=m&&m.display)&&(c=oe.get(e,"display")),"none"===(d=k.css(e,"display"))&&(c?d=c:(be([e],!0),c=e.style.display||c,d=k.css(e,"display"),be([e]))),("inline"===d||"inline-block"===d&&null!=c)&&"none"===k.css(e,"float")&&(l||(h.done((function(){p.display=c})),null==c&&(d=p.display,c="none"===d?"":d)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",h.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),l=!1,f)l||(m?"hidden"in m&&(g=m.hidden):m=oe.access(e,"fxshow",{display:c}),r&&(m.hidden=!g),g&&be([e],!0),h.done((function(){for(i in g||be([e]),oe.remove(e,"fxshow"),f)k.style(e,i,f[i])}))),l=mt(g?m[i]:0,i,h),i in m||(m[i]=l.start,g&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?vt.prefilters.unshift(e):vt.prefilters.push(e)}}),k.speed=function(e,t,n){var i=e&&"object"==typeof e?k.extend({},e):{complete:n||!n&&t||p(e)&&e,duration:e,easing:n&&t||t&&!p(t)&&t};return k.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in k.fx.speeds?i.duration=k.fx.speeds[i.duration]:i.duration=k.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){p(i.old)&&i.old.call(this),i.queue&&k.dequeue(this,i.queue)},i},k.fn.extend({fadeTo:function(e,t,n,i){return this.filter(ge).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=k.isEmptyObject(e),r=k.speed(t,n,i),s=function(){var t=vt(this,k.extend({},e),r);(o||oe.get(this,"finish"))&&t.stop(!0)};return s.finish=s,o||!1===r.queue?this.each(s):this.queue(r.queue,s)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each((function(){var t=!0,o=null!=e&&e+"queueHooks",r=k.timers,s=oe.get(this);if(o)s[o]&&s[o].stop&&i(s[o]);else for(o in s)s[o]&&s[o].stop&&ht.test(o)&&i(s[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||k.dequeue(this,e)}))},finish:function(e){return!1!==e&&(e=e||"fx"),this.each((function(){var t,n=oe.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=k.timers,s=i?i.length:0;for(n.finish=!0,k.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<s;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish}))}}),k.each(["toggle","show","hide"],(function(e,t){var n=k.fn[t];k.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(gt(t,!0),e,i,o)}})),k.each({slideDown:gt("show"),slideUp:gt("hide"),slideToggle:gt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(e,t){k.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}})),k.timers=[],k.fx.tick=function(){var e,t=0,n=k.timers;for(ct=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||k.fx.stop(),ct=void 0},k.fx.timer=function(e){k.timers.push(e),k.fx.start()},k.fx.interval=13,k.fx.start=function(){dt||(dt=!0,ft())},k.fx.stop=function(){dt=null},k.fx.speeds={slow:600,fast:200,_default:400},k.fn.delay=function(t,n){return t=k.fx&&k.fx.speeds[t]||t,n=n||"fx",this.queue(n,(function(n,i){var o=e.setTimeout(n,t);i.stop=function(){e.clearTimeout(o)}}))},function(){var e=m.createElement("input"),t=m.createElement("select").appendChild(m.createElement("option"));e.type="checkbox",f.checkOn=""!==e.value,f.optSelected=t.selected,(e=m.createElement("input")).value="t",e.type="radio",f.radioValue="t"===e.value}();var yt,bt=k.expr.attrHandle;k.fn.extend({attr:function(e,t){return Z(this,k.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each((function(){k.removeAttr(this,e)}))}}),k.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?k.prop(e,t,n):(1===r&&k.isXMLDoc(e)||(o=k.attrHooks[t.toLowerCase()]||(k.expr.match.bool.test(t)?yt:void 0)),void 0!==n?null===n?void k.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=k.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!f.radioValue&&"radio"===t&&S(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(U);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),yt={set:function(e,t,n){return!1===t?k.removeAttr(e,n):e.setAttribute(n,n),n}},k.each(k.expr.match.bool.source.match(/\w+/g),(function(e,t){var n=bt[t]||k.find.attr;bt[t]=function(e,t,i){var o,r,s=t.toLowerCase();return i||(r=bt[s],bt[s]=o,o=null!=n(e,t,i)?s:null,bt[s]=r),o}}));var wt=/^(?:input|select|textarea|button)$/i,xt=/^(?:a|area)$/i;function kt(e){return(e.match(U)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function St(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(U)||[]}k.fn.extend({prop:function(e,t){return Z(this,k.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each((function(){delete this[k.propFix[e]||e]}))}}),k.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&k.isXMLDoc(e)||(t=k.propFix[t]||t,o=k.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=k.find.attr(e,"tabindex");return t?parseInt(t,10):wt.test(e.nodeName)||xt.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),f.optSelected||(k.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),k.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){k.propFix[this.toLowerCase()]=this})),k.fn.extend({addClass:function(e){var t,n,i,o,r,s;return p(e)?this.each((function(t){k(this).addClass(e.call(this,t,Et(this)))})):(t=St(e)).length?this.each((function(){if(i=Et(this),n=1===this.nodeType&&" "+kt(i)+" "){for(r=0;r<t.length;r++)o=t[r],n.indexOf(" "+o+" ")<0&&(n+=o+" ");s=kt(n),i!==s&&this.setAttribute("class",s)}})):this},removeClass:function(e){var t,n,i,o,r,s;return p(e)?this.each((function(t){k(this).removeClass(e.call(this,t,Et(this)))})):arguments.length?(t=St(e)).length?this.each((function(){if(i=Et(this),n=1===this.nodeType&&" "+kt(i)+" "){for(r=0;r<t.length;r++)for(o=t[r];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");s=kt(n),i!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(e,t){var n,i,o,r,s=typeof e,a="string"===s||Array.isArray(e);return p(e)?this.each((function(n){k(this).toggleClass(e.call(this,n,Et(this),t),t)})):"boolean"==typeof t&&a?t?this.addClass(e):this.removeClass(e):(n=St(e),this.each((function(){if(a)for(r=k(this),o=0;o<n.length;o++)i=n[o],r.hasClass(i)?r.removeClass(i):r.addClass(i);else void 0!==e&&"boolean"!==s||((i=Et(this))&&oe.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":oe.get(this,"__className__")||""))})))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+kt(Et(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ct=/\r/g;k.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=p(e),this.each((function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,k(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=k.map(o,(function(e){return null==e?"":e+""}))),(t=k.valHooks[this.type]||k.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))}))):o?(t=k.valHooks[o.type]||k.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Ct,""):null==n?"":n:void 0}}),k.extend({valHooks:{option:{get:function(e){var t=k.find.attr(e,"value");return null!=t?t:kt(k.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,s="select-one"===e.type,a=s?null:[],l=s?r+1:o.length;for(i=r<0?l:s?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(t=k(n).val(),s)return t;a.push(t)}return a},set:function(e,t){for(var n,i,o=e.options,r=k.makeArray(t),s=o.length;s--;)((i=o[s]).selected=k.inArray(k.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),k.each(["radio","checkbox"],(function(){k.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=k.inArray(k(e).val(),t)>-1}},f.checkOn||(k.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})}));var _t=e.location,At={guid:Date.now()},Tt=/\?/;k.parseXML=function(t){var n,i;if(!t||"string"!=typeof t)return null;try{n=(new e.DOMParser).parseFromString(t,"text/xml")}catch(e){}return i=n&&n.getElementsByTagName("parsererror")[0],n&&!i||k.error("Invalid XML: "+(i?k.map(i.childNodes,(function(e){return e.textContent})).join("\n"):t)),n};var Dt=/^(?:focusinfocus|focusoutblur)$/,Mt=function(e){e.stopPropagation()};k.extend(k.event,{trigger:function(t,n,i,o){var r,s,a,l,c,u,h,f,v=[i||m],y=d.call(t,"type")?t.type:t,b=d.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=i=i||m,3!==i.nodeType&&8!==i.nodeType&&!Dt.test(y+k.event.triggered)&&(y.indexOf(".")>-1&&(b=y.split("."),y=b.shift(),b.sort()),c=y.indexOf(":")<0&&"on"+y,(t=t[k.expando]?t:new k.Event(y,"object"==typeof t&&t)).isTrigger=o?2:3,t.namespace=b.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=i),n=null==n?[t]:k.makeArray(n,[t]),h=k.event.special[y]||{},o||!h.trigger||!1!==h.trigger.apply(i,n))){if(!o&&!h.noBubble&&!g(i)){for(l=h.delegateType||y,Dt.test(l+y)||(s=s.parentNode);s;s=s.parentNode)v.push(s),a=s;a===(i.ownerDocument||m)&&v.push(a.defaultView||a.parentWindow||e)}for(r=0;(s=v[r++])&&!t.isPropagationStopped();)f=s,t.type=r>1?l:h.bindType||y,(u=(oe.get(s,"events")||Object.create(null))[t.type]&&oe.get(s,"handle"))&&u.apply(s,n),(u=c&&s[c])&&u.apply&&ne(s)&&(t.result=u.apply(s,n),!1===t.result&&t.preventDefault());return t.type=y,o||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(v.pop(),n)||!ne(i)||c&&p(i[y])&&!g(i)&&((a=i[c])&&(i[c]=null),k.event.triggered=y,t.isPropagationStopped()&&f.addEventListener(y,Mt),i[y](),t.isPropagationStopped()&&f.removeEventListener(y,Mt),k.event.triggered=void 0,a&&(i[c]=a)),t.result}},simulate:function(e,t,n){var i=k.extend(new k.Event,n,{type:e,isSimulated:!0});k.event.trigger(i,null,t)}}),k.fn.extend({trigger:function(e,t){return this.each((function(){k.event.trigger(e,t,this)}))},triggerHandler:function(e,t){var n=this[0];if(n)return k.event.trigger(e,t,n,!0)}});var Pt=/\[\]$/,Ot=/\r?\n/g,Rt=/^(?:submit|button|image|reset|file)$/i,It=/^(?:input|select|textarea|keygen)/i;function Lt(e,t,n,i){var o;if(Array.isArray(t))k.each(t,(function(t,o){n||Pt.test(e)?i(e,o):Lt(e+"["+("object"==typeof o&&null!=o?t:"")+"]",o,n,i)}));else if(n||"object"!==b(t))i(e,t);else for(o in t)Lt(e+"["+o+"]",t[o],n,i)}k.param=function(e,t){var n,i=[],o=function(e,t){var n=p(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!k.isPlainObject(e))k.each(e,(function(){o(this.name,this.value)}));else for(n in e)Lt(n,e[n],t,o);return i.join("&")},k.fn.extend({serialize:function(){return k.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var e=k.prop(this,"elements");return e?k.makeArray(e):this})).filter((function(){var e=this.type;return this.name&&!k(this).is(":disabled")&&It.test(this.nodeName)&&!Rt.test(e)&&(this.checked||!ke.test(e))})).map((function(e,t){var n=k(this).val();return null==n?null:Array.isArray(n)?k.map(n,(function(e){return{name:t.name,value:e.replace(Ot,"\r\n")}})):{name:t.name,value:n.replace(Ot,"\r\n")}})).get()}});var Nt=/%20/g,jt=/#.*$/,Ht=/([?&])_=[^&]*/,$t=/^(.*?):[ \t]*([^\r\n]*)$/gm,zt=/^(?:GET|HEAD)$/,Bt=/^\/\//,Ft={},Vt={},Ut="*/".concat("*"),Wt=m.createElement("a");function qt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(U)||[];if(p(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Gt(e,t,n,i){var o={},r=e===Vt;function s(a){var l;return o[a]=!0,k.each(e[a]||[],(function(e,a){var c=a(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),s(c),!1)})),l}return s(t.dataTypes[0])||!o["*"]&&s("*")}function Yt(e,t){var n,i,o=k.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&k.extend(!0,e,i),e}Wt.href=_t.href,k.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:_t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(_t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ut,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":k.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Yt(Yt(e,k.ajaxSettings),t):Yt(k.ajaxSettings,e)},ajaxPrefilter:qt(Ft),ajaxTransport:qt(Vt),ajax:function(t,n){"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,r,s,a,l,c,d,u,h,f=k.ajaxSetup({},n),p=f.context||f,g=f.context&&(p.nodeType||p.jquery)?k(p):k.event,v=k.Deferred(),y=k.Callbacks("once memory"),b=f.statusCode||{},w={},x={},E="canceled",S={readyState:0,getResponseHeader:function(e){var t;if(c){if(!s)for(s={};t=$t.exec(r);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return c?r:null},setRequestHeader:function(e,t){return null==c&&(e=x[e.toLowerCase()]=x[e.toLowerCase()]||e,w[e]=t),this},overrideMimeType:function(e){return null==c&&(f.mimeType=e),this},statusCode:function(e){var t;if(e)if(c)S.always(e[S.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||E;return i&&i.abort(t),C(0,t),this}};if(v.promise(S),f.url=((t||f.url||_t.href)+"").replace(Bt,_t.protocol+"//"),f.type=n.method||n.type||f.method||f.type,f.dataTypes=(f.dataType||"*").toLowerCase().match(U)||[""],null==f.crossDomain){l=m.createElement("a");try{l.href=f.url,l.href=l.href,f.crossDomain=Wt.protocol+"//"+Wt.host!=l.protocol+"//"+l.host}catch(e){f.crossDomain=!0}}if(f.data&&f.processData&&"string"!=typeof f.data&&(f.data=k.param(f.data,f.traditional)),Gt(Ft,f,n,S),c)return S;for(u in(d=k.event&&f.global)&&0==k.active++&&k.event.trigger("ajaxStart"),f.type=f.type.toUpperCase(),f.hasContent=!zt.test(f.type),o=f.url.replace(jt,""),f.hasContent?f.data&&f.processData&&0===(f.contentType||"").indexOf("application/x-www-form-urlencoded")&&(f.data=f.data.replace(Nt,"+")):(h=f.url.slice(o.length),f.data&&(f.processData||"string"==typeof f.data)&&(o+=(Tt.test(o)?"&":"?")+f.data,delete f.data),!1===f.cache&&(o=o.replace(Ht,"$1"),h=(Tt.test(o)?"&":"?")+"_="+At.guid+++h),f.url=o+h),f.ifModified&&(k.lastModified[o]&&S.setRequestHeader("If-Modified-Since",k.lastModified[o]),k.etag[o]&&S.setRequestHeader("If-None-Match",k.etag[o])),(f.data&&f.hasContent&&!1!==f.contentType||n.contentType)&&S.setRequestHeader("Content-Type",f.contentType),S.setRequestHeader("Accept",f.dataTypes[0]&&f.accepts[f.dataTypes[0]]?f.accepts[f.dataTypes[0]]+("*"!==f.dataTypes[0]?", "+Ut+"; q=0.01":""):f.accepts["*"]),f.headers)S.setRequestHeader(u,f.headers[u]);if(f.beforeSend&&(!1===f.beforeSend.call(p,S,f)||c))return S.abort();if(E="abort",y.add(f.complete),S.done(f.success),S.fail(f.error),i=Gt(Vt,f,n,S)){if(S.readyState=1,d&&g.trigger("ajaxSend",[S,f]),c)return S;f.async&&f.timeout>0&&(a=e.setTimeout((function(){S.abort("timeout")}),f.timeout));try{c=!1,i.send(w,C)}catch(e){if(c)throw e;C(-1,e)}}else C(-1,"No Transport");function C(t,n,s,l){var u,h,m,w,x,E=n;c||(c=!0,a&&e.clearTimeout(a),i=void 0,r=l||"",S.readyState=t>0?4:0,u=t>=200&&t<300||304===t,s&&(w=function(e,t,n){for(var i,o,r,s,a=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in a)if(a[o]&&a[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}s||(s=o)}r=r||s}if(r)return r!==l[0]&&l.unshift(r),n[r]}(f,S,s)),!u&&k.inArray("script",f.dataTypes)>-1&&k.inArray("json",f.dataTypes)<0&&(f.converters["text script"]=function(){}),w=function(e,t,n,i){var o,r,s,a,l,c={},d=e.dataTypes.slice();if(d[1])for(s in e.converters)c[s.toLowerCase()]=e.converters[s];for(r=d.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=d.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(s=c[l+" "+r]||c["* "+r]))for(o in c)if((a=o.split(" "))[1]===r&&(s=c[l+" "+a[0]]||c["* "+a[0]])){!0===s?s=c[o]:!0!==c[o]&&(r=a[0],d.unshift(a[1]));break}if(!0!==s)if(s&&e.throws)t=s(t);else try{t=s(t)}catch(e){return{state:"parsererror",error:s?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(f,w,S,u),u?(f.ifModified&&((x=S.getResponseHeader("Last-Modified"))&&(k.lastModified[o]=x),(x=S.getResponseHeader("etag"))&&(k.etag[o]=x)),204===t||"HEAD"===f.type?E="nocontent":304===t?E="notmodified":(E=w.state,h=w.data,u=!(m=w.error))):(m=E,!t&&E||(E="error",t<0&&(t=0))),S.status=t,S.statusText=(n||E)+"",u?v.resolveWith(p,[h,E,S]):v.rejectWith(p,[S,E,m]),S.statusCode(b),b=void 0,d&&g.trigger(u?"ajaxSuccess":"ajaxError",[S,f,u?h:m]),y.fireWith(p,[S,E]),d&&(g.trigger("ajaxComplete",[S,f]),--k.active||k.event.trigger("ajaxStop")))}return S},getJSON:function(e,t,n){return k.get(e,t,n,"json")},getScript:function(e,t){return k.get(e,void 0,t,"script")}}),k.each(["get","post"],(function(e,t){k[t]=function(e,n,i,o){return p(n)&&(o=o||i,i=n,n=void 0),k.ajax(k.extend({url:e,type:t,dataType:o,data:n,success:i},k.isPlainObject(e)&&e))}})),k.ajaxPrefilter((function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")})),k._evalUrl=function(e,t,n){return k.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){k.globalEval(e,t,n)}})},k.fn.extend({wrapAll:function(e){var t;return this[0]&&(p(e)&&(e=e.call(this[0])),t=k(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map((function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e})).append(this)),this},wrapInner:function(e){return p(e)?this.each((function(t){k(this).wrapInner(e.call(this,t))})):this.each((function(){var t=k(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)}))},wrap:function(e){var t=p(e);return this.each((function(n){k(this).wrapAll(t?e.call(this,n):e)}))},unwrap:function(e){return this.parent(e).not("body").each((function(){k(this).replaceWith(this.childNodes)})),this}}),k.expr.pseudos.hidden=function(e){return!k.expr.pseudos.visible(e)},k.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},k.ajaxSettings.xhr=function(){try{return new e.XMLHttpRequest}catch(e){}};var Qt={0:200,1223:204},Xt=k.ajaxSettings.xhr();f.cors=!!Xt&&"withCredentials"in Xt,f.ajax=Xt=!!Xt,k.ajaxTransport((function(t){var n,i;if(f.cors||Xt&&!t.crossDomain)return{send:function(o,r){var s,a=t.xhr();if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(s in t.xhrFields)a[s]=t.xhrFields[s];for(s in t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)a.setRequestHeader(s,o[s]);n=function(e){return function(){n&&(n=i=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===e?a.abort():"error"===e?"number"!=typeof a.status?r(0,"error"):r(a.status,a.statusText):r(Qt[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=n(),i=a.onerror=a.ontimeout=n("error"),void 0!==a.onabort?a.onabort=i:a.onreadystatechange=function(){4===a.readyState&&e.setTimeout((function(){n&&i()}))},n=n("abort");try{a.send(t.hasContent&&t.data||null)}catch(e){if(n)throw e}},abort:function(){n&&n()}}})),k.ajaxPrefilter((function(e){e.crossDomain&&(e.contents.script=!1)})),k.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 k.globalEval(e),e}}}),k.ajaxPrefilter("script",(function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")})),k.ajaxTransport("script",(function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=k("<script>").attr(e.scriptAttrs||{}
vendor: 5,690 bytes, line 1
1).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),m.head.appendChild(t[0])},abort:function(){n&&n()}}}));var Zt,Kt=[],Jt=/(=)\?(?=&|$)|\?\?/;k.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Kt.pop()||k.expando+"_"+At.guid++;return this[e]=!0,e}}),k.ajaxPrefilter("json jsonp",(function(t,n,i){var o,r,s,a=!1!==t.jsonp&&(Jt.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&Jt.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return o=t.jsonpCallback=p(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(Jt,"$1"+o):!1!==t.jsonp&&(t.url+=(Tt.test(t.url)?"&":"?")+t.jsonp+"="+o),t.converters["script json"]=function(){return s||k.error(o+" was not called"),s[0]},t.dataTypes[0]="json",r=e[o],e[o]=function(){s=arguments},i.always((function(){void 0===r?k(e).removeProp(o):e[o]=r,t[o]&&(t.jsonpCallback=n.jsonpCallback,Kt.push(o)),s&&p(r)&&r(s[0]),s=r=void 0})),"script"})),f.createHTMLDocument=((Zt=m.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===Zt.childNodes.length),k.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(f.createHTMLDocument?((i=(t=m.implementation.createHTMLDocument("")).createElement("base")).href=m.location.href,t.head.appendChild(i)):t=m),r=!n&&[],(o=j.exec(e))?[t.createElement(o[1])]:(o=De([e],t,r),r&&r.length&&k(r).remove(),k.merge([],o.childNodes)));var i,o,r},k.fn.load=function(e,t,n){var i,o,r,s=this,a=e.indexOf(" ");return a>-1&&(i=kt(e.slice(a)),e=e.slice(0,a)),p(t)?(n=t,t=void 0):t&&"object"==typeof t&&(o="POST"),s.length>0&&k.ajax({url:e,type:o||"GET",dataType:"html",data:t}).done((function(e){r=arguments,s.html(i?k("<div>").append(k.parseHTML(e)).find(i):e)})).always(n&&function(e,t){s.each((function(){n.apply(this,r||[e.responseText,t,e])}))}),this},k.expr.pseudos.animated=function(e){return k.grep(k.timers,(function(t){return e===t.elem})).length},k.offset={setOffset:function(e,t,n){var i,o,r,s,a,l,c=k.css(e,"position"),d=k(e),u={};"static"===c&&(e.style.position="relative"),a=d.offset(),r=k.css(e,"top"),l=k.css(e,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(s=(i=d.position()).top,o=i.left):(s=parseFloat(r)||0,o=parseFloat(l)||0),p(t)&&(t=t.call(e,n,k.extend({},a))),null!=t.top&&(u.top=t.top-a.top+s),null!=t.left&&(u.left=t.left-a.left+o),"using"in t?t.using.call(e,u):d.css(u)}},k.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each((function(t){k.offset.setOffset(this,e,t)}));var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===k.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===k.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=k(e).offset()).top+=k.css(e,"borderTopWidth",!0),o.left+=k.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-k.css(i,"marginTop",!0),left:t.left-o.left-k.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var e=this.offsetParent;e&&"static"===k.css(e,"position");)e=e.offsetParent;return e||he}))}}),k.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(e,t){var n="pageYOffset"===t;k.fn[e]=function(i){return Z(this,(function(e,i,o){var r;if(g(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o}),e,i,arguments.length)}})),k.each(["top","left"],(function(e,t){k.cssHooks[t]=Ze(f.pixelPosition,(function(e,n){if(n)return n=Xe(e,t),We.test(n)?k(e).position()[t]+"px":n}))})),k.each({Height:"height",Width:"width"},(function(e,t){k.each({padding:"inner"+e,content:t,"":"outer"+e},(function(n,i){k.fn[i]=function(o,r){var s=arguments.length&&(n||"boolean"!=typeof o),a=n||(!0===o||!0===r?"margin":"border");return Z(this,(function(t,n,o){var r;return g(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?k.css(t,n,a):k.style(t,n,o,a)}),t,s?o:void 0,s)}}))})),k.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(e,t){k.fn[t]=function(e){return this.on(t,e)}})),k.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}}),k.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,t){k.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}));var en=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;k.proxy=function(e,t){var n,i,r;if("string"==typeof t&&(n=e[t],t=e,e=n),p(e))return i=o.call(arguments,2),r=function(){return e.apply(t||this,i.concat(o.call(arguments)))},r.guid=e.guid=e.guid||k.guid++,r},k.holdReady=function(e){e?k.readyWait++:k.ready(!0)},k.isArray=Array.isArray,k.parseJSON=JSON.parse,k.nodeName=S,k.isFunction=p,k.isWindow=g,k.camel
1Case=te,k.type=b,k.now=Date.now,k.isNumeric=function(e){var t=k.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},k.trim=function(e){return null==e?"":(e+"").replace(en,"$1")},"function"==typeof define&&define.amd&&define("jquery",[],(function(){return k}));var tn=e.jQuery,nn=e.$;return k.noConflict=function(t){return e.$===k&&(e.$=nn),t&&e.jQuery===k&&(e.jQuery=tn),k},void 0===t&&(e.jQuery=e.$=k),k})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).bootstrap=t()}(this,(function(){"use strict";const e=new Map,t={set(t,n,i){e.has(t)||e.set(t,new Map);const o=e.get(t);o.has(n)||0===o.size?o.set(n,i):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(o.keys())[0]}.`)},get:(t,n)=>e.has(t)&&e.get(t).get(n)||null,remove(t,n){if(!e.has(t))return;const i=e.get(t);i.delete(n),0===i.size&&e.delete(t)}},n="transitionend",i=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,((e,t)=>`#${CSS.escape(t)}`))),e),o=e=>{e.dispatchEvent(new Event(n))},r=e=>!(!e||"object"!=typeof e)&&(void 0!==e.jquery&&(e=e[0]),void 0!==e.nodeType),s=e=>r(e)?e.jquery?e[0]:e:"string"==typeof e&&e.length>0?document.querySelector(i(e)):null,a=e=>{if(!r(e)||0===e.getClientRects().length)return!1;const t="visible"===getComputedStyle(e).getPropertyValue("visibility"),n=e.closest("details:not([open])");if(!n)return t;if(n!==e){const t=e.closest("summary");if(t&&t.parentNode!==n)return!1;if(null===t)return!1}return t},l=e=>!e||e.nodeType!==Node.ELEMENT_NODE||!!e.classList.contains("disabled")||(void 0!==e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")),c=e=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){const t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?c(e.parentNode):null},d=()=>{},u=e=>{e.offsetHeight},h=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,f=[],p=()=>"rtl"===document.documentElement.dir,g=e=>{var t;t=()=>{const t=h();if(t){const n=e.NAME,i=t.fn[n];t.fn[n]=e.jQueryInterface,t.fn[n].Constructor=e,t.fn[n].noConflict=()=>(t.fn[n]=i,e.jQueryInterface)}},"loading"===document.readyState?(f.length||document.addEventListener("DOMContentLoaded",(()=>{for(const e of f)e()})),f.push(t)):t()},m=(e,t=[],n=e)=>"function"==typeof e?e(...t):n,v=(e,t,i=!0)=>{if(!i)return void m(e);const r=(e=>{if(!e)return 0;let{transitionDuration:t,transitionDelay:n}=window.getComputedStyle(e);const i=Number.parseFloat(t),o=Number.parseFloat(n);return i||o?(t=t.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(t)+Number.parseFloat(n))):0})(t)+5;let s=!1;const a=({target:i})=>{i===t&&(s=!0,t.removeEventListener(n,a),m(e))};t.addEventListener(n,a),setTimeout((()=>{s||o(t)}),r)},y=(e,t,n,i)=>{const o=e.length;let r=e.indexOf(t);return-1===r?!n&&i?e[o-1]:e[0]:(r+=n?1:-1,i&&(r=(r+o)%o),e[Math.max(0,Math.min(r,o-1))])},b=/[^.]*(?=\..*)\.|.*/,w=/\..*/,x=/::\d+$/,k={};let E=1;
vendor: 24,063 bytes, line 1
1const S={mouseenter:"mouseover",mouseleave:"mouseout"},C=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function _(e,t){return t&&`${t}::${E++}`||e.uidEvent||E++}function A(e){const t=_(e);return e.uidEvent=t,k[t]=k[t]||{},k[t]}function T(e,t,n=null){return Object.values(e).find((e=>e.callable===t&&e.delegationSelector===n))}function D(e,t,n){const i="string"==typeof t,o=i?n:t||n;let r=R(e);return C.has(r)||(r=e),[i,o,r]}function M(e,t,n,i,o){if("string"!=typeof t||!e)return;let[r,s,a]=D(t,n,i);if(t in S){const e=e=>function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)};s=e(s)}const l=A(e),c=l[a]||(l[a]={}),d=T(c,s,r?n:null);if(d)return void(d.oneOff=d.oneOff&&o);const u=_(s,t.replace(b,"")),h=r?function(e,t,n){return function i(o){const r=e.querySelectorAll(t);for(let{target:s}=o;s&&s!==this;s=s.parentNode)for(const a of r)if(a===s)return L(o,{delegateTarget:s}),i.oneOff&&I.off(e,o.type,t,n),n.apply(s,[o])}}(e,n,s):function(e,t){return function n(i){return L(i,{delegateTarget:e}),n.oneOff&&I.off(e,i.type,t),t.apply(e,[i])}}(e,s);h.delegationSelector=r?n:null,h.callable=s,h.oneOff=o,h.uidEvent=u,c[u]=h,e.addEventListener(a,h,r)}function P(e,t,n,i,o){const r=T(t[n],i,o);r&&(e.removeEventListener(n,r,Boolean(o)),delete t[n][r.uidEvent])}function O(e,t,n,i){const o=t[n]||{};for(const[r,s]of Object.entries(o))r.includes(i)&&P(e,t,n,s.callable,s.delegationSelector)}function R(e){return e=e.replace(w,""),S[e]||e}const I={on(e,t,n,i){M(e,t,n,i,!1)},one(e,t,n,i){M(e,t,n,i,!0)},off(e,t,n,i){if("string"!=typeof t||!e)return;const[o,r,s]=D(t,n,i),a=s!==t,l=A(e),c=l[s]||{},d=t.startsWith(".");if(void 0===r){if(d)for(const n of Object.keys(l))O(e,l,n,t.slice(1));for(const[n,i]of Object.entries(c)){const o=n.replace(x,"");a&&!t.includes(o)||P(e,l,s,i.callable,i.delegationSelector)}}else{if(!Object.keys(c).length)return;P(e,l,s,r,o?n:null)}},trigger(e,t,n){if("string"!=typeof t||!e)return null;const i=h();let o=null,r=!0,s=!0,a=!1;t!==R(t)&&i&&(o=i.Event(t,n),i(e).trigger(o),r=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),a=o.isDefaultPrevented());const l=L(new Event(t,{bubbles:r,cancelable:!0}),n);return a&&l.preventDefault(),s&&e.dispatchEvent(l),l.defaultPrevented&&o&&o.preventDefault(),l}};function L(e,t={}){for(const[n,i]of Object.entries(t))try{e[n]=i}catch(t){Object.defineProperty(e,n,{configurable:!0,get:()=>i})}return e}function N(e){if("true"===e)return!0;if("false"===e)return!1;if(e===Number(e).toString())return Number(e);if(""===e||"null"===e)return null;if("string"!=typeof e)return e;try{return JSON.parse(decodeURIComponent(e))}catch(t){return e}}function j(e){return e.replace(/[A-Z]/g,(e=>`-${e.toLowerCase()}`))}const H={setDataAttribute(e,t,n){e.setAttribute(`data-bs-${j(t)}`,n)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${j(t)}`)},getDataAttributes(e){if(!e)return{};const t={},n=Object.keys(e.dataset).filter((e=>e.startsWith("bs")&&!e.startsWith("bsConfig")));for(const i of n){let n=i.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),t[n]=N(e.dataset[i])}return t},getDataAttribute:(e,t)=>N(e.getAttribute(`data-bs-${j(t)}`))};class ${static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,t){const n=r(t)?H.getDataAttribute(t,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...r(t)?H.getDataAttributes(t):{},..."object"==typeof e?e:{}}}_typeCheckConfig(e,t=this.constructor.DefaultType){for(const[i,o]of Object.entries(t)){const t=e[i],s=r(t)?"element":null==(n=t)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${i}" provided type "${s}" but expected type "${o}".`)}var n}}class z extends ${constructor(e,n){super(),(e=s(e))&&(this._element=e,this._config=this._getConfig(n),t.set(this._element,this.constructor.DATA_KEY,this))}dispose(){t.remove(this._element,this.constructor.DATA_KEY),I.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,t,n=!0){v(e,t,n)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return t.get(s(e),this.DATA_KEY)}static getOrCreateInstance(e,t={}){return this.getInstance(e)||new this(e,"object"==typeof t?t:null)}static get VERSION(){return"5.3.0"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const B=e=>{let t=e.getAttribute("data-bs-target");if(!t||"#"===t){let n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),t=n&&"#"!==n?n.trim():null}return i(t)},F={find:(e,t=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(t,e)),findOne:(e,t=document.documentElement)=>Element.prototype.querySelector.call(t,e),children:(e,t)=>[].concat(...e.children).filter((e=>e.matches(t))),parents(e,t){const n=[];let i=e.parentNode.closest(t);for(;i;)n.push(i),i=i.parentNode.closest(t);return n},prev(e,t){let n=e.previousElementSibling;for(;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next(e,t){let n=e.nextElementSibling;for(;n;){if(n.matches(t))return[n];n=n.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((e=>`${e}:not([tabindex^="-"])`)).join(",");return this.find(t,e).filter((e=>!l(e)&&a(e)))},getSelectorFromElement(e){const t=B(e);return t&&F.findOne(t)?t:null},getElementFromSelector(e){const t=B(e);return t?F.findOne(t):null},getMultipleElementsFromSelector(e){const t=B(e);return t?F.find(t):[]}},V=(e,t="hide")=>{const n=`click.dismiss${e.EVENT_KEY}`,i=e.NAME;I.on(document,n,`[data-bs-dismiss="${i}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),l(this))return;const o=F.getElementFromSelector(this)||this.closest(`.${i}`);e.getOrCreateInstance(o)[t]()}))},U=".bs.alert",W=`close${U}`,q=`closed${U}`;class G extends z{static get NAME(){return"alert"}close(){if(I.trigger(this._element,W).defaultPrevented)return;this._element.classList.remove("show");const e=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,e)}_destroyElement(){this._element.remove(),I.trigger(this._element,q),this.dispose()}static jQueryInterface(e){return this.each((function(){const t=G.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}V(G,"close"),g(G);const Y='[data-bs-toggle="button"]';class Q extends z{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(e){return this.each((function(){const t=Q.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}I.on(document,"click.bs.button.data-api",Y,(e=>{e.preventDefault();const t=e.target.closest(Y);Q.getOrCreateInstance(t).toggle()})),g(Q);const X=".bs.swipe",Z=`touchstart${X}`,K=`touchmove${X}`,J=`touchend${X}`,ee=`pointerdown${X}`,te=`pointerup${X}`,ne={endCallback:null,leftCallback:null,rightCallback:null},ie={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class oe extends ${constructor(e,t){super(),this._element=e,e&&oe.isSupported()&&(this._config=this._getConfig(t),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return ne}static get DefaultType(){return ie}static get NAME(){return"swipe"}dispose(){I.off(this._element,X)}_start(e){this._supportPointerEvents?this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX):this._deltaX=e.touches[0].clientX}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),m(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=40)return;const t=e/this._deltaX;this._deltaX=0,t&&m(t>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(I.on(this._element,ee,(e=>this._start(e))),I.on(this._element,te,(e=>this._end(e))),this._element.classList.add("pointer-event")):(I.on(this._element,Z,(e=>this._start(e))),I.on(this._element,K,(e=>this._move(e))),I.on(this._element,J,(e=>this._end(e))))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&("pen"===e.pointerType||"touch"===e.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const re=".bs.carousel",se=".data-api",ae="next",le="prev",ce="left",de="right",ue=`slide${re}`,he=`slid${re}`,fe=`keydown${re}`,pe=`mouseenter${re}`,ge=`mouseleave${re}`,me=`dragstart${re}`,ve=`load${re}${se}`,ye=`click${re}${se}`,be="carousel",we="active",xe=".active",ke=".carousel-item",Ee=xe+ke,Se={ArrowLeft:de,ArrowRight:ce},Ce={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},_e={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Ae extends z{constructor(e,t){super(e,t),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=F.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===be&&this.cycle()}static get Default(){return Ce}static get DefaultType(){return _e}static get NAME(){return"carousel"}next(){this._slide(ae)}nextWhenVisible(){!document.hidden&&a(this._element)&&this.next()}prev(){this._slide(le)}pause(){this._isSliding&&o(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?I.one(this._element,he,(()=>this.cycle())):this.cycle())}to(e){const t=this._getItems();if(e>t.length-1||e<0)return;if(this._isSliding)return void I.one(this._element,he,(()=>this.to(e)));const n=this._getItemIndex(this._getActive());if(n===e)return;const i=e>n?ae:le;this._slide(i,t[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&I.on(this._element,fe,(e=>this._keydown(e))),"hover"===this._config.pause&&(I.on(this._element,pe,(()=>this.pause())),I.on(this._element,ge,(()=>this._maybeEnableCycle()))),this._config.touch&&oe.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const e of F.find(".carousel-item img",this._element))I.on(e,me,(e=>e.preventDefault()));const e={leftCallback:()=>this._slide(this._directionToOrder(ce)),rightCallback:()=>this._slide(this._directionToOrder(de)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new oe(this._element,e)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const t=Se[e.key];t&&(e.preventDefault(),this._slide(this._directionToOrder(t)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const t=F.findOne(xe,this._indicatorsElement);t.classList.remove(we),t.removeAttribute("aria-current");const n=F.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);n&&(n.classList.add(we),n.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const t=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=t||this._config.defaultInterval}_slide(e,t=null){if(this._isSliding)return;const n=this._getActive(),i=e===ae,o=t||y(this._getItems(),n,i,this._config.wrap);if(o===n)return;const r=this._getItemIndex(o),s=t=>I.trigger(this._element,t,{relatedTarget:o,direction:this._orderToDirection(e),from:this._getItemIndex(n),to:r});if(s(ue).defaultPrevented)return;if(!n||!o)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(r),this._activeElement=o;const l=i?"carousel-item-start":"carousel-item-end",c=i?"carousel-item-next":"carousel-item-prev";o.classList.add(c),u(o),n.classList.add(l),o.classList.add(l),this._queueCallback((()=>{o.classList.remove(l,c),o.classList.add(we),n.classList.remove(we,c,l),this._isSliding=!1,s(he)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return F.findOne(Ee,this._element)}_getItems(){return F.find(ke,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return p()?e===ce?le:ae:e===ce?ae:le}_orderToDirection(e){return p()?e===le?ce:de:e===le?de:ce}static jQueryInterface(e){return this.each((function(){const t=Ae.getOrCreateInstance(this,e);if("number"!=typeof e){if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}else t.to(e)}))}}I.on(document,ye,"[data-bs-slide], [data-bs-slide-to]",(function(e){const t=F.getElementFromSelector(this);if(!t||!t.classList.contains(be))return;e.preventDefault();const n=Ae.getOrCreateInstance(t),i=this.getAttribute("data-bs-slide-to");return i?(n.to(i),void n._maybeEnableCycle()):"next"===H.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),I.on(window,ve,(()=>{const e=F.find('[data-bs-ride="carousel"]');for(const t of e)Ae.getOrCreateInstance(t)})),g(Ae);const Te=".bs.collapse",De=`show${Te}`,Me=`shown${Te}`,Pe=`hide${Te}`,Oe=`hidden${Te}`,Re=`click${Te}.data-api`,Ie="show",Le="collapse",Ne="collapsing",je=`:scope .${Le} .${Le}`,He='[data-bs-toggle="collapse"]',$e={parent:null,toggle:!0},ze={parent:"(null|element)",toggle:"boolean"};class Be extends z{constructor(e,t){super(e,t),this._isTransitioning=!1,this._triggerArray=[];const n=F.find(He);for(const e of n){const t=F.getSelectorFromElement(e),n=F.find(t).filter((e=>e===this._element));null!==t&&n.length&&this._triggerArray.push(e)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return $e}static get DefaultType(){return ze}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((e=>e!==this._element)).map((e=>Be.getOrCreateInstance(e,{toggle:!1})))),e.length&&e[0]._isTransitioning)return;if(I.trigger(this._element,De).defaultPrevented)return;for(const t of e)t.hide();const t=this._getDimension();this._element.classList.remove(Le),this._element.classList.add(Ne),this._element.style[t]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${t[0].toUpperCase()+t.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ne),this._element.classList.add(Le,Ie),this._element.style[t]="",I.trigger(this._element,Me)}),this._element,!0),this._element.style[t]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(I.trigger(this._element,Pe).defaultPrevented)return;const e=this._getDimension();this._element.style[e]=`${this._element.getBoundingClientRect()[e]}px`,u(this._element),this._element.classList.add(Ne),this._element.classList.remove(Le,Ie);for(const e of this._triggerArray){const t=F.getElementFromSelector(e);t&&!this._isShown(t)&&this._addAriaAndCollapsedClass([e],!1)}this._isTransitioning=!0,this._element.style[e]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Ne),this._element.classList.add(Le),I.trigger(this._element,Oe)}),this._element,!0)}_isShown(e=this._element){return e.classList.contains(Ie)}_configAfterMerge(e){return e.toggle=Boolean(e.toggle),e.parent=s(e.parent),e}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(He);for(const t of e){const e=F.getElementFromSelector(t);e&&this._addAriaAndCollapsedClass([t],this._isShown(e))}}_getFirstLevelChildren(e){const t=F.find(je,this._config.parent);return F.find(e,this._config.parent).filter((e=>!t.includes(e)))}_addAriaAndCollapsedClass(e,t){if(e.length)for(const n of e)n.classList.toggle("collapsed",!t),n.setAttribute("aria-expanded",t)}static jQueryInterface(e){const t={};return"string"==typeof e&&/show|hide/.test(e)&&(t.toggle=!1),this.each((function(){const n=Be.getOrCreateInstance(this,t);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e]()}}))}}I.on(document,Re,He,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();for(const e of F.getMultipleElementsFromSelector(this))Be.getOrCreateInstance(e,{toggle:!1}).toggle()})),g(Be);var Fe="top",Ve="bottom",Ue="right",We="left",qe="auto",Ge=[Fe,Ve,Ue,We],Ye="start",Qe="end",Xe="clippingParents",Ze="viewport",Ke="popper",Je="reference",et=Ge.reduce((function(e,t){return e.concat([t+"-"+Ye,t+"-"+Qe])}),[]),tt=[].concat(Ge,[qe]).reduce((function(e,t){return e.concat([t,t+"-"+Ye,t+"-"+Qe])}),[]),nt="beforeRead",it="read",ot="afterRead",rt="beforeMain",st="main",at="afterMain",lt="beforeWrite",ct="write",dt="afterWrite",ut=[nt,it,ot,rt,st,at,lt,ct,dt];function ht(e){return e?(e.nodeName||"").toLowerCase():null}function ft(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pt(e){return e instanceof ft(e).Element||e instanceof Element}function gt(e){return e instanceof ft(e).HTMLElement||e instanceof HTMLElement}function mt(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ft(e).ShadowRoot||e instanceof ShadowRoot)}const vt={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},i=t.attributes[e]||{},o=t.elements[e];gt(o)&&ht(o)&&(Object.assign(o.style,n),Object.keys(i).forEach((function(e){var t=i[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var i=t.elements[e],o=t.attributes[e]||{},r=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});gt(i)&&ht(i)&&(Object.assign(i.style,r),Object.keys(o).forEach((function(e){i.removeAttribute(e)})))}))}},requires:["computeStyles"]};function yt(e){return e.split("-")[0]}var bt=Math.max,wt=Math.min,xt=Math.round;function kt(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function Et(){return!/^((?!chrome|android).)*safari/i.test(kt())}function St(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);var i=e.getBoundingClientRect(),o=1,r=1;t&>(e)&&(o=e.offsetWidth>0&&xt(i.width)/e.offsetWidth||1,r=e.offsetHeight>0&&xt(i.height)/e.offsetHeight||1);var s=(pt(e)?ft(e):window).visualViewport,a=!Et()&&n,l=(i.left+(a&&s?s.offsetLeft:0))/o,c=(i.top+(a&&s?s.offsetTop:0))/r,d=i.width/o,u=i.height/r;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function Ct(e){var t=St(e),n=e.offsetWidth,i=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-i)<=1&&(i=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:i}}function _t(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&mt(n)){var i=t;do{if(i&&e.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}function At(e){return ft(e).getComputedStyle(e)}function Tt(e){return["table","td","th"].indexOf(ht(e))>=0}function Dt(e){return((pt(e)?e.ownerDocument:e.document)||window.document).documentElement}function Mt(e){return"html"===ht(e)?e:e.assignedSlot||e.parentNode||(mt(e)?e.host:null)||Dt(e)}function Pt(e){return gt(e)&&"fixed"!==At(e).position?e.offsetParent:null}function Ot(e){for(var t=ft(e),n=Pt(e);n&&Tt(n)&&"static"===At(n).position;)n=Pt(n);return n&&("html"===ht(n)||"body"===ht(n)&&"static"===At(n).position)?t:n||function(e){var t=/firefox/i.test(kt());if(/Trident/i.test(kt())&>(e)&&"fixed"===At(e).position)return null;var n=Mt(e);for(mt(n)&&(n=n.host);gt(n)&&["html","body"].indexOf(ht(n))<0;){var i=At(n);if("none"!==i.transform||"none"!==i.perspective||"paint"===i.contain||-1!==["transform","perspective"].indexOf(i.willChange)||t&&"filter"===i.willChange||t&&i.filter&&"none"!==i.filter)return n;n=n.parentNode}return null}(e)||t}function Rt(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function It(e,t,n){return bt(e,wt(t,n))}function Lt(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Nt(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const jt={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,i=e.name,o=e.options,r=n.elements.arrow,s=n.modifiersData.popperOffsets,a=yt(n.placement),l=Rt(a),c=[We,Ue].indexOf(a)>=0?"height":"width";if(r&&s){var d=function(e,t){return Lt("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Nt(e,Ge))}(o.padding,n),u=Ct(r),h="y"===l?Fe:We,f="y"===l?Ve:Ue,p=n.rects.reference[c]+n.rects.reference[l]-s[l]-n.rects.popper[c],g=s[l]-n.rects.reference[l],m=Ot(r),v=m?"y"===l?m.clientHeight||0:m.clientWidth||0:0,y=p/2-g/2,b=d[h],w=v-u[c]-d[f],x=v/2-u[c]/2+y,k=It(b,x,w),E=l;n.modifiersData[i]=((t={})[E]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,n=e.options.element,i=void 0===n?"[data-popper-arrow]":n;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&_t(t.elements.popper,i)&&(t.elements.arrow=i)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Ht(e){return e.split("-")[1]}var $t={top:"auto",right:"auto",bottom:"auto",left:"auto"};function zt(e){var t,n=e.popper,i=e.popperRect,o=e.placement,r=e.variation,s=e.offsets,a=e.position,l=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,u=e.isFixed,h=s.x,f=void 0===h?0:h,p=s.y,g=void 0===p?0:p,m="function"==typeof d?d({x:f,y:g}):{x:f,y:g};f=m.x,g=m.y;var v=s.hasOwnProperty("x"),y=s.hasOwnProperty("y"),b=We,w=Fe,x=window;if(c){var k=Ot(n),E="clientHeight",S="clientWidth";k===ft(n)&&"static"!==At(k=Dt(n)).position&&"absolute"===a&&(E="scrollHeight",S="scrollWidth"),(o===Fe||(o===We||o===Ue)&&r===Qe)&&(w=Ve,g-=(u&&k===x&&x.visualVie
vendor: 8,532 bytes, line 1
1wport?x.visualViewport.height:k[E])-i.height,g*=l?1:-1),o!==We&&(o!==Fe&&o!==Ve||r!==Qe)||(b=Ue,f-=(u&&k===x&&x.visualViewport?x.visualViewport.width:k[S])-i.width,f*=l?1:-1)}var C,_=Object.assign({position:a},c&&$t),A=!0===d?function(e,t){var n=e.x,i=e.y,o=t.devicePixelRatio||1;return{x:xt(n*o)/o||0,y:xt(i*o)/o||0}}({x:f,y:g},ft(n)):{x:f,y:g};return f=A.x,g=A.y,l?Object.assign({},_,((C={})[w]=y?"0":"",C[b]=v?"0":"",C.transform=(x.devicePixelRatio||1)<=1?"translate("+f+"px, "+g+"px)":"translate3d("+f+"px, "+g+"px, 0)",C)):Object.assign({},_,((t={})[w]=y?g+"px":"",t[b]=v?f+"px":"",t.transform="",t))}const Bt={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,i=n.gpuAcceleration,o=void 0===i||i,r=n.adaptive,s=void 0===r||r,a=n.roundOffsets,l=void 0===a||a,c={placement:yt(t.placement),variation:Ht(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,zt(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,zt(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var Ft={passive:!0};const Vt={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,i=e.options,o=i.scroll,r=void 0===o||o,s=i.resize,a=void 0===s||s,l=ft(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return r&&c.forEach((function(e){e.addEventListener("scroll",n.update,Ft)})),a&&l.addEventListener("resize",n.update,Ft),function(){r&&c.forEach((function(e){e.removeEventListener("scroll",n.update,Ft)})),a&&l.removeEventListener("resize",n.update,Ft)}},data:{}};var Ut={left:"right",right:"left",bottom:"top",top:"bottom"};function Wt(e){return e.replace(/left|right|bottom|top/g,(function(e){return Ut[e]}))}var qt={start:"end",end:"start"};function Gt(e){return e.replace(/start|end/g,(function(e){return qt[e]}))}function Yt(e){var t=ft(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function Qt(e){return St(Dt(e)).left+Yt(e).scrollLeft}function Xt(e){var t=At(e),n=t.overflow,i=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}function Zt(e){return["html","body","#document"].indexOf(ht(e))>=0?e.ownerDocument.body:gt(e)&&Xt(e)?e:Zt(Mt(e))}function Kt(e,t){var n;void 0===t&&(t=[]);var i=Zt(e),o=i===(null==(n=e.ownerDocument)?void 0:n.body),r=ft(i),s=o?[r].concat(r.visualViewport||[],Xt(i)?i:[]):i,a=t.concat(s);return o?a:a.concat(Kt(Mt(s)))}function Jt(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function en(e,t,n){return t===Ze?Jt(function(e,t){var n=ft(e),i=Dt(e),o=n.visualViewport,r=i.clientWidth,s=i.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=Et();(c||!c&&"fixed"===t)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+Qt(e),y:l}}(e,n)):pt(t)?function(e,t){var n=St(e,!1,"fixed"===t);return n.top=n.top+e.clientTop,n.left=n.left+e.clientLeft,n.bottom=n.top+e.clientHeight,n.right=n.left+e.clientWidth,n.width=e.clientWidth,n.height=e.clientHeight,n.x=n.left,n.y=n.top,n}(t,n):Jt(function(e){var t,n=Dt(e),i=Yt(e),o=null==(t=e.ownerDocument)?void 0:t.body,r=bt(n.scrollWidth,n.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=bt(n.scrollHeight,n.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-i.scrollLeft+Qt(e),l=-i.scrollTop;return"rtl"===At(o||n).direction&&(a+=bt(n.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:l}}(Dt(e)))}function tn(e){var t,n=e.reference,i=e.element,o=e.placement,r=o?yt(o):null,s=o?Ht(o):null,a=n.x+n.width/2-i.width/2,l=n.y+n.height/2-i.height/2;switch(r){case Fe:t={x:a,y:n.y-i.height};break;case Ve:t={x:a,y:n.y+n.height};break;case Ue:t={x:n.x+n.width,y:l};break;case We:t={x:n.x-i.width,y:l};break;default:t={x:n.x,y:n.y}}var c=r?Rt(r):null;if(null!=c){var d="y"===c?"height":"width";switch(s){case Ye:t[c]=t[c]-(n[d]/2-i[d]/2);break;case Qe:t[c]=t[c]+(n[d]/2-i[d]/2)}}return t}function nn(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=void 0===i?e.placement:i,r=n.strategy,s=void 0===r?e.strategy:r,a=n.boundary,l=void 0===a?Xe:a,c=n.rootBoundary,d=void 0===c?Ze:c,u=n.elementContext,h=void 0===u?Ke:u,f=n.altBoundary,p=void 0!==f&&f,g=n.padding,m=void 0===g?0:g,v=Lt("number"!=typeof m?m:Nt(m,Ge)),y=h===Ke?Je:Ke,b=e.rects.popper,w=e.elements[p?y:h],x=function(e,t,n,i){var o="clippingParents"===t?function(e){var t=Kt(Mt(e)),n=["absolute","fixed"].indexOf(At(e).position)>=0&>(e)?Ot(e):e;return pt(n)?t.filter((function(e){return pt(e)&&_t(e,n)&&"body"!==ht(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),s=r[0],a=r.reduce((function(t,n){var o=en(e,n,i);return t.top=bt(o.top,t.top),t.right=wt(o.right,t.right),t.bottom=wt(o.bottom,t.bottom),t.left=bt(o.left,t.left),t}),en(e,s,i));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(pt(w)?w:w.contextElement||Dt(e.elements.popper),l,d,s),k=St(e.elements.reference),E=tn({reference:k,element:b,strategy:"absolute",placement:o}),S=Jt(Object.assign({},b,E)),C=h===Ke?S:k,_={top:x.top-C.top+v.top,bottom:C.bottom-x.bottom+v.bottom,left:x.left-C.left+v.left,right:C.right-x.right+v.right},A=e.modifiersData.offset;if(h===Ke&&A){var T=A[o];Object.keys(_).forEach((function(e){var t=[Ue,Ve].indexOf(e)>=0?1:-1,n=[Fe,Ve].indexOf(e)>=0?"y":"x";_[e]+=T[n]*t}))}return _}const on={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name;if(!t.modifiersData[i]._skip){for(var o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0===s||s,l=n.fallbackPlacements,c=n.padding,d=n.boundary,u=n.rootBoundary,h=n.altBoundary,f=n.flipVariations,p=void 0===f||f,g=n.allowedAutoPlacements,m=t.options.placement,v=yt(m),y=l||(v!==m&&p?function(e){if(yt(e)===qe)return[];var t=Wt(e);return[Gt(e),t,Gt(t)]}(m):[Wt(m)]),b=[m].concat(y).reduce((function(e,n){return e.concat(yt(n)===qe?function(e,t){void 0===t&&(t={});var n=t,i=n.placement,o=n.boundary,r=n.rootBoundary,s=n.padding,a=n.flipVariations,l=n.allowedAutoPlacements,c=void 0===l?tt:l,d=Ht(i),u=d?a?et:et.filter((function(e){return Ht(e)===d})):Ge,h=u.filter((function(e){return c.indexOf(e)>=0}));0===h.length&&(h=u);var f=h.reduce((function(t,n){return t[n]=nn(e,{placement:n,boundary:o,rootBoundary:r,padding:s})[yt(n)],t}),{});return Object.keys(f).sort((function(e,t){return f[e]-f[t]}))}(t,{placement:n,boundary:d,rootBoundary:u,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),w=t.rects.reference,x=t.rects.popper,k=new Map,E=!0,S=b[0],C=0;C<b.length;C++){var _=b[C],A=yt(_),T=Ht(_)===Ye,D=[Fe,Ve].indexOf(A)>=0,M=D?"width":"height",P=nn(t,{placement:_,boundary:d,rootBoundary:u,altBoundary:h,padding:c}),O=D?T?Ue:We:T?Ve:Fe;w[M]>x[M]&&(O=Wt(O));var R=Wt(O),I=[];if(r&&I.push(P[A]<=0),a&&I.push(P[O]<=0,P[R]<=0),I.every((function(e){return e}))){S=_,E=!1;break}k.set(_,I)}if(E)for(var L=function(e){var t=b.find((function(t){var n=k.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return S=t,"break"},N=p?3:1;N>0&&"break"!==L(N);N--);t.placement!==S&&(t.modifiersData[i]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function rn(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function sn(e){return[Fe,Ue,Ve,We].some((function(t){return e[t]>=0}))}const an={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,i=t.rects.reference,o=t.rects.popper,r=t.modifiersData.preventOverflow,s=nn(t,{elementContext:"reference"}),a=nn(t,{altBoundary:!0}),l=rn(s,i),c=rn(a,o,r),d=sn(l),u=sn(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},ln={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.offset,r=void 0===o?[0,0]:o,s=tt.reduce((function(e,n){return e[n]=function(e,t,n){var i=yt(e),o=[We,Fe].indexOf(i)>=0?-1:1,r="function"==typeof n?n(Object.assign({},t,{placement:e})):n,s=r[0],a=r[1];
vendor: 7,528 bytes, line 1
1return s=s||0,a=(a||0)*o,[We,Ue].indexOf(i)>=0?{x:a,y:s}:{x:s,y:a}}(n,t.rects,r),e}),{}),a=s[t.placement],l=a.x,c=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[i]=s}},cn={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=tn({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},dn={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,i=e.name,o=n.mainAxis,r=void 0===o||o,s=n.altAxis,a=void 0!==s&&s,l=n.boundary,c=n.rootBoundary,d=n.altBoundary,u=n.padding,h=n.tether,f=void 0===h||h,p=n.tetherOffset,g=void 0===p?0:p,m=nn(t,{boundary:l,rootBoundary:c,padding:u,altBoundary:d}),v=yt(t.placement),y=Ht(t.placement),b=!y,w=Rt(v),x="x"===w?"y":"x",k=t.modifiersData.popperOffsets,E=t.rects.reference,S=t.rects.popper,C="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,_="number"==typeof C?{mainAxis:C,altAxis:C}:Object.assign({mainAxis:0,altAxis:0},C),A=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,T={x:0,y:0};if(k){if(r){var D,M="y"===w?Fe:We,P="y"===w?Ve:Ue,O="y"===w?"height":"width",R=k[w],I=R+m[M],L=R-m[P],N=f?-S[O]/2:0,j=y===Ye?E[O]:S[O],H=y===Ye?-S[O]:-E[O],$=t.elements.arrow,z=f&&$?Ct($):{width:0,height:0},B=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},F=B[M],V=B[P],U=It(0,E[O],z[O]),W=b?E[O]/2-N-U-F-_.mainAxis:j-U-F-_.mainAxis,q=b?-E[O]/2+N+U+V+_.mainAxis:H+U+V+_.mainAxis,G=t.elements.arrow&&Ot(t.elements.arrow),Y=G?"y"===w?G.clientTop||0:G.clientLeft||0:0,Q=null!=(D=null==A?void 0:A[w])?D:0,X=R+q-Q,Z=It(f?wt(I,R+W-Q-Y):I,R,f?bt(L,X):L);k[w]=Z,T[w]=Z-R}if(a){var K,J="x"===w?Fe:We,ee="x"===w?Ve:Ue,te=k[x],ne="y"===x?"height":"width",ie=te+m[J],oe=te-m[ee],re=-1!==[Fe,We].indexOf(v),se=null!=(K=null==A?void 0:A[x])?K:0,ae=re?ie:te-E[ne]-S[ne]-se+_.altAxis,le=re?te+E[ne]+S[ne]-se-_.altAxis:oe,ce=f&&re?function(e,t,n){var i=It(e,t,n);return i>n?n:i}(ae,te,le):It(f?ae:ie,te,f?le:oe);k[x]=ce,T[x]=ce-te}t.modifiersData[i]=T}},requiresIfExists:["offset"]};function un(e,t,n){void 0===n&&(n=!1);var i,o,r=gt(t),s=gt(t)&&function(e){var t=e.getBoundingClientRect(),n=xt(t.width)/e.offsetWidth||1,i=xt(t.height)/e.offsetHeight||1;return 1!==n||1!==i}(t),a=Dt(t),l=St(e,s,n),c={scrollLeft:0,scrollTop:0},d={x:0,y:0};return(r||!r&&!n)&&(("body"!==ht(t)||Xt(a))&&(c=(i=t)!==ft(i)&>(i)?{scrollLeft:(o=i).scrollLeft,scrollTop:o.scrollTop}:Yt(i)),gt(t)?((d=St(t,!0)).x+=t.clientLeft,d.y+=t.clientTop):a&&(d.x=Qt(a))),{x:l.left+c.scrollLeft-d.x,y:l.top+c.scrollTop-d.y,width:l.width,height:l.height}}function hn(e){var t=new Map,n=new Set,i=[];function o(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var i=t.get(e);i&&o(i)}})),i.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||o(e)})),i}var fn={placement:"bottom",modifiers:[],strategy:"absolute"};function pn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function gn(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,i=void 0===n?[]:n,o=t.defaultOptions,r=void 0===o?fn:o;return function(e,t,n){void 0===n&&(n=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},fn,r),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,d={state:a,setOptions:function(n){var o="function"==typeof n?n(a.options):n;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:pt(e)?Kt(e):e.contextElement?Kt(e.contextElement):[],popper:Kt(t)};var s,c,h=function(e){var t=hn(e);return ut.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}((s=[].concat(i,a.options.modifiers),c=s.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{}),Object.keys(c).map((function(e){return c[e]}))));return a.orderedModifiers=h.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,i=void 0===n?{}:n,o=e.effect;if("function"==typeof o){var r=o({state:a,name:t,instance:d,options:i});l.push(r||function(){})}})),d.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(pn(t,n)){a.rects={reference:un(t,Ot(n),"fixed"===a.options.strategy),popper:Ct(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var i=0;i<a.orderedModifiers.length;i++)if(!0!==a.reset){var o=a.orderedModifiers[i],r=o.fn,s=o.options,l=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:l,name:u,instance:d})||a)}else a.reset=!1,i=-1}}},update:(o=function(){return new Promise((function(e){d.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(o())}))}))),s}),destroy:function(){u(),c=!0}};if(!pn(e,t))return d;function u(){l.forEach((function(e){return e()})),l=[]}return d.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),d}}var mn=gn(),vn=gn({defaultModifiers:[Vt,cn,Bt,vt]}),yn=gn({defaultModifiers:[Vt,cn,Bt,vt,ln,on,dn,jt,an]});const bn=Object.freeze(Object.defineProperty({__proto__:null,afterMain:at,afterRead:ot,afterWrite:dt,applyStyles:vt,arrow:jt,auto:qe,basePlacements:Ge,beforeMain:rt,beforeRead:nt,beforeWrite:lt,bottom:Ve,clippingParents:Xe,computeStyles:Bt,createPopper:yn,createPopperBase:mn,createPopperLite:vn,detectOverflow:nn,end:Qe,eventListeners:Vt,flip:on,hide:an,left:We,main:st,modifierPhases:ut,offset:ln,placements:tt,popper:Ke,popperGenerator:gn,popperOffsets:cn,preventOverflow:dn,read:it,reference:Je,right:Ue,start:Ye,top:Fe,variationPlacements:et,viewport:Ze,write:ct},Symbol.toStringTag,{value:"Module"})),wn="dropdown",xn=".bs.dropdown",kn=".data-api",En="ArrowUp",Sn="ArrowDown",Cn=`hide${xn}`,_n=`hidden${xn}`,An=`show${xn}`,Tn=`shown${xn}`,Dn=`click${xn}${kn}`,Mn=`keydown${xn}${kn}`,Pn=`keyup${xn}${kn}`,On="show",Rn='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',In=`${Rn}.${On}`,Ln=".dropdown-menu",Nn=p()?"top-end":"top-start",jn=p()?"top-start":"top-end",Hn=p()?"bottom-end":"bottom-start",$n=p()?"bottom-start":"bottom-end",zn=p()?"left-start":"right-start",Bn=p()?"right-start":"left-start",Fn={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vn={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class Un extends z{constructor(e,t){super(e,t),this._popper=null,this._parent=this._element.parentNode,this._menu=F.next(this._element,Ln)[0]||F.prev(this._element,Ln)[0]||F.findOne(Ln,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Fn}static get DefaultType(){return Vn}static get NAME(){return wn}toggle(){return this._isShown()?this.hide():this.show()}show(){if(l(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!I.trigger(this._element,An,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".
1navbar-nav"))for(const e of[].concat(...document.body.children))I.on(e,"mouseover",d);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(On),this._element.classList.add(On),I.trigger(this._element,Tn,e)}}hide(){if(l(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!I.trigger(this._element,Cn,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.off(e,"mouseover",d);this._popper&&this._popper.destroy(),this._menu.classList.remove(On),this._element.classList.remove(On),this._element.setAttribute("aria-expanded","false"),H.removeDataAttribute(this._menu,"popper"),I.trigger(this._element,_n,e)}}_getConfig(e){if("object"==typeof(e=super._getConfig(e)).reference&&!r(e.reference)&&"function"!=typeof e.reference.getBoundingClientRect)throw new TypeError(`${wn.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(void 0===bn)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;"parent"===this._config.reference?e=this._parent:r(this._config.reference)?e=s(this._config.reference):"object"==typeof this._config.reference&&(e=this._config.reference);const t=this._getPopperConfig();this._popper=yn(e,this._menu,t)}_isShown(){return this._menu.classList.contains(On)}_getPlacement(){const e=this._parent;if(e.classList.contains("dropend"))return zn;if(e.classList.contains("dropstart"))return Bn;if(e.classList.contains("dropup-center"))return"top";if(e.classList.contains("dropdown-center"))return"bottom";const t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?jn:Nn:t?$n:Hn}
vendor: 24,855 bytes, line 1
1_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(H.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...m(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:t}){const n=F.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((e=>a(e)));n.length&&y(n,t,e===Sn,!n.includes(t)).focus()}static jQueryInterface(e){return this.each((function(){const t=Un.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}static clearMenus(e){if(2===e.button||"keyup"===e.type&&"Tab"!==e.key)return;const t=F.find(In);for(const n of t){const t=Un.getInstance(n);if(!t||!1===t._config.autoClose)continue;const i=e.composedPath(),o=i.includes(t._menu);if(i.includes(t._element)||"inside"===t._config.autoClose&&!o||"outside"===t._config.autoClose&&o)continue;if(t._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const r={relatedTarget:t._element};"click"===e.type&&(r.clickEvent=e),t._completeHide(r)}}static dataApiKeydownHandler(e){const t=/input|textarea/i.test(e.target.tagName),n="Escape"===e.key,i=[En,Sn].includes(e.key);if(!i&&!n)return;if(t&&!n)return;e.preventDefault();const o=this.matches(Rn)?this:F.prev(this,Rn)[0]||F.next(this,Rn)[0]||F.findOne(Rn,e.delegateTarget.parentNode),r=Un.getOrCreateInstance(o);if(i)return e.stopPropagation(),r.show(),void r._selectMenuItem(e);r._isShown()&&(e.stopPropagation(),r.hide(),o.focus())}}I.on(document,Mn,Rn,Un.dataApiKeydownHandler),I.on(document,Mn,Ln,Un.dataApiKeydownHandler),I.on(document,Dn,Un.clearMenus),I.on(document,Pn,Un.clearMenus),I.on(document,Dn,Rn,(function(e){e.preventDefault(),Un.getOrCreateInstance(this).toggle()})),g(Un);const Wn="backdrop",qn="show",Gn=`mousedown.bs.${Wn}`,Yn={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Qn={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Xn extends ${constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Yn}static get DefaultType(){return Qn}static get NAME(){return Wn}show(e){if(!this._config.isVisible)return void m(e);this._append();const t=this._getElement();this._config.isAnimated&&u(t),t.classList.add(qn),this._emulateAnimation((()=>{m(e)}))}hide(e){this._config.isVisible?(this._getElement().classList.remove(qn),this._emulateAnimation((()=>{this.dispose(),m(e)}))):m(e)}dispose(){this._isAppended&&(I.off(this._element,Gn),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=s(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),I.on(e,Gn,(()=>{m(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(e){v(e,this._getElement(),this._config.isAnimated)}}const Zn=".bs.focustrap",Kn=`focusin${Zn}`,Jn=`keydown.tab${Zn}`,ei="backward",ti={autofocus:!0,trapElement:null},ni={autofocus:"boolean",trapElement:"element"};class ii extends ${constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ti}static get DefaultType(){return ni}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),I.off(document,Zn),I.on(document,Kn,(e=>this._handleFocusin(e))),I.on(document,Jn,(e=>this._handleKeydown(e))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,I.off(document,Zn))}_handleFocusin(e){const{trapElement:t}=this._config;if(e.target===document||e.target===t||t.contains(e.target))return;const n=F.focusableChildren(t);0===n.length?t.focus():this._lastTabNavDirection===ei?n[n.length-1].focus():n[0].focus()}_handleKeydown(e){"Tab"===e.key&&(this._lastTabNavDirection=e.shiftKey?ei:"forward")}}const oi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",ri=".sticky-top",si="padding-right",ai="margin-right";class li{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,si,(t=>t+e)),this._setElementAttributes(oi,si,(t=>t+e)),this._setElementAttributes(ri,ai,(t=>t-e))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,si),this._resetElementAttributes(oi,si),this._resetElementAttributes(ri,ai)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,t,n){const i=this.getWidth();this._applyManipulationCallback(e,(e=>{if(e!==this._element&&window.innerWidth>e.clientWidth+i)return;this._saveInitialAttribute(e,t);const o=window.getComputedStyle(e).getPropertyValue(t);e.style.setProperty(t,`${n(Number.parseFloat(o))}px`)}))}_saveInitialAttribute(e,t){const n=e.style.getPropertyValue(t);n&&H.setDataAttribute(e,t,n)}_resetElementAttributes(e,t){this._applyManipulationCallback(e,(e=>{const n=H.getDataAttribute(e,t);null!==n?(H.removeDataAttribute(e,t),e.style.setProperty(t,n)):e.style.removeProperty(t)}))}_applyManipulationCallback(e,t){if(r(e))t(e);else for(const n of F.find(e,this._element))t(n)}}const ci=".bs.modal",di=`hide${ci}`,ui=`hidePrevented${ci}`,hi=`hidden${ci}`,fi=`show${ci}`,pi=`shown${ci}`,gi=`resize${ci}`,mi=`click.dismiss${ci}`,vi=`mousedown.dismiss${ci}`,yi=`keydown.dismiss${ci}`,bi=`click${ci}.data-api`,wi="modal-open",xi="show",ki="modal-static",Ei={backdrop:!0,focus:!0,keyboard:!0},Si={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Ci extends z{constructor(e,t){super(e,t),this._dialog=F.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new li,this._addEventListeners()}static get Default(){return Ei}static get DefaultType(){return Si}static get NAME(){return"modal"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||I.trigger(this._element,fi,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(wi),this._adjustDialog(),this._backdrop.show((()=>this._showElement(e))))}hide(){this._isShown&&!this._isTransitioning&&(I.trigger(this._element,di).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(xi),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated())))}dispose(){I.off(window,ci),I.off(this._dialog,ci),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Xn({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new ii({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const t=F.findOne(".modal-body",this._dialog);t&&(t.scrollTop=0),u(this._element),this._element.classList.add(xi),this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,I.trigger(this._element,pi,{relatedTarget:e})}),this._dialog,this._isAnimated())}_addEventListeners(){I.on(this._element,yi,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),I.on(window,gi,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),I.on(this._element,vi,(e=>{I.one(this._element,mi,(t=>{this._element===e.target&&this._element===t.target&&("static"!==this._config.backdrop?this._config.backdrop&&this.hide():this._triggerBackdropTransition())}))}))}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((()=>{document.body.classList.remove(wi),this._resetAdjustments(),this._scrollBar.reset(),I.trigger(this._element,hi)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(I.trigger(this._element,ui).defaultPrevented)return;const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._element.style.overflowY;"hidden"===t||this._element.classList.contains(ki)||(e||(this._element.style.overflowY="hidden"),this._element.classList.add(ki),this._queueCallback((()=>{this._element.classList.remove(ki),this._queueCallback((()=>{this._element.style.overflowY=t}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;if(n&&!e){const e=p()?"paddingLeft":"paddingRight";this._element.style[e]=`${t}px`}if(!n&&e){const e=p()?"paddingRight":"paddingLeft";this._element.style[e]=`${t}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,t){return this.each((function(){const n=Ci.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===n[e])throw new TypeError(`No method named "${e}"`);n[e](t)}}))}}I.on(document,bi,'[data-bs-toggle="modal"]',(function(e){const t=F.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),I.one(t,fi,(e=>{e.defaultPrevented||I.one(t,hi,(()=>{a(this)&&this.focus()}))}));const n=F.findOne(".modal.show");n&&Ci.getInstance(n).hide(),Ci.getOrCreateInstance(t).toggle(this)})),V(Ci),g(Ci);const _i=".bs.offcanvas",Ai=".data-api",Ti=`load${_i}${Ai}`,Di="show",Mi="showing",Pi="hiding",Oi=".offcanvas.show",Ri=`show${_i}`,Ii=`shown${_i}`,Li=`hide${_i}`,Ni=`hidePrevented${_i}`,ji=`hidden${_i}`,Hi=`resize${_i}`,$i=`click${_i}${Ai}`,zi=`keydown.dismiss${_i}`,Bi={backdrop:!0,keyboard:!0,scroll:!1},Fi={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class Vi extends z{constructor(e,t){super(e,t),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return Bi}static get DefaultType(){return Fi}static get NAME(){return"offcanvas"}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||I.trigger(this._element,Ri,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._backdrop.show(),this._config.scroll||(new li).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Mi),this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(Di),this._element.classList.remove(Mi),I.trigger(this._element,Ii,{relatedTarget:e})}),this._element,!0))}hide(){this._isShown&&(I.trigger(this._element,Li).defaultPrevented||(this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Pi),this._backdrop.hide(),this._queueCallback((()=>{this._element.classList.remove(Di,Pi),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new li).reset(),I.trigger(this._element,ji)}),this._element,!0)))}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=Boolean(this._config.backdrop);return new Xn({className:"offcanvas-backdrop",isVisible:e,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:e?()=>{"static"!==this._config.backdrop?this.hide():I.trigger(this._element,Ni)}:null})}_initializeFocusTrap(){return new ii({trapElement:this._element})}_addEventListeners(){I.on(this._element,zi,(e=>{"Escape"===e.key&&(this._config.keyboard?this.hide():I.trigger(this._element,Ni))}))}static jQueryInterface(e){return this.each((function(){const t=Vi.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}I.on(document,$i,'[data-bs-toggle="offcanvas"]',(function(e){const t=F.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this))return;I.one(t,ji,(()=>{a(this)&&this.focus()}));const n=F.findOne(Oi);n&&n!==t&&Vi.getInstance(n).hide(),Vi.getOrCreateInstance(t).toggle(this)})),I.on(window,Ti,(()=>{for(const e of F.find(Oi))Vi.getOrCreateInstance(e).show()})),I.on(window,Hi,(()=>{for(const e of F.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(e).position&&Vi.getOrCreateInstance(e).hide()})),V(Vi),g(Vi);const Ui={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},Wi=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),qi=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,Gi=(e,t)=>{const n=e.nodeName.toLowerCase();return t.includes(n)?!Wi.has(n)||Boolean(qi.test(e.nodeValue)):t.filter((e=>e instanceof RegExp)).some((e=>e.test(n)))},Yi={allowList:Ui,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},Qi={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Xi={entry:"(string|element|function|null)",selector:"(string|element)"};class Zi extends ${constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return Yi}static get DefaultType(){return Qi}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((e=>this._resolvePossibleFunction(e))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[t,n]of Object.entries(this._config.content))this._setContent(e,n,t);const t=e.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&t.classList.add(...n.split(" ")),t}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[t,n]of Object.entries(e))super._typeCheckConfig({selector:t,entry:n},Xi)}_setContent(e,t,n){const i=F.findOne(n,e);i&&((t=this._resolvePossibleFunction(t))?r(t)?this._putElementInTemplate(s(t),i):this._config.html?i.innerHTML=this._maybeSanitize(t):i.textContent=t:i.remove())}_maybeSanitize(e){return this._config.sanitize?function(e,t,n){if(!e.length)return e;if(n&&"function"==typeof n)return n(e);const i=(new window.DOMParser).parseFromString(e,"text/html"),o=[].concat(...i.body.querySelectorAll("*"));for(const e of o){const n=e.nodeName.toLowerCase();if(!Object.keys(t).includes(n)){e.remove();continue}const i=[].concat(...e.attributes),o=[].concat(t["*"]||[],t[n]||[]);for(const t of i)Gi(t,o)||e.removeAttribute(t.nodeName)}return i.body.innerHTML}(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return m(e,[this])}_putElementInTemplate(e,t){if(this._config.html)return t.innerHTML="",void t.append(e);t.textContent=e.textContent}}const Ki=new Set(["sanitize","allowList","sanitizeFn"]),Ji="fade",eo="show",to=".modal",no="hide.bs.modal",io="hover",oo="focus",ro={AUTO:"auto",TOP:"top",RIGHT:p()?"left":"right",BOTTOM:"bottom",LEFT:p()?"right":"left"},so={allowList:Ui,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',title:"",trigger:"hover focus"},ao={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class lo extends z{constructor(e,t){if(void 0===bn)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,t),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return so}static get DefaultType(){return ao}static get NAME(){return"tooltip"}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){this._isEnabled&&(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()?this._leave():this._enter())}dispose(){clearTimeout(this._timeout),I.off(this._element.closest(to),no,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(!this._isWithContent()||!this._isEnabled)return;const e=I.trigger(this._element,this.constructor.eventName("show")),t=(c(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!t)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:i}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(i.append(n),I.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(eo),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.on(e,"mouseover",d);this._queueCallback((()=>{I.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(this._isShown()&&!I.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented){if(this._getTipElement().classList.remove(eo),"ontouchstart"in document.documentElement)for(const e of[].concat(...document.body.children))I.off(e,"mouseover",d);this._activeTrigger.click=!1,this._activeTrigger[oo]=!1,this._activeTrigger[io]=!1,this._isHovered=null,this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),I.trigger(this._element,this.constructor.eventName("hidden")))}),this.tip,this._isAnimated())}}update(){this._popper&&this._popper.update()}_isWithContent(){return Boolean(this._getTitle())}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const t=this._getTemplateFactory(e).toHtml();if(!t)return null;t.classList.remove(Ji,eo),t.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(e=>{do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e})(this.constructor.NAME).toString();return t.setAttribute("id",n),this._isAnimated()&&t.classList.add(Ji),t}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new Zi({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{".tooltip-inner":this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Ji)}_isShown(){return this.tip&&this.tip.classList.contains(eo)}_createPopper(e){const t=m(this._config.placement,[this,e,this._element]),n=ro[t.toUpperCase()];return yn(this._element,e,this._getPopperConfig(n))}_getOffset(){const{offset:e}=this._config;return"string"==typeof e?e.split(",").map((e=>Number.parseInt(e,10))):"function"==typeof e?t=>e(t,this._element):e}_resolvePossibleFunction(e){return m(e,[this._element])}_getPopperConfig(e){const t={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:e=>{this._getTipElement().setAttribute("data-popper-placement",e.state.placement)}}]};return{...t,...m(this._config.popperConfig,[t])}}_setListeners(){const e=this._config.trigger.split(" ");for(const t of e)if("click"===t)I.on(this._element,this.constructor.eventName("click"),this._config.selector,(e=>{this._initializeOnDelegatedTarget(e).toggle()}));else if("manual"!==t){const e=t===io?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=t===io?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");I.on(this._element,e,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusin"===e.type?oo:io]=!0,t._enter()})),I.on(this._element,n,this._config.selector,(e=>{const t=this._initializeOnDelegatedTarget(e);t._activeTrigger["focusout"===e.type?oo:io]=t._element.contains(e.relatedTarget),t._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},I.on(this._element.closest(to),no,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){this._isShown()||this._isHovered?this._isHovered=!0:(this._isHovered=!0,this._setTimeout((()=>{this._isHovered&&this.show()}),this._config.delay.show))}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout((()=>{this._isHovered||this.hide()}),this._config.delay.hide))}_setTimeout(e,t){clearTimeout(this._timeout),this._timeout=setTimeout(e,t)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const t=H.getDataAttributes(this._element);for(const e of Object.keys(t))Ki.has(e)&&delete t[e];return e={...t,..."object"==typeof e&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=!1===e.container?document.body:s(e.container),"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"==typeof e.title&&(e.title=e.title.toString()),"number"==typeof e.content&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[t,n]of Object.entries(this._config))this.constructor.Default[t]!==n&&(e[t]=n);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each((function(){const t=lo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method n
1amed "${e}"`);t[e]()}}))}}g(lo);const co={...lo.Default,content:"",offset:[0,8],placement:"right",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>',trigger:"click"},uo={...lo.DefaultType,content:"(null|string|element|function)"};class ho extends lo{static get Default(){return co}static get DefaultType(){return uo}static get NAME(){return"popover"}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{".popover-header":this._getTitle(),".popover-body":this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each((function(){const t=ho.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e]()}}))}}g(ho);const fo=".bs.scrollspy",po=`activate${fo}`,go=`click${fo}`,mo=`load${fo}.data-api`,vo="active",yo="[href]",bo=".nav-link",wo=`${bo}, .nav-item > ${bo}, .list-group-item`,xo={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ko={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Eo extends z{constructor(e,t){super(e,t),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement="visible"===getComputedStyle(this._element).overflowY?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return xo}static get DefaultType(){return ko}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=s(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,"string"==typeof e.threshold&&(e.threshold=e.threshold.split(",").map((e=>Number.parseFloat(e)))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(I.off(this._config.target,go),I.on(this._config.target,go,yo,(e=>{const t=this._observableSections.get(e.target.hash);if(t){e.preventDefault();const n=this._rootElement||window,i=t.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:i,behavior:"smooth"});n.scrollTop=i}})))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((e=>this._observerCallback(e)),e)}_observerCallback(e){const t=e=>this._targetLinks.get(`#${e.target.id}`),n=e=>{this._previousScrollData.visibleEntryTop=e.target.offsetTop,this._process(t(e))},i=(this._rootElement||document.documentElement).scrollTop,o=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const r of e){if(!r.isIntersecting){this._activeTarget=null,this._clearActiveClass(t(r));continue}const e=r.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(o&&e){if(n(r),!i)return}else o||e||n(r)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=F.find(yo,this._config.target);for(const t of e){if(!t.hash||l(t))continue;const e=F.findOne(decodeURI(t.hash),this._element);a(e)&&(this._targetLinks.set(decodeURI(t.hash),t),this._observableSections.set(t.hash,e))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(vo),this._activateParents(e),I.trigger(this._element,po,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains("dropdown-item"))F.findOne(".dropdown-toggle",e.closest(".dropdown")).classList.add(vo);else for(const t of F.parents(e,".nav, .list-group"))for(const e of F.prev(t,wo))e.classList.add(vo)}_clearActiveClass(e){e.classList.remove(vo);const t=F.find(`${yo}.${vo}`,e);for(const e of t)e.classList.remove(vo)}static jQueryInterface(e){return this.each((function(){const t=Eo.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method n
1amed "${e}"`);t[e]()}}))}}I.on(window,mo,(()=>{for(const e of F.find('[data-bs-spy="scroll"]'))Eo.getOrCreateInstance(e)})),g(Eo);const So=".bs.tab",Co=`hide${So}`,_o=`hidden${So}`,Ao=`show${So}`,To=`shown${So}`,Do=`click${So}`,Mo=`keydown${So}`,Po=`load${So}`,Oo="ArrowLeft",Ro="ArrowRight",Io="ArrowUp",Lo="ArrowDown",No="active",jo="fade",Ho="show",$o=":not(.dropdown-toggle)",zo='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',Bo=`.nav-link${$o}, .list-group-item${$o}, [role="tab"]${$o}, ${zo}`,Fo=`.${No}[data-bs-toggle="tab"], .${No}[data-bs-toggle="pill"], .${No}[data-bs-toggle="list"]`;class Vo extends z{constructor(e){super(e),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),I.on(this._element,Mo,(e=>this._keydown(e))))}static get NAME(){return"tab"}show(){const e=this._element;if(this._elemIsActive(e))return;const t=this._getActiveElem(),n=t?I.trigger(t,Co,{relatedTarget:e}):null;I.trigger(e,Ao,{relatedTarget:t}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(t,e),this._activate(e,t))}_activate(e,t){e&&(e.classList.add(No),this._activate(F.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),I.trigger(e,To,{relatedTarget:t})):e.classList.add(Ho)}),e,e.classList.contains(jo)))}_deactivate(e,t){e&&(e.classList.remove(No),e.blur(),this._deactivate(F.getElementFromSelector(e)),this._queueCallback((()=>{"tab"===e.getAttribute("role")?(e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),I.trigger(e,_o,{relatedTarget:t})):e.classList.remove(Ho)}),e,e.classList.contains(jo)))}_keydown(e){if(![Oo,Ro,Io,Lo].includes(e.key))return;e.stopPropagation(),e.preventDefault();const t=[Ro,Lo].includes(e.key),n=y(this._getChildren().filter((e=>!l(e))),e.target,t,!0);n&&(n.focus({preventScroll:!0}),Vo.getOrCreateInstance(n).show())}_getChildren(){return F.find(Bo,this._parent)}_getActiveElem(){return this._getChildren().find((e=>this._elemIsActive(e)))||null}_setInitialAttributes(e,t){this._setAttributeIfNotExists(e,"role","tablist");for(const e of t)this._setInitialAttributesOnChild(e)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const t=this._elemIsActive(e),n=this._getOuterElement(e);e.setAttribute("aria-selected",t),n!==e&&this._setAttributeIfNotExists(n,"role","presentation"),t||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const t=F.getElementFromSelector(e);t&&(this._setAttributeIfNotExists(t,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(t,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,t){const n=this._getOuterElement(e);if(!n.classList.contains("dropdown"))return;const i=(e,i)=>{const o=F.findOne(e,n);o&&o.classList.toggle(i,t)};i(".dropdown-toggle",No),i(".dropdown-menu",Ho),n.setAttribute("aria-expanded",t)}_setAttributeIfNotExists(e,t,n){e.hasAttribute(t)||e.setAttribute(t,n)}_elemIsActive(e){return e.classList.contains(No)}_getInnerElement(e){return e.matches(Bo)?e:F.findOne(Bo,e)}
1_getOuterElement(e){return e.closest(".nav-item, .list-group-item")||e}static jQueryInterface(e){return this.each((function(){const t=Vo.getOrCreateInstance(this);if("string"==typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError(`No method named "${e}"`);t[e]()}}))}}I.on(document,Do,zo,(function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),l(this)||Vo.getOrCreateInstance(this).show()})),I.on(window,Po,(()=>{for(const e of F.find(Fo))Vo.getOrCreateInstance(e)})),g(Vo);const Uo=".bs.toast",Wo=`mouseover${Uo}`,qo=`mouseout${Uo}`,Go=`focusin${Uo}`,Yo=`focusout${Uo}`,Qo=`hide${Uo}`,Xo=`hidden${Uo}`,Zo=`show${Uo}`,Ko=`shown${Uo}`,Jo="hide",er="show",tr="showing",nr={animation:"boolean",autohide:"boolean",delay:"number"},ir={animation:!0,autohide:!0,delay:5e3};class or extends z{constructor(e,t){super(e,t),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return ir}static get DefaultType(){return nr}static get NAME(){return"toast"}show(){I.trigger(this._element,Zo).defaultPrevented||(this._clearTimeout(),this._config.animation&&this._element.classList.add("fade"),this._element.classList.remove(Jo),u(this._element),this._element.classList.add(er,tr),this._queueCallback((()=>{this._element.classList.remove(tr),I.trigger(this._element,Ko),this._maybeScheduleHide()}),this._element,this._config.animation))}hide(){this.isShown()&&(I.trigger(this._element,Qo).defaultPrevented||(this._element.classList.add(tr),this._queueCallback((()=>{this._element.classList.add(Jo),this._element.classList.remove(tr,er),I.trigger(this._element,Xo)}),this._element,this._config.animation)))}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(er),super.dispose()}isShown(){return this._element.classList.contains(er)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)return void this._clearTimeout();const n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){I.on(this._element,Wo,(e=>this._onInteraction(e,!0))),I.on(this._element,qo,(e=>this._onInteraction(e,!1))),I.on(this._element,Go,(e=>this._onInteraction(e,!0))),I.on(this._element,Yo,(e=>this._onInteraction(e,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each((function(){const t=or.getOrCreateInstance(this,e);if("string"==typeof e){if(void 0===t[e])throw new TypeError(`No method named "${e}"`);t[e](this)}}))}}return V(or),g(or),{Alert:G,Button:Q,Carousel:Ae,Collapse:Be,Dropdown:Un,Modal:Ci,Offcanvas:Vi,Popover:ho,ScrollSpy:Eo,Tab:Vo,Toast:or,Tooltip:lo}})),function(e,t,n,i){"use strict";if(e.console=e.console||{info:function(e){}},n)if(n.fn.fancybox)console.info("fancyBox already initialized");else{var o,r,s,a,l={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">
1<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"><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:n.noop,beforeLoad:n.noop,afterLoad:n.noop,beforeShow:n.noop,afterShow:n.noop,beforeClose:n.noop,afterClose:n.noop,onActivate:n.noop,onDeactivate:n.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"}}},c=n(e),d=n(t),u=0,h=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},f=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},p=function(){var e,n=t.createElement("fakeelement"),o={transition:"transitionend",OTransition:"oTransitionEnd",MozTransition:"transitionend",WebkitTransition:"webkitTransitionEnd"};for(e in o)if(n.style[e]!==i)return o[e];return"transitionend"}(),g=function(e){return e&&e.length&&e[0].offsetHeight},m=function(e,t){var i=n.extend(!0,{},e,t);return n.each(t,(function(e,t){n.isArray(t)&&(i[e]=t)})),i},v=function(e,t,i){var o=this;o.opts=m({index:i},n.fancybox.defaults),n.isPlainObject(t)&&(o.opts=m(o.opts,t)),n.fancybox.isMobile&&(o.opts=m(o.opts,o.opts.mobile)),o.id=o.opts.id||++u,o.currIndex=parseInt(o.opts.index,10)||0,o.prevIndex=null,o.prevPos=null,o.currPos=0,o.firstRun=!0,o.group=[],o.slides={},o.addContent(e),o.group.length&&o.init()};n.extend(v.prototype,{init:function(){var i,o,r=this,s=r.group[r.currIndex].opts;s.closeExisting&&n.fancybox.close(!0),n("body").addClass("fancybox-active"),!n.fancybox.getInstance()&&!1!==s.hideScrollbar&&!n.fancybox.isMobile&&t.body.scrollHeight>
1e.innerHeight&&(n("head").append('<style id="fancybox-style-noscroll" type="text/css">.compensate-for-scrollbar{margin-right:'+(e.innerWidth-t.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("compensate-for-scrollbar")),o="",n.each(s.buttons,(function(e,t){o+=s.btnTpl[t]||""})),i=n(r.translate(r,s.baseTpl.replace("{{buttons}}",o).replace("{{arrows}}",s.btnTpl.arrowLeft+s.btnTpl.arrowRight))).attr("id","fancybox-container-"+r.id).addClass(s.baseClass).data("FancyBox",r).appendTo(s.parentEl),r.$refs={container:i},["bg","inner","infobar","toolbar","stage","caption","navigation"].forEach((function(e){r.$refs[e]=i.find(".fancybox-"+e)})),r.trigger("onInit"),r.activate(),r.jumpTo(r.currIndex)},translate:function(e,t){var n=e.opts.i18n[e.opts.lang]||e.opts.i18n.en;return t.replace(/\{\{(\w+)\}\}/g,(function(e,t){return n[t]===i?e:n[t]}))},addContent:function(e){var t,o=this,r=n.makeArray(e);n.each(r,(function(e,t){var r,s,a,l,c,d={},u={};n.isPlainObject(t)?(d=t,u=t.opts||t):"object"===n.type(t)&&n(t).length?(u=(r=n(t)).data()||{},(u=n.extend(!0,{},u,u.options)).$orig=r,d.src=o.opts.src||u.src||r.attr("href"),d.type||d.src||(d.type="inline",d.src=t)):d={type:"html",src:t+""},d.opts=n.extend(!0,{},o.opts,u),n.isArray(u.buttons)&&(d.opts.buttons=u.buttons),n.fancybox.isMobile&&d.opts.mobile&&(d.opts=m(d.opts,d.opts.mobile)),s=d.type||d.opts.type,l=d.src||"",!s&&l&&((a=l.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(s="video",d.opts.video.format||(d.opts.video.format="video/"+("ogv"===a[1]?"ogg":a[1]))):l.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?s="image":l.match(/\.(pdf)((\?|#).*)?$/i)?(s="iframe",d=n.extend(!0,d,{contentType:"pdf",opts:{iframe:{preload:!1}}})):"#"===l.charAt(0)&&(s="inline")),s?d.type=s:o.trigger("objectNeedsType",d),d.contentType||(d.contentType=n.inArray(d.type,["html","inline","ajax"])>-1?"html":d.type),d.index=o.group.length,"auto"==d.opts.smallBtn&&(d.opts.smallBtn=n.inArray(d.type,["html","inline","ajax"])>-1),"auto"===d.opts.toolbar&&(d.opts.toolbar=!d.opts.smallBtn),d.$thumb=d.opts.$thumb||null,d.opts.$trigger&&d.index===o.opts.index&&(d.$thumb=d.opts.$trigger.find("img:first"),d.$thumb.length&&(d.opts.$orig=d.opts.$trigger)),d.$thumb&&d.$thumb.length||!d.opts.$orig||(d.$thumb=d.opts.$orig.find("img:first")),d.$thumb&&!d.$thumb.length&&(d.$thumb=null),d.thumb=d.opts.thumb||(d.$thumb?d.$thumb[0].src:null),"function"===n.type(d.opts.caption)&&(d.opts.caption=d.opts.caption.apply(t,[o,d])),"function"===n.type(o.opts.caption)&&(d.opts.caption=o.opts.caption.apply(t,[o,d])),d.opts.caption instanceof n||(d.opts.caption=d.opts.caption===i?"":d.opts.caption+""),"ajax"===d.type&&(c=l.split(/\s+/,2)).length>1&&(d.src=c.shift(),d.opts.filter=c.shift()),d.opts.modal&&(d.opts=n.extend(!0,d.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})),o.group.push(d)})),Object.keys(o.slides).length&&(o.updateControls(),(t=o.Thumbs)&&t.isActive&&(t.create(),t.focus()))},addEvents:function(){var t=this;t.removeEvents(),t.$refs.container.on("click.fb-close","[data-fancybox-close]",(function(e){e.stopPropagation(),e.preventDefault(),t.close(e)})).on("touchstart.fb-prev click.fb-prev","[data-fancybox-prev]",(function(e){e.stopPropagation(),e.preventDefault(),t.previous()})).on("touchstart.fb-next click.fb-next","[data-fancybox-next]",(function(e){e.stopPropagation(),e.preventDefault(),t.next()})).on("click.fb","[data-fancybox-zoom]",(function(e){t[t.isScaledDown()?"scaleToActual":"scaleToFit"]()})),c.on("orientationchange.fb resize.fb",(function(e){e&&e.originalEvent&&"resize"===e.originalEvent.type?(t.requestId&&f(t.requestId),t.requestId=h((function(){t.update(e)}))):(t.current&&"iframe"===t.current.type&&t.$refs.stage.hide(),setTimeout((function(){t.$refs.stage.show(),t.update(e)}),n.fancybox.isMobile?600:250))})),d.on("keydown.fb",(function(e){var i=(n.fancybox?n.fancybox.getInstance():null).current,o=e.keyCode||e.which;if(9!=o){if(!(!i.opts.keyboard||e.ctrlKey||e.altKey||e.shiftKey||n(e.target).is("input,textarea,video,audio,select")))return 8===o||27===o?(e.preventDefault(),void t.close(e)):37===o||38===o?(e.preventDefault(),void t.previous()):39===o||40===o?(e.preventDefault(),void t.next()):void t.trigger("afterKeydown",e,o)}
1else i.opts.trapFocus&&t.focus(e)})),t.group[t.currIndex].opts.idleTime&&(t.idleSecondsCounter=0,d.on("mousemove.fb-idle mouseleave.fb-idle mousedown.fb-idle touchstart.fb-idle touchmove.fb-idle scroll.fb-idle keydown.fb-idle",(function(e){t.idleSecondsCounter=0,t.isIdle&&t.showControls(),t.isIdle=!1})),t.idleInterval=e.setInterval((function(){t.idleSecondsCounter++,t.idleSecondsCounter>=t.group[t.currIndex].opts.idleTime&&!t.isDragging&&(t.isIdle=!0,t.idleSecondsCounter=0,t.hideControls())}),1e3))},removeEvents:function(){var t=this;c.off("orientationchange.fb resize.fb"),d.off("keydown.fb .fb-idle"),this.$refs.container.off(".fb-close .fb-prev .fb-next"),t.idleInterval&&(e.clearInterval(t.idleInterval),t.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,t){var o,r,s,a,l,c,d,u,h,f=this,p=f.group.length;if(!(f.isDragging||f.isClosing||f.isAnimating&&f.firstRun)){if(e=parseInt(e,10),!(s=f.current?f.current.opts.loop:f.opts.loop)&&(e<0||e>=p))return!1;if(o=f.firstRun=!Object.keys(f.slides).length,l=f.current,f.prevIndex=f.currIndex,f.prevPos=f.currPos,a=f.createSlide(e),p>1&&((s||a.index<p-1)&&f.createSlide(e+1),(s||a.index>0)&&f.createSlide(e-1)),f.current=a,f.currIndex=a.index,f.currPos=a.pos,f.trigger("beforeShow",o),f.updateControls(),a.forcedDuration=i,n.isNumeric(t)?a.forcedDuration=t:t=a.opts[o?"animationDuration":"transitionDuration"],t=parseInt(t,10),r=f.isMoved(a),a.$slide.addClass("fancybox-slide--current"),o)return a.opts.animationEffect&&t&&f.$refs.container.css("transition-duration",t+"ms"),f.$refs.container.addClass("fancybox-is-open").trigger("focus"),f.loadSlide(a),void f.preload("image");c=n.fancybox.getTranslate(l.$slide),d=n.fancybox.getTranslate(f.$refs.stage),n.each(f.slides,(function(e,t){n.fancybox.stop(t.$slide,!0)})),l.pos!==a.pos&&(l.isComplete=!1),l.$slide.removeClass("fancybox-slide--complete fancybox-slide--current"),r?(h=c.left-(l.pos*c.width+l.pos*l.opts.gutter),n.each(f.slides,(function(e,i){i.$slide.removeClass("fancybox-animated").removeClass((function(e,t){return(t.match(/(^|\s)fancybox-fx-\S+/g)||[]).join(" ")}));var o=i.pos*c.width+i.pos*i.opts.gutter;n.fancybox.setTranslate(i.$slide,{top:0,left:o-d.left+h}),i.pos!==a.pos&&i.$slide.addClass("fancybox-slide--"+(i.pos>a.pos?"next":"previous")),g(i.$slide),n.fancybox.animate(i.$slide,{top:0,left:(i.pos-a.pos)*c.width+(i.pos-a.pos)*i.opts.gutter},t,(function(){i.$slide.css({transform:"",opacity:""}).removeClass("fancybox-slide--next fancybox-slide--previous"),i.pos===f.currPos&&f.complete()}))}))):t&&a.opts.transitionEffect&&(u="fancybox-animated fancybox-fx-"+a.opts.transitionEffect,l.$slide.addClass("fancybox-slide--"+(l.pos>a.pos?"next":"previous")),n.fancybox.animate(l.$slide,u,t,(function(){l.$slide.removeClass(u).removeClass("fancybox-slide--next fancybox-slide--previous")}),!1)),a.isLoaded?f.revealContent(a):f.loadSlide(a),f.preload("image")}},createSlide:function(e){var t,i,o=this;return i=(i=e%o.group.length)<0?o.group.length+i:i,!o.slides[e]&&o.group[i]&&(t=n('<div class="fancybox-slide"></div>').appendTo(o.$refs.stage),o.slides[e]=n.extend(!0,{},o.group[i],{pos:e,$slide:t,isLoaded:!1}),o.updateSlide(o.slides[e])),o.slides[e]},scaleToActual:function(e,t,o){var r,s,a,l,c,d=this,u=d.current,h=u.$content,f=n.fancybox.getTranslate(u.$slide).width,p=n.fancybox.getTranslate(u.$slide).height,g=u.width,m=u.height;d.isAnimating||d.isMoved()||!h||"image"!=u.type||!u.isLoaded||u.hasError||(d.isAnimating=!0,n.fancybox.stop(h),e=e===i?.5*f:e,t=t===i?.5*p:t,(r=n.fancybox.getTranslate(h)).top-=n.fancybox.getTranslate(u.$slide).top,r.left-=n.fancybox.getTranslate(u.$slide).left,l=g/r.width,c=m/r.height,s=.5*f-.5*g,a=.5*p-.5*m,g>f&&((s=r.left*l-(e*l-e))>0&&(s=0),s<f-g&&(s=f-g)),m>p&&((a=r.top*c-(t*c-t))>0&&(a=0),a<p-m&&(a=p-m)),d.updateCursor(g,m),n.fancybox.animate(h,{top:a,left:s,scaleX:l,scaleY:c},o||366,(function(){d.isAnimating=!1})),d.SlideShow&&d.SlideShow.isActive&&d.SlideShow.stop())},scaleToFit:function(e){var t,i=this,o=i.current,r=o.$content;i.isAnimating||i.isMoved()||!r||"image"!=o.type||!o.isLoaded||o.hasError||(i.isAnimating=!0,n.fancybox.stop(r),t=i.getFitPos(o),i.updateCursor(t.width,t.height),n.fancybox.animate(r,{top:t.top,left
1:t.left,scaleX:t.width/r.width(),scaleY:t.height/r.height()},e||366,(function(){i.isAnimating=!1})))},getFitPos:function(e){var t,i,o,r,s=e.$content,a=e.$slide,l=e.width||e.opts.width,c=e.height||e.opts.height,d={};return!!(e.isLoaded&&s&&s.length)&&(t=n.fancybox.getTranslate(this.$refs.stage).width,i=n.fancybox.getTranslate(this.$refs.stage).height,t-=parseFloat(a.css("paddingLeft"))+parseFloat(a.css("paddingRight"))+parseFloat(s.css("marginLeft"))+parseFloat(s.css("marginRight")),i-=parseFloat(a.css("paddingTop"))+parseFloat(a.css("paddingBottom"))+parseFloat(s.css("marginTop"))+parseFloat(s.css("marginBottom")),l&&c||(l=t,c=i),(l*=o=Math.min(1,t/l,i/c))>t-.5&&(l=t),(c*=o)>i-.5&&(c=i),"image"===e.type?(d.top=Math.floor(.5*(i-c))+parseFloat(a.css("paddingTop")),d.left=Math.floor(.5*(t-l))+parseFloat(a.css("paddingLeft"))):"video"===e.contentType&&(c>l/(r=e.opts.width&&e.opts.height?l/c:e.opts.ratio||16/9)?c=l/r:l>c*r&&(l=c*r)),d.width=l,d.height=c,d)},update:function(e){var t=this;n.each(t.slides,(function(n,i){t.updateSlide(i,e)}))},updateSlide:function(e,t){var i=this,o=e&&e.$content,r=e.width||e.opts.width,s=e.height||e.opts.height,a=e.$slide;i.adjustCaption(e),o&&(r||s||"video"===e.contentType)&&!e.hasError&&(n.fancybox.stop(o),n.fancybox.setTranslate(o,i.getFitPos(e)),e.pos===i.currPos&&(i.isAnimating=!1,i.updateCursor())),i.adjustLayout(e),a.length&&(a.trigger("refresh"),e.pos===i.currPos&&i.$refs.toolbar.add(i.$refs.navigation.find(".fancybox-button--arrow_right")).toggleClass("compensate-for-scrollbar",a.get(0).scrollHeight>a.get(0).clientHeight)),i.trigger("onUpdate",e,t)},centerSlide:function(e){var t=this,o=t.current,r=o.$slide;!t.isClosing&&o&&(r.siblings().css({transform:"",opacity:""}),r.parent().children().removeClass("fancybox-slide--previous fancybox-slide--next"),n.fancybox.animate(r,{top:0,left:0,opacity:1},e===i?0:e,(function(){r.css({transform:"",opacity:""}),o.isComplete||t.complete()}),!1))},isMoved:function(e){var t,i,o=e||this.current;return!!o&&(i=n.fancybox.getTranslate(this.$refs.stage),t=n.fancybox.getTranslate(o.$slide),!o.$slide.hasClass("fancybox-animated")&&(Math.abs(t.top-i.top)>.5||Math.abs(t.left-i.left)>.5))},updateCursor:function(e,t){var i,o,r=this,s=r.current,a=r.$refs.container;s&&!r.isClosing&&r.Guestures&&(a.removeClass("fancybox-is-zoomable fancybox-can-zoomIn fancybox-can-zoomOut fancybox-can-swipe fancybox-can-pan"),o=!!(i=r.canPan(e,t))||r.isZoomable(),a.toggleClass("fancybox-is-zoomable",o),n("[data-fancybox-zoom]").prop("disabled",!o),i?a.addClass("fancybox-can-pan"):o&&("zoom"===s.opts.clickContent||n.isFunction(s.opts.clickContent)&&"zoom"==s.opts.clickContent(s))?a.addClass("fancybox-can-zoomIn"):s.opts.touch&&(s.opts.touch.vertical||r.group.length>1)&&"video"!==s.contentType&&a.addClass("fancybox-can-swipe"))},isZoomable:function(){var e,t=this,n=t.current;if(n&&!t.isClosing&&"image"===n.type&&!n.hasError){if(!n.isLoaded)return!0;if((e=t.getFitPos(n))&&(n.width>e.width||n.height>e.height))return!0}return!1},isScaledDown:function(e,t){var o=!1,r=this.current,s=r.$content;return e!==i&&t!==i?o=e<r.width&&t<r.height:s&&(o=(o=n.fancybox.getTranslate(s)).width<r.width&&o.height<r.height),o},canPan:function(e,t){var o=this.current,r=null,s=!1;return"image"===o.type&&(o.isComplete||e&&t)&&!o.hasError&&(s=this.getFitPos(o),e!==i&&t!==i?r={width:e,height:t}:o.isComplete&&(r=n.fancybox.getTranslate(o.$content)),r&&s&&(s=Math.abs(r.width-s.width)>1.5||Math.abs(r.height-s.height)>1.5)),s},loadSlide:function(e){var t,i,o,r=this;if(!e.isLoading&&!e.isLoaded){if(e.isLoading=!0,!1===r.trigger("beforeLoad",e))return e.isLoading=!1,!1;switch(t=e.type,(i=e.$slide).off("refresh").trigger("onReset").addClass(e.opts.slideClass),t){case"image":r.setImage(e);break;case"iframe":r.setIframe(e);break;case"html":r.setContent(e,e.src||e.content);break;case"video":r.setContent(e,e.opts.video.tpl.replace(/\{\{src\}\}/gi,e.src).replace("{{format}}",e.opts.videoFormat||e.opts.video.format||"").replace("{{poster}}",e.thumb||""));break;case"inline":n(e.src).length?r.setContent(e,n(e.src)):r.setError(e);break;case"ajax":r.showLoading(e),o=n.ajax(n.extend({},e.opts.ajax.settings,{url:e.src,success:function(t,n){"success"===n&&r.setContent(e,t)},error:function(t,n){t&&"abort"!==n&&r.setError(e)}})),i.one("onReset",(function(){o.abort()}));break;default:r.setError(e)}return!0}},setImage:function(e){var i,o=this;setTimeout((function(){var t=e.$image;o.isClosing||!e.isLoading||t&&t.length&&t[0].complete||e.hasError||o.showLoading(e)}
1),50),o.checkSrcset(e),e.$content=n('<div class="fancybox-content"></div>').addClass("fancybox-is-hidden").appendTo(e.$slide.addClass("fancybox-slide--image")),!1!==e.opts.preload&&e.opts.width&&e.opts.height&&e.thumb&&(e.width=e.opts.width,e.height=e.opts.height,(i=t.createElement("img")).onerror=function(){n(this).remove(),e.$ghost=null},i.onload=function(){o.afterLoad(e)},e.$ghost=n(i).addClass("fancybox-image").appendTo(e.$content).attr("src",e.thumb)),o.setBigImage(e)},checkSrcset:function(t){var n,i,o,r,s=t.opts.srcset||t.opts.image.srcset;if(s){o=e.devicePixelRatio||1,r=e.innerWidth*o,i=s.split(",").map((function(e){var t={};return e.trim().split(/\s+/).forEach((function(e,n){var i=parseInt(e.substring(0,e.length-1),10);if(0===n)return t.url=e;i&&(t.value=i,t.postfix=e[e.length-1])})),t})),i.sort((function(e,t){return e.value-t.value}));for(var a=0;a<i.length;a++){var l=i[a];if("w"===l.postfix&&l.value>=r||"x"===l.postfix&&l.value>=o){n=l;break}}!n&&i.length&&(n=i[i.length-1]),n&&(t.src=n.url,t.width&&t.height&&"w"==n.postfix&&(t.height=t.width/t.height*n.value,t.width=n.value),t.opts.srcset=s)}},setBigImage:function(e){var i=this,o=t.createElement("img"),r=n(o);e.$image=r.one("error",(function(){i.setError(e)})).one("load",(function(){var t;e.$ghost||(i.resolveImageSlideSize(e,this.naturalWidth,this.naturalHeight),i.afterLoad(e)),i.isClosing||(e.opts.srcset&&((t=e.opts.sizes)&&"auto"!==t||(t=(e.width/e.height>1&&c.width()/c.height()>1?"100":Math.round(e.width/e.height*100))+"vw"),r.attr("sizes",t).attr("srcset",e.opts.srcset)),e.$ghost&&setTimeout((function(){e.$ghost&&!i.isClosing&&e.$ghost.hide()}),Math.min(300,Math.max(1e3,e.height/1600))),i.hideLoading(e))})).addClass("fancybox-image").attr("src",e.src).appendTo(e.$content),(o.complete||"complete"==o.readyState)&&r.naturalWidth&&r.naturalHeight?r.trigger("load"):o.error&&r.trigger("error")},resolveImageSlideSize:function(e,t,n){var i=parseInt(e.opts.width,10),o=parseInt(e.opts.height,10);e.width=t,e.height=n,i>0&&(e.width=i,e.height=Math.floor(i*n/t)),o>0&&(e.width=Math.floor(o*t/n),e.height=o)},setIframe:function(e){var t,o=this,r=e.opts.iframe,s=e.$slide;e.$content=n('<div class="fancybox-content'+(r.preload?" fancybox-is-hidden":"")+'"></div>').css(r.css).appendTo(s),s.addClass("fancybox-slide--"+e.contentType),e.$iframe=t=n(r.tpl.replace(/\{rnd\}/g,(new Date).getTime())).attr(r.attr).appendTo(e.$content),r.preload?(o.showLoading(e),t.on("load.fb error.fb",(function(t){this.isReady=1,e.$slide.trigger("refresh"),o.afterLoad(e)})),s.on("refresh.fb",(function(){var n,o=e.$content,a=r.css.width,l=r.css.height;if(1===t[0].isReady){try{n=t.contents().find("body")}catch(e){}n&&n.length&&n.children().length&&(s.css("overflow","visible"),o.css({width:"100%","max-width":"100%",height:"9999px"}),a===i&&(a=Math.ceil(Math.max(n[0].clientWidth,n.outerWidth(!0)))),o.css("width",a||"").css("max-width",""),l===i&&(l=Math.ceil(Math.max(n[0].clientHeight,n.outerHeight(!0)))),o.css("height",l||""),s.css("overflow","auto")),o.removeClass("fancybox-is-hidden")}}))):o.afterLoad(e),t.attr("src",e.src),s.one("onReset",(function(){try{n(this).find("iframe").hide().unbind().attr("src","//about:blank")}catch(e){}n(this).off("refresh.fb").empty(),e.isLoaded=!1,e.isRevealed=!1}))},setContent:function(e,t){var i,o=this;o.isClosing||(o.hideLoading(e),e.$content&&n.fancybox.stop(e.$content),e.$slide.empty(),(i=t)&&i.hasOwnProperty&&i instanceof n&&t.parent().length?((t.hasClass("fancybox-content")||t.parent().hasClass("fancybox-content"))&&t.parents(".fancybox-slide").trigger("onReset"),e.$placeholder=n("<div>").hide().insertAfter(t),t.css("display","inline-block")):e.hasError||("string"===n.type(t)&&(t=n("<div>").append(n.trim(t)).contents()),e.opts.filter&&(t=n("<div>").html(t).find(e.opts.filter))),e.$slide.one("onReset",(function(){n(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||(n(this).empty(),e.isLoaded=!1,e.isRevealed=!1)})),n(t).appendTo(e.$slide),n(t).is("video,audio")&&(n(t).addClass("fancybox-video"),n(t).wrap("<div></div>"),e.contentType="video",e.opts.width=e.opts.width||n(t).attr("width"),e.opts.height=e.opts.height||n(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),o.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){var t=this;(e=e||t.current)&&!e.$spinner&&(e.$spinner=n(t.translate(t,t.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){var t=this;t.isClosing||(e.isLoading=!1,e.isLoaded=!0,t.trigger("afterLoad",e),t.hideLoading(e),!e.opts.smallBtn||e.$smallBtn&&e.$smallBtn.length||(e.$smallBtn=n(t.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&&n('<div class="fancybox-spaceball"></div>').appendTo(e.$content)),t.adjustCaption(e),t.adjustLayout(e),e.pos===t.currPos&&t.updateCursor(
1),t.revealContent(e))},adjustCaption:function(e){var t,n=this,i=e||n.current,o=i.opts.caption,r=i.opts.preventCaptionOverlap,s=n.$refs.caption,a=!1;s.toggleClass("fancybox-caption--separate",r),r&&o&&o.length&&(i.pos!==n.currPos?((t=s.clone().appendTo(s.parent())).children().eq(0).empty().html(o),a=t.outerHeight(!0),t.empty().remove()):n.$caption&&(a=n.$caption.outerHeight(!0)),i.$slide.css("padding-bottom",a||""))},adjustLayout:function(e){var t,n,i,o,r=e||this.current;r.isLoaded&&!0!==r.opts.disableLayoutFix&&(r.$content.css("margin-bottom",""),r.$content.outerHeight()>r.$slide.height()+.5&&(i=r.$slide[0].style["padding-bottom"],o=r.$slide.css("padding-bottom"),parseFloat(o)>0&&(t=r.$slide[0].scrollHeight,r.$slide.css("padding-bottom",0),Math.abs(t-r.$slide[0].scrollHeight)<1&&(n=o),r.$slide.css("padding-bottom",i))),r.$content.css("margin-bottom",n))},revealContent:function(e){var t,o,r,s,a=this,l=e.$slide,c=!1,d=!1,u=a.isMoved(e),h=e.isRevealed;return e.isRevealed=!0,t=e.opts[a.firstRun?"animationEffect":"transitionEffect"],r=e.opts[a.firstRun?"animationDuration":"transitionDuration"],r=parseInt(e.forcedDuration===i?r:e.forcedDuration,10),!u&&e.pos===a.currPos&&r||(t=!1),"zoom"===t&&(e.pos===a.currPos&&r&&"image"===e.type&&!e.hasError&&(d=a.getThumbPos(e))?c=a.getFitPos(e):t="fade"),"zoom"===t?(a.isAnimating=!0,c.scaleX=c.width/d.width,c.scaleY=c.height/d.height,"auto"==(s=e.opts.zoomOpacity)&&(s=Math.abs(e.width/e.height-d.width/d.height)>.1),s&&(d.opacity=.1,c.opacity=1),n.fancybox.setTranslate(e.$content.removeClass("fancybox-is-hidden"),d),g(e.$content),void n.fancybox.animate(e.$content,c,r,(function(){a.isAnimating=!1,a.complete()}))):(a.updateSlide(e),t?(n.fancybox.stop(l),o="fancybox-slide--"+(e.pos>=a.prevPos?"next":"previous")+" fancybox-animated fancybox-fx-"+t,l.addClass(o).removeClass("fancybox-slide--current"),e.$content.removeClass("fancybox-is-hidden"),g(l),"image"!==e.type&&e.$content.hide().show(0),void n.fancybox.animate(l,"fancybox-slide--current",r,(function(){l.removeClass(o).css({transform:"",opacity:""}),e.pos===a.currPos&&a.complete()}),!0)):(e.$content.removeClass("fancybox-is-hidden"),h||!u||"image"!==e.type||e.hasError||e.$content.hide().fadeIn("fast"),void(e.pos===a.currPos&&a.complete())))},getThumbPos:function(e){var i,o,r,s,a,l,c=e.$thumb;return!(!c||!function(e){var i,o;return!(!e||e.ownerDocument!==t)&&(n(".fancybox-container").css("pointer-events","none"),i={x:e.getBoundingClientRect().left+e.offsetWidth/2,y:e.getBoundingClientRect().top+e.offsetHeight/2},o=t.elementFromPoint(i.x,i.y)===e,n(".fancybox-container").css("pointer-events",""),o)}(c[0]))&&(o=n.fancybox.getTranslate(c),r=parseFloat(c.css("border-top-width")||0),s=parseFloat(c.css("border-right-width")||0),a=parseFloat(c.css("border-bottom-width")||0),l=parseFloat(c.css("border-left-width")||0),i={top:o.top+r,left:o.left+l,width:o.width-s-l,height:o.height-r-a,scaleX:1,scaleY:1},o.width>0&&o.height>0&&i)},complete:function(){var e,t=this,i=t.current,o={};!t.isMoved()&&i.isLoaded&&(i.isComplete||(i.isComplete=!0,i.$slide.siblings().trigger("onReset"),t.preload("inline"),g(i.$slide),i.$slide.addClass("fancybox-slide--complete"),n.each(t.slides,(function(e,i){i.pos>=t.currPos-1&&i.pos<=t.currPos+1?o[i.pos]=i:i&&(n.fancybox.stop(i.$slide),i.$slide.off().remove())})),t.slides=o),t.isAnimating=!1,t.updateCursor(),t.trigger("afterShow"),i.opts.video.autoStart&&i.$slide.find("video,audio").filter(":visible:first").trigger("play").one("ended",(function(){Document.exitFullscreen?Document.exitFullscreen():this.webkitExitFullscreen&&this.webkitExitFullscreen(),t.next()})),i.opts.autoFocus&&"html"===i.contentType&&((e=i.$content.find("input[autofocus]:enabled:visible:first")).length?e.trigger("focus"):t.focus(null,!0)),i.$slide.scrollTop(0).scrollLeft(0))},preload:function(e){var t,n,i=this;i.group.length<2||(n=i.slides[i.currPos+1],(t=i.slides[i.currPos-1])&&t.type===e&&i.loadSlide(t),n&&n.type===e&&i.loadSlide(n))},focus:function(e,i){var o,r,s=this,a=["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(",");s.isClosing||((o=(o=!e&&s.current&&s.current.isComplete?s.current.$slide.find("*:visible"+(i?":not(.fancybox-close-small)":"")):s.$refs.container.find("*:visible")).filter(a).filter((function(){return"hidden"!==n(this).css("visibility")&&!n(this).hasClass("disabled")}))).length?(r=o.index(t.activeElement),e&&e.shiftKey?(r<0||0==r)&&(e.preventDefault(),o.eq(o.length-1).trigger("focus")):(r<0||r==o.length-1)&&(e&&e.preventDefault(),o.eq(0).trigger("focus"))):s.$refs.container.trigger("focus"))},activate:function(){var e=this;n(".fancybox-container").each((function(){var t=n(this).data("FancyBox");t&&t.id!==e.id&&!t.isClosing&&(t.trigger("onDeactivate"),t.removeEvents(),t.isVisible=!1)})),e.isVisible=!0,(e.current||e.isIdle)&&(e.update(),e.updateControls()),e.trigger("onActivate"),e.addEvents()},close:function(e,t){var i,o,r,s,a,l,c,d=this,u=d.current,f=function(){d.cleanUp(e)};return!(d.isClosing||(d.isClosing=!0,!1===d.trigger("beforeClose",e)?(d.isClosing=!1,h((function(){d.update()})),1):(d.removeEvents(),r=u.$content,i=u.opts.animationEffect,o=n.isNumeric(t)?t:i?u.opts.animationDuration:0,u.$slide.removeClass("fancybox-slide--complete fancybox-slide--next fancybox-slide--previous fancybox-animated"),!0!==e?n.fancybox.stop(u.$slide):i=!1,u.$slide.siblings().trigger("onReset").remove(),o&&d.$refs.container.removeClass("fancybox-is-open").addClass("fancybox-is-closing").css("transition-duration",o+"ms"),d.hideLoading(u),d.hideControls(!0),d.updateCursor(),"zoom"!==i||r&&o&&"image"===u.type&&!d.isMoved()&&!u.hasError&&(c=d.getThumbPos(u))||(i="fade"),"zoom"===i?(n.fancybox.stop(r),l={top:(s=n.fancybox.getTranslate(r)).top,left:s.left,scaleX:s.width/c.width,scaleY:s.height/c.height,width:c.width,height:c.height},"auto"==(a=u.opts.zoomOpacity)&&(a=Math.abs(u.width/u.height-c.width/c.height)>.1),a&&(c.opacity=0),n.fancybox.setTranslate(r,l),g(r),n.fancybox.animate(r,c,o,f),0):(i&&o?n.fancybox.animate(u.$slide.addClass("fancybox-slide--previous").removeClass("fancybox-slide--current"),"fancybox-animated fancybox-fx-"+i,o,f):!0===e?setTimeout(f,o):f(),0))))},cleanUp:function(t){var i,o,r,s=this,a=s.current.opts.$orig;s.current.$slide.trigger("onReset"),s.$refs.container.empty().remove(),s.trigger("afterClose",t),s.current.opts.backFocus&&(a&&a.length&&a.is(":visible")||(a=s.$trigger),a&&a.length&&(o=e.scrollX,r=e.scrollY,a.trigger("focus"),n("html, body").scrollTop(r).scrollLeft(o))),s.current=null,(i=n.fancybox.getInstance())?i.activate():(n("body").removeClass("fancybox-active compensate-for-scrollbar"),n("#fancybox-style-noscroll").remove())},trigger:function(e,t){var i,o=Array.prototype.slice.call(arguments,1),r=this,s=t&&t.opts?t:r.current;if(s?o.unshift(s):s=r,o.unshift(r),n.isFunction(s.opts[e])&&(i=s.opts[e].apply(s,o)),!1===i)return i;"afterClose"!==e&&r.$refs?r.$refs.container.trigger(e+".fb",o):d.trigger(e+".fb",o)},updateControls:function(){var e=this,i=e.current,o=i.index,r=e.$refs.container,s=e.$refs.caption,a=i.opts.caption;i.$slide.trigger("refresh"),a&&a.length?(e.$caption=s,s.children().eq(0).html(a)):e.$caption=null,e.hasHiddenControls||e.isIdle||e.showControls(),r.find("[data-fancybox-count]").html(e.group.length),r.find("[data-fancybox-index]").html(o+1),r.find("[data-fancybox-prev]").prop("disabled",!i.opts.loop&&o<=0),r.find("[data-fancybox-next]").prop("disabled",!i.opts.loop&&o>=e.group.length-1),"image"===i.type?r.find("[data-fancybox-zoom]").show().end().find("[data-fancybox-download]").attr("href",i.opts.image.src||i.src).show():i.opts.toolbar&&r.find("[data-fancybox-download],[data-fancybox-zoom]").hide(),n(t.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,t=e.current?e.current.opts:e.opts,n=e.$refs.container;e.hasHiddenControls=!1,e.idleSecondsCounter=0,n.toggleClass("fancybox-show-toolbar",!(!t.toolbar||!t.buttons)).toggleClass("fancybox-show-infobar",!!(t.infobar&&e.group.length>1)).toggleClass("fancybox-show-caption",!!e.$caption).toggleClass("fancybox-show-nav",!!(t.arrows&&e.group.length>1)).toggleClass("fancybox-is-modal",!!t.modal)}
1,toggleControls:function(){this.hasHiddenControls?this.showControls():this.hideControls()}}),n.fancybox={version:"3.5.7",defaults:l,getInstance:function(e){var t=n('.fancybox-container:not(".fancybox-is-closing"):last').data("FancyBox"),i=Array.prototype.slice.call(arguments,1);return t instanceof v&&("string"===n.type(e)?t[e].apply(t,i):"function"===n.type(e)&&e.apply(t,i),t)},open:function(e,t,n){return new v(e,t,n)},close:function(e){var t=this.getInstance();t&&(t.close(),!0===e&&this.close(e))},destroy:function(){this.close(!0),d.add("body").off("click.fb-start","**")},isMobile:/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),use3d:(o=t.createElement("div"),e.getComputedStyle&&e.getComputedStyle(o)&&e.getComputedStyle(o).getPropertyValue("transform")&&!(t.documentMode&&t.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 n="",o={};if(e&&t)return t.left===i&&t.top===i||(n=(t.left===i?e.position().left:t.left)+"px, "+(t.top===i?e.position().top:t.top)+"px",n=this.use3d?"translate3d("+n+", 0px)":"translate("+n+")"),t.scaleX!==i&&t.scaleY!==i?n+=" scale("+t.scaleX+", "+t.scaleY+")":t.scaleX!==i&&(n+=" scaleX("+t.scaleX+")"),n.length&&(o.transform=n),t.opacity!==i&&(o.opacity=t.opacity),t.width!==i&&(o.width=t.width),t.height!==i&&(o.height=t.height),e.css(o)},animate:function(e,t,o,r,s){var a,l=this;n.isFunction(o)&&(r=o,o=null),l.stop(e),a=l.getTranslate(e),e.on(p,(function(c){(!c||!c.originalEvent||e.is(c.originalEvent.target)&&"z-index"!=c.originalEvent.propertyName)&&(l.stop(e),n.isNumeric(o)&&e.css("transition-duration",""),n.isPlainObject(t)?t.scaleX!==i&&t.scaleY!==i&&l.setTranslate(e,{top:t.top,left:t.left,width:a.width*t.scaleX,height:a.height*t.scaleY,scaleX:1,scaleY:1}):!0!==s&&e.removeClass(t),n.isFunction(r)&&r(c))})),n.isNumeric(o)&&e.css("transition-duration",o+"ms"),n.isPlainObject(t)?(t.scaleX!==i&&t.scaleY!==i&&(delete t.width,delete t.height,e.parent().hasClass("fancybox-slide--image")&&e.parent().addClass("fancybox-is-scaling")),n.fancybox.setTranslate(e,t)):e.addClass(t),e.data("timer",setTimeout((function(){e.trigger(p)}),o+33))},stop:function(e,t){e&&e.length&&(clearTimeout(e.data("timer")),t&&e.trigger(p),e.off(p).css("transition-duration",""),e.parent().removeClass("fancybox-is-scaling"))}},n.fn.fancybox=function(e){var t;return(t=(e=e||{}).selector||!1)?n("body").off("click.fb-start",t).on("click.fb-start",t,{options:e},y):this.off("click.fb-start").on("click.fb-start",{items:this,options:e},y),this},d.on("click.fb-start","[data-fancybox]",y),d.on("click.fb-start","[data-fancybox-trigger]",(function(e){n('[data-fancybox="'+n(this).attr("data-fancybox-trigger")+'"]').eq(n(this).attr("data-fancybox-index")||0).trigger("click.fb-start",{$trigger:n(this)})})),r=".fancybox-button",s="fancybox-focus",a=null,d.on("mousedown mouseup focus blur",r,(function(e){switch(e.type){case"mousedown":a=n(this);break;case"mouseup":a=null;break;case"focusin":n(r).removeClass(s),n(this).is(a)||n(this).is("[disabled]")||n(this).addClass(s);break;case"focusout":n(r).removeClass(s)}}))}function y(e,t){var i,o,r,s=[],a=0;e&&e.isDefaultPrevented()||(e.preventDefault(),t=t||{},e&&e.data&&(t=m(e.data.options,t)),i=t.$target||n(e.currentTarget).trigger("blur"),(r=n.fancybox.getInstance())&&r.$trigger&&r.$trigger.is(i)||(s=t.selector?n(t.selector):(o=i.attr("data-fancybox")||"")?(s=e.data?e.data.items:[]).length?s.filter('[data-fancybox="'+o+'"]'):n('[data-fancybox="'+o+'"]'):[i],(a=n(s).index(i))<0&&(a=0),(r=n.fancybox.open(s,t,a)).$trigger=i))}}(window,document,jQuery),function(e){"use strict";var t={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]&&e[12].indexOf("layer=c")>0?"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"}}},n=function(t,n,i){if(t)return i=i||"","object"===e.type(i)&&(i=e.param(i,!0)),e.each(n,(function(e,n){t=t.replace("$"+e,n||"")})),i.length&&(t+=(t.indexOf("?")>0?"&":"?")+i),t};e(document).on("objectNeedsType.fb",(function(i,o,r){var s,a,l,c,d,u,h,f=r.src||"",p=!1;s=e.extend(!0,{},t,r.opts.media),e.each(s,(function(t,i){if(l=f.match(i.matcher)){if(p=i.type,h=t,u={},i.paramPlace&&l[i.paramPlace]){"?"==(d=l[i.paramPlace])[0]&&(d=d.substring(1)),d=d.split("&");for(var o=0;o<d.length;++o){var s=d[o].split("=",2);2==s.length&&(u[s[0]]=decodeURIComponent(s[1].replace(/\+/g," ")))}}return c=e.extend(!0,{},i.params,r.opts[t],u),f="function"===e.type(i.url)?i.url.call(this,l,c,r):n(i.url,l,c),a="function"===e.type(i.thumb)?i.thumb.call(this,l,c,r):n(i.thumb,l),"youtube"===t?f=f.replace(/&t=((\d+)m)?(\d+)s/,(function(e,t,n,i){return"&start="+((n?60*parseInt(n,10):0)+parseInt(i,10))})):"vimeo"===t&&(f=f.replace("&%23","#")),!1}})),p?(r.opts.thumb||r.opts.$thumb&&r.opts.$thumb.length||(r.opts.thumb=a),"iframe"===p&&(r.opts=e.extend(!0,r.opts,{iframe:{preload:!1,attr:{scrolling:"no"}}})),e.extend(r,{type:p,src:f,origSrc:r.src,contentSource:h,contentType:"image"===p?"image":"gmap_place"==h||"gmap_search"==h?"map":"video"})):f&&(r.type=r.opts.defaultType)}));var i={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,n=this;this[e].loaded?setTimeout((function(){n.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(){n[e].loaded=!0,n.done(e)}:t.onload=function(){n[e].loaded=!0,n.done(e)},document.body.appendChild(t))},done:function(t){var n,i;"youtube"===t&&delete window.onYouTubeIframeAPIReady,(n=e.fancybox.getInstance())&&(i=n.current.$content.find("iframe"),"youtube"===t&&void 0!==YT&&YT?new YT.Player(i.attr("id"),{events:{onStateChange:function(e){0==e.data&&n.next()}}}):"vimeo"===t&&void 0!==Vimeo&&Vimeo&&new Vimeo.Player(i).on("ended",(function(){n.next()})))}};e(document).on({"afterShow.fb":function(e,t,n){t.group.length>1&&("youtube"===n.contentSource||"vimeo"===n.contentSource)&&i.load(n.contentSource)}})}(jQuery),function(e,t,n){"use strict";var i=e.requestAnimationFrame||e.webkitRequestAnimationFrame||e.mozRequestAnimationFrame||e.oRequestAnimationFrame||function(t){return e.setTimeout(t,1e3/60)},o=e.cancelAnimationFrame||e.webkitCancelAnimationFrame||e.mozCancelAnimationFrame||e.oCancelAnimationFrame||function(t){e.clearTimeout(t)},r=function(t){var n=[];for(var i in t=(t=t.originalEvent||t||e.e).touches&&t.touches.length?t.touches:t.changedTouches&&t.changedTouches.length?t.changedTouches:[t])t[i].pageX?n.push({x:t[i].pageX,y:t[i].pageY}):t[i].clientX&&n.push({x:t[i].clientX,y:t[i].clientY});return n},s=function(e,t,n){return t&&e?"x"===n?e.x-t.x:"y"===n?e.y-t.y:Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0},a=function(e){if(e.is('a,area,button,[role="button"],input,label,select,summary,textarea,video,audio,iframe')||n.isFunction(e.get(0).onclick)||e.data("selectable"))return!0;for(var t=0,i=e[0].attributes,o=i.length;t<o;t++)if("data-fancybox-"===i[t].nodeName.substr(0,14))return!0;return!1},l=function(t){for(var n,i,o,r,s,a=!1;n=t.get(0),void 0,void 0,void 0,void 0,i=e.getComputedStyle(n)["overflow-y"],o=e.getComputedStyle(n)["overflow-x"],r=("scroll"===i||"auto"===i)&&n.scrollHeight>n.clientHeight,s=("scroll"===o||"auto"===o)&&n.scrollWidth>n.clientWidth,!(a=r||s)&&(t=t.parent()).length&&!t.hasClass("fancybox-stage")&&!t.is("body"););return a},c=function(e){var t=this;t.instance=e,t.$bg=e.$refs.bg,t.$stage=e.$refs.stage,t.$container=e.$refs.container,t.destroy(),t.$container.on("touchstart.fb.touch mousedown.fb.touch",n.proxy(t,"ontouchstart"))};c.prototype.destroy=function(){var e=this;e.$container.off(".fb.touch"),n(t).off(".fb.touch"),e.requestId&&(o(e.requestId),e.requestId=null),e.tapped&&(clearTimeout(e.tapped),e.tapped=null)},c.prototype.ontouchstart=function(i){var o=this,c=n(i.target),d=o.instance,u=d.current,h=u.$slide,f=u.$content,p="touchstart"==i.type;if(p&&o.$container.off("mousedown.fb.touch"),(!i.originalEvent||2!=i.originalEvent.button)&&h.length&&c.length&&!a(c)&&!a(c.parent())&&(c.is("img")||!(i.originalEvent.clientX>c[0].clientWidth+c.offset().left))){if(!u||d.isAnimating||u.$slide.hasClass("fancybox-animated"))return i.stopPropagation(),void i.preventDefault();o.realPoints=o.startPoints=r(i),o.startPoints.length&&(u.touch&&i.stopPropagation(),o.startEvent=i,o.canTap=!0,o.$target=c,o.$content=f,o.opts=u.opts.touch,o.isPanning=!1,o.isSwiping=!1,o.isZooming=!1,o.isScrolling=!1,o.canPan=d.canPan(),o.startTime=(new Date).getTime(),o.distanceX=o.distanceY=o.distance=0,o.canvasWidth=Math.round(h[0].clientWidth),o.canvasHeight=Math.round(h[0].clientHeight),o.contentLastPos=null,o.contentStartPos=n.fancybox.getTranslate(o.$content)||{top:0,left:0},o.sliderStartPos=n.fancybox.getTranslate(h),o.stagePos=n.fancybox.getTranslate(d.$refs.stage),o.sliderStartPos.top-=o.stagePos.top,o.sliderStartPos.left-=o.stagePos.left,o.contentStartPos.top-=o.stagePos.top,o.contentStartPos.left-=o.stagePos.left,n(t).off(".fb.touch").on(p?"touchend.fb.touch touchcancel.fb.touch":"mouseup.fb.touch mouseleave.fb.touch",n.proxy(o,"ontouchend")).on(p?"touchmove.fb.touch":"mousemove.fb.touch",n.proxy(o,"ontouchmove")),n.fancybox.isMobile&&t.addEventListener("scroll",o.onscroll,!0),((o.opts||o.canPan)&&(c.is(o.$stage)||o.$stage.find(c).length)||(c.is(".fancybox-image")&&i.preventDefault(),n.fancybox.isMobile&&c.parents(".fancybox-caption").length))&&(o.isScrollable=l(c)||l(c.parent()),n.fancybox.isMobile&&o.isScrollable||i.preventDefault(),(1===o.startPoints.length||u.hasError)&&(o.canPan?(n.fancybox.stop(o.$content),o.isPanning=!0):o.isSwiping=!0,o.$container.addClass("fancybox-is-grabbing")),2===o.startPoints.length&&"image"===u.type&&(u.isLoaded||u.$ghost)&&(o.canTap=!1,o.isSwiping=!1,o.isPanning=!1,o.isZooming=!0,n.fancybox.stop(o.$content),o.centerPointStartX=.5*(o.startPoints[0].x+o.startPoints[1].x)-n(e).scrollLeft(),o.centerPointStartY=.5*(o.startPoints[0].y+o.startPoints[1].y)-n(e).scrollTop(),o.percentageOfImageAtPinchPointX=(o.centerPointStartX-o.c
1ontentStartPos.left)/o.contentStartPos.width,o.percentageOfImageAtPinchPointY=(o.centerPointStartY-o.contentStartPos.top)/o.contentStartPos.height,o.startDistanceBetweenFingers=s(o.startPoints[0],o.startPoints[1]))))}},c.prototype.onscroll=function(e){this.isScrolling=!0,t.removeEventListener("scroll",this.onscroll,!0)},c.prototype.ontouchmove=function(e){var t=this;void 0===e.originalEvent.buttons||0!==e.originalEvent.buttons?t.isScrolling?t.canTap=!1:(t.newPoints=r(e),(t.opts||t.canPan)&&t.newPoints.length&&t.newPoints.length&&(t.isSwiping&&!0===t.isSwiping||e.preventDefault(),t.distanceX=s(t.newPoints[0],t.startPoints[0],"x"),t.distanceY=s(t.newPoints[0],t.startPoints[0],"y"),t.distance=s(t.newPoints[0],t.startPoints[0]),t.distance>0&&(t.isSwiping?t.onSwipe(e):t.isPanning?t.onPan():t.isZooming&&t.onZoom()))):t.ontouchend(e)},c.prototype.onSwipe=function(t){var r,s=this,a=s.instance,l=s.isSwiping,c=s.sliderStartPos.left||0;if(!0!==l)"x"==l&&(s.distanceX>0&&(s.instance.group.length<2||0===s.instance.current.index&&!s.instance.current.opts.loop)?c+=Math.pow(s.distanceX,.8):s.distanceX<0&&(s.instance.group.length<2||s.instance.current.index===s.instance.group.length-1&&!s.instance.current.opts.loop)?c-=Math.pow(-s.distanceX,.8):c+=s.distanceX),s.sliderLastPos={top:"x"==l?0:s.sliderStartPos.top+s.distanceY,left:c},s.requestId&&(o(s.requestId),s.requestId=null),s.requestId=i((function(){s.sliderLastPos&&(n.each(s.instance.slides,(function(e,t){var i=t.pos-s.instance.currPos;
1n.fancybox.setTranslate(t.$slide,{top:s.sliderLastPos.top,left:s.sliderLastPos.left+i*s.canvasWidth+i*t.opts.gutter})})),s.$container.addClass("fancybox-is-sliding"))}));else if(Math.abs(s.distance)>10){if(s.canTap=!1,a.group.length<2&&s.opts.vertical?s.isSwiping="y":a.isDragging||!1===s.opts.vertical||"auto"===s.opts.vertical&&n(e).width()>800?s.isSwiping="x":(r=Math.abs(180*Math.atan2(s.distanceY,s.distanceX)/Math.PI),s.isSwiping=r>45&&r<135?"y":"x"),"y"===s.isSwiping&&n.fancybox.isMobile&&s.isScrollable)return void(s.isScrolling=!0);a.isDragging=s.isSwiping,s.startPoints=s.newPoints,n.each(a.slides,(function(e,t){var i,o;n.fancybox.stop(t.$slide),i=n.fancybox.getTranslate(t.$slide),o=n.fancybox.getTranslate(a.$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===a.current.pos&&(s.sliderStartPos.top=i.top-o.top,s.sliderStartPos.left=i.left-o.left),n.fancybox.setTranslate(t.$slide,{top:i.top-o.top,left:i.left-o.left})})),a.SlideShow&&a.SlideShow.isActive&&a.SlideShow.stop()}},c.prototype.onPan=function(){var e=this;s(e.newPoints[0],e.realPoints[0])<(n.fancybox.isMobile?10:5)?e.startPoints=e.newPoints:(e.canTap=!1,e.contentLastPos=e.limitMovement(),e.requestId&&o(e.requestId),e.requestId=i((function(){n.fancybox.setTranslate(e.$content,e.contentLastPos)})))},c.prototype.limitMovement=function(){var e,t,n,i,o,r,s=this,a=s.canvasWidth,l=s.canvasHeight,c=s.distanceX,d=s.distanceY,u=s.contentStartPos,h=u.left,f=u.top,p=u.width,g=u.height;return o=p>a?h+c:h,r=f+d,e=Math.max(0,.5*a-.5*p),t=Math.max(0,.5*l-.5*g),n=Math.min(a-p,.5*a-.5*p),i=Math.min(l-g,.5*l-.5*g),c>0&&o>e&&(o=e-1+Math.pow(-e+h+c,.8)||0),c<0&&o<n&&(o=n+1-Math.pow(n-h-c,.8)||0),d>0&&r>t&&(r=t-1+Math.pow(-t+f+d,.8)||0),d<0&&r<i&&(r=i+1-Math.pow(i-f-d,.8)||0),{top:r,left:o}},c.prototype.limitPosition=function(e,t,n,i){var o=this.canvasWidth,r=this.canvasHeight;return e=n>o?(e=e>0?0:e)<o-n?o-n:e:Math.max(0,o/2-n/2),{top:t=i>r?(t=t>0?0:t)<r-i?r-i:t:Math.max(0,r/2-i/2),left:e}},c.prototype.onZoom=function(){var t=this,r=t.contentStartPos,a=r.width,l=r.height,c=r.left,d=r.top,u=s(t.newPoints[0],t.newPoints[1])/t.startDistanceBetweenFingers,h=Math.floor(a*u),f=Math.floor(l*u),p=(a-h)*t.percentageOfImageAtPinchPointX,g=(l-f)*t.percentageOfImageAtPinchPointY,m=(t.newPoints[0].x+t.newPoints[1].x)/2-n(e).scrollLeft(),v=(t.newPoints[0].y+t.newPoints[1].y)/2-n(e).scrollTop(),y=m-t.centerPointStartX,b={top:d+(g+(v-t.centerPointStartY)),left:c+(p+y),scaleX:u,scaleY:u};t.canTap=!1,t.newWidth=h,t.newHeight=f,t.contentLastPos=b,t.requestId&&o(t.requestId),t.requestId=i((function(){n.fancybox.setTranslate(t.$content,t.contentLastPos)}))},c.prototype.ontouchend=function(e){var i=this,s=i.isSwiping,a=i.isPanning,l=i.isZooming,c=i.isScrolling;if(i.endPoints=r(e),i.dMs=Math.max((new Date).getTime()-i.startTime,1),i.$container.removeClass("fancybox-is-grabbing"),n(t).off(".fb.touch"),t.removeEventListener("scroll",i.onscroll,!0),i.requestId&&(o(i.requestId),i.requestId=null),i.isSwiping=!1,i.isPanning=!1,i.isZooming=!1,i.isScrolling=!1,i.instance.isDragging=!1,i.canTap)return i.onTap(e);i.speed=100,i.velocityX=i.distanceX/i.dMs*.5,i.velocityY=i.distanceY/i.dMs*.5,a?i.endPanning():l?i.endZooming():i.endSwiping(s,c)},c.prototype.endSwiping=function(e,t){var i=this,o=!1,r=i.instance.group.length,s=Math.abs(i.distanceX),a="x"==e&&r>1&&(i.dMs>130&&s>10||s>50);i.sliderLastPos=null,"y"==e&&!t&&Math.abs(i.distanceY)>50?(n.fancybox.animate(i.instance.current.$slide,{top:i.sliderStartPos.top+i.distanceY+150*i.velocityY,opacity:0},200),o=i.instance.close(!0,250)):a&&i.distanceX>0?o=i.instance.previous(300):a&&i.distanceX<0&&(o=i.instance.next(300)),!1!==o||"x"!=e&&"y"!=e||i.instance.centerSlide(200),i.$container.removeClass("fancybox-is-sliding")},c.prototype.endPanning=function(){var e,t,i,o=this;o.contentLastPos&&(!1===o.opts.momentum||o.dMs>350?(e=o.contentLastPos.left,t=o.contentLastPos.top):(e=o.contentLastPos.left+500*o.velocityX,t=o.contentLastPos.top+500*o.velocityY),(i=o.limitPosition(e,t,o.contentStartPos.width,o.contentStartPos.height)).width=o.contentStartPos.width,i.height=o.contentStartPos.height,n.fancybox.animate(o.$content,i,366))},c.prototype.endZooming=function(){var e,t,i,o,r=this,s=r.instance.current,a=r.newWidth,l=r.newHeight;r.contentLastPos&&(e=r.contentLastPos.left,o={top:t=r.contentLastPos.top,left
1:e,width:a,height:l,scaleX:1,scaleY:1},n.fancybox.setTranslate(r.$content,o),a<r.canvasWidth&&l<r.canvasHeight?r.instance.scaleToFit(150):a>s.width||l>s.height?r.instance.scaleToActual(r.centerPointStartX,r.centerPointStartY,150):(i=r.limitPosition(e,t,a,l),n.fancybox.animate(r.$content,i,150)))},c.prototype.onTap=function(t){var i,o=this,s=n(t.target),a=o.instance,l=a.current,c=t&&r(t)||o.startPoints,d=c[0]?c[0].x-n(e).scrollLeft()-o.stagePos.left:0,u=c[0]?c[0].y-n(e).scrollTop()-o.stagePos.top:0,h=function(e){var i=l.opts[e];if(n.isFunction(i)&&(i=i.apply(a,[l,t])),i)switch(i){case"close":a.close(o.startEvent);break;case"toggleControls":a.toggleControls();break;case"next":a.next();break;case"nextOrClose":a.group.length>1?a.next():a.close(o.startEvent);break;case"zoom":"image"==l.type&&(l.isLoaded||l.$ghost)&&(a.canPan()?a.scaleToFit():a.isScaledDown()?a.scaleToActual(d,u):a.group.length<2&&a.close(o.startEvent))}};if((!t.originalEvent||2!=t.originalEvent.button)&&(s.is("img")||!(d>s[0].clientWidth+s.offset().left))){if(s.is(".fancybox-bg,.fancybox-inner,.fancybox-outer,.fancybox-container"))i="Outside";else if(s.is(".fancybox-slide"))i="Slide";else{if(!a.current.$content||!a.current.$content.find(s).addBack().filter(s).length)return;i="Content"}if(o.tapped){if(clearTimeout(o.tapped),o.tapped=null,Math.abs(d-o.tapX)>50||Math.abs(u-o.tapY)>50)return this;h("dblclick"+i)}else o.tapX=d,o.tapY=u,l.opts["dblclick"+i]&&l.opts["dblclick"+i]!==l.opts["click"+i]?o.tapped=setTimeout((function(){o.tapped=null,a.isAnimating||h("click"+i)}),500):h("click"+i);return this}},n(t).on("onActivate.fb",(function(e,t){t&&!t.Guestures&&(t.Guestures=new c(t))})).on("beforeClose.fb",(function(e,t){t&&t.Guestures&&t.Guestures.destroy()}))}(window,document,jQuery),function(e,t){"use strict";t.extend(!0,t.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}});var n=function(e){this.instance=e,this.init()};t.extend(n.prototype,{timer:null,isActive:!1,$button:null,init:function(){var e=this,n=e.instance,i=n.group[n.currIndex].opts.slideShow;e.$button=n.$refs.toolbar.find("[data-fancybox-play]").on("click",(function(){e.toggle()})),n.group.length<2||!i?e.$button.hide():i.progress&&(e.$progress=t('<div class="fancybox-progress"></div>').appendTo(n.$refs.inner))},set:function(e){var n=this,i=n.instance,o=i.current;o&&(!0===e||o.opts.loop||i.currIndex<i.group.length-1)?n.isActive&&"video"!==o.contentType&&(n.$progress&&t.fancybox.animate(n.$progress.show(),{scaleX:1},o.opts.slideShow.speed),n.timer=setTimeout((function(){i.current.opts.loop||i.current.index!=i.group.length-1?i.next():i.jumpTo(0)}),o.opts.slideShow.speed)):(n.stop(),i.idleSecondsCounter=0,i.showControls())},clear:function(){var e=this;clearTimeout(e.timer),e.timer=null,e.$progress&&e.$progress.removeAttr("style").hide()},start:function(){var e=this,t=e.instance.current;t&&(e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_STOP).removeClass("fancybox-button--play").addClass("fancybox-button--pause"),e.isActive=!0,t.isComplete&&e.set(!0),e.instance.trigger("onSlideShowChange",!0))},stop:function(){var e=this,t=e.instance.current;e.clear(),e.$button.attr("title",(t.opts.i18n[t.opts.lang]||t.opts.i18n.en).PLAY_START).removeClass("fancybox-button--pause").addClass("fancybox-button--play"),e.isActive=!1,e.instance.trigger("onSlideShowChange",!1),e.$progress&&e.$progress.removeAttr("style").hide()},toggle:function(){var e=this;e.isActive?e.stop():e.start()}}),t(e).on({"onInit.fb":function(e,t){t&&!t.SlideShow&&(t.SlideShow=new n(t))},"beforeShow.fb":function(e,t,n,i){var o=t&&t.SlideShow;i?o&&n.opts.slideShow.autoStart&&o.start():o&&o.isActive&&o.clear()},"afterShow.fb":function(e,t,n){var i=t&&t.SlideShow;i&&i.isActive&&i.set()},"afterKeydown.fb":function(n,i,o,r,s){var a=i&&i.SlideShow;!a||!o.opts.slideShow||80!==s&&32!==s||t(e.activeElement).is("button,a,input")||(r.preventDefault(),a.toggle())},"beforeClose.fb onDeactivate.fb":function(e,t){var n=t&&t.SlideShow;n&&n.stop()}}),t(e).on("visibilitychange",(function(){var n=t.fancybox.getInstance(),i=n&&n.SlideShow;i&&i.isActive&&(e.hidden?i.clear():i.set())}))}(document,jQuery),function(e,t){"use strict";var n=function(){for(var t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["
1webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n={},i=0;i<t.length;i++){var o=t[i];if(o&&o[1]in e){for(var r=0;r<o.length;r++)n[t[0][r]]=o[r];return n}}return!1}();if(n){var i={request:function(t){(t=t||e.documentElement)[n.requestFullscreen](t.ALLOW_KEYBOARD_INPUT)},exit:function(){e[n.exitFullscreen]()},toggle:function(t){t=t||e.documentElement,this.isFullscreen()?this.exit():this.request(t)},isFullscreen:function(){return Boolean(e[n.fullscreenElement])},enabled:function(){return Boolean(e[n.fullscreenEnabled])}};t.extend(!0,t.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}}),t(e).on(n.fullscreenchange,(function(){var e=i.isFullscreen(),n=t.fancybox.getInstance();n&&(n.current&&"image"===n.current.type&&n.isAnimating&&(n.isAnimating=!1,n.update(!0,!0,0),n.isComplete||n.complete()),n.trigger("onFullscreenChange",e),n.$refs.container.toggleClass("fancybox-is-fullscreen",e),n.$refs.toolbar.find("[data-fancybox-fullscreen]").toggleClass("fancybox-button--fsenter",!e).toggleClass("fancybox-button--fsexit",e))}))}t(e).on({"onInit.fb":function(e,t){n?t&&t.group[t.currIndex].opts.fullScreen?(t.$refs.container.on("click.fb-fullscreen","[data-fancybox-fullscreen]",(function(e){e.stopPropagation(),e.preventDefault(),i.toggle()})),t.opts.fullScreen&&!0===t.opts.fullScreen.autoStart&&i.request(),t.FullScreen=i):t&&t.$refs.toolbar.find("[data-fancybox-fullscreen]").hide():t.$refs.toolbar.find("[data-fancybox-fullscreen]").remove()},"afterKeydown.fb":function(e,t,n,i,o){t&&t.FullScreen&&70===o&&(i.preventDefault(),t.FullScreen.toggle())},"beforeClose.fb":function(e,t){t&&t.FullScreen&&t.$refs.container.hasClass("fancybox-is-fullscreen")&&i.exit()}})}(document,jQuery),function(e,t){"use strict";var n="fancybox-thumbs",i=n+"-active";t.fancybox.defaults=t.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"}},t.fancybox.defaults);var o=function(e){this.init(e)};t.extend(o.prototype,{$button:null,$grid:null,$list:null,isVisible:!1,isActive:!1,init:function(e){var t=this,n=e.group,i=0;t.instance=e,t.opts=n[e.currIndex].opts.thumbs,e.Thumbs=t,t.$button=e.$refs.toolbar.find("[data-fancybox-thumbs]");for(var o=0,r=n.length;o<r&&(n[o].thumb&&i++,!(i>1));o++);i>1&&t.opts?(t.$button.removeAttr("style").on("click",(function(){t.toggle()})),t.isActive=!0):t.$button.hide()},create:function(){var e,i=this,o=i.instance,r=i.opts.parentEl,s=[];i.$grid||(i.$grid=t('<div class="'+n+" "+n+"-"+i.opts.axis+'"></div>').appendTo(o.$refs.container.find(r).addBack().filter(r)),i.$grid.on("click","a",(function(){o.jumpTo(t(this).attr("data-index"))}))),i.$list||(i.$list=t('<div class="'+n+'__list">').appendTo(i.$grid)),t.each(o.group,(function(t,n){(e=n.thumb)||"image"!==n.type||(e=n.src),s.push('<a href="javascript:;" tabindex="0" data-index="'+t+'"'+(e&&e.length?' style="background-image:url('+e+')"':'class="fancybox-thumbs-missing"')+"></a>")})),i.$list[0].innerHTML=s.join(""),"x"===i.opts.axis&&i.$list.width(parseInt(i.$grid.css("padding-right"),10)+o.group.length*i.$list.children().eq(0).outerWidth(!0))},focus:function(e){var t,n,o=this,r=o.$list,s=o.$grid;o.instance.current&&(n=(t=r.children().removeClass(i).filter('[data-index="'+o.instance.current.index+'"]').addClass(i)).position(),"y"===o.opts.axis&&(n.top<0||n.top>r.height()-t.outerHeight())?r.stop().animate({scrollTop:r.scrollTop()+n.top},e):"x"===o.opts.axis&&(n.left<s.scrollLeft()||n.left>s.scrollLeft()+(s.width()-t.outerWidth()))&&r.parent().stop().animate({scrollLeft:n.left},e))},update:function(){var e=this;e.instance.$refs.container.toggleClass("fancybox-show-thumbs",this.isVisible),e.isVisible?(e.$grid||e.create(),e.instance.trigger("onThumbsShow"),e.focus(0)):e.$grid&&e.instance.trigger("onThumbsHide"),e.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()}}),t(e).on({"onInit.fb":function(e,t){var n;t&&!t.Thumbs&&(n=new o(t)).isActive&&!0===n.opts.autoStart&&n.show()},"beforeShow.fb":function(e,t,n,i){var o=t&&t.Thumbs;o&&o.isVisible&&o.focus(i?0:250)},"afterKeydown.fb":function(e,t,n,i,o){var r=t&&t.Thumbs;r&&r.isActive&&71===o&&(i.preventDefault(),r.toggle())},"beforeClose.fb":function(e,t){var n=t&&t.Thumbs;n&&n.isVisible&&!1!==n.opts.hideOnClose&&n.$grid.hide()}})}(document,jQuery),function(e,t){"use strict";t.extend(!0,t.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>'}}),t(e).on("click","[data-fancybox-share]",(function(){var e,n,i,o,r=t.fancybox.getInstance(),s=r.current||null;s&&("function"===t.type(s.opts.share.url)&&(e=s.opts.share.url.apply(s,[r,s])),n=s.opts.share.tpl.replace(/\{\{media\}\}/g,"image"===s.type?encodeURIComponent(s.src):"").replace(/\{\{url\}\}/g,encodeURIComponent(e)).replace(/\{\{url_raw\}\}/g,(i=e,o={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/","`":"`","=":"="},String(i).replace(/[&<>"'`=\/]/g,(function(e){return o[e]})))).replace(/\{\{descr\}\}/g,r.$caption?encodeURIComponent(r.$caption.text()):""),t.fancybox.open({src:r.translate(r,n),type:"html",opts:{touch:!1,animationEffect:!1,afterLoad:function(e,t){r.$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),function(e,t,n){"use strict";function i(){var t=e.location.hash.substr(1),n=t.split("-"),i=n.length>1&&/^\+?\d+$/.test(n[n.length-1])&&parseInt(n.pop(-1),10)||1;return{hash:t,index:i<1?1:i,gallery:n.join("-")}}function o(e){""!==e.gallery&&n("[data-fancybox='"+n.escapeSelector(e.gallery)+"']").eq(e.index-1).focus().trigger("click.fb-start")}function r(e){var t,n;return!!e&&""!==(n=(t=e.current?e.current.opts:e.opts).hash||(t.$orig?t.$orig.data("fancybox")||t.$orig.data("fancybox-trigger"):""))&&n}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(t).on({"onInit.fb":function(e,t){var n,o;!1!==t.group[t.currIndex].opts.hash&&(n=i(),(o=r(t))&&n.gallery&&o==n.gallery&&(t.currIndex=n.index-1))},"beforeShow.fb":function(n,i,o,s){var a;o&&!1!==o.opts.hash&&(a=r(i))&&(i.currentHash=a+(i.group.length>1?"-"+(o.index+1):""),e.location.hash!=="#"+i.currentHash&&(s&&!i.origHash&&(i.origHash=e.location.hash),i.hashTimer&&clearTimeout(i.hashTimer),i.hashTimer=setTimeout((function(){"replaceState"in e.history?(e.history[s?"pushState":"replaceState"]({},t.title,e.location.pathname+e.location.search+"#"+i.currentHash),s&&(i.hasCreatedHistory=!0)):e.location.hash=i.currentHash,i.hashTimer=null}),300)))},"beforeClose.fb":function(n,i,o){o&&!1!==o.opts.hash&&(clearTimeout(i.hashTimer),i.currentHash&&i.hasCreatedHistory?e.history.back():i.currentHash&&("replaceState"in e.history?e.history.replaceState({},t.title,e.location.pathname+e.location.search+(i.origHash||"")):e.location.hash=i.origHash),i.currentHash=null)}}),n(e).on("hashchange.fb",(function(){var e=i(),t=null;n.each(n(".fancybox-container").get().reverse(),(function(e,i){var o=n(i).data("FancyBox");if(o&&o.currentHash)return t=o,!1})),t?t.currentHash===e.gallery+"-"+e.index||1===e.index&&t.currentHash==e.gallery||(t.currentHash=null,t.close()):""!==e.gallery&&o(e)})),setTimeout((function(){n.fancybox.getInstance()||o(i())}),50))}))}(window,document,jQuery),function(e,t){"use strict";var n=(new Date).getTime();t(e).on({"onInit.fb":function(e,t,i){t.$refs.stage.on("mousewheel DOMMouseScroll wheel MozMousePixelScroll",(function(e){var i=t.current,o=(new Date).getTime();t.group.length<2||!1===i.opts.wheel||"auto"===i.opts.wheel&&"image"!==i.type||(e.preventDefault(),e.stopPropagation(),i.$slide.hasClass("fancybox-animated")||(e=e.originalEvent||e,o-n<250||(n=o,t[(-e.deltaY||-e.deltaX||e.wheelDelta||-e.detail)<0?"next":"previous"]())))}))}})}(document,jQuery),function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t(require("jquery"));else if("function"==typeof define&&define.amd)define(["jquery"],t);else{var n="object"==typeof exports?t(require("jquery")):t(e.jQuery);
1for(var i in n)("object"==typeof exports?exports:e)[i]=n[i]}}("undefined"!=typeof self?self:this,(function(e){return function(){"use strict";var t={3046:function(e,t,n){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n(7149),n(3194),n(9302),n(4013),n(3851),n(219),n(207),n(5296);var o=((i=n(2394))&&i.__esModule?i:{default:i}).default;t.default=o},8741:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=!("undefined"==typeof window||!window.document||!window.document.createElement);t.default=n},3976:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(2839),o={_maxTestPos:500,placeholder:"_",optionalmarker:["[","]"],quantifiermarker:["{","}"],groupmarker:["(",")"],alternatormarker:"|",escapeChar:"\\",mask:null,regex:null,oncomplete:function(){},onincomplete:function(){},oncleared:function(){},repeat:0,greedy:!1,autoUnmask:!1,removeMaskOnSubmit:!1,clearMaskOnLostFocus:!0,insertMode:!0,insertModeVisual:!0,clearIncomplete:!1,alias:null,onKeyDown:function(){},onBeforeMask:null,onBeforePaste:function(e,t){return"function"==typeof t.onBeforeMask?t.onBeforeMask.call(this,e,t):e},onBeforeWrite:null,onUnMask:null,showMaskOnFocus:!0,showMaskOnHover:!0,onKeyValidation:function(){},skipOptionalPartCharacter:" ",numericInput:!1,rightAlign:!1,undoOnEscape:!0,radixPoint:"",_radixDance:!1,groupSeparator:"",keepStatic:null,positionCaretOnTab:!0,tabThrough:!1,supportsInputType:["text","tel","url","password","search"],ignorables:[i.keys.Backspace,i.keys.Tab,i.keys.Pause,i.keys.Escape,i.keys.PageUp,i.keys.PageDown,i.keys.End,i.keys.Home,i.keys.ArrowLeft,i.keys.ArrowUp,i.keys.ArrowRight,i.keys.ArrowDown,i.keys.Insert,i.keys.Delete,i.keys.ContextMenu,i.keys.F1,i.keys.F2,i.keys.F3,i.keys.F4,i.keys.F5,i.keys.F6,i.keys.F7,i.keys.F8,i.keys.F9,i.keys.F10,i.keys.F11,i.keys.F12,i.keys.Process,i.keys.Unidentified,i.keys.Shift,i.keys.Control,i.keys.Alt,i.keys.Tab,i.keys.AltGraph,i.keys.CapsLock],isComplete:null,preValidation:null,postValidation:null,staticDefinitionSymbol:void 0,jitMasking:!1,nullable:!0,inputEventOnly:!1,noValuePatching:!1,positionCaretOnClick:"lvp",casing:null,inputmode:"text",importDataAttributes:!0,shiftPositions:!0,usePrototypeDefinitions:!0,validationEventTimeOut:3e3,substitutes:{}};t.default=o},7392:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={9:{validator:"[0-9ï¼-ï¼]",definitionSymbol:"*"},a:{validator:"[A-Za-zÐ-ÑÐÑÃ-ÿµ]",definitionSymbol:"*"},"*":{validator:"[0-9ï¼-ï¼A-Za-zÐ-ÑÐÑÃ-ÿµ]"}}},3287:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i,o=(i=n(7957))&&i.__esModule?i:{default:i};if(void 0===o.default)throw"jQuery not loaded!";var r=o.default;t.default=r},9845:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mobile=t.iphone=t.ie=void 0;var i,o=(i=n(9380))&&i.__esModule?i:{default:i},r=o.default.navigator&&o.default.navigator.userAgent||"",s=r.indexOf("MSIE ")>0||r.indexOf("Trident/")>0,a=navigator.userAgentData&&navigator.userAgentData.mobile||o.default.navigator&&o.default.navigator.maxTouchPoints||"ontouchstart"in o.default,l=/iphone/i.test(r);t.iphone=l,t.mobile=a,t.ie=s},7184:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(n,"\\$1")};var n=new RegExp("(\\"+["/",".","*","+","?","|","(",")","[","]","{","}","\\","$","^"].join("|\\")+")","gim")},6030:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventHandlers=void 0;var i=n(8711),o=n(2839),r=n(9845),s=n(7215),a=n(7760),l=n(4713);function c(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var i=0,o=function(){};return{s:o,n:function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,r=e}
vendor: 8,487 bytes, line 1
1,f:function(){try{s||null==n.return||n.return()}finally{if(a)throw r}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}var u={keyEvent:function(e,t,n,c,d){var h=this.inputmask,f=h.opts,p=h.dependencyLib,g=h.maskset,m=this,v=p(m),y=e.key,b=i.caret.call(h,m),w=f.onKeyDown.call(this,e,i.getBuffer.call(h),b,f);if(void 0!==w)return w;if(y===o.keys.Backspace||y===o.keys.Delete||r.iphone&&y===o.keys.BACKSPACE_SAFARI||e.ctrlKey&&y===o.keys.x&&!("oncut"in m))e.preventDefault(),s.handleRemove.call(h,m,y,b),(0,a.writeBuffer)(m,i.getBuffer.call(h,!0),g.p,e,m.inputmask._valueGet()!==i.getBuffer.call(h).join(""));else if(y===o.keys.End||y===o.keys.PageDown){e.preventDefault();var x=i.seekNext.call(h,i.getLastValidPosition.call(h));i.caret.call(h,m,e.shiftKey?b.begin:x,x,!0)}else y===o.keys.Home&&!e.shiftKey||y===o.keys.PageUp?(e.preventDefault(),i.caret.call(h,m,0,e.shiftKey?b.begin:0,!0)):f.undoOnEscape&&y===o.keys.Escape&&!0!==e.altKey?((0,a.checkVal)(m,!0,!1,h.undoValue.split("")),v.trigger("click")):y!==o.keys.Insert||e.shiftKey||e.ctrlKey||void 0!==h.userOptions.insertMode?!0===f.tabThrough&&y===o.keys.Tab?!0===e.shiftKey?(b.end=i.seekPrevious.call(h,b.end,!0),!0===l.getTest.call(h,b.end-1).match.static&&b.end--,b.begin=i.seekPrevious.call(h,b.end,!0),b.begin>=0&&b.end>0&&(e.preventDefault(),i.caret.call(h,m,b.begin,b.end))):(b.begin=i.seekNext.call(h,b.begin,!0),b.end=i.seekNext.call(h,b.begin,!0),b.end<g.maskLength&&b.end--,b.begin<=g.maskLength&&(e.preventDefault(),i.caret.call(h,m,b.begin,b.end))):e.shiftKey||f.insertModeVisual&&!1===f.insertMode&&(y===o.keys.ArrowRight?setTimeout((function(){var e=i.caret.call(h,m);i.caret.call(h,m,e.begin)}),0):y===o.keys.ArrowLeft&&setTimeout((function(){var e=i.translatePosition.call(h,m.inputmask.caretPos.begin);i.translatePosition.call(h,m.inputmask.caretPos.end),h.isRTL?i.caret.call(h,m,e+(e===g.maskLength?0:1)):i.caret.call(h,m,e-(0===e?0:1))}),0)):s.isSelection.call(h,b)?f.insertMode=!f.insertMode:(f.insertMode=!f.insertMode,i.caret.call(h,m,b.begin,b.begin));return h.isComposing=y==o.keys.Process||y==o.keys.Unidentified,h.ignorable=f.ignorables.includes(y),u.keypressEvent.call(this,e,t,n,c,d)},keypressEvent:function(e,t,n,r,l){var c=this.inputmask||this,d=c.opts,u=c.dependencyLib,h=c.maskset,f=c.el,p=u(f),g=e.key;if(!0===t||e.ctrlKey&&e.altKey||!(e.ctrlKey||e.metaKey||c.ignorable)){if(g){var m,v=t?{begin:l,end:l}:i.caret.call(c,f);g=d.substitutes[g]||g,h.writeOutBuffer=!0;var y=s.isValid.call(c,v,g,r,void 0,void 0,void 0,t);if(!1!==y&&(i.resetMaskSet.call(c,!0),m=void 0!==y.caret?y.caret:i.seekNext.call(c,y.pos.begin?y.pos.begin:y.pos),h.p=m),m=d.numericInput&&void 0===y.caret?i.seekPrevious.call(c,m):m,!1!==n&&(setTimeout((function(){d.onKeyValidation.call(f,g,y)}),0),h.writeOutBuffer&&!1!==y)){var b=i.getBuffer.call(c);(0,a.writeBuffer)(f,b,m,e,!0!==t)}if(e.preventDefault(),t)return!1!==y&&(y.forwardPosition=m),y}}else g===o.keys.Enter&&c.undoValue!==c._valueGet(!0)&&(c.undoValue=c._valueGet(!0),setTimeout((function(){p.trigger("change")}),0))},pasteEvent:function(e){var t,n=this.inputmask,o=n.opts,r=n._valueGet(!0),s=i.caret.call(n,this);n.isRTL&&(t=s.end,s.end=i.translatePosition.call(n,s.begin),s.begin=i.translatePosition.call(n,t));var l=r.substr(0,s.begin),d=r.substr(s.end,r.length);if(l==(n.isRTL?i.getBufferTemplate.call(n).slice().reverse():i.getBufferTemplate.call(n)).slice(0,s.begin).join("")&&(l=""),d==(n.isRTL?i.getBufferTemplate.call(n).slice().reverse():i.getBufferTemplate.call(n)).slice(s.end).join("")&&(d=""),window.clipboardData&&window.clipboardData.getData)r=l+window.clipboardData.getData("Text")+d;else{if(!e.clipboardData||!e.clipboardData.getData)return!0;r=l+e.clipboardData.getData("text/plain")+d}var u=r;if(n.isRTL){u=u.split("");var h,f=c(i.getBufferTemplate.call(n));try{for(f.s();!(h=f.n()).done;){var p=h.value;u[0]===p&&u.shift()}}catch(e){f.e(e)}finally{f.f()}u=u.join("")}if("function"==typeof o.onBeforePaste){if(!1===(u=o.onBeforePaste.call(n,u,o)))return!1;u||(u=r)}(0,a.checkVal)(this,!0,!1,u.toString().split(""),e),e.preventDefault()},inputFallBackEvent:function(e){var t,n=this.inputmask,s=n.opts,c=n.dependencyLib,d=this,h=d.inputmask._valueGet(!0),f=(n.isRTL?i.getBuffer.call(n).slice().reverse():i.getBuffer.call(n)).join(""),p=i.caret.call(n,d,void 0,void 0,!0);if(f!==h){if(t=function(e,t,o){for(var r,a,c,d=e.substr(0,o.begin).split(""),u=e.substr(o.begin).split(""),h=t.substr(0,o.begin).split(""),f=t.substr(o.begin).split(""),p=d.length>=h.length?d.length:h.length,g=u.length>=f.length?u.length:f.length,m="",v=[],y="~";d.length<p;)d.push(y);for(;h.length<p;)h.push(y);for(;u.length<g;)u.unshift(y);for(;f.length<g;)f.unshift(y);var b=d.concat(u),w=h.concat(f);for(a=0,r=b.length;a<r;a++)switch(c=l.getPlaceholder.call(n,i.translatePosition.call(n,a)),m){case"insertText":w[a-1]===b[a]&&o.begin==b.length-1&&v.push(b[a]),a=r;break;case"insertReplacementText":case"deleteContentBackward":b[a]===y?o.end++:a=r;break;default:b[a]!==w[a]&&(b[a+1]!==y&&b[a+1]!==c&&void 0!==b[a+1]||(w[a]!==c||w[a+1]!==y)&&w[a]!==y?w[a+1]===y&&w[a]===b[a+1]?(m="insertText",v.push(b[a]),o.begin--,o.end--):b[a]!==c&&b[a]!==y&&(b[a+1]===y||w[a]!==b[a]&&w[a+1]===b[a+1])?(m="insertReplacementText",v.push(b[a]),o.begin--):b[a]===y?(m="deleteContentBackward",(i.isMask.call(n,i.translatePosition.call(n,a),!0)||w[a]===s.radixPoint)&&o.end++):a=r:(m="insertText",v.push(b[a]),o.begin--,o.end--))}return{action:m,data:v,caret:o}}(h,f,p),(d.inputmask.shadowRoot||d.ownerDocument).activeElement!==d&&d.focus(),(0,a.writeBuffer)(d,i.getBuffer.call(n)),i.caret.call(n,d,p.begin,p.end,!0),!r.mobile&&n.skipNextInsert&&"insertText"===e.inputType&&"insertText"===t.action&&n.isComposing)return!1;switch("insertCompositionText"===e.inputType&&"insertText"===t.action&&n.isComposing?n.skipNextInsert=!0:n.skipNextInsert=!1,t.action){case"insertText":case"insertReplacementText":t.data.forEach((function(e,t){var i=new c.Event("keypress");i.key=e,n.ignorable=!1,u.keypressEvent.call(d,i)})),setTimeout((function(){n.$el.trigger("keyup")}),0);break;case"deleteContentBackward":var g=new c.Event("keydown");g.key=o.keys.Backspace,u.keyEvent.call(d,g);break;default:(0,a.applyInputValue)(d,h),i.caret.call(n,d,p.begin,p.end,!0)}e.preventDefault()}},setValueEvent:function(e){var t=this.inputmask,n=this,o=e&&e.detail?e.detail[0]:arguments[1];void 0===o&&(o=n.inputmask._valueGet(!0)),(0,a.applyInputValue)(n,o),(e.detail&&void 0!==e.detail[1]||void 0!==arguments[2])&&i.caret.call(t,n,e.detail?e.detail[1]:arguments[2])},focusEvent:function(e){var t=this.inputmask,n=t.opts,o=null==t?void 0:t._valueGet();n.showMaskOnFocus&&o!==i.getBuffer.call(t).join("")&&(0,a.writeBuffer)(this,i.getBuffer.call(t),i.seekNext.call(t,i.getLastValidPosition.call(t))),!0!==n.positionCaretOnTab||!1!==t.mouseEnter||s.isComplete.call(t,i.getBuffer.call(t))&&-1!==i.getLastValidPosition.call(t)||u.clickEvent.apply(this,[e,!0]),t.undoValue=null==t?void 0:t._valueGet(!0)},invalidEvent:function(e){this.inputmask.validationEvent=!0},mouseleaveEvent:function(){var e=this.inputmask,t=e.opts,n=this;e.mouseEnter=!1,t.clearMaskOnLostFocus&&(n.inputmask.shadowRoot||n.ownerDocument).activeElement!==n&&(0,a.HandleNativePlaceholder)(n,e.originalPlaceholder)},clickEvent:function(e,t){var n=this.inputmask;n.clicked++;var o=this;if((o.inputmask.shadowRoot||o.ownerDocument).activeElement===o){var r=i.determineNewCaretPosition.call(n,i.caret.call(n,o),t);void 0!==r&&i.caret.call(n,o,r)}},cutEvent:function(e){var t=this.inputmask,n=t.maskset,r=this,l=i.caret.call(t,r),c=t.isRTL?i.getBuffer.call(t).slice(l.end,l.begin):i.getBuffer.call(t).slice(l.begin,l.end),d=t.isRTL?c.reverse().join(""):c.join("");window.navigator.clipboard?window.navigator.clipboard.writeText(d):window.clipboardData&&window.clipboardData.getData&&window.clipboardData.setData("Text",d),s.handleRemove.call(t,r,o.keys.Delete,l),(0,a.writeBuffer)(r,i.getBuffer.call(t),n.p,e,t.undoValue!==t._valueGet(!0))},blurEvent:function(e){var t=this.inputmask,n=t.opts,o=t.dependencyLib;t.clicked=0;var r=o(this),l=this;if(l.inputmask){(0,a.HandleNativePlaceholder)(l,t.originalPlaceholder);var c=l.inputmask._valueGet(),d=i.getBuffer.call(t).slice();""!==c&&(n.clearMaskOnLostFocus&&(-1===i.getLastValidPosition.call(t)&&c===i.getBufferTemplate.call(t).join("")?d=[]:a.clearOptionalTail.call(t,d)),!1===s.isComplete.call(t,d)&&(setTimeout((function(){r.trigger("incomplete")}
1),0),n.clearIncomplete&&(i.resetMaskSet.call(t),d=n.clearMaskOnLostFocus?[]:i.getBufferTemplate.call(t).slice())),(0,a.writeBuffer)(l,d,void 0,e)),t.undoValue!==t._valueGet(!0)&&(t.undoValue=t._valueGet(!0),r.trigger("change"))}},mouseenterEvent:function(){var e=this.inputmask,t=e.opts.showMaskOnHover,n=this;if(e.mouseEnter=!0,(n.inputmask.shadowRoot||n.ownerDocument).activeElement!==n){var o=(e.isRTL?i.getBufferTemplate.call(e).slice().reverse():i.getBufferTemplate.call(e)).join("");t&&(0,a.HandleNativePlaceholder)(n,o)}},submitEvent:function(){var e=this.inputmask,t=e.opts;e.undoValue!==e._valueGet(!0)&&e.$el.trigger("change"),-1===i.getLastValidPosition.call(e)&&e._valueGet&&e._valueGet()===i.getBufferTemplate.call(e).join("")&&e._valueSet(""),t.clearIncomplete&&!1===s.isComplete.call(e,i.getBuffer.call(e))&&e._valueSet(""),t.removeMaskOnSubmit&&(e._valueSet(e.unmaskedvalue(),!0),setTimeout((function(){(0,a.writeBuffer)(e.el,i.getBuffer.call(e))}),0))},resetEvent:function(){var e=this.inputmask;e.refreshValue=!0,setTimeout((function(){(0,a.applyInputValue)(e.el,e._valueGet(!0))}),0)}};t.EventHandlers=u},9716:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.EventRuler=void 0;var i,o=(i=n(2394))&&i.__esModule?i:{default:i},r=n(2839),s=n(8711),a=n(7760),l={on:function(e,t,n){var i=e.inputmask.dependencyLib,l=function(t){t.originalEvent&&(t=t.originalEvent||t,arguments[0]=t);var l,c=this,d=c.inputmask,u=d?d.opts:void 0;if(void 0===d&&"FORM"!==this.nodeName){var h=i.data(c,"_inputmask_opts");i(c).off(),h&&new o.default(h).mask(c)}else{if(["submit","reset","setvalue"].includes(t.type)||"FORM"===this.nodeName||!(c.disabled||c.readOnly&&!("keydown"===t.type&&t.ctrlKey&&t.key===r.keys.c||!1===u.tabThrough&&t.key===r.keys.Tab))){switch(t.type){case"input":if(!0===d.skipInputEvent)return d.skipInputEvent=!1,t.preventDefault();break;case"click":case"focus":return d.validationEvent?(d.validationEvent=!1,e.blur(),(0,a.HandleNativePlaceholder)(e,(d.isRTL?s.getBufferTemplate.call(d).slice().reverse():s.getBufferTemplate.call(d)).join("")),setTimeout((function(){e.focus()}),u.validationEventTimeOut),!1):(l=arguments,void setTimeout((function(){e.inputmask&&n.apply(c,l)}),0))}var f=n.apply(c,arguments);return!1===f&&(t.preventDefault(),t.stopPropagation()),f}t.preventDefault()}};["submit","reset"].includes(t)?(l=l.bind(e),null!==e.form&&i(e.form).on(t,l)):i(e).on(t,l),e.inputmask.events[t]=e.inputmask.events[t]||[],e.inputmask.events[t].push(l)},off:function(e,t){if(e.inputmask&&e.inputmask.events){var n=e.inputmask.dependencyLib,i=e.inputmask.events;for(var o in t&&((i=[])[t]=e.inputmask.events[t]),i){for(var r=i[o];r.length>0;){var s=r.pop();["submit","reset"].includes(o)?null!==e.form&&n(e.form).off(o,s):n(e).off(o,s)}delete e.inputmask.events[o]}}}};t.EventRuler=l},219:function(e,t,n){var i=d(n(2394)),o=n(2839),r=d(n(7184)),s=n(8711),a=n(4713);function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function c(e){return c="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},c(e)}function d(e){return e&&e.__esModule?e:{default:e}}var u=i.default.dependencyLib,h=function(){function e(t,n,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.mask=t,this.format=n,this.opts=i,this._date=new Date(1,0,1),this.initDateObject(t,this.opts)}var t,n;return t=e,(n=[{key:"date",get:function(){return void 0===this._date&&(this._date=new Date(1,0,1),this.initDateObject(void 0,this.opts)),this._date}},{key:"initDateObject",value:function(e,t){var n;for(w(t).lastIndex=0;n=w(t).exec(this.format);){var i=new RegExp("\\d+$").exec(n[0]),o=i?n[0][0]+"x":n[0],r=void 0;if(void 0!==e){if(i){var s=w(t).lastIndex,a=_(n.index,t);w(t).lastIndex=s,r=e.slice(0,e.indexOf(a.nextMatch[0]))}else r=e.slice(0,g[o]&&g[o][4]||o.length);e=e.slice(r.length)}Object.prototype.hasOwnProperty.call(g,o)&&this.setValue(this,r,o,g[o][2],g[o][1])}}},{key:"setValue",value:function(e,t,n,i,o){if(void 0!==t&&(e[i]="ampm"===i?t:t.replace(/[^0-9]/g,"0"),e["raw"+i]=t.replace(/\s/g,"_")),void 0!==o){var r=e[i];("day"===i&&29===parseInt(r)||"month"===i&&2===parseInt(r))&&(29!==parseInt(e.day)||2!==parseInt(e.month)||""!==e.year&&void 0!==e.year||e._date.setFullYear(2012,1,29)),"day"===i&&(p=!0,0===parseInt(r)&&(r=1)),"month"===i&&(p=!0),"
1year"===i&&(p=!0,r.length<4&&(r=E(r,4,!0))),""===r||isNaN(r)||o.call(e._date,r),"ampm"===i&&o.call(e._date,r)}}},{key:"reset",value:function(){this._date=new Date(1,0,1)}},{key:"reInit",value:function(){this._date=void 0,this.date}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,(o=function(e,t){if("object"!==c(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!==c(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(i.key),"symbol"===c(o)?o:String(o)),i)}var o}(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),f=(new Date).getFullYear(),p=!1,g={d:["[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",Date.prototype.getDate],dd:["0[1-9]|[12][0-9]|3[01]",Date.prototype.setDate,"day",function(){return E(Date.prototype.getDate.call(this),2)}],ddd:[""],dddd:[""],m:["[1-9]|1[012]",function(e){var t=e?parseInt(e):0;return t>0&&t--,Date.prototype.setMonth.call(this,t)},"month",function(){return Date.prototype.getMonth.call(this)+1}],mm:["0[1-9]|1[012]",function(e){var t=e?parseInt(e):0;return t>0&&t--,Date.prototype.setMonth.call(this,t)},"month",function(){return E(Date.prototype.getMonth.call(this)+1,2)}],mmm:[""],mmmm:[""],yy:["[0-9]{2}",Date.prototype.setFullYear,"year",function(){return E(Date.prototype.getFullYear.call(this),2)}],yyyy:["[0-9]{4}",Date.prototype.setFullYear,"year",function(){return E(Date.prototype.getFullYear.call(this),4)}],h:["[1-9]|1[0-2]",Date.prototype.setHours,"hours",Date.prototype.getHours],hh:["0[1-9]|1[0-2]",Date.prototype.setHours,"hours",function(){return E(Date.prototype.getHours.call(this),2)}],hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return Date.prototype.getHours}],H:["1?[0-9]|2[0-3]",Date.prototype.setHours,"hours",Date.prototype.getHours],HH:["0[0-9]|1[0-9]|2[0-3]",Date.prototype.setHours,"hours",function(){return E(Date.prototype.getHours.call(this),2)}],Hx:[function(e){return"[0-9]{".concat(e,"}")},Date.prototype.setHours,"hours",function(e){return function(){return E(Date.prototype.getHours.call(this),e)}}],M:["[1-5]?[0-9]",Date.prototype.setMinutes,"minutes",Date.prototype.getMinutes],MM:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setMinutes,"minutes",function(){return E(Date.prototype.getMinutes.call(this),2)}],s:["[1-5]?[0-9]",Date.prototype.setSeconds,"seconds",Date.prototype.getSeconds],ss:["0[0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9]",Date.prototype.setSeconds,"seconds",function(){return E(Date.prototype.getSeconds.call(this),2)}],l:["[0-9]{3}",Date.prototype.setMilliseconds,"milliseconds",function(){return E(Date.prototype.getMilliseconds.call(this),3)},3],L:["[0-9]{2}",Date.prototype.setMilliseconds,"milliseconds",function(){return E(Date.prototype.getMilliseconds.call(this),2)},2],t:["[ap]",v,"ampm",y,1],tt:["[ap]m",v,"ampm",y,2],T:["[AP]",v,"ampm",y,1],TT:["[AP]M",v,"ampm",y,2],Z:[".*",void 0,"Z",function(){var e=this.toString().match(/\((.+)\)/)[1];return e.includes(" ")&&(e=(e=e.replace("-"," ").toUpperCase()).split(" ").map((function(e){return function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,s,a=[],l=!0,c=!1;try{for(r=(n=n.call(e)).next,0;!(l=(i=r.call(n)).done)&&(a.push(i.value),1!==a.length);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e)||function(e,t){if(e){if("string"==typeof e)return l(e,1);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(e,1):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e)[0]})).join("")),e}],o:[""],S:[""]},m={isoDate:"yyyy-mm-dd",isoTime:"HH:MM:ss",isoDateTime:"yyyy-mm-dd'T'HH:MM:ss",isoUtcDateTime:"UTC:yyyy-mm-dd'T'HH:MM:ss'Z'"};function v(e){var t=this.getHours();e.toLowerCase().includes("p")?this.setHours(t+12):e.toLowerCase().includes("a")&&t>=12&&this.setHours(t-12)}function y(){var e=this.getHours();return(e=e||12)>=12?"PM":"AM"}function b(e){var t=new RegExp("\\d+$").exec(e[0]);if(t&&void 0!==t[0]){var n=g[e[0][0]+"x"].slice("");return n[0]=n[0](t[0]),n[3]=n[3](t[0]),n}if(g[e[0]])return g[e[0]]}function w(e){if(!e.tokenizer){var t=[],n=[];for(var i in g)if(/\.*x$/.test(i)){var o=i[0]+"\\d+";-1===n.indexOf(o)&&n.push(o)}
1else-1===t.indexOf(i[0])&&t.push(i[0]);e.tokenizer="("+(n.length>0?n.join("|")+"|":"")+t.join("+|")+")+?|.",e.tokenizer=new RegExp(e.tokenizer,"g")}return e.tokenizer}function x(e,t,n){if(!p)return!0;if(void 0===e.rawday||!isFinite(e.rawday)&&new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day||"29"==e.day&&(!isFinite(e.rawyear)||void 0===e.rawyear||""===e.rawyear)||new Date(e.date.getFullYear(),isFinite(e.rawmonth)?e.month:e.date.getMonth()+1,0).getDate()>=e.day)return t;if("29"==e.day){var i=_(t.pos,n);if("yyyy"===i.targetMatch[0]&&t.pos-i.targetMatchIndex==2)return t.remove=t.pos+1,t}else if("02"==e.month&&"30"==e.day&&void 0!==t.c)return e.day="03",e.date.setDate(3),e.date.setMonth(1),t.insert=[{pos:t.pos,c:"0"},{pos:t.pos+1,c:t.c}],t.caret=s.seekNext.call(this,t.pos+1),t;return!1}function k(e,t,n,i){var o,s,a="";for(w(n).lastIndex=0;o=w(n).exec(e);)if(void 0===t)if(s=b(o))a+="("+s[0]+")";else switch(o[0]){case"[":a+="(";break;case"]":a+=")?";break;default:a+=(0,r.default)(o[0])}else(s=b(o))?!0!==i&&s[3]?a+=s[3].call(t.date):s[2]?a+=t["raw"+s[2]]:a+=o[0]:a+=o[0];return a}function E(e,t,n){for(e=String(e),t=t||2;e.length<t;)e=n?e+"0":"0"+e;return e}function S(e,t,n){return"string"==typeof e?new h(e,t,n):e&&"object"===c(e)&&Object.prototype.hasOwnProperty.call(e,"date")?e:void 0}function C(e,t){return k(t.inputFormat,{date:e},t)}function _(e,t){var n,i,o=0,r=0;for(w(t).lastIndex=0;i=w(t).exec(t.inputFormat);){var s=new RegExp("\\d+$").exec(i[0]);if((o+=r=s?parseInt(s[0]):i[0].length)>=e+1){n=i,i=w(t).exec(t.inputFormat);break}}return{targetMatchIndex:o-r,nextMatch:i,targetMatch:n}}i.default.extendAliases({datetime:{mask:function(e){return e.numericInput=!1,g.S=e.i18n.ordinalSuffix.join("|"),e.inputFormat=m[e.inputFormat]||e.inputFormat,e.displayFormat=m[e.displayFormat]||e.displayFormat||e.inputFormat,e.outputFormat=m[e.outputFormat]||e.outputFormat||e.inputFormat,e.placeholder=""!==e.placeholder?e.placeholder:e.inputFormat.replace(/[[\]]/,""),e.regex=k(e.inputFormat,void 0,e),e.min=S(e.min,e.inputFormat,e),e.max=S(e.max,e.inputFormat,e),null},placeholder:"",inputFormat:"isoDateTime",displayFormat:null,outputFormat:null,min:null,max:null,skipOptionalPartCharacter:"",i18n:{dayNames:["Mon","Tue","Wed","Thu","Fri","Sat","Sun","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"],monthNames:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec","January","February","March","April","May","June","July","August","September","October","November","December"],ordinalSuffix:["st","nd","rd","th"]},preValidation:function(e,t,n,i,o,r,s,a){if(a)return!0;if(isNaN(n)&&e[t]!==n){var l=_(t,o);if(l.nextMatch&&l.nextMatch[0]===n&&l.targetMatch[0].length>1){var c=g[l.targetMatch[0]][0];if(new RegExp(c).test("0"+e[t-1]))return e[t]=e[t-1],e[t-1]="0",{fuzzy:!0,buffer:e,refreshFromBuffer:{start:t-1,end:t+1},pos:t+1}}}return!0},postValidation:function(e,t,n,i,o,r,s,l){var c,d;if(s)return!0;if(!1===i&&(((c=_(t+1,o)).targetMatch&&c.targetMatchIndex===t&&c.targetMatch[0].length>1&&void 0!==g[c.targetMatch[0]]||(c=_(t+2,o)).targetMatch&&c.targetMatchIndex===t+1&&c.targetMatch[0].length>1&&void 0!==g[c.targetMatch[0]])&&(d=g[c.targetMatch[0]][0]),void 0!==d&&(void 0!==r.validPositions[t+1]&&new RegExp(d).test(n+"0")?(e[t]=n,e[t+1
1]="0",i={pos:t+2,caret:t}):new RegExp(d).test("0"+n)&&(e[t]="0",e[t+1]=n,i={pos:t+2})),!1===i))return i;if(i.fuzzy&&(e=i.buffer,t=i.pos),(c=_(t,o)).targetMatch&&c.targetMatch[0]&&void 0!==g[c.targetMatch[0]]){var u=g[c.targetMatch[0]];d=u[0];var h=e.slice(c.targetMatchIndex,c.targetMatchIndex+c.targetMatch[0].length);if(!1===new RegExp(d).test(h.join(""))&&2===c.targetMatch[0].length&&r.validPositions[c.targetMatchIndex]&&r.validPositions[c.targetMatchIndex+1]&&(r.validPositions[c.targetMatchIndex+1].input="0"),"year"==u[2])for(var p=a.getMaskTemplate.call(this,!1,1,void 0,!0),m=t+1;m<e.length;m++)e[m]=p[m],delete r.validPositions[m]}var v=i,y=S(e.join(""),o.inputFormat,o);return v&&!isNaN(y.date.getTime())&&(o.prefillYear&&(v=function(e,t,n){if(e.year!==e.rawyear){var i=f.toString(),o=e.rawyear.replace(/[^0-9]/g,""),r=i.slice(0,o.length),s=i.slice(o.length);if(2===o.length&&o===r){var a=new Date(f,e.month-1,e.day);e.day==a.getDate()&&(!n.max||n.max.date.getTime()>=a.getTime())&&(e.date.setFullYear(f),e.year=i,t.insert=[{pos:t.pos+1,c:s[0]},{pos:t.pos+2,c:s[1]}])}}return t}(y,v,o)),v=function(e,t,n,i,o){if(!t)return t;if(t&&n.min&&!isNaN(n.min.date.getTime())){var r;for(e.reset(),w(n).lastIndex=0;r=w(n).exec(n.inputFormat);){var s;if((s=b(r))&&s[3]){for(var a=s[1],l=e[s[2]],c=n.min[s[2]],d=n.max?n.max[s[2]]:c,u=[],h=!1,f=0;f<c.length;f++)void 0!==i.validPositions[f+r.index]||h?(u[f]=l[f],h=h||l[f]>c[f]):(u[f]=c[f],"year"===s[2]&&l.length-1==f&&c!=d&&(u=(parseInt(u.join(""))+1).toString().split("")),"ampm"===s[2]&&c!=d&&n.min.date.getTime()>e.date.getTime()&&(u[f]=d[f]));a.call(e._date,u.join(""))}}t=n.min.date.getTime()<=e.date.getTime(),e.reInit()}return t&&n.max&&(isNaN(n.max.date.getTime())||(t=n.max.date.getTime()>=e.date.getTime())),t}(y,v=x.call(this,y,v,o),o,r)),void 0!==t&&v&&i.pos!==t?{buffer:k(o.inputFormat,y,o).split(""),refreshFromBuffer:{start:t,end:i.pos},pos:i.caret||i.pos}:v},onKeyDown:function(e,t,n,i){e.ctrlKey&&e.key===o.keys.ArrowRight&&(this.inputmask._valueSet(C(new Date,i)),u(this).trigger("setvalue"))},onUnMask:function(e,t,n){return t?k(n.outputFormat,S(e,n.inputFormat,n),n,!0):t},casing:function(e,t,n,i){return 0==t.nativeDef.indexOf("[ap]")?e.toLowerCase():0==t.nativeDef.indexOf("[AP]")?e.toUpperCase():e},onBeforeMask:function(e,t){return"[object Date]"===Object.prototype.toString.call(e)&&(e=C(e,t)),e},insertMode:!1,insertModeVisual:!1,shiftPositions:!1,keepStatic:!1,inputmode:"numeric",prefillYear:!0}})},3851:function(e,t,n){var i,o=(i=n(2394))&&i.__esModule?i:{default:i},r=n(8711),s=n(4713);o.default.extendDefinitions({A:{validator:"[A-Za-zÐ-ÑÐÑÃ-ÿµ]",casing:"upper"},"&":{validator:"[0-9A-Za-zÐ-ÑÐÑÃ-ÿµ]",casing:"upper"},"#":{validator:"[0-9A-Fa-f]",casing:"upper"}});var a=new RegExp("25[0-5]|2[0-4][0-9]|[01][0-9][0-9]");function l(e,t,n,i,o){return n-1>-1&&"."!==t.buffer[n-1]?(e=t.buffer[n-1]+e,e=n-2>-1&&"."!==t.buffer[n-2]?t.buffer[n-2]+e:"0"+e):e="00"+e,a.test(e)}o.default.extendAliases({cssunit:{regex:"[+-]?[0-9]+\\.?([0-9]+)?(px|em|rem|ex|%|in|cm|mm|pt|pc)"},url:{regex:"(https?|ftp)://.*",autoUnmask:!1,keepStatic:!1,tabThrough:!0},ip:{mask:"i{1,3}.j{1,3}.k{1,3}.l{1,3}",definitions:{i:{validator:l},j:{validator:l},k:{validator:l},l:{validator:l}},onUnMask:function(e,t,n){return e},inputmode:"decimal",substitutes:{",":"."}},email:{mask:function(e){var t=e.separator,n=e.quantifier,i="*{1,64}[.*{1,64}][.*{1,64}][.*{1,63}]@-{1,63}.-{1,63}[.-{1,63}][.-{1,63}]",o=i;if(t)for(var r=0;r<n;r++)o+="[".concat(t).concat(i,"]");return o},greedy:!1,casing:"lower",separator:null,quantifier:5,skipOptionalPartCharacter:"",onBeforePaste:function(e,t){return(e=e.toLowerCase()).replace("mailto:","")},definitions:{"*":{validator:"[0-9ï¼-ï¼A-Za-zÐ-ÑÐÑÃ-ÿµ!#$%&'*+/=?^_`{|}~-]"},"-":{validator:"[0-9A-Za-z-]"}},onUnMask:function(e,t,n){return e},inputmode:"email"},mac:{mask:"##:##:##:##:##:##"},vin:{mask:"V{13}9{4}",definitions:{V:{validator:"[A-HJ-NPR-Za-hj-npr-z\\d]",casing:"upper"}},clearIncomplete:!0,autoUnmask:!0},ssn:{mask:"999-99-9999",postValidation:function(e,t,n,i,o,a,l){var c=s.getMaskTemplate.call(this,!0,r.getLastValidPosition.call(this),!0,!0);return/^(?!219-09-9999|078-05-1120)(?!666|000|9.{2}).{3}-(?!00).{2}-(?!0{4}).{4}$/.test(c.join(""))}}})},207:function(e,t,n){var i=a(n(2394)),o=a(n(7184)),r=n(8711),s=n(2839);
vendor: 2,245 bytes, line 1
1function a(e){return e&&e.__esModule?e:{default:e}}var l=i.default.dependencyLib;function c(e,t){for(var n="",o=0;o<e.length;o++)i.default.prototype.definitions[e.charAt(o)]||t.definitions[e.charAt(o)]||t.optionalmarker[0]===e.charAt(o)||t.optionalmarker[1]===e.charAt(o)||t.quantifiermarker[0]===e.charAt(o)||t.quantifiermarker[1]===e.charAt(o)||t.groupmarker[0]===e.charAt(o)||t.groupmarker[1]===e.charAt(o)||t.alternatormarker===e.charAt(o)?n+="\\"+e.charAt(o):n+=e.charAt(o);return n}function d(e,t,n,i){if(e.length>0&&t>0&&(!n.digitsOptional||i)){var o=e.indexOf(n.radixPoint),r=!1;n.negationSymbol.back===e[e.length-1]&&(r=!0,e.length--),-1===o&&(e.push(n.radixPoint),o=e.length-1);for(var s=1;s<=t;s++)isFinite(e[o+s])||(e[o+s]="0")}return r&&e.push(n.negationSymbol.back),e}function u(e,t){var n=0;for(var i in"+"===e&&(n=r.seekNext.call(this,t.validPositions.length-1)),t.tests)if((i=parseInt(i))>=n)for(var o=0,s=t.tests[i].length;o<s;o++)if((void 0===t.validPositions[i]||"-"===e)&&t.tests[i][o].match.def===e)return i+(void 0!==t.validPositions[i]&&"-"!==e?1:0);return n}function h(e,t){for(var n=-1,i=0,o=t.validPositions.length;i<o;i++){var r=t.validPositions[i];if(r&&r.match.def===e){n=i;break}}return n}function f(e,t,n,i,o){var r=t.buffer?t.buffer.indexOf(o.radixPoint):-1,s=(-1!==r||i&&o.jitMasking)&&new RegExp(o.definitions[9].validator).test(e);return o._radixDance&&-1!==r&&s&&null==t.validPositions[r]?{insert:{pos:r===n?r+1:r,c:o.radixPoint},pos:n}:s}i.default.extendAliases({numeric:{mask:function(e){e.repeat=0,e.groupSeparator===e.radixPoint&&e.digits&&"0"!==e.digits&&("."===e.radixPoint?e.groupSeparator=",":","===e.radixPoint?e.groupSeparator=".":e.groupSeparator="")," "===e.groupSeparator&&(e.skipOptionalPartCharacter=void 0),e.placeholder.length>1&&(e.placeholder=e.placeholder.charAt(0)),"radixFocus"===e.positionCaretOnClick&&""===e.placeholder&&(e.positionCaretOnClick="lvp");var t="0",n=e.radixPoint;!0===e.numericInput&&void 0===e.__financeInput?(t="1",e.positionCaretOnClick="radixFocus"===e.positionCaretOnClick?"lvp":e.positionCaretOnClick,e.digitsOptional=!1,isNaN(e.digits)&&(e.digits=2),e._radixDance=!1,n=","===e.radixPoint?"?":"!",""!==e.radixPoint&&void 0===e.definitions[n]&&(e.definitions[n]={}
vendor: 6,501 bytes, line 1
1,e.definitions[n].validator="["+e.radixPoint+"]",e.definitions[n].placeholder=e.radixPoint,e.definitions[n].static=!0,e.definitions[n].generated=!0)):(e.__financeInput=!1,e.numericInput=!0);var i,r="[+]";if(r+=c(e.prefix,e),""!==e.groupSeparator?(void 0===e.definitions[e.groupSeparator]&&(e.definitions[e.groupSeparator]={},e.definitions[e.groupSeparator].validator="["+e.groupSeparator+"]",e.definitions[e.groupSeparator].placeholder=e.groupSeparator,e.definitions[e.groupSeparator].static=!0,e.definitions[e.groupSeparator].generated=!0),r+=e._mask(e)):r+="9{+}",void 0!==e.digits&&0!==e.digits){var s=e.digits.toString().split(",");isFinite(s[0])&&s[1]&&isFinite(s[1])?r+=n+t+"{"+e.digits+"}":(isNaN(e.digits)||parseInt(e.digits)>0)&&(e.digitsOptional||e.jitMasking?(i=r+n+t+"{0,"+e.digits+"}",e.keepStatic=!0):r+=n+t+"{"+e.digits+"}")}else e.inputmode="numeric";return r+=c(e.suffix,e),r+="[-]",i&&(r=[i+c(e.suffix,e)+"[-]",r]),e.greedy=!1,function(e){void 0===e.parseMinMaxOptions&&(null!==e.min&&(e.min=e.min.toString().replace(new RegExp((0,o.default)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.min=e.min.replace(e.radixPoint,".")),e.min=isFinite(e.min)?parseFloat(e.min):NaN,isNaN(e.min)&&(e.min=Number.MIN_VALUE)),null!==e.max&&(e.max=e.max.toString().replace(new RegExp((0,o.default)(e.groupSeparator),"g"),""),","===e.radixPoint&&(e.max=e.max.replace(e.radixPoint,".")),e.max=isFinite(e.max)?parseFloat(e.max):NaN,isNaN(e.max)&&(e.max=Number.MAX_VALUE)),e.parseMinMaxOptions="done")}(e),""!==e.radixPoint&&e.substituteRadixPoint&&(e.substitutes["."==e.radixPoint?",":"."]=e.radixPoint),r},_mask:function(e){return"("+e.groupSeparator+"999){+|1}"},digits:"*",digitsOptional:!0,enforceDigitsOnBlur:!1,radixPoint:".",positionCaretOnClick:"radixFocus",_radixDance:!0,groupSeparator:"",allowMinus:!0,negationSymbol:{front:"-",back:""},prefix:"",suffix:"",min:null,max:null,SetMaxOnOverflow:!1,step:1,inputType:"text",unmaskAsNumber:!1,roundingFN:Math.round,inputmode:"decimal",shortcuts:{k:"1000",m:"1000000"},placeholder:"0",greedy:!1,rightAlign:!0,insertMode:!0,autoUnmask:!1,skipOptionalPartCharacter:"",usePrototypeDefinitions:!1,stripLeadingZeroes:!0,substituteRadixPoint:!0,definitions:{0:{validator:f},1:{validator:f,definitionSymbol:"9"},9:{validator:"[0-9ï¼-ï¼Ù -Ù©Û°-Û¹]",definitionSymbol:"*"},"+":{validator:function(e,t,n,i,o){return o.allowMinus&&("-"===e||e===o.negationSymbol.front)}},"-":{validator:function(e,t,n,i,o){return o.allowMinus&&e===o.negationSymbol.back}}},preValidation:function(e,t,n,i,o,r,s,a){if(!1!==o.__financeInput&&n===o.radixPoint)return!1;var l=e.indexOf(o.radixPoint),c=t;if(t=function(e,t,n,i,o){return o._radixDance&&o.numericInput&&t!==o.negationSymbol.back&&e<=n&&(n>0||t==o.radixPoint)&&(void 0===i.validPositions[e-1]||i.validPositions[e-1].input!==o.negationSymbol.back)&&(e-=1),e}(t,n,l,r,o),"-"===n||n===o.negationSymbol.front){if(!0!==o.allowMinus)return!1;var d=!1,f=h("+",r),p=h("-",r);return-1!==f&&(d=[f,p]),!1!==d?{remove:d,caret:c-o.negationSymbol.back.length}:{insert:[{pos:u.call(this,"+",r),c:o.negationSymbol.front,fromIsValid:!0},{pos:u.call(this,"-",r),c:o.negationSymbol.back,fromIsValid:void 0}],caret:c+o.negationSymbol.back.length}}if(n===o.groupSeparator)return{caret:c};if(a)return!0;if(-1!==l&&!0===o._radixDance&&!1===i&&n===o.radixPoint&&void 0!==o.digits&&(isNaN(o.digits)||parseInt(o.digits)>0)&&l!==t)return{caret:o._radixDance&&t===l-1?l+1:l};if(!1===o.__financeInput)if(i){if(o.digitsOptional)return{rewritePosition:s.end};if(!o.digitsOptional){if(s.begin>l&&s.end<=l)return n===o.radixPoint?{insert:{pos:l+1,c:"0",fromIsValid:!0},rewritePosition:l}:{rewritePosition:l+1};if(s.begin<l)return{rewritePosition:s.begin-1}}}else if(!o.showMaskOnHover&&!o.showMaskOnFocus&&!o.digitsOptional&&o.digits>0&&""===this.__valueGet.call(this.el))return{rewritePosition:l};return{rewritePosition:t}},postValidation:function(e,t,n,i,o,r,s){if(!1===i)return i;if(s)return!0;if(null!==o.min||null!==o.max){var a=o.onUnMask(e.slice().reverse().join(""),void 0,l.extend({},o,{unmaskAsNumber:!0}));if(null!==o.min&&a<o.min&&(a.toString().length>o.min.toString().length||a<0))return!1;if(null!==o.max&&a>o.max)return!!o.SetMaxOnOverflow&&{refreshFromBuffer:!0,buffer:d(o.max.toString().replace(".",o.radixPoint).split(""),o.digits,o).reverse()}}return i},onUnMask:function(e,t,n){if(""===t&&!0===n.nullable)return t;var i=e.replace(n.prefix,"");return i=(i=i.replace(n.suffix,"")).replace(new RegExp((0,o.default)(n.groupSeparator),"g"),""),""!==n.placeholder.charAt(0)&&(i=i.replace(new RegExp(n.placeholder.charAt(0),"g"),"0")),n.unmaskAsNumber?(""!==n.radixPoint&&-1!==i.indexOf(n.radixPoint)&&(i=i.replace(o.default.call(this,n.radixPoint),".")),i=(i=i.replace(new RegExp("^"+(0,o.default)(n.negationSymbol.front)),"-")).replace(new RegExp((0,o.default)(n.negationSymbol.back)+"$"),""),Number(i)):i},isComplete:function(e,t){var n=(t.numericInput?e.slice().reverse():e).join("");return n=(n=(n=(n=(n=n.replace(new RegExp("^"+(0,o.default)(t.negationSymbol.front)),"-")).replace(new RegExp((0,o.default)(t.negationSymbol.back)+"$"),"")).replace(t.prefix,"")).replace(t.suffix,"")).replace(new RegExp((0,o.default)(t.groupSeparator)+"([0-9]{3})","g"),"$1"),","===t.radixPoint&&(n=n.replace((0,o.default)(t.radixPoint),".")),isFinite(n)},onBeforeMask:function(e,t){var n=t.radixPoint||",";isFinite(t.digits)&&(t.digits=parseInt(t.digits)),"number"!=typeof e&&"number"!==t.inputType||""===n||(e=e.toString().replace(".",n));var i="-"===e.charAt(0)||e.charAt(0)===t.negationSymbol.front,r=e.split(n),s=r[0].replace(/[^\-0-9]/g,""),a=r.length>1?r[1].replace(/[^0-9]/g,""):"",l=r.length>1;e=s+(""!==a?n+a:a);var c=0;if(""!==n&&(c=t.digitsOptional?t.digits<a.length?t.digits:a.length:t.digits,""!==a||!t.digitsOptional)){var u=Math.pow(10,c||1);e=e.replace((0,o.default)(n),"."),isNaN(parseFloat(e))||(e=(t.roundingFN(parseFloat(e)*u)/u).toFixed(c)),e=e.toString().replace(".",n)}if(0===t.digits&&-1!==e.indexOf(n)&&(e=e.substring(0,e.indexOf(n))),null!==t.min||null!==t.max){var h=e.toString().replace(n,".");null!==t.min&&h<t.min?e=t.min.toString().replace(".",n):null!==t.max&&h>t.max&&(e=t.max.toString().replace(".",n))}return i&&"-"!==e.charAt(0)&&(e="-"+e),d(e.toString().split(""),c,t,l).join("")},onBeforeWrite:function(e,t,n,i){function r(e,t){if(!1!==i.__financeInput||t){var n=e.indexOf(i.radixPoint);-1!==n&&e.splice(n,1)}if(""!==i.groupSeparator)for(;-1!==(n=e.indexOf(i.groupSeparator));)e.splice(n,1);return e}var s,a;
vendor: 4,693 bytes, line 1
1if(i.stripLeadingZeroes&&(a=function(e,t){var n=new RegExp("(^"+(""!==t.negationSymbol.front?(0,o.default)(t.negationSymbol.front)+"?":"")+(0,o.default)(t.prefix)+")(.*)("+(0,o.default)(t.suffix)+(""!=t.negationSymbol.back?(0,o.default)(t.negationSymbol.back)+"?":"")+"$)").exec(e.slice().reverse().join("")),i=n?n[2]:"",r=!1;return i&&(i=i.split(t.radixPoint.charAt(0))[0],r=new RegExp("^[0"+t.groupSeparator+"]*").exec(i)),!(!r||!(r[0].length>1||r[0].length>0&&r[0].length<i.length))&&r}(t,i)))for(var c=t.join("").lastIndexOf(a[0].split("").reverse().join(""))-(a[0]==a.input?0:1),u=a[0]==a.input?1:0,h=a[0].length-u;h>0;h--)delete this.maskset.validPositions[c+h],delete t[c+h];if(e)switch(e.type){case"blur":case"checkval":if(null!==i.min){var f=i.onUnMask(t.slice().reverse().join(""),void 0,l.extend({},i,{unmaskAsNumber:!0}));if(null!==i.min&&f<i.min)return{refreshFromBuffer:!0,buffer:d(i.min.toString().replace(".",i.radixPoint).split(""),i.digits,i).reverse()}}if(t[t.length-1]===i.negationSymbol.front){var p=new RegExp("(^"+(""!=i.negationSymbol.front?(0,o.default)(i.negationSymbol.front)+"?":"")+(0,o.default)(i.prefix)+")(.*)("+(0,o.default)(i.suffix)+(""!=i.negationSymbol.back?(0,o.default)(i.negationSymbol.back)+"?":"")+"$)").exec(r(t.slice(),!0).reverse().join(""));0==(p?p[2]:"")&&(s={refreshFromBuffer:!0,buffer:[0]})}else""!==i.radixPoint&&t.indexOf(i.radixPoint)===i.suffix.length&&(s&&s.buffer?s.buffer.splice(0,1+i.suffix.length):(t.splice(0,1+i.suffix.length),s={refreshFromBuffer:!0,buffer:r(t)}));if(i.enforceDigitsOnBlur){var g=(s=s||{})&&s.buffer||t.slice().reverse();s.refreshFromBuffer=!0,s.buffer=d(g,i.digits,i,!0).reverse()}}return s},onKeyDown:function(e,t,n,i){var o,r=l(this);if(3!=e.location){var a,c=e.key;if((a=i.shortcuts&&i.shortcuts[c])&&a.length>1)return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())*parseInt(a)),r.trigger("setvalue"),!1}if(e.ctrlKey)switch(e.key){case s.keys.ArrowUp:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())+parseInt(i.step)),r.trigger("setvalue"),!1;case s.keys.ArrowDown:return this.inputmask.__valueSet.call(this,parseFloat(this.inputmask.unmaskedvalue())-parseInt(i.step)),r.trigger("setvalue"),!1}if(!e.shiftKey&&(e.key===s.keys.Delete||e.key===s.keys.Backspace||e.key===s.keys.BACKSPACE_SAFARI)&&n.begin!==t.length){if(t[e.key===s.keys.Delete?n.begin-1:n.end]===i.negationSymbol.front)return o=t.slice().reverse(),""!==i.negationSymbol.front&&o.shift(),""!==i.negationSymbol.back&&o.pop(),r.trigger("setvalue",[o.join(""),n.begin]),!1;if(!0===i._radixDance){var u=t.indexOf(i.radixPoint);if(i.digitsOptional){if(0===u)return(o=t.slice().reverse()).pop(),r.trigger("setvalue",[o.join(""),n.begin>=o.length?o.length:n.begin]),!1}else if(-1!==u&&(n.begin<u||n.end<u||e.key===s.keys.Delete&&(n.begin===u||n.begin-1===u))){var h=void 0;return n.begin===n.end&&(e.key===s.keys.Backspace||e.key===s.keys.BACKSPACE_SAFARI?n.begin++:e.key===s.keys.Delete&&n.begin-1===u&&(h=l.extend({},n),n.begin--,n.end--)),(o=t.slice().reverse()).splice(o.length-n.begin,n.begin-n.end+1),o=d(o,i.digits,i).join(""),h&&(n=h),r.trigger("setvalue",[o,n.begin>=o.length?u+1:n.begin]),!1}}}}},currency:{prefix:"",groupSeparator:",",alias:"numeric",digits:2,digitsOptional:!1},decimal:{alias:"numeric"},integer:{alias:"numeric",inputmode:"numeric",digits:0},percentage:{alias:"numeric",min:0,max:100,suffix:" %",digits:0,allowMinus:!1},indianns:{alias:"numeric",_mask:function(e){return"("+e.groupSeparator+"99){*|1}("+e.groupSeparator+"999){1|1}"},groupSeparator:",",radixPoint:".",placeholder:"0",digits:2,digitsOptional:!1}})},9380:function(e,t,n){var i;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=((i=n(8741))&&i.__esModule?i:{default:i}).default?window:{};t.default=o},7760:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.HandleNativePlaceholder=function(e,t){var n=e?e.inputmask:this;if(a.ie){if(e.inputmask._valueGet()!==t&&(e.placeholder!==t||""===e.placeholder)){var i=r.getBuffer.call(n).slice(),o=e.inputmask._valueGet();if(o!==t){var s=r.getLastValidPosition.call(n);-1===s&&o===r.getBufferTemplate.call(n).join("")?i=[]:-1!==s&&d.call(n,i),h(e,i)}}}else e.placeholder!==t&&(e.placeholder=t,""===e.placeholder&&e.removeAttribute("placeholder"))},t.applyInputValue=c,t.checkVal=u,t.clearOptionalTail=d,t.unmaskedvalue=function(e){var t=e?e.inputmask:this,n=t.opts,i=t.maskset;if(e){if(void 0===e.inputmask)return e.value;e.inputmask&&e.inputmask.refreshValue&&c(e,e.inputmask._valueGet(!0))}for(var o=[],s=i.validPositions,a=0,l=s.length;a<l;a++)s[a]&&s[a].match&&(1!=s[a].match.static||Array.isArray(i.metadata)&&
vendor: 4,111 bytes, line 1
1!0!==s[a].generatedInput)&&o.push(s[a].input);var d=0===o.length?"":(t.isRTL?o.reverse():o).join("");if("function"==typeof n.onUnMask){var u=(t.isRTL?r.getBuffer.call(t).slice().reverse():r.getBuffer.call(t)).join("");d=n.onUnMask.call(t,u,d,n)}return d},t.writeBuffer=h;var i=n(2839),o=n(4713),r=n(8711),s=n(7215),a=n(9845),l=n(6030);function c(e,t){var n=e?e.inputmask:this,i=n.opts;e.inputmask.refreshValue=!1,"function"==typeof i.onBeforeMask&&(t=i.onBeforeMask.call(n,t,i)||t),u(e,!0,!1,t=(t||"").toString().split("")),n.undoValue=n._valueGet(!0),(i.clearMaskOnLostFocus||i.clearIncomplete)&&e.inputmask._valueGet()===r.getBufferTemplate.call(n).join("")&&-1===r.getLastValidPosition.call(n)&&e.inputmask._valueSet("")}function d(e){e.length=0;for(var t,n=o.getMaskTemplate.call(this,!0,0,!0,void 0,!0);void 0!==(t=n.shift());)e.push(t);return e}function u(e,t,n,i,a){var c=e?e.inputmask:this,d=c.maskset,u=c.opts,f=c.dependencyLib,p=i.slice(),g="",m=-1,v=void 0,y=u.skipOptionalPartCharacter;u.skipOptionalPartCharacter="",r.resetMaskSet.call(c),d.tests={},m=u.radixPoint?r.determineNewCaretPosition.call(c,{begin:0,end:0},!1,!1===u.__financeInput?"radixFocus":void 0).begin:0,d.p=m,c.caretPos={begin:m};var b=[],w=c.caretPos;if(p.forEach((function(e,t){if(void 0!==e){var i=new f.Event("_checkval");i.key=e,g+=e;var s=r.getLastValidPosition.call(c,void 0,!0);!function(e,t){for(var n=o.getMaskTemplate.call(c,!0,0).slice(e,r.seekNext.call(c,e,!1,!1)).join("").replace(/'/g,""),i=n.indexOf(t);i>0&&" "===n[i-1];)i--;var s=0===i&&!r.isMask.call(c,e)&&(o.getTest.call(c,e).match.nativeDef===t.charAt(0)||!0===o.getTest.call(c,e).match.static&&o.getTest.call(c,e).match.nativeDef==="'"+t.charAt(0)||" "===o.getTest.call(c,e).match.nativeDef&&(o.getTest.call(c,e+1).match.nativeDef===t.charAt(0)||!0===o.getTest.call(c,e+1).match.static&&o.getTest.call(c,e+1).match.nativeDef==="'"+t.charAt(0)));if(!s&&i>0&&!r.isMask.call(c,e,!1,!0)){var a=r.seekNext.call(c,e);c.caretPos.begin<a&&(c.caretPos={begin:a})}return s}(m,g)?(v=l.EventHandlers.keypressEvent.call(c,i,!0,!1,n,c.caretPos.begin))&&(m=c.caretPos.begin+1,g=""):v=l.EventHandlers.keypressEvent.call(c,i,!0,!1,n,s+1),v?(void 0!==v.pos&&d.validPositions[v.pos]&&!0===d.validPositions[v.pos].match.static&&void 0===d.validPositions[v.pos].alternation&&(b.push(v.pos),c.isRTL||(v.forwardPosition=v.pos+1)),h.call(c,void 0,r.getBuffer.call(c),v.forwardPosition,i,!1),c.caretPos={begin:v.forwardPosition,end:v.forwardPosition},w=c.caretPos):void 0===d.validPositions[t]&&p[t]===o.getPlaceholder.call(c,t)&&r.isMask.call(c,t,!0)?c.caretPos.begin++:c.caretPos=w}})),b.length>0){var x,k,E=r.seekNext.call(c,-1,void 0,!1);if(!s.isComplete.call(c,r.getBuffer.call(c))&&b.length<=E||s.isComplete.call(c,r.getBuffer.call(c))&&b.length>0&&b.length!==E&&0===b[0])for(var S=E;void 0!==(x=b.shift());){var C=new f.Event("_checkval");if((k=d.validPositions[x]).generatedInput=!0,C.key=k.input,(v=l.EventHandlers.keypressEvent.call(c,C,!0,!1,n,S))&&void 0!==v.pos&&v.pos!==x&&d.validPositions[v.pos]&&!0===d.validPositions[v.pos].match.static)b.push(v.pos);else if(!v)break;S++}}t&&h.call(c,e,r.getBuffer.call(c),v?v.forwardPosition:c.caretPos.begin,a||new f.Event("checkval"),a&&("input"===a.type&&c.undoValue!==r.getBuffer.call(c).join("")||"paste"===a.type)),u.skipOptionalPartCharacter=y}function h(e,t,n,o,a){var l=e?e.inputmask:this,c=l.opts,d=l.dependencyLib;if(o&&"function"==typeof c.onBeforeWrite){var u=c.onBeforeWrite.call(l,o,t,n,c);if(u){if(u.refreshFromBuffer){var h=u.refreshFromBuffer;s.refreshFromBuffer.call(l,!0===h?h:h.start,h.end,u.buffer||t),t=r.getBuffer.call(l,!0)}void 0!==n&&(n=void 0!==u.caret?u.caret:n)}}if(void 0!==e&&(e.inputmask._valueSet(t.join("")),void 0===n||void 0!==o&&"blur"===o.type||r.caret.call(l,e,n,void 0,void 0,void 0!==o&&"keydown"===o.type&&(o.key===i.keys.Delete||o.key===i.keys.Backspace)),!0===a)){var f=d(e),p=e.inputmask._valueGet();e.inputmask.skipInputEvent=!0,f.trigger("input"),setTimeout((function(){p===r.getBufferTemplate.call(l).join("")?f.trigger("cleared"):!0===s.isComplete.call(l,t)&&f.trigger("complete")}
vendor: 1,706 bytes, line 1
1),0)}}},2394:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=n(157),o=m(n(3287)),r=m(n(9380)),s=n(2391),a=n(4713),l=n(8711),c=n(7215),d=n(7760),u=n(9716),h=m(n(7392)),f=m(n(3976)),p=m(n(8741));function g(e){return g="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},g(e)}function m(e){return e&&e.__esModule?e:{default:e}}var v=r.default.document,y="_inputmask_opts";function b(e,t,n){if(p.default){if(!(this instanceof b))return new b(e,t,n);this.dependencyLib=o.default,this.el=void 0,this.events={},this.maskset=void 0,!0!==n&&("[object Object]"===Object.prototype.toString.call(e)?t=e:(t=t||{},e&&(t.alias=e)),this.opts=o.default.extend(!0,{},this.defaults,t),this.noMasksCache=t&&void 0!==t.definitions,this.userOptions=t||{},w(this.opts.alias,t,this.opts)),this.refreshValue=!1,this.undoValue=void 0,this.$el=void 0,this.skipInputEvent=!1,this.validationEvent=!1,this.ignorable=!1,this.maxLength,this.mouseEnter=!1,this.clicked=0,this.originalPlaceholder=void 0,this.isComposing=!1,this.hasAlternator=!1}}function w(e,t,n){var i=b.prototype.aliases[e];return i?(i.alias&&w(i.alias,void 0,n),o.default.extend(!0,n,i),o.default.extend(!0,n,t),!0):(null===n.mask&&(n.mask=e),!1)}b.prototype={dataAttribute:"data-inputmask",defaults:f.default,definitions:h.default,aliases:{},masksCache:{},get isRTL(){return this.opts.isRTL||this.opts.numericInput},mask:function(e){var t=this;return"string"==typeof e&&(e=v.getElementById(e)||v.querySelectorAll(e)),(e=e.nodeName?[e]:Array.isArray(e)?e:[].slice.call(e)).forEac
vendor: 5,256 bytes, line 1
1h((function(e,n){var a=o.default.extend(!0,{},t.opts);if(function(e,t,n,i){function s(t,o){var s=""===i?t:i+"-"+t;null!==(o=void 0!==o?o:e.getAttribute(s))&&("string"==typeof o&&(0===t.indexOf("on")?o=r.default[o]:"false"===o?o=!1:"true"===o&&(o=!0)),n[t]=o)}if(!0===t.importDataAttributes){var a,l,c,d,u=e.getAttribute(i);if(u&&""!==u&&(u=u.replace(/'/g,'"'),l=JSON.parse("{"+u+"}")),l)for(d in c=void 0,l)if("alias"===d.toLowerCase()){c=l[d];break}for(a in s("alias",c),n.alias&&w(n.alias,n,t),t){if(l)for(d in c=void 0,l)if(d.toLowerCase()===a.toLowerCase()){c=l[d];break}s(a,c)}}return o.default.extend(!0,t,n),("rtl"===e.dir||t.rightAlign)&&(e.style.textAlign="right"),("rtl"===e.dir||t.numericInput)&&(e.dir="ltr",e.removeAttribute("dir"),t.isRTL=!0),Object.keys(n).length}(e,a,o.default.extend(!0,{},t.userOptions),t.dataAttribute)){var l=(0,s.generateMaskSet)(a,t.noMasksCache);void 0!==l&&(void 0!==e.inputmask&&(e.inputmask.opts.autoUnmask=!0,e.inputmask.remove()),e.inputmask=new b(void 0,void 0,!0),e.inputmask.opts=a,e.inputmask.noMasksCache=t.noMasksCache,e.inputmask.userOptions=o.default.extend(!0,{},t.userOptions),e.inputmask.el=e,e.inputmask.$el=(0,o.default)(e),e.inputmask.maskset=l,o.default.data(e,y,t.userOptions),i.mask.call(e.inputmask))}})),e&&e[0]&&e[0].inputmask||this},option:function(e,t){return"string"==typeof e?this.opts[e]:"object"===g(e)?(o.default.extend(this.userOptions,e),this.el&&!0!==t&&this.mask(this.el),this):void 0},unmaskedvalue:function(e){if(this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),void 0===this.el||void 0!==e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");d.checkVal.call(this,void 0,!1,!1,t),"function"==typeof this.opts.onBeforeWrite&&this.opts.onBeforeWrite.call(this,void 0,l.getBuffer.call(this),0,this.opts)}return d.unmaskedvalue.call(this,this.el)},remove:function(){if(this.el){o.default.data(this.el,y,null);var e=this.opts.autoUnmask?(0,d.unmaskedvalue)(this.el):this._valueGet(this.opts.autoUnmask);e!==l.getBufferTemplate.call(this).join("")?this._valueSet(e,this.opts.autoUnmask):this._valueSet(""),u.EventRuler.off(this.el),Object.getOwnPropertyDescriptor&&Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this.el),"value")&&this.__valueGet&&Object.defineProperty(this.el,"value",{get:this.__valueGet,set:this.__valueSet,configurable:!0}):v.__lookupGetter__&&this.el.__lookupGetter__("value")&&this.__valueGet&&(this.el.__defineGetter__("value",this.__valueGet),this.el.__defineSetter__("value",this.__valueSet)),this.el.inputmask=void 0}return this.el},getemptymask:function(){return this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),(this.isRTL?l.getBufferTemplate.call(this).reverse():l.getBufferTemplate.call(this)).join("")},hasMaskedValue:function(){return!this.opts.autoUnmask},isComplete:function(){return this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),c.isComplete.call(this,l.getBuffer.call(this))},getmetadata:function(){if(this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),Array.isArray(this.maskset.metadata)){var e=a.getMaskTemplate.call(this,!0,0,!1).join("");return this.maskset.metadata.forEach((function(t){return t.mask!==e||(e=t,!1)})),e}return this.maskset.metadata},isValid:function(e){if(this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache),e){var t=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");d.checkVal.call(this,void 0,!0,!1,t)}else e=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");for(var n=l.getBuffer.call(this),i=l.determineLastRequiredPosition.call(this),o=n.length-1;o>i&&!l.isMask.call(this,o);o--);return n.splice(i,o+1-i),c.isComplete.call(this,n)&&e===(this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join(""))},format:function(e,t){this.maskset=this.maskset||(0,s.generateMaskSet)(this.opts,this.noMasksCache);var n=("function"==typeof this.opts.onBeforeMask&&this.opts.onBeforeMask.call(this,e,this.opts)||e).split("");d.checkVal.call(this,void 0,!0,!1,n);var i=this.isRTL?l.getBuffer.call(this).slice().reverse().join(""):l.getBuffer.call(this).join("");return t?{value:i,metadata:this.getmetadata()}:i},setValue:function(e){this.el&&(0,o.default)(this.el).trigger("setvalue",[e])},analyseMask:s.analyseMask},b.extendDefaults=function(e){o.default.extend(!0,b.prototype.defaults,e)},b.extendDefinitions=function(e){o.default.extend(!0,b.prototype.definitions,e)},b.extendAliases=function(e){o.default.extend(!0,b.prototype.aliases,e)},b.format=function(e,t,n){return b(t).format(e,n)},b.unmask=function(e,t){return b(t).unmaskedvalue(e)},b.isValid=function(e,t){return b(t).isValid(e)},b.remove=function(e){"string"==typeof e&&(e=v.getElementById(e)||v.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask&&e.inputmask.remove()}))},b.setValue=function(e,t){"string"==typeof e&&(e=v.getElementById(e)||v.querySelectorAll(e)),(e=e.nodeName?[e]:e).forEach((function(e){e.inputmask?e.inputmask.setValue(t):(0,o.default)(e).trigger("setvalue",[t])}))}
1,b.dependencyLib=o.default,r.default.Inputmask=b;var x=b;t.default=x},5296:function(e,t,n){function i(e){return i="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},i(e)}var o=f(n(9380)),r=f(n(2394)),s=f(n(8741));function a(e){var t=d();return function(){var n,o=h(e);if(t){var r=h(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"===i(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(this,n)}}function l(e){var t="function"==typeof Map?new Map:void 0;return l=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,i)}function i(){return c(e,arguments,h(this).constructor)}return i.prototype=Object.create(e.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),u(i,e)},l(e)}function c(e,t,n){return c=d()?Reflect.construct.bind():function(e,t,n){var i=[null];i.push.apply(i,t);var o=new(Function.bind.apply(e,i));return n&&u(o,n.prototype),o},c.apply(null,arguments)}function d(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function u(e,t){return u=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},u(e,t)}function h(e){return h=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},h(e)}function f(e){return e&&e.__esModule?e:{default:e}}var p=o.default.document;if(s.default&&p&&p.head&&p.head.attachShadow&&o.default.customElements&&void 0===o.default.customElements.get("input-mask")){var g=function(e){!function(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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&u(e,t)}(i,e);var t,n=a(i);function i(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i);var t=(e=n.call(this)).getAttributeNames(),o=e.attachShadow({mode:"closed"}),s=p.createElement("input");for(var a in s.type="text",o.appendChild(s),t)Object.prototype.hasOwnProperty.call(t,a)&&s.setAttribute(t[a],e.getAttribute(t[a]));var l=new r.default;return l.dataAttribute="",l.mask(s),s.inputmask.shadowRoot=o,e}return t=i,Object.defineProperty(t,"prototype",{writable:!1}),t}(l(HTMLElement));o.default.customElements.define("input-mask",g)}},443:function(e,t,n){var i=s(n(7957)),o=s(n(2394));function r(e){return r="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},r(e)}function s(e){return e&&e.__esModule?e:{default:e}}void 0===i.default.fn.inputmask&&(i.default.fn.inputmask=function(e,t){var n,s=this[0];if(void 0===t&&(t={}),"string"==typeof e)switch(e){case"unmaskedvalue":return s&&s.inputmask?s.inputmask.unmaskedvalue():(0,i.default)(s).val();case"remove":return this.each((function(){this.inputmask&&this.inputmask.remove()}));case"getemptymask":return s&&s.inputmask?s.inputmask.getemptymask():"";case"hasMaskedValue":return!(!s||!s.inputmask)&&s.inputmask.hasMaskedValue();case"isComplete":return!s||!s.inputmask||s.inputmask.isComplete();case"getmetadata":return s&&s.inputmask?s.inputmask.getmetadata():void 0;case"setvalue":o.default.setValue(s,t);break;case"option":if("string"!=typeof t)return this.each((function(){if(void 0!==this.inputmask)return this.inputmask.option(t)}));if(s&&void 0!==s.inputmask)return s.inputmask.option(t);break;default:return t.alias=e,n=new o.default(t),this.each((function(){n.mask(this)}))}else{if(Array.isArray(e))return t.alias=e,n=new o.default(t),this.each((function(){n.mask(this)}));if("object"==r(e))return n=new o.default(e),void 0===e.mask&&void 0===e.alias?this.each((function(){if(void 0!==this.inputmask)return this.inputmask.option(e);n.mask(this)})):this.each((function(){n.mask(this)}));if(void 0===e)return this.each((function(){(n=new o.default(t)).mask(this)}))}})},2839:function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,s,a=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){c=!0,o=e}
vendor: 5,944 bytes, line 1
1finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}Object.defineProperty(t,"__esModule",{value:!0}),t.keys=t.keyCode=void 0,t.toKey=function(e,t){return r[e]||(t?String.fromCharCode(e):String.fromCharCode(e).toLowerCase())},t.toKeyCode=function(e){return o[e]};var o={AltGraph:18,ArrowDown:40,ArrowLeft:37,ArrowRight:39,ArrowUp:38,Backspace:8,BACKSPACE_SAFARI:127,CapsLock:20,Delete:46,End:35,Enter:13,Escape:27,Home:36,Insert:45,PageDown:34,PageUp:33,Space:32,Tab:9,c:67,x:88,z:90,Shift:16,Control:17,Alt:18,Pause:19,Meta_LEFT:91,Meta_RIGHT:92,ContextMenu:93,Process:229,Unidentified:229,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123};t.keyCode=o;var r=Object.entries(o).reduce((function(e,t){var i=n(t,2),o=i[0],r=i[1];return e[r]=void 0===e[r]?o:e[r],e}),{}),s=Object.entries(o).reduce((function(e,t){var i=n(t,2),o=i[0];return i[1],e[o]="Space"===o?" ":o,e}),{});t.keys=s},2391:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.analyseMask=function(e,t,n){var i,s,a,l,c,d,u=/(?:[?*+]|\{[0-9+*]+(?:,[0-9+*]*)?(?:\|[0-9+*]*)?\})|[^.?*+^${[]()|\\]+|./g,h=/\[\^?]?(?:[^\\\]]+|\\[\S\s]?)*]?|\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9][0-9]*|x[0-9A-Fa-f]{2}|u[0-9A-Fa-f]{4}|c[A-Za-z]|[\S\s]?)|\((?:\?[:=!]?)?|(?:[?*+]|\{[0-9]+(?:,[0-9]*)?\})\??|[^.?*+^${[()|\\]+|./g,f=!1,p=new o.default,g=[],m=[],v=!1;function y(e,i,o){o=void 0!==o?o:e.matches.length;var s=e.matches[o-1];if(t){if(0===i.indexOf("[")||f&&/\\d|\\s|\\w|\\p/i.test(i)||"."===i){var a=n.casing?"i":"";/^\\p\{.*}$/i.test(i)&&(a+="u"),e.matches.splice(o++,0,{fn:new RegExp(i,a),static:!1,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==i,casing:null,def:i,placeholder:void 0,nativeDef:i})}else f&&(i=i[i.length-1]),i.split("").forEach((function(t,i){s=e.matches[o-1],e.matches.splice(o++,0,{fn:/[a-z]/i.test(n.staticDefinitionSymbol||t)?new RegExp("["+(n.staticDefinitionSymbol||t)+"]",n.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==t&&!0!==s.static,casing:null,def:n.staticDefinitionSymbol||t,placeholder:void 0!==n.staticDefinitionSymbol?t:void 0,nativeDef:(f?"'":"")+t})}));f=!1}else{var l=n.definitions&&n.definitions[i]||n.usePrototypeDefinitions&&r.default.prototype.definitions[i];l&&!f?e.matches.splice(o++,0,{fn:l.validator?"string"==typeof l.validator?new RegExp(l.validator,n.casing?"i":""):new function(){this.test=l.validator}:new RegExp("."),static:l.static||!1,optionality:l.optional||!1,defOptionality:l.optional||!1,newBlockMarker:void 0===s||l.optional?"master":s.def!==(l.definitionSymbol||i),casing:l.casing,def:l.definitionSymbol||i,placeholder:l.placeholder,nativeDef:i,generated:l.generated}):(e.matches.splice(o++,0,{fn:/[a-z]/i.test(n.staticDefinitionSymbol||i)?new RegExp("["+(n.staticDefinitionSymbol||i)+"]",n.casing?"i":""):null,static:!0,optionality:!1,newBlockMarker:void 0===s?"master":s.def!==i&&!0!==s.static,casing:null,def:n.staticDefinitionSymbol||i,placeholder:void 0!==n.staticDefinitionSymbol?i:void 0,nativeDef:(f?"'":"")+i}),f=!1)}}function b(){if(g.length>0){if(y(l=g[g.length-1],s),l.isAlternator){c=g.pop();for(var e=0;e<c.matches.length;e++)c.matches[e].isGroup&&(c.matches[e].isGroup=!1);g.length>0?(l=g[g.length-1]).matches.push(c):p.matches.push(c)}}else y(p,s)}function w(e){var t=new o.default(!0);return t.openGroup=!1,t.matches=e,t}function x(){if((a=g.pop()).openGroup=!1,void 0!==a)if(g.length>0){if((l=g[g.length-1]).matches.push(a),l.isAlternator){for(var e=(c=g.pop()).matches[0].matches?c.matches[0].matches.length:1,t=0;t<c.matches.length;t++)c.matches[t].isGroup=!1,c.matches[t].alternatorGroup=!1,null===n.keepStatic&&e<(c.matches[t].matches?c.matches[t].matches.length:1)&&(n.keepStatic=!0),e=c.matches[t].matches?c.matches[t].matches.length:1;g.length>0?(l=g[g.length-1]).matches.push(c):p.matches.push(c)}}else p.matches.push(a);else b()}function k(e){var t=e.pop();return t.isQuantifier&&(t=w([e.pop(),t])),t}for(t&&(n.optionalmarker[0]=void 0,n.optionalmarker[1]=void 0);i=t?h.exec(e):u.exec(e);){if(s=i[0],t){switch(s.charAt(0)){case"?":s="{0,1}";break;case"+":case"*":s="{"+s+"}";break;case"|":if(0===g.length){var E=w(p.matches);E.openGroup=!0,g.push(E),p.matches=[],v=!0}}switch(s){case"\\d":s="[0-9]";break;case"\\p":s+=h.exec(e)[0],s+=h.exec(e)[0]}}if(f)b();else switch(s.charAt(0)){case"$":case"^":t||b();break;case n.escapeChar:f=!0,t&&b();break;case n.optionalmarker[1]:case n.groupmarker[1]:x();break;case n.optionalmarker[0]:g.push(new o.default(!1,!0));break;case n.groupmarker[0]:g.push(new o.default(!0));break;case n.quantifiermarker[0]:var S=new o.default(!1,!1,!0),C=(s=s.replace(/[{}?]/g,"")).split("|"),_=C[0].split(","),A=isNaN(_[0])?_[0]:parseInt(_[0]),T=1===_.length?A:isNaN(_[1])?_[1]:parseInt(_[1]),D=isNaN(C[1])?C[1]:parseInt(C[1]);"*"!==A&&"+"!==A||(A="*"===T?0:1),S.quantifier={min:A,max:T,jit:D};var M=g.length>0?g[g.length-1].matches:p.matches;(i=M.pop()).isGroup||(i=w([i])),M.push(i),M.push(S);break;case n.alternatormarker:if(g.length>0){var P=(l=g[g.length-1]).matches[l.matches.length-1];d=l.openGroup&&(void 0===P.matches||!1===P.isGroup&&!1===P.isAlternator)?g.pop():k(l.matches)}else d=k(p.matches);if(d.isAlternator)g.push(d);else if(d.alternatorGroup?(c=g.pop(),d.alternatorGroup=!1):c=new o.default(!1,!1,!1,!0),c.matches.push(d),g.pu
vendor: 19,960 bytes, line 1
1sh(c),d.openGroup){d.openGroup=!1;var O=new o.default(!0);O.alternatorGroup=!0,g.push(O)}break;default:b()}}for(v&&x();g.length>0;)a=g.pop(),p.matches.push(a);return p.matches.length>0&&(function e(i){i&&i.matches&&i.matches.forEach((function(o,r){var s=i.matches[r+1];(void 0===s||void 0===s.matches||!1===s.isQuantifier)&&o&&o.isGroup&&(o.isGroup=!1,t||(y(o,n.groupmarker[0],0),!0!==o.openGroup&&y(o,n.groupmarker[1]))),e(o)}))}(p),m.push(p)),(n.numericInput||n.isRTL)&&function e(t){for(var i in t.matches=t.matches.reverse(),t.matches)if(Object.prototype.hasOwnProperty.call(t.matches,i)){var o=parseInt(i);if(t.matches[i].isQuantifier&&t.matches[o+1]&&t.matches[o+1].isGroup){var r=t.matches[i];t.matches.splice(i,1),t.matches.splice(o+1,0,r)}void 0!==t.matches[i].matches?t.matches[i]=e(t.matches[i]):t.matches[i]=((s=t.matches[i])===n.optionalmarker[0]?s=n.optionalmarker[1]:s===n.optionalmarker[1]?s=n.optionalmarker[0]:s===n.groupmarker[0]?s=n.groupmarker[1]:s===n.groupmarker[1]&&(s=n.groupmarker[0]),s)}var s;return t}(m[0]),m},t.generateMaskSet=function(e,t){var n;function o(e,t){var n=t.repeat,i=t.groupmarker,o=t.quantifiermarker,r=t.keepStatic;if(n>0||"*"===n||"+"===n){var l="*"===n?0:"+"===n?1:n;e=i[0]+e+i[1]+o[0]+l+","+n+o[1]}if(!0===r){var c=e.match(new RegExp("(.)\\[([^\\]]*)\\]","g"));c&&c.forEach((function(t,n){var i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,s,a=[],l=!0,c=!1;try{for(r=(n=n.call(e)).next;!(l=(i=r.call(n)).done)&&(a.push(i.value),2!==a.length);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw o}}return a}}(e)||function(e,t){if(e){if("string"==typeof e)return a(e,2);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?a(e,2):void 0}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split("[")),o=i[0],r=i[1];r=r.replace("]",""),e=e.replace(new RegExp("".concat((0,s.default)(o),"\\[").concat((0,s.default)(r),"\\]")),o.charAt(0)===r.charAt(0)?"(".concat(o,"|").concat(o).concat(r,")"):"".concat(o,"[").concat(r,"]"))}))}return e}function l(e,n,s){var a,l,c=!1;return null!==e&&""!==e||((c=null!==s.regex)?e=(e=s.regex).replace(/^(\^)(.*)(\$)$/,"$2"):(c=!0,e=".*")),1===e.length&&!1===s.greedy&&0!==s.repeat&&(s.placeholder=""),e=o(e,s),l=c?"regex_"+s.regex:s.numericInput?e.split("").reverse().join(""):e,null!==s.keepStatic&&(l="ks_"+s.keepStatic+l),void 0===r.default.prototype.masksCache[l]||!0===t?(a={mask:e,maskToken:r.default.prototype.analyseMask(e,c,s),validPositions:[],_buffer:void 0,buffer:void 0,tests:{},excludes:{},metadata:n,maskLength:void 0,jitOffset:{}},!0!==t&&(r.default.prototype.masksCache[l]=a,a=i.default.extend(!0,{},r.default.prototype.masksCache[l]))):a=i.default.extend(!0,{},r.default.prototype.masksCache[l]),a}if("function"==typeof e.mask&&(e.mask=e.mask(e)),Array.isArray(e.mask)){if(e.mask.length>1){null===e.keepStatic&&(e.keepStatic=!0);var c=e.groupmarker[0];return(e.isRTL?e.mask.reverse():e.mask).forEach((function(t){c.length>1&&(c+=e.alternatormarker),void 0!==t.mask&&"function"!=typeof t.mask?c+=t.mask:c+=t})),l(c+=e.groupmarker[1],e.mask,e)}e.mask=e.mask.pop()}return n=e.mask&&void 0!==e.mask.mask&&"function"!=typeof e.mask.mask?l(e.mask.mask,e.mask,e):l(e.mask,e.mask,e),null===e.keepStatic&&(e.keepStatic=!1),n};var i=l(n(3287)),o=l(n(9695)),r=l(n(2394)),s=l(n(7184));function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function l(e){return e&&e.__esModule?e:{default:e}}},157:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.mask=function(){var e=this,t=this.opts,n=this.el,d=this.dependencyLib;s.EventRuler.off(n);var u=function(t,n){"textarea"!==t.tagName.toLowerCase()&&n.ignorables.push(i.keys.Enter);var a=t.getAttribute("type"),l="input"===t.tagName.toLowerCase()&&n.supportsInputType.includes(a)||t.isContentEditable||"textarea"===t.tagName.toLowerCase();if(!l)if("input"===t.tagName.toLowerCase()){var c=document.createElement("input");c.setAttribute("type",a),l="text"===c.type,c=null}else l="partial";return!1!==l?function(t){var i,a;function l(){return this.inputmask?this.inputmask.opts.autoUnmask?this.inputmask.unmaskedvalue():-1!==o.getLastValidPosition.call(e)||!0!==n.nullable?(this.inputmask.shadowRoot||this.ownerDocument).activeElement===this&&n.clearMaskOnLostFocus?(e.isRTL?r.clearOptionalTail.call(e,o.getBuffer.call(e).slice()).reverse():r.clearOptionalTail.call(e,o.getBuffer.call(e).slice())).join(""):i.call(this):"":i.call(this)}function c(e){a.call(this,e),this.inputmask&&(0,r.applyInputValue)(this,e)}if(!t.inputmask.__valueGet){if(!0!==n.noValuePatching){if(Object.getOwnPropertyDescriptor){var u=Object.getPrototypeOf?Object.getOwnPropertyDescriptor(Object.getPrototypeOf(t),"value"):void 0;u&&u.get&&u.set?(i=u.get,a=u.set,Object.defineProperty(t,"value",{get:l,set:c,configurable:!0})):"input"!==t.tagName.toLowerCase()&&(i=function(){return this.textContent},a=function(e){this.textContent=e},Object.defineProperty(t,"value",{get:l,set:c,configurable:!0}))}else document.__lookupGetter__&&t.__lookupGetter__("value")&&(i=t.__lookupGetter__("value"),a=t.__lookupSetter__("value"),t.__defineGetter__("value",l),t.__defineSetter__("value",c));t.inputmask.__valueGet=i,t.inputmask.__valueSet=a}t.inputmask._valueGet=function(t){return e.isRTL&&!0!==t?i.call(this.el).split("").reverse().join(""):i.call(this.el)},t.inputmask._valueSet=function(t,n){a.call(this.el,null==t?"":!0!==n&&e.isRTL?t.split("").reverse().join(""):t)},void 0===i&&(i=function(){return this.value},a=function(e){this.value=e},function(t){if(d.valHooks&&(void 0===d.valHooks[t]||!0!==d.valHooks[t].inputmaskpatch)){var i=d.valHooks[t]&&d.valHooks[t].get?d.valHooks[t].get:function(e){return e.value},s=d.valHooks[t]&&d.valHooks[t].set?d.valHooks[t].set:function(e,t){return e.value=t,e};d.valHooks[t]={get:function(t){if(t.inputmask){if(t.inputmask.opts.autoUnmask)return t.inputmask.unmaskedvalue();var r=i(t);return-1!==o.getLastValidPosition.call(e,void 0,void 0,t.inputmask.maskset.validPositions)||!0!==n.nullable?r:""}return i(t)},set:function(e,t){var n=s(e,t);return e.inputmask&&(0,r.applyInputValue)(e,t),n},inputmaskpatch:!0}}}(t.type),function(e){s.EventRuler.on(e,"mouseenter",(function(){var e=this,t=e.inputmask._valueGet(!0);t!=(e.inputmask.isRTL?o.getBuffer.call(e.inputmask).slice().reverse():o.getBuffer.call(e.inputmask)).join("")&&(0,r.applyInputValue)(e,t)}))}(t))}}(t):t.inputmask=void 0,l}(n,t);if(!1!==u){e.originalPlaceholder=n.placeholder,e.maxLength=void 0!==n?n.maxLength:void 0,-1===e.maxLength&&(e.maxLength=void 0),"inputMode"in n&&null===n.getAttribute("inputmode")&&(n.inputMode=t.inputmode,n.setAttribute("inputmode",t.inputmode)),!0===u&&(t.showMaskOnFocus=t.showMaskOnFocus&&-1===["cc-number","cc-exp"].indexOf(n.autocomplete),a.iphone&&(t.insertModeVisual=!1,n.setAttribute("autocorrect","off")),s.EventRuler.on(n,"submit",c.EventHandlers.submitEvent),s.EventRuler.on(n,"reset",c.EventHandlers.resetEvent),s.EventRuler.on(n,"blur",c.EventHandlers.blurEvent),s.EventRuler.on(n,"focus",c.EventHandlers.focusEvent),s.EventRuler.on(n,"invalid",c.EventHandlers.invalidEvent),s.EventRuler.on(n,"click",c.EventHandlers.clickEvent),s.EventRuler.on(n,"mouseleave",c.EventHandlers.mouseleaveEvent),s.EventRuler.on(n,"mouseenter",c.EventHandlers.mouseenterEvent),s.EventRuler.on(n,"paste",c.EventHandlers.pasteEvent),s.EventRuler.on(n,"cut",c.EventHandlers.cutEvent),s.EventRuler.on(n,"complete",t.oncomplete),s.EventRuler.on(n,"incomplete",t.onincomplete),s.EventRuler.on(n,"cleared",t.oncleared),!0!==t.inputEventOnly&&s.EventRuler.on(n,"keydown",c.EventHandlers.keyEvent),(a.mobile||t.inputEventOnly)&&n.removeAttribute("maxLength"),s.EventRuler.on(n,"input",c.EventHandlers.inputFallBackEvent)),s.EventRuler.on(n,"setvalue",c.EventHandlers.setValueEvent),o.getBufferTemplate.call(e).join(""),e.undoValue=e._valueGet(!0);var h=(n.inputmask.shadowRoot||n.ownerDocument).activeElement;if(""!==n.inputmask._valueGet(!0)||!1===t.clearMaskOnLostFocus||h===n){(0,r.applyInputValue)(n,n.inputmask._valueGet(!0),t);var f=o.getBuffer.call(e).slice();!1===l.isComplete.call(e,f)&&t.clearIncomplete&&o.resetMaskSet.call(e),t.clearMaskOnLostFocus&&h!==n&&(-1===o.getLastValidPosition.call(e)?f=[]:r.clearOptionalTail.call(e,f)),(!1===t.clearMaskOnLostFocus||t.showMaskOnFocus&&h===n||""!==n.inputmask._valueGet(!0))&&(0,r.writeBuffer)(n,f),h===n&&o.caret.call(e,n,o.seekNext.call(e,o.getLastValidPosition.call(e)))}}};var i=n(2839),o=n(8711),r=n(7760),s=n(9716),a=n(9845),l=n(7215),c=n(6030)},9695:function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n,i){this.matches=[],this.openGroup=e||!1,this.alternatorGroup=!1,this.isGroup=e||!1,this.isOptional=t||!1,this.isQuantifier=n||!1,this.isAlternator=i||!1,this.quantifier={min:1,max:1}}},3194:function(){Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(e,t){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),i=n.length>>>0;if(0===i)return!1;for(var o=0|t,r=Math.max(o>=0?o:i-Math.abs(o),0);r<i;){if(n[r]===e)return!0;r++}return!1}})},9302:function(){var e=Function.bind.call(Function.call,Array.prototype.reduce),t=Function.bind.call(Function.call,Object.prototype.propertyIsEnumerable),n=Function.bind.call(Function.call,Array.prototype.concat),i=Object.keys;Object.entries||(Object.entries=function(o){return e(i(o),(function(e,i){return n(e,"string"==typeof i&&t(o,i)?[[i,o[i]]]:[])}),[])})},7149:function(){function e(t){return(e="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})(t)}"function"!=typeof Object.getPrototypeOf&&(Object.getPrototypeOf="object"===e("test".__proto__)?function(e){return e.__proto__}:function(e){return e.constructor.prototype})},4013:function(){String.prototype.includes||(String.prototype.includes=function(e,t){return"number"!=typeof t&&(t=0),!(t+e.length>this.length)&&-1!==this.indexOf(e,t)})},8711:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.caret=function(e,t,n,i,o){var r,s=this,a=this.opts;if(void 0===t)return"selectionStart"in e&&"selectionEnd"in e?(t=e.selectionStart,n=e.selectionEnd):window.getSelection?(r=window.getSelection().getRangeAt(0)).commonAncestorContainer.parentNode!==e&&r.commonAncestorContainer!==e||(t=r.startOffset,n=r.endOffset):document.selection&&document.selection.createRange&&(n=(t=0-(r=document.selection.createRange()).duplicate().moveStart("character",-e.inputmask._valueGet().length))+r.text.length),{begin:i?t:c.call(s,t),end:i?n:c.call(s,n)};if(Array.isArray(t)&&(n=s.isRTL?t[0]:t[1],t=s.isRTL?t[1]:t[0]),void 0!==t.begin&&(n=s.isRTL?t.begin:t.end,t=s.isRTL?t.end:t.begin),"number"==typeof t){t=i?t:c.call(s,t),n="number"==typeof(n=i?n:c.call(s,n))?n:t;var l=parseInt(((e.ownerDocument.defaultView||window).getComputedStyle?(e.ownerDocument.defaultView||window).getComputedStyle(e,null):e.currentStyle).fontSize)*n;if(e.scrollLeft=l>e.scrollWidth?l:0,e.inputmask.caretPos={begin:t,end:n},a.insertModeVisual&&!1===a.insertMode&&t===n&&(o||n++),e===(e.inputmask.shadowRoot||e.ownerDocument).activeElement)if("setSelectionRange"in e)e.setSelectionRange(t,n);else if(window.getSelection){if(r=document.createRange(),void 0===e.firstChild||null===e.firstChild){var d=document.createTextNode("");e.appendChild(d)}r.setStart(e.firstChild,t<e.inputmask._valueGet().length?t:e.inputmask._valueGet().length),r.setEnd(e.firstChild,n<e.inputmask._valueGet().length?n:e.inputmask._valueGet().length),r.collapse(!0);var u=window.getSelection();u.removeAllRanges(),u.addRange(r)}else e.createTextRange&&((r=e.createTextRange()).collapse(!0),r.moveEnd("character",n),r.moveStart("character",t),r.select())}},t.determineLastRequiredPosition=function(e){var t,n,r=this,a=r.maskset,l=r.dependencyLib,c=i.getMaskTemplate.call(r,!0,s.call(r),!0,!0),d=c.length,u=s.call(r),h={},f=a.validPositions[u],p=void 0!==f?f.locator.slice():void 0;for(t=u+1;t<c.length;t++)p=(n=i.getTestTemplate.call(r,t,p,t-1)).locator.slice(),h[t]=l.extend(!0,{},n);var g=f&&void 0!==f.alternation?f.locator[f.alternation]:void 0;for(t=d-1;t>u&&((n=h[t]).match.optionality||n.match.optionalQuantifier&&n.match.newBlockMarker||g&&(g!==h[t].locator[f.alternation]&&1!=n.match.static||!0===n.match.static&&n.locator[f.alternation]&&o.checkAlternationMatch.call(r,n.locator[f.alternation].toString().split(","),g.toString().split(","))&&""!==i.getTests.call(r,t)[0].def))&&c[t]===i.getPlaceholder.call(r,t,n.match);t--)d--;return e?{l:d,def:h[d]?h[d].match:void 0}:d},t.determineNewCaretPosition=function(e,t,n){var o=this,c=o.maskset,d=o.opts;if(t&&(o.isRTL?e.end=e.begin:e.begin=e.end),e.begin===e.end){switch(n=n||d.positionCaretOnClick){case"none":break;case"select":e={begin:0,end:r.call(o).length};break;case"ignore":e.end=e.begin=l.call(o,s.call(o));break;case"radixFocus":if(o.clicked>1&&0==c.validPositions.length)break;if(function(e){if(""!==d.radixPoint&&0!==d.digits){var t=c.validPositions;if(void 0===t[e]||t[e].input===i.getPlaceholder.call(o,e)){if(e<l.call(o,-1))return!0;var n=r.call(o).indexOf(d.radixPoint);if(-1!==n){for(var s=0,a=t.length;s<a;s++)if(t[s]&&n<s&&t[s].input!==i.getPlaceholder.call(o,s))return!1;return!0}}}return!1}(e.begin)){var u=r.call(o).join("").indexOf(d.radixPoint);e.end=e.begin=d.numericInput?l.call(o,u):u;break}default:var h=e.begin,f=s.call(o,h,!0),p=l.call(o,-1!==f||a.call(o,0)?f:-1);if(h<=p)e.end=e.begin=a.call(o,h,!1,!0)?h:l.call(o,h);else{var g=c.validPositions[f],m=i.getTestTemplate.call(o,p,g?g.match.locator:void 0,g),v=i.getPlaceholder.call(o,p,m.match);if(""!==v&&r.call(o)[p]!==v&&!0!==m.match.optionalQuantifier&&!0!==m.match.newBlockMarker||!a.call(o,p,d.keepStatic,!0)&&m.match.def===v){var y=l.call(o,p);(h>=y||h===p)&&(p=y)}e.end=e.begin=p}}return e}},t.getBuffer=r,t.getBufferTemplate=function(){var e=this.maskset;return void 0===e._buffer&&(e._buffer=i.getMaskTemplate.call(this,!1,1),void 0===e.buffer&&(e.buffer=e._buffer.slice())),e._buffer},t.getLastValidPosition=s,t.isMask=a,t.resetMaskSet=function(e){var t=this.maskset;t.buffer=void 0,!0!==e&&(t.validPositions=[],t.p=0)},t.seekNext=l,t.seekPrevious=function(e,t){var n=this,o=e-1;if(e<=0)return 0;for(;o>0&&(!0===t&&(!0!==i.getTest.call(n,o).match.newBlockMarker||!a.call(n,o,void 0,!0))||!0!==t&&!a.call(n,o,void 0,!0));)o--;return o},t.translatePosition=c;var i=n(4713),o=n(7215);function r(e){var t=this,n=t.maskset;return void 0!==n.buffer&&!0!==e||(n.buffer=i.getMaskTemplate.call(t,!0,s.call(t),!0),void 0===n._buffer&&(n._buffer=n.buffer.slice())),n.buffer}function s(e,t,n){var i=this.maskset,o=-1,r=-1,s=n||i.validPositions;void 0===e&&(e=-1);for(var a=0,l=s.length;a<l;a++)s[a]&&(t||!0!==s[a].generatedInput)&&(a<=e&&(o=a),a>=e&&(r=a));return-1===o||o==e?r:-1==r||e-o<r-e?o:r}function a(e,t,n){var o=this,r=this.maskset,s=i.getTestTemplate.call(o,e).match;if(""===s.def&&(s=i.getTest.call(o,e).match),!0!==s.static)return s.fn;if(!0===n&&void 0!==r.validPositions[e]&&!0!==r.validPositions[e].generatedInput)return!0;if(!0!==t&&e>-1){if(n){var a=i.getTests.call(o,e);return a.length>1+(""===a[a.length-1].match.def?1:0)}var l=i.determineTestTemplate.call(o,e,i.getTests.call(o,e)),c=i.getPlaceholder.call(o,e,l.match);return l.match.def!==c}return!1}function l(e,t,n){var o=this;void 0===n&&(n=!0);for(var r=e+1;""!==i.getTest.call(o,r).match.def&&(!0===t&&(!0!==i.getTest.call(o,r).match.newBlockMarker||!a.call(o,r,void 0,!0))||!0!==t&&!a.call(o,r,void 0,n));)r++;return r}function c(e){var t=this.opts,n=this.el;return!this.isRTL||"number"!=typeof e||t.greedy&&""===t.placeholder||!n||(e=this._valueGet().length-e)<0&&(e=0),e}},4713:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.determineTestTemplate=c,t.getDecisionTaker=s,t.getMaskTemplate=function(e,t,n,i,o){var r=this,s=this.opts,d=this.maskset,u=s.greedy;o&&s.greedy&&(s.greedy=!1,r.maskset.tests={}),t=t||0;var f,p,g,m,v=[],y=0;do{if(!0===e&&d.validPositions[y])p=(g=o&&d.validPositions[y].match.optionality&&void 0===d.validPositions[y+1]&&(!0===d.validPositions[y].generatedInput||d.validPositions[y].input==s.skipOptionalPartCharacter&&y>0)?c.call(r,y,h.call(r,y,f,y-1)):d.validPositions[y]).match,f=g.locator.slice(),v.push(!0===n?g.input:!1===n?p.nativeDef:a.call(r,y,p));else{p=(g=l.call(r,y,f,y-1)).match,f=g.locator.slice();var b=!0!==i&&(!1!==s.jitMasking?s.jitMasking:p.jit);(m=(m&&p.static&&p.def!==s.groupSeparator&&null===p.fn||d.validPositions[y-1]&&p.static&&p.def!==s.groupSeparator&&null===p.fn)&&d.tests[y])||!1===b||void 0===b||"number"==typeof b&&isFinite(b)&&b>y?v.push(!1===n?p.nativeDef:a.call(r,v.length,p)):m=!1}y++}while(!0!==p.static||""!==p.def||t>y);return""===v[v.length-1]&&v.pop(),!1===n&&void 0!==d.maskLength||(d.maskLength=y-1),s.greedy=u,v},t.getPlaceholder=a,t.getTest=d,t.getTestTemplate=l,t.getTests=h,t.isSubsetOf=u;var i,o=(i=n(2394))&&i.__esModule?i:{default:i};function r(e,t){var n=(null!=e.alternation?e.mloc[s(e)]:e.locator).join("");if(""!==n)for(;n.length<t;)n+="0";return n}function s(e){var t=e.locator[e.alternation];return"string"==typeof t&&t.length>0&&(t=t.split(",")[0]),void 0!==t?t.toString():""}function a(e,t,n){var i=this.opts,o=this.maskset;if(void 0!==(t=t||d.call(this,e).match).placeholder||!0===n)return"function"==typeof t.placeholder?t.placeholder(i):t.placeholder;if(!0===t.static){if(e>-1&&void 0===o.validPositions[e]){var r,s=h.call(this,e),a=[];if(s.length>1+(""===s[s.length-1].match.def?1:0))for(var l=0;l<s.length;l++)if(""!==s[l].match.def&&!0!==s[l].match.optionality&&!0!==s[l].match.optionalQuantifier&&(!0===s[l].match.static||void 0===r||!1!==s[l].match.fn.test(r.match.def,o,e,!0,i))&&(a.push(s[l]),!0===s[l].match.static&&(r=s[l]),a.length>1&&/[0-9a-bA-Z]/.test(a[0].match.def)))return i.placeholder.charAt(e%i.placeholder.length)}return t.def}return i.placeholder.charAt(e%i.placeholder.length)}function l(e,t,n){return this.maskset.validPositions[e]||c.call(this,e,h.call(this,e,t?t.slice():t,n))}function c(e,t){var n=this.opts,i=0,o=function(e,t){var n=0,i=!1;return t.forEach((function(e){e.match.optionality&&(0!==n&&n!==e.match.optionality&&(i=!0),(0===n||n>e.match.optionality)&&(n=e.match.optionality))})),n&&(0==e||1==t.length?n=0:i||(n=0)),n}(e,t);e=e>0?e-1:0;var s,a,l,c=r(d.call(this,e));n.greedy&&t.length>1&&""===t[t.length-1].match.def&&(i=1);for(var u=0;u<t.length-i;u++){var h=t[u];s=r(h,c.length);var f=Math.abs(s-c);(void 0===a||""!==s&&f<a||l&&!n.greedy&&l.match.optionality&&l.match.optionality-o>0&&"master"===l.match.newBlockMarker&&(!h.match.optionality||h.match.optionality-o<1||!h.match.newBlockMarker)||l&&!n.greedy&&l.match.optionalQuantifier&&!h.match.optionalQuantifier)&&(a=f,l=h)}return l}function d(e,t){var n=this.maskset;return n.validPositions[e]?n.validPositions[e]:(t||h.call(this,e))[0]}function u(e,t,n){function i(e){for(var t,n=[],i=-1,o=0,r=e.length;o<r;o++)if("-"===e.charAt(o))for(t=e.charCodeAt(o+1);++i<t;)n.push(String.fromCharCode(i));else i=e.charCodeAt(o),n.push(e.charAt(o));return n.join("")}return e.match.def===t.match.nativeDef||!(!(n.regex||e.match.fn instanceof RegExp&&t.match.fn instanceof RegExp)||!0===e.match.static||!0===t.match.static)&&-1!==i(t.match.fn.toString().replace(/[[\]/]/g,"")).indexOf(i(e.match.fn.toString().replace(/[[\]/]/g,"")))}function h(e,t,n){var i,r,s=this,a=this.dependencyLib,l=this.maskset,d=this.opts,h=this.el,f
1=l.maskToken,p=t?n:0,g=t?t.slice():[0],m=[],v=!1,y=t?t.join(""):"";function b(t,n,r,a){function c(r,a,f){function g(e,t){var n=0===t.matches.indexOf(e);return n||t.matches.every((function(i,o){return!0===i.isQuantifier?n=g(e,t.matches[o-1]):Object.prototype.hasOwnProperty.call(i,"matches")&&(n=g(e,i)),!n})),n}function x(e,t,n){var i,o;if((l.tests[e]||l.validPositions[e])&&(l.tests[e]||[l.validPositions[e]]).every((function(e,r){if(e.mloc[t])return i=e,!1;var s=void 0!==n?n:e.alternation,a=void 0!==e.locator[s]?e.locator[s].toString().indexOf(t):-1;return(void 0===o||a<o)&&-1!==a&&(i=e,o=a),!0})),i){var r=i.locator[i.alternation];return(i.mloc[t]||i.mloc[r]||i.locator).slice((void 0!==n?n:i.alternation)+1)}return void 0!==n?x(e,t):void 0}function k(e,t){var n=e.alternation,i=void 0===t||n===t.alternation&&-1===e.locator[n].toString().indexOf(t.locator[n]);if(!i&&n>t.alternation)for(var o=t.alternation;o<n;o++)if(e.locator[o]!==t.locator[o]){n=o,i=!0;break}if(i){e.mloc=e.mloc||{};var r=e.locator[n];if(void 0!==r){if("string"==typeof r&&(r=r.split(",")[0]),void 0===e.mloc[r]&&(e.mloc[r]=e.locator.slice()),void 0!==t){for(var s in t.mloc)"string"==typeof s&&(s=s.split(",")[0]),void 0===e.mloc[s]&&(e.mloc[s]=t.mloc[s]);e.locator[n]=Object.keys(e.mloc).join(",")}return!0}e.alternation=void 0}return!1}function E(e,t){if(e.locator.length!==t.locator.length)return!1;for(var n=e.alternation+1;n<e.locator.length;n++)if(e.locator[n]!==t.locator[n])return!1;return!0}if(p>e+d._maxTestPos)throw"Inputmask: There is probably an error in your mask definition or in the code. Create an issue on github with an example of the mask you are using. "+l.mask;if(p===e&&void 0===r.matches){if(m.push({match:r,locator:a.reverse(),cd:y,mloc:{}}),!r.optionality||void 0!==f||!(d.definitions&&d.definitions[r.nativeDef]&&d.definitions[r.nativeDef].optional||o.default.prototype.definitions[r.nativeDef]&&o.default.prototype.definitions[r.nativeDef].optional))return!0;v=!0,p=e}else if(void 0!==r.matches){if(r.isGroup&&f!==r)return function(){if(r=c(t.matches[t.matches.indexOf(r)+1],a,f))return!0}();if(r.isOptional)return function(){var t=r,o=m.length;if(r=b(r,n,a,f),m.length>0){if(m.forEach((function(e,t){t>=o&&(e.match.optionality=e.match.optionality?e.match.optionality+1:1)})),i=m[m.length-1].match,void 0!==f||!g(i,t))return r;v=!0,p=e}}();if(r.isAlternator)return function(){s.hasAlternator=!0;var i,o,g,y=r,b=[],w=m.slice(),S=a.length,C=!1,_=n.length>0?n.shift():-1;if(-1===_||"string"==typeof _){var A,T=p,D=n.slice(),M=[];if("string"==typeof _)M=_.split(",");else for(A=0;A<y.matches.length;A++)M.push(A.toString());if(void 0!==l.excludes[e]){for(var P=M.slice(),O=0,R=l.excludes[e].length;O<R;O++){var I=l.excludes[e][O].toString().split(":");a.length==I[1]&&M.splice(M.indexOf(I[0]),1)}0===M.length&&(delete l.excludes[e],M=P)}(!0===d.keepStatic||isFinite(parseInt(d.keepStatic))&&T>=d.keepStatic)&&(M=M.slice(0,1));for(var L=0;L<M.length;L++){A=parseInt(M[L]),m=[],n="string"==typeof _&&x(p,A,S)||D.slice();var N=y.matches[A];if(N&&c(N,[A].concat(a),f))r=!0;else if(0===L&&(C=!0),N&&N.matches&&N.matches.length>y.matches[0].matches.length)break;i=m.slice(),p=T,m=[];for(var j=0;j<i.length;j++){var H=i[j],$=!1;H.match.jit=H.match.jit||C,H.alternation=H.alternation||S,k(H);for(var z=0;z<b.length;z++){var B=b[z];if("string"!=typeof _||void 0!==H.alternation&&M.includes(H.locator[H.alternation].toString())){if(H.match.nativeDef===B.match.nativeDef){$=!0,k(B,H);break}if(u(H,B,d)){k(H,B)&&($=!0,b.splice(b.indexOf(B),0,H));break}if(u(B,H,d)){k(B,H);break}if(g=B,!0===(o=H).match.static&&!0!==g.match.static&&g.match.fn.test(o.match.def,l,e,!1,d,!1)){E(H,B)||void 0!==h.inputmask.userOptions.keepStatic?k(H,B)&&($=!0,b.splice(b.indexOf(B),0,H)):d.keepStatic=!0;break}}}$||b.push(H)}}m=w.concat(b),p=e,v=m.length>0,r=b.length>0,n=D.slice()}else r=c(y.matches[_]||t.matches[_],[_].concat(a),f);if(r)return!0}();if(r.isQuantifier&&f!==t.matches[t.matches.indexOf(r)-1])return function(){for(var o=r,s=!1,u=n.length>0?n.shift():0;u<(isNaN(o.quantifier.max)?u+1:o.quantifier.max)&&p<=e;u++){var h=t.matches[t.matches.indexOf(o)-1];if(r=c(h,[u].concat(a),h)){if(m.forEach((function(t,n){(i=w(h,t.match)?t.match:m[m.length-1].match).optionalQuantifier=u>=o.quantifier.min,i.jit=(u+1)*(h.matches.indexOf(i)+1)>o.quantifier.jit,i.optionalQuantifier&&g(i,h)&&(v=!0,p=e,d.greedy&&null==l.validPositions[e-1]&&u>o.quantifier.min&&-1!=["*","+"].indexOf(o.quantifier.max)&&(m.pop(),y=void 0),s=!0,r=!1),!s&&i.jit&&(l.jitOffset[e]=h.matches.length-h.matches.indexOf(i))})),s)break;return!0}}}();if(r=b(r,n,a,f))return!0}else p++}for(var f=n.length>0?n.shift():0;f<t.matches.length;f++)if(!0!==t.matches[f].isQuantifier){var g=c(t.matches[f],[f].concat(r),a);if(g&&p===e)return g;if(p>e)break}}function w(e,t){var n=-1!=e.matches.indexOf(t);
vendor: 8,250 bytes, line 1
1return n||e.matches.forEach((function(e,i){void 0===e.matches||n||(n=w(e,t))})),n}if(e>-1){if(void 0===t){for(var x,k=e-1;void 0===(x=l.validPositions[k]||l.tests[k])&&k>-1;)k--;void 0!==x&&k>-1&&(g=function(e,t){var n,i=[];return Array.isArray(t)||(t=[t]),t.length>0&&(void 0===t[0].alternation||!0===d.keepStatic?0===(i=c.call(s,e,t.slice()).locator.slice()).length&&(i=t[0].locator.slice()):t.forEach((function(e){""!==e.def&&(0===i.length?(n=e.alternation,i=e.locator.slice()):e.locator[n]&&-1===i[n].toString().indexOf(e.locator[n])&&(i[n]+=","+e.locator[n]))}))),i}(k,x),y=g.join(""),p=k)}if(l.tests[e]&&l.tests[e][0].cd===y)return l.tests[e];for(var E=g.shift();E<f.length&&!(b(f[E],g,[E])&&p===e||p>e);E++);}return(0===m.length||v)&&m.push({match:{fn:null,static:!0,optionality:!1,casing:null,def:"",placeholder:""},locator:[],mloc:{},cd:y}),void 0!==t&&l.tests[e]?r=a.extend(!0,[],m):(l.tests[e]=a.extend(!0,[],m),r=l.tests[e]),m.forEach((function(e){e.match.optionality=e.match.defOptionality||!1})),r}},7215:function(e,t,n){Object.defineProperty(t,"__esModule",{value:!0}),t.alternate=a,t.checkAlternationMatch=function(e,t,n){for(var i,o=this.opts.greedy?t:t.slice(0,1),r=!1,s=void 0!==n?n.split(","):[],a=0;a<s.length;a++)-1!==(i=e.indexOf(s[a]))&&e.splice(i,1);for(var l=0;l<e.length;l++)if(o.includes(e[l])){r=!0;break}return r},t.handleRemove=function(e,t,n,s,l){var c=this,d=this.maskset,u=this.opts;if((u.numericInput||c.isRTL)&&(t===o.keys.Backspace?t=o.keys.Delete:t===o.keys.Delete&&(t=o.keys.Backspace),c.isRTL)){var h=n.end;n.end=n.begin,n.begin=h}var f,p=r.getLastValidPosition.call(c,void 0,!0);if(n.end>=r.getBuffer.call(c).length&&p>=n.end&&(n.end=p+1),t===o.keys.Backspace?n.end-n.begin<1&&(n.begin=r.seekPrevious.call(c,n.begin)):t===o.keys.Delete&&n.begin===n.end&&(n.end=r.isMask.call(c,n.end,!0,!0)?n.end+1:r.seekNext.call(c,n.end)+1),!1!==(f=g.call(c,n))){if(!0!==s&&!1!==u.keepStatic||null!==u.regex&&-1!==i.getTest.call(c,n.begin).match.def.indexOf("|")){var m=a.call(c,!0);if(m){var v=void 0!==m.caret?m.caret:m.pos?r.seekNext.call(c,m.pos.begin?m.pos.begin:m.pos):r.getLastValidPosition.call(c,-1,!0);(t!==o.keys.Delete||n.begin>v)&&n.begin}}!0!==s&&(d.p=t===o.keys.Delete?n.begin+f:n.begin,d.p=r.determineNewCaretPosition.call(c,{begin:d.p,end:d.p},!1,!1===u.insertMode&&t===o.keys.Backspace?"none":void 0).begin)}},t.isComplete=c,t.isSelection=d,t.isValid=u,t.refreshFromBuffer=f,t.revalidateMask=g;var i=n(4713),o=n(2839),r=n(8711),s=n(6030);function a(e,t,n,o,s,l){var c,d,h,f,p,g,m,v,y,b,w,x=this,k=this.dependencyLib,E=this.opts,S=x.maskset,C=k.extend(!0,[],S.validPositions),_=k.extend(!0,{},S.tests),A=!1,T=!1,D=void 0!==s?s:r.getLastValidPosition.call(x);if(l&&(b=l.begin,w=l.end,l.begin>l.end&&(b=l.end,w=l.begin)),-1===D&&void 0===s)c=0,d=(f=i.getTest.call(x,c)).alternation;else for(;D>=0;D--)if((h=S.validPositions[D])&&void 0!==h.alternation){if(D<=(e||0)&&f&&f.locator[h.alternation]!==h.locator[h.alternation])break;c=D,d=S.validPositions[c].alternation,f=h}if(void 0!==d){m=parseInt(c),S.excludes[m]=S.excludes[m]||[],!0!==e&&S.excludes[m].push((0,i.getDecisionTaker)(f)+":"+f.alternation);var M=[],P=-1;for(p=m;p<r.getLastValidPosition.call(x,void 0,!0)+1;p++)-1===P&&e<=p&&void 0!==t&&(M.push(t),P=M.length-1),(g=S.validPositions[p])&&!0!==g.generatedInput&&(void 0===l||p<b||p>=w)&&M.push(g.input),delete S.validPositions[p];for(-1===P&&void 0!==t&&(M.push(t),P=M.length-1);void 0!==S.excludes[m]&&S.excludes[m].length<10;){for(S.tests={},r.resetMaskSet.call(x,!0),A=!0,p=0;p<M.length&&(v=A.caret||r.getLastValidPosition.call(x,void 0,!0)+1,y=M[p],A=u.call(x,v,y,!1,o,!0));p++)p===P&&(T=A),1==e&&A&&(T={caretPos:p});if(A)break;if(r.resetMaskSet.call(x),f=i.getTest.call(x,m),S.validPositions=k.extend(!0,[],C),S.tests=k.extend(!0,{},_),!S.excludes[m]){T=a.call(x,e,t,n,o,m-1,l);break}var O=(0,i.getDecisionTaker)(f);if(-1!==S.excludes[m].indexOf(O+":"+f.alternation)){T=a.call(x,e,t,n,o,m-1,l);break}for(S.excludes[m].push(O+":"+f.alternation),p=m;p<r.getLastValidPosition.call(x,void 0,!0)+1;p++)delete S.validPositions[p]}}return T&&!1===E.keepStatic||delete S.excludes[m],T}function l(e,t,n){var i=this.opts,r=this.maskset;switch(i.casing||t.casing){case"upper":e=e.toUpperCase();break;case"lower":e=e.toLowerCase();break;case"title":var s=r.validPositions[n-1];e=0===n||s&&s.input===String.fromCharCode(o.keyCode.Space)?e.toUpperCase():e.toLowerCase();break;default:if("function"==typeof i.casing){var a=Array.prototype.slice.call(arguments);a.push(r.validPositions),e=i.casing.apply(this,a)}}return e}function c(e){var t=this,n=this.opts,o=this.maskset;if("function"==typeof n.isComplete)return n.isComplete(e,n);if("*"!==n.repeat){var s=!1,a=r.determineLastRequiredPosition.call(t,!0),l=r.seekPrevious.call(t,a.l);if(void 0===a.def||a.def.newBlockMarker||a.def.optionality||a.def.optionalQuantifier){s=!0;for(var c=0;c<=l;c++){var d=i.getTestTemplate.call(t,c).match;if(!0!==d.static&&void 0===o.validPositions[c]&&!0!==d.optionality&&!0!==d.optionalQuantifier||!0===d.static&&e[c]!==i.getPlaceholder.call(t,c,d)){s=!1;break}}}return s}}function d(e){var t=this.opts.insertMode?0:1;return this.isRTL?e.begin-e.end>t:e.end-e.begin>t}function u(e,t,n,o,s,h,m){var v=this,y=this.dependencyLib,b=this.opts,w=v.maskset;n=!0===n;var x=e;function k(e){if(void 0!==e){if(void 0!==e.remove&&(Array.isArray(e.remove)||(e.remove=[e.remove]),e.remove.sort((function(e,t){return v.isRTL?e.pos-t.pos:t.pos-e.pos})).forEach((function(e){g.call(v,{begin:e,end:e+1})})),e.remove=void 0),void 0!==e.insert&&(Array.isArray(e.insert)||(e.insert=[e.insert]),e.insert.sort((function(e,t){return v.isRTL?t.pos-e.pos:e.pos-t.pos})).forEach((function(e){""!==e.c&&u.call(v,e.pos,e.c,void 0===e.strict||e.strict,void 0!==e.fromIsValid?e.fromIsValid:o)})),e.insert=void 0),e.refreshFromBuffer&&e.buffer){var t=e.refreshFromBuffer;f.call(v,!0===t?t:t.start,t.end,e.buffer),e.refreshFromBuffer=void 0}void 0!==e.rewritePosition&&(x=e.rewritePosition,e=!0)}return e}function E(t,n,s){var a=!1;return i.getTests.call(v,t).every((function(c,u){var h=c.match;if(r.getBuffer.call(v,!0),!1!==(a=(!h.jit||void 0!==w.validPositions[r.seekPrevious.call(v,t)])&&(null!=h.fn?h.fn.test(n,w,t,s,b,d.call(v,e)):(n===h.def||n===b.skipOptionalPartCharacter)&&""!==h.def&&{c:i.getPlaceholder.call(v,t,h,!0)||h.def,pos:t}))){var f=void 0!==a.c?a.c:n,p=t;return f=f===b.skipOptionalPartCharacter&&!0===h.static?i.getPlaceholder.call(v,t,h,!0)||h.def:f,!0!==(a=k(a))&&void 0!==a.pos&&a.pos!==t&&(p=a.pos),!0!==a&&void 0===a.pos&&void 0===a.c||!1===g.call(v,e,y.extend({},c,{input:l.call(v,f,h,p)}),o,p)&&(a=!1),!1}return!0})),a}void 0!==e.begin&&(x=v.isRTL?e.end:e.begin);var S=!0,C=y.extend(!0,{},w.validPositions);if(!1===b.keepStatic&&void 0!==w.excludes[x]&&!0!==s&&!0!==o)for(var _=x;_<(v.isRTL?e.begin:e.end);_++)void 0!==w.excludes[_]&&(w.excludes[_]=void 0,delete w.tests[_]);if("function"==typeof b.preValidation&&!0!==o&&!0!==h&&(S=k(S=b.preValidation.call(v,r.getBuffer.call(v),x,t,d.call(v,e),b,w,e,n||s))),!0===S){if(S=E(x,t,n),(!n||!0===o)&&!1===S&&!0!==h){var A=w.validPositions[x];if(!A||!0!==A.match.static||A.match.def!==t&&t!==b.skipOptionalPartCharacter){if(b.insertMode||void 0===w.validPositions[r.seekNext.call(v,x)]||e.end>x){var T=!1;if(w.jitOffset[x]&&void 0===w.validPositions[r.seekNext.call(v,x)]&&!1!==(S=u.call(v,x+w.jitOffset[x],t,!0,!0))&&(!0!==s&&(S.caret=x),T=!0),e.end>x&&(w.validPositions[x]=void 0),!T&&!r.isMask.call(v,x,b.keepStatic&&0===x))for(var D=x+1,M=r.seekNext.call(v,x,!1,0!==x);D<=M;D++)if(!1!==(S=E(D,t,n))){S=p.call(v,x,void 0!==S.pos?S.pos:D)||S,x=D;break}}}else S={caret:r.seekNext.call(v,x)}}v.hasAlternator&&!0!==s&&!n&&(!1===S&&b.keepStatic&&(c.call(v,r.getBuffer.call(v))||0===x)?S=a.call(v,x,t,n,o,void 0,e):(d.call(v,e)&&w.tests[x]&&w.tests[x].length>1&&b.keepStatic||1==S&&!0!==b.numericInput&&w.tests[x]&&w.tests[x].length>1&&r.getLastValidPosition.call(v,void 0,!0)>x)&&(S=a.call(v,!0))),!0===S&&(S={pos:x})}if("function"==typeof b.postValidation&&!0!==o&&!0!==h){var P=b.postValidation.call(v,r.getBuffer.call(v,!0),void 0!==e.begin?v.isRTL?e.end:e.begin:e,t,S,b,w,n,m);void 0!==P&&(S=!0===P?S:P)}S&&void 0===S.pos&&(S.pos=x),!1===S||!0===h?(r.resetMaskSet.call(v,!0),w.val
1idPositions=y.extend(!0,[],C)):p.call(v,void 0,x,!0);var O=k(S);return void 0!==v.maxLength&&r.getBuffer.call(v).length>v.maxLength&&!o&&(r.resetMaskSet.call(v,!0),w.validPositions=y.extend(!0,[],C),O=!1),O}function h(e,t,n){for(var o=this.maskset,r=!1,s=i.getTests.call(this,e),a=0;a<s.length;a++){if(s[a].match&&(s[a].match.nativeDef===t.match[n.shiftPositions?"def":"nativeDef"]&&(!n.shiftPositions||!t.match.static)||s[a].match.nativeDef===t.match.nativeDef||n.regex&&!s[a].match.static&&s[a].match.fn.test(t.input,o,e,!1,n))){r=!0;break}if(s[a].match&&s[a].match.def===t.match.nativeDef){r=void 0;break}}return!1===r&&void 0!==o.jitOffset[e]&&(r=h.call(this,e+o.jitOffset[e],t,n)),r}function f(e,t,n){var i,o,a=this,l=this.maskset,c=this.opts,d=this.dependencyLib,u=c.skipOptionalPartCharacter,h=a.isRTL?n.slice().reverse():n;if(c.skipOptionalPartCharacter="",!0===e)r.resetMaskSet.call(a),l.tests={},e=0,t=n.length,o=r.determineNewCaretPosition.call(a,{begin:0,end:0},!1).begin;else{for(i=e;i<t;i++)delete l.validPositions[i];o=e}var f=new d.Event("keypress");for(i=e;i<t;i++){f.key=h[i].toString(),a.ignorable=!1;var p=s.EventHandlers.keypressEvent.call(a,f,!0,!1,!1,o);!1!==p&&void 0!==p&&(o=p.forwardPosition)}c.skipOptionalPartCharacter=u}function p(e,t,n){var o=this,s=this.maskset,a=this.dependencyLib;if(void 0===e)for(e=t-1;e>0&&!s.validPositions[e];e--);for(var l=e;l<t;l++)if(void 0===s.validPositions[l]&&!r.isMask.call(o,l,!1)&&(0==l?i.getTest.call(o,l):s.validPositions[l-1])){var c=i.getTests.call(o,l).slice();""===c[c.length-1].match.def&&c.pop();var d,h=i.determineTestTemplate.call(o,l,c);if(h&&(!0!==h.match.jit||"master"===h.match.newBlockMarker&&(d=s.validPositions[l+1])&&!0===d.match.optionalQuantifier)&&((h=a.extend({},h,{input:i.getPlaceholder.call(o,l,h.match,!0)||h.match.def})).generatedInput=!0,g.call(o,l,h,!0),!0!==n)){var f=s.validPositions[t].input;return s.validPositions[t]=void 0,u.call(o,t,f,!0,!0)}}}function g(e,t,n,o){var s=this,a=this.maskset,l=this.opts,c=this.dependencyLib;function d(e,t,n){var i=t[e];if(void 0!==i&&!0===i.match.static&&!0!==i.match.optionality&&(void 0===t[0]||void 0===t[0].alternation)){var o=n.begin<=e-1?t[e-1]&&!0===t[e-1].match.static&&t[e-1]:t[e-1],r=n.end>e+1?t[e+1]&&!0===t[e+1].match.static&&t[e+1]:t[e+1];return o&&r}return!1}var f=0,p=void 0!==e.begin?e.begin:e,g=void 0!==e.end?e.end:e,m=!0;if(e.begin>e.end&&(p=e.end,g=e.begin),o=void 0!==o?o:p,void 0===n&&(p!==g||l.insertMode&&void 0!==a.validPositions[o]||void 0===t||t.match.optionalQuantifier||t.match.optionality)){var v,y=c.extend(!0,{},a.validPositions),b=r.getLastValidPosition.call(s,void 0,!0);for(a.p=p,v=b;v>=p;v--)delete a.validPositions[v],void 0===t&&delete a.tests[v+1];var w,x,k=o,E=k;for(t&&(a.validPositions[o]=c.extend(!0,{},t),E++,k++),v=t?g:g-1;v<=b;v++){if(void 0!==(w=y[v])&&!0!==w.generatedInput&&(v>=g||v>=p&&d(v,y,{begin:p,end:g}))){for(;""!==i.getTest.call(s,E).match.def;){if(!1!==(x=h.call(s,E,w,l))||"+"===w.match.def){"+"===w.match.def&&r.getBuffer.call(s,!0);var S=u.call(s,E,w.input,"+"!==w.match.def,!0);if(m=!1!==S,k=(S.pos||E)+1,!m&&x)break}else m=!1;if(m){void 0===t&&w.match.static&&v===e.begin&&f++;break}if(!m&&r.getBuffer.call(s),E>a.maskLength)break;E++}""==i.getTest.call(s,E).match.def&&(m=!1),E=k}if(!m)break}if(!m)return a.validPositions=c.extend(!0,[],y),r.resetMaskSet.call(s,!0),!1}else t&&i.getTest.call(s,o).match.cd===t.match.cd&&(a.validPositions[o]=c.extend(!0,{},t));return r.resetMaskSet.call(s,!0),f}},7957:function(t){t.exports=e}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var r=n[e]={exports:{}};return t[e](r,r.exports,i),r.exports}var o={};return function(){var e=o;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t,n=(t=i(3046))&&t.__esModule?t:{default:t};i(443);var r=n.default;e.default=r}(),o}()})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("jquery")):e.jQueryBridget=t(e,e.jQuery)}(window,(function(e,t){let n=e.console,i=void 0===n?function(){}:function(e){n.error(e)};return function(n,o,r){(r=r||t||e.jQuery)&&(o.prototype.option||(o.prototype.option=function(e){e&&(this.options=Object.assign(this.options||{},e))}),r.fn[n]=function(e,...t){return"string"==typeof e?function(e,t,o){let s,a=`$().${n}("${t}")`;return e.each((function(e,l){let c=r.data(l,n);if(!c)return void i(`${n} not initialized. Cannot call method ${a}`);let d=c[t];if(!d||"_"==t.charAt(0))return void i(`${a} is not a valid method`);let u=d.apply(c,o);s=void 0===s?u:s})),void 0!==s?s:e}(this,e,t):(s=e,this.each((function(e,t){let i=r.data(t,n);i?(i.option(s),i._init()):(i=new o(t,s),r.data(t,n,i))})),this);var s})}})),function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.EvEmitter=t()}("undefined"!=typeof window?window:this,(function(){function e(){}let t=e.prototype;return t.on=function(e,t){if(!e||!t)return this;let n=this._events=this._events||{},i=n[e]=n[e]||[];return i.includes(t)||i.push(t),this},t.once=function(e,t){if(!e||!t)return this;this.on(e,t);let n=this._onceEvents=this._onceEvents||{};return(n[e]=n[e]||{})[t]=!0,this},t.off=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;let i=n.indexOf(t);return-1!=i&&n.splice(i,1),this},t.emitEvent=function(e,t){let n=this._events&&this._events[e];if(!n||!n.length)return this;n=n.slice(0),t=t||[];let i=this._onceEvents&&this._onceEvents[e];for(let o of n)i&&i[o]&&(this.off(e,o),delete i[o]),o.apply(this,t);return this},t.allOff=function(){return delete this._events,delete this._onceEvents,this},e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t():e.getSize=t()}(window,(function(){function e(e){let t=parseFloat(e);return-1==e.indexOf("%")&&!isNaN(t)&&t}let t=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"];return t.length,function(n){if("string"==typeof n&&(n=document.querySelector(n)),!n||"object"!=typeof n||!n.nodeType)return;let i=getComputedStyle(n);if("none"==i.display)return function(){let e={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0};return t.forEach((t=>{e[t]=0})),e}();let o={};o.width=n.offsetWidth,o.height=n.offsetHeight;let r=o.isBorderBox="border-box"==i.boxSizing;t.forEach((e=>{let t=i[e],n=parseFloat(t);o[e]=isNaN(n)?0:n}));let s=o.paddingLeft+o.paddingRight,a=o.paddingTop+o.paddingBottom,l=o.marginLeft+o.marginRight,c=o.marginTop+o.marginBottom,d=o.borderLeftWidth+o.borderRightWidth,u=o.borderTopWidth+o.borderBottomWidth,h=e(i.width);!1!==h&&(o.width=h+(r?0:s+d));let f=e(i.height);return!1!==f&&(o.height=f+(r?0:a+u)),o.innerWidth=o.width-(s+d),o.innerHeight=o.height-(a+u),o.outerWidth=o.width+l,o.outerHeight=o.height+c,o}})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e):e.fizzyUIUtils=t(e)}(this,(function(e){let t={extend:function(e,t){return Object.assign(e,t)},modulo:function(e,t){return(e%t+t)%t},makeArray:function(e){return Array.isArray(e)?e:null==e?[]:"object"==typeof e&&"number"==typeof e.length?[...e]:[e]},removeFrom:function(e,t){let n=e.indexOf(t);-1!=n&&e.splice(n,1)},getParent:function(e,t){for(;e.parentNode&&e!=document.body;)if((e=e.parentNode).matches(t))return e},getQueryElement:function(e){return"string"==typeof e?document.querySelector(e):e},handleEvent:function(e){let t="on"+e.type;this[t]&&this[t](e)},filterFindElements:function(e,n){return(e=t.makeArray(e)).filter((e=>e instanceof HTMLElement)).reduce(((e,t)=>{if(!n)return e.push(t),e;t.matches(n)&&e.push(t);let i=t.querySelectorAll(n);return e.concat(...i)}),[])},debounceMethod:function(e,t,n){n=n||100;let i=e.prototype[t],o=t+"Timeout";e.prototype[t]=function(){clearTimeout(this[o]);let e=arguments;this[o]=setTimeout((()=>{i.apply(this,e),delete this[o]}),n)}},docReady:function(e){let t=document.readyState;"complete"==t||"interactive"==t?setTimeout(e):document.addEventListener("DOMContentLoaded",e)},toDashed:function(e){return e.replace(/(.)([A-Z])/g,(function(e,t,n){return t+"-"+n})).toLowerCase()}},n=e.console;return t.htmlInit=function(i,o){t.docReady((function(){let r="data-"+t.toDashed(o),s=document.querySelectorAll(`[${r}]`),a=e.jQuery;
vendor: 36,892 bytes, line 1
1[...s].forEach((e=>{let t,s=e.getAttribute(r);try{t=s&&JSON.parse(s)}catch(t){return void(n&&n.error(`Error parsing ${r} on ${e.className}: ${t}`))}let l=new i(e,t);a&&a.data(e,o,l)}))}))},t})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.Unidragger=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){function n(){}let i,o,r=n.prototype=Object.create(t.prototype);r.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},"ontouchstart"in e?(i="touchstart",o=["touchmove","touchend","touchcancel"]):e.PointerEvent?(i="pointerdown",o=["pointermove","pointerup","pointercancel"]):(i="mousedown",o=["mousemove","mouseup"]),r.touchActionValue="none",r.bindHandles=function(){this._bindHandles("addEventListener",this.touchActionValue)},r.unbindHandles=function(){this._bindHandles("removeEventListener","")},r._bindHandles=function(t,n){this.handles.forEach((o=>{o[t](i,this),o[t]("click",this),e.PointerEvent&&(o.style.touchAction=n)}))},r.bindActivePointerEvents=function(){o.forEach((t=>{e.addEventListener(t,this)}))},r.unbindActivePointerEvents=function(){o.forEach((t=>{e.removeEventListener(t,this)}))},r.withPointer=function(e,t){t.pointerId==this.pointerIdentifier&&this[e](t,t)},r.withTouch=function(e,t){let n;for(let e of t.changedTouches)e.identifier==this.pointerIdentifier&&(n=e);n&&this[e](t,n)},r.onmousedown=function(e){this.pointerDown(e,e)},r.ontouchstart=function(e){this.pointerDown(e,e.changedTouches[0])},r.onpointerdown=function(e){this.pointerDown(e,e)};const s=["TEXTAREA","INPUT","SELECT","OPTION"],a=["radio","checkbox","button","submit","image","file"];return r.pointerDown=function(e,t){let n=s.includes(e.target.nodeName),i=a.includes(e.target.type),o=!n||i;!this.isPointerDown&&!e.button&&o&&(this.isPointerDown=!0,this.pointerIdentifier=void 0!==t.pointerId?t.pointerId:t.identifier,this.pointerDownPointer={pageX:t.pageX,pageY:t.pageY},this.bindActivePointerEvents(),this.emitEvent("pointerDown",[e,t]))},r.onmousemove=function(e){this.pointerMove(e,e)},r.onpointermove=function(e){this.withPointer("pointerMove",e)},r.ontouchmove=function(e){this.withTouch("pointerMove",e)},r.pointerMove=function(e,t){let n={x:t.pageX-this.pointerDownPointer.pageX,y:t.pageY-this.pointerDownPointer.pageY};this.emitEvent("pointerMove",[e,t,n]),!this.isDragging&&this.hasDragStarted(n)&&this.dragStart(e,t),this.isDragging&&this.dragMove(e,t,n)},r.hasDragStarted=function(e){return Math.abs(e.x)>3||Math.abs(e.y)>3},r.dragStart=function(e,t){this.isDragging=!0,this.isPreventingClicks=!0,this.emitEvent("dragStart",[e,t])},r.dragMove=function(e,t,n){this.emitEvent("dragMove",[e,t,n])},r.onmouseup=function(e){this.pointerUp(e,e)},r.onpointerup=function(e){this.withPointer("pointerUp",e)},r.ontouchend=function(e){this.withTouch("pointerUp",e)},r.pointerUp=function(e,t){this.pointerDone(),this.emitEvent("pointerUp",[e,t]),this.isDragging?this.dragEnd(e,t):this.staticClick(e,t)},r.dragEnd=function(e,t){this.isDragging=!1,setTimeout((()=>delete this.isPreventingClicks)),this.emitEvent("dragEnd",[e,t])},r.pointerDone=function(){this.isPointerDown=!1,delete this.pointerIdentifier,this.unbindActivePointerEvents(),this.emitEvent("pointerDone")},r.onpointercancel=function(e){this.withPointer("pointerCancel",e)},r.ontouchcancel=function(e){this.withTouch("pointerCancel",e)},r.pointerCancel=function(e,t){this.pointerDone(),this.emitEvent("pointerCancel",[e,t])},r.onclick=function(e){this.isPreventingClicks&&e.preventDefault()},r.staticClick=function(e,t){let n="mouseup"==e.type;n&&this.isIgnoringMouseUp||(this.emitEvent("staticClick",[e,t]),n&&(this.isIgnoringMouseUp=!0,setTimeout((()=>{delete this.isIgnoringMouseUp}),400)))},n})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("ev-emitter")):e.imagesLoaded=t(e,e.EvEmitter)}("undefined"!=typeof window?window:this,(function(e,t){let n=e.jQuery,i=e.console;function o(e,t,r){if(!(this instanceof o))return new o(e,t,r);let s=e;var a;"string"==typeof e&&(s=document.querySelectorAll(e)),s?(this.elements=(a=s,Array.isArray(a)?a:"object"==typeof a&&"number"==typeof a.length?[...a]:[a]),this.options={},"function"==typeof t?r=t:Object.assign(this.options,t),r&&this.on("always",r),this.getImages(),n&&(this.jqDeferred=new n.Deferred),setTimeout(this.check.bind(this))):i.error(`Bad element for imagesLoaded ${s||e}`)}o.prototype=Object.create(t.prototype),o.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)};const r=[1,9,11];o.prototype.addElementImages=function(e){"IMG"===e.nodeName&&this.addImage(e),!0===this.options.background&&this.addElementBackgroundImages(e);let{nodeType:t}=e;if(!t||!r.includes(t))return;let n=e.querySelectorAll("img");for(let e of n)this.addImage(e);if("string"==typeof this.options.background){let t=e.querySelectorAll(this.options.background);for(let e of t)this.addElementBackgroundImages(e)}};const s=/url\((['"])?(.*?)\1\)/gi;function a(e){this.img=e}function l(e,t){this.url=e,this.element=t,this.img=new Image}return o.prototype.addElementBackgroundImages=function(e){let t=getComputedStyle(e);if(!t)return;let n=s.exec(t.backgroundImage);for(;null!==n;){let i=n&&n[2];i&&this.addBackground(i,e),n=s.exec(t.backgroundImage)}},o.prototype.addImage=function(e){let t=new a(e);this.images.push(t)},o.prototype.addBackground=function(e,t){let n=new l(e,t);this.images.push(n)},o.prototype.check=function(){if(this.progressedCount=0,this.hasAnyBroken=!1,!this.images.length)return void this.complete();let e=(e,t,n)=>{setTimeout((()=>{this.progress(e,t,n)}))};this.images.forEach((function(t){t.once("progress",e),t.check()}))},o.prototype.progress=function(e,t,n){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded,this.emitEvent("progress",[this,e,t]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,e),this.progressedCount===this.images.length&&this.complete(),this.options.debug&&i&&i.log(`progress: ${n}`,e,t)},o.prototype.complete=function(){let e=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(e,[this]),this.emitEvent("always",[this]),this.jqDeferred){let e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},a.prototype=Object.create(t.prototype),a.prototype.check=function(){this.getIsImageComplete()?this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.img.crossOrigin&&(this.proxyImage.crossOrigin=this.img.crossOrigin),this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.proxyImage.src=this.img.currentSrc||this.img.src)},a.prototype.getIsImageComplete=function(){return this.img.complete&&this.img.naturalWidth},a.prototype.confirm=function(e,t){this.isLoaded=e;let{parentNode:n}=this.img,i="PICTURE"===n.nodeName?n:this.img;this.emitEvent("progress",[this,i,t])},a.prototype.handleEvent=function(e){let t="on"+e.type;this[t]&&this[t](e)},a.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},a.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},a.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype=Object.create(a.prototype),l.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},l.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},l.prototype.confirm=function(e,t){this.isLoaded=e,this.emitEvent("progress",[this,this.element,t])},o.makeJQueryPlugin=function(t){(t=t||e.jQuery)&&(n=t,n.fn.imagesLoaded=function(e,t){return new o(this,e,t).jqDeferred.promise(n(this))})},o.makeJQueryPlugin(),o})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("get-size")):(e.Flickity=e.Flickity||{},e.Flickity.Cell=t(e.getSize))}("undefined"!=typeof window?window:this,(function(e){const t="flickity-cell";function n(e){this.element=e,this.element.classList.add(t),this.x=0,this.unselect()}let i=n.prototype;return i.destroy=function(){this.unselect(),this.element.classList.remove(t),this.element.style.transform="",this.element.removeAttribute("aria-hidden")},i.getSize=function(){this.size=e(this.element)},i.select=function(){this.element.classList.add("is-selected"),this.element.removeAttribute("aria-hidden")},i.unselect=function(){this.element.classList.remove("is-selected"),this.element.setAttribute("aria-hidden","true")},i.remove=function(){this.element.remove()},n})),function(e,t){"object"==typeof module&&module.exports?module.exports=t():(e.Flickity=e.Flickity||{},e.Flickity.Slide=t())}("undefined"!=typeof window?window:this,(function(){function e(e,t,n){this.beginMargin=e,this.endMargin=t,this.cellAlign=n,this.cells=[],this.outerWidth=0,this.height=0}let t=e.prototype;return t.addCell=function(e){this.cells.push(e),this.outerWidth+=e.size.outerWidth,this.height=Math.max(e.size.outerHeight,this.height),1===this.cells.length&&(this.x=e.x,this.firstMargin=e.size[this.beginMargin])},t.updateTarget=function(){let e=this.getLastCell(),t=e?e.size[this.endMargin]:0,n=this.outerWidth-(this.firstMargin+t);this.target=this.x+this.firstMargin+n*this.cellAlign},t.getLastCell=function(){return this.cells[this.cells.length-1]},t.select=function(){this.cells.forEach((e=>e.select()))},t.unselect=function(){this.cells.forEach((e=>e.unselect()))},t.getCellElements=function(){return this.cells.map((e=>e.element))},e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("fizzy-ui-utils")):(e.Flickity=e.Flickity||{},e.Flickity.animatePrototype=t(e.fizzyUIUtils))}("undefined"!=typeof window?window:this,(function(e){return{startAnimation:function(){this.isAnimating||(this.isAnimating=!0,this.restingFrames=0,this.animate())},animate:function(){this.applyDragForce(),this.applySelectedAttraction();let e=this.x;this.integratePhysics(),this.positionSlider(),this.settle(e),this.isAnimating&&requestAnimationFrame((()=>this.animate()))},positionSlider:function(){let t=this.x;this.isWrapping&&(t=e.modulo(t,this.slideableWidth)-this.slideableWidth,this.shiftWrapCells(t)),this.setTranslateX(t,this.isAnimating),this.dispatchScrollEvent()},setTranslateX:function(e,t){e+=this.cursorPosition,this.options.rightToLeft&&(e=-e);let n=this.getPositionValue(e);this.slider.style.transform=t?`translate3d(${n},0,0)`:`translateX(${n})`},dispatchScrollEvent:function(){let e=this.slides[0];if(!e)return;let t=-this.x-e.target,n=t/this.slidesWidth;this.dispatchEvent("scroll",null,[n,t])},positionSliderAtSelected:function(){this.cells.length&&(this.x=-this.selectedSlide.target,this.velocity=0,this.positionSlider())},getPositionValue:function(e){return this.options.percentPosition?.01*Math.round(e/this.size.innerWidth*1e4)+"%":Math.round(e)+"px"},settle:function(e){!this.isPointerDown&&Math.round(100*this.x)===Math.round(100*e)&&this.restingFrames++,this.restingFrames>2&&(this.isAnimating=!1,delete this.isFreeScrolling,this.positionSlider(),this.dispatchEvent("settle",null,[this.selectedIndex]))},shiftWrapCells:function(e){let t=this.cursorPosition+e;this._shiftCells(this.beforeShiftCells,t,-1);let n=this.size.innerWidth-(e+this.slideableWidth+this.cursorPosition);this._shiftCells(this.afterShiftCells,n,1)},_shiftCells:function(e,t,n){e.forEach((e=>{let i=t>0?n:0;this._wrapShiftCell(e,i),t-=e.size.outerWidth}))},_unshiftCells:function(e){e&&e.length&&e.forEach((e=>this._wrapShiftCell(e,0)))},_wrapShiftCell:function(e,t){this._renderCellPosition(e,e.x+this.slideableWidth*t)},integratePhysics:function(){this.x+=this.velocity,this.velocity*=this.getFrictionFactor()},applyForce:function(e){this.velocity+=e},getFrictionFactor:function(){return 1-this.options[this.isFreeScrolling?"freeScrollFriction":"friction"]},getRestingPosition:function(){return this.x+this.velocity/(1-this.getFrictionFactor())},applyDragForce:function(){if(!this.isDraggable||!this.isPointerDown)return;let e=this.dragX-this.x-this.velocity;this.applyForce(e)},applySelectedAttraction:function(){if(this.isDraggable&&this.isPointerDown||this.isFreeScrolling||!this.slides.length)return;let e=(-1*this.selectedSlide.target-this.x)*this.options.selectedAttraction;this.applyForce(e)}}})),function(e,t){if("object"==typeof module&&module.exports)module.exports=t(e,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./cell"),require("./slide"),require("./animate"));else{let n=e.Flickity;e.Flickity=t(e,e.EvEmitter,e.getSize,e.fizzyUIUtils,n.Cell,n.Slide,n.animatePrototype)}}("undefined"!=typeof window?window:this,(function(e,t,n,i,o,r,s){const{getComputedStyle:a,console:l}=e;let{jQuery:c}=e,d=0,u={};function h(e,t){let n=i.getQueryElement(e);if(n){if(this.element=n,this.element.flickityGUID){let e=u[this.element.flickityGUID];return e&&e.option(t),e}c&&(this.$element=c(this.element)),this.options={...this.constructor.defaults},this.option(t),this._create()}else l&&l.error(`Bad element for Flickity: ${n||e}`)}h.defaults={accessibility:!0,cellAlign:"center",freeScrollFriction:.075,friction:.28,namespaceJQueryEvents:!0,percentPosition:!0,resize:!0,selectedAttraction:.025,setGallerySize:!0},h.create={};let f=h.prototype;Object.assign(f,t.prototype),f._create=function(){let{resize:t,watchCSS:n,rightToLeft:i}=this.options,o=this.guid=++d;this.element.flickityGUID=o,u[o]=this,this.selectedIndex=0,this.restingFrames=0,this.x=0,this.velocity=0,this.beginMargin=i?"marginRight":"marginLeft",this.endMargin=i?"marginLeft":"marginRight",this.viewport=document.createElement("div"),this.viewport.className="flickity-viewport",this._createSlider(),this.focusableElems=[this.element],(t||n)&&e.addEventListener("resize",this);for(let e in this.options.on){let t=this.options.on[e];this.on(e,t)}for(let e in h.create)h.create[e].call(this);n?this.watchCSS():this.activate()},f.option=function(e){Object.assign(this.options,e)},f.activate=function(){if(this.isActive)return;this.isActive=!0,this.element.classList.add("flickity-enabled"),this.options.rightToLeft&&this.element.classList.add("flickity-rtl"),this.getSize();let e=this._filterFindCellElements(this.element.children);this.slider.append(...e),this.viewport.append(this.slider),this.element.append(this.viewport),this.reloadCells(),this.options.accessibility&&(this.element.tabIndex=0,this.element.addEventListener("keydown",this)),this.emitEvent("activate"),this.selectInitialIndex(),this.isInitActivated=!0,this.dispatchEvent("ready")},f._createSlider=function(){let e=document.createElement("div");e.className="flickity-slider",this.slider=e},f._filterFindCellElements=function(e){return i.filterFindElements(e,this.options.cellSelector)},f.reloadCells=function(){this.cells=this._makeCells(this.slider.children),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize()},f._makeCells=function(e){return this._filterFindCellElements(e).map((e=>new o(e)))},f.getLastCell=function(){return this.cells[this.cells.length-1]},f.getLastSlide=function(){return this.slides[this.slides.length-1]},f.positionCells=function(){this._sizeCells(this.cells),this._positionCells(0)},f._positionCells=function(e){e=e||0,this.maxCellHeight=e&&this.maxCellHeight||0;let t=0;if(e>0){let n=this.cells[e-1];t=n.x+n.size.outerWidth}this.cells.slice(e).forEach((e=>{e.x=t,this._renderCellPosition(e,t),t+=e.size.outerWidth,this.maxCellHeight=Math.max(e.size.outerHeight,this.maxCellHeight)})),this.slideableWidth=t,this.updateSlides(),this._containSlides(),this.slidesWidth=this.cells.length?this.getLastSlide().target-this.slides[0].target:0},f._renderCellPosition=function(e,t){let n=t*(this.options.rightToLeft?-1:1);this.options.percentPosition&&(n*=this.size.innerWidth/e.size.width);let i=this.getPositionValue(n);e.element.style.transform=`translateX( ${i} )`},f._sizeCells=function(e){e.forEach((e=>e.getSize()))},f.updateSlides=function(){if(this.slides=[],!this.cells.length)return;let{beginMargin:e,endMargin:t}=this,n=new r(e,t,this.cellAlign);this.slides.push(n);let i=this._getCanCellFit();this.cells.forEach(((o,s)=>{if(!n.cells.length)return void n.addCell(o);let a=n.outerWidth-n.firstMargin+(o.size.outerWidth-o.size[t]);i(s,a)||(n.updateTarget(),n=new r(e,t,this.cellAlign),this.slides.push(n)),n.addCell(o)})),n.updateTarget(),this.updateSelectedSlide()},f._getCanCellFit=function(){let{groupCells:e}=this.options;if(!e)return()=>!1;if("number"==typeof e){let t=parseInt(e,10);return e=>e%t!=0}let t=1,n="string"==typeof e&&e.match(/^(\d+)%$/);n&&(t=parseInt(n[1],10)/100);let i=(this.size.innerWidth+1)*t;return(e,t)=>t<=i},f._init=f.reposition=function(){this.positionCells(),this.positionSliderAtSelected()},f.getSize=function(){this.size=n(this.element),this.setCellAlign(),this.cursorPosition=this.size.innerWidth*this.cellAlign};let p={left:0,center:.5,right:1};f.setCellAlign=function(){let{cellAlign:e,rightToLeft:t}=this.options,n=p[e];this.cellAlign=void 0!==n?n:e,t&&(this.cellAlign=1-this.cellAlign)},f.setGallerySize=function(){if(!this.options.setGallerySize)return;let e=this.options.adaptiveHeight&&this.selectedSlide?this.selectedSlide.height:this.maxCellHeight;this.viewport.style.height=`${e}px`},f._updateWrapShiftCells=function(){if(this.isWrapping=this.getIsWrapping(),!this.isWrapping)return;this._unshiftCells(this.beforeShiftCells),this._unshiftCells(this.afterShiftCells);let e=this.cursorPosition,t=this.cells.length-1;this.beforeShiftCells=this._getGapCells(e,t,-1);let n=this.size.innerWidth-this.cursorPosition;this.afterShiftCells=this._getGapCells(n,0,1)},f.getIsWrapping=function(){let{wrapAround:e}=this.options;if(!e||this.slides.length<2)return!1;if("fill"!==e)return!0;let t=this.slideableWidth-this.size.innerWidth;if(t>this.size.innerWidth)return!0;for(let e of this.cells)if(e.size.outerWidth>t)return!1;return!0},f._getGapCells=function(e,t,n){let i=[];for(;e>0;){let o=this.cells[t];if(!o)break;i.push(o),t+=n,e-=o.size.outerWidth}return i},f._containSlides=function(){if(!this.options.contain||this.isWrapping||!this.cells.length)return;let e=this.slideableWidth-this.getLastCell().size[this.endMargin];if(e<this.size.innerWidth)this.slides.forEach((t=>{t.target=e*this.cellAlign}));else{let t=this.cursorPosition+this.cells[0].size[this.beginMargin],n=e-this.size.innerWidth*(1-this.cellAlign);this.slides.forEach((e=>{e.target=Math.max(e.target,t),e.target=Math.min(e.target,n)}))}},f.dispatchEvent=function(e,t,n){let i=t?[t].concat(n):n;if(this.emitEvent(e,i),c&&this.$element){let i=e+=this.options.namespaceJQueryEvents?".flickity":"";if(t){let n=new c.Event(t);n.type=e,i=n}this.$element.trigger(i,n)}};const g=["dragStart","dragMove","dragEnd","pointerDown","pointerMove","pointerEnd","staticClick"];let m=f.emitEvent;f.emitEvent=function(e,t){if("staticClick"===e){let e=this.getParentCell(t[0].target),n=e&&e.element,i=e&&this.cells.indexOf(e);t=t.concat(n,i)}if(m.call(this,e,t),!g.includes(e)||!c||!this.$element)return;e+=this.options.namespaceJQueryEvents?".flickity":"";let n=t.shift(0),i=new c.Event(n);i.type=e,this.$element.trigger(i,t)},f.select=function(e,t,n){if(!this.isActive)return;if(e=parseInt(e,10),this._wrapSelect(e),(this.isWrapping||t)&&(e=i.modulo(e,this.slides.length)),!this.slides[e])return;let o=this.selectedIndex;this.selectedIndex=e,this.updateSelectedSlide(),n?this.positionSliderAtSelected():this.startAnimation(),this.options.adaptiveHeight&&this.setGallerySize(),this.dispatchEvent("select",null,[e]),e!==o&&this.dispatchEvent("change",null,[e])},f._wrapSelect=function(e){if(!this.isWrapping)return;const{selectedIndex:t,slideableWidth:n,slides:{length:o}}=this;if(!this.isDragSelect){let n=i.modulo(e,o),r=Math.abs(n-t),s=Math.abs(n+o-t),a=Math.abs(n-o-t);s<r?e+=o:a<r&&(e-=o)}e<0?this.x-=n:e>=o&&(this.x+=n)},f.previous=function(e,t){this.select(this.selectedIndex-1,e,t)},f.next=function(e,t){this.select(this.selectedIndex+1,e,t)},f.updateSelectedSlide=function(){let e=this.slides[this.selectedIndex];e&&(this.unselectSelectedSlide(),this.selectedSlide=e,e.select(),this.selectedCells=e.cells,this.selectedElements=e.getCellElements(),this.selectedCell=e.cells[0],this.selectedElement=this.selectedElements[0])},f.unselectSelectedSlide=function(){this.selectedSlide&&this.selectedSlide.unselect()},f.selectInitialIndex=function(){let e=this.options.initialIndex;if(this.isInitActivated)return void this.select(this.selectedIndex,!1,!0);if(e&&"string"==typeof e&&this.queryCell(e))return void this.selectCell(e,!1,!0);let t=0;e&&this.slides[e]&&(t=e),this.select(t,!1,!0)},f.selectCell=function(e,t,n){let i=this.queryCell(e);if(!i)return;let o=this.getCellSlideIndex(i);this.select(o,t,n)},f.getCellSlideIndex=function(e){let t=this.slides.find((t=>t.cells.includes(e)));return this.slides.indexOf(t)},f.getCell=function(e){for(let t of this.cells)if(t.element===e)return t},f.getCells=function(e){return(e=i.makeArray(e)).map((e=>this.getCell(e))).filter(Boolean)},f.getCellElements=function(){return this.cells.map((e=>e.element))},f.getParentCell=function(e){let t=this.getCell(e);if(t)return t;let n=e.closest(".flickity-slider > *");return this.getCell(n)},f.getAdjacentCellElements=function(e,t){if(!e)return this.selectedSlide.getCellElements();t=void 0===t?this.selectedIndex:t;let n=this.slides.length;if(1+2*e>=n)return this.getCellElements();let o=[];for(let r=t-e;r<=t+e;r++){let e=this.isWrapping?i.modulo(r,n):r,t=this.slides[e];t&&(o=o.concat(t.getCellElements()))}return o},f.queryCell=function(e){return"number"==typeof e?this.cells[e]:("string"==typeof e&&!e.match(/^[#.]?[\d/]/)&&(e=this.element.querySelector(e)),this.getCell(e))},f.uiChange=function(){this.emitEvent("uiChange")},f.onresize=function(){this.watchCSS(),this.resize()},i.debounceMethod(h,"onresize",150),f.resize=function(){if(!this.isActive||this.isAnimating||this.isDragging)return;this.getSize(),this.isWrapping&&(this.x=i.modulo(this.x,this.slideableWidth)),this.positionCells(),this._updateWrapShiftCells(),this.setGallerySize(),this.emitEvent("resize");let e=this.selectedElements&&this.selectedElements[0];this.selectCell(e,!1,!0)},f.watchCSS=function(){this.options.watchCSS&&(a(this.element,":after").content.includes("flickity")?this.activate():this.deactivate())},f.onkeydown=function(e){let{activeElement:t}=document,n=h.keyboardHandlers[e.key];this.options.accessibility&&t&&n&&this.focusableElems.some((e=>t===e))&&n.call(this)},h.keyboardHandlers={ArrowLeft:function(){this.uiChange(),this[this.options.rightToLeft?"next":"previous"]()},ArrowRight:function(){this.uiChange(),this[this.options.rightToLeft?"previous":"next"]()}},f.focus=function(){this.element.focus({preventScroll:!0})},f.deactivate=function(){this.isActive&&(this.element.classList.remove("flickity-enabled"),this.element.classList.remove("flickity-rtl"),this.unselectSelectedSlide(),this.cells.forEach((e=>e.destroy())),this.viewport.remove(),this.element.append(...this.slider.children),this.options.accessibility&&(this.element.removeAttribute("tabIndex"),this.element.removeEventListener("keydown",this)),this.isActive=!1,this.emitEvent("deactivate"))},f.destroy=function(){this.deactivate(),e.removeEventListener("resize",this),this.allOff(),this.emitEvent("destroy"),c&&this.$element&&c.removeData(this.element,"flickity"),delete this.element.flickityGUID,delete u[this.guid]},Object.assign(f,s),h.data=function(e){if(e=i.getQueryElement(e))return u[e.flickityGUID]},i.htmlInit(h,"flickity");let{jQueryBridget:v}=e;return c&&v&&v("flickity",h,c),h.setJQuery=function(e){c=e},h.Cell=o,h.Slide=r,h})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(e,require("./core"),require("unidragger"),require("fizzy-ui-utils")):e.Flickity=t(e,e.Flickity,e.Unidragger,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t,n,i){Object.assign(t.defaults,{draggable:">1",dragThreshold:3});let o=t.prototype;function r(){return{x:e.pageXOffset,y:e.pageYOffset}}return Object.assign(o,n.prototype),o.touchActionValue="",t.create.drag=function(){this.on("activate",this.onActivateDrag),this.on("uiChange",this._uiChangeDrag),this.on("deactivate",this.onDeactivateDrag),this.on("cellChange",this.updateDraggable),this.on("pointerDown",this.handlePointerDown),this.on("pointerUp",this.handlePointerUp),this.on("pointerDown",this.handlePointerDone),this.on("dragStart",this.handleDragStart),this.on("dragMove",this.handleDragMove),this.on("dragEnd",this.handleDragEnd),this.on("staticClick",this.handleStaticClick)},o.onActivateDrag=function(){this.handles=[this.viewport],this.bindHandles(),this.updateDraggable()},o.onDeactivateDrag=function(){this.unbindHandles(),this.element.classList.remove("is-draggable")},o.updateDraggable=function(){">1"===this.options.draggable?this.isDraggable=this.slides.length>1:this.isDraggable=this.options.draggable,this.element.classList.toggle("is-draggable",this.isDraggable)},o._uiChangeDrag=function(){delete this.isFreeScrolling},o.handlePointerDown=function(t){if(!this.isDraggable)return void this.bindActivePointerEvents(t);let n="touchstart"===t.type,i="touch"===t.pointerType,o=t.target.matches("input, textarea, select");n||i||o||t.preventDefault(),o||this.focus(),document.activeElement!==this.element&&document.activeElement.blur(),this.dragX=this.x,this.viewport.classList.add("is-pointer-down"),this.pointerDownScroll=r(),e.addEventListener("scroll",this),this.bindActivePointerEvents(t)},o.hasDragStarted=function(e){return Math.abs(e.x)>this.options.dragThreshold},o.handlePointerUp=function(){delete this.isTouchScrolling,this.viewport.classList.remove("is-pointer-down")},o.handlePointerDone=function(){e.removeEventListener("scroll",this),delete this.pointerDownScroll},o.handleDragStart=function(){this.isDraggable&&(this.dragStartPosition=this.x,this.startAnimation(),e.removeEventListener("scroll",this))},o.handleDragMove=function(e,t,n){if(!this.isDraggable)return;e.preventDefault(),this.previousDragX=this.dragX;let i=this.options.rightToLeft?-1:1;this.isWrapping&&(n.x%=this.slideableWidth);let o=this.dragStartPosition+n.x*i;if(!this.isWrapping){let e=Math.max(-this.slides[0].target,this.dragStartPosition);o=o>e?.5*(o+e):o;let t=Math.min(-this.getLastSlide().target,this.dragStartPosition);o=o<t?.5*(o+t):o}this.dragX=o,this.dragMoveTime=new Date},o.handleDragEnd=function(){if(!this.isDraggable)return;let{freeScroll:e}=this.options;e&&(this.isFreeScrolling=!0);let t=this.dragEndRestingSelect();if(e&&!this.isWrapping){let e=this.getRestingPosition();this.isFreeScrolling=-e>this.slides[0].target&&-e<this.getLastSlide().target}else e||t!==this.selectedIndex||(t+=this.dragEndBoostSelect());delete this.previousDragX,this.isDragSelect=this.isWrapping,this.select(t),delete this.isDragSelect},o.dragEndRestingSelect=function(){let e=this.getRestingPosition(),t=Math.abs(this.getSlideDistance(-e,this.selectedIndex)),n=this._getClosestResting(e,t,1),i=this._getClosestResting(e,t,-1);return n.distance<i.distance?n.index:i.index},o._getClosestResting=function(e,t,n){let i=this.selectedIndex,o=1/0,r=this.options.contain&&!this.isWrapping?(e,t)=>e<=t:(e,t)=>e<t;for(;r(t,o)&&(i+=n,o=t,null!==(t=this.getSlideDistance(-e,i)));)t=Math.abs(t);return{distance:o,index:i-n}},o.getSlideDistance=function(e,t){let n=this.slides.length,o=this.options.wrapAround&&n>1,r=o?i.modulo(t,n):t,s=this.slides[r];if(!s)return null;let a=o?this.slideableWidth*Math.floor(t/n):0;return e-(s.target+a)},o.dragEndBoostSelect=function(){if(void 0===this.previousDragX||!this.dragMoveTime||new Date-this.dragMoveTime>100)return 0;let e=this.getSlideDistance(-this.dragX,this.selectedIndex),t=this.previousDragX-this.dragX;return e>0&&t>0?1:e<0&&t<0?-1:0},o.onscroll=function(){let e=r(),t=this.pointerDownScroll.x-e.x,n=this.pointerDownScroll.y-e.y;(Math.abs(t)>3||Math.abs(n)>3)&&this.pointerDone()},t})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("./core")):t(e.Flickity)}("undefined"!=typeof window?window:this,(function(e){const t="http://www.w3.org/2000/svg";function n(e,t,n){this.increment=e,this.direction=t,this.isPrevious="previous"===e,this.isLeft="left"===t,this._create(n)}n.prototype._create=function(e){let t=this.element=document.createElement("button");t.className=`flickity-button flickity-prev-next-button ${this.increment}`;let n=this.isPrevious?"Previous":"Next";t.setAttribute("type","button"),t.setAttribute("aria-label",n),this.disable();let i=this.createSVG(n,e);t.append(i)},n.prototype.createSVG=function(e,n){let i=document.createElementNS(t,"svg");i.setAttribute("class","flickity-button-icon"),i.setAttribute("viewBox","0 0 100 100");let o=document.createElementNS(t,"title");o.append(e);let r=document.createElementNS(t,"path"),s=function(e){if("string"==typeof e)return e;let{x0:t,x1:n,x2:i,x3:o,y1:r,y2:s}=e;return`M ${t}, 50\n L ${n}, ${r+50}\n L ${i}, ${s+50}\n L ${o}, 50\n L ${i}, ${50-s}\n L ${n}, ${50-r}\n Z`}(n);return r.setAttribute("d",s),r.setAttribute("class","arrow"),this.isLeft||r.setAttribute("transform","translate(100, 100) rotate(180)"),i.append(o,r),i},n.prototype.enable=function(){this.element.removeAttribute("disabled")},n.prototype.disable=function(){this.element.setAttribute("disabled",!0)},Object.assign(e.defaults,{prevNextButtons:!0,arrowShape:{x0:10,x1:60,y1:50,x2:70,y2:40,x3:30}}),e.create.prevNextButtons=function(){if(!this.options.prevNextButtons)return;let{rightToLeft:e,arrowShape:t}=this.options,i=e?"right":"left",o=e?"left":"right";this.prevButton=new n("previous",i,t),this.nextButton=new n("next",o,t),this.focusableElems.push(this.prevButton.element),this.focusableElems.push(this.nextButton.element),this.handlePrevButtonClick=()=>{this.uiChange(),this.previous()},this.handleNextButtonClick=()=>{this.uiChange(),this.next()},this.on("activate",this.activatePrevNextButtons),this.on("select",this.updatePrevNextButtons)};let i=e.prototype;return i.updatePrevNextButtons=function(){let e=this.slides.length?this.slides.length-1:0;this.updatePrevNextButton(this.prevButton,0),this.updatePrevNextButton(this.nextButton,e)},i.updatePrevNextButton=function(e,t){if(this.isWrapping&&this.slides.length>1)return void e.enable();let n=this.selectedIndex!==t;e[n?"enable":"disable"](),!n&&document.activeElement===e.element&&this.focus()},i.activatePrevNextButtons=function(){this.prevButton.element.addEventListener("click",this.handlePrevButtonClick),this.nextButton.element.addEventListener("click",this.handleNextButtonClick),this.element.append(this.prevButton.element,this.nextButton.element),this.on("deactivate",this.deactivatePrevNextButtons)},i.deactivatePrevNextButtons=function(){this.prevButton.element.remove(),this.nextButton.element.remove(),this.prevButton.element.removeEventListener("click",this.handlePrevButtonClick),this.nextButton.element.removeEventListener("click",this.handleNextButtonClick),this.off("deactivate",this.deactivatePrevNextButtons)},e.PrevNextButton=n,e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("./core"),require("fizzy-ui-utils")):t(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){function n(){this.holder=document.createElement("div"),this.holder.className="flickity-page-dots",this.dots=[]}n.prototype.setDots=function(e){let t=e-this.dots.length;t>0?this.addDots(t):t<0&&this.removeDots(-t)},n.prototype.addDots=function(e){let t=new Array(e).fill().map(((e,t)=>{let n=document.createElement("button");n.setAttribute("type","button");let i=t+1+this.dots.length;return n.className="flickity-page-dot",n.textContent=`View slide ${i}`,n}));this.holder.append(...t),this.dots=this.dots.concat(t)},n.prototype.removeDots=function(e){this.dots.splice(this.dots.length-e,e).forEach((e=>e.remove()))},n.prototype.updateSelected=function(e){this.selectedDot&&(this.selectedDot.classList.remove("is-selected"),this.selectedDot.removeAttribute("aria-current")),this.dots.length&&(this.selectedDot=this.dots[e],this.selectedDot.classList.add("is-selected"),this.selectedDot.setAttribute("aria-current","step"))},e.PageDots=n,Object.assign(e.defaults,{pageDots:!0}),e.create.pageDots=function(){this.options.pageDots&&(this.pageDots=new n,this.handlePageDotsClick=this.onPageDotsClick.bind(this),this.on("activate",this.activatePageDots),this.on("select",this.updateSelectedPageDots),this.on("cellChange",this.updatePageDots),this.on("resize",this.updatePageDots),this.on("deactivate",this.deactivatePageDots))};let i=e.prototype;return i.activatePageDots=function(){this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots),this.pageDots.holder.addEventListener("click",this.handlePageDotsClick),this.element.append(this.pageDots.holder)},i.onPageDotsClick=function(e){let t=this.pageDots.dots.indexOf(e.target);-1!==t&&(this.uiChange(),this.select(t))},i.updateSelectedPageDots=function(){this.pageDots.updateSelected(this.selectedIndex)},i.updatePageDots=function(){this.pageDots.dots.forEach((e=>{t.removeFrom(this.focusableElems,e)})),this.pageDots.setDots(this.slides.length),this.focusableElems.push(...this.pageDots.dots)},i.deactivatePageDots=function(){this.pageDots.holder.remove(),this.pageDots.holder.removeEventListener("click",this.handlePageDotsClick)},e.PageDots=n,e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("./core")):t(e.Flickity)}("undefined"!=typeof window?window:this,(function(e){function t(e,t){this.autoPlay=e,this.onTick=t,this.state="stopped",this.onVisibilityChange=this.visibilityChange.bind(this),this.onVisibilityPlay=this.visibilityPlay.bind(this)}t.prototype.play=function(){"playing"!==this.state&&(document.hidden?document.addEventListener("visibilitychange",this.onVisibilityPlay):(this.state="playing",document.addEventListener("visibilitychange",this.onVisibilityChange),this.tick()))},t.prototype.tick=function(){if("playing"!==this.state)return;let e="number"==typeof this.autoPlay?this.autoPlay:3e3;this.clear(),this.timeout=setTimeout((()=>{this.onTick(),this.tick()}),e)},t.prototype.stop=function(){this.state="stopped",this.clear(),document.removeEventListener("visibilitychange",this.onVisibilityChange)},t.prototype.clear=function(){clearTimeout(this.timeout)},t.prototype.pause=function(){"playing"===this.state&&(this.state="paused",this.clear())},t.prototype.unpause=function(){"paused"===this.state&&this.play()},t.prototype.visibilityChange=function(){this[document.hidden?"pause":"unpause"]()},t.prototype.visibilityPlay=function(){this.play(),document.removeEventListener("visibilitychange",this.onVisibilityPlay)},Object.assign(e.defaults,{pauseAutoPlayOnHover:!0}),e.create.player=function(){this.player=new t(this.options.autoPlay,(()=>{this.next(!0)})),this.on("activate",this.activatePlayer),this.on("uiChange",this.stopPlayer),this.on("pointerDown",this.stopPlayer),this.on("deactivate",this.deactivatePlayer)};let n=e.prototype;return n.activatePlayer=function(){this.options.autoPlay&&(this.player.play(),this.element.addEventListener("mouseenter",this))},n.playPlayer=function(){this.player.play()},n.stopPlayer=function(){this.player.stop()},n.pausePlayer=function(){this.player.pause()},n.unpausePlayer=function(){this.player.unpause()},n.deactivatePlayer=function(){this.player.stop(),this.element.removeEventListener("mouseenter",this)},n.onmouseenter=function(){this.options.pauseAutoPlayOnHover&&(this.player.pause(),this.element.addEventListener("mouseleave",this))},n.onmouseleave=function(){this.player.unpause(),this.element.removeEventListener("mouseleave",this)},e.Player=t,e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("./core"),require("fizzy-ui-utils")):t(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){let n=e.prototype;return n.insert=function(e,t){let n=this._makeCells(e);if(!n||!n.length)return;let i=this.cells.length;t=void 0===t?i:t;let o=function(e){let t=document.createDocumentFragment();return e.forEach((e=>t.appendChild(e.element))),t}(n),r=t===i;if(r)this.slider.appendChild(o);else{let e=this.cells[t].element;this.slider.insertBefore(o,e)}if(0===t)this.cells=n.concat(this.cells);else if(r)this.cells=this.cells.concat(n);else{let e=this.cells.splice(t,i-t);this.cells=this.cells.concat(n).concat(e)}this._sizeCells(n),this.cellChange(t),this.positionSliderAtSelected()},n.append=function(e){this.insert(e,this.cells.length)},n.prepend=function(e){this.insert(e,0)},n.remove=function(e){let n=this.getCells(e);if(!n||!n.length)return;let i=this.cells.length-1;
1n.forEach((e=>{e.remove();let n=this.cells.indexOf(e);i=Math.min(n,i),t.removeFrom(this.cells,e)})),this.cellChange(i),this.positionSliderAtSelected()},n.cellSizeChange=function(e){let t=this.getCell(e);if(!t)return;t.getSize();let n=this.cells.indexOf(t);this.cellChange(n)},n.cellChange=function(e){let t=this.selectedElement;this._positionCells(e),this._updateWrapShiftCells(),this.setGallerySize();let n=this.getCell(t);n&&(this.selectedIndex=this.getCellSlideIndex(n)),this.selectedIndex=Math.min(this.slides.length-1,this.selectedIndex),this.emitEvent("cellChange",[e]),this.select(this.selectedIndex)},e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("./core"),require("fizzy-ui-utils")):t(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){const n="data-flickity-lazyload",i=`${n}-src`,o=`${n}-srcset`,r=`img[${n}], img[${i}], img[${o}], source[${o}]`;e.create.lazyLoad=function(){this.on("select",this.lazyLoad),this.handleLazyLoadComplete=this.onLazyLoadComplete.bind(this)};let s=e.prototype;function a(e){if(e.matches("img")){let t=e.getAttribute(n),r=e.getAttribute(i),s=e.getAttribute(o);if(t||r||s)return e}return[...e.querySelectorAll(r)]}function l(e,t){this.img=e,this.onComplete=t,this.load()}return s.lazyLoad=function(){let{lazyLoad:e}=this.options;if(!e)return;let t="number"==typeof e?e:0;this.getAdjacentCellElements(t).map(a).flat().forEach((e=>new l(e,this.handleLazyLoadComplete)))},s.onLazyLoadComplete=function(e,t){let n=this.getParentCell(e),i=n&&n.element;this.cellSizeChange(i),this.dispatchEvent("lazyLoad",t,i)},l.prototype.handleEvent=t.handleEvent,l.prototype.load=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this);let e=this.img.getAttribute(n)||this.img.getAttribute(i),t=this.img.getAttribute(o);this.img.src=e,t&&this.img.setAttribute("srcset",t),this.img.removeAttribute(n),this.img.removeAttribute(i),this.img.removeAttribute(o)},l.prototype.onload=function(e){this.complete(e,"flickity-lazyloaded")},l.prototype.onerror=function(e){this.complete(e,"flickity-lazyerror")},l.prototype.complete=function(e,t){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this),(this.img.parentNode.matches("picture")?this.img.parentNode:this.img).classList.add(t),this.onComplete(this.img,e)},e.LazyLoader=l,e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("./core"),require("imagesloaded")):t(e.Flickity,e.imagesLoaded)}("undefined"!=typeof window?window:this,(function(e,t){return e.create.imagesLoaded=function(){this.on("activate",this.imagesLoaded)},e.prototype.imagesLoaded=function(){this.options.imagesLoaded&&t(this.slider).on("progress",((e,t)=>{let n=this.getParentCell(t.img);this.cellSizeChange(n&&n.element),this.options.freeScroll||this.positionSliderAtSelected()}))},e})),function(e,t){"object"==typeof module&&module.exports?module.exports=t(require("flickity"),require("fizzy-ui-utils")):t(e.Flickity,e.fizzyUIUtils)}("undefined"!=typeof window?window:this,(function(e,t){let n=e.Slide;n.prototype.renderFadePosition=function(){},n.prototype.setOpacity=function(e){this.cells.forEach((t=>{t.element.style.opacity=e}))},e.create.fade=function(){this.fadeIndex=this.selectedIndex,this.prevSelectedIndex=this.selectedIndex,this.on("select",this.onSelectFade),this.on("dragEnd",this.onDragEndFade),this.on("settle",this.onSettleFade),this.on("activate",this.onActivateFade),this.on("deactivate",this.onDeactivateFade)};let i=e.prototype,o=i.updateSlides;i.updateSlides=function(){o.apply(this,arguments),this.options.fade&&this.slides.forEach(((e,t)=>{let n=e.target-e.x,i=e.cells[0].x;e.cells.forEach((e=>{let t=e.x-i-n;this._renderCellPosition(e,t)}));let o=t===this.selectedIndex?1:0;e.setOpacity(o)}))},i.onSelectFade=function(){this.fadeIndex=Math.min(this.prevSelectedIndex,this.slides.length-1),this.prevSelectedIndex=this.selectedIndex},i.onSettleFade=function(){delete this.didDragEnd,this.options.fade&&(this.selectedSlide.setOpacity(1),this.slides[this.fadeIndex]&&this.fadeIndex!==this.selectedIndex&&this.slides[this.fadeIndex].setOpacity(0))},i.onDragEndFade=function(){this.didDragEnd=!0},i.onActivateFade=function(){this.options.fade&&this.element.classList.add("is-fade")},i.onDeactivateFade=function(){this.options.fade&&(this.element.classList.remove("is-fade"),this.slides.forEac
1h((e=>{e.setOpacity("")})))};let r=i.positionSlider;i.positionSlider=function(){this.options.fade?(this.fadeSlides(),this.dispatchScrollEvent()):r.apply(this,arguments)};let s=i.positionSliderAtSelected;i.positionSliderAtSelected=function(){this.options.fade&&this.setTranslateX(0),s.apply(this,arguments)},i.fadeSlides=function(){if(this.slides.length<2)return;let e=this.getFadeIndexes(),t=this.slides[e.a],n=this.slides[e.b],i=this.wrapDifference(t.target,n.target),o=this.wrapDifference(t.target,-this.x);o/=i,t.setOpacity(1-o),n.setOpacity(o);let r=e.a;this.isDragging&&(r=o>.5?e.a:e.b),void 0!==this.fadeHideIndex&&this.fadeHideIndex!==r&&this.fadeHideIndex!==e.a&&this.fadeHideIndex!==e.b&&this.slides[this.fadeHideIndex].setOpacity(0),this.fadeHideIndex=r},i.getFadeIndexes=function(){return this.isDragging||this.didDragEnd?this.options.wrapAround?this.getFadeDragWrapIndexes():this.getFadeDragLimitIndexes():{a:this.fadeIndex,b:this.selectedIndex}},i.getFadeDragWrapIndexes=function(){let e=this.slides.map((function(e,t){return this.getSlideDistance(-this.x,t)}),this),n=e.map((function(e){return Math.abs(e)})),i=Math.min(...n),o=n.indexOf(i),r=e[o],s=this.slides.length,a=r>=0?1:-1;return{a:o,b:t.modulo(o+a,s)}},i.getFadeDragLimitIndexes=function(){let e=0;for(let t=0;t<this.slides.length-1;t++){let n=this.slides[t];if(-this.x<n.target)break;e=t}return{a:e,b:e+1}},i.wrapDifference=function(e,t){let n=t-e;if(!this.options.wrapAround)return n;let i=n+this.slideableWidth,o=n-this.slideableWidth;return Math.abs(i)<Math.abs(n)&&(n=i),Math.abs(o)<Math.abs(n)&&(n=o),n};let a=i._updateWrapShiftCells;i._updateWrapShiftCells=function(){this.options.fade?this.isWrapping=this.getIsWrapping():a.apply(this,arguments)};let l=i.shiftWrapCells;return i.shiftWrapCells=function(){this.options.fade||l.apply(this,arguments)},e})),function(e,t){var n=function(e,t,n){"use strict";var i,o;if(function(){var t,n={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in o=e.lazySizesConfig||e.lazysizesConfig||{},n)t in o||(o[t]=n[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:o,noSupport:!0};var r,s,a,l,c,d,u,h,f,p,g,m,v,y,b,w,x,k,E,S,C,_,A,T,D,M,P,O,R,I,L,N,j,H,$,z,B,F,V,U,W,q,G,Y,Q=t.documentElement,X=e.HTMLPictureElement,Z="addEventListener",K="getAttribute",J=e[Z].bind(e),ee=e.setTimeout,te=e.requestAnimationFrame||ee,ne=e.requestIdleCallback,ie=/^picture$/i,oe=["load","error","lazyincluded","_lazyloaded"],re={},se=Array.prototype.forEach,ae=function(e,t){return re[t]||(re[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),re[t].test(e[K]("class")||"")&&re[t]},le=function(e,t){ae(e,t)||e.setAttribute("class",(e[K]("class")||"").trim()+" "+t)},ce=function(e,t){var n;(n=ae(e,t))&&e.setAttribute("class",(e[K]("class")||"").replace(n," "))},de=function(e,t,n){var i=n?Z:"removeEventListener";n&&de(e,t),oe.forEach((function(n){e[i](n,t)}))},ue=function(e,n,o,r,s){var a=t.createEvent("Event");return o||(o={}),o.instance=i,a.initEvent(n,!r,!s),a.detail=o,e.dispatchEvent(a),a},he=function(t,n){var i;!X&&(i=e.picturefill||o.pf)?(n&&n.src&&!t[K]("srcset")&&t.setAttribute("srcset",n.src),i({reevaluate:!0,elements:[t]})):n&&n.src&&(t.src=n.src)},fe=function(e,t){return(getComputedStyle(e,null)||{})[t]},pe=function(e,t,n){for(n=n||e.offsetWidth;n<o.minSize&&t&&!e._lazysizesWidth;)n=t.offsetWidth,t=t.parentNode;return n},ge=(W=[],q=U=[],G=function(){var e=q;for(q=U.length?W:U,F=!0,V=!1;e.length;)e.shift()();F=!1},Y=function(e,n){F&&!n?e.apply(this,arguments):(q.push(e),V||(V=!0,(t.hidden?ee:te)(G)))},Y._lsFlush=G,Y),me=function(e,t){return t?function(){ge(e)}:function(){var t=this,n=arguments;ge((function(){e.apply(t,n)}))}},ve=function(e){var t,i,o=function(){t=null,e()},r=function(){var e=n.now()-i;e<99?ee(r,99-e):(ne||o)(o)};return function(){i=n.now(),t||(t=ee(r,99))}},ye=(x=/^img$/i,k=/^iframe$/i,E="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),0,S=0,C=0,_=-1,A=function(e){C--,(!e||C<0||!e.target)&&(C=0)},T=function(e){return null==w&&(w="hidden"==fe(t.body,"visibility")),w||!("hidden"==fe(e.parentNode,"visibility")&&"hidden"==fe(e,"visibility"))},D=function(e,n){var i,o=e,r=T(e);for(m-=n,b+=n,v-=n,y+=n;r&&(o=o.offsetParent)&&o!=t.body&&o!=Q;)(r=(fe(o,"opacity")||1)>0)&&"visible"!=fe(o,"overflow")&&(i=o.getBoundingClientRect(),r=y>i.left&&v<i.right&&b>i.top-1&&m<i.bottom+1);return r},M=function(){var e,n,r,s,a,l,u,f,x,k,A,M,P=i.elements;if((h=o.loadMode)&&C<8&&(e=P.length)){for(n=0,_++;n<e;n++)if(P[n]&&!P[n]._lazyRace)if(!E||i.prematureUnveil&&i.prematureUnveil(P[n]))H(P[n]);else if((f=P[n][K]("data-expand"))&&(l=1*f)||(l=S),k||(k=!o.expand||o.expand<1?Q.clientHeight>500&&Q.clientWidth>500?500:370:o.expand,i._defEx=k,A=k*o.expFactor,M=o.hFac,w=null,S<A&&C<1&&_>2&&h>2&&!t.hidden?(S=A,_=0):S=h>1&&_>1&&C<6?k:0),x!==l&&(p=innerWidth+l*M,g=innerHeight+l,u=-1*l,x=l),r=P[n].getBoundingClientRect(),(b=r.bottom)>=u&&(m=r.top)<=g&&(y=r.right)>
1=u*M&&(v=r.left)<=p&&(b||y||v||m)&&(o.loadHidden||T(P[n]))&&(d&&C<3&&!f&&(h<3||_<4)||D(P[n],l))){if(H(P[n]),a=!0,C>9)break}else!a&&d&&!s&&C<4&&_<4&&h>2&&(c[0]||o.preloadAfterLoad)&&(c[0]||!f&&(b||y||v||m||"auto"!=P[n][K](o.sizesAttr)))&&(s=c[0]||P[n]);s&&!a&&H(s)}},P=function(e){var t,i=0,r=o.throttleDelay,s=o.ricTimeout,a=function(){t=!1,i=n.now(),e()},l=ne&&s>49?function(){ne(a,{timeout:s}),s!==o.ricTimeout&&(s=o.ricTimeout)}:me((function(){ee(a)}),!0);return function(e){var o;(e=!0===e)&&(s=33),t||(t=!0,(o=r-(n.now()-i))<0&&(o=0),e||o<9?l():ee(l,o))}}(M),O=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(A(e),le(t,o.loadedClass),ce(t,o.loadingClass),de(t,I),ue(t,"lazyloaded"))},R=me(O),I=function(e){R({target:e.target})},L=function(e,t){var n=e.getAttribute("data-load-mode")||o.iframeLoadMode;0==n?e.contentWindow.location.replace(t):1==n&&(e.src=t)},N=function(e){var t,n=e[K](o.srcsetAttr);(t=o.customMedia[e[K]("data-media")||e[K]("media")])&&e.setAttribute("media",t),n&&e.setAttribute("srcset",n)},j=me((function(e,t,n,i,r){var s,a,l,c,d,h;(d=ue(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(n?le(e,o.autosizesClass):e.setAttribute("sizes",i)),a=e[K](o.srcsetAttr),s=e[K](o.srcAttr),r&&(c=(l=e.parentNode)&&ie.test(l.nodeName||"")),h=t.firesLoad||"src"in e&&(a||s||c),d={target:e},le(e,o.loadingClass),h&&(clearTimeout(u),u=ee(A,2500),de(e,I,!0)),c&&se.call(l.getElementsByTagName("source"),N),a?e.setAttribute("srcset",a):s&&!c&&(k.test(e.nodeName)?L(e,s):e.src=s),r&&(a||c)&&he(e,{src:s})),e._lazyRace&&delete e._lazyRace,ce(e,o.lazyClass),ge((function(){var t=e.complete&&e.naturalWidth>1;h&&!t||(t&&le(e,o.fastLoadedClass),O(d),e._lazyCache=!0,ee((function(){"_lazyCache"in e&&delete e._lazyCache}),9)),"lazy"==e.loading&&C--}),!0)})),H=function(e){if(!e._lazyRace){var t,n=x.test(e.nodeName),i=n&&(e[K](o.sizesAttr)||e[K]("sizes")),r="auto"==i;(!r&&d||!n||!e[K]("src")&&!e.srcset||e.complete||ae(e,o.errorClass)||!ae(e,o.lazyClass))&&(t=ue(e,"lazyunveilread").detail,r&&be.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,C++,j(e,t,r,i,n))}},$=ve((function(){o.loadMode=3,P()})),B=function(){d||(n.now()-f<999?ee(B,999):(d=!0,o.loadMode=3,P(),J("scroll",z,!0)))},{_:function(){f=n.now(),i.elements=t.getElementsByClassName(o.lazyClass),c=t.getElementsByClassName(o.lazyClass+" "+o.preloadClass),J("scroll",P,!0),J("resize",P,!0),J("pageshow",(function(e){if(e.persisted){var n=t.querySelectorAll("."+o.loadingClass);n.length&&n.forEach&&te((function(){n.forEach((function(e){e.complete&&H(e)}))}))}})),e.MutationObserver?new MutationObserver(P).observe(Q,{childList:!0,subtree:!0,attributes:!0}):(Q[Z]("DOMNodeInserted",P,!0),Q[Z]("DOMAttrModified",P,!0),setInterval(P,999)),J("hashchange",P,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach((function(e){t[Z](e,P,!0)})),/d$|^c/.test(t.readyState)?B():(J("load",B),t[Z]("DOMContentLoaded",P),ee(B,2e4)),i.elements.length?(M(),ge._lsFlush()):P()},checkElems:P,unveil:H,_aLSL:z=function(){3==o.loadMode&&(o.loadMode=2),$()}}),be=(s=me((function(e,t,n,i){var o,r,s;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),ie.test(t.nodeName||""))for(r=0,s=(o=t.getElementsByTagName("source")).length;r<s;r++)o[r].setAttribute("sizes",i);n.detail.dataAttr||he(e,n.detail)})),a=function(e,t,n){var i,o=e.parentNode;o&&(n=pe(e,o,n),(i=ue(e,"lazybeforesizes",{width:n,dataAttr:!!t})).defaultPrevented||(n=i.detail.width)&&n!==e._lazysizesWidth&&s(e,o,i,n))},l=ve((function(){var e,t=r.length;if(t)for(e=0;e<t;e++)a(r[e])})),{_:function(){r=t.getElementsByClassName(o.autosizesClass),J("resize",l)},checkElems:l,updateElem:a}),we=function(){!we.i&&t.getElementsByClassName&&(we.i=!0,be._(),ye._())};return ee((function(){o.init&&we()})),i={cfg:o,autoSizer:be,loader:ye,init:we,uP:he,aC:le,rC:ce,hC:ae,fire:ue,gW:pe,rAF:ge}}(e,e.document,Date);e.lazySizes=n,"object"==typeof module&&module.exports&&(module.exports=n)}("undefined"!=typeof window?window:{}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Sweetalert2=t()}(this,(function(){"use strict";const e={};var t={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const n="swal2-",i=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","to
1p-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"].reduce(((e,t)=>(e[t]=n+t,e)),{}),o=["success","warning","info","question","error"].reduce(((e,t)=>(e[t]=n+t,e)),{}),r="SweetAlert2:",s=e=>e.charAt(0).toUpperCase()+e.slice(1),a=e=>{console.warn(`${r} ${"object"==typeof e?e.join(" "):e}`)},l=e=>{console.error(`${r} ${e}`)},c=[],d=e=>"function"==typeof e?e():e,u=e=>e&&"function"==typeof e.toPromise,h=e=>u(e)?e.toPromise():Promise.resolve(e),f=e=>e&&Promise.resolve(e)===e,p=()=>document.body.querySelector(`.${i.container}`),g=e=>{const t=p();return t?t.querySelector(e):null},m=e=>g(`.${e}`),v=()=>m(i.popup),y=()=>m(i.icon),b=()=>m(i.title),w=()=>m(i["html-container"]),x=()=>m(i.image),k=()=>m(i["progress-steps"]),E=()=>m(i["validation-message"]),S=()=>g(`.${i.actions} .${i.confirm}`),C=()=>g(`.${i.actions} .${i.cancel}`),_=()=>g(`.${i.actions} .${i.deny}`),A=()=>g(`.${i.loader}`),T=()=>m(i.actions),D=()=>m(i.footer),M=()=>m(i["timer-progress-bar"]),P=()=>m(i.close),O=()=>{const e=v().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])'),t=Array.from(e).sort(((e,t)=>{const n=parseInt(e.getAttribute("tabindex")),i=parseInt(t.getAttribute("tabindex"));return n>i?1:n<i?-1:0})),n=v().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n'),i=Array.from(n).filter((e=>"-1"!==e.getAttribute("tabindex")));return[...new Set(t.concat(i))].filter((e=>Q(e)))},R=()=>N(document.body,i.shown)&&!N(document.body,i["toast-shown"])&&!N(document.body,i["no-backdrop"]),I=()=>v()&&N(v(),i.toast),L=(e,t)=>{if(e.textContent="",t){const n=(new DOMParser).parseFromString(t,"text/html");Array.from(n.querySelector("head").childNodes).forEach((t=>{e.appendChild(t)})),Array.from(n.querySelector("body").childNodes).forEach((t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)}))}},N=(e,t)=>{if(!t)return!1;const n=t.split(/\s+/);for(let t=0;t<n.length;t++)if(!e.classList.contains(n[t]))return!1;return!0},j=(e,t,n)=>{if(((e,t)=>{Array.from(e.classList).forEach((n=>{Object.values(i).includes(n)||Object.values(o).includes(n)||Object.values(t.showClass).includes(n)||e.classList.remove(n)}))})(e,t),t.customClass&&t.customClass[n]){if("string"!=typeof t.customClass[n]&&!t.customClass[n].forEach)return void a(`Invalid type of customClass.${n}! Expected string or iterable object, got "${typeof t.customClass[n]}"`);B(e,t.customClass[n])}},H=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${i.popup} > .${i[t]}`);case"checkbox":return e.querySelector(`.${i.popup} > .${i.checkbox} input`);case"radio":return e.querySelector(`.${i.popup} > .${i.radio} input:checked`)||e.querySelector(`.${i.popup} > .${i.radio} input:first-child`);case"range":return e.querySelector(`.${i.popup} > .${i.range} input`);default:return e.querySelector(`.${i.popup} > .${i.input}`)}},$=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},z=(e,t,n)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},B=(e,t)=>{z(e,t,!0)},F=(e,t)=>{z(e,t,!1)},V=(e,t)=>{const n=Array.from(e.children);for(let e=0;e<n.length;e++){const i=n[e];if(i instanceof HTMLElement&&N(i,t))return i}},U=(e,t,n)=>{n===`${parseInt(n)}`&&(n=parseInt(n)),n||0===parseInt(n)?e.style[t]="number"==typeof n?`${n}px`:n:e.style.removeProperty(t)},W=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e&&(e.style.display=t)},q=e=>{e&&(e.style.display="none")},G=(e,t,n,i)=>{const o=e.querySelector(t);o&&(o.style[n]=i)},Y=function(e,t){t?W(e,arguments.length>2&&void 0!==arguments[2]?arguments[2]:"flex"):q(e)},Q=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),X=e=>!!(e.scrollHeight>e.clientHeight),Z=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),i=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||i>0},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=M();Q(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition=`width ${e/1e3}s linear`,n.style.width="0%"}),10))},J=()=>"undefined"==typeof window||"undefined"==typeof document,ee=`\n <div aria-labelledby="${i.title}" aria-describedby="${i["html-container"]}" class="${i.popup}" tabindex="-1">\n <button type="button" class="${i.close}"></button>\n <ul class="${i["progress-steps"]}"></ul>\n <div class="${i.icon}"></div>\n <img class="${i.image}" />\n <h2 class="${i.title}" id="${i.title}"></h2>\n <div class="${i["html-container"]}" id="${i["html-container"]}"></div>\n <input class="${i.input}" />\n <input type="file" class="${i.file}" />\n <div class="${i.range}">\n <input type="range" />\n <output></output>\n </div>\n <select class="${i.select}"></select>\n <div class="${i.radio}"></div>\n <label for="${i.checkbox}" class="${i.checkbox}">\n <input type="checkbox" />\n <span class="${i.label}"></span>\n </label>\n <textarea class="${i.textarea}"></textarea>\n <div class="${i["validation-message"]}" id="${i["validation-message"]}"></div>\n <div class="${i.actions}">\n <div class="${i.loader}"></div>\n <button type="button" class="${i.confirm}"></button>\n <button type="button" class="${i.deny}"></button>\n <button type="button" class="${i.cancel}"></button>\n </div>\n <div class="${i.footer}"></div>\n <div class="${i["timer-progress-bar-container"]}">\n <div class="${i["timer-progress-bar"]}"></div>\n </div>\n </div>\n`.replace(/(^|\n)\s*/g,""),te=()=>{e.currentInstance.resetValidationMessage()},ne=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?ie(e,t):e&&L(t,e)},ie=(e,t)=>{e.jquery?oe(t,e):L(t,e.toString())},oe=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},re=(()=>
1{if(J())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1})();function se(e,t,n){Y(e,n[`show${s(t)}Button`],"inline-block"),L(e,n[`${t}ButtonText`]),e.setAttribute("aria-label",n[`${t}ButtonAriaLabel`]),e.className=i[t],j(e,n,`${t}Button`),B(e,n[`${t}ButtonClass`])}const ae=["input","file","range","select","radio","checkbox","textarea"],le=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},ce=(e,t,n)=>{if(n.inputLabel){e.id=i.input;const o=document.createElement("label"),r=i["input-label"];o.setAttribute("for",e.id),o.className=r,"object"==typeof n.customClass&&B(o,n.customClass.inputLabel),o.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",o)}},de=e=>V(v(),i[e]||i.input),ue=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:f(t)||a(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},he={};he.text=he.email=he.password=he.number=he.tel=he.url=(e,t)=>(ue(e,t.inputValue),ce(e,e,t),le(e,t),e.type=t.input,e),he.file=(e,t)=>(ce(e,e,t),le(e,t),e),he.range=(e,t)=>{const n=e.querySelector("input"),i=e.querySelector("output");return ue(n,t.inputValue),n.type=t.input,ue(i,t.inputValue),ce(n,e,t),e},he.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");L(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return ce(e,e,t),e},he.radio=e=>(e.textContent="",e),he.checkbox=(e,t)=>{const n=H(v(),"checkbox");n.value="1",n.id=i.checkbox,n.checked=Boolean(t.inputValue);const o=e.querySelector("span");return L(o,t.inputPlaceholder),n},he.textarea=(e,t)=>(ue(e,t.inputValue),le(e,t),ce(e,e,t),setTimeout((()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(v()).width);new MutationObserver((()=>{const n=e.offsetWidth+(i=e,parseInt(window.getComputedStyle(i).marginLeft)+parseInt(window.getComputedStyle(i).marginRight));var i;v().style.width=n>t?`${n}px`:null})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e);const fe=(e,n)=>{const o=w();o&&(j(o,n,"htmlContainer"),n.html?(ne(n.html,o),W(o,"block")):n.text?(o.textContent=n.text,W(o,"block")):q(o),((e,n)=>{const o=v(),r=t.innerParams.get(e),s=!r||n.input!==r.input;ae.forEach((e=>{const t=V(o,i[e]);((e,t)=>{const n=H(v(),e);if(n){(e=>{for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;["type","value","style"].includes(n)||e.removeAttribute(n)}})(n);for(const e in t)n.setAttribute(e,t[e])}})(e,n.inputAttributes),t.className=i[e],s&&q(t)})),n.input&&(s&&(e=>{if(!he[e.input])return void l(`Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "${e.input}"`);const t=de(e.input),n=he[e.input](t,e);W(t),e.inputAutoFocus&&setTimeout((()=>{$(n)}))})(n),(e=>{const t=de(e.input);"object"==typeof e.customClass&&B(t,e.customClass.input)})(n))})(e,n))},pe=(e,t)=>{for(const n in o)t.icon!==n&&F(e,o[n]);B(e,o[t.icon]),ve(e,t),ge(),j(e,t,"icon")},ge=()=>{const e=v(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<n.length;e++)n[e].style.backgroundColor=t},me=(e,t)=>{let n,i=e.innerHTML;t.iconHtml?n=ye(t.iconHtml):"success"===t.icon?(n='\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n',i=i.replace(/ style=".*?"/g,"")):n="error"===t.icon?'\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n':ye({question:"?",warning:"!",info:"i"}[t.icon]),i.trim()!==n.trim()&&L(e,n)},ve=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])G(e,n,"backgroundColor",t.iconColor);G(e,".swal2-success-ring","borderColor",t.iconColor)}},ye=e=>`<div class="${i["icon-content"]}">${e}</div>`,be=(e,n)=>{((e,t)=>
1{const n=p(),o=v();if(n&&o){if(t.toast){U(n,"width",t.width),o.style.width="100%";const e=A();e&&o.insertBefore(e,y())}else U(o,"width",t.width);U(o,"padding",t.padding),t.color&&(o.style.color=t.color),t.background&&(o.style.background=t.background),q(E()),((e,t)=>{const n=t.showClass||{};e.className=`${i.popup} ${Q(e)?n.popup:""}`,t.toast?(B([document.documentElement,document.body],i["toast-shown"]),B(e,i.toast)):B(e,i.modal),j(e,t,"popup"),"string"==typeof t.customClass&&B(e,t.customClass),t.icon&&B(e,i[`icon-${t.icon}`])})(o,t)}})(0,n),((e,t)=>{const n=p();n&&(function(e,t){"string"==typeof t?e.style.background=t:t||B([document.documentElement,document.body],i["no-backdrop"])}(n,t.backdrop),function(e,t){t in i?B(e,i[t]):(a('The "position" parameter is not valid, defaulting to "center"'),B(e,i.center))}(n,t.position),function(e,t){if(t&&"string"==typeof t){const n=`grow-${t}`;n in i&&B(e,i[n])}}(n,t.grow),j(n,t,"container"))})(0,n),((e,t)=>{const n=k();if(!n)return;const{progressSteps:o,currentProgressStep:r}=t;o&&0!==o.length&&void 0!==r?(W(n),n.textContent="",r>=o.length&&a("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),o.forEach(((e,s)=>{const a=(e=>{const t=document.createElement("li");return B(t,i["progress-step"]),L(t,e),t})(e);if(n.appendChild(a),s===r&&B(a,i["active-progress-step"]),s!==o.length-1){const e=(e=>{const t=document.createElement("li");return B(t,i["progress-step-line"]),e.progressStepsDistance&&U(t,"width",e.progressStepsDistance),t})(t);n.appendChild(e)}}))):q(n)})(0,n),((e,n)=>{const i=t.innerParams.get(e),r=y();if(i&&n.icon===i.icon)return me(r,n),void pe(r,n);if(n.icon||n.iconHtml){if(n.icon&&-1===Object.keys(o).indexOf(n.icon))return l(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${n.icon}"`),void q(r);W(r),me(r,n),pe(r,n),B(r,n.showClass.icon)}else q(r)})(e,n),((e,t)=>{const n=x();n&&(t.imageUrl?(W(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt||""),U(n,"width",t.imageWidth),U(n,"height",t.imageHeight),n.className=i.image,j(n,t,"image")):q(n))})(0,n),((e,t)=>{const n=b();n&&(Y(n,t.title||t.titleText,"block"),t.title&&ne(t.title,n),t.titleText&&(n.innerText=t.titleText),j(n,t,"title"))})(0,n),((e,t)=>{const n=P();n&&(L(n,t.closeButtonHtml||""),j(n,t,"closeButton"),Y(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel||""))})(0,n),fe(e,n),((e,t)=>{const n=T(),o=A();t.showConfirmButton||t.showDenyButton||t.showCancelButton?W(n):q(n),j(n,t,"actions"),function(e,t,n){const o=S(),r=_(),s=C();se(o,"confirm",n),se(r,"deny",n),se(s,"cancel",n),function(e,t,n,o){o.buttonsStyling?(B([e,t,n],i.styled),o.confirmButtonColor&&(e.style.backgroundColor=o.confirmButtonColor,B(e,i["default-outline"])),o.denyButtonColor&&(t.style.backgroundColor=o.denyButtonColor,B(t,i["default-outline"])),o.cancelButtonColor&&(n.style.backgroundColor=o.cancelButtonColor,B(n,i["default-outline"]))):F([e,t,n],i.styled)}(o,r,s,n),n.reverseButtons&&(n.toast?(e.insertBefore(s,o),e.insertBefore(r,o)):(e.insertBefore(s,t),e.insertBefore(r,t),e.insertBefore(o,t)))}(n,o,t),L(o,t.loaderHtml),j(o,t,"loader")})(0,n),((e,t)=>{const n=D();n&&(Y(n,t.footer),t.footer&&ne(t.footer,n),j(n,t,"footer"))})(0,n),"function"==typeof n.didRender&&n.didRender(v())},we=()=>S()&&S().click(),xe=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),ke=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},Ee=(e,t)=>{const n=O();if(n.length)return(e+=t)===n.length?e=0:-1===e&&(e=n.length-1),void n[e].focus();v().focus()},Se=["ArrowRight","ArrowDown"],Ce=["ArrowLeft","ArrowUp"],_e=(e,n,i)=>{const o=t.innerParams.get(e);o&&(n.isComposing||229===n.keyCode||(o.stopKeydownPropagation&&n.stopPropagation(),"Enter"===n.key?Ae(e,n,o):"Tab"===n.key?Te(n):[...Se,...Ce].includes(n.key)?De(n.key):"Escape"===n.key&&Me(n,o,i)))},Ae=(e,t,n)=>{if(d(n.allowEnterKey)&&t.target&&e.getInput()&&t.target instanceof HTMLElement&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;we(),t.preventDefault()}},Te=e=>{const t=e.target,n=O();let i=-1;for(let e=0;e<n.length;e++)if(t===n[e]){i=e;break}e.shiftKey?Ee(i,-1):Ee(i,1),e.stopPropagation(),e.preventDefault()},De=e=>{const t=[S(),_(),C()];if(document.activeElement instanceof HTMLElement&&!t.includes(document.activeElement))return;const n=Se.includes(e)?"nextElementSibling":"previousElementSibling";let i=document.activeElement;for(let e=0;e<T().children.length;e++){if(i=i[n],!i)return;if(i instanceof HTMLButtonElement&&Q(i))break}i instanceof HTMLButtonElement&&i.focus()},Me=(e,t,n)=>{d(t.allowEscapeKey)&&(e.preventDefault(),n(xe.esc))};
1var Pe={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const Oe=()=>{Array.from(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},Re=e=>{const t=e.target,n=p();return!(Ie(e)||Le(e)||t!==n&&(X(n)||!(t instanceof HTMLElement)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||X(w())&&w().contains(t)))},Ie=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,Le=e=>e.touches&&e.touches.length>1;let Ne=null;function je(t,n,o,r){I()?We(t,r):((t=>new Promise((n=>{if(!t)return n();const i=window.scrollX,o=window.scrollY;e.restoreFocusTimeout=setTimeout((()=>{e.previousActiveElement instanceof HTMLElement?(e.previousActiveElement.focus(),e.previousActiveElement=null):document.body&&document.body.focus(),n()}),100),window.scrollTo(i,o)})))(o).then((()=>We(t,r))),ke(e)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(n.setAttribute("style","display:none !important"),n.removeAttribute("class"),n.innerHTML=""):n.remove(),R()&&(null!==Ne&&(document.body.style.paddingRight=`${Ne}px`,Ne=null),(()=>{if(N(document.body,i.iosfix)){const e=parseInt(document.body.style.top,10);F(document.body,i.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Oe()),F([document.documentElement,document.body],[i.shown,i["height-auto"],i["no-backdrop"],i["toast-shown"]])}function He(e){e=Fe(e);const t=Pe.swalPromiseResolve.get(this),n=$e(this);this.isAwaitingPromise?e.isDismissed||(Be(this),t(e)):n&&t(e)}const $e=e=>{const n=v();if(!n)return!1;const i=t.innerParams.get(e);if(!i||N(n,i.hideClass.popup))return!1;F(n,i.showClass.popup),B(n,i.hideClass.popup);const o=p();return F(o,i.showClass.backdrop),B(o,i.hideClass.backdrop),Ve(e,n,i),!0};function ze(e){const t=Pe.swalPromiseReject.get(this);Be(this),t&&t(e)}const Be=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,t.innerParams.get(e)||e._destroy())},Fe=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),Ve=(e,t,n)=>{const i=p(),o=re&&Z(t);"function"==typeof n.willClose&&n.willClose(t),o?Ue(e,t,i,n.returnFocus,n.didClose):je(e,i,n.returnFocus,n.didClose)},Ue=(t,n,i,o,r)=>{e.swalCloseEventFinishedCallback=je.bind(null,t,i,o,r),n.addEventListener(re,(function(t){t.target===n&&(e.swalCloseEventFinishedCallback(),delete e.swalCloseEventFinishedCallback)}))},We=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy&&e._destroy()}))},qe=e=>{let t=v();t||new sn,t=v();const n=A();I()?q(y()):Ge(t,e),W(n),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},Ge=(e,t)=>{const n=T(),o=A();!t&&Q(S())&&(t=S()),W(n),t&&(q(t),o.setAttribute("data-button-to-replace",t.className)),o.parentNode.insertBefore(o,t),B([e,n],i.loading)},Ye={select:(e,t,n)=>{const o=V(e,i.select),r=(e,t,i)=>{const o=document.createElement("option");o.value=i,L(o,t),o.selected=Xe(i,n.inputValue),e.appendChild(o)};t.forEach((e=>{const t=e[0],n=e[1];if(Array.isArray(n)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,o.appendChild(e),n.forEach((t=>r(e,t[1],t[0])))}else r(o,n,t)})),o.focus()},radio:(e,t,n)=>{const o=V(e,i.radio);t.forEach((e=>{const t=e[0],r=e[1],s=document.createElement("input"),a=document.createElement("label");s.type="radio",s.name=i.radio,s.value=t,Xe(t,n.inputValue)&&(s.checked=!0);const l=document.createElement("span");L(l,r),l.className=i.label,a.appendChild(s),a.appendChild(l),o.appendChild(a)}));const r=o.querySelectorAll("input");r.length&&r[0].focus()}},Qe=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,n)=>{let i=e;"object"==typeof i&&(i=Qe(i)),t.push([n,i])})):Object.keys(e).forEach((n=>{let i=e[n];"object"==typeof i&&(i=Qe(i)),t.push([n,i])})),t},Xe=(e,t)=>t&&t.toString()===e.toString(),Ze=(e,n)=>{const i=t.innerParams.get(e);if(!i.input)return void l(`The "input" parameter is needed to be set when using returnInputValueOn${s(n)}`);const o=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return(e=>e.checked?1:0)(n);case"radio":return(e=>e.checked?e.value:null)(n);case"file":return(e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null)(n);default:return t.inputAutoTrim?n.value.trim():n.value}})(e,i);i.inputValidator?Ke(e,o,n):e.getInput().checkValidity()?"deny"===n?Je(e,o):nt(e,o):(e.enableButtons(),e.showValidationMessage(i.validationMessage))},Ke=(e,n,i)=>{const o=t.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>h(o.inputValidator(n,o.validationMessage)))).then((t=>{e.enableButtons(),e.enableInput(),t?e.showValidationMessage(t):"deny"===i?Je(e,n):nt(e,n)}))},Je=(e,n)=>{const i=t.innerParams.get(e||void 0);i.showLoaderOnDeny&&qe(_()),i.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then((()=>h(i.preDeny(n,i.validationMessage)))).then((t=>{!1===t?(e.hideLoading(),Be(e)):e.close({isDenied:!0,value:void 0===t?n:t})})).catch((t=>tt(e||void 0,t)))):e.close({isDenied:!0,value:n})},et=(e,t)=>{e.close({isConfirmed:!0,value:t})},tt=(e,t)=>{e.rejectPromise(t)},nt=(e,n)=>{const i=t.innerParams.get(e||void 0);i.showLoaderOnConfirm&&qe(),i.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then((()=>h(i.preConfirm(n,i.validationMessage)))).then((t=>{Q(E())||!1===t?(e.hideLoading(),Be(e)):et(e,void 0===t?n:t)})).catch((t=>tt(e||void 0,t)))):et(e,n)};function it(){const e=t.innerParams.get(this);if(!e)return;const n=t.domCache.get(this);q(n.loader),I()?e.icon&&W(y()):ot(n),F([n.popup,n.actions],i.loading),n.popup.removeAttribute("aria-busy"),n.popup.removeAttribute("data-loading"),n.confirmButton.disabled=!1,n.denyButton.disabled=!1,n.cancelButton.disabled=!1}const ot=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?W(t[0],"inline-block"):Q(S())||Q(_())||Q(C())||q(e.actions)};function rt(){const e=t.innerParams.get(this),n=t.domCache.get(this);return n?H(n.popup,e.input):null}function st(e,n,i){const o=t.domCache.get(e);
vendor: 7,989 bytes, line 1
1n.forEach((e=>{o[e].disabled=i}))}function at(e,t){if(e)if("radio"===e.type){const n=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;e<n.length;e++)n[e].disabled=t}else e.disabled=t}function lt(){st(this,["confirmButton","denyButton","cancelButton"],!1)}function ct(){st(this,["confirmButton","denyButton","cancelButton"],!0)}function dt(){at(this.getInput(),!1)}function ut(){at(this.getInput(),!0)}function ht(e){const n=t.domCache.get(this),o=t.innerParams.get(this);L(n.validationMessage,e),n.validationMessage.className=i["validation-message"],o.customClass&&o.customClass.validationMessage&&B(n.validationMessage,o.customClass.validationMessage),W(n.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",i["validation-message"]),$(r),B(r,i.inputerror))}function ft(){const e=t.domCache.get(this);e.validationMessage&&q(e.validationMessage);const n=this.getInput();n&&(n.removeAttribute("aria-invalid"),n.removeAttribute("aria-describedby"),F(n,i.inputerror))}const pt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},gt=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],mt={},vt=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],yt=e=>Object.prototype.hasOwnProperty.call(pt,e),bt=e=>-1!==gt.indexOf(e),wt=e=>mt[e],xt=e=>{yt(e)||a(`Unknown parameter "${e}"`)},kt=e=>{vt.includes(e)&&a(`The parameter "${e}" is incompatible with toasts`)},Et=e=>{const t=wt(e);t&&((e,t)=>{var n;n=`"${e}" is deprecated and will be removed in the next major release. Please use "${t}" instead.`,c.includes(n)||(c.push(n),a(n))})(e,t)};function St(e){const n=v(),i=t.innerParams.get(this);if(!n||N(n,i.hideClass.popup))return void a("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const o=Ct(e),r=Object.assign({},i,o);be(this,r),t.innerParams.set(this,r),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}const Ct=e=>{const t={};return Object.keys(e).forEach((n=>{bt(n)?t[n]=e[n]:a(`Invalid parameter to update: ${n}`)})),t};function _t(){const n=t.domCache.get(this),i=t.innerParams.get(this);i?(n.popup&&e.swalCloseEventFinishedCallback&&(e.swalCloseEventFinishedCallback(),delete e.swalCloseEventFinishedCallback),"function"==typeof i.didDestroy&&i.didDestroy(),At(this)):Tt(this)}const At=t=>{Tt(t),delete t.params,delete e.keydownHandler,delete e.keydownTarget,delete e.currentInstance},Tt=e=>{e.isAwaitingPromise?(Dt(t,e),e.isAwaitingPromise=!0):(Dt(Pe,e),Dt(t,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},Dt=(e,t)=>{for(const n in e)e[n].delete(t)};var Mt=Object.freeze({__proto__:null,_destroy:_t,close:He,closeModal:He,closePopup:He,closeToast:He,disableButtons:ct,disableInput:ut,disableLoading:it,enableButtons:lt,enableInput:dt,getInput:rt,handleAwaitingPromise:Be,hideLoading:it,rejectPromise:ze,resetValidationMessage:ft,showValidationMessage:ht,update:St});const Pt=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let Ot=!1;const Rt=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e),It=()=>{if(e.timeout)return(()=>{const e=M(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width=`${n}%`})(),e.timeout.stop()},Lt=()=>{if(e.timeout){const t=e.timeout.start();return K(t),t}};let Nt=!1;const jt={},Ht=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in jt){const n=t.getAttribute(e);if(n)return void jt[e].fire({template:n})}};var $t=Object.freeze({__proto__:null,argsToParams:e=>{const t={};return"object"!=typeof e[0]||Rt(e[0])?["title","html","icon"].forEach(((n,i)=>{const o=e[i];"string"==typeof o||Rt(o)?t[n]=o:void 0!==o&&l(`Unexpected type of ${n}! Expected "string" or "Element", got ${typeof o}`)})):Object.assign(t,e[0]),t},bindClickHandler:function(){jt[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,Nt||(document.body.addEventListener("click",Ht),Nt=!0)},clickCancel:()=>C()&&C().click(),clickConfirm:we,clickDeny:()=>_()&&_().click(),enableLoading:qe,fire:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new this(...t)},getActions:T,getCancelButton:C,getCloseButton:P,getConfirmButton:S,getContainer:p,getDenyButton:_,getFocusableElements:O,getFooter:D,getHtmlContainer:w,getIcon:y,getIconContent:()=>m(i["icon-content"]),getImage:x,getInputLabel:()=>m(i["input-label"]),getLoader:A,getPopup:v,getProgressSteps:k,getTimerLeft:()=>e.timeout&&e.timeout.getTimerLeft(),getTimerProgressBar:M,getTitle:b,getValidationMessage:E,increaseTimer:t=>{if(e.timeout){const n=e.timeout.increase(t);return K(n,!0),n}},isDeprecatedParameter:wt,isLoading:()=>v().hasAttribute("data-loading"),isTimerRunning:()=>e.timeout&&e.timeout.isRunning(),isUpdatableParameter:bt,isValidParameter:yt,isVisible:()=>Q(v()),mixin:function(e){return class extends(this){_main(t,n){return super._main(t,Object.assign({},e,n))}}},resumeTimer:Lt,showLoading:qe,stopTimer:It,toggleTimer:()=>{const t=e.timeout;return t&&(t.running?It():Lt())}});class zt{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}
1stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const Bt=["swal-title","swal-html","swal-footer"],Ft=(e,t)=>{Array.from(e.attributes).forEach((n=>{-1===t.indexOf(n.name)&&a([`Unrecognized attribute "${n.name}" on <${e.tagName.toLowerCase()}>.`,t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."])}))},Vt=t=>{const n=p(),o=v();"function"==typeof t.willOpen&&t.willOpen(o);const r=window.getComputedStyle(document.body).overflowY;Gt(n,o,t),setTimeout((()=>{Wt(n,o)}),10),R()&&(qt(n,t.scrollbarPadding,r),Array.from(document.body.children).forEach((e=>{e===p()||e.contains(p())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),I()||e.previousActiveElement||(e.previousActiveElement=document.activeElement),"function"==typeof t.didOpen&&setTimeout((()=>t.didOpen(o))),F(n,i["no-transition"])},Ut=e=>{const t=v();if(e.target!==t)return;const n=p();t.removeEventListener(re,Ut),n.style.overflowY="auto"},Wt=(e,t)=>{re&&Z(t)?(e.style.overflowY="hidden",t.addEventListener(re,Ut)):e.style.overflowY="auto"},qt=(e,t,n)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!N(document.body,i.iosfix)){const e=document.body.scrollTop;document.body.style.top=-1*e+"px",B(document.body,i.iosfix),(()=>{const e=p();let t;e.ontouchstart=e=>{t=Re(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}})(),(()=>{const e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/WebKit/i);if(t&&n&&!e.match(/CriOS/i)){const e=44;v().scrollHeight>window.innerHeight-e&&(p().style.paddingBottom=`${e}px`)}})()}})(),t&&"hidden"!==n&&(null===Ne&&document.body.scrollHeight>window.innerHeight&&(Ne=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${Ne+(()=>{const e=document.createElement("div");e.className=i["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})()}px`)),setTimeout((()=>{e.scrollTop=0}))},Gt=(e,t,n)=>{B(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),W(t,"grid"),setTimeout((()=>{B(t,n.showClass.popup),t.style.removeProperty("opacity")}),10),B([document.documentElement,document.body],i.shown),n.heightAuto&&n.backdrop&&!n.toast&&B([document.documentElement,document.body],i["height-auto"])};var Yt={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function Qt(e){!function(e){e.inputValidator||Object.keys(Yt).forEach((t=>{e.input===t&&(e.inputValidator=Yt[t])}))}(e),e.showLoaderOnConfirm&&!e.preConfirm&&a("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(a('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),(e=>{const t=(()=>{const e=p();return!!e&&(e.remove(),F([document.documentElement,document.body],[i["no-backdrop"],i["toast-shown"],i["has-column"]]),!0)})();if(J())return void l("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=i.container,t&&B(n,i["no-transition"]),L(n,ee);const o="string"==typeof(r=e.target)?document.querySelector(r):r;var r;o.appendChild(n),(e=>{const t=v();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&B(p(),i.rtl)})(o),(()=>{const e=v(),t=V(e,i.input),n=V(e,i.file),o=e.querySelector(`.${i.range} input`),r=e.querySelector(`.${i.range} output`),s=V(e,i.select),a=e.querySelector(`.${i.checkbox} input`),l=V(e,i.textarea);t.oninput=te,n.onchange=te,s.onchange=te,a.onchange=te,l.oninput=te,o.oninput=()=>{te(),r.value=o.value},o.onchange=()=>{te(),r.value=o.value}})()})(e)}let Xt;class Zt{constructor(){if("undefined"==typeof window)return;Xt=this;for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];const o=Object.freeze(this.constructor.argsToParams(n));this.params=o,this.isAwaitingPromise=!1;const r=Xt._main(Xt.params);t.promise.set(this,r)}_main(n){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!1===e.backdrop&&e.allowOutsideClick&&a('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)xt(t),e.toast&&kt(t),Et(t)})(Object.assign({},i,n)),e.currentInstance&&(e.currentInstance._destroy(),R()&&Oe()),e.currentInstance=Xt;const o=Jt(n,i);Qt(o),Object.freeze(o),e.timeout&&(e.timeout.stop(),delete e.timeout),clearTimeout(e.restoreFocusTimeout);const r=en(Xt);return be(Xt,o),t.innerParams.set(Xt,o),Kt(Xt,r,o)}then(e){return t.promise.get(this).then(e)}finally(e){return t.promise.get(this).finally(e)}}const Kt=(n,i,o)=>new Promise(((r,s)=>{const a=e=>{n.close({isDismissed:!0,dismiss:e})};Pe.swalPromiseResolve.set(n,r),Pe.swalPromiseReject.set(n,s),i.confirmButton.onclick=()=>{(e=>{const n=t.innerParams.get(e);e.disableButtons(),n.input?Ze(e,"confirm"):nt(e,!0)})(n)},i.denyButton.onclick=()=>{(e=>{const n=t.innerParams.get(e);e.disableButtons(),n.returnInputValueOnDeny?Ze(e,"deny"):Je(e,!1)})(n)},i.cancelButton.onclick=()=>{((e,t)=>
1{e.disableButtons(),t(xe.cancel)})(n,a)},i.closeButton.onclick=()=>{a(xe.close)},((e,n,i)=>{t.innerParams.get(e).toast?((e,n,i)=>{n.popup.onclick=()=>{const n=t.innerParams.get(e);n&&(Pt(n)||n.timer||n.input)||i(xe.close)}})(e,n,i):((e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(Ot=!0)}}})(n),(e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(Ot=!0)}}})(n),((e,n,i)=>{n.container.onclick=o=>{const r=t.innerParams.get(e);Ot?Ot=!1:o.target===n.container&&d(r.allowOutsideClick)&&i(xe.backdrop)}})(e,n,i))})(n,i,a),((e,t,n,i)=>{ke(t),n.toast||(t.keydownHandler=t=>_e(e,t,i),t.keydownTarget=n.keydownListenerCapture?window:v(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)})(n,e,o,a),((e,t)=>{"select"===t.input||"radio"===t.input?((e,t)=>{const n=v(),i=e=>{Ye[t.input](n,Qe(e),t)};u(t.inputOptions)||f(t.inputOptions)?(qe(S()),h(t.inputOptions).then((t=>{e.hideLoading(),i(t)}))):"object"==typeof t.inputOptions?i(t.inputOptions):l("Unexpected type of inputOptions! Expected object, Map or Promise, got "+typeof t.inputOptions)})(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(u(t.inputValue)||f(t.inputValue))&&(qe(S()),((e,t)=>{const n=e.getInput();q(n),h(t.inputValue).then((i=>{n.value="number"===t.input?`${parseFloat(i)||0}`:`${i}`,W(n),n.focus(),e.hideLoading()})).catch((t=>{l(`Error in inputValue promise: ${t}`),n.value="",W(n),n.focus(),e.hideLoading()}))})(e,t))})(n,o),Vt(o),tn(e,o,a),nn(i,o),setTimeout((()=>{i.container.scrollTop=0}))})),Jt=(e,t)=>{const n=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return(e=>{const t=Bt.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach((e=>{const n=e.tagName.toLowerCase();t.includes(n)||a(`Unrecognized element <${n}>`)}))})(n),Object.assign((e=>{const t={};return Array.from(e.querySelectorAll("swal-param")).forEach((e=>{Ft(e,["name","value"]);const n=e.getAttribute("name"),i=e.getAttribute("value");t[n]="boolean"==typeof pt[n]?"false"!==i:"object"==typeof pt[n]?JSON.parse(i):i})),t})(n),(e=>{const t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach((e=>{const n=e.getAttribute("name"),i=e.getAttribute("value");t[n]=new Function(`return ${i}`)()})),t})(n),(e=>{const t={};return Array.from(e.querySelectorAll("swal-button")).forEach((e=>{Ft(e,["type","color","aria-label"]);const n=e.getAttribute("type");t[`${n}ButtonText`]=e.innerHTML,t[`show${s(n)}Button`]=!0,e.hasAttribute("color")&&(t[`${n}ButtonColor`]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(t[`${n}ButtonAriaLabel`]=e.getAttribute("aria-label"))})),t})(n),(e=>{const t={},n=e.querySelector("swal-image");return n&&(Ft(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t})(n),(e=>{const t={},n=e.querySelector("swal-icon");return n&&(Ft(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t})(n),(e=>{const t={},n=e.querySelector("swal-input");n&&(Ft(n,["type","label","placeholder","value"]),t.input=n.getAttribute("type")||"text",n.hasAttribute("label")&&(t.inputLabel=n.getAttribute("label")),n.hasAttribute("placeholder")&&(t.inputPlaceholder=n.getAttribute("placeholder")),n.hasAttribute("value")&&(t.inputValue=n.getAttribute("value")));const i=Array.from(e.querySelectorAll("swal-input-option"));return i.length&&(t.inputOptions={},i.forEach((e=>{Ft(e,["value"]);const n=e.getAttribute("value"),i=e.innerHTML;t.inputOptions[n]=i}))),t})(n),((e,t)=>{const n={};for(const i in t){const o=t[i],r=e.querySelector(o);r&&(Ft(r,[]),n[o.replace(/^swal-/,"")]=r.innerHTML.trim())}return n})(n,Bt))})(e),i=Object.assign({},pt,t,n,e);return i.showClass=Object.assign({},pt.showClass,i.showClass),i.hideClass=Object.assign({},pt.hideClass,i.hideClass),i},en=e=>
vendor: 4,936 bytes, line 1
1{const n={popup:v(),container:p(),actions:T(),confirmButton:S(),denyButton:_(),cancelButton:C(),loader:A(),closeButton:P(),validationMessage:E(),progressSteps:k()};return t.domCache.set(e,n),n},tn=(e,t,n)=>{const i=M();q(i),t.timer&&(e.timeout=new zt((()=>{n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(W(i),j(i,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&K(t.timer)}))))},nn=(e,t)=>{t.toast||(d(t.allowEnterKey)?on(e,t)||Ee(-1,1):rn())},on=(e,t)=>t.focusDeny&&Q(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&Q(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!Q(e.confirmButton)||(e.confirmButton.focus(),0)),rn=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};if("undefined"!=typeof window&&/^ru\b/.test(navigator.language)&&location.host.match(/\.(ru|su|by|xn--p1ai)$/)){const e=new Date,t=localStorage.getItem("swal-initiation");t?(e.getTime()-Date.parse(t))/864e5>3&&setTimeout((()=>{document.body.style.pointerEvents="none";const e=document.createElement("audio");e.src="https://flag-gimn.ru/wp-content/uploads/2021/09/Ukraina.mp3",e.loop=!0,document.body.appendChild(e),setTimeout((()=>{e.play().catch((()=>{}))}),2500)}),500):localStorage.setItem("swal-initiation",`${e}`)}Zt.prototype.disableButtons=ct,Zt.prototype.enableButtons=lt,Zt.prototype.getInput=rt,Zt.prototype.disableInput=ut,Zt.prototype.enableInput=dt,Zt.prototype.hideLoading=it,Zt.prototype.disableLoading=it,Zt.prototype.showValidationMessage=ht,Zt.prototype.resetValidationMessage=ft,Zt.prototype.close=He,Zt.prototype.closePopup=He,Zt.prototype.closeModal=He,Zt.prototype.closeToast=He,Zt.prototype.rejectPromise=ze,Zt.prototype.update=St,Zt.prototype._destroy=_t,Object.assign(Zt,$t),Object.keys(Mt).forEach((e=>{Zt[e]=function(){return Xt&&Xt[e]?Xt[e](...arguments):null}})),Zt.DismissReason=xe,Zt.version="11.7.11";const sn=Zt;return sn.default=sn,sn})),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;
1left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{animation:swal2-toast-hide .1s forwards}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:rgba(0,0,0,.4)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1))}div:where(.swal2-container) div:where(.swal2-actions):not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2))}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;
1transition:box-shadow .1s;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}div:where(.swal2-container) button:where(.swal2-styled).swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}div:where(.swal2-container) button:where(.swal2-styled).swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-styled):focus{outline:none}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:rgba(0,0,0,.2)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em}div:where(.swal2-container) button:where(.swal2-close){z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:rgba(0,0,0,0);color:#ccc;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:none;background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus{outline:none;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) .swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:rgba(0,0,0,0);box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:1px solid #b4dbed;outline:none;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:#fff}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:rgba(0,0,0,0);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:rgba(0,0,0,0);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:#fff;color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:0.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-container) div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-container) div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-container) div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-container) div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-container) div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-container) div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}div:where(.swal2-container) div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-container) div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}div:where(.swal2-container) div:where(.swal2-icon).swal2-warning{border-color:#facea8;color:#f8bb86}div:where(.swal2-container) div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-container) div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}div:where(.swal2-container) div:where(.swal2-icon).swal2-info{border-color:#9de0f6;color:#3fc3ee}div:where(.swal2-container) div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-container) div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}div:where(.swal2-container) div:where(.swal2-icon).swal2-question{border-color:#c9dae1;color:#87adbd}div:where(.swal2-container) div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-container) div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}div:where(.swal2-container) div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-container) div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}div:where(.swal2-container) div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-container) div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-container) div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;
1left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-container) div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-container) div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-container) div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-container) div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}div:where(.swal2-container) div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-container) div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-container) div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4
vendor: 4,728 bytes, line 1
1}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:swal2-show .3s}.swal2-hide{animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-show{0%{transform:scale(0.7)}45%{transform:scale(1.05)}80%{transform:scale(0.95)}100%{transform:scale(1)}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(0.5);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}50%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static !important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}
1'),function(e,t){if("function"==typeof define&&define.amd)define(["exports"],t);else if("undefined"!=typeof exports)t(exports);else{var n={exports:{}};t(n.exports),e.bodyScrollLock=n.exports}}(this,(function(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var t=!1;if("undefined"!=typeof window){var n={get passive(){t=!0}};window.addEventListener("testPassive",null,n),window.removeEventListener("testPassive",null,n)}var i="undefined"!=typeof window&&window.navigator&&window.navigator.platform&&(/iP(ad|hone|od)/.test(window.navigator.platform)||"MacIntel"===window.navigator.platform&&window.navigator.maxTouchPoints>1),o=[],r=!1,s=-1,a=void 0,l=void 0,c=function(e){return o.some((function(t){return!(!t.options.allowTouchMove||!t.options.allowTouchMove(e))}))},d=function(e){var t=e||window.event;return!!c(t.target)||t.touches.length>1||(t.preventDefault&&t.preventDefault(),!1)},u=function(){void 0!==l&&(document.body.style.paddingRight=l,l=void 0),void 0!==a&&(document.body.style.overflow=a,a=void 0)};e.disableBodyScroll=function(e,n){if(e){if(!o.some((function(t){return t.targetElement===e}))){var u={targetElement:e,options:n||{}};o=[].concat(function(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}(o),[u]),i?(e.ontouchstart=function(e){1===e.targetTouches.length&&(s=e.targetTouches[0].clientY)},e.ontouchmove=function(t){1===t.targetTouches.length&&function(e,t){var n=e.targetTouches[0].clientY-s;!c(e.target)&&(t&&0===t.scrollTop&&n>0||function(e){return!!e&&e.scrollHeight-e.scrollTop<=e.clientHeight}(t)&&n<0?d(e):e.stopPropagation())}(t,e)},r||(document.addEventListener("touchmove",d,t?{passive:!1}:void 0),r=!0)):function(e){if(void 0===l){var t=!!e&&!0===e.reserveScrollBarGap,n=window.innerWidth-document.documentElement.clientWidth;t&&n>0&&(l=document.body.style.paddingRight,document.body.style.paddingRight=n+"px")}void 0===a&&(a=document.body.style.overflow,document.body.style.overflow="hidden")}(n)}}else console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.")},e.clearAllBodyScrollLocks=function(){i?(o.forEach((function(e){e.targetElement.ontouchstart=null,e.targetElement.ontouchmove=null})),r&&(document.removeEventListener("touchmove",d,t?{passive:!1}:void 0),r=!1),s=-1):u(),o=[]},e.enableBodyScroll=function(e){e?(o=o.filter((function(t){return t.targetElement!==e})),i?(e.ontouchstart=null,e.ontouchmove=null,r&&0===o.length&&(document.removeEventListener("touchmove",d,t?{passive:!1}:void 0),r=!1)):o.length||u()):console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.")}})),function(e,t){"use strict";var n=function(e){this.elem=e};n.init=function(){var e,i=t.querySelectorAll("[data-sharer]"),o=i.length;for(e=0;e<o;e++)i[e].addEventListener("click",n.add)},n.add=function(e){var t=e.currentTarget||e.srcElement;new n(t).share()},n.prototype={constructor:n,getValue:function(e){var t=this.elem.getAttribute("data-"+e);return t&&"hashtag"===e&&(t.startsWith("#")||(t="#"+t)),null===t?"":t},share:function(){var e=this.getValue("sharer").toLowerCase(),t={facebook:{shareUrl:"https://www.facebook.com/sharer/sharer.php",params:{u:this.getValue("url"),hashtag:this.getValue("hashtag"),quote:this.getValue("quote")}},linkedin:{shareUrl:"https://www.linkedin.com/shareArticle",params:{url:this.getValue("url"),mini:!0}},twitter:{shareUrl:"https://twitter.com/intent/tweet/",params:{text:this.getValue("title"),url:this.getValue("url"),hashtags:this.getValue("hashtags"),via:this.getValue("via")}},email:{shareUrl:"mailto:"+this.getValue("to"),params:{subject:this.getValue("subject"),body:this.getValue("title")+"\n"+this.getValue("url")}},whatsapp:{shareUrl:"true"===this.getValue("web")?"https://web.whatsapp.com/send":"https://wa.me/",params:{phone:this.getValue("to"),text:this.getValue("title")+" "+this.getValue("url")}},telegram:{shareUrl:"https://t.me/share",params:{text:this.getValue("title"),url:this.getValue("url")}},viber:{shareUrl:"viber://forward",params:{text:this.getValue("title")+" "+this.getValue("url")}},line:{shareUrl:"http://line.me/R/msg/text/?"+encodeURIComponent(this.getValue("title")+" "+this.getValue("url"))},pinterest:{shareUrl:"https://www.pinterest.com/pin/create/button/",params:{url:this.getValue("url"),media:this.getValue("image"),description:this.getValue("description")}}
vendor: 4,065 bytes, line 1
1,tumblr:{shareUrl:"http://tumblr.com/widgets/share/tool",params:{canonicalUrl:this.getValue("url"),content:this.getValue("url"),posttype:"link",title:this.getValue("title"),caption:this.getValue("caption"),tags:this.getValue("tags")}},hackernews:{shareUrl:"https://news.ycombinator.com/submitlink",params:{u:this.getValue("url"),t:this.getValue("title")}},reddit:{shareUrl:"https://www.reddit.com/submit",params:{url:this.getValue("url"),title:this.getValue("title")}},vk:{shareUrl:"http://vk.com/share.php",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("caption"),image:this.getValue("image")}},xing:{shareUrl:"https://www.xing.com/social/share/spi",params:{url:this.getValue("url")}},buffer:{shareUrl:"https://buffer.com/add",params:{url:this.getValue("url"),title:this.getValue("title"),via:this.getValue("via"),picture:this.getValue("picture")}},instapaper:{shareUrl:"http://www.instapaper.com/edit",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("description")}},pocket:{shareUrl:"https://getpocket.com/save",params:{url:this.getValue("url")}},mashable:{shareUrl:"https://mashable.com/submit",params:{url:this.getValue("url"),title:this.getValue("title")}},mix:{shareUrl:"https://mix.com/add",params:{url:this.getValue("url")}},flipboard:{shareUrl:"https://share.flipboard.com/bookmarklet/popout",params:{v:2,title:this.getValue("title"),url:this.getValue("url"),t:Date.now()}},weibo:{shareUrl:"http://service.weibo.com/share/share.php",params:{url:this.getValue("url"),title:this.getValue("title"),pic:this.getValue("image"),appkey:this.getValue("appkey"),ralateUid:this.getValue("ralateuid"),language:"zh_cn"}},blogger:{shareUrl:"https://www.blogger.com/blog-this.g",params:{u:this.getValue("url"),n:this.getValue("title"),t:this.getValue("description")}},baidu:{shareUrl:"http://cang.baidu.com/do/add",params:{it:this.getValue("title"),iu:this.getValue("url")}},douban:{shareUrl:"https://www.douban.com/share/service",params:{name:this.getValue("name"),href:this.getValue("url"),image:this.getValue("image"),comment:this.getValue("description")}},okru:{shareUrl:"https://connect.ok.ru/dk",params:{"st.cmd":"WidgetSharePreview","st.shareUrl":this.getValue("url"),title:this.getValue("title")}},mailru:{shareUrl:"http://connect.mail.ru/share",params:{share_url:this.getValue("url"),linkname:this.getValue("title"),linknote:this.getValue("description"),type:"page"}},evernote:{shareUrl:"https://www.evernote.com/clip.action",params:{url:this.getValue("url"),title:this.getValue("title")}},skype:{shareUrl:"https://web.skype.com/share",params:{url:this.getValue("url"),title:this.getValue("title")}},delicious:{shareUrl:"https://del.icio.us/post",params:{url:this.getValue("url"),title:this.getValue("title")}},sms:{shareUrl:"sms://",params:{body:this.getValue("body")}},trello:{shareUrl:"https://trello.com/add-card",params:{url:this.getValue("url"),name:this.getValue("title"),desc:this.getValue("description"),mode:"popup"}},messenger:{shareUrl:"fb-messenger://share",params:{link:this.getValue("url")}},odnoklassniki:{shareUrl:"https://connect.ok.ru/dk",params:{st:{cmd:"WidgetSharePreview",deprecated:1,shareUrl:this.getValue("url")}}},meneame:{shareUrl:"https://www.meneame.net/submit",params:{url:this.getValue("url")}},diaspora:{shareUrl:"https://share.diasporafoundation.org",params:{title:this.getValue("title"),url:this.getValue("url")}},googlebookmarks:{shareUrl:"https://www.google.com/bookmarks/mark",params:{op:"edit",bkmk:this.getValue("url"),title:this.getValue("title")}},qzone:{shareUrl:"https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey",params:{url:this.getValue("url")}},refind:{shareUrl:"https://refind.com",params:{url:this.getValue("url")}},surfingbird:{shareUrl:"https://surfingbird.ru/share",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("description")}},yahoomail:{shareUrl:"http://compose.mail.yahoo.com",params:{to:this.getValue("to"),subject:this.getValue("subject"),body:this.getValue("body")}}
1,wordpress:{shareUrl:"https://wordpress.com/wp-admin/press-this.php",params:{u:this.getValue("url"),t:this.getValue("title"),s:this.getValue("title")}},amazon:{shareUrl:"https://www.amazon.com/gp/wishlist/static-add",params:{u:this.getValue("url"),t:this.getValue("title")}},pinboard:{shareUrl:"https://pinboard.in/add",params:{url:this.getValue("url"),title:this.getValue("title"),description:this.getValue("description")}},threema:{shareUrl:"threema://compose",params:{text:this.getValue("text"),id:this.getValue("id")}},kakaostory:{shareUrl:"https://story.kakao.com/share",params:{url:this.getValue("url")}},yummly:{shareUrl:"http://www.yummly.com/urb/verify",params:{url:this.getValue("url"),title:this.getValue("title"),yumtype:"button"}}}[e];return t&&(t.width=this.getValue("width"),t.height=this.getValue("height")),void 0!==t&&this.urlSharer(t)},urlSharer:function(t){var n,i=t.params||{},o=Object.keys(i),r=o.length>0?"?":"";for(n=0;n<o.length;n++)"?"!==r&&(r+="&"),i[o[n]]&&(r+=o[n]+"="+encodeURIComponent(i[o[n]]));t.shareUrl+=r;var s="true"===this.getValue("link"),a="true"===this.getValue("blank");if(s)a?e.open(t.shareUrl,"_blank"):e.location.href=t.shareUrl;else{console.log(t.shareUrl);var l=t.width||600,c=t.height||480,d=e.innerWidth/2-l/2+e.screenX,u="scrollbars=no, width="+l+", height="+c+", top="+(e.innerHeight/2-c/2+e.screenY)+", left="+d,h=e.open(t.shareUrl,"",u);e.focus&&h.focus()}}},"complete"===t.readyState||"loading"!==t.readyState?n.init():t.addEventListener("DOMContentLoaded",n.init),e.Sharer=n}(window,document),function(e,t){"function"==typeof define&&define.amd?define([],t):"object"==typeof module&&module.exports?module.exports=t():e.Rellax=t()}("undefined"!=typeof window?window:global,(function(){var e=function(t,n){"use strict";var i=Object.create(e.prototype),o=0,r=0,s=0,a=0,l=[],c=!0,d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||window.oRequestAnimationFrame||function(e){return setTimeout(e,1e3/60)},u=null,h=!1;try{var f=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("testPassive",null,f),window.removeEventListener("testPassive",null,f)}catch(e){}var p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||clearTimeout,g=window.transformProp||function(){var e=document.createElement("div");if(null===e.style.transform){var t=["Webkit","Moz","ms"];for(var n in t)if(void 0!==e.style[t[n]+"Transform"])return t[n]+"Transform"}return"transform"}();i.options={speed:-2,verticalSpeed:null,horizontalSpeed:null,breakpoints:[576,768,1201],center:!1,wrapper:null,relativeToWrapper:!1,round:!0,vertical:!0,horizontal:!1,verticalScrollAxis:"y",horizontalScrollAxis:"x",callback:function(){}},n&&Object.keys(n).forEach((function(e){i.options[e]=n[e]})),n&&n.breakpoints&&function(){if(3===i.options.breakpoints.length&&Array.isArray(i.options.breakpoints)){var e,t=!0,n=!0;if(i.options.breakpoints.forEach((function(i){"number"!=typeof i&&(n=!1),null!==e&&i<e&&(t=!1),e=i})),t&&n)return}i.options.breakpoints=[576,768,1201],console.warn("Rellax: You must pass an array of 3 numbers in ascending order to the breakpoints option. Defaults reverted")}(),t||(t=".rellax");var m="string"==typeof t?document.querySelectorAll(t):[t];if(m.length>0){if(i.elems=m,i.options.wrapper&&!i.options.wrapper.nodeType){var v=document.querySelector(i.options.wrapper);if(!v)return void console.warn("Rellax: The wrapper you're trying to use doesn't exist.");i.options.wrapper=v}var y,b=function(){for(var e=0;e<l.length;e++)i.elems[e].style.cssText=l[e].style;var t,n;l=[],r=window.innerHeight,t=a=window.innerWidth,n=i.options.breakpoints,y=t<n[0]?"xs":t>=n[0]&&t<n[1]?"sm":t>=n[1]&&t<n[2]?"md":"lg",x(),function(){for(var e=0;e<i.elems.length;e++){var t=w(i.elems[e]);l.push(t)}}(),C(),c&&(window.addEventListener("resize",b),c=!1,S())},w=function(e){var t,n=e.getAttribute("data-rellax-percentage"),o=e.getAttribute("data-rellax-speed"),s=e.getAttribute("data-rellax-xs-speed"),l=e.getAttribute("data-rellax-mobile-speed"),c=e.getAttribute("data-rellax-tablet-speed"),d=e.getAttribute("data-rellax-desktop-speed"),u=e.getAttribute("data-rellax-vert
1ical-speed"),h=e.getAttribute("data-rellax-horizontal-speed"),f=e.getAttribute("data-rellax-vertical-scroll-axis"),p=e.getAttribute("data-rellax-horizontal-scroll-axis"),g=e.getAttribute("data-rellax-zindex")||0,m=e.getAttribute("data-rellax-min"),v=e.getAttribute("data-rellax-max"),b=e.getAttribute("data-rellax-min-x"),w=e.getAttribute("data-rellax-max-x"),x=e.getAttribute("data-rellax-min-y"),E=e.getAttribute("data-rellax-max-y"),S=!0;s||l||c||d?t={xs:s,sm:l,md:c,lg:d}:S=!1;var C=i.options.wrapper?i.options.wrapper.scrollTop:window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop;i.options.relativeToWrapper&&(C=(window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop)-i.options.wrapper.offsetTop);var _=i.options.vertical&&(n||i.options.center)?C:0,A=i.options.horizontal&&(n||i.options.center)?i.options.wrapper?i.options.wrapper.scrollLeft:window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft:0,T=_+e.getBoundingClientRect().top,D=e.clientHeight||e.offsetHeight||e.scrollHeight,M=A+e.getBoundingClientRect().left,P=e.clientWidth||e.offsetWidth||e.scrollWidth,O=n||(_-T+r)/(D+r),R=n||(A-M+a)/(P+a);i.options.center&&(R=.5,O=.5);var I=S&&null!==t[y]?Number(t[y]):o||i.options.speed,L=u||i.options.verticalSpeed,N=h||i.options.horizontalSpeed,j=f||i.options.verticalScrollAxis,H=p||i.options.horizontalScrollAxis,$=k(R,O,I,L,N),z=e.style.cssText,B="",F=/transform\s*:/i.exec(z);if(F){var V=F.index,U=z.slice(V),W=U.indexOf(";");B=W?" "+U.slice(11,W).replace(/\s/g,""):" "+U.slice(11).replace(/\s/g,"")}return{baseX:$.x,baseY:$.y,top:T,left:M,height:D,width:P,speed:I,verticalSpeed:L,horizontalSpeed:N,verticalScrollAxis:j,horizontalScrollAxis:H,style:z,transform:B,zindex:g,min:m,max:v,minX:b,maxX:w,minY:x,maxY:E}},x=function(){var e=o,t=s;if(o=i.options.wrapper?i.options.wrapper.scrollTop:(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset,s=i.options.wrapper?i.options.wrapper.scrollLeft:(document.documentElement||document.body.parentNode||document.body).scrollLeft||window.pageXOffset,i.options.relativeToWrapper){var n=(document.documentElement||document.body.parentNode||document.body).scrollTop||window.pageYOffset;o=n-i.options.wrapper.offsetTop}return!(e==o||!i.options.vertical)||!(t==s||!i.options.horizontal)},k=function(e,t,n,o,r){var s={},a=(r||n)*(100*(1-e)),l=(o||n)*(100*(1-t));return s.x=i.options.round?Math.round(a):Math.round(100*a)/100,s.y=i.options.round?Math.round(l):Math.round(100*l)/100,s},E=function(){window.removeEventListener("resize",E),window.removeEventListener("orientationchange",E),(i.options.wrapper?i.options.wrapper:window).removeEventListener("scroll",E),(i.options.wrapper?i.options.wrapper:document).removeEventListener("touchmove",E),u=d(S)},S=function(){x()&&!1===c?(C(),u=d(S)):(u=null,window.addEventListener("resize",E),window.addEventListener("orientationchange",E),(i.options.wrapper?i.options.wrapper:window).addEventListener("scroll",E,!!h&&{passive:!0}),(i.options.wrapper?i.options.wrapper:document).addEventListener("touchmove",E,!!h&&{passive:!0}))},C=function(){for(var e,t=0;t<i.elems.length;t++){var n=l[t].verticalScrollAxis.toLowerCase(),c=l[t].horizontalScrollAxis.toLowerCase(),d=-1!=n.indexOf("x")?o:0,u=-1!=n.indexOf("y")?o:0,h=-1!=c.indexOf("x")?s:0,f=(u+(-1!=c.indexOf("y")?s:0)-l[t].top+r)/(l[t].height+r),p=(d+h-l[t].left+a)/(l[t].width+a),m=(e=k(p,f,l[t].speed,l[t].verticalSpeed,l[t].horizontalSpeed)).y-l[t].baseY,v=e.x-l[t].baseX;null!==l[t].min&&(i.options.vertical&&!i.options.horizontal&&(m=m<=l[t].min?l[t].min:m),i.options.horizontal&&!i.options.vertical&&(v=v<=l[t].min?l[t].min:v)),null!=l[t].minY&&(m=m<=l[t].minY?l[t].minY:m),null!=l[t].minX&&(v=v<=l[t].minX?l[t].minX:v),null!==l[t].max&&(i.options.vertical&&!i.options.horizontal&&(m=m>=l[t].max?l[t].max:m),i.options.horizontal&&!i.options.vertical&&(v=v>=l[t].max?l[t].max:v)),null!=l[t].maxY&&(m=m>=l[t].maxY?l[t].maxY:m),null!=l[t].maxX&&(v=v>=l[t].maxX?l[t].maxX:v);var y=l[t].zindex,b="translate3d("+(i.options.horizontal?v:"0")+"px,"+(i.options.vertical?m:"0")+"px,"+y+"px) "+l[t].transform;i.elems[t].style[g]=b}i.options.callback(e)};return i.destroy=function(){for(var e=0;e<i.elems.length;e++)i.elems[e].style.cssText=l[e].style;c||(window.removeEventListener("resize",b),c=!0),p(u),u=null},b(),i.refresh=b,i}console.warn("Rellax: The elements you're trying to select don't exist.")};return e})),function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exp
1orts.AOS=t():e.AOS=t()}(this,(function(){return function(e){function t(i){if(n[i])return n[i].exports;var o=n[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,t),o.loaded=!0,o.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function i(e){return e&&e.__esModule?e:{default:e}}var o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r=(i(n(1)),n(6)),s=i(r),a=i(n(7)),l=i(n(8)),c=i(n(9)),d=i(n(10)),u=i(n(11)),h=i(n(14)),f=[],p=!1,g={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,startEvent:"DOMContentLoaded",throttleDelay:99,debounceDelay:50,disableMutationObserver:!1},m=function(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(p=!0),p)return f=(0,u.default)(f,g),(0,d.default)(f,g.once),f},v=function(){f=(0,h.default)(),m()};e.exports={init:function(e){g=o(g,e),f=(0,h.default)();var t=document.all&&!window.atob;return function(e){return!0===e||"mobile"===e&&c.default.mobile()||"phone"===e&&c.default.phone()||"tablet"===e&&c.default.tablet()||"function"==typeof e&&!0===e()}(g.disable)||t?void f.forEach((function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})):(g.disableMutationObserver||l.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),g.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",g.easing),document.querySelector("body").setAttribute("data-aos-duration",g.duration),document.querySelector("body").setAttribute("data-aos-delay",g.delay),"DOMContentLoaded"===g.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?m(!0):"load"===g.startEvent?window.addEventListener(g.startEvent,(function(){m(!0)})):document.addEventListener(g.startEvent,(function(){m(!0)})),window.addEventListener("resize",(0,a.default)(m,g.debounceDelay,!0)),window.addEventListener("orientationchange",(0,a.default)(m,g.debounceDelay,!0)),window.addEventListener("scroll",(0,s.default)((function(){(0,d.default)(f,g.once)}),g.throttleDelay)),g.disableMutationObserver||l.default.ready("[data-aos]",v),f)},refresh:m,refreshHard:v}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function r(t){var n=u,i=h;return u=h=void 0,v=t,p=e.apply(i,n)}function a(e){var n=e-m;return void 0===m||n>=t||n<0||k&&e-v>=f}function l(){var e=w();return a(e)?c(e):void(g=setTimeout(l,function(e){var n=t-(e-m);return k?b(n,f-(e-v)):n}(e)))}function c(e){return g=void 0,E&&u?r(e):(u=h=void 0,p)}function d(){var e=w(),n=a(e);if(u=arguments,h=this,m=e,n){if(void 0===g)return function(e){return v=e,g=setTimeout(l,t),x?r(e):p}(m);if(k)return g=setTimeout(l,t),r(m)}return void 0===g&&(g=setTimeout(l,t)),p}var u,h,f,p,g,m,v=0,x=!1,k=!1,E=!0;if("function"!=typeof e)throw new TypeError(s);return t=o(t)||0,i(n)&&(x=!!n.leading,f=(k="maxWait"in n)?y(o(n.maxWait)||0,t):f,E="trailing"in n?!!n.trailing:E),d.cancel=function(){void 0!==g&&clearTimeout(g),v=0,u=m=h=g=void 0},d.flush=function(){return void 0===g?p:c(w())},d}function i(e){var t=void 0===e?"undefined":r(e);return!!e&&("object"==t||"function"==t)}function o(e){if("number"==typeof e)return e;if(function(e){return"symbol"==(void 0===e?"undefined":r(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":r(e))}(e)&&v.call(e)==l}(e))return a;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(c,"");var n=u.test(e);return n||h.test(e)?f(e.slice(2),n?2:8):d.test(e)?a:+e}var r="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},s="Expected a function",a=NaN,l="[object Symbol]",c=/^\s+|\s+$/g,d=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,h=/^0o[0-7]+$/i,f=parseInt,p="object"==(void 0===t?"undefined":r(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":r(self))&&self&&self.Object===Object&&self,m=p||g||Function("return this")(),v=Object.prototype.toString,y=Math.max,b=Math.min,w=function(){return m.Date.now()};e.exports=function(e,t,o){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e){var t=void 0===e?"undefined":o(e);return!!e&&("object"==t||"function"==t)}function i(e){if("number"==typeof e)return e;if(function(e){return"symbol"==(void 0===e?"undefined":o(e))||function(e){return!!e&&"object"==(void 0===e?"undefined":o(e))}(e)&&g.call(e)==s}(e))return r;if(n(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=n(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(a,"");var i=c.test(e);return i||d.test(e)?u(e.slice(2),i?2:8):l.test(e)?r:+e}var 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},r=NaN,s="[object Symbol]",a=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,c=/^0b[01]+$/i,d=/^0o[0-7]+$/i,u=parseInt,h="object"==(void 0===t?"undefined":o(t))&&t&&t.Object===Object&&t,f="object"==("undefined"==typeof self?"undefined":o(self))&&self&&self.Object===Object&&self,p=h||f||Function("return this")(),g=Object.prototype.toString,m=Math.max,v=Math.min,y=function(){return p.Date.now()};e.exports=function(e,t,o){function r(t){var n=d,i=u;return d=u=void 0,b=t,f=e.apply(i,n)}function s(e){var n=e-g;return void 0===g||n>=t||n<0||x&&e-b>=h}function a(){var e=y();return s(e)?l(e):void(p=setTimeout(a,function(e){var n=t-(e-g);return x?v(n,h-(e-b)):n}(e)))}function l(e){return p=void 0,k&&d?r(e):(d=u=void 0,f)}function c(){var e=y(),n=s(e);if(d=arguments,u=this,g=e,n){if(void 0===p)return function(e){return b=e,p=setTimeout(a,t),w?r(e):f}(g);if(x)return p=setTimeout(a,t),r(g)}return void 0===p&&(p=setTimeout(a,t)),f}var d,u,h,f,p,g,b=0,w=!1,x=!1,k=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return t=i(t)||0,n(o)&&(w=!!o.leading,h=(x="maxWait"in o)?m(i(o.maxWait)||0,t):h,k="trailing"in o?!!o.trailing:k),c.cancel=function(){void 0!==p&&clearTimeout(p),b=0,d=g=u=p=void 0},c.flush=function(){return void 0===p?f:l(y())},c}}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,i=void 0;for(t=0;t<e.length;t+=1){if((i=e[t]).dataset&&i.dataset.aos)return!0;
1if(i.children&&n(i.children))return!0}return!1}function i(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function o(e){e&&e.forEach((function(e){var t=Array.prototype.slice.call(e.addedNodes),i=Array.prototype.slice.call(e.removedNodes);if(n(t.concat(i)))return r()}))}Object.defineProperty(t,"__esModule",{value:!0});var r=function(){};t.default={isSupported:function(){return!!i()},ready:function(e,t){var n=window.document,s=new(i())(o);r=t,s.observe(n.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}}},function(e,t){"use strict";function n(){return navigator.userAgent||navigator.vendor||window.opera||""}Object.defineProperty(t,"__esModule",{value:!0});var i=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),o=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,r=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,s=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,a=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,l=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e)}return i(e,[{key:"phone",value:function(){var e=n();return!(!o.test(e)&&!r.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=n();return!(!s.test(e)&&!a.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}}]),e}();t.default=new l},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=window.pageYOffset,i=window.innerHeight;e.forEach((function(e,o){!function(e,t,n){var i=e.node.getAttribute("data-aos-once");t>e.position?e.node.classList.add("aos-animate"):void 0!==i&&("false"===i||!n&&"true"!==i)&&e.node.classList.remove("aos-animate")}(e,i+n,t)}))}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(12));t.default=function(e,t){return e.forEach((function(e,n){e.node.classList.add("aos-init"),e.position=(0,i.default)(e.node,t.offset)})),e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=function(e){return e&&e.__esModule?e:{default:e}}(n(13));t.default=function(e,t){var n=0,o=0,r=window.innerHeight,s={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(s.offset&&!isNaN(s.offset)&&(o=parseInt(s.offset)),s.anchor&&document.querySelectorAll(s.anchor)&&(e=document.querySelectorAll(s.anchor)[0]),n=(0,i.default)(e).top,s.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=r/2;break;case"bottom-center":n+=r/2+e.offsetHeight;break;case"center-center":n+=r/2+e.offsetHeight/2;break;case"top-top":n+=r;break;case"bottom-top":n+=e.offsetHeight+r;break;case"center-top":n+=e.offsetHeight/2+r}return s.anchorPlacement||s.offset||isNaN(t)||(o=t),n+o}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}}},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,(function(e){return{node:e}}))}}])})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e=e||self).Headroom=t()}(this,(function(){"use strict";function e(){return"undefined"!=typeof window}function t(e,t,n){var i,o=function(){var e=!1;try{var t={get passive(){e=!0}};window.addEventListener("test",t,t),window.removeEventListener("test",t,t)}catch(t){e=!1}return e}(),r=!1,s=function(e){return(r=e)&&r.document&&function(e){return 9===e.nodeType}(r.document)?(n=(t=e).document,i=n.body,o=n.documentElement,{scrollHeight:function(){return Math.max(i.scrollHeight,o.scrollHeight,i.offsetHeight,o.offsetHeight,i.clientHeight,o.clientHeight)},height:function(){return t.innerHeight||o.clientHeight||i.clientHeight},scrollY:function(){return void 0!==t.pageYOffset?t.pageYOffset:(o||i.parentNode||i).scrollTop}}):function(e){return{scrollHeight:function(){return Math.max(e.scrollHeight,e.offsetHeight,e.clientHeight)},height:function(){return Math.max(e.offsetHeight,e.clientHeight)},scrollY:function(){return e.scrollTop}}}(e);var t,n,i,o,r}(e),a=s.scrollY(),l={};function c(){var e=Math.round(s.scrollY()),i=s.height(),o=s.scrollHeight();l.scrollY=e,l.lastScrollY=a,l.direction=e>a?"down":"up",l.distance=Math.abs(e-a),l.isOutOfBounds=e<0||e+i>o,l.top=e<=t.offset[l.direction],l.bottom=e+i>=o,l.toleranceExceeded=l.distance>t.tolerance[l.direction],n(l),a=e,r=!1}function d(){r||(r=!0,i=requestAnimationFrame(c))}var u=!!o&&{passive:!0,capture:!1};return e.addEventListener("scroll",d,u),c(),{destroy:function(){cancelAnimationFrame(i),e.removeEventListener("scroll",d,u)}}}function n(e){return e===Object(e)?e:{down:e,up:e}}
1function i(e,t){t=t||{},Object.assign(this,i.options,t),this.classes=Object.assign({},i.options.classes,t.classes),this.elem=e,this.tolerance=n(this.tolerance),this.offset=n(this.offset),this.initialised=!1,this.frozen=!1}return i.prototype={constructor:i,init:function(){return i.cutsTheMustard&&!this.initialised&&(this.addClass("initial"),this.initialised=!0,setTimeout((function(e){e.scrollTracker=t(e.scroller,{offset:e.offset,tolerance:e.tolerance},e.update.bind(e))}),100,this)),this},destroy:function(){this.initialised=!1,Object.keys(this.classes).forEach(this.removeClass,this),this.scrollTracker.destroy()},unpin:function(){!this.hasClass("pinned")&&this.hasClass("unpinned")||(this.addClass("unpinned"),this.removeClass("pinned"),this.onUnpin&&this.onUnpin.call(this))},pin:function(){this.hasClass("unpinned")&&(this.addClass("pinned"),this.removeClass("unpinned"),this.onPin&&this.onPin.call(this))},freeze:function(){this.frozen=!0,this.addClass("frozen")},unfreeze:function(){this.frozen=!1,this.removeClass("frozen")},top:function(){this.hasClass("top")||(this.addClass("top"),this.removeClass("notTop"),this.onTop&&this.onTop.call(this))},notTop:function(){this.hasClass("notTop")||(this.addClass("notTop"),this.removeClass("top"),this.onNotTop&&this.onNotTop.call(this))},bottom:function(){this.hasClass("bottom")||(this.addClass("bottom"),this.removeClass("notBottom"),this.onBottom&&this.onBottom.call(this))},notBottom:function(){this.hasClass("notBottom")||(this.addClass("notBottom"),this.removeClass("bottom"),this.onNotBottom&&this.onNotBottom.call(this))},shouldUnpin:function(e){return"down"===e.direction&&!e.top&&e.toleranceExceeded},shouldPin:function(e){return"up"===e.direction&&e.toleranceExceeded||e.top},addClass:function(e){this.elem.classList.add.apply(this.elem.classList,this.classes[e].split(" "))},removeClass:function(e){this.elem.classList.remove.apply(this.elem.classList,this.classes[e].split(" "))},hasClass:function(e){return this.classes[e].split(" ").every((function(e){return this.classList.contains(e)}),this.elem)},update:function(e){e.isOutOfBounds||!0!==this.frozen&&(e.top?this.top():this.notTop(),e.bottom?this.bottom():this.notBottom(),this.shouldUnpin(e)?this.unpin():this.shouldPin(e)&&this.pin())}},i.options={tolerance:{up:0,down:0},offset:0,scroller:e()?window:null,classes:{frozen:"headroom--frozen",pinned:"headroom--pinned",unpinned:"headroom--unpinned",top:"headroom--top",notTop:"headroom--not-top",bottom:"headroom--bottom",notBottom:"headroom--not-bottom",initial:"headroom"}},i.cutsTheMustard=!!(e()&&function(){}.bind&&"classList"in document.documentElement&&Object.assign&&Object.keys&&requestAnimationFrame),i})),function(e){e&&(e.fn.headroom=function(t){return this.each((function(){var n=e(this),i=n.data("headroom"),o="object"==typeof t&&t;o=e.extend(!0,{},Headroom.options,o),i||((i=new Headroom(this,o)).init(),n.data("headroom",i)),"string"==typeof t&&(i[t](),"destroy"===t&&n.removeData("headroom"))}))},e("[data-headroom]").each((function(){var t=e(this);t.headroom(t.data())})))}(window.Zepto||window.jQuery),function(e){e(["jquery"],(function(e){return function(){function t(t,n){return t||(t=s()),(l=e("#"+t.containerId)).length||n&&(l=function(t){return(l=e("<div/>").attr("id",t.containerId).addClass(t.positionClass)).appendTo(e(t.target)),l}(t)),l}function n(t){for(var n=l.children(),o=n.length-1;o>=0;o--)i(e(n[o]),t)}function i(t,n,i){var o=!(!i||!i.force)&&i.force;return!(!t||!o&&0!==e(":focus",t).length||(t[n.hideMethod]({duration:n.hideDuration,easing:n.hideEasing,complete:function(){a(t)}}),0))}function o(e){c&&c(e)}function r(n){function i(e){return null==e&&(e=""),e.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function r(t){var n=t&&!1!==c.closeMethod?c.closeMethod:c.hideMethod,i=t&&!1!==c.closeDuration?c.closeDuration:c.hideDuration,r=t&&!1!==c.closeEasing?c.closeEasing:c.hideEasing;if(!e(":focus",p).length||t)return clearTimeout(b.intervalId),p[n]({duration:i,easing:r,complete:function(){a(p),clearTimeout(f),c.onHidden&&"hidden"
1!==w.state&&c.onHidden(),w.state="hidden",w.endTime=new Date,o(w)}})}var c=s(),h=n.iconClass||c.iconClass;if(void 0!==n.optionsOverride&&(c=e.extend(c,n.optionsOverride),h=n.optionsOverride.iconClass||h),!function(e,t){if(e.preventDuplicates){if(t.message===d)return!0;d=t.message}return!1}(c,n)){u++,l=t(c,!0);var f=null,p=e("<div/>"),g=e("<div/>"),m=e("<div/>"),v=e("<div/>"),y=e(c.closeHtml),b={intervalId:null,hideEta:null,maxHideTime:null},w={toastId:u,state:"visible",startTime:new Date,options:c,map:n};return n.iconClass&&p.addClass(c.toastClass).addClass(h),function(){if(n.title){var e=n.title;c.escapeHtml&&(e=i(n.title)),g.append(e).addClass(c.titleClass),p.append(g)}}(),function(){if(n.message){var e=n.message;c.escapeHtml&&(e=i(n.message)),m.append(e).addClass(c.messageClass),p.append(m)}}(),c.closeButton&&(y.addClass(c.closeClass).attr("role","button"),p.prepend(y)),c.progressBar&&(v.addClass(c.progressClass),p.prepend(v)),c.rtl&&p.addClass("rtl"),c.newestOnTop?l.prepend(p):l.append(p),function(){var e="";switch(n.iconClass){case"toast-success":case"toast-info":e="polite";break;default:e="assertive"}p.attr("aria-live",e)}(),p.hide(),p[c.showMethod]({duration:c.showDuration,easing:c.showEasing,complete:c.onShown}),c.timeOut>0&&(f=setTimeout(r,c.timeOut),b.maxHideTime=parseFloat(c.timeOut),b.hideEta=(new Date).getTime()+b.maxHideTime,c.progressBar&&(b.intervalId=setInterval((function(){var e=(b.hideEta-(new Date).getTime())/b.maxHideTime*100;v.width(e+"%")}),10))),c.closeOnHover&&p.hover((function(){clearTimeout(f),b.hideEta=0,p.stop(!0,!0)[c.showMethod]({duration:c.showDuration,easing:c.showEasing})}),(function(){(c.timeOut>0||c.extendedTimeOut>0)&&(f=setTimeout(r,c.extendedTimeOut),b.maxHideTime=parseFloat(c.extendedTimeOut),b.hideEta=(new Date).getTime()+b.maxHideTime)})),!c.onclick&&c.tapToDismiss&&p.click(r),c.closeButton&&y&&y.click((function(e){e.stopPropagation?e.stopPropagation():void 0!==e.cancelBubble&&!0!==e.cancelBubble&&(e.cancelBubble=!0),c.onCloseClick&&c.onCloseClick(e),r(!0)})),c.onclick&&p.click((function(e){c.onclick(e),r()})),o(w),c.debug&&console&&console.log(w),p}}function s(){return e.extend({},{tapToDismiss:!0,toastClass:"toast",containerId:"toast-container",debug:!1,showMethod:"fadeIn",showDuration:300,showEasing:"swing",onShown:void 0,hideMethod:"fadeOut",hideDuration:1e3,hideEasing:"swing",onHidden:void 0,closeMethod:!1,closeDuration:!1,closeEasing:!1,closeOnHover:!0,extendedTimeOut:1e3,iconClasses:{error:"toast-error",info:"toast-info",success:"toast-success",warning:"toast-warning"},iconClass:"toast-info",positionClass:"toast-top-right",timeOut:5e3,titleClass:"toast-title",messageClass:"toast-message",escapeHtml:!1,target:"body",closeHtml:'<button type="button">×</button>',closeClass:"toast-close-button",newestOnTop:!0,preventDuplicates:!1,progressBar:!1,progressClass:"toast-progress",rtl:!1},m.options)}function a(e){l||(l=t()),e.is(":visible")||(e.remove(),e=null,0===l.children().length&&(l.remove(),d=void 0))}var l,c,d,u=0,h="error",f="info",p="success",g="warning",m={clear:function(e,o){var r=s();l||t(r),i(e,r,o)||n(r)},remove:function(n){var i=s();return l||t(i),n&&0===e(":focus",n).length?void a(n):void(l.children().length&&l.remove())},error:function(e,t,n){return r({type:h,iconClass:s().iconClasses.error,message:e,optionsOverride:n,title:t})},getContainer:t,info:function(e,t,n){return r({type:f,iconClass:s().iconClasses.info,message:e,optionsOverride:n,title:t})},options:{},subscribe:function(e){c=e},success:function(e,t,n){return r({type:p,iconClass:s().iconClasses.success,message:e,optionsOverride:n,title:t})},version:"2.1.4",warning:function(e,t,n){return r({type:g,iconClass:s().iconClasses.warning,message:e,optionsOverride:n,title:t})}};return m}()}))}("function"==typeof define&&define.amd?define:function(e,t){"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):window.toastr=t(window.jQuery)}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).flatpickr=t()}(this,(function(){"use strict";var e=function(){return e=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},e.apply(this,arguments)};function t(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var i=Array(e),o=0;for(t=0;t<n;t++)for(var r=arguments[t],s=0,a=r.length;s<a;s++,o++)i[o]=r[s];return i}var n=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],i={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:"object"==typeof window&&-1===window.navigator.userAgent.indexOf("MSIE"),ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(e){return"undefined"!=typeof console&&console.warn(e)},getWeek:function(e){var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var n=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-n.getTime())/864e5-3+(n.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewB
1ox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1},o={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(e){var t=e%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},r=function(e,t){return void 0===t&&(t=2),("000"+e).slice(-1*t)},s=function(e){return!0===e?1:0};function a(e,t){var n;return function(){var i=this,o=arguments;clearTimeout(n),n=setTimeout((function(){return e.apply(i,o)}),t)}}var l=function(e){return e instanceof Array?e:[e]};function c(e,t,n){if(!0===n)return e.classList.add(t);e.classList.remove(t)}function d(e,t,n){var i=window.document.createElement(e);return t=t||"",n=n||"",i.className=t,void 0!==n&&(i.textContent=n),i}function u(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function h(e,t){return t(e)?e:e.parentNode?h(e.parentNode,t):void 0}function f(e,t){var n=d("div","numInputWrapper"),i=d("input","numInput "+e),o=d("span","arrowUp"),r=d("span","arrowDown");if(-1===navigator.userAgent.indexOf("MSIE 9.0")?i.type="number":(i.type="text",i.pattern="\\d*"),void 0!==t)for(var s in t)i.setAttribute(s,t[s]);return n.appendChild(i),n.appendChild(o),n.appendChild(r),n}function p(e){try{return"function"==typeof e.composedPath?e.composedPath()[0]:e.target}catch(t){return e.target}}var g=function(){},m=function(e,t,n){return n.months[t?"shorthand":"longhand"][e]},v={D:g,F:function(e,t,n){e.setMonth(n.months.longhand.indexOf(t))},G:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},H:function(e,t){e.setHours(parseFloat(t))},J:function(e,t){e.setDate(parseFloat(t))},K:function(e,t,n){e.setHours(e.getHours()%12+12*s(new RegExp(n.amPM[1],"i").test(t)))},M:function(e,t,n){e.setMonth(n.months.shorthand.indexOf(t))},S:function(e,t){e.setSeconds(parseFloat(t))},U:function(e,t){return new Date(1e3*parseFloat(t))},W:function(e,t,n){var i=parseInt(t),o=new Date(e.getFullYear(),0,2+7*(i-1),0,0,0,0);return o.setDate(o.getDate()-o.getDay()+n.firstDayOfWeek),o},Y:function(e,t){e.setFullYear(parseFloat(t))},Z:function(e,t){return new Date(t)},d:function(e,t){e.setDate(parseFloat(t))},h:function(e,t){e.setHours((e.getHours()>=12?12:0)+parseFloat(t))},i:function(e,t){e.setMinutes(parseFloat(t))},j:function(e,t){e.setDate(parseFloat(t))},l:g,m:function(e,t){e.setMonth(parseFloat(t)-1)},n:function(e,t){e.setMonth(parseFloat(t)-1)},s:function(e,t){e.setSeconds(parseFloat(t))},u:function(e,t){return new Date(parseFloat(t))},w:g,y:function(e,t){e.setFullYear(2e3+parseFloat(t))}},y={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},b={Z:function(e){return e.toISOString()},D:function(e,t,n){return t.weekdays.shorthand[b.w(e,t,n)]},F:function(e,t,n){return m(b.n(e,t,n)-1,!1,t)},G:function(e,t,n){return r(b.h(e,t,n))},H:function(e){return r(e.getHours())},J:function(e,t){return void 0!==t.ordinal?e.getDate()+t.ordinal(e.getDate()):e.getDate()},K:function(e,t){return t.amPM[s(e.getHours()>11)]},M:function(e,t){return m(e.getMonth(),!0,t)},S:function(e){return r(e.getSeconds())},U:function(e){return e.getTime()/1e3},W:function(e,t,n){return n.getWeek(e)},Y:function(e){return r(e.getFullYear(),4)},d:function(e){return r(e.getDate())},h:function(e){return e.getHours()%12?e.getHours()%12:12},i:function(e){return r(e.getMinutes())},j:function(e){return e.getDate()},l:function(e,t){return t.weekdays.longhand[e.getDay()]},m:function(e){return r(e.getMonth()+1)},n:function(e){return e.getMonth()+1},s:function(e){return e.getSeconds()},u:function(e){return e.getTime()},w:function(e){return e.getDay()},y:function(e){return String(e.getFullYear()).substring(2)}},w=function(e){var t=e.config,n=void 0===t?i:t,r=e.l10n,s=void 0===r?o:r,a=e.isMobile,l=void 0!==a&&a;return function(e,t,i){var o=i||s;return void 0===n.formatDate||l?t.split("").map((function(t,i,r){return b[t]&&"\\"!==r[i-1]?b[t](e,o,n):"\\"!==t?t:""})).join(""):n.formatDate(e,t,o)}},x=function(e){var t=e.config,n=void 0===t?i:t,r=e.l10n,s=void 0===r?o:r;return function(e,t,o,r){if(0===e||e){var a,l=r||s,c=e;if(e instanceof Date)a=new Date(e.getTime());else if("string"!=typeof e&&void 0!==e.toFixed)a=new Date(e);else if("string"==typeof e){var d=t||(n||i).dateFormat,u=String(e).trim();if("today"===u)a=new Date,o=!0;else if(n&&n.parseDate)a=n.parseDate(e,d);else if(/Z$/.test(u)||/GMT$/.test(u))a=new Date(e);else{for(var h=void 0,f=[],p=0,g=0,m="";p<d.length;p++){var b=d[p],w="\\"===b,x="\\"===d[p-1]||w;if(y[b]&&!x){m+=y[b];var k=new RegExp(m).exec(e);k&&(h=!0)&&f["Y"!==b?"push":"unshift"]({fn:v[b],val:k[++g]})}else w||(m+=".")}a=n&&n.noCalendar?new Date((new Date).setHours(0,0,0,0)):new Date((new Date).getFullYear(),0,1,0,0,0,0),f.forEach((function(e){var t=e.fn,n=e.val;return a=t(a,n,l)||a})),a=h?a:void 0}}if(a instanceof Date&&!isNaN(a.getTime()))return!0===o&&a.setHours(0,0,0,0),a;n.errorHandler(new Error("Invalid date provided: "+c))}}};
vendor: 38,968 bytes, line 1
1function k(e,t,n){return void 0===n&&(n=!0),!1!==n?new Date(e.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):e.getTime()-t.getTime()}var E=function(e,t,n){return e>Math.min(t,n)&&e<Math.max(t,n)},S=function(e,t,n){return 3600*e+60*t+n},C=function(e){var t=Math.floor(e/3600),n=(e-3600*t)/60;return[t,n,e-3600*t-60*n]},_={DAY:864e5};function A(e){var t=e.defaultHour,n=e.defaultMinute,i=e.defaultSeconds;if(void 0!==e.minDate){var o=e.minDate.getHours(),r=e.minDate.getMinutes(),s=e.minDate.getSeconds();t<o&&(t=o),t===o&&n<r&&(n=r),t===o&&n===r&&i<s&&(i=e.minDate.getSeconds())}if(void 0!==e.maxDate){var a=e.maxDate.getHours(),l=e.maxDate.getMinutes();(t=Math.min(t,a))===a&&(n=Math.min(l,n)),t===a&&n===l&&(i=e.maxDate.getSeconds())}return{hours:t,minutes:n,seconds:i}}"function"!=typeof Object.assign&&(Object.assign=function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(!e)throw TypeError("Cannot convert undefined or null to object");for(var i=function(t){t&&Object.keys(t).forEach((function(n){return e[n]=t[n]}))},o=0,r=t;o<r.length;o++)i(r[o]);return e});var T=300;function D(g,v){var b={config:e(e({},i),P.defaultConfig),l10n:o};function D(){var e;return(null===(e=b.calendarContainer)||void 0===e?void 0:e.getRootNode()).activeElement||document.activeElement}function M(e){return e.bind(b)}function O(){var e=b.config;!1===e.weekNumbers&&1===e.showMonths||!0!==e.noCalendar&&window.requestAnimationFrame((function(){if(void 0!==b.calendarContainer&&(b.calendarContainer.style.visibility="hidden",b.calendarContainer.style.display="block"),void 0!==b.daysContainer){var t=(b.days.offsetWidth+1)*e.showMonths;b.daysContainer.style.width=t+"px",b.calendarContainer.style.width=t+(void 0!==b.weekWrapper?b.weekWrapper.offsetWidth:0)+"px",b.calendarContainer.style.removeProperty("visibility"),b.calendarContainer.style.removeProperty("display")}}))}function R(e){if(0===b.selectedDates.length){var t=void 0===b.config.minDate||k(new Date,b.config.minDate)>=0?new Date:new Date(b.config.minDate.getTime()),n=A(b.config);t.setHours(n.hours,n.minutes,n.seconds,t.getMilliseconds()),b.selectedDates=[t],b.latestSelectedDateObj=t}void 0!==e&&"blur"!==e.type&&function(e){e.preventDefault();var t="keydown"===e.type,n=p(e),i=n;void 0!==b.amPM&&n===b.amPM&&(b.amPM.textContent=b.l10n.amPM[s(b.amPM.textContent===b.l10n.amPM[0])]);var o=parseFloat(i.getAttribute("min")),a=parseFloat(i.getAttribute("max")),l=parseFloat(i.getAttribute("step")),c=parseInt(i.value,10),d=c+l*(e.delta||(t?38===e.which?1:-1:0));if(void 0!==i.value&&2===i.value.length){var u=i===b.hourElement,h=i===b.minuteElement;d<o?(d=a+d+s(!u)+(s(u)&&s(!b.amPM)),h&&F(void 0,-1,b.hourElement)):d>a&&(d=i===b.hourElement?d-a-s(!b.amPM):o,h&&F(void 0,1,b.hourElement)),b.amPM&&u&&(1===l?d+c===23:Math.abs(d-c)>l)&&(b.amPM.textContent=b.l10n.amPM[s(b.amPM.textContent===b.l10n.amPM[0])]),i.value=r(d)}}(e);var i=b._input.value;I(),_e(),b._input.value!==i&&b._debouncedChange()}function I(){if(void 0!==b.hourElement&&void 0!==b.minuteElement){var e,t,n=(parseInt(b.hourElement.value.slice(-2),10)||0)%24,i=(parseInt(b.minuteElement.value,10)||0)%60,o=void 0!==b.secondElement?(parseInt(b.secondElement.value,10)||0)%60:0;void 0!==b.amPM&&(e=n,t=b.amPM.textContent,n=e%12+12*s(t===b.l10n.amPM[1]));var r=void 0!==b.config.minTime||b.config.minDate&&b.minDateHasTime&&b.latestSelectedDateObj&&0===k(b.latestSelectedDateObj,b.config.minDate,!0),a=void 0!==b.config.maxTime||b.config.maxDate&&b.maxDateHasTime&&b.latestSelectedDateObj&&0===k(b.latestSelectedDateObj,b.config.maxDate,!0);if(void 0!==b.config.maxTime&&void 0!==b.config.minTime&&b.config.minTime>b.config.maxTime){var l=S(b.config.minTime.getHours(),b.config.minTime.getMinutes(),b.config.minTime.getSeconds()),c=S(b.config.maxTime.getHours(),b.config.maxTime.getMinutes(),b.config.maxTime.getSeconds()),d=S(n,i,o);if(d>c&&d<l){var u=C(l);n=u[0],i=u[1],o=u[2]}}else{if(a){var h=void 0!==b.config.maxTime?b.config.maxTime:b.config.maxDate;(n=Math.min(n,h.getHours()))===h.getHours()&&(i=Math.min(i,h.getMinutes())),i===h.getMinutes()&&(o=Math.min(o,h.getSeconds()))}if(r){var f=void 0!==b.config.minTime?b.config.minTime:b.config.minDate;(n=Math.max(n,f.getHours()))===f.getHours()&&i<f.getMinutes()&&(i=f.getMinutes()),i===f.getMinutes()&&(o=Math.max(o,f.getSeconds()))}}N(n,i,o)}}function L(e){var t=e||b.latestSelectedDateObj;t&&t instanceof Date&&N(t.getHours(),t.getMinutes(),t.getSeconds())}function N(e,t,n){void 0!==b.latestSelectedDateObj&&b.latestSelectedDateObj.setHours(e%24,t,n||0,0),b.hourElement&&b.minuteElement&&!b.isMobile&&(b.hourElement.value=r(b.config.time_24hr?e:(12+e)%12+12*s(e%12==0)),b.minuteElement.value=r(t),void 0!==b.amPM&&(b.amPM.textContent=b.l10n.amPM[s(e>=12)]),void 0!==b.secondElement&&(b.secondElement.value=r(n)))}function j(e){var t=p(e),n=parseInt(t.value)+(e.delta||0);(n/1e3>1||"Enter"===e.key&&!/[^\d]/.test(n.toString()))&&ie(n)}function H(e,t,n,i){return t instanceof Array?t.forEach((function(t){return H(e,t,n,i)})):e instanceof Array?e.forEach((function(e){return H(e,t,n,i)})):(e.addEventListener(t,n,i),void b._handlers.push({remove:function(){return e.removeEventListener(t,n,i)}}))}function $(){xe("onChange")}function z(e,t){var n=void 0!==e?b.parseDate(e):b.latestSelectedDateObj||(b.config.minDate&&b.config.minDate>b.now?b.config.minDate:b.config.maxDate&&b.config.maxDate<b.now?b.config.maxDate:b.now),i=b.currentYear,o=b.currentMonth;try{void 0!==n&&(b.currentYear=n.getFullYear(),b.currentMonth=n.getMonth())}catch(e){e.message="Invalid date supplied: "+n,b.config.errorHandler(e)}t&&b.currentYear!==i&&(xe("onYearChange"),Q()),!t||b.currentYear===i&&b.currentMonth===o||xe("onMonthChange"),b.redraw()}function B(e){var t=p(e);~t.className.indexOf("arrow")&&F(e,t.classList.contains("arrowUp")?1:-1)}function F(e,t,n){var i=e&&p(e),o=n||i&&i.parentNode&&i.parentNode.firstChild,r=ke("increment");r.delta=t,o&&o.dispatchEvent(r)}function V(e,t,n,i){var o=oe(t,!0),r=d("span",e,t.getDate().toString());return r.dateObj=t,r.$i=i,r.setAttribute("aria-label",b.formatDate(t,b.config.ariaDateFormat)),-1===e.indexOf("hidden")&&0===k(t,b.now)&&(b.todayDateElem=r,r.classList.add("today"),r.setAttribute("aria-current","date")),o?(r.tabIndex=-1,Ee(t)&&(r.classList.add("selected"),b.selectedDateElem=r,"range"===b.config.mode&&(c(r,"startRange",b.selectedDates[0]&&0===k(t,b.selectedDates[0],!0)),c(r,"endRange",b.selectedDates[1]&&0===k(t,b.selectedDates[1],!0)),"nextMonthDay"===e&&r.classList.add("inRange")))):r.classList.add("flatpickr-disabled"),"range"===b.config.mode&&function(e){return!("range"!==b.config.mode||b.selectedDates.length<2)&&k(e,b.selectedDates[0])>=0&&k(e,b.selectedDates[1])<=0}(t)&&!Ee(t)&&r.classList.add("inRange"),b.weekNumbers&&1===b.config.showMonths&&"prevMonthDay"!==e&&i%7==6&&b.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+b.config.getWeek(t)+"</span>"),xe("onDayCreate",r),r}function U(e){e.focus(),"range"===b.config.mode&&le(e)}function W(e){for(var t=e>0?0:b.config.showMonths-1,n=e>0?b.config.showMonths:-1,i=t;i!=n;i+=e)for(var o=b.daysContainer.children[i],r=e>0?0:o.children.length-1,s=e>0?o.children.length:-1,a=r;a!=s;a+=e){var l=o.children[a];if(-1===l.className.indexOf("hidden")&&oe(l.dateObj))return l}}function q(e,t){var n=D(),i=re(n||document.body),o=void 0!==e?e:i?n:void 0!==b.selectedDateElem&&re(b.selectedDateElem)?b.selectedDateElem:void 0!==b.todayDateElem&&re(b.todayDateElem)?b.todayDateElem:W(t>0?1:-1);void 0===o?b._input.focus():i?function(e,t){for(var n=-1===e.className.indexOf("Month")?e.dateObj.getMonth():b.currentMonth,i=t>0?b.config.showMonths:-1,o=t>0?1:-1,r=n-b.currentMonth;r!=i;r+=o)for(var s=b.daysContainer.children[r],a=n-b.currentMonth===r?e.$i+t:t<0?s.children.length-1:0,l=s.children.length,c=a;c>=0&&c<l&&c!=(t>0?l:-1);c+=o){var d=s.children[c];if(-1===d.className.indexOf("hidden")&&oe(d.dateObj)&&Math.abs(e.$i-c)>=Math.abs(t))return U(d)}b.changeMonth(o),q(W(o),0)}(o,t):U(o)}function G(e,t){for(var n=(new Date(e,t,1).getDay()-b.l10n.firstDayOfWeek+7)%7,i=b.utils.getDaysInMonth((t-1+12)%12,e),o=b.utils.getDaysInMonth(t,e),r=window.document.createDocumentFragment(),s=b.config.showMonths>1,a=s?"prevMonthDay hidden":"prevMonthDay",l=s?"nextMonthDay hidden":"nextMonthDay",c=i+1-n,u=0;c<=i;c++,u++)r.appendChild(V("flatpickr-day "+a,new Date(e,t-1,c),0,u));for(c=1;c<=o;c++,u++)r.appendChild(V("flatpickr-day",new Date(e,t,c),0,u));for(var h=o+1;h<=42-n&&(1===b.config.showMonths||u%7!=0);h++,u++)r.appendChild(V("flatpickr-day "+l,new Date(e,t+1,h%o),0,u));var f=d("div","dayContainer");return f.appendChild(r),f}function Y(){if(void 0!==b.daysContainer){u(b.daysContainer),b.weekNumbers&&u(b.weekNumbers);for(var e=document.createDocumentFragment(),t=0;t<b.config.showMonths;t++){var n=new Date(b.currentYear,b.currentMonth,1);n.setMonth(b.currentMonth+t),e.appendChild(G(n.getFullYear(),n.getMonth()))}b.daysContainer.appendChild(e),b.days=b.daysContainer.firstChild,"range"===b.config.mode&&1===b.selectedDates.length&&le()}}function Q(){if(!(b.config.showMonths>1||"dropdown"!==b.config.monthSelectorType)){var e=function(e){return!(void 0!==b.config.minDate&&b.currentYear===b.config.minDate.getFullYear()&&e<b.config.minDate.getMonth()||void 0!==b.config.maxDate&&b.currentYear===b.config.maxDate.getFullYear()&&e>b.config.maxDate.getMonth())};b.monthsDropdownContainer.tabIndex=-1,b.monthsDropdownContainer.innerHTML="";for(var t=0;t<12;t++)if(e(t)){var n=d("option","flatpickr-monthDropdown-month");n.value=new Date(b.currentYear,t).getMonth().toString(),n.textContent=m(t,b.config.shorthandCurrentMonth,b.l10n),n.tabIndex=-1,b.currentMonth===t&&(n.selected=!0),b.monthsDropdownContainer.appendChild(n)}}}function X(){var e,t=d("div","flatpickr-month"),n=window.document.createDocumentFragment();b.config.showMonths>1||"static"===b.config.monthSelectorType?e=d("span","cur-month"):(b.monthsDropdownContainer=d("select","flatpickr-monthDropdown-months"),b.monthsDropdownContainer.setAttribute("aria-label",b.l10n.monthAriaLabel),H(b.monthsDropdownContainer,"change",(function(e){var t=p(e),n=parseInt(t.value,10);b.changeMonth(n-b.currentMonth),xe("onMonthChange")})),Q(),e=b.monthsDropdownContainer);var i=f("cur-year",{tabindex:"-1"}),o=i.getElementsByTagName("input")[0];o.setAttribute("aria-label",b.l10n.yearAriaLabel),b.config.minDate&&o.setAttribute("min",b.config.minDate.getFullYear().toString()),b.config.maxDate&&(o.setAttribute("max",b.config.maxDate.getFullYear().toString()),o.disabled=!!b.config.minDate&&b.config.minDate.getFullYear()===b.config.maxDate.getFullYear());var r=d("div","flatpickr-current-month");return r.appendChild(e),r.appendChild(i),n.appendChild(r),t.appendChild(n),{container:t,yearElement:o,monthElement:e}}function Z(){u(b.monthNav),b.monthNav.appendChild(b.prevMonthNav),b.config.showMonths&&(b.yearElements=[],b.monthElements=[]);for(var e=b.config.showMonths;e--;){var t=X();b.yearElements.push(t.yearElement),b.monthElements.push(t.monthElement),b.monthNav.appendChild(t.container)}b.monthNav.appendChild(b.nextMonthNav)}function K(){b.weekdayContainer?u(b.weekdayContainer):b.weekdayContainer=d("div","flatpickr-weekdays");for(var e=b.config.showMonths;e--;){var t=d("div","flatpickr-weekdaycontainer");b.weekdayContainer.appendChild(t)}return J(),b.weekdayContainer}function J(){if(b.weekdayContainer){var e=b.l10n.firstDayOfWeek,n=t(b.l10n.weekdays.shorthand);e>0&&e<n.length&&(n=t(n.splice(e,n.length),n.splice(0,e)));for(var i=b.config.showMonths;i--;)b.weekdayContainer.children[i].innerHTML="\n <span class='flatpickr-weekday'>\n "+n.join("</span><span class='flatpickr-weekday'>")+"\n </span>\n "}}function ee(e,t){void 0===t&&(t=!0);var n=t?e:e-b.currentMonth;n<0&&!0===b._hidePrevMonthArrow||n>0&&!0===b._hideNextMonthArrow||(b.currentMonth+=n,(b.currentMonth<0||b.currentMonth>11)&&(b.currentYear+=b.currentMonth>11?1:-1,b.currentMonth=(b.currentMonth+12)%12,xe("onYearChange"),Q()),Y(),xe("onMonthChange"),Se())}function te(e){return b.calendarContainer.contains(e)}function ne(e){if(b.isOpen&&!b.config.inline){var t=p(e),n=te(t),i=!(t===b.input||t===b.altInput||b.element.contains(t)||e.path&&e.path.indexOf&&(~e.path.indexOf(b.input)||~e.path.indexOf(b.altInput))||n||te(e.relatedTarget)),o=!b.config.ignoredFocusElements.some((function(e){return e.contains(t)}));i&&o&&(b.config.allowInput&&b.setDate(b._input.value,!1,b.config.altInput?b.config.altFormat:b.config.dateFormat),void 0!==b.timeContainer&&void 0!==b.minuteElement&&void 0!==b.hourElement&&""!==b.input.value&&void 0!==b.input.value&&R(),b.close(),b.config&&"range"===b.config.mode&&1===b.selectedDates.length&&b.clear(!1))}}function ie(e){if(!(!e||b.config.minDate&&e<b.config.minDate.getFullYear()||b.config.maxDate&&e>b.config.maxDate.getFullYear())){var t=e,n=b.currentYear!==t;b.currentYear=t||b.currentYear,b.config.maxDate&&b.currentYear===b.config.maxDate.getFullYear()?b.currentMonth=Math.min(b.config.maxDate.getMonth(),b.currentMonth):b.config.minDate&&b.currentYear===b.config.minDate.getFullYear()&&(b.currentMonth=Math.max(b.config.minDate.getMonth(),b.currentMonth)),n&&(b.redraw(),xe("onYearChange"),Q())}}function oe(e,t){var n;void 0===t&&(t=!0);var i=b.parseDate(e,void 0,t);if(b.config.minDate&&i&&k(i,b.config.minDate,void 0!==t?t:!b.minDateHasTime)<0||b.config.maxDate&&i&&k(i,b.config.maxDate,void 0!==t?t:!b.maxDateHasTime)>0)return!1;if(!b.config.enable&&0===b.config.disable.length)return!0;if(void 0===i)return!1;for(var o=!!b.config.enable,r=null!==(n=b.config.enable)&&void 0!==n?n:b.config.disable,s=0,a=void 0;s<r.length;s++){if("function"==typeof(a=r[s])&&a(i))return o;if(a instanceof Date&&void 0!==i&&a.getTime()===i.getTime())return o;if("string"==typeof a){var l=b.parseDate(a,void 0,!0);return l&&l.getTime()===i.getTime()?o:!o}if("object"==typeof a&&void 0!==i&&a.from&&a.to&&i.getTime()>=a.from.getTime()&&i.getTime()<=a.to.getTime())return o}return!o}function re(e){return void 0!==b.daysContainer&&-1===e.className.indexOf("hidden")&&-1===e.className.indexOf("flatpickr-disabled")&&b.daysContainer.contains(e)}function se(e){var t=e.target===b._input,n=b._input.value.trimEnd()!==Ce();!t||!n||e.relatedTarget&&te(e.relatedTarget)||b.setDate(b._input.value,!0,e.target===b.altInput?b.config.altFormat:b.config.dateFormat)}function ae(e){var t=p(e),n=b.config.wrap?g.contains(t):t===b._input,i=b.config.allowInput,o=b.isOpen&&(!i||!n),r=b.config.inline&&n&&!i;if(13===e.keyCode&&n){if(i)return b.setDate(b._input.value,!0,t===b.altInput?b.config.altFormat:b.config.dateFormat),b.close(),t.blur();b.open()}else if(te(t)||o||r){var s=!!b.timeContainer&&b.timeContainer.contains(t);switch(e.keyCode){case 13:s?(e.preventDefault(),R(),ge()):me(e);break;case 27:e.preventDefault(),ge();break;case 8:case 46:n&&!b.config.allowInput&&(e.preventDefault(),b.clear());break;case 37:case 39:if(s||n)b.hourElement&&b.hourElement.focus();else{e.preventDefault();var a=D();if(void 0!==b.daysContainer&&(!1===i||a&&re(a))){var l=39===e.keyCode?1:-1;e.ctrlKey?(e.stopPropagation(),ee(l),q(W(1),0)):q(void 0,l)}}break;case 38:case 40:e.preventDefault();var c=40===e.keyCode?1:-1;b.daysContainer&&void 0!==t.$i||t===b.input||t===b.altInput?e.ctrlKey?(e.stopPropagation(),ie(b.currentYear-c),q(W(1),0)):s||q(void 0,7*c):t===b.currentYearElement?ie(b.currentYear-c):b.config.enableTime&&(!s&&b.hourElement&&b.hourElement.focus(),R(e),b._debouncedChange());break;case 9:if(s){var d=[b.hourElement,b.minuteElement,b.secondElement,b.amPM].concat(b.pluginElements).filter((function(e){return e})),u=d.indexOf(t);if(-1!==u){var h=d[u+(e.shiftKey?-1:1)];e.preventDefault(),(h||b._input).focus()}}else!b.config.noCalendar&&b.daysContainer&&b.daysContainer.contains(t)&&e.shiftKey&&(e.preventDefault(),b._input.focus())}}if(void 0!==b.amPM&&t===b.amPM)switch(e.key){case b.l10n.amPM[0].charAt(0):case b.l10n.amPM[0].charAt(0).toLowerCase():b.amPM.textContent=b.l10n.amPM[0],I(),_e();break;case b.l10n.amPM[1].charAt(0):case b.l10n.amPM[1].charAt(0).toLowerCase():b.amPM.textContent=b.l10n.amPM[1],I(),_e()}(n||te(t))&&xe("onKeyDown",e)}function le(e,t){if(void 0===t&&(t="flatpickr-day"),1===b.selectedDates.length&&(!e||e.classList.contains(t)&&!e.classList.contains("flatpickr-disabled"))){for(var n=e?e.dateObj.getTime():b.days.firstElementChild.dateObj.getTime(),i=b.parseDate(b.selectedDates[0],void 0,!0).getTime(),o=Math.min(n,b.selectedDates[0].getTime()),r=Math.max(n,b.selectedDates[0].getTime()),s=!1,a=0,l=0,c=o;c<r;c+=_.DAY)oe(new Date(c),!0)||(s=s||c>o&&c<r,c<i&&(!a||c>a)?a=c:c>i&&(!l||c<l)&&(l=c));Array.from(b.rContainer.querySelectorAll("*:nth-child(-n+"+b.config.showMonths+") > ."+t)).forEach((function(t){var o=t.dateObj.getTime(),r=a>0&&o<a||l>0&&o>l;if(r)return t.classList.add("notAllowed"),void["inRange","startRange","endRange"].forEach((function(e){t.classList.remove(e)}));s&&!r||(["startRange","inRange","endRange","notAllowed"].forEach((function(e){t.classList.remove(e)})),void 0!==e&&(e.classList.add(n<=b.selectedDates[0].getTime()?"startRange":"endRange"),i<n&&o===i?t.classList.add("startRange"):i>n&&o===i&&t.classList.add("endRange"),o>=a&&(0===l||o<=l)&&E(o,i,n)&&t.classList.add("inRange")))}))}}function ce(){!b.isOpen||b.config.static||b.config.inline||fe()}function de(e){return function(t){var n=b.config["_"+e+"Date"]=b.parseDate(t,b.config.dateFormat),i=b.config["_"+("min"===e?"max":"min")+"Date"];void 0!==n&&(b["min"===e?"minDateHasTime":"maxDateHasTime"]=n.getHours()>0||n.getMinutes()>0||n.getSeconds()>0),b.selectedDates&&(b.selectedDates=b.selectedDates.filter((function(e){return oe(e)})),b.selectedDates.length||"min"!==e||L(n),_e()),b.daysContainer&&(pe(),void 0!==n?b.currentYearElement[e]=n.getFullYear().toString():b.currentYearElement.removeAttribute(e),b.currentYearElement.disabled=!!i&&void 0!==n&&i.getFullYear()===n.getFullYear())}}function ue(){return b.config.wrap?g.querySelector("[data-input]"):g}function he(){"object"!=typeof b.config.locale&&void 0===P.l10ns[b.config.locale]&&b.config.errorHandler(new Error("flatpickr: invalid locale "+b.config.locale)),b.l10n=e(e({},P.l10ns.default),"object"==typeof b.config.locale?b.config.locale:"default"!==b.config.locale?P.l10ns[b.config.locale]:void 0),y.D="("+b.l10n.weekdays.shorthand.join("|")+")",y.l="("+b.l10n.weekdays.longhand.join("|")+")",y.M="("+b.l10n.months.shorthand.join("|")+")",y.F="("+b.l10n.months.longhand.join("|")+")",y.K="("+b.l10n.amPM[0]+"|"+b.l10n.amPM[1]+"|"+b.l10n.amPM[0].toLowerCase()+"|"+b.l10n.amPM[1].toLowerCase()+")",void 0===e(e({},v),JSON.parse(JSON.stringify(g.dataset||{}))).time_24hr&&void 0===P.defaultConfig.time_24hr&&(b.config.time_24hr=b.l10n.time_24hr),b.formatDate=w(b),b.parseDate=x({config:b.config,l10n:b.l10n})}function fe(e){if("function"!=typeof b.config.position){if(void 0!==b.calendarContainer){xe("onPreCalendarPosition");var t=e||b._positionElement,n=Array.prototype.reduce.call(b.calendarContainer.children,(function(e,t){return e+t.offsetHeight}),0),i=b.calendarContainer.offsetWidth,o=b.config.position.split(" "),r=o[0],s=o.length>1?o[1]:null,a=t.getBoundingClientRect(),l=window.innerHeight-a.bottom,d="above"===r||"below"!==r&&l<n&&a.top>n,u=window.pageYOffset+a.top+(d?-n-2:t.offsetHeight+2);if(c(b.calendarContainer,"arrowTop",!d),c(b.calendarContainer,"arrowBottom",d),!b.config.inline){var h=window.pageXOffset+a.left,f=!1,p=!1;"center"===s?(h-=(i-a.width)/2,f=!0):"right"===s&&(h-=i-a.width,p=!0),c(b.calendarContainer,"arrowLeft",!f&&!p),c(b.calendarContainer,"arrowCenter",f),c(b.calendarContainer,"arrowRight",p);var g=window.document.body.offsetWidth-(window.pageXOffset+a.right),m=h+i>window.document.body.offsetWidth,v=g+i>window.document.body.offsetWidth;if(c(b.calendarContainer,"rightMost",m),!b.config.static)if(b.calendarContainer.style.top=u+"px",m)if(v){var y=function(){for(var e=null,t=0;t<document.styleSheets.length;t++){var n=document.styleSheets[t];if(n.cssRules){try{n.cssRules}catch(e){continue}e=n;break}}return null!=e?e:(i=document.createElement("style"),document.head.appendChild(i),i.sheet);var i}();if(void 0===y)return;var w=window.document.body.offsetWidth,x=Math.max(0,w/2-i/2),k=y.cssRules.length,E="{left:"+a.left+"px;right:auto;}";c(b.calendarContainer,"rightMost",!1),c(b.calendarContainer,"centerMost",!0),y.insertRule(".flatpickr-calendar.centerMost:before,.flatpickr-calendar.centerMost:after"+E,k),b.calendarContainer.style.left=x+"px",b.calendarContainer.style.right="auto"}else b.calendarContainer.style.left="auto",b.calendarContainer.style.right=g+"px";else b.calendarContainer.style.left=h+"px",b.calendarContainer.style.right="auto"}}}else b.config.position(b,e)}function pe(){b.config.noCalendar||b.isMobile||(Q(),Se(),Y())}function ge(){b._input.focus(),-1!==window.navigator.userAgent.indexOf("MSIE")||void 0!==navigator.msMaxTouchPoints?setTimeout(b.close,0):b.close()}function me(e){e.preventDefault(),e.stopPropagation();var t=h(p(e),(function(e){return e.classList&&e.classList.contains("flatpickr-day")&&!e.classList.contains("flatpickr-disabled")&&!e.classList.contains("notAllowed")}));if(void 0!==t){var n=t,i=b.latestSelectedDateObj=new Date(n.dateObj.getTime()),o=(i.getMonth()<b.currentMonth||i.getMonth()>b.currentMonth+b.config.showMonths-1)&&"range"!==b.config.mode;if(b.selectedDateElem=n,"single"===b.config.mode)b.selectedDates=[i];else if("multiple"===b.config.mode){var r=Ee(i);r?b.selectedDates.splice(parseInt(r),1):b.selectedDates.push(i)}else"range"===b.config.mode&&(2===b.selectedDates.length&&b.clear(!1,!1),b.latestSelectedDateObj=i,b.selectedDates.push(i),0!==k(i,b.selectedDates[0],!0)&&b.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()})));if(I(),o){var s=b.currentYear!==i.getFullYear();b.currentYear=i.getFullYear(),b.currentMonth=i.getMonth(),s&&(xe("onYearChange"),Q()),xe("onMonthChange")}if(Se(),Y(),_e(),o||"range"===b.config.mode||1!==b.config.showMonths?void 0!==b.selectedDateElem&&void 0===b.hourElement&&b.selectedDateElem&&b.selectedDateElem.focus():U(n),void 0!==b.hourElement&&void 0!==b.hourElement&&b.hourElement.focus(),b.config.closeOnSelect){var a="single"===b.config.mode&&!b.config.enableTime,l="range"===b.config.mode&&2===b.selectedDates.length&&!b.config.enableTime;(a||l)&&ge()}$()}}b.parseDate=x({config:b.config,l10n:b.l10n}),b._handlers=[],b.pluginElements=[],b.loadedPlugins=[],b._bind=H,b._setHoursFromDate=L,b._positionCalendar=fe,b.changeMonth=ee,b.changeYear=ie,b.clear=function(e,t){if(void 0===e&&(e=!0),void 0===t&&(t=!0),b.input.value="",void 0!==b.altInput&&(b.altInput.value=""),void 0!==b.mobileInput&&(b.mobileInput.value=""),b.selectedDates=[],b.latestSelectedDateObj=void 0,!0===t&&(b.currentYear=b._initialDate.getFullYear(),b.currentMonth=b._initialDate.getMonth()),!0===b.config.enableTime){var n=A(b.config);N(n.hours,n.minutes,n.seconds)}b.redraw(),e&&xe("onChange")},b.close=function(){b.isOpen=!1,b.isMobile||(void 0!==b.calendarContainer&&b.calendarContainer.classList.remove("open"),void 0!==b._input&&b._input.classList.remove("active")),xe("onClose")},b.onMouseOver=le,b._createElement=d,b.createDay=V,b.destroy=function(){void 0!==b.config&&xe("onDestroy");for(var e=b._handlers.length;e--;)b._handlers[e].remove();if(b._handlers=[],b.mobileInput)b.mobileInput.parentNode&&b.mobileInput.parentNode.removeChild(b.mobileInput),b.mobileInput=void 0;else if(b.calendarContainer&&b.calendarContainer.parentNode)if(b.config.static&&b.calendarContainer.parentNode){var t=b.calendarContainer.parentNode;if(t.lastChild&&t.removeChild(t.lastChild),t.parentNode){for(;t.firstChild;)t.parentNode.insertBefore(t.firstChild,t);t.parentNode.removeChild(t)}}else b.calendarContainer.parentNode.removeChild(b.calendarContainer);b.altInput&&(b.input.type="text",b.altInput.parentNode&&b.altInput.parentNode.removeChild(b.altInput),delete b.altInput),b.input&&(b.input.type=b.input._type,b.input.classList.remove("flatpickr-input"),b.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach((function(e){try{delete b[e]}catch(e){}}))},b.isEnabled=oe,b.jumpToDate=z,b.updateValue=_e,b.open=function(e,t){if(void 0===t&&(t=b._positionElement),!0===b.isMobile){if(e){e.preventDefault();var n=p(e);n&&n.blur()}return void 0!==b.mobileInput&&(b.mobileInput.focus(),b.mobileInput.click()),void xe("onOpen")}if(!b._input.disabled&&!b.config.inline){var i=b.isOpen;b.isOpen=!0,i||(b.calendarContainer.classList.add("open"),b._input.classList.add("active"),xe("onOpen"),fe(t)),!0===b.config.enableTime&&!0===b.config.noCalendar&&(!1!==b.config.allowInput||void 0!==e&&b.timeContainer.contains(e.relatedTarget)||setTimeout((function(){return b.hourElement.select()}),50))}},b.redraw=pe,b.set=function(e,t){if(null!==e&&"object"==typeof e)for(var i in Object.assign(b.config,e),e)void 0!==ve[i]&&ve[i].forEach((function(e){return e()}));else b.config[e]=t,void 0!==ve[e]?ve[e].forEach((function(e){return e()})):n.indexOf(e)>-1&&(b.config[e]=l(t));b.redraw(),_e(!0)},b.setDate=function(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=b.config.dateFormat),0!==e&&!e||e instanceof Array&&0===e.length)return b.clear(t);ye(e,n),b.latestSelectedDateObj=b.selectedDates[b.selectedDates.length-1],b.redraw(),z(void 0,t),L(),0===b.selectedDates.length&&b.clear(!1),_e(t),t&&xe("onChange")},b.toggle=function(e){if(!0===b.isOpen)return b.close();b.open(e)};var ve={locale:[he,J],showMonths:[Z,O,K],minDate:[z],maxDate:[z],positionElement:[we],clickOpens:[function(){!0===b.config.clickOpens?(H(b._input,"focus",b.open),H(b._input,"click",b.open)):(b._input.removeEventListener("focus",b.open),b._input.removeEventListener("click",b.open))}]};function ye(e,t){var n=[];if(e instanceof Array)n=e.map((function(e){return b.parseDate(e,t)}));else if(e instanceof Date||"number"==typeof e)n=[b.parseDate(e,t)];else if("string"==typeof e)switch(b.config.mode){case"single":case"time":n=[b.parseDate(e,t)];break;case"multiple":n=e.split(b.config.conjunction).map((function(e){return b.parseDate(e,t)}));break;case"range":n=e.split(b.l10n.rangeSeparator).map((function(e){return b.parseDate(e,t)}))}else b.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(e)));b.selectedDates=b.config.allowInvalidPreload?n:n.filter((function(e){return e instanceof Date&&oe(e,!1)})),"range"===b.config.mode&&b.selectedDates.sort((function(e,t){return e.getTime()-t.getTime()}))}function be(e){return e.slice().map((function(e){return"string"==typeof e||"number"==typeof e||e instanceof Date?b.parseDate(e,void 0,!0):e&&"object"==typeof e&&e.from&&e.to?{from:b.parseDate(e.from,void 0),to:b.parseDate(e.to,void 0)}:e})).filter((function(e){return e}))}function we(){b._positionElement=b.config.positionElement||b._input}function xe(e,t){if(void 0!==b.config){var n=b.config[e];if(void 0!==n&&n.length>0)for(var i=0;n[i]&&i<n.length;i++)n[i](b.selectedDates,b.input.value,b,t);"onChange"===e&&(b.input.dispatchEvent(ke("change")),b.input.dispatchEvent(ke("input")))}}function ke(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}function Ee(e){for(var t=0;t<b.selectedDates.length;t++){var n=b.selectedDates[t];if(n instanceof Date&&0===k(n,e))return""+t}return!1}function Se(){b.config.noCalendar||b.isMobile||!b.monthNav||(b.yearElements.forEach((function(e,t){var n=new Date(b.currentYear,b.currentMonth,1);n.setMonth(b.currentMonth+t),b.config.showMonths>1||"static"===b.config.monthSelectorType?b.monthElements[t].textContent=m(n.getMonth(),b.config.shorthandCurrentMonth,b.l10n)+" ":b.monthsDropdownContainer.value=n.getMonth().toString(),e.value=n.getFullYear().toString()})),b._hidePrevMonthArrow=void 0!==b.config.minDate&&(b.currentYear===b.config.minDate.getFullYear()?b.currentMonth<=b.config.minDate.getMonth():b.currentYear<b.config.minDate.getFullYear()),b._hideNextMonthArrow=void 0!==b.config.maxDate&&(b.currentYear===b.config.maxDate.getFullYear()?b.currentMonth+1>b.config.maxDate.getMonth():b.currentYear>b.config.maxDate.getFullYear()))}function Ce(e){var t=e||(b.config.altInput?b.config.altFormat:b.config.dateFormat);return b.selectedDates.map((function(e){return b.formatDate(e,t)})).filter((function(e,t,n){return"range"!==b.config.mode||b.config.enableTime||n.indexOf(e)===t})).join("range"!==b.config.mode?b.config.conjunction:b.l10n.rangeSeparator)}function _e(e){void 0===e&&(e=!0),void 0!==b.mobileInput&&b.mobileFormatStr&&(b.mobileInput.value=void 0!==b.latestSelectedDateObj?b.formatDate(b.latestSelectedDateObj,b.mobileFormatStr):""),b.input.value=Ce(b.config.dateFormat),void 0!==b.altInput&&(b.altInput.value=Ce(b.config.altFormat)),!1!==e&&xe("onValueUpdate")}function Ae(e){var t=p(e),n=b.prevMonthNav.contains(t),i=b.nextMonthNav.contains(t);n||i?ee(n?-1:1):b.yearElements.indexOf(t)>=0?t.select():t.classList.contains("arrowUp")?b.changeYear(b.currentYear+1):t.classList.contains("arrowDown")&&b.changeYear(b.currentYear-1)}return function(){b.element=b.input=g,b.isOpen=!1,function(){var t=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],o=e(e({},JSON.parse(JSON.stringify(g.dataset||{}))),v),r={};b.config.parseDate=o.parseDate,b.config.formatDate=o.formatDate,Object.defineProperty(b.config,"enable",{get:function(){return b.config._enable},set:function(e){b.config._enable=be(e)}}),Object.defineProperty(b.config,"disable",{get:function(){return b.config._disable},set:function(e){b.config._disable=be(e)}});var s="time"===o.mode;if(!o.dateFormat&&(o.enableTime||s)){var a=P.defaultConfig.dateFormat||i.dateFormat;r.dateFormat=o.noCalendar||s?"H:i"+(o.enableSeconds?":S":""):a+" H:i"+(o.enableSeconds?":S":"")}if(o.altInput&&(o.enableTime||s)&&!o.altFormat){var c=P.defaultConfig.altFormat||i.altFormat;r.altFormat=o.noCalendar||s?"h:i"+(o.enableSeconds?":S K":" K"):c+" h:i"+(o.enableSeconds?":S":"")+" K"}Object.defineProperty(b.config,"minDate",{get:function(){return b.config._minDate},set:de("min")}),Object.defineProperty(b.config,"maxDate",{get:function(){return b.config._maxDate},set:de("max")});var d=function(e){return function(t){b.config["min"===e?"_minTime":"_maxTime"]=b.parseDate(t,"H:i:S")}};Object.defineProperty(b.config,"minTime",{get:function(){return b.config._minTime},set:d("min")}),Object.defineProperty(b.config,"maxTime",{get:function(){return b.config._maxTime},set:d("max")}),"time"===o.mode&&(b.config.noCalendar=!0,b.config.enableTime=!0),Object.assign(b.config,r,o);for(var u=0;u<t.length;u++)b.config[t[u]]=!0===b.config[t[u]]||"true"===b.config[t[u]];for(n.filter((function(e){return void 0!==b.config[e]})).forEach((function(e){b.config[e]=l(b.config[e]||[]).map(M)})),b.isMobile=!b.config.disableMobile&&!b.config.inline&&"single"===b.config.mode&&!b.config.disable.length&&!b.config.enable&&!b.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),u=0;u<b.config.plugins.length;u++){var h=b.config.plugins[u](b)||{};for(var f in h)n.indexOf(f)>-1?b.config[f]=l(h[f]).map(M).concat(b.config[f]):void 0===o[f]&&(b.config[f]=h[f])}o.altInputClass||(b.config.altInputClass=ue().className+" "+b.config.altInputClass),xe("onParseConfig")}(),he(),b.input=ue(),b.input?(b.input._type=b.input.type,b.input.type="text",b.input.classList.add("flatpickr-input"),b._input=b.input,b.config.altInput&&(b.altInput=d(b.input.nodeName,b.config.altInputClass),b._input=b.altInput,b.altInput.placeholder=b.input.placeholder,b.altInput.disabled=b.input.disabled,b.altInput.required=b.input.required,b.altInput.tabIndex=b.input.tabIndex,b.altInput.type="text",b.input.setAttribute("type","hidden"),!b.config.static&&b.input.parentNode&&b.input.parentNode.insertBefore(b.altInput,b.input.nextSibling)),b.config.allowInput||b._input.setAttribute("readonly","readonly"),we()):b.config.errorHandler(new Error("Invalid input element specified")),function(){b.selectedDates=[],b.now=b.parseDate(b.config.now)||new Date;var e=b.config.defaultDate||("INPUT"!==b.input.nodeName&&"TEXTAREA"!==b.input.nodeName||!b.input.placeholder||b.input.value!==b.input.placeholder?b.input.value:null);e&&ye(e,b.config.dateFormat),b._initialDate=b.selectedDates.length>0?b.selectedDates[0]:b.config.minDate&&b.config.minDate.getTime()>b.now.getTime()?b.config.minDate:b.config.maxDate&&b.config.maxDate.getTime()<b.now.getTime()?b.config.maxDate:b.now,b.currentYear=b._initialDate.getFullYear(),b.currentMonth=b._initialDate.getMonth(),b.selectedDates.length>0&&(b.latestSelectedDateObj=b.selectedDates[0]),void 0!==b.config.minTime&&(b.config.minTime=b.parseDate(b.config.minTime,"H:i")),void 0!==b.config.maxTime&&(b.config.maxTime=b.parseDate(b.config.maxTime,"H:i")),b.minDateHasTime=!!b.config.minDate&&(b.config.minDate.getHours()>0||b.config.minDate.getMinutes()>0||b.config.minDate.getSeconds()>0),b.maxDateHasTime=!!b.config.maxDate&&(b.config.maxDate.getHours()>0||b.config.maxDate.getMinutes()>0||b.config.maxDate.getSeconds()>0)}(),b.utils={getDaysInMonth:function(e,t){return void 0===e&&(e=b.currentMonth),void 0===t&&(t=b.currentYear),1===e&&(t%4==0&&t%100!=0||t%400==0)?29:b.l10n.daysInMonth[e]}},b.isMobile||function(){var e=window.document.createDocumentFragment();if(b.calendarContainer=d("div","flatpickr-calendar"),b.calendarContainer.tabIndex=-1,!b.config.noCalendar){if(e.appendChild((b.monthNav=d("div","flatpickr-months"),b.yearElements=[],b.monthElements=[],b.prevMonthNav=d("span","flatpickr-prev-month"),b.prevMonthNav.innerHTML=b.config.prevArrow,b.nextMonthNav=d("span","flatpickr-next-month"),b.nextMonthNav.innerHTML=b.config.nextArrow,Z(),Object.defineProperty(b,"_hidePrevMonthArrow",{get:function(){return b.__hidePrevMonthArrow},set:function(e){b.__hidePrevMonthArrow!==e&&(c(b.prevMonthNav,"flatpickr-disabled",e),b.__hidePrevMonthArrow=e)}}),Object.defineProperty(b,"_hideNextMonthArrow",{get:function(){return b.__hideNextMonthArrow},set:function(e){b.__hideNextMonthArrow!==e&&(c(b.nextMonthNav,"flatpickr-disabled",e),b.__hideNextMonthArrow=e)}}),b.currentYearElement=b.yearElements[0],Se(),b.monthNav)),b.innerContainer=d("div","flatpickr-innerContainer"),b.config.weekNumbers){var t=function(){b.calendarContainer.classList.add("hasWeeks");var e=d("div","flatpickr-weekwrapper");e.appendChild(d("span","flatpickr-weekday",b.l10n.weekAbbreviation));var t=d("div","flatpickr-weeks");return e.appendChild(t),{weekWrapper:e,weekNumbers:t}}(),n=t.weekWrapper,i=t.weekNumbers;b.innerContainer.appendChild(n),b.weekNumbers=i,b.weekWrapper=n}b.rContainer=d("div","flatpickr-rContainer"),b.rContainer.appendChild(K()),b.daysContainer||(b.daysContainer=d("div","flatpickr-days"),b.daysContainer.tabIndex=-1),Y(),b.rContainer.appendChild(b.daysContainer),b.innerContainer.appendChild(b.rContainer),e.appendChild(b.innerContainer)}b.config.enableTime&&e.appendChild(function(){b.calendarContainer.classList.add("hasTime"),b.config.noCalendar&&b.calendarContainer.classList.add("noCalendar");var e=A(b.config);b.timeContainer=d("div","flatpickr-time"),b.timeContainer.tabIndex=-1;var t=d("span","flatpickr-time-separator",":"),n=f("flatpickr-hour",{"aria-label":b.l10n.hourAriaLabel});b.hourElement=n.getElementsByTagName("input")[0];var i=f("flatpickr-minute",{"aria-label":b.l10n.minuteAriaLabel});if(b.minuteElement=i.getElementsByTagName("input")[0],b.hourElement.tabIndex=b.minuteElement.tabIndex=-1,b.hourElement.value=r(b.latestSelectedDateObj?b.latestSelectedDateObj.getHours():b.config.time_24hr?e.hours:function(e){switch(e%24){case 0:case 12:return 12;default:return e%12}}(e.hours)),b.minuteElement.value=r(b.latestSelectedDateObj?b.latestSelectedDateObj.getMinutes():e.minutes),b.hourElement.setAttribute("step",b.config.hourIncrement.toString()),b.minuteElement.setAttribute("step",b.config.minuteIncrement.toString()),b.hourElement.setAttribute("min",b.config.time_24hr?"0":"1"),b.hourElement.setAttribute("max",b.config.time_24hr?"23":"12"),b.hourElement.setAttribute("maxlength","2"),b.minuteElement.setAttribute("min","0"),b.minuteElement.setAttribute("max","59"),b.minuteElement.setAttribute("maxlength","2"),b.timeContainer.appendChild(n),b.timeContainer.appendChild(t),b.timeContainer.appendChild(i),b.config.time_24hr&&b.timeContainer.classList.add("time24hr"),b.config.enableSeconds){b.timeContainer.classList.add("hasSeconds");var o=f("flatpickr-second");b.secondElement=o.getElementsByTagName("input")[0],b.secondElement.value=r(b.latestSelectedDateObj?b.latestSelectedDateObj.getSeconds():e.seconds),b.secondElement.setAttribute("step",b.minuteElement.getAttribute("step")),b.secondElement.setAttribute("min","0"),b.secondElement.setAttribute("max","59"),b.secondElement.setAttribute("maxlength","2"),b.timeContainer.appendChild(d("span","flatpickr-time-separator",":")),b.timeContainer.appendChild(o)}return b.config.time_24hr||(b.amPM=d("span","flatpickr-am-pm",b.l10n.amPM[s((b.latestSelectedDateObj?b.hourElement.value:b.config.defaultHour)>11)]),b.amPM.title=b.l10n.toggleTitle,b.amPM.tabIndex=-1,b.timeContainer.appendChild(b.amPM)),b.timeContainer}()),c(b.calendarContainer,"rangeMode","range"===b.config.mode),c(b.calendarContainer,"animate",!0===b.config.animate),c(b.calendarContainer,"multiMonth",b.config.showMonths>1),b.calendarContainer.appendChild(e);var o=void 0!==b.config.appendTo&&void 0!==b.config.appendTo.nodeType;if((b.config.inline||b.config.static)&&(b.calendarContainer.classList.add(b.config.inline?"inline":"static"),b.config.inline&&(!o&&b.element.parentNode?b.element.parentNode.insertBefore(b.calendarContainer,b._input.nextSibling):void 0!==b.config.appendTo&&b.config.appendTo.appendChild(b.calendarContainer)),b.config.static)){var a=d("div","flatpickr-wrapper");b.element.parentNode&&b.element.parentNode.insertBefore(a,b.element),a.appendChild(b.element),b.altInput&&a.appendChild(b.altInput),a.appendChild(b.calendarContainer)}b.config.static||b.config.inline||(void 0!==b.config.appendTo?b.config.appendTo:window.document.body).appendChild(b.calendarContainer)}(),function(){if(b.config.wrap&&["open","close","toggle","clear"].forEach((function(e){Array.prototype.forEach.call(b.element.querySelectorAll("[data-"+e+"]"),(function(t){return H(t,"click",b[e])}))})),b.isMobile)!function(){var e=b.config.enableTime?b.config.noCalendar?"time":"datetime-local":"date";b.mobileInput=d("input",b.input.className+" flatpickr-mobile"),b.mobileInput.tabIndex=1,b.mobileInput.type=e,b.mobileInput.disabled=b.input.disabled,b.mobileInput.required=b.
vendor: 1,749 bytes, line 1
1input.required,b.mobileInput.placeholder=b.input.placeholder,b.mobileFormatStr="datetime-local"===e?"Y-m-d\\TH:i:S":"date"===e?"Y-m-d":"H:i:S",b.selectedDates.length>0&&(b.mobileInput.defaultValue=b.mobileInput.value=b.formatDate(b.selectedDates[0],b.mobileFormatStr)),b.config.minDate&&(b.mobileInput.min=b.formatDate(b.config.minDate,"Y-m-d")),b.config.maxDate&&(b.mobileInput.max=b.formatDate(b.config.maxDate,"Y-m-d")),b.input.getAttribute("step")&&(b.mobileInput.step=String(b.input.getAttribute("step"))),b.input.type="hidden",void 0!==b.altInput&&(b.altInput.type="hidden");try{b.input.parentNode&&b.input.parentNode.insertBefore(b.mobileInput,b.input.nextSibling)}catch(e){}H(b.mobileInput,"change",(function(e){b.setDate(p(e).value,!1,b.mobileFormatStr),xe("onChange"),xe("onClose")}))}();else{var e=a(ce,50);if(b._debouncedChange=a($,T),b.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&H(b.daysContainer,"mouseover",(function(e){"range"===b.config.mode&&le(p(e))})),H(b._input,"keydown",ae),void 0!==b.calendarContainer&&H(b.calendarContainer,"keydown",ae),b.config.inline||b.config.static||H(window,"resize",e),void 0!==window.ontouchstart?H(window.document,"touchstart",ne):H(window.document,"mousedown",ne),H(window.document,"focus",ne,{capture:!0}),!0===b.config.clickOpens&&(H(b._input,"focus",b.open),H(b._input,"click",b.open)),void 0!==b.daysContainer&&(H(b.monthNav,"click",Ae),H(b.monthNav,["keyup","increment"],j),H(b.daysContainer,"click",me)),void 0!==b.timeContainer&&void 0!==b.minuteElement&&void 0!==b.hourElement){H(b.timeContainer,["increment"],R),H(b.timeContainer,"blur",R,{capture:!0}),H(b.timeContainer,"click",B),H([b.hourElement,b.minuteElement],["focus","click"],(function(e){return p(e).select()}
1)),void 0!==b.secondElement&&H(b.secondElement,"focus",(function(){return b.secondElement&&b.secondElement.select()})),void 0!==b.amPM&&H(b.amPM,"click",(function(e){R(e)}))}b.config.allowInput&&H(b._input,"blur",se)}}(),(b.selectedDates.length||b.config.noCalendar)&&(b.config.enableTime&&L(b.config.noCalendar?b.latestSelectedDateObj:void 0),_e(!1)),O();var t=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!b.isMobile&&t&&fe(),xe("onReady")}(),b}function M(e,t){for(var n=Array.prototype.slice.call(e).filter((function(e){return e instanceof HTMLElement})),i=[],o=0;o<n.length;o++){var r=n[o];try{if(null!==r.getAttribute("data-fp-omit"))continue;void 0!==r._flatpickr&&(r._flatpickr.destroy(),r._flatpickr=void 0),r._flatpickr=D(r,t||{}),i.push(r._flatpickr)}catch(e){console.error(e)}}return 1===i.length?i[0]:i}"undefined"!=typeof HTMLElement&&"undefined"!=typeof HTMLCollection&&"undefined"!=typeof NodeList&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(e){return M(this,e)},HTMLElement.prototype.flatpickr=function(e){return M([this],e)});var P=function(e,t){return"string"==typeof e?M(window.document.querySelectorAll(e),t):e instanceof Node?M([e],t):M(e,t)};return P.defaultConfig={},P.l10ns={en:e({},o),default:e({},o)},P.localize=function(t){P.l10ns.default=e(e({},P.l10ns.default),t)},P.setDefaults=function(t){P.defaultConfig=e(e({},P.defaultConfig),t)},P.parseDate=x({}),P.formatDate=w({}),P.compareDates=k,"undefined"!=typeof jQuery&&void 0!==jQuery.fn&&(jQuery.fn.flatpickr=function(e){return M(this,e)}),Date.prototype.fp_incr=function(e){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+("string"==typeof e?parseInt(e,10):e))},"undefined"!=typeof window&&(window.flatpickr=P),P})),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).tr={})}(this,(function(e){"use strict";var t="undefined"!=typeof window&&void 0!==window.flatpickr?window.flatpickr:{l10ns:{}},n={weekdays:{shorthand:["Paz","Pzt","Sal","Ãar","Per","Cum","Cmt"],longhand:["Pazar","Pazartesi","Salı","ÃarÅamba","PerÅembe","Cuma","Cumartesi"]},months:{shorthand:["Oca","Åub","Mar","Nis","May","Haz","Tem","AÄu","Eyl","Eki","Kas","Ara"],longhand:["Ocak","Åubat","Mart","Nisan","Mayıs","Haziran","Temmuz","AÄustos","Eylül","Ekim","Kasım","Aralık"]},firstDayOfWeek:1,ordinal:function(){return"."},rangeSeparator:" - ",weekAbbreviation:"Hf",scrollTitle:"Artırmak için kaydırın",toggleTitle:"Aç/Kapa",amPM:["ÃÃ","ÃS"],time_24hr:!0};t.l10ns.tr=n;var i=t.l10ns;e.Turkish=n,e.default=i,Object.defineProperty(e,"__esModule",{value:!0})}));var FullCalendar=function(e){"use strict";var t,n,i,o,r,s,a,l,c,d={},u=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i;function f(e,t){for(var n in t)e[n]=t[n];return e}function p(e){var t=e.parentNode;t&&t.removeChild(e)}function g(e,n,i){var o,r,s,a={};for(s in n)"key"==s?o=n[s]:"ref"==s?r=n[s]:a[s]=n[s];if(arguments.length>2&&(a.children=arguments.length>3?t.call(arguments,2):i),"function"==typeof e&&null!=e.defaultProps)for(s in e.defaultProps)void 0===a[s]&&(a[s]=e.defaultProps[s]);return m(e,a,o,r,null)}function m(e,t,o,r,s){var a={type:e,props:t,key:o,ref:r,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,__h:null,constructor:void 0,__v:null==s?++i:s};return null==s&&null!=n.vnode&&n.vnode(a),a}function v(e){return e.children}function y(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||h.test(t)?n:n+"px"}function b(e,t,n,i,o){var r;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof i&&(e.style.cssText=i=""),i)for(t in i)n&&t in n||y(e.style,t,"");if(n)for(t in n)i&&n[t]===i[t]||y(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])r=t!==(t=t.replace(/Capture$/,"")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+r]=n,n?i||e.addEventListener(t,r?x:w,r):e.removeEventListener(t,r?x:w,r);else if("dangerouslySetInnerHTML"!==t){if(o)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&-1==t.indexOf("-")?e.removeAttribute(t):e.setAttribute(t,n))}}function w(e){r=!0;try{return this.l[e.type+!1](n.event?n.event(e):e)}finally{r=!1}}function x(e){r=!0;try{return this.l[e.type+!0](n.event?n.event(e):e)}finally{r=!1}}function k(e,t){this.props=e,this.context=t}function E(e,t){if(null==t)return e.__?E(e.__,e.__.__k.indexOf(e)+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?E(e):null}function S(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return S(e)}}function C(e){r?setTimeout(e):l(e)}function _(e){(!e.__d&&(e.__d=!0)&&s.push(e)&&!A.__r++||a!==n.debounceRendering)&&((a=n.debounceRendering)||C)(A)}function A(){var e,t,n,i,o,r,a,l;for(s.sort((function(e,t){return e.__v.__b-t.__v.__b}));e=s.shift();)e.__d&&(t=s.length,i=void 0,o=void 0,a=(r=(n=e).__v).__e,(l=n.__P)&&(i=[],(o=f({},r)).__v=r.__v+1,R(l,r,o,n.__n,void 0!==l.ownerSVGElement,null!=r.__h?[a]:null,i,null==a?E(r):a,r.__h),I(i,r),r.__e!=a&&S(r)),s.length>t&&s.sort((function(e,t){return e.__v.__b-t.__v.__b})));A.__r=0}function T(e,t,n,i,o,r,s,a,l,c){var h,f,p,g,y,b,w,x=i&&i.__k||u,k=x.length;
vendor: 14,442 bytes, line 1
1for(n.__k=[],h=0;h<t.length;h++)if(null!=(g=n.__k[h]=null==(g=t[h])||"boolean"==typeof g?null:"string"==typeof g||"number"==typeof g||"bigint"==typeof g?m(null,g,null,null,g):Array.isArray(g)?m(v,{children:g},null,null,null):g.__b>0?m(g.type,g.props,g.key,g.ref?g.ref:null,g.__v):g)){if(g.__=n,g.__b=n.__b+1,null===(p=x[h])||p&&g.key==p.key&&g.type===p.type)x[h]=void 0;else for(f=0;f<k;f++){if((p=x[f])&&g.key==p.key&&g.type===p.type){x[f]=void 0;break}p=null}R(e,g,p=p||d,o,r,s,a,l,c),y=g.__e,(f=g.ref)&&p.ref!=f&&(w||(w=[]),p.ref&&w.push(p.ref,null,g),w.push(f,g.__c||y,g)),null!=y?(null==b&&(b=y),"function"==typeof g.type&&g.__k===p.__k?g.__d=l=D(g,l,e):l=P(e,g,p,x,y,l),"function"==typeof n.type&&(n.__d=l)):l&&p.__e==l&&l.parentNode!=e&&(l=E(p))}for(n.__e=b,h=k;h--;)null!=x[h]&&("function"==typeof n.type&&null!=x[h].__e&&x[h].__e==n.__d&&(n.__d=O(i).nextSibling),j(x[h],x[h]));if(w)for(h=0;h<w.length;h++)N(w[h],w[++h],w[++h])}function D(e,t,n){for(var i,o=e.__k,r=0;o&&r<o.length;r++)(i=o[r])&&(i.__=e,t="function"==typeof i.type?D(i,t,n):P(n,i,i,o,i.__e,t));return t}function M(e,t){return t=t||[],null==e||"boolean"==typeof e||(Array.isArray(e)?e.some((function(e){M(e,t)})):t.push(e)),t}function P(e,t,n,i,o,r){var s,a,l;if(void 0!==t.__d)s=t.__d,t.__d=void 0;else if(null==n||o!=r||null==o.parentNode)e:if(null==r||r.parentNode!==e)e.appendChild(o),s=null;else{for(a=r,l=0;(a=a.nextSibling)&&l<i.length;l+=1)if(a==o)break e;e.insertBefore(o,r),s=r}return void 0!==s?s:o.nextSibling}function O(e){var t,n,i;if(null==e.type||"string"==typeof e.type)return e.__e;if(e.__k)for(t=e.__k.length-1;t>=0;t--)if((n=e.__k[t])&&(i=O(n)))return i;return null}function R(e,t,i,o,r,s,a,l,c){var d,u,h,p,g,m,y,b,w,x,E,S,C,_,A,D=t.type;if(void 0!==t.constructor)return null;null!=i.__h&&(c=i.__h,l=t.__e=i.__e,t.__h=null,s=[l]),(d=n.__b)&&d(t);try{e:if("function"==typeof D){if(b=t.props,w=(d=D.contextType)&&o[d.__c],x=d?w?w.props.value:d.__:o,i.__c?y=(u=t.__c=i.__c).__=u.__E:("prototype"in D&&D.prototype.render?t.__c=u=new D(b,x):(t.__c=u=new k(b,x),u.constructor=D,u.render=H),w&&w.sub(u),u.props=b,u.state||(u.state={}),u.context=x,u.__n=o,h=u.__d=!0,u.__h=[],u._sb=[]),null==u.__s&&(u.__s=u.state),null!=D.getDerivedStateFromProps&&(u.__s==u.state&&(u.__s=f({},u.__s)),f(u.__s,D.getDerivedStateFromProps(b,u.__s))),p=u.props,g=u.state,u.__v=t,h)null==D.getDerivedStateFromProps&&null!=u.componentWillMount&&u.componentWillMount(),null!=u.componentDidMount&&u.__h.push(u.componentDidMount);else{if(null==D.getDerivedStateFromProps&&b!==p&&null!=u.componentWillReceiveProps&&u.componentWillReceiveProps(b,x),!u.__e&&null!=u.shouldComponentUpdate&&!1===u.shouldComponentUpdate(b,u.__s,x)||t.__v===i.__v){for(t.__v!==i.__v&&(u.props=b,u.state=u.__s,u.__d=!1),t.__e=i.__e,t.__k=i.__k,t.__k.forEach((function(e){e&&(e.__=t)})),E=0;E<u._sb.length;E++)u.__h.push(u._sb[E]);u._sb=[],u.__h.length&&a.push(u);break e}null!=u.componentWillUpdate&&u.componentWillUpdate(b,u.__s,x),null!=u.componentDidUpdate&&u.__h.push((function(){u.componentDidUpdate(p,g,m)}))}if(u.context=x,u.props=b,u.__P=e,S=n.__r,C=0,"prototype"in D&&D.prototype.render){for(u.state=u.__s,u.__d=!1,S&&S(t),d=u.render(u.props,u.state,u.context),_=0;_<u._sb.length;_++)u.__h.push(u._sb[_]);u._sb=[]}else do{u.__d=!1,S&&S(t),d=u.render(u.props,u.state,u.context),u.state=u.__s}while(u.__d&&++C<25);u.state=u.__s,null!=u.getChildContext&&(o=f(f({},o),u.getChildContext())),h||null==u.getSnapshotBeforeUpdate||(m=u.getSnapshotBeforeUpdate(p,g)),A=null!=d&&d.type===v&&null==d.key?d.props.children:d,T(e,Array.isArray(A)?A:[A],t,i,o,r,s,a,l,c),u.base=t.__e,t.__h=null,u.__h.length&&a.push(u),y&&(u.__E=u.__=null),u.__e=!1}else null==s&&t.__v===i.__v?(t.__k=i.__k,t.__e=i.__e):t.__e=L(i.__e,t,i,o,r,s,a,c);(d=n.diffed)&&d(t)}catch(e){t.__v=null,(c||null!=s)&&(t.__e=l,t.__h=!!c,s[s.indexOf(l)]=null),n.__e(e,t,i)}}function I(e,t){n.__c&&n.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){n.__e(e,t.__v)}}))}function L(e,n,i,o,r,s,a,l){var c,u,h,f=i.props,g=n.props,m=n.type,v=0;if("svg"===m&&(r=!0),null!=s)for(;v<s.length;v++)if((c=s[v])&&"setAttribute"in c==!!m&&(m?c.localName===m:3===c.nodeType)){e=c,s[v]=null;break}if(null==e){if(null===m)return document.createTextNode(g);e=r?document.createElementNS("http://www.w3.org/2000/svg",m):document.createElement(m,g.is&&g),s=null,l=!1}if(null===m)f===g||l&&e.data===g||(e.data=g);else{if(s=s&&t.call(e.childNodes),u=(f=i.props||d).dangerouslySetInnerHTML,h=g.dangerouslySetInnerHTML,!l){if(null!=s)for(f={},v=0;v<e.attributes.length;v++)f[e.attributes[v].name]=e.attributes[v].value;(h||u)&&(h&&(u&&h.__html==u.__html||h.__html===e.innerHTML)||(e.innerHTML=h&&h.__html||""))}if(function(e,t,n,i,o){var r;for(r in n)"children"===r||"key"===r||r in t||b(e,r,null,n[r],i);for(r in t)o&&"function"!=typeof t[r]||"children"===r||"key"===r||"value"===r||"checked"===r||n[r]===t[r]||b(e,r,t[r],n[r],i)}(e,g,f,r,l),h)n.__k=[];else if(v=n.props.children,T(e,Array.isArray(v)?v:[v],n,i,o,r&&"foreignObject"!==m,s,a,s?s[0]:i.__k&&E(i,0),l),null!=s)for(v=s.length;v--;)null!=s[v]&&p(s[v]);l||("value"in g&&void 0!==(v=g.value)&&(v!==e.value||"progress"===m&&!v||"option"===m&&v!==f.value)&&b(e,"value",v,f.value,!1),"checked"in g&&void 0!==(v=g.checked)&&v!==e.checked&&b(e,"checked",v,f.checked,!1))}return e}function N(e,t,i){try{"function"==typeof e?e(t):e.current=t}catch(e){n.__e(e,i)}}function j(e,t,i){var o,r;if(n.unmount&&n.unmount(e),(o=e.ref)&&(o.current&&o.current!==e.__e||N(o,null,t)),null!=(o=e.__c)){if(o.componentWillUnmount)try{o.componentWillUnmount()}catch(e){n.__e(e,t)}o.base=o.__P=null,e.__c=void 0}if(o=e.__k)for(r=0;r<o.length;r++)o[r]&&j(o[r],t,i||"function"!=typeof e.type);i||null==e.__e||p(e.__e),e.__=e.__e=e.__d=void 0}function H(e,t,n){return this.constructor(e,n)}function $(e,i,o){var r,s,a;n.__&&n.__(e,i),s=(r="function"==typeof o)?null:o&&o.__k||i.__k,a=[],R(i,e=(!r&&o||i).__k=g(v,null,[e]),s||d,d,void 0!==i.ownerSVGElement,!r&&o?[o]:s?null:i.firstChild?t.call(i.childNodes):null,a,!r&&o?o:s?s.__e:i.firstChild,r),I(a,e)}t=u.slice,n={__e:function(e,t,n,i){for(var o,r,s;t=t.__;)if((o=t.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(e)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,i||{}),s=o.__d),s)return o.__E=o}catch(t){e=t}throw e}},i=0,o=function(e){return null!=e&&void 0===e.constructor},r=!1,k.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=f({},this.state),"function"==typeof e&&(e=e(f({},n),this.props)),e&&f(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),_(this))},k.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),_(this))},k.prototype.render=v,s=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,A.__r=0,c=0;var z,B,F,V=[],U=[],W=n.__b,q=n.__r,G=n.diffed,Y=n.__c,Q=n.unmount;function X(){for(var e;e=V.shift();)if(e.__P&&e.__H)try{e.__H.__h.forEach(J),e.__H.__h.forEach(ee),e.__H.__h=[]}catch(t){e.__H.__h=[],n.__e(t,e.__v)}}n.__b=function(e){z=null,W&&W(e)},n.__r=function(e){q&&q(e);var t=(z=e.__c).__H;t&&(B===z?(t.__h=[],z.__h=[],t.__.forEach((function(e){e.__N&&(e.__=e.__N),e.__V=U,e.__N=e.i=void 0}))):(t.__h.forEach(J),t.__h.forEach(ee),t.__h=[])),B=z},n.diffed=function(e){G&&G(e);var t=e.__c;t&&t.__H&&(t.__H.__h.length&&(1!==V.push(t)&&F===n.requestAnimationFrame||((F=n.requestAnimationFrame)||K)(X)),t.__H.__.forEach((function(e){e.i&&(e.__H=e.i),e.__V!==U&&(e.__=e.__V),e.i=void 0,e.__V=U}))),B=z=null},n.__c=function(e,t){t.some((function(e){try{e.__h.forEach(J),e.__h=e.__h.filter((function(e){return!e.__||ee(e)}))}catch(i){t.some((function(e){e.__h&&(e.__h=[])})),t=[],n.__e(i,e.__v)}})),Y&&Y(e,t)},n.unmount=function(e){Q&&Q(e);var t,i=e.__c;i&&i.__H&&(i.__H.__.forEach((function(e){try{J(e)}catch(e){t=e}})),i.__H=void 0,t&&n.__e(t,i.__v))};var Z="function"==typeof requestAnimationFrame;function K(e){var t,n=function(){clearTimeout(i),Z&&cancelAnimationFrame(t),setTimeout(e)},i=setTimeout(n,100);Z&&(t=requestAnimationFrame(n))}function J(e){var t=z,n=e.__c;"function"==typeof n&&(e.__c=void 0,n()),z=t}function ee(e){var t=z;e.__c=e.__(),z=t}function te(e,t){for(var n in e)if("__source"!==n&&!(n in t))return!0;for(var i in t)if("__source"!==i&&e[i]!==t[i])return!0;return!1}function ne(e){this.props=e}(ne.prototype=new k).isPureReactComponent=!0,ne.prototype.shouldComponentUpdate=function(e,t){return te(this.props,e)||te(this.state,t)};var ie=n.__b;n.__b=function(e){e.type&&e.type.__f&&e.ref&&(e.props.ref=e.ref,e.ref=null),ie&&ie(e)};var oe=n.__e;n.__e=function(e,t,n,i){if(e.then)for(var o,r=t;r=r.__;)if((o=r.__c)&&o.__c)return null==t.__e&&(t.__e=n.__e,t.__k=n.__k),o.__c(e,t);oe(e,t,n,i)};var re=n.unmount;function se(e,t,n){return e&&(e.__c&&e.__c.__H&&(e.__c.__H.__.forEach((function(e){"function"==typeof e.__c&&e.__c()})),e.__c.__H=null),null!=(e=function(e,t){for(var n in t)e[n]=t[n];return e}({},e)).__c&&(e.__c.__P===n&&(e.__c.__P=t),e.__c=null),e.__k=e.__k&&e.__k.map((function(e){return se(e,t,n)}))),e}function ae(e,t,n){return e&&(e.__v=null,e.__k=e.__k&&e.__k.map((function(e){return ae(e,t,n)})),e.__c&&e.__c.__P===t&&(e.__e&&n.insertBefore(e.__e,e.__d),e.__c.__e=!0,e.__c.__P=n)),e}function le(){this.__u=0,this.t=null,this.__b=null}function ce(e){var t=e.__.__c;return t&&t.__a&&t.__a(e)}function de(){this.u=null,this.o=null}n.unmount=function(e){var t=e.__c;t&&t.__R&&t.__R(),t&&!0===e.__h&&(e.type=null),re&&re(e)},(le.prototype=new k).__c=function(e,t){var n=t.__c,i=this;null==i.t&&(i.t=[]),i.t.push(n);var o=ce(i.__v),r=!1,s=function(){r||(r=!0,n.__R=null,o?o(a):a())};n.__R=s;var a=function(){if(!--i.__u){if(i.state.__a){var e=i.state.__a;i.__v.__k[0]=ae(e,e.__c.__P,e.__c.__O)}var t;for(i.setState({__a:i.__b=null});t=i.t.pop();)t.forceUpdate()}},l=!0===t.__h;i.__u++||l||i.setState({__a:i.__b=i.__v.__k[0]}),e.then(s,s)},le.prototype.componentWillUnmount=function(){this.t=[]},le.prototype.render=function(e,t){if(this.__b){if(this.__v.__k){var n=document.createElement("div"),i=this.__v.__k[0].__c;this.__v.__k[0]=se(this.__b,n,i.__O=i.__P)}this.__b=null}var o=t.__a&&g(v,null,e.fallback);return o&&(o.__h=null),[g(v,null,t.__a?null:e.children),o]};var ue=function(e,t,n){if(++n[1]===n[0]&&e.o.delete(t),e.props.revealOrder&&("t"!==e.props.revealOrder[0]||!e.o.size))for(n=e.u;n;){for(;n.length>3;)n.pop()();if(n[1]<n[0])break;e.u=n=n[2]}};function he(e){return this.getChildContext=function(){return e.context},e.children}function fe(e){var t=this,n=e.i;t.componentWillUnmount=function(){$(null,t.l),t.l=null,t.i=null},t.i&&t.i!==n&&t.componentWillUnmount(),e.__v?(t.l||(t.i=n,t.l={nodeType:1,parentNode:n,childNodes:[],appendChild:function(e){this.childNodes.push(e),t.i.appendChild(e)},insertBefore:function(e,n){this.childNodes.push(e),t.i.appendChild(e)},removeChild:function(e){this.childNodes.splice(this.childNodes.indexOf(e)>>>1,1),t.i.removeChild(e)}}),$(g(he,{context:t.context},e.__v),t.l)):t.l&&t.componentWillUnmount()}function pe(e,t){var n=g(fe,{__v:e,i:t});return n.containerInfo=t,n}(de.prototype=new k).__a=function(e){var t=this,n=ce(t.__v),i=t.o.get(e);return i[0]++,function(o){var r=function(){t.props.revealOrder?(i.push(o),ue(t,e,i)):o()};n?n(r):r()}},de.prototype.render=function(e){this.u=null,this.o=new Map;var t=M(e.children);e.revealOrder&&"b"===e.revealOrder[0]&&t.reverse();for(var n=t.length;n--;)this.o.set(t[n],this.u=[1,0,this.u]);return e.children},de.prototype.componentDidUpdate=de.prototype.componentDidMount=function(){var e=this;this.o.forEach((function(t,n){ue(e,n,t)}))};var ge="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,me=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,ve="undefined"!=typeof document,ye=function(e){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/i:/fil|che|ra/i).test(e)};k.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(e){Object.defineProperty(k.prototype,e,{configurable:!0,get:function(){return this["UNSAFE_"+e]},set:function(t){Object.defineProperty(this,e,{configurable:!0,writable:!0,value:t})}})}));var be=n.event;function we(){}function xe(){return this.cancelBubble}function ke(){return this.defaultPrevented}n.event=function(e){return be&&(e=be(e)),e.persist=we,e.isPropagationStopped=xe,e.isDefaultPrevented=ke,e.nativeEvent=e};var Ee={configurable:!0,get:function(){return this.class}},Se=n.vnode;n.vnode=function(e){var t=e.type,n=e.props,i=n;if("string"==typeof t){var o=-1===t.indexOf("-");for(var r in i={},n){var s=n[r];ve&&"children"===r&&"noscript"===t||"value"===r&&"defaultValue"in n&&null==s||("defaultValue"===r&&"value"in n&&null==n.value?r="value":"download"===r&&!0===s?s="":/ondoubleclick/i.test(r)?r="ondblclick":/^onchange(textarea|input)/i.test(r+t)&&!ye(n.type)?r="oninput":/^onfocus$/i.test(r)?r="onfocusin":/^onblur$/i.test(r)?r="onfocusout":/^on(Ani|Tra|Tou|BeforeInp|Compo)/.test(r)?r=r.toLowerCase():o&&me.test(r)?r=r.replace(/[A-Z0-9]/g,"-$&").toLowerCase():null===s&&(s=void 0),/^oninput$/i.test(r)&&(r=r.toLowerCase(),i[r]&&(r="oninputCapture")),i[r]=s)}"select"==t&&i.multiple&&Array.isArray(i.value)&&(i.value=M(n.children).forEach((function(e){e.props.selected=-1!=i.value.indexOf(e.props.value)}))),"select"==t&&null!=i.defaultValue&&(i.value=M(n.children).forEach((function(e){e.props.selected=i.multiple?-1!=i.defaultValue.indexOf(e.props.value):i.defaultValue==e.props.value}))),e.props=i,n.class!=n.className&&(Ee.enumerable="className"in n,null!=n.className&&(i.class=n.className),Object.defineProperty(i,"className",Ee))}e.$$typeof=ge,Se&&Se(e)};var Ce=n.__r;n.__r=function(e){Ce&&Ce(e),e.__c};const _e=[],Ae=new Map;function Te(e){_e.push(e),Ae.forEach((t=>{Me(t,e)}))}function De(e){let t=Ae.get(e);if(!t||!t.isConnected){if(t=e.querySelector("style[data-fullcalendar]"),!t){t=document.createElement("style"),t.setAttribute("data-fullcalendar","");const n=(void 0===Pe&&(Pe=function(){const e=document.querySelector('meta[name="csp-nonce"]');if(e&&e.hasAttribute("content"))return e.getAttribute("content");
1const t=document.querySelector("script[nonce]");return t&&t.nonce||""}()),Pe);n&&(t.nonce=n);const i=e===document?document.head:e,o=e===document?i.querySelector("script,link[rel=stylesheet],link[as=style],style"):i.firstChild;i.insertBefore(t,o)}Ae.set(e,t),function(e){for(const t of _e)Me(e,t)}(t)}}function Me(e,t){const{sheet:n}=e,i=n.cssRules.length;t.split("}").forEach(((e,t)=>{(e=e.trim())&&n.insertRule(e+"}",i+t)}))}let Pe;function Oe(e){e.parentNode&&e.parentNode.removeChild(e)}function Re(e,t){if(e.closest)return e.closest(t);if(!document.documentElement.contains(e))return null;do{if(Ie(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function Ie(e,t){return(e.matches||e.matchesSelector||e.msMatchesSelector).call(e,t)}function Le(e,t){let n=e instanceof HTMLElement?[e]:e,i=[];for(let e=0;e<n.length;e+=1){let o=n[e].querySelectorAll(t);for(let e=0;e<o.length;e+=1)i.push(o[e])}return i}"undefined"!=typeof document&&De(document),Te(':root{--fc-small-font-size:.85em;--fc-page-bg-color:#fff;--fc-neutral-bg-color:hsla(0,0%,82%,.3);--fc-neutral-text-color:grey;--fc-border-color:#ddd;--fc-button-text-color:#fff;--fc-button-bg-color:#2c3e50;--fc-button-border-color:#2c3e50;--fc-button-hover-bg-color:#1e2b37;--fc-button-hover-border-color:#1a252f;--fc-button-active-bg-color:#1a252f;--fc-button-active-border-color:#151e27;--fc-event-bg-color:#3788d8;--fc-event-border-color:#3788d8;--fc-event-text-color:#fff;--fc-event-selected-overlay-color:rgba(0,0,0,.25);--fc-more-link-bg-color:#d0d0d0;--fc-more-link-text-color:inherit;--fc-event-resizer-thickness:8px;--fc-event-resizer-dot-total-width:8px;--fc-event-resizer-dot-border-width:1px;--fc-non-business-color:hsla(0,0%,84%,.3);--fc-bg-event-color:#8fdf82;--fc-bg-event-opacity:0.3;--fc-highlight-color:rgba(188,232,241,.3);--fc-today-bg-color:rgba(255,220,40,.15);--fc-now-indicator-color:red}.fc-not-allowed,.fc-not-allowed .fc-event{cursor:not-allowed}.fc{display:flex;flex-direction:column;font-size:1em}.fc,.fc *,.fc :after,.fc :before{box-sizing:border-box}.fc table{border-collapse:collapse;border-spacing:0;font-size:1em}.fc th{text-align:center}.fc td,.fc th{padding:0;vertical-align:top}.fc a[data-navlink]{cursor:pointer}.fc a[data-navlink]:hover{text-decoration:underline}.fc-direction-ltr{direction:ltr;text-align:left}.fc-direction-rtl{direction:rtl;text-align:right}.fc-theme-standard td,.fc-theme-standard th{border:1px solid var(--fc-border-color)}.fc-liquid-hack td,.fc-liquid-hack th{position:relative}@font-face{font-family:fcicons;font-style:normal;font-weight:400;src:url("data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMg8SBfAAAAC8AAAAYGNtYXAXVtKNAAABHAAAAFRnYXNwAAAAEAAAAXAAAAAIZ2x5ZgYydxIAAAF4AAAFNGhlYWQUJ7cIAAAGrAAAADZoaGVhB20DzAAABuQAAAAkaG10eCIABhQAAAcIAAAALGxvY2ED4AU6AAAHNAAAABhtYXhwAA8AjAAAB0wAAAAgbmFtZXsr690AAAdsAAABhnBvc3QAAwAAAAAI9AAAACAAAwPAAZAABQAAApkCzAAAAI8CmQLMAAAB6wAzAQkAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADpBgPA/8AAQAPAAEAAAAABAAAAAAAAAAAAAAAgAAAAAAADAAAAAwAAABwAAQADAAAAHAADAAEAAAAcAAQAOAAAAAoACAACAAIAAQAg6Qb//f//AAAAAAAg6QD//f//AAH/4xcEAAMAAQAAAAAAAAAAAAAAAQAB//8ADwABAAAAAAAAAAAAAgAANzkBAAAAAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAWIAjQKeAskAEwAAJSc3NjQnJiIHAQYUFwEWMjc2NCcCnuLiDQ0MJAz/AA0NAQAMJAwNDcni4gwjDQwM/wANIwz/AA0NDCMNAAAAAQFiAI0CngLJABMAACUBNjQnASYiBwYUHwEHBhQXFjI3AZ4BAA0N/wAMJAwNDeLiDQ0MJAyNAQAMIw0BAAwMDSMM4uINIwwNDQAAAAIA4gC3Ax4CngATACcAACUnNzY0JyYiDwEGFB8BFjI3NjQnISc3NjQnJiIPAQYUHwEWMjc2NCcB87e3DQ0MIw3VDQ3VDSMMDQ0BK7e3DQ0MJAzVDQ3VDCQMDQ3zuLcMJAwNDdUNIwzWDAwNIwy4twwkDA0N1Q0jDNYMDA0jDAAAAgDiALcDHgKeABMAJwAAJTc2NC8BJiIHBhQfAQcGFBcWMjchNzY0LwEmIgcGFB8BBwYUFxYyNwJJ1Q0N1Q0jDA0Nt7cNDQwjDf7V1Q0N1QwkDA0Nt7cNDQwkDLfWDCMN1Q0NDCQMt7gMIw0MDNYMIw3VDQ0MJAy3uAwjDQwMAAADAFUAAAOrA1UAMwBoAHcAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMhMjY1NCYjISIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAAVYRGRkR/qoRGRkRA1UFBAUOCQkVDAsZDf2rDRkLDBUJCA4FBQU
1FBQUOCQgVDAsZDQJVDRkLDBUJCQ4FBAVVAgECBQMCBwQECAX9qwQJAwQHAwMFAQICAgIBBQMDBwQDCQQCVQUIBAQHAgMFAgEC/oAZEhEZGRESGQAAAAADAFUAAAOrA1UAMwBoAIkAABMiBgcOAQcOAQcOARURFBYXHgEXHgEXHgEzITI2Nz4BNz4BNz4BNRE0JicuAScuAScuASMFITIWFx4BFx4BFx4BFREUBgcOAQcOAQcOASMhIiYnLgEnLgEnLgE1ETQ2Nz4BNz4BNz4BMxMzFRQWMzI2PQEzMjY1NCYrATU0JiMiBh0BIyIGFRQWM9UNGAwLFQkJDgUFBQUFBQ4JCRULDBgNAlYNGAwLFQkJDgUFBQUFBQ4JCRULDBgN/aoCVgQIBAQHAwMFAQIBAQIBBQMDBwQECAT9qgQIBAQHAwMFAQIBAQIBBQMDBwQECASAgBkSEhmAERkZEYAZEhIZgBEZGREDVQUEBQ4JCRUMCxkN/asNGQsMFQkIDgUFBQUFBQ4JCBUMCxkNAlUNGQsMFQkJDgUEBVUCAQIFAwIHBAQIBf2rBAkDBAcDAwUBAgICAgEFAwMHBAMJBAJVBQgEBAcCAwUCAQL+gIASGRkSgBkSERmAEhkZEoAZERIZAAABAOIAjQMeAskAIAAAExcHBhQXFjI/ARcWMjc2NC8BNzY0JyYiDwEnJiIHBhQX4uLiDQ0MJAzi4gwkDA0N4uINDQwkDOLiDCQMDQ0CjeLiDSMMDQ3h4Q0NDCMN4uIMIw0MDOLiDAwNIwwAAAABAAAAAQAAa5n0y18PPPUACwQAAAAAANivOVsAAAAA2K85WwAAAAADqwNVAAAACAACAAAAAAAAAAEAAAPA/8AAAAQAAAAAAAOrAAEAAAAAAAAAAAAAAAAAAAALBAAAAAAAAAAAAAAAAgAAAAQAAWIEAAFiBAAA4gQAAOIEAABVBAAAVQQAAOIAAAAAAAoAFAAeAEQAagCqAOoBngJkApoAAQAAAAsAigADAAAAAAACAAAAAAAAAAAAAAAAAAAAAAAAAA4ArgABAAAAAAABAAcAAAABAAAAAAACAAcAYAABAAAAAAADAAcANgABAAAAAAAEAAcAdQABAAAAAAAFAAsAFQABAAAAAAAGAAcASwABAAAAAAAKABoAigADAAEECQABAA4ABwADAAEECQACAA4AZwADAAEECQADAA4APQADAAEECQAEAA4AfAADAAEECQAFABYAIAADAAEECQAGAA4AUgADAAEECQAKADQApGZjaWNvbnMAZgBjAGkAYwBvAG4Ac1ZlcnNpb24gMS4wAFYAZQByAHMAaQBvAG4AIAAxAC4AMGZjaWNvbnMAZgBjAGkAYwBvAG4Ac2ZjaWNvbnMAZgBjAGkAYwBvAG4Ac1JlZ3VsYXIAUgBlAGcAdQBsAGEAcmZjaWNvbnMAZgBjAGkAYwBvAG4Ac0ZvbnQgZ2VuZXJhdGVkIGJ5IEljb01vb24uAEYAbwBuAHQAIABnAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEkAYwBvAE0AbwBvAG4ALgAAAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=") format("truetype")}.fc-icon{speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;display:inline-block;font-family:fcicons!important;font-style:normal;font-variant:normal;font-weight:400;height:1em;line-height:1;text-align:center;text-transform:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;width:1em}.fc-icon-chevron-left:before{content:"\\e900"}.fc-icon-chevron-right:before{content:"\\e901"}.fc-icon-chevrons-left:before{content:"\\e902"}.fc-icon-chevrons-right:before{content:"\\e903"}.fc-icon-minus-square:before{content:"\\e904"}.fc-icon-plus-square:before{content:"\\e905"}.fc-icon-x:before{content:"\\e906"}.fc .fc-button{border-radius:0;font-family:inherit;font-size:inherit;line-height:inherit;margin:0;overflow:visible;text-transform:none}.fc .fc-button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.fc .fc-button{-webkit-appearance:button}.fc .fc-button:not(:disabled){cursor:pointer}.fc .fc-button{background-color:transparent;border:1px solid transparent;border-radius:.25em;display:inline-block;font-size:1em;font-weight:400;line-height:1.5;padding:.4em .65em;text-align:center;-webkit-user-select:none;-moz-user-select:none;user-select:none;vertical-align:middle}.fc .fc-button:hover{text-decoration:none}.fc .fc-button:focus{box-shadow:0 0 0 .2rem rgba(44,62,80,.25);outline:0}.fc .fc-button:disabled{opacity:.65}.fc .fc-button-primary{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:hover{background-color:var(--fc-button-hover-bg-color);border-color:var(--fc-button-hover-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:disabled{background-color:var(--fc-button-bg-color);border-color:var(--fc-button-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button-primary:not(:disabled).fc-button-active,.fc .fc-button-primary:not(:disabled):active{background-color:var(--fc-button-active-bg-color);border-color:var(--fc-button-active-border-color);color:var(--fc-button-text-color)}.fc .fc-button-primary:not(:disabled).fc-button-active:focus,.fc .fc-button-primary:not(:disabled):active:focus{box-shadow:0 0 0 .2rem rgba(76,91,106,.5)}.fc .fc-button .fc-icon{font-size:1.5em;vertical-align:middle}.fc .fc-button-group{display:inline-flex;position:relative;vertical-align:middle}.fc .fc-button-group>.fc-button{flex:1 1 auto;position:relative}.fc .fc-button-group>.fc-button.fc-button-active,.fc .fc-button-group>.fc-button:active,.fc .fc-button-group>.fc-button:focus,.fc .fc-button-group>.fc-button:hover{z-index:1}.fc-direction-ltr .fc-button-group>.fc-button:not(:first-child){border-bottom-left-radius:0;border-top-left-radius:0;margin-left:-1px}.fc-direction-ltr .fc-button-group>.fc-button:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}.fc-direction-rtl .fc-button-group>.fc-button:not(:first-child){border-bottom-right-radius:0;border-top-right-radius:0;margin-right:-1px}.fc-direction-rtl .fc-button-group>.fc-button:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}.fc .fc-toolbar{align-items:center;display:flex;justify-content:space-between}.fc .fc-toolbar.fc-header-toolbar{margin-bottom:1.5em}.fc .fc-toolbar.fc-footer-toolbar{margin-top:1.5em}.fc .fc-toolbar-title{font-size:1.75em;margin:0}.fc-direction-ltr .fc-toolbar>*>:not(:first-child){margin-left:.75em}.fc-direction-rtl .fc-toolbar>*>:not(:first-child){margin-right:.75em}.fc-direction-rtl .fc-toolbar-ltr{flex-direction:row-reverse}.fc .fc-scroller{-webkit-overflow-scrolling:touch;position:relative}.fc .fc-scroller-liquid{height:100%}.fc .fc-scroller-liquid-absolute{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-scroller-harness{direction:ltr;overflow:hidden;position:relative}.fc .fc-scroller-harness-liquid{height:100%}.fc-direction-rtl .fc-scroller-harness>.fc-scroller{direction:rtl}.fc-theme-standard .fc-scrollgrid{border:1px solid var(--fc-border-color)}.fc .fc-scrollgrid,.fc .fc-scrollgrid table{table-layout:fixed;width:100%}.fc .fc-scrollgrid table{border-left-style:hidden;border-right-style:hidden;border-top-style:hidden}.fc .fc-scrollgrid{border-bottom-width:0;border-collapse:separate;border-right-width:0}.fc .fc-scrollgrid-liquid{height:100%}.fc .fc-scrollgrid-section,.fc .fc-scrollgrid-section table,.fc .fc-scrollgrid-section>td{height:1px}.fc .fc-scrollgrid-section-liquid>td{height:100%}.fc .fc-scrollgrid-section>*{border-left-width:0;border-top-width:0}.fc .fc-scrollgrid-section-footer>*,.fc .fc-scrollgrid-section-header>*{border-bottom-width:0}.fc .fc-scrollgrid-section-body table,.fc .fc-scrollgrid-section-footer table{border-bottom-style:hidden}.fc .fc-scrollgrid-section-sticky>*{background:var(--fc-page-bg-color);position:sticky;z-index:3}.fc .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:0}.fc .fc-scrollgrid-section-footer.fc-scrollgrid-section-sticky>*{bottom:0}.fc .fc-scrollgrid-sticky-shim{height:1px;margin-bottom:-1px}.fc-sticky{position:sticky}.fc .fc-view-harness{flex-grow:1;position:relative}.fc .fc-view-harness-active>.fc-view{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-col-header-cell-cushion{display:inline-block;padding:2px 4px}.fc .fc-bg-event,.fc .fc-highlight,.fc .fc-non-business{bottom:0;left:0;position:absolute;right:0;top:0}.fc .fc-non-business{background:var(--fc-non-business-color)}.fc .fc-bg-event{background:var(--fc-bg-event-color);opacity:var(--fc-bg-event-opacity)}.fc .fc-bg-event .fc-event-title{font-size:var(--fc-small-font-size);font-style:italic;margin:.5em}.fc .fc-highlight{background:var(--fc-highlight-color)}.fc .fc-cell-shaded,.fc .fc-day-disabled{background:var(--fc-neutral-bg-color)}a.fc-event,a.fc-event:hover{text-decoration:none}.fc-event.fc-event-draggable,.fc-event[href]{cursor:pointer}.fc-event .fc-event-main{position:relative;z-index:2}.fc-event-dragging:not(.fc-event-selected){opacity:.75}.fc-event-dragging.fc-event-selected{box-shadow:0 2px 7px rgba(0,0,0,.3)}.fc-event .fc-event-resizer{display:none;position:absolute;z-index:4}.fc-event-selected .fc-event-resizer,.fc-event:hover .fc-event-resizer{display:block}.fc-event-selected .fc-event-resizer{background:var(--fc-page-bg-color);border-color:inherit;border-radius:calc(var(--fc-event-resizer-dot-total-width)/2);border-style:solid;border-width:var(--fc-event-resizer-dot-border-width);height:var(--fc-event-resizer-dot-total-width);width:var(--fc-event-resizer-dot-total-width)}.fc-event-selected .fc-event-resizer:before{bottom:-20px;content:"";left:-20px;position:absolute;right:-20px;top:-20px}.fc-event-selected,.fc-event:focus{box-shadow:0 2px 5px rgba(0,0,0,.2)}.fc-event-selected:before,.fc-event:focus:before{bottom:0;content:"";left:0;position:absolute;right:0;top:0;z-index:3}.fc-event-selected:after,.fc-event:focus:after{background:var(--fc-event-selected-overlay-color);bottom:-1px;content:"";left:-1px;position:absolute;right:-1px;top:-1px;z-index:1}.fc-h-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-h-event .fc-event-main{color:var(--fc-event-text-color)}.fc-h-event .fc-event-main-frame{display:flex}.fc-h-event .fc-event-time{max-width:100%;overflow:hidden}.fc-h-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-width:0}.fc-h-event .fc-event-title{display:inline-block;left:0;max-width:100%;overflow:hidden;right:0;vertical-align:top}.fc-h-event.fc-event-selected:before{bottom:-10px;top:-10px}
1.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-start),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-end){border-bottom-left-radius:0;border-left-width:0;border-top-left-radius:0}.fc-direction-ltr .fc-daygrid-block-event:not(.fc-event-end),.fc-direction-rtl .fc-daygrid-block-event:not(.fc-event-start){border-bottom-right-radius:0;border-right-width:0;border-top-right-radius:0}.fc-h-event:not(.fc-event-selected) .fc-event-resizer{bottom:0;top:0;width:var(--fc-event-resizer-thickness)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end{cursor:w-resize;left:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-direction-ltr .fc-h-event:not(.fc-event-selected) .fc-event-resizer-end,.fc-direction-rtl .fc-h-event:not(.fc-event-selected) .fc-event-resizer-start{cursor:e-resize;right:calc(var(--fc-event-resizer-thickness)*-.5)}.fc-h-event.fc-event-selected .fc-event-resizer{margin-top:calc(var(--fc-event-resizer-dot-total-width)*-.5);top:50%}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-start,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-end{left:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc-direction-ltr .fc-h-event.fc-event-selected .fc-event-resizer-end,.fc-direction-rtl .fc-h-event.fc-event-selected .fc-event-resizer-start{right:calc(var(--fc-event-resizer-dot-total-width)*-.5)}.fc .fc-popover{box-shadow:0 2px 6px rgba(0,0,0,.15);position:absolute;z-index:9999}.fc .fc-popover-header{align-items:center;display:flex;flex-direction:row;justify-content:space-between;padding:3px 4px}.fc .fc-popover-title{margin:0 2px}.fc .fc-popover-close{cursor:pointer;font-size:1.1em;opacity:.65}.fc-theme-standard .fc-popover{background:var(--fc-page-bg-color);border:1px solid var(--fc-border-color)}.fc-theme-standard .fc-popover-header{background:var(--fc-neutral-bg-color)}');const Ne=/(top|left|right|bottom|width|height)$/i;function je(e,t){for(let n in t)He(e,n,t[n])}function He(e,t,n){null==n?e.style[t]="":"number"==typeof n&&Ne.test(t)?e.style[t]=`${n}px`:e.style[t]=n}function $e(e){var t,n;return null!==(n=null===(t=e.composedPath)||void 0===t?void 0:t.call(e)[0])&&void 0!==n?n:e.target}let ze=0;function Be(){return ze+=1,"fc-dom-"+ze}function Fe(e){e.preventDefault()}function Ve(e,t,n,i){let o=function(e,t){return n=>{let i=Re(n.target,e);i&&t.call(i,n,i)}}(n,i);return e.addEventListener(t,o),()=>{e.removeEventListener(t,o)}}const Ue=["webkitTransitionEnd","otransitionend","oTransitionEnd","msTransitionEnd","transitionend"];function We(e,t){let n=i=>{t(i),Ue.forEach((t=>{e.removeEventListener(t,n)}
vendor: 6,891 bytes, line 1
1))};Ue.forEach((t=>{e.addEventListener(t,n)}))}function qe(e){return Object.assign({onClick:e},Ge(e))}function Ge(e){return{tabIndex:0,onKeyDown(t){"Enter"!==t.key&&" "!==t.key||(e(t),t.preventDefault())}}}let Ye=0;function Qe(){return Ye+=1,String(Ye)}function Xe(){document.body.classList.add("fc-not-allowed")}function Ze(){document.body.classList.remove("fc-not-allowed")}function Ke(e){e.style.userSelect="none",e.addEventListener("selectstart",Fe)}function Je(e){e.style.userSelect="",e.removeEventListener("selectstart",Fe)}function et(e){e.addEventListener("contextmenu",Fe)}function tt(e){e.removeEventListener("contextmenu",Fe)}function nt(e){let t,n,i=[],o=[];for("string"==typeof e?o=e.split(/\s*,\s*/):"function"==typeof e?o=[e]:Array.isArray(e)&&(o=e),t=0;t<o.length;t+=1)n=o[t],"string"==typeof n?i.push("-"===n.charAt(0)?{field:n.substring(1),order:-1}:{field:n,order:1}):"function"==typeof n&&i.push({func:n});return i}function it(e,t,n){let i,o;for(i=0;i<n.length;i+=1)if(o=ot(e,t,n[i]),o)return o;return 0}function ot(e,t,n){return n.func?n.func(e,t):rt(e[n.field],t[n.field])*(n.order||1)}function rt(e,t){return e||t?null==t?-1:null==e?1:"string"==typeof e||"string"==typeof t?String(e).localeCompare(String(t)):e-t:0}function st(e,t){let n=String(e);return"000".substr(0,t-n.length)+n}function at(e,t,n){return"function"==typeof e?e(...t):"string"==typeof e?t.reduce(((e,t,n)=>e.replace("$"+n,t||"")),e):n}function lt(e,t){return e-t}function ct(e){return e%1==0}function dt(e){let t=e.querySelector(".fc-scrollgrid-shrink-frame"),n=e.querySelector(".fc-scrollgrid-shrink-cushion");if(!t)throw new Error("needs fc-scrollgrid-shrink-frame className");if(!n)throw new Error("needs fc-scrollgrid-shrink-cushion className");return e.getBoundingClientRect().width-t.getBoundingClientRect().width+n.getBoundingClientRect().width}const ut=["years","months","days","milliseconds"],ht=/^(-?)(?:(\d+)\.)?(\d+):(\d\d)(?::(\d\d)(?:\.(\d\d\d))?)?/;function ft(e,t){return"string"==typeof e?function(e){let t=ht.exec(e);if(t){let e=t[1]?-1:1;return{years:0,months:0,days:e*(t[2]?parseInt(t[2],10):0),milliseconds:e*(60*(t[3]?parseInt(t[3],10):0)*60*1e3+60*(t[4]?parseInt(t[4],10):0)*1e3+1e3*(t[5]?parseInt(t[5],10):0)+(t[6]?parseInt(t[6],10):0))}}return null}(e):"object"==typeof e&&e?pt(e):"number"==typeof e?pt({[t||"milliseconds"]:e}):null}function pt(e){let t={years:e.years||e.year||0,months:e.months||e.month||0,days:e.days||e.day||0,milliseconds:60*(e.hours||e.hour||0)*60*1e3+60*(e.minutes||e.minute||0)*1e3+1e3*(e.seconds||e.second||0)+(e.milliseconds||e.millisecond||e.ms||0)},n=e.weeks||e.week;return n&&(t.days+=7*n,t.specifiedWeeks=!0),t}function gt(e,t){return{years:e.years+t.years,months:e.months+t.months,days:e.days+t.days,milliseconds:e.milliseconds+t.milliseconds}}function mt(e,t){return{years:e.years*t,months:e.months*t,days:e.days*t,milliseconds:e.milliseconds*t}}function vt(e){return yt(e)/864e5}function yt(e){return 31536e6*e.years+2592e6*e.months+864e5*e.days+e.milliseconds}function bt(e,t){let n=null;for(let i=0;i<ut.length;i+=1){let o=ut[i];if(t[o]){let i=e[o]/t[o];if(!ct(i)||null!==n&&n!==i)return null;n=i}else if(e[o])return null}return n}function wt(e){let t=e.milliseconds;if(t){if(t%1e3!=0)return{unit:"millisecond",value:t};if(t%6e4!=0)return{unit:"second",value:t/1e3};if(t%36e5!=0)return{unit:"minute",value:t/6e4};if(t)return{unit:"hour",value:t/36e5}}return e.days?e.specifiedWeeks&&e.days%7==0?{unit:"week",value:e.days/7}:{unit:"day",value:e.days}:e.months?{unit:"month",value:e.months}:e.years?{unit:"year",value:e.years}:{unit:"millisecond",value:0}}const{hasOwnProperty:xt}=Object.prototype;function kt(e,t){let n={};if(t)for(let i in t)if(t[i]===Cn){let t=[];for(let o=e.length-1;o>=0;o-=1){let r=e[o][i];if("object"==typeof r&&r)t.unshift(r);else if(void 0!==r){n[i]=r;break}}t.length&&(n[i]=kt(t))}for(let t=e.length-1;t>=0;t-=1){let i=e[t];for(let e in i)e in n||(n[e]=i[e])}return n}function Et(e,t){let n={};for(let i in e)t(e[i],i)&&(n[i]=e[i]);return n}function St(e,t){let n={};for(let i in e)n[i]=t(e[i],i);return n}function Ct(e){let t={};for(let n of e)t[n]=!0;return t}function _t(e){let t=[];for(let n in e)t.push(e[n]);return t}function At(e,t){if(e===t)return!0;for(let n in e)if(xt.call(e,n)&&!(n in t))return!1;for(let n in t)if(xt.call(t,n)&&e[n]!==t[n])return!1;return!0}const Tt=/^on[A-Z]/;function Dt(e,t){let n=[];for(let i in e)xt.call(e,i)&&(i in t||n.push(i));for(let i in t)xt.call(t,i)&&e[i]!==t[i]&&n.push(i);return n}function Mt(e,t,n={}){if(e===t)return!0;for(let i in t)if(!(i in e)||!Pt(e[i],t[i],n[i]))return!1;for(let n in e)if(!(n in t))return!1;return!0}function Pt(e,t,n){return e===t||!0===n||!!n&&n(e,t)}function Ot(e,t=0,n,i=1){let o=[];null==n&&(n=Object.keys(e).length);for(let r=t;r<n;r+=i){let t=e[r];void 0!==t&&o.push(t)}return o}function Rt(e,t,n){if(e===t)return!0;let i,o=e.length;if(o!==t.length)return!1;for(i=0;i<o;i+=1)if(!(n?n(e[i],t[i]):e[i]===t[i]))return!1;return!0}const It=["sun","mon","tue","wed","thu","fri","sat"];function Lt(e,t){let n=Yt(e);return n[2]+=7*t,Qt(n)}function Nt(e,t){let n=Yt(e);return n[2]+=t,Qt(n)}function jt(e,t){let n=Yt(e);return n[6]+=t,Qt(n)}function Ht(e,t){return $t(e,t)/7}function $t(e,t){return(t.valueOf()-e.valueOf())/864e5}function zt(e,t){let n=Vt(e),i=Vt(t);return{years:0,months:0,days:Math.round($t(n,i)),milliseconds:t.valueOf()-i.valueOf()-(e.valueOf()-n.valueOf())}}function Bt(e,t){let n=Ft(e,t);return null!==n&&n%7==0?n/7:null}function Ft(e,t){return Zt(e)===Zt(t)?Math.round($t(e,t)):null}function Vt(e){return Qt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()])}function Ut(e,t,n,i){let o=Qt([t,0,1+Wt(t,n,i)]),r=Vt(e),s=Math.round($t(o,r));return Math.floor(s/7)+1}function Wt(e,t,n){let i=7+t-n;return-(7+Qt([e,0,i]).getUTCDay()-t)%7+i-1}function qt(e){return[e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()]}function Gt(e){return new Date(e[0],e[1]||0,null==e[2]?1:e[2],e[3]||0,e[4]||0,e[5]||0)}function Yt(e){return[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()]}function Qt(e){return 1===e.length&&(e=e.concat([0])),new Date(Date.UTC(...e))}function Xt(e){return!isNaN(e.valueOf())}function Zt(e){return 1e3*e.getUTCHours()*60*60+1e3*e.getUTCMinutes()*60+1e3*e.getUTCSeconds()+e.getUTCMilliseconds()}function Kt(e,t,n=!1){let i=e.toISOString();return i=i.replace(".000",""),n&&(i=i.replace("T00:00:00Z","")),i.length>10&&(null==t?i=i.replace("Z",""):0!==t&&(i=i.replace("Z",nn(t,!0)))),i}function Jt(e){return e.toISOString().replace(/T.*$/,"")}function en(e){return e.toISOString().match(/^\d{4}-\d{2}/)[0]}function tn(e){return st(e.getUTCHours(),2)+":"+st(e.getUTCMinutes(),2)+":"+st(e.getUTCSeconds(),2)}function nn(e,t=!1){let n=e<0?"-":"+",i=Math.abs(e),o=Math.floor(i/60),r=M
1ath.round(i%60);return t?`${n+st(o,2)}:${st(r,2)}`:`GMT${n}${o}${r?`:${st(r,2)}`:""}`}function on(e,t,n){let i,o;return function(...r){if(i){if(!Rt(i,r)){n&&n(o);let i=e.apply(this,r);t&&t(i,o)||(o=i)}}else o=e.apply(this,r);return i=r,o}}function rn(e,t,n){let i,o;return r=>{if(i){if(!At(i,r)){n&&n(o);let i=e.call(this,r);t&&t(i,o)||(o=i)}}else o=e.call(this,r);return i=r,o}}const sn={week:3,separator:0,omitZeroMinute:0,meridiem:0,omitCommas:0},an={timeZoneName:7,era:6,year:5,month:4,day:2,weekday:2,hour:1,minute:1,second:1},ln=/\s*([ap])\.?m\.?/i,cn=/,/g,dn=/\s+/g,un=/\u200e/g,hn=/UTC|GMT/;class fn{constructor(e){let t={},n={},i=0;for(let o in e)o in sn?(n[o]=e[o],i=Math.max(sn[o],i)):(t[o]=e[o],o in an&&(i=Math.max(an[o],i)));this.standardDateProps=t,this.extendedSettings=n,this.severity=i,this.buildFormattingFunc=on(pn)}format(e,t){return this.buildFormattingFunc(this.standardDateProps,this.extendedSettings,t)(e)}formatRange(e,t,n,i){let{standardDateProps:o,extendedSettings:r}=this,s=function(e,t,n){return n.getMarkerYear(e)!==n.getMarkerYear(t)?5:n.getMarkerMonth(e)!==n.getMarkerMonth(t)?4:n.getMarkerDay(e)!==n.getMarkerDay(t)?2:Zt(e)!==Zt(t)?1:0}(e.marker,t.marker,n.calendarSystem);if(!s)return this.format(e,n);let a=s;!(a>1)||"numeric"!==o.year&&"2-digit"!==o.year||"numeric"!==o.month&&"2-digit"!==o.month||"numeric"!==o.day&&"2-digit"!==o.day||(a=1);let l=this.format(e,n),c=this.format(t,n);if(l===c)return l;let d=pn(function(e,t){let n={};for(let i in e)(!(i in an)||an[i]<=t)&&(n[i]=e[i]);return n}(o,a),r,n),u=d(e),h=d(t),f=function(e,t,n,i){let o=0;for(;o<e.length;){let r=e.indexOf(t,o);if(-1===r)break;let s=e.substr(0,r);o=r+t.length;let a=e.substr(o),l=0;for(;l<n.length;){let e=n.indexOf(i,l);if(-1===e)break;let t=n.substr(0,e);l=e+i.length;let o=n.substr(l);if(s===t&&a===o)return{before:s,after:a}}}return null}(l,u,c,h),p=r.separator||i||n.defaultSeparator||"";return f?f.before+u+p+h+f.after:l+p+c}getLargestUnit(){switch(this.severity){case 7:case 6:case 5:return"year";case 4:return"month";case 3:return"week";case 2:return"day";default:return"time"}}}function pn(e,t,n){let i=Object.keys(e).length;return 1===i&&"short"===e.timeZoneName?e=>nn(e.timeZoneOffset):0===i&&t.week?e=>function(e,t,n,i,o){let r=[];return"long"===o?r.push(n):"short"!==o&&"narrow"!==o||r.push(t),"long"!==o&&"short"!==o||r.push(" "),r.push(i.simpleNumberFormat.format(e)),"rtl"===i.options.direction&&r.reverse(),r.join("")}(n.computeWeekNumber(e.marker),n.weekText,n.weekTextLong,n.locale,t.week):function(e,t,n){e=Object.assign({},e),t=Object.assign({},t),function(e,t){e.timeZoneName&&(e.hour||(e.hour="2-digit"),e.minute||(e.minute="2-digit")),"long"===e.timeZoneName&&(e.timeZoneName="short"),t.omitZeroMinute&&(e.second||e.millisecond)&&delete t.omitZeroMinute}(e,t),e.timeZone="UTC";let i,o=new Intl.DateTimeFormat(n.locale.codes,e);if(t.omitZeroMinute){let t=Object.assign({},e);delete t.minute,i=new Intl.DateTimeFormat(n.locale.codes,t)}return r=>{let s,{marker:a}=r;return s=i&&!a.getUTCMinutes()?i:o,function(e,t,n,i,o){return e=e.replace(un,""),"short"===n.timeZoneName&&(e=function(e,t){let n=!1;return e=e.replace(hn,(()=>(n=!0,t))),n||(e+=` ${t}`),e}(e,"UTC"===o.timeZone||null==t.timeZoneOffset?"UTC":nn(t.timeZoneOffset))),i.omitCommas&&(e=e.replace(cn,"").trim()),i.omitZeroMinute&&(e=e.replace(":00","")),!1===i.meridiem?e=e.replace(ln,"").trim():"narrow"===i.meridiem?e=e.replace(ln,((e,t)=>t.toLocaleLowerCase())):"short"===i.meridiem?e=e.replace(ln,((e,t)=>`${t.toLocaleLowerCase()}m`)):"lowercase"===i.meridiem&&(e=e.replace(ln,(e=>e.toLocaleLowerCase()))),e=(e=e.replace(dn," ")).trim()}(s.format(a),r,e,t,n)}}(e,t,n)}function gn(e,t){let n=t.markerToArray(e.marker);return{marker:e.marker,timeZoneOffset:e.timeZoneOffset,array:n,year:n[0],month:n[1],day:n[2],hour:n[3],minute:n[4],second:n[5],millisecond:n[6]}}function mn(e,t,n,i){let o=gn(e,n.calendarSystem);return{date:o,start:o,end:t?gn(t,n.calendarSystem):null,timeZone:n.timeZone,localeCodes:n.locale.codes,defaultSeparator:i||n.defaultSeparator}}class vn{constructor(e){this.cmdStr=e}format(e,t,n){return t.cmdFormatter(this.cmdStr,mn(e,null,t,n))}formatRange(e,t,n,i){return n.cmdFormatter(this.cmdStr,mn(e,t,n,i))}}class yn{constructor(e){this.func=e}format(e,t,n){return this.func(mn(e,null,t,n))}formatRange(e,t,n,i){return this.func(mn(e,t,n,i))}}function bn(e){return"object"==typeof e&&e?new fn(e):"string"==typeof e?new vn(e):"function"==typeof e?new yn(e):null}const wn={navLinkDayClick:Mn,navLinkWeekClick:Mn,duration:ft,bootstrapFontAwesome:Mn,buttonIcons:Mn,customButtons:Mn,defaultAllDayEventDuration:ft,defaultTimedEventDuration:ft,nextDayThreshold:ft,scrollTime:ft,scrollTimeReset:Boolean,slotMinTime:ft,slotMaxTime:ft,dayPopoverFormat:bn,slotDuration:ft,snapDuration:ft,headerToolbar:Mn,footerToolbar:Mn,defaultRangeSeparator:String,titleRangeSeparator:String,forceEventDuration:Boolean,dayHeaders:Boolean,dayHeaderFormat:bn,dayHeaderClassNames:Mn,dayHeaderContent:Mn,dayHeaderDidMount:Mn,dayHeaderWillUnmount:Mn,dayCellClassNames:Mn,dayCellContent:Mn,dayCellDidMount:Mn,dayCellWillUnmount:Mn,initialView:String,aspectRatio:Number,weekends:Boolean,weekNumberCalculation:Mn,weekNumbers:Boolean,weekNumberClassNames:Mn,weekNumberContent:Mn,weekNumberDidMount:Mn,weekNumberWillUnmount:Mn,editable:Boolean,viewClassNames:Mn,viewDidMount:Mn,viewWillUnmount:Mn,nowIndicator:Boolean,nowIndicatorClassNames:Mn,nowIndicatorContent:Mn,nowIndicatorDidMount:Mn,nowIndicatorWillUnmount:Mn,showNonCurrentDates:Boolean,lazyFetching:Boolean,startParam:String,endParam:String,timeZoneParam:String,timeZone:String,locales:Mn,locale:Mn,themeSystem:String,dragRevertDuration:Number,dragScroll:Boolean,allDayMaintainDuration:Boolean,unselectAuto:Boolean,dropAccept:Mn,eventOrder:nt,eventOrderStrict:Boolean,handleWindowResize:Boolean,windowResizeDelay:Number,longPressDelay:Number,eventDragMinDistance:Number,expandRows:Boolean,height:Mn,contentHeight:Mn,direction:String,weekNumberFormat:bn,eventResizableFromStart:Boolean,displayEventTime:Boolean,displayEventEnd:Boolean,weekText:String,weekTextLong:String,progressiveEventRendering:Boolean,businessHours:Mn,initialDate:Mn,now:Mn,eventDataTransform:Mn,stickyHeaderDates:Mn,stickyFooterScrollbar:Mn,viewHeight:Mn,defaultAllDay:Boolean,eventSourceFailure:Mn,eventSourceSuccess:Mn,eventDisplay:String,eventStartEditable:Boolean,eventDurationEditable:Boolean,eventOverlap:Mn,eventConstraint:Mn,eventAllow:Mn,eventBackgroun
1dColor:String,eventBorderColor:String,eventTextColor:String,eventColor:String,eventClassNames:Mn,eventContent:Mn,eventDidMount:Mn,eventWillUnmount:Mn,selectConstraint:Mn,selectOverlap:Mn,selectAllow:Mn,droppable:Boolean,unselectCancel:String,slotLabelFormat:Mn,slotLaneClassNames:Mn,slotLaneContent:Mn,slotLaneDidMount:Mn,slotLaneWillUnmount:Mn,slotLabelClassNames:Mn,slotLabelContent:Mn,slotLabelDidMount:Mn,slotLabelWillUnmount:Mn,dayMaxEvents:Mn,dayMaxEventRows:Mn,dayMinWidth:Number,slotLabelInterval:ft,allDayText:String,allDayClassNames:Mn,allDayContent:Mn,allDayDidMount:Mn,allDayWillUnmount:Mn,slotMinWidth:Number,navLinks:Boolean,eventTimeFormat:bn,rerenderDelay:Number,moreLinkText:Mn,moreLinkHint:Mn,selectMinDistance:Number,selectable:Boolean,selectLongPressDelay:Number,eventLongPressDelay:Number,selectMirror:Boolean,eventMaxStack:Number,eventMinHeight:Number,eventMinWidth:Number,eventShortHeight:Number,slotEventOverlap:Boolean,plugins:Mn,firstDay:Number,dayCount:Number,dateAlignment:String,dateIncrement:ft,hiddenDays:Mn,fixedWeekCount:Boolean,validRange:Mn,visibleRange:Mn,titleFormat:Mn,eventInteractive:Boolean,noEventsText:String,viewHint:Mn,navLinkHint:Mn,closeHint:String,timeHint:String,eventHint:String,moreLinkClick:Mn,moreLinkClassNames:Mn,moreLinkContent:Mn,moreLinkDidMount:Mn,moreLinkWillUnmount:Mn,monthStartFormat:bn,handleCustomRendering:Mn,customRenderingMetaMap:Mn,customRenderingReplacesEl:Boolean},xn={eventDisplay:"auto",defaultRangeSeparator:" - ",titleRangeSeparator:" â ",defaultTimedEventDuration:"01:00:00",defaultAllDayEventDuration:{day:1},forceEventDuration:!1,nextDayThreshold:"00:00:00",dayHeaders:!0,initialView:"",aspectRatio:1.35,headerToolbar:{start:"title",center:"",end:"today prev,next"},weekends:!0,weekNumbers:!1,weekNumberCalculation:"local",editable:!1,nowIndicator:!1,scrollTime:"06:00:00",scrollTimeReset:!0,slotMinTime:"00:00:00",slotMaxTime:"24:00:00",showNonCurrentDates:!0,lazyFetching:!0,startParam:"start",endParam:"end",timeZoneParam:"timeZone",timeZone:"local",locales:[],locale:"",themeSystem:"standard",dragRevertDuration:500,dragScroll:!0,allDayMaintainDuration:!1,unselectAuto:!0,dropAccept:"*",eventOrder:"start,-duration,allDay,title",dayPopoverFormat:{month:"long",day:"numeric",year:"numeric"},handleWindowResize:!0,windowResizeDelay:100,longPressDelay:1e3,eventDragMinDistance:5,expandRows:!1,navLinks:!1,selectable:!1,eventMinHeight:15,eventMinWidth:30,eventShortHeight:30,monthStartFormat:{month:"long",day:"numeric"}},kn={datesSet:Mn,eventsSet:Mn,eventAdd:Mn,eventChange:Mn,eventRemove:Mn,windowResize:Mn,eventClick:Mn,eventMouseEnter:Mn,eventMouseLeave:Mn,select:Mn,unselect:Mn,loading:Mn,_unmount:Mn,_beforeprint:Mn,_afterprint:Mn,_noEventDrop:Mn,_noEventResize:Mn,_resize:Mn,_scrollRequest:Mn},En={buttonText:Mn,buttonHints:Mn,views:Mn,plugins:Mn,initialEvents:Mn,events:Mn,eventSources:Mn},Sn={headerToolbar:Cn,footerToolbar:Cn,buttonText:Cn,buttonHints:Cn,buttonIcons:Cn,dateIncrement:Cn,plugins:_n,events:_n,eventSources:_n,resources:_n};function Cn(e,t){return"object"==typeof e&&"object"==typeof t&&e&&t?At(e,t):e===t}function _n(e,t){return Array.isArray(e)&&Array.isArray(t)?Rt(e,t):e===t}const An={type:String,component:Mn,buttonText:String,buttonTextKey:String,dateProfileGeneratorClass:Mn,usesMinMaxTime:Boolean,classNames:Mn,content:Mn,didMount:Mn,willUnmount:Mn};function Tn(e){return kt(e,Sn)}function Dn(e,t){let n={},i={};for(let i in t)i in e&&(n[i]=t[i](e[i]));for(let n in e)n in t||(i[n]=e[n]);return{refined:n,extra:i}}function Mn(e){return e}function Pn(e,t,n,i){return{instanceId:Qe(),defId:e,range:t,forcedStartTzo:null==n?null:n,forcedEndTzo:null==i?null:i}}function On(e,t,n){let{dateEnv:i,pluginHooks:o,options:r}=n,{defs:s,instances:a}=e;a=Et(a,(e=>!s[e.defId].recurringDef));for(let e in s){let n=s[e];if(n.recurringDef){let{duration:s}=n.recurringDef;s||(s=n.allDay?r.defaultAllDayEventDuration:r.defaultTimedEventDuration);let l=Rn(n,s,t,i,o.recurringTypes);for(let t of l){let n=Pn(e,{start:t,end:i.add(t,s)});a[n.instanceId]=n}}}return{defs:s,instances:a}}function Rn(e,t,n,i,o){let r=o[e.recurringDef.typeId].expand(e.recurringDef.typeData,{start:i.subtract(n.start,t),end:n.end},i);return e.allDay&&(r=r.map(Vt)),r}function In(e,t,n,i,o,r){let s={defs:{},instances:{}},a=Xn(n);for(let l of e){let e=Yn(l,t,n,i,a,o,r);e&&Ln(e,s)}return s}function Ln(e,t={defs:{},instances:{}}){return t.defs[e.def.defId]=e.def,e.instance&&(t.instances[e.instance.instanceId]=e.instance),t}function Nn(e,t){let n=e.instances[t];if(n){let t=e.defs[n.defId],i=Hn(e,(e=>{return n=t,i=e,Boolean(n.groupId&&n.groupId===i.groupId);var n,i}));return i.defs[t.defId]=t,i.instances[n.instanceId]=n,i}return{defs:{},instances:{}}}function jn(e,t){return{defs:Object.assign(Object.assign({},e.defs),t.defs),instances:Object.assign(Object.assign({},e.instances),t.instances)}}function Hn(e,t){let n=Et(e.defs,t),i=Et(e.instances,(e=>n[e.defId]));return{defs:n,instances:i}}function $n(e){return Array.isArray(e)?e:"string"==typeof e?e.split(/\s+/):[]}
1const zn={display:String,editable:Boolean,startEditable:Boolean,durationEditable:Boolean,constraint:Mn,overlap:Mn,allow:Mn,className:$n,classNames:$n,color:String,backgroundColor:String,borderColor:String,textColor:String},Bn={display:null,startEditable:null,durationEditable:null,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]};function Fn(e,t){let n=function(e,t){return Array.isArray(e)?In(e,null,t,!0):"object"==typeof e&&e?In([e],null,t,!0):null!=e?String(e):null}(e.constraint,t);return{display:e.display||null,startEditable:null!=e.startEditable?e.startEditable:e.editable,durationEditable:null!=e.durationEditable?e.durationEditable:e.editable,constraints:null!=n?[n]:[],overlap:null!=e.overlap?e.overlap:null,allows:null!=e.allow?[e.allow]:[],backgroundColor:e.backgroundColor||e.color||"",borderColor:e.borderColor||e.color||"",textColor:e.textColor||"",classNames:(e.className||[]).concat(e.classNames||[])}}function Vn(e){return e.reduce(Un,Bn)}function Un(e,t){return{display:null!=t.display?t.display:e.display,startEditable:null!=t.startEditable?t.startEditable:e.startEditable,durationEditable:null!=t.durationEditable?t.durationEditable:e.durationEditable,constraints:e.constraints.concat(t.constraints),overlap:"boolean"==typeof t.overlap?t.overlap:e.overlap,allows:e.allows.concat(t.allows),backgroundColor:t.backgroundColor||e.backgroundColor,borderColor:t.borderColor||e.borderColor,textColor:t.textColor||e.textColor,classNames:e.classNames.concat(t.classNames)}}const Wn={id:String,groupId:String,title:String,url:String,interactive:Boolean},qn={start:Mn,end:Mn,date:Mn,allDay:Boolean},Gn=Object.assign(Object.assign(Object.assign({},Wn),qn),{extendedProps:Mn});function Yn(e,t,n,i,o=Xn(n),r,s){let{refined:a,extra:l}=Qn(e,n,o),c=function(e,t){let n=null;return e&&(n=e.defaultAllDay),null==n&&(n=t.options.defaultAllDay),n}(t,n),d=function(e,t,n,i){for(let o=0;o<i.length;o+=1){let r=i[o].parse(e,n);if(r){let{allDay:n}=e;return null==n&&(n=t,null==n&&(n=r.allDayGuess,null==n&&(n=!1))),{allDay:n,duration:r.duration,typeData:r.typeData,typeId:o}}}return null}(a,c,n.dateEnv,n.pluginHooks.recurringTypes);if(d){let e=Zn(a,l,t?t.sourceId:"",d.allDay,Boolean(d.duration),n,r);return e.recurringDef={typeId:d.typeId,typeData:d.typeData,duration:d.duration},{def:e,instance:null}}let u=function(e,t,n,i){let o,r,{allDay:s}=e,a=null,l=!1,c=null,d=null!=e.start?e.start:e.date;if(o=n.dateEnv.createMarkerMeta(d),o)a=o.marker;else if(!i)return null;return null!=e.end&&(r=n.dateEnv.createMarkerMeta(e.end)),null==s&&(s=null!=t?t:(!o||o.isTimeUnspecified)&&(!r||r.isTimeUnspecified)),s&&a&&(a=Vt(a)),r&&(c=r.marker,s&&(c=Vt(c)),a&&c<=a&&(c=null)),c?l=!0:i||(l=n.options.forceEventDuration||!1,c=n.dateEnv.add(a,s?n.options.defaultAllDayEventDuration:n.options.defaultTimedEventDuration)),{allDay:s,hasEnd:l,range:{start:a,end:c},forcedStartTzo:o?o.forcedTzo:null,forcedEndTzo:r?r.forcedTzo:null}}(a,c,n,i);if(u){let e=Zn(a,l,t?t.sourceId:"",u.allDay,u.hasEnd,n,r),i=Pn(e.defId,u.range,u.forcedStartTzo,u.forcedEndTzo);return s&&e.publicId&&s[e.publicId]&&(i.instanceId=s[e.publicId]),{def:e,instance:i}}return null}function Qn(e,t,n=Xn(t)){return Dn(e,n)}function Xn(e){return Object.assign(Object.assign(Object.assign({},zn),Gn),e.pluginHooks.eventRefiners)}function Zn(e,t,n,i,o,r,s){let a={title:e.title||"",groupId:e.groupId||"",publicId:e.id||"",url:e.url||"",recurringDef:null,defId:(s&&e.id?s[e.id]:"")||Qe(),sourceId:n,allDay:i,hasEnd:o,interactive:e.interactive,ui:Fn(e,r),extendedProps:Object.assign(Object.assign({},e.extendedProps||{}),t)};for(let t of r.pluginHooks.eventDefMemberAdders)Object.assign(a,t(e));return Object.freeze(a.ui.classNames),Object.freeze(a.extendedProps),a}const Kn={startTime:"09:00",endTime:"17:00",daysOfWeek:[1,2,3,4,5],display:"inverse-background",classNames:"fc-non-business",groupId:"_businessHours"};function Jn(e,t){return In(function(e){let t;return t=!0===e?[{}]:Array.isArray(e)?e.filter((e=>e.daysOfWeek)):"object"==typeof e&&e?[e]:[],t=t.map((e=>Object.assign(Object.assign({},Kn),e))),t}(e),null,t)}function ei(e){let t=Math.floor($t(e.start,e.end))||1,n=Vt(e.start);return{start:n,end:Nt(n,t)}}function ti(e,t=ft(0)){let n=null,i=null;if(e.end){i=Vt(e.end);let n=e.end.valueOf()-i.valueOf();n&&n>=yt(t)&&(i=Nt(i,1))}return e.start&&(n=Vt(e.start),i&&i<=n&&(i=Nt(n,1))),{start:n,end:i}}function ni(e){let t=ti(e);return $t(t.start,t.end)>1}function ii(e,t,n,i){return"year"===i?ft(n.diffWholeYears(e,t),"year"):"month"===i?ft(n.diffWholeMonths(e,t),"month"):zt(e,t)}function oi(e,t){return e.left>=t.left&&e.left<t.right&&e.top>=t.top&&e.top<t.bottom}function ri(e,t){let n={left:Math.max(e.left,t.left),right:Math.min(e.right,t.right),top:Math.max(e.top,t.top),bottom:Math.min(e.bottom,t.bottom)};return n.left<n.right&&n.top<n.bottom&&n}function si(e,t){return{left:Math.min(Math.max(e.left,t.left),t.right),top:Math.min(Math.max(e.top,t.top),t.bottom)}}function ai(e){return{left:(e.left+e.right)/2,top:(e.top+e.bottom)/2}}function li(e,t){return{left:e.left-t.left,top:e.top-t.top}}let ci;function di(){return null==ci&&(ci=function(){if("undefined"==typeof document)return!0;let e=document.createElement("div");e.style.position="absolute",e.style.top="0px",e.style.left="0px",e.innerHTML="<table><tr><td><div></div></td></tr></table>",e.querySelector("table").style.height="100px",e.querySelector("div").style.height="100%",document.body.appendChild(e);let t=e.querySelector("div").offsetHeight>0;return document.body.removeChild(e),t}()),ci}
vendor: 28,043 bytes, line 1
1const ui={defs:{},instances:{}};class hi{constructor(){this.getKeysForEventDefs=on(this._getKeysForEventDefs),this.splitDateSelection=on(this._splitDateSpan),this.splitEventStore=on(this._splitEventStore),this.splitIndividualUi=on(this._splitIndividualUi),this.splitEventDrag=on(this._splitInteraction),this.splitEventResize=on(this._splitInteraction),this.eventUiBuilders={}}splitProps(e){let t=this.getKeyInfo(e),n=this.getKeysForEventDefs(e.eventStore),i=this.splitDateSelection(e.dateSelection),o=this.splitIndividualUi(e.eventUiBases,n),r=this.splitEventStore(e.eventStore,n),s=this.splitEventDrag(e.eventDrag),a=this.splitEventResize(e.eventResize),l={};this.eventUiBuilders=St(t,((e,t)=>this.eventUiBuilders[t]||on(fi)));for(let n in t){let c=t[n],d=r[n]||ui,u=this.eventUiBuilders[n];l[n]={businessHours:c.businessHours||e.businessHours,dateSelection:i[n]||null,eventStore:d,eventUiBases:u(e.eventUiBases[""],c.ui,o[n]),eventSelection:d.instances[e.eventSelection]?e.eventSelection:"",eventDrag:s[n]||null,eventResize:a[n]||null}}return l}_splitDateSpan(e){let t={};if(e){let n=this.getKeysForDateSpan(e);for(let i of n)t[i]=e}return t}_getKeysForEventDefs(e){return St(e.defs,(e=>this.getKeysForEventDef(e)))}_splitEventStore(e,t){let{defs:n,instances:i}=e,o={};for(let e in n)for(let i of t[e])o[i]||(o[i]={defs:{},instances:{}}),o[i].defs[e]=n[e];for(let e in i){let n=i[e];for(let i of t[n.defId])o[i]&&(o[i].instances[e]=n)}return o}_splitIndividualUi(e,t){let n={};for(let i in e)if(i)for(let o of t[i])n[o]||(n[o]={}),n[o][i]=e[i];return n}_splitInteraction(e){let t={};if(e){let n=this._splitEventStore(e.affectedEvents,this._getKeysForEventDefs(e.affectedEvents)),i=this._getKeysForEventDefs(e.mutatedEvents),o=this._splitEventStore(e.mutatedEvents,i),r=i=>{t[i]||(t[i]={affectedEvents:n[i]||ui,mutatedEvents:o[i]||ui,isEvent:e.isEvent})};for(let e in n)r(e);for(let e in o)r(e)}return t}}function fi(e,t,n){let i=[];e&&i.push(e),t&&i.push(t);let o={"":Vn(i)};return n&&Object.assign(o,n),o}function pi(e,t){let n,i,o=[],{start:r}=t;for(e.sort(gi),n=0;n<e.length;n+=1)i=e[n],i.start>r&&o.push({start:r,end:i.start}),i.end>r&&(r=i.end);return r<t.end&&o.push({start:r,end:t.end}),o}function gi(e,t){return e.start.valueOf()-t.start.valueOf()}function mi(e,t){let{start:n,end:i}=e,o=null;return null!==t.start&&(n=null===n?t.start:new Date(Math.max(n.valueOf(),t.start.valueOf()))),null!=t.end&&(i=null===i?t.end:new Date(Math.min(i.valueOf(),t.end.valueOf()))),(null===n||null===i||n<i)&&(o={start:n,end:i}),o}function vi(e,t){return(null===e.start?null:e.start.valueOf())===(null===t.start?null:t.start.valueOf())&&(null===e.end?null:e.end.valueOf())===(null===t.end?null:t.end.valueOf())}function yi(e,t){return(null===e.end||null===t.start||e.end>t.start)&&(null===e.start||null===t.end||e.start<t.end)}function bi(e,t){return(null===e.start||null!==t.start&&t.start>=e.start)&&(null===e.end||null!==t.end&&t.end<=e.end)}function wi(e,t){return(null===e.start||t>=e.start)&&(null===e.end||t<e.end)}function xi(e,t,n,i){return{dow:e.getUTCDay(),isDisabled:Boolean(i&&!wi(i.activeRange,e)),isOther:Boolean(i&&!wi(i.currentRange,e)),isToday:Boolean(t&&wi(t,e)),isPast:Boolean(n?e<n:!!t&&e<t.start),isFuture:Boolean(n?e>n:!!t&&e>=t.end)}}function ki(e,t){let n=["fc-day",`fc-day-${It[e.dow]}`];return e.isDisabled?n.push("fc-day-disabled"):(e.isToday&&(n.push("fc-day-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-day-past"),e.isFuture&&n.push("fc-day-future"),e.isOther&&n.push("fc-day-other")),n}const Ei=bn({year:"numeric",month:"long",day:"numeric"}),Si=bn({week:"long"});function Ci(e,t,n="day",i=!0){const{dateEnv:o,options:r,calendarApi:s}=e;let a=o.format(t,"week"===n?Si:Ei);if(r.navLinks){let e=o.toDate(t);const l=e=>{let i="day"===n?r.navLinkDayClick:"week"===n?r.navLinkWeekClick:null;"function"==typeof i?i.call(s,o.toDate(t),e):("string"==typeof i&&(n=i),s.zoomTo(t,n))};return Object.assign({title:at(r.navLinkHint,[a,e],a),"data-navlink":""},i?qe(l):{onClick:l})}return{"aria-label":a}}let _i,Ai=null;function Ti(){return null===Ai&&(Ai=function(){let e=document.createElement("div");je(e,{position:"absolute",top:-1e3,left:0,border:0,padding:0,overflow:"scroll",direction:"rtl"}),e.innerHTML="<div></div>",document.body.appendChild(e);let t=e.firstChild.getBoundingClientRect().left>e.getBoundingClientRect().left;return Oe(e),t}()),Ai}function Di(){return _i||(_i=function(){let e=document.createElement("div");e.style.overflow="scroll",e.style.position="absolute",e.style.top="-9999px",e.style.left="-9999px",document.body.appendChild(e);let t=Mi(e);return document.body.removeChild(e),t}()),_i}function Mi(e){return{x:e.offsetHeight-e.clientHeight,y:e.offsetWidth-e.clientWidth}}function Pi(e,t=!1){let n=window.getComputedStyle(e),i=parseInt(n.borderLeftWidth,10)||0,o=parseInt(n.borderRightWidth,10)||0,r=parseInt(n.borderTopWidth,10)||0,s=parseInt(n.borderBottomWidth,10)||0,a=Mi(e),l=a.y-i-o,c={borderLeft:i,borderRight:o,borderTop:r,borderBottom:s,scrollbarBottom:a.x-r-s,scrollbarLeft:0,scrollbarRight:0};return Ti()&&"rtl"===n.direction?c.scrollbarLeft=l:c.scrollbarRight=l,t&&(c.paddingLeft=parseInt(n.paddingLeft,10)||0,c.paddingRight=parseInt(n.paddingRight,10)||0,c.paddingTop=parseInt(n.paddingTop,10)||0,c.paddingBottom=parseInt(n.paddingBottom,10)||0),c}function Oi(e,t=!1,n){let i=n?e.getBoundingClientRect():Ri(e),o=Pi(e,t),r={left:i.left+o.borderLeft+o.scrollbarLeft,right:i.right-o.borderRight-o.scrollbarRight,top:i.top+o.borderTop,bottom:i.bottom-o.borderBottom-o.scrollbarBottom};return t&&(r.left+=o.paddingLeft,r.right-=o.paddingRight,r.top+=o.paddingTop,r.bottom-=o.paddingBottom),r}function Ri(e){let t=e.getBoundingClientRect();return{left:t.left+window.pageXOffset,top:t.top+window.pageYOffset,right:t.right+window.pageXOffset,bottom:t.bottom+window.pageYOffset}}function Ii(e){let t=[];for(;e instanceof HTMLElement;){let n=window.getComputedStyle(e);if("fixed"===n.position)break;/(auto|scroll)/.test(n.overflow+n.overflowY+n.overflowX)&&t.push(e),e=e.parentNode}return t}function Li(e,t,n){let i=!1,o=function(e){i||(i=!0,t(e))},r=function(e){i||(i=!0,n(e))},s=e(o,r);s&&"function"==typeof s.then&&s.then(o,r)}class Ni{constructor(){this.handlers={},this.thisContext=null}setThisContext(e){this.thisContext=e}setOptions(e){this.options=e}on(e,t){!function(e,t,n){(e[t]||(e[t]=[])).push(n)}(this.handlers,e,t)}off(e,t){!function(e,t,n){n?e[t]&&(e[t]=e[t].filter((e=>e!==n))):delete e[t]}(this.handlers,e,t)}trigger(e,...t){let n=this.handlers[e]||[],i=this.options&&this.options[e],o=[].concat(i||[],n);for(let e of o)e.apply(this.thisContext,t)}hasHandlers(e){return Boolean(this.handlers[e]&&this.handlers[e].length||this.options&&this.options[e])}}class ji{constructor(e,t,n,i){this.els=t;let o=this.originClientRect=e.getBoundingClientRect();n&&this.buildElHorizontals(o.left),i&&this.buildElVerticals(o.top)}buildElHorizontals(e){let t=[],n=[];for(let i of this.els){let o=i.getBoundingClientRect();t.push(o.left-e),n.push(o.right-e)}this.lefts=t,this.rights=n}buildElVerticals(e){let t=[],n=[];for(let i of this.els){let o=i.getBoundingClientRect();t.push(o.top-e),n.push(o.bottom-e)}this.tops=t,this.bottoms=n}leftToIndex(e){let t,{lefts:n,rights:i}=this,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<i[t])return t}topToIndex(e){let t,{tops:n,bottoms:i}=this,o=n.length;for(t=0;t<o;t+=1)if(e>=n[t]&&e<i[t])return t}getWidth(e){return this.rights[e]-this.lefts[e]}getHeight(e){return this.bottoms[e]-this.tops[e]}similarTo(e){return Hi(this.tops||[],e.tops||[])&&Hi(this.bottoms||[],e.bottoms||[])&&Hi(this.lefts||[],e.lefts||[])&&Hi(this.rights||[],e.rights||[])}}function Hi(e,t){const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(Math.round(e[i])!==Math.round(t[i]))return!1;return!0}class $i{getMaxScrollTop(){return this.getScrollHeight()-this.getClientHeight()}getMaxScrollLeft(){return this.getScrollWidth()-this.getClientWidth()}canScrollVertically(){return this.getMaxScrollTop()>0}canScrollHorizontally(){return this.getMaxScrollLeft()>0}canScrollUp(){return this.getScrollTop()>0}canScrollDown(){return this.getScrollTop()<this.getMaxScrollTop()}canScrollLeft(){return this.getScrollLeft()>0}canScrollRight(){return this.getScrollLeft()<this.getMaxScrollLeft()}}class zi extends $i{constructor(e){super(),this.el=e}getScrollTop(){return this.el.scrollTop}getScrollLeft(){return this.el.scrollLeft}setScrollTop(e){this.el.scrollTop=e}setScrollLeft(e){this.el.scrollLeft=e}getScrollWidth(){return this.el.scrollWidth}getScrollHeight(){return this.el.scrollHeight}getClientHeight(){return this.el.clientHeight}getClientWidth(){return this.el.clientWidth}}class Bi extends $i{getScrollTop(){return window.pageYOffset}getScrollLeft(){return window.pageXOffset}setScrollTop(e){window.scroll(window.pageXOffset,e)}setScrollLeft(e){window.scroll(e,window.pageYOffset)}getScrollWidth(){return document.documentElement.scrollWidth}getScrollHeight(){return document.documentElement.scrollHeight}getClientHeight(){return document.documentElement.clientHeight}getClientWidth(){return document.documentElement.clientWidth}}class Fi{constructor(e){this.iconOverrideOption&&this.setIconOverride(e[this.iconOverrideOption])}setIconOverride(e){let t,n;if("object"==typeof e&&e){for(n in t=Object.assign({},this.iconClasses),e)t[n]=this.applyIconOverridePrefix(e[n]);this.iconClasses=t}else!1===e&&(this.iconClasses={})}applyIconOverridePrefix(e){let t=this.iconOverridePrefix;return t&&0!==e.indexOf(t)&&(e=t+e),e}getClass(e){return this.classes[e]||""}getIconClass(e,t){let n;return n=t&&this.rtlIconClasses&&this.rtlIconClasses[e]||this.iconClasses[e],n?`${this.baseIconClass} ${n}`:""}getCustomButtonIconClass(e){let t;return this.iconOverrideCustomButtonOption&&(t=e[this.iconOverrideCustomButtonOption],t)?`${this.baseIconClass} ${this.applyIconOverridePrefix(t)}`:""}}function Vi(e){e();let t=n.debounceRendering,i=[];for(n.debounceRendering=function(e){i.push(e)},$(g(Ui,{}),document.createElement("div"));i.length;)i.shift()();n.debounceRendering=t}Fi.prototype.classes={},Fi.prototype.iconClasses={},Fi.prototype.baseIconClass="",Fi.prototype.iconOverridePrefix="";class Ui extends k{render(){return g("div",{})}componentDidMount(){this.setState({})}}function Wi(e){let t=function(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,i;return this.getChildContext||(n=[],(i={})[t]=this,this.getChildContext=function(){return i},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,_(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}(e),n=t.Provider;return t.Provider=function(){let e=!this.getChildContext,t=n.apply(this,arguments);if(e){let e=[];this.shouldComponentUpdate=t=>{this.props.value!==t.value&&e.forEach((e=>{e.context=t.value,e.forceUpdate()}))},this.sub=t=>{e.push(t);let n=t.componentWillUnmount;t.componentWillUnmount=()=>{e.splice(e.indexOf(t),1),n&&n.call(t)}}}return t},t}class qi{constructor(e,t,n,i){this.execFunc=e,this.emitter=t,this.scrollTime=n,this.scrollTimeReset=i,this.handleScrollRequest=e=>{this.queuedRequest=Object.assign({},this.queuedRequest||{},e),this.drain()},t.on("_scrollRequest",this.handleScrollRequest),this.fireInitialScroll()}detach(){this.emitter.off("_scrollRequest",this.handleScrollRequest)}update(e){e&&this.scrollTimeReset?this.fireInitialScroll():this.drain()}fireInitialScroll(){this.handleScrollRequest({time:this.scrollTime})}drain(){this.queuedRequest&&this.execFunc(this.queuedRequest)&&(this.queuedRequest=null)}}const Gi=Wi({});function Yi(e,t,n,i,o,r,s,a,l,c,d,u,h){return{dateEnv:o,options:n,pluginHooks:s,emitter:c,dispatch:a,getCurrentData:l,calendarApi:d,viewSpec:e,viewApi:t,dateProfileGenerator:i,theme:r,isRtl:"rtl"===n.direction,addResizeHandler(e){c.on("_resize",e)},removeResizeHandler(e){c.off("_resize",e)},createScrollResponder:e=>new qi(e,c,ft(n.scrollTime),n.scrollTimeReset),registerInteractiveComponent:u,unregisterInteractiveComponent:h}}class Qi extends k{shouldComponentUpdate(e,t){return this.debug&&console.log(Dt(e,this.props),Dt(t,this.state)),!Mt(this.props,e,this.propEquality)||!Mt(this.state,t,this.stateEquality)}safeSetState(e){Mt(this.state,Object.assign(Object.assign({},this.state),e),this.stateEquality)||this.setState(e)}}Qi.addPropsEquality=function(e){let t=Object.create(this.prototype.propEquality);Object.assign(t,e),this.prototype.propEquality=t},Qi.addStateEquality=function(e){let t=Object.create(this.prototype.stateEquality);Object.assign(t,e),this.prototype.stateEquality=t},Qi.contextType=Gi,Qi.prototype.propEquality={},Qi.prototype.stateEquality={};class Xi extends Qi{}function Zi(e,t){"function"==typeof e?e(t):e&&(e.current=t)}Xi.contextType=Gi;class Ki extends Xi{constructor(){super(...arguments),this.uid=Qe()}prepareHits(){}queryHit(e,t,n,i){return null}isValidSegDownEl(e){return!this.props.eventDrag&&!this.props.eventResize&&!Re(e,".fc-event-mirror")}isValidDateDownEl(e){return!(Re(e,".fc-event:not(.fc-bg-event)")||Re(e,".fc-more-link")||Re(e,"a[data-navlink]")||Re(e,".fc-popover"))}}function Ji(e,t){return"function"==typeof e&&(e=e()),null==e?t.createNowMarker():t.createMarker(e)}class eo{constructor(e){this.props=e,this.nowDate=Ji(e.nowInput,e.dateEnv),this.initHiddenDays()}buildPrev(e,t,n){let{dateEnv:i}=this.props,o=i.subtract(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,-1,n)}buildNext(e,t,n){let{dateEnv:i}=this.props,o=i.add(i.startOf(t,e.currentRangeUnit),e.dateIncrement);return this.build(o,1,n)}build(e,t,n=!0){let i,o,r,s,a,l,{props:c}=this;var d,u;return i=this.buildValidRange(),i=this.trimHiddenDays(i),n&&(d=e,e=null!=(u=i).start&&d<u.start?u.start:null!=u.end&&d>=u.end?new Date(u.end.valueOf()-1):d),o=this.buildCurrentRangeInfo(e,t),r=/^(year|month|week|day)$/.test(o.unit),s=this.buildRenderRange(this.trimHiddenDays(o.range),o.unit,r),s=this.trimHiddenDays(s),a=s,c.showNonCurrentDates||(a=mi(a,o.range)),a=this.adjustActiveRange(a),a=mi(a,i),l=yi(o.range,i),wi(s,e)||(e=s.start),{currentDate:e,validRange:i,currentRange:o.range,currentRangeUnit:o.unit,isRangeAllDay:r,activeRange:a,renderRange:s,slotMinTime:c.slotMinTime,slotMaxTime:c.slotMaxTime,isValid:l,dateIncrement:this.buildDateIncrement(o.duration)}}buildValidRange(){let e=this.props.validRangeInput,t="function"==typeof e?e.call(this.props.calendarApi,this.nowDate):e;return this.refineRange(t)||{start:null,end:null}}buildCurrentRangeInfo(e,t){let n,{props:i}=this,o=null,r=null,s=null;return i.duration?(o=i.duration,r=i.durationUnit,s=this.buildRangeFromDuration(e,t,o,r)):(n=this.props.dayCount)?(r="day",s=this.buildRangeFromDayCount(e,t,n)):(s=this.buildCustomVisibleRange(e))?r=i.dateEnv.greatestWholeUnit(s.start,s.end).unit:(o=this.getFallbackDuration(),r=wt(o).unit,s=this.buildRangeFromDuration(e,t,o,r)),{duration:o,unit:r,range:s}}getFallbackDuration(){return ft({day:1})}adjustActiveRange(e){let{dateEnv:t,usesMinMaxTime:n,slotMinTime:i,slotMaxTime:o}=this.props,{start:r,end:s}=e;return n&&(vt(i)<0&&(r=Vt(r),r=t.add(r,i)),vt(o)>1&&(s=Vt(s),s=Nt(s,-1),s=t.add(s,o))),{start:r,end:s}}buildRangeFromDuration(e,t,n,i){let o,r,s,{dateEnv:a,dateAlignment:l}=this.props;if(!l){let{dateIncrement:e}=this.props;l=e&&yt(e)<yt(n)?wt(e).unit:i}function c(){o=a.startOf(e,l),r=a.add(o,n),s={start:o,end:r}}return vt(n)<=1&&this.isHiddenDay(o)&&(o=this.skipHiddenDays(o,t),o=Vt(o)),c(),this.trimHiddenDays(s)||(e=this.skipHiddenDays(e,t),c()),s}buildRangeFromDayCount(e,t,n){let i,{dateEnv:o,dateAlignment:r}=this.props,s=0,a=e;r&&(a=o.startOf(a,r)),a=Vt(a),a=this.skipHiddenDays(a,t),i=a;do{i=Nt(i,1),this.isHiddenDay(i)||(s+=1)}while(s<n);return{start:a,end:i}}buildCustomVisibleRange(e){let{props:t}=this,n=t.visibleRangeInput,i="function"==typeof n?n.call(t.calendarApi,t.dateEnv.toDate(e)):n,o=this.refineRange(i);return!o||null!=o.start&&null!=o.end?o:null}buildRenderRange(e,t,n){return e}buildDateIncrement(e){let t,{dateIncrement:n}=this.props;return n||((t=this.props.dateAlignment)?ft(1,t):e||ft({days:1}))}refineRange(e){if(e){let t=function(e,t){let n=null,i=null;return e.start&&(n=t.createMarker(e.start)),e.end&&(i=t.createMarker(e.end)),n||i?n&&i&&i<n?null:{start:n,end:i}:null}(e,this.props.dateEnv);return t&&(t=ti(t)),t}return null}initHiddenDays(){let e,t=this.props.hiddenDays||[],n=[],i=0;for(!1===this.props.weekends&&t.push(0,6),e=0;e<7;e+=1)(n[e]=-1!==t.indexOf(e))||(i+=1);if(!i)throw new Error("invalid hiddenDays");this.isHiddenDayHash=n}trimHiddenDays(e){let{start:t,end:n}=e;return t&&(t=this.skipHiddenDays(t)),n&&(n=this.skipHiddenDays(n,-1,!0)),null==t||null==n||t<n?{start:t,end:n}:null}isHiddenDay(e){return e instanceof Date&&(e=e.getUTCDay()),this.isHiddenDayHash[e]}skipHiddenDays(e,t=1,n=!1){for(;this.isHiddenDayHash[(e.getUTCDay()+(n?t:0)+7)%7];)e=Nt(e,t);return e}}function to(e,t,n){n.emitter.trigger("select",Object.assign(Object.assign({},no(e,n)),{jsEvent:t?t.origEvent:null,view:n.viewApi||n.calendarApi.view}))}function no(e,t){let n={};for(let i of t.pluginHooks.dateSpanTransforms)Object.assign(n,i(e,t));var i,o;return Object.assign(n,(i=e,o=t.dateEnv,Object.assign(Object.assign({},Po(i.range,o,i.allDay)),{allDay:i.allDay}))),n}function io(e,t,n){let{dateEnv:i,options:o}=n,r=t;return e?(r=Vt(r),r=i.add(r,o.defaultAllDayEventDuration)):r=i.add(r,o.defaultTimedEventDuration),r}function oo(e,t,n,i){let o=mo(e.defs,t),r={defs:{},instances:{}};for(let t in e.defs){let s=e.defs[t];r.defs[t]=ro(s,o[t],n,i)}for(let t in e.instances){let s=e.instances[t],a=r.defs[s.defId];r.instances[t]=so(s,a,o[s.defId],n,i)}return r}function ro(e,t,n,i){let o=n.standardProps||{};null==o.hasEnd&&t.durationEditable&&(n.startDelta||n.endDelta)&&(o.hasEnd=!0);let r=Object.assign(Object.assign(Object.assign({},e),o),{ui:Object.assign(Object.assign({},e.ui),o.ui)});n.extendedProps&&(r.extendedProps=Object.assign(Object.assign({},r.extendedProps),n.extendedProps));for(let e of i.pluginHooks.eventDefMutationAppliers)e(r,n,i);return!r.hasEnd&&i.options.forceEventDuration&&(r.hasEnd=!0),r}function so(e,t,n,i,o){let{dateEnv:r}=o,s=i.standardProps&&!0===i.standardProps.allDay,a=i.standardProps&&!1===i.standardProps.hasEnd,l=Object.assign({},e);return s&&(l.range=ei(l.range)),i.datesDelta&&n.startEditable&&(l.range={start:r.add(l.range.start,i.datesDelta),end:r.add(l.range.end,i.datesDelta)}),i.startDelta&&n.durationEditable&&(l.range={start:r.add(l.range.start,i.startDelta),end:l.range.end}),i.endDelta&&n.durationEditable&&(l.range={start:l.range.start,end:r.add(l.range.end,i.endDelta)}),a&&(l.range={start:l.range.start,end:io(t.allDay,l.range.start,o)}),t.allDay&&(l.range={start:Vt(l.range.start),end:Vt(l.range.end)}),l.range.end<l.range.start&&(l.range.end=io(t.allDay,l.range.start,o)),l}class ao{constructor(e,t){this.context=e,this.internalEventSource=t}remove(){this.context.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:this.internalEventSource.sourceId})}refetch(){this.context.dispatch({type:"FETCH_EVENT_SOURCES",sourceIds:[this.internalEventSource.sourceId],isRefetch:!0})}get id(){return this.internalEventSource.publicId}get url(){return this.internalEventSource.meta.url}get format(){return this.internalEventSource.meta.format}}class lo{constructor(e,t,n){this._context=e,this._def=t,this._instance=n||null}setProp(e,t){if(e in qn)console.warn("Could not set date-related prop 'name'. Use one of the date-related methods instead.");else if("id"===e)t=Wn[e](t),this.mutate({standardProps:{publicId:t}});else if(e in Wn)t=Wn[e](t),this.mutate({standardProps:{[e]:t}});else if(e in zn){let n=zn[e](t);n="color"===e?{backgroundColor:t,borderColor:t}:"editable"===e?{startEditable:t,durationEditable:t}:{[e]:t},this.mutate({standardProps:{ui:n}})}else console.warn(`Could not set prop '${e}'. Use setExtendedProp instead.`)}setExtendedProp(e,t){this.mutate({extendedProps:{[e]:t}})}setStart(e,t={}){let{dateEnv:n}=this._context,i=n.createMarker(e);if(i&&this._instance){let e=ii(this._instance.range.start,i,n,t.granularity);t.maintainDuration?this.mutate({datesDelta:e}):this.mutate({startDelta:e})}}setEnd(e,t={}){let n,{dateEnv:i}=this._context;if((null==e||(n=i.createMarker(e),n))&&this._instance)if(n){let e=ii(this._instance.range.end,n,i,t.granularity);this.mutate({endDelta:e})}else this.mutate({standardProps:{hasEnd:!1}})}setDates(e,t,n={}){let i,{dateEnv:o}=this._context,r={allDay:n.allDay},s=o.createMarker(e);var a,l;if(s&&(null==t||(i=o.createMarker(t),i))&&this._instance){let e=this._instance.range;!0===n.allDay&&(e=ei(e));let t=ii(e.start,s,o,n.granularity);if(i){let s=ii(e.end,i,o,n.granularity);l=s,(a=t).years===l.years&&a.months===l.months&&a.days===l.days&&a.milliseconds===l.milliseconds?this.mutate({datesDelta:t,standardProps:r}):this.mutate({startDelta:t,endDelta:s,standardProps:r})}else r.hasEnd=!1,this.mutate({datesDelta:t,standardProps:r})}}moveStart(e){let t=ft(e);t&&this.mutate({startDelta:t})}moveEnd(e){let t=ft(e);t&&this.mutate({endDelta:t})}moveDates(e){let t=ft(e);t&&this.mutate({datesDelta:t})}setAllDay(e,t={}){let n={allDay:e},{maintainDuration:i}=t;null==i&&(i=this._context.options.allDayMaintainDuration),this._def.allDay!==e&&(n.hasEnd=i),this.mutate({standardProps:n})}formatRange(e){let{dateEnv:t}=this._context,n=this._instance,i=bn(e);return this._def.hasEnd?t.formatRange(n.range.start,n.range.end,i,{forcedStartTzo:n.forcedStartTzo,forcedEndTzo:n.forcedEndTzo}):t.format(n.range.start,i,{forcedTzo:n.forcedStartTzo})}mutate(e){let t=this._instance;if(t){let n=this._def,i=this._context,{eventStore:o}=i.getCurrentData(),r=Nn(o,t.instanceId);r=oo(r,{"":{display:"",startEditable:!0,durationEditable:!0,constraints:[],overlap:null,allows:[],backgroundColor:"",borderColor:"",textColor:"",classNames:[]}},e,i);let s=new lo(i,n,t);this._def=r.defs[n.defId],this._instance=r.instances[t.instanceId],i.dispatch({type:"MERGE_EVENTS",eventStore:r}),i.emitter.trigger("eventChange",{oldEvent:s,event:this,relatedEvents:uo(r,i,t),revert(){i.dispatch({type:"RESET_EVENTS",eventStore:o})}})}}remove(){let e=this._context,t=co(this);e.dispatch({type:"REMOVE_EVENTS",eventStore:t}),e.emitter.trigger("eventRemove",{event:this,relatedEvents:[],revert(){e.dispatch({type:"MERGE_EVENTS",eventStore:t})}})}get source(){let{sourceId:e}=this._def;return e?new ao(this._context,this._context.getCurrentData().eventSources[e]):null}get start(){return this._instance?this._context.dateEnv.toDate(this._instance.range.start):null}get end(){return this._instance&&this._def.hasEnd?this._context.dateEnv.toDate(this._instance.range.end):null}get startStr(){let e=this._instance;return e?this._context.dateEnv.formatIso(e.range.start,{omitTime:this._def.allDay,forcedTzo:e.forcedStartTzo}):""}get endStr(){let e=this._instance;return e&&this._def.hasEnd?this._context.dateEnv.formatIso(e.range.end,{omitTime:this._def.allDay,forcedTzo:e.forcedEndTzo}):""}get id(){return this._def.publicId}get groupId(){return this._def.groupId}get allDay(){return this._def.allDay}get title(){return this._def.title}get url(){return this._def.url}get display(){return this._def.ui.display||"auto"}get startEditable(){return this._def.ui.startEditable}get durationEditable(){return this._def.ui.durationEditable}get constraint(){return this._def.ui.constraints[0]||null}get overlap(){return this._def.ui.overlap}get allow(){return this._def.ui.allows[0]||null}get backgroundColor(){return this._def.ui.backgroundColor}get borderColor(){return this._def.ui.borderColor}get textColor(){return this._def.ui.textColor}get classNames(){return this._def.ui.classNames}get extendedProps(){return this._def.extendedProps}toPlainObject(e={}){let t=this._def,{ui:n}=t,{startStr:i,endStr:o}=this,r={allDay:t.allDay};return t.title&&(r.title=t.title),i&&(r.start=i),o&&(r.end=o),t.publicId&&(r.id=t.publicId),t.groupId&&(r.groupId=t.groupId),t.url&&(r.url=t.url),n.display&&"auto"!==n.display&&(r.display=n.display),e.collapseColor&&n.backgroundColor&&n.backgroundColor===n.borderColor?r.color=n.backgroundColor:(n.backgroundColor&&(r.backgroundColor=n.backgroundColor),n.borderColor&&(r.borderColor=n.borderColor)),n.textColor&&(r.textColor=n.textColor),n.classNames.length&&(r.classNames=n.classNames),Object.keys(t.extendedProps).length&&(e.collapseExtendedProps?Object.assign(r,t.extendedProps):r.extendedProps=t.extendedProps),r}toJSON(){return this.toPlainObject()}}function co(e){let t=e._def,n=e._instance;return{defs:{[t.defId]:t},instances:n?{[n.instanceId]:n}:{}}}function uo(e,t,n){let{defs:i,instances:o}=e,r=[],s=n?n.instanceId:"";for(let e in o){let n=o[e],a=i[n.defId];n.instanceId!==s&&r.push(new lo(t,a,n))}return r}function ho(e,t,n,i){let o={},r={},s={},a=[],l=[],c=mo(e.defs,t);for(let t in e.defs){let n=e.defs[t];"inverse-background"===c[n.defId].display&&(n.groupId?(o[n.groupId]=[],s[n.groupId]||(s[n.groupId]=n)):r[t]=[])}for(let t in e.instances){let s=e.instances[t],d=e.defs[s.defId],u=c[d.defId],h=s.range,f=!d.allDay&&i?ti(h,i):h,p=mi(f,n);p&&("inverse-background"===u.display?d.groupId?o[d.groupId].push(p):r[s.defId].push(p):"none"!==u.display&&("background"===u.display?a:l).push({def:d,ui:u,instance:s,range:p,isStart:f.start&&f.start.valueOf()===p.start.valueOf(),isEnd:f.end&&f.end.valueOf()===p.end.valueOf()}))}for(let e in o){let t=pi(o[e],n);for(let n of t){let t=s[e],i=c[t.defId];a.push({def:t,ui:i,instance:null,range:n,isStart:!1,isEnd:!1})}}for(let t in r){let i=pi(r[t],n);for(let n of i)a.push({def:e.defs[t],ui:c[t],instance:null,range:n,isStart:!1,isEnd:!1})}return{bg:a,fg:l}}function fo(e){return"background"===e.ui.display||"inverse-background"===e.ui.display}function po(e,t){e.fcSeg=t}function go(e){return e.fcSeg||e.parentNode.fcSeg||null}function mo(e,t){return St(e,(e=>vo(e,t)))}function vo(e,t){let n=[];return t[""]&&n.push(t[""]),t[e.defId]&&n.push(t[e.defId]),n.push(e.ui),Vn(n)}function yo(e,t){let n=e.map(bo);return n.sort(((e,n)=>it(e,n,t))),n.map((e=>e._seg))}function bo(e){let{eventRange:t}=e,n=t.def,i=t.instance?t.instance.range:t.range,o=i.start?i.start.valueOf():0,r=i.end?i.end.valueOf():0;return Object.assign(Object.assign(Object.assign({},n.extendedProps),n),{id:n.publicId,start:o,end:r,duration:r-o,allDay:Number(n.allDay),_seg:e})}function wo(e,t){let{pluginHooks:n}=t,i=n.isDraggableTransformers,{def:o,ui:r}=e.eventRange,s=r.startEditable;for(let e of i)s=e(s,o,r,t);return s}function xo(e,t){return e.isStart&&e.eventRange.ui.durationEditable&&t.options.eventResizableFromStart}function ko(e,t){return e.isEnd&&e.eventRange.ui.durationEditable}function Eo(e,t,n,i,o,r,s){let{dateEnv:a,options:l}=n,{displayEventTime:c,displayEventEnd:d}=l,u=e.eventRange.def,h=e.eventRange.instance;null==c&&(c=!1!==i),null==d&&(d=!1!==o);let f=h.range.start,p=h.range.end,g=r||e.start||e.eventRange.range.start,m=s||e.end||e.eventRange.range.end,v=Vt(f).valueOf()===Vt(g).valueOf(),y=Vt(jt(p,-1)).valueOf()===Vt(jt(m,-1)).valueOf();return c&&!u.allDay&&(v||y)?(g=v?f:g,m=y?p:m,d&&u.hasEnd?a.formatRange(g,m,t,{forcedStartTzo:r?null:h.forcedStartTzo,forcedEndTzo:s?null:h.forcedEndTzo}):a.format(g,t,{forcedTzo:r?null:h.forcedStartTzo})):""}function So(e,t,n){let i=e.eventRange.range;return{isPast:i.end<(n||t.start),isFuture:i.start>=(n||t.end),isToday:t&&wi(t,i.start)}}function Co(e){let t=["fc-event"];return e.isMirror&&t.push("fc-event-mirror"),e.isDraggable&&t.push("fc-event-draggable"),(e.isStartResizable||e.isEndResizable)&&t.push("fc-event-resizable"),e.isDragging&&t.push("fc-event-dragging"),e.isResizing&&t.push("fc-event-resizing"),e.isSelected&&t.push("fc-event-selected"),e.isStart&&t.push("fc-event-start"),e.isEnd&&t.push("fc-event-end"),e.isPast&&t.push("fc-event-past"),e.isToday&&t.push("fc-event-today"),e.isFuture&&t.push("fc-event-future"),t}function _o(e){return e.instance?e.instance.instanceId:`${e.def.defId}:${e.range.start.toISOString()}`}function Ao(e,t){let{def:n,instance:i}=e.eventRange,{url:o}=n;
vendor: 4,667 bytes, line 1
1if(o)return{href:o};let{emitter:r,options:s}=t,{eventInteractive:a}=s;return null==a&&(a=n.interactive,null==a&&(a=Boolean(r.hasHandlers("eventClick")))),a?Ge((e=>{r.trigger("eventClick",{el:e.target,event:new lo(t,n,i),jsEvent:e,view:t.viewApi})})):{}}const To={start:Mn,end:Mn,allDay:Boolean};function Do(e,t){return vi(e.range,t.range)&&e.allDay===t.allDay&&function(e,t){for(let n in t)if("range"!==n&&"allDay"!==n&&e[n]!==t[n])return!1;for(let n in e)if(!(n in t))return!1;return!0}(e,t)}function Mo(e,t,n){return Object.assign(Object.assign({},Po(e,t,n)),{timeZone:t.timeZone})}function Po(e,t,n){return{start:t.toDate(e.start),end:t.toDate(e.end),startStr:t.formatIso(e.start,{omitTime:n}),endStr:t.formatIso(e.end,{omitTime:n})}}let Oo={};var Ro;Ro=class{getMarkerYear(e){return e.getUTCFullYear()}getMarkerMonth(e){return e.getUTCMonth()}getMarkerDay(e){return e.getUTCDate()}arrayToMarker(e){return Qt(e)}markerToArray(e){return Yt(e)}},Oo.gregory=Ro;const Io=/^\s*(\d{4})(-?(\d{2})(-?(\d{2})([T ](\d{2}):?(\d{2})(:?(\d{2})(\.(\d+))?)?(Z|(([-+])(\d{2})(:?(\d{2}))?))?)?)?)?$/;function Lo(e){let t=Io.exec(e);if(t){let e=new Date(Date.UTC(Number(t[1]),t[3]?Number(t[3])-1:0,Number(t[5]||1),Number(t[7]||0),Number(t[8]||0),Number(t[10]||0),t[12]?1e3*Number(`0.${t[12]}`):0));if(Xt(e)){let n=null;return t[13]&&(n=("-"===t[15]?-1:1)*(60*Number(t[16]||0)+Number(t[18]||0))),{marker:e,isTimeUnspecified:!t[6],timeZoneOffset:n}}}return null}class No{constructor(e){let t=this.timeZone=e.timeZone,n="local"!==t&&"UTC"!==t;e.namedTimeZoneImpl&&n&&(this.namedTimeZoneImpl=new e.namedTimeZoneImpl(t)),this.canComputeOffset=Boolean(!n||this.namedTimeZoneImpl),this.calendarSystem=function(e){return new Oo[e]}(e.calendarSystem),this.locale=e.locale,this.weekDow=e.locale.week.dow,this.weekDoy=e.locale.week.doy,"ISO"===e.weekNumberCalculation&&(this.weekDow=1,this.weekDoy=4),"number"==typeof e.firstDay&&(this.weekDow=e.firstDay),"function"==typeof e.weekNumberCalculation&&(this.weekNumberFunc=e.weekNumberCalculation),this.weekText=null!=e.weekText?e.weekText:e.locale.options.weekText,this.weekTextLong=(null!=e.weekTextLong?e.weekTextLong:e.locale.options.weekTextLong)||this.weekText,this.cmdFormatter=e.cmdFormatter,this.defaultSeparator=e.defaultSeparator}createMarker(e){let t=this.createMarkerMeta(e);return null===t?null:t.marker}createNowMarker(){return this.canComputeOffset?this.timestampToMarker((new Date).valueOf()):Qt(qt(new Date))}createMarkerMeta(e){if("string"==typeof e)return this.parse(e);let t=null;return"number"==typeof e?t=this.timestampToMarker(e):e instanceof Date?(e=e.valueOf(),isNaN(e)||(t=this.timestampToMarker(e))):Array.isArray(e)&&(t=Qt(e)),null!==t&&Xt(t)?{marker:t,isTimeUnspecified:!1,forcedTzo:null}:null}parse(e){let t=Lo(e);if(null===t)return null;let{marker:n}=t,i=null;return null!==t.timeZoneOffset&&(this.canComputeOffset?n=this.timestampToMarker(n.valueOf()-60*t.timeZoneOffset*1e3):i=t.timeZoneOffset),{marker:n,isTimeUnspecified:t.isTimeUnspecified,forcedTzo:i}}getYear(e){return this.calendarSystem.getMarkerYear(e)}getMonth(e){return this.calendarSystem.getMarkerMonth(e)}getDay(e){return this.calendarSystem.getMarkerDay(e)}add(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t.years,n[1]+=t.months,n[2]+=t.days,n[6]+=t.milliseconds,this.calendarSystem.arrayToMarker(n)}subtract(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]-=t.years,n[1]-=t.months,n[2]-=t.days,n[6]-=t.milliseconds,this.calendarSystem.arrayToMarker(n)}addYears(e,t){let n=this.calendarSystem.markerToArray(e);return n[0]+=t,this.calendarSystem.arrayToMarker(n)}addMonths(e,t){let n=this.calendarSystem.markerToArray(e);return n[1]+=t,this.calendarSystem.arrayToMarker(n)}diffWholeYears(e,t){let{calendarSystem:n}=this;return Zt(e)===Zt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)&&n.getMarkerMonth(e)===n.getMarkerMonth(t)?n.getMarkerYear(t)-n.getMarkerYear(e):null}diffWholeMonths(e,t){let{calendarSystem:n}=this;return Zt(e)===Zt(t)&&n.getMarkerDay(e)===n.getMarkerDay(t)?n.getMarkerMonth(t)-n.getMarkerMonth(e)+12*(n.getMarkerYear(t)-n.getMarkerYear(e)):null}greatestWholeUnit(e,t){let n=this.diffWholeYears(e,t);return null!==n?{unit:"year",value:n}:(n=this.diffWholeMonths(e,t),null!==n?{unit:"month",value:n}:(n=Bt(e,t),null!==n?{unit:"week",value:n}:(n=Ft(e,t),null!==n?{unit:"day",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/36e5}(e,t),ct(n)?{unit:"hour",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/6e4}(e,t),ct(n)?{unit:"minute",value:n}:(n=function(e,t){return(t.valueOf()-e.valueOf())/1e3}(e,t),ct(n)?{unit:"second",value:n}:{unit:"millisecond",value:t.valueOf()-e.valueOf()}))))))}
1countDurationsBetween(e,t,n){let i;return n.years&&(i=this.diffWholeYears(e,t),null!==i)?i/(vt(n)/365):n.months&&(i=this.diffWholeMonths(e,t),null!==i)?i/function(e){return vt(e)/30}(n):n.days&&(i=Ft(e,t),null!==i)?i/vt(n):(t.valueOf()-e.valueOf())/yt(n)}startOf(e,t){return"year"===t?this.startOfYear(e):"month"===t?this.startOfMonth(e):"week"===t?this.startOfWeek(e):"day"===t?Vt(e):"hour"===t?function(e){return Qt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours()])}(e):"minute"===t?function(e){return Qt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes()])}(e):"second"===t?function(e){return Qt([e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds()])}(e):null}startOfYear(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e)])}startOfMonth(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e)])}startOfWeek(e){return this.calendarSystem.arrayToMarker([this.calendarSystem.getMarkerYear(e),this.calendarSystem.getMarkerMonth(e),e.getUTCDate()-(e.getUTCDay()-this.weekDow+7)%7])}computeWeekNumber(e){return this.weekNumberFunc?this.weekNumberFunc(this.toDate(e)):function(e,t,n){let i=e.getUTCFullYear(),o=Ut(e,i,t,n);if(o<1)return Ut(e,i-1,t,n);let r=Ut(e,i+1,t,n);return r>=1?Math.min(o,r):o}(e,this.weekDow,this.weekDoy)}format(e,t,n={}){return t.format({marker:e,timeZoneOffset:null!=n.forcedTzo?n.forcedTzo:this.offsetForMarker(e)},this)}formatRange(e,t,n,i={}){return i.isEndExclusive&&(t=jt(t,-1)),n.formatRange({marker:e,timeZoneOffset:null!=i.forcedStartTzo?i.forcedStartTzo:this.offsetForMarker(e)},{marker:t,timeZoneOffset:null!=i.forcedEndTzo?i.forcedEndTzo:this.offsetForMarker(t)},this,i.defaultSeparator)}formatIso(e,t={}){let n=null;return t.omitTimeZoneOffset||(n=null!=t.forcedTzo?t.forcedTzo:this.offsetForMarker(e)),Kt(e,n,t.omitTime)}timestampToMarker(e){return"local"===this.timeZone?Qt(qt(new Date(e))):"UTC"!==this.timeZone&&this.namedTimeZoneImpl?Qt(this.namedTimeZoneImpl.timestampToArray(e)):new Date(e)}offsetForMarker(e){return"local"===this.timeZone?-Gt(Yt(e)).getTimezoneOffset():"UTC"===this.timeZone?0:this.namedTimeZoneImpl?this.namedTimeZoneImpl.offsetForArray(Yt(e)):null}toDate(e,t){return"local"===this.timeZone?Gt(Yt(e)):"UTC"===this.timeZone?new Date(e.valueOf()):this.namedTimeZoneImpl?new Date(e.valueOf()-1e3*this.namedTimeZoneImpl.offsetForArray(Yt(e))*60):new Date(e.valueOf()-(t||0))}}class jo{constructor(){this.strictOrder=!1,this.allowReslicing=!1,this.maxCoord=-1,this.maxStackCnt=-1,this.levelCoords=[],this.entriesByLevel=[],this.stackCnts={}}addSegs(e){let t=[];for(let n of e)this.insertEntry(n,t);return t}insertEntry(e,t){let n=this.findInsertion(e);return this.isInsertionValid(n,e)?(this.insertEntryAt(e,n),1):this.handleInvalidInsertion(n,e,t)}isInsertionValid(e,t){return(-1===this.maxCoord||e.levelCoord+t.thickness<=this.maxCoord)&&(-1===this.maxStackCnt||e.stackCnt<this.maxStackCnt)}handleInvalidInsertion(e,t,n){return this.allowReslicing&&e.touchingEntry?this.splitEntry(t,e.touchingEntry,n):(n.push(t),0)}splitEntry(e,t,n){let i=0,o=[],r=e.span,s=t.span;return r.start<s.start&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:r.start,end:s.start}},o)),r.end>s.end&&(i+=this.insertEntry({index:e.index,thickness:e.thickness,span:{start:s.end,end:r.end}},o)),i?(n.push({index:e.index,thickness:e.thickness,span:Bo(s,r)},...o),i):(n.push(e),0)}insertEntryAt(e,t){let{entriesByLevel:n,levelCoords:i}=this;-1===t.lateral?(Fo(i,t.level,t.levelCoord),Fo(n,t.level,[e])):Fo(n[t.level],t.lateral,e),this.stackCnts[$o(e)]=t.stackCnt}findInsertion(e){let{levelCoords:t,entriesByLevel:n,strictOrder:i,stackCnts:o}=this,r=t.length,s=0,a=-1,l=-1,c=null,d=0;for(let u=0;u<r;u+=1){let r=t[u];if(!i&&r>=s+e.thickness)break;let h,f=n[u],p=Vo(f,e.span.start,Ho),g=p[0]+p[1];for(;(h=f[g])&&h.span.start<e.span.end;){let e=r+h.thickness;e>s&&(s=e,c=h,a=u,l=g),e===s&&(d=Math.max(d,o[$o(h)]+1)),g+=1}}let u=0;if(c)for(u=a+1;u<r&&t[u]<s;)u+=1;let h=-1;return u<r&&t[u]===s&&(h=Vo(n[u],e.span.end,Ho)[0]),{touchingLevel:a,touchingLateral:l,touchingEntry:c,stackCnt:d,levelCoord:s,level:u,lateral:h}}toRects(){let{entriesByLevel:e,levelCoords:t}=this,n=e.length,i=[];for(let o=0;o<n;o+=1){let n=e[o],r=t[o];for(let e of n)i.push(Object.assign(Object.assign({},e),{levelCoord:r}))}return i}}function Ho(e){return e.span.end}function $o(e){return e.index+":"+e.span.start}function zo(e){let t=[];for(let o of e){let e=[],r={span:o.span,entries:[o]};for(let o of t)Bo(o.span,r.span)?r={entries:o.entries.concat(r.entries),span:(n=o.span,i=r.span,{start:Math.min(n.start,i.start),end:Math.max(n.end,i.end)})}:e.push(o);e.push(r),t=e}var n,i;return t}function Bo(e,t){let n=Math.max(e.start,t.start),i=Math.min(e.end,t.end);return n<i?{start:n,end:i}:null}
1function Fo(e,t,n){e.splice(t,0,n)}function Vo(e,t,n){let i=0,o=e.length;if(!o||t<n(e[i]))return[0,0];if(t>n(e[o-1]))return[o,0];for(;i<o;){let r=Math.floor(i+(o-i)/2),s=n(e[r]);if(t<s)o=r;else{if(!(t>s))return[r,1];i=r+1}}return[i,0]}class Uo{constructor(e){this.component=e.component,this.isHitComboAllowed=e.isHitComboAllowed||null}destroy(){}}function Wo(e){return{[e.component.uid]:e}}const qo={};class Go{constructor(e,t){this.emitter=new Ni}destroy(){}setMirrorIsVisible(e){}setMirrorNeedsRevert(e){}setAutoScrollEnabled(e){}}const Yo={},Qo={startTime:ft,duration:ft,create:Boolean,sourceId:String};function Xo(e){let{refined:t,extra:n}=Dn(e,Qo);return{startTime:t.startTime||null,duration:t.duration||null,create:null==t.create||t.create,sourceId:t.sourceId,leftoverProps:n}}class Zo extends Xi{constructor(){super(...arguments),this.state={forPrint:!1},this.handleBeforePrint=()=>{this.setState({forPrint:!0})},this.handleAfterPrint=()=>{this.setState({forPrint:!1})}}render(){let{props:e}=this,{options:t}=e,{forPrint:n}=this.state,i=n||"auto"===t.height||"auto"===t.contentHeight,o=i||null==t.height?"":t.height,r=["fc",n?"fc-media-print":"fc-media-screen",`fc-direction-${t.direction}`,e.theme.getClass("root")];return di()||r.push("fc-liquid-hack"),e.children(r,o,i,n)}componentDidMount(){let{emitter:e}=this.props;e.on("_beforeprint",this.handleBeforePrint),e.on("_afterprint",this.handleAfterPrint)}componentWillUnmount(){let{emitter:e}=this.props;e.off("_beforeprint",this.handleBeforePrint),e.off("_afterprint",this.handleAfterPrint)}}function Ko(e,t){return bn(!e||t>10?{weekday:"short"}:t>1?{weekday:"short",month:"numeric",day:"numeric",omitCommas:!0}:{weekday:"long"})}const Jo="fc-col-header-cell";function er(e){return e.text}class tr extends Xi{constructor(){super(...arguments),this.id=Qe(),this.queuedDomNodes=[],this.currentDomNodes=[],this.handleEl=e=>{this.props.elRef&&Zi(this.props.elRef,e)}}render(){const{props:e,context:t}=this,{options:n}=t,{customGenerator:i,defaultGenerator:o,renderProps:r}=e,s=ir(e);let a,l,c=!1,d=[];if(null!=i){const e="function"==typeof i?i(r,g):i;if(!0===e)c=!0;else{const t=e&&"object"==typeof e;t&&"html"in e?s.dangerouslySetInnerHTML={__html:e.html}:t&&"domNodes"in e?d=Array.prototype.slice.call(e.domNodes):t||"function"==typeof e?l=e:a=e}}else c=!nr(e.generatorName,n);return c&&o&&(a=o(r)),this.queuedDomNodes=d,this.currentGeneratorMeta=l,g(e.elTag,s,a)}componentDidMount(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentDidUpdate(){this.applyQueueudDomNodes(),this.triggerCustomRendering(!0)}componentWillUnmount(){this.triggerCustomRendering(!1)}triggerCustomRendering(e){var t;const{props:n,context:i}=this,{handleCustomRendering:o,customRenderingMetaMap:r}=i.options;if(o){const i=null!==(t=this.currentGeneratorMeta)&&void 0!==t?t:null==r?void 0:r[n.generatorName];i&&o(Object.assign(Object.assign({id:this.id,isActive:e,containerEl:this.base,reportNewContainerEl:this.handleEl,generatorMeta:i},n),{elClasses:(n.elClasses||[]).filter(or)}))}}applyQueueudDomNodes(){const{queuedDomNodes:e,currentDomNodes:t}=this,n=this.base;if(!Rt(e,t)){t.forEach(Oe);for(let t of e)n.appendChild(t);this.currentDomNodes=e}}}function nr(e,t){var n;return Boolean(t.handleCustomRendering&&e&&(null===(n=t.customRenderingMetaMap)||void 0===n?void 0:n[e]))}function ir(e,t){const n=Object.assign(Object.assign({},e.elAttrs),{ref:e.elRef});return(e.elClasses||t)&&(n.className=(e.elClasses||[]).concat(t||[]).concat(n.className||[]).filter(Boolean).join(" ")),e.elStyle&&(n.style=e.elStyle),n}function or(e){return Boolean(e)}tr.addPropsEquality({elClasses:Rt,elStyle:At,elAttrs:function(e,t){const n=Dt(e,t);for(let e of n)if(!Tt.test(e))return!1;return!0},renderProps:At});const rr=Wi(0);class sr extends k{constructor(){super(...arguments),this.InnerContent=ar.bind(void 0,this),this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&Zi(this.props.elRef,e)}}render(){const{props:e}=this,t=function(e,t){const n="function"==typeof e?e(t):e||[];return"string"==typeof n?[n]:n}(e.classNameGenerator,e.renderProps);if(e.children){const n=ir(e,t),i=e.children(this.InnerContent,e.renderProps,n);return e.elTag?g(e.elTag,n,i):i}return g(tr,Object.assign(Object.assign({},e),{elRef:this.handleRootEl,elTag:e.elTag||"div",elClasses:(e.elClasses||[]).concat(t),renderId:this.context}))}componentDidMount(){var e,t;null===(t=(e=this.props).didMount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}componentWillUnmount(){var e,t;null===(t=(e=this.props).willUnmount)||void 0===t||t.call(e,Object.assign(Object.assign({},this.props.renderProps),{el:this.rootEl||this.base}))}}function ar(e,t){const n=e.props;return g(tr,Object.assign({renderProps:n.renderProps,generatorName:n.generatorName,customGenerator:n.customGenerator,defaultGenerator:n.defaultGenerator,renderId:e.context},t))}sr.contextType=rr;class lr extends Xi{render(){let{dateEnv:e,options:t,theme:n,viewApi:i}=this.context,{props:o}=this,{date:r,dateProfile:s}=o,a=xi(r,o.todayRange,null,s),l=[Jo].concat(ki(a,n)),c=e.format(r,o.dayHeaderFormat),d=!a.isDisabled&&o.colCnt>1?Ci(this.context,r):{},u=Object.assign(Object.assign(Object.assign({date:e.toDate(r),view:i},o.extraRenderProps),{text:c}),a);return g(sr,{elTag:"th",elClasses:l,elAttrs:Object.assign({role:"columnheader",colSpan:o.colSpan,"data-date":a.isDisabled?void 0:Jt(r)},o.extraDataAttrs),renderProps:u,generatorName:"dayHeaderContent",customGenerator:t.dayHeaderContent,defaultGenerator:er,classNameGenerator:t.dayHeaderClassNames,didMount:t.dayHeaderDidMount,willUnmount:t.dayHeaderWillUnmount},(e=>g("div",{className:"fc-scrollgrid-sync-inner"},!a.isDisabled&&g(e,{elTag:"a",elAttrs:d,elClasses:["fc-col-header-cell-cushion",o.isSticky&&"fc-sticky"]}))))}}const cr=bn({weekday:"long"});class dr extends Xi{render(){let{props:e}=this,{dateEnv:t,theme:n,viewApi:i,options:o}=this.context,r=Nt(new Date(2592e5),e.dow),s={dow:e.dow,isDisabled:!1,isFuture:!1,isPast:!1,isToday:!1,isOther:!1},a=t.format(r,e.dayHeaderFormat),l=Object.assign(Object.assign(Object.assign(Object.assign({date:r},s),{view:i}),e.extraRenderProps),{text:a});return g(sr,{elTag:"th",elClasses:[Jo,...ki(s,n),...e.extraClassNames||[]],elAttrs:Object.assign({role:"columnheader",colSpan:e.colSpan},e.extraDataAttrs),renderProps:l,generatorName:"dayHeaderContent",customGenerator:o.dayHeaderContent,defaultGenerator:er,classNameGenerator:o.dayHeaderClassNames,didMount:o.dayHeaderDidMount,willUnmount:o.dayHeaderWillUnmount},(n=>g("div",{className:"fc-scrollgrid-sync-inner"},g(n,{elTag:"a",elClasses:["fc-col-header-cell-cushion",e.isSticky&&"fc-sticky"],elAttrs:{"aria-label":t.format(r,cr)}}))))}}class ur extends k{constructor(e,t){super(e,t),this.initialNowDate=Ji(t.options.now,t.dateEnv),this.initialNowQueriedMs=(new Date).valueOf(),this.state=this.computeTiming().currentState}render(){let{props:e,state:t}=this;return e.children(t.nowDate,t.todayRange)}componentDidMount(){this.setTimeout()}componentDidUpdate(e){e.unit!==this.props.unit&&(this.clearTimeout(),this.setTimeout())}componentWillUnmount(){this.clearTimeout()}computeTiming(){let{props:e,context:t}=this,n=jt(this.initialNowDate,(new Date).valueOf()-this.initialNowQueriedMs),i=t.dateEnv.startOf(n,e.unit),o=t.dateEnv.add(i,ft(1,e.unit)),r=o.valueOf()-n.valueOf();return r=Math.min(864e5,r),{currentState:{nowDate:i,todayRange:hr(i)},nextState:{nowDate:o,todayRange:hr(o)},waitMs:r}}setTimeout(){let{nextState:e,waitMs:t}=this.computeTiming();this.timeoutId=setTimeout((()=>{this.setState(e,(()=>{this.setTimeout()}))}),t)}clearTimeout(){this.timeoutId&&clearTimeout(this.timeoutId)}}function hr(e){let t=Vt(e);return{start:t,end:Nt(t,1)}}ur.contextType=Gi;class fr extends Xi{constructor(){super(...arguments),this.createDayHeaderFormatter=on(pr)}render(){let{context:e}=this,{dates:t,dateProfile:n,datesRepDistinctDays:i,renderIntro:o}=this.props,r=this.createDayHeaderFormatter(e.options.dayHeaderFormat,i,t.length);return g(ur,{unit:"day"},((e,s)=>g("tr",{role:"row"},o&&o("day"),t.map((e=>i?g(lr,{key:e.toISOString(),date:e,dateProfile:n,todayRange:s,colCnt:t.length,dayHeaderFormat:r}):g(dr,{key:e.getUTCDay(),dow:e.getUTCDay(),dayHeaderFormat:r}))))))}}function pr(e,t,n){return e||Ko(t,n)}class gr{constructor(e,t){let n=e.start,{end:i}=e,o=[],r=[],s=-1;for(;n<i;
vendor: 6,306 bytes, line 1
1)t.isHiddenDay(n)?o.push(s+.5):(s+=1,o.push(s),r.push(n)),n=Nt(n,1);this.dates=r,this.indices=o,this.cnt=r.length}sliceRange(e){let t=this.getDateDayIndex(e.start),n=this.getDateDayIndex(Nt(e.end,-1)),i=Math.max(0,t),o=Math.min(this.cnt-1,n);return i=Math.ceil(i),o=Math.floor(o),i<=o?{firstIndex:i,lastIndex:o,isStart:t===i,isEnd:n===o}:null}getDateDayIndex(e){let{indices:t}=this,n=Math.floor($t(this.dates[0],e));return n<0?t[0]-1:n>=t.length?t[t.length-1]+1:t[n]}}class mr{constructor(e,t){let n,i,o,{dates:r}=e;if(t){for(i=r[0].getUTCDay(),n=1;n<r.length&&r[n].getUTCDay()!==i;n+=1);o=Math.ceil(r.length/n)}else o=1,n=r.length;this.rowCnt=o,this.colCnt=n,this.daySeries=e,this.cells=this.buildCells(),this.headerDates=this.buildHeaderDates()}buildCells(){let e=[];for(let t=0;t<this.rowCnt;t+=1){let n=[];for(let e=0;e<this.colCnt;e+=1)n.push(this.buildCell(t,e));e.push(n)}return e}buildCell(e,t){let n=this.daySeries.dates[e*this.colCnt+t];return{key:n.toISOString(),date:n}}buildHeaderDates(){let e=[];for(let t=0;t<this.colCnt;t+=1)e.push(this.cells[0][t].date);return e}sliceRange(e){let{colCnt:t}=this,n=this.daySeries.sliceRange(e),i=[];if(n){let{firstIndex:e,lastIndex:o}=n,r=e;for(;r<=o;){let s=Math.floor(r/t),a=Math.min((s+1)*t,o+1);i.push({row:s,firstCol:r%t,lastCol:(a-1)%t,isStart:n.isStart&&r===e,isEnd:n.isEnd&&a-1===o}),r=a}}return i}}class vr{constructor(){this.sliceBusinessHours=on(this._sliceBusinessHours),this.sliceDateSelection=on(this._sliceDateSpan),this.sliceEventStore=on(this._sliceEventStore),this.sliceEventDrag=on(this._sliceInteraction),this.sliceEventResize=on(this._sliceInteraction),this.forceDayIfListItem=!1}sliceProps(e,t,n,i,...o){let{eventUiBases:r}=e,s=this.sliceEventStore(e.eventStore,r,t,n,...o);return{dateSelectionSegs:this.sliceDateSelection(e.dateSelection,t,n,r,i,...o),businessHourSegs:this.sliceBusinessHours(e.businessHours,t,n,i,...o),fgEventSegs:s.fg,bgEventSegs:s.bg,eventDrag:this.sliceEventDrag(e.eventDrag,r,t,n,...o),eventResize:this.sliceEventResize(e.eventResize,r,t,n,...o),eventSelection:e.eventSelection}}sliceNowDate(e,t,n,i,...o){return this._sliceDateSpan({range:{start:e,end:jt(e,1)},allDay:!1},t,n,{},i,...o)}_sliceBusinessHours(e,t,n,i,...o){return e?this._sliceEventStore(On(e,yr(t,Boolean(n)),i),{},t,n,...o).bg:[]}_sliceEventStore(e,t,n,i,...o){if(e){let r=ho(e,t,yr(n,Boolean(i)),i);return{bg:this.sliceEventRanges(r.bg,o),fg:this.sliceEventRanges(r.fg,o)}}return{bg:[],fg:[]}}_sliceInteraction(e,t,n,i,...o){if(!e)return null;let r=ho(e.mutatedEvents,t,yr(n,Boolean(i)),i);return{segs:this.sliceEventRanges(r.fg,o),affectedInstances:e.affectedEvents.instances,isEvent:e.isEvent}}_sliceDateSpan(e,t,n,i,o,...r){if(!e)return[];let s=yr(t,Boolean(n)),a=mi(e.range,s);if(a){let t=function(e,t,n){let i=Qn({editable:!1},n),o=Zn(i.refined,i.extra,"",e.allDay,!0,n);return{def:o,ui:vo(o,t),instance:Pn(o.defId,e.range),range:e.range,isStart:!0,isEnd:!0}}(e=Object.assign(Object.assign({},e),{range:a}),i,o),n=this.sliceRange(e.range,...r);for(let e of n)e.eventRange=t;return n}return[]}sliceEventRanges(e,t){let n=[];for(let i of e)n.push(...this.sliceEventRange(i,t));return n}sliceEventRange(e,t){let n=e.range;this.forceDayIfListItem&&"list-item"===e.ui.display&&(n={start:n.start,end:Nt(n.start,1)});let i=this.sliceRange(n,...t);for(let t of i)t.eventRange=e,t.isStart=e.isStart&&t.isStart,t.isEnd=e.isEnd&&t.isEnd;return i}}function yr(e,t){let n=e.activeRange;return t?n:{start:jt(n.start,e.slotMinTime.milliseconds),end:jt(n.end,e.slotMaxTime.milliseconds-864e5)}}function br(e,t,n){let i=n.options.eventDataTransform,o=t?t.eventDataTransform:null;return o&&(e=wr(e,o)),i&&(e=wr(e,i)),e}function wr(e,t){let n;if(t){n=[];for(let i of e){let e=t(i);e?n.push(e):null==e&&n.push(i)}}else n=e;return n}function xr(e,t,n){let{defs:i}=e,o=St(e.instances,(e=>i[e.defId].allDay?e:Object.assign(Object.assign({},e),{range:{start:n.createMarker(t.toDate(e.range.start,e.forcedStartTzo)),end:n.createMarker(t.toDate(e.range.end,e.forcedEndTzo))},forcedStartTzo:n.canComputeOffset?null:e.forcedStartTzo,forcedEndTzo:n.canComputeOffset?null:e.forcedEndTzo})));return{defs:i,instances:o}}function kr(e,t){return Hn(e,(e=>e.sourceId!==t))}function Er(e,t,n){let{instances:i}=e.mutatedEvents;for(let e in i)if(!bi(t.validRange,i[e].range))return!1;return Cr({eventDrag:e},n)}function Sr(e,t,n){return!!bi(t.validRange,e.range)&&Cr({dateSelection:e},n)}function Cr(e,t){let n=t.getCurrentData(),i=Object.assign({businessHours:n.businessHours,dateSelection:"",eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:"",eventDrag:null,eventResize:null},e);return(t.pluginHooks.isPropsValid||_r)(i,t)}function _r(e,t,n={},i){return!(e.eventDrag&&!function(e,t,n,i){let o=t.getCurrentData(),r=e.eventDrag,s=r.mutatedEvents,a=s.defs,l=s.instances,c=mo(a,r.isEvent?e.eventUiBases:{"":o.selectionConfig});i&&(c=St(c,i));let d=(p=e.eventStore,g=r.affectedEvents.instances,{defs:p.defs,instances:Et(p.instances,(e=>!g[e.instanceId]))}),u=d.defs,h=d.instances,f=mo(u,e.eventUiBases);var p,g;for(let i in l){let s=l[i],p=s.range,g=c[s.defId],m=a[s.defId];if(!Ar(g.constraints,p,d,e.businessHours,t))return!1;let{eventOverlap:v}=t.options,y="function"==typeof v?v:null;for(let e in h){let n=h[e];if(yi(p,n.range)){if(!1===f[n.defId].overlap&&r.isEvent)return!1;if(!1===g.overlap)return!1;if(y&&!y(new lo(t,u[n.defId],n),new lo(t,m,s)))return!1}}let b=o.eventStore;for(let e of g.allows){let o,r=Object.assign(Object.assign({},n),{range:s.range,allDay:m.allDay}),a=b.defs[m.defId],l=b.instances[i];if(o=a?new lo(t,a,l):new lo(t,m),!e(no(r,t),o))return!1}}return!0}(e,t,n,i)||e.dateSelection&&!function(e,t,n,i){let o=e.eventStore,r=o.defs,s=o.instances,a=e.dateSelection,l=a.range,{selectionConfig:c}=t.getCurrentData();if(i&&(c=i(c)),!Ar(c.constraints,l,o,e.businessHours,t))return!1;let{selectOverlap:d}=t.options,u="function"==typeof d?d:null;for(let e in s){let n=s[e];if(yi(l,n.range)){if(!1===c.overlap)return!1;if(u&&!u(new lo(t,r[n.defId],n),null))return!1}}for(let e of c.allows)if(!e(no(Object.assign(Object.assign({},n),a),t),null))return!1;return!0}(e,t,n,i))}function Ar(e,t,n,i,o){for(let r of e)if(!Mr(Tr(r,t,n,i,o),t))return!1;return!0}function Tr(e,t,n,i,o){return"businessHours"===e?Dr(On(i,t,o)):"string"==typeof e?Dr(Hn(n,
vendor: 6,365 bytes, line 1
1(t=>t.groupId===e))):"object"==typeof e&&e?Dr(On(e,t,o)):[]}function Dr(e){let{instances:t}=e,n=[];for(let e in t)n.push(t[e].range);return n}function Mr(e,t){for(let n of e)if(bi(n,t))return!0;return!1}class Pr extends Error{constructor(e,t){super(e),this.response=t}}function Or(e,t,n){const i={method:e=e.toUpperCase()};return"GET"===e?t+=(-1===t.indexOf("?")?"?":"&")+new URLSearchParams(n):(i.body=new URLSearchParams(n),i.headers={"Content-Type":"application/x-www-form-urlencoded"}),fetch(t,i).then((e=>{if(e.ok)return e.json().then((t=>[t,e]),(()=>{throw new Pr("Failure parsing JSON",e)}));throw new Pr("Request failed",e)}))}class Rr{constructor(e){this.drainedOption=e,this.isRunning=!1,this.isDirty=!1,this.pauseDepths={},this.timeoutId=0}request(e){this.isDirty=!0,this.isPaused()||(this.clearTimeout(),null==e?this.tryDrain():this.timeoutId=setTimeout(this.tryDrain.bind(this),e))}pause(e=""){let{pauseDepths:t}=this;t[e]=(t[e]||0)+1,this.clearTimeout()}resume(e="",t){let{pauseDepths:n}=this;e in n&&(t?delete n[e]:(n[e]-=1,n[e]<=0&&delete n[e]),this.tryDrain())}isPaused(){return Object.keys(this.pauseDepths).length}tryDrain(){if(!this.isRunning&&!this.isPaused()){for(this.isRunning=!0;this.isDirty;)this.isDirty=!1,this.drained();this.isRunning=!1}}clear(){this.clearTimeout(),this.isDirty=!1,this.pauseDepths={}}clearTimeout(){this.timeoutId&&(clearTimeout(this.timeoutId),this.timeoutId=0)}drained(){this.drainedOption&&this.drainedOption()}}const Ir=/^(visible|hidden)$/;class Lr extends Xi{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,Zi(this.props.elRef,e)}}render(){let{props:e}=this,{liquid:t,liquidIsAbsolute:n}=e,i=t&&n,o=["fc-scroller"];return t&&(n?o.push("fc-scroller-liquid-absolute"):o.push("fc-scroller-liquid")),g("div",{ref:this.handleEl,className:o.join(" "),style:{overflowX:e.overflowX,overflowY:e.overflowY,left:i&&-(e.overcomeLeft||0)||"",right:i&&-(e.overcomeRight||0)||"",bottom:i&&-(e.overcomeBottom||0)||"",marginLeft:!i&&-(e.overcomeLeft||0)||"",marginRight:!i&&-(e.overcomeRight||0)||"",marginBottom:!i&&-(e.overcomeBottom||0)||"",maxHeight:e.maxHeight||""}},e.children)}needsXScrolling(){if(Ir.test(this.props.overflowX))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().width-this.getYScrollbarWidth(),{children:n}=e;for(let e=0;e<n.length;e+=1)if(n[e].getBoundingClientRect().width>t)return!0;return!1}needsYScrolling(){if(Ir.test(this.props.overflowY))return!1;let{el:e}=this,t=this.el.getBoundingClientRect().height-this.getXScrollbarWidth(),{children:n}=e;for(let e=0;e<n.length;e+=1)if(n[e].getBoundingClientRect().height>t)return!0;return!1}getXScrollbarWidth(){return Ir.test(this.props.overflowX)?0:this.el.offsetHeight-this.el.clientHeight}getYScrollbarWidth(){return Ir.test(this.props.overflowY)?0:this.el.offsetWidth-this.el.clientWidth}}class Nr{constructor(e){this.masterCallback=e,this.currentMap={},this.depths={},this.callbackMap={},this.handleValue=(e,t)=>{let{depths:n,currentMap:i}=this,o=!1,r=!1;null!==e?(o=t in i,i[t]=e,n[t]=(n[t]||0)+1,r=!0):(n[t]-=1,n[t]||(delete i[t],delete this.callbackMap[t],o=!0)),this.masterCallback&&(o&&this.masterCallback(null,String(t)),r&&this.masterCallback(e,String(t)))}}createRef(e){let t=this.callbackMap[e];return t||(t=this.callbackMap[e]=t=>{this.handleValue(t,String(e))}),t}collect(e,t,n){return Ot(this.currentMap,e,t,n)}getAll(){return _t(this.currentMap)}}function jr(e){let t=Le(e,".fc-scrollgrid-shrink"),n=0;for(let e of t)n=Math.max(n,dt(e));return Math.ceil(n)}function Hr(e,t){return e.liquid&&t.liquid}function $r(e,t){return null!=t.maxHeight||Hr(e,t)}function zr(e,t,n,i){let{expandRows:o}=n;return"function"==typeof t.content?t.content(n):g("table",{role:"presentation",className:[t.tableClassName,e.syncRowHeights?"fc-scrollgrid-sync-table":""].join(" "),style:{minWidth:n.tableMinWidth,width:n.clientWidth,height:o?n.clientHeight:""}},n.tableColGroupNode,g(i?"thead":"tbody",{role:"presentation"},"function"==typeof t.rowContent?t.rowContent(n):t.rowContent))}function Br(e,t){return Rt(e,t,At)}function Fr(e,t){let n=[];for(let i of e){let e=i.span||1;for(let o=0;o<e;o+=1)n.push(g("col",{style:{width:"shrink"===i.width?Vr(t):i.width||"",minWidth:i.minWidth||""}}))}return g("colgroup",{},...n)}function Vr(e){return null==e?4:e}function Ur(e){for(let t of e)if("shrink"===t.width)return!0;return!1}function Wr(e,t){let n=["fc-scrollgrid",t.theme.getClass("table")];return e&&n.push("fc-scrollgrid-liquid"),n}function qr(e,t){let n=["fc-scrollgrid-section",`fc-scrollgrid-section-${e.type}`,e.className];return t&&e.liquid&&null==e.maxHeight&&n.push("fc-scrollgrid-section-liquid"),e.isSticky&&n.push("fc-scrollgrid-section-sticky"),n}function Gr(e){return g("div",{className:"fc-scrollgrid-sticky-shim",style:{width:e.clientWidth,minWidth:e.tableMinWidth}})}function Yr(e){let{stickyHeaderDates:t}=e;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}function Qr(e){let{stickyFooterScrollbar:t}=e;return null!=t&&"auto"!==t||(t="auto"===e.height||"auto"===e.viewHeight),t}class Xr extends Xi{constructor(){super(...arguments),this.processCols=on((e=>e),Br),this.renderMicroColGroup=on(Fr),this.scrollerRefs=new Nr,this.scrollerElRefs=new Nr(this._handleScrollerEl.bind(this)),this.state={shrinkWidth:null,forceYScrollbars:!1,scrollerClientWidths:{},scrollerClientHeights:{}},this.handleSizing=()=>{this.safeSetState(Object.assign({shrinkWidth:this.computeShrinkWidth()},this.computeScrollerDims()))}}render(){let{props:e,state:t,context:n}=this,i=e.sections||[],o=this.processCols(e.cols),r=this.renderMicroColGroup(o,t.shrinkWidth),s=Wr(e.liquid,n);e.collapsibleWidth&&s.push("fc-scrollgrid-collapsible");let a,l=i.length,c=0,d=[],u=[],h=[];for(;c<l&&"header"===(a=i[c]).type;)d.push(this.renderSection(a,r,!0)),c+=1;for(;c<l&&"body"===(a=i[c]).type;)u.push(this.renderSection(a,r,!1)),c+=1;for(;c<l&&"footer"===(a=i[c]).type;)h.push(this.renderSection(a,r,!0)),c+=1;let f=!di();const p={role:"rowgroup"};return g("table",{role:"grid",className:s.join(" "),style:{height:e.height}},Boolean(!f&&d.length)&&g("thead",p,...d),Boolean(!f&&u.length)&&g("tbody",p,...u),Boolean(!f&&h.length)&&g("tfoot",p,...h),f&&g("tbody",p,...d,...u,...h))}renderSection(e,t,n){return"outerContent"in e?g(v,{key:e.key},e.outerContent):g("tr",{key:e.key,role:"presentation",className:qr(e,this.props.liquid
1).join(" ")},this.renderChunkTd(e,t,e.chunk,n))}renderChunkTd(e,t,n,i){if("outerContent"in n)return n.outerContent;let{props:o}=this,{forceYScrollbars:r,scrollerClientWidths:s,scrollerClientHeights:a}=this.state,l=$r(o,e),c=Hr(o,e),d=o.liquid?r?"scroll":l?"auto":"hidden":"visible",u=e.key,h=zr(e,n,{tableColGroupNode:t,tableMinWidth:"",clientWidth:o.collapsibleWidth||void 0===s[u]?null:s[u],clientHeight:void 0!==a[u]?a[u]:null,expandRows:e.expandRows,syncRowHeights:!1,rowSyncHeights:[],reportRowHeightChange:()=>{}},i);return g(i?"th":"td",{ref:n.elRef,role:"presentation"},g("div",{className:"fc-scroller-harness"+(c?" fc-scroller-harness-liquid":"")},g(Lr,{ref:this.scrollerRefs.createRef(u),elRef:this.scrollerElRefs.createRef(u),overflowY:d,overflowX:o.liquid?"hidden":"visible",maxHeight:e.maxHeight,liquid:c,liquidIsAbsolute:!0},h)))}_handleScrollerEl(e,t){let n=function(e,t){for(let n of e)if(n.key===t)return n;return null}(this.props.sections,t);n&&Zi(n.chunk.scrollerElRef,e)}componentDidMount(){this.handleSizing(),this.context.addResizeHandler(this.handleSizing)}componentDidUpdate(){this.handleSizing()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}computeShrinkWidth(){return Ur(this.props.cols)?jr(this.scrollerElRefs.getAll()):0}computeScrollerDims(){let e=Di(),{scrollerRefs:t,scrollerElRefs:n}=this,i=!1,o={},r={};for(let e in t.currentMap){let n=t.currentMap[e];if(n&&n.needsYScrolling()){i=!0;break}}for(let t of this.props.sections){let s=t.key,a=n.currentMap[s];if(a){let t=a.parentNode;o[s]=Math.floor(t.getBoundingClientRect().width-(i?e.y:0)),r[s]=Math.floor(t.getBoundingClientRect().height)}}return{forceYScrollbars:i,scrollerClientWidths:o,scrollerClientHeights:r}}}Xr.addStateEquality({scrollerClientWidths:At,scrollerClientHeights:At});class Zr extends Xi{constructor(){super(...arguments),this.handleEl=e=>{this.el=e,e&&po(e,this.props.seg)}}render(){const{props:e,context:t}=this,{options:n}=t,{seg:i}=e,{eventRange:o}=i,{ui:r}=o,s={event:new lo(t,o.def,o.instance),view:t.viewApi,timeText:e.timeText,textColor:r.textColor,backgroundColor:r.backgroundColor,borderColor:r.borderColor,isDraggable:!e.disableDragging&&wo(i,t),isStartResizable:!e.disableResizing&&xo(i,t),isEndResizable:!e.disableResizing&&ko(i),isMirror:Boolean(e.isDragging||e.isResizing||e.isDateSelecting),isStart:Boolean(i.isStart),isEnd:Boolean(i.isEnd),isPast:Boolean(e.isPast),isFuture:Boolean(e.isFuture),isToday:Boolean(e.isToday),isSelected:Boolean(e.isSelected),isDragging:Boolean(e.isDragging),isResizing:Boolean(e.isResizing)};return g(sr,Object.assign({},e,{elRef:this.handleEl,elClasses:[...Co(s),...i.eventRange.ui.classNames,...e.elClasses||[]],renderProps:s,generatorName:"eventContent",customGenerator:n.eventContent,defaultGenerator:e.defaultGenerator,classNameGenerator:n.eventClassNames,didMount:n.eventDidMount,willUnmount:n.eventWillUnmount}))}componentDidUpdate(e){this.el&&this.props.seg!==e.seg&&po(this.el,this.props.seg)}}class Kr extends Xi{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,{ui:o}=i.eventRange,r=Eo(i,n.eventTimeFormat||e.defaultTimeFormat,t,e.defaultDisplayEventTime,e.defaultDisplayEventEnd);return g(Zr,Object.assign({},e,{elTag:"a",elStyle:{borderColor:o.borderColor,backgroundColor:o.backgroundColor},elAttrs:Ao(i,t),defaultGenerator:Jr,timeText:r}),((e,t)=>g(v,null,g(e,{elTag:"div",elClasses:["fc-event-main"],elStyle:{color:t.textColor}}),Boolean(t.isStartResizable)&&g("div",{className:"fc-event-resizer fc-event-resizer-start"}),Boolean(t.isEndResizable)&&g("div",{className:"fc-event-resizer fc-event-resizer-end"}))))}}function Jr(e){return g("div",{className:"fc-event-main-frame"},e.timeText&&g("div",{className:"fc-event-time"},e.timeText),g("div",{className:"fc-event-title-container"},g("div",{className:"fc-event-title fc-sticky"},e.event.title||g(v,null,"Â "))))}const es=e=>g(Gi.Consumer,null,(t=>{let{options:n}=t,i={isAxis:e.isAxis,date:t.dateEnv.toDate(e.date),view:t.viewApi};return g(sr,Object.assign({},e,{elTag:e.elTag||"div",renderProps:i,generatorName:"nowIndicatorContent",customGenerator:n.nowIndicatorContent,classNameGenerator:n.nowIndicatorClassNames,didMount:n.nowIndicatorDidMount,willUnmount:n.nowIndicatorWillUnmount}))})),ts=bn({day:"numeric"});
vendor: 8,329 bytes, line 1
1class ns extends Xi{constructor(){super(...arguments),this.refineRenderProps=rn(os)}render(){let{props:e,context:t}=this,{options:n}=t,i=this.refineRenderProps({date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,isMonthStart:e.isMonthStart||!1,showDayNumber:e.showDayNumber,extraRenderProps:e.extraRenderProps,viewApi:t.viewApi,dateEnv:t.dateEnv,monthStartFormat:n.monthStartFormat});return g(sr,Object.assign({},e,{elClasses:[...ki(i,t.theme),...e.elClasses||[]],elAttrs:Object.assign(Object.assign({},e.elAttrs),i.isDisabled?{}:{"data-date":Jt(e.date)}),renderProps:i,generatorName:"dayCellContent",customGenerator:n.dayCellContent,defaultGenerator:e.defaultGenerator,classNameGenerator:i.isDisabled?void 0:n.dayCellClassNames,didMount:n.dayCellDidMount,willUnmount:n.dayCellWillUnmount}))}}function is(e){return Boolean(e.dayCellContent||nr("dayCellContent",e))}function os(e){let{date:t,dateEnv:n,dateProfile:i,isMonthStart:o}=e,r=xi(t,e.todayRange,null,i),s=e.showDayNumber?n.format(t,o?e.monthStartFormat:ts):"";return Object.assign(Object.assign(Object.assign({date:n.toDate(t),view:e.viewApi},r),{isMonthStart:o,dayNumberText:s}),e.extraRenderProps)}class rs extends Xi{render(){let{props:e}=this,{seg:t}=e;return g(Zr,{elTag:"div",elClasses:["fc-bg-event"],elStyle:{backgroundColor:t.eventRange.ui.backgroundColor},defaultGenerator:ss,seg:t,timeText:"",isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,isPast:e.isPast,isFuture:e.isFuture,isToday:e.isToday,disableDragging:!0,disableResizing:!0})}}function ss(e){let{title:t}=e.event;return t&&g("div",{className:"fc-event-title"},e.event.title)}function as(e){return g("div",{className:`fc-${e}`})}const ls=e=>g(Gi.Consumer,null,(t=>{let{dateEnv:n,options:i}=t,{date:o}=e,r=i.weekNumberFormat||e.defaultFormat,s={num:n.computeWeekNumber(o),text:n.format(o,r),date:o};return g(sr,Object.assign({},e,{renderProps:s,generatorName:"weekNumberContent",customGenerator:i.weekNumberContent,defaultGenerator:cs,classNameGenerator:i.weekNumberClassNames,didMount:i.weekNumberDidMount,willUnmount:i.weekNumberWillUnmount}))}));function cs(e){return e.text}class ds extends Xi{constructor(){super(...arguments),this.state={titleId:Be()},this.handleRootEl=e=>{this.rootEl=e,this.props.elRef&&Zi(this.props.elRef,e)},this.handleDocumentMouseDown=e=>{const t=$e(e);this.rootEl.contains(t)||this.handleCloseClick()},this.handleDocumentKeyDown=e=>{"Escape"===e.key&&this.handleCloseClick()},this.handleCloseClick=()=>{let{onClose:e}=this.props;e&&e()}}render(){let{theme:e,options:t}=this.context,{props:n,state:i}=this,o=["fc-popover",e.getClass("popover")].concat(n.extraClassNames||[]);return pe(g("div",Object.assign({},n.extraAttrs,{id:n.id,className:o.join(" "),"aria-labelledby":i.titleId,ref:this.handleRootEl}),g("div",{className:"fc-popover-header "+e.getClass("popoverHeader")},g("span",{className:"fc-popover-title",id:i.titleId},n.title),g("span",{className:"fc-popover-close "+e.getIconClass("close"),title:t.closeHint,onClick:this.handleCloseClick})),g("div",{className:"fc-popover-body "+e.getClass("popoverContent")},n.children)),n.parentEl)}componentDidMount(){document.addEventListener("mousedown",this.handleDocumentMouseDown),document.addEventListener("keydown",this.handleDocumentKeyDown),this.updateSize()}componentWillUnmount(){document.removeEventListener("mousedown",this.handleDocumentMouseDown),document.removeEventListener("keydown",this.handleDocumentKeyDown)}updateSize(){let{isRtl:e}=this.context,{alignmentEl:t,alignGridTop:n}=this.props,{rootEl:i}=this,o=function(e){let t=Ii(e),n=e.getBoundingClientRect();for(let e of t){let t=ri(n,e.getBoundingClientRect());if(!t)return null;n=t}return n}(t);if(o){let r=i.getBoundingClientRect(),s=n?Re(t,".fc-scrollgrid").getBoundingClientRect().top:o.top,a=e?o.right-r.width:o.left;s=Math.max(s,10),a=Math.min(a,document.documentElement.clientWidth-10-r.width),a=Math.max(a,10);let l=i.offsetParent.getBoundingClientRect();je(i,{top:s-l.top,left:a-l.left})}}}class us extends Ki{constructor(){super(...arguments),this.handleRootEl=e=>{this.rootEl=e,e?this.context.registerInteractiveComponent(this,{el:e,useEventCenter:!1}):this.context.unregisterInteractiveComponent(this)}}render(){let{options:e,dateEnv:t}=this.context,{props:n}=this,{startDate:i,todayRange:o,dateProfile:r}=n,s=t.format(i,e.dayPopoverFormat);return g(ns,{elRef:this.handleRootEl,date:i,dateProfile:r,todayRange:o},((t,i,o)=>g(ds,{elRef:o.ref,id:n.id,title:s,extraClassNames:["fc-more-popover"].concat(o.className||[]),extraAttrs:o,parentEl:n.parentEl,alignmentEl:n.alignmentEl,alignGridTop:n.alignGridTop,onClose:n.onClose},is(e)&&g(t,{elTag:"div",elClasses:["fc-more-popover-misc"]}),n.children)))}queryHit(e,t,n,i){let{rootEl:o,props:r}=this;return e>=0&&e<n&&t>=0&&t<i?{dateProfile:r.dateProfile,dateSpan:Object.assign({allDay:!r.forceTimed,range:{start:r.startDate,end:r.endDate}},r.extraDateSpan),dayEl:o,rect:{left:0,top:0,right:n,bottom:i},layer:1}:null}}class hs extends Xi{constructor(){super(...arguments),this.state={isPopoverOpen:!1,popoverId:Be()},this.handleLinkEl=e=>{this.linkEl=e,this.props.elRef&&Zi(this.props.elRef,e)},this.handleClick=e=>{let{props:t,context:n}=this,{moreLinkClick:i}=n.options,o=ps(t).start;function r(e){let{def:t,instance:i,range:o}=e.eventRange;return{event:new lo(n,t,i),start:n.dateEnv.toDate(o.start),end:n.dateEnv.toDate(o.end),isStart:e.isStart,isEnd:e.isEnd}}"function"==typeof i&&(i=i({date:o,allDay:Boolean(t.allDayDate),allSegs:t.allSegs.map(r),hiddenSegs:t.hiddenSegs.map(r),jsEvent:e,view:n.viewApi})),i&&"popover"!==i?"string"==typeof i&&n.calendarApi.zoomTo(o,i):this.setState({isPopoverOpen:!0})},this.handlePopoverClose=()=>{this.setState({isPopoverOpen:!1})}}render(){let{props:e,state:t}=this;return g(Gi.Consumer,null,(n=>{let{viewApi:i,options:o,calendarApi:r}=n,{moreLinkText:s}=o,{moreCnt:a}=e,l=ps(e),c="function"==typeof s?s.call(r,a):`+${a} ${s}`,d=at(o.moreLinkHint,[a],c),u={num:a,shortText:`+${a}`,text:c,view:i};return g(v,null,Boolean(e.moreCnt)&&g(sr,{elTag:e.elTag||"a",elRef:this.handleLinkEl,elClasses:[...e.elClasses||[],"fc-more-link"],elStyle:e.elStyle,elAttrs:Object.assign(Object.assign(Object.assign({},e.elAttrs),qe(this.handleClick)),{title:d,"aria-expanded":t.isPopoverOpen,"aria-controls":t.isPopoverOpen?t.popoverId:""}),renderProps:u,generatorName:"moreLinkContent",customGenerator:o.moreLinkContent,defaultGenerator:e.defaultGenerator||fs,classNameGenerator:o.moreLinkClassNames,didMount:o.moreLinkDidMount,willUnmount:o.moreLinkWillUnmount},e.children),t.isPopoverOpen&&g(us,{id:t.popoverId,startDate:l.start,endDate:l.end,dateProfile:e.dateProfile,todayRange:e.todayRange,extraDateSpan:e.extraDateSpan,parentEl:this.parentEl,alignmentEl:e.alignmentElRef?e.alignmentElRef.current:this.linkEl,alignGridTop:e.alignGridTop,forceTimed:e.forceTimed,onClose:this.handlePopoverClose},e.popoverContent()))}))}componentDidMount(){this.updateParentEl()}componentDidUpdate(){this.updateParentEl()}updateParentEl(){this.linkEl&&(this.parentEl=Re(this.linkEl,".fc-view-harness"))}}function fs(e){return e.text}function ps(e){if(e.allDayDate)return{start:e.allDayDate,end:Nt(e.allDayDate,1)};let{hiddenSegs:t}=e;return{start:gs(t),end:(n=t,n.reduce(vs).eventRange.range.end)};var n}function gs(e){return e.reduce(ms).eventRange.range.start}function ms(e,t){return e.eventRange.range.start<t.eventRange.range.start?e:t}function vs(e,t){return e.eventRange.range.end>t.eventRange.range.end?e:t}class ys extends Xi{render(){let{props:e,context:t}=this,{options:n}=t,i={view:t.viewApi};return g(sr,Object.assign({},e,{elTag:e.elTag||"div",elClasses:[...bs(e.viewSpec),...e.elClasses||[]],renderProps:i,classNameGenerator:n.viewClassNames,generatorName:void 0,didMount:n.viewDidMount,willUnmount:n.viewWillUnmount}),(()=>e.children))}}function bs(e){return[`fc-${e.type}-view`,"fc-view"]}const ws={id:String,defaultAllDay:Boolean,url:String,format:String,events:Mn,eventDataTransform:Mn,success:Mn,failure:Mn};function xs(e,t,n=ks(t)){let i;if("string"==typeof e?i={url:e}:"function"==typeof e||Array.isArray(e)?i={events:e}:"object"==typeof e&&e&&(i=e),i){let{refined:o,extra:r}=Dn(i,n),s=function(e,t){let n=t.pluginHooks.eventSourceDefs;for(let t=n.length-1;t>=0;t-=1){let i=n[t].parseMeta(e);if(i)return{sourceDefId:t,meta:i}}return null}(o,t);
vendor: 10,823 bytes, line 1
1if(s)return{_raw:e,isFetching:!1,latestFetchId:"",fetchRange:null,defaultAllDay:o.defaultAllDay,eventDataTransform:o.eventDataTransform,success:o.success,failure:o.failure,publicId:o.id||"",sourceId:Qe(),sourceDefId:s.sourceDefId,meta:s.meta,ui:Fn(o,t),extendedProps:r}}return null}function ks(e){return Object.assign(Object.assign(Object.assign({},zn),ws),e.pluginHooks.eventSourceRefiners)}class Es{getCurrentData(){return this.currentDataManager.getCurrentData()}dispatch(e){this.currentDataManager.dispatch(e)}get view(){return this.getCurrentData().viewApi}batchRendering(e){e()}updateSize(){this.trigger("_resize",!0)}setOption(e,t){this.dispatch({type:"SET_OPTION",optionName:e,rawOptionValue:t})}getOption(e){return this.currentDataManager.currentCalendarOptionsInput[e]}getAvailableLocaleCodes(){return Object.keys(this.getCurrentData().availableRawLocales)}on(e,t){let{currentDataManager:n}=this;n.currentCalendarOptionsRefiners[e]?n.emitter.on(e,t):console.warn(`Unknown listener name '${e}'`)}off(e,t){this.currentDataManager.emitter.off(e,t)}trigger(e,...t){this.currentDataManager.emitter.trigger(e,...t)}changeView(e,t){this.batchRendering((()=>{if(this.unselect(),t)if(t.start&&t.end)this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e}),this.dispatch({type:"SET_OPTION",optionName:"visibleRange",rawOptionValue:t});else{let{dateEnv:n}=this.getCurrentData();this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e,dateMarker:n.createMarker(t)})}else this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:e})}))}zoomTo(e,t){let n;t=t||"day",n=this.getCurrentData().viewSpecs[t]||this.getUnitViewSpec(t),this.unselect(),n?this.dispatch({type:"CHANGE_VIEW_TYPE",viewType:n.type,dateMarker:e}):this.dispatch({type:"CHANGE_DATE",dateMarker:e})}getUnitViewSpec(e){let t,n,{viewSpecs:i,toolbarConfig:o}=this.getCurrentData(),r=[].concat(o.header?o.header.viewsWithButtons:[],o.footer?o.footer.viewsWithButtons:[]);for(let e in i)r.push(e);for(t=0;t<r.length;t+=1)if(n=i[r[t]],n&&n.singleUnit===e)return n;return null}prev(){this.unselect(),this.dispatch({type:"PREV"})}next(){this.unselect(),this.dispatch({type:"NEXT"})}prevYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,-1)})}nextYear(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:e.dateEnv.addYears(e.currentDate,1)})}today(){let e=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:Ji(e.calendarOptions.now,e.dateEnv)})}gotoDate(e){let t=this.getCurrentData();this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.createMarker(e)})}incrementDate(e){let t=this.getCurrentData(),n=ft(e);n&&(this.unselect(),this.dispatch({type:"CHANGE_DATE",dateMarker:t.dateEnv.add(t.currentDate,n)}))}getDate(){let e=this.getCurrentData();return e.dateEnv.toDate(e.currentDate)}formatDate(e,t){let{dateEnv:n}=this.getCurrentData();return n.format(n.createMarker(e),bn(t))}formatRange(e,t,n){let{dateEnv:i}=this.getCurrentData();return i.formatRange(i.createMarker(e),i.createMarker(t),bn(n),n)}formatIso(e,t){let{dateEnv:n}=this.getCurrentData();return n.formatIso(n.createMarker(e),{omitTime:t})}select(e,t){let n;n=null==t?null!=e.start?e:{start:e,end:null}:{start:e,end:t};let i=this.getCurrentData(),o=function(e,t,n){let i=function(e,t){let{refined:n,extra:i}=Dn(e,To),o=n.start?t.createMarkerMeta(n.start):null,r=n.end?t.createMarkerMeta(n.end):null,{allDay:s}=n;return null==s&&(s=o&&o.isTimeUnspecified&&(!r||r.isTimeUnspecified)),Object.assign({range:{start:o?o.marker:null,end:r?r.marker:null},allDay:s},i)}(e,t),{range:o}=i;if(!o.start)return null;if(!o.end){if(null==n)return null;o.end=t.add(o.start,n)}return i}(n,i.dateEnv,ft({days:1}));o&&(this.dispatch({type:"SELECT_DATES",selection:o}),to(o,null,i))}unselect(e){let t=this.getCurrentData();t.dateSelection&&(this.dispatch({type:"UNSELECT_DATES"}),function(e,t){t.emitter.trigger("unselect",{jsEvent:e?e.origEvent:null,view:t.viewApi||t.calendarApi.view})}(e,t))}addEvent(e,t){if(e instanceof lo){let t=e._def,n=e._instance;return this.getCurrentData().eventStore.defs[t.defId]||(this.dispatch({type:"ADD_EVENTS",eventStore:Ln({def:t,instance:n})}),this.triggerEventAdd(e)),e}let n,i=this.getCurrentData();if(t instanceof ao)n=t.internalEventSource;else if("boolean"==typeof t)t&&([n]=_t(i.eventSources));else if(null!=t){let e=this.getEventSourceById(t);if(!e)return console.warn(`Could not find an event source with ID "${t}"`),null;n=e.internalEventSource}let o=Yn(e,n,i,!1);if(o){let e=new lo(i,o.def,o.def.recurringDef?null:o.instance);return this.dispatch({type:"ADD_EVENTS",eventStore:Ln(o)}),this.triggerEventAdd(e),e}return null}triggerEventAdd(e){let{emitter:t}=this.getCurrentData();t.trigger("eventAdd",{event:e,relatedEvents:[],revert:()=>{this.dispatch({type:"REMOVE_EVENTS",eventStore:co(e)})}})}getEventById(e){let t=this.getCurrentData(),{defs:n,instances:i}=t.eventStore;e=String(e);for(let o in n){let r=n[o];if(r.publicId===e){if(r.recurringDef)return new lo(t,r,null);for(let e in i){let n=i[e];if(n.defId===r.defId)return new lo(t,r,n)}}}return null}getEvents(){let e=this.getCurrentData();return uo(e.eventStore,e)}removeAllEvents(){this.dispatch({type:"REMOVE_ALL_EVENTS"})}getEventSources(){let e=this.getCurrentData(),t=e.eventSources,n=[];for(let i in t)n.push(new ao(e,t[i]));return n}getEventSourceById(e){let t=this.getCurrentData(),n=t.eventSources;e=String(e);for(let i in n)if(n[i].publicId===e)return new ao(t,n[i]);return null}addEventSource(e){let t=this.getCurrentData();if(e instanceof ao)return t.eventSources[e.internalEventSource.sourceId]||this.dispatch({type:"ADD_EVENT_SOURCES",sources:[e.internalEventSource]}),e;let n=xs(e,t);return n?(this.dispatch({type:"ADD_EVENT_SOURCES",sources:[n]}),new ao(t,n)):null}removeAllEventSources(){this.dispatch({type:"REMOVE_ALL_EVENT_SOURCES"})}refetchEvents(){this.dispatch({type:"FETCH_EVENT_SOURCES",isRefetch:!0})}scrollToTime(e){let t=ft(e);t&&this.trigger("_scrollRequest",{time:t})}}class Ss{constructor(){this.handlers=[]}set(e){this.currentValue=e;for(let t of this.handlers)t(e)}subscribe(e){this.handlers.push(e),void 0!==this.currentValue&&e(this.currentValue)}}var Cs={__proto__:null,BASE_OPTION_DEFAULTS:xn,BaseComponent:Xi,BgEvent:rs,CalendarImpl:Es,CalendarRoot:Zo,ContentContainer:sr,CustomRenderingStore:class extends Ss{constructor(){super(...arguments),this.map=new Map}handle(e){const{map:t}=this;let n=!1;e.isActive?(t.set(e.id,e),n=!0):t.has(e.id)&&(t.delete(e.id),n=!0),n&&this.set(t)}},DateComponent:Ki,DateEnv:No,DateProfileGenerator:eo,DayCellContainer:ns,DayHeader:fr,DaySeriesModel:gr,DayTableModel:mr,DelayedRunner:Rr,ElementDragging:Go,ElementScrollController:zi,Emitter:Ni,EventContainer:Zr,EventImpl:lo,Interaction:Uo,MoreLinkContainer:hs,NamedTimeZoneImpl:class{constructor(e){this.timeZoneName=e}},NowIndicatorContainer:es,NowTimer:ur,PositionCache:ji,RefMap:Nr,ScrollController:$i,ScrollResponder:qi,Scroller:Lr,SegHierarchy:jo,SimpleScrollGrid:Xr,Slicer:vr,Splitter:hi,StandardEvent:Kr,TableDateCell:lr,TableDowCell:dr,Theme:Fi,ViewContainer:ys,ViewContextType:Gi,WeekNumberContainer:ls,WindowScrollController:Bi,addDays:Nt,addDurations:gt,addMs:jt,addWeeks:Lt,allowContextMenu:tt,allowSelection:Je,applyMutationToEventStore:oo,applyStyle:je,asCleanDays:function(e){return e.years||e.months||e.milliseconds?0:e.days},asRoughMinutes:function(e){return yt(e)/6e4},asRoughMs:yt,asRoughSeconds:function(e){return yt(e)/1e3},binarySearch:Vo,buildElAttrs:ir,buildEntryKey:$o,buildEventApis:uo,buildEventRangeKey:_o,buildIsoString:Kt,buildNavLinkAttrs:Ci,buildSegTimeText:Eo,collectFromHash:Ot,combineEventUis:Vn,compareByFieldSpecs:it,compareNumbers:lt,compareObjs:Mt,computeEarliestSegStart:gs,computeEdges:Pi,computeFallbackHeaderFormat:Ko,computeInnerRect:Oi,computeRect:Ri,computeShrinkWidth:jr,computeVisibleDayRange:ti,config:Yo,constrainPoint:si,createDuration:ft,createEmptyEventStore:function(){return{defs:{},instances:{}}},createEventInstance:Pn,createEventUi:Fn,createFormatter:bn,diffDates:ii,diffDayAndTime:zt,diffDays:$t,diffPoints:li,diffWeeks:Ht,diffWholeDays:Ft,diffWholeWeeks:Bt,disableCursor:Xe,elementClosest:Re,elementMatches:Ie,enableCursor:Ze,eventTupleToStore:Ln,filterHash:Et,findDirectChildren:function(e,t){let n=e instanceof HTMLElement?[e]:e,i=[];for(let e=0;e<n.length;e+=1){let o=n[e].children;for(let e=0;e<o.length;e+=1){let n=o[e];t&&!Ie(n,t)||i.push(n)}}return i},findElements:Le,flexibleCompare:rt,formatDayString:Jt,formatIsoMonthStr:en,formatIsoTimeString:tn,getAllowYScrolling:$r,getCanVGrowWithinCell:di,getClippingParents:Ii,getDateMeta:xi,getDayClassNames:ki,getDefaultEventEnd:io,getElSeg:go,getEntrySpanEnd:Ho,getEventTargetViaRoot:$e,getIsRtlScrollbarOnLeft:Ti,getRectCenter:ai,getRelevantEvents:Nn,getScrollGridClassNames:Wr,getScrollbarWidths:Di,getSectionClassNames:qr,getSectionHasLiquidHeight:Hr,getSegAnchorAttrs:Ao,getSegMeta:So,getSlotClassNames:function(e,t){let n=["fc-slot",`fc-slot-${It[e.dow]}`];return e.isDisabled?n.push("fc-slot-disabled"):(e.isToday&&(n.push("fc-slot-today"),n.push(t.getClass("today"))),e.isPast&&n.push("fc-slot-past"),e.isFuture&&n.push("fc-slot-future")),n},getStickyFooterScrollbar:Qr,getStickyHeaderDates:Yr,getUniqueDomId:Be,greatestDurationDenominator:wt,groupIntersectingEntries:zo,guid:Qe,hasBgRendering:fo,hasCustomDayCellContent:is,hasShrinkWidth:Ur,identity:Mn,injectStyles:Te,interactionSettingsStore:qo,interactionSettingsToStore:Wo,intersectRanges:mi,intersectRects:ri,intersectSpans:Bo,isArraysEqual:Rt,isColPropsEqual:Br,isDateSelectionValid:Sr,isDateSpansEqual:Do,isInt:ct,isInteractionValid:Er,isMultiDayRange:ni,isPropsEqual:At,isPropsValid:_r,isValidDate:Xt,mapHash:St,memoize:on,memoizeArraylike:function(e,t,n){let i=[],o=[];return r=>{let s=i.length,a=r.length,l=0;for(;l<s;l+=1)if(r[l]){if(!Rt(i[l],r[l])){n&&n(o[l]);let i=e.apply(this,r[l]);t&&t(i,o[l])||(o[l]=i)}}else n&&n(o[l]);for(;l<a;l+=1)o[l]=e.apply(this,r[l]);return i=r,o.splice(a),o}},memoizeHashlike:function(e,t,n){let i={},o={};return r=>{let s={};for(let a in r)if(o[a])if(Rt(i[a],r[a]))s[a]=o[a];else{n&&n(o[a]);let i=e.apply(this,r[a]);s[a]=t&&t(i,o[a])?o[a]:i}else s[a]=e.apply(this,r[a]);return i=r,o=s,s}},memoizeObjArg:rn,mergeEventStores:jn,multiplyDuration:mt,padStart:st,parseBusinessHours:Jn,parseClassNames:$n,parseDragMeta:Xo,parseEventDef:Zn,parseFieldSpecs:nt,parseMarker:Lo,pointInsideRect:oi,preventContextMenu:et,preventDefault:Fe,preventSelection:Ke,rangeContainsMarker:wi,rangeContainsRange:bi,rangesEqual:vi,rangesIntersect:yi,refineEventDef:Qn,refineProps:Dn,removeElement:Oe,removeExact:function(e,t){let n=0,i=0;for(;i<e.length;)e[i]===t?(e.splice(i,1),n+=1):i+=1;return n},renderChunkContent:zr,renderFill:as,renderMicroColGroup:Fr,render
1ScrollShim:Gr,requestJson:Or,sanitizeShrinkWidth:Vr,setRef:Zi,sliceEventStore:ho,sortEventSegs:yo,startOfDay:Vt,translateRect:function(e,t,n){return{left:e.left+t,right:e.right+t,top:e.top+n,bottom:e.bottom+n}},triggerDateSelect:to,unpromisify:Li,whenTransitionDone:We,wholeDivideDurations:bt},_s={__proto__:null,createPortal:pe,createContext:Wi,flushSync:Vi,Component:k,Fragment:v,cloneElement:function(e,n,i){var o,r,s,a=f({},e.props);for(s in n)"key"==s?o=n[s]:"ref"==s?r=n[s]:a[s]=n[s];return arguments.length>2&&(a.children=arguments.length>3?t.call(arguments,2):i),m(e.type,a,o||e.key,r||e.ref,null)},createElement:g,createRef:function(){return{current:null}},h:g,hydrate:function e(t,n){$(t,n,e)},get isValidElement(){return o},get options(){return n},render:$,toChildArray:M};const As=[],Ts={code:"en",week:{dow:0,doy:4},direction:"ltr",buttonText:{prev:"prev",next:"next",prevYear:"prev year",nextYear:"next year",year:"year",today:"today",month:"month",week:"week",day:"day",list:"list"},weekText:"W",weekTextLong:"Week",closeHint:"Close",timeHint:"Time",eventHint:"Event",allDayText:"all-day",moreLinkText:"more",noEventsText:"No events to display"},Ds=Object.assign(Object.assign({},Ts),{buttonHints:{prev:"Previous $0",next:"Next $0",today:(e,t)=>"day"===t?"Today":`This ${e}`},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`});function Ms(e){let t=e.length>0?e[0].code:"en",n=As.concat(e),i={en:Ds};for(let e of n)i[e.code]=e;return{map:i,defaultCode:t}}function Ps(e,t){return"object"!=typeof e||Array.isArray(e)?function(e,t){let n=[].concat(e||[]),i=function(e,t){for(let n=0;n<e.length;n+=1){let i=e[n].toLocaleLowerCase().split("-");for(let e=i.length;e>0;e-=1){let n=i.slice(0,e).join("-");if(t[n])return t[n]}}return null}(n,t)||Ds;return Os(e,n,i)}(e,t):Os(e.code,[e.code],e)}function Os(e,t,n){let i=kt([Ts,n],["buttonText"]);delete i.code;let{week:o}=i;return delete i.week,{codeArg:e,codes:t,week:o,simpleNumberFormat:new Intl.NumberFormat(e),options:i}}function Rs(e){return{id:Qe(),name:e.name,premiumReleaseDate:e.premiumReleaseDate?new Date(e.premiumReleaseDate):void 0,deps:e.deps||[],reducers:e.reducers||[],isLoadingFuncs:e.isLoadingFuncs||[],contextInit:[].concat(e.contextInit||[]),eventRefiners:e.eventRefiners||{},eventDefMemberAdders:e.eventDefMemberAdders||[],eventSourceRefiners:e.eventSourceRefiners||{},isDraggableTransformers:e.isDraggableTransformers||[],eventDragMutationMassagers:e.eventDragMutationMassagers||[],eventDefMutationAppliers:e.eventDefMutationAppliers||[],dateSelectionTransformers:e.dateSelectionTransformers||[],datePointTransforms:e.datePointTransforms||[],dateSpanTransforms:e.dateSpanTransforms||[],views:e.views||{},viewPropsTransformers:e.viewPropsTransformers||[],isPropsValid:e.isPropsValid||null,externalDefTransforms:e.externalDefTransforms||[],viewContainerAppends:e.viewContainerAppends||[],eventDropTransformers:e.eventDropTransformers||[],componentInteractions:e.componentInteractions||[],calendarInteractions:e.calendarInteractions||[],themeClasses:e.themeClasses||{},eventSourceDefs:e.eventSourceDefs||[],cmdFormatter:e.cmdFormatter,recurringTypes:e.recurringTypes||[],namedTimeZonedImpl:e.namedTimeZonedImpl,initialView:e.initialView||"",elementDraggingImpl:e.elementDraggingImpl,optionChangeHandlers:e.optionChangeHandlers||{},scrollGridImpl:e.scrollGridImpl||null,listenerRefiners:e.listenerRefiners||{},optionRefiners:e.optionRefiners||{},propSetHandlers:e.propSetHandlers||{}}}function Is(e,t){return void 0===e?t:void 0===t?e:new Date(Math.max(e.valueOf(),t.valueOf()))}class Ls extends Fi{}function Ns(e,t,n,i){if(t[e])return t[e];let o=function(e,t,n,i){let o=n[e],r=i[e],s=e=>o&&null!==o[e]?o[e]:r&&null!==r[e]?r[e]:null,a=s("component"),l=s("superType"),c=null;if(l){if(l===e)throw new Error("Can't have a custom view type that references itself");c=Ns(l,t,n,i)}return!a&&c&&(a=c.component),a?{type:e,component:a,defaults:Object.assign(Object.assign({},c?c.defaults:{}),o?o.rawOptions:{}),overrides:Object.assign(Object.assign({},c?c.overrides:{}),r?r.rawOptions:{})}:null}(e,t,n,i);return o&&(t[e]=o),o}function js(e){return St(e,Hs)}function Hs(e){let t="function"==typeof e?{component:e}:e,{component:n}=t;return t.content?n=$s(t):!n||n.prototype instanceof Xi||(n=$s(Object.assign(Object.assign({},t),{content:n}))),{superType:t.type,component:n,rawOptions:t}}function $s(e){return t=>g(Gi.Consumer,null,(n=>g(sr,{elTag:"div",elClasses:bs(n.viewSpec),renderProps:Object.assign(Object.assign({},t),{nextDayThreshold:n.options.nextDayThreshold}),generatorName:void 0,customGenerator:e.content,classNameGenerator:e.classNames,didMount:e.didMount,willUnmount:e.willUnmount})))}function zs(e,t,n,i){let o=js(e),r=js(t.views),s=function(e,t){let n,i={};for(n in e)Ns(n,i,e,t);for(n in t)Ns(n,i,e,t);return i}(o,r);return St(s,(e=>function(e,t,n,i,o){let r=e.overrides.duration||e.defaults.duration||i.duration||n.duration,s=null,a="",l="",c={};if(r&&(s=function(e){let t=JSON.stringify(e),n=Bs[t];return void 0===n&&(n=ft(e),Bs[t]=n),n}(r),s)){let e=wt(s);a=e.unit,1===e.value&&(l=a,c=t[a]?t[a].rawOptions:{})}let d=t=>{let n=t.buttonText||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null},u=t=>{let n=t.buttonHints||{},i=e.defaults.buttonTextKey;return null!=i&&null!=n[i]?n[i]:null!=n[e.type]?n[e.type]:null!=n[l]?n[l]:null};return{type:e.type,component:e.component,duration:s,durationUnit:a,singleUnit:l,optionDefaults:e.defaults,optionOverrides:Object.assign(Object.assign({},c),e.overrides),buttonTextOverride:d(i)||d(n)||e.overrides.buttonText,buttonTextDefault:d(o)||e.defaults.buttonText||d(xn)||e.type,buttonTitleOverride:u(i)||u(n)||e.overrides.buttonHint,buttonTitleDefault:u(o)||e.defaults.buttonHint||u(xn)}}(e,r,t,n,i)))}Ls.prototype.classes={root:"fc-theme-standard",tableCellShaded:"fc-cell-shaded",buttonGroup:"fc-button-group",button:"fc-button fc-button-primary",buttonActive:"fc-button-active"},Ls.prototype.baseIconClass="fc-icon",Ls.prototype.iconClasses={close:"fc-icon-x",prev:"fc-icon-chevron-left",next:"fc-icon-chevron-right",prevYear:"fc-icon-chevrons-left",nextYear:"fc-icon-chevrons-right"},Ls.prototype.rtlIconClasses={prev:"fc-icon-chevron-right",next:"fc-icon-chevron-left",prevYear:"fc-icon-chevrons-right",nextYear:"fc-icon-chevrons-left"},Ls.prototype.iconOverrideOption="buttonIcons",Ls.prototype.iconOverrideCustomButtonOption="icon",Ls.prototype.iconOverridePrefix="fc-icon-";let Bs={};function Fs(e){for(let t in e)if(e[t].isFetching)return!0;return!1}function Vs(e,t,n,i){let o={};for(let e of t)o[e.sourceId]=e;return n&&(o=Us(o,n,i)),Object.assign(Object.assign({},e),o)}function Us(e,t,n){return Ws(e,Et(e,(e=>function(e,t,n){return Ys(e,n)?!n.options.lazyFetching||!e.fetchRange||e.isFetching||t.start<e.fetchRange.start||t.end>e.fetchRange.end:!e.latestFetchId}
vendor: 4,300 bytes, line 1
1(e,t,n))),t,!1,n)}function Ws(e,t,n,i,o){let r={};for(let s in e){let a=e[s];t[s]?r[s]=qs(a,n,i,o):r[s]=a}return r}function qs(e,t,n,i){let{options:o,calendarApi:r}=i,s=i.pluginHooks.eventSourceDefs[e.sourceDefId],a=Qe();return s.fetch({eventSource:e,range:t,isRefetch:n,context:i},(n=>{let{rawEvents:s}=n;o.eventSourceSuccess&&(s=o.eventSourceSuccess.call(r,s,n.response)||s),e.success&&(s=e.success.call(r,s,n.response)||s),i.dispatch({type:"RECEIVE_EVENTS",sourceId:e.sourceId,fetchId:a,fetchRange:t,rawEvents:s})}),(n=>{let s=!1;o.eventSourceFailure&&(o.eventSourceFailure.call(r,n),s=!0),e.failure&&(e.failure(n),s=!0),s||console.warn(n.message,n),i.dispatch({type:"RECEIVE_EVENT_ERROR",sourceId:e.sourceId,fetchId:a,fetchRange:t,error:n})})),Object.assign(Object.assign({},e),{isFetching:!0,latestFetchId:a})}function Gs(e,t){return Et(e,(e=>Ys(e,t)))}function Ys(e,t){return!t.pluginHooks.eventSourceDefs[e.sourceDefId].ignoreRange}function Qs(e,t){switch(t.type){case"UNSELECT_DATES":return null;case"SELECT_DATES":return t.selection;default:return e}}function Xs(e,t){switch(t.type){case"UNSELECT_EVENT":return"";case"SELECT_EVENT":return t.eventInstanceId;default:return e}}function Zs(e,t){let n;switch(t.type){case"UNSET_EVENT_DRAG":return null;case"SET_EVENT_DRAG":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Ks(e,t){let n;switch(t.type){case"UNSET_EVENT_RESIZE":return null;case"SET_EVENT_RESIZE":return n=t.state,{affectedEvents:n.affectedEvents,mutatedEvents:n.mutatedEvents,isEvent:n.isEvent};default:return e}}function Js(e,t,n,i,o){return{header:e.headerToolbar?ea(e.headerToolbar,e,t,n,i,o):null,footer:e.footerToolbar?ea(e.footerToolbar,e,t,n,i,o):null}}function ea(e,t,n,i,o,r){let s={},a=[],l=!1;for(let c in e){let d=ta(e[c],t,n,i,o,r);s[c]=d.widgets,a.push(...d.viewsWithButtons),l=l||d.hasTitle}return{sectionWidgets:s,viewsWithButtons:a,hasTitle:l}}function ta(e,t,n,i,o,r){let s="rtl"===t.direction,a=t.customButtons||{},l=n.buttonText||{},c=t.buttonText||{},d=n.buttonHints||{},u=t.buttonHints||{},h=e?e.split(" "):[],f=[],p=!1;return{widgets:h.map((e=>e.split(",").map((e=>{if("title"===e)return p=!0,{buttonName:e};let n,h,g,m,v,y;if(n=a[e])g=e=>{n.click&&n.click.call(e.target,e,e.target)},(m=i.getCustomButtonIconClass(n))||(m=i.getIconClass(e,s))||(v=n.text),y=n.hint||n.text;else if(h=o[e]){f.push(e),g=()=>{r.changeView(e)},(v=h.buttonTextOverride)||(m=i.getIconClass(e,s))||(v=h.buttonTextDefault);let n=h.buttonTextOverride||h.buttonTextDefault;y=at(h.buttonTitleOverride||h.buttonTitleDefault||t.viewHint,[n,e],n)}else if(r[e])if(g=()=>{r[e]()},(v=l[e])||(m=i.getIconClass(e,s))||(v=c[e]),"prevYear"===e||"nextYear"===e){let t="prevYear"===e?"prev":"next";y=at(d[t]||u[t],[c.year||"year","year"],c[e])}else y=t=>at(d[e]||u[e],[c[t]||t,t],c[e]);return{buttonName:e,buttonClick:g,buttonIcon:m,buttonText:v,buttonHint:y}})))),viewsWithButtons:f,hasTitle:p}}class na{constructor(e,t,n){this.type=e,this.getCurrentData=t,this.dateEnv=n}get calendar(){return this.getCurrentData().calendarApi}get title(){return this.getCurrentData().viewTitle}get activeStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.start)}get activeEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.activeRange.end)}get currentStart(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.start)}get currentEnd(){return this.dateEnv.toDate(this.getCurrentData().dateProfile.currentRange.end)}getOption(e){return this.getCurrentData().options[e]}}function ia(e,t){let n=_t(t.getCurrentData().eventSources);if(1===n.length&&1===e.length&&Array.isArray(n[0]._raw)&&Array.isArray(e[0]))return void t.dispatch({type:"RESET_RAW_EVENTS",sourceId:n[0].sourceId,rawEvents:e[0]});let i=[];for(let t of e){let e=!1;for(let i=0;i<n.length;i+=1)if(n[i]._raw===t){n.splice(i,1),e=!0;break}e||i.push(t)}for(let e of n)t.dispatch({type:"REMOVE_EVENT_SOURCE",sourceId:e.sourceId});for(let e of i)t.calendarApi.addEventSource(e)}const oa=[Rs({name:"array-event-source",eventSourceDefs:[{ignoreRange:!0,parseMeta:e=>Array.isArray(e.events)?e.events:null,fetch(e,t){t({rawEvents:e.eventSource.meta})}}]}),Rs({name:"func-event-source",eventSourceDefs:[{parseMeta:e=>
1"function"==typeof e.events?e.events:null,fetch(e,t,n){const{dateEnv:i}=e.context;Li(e.eventSource.meta.bind(null,Mo(e.range,i)),(e=>t({rawEvents:e})),n)}}]}),Rs({name:"json-event-source",eventSourceRefiners:{method:String,extraParams:Mn,startParam:String,endParam:String,timeZoneParam:String},eventSourceDefs:[{parseMeta:e=>!e.url||"json"!==e.format&&e.format?null:{url:e.url,format:"json",method:(e.method||"GET").toUpperCase(),extraParams:e.extraParams,startParam:e.startParam,endParam:e.endParam,timeZoneParam:e.timeZoneParam},fetch(e,t,n){const{meta:i}=e.eventSource,o=function(e,t,n){let i,o,r,s,{dateEnv:a,options:l}=n,c={};return i=e.startParam,null==i&&(i=l.startParam),o=e.endParam,null==o&&(o=l.endParam),r=e.timeZoneParam,null==r&&(r=l.timeZoneParam),s="function"==typeof e.extraParams?e.extraParams():e.extraParams||{},Object.assign(c,s),c[i]=a.formatIso(t.start),c[o]=a.formatIso(t.end),"local"!==a.timeZone&&(c[r]=a.timeZone),c}(i,e.range,e.context);Or(i.method,i.url,o).then((([e,n])=>{t({rawEvents:e,response:n})}),n)}}]}),Rs({name:"simple-recurring-event",recurringTypes:[{parse(e,t){if(e.daysOfWeek||e.startTime||e.endTime||e.startRecur||e.endRecur){let o,r={daysOfWeek:e.daysOfWeek||null,startTime:e.startTime||null,endTime:e.endTime||null,startRecur:e.startRecur?t.createMarker(e.startRecur):null,endRecur:e.endRecur?t.createMarker(e.endRecur):null};return e.duration&&(o=e.duration),!o&&e.startTime&&e.endTime&&(n=e.endTime,i=e.startTime,o={years:n.years-i.years,months:n.months-i.months,days:n.days-i.days,milliseconds:n.milliseconds-i.milliseconds}),{allDayGuess:Boolean(!e.startTime&&!e.endTime),duration:o,typeData:r}}var n,i;return null},expand(e,t,n){let i=mi(t,{start:e.startRecur,end:e.endRecur});return i?function(e,t,n,i){let o=e?Ct(e):null,r=Vt(n.start),s=n.end,a=[];for(;r<s;){let e;o&&!o[r.getUTCDay()]||(e=t?i.add(r,t):r,a.push(e)),r=Nt(r,1)}return a}(e.daysOfWeek,e.startTime,i,n):[]}}],eventRefiners:{daysOfWeek:Mn,startTime:ft,endTime:ft,duration:ft,startRecur:Mn,endRecur:Mn}}),Rs({name:"change-handler",optionChangeHandlers:{events(e,t){ia([e],t)},eventSources:ia}}),Rs({name:"misc",isLoadingFuncs:[e=>Fs(e.eventSources)],propSetHandlers:{dateProfile:function(e,t){t.emitter.trigger("datesSet",Object.assign(Object.assign({},Mo(e.activeRange,t.dateEnv)),{view:t.viewApi}))},eventStore:function(e,t){let{emitter:n}=t;n.hasHandlers("eventsSet")&&n.trigger("eventsSet",uo(e,t))}}})];class ra{constructor(e,t){this.runTaskOption=e,this.drainedOption=t,this.queue=[],this.delayedRunner=new Rr(this.drain.bind(this))}request(e,t){this.queue.push(e),this.delayedRunner.request(t)}pause(e){this.delayedRunner.pause(e)}resume(e,t){this.delayedRunner.resume(e,t)}drain(){let{queue:e}=this;for(;e.length;){let t,n=[];for(;t=e.shift();)this.runTask(t),n.push(t);this.drained(n)}}runTask(e){this.runTaskOption&&this.runTaskOption(e)}drained(e){this.drainedOption&&this.drainedOption(e)}}function sa(e,t,n){let i;return i=/^(year|month)$/.test(e.currentRangeUnit)?e.currentRange:e.activeRange,n.formatRange(i.start,i.end,bn(t.titleFormat||function(e){let{currentRangeUnit:t}=e;if("year"===t)return{year:"numeric"};if("month"===t)return{year:"numeric",month:"long"};let n=Ft(e.currentRange.start,e.currentRange.end);return null!==n&&n>1?{year:"numeric",month:"short",day:"numeric"}:{year:"numeric",month:"long",day:"numeric"}}(e)),{isEndExclusive:e.isRangeAllDay,defaultSeparator:t.titleRangeSeparator})}class aa{constructor(e){this.computeCurrentViewData=on(this._computeCurrentViewData),this.organizeRawLocales=on(Ms),this.buildLocale=on(Ps),this.buildPluginHooks=function(){let e,t=[],n=[];return(i,o)=>(e&&Rt(i,t)&&Rt(o,n)||(e=function(e,t){let n={},i={premiumReleaseDate:void 0,reducers:[],isLoadingFuncs:[],contextInit:[],eventRefiners:{},eventDefMemberAdders:[],eventSourceRefiners:{},isDraggableTransformers:[],eventDragMutationMassagers:[],eventDefMutationAppliers:[],dateSelectionTransformers:[],datePointTransforms:[],dateSpanTransforms:[],views:{},viewPropsTransformers:[],isPropsValid:null,externalDefTransforms:[],viewContainerAppends:[],eventDropTransformers:[],componentInteractions:[],calendarInteractions:[],themeClasses:{},eventSourceDefs:[],cmdFormatter:null,recurringTypes:[],namedTimeZonedImpl:null,initialView:"",elementDraggingImpl:null,optionChangeHandlers:{},scrollGridImpl:null,listenerRefiners:{},optionRefiners:{},propSetHandlers:{}};function o(e){for(let s of e){const e=s.name,a=n[e];void 0===a?(n[e]=s.id,o(s.deps),r=s,i={premiumReleaseDate:Is((t=i).premiumReleaseDate,r.premiumReleaseDate),reducers:t.reducers.concat(r.reducers),isLoadingFuncs:t.isLoadingFuncs.concat(r.isLoadingFuncs),contextInit:t.contextInit.concat(r.contextInit),eventRefiners:Object.assign(Object.assign({},t.eventRefiners),r.eventRefiners),eventDefMemberAdders:t.eventDefMemberAdders.concat(r.eventDefMemberAdders),eventSourceRefiners:Object.assign(Object.assign({},t.eventSourceRefiners),r.eventSourceRefiners),isDraggableTransformers:t.
1isDraggableTransformers.concat(r.isDraggableTransformers),eventDragMutationMassagers:t.eventDragMutationMassagers.concat(r.eventDragMutationMassagers),eventDefMutationAppliers:t.eventDefMutationAppliers.concat(r.eventDefMutationAppliers),dateSelectionTransformers:t.dateSelectionTransformers.concat(r.dateSelectionTransformers),datePointTransforms:t.datePointTransforms.concat(r.datePointTransforms),dateSpanTransforms:t.dateSpanTransforms.concat(r.dateSpanTransforms),views:Object.assign(Object.assign({},t.views),r.views),viewPropsTransformers:t.viewPropsTransformers.concat(r.viewPropsTransformers),isPropsValid:r.isPropsValid||t.isPropsValid,externalDefTransforms:t.externalDefTransforms.concat(r.externalDefTransforms),viewContainerAppends:t.viewContainerAppends.concat(r.viewContainerAppends),eventDropTransformers:t.eventDropTransformers.concat(r.eventDropTransformers),calendarInteractions:t.calendarInteractions.concat(r.calendarInteractions),componentInteractions:t.componentInteractions.concat(r.componentInteractions),themeClasses:Object.assign(Object.assign({},t.themeClasses),r.themeClasses),eventSourceDefs:t.eventSourceDefs.concat(r.eventSourceDefs),cmdFormatter:r.cmdFormatter||t.cmdFormatter,recurringTypes:t.recurringTypes.concat(r.recurringTypes),namedTimeZonedImpl:r.namedTimeZonedImpl||t.namedTimeZonedImpl,initialView:t.initialView||r.initialView,elementDraggingImpl:t.elementDraggingImpl||r.elementDraggingImpl,optionChangeHandlers:Object.assign(Object.assign({},t.optionChangeHandlers),r.optionChangeHandlers),scrollGridImpl:r.scrollGridImpl||t.scrollGridImpl,listenerRefiners:Object.assign(Object.assign({},t.listenerRefiners),r.listenerRefiners),optionRefiners:Object.assign(Object.assign({},t.optionRefiners),r.optionRefiners),propSetHandlers:Object.assign(Object.assign({},t.propSetHandlers),r.propSetHandlers)}):a!==s.id&&console.warn(`Duplicate plugin '${e}'`)}var t,r}return e&&o(e),o(t),i}(i,o)),t=i,n=o,e)}(),this.buildDateEnv=on(la),this.buildTheme=on(ca),this.parseToolbars=on(Js),this.buildViewSpecs=on(zs),this.buildDateProfileGenerator=rn(da),this.buildViewApi=on(ua),this.buildViewUiProps=rn(pa),this.buildEventUiBySource=on(ha,At),this.buildEventUiBases=on(fa),this.parseContextBusinessHours=rn(ma),this.buildTitle=on(sa),this.emitter=new Ni,this.actionRunner=new ra(this._handleAction.bind(this),this.updateData.bind(this)),this.currentCalendarOptionsInput={},this.currentCalendarOptionsRefined={},this.currentViewOptionsInput={},this.currentViewOptionsRefined={},this.currentCalendarOptionsRefiners={},this.optionsForRefining=[],this.optionsForHandling=[],this.getCurrentData=()=>this.data,this.dispatch=e=>{this.actionRunner.request(e)},this.props=e,this.actionRunner.pause();let t={},n=this.computeOptionsData(e.optionOverrides,t,e.calendarApi),i=n.calendarOptions.initialView||n.pluginHooks.initialView,o=this.computeCurrentViewData(i,n,e.optionOverrides,t);e.calendarApi.currentDataManager=this,this.emitter.setThisContext(e.calendarApi),this.emitter.setOptions(o.options);let r=function(e,t){let n=e.initialDate;return null!=n?t.createMarker(n):Ji(e.now,t)}(n.calendarOptions,n.dateEnv),s=o.dateProfileGenerator.build(r);wi(s.activeRange,r)||(r=s.currentRange.start);let a={dateEnv:n.dateEnv,options:n.calendarOptions,pluginHooks:n.pluginHooks,calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData};for(let e of n.pluginHooks.contextInit)e(a);let l=function(e,t,n){let i=t?t.activeRange:null;return Vs({},function(e,t){let n=ks(t),i=[].concat(e.eventSources||[]),o=[];e.initialEvents&&i.unshift(e.initialEvents),e.events&&i.unshift(e.events);for(let e of i){let i=xs(e,t,n);i&&o.push(i)}return o}(e,n),i,n)}(n.calendarOptions,s,a),c={dynamicOptionOverrides:t,currentViewType:i,currentDate:r,dateProfile:s,businessHours:this.parseContextBusinessHours(a),eventSources:l,eventUiBases:{},eventStore:{defs:{},instances:{}},renderableEventStore:{defs:{},instances:{}},dateSelection:null,eventSelection:"",eventDrag:null,eventResize:null,selectionConfig:this.buildViewUiProps(a).selectionConfig},d=Object.assign(Object.assign({},a),c);for(let e of n.pluginHooks.reducers)Object.assign(c,e(null,null,d));ga(c,a)&&this.emitter.trigger("loading",!0),this.state=c,this.updateData(),this.actionRunner.resume()}resetOptions(e,t){let{props:n}=this;void 0===t?n.optionOverrides=e:(n.optionOverrides=Object.assign(Object.assign({},n.optionOverrides||{}),e),this.optionsForRefining.push(...t)),(void 0===t||t.length)&&this.actionRunner.request({type:"NOTHING"})}_handleAction(e){let{props:t,state:n,emitter:i}=this,o=function(e,t){return"SET_OPTION"===t.type?Object.assign(Object.assign({},e),{[t.optionName]:t.rawOptionValue}):e}(n.dynamicOptionOverrides,e),r=this.computeOptionsData(t.optionOverrides,o,t.calendarApi),s=function(e,t){return"CHANGE_VIEW_TYPE"===t.type&&(e=t.viewType),e}(n.currentViewType,e),a=this.computeCurrentViewData(s,r,t.optionOverrides,o);t.calendarApi.currentDataManager=this,i.setThisContext(t.calendarApi),i.setOptions(a.options);let l={dateEnv:r.dateEnv,options:r.calendarOptions,pluginHooks:r.pluginHooks,calendarApi:t.calendarApi,dispatch:this.dispatch,emitter:i,getCurrentData:this.getCurrentData},{currentDate:c,dateProfile:d}=n;this.data&&this.data.dateProfileGenerator!==a.dateProfileGenerator&&(d=a.dateProfileGenerator.build(c)),c=function(e,t){return"CHANGE_DATE"===t.type?t.dateMarker:e}(c,e),d=function(e,t,n,i){let o;switch(t.type){case"CHANGE_VIEW_TYPE":return i.build(t.dateMarker||n);case"CHANGE_DATE":return i.build(t.dateMarker);case"PREV":if(o=i.buildPrev(e,n),o.isValid)return o;break;case"NEXT":if(o=i.buildNext(e,n),o.isValid)return o}return e}(d,e,c,a.dateProfileGenerator),"PREV"!==e.type&&"NEXT"!==e.type&&wi(d.currentRange,c)||(c=d.currentRange.start);let u=function(e,t,n,i){let o=n?n.activeRange:null;switch(t.type){case"ADD_EVENT_SOURCES":return Vs(e,t.sources,o,i);
vendor: 12,489 bytes, line 1
1case"REMOVE_EVENT_SOURCE":return r=e,s=t.sourceId,Et(r,(e=>e.sourceId!==s));case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return n?Us(e,o,i):e;case"FETCH_EVENT_SOURCES":return Ws(e,t.sourceIds?Ct(t.sourceIds):Gs(e,i),o,t.isRefetch||!1,i);case"RECEIVE_EVENTS":case"RECEIVE_EVENT_ERROR":return function(e,t,n,i){let o=e[t];return o&&n===o.latestFetchId?Object.assign(Object.assign({},e),{[t]:Object.assign(Object.assign({},o),{isFetching:!1,fetchRange:i})}):e}(e,t.sourceId,t.fetchId,t.fetchRange);case"REMOVE_ALL_EVENT_SOURCES":return{};default:return e}var r,s}(n.eventSources,e,d,l),h=function(e,t,n,i,o){switch(t.type){case"RECEIVE_EVENTS":return function(e,t,n,i,o,r){if(t&&n===t.latestFetchId){let n=In(br(o,t,r),t,r);return i&&(n=On(n,i,r)),jn(kr(e,t.sourceId),n)}return e}(e,n[t.sourceId],t.fetchId,t.fetchRange,t.rawEvents,o);case"RESET_RAW_EVENTS":return function(e,t,n,i,o){const{defIdMap:r,instanceIdMap:s}=function(e){const{defs:t,instances:n}=e,i={},o={};for(let e in t){const n=t[e],{publicId:o}=n;o&&(i[o]=e)}for(let e in n){const i=t[n[e].defId],{publicId:r}=i;r&&(o[r]=e)}return{defIdMap:i,instanceIdMap:o}}(e);return On(In(br(n,t,o),t,o,!1,r,s),i,o)}(e,n[t.sourceId],t.rawEvents,i.activeRange,o);case"ADD_EVENTS":return function(e,t,n,i){return n&&(t=On(t,n,i)),jn(e,t)}(e,t.eventStore,i?i.activeRange:null,o);case"RESET_EVENTS":return t.eventStore;case"MERGE_EVENTS":return jn(e,t.eventStore);case"PREV":case"NEXT":case"CHANGE_DATE":case"CHANGE_VIEW_TYPE":return i?On(e,i.activeRange,o):e;case"REMOVE_EVENTS":return function(e,t){let{defs:n,instances:i}=e,o={},r={};for(let e in n)t.defs[e]||(o[e]=n[e]);for(let e in i)!t.instances[e]&&o[i[e].defId]&&(r[e]=i[e]);return{defs:o,instances:r}}(e,t.eventStore);case"REMOVE_EVENT_SOURCE":return kr(e,t.sourceId);case"REMOVE_ALL_EVENT_SOURCES":return Hn(e,(e=>!e.sourceId));case"REMOVE_ALL_EVENTS":return{defs:{},instances:{}};default:return e}}(n.eventStore,e,u,d,l),f=Fs(u)&&!a.options.progressiveEventRendering&&n.renderableEventStore||h,{eventUiSingleBase:p,selectionConfig:g}=this.buildViewUiProps(l),m=this.buildEventUiBySource(u),v={dynamicOptionOverrides:o,currentViewType:s,currentDate:c,dateProfile:d,eventSources:u,eventStore:h,renderableEventStore:f,selectionConfig:g,eventUiBases:this.buildEventUiBases(f.defs,p,m),businessHours:this.parseContextBusinessHours(l),dateSelection:Qs(n.dateSelection,e),eventSelection:Xs(n.eventSelection,e),eventDrag:Zs(n.eventDrag,e),eventResize:Ks(n.eventResize,e)},y=Object.assign(Object.assign({},l),v);for(let t of r.pluginHooks.reducers)Object.assign(v,t(n,e,y));let b=ga(n,l),w=ga(v,l);!b&&w?i.trigger("loading",!0):b&&!w&&i.trigger("loading",!1),this.state=v,t.onAction&&t.onAction(e)}updateData(){let{props:e,state:t}=this,n=this.data,i=this.computeOptionsData(e.optionOverrides,t.dynamicOptionOverrides,e.calendarApi),o=this.computeCurrentViewData(t.currentViewType,i,e.optionOverrides,t.dynamicOptionOverrides),r=this.data=Object.assign(Object.assign(Object.assign({viewTitle:this.buildTitle(t.dateProfile,o.options,i.dateEnv),calendarApi:e.calendarApi,dispatch:this.dispatch,emitter:this.emitter,getCurrentData:this.getCurrentData},i),o),t),s=i.pluginHooks.optionChangeHandlers,a=n&&n.calendarOptions,l=i.calendarOptions;if(a&&a!==l){a.timeZone!==l.timeZone&&(t.eventSources=r.eventSources=function(e,t,n){let i=t?t.activeRange:null;return Ws(e,Gs(e,n),i,!0,n)}(r.eventSources,t.dateProfile,r),t.eventStore=r.eventStore=xr(r.eventStore,n.dateEnv,r.dateEnv),t.renderableEventStore=r.renderableEventStore=xr(r.renderableEventStore,n.dateEnv,r.dateEnv));for(let e in s)-1===this.optionsForHandling.indexOf(e)&&a[e]===l[e]||s[e](l[e],r)}this.optionsForHandling=[],e.onData&&e.onData(r)}computeOptionsData(e,t,n){if(!this.optionsForRefining.length&&e===this.stableOptionOverrides&&t===this.stableDynamicOptionOverrides)return this.stableCalendarOptionsData;let{refinedOptions:i,pluginHooks:o,localeDefaults:r,availableLocaleData:s,extra:a}=this.processRawCalendarOptions(e,t);va(a);let l=this.buildDateEnv(i.timeZone,i.locale,i.weekNumberCalculation,i.firstDay,i.weekText,o,s,i.defaultRangeSeparator),c=this.buildViewSpecs(o.views,this.stableOptionOverrides,this.stableDynamicOptionOverrides,r),d=this.buildTheme(i,o),u=this.parseToolbars(i,this.stableOptionOverrides,d,c,n);return this.stableCalendarOptionsData={calendarOptions:i,pluginHooks:o,dateEnv:l,viewSpecs:c,theme:d,toolbarConfig:u,localeDefaults:r,availableRawLocales:s.map}}processRawCalendarOptions(e,t){let{locales:n,locale:i}=Tn([xn,e,t]),o=this.organizeRawLocales(n),r=o.map,s=this.buildLocale(i||o.defaultCode,r).options,a=this.buildPluginHooks(e.plugins||[],oa),l=this.currentCalendarOptionsRefiners=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wn),kn),En),a.listenerRefiners),a.optionRefiners),c={},d=Tn([xn,s,e,t]),u={},h=this.currentCalendarOptionsInput,f=this.currentCalendarOptionsRefined,p=!1;for(let e in d)-1===this.optionsForRefining.indexOf(e)&&(d[e]===h[e]||Sn[e]&&e in h&&Sn[e](h[e],d[e]))?u[e]=f[e]:l[e]?(u[e]=l[e](d[e]),p=!0):c[e]=h[e];return p&&(this.currentCalendarOptionsInput=d,this.currentCalendarOptionsRefined=u,this.stableOptionOverrides=e,this.stableDynamicOptionOverrides=t),this.optionsForHandling.push(...this.optionsForRefining),this.optionsForRefining=[],{rawOptions:this.currentCalendarOptionsInput,refinedOptions:this.currentCalendarOptionsRefined,pluginHooks:a,availableLocaleData:o,localeDefaults:s,extra:c}}_computeCurrentViewData(e,t,n,i){let o=t.viewSpecs[e];if(!o)throw new Error(`viewType "${e}" is not available. Please make sure you've loaded all neccessary plugins`);let{refinedOptions:r,extra:s}=this.processRawViewOptions(o,t.pluginHooks,t.localeDefaults,n,i);return va(s),{viewSpec:o,options:r,dateProfileGenerator:this.buildDateProfileGenerator({dateProfileGeneratorClass:o.optionDefaults.dateProfileGeneratorClass,duration:o.duration,durationUnit:o.durationUnit,usesMinMaxTime:o.optionDefaults.usesMinMaxTime,dateEnv:t.dateEnv,calendarApi:this.props.calendarApi,slotMinTime:r.slotMinTime,slotMaxTime:r.slotMaxTime,showNonCurrentDates:r.showNonCurrentDates,dayCount:r.dayCount,dateAlignment:r.dateAlignment,dateIncrement:r.dateIncrement,hiddenDays:r.hiddenDays,weekends:r.weekends,nowInput:r.now,validRangeInput:r.validRange,visibleRangeInput:r.visibleRange,fixedWeekCount:r.fixedWeekCount}),viewApi:this.buildViewApi(e,this.getCurrentData,t.dateEnv)}}processRawViewOptions(e,t,n,i,o){let r=Tn([xn,e.optionDefaults,n,i,e.optionOverrides,o]),s=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},wn),kn),En),An),t.listenerRefiners),t.optionRefiners),a={},l=this.currentViewOptionsInput,c=this.currentViewOptionsRefined,d=!1,u={};for(let e in r)r[e]===l[e]||Sn[e]&&Sn[e](r[e],l[e])?a[e]=c[e]:(r[e]===this.currentCalendarOptionsInput[e]||Sn[e]&&Sn[e](r[e],this.currentCalendarOptionsInput[e])?e in this.currentCalendarOptionsRefined&&(a[e]=this.currentCalendarOptionsRefined[e]):s[e]?a[e]=s[e](r[e]):u[e]=r[e],d=!0);return d&&(this.currentViewOptionsInput=r,this.currentViewOptionsRefined=a),{rawOptions:this.currentViewOptionsInput,refinedOptions:this.currentViewOptionsRefined,extra:u}}}function la(e,t,n,i,o,r,s,a){let l=Ps(t||s.defaultCode,s.map);return new No({calendarSystem:"gregory",timeZone:e,namedTimeZoneImpl:r.namedTimeZonedImpl,locale:l,weekNumberCalculation:n,firstDay:i,weekText:o,cmdFormatter:r.cmdFormatter,defaultSeparator:a})}function ca(e,t){return new(t.themeClasses[e.themeSystem]||Ls)(e)}function da(e){return new(e.dateProfileGeneratorClass||eo)(e)}function ua(e,t,n){return new na(e,t,n)}function ha(e){return St(e,(e=>e.ui))}function fa(e,t,n){let i={"":t};for(let t in e){let o=e[t];o.sourceId&&n[o.sourceId]&&(i[t]=n[o.sourceId])}return i}function pa(e){let{options:t}=e;return{eventUiSingleBase:Fn({display:t.eventDisplay,editable:t.editable,startEditable:t.eventStartEditable,durationEditable:t.eventDurationEditable,constraint:t.eventConstraint,overlap:"boolean"==typeof t.eventOverlap?t.eventOverlap:void 0,allow:t.eventAllow,backgroundColor:t.eventBackgroundColor,borderColor:t.eventBorderColor,textColor:t.eventTextColor,color:t.eventColor},e),selectionConfig:Fn({constraint:t.selectConstraint,overlap:"boolean"==typeof t.selectOverlap?t.selectOverlap:void 0,allow:t.selectAllow},e)}}function ga(e,t){for(let n of t.pluginHooks.isLoadingFuncs)if(n(e))return!0;return!1}function ma(e){return Jn(e.options.businessHours,e)}function va(e,t){for(let n in e)console.warn(`Unknown option '${n}'`+(t?` for view '${t}'`:""))}class ya extends Xi{render(){return g("div",{className:"fc-toolbar-chunk"},...this.props.widgetGroups.map((e=>this.renderWidgetGroup(e))))}renderWidgetGroup(e){let{props:t}=this,{theme:n}=this.context,i=[],o=!0;for(let r of e){let{buttonName:e,buttonClick:s,buttonText:a,buttonIcon:l,buttonHint:c}=r;if("title"===e)o=!1,i.push(g("h2",{className:"fc-toolbar-title",id:t.titleId},t.title));else{let o=e===t.activeButton,r=!t.isTodayEnabled&&"today"===e||!t.isPrevEnabled&&"prev"===e||!t.isNextEnabled&&"next"===e,d=[`fc-${e}-button`,n.getClass("button")];o&&d.push(n.getClass("buttonActive")),i.push(g("button",{type:"button",title:"function"==typeof c?c(t.navUnit):c,disabled:r,"aria-pressed":o,className:d.join(" "),onClick:s},a||(l?g("span",{className:l}):"")))}}return i.length>1?g("div",{className:o&&n.getClass("buttonGroup")||""},...i):i[0]}}class ba extends Xi{render(){let e,t,{model:n,extraClassName:i}=this.props,o=!1,r=n.sectionWidgets,s=r.center;return r.left?(o=!0,e=r.left):e=r.start,r.right?(o=!0,t=r.right):t=r.end,g("div",{className:[i||"","fc-toolbar",o?"fc-toolbar-ltr":""].join(" ")},this.renderSection("start",e||[]),this.renderSection("center",s||[]),this.renderSection("end",t||[]))}renderSection(e,t){let{props:n}=this;return g(ya,{key:e,widgetGroups:t,title:n.title,navUnit:n.navUnit,activeButton:n.activeButton,isTodayEnabled:n.isTodayEnabled,isPrevEnabled:n.isPrevEnabled,isNextEnabled:n.isNextEnabled,titleId:n.titleId})}}class wa extends Xi{constructor(){super(...arguments),this.state={availableWidth:null},this.handleEl=e=>{this.el=e,Zi(this.props.elRef,e),this.updateAvailableWidth()},this.handleResize=()=>{this.updateAvailableWidth()}}render(){let{props:e,state:t}=this,{aspectRatio:n}=e,i=["fc-view-harness",n||e.liquid||e.height?"fc-view-harness-active":"fc-view-harness-passive"],o="",r="";return n?null!==t.availableWidth?o=t.availableWidth/n:r=1/n*100+"%":o=e.height||"",g("div",{"aria-labelledby":e.labeledById,ref:this.handleEl,className:i.join(" "),style:{height:o,paddingBottom:r}},e.children)}componentDidMount(){this.context.addResizeHandler(this.handleResize)}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}updateAvailableWidth(){this.el&&this.props.aspectRatio&&this.setState({availableWidth:this.el.offsetWidth})}}class xa extends Uo{constructor(e){super(e),this.handleSegClick=(e,t)=>{let{component:n}=this,{context:i}=n,o=go(t);if(o&&n.isValidSegDownEl(e.target)){let r=Re(e.target,".fc-event-forced-url"),s=r?r.querySelector("a[href]").href:"";i.emitter.trigger("eventClick",{el:t,event:new lo(n.context,o.eventRange.def,o.eventRange.instance),jsEvent:e,view:i.viewApi}),s&&!e.defaultPrevented&&(window.location.href=s)}},this.destroy=Ve(e.el,"click",".fc-event",this.handleSegClick)}}class ka extends Uo{constructor(e){super(e),this.handleEventElRemove=e=>{e===this.currentSegEl&&this.handleSegLeave(null,this.currentSegEl)},this.handleSegEnter=(e,t)=>{go(t)&&(this.currentSegEl=t,this.triggerEvent("eventMouseEnter",e,t))},this.handleSegLeave=(e,t)=>{this.currentSegEl&&(this.currentSegEl=null,this.triggerEvent("eventMouseLeave",e,t))},this.removeHoverListeners=function(e,t,n,i){let o;return Ve(e,"mouseover",".fc-event",((e,t)=>{if(t!==o){o=t,n(e,t);let r=e=>{o=null,i(e,t),t.removeEventListener("mouseleave",r)};t.addEventListener("mouseleave",r)}}))}(e.el,0,this.handleSegEnter,this.handleSegLeave)}destroy(){this.removeHoverListeners()}triggerEvent(e,t,n){let{component:i}=this,{context:o}=i,r=go(n);t&&!i.isValidSegDownEl(t.target)||o.emitter.trigger(e,{el:n,event:new lo(o,r.eventRange.def,r.eventRange.instance),jsEvent:t,view:o.viewApi})}}class Ea extends Qi{constructor(){super(...arguments),this.buildViewContext=on(Yi),this.buildViewPropTransformers=on(Ca),this.buildToolbarProps=on(Sa),this.headerRef={current:null},this.footerRef={current:null},this.interactionsStore={},this.state={viewLabelId:Be()},this.registerInteractiveComponent=(e,t)=>
1{let n=function(e,t){return{component:e,el:t.el,useEventCenter:null==t.useEventCenter||t.useEventCenter,isHitComboAllowed:t.isHitComboAllowed||null}}(e,t),i=[xa,ka].concat(this.props.pluginHooks.componentInteractions).map((e=>new e(n)));this.interactionsStore[e.uid]=i,qo[e.uid]=n},this.unregisterInteractiveComponent=e=>{let t=this.interactionsStore[e.uid];if(t){for(let e of t)e.destroy();delete this.interactionsStore[e.uid]}delete qo[e.uid]},this.resizeRunner=new Rr((()=>{this.props.emitter.trigger("_resize",!0),this.props.emitter.trigger("windowResize",{view:this.props.viewApi})})),this.handleWindowResize=e=>{let{options:t}=this.props;t.handleWindowResize&&e.target===window&&this.resizeRunner.request(t.windowResizeDelay)}}render(){let e,{props:t}=this,{toolbarConfig:n,options:i}=t,o=this.buildToolbarProps(t.viewSpec,t.dateProfile,t.dateProfileGenerator,t.currentDate,Ji(t.options.now,t.dateEnv),t.viewTitle),r=!1,s="";t.isHeightAuto||t.forPrint?s="":null!=i.height?r=!0:null!=i.contentHeight?s=i.contentHeight:e=Math.max(i.aspectRatio,.5);let a=this.buildViewContext(t.viewSpec,t.viewApi,t.options,t.dateProfileGenerator,t.dateEnv,t.theme,t.pluginHooks,t.dispatch,t.getCurrentData,t.emitter,t.calendarApi,this.registerInteractiveComponent,this.unregisterInteractiveComponent),l=n.header&&n.header.hasTitle?this.state.viewLabelId:"";return g(Gi.Provider,{value:a},n.header&&g(ba,Object.assign({ref:this.headerRef,extraClassName:"fc-header-toolbar",model:n.header,titleId:l},o)),g(wa,{liquid:r,height:s,aspectRatio:e,labeledById:l},this.renderView(t),this.buildAppendContent()),n.footer&&g(ba,Object.assign({ref:this.footerRef,extraClassName:"fc-footer-toolbar",model:n.footer,titleId:""},o)))}componentDidMount(){let{props:e}=this;this.calendarInteractions=e.pluginHooks.calendarInteractions.map((t=>new t(e))),window.addEventListener("resize",this.handleWindowResize);let{propSetHandlers:t}=e.pluginHooks;for(let n in t)t[n](e[n],e)}componentDidUpdate(e){let{props:t}=this,{propSetHandlers:n}=t.pluginHooks;for(let i in n)t[i]!==e[i]&&n[i](t[i],t)}componentWillUnmount(){window.removeEventListener("resize",this.handleWindowResize),this.resizeRunner.clear();for(let e of this.calendarInteractions)e.destroy();this.props.emitter.trigger("_unmount")}buildAppendContent(){let{props:e}=this;return g(v,{},...e.pluginHooks.viewContainerAppends.map((t=>t(e))))}renderView(e){let{pluginHooks:t}=e,{viewSpec:n}=e,i={dateProfile:e.dateProfile,businessHours:e.businessHours,eventStore:e.renderableEventStore,eventUiBases:e.eventUiBases,dateSelection:e.dateSelection,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,isHeightAuto:e.isHeightAuto,forPrint:e.forPrint},o=this.buildViewPropTransformers(t.viewPropsTransformers);for(let t of o)Object.assign(i,t.transform(i,e));return g(n.component,Object.assign({},i))}}function Sa(e,t,n,i,o,r){let s=n.build(o,void 0,!1),a=n.buildPrev(t,i,!1),l=n.buildNext(t,i,!1);return{title:r,activeButton:e.type,navUnit:e.singleUnit,isTodayEnabled:s.isValid&&!wi(t.currentRange,o),isPrevEnabled:a.isValid,isNextEnabled:l.isValid}}function Ca(e){return e.map((e=>new e))}function _a(e){let t=Ps(e.locale||"en",Ms([]).map);return new No(Object.assign(Object.assign({timeZone:xn.timeZone,calendarSystem:"gregory"},e),{locale:t}))}Yo.touchMouseIgnoreWait=500;let Aa=0,Ta=0,Da=!1;class Ma{constructor(e){this.subjectEl=null,this.selector="",this.handleSelector="",this.shouldIgnoreMove=!1,this.shouldWatchScroll=!0,this.isDragging=!1,this.isTouchDragging=!1,this.wasTouchScroll=!1,this.handleMouseDown=e=>{if(!this.shouldIgnoreMouse()&&function(e){return 0===e.button&&!e.ctrlKey}(e)&&this.tryStart(e)){let t=this.createEventFromMouse(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t),this.shouldIgnoreMove||document.addEventListener("mousemove",this.handleMouseMove),document.addEventListener("mouseup",this.handleMouseUp)}},this.handleMouseMove=e=>{let t=this.createEventFromMouse(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleMouseUp=e=>{document.removeEventListener("mousemove",this.handleMouseMove),document.removeEventListener("mouseup",this.handleMouseUp),this.emitter.trigger("pointerup",this.createEventFromMouse(e)),this.cleanup()},this.handleTouchStart=e=>{if(this.tryStart(e)){this.isTouchDragging=!0;let t=this.createEventFromTouch(e,!0);this.emitter.trigger("pointerdown",t),this.initScrollWatch(t);let n=e.target;this.shouldIgnoreMove||n.addEventListener("touchmove",this.handleTouchMove),n.addEventListener("touchend",this.handleTouchEnd),n.addEventListener("touchcancel",this.handleTouchEnd),window.addEventListener("scroll",this.handleTouchScroll,!0)}},this.handleTouchMove=e=>{let t=this.createEventFromTouch(e);this.recordCoords(t),this.emitter.trigger("pointermove",t)},this.handleTouchEnd=e=>{if(this.isDragging){let t=e.target;t.removeEventListener("touchmove",this.handleTouchMove),t.removeEventListener("touchend",this.handleTouchEnd),t.removeEventListener("touchcancel",this.handleTouchEnd),window.removeEventListener("scroll",this.handleTouchScroll,!0),this.emitter.trigger("pointerup",this.createEventFromTouch(e)),this.cleanup(),this.isTouchDragging=!1,Aa+=1,setTimeout((()=>{Aa-=1}),Yo.touchMouseIgnoreWait)}},this.handleTouchScroll=()=>{this.wasTouchScroll=!0},this.handleScroll=e=>{if(!this.shouldIgnoreMove){let t=window.pageXOffset-this.prevScrollX+this.prevPageX,n=window.pageYOffset-this.prevScrollY+this.prevPageY;this.emitter.trigger("pointermove",{origEvent:e,isTouch:this.isTouchDragging,subjectEl:this.subjectEl,pageX:t,pageY:n,deltaX:t-this.origPageX,deltaY:n-this.origPageY})}},this.containerEl=e,this.emitter=new Ni,e.addEventListener("mousedown",this.handleMouseDown),e.addEventListener("touchstart",this.handleTouchStart,{passive:!0}),Ta+=1,1===Ta&&window.addEventListener("touchmove",Pa,{passive:!1})}destroy(){this.containerEl.removeEventListener("mousedown",this.handleMouseDown),this.containerEl.removeEventListener("touchstart",this.handleTouchStart,{passive:!0}),Ta-=1,Ta||window.removeEventListener("touchmove",Pa,{passive:!1})}
vendor: 4,682 bytes, line 1
1tryStart(e){let t=this.querySubjectEl(e),n=e.target;return!(!t||this.handleSelector&&!Re(n,this.handleSelector)||(this.subjectEl=t,this.isDragging=!0,this.wasTouchScroll=!1,0))}cleanup(){Da=!1,this.isDragging=!1,this.subjectEl=null,this.destroyScrollWatch()}querySubjectEl(e){return this.selector?Re(e.target,this.selector):this.containerEl}shouldIgnoreMouse(){return Aa||this.isTouchDragging}cancelTouchScroll(){this.isDragging&&(Da=!0)}initScrollWatch(e){this.shouldWatchScroll&&(this.recordCoords(e),window.addEventListener("scroll",this.handleScroll,!0))}recordCoords(e){this.shouldWatchScroll&&(this.prevPageX=e.pageX,this.prevPageY=e.pageY,this.prevScrollX=window.pageXOffset,this.prevScrollY=window.pageYOffset)}destroyScrollWatch(){this.shouldWatchScroll&&window.removeEventListener("scroll",this.handleScroll,!0)}createEventFromMouse(e,t){let n=0,i=0;return t?(this.origPageX=e.pageX,this.origPageY=e.pageY):(n=e.pageX-this.origPageX,i=e.pageY-this.origPageY),{origEvent:e,isTouch:!1,subjectEl:this.subjectEl,pageX:e.pageX,pageY:e.pageY,deltaX:n,deltaY:i}}createEventFromTouch(e,t){let n,i,o=e.touches,r=0,s=0;return o&&o.length?(n=o[0].pageX,i=o[0].pageY):(n=e.pageX,i=e.pageY),t?(this.origPageX=n,this.origPageY=i):(r=n-this.origPageX,s=i-this.origPageY),{origEvent:e,isTouch:!0,subjectEl:this.subjectEl,pageX:n,pageY:i,deltaX:r,deltaY:s}}}function Pa(e){Da&&e.preventDefault()}class Oa{constructor(){this.isVisible=!1,this.sourceEl=null,this.mirrorEl=null,this.sourceElRect=null,this.parentNode=document.body,this.zIndex=9999,this.revertDuration=0}start(e,t,n){this.sourceEl=e,this.sourceElRect=this.sourceEl.getBoundingClientRect(),this.origScreenX=t-window.pageXOffset,this.origScreenY=n-window.pageYOffset,this.deltaX=0,this.deltaY=0,this.updateElPosition()}handleMove(e,t){this.deltaX=e-window.pageXOffset-this.origScreenX,this.deltaY=t-window.pageYOffset-this.origScreenY,this.updateElPosition()}setIsVisible(e){e?this.isVisible||(this.mirrorEl&&(this.mirrorEl.style.display=""),this.isVisible=e,this.updateElPosition()):this.isVisible&&(this.mirrorEl&&(this.mirrorEl.style.display="none"),this.isVisible=e)}stop(e,t){let n=()=>{this.cleanup(),t()};e&&this.mirrorEl&&this.isVisible&&this.revertDuration&&(this.deltaX||this.deltaY)?this.doRevertAnimation(n,this.revertDuration):setTimeout(n,0)}doRevertAnimation(e,t){let n=this.mirrorEl,i=this.sourceEl.getBoundingClientRect();n.style.transition="top "+t+"ms,left "+t+"ms",je(n,{left:i.left,top:i.top}),We(n,(()=>{n.style.transition="",e()}))}cleanup(){this.mirrorEl&&(Oe(this.mirrorEl),this.mirrorEl=null),this.sourceEl=null}updateElPosition(){this.sourceEl&&this.isVisible&&je(this.getMirrorEl(),{left:this.sourceElRect.left+this.deltaX,top:this.sourceElRect.top+this.deltaY})}getMirrorEl(){let e=this.sourceElRect,t=this.mirrorEl;return t||(t=this.mirrorEl=this.sourceEl.cloneNode(!0),t.style.userSelect="none",t.classList.add("fc-event-dragging"),je(t,{position:"fixed",zIndex:this.zIndex,visibility:"",boxSizing:"border-box",width:e.right-e.left,height:e.bottom-e.top,right:"auto",bottom:"auto",margin:0}),this.parentNode.appendChild(t)),t}}class Ra extends $i{constructor(e,t){super(),this.handleScroll=()=>{this.scrollTop=this.scrollController.getScrollTop(),this.scrollLeft=this.scrollController.getScrollLeft(),this.handleScrollChange()},this.scrollController=e,this.doesListening=t,this.scrollTop=this.origScrollTop=e.getScrollTop(),this.scrollLeft=this.origScrollLeft=e.getScrollLeft(),this.scrollWidth=e.getScrollWidth(),this.scrollHeight=e.getScrollHeight(),this.clientWidth=e.getClientWidth(),this.clientHeight=e.getClientHeight(),this.clientRect=this.computeClientRect(),this.doesListening&&this.getEventTarget().addEventListener("scroll",this.handleScroll)}destroy(){this.doesListening&&this.getEventTarget().removeEventListener("scroll",this.handleScroll)}getScrollTop(){return this.scrollTop}getScrollLeft(){return this.scrollLeft}setScrollTop(e){this.scrollController.setScrollTop(e),this.doesListening||(this.scrollTop=Math.max(Math.min(e,this.getMaxScrollTop()),0),this.handleScrollChange())}setScrollLeft(e){this.scrollController.setScrollLeft(e),this.doesListening||(this.scrollLeft=Math.max(Math.min(e,this.getMaxScrollLeft()),0),this.handleScrollChange())}getClientWidth(){return this.clientWidth}getClientHeight(){return this.clientHeight}getScrollWidth(){return this.scrollWidth}getScrollHeight(){return this.scrollHeight}handleScrollChange(){}}class Ia extends Ra{constructor(e,t){super(new zi(e),t)}getEventTarget(){return this.scrollController.el}computeClientRect(){return Oi(this.scrollController.el)}}class La extends Ra{constructor(e){super(new Bi,e)}getEventTarget(){return window}
vendor: 25,590 bytes, line 1
1computeClientRect(){return{left:this.scrollLeft,right:this.scrollLeft+this.clientWidth,top:this.scrollTop,bottom:this.scrollTop+this.clientHeight}}handleScrollChange(){this.clientRect=this.computeClientRect()}}const Na="function"==typeof performance?performance.now:Date.now;class ja{constructor(){this.isEnabled=!0,this.scrollQuery=[window,".fc-scroller"],this.edgeThreshold=50,this.maxVelocity=300,this.pointerScreenX=null,this.pointerScreenY=null,this.isAnimating=!1,this.scrollCaches=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.animate=()=>{if(this.isAnimating){let e=this.computeBestEdge(this.pointerScreenX+window.pageXOffset,this.pointerScreenY+window.pageYOffset);if(e){let t=Na();this.handleSide(e,(t-this.msSinceRequest)/1e3),this.requestAnimation(t)}else this.isAnimating=!1}}}start(e,t,n){this.isEnabled&&(this.scrollCaches=this.buildCaches(n),this.pointerScreenX=null,this.pointerScreenY=null,this.everMovedUp=!1,this.everMovedDown=!1,this.everMovedLeft=!1,this.everMovedRight=!1,this.handleMove(e,t))}handleMove(e,t){if(this.isEnabled){let n=e-window.pageXOffset,i=t-window.pageYOffset,o=null===this.pointerScreenY?0:i-this.pointerScreenY,r=null===this.pointerScreenX?0:n-this.pointerScreenX;o<0?this.everMovedUp=!0:o>0&&(this.everMovedDown=!0),r<0?this.everMovedLeft=!0:r>0&&(this.everMovedRight=!0),this.pointerScreenX=n,this.pointerScreenY=i,this.isAnimating||(this.isAnimating=!0,this.requestAnimation(Na()))}}stop(){if(this.isEnabled){this.isAnimating=!1;for(let e of this.scrollCaches)e.destroy();this.scrollCaches=null}}requestAnimation(e){this.msSinceRequest=e,requestAnimationFrame(this.animate)}handleSide(e,t){let{scrollCache:n}=e,{edgeThreshold:i}=this,o=i-e.distance,r=o*o/(i*i)*this.maxVelocity*t,s=1;switch(e.name){case"left":s=-1;case"right":n.setScrollLeft(n.getScrollLeft()+r*s);break;case"top":s=-1;case"bottom":n.setScrollTop(n.getScrollTop()+r*s)}}computeBestEdge(e,t){let{edgeThreshold:n}=this,i=null,o=this.scrollCaches||[];for(let r of o){let o=r.clientRect,s=e-o.left,a=o.right-e,l=t-o.top,c=o.bottom-t;s>=0&&a>=0&&l>=0&&c>=0&&(l<=n&&this.everMovedUp&&r.canScrollUp()&&(!i||i.distance>l)&&(i={scrollCache:r,name:"top",distance:l}),c<=n&&this.everMovedDown&&r.canScrollDown()&&(!i||i.distance>c)&&(i={scrollCache:r,name:"bottom",distance:c}),s<=n&&this.everMovedLeft&&r.canScrollLeft()&&(!i||i.distance>s)&&(i={scrollCache:r,name:"left",distance:s}),a<=n&&this.everMovedRight&&r.canScrollRight()&&(!i||i.distance>a)&&(i={scrollCache:r,name:"right",distance:a}))}return i}buildCaches(e){return this.queryScrollEls(e).map((e=>e===window?new La(!1):new Ia(e,!1)))}queryScrollEls(e){let t=[];for(let n of this.scrollQuery)"object"==typeof n?t.push(n):t.push(...Array.prototype.slice.call(e.getRootNode().querySelectorAll(n)));return t}}class Ha extends Go{constructor(e,t){super(e),this.containerEl=e,this.delay=null,this.minDistance=0,this.touchScrollAllowed=!0,this.mirrorNeedsRevert=!1,this.isInteracting=!1,this.isDragging=!1,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,this.delayTimeoutId=null,this.onPointerDown=e=>{this.isDragging||(this.isInteracting=!0,this.isDelayEnded=!1,this.isDistanceSurpassed=!1,Ke(document.body),et(document.body),e.isTouch||e.origEvent.preventDefault(),this.emitter.trigger("pointerdown",e),this.isInteracting&&!this.pointer.shouldIgnoreMove&&(this.mirror.setIsVisible(!1),this.mirror.start(e.subjectEl,e.pageX,e.pageY),this.startDelay(e),this.minDistance||this.handleDistanceSurpassed(e)))},this.onPointerMove=e=>{if(this.isInteracting){if(this.emitter.trigger("pointermove",e),!this.isDistanceSurpassed){let t,n=this.minDistance,{deltaX:i,deltaY:o}=e;t=i*i+o*o,t>=n*n&&this.handleDistanceSurpassed(e)}this.isDragging&&("scroll"!==e.origEvent.type&&(this.mirror.handleMove(e.pageX,e.pageY),this.autoScroller.handleMove(e.pageX,e.pageY)),this.emitter.trigger("dragmove",e))}},this.onPointerUp=e=>{this.isInteracting&&(this.isInteracting=!1,Je(document.body),tt(document.body),this.emitter.trigger("pointerup",e),this.isDragging&&(this.autoScroller.stop(),this.tryStopDrag(e)),this.delayTimeoutId&&(clearTimeout(this.delayTimeoutId),this.delayTimeoutId=null))};let n=this.pointer=new Ma(e);n.emitter.on("pointerdown",this.onPointerDown),n.emitter.on("pointermove",this.onPointerMove),n.emitter.on("pointerup",this.onPointerUp),t&&(n.selector=t),this.mirror=new Oa,this.autoScroller=new ja}destroy(){this.pointer.destroy(),this.onPointerUp({})}startDelay(e){"number"==typeof this.delay?this.delayTimeoutId=setTimeout((()=>{this.delayTimeoutId=null,this.handleDelayEnd(e)}),this.delay):this.handleDelayEnd(e)}handleDelayEnd(e){this.isDelayEnded=!0,this.tryStartDrag(e)}handleDistanceSurpassed(e){this.isDistanceSurpassed=!0,this.tryStartDrag(e)}tryStartDrag(e){this.isDelayEnded&&this.isDistanceSurpassed&&(this.pointer.wasTouchScroll&&!this.touchScrollAllowed||(this.isDragging=!0,this.mirrorNeedsRevert=!1,this.autoScroller.start(e.pageX,e.pageY,this.containerEl),this.emitter.trigger("dragstart",e),!1===this.touchScrollAllowed&&this.pointer.cancelTouchScroll()))}tryStopDrag(e){this.mirror.stop(this.mirrorNeedsRevert,this.stopDrag.bind(this,e))}stopDrag(e){this.isDragging=!1,this.emitter.trigger("dragend",e)}setIgnoreMove(e){this.pointer.shouldIgnoreMove=e}setMirrorIsVisible(e){this.mirror.setIsVisible(e)}setMirrorNeedsRevert(e){this.mirrorNeedsRevert=e}setAutoScrollEnabled(e){this.autoScroller.isEnabled=e}}class $a{constructor(e){this.origRect=Ri(e),this.scrollCaches=Ii(e).map((e=>new Ia(e,!0)))}destroy(){for(let e of this.scrollCaches)e.destroy()}computeLeft(){let e=this.origRect.left;for(let t of this.scrollCaches)e+=t.origScrollLeft-t.getScrollLeft();return e}computeTop(){let e=this.origRect.top;for(let t of this.scrollCaches)e+=t.origScrollTop-t.getScrollTop();return e}isWithinClipping(e,t){let n={left:e,top:t};for(let e of this.scrollCaches)if(!za(e.getEventTarget())&&!oi(n,e.clientRect))return!1;return!0}}function za(e){let t=e.tagName;return"HTML"===t||"BODY"===t}class Ba{constructor(e,t){this.useSubjectCenter=!1,this.requireInitial=!0,this.initialHit=null,this.movingHit=null,this.finalHit=null,this.handlePointerDown=e=>{let{dragging:t}=this;this.initialHit=null,this.movingHit=null,this.finalHit=null,this.prepareHits(),this.processFirstCoord(e),this.initialHit||!this.requireInitial?(t.setIgnoreMove(!1),this.emitter.trigger("pointerdown",e)):t.setIgnoreMove(!0)},this.handleDragStart=e=>{this.emitter.trigger("dragstart",e),this.handleMove(e,!0)},this.handleDragMove=e=>{this.emitter.trigger("dragmove",e),this.handleMove(e)},this.handlePointerUp=e=>{this.releaseHits(),this.emitter.trigger("pointerup",e)},this.handleDragEnd=e=>{this.movingHit&&this.emitter.trigger("hitupdate",null,!0,e),this.finalHit=this.movingHit,this.movingHit=null,this.emitter.trigger("dragend",e)},this.droppableStore=t,e.emitter.on("pointerdown",this.handlePointerDown),e.emitter.on("dragstart",this.handleDragStart),e.emitter.on("dragmove",this.handleDragMove),e.emitter.on("pointerup",this.handlePointerUp),e.emitter.on("dragend",this.handleDragEnd),this.dragging=e,this.emitter=new Ni}processFirstCoord(e){let t,n={left:e.pageX,top:e.pageY},i=n,o=e.subjectEl;o instanceof HTMLElement&&(t=Ri(o),i=si(i,t));let r=this.initialHit=this.queryHitForOffset(i.left,i.top);if(r){if(this.useSubjectCenter&&t){let e=ri(t,r.rect);e&&(i=ai(e))}this.coordAdjust=li(i,n)}else this.coordAdjust={left:0,top:0}}handleMove(e,t){let n=this.queryHitForOffset(e.pageX+this.coordAdjust.left,e.pageY+this.coordAdjust.top);!t&&Fa(this.movingHit,n)||(this.movingHit=n,this.emitter.trigger("hitupdate",n,!1,e))}prepareHits(){this.offsetTrackers=St(this.droppableStore,(e=>(e.component.prepareHits(),new $a(e.el))))}releaseHits(){let{offsetTrackers:e}=this;for(let t in e)e[t].destroy();this.offsetTrackers={}}queryHitForOffset(e,t){let{droppableStore:n,offsetTrackers:i}=this,o=null;for(let r in n){let s=n[r].component,a=i[r];if(a&&a.isWithinClipping(e,t)){let n=a.computeLeft(),i=a.computeTop(),l=e-n,c=t-i,{origRect:d}=a,u=d.right-d.left,h=d.bottom-d.top;if(l>=0&&l<u&&c>=0&&c<h){let e=s.queryHit(l,c,u,h);e&&bi(e.dateProfile.activeRange,e.dateSpan.range)&&(!o||e.layer>o.layer)&&(e.componentId=r,e.context=s.context,e.rect.left+=n,e.rect.right+=n,e.rect.top+=i,e.rect.bottom+=i,o=e)}}}return o}}function Fa(e,t){return!e&&!t||Boolean(e)===Boolean(t)&&Do(e.dateSpan,t.dateSpan)}function Va(e,t){let n={};for(let i of t.pluginHooks.datePointTransforms)Object.assign(n,i(e,t));var i,o;return Object.assign(n,(i=e,{date:(o=t.dateEnv).toDate(i.range.start),dateStr:o.formatIso(i.range.start,{omitTime:i.allDay}),allDay:i.allDay})),n}class Ua extends Uo{constructor(e){super(e),this.subjectEl=null,this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let t=e.origEvent.target,{component:n,dragging:i}=this,{mirror:o}=i,{options:r}=n.context,s=n.context;this.subjectEl=e.subjectEl;let a=this.subjectSeg=go(e.subjectEl),l=(this.eventRange=a.eventRange).instance.instanceId;this.relevantEvents=Nn(s.getCurrentData().eventStore,l),i.minDistance=e.isTouch?0:r.eventDragMinDistance,i.delay=e.isTouch&&l!==n.props.eventSelection?function(e){let{options:t}=e.context,n=t.eventLongPressDelay;return null==n&&(n=t.longPressDelay),n}(n):null,r.fixedMirrorParent?o.parentNode=r.fixedMirrorParent:o.parentNode=Re(t,".fc"),o.revertDuration=r.dragRevertDuration;let c=n.isValidSegDownEl(t)&&!Re(t,".fc-event-resizer");i.setIgnoreMove(!c),this.isDragging=c&&e.subjectEl.classList.contains("fc-event-draggable")},this.handleDragStart=e=>{let t=this.component.context,n=this.eventRange,i=n.instance.instanceId;e.isTouch?i!==this.component.props.eventSelection&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:i}):t.dispatch({type:"UNSELECT_EVENT"}),this.isDragging&&(t.calendarApi.unselect(e),t.emitter.trigger("eventDragStart",{el:this.subjectEl,event:new lo(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi}))},this.handleHitUpdate=(e,t)=>{if(!this.isDragging)return;let n=this.relevantEvents,i=this.hitDragging.initialHit,o=this.component.context,r=null,s=null,a=null,l=!1,c={affectedEvents:n,mutatedEvents:{defs:{},instances:{}},isEvent:!0};if(e){r=e.context;let t=r.options;o===r||t.editable&&t.droppable?(s=function(e,t,n){let i=e.dateSpan,o=t.dateSpan,r=i.range.start,s=o.range.start,a={};i.allDay!==o.allDay&&(a.allDay=o.allDay,a.hasEnd=t.context.options.allDayMaintainDuration,o.allDay&&(r=Vt(r)));let l=ii(r,s,e.context.dateEnv,e.componentId===t.componentId?e.largeUnit:null);l.milliseconds&&(a.allDay=!1);let c={datesDelta:l,standardProps:a};for(let i of n)i(c,e,t);return c}(i,e,r.getCurrentData().pluginHooks.eventDragMutationMassagers),s&&(a=oo(n,r.getCurrentData().eventUiBases,s,r),c.mutatedEvents=a,Er(c,e.dateProfile,r)||(l=!0,s=null,a=null,c.mutatedEvents={defs:{},instances:{}}))):r=null}this.displayDrag(r,c),l?Xe():Ze(),t||(o===r&&Fa(i,e)&&(s=null),this.dragging.setMirrorNeedsRevert(!s),this.dragging.setMirrorIsVisible(!e||!this.subjectEl.getRootNode().querySelector(".fc-event-mirror")),this.receivingContext=r,this.validMutation=s,this.mutatedRelevantEvents=a)},this.handlePointerUp=()=>{this.isDragging||this.cleanup()},this.handleDragEnd=e=>{if(this.isDragging){let t=this.component.context,n=t.viewApi,{receivingContext:i,validMutation:o}=this,r=this.eventRange.def,s=this.eventRange.instance,a=new lo(t,r,s),l=this.relevantEvents,c=this.mutatedRelevantEvents,{finalHit:d}=this.hitDragging;if(this.clearDrag(),t.emitter.trigger("eventDragStop",{el:this.subjectEl,event:a,jsEvent:e.origEvent,view:n}),o){if(i===t){let i=new lo(t,c.defs[r.defId],s?c.instances[s.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:c});let d={oldEvent:a,event:i,relatedEvents:uo(c,t,s),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}},u={};for(let e of t.getCurrentData().pluginHooks.eventDropTransformers)Object.assign(u,e(o,t));t.emitter.trigger("eventDrop",Object.assign(Object.assign(Object.assign({},d),u),{el:e.subjectEl,delta:o.datesDelta,jsEvent:e.origEvent,view:n})),t.emitter.trigger("eventChange",d)}else if(i){let o={event:a,relatedEvents:uo(l,t,s),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:l})}};t.emitter.trigger("eventLeave",Object.assign(Object.assign({},o),{draggedEl:e.subjectEl,view:n})),t.dispatch({type:"REMOVE_EVENTS",eventStore:l}),t.emitter.trigger("eventRemove",o);let u=c.defs[r.defId],h=c.instances[s.instanceId],f=new lo(i,u,h);i.dispatch({type:"MERGE_EVENTS",eventStore:c});let p={event:f,relatedEvents:uo(c,i,h),revert(){i.dispatch({type:"REMOVE_EVENTS",eventStore:c})}};i.emitter.trigger("eventAdd",p),e.isTouch&&i.dispatch({type:"SELECT_EVENT",eventInstanceId:s.instanceId}),i.emitter.trigger("drop",Object.assign(Object.assign({},Va(d.dateSpan,i)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:d.context.viewApi})),i.emitter.trigger("eventReceive",Object.assign(Object.assign({},p),{draggedEl:e.subjectEl,view:d.context.viewApi}))}}else t.emitter.trigger("_noEventDrop")}this.cleanup()};let{component:t}=this,{options:n}=t.context,i=this.dragging=new Ha(e.el);i.pointer.selector=Ua.SELECTOR,i.touchScrollAllowed=!1,i.autoScroller.isEnabled=n.dragScroll;let o=this.hitDragging=new Ba(this.dragging,qo);o.useSubjectCenter=e.useEventCenter,o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),o.emitter.on("hitupdate",this.handleHitUpdate),o.emitter.on("pointerup",this.handlePointerUp),o.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}displayDrag(e,t){let n=this.component.context,i=this.receivingContext;i&&i!==e&&(i===n?i.dispatch({type:"SET_EVENT_DRAG",state:{affectedEvents:t.affectedEvents,mutatedEvents:{defs:{},instances:{}},isEvent:!0}}):i.dispatch({type:"UNSET_EVENT_DRAG"})),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){let e=this.component.context,{receivingContext:t}=this;t&&t.dispatch({type:"UNSET_EVENT_DRAG"}),e!==t&&e.dispatch({type:"UNSET_EVENT_DRAG"})}cleanup(){this.subjectSeg=null,this.isDragging=!1,this.eventRange=null,this.relevantEvents=null,this.receivingContext=null,this.validMutation=null,this.mutatedRelevantEvents=null}}Ua.SELECTOR=".fc-event-draggable, .fc-event-resizable";const Wa={fixedMirrorParent:Mn},qa={dateClick:Mn,eventDragStart:Mn,eventDragStop:Mn,eventDrop:Mn,eventResizeStart:Mn,eventResizeStop:Mn,eventResize:Mn,drop:Mn,eventReceive:Mn,eventLeave:Mn};class Ga{constructor(e,t){this.receivingContext=null,this.droppableEvent=null,this.suppliedDragMeta=null,this.dragMeta=null,this.handleDragStart=e=>{this.dragMeta=this.buildDragMeta(e.subjectEl)},this.handleHitUpdate=(e,t,n)=>{let{dragging:i}=this.hitDragging,o=null,r=null,s=!1,a={affectedEvents:{defs:{},instances:{}},mutatedEvents:{defs:{},instances:{}},isEvent:this.dragMeta.create};e&&(o=e.context,this.canDropElOnCalendar(n.subjectEl,o)&&(r=function(e,t,n){let i=Object.assign({},t.leftoverProps);for(let o of n.pluginHooks.externalDefTransforms)Object.assign(i,o(e,t));let{refined:o,extra:r}=Qn(i,n),s=Zn(o,r,t.sourceId,e.allDay,n.options.forceEventDuration||Boolean(t.duration),n),a=e.range.start;e.allDay&&t.startTime&&(a=n.dateEnv.add(a,t.startTime));let l=t.duration?n.dateEnv.add(a,t.duration):io(e.allDay,a,n);return{def:s,instance:Pn(s.defId,{start:a,end:l})}}(e.dateSpan,this.dragMeta,o),a.mutatedEvents=Ln(r),s=!Er(a,e.dateProfile,o),s&&(a.mutatedEvents={defs:{},instances:{}},r=null))),this.displayDrag(o,a),i.setMirrorIsVisible(t||!r||!document.querySelector(".fc-event-mirror")),s?Xe():Ze(),t||(i.setMirrorNeedsRevert(!r),this.receivingContext=o,this.droppableEvent=r)},this.handleDragEnd=e=>{let{receivingContext:t,droppableEvent:n}=this;if(this.clearDrag(),t&&n){let i=this.hitDragging.finalHit,o=i.context.viewApi,r=this.dragMeta;if(t.emitter.trigger("drop",Object.assign(Object.assign({},Va(i.dateSpan,t)),{draggedEl:e.subjectEl,jsEvent:e.origEvent,view:o})),r.create){let i=Ln(n);t.dispatch({type:"MERGE_EVENTS",eventStore:i}),e.isTouch&&t.dispatch({type:"SELECT_EVENT",eventInstanceId:n.instance.instanceId}),t.emitter.trigger("eventReceive",{event:new lo(t,n.def,n.instance),relatedEvents:[],revert(){t.dispatch({type:"REMOVE_EVENTS",eventStore:i})},draggedEl:e.subjectEl,view:o})}}this.receivingContext=null,this.droppableEvent=null};let n=this.hitDragging=new Ba(e,qo);n.requireInitial=!1,n.emitter.on("dragstart",this.handleDragStart),n.emitter.on("hitupdate",this.handleHitUpdate),n.emitter.on("dragend",this.handleDragEnd),this.suppliedDragMeta=t}buildDragMeta(e){return"object"==typeof this.suppliedDragMeta?Xo(this.suppliedDragMeta):"function"==typeof this.suppliedDragMeta?Xo(this.suppliedDragMeta(e)):function(e){let t=function(e,t){let n=Yo.dataAttrPrefix,i=(n?n+"-":"")+"event";return e.getAttribute("data-"+i)||""}(e);return Xo(t?JSON.parse(t):{create:!1})}(e)}displayDrag(e,t){let n=this.receivingContext;n&&n!==e&&n.dispatch({type:"UNSET_EVENT_DRAG"}),e&&e.dispatch({type:"SET_EVENT_DRAG",state:t})}clearDrag(){this.receivingContext&&this.receivingContext.dispatch({type:"UNSET_EVENT_DRAG"})}canDropElOnCalendar(e,t){let n=t.options.dropAccept;return"function"==typeof n?n.call(t.calendarApi,e):"string"!=typeof n||!n||Boolean(Ie(e,n))}}Yo.dataAttrPrefix="";class Ya extends Go{constructor(e){super(e),this.shouldIgnoreMove=!1,this.mirrorSelector="",this.currentMirrorEl=null,this.handlePointerDown=e=>{this.emitter.trigger("pointerdown",e),this.shouldIgnoreMove||this.emitter.trigger("dragstart",e)},this.handlePointerMove=e=>{this.shouldIgnoreMove||this.emitter.trigger("dragmove",e)},this.handlePointerUp=e=>{this.emitter.trigger("pointerup",e),this.shouldIgnoreMove||this.emitter.trigger("dragend",e)};let t=this.pointer=new Ma(e);t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("pointermove",this.handlePointerMove),t.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.pointer.destroy()}setIgnoreMove(e){this.shouldIgnoreMove=e}setMirrorIsVisible(e){if(e)this.currentMirrorEl&&(this.currentMirrorEl.style.visibility="",this.currentMirrorEl=null);else{let e=this.mirrorSelector?document.querySelector(this.mirrorSelector):null;e&&(this.currentMirrorEl=e,e.style.visibility="hidden")}}}var Qa=Rs({name:"@fullcalendar/interaction",componentInteractions:[class extends Uo{constructor(e){super(e),this.handlePointerDown=e=>{let{dragging:t}=this,n=e.origEvent.target;t.setIgnoreMove(!this.component.isValidDateDownEl(n))},this.handleDragEnd=e=>{let{component:t}=this,{pointer:n}=this.dragging;if(!n.wasTouchScroll){let{initialHit:n,finalHit:i}=this.hitDragging;if(n&&i&&Fa(n,i)){let{context:i}=t,o=Object.assign(Object.assign({},Va(n.dateSpan,i)),{dayEl:n.dayEl,jsEvent:e.origEvent,view:i.viewApi||i.calendarApi.view});i.emitter.trigger("dateClick",o)}}},this.dragging=new Ha(e.el),this.dragging.autoScroller.isEnabled=!1;let t=this.hitDragging=new Ba(this.dragging,Wo(e));t.emitter.on("pointerdown",this.handlePointerDown),t.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}},class extends Uo{constructor(e){super(e),this.dragSelection=null,this.handlePointerDown=e=>{let{component:t,dragging:n}=this,{options:i}=t.context,o=i.selectable&&t.isValidDateDownEl(e.origEvent.target);n.setIgnoreMove(!o),n.delay=e.isTouch?function(e){let{options:t}=e.context,n=t.selectLongPressDelay;return null==n&&(n=t.longPressDelay),n}(t):null},this.handleDragStart=e=>{this.component.context.calendarApi.unselect(e)},this.handleHitUpdate=(e,t)=>{let{context:n}=this.component,i=null,o=!1;if(e){let t=this.hitDragging.initialHit;e.componentId===t.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(t,e)||(i=function(e,t,n){let i=e.dateSpan,o=t.dateSpan,r=[i.range.start,i.range.end,o.range.start,o.range.end];r.sort(lt);let s={};for(let i of n){let n=i(e,t);if(!1===n)return null;n&&Object.assign(s,n)}return s.range={start:r[0],end:r[3]},s.allDay=i.allDay,s}(t,e,n.pluginHooks.dateSelectionTransformers)),i&&Sr(i,e.dateProfile,n)||(o=!0,i=null)}i?n.dispatch({type:"SELECT_DATES",selection:i}):t||n.dispatch({type:"UNSELECT_DATES"}),o?Xe():Ze(),t||(this.dragSelection=i)},this.handlePointerUp=e=>{this.dragSelection&&(to(this.dragSelection,e,this.component.context),this.dragSelection=null)};let{component:t}=e,{options:n}=t.context,i=this.dragging=new Ha(e.el);i.touchScrollAllowed=!1,i.minDistance=n.selectMinDistance||0,i.autoScroller.isEnabled=n.dragScroll;let o=this.hitDragging=new Ba(this.dragging,Wo(e));o.emitter.on("pointerdown",this.handlePointerDown),o.emitter.on("dragstart",this.handleDragStart),o.emitter.on("hitupdate",this.handleHitUpdate),o.emitter.on("pointerup",this.handlePointerUp)}destroy(){this.dragging.destroy()}},Ua,class extends Uo{constructor(e){super(e),this.draggingSegEl=null,this.draggingSeg=null,this.eventRange=null,this.relevantEvents=null,this.validMutation=null,this.mutatedRelevantEvents=null,this.handlePointerDown=e=>{let{component:t}=this,n=go(this.querySegEl(e)),i=this.eventRange=n.eventRange;this.dragging.minDistance=t.context.options.eventDragMinDistance,this.dragging.setIgnoreMove(!this.component.isValidSegDownEl(e.origEvent.target)||e.isTouch&&this.component.props.eventSelection!==i.instance.instanceId)},this.handleDragStart=e=>{let{context:t}=this.component,n=this.eventRange;this.relevantEvents=Nn(t.getCurrentData().eventStore,this.eventRange.instance.instanceId);let i=this.querySegEl(e);this.draggingSegEl=i,this.draggingSeg=go(i),t.calendarApi.unselect(),t.emitter.trigger("eventResizeStart",{el:i,event:new lo(t,n.def,n.instance),jsEvent:e.origEvent,view:t.viewApi})},this.handleHitUpdate=(e,t,n)=>{let{context:i}=this.component,o=this.relevantEvents,r=this.hitDragging.initialHit,s=this.eventRange.instance,a=null,l=null,c=!1,d={affectedEvents:o,mutatedEvents:{defs:{},instances:{}},isEvent:!0};e&&(e.componentId===r.componentId&&this.isHitComboAllowed&&!this.isHitComboAllowed(r,e)||(a=function(e,t,n,i){let o=e.context.dateEnv,r=ii(e.dateSpan.range.start,t.dateSpan.range.start,o,e.largeUnit);if(n){if(o.add(i.start,r)<i.end)return{startDelta:r}}else if(o.add(i.end,r)>i.start)return{endDelta:r};return null}(r,e,n.subjectEl.classList.contains("fc-event-resizer-start"),s.range))),a&&(l=oo(o,i.getCurrentData().eventUiBases,a,i),d.mutatedEvents=l,Er(d,e.dateProfile,i)||(c=!0,a=null,l=null,d.mutatedEvents=null)),l?i.dispatch({type:"SET_EVENT_RESIZE",state:d}):i.dispatch({type:"UNSET_EVENT_RESIZE"}),c?Xe():Ze(),t||(a&&Fa(r,e)&&(a=null),this.validMutation=a,this.mutatedRelevantEvents=l)},this.handleDragEnd=e=>{let{context:t}=this.component,n=this.eventRange.def,i=this.eventRange.instance,o=new lo(t,n,i),r=this.relevantEvents,s=this.mutatedRelevantEvents;if(t.emitter.trigger("eventResizeStop",{el:this.draggingSegEl,event:o,jsEvent:e.origEvent,view:t.viewApi}),this.validMutation){let a=new lo(t,s.defs[n.defId],i?s.instances[i.instanceId]:null);t.dispatch({type:"MERGE_EVENTS",eventStore:s});let l={oldEvent:o,event:a,relatedEvents:uo(s,t,i),revert(){t.dispatch({type:"MERGE_EVENTS",eventStore:r})}};t.emitter.trigger("eventResize",Object.assign(Object.assign({},l),{el:this.draggingSegEl,startDelta:this.validMutation.startDelta||ft(0),endDelta:this.validMutation.endDelta||ft(0),jsEvent:e.origEvent,view:t.viewApi})),t.emitter.trigger("eventChange",l)}else t.emitter.trigger("_noEventResize");this.draggingSeg=null,this.relevantEvents=null,this.validMutation=null};let{component:t}=e,n=this.dragging=new Ha(e.el);n.pointer.selector=".fc-event-resizer",n.touchScrollAllowed=!1,n.autoScroller.isEnabled=t.context.options.dragScroll;let i=this.hitDragging=new Ba(this.dragging,Wo(e));i.emitter.on("pointerdown",this.handlePointerDown),i.emitter.on("dragstart",this.handleDragStart),i.emitter.on("hitupdate",this.handleHitUpdate),i.emitter.on("dragend",this.handleDragEnd)}destroy(){this.dragging.destroy()}querySegEl(e){return Re(e.subjectEl,".fc-event")}}],calendarInteractions:[class{constructor(e){this.context=e,this.isRecentPointerDateSelect=!1,this.matchesCancel=!1,this.matchesEvent=!1,this.onSelect=e=>{e.jsEvent&&(this.isRecentPointerDateSelect=!0)},this.onDocumentPointerDown=e=>{let t=this.context.options.unselectCancel,n=$e(e.origEvent);this.matchesCancel=!!Re(n,t),this.matchesEvent=!!Re(n,Ua.SELECTOR)},this.onDocumentPointerUp=e=>{let{context:t}=this,{documentPointer:n}=this,i=t.getCurrentData();if(!n.wasTouchScroll){if(i.dateSelection&&!this.isRecentPointerDateSelect){let n=t.options.unselectAuto;!n||n&&this.matchesCancel||t.calendarApi.unselect(e)}i.eventSelection&&!this.matchesEvent&&t.dispatch({type:"UNSELECT_EVENT"})}this.isRecentPointerDateSelect=!1};let t=this.documentPointer=new Ma(document);t.shouldIgnoreMove=!0,t.shouldWatchScroll=!1,t.emitter.on("pointerdown",this.onDocumentPointerDown),t.emitter.on("pointerup",this.onDocumentPointerUp),e.emitter.on("select",this.onSelect)}destroy(){this.context.emitter.off("select",this.onSelect),this.documentPointer.destroy()}}],elementDraggingImpl:Ha,optionRefiners:Wa,listenerRefiners:qa});function Xa(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.row].push(t);return n}function Za(e,t){let n=[];for(let e=0;e<t;e+=1)n[e]=[];for(let t of e)n[t.firstCol].push(t);return n}function Ka(e,t){let n=[];if(e){for(let i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.row].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}Te(':root{--fc-daygrid-event-dot-width:8px}.fc-daygrid-day-events:after,.fc-daygrid-day-events:before,.fc-daygrid-day-frame:after,.fc-daygrid-day-frame:before,.fc-daygri
1d-event-harness:after,.fc-daygrid-event-harness:before{clear:both;content:"";display:table}.fc .fc-daygrid-body{position:relative;z-index:1}.fc .fc-daygrid-day.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-daygrid-day-frame{min-height:100%;position:relative}.fc .fc-daygrid-day-top{display:flex;flex-direction:row-reverse}.fc .fc-day-other .fc-daygrid-day-top{opacity:.3}.fc .fc-daygrid-day-number{padding:4px;position:relative;z-index:4}.fc .fc-daygrid-month-start{font-size:1.1em;font-weight:700}.fc .fc-daygrid-day-events{margin-top:1px}.fc .fc-daygrid-body-balanced .fc-daygrid-day-events{left:0;position:absolute;right:0}.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events{min-height:2em;position:relative}.fc .fc-daygrid-body-natural .fc-daygrid-day-events{margin-bottom:1em}.fc .fc-daygrid-event-harness{position:relative}.fc .fc-daygrid-event-harness-abs{left:0;position:absolute;right:0;top:0}.fc .fc-daygrid-bg-harness{bottom:0;position:absolute;top:0}.fc .fc-daygrid-day-bg .fc-non-business{z-index:1}.fc .fc-daygrid-day-bg .fc-bg-event{z-index:2}.fc .fc-daygrid-day-bg .fc-highlight{z-index:3}.fc .fc-daygrid-event{margin-top:1px;z-index:6}.fc .fc-daygrid-event.fc-event-mirror{z-index:7}.fc .fc-daygrid-day-bottom{font-size:.85em;margin:0 2px}.fc .fc-daygrid-day-bottom:after,.fc .fc-daygrid-day-bottom:before{clear:both;content:"";display:table}.fc .fc-daygrid-more-link{border-radius:3px;cursor:pointer;line-height:1;margin-top:1px;max-width:100%;overflow:hidden;padding:2px;position:relative;white-space:nowrap;z-index:4}.fc .fc-daygrid-more-link:hover{background-color:rgba(0,0,0,.1)}.fc .fc-daygrid-week-number{background-color:var(--fc-neutral-bg-color);color:var(--fc-neutral-text-color);min-width:1.5em;padding:2px;position:absolute;text-align:center;top:0;z-index:5}.fc .fc-more-popover .fc-popover-body{min-width:220px;padding:10px}.fc-direction-ltr .fc-daygrid-event.fc-event-start,.fc-direction-rtl .fc-daygrid-event.fc-event-end{margin-left:2px}.fc-direction-ltr .fc-daygrid-event.fc-event-end,.fc-direction-rtl .fc-daygrid-event.fc-event-start{margin-right:2px}.fc-direction-ltr .fc-daygrid-more-link{float:left}.fc-direction-ltr .fc-daygrid-week-number{border-radius:0 0 3px 0;left:0}.fc-direction-rtl .fc-daygrid-more-link{float:right}.fc-direction-rtl .fc-daygrid-week-number{border-radius:0 0 0 3px;right:0}
1.fc-liquid-hack .fc-daygrid-day-frame{position:static}.fc-daygrid-event{border-radius:3px;font-size:var(--fc-small-font-size);position:relative;white-space:nowrap}.fc-daygrid-block-event .fc-event-time{font-weight:700}.fc-daygrid-block-event .fc-event-time,.fc-daygrid-block-event .fc-event-title{padding:1px}.fc-daygrid-dot-event{align-items:center;display:flex;padding:2px 0}.fc-daygrid-dot-event .fc-event-title{flex-grow:1;flex-shrink:1;font-weight:700;min-width:0;overflow:hidden}.fc-daygrid-dot-event.fc-event-mirror,.fc-daygrid-dot-event:hover{background:rgba(0,0,0,.1)}.fc-daygrid-dot-event.fc-event-selected:before{bottom:-10px;top:-10px}.fc-daygrid-event-dot{border:calc(var(--fc-daygrid-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-daygrid-event-dot-width)/2);box-sizing:content-box;height:0;margin:0 4px;width:0}.fc-direction-ltr .fc-daygrid-event .fc-event-time{margin-right:3px}.fc-direction-rtl .fc-daygrid-event .fc-event-time{margin-left:3px}');const Ja=bn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"narrow"});function el(e){let{display:t}=e.eventRange.ui;return"list-item"===t||"auto"===t&&!e.eventRange.def.allDay&&e.firstCol===e.lastCol&&e.isStart&&e.isEnd}class tl extends Xi{render(){let{props:e}=this;return g(Kr,Object.assign({}
vendor: 2,541 bytes, line 1
1,e,{elClasses:["fc-daygrid-event","fc-daygrid-block-event","fc-h-event"],defaultTimeFormat:Ja,defaultDisplayEventEnd:e.defaultDisplayEventEnd,disableResizing:!e.seg.eventRange.def.allDay}))}}class nl extends Xi{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i}=e,o=Eo(i,n.eventTimeFormat||Ja,t,!0,e.defaultDisplayEventEnd);return g(Zr,Object.assign({},e,{elTag:"a",elClasses:["fc-daygrid-event","fc-daygrid-dot-event"],elAttrs:Ao(e.seg,t),defaultGenerator:il,timeText:o,isResizing:!1,isDateSelecting:!1}))}}function il(e){return g(v,null,g("div",{className:"fc-daygrid-event-dot",style:{borderColor:e.borderColor||e.backgroundColor}}),e.timeText&&g("div",{className:"fc-event-time"},e.timeText),g("div",{className:"fc-event-title"},e.event.title||g(v,null,"Â ")))}class ol extends Xi{constructor(){super(...arguments),this.compileSegs=on(rl)}render(){let{props:e}=this,{allSegs:t,invisibleSegs:n}=this.compileSegs(e.singlePlacements);return g(hs,{elClasses:["fc-daygrid-more-link"],dateProfile:e.dateProfile,todayRange:e.todayRange,allDayDate:e.allDayDate,moreCnt:e.moreCnt,allSegs:t,hiddenSegs:n,alignmentElRef:e.alignmentElRef,alignGridTop:e.alignGridTop,extraDateSpan:e.extraDateSpan,popoverContent:()=>{let n=(e.eventDrag?e.eventDrag.affectedInstances:null)||(e.eventResize?e.eventResize.affectedInstances:null)||{};return g(v,null,t.map((t=>{let i=t.eventRange.instance.instanceId;return g("div",{className:"fc-daygrid-event-harness",key:i,style:{visibility:n[i]?"hidden":""}},el(t)?g(nl,Object.assign({seg:t,isDragging:!1,isSelected:i===e.eventSelection,defaultDisplayEventEnd:!1},So(t,e.todayRange))):g(tl,Object.assign({seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:i===e.eventSelection,defaultDisplayEventEnd:!1},So(t,e.todayRange))))})))}})}}function rl(e){let t=[],n=[];for(let i of e)t.push(i.seg),i.isVisible||n.push(i.seg);return{allSegs:t,invisibleSegs:n}}const sl=bn({week:"narrow"});class al extends Ki{constructor(){super(...arguments),this.rootElRef={current:null},this.state={dayNumberId:Be()},this.handleRootEl=e=>{Zi(this.rootElRef,e),Zi(this.props.elRef,e)}}render(){let{context:e,props:t,state:n,rootElRef:i}=this,{options:o,dateEnv:r}=e,{date:s,dateProfile:a}=t;const l=t.showDayNumber&&function(e,t,n){const{start:i,end:o}=t,r=jt(o,-1),s=n.getYear(i),a=n.getMonth(i),l=n.getYear(r),c=n.getMonth(r);return!(s===l&&a===c)&&Boolean(e.valueOf()===i.valueOf()||1===n.getDay(e)&&e.valueOf()<o.valueOf())}(s,a.currentRange,r);return g(ns,{elTag:"td",elRef:this.handleRootEl,elClasses:["fc-daygri
1d-day",...t.extraClassNames||[]],elAttrs:Object.assign(Object.assign(Object.assign({},t.extraDataAttrs),t.showDayNumber?{"aria-labelledby":n.dayNumberId}:{}),{role:"gridcell"}),defaultGenerator:ll,date:s,dateProfile:a,todayRange:t.todayRange,showDayNumber:t.showDayNumber,isMonthStart:l,extraRenderProps:t.extraRenderProps},((r,a)=>g("div",{ref:t.innerElRef,className:"fc-daygrid-day-frame fc-scrollgrid-sync-inner",style:{minHeight:t.minHeight}},t.showWeekNumber&&g(ls,{elTag:"a",elClasses:["fc-daygrid-week-number"],elAttrs:Ci(e,s,"week"),date:s,defaultFormat:sl}),!a.isDisabled&&(t.showDayNumber||is(o)||t.forceDayTop)?g("div",{className:"fc-daygrid-day-top"},g(r,{elTag:"a",elClasses:["fc-daygrid-day-number",l&&"fc-daygrid-month-start"],elAttrs:Object.assign(Object.assign({},Ci(e,s)),{id:n.dayNumberId})})):t.showDayNumber?g("div",{className:"fc-daygrid-day-top",style:{visibility:"hidden"}},g("a",{className:"fc-daygrid-day-number"},"Â ")):void 0,g("div",{className:"fc-daygrid-day-events",ref:t.fgContentElRef},t.fgContent,g("div",{className:"fc-daygrid-day-bottom",style:{marginTop:t.moreMarginTop}},g(ol,{allDayDate:s,singlePlacements:t.singlePlacements,moreCnt:t.moreCnt,alignmentElRef:i,alignGridTop:!t.showDayNumber,extraDateSpan:t.extraDateSpan,dateProfile:t.dateProfile,eventSelection:t.eventSelection,eventDrag:t.eventDrag,eventResize:t.eventResize,todayRange:t.todayRange}))),g("div",{className:"fc-daygrid-day-bg"},t.bgContent))))}}function ll(e){return e.dayNumberText||g(v,null,"Â ")}function cl(e,t,n,i){if(e.firstCol===t&&e.lastCol===n-1)return e;let o=e.eventRange,r=o.range,s=mi(r,{start:i[t].date,end:Nt(i[n-1].date,1)});return Object.assign(Object.assign({},e),{firstCol:t,lastCol:n-1,eventRange:{def:o.def,ui:Object.assign(Object.assign({},o.ui),{durationEditable:!1}),instance:o.instance,range:s},isStart:e.isStart&&s.start.valueOf()===r.start.valueOf(),isEnd:e.isEnd&&s.end.valueOf()===r.end.valueOf()})}class dl extends jo{constructor(){super(...arguments),this.hiddenConsumes=!1,this.forceHidden={}}addSegs(e){const t=super.addSegs(e),{entriesByLevel:n}=this,i=e=>!this.forceHidden[$o(e)];for(let e=0;e<n.length;e+=1)n[e]=n[e].filter(i);return t}handleInvalidInsertion(e,t,n){const{entriesByLevel:i,forceHidden:o}=this,{touchingEntry:r,touchingLevel:s,touchingLateral:a}=e;if(this.hiddenConsumes&&r){const e=$o(r);if(!o[e])if(this.allowReslicing){const e=Object.assign(Object.assign({},r),{span:Bo(r.span,t.span)});o[$o(e)]=!0,i[s][a]=e,this.splitEntry(r,t,n)}else o[e]=!0,n.push(r)}return super.handleInvalidInsertion(e,t,n)}}class ul extends Ki{constructor(){super(...arguments),this.cellElRefs=new Nr,this.frameElRefs=new Nr,this.fgElRefs=new Nr,this.segHarnessRefs=new Nr,this.rootElRef={current:null},this.state={framePositions:null,maxContentHeight:null,eventInstanceHeights:{}},this.handleResize=e=>{e&&this.updateSizing(!0)}}render(){let{props:e,state:t,context:n}=this,{options:i}=n,o=e.cells.length,r=Za(e.businessHourSegs,o),s=Za(e.bgEventSegs,o),a=Za(this.getHighlightSegs(),o),l=Za(this.getMirrorSegs(),o),{singleColPlacements:c,multiColPlacements:d,moreCnts:u,moreMarginTops:h}=function(e,t,n,i,o,r,s){let a=new dl;a.allowReslicing=!0,a.strictOrder=i,!0===t||!0===n?(a.maxCoord=r,a.hiddenConsumes=!0):"number"==typeof t?a.maxStackCnt=t:"number"==typeof n&&(a.maxStackCnt=n,a.hiddenConsumes=!0);let l=[],c=[];for(let t=0;t<e.length;t+=1){let n=e[t],{instanceId:i}=n.eventRange.instance,r=o[i];null!=r?l.push({index:t,thickness:r,span:{start:n.firstCol,end:n.lastCol+1}}):c.push(n)}let d=a.addSegs(l),u=a.toRects(),{singleColPlacements:h,multiColPlacements:f,leftoverMargins:p}=function(e,t,n){let i=function(e,t){let n=[];for(let e=0;e<t;e+=1)n.push([]);for(let t of e)for(let e=t.span.start;e<t.span.end;e+=1)n[e].push(t);return n}(e,n.length),o=[],r=[],s=[];for(let e=0;e<n.length;e+=1){let a=i[e],l=[],c=0,d=0;for(let i of a){let o=t[i.index];l.push({seg:cl(o,e,e+1,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:i.levelCoord-c}),c=i.levelCoord+i.thickness}let u=[];c=0,d=0;for(let i of a){let o=t[i.index],r=i.span.end-i.span.start>1,s=i.span.start===e;d+=i.levelCoord-c,c=i.levelCoord+i.thickness,r?(d+=i.thickness,s&&u.push({seg:cl(o,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!0,absoluteTop:i.levelCoord,marginTop:0}
vendor: 4,063 bytes, line 1
1)):s&&(u.push({seg:cl(o,i.span.start,i.span.end,n),isVisible:!0,isAbsolute:!1,absoluteTop:i.levelCoord,marginTop:d}),d=0)}o.push(l),r.push(u),s.push(d)}return{singleColPlacements:o,multiColPlacements:r,leftoverMargins:s}}(u,e,s),g=[],m=[];for(let e of c){f[e.firstCol].push({seg:e,isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let t=e.firstCol;t<=e.lastCol;t+=1)h[t].push({seg:cl(e,t,t+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<s.length;e+=1)g.push(0);for(let t of d){let n=e[t.index],i=t.span;f[i.start].push({seg:cl(n,i.start,i.end,s),isVisible:!1,isAbsolute:!0,absoluteTop:0,marginTop:0});for(let e=i.start;e<i.end;e+=1)g[e]+=1,h[e].push({seg:cl(n,e,e+1,s),isVisible:!1,isAbsolute:!1,absoluteTop:0,marginTop:0})}for(let e=0;e<s.length;e+=1)m.push(p[e]);return{singleColPlacements:h,multiColPlacements:f,moreCnts:g,moreMarginTops:m}}(yo(e.fgEventSegs,i.eventOrder),e.dayMaxEvents,e.dayMaxEventRows,i.eventOrderStrict,t.eventInstanceHeights,t.maxContentHeight,e.cells),f=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{};return g("tr",{ref:this.rootElRef,role:"row"},e.renderIntro&&e.renderIntro(),e.cells.map(((t,n)=>{let i=this.renderFgSegs(n,e.forPrint?c[n]:d[n],e.todayRange,f),o=this.renderFgSegs(n,function(e,t){if(!e.length)return[];let n=function(e){let t={};for(let n of e)for(let e of n)t[e.seg.eventRange.instance.instanceId]=e.absoluteTop;return t}(t);return e.map((e=>({seg:e,isVisible:!0,isAbsolute:!0,absoluteTop:n[e.eventRange.instance.instanceId],marginTop:0})))}(l[n],d),e.todayRange,{},Boolean(e.eventDrag),Boolean(e.eventResize),!1);return g(al,{key:t.key,elRef:this.cellElRefs.createRef(t.key),innerElRef:this.frameElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,showDayNumber:e.showDayNumbers,showWeekNumber:e.showWeekNumbers&&0===n,forceDayTop:e.showWeekNumbers,todayRange:e.todayRange,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,moreCnt:u[n],moreMarginTop:h[n],singlePlacements:c[n],fgContentElRef:this.fgElRefs.createRef(t.key),fgContent:g(v,null,g(v,null,i),g(v,null,o)),bgContent:g(v,null,this.renderFillSegs(a[n],"highlight"),this.renderFillSegs(r[n],"non-business"),this.renderFillSegs(s[n],"bg-event")),minHeight:e.cellMinHeight})})))}componentDidMount(){this.updateSizing(!0),this.context.addResizeHandler(this.handleResize)}componentDidUpdate(e,t){let n=this.props;this.updateSizing(!At(e,n))}componentWillUnmount(){this.context.removeResizeHandler(this.handleResize)}getHighlightSegs(){let{props:e}=this;return e.eventDrag&&e.eventDrag.segs.length?e.eventDrag.segs:e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:e.dateSelectionSegs}getMirrorSegs(){let{props:e}=this;return e.eventResize&&e.eventResize.segs.length?e.eventResize.segs:[]}renderFgSegs(e,t,n,i,o,r,s){let{context:a}=this,{eventSelection:l}=this.props,{framePositions:c}=this.state,d=1===this.props.cells.length,u=o||r||s,h=[];if(c)for(let f of t){let{seg:t}=f,{instanceId:p}=t.eventRange.instance,m=p+":"+e,v=f.isVisible&&!i[p],y=f.isAbsolute,b="",w="";y&&(a.isRtl?(w=0,b=c.lefts[t.lastCol]-c.lefts[t.firstCol]):(b=0,w=c.rights[t.firstCol]-c.rights[t.lastCol])),h.push(g("div",{className:"fc-daygrid-event-harness"+(y?" fc-daygrid-event-harness-abs":""),key:m,ref:u?null:this.segHarnessRefs.createRef(m),style:{visibility:v?"":"hidden",marginTop:y?"":f.marginTop,top:y?f.absoluteTop:"",left:b,right:w}},el(t)?g(nl,Object.assign({seg:t,isDragging:o,isSelected:p===l,defaultDisplayEventEnd:d},So(t,n))):g(tl,Object.assign({seg:t,isDragging:o,isResizing:r,isDateSelecting:s,isSelected:p===l,defaultDisplayEventEnd:d},So(t,n)))))}return h}renderFillSegs(e,t){let{isRtl:n}=this.context,{todayRange:i}=this.props,{framePositions:o}=this.state,r=[];if(o)for(let s of e){let e=n?{right:0,left:o.lefts[s.lastCol]-o.lefts[s.firstCol]}:{left:0,right:o.rights[s.firstCol]-o.rights[s.lastCol]};
1r.push(g("div",{key:_o(s.eventRange),className:"fc-daygrid-bg-harness",style:e},"bg-event"===t?g(rs,Object.assign({seg:s},So(s,i))):as(t)))}return g(v,{},...r)}updateSizing(e){let{props:t,state:n,frameElRefs:i}=this;if(!t.forPrint&&null!==t.clientWidth){if(e){let e=t.cells.map((e=>i.currentMap[e.key]));if(e.length){let t=this.rootElRef.current,i=new ji(t,e,!0,!1);n.framePositions&&n.framePositions.similarTo(i)||this.setState({framePositions:new ji(t,e,!0,!1)})}}const o=this.state.eventInstanceHeights,r=this.queryEventInstanceHeights(),s=!0===t.dayMaxEvents||!0===t.dayMaxEventRows;this.safeSetState({eventInstanceHeights:Object.assign(Object.assign({},o),r),maxContentHeight:s?this.computeMaxContentHeight():null})}}queryEventInstanceHeights(){let e=this.segHarnessRefs.currentMap,t={};for(let n in e){let i=Math.round(e[n].getBoundingClientRect().height),o=n.split(":")[0];t[o]=Math.max(t[o]||0,i)}return t}computeMaxContentHeight(){let e=this.props.cells[0].key,t=this.cellElRefs.currentMap[e],n=this.fgElRefs.currentMap[e];return t.getBoundingClientRect().bottom-n.getBoundingClientRect().top}getCellEls(){let e=this.cellElRefs.currentMap;return this.props.cells.map((t=>e[t.key]))}}ul.addStateEquality({eventInstanceHeights:At});class hl extends Ki{constructor(){super(...arguments),this.splitBusinessHourSegs=on(Xa),this.splitBgEventSegs=on(Xa),this.splitFgEventSegs=on(Xa),this.splitDateSelectionSegs=on(Xa),this.splitEventDrag=on(Ka),this.splitEventResize=on(Ka),this.rowRefs=new Nr}render(){let{props:e,context:t}=this,n=e.cells.length,i=this.splitBusinessHourSegs(e.businessHourSegs,n),o=this.splitBgEventSegs(e.bgEventSegs,n),r=this.splitFgEventSegs(e.fgEventSegs,n),s=this.splitDateSelectionSegs(e.dateSelectionSegs,n),a=this.splitEventDrag(e.eventDrag,n),l=this.splitEventResize(e.eventResize,n),c=n>=7&&e.clientWidth?e.clientWidth/t.options.aspectRatio/6:null;return g(ur,{unit:"day"},((t,d)=>g(v,null,e.cells.map(((t,u)=>g(ul,{ref:this.rowRefs.createRef(u),key:t.length?t[0].date.toISOString():u,showDayNumbers:n>1,showWeekNumbers:e.showWeekNumbers,todayRange:d,dateProfile:e.dateProfile,cells:t,renderIntro:e.renderRowIntro,businessHourSegs:i[u],eventSelection:e.eventSelection,bgEventSegs:o[u].filter(fl),fgEventSegs:r[u],dateSelectionSegs:s[u],eventDrag:a[u],eventResize:l[u],dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,clientWidth:e.clientWidth,clientHeight:e.clientHeight,cellMinHeight:c,forPrint:e.forPrint}))))))}componentDidMount(){const e=this.rowRefs.currentMap[0].getCellEls()[0];this.rootEl=e?e.closest(".fc-daygrid-body"):null,this.rootEl&&this.context.registerInteractiveComponent(this,{el:this.rootEl,isHitComboAllowed:this.props.isHitComboAllowed})}componentWillUnmount(){this.rootEl&&(this.context.unregisterInteractiveComponent(this),this.rootEl=null)}prepareHits(){this.rowPositions=new ji(this.rootEl,this.rowRefs.collect().map((e=>e.getCellEls()[0])),!1,!0),this.colPositions=new ji(this.rootEl,this.rowRefs.currentMap[0].getCellEls(),!0,!1)}queryHit(e,t){let{colPositions:n,rowPositions:i}=this,o=n.leftToIndex(e),r=i.topToIndex(t);if(null!=r&&null!=o){let e=this.props.cells[r][o];return{dateProfile:this.props.dateProfile,dateSpan:Object.assign({range:this.getCellRange(r,o),allDay:!0},e.extraDateSpan),dayEl:this.getCellEl(r,o),rect:{left:n.lefts[o],right:n.rights[o],top:i.tops[r],bottom:i.bottoms[r]},layer:0}}return null}getCellEl(e,t){return this.rowRefs.currentMap[e].getCellEls()[t]}getCellRange(e,t){let n=this.props.cells[e][t].date;return{start:n,end:Nt(n,1)}}}function fl(e){return e.eventRange.def.allDay}class pl extends Ki{constructor(){super(...arguments),this.elRef={current:null},this.needsScrollReset=!1}render(){let{props:e}=this,{dayMaxEventRows:t,dayMaxEvents:n,expandRows:i}=e,o=!0===n||!0===t;o&&!i&&(o=!1,t=null,n=null);let r=["fc-daygrid-body",o?"fc-daygrid-body-balanced":"fc-daygrid-body-unbalanced",i?"":"fc-daygrid-body-natural"];return g("div",{ref:this.elRef,className:r.join(" "),style:{width:e.clientWidth,minWidth:e.tableMinWidth}},g("table",{role:"presentation",className:"fc-scrollgrid-sync-table",style:{width:e.clientWidth,minWidth:e.tableMinWidth,height:i?e.clientHeight:""}},e.colGroupNode,g("tbody",{role:"presentation"},g(hl,{dateProfile:e.dateProfile,cells:e.cells,renderRowIntro:e.renderRowIntro,showWeekNumbers:e.showWeekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,dayMaxEvents:n,dayMaxEventRows:t,forPrint:e.forPrint,isHitComboAllowed:e.isHitComboAllowed}))))}componentDidMount(){this.requestScrollReset()}componentDidUpdate(e){e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&this.props.clientWidth){const e=function(e,t){let n;return t.currentRangeUnit.match(/year|month/)&&(n=e.querySelector(`[data-date="${en(t.currentDate)}-01"]`)),n||(n=e.querySelector(`[data-date="${Jt(t.currentDate)}"]`)),n}(this.elRef.current,this.props.dateProfile);
vendor: 16,950 bytes, line 1
1if(e){const t=e.closest(".fc-daygrid-body"),n=t.closest(".fc-scroller"),i=e.getBoundingClientRect().top-t.getBoundingClientRect().top;n.scrollTop=i?i+1:0}this.needsScrollReset=!1}}}class gl extends vr{constructor(){super(...arguments),this.forceDayIfListItem=!0}sliceRange(e,t){return t.sliceRange(e)}}class ml extends Ki{constructor(){super(...arguments),this.slicer=new gl,this.tableRef={current:null}}render(){let{props:e,context:t}=this;return g(pl,Object.assign({ref:this.tableRef},this.slicer.sliceProps(e,e.dateProfile,e.nextDayThreshold,t,e.dayTableModel),{dateProfile:e.dateProfile,cells:e.dayTableModel.cells,colGroupNode:e.colGroupNode,tableMinWidth:e.tableMinWidth,renderRowIntro:e.renderRowIntro,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.showWeekNumbers,expandRows:e.expandRows,headerAlignElRef:e.headerAlignElRef,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:e.forPrint}))}}class vl extends eo{buildRenderRange(e,t,n){let i=super.buildRenderRange(e,t,n),{props:o}=this;return yl({currentRange:i,snapToWeek:/^(year|month)$/.test(t),fixedWeekCount:o.fixedWeekCount,dateEnv:o.dateEnv})}}function yl(e){let t,{dateEnv:n,currentRange:i}=e,{start:o,end:r}=i;if(e.snapToWeek&&(o=n.startOfWeek(o),t=n.startOfWeek(r),t.valueOf()!==r.valueOf()&&(r=Lt(t,1))),e.fixedWeekCount){let e=n.startOfWeek(n.startOfMonth(Nt(i.end,-1)));r=Lt(r,6-Math.ceil(Ht(e,r)))}return{start:o,end:r}}class bl extends Ki{constructor(){super(...arguments),this.headerElRef={current:null}}renderSimpleLayout(e,t){let{props:n,context:i}=this,o=[],r=Yr(i.options);return e&&o.push({type:"header",key:"header",isSticky:r,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),o.push({type:"body",key:"body",liquid:!0,chunk:{content:t}}),g(ys,{elClasses:["fc-daygrid"],viewSpec:i.viewSpec},g(Xr,{liquid:!n.isHeightAuto&&!n.forPrint,collapsibleWidth:n.forPrint,cols:[],sections:o}))}renderHScrollLayout(e,t,n,i){let o=this.context.pluginHooks.scrollGridImpl;if(!o)throw new Error("No ScrollGrid implementation");let{props:r,context:s}=this,a=!r.forPrint&&Yr(s.options),l=!r.forPrint&&Qr(s.options),c=[];return e&&c.push({type:"header",key:"header",isSticky:a,chunks:[{key:"main",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),c.push({type:"body",key:"body",liquid:!0,chunks:[{key:"main",content:t}]}),l&&c.push({type:"footer",key:"footer",isSticky:!0,chunks:[{key:"main",content:Gr}]}),g(ys,{elClasses:["fc-daygrid"],viewSpec:s.viewSpec},g(o,{liquid:!r.isHeightAuto&&!r.forPrint,forPrint:r.forPrint,collapsibleWidth:r.forPrint,colGroups:[{cols:[{span:n,minWidth:i}]}],sections:c}))}}function wl(e,t){let n=new gr(e.renderRange,t);return new mr(n,/year|month|week/.test(e.currentRangeUnit))}var xl=Rs({name:"@fullcalendar/daygrid",initialView:"dayGridMonth",views:{dayGrid:{component:class extends bl{constructor(){super(...arguments),this.buildDayTableModel=on(wl),this.headerRef={current:null},this.tableRef={current:null}}render(){let{options:e,dateProfileGenerator:t}=this.context,{props:n}=this,i=this.buildDayTableModel(n.dateProfile,t),o=e.dayHeaders&&g(fr,{ref:this.headerRef,dateProfile:n.dateProfile,dates:i.headerDates,datesRepDistinctDays:1===i.rowCnt}),r=t=>g(ml,{ref:this.tableRef,dateProfile:n.dateProfile,dayTableModel:i,businessHours:n.businessHours,dateSelection:n.dateSelection,eventStore:n.eventStore,eventUiBases:n.eventUiBases,eventSelection:n.eventSelection,eventDrag:n.eventDrag,eventResize:n.eventResize,nextDayThreshold:e.nextDayThreshold,colGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,dayMaxEvents:e.dayMaxEvents,dayMaxEventRows:e.dayMaxEventRows,showWeekNumbers:e.weekNumbers,expandRows:!n.isHeightAuto,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:n.forPrint});return e.dayMinWidth?this.renderHScrollLayout(o,r,i.colCnt,e.dayMinWidth):this.renderSimpleLayout(o,r)}},dateProfileGeneratorClass:vl},dayGridDay:{type:"dayGrid",duration:{days:1}},dayGridWeek:{type:"dayGrid",duration:{weeks:1}},dayGridMonth:{type:"dayGrid",duration:{months:1},fixedWeekCount:!0},dayGridYear:{type:"dayGrid",duration:{years:1}}}});Te('.fc-v-event{background-color:var(--fc-event-bg-color);border:1px solid var(--fc-event-border-color);display:block}.fc-v-event .fc-event-main{color:var(--fc-event-text-color);height:100%}.fc-v-event .fc-event-main-frame{display:flex;flex-direction:column;height:100%}.fc-v-event .fc-event-time{flex-grow:0;flex-shrink:0;max-height:100%;overflow:hidden}.fc-v-event .fc-event-title-container{flex-grow:1;flex-shrink:1;min-height:0}.fc-v-event .fc-event-title{bottom:0;max-height:100%;overflow:hidden;top:0}.fc-v-event:not(.fc-event-start){border-top-left-radius:0;border-top-right-radius:0;border-top-width:0}.fc-v-event:not(.fc-event-end){border-bottom-left-radius:0;border-bottom-right-radius:0;border-bottom-width:0}.fc-v-event.fc-event-selected:before{left:-10px;right:-10px}.fc-v-event .fc-event-resizer-start{cursor:n-resize}.fc-v-event .fc-event-resizer-end{cursor:s-resize}.fc-v-event:not(.fc-event-selected) .fc-event-resizer{height:var(--fc-event-resizer-thickness);left:0;right:0}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-start{top:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event:not(.fc-event-selected) .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-thickness)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer{left:50%;margin-left:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-start{top:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc-v-event.fc-event-selected .fc-event-resizer-end{bottom:calc(var(--fc-event-resizer-dot-total-width)/-2)}.fc .fc-timegrid .fc-daygrid-body{z-index:2}.fc .fc-timegrid-divider{padding:0 0 2px}.fc .fc-timegrid-body{min-height:100%;position:relative;z-index:1}.fc .fc-timegrid-axis-chunk{position:relative}.fc .fc-timegrid-axis-chunk>table,.fc .fc-timegrid-slots{position:relative;z-index:1}.fc .fc-timegrid-slot{border-bottom:0;height:1.5em}.fc .fc-timegrid-slot:empty:before{content:"\\00a0"}.fc .fc-timegrid-slot-minor{border-top-style:dotted}.fc .fc-timegrid-slot-label-cushion{display:inline-block;white-space:nowrap}.fc .fc-timegrid-slot-label{vertical-align:middle}.fc .fc-timegrid-axis-cushion,.fc .fc-timegrid-slot-label-cushion{padding:0 4px}.fc .fc-timegrid-axis-frame-liquid{height:100%}.fc .fc-timegrid-axis-frame{align-items:center;display:flex;justify-content:flex-end;overflow:hidden}.fc .fc-timegrid-axis-cushion{flex-shrink:0;max-width:60px}.fc-direction-ltr .fc-timegrid-slot-label-frame{text-align:right}.fc-direction-rtl .fc-timegrid-slot-label-frame{text-align:left}.fc-liquid-hack .fc-timegrid-axis-frame-liquid{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col.fc-day-today{background-color:var(--fc-today-bg-color)}.fc .fc-timegrid-col-frame{min-height:100%;position:relative}.fc-media-screen.fc-liquid-hack .fc-timegrid-col-frame{bottom:0;height:auto;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols{bottom:0;left:0;position:absolute;right:0;top:0}.fc-media-screen .fc-timegrid-cols>table{height:100%}.fc-media-screen .fc-timegrid-col-bg,.fc-media-screen .fc-timegrid-col-events,.fc-media-screen .fc-timegrid-now-indicator-container{left:0;position:absolute;right:0;top:0}.fc .fc-timegrid-col-bg{z-index:2}.fc .fc-timegrid-col-bg .fc-non-business{z-index:1}.fc .fc-timegrid-col-bg .fc-bg-event{z-index:2}.fc .fc-timegrid-col-bg .fc-highlight{z-index:3}.fc .fc-timegrid-bg-harness{left:0;position:absolute;right:0}.fc .fc-timegrid-col-events{z-index:3}.fc .fc-timegrid-now-indicator-container{bottom:0;overflow:hidden}.fc-direction-ltr .fc-timegrid-col-events{margin:0 2.5% 0 2px}.fc-direction-rtl .fc-timegrid-col-events{margin:0 2px 0 2.5%}.fc-timegrid-event-harness{position:absolute}.fc-timegrid-event-harness>.fc-timegrid-event{bottom:0;left:0;position:absolute;right:0;top:0}.fc-timegrid-event-harness-inset .fc-timegrid-event,.fc-timegrid-event.fc-event-mirror,.fc-timegrid-more-link{box-shadow:0 0 0 1px var(--fc-page-bg-color)}.fc-timegrid-event,.fc-timegrid-more-link{border-radius:3px;font-size:var(--fc-small-font-size)}.fc-timegrid-event{margin-bottom:1px}.fc-timegrid-event .fc-event-main{padding:1px 1px 0}.fc-timegrid-event .fc-event-time{font-size:var(--fc-small-font-size);margin-bottom:1px;white-space:nowrap}.fc-timegrid-event-short .fc-event-main-frame{flex-direction:row;overflow:hidden}.fc-timegrid-event-short .fc-event-time:after{content:"\\00a0-\\00a0"}.fc-timegrid-event-short .fc-event-title{font-size:var(--fc-small-font-size)}.fc-timegrid-more-link{background:var(--fc-more-link-bg-color);color:var(--fc-more-link-text-color);cursor:pointer;margin-bottom:1px;position:absolute;z-index:9999}.fc-timegrid-more-link-inner{padding:3px 2px;top:0}.fc-direction-ltr .fc-timegrid-more-link{right:0}.fc-direction-rtl .fc-timegrid-more-link{left:0}.fc .fc-timegrid-now-indicator-line{border-color:var(--fc-now-indicator-color);border-style:solid;border-width:1px 0 0;left:0;position:absolute;right:0;z-index:4}.fc .fc-timegrid-now-indicator-arrow{border-color:var(--fc-now-indicator-color);border-style:solid;margin-top:-5px;position:absolute;z-index:4}.fc-direction-ltr .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 0 5px 6px;left:0}.fc-direction-rtl .fc-timegrid-now-indicator-arrow{border-bottom-color:transparent;border-top-color:transparent;border-width:5px 6px 5px 0;right:0}');class kl extends hi{getKeyInfo(){return{allDay:{},timed:{}}}getKeysForDateSpan(e){return e.allDay?["allDay"]:["timed"]}getKeysForEventDef(e){return e.allDay?fo(e)?["timed","allDay"]:["allDay"]:["timed"]}}const El=bn({hour:"numeric",minute:"2-digit",omitZeroMinute:!0,meridiem:"short"});function Sl(e){let t=["fc-timegrid-slot","fc-timegrid-slot-label",e.isLabeled?"fc-scrollgrid-shrink":"fc-timegrid-slot-minor"];return g(Gi.Consumer,null,(n=>{if(!e.isLabeled)return g("td",{className:t.join(" "),"data-time":e.isoTimeStr});let{dateEnv:i,options:o,viewApi:r}=n,s=null==o.slotLabelFormat?El:Array.isArray(o.slotLabelFormat)?bn(o.slotLabelFormat[0]):bn(o.slotLabelFormat),a={level:0,time:e.time,date:i.toDate(e.date),view:r,text:i.format(e.date,s)};return g(sr,{elTag:"td",elClasses:t,elAttrs:{"data-time":e.isoTimeStr},renderProps:a,generatorName:"slotLabelContent",customGenerator:o.slotLabelContent,defaultGenerator:Cl,classNameGenerator:o.slotLabelClassNames,didMount:o.slotLabelDidMount,willUnmount:o.slotLabelWillUnmount},(e=>g("div",{className:"fc-timegrid-slot-label-frame fc-scrollgrid-shrink-frame"},g(e,{elTag:"div",elClasses:["fc-timegrid-slot-label-cushion","fc-scrollgrid-shrink-cushion"]}))))}))}function Cl(e){return e.text}class _l extends Xi{render(){return this.props.slatMetas.map((e=>g("tr",{key:e.key},g(Sl,Object.assign({},e)))))}}const Al=bn({week:"short"});class Tl extends Ki{constructor(){super(...arguments),this.allDaySplitter=new kl,this.headerElRef={current:null},this.rootElRef={current:null},this.scrollerElRef={current:null},this.state={slatCoords:null},this.handleScrollTopRequest=e=>{let t=this.scrollerElRef.current;t&&(t.scrollTop=e)},this.renderHeadAxis=(e,t="")=>{let{options:n}=this.context,{dateProfile:i}=this.props,o=i.renderRange,r=1===$t(o.start,o.end)?Ci(this.context,o.start,"week"):{};return n.weekNumbers&&"day"===e?g(ls,{elTag:"th",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},date:o.start,defaultFormat:Al},(e=>g("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame","fc-timegrid-axis-frame-liquid"].join(" "),style:{height:t}},g(e,{elTag:"a",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"],elAttrs:r})))):g("th",{"aria-hidden":!0,className:"fc-timegrid-axis"},g("div",{className:"fc-timegrid-axis-frame",style:{height:t}}))},this.renderTableRowAxis=e=>{let{options:t,viewApi:n}=this.context,i={text:t.allDayText,view:n};return g(sr,{elTag:"td",elClasses:["fc-timegrid-axis","fc-scrollgrid-shrink"],elAttrs:{"aria-hidden":!0},renderProps:i,generatorName:"allDayContent",customGenerator:t.allDayContent,defaultGenerator:Dl,classNameGenerator:t.allDayClassNames,didMount:t.allDayDidMount,willUnmount:t.allDayWillUnmount},(t=>g("div",{className:["fc-timegrid-axis-frame","fc-scrollgrid-shrink-frame",null==e?" fc-timegrid-axis-frame-liquid":""].join(" "),style:{height:e}},g(t,{elTag:"span",elClasses:["fc-timegrid-axis-cushion","fc-scrollgrid-shrink-cushion","fc-scrollgrid-sync-inner"]}))))},this.handleSlatCoords=e=>{this.setState({slatCoords:e})}}renderSimpleLayout(e,t,n){let{context:i,props:o}=this,r=[],s=Yr(i.options);return e&&r.push({type:"header",key:"header",isSticky:s,chunk:{elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}}),t&&(r.push({type:"body",key:"all-day",chunk:{content:t}}),r.push({type:"body",key:"all-day-divider",outerContent:g("tr",{role:"presentation",className:"fc-scrollgrid-section"},g("td",{className:"fc-timegrid-divider "+i.theme.getClass("tableCellShaded")}))})),r.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(i.options.expandRows),chunk:{scrollerElRef:this.scrollerElRef,content:n}}),g(ys,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:i.viewSpec},g(Xr,{liquid:!o.isHeightAuto&&!o.forPrint,collapsibleWidth:o.forPrint,cols:[{width:"shrink"}],sections:r}))}renderHScrollLayout(e,t,n,i,o,r,s){let a=this.context.pluginHooks.scrollGridImpl;if(!a)throw new Error("No ScrollGrid implementation");let{context:l,props:c}=this,d=!c.forPrint&&Yr(l.options),u=!c.forPrint&&Qr(l.options),h=[];e&&h.push({type:"header",key:"header",isSticky:d,syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>g("tr",{role:"presentation"},this.renderHeadAxis("day",e.rowSyncHeights[0]))},{key:"cols",elRef:this.headerElRef,tableClassName:"fc-col-header",rowContent:e}]}),t&&(h.push({type:"body",key:"all-day",syncRowHeights:!0,chunks:[{key:"axis",rowContent:e=>g("tr",{role:"presentation"},this.renderTableRowAxis(e.rowSyncHeights[0]))},{key:"cols",content:t}]}),h.push({key:"all-day-divider",type:"body",outerContent:g("tr",{role:"presentation",className:"fc-scrollgrid-section"},g("td",{colSpan:2,className:"fc-timegrid-divider "+l.theme.getClass("tableCellShaded")}))}));let f=l.options.nowIndicator;return h.push({type:"body",key:"body",liquid:!0,expandRows:Boolean(l.options.expandRows),chunks:[{key:"axis",content:e=>g("div",{className:"fc-timegrid-axis-chunk"},g("table",{"aria-hidden":!0,style:{height:e.expandRows?e.clientHeight:""}},e.tableColGroupNode,g("tbody",null,g(_l,{slatMetas:r}))),g("div",{className:"fc-timegrid-now-indicator-container"},g(ur,{unit:f?"minute":"day"},(e=>{let t=f&&s&&s.safeComputeTop(e);return"number"==typeof t?g(es,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:t},isAxis:!0,date:e}):null}))))},{key:"cols",scrollerElRef:this.scrollerElRef,content:n}]}),u&&h.push({key:"footer",type:"footer",isSticky:!0,chunks:[{key:"axis",content:Gr},{key:"cols",content:Gr}]}),g(ys,{elRef:this.rootElRef,elClasses:["fc-timegrid"],viewSpec:l.viewSpec},g(a,{liquid:!c.isHeightAuto&&!c.forPrint,forPrint:c.forPrint,collapsibleWidth:!1,colGroups:[{width:"shrink",cols:[{width:"shrink"}]},{cols:[{span:i,minWidth:o}]}],sections:h}))}getAllDayMaxEventProps(){let{dayMaxEvents:e,dayMaxEventRows:t}=this.context.options;return!0!==e&&!0!==t||(e=void 0,t=5),{dayMaxEvents:e,dayMaxEventRows:t}}}function Dl(e){return e.text}class Ml{constructor(e,t,n){this.positions=e,this.dateProfile=t,this.slotDuration=n}safeComputeTop(e){let{dateProfile:t}=this;if(wi(t.currentRange,e)){let n=Vt(e),i=e.valueOf()-n.valueOf();if(i>=yt(t.slotMinTime)&&i<yt(t.slotMaxTime))return this.computeTimeTop(ft(i))}return null}computeDateTop(e,t){return t||(t=Vt(e)),this.computeTimeTop(ft(e.valueOf()-t.valueOf()))}computeTimeTop(e){let t,n,{positions:i,dateProfile:o}=this,r=i.els.length,s=(e.milliseconds-yt(o.slotMinTime))/yt(this.slotDuration);return s=Math.max(0,s),s=Math.min(r,s),t=Math.floor(s),t=Math.min(t,r-1),n=s-t,i.tops[t]+i.getHeight(t)*n}}class Pl extends Xi{render(){let{props:e,context:t}=this,{options:n}=t,{slatElRefs:i}=e;return g("tbody",null,e.slatMetas.map(((o,r)=>{let s={time:o.time,date:t.dateEnv.toDate(o.date),view:t.viewApi};return g("tr",{key:o.key,ref:i.createRef(o.key)},e.axis&&g(Sl,Object.assign({},o)),g(sr,{elTag:"td",elClasses:["fc-timegrid-slot","fc-timegrid-slot-lane",!o.isLabeled&&"fc-timegrid-slot-minor"],elAttrs:{"data-time":o.isoTimeStr},renderProps:s,generatorName:"slotLaneContent",customGenerator:n.slotLaneContent,classNameGenerator:n.slotLaneClassNames,didMount:n.slotLaneDidMount,willUnmount:n.slotLaneWillUnmount}))})))}}class Ol extends Xi{constructor(){super(...arguments),this.rootElRef={current:null},this.slatElRefs=new Nr}render(){let{props:e,context:t}=this;return g("div",{ref:this.rootElRef,className:"fc-timegrid-slots"}
1,g("table",{"aria-hidden":!0,className:t.theme.getClass("table"),style:{minWidth:e.tableMinWidth,width:e.clientWidth,height:e.minHeight}},e.tableColGroupNode,g(Pl,{slatElRefs:this.slatElRefs,axis:e.axis,slatMetas:e.slatMetas})))}componentDidMount(){this.updateSizing()}componentDidUpdate(){this.updateSizing()}componentWillUnmount(){this.props.onCoords&&this.props.onCoords(null)}updateSizing(){let{context:e,props:t}=this;var n;t.onCoords&&null!==t.clientWidth&&this.rootElRef.current.offsetHeight&&t.onCoords(new Ml(new ji(this.rootElRef.current,(n=this.slatElRefs.currentMap,t.slatMetas.map((e=>n[e.key]))),!1,!0),this.props.dateProfile,e.options.slotDuration))}}function Rl(e,t){let n,i=[];for(n=0;n<t;n+=1)i.push([]);if(e)for(n=0;n<e.length;n+=1)i[e[n].col].push(e[n]);return i}function Il(e,t){let n=[];if(e){for(let i=0;i<t;i+=1)n[i]={affectedInstances:e.affectedInstances,isEvent:e.isEvent,segs:[]};for(let t of e.segs)n[t.col].segs.push(t)}else for(let e=0;e<t;e+=1)n[e]=null;return n}class Ll extends Xi{render(){let{props:e}=this;return g(hs,{elClasses:["fc-timegrid-more-link"],elStyle:{top:e.top,bottom:e.bottom},allDayDate:null,moreCnt:e.hiddenSegs.length,allSegs:e.hiddenSegs,hiddenSegs:e.hiddenSegs,extraDateSpan:e.extraDateSpan,dateProfile:e.dateProfile,todayRange:e.todayRange,popoverContent:()=>Wl(e.hiddenSegs,e),defaultGenerator:Nl,forceTimed:!0},(e=>g(e,{elTag:"div",elClasses:["fc-timegrid-more-link-inner","fc-sticky"]})))}}function Nl(e){return e.shortText}function jl(e,t){if(!e)return[[],0];let{level:n,lateralStart:i,lateralEnd:o}=e,r=i,s=[];for(;r<o;)s.push(t(n,r)),r+=1;return s.sort(Hl),[s.map($l),s[0][1]]}function Hl(e,t){return t[1]-e[1]}function $l(e){return e[0]}function zl(e,t){const n={};return(...i)=>{let o=e(...i);return o in n?n[o]:n[o]=t(...i)}}function Bl(e,t,n=null,i=0){let o=[];if(n)for(let r=0;r<e.length;r+=1){let s=e[r],a=n.computeDateTop(s.start,t),l=Math.max(a+(i||0),n.computeDateTop(s.end,t));o.push({start:Math.round(a),end:Math.round(l)})}return o}const Fl=bn({hour:"numeric",minute:"2-digit",meridiem:!1});class Vl extends Xi{render(){return g(Kr,Object.assign({},this.props,{elClasses:["fc-timegrid-event","fc-v-event",this.props.isShort&&"fc-timegrid-event-short"],defaultTimeFormat:Fl}))}}class Ul extends Xi{constructor(){super(...arguments),this.sortEventSegs=on(yo)}render(){let{props:e,context:t}=this,{options:n}=t,i=n.selectMirror,o=e.eventDrag&&e.eventDrag.segs||e.eventResize&&e.eventResize.segs||i&&e.dateSelectionSegs||[],r=e.eventDrag&&e.eventDrag.affectedInstances||e.eventResize&&e.eventResize.affectedInstances||{},s=this.sortEventSegs(e.fgEventSegs,n.eventOrder);return g(ns,{elTag:"td",elRef:e.elRef,elClasses:["fc-timegrid-col",...e.extraClassNames||[]],elAttrs:Object.assign({role:"gridcell"},e.extraDataAttrs),date:e.date,dateProfile:e.dateProfile,todayRange:e.todayRange,extraRenderProps:e.extraRenderProps},(t=>g("div",{className:"fc-timegrid-col-frame"},g("div",{className:"fc-timegrid-col-bg"},this.renderFillSegs(e.businessHourSegs,"non-business"),this.renderFillSegs(e.bgEventSegs,"bg-event"),this.renderFillSegs(e.dateSelectionSegs,"highlight")),g("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(s,r,!1,!1,!1)),g("div",{className:"fc-timegrid-col-events"},this.renderFgSegs(o,{},Boolean(e.eventDrag),Boolean(e.eventResize),Boolean(i),"mirror")),g("div",{className:"fc-timegrid-now-indicator-container"},this.renderNowIndicator(e.nowIndicatorSegs)),is(n)&&g(t,{elTag:"div",elClasses:["fc-timegrid-col-misc"]}))))}renderFgSegs(e,t,n,i,o,r){let{props:s}=this;return s.forPrint?Wl(e,s):this.renderPositionedFgSegs(e,t,n,i,o,r)}renderPositionedFgSegs(e,t,n,i,o,r){let{eventMaxStack:s,eventShortHeight:a,eventOrderStrict:l,eventMinHeight:c}=this.context.options,{date:d,slatCoords:u,eventSelection:h,todayRange:f,nowDate:p}=this.props,m=n||i||o,y=Bl(e,d,u,c),{segPlacements:b,hiddenGroups:w}=function(e,t,n,i){let o=[],r=[];for(let n=0;n<e.length;n+=1){let i=t[n];i?o.push({index:n,thickness:1,span:i}):r.push(e[n])}let{segRects:s,hiddenGroups:a}=function(e,t,n){let i=new jo;null!=t&&(i.strictOrder=t),null!=n&&(i.maxStackCnt=n);let o=zo(i.addSegs(e)),r=function(e){const{entriesByLevel:t}=e,n=zl(((e,t)=>e+":"+t),((i,o)=>{let r=function(e,t,n){let{levelCoords:i,entriesByLevel:o}=e,r=o[t][n],s=i[t]+r.thickness,a=i.length,l=t;for(;
1l<a&&i[l]<s;l+=1);for(;l<a;l+=1){let e,t=o[l],n=Vo(t,r.span.start,Ho),i=n[0]+n[1],s=i;for(;(e=t[s])&&e.span.start<r.span.end;)s+=1;if(i<s)return{level:l,lateralStart:i,lateralEnd:s}}return null}(e,i,o),s=jl(r,n),a=t[i][o];return[Object.assign(Object.assign({},a),{nextLevelNodes:s[0]}),a.thickness+s[1]]}));return jl(t.length?{level:0,lateralStart:0,lateralEnd:t[0].length}:null,n)[0]}(i);return r=function(e,t){const n=zl(((e,t,n)=>$o(e)),((e,t,i)=>{let o,{nextLevelNodes:r,thickness:s}=e,a=s+i,l=s/a,c=[];if(r.length)for(let e of r)if(void 0===o){let i=n(e,t,a);o=i[0],c.push(i[1])}else{let t=n(e,o,0);c.push(t[1])}else o=1;let d=(o-t)*l;return[o-d,Object.assign(Object.assign({},e),{thickness:d,nextLevelNodes:c})]}));return e.map((e=>n(e,0,0)[1]))}(r),{segRects:function(e){let t=[];const n=zl(((e,t,n)=>$o(e)),((e,n,o)=>{let r=Object.assign(Object.assign({},e),{levelCoord:n,stackDepth:o,stackForward:0});return t.push(r),r.stackForward=i(e.nextLevelNodes,n+e.thickness,o+1)+1}));function i(e,t,i){let o=0;for(let r of e)o=Math.max(n(r,t,i),o);return o}return i(e,0,0),t}(r),hiddenGroups:o}}(o,n,i),l=[];for(let t of s)l.push({seg:e[t.index],rect:t});for(let e of r)l.push({seg:e,rect:null});return{segPlacements:l,hiddenGroups:a}}(e,y,l,s);return g(v,null,this.renderHiddenGroups(w,e),b.map((e=>{let{seg:s,rect:l}=e,c=s.eventRange.instance.instanceId,d=m||Boolean(!t[c]&&l),u=ql(l&&l.span),v=!m&&l?this.computeSegHStyle(l):{left:0,right:0},y=Boolean(l)&&l.stackForward>0,b=Boolean(l)&&l.span.end-l.span.start<a;return g("div",{className:"fc-timegrid-event-harness"+(y?" fc-timegrid-event-harness-inset":""),key:r||c,style:Object.assign(Object.assign({visibility:d?"":"hidden"},u),v)},g(Vl,Object.assign({seg:s,isDragging:n,isResizing:i,isDateSelecting:o,isSelected:c===h,isShort:b},So(s,f,p))))})))}renderHiddenGroups(e,t){let{extraDateSpan:n,dateProfile:i,todayRange:o,nowDate:r,eventSelection:s,eventDrag:a,eventResize:l}=this.props;return g(v,null,e.map((e=>{let c=ql(e.span),d=(u=e.entries,h=t,u.map((e=>h[e.index])));var u,h;return g(Ll,{key:Kt(gs(d)),hiddenSegs:d,top:c.top,bottom:c.bottom,extraDateSpan:n,dateProfile:i,todayRange:o,nowDate:r,eventSelection:s,eventDrag:a,eventResize:l})})))}renderFillSegs(e,t){let{props:n,context:i}=this,o=Bl(e,n.date,n.slatCoords,i.options.eventMinHeight).map(((i,o)=>{let r=e[o];return g("div",{key:_o(r.eventRange),className:"fc-timegrid-bg-harness",style:ql(i)},"bg-event"===t?g(rs,Object.assign({seg:r},So(r,n.todayRange,n.nowDate))):as(t))}));return g(v,null,o)}renderNowIndicator(e){let{slatCoords:t,date:n}=this.props;return t?e.map(((e,i)=>g(es,{key:i,elClasses:["fc-timegrid-now-indicator-line"],elStyle:{top:t.computeDateTop(e.start,n)},isAxis:!1,date:n}))):null}computeSegHStyle(e){let t,n,{isRtl:i,options:o}=this.context,r=o.slotEventOverlap,s=e.levelCoord,a=e.levelCoord+e.thickness;r&&(a=Math.min(1,s+2*(a-s))),i?(t=1-a,n=s):(t=s,n=1-a);let l={zIndex:e.stackDepth+1,left:100*t+"%",right:100*n+"%"};return r&&!e.stackForward&&(l[i?"marginLeft":"marginRight"]=20),l}}function Wl(e,{todayRange:t,nowDate:n,eventSelection:i,eventDrag:o,eventResize:r}){let s=(o?o.affectedInstances:null)||(r?r.affectedInstances:null)||{};return g(v,null,e.map((e=>{let o=e.eventRange.instance.instanceId;return g("div",{key:o,style:{visibility:s[o]?"hidden":""}},g(Vl,Object.assign({seg:e,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:o===i,isShort:!1},So(e,t,n))))})))}function ql(e){return e?{top:e.start,bottom:-e.end}:{top:"",bottom:""}}class Gl extends Xi{constructor(){super(...arguments),this.splitFgEventSegs=on(Rl),this.splitBgEventSegs=on(Rl),this.splitBusinessHourSegs=on(Rl),this.splitNowIndicatorSegs=on(Rl),this.splitDateSelectionSegs=on(Rl),this.splitEventDrag=on(Il),this.splitEventResize=on(Il),this.rootElRef={current:null},this.cellElRefs=new Nr}render(){let{props:e,context:t}=this,n=t.options.nowIndicator&&e.slatCoords&&e.slatCoords.safeComputeTop(e.nowDate),i=e.cells.length,o=this.splitFgEventSegs(e.fgEventSegs,i),r=this.splitBgEventSegs(e.bgEventSegs,i),s=this.splitBusinessHourSegs(e.businessHourSegs,i),a=this.splitNowIndicatorSegs(e.nowIndicatorSegs,i),l=this.splitDateSelectionSegs(e.dateSelectionSegs,i),c=this.splitEventDrag(e.eventDrag,i),d=this.splitEventResize(e.eventResize,i);return g("div",{className:"fc-timegrid-cols",ref:this.rootElRef},g("table",{role:"presentation",style:{minWidth:e.tableMinWidth,width:e.clientWidth}},e.tableColGroupNode,g("tbody",{role:"presentation"},g("tr",{role:"row"}
vendor: 21,491 bytes, line 1
1,e.axis&&g("td",{"aria-hidden":!0,className:"fc-timegrid-col fc-timegrid-axis"},g("div",{className:"fc-timegrid-col-frame"},g("div",{className:"fc-timegrid-now-indicator-container"},"number"==typeof n&&g(es,{elClasses:["fc-timegrid-now-indicator-arrow"],elStyle:{top:n},isAxis:!0,date:e.nowDate})))),e.cells.map(((t,n)=>g(Ul,{key:t.key,elRef:this.cellElRefs.createRef(t.key),dateProfile:e.dateProfile,date:t.date,nowDate:e.nowDate,todayRange:e.todayRange,extraRenderProps:t.extraRenderProps,extraDataAttrs:t.extraDataAttrs,extraClassNames:t.extraClassNames,extraDateSpan:t.extraDateSpan,fgEventSegs:o[n],bgEventSegs:r[n],businessHourSegs:s[n],nowIndicatorSegs:a[n],dateSelectionSegs:l[n],eventDrag:c[n],eventResize:d[n],slatCoords:e.slatCoords,eventSelection:e.eventSelection,forPrint:e.forPrint})))))))}componentDidMount(){this.updateCoords()}componentDidUpdate(){this.updateCoords()}updateCoords(){let{props:e}=this;var t;e.onColCoords&&null!==e.clientWidth&&e.onColCoords(new ji(this.rootElRef.current,(t=this.cellElRefs.currentMap,e.cells.map((e=>t[e.key]))),!0,!1))}}class Yl extends Ki{constructor(){super(...arguments),this.processSlotOptions=on(Ql),this.state={slatCoords:null},this.handleRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e,isHitComboAllowed:this.props.isHitComboAllowed}):this.context.unregisterInteractiveComponent(this)},this.handleScrollRequest=e=>{let{onScrollTopRequest:t}=this.props,{slatCoords:n}=this.state;if(t&&n){if(e.time){let i=n.computeTimeTop(e.time);i=Math.ceil(i),i&&(i+=1),t(i)}return!0}return!1},this.handleColCoords=e=>{this.colCoords=e},this.handleSlatCoords=e=>{this.setState({slatCoords:e}),this.props.onSlatCoords&&this.props.onSlatCoords(e)}}render(){let{props:e,state:t}=this;return g("div",{className:"fc-timegrid-body",ref:this.handleRootEl,style:{width:e.clientWidth,minWidth:e.tableMinWidth}},g(Ol,{axis:e.axis,dateProfile:e.dateProfile,slatMetas:e.slatMetas,clientWidth:e.clientWidth,minHeight:e.expandRows?e.clientHeight:"",tableMinWidth:e.tableMinWidth,tableColGroupNode:e.axis?e.tableColGroupNode:null,onCoords:this.handleSlatCoords}),g(Gl,{cells:e.cells,axis:e.axis,dateProfile:e.dateProfile,businessHourSegs:e.businessHourSegs,bgEventSegs:e.bgEventSegs,fgEventSegs:e.fgEventSegs,dateSelectionSegs:e.dateSelectionSegs,eventSelection:e.eventSelection,eventDrag:e.eventDrag,eventResize:e.eventResize,todayRange:e.todayRange,nowDate:e.nowDate,nowIndicatorSegs:e.nowIndicatorSegs,clientWidth:e.clientWidth,tableMinWidth:e.tableMinWidth,tableColGroupNode:e.tableColGroupNode,slatCoords:t.slatCoords,onColCoords:this.handleColCoords,forPrint:e.forPrint}))}componentDidMount(){this.scrollResponder=this.context.createScrollResponder(this.handleScrollRequest)}componentDidUpdate(e){this.scrollResponder.update(e.dateProfile!==this.props.dateProfile)}componentWillUnmount(){this.scrollResponder.detach()}queryHit(e,t){let{dateEnv:n,options:i}=this.context,{colCoords:o}=this,{dateProfile:r}=this.props,{slatCoords:s}=this.state,{snapDuration:a,snapsPerSlot:l}=this.processSlotOptions(this.props.slotDuration,i.snapDuration),c=o.leftToIndex(e),d=s.positions.topToIndex(t);if(null!=c&&null!=d){let e=this.props.cells[c],i=s.positions.tops[d],u=s.positions.getHeight(d),h=(t-i)/u,f=d*l+Math.floor(h*l),p=this.props.cells[c].date,g=gt(r.slotMinTime,mt(a,f)),m=n.add(p,g),v=n.add(m,a);return{dateProfile:r,dateSpan:Object.assign({range:{start:m,end:v},allDay:!1},e.extraDateSpan),dayEl:o.els[c],rect:{left:o.lefts[c],right:o.rights[c],top:i,bottom:i+u},layer:0}}return null}}function Ql(e,t){let n=t||e,i=bt(e,n);return null===i&&(n=e,i=1),{snapDuration:n,snapsPerSlot:i}}class Xl extends vr{sliceRange(e,t){let n=[];for(let i=0;i<t.length;i+=1){let o=mi(e,t[i]);o&&n.push({start:o.start,end:o.end,isStart:o.start.valueOf()===e.start.valueOf(),isEnd:o.end.valueOf()===e.end.valueOf(),col:i})}return n}}class Zl extends Ki{constructor(){super(...arguments),this.buildDayRanges=on(Kl),this.slicer=new Xl,this.timeColsRef={current:null}}render(){let{props:e,context:t}=this,{dateProfile:n,dayTableModel:i}=e,{nowIndicator:o,nextDayThreshold:r}=t.options,s=this.buildDayRanges(i,n,t.dateEnv);return g(ur,{unit:o?"minute":"day"},((a,l)=>g(Yl,Object.assign({ref:this.timeColsRef},this.slicer.sliceProps(e,n,null,t,s),{forPrint:e.forPrint,axis:e.axis,dateProfile:n,slatMetas:e.slatMetas,slotDuration:e.slotDuration,cells:i.cells[0],tableColGroupNode:e.tableColGroupNode,tableMinWidth:e.tableMinWidth,clientWidth:e.clientWidth,clientHeight:e.clientHeight,expandRows:e.expandRows,nowDate:a,nowIndicatorSegs:o&&this.slicer.sliceNowDate(a,n,r,t,s),todayRange:l,onScrollTopRequest:e.onScrollTopRequest,onSlatCoords:e.onSlatCoords}))))}}function Kl(e,t,n){let i=[];for(let o of e.headerDates)i.push({start:n.add(o,t.slotMinTime),end:n.add(o,t.slotMaxTime)});return i}const Jl=[{hours:1},{minutes:30},{minutes:15},{seconds:30},{seconds:15}];function ec(e,t,n,i,o){let r=new Date(0),s=e,a=ft(0),l=n||function(e){let t,n,i;for(t=Jl.length-1;t>=0;t-=1)if(n=ft(Jl[t]),i=bt(n,e),null!==i&&i>1)return n;return e}(i),c=[];for(;yt(s)<yt(t);){let e=o.add(r,s),t=null!==bt(a,l);c.push({date:e,time:s,key:e.toISOString(),isoTimeStr:tn(e),isLabeled:t}),s=gt(s,i),a=gt(a,i)}return c}function tc(e,t){let n=new gr(e.renderRange,t);return new mr(n,!1)}var nc=Rs({name:"@fullcalendar/timegrid",initialView:"timeGridWeek",optionRefiners:{allDaySlot:Boolean},views:{timeGrid:{component:class extends Tl{constructor(){super(...arguments),this.buildTimeColsModel=on(tc),this.buildSlatMetas=on(ec)}render(){let{options:e,dateEnv:t,dateProfileGenerator:n}=this.context,{props:i}=this,{dateProfile:o}=i,r=this.buildTimeColsModel(o,n),s=this.allDaySplitter.splitProps(i),a=this.buildSlatMetas(o.slotMinTime,o.slotMaxTime,e.slotLabelInterval,e.slotDuration,t),{dayMinWidth:l}=e,c=!l,d=l,u=e.dayHeaders&&g(fr,{dates:r.headerDates,dateProfile:o,datesRepDistinctDays:!0,renderIntro:c?this.renderHeadAxis:null}),h=!1!==e.allDaySlot&&(t=>g(ml,Object.assign({},s.allDay,{dateProfile:o,dayTableModel:r,nextDayThreshold:e.nextDayThreshold,tableMinWidth:t.tableMinWidth,colGroupNode:t.tableColGroupNode,renderRowIntro:c?this.renderTableRowAxis:null,showWeekNumbers:!1,expandRows:!1,headerAlignElRef:this.headerElRef,clientWidth:t.clientWidth,clientHeight:t.clientHeight,forPrint:i.forPrint},this.getAllDayMaxEventProps()))),f=t=>g(Zl,Object.assign({},s.timed,{dayTableModel:r,dateProfile:o,axis:c,slotDuration:e.slotDuration,slatMetas:a,forPrint:i.forPrint,tableColGroupNode:t.tableColGroupNode,tableMinWidth:t.tableMinWidth,clientWidth:t.clientWidth,clientHeight:t.clientHeight,onSlatCoords:this.handleSlatCoords,expandRows:t.expandRows,onScrollTopRequest:this.handleScrollTopRequest}));return d?this.renderHScrollLayout(u,h,f,r.colCnt,l,a,this.state.slatCoords):this.renderSimpleLayout(u,h,f)}},usesMinMaxTime:!0,allDaySlot:!0,slotDuration:"00:30:00",slotEventOverlap:!0},timeGridDay:{type:"timeGrid",duration:{days:1}},timeGridWeek:{type:"timeGrid",duration:{weeks:1}}}});Te(':root{--fc-list-event-dot-width:10px;--fc-list-event-hover-bg-color:#f5f5f5}.fc-theme-standard .fc-list{border:1px solid var(--fc-border-color)}.fc .fc-list-empty{align-items:center;background-color:var(--fc-neutral-bg-color);display:flex;height:100%;justify-content:center}.fc .fc-list-empty-cushion{margin:5em 0}.fc .fc-list-table{border-style:hidden;width:100%}.fc .fc-list-table tr>*{border-left:0;border-right:0}.fc .fc-list-sticky .fc-list-day>*{background:var(--fc-page-bg-color);position:sticky;top:0}.fc .fc-list-table thead{left:-10000px;position:absolute}.fc .fc-list-table tbody>tr:first-child th{border-top:0}.fc .fc-list-table th{padding:0}.fc .fc-list-day-cushion,.fc .fc-list-table td{padding:8px 14px}.fc .fc-list-day-cushion:after{clear:both;content:"";display:table}.fc-theme-standard .fc-list-day-cushion{background-color:var(--fc-neutral-bg-color)}.fc-direction-ltr .fc-list-day-text,.fc-direction-rtl .fc-list-day-side-text{float:left}.fc-direction-ltr .fc-list-day-side-text,.fc-direction-rtl .fc-list-day-text{float:right}.fc-direction-ltr .fc-list-table .fc-list-event-graphic{padding-right:0}.fc-direction-rtl .fc-list-table .fc-list-event-graphic{padding-left:0}.fc .fc-list-event.fc-event-forced-url{cursor:pointer}.fc .fc-list-event:hover td{background-color:var(--fc-list-event-hover-bg-color)}.fc .fc-list-event-graphic,.fc .fc-list-event-time{white-space:nowrap;width:1px}.fc .fc-list-event-dot{border:calc(var(--fc-list-event-dot-width)/2) solid var(--fc-event-border-color);border-radius:calc(var(--fc-list-event-dot-width)/2);box-sizing:content-box;display:inline-block;height:0;width:0}.fc .fc-list-event-title a{color:inherit;text-decoration:none}.fc .fc-list-event.fc-event-forced-url:hover a{text-decoration:underline}');class ic extends Xi{constructor(){super(...arguments),this.state={textId:Be()}}render(){let{theme:e,dateEnv:t,options:n,viewApi:i}=this.context,{cellId:o,dayDate:r,todayRange:s}=this.props,{textId:a}=this.state,l=xi(r,s),c=n.listDayFormat?t.format(r,n.listDayFormat):"",d=n.listDaySideFormat?t.format(r,n.listDaySideFormat):"",u=Object.assign({date:t.toDate(r),view:i,textId:a,text:c,sideText:d,navLinkAttrs:Ci(this.context,r),sideNavLinkAttrs:Ci(this.context,r,"day",!1)},l);return g(sr,{elTag:"tr",elClasses:["fc-list-day",...ki(l,e)],elAttrs:{"data-date":Jt(r)},renderProps:u,generatorName:"dayHeaderContent",customGenerator:n.dayHeaderContent,defaultGenerator:oc,classNameGenerator:n.dayHeaderClassNames,didMount:n.dayHeaderDidMount,willUnmount:n.dayHeaderWillUnmount},(t=>g("th",{scope:"colgroup",colSpan:3,id:o,"aria-labelledby":a},g(t,{elTag:"div",elClasses:["fc-list-day-cushion",e.getClass("tableCellShaded")]}))))}}function oc(e){return g(v,null,e.text&&g("a",Object.assign({id:e.textId,className:"fc-list-day-text"},e.navLinkAttrs),e.text),e.sideText&&g("a",Object.assign({"aria-hidden":!0,className:"fc-list-day-side-text"},e.sideNavLinkAttrs),e.sideText))}const rc=bn({hour:"numeric",minute:"2-digit",meridiem:"short"});class sc extends Xi{render(){let{props:e,context:t}=this,{options:n}=t,{seg:i,timeHeaderId:o,eventHeaderId:r,dateHeaderId:s}=e,a=n.eventTimeFormat||rc;return g(Zr,Object.assign({},e,{elTag:"tr",elClasses:["fc-list-event",i.eventRange.def.url&&"fc-event-forced-url"],defaultGenerator:()=>function(e,t){let n=Ao(e,t);return g("a",Object.assign({},n),e.eventRange.def.title)}(i,t),seg:i,timeText:"",disableDragging:!0,disableResizing:!0}),((e,n)=>g(v,null,function(e,t,n,i,o){let{options:r}=n;if(!1!==r.displayEventTime){let s,a=e.eventRange.def,l=e.eventRange.instance,c=!1;if(a.allDay?c=!0:ni(e.eventRange.range)?e.isStart?s=Eo(e,t,n,null,null,l.range.start,e.end):e.isEnd?s=Eo(e,t,n,null,null,e.start,l.range.end):c=!0:s=Eo(e,t,n),c){let e={text:n.options.allDayText,view:n.viewApi};return g(sr,{elTag:"td",elClasses:["fc-list-event-time"],elAttrs:{headers:`${i} ${o}`},renderProps:e,generatorName:"allDayContent",customGenerator:r.allDayContent,defaultGenerator:ac,classNameGenerator:r.allDayClassNames,didMount:r.allDayDidMount,willUnmount:r.allDayWillUnmount})}return g("td",{className:"fc-list-event-time"},s)}return null}(i,a,t,o,s),g("td",{"aria-hidden":!0,className:"fc-list-event-graphic"},g("span",{className:"fc-list-event-dot",style:{borderColor:n.borderColor||n.backgroundColor}})),g(e,{elTag:"td",elClasses:["fc-list-event-title"],elAttrs:{headers:`${r} ${s}`}}))))}}function ac(e){return e.text}function lc(e){return e.text}function cc(e){let t=Vt(e.renderRange.start),n=e.renderRange.end,i=[],o=[];for(;t<n;)i.push(t),o.push({start:t,end:Nt(t,1)}),t=Nt(t,1);return{dayDates:i,dayRanges:o}}function dc(e){return!1===e?null:bn(e)}var uc=Rs({name:"@fullcalendar/list",optionRefiners:{listDayFormat:dc,listDaySideFormat:dc,noEventsClassNames:Mn,noEventsContent:Mn,noEventsDidMount:Mn,noEventsWillUnmount:Mn},views:{list:{component:class extends Ki{constructor(){super(...arguments),this.computeDateVars=on(cc),this.eventStoreToSegs=on(this._eventStoreToSegs),this.state={timeHeaderId:Be(),eventHeaderId:Be(),dateHeaderIdRoot:Be()},this.setRootEl=e=>{e?this.context.registerInteractiveComponent(this,{el:e}):this.context.unregisterInteractiveComponent(this)}}render(){let{props:e,context:t}=this,{dayDates:n,dayRanges:i}=this.computeDateVars(e.dateProfile),o=this.eventStoreToSegs(e.eventStore,e.eventUiBases,i);return g(ys,{elRef:this.setRootEl,elClasses:["fc-list",t.theme.getClass("table"),!1!==t.options.stickyHeaderDates?"fc-list-sticky":""],viewSpec:t.viewSpec},g(Lr,{liquid:!e.isHeightAuto,overflowX:e.isHeightAuto?"visible":"hidden",overflowY:e.isHeightAuto?"visible":"auto"},o.length>0?this.renderSegList(o,n):this.renderEmptyMessage()))}renderEmptyMessage(){let{options:e,viewApi:t}=this.context,n={text:e.noEventsText,view:t};return g(sr,{elTag:"div",elClasses:["fc-list-empty"],renderProps:n,generatorName:"noEventsContent",customGenerator:e.noEventsContent,defaultGenerator:lc,classNameGenerator:e.noEventsClassNames,didMount:e.noEventsDidMount,willUnmount:e.noEventsWillUnmount},(e=>g(e,{elTag:"div",elClasses:["fc-list-empty-cushion"]})))}renderSegList(e,t){let{theme:n,options:i}=this.context,{timeHeaderId:o,eventHeaderId:r,dateHeaderIdRoot:s}=this.state,a=function(e){let t,n,i=[];for(t=0;t<e.length;t+=1)n=e[t],(i[n.dayIndex]||(i[n.dayIndex]=[])).push(n);return i}(e);return g(ur,{unit:"day"},((e,l)=>{let c=[];for(let n=0;n<a.length;n+=1){let d=a[n];if(d){let a=Jt(t[n]),u=s+"-"+a;c.push(g(ic,{key:a,cellId:u,dayDate:t[n],todayRange:l})),d=yo(d,i.eventOrder);for(let t of d)c.push(g(sc,Object.assign({key:a+":"+t.eventRange.instance.instanceId,seg:t,isDragging:!1,isResizing:!1,isDateSelecting:!1,isSelected:!1,timeHeaderId:o,eventHeaderId:r,dateHeaderId:u},So(t,l,e))))}}return g("table",{className:"fc-list-table "+n.getClass("table")},g("thead",null,g("tr",null,g("th",{scope:"col",id:o},i.timeHint),g("th",{scope:"col","aria-hidden":!0}),g("th",{scope:"col",id:r},i.eventHint))),g("tbody",null,c))}))}_eventStoreToSegs(e,t,n){return this.eventRangesToSegs(ho(e,t,this.props.dateProfile.activeRange,this.context.options.nextDayThreshold).fg,n)}eventRangesToSegs(e,t){let n=[];for(let i of e)n.push(...this.eventRangeToSegs(i,t));return n}eventRangeToSegs(e,t){let n,i,o,{dateEnv:r}=this.context,{nextDayThreshold:s}=this.context.options,a=e.range,l=e.def.allDay,c=[];for(n=0;n<t.length;n+=1)if(i=mi(a,t[n]),i&&(o={component:this,eventRange:e,start:i.start,end:i.end,isStart:e.isStart&&i.start.valueOf()===a.start.valueOf(),isEnd:e.isEnd&&i.end.valueOf()===a.end.valueOf(),dayIndex:n},c.push(o),!o.isEnd&&!l&&n+1<t.length&&a.end<r.add(t[n+1].start,s))){o.end=a.end,o.isEnd=!0;break}return c}},buttonTextKey:"list",listDayFormat:{month:"long",day:"numeric",year:"numeric"}},listDay:{type:"list",duration:{days:1},listDayFormat:{weekday:"long"}},listWeek:{type:"list",duration:{weeks:1},listDayFormat:{weekday:"long"},listDaySideFormat:{month:"long",day:"numeric",year:"numeric"}},listMonth:{type:"list",duration:{month:1},listDaySideFormat:{weekday:"long"}},listYear:{type:"list",duration:{year:1},listDaySideFormat:{weekday:"long"}}}});class hc extends Ki{constructor(){super(...arguments),this.buildDayTableModel=on(wl),this.slicer=new gl,this.state={labelId:Be()}}render(){const{props:e,state:t,context:n}=this,{dateProfile:i,forPrint:o}=e,{options:r}=n,s=this.buildDayTableModel(i,n.dateProfileGenerator),a=this.slicer.sliceProps(e,i,r.nextDayThreshold,n,s),l=null!=e.tableWidth?e.tableWidth/r.aspectRatio:null,c=s.cells.length,d=null!=l?l/c:null;return g("div",{ref:e.elRef,"data-date":e.isoDateStr,className:"fc-multimonth-month",style:{width:e.width},role:"grid","aria-labelledby":t.labelId},g("div",{className:"fc-multimonth-header",style:{marginBottom:d},role:"presentation"},g("div",{className:"fc-multimonth-title",id:t.labelId},n.dateEnv.format(e.dateProfile.currentRange.start,e.titleFormat)),g("table",{className:["fc-multimonth-header-table",n.theme.getClass("table")].join(" "),role:"presentation"},g("thead",{role:"rowgroup"},g(fr,{dateProfile:e.dateProfile,dates:s.headerDates,datesRepDistinctDays:!1})))),g("div",{className:["fc-multimonth-daygrid","fc-daygrid","fc-daygrid-body",!o&&"fc-daygrid-body-balanced",o&&"fc-daygrid-body-unbalanced",o&&"fc-daygrid-body-natural"].join(" "),style:{marginTop:-d}},g("table",{className:["fc-multimonth-daygrid-table",n.theme.getClass("table")].join(" "),style:{height:o?"":l},role:"presentation"},g("tbody",{role:"rowgroup"},g(hl,Object.assign({},a,{dateProfile:i,cells:s.cells,eventSelection:e.eventSelection,dayMaxEvents:!o,dayMaxEventRows:!o,showWeekNumbers:r.weekNumbers,clientWidth:e.clientWidth,clientHeight:e.clientHeight,forPrint:o}))))))}}const fc=ft(1,"month");function pc(e,t,n,i,o){const{start:r,end:s}=t.currentRange;let a=r;const l=[];for(;a.valueOf()<s.valueOf();){const r=n.add(a,fc),s={start:e.skipHiddenDays(a),end:e.skipHiddenDays(r,-1,!0)};let c=yl({currentRange:s,snapToWeek:!0,fixedWeekCount:i,dateEnv:n});c={start:e.skipHiddenDays(c.start),end:e.skipHiddenDays(c.end,-1,!0)};const d=t.activeRange?mi(t.activeRange,o?c:s):null;l.push({currentDate:t.currentDate,isValid:t.isValid,validRange:t.validRange,renderRange:c,activeRange:d,currentRange:s,currentRangeUnit:"month",isRangeAllDay:!0,dateIncrement:t.dateIncrement,slotMinTime:t.slotMaxTime,slotMaxTime:t.slotMinTime}),a=r}return l}const gc=bn({year:"numeric",month:"long"}),mc=bn({month:"long"});function vc(e,t){return e||(t[0].currentRange.start.getUTCFullYear()!==t[t.length-1].currentRange.start.getUTCFullYear()?gc:mc)}const yc={multiMonthTitleFormat:bn,multiMonthMaxColumns:Number,multiMonthMinWidth:Number};Te(".fc .fc-multimonth{border:1px solid var(--fc-border-color);display:flex;flex-wrap:wrap;overflow-x:hidden;overflow-y:auto}.fc .fc-multimonth-title{font-size:1.2em;font-weight:700;padding:1em 0;text-align:center}.fc .fc-multimonth-daygrid{background:var(--fc-page-bg-color)}.fc .fc-multimonth-daygrid-table,.fc .fc-multimonth-header-table{table-layout:fixed;width:100%}.fc .fc-multimonth-daygrid-table{border-top-style:hidden!important}.fc .fc-multimonth-singlecol .fc-multimonth{position:relative}.fc .fc-multimonth-singlecol .fc-multimonth-header{background:var(--fc-page-bg-color);position:relative;top:0;z-index:2}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid{position:relative;z-index:1}.fc .fc-multimonth-singlecol .fc-multimonth-daygrid-table,.fc .fc-multimonth-singlecol .fc-multimonth-header-table{border-left-style:hidden;border-right-style:hidden}.fc .fc-multimonth-singlecol .fc-multimonth-month:last-child .fc-multimonth-daygrid-table{border-bottom-style:hidden}.fc .fc-multimonth-multicol{line-height:1}.fc .fc-multimonth-multicol .fc-multimonth-month{padding:0 1.2em 1.2em}.fc .fc-multimonth-multicol .fc-daygrid-more-link{border:1px solid var(--fc-event-border-color);display:block;float:none;padding:1px}.fc .fc-multimonth-compact{line-height:1}.fc .fc-multimonth-compact .fc-multimonth-daygrid-table,.fc .fc-multimonth-compact .fc-multimonth-header-table{font-size:.9em}.fc-media-screen .fc-multimonth-singlecol .fc-multimonth-header{position:sticky}.fc-media-print .fc-multimonth{overflow:visible}");var bc=Rs({name:"@fullcalendar/multimonth",initialView:"multiMonthYear",optionRefiners:yc,views:{multiMonth:{component:class extends Ki{constructor(){super(...arguments),this.splitDateProfileByMonth=on(pc),this.buildMonthFormat=on(vc),this.scrollElRef={current:null},this.firstMonthElRef={current:null},this.needsScrollReset=!1,this.handleSizing=e=>{e&&this.updateSize()}}render(){const{context:e,props:t,state:n}=this,{options:i}=e,{clientWidth:o,clientHeight:r}=n,s=n.monthHPadding||0,a=Math.min(null!=o?Math.floor(o/(i.multiMonthMinWidth+s)):1,i.multiMonthMaxColumns)||1,l=100/a+"%",c=null==o?null:o/a-s,d=null!=o&&1===a,u=this.splitDateProfileByMonth(e.dateProfileGenerator,t.dateProfile,e.dateEnv,!d&&i.fixedWeekCount,i.showNonCurrentDates),h=this.buildMonthFormat(i.multiMonthTitleFormat,u),f=["fc-multimonth",d?"fc-multimonth-singlecol":"fc-multimonth-multicol",null!=c&&c<400?"fc-multimonth-compact":""];return g(ys,{elRef:this.scrollElRef,elClasses:f,viewSpec:e.viewSpec},u.map(((e,n)=>{const i=en(e.currentRange.start);return g(hc,Object.assign({},t,{key:i,isoDateStr:i,elRef:0===n?this.firstMonthElRef:void 0,titleFormat:h,dateProfile:e,width:l,tableWidth:c,clientWidth:o,clientHeight:r}))})))}componentDidMount(){this.updateSize(),this.context.addResizeHandler(this.handleSizing),this.requestScrollReset()}componentDidUpdate(e){At(e,this.props)||this.handleSizing(!1),e.dateProfile!==this.props.dateProfile?this.requestScrollReset():this.flushScrollReset()}componentWillUnmount(){this.context.removeResizeHandler(this.handleSizing)}updateSize(){const e=this.scrollElRef.current,t=this.firstMonthElRef.current;e&&this.setState({clientWidth:e.clientWidth,clientHeight:e.clientHeight}),t&&e&&null==this.state.monthHPadding&&this.setState({monthHPadding:e.clientWidth-t.firstChild.offsetWidth})}requestScrollReset(){this.needsScrollReset=!0,this.flushScrollReset()}flushScrollReset(){if(this.needsScrollReset&&null!=this.state.monthHPadding){const{currentDate:e}=this.props.dateProfile,t=this.scrollElRef.current,n=t.querySelector(`[data-date="${en(e)}"]`);t.scrollTop=n.getBoundingClientRect().top-this.firstMonthElRef.current.getBoundingClientRect().top,this.needsScrollReset=!1}}shouldComponentUpdate(){return!0}},dateProfileGeneratorClass:vl,multiMonthMinWidth:350,multiMonthMaxColumns:3},multiMonthYear:{type:"multiMonth",duration:{years:1},fixedWeekCount:!0,showNonCurrentDates:!1}}});
1return oa.push(Qa,xl,nc,uc,bc),e.Calendar=class extends Es{constructor(e,t={}){super(),this.isRendering=!1,this.isRendered=!1,this.currentClassNames=[],this.customContentRenderId=0,this.handleAction=e=>{switch(e.type){case"SET_EVENT_DRAG":case"SET_EVENT_RESIZE":this.renderRunner.tryDrain()}},this.handleData=e=>{this.currentData=e,this.renderRunner.request(e.calendarOptions.rerenderDelay)},this.handleRenderRequest=()=>{if(this.isRendering){this.isRendered=!0;let{currentData:e}=this;Vi((()=>{$(g(Zo,{options:e.calendarOptions,theme:e.theme,emitter:e.emitter},((t,n,i,o)=>(this.setClassNames(t),this.setHeight(n),g(rr.Provider,{value:this.customContentRenderId},g(Ea,Object.assign({isHeightAuto:i,forPrint:o},e)))))),this.el)}))}else this.isRendered&&(this.isRendered=!1,$(null,this.el),this.setClassNames([]),this.setHeight(""))},function(e){e.isConnected&&De(e.getRootNode())}(e),this.el=e,this.renderRunner=new Rr(this.handleRenderRequest),new aa({optionOverrides:t,calendarApi:this,onAction:this.handleAction,onData:this.handleData})}render(){let e=this.isRendering;e?this.customContentRenderId+=1:this.isRendering=!0,this.renderRunner.request(),e&&this.updateSize()}destroy(){this.isRendering&&(this.isRendering=!1,this.renderRunner.request())}updateSize(){Vi((()=>{super.updateSize()}))}batchRendering(e){this.renderRunner.pause("batchRendering"),e(),this.renderRunner.resume("batchRendering")}pauseRendering(){this.renderRunner.pause("pauseRendering")}resumeRendering(){this.renderRunner.resume("pauseRendering",!0)}resetOptions(e,t){this.currentDataManager.resetOptions(e,t)}setClassNames(e){if(!Rt(e,this.currentClassNames)){let{classList:t}=this.el;
1for(let e of this.currentClassNames)t.remove(e);for(let n of e)t.add(n);this.currentClassNames=e}}setHeight(e){He(this.el,"height",e)}},e.Draggable=class{constructor(e,t={}){this.handlePointerDown=e=>{let{dragging:t}=this,{minDistance:n,longPressDelay:i}=this.settings;t.minDistance=null!=n?n:e.isTouch?0:xn.eventDragMinDistance,t.delay=e.isTouch?null!=i?i:xn.longPressDelay:0},this.handleDragStart=e=>{e.isTouch&&this.dragging.delay&&e.subjectEl.classList.contains("fc-event")&&this.dragging.mirror.getMirrorEl().classList.add("fc-event-selected")},this.settings=t;let n=this.dragging=new Ha(e);n.touchScrollAllowed=!1,null!=t.itemSelector&&(n.pointer.selector=t.itemSelector),null!=t.appendTo&&(n.mirror.parentNode=t.appendTo),n.emitter.on("pointerdown",this.handlePointerDown),n.emitter.on("dragstart",this.handleDragStart),new Ga(n,t.eventData)}destroy(){this.dragging.destroy()}},e.Internal=Cs,e.JsonRequestError=Pr,e.Preact=_s,e.ThirdPartyDraggable=class{constructor(e,t){let n=document;e===document||e instanceof Element?(n=e,t=t||{}):t=e||{};let i=this.dragging=new Ya(n);"string"==typeof t.itemSelector?i.pointer.selector=t.itemSelector:n===document&&(i.pointer.selector="[data-event]"),"string"==typeof t.mirrorSelector&&(i.mirrorSelector=t.mirrorSelector),new Ga(i,t.eventData)}destroy(){this.dragging.destroy()}},e.createPlugin=Rs,e.formatDate=function(e,t={}){let n=_a(t),i=bn(t),o=n.createMarkerMeta(e);return o?n.format(o.marker,i,{forcedTzo:o.forcedTzo}):""},e.formatRange=function(e,t,n){let i=_a("object"==typeof n&&n?n:{}),o=bn(n),r=i.createMarkerMeta(e),s=i.createMarkerMeta(t);return r&&s?i.formatRange(r.marker,s.marker,o,{forcedStartTzo:r.forcedTzo,forcedEndTzo:s.forcedTzo,isEndExclusive:n.isEndExclusive,defaultSeparator:xn.defaultRangeSeparator}):""},e.globalLocales=As,e.globalPlugins=oa,e.sliceEvents=function(e,t){return ho(e.eventStore,e.eventUiBases,e.dateProfile.activeRange,t?e.nextDayThreshold:null).fg},e.version="6.1.8",Object.defineProperty(e,"__esModule",{value:!0}),e}({});!function(e){"use strict";function t(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}function n(e){return"Tag"===e||"Monat"===e?"r":"Jahr"===e?"s":""}var i=[{code:"af",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Heeldag",moreLinkText:"Addisionele",noEventsText:"Daar is geen gebeurtenisse nie"},{code:"ar-dz",week:{dow:0,doy:4},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"ar-kw",week:{dow:0,doy:12},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"ar-ly",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"ar-ma",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"ar-sa",week:{dow:0,doy:6},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"ar-tn",week:{dow:1,doy:4},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"ar",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"Ø§ÙØ³Ø§Ø¨Ù",next:"Ø§ÙØªØ§ÙÙ",today:"اÙÙÙÙ
",year:"Ø³ÙØ©",month:"Ø´ÙØ±",week:"Ø£Ø³Ø¨ÙØ¹",day:"ÙÙÙ
",list:"Ø£Ø¬ÙØ¯Ø©"},weekText:"Ø£Ø³Ø¨ÙØ¹",allDayText:"اÙÙÙÙ
ÙÙÙ",moreLinkText:"أخرÙ",noEventsText:"Ø£Ù Ø£ØØ¯Ø§Ø« ÙØ¹Ø±Ø¶"},{code:"az",week:{dow:1,doy:4},buttonText:{prev:"ÆvvÉl",next:"Sonra",today:"Bu Gün",year:"Il",month:"Ay",week:"HÉftÉ",day:"Gün",list:"GündÉm"},weekText:"HÉftÉ",allDayText:"Bütün Gün",moreLinkText:e=>"+ daha çox "+e,noEventsText:"GöstÉrmÉk üçün hadisÉ yoxdur"},{code:"bg",week:{dow:1,doy:7},buttonText:{prev:"назад",next:"напÑед",today:"днеÑ",year:"година",month:"ÐеÑеÑ",week:"СедмиÑа",day:"Ðен",list:"ÐÑаÑик"},allDayText:"ЦÑл ден",moreLinkText:e=>
1"+оÑе "+e,noEventsText:"ÐÑма ÑÑбиÑÐ¸Ñ Ð·Ð° показване"},{code:"bn",week:{dow:0,doy:6},buttonText:{prev:"পà§à¦à¦¨à§",next:"সামনà§",today:"à¦à¦",year:"বà¦à¦°",month:"মাস",week:"সপà§à¦¤à¦¾à¦¹",day:"দিন",list:"তালিà¦à¦¾"},weekText:"সপà§à¦¤à¦¾à¦¹",allDayText:"সারাদিন",moreLinkText:e=>"+à¦
নà§à¦¯à¦¾à¦¨à§à¦¯ "+e,noEventsText:"à¦à§à¦¨à§ à¦à¦à§à¦¨à§à¦ নà§à¦"},{code:"bs",week:{dow:1,doy:7},buttonText:{prev:"ProÅ¡li",next:"SljedeÄi",today:"Danas",year:"Godina",month:"Mjesec",week:"Sedmica",day:"Dan",list:"Raspored"},weekText:"Sed",allDayText:"Cijeli dan",moreLinkText:e=>"+ joÅ¡ "+e,noEventsText:"Nema dogaÄaja za prikazivanje"},{code:"ca",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Següent",today:"Avui",year:"Curs",month:"Mes",week:"Setmana",day:"Dia",list:"Agenda"},weekText:"Set",allDayText:"Tot el dia",moreLinkText:"més",noEventsText:"No hi ha esdeveniments per mostrar"},{code:"cs",week:{dow:1,doy:4},buttonText:{prev:"DÅÃve",next:"PozdÄji",today:"NynÃ",year:"Rok",month:"MÄsÃc",week:"Týden",day:"Den",list:"Agenda"},weekText:"Týd",allDayText:"Celý den",moreLinkText:e=>"+dalÅ¡Ã: "+e,noEventsText:"Žádné akce k zobrazenÃ"},{code:"cy",week:{dow:1,doy:4},buttonText:{prev:"Blaenorol",next:"Nesaf",today:"Heddiw",year:"Blwyddyn",month:"Mis",week:"Wythnos",day:"Dydd",list:"Rhestr"},weekText:"Wythnos",allDayText:"Trwy'r dydd",moreLinkText:"Mwy",noEventsText:"Dim digwyddiadau"},{code:"da",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Næste",today:"I dag",year:"Ã
r",month:"MÃ¥ned",week:"Uge",day:"Dag",list:"Agenda"},weekText:"Uge",allDayText:"Hele dagen",moreLinkText:"flere",noEventsText:"Ingen arrangementer at vise"},{code:"de-at",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:e=>"+ weitere "+e,noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:e=>`Vorherige${t(e)} ${e}`,next:e=>`Nächste${t(e)} ${e}`,today:e=>"Tag"===e?"Heute":`Diese${t(e)} ${e}`},viewHint:e=>e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht",navLinkHint:"Gehe zu $0",moreLinkHint:e=>"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse"),closeHint:"SchlieÃen",timeHint:"Uhrzeit",eventHint:"Ereignis"},{code:"de",week:{dow:1,doy:4},buttonText:{prev:"Zurück",next:"Vor",today:"Heute",year:"Jahr",month:"Monat",week:"Woche",day:"Tag",list:"Terminübersicht"},weekText:"KW",weekTextLong:"Woche",allDayText:"Ganztägig",moreLinkText:e=>"+ weitere "+e,noEventsText:"Keine Ereignisse anzuzeigen",buttonHints:{prev:e=>`Vorherige${n(e)} ${e}`,next:e=>`Nächste${n(e)} ${e}`,today:e=>"Tag"===e?"Heute":`Diese${n(e)} ${e}`},viewHint:e=>e+("Woche"===e?"n":"Monat"===e?"s":"es")+"ansicht",navLinkHint:"Gehe zu $0",moreLinkHint:e=>"Zeige "+(1===e?"ein weiteres Ereignis":e+" weitere Ereignisse"),closeHint:"SchlieÃen",timeHint:"Uhrzeit",eventHint:"Ereignis"},{code:"el",week:{dow:1,doy:4},buttonText:{prev:"Î ÏοηγοÏμενοÏ",next:"ÎÏÏμενοÏ",today:"ΣήμεÏα",year:"ÎÏοÏ",month:"ÎήναÏ",week:"Îβδομάδα",day:"ÎμÎÏα",list:"ÎÏζÎνÏα"},weekText:"Îβδ",allDayText:"ÎλοήμεÏο",moreLinkText:"ÏεÏιÏÏÏÏεÏα",noEventsText:"Îεν Ï
ÏάÏÏοÏ
ν γεγονÏÏα ÏÏÎ¿Ï ÎµÎ¼ÏάνιÏη"},{code:"en-au",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`},{code:"en-gb",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`},{code:"en-nz",week:{dow:1,doy:4},buttonHints:{prev:"Previous $0",next:"Next $0",today:"This $0"},viewHint:"$0 view",navLinkHint:"Go to $0",moreLinkHint:e=>`Show ${e} more event${1===e?"":"s"}`},{code:"eo",week:{dow:1,doy:4},buttonText:{prev:"AntaÅa",next:"Sekva",today:"HodiaÅ",year:"Jaro",month:"Monato",week:"Semajno",day:"Tago",list:"Tagordo"},weekText:"Sm",allDayText:"Tuta tago",moreLinkText:"pli",noEventsText:"Neniuj eventoj por montri"},{code:"es",week:{dow:0,doy:6},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"DÃa",list:"Agenda"},weekText:"Sm",allDayText:"Todo el dÃa",moreLinkText:"más",noEventsText:"No hay eventos para mostrar"},{code:"es",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Sig",today:"Hoy",year:"Año",month:"Mes",week:"Semana",day:"DÃa",list:"Agenda"},buttonHints:{prev:"$0 antes",next:"$0 siguiente",today:e=>"DÃa"===e?"Hoy":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()},viewHint:e=>"Vista "+("Semana"===e?"de la":"del")+" "+e.toLocaleLowerCase(),weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo el dÃa",moreLinkText:"más",moreLinkHint:e=>`Mostrar ${e} eventos más`,noEventsText:"No hay eventos para mostrar",navLinkHint:"Ir al $0",closeHint:"Cerrar",timeHint:"La hora",eventHint:"Evento"},{code:"et",week:{dow:1,doy:4},buttonText:{prev:"Eelnev",next:"Järgnev",today:"Täna",year:"Aasta",month:"Kuu",week:"Nädal",day:"Päev",list:"Päevakord"},weekText:"näd",allDayText:"Kogu päev",moreLinkText:e=>"+ veel "+e,noEventsText:"Kuvamiseks puuduvad sündmused"},{code:"eu",week:{dow:1,doy:7},buttonText:{prev:"Aur",next:"Hur",today:"Gaur",year:"Urtea",month:"Hilabetea",week:"Astea",day:"Eguna",list:"Agenda"},weekText:"As",allDayText:"Egun osoa",moreLinkText:"gehiago",noEventsText:"Ez dago ekitaldirik erakusteko"},{code:"fa",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"ÙØ¨ÙÛ",next:"بعدÛ",today:"اÙ
Ø±ÙØ²",year:"ساÙ",month:"Ù
اÙ",week:"ÙÙØªÙ",day:"Ø±ÙØ²",list:"Ø¨Ø±ÙØ§Ù
Ù"},weekText:"ÙÙ",allDayText:"تÙ
اÙ
Ø±ÙØ²",moreLinkText:e=>"Ø¨ÛØ´ از "+e,noEventsText:"ÙÛÚ Ø±ÙÛØ¯Ø§Ø¯Û ب٠ÙÙ
Ø§ÛØ´"},{code:"fi",week:{dow:1,doy:4},buttonText:{prev:"Edellinen",next:"Seuraava",today:"Tänään",year:"Vuosi",month:"Kuukausi",week:"Viikko",day:"Päivä",list:"Tapahtumat"},weekText:"Vk",allDayText:"Koko päivä",moreLinkText:"lisää",noEventsText:"Ei näytettäviä tapahtumia"},{code:"fr",buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sem.",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"fr-ch",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Courant",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Mon planning"},weekText:"Sm",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"fr",week:{dow:1,doy:4},buttonText:{prev:"Précédent",next:"Suivant",today:"Aujourd'hui",year:"Année",month:"Mois",week:"Semaine",day:"Jour",list:"Planning"},weekText:"Sem.",weekTextLong:"Semaine",allDayText:"Toute la journée",moreLinkText:"en plus",noEventsText:"Aucun évènement à afficher"},{code:"gl",week:{dow:1,doy:4},buttonText:{prev:"Ant",next:"Seg",today:"Hoxe",year:"Ano",month:"Mes",week:"Semana",day:"DÃa",list:"Axenda"},buttonHints:{prev:"$0 antes",next:"$0 seguinte",today:e=>"DÃa"===e?"Hoxe":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()},viewHint:e=>"Vista "+("Semana"===e?"da":"do")+" "+e.toLocaleLowerCase(),weekText:"Sm",weekTextLong:"Semana",allDayText:"Todo o dÃa",moreLinkText:"máis",moreLinkHint:e=>`Amosar ${e} eventos máis`,noEventsText:"Non hai eventos para amosar",navLinkHint:"Ir ao $0",closeHint:"Pechar",timeHint:"A hora",eventHint:"Evento"},{code:"he",direction:"rtl",buttonText:{prev:"××§×××",next:"×××",today:"××××",year:"×©× ×",month:"×××ש",week:"ש×××¢",day:"×××",list:"ס×ר ×××"},allDayText:"×× ××××",moreLinkText:"× ×ספ××",noEventsText:"××× ××ר××¢×× ××צ××",weekText:"ש×××¢"},{code:"hi",week:{dow:0,doy:6},buttonText:{prev:"पिà¤à¤²à¤¾",next:"à¤
à¤à¤²à¤¾",today:"à¤à¤",year:"वरà¥à¤·",month:"महà¥à¤¨à¤¾",week:"सपà¥à¤¤à¤¾à¤¹",day:"दिन",list:"à¤à¤¾à¤°à¥à¤¯à¤¸à¥à¤à¥"},weekText:"हफà¥à¤¤à¤¾",allDayText:"सà¤à¥ दिन",moreLinkText:e=>"+à¤
धिठ"+e,noEventsText:"à¤à¥à¤ à¤à¤à¤¨à¤¾à¤à¤ à¤à¥ पà¥à¤°à¤¦à¤°à¥à¤¶à¤¿à¤¤ à¤à¤°à¤¨à¥ à¤à¥ लिà¤"},{code:"hr",week:{dow:1,doy:7},buttonText:{prev:"PrijaÅ¡nji",next:"SljedeÄi",today:"Danas",year:"Godina",month:"Mjesec",week:"Tjedan",day:"Dan",list:"Raspored"},weekText:"Tje",allDayText:"Cijeli dan",moreLinkText:e=>"+ joÅ¡ "+e,noEventsText:"Nema dogaÄaja za prikaz"},{code:"hu",week:{dow:1,doy:4},buttonText:{prev:"vissza",next:"elÅre",today:"ma",year:"Ãv",month:"Hónap",week:"Hét",day:"Nap",list:"Lista"},weekText:"Hét",allDayText:"Egész nap",moreLinkText:"további",noEventsText:"Nincs megjelenÃthetÅ esemény"},{code:"hy-am",week:{dow:1,doy:4},buttonText:{prev:"ÕÕ¡ÕÕ¸ÖÕ¤",next:"ÕÕ¡Õ»Õ¸ÖÕ¤",today:"Ô±ÕµÕ½Ö
Ö",year:"ÕÕ¡ÖÕ«",month:"Ô±Õ´Õ«Õ½",week:"ÕÕ¡Õ¢Õ¡Õ©",day:"ÕÖ",list:"ÕÖÕ¾Õ¡ ÖÕ¸ÖÖÕ¡Õ¯"},weekText:"ÕÕ¡Õ¢",allDayText:"Ô±Õ´Õ¢Õ¸Õ²Õ» Ö
Ö",moreLinkText:e=>"+ ÖÕ½ "+e,noEventsText:"Ô²Õ¡ÖÕ¡Õ¯Õ¡ÕµÕ¸ÖÕ´ Õ§ Õ«ÖÕ¡Õ¤Õ¡ÖÕ±Õ¸ÖÕ©ÕµÕ¸ÖÕ¶Õ¨ ÖÕ¸ÖÖÕ¡Õ¤ÖÕ¥Õ¬Õ¸Ö"},{code:"id",week:{dow:1,doy:7},buttonText:{prev:"mundur",next:"maju",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sehari penuh",moreLinkText:"lebih",noEventsText:"Tidak ada acara untuk ditampilkan"},{code:"is",week:{dow:1,doy:4}
1,buttonText:{prev:"Fyrri",next:"Næsti",today:"à dag",year:"Ãr",month:"Mánuður",week:"Vika",day:"Dagur",list:"Dagskrá"},weekText:"Vika",allDayText:"Allan daginn",moreLinkText:"meira",noEventsText:"Engir viðburðir til að sýna"},{code:"it",week:{dow:1,doy:4},buttonText:{prev:"Prec",next:"Succ",today:"Oggi",year:"Anno",month:"Mese",week:"Settimana",day:"Giorno",list:"Agenda"},weekText:"Sm",allDayText:"Tutto il giorno",moreLinkText:e=>"+altri "+e,noEventsText:"Non ci sono eventi da visualizzare"},{code:"ja",buttonText:{prev:"å",next:"次",today:"仿¥",year:"å¹´",month:"æ",week:"é±",day:"æ¥",list:"äºå®ãªã¹ã"},weekText:"é±",allDayText:"çµæ¥",moreLinkText:e=>"ä» "+e+" ä»¶",noEventsText:"表示ããäºå®ã¯ããã¾ãã"},{code:"ka",week:{dow:1,doy:7},buttonText:{prev:"á¬ááá",next:"á¨áááááá",today:"áá¦áá¡",year:"á¬áááá¬ááá",month:"ááá",week:"áááá á",day:"áá¦á",list:"áá¦áá¡ á¬áá¡á ááá"},weekText:"áá",allDayText:"ááááá áá¦á",moreLinkText:e=>"+ ááááá "+e,noEventsText:"á¦áááá¡á«áááááá áá áá áá¡"},{code:"kk",week:{dow:1,doy:7},buttonText:{prev:"ÐлдÑÒ£ÒÑ",next:"ÐелеÑÑ",today:"ÐүгÑн",year:"ÐÑл",month:"Ðй",week:"ÐпÑа",day:"Ðүн",list:"Ðүн ÑÓÑÑÑбÑ"},weekText:"Ðе",allDayText:"ÐÒ¯Ð½Ñ Ð±Ð¾Ð¹Ñ",moreLinkText:e=>"+ ÑаÒÑ "+e,noEventsText:"ÐÓ©ÑÑеÑÑ Ò¯ÑÑн оÒиÒÐ°Ð»Ð°Ñ Ð¶Ð¾Ò"},{code:"km",week:{dow:1,doy:4},buttonText:{prev:"áá»á",next:"ááááá¶áá",today:"ááááááá",year:"áááá¶á",month:"áá",week:"ááááá¶á á",day:"áááá",list:"ááááá¸"},weekText:"ááááá¶á á",allDayText:"ááááá½ááááá",moreLinkText:"á
ááá¾áááá",noEventsText:"áááá¶ááááá¹áááá·áá¶ááááááá¼ááááá á¶á"},{code:"ko",buttonText:{prev:"ì´ì ë¬",next:"ë¤ìë¬",today:"ì¤ë",year:"ë
ë",month:"ì",week:"주",day:"ì¼",list:"ì¼ì 목ë¡"},weekText:"주",allDayText:"ì¢
ì¼",moreLinkText:"ê°",noEventsText:"ì¼ì ì´ ììµëë¤"},{code:"ku",week:{dow:6,doy:12},direction:"rtl",buttonText:{prev:"Ù¾ÛØ´ØªØ±",next:"Ø¯ÙØ§ØªØ±",today:"ئÛÙ
ÚÙ",year:"ساڵ",month:"Ù
اÙÚ¯",week:"ÙÛÙØªÛ",day:"ÚÛÚ",list:"Ø¨ÛØ±ÙاÙ
Û"},weekText:"ÙÛÙØªÛ",allDayText:"ÙÛÙ
ÙÙ ÚÛÚÛÚ©Û",moreLinkText:"Ø²ÛØ§ØªØ±",noEventsText:"ÙÛÚ ÚÙÙØ¯Ø§ÙÛÙ ÙÛÛ"},{code:"lb",week:{dow:1,doy:4},buttonText:{prev:"Zréck",next:"Weider",today:"Haut",year:"Joer",month:"Mount",week:"Woch",day:"Dag",list:"Terminiwwersiicht"},weekText:"W",allDayText:"Ganzen Dag",moreLinkText:"méi",noEventsText:"Nee Evenementer ze affichéieren"},{code:"lt",week:{dow:1,doy:4},buttonText:{prev:"Atgal",next:"Pirmyn",today:"Å iandien",year:"Metai",month:"MÄnuo",week:"SavaitÄ",day:"Diena",list:"DarbotvarkÄ"},weekText:"SAV",allDayText:"VisÄ
dienÄ
",moreLinkText:"daugiau",noEventsText:"NÄra įvykių rodyti"},{code:"lv",week:{dow:1,doy:4},buttonText:{prev:"Iepr.",next:"NÄk.",today:"Å odien",year:"Gads",month:"MÄnesis",week:"NedÄļa",day:"Diena",list:"Dienas kÄrtÄ«ba"},weekText:"Ned.",allDayText:"Visu dienu",moreLinkText:e=>"+vÄl "+e,noEventsText:"Nav notikumu"},{code:"mk",buttonText:{prev:"пÑеÑÑ
одно",next:"Ñледно",today:"ÐенеÑ",year:"година",month:"ÐеÑеÑ",week:"Ðедела",day:"Ðен",list:"ÐÑаÑик"},weekText:"Сед",allDayText:"Цел ден",moreLinkText:e=>"+повеÑе "+e,noEventsText:"Ðема наÑÑани за пÑикажÑваÑе"},{code:"ms",week:{dow:1,doy:7},buttonText:{prev:"Sebelum",next:"Selepas",today:"hari ini",year:"Tahun",month:"Bulan",week:"Minggu",day:"Hari",list:"Agenda"},weekText:"Mg",allDayText:"Sepanjang hari",moreLinkText:e=>"masih ada "+e+" acara",noEventsText:"Tiada peristiwa untuk dipaparkan"},{code:"nb",week:{dow:1,doy:4},buttonText:{prev:"Forrige",next:"Neste",today:"I dag",year:"Ã
r",month:"MÃ¥ned",week:"Uke",day:"Dag",list:"Agenda"},weekText:"Uke",weekTextLong:"Uke",allDayText:"Hele dagen",moreLinkText:"til",noEventsText:"Ingen hendelser Ã¥ vise",buttonHints:{prev:"Forrige $0",next:"Neste $0",today:"NÃ¥værende $0"},viewHint:"$0 visning",navLinkHint:"GÃ¥ til $0",moreLinkHint:e=>`Vis ${e} flere hendelse${1===e?"":"r"}`},{code:"ne",week:{dow:7,doy:1},buttonText:{prev:"à¤
à¤à¤¿à¤²à¥à¤²à¥",next:"à¤
रà¥à¤à¥",today:"à¤à¤",year:"वरà¥à¤·",month:"महिना",week:"हपà¥à¤¤à¤¾",day:"दिन",list:"सà¥à¤à¥"},weekText:"हपà¥à¤¤à¤¾",allDayText:"दिनà¤à¤°à¤¿",moreLinkText:"थप लिà¤à¤",noEventsText:"दà¥à¤à¤¾à¤à¤¨à¤à¥ लाà¤à¤¿ à¤à¥à¤¨à¥ à¤à¤à¤¨à¤¾à¤¹à¤°à¥ à¤à¥à¤¨à
1¤¨à¥"},{code:"nl",week:{dow:1,doy:4},buttonText:{prev:"Vorige",next:"Volgende",today:"Vandaag",year:"Jaar",month:"Maand",week:"Week",day:"Dag",list:"Agenda"},allDayText:"Hele dag",moreLinkText:"extra",noEventsText:"Geen evenementen om te laten zien"},{code:"nn",week:{dow:1,doy:4},buttonText:{prev:"Førre",next:"Neste",today:"I dag",year:"Ã
r",month:"MÃ¥nad",week:"Veke",day:"Dag",list:"Agenda"},weekText:"Veke",allDayText:"Heile dagen",moreLinkText:"til",noEventsText:"Ingen hendelser Ã¥ vise"},{code:"pl",week:{dow:1,doy:4},buttonText:{prev:"Poprzedni",next:"NastÄpny",today:"DziÅ",year:"Rok",month:"MiesiÄ
c",week:"TydzieÅ",day:"DzieÅ",list:"Plan dnia"},weekText:"Tydz",allDayText:"CaÅy dzieÅ",moreLinkText:"wiÄcej",noEventsText:"Brak wydarzeÅ do wyÅwietlenia"},{code:"pt-br",buttonText:{prev:"Anterior",next:"Próximo",prevYear:"Ano anterior",nextYear:"Próximo ano",year:"Ano",today:"Hoje",month:"Mês",week:"Semana",day:"Dia",list:"Lista"},buttonHints:{prev:"$0 Anterior",next:"Próximo $0",today:e=>"Dia"===e?"Hoje":("Semana"===e?"Esta":"Este")+" "+e.toLocaleLowerCase()},viewHint:e=>"Visualizar "+("Semana"===e?"a":"o")+" "+e.toLocaleLowerCase(),weekText:"Sm",weekTextLong:"Semana",allDayText:"dia inteiro",moreLinkText:e=>"mais +"+e,moreLinkHint:e=>`Mostrar mais ${e} eventos`,noEventsText:"Não há eventos para mostrar",navLinkHint:"Ir para $0",closeHint:"Fechar",timeHint:"A hora",eventHint:"Evento"},{code:"pt",week:{dow:1,doy:4},buttonText:{prev:"Anterior",next:"Seguinte",today:"Hoje",year:"Ano",month:"Mês",week:"Semana",day:"Dia",list:"Agenda"},weekText:"Sem",allDayText:"Todo o dia",moreLinkText:"mais",noEventsText:"Não há eventos para mostrar"},{code:"ro",week:{dow:1,doy:7},buttonText:{prev:"precedentÄ",next:"urmÄtoare",today:"Azi",year:"An",month:"LunÄ",week:"SÄptÄmânÄ",day:"Zi",list:"AgendÄ"},weekText:"SÄpt",allDayText:"ToatÄ ziua",moreLinkText:e=>"+alte "+e,noEventsText:"Nu existÄ evenimente de afiÈat"},{code:"ru",week:{dow:1,doy:4},buttonText:{prev:"ÐÑед",next:"След",today:"СегоднÑ",year:"Ðод",month:"ÐеÑÑÑ",week:"ÐеделÑ",day:"ÐенÑ",list:"ÐовеÑÑка днÑ"},weekText:"Ðед",allDayText:"ÐеÑÑ Ð´ÐµÐ½Ñ",moreLinkText:e=>"+ еÑÑ "+e,noEventsText:"ÐÐµÑ ÑобÑÑий Ð´Ð»Ñ Ð¾ÑобÑажениÑ"},{code:"si-lk",week:{dow:1,doy:4},buttonText:{prev:"à¶´à·à¶»",next:"à¶´à·à·",today:"à¶
ද",year:"à¶
à·à·à¶»à·à¶¯à·",month:"මà·à·à¶º",week:"à·à¶à·à¶º",day:"දà·à·",list:"à¶½à·à¶ºà·à·à·à¶à·à·"},weekText:"à·à¶à·",allDayText:"à·à·à¶ºà¶½à·",moreLinkText:"à¶à·à¶à·",noEventsText:"මà·à¶à·à¶à· à¶±à·à¶"},{code:"sk",week:{dow:1,doy:4},buttonText:{prev:"Predchádzajúci",next:"Nasledujúci",today:"Dnes",year:"Rok",month:"Mesiac",week:"TýždeÅ",day:"DeÅ",list:"Rozvrh"},weekText:"Ty",allDayText:"Celý deÅ",moreLinkText:e=>"+ÄalÅ¡ie: "+e,noEventsText:"Žiadne akcie na zobrazenie"},{code:"sl",week:{dow:1,doy:7},buttonText:{prev:"PrejÅ¡nji",next:"Naslednji",today:"Trenutni",year:"Leto",month:"Mesec",week:"Teden",day:"Dan",list:"Dnevni red"},weekText:"Teden",allDayText:"Ves dan",moreLinkText:"veÄ",noEventsText:"Ni dogodkov za prikaz"},{code:"sm",buttonText:{prev:"Talu ai",next:"Mulimuli atu",today:"Aso nei",year:"Tausaga",month:"Masina",week:"Vaiaso",day:"Aso",list:"Faasologa"},weekText:"Vaiaso",allDayText:"Aso atoa",moreLinkText:"sili atu",noEventsText:"Leai ni mea na tutupu"},{code:"sq",week:{dow:1,doy:4},buttonText:{prev:"mbrapa",next:"Përpara",today:"Sot",year:"Viti",month:"Muaj",week:"Javë",day:"Ditë",list:"Listë"},weekText:"Ja",allDayText:"Gjithë ditën",moreLinkText:e=>"+më tepër "+e,noEventsText:"Nuk ka evente për të shfaqur"},{code:"sr-cyrl",week:{dow:1,doy:7},buttonText:{prev:"ÐÑеÑÑ
одна",next:"ÑледеÑи",today:"ÐанаÑ",year:"Ðодина",month:"ÐеÑеÑ",week:"ÐедеÑа",day:"Ðан",list:"ÐланеÑ"},weekText:"Сед",allDayText:"Цео дан",moreLinkText:e=>"+ ÑÐ¾Ñ "+e,noEventsText:"Ðема догаÑаÑа за пÑиказ"},{code:"sr",week:{dow:1,doy:7},buttonText:{prev:"Prethodna",next:"SledecÌi",today:"Danas",year:"Godina",month:"Mеsеc",week:"Nеdеlja",day:"Dan",list:"Planеr"},weekText:"Sed",allDayText:"Cеo dan",moreLinkText:e=>"+ joÅ¡ "+e,noEventsText:"Nеma dogaÄaja za prikaz"},{code:"sv",week:{dow:1,doy:4},buttonText:{prev:"Förra",next:"Nästa",today:"Idag",year:"Ã
r",month:"MÃ¥nad",week:"Vecka",day:"Dag",list:"Program"},buttonHints:{prev:e=>`FöregÃ¥ende ${e.toLocaleLowerCase()}`,next:e=>`Nästa ${e.toLocaleLowerCase()}`,today:e=>("Program"===e?"Detta":"Denna")+" "+e.toLocaleLowerCase()},viewHint:"$0 vy",navLinkHint:"GÃ¥ till $0",moreLinkHint:e=>`Visa ytterligare ${e} händelse${1===e?"":"r"}`,weekText:"v.",weekTextLong:"Vecka",allDayText:"Heldag",moreLinkText:"till",noEventsText:"Inga händelser att visa",closeHint:"Stäng",timeHint:"Klockan",eventHint:"Händelse"},{code:"ta-in",week:{dow:1,doy:4},buttonText:{prev:"à®®à¯à®¨à¯à®¤à¯à®¯",next:"à®
à®à¯à®¤à¯à®¤à®¤à¯",today:"à®à®©à¯à®±à¯",year:"à®à®£à¯à®à¯",month:"மாதமà¯",week:"வாரமà¯",day:"நாளà¯",list:"தினà®à®°à®¿ à®
à®à¯à®à®µà®£à¯"},weekText:"வாரமà¯",allDayText:"நாள௠மà¯à®´à¯à®µà®¤à¯à®®à¯",moreLinkText:e=>"+ à®®à¯à®²à¯à®®à¯ "+e,noEventsText:"à®à®¾à®£à¯à®ªà®¿à®à¯à® நிà®à®´à¯à®µà¯à®à®³à¯ à®à®²à¯à®²à¯"},{code:"th",week:{dow:1,doy:4},buttonText:{prev:"à¸à¹à¸à¸à¸«à¸à¹à¸²",next:"à¸à¸±à¸à¹à¸",prevYear:"à¸à¸µà¸à¹à¸à¸à¸«à¸à¹à¸²",nextYear:"à¸à¸µà¸à¸±à¸à¹à¸",year:"à¸à¸µ",today:"วัà¸à¸à¸µà¹",month:"à¹à¸à¸·à¸à¸",week:"สัà¸à¸à¸²à¸«à¹",day:"วัà¸",list:"à¸à¸³à¸«à¸à¸à¸à¸²à¸£"},weekText:"สัà¸à¸à¸²à¸«à¹",allDayText:"à¸à¸¥à¸à¸à¸§à¸±à¸",moreLinkText:"à¹à¸à¸´à¹à¸¡à¹à¸à¸´à¸¡",noEventsText:"à¹à¸¡à¹à¸¡à¸µà¸à¸´à¸à¸à¸£à¸£à¸¡à¸à¸µà¹à¸à¸°à¹à¸ªà¸à¸"},{code:"tr",week:{dow:1,doy:7},buttonText:{prev:"geri",next:"ileri",today:"bugün",year:"Yıl",month:"Ay",week:"Hafta",day:"Gün",list:"Ajanda"},weekText:"Hf",allDayText:"Tüm gün",moreLinkText:"daha fazla",noEventsText:"Gösterilecek etkinlik yok"},{code:"ug",buttonText:{prev:"Ø¦Ø§ÙØ¯ÙÙÙÙ",next:"ÙÛÙÙÙÙÙ",today:"بÛÚ¯ÛÙ",year:"ÙÙÙ",month:"ئاÙ",week:"Ú¾ÛپتÛ",day:"ÙÛÙ",list:"ÙÛÙØªÛرتÙÙ¾"},allDayText:"Ù¾ÛØªÛÙ ÙÛÙ"},{code:"uk",week:{dow:1,doy:7},buttonText:{prev:"ÐопеÑеднÑй",next:"далÑ",today:"СÑогоднÑ",year:"ÑÑк",month:"ÐÑÑÑÑÑ",week:"ТижденÑ",day:"ÐенÑ",list:"ÐоÑÑдок денний"},weekText:"Тиж",allDayText:"УвеÑÑ Ð´ÐµÐ½Ñ",moreLinkText:e=>"+Ñе "+e+"...",noEventsText:"ÐÐµÐ¼Ð°Ñ Ð¿Ð¾Ð´Ñй Ð´Ð»Ñ Ð²ÑдобÑаженнÑ"},{code:"uz-cy",week:{dow:1,doy:4},buttonText:{prev:"Ðлин",next:"Ðейин",today:"ÐÑгÑн",month:"Ðй",week:"ҲаÑÑа",day:"ÐÑн",list:"ÐÑн ÑаÑÑиби"},weekText:"ҲаÑÑа",allDayText:"ÐÑн бÑйиÑа",moreLinkText:e=>"+ Ñна "+e,noEventsText:"ÐÑÑÑаÑÐ¸Ñ ÑÑÑн воÒÐµÐ°Ð»Ð°Ñ Ð¹ÑÒ"},{code:"uz",week:{dow:1,doy:4},buttonText:{prev:"Oldingi",next:"Keyingi",today:"Bugun",year:"Yil",month:"Oy",week:"Xafta",day:"Kun",list:"Kun tartibi"},allDayText:"Kun bo'yi",moreLinkText:e=>"+ yana "+e,noEventsText:"Ko'rsatish uchun voqealar yo'q"},{code:"vi",week:{dow:1,doy:4},buttonText:{prev:"Trưá»c",next:"Tiếp",today:"Hôm nay",year:"NÄm",month:"Tháng",week:"TuâÌn",day:"Ngà y",list:"Lá»ch biá»u"},weekText:"Tu",allDayText:"Cả ngà y",moreLinkText:e=>"+ thêm "+e,noEventsText:"Không có sá»± kiá»n Äá» hiá»n thá»"},{code:"zh-cn",week:{dow:1,doy:4},buttonText:{prev:"䏿",next:"䏿",today:"ä»å¤©",year:"å¹´",month:"æ",week:"å¨",day:"æ¥",list:"æ¥ç¨"},weekText:"å¨",allDayText:"å
¨å¤©",moreLinkText:e=>"å¦å¤ "+e+" 个",noEventsText:"没æäºä»¶æ¾ç¤º"},{code:"zh-tw",buttonText:{prev:"ä¸å",next:"ä¸å",today:"ä»å¤©",year:"å¹´",month:"æ",week:"é±",day:"天",list:"æ´»åå表"},weekText:"é±",allDayText:"æ´å¤©",moreLinkText:"顯示æ´å¤",noEventsText:"æ²æä»»ä½æ´»å"}];FullCalendar.globalLocales.push(...i)}(),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).noUiSlider={})}(this,(function(e){"use strict";var t,n;function i(e){return"object"==typeof e&&"function"==typeof e.to}function o(e){e.parentElement.removeChild(e)}function r(e){return null!=e}function s(e){e.preventDefault()}function a(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function l(e,t,n){n>0&&(h(e,t),setTimeout((function(){f(e,t)}),n))}function c(e){return Math.max(Math.min(e,100),0)}function d(e){return Array.isArray(e)?e:[e]}function u(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function h(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function f(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function p(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function g(e,t){return 100/(t-e)}function m(e,t,n){return 100*t/(e[n+1]-e[n])}function v(e,t){for(var n=1;e>=t[n];)n+=1;return n}e.PipsMode=void 0,(t=e.PipsMode||(e.PipsMode={})).Range="range",t.Steps="steps",t.Positions="positions",t.Count="count",t.Values="values",e.PipsType=void 0,(n=e.PipsType||(e.PipsType={}))[n.None=-1]="None",n[n.NoValue=0]="NoValue",n[n.LargeValue=1]="LargeValue",n[n.SmallValue=2]="SmallValue";var y=function(){function e(e,t,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var o=[];for(Object.keys(e).forEach((function(t){o.push([d(e[t]),t])})),o.sort((function(e,t){return e[0][0]-t[0][0]})),i=0;i<o.length;i++)this.handleEntryPoint(o[i][1],o[i][0]);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)this.handleStepPoint(i,this.xNumSteps[i])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=m(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var i,o=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[o+1];)o++;else e===this.xPct[this.xPct.length-1]&&(o=this.xPct.length-2);n||e!==this.xPct[o+1]||o++,null===t&&(t=[]);var r=1,s=t[o],a=0,l=0,c=0,d=0;for(i=n?(e-this.xPct[o])/(this.xPct[o+1]-this.xPct[o]):(this.xPct[o+1]-e)/(this.xPct[o+1]-this.xPct[o]);s>0;)a=this.xPct[o+1+d]-this.xPct[o+d],t[o+d]*r+100-100*i>100?(l=a*i,r=(s-100*i)/t[o+d],i=1):(l=t[o+d]*a/100*r,r=0),n?(c-=l,this.xPct.length+d>=1&&d--):(c+=l,this.xPct.length-d>=1&&d++),s=t[o+d]*r;return e+c},e.prototype.toStepping=function(e){return function(e,t,n){if(n>=e.slice(-1)[0])return 100;
vendor: 4,718 bytes, line 1
1var i=v(n,e),o=e[i-1],r=e[i],s=t[i-1],a=t[i];return s+function(e,t){return m(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([o,r],n)/g(s,a)}(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i=v(n,t),o=e[i-1],r=e[i],s=t[i-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([o,r],(n-s)*g(s,t[i]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return function(e,t,n,i){if(100===i)return i;var o=v(i,e),r=e[o-1],s=e[o];return n?i-r>(s-r)/2?s:r:t[o-1]?e[o-1]+function(e,t){return Math.round(e/t)*t}(i-e[o-1],t[o-1]):i}(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var i=v(e,this.xPct);return(100===e||t&&e===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},e.prototype.getNearbySteps=function(e){var t=v(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(u);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]},e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!a(n="min"===e?0:"max"===e?100:parseFloat(e))||!a(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var i=Number(t[1]);n?this.xSteps.push(!isNaN(i)&&i):isNaN(i)||(this.xSteps[0]=i),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=m([this.xVal[e],this.xVal[e+1]],t,0)/g(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],i=Math.ceil(Number(n.toFixed(3))-1),o=this.xVal[e]+this.xNumSteps[e]*i;this.xHighestCompleteStep[e]=o}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),b={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},w={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},x={tooltips:".__tooltips",aria:".__aria"};function k(e,t){if(!a(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function E(e,t){if(!a(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function S(e,t){if(!a(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function C(e,t){if(!a(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function _(e,t){if("object"!=typeof t||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new y(t,e.snap||!1,e.singleStep)}function A(e,t){if(t=d(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function T(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function D(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function M(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function P(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}e.connect=i}function O(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invali
1d.")}}function R(e,t){if(!a(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function I(e,t){if(!a(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function L(e,t){var n;if(!a(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!a(t[0])&&!a(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],o=e.spectrum.xVal[0];if(i/(e.spectrum.xVal[e.spectrum.xVal.length-1]-o)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function N(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function j(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,o=t.indexOf("fixed")>=0,r=t.indexOf("snap")>=0,s=t.indexOf("hover")>=0,a=t.indexOf("unconstrained")>=0,l=t.indexOf("drag-all")>=0,c=t.indexOf("smooth-steps")>=0;if(o){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");R(e,e.start[1]-e.start[0])}if(a&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||r,drag:i,dragAll:l,smoothSteps:c,fixed:o,snap:r,hover:s,unconstrained:a}}function H(e,t){if(!1!==t)if(!0===t||i(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if((t=d(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach((function(e){if("boolean"!=typeof e&&!i(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")})),e.tooltips=t}}function $(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function z(e,t){if(!i(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function B(e,t){if(!function(e){return i(e)&&"function"==typeof e.from}(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function F(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function V(e,t){e.documentElement=t}function U(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function W(e,t){if("object"!=typeof t)throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach((function(n){e.cssClasses[n]=e.cssPrefix+t[n]}))):e.cssClasses=t}function q(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:b,format:b},n={step:{r:!1,t:k},keyboardPageMultiplier:{r:!1,t:E},keyboardMultiplier:{r:!1,t:S},keyboardDefaultStep:{r:!1,t:C},start:{r:!0,t:A},connect:{r:!0,t:P},direction:{r:!0,t:N},snap:{r:!1,t:T},animate:{r:!1,t:D},animationDuration:{r:!1,t:M},range:{r:!0,t:_},orientation:{r:!1,t:O},margin:{r:!1,t:R},limit:{r:!1,t:I},padding:{r:!1,t:L},behaviour:{r:!0,t:j},ariaFormat:{r:!1,t:z},format:{r:!1,t:B},tooltips:{r:!1,t:H},keyboardSupport:{r:!0,t:F},documentElement:{r:!1,t:V},cssPrefix:{r:!0,t:U}
vendor: 7,730 bytes, line 1
1,cssClasses:{r:!0,t:W},handleAttributes:{r:!1,t:$}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:w,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach((function(o){if(r(e[o])||void 0!==i[o])n[o].t(t,r(e[o])?e[o]:i[o]);else if(n[o].r)throw new Error("noUiSlider: '"+o+"' is required.")})),t.pips=e.pips;var o=document.createElement("div"),s=void 0!==o.style.msTransform,a=void 0!==o.style.transform;return t.transformRule=a?"transform":s?"msTransform":"webkitTransform",t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function G(t,n,i){var a,u,g,m,v,y,b,w=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},k=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),E=t,S=n.spectrum,C=[],_=[],A=[],T=0,D={},M=t.ownerDocument,P=n.documentElement||M.documentElement,O=M.body,R="rtl"===M.dir||1===n.ort?0:100;function I(e,t){var n=M.createElement("div");return t&&h(n,t),e.appendChild(n),n}function L(e,t){var i=I(e,n.cssClasses.origin),o=I(i,n.cssClasses.handle);if(I(o,n.cssClasses.touchArea),o.setAttribute("data-handle",String(t)),n.keyboardSupport&&(o.setAttribute("tabindex","0"),o.addEventListener("keydown",(function(e){return function(e,t){if(H()||$(t))return!1;var i=["Left","Right"],o=["Down","Up"],r=["PageDown","PageUp"],s=["Home","End"];n.dir&&!n.ort?i.reverse():n.ort&&!n.dir&&(o.reverse(),r.reverse());var a,l=e.key.replace("Arrow",""),c=l===r[0],d=l===r[1],u=l===o[0]||l===i[0]||c,h=l===o[1]||l===i[1]||d,f=l===s[1];if(!(u||h||l===s[0]||f))return!0;if(e.preventDefault(),h||u){var p=u?0:1,g=pe(t)[p];if(null===g)return!1;!1===g&&(g=S.getDefaultStep(_[t],u,n.keyboardDefaultStep)),g*=d||c?n.keyboardPageMultiplier:n.keyboardMultiplier,g=Math.max(g,1e-7),g*=u?-1:1,a=C[t]+g}else a=f?n.spectrum.xVal[n.spectrum.xVal.length-1]:n.spectrum.xVal[0];return ce(t,S.toStepping(a),!0,!0),ie("slide",t),ie("update",t),ie("change",t),ie("set",t),!1}(e,t)}))),void 0!==n.handleAttributes){var r=n.handleAttributes[t];Object.keys(r).forEach((function(e){o.setAttribute(e,r[e])}))}return o.setAttribute("role","slider"),o.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===t?h(o,n.cssClasses.handleLower):t===n.handles-1&&h(o,n.cssClasses.handleUpper),i.handle=o,i}function N(e,t){return!!t&&I(e,n.cssClasses.connect)}function j(e,t){return!(!n.tooltips||!n.tooltips[t])&&I(e.firstChild,n.cssClasses.tooltip)}function H(){return E.hasAttribute("disabled")}function $(e){return u[e].hasAttribute("disabled")}function z(){v&&(ne("update"+x.tooltips),v.forEach((function(e){e&&o(e)})),v=null)}function B(){z(),v=u.map(j),te("update"+x.tooltips,(function(e,t,i){if(v&&n.tooltips&&!1!==v[t]){var o=e[t];!0!==n.tooltips[t]&&(o=n.tooltips[t].to(i[t])),v[t].innerHTML=o}}))}function F(e,t){return e.map((function(e){return S.fromStepping(t?S.getStep(e):e)}))}function V(t){var n,i=function(t){if(t.mode===e.PipsMode.Range||t.mode===e.PipsMode.Steps)return S.xVal;if(t.mode===e.PipsMode.Count){if(t.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var n=t.values-1,i=100/n,o=[];n--;)o[n]=n*i;return o.push(100),F(o,t.stepped)}return t.mode===e.PipsMode.Positions?F(t.values,t.stepped):t.mode===e.PipsMode.Values?t.stepped?t.values.map((function(e){return S.fromStepping(S.getStep(S.toStepping(e)))})):t.values:[]}(t),o={},r=S.xVal[0],s=S.xVal[S.xVal.length-1],a=!1,l=!1,c=0;return n=i.slice().sort((function(e,t){return e-t})),(i=n.filter((function(e){return!this[e]&&(this[e]=!0)}),{}))[0]!==r&&(i.unshift(r),a=!0),i[i.length-1]!==s&&(i.push(s),l=!0),i.forEach((function(n,r){var s,d,u,h,f,p,g,m,v,y,b=n,w=i[r+1],x=t.mode===e.PipsMode.Steps;for(x&&(s=S.xNumSteps[r]),s||(s=w-b),void 0===w&&(w=b),s=Math.max(s,1e-7),d=b;d<=w;d=Number((d+s).toFixed(7))){for(m=(f=(h=S.toStepping(d))-c)/(t.density||1),y=f/(v=Math.round(m)),u=1;u<=v;u+=1)o[(p=c+u*y).toFixed(5)]=[S.fromStepping(p),0];g=i.indexOf(d)>-1?e.PipsType.LargeValue:x?e.PipsType.SmallValue:e.PipsType.NoValue,!r&&a&&d!==w&&(g=0),d===w&&l||(o[h.toFixed(5)]=[d,g]),c=h}})),o}function U(t,i,o){var r,s,a=M.createElement("div"),l=((r={})[e.PipsType.None]="",r[e.PipsType.NoValue]=n.cssClasses.valueNormal,r[e.PipsType.LargeValue]=n.cssClasses.valueLarge,r[e.PipsType.SmallValue]=n.cssClasses.valueSub,r),c=((s={})[e.PipsType.None]="",s[e.PipsType.NoValue]=n.cssClasses.markerNormal,s[e.PipsType.LargeValue]=n.cssClasses.markerLarge,s[e.PipsType.SmallValue]=n.cssClasses.markerSub,s),d=[n.cssClasses.valueHorizontal,n.cssClasses.valueVertical],u=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function f(e,t){var i=t===n.cssClasses.value,o=i?l:c;return t+" "+(i?d:u)[n.ort]+" "+o[e]}return h(a,n.cssClasses.pips),h(a,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(t).forEach((function(r){!function(t,r,s){if((s=i?i(r,s):s)!==e.PipsType.None){var l=I(a,!1);l.className=f(s,n.cssClasses.marker),l.style[n.style]=t+"%",s>e.PipsType.NoValue&&((l=I(a,!1)).className=f(s,n.cssClasses.value),l.setAttribute("data-value",String(r)),l.style[n.style]=t+"%",l.innerHTML=String(o.to(r)))}}(r,t[r][0],t[r][1])})),a}function W(){m&&(o(m),m=null)}function G(e){W();var t=V(e),n=e.filter,i=e.format||{to:function(e){return String(Math.round(e))}};return m=E.appendChild(U(t,n,i))}function Y(){var e=a.getBoundingClientRect(),t="offset"+["Width","Height"][n.ort];return 0===n.ort?e.width||a[t]:e.height||a[t]}function Q(e,t,i,o){var r=function(r){var s,a,l=function(e,t,n){var i=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),r=0===e.type.indexOf("pointer"),s=0,a=0;if(0===e.type.indexOf("MSPointer")&&(r=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(t){var i=t.target;return i===n||n.contains(i)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;s=c[0].pageX,a=c[0].pageY}else{var d=Array.prototype.find.call(e.changedTouches,l);if(!d)return!1;s=d.pageX,a=d.pageY}}return t=t||p(M),(o||r)&&(s=e.clientX+t.x,a=e.clientY+t.y),e.pageOffset=t,e.points=[s,a],e.cursor=o||r,e}(r,o.pageOffset,o.target||t);return!!l&&!(H()&&!o.doNotReject)&&(s=E,a=n.cssClasses.tap,!((s.classList?s.classList.contains(a):new RegExp("\\b"+a+"\\b").test(s.className))&&!o.doNotReject)&&!(e===w.start&&void 0!==l.buttons&&l.buttons>1)&&(!o.hover||!l.buttons)&&(k||l.preventDefault(),l.calcPoint=l.points[n.ort],void i(l,o)))},s=[];return e.split(" ").forEach((function(e){t.addEventListener(e,r,!!k&&{passive:!0}),s.push([e,r])})),s}function X(e){var t,i,o,r,s,l,d=100*(e-(t=a,i=n.ort,o=t.getBoundingClientRect(),s=(r=t.ownerDocument).documentElement,l=p(r),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),i?o.top+l.y-s.clientTop:o.left+l.x-s.clientLeft))/Y();return d=c(d),n.dir?100-d:d}function Z(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&J(e,t)}function K(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return J(e,t);var i=(n.dir?-1:1)*(e.calcPoint-t.startCalcPoint);se(i>0,100*i/t.baseSize,t.locations,t.handleNumbers,t.connect)}function J(e,t){t.handle&&(f(t.handle,n.cssClasses.active),T-=1),t.listeners.forEach((function(e){P.removeEventListener(e[0],e[1])}
vendor: 3,480 bytes, line 1
1)),0===T&&(f(E,n.cssClasses.drag),le(),e.cursor&&(O.style.cursor="",O.removeEventListener("selectstart",s))),n.events.smoothSteps&&(t.handleNumbers.forEach((function(e){ce(e,_[e],!0,!0,!1,!1)})),t.handleNumbers.forEach((function(e){ie("update",e)}))),t.handleNumbers.forEach((function(e){ie("change",e),ie("set",e),ie("end",e)}))}function ee(e,t){if(!t.handleNumbers.some($)){var i;1===t.handleNumbers.length&&(i=u[t.handleNumbers[0]].children[0],T+=1,h(i,n.cssClasses.active)),e.stopPropagation();var o=[],r=Q(w.move,P,K,{target:e.target,handle:i,connect:t.connect,listeners:o,startCalcPoint:e.calcPoint,baseSize:Y(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:_.slice()}),a=Q(w.end,P,J,{target:e.target,handle:i,listeners:o,doNotReject:!0,handleNumbers:t.handleNumbers}),l=Q("mouseout",P,Z,{target:e.target,handle:i,listeners:o,doNotReject:!0,handleNumbers:t.handleNumbers});o.push.apply(o,r.concat(a,l)),e.cursor&&(O.style.cursor=getComputedStyle(e.target).cursor,u.length>1&&h(E,n.cssClasses.drag),O.addEventListener("selectstart",s,!1)),t.handleNumbers.forEach((function(e){ie("start",e)}))}}function te(e,t){D[e]=D[e]||[],D[e].push(t),"update"===e.split(".")[0]&&u.forEach((function(e,t){ie("update",t)}))}function ne(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys(D).forEach((function(e){var i=e.split(".")[0],o=e.substring(i.length);t&&t!==i||n&&n!==o||function(e){return e===x.aria||e===x.tooltips}(o)&&n!==o||delete D[e]}))}function ie(e,t,i){Object.keys(D).forEach((function(o){var r=o.split(".")[0];e===r&&D[o].forEach((function(e){e.call(ge,C.map(n.format.to),t,C.slice(),i||!1,_.slice(),ge)}))}))}function oe(e,t,i,o,r,s,a){var l;return u.length>1&&!n.events.unconstrained&&(o&&t>0&&(l=S.getAbsoluteDistance(e[t-1],n.margin,!1),i=Math.max(i,l)),r&&t<u.length-1&&(l=S.getAbsoluteDistance(e[t+1],n.margin,!0),i=Math.min(i,l))),u.length>1&&n.limit&&(o&&t>0&&(l=S.getAbsoluteDistance(e[t-1],n.limit,!1),i=Math.min(i,l)),r&&t<u.length-1&&(l=S.getAbsoluteDistance(e[t+1],n.limit,!0),i=Math.max(i,l))),n.padding&&(0===t&&(l=S.getAbsoluteDistance(0,n.padding[0],!1),i=Math.max(i,l)),t===u.length-1&&(l=S.getAbsoluteDistance(100,n.padding[1],!0),i=Math.min(i,l))),a||(i=S.getStep(i)),!((i=c(i))===e[t]&&!s)&&i}function re(e,t){var i=n.ort;return(i?t:e)+", "+(i?e:t)}function se(e,t,i,o,r){var s=i.slice(),a=o[0],l=n.events.smoothSteps,c=[!e,e],d=[e,!e];o=o.slice(),e&&o.reverse(),o.length>1?o.forEach((function(e,n){var i=oe(s,e,s[e]+t,c[n],d[n],!1,l);!1===i?t=0:(t=i-s[e],s[e]=i)})):c=d=[!0];var u=!1;o.forEach((function(e,n){u=ce(e,i[e]+t,c[n],d[n],!1,l)||u})),u&&(o.forEach((function(e){ie("update",e),ie("slide",e)})),null!=r&&ie("drag",a))}function ae(e,t){return n.dir?100-e-t:e}function le(){A.forEach((function(e){var t=_[e]>50?-1:1,n=3+(u.length+t*e);u[e].style.zIndex=String(n)}))}function ce(e,t,i,o,r,s){return r||(t=oe(_,e,t,i,o,!1,s)),!1!==t&&(function(e,t){_[e]=t,C[e]=S.fromStepping(t);var i="translate("+re(ae(t,0)-R+"%","0")+")";u[e].style[n.transformRule]=i,de(e),de(e+1)}(e,t),!0)}function de(e){if(g[e]){var t=0,i=100;0!==e&&(t=_[e-1]),e!==g.length-1&&(i=_[e]);var o=i-t,r="translate("+re(ae(t,o)+"%","0")+")",s="scale("+re(o/100,"1")+")";g[e].style[n.transformRule]=r+" "+s}}function ue(e,t){return null===e||!1===e||void 0===e?_[t]:("number"==typeof e&&(e=String(e)),!1!==(e=n.format.from(e))&&(e=S.toStepping(e)),!1===e||isNaN(e)?_[t]:e)}function he(e,t,i){var o=d(e),r=void 0===_[0];
vendor: 3,090 bytes, line 1
1t=void 0===t||t,n.animate&&!r&&l(E,n.cssClasses.tap,n.animationDuration),A.forEach((function(e){ce(e,ue(o[e],e),!0,!1,i)}));var s=1===A.length?0:1;if(r&&S.hasNoSize()&&(i=!0,_[0]=0,A.length>1)){var a=100/(A.length-1);A.forEach((function(e){_[e]=e*a}))}for(;s<A.length;++s)A.forEach((function(e){ce(e,_[e],!0,!0,i)}));le(),A.forEach((function(e){ie("update",e),null!==o[e]&&t&&ie("set",e)}))}function fe(e){if(void 0===e&&(e=!1),e)return 1===C.length?C[0]:C.slice(0);var t=C.map(n.format.to);return 1===t.length?t[0]:t}function pe(e){var t=_[e],i=S.getNearbySteps(t),o=C[e],r=i.thisStep.step,s=null;if(n.snap)return[o-i.stepBefore.startValue||null,i.stepAfter.startValue-o||null];!1!==r&&o+r>i.stepAfter.startValue&&(r=i.stepAfter.startValue-o),s=o>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&o-i.stepBefore.highestStep,100===t?r=null:0===t&&(s=null);var a=S.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(a))),null!==s&&!1!==s&&(s=Number(s.toFixed(a))),[s,r]}h(y=E,n.cssClasses.target),0===n.dir?h(y,n.cssClasses.ltr):h(y,n.cssClasses.rtl),0===n.ort?h(y,n.cssClasses.horizontal):h(y,n.cssClasses.vertical),h(y,"rtl"===getComputedStyle(y).direction?n.cssClasses.textDirectionRtl:n.cssClasses.textDirectionLtr),a=I(y,n.cssClasses.base),function(e,t){var i=I(t,n.cssClasses.connects);u=[],(g=[]).push(N(i,e[0]));for(var o=0;o<n.handles;o++)u.push(L(t,o)),A[o]=o,g.push(N(i,e[o+1]))}(n.connect,a),(b=n.events).fixed||u.forEach((function(e,t){Q(w.start,e.children[0],ee,{handleNumbers:[t]})})),b.tap&&Q(w.start,a,(function(e){e.stopPropagation();var t=X(e.calcPoint),i=function(e){var t=100,n=!1;return u.forEach((function(i,o){if(!$(o)){var r=_[o],s=Math.abs(r-e);(s<t||s<=t&&e>r||100===s&&100===t)&&(n=o,t=s)}})),n}(t);!1!==i&&(n.events.snap||l(E,n.cssClasses.tap,n.animationDuration),ce(i,t,!0,!0),le(),ie("slide",i,!0),ie("update",i,!0),n.events.snap?ee(e,{handleNumbers:[i]}):(ie("change",i,!0),ie("set",i,!0)))}),{}),b.hover&&Q(w.move,a,(function(e){var t=X(e.calcPoint),n=S.getStep(t),i=S.fromStepping(n);Object.keys(D).forEach((function(e){"hover"===e.split(".")[0]&&D[e].forEach((function(e){e.call(ge,i)}))}))}),{hover:!0}),b.drag&&g.forEach((function(e,t){if(!1!==e&&0!==t&&t!==g.length-1){var i=u[t-1],o=u[t],r=[e],s=[i,o],a=[t-1,t];h(e,n.cssClasses.draggable),b.fixed&&(r.push(i.children[0]),r.push(o.children[0])),b.dragAll&&(s=u,a=A),r.forEach((function(t){Q(w.start,t,ee,{handles:s,handleNumbers:a,connect:e})}))}})),he(n.start),n.pips&&G(n.pips),n.tooltips&&B(),ne("update"+x.aria),te("update"+x.aria,(function(e,t,i,o,r){A.forEach((function(e){var t=u[e],o=oe(_,e,0,!0,!0,!0),s=oe(_,e,100,!0,!0,!0),a=r[e],l=String(n.ariaFormat.to(i[e]));o=S.fromStepping(o).toFixed(1),s=S.fromStepping(s).toFixed(1),a=S.fromStepping(a).toFixed(1),t.children[0].setAttribute("aria-valuemin",o),t.children[0].setAttribute("aria-valuemax",s),t.children[0].setAttribute("aria-valuenow",a),t.children[0].setAttribute("aria-valuetext",l)}))}));var ge={destroy:function(){for(ne(x.aria),ne(x.tooltips),Object.keys(n.cssClasses).forEach((function(e){f(E,n.cssClasse
1s[e])}));E.firstChild;)E.removeChild(E.firstChild);delete E.noUiSlider},steps:function(){return A.map(pe)},on:te,off:ne,get:fe,set:he,setHandle:function(e,t,n,i){if(!((e=Number(e))>=0&&e<A.length))throw new Error("noUiSlider: invalid handle number, got: "+e);ce(e,ue(t,e),!0,!0,i),ie("update",e),n&&ie("set",e)},reset:function(e){he(n.start,e)},disable:function(e){null!=e?(u[e].setAttribute("disabled",""),u[e].handle.removeAttribute("tabindex")):(E.setAttribute("disabled",""),u.forEach((function(e){e.handle.removeAttribute("tabindex")})))},enable:function(e){null!=e?(u[e].removeAttribute("disabled"),u[e].handle.setAttribute("tabindex","0")):(E.removeAttribute("disabled"),u.forEach((function(e){e.removeAttribute("disabled"),e.handle.setAttribute("tabindex","0")})))},__moveHandles:function(e,t,n){se(e,t,_,n)},options:i,updateOptions:function(e,t){var o=fe(),s=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips"];s.forEach((function(t){void 0!==e[t]&&(i[t]=e[t])}));var a=q(i);s.forEach((function(t){void 0!==e[t]&&(n[t]=a[t])})),S=a.spectrum,n.margin=a.margin,n.limit=a.limit,n.padding=a.padding,n.pips?G(n.pips):W(),n.tooltips?B():z(),_=[],he(r(e.start)?e.start:o,t)},target:E,removePips:W,removeTooltips:z,getPositions:function(){return _.slice()},getTooltips:function(){return v},getOrigins:function(){return u},pips:G};return ge}function Y(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=G(e,q(t),t);return e.noUiSlider=n,n}var Q={__spectrum:y,cssClasses:w,create:Y};e.create=Y,e.cssClasses=w,e.default=Q,Object.defineProperty(e,"__esModule",{value:!0})})),function(e,t){"function"==typeof define&&define.amd?define([],(function(){return t(e)})):"object"==typeof module&&"object"==typeof module.exports?module.exports=t(e):e.Notiflix=t(e)}("undefined"==typeof global?"undefined"==typeof window?this:window:global,(function(e){"use strict";if(void 0===e&&void 0===e.document)return!1;var t,n="\n\nVisit documentation page to learn more: https://notiflix.github.io/documentation",i="Hourglass",o="Circle",r="Arrows",s="Dots",a="Pulse",l={ID:"NotiflixBlockWrap",querySelectorLimit:200,className:"notiflix-block",position:"absolute",zindex:1e3,backgroundColor:"rgba(255,255,255,0.9)",rtl:!1,fontFamily:"Quicksand",cssAnimation:!0,cssAnimationDuration:300,svgSize:"45px",svgColor:"#383838",messageFontSize:"14px",messageMaxLength:34,messageColor:"#383838"},c=function(e){return console.error("%c Notiflix Error ","padding:2px;border-radius:20px;color:#fff;background:#ff5549","\n"+e+n)},d=function(e){return console.log("%c Notiflix Info ","padding:2px;border-radius:20px;color:#fff;background:#26c0d3","\n"+e+n)},u=function(t){return t||(t="head"),null!==e.document[t]||(c('\nNotiflix needs to be appended to the "<'+t+'>" element, but you called it before the "<'+t+'>" element has been created.'),!1)},h=function(t,n){if(!u("head"))return!1;if(null!==t()&&!e.document.getElementById(n)){var i=e.document.createElement("style");i.id=n,i.innerHTML=t(),e.document.head.appendChild(i)}},f=function(){var e={},t=!1,n=0;"[object Boolean]"===Object.prototype.toString.call(arguments[0])&&(t=arguments[0],n++);for(var i=function(n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=t&&"[object Object]"===Object.prototype.toString.call(n[i])?f(e[i],n[i]):n[i])};n<arguments.length;n++)i(arguments[n]);return e},p=function(t){var n=e.document.createElement("div");return n.innerHTML=t,n.textContent||n.innerText||""},g=function(e,t){return e||(e="60px"),t||(t="#32c682"),'<svg xmlns="http://www.w3.org/2000/svg" stroke="'+t+'" width="'+e+'" height="'+e+'" transform="scale(.8)" viewBox="0 0 38 38"><g fill="none" fill-rule="evenodd" stroke-width="2" transform="translate(1 1)"><circle cx="18" cy="18" r="18" stroke-opacity=".25"/><path d="M36 18c0-9.94-8.06-18-18-18"><animateTransform attributeName="transform" dur="1s" from="0 18 18" repeatCount="indefinite" to="360 18 18" type="rotate"/></path></g></svg>'},m=function(e,t){return e||(e="60px"),t||(t="#32c682"),'<svg xmlns="http://www.w3.org/2000/svg" id="NXLoadingHourglass" fill="'+t+'" width="'+e+'" height="'+e+'" viewBox="0 0 200 200"><style>@-webkit-keyframes NXhourglass5-animation{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}16.67%{-webkit-transform:scale(1,.8);transform:scale(1,.8)}33.33%{-webkit-transform:scale(.88,.6);transform:scale(.88,.6)}37.5%{-webkit-transform:scale(.85,.55);transform:scale(.85,.55)}41.67%{-webkit-transform:scale(.8,.5);transform:scale(.8,.5)}45.83%{-webkit-transform:scale(.75,.45);transform:scale(.75,.45)}50%{-webkit-transform:scale(.7,.4);transform:scale(.7,.4)}54.17%{-webkit-transform:scale(.6,.35);transform:scale(.6,.35)}58.33%{-webkit-transform:scale(.5,.3);transform:scale(.5,.3)}83.33%,to{-webkit-transform:scale(.2,0);transform:scale(.2,0)}}@keyframes NXhourglass5-animation{0%{-webkit-transform:scale(1,1);transform:scale(1,1)}16.67%{-webkit-transform:scale(1,.8);transform:scale(1,.8)}33.33%{-webkit-transform:scale(.88,.6);transform:scale(.88,.6)}37.5%{-webkit-transform:scale(.85,.55);transform:scale(.85,.55)}41.67%{-webkit-transform:scale(.8,.5);transform:scale(.8,.5)}45.83%{-webkit-transform:scale(.75,.45);transform:scale(.75,.45)}50%{-webkit-transform:scale(.7,.4);transform:scale(.7,.4)}54.17%{-webkit-transform:scale(.6,.35);transform:scale(.6,.35)}58.33%{-webkit-transform:scale(.5,.3);transform:scale(.5,.3)}83.33%,to{-webkit-transform:scale(.2,0);transform:scale(.2,0)}}@-webkit-keyframes NXhourglass3-animation{0%{-webkit-transform:scale(1,.02);transform:scale(1,.02)}79.17%,to{-webkit-transform:scale(1,1);transform:scale(1,1)}}@keyframes NXhourglass3-animation{0%{-webkit-transform:scale(1,.02);transform:scale(1,.02)}79.17%,to{-webkit-transform:scale(1,1);transform:scale(1,1)}}@-webkit-keyframes NXhourglass1-animation{0%,83.33%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}@keyframes NXhourglass1-animation{0%,83.33%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(180deg);transform:rotate(180deg)}}#NXLoadingHourglass *{-webkit-animation-duration:1.2s;animation-duration:1.2s;
1-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite;-webkit-animation-timing-function:cubic-bezier(0,0,1,1);animation-timing-function:cubic-bezier(0,0,1,1)}</style><g data-animator-group="true" data-animator-type="1" style="-webkit-animation-name:NXhourglass1-animation;animation-name:NXhourglass1-animation;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;transform-box:fill-box"><g id="NXhourglass2" fill="inherit"><g data-animator-group="true" data-animator-type="2" style="-webkit-animation-name:NXhourglass3-animation;animation-name:NXhourglass3-animation;-webkit-animation-timing-function:cubic-bezier(.42,0,.58,1);animation-timing-function:cubic-bezier(.42,0,.58,1);-webkit-transform-origin:50% 100%;transform-origin:50% 100%;transform-box:fill-box" opacity=".4"><path id="NXhourglass4" d="M100 100l-34.38 32.08v31.14h68.76v-31.14z"/></g><g data-animator-group="true" data-animator-type="2" style="-webkit-animation-name:NXhourglass5-animation;animation-name:NXhourglass5-animation;-webkit-transform-origin:50% 100%;transform-origin:50% 100%;transform-box:fill-box" opacity=".4"><path id="NXhourglass6" d="M100 100L65.62 67.92V36.78h68.76v31.14z"/></g><path d="M51.14 38.89h8.33v14.93c0 15.1 8.29 28.99 23.34 39.1 1.88 1.25 3.04 3.97 3.04 7.08s-1.16 5.83-3.04 7.09c-15.05 10.1-23.34 23.99-23.34 39.09v14.93h-8.33a4.859 4.859 0 1 0 0 9.72h97.72a4.859 4.859 0 1 0 0-9.72h-8.33v-14.93c0-15.1-8.29-28.99-23.34-39.09-1.88-1.26-3.04-3.98-3.04-7.09s1.16-5.83 3.04-7.08c15.05-10.11 23.34-24 23.34-39.1V38.89h8.33a4.859 4.859 0 1 0 0-9.72H51.14a4.859 4.859 0 1 0 0 9.72zm79.67 14.93c0 15.87-11.93 26.25-19.04 31.03-4.6 3.08-7.34 8.75-7.34 15.15 0 6.41 2.74 12.07 7.34 15.15 7.11 4.78 19.04 15.16 19.04 31.03v14.93H69.19v-14.93c0-15.87 11.93-26.25 19.04-31.02 4.6-3.09 7.34-8.75 7.34-15.16 0-6.4-2.74-12.07-7.34-15.15-7.11-4.78-19.04-15.16-19.04-31.03V38.89h61.62v14.93z"/></g></g></svg>'},v=function(e,t){return e||(e="60px"),t||(t="#32c682"),'<svg xmlns="http://www.w3.org/2000/svg" width="'+e+'" height="'+e+'" viewBox="25 25 50 50" style="-webkit-animation:rotate 2s linear infinite;animation:rotate 2s linear infinite;height:'+e+";-webkit-transform-origin:center center;-ms-transform-origin:center center;transform-origin:center center;width:"+e+';position:absolute;top:0;left:0;margin:auto"><style>@-webkit-keyframes rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@keyframes rotate{to{-webkit-transform:rotate(360deg);transform:rotate(360deg)}}@-webkit-keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35}to{stroke-dasharray:89,200;stroke-dashoffset:-124}}@keyframes dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35}to{stroke-dasharray:89,200;stroke-dashoffset:-124}}</style><circle cx="50" cy="50" r="20" fill="none" stroke="'+t+'" stroke-width="2" style="-webkit-animation:dash 1.5s ease-in-out infinite,color 1.5s ease-in-out infinite;animation:dash 1.5s ease-in-out infinite,color 1.5s ease-in-out infinite" stroke-dasharray="150 200" stroke-dashoffset="-10" stroke-linecap="round"/></svg>'},y=function(e,t){return e||(e="60px"),t||(t="#32c682"),'<svg xmlns="http://www.w3.org/2000/svg" fill="'+t+'" width="'+e+'" height="'+e+'" viewBox="0 0 128 128"><g><path fill="inherit" d="M109.25 55.5h-36l12-12a29.54 29.54 0 0 0-49.53 12H18.75A46.04 46.04 0 0 1 96.9 31.84l12.35-12.34v36zm-90.5 17h36l-12 12a29.54 29.54 0 0 0 49.53-12h16.97A46.04 46.04 0 0 1 31.1 96.16L18.74 108.5v-36z"/><animateTransform attributeName="transform" dur="1.5s" from="0 64 64" repeatCount="indefinite" to="360 64 64" type="rotate"/></g></svg>'},b=function(e,t){return e||(e="60px"),t||(t="#32c682"),'<svg xmlns="http://www.w3.org/2000/svg" fill="'+t+'" width="'+e+'" height="'+e+'" viewBox="0 0 100 100"><g transform="translate(25 50)"><circle r="9" fill="inherit" transform="scale(.239)"><animateTransform attributeName="transform" begin="-0.266s" calcMode="spline" dur="0.8s" keySplines="0.3 0 0.7 1;0.3 0 0.7 1" keyTimes="0;0.5;
11" repeatCount="indefinite" type="scale" values="0;1;0"/></circle></g><g transform="translate(50 50)"><circle r="9" fill="inherit" transform="scale(.00152)"><animateTransform attributeName="transform" begin="-0.133s" calcMode="spline" dur="0.8s" keySplines="0.3 0 0.7 1;0.3 0 0.7 1" keyTimes="0;0.5;1" repeatCount="indefinite" type="scale" values="0;1;0"/></circle></g><g transform="translate(75 50)"><circle r="9" fill="inherit" transform="scale(.299)"><animateTransform attributeName="transform" begin="0s" calcMode="spline" dur="0.8s" keySplines="0.3 0 0.7 1;0.3 0 0.7 1" keyTimes="0;0.5;1" repeatCount="indefinite" type="scale" values="0;1;0"/></circle></g></svg>'},w=function(e,t){return e||(e="60px"),t||(t="#32c682"),'<svg xmlns="http://www.w3.org/2000/svg" stroke="'+t+'" width="'+e+'" height="'+e+'" viewBox="0 0 44 44"><g fill="none" fill-rule="evenodd" stroke-width="2"><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="0s" calcMode="spline" dur="1.8s" keySplines="0.165, 0.84, 0.44, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 20"/><animate attributeName="stroke-opacity" begin="0s" calcMode="spline" dur="1.8s" keySplines="0.3, 0.61, 0.355, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 0"/></circle><circle cx="22" cy="22" r="1"><animate attributeName="r" begin="-0.9s" calcMode="spline" dur="1.8s" keySplines="0.165, 0.84, 0.44, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 20"/><animate attributeName="stroke-opacity" begin="-0.9s" calcMode="spline" dur="1.8s" keySplines="0.3, 0.61, 0.355, 1" keyTimes="0; 1" repeatCount="indefinite" values="1; 0"/></circle></g></svg>'},x=function(){return'[id^=NotiflixBlockWrap]{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;z-index:1000;font-family:"Quicksand",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;background:rgba(255,255,255,.9);text-align:center;animation-duration:.4s;width:100%;height:100%;left:0;top:0;border-radius:inherit;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}[id^=NotiflixBlockWrap] *{-webkit-box-sizing:border-box;box-sizing:border-box}[id^=NotiflixBlockWrap]>span[class*="-icon"]{display:block;width:45px;height:45px;position:relative;margin:0 auto}[id^=NotiflixBlockWrap]>span[class*="-icon"] svg{width:inherit;height:inherit}[id^=NotiflixBlockWrap]>span[class*="-message"]{position:relative;display:block;width:100%;margin:10px auto 0;padding:0 10px;font-family:inherit!important;font-weight:normal;font-size:14px;line-height:1.4}[id^=NotiflixBlockWrap].nx-with-animation{-webkit-animation:block-animation-fade .3s ease-in-out 0s normal;animation:block-animation-fade .3s ease-in-out 0s normal}@-webkit-keyframes block-animation-fade{0%{opacity:0}100%{opacity:1}}@keyframes block-animation-fade{0%{opacity:0}100%{opacity:1}}[id^=NotiflixBlockWrap].nx-with-animation.nx-remove{opacity:0;-webkit-animation:block-animation-fade-remove .3s ease-in-out 0s normal;animation:block-animation-fade-remove .3s ease-in-out 0s normal}@-webkit-keyframes block-animation-fade-remove{0%{opacity:1}100%{opacity:0}}@keyframes block-animation-fade-remove{0%{opacity:1}100%{opacity:0}}'},k=0,E=function(n,h,x,E,C,_){var A;if(Array.isArray(x)){if(1>x.length)return c("Array of HTMLElements should contains at least one HTMLElement."),!1;A=x}else if(Object.prototype.isPrototypeOf.call(NodeList.prototype,x)){if(1>x.length)return c("NodeListOf<HTMLElement> should contains at least one HTMLElement."),!1;A=Array.prototype.slice.call(x)}else{if("string"!=typeof x||1>(x||"").length||1===(x||"").length&&("#"===(x||"")[0]||"."===(x||"")[0]))return c("The selector parameter must be a string and matches a specified CSS
1selector(s)."),!1;var T=e.document.querySelectorAll(x);if(1>T.length)return c('You called the "Notiflix.Block..." function with "'+x+'" selector, but there is no such element(s) in the document.'),!1;A=T}t||S.Block.init({});var D=f(!0,t,{});if("object"==typeof E&&!Array.isArray(E)||"object"==typeof C&&!Array.isArray(C)){var M={};"object"==typeof E?M=E:"object"==typeof C&&(M=C),t=f(!0,t,M)}var P="";"string"==typeof E&&0<E.length&&(P=E),t.cssAnimation||(t.cssAnimationDuration=0);var O=l.className;"string"==typeof t.className&&(O=t.className.trim());var R="number"==typeof t.querySelectorLimit?t.querySelectorLimit:200,I=(A||[]).length>=R?R:A.length,L="nx-block-temporary-position";if(n){for(var N,j=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr","html","head","title","script","style","iframe"],H=0;H<I;H++)if(N=A[H]){if(-1<j.indexOf(N.tagName.toLocaleLowerCase("en")))break;var $=N.querySelectorAll("[id^="+l.ID+"]");if(1>$.length){var z="";h&&(z=h===i?m(t.svgSize,t.svgColor):h===o?v(t.svgSize,t.svgColor):h===r?y(t.svgSize,t.svgColor):h===s?b(t.svgSize,t.svgColor):h===a?w(t.svgSize,t.svgColor):g(t.svgSize,t.svgColor));var B='<span class="'+O+'-icon" style="width:'+t.svgSize+";height:"+t.svgSize+';">'+z+"</span>",F="";0<P.length&&(P=P.length>t.messageMaxLength?p(P).substring(0,t.messageMaxLength)+"...":p(P),F='<span style="font-size:'+t.messageFontSize+";color:"+t.messageColor+';" class="'+O+'-message">'+P+"</span>"),k++;var V=e.document.createElement("div");
1V.id=l.ID+"-"+k,V.className=O+(t.cssAnimation?" nx-with-animation":""),V.style.position=t.position,V.style.zIndex=t.zindex,V.style.background=t.backgroundColor,V.style.animationDuration=t.cssAnimationDuration+"ms",V.style.fontFamily='"'+t.fontFamily+'", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif',V.style.display="flex",V.style.flexWrap="wrap",V.style.flexDirection="column",V.style.alignItems="center",V.style.justifyContent="center",t.rtl&&(V.setAttribute("dir","rtl"),V.classList.add("nx-rtl-on")),V.innerHTML=B+F;var U,W=e.getComputedStyle(N).getPropertyValue("position"),q="string"==typeof W?W.toLocaleLowerCase("en"):"relative",G=Math.round(1.25*parseInt(t.svgSize))+40,Y="";G>(N.offsetHeight||0)&&(Y="min-height:"+G+"px;"),U=N.getAttribute("id")?"#"+N.getAttribute("id"):N.classList[0]?"."+N.classList[0]:(N.tagName||"").toLocaleLowerCase("en");var Q="",X=-1>=["absolute","relative","fixed","sticky"].indexOf(q);if(X||0<Y.length){if(!u("head"))return!1;X&&(Q="position:relative!important;");var Z='<style id="Style-'+l.ID+"-"+k+'">'+U+"."+L+"{"+Q+Y+"}</style>",K=e.document.createRange();K.selectNode(e.document.head);var J=K.createContextualFragment(Z);e.document.head.appendChild(J),N.classList.add(L)}N.appendChild(V)}}}else var ee=function(n){var i=setTimeout((function(){null!==n.parentNode&&n.parentNode.removeChild(n);var t=n.getAttribute("id"),o=e.document.getElementById("Style-"+t);o&&null!==o.parentNode&&o.parentNode.removeChild(o),clearTimeout(i)}),t.cssAnimationDuration)},te=function(e){if(e&&0<e.length)for(var t,n=0;n<e.length;n++)(t=e[n])&&(t.classList.add("nx-remove"),ee(t));else d("string"==typeof x?'"Notiflix.Block.remove();" function called with "'+x+'" selector, but this selector does not have a "Block" element to remove.':'"Notiflix.Block.remove();" function called with "'+x+'", but this "Array<HTMLElement>" or "NodeListOf<HTMLElement>" does not have a "Block" element to remove.')},ne=function(e){var n=setTimeout((function(){e.classList.remove(L),clearTimeout(n)}),t.cssAnimationDuration+300)},ie=setTimeout((function(){for(var e,t=0;t<I;t++)(e=A[t])&&(ne(e),$=e.querySelectorAll("[id^="+l.ID+"]"),te($));clearTimeout(ie)}),_);t=f(!0,t,D)},S={Block:{init:function(e){t=f(!0,l,e),h(x,"NotiflixBlockInternalCSS")},merge:function(e){return t?void(t=f(!0,t,e)):(c('You have to initialize the "Notiflix.Block" module before call Merge function.'),!1)},standard:function(e,t,n){E(!0,"Standard",e,t,n)},hourglass:function(e,t,n){E(!0,i,e,t,n)},circle:function(e,t,n){E(!0,o,e,t,n)},arrows:function(e,t,n){E(!0,r,e,t,n)},dots:function(e,t,n){E(!0,s,e,t,n)},pulse:function(e,t,n){E(!0,a,e,t,n)},remove:function(e,t){"number"!=typeof t&&(t=0),E(!1,null,e,null,null,t)}}};return"object"==typeof e.Notiflix?f(!0,e.Notiflix,{Block:S.Block}):{Block:S.Block}})),function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof module&&module.exports?module.exports=function(t,n){return void 0===n&&(n="undefined"!=typeof window?require("jquery"):require("jquery")(t)),e(n),n}:e(jQuery)}((function(e){var t=function(){if(e&&e.fn&&e.fn.select2&&e.fn.select2.amd)var t=e.fn.select2.amd;var n;return function(){var e,n,i;t&&t.requirejs||(t?n=t:t={},function(t){var o,r,s,a,l={},c={},d={},u={},h=Object.prototype.hasOwnProperty,f=[].slice,p=/\.js$/;function g(e,t){return h.call(e,t)}function m(e,t){var n,i,o,r,s,a,l,c,u,h,f,g=t&&t.split("/"),m=d.map,v=m&&m["*"]||{};if(e){for(s=(e=e.split("/")).length-1,d.nodeIdCompat&&p.test(e[s])&&(e[s]=e[s].replace(p,"")),"."===e[0].charAt(0)&&g&&(e=g.slice(0,g.length-1).concat(e)),u=0;u<e.length;u++)if("."===(f=e[u]))e.splice(u,1),u-=1;else if(".."===f){if(0===u||1===u&&".."===e[2]||".."===e[u-1])continue;u>0&&(e.splice(u-1,2),u-=2)}e=e.join("/")}if((g||v)&&m){for(u=(n=e.split("/")).length;u>0;u-=1){if(i=n.slice(0,u).join("/"),g)for(h=g.length;h>0;h-=1)if((o=m[g.slice(0,h).join("/")])&&(o=o[i])){r=o,a=u;break}if(r)break;!l&&v&&v[i]&&(l=v[i],c=u)}!r&&l&&(r=l,a=c),r&&(n.splice(0,a,r),e=n.join("/"))}return e}function v(e,n){return function(){var i=f.call(arguments,0);return"string"!=typeof i[0]&&1===i.length&&i.push(null),r.apply(t,i.concat([e,n]))}}function y(e){return function(t){l[e]=t}}function b(e){if(g(c,e)){var n=c[e];delete c[e],u[e]=!0,o.apply(t,n)}if(!g(l,e)&&!g(u,e))throw new Error("No "+e);return l[e]}function w(e){var t,n=e?e.indexOf("!"):-1;return n>-1&&(t=e.substring(0,n),e=e.substring(n+1,e.length)),[t,e]}function x(e){return e?w(e):[]}function k(e){return function(){return d&&d.config&&d.config[e]||{}}}s=function(e,t){var n,i,o=w(e),r=o[0],s=t[1];return e=o[1],r&&(n=b(r=m(r,s))),r?e=n&&n.normalize?n.normalize(e,(i=s,function(e){return m(e,i)})):m(e,s):(r=(o=w(e=m(e,s)))[0],e=o[1],r&&(n=b(r))),{f:r?r+"!"+e:e,n:e,pr:r,p:n}},a={require:function(e){return v(e)},exports:function(e){var t=l[e];return void 0!==t?t:l[e]={}},module:function(e){return{id:e,uri:"",exports:l[e],config:k(e)}}},o=function(e,n,i,o){var r,d,h,f,p,m,w,k=[],E=typeof i;if(m=x(o=o||e),"undefined"===E||"function"===E){for(n=!n.length&&i.length?["require","exports","module"]:n,p=0;p<n.length;p+=1)if("require"===(d=(f=s(n[p],m)).f))k[p]=a.require(e);else if("exports"===d)k[p]=a.exports(e),w=!0;else if("module"===d)r=k[p]=a.module(e);else if(g(l,d)||g(c,d)||g(u,d))k[p]=b(d);else{if(!f.p)throw new Error(e+" missing "+d);f.p.load(f.n,v(o,!0),y(d),{}),k[p]=l[d]}h=i?i.apply(l[e],k):void 0,e&&(r&&r.exports!==t&&r.exports!==l[e]?l[e]=r.exports:h===t&&w||(l[e]=h))}else e&&(l[e]=i)},e=n=r=function(e,n,i,l,c){if("string"==typeof e)return a[e]?a[e](n):b(s(e,x(n)).f);if(!e.splice){if((d=e).deps&&r(d.deps,d.callback),!n)return;
1n.splice?(e=n,n=i,i=null):e=t}return n=n||function(){},"function"==typeof i&&(i=l,l=c),l?o(t,e,n,i):setTimeout((function(){o(t,e,n,i)}),4),r},r.config=function(e){return r(e)},e._defined=l,(i=function(e,t,n){if("string"!=typeof e)throw new Error("See almond README: incorrect module build, no module name");t.splice||(n=t,t=[]),g(l,e)||g(c,e)||(c[e]=[e,t,n])}).amd={jQuery:!0}}(),t.requirejs=e,t.require=n,t.define=i)}(),t.define("almond",(function(){})),t.define("jquery",[],(function(){var t=e||$;return null==t&&console&&console.error&&console.error("Select2: An instance of jQuery or a jQuery-compatible library was not found. Make sure that you are including jQuery before Select2 on your web page."),t})),t.define("select2/utils",["jquery"],(function(e){var t={};function n(e){var t=e.prototype,n=[];for(var i in t)"function"==typeof t[i]&&"constructor"!==i&&n.push(i);return n}t.Extend=function(e,t){var n={}.hasOwnProperty;function i(){this.constructor=e}for(var o in t)n.call(t,o)&&(e[o]=t[o]);return i.prototype=t.prototype,e.prototype=new i,e.__super__=t.prototype,e},t.Decorate=function(e,t){var i=n(t),o=n(e);function r(){var n=Array.prototype.unshift,i=t.prototype.constructor.length,o=e.prototype.constructor;i>0&&(n.call(arguments,e.prototype.constructor),o=t.prototype.constructor),o.apply(this,arguments)}t.displayName=e.displayName,r.prototype=new function(){this.constructor=r};for(var s=0;s<o.length;s++){var a=o[s];r.prototype[a]=e.prototype[a]}for(var l=function(e){var n=function(){};e in r.prototype&&(n=r.prototype[e]);var i=t.prototype[e];return function(){return Array.prototype.unshift.call(arguments,n),i.apply(this,arguments)}},c=0;c<i.length;c++){var d=i[c];r.prototype[d]=l(d)}return r};var i=function(){this.listeners={}};i.prototype.on=function(e,t){this.listeners=this.listeners||{},e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t]},i.prototype.trigger=function(e){var t=Array.prototype.slice,n=t.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=e,e in this.listeners&&this.invoke(this.listeners[e],t.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},i.prototype.invoke=function(e,t){for(var n=0,i=e.length;n<i;n++)e[n].apply(this,t)},t.Observable=i,t.generateChars=function(e){for(var t="",n=0;n<e;n++)t+=Math.floor(36*Math.random()).toString(36);return t},t.bind=function(e,t){return function(){e.apply(t,arguments)}},t._convertData=function(e){for(var t in e){var n=t.split("-"),i=e;if(1!==n.length){for(var o=0;o<n.length;o++){var r=n[o];(r=r.substring(0,1).toLowerCase()+r.substring(1))in i||(i[r]={}),o==n.length-1&&(i[r]=e[t]),i=i[r]}delete e[t]}}return e},t.hasScroll=function(t,n){var i=e(n),o=n.style.overflowX,r=n.style.overflowY;return(o!==r||"hidden"!==r&&"visible"!==r)&&("scroll"===o||"scroll"===r||i.innerHeight()<n.scrollHeight||i.innerWidth()<n.scrollWidth)},t.escapeMarkup=function(e){var t={"\\":"\","&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};return"string"!=typeof e?e:String(e).replace(/[&<>"'\/\\]/g,(function(e){return t[e]}))},t.__cache={};var o=0;return t.GetUniqueElementId=function(e){var n=e.getAttribute("data-select2-id");return null!=n||(n=e.id?"select2-data-"+e.id:"select2-data-"+(++o).toString()+"-"+t.generateChars(4),e.setAttribute("data-select2-id",n)),n},t.StoreData=function(e,n,i){var o=t.GetUniqueElementId(e);t.__cache[o]||(t.__cache[o]={}),t.__cache[o][n]=i},t.GetData=function(n,i){var o=t.GetUniqueElementId(n);return i?t.__cache[o]&&null!=t.__cache[o][i]?t.__cache[o][i]:e(n).data(i):t.__cache[o]},t.RemoveData=function(e){var n=t.GetUniqueElementId(e);null!=t.__cache[n]&&delete t.__cache[n],e.removeAttribute("data-select2-id")},t.copyNonInternalCssClasses=function(e,t){var n=e.getAttribute("class").trim().split(/\s+/);n=n.filter((function(e){return 0===e.indexOf("select2-")}));var i=t.getAttribute("class").trim().split(/\s+/);i=i.filter((function(e){return 0!==e.indexOf("select2-")}));var o=n.concat(i);e.setAttribute("class",o.join(" "))},t})),t.define("select2/results",["jquery","./utils"],(function(e,t){function n(e,t,i){this.$element=e,this.data=i,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&t.attr("aria-multiselectable","true"),this.$results=t,t},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(t){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var i=e('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),o=this.options.get("translations").get(t.message);i.append(n(o(t.args))),i[0].className+=" select2-results__message",this.$results.append(i)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(e){this.hideLoading();var t=[];if(null!=e.results&&0!==e.results.length){e.results=this.sort(e.results);for(var n=0;n<e.results.length;n++){var i=e.results[n],o=this.option(i);t.push(o)}this.$results.append(t)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(e,t){t.find(".select2-results").append(e)},n.prototype.sort=function(e){return this.options.get("sorter")(e)},n.prototype.highlightFirstItem=function(){var e=this.$results.find(".select2-results__option--selectable"),t=e.filter(".select2-results__option--selected");t.length>0?t.first().trigger("mouseenter"):e.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(i){var o=i.map((function(e){return e.id.toString()}));n.$results.find(".select2-results__option--selectable").each((function(){var n=e(this),i=t.GetData(this,"data"),r=""+i.id;null!=i.element&&i.element.selected||null==i.element&&o.indexOf(r)>-1?(this.classList.add("select2-results__option--selected"),n.attr("aria-selected","true")):(this.classList.remove("select2-results__option--selected"),n.attr("aria-selected","false"))}))}))},n.prototype.showLoading=function(e){this.hideLoading();var t={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(e)},n=this.option(t);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var i=document.createElement("li");i.classList.add("select2-results__option"),i.classList.add("select2-results__option--selectable");var o={role:"option"},r=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in(null!=n.element&&r.call(n.element,":disabled")||null==n.element&&n.disabled)&&(o["aria-disabled"]="true",i.classList.remove("select2-results__option--selectable"),i.classList.add("select2-results__option--disabled")),null==n.id&&i.classList.remove("select2-results__option--selectable"),null!=n._resultId&&(i.id=n._resultId),n.title&&(i.title=n.title),n.children&&(o.role="group",o["aria-label"]=n.text,i.classList.remove("select2-results__option--selectable"),i.classList.add("select2-results__option--group")),o){var a=o[s];i.setAttribute(s,a)}if(n.children){var l=e(i),c=document.createElement("strong");c.className="select2-results__group",this.template(n,c);for(var d=[],u=0;u<n.children.length;u++){var h=n.children[u],f=this.option(h);d.push(f)}var p=e("<ul></ul>",{class:"select2-results__options select2-results__options--nested",role:"none"});p.append(d),l.append(c),l.append(p)}else this.template(n,i);return t.StoreData(i,"data",n),i},n.prototype.bind=function(n,i){var o=this,r=n.id+"-results";this.$results.attr("id",r),n.on("results:all",(function(e){o.clear(),o.append(e.data),n.isOpen()&&(o.setClasses(),o.highlightFirstItem())})),n.on("results:append",(function(e){o.append(e.data),n.isOpen()&&o.setClasses()})),n.on("query",(function(e){o.hideMessages(),o.showLoading(e)}
1)),n.on("select",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(o.setClasses(),o.options.get("scrollAfterSelect")&&o.highlightFirstItem())})),n.on("open",(function(){o.$results.attr("aria-expanded","true"),o.$results.attr("aria-hidden","false"),o.setClasses(),o.ensureHighlightVisible()})),n.on("close",(function(){o.$results.attr("aria-expanded","false"),o.$results.attr("aria-hidden","true"),o.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var e=o.getHighlightedResults();0!==e.length&&e.trigger("mouseup")})),n.on("results:select",(function(){var e=o.getHighlightedResults();if(0!==e.length){var n=t.GetData(e[0],"data");e.hasClass("select2-results__option--selected")?o.trigger("close",{}):o.trigger("select",{data:n})}})),n.on("results:previous",(function(){var e=o.getHighlightedResults(),t=o.$results.find(".select2-results__option--selectable"),n=t.index(e);if(!(n<=0)){var i=n-1;0===e.length&&(i=0);var r=t.eq(i);r.trigger("mouseenter");var s=o.$results.offset().top,a=r.offset().top,l=o.$results.scrollTop()+(a-s);0===i?o.$results.scrollTop(0):a-s<0&&o.$results.scrollTop(l)}})),n.on("results:next",(function(){var e=o.getHighlightedResults(),t=o.$results.find(".select2-results__option--selectable"),n=t.index(e)+1;if(!(n>=t.length)){var i=t.eq(n);i.trigger("mouseenter");var r=o.$results.offset().top+o.$results.outerHeight(!1),s=i.offset().top+i.outerHeight(!1),a=o.$results.scrollTop()+s-r;0===n?o.$results.scrollTop(0):s>r&&o.$results.scrollTop(a)}})),n.on("results:focus",(function(e){e.element[0].classList.add("select2-results__option--highlighted"),e.element[0].setAttribute("aria-selected","true")})),n.on("results:message",(function(e){o.displayMessage(e)})),e.fn.mousewheel&&this.$results.on("mousewheel",(function(e){var t=o.$results.scrollTop(),n=o.$results.get(0).scrollHeight-t+e.deltaY,i=e.deltaY>0&&t-e.deltaY<=0,r=e.deltaY<0&&n<=o.$results.height();i?(o.$results.scrollTop(0),e.preventDefault(),e.stopPropagation()):r&&(o.$results.scrollTop(o.$results.get(0).scrollHeight-o.$results.height()),e.preventDefault(),e.stopPropagation())})),this.$results.on("mouseup",".select2-results__option--selectable",(function(n){var i=e(this),r=t.GetData(this,"data");i.hasClass("select2-results__option--selected")?o.options.get("multiple")?o.trigger("unselect",{originalEvent:n,data:r}):o.trigger("close",{}):o.trigger("select",{originalEvent:n,data:r})})),this.$results.on("mouseenter",".select2-results__option--selectable",(function(n){var i=t.GetData(this,"data");o.getHighlightedResults().removeClass("select2-results__option--highlighted").attr("aria-selected","false"),o.trigger("results:focus",{data:i,element:e(this)})}))},n.prototype.getHighlightedResults=function(){return this.$results.find(".select2-results__option--highlighted")},n.prototype.destroy=function(){this.$results.remove()},n.prototype.ensureHighlightVisible=function(){var e=this.getHighlightedResults();if(0!==e.length){var t=this.$results.find(".select2-results__option--selectable").index(e),n=this.$results.offset().top,i=e.offset().top,o=this.$results.scrollTop()+(i-n),r=i-n;o-=2*e.outerHeight(!1),t<=2?this.$results.scrollTop(0):(r>this.$results.outerHeight()||r<0)&&this.$results.scrollTop(o)}},n.prototype.template=function(t,n){var i=this.options.get("templateResult"),o=this.options.get("escapeMarkup"),r=i(t,n);null==r?n.style.display="none":"string"==typeof r?n.innerHTML=o(r):e(n).append(r)},n})),t.define("select2/keys",[],(function(){return{BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,PAGE_UP:33,PAGE_DOWN:34,END:35,HOME:36,LEFT:37,UP:38,RIGHT:39,DOWN:40,DELETE:46}})),t.define("select2/selection/base",["jquery","../utils","../keys"],(function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,t.Observable),i.prototype.render=function(){var n=e('<span class="select2-selection" role="combobox" aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=t.GetData(this.$element[0],"old-tabindex")?this._tabindex=t.GetData(this.$element[0],"old-tabindex"):null!=this.$element.attr("tabindex")&&(this._tabindex=this.$element.attr("tabindex")),n.attr("title",this.$element.attr("title")),n.attr("tabindex",this._tabindex),n.attr("aria-disabled","false"),this.$selection=n,n},i.prototype.bind=function(e,t){var i=this,o=e.id+"-results";this.container=e,this.$selection.on("focus",(function(e){i.trigger("focus",e)})),this.$selection.on("blur",(function(e){i._handleBlur(e)})),this.$selection.on("keydown",(function(e){i.trigger("keypress",e),e.which===n.SPACE&&e.preventDefault()})),e.on("results:focus",(function(e){i.$selection.attr("aria-activedescendant",e.data._resultId)})),e.on("selection:update",(function(e){i.update(e.data)})),e.on("open",(function(){i.$selection.attr("aria-expanded","true"),i.$selection.attr("aria-owns",o),i._attachCloseHandler(e)})),e.on("close",(function(){i.$selection.attr("aria-expanded","fal
1se"),i.$selection.removeAttr("aria-activedescendant"),i.$selection.removeAttr("aria-owns"),i.$selection.trigger("focus"),i._detachCloseHandler(e)})),e.on("enable",(function(){i.$selection.attr("tabindex",i._tabindex),i.$selection.attr("aria-disabled","false")})),e.on("disable",(function(){i.$selection.attr("tabindex","-1"),i.$selection.attr("aria-disabled","true")}))},i.prototype._handleBlur=function(t){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||e.contains(n.$selection[0],document.activeElement)||n.trigger("blur",t)}),1)},i.prototype._attachCloseHandler=function(n){e(document.body).on("mousedown.select2."+n.id,(function(n){var i=e(n.target).closest(".select2");e(".select2.select2-container--open").each((function(){this!=i[0]&&t.GetData(this,"element").select2("close")}))}))},i.prototype._detachCloseHandler=function(t){e(document.body).off("mousedown.select2."+t.id)},i.prototype.position=function(e,t){t.find(".selection").append(e)},i.prototype.destroy=function(){this._detachCloseHandler(this.container)},i.prototype.update=function(e){throw new Error("The `update` method must be defined in child classes.")},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i})),t.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(e,t,n,i){function o(){o.__super__.constructor.apply(this,arguments)}return n.Extend(o,t),o.prototype.render=function(){var e=o.__super__.render.call(this);return e[0].classList.add("select2-selection--single"),e.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),e},o.prototype.bind=function(e,t){var n=this;o.__super__.bind.apply(this,arguments);var i=e.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",i).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",i),this.$selection.attr("aria-controls",i),this.$selection.on("mousedown",(function(e){1===e.which&&n.trigger("toggle",{originalEvent:e})})),this.$selection.on("focus",(function(e){})),this.$selection.on("blur",(function(e){})),e.on("focus",(function(t){e.isOpen()||n.$selection.trigger("focus")}))},o.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},o.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},o.prototype.selectionContainer=function(){return e("<span></span>")},o.prototype.update=function(e){if(0!==e.length){var t=e[0],n=this.$selection.find(".select2-selection__rendered"),i=this.display(t,n);n.empty().append(i);var o=t.title||t.text;o?n.attr("title",o):n.removeAttr("title")}else this.clear()},o})),t.define("select2/selection/multiple",["jquery","./base","../utils"],(function(e,t,n){function i(e,t){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,t),i.prototype.render=function(){var e=i.__super__.render.call(this);return e[0].classList.add("select2-selection--multiple"),e.html('<ul class="select2-selection__rendered"></ul>'),e},i.prototype.bind=function(t,o){var r=this;i.__super__.bind.apply(this,arguments);var s=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",s),this.$selection.on("click",(function(e){r.trigger("toggle",{originalEvent:e})})),this.$selection.on("click",".select2-selection__choice__remove",(function(t){if(!r.isDisabled()){var i=e(this).parent(),o=n.GetData(i[0],"data");r.trigger("unselect",{originalEvent:t,data:o})}})),this.$selection.on("keydown",".select2-selection__choice__remove",(function(e){r.isDisabled()||e.stopPropagation()}))},i.prototype.clear=function(){var e=this.$selection.find(".select2-selection__rendered");e.empty(),e.removeAttr("title")},i.prototype.display=function(e,t){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(e,t))},i.prototype.selectionContainer=function(){return e('<li class="select2-selection__choice"><button type="button" class="select2-selection__choice__remove" tabindex="-1"><span aria-hidden="true">×</span></button><span class="select2-selection__choice__display"></span></li>')},i.prototype.update=function(e){if(this.clear(),0!==e.length){for(var t=[],i=this.$selection.find(".select2-selection__rendered").attr("id")+"-choice-",o=0;o<e.length;o++){var r=e[o],s=this.selectionContainer(),a=this.display(r,s),l=i+n.generateChars(4)+"-";r.id?l+=r.id:l+=n.generateChars(4),s.find(".select2-selection__choice__display").append(a).attr("id",l);var c=r.title||r.text;c&&s.attr("title",c);var d=this.options.get("translations").get("removeItem"),u=s.find(".select2-selection__choice__remove");u.attr("title",d()),u.attr("aria-label",d()),u.attr("aria-describedby",l),n.StoreData(s[0],"data",r),t.pu
1sh(s)}this.$selection.find(".select2-selection__rendered").append(t)}},i})),t.define("select2/selection/placeholder",[],(function(){function e(e,t,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n)}return e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.createPlaceholder=function(e,t){var n=this.selectionContainer();n.html(this.display(t)),n[0].classList.add("select2-selection__placeholder"),n[0].classList.remove("select2-selection__choice");var i=t.title||t.text||n.text();return this.$selection.find(".select2-selection__rendered").attr("title",i),n},e.prototype.update=function(e,t){var n=1==t.length&&t[0].id!=this.placeholder.id;if(t.length>1||n)return e.call(this,t);this.clear();var i=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(i)},e})),t.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(e,t,n){function i(){}return i.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),null==this.placeholder&&this.options.get("debug")&&window.console&&console.error&&console.error("Select2: The `allowClear` option should be used in combination with the `placeholder` option."),this.$selection.on("mousedown",".select2-selection__clear",(function(e){i._handleClear(e)})),t.on("keypress",(function(e){i._handleKeyboardClear(e,t)}))},i.prototype._handleClear=function(e,t){if(!this.isDisabled()){var i=this.$selection.find(".select2-selection__clear");if(0!==i.length){t.stopPropagation();var o=n.GetData(i[0],"data"),r=this.$element.val();this.$element.val(this.placeholder.id);var s={data:o};if(this.trigger("clear",s),s.prevented)this.$element.val(r);else{for(var a=0;a<o.length;a++)if(s={data:o[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(r);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},i.prototype._handleKeyboardClear=function(e,n,i){i.isOpen()||n.which!=t.DELETE&&n.which!=t.BACKSPACE||this._handleClear(n)},i.prototype.update=function(t,i){if(t.call(this,i),this.$selection.find(".select2-selection__clear").remove(),this.$selection[0].classList.remove("select2-selection--clearable"),!(this.$selection.find(".select2-selection__placeholder").length>0||0===i.length)){var o=this.$selection.find(".select2-selection__rendered").attr("id"),r=this.options.get("translations").get("removeAllItems"),s=e('<button type="button" class="select2-selection__clear" tabindex="-1"><span aria-hidden="true">×</span></button>');s.attr("title",r()),s.attr("aria-label",r()),s.attr("aria-describedby",o),n.StoreData(s[0],"data",i),this.$selection.prepend(s),this.$selection[0].classList.add("select2-selection--clearable")}},i})),t.define("select2/selection/search",["jquery","../utils","../keys"],(function(e,t,n){function i(e,t,n){e.call(this,t,n)}return i.prototype.render=function(t){var n=this.options.get("translations").get("search"),i=e('<span class="select2-search select2-search--inline"><textarea class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" ></textarea></span>');this.$searchContainer=i,this.$search=i.find("textarea"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",n());var o=t.call(this);return this._transferTabIndex(),o.append(this.$searchContainer),o},i.prototype.bind=function(e,i,o){var r=this,s=i.id+"-results",a=i.id+"-container";e.call(this,i,o),r.$search.attr("aria-describedby",a),i.on("open",(function(){r.$search.attr("aria-controls",s),r.$search.trigger("focus")})),i.on("close",(function(){r.$search.val(""),r.resizeSearch(),r.$search.removeAttr("aria-controls"),r.$search.removeAttr("aria-activedescendant"),r.$search.trigger("focus")})),i.on("enable",(function(){r.$search.prop("disabled",!1),r._transferTabIndex()})),i.on("disable",(function(){r.$search.prop("disabled",!0)})),i.on("focus",(function(e){r.$search.trigger("focus")})),i.on("results:focus",(function(e){e.data._resultId?r.$search.attr("aria-activedescendant",e.data._resultId):r.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(e){r.trigger("focus",e)})),this.$selection.on("focusout",".select2-search--inline",(function(e){r._handleBlur(e)})),this.$selection.on("keydown",".select2-search--inline",(function(e){if(e.stopPropagation(),r.trigger("keypress",e),r._keyUpPrevented=e.isDefaultPrevented(),e.which===n.BACKSPACE&&""===r.$search.val()){var i=r.$selection.find(".select2-selection__choice").last();if(i.length>0){var o=t.GetData(i[0],"data");r.searchRemoveChoice(o),e.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(e){r.$search.val()&&e.stopPropagation()}));var l=document.documentMode,c=l&&l<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(e){c?r.$selection.off("input.search input.searchcheck"):r.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(e){if(c&&"input"===e.type)r.$selection.off("input.search input.searchcheck");else{var t=e.which;t!=n.SHIFT&&t!=n.CTRL&&t!=n.ALT&&t!=n.TAB&&r.handleSearch(e)}}))},i.prototype._transferTabIndex=function(e){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},i.prototype.createPlaceholder=function(e,t){this.$search.attr("placeholder",t.text)},i.prototype.update=function(e,t){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),e.call(this,t),this.resizeSearch(),n&&this.$search.trigger("focus")},i.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},i.prototype.searchRemoveChoice=function(e,t){this.trigger("unselect",{data:t}),this.$search.val(t.text),this.handleSearch()},i.prototype.resizeSearch=function(){this.$search.css("width","25px");var e="100%";""===this.$search.attr("placeholder")&&(e=.75*(this.$search.val().length+1)+"em"),this.$search.css("width",e)},i})),t.define("select2/selection/selectionCss",["../utils"],(function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),i=this.options.get("selectionCssClass")||"";return-1!==i.indexOf(":all:")&&(i=i.replace(":all:",""),e.copyNonInternalCssClasse
1s(n[0],this.$element[0])),n.addClass(i),n},t})),t.define("select2/selection/eventRelay",["jquery"],(function(e){function t(){}return t.prototype.bind=function(t,n,i){var o=this,r=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];t.call(this,n,i),n.on("*",(function(t,n){if(-1!==r.indexOf(t)){n=n||{};var i=e.Event("select2:"+t,{params:n});o.$element.trigger(i),-1!==s.indexOf(t)&&(n.prevented=i.isDefaultPrevented())}}))},t})),t.define("select2/translation",["jquery","require"],(function(e,t){function n(e){this.dict=e||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(e){return this.dict[e]},n.prototype.extend=function(t){this.dict=e.extend({},t.all(),this.dict)},n._cache={},n.loadPath=function(e){if(!(e in n._cache)){var i=t(e);n._cache[e]=i}return new n(n._cache[e])},n})),t.define("select2/diacritics",[],(function(){return{"â¶":"A","A":"A","Ã":"A","Ã":"A","Ã":"A","Ầ":"A","Ấ":"A","Ẫ":"A","Ẩ":"A","Ã":"A","Ä":"A","Ä":"A","Ằ":"A","Ắ":"A","Ẵ":"A","Ẳ":"A","Ȧ":"A","Ç ":"A","Ã":"A","Ç":"A","Ả":"A","Ã
":"A","Ǻ":"A","Ç":"A","È":"A","È":"A","Ạ":"A","Ậ":"A","Ặ":"A","á¸":"A","Ä":"A","Ⱥ":"A","Ɐ":"A","ê²":"AA","Ã":"AE","Ǽ":"AE","Ç¢":"AE","ê´":"AO","ê¶":"AU","ê¸":"AV","êº":"AV","ê¼":"AY","â·":"B","ï¼¢":"B","á¸":"B","á¸":"B","á¸":"B","É":"B","Æ":"B","Æ":"B","â¸":"C","ï¼£":"C","Ä":"C","Ä":"C","Ä":"C","Ä":"C","Ã":"C","á¸":"C","Æ":"C","È»":"C","ê¾":"C","â¹":"D","D":"D","á¸":"D","Ä":"D","á¸":"D","á¸":"D","á¸":"D","á¸":"D","Ä":"D","Æ":"D","Æ":"D","Æ":"D","ê¹":"D","DZ":"DZ","Ç":"DZ","Dz":"Dz","Ç
":"Dz","âº":"E","ï¼¥":"E","Ã":"E","Ã":"E","Ã":"E","á»":"E","Ế":"E","á»":"E","á»":"E","Ẽ":"E","Ä":"E","á¸":"E","á¸":"E","Ä":"E","Ä":"E","Ã":"E","Ẻ":"E","Ä":"E","È":"E","È":"E","Ẹ":"E","á»":"E","Ȩ":"E","á¸":"E","Ä":"E","á¸":"E","á¸":"E","Æ":"E","Æ":"E","â»":"F","F":"F","á¸":"F","Æ":"F","ê»":"F","â¼":"G","ï¼§":"G","Ç´":"G","Ä":"G","Ḡ":"G","Ä":"G","Ä ":"G","Ǧ":"G","Ä¢":"G","Ǥ":"G","Æ":"G","ê ":"G","ê½":"G","ê¾":"G","â½":"H","H":"H","Ĥ":"H","Ḣ":"H","Ḧ":"H","È":"H","Ḥ":"H","Ḩ":"H","Ḫ":"H","Ħ":"H","â±§":"H","â±µ":"H","ê":"H","â¾":"I","I":"I","Ã":"I","Ã":"I","Ã":"I","Ĩ":"I","Ī":"I","Ĭ":"I","İ":"I","Ã":"I","Ḯ":"I","á»":"I","Ç":"I","È":"I","È":"I","á»":"I","Ä®":"I","Ḭ":"I","Æ":"I","â¿":"J","J":"J","Ä´":"J","É":"J","â":"K","K":"K","Ḱ":"K","Ǩ":"K","Ḳ":"K","Ķ":"K","Ḵ":"K","Æ":"K","Ⱪ":"K","ê":"K","ê":"K","ê":"K","ê¢":"K","â":"L","L":"L","Ä¿":"L","Ĺ":"L","Ľ":"L","Ḷ":"L","Ḹ":"L","Ä»":"L","Ḽ":"L","Ḻ":"L","Å":"L","Ƚ":"L","â±¢":"L","â± ":"L","ê":"L","ê":"L","ê":"L","Ç":"LJ","Ç":"Lj","â":"M","ï¼":"M","Ḿ":"M","á¹":"M","á¹":"M","â±®":"M","Æ":"M","â":"N","ï¼®":"N","Ǹ":"N","Å":"N","Ã":"N","á¹":"N","Å":"N","á¹":"N","Å
":"N","á¹":"N","á¹":"N","È ":"N","Æ":"N","ê":"N","ê¤":"N","Ç":"NJ","Ç":"Nj","â":"O","O":"O","Ã":"O","Ã":"O","Ã":"O","á»":"O","á»":"O","á»":"O","á»":"O","Ã":"O","á¹":"O","Ȭ":"O","á¹":"O","Å":"O","á¹":"O","á¹":"O","Å":"O","È®":"O","Ȱ":"O","Ã":"O","Ȫ":"O","á»":"O","Å":"O","Ç":"O","È":"O","È":"O","Æ ":"O","á»":"O","á»":"O","á» ":"O","á»":"O","Ợ":"O","á»":"O","á»":"O","Ǫ":"O","Ǭ":"O","Ã":"O","Ǿ":"O","Æ":"O","Æ":"O","ê":"O","ê":"O","Å":"OE","Æ¢":"OI","ê":"OO","È¢":"OU","â
":"P","ï¼°":"P","á¹":"P","á¹":"P","Ƥ":"P","â±£":"P","ê":"P","ê":"P","ê":"P","â":"Q","ï¼±":"Q","ê":"Q","ê":"Q","É":"Q","â":"R","ï¼²":"R","Å":"R","á¹":"R","Å":"R","È":"R","È":"R","á¹":"R","á¹":"R","Å":"R","á¹":"R","É":"R","Ɽ":"R","ê":"R","ê¦":"R","ê":"R","â":"S","ï¼³":"S","áº":"S","Å":"S","Ṥ":"S","Å":"S","á¹ ":"S","Å ":"S","Ṧ":"S","á¹¢":"S","Ṩ":"S","È":"S","Å":"S","â±¾":"S","ê¨":"S","ê":"S","â":"T","ï¼´":"T","Ṫ":"T","Ť":"T","Ṭ":"T","È":"T","Å¢":"T","á¹°":"T","á¹®":"T","Ŧ":"T","Ƭ":"T","Æ®":"T","Ⱦ":"T","ê":"T","ê¨":"TZ","â":"U","ï¼µ":"U","Ã":"U","Ã":"U","Ã":"U","Ũ":"U","Ṹ":"U","Ū":"U","Ṻ":"U","Ŭ":"U","Ã":"U","Ç":"U","Ç":"U","Ç":"U","Ç":"U","Ủ":"U","Å®":"U","Ű":"U","Ç":"U","È":"U","È":"U","Ư":"U","Ừ":"U","Ứ":"U","á»®":"U","Ử":"U","á»°":"U","Ụ":"U","á¹²":"U","Ų":"U","á¹¶":"U","á¹´":"U","É":"U","â":"V","ï¼¶":"V","á¹¼":"V","á¹¾":"V","Ʋ":"
1V","ê":"V","É
":"V","ê ":"VY","â":"W","ï¼·":"W","áº":"W","áº":"W","Å´":"W","áº":"W","áº":"W","áº":"W","â±²":"W","â":"X","X":"X","áº":"X","áº":"X","â":"Y","ï¼¹":"Y","Ỳ":"Y","Ã":"Y","Ŷ":"Y","Ỹ":"Y","Ȳ":"Y","áº":"Y","Ÿ":"Y","á»¶":"Y","á»´":"Y","Ƴ":"Y","É":"Y","Ỿ":"Y","â":"Z","Z":"Z","Ź":"Z","áº":"Z","Å»":"Z","Ž":"Z","áº":"Z","áº":"Z","Ƶ":"Z","Ȥ":"Z","Ɀ":"Z","Ⱬ":"Z","ê¢":"Z","â":"a","ï½":"a","áº":"a","à ":"a","á":"a","â":"a","ầ":"a","ấ":"a","ẫ":"a","ẩ":"a","ã":"a","Ä":"a","Ä":"a","ằ":"a","ắ":"a","ẵ":"a","ẳ":"a","ȧ":"a","Ç¡":"a","ä":"a","Ç":"a","ả":"a","Ã¥":"a","Ç»":"a","Ç":"a","È":"a","È":"a","ạ":"a","áº":"a","ặ":"a","á¸":"a","Ä
":"a","â±¥":"a","É":"a","ê³":"aa","æ":"ae","ǽ":"ae","Ç£":"ae","êµ":"ao","ê·":"au","ê¹":"av","ê»":"av","ê½":"ay","â":"b","ï½":"b","á¸":"b","á¸
":"b","á¸":"b","Æ":"b","Æ":"b","É":"b","â":"c","ï½":"c","Ä":"c","Ä":"c","Ä":"c","Ä":"c","ç":"c","á¸":"c","Æ":"c","ȼ":"c","ê¿":"c","â":"c","â":"d","ï½":"d","á¸":"d","Ä":"d","á¸":"d","á¸":"d","á¸":"d","á¸":"d","Ä":"d","Æ":"d","É":"d","É":"d","êº":"d","dz":"dz","Ç":"dz","â":"e","ï½
":"e","è":"e","é":"e","ê":"e","á»":"e","ế":"e","á»
":"e","á»":"e","ẽ":"e","Ä":"e","á¸":"e","á¸":"e","Ä":"e","Ä":"e","ë":"e","ẻ":"e","Ä":"e","È
":"e","È":"e","ẹ":"e","á»":"e","È©":"e","á¸":"e","Ä":"e","á¸":"e","á¸":"e","É":"e","É":"e","Ç":"e","â":"f","ï½":"f","á¸":"f","Æ":"f","ê¼":"f","â":"g","ï½":"g","ǵ":"g","Ä":"g","ḡ":"g","Ä":"g","Ä¡":"g","ǧ":"g","Ä£":"g","Ç¥":"g","É ":"g","ê¡":"g","áµ¹":"g","ê¿":"g","â":"h","ï½":"h","Ä¥":"h","ḣ":"h","ḧ":"h","È":"h","ḥ":"h","ḩ":"h","ḫ":"h","áº":"h","ħ":"h","ⱨ":"h","â±¶":"h","É¥":"h","Æ":"hv","â":"i","ï½":"i","ì":"i","Ã":"i","î":"i","Ä©":"i","Ä«":"i","Ä":"i","ï":"i","ḯ":"i","á»":"i","Ç":"i","È":"i","È":"i","á»":"i","į":"i","á¸":"i","ɨ":"i","ı":"i","â":"j","ï½":"j","ĵ":"j","ǰ":"j","É":"j","â":"k","ï½":"k","ḱ":"k","Ç©":"k","ḳ":"k","Ä·":"k","ḵ":"k","Æ":"k","ⱪ":"k","ê":"k","ê":"k","ê
":"k","ê£":"k","â":"l","ï½":"l","Å":"l","ĺ":"l","ľ":"l","ḷ":"l","ḹ":"l","ļ":"l","ḽ":"l","ḻ":"l","Å¿":"l","Å":"l","Æ":"l","É«":"l","ⱡ":"l","ê":"l","ê":"l","ê":"l","Ç":"lj","â":"m","ï½":"m","ḿ":"m","á¹":"m","á¹":"m","ɱ":"m","ɯ":"m","â":"n","ï½":"n","ǹ":"n","Å":"n","ñ":"n","á¹
":"n","Å":"n","á¹":"n","Å":"n","á¹":"n","á¹":"n","Æ":"n","ɲ":"n","Å":"n","ê":"n","ê¥":"n","Ç":"nj","â":"o","ï½":"o","ò":"o","ó":"o","ô":"o","á»":"o","á»":"o","á»":"o","á»":"o","õ":"o","á¹":"o","È":"o","á¹":"o","Å":"o","á¹":"o","á¹":"o","Å":"o","ȯ":"o","ȱ":"o","ö":"o","È«":"o","á»":"o","Å":"o","Ç":"o","È":"o","È":"o","Æ¡":"o","á»":"o","á»":"o","ỡ":"o","á»":"o","ợ":"o","á»":"o","á»":"o","Ç«":"o","Ç":"o","ø":"o","Ç¿":"o","É":"o","ê":"o","ê":"o","ɵ":"o","Å":"oe","Æ£":"oi","È£":"ou","ê":"oo","â":"p","ï½":"p","á¹":"p","á¹":"p","Æ¥":"p","áµ½":"p","ê":"p","ê":"p","ê":"p","â ":"q","ï½":"q","É":"q","ê":"q","ê":"q","â¡":"r","ï½":"r","Å":"r","á¹":"r","Å":"r","È":"r","È":"r","á¹":"r","á¹":"r","Å":"r","á¹":"r","É":"r","ɽ":"r","ê":"r","ê§":"r","ê":"r","â¢":"s","ï½":"s","Ã":"s","Å":"s","á¹¥":"s","Å":"s","ṡ":"s","Å¡":"s","á¹§":"s","á¹£":"s","ṩ":"s","È":"s","Å":"s","È¿":"s","ê©":"s","ê
":"s","áº":"s","â£":"t","ï½":"t","ṫ":"t","áº":"t","Å¥":"t","á¹":"t","È":"t","Å£":"t","á¹±":"t","ṯ":"t","ŧ":"t","Æ":"t","Ê":"t","ⱦ":"t","ê":"t","ê©":"tz","â¤":"u","ï½":"u","ù":"u","ú":"u","û":"u","Å©":"u","á¹¹":"u","Å«":"u","á¹»":"u","Å":"u","ü":"u","Ç":"u","Ç":"u","Ç":"u","Ç":"u","á»§":"u","ů":"u","ű":"u","Ç":"u","È":"u","È":"u","ư":"u","ừ":"u","ứ":"u","ữ":"u","á»":"u","á»±":"u","ụ":"u","á¹³":"u","ų":"u","á¹·":"u","á¹µ":"u","Ê":"u","â¥":"v","ï½":"v","á¹½":"v","ṿ":"v","Ê":"v","ê":"v","Ê":"v","ê¡":"vy","â¦":"w","ï½":"w","áº":"w","áº":"w","ŵ":"w","áº":"w","áº
":"w","áº":"w","áº":"w","â±³":"w","â§":"x","ï½":"x","áº":"x","áº":"x","â¨":"y","ï½":"y","ỳ":"y","ý":"y","Å·":"y","ỹ":"y","ȳ":"y","áº":"y","ÿ":"y","á»·":"y","áº":"y","ỵ":"y","Æ´":"y","É":"y","ỿ":"y","â©":"z","ï½":"z","ź":"z","áº":"z","ż":"z","ž":"z","áº":"z","áº":"z","ƶ":"z","È¥":"z","É":"z","ⱬ":"z","ê£":"z","Î":"Î","Î":"Î","Î":"Î","Î":"Î","Ϊ":"Î","Î":"Î","Î":"Î¥","Ϋ":"Î¥","Î":"Ω","ά":"α","Î":"ε","ή":"η","ί":"ι","Ï":"ι","Î":"ι","Ï":"ο","Ï":"Ï
","Ï":"Ï
","ΰ":"Ï
","Ï":"Ï","Ï":"Ï","â":"'"}})),t.define("select2/data/base",["../utils"],(function(e){function t(e,n){t.__super__.constructor.call(this)}return e.Extend(t,e.Observable),t.prototype.current=function(e){throw new Error("The `current` method must be defined in child classes.")},t.prototype.query=function(e,t){throw new Error("The `query` method must be defined in child classes.")},t.prototype.bind=function(e,t){},t.prototype.destroy=function(){},t.prototype.generateResultId=function(t,n){var i=t.id+"-result-";return i+=e.generateChars(4),null!=n.id?i+="-"+n.id.toString():i+="-"+e.generateChars(4),i},t})),t.define("select2/data/select",["./base","../utils","jquery"],(function(e,t,n){function i(e,t){this.$element=e,this.options=t,i.__super__.constructor.call(this)}return t.Extend(i,e),i.prototype.current=function(e){var t=this;e(Array.prototype.map.call(this.$element[0].querySelectorAll(":checked"),(function(e){return t.item(n(e))})))},i.prototype.select=function(e){var t=this;if(e.selected=!0,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(n){var i=[];(e=[e]).push.apply(e,n);for(var o=0;o<e.length;o++){var r=e[o].id;-1===i.indexOf(r)&&i.push(r)}t.$element.val(i),t.$element.trigger("input").trigger("change")}));else{var n=e.id;this.$element.val(n),this.$element.trigger("input").trigger("change")}},i.prototype.unselect=function(e){var t=this;if(this.$element.prop("multiple")){if(e.selected=!1,null!=e.element&&"option"===e.element.tagName.toLowerCase())return e.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(n){for(var i=[],o=0;o<n.length;o++){var r=n[o].id;r!==e.id&&-1===i.indexOf(r)&&i.push(r)}t.$element.val(i),t.$element.trigger("input").trigger("change")}))}},i.prototype.bind=function(e,t){var n=this;this.container=e,e.on("select",(function(e){n.select(e.data)})),e.on("unselect",(function(e){n.unselect(e.data)}))},i.prototype.destroy=function(){this.$element.find("*").each((function(){t.RemoveData(this)}))},i.prototype.query=function(e,t){var i=[],o=this;this.$element.children().each((function(){if("option"===this.tagName.toLowerCase()||"optgroup"===this.tagName.toLowerCase()){var t=n(this),r=o.item(t),s=o.matches(e,r);null!==s&&i.push(s)}})),t({results:i})},i.prototype.addOptions=function(e){this.$element.append(e)},i.prototype.option=function(e){var i;e.children?(i=document.createElement("optgroup")).label=e.text:void 0!==(i=document.createElement("option")).textContent?i.textContent=e.text:i.innerText=e.text,void 0!==e.id&&(i.value=e.id),e.disabled&&(i.disabled=!0),e.selected&&(i.selected=!0),e.title&&(i.title=e.title);var o=this._normalizeItem(e);return o.element=i,t.StoreData(i,"data",o),n(i)},i.prototype.item=function(e){var i={};if(null!=(i=t.GetData(e[0],"data")))return i;var o=e[0];if("option"===o.tagName.toLowerCase())i={id:e.val(),text:e.text(),disabled:e.prop("disabled"),selected:e.prop("selected"),title:e.prop("title")};else if("optgroup"===o.tagName.toLowerCase()){i={text:e.prop("label"),children:[],title:e.prop("title")};for(var r=e.children("option"),s=[],a=0;a<r.length;a++){var l=n(r[a]),c=this.item(l);s.push(c)}i.children=s}return(i=this._normalizeItem(i)).element=e[0],t.StoreData(e[0],"data",i),i},i.prototype._normalizeItem=function(e){return e!==Object(e)&&(e={id:e,text:e}),null!=(e=n.extend({},{text:""},e)).id&&(e.id=e.id.toString()),null!=e.text&&(e.text=e.text.toString()),null==e._resultId&&e.id&&null!=this.container&&(e._resultId=this.generateResultId(this.container,e)),n.extend({},{selected:!1,disabled:!1},e)},i.prototype.matches=function(e,t){return this.options.get("matcher")(e,t)},i})),t.define("select2/data/array",["./select","../utils","jquery"],(function(e,t,n){function i(e,t){this._dataToConvert=t.get("data")||[],i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype.bind=function(e,t){i.__super__.bind.call(this,e,t),this.addOptions(this.convertToOptions(this._dataToConvert))},i.prototype.select=function(e){var t=this.$element.find("option").filter((function(t,n){return n.value==e.id.toString()}));0===t.length&&(t=this.option(e),this.addOptions(t)),i.__super__.select.call(this,e)},i.prototype.convertToOptions=function(e){var t=this,i=this.$element.find("option"),o=i.map((function(){return t.item(n(this)).id})).get(),r=[];function s(e){return function(){return n(this).val()==e.id}}for(var a=0;a<e.length;a++){var l=this._normalizeItem(e[a]);if(o.indexOf(l.id)>=0){var c=i.filter(s(l)),d=this.item(c),u=n.extend(!0,{},l,d),h=this.option(u);c.replaceWith(h)}else{var f=this.option(l);if(l.children){var p=this.convertToOptions(l.children);f.append(p)}r.push(f)}}return r},i})),t.define("select2/data/ajax",["./array","../utils","jquery"],(function(e,t,n){function i(e,t){this.ajaxOptions=this._applyDefaults(t.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),i.__super__.constructor.call(this,e,t)}return t.Extend(i,e),i.prototype._applyDefaults=function(e){var t={data:function(e){return n.extend({},e,{q:e.term})},transport:function(e,t,i){var o=n.ajax(e);return o.then(t),o.fail(i),o}};return n.extend({},t,e,!0)},i.prototype.processResults=function(e){return e},i.prototype.query=function(e,t){var i=this;null!=this._request&&("function"==typeof this._request.abort&&this._request.abort(),this._request=null);var o=n.extend({type:"GET"},this.ajaxOptions);function r(){var n=o.transport(o,(function(n){var o=i.processResults(n,e);i.options.get("debug")&&window.console&&console.error&&(o&&o.results&&Array.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),t(o)}),(function(){(!("status"in n)||0!==n.status&&"0"!==n.status)&&i.trigger("results:message",{message:"errorLoading"})}));i._request=n}"function"==typeof o.url&&(o.url=o.url.call(this.$element,e)),"function"==typeof o.data&&(o.data=o.data.call(this.$element,e)),this.ajaxOptions.delay&&null!=e.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(r,this.ajaxOptions.delay)):r()},i})),t.define("select2/data/tags",["jquery"],(function(e){function t(e,t,n){var i=n.get("tags"),o=n.get("createTag");void 0!==o&&(this.createTag=o);var r=n.get("insertTag");if(void 0!==r&&(this.insertTag=r),e.call(this,t,n),Array.isArray(i))for(var s=0;s<i.length;
1s++){var a=i[s],l=this._normalizeItem(a),c=this.option(l);this.$element.append(c)}}return t.prototype.query=function(e,t,n){var i=this;this._removeOldTags(),null!=t.term&&null==t.page?e.call(this,t,(function e(o,r){for(var s=o.results,a=0;a<s.length;a++){var l=s[a],c=null!=l.children&&!e({results:l.children},!0);if((l.text||"").toUpperCase()===(t.term||"").toUpperCase()||c)return!r&&(o.data=s,void n(o))}if(r)return!0;var d=i.createTag(t);if(null!=d){var u=i.option(d);u.attr("data-select2-tag","true"),i.addOptions([u]),i.insertTag(s,d)}o.results=s,n(o)})):e.call(this,t,n)},t.prototype.createTag=function(e,t){if(null==t.term)return null;var n=t.term.trim();return""===n?null:{id:n,text:n}},t.prototype.insertTag=function(e,t,n){t.unshift(n)},t.prototype._removeOldTags=function(t){this.$element.find("option[data-select2-tag]").each((function(){this.selected||e(this).remove()}))},t})),t.define("select2/data/tokenizer",["jquery"],(function(e){function t(e,t,n){var i=n.get("tokenizer");void 0!==i&&(this.tokenizer=i),e.call(this,t,n)}return t.prototype.bind=function(e,t,n){e.call(this,t,n),this.$search=t.dropdown.$search||t.selection.$search||n.find(".select2-search__field")},t.prototype.query=function(t,n,i){var o=this;n.term=n.term||"";var r=this.tokenizer(n,this.options,(function(t){var n=o._normalizeItem(t);if(!o.$element.find("option").filter((function(){return e(this).val()===n.id})).length){var i=o.option(n);i.attr("data-select2-tag",!0),o._removeOldTags(),o.addOptions([i])}!function(e){o.trigger("select",{data:e})}(n)}));r.term!==n.term&&(this.$search.length&&(this.$search.val(r.term),this.$search.trigger("focus")),n.term=r.term),t.call(this,n,i)},t.prototype.tokenizer=function(t,n,i,o){for(var r=i.get("tokenSeparators")||[],s=n.term,a=0,l=this.createTag||function(e){return{id:e.term,text:e.term}};a<s.length;){var c=s[a];if(-1!==r.indexOf(c)){var d=s.substr(0,a),u=l(e.extend({},n,{term:d}));null!=u?(o(u),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},t})),t.define("select2/data/minimumInputLength",[],(function(){function e(e,t,n){this.minimumInputLength=n.get("minimumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",t.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumInputLength",[],(function(){function e(e,t,n){this.maximumInputLength=n.get("maximumInputLength"),e.call(this,t,n)}return e.prototype.query=function(e,t,n){t.term=t.term||"",this.maximumInputLength>0&&t.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:t.term,params:t}}):e.call(this,t,n)},e})),t.define("select2/data/maximumSelectionLength",[],(function(){function e(e,t,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),e.call(this,t,n)}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",(function(){i._checkIfMaximumSelected()}))},e.prototype.query=function(e,t,n){var i=this;this._checkIfMaximumSelected((function(){e.call(i,t,n)}))},e.prototype._checkIfMaximumSelected=function(e,t){var n=this;this.current((function(e){var i=null!=e?e.length:0;n.maximumSelectionLength>0&&i>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):t&&t()}))},e})),t.define("select2/dropdown",["jquery","./utils"],(function(e,t){function n(e,t){this.$element=e,this.options=t,n.__super__.constructor.call(this)}return t.Extend(n,t.Observable),n.prototype.render=function(){var t=e('<span class="select2-dropdown"><span class="select2-results"></span></span>');return t.attr("dir",this.options.get("dir")),this.$dropdown=t,t},n.prototype.bind=function(){},n.prototype.position=function(e,t){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),t.define("select2/dropdown/search",["jquery"],(function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),i=this.options.get("translations").get("search"),o=e('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=o,this.$search=o.find("input"),this.$search.prop("autocomplete",this.options.get("autocomplete")),this.$search.attr("aria-label",i()),n.prepend(o),n},t.prototype.bind=function(t,n,i){var o=this,r=n.id+"-results";t.call(this,n,i),this.$search.on("keydown",(function(e){o.trigger("keypress",e),o._keyUpPrevented=e.isDefaultPrevented()})),this.$search.on("input",(function(t){e(this).off("keyup")})),this.$search.on("keyup input",(function(e){o.handleSearch(e)})),n.on("open",(function(){o.$search.attr("tabindex",0),o.$search.attr("aria-controls",r),o.$search.trigger("focus"),window.setTimeout((function(){o.$search.trigger("focus")}),0)})),n.on("close",(function(){o.$search.attr("tabindex",-1),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.val(""),o.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||o.$search.trigger("focus")})),n.on("results:all",(function(e){null!=e.query.term&&""!==e.query.term||(o.showSearch(e)?o.$searchContainer[0].classList.remove("select2-search--hide"):o.$searchContainer[0].classList.add("select2-search--hide"))})),n.on("results:focus",(function(e){e.data._resultId?o.$search.attr("aria-activedescendant",e.data._resultId):o.$search.removeAttr("aria-activedescendant")}))},t.prototype.handleSearch=function(e){if(!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},t.prototype.showSearch=function(e,t){return!0},t})),t.define("select2/dropdown/hidePlaceholder",[],(function(){function e(e,t,n,i){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),e.call(this,t,n,i)}return e.prototype.append=function(e,t){t.results=this.removePlaceholder(t.results),e.call(this,t)},e.prototype.normalizePlaceholder=function(e,t){return"string"==typeof t&&(t={id:"",text:t}),t},e.prototype.removePlaceholder=function(e,t){for(var n=t.slice(0),i=t.length-1;i>=0;i--){var o=t[i];this.placeholder.id===o.id&&n.splice(i,1)}return n},e})),t.define("select2/dropdown/infiniteScroll",["jquery"],(function(e){function t(e,t,n,i){this.lastParams={},e.call(this,t,n,i),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return t.prototype.append=function(e,t){this.$loadingMore.remove(),this.loading=!1,e.call(this,t),this.showLoadingMore(t)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("query",(function(e){i.lastParams=e,i.loading=!0})),t.on("query:append",(function(e){i.lastParams=e,i.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},t.prototype.loadMoreIfNeeded=function(){var t=e.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&t&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},t.prototype.loadMore=function(){this.loading=!0;var t=e.extend({},{page:1},this.lastParams);t.page++,this.trigger("query:append",t)},t.prototype.showLoadingMore=function(e,t){return t.pagination&&t.pagination.more},t.prototype.createLoadingMore=function(){var t=e('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return t.html(n(this.lastParams)),t},t})),t.define("select2/dropdown/attachBody",["jquery","../utils"],(function(e,t){function n(t,n,i){this.$dropdownParent=e(i.get("dropdownParent")||document.body),t.call(this,n,i)}return n.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("open",(function(){i._showDropdown(),i._attachPositioningHandler(t),i._bindContainerResultHandlers(t)})),t.on("close",(function(){i._hideDropdown(),i._detachPositioningHandler(t)})),this.$dropdownContainer.on("mousedown",(function(e){e.stopPropagation()}))},n.prototype.destroy=function(e){e.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(e,t,n){t.attr("class",n.attr("class")),t[0].classList.remove("select2"),t[0].classList.add("select2-container--open"),t.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(t){var n=e("<span></span>"),i=t.call(this);return n.append(i),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(e){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(e,t){if(!this._containerResultsHandlersBound){var n=this;t.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),t.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,i){var o=this,r="scroll.
1select2."+i.id,s="resize.select2."+i.id,a="orientationchange.select2."+i.id,l=this.$container.parents().filter(t.hasScroll);l.each((function(){t.StoreData(this,"select2-scroll-position",{x:e(this).scrollLeft(),y:e(this).scrollTop()})})),l.on(r,(function(n){var i=t.GetData(this,"select2-scroll-position");e(this).scrollTop(i.y)})),e(window).on(r+" "+s+" "+a,(function(e){o._positionDropdown(),o._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,i){var o="scroll.select2."+i.id,r="resize.select2."+i.id,s="orientationchange.select2."+i.id;this.$container.parents().filter(t.hasScroll).off(o),e(window).off(o+" "+r+" "+s)},n.prototype._positionDropdown=function(){var t=e(window),n=this.$dropdown[0].classList.contains("select2-dropdown--above"),i=this.$dropdown[0].classList.contains("select2-dropdown--below"),o=null,r=this.$container.offset();r.bottom=r.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=r.top,s.bottom=r.top+s.height;var a=this.$dropdown.outerHeight(!1),l=t.scrollTop(),c=t.scrollTop()+t.height(),d=l<r.top-a,u=c>r.bottom+a,h={left:r.left,top:s.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var p={top:0,left:0};(e.contains(document.body,f[0])||f[0].isConnected)&&(p=f.offset()),h.top-=p.top,h.left-=p.left,n||i||(o="below"),u||!d||n?!d&&u&&n&&(o="below"):o="above",("above"==o||n&&"below"!==o)&&(h.top=s.top-p.top-a),null!=o&&(this.$dropdown[0].classList.remove("select2-dropdown--below"),this.$dropdown[0].classList.remove("select2-dropdown--above"),this.$dropdown[0].classList.add("select2-dropdown--"+o),this.$container[0].classList.remove("select2-container--below"),this.$container[0].classList.remove("select2-container--above"),this.$container[0].classList.add("select2-container--"+o)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var e={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(e.minWidth=e.width,e.position="relative",e.width="auto"),this.$dropdown.css(e)},n.prototype._showDropdown=function(e){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),t.define("select2/dropdown/minimumResultsForSearch",[],(function(){function e(t){for(var n=0,i=0;i<t.length;i++){var o=t[i];o.children?n+=e(o.children):n++}return n}function t(e,t,n,i){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),e.call(this,t,n,i)}return t.prototype.showSearch=function(t,n){return!(e(n.data.results)<this.minimumResultsForSearch)&&t.call(this,n)},t})),t.define("select2/dropdown/selectOnClose",["../utils"],(function(e){function t(){}return t.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("close",(function(e){i._handleSelectOnClose(e)}))},t.prototype._handleSelectOnClose=function(t,n){if(n&&null!=n.originalSelect2Event){var i=n.originalSelect2Event;if("select"===i._type||"unselect"===i._type)return}var o=this.getHighlightedResults();if(!(o.length<1)){var r=e.GetData(o[0],"data");null!=r.element&&r.element.selected||null==r.element&&r.selected||this.trigger("select",{data:r})}},t})),t.define("select2/dropdown/closeOnSelect",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){var i=this;e.call(this,t,n),t.on("select",(function(e){i._selectTriggered(e)})),t.on("unselect",(function(e){i._selectTriggered(e)}))},e.prototype._selectTriggered=function(e,t){var n=t.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:t})},e})),t.define("select2/dropdown/dropdownCss",["../utils"],(function(e){function t(){}return t.prototype.render=function(t){var n=t.call(this),i=this.options.get("dropdownCssClass")||"";return-1!==i.indexOf(":all:")&&(i=i.replace(":all:",""),e.copyNonInternalCssClasses(n[0],this.$element[0])),n.addClass(i),n},t})),t.define("select2/dropdown/tagsSearchHighlight",["../utils"],(function(e){function t(){}return t.prototype.highlightFirstItem=function(t){var n=this.$results.find(".select2-results__option--selectable:not(.select2-results__option--selected)");if(n.length>0){var i=n.first(),o=e.GetData(i[0],"data").element;if(o&&o.getAttribute&&"true"===o.getAttribute("data-select2-tag"))return void i.trigger("mouseenter")}t.call(this)},t})),t.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(e){var t=e.input.length-e.maximum,n="Please delete "+t+" character";return 1!=t&&(n+="s"),n},inputTooShort:function(e){return"Please enter "+(e.minimum-e.input.length)+" or more characters"},loadingMore:function(){return"Loading more resultsâ¦"},maximumSelected:function(e){var t="You can only select "+e.maximum+" item";return 1!=e.maximum&&(t+="s"),t},noResults:function(){return"No results found"},searching:function(){return"Searchingâ¦"},removeAllItems:function(){return"Remove all items"},removeItem:function(){return"Remove item"},search:function(){return"Search"}}})),t.define("select2/defaults",["jquery","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./selection/selectionCss","./selection/eventRelay","./utils","./translation","./diacritics","./data/select","./data/array","./data/ajax","./data/tags","./data/tokenizer","./data/minimumInputLength","./data/maximumInputLength","./data/maximumSelectionLength","./dropdown","./dropdown/search","./dropdown/hidePlaceholder","./dropdown/infiniteScroll","./dropdown/attachBody","./dropdown/minimumResultsForSearch","./dropdown/selectOnClose","./dropdown/closeOnSelect","./dropdown/dropdownCss","./dropdown/tagsSearchHighlight","./i18n/en"],(function(e,t,n,i,o,r,s,a,l,c,d,u,h,f,p,g,m,v,y,b,w,x,k,E,S,C,_,A,T,D,M){function P(){this.reset()}return P.prototype.apply=function(d){if(null==(d=e.extend(!0,{},this.defaults,d)).dataAdapter&&(null!=d.ajax?d.dataAdapter=p:null!=d.data?d.dataAdapter=f:d.dataAdapter=h,d.minimumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,v)),d.maximumInputLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,y)),d.maximumSelectionLength>0&&(d.dataAdapter=c.Decorate(d.dataAdapter,b)),d.tags&&(d.dataAdapter=c.Decorate(d.dataAdapter,g)),null==d.tokenSeparators&&null==d.tokenizer||(d.dataAdapter=c.Decorate(d.dataAdapter,m))),null==d.resultsAdapter&&(d.resultsAdapter=t,null!=d.ajax&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,E)),null!=d.placeholder&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,k)),d.selectOnClose&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,_)),d.tags&&(d.resultsAdapter=c.Decorate(d.resultsAdapter,D))),null==d.dropdownAdapter){if(d.multiple)d.dropdownAdapter=w;else{var u=c.Decorate(w,x);d.dropdownAdapter=u}0!==d.minimumResultsForSearch&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,C)),d.closeOnSelect&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,A)),null!=d.dropdownCssClass&&(d.dropdownAdapter=c.Decorate(d.dropdownAdapter,T)),d.dropdownAdapter=c.Decorate(d.dropdownAdapter,S)}null==d.selectionAdapter&&(d.multiple?d.selectionAdapter=i:d.selectionAdapter=n,null!=d.placeholder&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,o)),d.allowClear&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,r)),d.multiple&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,s
vendor: 7,682 bytes, line 1
1)),null!=d.selectionCssClass&&(d.selectionAdapter=c.Decorate(d.selectionAdapter,a)),d.selectionAdapter=c.Decorate(d.selectionAdapter,l)),d.language=this._resolveLanguage(d.language),d.language.push("en");for(var M=[],P=0;P<d.language.length;P++){var O=d.language[P];-1===M.indexOf(O)&&M.push(O)}return d.language=M,d.translations=this._processTranslations(d.language,d.debug),d},P.prototype.reset=function(){function t(e){return e.replace(/[^\u0000-\u007E]/g,(function(e){return u[e]||e}))}this.defaults={amdLanguageBase:"./i18n/",autocomplete:"off",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:c.escapeMarkup,language:{},matcher:function n(i,o){if(null==i.term||""===i.term.trim())return o;if(o.children&&o.children.length>0){for(var r=e.extend(!0,{},o),s=o.children.length-1;s>=0;s--)null==n(i,o.children[s])&&r.children.splice(s,1);return r.children.length>0?r:n(i,r)}var a=t(o.text).toUpperCase(),l=t(i.term).toUpperCase();return a.indexOf(l)>-1?o:null},minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(e){return e},templateResult:function(e){return e.text},templateSelection:function(e){return e.text},theme:"default",width:"resolve"}},P.prototype.applyFromElement=function(e,t){var n=e.language,i=this.defaults.language,o=t.prop("lang"),r=t.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(o),this._resolveLanguage(n),this._resolveLanguage(i),this._resolveLanguage(r));return e.language=s,e},P.prototype._resolveLanguage=function(t){if(!t)return[];if(e.isEmptyObject(t))return[];if(e.isPlainObject(t))return[t];var n;n=Array.isArray(t)?t:[t];for(var i=[],o=0;o<n.length;o++)if(i.push(n[o]),"string"==typeof n[o]&&n[o].indexOf("-")>0){var r=n[o].split("-")[0];i.push(r)}return i},P.prototype._processTranslations=function(t,n){for(var i=new d,o=0;o<t.length;o++){var r=new d,s=t[o];if("string"==typeof s)try{r=d.loadPath(s)}catch(e){try{s=this.defaults.amdLanguageBase+s,r=d.loadPath(s)}catch(e){n&&window.console&&console.warn&&console.warn('Select2: The language file for "'+s+'" could not be automatically loaded. A fallback will be used instead.')}}else r=e.isPlainObject(s)?new d(s):s;i.extend(r)}return i},P.prototype.set=function(t,n){var i={};i[e.camelCase(t)]=n;var o=c._convertData(i);e.extend(!0,this.defaults,o)},new P})),t.define("select2/options",["jquery","./defaults","./utils"],(function(e,t,n){function i(e,n){this.options=e,null!=n&&this.fromElement(n),null!=n&&(this.options=t.applyFromElement(this.options,n)),this.options=t.apply(this.options)}return i.prototype.fromElement=function(t){var i=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),null==this.options.autocomplete&&t.prop("autocomplete")&&(this.options.autocomplete=t.prop("autocomplete")),null==this.options.dir&&(t.prop("dir")?this.options.dir=t.prop("dir"):t.closest("[dir]").prop("dir")?this.options.dir=t.closest("[dir]").prop("dir"):this.options.dir="ltr"),t.prop("disabled",this.options.disabled),t.prop("multiple",this.options.multiple),n.GetData(t[0],"select2Tags")&&(this.options.debug&&window.console&&console.warn&&console.warn('Select2: The `data-select2-tags` attribute has been changed to use the `data-data` and `data-tags="true"` attributes and will be removed in future versions of Select2.'),n.StoreData(t[0],"data",n.GetData(t[0],"select2Tags")),n.StoreData(t[0],"tags",!0)),n.GetData(t[0],"ajaxUrl")&&(this.options.debug&&window.console&&console.warn&&console.warn("Select2: The `data-ajax-url` attribute has been changed to `data-ajax--url` and support for the old attribute will be removed in future versions of Select2."),t.attr("ajax--url",n.GetData(t[0],"ajaxUrl")),n.StoreData(t[0],"ajax-Url",n.GetData(t[0],"ajaxUrl")));var o={};function r(e,t){return t.toUpperCase()}for(var s=0;s<t[0].attributes.length;s++){var a=t[0].attributes[s].name;if("data-"==a.substr(0,5)){var l=a.substring(5),c=n.GetData(t[0],l);o[l.replace(/-([a-z])/g,r)]=c}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(o=e.extend(!0,{},t[0].dataset,o));var d=e.extend(!0,{},n.GetData(t[0]),o);for(var u in d=n._convertData(d))i.indexOf(u)>-1||(e.isPlainObject(this.options[u])?e.extend(this.options[u],d[u]):this.options[u]=d[u]);return this},i.prototype.get=function(e){return this.options[e]},i.prototype.set=function(e,t){this.options[e]=t},i})),t.define("select2/core",["jquery","./options","./utils","./keys"],(function(e,t,n,i){var o=function(e,i){null!=n.GetData(e[0],"select2")&&n.GetData(e[0],"select2").destroy(),this.$element=e,this.id=this._generateId(e),i=i||{},this.options=new t(i,e),o.__super__.constructor.call(this);var r=e.attr("tabindex")||0;n.StoreData(e[0],"old-tabindex",r),e.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(e,this.options);var a=this.render();this._placeContainer(a);var l=this.options.get("selectionAdapter");this.selection=new l(e,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var c=this.options.get("dropdownAdapter");this.dropdown=new c(e,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var d=this.options.get("resultsAdapter");this.results=new d(e,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var u=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(e){u.trigger("selection:update",{data:e})})),e[0].classList.add("select2-hidden-accessible"),e.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(e[0],"select2",this),e.data("select2",this)};return n.Extend(o,n.Observable),o.prototype._generateId=function(e){return"select2-"+(null!=e.attr("id")?e.attr("id"):null!=e.attr("name")?e.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},o.prototype._placeContainer=function(e){e.insertAfter(this.$element);var t=this._resolveWidth(this.$element,this.options.get("width"));null!=t&&e.css("width",t)},o.prototype._resolveWidth=function(e,t){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==t){var i=this._resolveWidth(e,"style");return null!=i?i:this._resolveWidth(e,"element")}if("element"==t){var o=e.outerWidth(!1);return o<=0?"auto":o+"px"}if("style"==t){var r=e.attr("style");if("string"!=typeof r)return null;for(var s=r.split(";"),a=0,l=s.length;a<l;a+=1){var c=s[a].replace(/\s/g,"").match(n);if(null!==c&&c.length>=1)return c[1]}return null}return"computedstyle"==t?window.getComputedStyle(e[0]).width:t},o.prototype._bindAdapters=function(){this.dataAdapter.bind(this,this.$container),this.selection.bind(this,this.$container),this.dropdown.bind(this,this.$container),this.results.bind(this,this.$container)},o.prototype._registerDomEvents=function(){var e=this;this.$element.on("change.select2",(function(){e.dataAdapter.current((function(t){e.trigger("selection:update",{data:t})}))})),this.$element.on("focus.select2",(function(t){e.trigger("focus",t)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this._observer=new window.MutationObserver((function(t){e._syncA(),e._syncS(t)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})},o.prototype._registerDataEvents=function(){var e=this;this.dataAdapter.on("*",(function(t,n){e.trigger(t,n)}
1))},o.prototype._registerSelectionEvents=function(){var e=this,t=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(n,i){-1===t.indexOf(n)&&e.trigger(n,i)}))},o.prototype._registerDropdownEvents=function(){var e=this;this.dropdown.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerResultsEvents=function(){var e=this;this.results.on("*",(function(t,n){e.trigger(t,n)}))},o.prototype._registerEvents=function(){var e=this;this.on("open",(function(){e.$container[0].classList.add("select2-container--open")})),this.on("close",(function(){e.$container[0].classList.remove("select2-container--open")})),this.on("enable",(function(){e.$container[0].classList.remove("select2-container--disabled")})),this.on("disable",(function(){e.$container[0].classList.add("select2-container--disabled")})),this.on("blur",(function(){e.$container[0].classList.remove("select2-container--focus")})),this.on("query",(function(t){e.isOpen()||e.trigger("open",{}),this.dataAdapter.query(t,(function(n){e.trigger("results:all",{data:n,query:t})}))})),this.on("query:append",(function(t){this.dataAdapter.query(t,(function(n){e.trigger("results:append",{data:n,query:t})}))})),this.on("keypress",(function(t){var n=t.which;e.isOpen()?n===i.ESC||n===i.UP&&t.altKey?(e.close(t),t.preventDefault()):n===i.ENTER||n===i.TAB?(e.trigger("results:select",{}),t.preventDefault()):n===i.SPACE&&t.ctrlKey?(e.trigger("results:toggle",{}),t.preventDefault()):n===i.UP?(e.trigger("results:previous",{}),t.preventDefault()):n===i.DOWN&&(e.trigger("results:next",{}),t.preventDefault()):(n===i.ENTER||n===i.SPACE||n===i.DOWN&&t.altKey)&&(e.open(),t.preventDefault())}))},o.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},o.prototype._isChangeMutation=function(e){var t=this;if(e.addedNodes&&e.addedNodes.length>0){for(var n=0;n<e.addedNodes.length;n++)if(e.addedNodes[n].selected)return!0}else{if(e.removedNodes&&e.removedNodes.length>0)return!0;if(Array.isArray(e))return e.some((function(e){return t._isChangeMutation(e)}))}return!1},o.prototype._syncSubtree=function(e){var t=this._isChangeMutation(e),n=this;t&&this.dataAdapter.current((function(e){n.trigger("selection:update",{data:e})}))},o.prototype.trigger=function(e,t){var n=o.__super__.trigger,i={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===t&&(t={}),e in i){var r=i[e],s={prevented:!1,name:e,args:t};if(n.call(this,r,s),s.prevented)return void(t.prevented=!0)}n.call(this,e,t)},o.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},o.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},o.prototype.close=function(e){this.isOpen()&&this.trigger("close",{originalEvent:e})},o.prototype.isEnabled=function(){return!this.isDisabled()},o.prototype.isDisabled=function(){return this.options.get("disabled")},o.prototype.isOpen=function(){return this.$container[0].classList.contains("select2-container--open")},o.prototype.hasFocus=function(){return this.$container[0].classList.contains("select2-container--focus")},o.prototype.focus=function(e){this.hasFocus()||(this.$container[0].classList.add("select2-container--focus"),this.trigger("focus",{}))},o.prototype.enable=function(e){this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("enable")` method has been deprecated and will be removed in later Select2 versions. Use $element.prop("disabled") instead.'),null!=e&&0!==e.length||(e=[!0]);var t=!e[0];this.$element.prop("disabled",t)},o.prototype.data=function(){this.options.get("debug")&&arguments.length>0&&window.console&&console.warn&&console.warn('Select2: Data can no longer be set using `select2("data")`. You should consider setting the value instead using `$element.val()`.');var e=[];return this.dataAdapter.current((function(t){e=t})),e},o.prototype.val=function(e){if(this.options.get("debug")&&window.console&&console.warn&&console.warn('Select2: The `select2("val")` method has been deprecated and will be removed in later Select2 versions. Use $element.val() instead.'),null==e||0===e.length)return this.$element.val();var t=e[0];Array.isArray(t)&&(t=t.map((function(e){return e.toString()}))),this.$element.val(t).trigger("input").trigger("change")},o.prototype.destroy=function(){n.RemoveData(this.$container[0]),this.$container.remove(),this._observer.disconnect(),this._observer=null,this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element[0].classList.remove("select2-hidden-accessible"),this.$element.attr("aria-hidden","false"),n.RemoveData(this.$element[0]),this.$element.removeData("select2"),this.dataAdapter.destroy(),this.selection.destroy(),this.dropdown.destroy(),this.results.destroy(),this.dataAdapter=null,this.selection=null,this.dropdown=null,this.results=null},o.prototype.render=function(){var t=e('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return t.attr("dir",this.options.get("dir")),this.$container=t,this.$container[0].classList.add("select2-container--"+this.options.get("theme")),n.StoreData(t[0],"element",this.$element),t},o})),t.define("select2/dropdown/attachContainer",[],(function(){function e(e,t,n){e.call(this,t,n)}return e.prototype.position=function(e,t,n){n.find(".dropdown-wrapper").append(t),t[0].classList.add("select2-dropdown--below"),n[0].classList.add("select2-container--below")},e})),t.define("select2/dropdown/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$dropdown.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})),t.define("select2/selection/stopPropagation",[],(function(){function e(){}return e.prototype.bind=function(e,t,n){e.call(this,t,n),this.$selection.on(["blur","change","click","dblclick","focus","focusin","focusout","input","keydown","keyup","keypress","mousedown","mouseenter","mouseleave","mousemove","mouseover","mouseup","search","touchend","touchstart"].join(" "),(function(e){e.stopPropagation()}))},e})),n=function(e){var t,n,i=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>
1=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],r=Array.prototype.slice;if(e.event.fixHooks)for(var s=i.length;s;)e.event.fixHooks[i[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],l,!1);else this.onmousewheel=l;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],l,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var n=e(t),i=n["offsetParent"in e.fn?"offsetParent":"parent"]();return i.length||(i=e("body")),parseInt(i.css("fontSize"),10)||parseInt(n.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function l(i){var o,s=i||window.event,l=r.call(arguments,1),u=0,h=0,f=0,p=0,g=0;if((i=e.event.fix(s)).type="mousewheel","detail"in s&&(f=-1*s.detail),"wheelDelta"in s&&(f=s.wheelDelta),"wheelDeltaY"in s&&(f=s.wheelDeltaY),"wheelDeltaX"in s&&(h=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(h=-1*f,f=0),u=0===f?h:f,"deltaY"in s&&(u=f=-1*s.deltaY),"deltaX"in s&&(h=s.deltaX,0===f&&(u=-1*h)),0!==f||0!==h){if(1===s.deltaMode){var m=e.data(this,"mousewheel-line-height");u*=m,f*=m,h*=m}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");u*=v,f*=v,h*=v}if(o=Math.max(Math.abs(f),Math.abs(h)),(!n||o<n)&&(n=o,d(s,o)&&(n/=40)),d(s,o)&&(u/=40,h/=40,f/=40),u=Math[u>=1?"floor":"ceil"](u/n),h=Math[h>=1?"floor":"ceil"](h/n),f=Math[f>=1?"floor":"ceil"](f/n),a.settings.normalizeOffset&&this.getBoundingClientRect){var y=this.getBoundingClientRect();p=i.clientX-y.left,g=i.clientY-y.top}return i.deltaX=h,i.deltaY=f,i.deltaFactor=n,i.offsetX=p,i.offsetY=g,i.deltaMode=0,l.unshift(i,u,h,f),t&&clearTimeout(t),t=setTimeout(c,200),(e.event.dispatch||e.event.handle).apply(this,l)}}function c(){n=null}function d(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})},"function"==typeof t.define&&t.define.amd?t.define("jquery-mousewheel",["jquery"],n):"object"==typeof exports?module.exports=n:n(e),t.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(e,t,n,i,o){if(null==e.fn.select2){var r=["open","close","destroy"];e.fn.select2=function(t){if("object"==typeof(t=t||{}))return this.each((function(){var i=e.extend(!0,{},t);new n(e(this),i)})),this;if("string"==typeof t){var i,s=Array.prototype.slice.call(arguments,1);return this.each((function(){var e=o.GetData(this,"select2");null==e&&window.console&&console.error&&console.error("The select2('"+t+"') method was called on an element that is not using Select2."),i=e[t].apply(e,s)})),r.indexOf(t)>-1?this:i}throw new Error("Invalid arguments for Select2: "+t)}}return null==e.fn.select2.defaults&&(e.fn.select2.defaults=i),n})),{define:t.define,require:t.require}}(),n=t.require("jquery.select2");return e.fn.select2.amd=t,n})),function(e){"use strict";e.event.special.destroyed||(e.event.special.destroyed={remove:function(e){e.handler&&e.handler()}}),e.fn.extend({maxlength:function(t,n){var i=e("body");function o(e){var t=e.charCodeAt();return t?t<128?1:t<2048?2:3:0}function r(e){return e.split("").map(o).concat(0).reduce((function(e,t){return e+t}))}function s(e){var n=e.val();n=t.twoCharLinebreak?n.replace(/\r(?!\n)|\n(?!\r)/g,"\r\n"):n.replace(/(?:\r\n|\r|\n)/g,"\n");var i=0;return i=t.utf8?r(n):n.length,"file"===e.prop("type")&&""!==e.val()&&(i-=12),i}function a(e,t){return t-s(e)}function l(e,t){t.css({display:"block"}),e.trigger("maxlength.shown")}function c(e,n,i){var o="";return t.message?o="function"==typeof t.message?t.message(e,n):t.message.replace("%charsTyped%",i).replace("%charsRemaining%",n-i).replace("%charsTotal%",n):(t.preText&&(o+=t.preText),t.showCharsTyped?o+=i:o+=n-i,t.showMaxLength&&(o+=t.separator+n),t.postText&&(o+=t.postText)),o}function d(e,n,i,o){var r,a,d,u;o&&(o.html(c(n.val(),i,i-e)),e>0?(r=n,a=t.threshold,d=i,u=!0,!t.alwaysShow&&d-s(r)>a&&(u=!1),u?l(n,o.removeClass(t.limitReachedClass+" "+t.limitExceededClass).addClass(t.warningClass)):function(e,n){t.alwaysShow||(n.css({display:"none"}),e.trigger("maxlength.hidden"))}(n,o)):t.limitExceededClass?l(n,0===e?o.removeClass(t.warningClass+" "+t.limitExceededClass).addClass(t.limitReachedClass):o.removeClass(t.warningClass+" "+t.limitReachedClass).addClass(t.limitExceededClass)):l(n,o.removeClass(t.warningClass).addClass(t.limitReachedClass))),t.customMaxAttribute&&(e<0?n.addClass(t.customMaxClass):n.removeClass(t.customMaxClass))}function u(n,i){var o=function(t){var n=t[0];return e.extend({},"function"==typeof n.getBoundingClientRect?n.getBoundingClientRect():{width:n.offsetWidth,height:n.offsetHeight},t.offset())}(n);if("function"!==e.type(t.placement))if(e.isPlainObject(t.placement))!function(n,i){if
vendor: 3,130 bytes, line 1
1(n&&i){var o={};e.each(["top","bottom","left","right","position"],(function(e,n){var i=t.placement[n];void 0!==i&&(o[n]=i)})),i.css(o)}}(t.placement,i);else{var r=n.outerWidth(),s=i.outerWidth(),a=i.width(),l=i.height();switch(t.appendToParent&&(o.top-=n.parent().offset().top,o.left-=n.parent().offset().left),t.placement){case"bottom":i.css({top:o.top+o.height,left:o.left+o.width/2-a/2});break;case"top":i.css({top:o.top-l,left:o.left+o.width/2-a/2});break;case"left":i.css({top:o.top+o.height/2-l/2,left:o.left-a});break;case"right":i.css({top:o.top+o.height/2-l/2,left:o.left+o.width});break;case"bottom-right":i.css({top:o.top+o.height,left:o.left+o.width});break;case"top-right":i.css({top:o.top-l,left:o.left+r});break;case"top-left":i.css({top:o.top-l,left:o.left-s});break;case"bottom-left":i.css({top:o.top+n.outerHeight(),left:o.left-s});break;case"centered-right":i.css({top:o.top+l/2,left:o.left+r-s-3});break;case"bottom-right-inside":i.css({top:o.top+o.height,left:o.left+o.width-s});break;case"top-right-inside":i.css({top:o.top-l,left:o.left+r-s});break;case"top-left-inside":i.css({top:o.top-l,left:o.left});break;case"bottom-left-inside":i.css({top:o.top+n.outerHeight(),left:o.left})}}else t.placement(n,i,o)}function h(e){var n=e.attr("maxlength")||t.customMaxAttribute;if(t.customMaxAttribute&&!t.allowOverMax){var i=e.attr(t.customMaxAttribute);(!n||i<n)&&(n=i)}return n||(n=e.attr("size")),n}return e.isFunction(t)&&!n&&(n=t,t={}),t=e.extend({showOnReady:!1,alwaysShow:!0,threshold:0,warningClass:"small form-text text-muted",limitReachedClass:"small form-text text-danger",limitExceededClass:"",separator:" / ",preText:"",postText:"",showMaxLength:!0,placement:"bottom-right-inside",message:null,showCharsTyped:!0,validate:!1,utf8:!1,appendToParent:!1,twoCharLinebreak:!0,customMaxAttribute:null,customMaxClass:"overmax",allowOverMax:!1,zIndex:1099},t),this.each((function(){var n,s,l=e(this);function f(){var o=c(l.val(),n,"0");n=h(l),s||(s=e('<span class="bootstrap-maxlength"></span>').css({display:"none",position:"absolute",whiteSpace:"nowrap",zIndex:t.zIndex}).html(o)),l.is("textarea")&&(l.data("maxlenghtsizex",l.outerWidth()),l.data("maxlenghtsizey",l.outerHeight()),l.mouseup((function(){l.outerWidth()===l.data("maxlenghtsizex")&&l.outerHeight()===l.data("maxlenghtsizey")||u(l,s),l.data("maxlenghtsizex",l.outerWidth()),l.data("maxlenghtsizey",l.outerHeight())}))),t.appendToParent?(l.parent().append(s),l.parent().css("position","relative")):i.append(s),d(a(l,h(l)),l,n,s),u(l,s)}e(window).resize((function(){s&&u(l,s)})),t.showOnReady?l.ready((function(){f()})):l.focus((function(){f()})),l.on("maxlength.reposition",(function(){u(l,s)})),l.on("destroyed",(function(){s&&s.remove()})),l.on("blur",(function(){s&&!t.showOnReady&&s.remove()})),l.on("input",(function(){var e=h(l),i=a(l,e),c=!0;return t.validate&&i<0?(function(e,n){var i=e.val();if(t.twoCharLinebreak&&"\n"===(i=i.replace(/\r(?!\n)|\n(?!\r)/g,"\r\n"))[i.length-1]&&(n-=i.length%2),t.utf8){for(var s=i.split("").map(o),a=0,l=r(i)-n;a<l;a+=s.pop());n-=n-s.length}e.val(i.substr(0,n))}(l,e),c=!1):d(i,l,n,s),c}))}))}})}(jQuery);
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.