/*! For license information please see app.js.LICENSE.txt */
(()=>{var t={455:(t,e,n)=>{"use strict";n.d(e,{n4:()=>w,UD:()=>_});var r=n(6354),i=n(222),o=n(8979),s=n(5581);var a=n(7604),c=n(793),l=n(9760),u=n(134),h=n(6906);function f(t,e,n){void 0===n&&(n=!1);var f,d,p=(0,s.sb)(e),g=(0,s.sb)(e)&&function(t){var e=t.getBoundingClientRect(),n=(0,h.LI)(e.width)/t.offsetWidth||1,r=(0,h.LI)(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),m=(0,l.A)(e),v=(0,r.A)(t,g,n),y={scrollLeft:0,scrollTop:0},b={x:0,y:0};return(p||!p&&!n)&&(("body"!==(0,a.A)(e)||(0,u.A)(m))&&(y=(f=e)!==(0,o.A)(f)&&(0,s.sb)(f)?{scrollLeft:(d=f).scrollLeft,scrollTop:d.scrollTop}:(0,i.A)(f)),(0,s.sb)(e)?((b=(0,r.A)(e,!0)).x+=e.clientLeft,b.y+=e.clientTop):m&&(b.x=(0,c.A)(m))),{x:v.left+y.scrollLeft-b.x,y:v.top+y.scrollTop-b.y,width:v.width,height:v.height}}var d=n(6979),p=n(7579),g=n(7275),m=n(4278);function v(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}var y={placement:"bottom",modifiers:[],strategy:"absolute"};function b(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function _(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,o=void 0===i?y:i;return function(t,e,n){void 0===n&&(n=o);var i,a,c={placement:"bottom",orderedModifiers:[],options:Object.assign({},y,o),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},l=[],u=!1,h={state:c,setOptions:function(n){var i="function"==typeof n?n(c.options):n;_(),c.options=Object.assign({},o,c.options,i),c.scrollParents={reference:(0,s.vq)(t)?(0,p.A)(t):t.contextElement?(0,p.A)(t.contextElement):[],popper:(0,p.A)(e)};var a,u,f=function(t){var e=v(t);return m.GM.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}((a=[].concat(r,c.options.modifiers),u=a.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{}),Object.keys(u).map((function(t){return u[t]}))));return c.orderedModifiers=f.filter((function(t){return t.enabled})),c.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var o=i({state:c,name:e,instance:h,options:r}),s=function(){};l.push(o||s)}})),h.update()},forceUpdate:function(){if(!u){var t=c.elements,e=t.reference,n=t.popper;if(b(e,n)){c.rects={reference:f(e,(0,g.A)(n),"fixed"===c.options.strategy),popper:(0,d.A)(n)},c.reset=!1,c.placement=c.options.placement,c.orderedModifiers.forEach((function(t){return c.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<c.orderedModifiers.length;r++)if(!0!==c.reset){var i=c.orderedModifiers[r],o=i.fn,s=i.options,a=void 0===s?{}:s,l=i.name;"function"==typeof o&&(c=o({state:c,options:a,name:l,instance:h})||c)}else c.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){h.forceUpdate(),t(c)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){_(),u=!0}};if(!b(t,e))return h;function _(){l.forEach((function(t){return t()})),l=[]}return h.setOptions(n).then((function(t){!u&&n.onFirstUpdate&&n.onFirstUpdate(t)})),h}}var w=_()},5446:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(5581);function i(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&(0,r.Ng)(n)){var i=e;do{if(i&&t.isSameNode(i))return!0;i=i.parentNode||i.host}while(i)}return!1}},6354:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(5581),i=n(6906),o=n(8979),s=n(2283);function a(t,e,n){void 0===e&&(e=!1),void 0===n&&(n=!1);var a=t.getBoundingClientRect(),c=1,l=1;e&&(0,r.sb)(t)&&(c=t.offsetWidth>0&&(0,i.LI)(a.width)/t.offsetWidth||1,l=t.offsetHeight>0&&(0,i.LI)(a.height)/t.offsetHeight||1);var u=((0,r.vq)(t)?(0,o.A)(t):window).visualViewport,h=!(0,s.A)()&&n,f=(a.left+(h&&u?u.offsetLeft:0))/c,d=(a.top+(h&&u?u.offsetTop:0))/l,p=a.width/c,g=a.height/l;return{width:p,height:g,top:d,right:f+p,bottom:d+g,left:f,x:f,y:d}}},271:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(8979);function i(t){return(0,r.A)(t).getComputedStyle(t)}},9760:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(5581);function i(t){return(((0,r.vq)(t)?t.ownerDocument:t.document)||window.document).documentElement}},6979:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(6354);function i(t){var e=(0,r.A)(t),n=t.offsetWidth,i=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-i)<=1&&(i=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:i}}},7604:(t,e,n)=>{"use strict";function r(t){return t?(t.nodeName||"").toLowerCase():null}n.d(e,{A:()=>r})},7275:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var r=n(8979),i=n(7604),o=n(271),s=n(5581);function a(t){return["table","td","th"].indexOf((0,i.A)(t))>=0}var c=n(2083),l=n(2398);function u(t){return(0,s.sb)(t)&&"fixed"!==(0,o.A)(t).position?t.offsetParent:null}function h(t){for(var e=(0,r.A)(t),n=u(t);n&&a(n)&&"static"===(0,o.A)(n).position;)n=u(n);return n&&("html"===(0,i.A)(n)||"body"===(0,i.A)(n)&&"static"===(0,o.A)(n).position)?e:n||function(t){var e=/firefox/i.test((0,l.A)());if(/Trident/i.test((0,l.A)())&&(0,s.sb)(t)&&"fixed"===(0,o.A)(t).position)return null;var n=(0,c.A)(t);for((0,s.Ng)(n)&&(n=n.host);(0,s.sb)(n)&&["html","body"].indexOf((0,i.A)(n))<0;){var r=(0,o.A)(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}},2083:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(7604),i=n(9760),o=n(5581);function s(t){return"html"===(0,r.A)(t)?t:t.assignedSlot||t.parentNode||((0,o.Ng)(t)?t.host:null)||(0,i.A)(t)}},8979:(t,e,n)=>{"use strict";function r(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}n.d(e,{A:()=>r})},222:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(8979);function i(t){var e=(0,r.A)(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}},793:(t,e,n)=>{"use strict";n.d(e,{A:()=>s});var r=n(6354),i=n(9760),o=n(222);function s(t){return(0,r.A)((0,i.A)(t)).left+(0,o.A)(t).scrollLeft}},5581:(t,e,n)=>{"use strict";n.d(e,{Ng:()=>s,sb:()=>o,vq:()=>i});var r=n(8979);function i(t){return t instanceof(0,r.A)(t).Element||t instanceof Element}function o(t){return t instanceof(0,r.A)(t).HTMLElement||t instanceof HTMLElement}function s(t){return"undefined"!=typeof ShadowRoot&&(t instanceof(0,r.A)(t).ShadowRoot||t instanceof ShadowRoot)}},2283:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(2398);function i(){return!/^((?!chrome|android).)*safari/i.test((0,r.A)())}},134:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(271);function i(t){var e=(0,r.A)(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+i)}},7579:(t,e,n)=>{"use strict";n.d(e,{A:()=>l});var r=n(2083),i=n(134),o=n(7604),s=n(5581);function a(t){return["html","body","#document"].indexOf((0,o.A)(t))>=0?t.ownerDocument.body:(0,s.sb)(t)&&(0,i.A)(t)?t:a((0,r.A)(t))}var c=n(8979);function l(t,e){var n;void 0===e&&(e=[]);var o=a(t),s=o===(null==(n=t.ownerDocument)?void 0:n.body),u=(0,c.A)(o),h=s?[u].concat(u.visualViewport||[],(0,i.A)(o)?o:[]):o,f=e.concat(h);return s?f:f.concat(l((0,r.A)(h)))}},4278:(t,e,n)=>{"use strict";n.d(e,{DD:()=>m,EP:()=>x,GM:()=>T,LF:()=>y,LG:()=>_,M9:()=>A,Mn:()=>r,OM:()=>c,Ol:()=>g,R9:()=>f,SE:()=>C,WY:()=>h,_N:()=>u,ci:()=>v,iW:()=>w,ir:()=>p,kb:()=>s,ni:()=>l,pA:()=>E,pG:()=>o,qZ:()=>a,sQ:()=>i,v5:()=>b,xf:()=>d});var r="top",i="bottom",o="right",s="left",a="auto",c=[r,i,o,s],l="start",u="end",h="clippingParents",f="viewport",d="popper",p="reference",g=c.reduce((function(t,e){return t.concat([e+"-"+l,e+"-"+u])}),[]),m=[].concat(c,[a]).reduce((function(t,e){return t.concat([e,e+"-"+l,e+"-"+u])}),[]),v="beforeRead",y="read",b="afterRead",_="beforeMain",w="main",x="afterMain",E="beforeWrite",A="write",C="afterWrite",T=[v,y,b,_,w,x,E,A,C]},6769:(t,e,n)=>{"use strict";n.r(e),n.d(e,{afterMain:()=>r.EP,afterRead:()=>r.v5,afterWrite:()=>r.SE,applyStyles:()=>i.A,arrow:()=>o.A,auto:()=>r.qZ,basePlacements:()=>r.OM,beforeMain:()=>r.LG,beforeRead:()=>r.ci,beforeWrite:()=>r.pA,bottom:()=>r.sQ,clippingParents:()=>r.WY,computeStyles:()=>s.A,createPopper:()=>g.n4,createPopperBase:()=>d.n4,createPopperLite:()=>v,detectOverflow:()=>p.A,end:()=>r._N,eventListeners:()=>a.A,flip:()=>c.A,hide:()=>l.A,left:()=>r.kb,main:()=>r.iW,modifierPhases:()=>r.GM,offset:()=>u.A,placements:()=>r.DD,popper:()=>r.xf,popperGenerator:()=>d.UD,popperOffsets:()=>h.A,preventOverflow:()=>f.A,read:()=>r.LF,reference:()=>r.ir,right:()=>r.pG,start:()=>r.ni,top:()=>r.Mn,variationPlacements:()=>r.Ol,viewport:()=>r.R9,write:()=>r.M9});var r=n(4278),i=n(6607),o=n(8256),s=n(1262),a=n(9068),c=n(6489),l=n(9081),u=n(8490),h=n(5059),f=n(4575),d=n(455),p=n(6249),g=n(1576),m=[a.A,h.A,s.A,i.A],v=(0,d.UD)({defaultModifiers:m})},6607:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(7604),i=n(5581);const o={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},o=e.attributes[t]||{},s=e.elements[t];(0,i.sb)(s)&&(0,r.A)(s)&&(Object.assign(s.style,n),Object.keys(o).forEach((function(t){var e=o[t];!1===e?s.removeAttribute(t):s.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var o=e.elements[t],s=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});(0,i.sb)(o)&&(0,r.A)(o)&&(Object.assign(o.style,a),Object.keys(s).forEach((function(t){o.removeAttribute(t)})))}))}},requires:["computeStyles"]}},8256:(t,e,n)=>{"use strict";n.d(e,{A:()=>f});var r=n(2632),i=n(6979),o=n(5446),s=n(7275),a=n(9703),c=n(6523),l=n(4318),u=n(1007),h=n(4278);const f={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,o=t.name,f=t.options,d=n.elements.arrow,p=n.modifiersData.popperOffsets,g=(0,r.A)(n.placement),m=(0,a.A)(g),v=[h.kb,h.pG].indexOf(g)>=0?"height":"width";if(d&&p){var y=function(t,e){return t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t,(0,l.A)("number"!=typeof t?t:(0,u.A)(t,h.OM))}(f.padding,n),b=(0,i.A)(d),_="y"===m?h.Mn:h.kb,w="y"===m?h.sQ:h.pG,x=n.rects.reference[v]+n.rects.reference[m]-p[m]-n.rects.popper[v],E=p[m]-n.rects.reference[m],A=(0,s.A)(d),C=A?"y"===m?A.clientHeight||0:A.clientWidth||0:0,T=x/2-E/2,S=y[_],k=C-b[v]-y[w],P=C/2-b[v]/2+T,O=(0,c.u)(S,P,k),$=m;n.modifiersData[o]=((e={})[$]=O,e.centerOffset=O-P,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&(0,o.A)(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]}},1262:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(4278),i=n(7275),o=n(8979),s=n(9760),a=n(271),c=n(2632),l=n(8101),u=n(6906),h={top:"auto",right:"auto",bottom:"auto",left:"auto"};function f(t){var e,n=t.popper,c=t.popperRect,l=t.placement,f=t.variation,d=t.offsets,p=t.position,g=t.gpuAcceleration,m=t.adaptive,v=t.roundOffsets,y=t.isFixed,b=d.x,_=void 0===b?0:b,w=d.y,x=void 0===w?0:w,E="function"==typeof v?v({x:_,y:x}):{x:_,y:x};_=E.x,x=E.y;var A=d.hasOwnProperty("x"),C=d.hasOwnProperty("y"),T=r.kb,S=r.Mn,k=window;if(m){var P=(0,i.A)(n),O="clientHeight",$="clientWidth";if(P===(0,o.A)(n)&&(P=(0,s.A)(n),"static"!==(0,a.A)(P).position&&"absolute"===p&&(O="scrollHeight",$="scrollWidth")),l===r.Mn||(l===r.kb||l===r.pG)&&f===r._N)S=r.sQ,x-=(y&&P===k&&k.visualViewport?k.visualViewport.height:P[O])-c.height,x*=g?1:-1;if(l===r.kb||(l===r.Mn||l===r.sQ)&&f===r._N)T=r.pG,_-=(y&&P===k&&k.visualViewport?k.visualViewport.width:P[$])-c.width,_*=g?1:-1}var L,D=Object.assign({position:p},m&&h),I=!0===v?function(t,e){var n=t.x,r=t.y,i=e.devicePixelRatio||1;return{x:(0,u.LI)(n*i)/i||0,y:(0,u.LI)(r*i)/i||0}}({x:_,y:x},(0,o.A)(n)):{x:_,y:x};return _=I.x,x=I.y,g?Object.assign({},D,((L={})[S]=C?"0":"",L[T]=A?"0":"",L.transform=(k.devicePixelRatio||1)<=1?"translate("+_+"px, "+x+"px)":"translate3d("+_+"px, "+x+"px, 0)",L)):Object.assign({},D,((e={})[S]=C?x+"px":"",e[T]=A?_+"px":"",e.transform="",e))}const d={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,o=n.adaptive,s=void 0===o||o,a=n.roundOffsets,u=void 0===a||a,h={placement:(0,c.A)(e.placement),variation:(0,l.A)(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,f(Object.assign({},h,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,f(Object.assign({},h,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}}},9068:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(8979),i={passive:!0};const o={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,o=t.options,s=o.scroll,a=void 0===s||s,c=o.resize,l=void 0===c||c,u=(0,r.A)(e.elements.popper),h=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&h.forEach((function(t){t.addEventListener("scroll",n.update,i)})),l&&u.addEventListener("resize",n.update,i),function(){a&&h.forEach((function(t){t.removeEventListener("scroll",n.update,i)})),l&&u.removeEventListener("resize",n.update,i)}},data:{}}},6489:(t,e,n)=>{"use strict";n.d(e,{A:()=>h});var r={left:"right",right:"left",bottom:"top",top:"bottom"};function i(t){return t.replace(/left|right|bottom|top/g,(function(t){return r[t]}))}var o=n(2632),s={start:"end",end:"start"};function a(t){return t.replace(/start|end/g,(function(t){return s[t]}))}var c=n(6249),l=n(8101),u=n(4278);const h={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var s=n.mainAxis,h=void 0===s||s,f=n.altAxis,d=void 0===f||f,p=n.fallbackPlacements,g=n.padding,m=n.boundary,v=n.rootBoundary,y=n.altBoundary,b=n.flipVariations,_=void 0===b||b,w=n.allowedAutoPlacements,x=e.options.placement,E=(0,o.A)(x),A=p||(E===x||!_?[i(x)]:function(t){if((0,o.A)(t)===u.qZ)return[];var e=i(t);return[a(t),e,a(e)]}(x)),C=[x].concat(A).reduce((function(t,n){return t.concat((0,o.A)(n)===u.qZ?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,s=n.rootBoundary,a=n.padding,h=n.flipVariations,f=n.allowedAutoPlacements,d=void 0===f?u.DD:f,p=(0,l.A)(r),g=p?h?u.Ol:u.Ol.filter((function(t){return(0,l.A)(t)===p})):u.OM,m=g.filter((function(t){return d.indexOf(t)>=0}));0===m.length&&(m=g);var v=m.reduce((function(e,n){return e[n]=(0,c.A)(t,{placement:n,boundary:i,rootBoundary:s,padding:a})[(0,o.A)(n)],e}),{});return Object.keys(v).sort((function(t,e){return v[t]-v[e]}))}(e,{placement:n,boundary:m,rootBoundary:v,padding:g,flipVariations:_,allowedAutoPlacements:w}):n)}),[]),T=e.rects.reference,S=e.rects.popper,k=new Map,P=!0,O=C[0],$=0;$<C.length;$++){var L=C[$],D=(0,o.A)(L),I=(0,l.A)(L)===u.ni,j=[u.Mn,u.sQ].indexOf(D)>=0,N=j?"width":"height",R=(0,c.A)(e,{placement:L,boundary:m,rootBoundary:v,altBoundary:y,padding:g}),M=j?I?u.pG:u.kb:I?u.sQ:u.Mn;T[N]>S[N]&&(M=i(M));var q=i(M),F=[];if(h&&F.push(R[D]<=0),d&&F.push(R[M]<=0,R[q]<=0),F.every((function(t){return t}))){O=L,P=!1;break}k.set(L,F)}if(P)for(var B=function(t){var e=C.find((function(e){var n=k.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return O=e,"break"},H=_?3:1;H>0;H--){if("break"===B(H))break}e.placement!==O&&(e.modifiersData[r]._skip=!0,e.placement=O,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}}},9081:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(4278),i=n(6249);function o(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function s(t){return[r.Mn,r.pG,r.sQ,r.kb].some((function(e){return t[e]>=0}))}const a={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,a=e.rects.popper,c=e.modifiersData.preventOverflow,l=(0,i.A)(e,{elementContext:"reference"}),u=(0,i.A)(e,{altBoundary:!0}),h=o(l,r),f=o(u,a,c),d=s(h),p=s(f);e.modifiersData[n]={referenceClippingOffsets:h,popperEscapeOffsets:f,isReferenceHidden:d,hasPopperEscaped:p},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":p})}}},8490:(t,e,n)=>{"use strict";n.d(e,{A:()=>o});var r=n(2632),i=n(4278);const o={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,o=t.name,s=n.offset,a=void 0===s?[0,0]:s,c=i.DD.reduce((function(t,n){return t[n]=function(t,e,n){var o=(0,r.A)(t),s=[i.kb,i.Mn].indexOf(o)>=0?-1:1,a="function"==typeof n?n(Object.assign({},e,{placement:t})):n,c=a[0],l=a[1];return c=c||0,l=(l||0)*s,[i.kb,i.pG].indexOf(o)>=0?{x:l,y:c}:{x:c,y:l}}(n,e.rects,a),t}),{}),l=c[e.placement],u=l.x,h=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=h),e.modifiersData[o]=c}}},5059:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(1815);const i={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=(0,r.A)({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}}},4575:(t,e,n)=>{"use strict";n.d(e,{A:()=>d});var r=n(4278),i=n(2632),o=n(9703);var s=n(6523),a=n(6979),c=n(7275),l=n(6249),u=n(8101),h=n(7364),f=n(6906);const d={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,d=t.name,p=n.mainAxis,g=void 0===p||p,m=n.altAxis,v=void 0!==m&&m,y=n.boundary,b=n.rootBoundary,_=n.altBoundary,w=n.padding,x=n.tether,E=void 0===x||x,A=n.tetherOffset,C=void 0===A?0:A,T=(0,l.A)(e,{boundary:y,rootBoundary:b,padding:w,altBoundary:_}),S=(0,i.A)(e.placement),k=(0,u.A)(e.placement),P=!k,O=(0,o.A)(S),$="x"===O?"y":"x",L=e.modifiersData.popperOffsets,D=e.rects.reference,I=e.rects.popper,j="function"==typeof C?C(Object.assign({},e.rects,{placement:e.placement})):C,N="number"==typeof j?{mainAxis:j,altAxis:j}:Object.assign({mainAxis:0,altAxis:0},j),R=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,M={x:0,y:0};if(L){if(g){var q,F="y"===O?r.Mn:r.kb,B="y"===O?r.sQ:r.pG,H="y"===O?"height":"width",z=L[O],W=z+T[F],U=z-T[B],V=E?-I[H]/2:0,Y=k===r.ni?D[H]:I[H],X=k===r.ni?-I[H]:-D[H],G=e.elements.arrow,K=E&&G?(0,a.A)(G):{width:0,height:0},Z=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:(0,h.A)(),Q=Z[F],J=Z[B],tt=(0,s.u)(0,D[H],K[H]),et=P?D[H]/2-V-tt-Q-N.mainAxis:Y-tt-Q-N.mainAxis,nt=P?-D[H]/2+V+tt+J+N.mainAxis:X+tt+J+N.mainAxis,rt=e.elements.arrow&&(0,c.A)(e.elements.arrow),it=rt?"y"===O?rt.clientTop||0:rt.clientLeft||0:0,ot=null!=(q=null==R?void 0:R[O])?q:0,st=z+et-ot-it,at=z+nt-ot,ct=(0,s.u)(E?(0,f.jk)(W,st):W,z,E?(0,f.T9)(U,at):U);L[O]=ct,M[O]=ct-z}if(v){var lt,ut="x"===O?r.Mn:r.kb,ht="x"===O?r.sQ:r.pG,ft=L[$],dt="y"===$?"height":"width",pt=ft+T[ut],gt=ft-T[ht],mt=-1!==[r.Mn,r.kb].indexOf(S),vt=null!=(lt=null==R?void 0:R[$])?lt:0,yt=mt?pt:ft-D[dt]-I[dt]-vt+N.altAxis,bt=mt?ft+D[dt]+I[dt]-vt-N.altAxis:gt,_t=E&&mt?(0,s.P)(yt,ft,bt):(0,s.u)(E?yt:pt,ft,E?bt:gt);L[$]=_t,M[$]=_t-ft}e.modifiersData[d]=M}},requiresIfExists:["offset"]}},1576:(t,e,n)=>{"use strict";n.d(e,{n4:()=>p});var r=n(455),i=n(9068),o=n(5059),s=n(1262),a=n(6607),c=n(8490),l=n(6489),u=n(4575),h=n(8256),f=n(9081),d=[i.A,o.A,s.A,a.A,c.A,l.A,u.A,h.A,f.A],p=(0,r.UD)({defaultModifiers:d})},1815:(t,e,n)=>{"use strict";n.d(e,{A:()=>a});var r=n(2632),i=n(8101),o=n(9703),s=n(4278);function a(t){var e,n=t.reference,a=t.element,c=t.placement,l=c?(0,r.A)(c):null,u=c?(0,i.A)(c):null,h=n.x+n.width/2-a.width/2,f=n.y+n.height/2-a.height/2;switch(l){case s.Mn:e={x:h,y:n.y-a.height};break;case s.sQ:e={x:h,y:n.y+n.height};break;case s.pG:e={x:n.x+n.width,y:f};break;case s.kb:e={x:n.x-a.width,y:f};break;default:e={x:n.x,y:n.y}}var d=l?(0,o.A)(l):null;if(null!=d){var p="y"===d?"height":"width";switch(u){case s.ni:e[d]=e[d]-(n[p]/2-a[p]/2);break;case s._N:e[d]=e[d]+(n[p]/2-a[p]/2)}}return e}},6249:(t,e,n)=>{"use strict";n.d(e,{A:()=>A});var r=n(4278),i=n(8979),o=n(9760),s=n(793),a=n(2283);var c=n(271),l=n(222),u=n(6906);var h=n(7579),f=n(7275),d=n(5581),p=n(6354),g=n(2083),m=n(5446),v=n(7604);function y(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function b(t,e,n){return e===r.R9?y(function(t,e){var n=(0,i.A)(t),r=(0,o.A)(t),c=n.visualViewport,l=r.clientWidth,u=r.clientHeight,h=0,f=0;if(c){l=c.width,u=c.height;var d=(0,a.A)();(d||!d&&"fixed"===e)&&(h=c.offsetLeft,f=c.offsetTop)}return{width:l,height:u,x:h+(0,s.A)(t),y:f}}(t,n)):(0,d.vq)(e)?function(t,e){var n=(0,p.A)(t,!1,"fixed"===e);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(e,n):y(function(t){var e,n=(0,o.A)(t),r=(0,l.A)(t),i=null==(e=t.ownerDocument)?void 0:e.body,a=(0,u.T9)(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),h=(0,u.T9)(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),f=-r.scrollLeft+(0,s.A)(t),d=-r.scrollTop;return"rtl"===(0,c.A)(i||n).direction&&(f+=(0,u.T9)(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:h,x:f,y:d}}((0,o.A)(t)))}function _(t,e,n,r){var i="clippingParents"===e?function(t){var e=(0,h.A)((0,g.A)(t)),n=["absolute","fixed"].indexOf((0,c.A)(t).position)>=0&&(0,d.sb)(t)?(0,f.A)(t):t;return(0,d.vq)(n)?e.filter((function(t){return(0,d.vq)(t)&&(0,m.A)(t,n)&&"body"!==(0,v.A)(t)})):[]}(t):[].concat(e),o=[].concat(i,[n]),s=o[0],a=o.reduce((function(e,n){var i=b(t,n,r);return e.top=(0,u.T9)(i.top,e.top),e.right=(0,u.jk)(i.right,e.right),e.bottom=(0,u.jk)(i.bottom,e.bottom),e.left=(0,u.T9)(i.left,e.left),e}),b(t,s,r));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}var w=n(1815),x=n(4318),E=n(1007);function A(t,e){void 0===e&&(e={});var n=e,i=n.placement,s=void 0===i?t.placement:i,a=n.strategy,c=void 0===a?t.strategy:a,l=n.boundary,u=void 0===l?r.WY:l,h=n.rootBoundary,f=void 0===h?r.R9:h,g=n.elementContext,m=void 0===g?r.xf:g,v=n.altBoundary,b=void 0!==v&&v,A=n.padding,C=void 0===A?0:A,T=(0,x.A)("number"!=typeof C?C:(0,E.A)(C,r.OM)),S=m===r.xf?r.ir:r.xf,k=t.rects.popper,P=t.elements[b?S:m],O=_((0,d.vq)(P)?P:P.contextElement||(0,o.A)(t.elements.popper),u,f,c),$=(0,p.A)(t.elements.reference),L=(0,w.A)({reference:$,element:k,strategy:"absolute",placement:s}),D=y(Object.assign({},k,L)),I=m===r.xf?D:$,j={top:O.top-I.top+T.top,bottom:I.bottom-O.bottom+T.bottom,left:O.left-I.left+T.left,right:I.right-O.right+T.right},N=t.modifiersData.offset;if(m===r.xf&&N){var R=N[s];Object.keys(j).forEach((function(t){var e=[r.pG,r.sQ].indexOf(t)>=0?1:-1,n=[r.Mn,r.sQ].indexOf(t)>=0?"y":"x";j[t]+=R[n]*e}))}return j}},1007:(t,e,n)=>{"use strict";function r(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}n.d(e,{A:()=>r})},2632:(t,e,n)=>{"use strict";function r(t){return t.split("-")[0]}n.d(e,{A:()=>r})},7364:(t,e,n)=>{"use strict";function r(){return{top:0,right:0,bottom:0,left:0}}n.d(e,{A:()=>r})},9703:(t,e,n)=>{"use strict";function r(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}n.d(e,{A:()=>r})},8101:(t,e,n)=>{"use strict";function r(t){return t.split("-")[1]}n.d(e,{A:()=>r})},6906:(t,e,n)=>{"use strict";n.d(e,{LI:()=>o,T9:()=>r,jk:()=>i});var r=Math.max,i=Math.min,o=Math.round},4318:(t,e,n)=>{"use strict";n.d(e,{A:()=>i});var r=n(7364);function i(t){return Object.assign({},(0,r.A)(),t)}},2398:(t,e,n)=>{"use strict";function r(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}n.d(e,{A:()=>r})},6523:(t,e,n)=>{"use strict";n.d(e,{P:()=>o,u:()=>i});var r=n(6906);function i(t,e,n){return(0,r.T9)(t,(0,r.jk)(e,n))}function o(t,e,n){var r=i(t,e,n);return r>n?n:r}},2505:(t,e,n)=>{t.exports=n(8015)},5592:(t,e,n)=>{"use strict";var r=n(9516),i=n(7522),o=n(3948),s=n(9106),a=n(9615),c=n(2012),l=n(4202),u=n(4896),h=n(5845),f=n(8563),d=n(5656);t.exports=function(t){return new Promise((function(e,n){var p,g=t.data,m=t.headers,v=t.responseType;function y(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}r.isFormData(g)&&r.isStandardBrowserEnv()&&delete m["Content-Type"];var b=new XMLHttpRequest;if(t.auth){var _=t.auth.username||"",w=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";m.Authorization="Basic "+btoa(_+":"+w)}var x=a(t.baseURL,t.url);function E(){if(b){var r="getAllResponseHeaders"in b?c(b.getAllResponseHeaders()):null,o={data:v&&"text"!==v&&"json"!==v?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:r,config:t,request:b};i((function(t){e(t),y()}),(function(t){n(t),y()}),o),b=null}}if(b.open(t.method.toUpperCase(),s(x,t.params,t.paramsSerializer),!0),b.timeout=t.timeout,"onloadend"in b?b.onloadend=E:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(E)},b.onabort=function(){b&&(n(new h("Request aborted",h.ECONNABORTED,t,b)),b=null)},b.onerror=function(){n(new h("Network Error",h.ERR_NETWORK,t,b,b)),b=null},b.ontimeout=function(){var e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded",r=t.transitional||u;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new h(e,r.clarifyTimeoutError?h.ETIMEDOUT:h.ECONNABORTED,t,b)),b=null},r.isStandardBrowserEnv()){var A=(t.withCredentials||l(x))&&t.xsrfCookieName?o.read(t.xsrfCookieName):void 0;A&&(m[t.xsrfHeaderName]=A)}"setRequestHeader"in b&&r.forEach(m,(function(t,e){void 0===g&&"content-type"===e.toLowerCase()?delete m[e]:b.setRequestHeader(e,t)})),r.isUndefined(t.withCredentials)||(b.withCredentials=!!t.withCredentials),v&&"json"!==v&&(b.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&b.addEventListener("progress",t.onDownloadProgress),"function"==typeof t.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",t.onUploadProgress),(t.cancelToken||t.signal)&&(p=function(t){b&&(n(!t||t&&t.type?new f:t),b.abort(),b=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p))),g||(g=null);var C=d(x);C&&-1===["http","https","file"].indexOf(C)?n(new h("Unsupported protocol "+C+":",h.ERR_BAD_REQUEST,t)):b.send(g)}))}},8015:(t,e,n)=>{"use strict";var r=n(9516),i=n(9012),o=n(5155),s=n(5343);var a=function t(e){var n=new o(e),a=i(o.prototype.request,n);return r.extend(a,o.prototype,n),r.extend(a,n),a.create=function(n){return t(s(e,n))},a}(n(7412));a.Axios=o,a.CanceledError=n(8563),a.CancelToken=n(3191),a.isCancel=n(3864),a.VERSION=n(9641).version,a.toFormData=n(6440),a.AxiosError=n(5845),a.Cancel=a.CanceledError,a.all=function(t){return Promise.all(t)},a.spread=n(7980),a.isAxiosError=n(5019),t.exports=a,t.exports.default=a},3191:(t,e,n)=>{"use strict";var r=n(8563);function i(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");var e;this.promise=new Promise((function(t){e=t}));var n=this;this.promise.then((function(t){if(n._listeners){var e,r=n._listeners.length;for(e=0;e<r;e++)n._listeners[e](t);n._listeners=null}})),this.promise.then=function(t){var e,r=new Promise((function(t){n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t){n.reason||(n.reason=new r(t),e(n.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.prototype.subscribe=function(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]},i.prototype.unsubscribe=function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}},i.source=function(){var t;return{token:new i((function(e){t=e})),cancel:t}},t.exports=i},8563:(t,e,n)=>{"use strict";var r=n(5845);function i(t){r.call(this,null==t?"canceled":t,r.ERR_CANCELED),this.name="CanceledError"}n(9516).inherits(i,r,{__CANCEL__:!0}),t.exports=i},3864:t=>{"use strict";t.exports=function(t){return!(!t||!t.__CANCEL__)}},5155:(t,e,n)=>{"use strict";var r=n(9516),i=n(9106),o=n(3471),s=n(4490),a=n(5343),c=n(9615),l=n(4841),u=l.validators;function h(t){this.defaults=t,this.interceptors={request:new o,response:new o}}h.prototype.request=function(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var n=e.transitional;void 0!==n&&l.assertOptions(n,{silentJSONParsing:u.transitional(u.boolean),forcedJSONParsing:u.transitional(u.boolean),clarifyTimeoutError:u.transitional(u.boolean)},!1);var r=[],i=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(i=i&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,c=[];if(this.interceptors.response.forEach((function(t){c.push(t.fulfilled,t.rejected)})),!i){var h=[s,void 0];for(Array.prototype.unshift.apply(h,r),h=h.concat(c),o=Promise.resolve(e);h.length;)o=o.then(h.shift(),h.shift());return o}for(var f=e;r.length;){var d=r.shift(),p=r.shift();try{f=d(f)}catch(t){p(t);break}}try{o=s(f)}catch(t){return Promise.reject(t)}for(;c.length;)o=o.then(c.shift(),c.shift());return o},h.prototype.getUri=function(t){t=a(this.defaults,t);var e=c(t.baseURL,t.url);return i(e,t.params,t.paramsSerializer)},r.forEach(["delete","get","head","options"],(function(t){h.prototype[t]=function(e,n){return this.request(a(n||{},{method:t,url:e,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request(a(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}h.prototype[t]=e(),h.prototype[t+"Form"]=e(!0)})),t.exports=h},5845:(t,e,n)=>{"use strict";var r=n(9516);function i(t,e,n,r,i){Error.call(this),this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}r.inherits(i,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var o=i.prototype,s={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(t){s[t]={value:t}})),Object.defineProperties(i,s),Object.defineProperty(o,"isAxiosError",{value:!0}),i.from=function(t,e,n,s,a,c){var l=Object.create(o);return r.toFlatObject(t,l,(function(t){return t!==Error.prototype})),i.call(l,t.message,e,n,s,a),l.name=t.name,c&&Object.assign(l,c),l},t.exports=i},3471:(t,e,n)=>{"use strict";var r=n(9516);function i(){this.handlers=[]}i.prototype.use=function(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1},i.prototype.eject=function(t){this.handlers[t]&&(this.handlers[t]=null)},i.prototype.forEach=function(t){r.forEach(this.handlers,(function(e){null!==e&&t(e)}))},t.exports=i},9615:(t,e,n)=>{"use strict";var r=n(9137),i=n(4680);t.exports=function(t,e){return t&&!r(e)?i(t,e):e}},4490:(t,e,n)=>{"use strict";var r=n(9516),i=n(2881),o=n(3864),s=n(7412),a=n(8563);function c(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new a}t.exports=function(t){return c(t),t.headers=t.headers||{},t.data=i.call(t,t.data,t.headers,t.transformRequest),t.headers=r.merge(t.headers.common||{},t.headers[t.method]||{},t.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function(e){delete t.headers[e]})),(t.adapter||s.adapter)(t).then((function(e){return c(t),e.data=i.call(t,e.data,e.headers,t.transformResponse),e}),(function(e){return o(e)||(c(t),e&&e.response&&(e.response.data=i.call(t,e.response.data,e.response.headers,t.transformResponse))),Promise.reject(e)}))}},5343:(t,e,n)=>{"use strict";var r=n(9516);t.exports=function(t,e){e=e||{};var n={};function i(t,e){return r.isPlainObject(t)&&r.isPlainObject(e)?r.merge(t,e):r.isPlainObject(e)?r.merge({},e):r.isArray(e)?e.slice():e}function o(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(t[n],e[n])}function s(t){if(!r.isUndefined(e[t]))return i(void 0,e[t])}function a(n){return r.isUndefined(e[n])?r.isUndefined(t[n])?void 0:i(void 0,t[n]):i(void 0,e[n])}function c(n){return n in e?i(t[n],e[n]):n in t?i(void 0,t[n]):void 0}var l={url:s,method:s,data:s,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,responseEncoding:a,validateStatus:c};return r.forEach(Object.keys(t).concat(Object.keys(e)),(function(t){var e=l[t]||o,i=e(t);r.isUndefined(i)&&e!==c||(n[t]=i)})),n}},7522:(t,e,n)=>{"use strict";var r=n(5845);t.exports=function(t,e,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?e(new r("Request failed with status code "+n.status,[r.ERR_BAD_REQUEST,r.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}},2881:(t,e,n)=>{"use strict";var r=n(9516),i=n(7412);t.exports=function(t,e,n){var o=this||i;return r.forEach(n,(function(n){t=n.call(o,t,e)})),t}},7412:(t,e,n)=>{"use strict";var r=n(5606),i=n(9516),o=n(7018),s=n(5845),a=n(4896),c=n(6440),l={"Content-Type":"application/x-www-form-urlencoded"};function u(t,e){!i.isUndefined(t)&&i.isUndefined(t["Content-Type"])&&(t["Content-Type"]=e)}var h,f={transitional:a,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==r&&"[object process]"===Object.prototype.toString.call(r))&&(h=n(5592)),h),transformRequest:[function(t,e){if(o(e,"Accept"),o(e,"Content-Type"),i.isFormData(t)||i.isArrayBuffer(t)||i.isBuffer(t)||i.isStream(t)||i.isFile(t)||i.isBlob(t))return t;if(i.isArrayBufferView(t))return t.buffer;if(i.isURLSearchParams(t))return u(e,"application/x-www-form-urlencoded;charset=utf-8"),t.toString();var n,r=i.isObject(t),s=e&&e["Content-Type"];if((n=i.isFileList(t))||r&&"multipart/form-data"===s){var a=this.env&&this.env.FormData;return c(n?{"files[]":t}:t,a&&new a)}return r||"application/json"===s?(u(e,"application/json"),function(t,e,n){if(i.isString(t))try{return(e||JSON.parse)(t),i.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){var e=this.transitional||f.transitional,n=e&&e.silentJSONParsing,r=e&&e.forcedJSONParsing,o=!n&&"json"===this.responseType;if(o||r&&i.isString(t)&&t.length)try{return JSON.parse(t)}catch(t){if(o){if("SyntaxError"===t.name)throw s.from(t,s.ERR_BAD_RESPONSE,this,null,this.response);throw t}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:n(1534)},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};i.forEach(["delete","get","head"],(function(t){f.headers[t]={}})),i.forEach(["post","put","patch"],(function(t){f.headers[t]=i.merge(l)})),t.exports=f},4896:t=>{"use strict";t.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},9641:t=>{t.exports={version:"0.27.2"}},9012:t=>{"use strict";t.exports=function(t,e){return function(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return t.apply(e,n)}}},9106:(t,e,n)=>{"use strict";var r=n(9516);function i(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}t.exports=function(t,e,n){if(!e)return t;var o;if(n)o=n(e);else if(r.isURLSearchParams(e))o=e.toString();else{var s=[];r.forEach(e,(function(t,e){null!=t&&(r.isArray(t)?e+="[]":t=[t],r.forEach(t,(function(t){r.isDate(t)?t=t.toISOString():r.isObject(t)&&(t=JSON.stringify(t)),s.push(i(e)+"="+i(t))})))})),o=s.join("&")}if(o){var a=t.indexOf("#");-1!==a&&(t=t.slice(0,a)),t+=(-1===t.indexOf("?")?"?":"&")+o}return t}},4680:t=>{"use strict";t.exports=function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}},3948:(t,e,n)=>{"use strict";var r=n(9516);t.exports=r.isStandardBrowserEnv()?{write:function(t,e,n,i,o,s){var a=[];a.push(t+"="+encodeURIComponent(e)),r.isNumber(n)&&a.push("expires="+new Date(n).toGMTString()),r.isString(i)&&a.push("path="+i),r.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(t){var e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},9137:t=>{"use strict";t.exports=function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}},5019:(t,e,n)=>{"use strict";var r=n(9516);t.exports=function(t){return r.isObject(t)&&!0===t.isAxiosError}},4202:(t,e,n)=>{"use strict";var r=n(9516);t.exports=r.isStandardBrowserEnv()?function(){var t,e=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function i(t){var r=t;return e&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=i(window.location.href),function(e){var n=r.isString(e)?i(e):e;return n.protocol===t.protocol&&n.host===t.host}}():function(){return!0}},7018:(t,e,n)=>{"use strict";var r=n(9516);t.exports=function(t,e){r.forEach(t,(function(n,r){r!==e&&r.toUpperCase()===e.toUpperCase()&&(t[e]=n,delete t[r])}))}},1534:t=>{t.exports=null},2012:(t,e,n)=>{"use strict";var r=n(9516),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];t.exports=function(t){var e,n,o,s={};return t?(r.forEach(t.split("\n"),(function(t){if(o=t.indexOf(":"),e=r.trim(t.substr(0,o)).toLowerCase(),n=r.trim(t.substr(o+1)),e){if(s[e]&&i.indexOf(e)>=0)return;s[e]="set-cookie"===e?(s[e]?s[e]:[]).concat([n]):s[e]?s[e]+", "+n:n}})),s):s}},5656:t=>{"use strict";t.exports=function(t){var e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}},7980:t=>{"use strict";t.exports=function(t){return function(e){return t.apply(null,e)}}},6440:(t,e,n)=>{"use strict";var r=n(8287).hp,i=n(9516);t.exports=function(t,e){e=e||new FormData;var n=[];function o(t){return null===t?"":i.isDate(t)?t.toISOString():i.isArrayBuffer(t)||i.isTypedArray(t)?"function"==typeof Blob?new Blob([t]):r.from(t):t}return function t(r,s){if(i.isPlainObject(r)||i.isArray(r)){if(-1!==n.indexOf(r))throw Error("Circular reference detected in "+s);n.push(r),i.forEach(r,(function(n,r){if(!i.isUndefined(n)){var a,c=s?s+"."+r:r;if(n&&!s&&"object"==typeof n)if(i.endsWith(r,"{}"))n=JSON.stringify(n);else if(i.endsWith(r,"[]")&&(a=i.toArray(n)))return void a.forEach((function(t){!i.isUndefined(t)&&e.append(c,o(t))}));t(n,c)}})),n.pop()}else e.append(s,o(r))}(t),e}},4841:(t,e,n)=>{"use strict";var r=n(9641).version,i=n(5845),o={};["object","boolean","number","function","string","symbol"].forEach((function(t,e){o[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));var s={};o.transitional=function(t,e,n){function o(t,e){return"[Axios v"+r+"] Transitional option '"+t+"'"+e+(n?". "+n:"")}return function(n,r,a){if(!1===t)throw new i(o(r," has been removed"+(e?" in "+e:"")),i.ERR_DEPRECATED);return e&&!s[r]&&(s[r]=!0,console.warn(o(r," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,r,a)}},t.exports={assertOptions:function(t,e,n){if("object"!=typeof t)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var r=Object.keys(t),o=r.length;o-- >0;){var s=r[o],a=e[s];if(a){var c=t[s],l=void 0===c||a(c,s,t);if(!0!==l)throw new i("option "+s+" must be "+l,i.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new i("Unknown option "+s,i.ERR_BAD_OPTION)}},validators:o}},9516:(t,e,n)=>{"use strict";var r,i=n(9012),o=Object.prototype.toString,s=(r=Object.create(null),function(t){var e=o.call(t);return r[e]||(r[e]=e.slice(8,-1).toLowerCase())});function a(t){return t=t.toLowerCase(),function(e){return s(e)===t}}function c(t){return Array.isArray(t)}function l(t){return void 0===t}var u=a("ArrayBuffer");function h(t){return null!==t&&"object"==typeof t}function f(t){if("object"!==s(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype}var d=a("Date"),p=a("File"),g=a("Blob"),m=a("FileList");function v(t){return"[object Function]"===o.call(t)}var y=a("URLSearchParams");function b(t,e){if(null!=t)if("object"!=typeof t&&(t=[t]),c(t))for(var n=0,r=t.length;n<r;n++)e.call(null,t[n],n,t);else for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.call(null,t[i],i,t)}var _,w=(_="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(t){return _&&t instanceof _});t.exports={isArray:c,isArrayBuffer:u,isBuffer:function(t){return null!==t&&!l(t)&&null!==t.constructor&&!l(t.constructor)&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)},isFormData:function(t){var e="[object FormData]";return t&&("function"==typeof FormData&&t instanceof FormData||o.call(t)===e||v(t.toString)&&t.toString()===e)},isArrayBufferView:function(t){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&u(t.buffer)},isString:function(t){return"string"==typeof t},isNumber:function(t){return"number"==typeof t},isObject:h,isPlainObject:f,isUndefined:l,isDate:d,isFile:p,isBlob:g,isFunction:v,isStream:function(t){return h(t)&&v(t.pipe)},isURLSearchParams:y,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function t(){var e={};function n(n,r){f(e[r])&&f(n)?e[r]=t(e[r],n):f(n)?e[r]=t({},n):c(n)?e[r]=n.slice():e[r]=n}for(var r=0,i=arguments.length;r<i;r++)b(arguments[r],n);return e},extend:function(t,e,n){return b(e,(function(e,r){t[r]=n&&"function"==typeof e?i(e,n):e})),t},trim:function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")},stripBOM:function(t){return 65279===t.charCodeAt(0)&&(t=t.slice(1)),t},inherits:function(t,e,n,r){t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,n&&Object.assign(t.prototype,n)},toFlatObject:function(t,e,n){var r,i,o,s={};e=e||{};do{for(i=(r=Object.getOwnPropertyNames(t)).length;i-- >0;)s[o=r[i]]||(e[o]=t[o],s[o]=!0);t=Object.getPrototypeOf(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:s,kindOfTest:a,endsWith:function(t,e,n){t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;var r=t.indexOf(e,n);return-1!==r&&r===n},toArray:function(t){if(!t)return null;var e=t.length;if(l(e))return null;for(var n=new Array(e);e-- >0;)n[e]=t[e];return n},isTypedArray:w,isFileList:m}},9716:(t,e,n)=>{window._=n(2543);try{n(6769).default,n(8747),window.$=window.jQuery=n(4692),n(5285),n(724),window.underscore=n(4476),n(5458)}catch(t){}window.BASE_URL="".concat(location.protocol,"//").concat(location.host),window.axios=n(2505);var r=document.head.querySelector('meta[name="csrf-token"]');r?(window.CSRF_TOKEN=r.content,window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content):console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token"),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest",window.httpRequest=axios.create({baseURL:"".concat(location.protocol,"//").concat(location.host),timeout:3e4,headers:{"content-type":"application/json"}})},7526:(t,e)=>{"use strict";e.byteLength=function(t){var e=a(t),n=e[0],r=e[1];return 3*(n+r)/4-r},e.toByteArray=function(t){var e,n,o=a(t),s=o[0],c=o[1],l=new i(function(t,e,n){return 3*(e+n)/4-n}(0,s,c)),u=0,h=c>0?s-4:s;for(n=0;n<h;n+=4)e=r[t.charCodeAt(n)]<<18|r[t.charCodeAt(n+1)]<<12|r[t.charCodeAt(n+2)]<<6|r[t.charCodeAt(n+3)],l[u++]=e>>16&255,l[u++]=e>>8&255,l[u++]=255&e;2===c&&(e=r[t.charCodeAt(n)]<<2|r[t.charCodeAt(n+1)]>>4,l[u++]=255&e);1===c&&(e=r[t.charCodeAt(n)]<<10|r[t.charCodeAt(n+1)]<<4|r[t.charCodeAt(n+2)]>>2,l[u++]=e>>8&255,l[u++]=255&e);return l},e.fromByteArray=function(t){for(var e,r=t.length,i=r%3,o=[],s=16383,a=0,l=r-i;a<l;a+=s)o.push(c(t,a,a+s>l?l:a+s));1===i?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===i&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0;s<64;++s)n[s]=o[s],r[o.charCodeAt(s)]=s;function a(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=t.indexOf("=");return-1===n&&(n=e),[n,n===e?0:4-n%4]}function c(t,e,r){for(var i,o,s=[],a=e;a<r;a+=3)i=(t[a]<<16&16711680)+(t[a+1]<<8&65280)+(255&t[a+2]),s.push(n[(o=i)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return s.join("")}r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63},8747:(t,e,n)=>{"use strict";n.r(e),n.d(e,{Alert:()=>Q,Button:()=>tt,Carousel:()=>Lt,Collapse:()=>Vt,Dropdown:()=>ve,Modal:()=>Qe,Offcanvas:()=>vn,Popover:()=>qn,ScrollSpy:()=>Kn,Tab:()=>br,Toast:()=>Ir,Tooltip:()=>Nn});var r=n(6769),i=n(1576);const o=new Map,s={set(t,e,n){o.has(t)||o.set(t,new Map);const r=o.get(t);r.has(e)||0===r.size?r.set(e,n):console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(r.keys())[0]}.`)},get:(t,e)=>o.has(t)&&o.get(t).get(e)||null,remove(t,e){if(!o.has(t))return;const n=o.get(t);n.delete(e),0===n.size&&o.delete(t)}},a="transitionend",c=t=>(t&&window.CSS&&window.CSS.escape&&(t=t.replace(/#([^\s"#']+)/g,((t,e)=>`#${CSS.escape(e)}`))),t),l=t=>{t.dispatchEvent(new Event(a))},u=t=>!(!t||"object"!=typeof t)&&(void 0!==t.jquery&&(t=t[0]),void 0!==t.nodeType),h=t=>u(t)?t.jquery?t[0]:t:"string"==typeof t&&t.length>0?document.querySelector(c(t)):null,f=t=>{if(!u(t)||0===t.getClientRects().length)return!1;const e="visible"===getComputedStyle(t).getPropertyValue("visibility"),n=t.closest("details:not([open])");if(!n)return e;if(n!==t){const e=t.closest("summary");if(e&&e.parentNode!==n)return!1;if(null===e)return!1}return e},d=t=>!t||t.nodeType!==Node.ELEMENT_NODE||(!!t.classList.contains("disabled")||(void 0!==t.disabled?t.disabled:t.hasAttribute("disabled")&&"false"!==t.getAttribute("disabled"))),p=t=>{if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){const e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?p(t.parentNode):null},g=()=>{},m=t=>{t.offsetHeight},v=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,y=[],b=()=>"rtl"===document.documentElement.dir,_=t=>{var e;e=()=>{const e=v();if(e){const n=t.NAME,r=e.fn[n];e.fn[n]=t.jQueryInterface,e.fn[n].Constructor=t,e.fn[n].noConflict=()=>(e.fn[n]=r,t.jQueryInterface)}},"loading"===document.readyState?(y.length||document.addEventListener("DOMContentLoaded",(()=>{for(const t of y)t()})),y.push(e)):e()},w=(t,e=[],n=t)=>"function"==typeof t?t(...e):n,x=(t,e,n=!0)=>{if(!n)return void w(t);const r=(t=>{if(!t)return 0;let{transitionDuration:e,transitionDelay:n}=window.getComputedStyle(t);const r=Number.parseFloat(e),i=Number.parseFloat(n);return r||i?(e=e.split(",")[0],n=n.split(",")[0],1e3*(Number.parseFloat(e)+Number.parseFloat(n))):0})(e)+5;let i=!1;const o=({target:n})=>{n===e&&(i=!0,e.removeEventListener(a,o),w(t))};e.addEventListener(a,o),setTimeout((()=>{i||l(e)}),r)},E=(t,e,n,r)=>{const i=t.length;let o=t.indexOf(e);return-1===o?!n&&r?t[i-1]:t[0]:(o+=n?1:-1,r&&(o=(o+i)%i),t[Math.max(0,Math.min(o,i-1))])},A=/[^.]*(?=\..*)\.|.*/,C=/\..*/,T=/::\d+$/,S={};let k=1;const P={mouseenter:"mouseover",mouseleave:"mouseout"},O=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 $(t,e){return e&&`${e}::${k++}`||t.uidEvent||k++}function L(t){const e=$(t);return t.uidEvent=e,S[e]=S[e]||{},S[e]}function D(t,e,n=null){return Object.values(t).find((t=>t.callable===e&&t.delegationSelector===n))}function I(t,e,n){const r="string"==typeof e,i=r?n:e||n;let o=M(t);return O.has(o)||(o=t),[r,i,o]}function j(t,e,n,r,i){if("string"!=typeof e||!t)return;let[o,s,a]=I(e,n,r);if(e in P){const t=t=>function(e){if(!e.relatedTarget||e.relatedTarget!==e.delegateTarget&&!e.delegateTarget.contains(e.relatedTarget))return t.call(this,e)};s=t(s)}const c=L(t),l=c[a]||(c[a]={}),u=D(l,s,o?n:null);if(u)return void(u.oneOff=u.oneOff&&i);const h=$(s,e.replace(A,"")),f=o?function(t,e,n){return function r(i){const o=t.querySelectorAll(e);for(let{target:s}=i;s&&s!==this;s=s.parentNode)for(const a of o)if(a===s)return F(i,{delegateTarget:s}),r.oneOff&&q.off(t,i.type,e,n),n.apply(s,[i])}}(t,n,s):function(t,e){return function n(r){return F(r,{delegateTarget:t}),n.oneOff&&q.off(t,r.type,e),e.apply(t,[r])}}(t,s);f.delegationSelector=o?n:null,f.callable=s,f.oneOff=i,f.uidEvent=h,l[h]=f,t.addEventListener(a,f,o)}function N(t,e,n,r,i){const o=D(e[n],r,i);o&&(t.removeEventListener(n,o,Boolean(i)),delete e[n][o.uidEvent])}function R(t,e,n,r){const i=e[n]||{};for(const[o,s]of Object.entries(i))o.includes(r)&&N(t,e,n,s.callable,s.delegationSelector)}function M(t){return t=t.replace(C,""),P[t]||t}const q={on(t,e,n,r){j(t,e,n,r,!1)},one(t,e,n,r){j(t,e,n,r,!0)},off(t,e,n,r){if("string"!=typeof e||!t)return;const[i,o,s]=I(e,n,r),a=s!==e,c=L(t),l=c[s]||{},u=e.startsWith(".");if(void 0===o){if(u)for(const n of Object.keys(c))R(t,c,n,e.slice(1));for(const[n,r]of Object.entries(l)){const i=n.replace(T,"");a&&!e.includes(i)||N(t,c,s,r.callable,r.delegationSelector)}}else{if(!Object.keys(l).length)return;N(t,c,s,o,i?n:null)}},trigger(t,e,n){if("string"!=typeof e||!t)return null;const r=v();let i=null,o=!0,s=!0,a=!1;e!==M(e)&&r&&(i=r.Event(e,n),r(t).trigger(i),o=!i.isPropagationStopped(),s=!i.isImmediatePropagationStopped(),a=i.isDefaultPrevented());const c=F(new Event(e,{bubbles:o,cancelable:!0}),n);return a&&c.preventDefault(),s&&t.dispatchEvent(c),c.defaultPrevented&&i&&i.preventDefault(),c}};function F(t,e={}){for(const[n,r]of Object.entries(e))try{t[n]=r}catch(e){Object.defineProperty(t,n,{configurable:!0,get:()=>r})}return t}function B(t){if("true"===t)return!0;if("false"===t)return!1;if(t===Number(t).toString())return Number(t);if(""===t||"null"===t)return null;if("string"!=typeof t)return t;try{return JSON.parse(decodeURIComponent(t))}catch(e){return t}}function H(t){return t.replace(/[A-Z]/g,(t=>`-${t.toLowerCase()}`))}const z={setDataAttribute(t,e,n){t.setAttribute(`data-bs-${H(e)}`,n)},removeDataAttribute(t,e){t.removeAttribute(`data-bs-${H(e)}`)},getDataAttributes(t){if(!t)return{};const e={},n=Object.keys(t.dataset).filter((t=>t.startsWith("bs")&&!t.startsWith("bsConfig")));for(const r of n){let n=r.replace(/^bs/,"");n=n.charAt(0).toLowerCase()+n.slice(1,n.length),e[n]=B(t.dataset[r])}return e},getDataAttribute:(t,e)=>B(t.getAttribute(`data-bs-${H(e)}`))};class W{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(t){return t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t}_mergeConfigObj(t,e){const n=u(e)?z.getDataAttribute(e,"config"):{};return{...this.constructor.Default,..."object"==typeof n?n:{},...u(e)?z.getDataAttributes(e):{},..."object"==typeof t?t:{}}}_typeCheckConfig(t,e=this.constructor.DefaultType){for(const[r,i]of Object.entries(e)){const e=t[r],o=u(e)?"element":null==(n=e)?`${n}`:Object.prototype.toString.call(n).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${r}" provided type "${o}" but expected type "${i}".`)}var n}}class U extends W{constructor(t,e){super(),(t=h(t))&&(this._element=t,this._config=this._getConfig(e),s.set(this._element,this.constructor.DATA_KEY,this))}dispose(){s.remove(this._element,this.constructor.DATA_KEY),q.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,e,n=!0){x(t,e,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return s.get(h(t),this.DATA_KEY)}static getOrCreateInstance(t,e={}){return this.getInstance(t)||new this(t,"object"==typeof e?e:null)}static get VERSION(){return"5.3.3"}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(t){return`${t}${this.EVENT_KEY}`}}const V=t=>{let e=t.getAttribute("data-bs-target");if(!e||"#"===e){let n=t.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n=`#${n.split("#")[1]}`),e=n&&"#"!==n?n.trim():null}return e?e.split(",").map((t=>c(t))).join(","):null},Y={find:(t,e=document.documentElement)=>[].concat(...Element.prototype.querySelectorAll.call(e,t)),findOne:(t,e=document.documentElement)=>Element.prototype.querySelector.call(e,t),children:(t,e)=>[].concat(...t.children).filter((t=>t.matches(e))),parents(t,e){const n=[];let r=t.parentNode.closest(e);for(;r;)n.push(r),r=r.parentNode.closest(e);return n},prev(t,e){let n=t.previousElementSibling;for(;n;){if(n.matches(e))return[n];n=n.previousElementSibling}return[]},next(t,e){let n=t.nextElementSibling;for(;n;){if(n.matches(e))return[n];n=n.nextElementSibling}return[]},focusableChildren(t){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map((t=>`${t}:not([tabindex^="-"])`)).join(",");return this.find(e,t).filter((t=>!d(t)&&f(t)))},getSelectorFromElement(t){const e=V(t);return e&&Y.findOne(e)?e:null},getElementFromSelector(t){const e=V(t);return e?Y.findOne(e):null},getMultipleElementsFromSelector(t){const e=V(t);return e?Y.find(e):[]}},X=(t,e="hide")=>{const n=`click.dismiss${t.EVENT_KEY}`,r=t.NAME;q.on(document,n,`[data-bs-dismiss="${r}"]`,(function(n){if(["A","AREA"].includes(this.tagName)&&n.preventDefault(),d(this))return;const i=Y.getElementFromSelector(this)||this.closest(`.${r}`);t.getOrCreateInstance(i)[e]()}))},G=".bs.alert",K=`close${G}`,Z=`closed${G}`;class Q extends U{static get NAME(){return"alert"}close(){if(q.trigger(this._element,K).defaultPrevented)return;this._element.classList.remove("show");const t=this._element.classList.contains("fade");this._queueCallback((()=>this._destroyElement()),this._element,t)}_destroyElement(){this._element.remove(),q.trigger(this._element,Z),this.dispose()}static jQueryInterface(t){return this.each((function(){const e=Q.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}X(Q,"close"),_(Q);const J='[data-bs-toggle="button"]';class tt extends U{static get NAME(){return"button"}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}static jQueryInterface(t){return this.each((function(){const e=tt.getOrCreateInstance(this);"toggle"===t&&e[t]()}))}}q.on(document,"click.bs.button.data-api",J,(t=>{t.preventDefault();const e=t.target.closest(J);tt.getOrCreateInstance(e).toggle()})),_(tt);const et=".bs.swipe",nt=`touchstart${et}`,rt=`touchmove${et}`,it=`touchend${et}`,ot=`pointerdown${et}`,st=`pointerup${et}`,at={endCallback:null,leftCallback:null,rightCallback:null},ct={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class lt extends W{constructor(t,e){super(),this._element=t,t&&lt.isSupported()&&(this._config=this._getConfig(e),this._deltaX=0,this._supportPointerEvents=Boolean(window.PointerEvent),this._initEvents())}static get Default(){return at}static get DefaultType(){return ct}static get NAME(){return"swipe"}dispose(){q.off(this._element,et)}_start(t){this._supportPointerEvents?this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX):this._deltaX=t.touches[0].clientX}_end(t){this._eventIsPointerPenTouch(t)&&(this._deltaX=t.clientX-this._deltaX),this._handleSwipe(),w(this._config.endCallback)}_move(t){this._deltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-this._deltaX}_handleSwipe(){const t=Math.abs(this._deltaX);if(t<=40)return;const e=t/this._deltaX;this._deltaX=0,e&&w(e>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(q.on(this._element,ot,(t=>this._start(t))),q.on(this._element,st,(t=>this._end(t))),this._element.classList.add("pointer-event")):(q.on(this._element,nt,(t=>this._start(t))),q.on(this._element,rt,(t=>this._move(t))),q.on(this._element,it,(t=>this._end(t))))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&("pen"===t.pointerType||"touch"===t.pointerType)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const ut=".bs.carousel",ht=".data-api",ft="next",dt="prev",pt="left",gt="right",mt=`slide${ut}`,vt=`slid${ut}`,yt=`keydown${ut}`,bt=`mouseenter${ut}`,_t=`mouseleave${ut}`,wt=`dragstart${ut}`,xt=`load${ut}${ht}`,Et=`click${ut}${ht}`,At="carousel",Ct="active",Tt=".active",St=".carousel-item",kt=Tt+St,Pt={ArrowLeft:gt,ArrowRight:pt},Ot={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},$t={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Lt extends U{constructor(t,e){super(t,e),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Y.findOne(".carousel-indicators",this._element),this._addEventListeners(),this._config.ride===At&&this.cycle()}static get Default(){return Ot}static get DefaultType(){return $t}static get NAME(){return"carousel"}next(){this._slide(ft)}nextWhenVisible(){!document.hidden&&f(this._element)&&this.next()}prev(){this._slide(dt)}pause(){this._isSliding&&l(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval((()=>this.nextWhenVisible()),this._config.interval)}_maybeEnableCycle(){this._config.ride&&(this._isSliding?q.one(this._element,vt,(()=>this.cycle())):this.cycle())}to(t){const e=this._getItems();if(t>e.length-1||t<0)return;if(this._isSliding)return void q.one(this._element,vt,(()=>this.to(t)));const n=this._getItemIndex(this._getActive());if(n===t)return;const r=t>n?ft:dt;this._slide(r,e[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&q.on(this._element,yt,(t=>this._keydown(t))),"hover"===this._config.pause&&(q.on(this._element,bt,(()=>this.pause())),q.on(this._element,_t,(()=>this._maybeEnableCycle()))),this._config.touch&&lt.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const t of Y.find(".carousel-item img",this._element))q.on(t,wt,(t=>t.preventDefault()));const t={leftCallback:()=>this._slide(this._directionToOrder(pt)),rightCallback:()=>this._slide(this._directionToOrder(gt)),endCallback:()=>{"hover"===this._config.pause&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout((()=>this._maybeEnableCycle()),500+this._config.interval))}};this._swipeHelper=new lt(this._element,t)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const e=Pt[t.key];e&&(t.preventDefault(),this._slide(this._directionToOrder(e)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const e=Y.findOne(Tt,this._indicatorsElement);e.classList.remove(Ct),e.removeAttribute("aria-current");const n=Y.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Ct),n.setAttribute("aria-current","true"))}_updateInterval(){const t=this._activeElement||this._getActive();if(!t)return;const e=Number.parseInt(t.getAttribute("data-bs-interval"),10);this._config.interval=e||this._config.defaultInterval}_slide(t,e=null){if(this._isSliding)return;const n=this._getActive(),r=t===ft,i=e||E(this._getItems(),n,r,this._config.wrap);if(i===n)return;const o=this._getItemIndex(i),s=e=>q.trigger(this._element,e,{relatedTarget:i,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(s(mt).defaultPrevented)return;if(!n||!i)return;const a=Boolean(this._interval);this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=i;const c=r?"carousel-item-start":"carousel-item-end",l=r?"carousel-item-next":"carousel-item-prev";i.classList.add(l),m(i),n.classList.add(c),i.classList.add(c);this._queueCallback((()=>{i.classList.remove(c,l),i.classList.add(Ct),n.classList.remove(Ct,l,c),this._isSliding=!1,s(vt)}),n,this._isAnimated()),a&&this.cycle()}_isAnimated(){return this._element.classList.contains("slide")}_getActive(){return Y.findOne(kt,this._element)}_getItems(){return Y.find(St,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return b()?t===pt?dt:ft:t===pt?ft:dt}_orderToDirection(t){return b()?t===dt?pt:gt:t===dt?gt:pt}static jQueryInterface(t){return this.each((function(){const e=Lt.getOrCreateInstance(this,t);if("number"!=typeof t){if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}else e.to(t)}))}}q.on(document,Et,"[data-bs-slide], [data-bs-slide-to]",(function(t){const e=Y.getElementFromSelector(this);if(!e||!e.classList.contains(At))return;t.preventDefault();const n=Lt.getOrCreateInstance(e),r=this.getAttribute("data-bs-slide-to");return r?(n.to(r),void n._maybeEnableCycle()):"next"===z.getDataAttribute(this,"slide")?(n.next(),void n._maybeEnableCycle()):(n.prev(),void n._maybeEnableCycle())})),q.on(window,xt,(()=>{const t=Y.find('[data-bs-ride="carousel"]');for(const e of t)Lt.getOrCreateInstance(e)})),_(Lt);const Dt=".bs.collapse",It=`show${Dt}`,jt=`shown${Dt}`,Nt=`hide${Dt}`,Rt=`hidden${Dt}`,Mt=`click${Dt}.data-api`,qt="show",Ft="collapse",Bt="collapsing",Ht=`:scope .${Ft} .${Ft}`,zt='[data-bs-toggle="collapse"]',Wt={parent:null,toggle:!0},Ut={parent:"(null|element)",toggle:"boolean"};class Vt extends U{constructor(t,e){super(t,e),this._isTransitioning=!1,this._triggerArray=[];const n=Y.find(zt);for(const t of n){const e=Y.getSelectorFromElement(t),n=Y.find(e).filter((t=>t===this._element));null!==e&&n.length&&this._triggerArray.push(t)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Wt}static get DefaultType(){return Ut}static get NAME(){return"collapse"}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(".collapse.show, .collapse.collapsing").filter((t=>t!==this._element)).map((t=>Vt.getOrCreateInstance(t,{toggle:!1})))),t.length&&t[0]._isTransitioning)return;if(q.trigger(this._element,It).defaultPrevented)return;for(const e of t)e.hide();const e=this._getDimension();this._element.classList.remove(Ft),this._element.classList.add(Bt),this._element.style[e]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const n=`scroll${e[0].toUpperCase()+e.slice(1)}`;this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Bt),this._element.classList.add(Ft,qt),this._element.style[e]="",q.trigger(this._element,jt)}),this._element,!0),this._element.style[e]=`${this._element[n]}px`}hide(){if(this._isTransitioning||!this._isShown())return;if(q.trigger(this._element,Nt).defaultPrevented)return;const t=this._getDimension();this._element.style[t]=`${this._element.getBoundingClientRect()[t]}px`,m(this._element),this._element.classList.add(Bt),this._element.classList.remove(Ft,qt);for(const t of this._triggerArray){const e=Y.getElementFromSelector(t);e&&!this._isShown(e)&&this._addAriaAndCollapsedClass([t],!1)}this._isTransitioning=!0;this._element.style[t]="",this._queueCallback((()=>{this._isTransitioning=!1,this._element.classList.remove(Bt),this._element.classList.add(Ft),q.trigger(this._element,Rt)}),this._element,!0)}_isShown(t=this._element){return t.classList.contains(qt)}_configAfterMerge(t){return t.toggle=Boolean(t.toggle),t.parent=h(t.parent),t}_getDimension(){return this._element.classList.contains("collapse-horizontal")?"width":"height"}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(zt);for(const e of t){const t=Y.getElementFromSelector(e);t&&this._addAriaAndCollapsedClass([e],this._isShown(t))}}_getFirstLevelChildren(t){const e=Y.find(Ht,this._config.parent);return Y.find(t,this._config.parent).filter((t=>!e.includes(t)))}_addAriaAndCollapsedClass(t,e){if(t.length)for(const n of t)n.classList.toggle("collapsed",!e),n.setAttribute("aria-expanded",e)}static jQueryInterface(t){const e={};return"string"==typeof t&&/show|hide/.test(t)&&(e.toggle=!1),this.each((function(){const n=Vt.getOrCreateInstance(this,e);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t]()}}))}}q.on(document,Mt,zt,(function(t){("A"===t.target.tagName||t.delegateTarget&&"A"===t.delegateTarget.tagName)&&t.preventDefault();for(const t of Y.getMultipleElementsFromSelector(this))Vt.getOrCreateInstance(t,{toggle:!1}).toggle()})),_(Vt);const Yt="dropdown",Xt=".bs.dropdown",Gt=".data-api",Kt="ArrowUp",Zt="ArrowDown",Qt=`hide${Xt}`,Jt=`hidden${Xt}`,te=`show${Xt}`,ee=`shown${Xt}`,ne=`click${Xt}${Gt}`,re=`keydown${Xt}${Gt}`,ie=`keyup${Xt}${Gt}`,oe="show",se='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',ae=`${se}.${oe}`,ce=".dropdown-menu",le=b()?"top-end":"top-start",ue=b()?"top-start":"top-end",he=b()?"bottom-end":"bottom-start",fe=b()?"bottom-start":"bottom-end",de=b()?"left-start":"right-start",pe=b()?"right-start":"left-start",ge={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},me={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class ve extends U{constructor(t,e){super(t,e),this._popper=null,this._parent=this._element.parentNode,this._menu=Y.next(this._element,ce)[0]||Y.prev(this._element,ce)[0]||Y.findOne(ce,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return ge}static get DefaultType(){return me}static get NAME(){return Yt}toggle(){return this._isShown()?this.hide():this.show()}show(){if(d(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!q.trigger(this._element,te,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(".navbar-nav"))for(const t of[].concat(...document.body.children))q.on(t,"mouseover",g);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(oe),this._element.classList.add(oe),q.trigger(this._element,ee,t)}}hide(){if(d(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!q.trigger(this._element,Qt,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))q.off(t,"mouseover",g);this._popper&&this._popper.destroy(),this._menu.classList.remove(oe),this._element.classList.remove(oe),this._element.setAttribute("aria-expanded","false"),z.removeDataAttribute(this._menu,"popper"),q.trigger(this._element,Jt,t)}}_getConfig(t){if("object"==typeof(t=super._getConfig(t)).reference&&!u(t.reference)&&"function"!=typeof t.reference.getBoundingClientRect)throw new TypeError(`${Yt.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(void 0===r)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;"parent"===this._config.reference?t=this._parent:u(this._config.reference)?t=h(this._config.reference):"object"==typeof this._config.reference&&(t=this._config.reference);const e=this._getPopperConfig();this._popper=i.n4(t,this._menu,e)}_isShown(){return this._menu.classList.contains(oe)}_getPlacement(){const t=this._parent;if(t.classList.contains("dropend"))return de;if(t.classList.contains("dropstart"))return pe;if(t.classList.contains("dropup-center"))return"top";if(t.classList.contains("dropdown-center"))return"bottom";const e="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return t.classList.contains("dropup")?e?ue:le:e?fe:he}_detectNavbar(){return null!==this._element.closest(".navbar")}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_getPopperConfig(){const t={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||"static"===this._config.display)&&(z.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...w(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:e}){const n=Y.find(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter((t=>f(t)));n.length&&E(n,e,t===Zt,!n.includes(e)).focus()}static jQueryInterface(t){return this.each((function(){const e=ve.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}static clearMenus(t){if(2===t.button||"keyup"===t.type&&"Tab"!==t.key)return;const e=Y.find(ae);for(const n of e){const e=ve.getInstance(n);if(!e||!1===e._config.autoClose)continue;const r=t.composedPath(),i=r.includes(e._menu);if(r.includes(e._element)||"inside"===e._config.autoClose&&!i||"outside"===e._config.autoClose&&i)continue;if(e._menu.contains(t.target)&&("keyup"===t.type&&"Tab"===t.key||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const o={relatedTarget:e._element};"click"===t.type&&(o.clickEvent=t),e._completeHide(o)}}static dataApiKeydownHandler(t){const e=/input|textarea/i.test(t.target.tagName),n="Escape"===t.key,r=[Kt,Zt].includes(t.key);if(!r&&!n)return;if(e&&!n)return;t.preventDefault();const i=this.matches(se)?this:Y.prev(this,se)[0]||Y.next(this,se)[0]||Y.findOne(se,t.delegateTarget.parentNode),o=ve.getOrCreateInstance(i);if(r)return t.stopPropagation(),o.show(),void o._selectMenuItem(t);o._isShown()&&(t.stopPropagation(),o.hide(),i.focus())}}q.on(document,re,se,ve.dataApiKeydownHandler),q.on(document,re,ce,ve.dataApiKeydownHandler),q.on(document,ne,ve.clearMenus),q.on(document,ie,ve.clearMenus),q.on(document,ne,se,(function(t){t.preventDefault(),ve.getOrCreateInstance(this).toggle()})),_(ve);const ye="backdrop",be="show",_e=`mousedown.bs.${ye}`,we={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},xe={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Ee extends W{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return we}static get DefaultType(){return xe}static get NAME(){return ye}show(t){if(!this._config.isVisible)return void w(t);this._append();const e=this._getElement();this._config.isAnimated&&m(e),e.classList.add(be),this._emulateAnimation((()=>{w(t)}))}hide(t){this._config.isVisible?(this._getElement().classList.remove(be),this._emulateAnimation((()=>{this.dispose(),w(t)}))):w(t)}dispose(){this._isAppended&&(q.off(this._element,_e),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add("fade"),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=h(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),q.on(t,_e,(()=>{w(this._config.clickCallback)})),this._isAppended=!0}_emulateAnimation(t){x(t,this._getElement(),this._config.isAnimated)}}const Ae=".bs.focustrap",Ce=`focusin${Ae}`,Te=`keydown.tab${Ae}`,Se="backward",ke={autofocus:!0,trapElement:null},Pe={autofocus:"boolean",trapElement:"element"};class Oe extends W{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return ke}static get DefaultType(){return Pe}static get NAME(){return"focustrap"}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),q.off(document,Ae),q.on(document,Ce,(t=>this._handleFocusin(t))),q.on(document,Te,(t=>this._handleKeydown(t))),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,q.off(document,Ae))}_handleFocusin(t){const{trapElement:e}=this._config;if(t.target===document||t.target===e||e.contains(t.target))return;const n=Y.focusableChildren(e);0===n.length?e.focus():this._lastTabNavDirection===Se?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){"Tab"===t.key&&(this._lastTabNavDirection=t.shiftKey?Se:"forward")}}const $e=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Le=".sticky-top",De="padding-right",Ie="margin-right";class je{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,De,(e=>e+t)),this._setElementAttributes($e,De,(e=>e+t)),this._setElementAttributes(Le,Ie,(e=>e-t))}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,De),this._resetElementAttributes($e,De),this._resetElementAttributes(Le,Ie)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,e,n){const r=this.getWidth();this._applyManipulationCallback(t,(t=>{if(t!==this._element&&window.innerWidth>t.clientWidth+r)return;this._saveInitialAttribute(t,e);const i=window.getComputedStyle(t).getPropertyValue(e);t.style.setProperty(e,`${n(Number.parseFloat(i))}px`)}))}_saveInitialAttribute(t,e){const n=t.style.getPropertyValue(e);n&&z.setDataAttribute(t,e,n)}_resetElementAttributes(t,e){this._applyManipulationCallback(t,(t=>{const n=z.getDataAttribute(t,e);null!==n?(z.removeDataAttribute(t,e),t.style.setProperty(e,n)):t.style.removeProperty(e)}))}_applyManipulationCallback(t,e){if(u(t))e(t);else for(const n of Y.find(t,this._element))e(n)}}const Ne=".bs.modal",Re=`hide${Ne}`,Me=`hidePrevented${Ne}`,qe=`hidden${Ne}`,Fe=`show${Ne}`,Be=`shown${Ne}`,He=`resize${Ne}`,ze=`click.dismiss${Ne}`,We=`mousedown.dismiss${Ne}`,Ue=`keydown.dismiss${Ne}`,Ve=`click${Ne}.data-api`,Ye="modal-open",Xe="show",Ge="modal-static",Ke={backdrop:!0,focus:!0,keyboard:!0},Ze={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class Qe extends U{constructor(t,e){super(t,e),this._dialog=Y.findOne(".modal-dialog",this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new je,this._addEventListeners()}static get Default(){return Ke}static get DefaultType(){return Ze}static get NAME(){return"modal"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||this._isTransitioning)return;q.trigger(this._element,Fe,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Ye),this._adjustDialog(),this._backdrop.show((()=>this._showElement(t))))}hide(){if(!this._isShown||this._isTransitioning)return;q.trigger(this._element,Re).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(Xe),this._queueCallback((()=>this._hideModal()),this._element,this._isAnimated()))}dispose(){q.off(window,Ne),q.off(this._dialog,Ne),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Ee({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Oe({trapElement:this._element})}_showElement(t){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 e=Y.findOne(".modal-body",this._dialog);e&&(e.scrollTop=0),m(this._element),this._element.classList.add(Xe);this._queueCallback((()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,q.trigger(this._element,Be,{relatedTarget:t})}),this._dialog,this._isAnimated())}_addEventListeners(){q.on(this._element,Ue,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():this._triggerBackdropTransition())})),q.on(window,He,(()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()})),q.on(this._element,We,(t=>{q.one(this._element,ze,(e=>{this._element===t.target&&this._element===e.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(Ye),this._resetAdjustments(),this._scrollBar.reset(),q.trigger(this._element,qe)}))}_isAnimated(){return this._element.classList.contains("fade")}_triggerBackdropTransition(){if(q.trigger(this._element,Me).defaultPrevented)return;const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._element.style.overflowY;"hidden"===e||this._element.classList.contains(Ge)||(t||(this._element.style.overflowY="hidden"),this._element.classList.add(Ge),this._queueCallback((()=>{this._element.classList.remove(Ge),this._queueCallback((()=>{this._element.style.overflowY=e}),this._dialog)}),this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,e=this._scrollBar.getWidth(),n=e>0;if(n&&!t){const t=b()?"paddingLeft":"paddingRight";this._element.style[t]=`${e}px`}if(!n&&t){const t=b()?"paddingRight":"paddingLeft";this._element.style[t]=`${e}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,e){return this.each((function(){const n=Qe.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===n[t])throw new TypeError(`No method named "${t}"`);n[t](e)}}))}}q.on(document,Ve,'[data-bs-toggle="modal"]',(function(t){const e=Y.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&t.preventDefault(),q.one(e,Fe,(t=>{t.defaultPrevented||q.one(e,qe,(()=>{f(this)&&this.focus()}))}));const n=Y.findOne(".modal.show");n&&Qe.getInstance(n).hide();Qe.getOrCreateInstance(e).toggle(this)})),X(Qe),_(Qe);const Je=".bs.offcanvas",tn=".data-api",en=`load${Je}${tn}`,nn="show",rn="showing",on="hiding",sn=".offcanvas.show",an=`show${Je}`,cn=`shown${Je}`,ln=`hide${Je}`,un=`hidePrevented${Je}`,hn=`hidden${Je}`,fn=`resize${Je}`,dn=`click${Je}${tn}`,pn=`keydown.dismiss${Je}`,gn={backdrop:!0,keyboard:!0,scroll:!1},mn={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class vn extends U{constructor(t,e){super(t,e),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return gn}static get DefaultType(){return mn}static get NAME(){return"offcanvas"}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown)return;if(q.trigger(this._element,an,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||(new je).hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(rn);this._queueCallback((()=>{this._config.scroll&&!this._config.backdrop||this._focustrap.activate(),this._element.classList.add(nn),this._element.classList.remove(rn),q.trigger(this._element,cn,{relatedTarget:t})}),this._element,!0)}hide(){if(!this._isShown)return;if(q.trigger(this._element,ln).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(on),this._backdrop.hide();this._queueCallback((()=>{this._element.classList.remove(nn,on),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||(new je).reset(),q.trigger(this._element,hn)}),this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=Boolean(this._config.backdrop);return new Ee({className:"offcanvas-backdrop",isVisible:t,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:t?()=>{"static"!==this._config.backdrop?this.hide():q.trigger(this._element,un)}:null})}_initializeFocusTrap(){return new Oe({trapElement:this._element})}_addEventListeners(){q.on(this._element,pn,(t=>{"Escape"===t.key&&(this._config.keyboard?this.hide():q.trigger(this._element,un))}))}static jQueryInterface(t){return this.each((function(){const e=vn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}q.on(document,dn,'[data-bs-toggle="offcanvas"]',(function(t){const e=Y.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this))return;q.one(e,hn,(()=>{f(this)&&this.focus()}));const n=Y.findOne(sn);n&&n!==e&&vn.getInstance(n).hide();vn.getOrCreateInstance(e).toggle(this)})),q.on(window,en,(()=>{for(const t of Y.find(sn))vn.getOrCreateInstance(t).show()})),q.on(window,fn,(()=>{for(const t of Y.find("[aria-modal][class*=show][class*=offcanvas-]"))"fixed"!==getComputedStyle(t).position&&vn.getOrCreateInstance(t).hide()})),X(vn),_(vn);const yn={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],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:[]},bn=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),_n=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,wn=(t,e)=>{const n=t.nodeName.toLowerCase();return e.includes(n)?!bn.has(n)||Boolean(_n.test(t.nodeValue)):e.filter((t=>t instanceof RegExp)).some((t=>t.test(n)))};const xn={allowList:yn,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},En={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},An={entry:"(string|element|function|null)",selector:"(string|element)"};class Cn extends W{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return xn}static get DefaultType(){return En}static get NAME(){return"TemplateFactory"}getContent(){return Object.values(this._config.content).map((t=>this._resolvePossibleFunction(t))).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[e,n]of Object.entries(this._config.content))this._setContent(t,n,e);const e=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&e.classList.add(...n.split(" ")),e}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[e,n]of Object.entries(t))super._typeCheckConfig({selector:e,entry:n},An)}_setContent(t,e,n){const r=Y.findOne(n,t);r&&((e=this._resolvePossibleFunction(e))?u(e)?this._putElementInTemplate(h(e),r):this._config.html?r.innerHTML=this._maybeSanitize(e):r.textContent=e:r.remove())}_maybeSanitize(t){return this._config.sanitize?function(t,e,n){if(!t.length)return t;if(n&&"function"==typeof n)return n(t);const r=(new window.DOMParser).parseFromString(t,"text/html"),i=[].concat(...r.body.querySelectorAll("*"));for(const t of i){const n=t.nodeName.toLowerCase();if(!Object.keys(e).includes(n)){t.remove();continue}const r=[].concat(...t.attributes),i=[].concat(e["*"]||[],e[n]||[]);for(const e of r)wn(e,i)||t.removeAttribute(e.nodeName)}return r.body.innerHTML}(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return w(t,[this])}_putElementInTemplate(t,e){if(this._config.html)return e.innerHTML="",void e.append(t);e.textContent=t.textContent}}const Tn=new Set(["sanitize","allowList","sanitizeFn"]),Sn="fade",kn="show",Pn=".modal",On="hide.bs.modal",$n="hover",Ln="focus",Dn={AUTO:"auto",TOP:"top",RIGHT:b()?"left":"right",BOTTOM:"bottom",LEFT:b()?"right":"left"},In={allowList:yn,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"},jn={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 Nn extends U{constructor(t,e){if(void 0===r)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(t,e),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 In}static get DefaultType(){return jn}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),q.off(this._element.closest(Pn),On,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 t=q.trigger(this._element,this.constructor.eventName("show")),e=(p(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!e)return;this._disposePopper();const n=this._getTipElement();this._element.setAttribute("aria-describedby",n.getAttribute("id"));const{container:r}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(r.append(n),q.trigger(this._element,this.constructor.eventName("inserted"))),this._popper=this._createPopper(n),n.classList.add(kn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))q.on(t,"mouseover",g);this._queueCallback((()=>{q.trigger(this._element,this.constructor.eventName("shown")),!1===this._isHovered&&this._leave(),this._isHovered=!1}),this.tip,this._isAnimated())}hide(){if(!this._isShown())return;if(q.trigger(this._element,this.constructor.eventName("hide")).defaultPrevented)return;if(this._getTipElement().classList.remove(kn),"ontouchstart"in document.documentElement)for(const t of[].concat(...document.body.children))q.off(t,"mouseover",g);this._activeTrigger.click=!1,this._activeTrigger[Ln]=!1,this._activeTrigger[$n]=!1,this._isHovered=null;this._queueCallback((()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),q.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(t){const e=this._getTemplateFactory(t).toHtml();if(!e)return null;e.classList.remove(Sn,kn),e.classList.add(`bs-${this.constructor.NAME}-auto`);const n=(t=>{do{t+=Math.floor(1e6*Math.random())}while(document.getElementById(t));return t})(this.constructor.NAME).toString();return e.setAttribute("id",n),this._isAnimated()&&e.classList.add(Sn),e}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new Cn({...this._config,content:t,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(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(Sn)}_isShown(){return this.tip&&this.tip.classList.contains(kn)}_createPopper(t){const e=w(this._config.placement,[this,t,this._element]),n=Dn[e.toUpperCase()];return i.n4(this._element,t,this._getPopperConfig(n))}_getOffset(){const{offset:t}=this._config;return"string"==typeof t?t.split(",").map((t=>Number.parseInt(t,10))):"function"==typeof t?e=>t(e,this._element):t}_resolvePossibleFunction(t){return w(t,[this._element])}_getPopperConfig(t){const e={placement:t,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:t=>{this._getTipElement().setAttribute("data-popper-placement",t.state.placement)}}]};return{...e,...w(this._config.popperConfig,[e])}}_setListeners(){const t=this._config.trigger.split(" ");for(const e of t)if("click"===e)q.on(this._element,this.constructor.eventName("click"),this._config.selector,(t=>{this._initializeOnDelegatedTarget(t).toggle()}));else if("manual"!==e){const t=e===$n?this.constructor.eventName("mouseenter"):this.constructor.eventName("focusin"),n=e===$n?this.constructor.eventName("mouseleave"):this.constructor.eventName("focusout");q.on(this._element,t,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusin"===t.type?Ln:$n]=!0,e._enter()})),q.on(this._element,n,this._config.selector,(t=>{const e=this._initializeOnDelegatedTarget(t);e._activeTrigger["focusout"===t.type?Ln:$n]=e._element.contains(t.relatedTarget),e._leave()}))}this._hideModalHandler=()=>{this._element&&this.hide()},q.on(this._element.closest(Pn),On,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(this._element.getAttribute("aria-label")||this._element.textContent.trim()||this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),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(t,e){clearTimeout(this._timeout),this._timeout=setTimeout(t,e)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const e=z.getDataAttributes(this._element);for(const t of Object.keys(e))Tn.has(t)&&delete e[t];return t={...e,..."object"==typeof t&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=!1===t.container?document.body:h(t.container),"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),t}_getDelegateConfig(){const t={};for(const[e,n]of Object.entries(this._config))this.constructor.Default[e]!==n&&(t[e]=n);return t.selector=!1,t.trigger="manual",t}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(t){return this.each((function(){const e=Nn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}_(Nn);const Rn={...Nn.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"},Mn={...Nn.DefaultType,content:"(null|string|element|function)"};class qn extends Nn{static get Default(){return Rn}static get DefaultType(){return Mn}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(t){return this.each((function(){const e=qn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t]()}}))}}_(qn);const Fn=".bs.scrollspy",Bn=`activate${Fn}`,Hn=`click${Fn}`,zn=`load${Fn}.data-api`,Wn="active",Un="[href]",Vn=".nav-link",Yn=`${Vn}, .nav-item > ${Vn}, .list-group-item`,Xn={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},Gn={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class Kn extends U{constructor(t,e){super(t,e),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 Xn}static get DefaultType(){return Gn}static get NAME(){return"scrollspy"}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const t of this._observableSections.values())this._observer.observe(t)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(t){return t.target=h(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,"string"==typeof t.threshold&&(t.threshold=t.threshold.split(",").map((t=>Number.parseFloat(t)))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(q.off(this._config.target,Hn),q.on(this._config.target,Hn,Un,(t=>{const e=this._observableSections.get(t.target.hash);if(e){t.preventDefault();const n=this._rootElement||window,r=e.offsetTop-this._element.offsetTop;if(n.scrollTo)return void n.scrollTo({top:r,behavior:"smooth"});n.scrollTop=r}})))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver((t=>this._observerCallback(t)),t)}_observerCallback(t){const e=t=>this._targetLinks.get(`#${t.target.id}`),n=t=>{this._previousScrollData.visibleEntryTop=t.target.offsetTop,this._process(e(t))},r=(this._rootElement||document.documentElement).scrollTop,i=r>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=r;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(e(o));continue}const t=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(i&&t){if(n(o),!r)return}else i||t||n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Y.find(Un,this._config.target);for(const e of t){if(!e.hash||d(e))continue;const t=Y.findOne(decodeURI(e.hash),this._element);f(t)&&(this._targetLinks.set(decodeURI(e.hash),e),this._observableSections.set(e.hash,t))}}_process(t){this._activeTarget!==t&&(this._clearActiveClass(this._config.target),this._activeTarget=t,t.classList.add(Wn),this._activateParents(t),q.trigger(this._element,Bn,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains("dropdown-item"))Y.findOne(".dropdown-toggle",t.closest(".dropdown")).classList.add(Wn);else for(const e of Y.parents(t,".nav, .list-group"))for(const t of Y.prev(e,Yn))t.classList.add(Wn)}_clearActiveClass(t){t.classList.remove(Wn);const e=Y.find(`${Un}.${Wn}`,t);for(const t of e)t.classList.remove(Wn)}static jQueryInterface(t){return this.each((function(){const e=Kn.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}q.on(window,zn,(()=>{for(const t of Y.find('[data-bs-spy="scroll"]'))Kn.getOrCreateInstance(t)})),_(Kn);const Zn=".bs.tab",Qn=`hide${Zn}`,Jn=`hidden${Zn}`,tr=`show${Zn}`,er=`shown${Zn}`,nr=`click${Zn}`,rr=`keydown${Zn}`,ir=`load${Zn}`,or="ArrowLeft",sr="ArrowRight",ar="ArrowUp",cr="ArrowDown",lr="Home",ur="End",hr="active",fr="fade",dr="show",pr=".dropdown-toggle",gr=`:not(${pr})`,mr='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',vr=`${`.nav-link${gr}, .list-group-item${gr}, [role="tab"]${gr}`}, ${mr}`,yr=`.${hr}[data-bs-toggle="tab"], .${hr}[data-bs-toggle="pill"], .${hr}[data-bs-toggle="list"]`;class br extends U{constructor(t){super(t),this._parent=this._element.closest('.list-group, .nav, [role="tablist"]'),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),q.on(this._element,rr,(t=>this._keydown(t))))}static get NAME(){return"tab"}show(){const t=this._element;if(this._elemIsActive(t))return;const e=this._getActiveElem(),n=e?q.trigger(e,Qn,{relatedTarget:t}):null;q.trigger(t,tr,{relatedTarget:e}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(e,t),this._activate(t,e))}_activate(t,e){if(!t)return;t.classList.add(hr),this._activate(Y.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),q.trigger(t,er,{relatedTarget:e})):t.classList.add(dr)}),t,t.classList.contains(fr))}_deactivate(t,e){if(!t)return;t.classList.remove(hr),t.blur(),this._deactivate(Y.getElementFromSelector(t));this._queueCallback((()=>{"tab"===t.getAttribute("role")?(t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),q.trigger(t,Jn,{relatedTarget:e})):t.classList.remove(dr)}),t,t.classList.contains(fr))}_keydown(t){if(![or,sr,ar,cr,lr,ur].includes(t.key))return;t.stopPropagation(),t.preventDefault();const e=this._getChildren().filter((t=>!d(t)));let n;if([lr,ur].includes(t.key))n=e[t.key===lr?0:e.length-1];else{const r=[sr,cr].includes(t.key);n=E(e,t.target,r,!0)}n&&(n.focus({preventScroll:!0}),br.getOrCreateInstance(n).show())}_getChildren(){return Y.find(vr,this._parent)}_getActiveElem(){return this._getChildren().find((t=>this._elemIsActive(t)))||null}_setInitialAttributes(t,e){this._setAttributeIfNotExists(t,"role","tablist");for(const t of e)this._setInitialAttributesOnChild(t)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const e=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",e),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),e||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const e=Y.getElementFromSelector(t);e&&(this._setAttributeIfNotExists(e,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(e,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,e){const n=this._getOuterElement(t);if(!n.classList.contains("dropdown"))return;const r=(t,r)=>{const i=Y.findOne(t,n);i&&i.classList.toggle(r,e)};r(pr,hr),r(".dropdown-menu",dr),n.setAttribute("aria-expanded",e)}_setAttributeIfNotExists(t,e,n){t.hasAttribute(e)||t.setAttribute(e,n)}_elemIsActive(t){return t.classList.contains(hr)}_getInnerElement(t){return t.matches(vr)?t:Y.findOne(vr,t)}_getOuterElement(t){return t.closest(".nav-item, .list-group-item")||t}static jQueryInterface(t){return this.each((function(){const e=br.getOrCreateInstance(this);if("string"==typeof t){if(void 0===e[t]||t.startsWith("_")||"constructor"===t)throw new TypeError(`No method named "${t}"`);e[t]()}}))}}q.on(document,nr,mr,(function(t){["A","AREA"].includes(this.tagName)&&t.preventDefault(),d(this)||br.getOrCreateInstance(this).show()})),q.on(window,ir,(()=>{for(const t of Y.find(yr))br.getOrCreateInstance(t)})),_(br);const _r=".bs.toast",wr=`mouseover${_r}`,xr=`mouseout${_r}`,Er=`focusin${_r}`,Ar=`focusout${_r}`,Cr=`hide${_r}`,Tr=`hidden${_r}`,Sr=`show${_r}`,kr=`shown${_r}`,Pr="hide",Or="show",$r="showing",Lr={animation:"boolean",autohide:"boolean",delay:"number"},Dr={animation:!0,autohide:!0,delay:5e3};class Ir extends U{constructor(t,e){super(t,e),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Dr}static get DefaultType(){return Lr}static get NAME(){return"toast"}show(){if(q.trigger(this._element,Sr).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(Pr),m(this._element),this._element.classList.add(Or,$r),this._queueCallback((()=>{this._element.classList.remove($r),q.trigger(this._element,kr),this._maybeScheduleHide()}),this._element,this._config.animation)}hide(){if(!this.isShown())return;if(q.trigger(this._element,Cr).defaultPrevented)return;this._element.classList.add($r),this._queueCallback((()=>{this._element.classList.add(Pr),this._element.classList.remove($r,Or),q.trigger(this._element,Tr)}),this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Or),super.dispose()}isShown(){return this._element.classList.contains(Or)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((()=>{this.hide()}),this._config.delay)))}_onInteraction(t,e){switch(t.type){case"mouseover":case"mouseout":this._hasMouseInteraction=e;break;case"focusin":case"focusout":this._hasKeyboardInteraction=e}if(e)return void this._clearTimeout();const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){q.on(this._element,wr,(t=>this._onInteraction(t,!0))),q.on(this._element,xr,(t=>this._onInteraction(t,!1))),q.on(this._element,Er,(t=>this._onInteraction(t,!0))),q.on(this._element,Ar,(t=>this._onInteraction(t,!1)))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each((function(){const e=Ir.getOrCreateInstance(this,t);if("string"==typeof t){if(void 0===e[t])throw new TypeError(`No method named "${t}"`);e[t](this)}}))}}X(Ir),_(Ir)},8287:(t,e,n)=>{"use strict";var r=n(7526),i=n(251),o=n(4634);function s(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(t,e){if(s()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,n){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,n);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return h(this,t)}return l(this,t,e,n)}function l(t,e,n,r){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,n,r){if(e.byteLength,n<0||e.byteLength<n)throw new RangeError("'offset' is out of bounds");if(e.byteLength<n+(r||0))throw new RangeError("'length' is out of bounds");e=void 0===n&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,n):new Uint8Array(e,n,r);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=f(t,e);return t}(t,e,n,r):"string"==typeof e?function(t,e,n){"string"==typeof n&&""!==n||(n="utf8");if(!c.isEncoding(n))throw new TypeError('"encoding" must be a valid string encoding');var r=0|p(e,n);t=a(t,r);var i=t.write(e,n);i!==r&&(t=t.slice(0,i));return t}(t,e,n):function(t,e){if(c.isBuffer(e)){var n=0|d(e.length);return 0===(t=a(t,n)).length||e.copy(t,0,0,n),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(r=e.length)!=r?a(t,0):f(t,e);if("Buffer"===e.type&&o(e.data))return f(t,e.data)}var r;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function h(t,e){if(u(e),t=a(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var n=0;n<e;++n)t[n]=0;return t}function f(t,e){var n=e.length<0?0:0|d(e.length);t=a(t,n);for(var r=0;r<n;r+=1)t[r]=255&e[r];return t}function d(t){if(t>=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|t}function p(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var n=t.length;if(0===n)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return B(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return H(t).length;default:if(r)return B(t).length;e=(""+e).toLowerCase(),r=!0}}function g(t,e,n){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return O(this,e,n);case"utf8":case"utf-8":return T(this,e,n);case"ascii":return k(this,e,n);case"latin1":case"binary":return P(this,e,n);case"base64":return C(this,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return $(this,e,n);default:if(r)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),r=!0}}function m(t,e,n){var r=t[e];t[e]=t[n],t[n]=r}function v(t,e,n,r,i){if(0===t.length)return-1;if("string"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:t.length-1),n<0&&(n=t.length+n),n>=t.length){if(i)return-1;n=t.length-1}else if(n<0){if(!i)return-1;n=0}if("string"==typeof e&&(e=c.from(e,r)),c.isBuffer(e))return 0===e.length?-1:y(t,e,n,r,i);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,n):Uint8Array.prototype.lastIndexOf.call(t,e,n):y(t,[e],n,r,i);throw new TypeError("val must be string, number or Buffer")}function y(t,e,n,r,i){var o,s=1,a=t.length,c=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(t.length<2||e.length<2)return-1;s=2,a/=2,c/=2,n/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var u=-1;for(o=n;o<a;o++)if(l(t,o)===l(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(n+c>a&&(n=a-c),o=n;o>=0;o--){for(var h=!0,f=0;f<c;f++)if(l(t,o+f)!==l(e,f)){h=!1;break}if(h)return o}return-1}function b(t,e,n,r){n=Number(n)||0;var i=t.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");r>o/2&&(r=o/2);for(var s=0;s<r;++s){var a=parseInt(e.substr(2*s,2),16);if(isNaN(a))return s;t[n+s]=a}return s}function _(t,e,n,r){return z(B(e,t.length-n),t,n,r)}function w(t,e,n,r){return z(function(t){for(var e=[],n=0;n<t.length;++n)e.push(255&t.charCodeAt(n));return e}(e),t,n,r)}function x(t,e,n,r){return w(t,e,n,r)}function E(t,e,n,r){return z(H(e),t,n,r)}function A(t,e,n,r){return z(function(t,e){for(var n,r,i,o=[],s=0;s<t.length&&!((e-=2)<0);++s)r=(n=t.charCodeAt(s))>>8,i=n%256,o.push(i),o.push(r);return o}(e,t.length-n),t,n,r)}function C(t,e,n){return 0===e&&n===t.length?r.fromByteArray(t):r.fromByteArray(t.slice(e,n))}function T(t,e,n){n=Math.min(t.length,n);for(var r=[],i=e;i<n;){var o,s,a,c,l=t[i],u=null,h=l>239?4:l>223?3:l>191?2:1;if(i+h<=n)switch(h){case 1:l<128&&(u=l);break;case 2:128==(192&(o=t[i+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=t[i+1],s=t[i+2],128==(192&o)&&128==(192&s)&&(c=(15&l)<<12|(63&o)<<6|63&s)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=t[i+1],s=t[i+2],a=t[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(c=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&c<1114112&&(u=c)}null===u?(u=65533,h=1):u>65535&&(u-=65536,r.push(u>>>10&1023|55296),u=56320|1023&u),r.push(u),i+=h}return function(t){var e=t.length;if(e<=S)return String.fromCharCode.apply(String,t);var n="",r=0;for(;r<e;)n+=String.fromCharCode.apply(String,t.slice(r,r+=S));return n}(r)}e.hp=c,e.IS=50,c.TYPED_ARRAY_SUPPORT=void 0!==n.g.TYPED_ARRAY_SUPPORT?n.g.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),s(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,n){return l(null,t,e,n)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,n){return function(t,e,n,r){return u(e),e<=0?a(t,e):void 0!==n?"string"==typeof r?a(t,e).fill(n,r):a(t,e).fill(n):a(t,e)}(null,t,e,n)},c.allocUnsafe=function(t){return h(null,t)},c.allocUnsafeSlow=function(t){return h(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var n=t.length,r=e.length,i=0,o=Math.min(n,r);i<o;++i)if(t[i]!==e[i]){n=t[i],r=e[i];break}return n<r?-1:r<n?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var n;if(void 0===e)for(e=0,n=0;n<t.length;++n)e+=t[n].length;var r=c.allocUnsafe(e),i=0;for(n=0;n<t.length;++n){var s=t[n];if(!c.isBuffer(s))throw new TypeError('"list" argument must be an Array of Buffers');s.copy(r,i),i+=s.length}return r},c.byteLength=p,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)m(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)m(this,e,e+3),m(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)m(this,e,e+7),m(this,e+1,e+6),m(this,e+2,e+5),m(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?T(this,0,t):g.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",n=e.IS;return this.length>0&&(t=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,n,r,i){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===n&&(n=t?t.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||n>t.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=n)return 0;if(r>=i)return-1;if(e>=n)return 1;if(this===t)return 0;for(var o=(i>>>=0)-(r>>>=0),s=(n>>>=0)-(e>>>=0),a=Math.min(o,s),l=this.slice(r,i),u=t.slice(e,n),h=0;h<a;++h)if(l[h]!==u[h]){o=l[h],s=u[h];break}return o<s?-1:s<o?1:0},c.prototype.includes=function(t,e,n){return-1!==this.indexOf(t,e,n)},c.prototype.indexOf=function(t,e,n){return v(this,t,e,n,!0)},c.prototype.lastIndexOf=function(t,e,n){return v(this,t,e,n,!1)},c.prototype.write=function(t,e,n,r){if(void 0===e)r="utf8",n=this.length,e=0;else if(void 0===n&&"string"==typeof e)r=e,n=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(n)?(n|=0,void 0===r&&(r="utf8")):(r=n,n=void 0)}var i=this.length-e;if((void 0===n||n>i)&&(n=i),t.length>0&&(n<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var o=!1;;)switch(r){case"hex":return b(this,t,e,n);case"utf8":case"utf-8":return _(this,t,e,n);case"ascii":return w(this,t,e,n);case"latin1":case"binary":return x(this,t,e,n);case"base64":return E(this,t,e,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,e,n);default:if(o)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var S=4096;function k(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(127&t[i]);return r}function P(t,e,n){var r="";n=Math.min(t.length,n);for(var i=e;i<n;++i)r+=String.fromCharCode(t[i]);return r}function O(t,e,n){var r=t.length;(!e||e<0)&&(e=0),(!n||n<0||n>r)&&(n=r);for(var i="",o=e;o<n;++o)i+=F(t[o]);return i}function $(t,e,n){for(var r=t.slice(e,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function L(t,e,n){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>n)throw new RangeError("Trying to access beyond buffer length")}function D(t,e,n,r,i,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||e<o)throw new RangeError('"value" argument is out of bounds');if(n+r>t.length)throw new RangeError("Index out of range")}function I(t,e,n,r){e<0&&(e=65535+e+1);for(var i=0,o=Math.min(t.length-n,2);i<o;++i)t[n+i]=(e&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(t,e,n,r){e<0&&(e=4294967295+e+1);for(var i=0,o=Math.min(t.length-n,4);i<o;++i)t[n+i]=e>>>8*(r?i:3-i)&255}function N(t,e,n,r,i,o){if(n+r>t.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function R(t,e,n,r,o){return o||N(t,0,n,4),i.write(t,e,n,r,23,4),n+4}function M(t,e,n,r,o){return o||N(t,0,n,8),i.write(t,e,n,r,52,8),n+8}c.prototype.slice=function(t,e){var n,r=this.length;if((t=~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(n=this.subarray(t,e)).__proto__=c.prototype;else{var i=e-t;n=new c(i,void 0);for(var o=0;o<i;++o)n[o]=this[o+t]}return n},c.prototype.readUIntLE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r},c.prototype.readUIntBE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=this[t+--e],i=1;e>0&&(i*=256);)r+=this[t+--e]*i;return r},c.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=this[t],i=1,o=0;++o<e&&(i*=256);)r+=this[t+o]*i;return r>=(i*=128)&&(r-=Math.pow(2,8*e)),r},c.prototype.readIntBE=function(t,e,n){t|=0,e|=0,n||L(t,e,this.length);for(var r=e,i=1,o=this[t+--r];r>0&&(i*=256);)o+=this[t+--r]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||L(t,2,this.length);var n=this[t]|this[t+1]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt16BE=function(t,e){e||L(t,2,this.length);var n=this[t+1]|this[t]<<8;return 32768&n?4294901760|n:n},c.prototype.readInt32LE=function(t,e){return e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),i.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),i.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),i.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),i.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[e]=255&t;++o<n&&(i*=256);)this[e+o]=t/i&255;return e+n},c.prototype.writeUIntBE=function(t,e,n,r){(t=+t,e|=0,n|=0,r)||D(this,t,e,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[e+i]=255&t;--i>=0&&(o*=256);)this[e+i]=t/o&255;return e+n},c.prototype.writeUInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):j(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):j(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);D(this,t,e,n,i-1,-i)}var o=0,s=1,a=0;for(this[e]=255&t;++o<n&&(s*=256);)t<0&&0===a&&0!==this[e+o-1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},c.prototype.writeIntBE=function(t,e,n,r){if(t=+t,e|=0,!r){var i=Math.pow(2,8*n-1);D(this,t,e,n,i-1,-i)}var o=n-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+n},c.prototype.writeInt8=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):I(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):I(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):j(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,n){return t=+t,e|=0,n||D(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):j(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,n){return R(this,t,e,!0,n)},c.prototype.writeFloatBE=function(t,e,n){return R(this,t,e,!1,n)},c.prototype.writeDoubleLE=function(t,e,n){return M(this,t,e,!0,n)},c.prototype.writeDoubleBE=function(t,e,n){return M(this,t,e,!1,n)},c.prototype.copy=function(t,e,n,r){if(n||(n=0),r||0===r||(r=this.length),e>=t.length&&(e=t.length),e||(e=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(n<0||n>=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),t.length-e<r-n&&(r=t.length-e+n);var i,o=r-n;if(this===t&&n<e&&e<r)for(i=o-1;i>=0;--i)t[i+e]=this[i+n];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)t[i+e]=this[i+n];else Uint8Array.prototype.set.call(t,this.subarray(n,n+o),e);return o},c.prototype.fill=function(t,e,n,r){if("string"==typeof t){if("string"==typeof e?(r=e,e=0,n=this.length):"string"==typeof n&&(r=n,n=this.length),1===t.length){var i=t.charCodeAt(0);i<256&&(t=i)}if(void 0!==r&&"string"!=typeof r)throw new TypeError("encoding must be a string");if("string"==typeof r&&!c.isEncoding(r))throw new TypeError("Unknown encoding: "+r)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<n)throw new RangeError("Out of range index");if(n<=e)return this;var o;if(e>>>=0,n=void 0===n?this.length:n>>>0,t||(t=0),"number"==typeof t)for(o=e;o<n;++o)this[o]=t;else{var s=c.isBuffer(t)?t:B(new c(t,r).toString()),a=s.length;for(o=0;o<n-e;++o)this[o+e]=s[o%a]}return this};var q=/[^+\/0-9A-Za-z-_]/g;function F(t){return t<16?"0"+t.toString(16):t.toString(16)}function B(t,e){var n;e=e||1/0;for(var r=t.length,i=null,o=[],s=0;s<r;++s){if((n=t.charCodeAt(s))>55295&&n<57344){if(!i){if(n>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===r){(e-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(e-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(e-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((e-=1)<0)break;o.push(n)}else if(n<2048){if((e-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((e-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(t){return r.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(q,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,n,r){for(var i=0;i<r&&!(i+n>=e.length||i>=t.length);++i)e[i+n]=t[i];return i}},251:(t,e)=>{e.read=function(t,e,n,r,i){var o,s,a=8*i-r-1,c=(1<<a)-1,l=c>>1,u=-7,h=n?i-1:0,f=n?-1:1,d=t[e+h];for(h+=f,o=d&(1<<-u)-1,d>>=-u,u+=a;u>0;o=256*o+t[e+h],h+=f,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=r;u>0;s=256*s+t[e+h],h+=f,u-=8);if(0===o)o=1-l;else{if(o===c)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,r),o-=l}return(d?-1:1)*s*Math.pow(2,o-r)},e.write=function(t,e,n,r,i,o){var s,a,c,l=8*o-i-1,u=(1<<l)-1,h=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,g=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=u):(s=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-s))<1&&(s--,c*=2),(e+=s+h>=1?f/c:f*Math.pow(2,1-h))*c>=2&&(s++,c/=2),s+h>=u?(a=0,s=u):s+h>=1?(a=(e*c-1)*Math.pow(2,i),s+=h):(a=e*Math.pow(2,h-1)*Math.pow(2,i),s=0));i>=8;t[n+d]=255&a,d+=p,a/=256,i-=8);for(s=s<<i|a,l+=i;l>0;t[n+d]=255&s,d+=p,s/=256,l-=8);t[n+d-p]|=128*g}},4634:t=>{var e={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==e.call(t)}},9983:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(6883)],void 0===(o="function"==typeof(r=function(t){return t.extend(t.expr.pseudos,{data:t.expr.createPseudo?t.expr.createPseudo((function(e){return function(n){return!!t.data(n,e)}})):function(e,n,r){return!!t.data(e,r[3])}})})?r.apply(e,i):r)||(t.exports=o)}()},724:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(6883)],void 0===(o="function"==typeof(r=function(t){return t.fn.extend({disableSelection:(e="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(e+".ui-disableSelection",(function(t){t.preventDefault()}))}),enableSelection:function(){return this.off(".ui-disableSelection")}});var e})?r.apply(e,i):r)||(t.exports=o)}()},8045:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(6883)],void 0===(o="function"==typeof(r=function(t){return t.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())})?r.apply(e,i):r)||(t.exports=o)}()},2299:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(6883)],void 0===(o="function"==typeof(r=function(t){return t.fn.scrollParent=function(e){var n=this.css("position"),r="absolute"===n,i=e?/(auto|scroll|hidden)/:/(auto|scroll)/,o=this.parents().filter((function(){var e=t(this);return(!r||"static"!==e.css("position"))&&i.test(e.css("overflow")+e.css("overflow-y")+e.css("overflow-x"))})).eq(0);return"fixed"!==n&&o.length?o:t(this[0].ownerDocument||document)}})?r.apply(e,i):r)||(t.exports=o)}()},6883:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692)],void 0===(o="function"==typeof(r=function(t){return t.ui=t.ui||{},t.ui.version="1.13.2"})?r.apply(e,i):r)||(t.exports=o)}()},9139:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(6883)],r=function(t){var e=0,n=Array.prototype.hasOwnProperty,r=Array.prototype.slice;return t.cleanData=function(e){return function(n){var r,i,o;for(o=0;null!=(i=n[o]);o++)(r=t._data(i,"events"))&&r.remove&&t(i).triggerHandler("remove");e(n)}}(t.cleanData),t.widget=function(e,n,r){var i,o,s,a={},c=e.split(".")[0],l=c+"-"+(e=e.split(".")[1]);return r||(r=n,n=t.Widget),Array.isArray(r)&&(r=t.extend.apply(null,[{}].concat(r))),t.expr.pseudos[l.toLowerCase()]=function(e){return!!t.data(e,l)},t[c]=t[c]||{},i=t[c][e],o=t[c][e]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},t.extend(o,i,{version:r.version,_proto:t.extend({},r),_childConstructors:[]}),(s=new n).options=t.widget.extend({},s.options),t.each(r,(function(t,e){a[t]="function"==typeof e?function(){function r(){return n.prototype[t].apply(this,arguments)}function i(e){return n.prototype[t].apply(this,e)}return function(){var t,n=this._super,o=this._superApply;return this._super=r,this._superApply=i,t=e.apply(this,arguments),this._super=n,this._superApply=o,t}}():e})),o.prototype=t.widget.extend(s,{widgetEventPrefix:i&&s.widgetEventPrefix||e},a,{constructor:o,namespace:c,widgetName:e,widgetFullName:l}),i?(t.each(i._childConstructors,(function(e,n){var r=n.prototype;t.widget(r.namespace+"."+r.widgetName,o,n._proto)})),delete i._childConstructors):n._childConstructors.push(o),t.widget.bridge(e,o),o},t.widget.extend=function(e){for(var i,o,s=r.call(arguments,1),a=0,c=s.length;a<c;a++)for(i in s[a])o=s[a][i],n.call(s[a],i)&&void 0!==o&&(t.isPlainObject(o)?e[i]=t.isPlainObject(e[i])?t.widget.extend({},e[i],o):t.widget.extend({},o):e[i]=o);return e},t.widget.bridge=function(e,n){var i=n.prototype.widgetFullName||e;t.fn[e]=function(o){var s="string"==typeof o,a=r.call(arguments,1),c=this;return s?this.length||"instance"!==o?this.each((function(){var n,r=t.data(this,i);return"instance"===o?(c=r,!1):r?"function"!=typeof r[o]||"_"===o.charAt(0)?t.error("no such method '"+o+"' for "+e+" widget instance"):(n=r[o].apply(r,a))!==r&&void 0!==n?(c=n&&n.jquery?c.pushStack(n.get()):n,!1):void 0:t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")})):c=void 0:(a.length&&(o=t.widget.extend.apply(null,[o].concat(a))),this.each((function(){var e=t.data(this,i);e?(e.option(o||{}),e._init&&e._init()):t.data(this,i,new n(o,this))}))),c}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(n,r){r=t(r||this.defaultElement||this)[0],this.element=t(r),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),this.classesElementLookup={},r!==this&&(t.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===r&&this.destroy()}}),this.document=t(r.style?r.ownerDocument:r.document||r),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),n),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){var e=this;this._destroy(),t.each(this.classesElementLookup,(function(t,n){e._removeClass(n,t)})),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:t.noop,widget:function(){return this.element},option:function(e,n){var r,i,o,s=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(s={},r=e.split("."),e=r.shift(),r.length){for(i=s[e]=t.widget.extend({},this.options[e]),o=0;o<r.length-1;o++)i[r[o]]=i[r[o]]||{},i=i[r[o]];if(e=r.pop(),1===arguments.length)return void 0===i[e]?null:i[e];i[e]=n}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];s[e]=n}return this._setOptions(s),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(e){var n,r,i;for(n in e)i=this.classesElementLookup[n],e[n]!==this.options.classes[n]&&i&&i.length&&(r=t(i.get()),this._removeClass(i,n),r.addClass(this._classes({element:r,keys:n,classes:e,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(e){var n=[],r=this;function i(){var n=[];e.element.each((function(e,i){t.map(r.classesElementLookup,(function(t){return t})).some((function(t){return t.is(i)}))||n.push(i)})),r._on(t(n),{remove:"_untrackClassesElement"})}function o(o,s){var a,c;for(c=0;c<o.length;c++)a=r.classesElementLookup[o[c]]||t(),e.add?(i(),a=t(t.uniqueSort(a.get().concat(e.element.get())))):a=t(a.not(e.element).get()),r.classesElementLookup[o[c]]=a,n.push(o[c]),s&&e.classes[o[c]]&&n.push(e.classes[o[c]])}return(e=t.extend({element:this.element,classes:this.options.classes||{}},e)).keys&&o(e.keys.match(/\S+/g)||[],!0),e.extra&&o(e.extra.match(/\S+/g)||[]),n.join(" ")},_untrackClassesElement:function(e){var n=this;t.each(n.classesElementLookup,(function(r,i){-1!==t.inArray(e.target,i)&&(n.classesElementLookup[r]=t(i.not(e.target).get()))})),this._off(t(e.target))},_removeClass:function(t,e,n){return this._toggleClass(t,e,n,!1)},_addClass:function(t,e,n){return this._toggleClass(t,e,n,!0)},_toggleClass:function(t,e,n,r){r="boolean"==typeof r?r:n;var i="string"==typeof t||null===t,o={extra:i?e:n,keys:i?t:e,element:i?this.element:t,add:r};return o.element.toggleClass(this._classes(o),r),this},_on:function(e,n,r){var i,o=this;"boolean"!=typeof e&&(r=n,n=e,e=!1),r?(n=i=t(n),this.bindings=this.bindings.add(n)):(r=n,n=this.element,i=this.widget()),t.each(r,(function(r,s){function a(){if(e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled"))return("string"==typeof s?o[s]:s).apply(o,arguments)}"string"!=typeof s&&(a.guid=s.guid=s.guid||a.guid||t.guid++);var c=r.match(/^([\w:-]*)\s*(.*)$/),l=c[1]+o.eventNamespace,u=c[2];u?i.on(l,u,a):n.on(l,a)}))},_off:function(e,n){n=(n||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.off(n),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function n(){return("string"==typeof t?r[t]:t).apply(r,arguments)}var r=this;return setTimeout(n,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){this._addClass(t(e.currentTarget),null,"ui-state-hover")},mouseleave:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){this._addClass(t(e.currentTarget),null,"ui-state-focus")},focusout:function(e){this._removeClass(t(e.currentTarget),null,"ui-state-focus")}})},_trigger:function(e,n,r){var i,o,s=this.options[e];if(r=r||{},(n=t.Event(n)).type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),n.target=this.element[0],o=n.originalEvent)for(i in o)i in n||(n[i]=o[i]);return this.element.trigger(n,r),!("function"==typeof s&&!1===s.apply(this.element[0],[n].concat(r))||n.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},(function(e,n){t.Widget.prototype["_"+e]=function(r,i,o){var s;"string"==typeof i&&(i={effect:i});var a=i?!0===i||"number"==typeof i?n:i.effect||n:e;"number"==typeof(i=i||{})?i={duration:i}:!0===i&&(i={}),s=!t.isEmptyObject(i),i.complete=o,i.delay&&r.delay(i.delay),s&&t.effects&&t.effects.effect[a]?r[e](i):a!==e&&r[a]?r[a](i.duration,i.easing,o):r.queue((function(n){t(this)[e](),o&&o.call(r[0]),n()}))}})),t.widget},void 0===(o="function"==typeof r?r.apply(e,i):r)||(t.exports=o)}()},3662:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(8045),n(6883),n(9139)],void 0===(o="function"==typeof(r=function(t){var e=!1;return t(document).on("mouseup",(function(){e=!1})),t.widget("ui.mouse",{version:"1.13.2",options:{cancel:"input, textarea, button, select, option",distance:1,delay:0},_mouseInit:function(){var e=this;this.element.on("mousedown."+this.widgetName,(function(t){return e._mouseDown(t)})).on("click."+this.widgetName,(function(n){if(!0===t.data(n.target,e.widgetName+".preventClickEvent"))return t.removeData(n.target,e.widgetName+".preventClickEvent"),n.stopImmediatePropagation(),!1})),this.started=!1},_mouseDestroy:function(){this.element.off("."+this.widgetName),this._mouseMoveDelegate&&this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate)},_mouseDown:function(n){if(!e){this._mouseMoved=!1,this._mouseStarted&&this._mouseUp(n),this._mouseDownEvent=n;var r=this,i=1===n.which,o=!("string"!=typeof this.options.cancel||!n.target.nodeName)&&t(n.target).closest(this.options.cancel).length;return!(i&&!o&&this._mouseCapture(n))||(this.mouseDelayMet=!this.options.delay,this.mouseDelayMet||(this._mouseDelayTimer=setTimeout((function(){r.mouseDelayMet=!0}),this.options.delay)),this._mouseDistanceMet(n)&&this._mouseDelayMet(n)&&(this._mouseStarted=!1!==this._mouseStart(n),!this._mouseStarted)?(n.preventDefault(),!0):(!0===t.data(n.target,this.widgetName+".preventClickEvent")&&t.removeData(n.target,this.widgetName+".preventClickEvent"),this._mouseMoveDelegate=function(t){return r._mouseMove(t)},this._mouseUpDelegate=function(t){return r._mouseUp(t)},this.document.on("mousemove."+this.widgetName,this._mouseMoveDelegate).on("mouseup."+this.widgetName,this._mouseUpDelegate),n.preventDefault(),e=!0,!0))}},_mouseMove:function(e){if(this._mouseMoved){if(t.ui.ie&&(!document.documentMode||document.documentMode<9)&&!e.button)return this._mouseUp(e);if(!e.which)if(e.originalEvent.altKey||e.originalEvent.ctrlKey||e.originalEvent.metaKey||e.originalEvent.shiftKey)this.ignoreMissingWhich=!0;else if(!this.ignoreMissingWhich)return this._mouseUp(e)}return(e.which||e.button)&&(this._mouseMoved=!0),this._mouseStarted?(this._mouseDrag(e),e.preventDefault()):(this._mouseDistanceMet(e)&&this._mouseDelayMet(e)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,e),this._mouseStarted?this._mouseDrag(e):this._mouseUp(e)),!this._mouseStarted)},_mouseUp:function(n){this.document.off("mousemove."+this.widgetName,this._mouseMoveDelegate).off("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,n.target===this._mouseDownEvent.target&&t.data(n.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(n)),this._mouseDelayTimer&&(clearTimeout(this._mouseDelayTimer),delete this._mouseDelayTimer),this.ignoreMissingWhich=!1,e=!1,n.preventDefault()},_mouseDistanceMet:function(t){return Math.max(Math.abs(this._mouseDownEvent.pageX-t.pageX),Math.abs(this._mouseDownEvent.pageY-t.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){},_mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})?r.apply(e,i):r)||(t.exports=o)}()},5285:(t,e,n)=>{var r,i,o;!function(s){"use strict";i=[n(4692),n(3662),n(9983),n(8045),n(2299),n(6883),n(9139)],r=function(t){return t.widget("ui.sortable",t.ui.mouse,{version:"1.13.2",widgetEventPrefix:"sort",ready:!1,options:{appendTo:"parent",axis:!1,connectWith:!1,containment:!1,cursor:"auto",cursorAt:!1,dropOnEmpty:!0,forcePlaceholderSize:!1,forceHelperSize:!1,grid:!1,handle:!1,helper:"original",items:"> *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3,activate:null,beforeStop:null,change:null,deactivate:null,out:null,over:null,receive:null,remove:null,sort:null,start:null,stop:null,update:null},_isOverAxis:function(t,e,n){return t>=e&&t<e+n},_isFloating:function(t){return/left|right/.test(t.css("float"))||/inline|table-cell/.test(t.css("display"))},_create:function(){this.containerCache={},this._addClass("ui-sortable"),this.refresh(),this.offset=this.element.offset(),this._mouseInit(),this._setHandleClassName(),this.ready=!0},_setOption:function(t,e){this._super(t,e),"handle"===t&&this._setHandleClassName()},_setHandleClassName:function(){var e=this;this._removeClass(this.element.find(".ui-sortable-handle"),"ui-sortable-handle"),t.each(this.items,(function(){e._addClass(this.instance.options.handle?this.item.find(this.instance.options.handle):this.item,"ui-sortable-handle")}))},_destroy:function(){this._mouseDestroy();for(var t=this.items.length-1;t>=0;t--)this.items[t].item.removeData(this.widgetName+"-item");return this},_mouseCapture:function(e,n){var r=null,i=!1,o=this;return!this.reverting&&(!this.options.disabled&&"static"!==this.options.type&&(this._refreshItems(e),t(e.target).parents().each((function(){if(t.data(this,o.widgetName+"-item")===o)return r=t(this),!1})),t.data(e.target,o.widgetName+"-item")===o&&(r=t(e.target)),!!r&&(!(this.options.handle&&!n&&(t(this.options.handle,r).find("*").addBack().each((function(){this===e.target&&(i=!0)})),!i))&&(this.currentItem=r,this._removeCurrentsFromItems(),!0))))},_mouseStart:function(e,n,r){var i,o,s=this.options;if(this.currentContainer=this,this.refreshPositions(),this.appendTo=t("parent"!==s.appendTo?s.appendTo:this.currentItem.parent()),this.helper=this._createHelper(e),this._cacheHelperProportions(),this._cacheMargins(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},t.extend(this.offset,{click:{left:e.pageX-this.offset.left,top:e.pageY-this.offset.top},relative:this._getRelativeOffset()}),this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),s.cursorAt&&this._adjustOffsetFromHelper(s.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!==this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),this.scrollParent=this.placeholder.scrollParent(),t.extend(this.offset,{parent:this._getParentOffset()}),s.containment&&this._setContainment(),s.cursor&&"auto"!==s.cursor&&(o=this.document.find("body"),this.storedCursor=o.css("cursor"),o.css("cursor",s.cursor),this.storedStylesheet=t("<style>*{ cursor: "+s.cursor+" !important; }</style>").appendTo(o)),s.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",s.zIndex)),s.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",s.opacity)),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",e,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions(),!r)for(i=this.containers.length-1;i>=0;i--)this.containers[i]._trigger("activate",e,this._uiHash(this));return t.ui.ddmanager&&(t.ui.ddmanager.current=this),t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e),this.dragging=!0,this._addClass(this.helper,"ui-sortable-helper"),this.helper.parent().is(this.appendTo)||(this.helper.detach().appendTo(this.appendTo),this.offset.parent=this._getParentOffset()),this.position=this.originalPosition=this._generatePosition(e),this.originalPageX=e.pageX,this.originalPageY=e.pageY,this.lastPositionAbs=this.positionAbs=this._convertPositionTo("absolute"),this._mouseDrag(e),!0},_scroll:function(t){var e=this.options,n=!1;return this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-t.pageY<e.scrollSensitivity?this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop+e.scrollSpeed:t.pageY-this.overflowOffset.top<e.scrollSensitivity&&(this.scrollParent[0].scrollTop=n=this.scrollParent[0].scrollTop-e.scrollSpeed),this.overflowOffset.left+this.scrollParent[0].offsetWidth-t.pageX<e.scrollSensitivity?this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft+e.scrollSpeed:t.pageX-this.overflowOffset.left<e.scrollSensitivity&&(this.scrollParent[0].scrollLeft=n=this.scrollParent[0].scrollLeft-e.scrollSpeed)):(t.pageY-this.document.scrollTop()<e.scrollSensitivity?n=this.document.scrollTop(this.document.scrollTop()-e.scrollSpeed):this.window.height()-(t.pageY-this.document.scrollTop())<e.scrollSensitivity&&(n=this.document.scrollTop(this.document.scrollTop()+e.scrollSpeed)),t.pageX-this.document.scrollLeft()<e.scrollSensitivity?n=this.document.scrollLeft(this.document.scrollLeft()-e.scrollSpeed):this.window.width()-(t.pageX-this.document.scrollLeft())<e.scrollSensitivity&&(n=this.document.scrollLeft(this.document.scrollLeft()+e.scrollSpeed))),n},_mouseDrag:function(e){var n,r,i,o,s=this.options;for(this.position=this._generatePosition(e),this.positionAbs=this._convertPositionTo("absolute"),this.options.axis&&"y"===this.options.axis||(this.helper[0].style.left=this.position.left+"px"),this.options.axis&&"x"===this.options.axis||(this.helper[0].style.top=this.position.top+"px"),s.scroll&&!1!==this._scroll(e)&&(this._refreshItemPositions(!0),t.ui.ddmanager&&!s.dropBehaviour&&t.ui.ddmanager.prepareOffsets(this,e)),this.dragDirection={vertical:this._getDragVerticalDirection(),horizontal:this._getDragHorizontalDirection()},n=this.items.length-1;n>=0;n--)if(i=(r=this.items[n]).item[0],(o=this._intersectsWithPointer(r))&&r.instance===this.currentContainer&&!(i===this.currentItem[0]||this.placeholder[1===o?"next":"prev"]()[0]===i||t.contains(this.placeholder[0],i)||"semi-dynamic"===this.options.type&&t.contains(this.element[0],i))){if(this.direction=1===o?"down":"up","pointer"!==this.options.tolerance&&!this._intersectsWithSides(r))break;this._rearrange(e,r),this._trigger("change",e,this._uiHash());break}return this._contactContainers(e),t.ui.ddmanager&&t.ui.ddmanager.drag(this,e),this._trigger("sort",e,this._uiHash()),this.lastPositionAbs=this.positionAbs,!1},_mouseStop:function(e,n){if(e){if(t.ui.ddmanager&&!this.options.dropBehaviour&&t.ui.ddmanager.drop(this,e),this.options.revert){var r=this,i=this.placeholder.offset(),o=this.options.axis,s={};o&&"x"!==o||(s.left=i.left-this.offset.parent.left-this.margins.left+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollLeft)),o&&"y"!==o||(s.top=i.top-this.offset.parent.top-this.margins.top+(this.offsetParent[0]===this.document[0].body?0:this.offsetParent[0].scrollTop)),this.reverting=!0,t(this.helper).animate(s,parseInt(this.options.revert,10)||500,(function(){r._clear(e)}))}else this._clear(e,n);return!1}},cancel:function(){if(this.dragging){this._mouseUp(new t.Event("mouseup",{target:null})),"original"===this.options.helper?(this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")):this.currentItem.show();for(var e=this.containers.length-1;e>=0;e--)this.containers[e]._trigger("deactivate",null,this._uiHash(this)),this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",null,this._uiHash(this)),this.containers[e].containerCache.over=0)}return this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),"original"!==this.options.helper&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),t.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?t(this.domPosition.prev).after(this.currentItem):t(this.domPosition.parent).prepend(this.currentItem)),this},serialize:function(e){var n=this._getItemsAsjQuery(e&&e.connected),r=[];return e=e||{},t(n).each((function(){var n=(t(e.item||this).attr(e.attribute||"id")||"").match(e.expression||/(.+)[\-=_](.+)/);n&&r.push((e.key||n[1]+"[]")+"="+(e.key&&e.expression?n[1]:n[2]))})),!r.length&&e.key&&r.push(e.key+"="),r.join("&")},toArray:function(e){var n=this._getItemsAsjQuery(e&&e.connected),r=[];return e=e||{},n.each((function(){r.push(t(e.item||this).attr(e.attribute||"id")||"")})),r},_intersectsWith:function(t){var e=this.positionAbs.left,n=e+this.helperProportions.width,r=this.positionAbs.top,i=r+this.helperProportions.height,o=t.left,s=o+t.width,a=t.top,c=a+t.height,l=this.offset.click.top,u=this.offset.click.left,h="x"===this.options.axis||r+l>a&&r+l<c,f="y"===this.options.axis||e+u>o&&e+u<s,d=h&&f;return"pointer"===this.options.tolerance||this.options.forcePointerForContainers||"pointer"!==this.options.tolerance&&this.helperProportions[this.floating?"width":"height"]>t[this.floating?"width":"height"]?d:o<e+this.helperProportions.width/2&&n-this.helperProportions.width/2<s&&a<r+this.helperProportions.height/2&&i-this.helperProportions.height/2<c},_intersectsWithPointer:function(t){var e,n,r="x"===this.options.axis||this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top,t.height),i="y"===this.options.axis||this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left,t.width);return!(!r||!i)&&(e=this.dragDirection.vertical,n=this.dragDirection.horizontal,this.floating?"right"===n||"down"===e?2:1:e&&("down"===e?2:1))},_intersectsWithSides:function(t){var e=this._isOverAxis(this.positionAbs.top+this.offset.click.top,t.top+t.height/2,t.height),n=this._isOverAxis(this.positionAbs.left+this.offset.click.left,t.left+t.width/2,t.width),r=this.dragDirection.vertical,i=this.dragDirection.horizontal;return this.floating&&i?"right"===i&&n||"left"===i&&!n:r&&("down"===r&&e||"up"===r&&!e)},_getDragVerticalDirection:function(){var t=this.positionAbs.top-this.lastPositionAbs.top;return 0!==t&&(t>0?"down":"up")},_getDragHorizontalDirection:function(){var t=this.positionAbs.left-this.lastPositionAbs.left;return 0!==t&&(t>0?"right":"left")},refresh:function(t){return this._refreshItems(t),this._setHandleClassName(),this.refreshPositions(),this},_connectWith:function(){var t=this.options;return t.connectWith.constructor===String?[t.connectWith]:t.connectWith},_getItemsAsjQuery:function(e){var n,r,i,o,s=[],a=[],c=this._connectWith();if(c&&e)for(n=c.length-1;n>=0;n--)for(r=(i=t(c[n],this.document[0])).length-1;r>=0;r--)(o=t.data(i[r],this.widgetFullName))&&o!==this&&!o.options.disabled&&a.push(["function"==typeof o.options.items?o.options.items.call(o.element):t(o.options.items,o.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),o]);function l(){s.push(this)}for(a.push(["function"==typeof this.options.items?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):t(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]),n=a.length-1;n>=0;n--)a[n][0].each(l);return t(s)},_removeCurrentsFromItems:function(){var e=this.currentItem.find(":data("+this.widgetName+"-item)");this.items=t.grep(this.items,(function(t){for(var n=0;n<e.length;n++)if(e[n]===t.item[0])return!1;return!0}))},_refreshItems:function(e){this.items=[],this.containers=[this];var n,r,i,o,s,a,c,l,u=this.items,h=[["function"==typeof this.options.items?this.options.items.call(this.element[0],e,{item:this.currentItem}):t(this.options.items,this.element),this]],f=this._connectWith();if(f&&this.ready)for(n=f.length-1;n>=0;n--)for(r=(i=t(f[n],this.document[0])).length-1;r>=0;r--)(o=t.data(i[r],this.widgetFullName))&&o!==this&&!o.options.disabled&&(h.push(["function"==typeof o.options.items?o.options.items.call(o.element[0],e,{item:this.currentItem}):t(o.options.items,o.element),o]),this.containers.push(o));for(n=h.length-1;n>=0;n--)for(s=h[n][1],r=0,l=(a=h[n][0]).length;r<l;r++)(c=t(a[r])).data(this.widgetName+"-item",s),u.push({item:c,instance:s,width:0,height:0,left:0,top:0})},_refreshItemPositions:function(e){var n,r,i,o;for(n=this.items.length-1;n>=0;n--)r=this.items[n],this.currentContainer&&r.instance!==this.currentContainer&&r.item[0]!==this.currentItem[0]||(i=this.options.toleranceElement?t(this.options.toleranceElement,r.item):r.item,e||(r.width=i.outerWidth(),r.height=i.outerHeight()),o=i.offset(),r.left=o.left,r.top=o.top)},refreshPositions:function(t){var e,n;if(this.floating=!!this.items.length&&("x"===this.options.axis||this._isFloating(this.items[0].item)),this.offsetParent&&this.helper&&(this.offset.parent=this._getParentOffset()),this._refreshItemPositions(t),this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(e=this.containers.length-1;e>=0;e--)n=this.containers[e].element.offset(),this.containers[e].containerCache.left=n.left,this.containers[e].containerCache.top=n.top,this.containers[e].containerCache.width=this.containers[e].element.outerWidth(),this.containers[e].containerCache.height=this.containers[e].element.outerHeight();return this},_createPlaceholder:function(e){var n,r,i=(e=e||this).options;i.placeholder&&i.placeholder.constructor!==String||(n=i.placeholder,r=e.currentItem[0].nodeName.toLowerCase(),i.placeholder={element:function(){var i=t("<"+r+">",e.document[0]);return e._addClass(i,"ui-sortable-placeholder",n||e.currentItem[0].className)._removeClass(i,"ui-sortable-helper"),"tbody"===r?e._createTrPlaceholder(e.currentItem.find("tr").eq(0),t("<tr>",e.document[0]).appendTo(i)):"tr"===r?e._createTrPlaceholder(e.currentItem,i):"img"===r&&i.attr("src",e.currentItem.attr("src")),n||i.css("visibility","hidden"),i},update:function(t,o){n&&!i.forcePlaceholderSize||(o.height()&&(!i.forcePlaceholderSize||"tbody"!==r&&"tr"!==r)||o.height(e.currentItem.innerHeight()-parseInt(e.currentItem.css("paddingTop")||0,10)-parseInt(e.currentItem.css("paddingBottom")||0,10)),o.width()||o.width(e.currentItem.innerWidth()-parseInt(e.currentItem.css("paddingLeft")||0,10)-parseInt(e.currentItem.css("paddingRight")||0,10)))}}),e.placeholder=t(i.placeholder.element.call(e.element,e.currentItem)),e.currentItem.after(e.placeholder),i.placeholder.update(e,e.placeholder)},_createTrPlaceholder:function(e,n){var r=this;e.children().each((function(){t("<td>&#160;</td>",r.document[0]).attr("colspan",t(this).attr("colspan")||1).appendTo(n)}))},_contactContainers:function(e){var n,r,i,o,s,a,c,l,u,h,f=null,d=null;for(n=this.containers.length-1;n>=0;n--)if(!t.contains(this.currentItem[0],this.containers[n].element[0]))if(this._intersectsWith(this.containers[n].containerCache)){if(f&&t.contains(this.containers[n].element[0],f.element[0]))continue;f=this.containers[n],d=n}else this.containers[n].containerCache.over&&(this.containers[n]._trigger("out",e,this._uiHash(this)),this.containers[n].containerCache.over=0);if(f)if(1===this.containers.length)this.containers[d].containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1);else{for(i=1e4,o=null,s=(u=f.floating||this._isFloating(this.currentItem))?"left":"top",a=u?"width":"height",h=u?"pageX":"pageY",r=this.items.length-1;r>=0;r--)t.contains(this.containers[d].element[0],this.items[r].item[0])&&this.items[r].item[0]!==this.currentItem[0]&&(c=this.items[r].item.offset()[s],l=!1,e[h]-c>this.items[r][a]/2&&(l=!0),Math.abs(e[h]-c)<i&&(i=Math.abs(e[h]-c),o=this.items[r],this.direction=l?"up":"down"));if(!o&&!this.options.dropOnEmpty)return;if(this.currentContainer===this.containers[d])return void(this.currentContainer.containerCache.over||(this.containers[d]._trigger("over",e,this._uiHash()),this.currentContainer.containerCache.over=1));o?this._rearrange(e,o,null,!0):this._rearrange(e,null,this.containers[d].element,!0),this._trigger("change",e,this._uiHash()),this.containers[d]._trigger("change",e,this._uiHash(this)),this.currentContainer=this.containers[d],this.options.placeholder.update(this.currentContainer,this.placeholder),this.scrollParent=this.placeholder.scrollParent(),this.scrollParent[0]!==this.document[0]&&"HTML"!==this.scrollParent[0].tagName&&(this.overflowOffset=this.scrollParent.offset()),this.containers[d]._trigger("over",e,this._uiHash(this)),this.containers[d].containerCache.over=1}},_createHelper:function(e){var n=this.options,r="function"==typeof n.helper?t(n.helper.apply(this.element[0],[e,this.currentItem])):"clone"===n.helper?this.currentItem.clone():this.currentItem;return r.parents("body").length||this.appendTo[0].appendChild(r[0]),r[0]===this.currentItem[0]&&(this._storedCSS={width:this.currentItem[0].style.width,height:this.currentItem[0].style.height,position:this.currentItem.css("position"),top:this.currentItem.css("top"),left:this.currentItem.css("left")}),r[0].style.width&&!n.forceHelperSize||r.width(this.currentItem.width()),r[0].style.height&&!n.forceHelperSize||r.height(this.currentItem.height()),r},_adjustOffsetFromHelper:function(t){"string"==typeof t&&(t=t.split(" ")),Array.isArray(t)&&(t={left:+t[0],top:+t[1]||0}),"left"in t&&(this.offset.click.left=t.left+this.margins.left),"right"in t&&(this.offset.click.left=this.helperProportions.width-t.right+this.margins.left),"top"in t&&(this.offset.click.top=t.top+this.margins.top),"bottom"in t&&(this.offset.click.top=this.helperProportions.height-t.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var e=this.offsetParent.offset();return"absolute"===this.cssPosition&&this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])&&(e.left+=this.scrollParent.scrollLeft(),e.top+=this.scrollParent.scrollTop()),(this.offsetParent[0]===this.document[0].body||this.offsetParent[0].tagName&&"html"===this.offsetParent[0].tagName.toLowerCase()&&t.ui.ie)&&(e={top:0,left:0}),{top:e.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:e.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if("relative"===this.cssPosition){var t=this.currentItem.position();return{top:t.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:t.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.currentItem.css("marginLeft"),10)||0,top:parseInt(this.currentItem.css("marginTop"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var e,n,r,i=this.options;"parent"===i.containment&&(i.containment=this.helper[0].parentNode),"document"!==i.containment&&"window"!==i.containment||(this.containment=[0-this.offset.relative.left-this.offset.parent.left,0-this.offset.relative.top-this.offset.parent.top,"document"===i.containment?this.document.width():this.window.width()-this.helperProportions.width-this.margins.left,("document"===i.containment?this.document.height()||document.body.parentNode.scrollHeight:this.window.height()||this.document[0].body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top]),/^(document|window|parent)$/.test(i.containment)||(e=t(i.containment)[0],n=t(i.containment).offset(),r="hidden"!==t(e).css("overflow"),this.containment=[n.left+(parseInt(t(e).css("borderLeftWidth"),10)||0)+(parseInt(t(e).css("paddingLeft"),10)||0)-this.margins.left,n.top+(parseInt(t(e).css("borderTopWidth"),10)||0)+(parseInt(t(e).css("paddingTop"),10)||0)-this.margins.top,n.left+(r?Math.max(e.scrollWidth,e.offsetWidth):e.offsetWidth)-(parseInt(t(e).css("borderLeftWidth"),10)||0)-(parseInt(t(e).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left,n.top+(r?Math.max(e.scrollHeight,e.offsetHeight):e.offsetHeight)-(parseInt(t(e).css("borderTopWidth"),10)||0)-(parseInt(t(e).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top])},_convertPositionTo:function(e,n){n||(n=this.position);var r="absolute"===e?1:-1,i="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,o=/(html|body)/i.test(i[0].tagName);return{top:n.top+this.offset.relative.top*r+this.offset.parent.top*r-("fixed"===this.cssPosition?-this.scrollParent.scrollTop():o?0:i.scrollTop())*r,left:n.left+this.offset.relative.left*r+this.offset.parent.left*r-("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():o?0:i.scrollLeft())*r}},_generatePosition:function(e){var n,r,i=this.options,o=e.pageX,s=e.pageY,a="absolute"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&t.contains(this.scrollParent[0],this.offsetParent[0])?this.scrollParent:this.offsetParent,c=/(html|body)/i.test(a[0].tagName);return"relative"!==this.cssPosition||this.scrollParent[0]!==this.document[0]&&this.scrollParent[0]!==this.offsetParent[0]||(this.offset.relative=this._getRelativeOffset()),this.originalPosition&&(this.containment&&(e.pageX-this.offset.click.left<this.containment[0]&&(o=this.containment[0]+this.offset.click.left),e.pageY-this.offset.click.top<this.containment[1]&&(s=this.containment[1]+this.offset.click.top),e.pageX-this.offset.click.left>this.containment[2]&&(o=this.containment[2]+this.offset.click.left),e.pageY-this.offset.click.top>this.containment[3]&&(s=this.containment[3]+this.offset.click.top)),i.grid&&(n=this.originalPageY+Math.round((s-this.originalPageY)/i.grid[1])*i.grid[1],s=this.containment?n-this.offset.click.top>=this.containment[1]&&n-this.offset.click.top<=this.containment[3]?n:n-this.offset.click.top>=this.containment[1]?n-i.grid[1]:n+i.grid[1]:n,r=this.originalPageX+Math.round((o-this.originalPageX)/i.grid[0])*i.grid[0],o=this.containment?r-this.offset.click.left>=this.containment[0]&&r-this.offset.click.left<=this.containment[2]?r:r-this.offset.click.left>=this.containment[0]?r-i.grid[0]:r+i.grid[0]:r)),{top:s-this.offset.click.top-this.offset.relative.top-this.offset.parent.top+("fixed"===this.cssPosition?-this.scrollParent.scrollTop():c?0:a.scrollTop()),left:o-this.offset.click.left-this.offset.relative.left-this.offset.parent.left+("fixed"===this.cssPosition?-this.scrollParent.scrollLeft():c?0:a.scrollLeft())}},_rearrange:function(t,e,n,r){n?n[0].appendChild(this.placeholder[0]):e.item[0].parentNode.insertBefore(this.placeholder[0],"down"===this.direction?e.item[0]:e.item[0].nextSibling),this.counter=this.counter?++this.counter:1;var i=this.counter;this._delay((function(){i===this.counter&&this.refreshPositions(!r)}))},_clear:function(t,e){this.reverting=!1;var n,r=[];if(!this._noFinalSort&&this.currentItem.parent().length&&this.placeholder.before(this.currentItem),this._noFinalSort=null,this.helper[0]===this.currentItem[0]){for(n in this._storedCSS)"auto"!==this._storedCSS[n]&&"static"!==this._storedCSS[n]||(this._storedCSS[n]="");this.currentItem.css(this._storedCSS),this._removeClass(this.currentItem,"ui-sortable-helper")}else this.currentItem.show();function i(t,e,n){return function(r){n._trigger(t,r,e._uiHash(e))}}for(this.fromOutside&&!e&&r.push((function(t){this._trigger("receive",t,this._uiHash(this.fromOutside))})),!this.fromOutside&&this.domPosition.prev===this.currentItem.prev().not(".ui-sortable-helper")[0]&&this.domPosition.parent===this.currentItem.parent()[0]||e||r.push((function(t){this._trigger("update",t,this._uiHash())})),this!==this.currentContainer&&(e||(r.push((function(t){this._trigger("remove",t,this._uiHash())})),r.push(function(t){return function(e){t._trigger("receive",e,this._uiHash(this))}}.call(this,this.currentContainer)),r.push(function(t){return function(e){t._trigger("update",e,this._uiHash(this))}}.call(this,this.currentContainer)))),n=this.containers.length-1;n>=0;n--)e||r.push(i("deactivate",this,this.containers[n])),this.containers[n].containerCache.over&&(r.push(i("out",this,this.containers[n])),this.containers[n].containerCache.over=0);if(this.storedCursor&&(this.document.find("body").css("cursor",this.storedCursor),this.storedStylesheet.remove()),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex","auto"===this._storedZIndex?"":this._storedZIndex),this.dragging=!1,e||this._trigger("beforeStop",t,this._uiHash()),this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.cancelHelperRemoval||(this.helper[0]!==this.currentItem[0]&&this.helper.remove(),this.helper=null),!e){for(n=0;n<r.length;n++)r[n].call(this,t);this._trigger("stop",t,this._uiHash())}return this.fromOutside=!1,!this.cancelHelperRemoval},_trigger:function(){!1===t.Widget.prototype._trigger.apply(this,arguments)&&this.cancel()},_uiHash:function(e){var n=e||this;return{helper:n.helper,placeholder:n.placeholder||t([]),position:n.position,originalPosition:n.originalPosition,offset:n.positionAbs,item:n.currentItem,sender:e?e.element:null}}})},void 0===(o="function"==typeof r?r.apply(e,i):r)||(t.exports=o)}()},4692:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,c=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},l=o.push,u=o.indexOf,h={},f=h.toString,d=h.hasOwnProperty,p=d.toString,g=p.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||b).createElement("script");if(o.text=t,e)for(r in _)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[f.call(t)]||"object":typeof t}var E="3.7.1",A=/HTML$/i,C=function(t,e){return new C.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!v(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&e>0&&e-1 in t)}function S(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}C.fn=C.prototype={jquery:E,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(n>=0&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(t=arguments[a]))for(e in t)r=t[e],"__proto__"!==e&&s!==r&&(l&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[e],o=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,s[e]=C.extend(l,o,r)):void 0!==r&&(s[e]=r));return s},C.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t))&&(!(e=s(t))||"function"==typeof(n=d.call(e,"constructor")&&e.constructor)&&p.call(n)===g)},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(T(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},text:function(t){var e,n="",r=0,i=t.nodeType;if(!i)for(;e=t[r++];)n+=C.text(e);return 1===i||11===i?t.textContent:9===i?t.documentElement.textContent:3===i||4===i?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(T(Object(t))?C.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!A.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,s=!n;i<o;i++)!e(t[i],i)!==s&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,s=[];if(T(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&s.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&s.push(i);return c(s)},guid:1,support:m}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){h["[object "+e+"]"]=e.toLowerCase()}));var k=o.pop,P=o.sort,O=o.splice,$="[\\x20\\t\\r\\n\\f]",L=new RegExp("^"+$+"+|((?:^|[^\\\\])(?:\\\\.)*)"+$+"+$","g");C.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function I(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}C.escapeSelector=function(t){return(t+"").replace(D,I)};var j=b,N=l;!function(){var t,e,n,i,s,c,l,h,f,p,g=N,v=C.expando,y=0,b=0,_=tt(),w=tt(),x=tt(),E=tt(),A=function(t,e){return t===e&&(s=!0),0},T="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="(?:\\\\[\\da-fA-F]{1,6}"+$+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+$+"*("+D+")(?:"+$+"*([*^$|!~]?=)"+$+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+$+"*\\]",R=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",M=new RegExp($+"+","g"),q=new RegExp("^"+$+"*,"+$+"*"),F=new RegExp("^"+$+"*([>+~]|"+$+")"+$+"*"),B=new RegExp($+"|>"),H=new RegExp(R),z=new RegExp("^"+D+"$"),W={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+$+"*(even|odd|(([+-]|)(\\d*)n|)"+$+"*(?:([+-]|)"+$+"*(\\d+)|))"+$+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+$+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+$+"*((?:-\\d)?\\d*)"+$+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+$+"?|\\\\([^\\r\\n\\f])","g"),K=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Z=function(){ct()},Q=ft((function(t){return!0===t.disabled&&S(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=a.call(j.childNodes),j.childNodes),o[j.childNodes.length].nodeType}catch(t){g={apply:function(t,e){N.apply(t,a.call(e))},call:function(t){N.apply(t,a.call(arguments,1))}}}function J(t,e,n,r){var i,o,s,a,l,u,d,p=e&&e.ownerDocument,y=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return n;if(!r&&(ct(e),e=e||c,h)){if(11!==y&&(l=Y.exec(t)))if(i=l[1]){if(9===y){if(!(s=e.getElementById(i)))return n;if(s.id===i)return g.call(n,s),n}else if(p&&(s=p.getElementById(i))&&J.contains(e,s)&&s.id===i)return g.call(n,s),n}else{if(l[2])return g.apply(n,e.getElementsByTagName(t)),n;if((i=l[3])&&e.getElementsByClassName)return g.apply(n,e.getElementsByClassName(i)),n}if(!(E[t+" "]||f&&f.test(t))){if(d=t,p=e,1===y&&(B.test(t)||F.test(t))){for((p=X.test(t)&&at(e.parentNode)||e)==e&&m.scope||((a=e.getAttribute("id"))?a=C.escapeSelector(a):e.setAttribute("id",a=v)),o=(u=ut(t)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+ht(u[o]);d=u.join(",")}try{return g.apply(n,p.querySelectorAll(d)),n}catch(e){E(t,!0)}finally{a===v&&e.removeAttribute("id")}}}return yt(t.replace(L,"$1"),e,n,r)}function tt(){var t=[];return function n(r,i){return t.push(r+" ")>e.cacheLength&&delete n[t.shift()],n[r+" "]=i}}function et(t){return t[v]=!0,t}function nt(t){var e=c.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function rt(t){return function(e){return S(e,"input")&&e.type===t}}function it(t){return function(e){return(S(e,"input")||S(e,"button"))&&e.type===t}}function ot(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Q(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et((function(e){return e=+e,et((function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function ct(t){var n,r=t?t.ownerDocument||t:j;return r!=c&&9===r.nodeType&&r.documentElement?(l=(c=r).documentElement,h=!C.isXMLDoc(c),p=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&j!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",Z),m.getById=nt((function(t){return l.appendChild(t).id=C.expando,!c.getElementsByName||!c.getElementsByName(C.expando).length})),m.disconnectedMatch=nt((function(t){return p.call(t,"*")})),m.scope=nt((function(){return c.querySelectorAll(":scope")})),m.cssHas=nt((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),m.getById?(e.filter.ID=function(t){var e=t.replace(G,K);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n=e.getElementById(t);return n?[n]:[]}}):(e.filter.ID=function(t){var e=t.replace(G,K);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&h)return e.getElementsByClassName(t)},f=[],nt((function(t){var e;l.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||f.push("\\["+$+"*(?:value|"+T+")"),t.querySelectorAll("[id~="+v+"-]").length||f.push("~="),t.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll(":checked").length||f.push(":checked"),(e=c.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),l.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(e=c.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+$+"*name"+$+"*="+$+"*(?:''|\"\")")})),m.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),A=function(t,e){if(t===e)return s=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!m.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument==j&&J.contains(j,t)?-1:e===c||e.ownerDocument==j&&J.contains(j,e)?1:i?u.call(i,t)-u.call(i,e):0:4&n?-1:1)},c):c}for(t in J.matches=function(t,e){return J(t,null,null,e)},J.matchesSelector=function(t,e){if(ct(t),h&&!E[e+" "]&&(!f||!f.test(e)))try{var n=p.call(t,e);if(n||m.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){E(e,!0)}return J(e,c,null,[t]).length>0},J.contains=function(t,e){return(t.ownerDocument||t)!=c&&ct(t),C.contains(t,e)},J.attr=function(t,n){(t.ownerDocument||t)!=c&&ct(t);var r=e.attrHandle[n.toLowerCase()],i=r&&d.call(e.attrHandle,n.toLowerCase())?r(t,n,!h):void 0;return void 0!==i?i:t.getAttribute(n)},J.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},C.uniqueSort=function(t){var e,n=[],r=0,o=0;if(s=!m.sortStable,i=!m.sortStable&&a.call(t,0),P.call(t,A),s){for(;e=t[o++];)e===t[o]&&(r=n.push(o));for(;r--;)O.call(t,n[r],1)}return i=null,t},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(a.apply(this)))},e=C.expr={cacheLength:50,createPseudo:et,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(G,K),t[3]=(t[3]||t[4]||t[5]||"").replace(G,K),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||J.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&J.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return W.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&H.test(n)&&(e=ut(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(G,K).toLowerCase();return"*"===t?function(){return!0}:function(t){return S(t,e)}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+$+")"+t+"("+$+"|$)"))&&_(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=J.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&i.indexOf(n)>-1:"$="===e?n&&i.slice(-n.length)===n:"~="===e?(" "+i.replace(M," ")+" ").indexOf(n)>-1:"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,c){var l,u,h,f,d,p=o!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),b=!c&&!a,_=!1;if(g){if(o){for(;p;){for(h=e;h=h[p];)if(a?S(h,m):1===h.nodeType)return!1;d=p="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&b){for(_=(f=(l=(u=g[v]||(g[v]={}))[t]||[])[0]===y&&l[1])&&l[2],h=f&&g.childNodes[f];h=++f&&h&&h[p]||(_=f=0)||d.pop();)if(1===h.nodeType&&++_&&h===e){u[t]=[y,f,_];break}}else if(b&&(_=f=(l=(u=e[v]||(e[v]={}))[t]||[])[0]===y&&l[1]),!1===_)for(;(h=++f&&h&&h[p]||(_=f=0)||d.pop())&&(!(a?S(h,m):1===h.nodeType)||!++_||(b&&((u=h[v]||(h[v]={}))[t]=[y,_]),h!==e)););return(_-=i)===r||_%r==0&&_/r>=0}}},PSEUDO:function(t,n){var r,i=e.pseudos[t]||e.setFilters[t.toLowerCase()]||J.error("unsupported pseudo: "+t);return i[v]?i(n):i.length>1?(r=[t,t,"",n],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var r,o=i(t,n),s=o.length;s--;)t[r=u.call(t,o[s])]=!(e[r]=o[s])})):function(t){return i(t,0,r)}):i}},pseudos:{not:et((function(t){var e=[],n=[],r=vt(t.replace(L,"$1"));return r[v]?et((function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}})),has:et((function(t){return function(e){return J(t,e).length>0}})),contains:et((function(t){return t=t.replace(G,K),function(e){return(e.textContent||C.text(e)).indexOf(t)>-1}})),lang:et((function(t){return z.test(t||"")||J.error("unsupported lang: "+t),t=t.replace(G,K).toLowerCase(),function(e){var n;do{if(n=h?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=r.location&&r.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===l},focus:function(t){return t===function(){try{return c.activeElement}catch(t){}}()&&c.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(!1),disabled:ot(!0),checked:function(t){return S(t,"input")&&!!t.checked||S(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return V.test(t.nodeName)},input:function(t){return U.test(t.nodeName)},button:function(t){return S(t,"input")&&"button"===t.type||S(t,"button")},text:function(t){var e;return S(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st((function(){return[0]})),last:st((function(t,e){return[e-1]})),eq:st((function(t,e,n){return[n<0?n+e:n]})),even:st((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:st((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:st((function(t,e,n){var r;for(r=n<0?n+e:n>e?e:n;--r>=0;)t.push(r);return t})),gt:st((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}},e.pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=rt(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=it(t);function lt(){}function ut(t,n){var r,i,o,s,a,c,l,u=w[t+" "];if(u)return n?0:u.slice(0);for(a=t,c=[],l=e.preFilter;a;){for(s in r&&!(i=q.exec(a))||(i&&(a=a.slice(i[0].length)||a),c.push(o=[])),r=!1,(i=F.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(L," ")}),a=a.slice(r.length)),e.filter)!(i=W[s].exec(a))||l[s]&&!(i=l[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?J.error(t):w(t,c).slice(0)}function ht(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function ft(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=b++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,c){var l,u,h=[y,a];if(c){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,c))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(u=e[v]||(e[v]={}),i&&S(e,i))e=e[r]||e;else{if((l=u[o])&&l[0]===y&&l[1]===a)return h[2]=l[2];if(u[o]=h,h[2]=t(e,n,c))return!0}return!1}}function dt(t){return t.length>1?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function pt(t,e,n,r,i){for(var o,s=[],a=0,c=t.length,l=null!=e;a<c;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),l&&e.push(a)));return s}function gt(t,e,n,r,i,o){return r&&!r[v]&&(r=gt(r)),i&&!i[v]&&(i=gt(i,o)),et((function(o,s,a,c){var l,h,f,d,p=[],m=[],v=s.length,y=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)J(t,e[r],n);return n}(e||"*",a.nodeType?[a]:a,[]),b=!t||!o&&e?y:pt(y,p,t,a,c);if(n?n(b,d=i||(o?t:v||r)?[]:s,a,c):d=b,r)for(l=pt(d,m),r(l,[],a,c),h=l.length;h--;)(f=l[h])&&(d[m[h]]=!(b[m[h]]=f));if(o){if(i||t){if(i){for(l=[],h=d.length;h--;)(f=d[h])&&l.push(b[h]=f);i(null,d=[],l,c)}for(h=d.length;h--;)(f=d[h])&&(l=i?u.call(o,f):p[h])>-1&&(o[l]=!(s[l]=f))}}else d=pt(d===s?d.splice(v,d.length):d),i?i(null,s,d,c):g.apply(s,d)}))}function mt(t){for(var r,i,o,s=t.length,a=e.relative[t[0].type],c=a||e.relative[" "],l=a?1:0,h=ft((function(t){return t===r}),c,!0),f=ft((function(t){return u.call(r,t)>-1}),c,!0),d=[function(t,e,i){var o=!a&&(i||e!=n)||((r=e).nodeType?h(t,e,i):f(t,e,i));return r=null,o}];l<s;l++)if(i=e.relative[t[l].type])d=[ft(dt(d),i)];else{if((i=e.filter[t[l].type].apply(null,t[l].matches))[v]){for(o=++l;o<s&&!e.relative[t[o].type];o++);return gt(l>1&&dt(d),l>1&&ht(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(L,"$1"),i,l<o&&mt(t.slice(l,o)),o<s&&mt(t=t.slice(o)),o<s&&ht(t))}d.push(i)}return dt(d)}function vt(t,r){var i,o=[],s=[],a=x[t+" "];if(!a){for(r||(r=ut(t)),i=r.length;i--;)(a=mt(r[i]))[v]?o.push(a):s.push(a);a=x(t,function(t,r){var i=r.length>0,o=t.length>0,s=function(s,a,l,u,f){var d,p,m,v=0,b="0",_=s&&[],w=[],x=n,E=s||o&&e.find.TAG("*",f),A=y+=null==x?1:Math.random()||.1,T=E.length;for(f&&(n=a==c||a||f);b!==T&&null!=(d=E[b]);b++){if(o&&d){for(p=0,a||d.ownerDocument==c||(ct(d),l=!h);m=t[p++];)if(m(d,a||c,l)){g.call(u,d);break}f&&(y=A)}i&&((d=!m&&d)&&v--,s&&_.push(d))}if(v+=b,i&&b!==v){for(p=0;m=r[p++];)m(_,w,a,l);if(s){if(v>0)for(;b--;)_[b]||w[b]||(w[b]=k.call(u));w=pt(w)}g.apply(u,w),f&&!s&&w.length>0&&v+r.length>1&&C.uniqueSort(u)}return f&&(y=A,n=x),_};return i?et(s):s}(s,o)),a.selector=t}return a}function yt(t,n,r,i){var o,s,a,c,l,u="function"==typeof t&&t,f=!i&&ut(t=u.selector||t);if(r=r||[],1===f.length){if((s=f[0]=f[0].slice(0)).length>2&&"ID"===(a=s[0]).type&&9===n.nodeType&&h&&e.relative[s[1].type]){if(!(n=(e.find.ID(a.matches[0].replace(G,K),n)||[])[0]))return r;u&&(n=n.parentNode),t=t.slice(s.shift().value.length)}for(o=W.needsContext.test(t)?0:s.length;o--&&(a=s[o],!e.relative[c=a.type]);)if((l=e.find[c])&&(i=l(a.matches[0].replace(G,K),X.test(s[0].type)&&at(n.parentNode)||n))){if(s.splice(o,1),!(t=i.length&&ht(s)))return g.apply(r,i),r;break}}return(u||vt(t,f))(i,n,!h,r,!n||X.test(t)&&at(n.parentNode)||n),r}lt.prototype=e.filters=e.pseudos,e.setFilters=new lt,m.sortStable=v.split("").sort(A).join("")===v,ct(),m.sortDetached=nt((function(t){return 1&t.compareDocumentPosition(c.createElement("fieldset"))})),C.find=J,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,J.compile=vt,J.select=yt,J.setDocument=ct,J.tokenize=ut,J.escape=C.escapeSelector,J.getText=C.text,J.isXML=C.isXMLDoc,J.selectors=C.expr,J.support=C.support,J.uniqueSort=C.uniqueSort}();var R=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&C(t).is(n))break;r.push(t)}return r},M=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},q=C.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(t,e,n){return v(e)?C.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?C.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?C.grep(t,(function(t){return u.call(e,t)>-1!==n})):C.filter(e,t,n)}C.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?C.find.matchesSelector(r,t)?[r]:[]:C.find.matches(t,C.grep(e,(function(t){return 1===t.nodeType})))},C.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(C(t).filter((function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)C.find(t,i[e],n);return r>1?C.uniqueSort(n):n},filter:function(t){return this.pushStack(B(this,t||[],!1))},not:function(t){return this.pushStack(B(this,t||[],!0))},is:function(t){return!!B(this,"string"==typeof t&&q.test(t)?C(t):t||[],!1).length}});var H,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||H,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&t.length>=3?[null,t,null]:z.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),F.test(r[1])&&C.isPlainObject(e))for(r in e)v(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,H=C(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function V(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(C.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&C(t);if(!q.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?s.index(n)>-1:1===n.nodeType&&C.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(o.length>1?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(C(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return R(t,"parentNode")},parentsUntil:function(t,e,n){return R(t,"parentNode",n)},next:function(t){return V(t,"nextSibling")},prev:function(t){return V(t,"previousSibling")},nextAll:function(t){return R(t,"nextSibling")},prevAll:function(t){return R(t,"previousSibling")},nextUntil:function(t,e,n){return R(t,"nextSibling",n)},prevUntil:function(t,e,n){return R(t,"previousSibling",n)},siblings:function(t){return M((t.parentNode||{}).firstChild,t)},children:function(t){return M(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(S(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},(function(t,e){C.fn[t]=function(n,r){var i=C.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),this.length>1&&(U[t]||C.uniqueSort(i),W.test(t)&&i.reverse()),this.pushStack(i)}}));var Y=/[^\x20\t\r\n\f]+/g;function X(t){return t}function G(t){throw t}function K(t,e,n,r){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(n):t&&v(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){t="string"==typeof t?function(t){var e={};return C.each(t.match(Y)||[],(function(t,n){e[n]=!0})),e}(t):C.extend({},t);var e,n,r,i,o=[],s=[],a=-1,c=function(){for(i=i||t.once,r=e=!0;s.length;a=-1)for(n=s.shift();++a<o.length;)!1===o[a].apply(n[0],n[1])&&t.stopOnFalse&&(a=o.length,n=!1);t.memory||(n=!1),e=!1,i&&(o=n?[]:"")},l={add:function(){return o&&(n&&!e&&(a=o.length-1,s.push(n)),function e(n){C.each(n,(function(n,r){v(r)?t.unique&&l.has(r)||o.push(r):r&&r.length&&"string"!==x(r)&&e(r)}))}(arguments),n&&!e&&c()),this},remove:function(){return C.each(arguments,(function(t,e){for(var n;(n=C.inArray(e,o,n))>-1;)o.splice(n,1),n<=a&&a--})),this},has:function(t){return t?C.inArray(t,o)>-1:o.length>0},empty:function(){return o&&(o=[]),this},disable:function(){return i=s=[],o=n="",this},disabled:function(){return!o},lock:function(){return i=s=[],n||e||(o=n=""),this},locked:function(){return!!i},fireWith:function(t,n){return i||(n=[t,(n=n||[]).slice?n.slice():n],s.push(n),e||c()),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return C.Deferred((function(n){C.each(e,(function(e,r){var i=v(t[r[4]])&&t[r[4]];o[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,i){var o=0;function s(t,e,n,i){return function(){var a=this,c=arguments,l=function(){var r,l;if(!(t<o)){if((r=n.apply(a,c))===e.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(l)?i?l.call(r,s(o,e,X,i),s(o,e,G,i)):(o++,l.call(r,s(o,e,X,i),s(o,e,G,i),s(o,e,X,e.notifyWith))):(n!==X&&(a=void 0,c=[r]),(i||e.resolveWith)(a,c))}},u=i?l:function(){try{l()}catch(r){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(r,u.error),t+1>=o&&(n!==G&&(a=void 0,c=[r]),e.rejectWith(a,c))}};t?u():(C.Deferred.getErrorHook?u.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(u.error=C.Deferred.getStackHook()),r.setTimeout(u))}}return C.Deferred((function(r){e[0][3].add(s(0,r,v(i)?i:X,r.notifyWith)),e[1][3].add(s(0,r,v(t)?t:X)),e[2][3].add(s(0,r,v(n)?n:G))})).promise()},promise:function(t){return null!=t?C.extend(t,i):i}},o={};return C.each(e,(function(t,r){var s=r[2],a=r[5];i[r[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=s.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=a.call(arguments),o=C.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=arguments.length>1?a.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(K(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)K(i[n],s(n),o.reject);return o.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&Z.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){r.setTimeout((function(){throw t}))};var Q=C.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),r.removeEventListener("load",J),C.ready()}C.fn.ready=function(t){return Q.then(t).catch((function(t){C.readyException(t)})),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0,!0!==t&&--C.readyWait>0||Q.resolveWith(b,[C]))}}),C.ready.then=Q.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(C.ready):(b.addEventListener("DOMContentLoaded",J),r.addEventListener("load",J));var tt=function(t,e,n,r,i,o,s){var a=0,c=t.length,l=null==n;if("object"===x(n))for(a in i=!0,n)tt(t,e,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,v(r)||(s=!0),l&&(s?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(C(t),n)})),e))for(;a<c;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:l?e.call(t):c?e(t[0],n):o},et=/^-ms-/,nt=/-([a-z])/g;function rt(t,e){return e.toUpperCase()}function it(t){return t.replace(et,"ms-").replace(nt,rt)}var ot=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function st(){this.expando=C.expando+st.uid++}st.uid=1,st.prototype={cache:function(t){var e=t[this.expando];return e||(e={},ot(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[it(e)]=n;else for(r in e)i[it(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][it(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(it):(e=it(e))in r?[e]:e.match(Y)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||C.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var at=new st,ct=new st,lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ut=/[A-Z]/g;function ht(t,e,n){var r;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(ut,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n=function(t){return"true"===t||"false"!==t&&("null"===t?null:t===+t+""?+t:lt.test(t)?JSON.parse(t):t)}(n)}catch(t){}ct.set(t,e,n)}else n=void 0;return n}C.extend({hasData:function(t){return ct.hasData(t)||at.hasData(t)},data:function(t,e,n){return ct.access(t,e,n)},removeData:function(t,e){ct.remove(t,e)},_data:function(t,e,n){return at.access(t,e,n)},_removeData:function(t,e){at.remove(t,e)}}),C.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=ct.get(o),1===o.nodeType&&!at.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=it(r.slice(5)),ht(o,r,i[r]));at.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){ct.set(this,t)})):tt(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=ct.get(o,t))||void 0!==(n=ht(o,t))?n:void 0;this.each((function(){ct.set(this,t,e)}))}),null,e,arguments.length>1,null,!0)},removeData:function(t){return this.each((function(){ct.remove(this,t)}))}}),C.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=at.get(t,e),n&&(!r||Array.isArray(n)?r=at.access(t,e,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),r=n.length,i=n.shift(),o=C._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,(function(){C.dequeue(t,e)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return at.get(t,n)||at.access(t,n,{empty:C.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",n])}))})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?C.queue(this[0],t):void 0===e?this:this.each((function(){var n=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&C.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){C.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=C.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=at.get(o[s],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=new RegExp("^(?:([+-])=|)("+ft+")([a-z%]*)$","i"),pt=["Top","Right","Bottom","Left"],gt=b.documentElement,mt=function(t){return C.contains(t.ownerDocument,t)},vt={composed:!0};gt.getRootNode&&(mt=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(vt)===t.ownerDocument});var yt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&mt(t)&&"none"===C.css(t,"display")};function bt(t,e,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return C.css(t,e,"")},c=a(),l=n&&n[3]||(C.cssNumber[e]?"":"px"),u=t.nodeType&&(C.cssNumber[e]||"px"!==l&&+c)&&dt.exec(C.css(t,e));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;s--;)C.style(t,e,u+l),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),u/=o;u*=2,C.style(t,e,u+l),n=n||[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var _t={};function wt(t){var e,n=t.ownerDocument,r=t.nodeName,i=_t[r];return i||(e=n.body.appendChild(n.createElement(r)),i=C.css(e,"display"),e.parentNode.removeChild(e),"none"===i&&(i="block"),_t[r]=i,i)}function xt(t,e){for(var n,r,i=[],o=0,s=t.length;o<s;o++)(r=t[o]).style&&(n=r.style.display,e?("none"===n&&(i[o]=at.get(r,"display")||null,i[o]||(r.style.display="")),""===r.style.display&&yt(r)&&(i[o]=wt(r))):"none"!==n&&(i[o]="none",at.set(r,"display",n)));for(o=0;o<s;o++)null!=i[o]&&(t[o].style.display=i[o]);return t}C.fn.extend({show:function(){return xt(this,!0)},hide:function(){return xt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){yt(this)?C(this).show():C(this).hide()}))}});var Et,At,Ct=/^(?:checkbox|radio)$/i,Tt=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,St=/^$|^module$|\/(?:java|ecma)script/i;Et=b.createDocumentFragment().appendChild(b.createElement("div")),(At=b.createElement("input")).setAttribute("type","radio"),At.setAttribute("checked","checked"),At.setAttribute("name","t"),Et.appendChild(At),m.checkClone=Et.cloneNode(!0).cloneNode(!0).lastChild.checked,Et.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!Et.cloneNode(!0).lastChild.defaultValue,Et.innerHTML="<option></option>",m.option=!!Et.lastChild;var kt={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 Pt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&S(t,e)?C.merge([t],n):n}function Ot(t,e){for(var n=0,r=t.length;n<r;n++)at.set(t[n],"globalEval",!e||at.get(e[n],"globalEval"))}kt.tbody=kt.tfoot=kt.colgroup=kt.caption=kt.thead,kt.th=kt.td,m.option||(kt.optgroup=kt.option=[1,"<select multiple='multiple'>","</select>"]);var $t=/<|&#?\w+;/;function Lt(t,e,n,r,i){for(var o,s,a,c,l,u,h=e.createDocumentFragment(),f=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===x(o))C.merge(f,o.nodeType?[o]:o);else if($t.test(o)){for(s=s||h.appendChild(e.createElement("div")),a=(Tt.exec(o)||["",""])[1].toLowerCase(),c=kt[a]||kt._default,s.innerHTML=c[1]+C.htmlPrefilter(o)+c[2],u=c[0];u--;)s=s.lastChild;C.merge(f,s.childNodes),(s=h.firstChild).textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",d=0;o=f[d++];)if(r&&C.inArray(o,r)>-1)i&&i.push(o);else if(l=mt(o),s=Pt(h.appendChild(o),"script"),l&&Ot(s),n)for(u=0;o=s[u++];)St.test(o.type||"")&&n.push(o);return h}var Dt=/^([^.]*)(?:\.(.+)|)/;function It(){return!0}function jt(){return!1}function Nt(t,e,n,r,i,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(r=r||n,n=void 0),e)Nt(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=jt;else if(!i)return t;return 1===o&&(s=i,i=function(t){return C().off(t),s.apply(this,arguments)},i.guid=s.guid||(s.guid=C.guid++)),t.each((function(){C.event.add(this,e,i,r,n)}))}function Rt(t,e,n){n?(at.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var n,r=at.get(this,e);if(1&t.isTrigger&&this[e]){if(r)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),at.set(this,e,r),this[e](),n=at.get(this,e),at.set(this,e,!1),r!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else r&&(at.set(this,e,C.event.trigger(r[0],r.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=It)}})):void 0===at.get(t,e)&&C.event.add(t,e,It)}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,c,l,u,h,f,d,p,g,m=at.get(t);if(ot(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(gt,i),n.guid||(n.guid=C.guid++),(c=m.events)||(c=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(Y)||[""]).length;l--;)d=g=(a=Dt.exec(e[l])||[])[1],p=(a[2]||"").split(".").sort(),d&&(h=C.event.special[d]||{},d=(i?h.delegateType:h.bindType)||d,h=C.event.special[d]||{},u=C.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=c[d])||((f=c[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(d,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),C.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,s,a,c,l,u,h,f,d,p,g,m=at.hasData(t)&&at.get(t);if(m&&(c=m.events)){for(l=(e=(e||"").match(Y)||[""]).length;l--;)if(d=g=(a=Dt.exec(e[l])||[])[1],p=(a[2]||"").split(".").sort(),d){for(h=C.event.special[d]||{},f=c[d=(r?h.delegateType:h.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,h.remove&&h.remove.call(t,u));s&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||C.removeEvent(t,d,m.handle),delete c[d])}else for(d in c)C.event.remove(t,d+e[l],n,r,!0);C.isEmptyObject(c)&&at.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=new Array(arguments.length),c=C.event.fix(t),l=(at.get(this,"events")||Object.create(null))[c.type]||[],u=C.event.special[c.type]||{};for(a[0]=c,e=1;e<arguments.length;e++)a[e]=arguments[e];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(s=C.event.handlers.call(this,c,l),e=0;(i=s[e++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,r,i,o,s,a=[],c=e.delegateCount,l=t.target;if(c&&l.nodeType&&!("click"===t.type&&t.button>=1))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],s={},n=0;n<c;n++)void 0===s[i=(r=e[n]).selector+" "]&&(s[i]=r.needsContext?C(i,this).index(l)>-1:C.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,c<e.length&&a.push({elem:l,handlers:e.slice(c)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return Ct.test(e.type)&&e.click&&S(e,"input")&&Rt(e,"click",!0),!1},trigger:function(t){var e=this||t;return Ct.test(e.type)&&e.click&&S(e,"input")&&Rt(e,"click"),!0},_default:function(t){var e=t.target;return Ct.test(e.type)&&e.click&&S(e,"input")&&at.get(e,"click")||S(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?It:jt,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:jt,isPropagationStopped:jt,isImmediatePropagationStopped:jt,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=It,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=It,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=It,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.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},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(t,e){function n(t){if(b.documentMode){var n=at.get(this,"handle"),r=C.event.fix(t);r.type="focusin"===t.type?"focus":"blur",r.isSimulated=!0,n(t),r.target===r.currentTarget&&n(r)}else C.event.simulate(e,t.target,C.event.fix(t))}C.event.special[t]={setup:function(){var r;if(Rt(this,t,!0),!b.documentMode)return!1;(r=at.get(this,e))||this.addEventListener(e,n),at.set(this,e,(r||0)+1)},trigger:function(){return Rt(this,t),!0},teardown:function(){var t;if(!b.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,n),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},C.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=at.get(i,e);o||(b.documentMode?this.addEventListener(e,n):r.addEventListener(t,n,!0)),at.set(i,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=at.get(i,e)-1;o?at.set(i,e,o):(b.documentMode?this.removeEventListener(e,n):r.removeEventListener(t,n,!0),at.remove(i,e))}}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||C.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}})),C.fn.extend({on:function(t,e,n,r){return Nt(this,t,e,n,r)},one:function(t,e,n,r){return Nt(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,C(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=jt),this.each((function(){C.event.remove(this,t,n,e)}))}});var Mt=/<script|<style|<link/i,qt=/checked\s*(?:[^=]|=\s*.checked.)/i,Ft=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Bt(t,e){return S(t,"table")&&S(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Ht(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function zt(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function Wt(t,e){var n,r,i,o,s,a;if(1===e.nodeType){if(at.hasData(t)&&(a=at.get(t).events))for(i in at.remove(e,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)C.event.add(e,i,a[i][n]);ct.hasData(t)&&(o=ct.access(t),s=C.extend({},o),ct.set(e,s))}}function Ut(t,e){var n=e.nodeName.toLowerCase();"input"===n&&Ct.test(t.type)?e.checked=t.checked:"input"!==n&&"textarea"!==n||(e.defaultValue=t.defaultValue)}function Vt(t,e,n,r){e=c(e);var i,o,s,a,l,u,h=0,f=t.length,d=f-1,p=e[0],g=v(p);if(g||f>1&&"string"==typeof p&&!m.checkClone&&qt.test(p))return t.each((function(i){var o=t.eq(i);g&&(e[0]=p.call(this,i,o.html())),Vt(o,e,n,r)}));if(f&&(o=(i=Lt(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=C.map(Pt(i,"script"),Ht)).length;h<f;h++)l=i,h!==d&&(l=C.clone(l,!0,!0),a&&C.merge(s,Pt(l,"script"))),n.call(t[h],l,h);if(a)for(u=s[s.length-1].ownerDocument,C.map(s,zt),h=0;h<a;h++)l=s[h],St.test(l.type||"")&&!at.access(l,"globalEval")&&C.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):w(l.textContent.replace(Ft,""),l,u))}return t}function Yt(t,e,n){for(var r,i=e?C.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(Pt(r)),r.parentNode&&(n&&mt(r)&&Ot(Pt(r,"script")),r.parentNode.removeChild(r));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,s,a=t.cloneNode(!0),c=mt(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(s=Pt(a),r=0,i=(o=Pt(t)).length;r<i;r++)Ut(o[r],s[r]);if(e)if(n)for(o=o||Pt(t),s=s||Pt(a),r=0,i=o.length;r<i;r++)Wt(o[r],s[r]);else Wt(t,a);return(s=Pt(a,"script")).length>0&&Ot(s,!c&&Pt(t,"script")),a},cleanData:function(t){for(var e,n,r,i=C.event.special,o=0;void 0!==(n=t[o]);o++)if(ot(n)){if(e=n[at.expando]){if(e.events)for(r in e.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,e.handle);n[at.expando]=void 0}n[ct.expando]&&(n[ct.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Yt(this,t,!0)},remove:function(t){return Yt(this,t)},text:function(t){return tt(this,(function(t){return void 0===t?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Vt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Bt(this,t).appendChild(t)}))},prepend:function(){return Vt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Bt(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Vt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(Pt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return C.clone(this,t,e)}))},html:function(t){return tt(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Mt.test(t)&&!kt[(Tt.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(C.cleanData(Pt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Vt(this,arguments,(function(e){var n=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(Pt(this)),n&&n.replaceChild(e,this))}),t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){C.fn[t]=function(t){for(var n,r=[],i=C(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(i[s])[e](n),l.apply(r,n.get());return this.pushStack(r)}}));var Xt=new RegExp("^("+ft+")(?!px)[a-z%]+$","i"),Gt=/^--/,Kt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r),e.getComputedStyle(t)},Zt=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},Qt=new RegExp(pt.join("|"),"i");function Jt(t,e,n){var r,i,o,s,a=Gt.test(e),c=t.style;return(n=n||Kt(t))&&(s=n.getPropertyValue(e)||n[e],a&&s&&(s=s.replace(L,"$1")||void 0),""!==s||mt(t)||(s=C.style(t,e)),!m.pixelBoxStyles()&&Xt.test(s)&&Qt.test(e)&&(r=c.width,i=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=s,s=n.width,c.width=r,c.minWidth=i,c.maxWidth=o)),void 0!==s?s+"":s}function te(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",gt.appendChild(l).appendChild(u);var t=r.getComputedStyle(u);n="1%"!==t.top,c=12===e(t.marginLeft),u.style.right="60%",s=36===e(t.right),i=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),gt.removeChild(l),u=null}}function e(t){return Math.round(parseFloat(t))}var n,i,o,s,a,c,l=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(m,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,n,i;return null==a&&(t=b.createElement("table"),e=b.createElement("tr"),n=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",gt.appendChild(t).appendChild(e).appendChild(n),i=r.getComputedStyle(e),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,gt.removeChild(t)),a}}))}();var ee=["Webkit","Moz","ms"],ne=b.createElement("div").style,re={};function ie(t){var e=C.cssProps[t]||re[t];return e||(t in ne?t:re[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=ee.length;n--;)if((t=ee[n]+e)in ne)return t}(t)||t)}var oe=/^(none|table(?!-c[ea]).+)/,se={position:"absolute",visibility:"hidden",display:"block"},ae={letterSpacing:"0",fontWeight:"400"};function ce(t,e,n){var r=dt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function le(t,e,n,r,i,o){var s="width"===e?1:0,a=0,c=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=C.css(t,n+pt[s],!0,i)),r?("content"===n&&(c-=C.css(t,"padding"+pt[s],!0,i)),"margin"!==n&&(c-=C.css(t,"border"+pt[s]+"Width",!0,i))):(c+=C.css(t,"padding"+pt[s],!0,i),"padding"!==n?c+=C.css(t,"border"+pt[s]+"Width",!0,i):a+=C.css(t,"border"+pt[s]+"Width",!0,i));return!r&&o>=0&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-a-.5))||0),c+l}function ue(t,e,n){var r=Kt(t),i=(!m.boxSizingReliable()||n)&&"border-box"===C.css(t,"boxSizing",!1,r),o=i,s=Jt(t,e,r),a="offset"+e[0].toUpperCase()+e.slice(1);if(Xt.test(s)){if(!n)return s;s="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&S(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===C.css(t,"boxSizing",!1,r),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+le(t,e,n||(i?"border":"content"),o,r,s)+"px"}function he(t,e,n,r,i){return new he.prototype.init(t,e,n,r,i)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Jt(t,"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(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=it(e),c=Gt.test(e),l=t.style;if(c||(e=ie(a)),s=C.cssHooks[e]||C.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:l[e];"string"===(o=typeof n)&&(i=dt.exec(n))&&i[1]&&(n=bt(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,s,a=it(e);return Gt.test(e)||(e=ie(a)),(s=C.cssHooks[e]||C.cssHooks[a])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=Jt(t,e,r)),"normal"===i&&e in ae&&(i=ae[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],(function(t,e){C.cssHooks[e]={get:function(t,n,r){if(n)return!oe.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ue(t,e,r):Zt(t,se,(function(){return ue(t,e,r)}))},set:function(t,n,r){var i,o=Kt(t),s=!m.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===C.css(t,"boxSizing",!1,o),c=r?le(t,e,r,a,o):0;return a&&s&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-le(t,e,"border",!1,o)-.5)),c&&(i=dt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),ce(0,n,c)}}})),C.cssHooks.marginLeft=te(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Jt(t,"marginLeft"))||t.getBoundingClientRect().left-Zt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(t,e){C.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+pt[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(C.cssHooks[t+e].set=ce)})),C.fn.extend({css:function(t,e){return tt(this,(function(t,e,n){var r,i,o={},s=0;if(Array.isArray(e)){for(r=Kt(t),i=e.length;s<i;s++)o[e[s]]=C.css(t,e[s],!1,r);return o}return void 0!==n?C.style(t,e,n):C.css(t,e)}),t,e,arguments.length>1)}}),C.Tween=he,he.prototype={constructor:he,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var t=he.propHooks[this.prop];return t&&t.get?t.get(this):he.propHooks._default.get(this)},run:function(t){var e,n=he.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):he.propHooks._default.set(this),this}},he.prototype.init.prototype=he.prototype,he.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[ie(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}},he.propHooks.scrollTop=he.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=he.prototype.init,C.fx.step={};var fe,de,pe=/^(?:toggle|show|hide)$/,ge=/queueHooks$/;function me(){de&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(me):r.setTimeout(me,C.fx.interval),C.fx.tick())}function ve(){return r.setTimeout((function(){fe=void 0})),fe=Date.now()}function ye(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=pt[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function be(t,e,n){for(var r,i=(_e.tweeners[e]||[]).concat(_e.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function _e(t,e,n){var r,i,o=0,s=_e.prefilters.length,a=C.Deferred().always((function(){delete c.elem})),c=function(){if(i)return!1;for(var e=fe||ve(),n=Math.max(0,l.startTime+l.duration-e),r=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(r);return a.notifyWith(t,[l,r,n]),r<1&&s?n:(s||a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:e,originalOptions:n,startTime:fe||ve(),duration:n.duration,tweens:[],createTween:function(e,n){var r=C.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l,e])):a.rejectWith(t,[l,e]),this}}),u=l.props;for(!function(t,e){var n,r,i,o,s;for(n in t)if(i=e[r=it(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(s=C.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(u,l.opts.specialEasing);o<s;o++)if(r=_e.prefilters[o].call(l,t,u,l.opts))return v(r.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return C.map(u,be,l),v(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),C.fx.timer(C.extend(c,{elem:t,anim:l,queue:l.opts.queue})),l}C.Animation=C.extend(_e,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return bt(n.elem,t,dt.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(Y);for(var n,r=0,i=t.length;r<i;r++)n=t[r],_e.tweeners[n]=_e.tweeners[n]||[],_e.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,s,a,c,l,u,h="width"in e||"height"in e,f=this,d={},p=t.style,g=t.nodeType&&yt(t),m=at.get(t,"fxshow");for(r in n.queue||(null==(s=C._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always((function(){f.always((function(){s.unqueued--,C.queue(t,"fx").length||s.empty.fire()}))}))),e)if(i=e[r],pe.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}d[r]=m&&m[r]||C.style(t,r)}if((c=!C.isEmptyObject(e))||!C.isEmptyObject(d))for(r in h&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=m&&m.display)&&(l=at.get(t,"display")),"none"===(u=C.css(t,"display"))&&(l?u=l:(xt([t],!0),l=t.style.display||l,u=C.css(t,"display"),xt([t]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===C.css(t,"float")&&(c||(f.done((function(){p.display=l})),null==l&&(u=p.display,l="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),c=!1,d)c||(m?"hidden"in m&&(g=m.hidden):m=at.access(t,"fxshow",{display:l}),o&&(m.hidden=!g),g&&xt([t],!0),f.done((function(){for(r in g||xt([t]),at.remove(t,"fxshow"),d)C.style(t,r,d[r])}))),c=be(g?m[r]:0,r,f),r in m||(m[r]=c.start,g&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?_e.prefilters.unshift(t):_e.prefilters.push(t)}}),C.speed=function(t,e,n){var r=t&&"object"==typeof t?C.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(t,e,n,r){return this.filter(yt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),o=C.speed(e,n,r),s=function(){var e=_e(this,C.extend({},t),o);(i||at.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",o=C.timers,s=at.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ge.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||C.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=at.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=C.timers,s=r?r.length:0;for(n.finish=!0,C.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(t,e){var n=C.fn[e];C.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ye(e,!0),t,r,i)}})),C.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){C.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),C.timers=[],C.fx.tick=function(){var t,e=0,n=C.timers;for(fe=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||C.fx.stop(),fe=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){de||(de=!0,me())},C.fx.stop=function(){de=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var i=r.setTimeout(e,t);n.stop=function(){r.clearTimeout(i)}}))},function(){var t=b.createElement("input"),e=b.createElement("select").appendChild(b.createElement("option"));t.type="checkbox",m.checkOn=""!==t.value,m.optSelected=e.selected,(t=b.createElement("input")).value="t",t.type="radio",m.radioValue="t"===t.value}();var we,xe=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return tt(this,C.attr,t,e,arguments.length>1)},removeAttr:function(t){return this.each((function(){C.removeAttr(this,t)}))}}),C.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,n):(1===o&&C.isXMLDoc(t)||(i=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?we:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=C.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&S(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Y);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),we={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=xe[e]||C.find.attr;xe[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=xe[s],xe[s]=i,i=null!=n(t,e,r)?s:null,xe[s]=o),i}}));var Ee=/^(?:input|select|textarea|button)$/i,Ae=/^(?:a|area)$/i;function Ce(t){return(t.match(Y)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Se(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Y)||[]}C.fn.extend({prop:function(t,e){return tt(this,C.prop,t,e,arguments.length>1)},removeProp:function(t){return this.each((function(){delete this[C.propFix[t]||t]}))}}),C.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,i=C.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):Ee.test(t.nodeName)||Ae.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(t){var e,n,r,i,o,s;return v(t)?this.each((function(e){C(this).addClass(t.call(this,e,Te(this)))})):(e=Se(t)).length?this.each((function(){if(r=Te(this),n=1===this.nodeType&&" "+Ce(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");s=Ce(n),r!==s&&this.setAttribute("class",s)}})):this},removeClass:function(t){var e,n,r,i,o,s;return v(t)?this.each((function(e){C(this).removeClass(t.call(this,e,Te(this)))})):arguments.length?(e=Se(t)).length?this.each((function(){if(r=Te(this),n=1===this.nodeType&&" "+Ce(r)+" "){for(o=0;o<e.length;o++)for(i=e[o];n.indexOf(" "+i+" ")>-1;)n=n.replace(" "+i+" "," ");s=Ce(n),r!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,r,i,o,s=typeof t,a="string"===s||Array.isArray(t);return v(t)?this.each((function(n){C(this).toggleClass(t.call(this,n,Te(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=Se(t),this.each((function(){if(a)for(o=C(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==s||((r=Te(this))&&at.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&(" "+Ce(Te(n))+" ").indexOf(e)>-1)return!0;return!1}});var ke=/\r/g;C.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=v(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,C(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,(function(t){return null==t?"":t+""}))),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ke,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:Ce(C.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],c=s?o+1:i.length;for(r=o<0?c:s?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(e=C(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=C.makeArray(e),s=i.length;s--;)((r=i[s]).selected=C.inArray(C.valHooks.option.get(r),o)>-1)&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=C.inArray(C(t).val(),e)>-1}},m.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Pe=r.location,Oe={guid:Date.now()},$e=/\?/;C.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||C.error("Invalid XML: "+(n?C.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Le=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,n,i){var o,s,a,c,l,u,h,f,p=[n||b],g=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Le.test(g+C.event.triggered)&&(g.indexOf(".")>-1&&(m=g.split("."),g=m.shift(),m.sort()),l=g.indexOf(":")<0&&"on"+g,(t=t[C.expando]?t:new C.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:C.makeArray(e,[t]),h=C.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(n,e))){if(!i&&!h.noBubble&&!y(n)){for(c=h.delegateType||g,Le.test(c+g)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(n.ownerDocument||b)&&p.push(a.defaultView||a.parentWindow||r)}for(o=0;(s=p[o++])&&!t.isPropagationStopped();)f=s,t.type=o>1?c:h.bindType||g,(u=(at.get(s,"events")||Object.create(null))[t.type]&&at.get(s,"handle"))&&u.apply(s,e),(u=l&&s[l])&&u.apply&&ot(s)&&(t.result=u.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),e)||!ot(n)||l&&v(n[g])&&!y(n)&&((a=n[l])&&(n[l]=null),C.event.triggered=g,t.isPropagationStopped()&&f.addEventListener(g,De),n[g](),t.isPropagationStopped()&&f.removeEventListener(g,De),C.event.triggered=void 0,a&&(n[l]=a)),t.result}},simulate:function(t,e,n){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(r,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each((function(){C.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}});var Ie=/\[\]$/,je=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Re=/^(?:input|select|textarea|keygen)/i;function Me(t,e,n,r){var i;if(Array.isArray(e))C.each(e,(function(e,i){n||Ie.test(t)?r(t,i):Me(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==x(e))r(t,e);else for(i in e)Me(t+"["+i+"]",e[i],n,r)}C.param=function(t,e){var n,r=[],i=function(t,e){var n=v(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,(function(){i(this.name,this.value)}));else for(n in t)Me(n,t[n],e,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Re.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!Ct.test(t))})).map((function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(t){return{name:e.name,value:t.replace(je,"\r\n")}})):{name:e.name,value:n.replace(je,"\r\n")}})).get()}});var qe=/%20/g,Fe=/#.*$/,Be=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)$/gm,ze=/^(?:GET|HEAD)$/,We=/^\/\//,Ue={},Ve={},Ye="*/".concat("*"),Xe=b.createElement("a");function Ge(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Y)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Ke(t,e,n,r){var i={},o=t===Ve;function s(a){var c;return i[a]=!0,C.each(t[a]||[],(function(t,a){var l=a(e,n,r);return"string"!=typeof l||o||i[l]?o?!(c=l):void 0:(e.dataTypes.unshift(l),s(l),!1)})),c}return s(e.dataTypes[0])||!i["*"]&&s("*")}function Ze(t,e){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&C.extend(!0,t,r),t}Xe.href=Pe.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Pe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ye,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":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ze(Ze(t,C.ajaxSettings),e):Ze(C.ajaxSettings,t)},ajaxPrefilter:Ge(Ue),ajaxTransport:Ge(Ve),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,o,s,a,c,l,u,h,f,d=C.ajaxSetup({},e),p=d.context||d,g=d.context&&(p.nodeType||p.jquery)?C(p):C.event,m=C.Deferred(),v=C.Callbacks("once memory"),y=d.statusCode||{},_={},w={},x="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(l){if(!s)for(s={};e=He.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)E.always(t[E.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return n&&n.abort(e),A(0,e),this}};if(m.promise(E),d.url=((t||d.url||Pe.href)+"").replace(We,Pe.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Y)||[""],null==d.crossDomain){c=b.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Xe.protocol+"//"+Xe.host!=c.protocol+"//"+c.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=C.param(d.data,d.traditional)),Ke(Ue,d,e,E),l)return E;for(h in(u=C.event&&d.global)&&0==C.active++&&C.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!ze.test(d.type),i=d.url.replace(Fe,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(qe,"+")):(f=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=($e.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Be,"$1"),f=($e.test(i)?"&":"?")+"_="+Oe.guid+++f),d.url=i+f),d.ifModified&&(C.lastModified[i]&&E.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&E.setRequestHeader("If-None-Match",C.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ye+"; q=0.01":""):d.accepts["*"]),d.headers)E.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(p,E,d)||l))return E.abort();if(x="abort",v.add(d.complete),E.done(d.success),E.fail(d.error),n=Ke(Ve,d,e,E)){if(E.readyState=1,u&&g.trigger("ajaxSend",[E,d]),l)return E;d.async&&d.timeout>0&&(a=r.setTimeout((function(){E.abort("timeout")}),d.timeout));try{l=!1,n.send(_,A)}catch(t){if(l)throw t;A(-1,t)}}else A(-1,"No Transport");function A(t,e,s,c){var h,f,b,_,w,x=e;l||(l=!0,a&&r.clearTimeout(a),n=void 0,o=c||"",E.readyState=t>0?4:0,h=t>=200&&t<300||304===t,s&&(_=function(t,e,n){for(var r,i,o,s,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}(d,E,s)),!h&&C.inArray("script",d.dataTypes)>-1&&C.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),_=function(t,e,n,r){var i,o,s,a,c,l={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(s=l[c+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[c+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}(d,_,E,h),h?(d.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(C.etag[i]=w)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=_.state,f=_.data,h=!(b=_.error))):(b=x,!t&&x||(x="error",t<0&&(t=0))),E.status=t,E.statusText=(e||x)+"",h?m.resolveWith(p,[f,x,E]):m.rejectWith(p,[E,x,b]),E.statusCode(y),y=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[E,d,h?f:b]),v.fireWith(p,[E,x]),u&&(g.trigger("ajaxComplete",[E,d]),--C.active||C.event.trigger("ajaxStop")))}return E},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],(function(t,e){C[e]=function(t,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:i,data:n,success:r},C.isPlainObject(t)&&t))}})),C.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),C._evalUrl=function(t,e,n){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,n)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){C(this).wrapInner(t.call(this,e))})):this.each((function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){C(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var Qe={0:200,1223:204},Je=C.ajaxSettings.xhr();m.cors=!!Je&&"withCredentials"in Je,m.ajax=Je=!!Je,C.ajaxTransport((function(t){var e,n;if(m.cors||Je&&!t.crossDomain)return{send:function(i,o){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||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Qe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(t){if(e)throw t}},abort:function(){e&&e()}}})),C.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),C.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){n&&n()}}}));var tn,en=[],nn=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||C.expando+"_"+Oe.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",(function(t,e,n){var i,o,s,a=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(nn,"$1"+i):!1!==t.jsonp&&(t.url+=($e.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=r[i],r[i]=function(){s=arguments},n.always((function(){void 0===o?C(r).removeProp(i):r[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,en.push(i)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((tn=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),C.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((r=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(r)):e=b),o=!n&&[],(i=F.exec(t))?[e.createElement(i[1])]:(i=Lt([t],e,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return a>-1&&(r=Ce(t.slice(a)),t=t.slice(0,a)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),s.length>0&&C.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(r?C("<div>").append(C.parseHTML(t)).find(r):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,(function(e){return t===e.elem})).length},C.offset={setOffset:function(t,e,n){var r,i,o,s,a,c,l=C.css(t,"position"),u=C(t),h={};"static"===l&&(t.style.position="relative"),a=u.offset(),o=C.css(t,"top"),c=C.css(t,"left"),("absolute"===l||"fixed"===l)&&(o+c).indexOf("auto")>-1?(s=(r=u.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(c)||0),v(e)&&(e=e.call(t,n,C.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+i),"using"in e?e.using.call(t,h):u.css(h)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){C.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),i.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-C.css(r,"marginTop",!0),left:e.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||gt}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;C.fn[t]=function(r){return tt(this,(function(t,r,i){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i}),t,r,arguments.length)}})),C.each(["top","left"],(function(t,e){C.cssHooks[e]=te(m.pixelPosition,(function(t,n){if(n)return n=Jt(t,e),Xt.test(n)?C(t).position()[e]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){C.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return tt(this,(function(e,n,i){var o;return y(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?C.css(e,n,a):C.style(e,n,i,a)}),e,s?i:void 0,s)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){C.fn[e]=function(t){return this.on(e,t)}})),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),C.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(t,e){C.fn[e]=function(t,n){return arguments.length>0?this.on(e,null,t,n):this.trigger(e)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return r=a.call(arguments,2),i=function(){return t.apply(e||this,r.concat(a.call(arguments)))},i.guid=t.guid=t.guid||C.guid++,i},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=S,C.isFunction=v,C.isWindow=y,C.camelCase=it,C.type=x,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(rn,"$1")},void 0===(n=function(){return C}.apply(e,[]))||(t.exports=n);var on=r.jQuery,sn=r.$;return C.noConflict=function(t){return r.$===C&&(r.$=sn),t&&r.jQuery===C&&(r.jQuery=on),C},void 0===i&&(r.jQuery=r.$=C),C}))},3270:function(t,e){var n;!function(e,n){"use strict";"object"==typeof t.exports?t.exports=e.document?n(e,!0):function(t){if(!t.document)throw new Error("jQuery requires a window with a document");return n(t)}:n(e)}("undefined"!=typeof window?window:this,(function(r,i){"use strict";var o=[],s=Object.getPrototypeOf,a=o.slice,c=o.flat?function(t){return o.flat.call(t)}:function(t){return o.concat.apply([],t)},l=o.push,u=o.indexOf,h={},f=h.toString,d=h.hasOwnProperty,p=d.toString,g=p.call(Object),m={},v=function(t){return"function"==typeof t&&"number"!=typeof t.nodeType&&"function"!=typeof t.item},y=function(t){return null!=t&&t===t.window},b=r.document,_={type:!0,src:!0,nonce:!0,noModule:!0};function w(t,e,n){var r,i,o=(n=n||b).createElement("script");if(o.text=t,e)for(r in _)(i=e[r]||e.getAttribute&&e.getAttribute(r))&&o.setAttribute(r,i);n.head.appendChild(o).parentNode.removeChild(o)}function x(t){return null==t?t+"":"object"==typeof t||"function"==typeof t?h[f.call(t)]||"object":typeof t}var E="3.7.1",A=/HTML$/i,C=function(t,e){return new C.fn.init(t,e)};function T(t){var e=!!t&&"length"in t&&t.length,n=x(t);return!v(t)&&!y(t)&&("array"===n||0===e||"number"==typeof e&&0<e&&e-1 in t)}function S(t,e){return t.nodeName&&t.nodeName.toLowerCase()===e.toLowerCase()}C.fn=C.prototype={jquery:E,constructor:C,length:0,toArray:function(){return a.call(this)},get:function(t){return null==t?a.call(this):t<0?this[t+this.length]:this[t]},pushStack:function(t){var e=C.merge(this.constructor(),t);return e.prevObject=this,e},each:function(t){return C.each(this,t)},map:function(t){return this.pushStack(C.map(this,(function(e,n){return t.call(e,n,e)})))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(C.grep(this,(function(t,e){return(e+1)%2})))},odd:function(){return this.pushStack(C.grep(this,(function(t,e){return e%2})))},eq:function(t){var e=this.length,n=+t+(t<0?e:0);return this.pushStack(0<=n&&n<e?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:l,sort:o.sort,splice:o.splice},C.extend=C.fn.extend=function(){var t,e,n,r,i,o,s=arguments[0]||{},a=1,c=arguments.length,l=!1;for("boolean"==typeof s&&(l=s,s=arguments[a]||{},a++),"object"==typeof s||v(s)||(s={}),a===c&&(s=this,a--);a<c;a++)if(null!=(t=arguments[a]))for(e in t)r=t[e],"__proto__"!==e&&s!==r&&(l&&r&&(C.isPlainObject(r)||(i=Array.isArray(r)))?(n=s[e],o=i&&!Array.isArray(n)?[]:i||C.isPlainObject(n)?n:{},i=!1,s[e]=C.extend(l,o,r)):void 0!==r&&(s[e]=r));return s},C.extend({expando:"jQuery"+(E+Math.random()).replace(/\D/g,""),isReady:!0,error:function(t){throw new Error(t)},noop:function(){},isPlainObject:function(t){var e,n;return!(!t||"[object Object]"!==f.call(t)||(e=s(t))&&("function"!=typeof(n=d.call(e,"constructor")&&e.constructor)||p.call(n)!==g))},isEmptyObject:function(t){var e;for(e in t)return!1;return!0},globalEval:function(t,e,n){w(t,{nonce:e&&e.nonce},n)},each:function(t,e){var n,r=0;if(T(t))for(n=t.length;r<n&&!1!==e.call(t[r],r,t[r]);r++);else for(r in t)if(!1===e.call(t[r],r,t[r]))break;return t},text:function(t){var e,n="",r=0,i=t.nodeType;if(!i)for(;e=t[r++];)n+=C.text(e);return 1===i||11===i?t.textContent:9===i?t.documentElement.textContent:3===i||4===i?t.nodeValue:n},makeArray:function(t,e){var n=e||[];return null!=t&&(T(Object(t))?C.merge(n,"string"==typeof t?[t]:t):l.call(n,t)),n},inArray:function(t,e,n){return null==e?-1:u.call(e,t,n)},isXMLDoc:function(t){var e=t&&t.namespaceURI,n=t&&(t.ownerDocument||t).documentElement;return!A.test(e||n&&n.nodeName||"HTML")},merge:function(t,e){for(var n=+e.length,r=0,i=t.length;r<n;r++)t[i++]=e[r];return t.length=i,t},grep:function(t,e,n){for(var r=[],i=0,o=t.length,s=!n;i<o;i++)!e(t[i],i)!==s&&r.push(t[i]);return r},map:function(t,e,n){var r,i,o=0,s=[];if(T(t))for(r=t.length;o<r;o++)null!=(i=e(t[o],o,n))&&s.push(i);else for(o in t)null!=(i=e(t[o],o,n))&&s.push(i);return c(s)},guid:1,support:m}),"function"==typeof Symbol&&(C.fn[Symbol.iterator]=o[Symbol.iterator]),C.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),(function(t,e){h["[object "+e+"]"]=e.toLowerCase()}));var k=o.pop,P=o.sort,O=o.splice,$="[\\x20\\t\\r\\n\\f]",L=new RegExp("^"+$+"+|((?:^|[^\\\\])(?:\\\\.)*)"+$+"+$","g");C.contains=function(t,e){var n=e&&e.parentNode;return t===n||!(!n||1!==n.nodeType||!(t.contains?t.contains(n):t.compareDocumentPosition&&16&t.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function I(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t}C.escapeSelector=function(t){return(t+"").replace(D,I)};var j=b,N=l;!function(){var t,e,n,i,s,c,l,h,f,p,g=N,v=C.expando,y=0,b=0,_=tt(),w=tt(),x=tt(),E=tt(),A=function(t,e){return t===e&&(s=!0),0},T="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",D="(?:\\\\[\\da-fA-F]{1,6}"+$+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",I="\\["+$+"*("+D+")(?:"+$+"*([*^$|!~]?=)"+$+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+D+"))|)"+$+"*\\]",R=":("+D+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+I+")*)|.*)\\)|)",M=new RegExp($+"+","g"),q=new RegExp("^"+$+"*,"+$+"*"),F=new RegExp("^"+$+"*([>+~]|"+$+")"+$+"*"),B=new RegExp($+"|>"),H=new RegExp(R),z=new RegExp("^"+D+"$"),W={ID:new RegExp("^#("+D+")"),CLASS:new RegExp("^\\.("+D+")"),TAG:new RegExp("^("+D+"|[*])"),ATTR:new RegExp("^"+I),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+$+"*(even|odd|(([+-]|)(\\d*)n|)"+$+"*(?:([+-]|)"+$+"*(\\d+)|))"+$+"*\\)|)","i"),bool:new RegExp("^(?:"+T+")$","i"),needsContext:new RegExp("^"+$+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+$+"*((?:-\\d)?\\d*)"+$+"*\\)|)(?=[^-]|$)","i")},U=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,G=new RegExp("\\\\[\\da-fA-F]{1,6}"+$+"?|\\\\([^\\r\\n\\f])","g"),K=function(t,e){var n="0x"+t.slice(1)-65536;return e||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},Z=function(){ct()},Q=ft((function(t){return!0===t.disabled&&S(t,"fieldset")}),{dir:"parentNode",next:"legend"});try{g.apply(o=a.call(j.childNodes),j.childNodes),o[j.childNodes.length].nodeType}catch(t){g={apply:function(t,e){N.apply(t,a.call(e))},call:function(t){N.apply(t,a.call(arguments,1))}}}function J(t,e,n,r){var i,o,s,a,l,u,d,p=e&&e.ownerDocument,y=e?e.nodeType:9;if(n=n||[],"string"!=typeof t||!t||1!==y&&9!==y&&11!==y)return n;if(!r&&(ct(e),e=e||c,h)){if(11!==y&&(l=Y.exec(t)))if(i=l[1]){if(9===y){if(!(s=e.getElementById(i)))return n;if(s.id===i)return g.call(n,s),n}else if(p&&(s=p.getElementById(i))&&J.contains(e,s)&&s.id===i)return g.call(n,s),n}else{if(l[2])return g.apply(n,e.getElementsByTagName(t)),n;if((i=l[3])&&e.getElementsByClassName)return g.apply(n,e.getElementsByClassName(i)),n}if(!(E[t+" "]||f&&f.test(t))){if(d=t,p=e,1===y&&(B.test(t)||F.test(t))){for((p=X.test(t)&&at(e.parentNode)||e)==e&&m.scope||((a=e.getAttribute("id"))?a=C.escapeSelector(a):e.setAttribute("id",a=v)),o=(u=ut(t)).length;o--;)u[o]=(a?"#"+a:":scope")+" "+ht(u[o]);d=u.join(",")}try{return g.apply(n,p.querySelectorAll(d)),n}catch(e){E(t,!0)}finally{a===v&&e.removeAttribute("id")}}}return yt(t.replace(L,"$1"),e,n,r)}function tt(){var t=[];return function n(r,i){return t.push(r+" ")>e.cacheLength&&delete n[t.shift()],n[r+" "]=i}}function et(t){return t[v]=!0,t}function nt(t){var e=c.createElement("fieldset");try{return!!t(e)}catch(t){return!1}finally{e.parentNode&&e.parentNode.removeChild(e),e=null}}function rt(t){return function(e){return S(e,"input")&&e.type===t}}function it(t){return function(e){return(S(e,"input")||S(e,"button"))&&e.type===t}}function ot(t){return function(e){return"form"in e?e.parentNode&&!1===e.disabled?"label"in e?"label"in e.parentNode?e.parentNode.disabled===t:e.disabled===t:e.isDisabled===t||e.isDisabled!==!t&&Q(e)===t:e.disabled===t:"label"in e&&e.disabled===t}}function st(t){return et((function(e){return e=+e,et((function(n,r){for(var i,o=t([],n.length,e),s=o.length;s--;)n[i=o[s]]&&(n[i]=!(r[i]=n[i]))}))}))}function at(t){return t&&void 0!==t.getElementsByTagName&&t}function ct(t){var n,r=t?t.ownerDocument||t:j;return r!=c&&9===r.nodeType&&r.documentElement&&(l=(c=r).documentElement,h=!C.isXMLDoc(c),p=l.matches||l.webkitMatchesSelector||l.msMatchesSelector,l.msMatchesSelector&&j!=c&&(n=c.defaultView)&&n.top!==n&&n.addEventListener("unload",Z),m.getById=nt((function(t){return l.appendChild(t).id=C.expando,!c.getElementsByName||!c.getElementsByName(C.expando).length})),m.disconnectedMatch=nt((function(t){return p.call(t,"*")})),m.scope=nt((function(){return c.querySelectorAll(":scope")})),m.cssHas=nt((function(){try{return c.querySelector(":has(*,:jqfake)"),!1}catch(t){return!0}})),m.getById?(e.filter.ID=function(t){var e=t.replace(G,K);return function(t){return t.getAttribute("id")===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n=e.getElementById(t);return n?[n]:[]}}):(e.filter.ID=function(t){var e=t.replace(G,K);return function(t){var n=void 0!==t.getAttributeNode&&t.getAttributeNode("id");return n&&n.value===e}},e.find.ID=function(t,e){if(void 0!==e.getElementById&&h){var n,r,i,o=e.getElementById(t);if(o){if((n=o.getAttributeNode("id"))&&n.value===t)return[o];for(i=e.getElementsByName(t),r=0;o=i[r++];)if((n=o.getAttributeNode("id"))&&n.value===t)return[o]}return[]}}),e.find.TAG=function(t,e){return void 0!==e.getElementsByTagName?e.getElementsByTagName(t):e.querySelectorAll(t)},e.find.CLASS=function(t,e){if(void 0!==e.getElementsByClassName&&h)return e.getElementsByClassName(t)},f=[],nt((function(t){var e;l.appendChild(t).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",t.querySelectorAll("[selected]").length||f.push("\\["+$+"*(?:value|"+T+")"),t.querySelectorAll("[id~="+v+"-]").length||f.push("~="),t.querySelectorAll("a#"+v+"+*").length||f.push(".#.+[+~]"),t.querySelectorAll(":checked").length||f.push(":checked"),(e=c.createElement("input")).setAttribute("type","hidden"),t.appendChild(e).setAttribute("name","D"),l.appendChild(t).disabled=!0,2!==t.querySelectorAll(":disabled").length&&f.push(":enabled",":disabled"),(e=c.createElement("input")).setAttribute("name",""),t.appendChild(e),t.querySelectorAll("[name='']").length||f.push("\\["+$+"*name"+$+"*="+$+"*(?:''|\"\")")})),m.cssHas||f.push(":has"),f=f.length&&new RegExp(f.join("|")),A=function(t,e){if(t===e)return s=!0,0;var n=!t.compareDocumentPosition-!e.compareDocumentPosition;return n||(1&(n=(t.ownerDocument||t)==(e.ownerDocument||e)?t.compareDocumentPosition(e):1)||!m.sortDetached&&e.compareDocumentPosition(t)===n?t===c||t.ownerDocument==j&&J.contains(j,t)?-1:e===c||e.ownerDocument==j&&J.contains(j,e)?1:i?u.call(i,t)-u.call(i,e):0:4&n?-1:1)}),c}for(t in J.matches=function(t,e){return J(t,null,null,e)},J.matchesSelector=function(t,e){if(ct(t),h&&!E[e+" "]&&(!f||!f.test(e)))try{var n=p.call(t,e);if(n||m.disconnectedMatch||t.document&&11!==t.document.nodeType)return n}catch(t){E(e,!0)}return 0<J(e,c,null,[t]).length},J.contains=function(t,e){return(t.ownerDocument||t)!=c&&ct(t),C.contains(t,e)},J.attr=function(t,n){(t.ownerDocument||t)!=c&&ct(t);var r=e.attrHandle[n.toLowerCase()],i=r&&d.call(e.attrHandle,n.toLowerCase())?r(t,n,!h):void 0;return void 0!==i?i:t.getAttribute(n)},J.error=function(t){throw new Error("Syntax error, unrecognized expression: "+t)},C.uniqueSort=function(t){var e,n=[],r=0,o=0;if(s=!m.sortStable,i=!m.sortStable&&a.call(t,0),P.call(t,A),s){for(;e=t[o++];)e===t[o]&&(r=n.push(o));for(;r--;)O.call(t,n[r],1)}return i=null,t},C.fn.uniqueSort=function(){return this.pushStack(C.uniqueSort(a.apply(this)))},(e=C.expr={cacheLength:50,createPseudo:et,match:W,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(t){return t[1]=t[1].replace(G,K),t[3]=(t[3]||t[4]||t[5]||"").replace(G,K),"~="===t[2]&&(t[3]=" "+t[3]+" "),t.slice(0,4)},CHILD:function(t){return t[1]=t[1].toLowerCase(),"nth"===t[1].slice(0,3)?(t[3]||J.error(t[0]),t[4]=+(t[4]?t[5]+(t[6]||1):2*("even"===t[3]||"odd"===t[3])),t[5]=+(t[7]+t[8]||"odd"===t[3])):t[3]&&J.error(t[0]),t},PSEUDO:function(t){var e,n=!t[6]&&t[2];return W.CHILD.test(t[0])?null:(t[3]?t[2]=t[4]||t[5]||"":n&&H.test(n)&&(e=ut(n,!0))&&(e=n.indexOf(")",n.length-e)-n.length)&&(t[0]=t[0].slice(0,e),t[2]=n.slice(0,e)),t.slice(0,3))}},filter:{TAG:function(t){var e=t.replace(G,K).toLowerCase();return"*"===t?function(){return!0}:function(t){return S(t,e)}},CLASS:function(t){var e=_[t+" "];return e||(e=new RegExp("(^|"+$+")"+t+"("+$+"|$)"))&&_(t,(function(t){return e.test("string"==typeof t.className&&t.className||void 0!==t.getAttribute&&t.getAttribute("class")||"")}))},ATTR:function(t,e,n){return function(r){var i=J.attr(r,t);return null==i?"!="===e:!e||(i+="","="===e?i===n:"!="===e?i!==n:"^="===e?n&&0===i.indexOf(n):"*="===e?n&&-1<i.indexOf(n):"$="===e?n&&i.slice(-n.length)===n:"~="===e?-1<(" "+i.replace(M," ")+" ").indexOf(n):"|="===e&&(i===n||i.slice(0,n.length+1)===n+"-"))}},CHILD:function(t,e,n,r,i){var o="nth"!==t.slice(0,3),s="last"!==t.slice(-4),a="of-type"===e;return 1===r&&0===i?function(t){return!!t.parentNode}:function(e,n,c){var l,u,h,f,d,p=o!==s?"nextSibling":"previousSibling",g=e.parentNode,m=a&&e.nodeName.toLowerCase(),b=!c&&!a,_=!1;if(g){if(o){for(;p;){for(h=e;h=h[p];)if(a?S(h,m):1===h.nodeType)return!1;d=p="only"===t&&!d&&"nextSibling"}return!0}if(d=[s?g.firstChild:g.lastChild],s&&b){for(_=(f=(l=(u=g[v]||(g[v]={}))[t]||[])[0]===y&&l[1])&&l[2],h=f&&g.childNodes[f];h=++f&&h&&h[p]||(_=f=0)||d.pop();)if(1===h.nodeType&&++_&&h===e){u[t]=[y,f,_];break}}else if(b&&(_=f=(l=(u=e[v]||(e[v]={}))[t]||[])[0]===y&&l[1]),!1===_)for(;(h=++f&&h&&h[p]||(_=f=0)||d.pop())&&(!(a?S(h,m):1===h.nodeType)||!++_||(b&&((u=h[v]||(h[v]={}))[t]=[y,_]),h!==e)););return(_-=i)===r||_%r==0&&0<=_/r}}},PSEUDO:function(t,n){var r,i=e.pseudos[t]||e.setFilters[t.toLowerCase()]||J.error("unsupported pseudo: "+t);return i[v]?i(n):1<i.length?(r=[t,t,"",n],e.setFilters.hasOwnProperty(t.toLowerCase())?et((function(t,e){for(var r,o=i(t,n),s=o.length;s--;)t[r=u.call(t,o[s])]=!(e[r]=o[s])})):function(t){return i(t,0,r)}):i}},pseudos:{not:et((function(t){var e=[],n=[],r=vt(t.replace(L,"$1"));return r[v]?et((function(t,e,n,i){for(var o,s=r(t,null,i,[]),a=t.length;a--;)(o=s[a])&&(t[a]=!(e[a]=o))})):function(t,i,o){return e[0]=t,r(e,null,o,n),e[0]=null,!n.pop()}})),has:et((function(t){return function(e){return 0<J(t,e).length}})),contains:et((function(t){return t=t.replace(G,K),function(e){return-1<(e.textContent||C.text(e)).indexOf(t)}})),lang:et((function(t){return z.test(t||"")||J.error("unsupported lang: "+t),t=t.replace(G,K).toLowerCase(),function(e){var n;do{if(n=h?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(n=n.toLowerCase())===t||0===n.indexOf(t+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}})),target:function(t){var e=r.location&&r.location.hash;return e&&e.slice(1)===t.id},root:function(t){return t===l},focus:function(t){return t===function(){try{return c.activeElement}catch(t){}}()&&c.hasFocus()&&!!(t.type||t.href||~t.tabIndex)},enabled:ot(!1),disabled:ot(!0),checked:function(t){return S(t,"input")&&!!t.checked||S(t,"option")&&!!t.selected},selected:function(t){return t.parentNode&&t.parentNode.selectedIndex,!0===t.selected},empty:function(t){for(t=t.firstChild;t;t=t.nextSibling)if(t.nodeType<6)return!1;return!0},parent:function(t){return!e.pseudos.empty(t)},header:function(t){return V.test(t.nodeName)},input:function(t){return U.test(t.nodeName)},button:function(t){return S(t,"input")&&"button"===t.type||S(t,"button")},text:function(t){var e;return S(t,"input")&&"text"===t.type&&(null==(e=t.getAttribute("type"))||"text"===e.toLowerCase())},first:st((function(){return[0]})),last:st((function(t,e){return[e-1]})),eq:st((function(t,e,n){return[n<0?n+e:n]})),even:st((function(t,e){for(var n=0;n<e;n+=2)t.push(n);return t})),odd:st((function(t,e){for(var n=1;n<e;n+=2)t.push(n);return t})),lt:st((function(t,e,n){var r;for(r=n<0?n+e:e<n?e:n;0<=--r;)t.push(r);return t})),gt:st((function(t,e,n){for(var r=n<0?n+e:n;++r<e;)t.push(r);return t}))}}).pseudos.nth=e.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})e.pseudos[t]=rt(t);for(t in{submit:!0,reset:!0})e.pseudos[t]=it(t);function lt(){}function ut(t,n){var r,i,o,s,a,c,l,u=w[t+" "];if(u)return n?0:u.slice(0);for(a=t,c=[],l=e.preFilter;a;){for(s in r&&!(i=q.exec(a))||(i&&(a=a.slice(i[0].length)||a),c.push(o=[])),r=!1,(i=F.exec(a))&&(r=i.shift(),o.push({value:r,type:i[0].replace(L," ")}),a=a.slice(r.length)),e.filter)!(i=W[s].exec(a))||l[s]&&!(i=l[s](i))||(r=i.shift(),o.push({value:r,type:s,matches:i}),a=a.slice(r.length));if(!r)break}return n?a.length:a?J.error(t):w(t,c).slice(0)}function ht(t){for(var e=0,n=t.length,r="";e<n;e++)r+=t[e].value;return r}function ft(t,e,n){var r=e.dir,i=e.next,o=i||r,s=n&&"parentNode"===o,a=b++;return e.first?function(e,n,i){for(;e=e[r];)if(1===e.nodeType||s)return t(e,n,i);return!1}:function(e,n,c){var l,u,h=[y,a];if(c){for(;e=e[r];)if((1===e.nodeType||s)&&t(e,n,c))return!0}else for(;e=e[r];)if(1===e.nodeType||s)if(u=e[v]||(e[v]={}),i&&S(e,i))e=e[r]||e;else{if((l=u[o])&&l[0]===y&&l[1]===a)return h[2]=l[2];if((u[o]=h)[2]=t(e,n,c))return!0}return!1}}function dt(t){return 1<t.length?function(e,n,r){for(var i=t.length;i--;)if(!t[i](e,n,r))return!1;return!0}:t[0]}function pt(t,e,n,r,i){for(var o,s=[],a=0,c=t.length,l=null!=e;a<c;a++)(o=t[a])&&(n&&!n(o,r,i)||(s.push(o),l&&e.push(a)));return s}function gt(t,e,n,r,i,o){return r&&!r[v]&&(r=gt(r)),i&&!i[v]&&(i=gt(i,o)),et((function(o,s,a,c){var l,h,f,d,p=[],m=[],v=s.length,y=o||function(t,e,n){for(var r=0,i=e.length;r<i;r++)J(t,e[r],n);return n}(e||"*",a.nodeType?[a]:a,[]),b=!t||!o&&e?y:pt(y,p,t,a,c);if(n?n(b,d=i||(o?t:v||r)?[]:s,a,c):d=b,r)for(l=pt(d,m),r(l,[],a,c),h=l.length;h--;)(f=l[h])&&(d[m[h]]=!(b[m[h]]=f));if(o){if(i||t){if(i){for(l=[],h=d.length;h--;)(f=d[h])&&l.push(b[h]=f);i(null,d=[],l,c)}for(h=d.length;h--;)(f=d[h])&&-1<(l=i?u.call(o,f):p[h])&&(o[l]=!(s[l]=f))}}else d=pt(d===s?d.splice(v,d.length):d),i?i(null,s,d,c):g.apply(s,d)}))}function mt(t){for(var r,i,o,s=t.length,a=e.relative[t[0].type],c=a||e.relative[" "],l=a?1:0,h=ft((function(t){return t===r}),c,!0),f=ft((function(t){return-1<u.call(r,t)}),c,!0),d=[function(t,e,i){var o=!a&&(i||e!=n)||((r=e).nodeType?h(t,e,i):f(t,e,i));return r=null,o}];l<s;l++)if(i=e.relative[t[l].type])d=[ft(dt(d),i)];else{if((i=e.filter[t[l].type].apply(null,t[l].matches))[v]){for(o=++l;o<s&&!e.relative[t[o].type];o++);return gt(1<l&&dt(d),1<l&&ht(t.slice(0,l-1).concat({value:" "===t[l-2].type?"*":""})).replace(L,"$1"),i,l<o&&mt(t.slice(l,o)),o<s&&mt(t=t.slice(o)),o<s&&ht(t))}d.push(i)}return dt(d)}function vt(t,r){var i,o,s,a,l,u,f=[],d=[],p=x[t+" "];if(!p){for(r||(r=ut(t)),i=r.length;i--;)(p=mt(r[i]))[v]?f.push(p):d.push(p);(p=x(t,(o=d,a=0<(s=f).length,l=0<o.length,u=function(t,r,i,u,f){var d,p,m,v=0,b="0",_=t&&[],w=[],x=n,E=t||l&&e.find.TAG("*",f),A=y+=null==x?1:Math.random()||.1,T=E.length;for(f&&(n=r==c||r||f);b!==T&&null!=(d=E[b]);b++){if(l&&d){for(p=0,r||d.ownerDocument==c||(ct(d),i=!h);m=o[p++];)if(m(d,r||c,i)){g.call(u,d);break}f&&(y=A)}a&&((d=!m&&d)&&v--,t&&_.push(d))}if(v+=b,a&&b!==v){for(p=0;m=s[p++];)m(_,w,r,i);if(t){if(0<v)for(;b--;)_[b]||w[b]||(w[b]=k.call(u));w=pt(w)}g.apply(u,w),f&&!t&&0<w.length&&1<v+s.length&&C.uniqueSort(u)}return f&&(y=A,n=x),_},a?et(u):u))).selector=t}return p}function yt(t,n,r,i){var o,s,a,c,l,u="function"==typeof t&&t,f=!i&&ut(t=u.selector||t);if(r=r||[],1===f.length){if(2<(s=f[0]=f[0].slice(0)).length&&"ID"===(a=s[0]).type&&9===n.nodeType&&h&&e.relative[s[1].type]){if(!(n=(e.find.ID(a.matches[0].replace(G,K),n)||[])[0]))return r;u&&(n=n.parentNode),t=t.slice(s.shift().value.length)}for(o=W.needsContext.test(t)?0:s.length;o--&&(a=s[o],!e.relative[c=a.type]);)if((l=e.find[c])&&(i=l(a.matches[0].replace(G,K),X.test(s[0].type)&&at(n.parentNode)||n))){if(s.splice(o,1),!(t=i.length&&ht(s)))return g.apply(r,i),r;break}}return(u||vt(t,f))(i,n,!h,r,!n||X.test(t)&&at(n.parentNode)||n),r}lt.prototype=e.filters=e.pseudos,e.setFilters=new lt,m.sortStable=v.split("").sort(A).join("")===v,ct(),m.sortDetached=nt((function(t){return 1&t.compareDocumentPosition(c.createElement("fieldset"))})),C.find=J,C.expr[":"]=C.expr.pseudos,C.unique=C.uniqueSort,J.compile=vt,J.select=yt,J.setDocument=ct,J.tokenize=ut,J.escape=C.escapeSelector,J.getText=C.text,J.isXML=C.isXMLDoc,J.selectors=C.expr,J.support=C.support,J.uniqueSort=C.uniqueSort}();var R=function(t,e,n){for(var r=[],i=void 0!==n;(t=t[e])&&9!==t.nodeType;)if(1===t.nodeType){if(i&&C(t).is(n))break;r.push(t)}return r},M=function(t,e){for(var n=[];t;t=t.nextSibling)1===t.nodeType&&t!==e&&n.push(t);return n},q=C.expr.match.needsContext,F=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function B(t,e,n){return v(e)?C.grep(t,(function(t,r){return!!e.call(t,r,t)!==n})):e.nodeType?C.grep(t,(function(t){return t===e!==n})):"string"!=typeof e?C.grep(t,(function(t){return-1<u.call(e,t)!==n})):C.filter(e,t,n)}C.filter=function(t,e,n){var r=e[0];return n&&(t=":not("+t+")"),1===e.length&&1===r.nodeType?C.find.matchesSelector(r,t)?[r]:[]:C.find.matches(t,C.grep(e,(function(t){return 1===t.nodeType})))},C.fn.extend({find:function(t){var e,n,r=this.length,i=this;if("string"!=typeof t)return this.pushStack(C(t).filter((function(){for(e=0;e<r;e++)if(C.contains(i[e],this))return!0})));for(n=this.pushStack([]),e=0;e<r;e++)C.find(t,i[e],n);return 1<r?C.uniqueSort(n):n},filter:function(t){return this.pushStack(B(this,t||[],!1))},not:function(t){return this.pushStack(B(this,t||[],!0))},is:function(t){return!!B(this,"string"==typeof t&&q.test(t)?C(t):t||[],!1).length}});var H,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(C.fn.init=function(t,e,n){var r,i;if(!t)return this;if(n=n||H,"string"==typeof t){if(!(r="<"===t[0]&&">"===t[t.length-1]&&3<=t.length?[null,t,null]:z.exec(t))||!r[1]&&e)return!e||e.jquery?(e||n).find(t):this.constructor(e).find(t);if(r[1]){if(e=e instanceof C?e[0]:e,C.merge(this,C.parseHTML(r[1],e&&e.nodeType?e.ownerDocument||e:b,!0)),F.test(r[1])&&C.isPlainObject(e))for(r in e)v(this[r])?this[r](e[r]):this.attr(r,e[r]);return this}return(i=b.getElementById(r[2]))&&(this[0]=i,this.length=1),this}return t.nodeType?(this[0]=t,this.length=1,this):v(t)?void 0!==n.ready?n.ready(t):t(C):C.makeArray(t,this)}).prototype=C.fn,H=C(b);var W=/^(?:parents|prev(?:Until|All))/,U={children:!0,contents:!0,next:!0,prev:!0};function V(t,e){for(;(t=t[e])&&1!==t.nodeType;);return t}C.fn.extend({has:function(t){var e=C(t,this),n=e.length;return this.filter((function(){for(var t=0;t<n;t++)if(C.contains(this,e[t]))return!0}))},closest:function(t,e){var n,r=0,i=this.length,o=[],s="string"!=typeof t&&C(t);if(!q.test(t))for(;r<i;r++)for(n=this[r];n&&n!==e;n=n.parentNode)if(n.nodeType<11&&(s?-1<s.index(n):1===n.nodeType&&C.find.matchesSelector(n,t))){o.push(n);break}return this.pushStack(1<o.length?C.uniqueSort(o):o)},index:function(t){return t?"string"==typeof t?u.call(C(t),this[0]):u.call(this,t.jquery?t[0]:t):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(t,e){return this.pushStack(C.uniqueSort(C.merge(this.get(),C(t,e))))},addBack:function(t){return this.add(null==t?this.prevObject:this.prevObject.filter(t))}}),C.each({parent:function(t){var e=t.parentNode;return e&&11!==e.nodeType?e:null},parents:function(t){return R(t,"parentNode")},parentsUntil:function(t,e,n){return R(t,"parentNode",n)},next:function(t){return V(t,"nextSibling")},prev:function(t){return V(t,"previousSibling")},nextAll:function(t){return R(t,"nextSibling")},prevAll:function(t){return R(t,"previousSibling")},nextUntil:function(t,e,n){return R(t,"nextSibling",n)},prevUntil:function(t,e,n){return R(t,"previousSibling",n)},siblings:function(t){return M((t.parentNode||{}).firstChild,t)},children:function(t){return M(t.firstChild)},contents:function(t){return null!=t.contentDocument&&s(t.contentDocument)?t.contentDocument:(S(t,"template")&&(t=t.content||t),C.merge([],t.childNodes))}},(function(t,e){C.fn[t]=function(n,r){var i=C.map(this,e,n);return"Until"!==t.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=C.filter(r,i)),1<this.length&&(U[t]||C.uniqueSort(i),W.test(t)&&i.reverse()),this.pushStack(i)}}));var Y=/[^\x20\t\r\n\f]+/g;function X(t){return t}function G(t){throw t}function K(t,e,n,r){var i;try{t&&v(i=t.promise)?i.call(t).done(e).fail(n):t&&v(i=t.then)?i.call(t,e,n):e.apply(void 0,[t].slice(r))}catch(t){n.apply(void 0,[t])}}C.Callbacks=function(t){var e,n;t="string"==typeof t?(e=t,n={},C.each(e.match(Y)||[],(function(t,e){n[e]=!0})),n):C.extend({},t);var r,i,o,s,a=[],c=[],l=-1,u=function(){for(s=s||t.once,o=r=!0;c.length;l=-1)for(i=c.shift();++l<a.length;)!1===a[l].apply(i[0],i[1])&&t.stopOnFalse&&(l=a.length,i=!1);t.memory||(i=!1),r=!1,s&&(a=i?[]:"")},h={add:function(){return a&&(i&&!r&&(l=a.length-1,c.push(i)),function e(n){C.each(n,(function(n,r){v(r)?t.unique&&h.has(r)||a.push(r):r&&r.length&&"string"!==x(r)&&e(r)}))}(arguments),i&&!r&&u()),this},remove:function(){return C.each(arguments,(function(t,e){for(var n;-1<(n=C.inArray(e,a,n));)a.splice(n,1),n<=l&&l--})),this},has:function(t){return t?-1<C.inArray(t,a):0<a.length},empty:function(){return a&&(a=[]),this},disable:function(){return s=c=[],a=i="",this},disabled:function(){return!a},lock:function(){return s=c=[],i||r||(a=i=""),this},locked:function(){return!!s},fireWith:function(t,e){return s||(e=[t,(e=e||[]).slice?e.slice():e],c.push(e),r||u()),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!o}};return h},C.extend({Deferred:function(t){var e=[["notify","progress",C.Callbacks("memory"),C.Callbacks("memory"),2],["resolve","done",C.Callbacks("once memory"),C.Callbacks("once memory"),0,"resolved"],["reject","fail",C.Callbacks("once memory"),C.Callbacks("once memory"),1,"rejected"]],n="pending",i={state:function(){return n},always:function(){return o.done(arguments).fail(arguments),this},catch:function(t){return i.then(null,t)},pipe:function(){var t=arguments;return C.Deferred((function(n){C.each(e,(function(e,r){var i=v(t[r[4]])&&t[r[4]];o[r[1]]((function(){var t=i&&i.apply(this,arguments);t&&v(t.promise)?t.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[r[0]+"With"](this,i?[t]:arguments)}))})),t=null})).promise()},then:function(t,n,i){var o=0;function s(t,e,n,i){return function(){var a=this,c=arguments,l=function(){var r,l;if(!(t<o)){if((r=n.apply(a,c))===e.promise())throw new TypeError("Thenable self-resolution");l=r&&("object"==typeof r||"function"==typeof r)&&r.then,v(l)?i?l.call(r,s(o,e,X,i),s(o,e,G,i)):(o++,l.call(r,s(o,e,X,i),s(o,e,G,i),s(o,e,X,e.notifyWith))):(n!==X&&(a=void 0,c=[r]),(i||e.resolveWith)(a,c))}},u=i?l:function(){try{l()}catch(r){C.Deferred.exceptionHook&&C.Deferred.exceptionHook(r,u.error),o<=t+1&&(n!==G&&(a=void 0,c=[r]),e.rejectWith(a,c))}};t?u():(C.Deferred.getErrorHook?u.error=C.Deferred.getErrorHook():C.Deferred.getStackHook&&(u.error=C.Deferred.getStackHook()),r.setTimeout(u))}}return C.Deferred((function(r){e[0][3].add(s(0,r,v(i)?i:X,r.notifyWith)),e[1][3].add(s(0,r,v(t)?t:X)),e[2][3].add(s(0,r,v(n)?n:G))})).promise()},promise:function(t){return null!=t?C.extend(t,i):i}},o={};return C.each(e,(function(t,r){var s=r[2],a=r[5];i[r[1]]=s.add,a&&s.add((function(){n=a}),e[3-t][2].disable,e[3-t][3].disable,e[0][2].lock,e[0][3].lock),s.add(r[3].fire),o[r[0]]=function(){return o[r[0]+"With"](this===o?void 0:this,arguments),this},o[r[0]+"With"]=s.fireWith})),i.promise(o),t&&t.call(o,o),o},when:function(t){var e=arguments.length,n=e,r=Array(n),i=a.call(arguments),o=C.Deferred(),s=function(t){return function(n){r[t]=this,i[t]=1<arguments.length?a.call(arguments):n,--e||o.resolveWith(r,i)}};if(e<=1&&(K(t,o.done(s(n)).resolve,o.reject,!e),"pending"===o.state()||v(i[n]&&i[n].then)))return o.then();for(;n--;)K(i[n],s(n),o.reject);return o.promise()}});var Z=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;C.Deferred.exceptionHook=function(t,e){r.console&&r.console.warn&&t&&Z.test(t.name)&&r.console.warn("jQuery.Deferred exception: "+t.message,t.stack,e)},C.readyException=function(t){r.setTimeout((function(){throw t}))};var Q=C.Deferred();function J(){b.removeEventListener("DOMContentLoaded",J),r.removeEventListener("load",J),C.ready()}C.fn.ready=function(t){return Q.then(t).catch((function(t){C.readyException(t)})),this},C.extend({isReady:!1,readyWait:1,ready:function(t){(!0===t?--C.readyWait:C.isReady)||(C.isReady=!0)!==t&&0<--C.readyWait||Q.resolveWith(b,[C])}}),C.ready.then=Q.then,"complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll?r.setTimeout(C.ready):(b.addEventListener("DOMContentLoaded",J),r.addEventListener("load",J));var tt=function(t,e,n,r,i,o,s){var a=0,c=t.length,l=null==n;if("object"===x(n))for(a in i=!0,n)tt(t,e,a,n[a],!0,o,s);else if(void 0!==r&&(i=!0,v(r)||(s=!0),l&&(s?(e.call(t,r),e=null):(l=e,e=function(t,e,n){return l.call(C(t),n)})),e))for(;a<c;a++)e(t[a],n,s?r:r.call(t[a],a,e(t[a],n)));return i?t:l?e.call(t):c?e(t[0],n):o},et=/^-ms-/,nt=/-([a-z])/g;function rt(t,e){return e.toUpperCase()}function it(t){return t.replace(et,"ms-").replace(nt,rt)}var ot=function(t){return 1===t.nodeType||9===t.nodeType||!+t.nodeType};function st(){this.expando=C.expando+st.uid++}st.uid=1,st.prototype={cache:function(t){var e=t[this.expando];return e||(e={},ot(t)&&(t.nodeType?t[this.expando]=e:Object.defineProperty(t,this.expando,{value:e,configurable:!0}))),e},set:function(t,e,n){var r,i=this.cache(t);if("string"==typeof e)i[it(e)]=n;else for(r in e)i[it(r)]=e[r];return i},get:function(t,e){return void 0===e?this.cache(t):t[this.expando]&&t[this.expando][it(e)]},access:function(t,e,n){return void 0===e||e&&"string"==typeof e&&void 0===n?this.get(t,e):(this.set(t,e,n),void 0!==n?n:e)},remove:function(t,e){var n,r=t[this.expando];if(void 0!==r){if(void 0!==e){n=(e=Array.isArray(e)?e.map(it):(e=it(e))in r?[e]:e.match(Y)||[]).length;for(;n--;)delete r[e[n]]}(void 0===e||C.isEmptyObject(r))&&(t.nodeType?t[this.expando]=void 0:delete t[this.expando])}},hasData:function(t){var e=t[this.expando];return void 0!==e&&!C.isEmptyObject(e)}};var at=new st,ct=new st,lt=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,ut=/[A-Z]/g;function ht(t,e,n){var r,i;if(void 0===n&&1===t.nodeType)if(r="data-"+e.replace(ut,"-$&").toLowerCase(),"string"==typeof(n=t.getAttribute(r))){try{n="true"===(i=n)||"false"!==i&&("null"===i?null:i===+i+""?+i:lt.test(i)?JSON.parse(i):i)}catch(t){}ct.set(t,e,n)}else n=void 0;return n}C.extend({hasData:function(t){return ct.hasData(t)||at.hasData(t)},data:function(t,e,n){return ct.access(t,e,n)},removeData:function(t,e){ct.remove(t,e)},_data:function(t,e,n){return at.access(t,e,n)},_removeData:function(t,e){at.remove(t,e)}}),C.fn.extend({data:function(t,e){var n,r,i,o=this[0],s=o&&o.attributes;if(void 0===t){if(this.length&&(i=ct.get(o),1===o.nodeType&&!at.get(o,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(r=s[n].name).indexOf("data-")&&(r=it(r.slice(5)),ht(o,r,i[r]));at.set(o,"hasDataAttrs",!0)}return i}return"object"==typeof t?this.each((function(){ct.set(this,t)})):tt(this,(function(e){var n;if(o&&void 0===e)return void 0!==(n=ct.get(o,t))||void 0!==(n=ht(o,t))?n:void 0;this.each((function(){ct.set(this,t,e)}))}),null,e,1<arguments.length,null,!0)},removeData:function(t){return this.each((function(){ct.remove(this,t)}))}}),C.extend({queue:function(t,e,n){var r;if(t)return e=(e||"fx")+"queue",r=at.get(t,e),n&&(!r||Array.isArray(n)?r=at.access(t,e,C.makeArray(n)):r.push(n)),r||[]},dequeue:function(t,e){e=e||"fx";var n=C.queue(t,e),r=n.length,i=n.shift(),o=C._queueHooks(t,e);"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===e&&n.unshift("inprogress"),delete o.stop,i.call(t,(function(){C.dequeue(t,e)}),o)),!r&&o&&o.empty.fire()},_queueHooks:function(t,e){var n=e+"queueHooks";return at.get(t,n)||at.access(t,n,{empty:C.Callbacks("once memory").add((function(){at.remove(t,[e+"queue",n])}))})}}),C.fn.extend({queue:function(t,e){var n=2;return"string"!=typeof t&&(e=t,t="fx",n--),arguments.length<n?C.queue(this[0],t):void 0===e?this:this.each((function(){var n=C.queue(this,t,e);C._queueHooks(this,t),"fx"===t&&"inprogress"!==n[0]&&C.dequeue(this,t)}))},dequeue:function(t){return this.each((function(){C.dequeue(this,t)}))},clearQueue:function(t){return this.queue(t||"fx",[])},promise:function(t,e){var n,r=1,i=C.Deferred(),o=this,s=this.length,a=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof t&&(e=t,t=void 0),t=t||"fx";s--;)(n=at.get(o[s],t+"queueHooks"))&&n.empty&&(r++,n.empty.add(a));return a(),i.promise(e)}});var ft=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,dt=new RegExp("^(?:([+-])=|)("+ft+")([a-z%]*)$","i"),pt=["Top","Right","Bottom","Left"],gt=b.documentElement,mt=function(t){return C.contains(t.ownerDocument,t)},vt={composed:!0};gt.getRootNode&&(mt=function(t){return C.contains(t.ownerDocument,t)||t.getRootNode(vt)===t.ownerDocument});var yt=function(t,e){return"none"===(t=e||t).style.display||""===t.style.display&&mt(t)&&"none"===C.css(t,"display")};function bt(t,e,n,r){var i,o,s=20,a=r?function(){return r.cur()}:function(){return C.css(t,e,"")},c=a(),l=n&&n[3]||(C.cssNumber[e]?"":"px"),u=t.nodeType&&(C.cssNumber[e]||"px"!==l&&+c)&&dt.exec(C.css(t,e));if(u&&u[3]!==l){for(c/=2,l=l||u[3],u=+c||1;s--;)C.style(t,e,u+l),(1-o)*(1-(o=a()/c||.5))<=0&&(s=0),u/=o;u*=2,C.style(t,e,u+l),n=n||[]}return n&&(u=+u||+c||0,i=n[1]?u+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=u,r.end=i)),i}var _t={};function wt(t,e){for(var n,r,i,o,s,a,c,l=[],u=0,h=t.length;u<h;u++)(r=t[u]).style&&(n=r.style.display,e?("none"===n&&(l[u]=at.get(r,"display")||null,l[u]||(r.style.display="")),""===r.style.display&&yt(r)&&(l[u]=(c=s=o=void 0,s=(i=r).ownerDocument,a=i.nodeName,(c=_t[a])||(o=s.body.appendChild(s.createElement(a)),c=C.css(o,"display"),o.parentNode.removeChild(o),"none"===c&&(c="block"),_t[a]=c)))):"none"!==n&&(l[u]="none",at.set(r,"display",n)));for(u=0;u<h;u++)null!=l[u]&&(t[u].style.display=l[u]);return t}C.fn.extend({show:function(){return wt(this,!0)},hide:function(){return wt(this)},toggle:function(t){return"boolean"==typeof t?t?this.show():this.hide():this.each((function(){yt(this)?C(this).show():C(this).hide()}))}});var xt,Et,At=/^(?:checkbox|radio)$/i,Ct=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Tt=/^$|^module$|\/(?:java|ecma)script/i;xt=b.createDocumentFragment().appendChild(b.createElement("div")),(Et=b.createElement("input")).setAttribute("type","radio"),Et.setAttribute("checked","checked"),Et.setAttribute("name","t"),xt.appendChild(Et),m.checkClone=xt.cloneNode(!0).cloneNode(!0).lastChild.checked,xt.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!xt.cloneNode(!0).lastChild.defaultValue,xt.innerHTML="<option></option>",m.option=!!xt.lastChild;var St={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 kt(t,e){var n;return n=void 0!==t.getElementsByTagName?t.getElementsByTagName(e||"*"):void 0!==t.querySelectorAll?t.querySelectorAll(e||"*"):[],void 0===e||e&&S(t,e)?C.merge([t],n):n}function Pt(t,e){for(var n=0,r=t.length;n<r;n++)at.set(t[n],"globalEval",!e||at.get(e[n],"globalEval"))}St.tbody=St.tfoot=St.colgroup=St.caption=St.thead,St.th=St.td,m.option||(St.optgroup=St.option=[1,"<select multiple='multiple'>","</select>"]);var Ot=/<|&#?\w+;/;function $t(t,e,n,r,i){for(var o,s,a,c,l,u,h=e.createDocumentFragment(),f=[],d=0,p=t.length;d<p;d++)if((o=t[d])||0===o)if("object"===x(o))C.merge(f,o.nodeType?[o]:o);else if(Ot.test(o)){for(s=s||h.appendChild(e.createElement("div")),a=(Ct.exec(o)||["",""])[1].toLowerCase(),c=St[a]||St._default,s.innerHTML=c[1]+C.htmlPrefilter(o)+c[2],u=c[0];u--;)s=s.lastChild;C.merge(f,s.childNodes),(s=h.firstChild).textContent=""}else f.push(e.createTextNode(o));for(h.textContent="",d=0;o=f[d++];)if(r&&-1<C.inArray(o,r))i&&i.push(o);else if(l=mt(o),s=kt(h.appendChild(o),"script"),l&&Pt(s),n)for(u=0;o=s[u++];)Tt.test(o.type||"")&&n.push(o);return h}var Lt=/^([^.]*)(?:\.(.+)|)/;function Dt(){return!0}function It(){return!1}function jt(t,e,n,r,i,o){var s,a;if("object"==typeof e){for(a in"string"!=typeof n&&(r=r||n,n=void 0),e)jt(t,a,n,r,e[a],o);return t}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),!1===i)i=It;else if(!i)return t;return 1===o&&(s=i,(i=function(t){return C().off(t),s.apply(this,arguments)}).guid=s.guid||(s.guid=C.guid++)),t.each((function(){C.event.add(this,e,i,r,n)}))}function Nt(t,e,n){n?(at.set(t,e,!1),C.event.add(t,e,{namespace:!1,handler:function(t){var n,r=at.get(this,e);if(1&t.isTrigger&&this[e]){if(r)(C.event.special[e]||{}).delegateType&&t.stopPropagation();else if(r=a.call(arguments),at.set(this,e,r),this[e](),n=at.get(this,e),at.set(this,e,!1),r!==n)return t.stopImmediatePropagation(),t.preventDefault(),n}else r&&(at.set(this,e,C.event.trigger(r[0],r.slice(1),this)),t.stopPropagation(),t.isImmediatePropagationStopped=Dt)}})):void 0===at.get(t,e)&&C.event.add(t,e,Dt)}C.event={global:{},add:function(t,e,n,r,i){var o,s,a,c,l,u,h,f,d,p,g,m=at.get(t);if(ot(t))for(n.handler&&(n=(o=n).handler,i=o.selector),i&&C.find.matchesSelector(gt,i),n.guid||(n.guid=C.guid++),(c=m.events)||(c=m.events=Object.create(null)),(s=m.handle)||(s=m.handle=function(e){return void 0!==C&&C.event.triggered!==e.type?C.event.dispatch.apply(t,arguments):void 0}),l=(e=(e||"").match(Y)||[""]).length;l--;)d=g=(a=Lt.exec(e[l])||[])[1],p=(a[2]||"").split(".").sort(),d&&(h=C.event.special[d]||{},d=(i?h.delegateType:h.bindType)||d,h=C.event.special[d]||{},u=C.extend({type:d,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&C.expr.match.needsContext.test(i),namespace:p.join(".")},o),(f=c[d])||((f=c[d]=[]).delegateCount=0,h.setup&&!1!==h.setup.call(t,r,p,s)||t.addEventListener&&t.addEventListener(d,s)),h.add&&(h.add.call(t,u),u.handler.guid||(u.handler.guid=n.guid)),i?f.splice(f.delegateCount++,0,u):f.push(u),C.event.global[d]=!0)},remove:function(t,e,n,r,i){var o,s,a,c,l,u,h,f,d,p,g,m=at.hasData(t)&&at.get(t);if(m&&(c=m.events)){for(l=(e=(e||"").match(Y)||[""]).length;l--;)if(d=g=(a=Lt.exec(e[l])||[])[1],p=(a[2]||"").split(".").sort(),d){for(h=C.event.special[d]||{},f=c[d=(r?h.delegateType:h.bindType)||d]||[],a=a[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),s=o=f.length;o--;)u=f[o],!i&&g!==u.origType||n&&n.guid!==u.guid||a&&!a.test(u.namespace)||r&&r!==u.selector&&("**"!==r||!u.selector)||(f.splice(o,1),u.selector&&f.delegateCount--,h.remove&&h.remove.call(t,u));s&&!f.length&&(h.teardown&&!1!==h.teardown.call(t,p,m.handle)||C.removeEvent(t,d,m.handle),delete c[d])}else for(d in c)C.event.remove(t,d+e[l],n,r,!0);C.isEmptyObject(c)&&at.remove(t,"handle events")}},dispatch:function(t){var e,n,r,i,o,s,a=new Array(arguments.length),c=C.event.fix(t),l=(at.get(this,"events")||Object.create(null))[c.type]||[],u=C.event.special[c.type]||{};for(a[0]=c,e=1;e<arguments.length;e++)a[e]=arguments[e];if(c.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,c)){for(s=C.event.handlers.call(this,c,l),e=0;(i=s[e++])&&!c.isPropagationStopped();)for(c.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!c.isImmediatePropagationStopped();)c.rnamespace&&!1!==o.namespace&&!c.rnamespace.test(o.namespace)||(c.handleObj=o,c.data=o.data,void 0!==(r=((C.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,a))&&!1===(c.result=r)&&(c.preventDefault(),c.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,c),c.result}},handlers:function(t,e){var n,r,i,o,s,a=[],c=e.delegateCount,l=t.target;if(c&&l.nodeType&&!("click"===t.type&&1<=t.button))for(;l!==this;l=l.parentNode||this)if(1===l.nodeType&&("click"!==t.type||!0!==l.disabled)){for(o=[],s={},n=0;n<c;n++)void 0===s[i=(r=e[n]).selector+" "]&&(s[i]=r.needsContext?-1<C(i,this).index(l):C.find(i,this,null,[l]).length),s[i]&&o.push(r);o.length&&a.push({elem:l,handlers:o})}return l=this,c<e.length&&a.push({elem:l,handlers:e.slice(c)}),a},addProp:function(t,e){Object.defineProperty(C.Event.prototype,t,{enumerable:!0,configurable:!0,get:v(e)?function(){if(this.originalEvent)return e(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[t]},set:function(e){Object.defineProperty(this,t,{enumerable:!0,configurable:!0,writable:!0,value:e})}})},fix:function(t){return t[C.expando]?t:new C.Event(t)},special:{load:{noBubble:!0},click:{setup:function(t){var e=this||t;return At.test(e.type)&&e.click&&S(e,"input")&&Nt(e,"click",!0),!1},trigger:function(t){var e=this||t;return At.test(e.type)&&e.click&&S(e,"input")&&Nt(e,"click"),!0},_default:function(t){var e=t.target;return At.test(e.type)&&e.click&&S(e,"input")&&at.get(e,"click")||S(e,"a")}},beforeunload:{postDispatch:function(t){void 0!==t.result&&t.originalEvent&&(t.originalEvent.returnValue=t.result)}}}},C.removeEvent=function(t,e,n){t.removeEventListener&&t.removeEventListener(e,n)},C.Event=function(t,e){if(!(this instanceof C.Event))return new C.Event(t,e);t&&t.type?(this.originalEvent=t,this.type=t.type,this.isDefaultPrevented=t.defaultPrevented||void 0===t.defaultPrevented&&!1===t.returnValue?Dt:It,this.target=t.target&&3===t.target.nodeType?t.target.parentNode:t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget):this.type=t,e&&C.extend(this,e),this.timeStamp=t&&t.timeStamp||Date.now(),this[C.expando]=!0},C.Event.prototype={constructor:C.Event,isDefaultPrevented:It,isPropagationStopped:It,isImmediatePropagationStopped:It,isSimulated:!1,preventDefault:function(){var t=this.originalEvent;this.isDefaultPrevented=Dt,t&&!this.isSimulated&&t.preventDefault()},stopPropagation:function(){var t=this.originalEvent;this.isPropagationStopped=Dt,t&&!this.isSimulated&&t.stopPropagation()},stopImmediatePropagation:function(){var t=this.originalEvent;this.isImmediatePropagationStopped=Dt,t&&!this.isSimulated&&t.stopImmediatePropagation(),this.stopPropagation()}},C.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},C.event.addProp),C.each({focus:"focusin",blur:"focusout"},(function(t,e){function n(t){if(b.documentMode){var n=at.get(this,"handle"),r=C.event.fix(t);r.type="focusin"===t.type?"focus":"blur",r.isSimulated=!0,n(t),r.target===r.currentTarget&&n(r)}else C.event.simulate(e,t.target,C.event.fix(t))}C.event.special[t]={setup:function(){var r;if(Nt(this,t,!0),!b.documentMode)return!1;(r=at.get(this,e))||this.addEventListener(e,n),at.set(this,e,(r||0)+1)},trigger:function(){return Nt(this,t),!0},teardown:function(){var t;if(!b.documentMode)return!1;(t=at.get(this,e)-1)?at.set(this,e,t):(this.removeEventListener(e,n),at.remove(this,e))},_default:function(e){return at.get(e.target,t)},delegateType:e},C.event.special[e]={setup:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=at.get(i,e);o||(b.documentMode?this.addEventListener(e,n):r.addEventListener(t,n,!0)),at.set(i,e,(o||0)+1)},teardown:function(){var r=this.ownerDocument||this.document||this,i=b.documentMode?this:r,o=at.get(i,e)-1;o?at.set(i,e,o):(b.documentMode?this.removeEventListener(e,n):r.removeEventListener(t,n,!0),at.remove(i,e))}}})),C.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},(function(t,e){C.event.special[t]={delegateType:e,bindType:e,handle:function(t){var n,r=t.relatedTarget,i=t.handleObj;return r&&(r===this||C.contains(this,r))||(t.type=i.origType,n=i.handler.apply(this,arguments),t.type=e),n}}})),C.fn.extend({on:function(t,e,n,r){return jt(this,t,e,n,r)},one:function(t,e,n,r){return jt(this,t,e,n,r,1)},off:function(t,e,n){var r,i;if(t&&t.preventDefault&&t.handleObj)return r=t.handleObj,C(t.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof t){for(i in t)this.off(i,e,t[i]);return this}return!1!==e&&"function"!=typeof e||(n=e,e=void 0),!1===n&&(n=It),this.each((function(){C.event.remove(this,t,n,e)}))}});var Rt=/<script|<style|<link/i,Mt=/checked\s*(?:[^=]|=\s*.checked.)/i,qt=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Ft(t,e){return S(t,"table")&&S(11!==e.nodeType?e:e.firstChild,"tr")&&C(t).children("tbody")[0]||t}function Bt(t){return t.type=(null!==t.getAttribute("type"))+"/"+t.type,t}function Ht(t){return"true/"===(t.type||"").slice(0,5)?t.type=t.type.slice(5):t.removeAttribute("type"),t}function zt(t,e){var n,r,i,o,s,a;if(1===e.nodeType){if(at.hasData(t)&&(a=at.get(t).events))for(i in at.remove(e,"handle events"),a)for(n=0,r=a[i].length;n<r;n++)C.event.add(e,i,a[i][n]);ct.hasData(t)&&(o=ct.access(t),s=C.extend({},o),ct.set(e,s))}}function Wt(t,e,n,r){e=c(e);var i,o,s,a,l,u,h=0,f=t.length,d=f-1,p=e[0],g=v(p);if(g||1<f&&"string"==typeof p&&!m.checkClone&&Mt.test(p))return t.each((function(i){var o=t.eq(i);g&&(e[0]=p.call(this,i,o.html())),Wt(o,e,n,r)}));if(f&&(o=(i=$t(e,t[0].ownerDocument,!1,t,r)).firstChild,1===i.childNodes.length&&(i=o),o||r)){for(a=(s=C.map(kt(i,"script"),Bt)).length;h<f;h++)l=i,h!==d&&(l=C.clone(l,!0,!0),a&&C.merge(s,kt(l,"script"))),n.call(t[h],l,h);if(a)for(u=s[s.length-1].ownerDocument,C.map(s,Ht),h=0;h<a;h++)l=s[h],Tt.test(l.type||"")&&!at.access(l,"globalEval")&&C.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?C._evalUrl&&!l.noModule&&C._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):w(l.textContent.replace(qt,""),l,u))}return t}function Ut(t,e,n){for(var r,i=e?C.filter(e,t):t,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||C.cleanData(kt(r)),r.parentNode&&(n&&mt(r)&&Pt(kt(r,"script")),r.parentNode.removeChild(r));return t}C.extend({htmlPrefilter:function(t){return t},clone:function(t,e,n){var r,i,o,s,a,c,l,u=t.cloneNode(!0),h=mt(t);if(!(m.noCloneChecked||1!==t.nodeType&&11!==t.nodeType||C.isXMLDoc(t)))for(s=kt(u),r=0,i=(o=kt(t)).length;r<i;r++)a=o[r],"input"===(l=(c=s[r]).nodeName.toLowerCase())&&At.test(a.type)?c.checked=a.checked:"input"!==l&&"textarea"!==l||(c.defaultValue=a.defaultValue);if(e)if(n)for(o=o||kt(t),s=s||kt(u),r=0,i=o.length;r<i;r++)zt(o[r],s[r]);else zt(t,u);return 0<(s=kt(u,"script")).length&&Pt(s,!h&&kt(t,"script")),u},cleanData:function(t){for(var e,n,r,i=C.event.special,o=0;void 0!==(n=t[o]);o++)if(ot(n)){if(e=n[at.expando]){if(e.events)for(r in e.events)i[r]?C.event.remove(n,r):C.removeEvent(n,r,e.handle);n[at.expando]=void 0}n[ct.expando]&&(n[ct.expando]=void 0)}}}),C.fn.extend({detach:function(t){return Ut(this,t,!0)},remove:function(t){return Ut(this,t)},text:function(t){return tt(this,(function(t){return void 0===t?C.text(this):this.empty().each((function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=t)}))}),null,t,arguments.length)},append:function(){return Wt(this,arguments,(function(t){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Ft(this,t).appendChild(t)}))},prepend:function(){return Wt(this,arguments,(function(t){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var e=Ft(this,t);e.insertBefore(t,e.firstChild)}}))},before:function(){return Wt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this)}))},after:function(){return Wt(this,arguments,(function(t){this.parentNode&&this.parentNode.insertBefore(t,this.nextSibling)}))},empty:function(){for(var t,e=0;null!=(t=this[e]);e++)1===t.nodeType&&(C.cleanData(kt(t,!1)),t.textContent="");return this},clone:function(t,e){return t=null!=t&&t,e=null==e?t:e,this.map((function(){return C.clone(this,t,e)}))},html:function(t){return tt(this,(function(t){var e=this[0]||{},n=0,r=this.length;if(void 0===t&&1===e.nodeType)return e.innerHTML;if("string"==typeof t&&!Rt.test(t)&&!St[(Ct.exec(t)||["",""])[1].toLowerCase()]){t=C.htmlPrefilter(t);try{for(;n<r;n++)1===(e=this[n]||{}).nodeType&&(C.cleanData(kt(e,!1)),e.innerHTML=t);e=0}catch(t){}}e&&this.empty().append(t)}),null,t,arguments.length)},replaceWith:function(){var t=[];return Wt(this,arguments,(function(e){var n=this.parentNode;C.inArray(this,t)<0&&(C.cleanData(kt(this)),n&&n.replaceChild(e,this))}),t)}}),C.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},(function(t,e){C.fn[t]=function(t){for(var n,r=[],i=C(t),o=i.length-1,s=0;s<=o;s++)n=s===o?this:this.clone(!0),C(i[s])[e](n),l.apply(r,n.get());return this.pushStack(r)}}));var Vt=new RegExp("^("+ft+")(?!px)[a-z%]+$","i"),Yt=/^--/,Xt=function(t){var e=t.ownerDocument.defaultView;return e&&e.opener||(e=r),e.getComputedStyle(t)},Gt=function(t,e,n){var r,i,o={};for(i in e)o[i]=t.style[i],t.style[i]=e[i];for(i in r=n.call(t),e)t.style[i]=o[i];return r},Kt=new RegExp(pt.join("|"),"i");function Zt(t,e,n){var r,i,o,s,a=Yt.test(e),c=t.style;return(n=n||Xt(t))&&(s=n.getPropertyValue(e)||n[e],a&&s&&(s=s.replace(L,"$1")||void 0),""!==s||mt(t)||(s=C.style(t,e)),!m.pixelBoxStyles()&&Vt.test(s)&&Kt.test(e)&&(r=c.width,i=c.minWidth,o=c.maxWidth,c.minWidth=c.maxWidth=c.width=s,s=n.width,c.width=r,c.minWidth=i,c.maxWidth=o)),void 0!==s?s+"":s}function Qt(t,e){return{get:function(){if(!t())return(this.get=e).apply(this,arguments);delete this.get}}}!function(){function t(){if(u){l.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",u.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",gt.appendChild(l).appendChild(u);var t=r.getComputedStyle(u);n="1%"!==t.top,c=12===e(t.marginLeft),u.style.right="60%",s=36===e(t.right),i=36===e(t.width),u.style.position="absolute",o=12===e(u.offsetWidth/3),gt.removeChild(l),u=null}}function e(t){return Math.round(parseFloat(t))}var n,i,o,s,a,c,l=b.createElement("div"),u=b.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle="content-box"===u.style.backgroundClip,C.extend(m,{boxSizingReliable:function(){return t(),i},pixelBoxStyles:function(){return t(),s},pixelPosition:function(){return t(),n},reliableMarginLeft:function(){return t(),c},scrollboxSize:function(){return t(),o},reliableTrDimensions:function(){var t,e,n,i;return null==a&&(t=b.createElement("table"),e=b.createElement("tr"),n=b.createElement("div"),t.style.cssText="position:absolute;left:-11111px;border-collapse:separate",e.style.cssText="box-sizing:content-box;border:1px solid",e.style.height="1px",n.style.height="9px",n.style.display="block",gt.appendChild(t).appendChild(e).appendChild(n),i=r.getComputedStyle(e),a=parseInt(i.height,10)+parseInt(i.borderTopWidth,10)+parseInt(i.borderBottomWidth,10)===e.offsetHeight,gt.removeChild(t)),a}}))}();var Jt=["Webkit","Moz","ms"],te=b.createElement("div").style,ee={};function ne(t){return C.cssProps[t]||ee[t]||(t in te?t:ee[t]=function(t){for(var e=t[0].toUpperCase()+t.slice(1),n=Jt.length;n--;)if((t=Jt[n]+e)in te)return t}(t)||t)}var re=/^(none|table(?!-c[ea]).+)/,ie={position:"absolute",visibility:"hidden",display:"block"},oe={letterSpacing:"0",fontWeight:"400"};function se(t,e,n){var r=dt.exec(e);return r?Math.max(0,r[2]-(n||0))+(r[3]||"px"):e}function ae(t,e,n,r,i,o){var s="width"===e?1:0,a=0,c=0,l=0;if(n===(r?"border":"content"))return 0;for(;s<4;s+=2)"margin"===n&&(l+=C.css(t,n+pt[s],!0,i)),r?("content"===n&&(c-=C.css(t,"padding"+pt[s],!0,i)),"margin"!==n&&(c-=C.css(t,"border"+pt[s]+"Width",!0,i))):(c+=C.css(t,"padding"+pt[s],!0,i),"padding"!==n?c+=C.css(t,"border"+pt[s]+"Width",!0,i):a+=C.css(t,"border"+pt[s]+"Width",!0,i));return!r&&0<=o&&(c+=Math.max(0,Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-o-c-a-.5))||0),c+l}function ce(t,e,n){var r=Xt(t),i=(!m.boxSizingReliable()||n)&&"border-box"===C.css(t,"boxSizing",!1,r),o=i,s=Zt(t,e,r),a="offset"+e[0].toUpperCase()+e.slice(1);if(Vt.test(s)){if(!n)return s;s="auto"}return(!m.boxSizingReliable()&&i||!m.reliableTrDimensions()&&S(t,"tr")||"auto"===s||!parseFloat(s)&&"inline"===C.css(t,"display",!1,r))&&t.getClientRects().length&&(i="border-box"===C.css(t,"boxSizing",!1,r),(o=a in t)&&(s=t[a])),(s=parseFloat(s)||0)+ae(t,e,n||(i?"border":"content"),o,r,s)+"px"}function le(t,e,n,r,i){return new le.prototype.init(t,e,n,r,i)}C.extend({cssHooks:{opacity:{get:function(t,e){if(e){var n=Zt(t,"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(t,e,n,r){if(t&&3!==t.nodeType&&8!==t.nodeType&&t.style){var i,o,s,a=it(e),c=Yt.test(e),l=t.style;if(c||(e=ne(a)),s=C.cssHooks[e]||C.cssHooks[a],void 0===n)return s&&"get"in s&&void 0!==(i=s.get(t,!1,r))?i:l[e];"string"==(o=typeof n)&&(i=dt.exec(n))&&i[1]&&(n=bt(t,e,i),o="number"),null!=n&&n==n&&("number"!==o||c||(n+=i&&i[3]||(C.cssNumber[a]?"":"px")),m.clearCloneStyle||""!==n||0!==e.indexOf("background")||(l[e]="inherit"),s&&"set"in s&&void 0===(n=s.set(t,n,r))||(c?l.setProperty(e,n):l[e]=n))}},css:function(t,e,n,r){var i,o,s,a=it(e);return Yt.test(e)||(e=ne(a)),(s=C.cssHooks[e]||C.cssHooks[a])&&"get"in s&&(i=s.get(t,!0,n)),void 0===i&&(i=Zt(t,e,r)),"normal"===i&&e in oe&&(i=oe[e]),""===n||n?(o=parseFloat(i),!0===n||isFinite(o)?o||0:i):i}}),C.each(["height","width"],(function(t,e){C.cssHooks[e]={get:function(t,n,r){if(n)return!re.test(C.css(t,"display"))||t.getClientRects().length&&t.getBoundingClientRect().width?ce(t,e,r):Gt(t,ie,(function(){return ce(t,e,r)}))},set:function(t,n,r){var i,o=Xt(t),s=!m.scrollboxSize()&&"absolute"===o.position,a=(s||r)&&"border-box"===C.css(t,"boxSizing",!1,o),c=r?ae(t,e,r,a,o):0;return a&&s&&(c-=Math.ceil(t["offset"+e[0].toUpperCase()+e.slice(1)]-parseFloat(o[e])-ae(t,e,"border",!1,o)-.5)),c&&(i=dt.exec(n))&&"px"!==(i[3]||"px")&&(t.style[e]=n,n=C.css(t,e)),se(0,n,c)}}})),C.cssHooks.marginLeft=Qt(m.reliableMarginLeft,(function(t,e){if(e)return(parseFloat(Zt(t,"marginLeft"))||t.getBoundingClientRect().left-Gt(t,{marginLeft:0},(function(){return t.getBoundingClientRect().left})))+"px"})),C.each({margin:"",padding:"",border:"Width"},(function(t,e){C.cssHooks[t+e]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[t+pt[r]+e]=o[r]||o[r-2]||o[0];return i}},"margin"!==t&&(C.cssHooks[t+e].set=se)})),C.fn.extend({css:function(t,e){return tt(this,(function(t,e,n){var r,i,o={},s=0;if(Array.isArray(e)){for(r=Xt(t),i=e.length;s<i;s++)o[e[s]]=C.css(t,e[s],!1,r);return o}return void 0!==n?C.style(t,e,n):C.css(t,e)}),t,e,1<arguments.length)}}),((C.Tween=le).prototype={constructor:le,init:function(t,e,n,r,i,o){this.elem=t,this.prop=n,this.easing=i||C.easing._default,this.options=e,this.start=this.now=this.cur(),this.end=r,this.unit=o||(C.cssNumber[n]?"":"px")},cur:function(){var t=le.propHooks[this.prop];return t&&t.get?t.get(this):le.propHooks._default.get(this)},run:function(t){var e,n=le.propHooks[this.prop];return this.options.duration?this.pos=e=C.easing[this.easing](t,this.options.duration*t,0,1,this.options.duration):this.pos=e=t,this.now=(this.end-this.start)*e+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):le.propHooks._default.set(this),this}}).init.prototype=le.prototype,(le.propHooks={_default:{get:function(t){var e;return 1!==t.elem.nodeType||null!=t.elem[t.prop]&&null==t.elem.style[t.prop]?t.elem[t.prop]:(e=C.css(t.elem,t.prop,""))&&"auto"!==e?e:0},set:function(t){C.fx.step[t.prop]?C.fx.step[t.prop](t):1!==t.elem.nodeType||!C.cssHooks[t.prop]&&null==t.elem.style[ne(t.prop)]?t.elem[t.prop]=t.now:C.style(t.elem,t.prop,t.now+t.unit)}}}).scrollTop=le.propHooks.scrollLeft={set:function(t){t.elem.nodeType&&t.elem.parentNode&&(t.elem[t.prop]=t.now)}},C.easing={linear:function(t){return t},swing:function(t){return.5-Math.cos(t*Math.PI)/2},_default:"swing"},C.fx=le.prototype.init,C.fx.step={};var ue,he,fe,de,pe=/^(?:toggle|show|hide)$/,ge=/queueHooks$/;function me(){he&&(!1===b.hidden&&r.requestAnimationFrame?r.requestAnimationFrame(me):r.setTimeout(me,C.fx.interval),C.fx.tick())}function ve(){return r.setTimeout((function(){ue=void 0})),ue=Date.now()}function ye(t,e){var n,r=0,i={height:t};for(e=e?1:0;r<4;r+=2-e)i["margin"+(n=pt[r])]=i["padding"+n]=t;return e&&(i.opacity=i.width=t),i}function be(t,e,n){for(var r,i=(_e.tweeners[e]||[]).concat(_e.tweeners["*"]),o=0,s=i.length;o<s;o++)if(r=i[o].call(n,e,t))return r}function _e(t,e,n){var r,i,o=0,s=_e.prefilters.length,a=C.Deferred().always((function(){delete c.elem})),c=function(){if(i)return!1;for(var e=ue||ve(),n=Math.max(0,l.startTime+l.duration-e),r=1-(n/l.duration||0),o=0,s=l.tweens.length;o<s;o++)l.tweens[o].run(r);return a.notifyWith(t,[l,r,n]),r<1&&s?n:(s||a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l]),!1)},l=a.promise({elem:t,props:C.extend({},e),opts:C.extend(!0,{specialEasing:{},easing:C.easing._default},n),originalProperties:e,originalOptions:n,startTime:ue||ve(),duration:n.duration,tweens:[],createTween:function(e,n){var r=C.Tween(t,l.opts,e,n,l.opts.specialEasing[e]||l.opts.easing);return l.tweens.push(r),r},stop:function(e){var n=0,r=e?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return e?(a.notifyWith(t,[l,1,0]),a.resolveWith(t,[l,e])):a.rejectWith(t,[l,e]),this}}),u=l.props;for(function(t,e){var n,r,i,o,s;for(n in t)if(i=e[r=it(n)],o=t[n],Array.isArray(o)&&(i=o[1],o=t[n]=o[0]),n!==r&&(t[r]=o,delete t[n]),(s=C.cssHooks[r])&&"expand"in s)for(n in o=s.expand(o),delete t[r],o)n in t||(t[n]=o[n],e[n]=i);else e[r]=i}(u,l.opts.specialEasing);o<s;o++)if(r=_e.prefilters[o].call(l,t,u,l.opts))return v(r.stop)&&(C._queueHooks(l.elem,l.opts.queue).stop=r.stop.bind(r)),r;return C.map(u,be,l),v(l.opts.start)&&l.opts.start.call(t,l),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always),C.fx.timer(C.extend(c,{elem:t,anim:l,queue:l.opts.queue})),l}C.Animation=C.extend(_e,{tweeners:{"*":[function(t,e){var n=this.createTween(t,e);return bt(n.elem,t,dt.exec(e),n),n}]},tweener:function(t,e){v(t)?(e=t,t=["*"]):t=t.match(Y);for(var n,r=0,i=t.length;r<i;r++)n=t[r],_e.tweeners[n]=_e.tweeners[n]||[],_e.tweeners[n].unshift(e)},prefilters:[function(t,e,n){var r,i,o,s,a,c,l,u,h="width"in e||"height"in e,f=this,d={},p=t.style,g=t.nodeType&&yt(t),m=at.get(t,"fxshow");for(r in n.queue||(null==(s=C._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,a=s.empty.fire,s.empty.fire=function(){s.unqueued||a()}),s.unqueued++,f.always((function(){f.always((function(){s.unqueued--,C.queue(t,"fx").length||s.empty.fire()}))}))),e)if(i=e[r],pe.test(i)){if(delete e[r],o=o||"toggle"===i,i===(g?"hide":"show")){if("show"!==i||!m||void 0===m[r])continue;g=!0}d[r]=m&&m[r]||C.style(t,r)}if((c=!C.isEmptyObject(e))||!C.isEmptyObject(d))for(r in h&&1===t.nodeType&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],null==(l=m&&m.display)&&(l=at.get(t,"display")),"none"===(u=C.css(t,"display"))&&(l?u=l:(wt([t],!0),l=t.style.display||l,u=C.css(t,"display"),wt([t]))),("inline"===u||"inline-block"===u&&null!=l)&&"none"===C.css(t,"float")&&(c||(f.done((function(){p.display=l})),null==l&&(u=p.display,l="none"===u?"":u)),p.display="inline-block")),n.overflow&&(p.overflow="hidden",f.always((function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}))),c=!1,d)c||(m?"hidden"in m&&(g=m.hidden):m=at.access(t,"fxshow",{display:l}),o&&(m.hidden=!g),g&&wt([t],!0),f.done((function(){for(r in g||wt([t]),at.remove(t,"fxshow"),d)C.style(t,r,d[r])}))),c=be(g?m[r]:0,r,f),r in m||(m[r]=c.start,g&&(c.end=c.start,c.start=0))}],prefilter:function(t,e){e?_e.prefilters.unshift(t):_e.prefilters.push(t)}}),C.speed=function(t,e,n){var r=t&&"object"==typeof t?C.extend({},t):{complete:n||!n&&e||v(t)&&t,duration:t,easing:n&&e||e&&!v(e)&&e};return C.fx.off?r.duration=0:"number"!=typeof r.duration&&(r.duration in C.fx.speeds?r.duration=C.fx.speeds[r.duration]:r.duration=C.fx.speeds._default),null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){v(r.old)&&r.old.call(this),r.queue&&C.dequeue(this,r.queue)},r},C.fn.extend({fadeTo:function(t,e,n,r){return this.filter(yt).css("opacity",0).show().end().animate({opacity:e},t,n,r)},animate:function(t,e,n,r){var i=C.isEmptyObject(t),o=C.speed(e,n,r),s=function(){var e=_e(this,C.extend({},t),o);(i||at.get(this,"finish"))&&e.stop(!0)};return s.finish=s,i||!1===o.queue?this.each(s):this.queue(o.queue,s)},stop:function(t,e,n){var r=function(t){var e=t.stop;delete t.stop,e(n)};return"string"!=typeof t&&(n=e,e=t,t=void 0),e&&this.queue(t||"fx",[]),this.each((function(){var e=!0,i=null!=t&&t+"queueHooks",o=C.timers,s=at.get(this);if(i)s[i]&&s[i].stop&&r(s[i]);else for(i in s)s[i]&&s[i].stop&&ge.test(i)&&r(s[i]);for(i=o.length;i--;)o[i].elem!==this||null!=t&&o[i].queue!==t||(o[i].anim.stop(n),e=!1,o.splice(i,1));!e&&n||C.dequeue(this,t)}))},finish:function(t){return!1!==t&&(t=t||"fx"),this.each((function(){var e,n=at.get(this),r=n[t+"queue"],i=n[t+"queueHooks"],o=C.timers,s=r?r.length:0;for(n.finish=!0,C.queue(this,t,[]),i&&i.stop&&i.stop.call(this,!0),e=o.length;e--;)o[e].elem===this&&o[e].queue===t&&(o[e].anim.stop(!0),o.splice(e,1));for(e=0;e<s;e++)r[e]&&r[e].finish&&r[e].finish.call(this);delete n.finish}))}}),C.each(["toggle","show","hide"],(function(t,e){var n=C.fn[e];C.fn[e]=function(t,r,i){return null==t||"boolean"==typeof t?n.apply(this,arguments):this.animate(ye(e,!0),t,r,i)}})),C.each({slideDown:ye("show"),slideUp:ye("hide"),slideToggle:ye("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},(function(t,e){C.fn[t]=function(t,n,r){return this.animate(e,t,n,r)}})),C.timers=[],C.fx.tick=function(){var t,e=0,n=C.timers;for(ue=Date.now();e<n.length;e++)(t=n[e])()||n[e]!==t||n.splice(e--,1);n.length||C.fx.stop(),ue=void 0},C.fx.timer=function(t){C.timers.push(t),C.fx.start()},C.fx.interval=13,C.fx.start=function(){he||(he=!0,me())},C.fx.stop=function(){he=null},C.fx.speeds={slow:600,fast:200,_default:400},C.fn.delay=function(t,e){return t=C.fx&&C.fx.speeds[t]||t,e=e||"fx",this.queue(e,(function(e,n){var i=r.setTimeout(e,t);n.stop=function(){r.clearTimeout(i)}}))},fe=b.createElement("input"),de=b.createElement("select").appendChild(b.createElement("option")),fe.type="checkbox",m.checkOn=""!==fe.value,m.optSelected=de.selected,(fe=b.createElement("input")).value="t",fe.type="radio",m.radioValue="t"===fe.value;var we,xe=C.expr.attrHandle;C.fn.extend({attr:function(t,e){return tt(this,C.attr,t,e,1<arguments.length)},removeAttr:function(t){return this.each((function(){C.removeAttr(this,t)}))}}),C.extend({attr:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return void 0===t.getAttribute?C.prop(t,e,n):(1===o&&C.isXMLDoc(t)||(i=C.attrHooks[e.toLowerCase()]||(C.expr.match.bool.test(e)?we:void 0)),void 0!==n?null===n?void C.removeAttr(t,e):i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:(t.setAttribute(e,n+""),n):i&&"get"in i&&null!==(r=i.get(t,e))?r:null==(r=C.find.attr(t,e))?void 0:r)},attrHooks:{type:{set:function(t,e){if(!m.radioValue&&"radio"===e&&S(t,"input")){var n=t.value;return t.setAttribute("type",e),n&&(t.value=n),e}}}},removeAttr:function(t,e){var n,r=0,i=e&&e.match(Y);if(i&&1===t.nodeType)for(;n=i[r++];)t.removeAttribute(n)}}),we={set:function(t,e,n){return!1===e?C.removeAttr(t,n):t.setAttribute(n,n),n}},C.each(C.expr.match.bool.source.match(/\w+/g),(function(t,e){var n=xe[e]||C.find.attr;xe[e]=function(t,e,r){var i,o,s=e.toLowerCase();return r||(o=xe[s],xe[s]=i,i=null!=n(t,e,r)?s:null,xe[s]=o),i}}));var Ee=/^(?:input|select|textarea|button)$/i,Ae=/^(?:a|area)$/i;function Ce(t){return(t.match(Y)||[]).join(" ")}function Te(t){return t.getAttribute&&t.getAttribute("class")||""}function Se(t){return Array.isArray(t)?t:"string"==typeof t&&t.match(Y)||[]}C.fn.extend({prop:function(t,e){return tt(this,C.prop,t,e,1<arguments.length)},removeProp:function(t){return this.each((function(){delete this[C.propFix[t]||t]}))}}),C.extend({prop:function(t,e,n){var r,i,o=t.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&C.isXMLDoc(t)||(e=C.propFix[e]||e,i=C.propHooks[e]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(t,n,e))?r:t[e]=n:i&&"get"in i&&null!==(r=i.get(t,e))?r:t[e]},propHooks:{tabIndex:{get:function(t){var e=C.find.attr(t,"tabindex");return e?parseInt(e,10):Ee.test(t.nodeName)||Ae.test(t.nodeName)&&t.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(C.propHooks.selected={get:function(t){var e=t.parentNode;return e&&e.parentNode&&e.parentNode.selectedIndex,null},set:function(t){var e=t.parentNode;e&&(e.selectedIndex,e.parentNode&&e.parentNode.selectedIndex)}}),C.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],(function(){C.propFix[this.toLowerCase()]=this})),C.fn.extend({addClass:function(t){var e,n,r,i,o,s;return v(t)?this.each((function(e){C(this).addClass(t.call(this,e,Te(this)))})):(e=Se(t)).length?this.each((function(){if(r=Te(this),n=1===this.nodeType&&" "+Ce(r)+" "){for(o=0;o<e.length;o++)i=e[o],n.indexOf(" "+i+" ")<0&&(n+=i+" ");s=Ce(n),r!==s&&this.setAttribute("class",s)}})):this},removeClass:function(t){var e,n,r,i,o,s;return v(t)?this.each((function(e){C(this).removeClass(t.call(this,e,Te(this)))})):arguments.length?(e=Se(t)).length?this.each((function(){if(r=Te(this),n=1===this.nodeType&&" "+Ce(r)+" "){for(o=0;o<e.length;o++)for(i=e[o];-1<n.indexOf(" "+i+" ");)n=n.replace(" "+i+" "," ");s=Ce(n),r!==s&&this.setAttribute("class",s)}})):this:this.attr("class","")},toggleClass:function(t,e){var n,r,i,o,s=typeof t,a="string"===s||Array.isArray(t);return v(t)?this.each((function(n){C(this).toggleClass(t.call(this,n,Te(this),e),e)})):"boolean"==typeof e&&a?e?this.addClass(t):this.removeClass(t):(n=Se(t),this.each((function(){if(a)for(o=C(this),i=0;i<n.length;i++)r=n[i],o.hasClass(r)?o.removeClass(r):o.addClass(r);else void 0!==t&&"boolean"!==s||((r=Te(this))&&at.set(this,"__className__",r),this.setAttribute&&this.setAttribute("class",r||!1===t?"":at.get(this,"__className__")||""))})))},hasClass:function(t){var e,n,r=0;for(e=" "+t+" ";n=this[r++];)if(1===n.nodeType&&-1<(" "+Ce(Te(n))+" ").indexOf(e))return!0;return!1}});var ke=/\r/g;C.fn.extend({val:function(t){var e,n,r,i=this[0];return arguments.length?(r=v(t),this.each((function(n){var i;1===this.nodeType&&(null==(i=r?t.call(this,n,C(this).val()):t)?i="":"number"==typeof i?i+="":Array.isArray(i)&&(i=C.map(i,(function(t){return null==t?"":t+""}))),(e=C.valHooks[this.type]||C.valHooks[this.nodeName.toLowerCase()])&&"set"in e&&void 0!==e.set(this,i,"value")||(this.value=i))}))):i?(e=C.valHooks[i.type]||C.valHooks[i.nodeName.toLowerCase()])&&"get"in e&&void 0!==(n=e.get(i,"value"))?n:"string"==typeof(n=i.value)?n.replace(ke,""):null==n?"":n:void 0}}),C.extend({valHooks:{option:{get:function(t){var e=C.find.attr(t,"value");return null!=e?e:Ce(C.text(t))}},select:{get:function(t){var e,n,r,i=t.options,o=t.selectedIndex,s="select-one"===t.type,a=s?null:[],c=s?o+1:i.length;for(r=o<0?c:s?o:0;r<c;r++)if(((n=i[r]).selected||r===o)&&!n.disabled&&(!n.parentNode.disabled||!S(n.parentNode,"optgroup"))){if(e=C(n).val(),s)return e;a.push(e)}return a},set:function(t,e){for(var n,r,i=t.options,o=C.makeArray(e),s=i.length;s--;)((r=i[s]).selected=-1<C.inArray(C.valHooks.option.get(r),o))&&(n=!0);return n||(t.selectedIndex=-1),o}}}}),C.each(["radio","checkbox"],(function(){C.valHooks[this]={set:function(t,e){if(Array.isArray(e))return t.checked=-1<C.inArray(C(t).val(),e)}},m.checkOn||(C.valHooks[this].get=function(t){return null===t.getAttribute("value")?"on":t.value})}));var Pe=r.location,Oe={guid:Date.now()},$e=/\?/;C.parseXML=function(t){var e,n;if(!t||"string"!=typeof t)return null;try{e=(new r.DOMParser).parseFromString(t,"text/xml")}catch(t){}return n=e&&e.getElementsByTagName("parsererror")[0],e&&!n||C.error("Invalid XML: "+(n?C.map(n.childNodes,(function(t){return t.textContent})).join("\n"):t)),e};var Le=/^(?:focusinfocus|focusoutblur)$/,De=function(t){t.stopPropagation()};C.extend(C.event,{trigger:function(t,e,n,i){var o,s,a,c,l,u,h,f,p=[n||b],g=d.call(t,"type")?t.type:t,m=d.call(t,"namespace")?t.namespace.split("."):[];if(s=f=a=n=n||b,3!==n.nodeType&&8!==n.nodeType&&!Le.test(g+C.event.triggered)&&(-1<g.indexOf(".")&&(g=(m=g.split(".")).shift(),m.sort()),l=g.indexOf(":")<0&&"on"+g,(t=t[C.expando]?t:new C.Event(g,"object"==typeof t&&t)).isTrigger=i?2:3,t.namespace=m.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=n),e=null==e?[t]:C.makeArray(e,[t]),h=C.event.special[g]||{},i||!h.trigger||!1!==h.trigger.apply(n,e))){if(!i&&!h.noBubble&&!y(n)){for(c=h.delegateType||g,Le.test(c+g)||(s=s.parentNode);s;s=s.parentNode)p.push(s),a=s;a===(n.ownerDocument||b)&&p.push(a.defaultView||a.parentWindow||r)}for(o=0;(s=p[o++])&&!t.isPropagationStopped();)f=s,t.type=1<o?c:h.bindType||g,(u=(at.get(s,"events")||Object.create(null))[t.type]&&at.get(s,"handle"))&&u.apply(s,e),(u=l&&s[l])&&u.apply&&ot(s)&&(t.result=u.apply(s,e),!1===t.result&&t.preventDefault());return t.type=g,i||t.isDefaultPrevented()||h._default&&!1!==h._default.apply(p.pop(),e)||!ot(n)||l&&v(n[g])&&!y(n)&&((a=n[l])&&(n[l]=null),C.event.triggered=g,t.isPropagationStopped()&&f.addEventListener(g,De),n[g](),t.isPropagationStopped()&&f.removeEventListener(g,De),C.event.triggered=void 0,a&&(n[l]=a)),t.result}},simulate:function(t,e,n){var r=C.extend(new C.Event,n,{type:t,isSimulated:!0});C.event.trigger(r,null,e)}}),C.fn.extend({trigger:function(t,e){return this.each((function(){C.event.trigger(t,e,this)}))},triggerHandler:function(t,e){var n=this[0];if(n)return C.event.trigger(t,e,n,!0)}});var Ie=/\[\]$/,je=/\r?\n/g,Ne=/^(?:submit|button|image|reset|file)$/i,Re=/^(?:input|select|textarea|keygen)/i;function Me(t,e,n,r){var i;if(Array.isArray(e))C.each(e,(function(e,i){n||Ie.test(t)?r(t,i):Me(t+"["+("object"==typeof i&&null!=i?e:"")+"]",i,n,r)}));else if(n||"object"!==x(e))r(t,e);else for(i in e)Me(t+"["+i+"]",e[i],n,r)}C.param=function(t,e){var n,r=[],i=function(t,e){var n=v(e)?e():e;r[r.length]=encodeURIComponent(t)+"="+encodeURIComponent(null==n?"":n)};if(null==t)return"";if(Array.isArray(t)||t.jquery&&!C.isPlainObject(t))C.each(t,(function(){i(this.name,this.value)}));else for(n in t)Me(n,t[n],e,i);return r.join("&")},C.fn.extend({serialize:function(){return C.param(this.serializeArray())},serializeArray:function(){return this.map((function(){var t=C.prop(this,"elements");return t?C.makeArray(t):this})).filter((function(){var t=this.type;return this.name&&!C(this).is(":disabled")&&Re.test(this.nodeName)&&!Ne.test(t)&&(this.checked||!At.test(t))})).map((function(t,e){var n=C(this).val();return null==n?null:Array.isArray(n)?C.map(n,(function(t){return{name:e.name,value:t.replace(je,"\r\n")}})):{name:e.name,value:n.replace(je,"\r\n")}})).get()}});var qe=/%20/g,Fe=/#.*$/,Be=/([?&])_=[^&]*/,He=/^(.*?):[ \t]*([^\r\n]*)$/gm,ze=/^(?:GET|HEAD)$/,We=/^\/\//,Ue={},Ve={},Ye="*/".concat("*"),Xe=b.createElement("a");function Ge(t){return function(e,n){"string"!=typeof e&&(n=e,e="*");var r,i=0,o=e.toLowerCase().match(Y)||[];if(v(n))for(;r=o[i++];)"+"===r[0]?(r=r.slice(1)||"*",(t[r]=t[r]||[]).unshift(n)):(t[r]=t[r]||[]).push(n)}}function Ke(t,e,n,r){var i={},o=t===Ve;function s(a){var c;return i[a]=!0,C.each(t[a]||[],(function(t,a){var l=a(e,n,r);return"string"!=typeof l||o||i[l]?o?!(c=l):void 0:(e.dataTypes.unshift(l),s(l),!1)})),c}return s(e.dataTypes[0])||!i["*"]&&s("*")}function Ze(t,e){var n,r,i=C.ajaxSettings.flatOptions||{};for(n in e)void 0!==e[n]&&((i[n]?t:r||(r={}))[n]=e[n]);return r&&C.extend(!0,t,r),t}Xe.href=Pe.href,C.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Pe.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(Pe.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Ye,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":C.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(t,e){return e?Ze(Ze(t,C.ajaxSettings),e):Ze(C.ajaxSettings,t)},ajaxPrefilter:Ge(Ue),ajaxTransport:Ge(Ve),ajax:function(t,e){"object"==typeof t&&(e=t,t=void 0),e=e||{};var n,i,o,s,a,c,l,u,h,f,d=C.ajaxSetup({},e),p=d.context||d,g=d.context&&(p.nodeType||p.jquery)?C(p):C.event,m=C.Deferred(),v=C.Callbacks("once memory"),y=d.statusCode||{},_={},w={},x="canceled",E={readyState:0,getResponseHeader:function(t){var e;if(l){if(!s)for(s={};e=He.exec(o);)s[e[1].toLowerCase()+" "]=(s[e[1].toLowerCase()+" "]||[]).concat(e[2]);e=s[t.toLowerCase()+" "]}return null==e?null:e.join(", ")},getAllResponseHeaders:function(){return l?o:null},setRequestHeader:function(t,e){return null==l&&(t=w[t.toLowerCase()]=w[t.toLowerCase()]||t,_[t]=e),this},overrideMimeType:function(t){return null==l&&(d.mimeType=t),this},statusCode:function(t){var e;if(t)if(l)E.always(t[E.status]);else for(e in t)y[e]=[y[e],t[e]];return this},abort:function(t){var e=t||x;return n&&n.abort(e),A(0,e),this}};if(m.promise(E),d.url=((t||d.url||Pe.href)+"").replace(We,Pe.protocol+"//"),d.type=e.method||e.type||d.method||d.type,d.dataTypes=(d.dataType||"*").toLowerCase().match(Y)||[""],null==d.crossDomain){c=b.createElement("a");try{c.href=d.url,c.href=c.href,d.crossDomain=Xe.protocol+"//"+Xe.host!=c.protocol+"//"+c.host}catch(t){d.crossDomain=!0}}if(d.data&&d.processData&&"string"!=typeof d.data&&(d.data=C.param(d.data,d.traditional)),Ke(Ue,d,e,E),l)return E;for(h in(u=C.event&&d.global)&&0==C.active++&&C.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!ze.test(d.type),i=d.url.replace(Fe,""),d.hasContent?d.data&&d.processData&&0===(d.contentType||"").indexOf("application/x-www-form-urlencoded")&&(d.data=d.data.replace(qe,"+")):(f=d.url.slice(i.length),d.data&&(d.processData||"string"==typeof d.data)&&(i+=($e.test(i)?"&":"?")+d.data,delete d.data),!1===d.cache&&(i=i.replace(Be,"$1"),f=($e.test(i)?"&":"?")+"_="+Oe.guid+++f),d.url=i+f),d.ifModified&&(C.lastModified[i]&&E.setRequestHeader("If-Modified-Since",C.lastModified[i]),C.etag[i]&&E.setRequestHeader("If-None-Match",C.etag[i])),(d.data&&d.hasContent&&!1!==d.contentType||e.contentType)&&E.setRequestHeader("Content-Type",d.contentType),E.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Ye+"; q=0.01":""):d.accepts["*"]),d.headers)E.setRequestHeader(h,d.headers[h]);if(d.beforeSend&&(!1===d.beforeSend.call(p,E,d)||l))return E.abort();if(x="abort",v.add(d.complete),E.done(d.success),E.fail(d.error),n=Ke(Ve,d,e,E)){if(E.readyState=1,u&&g.trigger("ajaxSend",[E,d]),l)return E;d.async&&0<d.timeout&&(a=r.setTimeout((function(){E.abort("timeout")}),d.timeout));try{l=!1,n.send(_,A)}catch(t){if(l)throw t;A(-1,t)}}else A(-1,"No Transport");function A(t,e,s,c){var h,f,b,_,w,x=e;l||(l=!0,a&&r.clearTimeout(a),n=void 0,o=c||"",E.readyState=0<t?4:0,h=200<=t&&t<300||304===t,s&&(_=function(t,e,n){for(var r,i,o,s,a=t.contents,c=t.dataTypes;"*"===c[0];)c.shift(),void 0===r&&(r=t.mimeType||e.getResponseHeader("Content-Type"));if(r)for(i in a)if(a[i]&&a[i].test(r)){c.unshift(i);break}if(c[0]in n)o=c[0];else{for(i in n){if(!c[0]||t.converters[i+" "+c[0]]){o=i;break}s||(s=i)}o=o||s}if(o)return o!==c[0]&&c.unshift(o),n[o]}(d,E,s)),!h&&-1<C.inArray("script",d.dataTypes)&&C.inArray("json",d.dataTypes)<0&&(d.converters["text script"]=function(){}),_=function(t,e,n,r){var i,o,s,a,c,l={},u=t.dataTypes.slice();if(u[1])for(s in t.converters)l[s.toLowerCase()]=t.converters[s];for(o=u.shift();o;)if(t.responseFields[o]&&(n[t.responseFields[o]]=e),!c&&r&&t.dataFilter&&(e=t.dataFilter(e,t.dataType)),c=o,o=u.shift())if("*"===o)o=c;else if("*"!==c&&c!==o){if(!(s=l[c+" "+o]||l["* "+o]))for(i in l)if((a=i.split(" "))[1]===o&&(s=l[c+" "+a[0]]||l["* "+a[0]])){!0===s?s=l[i]:!0!==l[i]&&(o=a[0],u.unshift(a[1]));break}if(!0!==s)if(s&&t.throws)e=s(e);else try{e=s(e)}catch(t){return{state:"parsererror",error:s?t:"No conversion from "+c+" to "+o}}}return{state:"success",data:e}}(d,_,E,h),h?(d.ifModified&&((w=E.getResponseHeader("Last-Modified"))&&(C.lastModified[i]=w),(w=E.getResponseHeader("etag"))&&(C.etag[i]=w)),204===t||"HEAD"===d.type?x="nocontent":304===t?x="notmodified":(x=_.state,f=_.data,h=!(b=_.error))):(b=x,!t&&x||(x="error",t<0&&(t=0))),E.status=t,E.statusText=(e||x)+"",h?m.resolveWith(p,[f,x,E]):m.rejectWith(p,[E,x,b]),E.statusCode(y),y=void 0,u&&g.trigger(h?"ajaxSuccess":"ajaxError",[E,d,h?f:b]),v.fireWith(p,[E,x]),u&&(g.trigger("ajaxComplete",[E,d]),--C.active||C.event.trigger("ajaxStop")))}return E},getJSON:function(t,e,n){return C.get(t,e,n,"json")},getScript:function(t,e){return C.get(t,void 0,e,"script")}}),C.each(["get","post"],(function(t,e){C[e]=function(t,n,r,i){return v(n)&&(i=i||r,r=n,n=void 0),C.ajax(C.extend({url:t,type:e,dataType:i,data:n,success:r},C.isPlainObject(t)&&t))}})),C.ajaxPrefilter((function(t){var e;for(e in t.headers)"content-type"===e.toLowerCase()&&(t.contentType=t.headers[e]||"")})),C._evalUrl=function(t,e,n){return C.ajax({url:t,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(t){C.globalEval(t,e,n)}})},C.fn.extend({wrapAll:function(t){var e;return this[0]&&(v(t)&&(t=t.call(this[0])),e=C(t,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&e.insertBefore(this[0]),e.map((function(){for(var t=this;t.firstElementChild;)t=t.firstElementChild;return t})).append(this)),this},wrapInner:function(t){return v(t)?this.each((function(e){C(this).wrapInner(t.call(this,e))})):this.each((function(){var e=C(this),n=e.contents();n.length?n.wrapAll(t):e.append(t)}))},wrap:function(t){var e=v(t);return this.each((function(n){C(this).wrapAll(e?t.call(this,n):t)}))},unwrap:function(t){return this.parent(t).not("body").each((function(){C(this).replaceWith(this.childNodes)})),this}}),C.expr.pseudos.hidden=function(t){return!C.expr.pseudos.visible(t)},C.expr.pseudos.visible=function(t){return!!(t.offsetWidth||t.offsetHeight||t.getClientRects().length)},C.ajaxSettings.xhr=function(){try{return new r.XMLHttpRequest}catch(t){}};var Qe={0:200,1223:204},Je=C.ajaxSettings.xhr();m.cors=!!Je&&"withCredentials"in Je,m.ajax=Je=!!Je,C.ajaxTransport((function(t){var e,n;if(m.cors||Je&&!t.crossDomain)return{send:function(i,o){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||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest"),i)a.setRequestHeader(s,i[s]);e=function(t){return function(){e&&(e=n=a.onload=a.onerror=a.onabort=a.ontimeout=a.onreadystatechange=null,"abort"===t?a.abort():"error"===t?"number"!=typeof a.status?o(0,"error"):o(a.status,a.statusText):o(Qe[a.status]||a.status,a.statusText,"text"!==(a.responseType||"text")||"string"!=typeof a.responseText?{binary:a.response}:{text:a.responseText},a.getAllResponseHeaders()))}},a.onload=e(),n=a.onerror=a.ontimeout=e("error"),void 0!==a.onabort?a.onabort=n:a.onreadystatechange=function(){4===a.readyState&&r.setTimeout((function(){e&&n()}))},e=e("abort");try{a.send(t.hasContent&&t.data||null)}catch(i){if(e)throw i}},abort:function(){e&&e()}}})),C.ajaxPrefilter((function(t){t.crossDomain&&(t.contents.script=!1)})),C.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(t){return C.globalEval(t),t}}}),C.ajaxPrefilter("script",(function(t){void 0===t.cache&&(t.cache=!1),t.crossDomain&&(t.type="GET")})),C.ajaxTransport("script",(function(t){var e,n;if(t.crossDomain||t.scriptAttrs)return{send:function(r,i){e=C("<script>").attr(t.scriptAttrs||{}).prop({charset:t.scriptCharset,src:t.url}).on("load error",n=function(t){e.remove(),n=null,t&&i("error"===t.type?404:200,t.type)}),b.head.appendChild(e[0])},abort:function(){n&&n()}}}));var tn,en=[],nn=/(=)\?(?=&|$)|\?\?/;C.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var t=en.pop()||C.expando+"_"+Oe.guid++;return this[t]=!0,t}}),C.ajaxPrefilter("json jsonp",(function(t,e,n){var i,o,s,a=!1!==t.jsonp&&(nn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&nn.test(t.data)&&"data");if(a||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=v(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,a?t[a]=t[a].replace(nn,"$1"+i):!1!==t.jsonp&&(t.url+=($e.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return s||C.error(i+" was not called"),s[0]},t.dataTypes[0]="json",o=r[i],r[i]=function(){s=arguments},n.always((function(){void 0===o?C(r).removeProp(i):r[i]=o,t[i]&&(t.jsonpCallback=e.jsonpCallback,en.push(i)),s&&v(o)&&o(s[0]),s=o=void 0})),"script"})),m.createHTMLDocument=((tn=b.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),C.parseHTML=function(t,e,n){return"string"!=typeof t?[]:("boolean"==typeof e&&(n=e,e=!1),e||(m.createHTMLDocument?((r=(e=b.implementation.createHTMLDocument("")).createElement("base")).href=b.location.href,e.head.appendChild(r)):e=b),o=!n&&[],(i=F.exec(t))?[e.createElement(i[1])]:(i=$t([t],e,o),o&&o.length&&C(o).remove(),C.merge([],i.childNodes)));var r,i,o},C.fn.load=function(t,e,n){var r,i,o,s=this,a=t.indexOf(" ");return-1<a&&(r=Ce(t.slice(a)),t=t.slice(0,a)),v(e)?(n=e,e=void 0):e&&"object"==typeof e&&(i="POST"),0<s.length&&C.ajax({url:t,type:i||"GET",dataType:"html",data:e}).done((function(t){o=arguments,s.html(r?C("<div>").append(C.parseHTML(t)).find(r):t)})).always(n&&function(t,e){s.each((function(){n.apply(this,o||[t.responseText,e,t])}))}),this},C.expr.pseudos.animated=function(t){return C.grep(C.timers,(function(e){return t===e.elem})).length},C.offset={setOffset:function(t,e,n){var r,i,o,s,a,c,l=C.css(t,"position"),u=C(t),h={};"static"===l&&(t.style.position="relative"),a=u.offset(),o=C.css(t,"top"),c=C.css(t,"left"),("absolute"===l||"fixed"===l)&&-1<(o+c).indexOf("auto")?(s=(r=u.position()).top,i=r.left):(s=parseFloat(o)||0,i=parseFloat(c)||0),v(e)&&(e=e.call(t,n,C.extend({},a))),null!=e.top&&(h.top=e.top-a.top+s),null!=e.left&&(h.left=e.left-a.left+i),"using"in e?e.using.call(t,h):u.css(h)}},C.fn.extend({offset:function(t){if(arguments.length)return void 0===t?this:this.each((function(e){C.offset.setOffset(this,t,e)}));var e,n,r=this[0];return r?r.getClientRects().length?(e=r.getBoundingClientRect(),n=r.ownerDocument.defaultView,{top:e.top+n.pageYOffset,left:e.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var t,e,n,r=this[0],i={top:0,left:0};if("fixed"===C.css(r,"position"))e=r.getBoundingClientRect();else{for(e=this.offset(),n=r.ownerDocument,t=r.offsetParent||n.documentElement;t&&(t===n.body||t===n.documentElement)&&"static"===C.css(t,"position");)t=t.parentNode;t&&t!==r&&1===t.nodeType&&((i=C(t).offset()).top+=C.css(t,"borderTopWidth",!0),i.left+=C.css(t,"borderLeftWidth",!0))}return{top:e.top-i.top-C.css(r,"marginTop",!0),left:e.left-i.left-C.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map((function(){for(var t=this.offsetParent;t&&"static"===C.css(t,"position");)t=t.offsetParent;return t||gt}))}}),C.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},(function(t,e){var n="pageYOffset"===e;C.fn[t]=function(r){return tt(this,(function(t,r,i){var o;if(y(t)?o=t:9===t.nodeType&&(o=t.defaultView),void 0===i)return o?o[e]:t[r];o?o.scrollTo(n?o.pageXOffset:i,n?i:o.pageYOffset):t[r]=i}),t,r,arguments.length)}})),C.each(["top","left"],(function(t,e){C.cssHooks[e]=Qt(m.pixelPosition,(function(t,n){if(n)return n=Zt(t,e),Vt.test(n)?C(t).position()[e]+"px":n}))})),C.each({Height:"height",Width:"width"},(function(t,e){C.each({padding:"inner"+t,content:e,"":"outer"+t},(function(n,r){C.fn[r]=function(i,o){var s=arguments.length&&(n||"boolean"!=typeof i),a=n||(!0===i||!0===o?"margin":"border");return tt(this,(function(e,n,i){var o;return y(e)?0===r.indexOf("outer")?e["inner"+t]:e.document.documentElement["client"+t]:9===e.nodeType?(o=e.documentElement,Math.max(e.body["scroll"+t],o["scroll"+t],e.body["offset"+t],o["offset"+t],o["client"+t])):void 0===i?C.css(e,n,a):C.style(e,n,i,a)}),e,s?i:void 0,s)}}))})),C.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],(function(t,e){C.fn[e]=function(t){return this.on(e,t)}})),C.fn.extend({bind:function(t,e,n){return this.on(t,null,e,n)},unbind:function(t,e){return this.off(t,null,e)},delegate:function(t,e,n,r){return this.on(e,t,n,r)},undelegate:function(t,e,n){return 1===arguments.length?this.off(t,"**"):this.off(e,t||"**",n)},hover:function(t,e){return this.on("mouseenter",t).on("mouseleave",e||t)}}),C.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(t,e){C.fn[e]=function(t,n){return 0<arguments.length?this.on(e,null,t,n):this.trigger(e)}}));var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;C.proxy=function(t,e){var n,r,i;if("string"==typeof e&&(n=t[e],e=t,t=n),v(t))return r=a.call(arguments,2),(i=function(){return t.apply(e||this,r.concat(a.call(arguments)))}).guid=t.guid=t.guid||C.guid++,i},C.holdReady=function(t){t?C.readyWait++:C.ready(!0)},C.isArray=Array.isArray,C.parseJSON=JSON.parse,C.nodeName=S,C.isFunction=v,C.isWindow=y,C.camelCase=it,C.type=x,C.now=Date.now,C.isNumeric=function(t){var e=C.type(t);return("number"===e||"string"===e)&&!isNaN(t-parseFloat(t))},C.trim=function(t){return null==t?"":(t+"").replace(rn,"$1")},void 0===(n=function(){return C}.apply(e,[]))||(t.exports=n);var on=r.jQuery,sn=r.$;return C.noConflict=function(t){return r.$===C&&(r.$=sn),t&&r.jQuery===C&&(r.jQuery=on),C},void 0===i&&(r.jQuery=r.$=C),C}))},2543:function(t,e,n){var r;t=n.nmd(t),function(){var i,o="Expected a function",s="__lodash_hash_undefined__",a="__lodash_placeholder__",c=16,l=32,u=64,h=128,f=256,d=1/0,p=9007199254740991,g=NaN,m=4294967295,v=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",c],["flip",512],["partial",l],["partialRight",u],["rearg",f]],y="[object Arguments]",b="[object Array]",_="[object Boolean]",w="[object Date]",x="[object Error]",E="[object Function]",A="[object GeneratorFunction]",C="[object Map]",T="[object Number]",S="[object Object]",k="[object Promise]",P="[object RegExp]",O="[object Set]",$="[object String]",L="[object Symbol]",D="[object WeakMap]",I="[object ArrayBuffer]",j="[object DataView]",N="[object Float32Array]",R="[object Float64Array]",M="[object Int8Array]",q="[object Int16Array]",F="[object Int32Array]",B="[object Uint8Array]",H="[object Uint8ClampedArray]",z="[object Uint16Array]",W="[object Uint32Array]",U=/\b__p \+= '';/g,V=/\b(__p \+=) '' \+/g,Y=/(__e\(.*?\)|\b__t\)) \+\n'';/g,X=/&(?:amp|lt|gt|quot|#39);/g,G=/[&<>"']/g,K=RegExp(X.source),Z=RegExp(G.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,ot=RegExp(it.source),st=/^\s+/,at=/\s/,ct=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,lt=/\{\n\/\* \[wrapped with (.+)\] \*/,ut=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ft=/[()=,{}\[\]\/\s]/,dt=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,mt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,yt=/^\[object .+?Constructor\]$/,bt=/^0o[0-7]+$/i,_t=/^(?:0|[1-9]\d*)$/,wt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,xt=/($^)/,Et=/['\n\r\u2028\u2029\\]/g,At="\\ud800-\\udfff",Ct="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Tt="\\u2700-\\u27bf",St="a-z\\xdf-\\xf6\\xf8-\\xff",kt="A-Z\\xc0-\\xd6\\xd8-\\xde",Pt="\\ufe0e\\ufe0f",Ot="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",$t="['’]",Lt="["+At+"]",Dt="["+Ot+"]",It="["+Ct+"]",jt="\\d+",Nt="["+Tt+"]",Rt="["+St+"]",Mt="[^"+At+Ot+jt+Tt+St+kt+"]",qt="\\ud83c[\\udffb-\\udfff]",Ft="[^"+At+"]",Bt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",zt="["+kt+"]",Wt="\\u200d",Ut="(?:"+Rt+"|"+Mt+")",Vt="(?:"+zt+"|"+Mt+")",Yt="(?:['’](?:d|ll|m|re|s|t|ve))?",Xt="(?:['’](?:D|LL|M|RE|S|T|VE))?",Gt="(?:"+It+"|"+qt+")"+"?",Kt="["+Pt+"]?",Zt=Kt+Gt+("(?:"+Wt+"(?:"+[Ft,Bt,Ht].join("|")+")"+Kt+Gt+")*"),Qt="(?:"+[Nt,Bt,Ht].join("|")+")"+Zt,Jt="(?:"+[Ft+It+"?",It,Bt,Ht,Lt].join("|")+")",te=RegExp($t,"g"),ee=RegExp(It,"g"),ne=RegExp(qt+"(?="+qt+")|"+Jt+Zt,"g"),re=RegExp([zt+"?"+Rt+"+"+Yt+"(?="+[Dt,zt,"$"].join("|")+")",Vt+"+"+Xt+"(?="+[Dt,zt+Ut,"$"].join("|")+")",zt+"?"+Ut+"+"+Yt,zt+"+"+Xt,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",jt,Qt].join("|"),"g"),ie=RegExp("["+Wt+At+Ct+Pt+"]"),oe=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,se=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ae=-1,ce={};ce[N]=ce[R]=ce[M]=ce[q]=ce[F]=ce[B]=ce[H]=ce[z]=ce[W]=!0,ce[y]=ce[b]=ce[I]=ce[_]=ce[j]=ce[w]=ce[x]=ce[E]=ce[C]=ce[T]=ce[S]=ce[P]=ce[O]=ce[$]=ce[D]=!1;var le={};le[y]=le[b]=le[I]=le[j]=le[_]=le[w]=le[N]=le[R]=le[M]=le[q]=le[F]=le[C]=le[T]=le[S]=le[P]=le[O]=le[$]=le[L]=le[B]=le[H]=le[z]=le[W]=!0,le[x]=le[E]=le[D]=!1;var ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},he=parseFloat,fe=parseInt,de="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,pe="object"==typeof self&&self&&self.Object===Object&&self,ge=de||pe||Function("return this")(),me=e&&!e.nodeType&&e,ve=me&&t&&!t.nodeType&&t,ye=ve&&ve.exports===me,be=ye&&de.process,_e=function(){try{var t=ve&&ve.require&&ve.require("util").types;return t||be&&be.binding&&be.binding("util")}catch(t){}}(),we=_e&&_e.isArrayBuffer,xe=_e&&_e.isDate,Ee=_e&&_e.isMap,Ae=_e&&_e.isRegExp,Ce=_e&&_e.isSet,Te=_e&&_e.isTypedArray;function Se(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}function ke(t,e,n,r){for(var i=-1,o=null==t?0:t.length;++i<o;){var s=t[i];e(r,s,n(s),t)}return r}function Pe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Oe(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function $e(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Le(t,e){for(var n=-1,r=null==t?0:t.length,i=0,o=[];++n<r;){var s=t[n];e(s,n,t)&&(o[i++]=s)}return o}function De(t,e){return!!(null==t?0:t.length)&&ze(t,e,0)>-1}function Ie(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function je(t,e){for(var n=-1,r=null==t?0:t.length,i=Array(r);++n<r;)i[n]=e(t[n],n,t);return i}function Ne(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Re(t,e,n,r){var i=-1,o=null==t?0:t.length;for(r&&o&&(n=t[++i]);++i<o;)n=e(n,t[i],i,t);return n}function Me(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function qe(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Fe=Ye("length");function Be(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function He(t,e,n,r){for(var i=t.length,o=n+(r?1:-1);r?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function ze(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):He(t,Ue,n)}function We(t,e,n,r){for(var i=n-1,o=t.length;++i<o;)if(r(t[i],e))return i;return-1}function Ue(t){return t!=t}function Ve(t,e){var n=null==t?0:t.length;return n?Ke(t,e)/n:g}function Ye(t){return function(e){return null==e?i:e[t]}}function Xe(t){return function(e){return null==t?i:t[e]}}function Ge(t,e,n,r,i){return i(t,(function(t,i,o){n=r?(r=!1,t):e(n,t,i,o)})),n}function Ke(t,e){for(var n,r=-1,o=t.length;++r<o;){var s=e(t[r]);s!==i&&(n=n===i?s:n+s)}return n}function Ze(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Qe(t){return t?t.slice(0,mn(t)+1).replace(st,""):t}function Je(t){return function(e){return t(e)}}function tn(t,e){return je(e,(function(e){return t[e]}))}function en(t,e){return t.has(e)}function nn(t,e){for(var n=-1,r=t.length;++n<r&&ze(e,t[n],0)>-1;);return n}function rn(t,e){for(var n=t.length;n--&&ze(e,t[n],0)>-1;);return n}var on=Xe({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",Ĳ:"IJ",ĳ:"ij",Œ:"Oe",œ:"oe",ŉ:"'n",ſ:"s"}),sn=Xe({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function an(t){return"\\"+ue[t]}function cn(t){return ie.test(t)}function ln(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function un(t,e){return function(n){return t(e(n))}}function hn(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n];s!==e&&s!==a||(t[n]=a,o[i++]=n)}return o}function fn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function dn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function pn(t){return cn(t)?function(t){var e=ne.lastIndex=0;for(;ne.test(t);)++e;return e}(t):Fe(t)}function gn(t){return cn(t)?function(t){return t.match(ne)||[]}(t):function(t){return t.split("")}(t)}function mn(t){for(var e=t.length;e--&&at.test(t.charAt(e)););return e}var vn=Xe({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"});var yn=function t(e){var n,r=(e=null==e?ge:yn.defaults(ge.Object(),e,yn.pick(ge,se))).Array,at=e.Date,At=e.Error,Ct=e.Function,Tt=e.Math,St=e.Object,kt=e.RegExp,Pt=e.String,Ot=e.TypeError,$t=r.prototype,Lt=Ct.prototype,Dt=St.prototype,It=e["__core-js_shared__"],jt=Lt.toString,Nt=Dt.hasOwnProperty,Rt=0,Mt=(n=/[^.]+$/.exec(It&&It.keys&&It.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",qt=Dt.toString,Ft=jt.call(St),Bt=ge._,Ht=kt("^"+jt.call(Nt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),zt=ye?e.Buffer:i,Wt=e.Symbol,Ut=e.Uint8Array,Vt=zt?zt.allocUnsafe:i,Yt=un(St.getPrototypeOf,St),Xt=St.create,Gt=Dt.propertyIsEnumerable,Kt=$t.splice,Zt=Wt?Wt.isConcatSpreadable:i,Qt=Wt?Wt.iterator:i,Jt=Wt?Wt.toStringTag:i,ne=function(){try{var t=fo(St,"defineProperty");return t({},"",{}),t}catch(t){}}(),ie=e.clearTimeout!==ge.clearTimeout&&e.clearTimeout,ue=at&&at.now!==ge.Date.now&&at.now,de=e.setTimeout!==ge.setTimeout&&e.setTimeout,pe=Tt.ceil,me=Tt.floor,ve=St.getOwnPropertySymbols,be=zt?zt.isBuffer:i,_e=e.isFinite,Fe=$t.join,Xe=un(St.keys,St),bn=Tt.max,_n=Tt.min,wn=at.now,xn=e.parseInt,En=Tt.random,An=$t.reverse,Cn=fo(e,"DataView"),Tn=fo(e,"Map"),Sn=fo(e,"Promise"),kn=fo(e,"Set"),Pn=fo(e,"WeakMap"),On=fo(St,"create"),$n=Pn&&new Pn,Ln={},Dn=qo(Cn),In=qo(Tn),jn=qo(Sn),Nn=qo(kn),Rn=qo(Pn),Mn=Wt?Wt.prototype:i,qn=Mn?Mn.valueOf:i,Fn=Mn?Mn.toString:i;function Bn(t){if(na(t)&&!Us(t)&&!(t instanceof Un)){if(t instanceof Wn)return t;if(Nt.call(t,"__wrapped__"))return Fo(t)}return new Wn(t)}var Hn=function(){function t(){}return function(e){if(!ea(e))return{};if(Xt)return Xt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function zn(){}function Wn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Un(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Vn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Yn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Xn(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function Gn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Xn;++e<n;)this.add(t[e])}function Kn(t){var e=this.__data__=new Yn(t);this.size=e.size}function Zn(t,e){var n=Us(t),r=!n&&Ws(t),i=!n&&!r&&Gs(t),o=!n&&!r&&!i&&ua(t),s=n||r||i||o,a=s?Ze(t.length,Pt):[],c=a.length;for(var l in t)!e&&!Nt.call(t,l)||s&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||_o(l,c))||a.push(l);return a}function Qn(t){var e=t.length;return e?t[Gr(0,e-1)]:i}function Jn(t,e){return No(Oi(t),cr(e,0,t.length))}function tr(t){return No(Oi(t))}function er(t,e,n){(n!==i&&!Bs(t[e],n)||n===i&&!(e in t))&&sr(t,e,n)}function nr(t,e,n){var r=t[e];Nt.call(t,e)&&Bs(r,n)&&(n!==i||e in t)||sr(t,e,n)}function rr(t,e){for(var n=t.length;n--;)if(Bs(t[n][0],e))return n;return-1}function ir(t,e,n,r){return dr(t,(function(t,i,o){e(r,t,n(t),o)})),r}function or(t,e){return t&&$i(e,La(e),t)}function sr(t,e,n){"__proto__"==e&&ne?ne(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ar(t,e){for(var n=-1,o=e.length,s=r(o),a=null==t;++n<o;)s[n]=a?i:Sa(t,e[n]);return s}function cr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function lr(t,e,n,r,o,s){var a,c=1&e,l=2&e,u=4&e;if(n&&(a=o?n(t,r,o,s):n(t)),a!==i)return a;if(!ea(t))return t;var h=Us(t);if(h){if(a=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Nt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!c)return Oi(t,a)}else{var f=mo(t),d=f==E||f==A;if(Gs(t))return Ai(t,c);if(f==S||f==y||d&&!o){if(a=l||d?{}:yo(t),!c)return l?function(t,e){return $i(t,go(t),e)}(t,function(t,e){return t&&$i(e,Da(e),t)}(a,t)):function(t,e){return $i(t,po(t),e)}(t,or(a,t))}else{if(!le[f])return o?t:{};a=function(t,e,n){var r=t.constructor;switch(e){case I:return Ci(t);case _:case w:return new r(+t);case j:return function(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case N:case R:case M:case q:case F:case B:case H:case z:case W:return Ti(t,n);case C:return new r;case T:case $:return new r(t);case P:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case O:return new r;case L:return i=t,qn?St(qn.call(i)):{}}var i}(t,f,c)}}s||(s=new Kn);var p=s.get(t);if(p)return p;s.set(t,a),aa(t)?t.forEach((function(r){a.add(lr(r,e,n,r,t,s))})):ra(t)&&t.forEach((function(r,i){a.set(i,lr(r,e,n,i,t,s))}));var g=h?i:(u?l?oo:io:l?Da:La)(t);return Pe(g||t,(function(r,i){g&&(r=t[i=r]),nr(a,i,lr(r,e,n,i,t,s))})),a}function ur(t,e,n){var r=n.length;if(null==t)return!r;for(t=St(t);r--;){var o=n[r],s=e[o],a=t[o];if(a===i&&!(o in t)||!s(a))return!1}return!0}function hr(t,e,n){if("function"!=typeof t)throw new Ot(o);return Lo((function(){t.apply(i,n)}),e)}function fr(t,e,n,r){var i=-1,o=De,s=!0,a=t.length,c=[],l=e.length;if(!a)return c;n&&(e=je(e,Je(n))),r?(o=Ie,s=!1):e.length>=200&&(o=en,s=!1,e=new Gn(e));t:for(;++i<a;){var u=t[i],h=null==n?u:n(u);if(u=r||0!==u?u:0,s&&h==h){for(var f=l;f--;)if(e[f]===h)continue t;c.push(u)}else o(e,h,r)||c.push(u)}return c}Bn.templateSettings={escape:Q,evaluate:J,interpolate:tt,variable:"",imports:{_:Bn}},Bn.prototype=zn.prototype,Bn.prototype.constructor=Bn,Wn.prototype=Hn(zn.prototype),Wn.prototype.constructor=Wn,Un.prototype=Hn(zn.prototype),Un.prototype.constructor=Un,Vn.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Vn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Vn.prototype.get=function(t){var e=this.__data__;if(On){var n=e[t];return n===s?i:n}return Nt.call(e,t)?e[t]:i},Vn.prototype.has=function(t){var e=this.__data__;return On?e[t]!==i:Nt.call(e,t)},Vn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=On&&e===i?s:e,this},Yn.prototype.clear=function(){this.__data__=[],this.size=0},Yn.prototype.delete=function(t){var e=this.__data__,n=rr(e,t);return!(n<0)&&(n==e.length-1?e.pop():Kt.call(e,n,1),--this.size,!0)},Yn.prototype.get=function(t){var e=this.__data__,n=rr(e,t);return n<0?i:e[n][1]},Yn.prototype.has=function(t){return rr(this.__data__,t)>-1},Yn.prototype.set=function(t,e){var n=this.__data__,r=rr(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Xn.prototype.clear=function(){this.size=0,this.__data__={hash:new Vn,map:new(Tn||Yn),string:new Vn}},Xn.prototype.delete=function(t){var e=uo(this,t).delete(t);return this.size-=e?1:0,e},Xn.prototype.get=function(t){return uo(this,t).get(t)},Xn.prototype.has=function(t){return uo(this,t).has(t)},Xn.prototype.set=function(t,e){var n=uo(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Gn.prototype.add=Gn.prototype.push=function(t){return this.__data__.set(t,s),this},Gn.prototype.has=function(t){return this.__data__.has(t)},Kn.prototype.clear=function(){this.__data__=new Yn,this.size=0},Kn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Kn.prototype.get=function(t){return this.__data__.get(t)},Kn.prototype.has=function(t){return this.__data__.has(t)},Kn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Yn){var r=n.__data__;if(!Tn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Xn(r)}return n.set(t,e),this.size=n.size,this};var dr=Ii(wr),pr=Ii(xr,!0);function gr(t,e){var n=!0;return dr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function mr(t,e,n){for(var r=-1,o=t.length;++r<o;){var s=t[r],a=e(s);if(null!=a&&(c===i?a==a&&!la(a):n(a,c)))var c=a,l=s}return l}function vr(t,e){var n=[];return dr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function yr(t,e,n,r,i){var o=-1,s=t.length;for(n||(n=bo),i||(i=[]);++o<s;){var a=t[o];e>0&&n(a)?e>1?yr(a,e-1,n,r,i):Ne(i,a):r||(i[i.length]=a)}return i}var br=ji(),_r=ji(!0);function wr(t,e){return t&&br(t,e,La)}function xr(t,e){return t&&_r(t,e,La)}function Er(t,e){return Le(e,(function(e){return Qs(t[e])}))}function Ar(t,e){for(var n=0,r=(e=_i(e,t)).length;null!=t&&n<r;)t=t[Mo(e[n++])];return n&&n==r?t:i}function Cr(t,e,n){var r=e(t);return Us(t)?r:Ne(r,n(t))}function Tr(t){return null==t?t===i?"[object Undefined]":"[object Null]":Jt&&Jt in St(t)?function(t){var e=Nt.call(t,Jt),n=t[Jt];try{t[Jt]=i;var r=!0}catch(t){}var o=qt.call(t);r&&(e?t[Jt]=n:delete t[Jt]);return o}(t):function(t){return qt.call(t)}(t)}function Sr(t,e){return t>e}function kr(t,e){return null!=t&&Nt.call(t,e)}function Pr(t,e){return null!=t&&e in St(t)}function Or(t,e,n){for(var o=n?Ie:De,s=t[0].length,a=t.length,c=a,l=r(a),u=1/0,h=[];c--;){var f=t[c];c&&e&&(f=je(f,Je(e))),u=_n(f.length,u),l[c]=!n&&(e||s>=120&&f.length>=120)?new Gn(c&&f):i}f=t[0];var d=-1,p=l[0];t:for(;++d<s&&h.length<u;){var g=f[d],m=e?e(g):g;if(g=n||0!==g?g:0,!(p?en(p,m):o(h,m,n))){for(c=a;--c;){var v=l[c];if(!(v?en(v,m):o(t[c],m,n)))continue t}p&&p.push(m),h.push(g)}}return h}function $r(t,e,n){var r=null==(t=Po(t,e=_i(e,t)))?t:t[Mo(Zo(e))];return null==r?i:Se(r,t,n)}function Lr(t){return na(t)&&Tr(t)==y}function Dr(t,e,n,r,o){return t===e||(null==t||null==e||!na(t)&&!na(e)?t!=t&&e!=e:function(t,e,n,r,o,s){var a=Us(t),c=Us(e),l=a?b:mo(t),u=c?b:mo(e),h=(l=l==y?S:l)==S,f=(u=u==y?S:u)==S,d=l==u;if(d&&Gs(t)){if(!Gs(e))return!1;a=!0,h=!1}if(d&&!h)return s||(s=new Kn),a||ua(t)?no(t,e,n,r,o,s):function(t,e,n,r,i,o,s){switch(n){case j:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case I:return!(t.byteLength!=e.byteLength||!o(new Ut(t),new Ut(e)));case _:case w:case T:return Bs(+t,+e);case x:return t.name==e.name&&t.message==e.message;case P:case $:return t==e+"";case C:var a=ln;case O:var c=1&r;if(a||(a=fn),t.size!=e.size&&!c)return!1;var l=s.get(t);if(l)return l==e;r|=2,s.set(t,e);var u=no(a(t),a(e),r,i,o,s);return s.delete(t),u;case L:if(qn)return qn.call(t)==qn.call(e)}return!1}(t,e,l,n,r,o,s);if(!(1&n)){var p=h&&Nt.call(t,"__wrapped__"),g=f&&Nt.call(e,"__wrapped__");if(p||g){var m=p?t.value():t,v=g?e.value():e;return s||(s=new Kn),o(m,v,n,r,s)}}if(!d)return!1;return s||(s=new Kn),function(t,e,n,r,o,s){var a=1&n,c=io(t),l=c.length,u=io(e),h=u.length;if(l!=h&&!a)return!1;var f=l;for(;f--;){var d=c[f];if(!(a?d in e:Nt.call(e,d)))return!1}var p=s.get(t),g=s.get(e);if(p&&g)return p==e&&g==t;var m=!0;s.set(t,e),s.set(e,t);var v=a;for(;++f<l;){var y=t[d=c[f]],b=e[d];if(r)var _=a?r(b,y,d,e,t,s):r(y,b,d,t,e,s);if(!(_===i?y===b||o(y,b,n,r,s):_)){m=!1;break}v||(v="constructor"==d)}if(m&&!v){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(t),s.delete(e),m}(t,e,n,r,o,s)}(t,e,n,r,Dr,o))}function Ir(t,e,n,r){var o=n.length,s=o,a=!r;if(null==t)return!s;for(t=St(t);o--;){var c=n[o];if(a&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++o<s;){var l=(c=n[o])[0],u=t[l],h=c[1];if(a&&c[2]){if(u===i&&!(l in t))return!1}else{var f=new Kn;if(r)var d=r(u,h,l,t,e,f);if(!(d===i?Dr(h,u,3,r,f):d))return!1}}return!0}function jr(t){return!(!ea(t)||(e=t,Mt&&Mt in e))&&(Qs(t)?Ht:yt).test(qo(t));var e}function Nr(t){return"function"==typeof t?t:null==t?ic:"object"==typeof t?Us(t)?Hr(t[0],t[1]):Br(t):dc(t)}function Rr(t){if(!Co(t))return Xe(t);var e=[];for(var n in St(t))Nt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Mr(t){if(!ea(t))return function(t){var e=[];if(null!=t)for(var n in St(t))e.push(n);return e}(t);var e=Co(t),n=[];for(var r in t)("constructor"!=r||!e&&Nt.call(t,r))&&n.push(r);return n}function qr(t,e){return t<e}function Fr(t,e){var n=-1,i=Ys(t)?r(t.length):[];return dr(t,(function(t,r,o){i[++n]=e(t,r,o)})),i}function Br(t){var e=ho(t);return 1==e.length&&e[0][2]?So(e[0][0],e[0][1]):function(n){return n===t||Ir(n,t,e)}}function Hr(t,e){return xo(t)&&To(e)?So(Mo(t),e):function(n){var r=Sa(n,t);return r===i&&r===e?ka(n,t):Dr(e,r,3)}}function zr(t,e,n,r,o){t!==e&&br(e,(function(s,a){if(o||(o=new Kn),ea(s))!function(t,e,n,r,o,s,a){var c=Oo(t,n),l=Oo(e,n),u=a.get(l);if(u)return void er(t,n,u);var h=s?s(c,l,n+"",t,e,a):i,f=h===i;if(f){var d=Us(l),p=!d&&Gs(l),g=!d&&!p&&ua(l);h=l,d||p||g?Us(c)?h=c:Xs(c)?h=Oi(c):p?(f=!1,h=Ai(l,!0)):g?(f=!1,h=Ti(l,!0)):h=[]:oa(l)||Ws(l)?(h=c,Ws(c)?h=ya(c):ea(c)&&!Qs(c)||(h=yo(l))):f=!1}f&&(a.set(l,h),o(h,l,r,s,a),a.delete(l));er(t,n,h)}(t,e,a,n,zr,r,o);else{var c=r?r(Oo(t,a),s,a+"",t,e,o):i;c===i&&(c=s),er(t,a,c)}}),Da)}function Wr(t,e){var n=t.length;if(n)return _o(e+=e<0?n:0,n)?t[e]:i}function Ur(t,e,n){e=e.length?je(e,(function(t){return Us(t)?function(e){return Ar(e,1===t.length?t[0]:t)}:t})):[ic];var r=-1;e=je(e,Je(lo()));var i=Fr(t,(function(t,n,i){var o=je(e,(function(e){return e(t)}));return{criteria:o,index:++r,value:t}}));return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(i,(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,o=e.criteria,s=i.length,a=n.length;for(;++r<s;){var c=Si(i[r],o[r]);if(c)return r>=a?c:c*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Vr(t,e,n){for(var r=-1,i=e.length,o={};++r<i;){var s=e[r],a=Ar(t,s);n(a,s)&&ti(o,_i(s,t),a)}return o}function Yr(t,e,n,r){var i=r?We:ze,o=-1,s=e.length,a=t;for(t===e&&(e=Oi(e)),n&&(a=je(t,Je(n)));++o<s;)for(var c=0,l=e[o],u=n?n(l):l;(c=i(a,u,c,r))>-1;)a!==t&&Kt.call(a,c,1),Kt.call(t,c,1);return t}function Xr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==o){var o=i;_o(i)?Kt.call(t,i,1):fi(t,i)}}return t}function Gr(t,e){return t+me(En()*(e-t+1))}function Kr(t,e){var n="";if(!t||e<1||e>p)return n;do{e%2&&(n+=t),(e=me(e/2))&&(t+=t)}while(e);return n}function Zr(t,e){return Do(ko(t,e,ic),t+"")}function Qr(t){return Qn(Ba(t))}function Jr(t,e){var n=Ba(t);return No(n,cr(e,0,n.length))}function ti(t,e,n,r){if(!ea(t))return t;for(var o=-1,s=(e=_i(e,t)).length,a=s-1,c=t;null!=c&&++o<s;){var l=Mo(e[o]),u=n;if("__proto__"===l||"constructor"===l||"prototype"===l)return t;if(o!=a){var h=c[l];(u=r?r(h,l,c):i)===i&&(u=ea(h)?h:_o(e[o+1])?[]:{})}nr(c,l,u),c=c[l]}return t}var ei=$n?function(t,e){return $n.set(t,e),t}:ic,ni=ne?function(t,e){return ne(t,"toString",{configurable:!0,enumerable:!1,value:ec(e),writable:!0})}:ic;function ri(t){return No(Ba(t))}function ii(t,e,n){var i=-1,o=t.length;e<0&&(e=-e>o?0:o+e),(n=n>o?o:n)<0&&(n+=o),o=e>n?0:n-e>>>0,e>>>=0;for(var s=r(o);++i<o;)s[i]=t[i+e];return s}function oi(t,e){var n;return dr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function si(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var o=r+i>>>1,s=t[o];null!==s&&!la(s)&&(n?s<=e:s<e)?r=o+1:i=o}return i}return ai(t,e,ic,n)}function ai(t,e,n,r){var o=0,s=null==t?0:t.length;if(0===s)return 0;for(var a=(e=n(e))!=e,c=null===e,l=la(e),u=e===i;o<s;){var h=me((o+s)/2),f=n(t[h]),d=f!==i,p=null===f,g=f==f,m=la(f);if(a)var v=r||g;else v=u?g&&(r||d):c?g&&d&&(r||!p):l?g&&d&&!p&&(r||!m):!p&&!m&&(r?f<=e:f<e);v?o=h+1:s=h}return _n(s,4294967294)}function ci(t,e){for(var n=-1,r=t.length,i=0,o=[];++n<r;){var s=t[n],a=e?e(s):s;if(!n||!Bs(a,c)){var c=a;o[i++]=0===s?0:s}}return o}function li(t){return"number"==typeof t?t:la(t)?g:+t}function ui(t){if("string"==typeof t)return t;if(Us(t))return je(t,ui)+"";if(la(t))return Fn?Fn.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function hi(t,e,n){var r=-1,i=De,o=t.length,s=!0,a=[],c=a;if(n)s=!1,i=Ie;else if(o>=200){var l=e?null:Ki(t);if(l)return fn(l);s=!1,i=en,c=new Gn}else c=e?[]:a;t:for(;++r<o;){var u=t[r],h=e?e(u):u;if(u=n||0!==u?u:0,s&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),a.push(u)}else i(c,h,n)||(c!==a&&c.push(h),a.push(u))}return a}function fi(t,e){return null==(t=Po(t,e=_i(e,t)))||delete t[Mo(Zo(e))]}function di(t,e,n,r){return ti(t,e,n(Ar(t,e)),r)}function pi(t,e,n,r){for(var i=t.length,o=r?i:-1;(r?o--:++o<i)&&e(t[o],o,t););return n?ii(t,r?0:o,r?o+1:i):ii(t,r?o+1:0,r?i:o)}function gi(t,e){var n=t;return n instanceof Un&&(n=n.value()),Re(e,(function(t,e){return e.func.apply(e.thisArg,Ne([t],e.args))}),n)}function mi(t,e,n){var i=t.length;if(i<2)return i?hi(t[0]):[];for(var o=-1,s=r(i);++o<i;)for(var a=t[o],c=-1;++c<i;)c!=o&&(s[o]=fr(s[o]||a,t[c],e,n));return hi(yr(s,1),e,n)}function vi(t,e,n){for(var r=-1,o=t.length,s=e.length,a={};++r<o;){var c=r<s?e[r]:i;n(a,t[r],c)}return a}function yi(t){return Xs(t)?t:[]}function bi(t){return"function"==typeof t?t:ic}function _i(t,e){return Us(t)?t:xo(t,e)?[t]:Ro(ba(t))}var wi=Zr;function xi(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:ii(t,e,n)}var Ei=ie||function(t){return ge.clearTimeout(t)};function Ai(t,e){if(e)return t.slice();var n=t.length,r=Vt?Vt(n):new t.constructor(n);return t.copy(r),r}function Ci(t){var e=new t.constructor(t.byteLength);return new Ut(e).set(new Ut(t)),e}function Ti(t,e){var n=e?Ci(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Si(t,e){if(t!==e){var n=t!==i,r=null===t,o=t==t,s=la(t),a=e!==i,c=null===e,l=e==e,u=la(e);if(!c&&!u&&!s&&t>e||s&&a&&l&&!c&&!u||r&&a&&l||!n&&l||!o)return 1;if(!r&&!s&&!u&&t<e||u&&n&&o&&!r&&!s||c&&n&&o||!a&&o||!l)return-1}return 0}function ki(t,e,n,i){for(var o=-1,s=t.length,a=n.length,c=-1,l=e.length,u=bn(s-a,0),h=r(l+u),f=!i;++c<l;)h[c]=e[c];for(;++o<a;)(f||o<s)&&(h[n[o]]=t[o]);for(;u--;)h[c++]=t[o++];return h}function Pi(t,e,n,i){for(var o=-1,s=t.length,a=-1,c=n.length,l=-1,u=e.length,h=bn(s-c,0),f=r(h+u),d=!i;++o<h;)f[o]=t[o];for(var p=o;++l<u;)f[p+l]=e[l];for(;++a<c;)(d||o<s)&&(f[p+n[a]]=t[o++]);return f}function Oi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function $i(t,e,n,r){var o=!n;n||(n={});for(var s=-1,a=e.length;++s<a;){var c=e[s],l=r?r(n[c],t[c],c,n,t):i;l===i&&(l=t[c]),o?sr(n,c,l):nr(n,c,l)}return n}function Li(t,e){return function(n,r){var i=Us(n)?ke:ir,o=e?e():{};return i(n,t,lo(r,2),o)}}function Di(t){return Zr((function(e,n){var r=-1,o=n.length,s=o>1?n[o-1]:i,a=o>2?n[2]:i;for(s=t.length>3&&"function"==typeof s?(o--,s):i,a&&wo(n[0],n[1],a)&&(s=o<3?i:s,o=1),e=St(e);++r<o;){var c=n[r];c&&t(e,c,r,s)}return e}))}function Ii(t,e){return function(n,r){if(null==n)return n;if(!Ys(n))return t(n,r);for(var i=n.length,o=e?i:-1,s=St(n);(e?o--:++o<i)&&!1!==r(s[o],o,s););return n}}function ji(t){return function(e,n,r){for(var i=-1,o=St(e),s=r(e),a=s.length;a--;){var c=s[t?a:++i];if(!1===n(o[c],c,o))break}return e}}function Ni(t){return function(e){var n=cn(e=ba(e))?gn(e):i,r=n?n[0]:e.charAt(0),o=n?xi(n,1).join(""):e.slice(1);return r[t]()+o}}function Ri(t){return function(e){return Re(Qa(Wa(e).replace(te,"")),t,"")}}function Mi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Hn(t.prototype),r=t.apply(n,e);return ea(r)?r:n}}function qi(t){return function(e,n,r){var o=St(e);if(!Ys(e)){var s=lo(n,3);e=La(e),n=function(t){return s(o[t],t,o)}}var a=t(e,n,r);return a>-1?o[s?e[a]:a]:i}}function Fi(t){return ro((function(e){var n=e.length,r=n,s=Wn.prototype.thru;for(t&&e.reverse();r--;){var a=e[r];if("function"!=typeof a)throw new Ot(o);if(s&&!c&&"wrapper"==ao(a))var c=new Wn([],!0)}for(r=c?r:n;++r<n;){var l=ao(a=e[r]),u="wrapper"==l?so(a):i;c=u&&Eo(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?c[ao(u[0])].apply(c,u[3]):1==a.length&&Eo(a)?c[l]():c.thru(a)}return function(){var t=arguments,r=t[0];if(c&&1==t.length&&Us(r))return c.plant(r).value();for(var i=0,o=n?e[i].apply(this,t):r;++i<n;)o=e[i].call(this,o);return o}}))}function Bi(t,e,n,o,s,a,c,l,u,f){var d=e&h,p=1&e,g=2&e,m=24&e,v=512&e,y=g?i:Mi(t);return function h(){for(var b=arguments.length,_=r(b),w=b;w--;)_[w]=arguments[w];if(m)var x=co(h),E=function(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}(_,x);if(o&&(_=ki(_,o,s,m)),a&&(_=Pi(_,a,c,m)),b-=E,m&&b<f){var A=hn(_,x);return Xi(t,e,Bi,h.placeholder,n,_,A,l,u,f-b)}var C=p?n:this,T=g?C[t]:t;return b=_.length,l?_=function(t,e){var n=t.length,r=_n(e.length,n),o=Oi(t);for(;r--;){var s=e[r];t[r]=_o(s,n)?o[s]:i}return t}(_,l):v&&b>1&&_.reverse(),d&&u<b&&(_.length=u),this&&this!==ge&&this instanceof h&&(T=y||Mi(T)),T.apply(C,_)}}function Hi(t,e){return function(n,r){return function(t,e,n,r){return wr(t,(function(t,i,o){e(r,n(t),i,o)})),r}(n,t,e(r),{})}}function zi(t,e){return function(n,r){var o;if(n===i&&r===i)return e;if(n!==i&&(o=n),r!==i){if(o===i)return r;"string"==typeof n||"string"==typeof r?(n=ui(n),r=ui(r)):(n=li(n),r=li(r)),o=t(n,r)}return o}}function Wi(t){return ro((function(e){return e=je(e,Je(lo())),Zr((function(n){var r=this;return t(e,(function(t){return Se(t,r,n)}))}))}))}function Ui(t,e){var n=(e=e===i?" ":ui(e)).length;if(n<2)return n?Kr(e,t):e;var r=Kr(e,pe(t/pn(e)));return cn(e)?xi(gn(r),0,t).join(""):r.slice(0,t)}function Vi(t){return function(e,n,o){return o&&"number"!=typeof o&&wo(e,n,o)&&(n=o=i),e=pa(e),n===i?(n=e,e=0):n=pa(n),function(t,e,n,i){for(var o=-1,s=bn(pe((e-t)/(n||1)),0),a=r(s);s--;)a[i?s:++o]=t,t+=n;return a}(e,n,o=o===i?e<n?1:-1:pa(o),t)}}function Yi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=va(e),n=va(n)),t(e,n)}}function Xi(t,e,n,r,o,s,a,c,h,f){var d=8&e;e|=d?l:u,4&(e&=~(d?u:l))||(e&=-4);var p=[t,e,o,d?s:i,d?a:i,d?i:s,d?i:a,c,h,f],g=n.apply(i,p);return Eo(t)&&$o(g,p),g.placeholder=r,Io(g,t,e)}function Gi(t){var e=Tt[t];return function(t,n){if(t=va(t),(n=null==n?0:_n(ga(n),292))&&_e(t)){var r=(ba(t)+"e").split("e");return+((r=(ba(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Ki=kn&&1/fn(new kn([,-0]))[1]==d?function(t){return new kn(t)}:lc;function Zi(t){return function(e){var n=mo(e);return n==C?ln(e):n==O?dn(e):function(t,e){return je(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Qi(t,e,n,s,d,p,g,m){var v=2&e;if(!v&&"function"!=typeof t)throw new Ot(o);var y=s?s.length:0;if(y||(e&=-97,s=d=i),g=g===i?g:bn(ga(g),0),m=m===i?m:ga(m),y-=d?d.length:0,e&u){var b=s,_=d;s=d=i}var w=v?i:so(t),x=[t,e,n,s,d,b,_,p,g,m];if(w&&function(t,e){var n=t[1],r=e[1],i=n|r,o=i<131,s=r==h&&8==n||r==h&&n==f&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!o&&!s)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var c=e[3];if(c){var l=t[3];t[3]=l?ki(l,c,e[4]):c,t[4]=l?hn(t[3],a):e[4]}(c=e[5])&&(l=t[5],t[5]=l?Pi(l,c,e[6]):c,t[6]=l?hn(t[5],a):e[6]);(c=e[7])&&(t[7]=c);r&h&&(t[8]=null==t[8]?e[8]:_n(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(x,w),t=x[0],e=x[1],n=x[2],s=x[3],d=x[4],!(m=x[9]=x[9]===i?v?0:t.length:bn(x[9]-y,0))&&24&e&&(e&=-25),e&&1!=e)E=8==e||e==c?function(t,e,n){var o=Mi(t);return function s(){for(var a=arguments.length,c=r(a),l=a,u=co(s);l--;)c[l]=arguments[l];var h=a<3&&c[0]!==u&&c[a-1]!==u?[]:hn(c,u);return(a-=h.length)<n?Xi(t,e,Bi,s.placeholder,i,c,h,i,i,n-a):Se(this&&this!==ge&&this instanceof s?o:t,this,c)}}(t,e,m):e!=l&&33!=e||d.length?Bi.apply(i,x):function(t,e,n,i){var o=1&e,s=Mi(t);return function e(){for(var a=-1,c=arguments.length,l=-1,u=i.length,h=r(u+c),f=this&&this!==ge&&this instanceof e?s:t;++l<u;)h[l]=i[l];for(;c--;)h[l++]=arguments[++a];return Se(f,o?n:this,h)}}(t,e,n,s);else var E=function(t,e,n){var r=1&e,i=Mi(t);return function e(){return(this&&this!==ge&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Io((w?ei:$o)(E,x),t,e)}function Ji(t,e,n,r){return t===i||Bs(t,Dt[n])&&!Nt.call(r,n)?e:t}function to(t,e,n,r,o,s){return ea(t)&&ea(e)&&(s.set(e,t),zr(t,e,i,to,s),s.delete(e)),t}function eo(t){return oa(t)?i:t}function no(t,e,n,r,o,s){var a=1&n,c=t.length,l=e.length;if(c!=l&&!(a&&l>c))return!1;var u=s.get(t),h=s.get(e);if(u&&h)return u==e&&h==t;var f=-1,d=!0,p=2&n?new Gn:i;for(s.set(t,e),s.set(e,t);++f<c;){var g=t[f],m=e[f];if(r)var v=a?r(m,g,f,e,t,s):r(g,m,f,t,e,s);if(v!==i){if(v)continue;d=!1;break}if(p){if(!qe(e,(function(t,e){if(!en(p,e)&&(g===t||o(g,t,n,r,s)))return p.push(e)}))){d=!1;break}}else if(g!==m&&!o(g,m,n,r,s)){d=!1;break}}return s.delete(t),s.delete(e),d}function ro(t){return Do(ko(t,i,Vo),t+"")}function io(t){return Cr(t,La,po)}function oo(t){return Cr(t,Da,go)}var so=$n?function(t){return $n.get(t)}:lc;function ao(t){for(var e=t.name+"",n=Ln[e],r=Nt.call(Ln,e)?n.length:0;r--;){var i=n[r],o=i.func;if(null==o||o==t)return i.name}return e}function co(t){return(Nt.call(Bn,"placeholder")?Bn:t).placeholder}function lo(){var t=Bn.iteratee||oc;return t=t===oc?Nr:t,arguments.length?t(arguments[0],arguments[1]):t}function uo(t,e){var n,r,i=t.__data__;return("string"==(r=typeof(n=e))||"number"==r||"symbol"==r||"boolean"==r?"__proto__"!==n:null===n)?i["string"==typeof e?"string":"hash"]:i.map}function ho(t){for(var e=La(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,To(i)]}return e}function fo(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return jr(n)?n:i}var po=ve?function(t){return null==t?[]:(t=St(t),Le(ve(t),(function(e){return Gt.call(t,e)})))}:mc,go=ve?function(t){for(var e=[];t;)Ne(e,po(t)),t=Yt(t);return e}:mc,mo=Tr;function vo(t,e,n){for(var r=-1,i=(e=_i(e,t)).length,o=!1;++r<i;){var s=Mo(e[r]);if(!(o=null!=t&&n(t,s)))break;t=t[s]}return o||++r!=i?o:!!(i=null==t?0:t.length)&&ta(i)&&_o(s,i)&&(Us(t)||Ws(t))}function yo(t){return"function"!=typeof t.constructor||Co(t)?{}:Hn(Yt(t))}function bo(t){return Us(t)||Ws(t)||!!(Zt&&t&&t[Zt])}function _o(t,e){var n=typeof t;return!!(e=null==e?p:e)&&("number"==n||"symbol"!=n&&_t.test(t))&&t>-1&&t%1==0&&t<e}function wo(t,e,n){if(!ea(n))return!1;var r=typeof e;return!!("number"==r?Ys(n)&&_o(e,n.length):"string"==r&&e in n)&&Bs(n[e],t)}function xo(t,e){if(Us(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!la(t))||(nt.test(t)||!et.test(t)||null!=e&&t in St(e))}function Eo(t){var e=ao(t),n=Bn[e];if("function"!=typeof n||!(e in Un.prototype))return!1;if(t===n)return!0;var r=so(n);return!!r&&t===r[0]}(Cn&&mo(new Cn(new ArrayBuffer(1)))!=j||Tn&&mo(new Tn)!=C||Sn&&mo(Sn.resolve())!=k||kn&&mo(new kn)!=O||Pn&&mo(new Pn)!=D)&&(mo=function(t){var e=Tr(t),n=e==S?t.constructor:i,r=n?qo(n):"";if(r)switch(r){case Dn:return j;case In:return C;case jn:return k;case Nn:return O;case Rn:return D}return e});var Ao=It?Qs:vc;function Co(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Dt)}function To(t){return t==t&&!ea(t)}function So(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==i||t in St(n)))}}function ko(t,e,n){return e=bn(e===i?t.length-1:e,0),function(){for(var i=arguments,o=-1,s=bn(i.length-e,0),a=r(s);++o<s;)a[o]=i[e+o];o=-1;for(var c=r(e+1);++o<e;)c[o]=i[o];return c[e]=n(a),Se(t,this,c)}}function Po(t,e){return e.length<2?t:Ar(t,ii(e,0,-1))}function Oo(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var $o=jo(ei),Lo=de||function(t,e){return ge.setTimeout(t,e)},Do=jo(ni);function Io(t,e,n){var r=e+"";return Do(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ct,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Pe(v,(function(n){var r="_."+n[0];e&n[1]&&!De(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(lt);return e?e[1].split(ut):[]}(r),n)))}function jo(t){var e=0,n=0;return function(){var r=wn(),o=16-(r-n);if(n=r,o>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function No(t,e){var n=-1,r=t.length,o=r-1;for(e=e===i?r:e;++n<e;){var s=Gr(n,o),a=t[s];t[s]=t[n],t[n]=a}return t.length=e,t}var Ro=function(t){var e=js(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(rt,(function(t,n,r,i){e.push(r?i.replace(dt,"$1"):n||t)})),e}));function Mo(t){if("string"==typeof t||la(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function qo(t){if(null!=t){try{return jt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function Fo(t){if(t instanceof Un)return t.clone();var e=new Wn(t.__wrapped__,t.__chain__);return e.__actions__=Oi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Bo=Zr((function(t,e){return Xs(t)?fr(t,yr(e,1,Xs,!0)):[]})),Ho=Zr((function(t,e){var n=Zo(e);return Xs(n)&&(n=i),Xs(t)?fr(t,yr(e,1,Xs,!0),lo(n,2)):[]})),zo=Zr((function(t,e){var n=Zo(e);return Xs(n)&&(n=i),Xs(t)?fr(t,yr(e,1,Xs,!0),i,n):[]}));function Wo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ga(n);return i<0&&(i=bn(r+i,0)),He(t,lo(e,3),i)}function Uo(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r-1;return n!==i&&(o=ga(n),o=n<0?bn(r+o,0):_n(o,r-1)),He(t,lo(e,3),o,!0)}function Vo(t){return(null==t?0:t.length)?yr(t,1):[]}function Yo(t){return t&&t.length?t[0]:i}var Xo=Zr((function(t){var e=je(t,yi);return e.length&&e[0]===t[0]?Or(e):[]})),Go=Zr((function(t){var e=Zo(t),n=je(t,yi);return e===Zo(n)?e=i:n.pop(),n.length&&n[0]===t[0]?Or(n,lo(e,2)):[]})),Ko=Zr((function(t){var e=Zo(t),n=je(t,yi);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?Or(n,i,e):[]}));function Zo(t){var e=null==t?0:t.length;return e?t[e-1]:i}var Qo=Zr(Jo);function Jo(t,e){return t&&t.length&&e&&e.length?Yr(t,e):t}var ts=ro((function(t,e){var n=null==t?0:t.length,r=ar(t,e);return Xr(t,je(e,(function(t){return _o(t,n)?+t:t})).sort(Si)),r}));function es(t){return null==t?t:An.call(t)}var ns=Zr((function(t){return hi(yr(t,1,Xs,!0))})),rs=Zr((function(t){var e=Zo(t);return Xs(e)&&(e=i),hi(yr(t,1,Xs,!0),lo(e,2))})),is=Zr((function(t){var e=Zo(t);return e="function"==typeof e?e:i,hi(yr(t,1,Xs,!0),i,e)}));function os(t){if(!t||!t.length)return[];var e=0;return t=Le(t,(function(t){if(Xs(t))return e=bn(t.length,e),!0})),Ze(e,(function(e){return je(t,Ye(e))}))}function ss(t,e){if(!t||!t.length)return[];var n=os(t);return null==e?n:je(n,(function(t){return Se(e,i,t)}))}var as=Zr((function(t,e){return Xs(t)?fr(t,e):[]})),cs=Zr((function(t){return mi(Le(t,Xs))})),ls=Zr((function(t){var e=Zo(t);return Xs(e)&&(e=i),mi(Le(t,Xs),lo(e,2))})),us=Zr((function(t){var e=Zo(t);return e="function"==typeof e?e:i,mi(Le(t,Xs),i,e)})),hs=Zr(os);var fs=Zr((function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,ss(t,n)}));function ds(t){var e=Bn(t);return e.__chain__=!0,e}function ps(t,e){return e(t)}var gs=ro((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,o=function(e){return ar(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Un&&_o(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:ps,args:[o],thisArg:i}),new Wn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(o)}));var ms=Li((function(t,e,n){Nt.call(t,n)?++t[n]:sr(t,n,1)}));var vs=qi(Wo),ys=qi(Uo);function bs(t,e){return(Us(t)?Pe:dr)(t,lo(e,3))}function _s(t,e){return(Us(t)?Oe:pr)(t,lo(e,3))}var ws=Li((function(t,e,n){Nt.call(t,n)?t[n].push(e):sr(t,n,[e])}));var xs=Zr((function(t,e,n){var i=-1,o="function"==typeof e,s=Ys(t)?r(t.length):[];return dr(t,(function(t){s[++i]=o?Se(e,t,n):$r(t,e,n)})),s})),Es=Li((function(t,e,n){sr(t,n,e)}));function As(t,e){return(Us(t)?je:Fr)(t,lo(e,3))}var Cs=Li((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var Ts=Zr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&wo(t,e[0],e[1])?e=[]:n>2&&wo(e[0],e[1],e[2])&&(e=[e[0]]),Ur(t,yr(e,1),[])})),Ss=ue||function(){return ge.Date.now()};function ks(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Qi(t,h,i,i,i,i,e)}function Ps(t,e){var n;if("function"!=typeof e)throw new Ot(o);return t=ga(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Os=Zr((function(t,e,n){var r=1;if(n.length){var i=hn(n,co(Os));r|=l}return Qi(t,r,e,n,i)})),$s=Zr((function(t,e,n){var r=3;if(n.length){var i=hn(n,co($s));r|=l}return Qi(e,r,t,n,i)}));function Ls(t,e,n){var r,s,a,c,l,u,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new Ot(o);function g(e){var n=r,o=s;return r=s=i,h=e,c=t.apply(o,n)}function m(t){var n=t-u;return u===i||n>=e||n<0||d&&t-h>=a}function v(){var t=Ss();if(m(t))return y(t);l=Lo(v,function(t){var n=e-(t-u);return d?_n(n,a-(t-h)):n}(t))}function y(t){return l=i,p&&r?g(t):(r=s=i,c)}function b(){var t=Ss(),n=m(t);if(r=arguments,s=this,u=t,n){if(l===i)return function(t){return h=t,l=Lo(v,e),f?g(t):c}(u);if(d)return Ei(l),l=Lo(v,e),g(u)}return l===i&&(l=Lo(v,e)),c}return e=va(e)||0,ea(n)&&(f=!!n.leading,a=(d="maxWait"in n)?bn(va(n.maxWait)||0,e):a,p="trailing"in n?!!n.trailing:p),b.cancel=function(){l!==i&&Ei(l),h=0,r=u=s=l=i},b.flush=function(){return l===i?c:y(Ss())},b}var Ds=Zr((function(t,e){return hr(t,1,e)})),Is=Zr((function(t,e,n){return hr(t,va(e)||0,n)}));function js(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Ot(o);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],o=n.cache;if(o.has(i))return o.get(i);var s=t.apply(this,r);return n.cache=o.set(i,s)||o,s};return n.cache=new(js.Cache||Xn),n}function Ns(t){if("function"!=typeof t)throw new Ot(o);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}js.Cache=Xn;var Rs=wi((function(t,e){var n=(e=1==e.length&&Us(e[0])?je(e[0],Je(lo())):je(yr(e,1),Je(lo()))).length;return Zr((function(r){for(var i=-1,o=_n(r.length,n);++i<o;)r[i]=e[i].call(this,r[i]);return Se(t,this,r)}))})),Ms=Zr((function(t,e){var n=hn(e,co(Ms));return Qi(t,l,i,e,n)})),qs=Zr((function(t,e){var n=hn(e,co(qs));return Qi(t,u,i,e,n)})),Fs=ro((function(t,e){return Qi(t,f,i,i,i,e)}));function Bs(t,e){return t===e||t!=t&&e!=e}var Hs=Yi(Sr),zs=Yi((function(t,e){return t>=e})),Ws=Lr(function(){return arguments}())?Lr:function(t){return na(t)&&Nt.call(t,"callee")&&!Gt.call(t,"callee")},Us=r.isArray,Vs=we?Je(we):function(t){return na(t)&&Tr(t)==I};function Ys(t){return null!=t&&ta(t.length)&&!Qs(t)}function Xs(t){return na(t)&&Ys(t)}var Gs=be||vc,Ks=xe?Je(xe):function(t){return na(t)&&Tr(t)==w};function Zs(t){if(!na(t))return!1;var e=Tr(t);return e==x||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!oa(t)}function Qs(t){if(!ea(t))return!1;var e=Tr(t);return e==E||e==A||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Js(t){return"number"==typeof t&&t==ga(t)}function ta(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function ea(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function na(t){return null!=t&&"object"==typeof t}var ra=Ee?Je(Ee):function(t){return na(t)&&mo(t)==C};function ia(t){return"number"==typeof t||na(t)&&Tr(t)==T}function oa(t){if(!na(t)||Tr(t)!=S)return!1;var e=Yt(t);if(null===e)return!0;var n=Nt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&jt.call(n)==Ft}var sa=Ae?Je(Ae):function(t){return na(t)&&Tr(t)==P};var aa=Ce?Je(Ce):function(t){return na(t)&&mo(t)==O};function ca(t){return"string"==typeof t||!Us(t)&&na(t)&&Tr(t)==$}function la(t){return"symbol"==typeof t||na(t)&&Tr(t)==L}var ua=Te?Je(Te):function(t){return na(t)&&ta(t.length)&&!!ce[Tr(t)]};var ha=Yi(qr),fa=Yi((function(t,e){return t<=e}));function da(t){if(!t)return[];if(Ys(t))return ca(t)?gn(t):Oi(t);if(Qt&&t[Qt])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[Qt]());var e=mo(t);return(e==C?ln:e==O?fn:Ba)(t)}function pa(t){return t?(t=va(t))===d||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function ga(t){var e=pa(t),n=e%1;return e==e?n?e-n:e:0}function ma(t){return t?cr(ga(t),0,m):0}function va(t){if("number"==typeof t)return t;if(la(t))return g;if(ea(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ea(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Qe(t);var n=vt.test(t);return n||bt.test(t)?fe(t.slice(2),n?2:8):mt.test(t)?g:+t}function ya(t){return $i(t,Da(t))}function ba(t){return null==t?"":ui(t)}var _a=Di((function(t,e){if(Co(e)||Ys(e))$i(e,La(e),t);else for(var n in e)Nt.call(e,n)&&nr(t,n,e[n])})),wa=Di((function(t,e){$i(e,Da(e),t)})),xa=Di((function(t,e,n,r){$i(e,Da(e),t,r)})),Ea=Di((function(t,e,n,r){$i(e,La(e),t,r)})),Aa=ro(ar);var Ca=Zr((function(t,e){t=St(t);var n=-1,r=e.length,o=r>2?e[2]:i;for(o&&wo(e[0],e[1],o)&&(r=1);++n<r;)for(var s=e[n],a=Da(s),c=-1,l=a.length;++c<l;){var u=a[c],h=t[u];(h===i||Bs(h,Dt[u])&&!Nt.call(t,u))&&(t[u]=s[u])}return t})),Ta=Zr((function(t){return t.push(i,to),Se(ja,i,t)}));function Sa(t,e,n){var r=null==t?i:Ar(t,e);return r===i?n:r}function ka(t,e){return null!=t&&vo(t,e,Pr)}var Pa=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=qt.call(e)),t[e]=n}),ec(ic)),Oa=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=qt.call(e)),Nt.call(t,e)?t[e].push(n):t[e]=[n]}),lo),$a=Zr($r);function La(t){return Ys(t)?Zn(t):Rr(t)}function Da(t){return Ys(t)?Zn(t,!0):Mr(t)}var Ia=Di((function(t,e,n){zr(t,e,n)})),ja=Di((function(t,e,n,r){zr(t,e,n,r)})),Na=ro((function(t,e){var n={};if(null==t)return n;var r=!1;e=je(e,(function(e){return e=_i(e,t),r||(r=e.length>1),e})),$i(t,oo(t),n),r&&(n=lr(n,7,eo));for(var i=e.length;i--;)fi(n,e[i]);return n}));var Ra=ro((function(t,e){return null==t?{}:function(t,e){return Vr(t,e,(function(e,n){return ka(t,n)}))}(t,e)}));function Ma(t,e){if(null==t)return{};var n=je(oo(t),(function(t){return[t]}));return e=lo(e),Vr(t,n,(function(t,n){return e(t,n[0])}))}var qa=Zi(La),Fa=Zi(Da);function Ba(t){return null==t?[]:tn(t,La(t))}var Ha=Ri((function(t,e,n){return e=e.toLowerCase(),t+(n?za(e):e)}));function za(t){return Za(ba(t).toLowerCase())}function Wa(t){return(t=ba(t))&&t.replace(wt,on).replace(ee,"")}var Ua=Ri((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),Va=Ri((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ya=Ni("toLowerCase");var Xa=Ri((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Ga=Ri((function(t,e,n){return t+(n?" ":"")+Za(e)}));var Ka=Ri((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Za=Ni("toUpperCase");function Qa(t,e,n){return t=ba(t),(e=n?i:e)===i?function(t){return oe.test(t)}(t)?function(t){return t.match(re)||[]}(t):function(t){return t.match(ht)||[]}(t):t.match(e)||[]}var Ja=Zr((function(t,e){try{return Se(t,i,e)}catch(t){return Zs(t)?t:new At(t)}})),tc=ro((function(t,e){return Pe(e,(function(e){e=Mo(e),sr(t,e,Os(t[e],t))})),t}));function ec(t){return function(){return t}}var nc=Fi(),rc=Fi(!0);function ic(t){return t}function oc(t){return Nr("function"==typeof t?t:lr(t,1))}var sc=Zr((function(t,e){return function(n){return $r(n,t,e)}})),ac=Zr((function(t,e){return function(n){return $r(t,n,e)}}));function cc(t,e,n){var r=La(e),i=Er(e,r);null!=n||ea(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=Er(e,La(e)));var o=!(ea(n)&&"chain"in n&&!n.chain),s=Qs(t);return Pe(i,(function(n){var r=e[n];t[n]=r,s&&(t.prototype[n]=function(){var e=this.__chain__;if(o||e){var n=t(this.__wrapped__);return(n.__actions__=Oi(this.__actions__)).push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Ne([this.value()],arguments))})})),t}function lc(){}var uc=Wi(je),hc=Wi($e),fc=Wi(qe);function dc(t){return xo(t)?Ye(Mo(t)):function(t){return function(e){return Ar(e,t)}}(t)}var pc=Vi(),gc=Vi(!0);function mc(){return[]}function vc(){return!1}var yc=zi((function(t,e){return t+e}),0),bc=Gi("ceil"),_c=zi((function(t,e){return t/e}),1),wc=Gi("floor");var xc,Ec=zi((function(t,e){return t*e}),1),Ac=Gi("round"),Cc=zi((function(t,e){return t-e}),0);return Bn.after=function(t,e){if("function"!=typeof e)throw new Ot(o);return t=ga(t),function(){if(--t<1)return e.apply(this,arguments)}},Bn.ary=ks,Bn.assign=_a,Bn.assignIn=wa,Bn.assignInWith=xa,Bn.assignWith=Ea,Bn.at=Aa,Bn.before=Ps,Bn.bind=Os,Bn.bindAll=tc,Bn.bindKey=$s,Bn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Us(t)?t:[t]},Bn.chain=ds,Bn.chunk=function(t,e,n){e=(n?wo(t,e,n):e===i)?1:bn(ga(e),0);var o=null==t?0:t.length;if(!o||e<1)return[];for(var s=0,a=0,c=r(pe(o/e));s<o;)c[a++]=ii(t,s,s+=e);return c},Bn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var o=t[e];o&&(i[r++]=o)}return i},Bn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Ne(Us(n)?Oi(n):[n],yr(e,1))},Bn.cond=function(t){var e=null==t?0:t.length,n=lo();return t=e?je(t,(function(t){if("function"!=typeof t[1])throw new Ot(o);return[n(t[0]),t[1]]})):[],Zr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Se(i[0],this,n))return Se(i[1],this,n)}}))},Bn.conforms=function(t){return function(t){var e=La(t);return function(n){return ur(n,t,e)}}(lr(t,1))},Bn.constant=ec,Bn.countBy=ms,Bn.create=function(t,e){var n=Hn(t);return null==e?n:or(n,e)},Bn.curry=function t(e,n,r){var o=Qi(e,8,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},Bn.curryRight=function t(e,n,r){var o=Qi(e,c,i,i,i,i,i,n=r?i:n);return o.placeholder=t.placeholder,o},Bn.debounce=Ls,Bn.defaults=Ca,Bn.defaultsDeep=Ta,Bn.defer=Ds,Bn.delay=Is,Bn.difference=Bo,Bn.differenceBy=Ho,Bn.differenceWith=zo,Bn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=n||e===i?1:ga(e))<0?0:e,r):[]},Bn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,0,(e=r-(e=n||e===i?1:ga(e)))<0?0:e):[]},Bn.dropRightWhile=function(t,e){return t&&t.length?pi(t,lo(e,3),!0,!0):[]},Bn.dropWhile=function(t,e){return t&&t.length?pi(t,lo(e,3),!0):[]},Bn.fill=function(t,e,n,r){var o=null==t?0:t.length;return o?(n&&"number"!=typeof n&&wo(t,e,n)&&(n=0,r=o),function(t,e,n,r){var o=t.length;for((n=ga(n))<0&&(n=-n>o?0:o+n),(r=r===i||r>o?o:ga(r))<0&&(r+=o),r=n>r?0:ma(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Bn.filter=function(t,e){return(Us(t)?Le:vr)(t,lo(e,3))},Bn.flatMap=function(t,e){return yr(As(t,e),1)},Bn.flatMapDeep=function(t,e){return yr(As(t,e),d)},Bn.flatMapDepth=function(t,e,n){return n=n===i?1:ga(n),yr(As(t,e),n)},Bn.flatten=Vo,Bn.flattenDeep=function(t){return(null==t?0:t.length)?yr(t,d):[]},Bn.flattenDepth=function(t,e){return(null==t?0:t.length)?yr(t,e=e===i?1:ga(e)):[]},Bn.flip=function(t){return Qi(t,512)},Bn.flow=nc,Bn.flowRight=rc,Bn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Bn.functions=function(t){return null==t?[]:Er(t,La(t))},Bn.functionsIn=function(t){return null==t?[]:Er(t,Da(t))},Bn.groupBy=ws,Bn.initial=function(t){return(null==t?0:t.length)?ii(t,0,-1):[]},Bn.intersection=Xo,Bn.intersectionBy=Go,Bn.intersectionWith=Ko,Bn.invert=Pa,Bn.invertBy=Oa,Bn.invokeMap=xs,Bn.iteratee=oc,Bn.keyBy=Es,Bn.keys=La,Bn.keysIn=Da,Bn.map=As,Bn.mapKeys=function(t,e){var n={};return e=lo(e,3),wr(t,(function(t,r,i){sr(n,e(t,r,i),t)})),n},Bn.mapValues=function(t,e){var n={};return e=lo(e,3),wr(t,(function(t,r,i){sr(n,r,e(t,r,i))})),n},Bn.matches=function(t){return Br(lr(t,1))},Bn.matchesProperty=function(t,e){return Hr(t,lr(e,1))},Bn.memoize=js,Bn.merge=Ia,Bn.mergeWith=ja,Bn.method=sc,Bn.methodOf=ac,Bn.mixin=cc,Bn.negate=Ns,Bn.nthArg=function(t){return t=ga(t),Zr((function(e){return Wr(e,t)}))},Bn.omit=Na,Bn.omitBy=function(t,e){return Ma(t,Ns(lo(e)))},Bn.once=function(t){return Ps(2,t)},Bn.orderBy=function(t,e,n,r){return null==t?[]:(Us(e)||(e=null==e?[]:[e]),Us(n=r?i:n)||(n=null==n?[]:[n]),Ur(t,e,n))},Bn.over=uc,Bn.overArgs=Rs,Bn.overEvery=hc,Bn.overSome=fc,Bn.partial=Ms,Bn.partialRight=qs,Bn.partition=Cs,Bn.pick=Ra,Bn.pickBy=Ma,Bn.property=dc,Bn.propertyOf=function(t){return function(e){return null==t?i:Ar(t,e)}},Bn.pull=Qo,Bn.pullAll=Jo,Bn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?Yr(t,e,lo(n,2)):t},Bn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?Yr(t,e,i,n):t},Bn.pullAt=ts,Bn.range=pc,Bn.rangeRight=gc,Bn.rearg=Fs,Bn.reject=function(t,e){return(Us(t)?Le:vr)(t,Ns(lo(e,3)))},Bn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],o=t.length;for(e=lo(e,3);++r<o;){var s=t[r];e(s,r,t)&&(n.push(s),i.push(r))}return Xr(t,i),n},Bn.rest=function(t,e){if("function"!=typeof t)throw new Ot(o);return Zr(t,e=e===i?e:ga(e))},Bn.reverse=es,Bn.sampleSize=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:ga(e),(Us(t)?Jn:Jr)(t,e)},Bn.set=function(t,e,n){return null==t?t:ti(t,e,n)},Bn.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:ti(t,e,n,r)},Bn.shuffle=function(t){return(Us(t)?tr:ri)(t)},Bn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&wo(t,e,n)?(e=0,n=r):(e=null==e?0:ga(e),n=n===i?r:ga(n)),ii(t,e,n)):[]},Bn.sortBy=Ts,Bn.sortedUniq=function(t){return t&&t.length?ci(t):[]},Bn.sortedUniqBy=function(t,e){return t&&t.length?ci(t,lo(e,2)):[]},Bn.split=function(t,e,n){return n&&"number"!=typeof n&&wo(t,e,n)&&(e=n=i),(n=n===i?m:n>>>0)?(t=ba(t))&&("string"==typeof e||null!=e&&!sa(e))&&!(e=ui(e))&&cn(t)?xi(gn(t),0,n):t.split(e,n):[]},Bn.spread=function(t,e){if("function"!=typeof t)throw new Ot(o);return e=null==e?0:bn(ga(e),0),Zr((function(n){var r=n[e],i=xi(n,0,e);return r&&Ne(i,r),Se(t,this,i)}))},Bn.tail=function(t){var e=null==t?0:t.length;return e?ii(t,1,e):[]},Bn.take=function(t,e,n){return t&&t.length?ii(t,0,(e=n||e===i?1:ga(e))<0?0:e):[]},Bn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ii(t,(e=r-(e=n||e===i?1:ga(e)))<0?0:e,r):[]},Bn.takeRightWhile=function(t,e){return t&&t.length?pi(t,lo(e,3),!1,!0):[]},Bn.takeWhile=function(t,e){return t&&t.length?pi(t,lo(e,3)):[]},Bn.tap=function(t,e){return e(t),t},Bn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Ot(o);return ea(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Ls(t,e,{leading:r,maxWait:e,trailing:i})},Bn.thru=ps,Bn.toArray=da,Bn.toPairs=qa,Bn.toPairsIn=Fa,Bn.toPath=function(t){return Us(t)?je(t,Mo):la(t)?[t]:Oi(Ro(ba(t)))},Bn.toPlainObject=ya,Bn.transform=function(t,e,n){var r=Us(t),i=r||Gs(t)||ua(t);if(e=lo(e,4),null==n){var o=t&&t.constructor;n=i?r?new o:[]:ea(t)&&Qs(o)?Hn(Yt(t)):{}}return(i?Pe:wr)(t,(function(t,r,i){return e(n,t,r,i)})),n},Bn.unary=function(t){return ks(t,1)},Bn.union=ns,Bn.unionBy=rs,Bn.unionWith=is,Bn.uniq=function(t){return t&&t.length?hi(t):[]},Bn.uniqBy=function(t,e){return t&&t.length?hi(t,lo(e,2)):[]},Bn.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?hi(t,i,e):[]},Bn.unset=function(t,e){return null==t||fi(t,e)},Bn.unzip=os,Bn.unzipWith=ss,Bn.update=function(t,e,n){return null==t?t:di(t,e,bi(n))},Bn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:di(t,e,bi(n),r)},Bn.values=Ba,Bn.valuesIn=function(t){return null==t?[]:tn(t,Da(t))},Bn.without=as,Bn.words=Qa,Bn.wrap=function(t,e){return Ms(bi(e),t)},Bn.xor=cs,Bn.xorBy=ls,Bn.xorWith=us,Bn.zip=hs,Bn.zipObject=function(t,e){return vi(t||[],e||[],nr)},Bn.zipObjectDeep=function(t,e){return vi(t||[],e||[],ti)},Bn.zipWith=fs,Bn.entries=qa,Bn.entriesIn=Fa,Bn.extend=wa,Bn.extendWith=xa,cc(Bn,Bn),Bn.add=yc,Bn.attempt=Ja,Bn.camelCase=Ha,Bn.capitalize=za,Bn.ceil=bc,Bn.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=va(n))==n?n:0),e!==i&&(e=(e=va(e))==e?e:0),cr(va(t),e,n)},Bn.clone=function(t){return lr(t,4)},Bn.cloneDeep=function(t){return lr(t,5)},Bn.cloneDeepWith=function(t,e){return lr(t,5,e="function"==typeof e?e:i)},Bn.cloneWith=function(t,e){return lr(t,4,e="function"==typeof e?e:i)},Bn.conformsTo=function(t,e){return null==e||ur(t,e,La(e))},Bn.deburr=Wa,Bn.defaultTo=function(t,e){return null==t||t!=t?e:t},Bn.divide=_c,Bn.endsWith=function(t,e,n){t=ba(t),e=ui(e);var r=t.length,o=n=n===i?r:cr(ga(n),0,r);return(n-=e.length)>=0&&t.slice(n,o)==e},Bn.eq=Bs,Bn.escape=function(t){return(t=ba(t))&&Z.test(t)?t.replace(G,sn):t},Bn.escapeRegExp=function(t){return(t=ba(t))&&ot.test(t)?t.replace(it,"\\$&"):t},Bn.every=function(t,e,n){var r=Us(t)?$e:gr;return n&&wo(t,e,n)&&(e=i),r(t,lo(e,3))},Bn.find=vs,Bn.findIndex=Wo,Bn.findKey=function(t,e){return Be(t,lo(e,3),wr)},Bn.findLast=ys,Bn.findLastIndex=Uo,Bn.findLastKey=function(t,e){return Be(t,lo(e,3),xr)},Bn.floor=wc,Bn.forEach=bs,Bn.forEachRight=_s,Bn.forIn=function(t,e){return null==t?t:br(t,lo(e,3),Da)},Bn.forInRight=function(t,e){return null==t?t:_r(t,lo(e,3),Da)},Bn.forOwn=function(t,e){return t&&wr(t,lo(e,3))},Bn.forOwnRight=function(t,e){return t&&xr(t,lo(e,3))},Bn.get=Sa,Bn.gt=Hs,Bn.gte=zs,Bn.has=function(t,e){return null!=t&&vo(t,e,kr)},Bn.hasIn=ka,Bn.head=Yo,Bn.identity=ic,Bn.includes=function(t,e,n,r){t=Ys(t)?t:Ba(t),n=n&&!r?ga(n):0;var i=t.length;return n<0&&(n=bn(i+n,0)),ca(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&ze(t,e,n)>-1},Bn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:ga(n);return i<0&&(i=bn(r+i,0)),ze(t,e,i)},Bn.inRange=function(t,e,n){return e=pa(e),n===i?(n=e,e=0):n=pa(n),function(t,e,n){return t>=_n(e,n)&&t<bn(e,n)}(t=va(t),e,n)},Bn.invoke=$a,Bn.isArguments=Ws,Bn.isArray=Us,Bn.isArrayBuffer=Vs,Bn.isArrayLike=Ys,Bn.isArrayLikeObject=Xs,Bn.isBoolean=function(t){return!0===t||!1===t||na(t)&&Tr(t)==_},Bn.isBuffer=Gs,Bn.isDate=Ks,Bn.isElement=function(t){return na(t)&&1===t.nodeType&&!oa(t)},Bn.isEmpty=function(t){if(null==t)return!0;if(Ys(t)&&(Us(t)||"string"==typeof t||"function"==typeof t.splice||Gs(t)||ua(t)||Ws(t)))return!t.length;var e=mo(t);if(e==C||e==O)return!t.size;if(Co(t))return!Rr(t).length;for(var n in t)if(Nt.call(t,n))return!1;return!0},Bn.isEqual=function(t,e){return Dr(t,e)},Bn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?Dr(t,e,i,n):!!r},Bn.isError=Zs,Bn.isFinite=function(t){return"number"==typeof t&&_e(t)},Bn.isFunction=Qs,Bn.isInteger=Js,Bn.isLength=ta,Bn.isMap=ra,Bn.isMatch=function(t,e){return t===e||Ir(t,e,ho(e))},Bn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,Ir(t,e,ho(e),n)},Bn.isNaN=function(t){return ia(t)&&t!=+t},Bn.isNative=function(t){if(Ao(t))throw new At("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return jr(t)},Bn.isNil=function(t){return null==t},Bn.isNull=function(t){return null===t},Bn.isNumber=ia,Bn.isObject=ea,Bn.isObjectLike=na,Bn.isPlainObject=oa,Bn.isRegExp=sa,Bn.isSafeInteger=function(t){return Js(t)&&t>=-9007199254740991&&t<=p},Bn.isSet=aa,Bn.isString=ca,Bn.isSymbol=la,Bn.isTypedArray=ua,Bn.isUndefined=function(t){return t===i},Bn.isWeakMap=function(t){return na(t)&&mo(t)==D},Bn.isWeakSet=function(t){return na(t)&&"[object WeakSet]"==Tr(t)},Bn.join=function(t,e){return null==t?"":Fe.call(t,e)},Bn.kebabCase=Ua,Bn.last=Zo,Bn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var o=r;return n!==i&&(o=(o=ga(n))<0?bn(r+o,0):_n(o,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,o):He(t,Ue,o,!0)},Bn.lowerCase=Va,Bn.lowerFirst=Ya,Bn.lt=ha,Bn.lte=fa,Bn.max=function(t){return t&&t.length?mr(t,ic,Sr):i},Bn.maxBy=function(t,e){return t&&t.length?mr(t,lo(e,2),Sr):i},Bn.mean=function(t){return Ve(t,ic)},Bn.meanBy=function(t,e){return Ve(t,lo(e,2))},Bn.min=function(t){return t&&t.length?mr(t,ic,qr):i},Bn.minBy=function(t,e){return t&&t.length?mr(t,lo(e,2),qr):i},Bn.stubArray=mc,Bn.stubFalse=vc,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=Ec,Bn.nth=function(t,e){return t&&t.length?Wr(t,ga(e)):i},Bn.noConflict=function(){return ge._===this&&(ge._=Bt),this},Bn.noop=lc,Bn.now=Ss,Bn.pad=function(t,e,n){t=ba(t);var r=(e=ga(e))?pn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ui(me(i),n)+t+Ui(pe(i),n)},Bn.padEnd=function(t,e,n){t=ba(t);var r=(e=ga(e))?pn(t):0;return e&&r<e?t+Ui(e-r,n):t},Bn.padStart=function(t,e,n){t=ba(t);var r=(e=ga(e))?pn(t):0;return e&&r<e?Ui(e-r,n)+t:t},Bn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),xn(ba(t).replace(st,""),e||0)},Bn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&wo(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=pa(t),e===i?(e=t,t=0):e=pa(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var o=En();return _n(t+o*(e-t+he("1e-"+((o+"").length-1))),e)}return Gr(t,e)},Bn.reduce=function(t,e,n){var r=Us(t)?Re:Ge,i=arguments.length<3;return r(t,lo(e,4),n,i,dr)},Bn.reduceRight=function(t,e,n){var r=Us(t)?Me:Ge,i=arguments.length<3;return r(t,lo(e,4),n,i,pr)},Bn.repeat=function(t,e,n){return e=(n?wo(t,e,n):e===i)?1:ga(e),Kr(ba(t),e)},Bn.replace=function(){var t=arguments,e=ba(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Bn.result=function(t,e,n){var r=-1,o=(e=_i(e,t)).length;for(o||(o=1,t=i);++r<o;){var s=null==t?i:t[Mo(e[r])];s===i&&(r=o,s=n),t=Qs(s)?s.call(t):s}return t},Bn.round=Ac,Bn.runInContext=t,Bn.sample=function(t){return(Us(t)?Qn:Qr)(t)},Bn.size=function(t){if(null==t)return 0;if(Ys(t))return ca(t)?pn(t):t.length;var e=mo(t);return e==C||e==O?t.size:Rr(t).length},Bn.snakeCase=Xa,Bn.some=function(t,e,n){var r=Us(t)?qe:oi;return n&&wo(t,e,n)&&(e=i),r(t,lo(e,3))},Bn.sortedIndex=function(t,e){return si(t,e)},Bn.sortedIndexBy=function(t,e,n){return ai(t,e,lo(n,2))},Bn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=si(t,e);if(r<n&&Bs(t[r],e))return r}return-1},Bn.sortedLastIndex=function(t,e){return si(t,e,!0)},Bn.sortedLastIndexBy=function(t,e,n){return ai(t,e,lo(n,2),!0)},Bn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=si(t,e,!0)-1;if(Bs(t[n],e))return n}return-1},Bn.startCase=Ga,Bn.startsWith=function(t,e,n){return t=ba(t),n=null==n?0:cr(ga(n),0,t.length),e=ui(e),t.slice(n,n+e.length)==e},Bn.subtract=Cc,Bn.sum=function(t){return t&&t.length?Ke(t,ic):0},Bn.sumBy=function(t,e){return t&&t.length?Ke(t,lo(e,2)):0},Bn.template=function(t,e,n){var r=Bn.templateSettings;n&&wo(t,e,n)&&(e=i),t=ba(t),e=xa({},e,r,Ji);var o,s,a=xa({},e.imports,r.imports,Ji),c=La(a),l=tn(a,c),u=0,h=e.interpolate||xt,f="__p += '",d=kt((e.escape||xt).source+"|"+h.source+"|"+(h===tt?pt:xt).source+"|"+(e.evaluate||xt).source+"|$","g"),p="//# sourceURL="+(Nt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ae+"]")+"\n";t.replace(d,(function(e,n,r,i,a,c){return r||(r=i),f+=t.slice(u,c).replace(Et,an),n&&(o=!0,f+="' +\n__e("+n+") +\n'"),a&&(s=!0,f+="';\n"+a+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=c+e.length,e})),f+="';\n";var g=Nt.call(e,"variable")&&e.variable;if(g){if(ft.test(g))throw new At("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(s?f.replace(U,""):f).replace(V,"$1").replace(Y,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(o?", __e = _.escape":"")+(s?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var m=Ja((function(){return Ct(c,p+"return "+f).apply(i,l)}));if(m.source=f,Zs(m))throw m;return m},Bn.times=function(t,e){if((t=ga(t))<1||t>p)return[];var n=m,r=_n(t,m);e=lo(e),t-=m;for(var i=Ze(r,e);++n<t;)e(n);return i},Bn.toFinite=pa,Bn.toInteger=ga,Bn.toLength=ma,Bn.toLower=function(t){return ba(t).toLowerCase()},Bn.toNumber=va,Bn.toSafeInteger=function(t){return t?cr(ga(t),-9007199254740991,p):0===t?t:0},Bn.toString=ba,Bn.toUpper=function(t){return ba(t).toUpperCase()},Bn.trim=function(t,e,n){if((t=ba(t))&&(n||e===i))return Qe(t);if(!t||!(e=ui(e)))return t;var r=gn(t),o=gn(e);return xi(r,nn(r,o),rn(r,o)+1).join("")},Bn.trimEnd=function(t,e,n){if((t=ba(t))&&(n||e===i))return t.slice(0,mn(t)+1);if(!t||!(e=ui(e)))return t;var r=gn(t);return xi(r,0,rn(r,gn(e))+1).join("")},Bn.trimStart=function(t,e,n){if((t=ba(t))&&(n||e===i))return t.replace(st,"");if(!t||!(e=ui(e)))return t;var r=gn(t);return xi(r,nn(r,gn(e))).join("")},Bn.truncate=function(t,e){var n=30,r="...";if(ea(e)){var o="separator"in e?e.separator:o;n="length"in e?ga(e.length):n,r="omission"in e?ui(e.omission):r}var s=(t=ba(t)).length;if(cn(t)){var a=gn(t);s=a.length}if(n>=s)return t;var c=n-pn(r);if(c<1)return r;var l=a?xi(a,0,c).join(""):t.slice(0,c);if(o===i)return l+r;if(a&&(c+=l.length-c),sa(o)){if(t.slice(c).search(o)){var u,h=l;for(o.global||(o=kt(o.source,ba(gt.exec(o))+"g")),o.lastIndex=0;u=o.exec(h);)var f=u.index;l=l.slice(0,f===i?c:f)}}else if(t.indexOf(ui(o),c)!=c){var d=l.lastIndexOf(o);d>-1&&(l=l.slice(0,d))}return l+r},Bn.unescape=function(t){return(t=ba(t))&&K.test(t)?t.replace(X,vn):t},Bn.uniqueId=function(t){var e=++Rt;return ba(t)+e},Bn.upperCase=Ka,Bn.upperFirst=Za,Bn.each=bs,Bn.eachRight=_s,Bn.first=Yo,cc(Bn,(xc={},wr(Bn,(function(t,e){Nt.call(Bn.prototype,e)||(xc[e]=t)})),xc),{chain:!1}),Bn.VERSION="4.17.21",Pe(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Bn[t].placeholder=Bn})),Pe(["drop","take"],(function(t,e){Un.prototype[t]=function(n){n=n===i?1:bn(ga(n),0);var r=this.__filtered__&&!e?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=_n(n,r.__takeCount__):r.__views__.push({size:_n(n,m),type:t+(r.__dir__<0?"Right":"")}),r},Un.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Pe(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Un.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:lo(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Pe(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Un.prototype[t]=function(){return this[n](1).value()[0]}})),Pe(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Un.prototype[t]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(ic)},Un.prototype.find=function(t){return this.filter(t).head()},Un.prototype.findLast=function(t){return this.reverse().find(t)},Un.prototype.invokeMap=Zr((function(t,e){return"function"==typeof t?new Un(this):this.map((function(n){return $r(n,t,e)}))})),Un.prototype.reject=function(t){return this.filter(Ns(lo(t)))},Un.prototype.slice=function(t,e){t=ga(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Un(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=ga(e))<0?n.dropRight(-e):n.take(e-t)),n)},Un.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Un.prototype.toArray=function(){return this.take(m)},wr(Un.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),o=Bn[r?"take"+("last"==e?"Right":""):e],s=r||/^find/.test(e);o&&(Bn.prototype[e]=function(){var e=this.__wrapped__,a=r?[1]:arguments,c=e instanceof Un,l=a[0],u=c||Us(e),h=function(t){var e=o.apply(Bn,Ne([t],a));return r&&f?e[0]:e};u&&n&&"function"==typeof l&&1!=l.length&&(c=u=!1);var f=this.__chain__,d=!!this.__actions__.length,p=s&&!f,g=c&&!d;if(!s&&u){e=g?e:new Un(this);var m=t.apply(e,a);return m.__actions__.push({func:ps,args:[h],thisArg:i}),new Wn(m,f)}return p&&g?t.apply(this,a):(m=this.thru(h),p?r?m.value()[0]:m.value():m)})})),Pe(["pop","push","shift","sort","splice","unshift"],(function(t){var e=$t[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Bn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Us(i)?i:[],t)}return this[n]((function(n){return e.apply(Us(n)?n:[],t)}))}})),wr(Un.prototype,(function(t,e){var n=Bn[e];if(n){var r=n.name+"";Nt.call(Ln,r)||(Ln[r]=[]),Ln[r].push({name:e,func:n})}})),Ln[Bi(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var t=new Un(this.__wrapped__);return t.__actions__=Oi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Oi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Oi(this.__views__),t},Un.prototype.reverse=function(){if(this.__filtered__){var t=new Un(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Un.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Us(t),r=e<0,i=n?t.length:0,o=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var o=n[r],s=o.size;switch(o.type){case"drop":t+=s;break;case"dropRight":e-=s;break;case"take":e=_n(e,t+s);break;case"takeRight":t=bn(t,e-s)}}return{start:t,end:e}}(0,i,this.__views__),s=o.start,a=o.end,c=a-s,l=r?a:s-1,u=this.__iteratees__,h=u.length,f=0,d=_n(c,this.__takeCount__);if(!n||!r&&i==c&&d==c)return gi(t,this.__actions__);var p=[];t:for(;c--&&f<d;){for(var g=-1,m=t[l+=e];++g<h;){var v=u[g],y=v.iteratee,b=v.type,_=y(m);if(2==b)m=_;else if(!_){if(1==b)continue t;break t}}p[f++]=m}return p},Bn.prototype.at=gs,Bn.prototype.chain=function(){return ds(this)},Bn.prototype.commit=function(){return new Wn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===i&&(this.__values__=da(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Bn.prototype.plant=function(t){for(var e,n=this;n instanceof zn;){var r=Fo(n);r.__index__=0,r.__values__=i,e?o.__wrapped__=r:e=r;var o=r;n=n.__wrapped__}return o.__wrapped__=t,e},Bn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Un){var e=t;return this.__actions__.length&&(e=new Un(this)),(e=e.reverse()).__actions__.push({func:ps,args:[es],thisArg:i}),new Wn(e,this.__chain__)}return this.thru(es)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return gi(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,Qt&&(Bn.prototype[Qt]=function(){return this}),Bn}();ge._=yn,(r=function(){return yn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},5606:t=>{var e,n,r=t.exports={};function i(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function s(t){if(e===setTimeout)return setTimeout(t,0);if((e===i||!e)&&setTimeout)return e=setTimeout,setTimeout(t,0);try{return e(t,0)}catch(n){try{return e.call(null,t,0)}catch(n){return e.call(this,t,0)}}}!function(){try{e="function"==typeof setTimeout?setTimeout:i}catch(t){e=i}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var a,c=[],l=!1,u=-1;function h(){l&&a&&(l=!1,a.length?c=a.concat(c):u=-1,c.length&&f())}function f(){if(!l){var t=s(h);l=!0;for(var e=c.length;e;){for(a=c,c=[];++u<e;)a&&a[u].run();u=-1,e=c.length}a=null,l=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{return n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function p(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];c.push(new d(t,e)),1!==c.length||l||s(f)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=p,r.addListener=p,r.once=p,r.off=p,r.removeListener=p,r.removeAllListeners=p,r.emit=p,r.prependListener=p,r.prependOnceListener=p,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},5458:(t,e,n)=>{var r,i,o;i=[n(4692)],void 0===(o="function"==typeof(r=function(t){var e=function(){if(t&&t.fn&&t.fn.select2&&t.fn.select2.amd)var e=t.fn.select2.amd;var n,r,i;return e&&e.requirejs||(e?r=e:e={},function(t){var e,o,s,a,c={},l={},u={},h={},f=Object.prototype.hasOwnProperty,d=[].slice,p=/\.js$/;function g(t,e){return f.call(t,e)}function m(t,e){var n,r,i,o,s,a,c,l,h,f,d,g=e&&e.split("/"),m=u.map,v=m&&m["*"]||{};if(t){for(s=(t=t.split("/")).length-1,u.nodeIdCompat&&p.test(t[s])&&(t[s]=t[s].replace(p,"")),"."===t[0].charAt(0)&&g&&(t=g.slice(0,g.length-1).concat(t)),h=0;h<t.length;h++)if("."===(d=t[h]))t.splice(h,1),h-=1;else if(".."===d){if(0===h||1===h&&".."===t[2]||".."===t[h-1])continue;h>0&&(t.splice(h-1,2),h-=2)}t=t.join("/")}if((g||v)&&m){for(h=(n=t.split("/")).length;h>0;h-=1){if(r=n.slice(0,h).join("/"),g)for(f=g.length;f>0;f-=1)if((i=m[g.slice(0,f).join("/")])&&(i=i[r])){o=i,a=h;break}if(o)break;!c&&v&&v[r]&&(c=v[r],l=h)}!o&&c&&(o=c,a=l),o&&(n.splice(0,a,o),t=n.join("/"))}return t}function v(e,n){return function(){var r=d.call(arguments,0);return"string"!=typeof r[0]&&1===r.length&&r.push(null),o.apply(t,r.concat([e,n]))}}function y(t){return function(e){return m(e,t)}}function b(t){return function(e){c[t]=e}}function _(n){if(g(l,n)){var r=l[n];delete l[n],h[n]=!0,e.apply(t,r)}if(!g(c,n)&&!g(h,n))throw new Error("No "+n);return c[n]}function w(t){var e,n=t?t.indexOf("!"):-1;return n>-1&&(e=t.substring(0,n),t=t.substring(n+1,t.length)),[e,t]}function x(t){return t?w(t):[]}function E(t){return function(){return u&&u.config&&u.config[t]||{}}}s=function(t,e){var n,r=w(t),i=r[0],o=e[1];return t=r[1],i&&(n=_(i=m(i,o))),i?t=n&&n.normalize?n.normalize(t,y(o)):m(t,o):(i=(r=w(t=m(t,o)))[0],t=r[1],i&&(n=_(i))),{f:i?i+"!"+t:t,n:t,pr:i,p:n}},a={require:function(t){return v(t)},exports:function(t){var e=c[t];return void 0!==e?e:c[t]={}},module:function(t){return{id:t,uri:"",exports:c[t],config:E(t)}}},e=function(e,n,r,i){var o,u,f,d,p,m,y,w=[],E=typeof r;if(m=x(i=i||e),"undefined"===E||"function"===E){for(n=!n.length&&r.length?["require","exports","module"]:n,p=0;p<n.length;p+=1)if("require"===(u=(d=s(n[p],m)).f))w[p]=a.require(e);else if("exports"===u)w[p]=a.exports(e),y=!0;else if("module"===u)o=w[p]=a.module(e);else if(g(c,u)||g(l,u)||g(h,u))w[p]=_(u);else{if(!d.p)throw new Error(e+" missing "+u);d.p.load(d.n,v(i,!0),b(u),{}),w[p]=c[u]}f=r?r.apply(c[e],w):void 0,e&&(o&&o.exports!==t&&o.exports!==c[e]?c[e]=o.exports:f===t&&y||(c[e]=f))}else e&&(c[e]=r)},n=r=o=function(n,r,i,c,l){if("string"==typeof n)return a[n]?a[n](r):_(s(n,x(r)).f);if(!n.splice){if((u=n).deps&&o(u.deps,u.callback),!r)return;r.splice?(n=r,r=i,i=null):n=t}return r=r||function(){},"function"==typeof i&&(i=c,c=l),c?e(t,n,r,i):setTimeout((function(){e(t,n,r,i)}),4),o},o.config=function(t){return o(t)},n._defined=c,(i=function(t,e,n){if("string"!=typeof t)throw new Error("See almond README: incorrect module build, no module name");e.splice||(n=e,e=[]),g(c,t)||g(l,t)||(l[t]=[t,e,n])}).amd={jQuery:!0}}(),e.requirejs=n,e.require=r,e.define=i),e.define("almond",(function(){})),e.define("jquery",[],(function(){var e=t||$;return null==e&&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."),e})),e.define("select2/utils",["jquery"],(function(t){var e={};function n(t){var e=t.prototype,n=[];for(var r in e)"function"==typeof e[r]&&"constructor"!==r&&n.push(r);return n}e.Extend=function(t,e){var n={}.hasOwnProperty;function r(){this.constructor=t}for(var i in e)n.call(e,i)&&(t[i]=e[i]);return r.prototype=e.prototype,t.prototype=new r,t.__super__=e.prototype,t},e.Decorate=function(t,e){var r=n(e),i=n(t);function o(){var n=Array.prototype.unshift,r=e.prototype.constructor.length,i=t.prototype.constructor;r>0&&(n.call(arguments,t.prototype.constructor),i=e.prototype.constructor),i.apply(this,arguments)}function s(){this.constructor=o}e.displayName=t.displayName,o.prototype=new s;for(var a=0;a<i.length;a++){var c=i[a];o.prototype[c]=t.prototype[c]}for(var l=function(t){var n=function(){};t in o.prototype&&(n=o.prototype[t]);var r=e.prototype[t];return function(){return Array.prototype.unshift.call(arguments,n),r.apply(this,arguments)}},u=0;u<r.length;u++){var h=r[u];o.prototype[h]=l(h)}return o};var r=function(){this.listeners={}};r.prototype.on=function(t,e){this.listeners=this.listeners||{},t in this.listeners?this.listeners[t].push(e):this.listeners[t]=[e]},r.prototype.trigger=function(t){var e=Array.prototype.slice,n=e.call(arguments,1);this.listeners=this.listeners||{},null==n&&(n=[]),0===n.length&&n.push({}),n[0]._type=t,t in this.listeners&&this.invoke(this.listeners[t],e.call(arguments,1)),"*"in this.listeners&&this.invoke(this.listeners["*"],arguments)},r.prototype.invoke=function(t,e){for(var n=0,r=t.length;n<r;n++)t[n].apply(this,e)},e.Observable=r,e.generateChars=function(t){for(var e="",n=0;n<t;n++)e+=Math.floor(36*Math.random()).toString(36);return e},e.bind=function(t,e){return function(){t.apply(e,arguments)}},e._convertData=function(t){for(var e in t){var n=e.split("-"),r=t;if(1!==n.length){for(var i=0;i<n.length;i++){var o=n[i];(o=o.substring(0,1).toLowerCase()+o.substring(1))in r||(r[o]={}),i==n.length-1&&(r[o]=t[e]),r=r[o]}delete t[e]}}return t},e.hasScroll=function(e,n){var r=t(n),i=n.style.overflowX,o=n.style.overflowY;return(i!==o||"hidden"!==o&&"visible"!==o)&&("scroll"===i||"scroll"===o||r.innerHeight()<n.scrollHeight||r.innerWidth()<n.scrollWidth)},e.escapeMarkup=function(t){var e={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return"string"!=typeof t?t:String(t).replace(/[&<>"'\/\\]/g,(function(t){return e[t]}))},e.appendMany=function(e,n){if("1.7"===t.fn.jquery.substr(0,3)){var r=t();t.map(n,(function(t){r=r.add(t)})),n=r}e.append(n)},e.__cache={};var i=0;return e.GetUniqueElementId=function(t){var e=t.getAttribute("data-select2-id");return null==e&&(t.id?(e=t.id,t.setAttribute("data-select2-id",e)):(t.setAttribute("data-select2-id",++i),e=i.toString())),e},e.StoreData=function(t,n,r){var i=e.GetUniqueElementId(t);e.__cache[i]||(e.__cache[i]={}),e.__cache[i][n]=r},e.GetData=function(n,r){var i=e.GetUniqueElementId(n);return r?e.__cache[i]&&null!=e.__cache[i][r]?e.__cache[i][r]:t(n).data(r):e.__cache[i]},e.RemoveData=function(t){var n=e.GetUniqueElementId(t);null!=e.__cache[n]&&delete e.__cache[n],t.removeAttribute("data-select2-id")},e})),e.define("select2/results",["jquery","./utils"],(function(t,e){function n(t,e,r){this.$element=t,this.data=r,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<ul class="select2-results__options" role="listbox"></ul>');return this.options.get("multiple")&&e.attr("aria-multiselectable","true"),this.$results=e,e},n.prototype.clear=function(){this.$results.empty()},n.prototype.displayMessage=function(e){var n=this.options.get("escapeMarkup");this.clear(),this.hideLoading();var r=t('<li role="alert" aria-live="assertive" class="select2-results__option"></li>'),i=this.options.get("translations").get(e.message);r.append(n(i(e.args))),r[0].className+=" select2-results__message",this.$results.append(r)},n.prototype.hideMessages=function(){this.$results.find(".select2-results__message").remove()},n.prototype.append=function(t){this.hideLoading();var e=[];if(null!=t.results&&0!==t.results.length){t.results=this.sort(t.results);for(var n=0;n<t.results.length;n++){var r=t.results[n],i=this.option(r);e.push(i)}this.$results.append(e)}else 0===this.$results.children().length&&this.trigger("results:message",{message:"noResults"})},n.prototype.position=function(t,e){e.find(".select2-results").append(t)},n.prototype.sort=function(t){return this.options.get("sorter")(t)},n.prototype.highlightFirstItem=function(){var t=this.$results.find(".select2-results__option[aria-selected]"),e=t.filter("[aria-selected=true]");e.length>0?e.first().trigger("mouseenter"):t.first().trigger("mouseenter"),this.ensureHighlightVisible()},n.prototype.setClasses=function(){var n=this;this.data.current((function(r){var i=t.map(r,(function(t){return t.id.toString()}));n.$results.find(".select2-results__option[aria-selected]").each((function(){var n=t(this),r=e.GetData(this,"data"),o=""+r.id;null!=r.element&&r.element.selected||null==r.element&&t.inArray(o,i)>-1?n.attr("aria-selected","true"):n.attr("aria-selected","false")}))}))},n.prototype.showLoading=function(t){this.hideLoading();var e={disabled:!0,loading:!0,text:this.options.get("translations").get("searching")(t)},n=this.option(e);n.className+=" loading-results",this.$results.prepend(n)},n.prototype.hideLoading=function(){this.$results.find(".loading-results").remove()},n.prototype.option=function(n){var r=document.createElement("li");r.className="select2-results__option";var i={role:"option","aria-selected":"false"},o=window.Element.prototype.matches||window.Element.prototype.msMatchesSelector||window.Element.prototype.webkitMatchesSelector;for(var s in(null!=n.element&&o.call(n.element,":disabled")||null==n.element&&n.disabled)&&(delete i["aria-selected"],i["aria-disabled"]="true"),null==n.id&&delete i["aria-selected"],null!=n._resultId&&(r.id=n._resultId),n.title&&(r.title=n.title),n.children&&(i.role="group",i["aria-label"]=n.text,delete i["aria-selected"]),i){var a=i[s];r.setAttribute(s,a)}if(n.children){var c=t(r),l=document.createElement("strong");l.className="select2-results__group",t(l),this.template(n,l);for(var u=[],h=0;h<n.children.length;h++){var f=n.children[h],d=this.option(f);u.push(d)}var p=t("<ul></ul>",{class:"select2-results__options select2-results__options--nested"});p.append(u),c.append(l),c.append(p)}else this.template(n,r);return e.StoreData(r,"data",n),r},n.prototype.bind=function(n,r){var i=this,o=n.id+"-results";this.$results.attr("id",o),n.on("results:all",(function(t){i.clear(),i.append(t.data),n.isOpen()&&(i.setClasses(),i.highlightFirstItem())})),n.on("results:append",(function(t){i.append(t.data),n.isOpen()&&i.setClasses()})),n.on("query",(function(t){i.hideMessages(),i.showLoading(t)})),n.on("select",(function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),n.on("unselect",(function(){n.isOpen()&&(i.setClasses(),i.options.get("scrollAfterSelect")&&i.highlightFirstItem())})),n.on("open",(function(){i.$results.attr("aria-expanded","true"),i.$results.attr("aria-hidden","false"),i.setClasses(),i.ensureHighlightVisible()})),n.on("close",(function(){i.$results.attr("aria-expanded","false"),i.$results.attr("aria-hidden","true"),i.$results.removeAttr("aria-activedescendant")})),n.on("results:toggle",(function(){var t=i.getHighlightedResults();0!==t.length&&t.trigger("mouseup")})),n.on("results:select",(function(){var t=i.getHighlightedResults();if(0!==t.length){var n=e.GetData(t[0],"data");"true"==t.attr("aria-selected")?i.trigger("close",{}):i.trigger("select",{data:n})}})),n.on("results:previous",(function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t);if(!(n<=0)){var r=n-1;0===t.length&&(r=0);var o=e.eq(r);o.trigger("mouseenter");var s=i.$results.offset().top,a=o.offset().top,c=i.$results.scrollTop()+(a-s);0===r?i.$results.scrollTop(0):a-s<0&&i.$results.scrollTop(c)}})),n.on("results:next",(function(){var t=i.getHighlightedResults(),e=i.$results.find("[aria-selected]"),n=e.index(t)+1;if(!(n>=e.length)){var r=e.eq(n);r.trigger("mouseenter");var o=i.$results.offset().top+i.$results.outerHeight(!1),s=r.offset().top+r.outerHeight(!1),a=i.$results.scrollTop()+s-o;0===n?i.$results.scrollTop(0):s>o&&i.$results.scrollTop(a)}})),n.on("results:focus",(function(t){t.element.addClass("select2-results__option--highlighted")})),n.on("results:message",(function(t){i.displayMessage(t)})),t.fn.mousewheel&&this.$results.on("mousewheel",(function(t){var e=i.$results.scrollTop(),n=i.$results.get(0).scrollHeight-e+t.deltaY,r=t.deltaY>0&&e-t.deltaY<=0,o=t.deltaY<0&&n<=i.$results.height();r?(i.$results.scrollTop(0),t.preventDefault(),t.stopPropagation()):o&&(i.$results.scrollTop(i.$results.get(0).scrollHeight-i.$results.height()),t.preventDefault(),t.stopPropagation())})),this.$results.on("mouseup",".select2-results__option[aria-selected]",(function(n){var r=t(this),o=e.GetData(this,"data");"true"!==r.attr("aria-selected")?i.trigger("select",{originalEvent:n,data:o}):i.options.get("multiple")?i.trigger("unselect",{originalEvent:n,data:o}):i.trigger("close",{})})),this.$results.on("mouseenter",".select2-results__option[aria-selected]",(function(n){var r=e.GetData(this,"data");i.getHighlightedResults().removeClass("select2-results__option--highlighted"),i.trigger("results:focus",{data:r,element:t(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 t=this.getHighlightedResults();if(0!==t.length){var e=this.$results.find("[aria-selected]").index(t),n=this.$results.offset().top,r=t.offset().top,i=this.$results.scrollTop()+(r-n),o=r-n;i-=2*t.outerHeight(!1),e<=2?this.$results.scrollTop(0):(o>this.$results.outerHeight()||o<0)&&this.$results.scrollTop(i)}},n.prototype.template=function(e,n){var r=this.options.get("templateResult"),i=this.options.get("escapeMarkup"),o=r(e,n);null==o?n.style.display="none":"string"==typeof o?n.innerHTML=i(o):t(n).append(o)},n})),e.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}})),e.define("select2/selection/base",["jquery","../utils","../keys"],(function(t,e,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,e.Observable),r.prototype.render=function(){var n=t('<span class="select2-selection" role="combobox"  aria-haspopup="true" aria-expanded="false"></span>');return this._tabindex=0,null!=e.GetData(this.$element[0],"old-tabindex")?this._tabindex=e.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},r.prototype.bind=function(t,e){var r=this,i=t.id+"-results";this.container=t,this.$selection.on("focus",(function(t){r.trigger("focus",t)})),this.$selection.on("blur",(function(t){r._handleBlur(t)})),this.$selection.on("keydown",(function(t){r.trigger("keypress",t),t.which===n.SPACE&&t.preventDefault()})),t.on("results:focus",(function(t){r.$selection.attr("aria-activedescendant",t.data._resultId)})),t.on("selection:update",(function(t){r.update(t.data)})),t.on("open",(function(){r.$selection.attr("aria-expanded","true"),r.$selection.attr("aria-owns",i),r._attachCloseHandler(t)})),t.on("close",(function(){r.$selection.attr("aria-expanded","false"),r.$selection.removeAttr("aria-activedescendant"),r.$selection.removeAttr("aria-owns"),r.$selection.trigger("focus"),r._detachCloseHandler(t)})),t.on("enable",(function(){r.$selection.attr("tabindex",r._tabindex),r.$selection.attr("aria-disabled","false")})),t.on("disable",(function(){r.$selection.attr("tabindex","-1"),r.$selection.attr("aria-disabled","true")}))},r.prototype._handleBlur=function(e){var n=this;window.setTimeout((function(){document.activeElement==n.$selection[0]||t.contains(n.$selection[0],document.activeElement)||n.trigger("blur",e)}),1)},r.prototype._attachCloseHandler=function(n){t(document.body).on("mousedown.select2."+n.id,(function(n){var r=t(n.target).closest(".select2");t(".select2.select2-container--open").each((function(){this!=r[0]&&e.GetData(this,"element").select2("close")}))}))},r.prototype._detachCloseHandler=function(e){t(document.body).off("mousedown.select2."+e.id)},r.prototype.position=function(t,e){e.find(".selection").append(t)},r.prototype.destroy=function(){this._detachCloseHandler(this.container)},r.prototype.update=function(t){throw new Error("The `update` method must be defined in child classes.")},r.prototype.isEnabled=function(){return!this.isDisabled()},r.prototype.isDisabled=function(){return this.options.get("disabled")},r})),e.define("select2/selection/single",["jquery","./base","../utils","../keys"],(function(t,e,n,r){function i(){i.__super__.constructor.apply(this,arguments)}return n.Extend(i,e),i.prototype.render=function(){var t=i.__super__.render.call(this);return t.addClass("select2-selection--single"),t.html('<span class="select2-selection__rendered"></span><span class="select2-selection__arrow" role="presentation"><b role="presentation"></b></span>'),t},i.prototype.bind=function(t,e){var n=this;i.__super__.bind.apply(this,arguments);var r=t.id+"-container";this.$selection.find(".select2-selection__rendered").attr("id",r).attr("role","textbox").attr("aria-readonly","true"),this.$selection.attr("aria-labelledby",r),this.$selection.on("mousedown",(function(t){1===t.which&&n.trigger("toggle",{originalEvent:t})})),this.$selection.on("focus",(function(t){})),this.$selection.on("blur",(function(t){})),t.on("focus",(function(e){t.isOpen()||n.$selection.trigger("focus")}))},i.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},i.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},i.prototype.selectionContainer=function(){return t("<span></span>")},i.prototype.update=function(t){if(0!==t.length){var e=t[0],n=this.$selection.find(".select2-selection__rendered"),r=this.display(e,n);n.empty().append(r);var i=e.title||e.text;i?n.attr("title",i):n.removeAttr("title")}else this.clear()},i})),e.define("select2/selection/multiple",["jquery","./base","../utils"],(function(t,e,n){function r(t,e){r.__super__.constructor.apply(this,arguments)}return n.Extend(r,e),r.prototype.render=function(){var t=r.__super__.render.call(this);return t.addClass("select2-selection--multiple"),t.html('<ul class="select2-selection__rendered"></ul>'),t},r.prototype.bind=function(e,i){var o=this;r.__super__.bind.apply(this,arguments),this.$selection.on("click",(function(t){o.trigger("toggle",{originalEvent:t})})),this.$selection.on("click",".select2-selection__choice__remove",(function(e){if(!o.isDisabled()){var r=t(this).parent(),i=n.GetData(r[0],"data");o.trigger("unselect",{originalEvent:e,data:i})}}))},r.prototype.clear=function(){var t=this.$selection.find(".select2-selection__rendered");t.empty(),t.removeAttr("title")},r.prototype.display=function(t,e){var n=this.options.get("templateSelection");return this.options.get("escapeMarkup")(n(t,e))},r.prototype.selectionContainer=function(){return t('<li class="select2-selection__choice"><span class="select2-selection__choice__remove" role="presentation">&times;</span></li>')},r.prototype.update=function(t){if(this.clear(),0!==t.length){for(var e=[],r=0;r<t.length;r++){var i=t[r],o=this.selectionContainer(),s=this.display(i,o);o.append(s);var a=i.title||i.text;a&&o.attr("title",a),n.StoreData(o[0],"data",i),e.push(o)}var c=this.$selection.find(".select2-selection__rendered");n.appendMany(c,e)}},r})),e.define("select2/selection/placeholder",["../utils"],(function(t){function e(t,e,n){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n)}return e.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},e.prototype.createPlaceholder=function(t,e){var n=this.selectionContainer();return n.html(this.display(e)),n.addClass("select2-selection__placeholder").removeClass("select2-selection__choice"),n},e.prototype.update=function(t,e){var n=1==e.length&&e[0].id!=this.placeholder.id;if(e.length>1||n)return t.call(this,e);this.clear();var r=this.createPlaceholder(this.placeholder);this.$selection.find(".select2-selection__rendered").append(r)},e})),e.define("select2/selection/allowClear",["jquery","../keys","../utils"],(function(t,e,n){function r(){}return r.prototype.bind=function(t,e,n){var r=this;t.call(this,e,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(t){r._handleClear(t)})),e.on("keypress",(function(t){r._handleKeyboardClear(t,e)}))},r.prototype._handleClear=function(t,e){if(!this.isDisabled()){var r=this.$selection.find(".select2-selection__clear");if(0!==r.length){e.stopPropagation();var i=n.GetData(r[0],"data"),o=this.$element.val();this.$element.val(this.placeholder.id);var s={data:i};if(this.trigger("clear",s),s.prevented)this.$element.val(o);else{for(var a=0;a<i.length;a++)if(s={data:i[a]},this.trigger("unselect",s),s.prevented)return void this.$element.val(o);this.$element.trigger("input").trigger("change"),this.trigger("toggle",{})}}}},r.prototype._handleKeyboardClear=function(t,n,r){r.isOpen()||n.which!=e.DELETE&&n.which!=e.BACKSPACE||this._handleClear(n)},r.prototype.update=function(e,r){if(e.call(this,r),!(this.$selection.find(".select2-selection__placeholder").length>0||0===r.length)){var i=this.options.get("translations").get("removeAllItems"),o=t('<span class="select2-selection__clear" title="'+i()+'">&times;</span>');n.StoreData(o[0],"data",r),this.$selection.find(".select2-selection__rendered").prepend(o)}},r})),e.define("select2/selection/search",["jquery","../utils","../keys"],(function(t,e,n){function r(t,e,n){t.call(this,e,n)}return r.prototype.render=function(e){var n=t('<li class="select2-search select2-search--inline"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></li>');this.$searchContainer=n,this.$search=n.find("input");var r=e.call(this);return this._transferTabIndex(),r},r.prototype.bind=function(t,r,i){var o=this,s=r.id+"-results";t.call(this,r,i),r.on("open",(function(){o.$search.attr("aria-controls",s),o.$search.trigger("focus")})),r.on("close",(function(){o.$search.val(""),o.$search.removeAttr("aria-controls"),o.$search.removeAttr("aria-activedescendant"),o.$search.trigger("focus")})),r.on("enable",(function(){o.$search.prop("disabled",!1),o._transferTabIndex()})),r.on("disable",(function(){o.$search.prop("disabled",!0)})),r.on("focus",(function(t){o.$search.trigger("focus")})),r.on("results:focus",(function(t){t.data._resultId?o.$search.attr("aria-activedescendant",t.data._resultId):o.$search.removeAttr("aria-activedescendant")})),this.$selection.on("focusin",".select2-search--inline",(function(t){o.trigger("focus",t)})),this.$selection.on("focusout",".select2-search--inline",(function(t){o._handleBlur(t)})),this.$selection.on("keydown",".select2-search--inline",(function(t){if(t.stopPropagation(),o.trigger("keypress",t),o._keyUpPrevented=t.isDefaultPrevented(),t.which===n.BACKSPACE&&""===o.$search.val()){var r=o.$searchContainer.prev(".select2-selection__choice");if(r.length>0){var i=e.GetData(r[0],"data");o.searchRemoveChoice(i),t.preventDefault()}}})),this.$selection.on("click",".select2-search--inline",(function(t){o.$search.val()&&t.stopPropagation()}));var a=document.documentMode,c=a&&a<=11;this.$selection.on("input.searchcheck",".select2-search--inline",(function(t){c?o.$selection.off("input.search input.searchcheck"):o.$selection.off("keyup.search")})),this.$selection.on("keyup.search input.search",".select2-search--inline",(function(t){if(c&&"input"===t.type)o.$selection.off("input.search input.searchcheck");else{var e=t.which;e!=n.SHIFT&&e!=n.CTRL&&e!=n.ALT&&e!=n.TAB&&o.handleSearch(t)}}))},r.prototype._transferTabIndex=function(t){this.$search.attr("tabindex",this.$selection.attr("tabindex")),this.$selection.attr("tabindex","-1")},r.prototype.createPlaceholder=function(t,e){this.$search.attr("placeholder",e.text)},r.prototype.update=function(t,e){var n=this.$search[0]==document.activeElement;this.$search.attr("placeholder",""),t.call(this,e),this.$selection.find(".select2-selection__rendered").append(this.$searchContainer),this.resizeSearch(),n&&this.$search.trigger("focus")},r.prototype.handleSearch=function(){if(this.resizeSearch(),!this._keyUpPrevented){var t=this.$search.val();this.trigger("query",{term:t})}this._keyUpPrevented=!1},r.prototype.searchRemoveChoice=function(t,e){this.trigger("unselect",{data:e}),this.$search.val(e.text),this.handleSearch()},r.prototype.resizeSearch=function(){this.$search.css("width","25px");var t="";t=""!==this.$search.attr("placeholder")?this.$selection.find(".select2-selection__rendered").width():.75*(this.$search.val().length+1)+"em",this.$search.css("width",t)},r})),e.define("select2/selection/eventRelay",["jquery"],(function(t){function e(){}return e.prototype.bind=function(e,n,r){var i=this,o=["open","opening","close","closing","select","selecting","unselect","unselecting","clear","clearing"],s=["opening","closing","selecting","unselecting","clearing"];e.call(this,n,r),n.on("*",(function(e,n){if(-1!==t.inArray(e,o)){n=n||{};var r=t.Event("select2:"+e,{params:n});i.$element.trigger(r),-1!==t.inArray(e,s)&&(n.prevented=r.isDefaultPrevented())}}))},e})),e.define("select2/translation",["jquery","require"],(function(t,e){function n(t){this.dict=t||{}}return n.prototype.all=function(){return this.dict},n.prototype.get=function(t){return this.dict[t]},n.prototype.extend=function(e){this.dict=t.extend({},e.all(),this.dict)},n._cache={},n.loadPath=function(t){if(!(t in n._cache)){var r=e(t);n._cache[t]=r}return new n(n._cache[t])},n})),e.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",Ꜳ:"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",Ǳ:"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","Ⓖ":"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","Ⓘ":"I",Ｉ:"I",Ì:"I",Í:"I",Î:"I",Ĩ:"I",Ī:"I",Ĭ:"I",İ:"I",Ï:"I",Ḯ:"I",Ỉ:"I",Ǐ:"I",Ȉ:"I",Ȋ:"I",Ị:"I",Į:"I",Ḭ:"I",Ɨ:"I","Ⓙ":"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",Ǉ:"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",Œ:"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",Ʋ:"V",Ꝟ:"V",Ʌ:"V",Ꝡ:"VY","Ⓦ":"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","Ⓩ":"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","ⓔ":"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",Ά:"Α",Έ:"Ε",Ή:"Η",Ί:"Ι",Ϊ:"Ι",Ό:"Ο",Ύ:"Υ",Ϋ:"Υ",Ώ:"Ω",ά:"α",έ:"ε",ή:"η",ί:"ι",ϊ:"ι",ΐ:"ι",ό:"ο",ύ:"υ",ϋ:"υ",ΰ:"υ",ώ:"ω",ς:"σ","’":"'"}})),e.define("select2/data/base",["../utils"],(function(t){function e(t,n){e.__super__.constructor.call(this)}return t.Extend(e,t.Observable),e.prototype.current=function(t){throw new Error("The `current` method must be defined in child classes.")},e.prototype.query=function(t,e){throw new Error("The `query` method must be defined in child classes.")},e.prototype.bind=function(t,e){},e.prototype.destroy=function(){},e.prototype.generateResultId=function(e,n){var r=e.id+"-result-";return r+=t.generateChars(4),null!=n.id?r+="-"+n.id.toString():r+="-"+t.generateChars(4),r},e})),e.define("select2/data/select",["./base","../utils","jquery"],(function(t,e,n){function r(t,e){this.$element=t,this.options=e,r.__super__.constructor.call(this)}return e.Extend(r,t),r.prototype.current=function(t){var e=[],r=this;this.$element.find(":selected").each((function(){var t=n(this),i=r.item(t);e.push(i)})),t(e)},r.prototype.select=function(t){var e=this;if(t.selected=!0,n(t.element).is("option"))return t.element.selected=!0,void this.$element.trigger("input").trigger("change");if(this.$element.prop("multiple"))this.current((function(r){var i=[];(t=[t]).push.apply(t,r);for(var o=0;o<t.length;o++){var s=t[o].id;-1===n.inArray(s,i)&&i.push(s)}e.$element.val(i),e.$element.trigger("input").trigger("change")}));else{var r=t.id;this.$element.val(r),this.$element.trigger("input").trigger("change")}},r.prototype.unselect=function(t){var e=this;if(this.$element.prop("multiple")){if(t.selected=!1,n(t.element).is("option"))return t.element.selected=!1,void this.$element.trigger("input").trigger("change");this.current((function(r){for(var i=[],o=0;o<r.length;o++){var s=r[o].id;s!==t.id&&-1===n.inArray(s,i)&&i.push(s)}e.$element.val(i),e.$element.trigger("input").trigger("change")}))}},r.prototype.bind=function(t,e){var n=this;this.container=t,t.on("select",(function(t){n.select(t.data)})),t.on("unselect",(function(t){n.unselect(t.data)}))},r.prototype.destroy=function(){this.$element.find("*").each((function(){e.RemoveData(this)}))},r.prototype.query=function(t,e){var r=[],i=this;this.$element.children().each((function(){var e=n(this);if(e.is("option")||e.is("optgroup")){var o=i.item(e),s=i.matches(t,o);null!==s&&r.push(s)}})),e({results:r})},r.prototype.addOptions=function(t){e.appendMany(this.$element,t)},r.prototype.option=function(t){var r;t.children?(r=document.createElement("optgroup")).label=t.text:void 0!==(r=document.createElement("option")).textContent?r.textContent=t.text:r.innerText=t.text,void 0!==t.id&&(r.value=t.id),t.disabled&&(r.disabled=!0),t.selected&&(r.selected=!0),t.title&&(r.title=t.title);var i=n(r),o=this._normalizeItem(t);return o.element=r,e.StoreData(r,"data",o),i},r.prototype.item=function(t){var r={};if(null!=(r=e.GetData(t[0],"data")))return r;if(t.is("option"))r={id:t.val(),text:t.text(),disabled:t.prop("disabled"),selected:t.prop("selected"),title:t.prop("title")};else if(t.is("optgroup")){r={text:t.prop("label"),children:[],title:t.prop("title")};for(var i=t.children("option"),o=[],s=0;s<i.length;s++){var a=n(i[s]),c=this.item(a);o.push(c)}r.children=o}return(r=this._normalizeItem(r)).element=t[0],e.StoreData(t[0],"data",r),r},r.prototype._normalizeItem=function(t){t!==Object(t)&&(t={id:t,text:t});var e={selected:!1,disabled:!1};return null!=(t=n.extend({},{text:""},t)).id&&(t.id=t.id.toString()),null!=t.text&&(t.text=t.text.toString()),null==t._resultId&&t.id&&null!=this.container&&(t._resultId=this.generateResultId(this.container,t)),n.extend({},e,t)},r.prototype.matches=function(t,e){return this.options.get("matcher")(t,e)},r})),e.define("select2/data/array",["./select","../utils","jquery"],(function(t,e,n){function r(t,e){this._dataToConvert=e.get("data")||[],r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype.bind=function(t,e){r.__super__.bind.call(this,t,e),this.addOptions(this.convertToOptions(this._dataToConvert))},r.prototype.select=function(t){var e=this.$element.find("option").filter((function(e,n){return n.value==t.id.toString()}));0===e.length&&(e=this.option(t),this.addOptions(e)),r.__super__.select.call(this,t)},r.prototype.convertToOptions=function(t){var r=this,i=this.$element.find("option"),o=i.map((function(){return r.item(n(this)).id})).get(),s=[];function a(t){return function(){return n(this).val()==t.id}}for(var c=0;c<t.length;c++){var l=this._normalizeItem(t[c]);if(n.inArray(l.id,o)>=0){var u=i.filter(a(l)),h=this.item(u),f=n.extend(!0,{},l,h),d=this.option(f);u.replaceWith(d)}else{var p=this.option(l);if(l.children){var g=this.convertToOptions(l.children);e.appendMany(p,g)}s.push(p)}}return s},r})),e.define("select2/data/ajax",["./array","../utils","jquery"],(function(t,e,n){function r(t,e){this.ajaxOptions=this._applyDefaults(e.get("ajax")),null!=this.ajaxOptions.processResults&&(this.processResults=this.ajaxOptions.processResults),r.__super__.constructor.call(this,t,e)}return e.Extend(r,t),r.prototype._applyDefaults=function(t){var e={data:function(t){return n.extend({},t,{q:t.term})},transport:function(t,e,r){var i=n.ajax(t);return i.then(e),i.fail(r),i}};return n.extend({},e,t,!0)},r.prototype.processResults=function(t){return t},r.prototype.query=function(t,e){var r=this;null!=this._request&&(n.isFunction(this._request.abort)&&this._request.abort(),this._request=null);var i=n.extend({type:"GET"},this.ajaxOptions);function o(){var o=i.transport(i,(function(i){var o=r.processResults(i,t);r.options.get("debug")&&window.console&&console.error&&(o&&o.results&&n.isArray(o.results)||console.error("Select2: The AJAX results did not return an array in the `results` key of the response.")),e(o)}),(function(){(!("status"in o)||0!==o.status&&"0"!==o.status)&&r.trigger("results:message",{message:"errorLoading"})}));r._request=o}"function"==typeof i.url&&(i.url=i.url.call(this.$element,t)),"function"==typeof i.data&&(i.data=i.data.call(this.$element,t)),this.ajaxOptions.delay&&null!=t.term?(this._queryTimeout&&window.clearTimeout(this._queryTimeout),this._queryTimeout=window.setTimeout(o,this.ajaxOptions.delay)):o()},r})),e.define("select2/data/tags",["jquery"],(function(t){function e(e,n,r){var i=r.get("tags"),o=r.get("createTag");void 0!==o&&(this.createTag=o);var s=r.get("insertTag");if(void 0!==s&&(this.insertTag=s),e.call(this,n,r),t.isArray(i))for(var a=0;a<i.length;a++){var c=i[a],l=this._normalizeItem(c),u=this.option(l);this.$element.append(u)}}return e.prototype.query=function(t,e,n){var r=this;function i(t,o){for(var s=t.results,a=0;a<s.length;a++){var c=s[a],l=null!=c.children&&!i({results:c.children},!0);if((c.text||"").toUpperCase()===(e.term||"").toUpperCase()||l)return!o&&(t.data=s,void n(t))}if(o)return!0;var u=r.createTag(e);if(null!=u){var h=r.option(u);h.attr("data-select2-tag",!0),r.addOptions([h]),r.insertTag(s,u)}t.results=s,n(t)}this._removeOldTags(),null!=e.term&&null==e.page?t.call(this,e,i):t.call(this,e,n)},e.prototype.createTag=function(e,n){var r=t.trim(n.term);return""===r?null:{id:r,text:r}},e.prototype.insertTag=function(t,e,n){e.unshift(n)},e.prototype._removeOldTags=function(e){this.$element.find("option[data-select2-tag]").each((function(){this.selected||t(this).remove()}))},e})),e.define("select2/data/tokenizer",["jquery"],(function(t){function e(t,e,n){var r=n.get("tokenizer");void 0!==r&&(this.tokenizer=r),t.call(this,e,n)}return e.prototype.bind=function(t,e,n){t.call(this,e,n),this.$search=e.dropdown.$search||e.selection.$search||n.find(".select2-search__field")},e.prototype.query=function(e,n,r){var i=this;function o(e){var n=i._normalizeItem(e);if(!i.$element.find("option").filter((function(){return t(this).val()===n.id})).length){var r=i.option(n);r.attr("data-select2-tag",!0),i._removeOldTags(),i.addOptions([r])}s(n)}function s(t){i.trigger("select",{data:t})}n.term=n.term||"";var a=this.tokenizer(n,this.options,o);a.term!==n.term&&(this.$search.length&&(this.$search.val(a.term),this.$search.trigger("focus")),n.term=a.term),e.call(this,n,r)},e.prototype.tokenizer=function(e,n,r,i){for(var o=r.get("tokenSeparators")||[],s=n.term,a=0,c=this.createTag||function(t){return{id:t.term,text:t.term}};a<s.length;){var l=s[a];if(-1!==t.inArray(l,o)){var u=s.substr(0,a),h=c(t.extend({},n,{term:u}));null!=h?(i(h),s=s.substr(a+1)||"",a=0):a++}else a++}return{term:s}},e})),e.define("select2/data/minimumInputLength",[],(function(){function t(t,e,n){this.minimumInputLength=n.get("minimumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",e.term.length<this.minimumInputLength?this.trigger("results:message",{message:"inputTooShort",args:{minimum:this.minimumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumInputLength",[],(function(){function t(t,e,n){this.maximumInputLength=n.get("maximumInputLength"),t.call(this,e,n)}return t.prototype.query=function(t,e,n){e.term=e.term||"",this.maximumInputLength>0&&e.term.length>this.maximumInputLength?this.trigger("results:message",{message:"inputTooLong",args:{maximum:this.maximumInputLength,input:e.term,params:e}}):t.call(this,e,n)},t})),e.define("select2/data/maximumSelectionLength",[],(function(){function t(t,e,n){this.maximumSelectionLength=n.get("maximumSelectionLength"),t.call(this,e,n)}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",(function(){r._checkIfMaximumSelected()}))},t.prototype.query=function(t,e,n){var r=this;this._checkIfMaximumSelected((function(){t.call(r,e,n)}))},t.prototype._checkIfMaximumSelected=function(t,e){var n=this;this.current((function(t){var r=null!=t?t.length:0;n.maximumSelectionLength>0&&r>=n.maximumSelectionLength?n.trigger("results:message",{message:"maximumSelected",args:{maximum:n.maximumSelectionLength}}):e&&e()}))},t})),e.define("select2/dropdown",["jquery","./utils"],(function(t,e){function n(t,e){this.$element=t,this.options=e,n.__super__.constructor.call(this)}return e.Extend(n,e.Observable),n.prototype.render=function(){var e=t('<span class="select2-dropdown"><span class="select2-results"></span></span>');return e.attr("dir",this.options.get("dir")),this.$dropdown=e,e},n.prototype.bind=function(){},n.prototype.position=function(t,e){},n.prototype.destroy=function(){this.$dropdown.remove()},n})),e.define("select2/dropdown/search",["jquery","../utils"],(function(t,e){function n(){}return n.prototype.render=function(e){var n=e.call(this),r=t('<span class="select2-search select2-search--dropdown"><input class="select2-search__field" type="search" tabindex="-1" autocomplete="off" autocorrect="off" autocapitalize="none" spellcheck="false" role="searchbox" aria-autocomplete="list" /></span>');return this.$searchContainer=r,this.$search=r.find("input"),n.prepend(r),n},n.prototype.bind=function(e,n,r){var i=this,o=n.id+"-results";e.call(this,n,r),this.$search.on("keydown",(function(t){i.trigger("keypress",t),i._keyUpPrevented=t.isDefaultPrevented()})),this.$search.on("input",(function(e){t(this).off("keyup")})),this.$search.on("keyup input",(function(t){i.handleSearch(t)})),n.on("open",(function(){i.$search.attr("tabindex",0),i.$search.attr("aria-controls",o),i.$search.trigger("focus"),window.setTimeout((function(){i.$search.trigger("focus")}),0)})),n.on("close",(function(){i.$search.attr("tabindex",-1),i.$search.removeAttr("aria-controls"),i.$search.removeAttr("aria-activedescendant"),i.$search.val(""),i.$search.trigger("blur")})),n.on("focus",(function(){n.isOpen()||i.$search.trigger("focus")})),n.on("results:all",(function(t){null!=t.query.term&&""!==t.query.term||(i.showSearch(t)?i.$searchContainer.removeClass("select2-search--hide"):i.$searchContainer.addClass("select2-search--hide"))})),n.on("results:focus",(function(t){t.data._resultId?i.$search.attr("aria-activedescendant",t.data._resultId):i.$search.removeAttr("aria-activedescendant")}))},n.prototype.handleSearch=function(t){if(!this._keyUpPrevented){var e=this.$search.val();this.trigger("query",{term:e})}this._keyUpPrevented=!1},n.prototype.showSearch=function(t,e){return!0},n})),e.define("select2/dropdown/hidePlaceholder",[],(function(){function t(t,e,n,r){this.placeholder=this.normalizePlaceholder(n.get("placeholder")),t.call(this,e,n,r)}return t.prototype.append=function(t,e){e.results=this.removePlaceholder(e.results),t.call(this,e)},t.prototype.normalizePlaceholder=function(t,e){return"string"==typeof e&&(e={id:"",text:e}),e},t.prototype.removePlaceholder=function(t,e){for(var n=e.slice(0),r=e.length-1;r>=0;r--){var i=e[r];this.placeholder.id===i.id&&n.splice(r,1)}return n},t})),e.define("select2/dropdown/infiniteScroll",["jquery"],(function(t){function e(t,e,n,r){this.lastParams={},t.call(this,e,n,r),this.$loadingMore=this.createLoadingMore(),this.loading=!1}return e.prototype.append=function(t,e){this.$loadingMore.remove(),this.loading=!1,t.call(this,e),this.showLoadingMore(e)&&(this.$results.append(this.$loadingMore),this.loadMoreIfNeeded())},e.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("query",(function(t){r.lastParams=t,r.loading=!0})),e.on("query:append",(function(t){r.lastParams=t,r.loading=!0})),this.$results.on("scroll",this.loadMoreIfNeeded.bind(this))},e.prototype.loadMoreIfNeeded=function(){var e=t.contains(document.documentElement,this.$loadingMore[0]);!this.loading&&e&&this.$results.offset().top+this.$results.outerHeight(!1)+50>=this.$loadingMore.offset().top+this.$loadingMore.outerHeight(!1)&&this.loadMore()},e.prototype.loadMore=function(){this.loading=!0;var e=t.extend({},{page:1},this.lastParams);e.page++,this.trigger("query:append",e)},e.prototype.showLoadingMore=function(t,e){return e.pagination&&e.pagination.more},e.prototype.createLoadingMore=function(){var e=t('<li class="select2-results__option select2-results__option--load-more"role="option" aria-disabled="true"></li>'),n=this.options.get("translations").get("loadingMore");return e.html(n(this.lastParams)),e},e})),e.define("select2/dropdown/attachBody",["jquery","../utils"],(function(t,e){function n(e,n,r){this.$dropdownParent=t(r.get("dropdownParent")||document.body),e.call(this,n,r)}return n.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("open",(function(){r._showDropdown(),r._attachPositioningHandler(e),r._bindContainerResultHandlers(e)})),e.on("close",(function(){r._hideDropdown(),r._detachPositioningHandler(e)})),this.$dropdownContainer.on("mousedown",(function(t){t.stopPropagation()}))},n.prototype.destroy=function(t){t.call(this),this.$dropdownContainer.remove()},n.prototype.position=function(t,e,n){e.attr("class",n.attr("class")),e.removeClass("select2"),e.addClass("select2-container--open"),e.css({position:"absolute",top:-999999}),this.$container=n},n.prototype.render=function(e){var n=t("<span></span>"),r=e.call(this);return n.append(r),this.$dropdownContainer=n,n},n.prototype._hideDropdown=function(t){this.$dropdownContainer.detach()},n.prototype._bindContainerResultHandlers=function(t,e){if(!this._containerResultsHandlersBound){var n=this;e.on("results:all",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:append",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("results:message",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("select",(function(){n._positionDropdown(),n._resizeDropdown()})),e.on("unselect",(function(){n._positionDropdown(),n._resizeDropdown()})),this._containerResultsHandlersBound=!0}},n.prototype._attachPositioningHandler=function(n,r){var i=this,o="scroll.select2."+r.id,s="resize.select2."+r.id,a="orientationchange.select2."+r.id,c=this.$container.parents().filter(e.hasScroll);c.each((function(){e.StoreData(this,"select2-scroll-position",{x:t(this).scrollLeft(),y:t(this).scrollTop()})})),c.on(o,(function(n){var r=e.GetData(this,"select2-scroll-position");t(this).scrollTop(r.y)})),t(window).on(o+" "+s+" "+a,(function(t){i._positionDropdown(),i._resizeDropdown()}))},n.prototype._detachPositioningHandler=function(n,r){var i="scroll.select2."+r.id,o="resize.select2."+r.id,s="orientationchange.select2."+r.id;this.$container.parents().filter(e.hasScroll).off(i),t(window).off(i+" "+o+" "+s)},n.prototype._positionDropdown=function(){var e=t(window),n=this.$dropdown.hasClass("select2-dropdown--above"),r=this.$dropdown.hasClass("select2-dropdown--below"),i=null,o=this.$container.offset();o.bottom=o.top+this.$container.outerHeight(!1);var s={height:this.$container.outerHeight(!1)};s.top=o.top,s.bottom=o.top+s.height;var a={height:this.$dropdown.outerHeight(!1)},c={top:e.scrollTop(),bottom:e.scrollTop()+e.height()},l=c.top<o.top-a.height,u=c.bottom>o.bottom+a.height,h={left:o.left,top:s.bottom},f=this.$dropdownParent;"static"===f.css("position")&&(f=f.offsetParent());var d={top:0,left:0};(t.contains(document.body,f[0])||f[0].isConnected)&&(d=f.offset()),h.top-=d.top,h.left-=d.left,n||r||(i="below"),u||!l||n?!l&&u&&n&&(i="below"):i="above",("above"==i||n&&"below"!==i)&&(h.top=s.top-d.top-a.height),null!=i&&(this.$dropdown.removeClass("select2-dropdown--below select2-dropdown--above").addClass("select2-dropdown--"+i),this.$container.removeClass("select2-container--below select2-container--above").addClass("select2-container--"+i)),this.$dropdownContainer.css(h)},n.prototype._resizeDropdown=function(){var t={width:this.$container.outerWidth(!1)+"px"};this.options.get("dropdownAutoWidth")&&(t.minWidth=t.width,t.position="relative",t.width="auto"),this.$dropdown.css(t)},n.prototype._showDropdown=function(t){this.$dropdownContainer.appendTo(this.$dropdownParent),this._positionDropdown(),this._resizeDropdown()},n})),e.define("select2/dropdown/minimumResultsForSearch",[],(function(){function t(e){for(var n=0,r=0;r<e.length;r++){var i=e[r];i.children?n+=t(i.children):n++}return n}function e(t,e,n,r){this.minimumResultsForSearch=n.get("minimumResultsForSearch"),this.minimumResultsForSearch<0&&(this.minimumResultsForSearch=1/0),t.call(this,e,n,r)}return e.prototype.showSearch=function(e,n){return!(t(n.data.results)<this.minimumResultsForSearch)&&e.call(this,n)},e})),e.define("select2/dropdown/selectOnClose",["../utils"],(function(t){function e(){}return e.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("close",(function(t){r._handleSelectOnClose(t)}))},e.prototype._handleSelectOnClose=function(e,n){if(n&&null!=n.originalSelect2Event){var r=n.originalSelect2Event;if("select"===r._type||"unselect"===r._type)return}var i=this.getHighlightedResults();if(!(i.length<1)){var o=t.GetData(i[0],"data");null!=o.element&&o.element.selected||null==o.element&&o.selected||this.trigger("select",{data:o})}},e})),e.define("select2/dropdown/closeOnSelect",[],(function(){function t(){}return t.prototype.bind=function(t,e,n){var r=this;t.call(this,e,n),e.on("select",(function(t){r._selectTriggered(t)})),e.on("unselect",(function(t){r._selectTriggered(t)}))},t.prototype._selectTriggered=function(t,e){var n=e.originalEvent;n&&(n.ctrlKey||n.metaKey)||this.trigger("close",{originalEvent:n,originalSelect2Event:e})},t})),e.define("select2/i18n/en",[],(function(){return{errorLoading:function(){return"The results could not be loaded."},inputTooLong:function(t){var e=t.input.length-t.maximum,n="Please delete "+e+" character";return 1!=e&&(n+="s"),n},inputTooShort:function(t){return"Please enter "+(t.minimum-t.input.length)+" or more characters"},loadingMore:function(){return"Loading more results…"},maximumSelected:function(t){var e="You can only select "+t.maximum+" item";return 1!=t.maximum&&(e+="s"),e},noResults:function(){return"No results found"},searching:function(){return"Searching…"},removeAllItems:function(){return"Remove all items"}}})),e.define("select2/defaults",["jquery","require","./results","./selection/single","./selection/multiple","./selection/placeholder","./selection/allowClear","./selection/search","./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","./i18n/en"],(function(t,e,n,r,i,o,s,a,c,l,u,h,f,d,p,g,m,v,y,b,_,w,x,E,A,C,T,S,k){function P(){this.reset()}return P.prototype.apply=function(u){if(null==(u=t.extend(!0,{},this.defaults,u)).dataAdapter){if(null!=u.ajax?u.dataAdapter=p:null!=u.data?u.dataAdapter=d:u.dataAdapter=f,u.minimumInputLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,v)),u.maximumInputLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,y)),u.maximumSelectionLength>0&&(u.dataAdapter=l.Decorate(u.dataAdapter,b)),u.tags&&(u.dataAdapter=l.Decorate(u.dataAdapter,g)),null==u.tokenSeparators&&null==u.tokenizer||(u.dataAdapter=l.Decorate(u.dataAdapter,m)),null!=u.query){var h=e(u.amdBase+"compat/query");u.dataAdapter=l.Decorate(u.dataAdapter,h)}if(null!=u.initSelection){var k=e(u.amdBase+"compat/initSelection");u.dataAdapter=l.Decorate(u.dataAdapter,k)}}if(null==u.resultsAdapter&&(u.resultsAdapter=n,null!=u.ajax&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,E)),null!=u.placeholder&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,x)),u.selectOnClose&&(u.resultsAdapter=l.Decorate(u.resultsAdapter,T))),null==u.dropdownAdapter){if(u.multiple)u.dropdownAdapter=_;else{var P=l.Decorate(_,w);u.dropdownAdapter=P}if(0!==u.minimumResultsForSearch&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,C)),u.closeOnSelect&&(u.dropdownAdapter=l.Decorate(u.dropdownAdapter,S)),null!=u.dropdownCssClass||null!=u.dropdownCss||null!=u.adaptDropdownCssClass){var O=e(u.amdBase+"compat/dropdownCss");u.dropdownAdapter=l.Decorate(u.dropdownAdapter,O)}u.dropdownAdapter=l.Decorate(u.dropdownAdapter,A)}if(null==u.selectionAdapter){if(u.multiple?u.selectionAdapter=i:u.selectionAdapter=r,null!=u.placeholder&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,o)),u.allowClear&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,s)),u.multiple&&(u.selectionAdapter=l.Decorate(u.selectionAdapter,a)),null!=u.containerCssClass||null!=u.containerCss||null!=u.adaptContainerCssClass){var $=e(u.amdBase+"compat/containerCss");u.selectionAdapter=l.Decorate(u.selectionAdapter,$)}u.selectionAdapter=l.Decorate(u.selectionAdapter,c)}u.language=this._resolveLanguage(u.language),u.language.push("en");for(var L=[],D=0;D<u.language.length;D++){var I=u.language[D];-1===L.indexOf(I)&&L.push(I)}return u.language=L,u.translations=this._processTranslations(u.language,u.debug),u},P.prototype.reset=function(){function e(t){function e(t){return h[t]||t}return t.replace(/[^\u0000-\u007E]/g,e)}function n(r,i){if(""===t.trim(r.term))return i;if(i.children&&i.children.length>0){for(var o=t.extend(!0,{},i),s=i.children.length-1;s>=0;s--)null==n(r,i.children[s])&&o.children.splice(s,1);return o.children.length>0?o:n(r,o)}var a=e(i.text).toUpperCase(),c=e(r.term).toUpperCase();return a.indexOf(c)>-1?i:null}this.defaults={amdBase:"./",amdLanguageBase:"./i18n/",closeOnSelect:!0,debug:!1,dropdownAutoWidth:!1,escapeMarkup:l.escapeMarkup,language:{},matcher:n,minimumInputLength:0,maximumInputLength:0,maximumSelectionLength:0,minimumResultsForSearch:0,selectOnClose:!1,scrollAfterSelect:!1,sorter:function(t){return t},templateResult:function(t){return t.text},templateSelection:function(t){return t.text},theme:"default",width:"resolve"}},P.prototype.applyFromElement=function(t,e){var n=t.language,r=this.defaults.language,i=e.prop("lang"),o=e.closest("[lang]").prop("lang"),s=Array.prototype.concat.call(this._resolveLanguage(i),this._resolveLanguage(n),this._resolveLanguage(r),this._resolveLanguage(o));return t.language=s,t},P.prototype._resolveLanguage=function(e){if(!e)return[];if(t.isEmptyObject(e))return[];if(t.isPlainObject(e))return[e];var n;n=t.isArray(e)?e:[e];for(var r=[],i=0;i<n.length;i++)if(r.push(n[i]),"string"==typeof n[i]&&n[i].indexOf("-")>0){var o=n[i].split("-")[0];r.push(o)}return r},P.prototype._processTranslations=function(e,n){for(var r=new u,i=0;i<e.length;i++){var o=new u,s=e[i];if("string"==typeof s)try{o=u.loadPath(s)}catch(t){try{s=this.defaults.amdLanguageBase+s,o=u.loadPath(s)}catch(t){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 o=t.isPlainObject(s)?new u(s):s;r.extend(o)}return r},P.prototype.set=function(e,n){var r={};r[t.camelCase(e)]=n;var i=l._convertData(r);t.extend(!0,this.defaults,i)},new P})),e.define("select2/options",["require","jquery","./defaults","./utils"],(function(t,e,n,r){function i(e,i){if(this.options=e,null!=i&&this.fromElement(i),null!=i&&(this.options=n.applyFromElement(this.options,i)),this.options=n.apply(this.options),i&&i.is("input")){var o=t(this.get("amdBase")+"compat/inputData");this.options.dataAdapter=r.Decorate(this.options.dataAdapter,o)}}return i.prototype.fromElement=function(t){var n=["select2"];null==this.options.multiple&&(this.options.multiple=t.prop("multiple")),null==this.options.disabled&&(this.options.disabled=t.prop("disabled")),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),r.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.'),r.StoreData(t[0],"data",r.GetData(t[0],"select2Tags")),r.StoreData(t[0],"tags",!0)),r.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",r.GetData(t[0],"ajaxUrl")),r.StoreData(t[0],"ajax-Url",r.GetData(t[0],"ajaxUrl")));var i={};function o(t,e){return e.toUpperCase()}for(var s=0;s<t[0].attributes.length;s++){var a=t[0].attributes[s].name,c="data-";if(a.substr(0,c.length)==c){var l=a.substring(c.length),u=r.GetData(t[0],l);i[l.replace(/-([a-z])/g,o)]=u}}e.fn.jquery&&"1."==e.fn.jquery.substr(0,2)&&t[0].dataset&&(i=e.extend(!0,{},t[0].dataset,i));var h=e.extend(!0,{},r.GetData(t[0]),i);for(var f in h=r._convertData(h))e.inArray(f,n)>-1||(e.isPlainObject(this.options[f])?e.extend(this.options[f],h[f]):this.options[f]=h[f]);return this},i.prototype.get=function(t){return this.options[t]},i.prototype.set=function(t,e){this.options[t]=e},i})),e.define("select2/core",["jquery","./options","./utils","./keys"],(function(t,e,n,r){var i=function(t,r){null!=n.GetData(t[0],"select2")&&n.GetData(t[0],"select2").destroy(),this.$element=t,this.id=this._generateId(t),r=r||{},this.options=new e(r,t),i.__super__.constructor.call(this);var o=t.attr("tabindex")||0;n.StoreData(t[0],"old-tabindex",o),t.attr("tabindex","-1");var s=this.options.get("dataAdapter");this.dataAdapter=new s(t,this.options);var a=this.render();this._placeContainer(a);var c=this.options.get("selectionAdapter");this.selection=new c(t,this.options),this.$selection=this.selection.render(),this.selection.position(this.$selection,a);var l=this.options.get("dropdownAdapter");this.dropdown=new l(t,this.options),this.$dropdown=this.dropdown.render(),this.dropdown.position(this.$dropdown,a);var u=this.options.get("resultsAdapter");this.results=new u(t,this.options,this.dataAdapter),this.$results=this.results.render(),this.results.position(this.$results,this.$dropdown);var h=this;this._bindAdapters(),this._registerDomEvents(),this._registerDataEvents(),this._registerSelectionEvents(),this._registerDropdownEvents(),this._registerResultsEvents(),this._registerEvents(),this.dataAdapter.current((function(t){h.trigger("selection:update",{data:t})})),t.addClass("select2-hidden-accessible"),t.attr("aria-hidden","true"),this._syncAttributes(),n.StoreData(t[0],"select2",this),t.data("select2",this)};return n.Extend(i,n.Observable),i.prototype._generateId=function(t){return"select2-"+(null!=t.attr("id")?t.attr("id"):null!=t.attr("name")?t.attr("name")+"-"+n.generateChars(2):n.generateChars(4)).replace(/(:|\.|\[|\]|,)/g,"")},i.prototype._placeContainer=function(t){t.insertAfter(this.$element);var e=this._resolveWidth(this.$element,this.options.get("width"));null!=e&&t.css("width",e)},i.prototype._resolveWidth=function(t,e){var n=/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i;if("resolve"==e){var r=this._resolveWidth(t,"style");return null!=r?r:this._resolveWidth(t,"element")}if("element"==e){var i=t.outerWidth(!1);return i<=0?"auto":i+"px"}if("style"==e){var o=t.attr("style");if("string"!=typeof o)return null;for(var s=o.split(";"),a=0,c=s.length;a<c;a+=1){var l=s[a].replace(/\s/g,"").match(n);if(null!==l&&l.length>=1)return l[1]}return null}return"computedstyle"==e?window.getComputedStyle(t[0]).width:e},i.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)},i.prototype._registerDomEvents=function(){var t=this;this.$element.on("change.select2",(function(){t.dataAdapter.current((function(e){t.trigger("selection:update",{data:e})}))})),this.$element.on("focus.select2",(function(e){t.trigger("focus",e)})),this._syncA=n.bind(this._syncAttributes,this),this._syncS=n.bind(this._syncSubtree,this),this.$element[0].attachEvent&&this.$element[0].attachEvent("onpropertychange",this._syncA);var e=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver;null!=e?(this._observer=new e((function(e){t._syncA(),t._syncS(null,e)})),this._observer.observe(this.$element[0],{attributes:!0,childList:!0,subtree:!1})):this.$element[0].addEventListener&&(this.$element[0].addEventListener("DOMAttrModified",t._syncA,!1),this.$element[0].addEventListener("DOMNodeInserted",t._syncS,!1),this.$element[0].addEventListener("DOMNodeRemoved",t._syncS,!1))},i.prototype._registerDataEvents=function(){var t=this;this.dataAdapter.on("*",(function(e,n){t.trigger(e,n)}))},i.prototype._registerSelectionEvents=function(){var e=this,n=["toggle","focus"];this.selection.on("toggle",(function(){e.toggleDropdown()})),this.selection.on("focus",(function(t){e.focus(t)})),this.selection.on("*",(function(r,i){-1===t.inArray(r,n)&&e.trigger(r,i)}))},i.prototype._registerDropdownEvents=function(){var t=this;this.dropdown.on("*",(function(e,n){t.trigger(e,n)}))},i.prototype._registerResultsEvents=function(){var t=this;this.results.on("*",(function(e,n){t.trigger(e,n)}))},i.prototype._registerEvents=function(){var t=this;this.on("open",(function(){t.$container.addClass("select2-container--open")})),this.on("close",(function(){t.$container.removeClass("select2-container--open")})),this.on("enable",(function(){t.$container.removeClass("select2-container--disabled")})),this.on("disable",(function(){t.$container.addClass("select2-container--disabled")})),this.on("blur",(function(){t.$container.removeClass("select2-container--focus")})),this.on("query",(function(e){t.isOpen()||t.trigger("open",{}),this.dataAdapter.query(e,(function(n){t.trigger("results:all",{data:n,query:e})}))})),this.on("query:append",(function(e){this.dataAdapter.query(e,(function(n){t.trigger("results:append",{data:n,query:e})}))})),this.on("keypress",(function(e){var n=e.which;t.isOpen()?n===r.ESC||n===r.TAB||n===r.UP&&e.altKey?(t.close(e),e.preventDefault()):n===r.ENTER?(t.trigger("results:select",{}),e.preventDefault()):n===r.SPACE&&e.ctrlKey?(t.trigger("results:toggle",{}),e.preventDefault()):n===r.UP?(t.trigger("results:previous",{}),e.preventDefault()):n===r.DOWN&&(t.trigger("results:next",{}),e.preventDefault()):(n===r.ENTER||n===r.SPACE||n===r.DOWN&&e.altKey)&&(t.open(),e.preventDefault())}))},i.prototype._syncAttributes=function(){this.options.set("disabled",this.$element.prop("disabled")),this.isDisabled()?(this.isOpen()&&this.close(),this.trigger("disable",{})):this.trigger("enable",{})},i.prototype._isChangeMutation=function(e,n){var r=!1,i=this;if(!e||!e.target||"OPTION"===e.target.nodeName||"OPTGROUP"===e.target.nodeName){if(n)if(n.addedNodes&&n.addedNodes.length>0)for(var o=0;o<n.addedNodes.length;o++)n.addedNodes[o].selected&&(r=!0);else n.removedNodes&&n.removedNodes.length>0?r=!0:t.isArray(n)&&t.each(n,(function(t,e){if(i._isChangeMutation(t,e))return r=!0,!1}));else r=!0;return r}},i.prototype._syncSubtree=function(t,e){var n=this._isChangeMutation(t,e),r=this;n&&this.dataAdapter.current((function(t){r.trigger("selection:update",{data:t})}))},i.prototype.trigger=function(t,e){var n=i.__super__.trigger,r={open:"opening",close:"closing",select:"selecting",unselect:"unselecting",clear:"clearing"};if(void 0===e&&(e={}),t in r){var o=r[t],s={prevented:!1,name:t,args:e};if(n.call(this,o,s),s.prevented)return void(e.prevented=!0)}n.call(this,t,e)},i.prototype.toggleDropdown=function(){this.isDisabled()||(this.isOpen()?this.close():this.open())},i.prototype.open=function(){this.isOpen()||this.isDisabled()||this.trigger("query",{})},i.prototype.close=function(t){this.isOpen()&&this.trigger("close",{originalEvent:t})},i.prototype.isEnabled=function(){return!this.isDisabled()},i.prototype.isDisabled=function(){return this.options.get("disabled")},i.prototype.isOpen=function(){return this.$container.hasClass("select2-container--open")},i.prototype.hasFocus=function(){return this.$container.hasClass("select2-container--focus")},i.prototype.focus=function(t){this.hasFocus()||(this.$container.addClass("select2-container--focus"),this.trigger("focus",{}))},i.prototype.enable=function(t){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!=t&&0!==t.length||(t=[!0]);var e=!t[0];this.$element.prop("disabled",e)},i.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 t=[];return this.dataAdapter.current((function(e){t=e})),t},i.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 n=e[0];t.isArray(n)&&(n=t.map(n,(function(t){return t.toString()}))),this.$element.val(n).trigger("input").trigger("change")},i.prototype.destroy=function(){this.$container.remove(),this.$element[0].detachEvent&&this.$element[0].detachEvent("onpropertychange",this._syncA),null!=this._observer?(this._observer.disconnect(),this._observer=null):this.$element[0].removeEventListener&&(this.$element[0].removeEventListener("DOMAttrModified",this._syncA,!1),this.$element[0].removeEventListener("DOMNodeInserted",this._syncS,!1),this.$element[0].removeEventListener("DOMNodeRemoved",this._syncS,!1)),this._syncA=null,this._syncS=null,this.$element.off(".select2"),this.$element.attr("tabindex",n.GetData(this.$element[0],"old-tabindex")),this.$element.removeClass("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},i.prototype.render=function(){var e=t('<span class="select2 select2-container"><span class="selection"></span><span class="dropdown-wrapper" aria-hidden="true"></span></span>');return e.attr("dir",this.options.get("dir")),this.$container=e,this.$container.addClass("select2-container--"+this.options.get("theme")),n.StoreData(e[0],"element",this.$element),e},i})),e.define("jquery-mousewheel",["jquery"],(function(t){return t})),e.define("jquery.select2",["jquery","jquery-mousewheel","./select2/core","./select2/defaults","./select2/utils"],(function(t,e,n,r,i){if(null==t.fn.select2){var o=["open","close","destroy"];t.fn.select2=function(e){if("object"==typeof(e=e||{}))return this.each((function(){var r=t.extend(!0,{},e);new n(t(this),r)})),this;if("string"==typeof e){var r,s=Array.prototype.slice.call(arguments,1);return this.each((function(){var t=i.GetData(this,"select2");null==t&&window.console&&console.error&&console.error("The select2('"+e+"') method was called on an element that is not using Select2."),r=t[e].apply(t,s)})),t.inArray(e,o)>-1?this:r}throw new Error("Invalid arguments for Select2: "+e)}}return null==t.fn.select2.defaults&&(t.fn.select2.defaults=r),n})),{define:e.define,require:e.require}}(),n=e.require("jquery.select2");return t.fn.select2.amd=e,n})?r.apply(e,i):r)||(t.exports=o)},4476:(t,e,n)=>{"use strict";n.r(e),n.d(e,{VERSION:()=>i,after:()=>Ie,all:()=>tn,allKeys:()=>mt,any:()=>en,assign:()=>It,before:()=>je,bind:()=>xe,bindAll:()=>Ce,chain:()=>ye,chunk:()=>Mn,clone:()=>Mt,collect:()=>Xe,compact:()=>Sn,compose:()=>De,constant:()=>Q,contains:()=>nn,countBy:()=>vn,create:()=>Rt,debounce:()=>Oe,default:()=>zn,defaults:()=>jt,defer:()=>ke,delay:()=>Se,detect:()=>Ue,difference:()=>Pn,drop:()=>Cn,each:()=>Ye,escape:()=>se,every:()=>tn,extend:()=>Dt,extendOwn:()=>It,filter:()=>Qe,find:()=>Ue,findIndex:()=>qe,findKey:()=>Re,findLastIndex:()=>Fe,findWhere:()=>Ve,first:()=>An,flatten:()=>kn,foldl:()=>Ke,foldr:()=>Ze,forEach:()=>Ye,functions:()=>$t,get:()=>zt,groupBy:()=>gn,has:()=>Wt,head:()=>An,identity:()=>Ut,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>ze,initial:()=>En,inject:()=>Ke,intersection:()=>Dn,invert:()=>Ot,invoke:()=>rn,isArguments:()=>G,isArray:()=>V,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>D,isElement:()=>P,isEmpty:()=>ct,isEqual:()=>gt,isError:()=>j,isFinite:()=>K,isFunction:()=>F,isMap:()=>At,isMatch:()=>lt,isNaN:()=>Z,isNull:()=>T,isNumber:()=>L,isObject:()=>C,isRegExp:()=>I,isSet:()=>Tt,isString:()=>$,isSymbol:()=>N,isTypedArray:()=>it,isUndefined:()=>S,isWeakMap:()=>Ct,isWeakSet:()=>St,iteratee:()=>Kt,keys:()=>at,last:()=>Tn,lastIndexOf:()=>We,map:()=>Xe,mapObject:()=>Qt,matcher:()=>Vt,matches:()=>Vt,max:()=>an,memoize:()=>Te,methods:()=>$t,min:()=>cn,mixin:()=>Fn,negate:()=>Le,noop:()=>Jt,now:()=>re,object:()=>Nn,omit:()=>xn,once:()=>Ne,pairs:()=>Pt,partial:()=>we,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Yt,propertyOf:()=>te,random:()=>ne,range:()=>Rn,reduce:()=>Ke,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Cn,restArguments:()=>A,result:()=>ge,sample:()=>hn,select:()=>Qe,shuffle:()=>fn,size:()=>bn,some:()=>en,sortBy:()=>dn,sortedIndex:()=>Be,tail:()=>Cn,take:()=>An,tap:()=>qt,template:()=>pe,templateSettings:()=>ce,throttle:()=>Pe,times:()=>ee,toArray:()=>un,toPath:()=>Ft,transpose:()=>In,unescape:()=>ae,union:()=>Ln,uniq:()=>$n,unique:()=>$n,uniqueId:()=>ve,unzip:()=>In,values:()=>kt,where:()=>sn,without:()=>On,wrap:()=>$e,zip:()=>jn});var r={};n.r(r),n.d(r,{VERSION:()=>i,after:()=>Ie,all:()=>tn,allKeys:()=>mt,any:()=>en,assign:()=>It,before:()=>je,bind:()=>xe,bindAll:()=>Ce,chain:()=>ye,chunk:()=>Mn,clone:()=>Mt,collect:()=>Xe,compact:()=>Sn,compose:()=>De,constant:()=>Q,contains:()=>nn,countBy:()=>vn,create:()=>Rt,debounce:()=>Oe,default:()=>Bn,defaults:()=>jt,defer:()=>ke,delay:()=>Se,detect:()=>Ue,difference:()=>Pn,drop:()=>Cn,each:()=>Ye,escape:()=>se,every:()=>tn,extend:()=>Dt,extendOwn:()=>It,filter:()=>Qe,find:()=>Ue,findIndex:()=>qe,findKey:()=>Re,findLastIndex:()=>Fe,findWhere:()=>Ve,first:()=>An,flatten:()=>kn,foldl:()=>Ke,foldr:()=>Ze,forEach:()=>Ye,functions:()=>$t,get:()=>zt,groupBy:()=>gn,has:()=>Wt,head:()=>An,identity:()=>Ut,include:()=>nn,includes:()=>nn,indexBy:()=>mn,indexOf:()=>ze,initial:()=>En,inject:()=>Ke,intersection:()=>Dn,invert:()=>Ot,invoke:()=>rn,isArguments:()=>G,isArray:()=>V,isArrayBuffer:()=>R,isBoolean:()=>k,isDataView:()=>U,isDate:()=>D,isElement:()=>P,isEmpty:()=>ct,isEqual:()=>gt,isError:()=>j,isFinite:()=>K,isFunction:()=>F,isMap:()=>At,isMatch:()=>lt,isNaN:()=>Z,isNull:()=>T,isNumber:()=>L,isObject:()=>C,isRegExp:()=>I,isSet:()=>Tt,isString:()=>$,isSymbol:()=>N,isTypedArray:()=>it,isUndefined:()=>S,isWeakMap:()=>Ct,isWeakSet:()=>St,iteratee:()=>Kt,keys:()=>at,last:()=>Tn,lastIndexOf:()=>We,map:()=>Xe,mapObject:()=>Qt,matcher:()=>Vt,matches:()=>Vt,max:()=>an,memoize:()=>Te,methods:()=>$t,min:()=>cn,mixin:()=>Fn,negate:()=>Le,noop:()=>Jt,now:()=>re,object:()=>Nn,omit:()=>xn,once:()=>Ne,pairs:()=>Pt,partial:()=>we,partition:()=>yn,pick:()=>wn,pluck:()=>on,property:()=>Yt,propertyOf:()=>te,random:()=>ne,range:()=>Rn,reduce:()=>Ke,reduceRight:()=>Ze,reject:()=>Je,rest:()=>Cn,restArguments:()=>A,result:()=>ge,sample:()=>hn,select:()=>Qe,shuffle:()=>fn,size:()=>bn,some:()=>en,sortBy:()=>dn,sortedIndex:()=>Be,tail:()=>Cn,take:()=>An,tap:()=>qt,template:()=>pe,templateSettings:()=>ce,throttle:()=>Pe,times:()=>ee,toArray:()=>un,toPath:()=>Ft,transpose:()=>In,unescape:()=>ae,union:()=>Ln,uniq:()=>$n,unique:()=>$n,uniqueId:()=>ve,unzip:()=>In,values:()=>kt,where:()=>sn,without:()=>On,wrap:()=>$e,zip:()=>jn});var i="1.13.6",o="object"==typeof self&&self.self===self&&self||"object"==typeof global&&global.global===global&&global||Function("return this")()||{},s=Array.prototype,a=Object.prototype,c="undefined"!=typeof Symbol?Symbol.prototype:null,l=s.push,u=s.slice,h=a.toString,f=a.hasOwnProperty,d="undefined"!=typeof ArrayBuffer,p="undefined"!=typeof DataView,g=Array.isArray,m=Object.keys,v=Object.create,y=d&&ArrayBuffer.isView,b=isNaN,_=isFinite,w=!{toString:null}.propertyIsEnumerable("toString"),x=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],E=Math.pow(2,53)-1;function A(t,e){return e=null==e?t.length-1:+e,function(){for(var n=Math.max(arguments.length-e,0),r=Array(n),i=0;i<n;i++)r[i]=arguments[i+e];switch(e){case 0:return t.call(this,r);case 1:return t.call(this,arguments[0],r);case 2:return t.call(this,arguments[0],arguments[1],r)}var o=Array(e+1);for(i=0;i<e;i++)o[i]=arguments[i];return o[e]=r,t.apply(this,o)}}function C(t){var e=typeof t;return"function"===e||"object"===e&&!!t}function T(t){return null===t}function S(t){return void 0===t}function k(t){return!0===t||!1===t||"[object Boolean]"===h.call(t)}function P(t){return!(!t||1!==t.nodeType)}function O(t){var e="[object "+t+"]";return function(t){return h.call(t)===e}}const $=O("String"),L=O("Number"),D=O("Date"),I=O("RegExp"),j=O("Error"),N=O("Symbol"),R=O("ArrayBuffer");var M=O("Function"),q=o.document&&o.document.childNodes;"object"!=typeof Int8Array&&"function"!=typeof q&&(M=function(t){return"function"==typeof t||!1});const F=M,B=O("Object");var H=p&&B(new DataView(new ArrayBuffer(8))),z="undefined"!=typeof Map&&B(new Map),W=O("DataView");const U=H?function(t){return null!=t&&F(t.getInt8)&&R(t.buffer)}:W,V=g||O("Array");function Y(t,e){return null!=t&&f.call(t,e)}var X=O("Arguments");!function(){X(arguments)||(X=function(t){return Y(t,"callee")})}();const G=X;function K(t){return!N(t)&&_(t)&&!isNaN(parseFloat(t))}function Z(t){return L(t)&&b(t)}function Q(t){return function(){return t}}function J(t){return function(e){var n=t(e);return"number"==typeof n&&n>=0&&n<=E}}function tt(t){return function(e){return null==e?void 0:e[t]}}const et=tt("byteLength"),nt=J(et);var rt=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;const it=d?function(t){return y?y(t)&&!U(t):nt(t)&&rt.test(h.call(t))}:Q(!1),ot=tt("length");function st(t,e){e=function(t){for(var e={},n=t.length,r=0;r<n;++r)e[t[r]]=!0;return{contains:function(t){return!0===e[t]},push:function(n){return e[n]=!0,t.push(n)}}}(e);var n=x.length,r=t.constructor,i=F(r)&&r.prototype||a,o="constructor";for(Y(t,o)&&!e.contains(o)&&e.push(o);n--;)(o=x[n])in t&&t[o]!==i[o]&&!e.contains(o)&&e.push(o)}function at(t){if(!C(t))return[];if(m)return m(t);var e=[];for(var n in t)Y(t,n)&&e.push(n);return w&&st(t,e),e}function ct(t){if(null==t)return!0;var e=ot(t);return"number"==typeof e&&(V(t)||$(t)||G(t))?0===e:0===ot(at(t))}function lt(t,e){var n=at(e),r=n.length;if(null==t)return!r;for(var i=Object(t),o=0;o<r;o++){var s=n[o];if(e[s]!==i[s]||!(s in i))return!1}return!0}function ut(t){return t instanceof ut?t:this instanceof ut?void(this._wrapped=t):new ut(t)}function ht(t){return new Uint8Array(t.buffer||t,t.byteOffset||0,et(t))}ut.VERSION=i,ut.prototype.value=function(){return this._wrapped},ut.prototype.valueOf=ut.prototype.toJSON=ut.prototype.value,ut.prototype.toString=function(){return String(this._wrapped)};var ft="[object DataView]";function dt(t,e,n,r){if(t===e)return 0!==t||1/t==1/e;if(null==t||null==e)return!1;if(t!=t)return e!=e;var i=typeof t;return("function"===i||"object"===i||"object"==typeof e)&&pt(t,e,n,r)}function pt(t,e,n,r){t instanceof ut&&(t=t._wrapped),e instanceof ut&&(e=e._wrapped);var i=h.call(t);if(i!==h.call(e))return!1;if(H&&"[object Object]"==i&&U(t)){if(!U(e))return!1;i=ft}switch(i){case"[object RegExp]":case"[object String]":return""+t==""+e;case"[object Number]":return+t!=+t?+e!=+e:0==+t?1/+t==1/e:+t==+e;case"[object Date]":case"[object Boolean]":return+t==+e;case"[object Symbol]":return c.valueOf.call(t)===c.valueOf.call(e);case"[object ArrayBuffer]":case ft:return pt(ht(t),ht(e),n,r)}var o="[object Array]"===i;if(!o&&it(t)){if(et(t)!==et(e))return!1;if(t.buffer===e.buffer&&t.byteOffset===e.byteOffset)return!0;o=!0}if(!o){if("object"!=typeof t||"object"!=typeof e)return!1;var s=t.constructor,a=e.constructor;if(s!==a&&!(F(s)&&s instanceof s&&F(a)&&a instanceof a)&&"constructor"in t&&"constructor"in e)return!1}r=r||[];for(var l=(n=n||[]).length;l--;)if(n[l]===t)return r[l]===e;if(n.push(t),r.push(e),o){if((l=t.length)!==e.length)return!1;for(;l--;)if(!dt(t[l],e[l],n,r))return!1}else{var u,f=at(t);if(l=f.length,at(e).length!==l)return!1;for(;l--;)if(!Y(e,u=f[l])||!dt(t[u],e[u],n,r))return!1}return n.pop(),r.pop(),!0}function gt(t,e){return dt(t,e)}function mt(t){if(!C(t))return[];var e=[];for(var n in t)e.push(n);return w&&st(t,e),e}function vt(t){var e=ot(t);return function(n){if(null==n)return!1;var r=mt(n);if(ot(r))return!1;for(var i=0;i<e;i++)if(!F(n[t[i]]))return!1;return t!==xt||!F(n[yt])}}var yt="forEach",bt=["clear","delete"],_t=["get","has","set"],wt=bt.concat(yt,_t),xt=bt.concat(_t),Et=["add"].concat(bt,yt,"has");const At=z?vt(wt):O("Map"),Ct=z?vt(xt):O("WeakMap"),Tt=z?vt(Et):O("Set"),St=O("WeakSet");function kt(t){for(var e=at(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=t[e[i]];return r}function Pt(t){for(var e=at(t),n=e.length,r=Array(n),i=0;i<n;i++)r[i]=[e[i],t[e[i]]];return r}function Ot(t){for(var e={},n=at(t),r=0,i=n.length;r<i;r++)e[t[n[r]]]=n[r];return e}function $t(t){var e=[];for(var n in t)F(t[n])&&e.push(n);return e.sort()}function Lt(t,e){return function(n){var r=arguments.length;if(e&&(n=Object(n)),r<2||null==n)return n;for(var i=1;i<r;i++)for(var o=arguments[i],s=t(o),a=s.length,c=0;c<a;c++){var l=s[c];e&&void 0!==n[l]||(n[l]=o[l])}return n}}const Dt=Lt(mt),It=Lt(at),jt=Lt(mt,!0);function Nt(t){if(!C(t))return{};if(v)return v(t);var e=function(){};e.prototype=t;var n=new e;return e.prototype=null,n}function Rt(t,e){var n=Nt(t);return e&&It(n,e),n}function Mt(t){return C(t)?V(t)?t.slice():Dt({},t):t}function qt(t,e){return e(t),t}function Ft(t){return V(t)?t:[t]}function Bt(t){return ut.toPath(t)}function Ht(t,e){for(var n=e.length,r=0;r<n;r++){if(null==t)return;t=t[e[r]]}return n?t:void 0}function zt(t,e,n){var r=Ht(t,Bt(e));return S(r)?n:r}function Wt(t,e){for(var n=(e=Bt(e)).length,r=0;r<n;r++){var i=e[r];if(!Y(t,i))return!1;t=t[i]}return!!n}function Ut(t){return t}function Vt(t){return t=It({},t),function(e){return lt(e,t)}}function Yt(t){return t=Bt(t),function(e){return Ht(e,t)}}function Xt(t,e,n){if(void 0===e)return t;switch(null==n?3:n){case 1:return function(n){return t.call(e,n)};case 3:return function(n,r,i){return t.call(e,n,r,i)};case 4:return function(n,r,i,o){return t.call(e,n,r,i,o)}}return function(){return t.apply(e,arguments)}}function Gt(t,e,n){return null==t?Ut:F(t)?Xt(t,e,n):C(t)&&!V(t)?Vt(t):Yt(t)}function Kt(t,e){return Gt(t,e,1/0)}function Zt(t,e,n){return ut.iteratee!==Kt?ut.iteratee(t,e):Gt(t,e,n)}function Qt(t,e,n){e=Zt(e,n);for(var r=at(t),i=r.length,o={},s=0;s<i;s++){var a=r[s];o[a]=e(t[a],a,t)}return o}function Jt(){}function te(t){return null==t?Jt:function(e){return zt(t,e)}}function ee(t,e,n){var r=Array(Math.max(0,t));e=Xt(e,n,1);for(var i=0;i<t;i++)r[i]=e(i);return r}function ne(t,e){return null==e&&(e=t,t=0),t+Math.floor(Math.random()*(e-t+1))}ut.toPath=Ft,ut.iteratee=Kt;const re=Date.now||function(){return(new Date).getTime()};function ie(t){var e=function(e){return t[e]},n="(?:"+at(t).join("|")+")",r=RegExp(n),i=RegExp(n,"g");return function(t){return t=null==t?"":""+t,r.test(t)?t.replace(i,e):t}}const oe={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#x27;","`":"&#x60;"},se=ie(oe),ae=ie(Ot(oe)),ce=ut.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var le=/(.)^/,ue={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},he=/\\|'|\r|\n|\u2028|\u2029/g;function fe(t){return"\\"+ue[t]}var de=/^\s*(\w|\$)+\s*$/;function pe(t,e,n){!e&&n&&(e=n),e=jt({},e,ut.templateSettings);var r=RegExp([(e.escape||le).source,(e.interpolate||le).source,(e.evaluate||le).source].join("|")+"|$","g"),i=0,o="__p+='";t.replace(r,(function(e,n,r,s,a){return o+=t.slice(i,a).replace(he,fe),i=a+e.length,n?o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'":r?o+="'+\n((__t=("+r+"))==null?'':__t)+\n'":s&&(o+="';\n"+s+"\n__p+='"),e})),o+="';\n";var s,a=e.variable;if(a){if(!de.test(a))throw new Error("variable is not a bare identifier: "+a)}else o="with(obj||{}){\n"+o+"}\n",a="obj";o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{s=new Function(a,"_",o)}catch(t){throw t.source=o,t}var c=function(t){return s.call(this,t,ut)};return c.source="function("+a+"){\n"+o+"}",c}function ge(t,e,n){var r=(e=Bt(e)).length;if(!r)return F(n)?n.call(t):n;for(var i=0;i<r;i++){var o=null==t?void 0:t[e[i]];void 0===o&&(o=n,i=r),t=F(o)?o.call(t):o}return t}var me=0;function ve(t){var e=++me+"";return t?t+e:e}function ye(t){var e=ut(t);return e._chain=!0,e}function be(t,e,n,r,i){if(!(r instanceof e))return t.apply(n,i);var o=Nt(t.prototype),s=t.apply(o,i);return C(s)?s:o}var _e=A((function(t,e){var n=_e.placeholder,r=function(){for(var i=0,o=e.length,s=Array(o),a=0;a<o;a++)s[a]=e[a]===n?arguments[i++]:e[a];for(;i<arguments.length;)s.push(arguments[i++]);return be(t,r,this,this,s)};return r}));_e.placeholder=ut;const we=_e,xe=A((function(t,e,n){if(!F(t))throw new TypeError("Bind must be called on a function");var r=A((function(i){return be(t,r,e,this,n.concat(i))}));return r})),Ee=J(ot);function Ae(t,e,n,r){if(r=r||[],e||0===e){if(e<=0)return r.concat(t)}else e=1/0;for(var i=r.length,o=0,s=ot(t);o<s;o++){var a=t[o];if(Ee(a)&&(V(a)||G(a)))if(e>1)Ae(a,e-1,n,r),i=r.length;else for(var c=0,l=a.length;c<l;)r[i++]=a[c++];else n||(r[i++]=a)}return r}const Ce=A((function(t,e){var n=(e=Ae(e,!1,!1)).length;if(n<1)throw new Error("bindAll must be passed function names");for(;n--;){var r=e[n];t[r]=xe(t[r],t)}return t}));function Te(t,e){var n=function(r){var i=n.cache,o=""+(e?e.apply(this,arguments):r);return Y(i,o)||(i[o]=t.apply(this,arguments)),i[o]};return n.cache={},n}const Se=A((function(t,e,n){return setTimeout((function(){return t.apply(null,n)}),e)})),ke=we(Se,ut,1);function Pe(t,e,n){var r,i,o,s,a=0;n||(n={});var c=function(){a=!1===n.leading?0:re(),r=null,s=t.apply(i,o),r||(i=o=null)},l=function(){var l=re();a||!1!==n.leading||(a=l);var u=e-(l-a);return i=this,o=arguments,u<=0||u>e?(r&&(clearTimeout(r),r=null),a=l,s=t.apply(i,o),r||(i=o=null)):r||!1===n.trailing||(r=setTimeout(c,u)),s};return l.cancel=function(){clearTimeout(r),a=0,r=i=o=null},l}function Oe(t,e,n){var r,i,o,s,a,c=function(){var l=re()-i;e>l?r=setTimeout(c,e-l):(r=null,n||(s=t.apply(a,o)),r||(o=a=null))},l=A((function(l){return a=this,o=l,i=re(),r||(r=setTimeout(c,e),n&&(s=t.apply(a,o))),s}));return l.cancel=function(){clearTimeout(r),r=o=a=null},l}function $e(t,e){return we(e,t)}function Le(t){return function(){return!t.apply(this,arguments)}}function De(){var t=arguments,e=t.length-1;return function(){for(var n=e,r=t[e].apply(this,arguments);n--;)r=t[n].call(this,r);return r}}function Ie(t,e){return function(){if(--t<1)return e.apply(this,arguments)}}function je(t,e){var n;return function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=null),n}}const Ne=we(je,2);function Re(t,e,n){e=Zt(e,n);for(var r,i=at(t),o=0,s=i.length;o<s;o++)if(e(t[r=i[o]],r,t))return r}function Me(t){return function(e,n,r){n=Zt(n,r);for(var i=ot(e),o=t>0?0:i-1;o>=0&&o<i;o+=t)if(n(e[o],o,e))return o;return-1}}const qe=Me(1),Fe=Me(-1);function Be(t,e,n,r){for(var i=(n=Zt(n,r,1))(e),o=0,s=ot(t);o<s;){var a=Math.floor((o+s)/2);n(t[a])<i?o=a+1:s=a}return o}function He(t,e,n){return function(r,i,o){var s=0,a=ot(r);if("number"==typeof o)t>0?s=o>=0?o:Math.max(o+a,s):a=o>=0?Math.min(o+1,a):o+a+1;else if(n&&o&&a)return r[o=n(r,i)]===i?o:-1;if(i!=i)return(o=e(u.call(r,s,a),Z))>=0?o+s:-1;for(o=t>0?s:a-1;o>=0&&o<a;o+=t)if(r[o]===i)return o;return-1}}const ze=He(1,qe,Be),We=He(-1,Fe);function Ue(t,e,n){var r=(Ee(t)?qe:Re)(t,e,n);if(void 0!==r&&-1!==r)return t[r]}function Ve(t,e){return Ue(t,Vt(e))}function Ye(t,e,n){var r,i;if(e=Xt(e,n),Ee(t))for(r=0,i=t.length;r<i;r++)e(t[r],r,t);else{var o=at(t);for(r=0,i=o.length;r<i;r++)e(t[o[r]],o[r],t)}return t}function Xe(t,e,n){e=Zt(e,n);for(var r=!Ee(t)&&at(t),i=(r||t).length,o=Array(i),s=0;s<i;s++){var a=r?r[s]:s;o[s]=e(t[a],a,t)}return o}function Ge(t){return function(e,n,r,i){var o=arguments.length>=3;return function(e,n,r,i){var o=!Ee(e)&&at(e),s=(o||e).length,a=t>0?0:s-1;for(i||(r=e[o?o[a]:a],a+=t);a>=0&&a<s;a+=t){var c=o?o[a]:a;r=n(r,e[c],c,e)}return r}(e,Xt(n,i,4),r,o)}}const Ke=Ge(1),Ze=Ge(-1);function Qe(t,e,n){var r=[];return e=Zt(e,n),Ye(t,(function(t,n,i){e(t,n,i)&&r.push(t)})),r}function Je(t,e,n){return Qe(t,Le(Zt(e)),n)}function tn(t,e,n){e=Zt(e,n);for(var r=!Ee(t)&&at(t),i=(r||t).length,o=0;o<i;o++){var s=r?r[o]:o;if(!e(t[s],s,t))return!1}return!0}function en(t,e,n){e=Zt(e,n);for(var r=!Ee(t)&&at(t),i=(r||t).length,o=0;o<i;o++){var s=r?r[o]:o;if(e(t[s],s,t))return!0}return!1}function nn(t,e,n,r){return Ee(t)||(t=kt(t)),("number"!=typeof n||r)&&(n=0),ze(t,e,n)>=0}const rn=A((function(t,e,n){var r,i;return F(e)?i=e:(e=Bt(e),r=e.slice(0,-1),e=e[e.length-1]),Xe(t,(function(t){var o=i;if(!o){if(r&&r.length&&(t=Ht(t,r)),null==t)return;o=t[e]}return null==o?o:o.apply(t,n)}))}));function on(t,e){return Xe(t,Yt(e))}function sn(t,e){return Qe(t,Vt(e))}function an(t,e,n){var r,i,o=-1/0,s=-1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var a=0,c=(t=Ee(t)?t:kt(t)).length;a<c;a++)null!=(r=t[a])&&r>o&&(o=r);else e=Zt(e,n),Ye(t,(function(t,n,r){((i=e(t,n,r))>s||i===-1/0&&o===-1/0)&&(o=t,s=i)}));return o}function cn(t,e,n){var r,i,o=1/0,s=1/0;if(null==e||"number"==typeof e&&"object"!=typeof t[0]&&null!=t)for(var a=0,c=(t=Ee(t)?t:kt(t)).length;a<c;a++)null!=(r=t[a])&&r<o&&(o=r);else e=Zt(e,n),Ye(t,(function(t,n,r){((i=e(t,n,r))<s||i===1/0&&o===1/0)&&(o=t,s=i)}));return o}var ln=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function un(t){return t?V(t)?u.call(t):$(t)?t.match(ln):Ee(t)?Xe(t,Ut):kt(t):[]}function hn(t,e,n){if(null==e||n)return Ee(t)||(t=kt(t)),t[ne(t.length-1)];var r=un(t),i=ot(r);e=Math.max(Math.min(e,i),0);for(var o=i-1,s=0;s<e;s++){var a=ne(s,o),c=r[s];r[s]=r[a],r[a]=c}return r.slice(0,e)}function fn(t){return hn(t,1/0)}function dn(t,e,n){var r=0;return e=Zt(e,n),on(Xe(t,(function(t,n,i){return{value:t,index:r++,criteria:e(t,n,i)}})).sort((function(t,e){var n=t.criteria,r=e.criteria;if(n!==r){if(n>r||void 0===n)return 1;if(n<r||void 0===r)return-1}return t.index-e.index})),"value")}function pn(t,e){return function(n,r,i){var o=e?[[],[]]:{};return r=Zt(r,i),Ye(n,(function(e,i){var s=r(e,i,n);t(o,e,s)})),o}}const gn=pn((function(t,e,n){Y(t,n)?t[n].push(e):t[n]=[e]})),mn=pn((function(t,e,n){t[n]=e})),vn=pn((function(t,e,n){Y(t,n)?t[n]++:t[n]=1})),yn=pn((function(t,e,n){t[n?0:1].push(e)}),!0);function bn(t){return null==t?0:Ee(t)?t.length:at(t).length}function _n(t,e,n){return e in n}const wn=A((function(t,e){var n={},r=e[0];if(null==t)return n;F(r)?(e.length>1&&(r=Xt(r,e[1])),e=mt(t)):(r=_n,e=Ae(e,!1,!1),t=Object(t));for(var i=0,o=e.length;i<o;i++){var s=e[i],a=t[s];r(a,s,t)&&(n[s]=a)}return n})),xn=A((function(t,e){var n,r=e[0];return F(r)?(r=Le(r),e.length>1&&(n=e[1])):(e=Xe(Ae(e,!1,!1),String),r=function(t,n){return!nn(e,n)}),wn(t,r,n)}));function En(t,e,n){return u.call(t,0,Math.max(0,t.length-(null==e||n?1:e)))}function An(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[0]:En(t,t.length-e)}function Cn(t,e,n){return u.call(t,null==e||n?1:e)}function Tn(t,e,n){return null==t||t.length<1?null==e||n?void 0:[]:null==e||n?t[t.length-1]:Cn(t,Math.max(0,t.length-e))}function Sn(t){return Qe(t,Boolean)}function kn(t,e){return Ae(t,e,!1)}const Pn=A((function(t,e){return e=Ae(e,!0,!0),Qe(t,(function(t){return!nn(e,t)}))})),On=A((function(t,e){return Pn(t,e)}));function $n(t,e,n,r){k(e)||(r=n,n=e,e=!1),null!=n&&(n=Zt(n,r));for(var i=[],o=[],s=0,a=ot(t);s<a;s++){var c=t[s],l=n?n(c,s,t):c;e&&!n?(s&&o===l||i.push(c),o=l):n?nn(o,l)||(o.push(l),i.push(c)):nn(i,c)||i.push(c)}return i}const Ln=A((function(t){return $n(Ae(t,!0,!0))}));function Dn(t){for(var e=[],n=arguments.length,r=0,i=ot(t);r<i;r++){var o=t[r];if(!nn(e,o)){var s;for(s=1;s<n&&nn(arguments[s],o);s++);s===n&&e.push(o)}}return e}function In(t){for(var e=t&&an(t,ot).length||0,n=Array(e),r=0;r<e;r++)n[r]=on(t,r);return n}const jn=A(In);function Nn(t,e){for(var n={},r=0,i=ot(t);r<i;r++)e?n[t[r]]=e[r]:n[t[r][0]]=t[r][1];return n}function Rn(t,e,n){null==e&&(e=t||0,t=0),n||(n=e<t?-1:1);for(var r=Math.max(Math.ceil((e-t)/n),0),i=Array(r),o=0;o<r;o++,t+=n)i[o]=t;return i}function Mn(t,e){if(null==e||e<1)return[];for(var n=[],r=0,i=t.length;r<i;)n.push(u.call(t,r,r+=e));return n}function qn(t,e){return t._chain?ut(e).chain():e}function Fn(t){return Ye($t(t),(function(e){var n=ut[e]=t[e];ut.prototype[e]=function(){var t=[this._wrapped];return l.apply(t,arguments),qn(this,n.apply(ut,t))}})),ut}Ye(["pop","push","reverse","shift","sort","splice","unshift"],(function(t){var e=s[t];ut.prototype[t]=function(){var n=this._wrapped;return null!=n&&(e.apply(n,arguments),"shift"!==t&&"splice"!==t||0!==n.length||delete n[0]),qn(this,n)}})),Ye(["concat","join","slice"],(function(t){var e=s[t];ut.prototype[t]=function(){var t=this._wrapped;return null!=t&&(t=e.apply(t,arguments)),qn(this,t)}}));const Bn=ut;var Hn=Fn(r);Hn._=Hn;const zn=Hn}},e={};function n(r){var i=e[r];if(void 0!==i)return i.exports;var o=e[r]={id:r,loaded:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,r(i.key),i)}}function r(e){var n=function(e,n){if("object"!=t(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var i=r.call(e,n||"default");if("object"!=t(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===n?String:Number)(e)}(e,"string");return"symbol"==t(n)?n:String(n)}var i=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.routes=e}var n,r,i;return n=t,r=[{key:"fire",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"init",n=arguments.length>2?arguments[2]:void 0;document.dispatchEvent(new CustomEvent("routed",{bubbles:!0,detail:{route:t,fn:e}}));var r=""!==t&&this.routes[t]&&"function"==typeof this.routes[t][e];r&&this.routes[t][e](n)}},{key:"loadEvents",value:function(){var t=this;this.fire("common"),document.querySelector("body").className.toLowerCase().replace(/-/g,"_").split(/\s+/).forEach((function(e){t.fire(e),t.fire(e,"finalize")})),this.fire("common","finalize")}}],r&&e(n.prototype,r),i&&e(n,i),Object.defineProperty(n,"prototype",{writable:!1}),t}();const o=i;var s=n(3270),a=n.n(s);function c(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function l(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?c(Object(n),!0).forEach((function(e){m(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):c(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function u(){u=function(){return t};var t={},e=Object.prototype,n=e.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},i="function"==typeof Symbol?Symbol:{},o=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",a=i.toStringTag||"@@toStringTag";function c(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(t){c=function(t,e,n){return t[e]=n}}function l(t,e,n,i){var o=e&&e.prototype instanceof d?e:d,s=Object.create(o.prototype),a=new T(i||[]);return r(s,"_invoke",{value:x(t,n,a)}),s}function h(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}t.wrap=l;var f={};function d(){}function p(){}function g(){}var m={};c(m,o,(function(){return this}));var v=Object.getPrototypeOf,y=v&&v(v(S([])));y&&y!==e&&n.call(y,o)&&(m=y);var b=g.prototype=d.prototype=Object.create(m);function _(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function w(t,e){function i(r,o,s,a){var c=h(t[r],t,o);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?e.resolve(u.__await).then((function(t){i("next",t,s,a)}),(function(t){i("throw",t,s,a)})):e.resolve(u).then((function(t){l.value=t,s(l)}),(function(t){return i("throw",t,s,a)}))}a(c.arg)}var o;r(this,"_invoke",{value:function(t,n){function r(){return new e((function(e,r){i(t,n,e,r)}))}return o=o?o.then(r,r):r()}})}function x(t,e,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return k()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=E(s,n);if(a){if(a===f)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var c=h(t,e,n);if("normal"===c.type){if(r=n.done?"completed":"suspendedYield",c.arg===f)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(r="completed",n.method="throw",n.arg=c.arg)}}}function E(t,e){var n=e.method,r=t.iterator[n];if(void 0===r)return e.delegate=null,"throw"===n&&t.iterator.return&&(e.method="return",e.arg=void 0,E(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var i=h(r,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,f;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function A(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function C(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function T(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(A,this),this.reset(!0)}function S(t){if(t){var e=t[o];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){for(;++r<t.length;)if(n.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:k}}function k(){return{value:void 0,done:!0}}return p.prototype=g,r(b,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:p,configurable:!0}),p.displayName=c(g,a,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,c(t,a,"GeneratorFunction")),t.prototype=Object.create(b),t},t.awrap=function(t){return{__await:t}},_(w.prototype),c(w.prototype,s,(function(){return this})),t.AsyncIterator=w,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new w(l(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(t){return t.done?t.value:s.next()}))},_(b),c(b,a,"Generator"),c(b,o,(function(){return this})),c(b,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},t.values=S,T.prototype={constructor:T,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(C),!t)for(var e in this)"t"===e.charAt(0)&&n.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(n,r){return s.type="throw",s.arg=t,e.next=n,r&&(e.method="next",e.arg=void 0),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],s=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var a=n.call(o,"catchLoc"),c=n.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var s=o?o.completion:{};return s.type=t,s.arg=e,o?(this.method="next",this.next=o.finallyLoc,f):this.complete(s)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),C(n),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var i=r.arg;C(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,n){return this.delegate={iterator:S(t),resultName:e,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},t}function h(t,e,n,r,i,o,s){try{var a=t[o](s),c=a.value}catch(t){return void n(t)}a.done?e(c):Promise.resolve(c).then(r,i)}function f(t){return function(){var e=this,n=arguments;return new Promise((function(r,i){var o=t.apply(e,n);function s(t){h(o,r,i,s,a,"next",t)}function a(t){h(o,r,i,s,a,"throw",t)}s(void 0)}))}}function d(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,A(r.key),r)}}function g(t,e,n){return e&&p(t.prototype,e),n&&p(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function m(t,e,n){return(e=A(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function v(t){return v=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},v(t)}function y(t,e){return y=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},y(t,e)}function b(){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(t){return!1}}function _(t,e,n){return _=b()?Reflect.construct.bind():function(t,e,n){var r=[null];r.push.apply(r,e);var i=new(Function.bind.apply(t,r));return n&&y(i,n.prototype),i},_.apply(null,arguments)}function w(t){var e="function"==typeof Map?new Map:void 0;return w=function(t){if(null===t||(n=t,-1===Function.toString.call(n).indexOf("[native code]")))return t;var n;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return _(t,arguments,v(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),y(r,t)},w(t)}function x(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E(t){var e=b();return function(){var n,r=v(t);if(e){var i=v(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return x(t)}(this,n)}}function A(t){var e=function(t,e){if("object"!=typeof t||null===t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:String(e)}var C=void 0!==n.g&&"[object global]"==={}.toString.call(n.g);function T(t,e){return 0===t.indexOf(e.toLowerCase())?t:"".concat(e.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function S(t){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(t)}function k(t){return/^https:\/\/player\.vimeo\.com\/video\/\d+/.test(t)}function P(){var t,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=e.id,r=e.url,i=n||r;if(!i)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=i,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(i);if(S(i))return i.replace("http:","https:");if(n)throw new TypeError("“".concat(n,"” is not a valid video id."));throw new TypeError("“".concat(i,"” is not a vimeo.com url."))}var O=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",o="string"==typeof e?[e]:e;return o.forEach((function(e){t[r](e,n)})),{cancel:function(){return o.forEach((function(e){return t[i](e,n)}))}}},L=void 0!==Array.prototype.indexOf,D="undefined"!=typeof window&&void 0!==window.postMessage;if(!(C||L&&D))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var I="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};!function(t){if(!t.WeakMap){var e=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),r=function(t,e,r){n?Object.defineProperty(t,e,{configurable:!0,writable:!0,value:r}):t[e]=r};t.WeakMap=function(){function t(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap"+"_"+o()+"."+o()),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}function n(t,n){if(!i(t)||!e.call(t,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof t)}function o(){return Math.random().toString().substring(2)}return r(t.prototype,"delete",(function(t){if(n(this,"delete"),!i(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)&&(delete t[this._id],!0)})),r(t.prototype,"get",(function(t){if(n(this,"get"),i(t)){var e=t[this._id];return e&&e[0]===t?e[1]:void 0}})),r(t.prototype,"has",(function(t){if(n(this,"has"),!i(t))return!1;var e=t[this._id];return!(!e||e[0]!==t)})),r(t.prototype,"set",(function(t,e){if(n(this,"set"),!i(t))throw new TypeError("Invalid value used as weak map key");var o=t[this._id];return o&&o[0]===t?(o[1]=e,this):(r(t,this._id,[t,e]),this)})),r(t,"_polyfill",!0),t}()}function i(t){return Object(t)===t}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:I);var j,N,R=(j=function(t){var e,n,r;r=function(){var t,e,n,r=Object.prototype.toString,i="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),t=function(t,e,n,r){return Object.defineProperty(t,e,{value:n,writable:!0,configurable:!1!==r})}}catch(e){t=function(t,e,n){return t[e]=n,t}}function o(t,r){n.add(t,r),e||(e=i(n.drain))}function s(t){var e,n=typeof t;return null==t||"object"!=n&&"function"!=n||(e=t.then),"function"==typeof e&&e}function a(){for(var t=0;t<this.chain.length;t++)c(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function c(t,e,n){var r,i;try{!1===e?n.reject(t.msg):(r=!0===e?t.msg:e.call(void 0,t.msg))===n.promise?n.reject(TypeError("Promise-chain cycle")):(i=s(r))?i.call(r,n.resolve,n.reject):n.resolve(r)}catch(t){n.reject(t)}}function l(t){var e,n=this;if(!n.triggered){n.triggered=!0,n.def&&(n=n.def);try{(e=s(t))?o((function(){var r=new f(n);try{e.call(t,(function(){l.apply(r,arguments)}),(function(){u.apply(r,arguments)}))}catch(t){u.call(r,t)}})):(n.msg=t,n.state=1,n.chain.length>0&&o(a,n))}catch(t){u.call(new f(n),t)}}}function u(t){var e=this;e.triggered||(e.triggered=!0,e.def&&(e=e.def),e.msg=t,e.state=2,e.chain.length>0&&o(a,e))}function h(t,e,n,r){for(var i=0;i<e.length;i++)!function(i){t.resolve(e[i]).then((function(t){n(i,t)}),r)}(i)}function f(t){this.def=t,this.triggered=!1}function d(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function p(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.__NPO__)throw TypeError("Not a promise");this.__NPO__=1;var e=new d(this);this.then=function(t,n){var r={success:"function"!=typeof t||t,failure:"function"==typeof n&&n};return r.promise=new this.constructor((function(t,e){if("function"!=typeof t||"function"!=typeof e)throw TypeError("Not a function");r.resolve=t,r.reject=e})),e.chain.push(r),0!==e.state&&o(a,e),r.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,(function(t){l.call(e,t)}),(function(t){u.call(e,t)}))}catch(t){u.call(e,t)}}n=function(){var t,n,r;function i(t,e){this.fn=t,this.self=e,this.next=void 0}return{add:function(e,o){r=new i(e,o),n?n.next=r:t=r,n=r,r=void 0},drain:function(){var r=t;for(t=n=e=void 0;r;)r.fn.call(r.self),r=r.next}}}();var g=t({},"constructor",p,!1);return p.prototype=g,t(g,"__NPO__",0,!1),t(p,"resolve",(function(t){return t&&"object"==typeof t&&1===t.__NPO__?t:new this((function(e,n){if("function"!=typeof e||"function"!=typeof n)throw TypeError("Not a function");e(t)}))})),t(p,"reject",(function(t){return new this((function(e,n){if("function"!=typeof e||"function"!=typeof n)throw TypeError("Not a function");n(t)}))})),t(p,"all",(function(t){var e=this;return"[object Array]"!=r.call(t)?e.reject(TypeError("Not an array")):0===t.length?e.resolve([]):new e((function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");var i=t.length,o=Array(i),s=0;h(e,t,(function(t,e){o[t]=e,++s===i&&n(o)}),r)}))})),t(p,"race",(function(t){var e=this;return"[object Array]"!=r.call(t)?e.reject(TypeError("Not an array")):new e((function(n,r){if("function"!=typeof n||"function"!=typeof r)throw TypeError("Not a function");h(e,t,(function(t,e){n(e)}),r)}))})),p},(n=I)[e="Promise"]=n[e]||r(),t.exports&&(t.exports=n[e])},j(N={exports:{}},N.exports),N.exports),M=new WeakMap;function q(t,e,n){var r=M.get(t.element)||{};e in r||(r[e]=[]),r[e].push(n),M.set(t.element,r)}function F(t,e){return(M.get(t.element)||{})[e]||[]}function B(t,e,n){var r=M.get(t.element)||{};if(!r[e])return!0;if(!n)return r[e]=[],M.set(t.element,r),!0;var i=r[e].indexOf(n);return-1!==i&&r[e].splice(i,1),M.set(t.element,r),r[e]&&0===r[e].length}function H(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.warn(t),{}}return t}function z(t,e,n){if(t.element.contentWindow&&t.element.contentWindow.postMessage){var r={method:e};void 0!==n&&(r.value=n);var i=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));i>=8&&i<10&&(r=JSON.stringify(r)),t.element.contentWindow.postMessage(r,t.origin)}}function W(t,e){var n,r=[];if((e=H(e)).event){if("error"===e.event)F(t,e.data.method).forEach((function(n){var r=new Error(e.data.message);r.name=e.data.name,n.reject(r),B(t,e.data.method,n)}));r=F(t,"event:".concat(e.event)),n=e.data}else if(e.method){var i=function(t,e){var n=F(t,e);if(n.length<1)return!1;var r=n.shift();return B(t,e,r),r}(t,e.method);i&&(r.push(i),n=e.value)}r.forEach((function(e){try{if("function"==typeof e)return void e.call(t,n);e.resolve(n)}catch(t){}}))}var U=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapters","chromecast","color","colors","controls","dnt","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","texttrack","title","transcript","transparent","url","vimeo_logo","volume","width"];function V(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return U.reduce((function(e,n){var r=t.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(e[n]=""===r?1:r),e}),e)}function Y(t,e){var n=t.html;if(!e)throw new TypeError("An element must be provided");if(null!==e.getAttribute("data-vimeo-initialized"))return e.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,e.appendChild(r.firstChild),e.setAttribute("data-vimeo-initialized","true"),e.querySelector("iframe")}function X(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise((function(r,i){if(!S(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var o="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(t));for(var s in e)e.hasOwnProperty(s)&&(o+="&".concat(s,"=").concat(encodeURIComponent(e[s])));var a="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;a.open("GET",o,!0),a.onload=function(){if(404!==a.status)if(403!==a.status)try{var e=JSON.parse(a.responseText);if(403===e.domain_status_code)return Y(e,n),void i(new Error("“".concat(t,"” is not embeddable.")));r(e)}catch(t){i(t)}else i(new Error("“".concat(t,"” is not embeddable.")));else i(new Error("“".concat(t,"” was not found.")))},a.onerror=function(){var t=a.status?" (".concat(a.status,")"):"";i(new Error("There was an error fetching the embed code from Vimeo".concat(t,".")))},a.send()}))}var G={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},K=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&y(t,e)}(o,t);var e,n,r,i=E(o);function o(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;return d(this,o),m(x(n=i.call(this)),"logger",void 0),m(x(n),"speedAdjustment",0),m(x(n),"adjustSpeed",function(){var t=f(u().mark((function t(e,r){var i;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n.speedAdjustment!==r){t.next=2;break}return t.abrupt("return");case 2:return t.next=4,e.getPlaybackRate();case 4:return t.t0=t.sent,t.t1=n.speedAdjustment,t.t2=t.t0-t.t1,t.t3=r,i=t.t2+t.t3,n.log("New playbackRate:  ".concat(i)),t.next=12,e.setPlaybackRate(i);case 12:n.speedAdjustment=r;case 13:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()),n.logger=s,n.init(e,t,l(l({},G),r)),n}return g(o,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(r=f(u().mark((function t(e,n,r){var i,o,s,a=this;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,this.waitForTOReadyState(e,"open");case 2:if("viewer"!==r.role){t.next=10;break}return t.next=5,this.updatePlayer(e,n,r);case 5:i=O(e,"change",(function(){return a.updatePlayer(e,n,r)})),o=this.maintainPlaybackPosition(e,n,r),this.addEventListener("disconnect",(function(){o.cancel(),i.cancel()})),t.next=14;break;case 10:return t.next=12,this.updateTimingObject(e,n);case 12:s=O(n,["seeked","play","pause","ratechange"],(function(){return a.updateTimingObject(e,n)}),"on","off"),this.addEventListener("disconnect",(function(){return s.cancel()}));case 14:case"end":return t.stop()}}),t,this)}))),function(t,e,n){return r.apply(this,arguments)})},{key:"updateTimingObject",value:(n=f(u().mark((function t(e,n){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.t0=e,t.next=3,n.getCurrentTime();case 3:return t.t1=t.sent,t.next=6,n.getPaused();case 6:if(!t.sent){t.next=10;break}t.t2=0,t.next=13;break;case 10:return t.next=12,n.getPlaybackRate();case 12:t.t2=t.sent;case 13:t.t3=t.t2,t.t4={position:t.t1,velocity:t.t3},t.t0.update.call(t.t0,t.t4);case 16:case"end":return t.stop()}}),t)}))),function(t,e){return n.apply(this,arguments)})},{key:"updatePlayer",value:(e=f(u().mark((function t(e,n,r){var i,o,s;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(i=e.query(),o=i.position,s=i.velocity,"number"==typeof o&&n.setCurrentTime(o),"number"!=typeof s){t.next=25;break}if(0!==s){t.next=11;break}return t.next=6,n.getPaused();case 6:if(t.t0=t.sent,!1!==t.t0){t.next=9;break}n.pause();case 9:t.next=25;break;case 11:if(!(s>0)){t.next=25;break}return t.next=14,n.getPaused();case 14:if(t.t1=t.sent,!0!==t.t1){t.next=19;break}return t.next=18,n.play().catch(function(){var t=f(u().mark((function t(e){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("NotAllowedError"!==e.name||!r.autoPlayMuted){t.next=5;break}return t.next=3,n.setMuted(!0);case 3:return t.next=5,n.play().catch((function(t){return console.error("Couldn't play the video from TimingSrcConnector. Error:",t)}));case 5:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}());case 18:this.updatePlayer(e,n,r);case 19:return t.next=21,n.getPlaybackRate();case 21:if(t.t2=t.sent,t.t3=s,t.t2===t.t3){t.next=25;break}n.setPlaybackRate(s);case 25:case"end":return t.stop()}}),t,this)}))),function(t,n,r){return e.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(t,e,n){var r=this,i=n.allowedDrift,o=n.maxAllowedDrift,s=n.minCheckInterval,a=n.maxRateAdjustment,c=n.maxTimeToCatchUp,l=1e3*Math.min(c,Math.max(s,o)),h=function(){var n=f(u().mark((function n(){var s,l,h,f,d;return u().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=0===t.query().velocity,n.t0){n.next=6;break}return n.next=4,e.getPaused();case 4:n.t1=n.sent,n.t0=!0===n.t1;case 6:if(!n.t0){n.next=8;break}return n.abrupt("return");case 8:return n.t2=t.query().position,n.next=11,e.getCurrentTime();case 11:if(n.t3=n.sent,s=n.t2-n.t3,l=Math.abs(s),r.log("Drift: ".concat(s)),!(l>o)){n.next=22;break}return n.next=18,r.adjustSpeed(e,0);case 18:e.setCurrentTime(t.query().position),r.log("Resync by currentTime"),n.next=29;break;case 22:if(!(l>i)){n.next=29;break}return d=(h=l/c)<(f=a)?(f-h)/2:f,n.next=28,r.adjustSpeed(e,d*Math.sign(s));case 28:r.log("Resync by playbackRate");case 29:case"end":return n.stop()}}),n)})));return function(){return n.apply(this,arguments)}}(),d=setInterval((function(){return h()}),l);return{cancel:function(){return clearInterval(d)}}}},{key:"log",value:function(t){var e;null===(e=this.logger)||void 0===e||e.call(this,"TimingSrcConnector: ".concat(t))}},{key:"waitForTOReadyState",value:function(t,e){return new Promise((function(n){!function r(){t.readyState===e?n():t.addEventListener("readystatechange",r,{once:!0})}()}))}}]),o}(w(EventTarget)),Z=new WeakMap,Q=new WeakMap,J={},tt=function(){function t(e){var n=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(d(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!function(t){return Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}(e))throw new TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){var i=e.querySelector("iframe");i&&(e=i)}if("IFRAME"===e.nodeName&&!S(e.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Z.has(e))return Z.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var o=new R((function(t,i){if(n._onMessage=function(e){if(S(e.origin)&&n.element.contentWindow===e.source){"*"===n.origin&&(n.origin=e.origin);var r=H(e.data);if(r&&"error"===r.event&&r.data&&"ready"===r.data.method){var o=new Error(r.data.message);return o.name=r.data.name,void i(o)}var s=r&&"ready"===r.event,a=r&&"ping"===r.method;if(s||a)return n.element.setAttribute("data-ready","true"),void t();W(n,r)}},n._window.addEventListener("message",n._onMessage),"IFRAME"!==n.element.nodeName){var o=V(e,r);X(P(o),o,e).then((function(t){var r,i,o,s=Y(t,e);return n.element=s,n._originalElement=e,r=e,i=s,o=M.get(r),M.set(i,o),M.delete(r),Z.set(n.element,n),t})).catch(i)}}));if(Q.set(this,o),Z.set(this.element,this),"IFRAME"===this.element.nodeName&&z(this,"ping"),J.isEnabled){var s=function(){return J.exit()};this.fullscreenchangeHandler=function(){J.isFullscreen?q(n,"event:exitFullscreen",s):B(n,"event:exitFullscreen",s),n.ready().then((function(){z(n,"fullscreenchange",J.isFullscreen)}))},J.on("fullscreenchange",this.fullscreenchangeHandler)}return this}var e;return g(t,[{key:"callMethod",value:function(t){var e=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new R((function(r,i){return e.ready().then((function(){q(e,t,{resolve:r,reject:i}),z(e,t,n)})).catch(i)}))}},{key:"get",value:function(t){var e=this;return new R((function(n,r){return t=T(t,"get"),e.ready().then((function(){q(e,t,{resolve:n,reject:r}),z(e,t)})).catch(r)}))}},{key:"set",value:function(t,e){var n=this;return new R((function(r,i){if(t=T(t,"set"),null==e)throw new TypeError("There must be a value to set.");return n.ready().then((function(){q(n,t,{resolve:r,reject:i}),z(n,t,e)})).catch(i)}))}},{key:"on",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(!e)throw new TypeError("You must pass a callback function.");if("function"!=typeof e)throw new TypeError("The callback must be a function.");0===F(this,"event:".concat(t)).length&&this.callMethod("addEventListener",t).catch((function(){})),q(this,"event:".concat(t),e)}},{key:"off",value:function(t,e){if(!t)throw new TypeError("You must pass an event name.");if(e&&"function"!=typeof e)throw new TypeError("The callback must be a function.");B(this,"event:".concat(t),e)&&this.callMethod("removeEventListener",t).catch((function(t){}))}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=Q.get(this)||new R((function(t,e){e(new Error("Unknown player. Probably unloaded."))}));return R.resolve(t)}},{key:"addCuePoint",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:t,data:e})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,e){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:e})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return J.isEnabled?J.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return J.isEnabled?J.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return J.isEnabled?R.resolve(J.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var t=this;return new R((function(e){if(Q.delete(t),Z.delete(t.element),t._originalElement&&(Z.delete(t._originalElement),t._originalElement.removeAttribute("data-vimeo-initialized")),t.element&&"IFRAME"===t.element.nodeName&&t.element.parentNode&&(t.element.parentNode.parentNode&&t._originalElement&&t._originalElement!==t.element.parentNode?t.element.parentNode.parentNode.removeChild(t.element.parentNode):t.element.parentNode.removeChild(t.element)),t.element&&"DIV"===t.element.nodeName&&t.element.parentNode){t.element.removeAttribute("data-vimeo-initialized");var n=t.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&t._originalElement&&t._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}t._window.removeEventListener("message",t._onMessage),J.isEnabled&&J.off("fullscreenchange",t.fullscreenchangeHandler),e()}))}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return R.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"setColors",value:function(t){if(!Array.isArray(t))return new R((function(t,e){return e(new TypeError("Argument must be an array."))}));var e=new R((function(t){return t(null)})),n=[t[0]?this.set("colorOne",t[0]):e,t[1]?this.set("colorTwo",t[1]):e,t[2]?this.set("colorThree",t[2]):e,t[3]?this.set("colorFour",t[3]):e];return R.all(n)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}},{key:"setTimingSrc",value:(e=f(u().mark((function t(e,n){var r,i=this;return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(e){t.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return t.next=4,this.ready();case 4:return r=new K(this,e,n),z(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",(function(){return z(i,"notifyTimingObjectDisconnect")})),t.abrupt("return",r);case 8:case"end":return t.stop()}}),t,this)}))),function(t,n){return e.apply(this,arguments)})}]),t}();C||(J=function(){var t=function(){for(var t,e=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=e.length,i={};n<r;n++)if((t=e[n])&&t[1]in document){for(n=0;n<t.length;n++)i[e[0][n]]=t[n];return i}return!1}(),e={fullscreenchange:t.fullscreenchange,fullscreenerror:t.fullscreenerror},n={request:function(e){return new Promise((function(r,i){var o=function t(){n.off("fullscreenchange",t),r()};n.on("fullscreenchange",o);var s=(e=e||document.documentElement)[t.requestFullscreen]();s instanceof Promise&&s.then(o).catch(i)}))},exit:function(){return new Promise((function(e,r){if(n.isFullscreen){var i=function t(){n.off("fullscreenchange",t),e()};n.on("fullscreenchange",i);var o=document[t.exitFullscreen]();o instanceof Promise&&o.then(i).catch(r)}else e()}))},on:function(t,n){var r=e[t];r&&document.addEventListener(r,n)},off:function(t,n){var r=e[t];r&&document.removeEventListener(r,n)}};return Object.defineProperties(n,{isFullscreen:{get:function(){return Boolean(document[t.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[t.fullscreenEnabled])}}}),n}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document,e=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(t){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(t))};e.forEach((function(t){try{if(null!==t.getAttribute("data-vimeo-defer"))return;var e=V(t);X(P(e),e,t).then((function(e){return Y(e,t)})).catch(n)}catch(t){n(t)}}))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",(function(e){if(S(e.origin)&&e.data&&"spacechange"===e.data.event)for(var n=t.querySelectorAll("iframe"),r=0;r<n.length;r++)if(n[r].contentWindow===e.source){n[r].parentElement.style.paddingBottom="".concat(e.data.data[0].bottom,"px");break}})))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",(function(e){if(S(e.origin)){var n=H(e.data);if(n&&"ready"===n.event)for(var r=t.querySelectorAll("iframe"),i=0;i<r.length;i++){var o=r[i],s=o.contentWindow===e.source;k(o.src)&&s&&new tt(o).callMethod("appendVideoMetadata",window.location.href)}}})))}(),function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var e=function(t){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(t))};window.addEventListener("message",(function(n){if(S(n.origin)){var r=H(n.data);if(r&&"ready"===r.event)for(var i=t.querySelectorAll("iframe"),o=function(){var t=i[s],r=t.contentWindow===n.source;if(k(t.src)&&r){var o=new tt(t);o.getVideoId().then((function(t){var e=new RegExp("[?&]vimeo_t_".concat(t,"=([^&#]*)")).exec(window.location.href);if(e&&e[1]){var n=decodeURI(e[1]);o.setCurrentTime(n)}})).catch(e)}},s=0;s<i.length;s++)o()}}))}}());const et=tt,nt={xy:function(){var t=window,e=document,n=e.documentElement,r=e.getElementsByTagName("body")[0];return{x:t.innerWidth||n.clientWidth||r.clientWidth,y:t.innerHeight||n.clientHeight||r.clientHeight,scrollY:t.scrollY}},breakpoints:function(){return{sm:576,md:768,lg:992,xl:1200,xxl:1500}},siteNavbarOnScroll:function(){var t=a()("body > nav.navbar");this.xy().scrollY>=10?t.hasClass("nav-scrolled")||t.addClass("nav-scrolled"):t.hasClass("nav-scrolled")&&t.removeClass("nav-scrolled")},switchElPos:function(t,e,n,r){this.xy().x>=t?0===e.children().length&&r.detach().appendTo(e):0===n.children().length&&r.detach().appendTo(n)},viewportDetector:function(t,e,n){t.each((function(){a()(this).isInViewport(n)&&(a()(this).hasClass(e)||a()(this).addClass(e))}))},viewportInOutDetector:function(t,e,n){t.each((function(){a()(this).isInViewport(n)?a()(this).hasClass(e)||a()(this).addClass(e):a()(this).hasClass(e)&&a()(this).removeClass(e)}))},expandTagFiltersOnClick:function(){var t=a()(".tags-wrapper"),e=a()("#coursesExpandTags");this.xy().x>=this.breakpoints().lg?t.find("ul").height()>44?(e.parent().addClass("expand-visible"),e.on("click",(function(e){e.preventDefault(),a()(this).toggleClass("active-link"),t.toggleClass("expanded-more")}))):e.parent().removeClass("expand-visible"):(e.parent().removeClass("expand-visible"),e.removeClass("active-link"),t.removeClass("expanded-more"))},deleteGoogleAnalyticsCookiesWhenDenyAllCookies:function(){for(var t=document.cookie.split("; "),e=0;e<t.length;e++)"_cookie_privacy_accepted=deny_all_cookies"===t[e]&&!0;for(var n=0;n<t.length;n++)0===t[n].indexOf("_ga=")&&(document.cookie="_ga=; domain=."+location.host+"; path=/; max-age=0;"),0===t[n].indexOf("_ga=")&&(document.cookie="_gid=; domain=."+location.host+"; path=/; max-age=0;"),0===t[n].indexOf("_ga=")&&(document.cookie="_gat=; domain=."+location.host+"; path=/; max-age=0;")},pausePlayCopertinaIframeCourses:function(t){var e=null,n=this;t.mouseenter((function(){if(n.xy().x>=n.breakpoints().lg){var r=a()(this).find("iframe");null!=e&&e.pause(),r.length>0&&(r.hasClass("iframe-visible")||(t.find("iframe").removeClass("iframe-visible"),r.addClass("iframe-visible")),(e=new et(r[0])).setCurrentTime(0),e.setAutopause(1),e.play())}})),t.mouseleave((function(){if(n.xy().x>=n.breakpoints().lg){var t=a()(this).find("iframe");t.length>0&&t.hasClass("iframe-visible")&&t.removeClass("iframe-visible"),null!=e&&(e.pause(),e=null)}})),t.click((function(){if(n.xy().x<n.breakpoints().lg){var r=a()(this).find("iframe");null!=e&&e.pause(),r.length>0&&(r.hasClass("iframe-visible")?r.hasClass("iframe-visible")&&(r.removeClass("iframe-visible"),null!=e&&(e.pause(),e=null)):(t.find("iframe").removeClass("iframe-visible"),r.addClass("iframe-visible"),(e=new et(r[0])).setCurrentTime(0),e.setAutopause(1),e.play()))}}))}},rt=t=>"object"==typeof t&&null!==t&&t.constructor===Object&&"[object Object]"===Object.prototype.toString.call(t),it=(...t)=>{let e=!1;"boolean"==typeof t[0]&&(e=t.shift());let n=t[0];if(!n||"object"!=typeof n)throw new Error("extendee must be an object");const r=t.slice(1),i=r.length;for(let t=0;t<i;t++){const i=r[t];for(let t in i)if(i.hasOwnProperty(t)){const r=i[t];if(e&&(Array.isArray(r)||rt(r))){const e=Array.isArray(r)?[]:{};n[t]=it(!0,n.hasOwnProperty(t)?n[t]:e,r)}else n[t]=r}}return n},ot=(t,e=1e4)=>(t=parseFloat(t)||0,Math.round((t+Number.EPSILON)*e)/e),st=function(t){return!!(t&&"object"==typeof t&&t instanceof Element&&t!==document.body)&&!t.__Panzoom&&(function(t){const e=getComputedStyle(t)["overflow-y"],n=getComputedStyle(t)["overflow-x"],r=("scroll"===e||"auto"===e)&&Math.abs(t.scrollHeight-t.clientHeight)>1,i=("scroll"===n||"auto"===n)&&Math.abs(t.scrollWidth-t.clientWidth)>1;return r||i}(t)?t:st(t.parentNode))},at="undefined"!=typeof window&&window.ResizeObserver||class{constructor(t){this.observables=[],this.boundCheck=this.check.bind(this),this.boundCheck(),this.callback=t}observe(t){if(this.observables.some((e=>e.el===t)))return;const e={el:t,size:{height:t.clientHeight,width:t.clientWidth}};this.observables.push(e)}unobserve(t){this.observables=this.observables.filter((e=>e.el!==t))}disconnect(){this.observables=[]}check(){const t=this.observables.filter((t=>{const e=t.el.clientHeight,n=t.el.clientWidth;if(t.size.height!==e||t.size.width!==n)return t.size.height=e,t.size.width=n,!0})).map((t=>t.el));t.length>0&&this.callback(t),window.requestAnimationFrame(this.boundCheck)}};class ct{constructor(t){this.id=self.Touch&&t instanceof Touch?t.identifier:-1,this.pageX=t.pageX,this.pageY=t.pageY,this.clientX=t.clientX,this.clientY=t.clientY}}const lt=(t,e)=>e?Math.sqrt((e.clientX-t.clientX)**2+(e.clientY-t.clientY)**2):0,ut=(t,e)=>e?{clientX:(t.clientX+e.clientX)/2,clientY:(t.clientY+e.clientY)/2}:t;class ht{constructor(t,{start:e=(()=>!0),move:n=(()=>{}),end:r=(()=>{})}={}){this._element=t,this.startPointers=[],this.currentPointers=[],this._pointerStart=t=>{if(t.buttons>0&&0!==t.button)return;const e=new ct(t);this.currentPointers.some((t=>t.id===e.id))||this._triggerPointerStart(e,t)&&(window.addEventListener("mousemove",this._move),window.addEventListener("mouseup",this._pointerEnd))},this._touchStart=t=>{for(const e of Array.from(t.changedTouches||[]))this._triggerPointerStart(new ct(e),t)},this._move=t=>{const e=this.currentPointers.slice(),n=(t=>"changedTouches"in t)(t)?Array.from(t.changedTouches).map((t=>new ct(t))):[new ct(t)];for(const t of n){const e=this.currentPointers.findIndex((e=>e.id===t.id));e<0||(this.currentPointers[e]=t)}this._moveCallback(e,this.currentPointers.slice(),t)},this._triggerPointerEnd=(t,e)=>{const n=this.currentPointers.findIndex((e=>e.id===t.id));return!(n<0||(this.currentPointers.splice(n,1),this.startPointers.splice(n,1),this._endCallback(t,e),0))},this._pointerEnd=t=>{t.buttons>0&&0!==t.button||this._triggerPointerEnd(new ct(t),t)&&(window.removeEventListener("mousemove",this._move,{passive:!1}),window.removeEventListener("mouseup",this._pointerEnd,{passive:!1}))},this._touchEnd=t=>{for(const e of Array.from(t.changedTouches||[]))this._triggerPointerEnd(new ct(e),t)},this._startCallback=e,this._moveCallback=n,this._endCallback=r,this._element.addEventListener("mousedown",this._pointerStart,{passive:!1}),this._element.addEventListener("touchstart",this._touchStart,{passive:!1}),this._element.addEventListener("touchmove",this._move,{passive:!1}),this._element.addEventListener("touchend",this._touchEnd),this._element.addEventListener("touchcancel",this._touchEnd)}stop(){this._element.removeEventListener("mousedown",this._pointerStart,{passive:!1}),this._element.removeEventListener("touchstart",this._touchStart,{passive:!1}),this._element.removeEventListener("touchmove",this._move,{passive:!1}),this._element.removeEventListener("touchend",this._touchEnd),this._element.removeEventListener("touchcancel",this._touchEnd),window.removeEventListener("mousemove",this._move),window.removeEventListener("mouseup",this._pointerEnd)}_triggerPointerStart(t,e){return!!this._startCallback(t,e)&&(this.currentPointers.push(t),this.startPointers.push(t),!0)}}class ft{constructor(t={}){this.options=it(!0,{},t),this.plugins=[],this.events={};for(const t of["on","once"])for(const e of Object.entries(this.options[t]||{}))this[t](...e)}option(t,e,...n){let r=(i=t=String(t),o=this.options,i.split(".").reduce((function(t,e){return t&&t[e]}),o));var i,o;return"function"==typeof r&&(r=r.call(this,this,...n)),void 0===r?e:r}localize(t,e=[]){return(t=String(t).replace(/\{\{(\w+).?(\w+)?\}\}/g,((t,n,r)=>{let i="";r?i=this.option(`${n[0]+n.toLowerCase().substring(1)}.l10n.${r}`):n&&(i=this.option(`l10n.${n}`)),i||(i=t);for(let t=0;t<e.length;t++)i=i.split(e[t][0]).join(e[t][1]);return i}))).replace(/\{\{(.*)\}\}/,((t,e)=>e))}on(t,e){if(rt(t)){for(const e of Object.entries(t))this.on(...e);return this}return String(t).split(" ").forEach((t=>{const n=this.events[t]=this.events[t]||[];-1==n.indexOf(e)&&n.push(e)})),this}once(t,e){if(rt(t)){for(const e of Object.entries(t))this.once(...e);return this}return String(t).split(" ").forEach((t=>{const n=(...r)=>{this.off(t,n),e.call(this,this,...r)};n._=e,this.on(t,n)})),this}off(t,e){if(!rt(t))return t.split(" ").forEach((t=>{const n=this.events[t];if(!n||!n.length)return this;let r=-1;for(let t=0,i=n.length;t<i;t++){const i=n[t];if(i&&(i===e||i._===e)){r=t;break}}-1!=r&&n.splice(r,1)})),this;for(const e of Object.entries(t))this.off(...e)}trigger(t,...e){for(const n of[...this.events[t]||[]].slice())if(n&&!1===n.call(this,this,...e))return!1;for(const n of[...this.events["*"]||[]].slice())if(n&&!1===n.call(this,t,this,...e))return!1;return!0}attachPlugins(t){const e={};for(const[n,r]of Object.entries(t||{}))!1===this.options[n]||this.plugins[n]||(this.options[n]=it({},r.defaults||{},this.options[n]),e[n]=new r(this));for(const[t,n]of Object.entries(e))n.attach(this);return this.plugins=Object.assign({},this.plugins,e),this}detachPlugins(){for(const t in this.plugins){let e;(e=this.plugins[t])&&"function"==typeof e.detach&&e.detach(this)}return this.plugins={},this}}const dt={touch:!0,zoom:!0,pinchToZoom:!0,panOnlyZoomed:!1,lockAxis:!1,friction:.64,decelFriction:.88,zoomFriction:.74,bounceForce:.2,baseScale:1,minScale:1,maxScale:2,step:.5,textSelection:!1,click:"toggleZoom",wheel:"zoom",wheelFactor:42,wheelLimit:5,draggableClass:"is-draggable",draggingClass:"is-dragging",ratio:1};class pt extends ft{constructor(t,e={}){super(it(!0,{},dt,e)),this.state="init",this.$container=t;for(const t of["onLoad","onWheel","onClick"])this[t]=this[t].bind(this);this.initLayout(),this.resetValues(),this.attachPlugins(pt.Plugins),this.trigger("init"),this.updateMetrics(),this.attachEvents(),this.trigger("ready"),!1===this.option("centerOnStart")?this.state="ready":this.panTo({friction:0}),t.__Panzoom=this}initLayout(){const t=this.$container;if(!(t instanceof HTMLElement))throw new Error("Panzoom: Container not found");const e=this.option("content")||t.querySelector(".panzoom__content");if(!e)throw new Error("Panzoom: Content not found");this.$content=e;let n=this.option("viewport")||t.querySelector(".panzoom__viewport");n||!1===this.option("wrapInner")||(n=document.createElement("div"),n.classList.add("panzoom__viewport"),n.append(...t.childNodes),t.appendChild(n)),this.$viewport=n||e.parentNode}resetValues(){this.updateRate=this.option("updateRate",/iPhone|iPad|iPod|Android/i.test(navigator.userAgent)?250:24),this.container={width:0,height:0},this.viewport={width:0,height:0},this.content={origWidth:0,origHeight:0,width:0,height:0,x:this.option("x",0),y:this.option("y",0),scale:this.option("baseScale")},this.transform={x:0,y:0,scale:1},this.resetDragPosition()}onLoad(t){this.updateMetrics(),this.panTo({scale:this.option("baseScale"),friction:0}),this.trigger("load",t)}onClick(t){if(t.defaultPrevented)return;if(document.activeElement&&document.activeElement.closest("[contenteditable]"))return;if(this.option("textSelection")&&window.getSelection().toString().length&&(!t.target||!t.target.hasAttribute("data-fancybox-close")))return void t.stopPropagation();const e=this.$content.getClientRects()[0];if("ready"!==this.state&&(this.dragPosition.midPoint||Math.abs(e.top-this.dragStart.rect.top)>1||Math.abs(e.left-this.dragStart.rect.left)>1))return t.preventDefault(),void t.stopPropagation();!1!==this.trigger("click",t)&&this.option("zoom")&&"toggleZoom"===this.option("click")&&(t.preventDefault(),t.stopPropagation(),this.zoomWithClick(t))}onWheel(t){!1!==this.trigger("wheel",t)&&this.option("zoom")&&this.option("wheel")&&this.zoomWithWheel(t)}zoomWithWheel(t){void 0===this.changedDelta&&(this.changedDelta=0);const e=Math.max(-1,Math.min(1,-t.deltaY||-t.deltaX||t.wheelDelta||-t.detail)),n=this.content.scale;let r=n*(100+e*this.option("wheelFactor"))/100;if(e<0&&Math.abs(n-this.option("minScale"))<.01||e>0&&Math.abs(n-this.option("maxScale"))<.01?(this.changedDelta+=Math.abs(e),r=n):(this.changedDelta=0,r=Math.max(Math.min(r,this.option("maxScale")),this.option("minScale"))),this.changedDelta>this.option("wheelLimit"))return;if(t.preventDefault(),r===n)return;const i=this.$content.getBoundingClientRect(),o=t.clientX-i.left,s=t.clientY-i.top;this.zoomTo(r,{x:o,y:s})}zoomWithClick(t){const e=this.$content.getClientRects()[0],n=t.clientX-e.left,r=t.clientY-e.top;this.toggleZoom({x:n,y:r})}attachEvents(){this.$content.addEventListener("load",this.onLoad),this.$container.addEventListener("wheel",this.onWheel,{passive:!1}),this.$container.addEventListener("click",this.onClick,{passive:!1}),this.initObserver();const t=new ht(this.$container,{start:(e,n)=>{if(!this.option("touch"))return!1;if(this.velocity.scale<0)return!1;const r=n.composedPath()[0];if(!t.currentPointers.length){if(-1!==["BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(r.nodeName))return!1;if(this.option("textSelection")&&((t,e,n)=>{const r=t.childNodes,i=document.createRange();for(let t=0;t<r.length;t++){const o=r[t];if(o.nodeType!==Node.TEXT_NODE)continue;i.selectNodeContents(o);const s=i.getBoundingClientRect();if(e>=s.left&&n>=s.top&&e<=s.right&&n<=s.bottom)return o}return!1})(r,e.clientX,e.clientY))return!1}return!st(r)&&!1!==this.trigger("touchStart",n)&&("mousedown"===n.type&&n.preventDefault(),this.state="pointerdown",this.resetDragPosition(),this.dragPosition.midPoint=null,this.dragPosition.time=Date.now(),!0)},move:(e,n,r)=>{if("pointerdown"!==this.state)return;if(!1===this.trigger("touchMove",r))return void r.preventDefault();if(n.length<2&&!0===this.option("panOnlyZoomed")&&this.content.width<=this.viewport.width&&this.content.height<=this.viewport.height&&this.transform.scale<=this.option("baseScale"))return;if(n.length>1&&(!this.option("zoom")||!1===this.option("pinchToZoom")))return;const i=ut(e[0],e[1]),o=ut(n[0],n[1]),s=o.clientX-i.clientX,a=o.clientY-i.clientY,c=lt(e[0],e[1]),l=lt(n[0],n[1]),u=c&&l?l/c:1;this.dragOffset.x+=s,this.dragOffset.y+=a,this.dragOffset.scale*=u,this.dragOffset.time=Date.now()-this.dragPosition.time;const h=1===this.dragStart.scale&&this.option("lockAxis");if(h&&!this.lockAxis){if(Math.abs(this.dragOffset.x)<6&&Math.abs(this.dragOffset.y)<6)return void r.preventDefault();const t=Math.abs(180*Math.atan2(this.dragOffset.y,this.dragOffset.x)/Math.PI);this.lockAxis=t>45&&t<135?"y":"x"}if("xy"===h||"y"!==this.lockAxis){if(r.preventDefault(),r.stopPropagation(),r.stopImmediatePropagation(),this.lockAxis&&(this.dragOffset["x"===this.lockAxis?"y":"x"]=0),this.$container.classList.add(this.option("draggingClass")),this.transform.scale===this.option("baseScale")&&"y"===this.lockAxis||(this.dragPosition.x=this.dragStart.x+this.dragOffset.x),this.transform.scale===this.option("baseScale")&&"x"===this.lockAxis||(this.dragPosition.y=this.dragStart.y+this.dragOffset.y),this.dragPosition.scale=this.dragStart.scale*this.dragOffset.scale,n.length>1){const e=ut(t.startPointers[0],t.startPointers[1]),n=e.clientX-this.dragStart.rect.x,r=e.clientY-this.dragStart.rect.y,{deltaX:i,deltaY:s}=this.getZoomDelta(this.content.scale*this.dragOffset.scale,n,r);this.dragPosition.x-=i,this.dragPosition.y-=s,this.dragPosition.midPoint=o}else this.setDragResistance();this.transform={x:this.dragPosition.x,y:this.dragPosition.y,scale:this.dragPosition.scale},this.startAnimation()}},end:(e,n)=>{if("pointerdown"!==this.state)return;if(this._dragOffset={...this.dragOffset},t.currentPointers.length)return void this.resetDragPosition();if(this.state="decel",this.friction=this.option("decelFriction"),this.recalculateTransform(),this.$container.classList.remove(this.option("draggingClass")),!1===this.trigger("touchEnd",n))return;if("decel"!==this.state)return;const r=this.option("minScale");if(this.transform.scale<r)return void this.zoomTo(r,{friction:.64});const i=this.option("maxScale");if(this.transform.scale-i>.01){const t=this.dragPosition.midPoint||e,n=this.$content.getClientRects()[0];this.zoomTo(i,{friction:.64,x:t.clientX-n.left,y:t.clientY-n.top})}}});this.pointerTracker=t}initObserver(){this.resizeObserver||(this.resizeObserver=new at((()=>{this.updateTimer||(this.updateTimer=setTimeout((()=>{const t=this.$container.getBoundingClientRect();t.width&&t.height?((Math.abs(t.width-this.container.width)>1||Math.abs(t.height-this.container.height)>1)&&(this.isAnimating()&&this.endAnimation(!0),this.updateMetrics(),this.panTo({x:this.content.x,y:this.content.y,scale:this.option("baseScale"),friction:0})),this.updateTimer=null):this.updateTimer=null}),this.updateRate))})),this.resizeObserver.observe(this.$container))}resetDragPosition(){this.lockAxis=null,this.friction=this.option("friction"),this.velocity={x:0,y:0,scale:0};const{x:t,y:e,scale:n}=this.content;this.dragStart={rect:this.$content.getBoundingClientRect(),x:t,y:e,scale:n},this.dragPosition={...this.dragPosition,x:t,y:e,scale:n},this.dragOffset={x:0,y:0,scale:1,time:0}}updateMetrics(t){!0!==t&&this.trigger("beforeUpdate");const e=this.$container,n=this.$content,r=this.$viewport,i=n instanceof HTMLImageElement,o=this.option("zoom"),s=this.option("resizeParent",o);let a=this.option("width"),c=this.option("height"),l=a||(u=n,Math.max(parseFloat(u.naturalWidth||0),parseFloat(u.width&&u.width.baseVal&&u.width.baseVal.value||0),parseFloat(u.offsetWidth||0),parseFloat(u.scrollWidth||0)));var u;let h=c||(t=>Math.max(parseFloat(t.naturalHeight||0),parseFloat(t.height&&t.height.baseVal&&t.height.baseVal.value||0),parseFloat(t.offsetHeight||0),parseFloat(t.scrollHeight||0)))(n);Object.assign(n.style,{width:a?`${a}px`:"",height:c?`${c}px`:"",maxWidth:"",maxHeight:""}),s&&Object.assign(r.style,{width:"",height:""});const f=this.option("ratio");l=ot(l*f),h=ot(h*f),a=l,c=h;const d=n.getBoundingClientRect(),p=r.getBoundingClientRect(),g=r==e?p:e.getBoundingClientRect();let m=Math.max(r.offsetWidth,ot(p.width)),v=Math.max(r.offsetHeight,ot(p.height)),y=window.getComputedStyle(r);if(m-=parseFloat(y.paddingLeft)+parseFloat(y.paddingRight),v-=parseFloat(y.paddingTop)+parseFloat(y.paddingBottom),this.viewport.width=m,this.viewport.height=v,o){if(Math.abs(l-d.width)>.1||Math.abs(h-d.height)>.1){const t=((t,e,n,r)=>{const i=Math.min(n/t||0,r/e);return{width:t*i||0,height:e*i||0}})(l,h,Math.min(l,d.width),Math.min(h,d.height));a=ot(t.width),c=ot(t.height)}Object.assign(n.style,{width:`${a}px`,height:`${c}px`,transform:""})}if(s&&(Object.assign(r.style,{width:`${a}px`,height:`${c}px`}),this.viewport={...this.viewport,width:a,height:c}),i&&o&&"function"!=typeof this.options.maxScale){const t=this.option("maxScale");this.options.maxScale=function(){return this.content.origWidth>0&&this.content.fitWidth>0?this.content.origWidth/this.content.fitWidth:t}}this.content={...this.content,origWidth:l,origHeight:h,fitWidth:a,fitHeight:c,width:a,height:c,scale:1,isZoomable:o},this.container={width:g.width,height:g.height},!0!==t&&this.trigger("afterUpdate")}zoomIn(t){this.zoomTo(this.content.scale+(t||this.option("step")))}zoomOut(t){this.zoomTo(this.content.scale-(t||this.option("step")))}toggleZoom(t={}){const e=this.option("maxScale"),n=this.option("baseScale"),r=this.content.scale>n+.5*(e-n)?n:e;this.zoomTo(r,t)}zoomTo(t=this.option("baseScale"),{x:e=null,y:n=null}={}){t=Math.max(Math.min(t,this.option("maxScale")),this.option("minScale"));const r=ot(this.content.scale/(this.content.width/this.content.fitWidth),1e7);null===e&&(e=this.content.width*r*.5),null===n&&(n=this.content.height*r*.5);const{deltaX:i,deltaY:o}=this.getZoomDelta(t,e,n);e=this.content.x-i,n=this.content.y-o,this.panTo({x:e,y:n,scale:t,friction:this.option("zoomFriction")})}getZoomDelta(t,e=0,n=0){const r=this.content.fitWidth*this.content.scale,i=this.content.fitHeight*this.content.scale,o=e>0&&r?e/r:0,s=n>0&&i?n/i:0;return{deltaX:(this.content.fitWidth*t-r)*o,deltaY:(this.content.fitHeight*t-i)*s}}panTo({x:t=this.content.x,y:e=this.content.y,scale:n,friction:r=this.option("friction"),ignoreBounds:i=!1}={}){if(n=n||this.content.scale||1,!i){const{boundX:r,boundY:i}=this.getBounds(n);r&&(t=Math.max(Math.min(t,r.to),r.from)),i&&(e=Math.max(Math.min(e,i.to),i.from))}this.friction=r,this.transform={...this.transform,x:t,y:e,scale:n},r?(this.state="panning",this.velocity={x:(1/this.friction-1)*(t-this.content.x),y:(1/this.friction-1)*(e-this.content.y),scale:(1/this.friction-1)*(n-this.content.scale)},this.startAnimation()):this.endAnimation()}startAnimation(){this.rAF?cancelAnimationFrame(this.rAF):this.trigger("startAnimation"),this.rAF=requestAnimationFrame((()=>this.animate()))}animate(){if(this.setEdgeForce(),this.setDragForce(),this.velocity.x*=this.friction,this.velocity.y*=this.friction,this.velocity.scale*=this.friction,this.content.x+=this.velocity.x,this.content.y+=this.velocity.y,this.content.scale+=this.velocity.scale,this.isAnimating())this.setTransform();else if("pointerdown"!==this.state)return void this.endAnimation();this.rAF=requestAnimationFrame((()=>this.animate()))}getBounds(t){let e=this.boundX,n=this.boundY;if(void 0!==e&&void 0!==n)return{boundX:e,boundY:n};e={from:0,to:0},n={from:0,to:0},t=t||this.transform.scale;const r=this.content.fitWidth*t,i=this.content.fitHeight*t,o=this.viewport.width,s=this.viewport.height;if(r<o){const t=ot(.5*(o-r));e.from=t,e.to=t}else e.from=ot(o-r);if(i<s){const t=.5*(s-i);n.from=t,n.to=t}else n.from=ot(s-i);return{boundX:e,boundY:n}}setEdgeForce(){if("decel"!==this.state)return;const t=this.option("bounceForce"),{boundX:e,boundY:n}=this.getBounds(Math.max(this.transform.scale,this.content.scale));let r,i,o,s;if(e&&(r=this.content.x<e.from,i=this.content.x>e.to),n&&(o=this.content.y<n.from,s=this.content.y>n.to),r||i){let n=((r?e.from:e.to)-this.content.x)*t;const i=this.content.x+(this.velocity.x+n)/this.friction;i>=e.from&&i<=e.to&&(n+=this.velocity.x),this.velocity.x=n,this.recalculateTransform()}if(o||s){let e=((o?n.from:n.to)-this.content.y)*t;const r=this.content.y+(e+this.velocity.y)/this.friction;r>=n.from&&r<=n.to&&(e+=this.velocity.y),this.velocity.y=e,this.recalculateTransform()}}setDragResistance(){if("pointerdown"!==this.state)return;const{boundX:t,boundY:e}=this.getBounds(this.dragPosition.scale);let n,r,i,o;if(t&&(n=this.dragPosition.x<t.from,r=this.dragPosition.x>t.to),e&&(i=this.dragPosition.y<e.from,o=this.dragPosition.y>e.to),(n||r)&&(!n||!r)){const e=n?t.from:t.to,r=e-this.dragPosition.x;this.dragPosition.x=e-.3*r}if((i||o)&&(!i||!o)){const t=i?e.from:e.to,n=t-this.dragPosition.y;this.dragPosition.y=t-.3*n}}setDragForce(){"pointerdown"===this.state&&(this.velocity.x=this.dragPosition.x-this.content.x,this.velocity.y=this.dragPosition.y-this.content.y,this.velocity.scale=this.dragPosition.scale-this.content.scale)}recalculateTransform(){this.transform.x=this.content.x+this.velocity.x/(1/this.friction-1),this.transform.y=this.content.y+this.velocity.y/(1/this.friction-1),this.transform.scale=this.content.scale+this.velocity.scale/(1/this.friction-1)}isAnimating(){return!(!this.friction||!(Math.abs(this.velocity.x)>.05||Math.abs(this.velocity.y)>.05||Math.abs(this.velocity.scale)>.05))}setTransform(t){let e,n,r;if(t?(e=ot(this.transform.x),n=ot(this.transform.y),r=this.transform.scale,this.content={...this.content,x:e,y:n,scale:r}):(e=ot(this.content.x),n=ot(this.content.y),r=this.content.scale/(this.content.width/this.content.fitWidth),this.content={...this.content,x:e,y:n}),this.trigger("beforeTransform"),e=ot(this.content.x),n=ot(this.content.y),t&&this.option("zoom")){let t,i;t=ot(this.content.fitWidth*r),i=ot(this.content.fitHeight*r),this.content.width=t,this.content.height=i,this.transform={...this.transform,width:t,height:i,scale:r},Object.assign(this.$content.style,{width:`${t}px`,height:`${i}px`,maxWidth:"none",maxHeight:"none",transform:`translate3d(${e}px, ${n}px, 0) scale(1)`})}else this.$content.style.transform=`translate3d(${e}px, ${n}px, 0) scale(${r})`;this.trigger("afterTransform")}endAnimation(t){cancelAnimationFrame(this.rAF),this.rAF=null,this.velocity={x:0,y:0,scale:0},this.setTransform(!0),this.state="ready",this.handleCursor(),!0!==t&&this.trigger("endAnimation")}handleCursor(){const t=this.option("draggableClass");t&&this.option("touch")&&(1==this.option("panOnlyZoomed")&&this.content.width<=this.viewport.width&&this.content.height<=this.viewport.height&&this.transform.scale<=this.option("baseScale")?this.$container.classList.remove(t):this.$container.classList.add(t))}detachEvents(){this.$content.removeEventListener("load",this.onLoad),this.$container.removeEventListener("wheel",this.onWheel,{passive:!1}),this.$container.removeEventListener("click",this.onClick,{passive:!1}),this.pointerTracker&&(this.pointerTracker.stop(),this.pointerTracker=null),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}destroy(){"destroy"!==this.state&&(this.state="destroy",clearTimeout(this.updateTimer),this.updateTimer=null,cancelAnimationFrame(this.rAF),this.rAF=null,this.detachEvents(),this.detachPlugins(),this.resetDragPosition())}}pt.version="4.0.31",pt.Plugins={};const gt=(t,e)=>{let n=0;return function(...r){const i=(new Date).getTime();if(!(i-n<e))return n=i,t(...r)}};class mt{constructor(t){this.$container=null,this.$prev=null,this.$next=null,this.carousel=t,this.onRefresh=this.onRefresh.bind(this)}option(t){return this.carousel.option(`Navigation.${t}`)}createButton(t){const e=document.createElement("button");e.setAttribute("title",this.carousel.localize(`{{${t.toUpperCase()}}}`));const n=this.option("classNames.button")+" "+this.option(`classNames.${t}`);return e.classList.add(...n.split(" ")),e.setAttribute("tabindex","0"),e.innerHTML=this.carousel.localize(this.option(`${t}Tpl`)),e.addEventListener("click",(e=>{e.preventDefault(),e.stopPropagation(),this.carousel["slide"+("next"===t?"Next":"Prev")]()})),e}build(){this.$container||(this.$container=document.createElement("div"),this.$container.classList.add(...this.option("classNames.main").split(" ")),this.carousel.$container.appendChild(this.$container)),this.$next||(this.$next=this.createButton("next"),this.$container.appendChild(this.$next)),this.$prev||(this.$prev=this.createButton("prev"),this.$container.appendChild(this.$prev))}onRefresh(){const t=this.carousel.pages.length;t<=1||t>1&&this.carousel.elemDimWidth<this.carousel.wrapDimWidth&&!Number.isInteger(this.carousel.option("slidesPerPage"))?this.cleanup():(this.build(),this.$prev.removeAttribute("disabled"),this.$next.removeAttribute("disabled"),this.carousel.option("infiniteX",this.carousel.option("infinite"))||(this.carousel.page<=0&&this.$prev.setAttribute("disabled",""),this.carousel.page>=t-1&&this.$next.setAttribute("disabled","")))}cleanup(){this.$prev&&this.$prev.remove(),this.$prev=null,this.$next&&this.$next.remove(),this.$next=null,this.$container&&this.$container.remove(),this.$container=null}attach(){this.carousel.on("refresh change",this.onRefresh)}detach(){this.carousel.off("refresh change",this.onRefresh),this.cleanup()}}mt.defaults={prevTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M15 3l-9 9 9 9"/></svg>',nextTpl:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M9 3l9 9-9 9"/></svg>',classNames:{main:"carousel__nav",button:"carousel__button",next:"is-next",prev:"is-prev"}};class vt{constructor(t){this.carousel=t,this.selectedIndex=null,this.friction=0,this.onNavReady=this.onNavReady.bind(this),this.onNavClick=this.onNavClick.bind(this),this.onNavCreateSlide=this.onNavCreateSlide.bind(this),this.onTargetChange=this.onTargetChange.bind(this)}addAsTargetFor(t){this.target=this.carousel,this.nav=t,this.attachEvents()}addAsNavFor(t){this.target=t,this.nav=this.carousel,this.attachEvents()}attachEvents(){this.nav.options.initialSlide=this.target.options.initialPage,this.nav.on("ready",this.onNavReady),this.nav.on("createSlide",this.onNavCreateSlide),this.nav.on("Panzoom.click",this.onNavClick),this.target.on("change",this.onTargetChange),this.target.on("Panzoom.afterUpdate",this.onTargetChange)}onNavReady(){this.onTargetChange(!0)}onNavClick(t,e,n){const r=n.target.closest(".carousel__slide");if(!r)return;n.stopPropagation();const i=parseInt(r.dataset.index,10),o=this.target.findPageForSlide(i);this.target.page!==o&&this.target.slideTo(o,{friction:this.friction}),this.markSelectedSlide(i)}onNavCreateSlide(t,e){e.index===this.selectedIndex&&this.markSelectedSlide(e.index)}onTargetChange(){const t=this.target.pages[this.target.page].indexes[0],e=this.nav.findPageForSlide(t);this.nav.slideTo(e),this.markSelectedSlide(t)}markSelectedSlide(t){this.selectedIndex=t,[...this.nav.slides].filter((t=>t.$el&&t.$el.classList.remove("is-nav-selected")));const e=this.nav.slides[t];e&&e.$el&&e.$el.classList.add("is-nav-selected")}attach(t){const e=t.options.Sync;(e.target||e.nav)&&(e.target?this.addAsNavFor(e.target):e.nav&&this.addAsTargetFor(e.nav),this.friction=e.friction)}detach(){this.nav&&(this.nav.off("ready",this.onNavReady),this.nav.off("Panzoom.click",this.onNavClick),this.nav.off("createSlide",this.onNavCreateSlide)),this.target&&(this.target.off("Panzoom.afterUpdate",this.onTargetChange),this.target.off("change",this.onTargetChange))}}vt.defaults={friction:.92};const yt={Navigation:mt,Dots:class{constructor(t){this.carousel=t,this.$list=null,this.events={change:this.onChange.bind(this),refresh:this.onRefresh.bind(this)}}buildList(){if(this.carousel.pages.length<this.carousel.option("Dots.minSlideCount"))return;const t=document.createElement("ol");return t.classList.add("carousel__dots"),t.addEventListener("click",(t=>{if(!("page"in t.target.dataset))return;t.preventDefault(),t.stopPropagation();const e=parseInt(t.target.dataset.page,10),n=this.carousel;e!==n.page&&(n.pages.length<3&&n.option("infinite")?n[0==e?"slidePrev":"slideNext"]():n.slideTo(e))})),this.$list=t,this.carousel.$container.appendChild(t),this.carousel.$container.classList.add("has-dots"),t}removeList(){this.$list&&(this.$list.parentNode.removeChild(this.$list),this.$list=null),this.carousel.$container.classList.remove("has-dots")}rebuildDots(){let t=this.$list;const e=!!t,n=this.carousel.pages.length;if(n<2)return void(e&&this.removeList());e||(t=this.buildList());const r=this.$list.children.length;if(r>n)for(let t=n;t<r;t++)this.$list.removeChild(this.$list.lastChild);else{for(let t=r;t<n;t++){const e=document.createElement("li");e.classList.add("carousel__dot"),e.dataset.page=t,e.setAttribute("role","button"),e.setAttribute("tabindex","0"),e.setAttribute("title",this.carousel.localize("{{GOTO}}",[["%d",t+1]])),e.addEventListener("keydown",(t=>{const n=t.code;let r;"Enter"===n||"NumpadEnter"===n?r=e:"ArrowRight"===n?r=e.nextSibling:"ArrowLeft"===n&&(r=e.previousSibling),r&&r.click()})),this.$list.appendChild(e)}this.setActiveDot()}}setActiveDot(){if(!this.$list)return;this.$list.childNodes.forEach((t=>{t.classList.remove("is-selected")}));const t=this.$list.childNodes[this.carousel.page];t&&t.classList.add("is-selected")}onChange(){this.setActiveDot()}onRefresh(){this.rebuildDots()}attach(){this.carousel.on(this.events)}detach(){this.removeList(),this.carousel.off(this.events),this.carousel=null}},Sync:vt},bt={slides:[],preload:0,slidesPerPage:"auto",initialPage:null,initialSlide:null,friction:.92,center:!0,infinite:!0,fill:!0,dragFree:!1,prefix:"",classNames:{viewport:"carousel__viewport",track:"carousel__track",slide:"carousel__slide",slideSelected:"is-selected"},l10n:{NEXT:"Next slide",PREV:"Previous slide",GOTO:"Go to slide #%d"}};class _t extends ft{constructor(t,e={}){if(super(e=it(!0,{},bt,e)),this.state="init",this.$container=t,!(this.$container instanceof HTMLElement))throw new Error("No root element provided");this.slideNext=gt(this.slideNext.bind(this),250),this.slidePrev=gt(this.slidePrev.bind(this),250),this.init(),t.__Carousel=this}init(){this.pages=[],this.page=this.pageIndex=null,this.prevPage=this.prevPageIndex=null,this.attachPlugins(_t.Plugins),this.trigger("init"),this.initLayout(),this.initSlides(),this.updateMetrics(),this.$track&&this.pages.length&&(this.$track.style.transform=`translate3d(${-1*this.pages[this.page].left}px, 0px, 0) scale(1)`),this.manageSlideVisiblity(),this.initPanzoom(),this.state="ready",this.trigger("ready")}initLayout(){const t=this.option("prefix"),e=this.option("classNames");this.$viewport=this.option("viewport")||this.$container.querySelector(`.${t}${e.viewport}`),this.$viewport||(this.$viewport=document.createElement("div"),this.$viewport.classList.add(...(t+e.viewport).split(" ")),this.$viewport.append(...this.$container.childNodes),this.$container.appendChild(this.$viewport)),this.$track=this.option("track")||this.$container.querySelector(`.${t}${e.track}`),this.$track||(this.$track=document.createElement("div"),this.$track.classList.add(...(t+e.track).split(" ")),this.$track.append(...this.$viewport.childNodes),this.$viewport.appendChild(this.$track))}initSlides(){this.slides=[],this.$viewport.querySelectorAll(`.${this.option("prefix")}${this.option("classNames.slide")}`).forEach((t=>{const e={$el:t,isDom:!0};this.slides.push(e),this.trigger("createSlide",e,this.slides.length)})),Array.isArray(this.options.slides)&&(this.slides=it(!0,[...this.slides],this.options.slides))}updateMetrics(){let t,e=0,n=[];this.slides.forEach(((r,i)=>{const o=r.$el,s=r.isDom||!t?this.getSlideMetrics(o):t;r.index=i,r.width=s,r.left=e,t=s,e+=s,n.push(i)}));let r=Math.max(this.$track.offsetWidth,ot(this.$track.getBoundingClientRect().width)),i=getComputedStyle(this.$track);r-=parseFloat(i.paddingLeft)+parseFloat(i.paddingRight),this.contentWidth=e,this.viewportWidth=r;const o=[],s=this.option("slidesPerPage");if(Number.isInteger(s)&&e>r)for(let t=0;t<this.slides.length;t+=s)o.push({indexes:n.slice(t,t+s),slides:this.slides.slice(t,t+s)});else{let t=0,e=0;for(let n=0;n<this.slides.length;n+=1){let i=this.slides[n];(!o.length||e+i.width>r)&&(o.push({indexes:[],slides:[]}),t=o.length-1,e=0),e+=i.width,o[t].indexes.push(n),o[t].slides.push(i)}}const a=this.option("center"),c=this.option("fill");o.forEach(((t,n)=>{t.index=n,t.width=t.slides.reduce(((t,e)=>t+e.width),0),t.left=t.slides[0].left,a&&(t.left+=.5*(r-t.width)*-1),c&&!this.option("infiniteX",this.option("infinite"))&&e>r&&(t.left=Math.max(t.left,0),t.left=Math.min(t.left,e-r))}));const l=[];let u;o.forEach((t=>{const e={...t};u&&e.left===u.left?(u.width+=e.width,u.slides=[...u.slides,...e.slides],u.indexes=[...u.indexes,...e.indexes]):(e.index=l.length,u=e,l.push(e))})),this.pages=l;let h=this.page;if(null===h){const t=this.option("initialSlide");h=null!==t?this.findPageForSlide(t):parseInt(this.option("initialPage",0),10)||0,l[h]||(h=l.length&&h>l.length?l[l.length-1].index:0),this.page=h,this.pageIndex=h}this.updatePanzoom(),this.trigger("refresh")}getSlideMetrics(t){if(!t){const e=this.slides[0];(t=document.createElement("div")).dataset.isTestEl=1,t.style.visibility="hidden",t.classList.add(...(this.option("prefix")+this.option("classNames.slide")).split(" ")),e.customClass&&t.classList.add(...e.customClass.split(" ")),this.$track.prepend(t)}let e=Math.max(t.offsetWidth,ot(t.getBoundingClientRect().width));const n=t.currentStyle||window.getComputedStyle(t);return e=e+(parseFloat(n.marginLeft)||0)+(parseFloat(n.marginRight)||0),t.dataset.isTestEl&&t.remove(),e}findPageForSlide(t){t=parseInt(t,10)||0;const e=this.pages.find((e=>e.indexes.indexOf(t)>-1));return e?e.index:null}slideNext(){this.slideTo(this.pageIndex+1)}slidePrev(){this.slideTo(this.pageIndex-1)}slideTo(t,e={}){const{x:n=-1*this.setPage(t,!0),y:r=0,friction:i=this.option("friction")}=e;this.Panzoom.content.x===n&&!this.Panzoom.velocity.x&&i||(this.Panzoom.panTo({x:n,y:r,friction:i,ignoreBounds:!0}),"ready"===this.state&&"ready"===this.Panzoom.state&&this.trigger("settle"))}initPanzoom(){this.Panzoom&&this.Panzoom.destroy();const t=it(!0,{},{content:this.$track,wrapInner:!1,resizeParent:!1,zoom:!1,click:!1,lockAxis:"x",x:this.pages.length?-1*this.pages[this.page].left:0,centerOnStart:!1,textSelection:()=>this.option("textSelection",!1),panOnlyZoomed:function(){return this.content.width<=this.viewport.width}},this.option("Panzoom"));this.Panzoom=new pt(this.$container,t),this.Panzoom.on({"*":(t,...e)=>this.trigger(`Panzoom.${t}`,...e),afterUpdate:()=>{this.updatePage()},beforeTransform:this.onBeforeTransform.bind(this),touchEnd:this.onTouchEnd.bind(this),endAnimation:()=>{this.trigger("settle")}}),this.updateMetrics(),this.manageSlideVisiblity()}updatePanzoom(){this.Panzoom&&(this.Panzoom.content={...this.Panzoom.content,fitWidth:this.contentWidth,origWidth:this.contentWidth,width:this.contentWidth},this.pages.length>1&&this.option("infiniteX",this.option("infinite"))?this.Panzoom.boundX=null:this.pages.length&&(this.Panzoom.boundX={from:-1*this.pages[this.pages.length-1].left,to:-1*this.pages[0].left}),this.option("infiniteY",this.option("infinite"))?this.Panzoom.boundY=null:this.Panzoom.boundY={from:0,to:0},this.Panzoom.handleCursor())}manageSlideVisiblity(){const t=this.contentWidth,e=this.viewportWidth;let n=this.Panzoom?-1*this.Panzoom.content.x:this.pages.length?this.pages[this.page].left:0;const r=this.option("preload"),i=this.option("infiniteX",this.option("infinite")),o=parseFloat(getComputedStyle(this.$viewport,null).getPropertyValue("padding-left")),s=parseFloat(getComputedStyle(this.$viewport,null).getPropertyValue("padding-right"));this.slides.forEach((a=>{let c,l,u=0;c=n-o,l=n+e+s,c-=r*(e+o+s),l+=r*(e+o+s);const h=a.left+a.width>c&&a.left<l;c=n+t-o,l=n+t+e+s,c-=r*(e+o+s);const f=i&&a.left+a.width>c&&a.left<l;c=n-t-o,l=n-t+e+s,c-=r*(e+o+s);const d=i&&a.left+a.width>c&&a.left<l;f||h||d?(this.createSlideEl(a),h&&(u=0),f&&(u=-1),d&&(u=1),a.left+a.width>n&&a.left<=n+e+s&&(u=0)):this.removeSlideEl(a),a.hasDiff=u}));let a=0,c=0;this.slides.forEach(((e,n)=>{let r=0;e.$el?(n!==a||e.hasDiff?r=c+e.hasDiff*t:c=0,e.$el.style.left=Math.abs(r)>.1?`${c+e.hasDiff*t}px`:"",a++):c+=e.width})),this.markSelectedSlides()}createSlideEl(t){if(!t)return;if(t.$el){let e=t.$el.dataset.index;if(!e||parseInt(e,10)!==t.index){let e;t.$el.dataset.index=t.index,t.$el.querySelectorAll("[data-lazy-srcset]").forEach((t=>{t.srcset=t.dataset.lazySrcset})),t.$el.querySelectorAll("[data-lazy-src]").forEach((t=>{let e=t.dataset.lazySrc;t instanceof HTMLImageElement?t.src=e:t.style.backgroundImage=`url('${e}')`})),(e=t.$el.dataset.lazySrc)&&(t.$el.style.backgroundImage=`url('${e}')`),t.state="ready"}return}const e=document.createElement("div");e.dataset.index=t.index,e.classList.add(...(this.option("prefix")+this.option("classNames.slide")).split(" ")),t.customClass&&e.classList.add(...t.customClass.split(" ")),t.html&&(e.innerHTML=t.html);const n=[];this.slides.forEach(((t,e)=>{t.$el&&n.push(e)}));const r=t.index;let i=null;if(n.length){let t=n.reduce(((t,e)=>Math.abs(e-r)<Math.abs(t-r)?e:t));i=this.slides[t]}return this.$track.insertBefore(e,i&&i.$el?i.index<t.index?i.$el.nextSibling:i.$el:null),t.$el=e,this.trigger("createSlide",t,r),t}removeSlideEl(t){t.$el&&!t.isDom&&(this.trigger("removeSlide",t),t.$el.remove(),t.$el=null)}markSelectedSlides(){const t=this.option("classNames.slideSelected"),e="aria-hidden";this.slides.forEach(((n,r)=>{const i=n.$el;if(!i)return;const o=this.pages[this.page];o&&o.indexes&&o.indexes.indexOf(r)>-1?(t&&!i.classList.contains(t)&&(i.classList.add(t),this.trigger("selectSlide",n)),i.removeAttribute(e)):(t&&i.classList.contains(t)&&(i.classList.remove(t),this.trigger("unselectSlide",n)),i.setAttribute(e,!0))}))}updatePage(){this.updateMetrics(),this.slideTo(this.page,{friction:0})}onBeforeTransform(){this.option("infiniteX",this.option("infinite"))&&this.manageInfiniteTrack(),this.manageSlideVisiblity()}manageInfiniteTrack(){const t=this.contentWidth,e=this.viewportWidth;if(!this.option("infiniteX",this.option("infinite"))||this.pages.length<2||t<e)return;const n=this.Panzoom;let r=!1;return n.content.x<-1*(t-e)&&(n.content.x+=t,this.pageIndex=this.pageIndex-this.pages.length,r=!0),n.content.x>e&&(n.content.x-=t,this.pageIndex=this.pageIndex+this.pages.length,r=!0),r&&"pointerdown"===n.state&&n.resetDragPosition(),r}onTouchEnd(t,e){const n=this.option("dragFree");if(!n&&this.pages.length>1&&t.dragOffset.time<350&&Math.abs(t.dragOffset.y)<1&&Math.abs(t.dragOffset.x)>5)this[t.dragOffset.x<0?"slideNext":"slidePrev"]();else if(n){const[,e]=this.getPageFromPosition(-1*t.transform.x);this.setPage(e)}else this.slideToClosest()}slideToClosest(t={}){let[,e]=this.getPageFromPosition(-1*this.Panzoom.content.x);this.slideTo(e,t)}getPageFromPosition(t){const e=this.pages.length;this.option("center")&&(t+=.5*this.viewportWidth);const n=Math.floor(t/this.contentWidth);t-=n*this.contentWidth;let r=this.slides.find((e=>e.left<=t&&e.left+e.width>t));if(r){let t=this.findPageForSlide(r.index);return[t,t+n*e]}return[0,0]}setPage(t,e){let n=0,r=parseInt(t,10)||0;const i=this.page,o=this.pageIndex,s=this.pages.length,a=this.contentWidth,c=this.viewportWidth;if(t=(r%s+s)%s,this.option("infiniteX",this.option("infinite"))&&a>c){const i=Math.floor(r/s)||0,o=a;if(n=this.pages[t].left+i*o,!0===e&&s>2){let t=-1*this.Panzoom.content.x;const e=n-o,i=n+o,a=Math.abs(t-n),c=Math.abs(t-e),l=Math.abs(t-i);l<a&&l<=c?(n=i,r+=s):c<a&&c<l&&(n=e,r-=s)}}else t=r=Math.max(0,Math.min(r,s-1)),n=this.pages.length?this.pages[t].left:0;return this.page=t,this.pageIndex=r,null!==i&&t!==i&&(this.prevPage=i,this.prevPageIndex=o,this.trigger("change",t,i)),n}destroy(){this.state="destroy",this.slides.forEach((t=>{this.removeSlideEl(t)})),this.slides=[],this.Panzoom.destroy(),this.detachPlugins()}}_t.version="4.0.31",_t.Plugins=yt;const wt=!("undefined"==typeof window||!window.document||!window.document.createElement);let xt=null;const Et=["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([tabindex^="-"]):not([disabled]):not([aria-hidden])'],At=t=>{if(t&&wt){null===xt&&document.createElement("div").focus({get preventScroll(){return xt=!0,!1}});try{if(t.setActive)t.setActive();else if(xt)t.focus({preventScroll:!0});else{const e=window.pageXOffset||document.body.scrollTop,n=window.pageYOffset||document.body.scrollLeft;t.focus(),document.body.scrollTo({top:e,left:n,behavior:"auto"})}}catch(t){}}};class Ct{constructor(t){this.fancybox=t,this.$container=null,this.state="init";for(const t of["onPrepare","onClosing","onKeydown"])this[t]=this[t].bind(this);this.events={prepare:this.onPrepare,closing:this.onClosing,keydown:this.onKeydown}}onPrepare(){this.getSlides().length<this.fancybox.option("Thumbs.minSlideCount")?this.state="disabled":!0===this.fancybox.option("Thumbs.autoStart")&&this.fancybox.Carousel.Panzoom.content.height>=this.fancybox.option("Thumbs.minScreenHeight")&&this.build()}onClosing(){this.Carousel&&this.Carousel.Panzoom.detachEvents()}onKeydown(t,e){e===t.option("Thumbs.key")&&this.toggle()}build(){if(this.$container)return;const t=document.createElement("div");t.classList.add("fancybox__thumbs"),this.fancybox.$carousel.parentNode.insertBefore(t,this.fancybox.$carousel.nextSibling),this.Carousel=new _t(t,it(!0,{Dots:!1,Navigation:!1,Sync:{friction:0},infinite:!1,center:!0,fill:!0,dragFree:!0,slidesPerPage:1,preload:1},this.fancybox.option("Thumbs.Carousel"),{Sync:{target:this.fancybox.Carousel},slides:this.getSlides()})),this.Carousel.Panzoom.on("wheel",((t,e)=>{e.preventDefault(),this.fancybox[e.deltaY<0?"prev":"next"]()})),this.$container=t,this.state="visible"}getSlides(){const t=[];for(const e of this.fancybox.items){const n=e.thumb;n&&t.push({html:this.fancybox.option("Thumbs.tpl").replace(/\{\{src\}\}/gi,n),customClass:`has-thumb has-${e.type||"image"}`})}return t}toggle(){"visible"===this.state?this.hide():"hidden"===this.state?this.show():this.build()}show(){"hidden"===this.state&&(this.$container.style.display="",this.Carousel.Panzoom.attachEvents(),this.state="visible")}hide(){"visible"===this.state&&(this.Carousel.Panzoom.detachEvents(),this.$container.style.display="none",this.state="hidden")}cleanup(){this.Carousel&&(this.Carousel.destroy(),this.Carousel=null),this.$container&&(this.$container.remove(),this.$container=null),this.state="init"}attach(){this.fancybox.on(this.events)}detach(){this.fancybox.off(this.events),this.cleanup()}}Ct.defaults={minSlideCount:2,minScreenHeight:500,autoStart:!0,key:"t",Carousel:{},tpl:'<div class="fancybox__thumb" style="background-image:url(\'{{src}}\')"></div>'};const Tt=(t,e)=>{const n=new URL(t),r=new URLSearchParams(n.search);let i=new URLSearchParams;for(const[t,n]of[...r,...Object.entries(e)])"t"===t?i.set("start",parseInt(n)):i.set(t,n);i=i.toString();let o=t.match(/#t=((.*)?\d+s)/);return o&&(i+=`#t=${o[1]}`),i},St={video:{autoplay:!0,ratio:16/9},youtube:{autohide:1,fs:1,rel:0,hd:1,wmode:"transparent",enablejsapi:1,html5:1},vimeo:{hd:1,show_title:1,show_byline:1,show_portrait:0,fullscreen:1},html5video:{tpl:'<video class="fancybox__html5video" playsinline controls controlsList="nodownload" poster="{{poster}}">\n  <source src="{{src}}" type="{{format}}" />Sorry, your browser doesn\'t support embedded videos.</video>',format:""}};class kt{constructor(t){this.fancybox=t;for(const t of["onInit","onReady","onCreateSlide","onRemoveSlide","onSelectSlide","onUnselectSlide","onRefresh","onMessage"])this[t]=this[t].bind(this);this.events={init:this.onInit,ready:this.onReady,"Carousel.createSlide":this.onCreateSlide,"Carousel.removeSlide":this.onRemoveSlide,"Carousel.selectSlide":this.onSelectSlide,"Carousel.unselectSlide":this.onUnselectSlide,"Carousel.refresh":this.onRefresh}}onInit(){for(const t of this.fancybox.items)this.processType(t)}processType(t){if(t.html)return t.src=t.html,t.type="html",void delete t.html;const e=t.src||"";let n=t.type||this.fancybox.options.type,r=null;if(!e||"string"==typeof e){if(r=e.match(/(?:youtube\.com|youtu\.be|youtube\-nocookie\.com)\/(?:watch\?(?:.*&)?v=|v\/|u\/|embed\/?)?(videoseries\?list=(?:.*)|[\w-]{11}|\?listType=(?:.*)&list=(?:.*))(?:.*)/i)){const i=Tt(e,this.fancybox.option("Html.youtube")),o=encodeURIComponent(r[1]);t.videoId=o,t.src=`https://www.youtube-nocookie.com/embed/${o}?${i}`,t.thumb=t.thumb||`https://i.ytimg.com/vi/${o}/mqdefault.jpg`,t.vendor="youtube",n="video"}else if(r=e.match(/^.+vimeo.com\/(?:\/)?([\d]+)(.*)?/)){const i=Tt(e,this.fancybox.option("Html.vimeo")),o=encodeURIComponent(r[1]);t.videoId=o,t.src=`https://player.vimeo.com/video/${o}?${i}`,t.vendor="vimeo",n="video"}else(r=e.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:(?:(?:maps\/(?:place\/(?:.*)\/)?\@(.*),(\d+.?\d+?)z))|(?:\?ll=))(.*)?/i))?(t.src=`//maps.google.${r[1]}/?ll=${(r[2]?r[2]+"&z="+Math.floor(r[3])+(r[4]?r[4].replace(/^\//,"&"):""):r[4]+"").replace(/\?/,"&")}&output=${r[4]&&r[4].indexOf("layer=c")>0?"svembed":"embed"}`,n="map"):(r=e.match(/(?:maps\.)?google\.([a-z]{2,3}(?:\.[a-z]{2})?)\/(?:maps\/search\/)(.*)/i))&&(t.src=`//maps.google.${r[1]}/maps?q=${r[2].replace("query=","q=").replace("api=1","")}&output=embed`,n="map");n||("#"===e.charAt(0)?n="inline":(r=e.match(/\.(mp4|mov|ogv|webm)((\?|#).*)?$/i))?(n="html5video",t.format=t.format||"video/"+("ogv"===r[1]?"ogg":r[1])):e.match(/(^data:image\/[a-z0-9+\/=]*,)|(\.(jp(e|g|eg)|gif|png|bmp|webp|svg|ico)((\?|#).*)?$)/i)?n="image":e.match(/\.(pdf)((\?|#).*)?$/i)&&(n="pdf")),t.type=n||this.fancybox.option("defaultType","image"),"html5video"!==n&&"video"!==n||(t.video=it({},this.fancybox.option("Html.video"),t.video),t._width&&t._height?t.ratio=parseFloat(t._width)/parseFloat(t._height):t.ratio=t.ratio||t.video.ratio||St.video.ratio)}}onReady(){this.fancybox.Carousel.slides.forEach((t=>{t.$el&&(this.setContent(t),t.index===this.fancybox.getSlide().index&&this.playVideo(t))}))}onCreateSlide(t,e,n){"ready"===this.fancybox.state&&this.setContent(n)}loadInlineContent(t){let e;if(t.src instanceof HTMLElement)e=t.src;else if("string"==typeof t.src){const n=t.src.split("#",2),r=2===n.length&&""===n[0]?n[1]:n[0];e=document.getElementById(r)}if(e){if("clone"===t.type||e.$placeHolder){e=e.cloneNode(!0);let n=e.getAttribute("id");n=n?`${n}--clone`:`clone-${this.fancybox.id}-${t.index}`,e.setAttribute("id",n)}else{const t=document.createElement("div");t.classList.add("fancybox-placeholder"),e.parentNode.insertBefore(t,e),e.$placeHolder=t}this.fancybox.setContent(t,e)}else this.fancybox.setError(t,"{{ELEMENT_NOT_FOUND}}")}loadAjaxContent(t){const e=this.fancybox,n=new XMLHttpRequest;e.showLoading(t),n.onreadystatechange=function(){n.readyState===XMLHttpRequest.DONE&&"ready"===e.state&&(e.hideLoading(t),200===n.status?e.setContent(t,n.responseText):e.setError(t,404===n.status?"{{AJAX_NOT_FOUND}}":"{{AJAX_FORBIDDEN}}"))};const r=t.ajax||null;n.open(r?"POST":"GET",t.src),n.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),n.setRequestHeader("X-Requested-With","XMLHttpRequest"),n.send(r),t.xhr=n}loadIframeContent(t){const e=this.fancybox,n=document.createElement("iframe");if(n.className="fancybox__iframe",n.setAttribute("id",`fancybox__iframe_${e.id}_${t.index}`),n.setAttribute("allow","autoplay; fullscreen"),n.setAttribute("scrolling","auto"),t.$iframe=n,"iframe"!==t.type||!1===t.preload)return n.setAttribute("src",t.src),this.fancybox.setContent(t,n),void this.resizeIframe(t);e.showLoading(t);const r=document.createElement("div");r.style.visibility="hidden",this.fancybox.setContent(t,r),r.appendChild(n),n.onerror=()=>{e.setError(t,"{{IFRAME_ERROR}}")},n.onload=()=>{e.hideLoading(t);let r=!1;n.isReady||(n.isReady=!0,r=!0),n.src.length&&(n.parentNode.style.visibility="",this.resizeIframe(t),r&&e.revealContent(t))},n.setAttribute("src",t.src)}setAspectRatio(t){const e=t.$content,n=t.ratio;if(!e)return;let r=t._width,i=t._height;if(n||r&&i){Object.assign(e.style,{width:r&&i?"100%":"",height:r&&i?"100%":"",maxWidth:"",maxHeight:""});let t=e.offsetWidth,o=e.offsetHeight;if(r=r||t,i=i||o,r>t||i>o){let e=Math.min(t/r,o/i);r*=e,i*=e}Math.abs(r/i-n)>.01&&(n<r/i?r=i*n:i=r/n),Object.assign(e.style,{width:`${r}px`,height:`${i}px`})}}resizeIframe(t){const e=t.$iframe;if(!e)return;let n=t._width||0,r=t._height||0;n&&r&&(t.autoSize=!1);const i=e.parentNode,o=i&&i.style;if(!1!==t.preload&&!1!==t.autoSize&&o)try{const t=window.getComputedStyle(i),s=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),a=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom),c=e.contentWindow.document,l=c.getElementsByTagName("html")[0],u=c.body;o.width="",u.style.overflow="hidden",n=n||l.scrollWidth+s,o.width=`${n}px`,u.style.overflow="",o.flex="0 0 auto",o.height=`${u.scrollHeight}px`,r=l.scrollHeight+a}catch(t){}if(n||r){const t={flex:"0 1 auto"};n&&(t.width=`${n}px`),r&&(t.height=`${r}px`),Object.assign(o,t)}}onRefresh(t,e){e.slides.forEach((t=>{t.$el&&(t.$iframe&&this.resizeIframe(t),t.ratio&&this.setAspectRatio(t))}))}setContent(t){if(t&&!t.isDom){switch(t.type){case"html":this.fancybox.setContent(t,t.src);break;case"html5video":this.fancybox.setContent(t,this.fancybox.option("Html.html5video.tpl").replace(/\{\{src\}\}/gi,t.src).replace("{{format}}",t.format||t.html5video&&t.html5video.format||"").replace("{{poster}}",t.poster||t.thumb||""));break;case"inline":case"clone":this.loadInlineContent(t);break;case"ajax":this.loadAjaxContent(t);break;case"pdf":case"video":case"map":t.preload=!1;case"iframe":this.loadIframeContent(t)}t.ratio&&this.setAspectRatio(t)}}onSelectSlide(t,e,n){"ready"===t.state&&this.playVideo(n)}playVideo(t){if("html5video"===t.type&&t.video.autoplay)try{const e=t.$el.querySelector("video");if(e){const t=e.play();void 0!==t&&t.then((()=>{})).catch((t=>{e.muted=!0,e.play()}))}}catch(t){}if("video"!==t.type||!t.$iframe||!t.$iframe.contentWindow)return;const e=()=>{if("done"===t.state&&t.$iframe&&t.$iframe.contentWindow){let e;if(t.$iframe.isReady)return t.video&&t.video.autoplay&&(e="youtube"==t.vendor?{event:"command",func:"playVideo"}:{method:"play",value:"true"}),void(e&&t.$iframe.contentWindow.postMessage(JSON.stringify(e),"*"));"youtube"===t.vendor&&(e={event:"listening",id:t.$iframe.getAttribute("id")},t.$iframe.contentWindow.postMessage(JSON.stringify(e),"*"))}t.poller=setTimeout(e,250)};e()}onUnselectSlide(t,e,n){if("html5video"===n.type){try{n.$el.querySelector("video").pause()}catch(t){}return}let r=!1;"vimeo"==n.vendor?r={method:"pause",value:"true"}:"youtube"===n.vendor&&(r={event:"command",func:"pauseVideo"}),r&&n.$iframe&&n.$iframe.contentWindow&&n.$iframe.contentWindow.postMessage(JSON.stringify(r),"*"),clearTimeout(n.poller)}onRemoveSlide(t,e,n){n.xhr&&(n.xhr.abort(),n.xhr=null),n.$iframe&&(n.$iframe.onload=n.$iframe.onerror=null,n.$iframe.src="//about:blank",n.$iframe=null);const r=n.$content;"inline"===n.type&&r&&(r.classList.remove("fancybox__content"),"none"!==r.style.display&&(r.style.display="none")),n.$closeButton&&(n.$closeButton.remove(),n.$closeButton=null);const i=r&&r.$placeHolder;i&&(i.parentNode.insertBefore(r,i),i.remove(),r.$placeHolder=null)}onMessage(t){try{let e=JSON.parse(t.data);if("https://player.vimeo.com"===t.origin){if("ready"===e.event)for(let e of document.getElementsByClassName("fancybox__iframe"))e.contentWindow===t.source&&(e.isReady=1)}else"https://www.youtube-nocookie.com"===t.origin&&"onReady"===e.event&&(document.getElementById(e.id).isReady=1)}catch(t){}}attach(){this.fancybox.on(this.events),window.addEventListener("message",this.onMessage,!1)}detach(){this.fancybox.off(this.events),window.removeEventListener("message",this.onMessage,!1)}}kt.defaults=St;class Pt{constructor(t){this.fancybox=t;for(const t of["onReady","onClosing","onDone","onPageChange","onCreateSlide","onRemoveSlide","onImageStatusChange"])this[t]=this[t].bind(this);this.events={ready:this.onReady,closing:this.onClosing,done:this.onDone,"Carousel.change":this.onPageChange,"Carousel.createSlide":this.onCreateSlide,"Carousel.removeSlide":this.onRemoveSlide}}onReady(){this.fancybox.Carousel.slides.forEach((t=>{t.$el&&this.setContent(t)}))}onDone(t,e){this.handleCursor(e)}onClosing(t){clearTimeout(this.clickTimer),this.clickTimer=null,t.Carousel.slides.forEach((t=>{t.$image&&(t.state="destroy"),t.Panzoom&&t.Panzoom.detachEvents()})),"closing"===this.fancybox.state&&this.canZoom(t.getSlide())&&this.zoomOut()}onCreateSlide(t,e,n){"ready"===this.fancybox.state&&this.setContent(n)}onRemoveSlide(t,e,n){n.$image&&(n.$el.classList.remove(t.option("Image.canZoomInClass")),n.$image.remove(),n.$image=null),n.Panzoom&&(n.Panzoom.destroy(),n.Panzoom=null),n.$el&&n.$el.dataset&&delete n.$el.dataset.imageFit}setContent(t){if(t.isDom||t.html||t.type&&"image"!==t.type)return;if(t.$image)return;t.type="image",t.state="loading";const e=document.createElement("div");e.style.visibility="hidden";const n=document.createElement("img");n.addEventListener("load",(e=>{e.stopImmediatePropagation(),this.onImageStatusChange(t)})),n.addEventListener("error",(()=>{this.onImageStatusChange(t)})),n.src=t.src,n.alt="",n.draggable=!1,n.classList.add("fancybox__image"),t.srcset&&n.setAttribute("srcset",t.srcset),t.sizes&&n.setAttribute("sizes",t.sizes),t.$image=n;const r=this.fancybox.option("Image.wrap");if(r){const i=document.createElement("div");i.classList.add("string"==typeof r?r:"fancybox__image-wrap"),i.appendChild(n),e.appendChild(i),t.$wrap=i}else e.appendChild(n);t.$el.dataset.imageFit=this.fancybox.option("Image.fit"),this.fancybox.setContent(t,e),n.complete||n.error?this.onImageStatusChange(t):this.fancybox.showLoading(t)}onImageStatusChange(t){const e=t.$image;e&&"loading"===t.state&&(e.complete&&e.naturalWidth&&e.naturalHeight?(this.fancybox.hideLoading(t),"contain"===this.fancybox.option("Image.fit")&&this.initSlidePanzoom(t),t.$el.addEventListener("wheel",(e=>this.onWheel(t,e)),{passive:!1}),t.$content.addEventListener("click",(e=>this.onClick(t,e)),{passive:!1}),this.revealContent(t)):this.fancybox.setError(t,"{{IMAGE_ERROR}}"))}initSlidePanzoom(t){t.Panzoom||(t.Panzoom=new pt(t.$el,it(!0,this.fancybox.option("Image.Panzoom",{}),{viewport:t.$wrap,content:t.$image,width:t._width,height:t._height,wrapInner:!1,textSelection:!0,touch:this.fancybox.option("Image.touch"),panOnlyZoomed:!0,click:!1,wheel:!1})),t.Panzoom.on("startAnimation",(()=>{this.fancybox.trigger("Image.startAnimation",t)})),t.Panzoom.on("endAnimation",(()=>{"zoomIn"===t.state&&this.fancybox.done(t),this.handleCursor(t),this.fancybox.trigger("Image.endAnimation",t)})),t.Panzoom.on("afterUpdate",(()=>{this.handleCursor(t),this.fancybox.trigger("Image.afterUpdate",t)})))}revealContent(t){null===this.fancybox.Carousel.prevPage&&t.index===this.fancybox.options.startIndex&&this.canZoom(t)?this.zoomIn():this.fancybox.revealContent(t)}getZoomInfo(t){const e=t.$thumb.getBoundingClientRect(),n=e.width,r=e.height,i=t.$content.getBoundingClientRect(),o=i.width,s=i.height,a=i.top-e.top,c=i.left-e.left;let l=this.fancybox.option("Image.zoomOpacity");return"auto"===l&&(l=Math.abs(n/r-o/s)>.1),{top:a,left:c,scale:o&&n?n/o:1,opacity:l}}canZoom(t){const e=this.fancybox,n=e.$container;if(window.visualViewport&&1!==window.visualViewport.scale)return!1;if(t.Panzoom&&!t.Panzoom.content.width)return!1;if(!e.option("Image.zoom")||"contain"!==e.option("Image.fit"))return!1;const r=t.$thumb;if(!r||"loading"===t.state)return!1;n.classList.add("fancybox__no-click");const i=r.getBoundingClientRect();let o;if(this.fancybox.option("Image.ignoreCoveredThumbnail")){const t=document.elementFromPoint(i.left+1,i.top+1)===r,e=document.elementFromPoint(i.right-1,i.bottom-1)===r;o=t&&e}else o=document.elementFromPoint(i.left+.5*i.width,i.top+.5*i.height)===r;return n.classList.remove("fancybox__no-click"),o}zoomIn(){const t=this.fancybox,e=t.getSlide(),n=e.Panzoom,{top:r,left:i,scale:o,opacity:s}=this.getZoomInfo(e);t.trigger("reveal",e),n.panTo({x:-1*i,y:-1*r,scale:o,friction:0,ignoreBounds:!0}),e.$content.style.visibility="",e.state="zoomIn",!0===s&&n.on("afterTransform",(t=>{"zoomIn"!==e.state&&"zoomOut"!==e.state||(t.$content.style.opacity=Math.min(1,1-(1-t.content.scale)/(1-o)))})),n.panTo({x:0,y:0,scale:1,friction:this.fancybox.option("Image.zoomFriction")})}zoomOut(){const t=this.fancybox,e=t.getSlide(),n=e.Panzoom;if(!n)return;e.state="zoomOut",t.state="customClosing",e.$caption&&(e.$caption.style.visibility="hidden");let r=this.fancybox.option("Image.zoomFriction");const i=t=>{const{top:i,left:o,scale:s,opacity:a}=this.getZoomInfo(e);t||a||(r*=.82),n.panTo({x:-1*o,y:-1*i,scale:s,friction:r,ignoreBounds:!0}),r*=.98};window.addEventListener("scroll",i),n.once("endAnimation",(()=>{window.removeEventListener("scroll",i),t.destroy()})),i()}handleCursor(t){if("image"!==t.type||!t.$el)return;const e=t.Panzoom,n=this.fancybox.option("Image.click",!1,t),r=this.fancybox.option("Image.touch"),i=t.$el.classList,o=this.fancybox.option("Image.canZoomInClass"),s=this.fancybox.option("Image.canZoomOutClass");i.remove(s),i.remove(o),e&&"toggleZoom"===n?e&&1===e.content.scale&&e.option("maxScale")-e.content.scale>.01?i.add(o):e.content.scale>1&&!r&&i.add(s):"close"===n&&i.add(s)}onWheel(t,e){if("ready"===this.fancybox.state&&!1!==this.fancybox.trigger("Image.wheel",e))switch(this.fancybox.option("Image.wheel")){case"zoom":"done"===t.state&&t.Panzoom&&t.Panzoom.zoomWithWheel(e);break;case"close":this.fancybox.close();break;case"slide":this.fancybox[e.deltaY<0?"prev":"next"]()}}onClick(t,e){if("ready"!==this.fancybox.state)return;const n=t.Panzoom;if(n&&(n.dragPosition.midPoint||0!==n.dragOffset.x||0!==n.dragOffset.y||1!==n.dragOffset.scale))return;if(this.fancybox.Carousel.Panzoom.lockAxis)return!1;const r=n=>{switch(n){case"toggleZoom":e.stopPropagation(),t.Panzoom&&t.Panzoom.zoomWithClick(e);break;case"close":this.fancybox.close();break;case"next":e.stopPropagation(),this.fancybox.next()}},i=this.fancybox.option("Image.click"),o=this.fancybox.option("Image.doubleClick");o?this.clickTimer?(clearTimeout(this.clickTimer),this.clickTimer=null,r(o)):this.clickTimer=setTimeout((()=>{this.clickTimer=null,r(i)}),300):r(i)}onPageChange(t,e){const n=t.getSlide();e.slides.forEach((t=>{t.Panzoom&&"done"===t.state&&t.index!==n.index&&t.Panzoom.panTo({x:0,y:0,scale:1,friction:.8})}))}attach(){this.fancybox.on(this.events)}detach(){this.fancybox.off(this.events)}}Pt.defaults={canZoomInClass:"can-zoom_in",canZoomOutClass:"can-zoom_out",zoom:!0,zoomOpacity:"auto",zoomFriction:.82,ignoreCoveredThumbnail:!1,touch:!0,click:"toggleZoom",doubleClick:null,wheel:"zoom",fit:"contain",wrap:!1,Panzoom:{ratio:1}};class Ot{constructor(t){this.fancybox=t;for(const t of["onChange","onClosing"])this[t]=this[t].bind(this);this.events={initCarousel:this.onChange,"Carousel.change":this.onChange,closing:this.onClosing},this.hasCreatedHistory=!1,this.origHash="",this.timer=null}onChange(t){const e=t.Carousel;this.timer&&clearTimeout(this.timer);const n=null===e.prevPage,r=t.getSlide(),i=new URL(document.URL).hash;let o=!1;if(r.slug)o="#"+r.slug;else{const n=r.$trigger&&r.$trigger.dataset,i=t.option("slug")||n&&n.fancybox;i&&i.length&&"true"!==i&&(o="#"+i+(e.slides.length>1?"-"+(r.index+1):""))}n&&(this.origHash=i!==o?i:""),o&&i!==o&&(this.timer=setTimeout((()=>{try{window.history[n?"pushState":"replaceState"]({},document.title,window.location.pathname+window.location.search+o),n&&(this.hasCreatedHistory=!0)}catch(t){}}),300))}onClosing(){if(this.timer&&clearTimeout(this.timer),!0!==this.hasSilentClose)try{return void window.history.replaceState({},document.title,window.location.pathname+window.location.search+(this.origHash||""))}catch(t){}}attach(t){t.on(this.events)}detach(t){t.off(this.events)}static startFromUrl(){const t=Ot.Fancybox;if(!t||t.getInstance()||!1===t.defaults.Hash)return;const{hash:e,slug:n,index:r}=Ot.getParsedURL();if(!n)return;let i=document.querySelector(`[data-slug="${e}"]`);if(i&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})),t.getInstance())return;const o=document.querySelectorAll(`[data-fancybox="${n}"]`);o.length&&(null===r&&1===o.length?i=o[0]:r&&(i=o[r-1]),i&&i.dispatchEvent(new CustomEvent("click",{bubbles:!0,cancelable:!0})))}static onHashChange(){const{slug:t,index:e}=Ot.getParsedURL(),n=Ot.Fancybox,r=n&&n.getInstance();if(r&&r.plugins.Hash){if(t){const n=r.Carousel;if(t===r.option("slug"))return n.slideTo(e-1);for(let e of n.slides)if(e.slug&&e.slug===t)return n.slideTo(e.index);const i=r.getSlide(),o=i.$trigger&&i.$trigger.dataset;if(o&&o.fancybox===t)return n.slideTo(e-1)}r.plugins.Hash.hasSilentClose=!0,r.close()}Ot.startFromUrl()}static create(t){function e(){window.addEventListener("hashchange",Ot.onHashChange,!1),Ot.startFromUrl()}Ot.Fancybox=t,wt&&window.requestAnimationFrame((()=>{/complete|interactive|loaded/.test(document.readyState)?e():document.addEventListener("DOMContentLoaded",e)}))}static destroy(){window.removeEventListener("hashchange",Ot.onHashChange,!1)}static getParsedURL(){const t=window.location.hash.substr(1),e=t.split("-"),n=e.length>1&&/^\+?\d+$/.test(e[e.length-1])&&parseInt(e.pop(-1),10)||null;return{hash:t,slug:e.join("-"),index:n}}}const $t={pageXOffset:0,pageYOffset:0,element:()=>document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement,activate(t){$t.pageXOffset=window.pageXOffset,$t.pageYOffset=window.pageYOffset,t.requestFullscreen?t.requestFullscreen():t.mozRequestFullScreen?t.mozRequestFullScreen():t.webkitRequestFullscreen?t.webkitRequestFullscreen():t.msRequestFullscreen&&t.msRequestFullscreen()},deactivate(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen&&document.webkitExitFullscreen()}};class Lt{constructor(t){this.fancybox=t,this.active=!1,this.handleVisibilityChange=this.handleVisibilityChange.bind(this)}isActive(){return this.active}setTimer(){if(!this.active||this.timer)return;const t=this.fancybox.option("slideshow.delay",3e3);this.timer=setTimeout((()=>{this.timer=null,this.fancybox.option("infinite")||this.fancybox.getSlide().index!==this.fancybox.Carousel.slides.length-1?this.fancybox.next():this.fancybox.jumpTo(0,{friction:0})}),t);let e=this.$progress;e||(e=document.createElement("div"),e.classList.add("fancybox__progress"),this.fancybox.$carousel.parentNode.insertBefore(e,this.fancybox.$carousel),this.$progress=e,e.offsetHeight),e.style.transitionDuration=`${t}ms`,e.style.transform="scaleX(1)"}clearTimer(){clearTimeout(this.timer),this.timer=null,this.$progress&&(this.$progress.style.transitionDuration="",this.$progress.style.transform="",this.$progress.offsetHeight)}activate(){this.active||(this.active=!0,this.fancybox.$container.classList.add("has-slideshow"),"done"===this.fancybox.getSlide().state&&this.setTimer(),document.addEventListener("visibilitychange",this.handleVisibilityChange,!1))}handleVisibilityChange(){this.deactivate()}deactivate(){this.active=!1,this.clearTimer(),this.fancybox.$container.classList.remove("has-slideshow"),document.removeEventListener("visibilitychange",this.handleVisibilityChange,!1)}toggle(){this.active?this.deactivate():this.fancybox.Carousel.slides.length>1&&this.activate()}}const Dt={display:["counter","zoom","slideshow","fullscreen","thumbs","close"],autoEnable:!0,items:{counter:{position:"left",type:"div",class:"fancybox__counter",html:'<span data-fancybox-index=""></span>&nbsp;/&nbsp;<span data-fancybox-count=""></span>',attr:{tabindex:-1}},prev:{type:"button",class:"fancybox__button--prev",label:"PREV",html:'<svg viewBox="0 0 24 24"><path d="M15 4l-8 8 8 8"/></svg>',attr:{"data-fancybox-prev":""}},next:{type:"button",class:"fancybox__button--next",label:"NEXT",html:'<svg viewBox="0 0 24 24"><path d="M8 4l8 8-8 8"/></svg>',attr:{"data-fancybox-next":""}},fullscreen:{type:"button",class:"fancybox__button--fullscreen",label:"TOGGLE_FULLSCREEN",html:'<svg viewBox="0 0 24 24">\n                <g><path d="M3 8 V3h5"></path><path d="M21 8V3h-5"></path><path d="M8 21H3v-5"></path><path d="M16 21h5v-5"></path></g>\n                <g><path d="M7 2v5H2M17 2v5h5M2 17h5v5M22 17h-5v5"/></g>\n            </svg>',click:function(t){t.preventDefault(),$t.element()?$t.deactivate():$t.activate(this.fancybox.$container)}},slideshow:{type:"button",class:"fancybox__button--slideshow",label:"TOGGLE_SLIDESHOW",html:'<svg viewBox="0 0 24 24">\n                <g><path d="M6 4v16"/><path d="M20 12L6 20"/><path d="M20 12L6 4"/></g>\n                <g><path d="M7 4v15M17 4v15"/></g>\n            </svg>',click:function(t){t.preventDefault(),this.Slideshow.toggle()}},zoom:{type:"button",class:"fancybox__button--zoom",label:"TOGGLE_ZOOM",html:'<svg viewBox="0 0 24 24"><circle cx="10" cy="10" r="7"></circle><path d="M16 16 L21 21"></svg>',click:function(t){t.preventDefault();const e=this.fancybox.getSlide().Panzoom;e&&e.toggleZoom()}},download:{type:"link",label:"DOWNLOAD",class:"fancybox__button--download",html:'<svg viewBox="0 0 24 24"><path d="M12 15V3m0 12l-4-4m4 4l4-4M2 17l.62 2.48A2 2 0 004.56 21h14.88a2 2 0 001.94-1.51L22 17"/></svg>',click:function(t){t.stopPropagation()}},thumbs:{type:"button",label:"TOGGLE_THUMBS",class:"fancybox__button--thumbs",html:'<svg viewBox="0 0 24 24"><circle cx="4" cy="4" r="1" /><circle cx="12" cy="4" r="1" transform="rotate(90 12 4)"/><circle cx="20" cy="4" r="1" transform="rotate(90 20 4)"/><circle cx="4" cy="12" r="1" transform="rotate(90 4 12)"/><circle cx="12" cy="12" r="1" transform="rotate(90 12 12)"/><circle cx="20" cy="12" r="1" transform="rotate(90 20 12)"/><circle cx="4" cy="20" r="1" transform="rotate(90 4 20)"/><circle cx="12" cy="20" r="1" transform="rotate(90 12 20)"/><circle cx="20" cy="20" r="1" transform="rotate(90 20 20)"/></svg>',click:function(t){t.stopPropagation();const e=this.fancybox.plugins.Thumbs;e&&e.toggle()}},close:{type:"button",label:"CLOSE",class:"fancybox__button--close",html:'<svg viewBox="0 0 24 24"><path d="M20 20L4 4m16 0L4 20"></path></svg>',attr:{"data-fancybox-close":"",tabindex:0}}}};class It{constructor(t){this.fancybox=t,this.$container=null,this.state="init";for(const t of["onInit","onPrepare","onDone","onKeydown","onClosing","onChange","onSettle","onRefresh"])this[t]=this[t].bind(this);this.events={init:this.onInit,prepare:this.onPrepare,done:this.onDone,keydown:this.onKeydown,closing:this.onClosing,"Carousel.change":this.onChange,"Carousel.settle":this.onSettle,"Carousel.Panzoom.touchStart":()=>this.onRefresh(),"Image.startAnimation":(t,e)=>this.onRefresh(e),"Image.afterUpdate":(t,e)=>this.onRefresh(e)}}onInit(){if(this.fancybox.option("Toolbar.autoEnable")){let t=!1;for(const e of this.fancybox.items)if("image"===e.type){t=!0;break}if(!t)return void(this.state="disabled")}for(const t of this.fancybox.option("Toolbar.display"))if("close"===(rt(t)?t.id:t)){this.fancybox.options.closeButton=!1;break}}onPrepare(){const t=this.fancybox;if("init"===this.state&&(this.build(),this.update(),this.Slideshow=new Lt(t),!t.Carousel.prevPage&&(t.option("slideshow.autoStart")&&this.Slideshow.activate(),t.option("fullscreen.autoStart")&&!$t.element())))try{$t.activate(t.$container)}catch(t){}}onFsChange(){window.scrollTo($t.pageXOffset,$t.pageYOffset)}onSettle(){const t=this.fancybox,e=this.Slideshow;e&&e.isActive()&&(t.getSlide().index!==t.Carousel.slides.length-1||t.option("infinite")?"done"===t.getSlide().state&&e.setTimer():e.deactivate())}onChange(){this.update(),this.Slideshow&&this.Slideshow.isActive()&&this.Slideshow.clearTimer()}onDone(t,e){const n=this.Slideshow;e.index===t.getSlide().index&&(this.update(),n&&n.isActive()&&(t.option("infinite")||e.index!==t.Carousel.slides.length-1?n.setTimer():n.deactivate()))}onRefresh(t){t&&t.index!==this.fancybox.getSlide().index||(this.update(),!this.Slideshow||!this.Slideshow.isActive()||t&&"done"!==t.state||this.Slideshow.deactivate())}onKeydown(t,e,n){" "===e&&this.Slideshow&&(this.Slideshow.toggle(),n.preventDefault())}onClosing(){this.Slideshow&&this.Slideshow.deactivate(),document.removeEventListener("fullscreenchange",this.onFsChange)}createElement(t){let e;"div"===t.type?e=document.createElement("div"):(e=document.createElement("link"===t.type?"a":"button"),e.classList.add("carousel__button")),e.innerHTML=t.html,e.setAttribute("tabindex",t.tabindex||0),t.class&&e.classList.add(...t.class.split(" "));for(const n in t.attr)e.setAttribute(n,t.attr[n]);t.label&&e.setAttribute("title",this.fancybox.localize(`{{${t.label}}}`)),t.click&&e.addEventListener("click",t.click.bind(this)),"prev"===t.id&&e.setAttribute("data-fancybox-prev",""),"next"===t.id&&e.setAttribute("data-fancybox-next","");const n=e.querySelector("svg");return n&&(n.setAttribute("role","img"),n.setAttribute("tabindex","-1"),n.setAttribute("xmlns","http://www.w3.org/2000/svg")),e}build(){this.cleanup();const t=this.fancybox.option("Toolbar.items"),e=[{position:"left",items:[]},{position:"center",items:[]},{position:"right",items:[]}],n=this.fancybox.plugins.Thumbs;for(const r of this.fancybox.option("Toolbar.display")){let i,o;if(rt(r)?(i=r.id,o=it({},t[i],r)):(i=r,o=t[i]),["counter","next","prev","slideshow"].includes(i)&&this.fancybox.items.length<2)continue;if("fullscreen"===i){if(!document.fullscreenEnabled||window.fullScreen)continue;document.addEventListener("fullscreenchange",this.onFsChange)}if("thumbs"===i&&(!n||"disabled"===n.state))continue;if(!o)continue;let s=o.position||"right",a=e.find((t=>t.position===s));a&&a.items.push(o)}const r=document.createElement("div");r.classList.add("fancybox__toolbar");for(const t of e)if(t.items.length){const e=document.createElement("div");e.classList.add("fancybox__toolbar__items"),e.classList.add(`fancybox__toolbar__items--${t.position}`);for(const n of t.items)e.appendChild(this.createElement(n));r.appendChild(e)}this.fancybox.$carousel.parentNode.insertBefore(r,this.fancybox.$carousel),this.$container=r}update(){const t=this.fancybox.getSlide(),e=t.index,n=this.fancybox.items.length,r=t.downloadSrc||("image"!==t.type||t.error?null:t.src);for(const t of this.fancybox.$container.querySelectorAll("a.fancybox__button--download"))r?(t.removeAttribute("disabled"),t.removeAttribute("tabindex"),t.setAttribute("href",r),t.setAttribute("download",r),t.setAttribute("target","_blank")):(t.setAttribute("disabled",""),t.setAttribute("tabindex",-1),t.removeAttribute("href"),t.removeAttribute("download"));const i=t.Panzoom,o=i&&i.option("maxScale")>i.option("baseScale");for(const t of this.fancybox.$container.querySelectorAll(".fancybox__button--zoom"))o?t.removeAttribute("disabled"):t.setAttribute("disabled","");for(const e of this.fancybox.$container.querySelectorAll("[data-fancybox-index]"))e.innerHTML=t.index+1;for(const t of this.fancybox.$container.querySelectorAll("[data-fancybox-count]"))t.innerHTML=n;if(!this.fancybox.option("infinite")){for(const t of this.fancybox.$container.querySelectorAll("[data-fancybox-prev]"))0===e?t.setAttribute("disabled",""):t.removeAttribute("disabled");for(const t of this.fancybox.$container.querySelectorAll("[data-fancybox-next]"))e===n-1?t.setAttribute("disabled",""):t.removeAttribute("disabled")}}cleanup(){this.Slideshow&&this.Slideshow.isActive()&&this.Slideshow.clearTimer(),this.$container&&this.$container.remove(),this.$container=null}attach(){this.fancybox.on(this.events)}detach(){this.fancybox.off(this.events),this.cleanup()}}It.defaults=Dt;const jt={ScrollLock:class{constructor(t){this.fancybox=t,this.viewport=null,this.pendingUpdate=null;for(const t of["onReady","onResize","onTouchstart","onTouchmove"])this[t]=this[t].bind(this)}onReady(){const t=window.visualViewport;t&&(this.viewport=t,this.startY=0,t.addEventListener("resize",this.onResize),this.updateViewport()),window.addEventListener("touchstart",this.onTouchstart,{passive:!1}),window.addEventListener("touchmove",this.onTouchmove,{passive:!1}),window.addEventListener("wheel",this.onWheel,{passive:!1})}onResize(){this.updateViewport()}updateViewport(){const t=this.fancybox,e=this.viewport,n=e.scale||1,r=t.$container;if(!r)return;let i="",o="",s="";n-1>.1&&(i=e.width*n+"px",o=e.height*n+"px",s=`translate3d(${e.offsetLeft}px, ${e.offsetTop}px, 0) scale(${1/n})`),r.style.width=i,r.style.height=o,r.style.transform=s}onTouchstart(t){this.startY=t.touches?t.touches[0].screenY:t.screenY}onTouchmove(t){const e=this.startY,n=window.innerWidth/window.document.documentElement.clientWidth;if(!t.cancelable)return;if(t.touches.length>1||1!==n)return;const r=st(t.composedPath()[0]);if(!r)return void t.preventDefault();const i=window.getComputedStyle(r),o=parseInt(i.getPropertyValue("height"),10),s=t.touches?t.touches[0].screenY:t.screenY,a=e<=s&&0===r.scrollTop,c=e>=s&&r.scrollHeight-r.scrollTop===o;(a||c)&&t.preventDefault()}onWheel(t){st(t.composedPath()[0])||t.preventDefault()}cleanup(){this.pendingUpdate&&(cancelAnimationFrame(this.pendingUpdate),this.pendingUpdate=null);const t=this.viewport;t&&(t.removeEventListener("resize",this.onResize),this.viewport=null),window.removeEventListener("touchstart",this.onTouchstart,!1),window.removeEventListener("touchmove",this.onTouchmove,!1),window.removeEventListener("wheel",this.onWheel,{passive:!1})}attach(){this.fancybox.on("initLayout",this.onReady)}detach(){this.fancybox.off("initLayout",this.onReady),this.cleanup()}},Thumbs:Ct,Html:kt,Toolbar:It,Image:Pt,Hash:Ot},Nt={startIndex:0,preload:1,infinite:!0,showClass:"fancybox-zoomInUp",hideClass:"fancybox-fadeOut",animated:!0,hideScrollbar:!0,parentEl:null,mainClass:null,autoFocus:!0,trapFocus:!0,placeFocusBack:!0,click:"close",closeButton:"inside",dragToClose:!0,keyboard:{Escape:"close",Delete:"close",Backspace:"close",PageUp:"next",PageDown:"prev",ArrowUp:"next",ArrowDown:"prev",ArrowRight:"next",ArrowLeft:"prev"},template:{closeButton:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" tabindex="-1"><path d="M20 20L4 4m16 0L4 20"/></svg>',spinner:'<svg xmlns="http://www.w3.org/2000/svg" width="50" height="50" viewBox="25 25 50 50" tabindex="-1"><circle cx="50" cy="50" r="20"/></svg>',main:null},l10n:{CLOSE:"Close",NEXT:"Next",PREV:"Previous",MODAL:"You can close this modal content with the ESC key",ERROR:"Something Went Wrong, Please Try Again Later",IMAGE_ERROR:"Image Not Found",ELEMENT_NOT_FOUND:"HTML Element Not Found",AJAX_NOT_FOUND:"Error Loading AJAX : Not Found",AJAX_FORBIDDEN:"Error Loading AJAX : Forbidden",IFRAME_ERROR:"Error Loading Page",TOGGLE_ZOOM:"Toggle zoom level",TOGGLE_THUMBS:"Toggle thumbnails",TOGGLE_SLIDESHOW:"Toggle slideshow",TOGGLE_FULLSCREEN:"Toggle full-screen mode",DOWNLOAD:"Download"}},Rt=new Map;let Mt=0;class qt extends ft{constructor(t,e={}){t=t.map((t=>(t.width&&(t._width=t.width),t.height&&(t._height=t.height),t))),super(it(!0,{},Nt,e)),this.bindHandlers(),this.state="init",this.setItems(t),this.attachPlugins(qt.Plugins),this.trigger("init"),!0===this.option("hideScrollbar")&&this.hideScrollbar(),this.initLayout(),this.initCarousel(),this.attachEvents(),Rt.set(this.id,this),this.trigger("prepare"),this.state="ready",this.trigger("ready"),this.$container.setAttribute("aria-hidden","false"),this.option("trapFocus")&&this.focus()}option(t,...e){const n=this.getSlide();let r=n?n[t]:void 0;return void 0!==r?("function"==typeof r&&(r=r.call(this,this,...e)),r):super.option(t,...e)}bindHandlers(){for(const t of["onMousedown","onKeydown","onClick","onFocus","onCreateSlide","onSettle","onTouchMove","onTouchEnd","onTransform"])this[t]=this[t].bind(this)}attachEvents(){document.addEventListener("mousedown",this.onMousedown),document.addEventListener("keydown",this.onKeydown,!0),this.option("trapFocus")&&document.addEventListener("focus",this.onFocus,!0),this.$container.addEventListener("click",this.onClick)}detachEvents(){document.removeEventListener("mousedown",this.onMousedown),document.removeEventListener("keydown",this.onKeydown,!0),document.removeEventListener("focus",this.onFocus,!0),this.$container.removeEventListener("click",this.onClick)}initLayout(){this.$root=this.option("parentEl")||document.body;let t=this.option("template.main");t&&(this.$root.insertAdjacentHTML("beforeend",this.localize(t)),this.$container=this.$root.querySelector(".fancybox__container")),this.$container||(this.$container=document.createElement("div"),this.$root.appendChild(this.$container)),this.$container.onscroll=()=>(this.$container.scrollLeft=0,!1),Object.entries({class:"fancybox__container",role:"dialog",tabIndex:"-1","aria-modal":"true","aria-hidden":"true","aria-label":this.localize("{{MODAL}}")}).forEach((t=>this.$container.setAttribute(...t))),this.option("animated")&&this.$container.classList.add("is-animated"),this.$backdrop=this.$container.querySelector(".fancybox__backdrop"),this.$backdrop||(this.$backdrop=document.createElement("div"),this.$backdrop.classList.add("fancybox__backdrop"),this.$container.appendChild(this.$backdrop)),this.$carousel=this.$container.querySelector(".fancybox__carousel"),this.$carousel||(this.$carousel=document.createElement("div"),this.$carousel.classList.add("fancybox__carousel"),this.$container.appendChild(this.$carousel)),this.$container.Fancybox=this,this.id=this.$container.getAttribute("id"),this.id||(this.id=this.options.id||++Mt,this.$container.setAttribute("id","fancybox-"+this.id));const e=this.option("mainClass");return e&&this.$container.classList.add(...e.split(" ")),document.documentElement.classList.add("with-fancybox"),this.trigger("initLayout"),this}setItems(t){const e=[];for(const n of t){const t=n.$trigger;if(t){const e=t.dataset||{};n.src=e.src||t.getAttribute("href")||n.src,n.type=e.type||n.type,!n.src&&t instanceof HTMLImageElement&&(n.src=t.currentSrc||n.$trigger.src)}let r=n.$thumb;if(!r){let t=n.$trigger&&n.$trigger.origTarget;t&&(r=t instanceof HTMLImageElement?t:t.querySelector("img:not([aria-hidden])")),!r&&n.$trigger&&(r=n.$trigger instanceof HTMLImageElement?n.$trigger:n.$trigger.querySelector("img:not([aria-hidden])"))}n.$thumb=r||null;let i=n.thumb;!i&&r&&(i=r.currentSrc||r.src,!i&&r.dataset&&(i=r.dataset.lazySrc||r.dataset.src)),i||"image"!==n.type||(i=n.src),n.thumb=i||null,n.caption=n.caption||"",e.push(n)}this.items=e}initCarousel(){return this.Carousel=new _t(this.$carousel,it(!0,{},{prefix:"",classNames:{viewport:"fancybox__viewport",track:"fancybox__track",slide:"fancybox__slide"},textSelection:!0,preload:this.option("preload"),friction:.88,slides:this.items,initialPage:this.options.startIndex,slidesPerPage:1,infiniteX:this.option("infinite"),infiniteY:!0,l10n:this.option("l10n"),Dots:!1,Navigation:{classNames:{main:"fancybox__nav",button:"carousel__button",next:"is-next",prev:"is-prev"}},Panzoom:{textSelection:!0,panOnlyZoomed:()=>this.Carousel&&this.Carousel.pages&&this.Carousel.pages.length<2&&!this.option("dragToClose"),lockAxis:()=>{if(this.Carousel){let t="x";return this.option("dragToClose")&&(t+="y"),t}}},on:{"*":(t,...e)=>this.trigger(`Carousel.${t}`,...e),init:t=>this.Carousel=t,createSlide:this.onCreateSlide,settle:this.onSettle}},this.option("Carousel"))),this.option("dragToClose")&&this.Carousel.Panzoom.on({touchMove:this.onTouchMove,afterTransform:this.onTransform,touchEnd:this.onTouchEnd}),this.trigger("initCarousel"),this}onCreateSlide(t,e){let n=e.caption||"";if("function"==typeof this.options.caption&&(n=this.options.caption.call(this,this,this.Carousel,e)),"string"==typeof n&&n.length){const t=document.createElement("div"),r=`fancybox__caption_${this.id}_${e.index}`;t.className="fancybox__caption",t.innerHTML=n,t.setAttribute("id",r),e.$caption=e.$el.appendChild(t),e.$el.classList.add("has-caption"),e.$el.setAttribute("aria-labelledby",r)}}onSettle(){this.option("autoFocus")&&this.focus()}onFocus(t){this.isTopmost()&&this.focus(t)}onClick(t){if(t.defaultPrevented)return;let e=t.composedPath()[0];if(e.matches("[data-fancybox-close]"))return t.preventDefault(),void qt.close(!1,t);if(e.matches("[data-fancybox-next]"))return t.preventDefault(),void qt.next();if(e.matches("[data-fancybox-prev]"))return t.preventDefault(),void qt.prev();const n=document.activeElement;if(n){if(n.closest("[contenteditable]"))return;e.matches(Et)||n.blur()}if(!e.closest(".fancybox__content")&&!getSelection().toString().length&&!1!==this.trigger("click",t))switch(this.option("click")){case"close":this.close();break;case"next":this.next()}}onTouchMove(){const t=this.getSlide().Panzoom;return!t||1===t.content.scale}onTouchEnd(t){const e=t.dragOffset.y;Math.abs(e)>=150||Math.abs(e)>=35&&t.dragOffset.time<350?(this.option("hideClass")&&(this.getSlide().hideClass="fancybox-throwOut"+(t.content.y<0?"Up":"Down")),this.close()):"y"===t.lockAxis&&t.panTo({y:0})}onTransform(t){if(this.$backdrop){const e=Math.abs(t.content.y),n=e<1?"":Math.max(.33,Math.min(1,1-e/t.content.fitHeight*1.5));this.$container.style.setProperty("--fancybox-ts",n?"0s":""),this.$container.style.setProperty("--fancybox-opacity",n)}}onMousedown(){"ready"===this.state&&document.body.classList.add("is-using-mouse")}onKeydown(t){if(!this.isTopmost())return;document.body.classList.remove("is-using-mouse");const e=t.key,n=this.option("keyboard");if(!n||t.ctrlKey||t.altKey||t.shiftKey)return;const r=t.composedPath()[0],i=document.activeElement&&document.activeElement.classList,o=i&&i.contains("carousel__button");if("Escape"!==e&&!o&&(t.target.isContentEditable||-1!==["BUTTON","TEXTAREA","OPTION","INPUT","SELECT","VIDEO"].indexOf(r.nodeName)))return;if(!1===this.trigger("keydown",e,t))return;const s=n[e];"function"==typeof this[s]&&this[s]()}getSlide(){const t=this.Carousel;if(!t)return null;const e=null===t.page?t.option("initialPage"):t.page,n=t.pages||[];return n.length&&n[e]?n[e].slides[0]:null}focus(t){if(qt.ignoreFocusChange)return;if(["init","closing","customClosing","destroy"].indexOf(this.state)>-1)return;const e=this.$container,n=this.getSlide(),r="done"===n.state?n.$el:null;if(r&&r.contains(document.activeElement))return;t&&t.preventDefault(),qt.ignoreFocusChange=!0;const i=Array.from(e.querySelectorAll(Et));let o,s=[];for(let t of i){const e=t.offsetParent,n=r&&r.contains(t),i=!this.Carousel.$viewport.contains(t);e&&(n||i)?(s.push(t),void 0!==t.dataset.origTabindex&&(t.tabIndex=t.dataset.origTabindex,t.removeAttribute("data-orig-tabindex")),(t.hasAttribute("autoFocus")||!o&&n&&!t.classList.contains("carousel__button"))&&(o=t)):(t.dataset.origTabindex=void 0===t.dataset.origTabindex?t.getAttribute("tabindex"):t.dataset.origTabindex,t.tabIndex=-1)}t?s.indexOf(t.target)>-1?this.lastFocus=t.target:this.lastFocus===e?At(s[s.length-1]):At(e):this.option("autoFocus")&&o?At(o):s.indexOf(document.activeElement)<0&&At(e),this.lastFocus=document.activeElement,qt.ignoreFocusChange=!1}hideScrollbar(){if(!wt)return;const t=window.innerWidth-document.documentElement.getBoundingClientRect().width,e="fancybox-style-noscroll";let n=document.getElementById(e);n||t>0&&(n=document.createElement("style"),n.id=e,n.type="text/css",n.innerHTML=`.compensate-for-scrollbar {padding-right: ${t}px;}`,document.getElementsByTagName("head")[0].appendChild(n),document.body.classList.add("compensate-for-scrollbar"))}revealScrollbar(){document.body.classList.remove("compensate-for-scrollbar");const t=document.getElementById("fancybox-style-noscroll");t&&t.remove()}clearContent(t){this.Carousel.trigger("removeSlide",t),t.$content&&(t.$content.remove(),t.$content=null),t.$closeButton&&(t.$closeButton.remove(),t.$closeButton=null),t._className&&t.$el.classList.remove(t._className)}setContent(t,e,n={}){let r;const i=t.$el;if(e instanceof HTMLElement)["img","iframe","video","audio"].indexOf(e.nodeName.toLowerCase())>-1?(r=document.createElement("div"),r.appendChild(e)):r=e;else{const t=document.createRange().createContextualFragment(e);r=document.createElement("div"),r.appendChild(t)}if(t.filter&&!t.error&&(r=r.querySelector(t.filter)),r instanceof Element)return t._className=`has-${n.suffix||t.type||"unknown"}`,i.classList.add(t._className),r.classList.add("fancybox__content"),"none"!==r.style.display&&"none"!==getComputedStyle(r).getPropertyValue("display")||(r.style.display=t.display||this.option("defaultDisplay")||"flex"),t.id&&r.setAttribute("id",t.id),t.$content=r,i.prepend(r),this.manageCloseButton(t),"loading"!==t.state&&this.revealContent(t),r;this.setError(t,"{{ELEMENT_NOT_FOUND}}")}manageCloseButton(t){const e=void 0===t.closeButton?this.option("closeButton"):t.closeButton;if(!e||"top"===e&&this.$closeButton)return;const n=document.createElement("button");n.classList.add("carousel__button","is-close"),n.setAttribute("title",this.options.l10n.CLOSE),n.innerHTML=this.option("template.closeButton"),n.addEventListener("click",(t=>this.close(t))),"inside"===e?(t.$closeButton&&t.$closeButton.remove(),t.$closeButton=t.$content.appendChild(n)):this.$closeButton=this.$container.insertBefore(n,this.$container.firstChild)}revealContent(t){this.trigger("reveal",t),t.$content.style.visibility="";let e=!1;t.error||"loading"===t.state||null!==this.Carousel.prevPage||t.index!==this.options.startIndex||(e=void 0===t.showClass?this.option("showClass"):t.showClass),e?(t.state="animating",this.animateCSS(t.$content,e,(()=>{this.done(t)}))):this.done(t)}animateCSS(t,e,n){if(t&&t.dispatchEvent(new CustomEvent("animationend",{bubbles:!0,cancelable:!0})),!t||!e)return void("function"==typeof n&&n());const r=function(i){i.currentTarget===this&&(t.removeEventListener("animationend",r),n&&n(),t.classList.remove(e))};t.addEventListener("animationend",r),t.classList.add(e)}done(t){t.state="done",this.trigger("done",t);const e=this.getSlide();e&&t.index===e.index&&this.option("autoFocus")&&this.focus()}setError(t,e){t.error=e,this.hideLoading(t),this.clearContent(t);const n=document.createElement("div");n.classList.add("fancybox-error"),n.innerHTML=this.localize(e||"<p>{{ERROR}}</p>"),this.setContent(t,n,{suffix:"error"})}showLoading(t){t.state="loading",t.$el.classList.add("is-loading");let e=t.$el.querySelector(".fancybox__spinner");e||(e=document.createElement("div"),e.classList.add("fancybox__spinner"),e.innerHTML=this.option("template.spinner"),e.addEventListener("click",(()=>{this.Carousel.Panzoom.velocity||this.close()})),t.$el.prepend(e))}hideLoading(t){const e=t.$el&&t.$el.querySelector(".fancybox__spinner");e&&(e.remove(),t.$el.classList.remove("is-loading")),"loading"===t.state&&(this.trigger("load",t),t.state="ready")}next(){const t=this.Carousel;t&&t.pages.length>1&&t.slideNext()}prev(){const t=this.Carousel;t&&t.pages.length>1&&t.slidePrev()}jumpTo(...t){this.Carousel&&this.Carousel.slideTo(...t)}isClosing(){return["closing","customClosing","destroy"].includes(this.state)}isTopmost(){return qt.getInstance().id==this.id}close(t){if(t&&t.preventDefault(),this.isClosing())return;if(!1===this.trigger("shouldClose",t))return;if(this.state="closing",this.Carousel.Panzoom.destroy(),this.detachEvents(),this.trigger("closing",t),"destroy"===this.state)return;this.$container.setAttribute("aria-hidden","true"),this.$container.classList.add("is-closing");const e=this.getSlide();if(this.Carousel.slides.forEach((t=>{t.$content&&t.index!==e.index&&this.Carousel.trigger("removeSlide",t)})),"closing"===this.state){const t=void 0===e.hideClass?this.option("hideClass"):e.hideClass;this.animateCSS(e.$content,t,(()=>{this.destroy()}),!0)}}destroy(){if("destroy"===this.state)return;this.state="destroy",this.trigger("destroy");const t=this.option("placeFocusBack")?this.option("triggerTarget",this.getSlide().$trigger):null;this.Carousel.destroy(),this.detachPlugins(),this.Carousel=null,this.options={},this.events={},this.$container.remove(),this.$container=this.$backdrop=this.$carousel=null,t&&At(t),Rt.delete(this.id);const e=qt.getInstance();e?e.focus():(document.documentElement.classList.remove("with-fancybox"),document.body.classList.remove("is-using-mouse"),this.revealScrollbar())}static show(t,e={}){return new qt(t,e)}static fromEvent(t,e={}){if(t.defaultPrevented)return;if(t.button&&0!==t.button)return;if(t.ctrlKey||t.metaKey||t.shiftKey)return;const n=t.composedPath()[0];let r,i,o,s=n;if((s.matches("[data-fancybox-trigger]")||(s=s.closest("[data-fancybox-trigger]")))&&(e.triggerTarget=s,r=s&&s.dataset&&s.dataset.fancyboxTrigger),r){const t=document.querySelectorAll(`[data-fancybox="${r}"]`),e=parseInt(s.dataset.fancyboxIndex,10)||0;s=t.length?t[e]:s}Array.from(qt.openers.keys()).reverse().some((e=>{o=s||n;let r=!1;try{o instanceof Element&&("string"==typeof e||e instanceof String)&&(r=o.matches(e)||(o=o.closest(e)))}catch(t){}return!!r&&(t.preventDefault(),i=e,!0)}));let a=!1;if(i){e.event=t,e.target=o,o.origTarget=n,a=qt.fromOpener(i,e);const r=qt.getInstance();r&&"ready"===r.state&&t.detail&&document.body.classList.add("is-using-mouse")}return a}static fromOpener(t,e={}){let n=[],r=e.startIndex||0,i=e.target||null;const o=void 0!==(e=it({},e,qt.openers.get(t))).groupAll&&e.groupAll,s=void 0===e.groupAttr?"data-fancybox":e.groupAttr,a=s&&i?i.getAttribute(`${s}`):"";if(!i||a||o){const r=e.root||(i?i.getRootNode():document.body);n=[].slice.call(r.querySelectorAll(t))}if(i&&!o&&(n=a?n.filter((t=>t.getAttribute(`${s}`)===a)):[i]),!n.length)return!1;const c=qt.getInstance();return!(c&&n.indexOf(c.options.$trigger)>-1)&&(r=i?n.indexOf(i):r,n=n.map((function(t){const e=["false","0","no","null","undefined"],n=["true","1","yes"],r=Object.assign({},t.dataset),i={};for(let[t,o]of Object.entries(r))if("fancybox"!==t)if("width"===t||"height"===t)i[`_${t}`]=o;else if("string"==typeof o||o instanceof String)if(e.indexOf(o)>-1)i[t]=!1;else if(n.indexOf(i[t])>-1)i[t]=!0;else try{i[t]=JSON.parse(o)}catch(e){i[t]=o}else i[t]=o;return t instanceof Element&&(i.$trigger=t),i})),new qt(n,it({},e,{startIndex:r,$trigger:i})))}static bind(t,e={}){function n(){document.body.addEventListener("click",qt.fromEvent,!1)}wt&&(qt.openers.size||(/complete|interactive|loaded/.test(document.readyState)?n():document.addEventListener("DOMContentLoaded",n)),qt.openers.set(t,e))}static unbind(t){qt.openers.delete(t),qt.openers.size||qt.destroy()}static destroy(){let t;for(;t=qt.getInstance();)t.destroy();qt.openers=new Map,document.body.removeEventListener("click",qt.fromEvent,!1)}static getInstance(t){return t?Rt.get(t):Array.from(Rt.values()).reverse().find((t=>!t.isClosing()&&t))||null}static close(t=!0,e){if(t)for(const t of Rt.values())t.close(e);else{const t=qt.getInstance();t&&t.close(e)}}static next(){const t=qt.getInstance();t&&t.next()}static prev(){const t=qt.getInstance();t&&t.prev()}}qt.version="4.0.31",qt.defaults=Nt,qt.openers=new Map,qt.Plugins=jt,qt.bind("[data-fancybox]");for(const[t,e]of Object.entries(qt.Plugins||{}))"function"==typeof e.create&&e.create(qt);function Ft(t){return Ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ft(t)}function Bt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Ht(r.key),r)}}function Ht(t){var e=function(t,e){if("object"!=Ft(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ft(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ft(e)?e:String(e)}var zt=function(t){var e=t.message;return"\n    <li>".concat(e,"</li>\n")},Wt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"buildMessageList",value:function(t){Array.isArray(t)||(t=[t]);var e=[];return $(t).each((function(t,n){e.push({message:n})})),e.map(zt).join("")}},{key:"showSuccessMessage",value:function(t){$("#modal-success ul").html(this.buildMessageList(t)),new qt([{src:"#modal-success",type:"inline"}])}},{key:"showErrorMessage",value:function(t){$("#modal-error ul").html(this.buildMessageList(t)),new qt([{src:"#modal-error",type:"inline"}])}},{key:"parseValidationExceptionResponse",value:function(t){var e=[];return Object.keys(t.data.errors).forEach((function(n,r){e.push(t.data.errors[n][0])})),e}},{key:"success",value:function(e){t.showSuccessMessage(e)}},{key:"error",value:function(e){t.showErrorMessage(e)}},{key:"errorFromResponse",value:function(e){t.showErrorMessage(t.parseValidationExceptionResponse(e))}}],(n=null)&&Bt(e.prototype,n),r&&Bt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Ut(t){return Ut="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Ut(t)}function Vt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,Yt(r.key),r)}}function Yt(t){var e=function(t,e){if("object"!=Ut(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Ut(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ut(e)?e:String(e)}var Xt="#popup-prodotto-aggiunto-al-carrello-error",Gt="#span-badge-carrello",Kt=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,n=[{key:"caricaOrdine",value:function(t,e){httpRequest.get("api/ordini").then((function(e){var n=e.data.data;"function"==typeof t&&t(n)})).catch((function(t){"function"==typeof e&&e(t.response)}))}},{key:"prodottoAggiuntoSuccesso",value:function(t,e){if(arguments.length>2&&void 0!==arguments[2]&&arguments[2]){var n=new qt([{src:"#popup-prodotto-aggiunto-al-carrello-success",type:"inline"}]);$("#btn-close-popup-prodotto-aggiunto-al-carrello-success").click((function(t){t.preventDefault(),n.close()}))}Array.isArray(t.prodotti)&&t.prodotti.length>0?($(Gt).text(t.prodotti.length),$(Gt).show()):($(Gt).text(""),$(Gt).hide()),"function"==typeof e&&e(t)}},{key:"prodottoAggiuntoError",value:function(t,e){var n=$("".concat(Xt," ").concat("p.message"));if(t){if(400===t.status){var r=t.data.message;n.text(r),n.show()}}else n.text(""),n.hide();var i=new qt([{src:Xt,type:"inline"}]);$("#btn-close-popup-prodotto-aggiunto-al-carrello-error").click((function(t){t.preventDefault(),i.close()})),"function"==typeof e&&error(t)}},{key:"prodottoRimossoSuccess",value:function(t,e){Array.isArray(t.prodotti)&&t.prodotti.length>0?($(Gt).text(t.prodotti.length),$(Gt).show()):($(Gt).text(""),$(Gt).hide()),"function"==typeof e&&e(t)}},{key:"prodottoRimossoError",value:function(t,e){"function"==typeof e&&e(t)}},{key:"aggiungiCorso",value:function(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],s=this,a={corso_id:t,quantita:e,as_gift:n};httpRequest.post("api/ordini/aggiungi-corso",a).then((function(e){if(s.prodottoAggiuntoSuccesso(e.data.data,r,o),"function"==typeof window.trackFacebook){var n={content_ids:[t],content_type:"product"};window.trackFacebook("track","AddToCart",n)}})).catch((function(t){s.prodottoAggiuntoError(t.response,i,o)}))}},{key:"rimuoviCorso",value:function(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=this,s={prodotto_ordine_id:t,quantita:e};httpRequest.post("api/ordini/rimuovi-prodotto",s).then((function(t){o.prodottoRimossoSuccess(t.data.data,n,i)})).catch((function(t){o.prodottoRimossoError(t.response,r,i)}))}}],n&&Vt(e.prototype,n),r&&Vt(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Zt(t){return Zt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Zt(t)}function Qt(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return Jt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Jt(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function Jt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function te(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,ee(r.key),r)}}function ee(t){var e=function(t,e){if("object"!=Zt(t)||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=Zt(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Zt(e)?e:String(e)}var ne=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t)}var e,n,r;return e=t,r=[{key:"isEmpty",value:function(t){return!t||/^\s*$/.test(t)}},{key:"setCookie",value:function(t,e,n){var r=new Date;r.setTime(r.getTime()+24*n*60*60*1e3);var i="expires="+r.toUTCString();document.cookie=t+"="+e+";"+i+";path=/"}},{key:"getCookie",value:function(t){for(var e=t+"=",n=decodeURIComponent(document.cookie).split(";"),r=0;r<n.length;r++){for(var i=n[r];" "==i.charAt(0);)i=i.substring(1);if(0==i.indexOf(e))return i.substring(e.length,i.length)}return""}},{key:"round",value:function(t,e){var n=Math.pow(10,e||0);return Math.round(t*n)/n}},{key:"isFunction",value:function(t){return t&&"function"==typeof t}},{key:"readInputImage",value:function(e,n){if(e.files&&e.files[0]){var r=new FileReader;r.onload=function(e){t.isFunction(n)&&n(e.target.result)},r.readAsDataURL(e.files[0])}}},{key:"isEnabled",value:function(t){return t&&!t.is(":disabled")}},{key:"isDisabled",value:function(t){return t&&t.is(":disabled")}},{key:"enable",value:function(e){t.isDisabled(e)&&e.prop("disabled",!1)}},{key:"disable",value:function(e){t.isEnabled(e)&&e.prop("disabled",!0)}},{key:"getFormData",value:function(t){for(var e={},n=$(t).serializeArray(),r=0;r<n.length;++r)e[n[r].name]=n[r].value;return e}},{key:"serializeFormData",value:function(t){var e,n={},r=Qt(new FormData(t).entries());try{for(r.s();!(e=r.n()).done;){var i=e.value,o=n,s=i[0],a=s.match(/\[[\w\-]*\]/g);if(null!==a){a.unshift(s.substr(0,s.search(/\[/)));for(var c=0,l=a.length,u=l-1;c<l;c++){var h=a[c];""===(h=h.replace("[","").replace("]",""))&&(Array.isArray(o)||(o=[]),h=o.length),h in o||(c!==u&&"[]"===a[c+1]?o[h]=[]:o[h]={}),c!==u&&(o=o[h]),s=h}}o[s]=i[1]}}catch(t){r.e(t)}finally{r.f()}return n}},{key:"minutesToHours",value:function(t){if(""!=t){t=parseInt(t);var e=Math.floor(t/60),n=t-60*Math.floor(t/60);return 1==String(n).length&&(n="0"+n),e+":"+n}return null}}],(n=null)&&te(e.prototype,n),r&&te(e,r),Object.defineProperty(e,"prototype",{writable:!1}),t}();const re={init:function(){a().fn.isInViewport=function(){var t=a()(this).offset().top,e=t+a()(this).outerHeight(),n=a()(window).scrollTop(),r=n+a()(window).height();return e>n+280&&t<r};var t=document.getElementById("alertMessageModal");if(t)new qt([{src:t,type:"inline"}]);a()("#nav-icon").on("click",(function(){a()(this).toggleClass("open"),a()("body").toggleClass("menu-is-open"),a()("div#navbar_items").toggleClass("is-open")}));var e=document.getElementById("connectform_submit"),n=document.getElementById("connectform"),r=document.getElementById("connectform_registration_success"),i=document.getElementById("connectform_errors"),o=document.getElementById("connectform_errors_message");function s(t){e.disabled=!0,httpRequest.post("api/contatti",t).then((function(t){return n.reset(),r.style.display="block",i.style.display="none",o.innerHTML="",void setTimeout((function(){r.style.display="none"}),3e3)})).catch((function(t){var e=t.response,n="<li>Non è sato possibile processare la tua richiesta.</li>";if(e&&422===e.status){var r=Wt.parseValidationExceptionResponse(e);n=Wt.buildMessageList(r)}a()(document).find(o).html(n),a()(document).find(i).show(),a()(document).find(i).addClass("view-errors")})).finally((function(){e.disabled=!1}))}e&&e.addEventListener("click",(function(t){t.preventDefault(),s(new FormData(n))})),a()("#connectform .alert_closer").on("click",(function(){a()(document).find(i).removeClass("view-errors"),setTimeout((function(){a()(document).find(o).html("")}),500)}));var c=document.getElementById("contactform"),l=document.getElementById("contactform_submit"),u=document.getElementById("contactform_registration_success"),h=document.getElementById("contactform_errors"),f=document.getElementById("contactform_errors_message");function d(t){l.disabled=!0,httpRequest.post("api/contatti",t).then((function(t){return c.reset(),u.style.display="block",h.style.display="none",f.innerHTML="",void setTimeout((function(){u.style.display="none"}),3e3)})).catch((function(t){var e=t.response,n="<li>Non è sato possibile processare la tua richiesta.</li>";if(e&&422===e.status){var r=Wt.parseValidationExceptionResponse(e);n=Wt.buildMessageList(r)}a()(document).find(f).html(n),a()(document).find(h).show(),a()(document).find(h).addClass("view-errors");var i=c.querySelector(".alert_closer");i&&i.addEventListener("click",(function(t){t.preventDefault(),a()(document).find(h).removeClass("view-errors"),setTimeout((function(){f.innerHTML=""}),500)}))})).finally((function(){l.disabled=!1}))}c&&l&&l.addEventListener("click",(function(t){t.preventDefault(),d(new FormData(c))})),function(){var t="#span-badge-carrello";(new Kt).caricaOrdine((function(e){Array.isArray(e.prodotti)&&e.prodotti.length>0?(a()(t).text(e.prodotti.length),a()(t).show()):(a()(t).text(""),a()(t).hide())}),(function(){a()(t).text(""),a()(t).hide()}))}();var p="#popup-annuncio";!function(){if((ne.isEmpty(ne.getCookie("annuncio-popup"))||a()("body").hasClass("page_home"))&&a()(p).length>0){var t=new qt([{src:p,type:"inline"}]);a()("#btn-popup-annuncio-close").click((function(e){e.preventDefault(),t.close()})),ne.setCookie("annuncio-popup",1,1)}}()},finalize:function(){}},ie={init:function(){new Swiper(".swiper-fp-hero-banner",{pagination:{el:".swiper-fp-hero-banner .swiper-pagination",type:"progressbar"},spaceBetween:0,slidesPerView:1,autoplay:{delay:5e3,disableOnInteraction:!0}}),new Swiper(".swiper-courses",{spaceBetween:30,breakpoints:{0:{spaceBetween:15,slidesPerView:1.15},576:{spaceBetween:15,slidesPerView:1.8},768:{spaceBetween:30,slidesPerView:2.3},992:{slidesPerView:3},1200:{slidesPerView:3.5},1500:{slidesPerView:4}},pagination:{el:".swiper-courses .swiper-pagination",type:"progressbar"},navigation:{prevEl:".swiper-courses .swiper-button-prev",nextEl:".swiper-courses .swiper-button-next"}}),new Swiper(".swiper-snap",{spaceBetween:30,breakpoints:{0:{spaceBetween:15,slidesPerView:1.15},576:{spaceBetween:15,slidesPerView:1.8},768:{spaceBetween:30,slidesPerView:2.3},992:{slidesPerView:3},1200:{slidesPerView:3.5},1500:{slidesPerView:4}},pagination:{el:".swiper-snap .swiper-pagination",type:"progressbar"},navigation:{prevEl:".swiper-snap .swiper-button-prev",nextEl:".swiper-snap .swiper-button-next"}}),new Swiper(".swiper-coaches",{spaceBetween:30,breakpoints:{0:{slidesPerView:1.3},576:{slidesPerView:1.8},768:{slidesPerView:2.3},992:{slidesPerView:3},1200:{slidesPerView:3.5},1500:{slidesPerView:4}},navigation:{prevEl:".swiper-coaches .swiper-button-prev",nextEl:".swiper-coaches .swiper-button-next"}});var t=a()(".coach-inner-card");t.on("click",(function(){var e=a()(this);nt.xy().x<nt.breakpoints().lg&&(e.hasClass("mobile-flipped-card")?e.removeClass("mobile-flipped-card"):(t.removeClass("mobile-flipped-card"),e.addClass("mobile-flipped-card")))}));var e=a()(".master-course-iframe");nt.pausePlayCopertinaIframeCourses(e),a()(window).on("resize",(function(){nt.pausePlayCopertinaIframeCourses(e)}))},finalize:function(){}},oe={init:function(){new Swiper(".swiper-partner-gallery",{spaceBetween:30,breakpoints:{0:{spaceBetween:15,slidesPerView:2.5},576:{spaceBetween:15,slidesPerView:3.3},768:{spaceBetween:30,slidesPerView:3.8},992:{spaceBetween:15,slidesPerView:3.3},1200:{spaceBetween:15,slidesPerView:3.5},1500:{spaceBetween:30,slidesPerView:3.7}},navigation:{prevEl:".swiper-partner-gallery .swiper-button-prev",nextEl:".swiper-partner-gallery .swiper-button-next"}})},finalize:function(){}},se={init:function(){nt.expandTagFiltersOnClick(),a()(window).resize((function(){nt.expandTagFiltersOnClick()})),document.querySelectorAll(".btn-select-tag").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var e=t.target;document.querySelectorAll("input[name^=tags]").forEach((function(t){parseInt(t.value)===parseInt(e.dataset.tagId)&&(t.checked=!t.checked,t.checked?e.classList.add("selected"):e.classList.remove("selected"),t.dispatchEvent(new Event("change")))}))}))})),document.querySelectorAll("input[name^=tags]").forEach((function(t){t.addEventListener("change",(function(t){f(1)}))}));var t=document.getElementById("categoryFilterCoursesMobile");t.addEventListener("change",(function(t){f(1)})),document.querySelectorAll(".btn-select-category").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),t.value=e.target.dataset.categoryId,t.dispatchEvent(new Event("change")),document.querySelectorAll(".btn-select-category").forEach((function(t){t.classList.remove("selected")})),e.target.classList.add("selected")}))}));var e=document.getElementById("filter-durata-minuti"),n=document.getElementById("label-durata-minuti-min"),r=document.getElementById("label-durata-minuti-max");e.addEventListener("change",underscore.debounce((function(t){f()}),600)),e.addEventListener("input",(function(t){r.innerText=ne.minutesToHours(t.target.value)})),n.innerText=ne.minutesToHours(e.min),r.innerText=ne.minutesToHours(e.value);var i=document.getElementById("filter-prezzo"),o=document.getElementById("label-prezzo-min"),s=document.getElementById("label-prezzo-max");i.addEventListener("change",underscore.debounce((function(t){f()}),600)),i.addEventListener("input",(function(t){s.innerText=i.value})),o.innerText=i.min,s.innerText=i.value;var c=document.getElementById("filter-num-lezioni"),l=document.getElementById("label-num-lezioni-min"),u=document.getElementById("label-num-lezioni-max");c.addEventListener("change",underscore.debounce((function(t){f()}),600)),c.addEventListener("input",(function(t){u.innerText=t.target.value})),l.innerText=c.min,u.innerText=c.value;var h=[];function f(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,r=function(){var t=document.querySelectorAll("input[name^=tags]:checked"),e=[];return t.forEach((function(t){e.push(t.value)})),e}(),o={params:{categoryId:t.value,tags:r,prezzo:i.value,durata:e.value,numLezioni:c.value,page:n}};httpRequest.get("api/corsi/carica-corsi",o).then((function(t){return function(t){document.getElementById("listaCorsi").innerHTML=t;var e=document.getElementById("lista-corsi-paginator");e&&e.querySelectorAll("a.page-numbers").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault(),f(t.target.dataset.page)}))})),document.querySelectorAll(".btn-acquista-corso").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var e=t.target.dataset.corsoId;(new Kt).aggiungiCorso(e,1,!1,null,null,!0)}))})),h=[],document.querySelectorAll(".master-course-iframe").forEach((function(t){h.push(t),nt.pausePlayCopertinaIframeCourses(a()(t))}))}(t.data.data.html)})).catch((function(t){}))}f(),window.addEventListener("resize",(function(){for(var t=0,e=h;t<e.length;t++){var n=e[t];nt.pausePlayCopertinaIframeCourses(a()(n))}}))},finalize:function(){}};function ae(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=function(t,e){if(!t)return;if("string"==typeof t)return ce(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ce(t,e)}(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var r=0,i=function(){};return{s:i,n:function(){return r>=t.length?{done:!0}:{done:!1,value:t[r++]}},e:function(t){throw t},f:i}}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 o,s=!0,a=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){a=!0,o=t},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}const le={init:function(){var t=a()("#courseContentSection"),e=a()("nav.navbar").height(),n=a()(".single-corso-summary-banner");a()(window).on("scroll",(function(){nt.xy().x>=nt.breakpoints().md?nt.xy().scrollY>=t.offset().top-e?n.css("transform","translateY(0)"):n.css("transform","translateY(100%)"):n.css("transform","translateY(0%)")})).trigger("scroll");var r=document.getElementById("btn-espandi-video-allegati"),i=document.getElementById("video-allegati-extra");function o(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=3;nt.xy().x<nt.breakpoints().md&&(e=1);var n=document.querySelectorAll(".list-reports-item"),r=document.getElementById("list-reports-toggle");if(n.length>e){var i,o=1,s=ae(n);try{for(s.s();!(i=s.n()).done;){var c=i.value;o<=e||t?a()(c).show():a()(c).hide(),o+=1}}catch(t){s.e(t)}finally{s.f()}r.classList.replace("d-none","d-flex")}else n.length>0&&(n.forEach((function(t){a()(t).show()})),r.classList.replace("d-flex","d-none"))}r&&i&&r.addEventListener("click",(function(t){t.preventDefault(),r.classList.toggle("expanded-elements")?i.classList.replace("d-none","d-flex"):i.classList.replace("d-flex","d-none")})),document.querySelectorAll(".btn-acquista-corso").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var e=t.target.dataset.corsoId;(new Kt).aggiungiCorso(e,1,!1,null,null,!0)}))})),document.querySelectorAll(".btn-acquista-corso-gift").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var e=t.target.dataset.corsoId;(new Kt).aggiungiCorso(e,1,!0,null,null,!0)}))})),a()(document).on("click","#btnToggleMoreReports",(function(t){t.preventDefault(),a()(this).toggleClass("expanded-elements"),a()(this).hasClass("expanded-elements")?o(!0):o(!1)})),o(!1);var s=a()("#accordionVideoCourse");s.find(".accordion-button").attr("aria-expanded",!0),s.find(".accordion-button").removeClass("collapsed"),s.find(".accordion-collapse").addClass("show"),a()(document).on("click",".btn-show-info-regalo",(function(t){t.preventDefault(),new qt([{src:"#popup-voucher-info-regalo",type:"inline"}])}))},finalize:function(){}},ue={init:function(){function t(t){httpRequest.post("api/ordini/check-voucher-session",t).then((function(t){return e(),void new qt([{src:"#popup-voucher-checkout-success",type:"inline"}])})).catch((function(t){new qt([{src:"#popup-voucher-checkout-error",type:"inline"}])}))}function e(){httpRequest.get("api/ordini/carica-box-carrello").then((function(n){return function(n){var r=document.getElementById("box-carrello");r.innerHTML=n;var i=r.querySelector("#form-voucher"),o=r.querySelector("#btn-applica-voucher");i&&o&&o.addEventListener("click",(function(e){e.preventDefault(),t(new FormData(i))})),r.querySelectorAll(".btn-rimuovi-prodotto").forEach((function(t){t.addEventListener("click",(function(t){t.preventDefault();var n=t.target.value;(new Kt).rimuoviCorso(n,0,(function(){e()}),!1,!1)}))}))}(n.data.data.html)}))}e(),document.querySelector("body").addEventListener("click",(function(t){t.target.classList.contains("popup-on-click")&&new qt([{src:"#popup-onclick-checkout-error",type:"inline"}])}));a()(document).find(".popup-on-click");a()(document).on("change","input.product-as-gift",(function(t){var n=a()(this).val();a()(this).is(":checked")?console.log("CHECKED "+n):console.log("NOT CHECKED "+n),function(t){httpRequest.post("api/ordini/toggle-product-as-gift/".concat(t)).then((function(t){return e()})).catch((function(t){return e()}))}(n)})),a()(document).on("click",".btn-show-info-regalo",(function(t){t.preventDefault(),new qt([{src:"#popup-voucher-info-regalo",type:"inline"}])}))},finalize:function(){}},he={init:function(){var t=document.getElementById("boxCheckout");function e(e){t.innerHTML=e;var r=document.getElementById("btn-finalizza-acquisto");r&&r.addEventListener("click",(function(t){t.preventDefault(),document.getElementById("form-checkout-submit").submit()}));var i=t.querySelector("#form-voucher"),o=t.querySelector("#btn-applica-voucher");if(i&&o&&o.addEventListener("click",(function(t){t.preventDefault();var e,r=new FormData(i);e=r,httpRequest.post("api/ordini/applica-voucher",e).then((function(t){return n(),void new qt([{src:"#popup-voucher-checkout-success",type:"inline"}])})).catch((function(t){new qt([{src:"#popup-voucher-checkout-error",type:"inline"}])}))})),document.getElementById("voucher-error-flag"))new qt([{src:"#popup-voucher-checkout-error",type:"inline"}])}function n(){httpRequest.get("api/ordini/carica-box-checkout").then((function(t){return e(t.data.data.html)}))}n();var r=document.getElementById("input-check-fattura"),i=document.getElementById("dati-di-fatturazione");function o(t){i.style.display=t?"flex":"none"}r&&i&&(r.addEventListener("change",(function(t){o(this.checked)})),o(r.checked))},finalize:function(){}},fe={init:function(){var t=[],e=null;function n(t,e){var n=document.querySelector("a.btn-download-certificate");n&&(t&&e&&e.length>0?(n.href=e,n.classList.remove("btn-disabled")):(n.href="",n.classList.add("btn-disabled")))}function r(t){httpRequest.post("account/check-certificato/".concat(t)).then((function(t){return n(t.data.data.certificato.check,t.data.data.certificato.url)})).catch((function(t){return n(!1,null)}))}function i(t){httpRequest.post("account/assoc-video-corso/".concat(t)).then((function(t){return function(t,e){var n=document.querySelector(".account-corso-progressive-bar > span");n&&(n.style.width="".concat(e,"%"));var i=document.querySelector("span.completed-percentage");i&&(i.textContent=e),r(window.CORSO_ID),document.querySelectorAll("span.corso-check").forEach((function(e){var n=e.dataset.videoCorsoId;t.includes(parseInt(n))&&e.classList.add("checked")}))}(t.data.data.video_corsi,t.data.data.completed_percentage)})).catch((function(t){}))}document.querySelectorAll("a.btn-show-video-corso").forEach((function(n){n.addEventListener("click",(function(n){n.preventDefault();var r=document.querySelector("#imgPlaceholderUnitCorso");r&&(r.style.display="none"),function(n){var r=e;if(e=parseInt(n),r&&r!==e){var i=document.getElementById("video_corso_".concat(r)),o=document.getElementById("video_corso_".concat(e)),s=t.find((function(t){return parseInt(t.videoCorsoId)===parseInt(r)})),a=t.find((function(t){return parseInt(t.videoCorsoId)===parseInt(e)}));s&&a&&s.player.pause().then((function(){i.style.display="none",o.style.display="block",a.player.play()}))}else{var c=t.find((function(t){return parseInt(t.videoCorsoId)===parseInt(e)}));c&&c.player.play(),document.getElementById("video_corso_".concat(e)).style.display="block"}}(this.dataset.videoCorsoId),nt.xy().x<=991&&document.getElementById("wrapperVideo").scrollIntoView()}))})),document.querySelectorAll("iframe.iframe-video-corso").forEach((function(e){var n=e.dataset.videoCorsoId,r=new et(e);r.on("play",function(t){return function(){i(t)}}(n)),t.push({videoCorsoId:parseInt(n),player:r})})),r(window.CORSO_ID)},finalize:function(){}},de={init:function(){function t(t,e){!function(t,e){httpRequest.get("account/authenticated").then((function(e){t&&"function"==typeof t&&t(e.data.data)})).catch((function(t){e&&"function"==typeof e&&e(t)}))}((function(n){return Calendly.initPopupWidget({url:t,prefill:{name:n.first_name+" "+n.last_name,email:n.email},utm:{utmTerm:e}}),!1}),(function(n){return Calendly.initPopupWidget({url:t,utm:{utmTerm:e}}),!1}))}document.querySelectorAll(".btn-calendly").forEach((function(e){e.addEventListener("click",(function(e){e.preventDefault(),t(e.currentTarget.dataset.calendlyUrl,e.currentTarget.dataset.corsoId)}))})),window.addEventListener("message",(function(t){if(function(t){return"https://calendly.com"===t.origin&&t.data.event&&0===t.data.event.indexOf("calendly.")}(t)&&(console.log(t.source),console.log(t),console.log("Event name:",t.data.event),console.log("Event details:",t.data.payload),"calendly.event_scheduled"===t.data.event)){var e={event_url:t.data.payload.event.uri,invitee_url:t.data.payload.invitee.uri};httpRequest.post("account/notify-calendly-invitee",e).then((function(t){return function(t){var e=t.corso_id,n=document.getElementById("calendly-success-".concat(e));n&&(n.style.display="block");var r=document.getElementById("btn-calendly-".concat(e));r&&r.remove()}(t.data)})).catch((function(t){}))}}))},finalize:function(){}},pe={init:function(){var t=document.getElementById("page_contactform"),e=document.getElementById("page_contactform_submit"),n=document.getElementById("page_contactform_registration_success"),r=document.getElementById("page_contactform_errors"),i=document.getElementById("page_contactform_errors_message");function o(o){e.disabled=!0,httpRequest.post("api/contatti",o).then((function(e){return t.reset(),n.style.display="block",r.style.display="none",i.innerHTML="",void setTimeout((function(){n.style.display="none"}),3e3)})).catch((function(t){var e=t.response,n="<li>Non è sato possibile processare la tua richiesta.</li>";if(e&&422===e.status){var o=Wt.parseValidationExceptionResponse(e);n=Wt.buildMessageList(o)}$(document).find(i).html(n),$(document).find(r).show(),$(document).find(r).addClass("view-errors")})).finally((function(){e.disabled=!1}))}t&&e&&e.addEventListener("click",(function(e){e.preventDefault(),o(new FormData(t))})),$("#page_contactform .alert_closer").on("click",(function(){$(document).find(r).removeClass("view-errors"),setTimeout((function(){$(document).find(i).html("")}),500)}))},finalize:function(){}},ge={init:function(){var t=document.getElementById("discount_form"),e=document.getElementById("discount_form_submit");t&&e&&e.addEventListener("click",(function(n){n.preventDefault(),$(document).find("#discount_form_errors").hide(),$(document).find("#discount_form_errors").removeClass("view-errors");var r=new FormData(t);e.disabled=!0,httpRequest.post("api/landing/lead15",r).then((function(e){t.reset(),$("#discount_registration_success").show(),setTimeout((function(){$("#discount_registration_success").hide()}),3e3)})).catch((function(t){var e=t.response,n="<li>Non è sato possibile processare la tua richiesta.</li>";if(e&&422===e.status){var r=Wt.parseValidationExceptionResponse(e);n=Wt.buildMessageList(r)}$(document).find("#discount_form_errors_message").html(n),$(document).find("#discount_form_errors").show(),$(document).find("#discount_form_errors").addClass("view-errors"),$(document).find("#discount_form_errors .alert_closer").click((function(t){t.preventDefault(),$(document).find("#discount_form_errors").removeClass("view-errors"),setTimeout((function(){$(document).find("#discount_form_errors").hide(),$(document).find("#discount_form_errors").removeClass("view-errors")}),1e3)}))})).finally((function(){e.disabled=!1}))}));var n=document.getElementById("contact_form"),r=document.getElementById("contact_form_submit");n&&r&&r.addEventListener("click",(function(t){t.preventDefault(),$(document).find("#contact_form_errors").hide(),$(document).find("#contact_form_errors_message").html("");var e=new FormData(n);r.disabled=!0,httpRequest.post("api/landing/lead15Full",e).then((function(t){n.reset(),$("#contact_form_success").show(),setTimeout((function(){$("#contact_form_success").hide()}),3e3)})).catch((function(t){var e=t.response,n="<li>Non è stato possibile processare la tua richiesta.</li>";if(e&&422===e.status){var r=Wt.parseValidationExceptionResponse(e);n=Wt.buildMessageList(r)}$(document).find("#contact_form_errors_message").html(n),$(document).find("#contact_form_errors").show(),$(document).find("#contact_form_errors").addClass("view-errors"),$(document).find("#contact_form_errors .alert_closer").click((function(t){t.preventDefault(),$(document).find("#contact_form_errors").removeClass("view-errors"),setTimeout((function(){$(document).find("#contact_form_errors").hide(),$(document).find("#contact_form_errors_message").html("")}),1e3)}))})).finally((function(){r.disabled=!1}))}))},finalize:function(){}},me={init:function(){var t=document.getElementById("input-password"),e=document.getElementById("input-password-confirmation");e.addEventListener("focusout",(function(e){t.value!==e.target.value?e.target.classList.add("pwd-error"):e.target.classList.remove("pwd-error")})),document.getElementById("view_password").addEventListener("click",(function(){"password"===t.type?t.type="text":t.type="password"})),document.getElementById("view_password_confirmation").addEventListener("click",(function(){"password"===e.type?e.type="text":e.type="password"}))},finalize:function(){}},ve={init:function(){var t=document.getElementById("view_password"),e=document.getElementById("input-password");t.addEventListener("click",(function(){"password"===e.type?e.type="text":e.type="password"}))},finalize:function(){}};n(9716);var ye=new o({common:re,page_home:ie,page_job:oe,page_corsi:se,page_corso:le,page_carrello:ue,page_checkout:he,account_report_corso:{init:function(){},finalize:function(){}},account_corso:fe,account_corsi:de,page_contatti:pe,page_tutti_i_corsi_ima:ge,register:me,login:ve});$(document).ready((function(){ye.loadEvents()}))})()})();