PageSourceSearch

https://cdn.icaew.com/v1/production/js/app-corp/app.js?v=E4DA3B7FBBCE2345D7772B0674A318D5

js icaew.com collected 2026-10-01 06:51:31 UTC 409,811 bytes, 2 lines download raw bytes

1/*! For license information please see app.js.LICENSE.txt */
2!function(){var e={313:function(e,t,n){var i,o;void 0===(o="function"==typeof(i=function(){"use strict";return function(e,t){var n,i,o,r,a,s,l,c,u,d,p,f,h,m,v,g,y,b,w=this,x=!1,k=!0,S=!0,C={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(e,t){return e.title?(t.children[0].innerHTML=e.title,!0):(t.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return e.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return e.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},_=function(e){if(g)return!0;e=e||window.event,v.timeToIdle&&v.mouseUsed&&!u&&D();for(var n,i,o=(e.target||e.srcElement).getAttribute("class")||"",r=0;r<N.length;r++)(n=N[r]).onTap&&o.indexOf("pswp__"+n.name)>-1&&(n.onTap(),i=!0);if(i){e.stopPropagation&&e.stopPropagation(),g=!0;var a=t.features.isOldAndroid?600:30;setTimeout(function(){g=!1},a)}},T=function(e,n,i){t[(i?"add":"remove")+"Class"](e,"pswp__"+n)},E=function(){var e=1===v.getNumItemsFn();e!==m&&(T(i,"ui--one-slide",e),m=e)},A=function(){T(l,"share-modal--hidden",S)},O=function(){return(S=!S)?(t.removeClass(l,"pswp__share-modal--fade-in"),setTimeout(function(){S&&A()},300)):(A(),setTimeout(function(){S||t.addClass(l,"pswp__share-modal--fade-in")},30)),S||L(),!1},$=function(t){var n=(t=t||window.event).target||t.srcElement;return e.shout("shareLinkClick",t,n),!(!n.href||!n.hasAttribute("download")&&(window.open(n.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),S||O(),1))},L=function(){for(var e,t,n,i,o="",r=0;r<v.shareButtons.length;r++)e=v.shareButtons[r],t=v.getImageURLForShare(e),n=v.getPageURLForShare(e),i=v.getTextForShare(e),o+='<a href="'+e.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(t)).replace("{{raw_image_url}}",t).replace("{{text}}",encodeURIComponent(i))+'" target="_blank" class="pswp__share--'+e.id+'"'+(e.download?"download":"")+">"+e.label+"</a>",v.parseShareButtonOut&&(o=v.parseShareButtonOut(e,o));l.children[0].innerHTML=o,l.children[0].onclick=$},P=function(e){for(var n=0;n<v.closeElClasses.length;n++)if(t.hasClass(e,"pswp__"+v.closeElClasses[n]))return!0},z=0,D=function(){clearTimeout(b),z=0,u&&w.setIdle(!1)},I=function(e){var t=(e=e||window.event).relatedTarget||e.toElement;t&&"HTML"!==t.nodeName||(clearTimeout(b),b=setTimeout(function(){w.setIdle(!0)},v.timeToIdleOutside))},j=function(e){f!==e&&(T(p,"preloader--active",!e),f=e)},M=function(n){var a=n.vGap;if(!e.likelyTouchDevice||v.mouseUsed||screen.width>v.fitControlsWidth){var s=v.barsSize;if(v.captionEl&&"auto"===s.bottom)if(r||((r=t.createEl("pswp__caption pswp__caption--fake")).appendChild(t.createEl("pswp__caption__center")),i.insertBefore(r,o),t.addClass(i,"pswp__ui--fit")),v.addCaptionHTMLFn(n,r,!0)){var l=r.clientHeight;a.bottom=parseInt(l,10)||44}else a.bottom=s.top;else a.bottom="auto"===s.bottom?0:s.bottom;a.top=s.top}else a.top=a.bottom=0},N=[{name:"caption",option:"captionEl",onInit:function(e){o=e}},{name:"share-modal",option:"shareEl",onInit:function(e){l=e},onTap:function(){O()}},{name:"button--share",option:"shareEl",onInit:function(e){s=e},onTap:function(){O()}},{name:"button--zoom",option:"zoomEl",onTap:e.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(e){a=e}}
2,{name:"button--close",option:"closeEl",onTap:e.close},{name:"button--arrow--left",option:"arrowEl",onTap:e.prev},{name:"button--arrow--right",option:"arrowEl",onTap:e.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){n.isFullscreen()?n.exit():n.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(e){p=e}}];w.init=function(){t.extend(e.options,C,!0),v=e.options,i=t.getChildByClass(e.scrollWrap,"pswp__ui"),d=e.listen,function(){var e;d("onVerticalDrag",function(e){k&&.95>e?w.hideControls():!k&&e>=.95&&w.showControls()}),d("onPinchClose",function(t){k&&.9>t?(w.hideControls(),e=!0):e&&!k&&t>.9&&w.showControls()}),d("zoomGestureEnded",function(){(e=!1)&&!k&&w.showControls()})}(),d("beforeChange",w.update),d("doubleTap",function(t){var n=e.currItem.initialZoomLevel;e.getZoomLevel()!==n?e.zoomTo(n,t,333):e.zoomTo(v.getDoubleTapZoom(!1,e.currItem),t,333)}),d("preventDragEvent",function(e,t,n){var i=e.target||e.srcElement;i&&i.getAttribute("class")&&e.type.indexOf("mouse")>-1&&(i.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(i.tagName))&&(n.prevent=!1)}),d("bindEvents",function(){t.bind(i,"pswpTap click",_),t.bind(e.scrollWrap,"pswpTap",w.onGlobalTap),e.likelyTouchDevice||t.bind(e.scrollWrap,"mouseover",w.onMouseOver)}),d("unbindEvents",function(){S||O(),y&&clearInterval(y),t.unbind(document,"mouseout",I),t.unbind(document,"mousemove",D),t.unbind(i,"pswpTap click",_),t.unbind(e.scrollWrap,"pswpTap",w.onGlobalTap),t.unbind(e.scrollWrap,"mouseover",w.onMouseOver),n&&(t.unbind(document,n.eventK,w.updateFullscreen),n.isFullscreen()&&(v.hideAnimationDuration=0,n.exit()),n=null)}),d("destroy",function(){v.captionEl&&(r&&i.removeChild(r),t.removeClass(o,"pswp__caption--empty")),l&&(l.children[0].onclick=null),t.removeClass(i,"pswp__ui--over-close"),t.addClass(i,"pswp__ui--hidden"),w.setIdle(!1)}),v.showAnimationDuration||t.removeClass(i,"pswp__ui--hidden"),d("initialZoomIn",function(){v.showAnimationDuration&&t.removeClass(i,"pswp__ui--hidden")}),d("initialZoomOut",function(){t.addClass(i,"pswp__ui--hidden")}),d("parseVerticalMargin",M),function(){var e,n,o,r=function(i){if(i)for(var r=i.length,a=0;r>a;a++){e=i[a],n=e.className;for(var s=0;s<N.length;s++)o=N[s],n.indexOf("pswp__"+o.name)>-1&&(v[o.option]?(t.removeClass(e,"pswp__element--disabled"),o.onInit&&o.onInit(e)):t.addClass(e,"pswp__element--disabled"))}};r(i.children);var a=t.getChildByClass(i,"pswp__top-bar");a&&r(a.children)}(),v.shareEl&&s&&l&&(S=!0),E(),v.timeToIdle&&d("mouseUsed",function(){t.bind(document,"mousemove",D),t.bind(document,"mouseout",I),y=setInterval(function(){2===++z&&w.setIdle(!0)},v.timeToIdle/2)}),v.fullscreenEl&&!t.features.isOldAndroid&&(n||(n=w.getFullscreenAPI()),n?(t.bind(document,n.eventK,w.updateFullscreen),w.updateFullscreen(),t.addClass(e.template,"pswp--supports-fs")):t.removeClass(e.template,"pswp--supports-fs")),v.preloaderEl&&(j(!0),d("beforeChange",function(){clearTimeout(h),h=setTimeout(function(){e.currItem&&e.currItem.loading?(!e.allowProgressiveImg()||e.currItem.img&&!e.currItem.img.naturalWidth)&&j(!1):j(!0)},v.loadingIndicatorDelay)}),d("imageLoadComplete",function(t,n){e.currItem===n&&j(!0)}))},w.setIdle=function(e){u=e,T(i,"ui--idle",e)},w.update=function(){k&&e.currItem?(w.updateIndexIndicator(),v.captionEl&&(v.addCaptionHTMLFn(e.currItem,o),T(o,"caption--empty",!e.currItem.title)),x=!0):x=!1,S||O(),E()},w.updateFullscreen=function(i){i&&setTimeout(function(){e.setScrollOffset(0,t.getScrollY())},50),t[(n.isFullscreen()?"add":"remove")+"Class"](e.template,"pswp--fs")},w.updateIndexIndicator=function(){v.counterEl&&(a.innerHTML=e.getCurrentIndex()+1+v.indexIndicatorSep+v.getNumItemsFn())},w.onGlobalTap=function(n){var i=(n=n||window.event).target||n.srcElement;if(!g)if(n.detail&&"mouse"===n.detail.pointerType){if(P(i))return void e.close();t.hasClass(i,"pswp__img")&&(1===e.getZoomLevel()&&e.getZoomLevel()<=e.currItem.fitRatio?v.clickToCloseNonZoomable&&e.close():e.toggleDesktopZoom(n.detail.releasePoint))}else if(v.tapToToggleControls&&(k?w.hideControls():w.showControls()),v.tapToClose&&(t.hasClass(i,"pswp__img")||P(i)))return void e.close()},w.onMouseOver=function(e){var t=(e=e||window.event).target||e.srcElement;T(i,"ui--over-close",P(t))},w.hideControls=function(){t.addClass(i,"pswp__ui--hidden"),k=!1},w.showControls=function(){k=!0,x||w.update(),t.removeClass(i,"pswp__ui--hidden")},w.supportsFullscreen=function(){var e=document;return!!(e.exitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen||e.msExitFullscreen)},w.getFullscreenAPI=function(){var t,n=document.documentElement,i="fullscreenchange";return n.requestFullscreen?t={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:i}:n.mozRequestFullScreen?t={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+i}:n.webkitRequestFullscreen?t={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+i}:n.msRequestFullscreen&&(t={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}
2),t&&(t.enter=function(){return c=v.closeOnScroll,v.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK?e.template[this.enterK]():void e.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},t.exit=function(){return v.closeOnScroll=c,document[this.exitK]()},t.isFullscreen=function(){return document[this.elementK]}),t}}})?i.call(t,n,t,e):i)||(e.exports=o)},334:function(){var e=document.getElementsByTagName("html");e[0].classList.contains("no-js")&&(e[0].classList.remove("no-js"),e[0].classList.add("js"))},358:function(e,t){var n,i,o,r;function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}r=function(e){"use strict";var t,n;function i(e){return"object"===a(e)&&"function"==typeof e.to}function o(e){e.parentElement.removeChild(e)}function r(e){return null!=e}function s(e){e.preventDefault()}function l(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function c(e,t,n){n>0&&(f(e,t),setTimeout(function(){h(e,t)},n))}function u(e){return Math.max(Math.min(e,100),0)}function d(e){return Array.isArray(e)?e:[e]}function p(e){var t=(e=String(e)).split(".");return t.length>1?t[1].length:0}function f(e,t){e.classList&&!/\s/.test(t)?e.classList.add(t):e.className+=" "+t}function h(e,t){e.classList&&!/\s/.test(t)?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," ")}function m(e){var t=void 0!==window.pageXOffset,n="CSS1Compat"===(e.compatMode||"");return{x:t?window.pageXOffset:n?e.documentElement.scrollLeft:e.body.scrollLeft,y:t?window.pageYOffset:n?e.documentElement.scrollTop:e.body.scrollTop}}function v(e,t){return 100/(t-e)}function g(e,t,n){return 100*t/(e[n+1]-e[n])}function y(e,t){for(var n=1;e>=t[n];)n+=1;return n}e.PipsMode=void 0,(t=e.PipsMode||(e.PipsMode={})).Range="range",t.Steps="steps",t.Positions="positions",t.Count="count",t.Values="values",e.PipsType=void 0,(n=e.PipsType||(e.PipsType={}))[n.None=-1]="None",n[n.NoValue=0]="NoValue",n[n.LargeValue=1]="LargeValue",n[n.SmallValue=2]="SmallValue";var b=function(){function e(e,t,n){var i;this.xPct=[],this.xVal=[],this.xSteps=[],this.xNumSteps=[],this.xHighestCompleteStep=[],this.xSteps=[n||!1],this.xNumSteps=[!1],this.snap=t;var o=[];for(Object.keys(e).forEach(function(t){o.push([d(e[t]),t])}),o.sort(function(e,t){return e[0][0]-t[0][0]}),i=0;i<o.length;i++)this.handleEntryPoint(o[i][1],o[i][0]);for(this.xNumSteps=this.xSteps.slice(0),i=0;i<this.xNumSteps.length;i++)this.handleStepPoint(i,this.xNumSteps[i])}return e.prototype.getDistance=function(e){for(var t=[],n=0;n<this.xNumSteps.length-1;n++)t[n]=g(this.xVal,e,n);return t},e.prototype.getAbsoluteDistance=function(e,t,n){var i,o=0;if(e<this.xPct[this.xPct.length-1])for(;e>this.xPct[o+1];)o++;else e===this.xPct[this.xPct.length-1]&&(o=this.xPct.length-2);n||e!==this.xPct[o+1]||o++,null===t&&(t=[]);var r=1,a=t[o],s=0,l=0,c=0,u=0;for(i=n?(e-this.xPct[o])/(this.xPct[o+1]-this.xPct[o]):(this.xPct[o+1]-e)/(this.xPct[o+1]-this.xPct[o]);a>0;)s=this.xPct[o+1+u]-this.xPct[o+u],t[o+u]*r+100-100*i>100?(l=s*i,r=(a-100*i)/t[o+u],i=1):(l=t[o+u]*s/100*r,r=0),n?(c-=l,this.xPct.length+u>=1&&u--):(c+=l,this.xPct.length-u>=1&&u++),a=t[o+u]*r;return e+c},e.prototype.toStepping=function(e){return function(e,t,n){if(n>=e.slice(-1)[0])return 100;var i=y(n,e),o=e[i-1],r=e[i],a=t[i-1],s=t[i];return a+function(e,t){return g(e,e[0]<0?t+Math.abs(e[0]):t-e[0],0)}([o,r],n)/v(a,s)}(this.xVal,this.xPct,e)},e.prototype.fromStepping=function(e){return function(e,t,n){if(n>=100)return e.slice(-1)[0];var i=y(n,t),o=e[i-1],r=e[i],a=t[i-1];return function(e,t){return t*(e[1]-e[0])/100+e[0]}([o,r],(n-a)*v(a,t[i]))}(this.xVal,this.xPct,e)},e.prototype.getStep=function(e){return function(e,t,n,i){if(100===i)return i;var o=y(i,e),r=e[o-1],a=e[o];return n?i-r>(a-r)/2?a:r:t[o-1]?e[o-1]+function(e,t){return Math.round(e/t)*t}(i-e[o-1],t[o-1]):i}(this.xPct,this.xSteps,this.snap,e)},e.prototype.getDefaultStep=function(e,t,n){var i=y(e,this.xPct);return(100===e||t&&e===this.xPct[i-1])&&(i=Math.max(i-1,1)),(this.xVal[i]-this.xVal[i-1])/n},e.prototype.getNearbySteps=function(e){var t=y(e,this.xPct);return{stepBefore:{startValue:this.xVal[t-2],step:this.xNumSteps[t-2],highestStep:this.xHighestCompleteStep[t-2]},thisStep:{startValue:this.xVal[t-1],step:this.xNumSteps[t-1],highestStep:this.xHighestCompleteStep[t-1]},stepAfter:{startValue:this.xVal[t],step:this.xNumSteps[t],highestStep:this.xHighestCompleteStep[t]}}},e.prototype.countStepDecimals=function(){var e=this.xNumSteps.map(p);return Math.max.apply(null,e)},e.prototype.hasNoSize=function(){return this.xVal[0]===this.xVal[this.xVal.length-1]}
vendor: 4,936 bytes, line 2
2,e.prototype.convert=function(e){return this.getStep(this.toStepping(e))},e.prototype.handleEntryPoint=function(e,t){var n;if(!l(n="min"===e?0:"max"===e?100:parseFloat(e))||!l(t[0]))throw new Error("noUiSlider: 'range' value isn't numeric.");this.xPct.push(n),this.xVal.push(t[0]);var i=Number(t[1]);n?this.xSteps.push(!isNaN(i)&&i):isNaN(i)||(this.xSteps[0]=i),this.xHighestCompleteStep.push(0)},e.prototype.handleStepPoint=function(e,t){if(t)if(this.xVal[e]!==this.xVal[e+1]){this.xSteps[e]=g([this.xVal[e],this.xVal[e+1]],t,0)/v(this.xPct[e],this.xPct[e+1]);var n=(this.xVal[e+1]-this.xVal[e])/this.xNumSteps[e],i=Math.ceil(Number(n.toFixed(3))-1),o=this.xVal[e]+this.xNumSteps[e]*i;this.xHighestCompleteStep[e]=o}else this.xSteps[e]=this.xHighestCompleteStep[e]=this.xVal[e]},e}(),w={to:function(e){return void 0===e?"":e.toFixed(2)},from:Number},x={target:"target",base:"base",origin:"origin",handle:"handle",handleLower:"handle-lower",handleUpper:"handle-upper",touchArea:"touch-area",horizontal:"horizontal",vertical:"vertical",background:"background",connect:"connect",connects:"connects",ltr:"ltr",rtl:"rtl",textDirectionLtr:"txt-dir-ltr",textDirectionRtl:"txt-dir-rtl",draggable:"draggable",drag:"state-drag",tap:"state-tap",active:"active",tooltip:"tooltip",pips:"pips",pipsHorizontal:"pips-horizontal",pipsVertical:"pips-vertical",marker:"marker",markerHorizontal:"marker-horizontal",markerVertical:"marker-vertical",markerNormal:"marker-normal",markerLarge:"marker-large",markerSub:"marker-sub",value:"value",valueHorizontal:"value-horizontal",valueVertical:"value-vertical",valueNormal:"value-normal",valueLarge:"value-large",valueSub:"value-sub"},k=".__tooltips",S=".__aria";function C(e,t){if(!l(t))throw new Error("noUiSlider: 'step' is not numeric.");e.singleStep=t}function _(e,t){if(!l(t))throw new Error("noUiSlider: 'keyboardPageMultiplier' is not numeric.");e.keyboardPageMultiplier=t}function T(e,t){if(!l(t))throw new Error("noUiSlider: 'keyboardMultiplier' is not numeric.");e.keyboardMultiplier=t}function E(e,t){if(!l(t))throw new Error("noUiSlider: 'keyboardDefaultStep' is not numeric.");e.keyboardDefaultStep=t}function A(e,t){if("object"!==a(t)||Array.isArray(t))throw new Error("noUiSlider: 'range' is not an object.");if(void 0===t.min||void 0===t.max)throw new Error("noUiSlider: Missing 'min' or 'max' in 'range'.");e.spectrum=new b(t,e.snap||!1,e.singleStep)}function O(e,t){if(t=d(t),!Array.isArray(t)||!t.length)throw new Error("noUiSlider: 'start' option is incorrect.");e.handles=t.length,e.start=t}function $(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'snap' option must be a boolean.");e.snap=t}function L(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'animate' option must be a boolean.");e.animate=t}function P(e,t){if("number"!=typeof t)throw new Error("noUiSlider: 'animationDuration' option must be a number.");e.animationDuration=t}function z(e,t){var n,i=[!1];if("lower"===t?t=[!0,!1]:"upper"===t&&(t=[!1,!0]),!0===t||!1===t){for(n=1;n<e.handles;n++)i.push(t);i.push(!1)}else{if(!Array.isArray(t)||!t.length||t.length!==e.handles+1)throw new Error("noUiSlider: 'connect' option doesn't match handle count.");i=t}e.connect=i}function D(e,t){switch(t){case"horizontal":e.ort=0;break;case"vertical":e.ort=1;break;default:throw new Error("noUiSlider: 'orientation' option is invalid.")}}function I(e,t){if(!l(t))throw new Error("noUiSlider: 'margin' option must be numeric.");0!==t&&(e.margin=e.spectrum.getDistance(t))}function j(e,t){if(!l(t))throw new Error("noUiSlider: 'limit' option must be numeric.");if(e.limit=e.spectrum.getDistance(t),!e.limit||e.handles<2)throw new Error("noUiSlider: 'limit' option is only supported on linear sliders with 2 or more handles.")}function M(e,t){var n;if(!l(t)&&!Array.isArray(t))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(Array.isArray(t)&&2!==t.length&&!l(t[0])&&!l(t[1]))throw new Error("noUiSlider: 'padding' option must be numeric or array of exactly 2 numbers.");if(0!==t){for(Array.isArray(t)||(t=[t,t]),e.padding=[e.spectrum.getDistance(t[0]),e.spectrum.getDistance(t[1])],n=0;n<e.spectrum.xNumSteps.length-1;n++)if(e.padding[0][n]<0||e.padding[1][n]<0)throw new Error("noUiSlider: 'padding' option must be a positive number(s).");var i=t[0]+t[1],o=e.spectrum.xVal[0];if(i/(e.spectrum.xVal[e.spectrum.xVal.length-1]-o)>1)throw new Error("noUiSlider: 'padding' option must not exceed 100% of the range.")}}function N(e,t){switch(t){case"ltr":e.dir=0;break;case"rtl":e.dir=1;break;default:throw new Error("noUiSlider: 'direction' option was not recognized.")}}function H(e,t){if("string"!=typeof t)throw new Error("noUiSlider: 'behaviour' must be a string containing options.");var n=t.indexOf("tap")>=0,i=t.indexOf("drag")>=0,o=t.indexOf("fixed")>=0,r=t.indexOf("snap")>=0,a=t.indexOf("hover")>=0,s=t.indexOf("unconstrained")>=0,l=t.indexOf("invert-connects")>
2=0,c=t.indexOf("drag-all")>=0,u=t.indexOf("smooth-steps")>=0;if(o){if(2!==e.handles)throw new Error("noUiSlider: 'fixed' behaviour must be used with 2 handles");I(e,e.start[1]-e.start[0])}if(l&&2!==e.handles)throw new Error("noUiSlider: 'invert-connects' behaviour must be used with 2 handles");if(s&&(e.margin||e.limit))throw new Error("noUiSlider: 'unconstrained' behaviour cannot be used with margin or limit");e.events={tap:n||r,drag:i,dragAll:c,smoothSteps:u,fixed:o,snap:r,hover:a,unconstrained:s,invertConnects:l}}function R(e,t){if(!1!==t)if(!0===t||i(t)){e.tooltips=[];for(var n=0;n<e.handles;n++)e.tooltips.push(t)}else{if((t=d(t)).length!==e.handles)throw new Error("noUiSlider: must pass a formatter for all handles.");t.forEach(function(e){if("boolean"!=typeof e&&!i(e))throw new Error("noUiSlider: 'tooltips' must be passed a formatter or 'false'.")}),e.tooltips=t}}function q(e,t){if(t.length!==e.handles)throw new Error("noUiSlider: must pass a attributes for all handles.");e.handleAttributes=t}function F(e,t){if(!i(t))throw new Error("noUiSlider: 'ariaFormat' requires 'to' method.");e.ariaFormat=t}function B(e,t){if(!function(e){return i(e)&&"function"==typeof e.from}(t))throw new Error("noUiSlider: 'format' requires 'to' and 'from' methods.");e.format=t}function U(e,t){if("boolean"!=typeof t)throw new Error("noUiSlider: 'keyboardSupport' option must be a boolean.");e.keyboardSupport=t}function W(e,t){e.documentElement=t}function V(e,t){if("string"!=typeof t&&!1!==t)throw new Error("noUiSlider: 'cssPrefix' must be a string or `false`.");e.cssPrefix=t}function Y(e,t){if("object"!==a(t))throw new Error("noUiSlider: 'cssClasses' must be an object.");"string"==typeof e.cssPrefix?(e.cssClasses={},Object.keys(t).forEach(function(n){e.cssClasses[n]=e.cssPrefix+t[n]})):e.cssClasses=t}function X(e){var t={margin:null,limit:null,padding:null,animate:!0,animationDuration:300,ariaFormat:w,format:w},n={step:{r:!1,t:C},keyboardPageMultiplier:{r:!1,t:_},keyboardMultiplier:{r:!1,t:T},keyboardDefaultStep:{r:!1,t:E},start:{r:!0,t:O},connect:{r:!0,t:z},direction:{r:!0,t:N},snap:{r:!1,t:$},animate:{r:!1,t:L},animationDuration:{r:!1,t:P},range:{r:!0,t:A},orientation:{r:!1,t:D},margin:{r:!1,t:I},limit:{r:!1,t:j},padding:{r:!1,t:M},behaviour:{r:!0,t:H},ariaFormat:{r:!1,t:F},format:{r:!1,t:B},tooltips:{r:!1,t:R},keyboardSupport:{r:!0,t:U},documentElement:{r:!1,t:W},cssPrefix:{r:!0,t:V}
vendor: 1,501 bytes, line 2
2,cssClasses:{r:!0,t:Y},handleAttributes:{r:!1,t:q}},i={connect:!1,direction:"ltr",behaviour:"tap",orientation:"horizontal",keyboardSupport:!0,cssPrefix:"noUi-",cssClasses:x,keyboardPageMultiplier:5,keyboardMultiplier:1,keyboardDefaultStep:10};e.format&&!e.ariaFormat&&(e.ariaFormat=e.format),Object.keys(n).forEach(function(o){if(r(e[o])||void 0!==i[o])n[o].t(t,r(e[o])?e[o]:i[o]);else if(n[o].r)throw new Error("noUiSlider: '"+o+"' is required.")}),t.pips=e.pips;var o=document.createElement("div"),a=void 0!==o.style.msTransform,s=void 0!==o.style.transform;return t.transformRule=s?"transform":a?"msTransform":"webkitTransform",t.style=[["left","top"],["right","bottom"]][t.dir][t.ort],t}function Z(t,n,i){var a,l,p,v,g,y,b,w=window.navigator.pointerEnabled?{start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled?{start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}:{start:"mousedown touchstart",move:"mousemove touchmove",end:"mouseup touchend"},x=window.CSS&&CSS.supports&&CSS.supports("touch-action","none")&&function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("test",null,t)}catch(e){}return e}(),C=t,_=n.spectrum,T=[],E=[],A=[],O=0,$={},L=!1,P=t.ownerDocument,D=n.documentElement||P.documentElement,I=P.body,j="rtl"===P.dir||1===n.ort?0:100;function M(e,t){var n=P.createElement("div");return t&&f(n,t),e.appendChild(n),n}function N(e,t){var i=M(e,n.cssClasses.origin),o=M(i,n.cssClasse
2s.handle);if(M(o,n.cssClasses.touchArea),o.setAttribute("data-handle",String(t)),n.keyboardSupport&&(o.setAttribute("tabindex","0"),o.addEventListener("keydown",function(e){return function(e,t){if(q()||F(t))return!1;var i=["Left","Right"],o=["Down","Up"],r=["PageDown","PageUp"],a=["Home","End"];n.dir&&!n.ort?i.reverse():n.ort&&!n.dir&&(o.reverse(),r.reverse());var s,l=e.key.replace("Arrow",""),c=l===r[0],u=l===r[1],d=l===o[0]||l===i[0]||c,p=l===o[1]||l===i[1]||u,f=l===a[1];if(!(d||p||l===a[0]||f))return!0;if(e.preventDefault(),p||d){var h=d?0:1,m=ye(t)[h];if(null===m)return!1;!1===m&&(m=_.getDefaultStep(E[t],d,n.keyboardDefaultStep)),m*=u||c?n.keyboardPageMultiplier:n.keyboardMultiplier,m=Math.max(m,1e-7),m*=d?-1:1,s=T[t]+m}else s=f?n.spectrum.xVal[n.spectrum.xVal.length-1]:n.spectrum.xVal[0];return fe(t,_.toStepping(s),!0,!0),se("slide",t),se("update",t),se("change",t),se("set",t),!1}(e,t)})),void 0!==n.handleAttributes){var r=n.handleAttributes[t];Object.keys(r).forEach(function(e){o.setAttribute(e,r[e])})}return o.setAttribute("role","slider"),o.setAttribute("aria-orientation",n.ort?"vertical":"horizontal"),0===t?f(o,n.cssClasse
2s.handleLower):t===n.handles-1&&f(o,n.cssClasses.handleUpper),i.handle=o,i}function H(e,t){return!!t&&M(e,n.cssClasses.connect)}function R(e,t){return!(!n.tooltips||!n.tooltips[t])&&M(e.firstChild,n.cssClasses.tooltip)}function q(){return C.hasAttribute("disabled")}function F(e){return p[e].hasAttribute("disabled")}function B(){y&&(ae("update"+k),y.forEach(function(e){e&&o(e)}),y=null)}function U(){B(),y=p.map(R),re("update"+k,function(e,t,i){if(y&&n.tooltips&&!1!==y[t]){var o=e[t];!0!==n.tooltips[t]&&(o=n.tooltips[t].to(i[t])),y[t].innerHTML=o}})}function W(e,t){return e.map(function(e){return _.fromStepping(t?_.getStep(e):e)})}function V(){g&&(o(g),g=null)}function Y(t){V();var i=function(t){function n(e,t){return Number((e+t).toFixed(7))}var i,o=function(t){if(t.mode===e.PipsMode.Range||t.mode===e.PipsMode.Steps)return _.xVal;if(t.mode===e.PipsMode.Count){if(t.values<2)throw new Error("noUiSlider: 'values' (>= 2) required for mode 'count'.");for(var n=t.values-1,i=100/n,o=[];n--;)o[n]=n*i;return o.push(100),W(o,t.stepped)}return t.mode===e.PipsMode.Positions?W(t.values,t.stepped):t.mode===e.PipsMode.Values?t.stepped?t.values.map(function(e){return _.fromStepping(_.getStep(_.toStepping(e)))}):t.values:[]}(t),r={},a=_.xVal[0],s=_.xVal[_.xVal.length-1],l=!1,c=!1,u=0;return i=o.slice().sort(function(e,t){return e-t}),(o=i.filter(function(e){return!this[e]&&(this[e]=!0)},{}))[0]!==a&&(o.unshift(a),l=!0),o[o.length-1]!==s&&(o.push(s),c=!0),o.forEach(function(i,a){var s,d,p,f,h,m,v,g,y,b,w=i,x=o[a+1],k=t.mode===e.PipsMode.Steps;for(k&&(s=_.xNumSteps[a]),s||(s=x-w),void 0===x&&(x=w),s=Math.max(s,1e-7),d=w;d<=x;d=n(d,s)){for(g=(h=(f=_.toStepping(d))-u)/(t.density||1),b=h/(y=Math.round(g)),p=1;p<=y;p+=1)r[(m=u+p*b).toFixed(5)]=[_.fromStepping(m),0];v=o.indexOf(d)>-1?e.PipsType.LargeValue:k?e.PipsType.SmallValue:e.PipsType.NoValue,!a&&l&&d!==x&&(v=0),d===x&&c||(r[f.toFixed(5)]=[d,v]),u=f}}),r}(t),o=t.filter,r=t.format||{to:function(e){return String(Math.round(e))}};return g=C.appendChild(function(t,i,o){var r,a,s=P.createElement("div"),l=((r={})[e.PipsType.None]="",r[e.PipsType.NoValue]=n.cssClasses.valueNormal,r[e.PipsType.LargeValue]=n.cssClasses.valueLarge,r[e.PipsType.SmallValue]=n.cssClasses.valueSub,r),c=((a={})[e.PipsType.None]="",a[e.PipsType.NoValue]=n.cssClasses.markerNormal,a[e.PipsType.LargeValue]=n.cssClasses.markerLarge,a[e.PipsType.SmallValue]=n.cssClasses.markerSub,a),u=[n.cssClasse
vendor: 2,636 bytes, line 2
2s.valueHorizontal,n.cssClasses.valueVertical],d=[n.cssClasses.markerHorizontal,n.cssClasses.markerVertical];function p(e,t){var i=t===n.cssClasses.value,o=i?l:c;return t+" "+(i?u:d)[n.ort]+" "+o[e]}return f(s,n.cssClasses.pips),f(s,0===n.ort?n.cssClasses.pipsHorizontal:n.cssClasses.pipsVertical),Object.keys(t).forEach(function(r){!function(t,r,a){if((a=i?i(r,a):a)!==e.PipsType.None){var l=M(s,!1);l.className=p(a,n.cssClasses.marker),l.style[n.style]=t+"%",a>e.PipsType.NoValue&&((l=M(s,!1)).className=p(a,n.cssClasses.value),l.setAttribute("data-value",String(r)),l.style[n.style]=t+"%",l.innerHTML=String(o.to(r)))}}(r,t[r][0],t[r][1])}),s}(i,o,r))}function Z(){var e=a.getBoundingClientRect(),t="offset"+["Width","Height"][n.ort];return 0===n.ort?e.width||a[t]:e.height||a[t]}function G(e,t,i,o){var r=function(r){var a,s,l=function(e,t,n){var i=0===e.type.indexOf("touch"),o=0===e.type.indexOf("mouse"),r=0===e.type.indexOf("pointer"),a=0,s=0;if(0===e.type.indexOf("MSPointer")&&(r=!0),"mousedown"===e.type&&!e.buttons&&!e.touches)return!1;if(i){var l=function(t){var i=t.target;return i===n||n.contains(i)||e.composed&&e.composedPath().shift()===n};if("touchstart"===e.type){var c=Array.prototype.filter.call(e.touches,l);if(c.length>1)return!1;a=c[0].pageX,s=c[0].pageY}else{var u=Array.prototype.find.call(e.changedTouches,l);if(!u)return!1;a=u.pageX,s=u.pageY}}return t=t||m(P),(o||r)&&(a=e.clientX+t.x,s=e.clientY+t.y),e.pageOffset=t,e.points=[a,s],e.cursor=o||r,e}(r,o.pageOffset,o.target||t);return!!l&&!(q()&&!o.doNotReject)&&(a=C,s=n.cssClasses.tap,!((a.classList?a.classList.contains(s):new RegExp("\\b"+s+"\\b").test(a.className))&&!o.doNotReject)&&!(e===w.start&&void 0!==l.buttons&&l.buttons>1)&&(!o.hover||!l.buttons)&&(x||l.preventDefault(),l.calcPoint=l.points[n.ort],void i(l,o)))},a=[];return e.split(" ").forEach(function(e){t.addEventListener(e,r,!!x&&{passive:!0}),a.push([e,r])}),a}function K(e){var t,i,o,r,s,l,c=100*(e-(t=a,i=n.ort,o=t.getBoundingClientRect(),s=(r=t.ownerDocument).documentElement,l=m(r),/webkit.*Chrome.*Mobile/i.test(navigator.userAgent)&&(l.x=0),i?o.top+l.y-s.clientTop:o.left+l.x-s.clientLeft))/Z();return c=u(c),n.dir?100-c:c}function Q(e,t){"mouseout"===e.type&&"HTML"===e.target.nodeName&&null===e.relatedTarget&&ee(e,t)}function J(e,t){if(-1===navigator.appVersion.indexOf("MSIE 9")&&0===e.buttons&&0!==t.buttonsProperty)return ee(e,t);var i=(n.dir?-1:1)*(e.calcPoint-t.startCalcPoint);ue(i>0,100*i/t.baseSize,t.locations,t.handleNumbers,t.connect)}function ee(e,t){t.handle&&(h(t.handle,n.cssClasses.active),O-=1),t.listeners.forEach(function(e){D.removeEventListener(e[0],e[1])}
2),0===O&&(h(C,n.cssClasses.drag),pe(),e.cursor&&(I.style.cursor="",I.removeEventListener("selectstart",s))),n.events.smoothSteps&&(t.handleNumbers.forEach(function(e){fe(e,E[e],!0,!0,!1,!1)}),t.handleNumbers.forEach(function(e){se("update",e)})),t.handleNumbers.forEach(function(e){se("change",e),se("set",e),se("end",e)})}function te(e,t){if(!t.handleNumbers.some(F)){var i;1===t.handleNumbers.length&&(i=p[t.handleNumbers[0]].children[0],O+=1,f(i,n.cssClasses.active)),e.stopPropagation();var o=[],r=G(w.move,D,J,{target:e.target,handle:i,connect:t.connect,listeners:o,startCalcPoint:e.calcPoint,baseSize:Z(),pageOffset:e.pageOffset,handleNumbers:t.handleNumbers,buttonsProperty:e.buttons,locations:E.slice()}),a=G(w.end,D,ee,{target:e.target,handle:i,listeners:o,doNotReject:!0,handleNumbers:t.handleNumbers}),l=G("mouseout",D,Q,{target:e.target,handle:i,listeners:o,doNotReject:!0,handleNumbers:t.handleNumbers});o.push.apply(o,r.concat(a,l)),e.cursor&&(I.style.cursor=getComputedStyle(e.target).cursor,p.length>1&&f(C,n.cssClasses.drag),I.addEventListener("selectstart",s,!1)),t.handleNumbers.forEach(function(e){se("start",e)})}}function ne(e){e.stopPropagation();var t=K(e.calcPoint),i=function(e){var t=100,n=!1;return p.forEach(function(i,o){if(!F(o)){var r=E[o],a=Math.abs(r-e);(a<t||a<=t&&e>r||100===a&&100===t)&&(n=o,t=a)}}),n}(t);
2!1!==i&&(n.events.snap||c(C,n.cssClasses.tap,n.animationDuration),fe(i,t,!0,!0),pe(),se("slide",i,!0),se("update",i,!0),n.events.snap?te(e,{handleNumbers:[i]}):(se("change",i,!0),se("set",i,!0)))}function ie(e){var t=K(e.calcPoint),n=_.getStep(t),i=_.fromStepping(n);Object.keys($).forEach(function(e){"hover"===e.split(".")[0]&&$[e].forEach(function(e){e.call(we,i)})})}function oe(e){e.fixed||p.forEach(function(e,t){G(w.start,e.children[0],te,{handleNumbers:[t]})}),e.tap&&G(w.start,a,ne,{}),e.hover&&G(w.move,a,ie,{hover:!0}),e.drag&&v.forEach(function(t,i){if(!1!==t&&0!==i&&i!==v.length-1){var o=p[i-1],r=p[i],a=[t],s=[o,r],l=[i-1,i];f(t,n.cssClasses.draggable),e.fixed&&(a.push(o.children[0]),a.push(r.children[0])),e.dragAll&&(s=p,l=A),a.forEach(function(e){G(w.start,e,te,{handles:s,handleNumbers:l,connect:t})})}})}function re(e,t){$[e]=$[e]||[],$[e].push(t),"update"===e.split(".")[0]&&p.forEach(function(e,t){se("update",t)})}function ae(e){var t=e&&e.split(".")[0],n=t?e.substring(t.length):e;Object.keys($).forEach(function(e){var i=e.split(".")[0],o=e.substring(i.length);t&&t!==i||n&&n!==o||function(e){return e===S||e===k}(o)&&n!==o||delete $[e]})}function se(e,t,i){Object.keys($).forEach(function(o){var r=o.split(".")[0];e===r&&$[o].forEach(function(e){e.call(we,T.map(n.format.to),t,T.slice(),i||!1,E.slice(),we)})})}function le(e,t,i,o,r,a,s){var l;return p.length>1&&!n.events.unconstrained&&(o&&t>0&&(l=_.getAbsoluteDistance(e[t-1],n.margin,!1),i=Math.max(i,l)),r&&t<p.length-1&&(l=_.getAbsoluteDistance(e[t+1],n.margin,!0),i=Math.min(i,l))),p.length>1&&n.limit&&(o&&t>0&&(l=_.getAbsoluteDistance(e[t-1],n.limit,!1),i=Math.min(i,l)),r&&t<p.length-1&&(l=_.getAbsoluteDistance(e[t+1],n.limit,!0),i=Math.max(i,l))),n.padding&&(0===t&&(l=_.getAbsoluteDistance(0,n.padding[0],!1),i=Math.max(i,l)),t===p.length-1&&(l=_.getAbsoluteDistance(100,n.padding[1],!0),i=Math.min(i,l))),s||(i=_.getStep(i)),!((i=u(i))===e[t]&&!a)&&i}function ce(e,t){var i=n.ort;return(i?t:e)+", "+(i?e:t)}function ue(e,t,i,o,r){var a=i.slice(),s=o[0],l=n.events.smoothSteps,c=[!e,e],u=[e,!e];o=o.slice(),e&&o.reverse(),o.length>1?o.forEach(function(e,n){var i=le(a,e,a[e]+t,c[n],u[n],!1,l);!1===i?t=0:(t=i-a[e],a[e]=i)}):c=u=[!0];var d=!1;o.forEach(function(e,n){d=fe(e,i[e]+t,c[n],u[n],!1,l)||d}),d&&(o.forEach(function(e){se("update",e),se("slide",e)}),null!=r&&se("drag",s))}function de(e,t){return n.dir?100-e-t:e}function pe(){A.forEach(function(e){var t=E[e]>50?-1:1,n=3+(p.length+t*e);p[e].style.zIndex=String(n)})}function fe(e,t,i,o,r,a){return r||(t=le(E,e,t,i,o,!1,a)),!1!==t&&(function(e,t){E[e]=t,T[e]=_.fromStepping(t);var i="translate("+ce(de(t,0)-j+"%","0")+")";if(p[e].style[n.transformRule]=i,n.events.invertConnects&&E.length>1){var o=E.every(function(e,t,n){return 0===t||e>=n[t-1]});if(L!==!o)return L=!L,z(n,n.connect.map(function(e){return!e})),void be()}he(e),he(e+1),L&&(he(e-1),he(e+2))}(e,t),!0)}function he(e){if(v[e]){var t=E.slice();L&&t.sort(function(e,t){return e-t});var i=0,o=100;0!==e&&(i=t[e-1]),e!==v.length-1&&(o=t[e]);var r=o-i,a="translate("+ce(de(i,r)+"%","0")+")",s="scale("+ce(r/100,"1")+")";v[e].style[n.transformRule]=a+" "+s}}function me(e,t){return null===e||!1===e||void 0===e?E[t]:("number"==typeof e&&(e=String(e)),!1!==(e=n.format.from(e))&&(e=_.toStepping(e)),!1===e||isNaN(e)?E[t]:e)}function ve(e,t,i){var o=d(e),r=void 0===E[0];
2t=void 0===t||t,n.animate&&!r&&c(C,n.cssClasses.tap,n.animationDuration),A.forEach(function(e){fe(e,me(o[e],e),!0,!1,i)});var a=1===A.length?0:1;if(r&&_.hasNoSize()&&(i=!0,E[0]=0,A.length>1)){var s=100/(A.length-1);A.forEach(function(e){E[e]=e*s})}for(;a<A.length;++a)A.forEach(function(e){fe(e,E[e],!0,!0,i)});pe(),A.forEach(function(e){se("update",e),null!==o[e]&&t&&se("set",e)})}function ge(e){if(void 0===e&&(e=!1),e)return 1===T.length?T[0]:T.slice(0);var t=T.map(n.format.to);return 1===t.length?t[0]:t}function ye(e){var t=E[e],i=_.getNearbySteps(t),o=T[e],r=i.thisStep.step,a=null;if(n.snap)return[o-i.stepBefore.startValue||null,i.stepAfter.startValue-o||null];!1!==r&&o+r>i.stepAfter.startValue&&(r=i.stepAfter.startValue-o),a=o>i.thisStep.startValue?i.thisStep.step:!1!==i.stepBefore.step&&o-i.stepBefore.highestStep,100===t?r=null:0===t&&(a=null);var s=_.countStepDecimals();return null!==r&&!1!==r&&(r=Number(r.toFixed(s))),null!==a&&!1!==a&&(a=Number(a.toFixed(s))),[a,r]}function be(){for(;l.firstChild;)l.removeChild(l.firstChild);for(var e=0;e<=n.handles;e++)v[e]=H(l,n.connect[e]),he(e);oe({drag:n.events.drag,fixed:!0})}
2f(b=C,n.cssClasses.target),0===n.dir?f(b,n.cssClasses.ltr):f(b,n.cssClasses.rtl),0===n.ort?f(b,n.cssClasses.horizontal):f(b,n.cssClasses.vertical),f(b,"rtl"===getComputedStyle(b).direction?n.cssClasses.textDirectionRtl:n.cssClasses.textDirectionLtr),a=M(b,n.cssClasses.base),function(e,t){l=M(t,n.cssClasses.connects),p=[],(v=[]).push(H(l,e[0]));for(var i=0;i<n.handles;i++)p.push(N(t,i)),A[i]=i,v.push(H(l,e[i+1]))}(n.connect,a),oe(n.events),ve(n.start),n.pips&&Y(n.pips),n.tooltips&&U(),ae("update"+S),re("update"+S,function(e,t,i,o,r){A.forEach(function(e){var t=p[e],o=le(E,e,0,!0,!0,!0),a=le(E,e,100,!0,!0,!0),s=r[e],l=String(n.ariaFormat.to(i[e]));o=_.fromStepping(o).toFixed(1),a=_.fromStepping(a).toFixed(1),s=_.fromStepping(s).toFixed(1),t.children[0].setAttribute("aria-valuemin",o),t.children[0].setAttribute("aria-valuemax",a),t.children[0].setAttribute("aria-valuenow",s),t.children[0].setAttribute("aria-valuetext",l)})});var we={destroy:function(){for(ae(S),ae(k),Object.keys(n.cssClasses).forEach(function(e){h(C,n.cssClasse
2s[e])});C.firstChild;)C.removeChild(C.firstChild);delete C.noUiSlider},steps:function(){return A.map(ye)},on:re,off:ae,get:ge,set:ve,setHandle:function(e,t,n,i){if(!((e=Number(e))>=0&&e<A.length))throw new Error("noUiSlider: invalid handle number, got: "+e);fe(e,me(t,e),!0,!0,i),se("update",e),n&&se("set",e)},reset:function(e){ve(n.start,e)},disable:function(e){null!=e?(p[e].setAttribute("disabled",""),p[e].handle.removeAttribute("tabindex")):(C.setAttribute("disabled",""),p.forEach(function(e){e.handle.removeAttribute("tabindex")}))},enable:function(e){null!=e?(p[e].removeAttribute("disabled"),p[e].handle.setAttribute("tabindex","0")):(C.removeAttribute("disabled"),p.forEach(function(e){e.removeAttribute("disabled"),e.handle.setAttribute("tabindex","0")}))},__moveHandles:function(e,t,n){ue(e,t,E,n)},options:i,updateOptions:function(e,t){var o=ge(),a=["margin","limit","padding","range","animate","snap","step","format","pips","tooltips","connect"];a.forEach(function(t){void 0!==e[t]&&(i[t]=e[t])});var s=X(i);a.forEach(function(t){void 0!==e[t]&&(n[t]=s[t])}),_=s.spectrum,n.margin=s.margin,n.limit=s.limit,n.padding=s.padding,n.pips?Y(n.pips):V(),n.tooltips?U():B(),E=[],ve(r(e.start)?e.start:o,t),e.connect&&be()},target:C,removePips:V,removeTooltips:B,getPositions:function(){return E.slice()},getTooltips:function(){return y},getOrigins:function(){return p},pips:Y};return we}function G(e,t){if(!e||!e.nodeName)throw new Error("noUiSlider: create requires a single element, got: "+e);if(e.noUiSlider)throw new Error("noUiSlider: Slider was already initialized.");var n=Z(e,X(t),t);return e.noUiSlider=n,n}var K={__spectrum:b,cssClasses:x,create:G};e.create=G,e.cssClasses=x,e.default=K,Object.defineProperty(e,"__esModule",{value:!0})},"object"===a(t)?r(t):(i=[t],void 0===(o="function"==typeof(n=r)?n.apply(t,i):n)||(e.exports=o))},360:function(){function e(){document.querySelector(".ml--media--restricted")&&function(){var e=!1;if("undefined"!=typeof dataLayer){var t=dataLayer.find(function(e){return e.hasOwnProperty("userType")}),n=t?t.userType:null;n&&"Anonymous"!==n&&(e=!0)}var i=document.getElementById("ribbon-anonymous"),o=document.getElementById("message-anonymous"),r=document.getElementById("message-logged-in"),a=document.querySelector(".ml--media--restricted main");e&&(i&&i.classList.add("hidden"),o&&o.classList.add("hidden"),r&&r.classList.remove("hidden"),a&&a.classList.add("u-padding-top__section"))}()}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",e):e()},577:function(){function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}document.addEventListener("DOMContentLoaded",function(){document.addEventListener("click",function(t){var n=t.target.closest("[data-action-on-click]");if(n){var i;try{i=JSON.parse(n.getAttribute("data-action-on-click")),console.log("[u-action-on-click] Parsed JSON actions:",i)}catch(t){i=n.getAttribute("data-action-on-click").split(",").map(function(t){var n=function(t){return function(e){if(Array.isArray(e))return e}(t)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,o,r,a=[],s=!0,l=!1;try{for(o=(t=t.call(e)).next,!2;!(s=(n=o.call(t)).done)&&(a.push(n.value),2!==a.length);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(l)throw i}}return a}}(t)||function(t){if(t){if("string"==typeof t)return e(t,2);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,2):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t.split(":").map(function(e){return e.trim()}));return{id:n[0],action:n[1]}}),console.log("[u-action-on-click] Parsed string actions:",i)}i.forEach(function(e){var t=e.id,n=e.action,i=document.getElementById(t);if(i)switch(n){case"hide":i.classList.add("is-hidden"),console.log("[u-action-on-cl
2ick] Hiding element with ID '".concat(t,"'."));break;case"remove":i.remove(),console.log("[u-action-on-click] Removing element with ID '".concat(t,"'."));break;default:console.warn("[u-action-on-click] Unknown action '".concat(n,"' for element with ID '").concat(t,"'."))}else console.warn("[u-action-on-click] Target element with ID '".concat(t,"' not found."))})}})})},578:function(e,t,n){var i,o,r,a;function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}e=n.nmd(e),a=function(){return function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={exports:{},id:i,loaded:!1};return e[i].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){"use strict";e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",i=n,o=Date.now(),r=!1,a=["button","input","select","textarea"],s=[],l=[16,17,18,91,93],c=[],u={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},d=!1,p={x:null,y:null},f={2:"touch",3:"touch",4:"mouse"},h=!1;try{var m=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,m)}catch(e){}var v,g=function(e){var t=e.which,o=u[e.type];"pointer"===o&&(o=k(e));var r=!c.length&&-1===l.indexOf(t),s=c.length&&-1!==c.indexOf(t),d="keyboard"===o&&t&&(r||s)||"mouse"===o||"touch"===o;if(S(o)&&(d=!1),d&&n!==o&&(x("input",n=o),y("input")),d&&i!==o){var p=document.activeElement;p&&p.nodeName&&(-1===a.indexOf(p.nodeName.toLowerCase())||"button"===p.nodeName.toLowerCase()&&!E(p,"form"))&&(x("intent",i=o),y("intent"))}},y=function(t){e.setAttribute("data-what"+t,"input"===t?n:i),_(t)},b=function(e){var t=u[e.type];"pointer"===t&&(t=k(e)),T(e),(!d&&!S(t)||d&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&i!==t&&(x("intent",i=t),y("intent"))},w=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},x=function(e,t){if(r)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},k=function(e){return"number"==typeof e.pointerType?f[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},S=function(e){var t=Date.now(),i="mouse"===e&&"touch"===n&&t-o<200;return o=t,i},C=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},_=function(e){for(var t=0,o=s.length;t<o;t++)s[t].type===e&&s[t].fn.call(void 0,"input"===e?n:i)},T=function(e){p.x!==e.screenX||p.y!==e.screenY?(d=!1,p.x=e.screenX,p.y=e.screenY):d=!0},E=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(u[C()]="mouse",v=!h||{passive:!0,capture:!0},document.addEventListener("DOMContentLoaded",function(){if(r=!("false"===e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(i=window.sessionStorage.getItem("what-intent"))}catch(e){}y("input"),y("intent")},!0),window.PointerEvent?(window.addEventListener("pointerdown",g,!0),window.addEventListener("pointermove",b,!0)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g,!0),window.addEventListener("MSPointerMove",b,!0)):(window.addEventListener("mousedown",g,!0),window.addEventListener("mousemove",b,!0),"ontouchstart"in window&&(window.addEventListener("touchstart",g,v),window.addEventListener("touchend",g,!0))
2),window.addEventListener(C(),b,v),window.addEventListener("keydown",g,!0),window.addEventListener("keyup",g,!0),window.addEventListener("focusin",function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):w()},!0),window.addEventListener("focusout",w,!0)),{ask:function(e){return"intent"===e?i:n},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){c=e},registerOnChange:function(e,t){s.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=s.length;t<n;t++)if(s[t].fn===e)return t}(e);(t||0===t)&&s.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])},"object"===s(t)&&"object"===s(e)?e.exports=a():(o=[],void 0===(r="function"==typeof(i=a)?i.apply(t,o):i)||(e.exports=r))},768:function(){document.addEventListener("DOMContentLoaded",function(){if("undefined"!=typeof dataLayer){for(var e=(c="/Service/keep-session-alive.aspx","dev.icaew.com"===(u=window.location.hostname)||"devcdn.icaew.com"===u||"local.icaew.com"===u?"https://dev.icaew.com"+c:"uat.icaew.com"===u?"https://uat.icaew.com"+c:"https://www.icaew.com"+c),t=54e4,n=!1,i=!1,o=0;o<dataLayer.length;o++){var r=dataLayer[o];if(r.hasOwnProperty("userType")&&(i=r.userType),i&&"Anonymous"!==i){n=!0;break}}if(n){var a=document.getElementById("widget__cpd");if(a){var s=a.getAttribute("data-session-ka-interval");if(s){var l=parseInt(s,10);isNaN(l)||(t=l)}setInterval(function(){fetch(e,{method:"GET",credentials:"include"}).then(function(e){e.ok||console.error("Failed to keep session alive:",e.statusText)}).catch(function(e){return console.error("Error:",e)})},t)}}}var c,u})},782:function(e,t,n){var i,o;function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}i=function(){"use strict";return function(e,t,n,i){var o={features:null,bind:function(e,t,n,i){var o=(i?"remove":"add")+"EventListener";t=t.split(" ");for(var r=0;r<t.length;r++)t[r]&&e[o](t[r],n,!1)},isArray:function(e){return e instanceof Array},createEl:function(e,t){var n=document.createElement(t||"div");return e&&(n.className=e),n},getScrollY:function(){var e=window.pageYOffset;return void 0!==e?e:document.documentElement.scrollTop},unbind:function(e,t,n){o.bind(e,t,n,!0)},removeClass:function(e,t){var n=new RegExp("(\\s|^)"+t+"(\\s|$)");e.className=e.className.replace(n," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(e,t){o.hasClass(e,t)||(e.className+=(e.className?" ":"")+t)},hasClass:function(e,t){return e.className&&new RegExp("(^|\\s)"+t+"(\\s|$)").test(e.className)},getChildByClass:function(e,t){for(var n=e.firstChild;n;){if(o.hasClass(n,t))return n;n=n.nextSibling}},arraySearch:function(e,t,n){for(var i=e.length;i--;)if(e[i][n]===t)return i;return-1},extend:function(e,t,n){for(var i in t)if(t.hasOwnProperty(i)){if(n&&e.hasOwnProperty(i))continue;e[i]=t[i]}},easing:{sine:{out:function(e){return Math.sin(e*(Math.PI/2))},inOut:function(e){return-(Math.cos(Math.PI*e)-1)/2}},cubic:{out:function(e){return--e*e*e+1}}},detectFeatures:function(){if(o.features)return o.features;var e=o.createEl().style,t="",n={};if(n.oldIE=document.all&&!document.addEventListener,n.touch="ontouchstart"in window,window.requestAnimationFrame&&(n.raf=window.requestAnimationFrame,n.caf=window.cancelAnimationFrame),n.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!n.pointerEvent){var i=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var r=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);r&&r.length>0&&(r=parseInt(r[1],10))>=1&&8>r&&(n.isOldIOSPhone=!0)}var a=i.match(/Android\s([0-9\.]*)/),s=a?a[1]:0;(s=parseFloat(s))>=1&&(4.4>s&&(n.isOldAndroid=!0),n.androidVersion=s),n.isMobileOpera=/opera mini|o
2pera mobi/i.test(i)}for(var l,c,u=["transform","perspective","animationName"],d=["","webkit","Moz","ms","O"],p=0;4>p;p++){t=d[p];for(var f=0;3>f;f++)l=u[f],c=t+(t?l.charAt(0).toUpperCase()+l.slice(1):l),!n[l]&&c in e&&(n[l]=c);t&&!n.raf&&(t=t.toLowerCase(),n.raf=window[t+"RequestAnimationFrame"],n.raf&&(n.caf=window[t+"CancelAnimationFrame"]||window[t+"CancelRequestAnimationFrame"]))}if(!n.raf){var h=0;n.raf=function(e){var t=(new Date).getTime(),n=Math.max(0,16-(t-h)),i=window.setTimeout(function(){e(t+n)},n);return h=t+n,i},n.caf=function(e){clearTimeout(e)}}return n.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,o.features=n,n}};o.detectFeatures(),o.features.oldIE&&(o.bind=function(e,t,n,i){t=t.split(" ");for(var o,a=(i?"detach":"attach")+"Event",s=function(){n.handleEvent.call(n)},l=0;l<t.length;l++)if(o=t[l])if("object"==r(n)&&n.handleEvent){if(i){if(!n["oldIE"+o])return!1}else n["oldIE"+o]=s;e[a]("on"+o,n["oldIE"+o])}else e[a]("on"+o,n)});var a=this,s={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(e){return"A"===e.tagName},getDoubleTapZoom:function(e,t){return e||t.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};o.extend(s,i);var l,c,u,d,p,f,h,m,v,g,y,b,w,x,k,S,C,_,T,E,A,O,$,L,P,z,D,I,j,M,N,H,R,q,F,B,U,W,V,Y,X,Z,G,K,Q,J,ee,te,ne,ie,oe,re,ae,se,le,ce={x:0,y:0},ue={x:0,y:0},de={x:0,y:0},pe={},fe=0,he={},me={x:0,y:0},ve=0,ge=!0,ye=[],be={},we=!1,xe=function(e,t){o.extend(a,t.publicMethods),ye.push(e)},ke=function(e){var t=qt();return e>t-1?e-t:0>e?t+e:e},Se={},Ce=function(e,t){return Se[e]||(Se[e]=[]),Se[e].push(t)},_e=function(e){var t=Se[e];if(t){var n=Array.prototype.slice.call(arguments);n.shift();for(var i=0;i<t.length;i++)t[i].apply(a,n)}},Te=function(){return(new Date).getTime()},Ee=function(e){ae=e,a.bg.style.opacity=e*s.bgOpacity},Ae=function(e,t,n,i,o){(!we||o&&o!==a.currItem)&&(i/=o?o.fitRatio:a.currItem.fitRatio),e[O]=b+t+"px, "+n+"px"+w+" scale("+i+")"},Oe=function(e){te&&(e&&(g>a.currItem.fitRatio?we||(Gt(a.currItem,!1,!0),we=!0):we&&(Gt(a.currItem),we=!1)),Ae(te,de.x,de.y,g))},$e=function(e){e.container&&Ae(e.container.style,e.initialPosition.x,e.initialPosition.y,e.initialZoomLevel,e)},Le=function(e,t){t[O]=b+e+"px, 0px"+w},Pe=function(e,t){if(!s.loop&&t){var n=d+(me.x*fe-e)/me.x,i=Math.round(e-ut.x);(0>n&&i>0||n>=qt()-1&&0>i)&&(e=ut.x+i*s.mainScrollEndFriction)}ut.x=e,Le(e,p)},ze=function(e,t){var n=dt[e]-he[e];return ue[e]+ce[e]+n-n*(t/y)},De=function(e,t){e.x=t.x,e.y=t.y,t.id&&(e.id=t.id)},Ie=function(e){e.x=Math.round(e.x),e.y=Math.round(e.y)},je=null,Me=function(){je&&(o.unbind(document,"mousemove",Me),o.addClass(e,"pswp--has_mouse"),s.mouseUsed=!0,_e("mouseUsed")),je=setTimeout(function(){je=null},100)},Ne=function(e,t){var n=Vt(a.currItem,pe,e);return t&&(ee=n),n},He=function(e){return e||(e=a.currItem),e.initialZoomLevel},Re=function(e){return e||(e=a.currItem),e.w>0?s.maxSpreadZoom:1},qe=function(e,t,n,i){return i===a.currItem.initialZoomLevel?(n[e]=a.currItem.initialPosition[e],!0):(n[e]=ze(e,i),n[e]>t.min[e]?(n[e]=t.min[e],!0):n[e]<t.max[e]&&(n[e]=t.max[e],!0))},Fe=function(e){var t="";s.escKey&&27===e.keyCode?t="close":s.arrowKeys&&(37===e.keyCode?t="prev":39===e.keyCode&&(t="next")),t&&(e.ctrlKey||e.altKey||e.shiftKey||e.metaKey||(e.preventDefault?e.preventDefault():e.returnValue=!1,a[t]()))},Be=function(e){e&&(X||Y||ne||B)&&(e.preventDefault(),e.stopPropagation())},Ue=function(){a.setScrollOffset(0,o.getScrollY())},We={},Ve=0,Ye=function(e){We[e]&&(We[e].raf&&z(We[e].raf),Ve--,delete We[e])},Xe=function(e){We[e]&&Ye(e),We[e]||(Ve++,We[e]={})},Ze=function(){for(var e in We)We.hasOwnProperty(e)&&Ye(e)},Ge=function(e,t,n,i,o,r,a){var s,l=Te();Xe(e);var c=function(){if(We[e]){if((s=Te()-l)>=i)return Ye(e),r(n),void(a&&a());r((n-t)*o(s/i)+t),We[e].raf=P(c)}};c()},Ke={shout:_e,listen:Ce,viewportSize:pe,options:s,isMainScrollAnimating:function(){return ne},getZoomLevel:function(){return g},getCurrentIndex:function(){return d},isDragging:function(){return W},isZooming:function(){return Q},setScrollOffset:function(e,t){he.x=e,M=he.y=t,_e("updateScrollOffset",he)},applyZoomPan:function(e,t,n,i){de.x=t,de.y=n,g=e,Oe(i)},init:function(){if(!l&&!c){var n;a.framework=o,a.template=e,a.bg=o.getChildByClass(e,"pswp__bg"),D=e.className,l=!0,N=o.detectFeatures(),P=N.raf,z=N.caf,O=N.transform,j=N.oldIE,a.scrollWrap=o.getChildByClass(e,"pswp__scroll-wrap"),a.container=o.getChildByClass(a.scrollWrap,"pswp__container"),p=a.container.style,a.itemHolders=S=[{el:a.container.children[0],wrap:0,index:-1},{el:a.container.children[1],wrap:0,index:-1},{el:a.container.children[2],wrap:0,index:-1}],S[0].el.style.display=S[2].el.style.display="none",function(){if(O){var t=N.perspective&&!L;return b="translate"+(t?"3d(":"("),void(w=N.perspective?", 0px)":")")}O="left",o.addClass(e,"pswp--ie"),Le=function(e,t){t.left=e+"px"},$e=function(e){var t=e.fitRatio>1?1:e.fitRatio,n=e.container.style,i=t*e.w,o=t*e.h;n.width=i+"px",n.height=o+"px",n.left=e.initialPosition.x+"px",n.top=e.initialPosition.y+"px"}
2,Oe=function(){if(te){var e=te,t=a.currItem,n=t.fitRatio>1?1:t.fitRatio,i=n*t.w,o=n*t.h;e.width=i+"px",e.height=o+"px",e.left=de.x+"px",e.top=de.y+"px"}}}(),v={resize:a.updateSize,scroll:Ue,keydown:Fe,click:Be};var i=N.isOldIOSPhone||N.isOldAndroid||N.isMobileOpera;for(N.animationName&&N.transform&&!i||(s.showAnimationDuration=s.hideAnimationDuration=0),n=0;n<ye.length;n++)a["init"+ye[n]]();t&&(a.ui=new t(a,o)).init(),_e("firstUpdate"),d=d||s.index||0,(isNaN(d)||0>d||d>=qt())&&(d=0),a.currItem=Rt(d),(N.isOldIOSPhone||N.isOldAndroid)&&(ge=!1),e.setAttribute("aria-hidden","false"),s.modal&&(ge?e.style.position="fixed":(e.style.position="absolute",e.style.top=o.getScrollY()+"px")),void 0===M&&(_e("initialLayout"),M=I=o.getScrollY());var r="pswp--open ";for(s.mainClass&&(r+=s.mainClass+" "),s.showHideOpacity&&(r+="pswp--animate_opacity "),r+=L?"pswp--touch":"pswp--notouch",r+=N.animationName?" pswp--css_animation":"",r+=N.svg?" pswp--svg":"",o.addClass(e,r),a.updateSize(),f=-1,ve=null,n=0;3>n;n++)Le((n+f)*me.x,S[n].el.style);j||o.bind(a.scrollWrap,m,a),Ce("initialZoomInEnd",function(){a.setContent(S[0],d-1),a.setContent(S[2],d+1),S[0].el.style.display=S[2].el.style.display="block",s.focus&&e.focus(),o.bind(document,"keydown",a),N.transform&&o.bind(a.scrollWrap,"click",a),s.mouseUsed||o.bind(document,"mousemove",Me),o.bind(window,"resize scroll",a),_e("bindEvents")}),a.setContent(S[1],d),a.updateCurrItem(),_e("afterInit"),ge||(x=setInterval(function(){Ve||W||Q||g!==a.currItem.initialZoomLevel||a.updateSize()},1e3)),o.addClass(e,"pswp--visible")}},close:function(){l&&(l=!1,c=!0,_e("close"),o.unbind(window,"resize",a),o.unbind(window,"scroll",v.scroll),o.unbind(document,"keydown",a),o.unbind(document,"mousemove",Me),N.transform&&o.unbind(a.scrollWrap,"click",a),W&&o.unbind(window,h,a),_e("unbindEvents"),Ft(a.currItem,null,!0,a.destroy))},destroy:function(){_e("destroy"),jt&&clearTimeout(jt),e.setAttribute("aria-hidden","true"),e.className=D,x&&clearInterval(x),o.unbind(a.scrollWrap,m,a),o.unbind(window,"scroll",a),ht(),Ze(),Se=null},panTo:function(e,t,n){n||(e>ee.min.x?e=ee.min.x:e<ee.max.x&&(e=ee.max.x),t>ee.min.y?t=ee.min.y:t<ee.max.y&&(t=ee.max.y)),de.x=e,de.y=t,Oe()},handleEvent:function(e){e=e||window.event,v[e.type]&&v[e.type](e)},goTo:function(e){var t=(e=ke(e))-d;ve=t,d=e,a.currItem=Rt(d),fe-=t,Pe(me.x*fe),Ze(),ne=!1,a.updateCurrItem()},next:function(){a.goTo(d+1)},prev:function(){a.goTo(d-1)},updateCurrZoomItem:function(e){if(e&&_e("beforeChange",0),S[1].el.children.length){var t=S[1].el.children[0];te=o.hasClass(t,"pswp__zoom-wrap")?t.style:null}else te=null;ee=a.currItem.bounds,y=g=a.currItem.initialZoomLevel,de.x=ee.center.x,de.y=ee.center.y,e&&_e("afterChange")},invalidateCurrItems:function(){k=!0;for(var e=0;3>e;e++)S[e].item&&(S[e].item.needsUpdate=!0)},updateCurrItem:function(e){if(0!==ve){var t,n=Math.abs(ve);if(!(e&&2>n)){a.currItem=Rt(d),we=!1,_e("beforeChange",ve),n>=3&&(f+=ve+(ve>0?-3:3),n=3);for(var i=0;n>i;i++)ve>0?(t=S.shift(),S[2]=t,f++,Le((f+2)*me.x,t.el.style),a.setContent(t,d-n+i+1+1)):(t=S.pop(),S.unshift(t),f--,Le(f*me.x,t.el.style),a.setContent(t,d+n-i-1-1));if(te&&1===Math.abs(ve)){var o=Rt(C);o.initialZoomLevel!==g&&(Vt(o,pe),Gt(o),$e(o))}ve=0,a.updateCurrZoomItem(),C=d,_e("afterChange")}}},updateSize:function(t){if(!ge&&s.modal){var n=o.getScrollY();if(M!==n&&(e.style.top=n+"px",M=n),!t&&be.x===window.innerWidth&&be.y===window.innerHeight)return;be.x=window.innerWidth,be.y=window.innerHeight,e.style.height=be.y+"px"}if(pe.x=a.scrollWrap.clientWidth,pe.y=a.scrollWrap.clientHeight,Ue(),me.x=pe.x+Math.round(pe.x*s.spacing),me.y=pe.y,Pe(me.x*fe),_e("beforeResize"),void 0!==f){for(var i,r,l,c=0;3>c;c++)i=S[c],Le((c+f)*me.x,i.el.style),l=d+c-1,s.loop&&qt()>2&&(l=ke(l)),(r=Rt(l))&&(k||r.needsUpdate||!r.bounds)?(a.cleanSlide(r),a.setContent(i,l),1===c&&(a.currItem=r,a.updateCurrZoomItem(!0)),r.needsUpdate=!1):-1===i.index&&l>=0&&a.setContent(i,l),r&&r.container&&(Vt(r,pe),Gt(r),$e(r));k=!1}y=g=a.currItem.initialZoomLevel,(ee=a.currItem.bounds)&&(de.x=ee.center.x,de.y=ee.center.y,Oe(!0)),_e("resize")},zoomTo:function(e,t,n,i,r){t&&(y=g,dt.x=Math.abs(t.x)-de.x,dt.y=Math.abs(t.y)-de.y,De(ue,de));var a=Ne(e,!1),s={};qe("x",a,s,e),qe("y",a,s,e);var l=g,c=de.x,u=de.y;Ie(s);var d=function(t){1===t?(g=e,de.x=s.x,de.y=s.y):(g=(e-l)*t+l,de.x=(s.x-c)*t+c,de.y=(s.y-u)*t+u),r&&r(t),Oe(1===t)};n?Ge("customZoomTo",0,1,n,i||o.easing.sine.inOut,d):d(1)}},Qe={},Je={},et={},tt={},nt={},it=[],ot={},rt=[],at={},st=0,lt={x:0,y:0},ct=0,ut={x:0,y:0},dt={x:0,y:0},pt={x:0,y:0},ft=function(e,t){return at.x=Math.abs(e.x-t.x),at.y=Math.abs(e.y-t.y),Math.sqrt(at.x*at.x+at.y*at.y)},ht=function(){Z&&(z(Z),Z=null)},mt=function(){W&&(Z=P(mt),Ot())},vt=function(e,t){return!(!e||e===document)&&!(e.getAttribute("class")&&e.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(t(e)?e:vt(e.parentNode,t))},gt={},yt=function(e,t){return gt.prevent=!vt(e.target,s.isClickableElement),_e("preventDragEvent",e,t,gt),gt.prevent},bt=function(e,t){return t.x=e.pageX,t.y=e.pageY,t.id=e.identifier,t},wt=function(e,t,n){n.x=.5*(e.x+t.x),n.y=.5*(e.y+t.y)},xt=function(){var e=de.y-a.currItem.initialPosition.y;return 1-Math.abs(e/(pe.y/2))},kt={},St={},Ct=[],_t=function(e){for(;Ct.length>0;)Ct.pop();return $?(le=0,it.forEach(function(e){0===le?Ct[0]=e:1===le&&(Ct[1]=e),le++})):e.type.indexOf("touch")>-1?e.touches&&e.touches.length>0&&(Ct[0]=bt(e.touches[0],kt),e.touches.length>1&&(Ct[1]=bt(e.touches[1],St))):(kt.x=e.pageX,kt.y=e.pageY,kt.id="",Ct[0]=kt),Ct},Tt=function(e,t){var n,i,o,r,l=de[e]+t[e],c=t[e]>0,u=ut.x+t.x,d=ut.x-ot.x;return n=l>
2ee.min[e]||l<ee.max[e]?s.panEndFriction:1,l=de[e]+t[e]*n,!s.allowPanToNext&&g!==a.currItem.initialZoomLevel||(te?"h"!==ie||"x"!==e||Y||(c?(l>ee.min[e]&&(n=s.panEndFriction,ee.min[e],i=ee.min[e]-ue[e]),(0>=i||0>d)&&qt()>1?(r=u,0>d&&u>ot.x&&(r=ot.x)):ee.min.x!==ee.max.x&&(o=l)):(l<ee.max[e]&&(n=s.panEndFriction,ee.max[e],i=ue[e]-ee.max[e]),(0>=i||d>0)&&qt()>1?(r=u,d>0&&u<ot.x&&(r=ot.x)):ee.min.x!==ee.max.x&&(o=l))):r=u,"x"!==e)?void(ne||G||g>a.currItem.fitRatio&&(de[e]+=t[e]*n)):(void 0!==r&&(Pe(r,!0),G=r!==ot.x),ee.min.x!==ee.max.x&&(void 0!==o?de.x=o:G||(de.x+=t.x*n)),void 0!==r)},Et=function(e){if(!("mousedown"===e.type&&e.button>0)){if(Ht)return void e.preventDefault();if(!U||"mousedown"!==e.type){if(yt(e,!0)&&e.preventDefault(),_e("pointerDown"),$){var t=o.arraySearch(it,e.pointerId,"id");0>t&&(t=it.length),it[t]={x:e.pageX,y:e.pageY,id:e.pointerId}}var n=_t(e),i=n.length;K=null,Ze(),W&&1!==i||(W=oe=!0,o.bind(window,h,a),F=se=re=B=G=X=V=Y=!1,ie=null,_e("firstTouchStart",n),De(ue,de),ce.x=ce.y=0,De(tt,n[0]),De(nt,tt),ot.x=me.x*fe,rt=[{x:tt.x,y:tt.y}],R=H=Te(),Ne(g,!0),ht(),mt()),!Q&&i>1&&!ne&&!G&&(y=g,Y=!1,Q=V=!0,ce.y=ce.x=0,De(ue,de),De(Qe,n[0]),De(Je,n[1]),wt(Qe,Je,pt),dt.x=Math.abs(pt.x)-de.x,dt.y=Math.abs(pt.y)-de.y,J=ft(Qe,Je))}}},At=function(e){if(e.preventDefault(),$){var t=o.arraySearch(it,e.pointerId,"id");if(t>-1){var n=it[t];n.x=e.pageX,n.y=e.pageY}}if(W){var i=_t(e);if(ie||X||Q)K=i;else if(ut.x!==me.x*fe)ie="h";else{var r=Math.abs(i[0].x-tt.x)-Math.abs(i[0].y-tt.y);Math.abs(r)>=10&&(ie=r>0?"h":"v",K=i)}}},Ot=function(){if(K){var e=K.length;if(0!==e)if(De(Qe,K[0]),et.x=Qe.x-tt.x,et.y=Qe.y-tt.y,Q&&e>1){if(tt.x=Qe.x,tt.y=Qe.y,!et.x&&!et.y&&function(e,t){return e.x===t.x&&e.y===t.y}(K[1],Je))return;De(Je,K[1]),Y||(Y=!0,_e("zoomGestureStarted"));var t=ft(Qe,Je),n=Dt(t);n>a.currItem.initialZoomLevel+a.currItem.initialZoomLevel/15&&(se=!0);var i=1,o=He(),r=Re();if(o>n)if(s.pinchToClose&&!se&&y<=a.currItem.initialZoomLevel){var l=1-(o-n)/(o/1.2);Ee(l),_e("onPinchClose",l),re=!0}else(i=(o-n)/o)>1&&(i=1),n=o-i*(o/3);else n>r&&((i=(n-r)/(6*o))>1&&(i=1),n=r+i*o);0>i&&(i=0),wt(Qe,Je,lt),ce.x+=lt.x-pt.x,ce.y+=lt.y-pt.y,De(pt,lt),de.x=ze("x",n),de.y=ze("y",n),F=n>g,g=n,Oe()}else{if(!ie)return;if(oe&&(oe=!1,Math.abs(et.x)>=10&&(et.x-=K[0].x-nt.x),Math.abs(et.y)>=10&&(et.y-=K[0].y-nt.y)),tt.x=Qe.x,tt.y=Qe.y,0===et.x&&0===et.y)return;if("v"===ie&&s.closeOnVerticalDrag&&"fit"===s.scaleMode&&g===a.currItem.initialZoomLevel){ce.y+=et.y,de.y+=et.y;var c=xt();return B=!0,_e("onVerticalDrag",c),Ee(c),void Oe()}(function(e,t,n){if(e-R>50){var i=rt.length>2?rt.shift():{};i.x=t,i.y=n,rt.push(i),R=e}})(Te(),Qe.x,Qe.y),X=!0,ee=a.currItem.bounds,Tt("x",et)||(Tt("y",et),Ie(de),Oe())}}},$t=function(e){if(N.isOldAndroid){if(U&&"mouseup"===e.type)return;e.type.indexOf("touch")>-1&&(clearTimeout(U),U=setTimeout(function(){U=0},600))}var t;if(_e("pointerUp"),yt(e,!1)&&e.preventDefault(),$){var n=o.arraySearch(it,e.pointerId,"id");n>-1&&(t=it.splice(n,1)[0],navigator.pointerEnabled?t.type=e.pointerType||"mouse":(t.type={4:"mouse",2:"touch",3:"pen"}[e.pointerType],t.type||(t.type=e.pointerType||"mouse")))}var i,r=_t(e),l=r.length;if("mouseup"===e.type&&(l=0),2===l)return K=null,!0;1===l&&De(nt,r[0]),0!==l||ie||ne||(t||("mouseup"===e.type?t={x:e.pageX,y:e.pageY,type:"mouse"}:e.changedTouches&&e.changedTouches[0]&&(t={x:e.changedTouches[0].pageX,y:e.changedTouches[0].pageY,type:"touch"})),_e("touchRelease",e,t));var c=-1;if(0===l&&(W=!1,o.unbind(window,h,a),ht(),Q?c=0:-1!==ct&&(c=Te()-ct)),ct=1===l?Te():-1,i=-1!==c&&150>c?"zoom":"swipe",Q&&2>l&&(Q=!1,1===l&&(i="zoomPointerUp"),_e("zoomGestureEnded")),K=null,X||Y||ne||B)if(Ze(),q||(q=Lt()),q.calculateSwipeSpeed("x"),B)if(xt()<s.verticalDragRange)a.close();else{var u=de.y,d=ae;Ge("verticalDrag",0,1,300,o.easing.cubic.out,function(e){de.y=(a.currItem.initialPosition.y-u)*e+u,Ee((1-d)*e+d),Oe()}),_e("onVerticalDrag",1)}else{if((G||ne)&&0===l){if(zt(i,q))return;i="zoomPointerUp"}if(!ne)return"swipe"!==i?void It():void(!G&&g>a.currItem.fitRatio&&Pt(q))}},Lt=function(){var e,t,n={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{}
2,backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(i){rt.length>1?(e=Te()-R+50,t=rt[rt.length-2][i]):(e=Te()-H,t=nt[i]),n.lastFlickOffset[i]=tt[i]-t,n.lastFlickDist[i]=Math.abs(n.lastFlickOffset[i]),n.lastFlickDist[i]>20?n.lastFlickSpeed[i]=n.lastFlickOffset[i]/e:n.lastFlickSpeed[i]=0,Math.abs(n.lastFlickSpeed[i])<.1&&(n.lastFlickSpeed[i]=0),n.slowDownRatio[i]=.95,n.slowDownRatioReverse[i]=1-n.slowDownRatio[i],n.speedDecelerationRatio[i]=1},calculateOverBoundsAnimOffset:function(e,t){n.backAnimStarted[e]||(de[e]>ee.min[e]?n.backAnimDestination[e]=ee.min[e]:de[e]<ee.max[e]&&(n.backAnimDestination[e]=ee.max[e]),void 0!==n.backAnimDestination[e]&&(n.slowDownRatio[e]=.7,n.slowDownRatioReverse[e]=1-n.slowDownRatio[e],n.speedDecelerationRatioAbs[e]<.05&&(n.lastFlickSpeed[e]=0,n.backAnimStarted[e]=!0,Ge("bounceZoomPan"+e,de[e],n.backAnimDestination[e],t||300,o.easing.sine.out,function(t){de[e]=t,Oe()}))))},calculateAnimOffset:function(e){n.backAnimStarted[e]||(n.speedDecelerationRatio[e]=n.speedDecelerationRatio[e]*(n.slowDownRatio[e]+n.slowDownRatioReverse[e]-n.slowDownRatioReverse[e]*n.timeDiff/10),n.speedDecelerationRatioAbs[e]=Math.abs(n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]),n.distanceOffset[e]=n.lastFlickSpeed[e]*n.speedDecelerationRatio[e]*n.timeDiff,de[e]+=n.distanceOffset[e])},panAnimLoop:function(){return We.zoomPan&&(We.zoomPan.raf=P(n.panAnimLoop),n.now=Te(),n.timeDiff=n.now-n.lastNow,n.lastNow=n.now,n.calculateAnimOffset("x"),n.calculateAnimOffset("y"),Oe(),n.calculateOverBoundsAnimOffset("x"),n.calculateOverBoundsAnimOffset("y"),n.speedDecelerationRatioAbs.x<.05&&n.speedDecelerationRatioAbs.y<.05)?(de.x=Math.round(de.x),de.y=Math.round(de.y),Oe(),void Ye("zoomPan")):void 0}};return n},Pt=function(e){return e.calculateSwipeSpeed("y"),ee=a.currItem.bounds,e.backAnimDestination={},e.backAnimStarted={},Math.abs(e.lastFlickSpeed.x)<=.05&&Math.abs(e.lastFlickSpeed.y)<=.05?(e.speedDecelerationRatioAbs.x=e.speedDecelerationRatioAbs.y=0,e.calculateOverBoundsAnimOffset("x"),e.calculateOverBoundsAnimOffset("y"),!0):(Xe("zoomPan"),e.lastNow=Te(),void e.panAnimLoop())},zt=function(e,t){var n,i,r;if(ne||(st=d),"swipe"===e){var l=tt.x-nt.x,c=t.lastFlickDist.x<10;l>30&&(c||t.lastFlickOffset.x>20)?i=-1:-30>l&&(c||t.lastFlickOffset.x<-20)&&(i=1)}i&&(0>(d+=i)?(d=s.loop?qt()-1:0,r=!0):d>=qt()&&(d=s.loop?0:qt()-1,r=!0),(!r||s.loop)&&(ve+=i,fe-=i,n=!0));var u,p=me.x*fe,f=Math.abs(p-ut.x);return n||p>ut.x==t.lastFlickSpeed.x>0?(u=Math.abs(t.lastFlickSpeed.x)>0?f/Math.abs(t.lastFlickSpeed.x):333,u=Math.min(u,400),u=Math.max(u,250)):u=333,st===d&&(n=!1),ne=!0,_e("mainScrollAnimStart"),Ge("mainScroll",ut.x,p,u,o.easing.cubic.out,Pe,function(){Ze(),ne=!1,st=-1,(n||st!==d)&&a.updateCurrItem(),_e("mainScrollAnimComplete")}),n&&a.updateCurrItem(!0),n},Dt=function(e){return 1/J*e*y},It=function(){var e=g,t=He(),n=Re();t>g?e=t:g>n&&(e=n);var i,r=ae;return re&&!F&&!se&&t>g?(a.close(),!0):(re&&(i=function(e){Ee((1-r)*e+r)}),a.zoomTo(e,0,200,o.easing.cubic.out,i),!0)};xe("Gestures",{publicMethods:{initGestures:function(){var e=function(e,t,n,i,o){_=e+t,T=e+n,E=e+i,A=o?e+o:""};($=N.pointerEvent)&&N.touch&&(N.touch=!1),$?navigator.pointerEnabled?e("pointer","down","move","up","cancel"):e("MSPointer","Down","Move","Up","Cancel"):N.touch?(e("touch","start","move","end","cancel"),L=!0):e("mouse","down","move","up"),h=T+" "+E+" "+A,m=_,$&&!L&&(L=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),a.likelyTouchDevice=L,v[_]=Et,v[T]=At,v[E]=$t,A&&(v[A]=v[E]),N.touch&&(m+=" mousedown",h+=" mousemove mouseup",v.mousedown=v[_],v.mousemove=v[T],v.mouseup=v[E]),L||(s.allowPanToNext=!1)}}});var jt,Mt,Nt,Ht,Rt,qt,Ft=function(t,n,i,r){var l;jt&&clearTimeout(jt),Ht=!0,Nt=!0,t.initialLayout?(l=t.initialLayout,t.initialLayout=null):l=s.getThumbBoundsFn&&s.getThumbBoundsFn(d);var c=i?s.hideAnimationDuration:s.showAnimationDuration,p=function(){Ye("initialZoom"),i?(a.template.removeAttribute("style"),a.bg.removeAttribute("style")):(Ee(1),n&&(n.style.display="block"),o.addClass(e,"pswp--animated-in"),_e("initialZoom"+(i?"OutEnd":"InEnd"))),r&&r(),Ht=!1};if(!c||!l||void 0===l.x)return _e("initialZoom"+(i?"Out":"In")),g=t.initialZoomLevel,De(de,t.initialPosition),Oe(),e.style.opacity=i?0:1,Ee(1),void(c?setTimeout(function(){p()},c):p());!function(){var n=u,r=!a.currItem.src||a.currItem.loadError||s.showHideOpacity;t.miniImg&&(t.miniImg.style.webkitBackfaceVisibility="hidden"),i||(g=l.w/t.w,de.x=l.x,de.y=l.y-I,a[r?"template":"bg"].style.opacity=.001,Oe()),Xe("initialZoom"),i&&
2!n&&o.removeClass(e,"pswp--animated-in"),r&&(i?o[(n?"remove":"add")+"Class"](e,"pswp--animate_opacity"):setTimeout(function(){o.addClass(e,"pswp--animate_opacity")},30)),jt=setTimeout(function(){if(_e("initialZoom"+(i?"Out":"In")),i){var a=l.w/t.w,s={x:de.x,y:de.y},u=g,d=ae,f=function(t){1===t?(g=a,de.x=l.x,de.y=l.y-M):(g=(a-u)*t+u,de.x=(l.x-s.x)*t+s.x,de.y=(l.y-M-s.y)*t+s.y),Oe(),r?e.style.opacity=1-t:Ee(d-t*d)};n?Ge("initialZoom",0,1,c,o.easing.cubic.out,f,p):(f(1),jt=setTimeout(p,c+20))}else g=t.initialZoomLevel,De(de,t.initialPosition),Oe(),Ee(1),r?e.style.opacity=1:Ee(1),jt=setTimeout(p,c+20)},i?25:90)}()},Bt={},Ut=[],Wt={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Mt.length}},Vt=function(e,t,n){if(e.src&&!e.loadError){var i=!n;if(i&&(e.vGap||(e.vGap={top:0,bottom:0}),_e("parseVerticalMargin",e)),Bt.x=t.x,Bt.y=t.y-e.vGap.top-e.vGap.bottom,i){var o=Bt.x/e.w,r=Bt.y/e.h;e.fitRatio=r>o?o:r;var a=s.scaleMode;"orig"===a?n=1:"fit"===a&&(n=e.fitRatio),n>1&&(n=1),e.initialZoomLevel=n,e.bounds||(e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!n)return;return function(e,t,n){var i=e.bounds;i.center.x=Math.round((Bt.x-t)/2),i.center.y=Math.round((Bt.y-n)/2)+e.vGap.top,i.max.x=t>Bt.x?Math.round(Bt.x-t):i.center.x,i.max.y=n>Bt.y?Math.round(Bt.y-n)+e.vGap.top:i.center.y,i.min.x=t>Bt.x?0:i.center.x,i.min.y=n>Bt.y?e.vGap.top:i.center.y}(e,e.w*n,e.h*n),i&&n===e.initialZoomLevel&&(e.initialPosition=e.bounds.center),e.bounds}return e.w=e.h=0,e.initialZoomLevel=e.fitRatio=1,e.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},e.initialPosition=e.bounds.center,e.bounds},Yt=function(e,t,n,i,o,r){t.loadError||i&&(t.imageAppended=!0,Gt(t,i,t===a.currItem&&we),n.appendChild(i),r&&setTimeout(function(){t&&t.loaded&&t.placeholder&&(t.placeholder.style.display="none",t.placeholder=null)},500))},Xt=function(e){e.loading=!0,e.loaded=!1;var t=e.img=o.createEl("pswp__img","img"),n=function(){e.loading=!1,e.loaded=!0,e.loadComplete?e.loadComplete(e):e.img=null,t.onload=t.onerror=null,t=null};return t.onload=n,t.onerror=function(){e.loadError=!0,n()},t.src=e.src,t},Zt=function(e,t){return e.src&&e.loadError&&e.container?(t&&(e.container.innerHTML=""),e.container.innerHTML=s.errorMsg.replace("%url%",e.
2src),!0):void 0},Gt=function(e,t,n){if(e.src){t||(t=e.container.lastChild);var i=n?e.w:Math.round(e.w*e.fitRatio),o=n?e.h:Math.round(e.h*e.fitRatio);e.placeholder&&!e.loaded&&(e.placeholder.style.width=i+"px",e.placeholder.style.height=o+"px"),t.style.width=i+"px",t.style.height=o+"px"}},Kt=function(){if(Ut.length){for(var e,t=0;t<Ut.length;t++)(e=Ut[t]).holder.index===e.index&&Yt(e.index,e.item,e.baseDiv,e.img,0,e.clearPlaceholder);Ut=[]}};xe("Controller",{publicMethods:{lazyLoadItem:function(e){e=ke(e);var t=Rt(e);t&&(!t.loaded&&!t.loading||k)&&(_e("gettingData",e,t),t.src&&Xt(t))},initController:function(){o.extend(s,Wt,!0),a.items=Mt=n,Rt=a.getItemAt,qt=s.getNumItemsFn,s.loop,qt()<3&&(s.loop=!1),Ce("beforeChange",function(e){var t,n=s.preload,i=null===e||e>=0,o=Math.min(n[0],qt()),r=Math.min(n[1],qt());for(t=1;(i?r:o)>=t;t++)a.lazyLoadItem(d+t);for(t=1;(i?o:r)>=t;t++)a.lazyLoadItem(d-t)}),Ce("initialLayout",function(){a.currItem.initialLayout=s.getThumbBoundsFn&&s.getThumbBoundsFn(d)}),Ce("mainScrollAnimComplete",Kt),Ce("initialZoomInEnd",Kt),Ce("destroy",function(){for(var e,t=0;t<Mt.length;t++)(e=Mt[t]).container&&(e.container=null),e.placeholder&&(e.placeholder=null),e.img&&(e.img=null),e.preloader&&(e.preloader=null),e.loadError&&(e.loaded=e.loadError=!1);Ut=null})},getItemAt:function(e){return e>=0&&void 0!==Mt[e]&&Mt[e]},allowProgressiveImg:function(){return s.forceProgressiveLoading||!L||s.mouseUsed||screen.width>1200},setContent:function(e,t){s.loop&&(t=ke(t));var n=a.getItemAt(e.index);n&&(n.container=null);var i,r=a.getItemAt(t);if(r){_e("gettingData",t,r),e.index=t,e.item=r;var c=r.container=o.createEl("pswp__zoom-wrap");if(!r.src&&r.html&&(r.html.tagName?c.appendChild(r.html):c.innerHTML=r.html),Zt(r),Vt(r,pe),!r.src||r.loadError||r.loaded)r.src&&!r.loadError&&((i=o.createEl("pswp__img","img")).style.opacity=1,i.src=r.src,Gt(r,i),Yt(0,r,c,i));else{if(r.loadComplete=function(n){if(l){if(e&&e.index===t){if(Zt(n,!0))return n.loadComplete=n.img=null,Vt(n,pe),$e(n),void(e.index===d&&a.updateCurrZoomItem());n.imageAppended?!Ht&&n.placeholder&&(n.placeholder.style.display="none",n.placeholder=null):N.transform&&(ne||Ht)?Ut.push({item:n,baseDiv:c,img:n.img,index:t,holder:e,clearPlaceholder:!0}):Yt(0,n,c,n.img,0,!0)}n.loadComplete=null,n.img=null,_e("imageLoadComplete",t,n)}},o.features.transform){var u="pswp__img pswp__img--placeholder";u+=r.msrc?"":" pswp__img--placeholder--blank";var p=o.createEl(u,r.msrc?"img":"");
2r.msrc&&(p.src=r.msrc),Gt(r,p),c.appendChild(p),r.placeholder=p}r.loading||Xt(r),a.allowProgressiveImg()&&(!Nt&&N.transform?Ut.push({item:r,baseDiv:c,img:r.img,index:t,holder:e}):Yt(0,r,c,r.img,0,!0))}Nt||t!==d?$e(r):(te=c.style,Ft(r,i||r.img)),e.el.innerHTML="",e.el.appendChild(c)}else e.el.innerHTML=""},cleanSlide:function(e){e.img&&(e.img.onload=e.img.onerror=null),e.loaded=e.loading=e.img=e.imageAppended=!1}}});var Qt,Jt,en={},tn=function(e,t,n){var i=document.createEvent("CustomEvent"),o={origEvent:e,target:e.target,releasePoint:t,pointerType:n||"touch"};i.initCustomEvent("pswpTap",!0,!0,o),e.target.dispatchEvent(i)};xe("Tap",{publicMethods:{initTap:function(){Ce("firstTouchStart",a.onTapStart),Ce("touchRelease",a.onTapRelease),Ce("destroy",function(){en={},Qt=null})},onTapStart:function(e){e.length>1&&(clearTimeout(Qt),Qt=null)},onTapRelease:function(e,t){if(t&&!X&&!V&&!Ve){var n=t;if(Qt&&(clearTimeout(Qt),Qt=null,function(e,t){return Math.abs(e.x-t.x)<25&&Math.abs(e.y-t.y)<25}(n,en)))return void _e("doubleTap",n);if("mouse"===t.type)return void tn(e,t,"mouse");if("BUTTON"===e.target.tagName.toUpperCase()||o.hasClass(e.target,"pswp__single-tap"))return void tn(e,t);De(en,n),Qt=setTimeout(function(){tn(e,t),Qt=null},300)}}}}),xe("DesktopZoom",{publicMethods:{initDesktopZoom:function(){j||(L?Ce("mouseUsed",function(){a.setupDesktopZoom()}):a.setupDesktopZoom(!0))},setupDesktopZoom:function(t){Jt={};var n="wheel mousewheel DOMMouseScroll";Ce("bindEvents",function(){o.bind(e,n,a.handleMouseWheel)}),Ce("unbindEvents",function(){Jt&&o.unbind(e,n,a.handleMouseWheel)}),a.mouseZoomedIn=!1;var i,r=function(){a.mouseZoomedIn&&(o.removeClass(e,"pswp--zoomed-in"),a.mouseZoomedIn=!1),1>g?o.addClass(e,"pswp--zoom-allowed"):o.removeClass(e,"pswp--zoom-allowed"),s()},s=function(){i&&(o.removeClass(e,"pswp--dragging"),i=!1)};Ce("resize",r),Ce("afterChange",r),Ce("pointerDown",function(){a.mouseZoomedIn&&(i=!0,o.addClass(e,"pswp--dragging"))}),Ce("pointerUp",s),t||r()},handleMouseWheel:function(e){if(g<=a.currItem.fitRatio)return s.modal&&(!s.closeOnScroll||Ve||W?e.preventDefault():O&&Math.abs(e.deltaY)>2&&(u=!0,a.close())),!0;if(e.stopPropagation(),Jt.x=0,"deltaX"in e)1===e.deltaMode?(Jt.x=18*e.deltaX,Jt.y=18*e.deltaY):(Jt.x=e.deltaX,Jt.y=e.deltaY);else if("wheelDelta"in e)e.wheelDeltaX&&(Jt.x=-.16*e.wheelDeltaX),e.wheelDeltaY?Jt.y=-.16*e.wheelDeltaY:Jt.y=-.16*e.wheelDelta;else{if(!("detail"in e))return;Jt.y=e.detail}Ne(g,!0);var t=de.x-Jt.x,n=de.y-Jt.y;(s.modal||t<=ee.min.x&&t>=ee.max.x&&n<=ee.min.y&&n>=ee.max.y)&&e.preventDefault(),a.panTo(t,n)},toggleDesktopZoom:function(t){t=t||{x:pe.x/2+he.x,y:pe.y/2+he.y};var n=s.getDoubleTapZoom(!0,a.currItem),i=g===n;a.mouseZoomedIn=!i,a.zoomTo(i?a.currItem.initialZoomLevel:n,t,333),o[(i?"remove":"add")+"Class"](e,"pswp--zoomed-in")}}});var nn,on,rn,an,sn,ln,cn,un,dn,pn,fn,hn,mn={history:!0,galleryUID:1},vn=function(){return fn.hash.substring(1)},gn=function(){nn&&clearTimeout(nn),rn&&clearTimeout(rn)},yn=function(){var e=vn(),t={};if(e.length<5)return t;var n,i=e.split("&");for(n=0;n<i.length;n++)if(i[n]){var o=i[n].split("=");o.length<2||(t[o[0]]=o[1])}if(s.galleryPIDs){var r=t.pid;for(t.pid=0,n=0;n<Mt.length;n++)if(Mt[n].pid===r){t.pid=n;break}}else t.pid=parseInt(t.pid,10)-1;return t.pid<0&&(t.pid=0),t},bn=function(){if(rn&&clearTimeout(rn),Ve||W)rn=setTimeout(bn,500);else{an?clearTimeout(on):an=!0;var e=d+1,t=Rt(d);t.hasOwnProperty("pid")&&(e=t.pid);var n=cn+"&gid="+s.galleryUID+"&pid="+e;un||-1===fn.hash.indexOf(n)&&(pn=!0);var i=fn.href.split("#")[0]+"#"+n;hn?"#"+n!==window.location.hash&&history[un?"replaceState":"pushState"]("",document.title,i):un?fn.replace(i):fn.hash=n,un=!0,on=setTimeout(function(){an=!1},60)}};xe("History",{publicMethods:{initHistory:function(){if(o.extend(s,mn,!0),s.history){fn=window.location,pn=!1,dn=!1,un=!1,cn=vn(),hn="pushState"in history,cn.indexOf("gid=")>-1&&(cn=(cn=cn.split("&gid=")[0]).split("?gid=")[0]),Ce("afterChange",a.updateURL),Ce("unbindEvents",function(){o.unbind(window,"hashchange",a.onHashChange)});var e=function(){ln=!0,dn||(pn?history.back():cn?fn.hash=cn:hn?history.pushState("",document.title,fn.pathname+fn.search):fn.hash=""),gn()};Ce("unbindEvents",function(){u&&e()}),Ce("destroy",function(){ln||e()}),Ce("firstUpdate",function(){d=yn().pid});var t=cn.indexOf("pid=");t>-1&&"&"===(cn=cn.substring(0,t)).slice(-1)&&(cn=cn.slice(0,-1)),setTimeout(function(){l&&o.bind(window,"hashchange",a.onHashChange)},40)}},onHashChange:function(){return vn()===cn?(dn=!0,void a.close()):void(an||(sn=!0,a.goTo(yn().pid),sn=!1))},updateURL:function(){gn(),sn||(un?nn=setTimeout(bn,800):bn())}}}),o.extend(a,Ke)}},void 0===(o=i.call(t,n,t,e))||(e.exports=o)},817:function(){document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll(".is-component-closable");e&&e.forEach(function(e){var t=e.id,n=e.dataset.componentClosableDuration||6048e5,i=localStorage.getItem("componentClosedTimestamp_ICAEW-"+t);i&&(new Date).getTime()-parseInt(i,10)<n&&(e.style.display="none"),e.querySelector(".u-component-closable").addEventListener("click",function(){var n=e.offsetHeight+"px";e.style.height=n,e.classList.add("is-component-closable--closed"),setTimeout(function(){e.style.height="0px"},25),localStorage.setItem("componentClosedTimestamp_ICAEW-"+t,(new Date).getTime())})})})},858:function(e,t,n){"use strict";var i;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}n(926),e=n.hmd(e),i=function(e){var t=window.Slick||{};(t=function(){var t=0;return function(n,i){var o,r=this;r.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:e(n),appendDots:e(n),arrows:!0,asNavFor:null,prevArrow:'<button class="slick-prev" aria-label="Previous" type="button">Previous</button>',nextArrow:'<button class="slick-next" aria-label="Next" type="button">Next</button>',autoplay:!1,autoplaySpeed:3e3,centerMode:!1,centerPadding:"50px",cssEase:"ease",customPaging:function(t,n){return e('<button type="button" />').text(n+1)},dots:!1,dotsClass:"slick-dots",draggable:!0,easing:"linear",edgeFriction:.35,fade:!1,focusOnSelect:!1,focusOnChange:!1,infinite:!0,initialSlide:0,lazyLoad:"ondemand",mobileFirst:!1,pauseOnHover:!0,pauseOnFocus:!0,pauseOnDotsHover:!1,respondTo:"window",responsive:null,rows:1,rtl:!1,slide:"",slidesPerRow:1,slidesToShow:1,slidesToScroll:1,speed:500,swipe:!0,swipeToSlide:!1,touchMove:!0,touchThreshold:5,useCSS:!0,useTransform:!0,variableWidth:!1,vertical:!1,verticalSwiping:!1,waitForAnimate:!0,zIndex:1e3},r.initials={animating:!1,dragging:!1,autoPlayTimer:null,currentDirection:0,currentLeft:null,currentSlide:0,direction:1,$dots:null,listWidth:null,listHeight:null,loadIndex:0,$nextArrow:null,$prevArrow:null,scrolling:!1,slideCount:null,slideWidth:null,$slideTrack:null,$slides:null,
vendor: 8,531 bytes, line 2
2sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},e.extend(r,r.initials),r.activeBreakpoint=null,r.animType=null,r.animProp=null,r.breakpoints=[],r.breakpointSettings=[],r.cssTransitions=!1,r.focussed=!1,r.interrupted=!1,r.hidden="hidden",r.paused=!0,r.positionProp=null,r.respondTo=null,r.rowCount=1,r.shouldClick=!0,r.$slider=e(n),r.$slidesCache=null,r.transformType=null,r.transitionType=null,r.visibilityChange="visibilitychange",r.windowWidth=0,r.windowTimer=null,o=e(n).data("slick")||{},r.options=e.extend({},r.defaults,i,o),r.currentSlide=r.options.initialSlide,r.originalSettings=r.options,void 0!==document.mozHidden?(r.hidden="mozHidden",r.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(r.hidden="webkitHidden",r.visibilityChange="webkitvisibilitychange"),r.autoPlay=e.proxy(r.autoPlay,r),r.autoPlayClear=e.proxy(r.autoPlayClear,r),r.autoPlayIterator=e.proxy(r.autoPlayIterator,r),r.changeSlide=e.proxy(r.changeSlide,r),r.clickHandler=e.proxy(r.clickHandler,r),r.selectHandler=e.proxy(r.selectHandler,r),r.setPosition=e.proxy(r.setPosition,r),r.swipeHandler=e.proxy(r.swipeHandler,r),r.dragHandler=e.proxy(r.dragHandler,r),r.keyHandler=e.proxy(r.keyHandler,r),r.instanceUid=t++,r.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,r.registerBreakpoints(),r.init(!0)}}()).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},t.prototype.addSlide=t.prototype.slickAdd=function(t,n,i){var o=this;if("boolean"==typeof n)i=n,n=null;else if(n<0||n>=o.slideCount)return!1;o.unload(),"number"==typeof n?0===n&&0===o.$slides.length?e(t).appendTo(o.$slideTrack):i?e(t).insertBefore(o.$slides.eq(n)):e(t).insertAfter(o.$slides.eq(n)):!0===i?e(t).prependTo(o.$slideTrack):e(t).appendTo(o.$slideTrack),o.$slides=o.$slideTrack.children(this.options.slide),o.$slideTrack.children(this.options.slide).detach(),o.$slideTrack.append(o.$slides),o.$slides.each(function(t,n){e(n).attr("data-slick-index",t)}),o.$slidesCache=o.$slides,o.reinit()},t.prototype.animateHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.animate({height:t},e.options.speed)}},t.prototype.animateSlide=function(t,n){var i={},o=this;o.animateHeight(),!0===o.options.rtl&&!1===o.options.vertical&&(t=-t),!1===o.transformsEnabled?!1===o.options.vertical?o.$slideTrack.animate({left:t},o.options.speed,o.options.easing,n):o.$slideTrack.animate({top:t},o.options.speed,o.options.easing,n):!1===o.cssTransitions?(!0===o.options.rtl&&(o.currentLeft=-o.currentLeft),e({animStart:o.currentLeft}).animate({animStart:t},{duration:o.options.speed,easing:o.options.easing,step:function(e){e=Math.ceil(e),!1===o.options.vertical?(i[o.animType]="translate("+e+"px, 0px)",o.$slideTrack.css(i)):(i[o.animType]="translate(0px,"+e+"px)",o.$slideTrack.css(i))},complete:function(){n&&n.call()}})):(o.applyTransition(),t=Math.ceil(t),!1===o.options.vertical?i[o.animType]="translate3d("+t+"px, 0px, 0px)":i[o.animType]="translate3d(0px,"+t+"px, 0px)",o.$slideTrack.css(i),n&&setTimeout(function(){o.disableTransition(),n.call()},o.options.speed))},t.prototype.getNavTarget=function(){var t=this.options.asNavFor;return t&&null!==t&&(t=e(t).not(this.$slider)),t},t.prototype.asNavFor=function(t){var n=this.getNavTarget();null!==n&&"object"==o(n)&&n.each(function(){var n=e(this).slick("getSlick");n.unslicked||n.slideHandler(t,!0)})},t.prototype.applyTransition=function(e){var t=this,n={};!1===t.options.fade?n[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:n[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},t.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},t.prototype.autoPlayIterator=function(){var e=this,t=e.currentSlide+e.options.slidesToScroll;e.paused||e.interrupted||e.focussed||(!1===e.options.infinite&&(1===e.direction&&e.currentSlide+1===e.slideCount-1?e.direction=0:0===e.direction&&(t=e.currentSlide-e.options.slidesToScroll,e.currentSlide-1==0&&(e.direction=1))),e.slideHandler(t))},t.prototype.buildArrows=function(){var t=this;!0===t.options.arrows&&(t.$prevArrow=e(t.options.prevArrow).addClass("slick-arrow"),t.$nextArrow=e(t.options.nextArrow).addClass("slick-arrow"),t.slideCount>t.options.slidesToShow?(t.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.prependTo(t.options.appendArrows),t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.appendTo(t.options.appendArrows),!0!==t.options.infinite&&t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):t.$prevArrow.add(t.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},t.prototype.buildDots=function(){var t,n,i=this;if(!0===i.options.dots){for(i.$slider.addClass("slick-dotted"),n=e("<ul />").addClass(i.options.dotsClass),t=0;t<=i.getDotCount();t+=1)n.append(e("<li />").append(i.options.customPaging.call(this,i,t)));i.$dots=n.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},t.prototype.buildOut=function(){var t=this;t.$slides=t.$slider.children(t.options.slide+":not(.slick-cloned)").addClass("slick-slide"),t.slideCount=t.$slides.length,t.$slides.each(function(t,n){e(n).attr("data-slick-index",t).data("originalStyling",e(n).attr("style")||"")}),t.$slider.addClass("slick-slider"),t.$slideTrack=0===t.slideCount?e('<div class="slick-track"/>').appendTo(t.$slider):t.$slides.wrapAll('<div class="slick-track"/>').parent(),t.$list=t.$slideTrack.wrap('<div class="slick-list"/>').parent(),t.$slideTrack.css("opacity",0),!0!==t.options.centerMode&&!0!==t.options.swipeToSlide||(t.options.slidesToScroll=1),e("img[data-lazy]",t.$slider).not("[src]").addClass("slick-loading"),t.setupInfinite(),t.buildArrows(),t.buildDots(),t.updateDots(),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),!0===t.options.draggable&&t.$list.addClass("draggable")},t.prototype.buildRows=function(){var e,t,n,i,o,r,a,s=this;if(i=document.createDocumentFragment(),r=s.$slider.children(),s.options.rows>1){for(a=s.options.slidesPerRow*s.options.rows,o=Math.ceil(r.length/a),e=0;e<o;e++){var l=document.createElement("div");for(t=0;t<s.options.rows;t++){var c=document.createElement("div");for(n=0;n<s.options.slidesPerRow;n++){var u=e*a+(t*s.options.slidesPerRow+n);r.get(u)&&c.appendChild(r.get(u))}l.appendChild(c)}i.appendChild(l)}s.$slider.empty().append(i),s.$slider.children().children().children().css({width:100/s.options.slidesPerRow+"%",display:"inline-block"})}},t.prototype.checkResponsive=function(t,n){var i,o,r,a=this,s=!1,l=a.$slider.width(),c=window.innerWidth||e(window).width();if("window"===a.respondTo?r=c:"slider"===a.respondTo?r=l:"min"===a.respondTo&&(r=Math.min(c,l)),a.options.responsive&&a.options.responsive.length&&null!==a.options.responsive){for(i in o=null,a.breakpoints)a.breakpoints.hasOwnProperty(i)&&(!1===a.originalSettings.mobileFirst?r<a.breakpoints[i]&&(o=a.breakpoints[i]):r>a.breakpoints[i]&&(o=a.breakpoints[i]));null!==o?null!==a.activeBreakpoint?(o!==a.activeBreakpoint||n)&&(a.activeBreakpoint=o,"unslick"===a.breakpointSettings[o]?a.unslick(o):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[o]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=o):(a.activeBreakpoint=o,"unslick"===a.breakpointSettings[o]?a.unslick(o):(a.options=e.extend({},a.originalSettings,a.breakpointSettings[o]),!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t)),s=o):null!==a.activeBreakpoint&&(a.activeBreakpoint=null,a.options=a.originalSettings,!0===t&&(a.currentSlide=a.options.initialSlide),a.refresh(t),s=o),t||!1===s||a.$slider.trigger("breakpoint",[a,s])}},t.prototype.changeSlide=function(t,n){var i,o,r=this,a=e(t.currentTarget);switch(a.is("a")&&t.preventDefault(),a.is("li")||(a=a.closest("li")),i=r.slideCount%r.options.slidesToScroll!=0?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,t.data.message){case"previous":o=0===i?r.options.slidesToScroll:r.o
2ptions.slidesToShow-i,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-o,!1,n);break;case"next":o=0===i?r.options.slidesToScroll:i,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+o,!1,n);break;case"index":var s=0===t.data.index?0:t.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(s),!1,n),a.children().trigger("focus");break;default:return}},t.prototype.checkNavigable=function(e){var t,n;if(n=0,e>(t=this.getNavigableIndexes())[t.length-1])e=t[t.length-1];else for(var i in t){if(e<t[i]){e=n;break}n=t[i]}return e},t.prototype.cleanUpEvents=function(){var t=this;t.options.dots&&null!==t.$dots&&(e("li",t.$dots).off("click.slick",t.changeSlide).off("mouseenter.slick",e.proxy(t.interrupt,t,!0)).off("mouseleave.slick",e.proxy(t.interrupt,t,!1)),!0===t.options.accessibility&&t.$dots.off("keydown.slick",t.keyHandler)),t.$slider.off("focus.slick blur.slick"),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow&&t.$prevArrow.off("click.slick",t.changeSlide),t.$nextArrow&&t.$nextArrow.off("click.slick",t.changeSlide),!0===t.options.accessibility&&(t.$prevArrow&&t.$prevArrow.off("keydown.slick",t.keyHandler),t.$nextArrow&&t.$nextArrow.off("keydown.slick",t.keyHandler))),t.$list.off("touchstart.slick mousedown.slick",t.swipeHandler),t.$list.off("touchmove.slick mousemove.slick",t.swipeHandler),t.$list.off("touchend.slick mouseup.slick",t.swipeHandler),t.$list.off("touchcancel.slick mouseleave.
2slick",t.swipeHandler),t.$list.off("click.slick",t.clickHandler),e(document).off(t.visibilityChange,t.visibility),t.cleanUpSlideEvents(),!0===t.options.accessibility&&t.$list.off("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().off("click.slick",t.selectHandler),e(window).off("orientationchange.slick.slick-"+t.instanceUid,t.orientationChange),e(window).off("resize.slick.slick-"+t.instanceUid,t.resize),e("[draggable!=true]",t.$slideTrack).off("dragstart",t.preventDefault),e(window).off("load.slick.slick-"+t.instanceUid,t.setPosition)},t.prototype.cleanUpSlideEvents=function(){var t=this;t.$list.off("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.off("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.cleanUpRows=function(){var e,t=this;t.options.rows>1&&((e=t.$slides.children().children()).removeAttr("style"),t.$slider.empty().append(e))},t.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},t.prototype.destroy=function(t){var n=this;n.autoPlayClear(),n.touchObject={},n.cleanUpEvents(),e(".slick-cloned",n.$slider).detach(),n.$dots&&n.$dots.remove(),n.$prevArrow&&n.$prevArrow.length&&(n.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.prevArrow)&&n.$prevArrow.remove()),n.$nextArrow&&n.$nextArrow.length&&(n.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),n.htmlExpr.test(n.options.nextArrow)&&n.$nextArrow.remove()),n.$slides&&(n.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){e(this).attr("style",e(this).data("originalStyling"))}),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.detach(),n.$list.detach(),n.$slider.append(n.$slides)),n.cleanUpRows(),n.$slider.removeClass("slick-slider"),n.$slider.removeClass("slick-initialized"),n.$slider.removeClass("slick-dotted"),n.unslicked=!0,t||n.$slider.trigger("destroy",[n])},t.prototype.disableTransition=function(e){var t=this,n={};n[t.transitionType]="",!1===t.options.fade?t.$slideTrack.css(n):t.$slides.eq(e).css(n)},t.prototype.fadeSlide=function(e,t){var n=this;!1===n.cssTransitions?(n.$slides.eq(e).css({zIndex:n.options.zIndex}),n.$slides.eq(e).animate({opacity:1},n.options.speed,n.options.easing,t)):(n.applyTransition(e),n.$slides.eq(e).css({opacity:1,zIndex:n.options.zIndex}),t&&setTimeout(function(){n.disableTransition(e),t.call()},n.options.speed))},t.prototype.fadeSlideOut=function(e){var t=this;!1===t.cssTransitions?t.$slides.eq(e).animate({opacity:0,zIndex:t.options.zIndex-2},t.options.speed,t.options.easing):(t.applyTransition(e),t.$slides.eq(e).css({opacity:0,zIndex:t.options.zIndex-2}))},t.prototype.filterSlides=t.prototype.slickFilter=function(e){var t=this;null!==e&&(t.$slidesCache=t.$slides,t.unload(),t.$slideTrack.children(this.options.slide).detach(),t.$slidesCache.filter(e).appendTo(t.$slideTrack),t.reinit())},t.prototype.focusHandler=function(){var t=this;t.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(n){n.stopImmediatePropagation();var i=e(this);setTimeout(function(){t.options.pauseOnFocus&&(t.focussed=i.is(":focus"),t.autoPlay())},0)})},t.prototype.getCurrent=t.prototype.slickCurrentSlide=function(){return this.currentSlide},t.prototype.getDotCount=function(){var e=this,t=0,n=0,i=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++i;else for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)i=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++i,t=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else i=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return i-1},t.prototype.getLeft=function(e){var t,n,i,o,r=this,a=0;return r.slideOffset=0,n=r.$slides.first().outerHeight(!0),!0===r.options.infinite?(r.slideCount>r.options.slidesToShow&&(r.slideOffset=r.slideWidth*r.options.slidesToShow*-1,o=-1,!0===r.options.vertical&&!0===r.options.centerMode&&(2===r.options.slidesToShow?o=-1.5:1===r.options.slidesToShow&&(o=-2)),a=n*r.options.slidesToShow*o),r.slideCount%r.options.slidesToScroll!=0&&e+r.options.slidesToScroll>r.slideCount&&r.slideCount>r.options.slidesToShow&&(e>r.slideCount?(r.slideOffset=(r.options.slidesToShow-(e-r.slideCount))*r.slideWidth*-1,a=(r.options.slidesToShow-(e-r.slideCount))*n*-1):(r.slideOffset=r.slideCount%r.options.slidesToScroll*r.slideWidth*-1,a=r.slideCount%r.options.slidesToScroll*n*-1))):e+r.options.slidesToShow>r.slideCount&&(r.slideOffset=(e+r.options.slidesToShow-r.slideCount)*r.slideWidth,a=(e+r.options.slidesToShow-r.slideCount)*n),r.slideCount<=r.options.slidesToShow&&(r.slideOffset=0,a=0),!0===r.options.centerMode&&r.slideCount<=r.options.slidesToShow?r.slideOffset=r.slideWidth*Math.floor(r.options.slidesToShow)/2-r.slideWidth*r.slideCount/2:!0===r.options.centerMode&&!0===r.options.infinite?r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)-r.slideWidth:!0===r.options.centerMode&&(r.slideOffset=0,r.slideOffset+=r.slideWidth*Math.floor(r.options.slidesToShow/2)),t=!1===r.options.vertical?e*r.slideWidth*-1+r.slideOffset:e*n*-1+a,!0===r.options.variableWidth&&(i=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow),t=!0===r.options.rtl?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,!0===r.options.centerMode&&(i=r.slideCount<=r.options.slidesToShow||!1===r.options.infinite?r.$slideTrack.children(".slick-slide").eq(e):r.$slideTrack.children(".slick-slide").eq(e+r.options.slidesToShow+1),t=!0===r.options.rtl?i[0]?-1*(r.$slideTrack.width()-i[0].offsetLeft-i.width()):0:i[0]?-1*i[0].offsetLeft:0,t+=(r.$list.width()-i.outerWidth())/2)),t},t.prototype.getOption=t.prototype.slickGetOption=function(e){return this.options[e]},t.prototype.getNavigableIndexes=function(){var e,t=this,n=0,i=0,o=[];for(!1===t.options.infinite?e=t.slideCount:(n=-1*t.options.slidesToScroll,i=-1*t.options.slidesToScroll,e=2*t.slideCount);n<e;)o.push(n),n=i+t.options.slidesToScroll,i+=t.options.slidesToScroll<=t.options.slidesToShow?t.options.slidesToScroll:t.options.slidesToShow;return o},t.prototype.getSlick=function(){return this},t.prototype.getSlideCount=function(){var t,n,i=this;return n=!0===i.options.centerMode?i.slideWidth*Math.floor(i.options.slidesToShow/2):0,!0===i.options.swipeToSlide?(i.$slideTrack.find(".slick-slide").each(function(o,r){if(r.offsetLeft-n+e(r).outerWidth()/2>-1*i.swipeLeft)return t=r,!1}),Math.abs(e(t).attr("data-slick-index")-i.currentSlide)||1):i.options.slidesToScroll},t.prototype.goTo=t.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
2parseInt(e)}},t)},t.prototype.init=function(t){var n=this;e(n.$slider).hasClass("slick-initialized")||(e(n.$slider).addClass("slick-initialized"),n.buildRows(),n.buildOut(),n.setProps(),n.startLoad(),n.loadSlider(),n.initializeEvents(),n.updateArrows(),n.updateDots(),n.checkResponsive(!0),n.focusHandler()),t&&n.$slider.trigger("init",[n]),!0===n.options.accessibility&&n.initADA(),n.options.autoplay&&(n.paused=!1,n.autoPlay())},t.prototype.initADA=function(){var t=this,n=Math.ceil(t.slideCount/t.options.slidesToShow),i=t.getNavigableIndexes().filter(function(e){return e>=0&&e<t.slideCount});t.$slides.add(t.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==t.$dots&&(t.$slides.not(t.$slideTrack.find(".slick-cloned")).each(function(n){var o=i.indexOf(n);e(this).attr({role:"tabpanel",id:"slick-slide"+t.instanceUid+n,tabindex:-1}),-1!==o&&e(this).attr({"aria-describedby":"slick-slide-control"+t.instanceUid+o})}),t.$dots.attr("role","tablist").find("li").each(function(o){var r=i[o];e(this).attr({role:"presentation"}),e(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+t.instanceUid+o,"aria-controls":"slick-slide"+t.instanceUid+r,"aria-label":o+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(t.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var o=t.currentSlide,r=o+t.options.slidesToShow;o<r;o++)t.$slides.eq(o).attr("tabindex",0);t.activateADA()},t.prototype.initArrowEvents=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.off("click.slick").on("click.slick",{message:"previous"},e.changeSlide),e.$nextArrow.off("click.slick").on("click.slick",{message:"next"},e.changeSlide),!0===e.options.accessibility&&(e.$prevArrow.on("keydown.slick",e.keyHandler),e.$nextArrow.on("keydown.slick",e.keyHandler)))},t.prototype.initDotEvents=function(){var t=this;!0===t.options.dots&&(e("li",t.$dots).on("click.slick",{message:"index"},t.changeSlide),!0===t.options.accessibility&&t.$dots.on("keydown.slick",t.keyHandler)),!0===t.options.dots&&!0===t.options.pauseOnDotsHover&&e("li",t.$dots).on("mouseenter.slick",e.proxy(t.interrupt,t,!0)).on("mouseleave.slick",e.proxy(t.interrupt,t,!1))},t.prototype.initSlideEvents=function(){var t=this;t.options.pauseOnHover&&(t.$list.on("mouseenter.slick",e.proxy(t.interrupt,t,!0)),t.$list.on("mouseleave.slick",e.proxy(t.interrupt,t,!1)))},t.prototype.initializeEvents=function(){var t=this;t.initArrowEvents(),t.initDotEvents(),t.initSlideEvents(),t.$list.on("touchstart.slick mousedown.slick",{action:"start"},t.swipeHandler),t.$list.on("touchmove.slick mousemove.slick",{action:"move"},t.swipeHandler),t.$list.on("touchend.slick mouseup.slick",{action:"end"}
2,t.swipeHandler),t.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},t.swipeHandler),t.$list.on("click.slick",t.clickHandler),e(document).on(t.visibilityChange,e.proxy(t.visibility,t)),!0===t.options.accessibility&&t.$list.on("keydown.slick",t.keyHandler),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),e(window).on("orientationchange.slick.slick-"+t.instanceUid,e.proxy(t.orientationChange,t)),e(window).on("resize.slick.slick-"+t.instanceUid,e.proxy(t.resize,t)),e("[draggable!=true]",t.$slideTrack).on("dragstart",t.preventDefault),e(window).on("load.slick.slick-"+t.instanceUid,t.setPosition),e(t.setPosition)},t.prototype.initUI=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.show(),e.$nextArrow.show()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.show()},t.prototype.keyHandler=function(e){var t=this;e.target.tagName.match("TEXTAREA|INPUT|SELECT")||(37===e.keyCode&&!0===t.options.accessibility?t.changeSlide({data:{message:!0===t.options.rtl?"next":"previous"}}):39===e.keyCode&&!0===t.options.accessibility&&t.changeSlide({data:{message:!0===t.options.rtl?"previous":"next"}}))},t.prototype.lazyLoad=function(){function t(t){e("img[data-lazy]",t).each(function(){var t=e(this),n=e(this).attr("data-lazy"),i=e(this).attr("data-srcset"),o=e(this).attr("data-sizes")||r.$slider.attr("data-sizes"),a=document.createElement("img");a.onload=function(){t.animate({opacity:0}
vendor: 4,788 bytes, line 2
2,100,function(){i&&(t.attr("srcset",i),o&&t.attr("sizes",o)),t.attr("src",n).animate({opacity:1},200,function(){t.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,t,n])})},a.onerror=function(){t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,n])},a.src=n})}var n,i,o,r=this;if(!0===r.options.centerMode?!0===r.options.infinite?o=(i=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(i=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),o=r.options.slidesToShow/2+1+2+r.currentSlide):(i=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,o=Math.ceil(i+r.options.slidesToShow),!0===r.options.fade&&(i>0&&i--,o<=r.slideCount&&o++)),n=r.$slider.find(".slick-slide").slice(i,o),"anticipated"===r.options.lazyLoad)for(var a=i-1,s=o,l=r.$slider.find(".slick-slide"),c=0;c<r.options.slidesToScroll;c++)a<0&&(a=r.slideCount-1),n=(n=n.add(l.eq(a))).add(l.eq(s)),a--,s++;t(n),r.slideCount<=r.options.slidesToShow?t(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?t(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&t(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},t.prototype.loadSlider=function(){var e=this;e.setPosition(),e.$slideTrack.css({opacity:1}),e.$slider.removeClass("slick-loading"),e.initUI(),"progressive"===e.options.lazyLoad&&e.progressiveLazyLoad()},t.prototype.next=t.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},t.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},t.prototype.pause=t.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},t.prototype.play=t.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},t.prototype.postSlide=function(t){var n=this;n.unslicked||(n.$slider.trigger("afterChange",[n,t]),n.animating=!1,n.slideCount>n.options.slidesToShow&&n.setPosition(),n.swipeLeft=null,n.options.autoplay&&n.autoPlay(),!0===n.options.accessibility&&(n.initADA(),n.options.focusOnChange&&e(n.$slides.get(n.currentSlide)).attr("tabindex",0).focus()))},t.prototype.prev=t.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},t.prototype.preventDefault=function(e){e.preventDefault()},t.prototype.progressiveLazyLoad=function(t){t=t||1;var n,i,o,r,a,s=this,l=e("img[data-lazy]",s.$slider);l.length?(n=l.first(),i=n.attr("data-lazy"),o=n.attr("data-srcset"),r=n.attr("data-sizes")||s.$slider.attr("data-sizes"),(a=document.createElement("img")).onload=function(){o&&(n.attr("srcset",o),r&&n.attr("sizes",r)),n.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===s.options.adaptiveHeight&&s.setPosition(),s.$slider.trigger("lazyLoaded",[s,n,i]),s.progressiveLazyLoad()},a.onerror=function(){t<3?setTimeout(function(){s.progressiveLazyLoad(t+1)},500):(n.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),s.$slider.trigger("lazyLoadError",[s,n,i]),s.progressiveLazyLoad())},a.src=i):s.$slider.trigger("allImagesLoaded",[s])},t.prototype.refresh=function(t){var n,i,o=this;i=o.slideCount-o.options.slidesToShow,!o.options.infinite&&o.currentSlide>i&&(o.currentSlide=i),o.slideCount<=o.options.slidesToShow&&(o.currentSlide=0),n=o.currentSlide,o.destroy(!0),e.extend(o,o.initials,{currentSlide:n}),o.init(),t||o.changeSlide({data:{message:"index",index:n}},!1)},t.prototype.registerBreakpoints=function(){var t,n,i,o=this,r=o.options.responsive||null;if("array"===e.type(r)&&r.length){for(t in o.respondTo=o.options.respondTo||"window",r)if(i=o.breakpoints.length-1,r.hasOwnProperty(t)){for(n=r[t].breakpoint;i>=0;)o.breakpoints[i]&&o.breakpoints[i]===n&&o.breakpoints.splice(i,1),i--;o.breakpoints.push(n),o.breakpointSettings[n]=r[t].settings}o.breakpoints.sort(function(e,t){return o.options.mobileFirst?e-t:t-e})}},t.prototype.reinit=function(){var t=this;t.$slides=t.$slideTrack.children(t.options.slide).addClass("slick-slide"),t.slideCount=t.$slides.length,t.currentSlide>=t.slideCount&&0!==t.currentSlide&&(t.currentSlide=t.currentSlide-t.options.slidesToScroll),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),t.registerBreakpoints(),t.setProps(),t.setupInfinite(),t.buildArrows(),t.updateArrows(),t.initArrowEvents(),t.buildDots(),t.updateDots(),t.initDotEvents(),t.cleanUpSlideEvents(),t.initSlideEvents(),t.checkResponsive(!1,!0),!0===t.options.focusOnSelect&&e(t.$slideTrack).children().on("click.slick",t.selectHandler),t.setSlideClasses("number"==typeof t.currentSlide?t.currentSlide:0),t.setPosition(),t.focusHandler(),t.paused=!t.o
2ptions.autoplay,t.autoPlay(),t.$slider.trigger("reInit",[t])},t.prototype.resize=function(){var t=this;e(window).width()!==t.windowWidth&&(clearTimeout(t.windowDelay),t.windowDelay=window.setTimeout(function(){t.windowWidth=e(window).width(),t.checkResponsive(),t.unslicked||t.setPosition()},50))},t.prototype.removeSlide=t.prototype.slickRemove=function(e,t,n){var i=this;if(e="boolean"==typeof e?!0===(t=e)?0:i.slideCount-1:!0===t?--e:e,i.slideCount<1||e<0||e>i.slideCount-1)return!1;i.unload(),!0===n?i.$slideTrack.children().remove():i.$slideTrack.children(this.options.slide).eq(e).remove(),i.$slides=i.$slideTrack.children(this.options.slide),i.$slideTrack.children(this.options.slide).detach(),i.$slideTrack.append(i.$slides),i.$slidesCache=i.$slides,i.reinit()},t.prototype.setCSS=function(e){var t,n,i=this,o={};!0===i.options.rtl&&(e=-e),t="left"==i.positionProp?Math.ceil(e)+"px":"0px",n="top"==i.positionProp?Math.ceil(e)+"px":"0px",o[i.positionProp]=e,!1===i.transformsEnabled?i.$slideTrack.css(o):(o={},!1===i.cssTransitions?(o[i.animType]="translate("+t+", "+n+")",i.$slideTrack.css(o)):(o[i.animType]="translate3d("+t+", "+n+", 0px)",i.$slideTrack.css(o)))},t.prototype.setDimensions=function(){var e=this;!1===e.options.vertical?!0===e.options.centerMode&&e.$list.css({padding:"0px "+e.options.centerPadding}):(e.$list.height(e.$slides.first().outerHeight(!0)*e.options.slidesToShow),!0===e.options.centerMode&&e.$list.css({padding:e.options.centerPadding+" 0px"})),e.listWidth=e.$list.width(),e.listHeight=e.$list.height(),!1===e.options.vertical&&!1===e.options.variableWidth?(e.slideWidth=Math.ceil(e.listWidth/e.options.slidesToShow),e.$slideTrack.width(Math.ceil(e.slideWidth*e.$slideTrack.children(".slick-slide").length))):!0===e.options.variableWidth?e.$slideTrack.width(5e3*e.slideCount):(e.slideWidth=Math.ceil(e.listWidth),e.$slideTrack.height(Math.ceil(e.$slides.first().outerHeight(!0)*e.$slideTrack.children(".slick-slide").length)));var t=e.$slides.first().outerWidth(!0)-e.$slides.first().width();!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},t.prototype.setFade=function(){var t,n=this;n.$slides.each(function(i,o){t=n.slideWidth*i*-1,!0===n.options.rtl?e(o).css({position:"relative",right:t,top:0,zIndex:n.options.zIndex-2,opacity:0}
2):e(o).css({position:"relative",left:t,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},t.prototype.setHeight=function(){var e=this;if(1===e.options.slidesToShow&&!0===e.options.adaptiveHeight&&!1===e.options.vertical){var t=e.$slides.eq(e.currentSlide).outerHeight(!0);e.$list.css("height",t)}},t.prototype.setOption=t.prototype.slickSetOption=function(){var t,n,i,o,r,a=this,s=!1;if("object"===e.type(arguments[0])?(i=arguments[0],s=arguments[1],r="multiple"):"string"===e.type(arguments[0])&&(i=arguments[0],o=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===e.type(arguments[1])?r="responsive":void 0!==arguments[1]&&(r="single")),"single"===r)a.options[i]=o;else if("multiple"===r)e.each(i,function(e,t){a.options[e]=t});else if("responsive"===r)for(n in o)if("array"!==e.type(a.options.responsive))a.options.responsive=[o[n]];else{for(t=a.options.responsive.length-1;t>=0;)a.options.responsive[t].breakpoint===o[n].breakpoint&&a.options.responsive.splice(t,1),t--;a.options.responsive.push(o[n])}s&&(a.unload(),a.reinit())},t.prototype.setPosition=function(){var e=this;e.setDimensions(),e.setHeight(),!1===e.options.fade?e.setCSS(e.getLeft(e.currentSlide)):e.setFade(),e.$slider.trigger("setPosition",[e])},t.prototype.setProps=function(){var e=this,t=document.body.style;e.positionProp=!0===e.options.vertical?"top":"left","top"===e.positionProp?e.$slider.addClass("slick-vertical"):e.$slider.removeClass("slick-vertical"),void 0===t.WebkitTransition&&void 0===t.MozTransition&&void 0===t.msTransition||!0===e.options.useCSS&&(e.cssTransitions=!0),e.options.fade&&("number"==typeof e.options.zIndex?e.options.zIndex<3&&(e.options.zIndex=3):e.options.zIndex=e.defaults.zIndex),void 0!==t.OTransform&&(e.animType="OTransform",e.transformType="-o-transform",e.transitionType="OTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.MozTransform&&(e.animType="MozTransform",e.transformType="-moz-transform",e.transitionType="MozTransition",void 0===t.perspectiveProperty&&void 0===t.MozPerspective&&(e.animType=!1)),void 0!==t.webkitTransform&&(e.animType="webkitTransform",e.transformType="-webkit-transform",e.transitionType="webkitTransition",void 0===t.perspectiveProperty&&void 0===t.webkitPerspective&&(e.animType=!1)),void 0!==t.msTransform&&(e.animType="msTransform",e.transformType="-ms-transform",e.transitionType="msTransition",void 0===t.msTransform&&(e.animType=!1)),void 0!==t.transform&&!1!==e.animType&&(e.animType="transform",e.transformType="transform",e.transitionType="transition"),e.transformsEnabled=e.options.useTransform&&null!==e.animType&&!1!==e.animType},t.prototype.setSlideClasses=function(e){var t,n,i,o,r=this;if(n=r.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),r.$slides.eq(e).addClass("slick-current"),!0===r.options.centerMode){var a=r.options.slidesToShow%2==0?1:0;t=Math.floor(r.options.slidesToShow/2),!0===r.options.infinite&&(e>=t&&e<=r.slideCount-1-t?r.$slides.slice(e-t+a,e+t+1).addClass("slick-active").attr("aria-hidden","false"):(i=r.options.slidesToShow+e,n.slice(i-t+1+a,i+t+2).addClass("slick-active").attr("aria-hidden","false")),0===e?n.eq(n.length-1-r.options.slidesToShow).addClass("slick-center"):e===r.slideCount-1&&n.eq(r.options.slidesToShow).addClass("slick-center")),r.$slides.eq(e).addClass("slick-center")}else e>=0&&e<=r.slideCount-r.options.slidesToShow?r.$slides.slice(e,e+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):n.length<=r.options.slidesToShow?n.addClass("slick-active").attr("aria-hidden","false"):(o=r.slideCount%r.options.slidesToShow,i=!0===r.options.infinite?r.options.slidesToShow+e:e,r.options.slidesToShow==r.options.slidesToScroll&&r.slideCount-e<r.options.slidesToShow?n.slice(i-(r.options.slidesToShow-o),i+o).addClass("slick-active").attr("aria-hidden","false"):n.slice(i,i+r.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"));"ondemand"!==r.options.lazyLoad&&"anticipated"!==r.options.lazyLoad||r.lazyLoad()},t.prototype.setupInfinite=function(){var t,n,i,o=this;if(!0===o.options.fade&&(o.options.centerMode=!1),!0===o.options.infinite&&!1===o.options.fade&&(n=null,o.slideCount>o.options.slidesToShow)){for(i=!0===o.options.centerMode?o.options.slidesToShow+1:o.options.slidesToShow,t=o.slideCount;t>o.slideCount-i;t-=1)n=t-1,e(o.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n-o.slideCount).prependTo(o.$slideTrack).addClass("slick-cloned");for(t=0;t<i+o.slideCount;t+=1)n=t,e(o.$slides[n]).clone(!0).attr("id","").attr("data-slick-index",n+o.slideCount).appendTo(o.$slideTrack).addClass("slick-cloned");o.$slideTrack.find(".slick-cloned").find("[id]").each(function(){e(this).attr("id","")})}},t.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},t.prototype.selectHandler=function(t){var n=this,i=e(t.target).is(".slick-slide")?e(t.target):e(t.target).parents(".slick-slide"),o=parseInt(i.attr("data-slick-index"));o||(o=0),n.slideCount<=n.options.slidesToShow?n.slideHandler(o,!1,!0):n.slideHandler(o)},t.prototype.slideHandler=function(e,t,n){var i,o,r,a,s,l=null,c=this;if(t=t||!1,!(!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===e))if(!1===t&&c.asNavFor(e),i=e,l=c.getLeft(i),a=c.getLeft(c.
2currentSlide),c.currentLeft=null===c.swipeLeft?a:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(e<0||e>c.getDotCount()*c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n?c.animateSlide(a,function(){c.postSlide(i)}):c.postSlide(i));else if(!1===c.options.infinite&&!0===c.options.centerMode&&(e<0||e>c.slideCount-c.options.slidesToScroll))!1===c.options.fade&&(i=c.currentSlide,!0!==n?c.animateSlide(a,function(){c.postSlide(i)}):c.postSlide(i));else{if(c.options.autoplay&&clearInterval(c.autoPlayTimer),o=i<0?c.slideCount%c.options.slidesToScroll!=0?c.slideCount-c.slideCount%c.options.slidesToScroll:c.slideCount+i:i>=c.slideCount?c.slideCount%c.options.slidesToScroll!=0?0:i-c.slideCount:i,c.animating=!0,c.$slider.trigger("beforeChange",[c,c.currentSlide,o]),r=c.currentSlide,c.currentSlide=o,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(s=(s=c.getNavTarget()).slick("getSlick")).slideCount<=s.options.slidesToShow&&s.setSlideClasses(c.currentSlide),c.updateDots(),c.updateArrows(),!0===c.options.fade)return!0!==n?(c.fadeSlideOut(r),c.fadeSlide(o,function(){c.postSlide(o)})):c.postSlide(o),void c.animateHeight();!0!==n?c.animateSlide(l,function(){c.postSlide(o)}):c.postSlide(o)}},t.prototype.startLoad=function(){var e=this;!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow.hide(),e.$nextArrow.hide()),!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&e.$dots.hide(),e.$slider.addClass("slick-loading")},t.prototype.swipeDirection=function(){var e,t,n,i,o=this;return e=o.touchObject.startX-o.touchObject.curX,t=o.touchObject.startY-o.touchObject.curY,n=Math.atan2(t,e),(i=Math.round(180*n/Math.PI))<0&&(i=360-Math.abs(i)),i<=45&&i>=0||i<=360&&i>=315?!1===o.options.rtl?"left":"right":i>=135&&i<=225?!1===o.options.rtl?"right":"left":!0===o.options.verticalSwiping?i>=35&&i<=135?"down":"up":"vertical"},t.prototype.swipeEnd=function(e){var t,n,i=this;if(i.dragging=!1,i.swiping=!1,i.scrolling)return i.scrolling=!1,!1;if(i.interrupted=!1,i.shouldClick=!(i.touchObject.swipeLength>10),void 0===i.touchObject.curX)return!1;if(!0===i.touchObject.edgeHit&&i.$slider.trigger("edge",[i,i.swipeDirection()]),i.touchObject.swipeLength>=i.touchObject.minSwipe){switch(n=i.swipeDirection()){case"left":case"down":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide+i.getSlideCount()):i.currentSlide+i.getSlideCount(),i.currentDirection=0;break;case"right":case"up":t=i.options.swipeToSlide?i.checkNavigable(i.currentSlide-i.getSlideCount()):i.currentSlide-i.getSlideCount(),i.currentDirection=1}"vertical"!=n&&(i.slideHandler(t),i.touchObject={},i.$slider.trigger("swipe",[i,n]))}else i.touchObject.startX!==i.touchObject.curX&&(i.slideHandler(i.currentSlide),i.touchObject={})},t.prototype.swipeHandler=function(e){var t=this;if(!(!1===t.options.swipe||"ontouchend"in document&&!1===t.options.swipe||!1===t.options.draggable&&-1!==e.type.indexOf("mouse")))switch(t.touchObject.fingerCount=e.originalEvent&&void 0!==e.originalEvent.touches?e.originalEvent.touches.length:1,t.touchObject.minSwipe=t.listWidth/t.options.touchThreshold,!0===t.options.verticalSwiping&&(t.touchObject.minSwipe=t.listHeight/t.options.touchThreshold),e.data.action){case"start":t.swipeStart(e);break;case"move":t.swipeMove(e);break;case"end":t.swipeEnd(e)}},t.prototype.swipeMove=function(e){var t,n,i,o,r,a,s=this;return r=void 0!==e.originalEvent?e.originalEvent.touches:null,!(!s.dragging||s.scrolling||r&&1!==r.length)&&(t=s.getLeft(s.currentSlide),s.touchObject.curX=void 0!==r?r[0].pageX:e.clientX,s.touchObject.curY=void 0!==r?r[0].pageY:e.clientY,s.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(s.touchObject.curX-s.touchObject.startX,2))),a=Math.round(Math.sqrt(Math.pow(s.touchObject.curY-s.touchObject.startY,2))),!s.options.verticalSwiping&&!s.swiping&&a>4?(s.scrolling=!0,!1):(!0===s.options.verticalSwiping&&(s.touchObject.swipeLength=a),n=s.swipeDirection(),void 0!==e.originalEvent&&s.touchObject.swipeLength>4&&(s.swiping=!0,e.preventDefault()),o=(!1===s.options.rtl?1:-1)*(s.touchObject.curX>s.touchObject.startX?1:-1),!0===s.options.verticalSwiping&&(o=s.touchObject.curY>s.touchObject.startY?1:-1),i=s.touchObject.swipeLength,s.touchObject.edgeHit=!1,!1===s.options.infinite&&(0===s.currentSlide&&"right"===n||s.currentSlide>=s.getDotCount()&&"left"===n)&&(i=s.touchObject.swipeLength*s.options.edgeFriction,s.touchObject.edgeHit=!0),!1===s.options.vertical?s.swipeLeft=t+i*o:s.swipeLeft=t+i*(s.$list.height()/s.listWidth)*o,!0===s.options.verticalSwiping&&(s.swipeLeft=t+i*o),!0!==s.options.fade&&!1!==s.options.touchMove&&(!0===s.animating?(s.swipeLeft=null,!1):void s.setCSS(s.swipeLeft))))},t.prototype.swipeStart=function(e){var t,n=this;if(n.interrupted=!0,1!==n.touchObject.fingerCount||n.slideCount<=n.options.slidesToShow)return n.touchObject={},!1;void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),n.touchObject.startX=n.touchObject.curX=void 0!==t?t.pageX:e.clientX,n.touchObject.startY=n.touchObject.curY=void 0!==t?t.pageY:e.clientY,n.dragging=!0},t.prototype.unfilterSlides=t.prototype.slickUnfilter=function(){var e=this;null!==e.$slidesCache&&(e.unload(),e.$slideTrack.children(this.options.slide).detach(),e.$slidesCache.appendTo(e.$slideTrack),e.reinit())},t.prototype.unload=function(){var t=this;e(".slick-cloned",t.$slider).remove(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.htmlExpr.test(t.options.prevArrow)&&t.$prevArrow.remove(),t.$nextArrow&&t.htmlExpr.test(t.options.nextArrow)&&t.$nextArrow.remove(),t.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
2,t.prototype.unslick=function(e){var t=this;t.$slider.trigger("unslick",[t,e]),t.destroy()},t.prototype.updateArrows=function(){var e=this;Math.floor(e.options.slidesToShow/2),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&!e.options.infinite&&(e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===e.currentSlide?(e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):(e.currentSlide>=e.slideCount-e.options.slidesToShow&&!1===e.options.centerMode||e.currentSlide>=e.slideCount-1&&!0===e.options.centerMode)&&(e.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),e.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")))},t.prototype.updateDots=function(){var e=this;null!==e.$dots&&(e.$dots.find("li").removeClass("slick-active").end(),e.$dots.find("li").eq(Math.floor(e.currentSlide/e.options.slidesToScroll)).addClass("slick-active"))},t.prototype.visibility=function(){var e=this;e.options.autoplay&&(document[e.hidden]?e.interrupted=!0:e.interrupted=!1)},e.fn.slick=function(){var e,n,i=this,r=arguments[0],a=Array.prototype.slice.call(arguments,1),s=i.length;for(e=0;e<s;e++)if("object"==o(r)||void 0===r?i[e].slick=new t(i[e],r):n=i[e].slick[r].apply(i[e].slick,a),void 0!==n)return n;return i}},"function"==typeof define&&n.amdO?define(["jquery"],i):"undefined"!=typeof exports?e.exports=i(n(926)):i(jQuery)},926:function(e,t,n){var i;function o(e){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o(e)}e=n.nmd(e),function(t,n){"use strict";"object"===o(e)&&"object"===o(e.exports)?e.exports=t.document?n(t,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return n(e)}:n(t)}("undefined"!=typeof window?window:this,function(n,r){"use strict";var a=[],s=Object.getPrototypeOf,l=a.slice,c=a.flat?function(e){return a.flat.call(e)}:function(e){return a.concat.apply([],e)},u=a.push,d=a.indexOf,p={},f=p.toString,h=p.hasOwnProperty,m=h.toString,v=m.call(Object),g={},y=function(e){return"function"==typeof e&&"number"!=typeof e.nodeType&&"function"!=typeof e.item},b=function(e){return null!=e&&e===e.window},w=n.document,x={type:!0,src:!0,nonce:!0,noModule:!0};function k(e,t,n){var i,o,r=(n=n||w).createElement("script");if(r.text=e,t)for(i in x)(o=t[i]||t.getAttribute&&t.getAttribute(i))&&r.setAttribute(i,o);n.head.appendChild(r).parentNode.removeChild(r)}function S(e){return null==e?e+"":"object"===o(e)||"function"==typeof e?p[f.call(e)]||"object":o(e)}var C="3.7.1",_=/HTML$/i,T=function(e,t){return new T.fn.init(e,t)};function E(e){var t=!!e&&"length"in e&&e.length,n=S(e);return!y(e)&&!b(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function A(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()}T.fn=T.prototype={jquery:C,constructor:T,length:0,toArray:function(){return l.call(this)},get:function(e){return null==e?l.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=T.merge(this.constructor(),e);return t.prevObject=this,t},each:function(e){return T.each(this,e)},map:function(e){return this.pushStack(T.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(l.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(T.grep(this,function(e,t){return(t+1)%2}))},odd:function(){return this.pushStack(T.grep(this,function(e,t){return t%2}))},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:a.sort,splice:a.splice},T.extend=T.fn.extend=function(){var e,t,n,i,r,a,s=arguments[0]||{},l=1,c=arguments.length,u=!1;for("boolean"==typeof s&&(u=s,s=arguments[l]||{},l++),"object"===o(s)||y(s)||(s={}),l===c&&(s=this,l--);l<c;l++)if(null!=(e=arguments[l]))for(t in e)i=e[t],"__proto__"!==t&&s!==i&&(u&&i&&(T.isPlainObject(i)||(r=Array.isArray(i)))?(n=s[t],a=r&&!Array.isArray(n)?[]:r||T.isPlainObject(n)?n:{},r=!1,s[t]=T.extend(u,a,i)):void 0!==i&&(s[t]=i));return s},T.extend({expando:"jQuery"+(C+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isPlainObject:function(e){var t,n;return!(!e||"[object Object]"!==f.call(e)||(t=s(e))&&("function"!=typeof(n=h.c
vendor: 17,944 bytes, line 2
2all(t,"constructor")&&t.constructor)||m.call(n)!==v))},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},globalEval:function(e,t,n){k(e,{nonce:t&&t.nonce},n)},each:function(e,t){var n,i=0;if(E(e))for(n=e.length;i<n&&!1!==t.call(e[i],i,e[i]);i++);else for(i in e)if(!1===t.call(e[i],i,e[i]))break;return e},text:function(e){var t,n="",i=0,o=e.nodeType;if(!o)for(;t=e[i++];)n+=T.text(t);return 1===o||11===o?e.textContent:9===o?e.documentElement.textContent:3===o||4===o?e.nodeValue:n},makeArray:function(e,t){var n=t||[];return null!=e&&(E(Object(e))?T.merge(n,"string"==typeof e?[e]:e):u.call(n,e)),n},inArray:function(e,t,n){return null==t?-1:d.call(t,e,n)},isXMLDoc:function(e){var t=e&&e.namespaceURI,n=e&&(e.ownerDocument||e).documentElement;return!_.test(t||n&&n.nodeName||"HTML")},merge:function(e,t){for(var n=+t.length,i=0,o=e.length;i<n;i++)e[o++]=t[i];return e.length=o,e},grep:function(e,t,n){for(var i=[],o=0,r=e.length,a=!n;o<r;o++)!t(e[o],o)!==a&&i.push(e[o]);return i},map:function(e,t,n){var i,o,r=0,a=[];if(E(e))for(i=e.length;r<i;r++)null!=(o=t(e[r],r,n))&&a.push(o);else for(r in e)null!=(o=t(e[r],r,n))&&a.push(o);return c(a)},guid:1,support:g}),"function"==typeof Symbol&&(T.fn[Symbol.iterator]=a[Symbol.iterator]),T.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){p["[object "+t+"]"]=t.toLowerCase()});var O=a.pop,$=a.sort,L=a.splice,P="[\\x20\\t\\r\\n\\f]",z=new RegExp("^"+P+"+|((?:^|[^\\\\])(?:\\\\.)*)"+P+"+$","g");T.contains=function(e,t){var n=t&&t.parentNode;return e===n||!(!n||1!==n.nodeType||!(e.contains?e.contains(n):e.compareDocumentPosition&&16&e.compareDocumentPosition(n)))};var D=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function I(e,t){return t?"\0"===e?"�":e.slice(0,-1)+"\\"+e.charCodeAt(e.length-1).toString(16)+" ":"\\"+e}T.escapeSelector=function(e){return(e+"").replace(D,I)};var j=w,M=u;!function(){var e,t,i,o,r,s,c,u,p,f,m=M,v=T.expando,y=0,b=0,w=ee(),x=ee(),k=ee(),S=ee(),C=function(e,t){return e===t&&(r=!0),0},_="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",E="(?:\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",D="\\["+P+"*("+E+")(?:"+P+"*([*^$|!~]?=)"+P+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+E+"))|)"+P+"*\\]",I=":("+E+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+D+")*)|.*)\\)|)",N=new RegExp(P+"+","g"),H=new RegExp("^"+P+"*,"+P+"*"),R=new RegExp("^"+P+"*([>+~]|"+P+")"+P+"*"),q=new RegExp(P+"|>"),F=new RegExp(I),B=new RegExp("^"+E+"$"),U={ID:new RegExp("^#("+E+")"),CLASS:new RegExp("^\\.("+E+")"),TAG:new RegExp("^("+E+"|[*])"),ATTR:new RegExp("^"+D),PSEUDO:new RegExp("^"+I),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+P+"*(even|odd|(([+-]|)(\\d*)n|)"+P+"*(?:([+-]|)"+P+"*(\\d+)|))"+P+"*\\)|)","i"),bool:new RegExp("^(?:"+_+")$","i"),needsContext:new RegExp("^"+P+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+P+"*((?:-\\d)?\\d*)"+P+"*\\)|)(?=[^-]|$)","i")},W=/^(?:input|select|textarea|button)$/i,V=/^h\d$/i,Y=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,X=/[+~]/,Z=new RegExp("\\\\[\\da-fA-F]{1,6}"+P+"?|\\\\([^\\r\\n\\f])","g"),G=function(e,t){var n="0x"+e.slice(1)-65536;return t||(n<0?String.fromCharCode(n+65536):String.fromCharCode(n>>10|55296,1023&n|56320))},K=function(){le()},Q=pe(function(e){return!0===e.disabled&&A(e,"fieldset")},{dir:"parentNode",next:"legend"});try{m.apply(a=l.call(j.childNodes),j.childNodes),a[j.childNodes.length].nodeType}catch(e){m={apply:function(e,t){M.apply(e,l.call(t))},call:function(e){M.apply(e,l.call(arguments,1))}}}function J(e,t,n,i){var o,r,a,l,c,d,f,h=t&&t.ownerDocument,y=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==y&&9!==y&&11!==y)return n;if(!i&&(le(t),t=t||s,u)){if(11!==y&&(c=Y.exec(e)))if(o=c[1]){if(9===y){if(!(a=t.getElementById(o)))return n;if(a.id===o)return m.call(n,a),n}else if(h&&(a=h.getElementById(o))&&J.contains(t,a)&&a.id===o)return m.call(n,a),n}else{if(c[2])return m.apply(n,t.getElementsByTagName(e)),n;if((o=c[3])&&t.getElementsByClassName)return m.apply(n,t.getElementsByClassName(o)),n}if(!(S[e+" "]||p&&p.test(e))){if(f=e,h=t,1===y&&(q.test(e)||R.test(e))){for((h=X.test(e)&&se(t.parentNode)||t)==t&&g.scope||((l=t.getAttribute("id"))?l=T.escapeSelector(l):t.setAttribute("id",l=v)),r=(d=ue(e)).length;r--;)d[r]=(l?"#"+l:":scope")+" "+de(d[r]);f=d.join(",")}try{return m.apply(n,h.querySelectorAll(f)),n}catch(t){S(e,!0)}finally{l===v&&t.removeAttribute("id")}}}return ye(e.replace(z,"$1"),t,n,i)}function ee(){var e=[];return function n(i,o){return e.push(i+" ")>t.cacheLength&&delete n[e.shift()],n[i+" "]=o}}function te(e){return e[v]=!0,e}function ne(e){var t=s.createElement("fieldset");try{return!!e(t)}catch(e){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function ie(e){return function(t){return A(t,"input")&&t.type===e}}function oe(e){return function(t){return(A(t,"input")||A(t,"button"))&&t.type===e}}function re(e){return function(t){return"form"in t?t.parentNode&&!1===t.disabled?"label"in t?"label"in t.parentNode?t.parentNode.disabled===e:t.disabled===e:t.isDisabled===e||t.isDisabled!==!e&&Q(t)===e:t.disabled===e:"label"in t&&t.disabled===e}}function ae(e){return te(function(t){return t=+t,te(function(n,i){for(var o,r=e([],n.length,t),a=r.length;a--;)n[o=r[a]]&&(n[o]=!(i[o]=n[o]))})})}function se(e){return e&&void 0!==e.getElementsByTagName&&e}function le(e){var n,i=e?e.ownerDocument||e:j;return i!=s&&9===i.nodeType&&i.documentElement?(c=(s=i).documentElement,u=!T.isXMLDoc(s),f=c.matches||c.webkitMatchesSelector||c.msMatchesSelector,c.msMatchesSelector&&j!=s&&(n=s.defaultView)&&n.top!==n&&n.addEventListener("unload",K),g.getById=ne(function(e){return c.appendChild(e).id=T.expando,!s.getElementsByName||!s.getElementsByName(T.expando).length}),g.disconnectedMatch=ne(function(e){return f.call(e,"*")}),g.scope=ne(function(){return s.querySelectorAll(":scope")}),g.cssHas=ne(function(){try{return s.querySelector(":has(*,:jqfake)"),!1}catch(e){return!0}}),g.getById?(t.filter.ID=function(e){var t=e.replace(Z,G);return function(e){return e.getAttribute("id")===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var n=t.getElementById(e);return n?[n]:[]}}):(t.filter.ID=function(e){var t=e.replace(Z,G);return function(e){var n=void 0!==e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}},t.find.ID=function(e,t){if(void 0!==t.getElementById&&u){var n,i,o,r=t.getElementById(e);if(r){if((n=r.getAttributeNode("id"))&&n.value===e)return[r];for(o=t.getElementsByName(e),i=0;r=o[i++];)if((n=r.getAttributeNode("id"))&&n.value===e)return[r]}return[]}}),t.find.TAG=function(e,t){return void 0!==t.getElementsByTagName?t.getElementsByTagName(e):t.querySelectorAll(e)},t.find.CLASS=function(e,t){if(void 0!==t.getElementsByClassName&&u)return t.getElementsByClassName(e)},p=[],ne(function(e){var t;c.appendChild(e).innerHTML="<a id='"+v+"' href='' disabled='disabled'></a><select id='"+v+"-\r\\' disabled='disabled'><option selected=''></option></select>",e.querySelectorAll("[selected]").length||p.push("\\["+P+"*(?:value|"+_+")"),e.querySelectorAll("[id~="+v+"-]").length||p.push("~="),e.querySelectorAll("a#"+v+"+*").length||p.push(".#.+[+~]"),e.querySelectorAll(":checked").length||p.push(":checked"),(t=s.createElement("input")).setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),c.appendChild(e).disabled=!0,2!==e.querySelectorAll(":disabled").length&&p.push(":enabled",":disabled"),(t=s.createElement("input")).setAttribute("name",""),e.appendChild(t),e.querySelectorAll("[name='']").length||p.push("\\["+P+"*name"+P+"*="+P+"*(?:''|\"\")")}),g.cssHas||p.push(":has"),p=p.length&&new RegExp(p.join("|")),C=function(e,t){if(e===t)return r=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n||(1&(n=(e.ownerDocument||e)==(t.ownerDocument||t)?e.compareDocumentPosition(t):1)||!g.sortDetached&&t.compareDocumentPosition(e)===n?e===s||e.ownerDocument==j&&J.contains(j,e)?-1:t===s||t.ownerDocument==j&&J.contains(j,t)?1:o?d.call(o,e)-d.call(o,t):0:4&n?-1:1)},s):s}for(e in J.matches=function(e,t){return J(e,null,null,t)},J.matchesSelector=function(e,t){if(le(e),u&&!S[t+" "]&&(!p||!p.test(t)))try{var n=f.call(e,t);if(n||g.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(e){S(t,!0)}return J(t,s,null,[e]).length>0},J.contains=function(e,t){return(e.ownerDocument||e)!=s&&le(e),T.contains(e,t)},J.attr=function(e,n){(e.ownerDocument||e)!=s&&le(e);var i=t.attrHandle[n.toLowerCase()],o=i&&h.call(t.attrHandle,n.toLowerCase())?i(e,n,!u):void 0;return void 0!==o?o:e.getAttribute(n)},J.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},T.uniqueSort=function(e){var t,n=[],i=0,a=0;if(r=!g.sortStable,o=!g.sortStable&&l.call(e,0),$.call(e,C),r){for(;t=e[a++];)t===e[a]&&(i=n.push(a));for(;i--;)L.call(e,n[i],1)}return o=null,e},T.fn.uniqueSort=function(){return this.pushStack(T.uniqueSort(l.apply(this)))},t=T.expr={cacheLength:50,createPseudo:te,match:U,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Z,G),e[3]=(e[3]||e[4]||e[5]||"").replace(Z,G),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||J.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&J.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return U.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&F.test(n)&&(t=ue(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Z,G).toLowerCase();return"*"===e?function(){return!0}:function(e){return A(e,t)}},CLASS:function(e){var t=w[e+" "];return t||(t=new RegExp("(^|"+P+")"+e+"("+P+"|$)"))&&w(e,function(e){return t.test("string"==typeof e.className&&e.className||void 0!==e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(i){var o=J.attr(i,e);return null==o?"!="===t:!t||(o+="","="===t?o===n:"!="===t?o!==n:"^="===t?n&&0===o.indexOf(n):"*="===t?n&&o.indexOf(n)>-1:"$="===t?n&&o.slice(-n.length)===n:"~="===t?(" "+o.replace(N," ")+" ").indexOf(n)>-1:"|="===t&&(o===n||o.slice(0,n.length+1)===n+"-"))}},CHILD:function(e,t,n,i,o){var r="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===i&&0===o?function(e){return!!e.parentNode}:function(t,n,l){var c,u,d,p,f,h=r!==a?"nextSibling":"previousSibling",m=t.parentNode,g=s&&t.nodeName.toLowerCase(),b=!l&&!s,w=!1;if(m){if(r){for(;h;){for(d=t;d=d[h];)if(s?A(d,g):1===d.nodeType)return!1;f=h="only"===e&&!f&&"nextSibling"}return!0}if(f=[a?m.firstChild:m.lastChild],a&&b){for(w=(p=(c=(u=m[v]||(m[v]={}))[e]||[])[0]===y&&c[1])&&c[2],d=p&&m.childNodes[p];d=++p&&d&&d[h]||(w=p=0)||f.pop();)if(1===d.nodeType&&++w&&d===t){u[e]=[y,p,w];break}}else if(b&&(w=p=(c=(u=t[v]||(t[v]={}))[e]||[])[0]===y&&c[1]),!1===w)for(;(d=++p&&d&&d[h]||(w=p=0)||f.pop())&&(!(s?A(d,g):1===d.nodeType)||!++w||(b&&((u=d[v]||(d[v]={}))[e]=[y,w]),d!==t)););return(w-=o)===i||w%i===0&&w/i>=0}}},PSEUDO:function(e,n){var i,o=t.pseudos[e]||t.setFilters[e.toLowerCase()]||J.error("unsupported pseudo: "+e);return o[v]?o(n):o.length>1?(i=[e,e,"",n],t.setFilters.hasOwnProperty(e.toLowerCase())?te(function(e,t){for(var i,r=o(e,n),a=r.length;a--;)e[i=d.call(e,r[a])]=!(t[i]=r[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:te(function(e){var t=[],n=[],i=ge(e.replace(z,"$1"));return i[v]?te(function(e,t,n,o){for(var r,a=i(e,null,o,[]),s=e.length;s--;)(r=a[s])&&(e[s]=!(t[s]=r))}):function(e,o,r){return t[0]=e,i(t,null,r,n),t[0]=null,!n.pop()}}),has:te(function(e){return function(t){return J(e,t).length>0}}),contains:te(function(e){return e=e.replace(Z,G),function(t){return(t.textContent||T.text(t)).indexOf(e)>-1}}),lang:te(function(e){return B.test(e||"")||J.error("unsupported lang: "+e),e=e.replace(Z,G).toLowerCase(),function(t){var n;do{if(n=u?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return(n=n.toLowerCase())===e||0===n.indexOf(e+"-")}while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===c},focus:function(e){return e===function(){try{return s.activeElement}catch(e){}}()&&s.hasFocus()&&!!(e.type||e.href||~e.tabIndex)},enabled:re(!1),disabled:re(!0),checked:function(e){return A(e,"input")&&!!e.checked||A(e,"option")&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!t.pseudos.empty(e)},header:function(e){return V.test(e.nodeName)},input:function(e){return W.test(e.nodeName)},button:function(e){return A(e,"input")&&"button"===e.type||A(e,"button")},text:function(e){var t;return A(e,"input")&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:ae(function(){return[0]}),last:ae(function(e,t){return[t-1]}),eq:ae(function(e,t,n){return[n<0?n+t:n]}),even:ae(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:ae(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:ae(function(e,t,n){var i;for(i=n<0?n+t:n>t?t:n;--i>=0;)e.push(i);return e}),gt:ae(function(e,t,n){for(var i=n<0?n+t:n;++i<t;)e.push(i);return e})}},t.pseudos.nth=t.pseudos.eq,{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})t.pseudos[e]=ie(e);for(e in{submit:!0,reset:!0})t.pseudos[e]=oe(e);function ce(){}function ue(e,n){var i,o,r,a,s,l,c,u=x[e+" "];if(u)return n?0:u.slice(0);for(s=e,l=[],c=t.preFilter;s;){for(a in i&&!(o=H.exec(s))||(o&&(s=s.slice(o[0].length)||s),l.push(r=[])),i=!1,(o=R.exec(s))&&(i=o.shift(),r.push({value:i,type:o[0].replace(z," ")}),s=s.slice(i.length)),t.filter)!(o=U[a].exec(s))||c[a]&&!(o=c[a](o))||(i=o.shift(),r.push({value:i,type:a,matches:o}),s=s.slice(i.length));if(!i)break}return n?s.length:s?J.error(e):x(e,l).slice(0)}function de(e){for(var t=0,n=e.length,i="";t<n;t++)i+=e[t].value;return i}function pe(e,t,n){var i=t.dir,o=t.next,r=o||i,a=n&&"parentNode"===r,s=b++;return t.first?function(t,n,o){for(;t=t[i];)if(1===t.nodeType||a)return e(t,n,o);return!1}:function(t,n,l){var c,u,d=[y,s];if(l){for(;t=t[i];)if((1===t.nodeType||a)&&e(t,n,l))return!0}else for(;t=t[i];)if(1===t.nodeType||a)if(u=t[v]||(t[v]={}),o&&A(t,o))t=t[i]||t;else{if((c=u[r])&&c[0]===y&&c[1]===s)return d[2]=c[2];if(u[r]=d,d[2]=e(t,n,l))return!0}return!1}}function fe(e){return e.length>1?function(t,n,i){for(var o=e.length;o--;)if(!e[o](t,n,i))return!1;return!0}:e[0]}function he(e,t,n,i,o){for(var r,a=[],s=0,l=e.length,c=null!=t;s<l;s++)(r=e[s])&&(n&&!n(r,i,o)||(a.push(r),c&&t.push(s)));return a}function me(e,t,n,i,o,r){return i&&!i[v]&&(i=me(i)),o&&!o[v]&&(o=me(o,r)),te(function(r,a,s,l){var c,u,p,f,h=[],v=[],g=a.length,y=r||function(e,t,n){for(var i=0,o=t.length;i<o;i++)J(e,t[i],n);return n}(t||"*",s.nodeType?[s]:s,[]),b=!e||!r&&t?y:he(y,h,e,s,l);if(n?n(b,f=o||(r?e:g||i)?[]:a,s,l):f=b,i)for(c=he(f,v),i(c,[],s,l),u=c.length;u--;)(p=c[u])&&(f[v[u]]=!(b[v[u]]=p));if(r){if(o||e){if(o){for(c=[],u=f.length;u--;)(p=f[u])&&c.push(b[u]=p);o(null,f=[],c,l)}for(u=f.length;u--;)(p=f[u])&&(c=o?d.call(r,p):h[u])>-1&&(r[c]=!(a[c]=p))}}else f=he(f===a?f.splice(g,f.length):f),o?o(null,a,f,l):m.apply(a,f)})}function ve(e){for(var n,o,r,a=e.length,s=t.relative[e[0].type],l=s||t.relative[" "],c=s?1:0,u=pe(function(e){return e===n},l,!0),p=pe(function(e){return d.call(n,e)>-1},l,!0),f=[function(e,t,o){var r=!s&&(o||t!=i)||((n=t).nodeType?u(e,t,o):p(e,t,o));return n=null,r}];c<a;c++)if(o=t.relative[e[c].type])f=[pe(fe(f),o)];else{if((o=t.filter[e[c].type].apply(null,e[c].matches))[v]){for(r=++c;r<a&&!t.relative[e[r].type];r++);return me(c>1&&fe(f),c>1&&de(e.slice(0,c-1).concat({value:" "===e[c-2].type?"*":""})).replace(z,"$1"),o,c<r&&ve(e.slice(c,r)),r<a&&ve(e=e.slice(r)),r<a&&de(e))}f.push(o)}return fe(f)}function ge(e,n){var o,r=[],a=[],l=k[e+" "];if(!l){for(n||(n=ue(e)),o=n.length;o--;)(l=ve(n[o]))[v]?r.push(l):a.push(l);l=k(e,function(e,n){var o=n.length>0,r=e.length>0,a=function(a,l,c,d,p){var f,h,v,g=0,b="0",w=a&&[],x=[],k=i,S=a||r&&t.find.TAG("*",p),C=y+=null==k?1:Math.random()||.1,_=S.length;for(p&&(i=l==s||l||p);b!==_&&null!=(f=S[b]);b++){if(r&&f){for(h=0,l||f.ownerDocument==s||(le(f),c=!u);v=e[h++];)if(v(f,l||s,c)){m.call(d,f);break}p&&(y=C)}o&&((f=!v&&f)&&g--,a&&w.push(f))}if(g+=b,o&&b!==g){for(h=0;v=n[h++];)v(w,x,l,c);if(a){if(g>0)for(;b--;)w[b]||x[b]||(x[b]=O.call(d));x=he(x)}m.apply(d,x),p&&!a&&x.length>0&&g+n.length>1&&T.uniqueSort(d)}return p&&(y=C,i=k),w};return o?te(a):a}(a,r)),l.selector=e}return l}function ye(e,n,i,o){var r,a,s,l,c,d="function"==typeof e&&e,p=!o&&ue(e=d.selector||e);if(i=i||[],1===p.length){if((a=p[0]=p[0].slice(0)).length>2&&"ID"===(s=a[0]).type&&9===n.nodeType&&u&&t.relative[a[1].type]){if(!(n=(t.find.ID(s.matches[0].replace(Z,G),n)||[])[0]))return i;d&&(n=n.parentNode),e=e.slice(a.shift().value.length)}for(r=U.needsContext.test(e)?0:a.length;r--&&(s=a[r],!t.relative[l=s.type]);)if((c=t.find[l])&&(o=c(s.matches[0].replace(Z,G),X.test(a[0].type)&&se(n.parentNode)||n))){if(a.splice(r,1),!(e=o.length&&de(a)))return m.apply(i,o),i;break}}return(d||ge(e,p))(o,n,!u,i,!n||X.test(e)&&se(n.parentNode)||n),i}ce.prototype=t.filters=t.pseudos,t.setFilters=new ce,g.sortStable=v.split("").sort(C).join("")===v,le(),g.sortDetached=ne(function(e){return 1&e.compareDocumentPosition(s.createElement("fieldset"))}),T.find=J,T.expr[":"]=T.expr.pseudos,T.unique=T.uniqueSort,J.compile=ge,J.select=ye,J.setDocument=le,J.tokenize=ue,J.escape=T.escapeSelector,J.getText=T.text,J.isXML=T.isXMLDoc,J.selectors=T.expr,J.supp
vendor: 5,415 bytes, line 2
2ort=T.support,J.uniqueSort=T.uniqueSort}();var N=function(e,t,n){for(var i=[],o=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(o&&T(e).is(n))break;i.push(e)}return i},H=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},R=T.expr.match.needsContext,q=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function F(e,t,n){return y(t)?T.grep(e,function(e,i){return!!t.call(e,i,e)!==n}):t.nodeType?T.grep(e,function(e){return e===t!==n}):"string"!=typeof t?T.grep(e,function(e){return d.call(t,e)>-1!==n}):T.filter(t,e,n)}T.filter=function(e,t,n){var i=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===i.nodeType?T.find.matchesSelector(i,e)?[i]:[]:T.find.matches(e,T.grep(t,function(e){return 1===e.nodeType}))},T.fn.extend({find:function(e){var t,n,i=this.length,o=this;if("string"!=typeof e)return this.pushStack(T(e).filter(function(){for(t=0;t<i;t++)if(T.contains(o[t],this))return!0}));for(n=this.pushStack([]),t=0;t<i;t++)T.find(e,o[t],n);return i>1?T.uniqueSort(n):n},filter:function(e){return this.pushStack(F(this,e||[],!1))},not:function(e){return this.pushStack(F(this,e||[],!0))},is:function(e){return!!F(this,"string"==typeof e&&R.test(e)?T(e):e||[],!1).length}});var B,U=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(T.fn.init=function(e,t,n){var i,o;if(!e)return this;if(n=n||B,"string"==typeof e){if(!(i="<"===e[0]&&">"===e[e.length-1]&&e.length>=3?[null,e,null]:U.exec(e))||!i[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(i[1]){if(t=t instanceof T?t[0]:t,T.merge(this,T.parseHTML(i[1],t&&t.nodeType?t.ownerDocument||t:w,!0)),q.test(i[1])&&T.isPlainObject(t))for(i in t)y(this[i])?this[i](t[i]):this.attr(i,t[i]);return this}return(o=w.getElementById(i[2]))&&(this[0]=o,this.length=1),this}return e.nodeType?(this[0]=e,this.length=1,this):y(e)?void 0!==n.ready?n.ready(e):e(T):T.makeArray(e,this)}).prototype=T.fn,B=T(w);var W=/^(?:parents|prev(?:Until|All))/,V={children:!0,contents:!0,next:!0,prev:!0};function Y(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}T.fn.extend({has:function(e){var t=T(e,this),n=t.length;return this.filter(function(){for(var e=0;e<n;e++)if(T.contains(this,t[e]))return!0})},closest:function(e,t){var n,i=0,o=this.length,r=[],a="string"!=typeof e&&T(e);if(!R.test(e))for(;i<o;i++)for(n=this[i];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&T.find.matchesSelector(n,e))){r.push(n);break}return this.pushStack(r.length>1?T.uniqueSort(r):r)},index:function(e){return e?"string"==typeof e?d.call(T(e),this[0]):d.call(this,e.jquery?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(T.uniqueSort(T.merge(this.get(),T(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),T.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return N(e,"parentNode")},parentsUntil:function(e,t,n){return N(e,"parentNode",n)},next:function(e){return Y(e,"nextSibling")},prev:function(e){return Y(e,"previousSibling")},nextAll:function(e){return N(e,"nextSibling")},prevAll:function(e){return N(e,"previousSibling")},nextUntil:function(e,t,n){return N(e,"nextSibling",n)},prevUntil:function(e,t,n){return N(e,"previousSibling",n)},siblings:function(e){return H((e.parentNode||{}).firstChild,e)},children:function(e){return H(e.firstChild)},contents:function(e){return null!=e.contentDocument&&s(e.contentDocument)?e.contentDocument:(A(e,"template")&&(e=e.content||e),T.merge([],e.childNodes))}},function(e,t){T.fn[e]=function(n,i){var o=T.map(this,t,n);return"Until"!==e.slice(-5)&&(i=n),i&&"string"==typeof i&&(o=T.filter(i,o)),this.length>1&&(V[e]||T.uniqueSort(o),W.test(e)&&o.reverse()),this.pushStack(o)}});var X=/[^\x20\t\r\n\f]+/g;function Z(e){return e}function G(e){throw e}function K(e,t,n,i){var o;try{e&&y(o=e.promise)?o.call(e).done(t).fail(n):e&&y(o=e.then)?o.call(e,t,n):t.apply(void 0,[e].slice(i))}catch(e){n.apply(void 0,[e])}}T.Callbacks=function(e){e="string"==typeof e?function(e){var t={};return T.each(e.match(X)||[],function(e,n){t[n]=!0}),t}(e):T.extend({},e);var t,n,i,o,r=[],a=[],s=-1,l=function(){for(o=o||e.once,i=t=!0;a.length;s=-1)for(n=a.shift();++s<r.length;)!1===r[s].apply(n[0],n[1])&&e.stopOnFalse&&(s=r.length,n=!1);e.memory||(n=!1),t=!1,o&&(r=n?[]:"")},c={add:function(){return r&&(n&&!t&&(s=r.length-1,a.push(n)),function t(n){T.each(n,function(n,i){y(i)?e.unique&&c.has(i)||r.push(i):i&&i.length&&"string"!==S(i)&&t(i)})}(arguments),n&&!t&&l()),this},remove:function(){return T.each(arguments,function(e,t){for(var n;(n=T.inArray(t,r,n))>-1;)r.splice(n,1),n<=s&&s--}),this},has:function(e){return e?T.inArray(e,r)>-1:r.length>0},empty:function(){return r&&(r=[]),this},disable:function(){return o=a=[],r=n="",this},disabled:function(){return!r},lock:function(){return o=a=[],n||t||(r=n=""),this},locked:function(){return!!o},fireWith:function(e,n){return o||(n=[e,(n=n||[]).slice?n.slice():n],a.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!i}};return c},T.extend({Deferred:function(e){var t=[["notify","progress",T.Callbacks("memory"),T.Callbacks("memory"),2],["resolve","done",T.Callbacks("once memory"),T.Callbacks("once memory"),0,"resolved"],["reject","fail",T.Callbacks("once memory"),T.Callbacks("once memory"),1,"rejected"]],i="pe
2nding",r={state:function(){return i},always:function(){return a.done(arguments).fail(arguments),this},catch:function(e){return r.then(null,e)},pipe:function(){var e=arguments;return T.Deferred(function(n){T.each(t,function(t,i){var o=y(e[i[4]])&&e[i[4]];a[i[1]](function(){var e=o&&o.apply(this,arguments);e&&y(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[i[0]+"With"](this,o?[e]:arguments)})}),e=null}).promise()},then:function(e,i,r){var a=0;function s(e,t,i,r){return function(){var l=this,c=arguments,u=function(){var n,u;if(!(e<a)){if((n=i.apply(l,c))===t.promise())throw new TypeError("Thenable self-resolution");u=n&&("object"===o(n)||"function"==typeof n)&&n.then,y(u)?r?u.call(n,s(a,t,Z,r),s(a,t,G,r)):(a++,u.call(n,s(a,t,Z,r),s(a,t,G,r),s(a,t,Z,t.notifyWith))):(i!==Z&&(l=void 0,c=[n]),(r||t.resolveWith)(l,c))}},d=r?u:function(){try{u()}catch(n){T.Deferred.exceptionHook&&T.Deferred.exceptionHook(n,d.error),e+1>=a&&(i!==G&&(l=void 0,c=[n]),t.rejectWith(l,c))}};e?d():(T.Deferred.getErrorHook?d.error=T.Deferred.getErrorHook():T.Deferred.getStackHook&&(d.error=T.Deferred.getStackHook()),n.setTimeout(d))}}return T.Deferred(function(n){t[0][3].add(s(0,n,y(r)?r:Z,n.notifyWith)),t[1][3].add(s(0,n,y(e)?e:Z)),t[2][3].add(s(0,n,y(i)?i:G))}).promise()},promise:function(e){return null!=e?T.extend(e,r):r}},a={};return T.each(t,function(e,n){var o=n[2],s=n[5];r[n[1]]=o.add,s&&o.add(function(){i=s},t[3-e][2].disable,t[3-e][3].disable,t[0][2].lock,t[0][3].lock),o.add(n[3].fire),a[n[0]]=function(){return a[n[0]+"With"](this===a?void 0:this,arguments),this},a[n[0]+"With"]=o.fireWith}),r.promise(a),e&&e.call(a,a),a},when:function(e){var t=arguments.length,n=t,i=Array(n),o=l.call(arguments),r=T.Deferred(),a=function(e){return function(n){i[e]=this,o[e]=arguments.length>1?l.call(arguments):n,--t||r.resolveWith(i,o)}};if(t<=1&&(K(e,r.done(a(n)).resolve,r.reject,!t),"pending"===r.state()||y(o[n]&&o[n].then)))return r.then();for(;n--;)K(o[n],a(n),r.reject);return r.promise()}});var Q=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;T.Deferred.exceptionHook=function(e,t){n.console&&n.console.warn&&e&&Q.test(e.name)&&n.console.warn("jQuery.Deferred exception: "+e.message,e.stack,t)},T.readyException=function(e){n.setTimeout(function(){throw e})};var J=T.Deferred();function ee(){w.removeEventListener("DOMContentLoaded",ee),n.removeEventListener("load",ee),T.ready()}T.fn.ready=function(e){return J.then(e).catch(function(e){T.readyException(e)}),this},T.extend({isReady:!1,readyWait:1,ready:function(e){(!0===e?--T.readyWait:T.isReady)||(T.isReady=!0,!0!==e&&--T.readyWait>0||J.resolveWith(w,[T]))}}),T.ready.then=J.then,"complete"===w.readyState||"loading"!==w.readyState&&!w.documentElement.doScroll?n.setTimeout(T.ready):(w.addEventListener("DOMContentLoaded",ee),n.addEventListener("load",ee));var te=function(e,t,n,i,o,r,a){var s=0,l=e.length,c=null==n;if("object"===S(n))for(s in o=!0,n)te(e,t,s,n[s],!0,r,a);else if(void 0!==i&&(o=!0,y(i)||(a=!0),c&&(a?(t.call(e,i),t=null):(c=t,t=function(e,t,n){return c.call(T(e),n)})),t))for(;s<l;s++)t(e[s],n,a?i:i.call(e[s],s,t(e[s],n)));return o?e:c?t.call(e):l?t(e[0],n):r},ne=/^-ms-/,ie=/-([a-z])/g;function oe(e,t){return t.toUpperCase()}function re(e){return e.replace(ne,"ms-").replace(ie,oe)}var ae=function(e){return 1===e.nodeType||9===e.nodeType||!+e.nodeType};function se(){this.expando=T.expando+se.uid++}se.uid=1,se.prototype={cache:function(e){var t=e[this.expando];return t||(t={},ae(e)&&(e.nodeType?e[this.expando]=t:Object.defineProperty(e,this.expando,{value:t,configurable:!0}))),t},set:function(e,t,n){var i,o=this.cache(e);if("string"==typeof t)o[re(t)]=n;else for(i in t)o[re(i)]=t[i];return o},get:function(e,t){return void 0===t?this.cache(e):e[this.expando]&&e[this.expando][re(t)]},access:function(e,t,n){return void 0===t||t&&"string"==typeof t&&void 0===n?this.get(e,t):(this.set(e,t,n),void 0!==n?n:t)},remove:function(e,t){var n,i=e[this.expando];if(void 0!==i){if(void 0!==t){n=(t=Array.isArray(t)?t.map(re):(t=re(t))in i?[t]:t.match(X)||[]).length;for(;n--;)delete i[t[n]]}(void 0===t||T.isEmptyObject(i))&&(e.nodeType?e[this.expando]=void 0:delete e[this.expando])}},hasData:function(e){var t=e[this.expando];return void 0!==t&&!T.isEmptyObject(t)}};var le=new se,ce=new se,ue=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,de=/[A-Z]/g;function pe(e,t,n){var i;if(void 0===n&&1===e.nodeType)if(i="data-"+t.replace(de,"-$&").toLowerCase(),"string"==typeof(n=e.getAttribute(i))){try{n=function(e){return"true"===e||"false"!==e&&("null"===e?null:e===+e+""?+e:ue.test(e)?JSON.parse(e):e)}(n)}catch(e){}ce.set(e,t,n)}else n=void 0;return n}T.extend({hasData:function(e){return ce.hasData(e)||le.hasData(e)},data:function(e,t,n){return ce.access(e,t,n)},removeData:function(e,t){ce.remove(e,t)},_data:function(e,t,n){return le.access(e,t,n)},_removeData:function(e,t){le.remove(e,t)}}),T.fn.extend({data:function(e,t){var n,i,r,a=this[0],s=a&&a.attributes;if(void 0===e){if(this.length&&(r=ce.get(a),1===a.nodeType&&!le.get(a,"hasDataAttrs"))){for(n=s.length;n--;)s[n]&&0===(i=s[n].name).indexOf("data-")&&(i=re(i.slice(5)),pe(a,i,r[i]));le.set(a,"hasDataAttrs",!0)}return r}return"object"===o(e)?this.each(function(){ce.set(this,e)}):te(this,function(t){var n;if(a&&void 0===t)return void 0!==(n=ce.get(a,e))||void 0!==(n=pe(a,e))?n:void 0;this.each(function(){ce.set(this,e,t)})},null,t,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){ce.remove(this,e)})}}),T.extend({queue:function(e,t,n){var i;if(e)return t=(t||"fx")+"queue",i=le.get(e,t),n&&(!i||Array.isArray(n)?i=le.access(e,t,T.makeArray(n)):i.push(n)),i||[]},dequeue:function(e,t){t=t||"fx";var n=T.queue(e,t),i=n.length,o=n.shift(),r=T._queueHooks(e,t);"inprogress"===o&&(o=n.shift(),i--),o&&("fx"===t&&n.unshift("inprogress"),delete r.stop,o.call(e,function(){T.dequeue(e,t)},r)),!i&&r&&r.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return le.get(e,n)||le.access(e,n,{empty:T.Callbacks("once memory").add(function(){le.remove(e,[t+"queue",n])})})}}),T.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?T.queue(this[0],e):void 0===t?this:this.each(function(){var n=T.queue(this,e,t);T._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&T.dequeue(this,e)})},dequeue:function(e){return this.each(function(){T.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,i=1,o=T.Deferred(),r=this,a=this.length,s=function(){--i||o.resolveWith(r,[r])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)(n=le.get(r[a],e+"queueHooks"))&&n.empty&&(i++,n.empty.add(s));return s(),o.promise(t)}});var fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,he=new RegExp("^(?:([+-])=|)("+fe+")([a-z%]*)$","i"),me=["Top","Right","Bottom","Left"],ve=w.documentElement,ge=function(e){return T.contains(e.ownerDocument,e)},ye={composed:!0};ve.getRootNode&&(ge=function(e){return T.contains(e.ownerDocument,e)||e.getRootNode(ye)===e.ownerDocument});var be=function(e,t){return"none"===(e=t||e).style.display||""===e.style.display&&ge(e)&&"none"===T.css(e,"display")};function we(e,t,n,i){var o,r,a=20,s=i?function(){return i.cur()}:function(){return T.css(e,t,"")},l=s(),c=n&&n[3]||(T.cssNumber[t]?"":"px"),u=e.nodeType&&(T.cssNumber[t]||"px"!==c&&+l)&&he.exec(T.css(e,t));if(u&&u[3]!==c){for(l/=2,c=c||u[3],u=+l||1;a--;)T.style(e,t,u+c),(1-r)*(1-(r=s()/l||.5))<=0&&(a=0),u/=r;u*=2,T.style(e,t,u+c),n=n||[]}return n&&(u=+u||+l||0,o=n[1]?u+(n[1]+1)*n[2]:+n[2],i&&(i.unit=c,i.start=u,i.end=o)),o}var xe={};function ke(e){var t,n=e.ownerDocument,i=e.nodeName,o=xe[i];return o||(t=n.body.appendChild(n.createElement(i)),o=T.css(t,"display"),t.parentNode.removeChild(t),"none"===o&&(o="block"),xe[i]=o,o)}function Se(e,t){for(var n,i,o=[],r=0,a=e.length;r<a;r++)(i=e[r]).style&&(n=i.style.display,t?("none"===n&&(o[r]=le.get(i,"display")||null,o[r]||(i.style.display="")),""===i.style.display&&be(i)&&(o[r]=ke(i))):"none"!==n&&(o[r]="none",le.set(i,"display",n)));for(r=0;r<a;r++)null!=o[r]&&(e[r].style.display=o[r]);return e}T.fn.extend({show:function(){return Se(this,!0)},hide:function(){return Se(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){be(this)?T(this).show():T(this).hide()})}});var Ce,_e,Te=/^(?:checkbox|radio)$/i,Ee=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,Ae=/^$|^module$|\/(?:java|ecma)script/i;Ce=w.createDocumentFragment().appendChild(w.createElement("div")),(_e=w.createElement("input")).setAttribute("type","radio"),_e.setAttribute("checked","checked"),_e.setAttribute("name","t"),Ce.appendChild(_e),g.checkClone
vendor: 5,709 bytes, line 2
2=Ce.cloneNode(!0).cloneNode(!0).lastChild.checked,Ce.innerHTML="<textarea>x</textarea>",g.noCloneChecked=!!Ce.cloneNode(!0).lastChild.defaultValue,Ce.innerHTML="<option></option>",g.option=!!Ce.lastChild;var Oe={thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};function $e(e,t){var n;return n=void 0!==e.getElementsByTagName?e.getElementsByTagName(t||"*"):void 0!==e.querySelectorAll?e.querySelectorAll(t||"*"):[],void 0===t||t&&A(e,t)?T.merge([e],n):n}function Le(e,t){for(var n=0,i=e.length;n<i;n++)le.set(e[n],"globalEval",!t||le.get(t[n],"globalEval"))}Oe.tbody=Oe.tfoot=Oe.colgroup=Oe.caption=Oe.thead,Oe.th=Oe.td,g.option||(Oe.optgroup=Oe.option=[1,"<select multiple='multiple'>","</select>"]);var Pe=/<|&#?\w+;/;function ze(e,t,n,i,o){for(var r,a,s,l,c,u,d=t.createDocumentFragment(),p=[],f=0,h=e.length;f<h;f++)if((r=e[f])||0===r)if("object"===S(r))T.merge(p,r.nodeType?[r]:r);else if(Pe.test(r)){for(a=a||d.appendChild(t.createElement("div")),s=(Ee.exec(r)||["",""])[1].toLowerCase(),l=Oe[s]||Oe._default,a.innerHTML=l[1]+T.htmlPrefilter(r)+l[2],u=l[0];u--;)a=a.lastChild;T.merge(p,a.childNodes),(a=d.firstChild).textContent=""}else p.push(t.createTextNode(r));for(d.textContent="",f=0;r=p[f++];)if(i&&T.inArray(r,i)>-1)o&&o.push(r);else if(c=ge(r),a=$e(d.appendChild(r),"script"),c&&Le(a),n)for(u=0;r=a[u++];)Ae.test(r.type||"")&&n.push(r);return d}var De=/^([^.]*)(?:\.(.+)|)/;function Ie(){return!0}function je(){return!1}function Me(e,t,n,i,r,a){var s,l;if("object"===o(t)){for(l in"string"!=typeof n&&(i=i||n,n=void 0),t)Me(e,l,n,i,t[l],a);return e}if(null==i&&null==r?(r=n,i=n=void 0):null==r&&("string"==typeof n?(r=i,i=void 0):(r=i,i=n,n=void 0)),!1===r)r=je;else if(!r)return e;return 1===a&&(s=r,r=function(e){return T().off(e),s.apply(this,arguments)},r.guid=s.guid||(s.guid=T.guid++)),e.each(function(){T.event.add(this,t,r,i,n)})}function Ne(e,t,n){n?(le.set(e,t,!1),T.event.add(e,t,{namespace:!1,handler:function(e){var n,i=le.get(this,t);if(1&e.isTrigger&&this[t]){if(i)(T.event.special[t]||{}).delegateType&&e.stopPropagation();else if(i=l.call(arguments),le.set(this,t,i),this[t](),n=le.get(this,t),le.set(this,t,!1),i!==n)return e.stopImmediatePropagation(),e.preventDefault(),n}else i&&(le.set(this,t,T.event.trigger(i[0],i.slice(1),this)),e.stopPropagation(),e.isImmediatePropagationStopped=Ie)}})):void 0===le.get(e,t)&&T.event.add(e,t,Ie)}T.event={global:{},add:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,h,m,v=le.get(e);if(ae(e))for(n.handler&&(n=(r=n).handler,o=r.selector),o&&T.find.matchesSelector(ve,o),n.guid||(n.guid=T.guid++),(l=v.events)||(l=v.events=Object.create(null)),(a=v.handle)||(a=v.handle=function(t){return void 0!==T&&T.event.triggered!==t.type?T.event.dispatch.apply(e,arguments):void 0}),c=(t=(t||"").match(X)||[""]).length;c--;)f=m=(s=De.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f&&(d=T.event.special[f]||{},f=(o?d.delegateType:d.bindType)||f,d=T.event.special[f]||{},u=T.extend({type:f,origType:m,data:i,handler:n,guid:n.guid,selector:o,needsContext:o&&T.expr.match.needsContext.test(o),namespace:h.join(".")},r),(p=l[f])||((p=l[f]=[]).delegateCount=0,d.setup&&!1!==d.setup.call(e,i,h,a)||e.addEventListener&&e.addEventListener(f,a)),d.add&&(d.add.call(e,u),u.handler.guid||(u.handler.guid=n.guid)),o?p.splice(p.delegateCount++,0,u):p.push(u),T.event.global[f]=!0)},remove:function(e,t,n,i,o){var r,a,s,l,c,u,d,p,f,h,m,v=le.hasData(e)&&le.get(e);if(v&&(l=v.events)){for(c=(t=(t||"").match(X)||[""]).length;c--;)if(f=m=(s=De.exec(t[c])||[])[1],h=(s[2]||"").split(".").sort(),f){for(d=T.event.special[f]||{},p=l[f=(i?d.delegateType:d.bindType)||f]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=r=p.length;r--;)u=p[r],!o&&m!==u.origType||n&&n.guid!==u.guid||s&&!s.test(u.namespace)||i&&i!==u.selector&&("**"!==i||!u.selector)||(p.splice(r,1),u.selector&&p.delegateCount--,d.remove&&d.remove.call(e,u));a&&!p.length&&(d.teardown&&!1!==d.teardown.call(e,h,v.handle)||T.removeEvent(e,f,v.handle),delete l[f])}else for(f in l)T.event.remove(e,f+t[c],n,i,!0);T.isEmptyObject(l)&&le.remove(e,"handle events")}},dispatch:function(e){var t,n,i,o,r,a,s=new Array(arguments.length),l=T.event.fix(e),c=(le.get(this,"events")||Object.create(null))[l.type]||[],u=T.event.special[l.type]||{};for(s[0]=l,t=1;t<arguments.length;t++)s[t]=arguments[t];if(l.delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,l)){for(a=T.event.handlers.call(this,l,c),t=0;(o=a[t++])&&!l.isPropagationStopped();)for(l.currentTarget=o.elem,n=0;(r=o.handlers[n++])&&!l.isImmediatePropagationStopped();)l.rnamespace&&!1!==r.namespace&&!l.rnamespace.test(r.namespace)||(l.handleObj=r,l.data=r.data,void 0!==(i=((T.event.special[r.origType]||{}).handle||r.handler).apply(o.elem,s))&&!1===(l.result=i)&&(l.preventDefault(),l.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,l),l.result}},handlers:function(e,t){var n,i,o,r,a,s=[],l=t.delegateCount,c=e.target;if(l&&c.nodeType&&!("click"===e.type&&e.button>=1))for(;c!==this;c=c.parentNode||this)if(1===c.nodeType&&("click"!==e.type||!0!==c.disabled)){for(r=[],a={},n=0;n<l;n++)void 0===a[o=(i=t[n]).selector+" "]&&(a[o]=i.needsContext?T(o,this).index(c)>-1:T.find(o,this,null,[c]).length),a[o]&&r.push(i);r.length&&s.push({elem:c,handlers:r})}return c=this,l<t.length&&s.push({elem:c,handlers:t.slice(l)}),s},addProp:function(e,t){Object.defineProperty(T.Event.prototype,e,{enumerable:!0,configurable:!0,get:y(t)?function(){if(this.originalEvent)return t(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[e]}
vendor: 10,315 bytes, line 2
2,set:function(t){Object.defineProperty(this,e,{enumerable:!0,configurable:!0,writable:!0,value:t})}})},fix:function(e){return e[T.expando]?e:new T.Event(e)},special:{load:{noBubble:!0},click:{setup:function(e){var t=this||e;return Te.test(t.type)&&t.click&&A(t,"input")&&Ne(t,"click",!0),!1},trigger:function(e){var t=this||e;return Te.test(t.type)&&t.click&&A(t,"input")&&Ne(t,"click"),!0},_default:function(e){var t=e.target;return Te.test(t.type)&&t.click&&A(t,"input")&&le.get(t,"click")||A(t,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}}},T.removeEvent=function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)},T.Event=function(e,t){if(!(this instanceof T.Event))return new T.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&!1===e.returnValue?Ie:je,this.target=e.target&&3===e.target.nodeType?e.target.parentNode:e.target,this.currentTarget=e.currentTarget,this.relatedTarget=e.relatedTarget):this.type=e,t&&T.extend(this,t),this.timeStamp=e&&e.timeStamp||Date.now(),this[T.expando]=!0},T.Event.prototype={constructor:T.Event,isDefaultPrevented:je,isPropagationStopped:je,isImmediatePropagationStopped:je,isSimulated:!1,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=Ie,e&&!this.isSimulated&&e.preventDefault()},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=Ie,e&&!this.isSimulated&&e.stopPropagation()},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=Ie,e&&!this.isSimulated&&e.stopImmediatePropagation(),this.stopPropagation()}},T.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,char:!0,code:!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:!0},T.event.addProp),T.each({focus:"focusin",blur:"focusout"},function(e,t){function n(e){if(w.documentMode){var n=le.get(this,"handle"),i=T.event.fix(e);i.type="focusin"===e.type?"focus":"blur",i.isSimulated=!0,n(e),i.target===i.currentTarget&&n(i)}else T.event.simulate(t,e.target,T.event.fix(e))}T.event.special[e]={setup:function(){var i;if(Ne(this,e,!0),!w.documentMode)return!1;(i=le.get(this,t))||this.addEventListener(t,n),le.set(this,t,(i||0)+1)},trigger:function(){return Ne(this,e),!0},teardown:function(){var e;if(!w.documentMode)return!1;(e=le.get(this,t)-1)?le.set(this,t,e):(this.removeEventListener(t,n),le.remove(this,t))},_default:function(t){return le.get(t.target,e)},delegateType:t},T.event.special[t]={setup:function(){var i=this.ownerDocument||this.document||this,o=w.documentMode?this:i,r=le.get(o,t);r||(w.documentMode?this.addEventListener(t,n):i.addEventListener(e,n,!0)),le.set(o,t,(r||0)+1)},teardown:function(){var i=this.ownerDocument||this.document||this,o=w.documentMode?this:i,r=le.get(o,t)-1;r?le.set(o,t,r):(w.documentMode?this.removeEventListener(t,n):i.removeEventListener(e,n,!0),le.remove(o,t))}}}),T.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){T.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,i=e.relatedTarget,o=e.handleObj;return i&&(i===this||T.contains(this,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),T.fn.extend({on:function(e,t,n,i){return Me(this,e,t,n,i)},one:function(e,t,n,i){return Me(this,e,t,n,i,1)},off:function(e,t,n){var i,r;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,T(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"===o(e)){for(r in e)this.off(r,t,e[r]);return this}return!1!==t&&"function"!=typeof t||(n=t,t=void 0),!1===n&&(n=je),this.each(function(){T.event.remove(this,e,n,t)})}});var He=/<script|<style|<link/i,Re=/checked\s*(?:[^=]|=\s*.checked.)/i,qe=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Fe(e,t){return A(e,"table")&&A(11!==t.nodeType?t:t.firstChild,"tr")&&T(e).children("tbody")[0]||e}function Be(e){return e.type=(null!==e.getAttribute("type"))+"/"+e.type,e}function Ue(e){return"true/"===(e.type||"").slice(0,5)?e.type=e.type.slice(5):e.removeAttribute("type"),e}function We(e,t){var n,i,o,r,a,s;if(1===t.nodeType){if(le.hasData(e)&&(s=le.get(e).events))for(o in le.remove(t,"handle events"),s)for(n=0,i=s[o].length;n<i;n++)T.event.add(t,o,s[o][n]);ce.hasData(e)&&(r=ce.access(e),a=T.extend({},r),ce.set(t,a))}}function Ve(e,t){var n=t.nodeName.toLowerCase();"input"===n&&Te.test(e.type)?t.checked=e.checked:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}function Ye(e,t,n,i){t=c(t);var o,r,a,s,l,u,d=0,p=e.length,f=p-1,h=t[0],m=y(h);if(m||p>1&&"string"==typeof h&&!g.checkClone&&Re.test(h))return e.each(function(o){var r=e.eq(o);m&&(t[0]=h.call(this,o,r.html())),Ye(r,t,n,i)});if(p&&(r=(o=ze(t,e[0].ownerDocument,!1,e,i)).firstChild,1===o.childNodes.length&&(o=r),r||i)){for(s=(a=T.map($e(o,"script"),Be)).length;d<p;d++)l=o,d!==f&&(l=T.clone(l,!0,!0),s&&T.merge(a,$e(l,"script"))),n.call(e[d],l,d);if(s)for(u=a[a.length-1].ownerDocument,T.map(a,Ue),d=0;d<s;d++)l=a[d],Ae.test(l.type||"")&&!le.access(l,"globalEval")&&T.contains(u,l)&&(l.src&&"module"!==(l.type||"").toLowerCase()?T._evalUrl&&!l.noModule&&T._evalUrl(l.src,{nonce:l.nonce||l.getAttribute("nonce")},u):k(l.textContent.replace(qe,""),l,u))}return e}function Xe(e,t,n){for(var i,o=t?T.filter(t,e):e,r=0;null!=(i=o[r]);r++)n||1!==i.nodeType||T.cleanData($e(i)),i.parentNode&&(n&&ge(i)&&Le($e(i,"script")),i.parentNode.removeChild(i));return e}T.extend({htmlPrefilter:function(e){return e},clone:function(e,t,n){var i,o,r,a,s=e.cloneNode(!0),l=ge(e);if(!(g.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||T.isXMLDoc(e)))for(a=$e(s),i=0,o=(r=$e(e)).length;i<o;i++)Ve(r[i],a[i]);if(t)if(n)for(r=r||$e(e),a=a||$e(s),i=0,o=r.length;i<o;i++)We(r[i],a[i]);else We(e,s);return(a=$e(s,"script")).length>0&&Le(a,!l&&$e(e,"script")),s},cleanData:function(e){for(var t,n,i,o=T.event.special,r=0;void 0!==(n=e[r]);r++)if(ae(n)){if(t=n[le.expando]){if(t.events)for(i in t.events)o[i]?T.event.remove(n,i):T.removeEvent(n,i,t.handle);n[le.expando]=void 0}n[ce.expando]&&(n[ce.expando]=void 0)}}}),T.fn.extend({detach:function(e){return Xe(this,e,!0)},remove:function(e){return Xe(this,e)},text:function(e){return te(this,function(e){return void 0===e?T.text(this):this.empty().each(function(){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||(this.textContent=e)})},null,e,arguments.length)},append:function(){return Ye(this,arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||Fe(this,e).appendChild(e)})},prepend:function(){return Ye(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=Fe(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return Ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return Ye(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++)1===e.nodeType&&(T.cleanData($e(e,!1)),e.textContent="");return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return T.clone(this,e,t)})},html:function(e){return te(this,function(e){var t=this[0]||{},n=0,i=this.length;if(void 0===e&&1===t.nodeType)return t.innerHTML;if("string"==typeof e&&!He.test(e)&&!Oe[(Ee.exec(e)||["",""])[1].toLowerCase()]){e=T.htmlPrefilter(e);try{for(;n<i;n++)1===(t=this[n]||{}).nodeType&&(T.cleanData($e(t,!1)),t.innerHTML=e);t=0}catch(e){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return Ye(this,arguments,function(t){var n=this.parentNode;T.inArray(this,e)<0&&(T.cleanData($e(this)),n&&n.replaceChild(t,this))},e)}}),T.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){T.fn[e]=function(e){for(var n,i=[],o=T(e),r=o.length-1,a=0;a<=r;a++)n=a===r?this:this.clone(!0),T(o[a])[t](n),u.apply(i,n.get());return this.pushStack(i)}});var Ze=new RegExp("^("+fe+")(?!px)[a-z%]+$","i"),Ge=/^--/,Ke=function(e){var t=e.ownerDocument.defaultView;return t&&t.opener||(t=n),t.getComputedStyle(e)},Qe=function(e,t,n){var i,o,r={};for(o in t)r[o]=e.style[o],e.style[o]=t[o];for(o in i=n.call(e),t)e.style[o]=r[o];return i},Je=new RegExp(me.join("|"),"i");function et(e,t,n){var i,o,r,a,s=Ge.test(t),l=e.style;return(n=n||Ke(e))&&(a=n.getPropertyValue(t)||n[t],s&&a&&(a=a.replace(z,"$1")||void 0),""!==a||ge(e)||(a=T.style(e,t)),!g.pixelBoxStyles()&&Ze.test(a)&&Je.test(t)&&(i=l.width,o=l.minWidth,r=l.maxWidth,l.minWidth=l.maxWidth=l.width=a,a=n.width,l.width=i,l.minWidth=o,l.maxWidth=r)),void 0!==a?a+"":a}function tt(e,t){return{get:function(){if(!e())return(this.get=t).apply(this,arguments);delete this.get}}}!function(){function e(){if(u){c.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%",ve.appendChild(c).appendChild(u);var e=n.getComputedStyle(u);i="1%"!==e.top,l=12===t(e.marginLeft),u.style.right="60%",a=36===t(e.right),o=36===t(e.width),u.style.position="absolute",r=12===t(u.offsetWidth/3),ve.removeChild(c),u=null}}function t(e){return Math.round(parseFloat(e))}var i,o,r,a,s,l,c=w.createElement("div"),u=w.createElement("div");u.style&&(u.style.backgroundClip="content-box",u.cloneNode(!0).style.backgroundClip="",g.clearCloneStyle="content-box"===u.style.backgroundClip,T.extend(g,{boxSizingReliable:function(){return e(),o},pixelBoxStyles:function(){return e(),a},pixelPosition:function(){return e(),i},reliableMarginLeft:function(){return e(),l},scrollboxSize:function(){return e(),r},reliableTrDimensions:function(){var e,t,i,o;return null==s&&(e=w.createElement("table"),t=w.createElement("tr"),i=w.createElement("div"),e.style.cssText="position:absolute;left:-11111px;border-collapse:separate",t.style.cssText="box-sizing:content-box;
2border:1px solid",t.style.height="1px",i.style.height="9px",i.style.display="block",ve.appendChild(e).appendChild(t).appendChild(i),o=n.getComputedStyle(t),s=parseInt(o.height,10)+parseInt(o.borderTopWidth,10)+parseInt(o.borderBottomWidth,10)===t.offsetHeight,ve.removeChild(e)),s}}))}();var nt=["Webkit","Moz","ms"],it=w.createElement("div").style,ot={};function rt(e){return T.cssProps[e]||ot[e]||(e in it?e:ot[e]=function(e){for(var t=e[0].toUpperCase()+e.slice(1),n=nt.length;n--;)if((e=nt[n]+t)in it)return e}(e)||e)}var at=/^(none|table(?!-c[ea]).+)/,st={position:"absolute",visibility:"hidden",display:"block"},lt={letterSpacing:"0",fontWeight:"400"};function ct(e,t,n){var i=he.exec(t);return i?Math.max(0,i[2]-(n||0))+(i[3]||"px"):t}function ut(e,t,n,i,o,r){var a="width"===t?1:0,s=0,l=0,c=0;if(n===(i?"border":"content"))return 0;for(;a<4;a+=2)"margin"===n&&(c+=T.css(e,n+me[a],!0,o)),i?("content"===n&&(l-=T.css(e,"padding"+me[a],!0,o)),"margin"!==n&&(l-=T.css(e,"border"+me[a]+"Width",!0,o))):(l+=T.css(e,"padding"+me[a],!0,o),"padding"!==n?l+=T.css(e,"border"+me[a]+"Width",!0,o):s+=T.css(e,"border"+me[a]+"Width",!0,o));return!i&&r>=0&&(l+=Math.max(0,Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-r-l-s-.5))||0),l+c}function dt(e,t,n){var i=Ke(e),o=(!g.boxSizingReliable()||n)&&"border-box"===T.css(e,"boxSizing",!1,i),r=o,a=et(e,t,i),s="offset"+t[0].toUpperCase()+t.slice(1);if(Ze.test(a)){if(!n)return a;a="auto"}return(!g.boxSizingReliable()&&o||!g.reliableTrDimensions()&&A(e,"tr")||"auto"===a||!parseFloat(a)&&"inline"===T.css(e,"display",!1,i))&&e.getClientRects().length&&(o="border-box"===T.css(e,"boxSizing",!1,i),(r=s in e)&&(a=e[s])),(a=parseFloat(a)||0)+ut(e,t,n||(o?"border":"content"),r,i,a)+"px"}function pt(e,t,n,i,o){return new pt.prototype.init(e,t,n,i,o)}T.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=et(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(e,t,n,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var r,a,s,l=re(t),c=Ge.test(t),u=e.style;if(c||(t=rt(l)),s=T.cssHooks[t]||T.cssHooks[l],void 0===n)return s&&"get"in s&&void 0!==(r=s.get(e,!1,i))?r:u[t];"string"===(a=o(n))&&(r=he.exec(n))&&r[1]&&(n=we(e,t,r),a="number"),null!=n&&n==n&&("number"!==a||c||(n+=r&&r[3]||(T.cssNumber[l]?"":"px")),g.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),s&&"set"in s&&void 0===(n=s.set(e,n,i))||(c?u.setProperty(t,n):u[t]=n))}},css:function(e,t,n,i){var o,r,a,s=re(t);return Ge.test(t)||(t=rt(s)),(a=T.cssHooks[t]||T.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=et(e,t,i)),"normal"===o&&t in lt&&(o=lt[t]),""===n||n?(r=parseFloat(o),!0===n||isFinite(r)?r||0:o):o}}),T.each(["height","width"],function(e,t){T.cssHooks[t]={get:function(e,n,i){if(n)return!at.test(T.css(e,"display"))||e.getClientRects().length&&e.getBoundingClientRect().width?dt(e,t,i):Qe(e,st,function(){return dt(e,t,i)})},set:function(e,n,i){var o,r=Ke(e),a=!g.scrollboxSize()&&"absolute"===r.position,s=(a||i)&&"border-box"===T.css(e,"boxSizing",!1,r),l=i?ut(e,t,i,s,r):0;return s&&a&&(l-=Math.ceil(e["offset"+t[0].toUpperCase()+t.slice(1)]-parseFloat(r[t])-ut(e,t,"border",!1,r)-.5)),l&&(o=he.exec(n))&&"px"!==(o[3]||"px")&&(e.style[t]=n,n=T.css(e,t)),ct(0,n,l)}}}),T.cssHooks.marginLeft=tt(g.reliableMarginLeft,function(e,t){if(t)return(parseFloat(et(e,"marginLeft"))||e.getBoundingClientRect().left-Qe(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}))+"px"}),T.each({margin:"",padding:"",border:"Width"},function(e,t){T.cssHooks[e+t]={expand:function(n){for(var i=0,o={},r="string"==typeof n?n.split(" "):[n];i<4;i++)o[e+me[i]+t]=r[i]||r[i-2]||r[0];return o}},"margin"!==e&&(T.cssHooks[e+t].set=ct)}),T.fn.extend({css:function(e,t){return te(this,function(e,t,n){var i,o,r={},a=0;if(Array.isArray(t)){for(i=Ke(e),o=t.length;a<o;a++)r[t[a]]=T.css(e,t[a],!1,i);return r}return void 0!==n?T.style(e,t,n):T.css(e,t)},e,t,arguments.length>1)}}),T.Tween=pt,pt.prototype={constructor:pt,init:function(e,t,n,i,o,r){this.elem=e,this.prop=n,this.easing=o||T.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=i,this.unit=r||(T.cssNumber[n]?"":"px")},cur:function(){var e=pt.propHooks[this.prop];return e&&e.get?e.get(this):pt.propHooks._default.get(this)},run:function(e){var t,n=pt.propHooks[this.prop];return this.options.duration?this.pos=t=T.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):pt.propHooks._default.set(this),this}},pt.prototype.init.prototype=pt.prototype,pt.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=T.css(e.elem,e.prop,""))&&"auto"!==t?t:0},set:function(e){T.fx.step[e.prop]?T.fx.step[e.prop](e):1!==e.elem.nodeType||!T.cssHooks[e.prop]&&null==e.elem.style[rt(e.prop)]?e.elem[e.prop]=e.now:T.style(e.elem,e.prop,e.now+e.unit)}}},pt.propHooks.scrollTop=pt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},T.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},T.fx=pt.prototype.init,T.fx.step={};var ft,ht,mt=/^(?:toggle|show|hide)$/,vt=/queueHooks$/;function gt(){ht&&(!1===w.hidden&&n.requestAnimationFrame?n.requestAnimationFrame(gt):n.setTimeout(gt,T.fx.interval),T.fx.tick())}function yt(){return n.setTimeout(function(){ft=void 0}),ft=Date.now()}function bt(e,t){var n,i=0,o={height:e};for(t=t?1:0;i<4;i+=2-t)o["margin"+(n=me[i])]=o["padding"+n]=e;return t&&(o.opacity=o.width=e),o}function wt(e,t,n){for(var i,o=(xt.tweeners[t]||[]).concat(xt.tweeners["*"]),r=0,a=o.length;r<a;r++)if(i=o[r].call(n,t,e))return i}function xt(e,t,n){var i,o,r=0,a=xt.prefilters.length,s=T.Deferred().always(function(){delete l.elem}),l=function(){if(o)return!1;for(var t=ft||yt(),n=Math.max(0,c.startTime+c.duration-t),i=1-(n/c.duration||0),r=0,a=c.tweens.length;r<a;r++)c.tweens[r].run(i);return s.notifyWith(e,[c,i,n]),i<1&&a?n:(a||s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c]),!1)},c=s.promise({elem:e,props:T.extend({},t),opts:T.extend(!0,{specialEasing:{},easing:T.easing._default},n),originalProperties:t,originalOptions:n,startTime:ft||yt(),duration:n.duration,tweens:[],createTween:function(t,n){var i=T.Tween(e,c.opts,t,n,c.opts.specialEasing[t]||
vendor: 1,607 bytes, line 2
2c.opts.easing);return c.tweens.push(i),i},stop:function(t){var n=0,i=t?c.tweens.length:0;if(o)return this;for(o=!0;n<i;n++)c.tweens[n].run(1);return t?(s.notifyWith(e,[c,1,0]),s.resolveWith(e,[c,t])):s.rejectWith(e,[c,t]),this}}),u=c.props;for(function(e,t){var n,i,o,r,a;for(n in e)if(o=t[i=re(n)],r=e[n],Array.isArray(r)&&(o=r[1],r=e[n]=r[0]),n!==i&&(e[i]=r,delete e[n]),(a=T.cssHooks[i])&&"expand"in a)for(n in r=a.expand(r),delete e[i],r)n in e||(e[n]=r[n],t[n]=o);else t[i]=o}(u,c.opts.specialEasing);r<a;r++)if(i=xt.prefilters[r].call(c,e,u,c.opts))return y(i.stop)&&(T._queueHooks(c.elem,c.opts.queue).stop=i.stop.bind(i)),i;return T.map(u,wt,c),y(c.opts.start)&&c.opts.start.call(e,c),c.progress(c.opts.progress).done(c.opts.done,c.opts.complete).fail(c.opts.fail).always(c.opts.always),T.fx.timer(T.extend(l,{elem:e,anim:c,queue:c.opts.queue})),c}T.Animation=T.extend(xt,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return we(n.elem,e,he.exec(t),n),n}]},tweener:function(e,t){y(e)?(t=e,e=["*"]):e=e.match(X);for(var n,i=0,o=e.length;i<o;i++)n=e[i],xt.tweeners[n]=xt.tweeners[n]||[],xt.tweeners[n].unshift(t)},prefilters:[function(e,t,n){var i,o,r,a,s,l,c,u,d="width"in t||"height"in t,p=this,f={},h=e.style,m=e.nodeType&&be(e),v=le.get(e,"fxshow");for(i in n.queue||(null==(a=T._queueHooks(e,"fx")).unqueued&&(a.unqueued=0,s=a.empty.fire,a.empty.fire=function(){a.unqueued||s()}),a.unqueued++,p.always(function(){p.always(function(){a.unqueued--,T.queue(e,"fx").length||a.empty.fire()})})),t)if(o=t[i],mt.test(o)){if(delete t[i],r=r||"toggle"===o,o===(m?"hide":"show")){if("show"!==o||
vendor: 4,792 bytes, line 2
2!v||void 0===v[i])continue;m=!0}f[i]=v&&v[i]||T.style(e,i)}if((l=!T.isEmptyObject(t))||!T.isEmptyObject(f))for(i in d&&1===e.nodeType&&(n.overflow=[h.overflow,h.overflowX,h.overflowY],null==(c=v&&v.display)&&(c=le.get(e,"display")),"none"===(u=T.css(e,"display"))&&(c?u=c:(Se([e],!0),c=e.style.display||c,u=T.css(e,"display"),Se([e]))),("inline"===u||"inline-block"===u&&null!=c)&&"none"===T.css(e,"float")&&(l||(p.done(function(){h.display=c}),null==c&&(u=h.display,c="none"===u?"":u)),h.display="inline-block")),n.overflow&&(h.overflow="hidden",p.always(function(){h.overflow=n.overflow[0],h.overflowX=n.overflow[1],h.overflowY=n.overflow[2]})),l=!1,f)l||(v?"hidden"in v&&(m=v.hidden):v=le.access(e,"fxshow",{display:c}),r&&(v.hidden=!m),m&&Se([e],!0),p.done(function(){for(i in m||Se([e]),le.remove(e,"fxshow"),f)T.style(e,i,f[i])})),l=wt(m?v[i]:0,i,p),i in v||(v[i]=l.start,m&&(l.end=l.start,l.start=0))}],prefilter:function(e,t){t?xt.prefilters.unshift(e):xt.prefilters.push(e)}}),T.speed=function(e,t,n){var i=e&&"object"===o(e)?T.extend({},e):{complete:n||!n&&t||y(e)&&e,duration:e,easing:n&&t||t&&!y(t)&&t};return T.fx.off?i.duration=0:"number"!=typeof i.duration&&(i.duration in T.fx.speeds?i.duration=T.fx.speeds[i.duration]:i.duration=T.fx.speeds._default),null!=i.queue&&!0!==i.queue||(i.queue="fx"),i.old=i.complete,i.complete=function(){y(i.old)&&i.old.call(this),i.queue&&T.dequeue(this,i.queue)},i},T.fn.extend({fadeTo:function(e,t,n,i){return this.filter(be).css("opacity",0).show().end().animate({opacity:t},e,n,i)},animate:function(e,t,n,i){var o=T.isEmptyObject(e),r=T.speed(t,n,i),a=function(){var t=xt(this,T.extend({},e),r);(o||le.get(this,"finish"))&&t.stop(!0)};return a.finish=a,o||!1===r.queue?this.each(a):this.queue(r.queue,a)},stop:function(e,t,n){var i=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&this.queue(e||"fx",[]),this.each(function(){var t=!0,o=null!=e&&e+"queueHooks",r=T.timers,a=le.get(this);if(o)a[o]&&a[o].stop&&i(a[o]);else for(o in a)a[o]&&a[o].stop&&vt.test(o)&&i(a[o]);for(o=r.length;o--;)r[o].elem!==this||null!=e&&r[o].queue!==e||(r[o].anim.stop(n),t=!1,r.splice(o,1));!t&&n||T.dequeue(this,e)})},finish:function(e){return!1!==e&&(e=e||"fx"),this.each(function(){var t,n=le.get(this),i=n[e+"queue"],o=n[e+"queueHooks"],r=T.timers,a=i?i.length:0;for(n.finish=!0,T.queue(this,e,[]),o&&o.stop&&o.stop.call(this,!0),t=r.length;t--;)r[t].elem===this&&r[t].queue===e&&(r[t].anim.stop(!0),r.splice(t,1));for(t=0;t<a;t++)i[t]&&i[t].finish&&i[t].finish.call(this);delete n.finish})}}),T.each(["toggle","show","hide"],function(e,t){var n=T.fn[t];T.fn[t]=function(e,i,o){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(bt(t,!0),e,i,o)}}),T.each({slideDown:bt("show"),slideUp:bt("hide"),slideToggle:bt("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){T.fn[e]=function(e,n,i){return this.animate(t,e,n,i)}}),T.timers=[],T.fx.tick=function(){var e,t=0,n=T.timers;for(ft=Date.now();t<n.length;t++)(e=n[t])()||n[t]!==e||n.splice(t--,1);n.length||T.fx.stop(),ft=void 0},T.fx.timer=function(e){T.timers.push(e),T.fx.start()},T.fx.interval=13,T.fx.start=function(){ht||(ht=!0,gt())},T.fx.stop=function(){ht=null},T.fx.speeds={slow:600,fast:200,_default:400},T.fn.delay=function(e,t){return e=T.fx&&T.fx.speeds[e]||e,t=t||"fx",this.queue(t,function(t,i){var o=n.setTimeout(t,e);i.stop=function(){n.clearTimeout(o)}})},function(){var e=w.createElement("input"),t=w.createElement("select").appendChild(w.createElement("option"));e.type="checkbox",g.checkOn=""!==e.value,g.optSelected=t.selected,(e=w.createElement("input")).value="t",e.type="radio",g.radioValue="t"===e.value}();var kt,St=T.expr.attrHandle;T.fn.extend({attr:function(e,t){return te(this,T.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){T.removeAttr(this,e)})}}),T.extend({attr:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return void 0===e.getAttribute?T.prop(e,t,n):(1===r&&T.isXMLDoc(e)||(o=T.attrHooks[t.toLowerCase()]||(T.expr.match.bool.test(t)?kt:void 0)),void 0!==n?null===n?void T.removeAttr(e,t):o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:(e.setAttribute(t,n+""),n):o&&"get"in o&&null!==(i=o.get(e,t))?i:null==(i=T.find.attr(e,t))?void 0:i)},attrHooks:{type:{set:function(e,t){if(!g.radioValue&&"radio"===t&&A(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,i=0,o=t&&t.match(X);if(o&&1===e.nodeType)for(;n=o[i++];)e.removeAttribute(n)}}),kt={set:function(e,t,n){return!1===t?T.removeAttr(e,n):e.setAttribute(n,n),n}},T.each(T.expr.match.bool.source.match(/\w+/g),function(e,t){var n=St[t]||T.find.attr;St[t]=function(e,t,i){var o,r,a=t.toLowerCase();
vendor: 7,636 bytes, line 2
2return i||(r=St[a],St[a]=o,o=null!=n(e,t,i)?a:null,St[a]=r),o}});var Ct=/^(?:input|select|textarea|button)$/i,_t=/^(?:a|area)$/i;function Tt(e){return(e.match(X)||[]).join(" ")}function Et(e){return e.getAttribute&&e.getAttribute("class")||""}function At(e){return Array.isArray(e)?e:"string"==typeof e&&e.match(X)||[]}T.fn.extend({prop:function(e,t){return te(this,T.prop,e,t,arguments.length>1)},removeProp:function(e){return this.each(function(){delete this[T.propFix[e]||e]})}}),T.extend({prop:function(e,t,n){var i,o,r=e.nodeType;if(3!==r&&8!==r&&2!==r)return 1===r&&T.isXMLDoc(e)||(t=T.propFix[t]||t,o=T.propHooks[t]),void 0!==n?o&&"set"in o&&void 0!==(i=o.set(e,n,t))?i:e[t]=n:o&&"get"in o&&null!==(i=o.get(e,t))?i:e[t]},propHooks:{tabIndex:{get:function(e){var t=T.find.attr(e,"tabindex");return t?parseInt(t,10):Ct.test(e.nodeName)||_t.test(e.nodeName)&&e.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),g.optSelected||(T.propHooks.selected={get:function(e){var t=e.parentNode;return t&&t.parentNode&&t.parentNode.selectedIndex,null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),T.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){T.propFix[this.toLowerCase()]=this}),T.fn.extend({addClass:function(e){var t,n,i,o,r,a;return y(e)?this.each(function(t){T(this).addClass(e.call(this,t,Et(this)))}):(t=At(e)).length?this.each(function(){if(i=Et(this),n=1===this.nodeType&&" "+Tt(i)+" "){for(r=0;r<t.length;r++)o=t[r],n.indexOf(" "+o+" ")<0&&(n+=o+" ");a=Tt(n),i!==a&&this.setAttribute("class",a)}}):this},removeClass:function(e){var t,n,i,o,r,a;return y(e)?this.each(function(t){T(this).removeClass(e.call(this,t,Et(this)))}):arguments.length?(t=At(e)).length?this.each(function(){if(i=Et(this),n=1===this.nodeType&&" "+Tt(i)+" "){for(r=0;r<t.length;r++)for(o=t[r];n.indexOf(" "+o+" ")>-1;)n=n.replace(" "+o+" "," ");a=Tt(n),i!==a&&this.setAttribute("class",a)}}):this:this.attr("class","")},toggleClass:function(e,t){var n,i,r,a,s=o(e),l="string"===s||Array.isArray(e);return y(e)?this.each(function(n){T(this).toggleClass(e.call(this,n,Et(this),t),t)}):"boolean"==typeof t&&l?t?this.addClass(e):this.removeClass(e):(n=At(e),this.each(function(){if(l)for(a=T(this),r=0;r<n.length;r++)i=n[r],a.hasClass(i)?a.removeClass(i):a.addClass(i);else void 0!==e&&"boolean"!==s||((i=Et(this))&&le.set(this,"__className__",i),this.setAttribute&&this.setAttribute("class",i||!1===e?"":le.get(this,"__className__")||""))}))},hasClass:function(e){var t,n,i=0;for(t=" "+e+" ";n=this[i++];)if(1===n.nodeType&&(" "+Tt(Et(n))+" ").indexOf(t)>-1)return!0;return!1}});var Ot=/\r/g;T.fn.extend({val:function(e){var t,n,i,o=this[0];return arguments.length?(i=y(e),this.each(function(n){var o;1===this.nodeType&&(null==(o=i?e.call(this,n,T(this).val()):e)?o="":"number"==typeof o?o+="":Array.isArray(o)&&(o=T.map(o,function(e){return null==e?"":e+""})),(t=T.valHooks[this.type]||T.valHooks[this.nodeName.toLowerCase()])&&"set"in t&&void 0!==t.set(this,o,"value")||(this.value=o))})):o?(t=T.valHooks[o.type]||T.valHooks[o.nodeName.toLowerCase()])&&"get"in t&&void 0!==(n=t.get(o,"value"))?n:"string"==typeof(n=o.value)?n.replace(Ot,""):null==n?"":n:void 0}}),T.extend({valHooks:{option:{get:function(e){var t=T.find.attr(e,"value");return null!=t?t:Tt(T.text(e))}},select:{get:function(e){var t,n,i,o=e.options,r=e.selectedIndex,a="select-one"===e.type,s=a?null:[],l=a?r+1:o.length;for(i=r<0?l:a?r:0;i<l;i++)if(((n=o[i]).selected||i===r)&&!n.disabled&&(!n.parentNode.disabled||!A(n.parentNode,"optgroup"))){if(t=T(n).val(),a)return t;s.push(t)}return s},set:function(e,t){for(var n,i,o=e.options,r=T.makeArray(t),a=o.length;a--;)((i=o[a]).selected=T.inArray(T.valHooks.option.get(i),r)>-1)&&(n=!0);return n||(e.selectedIndex=-1),r}}}}),T.each(["radio","checkbox"],function(){T.valHooks[this]={set:function(e,t){if(Array.isArray(t))return e.checked=T.inArray(T(e).val(),t)>-1}},g.checkOn||(T.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var $t=n.location,Lt={guid:Date.now()},Pt=/\?/;T.parseXML=function(e){var t,i;if(!e||"string"!=typeof e)return null;try{t=(new n.DOMParser).parseFromString(e,"text/xml")}catch(e){}return i=t&&t.getElementsByTagName("parsererror")[0],t&&!i||T.error("Invalid XML: "+(i?T.map(i.childNodes,function(e){return e.textContent}).join("\n"):e)),t};var zt=/^(?:focusinfocus|focusoutblur)$/,Dt=function(e){e.stopPropagation()};T.extend(T.event,{trigger:function(e,t,i,r){var a,s,l,c,u,d,p,f,m=[i||w],v=h.call(e,"type")?e.type:e,g=h.call(e,"namespace")?e.namespace.split("."):[];if(s=f=l=i=i||w,3!==i.nodeType&&8!==i.nodeType&&!zt.test(v+T.event.triggered)&&(v.indexOf(".")>-1&&(g=v.split("."),v=g.shift(),g.sort()),u=v.indexOf(":")<0&&"on"+v,(e=e[T.expando]?e:new T.Event(v,"object"===o(e)&&e)).isTrigger=r?2:3,e.namespace=g.join("."),e.rnamespace=e.namespace?new RegExp("(^|\\.)"+g.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=void 0,e.target||(e.target=i),t=null==t?[e]:T.makeArray(t,[e]),p=T.event.special[v]||{},r||!p.trigger||!1!==p.trigger.apply(i,t))){if(!r&&!p.noBubble&&!b(i)){for(c=p.delegateType||v,zt.test(c+v)||(s=s.parentNode);s;s=s.parentNode)m.push(s),l=s;l===(i.ownerDocument||w)&&m.push(l.defaultView||l.parentWindow||n)}for(a=0;(s=m[a++])&&!e.isPropagationStopped();)f=s,e.type=a>1?c:p.bindType||v,(d=(le.get(s,"events")||Object.create(null))[e.type]&&le.get(s,"handle"))&&d.apply(s,t),(d=u&&s[u])&&d.apply&&ae(s)&&(e.result=d.apply(s,t),!1===e.result&&e.preventDefault());return e.type=v,r||e.isDefaultPrevented()||p._default&&!1!==p._default.apply(m.pop(),t)||!ae(i)||u&&y(i[v])&&!b(i)&&((l=i[u])&&(i[u]=null),T.event.triggered=v,e.isPropagationStopped()&&f.addEventListener(v,Dt),i[v](),e.isPropagationStopped()&&f.removeEventListener(v,Dt),T.event.triggered=void 0,l&&(i[u]=l)),e.result}},simulate:function(e,t,n){var i=T.extend(new T.Event,n,{type:e,isSimulated:!0});T.event.trigger(i,null,t)}}),T.fn.extend({trigger:function(e,t){return this.each(function(){T.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return T.event.trigger(e,t,n,!0)}});var It=/\[\]$/,jt=/\r?\n/g,Mt=/^(?:submit|button|image|reset|file)$/i,Nt=/^(?:input|select|textarea|keygen)/i;function Ht(e,t,n,i){var r;if(Array.isArray(t))T.each(t,function(t,r){n||It.test(e)?i(e,r):Ht(e+"["+("object"===o(r)&&null!=r?t:"")+"]",r,n,i)});else if(n||"object"!==S(t))i(e,t);else for(r in t)Ht(e+"["+r+"]",t[r],n,i)}T.param=function(e,t){var n,i=[],o=function(e,t){var n=y(t)?t():t;i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(null==n?"":n)};if(null==e)return"";if(Array.isArray(e)||e.jquery&&!T.isPlainObject(e))T.each(e,function(){o(this.name,this.value)});else for(n in e)Ht(n,e[n],t,o);return i.join("&")},T.fn.extend({serialize:function(){return T.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=T.prop(this,"elements");return e?T.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!T(this).is(":disabled")&&Nt.test(this.nodeName)&&!Mt.test(e)&&(this.checked||!Te.test(e))}).map(function(e,t){var n=T(this).val();return null==n?null:Array.isArray(n)?T.map(n,function(e){return{name:t.name,value:e.replace(jt,"\r\n")}}):{name:t.name,value:n.replace(jt,"\r\n")}}).get()}});var Rt=/%20/g,qt=/#.*$/,Ft=/([?&])_=[^&]*/,Bt=/^(.*?):[ \t]*([^\r\n]*)$/gm,Ut=/^(?:GET|HEAD)$/,Wt=/^\/\//,Vt={},Yt={},Xt="*/".concat("*"),Zt=w.createElement("a");function Gt(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var i,o=0,r=t.toLowerCase().match(X)||[];
vendor: 8,905 bytes, line 2
2if(y(n))for(;i=r[o++];)"+"===i[0]?(i=i.slice(1)||"*",(e[i]=e[i]||[]).unshift(n)):(e[i]=e[i]||[]).push(n)}}function Kt(e,t,n,i){var o={},r=e===Yt;function a(s){var l;return o[s]=!0,T.each(e[s]||[],function(e,s){var c=s(t,n,i);return"string"!=typeof c||r||o[c]?r?!(l=c):void 0:(t.dataTypes.unshift(c),a(c),!1)}),l}return a(t.dataTypes[0])||!o["*"]&&a("*")}function Qt(e,t){var n,i,o=T.ajaxSettings.flatOptions||{};for(n in t)void 0!==t[n]&&((o[n]?e:i||(i={}))[n]=t[n]);return i&&T.extend(!0,e,i),e}Zt.href=$t.href,T.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:$t.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test($t.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Xt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":T.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Qt(Qt(e,T.ajaxSettings),t):Qt(T.ajaxSettings,e)},ajaxPrefilter:Gt(Vt),ajaxTransport:Gt(Yt),ajax:function(e,t){"object"===o(e)&&(t=e,e=void 0),t=t||{};var i,r,a,s,l,c,u,d,p,f,h=T.ajaxSetup({},t),m=h.context||h,v=h.context&&(m.nodeType||m.jquery)?T(m):T.event,g=T.Deferred(),y=T.Callbacks("once memory"),b=h.statusCode||{},x={},k={},S="canceled",C={readyState:0,getResponseHeader:function(e){var t;if(u){if(!s)for(s={};t=Bt.exec(a);)s[t[1].toLowerCase()+" "]=(s[t[1].toLowerCase()+" "]||[]).concat(t[2]);t=s[e.toLowerCase()+" "]}return null==t?null:t.join(", ")},getAllResponseHeaders:function(){return u?a:null},setRequestHeader:function(e,t){return null==u&&(e=k[e.toLowerCase()]=k[e.toLowerCase()]||e,x[e]=t),this},overrideMimeType:function(e){return null==u&&(h.mimeType=e),this},statusCode:function(e){var t;if(e)if(u)C.always(e[C.status]);else for(t in e)b[t]=[b[t],e[t]];return this},abort:function(e){var t=e||S;return i&&i.abort(t),_(0,t),this}};if(g.promise(C),h.url=((e||h.url||$t.href)+"").replace(Wt,$t.protocol+"//"),h.type=t.method||t.type||h.method||h.type,h.dataTypes=(h.dataType||"*").toLowerCase().match(X)||[""],null==h.crossDomain){c=w.createElement("a");try{c.href=h.url,c.href=c.href,h.crossDomain=Zt.protocol+"//"+Zt.host!=c.protocol+"//"+c.host}catch(e){h.crossDomain=!0}}if(h.data&&h.processData&&"string"!=typeof h.data&&(h.data=T.param(h.data,h.traditional)),Kt(Vt,h,t,C),u)return C;for(p in(d=T.event&&h.global)&&0===T.active++&&T.event.trigger("ajaxStart"),h.type=h.type.toUpperCase(),h.hasContent=!Ut.test(h.type),r=h.url.replace(qt,""),h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(Rt,"+")):(f=h.url.slice(r.length),h.data&&(h.processData||"string"==typeof h.data)&&(r+=(Pt.test(r)?"&":"?")+h.data,delete h.data),!1===h.cache&&(r=r.replace(Ft,"$1"),f=(Pt.test(r)?"&":"?")+"_="+Lt.guid+++f),h.url=r+f),h.ifModified&&(T.lastModified[r]&&C.setRequestHeader("If-Modified-Since",T.lastModified[r]),T.etag[r]&&C.setRequestHeader("If-None-Match",T.etag[r])),(h.data&&h.hasContent&&!1!==h.contentType||t.contentType)&&C.setRequestHeader("Content-Type",h.contentType),C.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+("*"!==h.dataTypes[0]?", "+Xt+"; q=0.01":""):h.accepts["*"]),h.headers)C.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(m,C,h)||u))return C.abort();if(S="abort",y.add(h.complete),C.done(h.success),C.fail(h.error),i=Kt(Yt,h,t,C)){if(C.readyState=1,d&&v.trigger("ajaxSend",[C,h]),u)return C;h.async&&h.timeout>0&&(l=n.setTimeout(function(){C.abort("timeout")},h.timeout));try{u=!1,i.send(x,_)}catch(e){if(u)throw e;_(-1,e)}}else _(-1,"No Transport");function _(e,t,o,s){var c,p,f,w,x,k=t;u||(u=!0,l&&n.clearTimeout(l),i=void 0,a=s||"",C.readyState=e>0?4:0,c=e>=200&&e<300||304===e,o&&(w=function(e,t,n){for(var i,o,r,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(o in s)if(s[o]&&s[o].test(i)){l.unshift(o);break}if(l[0]in n)r=l[0];else{for(o in n){if(!l[0]||e.converters[o+" "+l[0]]){r=o;break}a||(a=o)}r=r||a}if(r)return r!==l[0]&&l.unshift(r),n[r]}(h,C,o)),!c&&T.inArray("script",h.dataTypes)>-1&&T.inArray("json",h.dataTypes)<0&&(h.converters["text script"]=function(){}),w=function(e,t,n,i){var o,r,a,s,l,c={},u=e.dataTypes.slice();if(u[1])for(a in e.converters)c[a.toLowerCase()]=e.converters[a];for(r=u.shift();r;)if(e.responseFields[r]&&(n[e.responseFields[r]]=t),!l&&i&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=r,r=u.shift())if("*"===r)r=l;else if("*"!==l&&l!==r){if(!(a=c[l+" "+r]||c["* "+r]))for(o in c)if((s=o.split(" "))[1]===r&&(a=c[l+" "+s[0]]||c["* "+s[0]])){!0===a?a=c[o]:!0!==c[o]&&(r=s[0],u.unshift(s[1]));break}if(!0!==a)if(a&&e.throws)t=a(t);else try{t=a(t)}catch(e){return{state:"parsererror",error:a?e:"No conversion from "+l+" to "+r}}}return{state:"success",data:t}}(h,w,C,c),c?(h.ifModified&&((x=C.getResponseHeader("Last-Modified"))&&(T.lastModified[r]=x),(x=C.getResponseHeader("etag"))&&(T.etag[r]=x)),204===e||"HEAD"===h.type?k="nocontent":304===e?k="notmodified":(k=w.state,p=w.data,c=!(f=w.error))):(f=k,!e&&k||(k="error",e<0&&(e=0))),C.status=e,C.statusText=(t||k)+"",c?g.resolveWith(m,[p,k,C]):g.rejectWith(m,[C,k,f]),C.statusCode(b),b=void 0,d&&v.trigger(c?"ajaxSuccess":"ajaxError",[C,h,c?p:f]),y.fireWith(m,[C,k]),d&&(v.trigger("ajaxComplete",[C,h]),--T.active||T.event.trigger("ajaxStop")))}return C},getJSON:function(e,t,n){return T.get(e,t,n,"json")},getScript:function(e,t){return T.get(e,void 0,t,"script")}}),T.each(["get","post"],function(e,t){T[t]=function(e,n,i,o){return y(n)&&(o=o||i,i=n,n=void 0),T.ajax(T.extend({url:e,type:t,dataType:o,data:n,success:i},T.isPlainObject(e)&&e))}}),T.ajaxPrefilter(function(e){var t;for(t in e.headers)"content-type"===t.toLowerCase()&&(e.contentType=e.headers[t]||"")}),T._evalUrl=function(e,t,n){return T.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(e){T.globalEval(e,t,n)}})},T.fn.extend({wrapAll:function(e){var t;return this[0]&&(y(e)&&(e=e.call(this[0])),t=T(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){return y(e)?this.each(function(t){T(this).wrapInner(e.call(this,t))}):this.each(function(){var t=T(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=y(e);return this.each(function(n){T(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(e){return this.parent(e).not("body").each(function(){T(this).replaceWith(this.childNodes)}),this}}),T.expr.pseudos.hidden=function(e){return!T.expr.pseudos.visible(e)},T.expr.pseudos.visible=function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)},T.ajaxSettings.xhr=function(){try{return new n.XMLHttpRequest}catch(e){}};var Jt={0:200,1223:204},en=T.ajaxSettings.xhr();g.cors=!!en&&"withCredentials"in en,g.ajax=en=!!en,T.ajaxTransport(function(e){var t,i;if(g.cors||en&&!e.crossDomain)return{send:function(o,r){var a,s=e.xhr();if(s.open(e.type,e.url,e.async,e.username,e.password),e.xhrFields)for(a in e.xhrFields)s[a]=e.xhrFields[a];for(a in e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),e.crossDomain||o["X-Requested-With"]||(o["X-Requested-With"]="XMLHttpRequest"),o)s.setRequestHeader(a,o[a]);t=function(e){return function(){t&&(t=i=s.onload=s.onerror=s.onabort=s.ontimeout=s.onreadystatechange=null,"abort"===e?s.abort():"error"===e?"number"!=typeof s.status?r(0,"error"):r(s.status,s.statusText):r(Jt[s.status]||s.status,s.statusText,"text"!==(s.responseType||"text")||"string"!=typeof s.responseText?{binary:s.response}:{text:s.responseText},s.getAllResponseHeaders()))}},s.onload=t(),i=s.onerror=s.ontimeout=t("error"),void 0!==s.onabort?s.onabort=i:s.onreadystatechange=function(){4===s.readyState&&n.setTimeout(function(){t&&i()})},t=t("abort");try{s.send(e.hasContent&&e.data||null)}catch(e){if(t)throw e}},abort:function(){t&&t()}}}),T.ajaxPrefilter(function(e){e.crossDomain&&(e.contents.script=!1)}),T.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return T.globalEval(e),e}}}),T.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET")}),T.ajaxTransport("script",function(e){var t,n;if(e.crossDomain||e.scriptAttrs)return{send:function(i,o){t=T("<script>").attr(e.scriptAttrs||{}
vendor: 5,251 bytes, line 2
2).prop({charset:e.scriptCharset,src:e.url}).on("load error",n=function(e){t.remove(),n=null,e&&o("error"===e.type?404:200,e.type)}),w.head.appendChild(t[0])},abort:function(){n&&n()}}});var tn,nn=[],on=/(=)\?(?=&|$)|\?\?/;T.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=nn.pop()||T.expando+"_"+Lt.guid++;return this[e]=!0,e}}),T.ajaxPrefilter("json jsonp",function(e,t,i){var o,r,a,s=!1!==e.jsonp&&(on.test(e.url)?"url":"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&on.test(e.data)&&"data");if(s||"jsonp"===e.dataTypes[0])return o=e.jsonpCallback=y(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,s?e[s]=e[s].replace(on,"$1"+o):!1!==e.jsonp&&(e.url+=(Pt.test(e.url)?"&":"?")+e.jsonp+"="+o),e.converters["script json"]=function(){return a||T.error(o+" was not called"),a[0]},e.dataTypes[0]="json",r=n[o],n[o]=function(){a=arguments},i.always(function(){void 0===r?T(n).removeProp(o):n[o]=r,e[o]&&(e.jsonpCallback=t.jsonpCallback,nn.push(o)),a&&y(r)&&r(a[0]),a=r=void 0}),"script"}),g.createHTMLDocument=((tn=w.implementation.createHTMLDocument("").body).innerHTML="<form></form><form></form>",2===tn.childNodes.length),T.parseHTML=function(e,t,n){return"string"!=typeof e?[]:("boolean"==typeof t&&(n=t,t=!1),t||(g.createHTMLDocument?((i=(t=w.implementation.createHTMLDocument("")).createElement("base")).href=w.location.href,t.head.appendChild(i)):t=w),r=!n&&[],(o=q.exec(e))?[t.createElement(o[1])]:(o=ze([e],t,r),r&&r.length&&T(r).remove(),T.merge([],o.childNodes)));var i,o,r},T.fn.load=function(e,t,n){var i,r,a,s=this,l=e.indexOf(" ");return l>-1&&(i=Tt(e.slice(l)),e=e.slice(0,l)),y(t)?(n=t,t=void 0):t&&"object"===o(t)&&(r="POST"),s.length>0&&T.ajax({url:e,type:r||"GET",dataType:"html",data:t}).done(function(e){a=arguments,s.html(i?T("<div>").append(T.parseHTML(e)).find(i):e)}).always(n&&function(e,t){s.each(function(){n.apply(this,a||[e.responseText,t,e])})}),this},T.expr.pseudos.animated=function(e){return T.grep(T.timers,function(t){return e===t.elem}).length},T.offset={setOffset:function(e,t,n){var i,o,r,a,s,l,c=T.css(e,"position"),u=T(e),d={};"static"===c&&(e.style.position="relative"),s=u.offset(),r=T.css(e,"top"),l=T.css(e,"left"),("absolute"===c||"fixed"===c)&&(r+l).indexOf("auto")>-1?(a=(i=u.position()).top,o=i.left):(a=parseFloat(r)||0,o=parseFloat(l)||0),y(t)&&(t=t.call(e,n,T.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+o),"using"in t?t.using.call(e,d):u.css(d)}},T.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){T.offset.setOffset(this,e,t)});var t,n,i=this[0];return i?i.getClientRects().length?(t=i.getBoundingClientRect(),n=i.ownerDocument.defaultView,{top:t.top+n.pageYOffset,left:t.left+n.pageXOffset}):{top:0,left:0}:void 0},position:function(){if(this[0]){var e,t,n,i=this[0],o={top:0,left:0};if("fixed"===T.css(i,"position"))t=i.getBoundingClientRect();else{for(t=this.offset(),n=i.ownerDocument,e=i.offsetParent||n.documentElement;e&&(e===n.body||e===n.documentElement)&&"static"===T.css(e,"position");)e=e.parentNode;e&&e!==i&&1===e.nodeType&&((o=T(e).offset()).top+=T.css(e,"borderTopWidth",!0),o.left+=T.css(e,"borderLeftWidth",!0))}return{top:t.top-o.top-T.css(i,"marginTop",!0),left:t.left-o.left-T.css(i,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent;e&&"static"===T.css(e,"position");)e=e.offsetParent;return e||ve})}}),T.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n="pageYOffset"===t;T.fn[e]=function(i){return te(this,function(e,i,o){var r;if(b(e)?r=e:9===e.nodeType&&(r=e.defaultView),void 0===o)return r?r[t]:e[i];r?r.scrollTo(n?r.pageXOffset:o,n?o:r.pageYOffset):e[i]=o},e,i,arguments.length)}}),T.each(["top","left"],function(e,t){T.cssHooks[t]=tt(g.pixelPosition,function(e,n){if(n)return n=et(e,t),Ze.test(n)?T(e).position()[t]+"px":n})}),T.each({Height:"height",Width:"width"},function(e,t){T.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,i){T.fn[i]=function(o,r){var a=arguments.length&&(n||"boolean"!=typeof o),s=n||(!0===o||!0===r?"margin":"border");return te(this,function(t,n,o){var r;return b(t)?0===i.indexOf("outer")?t["inner"+e]:t.document.documentElement["client"+e]:9===t.nodeType?(r=t.documentElement,Math.max(t.body["scroll"+e],r["scroll"+e],t.body["offset"+e],r["offset"+e],r["client"+e])):void 0===o?T.css(t,n,s):T.style(t,n,o,s)},t,a?o:void 0,a)}})}),T.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){T.fn[t]=function(e){return this.on(t,e)}}),T.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,i){return this.on(t,e,n,i)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},hover:function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)}}),T.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,t){T.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}});
2var rn=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;T.proxy=function(e,t){var n,i,o;if("string"==typeof t&&(n=e[t],t=e,e=n),y(e))return i=l.call(arguments,2),o=function(){return e.apply(t||this,i.concat(l.call(arguments)))},o.guid=e.guid=e.guid||T.guid++,o},T.holdReady=function(e){e?T.readyWait++:T.ready(!0)},T.isArray=Array.isArray,T.parseJSON=JSON.parse,T.nodeName=A,T.isFunction=y,T.isWindow=b,T.camelCase=re,T.type=S,T.now=Date.now,T.isNumeric=function(e){var t=T.type(e);return("number"===t||"string"===t)&&!isNaN(e-parseFloat(e))},T.trim=function(e){return null==e?"":(e+"").replace(rn,"$1")},void 0===(i=function(){return T}.apply(t,[]))||(e.exports=i);var an=n.jQuery,sn=n.$;return T.noConflict=function(e){return n.$===T&&(n.$=sn),e&&n.jQuery===T&&(n.jQuery=an),T},void 0===r&&(n.jQuery=n.$=T),T})}},t={};function n(i){var o=t[i];if(void 0!==o)return o.exports;var r=t[i]={id:i,loaded:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.loaded=!0,r.exports}n.amdO={},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){"use strict";var e=n(926),t=n.n(e);function i(){return"rtl"===t()("html").attr("dir")}function o(){for(var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:6,t=arguments.length>1?arguments[1]:void 0,n="",i=0;i<e;i++)n+="0123456789abcdefghijklmnopqrstuvwxyz"[Math.floor(36*Math.random())];return t?"".concat(n,"-").concat(t):n}function r(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function a(e){var t,n={transition:"transitionend",WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"otransitionend"},i=document.createElement("div");for(var o in n)void 0!==i.style[o]&&(t=n[o]);return t||(setTimeout(function(){e.triggerHandler("transitionend",[e])},1),"transitionend")}function s(e,n){var i="complete"===document.readyState,o=(i?"_didLoad":"load")+".zf.util.onLoad",r=function(){return e.triggerHandler(o)};return e&&(n&&e.one(o,n),i?setTimeout(r):t()(window).one("load",r)),o}function l(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=n.ignoreLeaveWindow,o=void 0!==i&&i,r=n.ignoreReappear,a=void 0!==r&&r;return function(n){for(var i=arguments.length,r=new Array(i>1?i-1:0),s=1;s<i;s++)r[s-1]=arguments[s];var l=e.bind.apply(e,[this,n].concat(r));if(null!==n.relatedTarget)return l();setTimeout(function(){if(!o&&document.hasFocus&&!document.hasFocus())return l();a||t()(document).one("mouseenter",function(e){t()(n.currentTarget).has(e.target).length||(n.relatedTarget=e.target,l())})},0)}}function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}n(578),window.matchMedia||(window.matchMedia=function(){var e=window.styleMedia||window.media;if(!e){var t,n=document.createElement("style"),i=document.getElementsByTagName("script")[0];n.type="text/css",n.id="matchmediajs-test",i?i.parentNode.insertBefore(n,i):document.head.appendChild(n),t="getComputedStyle"in window&&window.getComputedStyle(n,null)||n.currentStyle,e={matchMedium:function(e){var i="@media "+e+"{ #matchmediajs-test { width: 1px; } }";return n.styleSheet?n.styleSheet.cssText=i:n.textContent=i,"1px"===t.width}}}return function(t){return{matches:e.matchMedium(t||"all"),media:t||"all"}}}());var d={queries:[],current:"",_init:function(){if(!0===this.isInitialized)return this;this.isInitialized=!0,t()("meta.foundation-mq").length||t()('<meta class="foundation-mq" name="foundation-mq" content>').appendTo(document.head);var e,n,i,o=t()(".foundation-mq").css("font-family");for(var r in i=void 0,i={},e="string"!=typeof(n=o)?i:(n=n.trim().slice(1,-1))?(i=n.split("&").reduce(function(e,t){var n=t.replace(/\+/g," ").split("="),i=n[0],o=n[1];return i=decodeURIComponent(i),o=void 0===o?null:decodeURIComponent(o),e.hasOwnProperty(i)?Array.isArray(e[i])?e[i].push(o):e[i]=[e[i],o]:e[i]=o,e},{}),i):i,this.queries=[],e)e.hasOwnProperty(r)&&this.queries.push({name:r,value:"only screen and (min-width: ".concat(e[r],")")});this.current=this._getCurrentSize(),this._watcher()},_reInit:function(){this.isInitialized=!1,this._init()},atLeast:function(e){var t=this.get(e);return!!t&&window.matchMedia(t).matches},only:function(e){return e===this._getCurrentSize()},upTo:function(e){var t=this.next(e);return!t||!this.atLeast(t)},is:function(e){var t,n=function(e){if(Array.isArray(e))return e}(t=e.trim().split(" ").filter(function(e){return!!e.length}))||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,o,r,a=[],s=!0,l=!1;try{for(o=(t=t.call(e)).next,!2;!(s=(n=o.call(t)).done)&&(a.push(n.value),2!==a.length);s=!0);}catch(e){l=!0,i=e}
2finally{try{if(!s&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(l)throw i}}return a}}(t)||function(e){if(e){if("string"==typeof e)return u(e,2);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?u(e,2):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=n[0],o=n[1],r=void 0===o?"":o;if("only"===r)return this.only(i);if(!r||"up"===r)return this.atLeast(i);if("down"===r)return this.upTo(i);throw new Error('\n      Invalid breakpoint passed to MediaQuery.is().\n      Expected a breakpoint name formatted like "<size> <modifier>", got "'.concat(e,'".\n    '))},get:function(e){for(var t in this.queries)if(this.queries.hasOwnProperty(t)){var n=this.queries[t];if(e===n.name)return n.value}return null},next:function(e){var t=this,n=this.queries.findIndex(function(n){return t._getQueryName(n)===e});if(-1===n)throw new Error('\n        Unknown breakpoint "'.concat(e,'" passed to MediaQuery.next().\n        Ensure it is present in your Sass "$breakpoints" setting.\n      '));var i=this.queries[n+1];return i?i.name:null},_getQueryName:function(e){if("string"==typeof e)return e;if("object"===c(e))return e.name;throw new TypeError('\n      Invalid value passed to MediaQuery._getQueryName().\n      Expected a breakpoint name (String) or a breakpoint query (Object), got "'.concat(e,'" (').concat(c(e),")\n    "))},_getCurrentSize:function(){for(var e,t=0;t<this.queries.length;t++){var n=this.queries[t];window.matchMedia(n.value).matches&&(e=n)}return e&&this._getQueryName(e)},_watcher:function(){var e=this;t()(window).on("resize.zf.trigger",function(){var n=e._getCurrentSize(),i=e.current;n!==i&&(e.current=n,t()(window).trigger("changed.zf.mediaquery",[n,i]))})}};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var f={version:"6.9.0",_plugins:{},_uuids:[],plugin:function(e,t){var n=t||h(e),i=m(n);this._plugins[i]=this[n]=e},registerPlugin:function(e,t){var n=t?m(t):h(e.constructor).toLowerCase();e.uuid=o(6,n),e.$element.attr("data-".concat(n))||e.$element.attr("data-".concat(n),e.uuid),e.$element.data("zfPlugin")||e.$element.data("zfPlugin",e),e.$element.trigger("init.zf.".concat(n)),this._uuids.push(e.uuid)},unregisterPlugin:function(e){var t=m(h(e.$element.data("zfPlugin").constructor));for(var n in this._uuids.splice(this._uuids.indexOf(e.uuid),1),e.$element.removeAttr("data-".concat(t)).removeData("zfPlugin").trigger("destroyed.zf.".concat(t)),e)"function"==typeof e[n]&&(e[n]=null)},reInit:function(e){var n=e instanceof t();try{if(n)e.each(function(){t()(this).data("zfPlugin")._init()});else{var i=p(e),o=this;({object:function(e){e.forEach(function(e){e=m(e),t()("[data-"+e+"]").foundation("_init")})},string:function(){e=m(e),t()("[data-"+e+"]").foundation("_init")},undefined:function(){this.object(Object.keys(o._plugins))}})[i](e)}}catch(e){console.error(e)}finally{return e}},reflow:function(e,n){void 0===n?n=Object.keys(this._plugins):"string"==typeof n&&(n=[n]);var i=this;t().each(n,function(n,o){var r=i._plugins[o];t()(e).find("[data-"+o+"]").addBack("[data-"+o+"]").filter(function(){return void 0===t()(this).data("zfPlugin")}).each(function(){var e=t()(this),n={reflow:!0};e.attr("data-options")&&e.attr("data-options").split(";").forEach(function(e){var t,i=e.split(":").map(function(e){return e.trim()});i[0]&&(n[i[0]]="true"===(t=i[1])||"false"!==t&&(isNaN(1*t)?t:parseFloat(t)))});try{e.data("zfPlugin",new r(t()(this),n))}catch(e){console.error(e)}finally{return}})})},getFnName:h,addToJquery:function(){return t().fn.foundation=function(e){var n=p(e),i=t()(".no-js");if(i.length&&i.removeClass("no-js"),"undefined"===n)d._init(),f.reflow(this);else{if("string"!==n)throw new TypeError("We're sorry, ".concat(n," is not a valid parameter. You must use a string representing the method you wish to invoke."));
2var o=Array.prototype.slice.call(arguments,1),r=this.data("zfPlugin");if(void 0===r||void 0===r[e])throw new ReferenceError("We're sorry, '"+e+"' is not an available method for "+(r?h(r):"this element")+".");1===this.length?r[e].apply(r,o):this.each(function(n,i){r[e].apply(t()(i).data("zfPlugin"),o)})}return this},t()}};function h(e){if(void 0===Function.prototype.name){var t=/function\s([^(]{1,})\(/.exec(e.toString());return t&&t.length>1?t[1].trim():""}return void 0===e.prototype?e.constructor.name:e.prototype.constructor.name}function m(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}f.util={throttle:function(e,t){var n=null;return function(){var i=this,o=arguments;null===n&&(n=setTimeout(function(){e.apply(i,o),n=null},t))}}},window.Foundation=f,function(){Date.now&&window.Date.now||(window.Date.now=Date.now=function(){return(new Date).getTime()});for(var e=["webkit","moz"],t=0;t<e.length&&!window.requestAnimationFrame;++t){var n=e[t];window.requestAnimationFrame=window[n+"RequestAnimationFrame"],window.cancelAnimationFrame=window[n+"CancelAnimationFrame"]||window[n+"CancelRequestAnimationFrame"]}if(/iP(ad|hone|od).*OS 6/.test(window.navigator.userAgent)||!window.requestAnimationFrame||!window.cancelAnimationFrame){var i=0;window.requestAnimationFrame=function(e){var t=Date.now(),n=Math.max(i+16,t);return setTimeout(function(){e(i=n)},n-t)},window.cancelAnimationFrame=clearTimeout}window.performance&&window.performance.now||(window.performance={start:Date.now(),now:function(){return Date.now()-this.start}})}(),Function.prototype.bind||(Function.prototype.bind=function(e){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var t=Array.prototype.slice.call(arguments,1),n=this,i=function(){},o=function(){return n.apply(this instanceof i?this:e,t.concat(Array.prototype.slice.call(arguments)))};return this.prototype&&(i.prototype=this.prototype),o.prototype=new i,o});var v={ImNotTouchingYou:function(e,t,n,i,o){return 0===g(e,t,n,i,o)},OverlapArea:g,GetDimensions:y,GetExplicitOffsets:function(e,t,n,i,o,r,a){var s,l,c=y(e),u=t?y(t):null;if(null!==u){switch(n){case"top":s=u.offset.top-(c.height+o);break;case"bottom":s=u.offset.top+u.height+o;break;case"left":l=u.offset.left-(c.width+r);break;case"right":l=u.offset.left+u.width+r}switch(n){case"top":case"bottom":switch(i){case"left":l=u.offset.left+r;break;case"right":l=u.offset.left-c.width+u.width-r;break;case"center":l=a?r:u.offset.left+u.width/2-c.width/2+r}break;case"right":case"left":switch(i){case"bottom":s=u.offset.top-o+u.height-c.height;break;case"top":s=u.offset.top+o;break;case"center":s=u.offset.top+o+u.height/2-c.height/2}}}return{top:s,left:l}}};function g(e,t,n,i,o){var r,a,s,l,c=y(e);if(t){var u=y(t);a=u.height+u.offset.top-(c.offset.top+c.height),r=c.offset.top-u.offset.top,s=c.offset.left-u.offset.left,l=u.width+u.offset.left-(c.offset.left+c.width)}else a=c.windowDims.height+c.windowDims.offset.top-(c.offset.top+c.height),r=c.offset.top-c.windowDims.offset.top,s=c.offset.left-c.windowDims.offset.left,l=c.windowDims.width-(c.offset.left+c.width);return a=o?0:Math.min(a,0),r=Math.min(r,0),s=Math.min(s,0),l=Math.min(l,0),n?s+l:i?r+a:Math.sqrt(r*r+a*a+s*s+l*l)}function y(e){if((e=e.length?e[0]:e)===window||e===document)throw new Error("I'm sorry, Dave. I'm afraid I can't do that.");var t=e.getBoundingClientRect(),n=e.parentNode.getBoundingClientRect(),i=document.body.getBoundingClientRect(),o=window.pageYOffset,r=window.pageXOffset;return{width:t.width,height:t.height,offset:{top:t.top+o,left:t.left+r},parentDims:{width:n.width,height:n.height,offset:{top:n.top+o,left:n.left+r}},windowDims:{width:i.width,height:i.height,offset:{top:o,left:r}}}}function b(e,n){var i=e.length;function o(){0===--i&&n()}0===i&&n(),e.each(function(){if(this.complete&&void 0!==this.naturalWidth)o();else{var e=new Image,n="load.zf.images error.zf.images";t()(e).one(n,function e(){t()(this).off(n,e),o()}),e.src=t()(this).attr("src")}})}var w={9:"TAB",13:"ENTER",27:"ESCAPE",32:"SPACE",35:"END",36:"HOME",37:"ARROW_LEFT",38:"ARROW_UP",39:"ARROW_RIGHT",40:"ARROW_DOWN"},x={};
2function k(e){return!!e&&e.find("a[href], area[href], input:not([disabled]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]), iframe, object, embed, *[tabindex], *[contenteditable]").filter(function(){return!(!t()(this).is(":visible")||t()(this).attr("tabindex")<0)}).sort(function(e,n){if(t()(e).attr("tabindex")===t()(n).attr("tabindex"))return 0;var i=parseInt(t()(e).attr("tabindex"),10),o=parseInt(t()(n).attr("tabindex"),10);return void 0===t()(e).attr("tabindex")&&o>0?1:void 0===t()(n).attr("tabindex")&&i>0?-1:0===i&&o>0?1:0===o&&i>0||i<o?-1:i>o?1:void 0})}function S(e){var t=w[e.which||e.keyCode]||String.fromCharCode(e.which).toUpperCase();return t=t.replace(/\W+/,""),e.shiftKey&&(t="SHIFT_".concat(t)),e.ctrlKey&&(t="CTRL_".concat(t)),e.altKey&&(t="ALT_".concat(t)),t.replace(/_$/,"")}var C={keys:function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=e[n]);return t}(w),parseKey:S,handleKey:function(e,n,o){var r,a=x[n],s=this.parseKey(e);if(!a)return console.warn("Component not defined!");if(!0!==e.zfIsKeyHandled)if((r=o[(void 0===a.ltr?a:i()?t().extend({},a.ltr,a.rtl):t().extend({},a.rtl,a.ltr))[s]])&&"function"==typeof r){var l=r.apply();e.zfIsKeyHandled=!0,(o.handled||"function"==typeof o.handled)&&o.handled(l)}else(o.unhandled||"function"==typeof o.unhandled)&&o.unhandled()},findFocusable:k,register:function(e,t){x[e]=t},trapFocus:function(e){var t=k(e),n=t.eq(0),i=t.eq(-1);e.on("keydown.zf.trapfocus",function(e){e.target===i[0]&&"TAB"===S(e)?(e.preventDefault(),n.focus()):e.target===n[0]&&"SHIFT_TAB"===S(e)&&(e.preventDefault(),i.focus())})},releaseFocus:function(e){e.off("keydown.zf.trapfocus")}},_=["mui-enter","mui-leave"],T=["mui-enter-active","mui-leave-active"],E={animateIn:function(e,t,n){A(!0,e,t,n)},animateOut:function(e,t,n){A(!1,e,t,n)}};function A(e,n,i,o){if((n=t()(n).eq(0)).length){var r=e?_[0]:_[1],s=e?T[0]:T[1];l(),n.addClass(i).css("transition","none"),requestAnimationFrame(function(){n.addClass(r),e&&n.show()}),requestAnimationFrame(function(){n[0].offsetWidth,n.css("transition","").addClass(s)}),n.one(a(n),function(){e||n.hide(),l(),o&&o.apply(n)})}function l(){n[0].style.transitionDuration=0,n.removeClass("".concat(r," ").concat(s," ").concat(i))}}var O={Feather:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"zf";e.attr("role","menubar"),e.find("a").attr({role:"menuitem"});var i=e.find("li").attr({role:"none"}),o="is-".concat(n,"-submenu"),r="".concat(o,"-item"),a="is-".concat(n,"-submenu-parent"),s="accordion"!==n;i.each(function(){var e=t()(this),i=e.children("ul");if(i.length){if(e.addClass(a),s){var l=e.children("a:first");l.attr({"aria-haspopup":!0,"aria-label":l.attr("aria-label")||l.text()}),"drilldown"===n&&e.attr({"aria-expanded":!1})}i.addClass("submenu ".concat(o)).attr({"data-submenu":"",role:"menubar"}),"drilldown"===n&&i.attr({"aria-hidden":!0})}e.parent("[data-submenu]").length&&e.addClass("is-submenu-item ".concat(r))})},Burn:function(e,t){var n="is-".concat(t,"-submenu"),i="".concat(n,"-item"),o="is-".concat(t,"-submenu-parent");e.find(">li, > li > ul, .menu, .menu > li, [data-submenu] > li").removeClass("".concat(n," ").concat(i," ").concat(o," is-submenu-item submenu is-active")).removeAttr("data-submenu").css("display","")}};function $(e){return $="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},$(e)}function L(e){var t=function(e){if("object"!=$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==$(t)?t:t+""}var P,z,D,I,j={},M=!1,N=!1;function H(e){if(this.removeEventListener("touchmove",R),this.removeEventListener("touchend",H),!N){var n=t().Event("tap",I||e);t()(this).trigger(n)}I=null,M=!1,N=!1}function R(e){if(!0===t().spotSwipe.preventDefault&&e.preventDefault(),M){var n,i=e.touches[0].pageX,o=P-i;N=!0,D=(new Date).getTime()-z,Math.abs(o)>=t().spotSwipe.moveThreshold&&D<=t().spotSwipe.timeThreshold&&(n=o>0?"left":"right"),n&&(e.preventDefault(),H.apply(this,arguments),t()(this).trigger(t().Event("swipe",Object.assign({},e)),n).trigger(t().Event("swipe".concat(n),Object.assign({},e))))}}function q(e){1===e.touches.length&&(P=e.touches[0].pageX,I=e,M=!0,N=!1,z=(new Date).getTime(),this.addEventListener("touchmove",R,{passive:!0===t().spotSwipe.preventDefault}),this.addEventListener("touchend",H,!1))}function F(){this.addEventListener&&this.addEventListener("touchstart",q,{passive:!0})}var B=function(){return e=function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.version="1.0.0",this.enabled="ontouchstart"in document.documentElement,this.preventDefault=!1,this.moveThreshold=75,this.timeThreshold=200,this._init()},(n=[{key:"_init",value:function(){t().event.special.swipe={setup:F},t().event.special.tap={setup:F},t().each(["left","up","down","right"],function(){t().event.special["swipe".concat(this)]={setup:function(){t()(this).on("swipe",t().noop)}}})}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,L(i.key),i)}}(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,n}();function U(e){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U(e)}j.setupSpotSwipe=function(){t().spotSwipe=new B(t())},j.setupTouchHandler=function(){t().fn.addTouch=function(){this.each(function(n,i){t()(i).bind("touchstart touchmove touchend touchcancel",function(t){e(t)})});var e=function(e){var t,n=e.changedTouches[0],i={touchstart:"mousedown",touchmove:"mou
2semove",touchend:"mouseup"}[e.type];"MouseEvent"in window&&"function"==typeof window.MouseEvent?t=new window.MouseEvent(i,{bubbles:!0,cancelable:!0,screenX:n.screenX,screenY:n.screenY,clientX:n.clientX,clientY:n.clientY}):(t=document.createEvent("MouseEvent")).initMouseEvent(i,!0,!0,window,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),n.target.dispatchEvent(t)}}},j.init=function(){void 0===t().spotSwipe&&(j.setupSpotSwipe(t()),j.setupTouchHandler(t()))};var W=function(){for(var e=["WebKit","Moz","O","Ms",""],t=0;t<e.length;t++)if("".concat(e[t],"MutationObserver")in window)return window["".concat(e[t],"MutationObserver")];return!1}(),V=function(e,n){e.data(n).split(" ").forEach(function(i){t()("#".concat(i))["close"===n?"trigger":"triggerHandler"]("".concat(n,".zf.trigger"),[e])})},Y={Listeners:{Basic:{},Global:{}},Initializers:{}};function X(e,n,i){var o,r=Array.prototype.slice.call(arguments,3);t()(window).on(n,function(){o&&clearTimeout(o),o=setTimeout(function(){i.apply(null,r)},e||10)})}function Z(e){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Z(e)}function G(e){var t=function(e){if("object"!=Z(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Z(t)?t:t+""}Y.Listeners.Basic={openListener:function(){V(t()(this),"open")},closeListener:function(){t()(this).data("close")?V(t()(this),"close"):t()(this).trigger("close.zf.trigger")},toggleListener:function(){t()(this).data("toggle")?V(t()(this),"toggle"):t()(this).trigger("toggle.zf.trigger")},closeableListener:function(e){var n=t()(this).data("closable");e.stopPropagation(),""!==n?E.animateOut(t()(this),n,function(){t()(this).trigger("closed.zf")}):t()(this).fadeOut().trigger("closed.zf")},toggleFocusListener:function(){var e=t()(this).data("toggle-focus");t()("#".concat(e)).triggerHandler("toggle.zf.trigger",[t()(this)])}},Y.Initializers.addOpenListener=function(e){e.off("click.zf.trigger",Y.Listeners.Basic.openListener),e.on("click.zf.trigger","[data-open]",Y.Listeners.Basic.openListener)},Y.Initializers.addCloseListener=function(e){e.off("click.zf.trigger",Y.Listeners.Basic.closeListener),e.on("click.zf.trigger","[data-close]",Y.Listeners.Basic.closeListener)},Y.Initializers.addToggleListener=function(e){e.off("click.zf.trigger",Y.Listeners.Basic.toggleListener),e.on("click.zf.trigger","[data-toggle]",Y.Listeners.Basic.toggleListener)},Y.Initializers.addCloseableListener=function(e){e.off("close.zf.trigger",Y.Listeners.Basic.closeableListener),e.on("close.zf.trigger","[data-closeable], [data-closable]",Y.Listeners.Basic.closeableListener)},Y.Initializers.addToggleFocusListener=function(e){e.off("focus.zf.trigger blur.zf.trigger",Y.Listeners.Basic.toggleFocusListener),e.on("focus.zf.trigger blur.zf.trigger","[data-toggle-focus]",Y.Listeners.Basic.toggleFocusListener)},Y.Listeners.Global={resizeListener:function(e){W||e.each(function(){t()(this).triggerHandler("resizeme.zf.trigger")}),e.attr("data-events","resize")},scrollListener:function(e){W||e.each(function(){t()(this).triggerHandler("scrollme.zf.trigger")}),e.attr("data-events","scroll")},closeMeListener:function(e,n){var i=e.namespace.split(".")[0];t()("[data-".concat(i,"]")).not('[data-yeti-box="'.concat(n,'"]')).each(function(){var e=t()(this);e.triggerHandler("close.zf.trigger",[e])})}},Y.Initializers.addClosemeListener=function(e){var n=t()("[data-yeti-box]"),i=["dropdown","tooltip","reveal"];if(e&&("string"==typeof e?i.push(e):"object"===U(e)&&"string"==typeof e[0]?i=i.concat(e):console.error("Plugin names must be strings")),n.length){var o=i.map(function(e){return"closeme.zf.".concat(e)}).join(" ");t()(window).off(o).on(o,Y.Listeners.Global.closeMeListener)}},Y.Initializers.addResizeListener=function(e){var n=t()("[data-resize]");n.length&&X(e,"resize.zf.trigger",Y.Listeners.Global.resizeListener,n)}
2,Y.Initializers.addScrollListener=function(e){var n=t()("[data-scroll]");n.length&&X(e,"scroll.zf.trigger",Y.Listeners.Global.scrollListener,n)},Y.Initializers.addMutationEventsListener=function(e){if(!W)return!1;var n=e.find("[data-resize], [data-scroll], [data-mutate]"),i=function(e){var n=t()(e[0].target);switch(e[0].type){case"attributes":"scroll"===n.attr("data-events")&&"data-events"===e[0].attributeName&&n.triggerHandler("scrollme.zf.trigger",[n,window.pageYOffset]),"resize"===n.attr("data-events")&&"data-events"===e[0].attributeName&&n.triggerHandler("resizeme.zf.trigger",[n]),"style"===e[0].attributeName&&(n.closest("[data-mutate]").attr("data-events","mutate"),n.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[n.closest("[data-mutate]")]));break;case"childList":n.closest("[data-mutate]").attr("data-events","mutate"),n.closest("[data-mutate]").triggerHandler("mutateme.zf.trigger",[n.closest("[data-mutate]")]);break;default:return!1}};if(n.length)for(var o=0;o<=n.length-1;o++)new W(i).observe(n[o],{attributes:!0,childList:!0,characterData:!1,subtree:!0,attributeFilter:["data-events","style"]})},Y.Initializers.addSimpleListeners=function(){var e=t()(document);Y.Initializers.addOpenListener(e),Y.Initializers.addCloseListener(e),Y.Initializers.addToggleListener(e),Y.Initializers.addCloseableListener(e),Y.Initializers.addToggleFocusListener(e)},Y.Initializers.addGlobalListeners=function(){var e=t()(document);Y.Initializers.addMutationEventsListener(e),Y.Initializers.addResizeListener(250),Y.Initializers.addScrollListener(),Y.Initializers.addClosemeListener()},Y.init=function(e,n){s(t()(window),function(){!0!==t().triggersInitialized&&(Y.Initializers.addSimpleListeners(),Y.Initializers.addGlobalListeners(),t().triggersInitialized=!0)}),n&&(n.Triggers=Y,n.IHearYou=Y.Initializers.addGlobalListeners)};var K=function(){return e=function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._setup(t,n);var i=Q(this);this.uuid=o(6,i),this.$element.attr("data-".concat(i))||this.$element.attr("data-".concat(i),this.uuid),this.$element.data("zfPlugin")||this.$element.data("zfPlugin",this),this.$element.trigger("init.zf.".concat(i))},(t=[{key:"destroy",value:function(){this._destroy();var e=Q(this);for(var t in this.$element.removeAttr("data-".concat(e)).removeData("zfPlugin").trigger("destroyed.zf.".concat(e)),this)this.hasOwnProperty(t)&&(this[t]=null)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,G(i.key),i)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e;var e,t}();function Q(e){return e.className.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function J(e){return J="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},J(e)}function ee(e){var t=function(e){if("object"!=J(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=J(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==J(t)?t:t+""}function te(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(te=function(){return!!e})()}function ne(e){return ne=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ne(e)}function ie(e,t){return ie=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ie(e,t)}var oe=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=ne(t),function(e,t){if(t&&("object"==J(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,te()?Reflect.construct(t,n||[],ne(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ie(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Accordion",this._init(),C.register("Accordion",{ENTER:"toggle",SPACE:"toggle",ARROW_DOWN:"next",ARROW_UP:"previous",HOME:"first",END:"last"})}},{key:"_init",value:function(){var e=this;this._isInitializing=!0,this.$tabs=this.$element.children("[data-accordion-item]"),this.$tabs.each(function(e,n){var i=t()(n),r=i.children("[data-tab-content]"),a=r[0].id||o(6,"accordion"),s=n.id?"".concat(n.id,"-label"):"".concat(a,"-label");i.find("a:first").attr({"aria-controls":a,id:s,"aria-expanded":!1}),r.attr({role:"region","aria-labelledby":s,"aria-hidden":!0,id:a})});
2var n=this.$element.find(".is-active").children("[data-tab-content]");n.length&&(this._initialAnchor=n.prev("a").attr("href"),this._openSingleTab(n)),this._checkDeepLink=function(){var n=window.location.hash;if(!n.length){if(e._isInitializing)return;e._initialAnchor&&(n=e._initialAnchor)}var i=n&&t()(n),o=n&&e.$element.find('[href$="'.concat(n,'"]'));i.length&&o.length&&(i&&o&&o.length?o.parent("[data-accordion-item]").hasClass("is-active")||e._openSingleTab(i):e._closeAllTabs(),e.options.deepLinkSmudge&&s(t()(window),function(){var n=e.$element.offset();t()("html, body").animate({scrollTop:n.top-e.options.deepLinkSmudgeOffset},e.options.deepLinkSmudgeDelay)}),e.$element.trigger("deeplink.zf.accordion",[o,i]))},this.options.deepLink&&this._checkDeepLink(),this._events(),this._isInitializing=!1}},{key:"_events",value:function(){var e=this;this.$tabs.each(function(){var n=t()(this),i=n.children("[data-tab-content]");i.length&&n.children("a").off("click.zf.accordion keydown.zf.accordion").on("click.zf.accordion",function(t){t.preventDefault(),e.toggle(i)}).on("keydown.zf.accordion",function(t){C.handleKey(t,"Accordion",{toggle:function(){e.toggle(i)},next:function(){var t=n.next().find("a").focus();e.options.multiExpand||t.trigger("click.zf.accordion")},previous:function(){var t=n.prev().find("a").focus();e.options.multiExpand||t.trigger("click.zf.accordion")},first:function(){var t=e.$tabs.first().find(".accordion-title").focus();e.options.multiExpand||t.trigger("click.zf.accordion")},last:function(){var t=e.$tabs.last().find(".accordion-title").focus();e.options.multiExpand||t.trigger("click.zf.accordion")},handled:function(){t.preventDefault()}})})}),this.options.deepLink&&t()(window).on("hashchange",this._checkDeepLink)}},{key:"toggle",value:function(e){if(e.closest("[data-accordion]").is("[disabled]"))console.info("Cannot toggle an accordion that is disabled.");else if(e.parent().hasClass("is-active")?this.up(e):this.down(e),this.options.deepLink){var t=e.prev("a").attr("href");this.options.updateHistory?history.pushState({},"",t):history.replaceState({},"",t)}}},{key:"down",value:function(e){e.closest("[data-accordion]").is("[disabled]")?console.info("Cannot call down on an accordion that is disabled."):this.options.multiExpand?this._openTab(e):this._openSingleTab(e)}},{key:"up",value:function(e){if(this.$element.is("[disabled]"))console.info("Cannot call up on an accordion that is disabled.");else{var t=e.parent();if(t.hasClass("is-active")){var n=t.siblings();(this.options.allowAllClosed||n.hasClass("is-active"))&&this._closeTab(e)}}}},{key:"_openSingleTab",value:function(e){var t=this.$element.children(".is-active").children("[data-tab-content]");t.length&&this._closeTab(t.not(e)),this._openTab(e)}},{key:"_openTab",value:function(e){var n=this,i=e.parent(),o=e.attr("aria-labelledby");e.attr("aria-hidden",!1),i.addClass("is-active"),t()("#".concat(o)).attr({"aria-expanded":!0}),e.finish().slideDown(this.options.slideSpeed,function(){n.$element.trigger("down.zf.accordion",[e])})}},{key:"_closeTab",value:function(e){var n=this,i=e.parent(),o=e.attr("aria-labelledby");e.attr("aria-hidden",!0),i.removeClass("is-active"),t()("#".concat(o)).attr({"aria-expanded":!1}),e.finish().slideUp(this.options.slideSpeed,function(){n.$element.trigger("up.zf.accordion",[e])})}},{key:"_closeAllTabs",value:function(){var e=this.$element.children(".is-active").children("[data-tab-content]");e.length&&this._closeTab(e)}},{key:"_destroy",value:function(){this.$element.find("[data-tab-content]").stop(!0).slideUp(0).css("display",""),this.$element.find("a").off(".zf.accordion"),this.options.deepLink&&t()(window).off("hashchange",this._checkDeepLink)}}],r&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,ee(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function re(e){return re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},re(e)}function ae(e){var t=function(e){if("object"!=re(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=re(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==re(t)?t:t+""}function se(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(se=function(){return!!e})()}function le(e){return le=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},le(e)}function ce(e,t){return ce=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ce(e,t)}oe.defaults={slideSpeed:250,multiExpand:!1,allowAllClosed:!1,deepLink:!1,deepLinkSmudge:!1,deepLinkSmudgeDelay:300,deepLinkSmudgeOffset:0,updateHistory:!1};var ue=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=le(t),function(e,t){if(t&&("object"==re(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,se()?Reflect.construct(t,n||[],le(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ce(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="AccordionMenu",this._init(),C.register("AccordionMenu",{ENTER:"toggle",SPACE:"toggle",ARROW_RIGHT:"open",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"close",ESCAPE:"closeAll"})}},{key:"_init",value:function(){O.Feather(this.$element,"accordion");var e=this;this.$element.find("[data-submenu]").not(".is-active").slideUp(0),this.$element.attr({"aria-multiselectable":this.options.multiOpe
2n}),this.$menuLinks=this.$element.find(".is-accordion-submenu-parent"),this.$menuLinks.each(function(){var n=this.id||o(6,"acc-menu-link"),i=t()(this),r=i.children("[data-submenu]"),a=r[0].id||o(6,"acc-menu"),s=r.hasClass("is-active");e.options.parentLink&&i.children("a").clone().prependTo(r).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-accordion-submenu-item"></li>'),e.options.submenuToggle?(i.addClass("has-submenu-toggle"),i.children("a").after('<button id="'+n+'" class="submenu-toggle" aria-controls="'+a+'" aria-expanded="'+s+'" title="'+e.options.submenuToggleText+'"><span class="submenu-toggle-text">'+e.options.submenuToggleText+"</span></button>")):i.attr({"aria-controls":a,"aria-expanded":s,id:n}),r.attr({"aria-labelledby":n,"aria-hidden":!s,role:"group",id:a})});var n=this.$element.find(".is-active");n.length&&n.each(function(){e.down(t()(this))}),this._events()}},{key:"_events",value:function(){var e=this;this.$element.find("li").each(function(){var n=t()(this).children("[data-submenu]");n.length&&(e.options.submenuToggle?t()(this).children(".submenu-toggle").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(){e.toggle(n)}):t()(this).children("a").off("click.zf.accordionMenu").on("click.zf.accordionMenu",function(t){t.preventDefault(),e.toggle(n)}))}).on("keydown.zf.accordionMenu",function(n){var i,o,r=t()(this),a=r.parent("ul").children("li"),s=r.children("[data-submenu]");a.each(function(e){if(t()(this).is(r))return i=a.eq(Math.max(0,e-1)).find("a").first(),o=a.eq(Math.min(e+1,a.length-1)).find("a").first(),t()(this).children("[data-submenu]:visible").length&&(o=r.find("li:first-child").find("a").first()),t()(this).is(":first-child")?i=r.parents("li").first().find("a").first():i.parents("li").first().children("[data-submenu]:visible").length&&(i=i.parents("li").find("li:last-child").find("a").first()),void(t()(this).is(":last-child")&&(o=r.parents("li").first().next("li").find("a").first()))}),C.handleKey(n,"AccordionMenu",{open:function(){s.is(":hidden")&&(e.down(s),s.find("li").first().find("a").first().focus())},close:function(){s.length&&!s.is(":hidden")?e.up(s):r.parent("[data-submenu]").length&&(e.up(r.parent("[data-submenu]")),r.parents("li").first().find("a").first().focus())},up:function(){return i.focus(),!0},down:function(){return o.focus(),!0},toggle:function(){return!e.options.submenuToggle&&(r.children("[data-submenu]").length?(e.toggle(r.children("[data-submenu]")),!0):void 0)},closeAll:function(){e.hideAll()},handled:function(e){e&&n.preventDefault()}})})}},{key:"hideAll",value:function(){this.up(this.$element.find("[data-submenu]"))}},{key:"showAll",value:function(){this.down(this.$element.find("[data-submenu]"))}},{key:"toggle",value:function(e){e.is(":animated")||(e.is(":hidden")?this.down(e):this.up(e))}},{key:"down",value:function(e){var t=this;if(!this.options.multiOpen){var n=e.parentsUntil(this.$element).add(e).add(e.find(".is-active")),i=this.$element.find(".is-active").not(n);this.up(i)}e.addClass("is-active").attr({"aria-hidden":!1}),this.options.submenuToggle?e.prev(".submenu-toggle").attr({"aria-expanded":!0}):e.parent(".is-accordion-submenu-parent").attr({"aria-expanded":!0}),e.slideDown(this.options.slideSpeed,function(){t.$element.trigger("down.zf.accordionMenu",[e])})}},{key:"up",value:function(e){var t=this,n=e.find("[data-submenu]"),i=e.add(n);n.slideUp(0),i.removeClass("is-active").attr("aria-hidden",!0),this.options.submenuToggle?i.prev(".submenu-toggle").attr("aria-expanded",!1):i.parent(".is-accordion-submenu-parent").attr("aria-expanded",!1),e.slideUp(this.options.slideSpeed,function(){t.$element.trigger("up.zf.accordionMenu",[e])})}},{key:"_destroy",value:function(){this.$element.find("[data-submenu]").slideDown(0).css("display",""),this.$element.find("a").off("click.zf.accordionMenu"),this.$element.find("[data-is-parent-link]").detach(),this.options.submenuToggle&&(this.$element.find(".has-submenu-toggle").removeClass("has-submenu-toggle"),this.$element.find(".submenu-toggle").remove()),O.Burn(this.$element,"accordion")}}],r&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,ae(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function de(e){return de="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},de(e)}function pe(e){var t=function(e){if("object"!=de(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=de(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==de(t)?t:t+""}function fe(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fe=function(){return!!e})()}function he(e){return he=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},he(e)}function me(e,t){return me=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},me(e,t)}ue.defaults={parentLink:!1,slideSpeed:250,submenuToggle:!1,submenuToggleText:"Toggle menu",multiOpe
2n:!0};var ve=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=he(t),function(e,t){if(t&&("object"==de(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,fe()?Reflect.construct(t,n||[],he(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&me(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Drilldown",this._init(),C.register("Drilldown",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"up",ARROW_DOWN:"down",ARROW_LEFT:"previous",ESCAPE:"close"})}},{key:"_init",value:function(){O.Feather(this.$element,"drilldown"),this.options.autoApplyClass&&this.$element.addClass("drilldown"),this.$element.attr({"aria-multiselectable":!1}),this.$submenuAnchors=this.$element.find("li.is-drilldown-submenu-parent").children("a"),this.$submenus=this.$submenuAnchors.parent("li").children("[data-submenu]").attr("role","group"),this.$menuItems=this.$element.find("li").not(".js-drilldown-back").find("a"),this.$currentMenu=this.$element,this.$element.attr("data-mutate",this.$element.attr("data-drilldown")||o(6,"drilldown")),this._prepareMenu(),this._registerEvents(),this._keyboardEvents()}},{key:"_prepareMenu",value:function(){var e=this;this.$submenuAnchors.each(function(){var n=t()(this),i=n.parent();e.options.parentLink&&n.clone().prependTo(i.children("[data-submenu]")).wrap('<li data-is-parent-link class="is-submenu-parent-item is-submenu-item is-drilldown-submenu-item" role="none"></li>'),n.data("savedHref",n.attr("href")).removeAttr("href").attr("tabindex",0),n.children("[data-submenu]").attr({"aria-hidden":!0,tabindex:0,role:"group"}),e._events(n)}),this.$submenus.each(function(){var n=t()(this);if(!n.find(".js-drilldown-back").length)switch(e.options.backButtonPosition){case"bottom":n.append(e.options.backButton);break;case"top":n.prepend(e.options.backButton);break;default:console.error("Unsupported backButtonPosition value '"+e.options.backButtonPosition+"'")}e._back(n)}),this.$submenus.addClass("invisible"),this.options.autoHeight||this.$submenus.addClass("drilldown-submenu-cover-previous"),this.$element.parent().hasClass("is-drilldown")||(this.$wrapper=t()(this.options.wrapper).addClass("is-drilldown"),this.options.animateHeight&&this.$wrapper.addClass("animate-height"),this.$element.wrap(this.$wrapper)),this.$wrapper=this.$element.parent(),this.$wrapper.css(this._getMaxDims())}},{key:"_resize",value:function(){this.$wrapper.css({"max-width":"none","min-height":"none"}),this.$wrapper.css(this._getMaxDims())}},{key:"_events",value:function(e){var n=this;e.off("click.zf.drilldown").on("click.zf.drilldown",function(i){if(t()(i.target).parentsUntil("ul","li").hasClass("is-drilldown-submenu-parent")&&i.preventDefault(),n._show(e.parent("li")),n.options.closeOnClick){var o=t()("body");o.off(".zf.drilldown").on("click.zf.drilldown",function(e){e.target===n.$element[0]||t().contains(n.$element[0],e.target)||(e.preventDefault(),n._hideAll(),o.off(".zf.drilldown"))})}})}},{key:"_registerEvents",value:function(){this.options.scrollTop&&(this._bindHandler=this._scrollTop.bind(this),this.$element.on("open.zf.drilldown hide.zf.drilldown close.zf.drilldown closed.zf.drilldown",this._bindHandler)),this.$element.on("mutateme.zf.trigger",this._resize.bind(this))}},{key:"_scrollTop",value:function(){var e=this,n=""!==e.options.scrollTopElement?t()(e.options.scrollTopElement):e.$element,i=parseInt(n.offset().top+e.options.scrollTopOffset,10);t()("html, body").stop(!0).animate({scrollTop:i},e.options.animationDuration,e.options.animationEasing,function(){this===t()("html")[0]&&e.$element.trigger("scrollme.zf.drilldown")})}},{key:"_keyboardEvents",value:function(){var e=this;this.$menuItems.add(this.$element.find(".js-drilldown-back > a, .is-submenu-parent-item > a")).on("keydown.zf.drilldown",function(n){var i,o,r=t()(this),s=r.parent("li").parent("ul").children("li").children("a");s.each(function(e){if(t()(this).is(r))return i=s.eq(Math.max(0,e-1)),void(o=s.eq(Math.min(e+1,s.length-1)))}),C.handleKey(n,"Drilldown",{next:function(){if(r.is(e.$submenuAnchors))return e._show(r.parent("li")),r.parent("li").one(a(r),function(){r.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus()}),!0},previous:function(){return e._hide(r.parent("li").parent("ul")),r.parent("li").parent("ul").one(a(r),function(){setTimeout(function(){r.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),!0},up:function(){return i.focus(),!r.is(e.$element.find("> li:first-child > a"))},down:function(){return o.focus(),!r.is(e.$element.find("> li:last-child > a"))},close:function(){r.is(e.$element.find("> li > a"))||(e._hide(r.parent().parent()),r.parent().parent().siblings("a").focus())},open:function(){return(!e.options.parentLink||!r.attr("href"))&&(r.is(e.$menuItems)?r.is(e.$submenuAnchors)?(e._show(r.parent("li")),r.parent("li").one(a(r),function(){r.parent("li").find("ul li a").not(".js-drilldown-back a").first().focus()}),!0):void 0:(e._hide(r.parent("li").parent("ul")),r.parent("li").parent("ul").one(a(r),function(){setTimeout(function(){r.parent("li").parent("ul").parent("li").children("a").first().focus()},1)}),!0))},handled:function(e){e&&n.preventDefault()}})})}},{key:"_hideAll",value:function(){var e=this,t=this.$element.find(".
2is-drilldown-submenu.is-active");if(t.addClass("is-closing"),t.parent().closest("ul").removeClass("invisible"),this.options.autoHeight){var n=t.parent().closest("ul").data("calcHeight");this.$wrapper.css({height:n})}this.$element.trigger("close.zf.drilldown"),t.one(a(t),function(){t.removeClass("is-active is-closing"),e.$element.trigger("closed.zf.drilldown")})}},{key:"_back",value:function(e){var t=this;e.off("click.zf.drilldown"),e.children(".js-drilldown-back").on("click.zf.drilldown",function(){t._hide(e);var n=e.parent("li").parent("ul").parent("li");n.length?t._show(n):t.$currentMenu=t.$element})}},{key:"_menuLinkEvents",value:function(){var e=this;this.$menuItems.not(".is-drilldown-submenu-parent").off("click.zf.drilldown").on("click.zf.drilldown",function(){setTimeout(function(){e._hideAll()},0)})}},{key:"_setShowSubMenuClasses",value:function(e,t){e.addClass("is-active").removeClass("invisible").attr("aria-hidden",!1),e.parent("li").attr("aria-expanded",!0),!0===t&&this.$element.trigger("open.zf.drilldown",[e])}},{key:"_setHideSubMenuClasses",value:function(e,t){e.removeClass("is-active").addClass("invisible").attr("aria-hidden",!0),e.parent("li").attr("aria-expanded",!1),!0===t&&e.trigger("hide.zf.drilldown",[e])}},{key:"_showMenu",value:function(e,n){var i=this;if(this.$element.find('li[aria-expanded="true"] > ul[data-submenu]').each(function(){i._setHideSubMenuClasses(t()(this))}),this.$currentMenu=e,e.is("[data-drilldown]"))return!0===n&&e.find("li > a").first().focus(),void(this.options.autoHeight&&this.$wrapper.css("height",e.data("calcHeight")));var o=e.children().first().parentsUntil("[data-drilldown]","[data-submenu]");o.each(function(r){0===r&&i.options.autoHeight&&i.$wrapper.css("height",t()(this).data("calcHeight"));var s=r===o.length-1;!0===s&&t()(this).one(a(t()(this)),function(){!0===n&&e.find("li > a").first().focus()}),i._setShowSubMenuClasses(t()(this),s)})}},{key:"_show",value:function(e){var t=e.children("[data-submenu]");e.attr("aria-expanded",!0),this.$currentMenu=t,e.parent().closest("ul").addClass("invisible"),t.addClass("is-active visible").removeClass("invisible").attr("aria-hidden",!1),this.options.autoHeight&&this.$wrapper.css({height:t.data("calcHeight")}),this.$element.trigger("open.zf.drilldown",[e])}},{key:"_hide",value:function(e){this.options.autoHeight&&this.$wrapper.css({height:e.parent().closest("ul").data("calcHeight")}),e.parent().closest("ul").removeClass("invisible"),e.parent("li").attr("aria-expanded",!1),e.attr("aria-hidden",!0),e.addClass("is-closing").one(a(e),function(){e.removeClass("is-active is-closing visible"),e.blur().addClass("invisible")}),e.trigger("hide.zf.drilldown",[e])}},{key:"_getMaxDims",value:function(){var e=0,n={},i=this;return this.$submenus.add(this.$element).each(function(){var n=v.GetDimensions(this).height;e=n>e?n:e,i.options.autoHeight&&t()(this).data("calcHeight",n)}),this.options.autoHeight?n.height=this.$currentMenu.data("calcHeight"):n["min-height"]="".concat(e,"px"),n["max-width"]="".concat(this.$element[0].getBoundingClientRect().width,"px"),n}},{key:"_destroy",value:function(){t()("body").off(".zf.drilldown"),this.options.scrollTop&&this.$element.off(".zf.drilldown",this._bindHandler),this._hideAll(),this.$element.off("mutateme.zf.trigger"),O.Burn(this.$element,"drilldown"),this.$element.unwrap().find(".js-drilldown-back, .is-submenu-parent-item").remove().end().find(".is-active, .is-closing, .is-drilldown-submenu").removeClass("is-active is-closing is-drilldown-submenu").off("transitionend otransitionend webkitTransitionEnd").end().find("[data-submenu]").removeAttr("aria-hidden tabindex role"),this.$submenuAnchors.each(function(){t()(this).off(".zf.drilldown")}),this.$element.find("[data-is-parent-link]").detach(),this.$submenus.removeClass("drilldown-submenu-cover-previous invisible"),this.$element.find("a").each(function(){var e=t()(this);e.removeAttr("tabindex"),e.data("savedHref")&&e.attr("href",e.data("savedHref")).removeData("savedHref")})}}],r&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,pe(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function ge(e){return ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ge(e)}function ye(e){var t=function(e){if("object"!=ge(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ge(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ge(t)?t:t+""}function be(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(be=function(){return!!e})()}function we(e){return we=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},we(e)}function xe(e,t){return xe=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},xe(e,t)}ve.defaults={autoApplyClass:!0,backButton:'<li class="js-drilldown-back"><a tabindex="0">Back</a></li>',backButtonPosition:"top",wrapper:"<div></div>",parentLink:!1,closeOnClick:!1,autoHeight:!1,animateHeight:!1,scrollTop:!1,scrollTopElement:"",scrollTopOffset:0,animationDuration:500,animationEasing:"swing"};var ke=["left","right","top","bottom"],Se=["top","bottom","center"],Ce=["left","right","center"],_e={left:Se,right:Se,top:Ce,bottom:Ce};function Te(e,t){var n=t.indexOf(e);return n===t.length-1?t[0]:t[n+1]}var Ee=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=we(t),function(e,t){if(t&&("object"==ge(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,be()?Reflect.construct(t,n||[],we(e).constructor):t.apply(e,n))}(this,t,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&xe(e,t)}(t,e),n=t,(o=[{key:"_init",value:function(){this.triedPositions={},this.position="auto"===this.options.position?this._getDefaultPosition():this.options.position,this.alignment="auto"===this.options.alignment?this._getDefaultAlignment():this.options.alignment,this.originalPosition=this.position,this.originalAlignment=this.alignment}},{key:"_getDefaultPosition",value:function(){return"bottom"}},{key:"_getDefaultAlignment",value:function(){switch(this.position){case"bottom":case"top":return i()?"right":"left";case"left":case"right":return"bottom"}}},{key:"_reposition",value:function(){this._alignmentsExhausted(this.position)?(this.position=Te(this.position,ke),this.alignment=_e[this.position][0]):this._realign()}},{key:"_realign",value:function(){this._addTriedPosition(this.position,this.alignment),this.alignment=Te(this.alignment,_e[this.position])}},{key:"_addTriedPosition",value:function(e,t){this.triedPositions[e]=this.triedPositions[e]||[],this.triedPositions[e].push(t)}},{key:"_positionsExhausted",value:function(){for(var e=!0,t=0;t<ke.length;t++)e=e&&this._alignmentsExhausted(ke[t]);return e}},{key:"_alignmentsExhausted",value:function(e){return this.triedPositions[e]&&this.triedPositions[e].length===_e[e].length}},{key:"_getVOffset",value:function(){return this.options.vOffset}},{key:"_getHOffset",value:function(){return this.options.hOffset}},{key:"_setPosition",value:function(e,t,n){if("false"===e.attr("aria-expanded"))return!1;if(this.options.allowOverlap||(this.position=this.originalPosition,this.alignment=this.originalAlignment),t.offset(v.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset())),!this.options.allowOverlap){for(var i=1e8,o={position:this.position,alignment:this.alignment};!this._positionsExhausted();){var r=v.OverlapArea(t,n,!1,!1,this.options.allowBottomOverlap);if(0===r)return;r<i&&(i=r,o={position:this.position,alignment:this.alignment}),this._reposition(),t.offset(v.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset()))}this.position=o.position,this.alignment=o.alignment,t.offset(v.GetExplicitOffsets(t,e,this.position,this.alignment,this._getVOffset(),this._getHOffset()))}}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,ye(i.key),i)}}(n.prototype,o),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,o}(K);function Ae(e){return Ae="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ae(e)}function Oe(e){var t=function(e){if("object"!=Ae(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ae(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ae(t)?t:t+""}function $e(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($e=function(){return!!e})()}function Le(e,t,n,i){var o=Pe(ze(1&i?e.prototype:e),t,n);return 2&i&&"function"==typeof o?function(e){return o.apply(n,e)}:o}function Pe(){return Pe="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(e,t,n){var i=function(e,t){for(;!{}.hasOwnProperty.call(e,t)&&null!==(e=ze(e)););return e}(e,t);if(i){var o=Object.getOwnPropertyDescriptor(i,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},Pe.apply(null,arguments)}function ze(e){return ze=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ze(e)}function De(e,t){return De=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},De(e,t)}Ee.defaults={position:"auto",alignment:"auto",allowOverlap:!1,allowBottomOverlap:!0,vOffset:0,hOffset:0};var Ie=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=ze(t),function(e,t){if(t&&("object"==Ae(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,$e()?Reflect.construct(t,n||[],ze(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&De(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Dropdown",j.init(t()),Y.init(t()),this._init(),C.register("Dropdown",{ENTER:"toggle",SPACE:"toggle",ESCAPE:"close"})}},{key:"_init",value:function(){var e=this.$element.attr("id");this.$anchors=t()('[data-toggle="'.concat(e,'"]')).length?t()('[data-toggle="'.concat(e,'"]')):t()('[data-open="'.concat(e,'"]')),this.$anchors.attr({"aria-controls":e,"data-is-focus":!1,"data-yeti-box":e,"aria-haspopup":!0,"aria-expanded":!1}),this._setCurrentAnchor(this.$anchors.first()),this.options.parentClass?this.$parent=this.$element.parents("."+this.options.parentClass):this.$parent=null,void 0===this.$element.attr("aria-labelledby")&&(void 0===this.$currentAnchor.attr("id")&&this.$currentAnchor.attr("id",o(6,"dd-anchor")),this.$element.attr("aria-labelledby",this.$currentAnchor.attr("id"))),this.$element.attr({"aria-hidden":"true","data-yeti-box":e,"data-resize":e}),Le(n,"_init",this,3)([]),this._events()}},{key:"_getDefaultPosition",value:function(){var e=this.$element[0].className.match(/(top|left|right|bottom)/g);return e?e[0]:"bottom"}},{key:"_getDefaultAlignment",value:function(){var e=/float-(\S+)/.exec(this.$currentAnchor.attr("class"));return e?e[1]:Le(n,"_getDefaultAlignment",this,3)([])}},{key:"_setPosition",value:function(){this.$element.removeClass("has-position-".concat(this.position," has-alignment-").concat(this.alignment)),Le(n,"_setPosition",this,3)([this.$currentAnchor,this.$element,this.$parent]),this.$element.addClass("has-position-".concat(this.position," has-alignment-").concat(this.alignment))}},{key:"_setCurrentAnchor",value:function(e){this.$currentAnchor=t()(e)}},{key:"_events",value:function(){var e=this,n="ontouchstart"in window||void 0!==window.ontouchstart;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":this.close.bind(this),"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":this._setPosition.bind(this)}),this.$anchors.off("click.zf.trigger").on("click.zf.trigger",function(t){e._setCurrentAnchor(this),(!1===e.options.forceFollow||n&&e.options.hover&&!1===e.$element.hasClass("is-open"))&&t.preventDefault()}),this.options.hover&&(this.$anchors.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){e._setCurrentAnchor(this);var n=t()("body").data();void 0!==n.whatinput&&"mouse"!==n.whatinput||(clearTimeout(e.timeout),e.timeout=setTimeout(function(){e.open(),e.$anchors.data("hover",!0)},e.options.hoverDelay))}).on("mouseleave.zf.dropdown",l(function(){clearTimeout(e.timeout),e.timeout=setTimeout(function(){e.close(),e.$anchors.data("hover",!1)},e.options.hoverDelay)})),this.options.hoverPane&&this.$element.off("mouseenter.zf.dropdown mouseleave.zf.dropdown").on("mouseenter.zf.dropdown",function(){clearTimeout(e.timeout)}).on("mouseleave.zf.dropdown",l(function(){clearTimeout(e.timeout),e.timeout=setTimeout(function(){e.close(),e.$anchors.data("hover",!1)},e.options.hoverDelay)}))),this.$anchors.add(this.$element).on("keydown.zf.dropdown",function(n){var i=t()(this);C.handleKey(n,"Dropdown",{open:function(){i.is(e.$anchors)&&!i.is("input, textarea")&&(e.open(),e.$element.attr("tabindex",-1).focus(),n.preventDefault())},close:function(){e.close(),e.$anchors.focus()}})})}},{key:"_addBodyHandler",value:function(){var e=t()(document.body).not(this.$element),n=this;e.off("click.zf.dropdown tap.zf.dropdown").on("click.zf.dropdown tap.zf.dropdown",function(t){n.$anchors.is(t.target)||n.$anchors.find(t.target).length||n.$element.is(t.target)||n.$element.find(t.target).length||(n.close(),e.off("click.zf.dropdown tap.zf.dropdown"))})}},{key:"open",value:function(){if(this.$element.trigger("closeme.zf.dropdown",this.$element.attr("id")),this.$anchors.addClass("hover").attr({"aria-expanded":!0}),this.$element.addClass("is-opening"),this._setPosition(),this.$element.removeClass("is-opening").addClass("is-open").attr({"aria-hidden":!1}),this.options.autoFocus){var e=C.findFocusable(this.$element);e.length&&e.eq(0).focus()}this.options.closeOnClick&&this._addBodyHandler(),this.options.trapFocus&&C.trapFocus(this.$element),this.$element.trigger("show.zf.dropdown",[this.$element])}},{key:"close",value:function(){if(!this.$element.hasClass("is-open"))return!1;this.$element.removeClass("is-open").attr({"aria-hidden":!0}),this.$anchors.removeClass("hover").attr("aria-expanded",!1),this.$element.trigger("hide.zf.dropdown",[this.$element]),this.options.trapFocus&&C.releaseFocus(this.$element)}},{key:"toggle",value:function(){if(this.$element.hasClass("is-open")){if(this.$anchors.data("hover"))return;this.close()}else this.open()}},{key:"_destroy",value:function(){this.$element.off(".zf.trigger").hide(),this.$anchors.off(".zf.dropdown"),t()(document.body).off("click.zf.dropdown tap.zf.dropdown")}}],r&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Oe(i.key),i)}}(i.prototyp
2e,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(Ee);function je(e){return je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},je(e)}function Me(e){var t=function(e){if("object"!=je(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=je(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==je(t)?t:t+""}function Ne(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ne=function(){return!!e})()}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},He(e)}function Re(e,t){return Re=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Re(e,t)}Ie.defaults={parentClass:null,hoverDelay:250,hover:!1,hoverPane:!1,vOffset:0,hOffset:0,position:"auto",alignment:"auto",allowOverlap:!1,allowBottomOverlap:!0,trapFocus:!1,autoFocus:!1,closeOnClick:!1,forceFollow:!0};var qe=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=He(t),function(e,t){if(t&&("object"==je(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ne()?Reflect.construct(t,n||[],He(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Re(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Equalizer",this._init()}},{key:"_init",value:function(){var e=this.$element.attr("data-equalizer")||"",n=this.$element.find('[data-equalizer-watch="'.concat(e,'"]'));d._init(),this.$watched=n.length?n:this.$element.find("[data-equalizer-watch]"),this.$element.attr("data-resize",e||o(6,"eq")),this.$element.attr("data-mutate",e||o(6,"eq")),this.hasNested=this.$element.find("[data-equalizer]").length>0,this.isNested=this.$element.parentsUntil(document.body,"[data-equalizer]").length>0,this.isOn=!1,this._bindHandler={onResizeMeBound:this._onResizeMe.bind(this),onPostEqualizedBound:this._onPostEqualized.bind(this)};var i,r=this.$element.find("img");this.options.equalizeOn?(i=this._checkMQ(),t()(window).on("changed.zf.mediaquery",this._checkMQ.bind(this))):this._events(),(void 0!==i&&!1===i||void 0===i)&&(r.length?b(r,this._reflow.bind(this)):this._reflow())}},{key:"_pauseEvents",value:function(){this.isOn=!1,this.$element.off({".zf.equalizer":this._bindHandler.onPostEqualizedBound,"resizeme.zf.trigger":this._bindHandler.onResizeMeBound,"mutateme.zf.trigger":this._bindHandler.onResizeMeBound})}},{key:"_onResizeMe",value:function(){this._reflow()}},{key:"_onPostEqualized",value:function(e){e.target!==this.$element[0]&&this._reflow()}},{key:"_events",value:function(){this._pauseEvents(),this.hasNested?this.$element.on("postequalized.zf.equalizer",this._bindHandler.onPostEqualizedBound):(this.$element.on("resizeme.zf.trigger",this._bindHandler.onResizeMeBound),this.$element.on("mutateme.zf.trigger",this._bindHandler.onResizeMeBound)),this.isOn=!0}},{key:"_checkMQ",value:function(){var e=!d.is(this.options.equalizeOn);return e?this.isOn&&(this._pauseEvents(),this.$watched.css("height","auto")):this.isOn||this._events(),e}},{key:"_killswitch",value:function(){}},{key:"_reflow",value:function(){if(!this.options.equalizeOnStack&&this._isStacked())return this.$watched.css("height","auto"),!1;this.options.equalizeByRow?this.getHeightsByRow(this.applyHeightByRow.bind(this)):this.getHeights(this.applyHeight.bind(this))}},{key:"_isStacked",value:function(){return!this.$watched[0]||!this.$watched[1]||this.$watched[0].getBoundingClientRect().top!==this.$watched[1].getBoundingClientRect().top}},{key:"getHeights",value:function(e){for(var t=[],n=0,i=this.$watched.length;n<i;n++)this.$watched[n].style.height="auto",t.push(this.$watched[n].offsetHeight);e(t)}},{key:"getHeightsByRow",value:function(e){var n=this.$watched.length?this.$watched.first().offset().top:0,i=[],o=0;i[o]=[];for(var r=0,a=this.$watched.length;r<a;r++){this.$watched[r].style.height="auto";var s=t()(this.$watched[r]).offset().top;s!==n&&(i[++o]=[],n=s),i[o].push([this.$watched[r],this.$watched[r].offsetHeight])}for(var l=0,c=i.length;l<c;l++){var u=t()(i[l]).map(function(){return this[1]}).get(),d=Math.max.apply(null,u);i[l].push(d)}e(i)}},{key:"applyHeight",value:function(e){var t=Math.max.apply(null,e);
2this.$element.trigger("preequalized.zf.equalizer"),this.$watched.css("height",t),this.$element.trigger("postequalized.zf.equalizer")}},{key:"applyHeightByRow",value:function(e){this.$element.trigger("preequalized.zf.equalizer");for(var n=0,i=e.length;n<i;n++){var o=e[n].length,r=e[n][o-1];if(o<=2)t()(e[n][0][0]).css({height:"auto"});else{this.$element.trigger("preequalizedrow.zf.equalizer");for(var a=0,s=o-1;a<s;a++)t()(e[n][a][0]).css({height:r});this.$element.trigger("postequalizedrow.zf.equalizer")}}this.$element.trigger("postequalized.zf.equalizer")}},{key:"_destroy",value:function(){this._pauseEvents(),this.$watched.css("height","auto")}}],r&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Me(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function Fe(e){return Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Fe(e)}function Be(e){var t=function(e){if("object"!=Fe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Fe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Fe(t)?t:t+""}function Ue(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ue=function(){return!!e})()}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},We(e)}function Ve(e,t){return Ve=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Ve(e,t)}qe.defaults={equalizeOnStack:!1,equalizeByRow:!1,equalizeOn:""};var Ye=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=We(t),function(e,t){if(t&&("object"==Fe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ue()?Reflect.construct(t,n||[],We(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Ve(e,t)}(n,e),i=n,(r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.rules=[],this.currentPath="",this.className="Interchange",Y.init(t()),this._init(),this._events()}},{key:"_init",value:function(){d._init();var e=this.$element[0].id||o(6,"interchange");this.$element.attr({"data-resize":e,id:e}),this._parseOptions(),this._addBreakpoints(),this._generateRules(),this._reflow()}},{key:"_events",value:function(){var e=this;this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger",function(){return e._reflow()})}},{key:"_reflow",value:function(){var e;for(var t in this.rules)if(this.rules.hasOwnProperty(t)){var n=this.rules[t];window.matchMedia(n.query).matches&&(e=n)}e&&this.replace(e.path)}},{key:"_parseOptions",value:function(){void 0===this.options.type?this.options.type="auto":-1===["auto","src","background","html"].indexOf(this.options.type)&&(console.warn('Warning: invalid value "'.concat(this.options.type,'" for Interchange option "type"')),this.options.type="auto")}},{key:"_addBreakpoints",value:function(){for(var e in d.queries)if(d.queries.hasOwnProperty(e)){var t=d.queries[e];n.SPECIAL_QUERIES[t.name]=t.value}}},{key:"_generateRules",value:function(){var e,t=[];for(var i in e="string"==typeof(e=this.options.rules?this.options.rules:this.$element.data("interchange"))?e.match(/\[.*?, .*?\]/g):e)if(e.hasOwnProperty(i)){var o=e[i].slice(1,-1).split(", "),r=o.slice(0,-1).join(""),a=o[o.length-1];n.SPECIAL_QUERIES[a]&&(a=n.SPECIAL_QUERIES[a]),t.push({path:r,query:a})}this.rules=t}},{key:"replace",value:function(e){var n=this;if(this.currentPath!==e){var i="replaced.zf.interchange",o=this.options.type;"auto"===o&&(o="IMG"===this.$element[0].nodeName?"src":e.match(/\.(gif|jpe?g|png|svg|tiff)([?#].*)?/i)?"background":"html"),"src"===o?this.$element.attr("src",e).on("load",function(){n.currentPath=e}).trigger(i):"background"===o?(e=e.replace(/\(/g,"%28").replace(/\)/g,"%29"),this.$element.css({"background-image":"url("+e+")"}).trigger(i)):"html"===o&&t().get(e,function(o){n.$element.html(o).trigger(i),t()(o).foundation(),n.currentPath=e})}}},{key:"_destroy",value:function(){this.$element.off("resizeme.zf.trigger")}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Be(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function Xe(e){return Xe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Xe(e)}function Ze(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Ge(i.key),i)}}function Ge(e){var t=function(e){if("object"!=Xe(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Xe(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xe(t)?t:t+""}function Ke(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ke=function(){return!!e})()}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Qe(e)}function Je(e,t){return Je=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Je(e,t)}Ye.defaults={rules:null,type:"auto"},Ye.SPECIAL_QUERIES={landscape:"screen and (orientation: landscape)",portrait:"screen and (orientation: portrait)",retina:"only screen and (-webkit-min-device-pixel-ratio: 2), only screen and (min--moz-device-pixel-ratio: 2), only screen and (-o-min-device-pixel-ratio: 2/1), only screen and (min-device-pixel-ratio: 2), only screen and (min-resolution: 192dpi), only screen and (min-resolution: 2dppx)"};var et=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=Qe(t),function(e,t){if(t&&("object"==Xe(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Ke()?Reflect.construct(t,n||[],Qe(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Je(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="SmoothScroll",this._init()}},{key:"_init",value:function(){var e=this.$element[0].id||o(6,"smooth-scroll");this.$element.attr({id:e}),this._events()}},{key:"_events",value:function(){this._linkClickListener=this._handleLinkClick.bind(this),this.$element.on("click.zf.smoothScroll",this._linkClickListener),this.$element.on("click.zf.smoothScroll",'a[href^="#"]',this._linkClickListener)}},{key:"_handleLinkClick",value:function(e){var i=this;if(t()(e.currentTarget).is('a[href^="#"]')){var o=e.currentTarget.getAttribute("href");this._inTransition=!0,n.scrollToLoc(o,this.options,function(){i._inTransition=!1}),e.preventDefault()}}},{key:"_destroy",value:function(){this.$element.off("click.zf.smoothScroll",this._linkClickListener),this.$element.off("click.zf.smoothScroll",'a[href^="#"]',this._linkClickListener)}}],a=[{key:"scrollToLoc",value:function(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.defaults,o=arguments.length>2?arguments[2]:void 0,r=t()(e);if(!r.length)return!1;var a=Math.round(r.offset().top-i.threshold/2-i.offset);t()("html, body").stop(!0).animate({scrollTop:a},i.animationDuration,i.animationEasing,function(){"function"==typeof o&&o()})}}],r&&Ze(i.prototype,r),a&&Ze(i,a),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r,a}(K);function tt(e){return tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},tt(e)}function nt(e){var t=function(e){if("object"!=tt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tt(t)?t:t+""}function it(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(it=function(){return!!e})()}function ot(e){return ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ot(e)}function rt(e,t){return rt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},rt(e,t)}et.defaults={animationDuration:500,animationEasing:"linear",threshold:50,offset:0};var at=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=ot(t),function(e,t){if(t&&("object"==tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,it()?Reflect.construct(t,n||[],ot(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&rt(e,t)}(n,e),i=n,r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Magellan",Y.init(t()),this._init(),this.calcPoints()}},{key:"_init",value:function(){var e=this.$element[0].id||o(6,"magellan");this.$targets=t()("[data-magellan-target]"),this.$links=this.$element.find("a"),this.$element.attr({"data-resize":e,"data-scroll":e,id:e}),this.$active=t()(),this.scrollPos=parseInt(window.pageYOffset,10),this._events()}},{key:"calcPoints",value:function(){var e=this,n=document.body,i=document.documentElement;this.points=[],this.winHeight=Math.round(Math.max(window.innerHeight,i.clientHeight)),this.docHeight=Math.round(Math.max(n.scrollHeight,n.offsetHeight,i.clientHeight,i.scrollHeight,i.offsetHeight)),this.$targets.each(function(){var n=t()(this),i=Math.round(n.offset().top-e.options.threshold);n.targetPoint=i,e.points.push(i)})}},{key:"_events",value:function(){var e=this;t()(window).one("load",function(){e.options.deepLinking&&location.hash&&e.scrollToLoc(location.hash),e.calcPoints(),e._updateActive()}),e.onLoadListener=s(t()(window),function(){e.$element.on({"resizeme.zf.trigger":e.reflow.bind(e),"scrollme.zf.trigger":e._updateActive.bind(e)}).on("click.zf.magellan",'a[href^="#"]',function(t){t.preventDefault();var n=this.getAttribute("href");e.scrollToLoc(n)})}),this._deepLinkScroll=function(){e.options.deepLinking&&e.scrollToLoc(window.location.hash)},t()(window).on("hashchange",this._deepLinkScroll)}},{key:"scrollToLoc",value:function(e){this._inTransition=!0;var t=this,n={animationEasing:this.options.animationEasing,animationDuration:this.options.animationDuration,threshold:this.options.threshold,offset:this.options.offset};et.scrollToLoc(e,n,function(){t._inTransition=!1})}},{key:"reflow",value:function(){this.calcPoints(),this._updateActive()}},{key:"_updateActive",value:function(){var e=this;if(!this._inTransition){var n,i=parseInt(window.pageYOffset,10),o=this.scrollPos>i;if(this.scrollPos=i,i<this.points[0]-this.options.offset-(o?this.options.threshold:0));else if(i+this.winHeight===this.docHeight)n=this.points.length-1;else{var r=this.points.filter(function(t){return t-e.options.offset-(o?e.options.threshold:0)<=i});n=r.length?r.length-1:0}var a=this.$active,s="";void 0!==n?(this.$active=this.$links.filter('[href="#'+this.$targets.eq(n).data("magellan-target")+'"]'),this.$active.length&&(s=this.$active[0].getAttribute("href"))):this.$active=t()();var l=!(!this.$active.length&&!a.length||this.$active.is(a)),c=s!==window.location.hash;if(l&&(a.removeClass(this.options.activeClass),this.$active.addClass(this.options.activeClass)),this.options.deepLinking&&c)if(window.history.pushState){var u=s||window.location.pathname+window.location.search;this.options.updateHistory?window.history.pushState({},"",u):window.history.replaceState({},"",u)}else window.location.hash=s;l&&this.$element.trigger("update.zf.magellan",[this.$active])}}},{key:"_destroy",value:function(){if(this.$element.off(".zf.trigger .zf.magellan").find(".".concat(this.options.activeClass)).removeClass(this.options.activeClass),this.options.deepLinking){var e=this.$active[0].getAttribute("href");window.location.hash.replace(e,"")}t()(window).off("hashchange",this._deepLinkScroll),this.onLoadListener&&t()(window).off(this.onLoadListener)}}],r&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,nt(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function st(e){return st="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},st(e)}function lt(e){var t=function(e){if("object"!=st(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=st(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==st(t)?t:t+""}function ct(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ct=function(){return!!e})()}function ut(e){return ut=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},ut(e)}function dt(e,t){return dt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dt(e,t)}at.defaults={animationDuration:500,animationEasing:"linear",threshold:50,activeClass:"is-active",deepLinking:!1,updateHistory:!1,offset:0};var pt=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=ut(t),function(e,t){if(t&&("object"==st(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,ct()?Reflect.construct(t,n||[],ut(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dt(e,t)}(n,e),i=n,(o=[{key:"_setup",value:function(e,i){this.$ele
2ment=t()(e),this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="ResponsiveToggle",this._init(),this._events()}},{key:"_init",value:function(){d._init();var e=this.$element.data("responsive-toggle");if(e||console.error("Your tab bar needs an ID of a Menu as the value of data-tab-bar."),this.$targetMenu=t()("#".concat(e)),this.$toggler=this.$element.find("[data-toggle]").filter(function(){var n=t()(this).data("toggle");return n===e||""===n}),this.options=t().extend({},this.options,this.$targetMenu.data()),this.options.animate){var n=this.options.animate.split(" ");this.animationIn=n[0],this.animationOut=n[1]||null}this._update()}},{key:"_events",value:function(){this._updateMqHandler=this._update.bind(this),t()(window).on("changed.zf.mediaquery",this._updateMqHandler),this.$toggler.on("click.zf.responsiveToggle",this.toggleMenu.bind(this))}},{key:"_update",value:function(){d.atLeast(this.options.hideFor)?(this.$element.hide(),this.$targetMenu.show()):(this.$element.show(),this.$targetMenu.hide())}},{key:"toggleMenu",value:function(){var e=this;d.atLeast(this.options.hideFor)||(this.options.animate?this.$targetMenu.is(":hidden")?E.animateIn(this.$targetMenu,this.animationIn,function(){e.$element.trigger("toggled.zf.responsiveToggle"),e.$targetMenu.find("[data-mutate]").triggerHandler("mutateme.zf.trigger")}):E.animateOut(this.$targetMenu,this.animationOut,function(){e.$element.trigger("toggled.zf.responsiveToggle")}):(this.$targetMenu.toggle(0),this.$targetMenu.find("[data-mutate]").trigger("mutateme.zf.trigger"),this.$element.trigger("toggled.zf.responsiveToggle")))}},{key:"_destroy",value:function(){this.$element.off(".zf.responsiveToggle"),this.$toggler.off(".zf.responsiveToggle"),t()(window).off("changed.zf.mediaquery",this._updateMqHandler)}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,lt(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,o}(K);function ft(e){return ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ft(e)}function ht(e){var t=function(e){if("object"!=ft(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ft(t)?t:t+""}function mt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(mt=function(){return!!e})()}function vt(e){return vt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},vt(e)}function gt(e,t){return gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gt(e,t)}pt.defaults={hideFor:"medium",animate:!1};var yt=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=vt(t),function(e,t){if(t&&("object"==ft(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,mt()?Reflect.construct(t,n||[],vt(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gt(e,t)}(n,e),i=n,o=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Reveal",this._init(),j.init(t()),Y.init(t()),C.register("Reveal",{ESCAPE:"close"})}},{key:"_init",value:function(){var e=this;d._init(),this.id=this.$element.attr("id"),this.isActive=!1,this.cached={mq:d.current},this.$anchor=t()('[data-open="'.concat(this.id,'"]')).length?t()('[data-open="'.concat(this.id,'"]')):t()('[data-toggle="'.concat(this.id,'"]')),this.$anchor.attr({"aria-controls":this.id,"aria-haspopup":"dialog",tabindex:0}),(this.options.fullScreen||this.$element.hasClass("full"))&&(this.options.fullScreen=!0,this.options.overlay=!1),this.options.overlay&&!this.$overlay&&(this.$overlay=this._makeOverlay(this.id)),this.$element.attr({role:"dialog","aria-hidden":!0,"data-yeti-box":this.id,"data-resize":this.id}),this.$overlay?this.$element.detach().appendTo(this.$overlay):(this.$element.detach().appendTo(t()(this.options.appendTo)),this.$element.addClass("without-overlay")),this._events(),this.options.deepLink&&window.location.hash==="#".concat(this.id
2)&&(this.onLoadListener=s(t()(window),function(){return e.open()}))}},{key:"_makeOverlay",value:function(){var e="";return this.options.additionalOverlayClasses&&(e=" "+this.options.additionalOverlayClasses),t()("<div></div>").addClass("reveal-overlay"+e).appendTo(this.options.appendTo)}},{key:"_updatePosition",value:function(){var e,n=this.$element.outerWidth(),i=t()(window).width(),o=this.$element.outerHeight(),r=t()(window).height(),a=null;e="auto"===this.options.hOffset?parseInt((i-n)/2,10):parseInt(this.options.hOffset,10),"auto"===this.options.vOffset?a=o>r?parseInt(Math.min(100,r/10),10):parseInt((r-o)/4,10):null!==this.options.vOffset&&(a=parseInt(this.options.vOffset,10)),null!==a&&this.$element.css({top:a+"px"}),this.$overlay&&"auto"===this.options.hOffset||(this.$element.css({left:e+"px"}),this.$element.css({margin:"0px"}))}},{key:"_events",value:function(){var e=this,n=this;this.$element.on({"open.zf.trigger":this.open.bind(this),"close.zf.trigger":function(i,o){if(i.target===n.$element[0]||t()(i.target).parents("[data-closable]")[0]===o)return e.close.apply(e)},"toggle.zf.trigger":this.toggle.bind(this),"resizeme.zf.trigger":function(){n._updatePosition()}}),this.options.closeOnClick&&this.options.overlay&&this.$overlay.off(".zf.reveal").on("click.zf.dropdown tap.zf.dropdown",function(e){e.target!==n.$element[0]&&!t().contains(n.$element[0],e.target)&&t().contains(document,e.target)&&n.close()}),this.options.deepLink&&t()(window).on("hashchange.zf.reveal:".concat(this.id),this._handleState.bind(this))}},{key:"_handleState",value:function(){window.location.hash!=="#"+this.id||this.isActive?this.close():this.open()}},{key:"_disableScroll",value:function(e){e=e||t()(window).scrollTop(),t()(document).height()>t()(window).height()&&t()("html").css("top",-e)}},{key:"_enableScroll",value:function(e){e=e||parseInt(t()("html").css("top"),10),t()(document).height()>t()(window).height()&&(t()("html").css("top",""),t()(window).scrollTop(-e))}},{key:"open",value:function(){var e=this,n="#".concat(this.id);this.options.deepLink&&window.location.hash!==n&&(window.history.pushState?this.options.updateHistory?window.history.pushState({},"",n):window.history.replaceState({},"",n):window.location.hash=n),this.$activeAnchor=t()(document.activeElement).is(this.$anchor)?t()(document.activeElement):this.$anchor,this.isActive=!0,this.$element.css({visibility:"hidden"}).show().scrollTop(0),this.options.overlay&&this.$overlay.css({visibility:"hidden"}).show(),this._updatePosition(),this.$element.hide().css({visibility:""}),this.$overlay&&(this.$overlay.css({visibility:""}).hide(),this.$element.hasClass("fast")?this.$overlay.addClass("fast"):this.$element.hasClass("slow")&&this.$overlay.addClass("slow")),this.options.multipleOpened||this.$element.trigger("closeme.zf.reveal",this.id),0===t()(".reveal:visible").length&&this._disableScroll();var i=this;this.options.animationIn?(this.options.overlay&&E.animateIn(this.$overlay,"fade-in"),E.animateIn(this.$element,this.options.animationIn,function(){e.$element&&(e.focusableElements=C.findFocusable(e.$element),i.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),i._addGlobalClasses(),C.trapFocus(i.$element))})):(this.options.overlay&&this.$overlay.show(0),this.$element.show(this.options.showDelay)),this.$element.attr({"aria-hidden":!1,tabindex:-1}).focus(),C.trapFocus(this.$element),this._addGlobalClasses(),this._addGlobalListeners(),this.$element.trigger("open.zf.reveal")}},{key:"_addGlobalClasses",value:function(){var e=function(){t()("html").toggleClass("zf-has-scroll",!!(t()(document).height()>t()(window).height()))};this.$element.on("resizeme.zf.trigger.revealScrollbarListener",function(){return e()}),e(),t()("html").addClass("is-reveal-open")}},{key:"_removeGlobalClasses",value:function(){this.$element.off("resizeme.zf.trigger.revealScrollbarListener"),t()("html").removeClass("is-reveal-open"),t()("html").removeClass("zf-has-scroll")}},{key:"_addGlobalListeners",value:function(){var e=this;this.$element&&(this.focusableElements=C.findFocusable(this.$element),this.options.overlay||!this.options.closeOnClick||this.options.fullScreen||t()("body").on("click.zf.dropdown tap.zf.dropdown",function(n){n.target!==e.$element[0]&&!t().contains(e.$element[0],n.target)&&t().contains(document,n.target)&&e.close()}),this.options.closeOnEsc&&t()(window).on("keydown.zf.reveal",function(t){C.handleKey(t,"Reveal",{close:function(){e.options.closeOnEsc&&e.close()}})}))}},{key:"close",value:function(){if(!this.isActive||!this.$element.is(":visible"))return!1;var e=this;function n(){var n=parseInt(t()("html").css("top"),10);0===t()(".reveal:visible").length&&e._removeGlobalClasses(),C.releaseFocus(e.$element),e.$element.attr("aria-hidden",!0),0===t()(".reveal:visible").length&&e._enableScroll(n),e.$element.trigger("closed.zf.reveal")}if(this.options.animationOut?(this.options.overlay&&E.animateOut(this.$overlay,"fade-out"),E.animateOut(this.$element,this.options.animationOut,n)):(this.$element.hide(this.options.hideDelay),this.options.overlay?this.$overlay.hide(0,n):n()),this.options.closeOnEsc&&t()(window).off("keydown.zf.reveal"),!this.options.overlay&&this.options.closeOnClick&&t()("body").off("
2click.zf.dropdown tap.zf.dropdown"),this.$element.off("keydown.zf.reveal"),this.options.resetOnClose&&this.$element.html(this.$element.html()),this.isActive=!1,e.options.deepLink&&window.location.hash==="#".concat(this.id))if(window.history.replaceState){var i=window.location.pathname+window.location.search;this.options.updateHistory?window.history.pushState({},"",i):window.history.replaceState("",document.title,i)}else window.location.hash="";this.$activeAnchor.focus()}},{key:"toggle",value:function(){this.isActive?this.close():this.open()}},{key:"_destroy",value:function(){this.options.overlay&&(this.$element.appendTo(t()(this.options.appendTo)),this.$overlay.hide().off().remove()),this.$element.hide().off(),this.$anchor.off(".zf"),t()(window).off(".zf.reveal:".concat(this.id)),this.onLoadListener&&t()(window).off(this.onLoadListener),0===t()(".reveal:visible").length&&this._removeGlobalClasses()}}],o&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,ht(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,o}(K);function bt(e){return bt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},bt(e)}function wt(e){var t=function(e){if("object"!=bt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bt(t)?t:t+""}function xt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(xt=function(){return!!e})()}function kt(e){return kt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},kt(e)}function St(e,t){return St=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},St(e,t)}yt.defaults={animationIn:"",animationOut:"",showDelay:0,hideDelay:0,closeOnClick:!0,closeOnEsc:!0,multipleOpened:!1,vOffset:"auto",hOffset:"auto",fullScreen:!1,overlay:!0,resetOnClose:!1,deepLink:!1,updateHistory:!1,appendTo:"body",additionalOverlayClasses:""};var Ct=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=kt(t),function(e,t){if(t&&("object"==bt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,xt()?Reflect.construct(t,n||[],kt(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&St(e,t)}(n,e),i=n,(r=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Sticky",Y.init(t()),this._init()}},{key:"_init",value:function(){d._init();var e=this.$element.parent("[data-sticky-container]"),n=this.$element[0].id||o(6,"sticky"),i=this;e.length?this.$container=e:(this.wasWrapped=!0,this.$element.wrap(this.options.container),this.$container=this.$element.parent()),this.$container.addClass(this.options.containerClass),this.$element.addClass(this.options.stickyClass).attr({"data-resize":n,"data-mutate":n}),""!==this.options.anchor&&t()("#"+i.options.anchor).attr({"data-mutate":n}),this.scrollCount=this.options.checkEvery,this.isStuck=!1,this.onLoadListener=s(t()(window),function(){i.containerHeight="none"===i.$element.css("display")?0:i.$element[0].getBoundingClientRect().height,i.$container.css("height",i.containerHeight),i.elemHeight=i.containerHeight,""!==i.options.anchor?i.$anchor=t()("#"+i.options.anchor):i._parsePoints(),i._setSizes(function(){var e=window.pageYOffset;i._calc(!1,e),i.isStuck||i._removeSticky(!(e>=i.topPoint))}),i._events(n.split("-").reverse().join("-"))})}},{key:"_parsePoints",value:function(){for(var e=[""===this.options.topAnchor?1:this.options.topAnchor,""===this.options.btmAnchor?document.documentElement.scrollHeight:this.options.btmAnchor],n={},i=0,o=e.length;i<o&&e[i];i++){var r;if("number"==typeof e[i])r=e[i];else{var a=e[i].split(":"),s=t()("#".concat(a[0]));r=s.offset().top,a[1]&&"bottom"===a[1].toLowerCase()&&(r+=s[0].getBoundingClientRect().height)}n[i]=r}this.points=n}},{key:"_events",value:function(e){var n=this,i=this.scrollListener="scroll.zf.".concat(e);this.isOn||(this.canStick&&(this.isOn=!0,t()(window).off(i).on(i,function(){0===n.scrollCount?(n.scrollCount=n.options.checkEvery,n._setSizes(function(){n._calc(!1,window.pageYOffset)})):(n.scrollCount--,n._calc(!1,window.pageYOffset))})),this.$element.off("resizeme.zf.trigger").on("resizeme.zf.trigger",function(){n._eventsHandler(e)}),this.$element.on("mutateme.zf.trigger",function(){n._eventsHandler(e)}),this.$anchor&&this.$anchor.on("mutateme.zf.trigger",function(){n._eventsHandler(e)}))}},{key:"_eventsHandler",value:function(e){var t=this,n=this.scrollListener="scroll.zf.".concat(e);t._setSizes(function(){t._calc(!1),t.canStick?t.isOn||t._events(e):t.isOn&&t._pauseListeners(n)})}},{key:"_pauseListeners",value:function(e){this.isOn=!1,t()(window).off(e),this.$element.trigger("pause.zf.sticky")}},{key:"_calc",value:function(e,t){if(e&&this._setSizes(),!this.canStick)return this.isStuck&&this._removeSticky(!0),!1;t||(t=window.pageYOffset),t>=this.topPoint?t<=this.bottomPoint?this.isStuck||this._setSticky():this.isStuck&&this._removeSticky(!1):this.isStuck&&this._removeSticky(!0)}},{key:"_setSticky",value:function(){var e=this,t=this.options.stickTo,n="top"===t?"marginTop":"marginBottom",i="top"===t?"bottom":"top",o={};o[n]="".concat(this.options[n],"em"),o[t]=0,o[i]="auto",this.isStuck=!0,this.$element.removeClass("is-anchored is-at-".concat(i)).addClass("is-stuck is-at-".concat(t)).css(o).trigger("sticky.zf.stuckto:".concat(t)),this.$element.on("transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",function(){e._setSizes()})}},{key:"_removeSticky",value:function(e){var t=this.options.stickTo,n="top"===t,i={},o=(this.points?this.points[1]-this.points[0]:this.anchorHeight)-this.elemHeight,r=e?"top":"bottom";i[n?"marginTop":"marginBottom"]=0,i.bottom="auto",i.top=e?0:o,this.isStuck=!1,this.$element.removeClass("is-stuck is-at-".concat(t)).addClass("is-anchored is-at-".concat(r)).css(i).trigger("sticky.zf.unstuckfrom:".concat(r))}},{key:"_setSizes",value:function(e){this.canStick=d.is(this.options.stickyOn),this.canStick||e&&"function"==typeof e&&e();var t=this.$container[0].getBoundingClientRect().width,n=window.getComputedStyle(this.$container[0]),i=parseInt(n["padding-left"],10),o=parseInt(n["padding-right"],10);if(this.$anchor&&this.$anchor.length?this.anchorHeight=this.$anchor[0].getBoundingClientRect().height:this._parsePoints(),this.$element.css({"max-width":"".concat(t-i-o,"px")}),this.options.dynamicHeight||!this.containerHeight){var r=this.$element[0].getBoundingClientRect().height||this.containerHeight;r="none"===this.$element.css("display")?0:r,this.$container.css("height",r),this.containerHeight=r}if(this.elemHeight=this.containerHeight,!this.isStuck&&this.$element.hasClass("is-at-bottom")){var a=(this.points?this.points[1]-this.$container.offset().top:this.anchorHeight)-this.elemHeight;this.$element.css("top",a)}this._setBreakPoints(this.containerHeight,function(){e&&"function"==typeof e&&e()})}},{key:"_setBreakPoints",value:function(e,t){if(!this.canStick){if(!t||"function"!=typeof t)return!1;t()}var n=_t(this.options.marginTop),i=_t(this.options.marginBottom),o=this.points?this.points[0]:this.$anchor.offset().top,r=this.points?this.points[1]:o+this.anchorHeight,a=window.innerHeight;"top"===this.options.stickTo?(o-=n,r-=e+n):"bottom"===this.options.stickTo&&(o-=a-(e+i),r-=a-i),this.topPoint=o,this.bottomPoint=r,t&&"function"==typeof t&&t()}},{key:"_destroy",value:function(){this._removeSticky(!0),this.$element.removeClass("".concat(this.options.stickyClass," is-anchored is-at-top")).css({height:"",top:"",bottom:"","max-width":""}).off("resizeme.zf.trigger").off("mutateme.zf.trigger"),this.$anchor&&this.$anchor.length&&this.$anchor.off("change.zf.sticky"),this.scrollListener&&t()(window).off(this.scrollListener),this.onLoadListener&&t()(window).off(this.onLoadListener),this.wasWrapped?this.$element.unwrap():this.$container.removeClass(this.options.containerClass).css({height:""})}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,wt(i.key),i)}}(i.prototype,r),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,r}(K);function _t(e){return parseInt(window.getComputedStyle(document.body,null).fontSize,10)*e}function Tt(e){return Tt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Tt(e)}function Et(e){var t=function(e){if("object"!=Tt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Tt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Tt(t)?t:t+""}function At(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(At=function(){return!!e})()}function Ot(e){return Ot=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Ot(e)}function $t(e,t){return $t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},$t(e,t)}
2Ct.defaults={container:"<div data-sticky-container></div>",stickTo:"top",anchor:"",topAnchor:"",btmAnchor:"",marginTop:1,marginBottom:1,stickyOn:"medium",stickyClass:"sticky",containerClass:"sticky-container",dynamicHeight:!0,checkEvery:-1};var Lt=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=Ot(t),function(e,t){if(t&&("object"==Tt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,At()?Reflect.construct(t,n||[],Ot(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&$t(e,t)}(n,e),i=n,o=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,this.$element.data(),i),this.className="Tabs",this._init(),C.register("Tabs",{ENTER:"open",SPACE:"open",ARROW_RIGHT:"next",ARROW_UP:"previous",ARROW_DOWN:"next",ARROW_LEFT:"previous"})}},{key:"_init",value:function(){var e=this,n=this;if(this._isInitializing=!0,this.$element.attr({role:"tablist"}),this.$tabTitles=this.$element.find(".".concat(this.options.linkClass)),this.$tabContent=t()('[data-tabs-content="'.concat(this.$element[0].id,'"]')),this.$tabTitles.each(function(){var e=t()(this),i=e.find("a"),o=e.hasClass("".concat(n.options.linkActiveClass)),r=i.attr("data-tabs-target")||i[0].hash.slice(1),a=i[0].id?i[0].id:"".concat(r,"-label"),l=t()("#".concat(r));e.attr({role:"presentation"}),i.attr({role:"tab","aria-controls":r,"aria-selected":o,id:a,tabindex:o?"0":"-1"}),l.attr({role:"tabpanel","aria-labelledby":a}),o&&(n._initialAnchor="#".concat(r)),o||l.attr("aria-hidden","true"),o&&n.options.autoFocus&&(n.onLoadListener=s(t()(window),function(){t()("html, body").animate({scrollTop:e.offset().top},n.options.deepLinkSmudgeDelay,function(){i.focus()})}))}),this.options.matchHeight){var i=this.$tabContent.find("img");i.length?b(i,this._setHeight.bind(this)):this._setHeight()}this._checkDeepLink=function(){var n=window.location.hash;if(!n.length){if(e._isInitializing)return;e._initialAnchor&&(n=e._initialAnchor)}var i=n.indexOf("#")>=0?n.slice(1):n,o=i&&t()("#".concat(i)),r=n&&e.$element.find('[href$="'.concat(n,'"],[data-tabs-target="').concat(i,'"]')).first();if(o.length&&r.length){if(o&&o.length&&r&&r.length?e.selectTab(o,!0):e._collapse(),e.options.deepLinkSmudge){var a=e.$element.offset();t()("html, body").animate({scrollTop:a.top-e.options.deepLinkSmudgeOffset},e.options.deepLinkSmudgeDelay)}e.$element.trigger("deeplink.zf.tabs",[r,o])}},this.options.deepLink&&this._checkDeepLink(),this._events(),this._isInitializing=!1}},{key:"_events",value:function(){this._addKeyHandler(),this._addClickHandler(),this._setHeightMqHandler=null,this.options.matchHeight&&(this._setHeightMqHandler=this._setHeight.bind(this),t()(window).on("changed.zf.mediaquery",this._setHeightMqHandler)),this.options.deepLink&&t()(window).on("hashchange",this._checkDeepLink)}},{key:"_addClickHandler",value:function(){var e=this;this.$element.off("click.zf.tabs").on("click.zf.tabs",".".concat(this.options.linkClass),function(n){n.preventDefault(),e._handleTabChange(t()(this))})}},{key:"_addKeyHandler",value:function(){var e=this;this.$tabTitles.off("keydown.zf.tabs").on("keydown.zf.tabs",function(n){if(9!==n.which){var i,o,r=t()(this),a=r.parent("ul").children("li");a.each(function(n){t()(this).is(r)&&(e.options.wrapOnKeys?(i=0===n?a.last():a.eq(n-1),o=n===a.length-1?a.first():a.eq(n+1)):(i=a.eq(Math.max(0,n-1)),o=a.eq(Math.min(n+1,a.length-1))))}),C.handleKey(n,"Tabs",{open:function(){r.find('[role="tab"]').focus(),e._handleTabChange(r)},previous:function(){i.find('[role="tab"]').focus(),e._handleTabChange(i)},next:function(){o.find('[role="tab"]').focus(),e._handleTabChange(o)},handled:function(){n.preventDefault()}})}})}},{key:"_handleTabChange",value:function(e,t){if(e.hasClass("".concat(this.options.linkActiveClass)))this.options.activeCollapse&&this._collapse();else{var n=this.$element.find(".".concat(this.options.linkClass,".").concat(this.options.linkActiveClass)),i=e.find('[role="tab"]'),o=i.attr("data-tabs-target"),r=o&&o.length?"#".concat(o):i[0].hash,a=this.$tabContent.find(r);this._collapseTab(n),this._openTab(e),this.options.deepLink&&!t&&(this.options.updateHistory?history.pushState({},"",location.pathname+location.search+r):history.replaceState({},"",location.pathname+location.search+r)),this.$element.trigger("change.zf.tabs",[e,a]),a.find("[data-mutate]").trigger("mutateme.zf.trigger")}}},{key:"_openTab",value:function(e){var t=e.find('[role="tab"]'),n=t.attr("data-tabs-target")||t[0].hash.slice(1),i=this.$tabContent.find("#".concat(n));e.addClass("".concat(this.options.linkActiveClass)),t.attr({"aria-selected":"true",tabindex:"0"}),i.addClass("".concat(this.options.panelActiveClass)).removeAttr("aria-hidden")}},{key:"_collapseTab",value:function(e){var n=e.removeClass("".concat(this.options.linkActiveClass)).find('[role="tab"]').attr({"aria-selected":"false",tabindex:-1});t()("#".concat(n.attr("aria-controls"))).removeClass("".concat(this.options.panelActiveClass)).attr({"aria-hidden":"true"})}},{key:"_collapse",value:function(){var e=this.$element.find(".".concat(this.options.linkClass,".").concat(this.options.linkActiveClass));e.length&&(this._collapseTab(e),this.$element.trigger("collapse.zf.tabs",[e]))}},{key:"selectTab",value:function(e,t){var n,i;(n="object"===Tt(e)?e[0].id:e).indexOf("#")<0?i="#".concat(n):(i=n,n=n.slice(1));var o=this.$tabTitles.has('[href$="'.concat(i,'"],[data-tabs-target="').concat(n,'"]')).first();this._handleTabChange(o,t)}},{key:"_setHeight",value:function(){var e=0,n=this;this.$tabContent&&this.$tabContent.find(".".concat(this.options.panelClass)).css("min-height","").each(function(){var i=t()(this),o=i.hasClass("".concat(n.options.panelActiveClass));o||i.css({visibility:"hidden",display:"block"});var r=this.getBoundingClientRect().height;o||i.css({visibility:"",display:""}),e=r>e?r:e}).css("min-height","".concat(e,"px"))}},{key:"_destroy",value:function(){this.$element.find(".".concat(this.options.linkClass)).off(".zf.tabs").hide().end().find(".".concat(this.options.panelClass)).hide(),this.options.matchHeight&&null!=this._setHeightMqHandler&&t()(window).off("changed.zf.mediaquery",this._setHeightMqHandler),this.options.deepLink&&t()(window).off("hashchange",this._checkDeepLink),this.onLoadListener&&t()(window).off(this.onLoadListener)}}],o&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,Et(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,o}(K);function Pt(e){return Pt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Pt(e)}function zt(e){var t=function(e){if("object"!=Pt(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Pt(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pt(t)?t:t+""}function Dt(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dt=function(){return!!e})()}function It(e){return It=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},It(e)}function jt(e,t){return jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},jt(e,t)}Lt.defaults={deepLink:!1,deepLinkSmudge:!1,deepLinkSmudgeDelay:300,deepLinkSmudgeOffset:0,updateHistory:!1,autoFocus:!1,wrapOnKeys:!0,matchHeight:!1,activeCollapse:!1,linkClass:"tabs-title",linkActiveClass:"is-active",panelClass:"tabs-panel",panelActiveClass:"is-active"};var Mt=function(e){function n(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),function(e,t,n){return t=It(t),function(e,t){if(t&&("object"==Pt(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,Dt()?Reflect.construct(t,n||[],It(e).constructor):t.apply(e,n))}(this,n,arguments)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&jt(e,t)}(n,e),i=n,(o=[{key:"_setup",value:function(e,i){this.$element=e,this.options=t().extend({},n.defaults,e.data(),i),this.className="",this.className="Toggler",Y.init(t()),this._init(),this._events()}},{key:"_init",value:function(){var e,n=this.$element[0].id,i=t()('[data-open~="'.concat(n,'"], [data-close~="').concat(n,'"], [data-toggle~="').concat(n,'"]'));if(this.options.animate)e=this.options.animate.split(" "),this.animationIn=e[0],this.animationOut=e[1]||null,i.attr("aria-expanded",!this.$element.is(":hidden"));else{if("string"!=typeof(e=this.options.toggler)||!e.length)throw new Error("The 'toggler' option containing the target class is required, got \"".concat(e,'"'));this.className="."===e[0]?e.slice(1):e,i.attr("aria-expanded",this.$element.hasClass(this.className))}i.each(function(e,i){var o=t()(i),a=o.attr("aria-controls")||"";new RegExp("\\b".concat(r(n),"\\b")).test(a)||o.attr("aria-controls",a?"".concat(a," ").concat(n):n)})}},{key:"_events",value:function(){this.$element.off("toggle.zf.trigger").on("toggle.zf.trigger",this.toggle.bind(this))}},{key:"toggle",value:function(){this[this.options.animate?"_toggleAnimate":"_toggleClass"]()}},{key:"_toggleClass",value:function(){this.$element.toggleClass(this.className);var e=this.$element.hasClass(this.className);e?this.$element.trigger("on.zf.toggler"):this.$element.trigger("off.zf.toggler"),this._updateARIA(e),this.$element.find("[data-mutate]").trigger("mutateme.zf.trigger")}},{key:"_toggleAnimate",value:function(){var e=this;this.$element.is(":hidden")?E.animateIn(this.$element,this.animationIn,function(){e._updateARIA(!0),this.trigger("on.zf.toggler"),this.find("[data-mutate]").trigger("mutateme.zf.trigger")}):E.animateOut(this.$element,this.animationOut,function(){e._updateARIA(!1),this.trigger("off.zf.toggler"),this.find("[data-mutate]").trigger("mutateme.zf.trigger")})}},{key:"_updateARIA",value:function(e){var n=this.$element[0].id;t()('[data-open="'.concat(n,'"], [data-close="').concat(n,'"], [data-toggle="').concat(n,'"]')).attr({"aria-expanded":!!e})}},{key:"_destroy",value:function(){this.$element.off(".zf.toggler")}}])&&function(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,zt(i.key),i)}}(i.prototype,o),Object.defineProperty(i,"prototype",{writable:!1}),i;var i,o}(K);Mt.defaults={toggler:void 0,animate:!1},f.addToJquery(t()),f.rtl=i,f.GetYoDigits=o,f.transitionend=a,f.RegExpEscape=r,f.onLoad=s,f.Box=v,f.onImagesLoaded=b,f.Keyboard=C,f.MediaQuery=d,f.Motion=E,f.Move=function(e,t,n){var i,o,r=null;if(0===e)return n.apply(t),void t.trigger("finished.zf.animate",[t]).triggerHandler("finished.zf.animate",[t]);i=window.requestAnimationFrame(function a(s){r||(r=s),o=s-r,n.apply(t),o<e?i=window.requestAnimationFrame(a,t):(window.cancelAnimationFrame(i),t.trigger("finished.zf.animate",[t]).triggerHandler("finished.zf.animate",[t]))})},f.Nest=O,f.Timer=function(e,t,n){var i,o,r=this,a=t.duration,s=Object.keys(e.data())[0]||"timer",l=-1;this.isPaused=!1,this.restart=function(){l=-1,clearTimeout(o),this.start()},this.start=function(){this.isPaused=!1,clearTimeout(o),l=l<=0?a:l,e.data("paused",!1),i=Date.now(),o=setTimeout(function(){t.infinite&&r.restart(),n&&"function"==typeof n&&n()},l),e.trigger("timerstart.zf.".concat(s))},this.pause=function(){this.isPaused=!0,clearTimeout(o),e.data("paused",!0);var t=Date.now();l-=t-i,e.trigger("timerpaused.zf.".concat(s))}},j.init(t()),Y.init(t(),f),d._init(),f.plugin(oe,"Accordion"),f.plugin(ue,"AccordionMenu"),f.plugin(ve,"Drilldown"),f.plugin(Ie,"Dropdown"),f.plugin(qe,"Equalizer"),f.plugin(Ye,"Interchange"),f.plugin(at,"Magellan"),f.plugin(pt,"ResponsiveToggle"),f.plugin(yt,"Reveal"),f.plugin(et,"SmoothScroll"),f.plugin(Ct,"Sticky"),f.plugin(Lt,"Tabs"),f.plugin(Mt,"Toggler"),n(334);var Nt=n(782),Ht=n.n(Nt),Rt=n(313),qt=n.n(Rt);function Ft(){t()(".u-nav--dropdown__right--main").show(),t()(".header-second-container").show(),t()(".u-nav--dropdown__right--sub").hide(),t()(".header-third-container").hide(),t()(".u-nav--dropdown-links__active").removeClass("u-nav--dropdown-links__active"),t()(".u-nav--dropdown-links").addClass("u-nav--dropdown-links--inactive")}function Bt(){var e=".overlay__megamenu",n="overlay__megamenu--hide";t()(".dropdown-pane").foundation("close"),t()(e).fadeOut(0),t()("#u-nav .active").removeClass("active"),setTimeout(function(){t()(e).remove(),t()("."+n).removeClass(n)},100)}function Ut(e){t()(e+" [data-dropdown]").foundation(),t()(e+" [data-drilldown]").foundation(),t()(e+" [data-responsive-toggle]").foundation()}t()(document).ready(function(){document.getElementsByClassName("c-image-gallery").length&&function(){for(var e=function e(t,n){return t&&(n(t)?t:e(t.parentNode,n))},t=function(t){(t=t||window.event).preventDefault?t.preventDefault():t.returnValue=!1;var i=t.target||t.srcElement,o=e(i,function(e){return e.tagName&&"FIGURE"===e.tagName.toUpperCase()});if(o){for(var r,a=o.parentNode,s=o.parentNode.childNodes,l=s.length,c=0,u=0;u<l;u++)if(1===s[u].nodeType){if(s[u]===o){r=c;break}c++}return r>=0&&n(r,a),!1}},n=function(e,t,n,i){var o,r,a=document.querySelectorAll(".pswp")[0];if(r=function(e){for(var t,n,i,o,r=e.childNodes,a=r.length,s=[],l=0;l<a;l++)1===(t=r[l]).nodeType&&(i=(n=t.children[0]).getAttribute("data-size").split("x"),o={src:n.getAttribute("href"),w:parseInt(i[0],10),h:parseInt(i[1],10)},t.children.length>1&&(o.title=t.children[1].innerHTML),n.children.length>0&&(o.msrc=n.children[0].getAttribute("src")),o.el=t,s.push(o));return s}(t),o={galleryUID:t.getAttribute("data-pswp-uid"),getThumbBoundsFn:function(e){var t=r[e].el.getElementsByTagName("img")[0],n=window.pageYOffset||document.documentElement.scrollTop,i=t.getBoundingClientRect();return{x:i.left,y:i.top+n,w:i.width}}},i)if(o.galleryPIDs){for(var s=0;s<r.length;s++)if(r[s].pid==e){o.index=s;break}}else o.index=parseInt(e,10)-1;else o.index=parseInt(e,10);isNaN(o.index)||(n&&(o.showAnimationDuration=0),new(Ht())(a,qt(),r,o).init())},i=document.querySelectorAll(".my-gallery"),o=0,r=i.length;o<r;o++)i[o].setAttribute("data-pswp-uid",o+1),i[o].onclick=t;var a=function(){var e=window.location.hash.substring(1),t={};if(e.length<5)return t;for(var n=e.split("&"),i=0;i<n.length;i++)if(n[i]){var o=n[i].split("=");o.length<2||(t[o[0]]=o[1])}
2return t.gid&&(t.gid=parseInt(t.gid,10)),t}();a.pid&&a.gid&&n(a.pid,i[a.gid-1],!0,!0)}()}),window.jQuery=t(),window.performance&&window.performance.mark&&window.performance.mark("u-header:init-start"),jQuery(document).on("click",".has-interchanged.has-loaded .dropdown-trigger",function(e){var n;e.preventDefault(),t()(".overlay__megamenu--hide").removeClass("overlay__megamenu--hide"),t()(this).addClass("overlay__megamenu--hide"),t()("#u-nav .active").removeClass("active"),t()(this).parent().addClass("active"),Ft(),n="overlay__megamenu",t()("."+n).remove(),t()("body").append('<div class="'+n+'" style="display:none"></div>'),t()("."+n).fadeIn(0),jQuery(document).on("click","."+n,function(e){Bt(),Ft()}),jQuery(document).on("click",".overlay__megamenu--hide",function(e){Bt(),Ft()}),jQuery(document).on("click","#u-nav.u-nav--v2",function(e){var t=e.target.parentElement.nodeName.toLowerCase(),n=e.target.parentElement.classList,i=e.target.parentElement.id;("section"==t&&n.contains("u-nav--large")||"nav"==t&&n.contains("u-nav--v2")||"header"==t&&"u-header"==i)&&(Bt(),Ft())})}),jQuery(document).on("click",".has-interchanged .u-nav--dropdown-wrapper .u-nav--dropdown-links__subsection a",function(e){e.preventDefault();var n=t()(this).closest(".u-nav--dropdown-wrapper").attr("id"),i=t()("#"+n),o=".header-third-container",r=t()(this).attr("data-trigger");t()(".u-nav--dropdown-links__active").removeClass("u-nav--dropdown-links__active"),t()(".u-nav--dropdown-links--inactive").removeClass("u-nav--dropdown-links--inactive"),t()(this).parent().addClass("u-nav--dropdown-links__active"),i.find(".u-nav--dropdown__right--main").hide(),i.find(".u-nav--dropdown__right--sub").show(),i.find(o).hide(),i.find(o).filter('[data-panel="'+r+'"]').addClass("slide-in-left").show()}),jQuery(document).on("click",".has-interchanged .u-nav--dropdown-wrapper .header-third-close",function(e){e.preventDefault();var n=t()(this).closest(".u-nav--dropdown-wrapper").attr("id"),i=t()("#"+n);Ft(),i.find(".u-nav--dropdown__right--main .header-second-container").addClass("slide-in-right").show()}),t()(".u-nav--context-dropdown").on("opened",function(){t()(".u-nav--context--level-one").addClass("has-active"),t()(this).closest("li").addClass("active")}),t()(".u-nav--context-dropdown").on("closed",function(){t()(".u-nav--context--level-one.has-active").removeClass("has-active"),t()(this).closest("li").removeClass("active")}),t()(".u-nav--icons-search a").on("focus",function(e){t()(window).keyup(function(e){9==(e.keyCode?e.keyCode:e.which)&&t()(".u-nav--icons-search a").keydown(function(e){13==e.keyCode&&t()(".u-nav--icons-search a").keydown(function(e){9==e.keyCode&&t()("#drop12").focus()})})})}),t()(".u-nav--icons-search a").on("click",function(e){t()("#u-nav--large--12 .magic-box-input input").focus()}),jQuery(document).on("keyup",".search .search__box",function(e){t()(".search .search__reset").addClass("search__reset--show");var n=t()(this).val();n.length>2?t()(".search .search__results").addClass("search__results--show"):0==n.length?t()(".search .search__reset.search__reset--show").removeClass("search__reset--show"):t()(".search .search__results.search__results--show").removeClass("search__results--show")}),jQuery(document).on("click",".search .search__reset",function(e){t()(this).removeClass("search__reset--show"),t()(".search .search__results.search__results--show").removeClass("search__results--show")}),t()(document).on("replaced.zf.interchange","#u-nav.u-nav--v2 #u-nav--medium[data-interchange]",function(){var e;(e=document.getElementById("mm-menu-button"))&&e.setAttribute("data-toggle","menu-topbar"),Ut("#u-nav.u-nav--v2 #u-nav--medium[data-interchange]")}),t()(document).on("replaced.zf.interchange","#u-nav.u-nav--v2 .u-nav--links[data-interchange]",function(){var e="#u-nav.u-nav--v2 .u-nav--links[data-interchange]";t()(e).addClass("has-interchanged is-loading"),window.onload=function(n){t()(e).addClass("has-loaded").removeClass("is-loading"),Ut(e)}}),t()(document).on("replaced.zf.interchange","#u-nav.u-nav--v2 .u-nav--icons-search[data-interchange]",function(){Ut("#u-nav.u-nav--v2 .u-nav--icons-search[data-interchange]")}),t()(document).on("replaced.zf.interchange","#u-nav.u-nav--v2 .u-nav--icons-account[data-interchange]",function(){Ut("#u-nav.u-nav--v2 .u-nav--icons-account[data-interchange]")}),t()(document).on("replaced.zf.interchange","#u-nav.u-nav--v2 .u-nav--icons-cart[data-interchange]",function(){Ut("#u-nav.u-nav--v2 .u-nav--icons-cart[data-interchange]")}),t()(document).on("click",".top-bar .toggle-topbar a",function(e){t()(this).parents(".top-bar").toggleClass("expanded")}),t()(document).ready(function(){if(t()(".u-nav--large [data-dropdown]").foundation(),t()(document).on("show.zf.dropdown",".u-nav--large [data-dropdown]",function(){t()(this).addClass("fade-in")}),window.performance&&window.performance.mark){window.performance.mark("u-header:init-end"),window.performance.measure("u-header:init","u-header:init-start","u-header:init-end");var e=window.performance.getEntriesByName("u-header:init")[0];e&&console.log("[u-header] init: "+e.duration.toFixed(2)+"ms")}}),window.jQuery=t(),t()(function(){t()(document).on("click",".toggle-topbar",function(){t()(this).removeClass("expanded"),document.body.classList.remove("u-overflow__hidden")}),t()(document).on("click","#mm-account-button, #mm-search-button, #mm-menu-button",function(){event.preventDefault(),t()("#u-nav .top-bar-section").removeClass("show").addClass("hide"),t()("#u-nav #u-nav--medium").addClass("fixed"),t()("#u-nav #u-nav--medium .top-bar, #u-nav--context .top-bar").removeClass("fixed expanded"),t()(this).hasClass("off")?(t()("#u-nav #u-nav--medium .top-bar").addClass("fixed expanded"),"mm-account-button"==t()(this).attr("id")?t()("#medium-menu-account").removeClass("hide").addClass("show"):"mm-search-button"==t()(this).attr("id")?(t()("#medium-menu-search").removeClass("hide").addClass("show"),setTimeout(function(){document.body.classList.add("u-overflow__hidden")},100)):"mm-menu-button"==t()(this).attr("id")&&t()("#medium-menu-nav").removeClass("hide").addClass("show"),t()("#u-nav .toggle-topbar a.on").removeClass("on").addClass("off"),t()(this).removeClass("off").addClass("on")):t()(this).hasClass("on")&&(t()("#u-nav .top-bar-section").removeClass("show").addClass("hide"),t()("#u-nav #u-nav--medium").addClass("fixed"),t()("#u-nav #u-nav--medium .top-bar").removeClass("fixed expanded"),t()(this).removeClass("on").addClass("off"))})}),n(858);var Wt=n(358),Vt=n.n(Wt);function Yt(){document.querySelectorAll(".sls-grid.sls-grid__gap .sls-grid .sls-grid__gap").forEach(function(e){var t=function(e){var t=e.className.match(/sls-gri
2d__gap--spacer-(\d+)/);return t?parseInt(t[1]):null}(e);t&&function(e,t){for(var n=t,i=".sls-grid:not(.sls-grid__gap)",o=function(){var t=n-1;e.querySelectorAll(i).forEach(function(e){return function(e,t){e.classList.contains("sls-grid__gap")||e.classList.add("sls-grid__gap--spacer-".concat(t))}(e,t)}),i+=" .sls-grid:not(.sls-grid__gap)",n=t},r=1;r<=6&&n>1;r++)o()}(e,t)})}function Xt(){var e=document.getElementById("c-app-widget-wrap"),t=e.querySelectorAll(".c-app-widget.is-active"),n=e.querySelectorAll(".c-app-widget__item.is-open");t&&t.forEach(function(e){return e.classList.remove("is-active")}),n&&n.forEach(function(e){return e.classList.remove("is-open")}),e.classList.remove("is-chatbot-expanded")}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Gt(){for(var e=document.querySelectorAll("[data-validate]:not(.data-validate-listening):not(.data-validate-preinit)"),t=[],n=0;n<e.length;n++){var i=e[n];if(i.addEventListener("change",a,!1),i.addEventListener("keyup",a,!1),i.classList.add("data-validate-listening"),i.hasAttribute("data-validate-class-remove")&&!i.hasAttribute("data-validate-start-open")){var o=i.getAttribute("data-validate-class-remove");i.classList.add(o)}i.hasAttribute("data-validate-from")||i.hasAttribute("data-validate-start-open")||t.push(i)}for(var r=0;r<t.length;r++)c(t[r],l(t[r])),s(t[r]);function a(e){e.currentTarget&&s(e.currentTarget)}function s(e){var t=l(e);e.dispatchEvent(new CustomEvent("validity",{detail:{valid:t},bubbles:!0,cancelable:!1}))}function l(e){for(var t=e.querySelectorAll("input, select, textarea"),n=!0,i=0;n&&i<t.length;){var o=t[i];o.setCustomValidity(""),n=n&&o.checkValidity(),i++}return n}function c(e,t){var n=function(e,t){return Array.from(document.querySelectorAll('[data-validate-from="'+e+'"]')).map(function(e){return{id:e.id,node:e,valid:t}})}(e.id,t);n.forEach(function(e){var t;e.node.dataset.validateClassRemove&&((null===(t=e.node.dataset.validateClassRemove)||void 0===t?void 0:t.split(",").map(function(e){return e.trim()}))||[]).forEach(function(t){e.valid?e.node.classList.remove(t):e.node.classList.add(t)}),e.node.dataset.validateAttributeRemove&&(e.node.dataset.validateAttributeRemove||"").replace(/`/g,"").split(",").map(function(e){return e.trim()}).filter(Boolean).forEach(function(t){var n,i=t.split("=").map(function(e){return e.trim()}),o=function(e){if(Array.isArray(e))return e}(n=i)||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,o,r,a=[],s=!0,l=!1;try{for(o=(t=t.call(e)).next,!2;!(s=(n=o.call(t)).done)&&(a.push(n.value),2!==a.length);s=!0);}catch(e){l=!0,i=e}finally{try{if(!s&&null!=t.return&&(r=t.return(),Object(r)!==r))return}finally{if(l)throw i}}return a}}(n)||function(e){if(e){if("string"==typeof e)return Zt(e,2);var t={}.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Zt(e,2):void 0}}(n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=o[0],a=o[1];e.valid?e.node.removeAttribute(r):void 0!==a?e.node.setAttribute(r,a):e.node.setAttribute(r,"")}),c(e.node,e.valid&&l(e.node))})}document.body.addEventListener("validity",function(e){return c(e.target,e.detail.valid)})}function Kt(e,t,n){var i=document.createElement(e);for(var o in t)!0===t[o]?i.setAttribute(o,""):i.setAttribute(o,t[o]);return i.textContent=n,i}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Yt):Yt(),t()(document).ready(function(){var e=document.getElementById("c-app-widget-wrap");e&&(e.classList.add("is-initialised"),e.addEventListener("click",function(e){var t=e.target,n="";if("IMG"==t.tagName&&(t=t.parentElement),t.classList.contains("c-app-widget")&&t.dataset.open){if(""!==(n=document.getElementById(t.dataset.open))){var i=!1;t.classList.contains("is-active")&&(i=!0),Xt(),i||(t.classList.add("is-active"),n.classList.add("is-open"))}}else t.hasAttribute("data-close")&&Xt()}),document.addEventListener("keydown",function(e){"Escape"===e.key&&Xt()}))}),t()(document).ready(Gt);var Qt=["dev.icaew.com","devmy.icaew.com","devcdn.icaew.com","local.icaew.com","localhost"];function Jt(e){var t=window.location.hostname,n=t.startsWith("localhost")||"127.0.0.1"===t;(Qt.includes(t)||n)&&console.log(e)}function en(){var e,t,n=window.location.hostname;"dev.icaew.com"===n||"devcdn.icaew.com"===n||"local.icaew.com"===n||n.includes("localhost")?(e="devmy.icaew.com",t="devcdn.icaew.com"):"uat.icaew.com"===n?(e="uatmy.icaew.com",t="uatcdn.icaew.com"):(e="my.icaew.com",t="cdn.icaew.com");var i=encodeURIComponent(window.location.href.split("?")[0]+"?cpdWidget=open");return'<div class="c-app-widget-cpd c-app-widget__item-body" id="cpdWidget" data-cpd-body-active="var0" data-cpd-footer-active="var0">\n    <div class="c-app-widget-cpd__header">\n        <h1>Add Verified CPD Activity</h1>\n        <div class="c-app-widget-cpd__close" data-close="" aria-label="Close widget"></div>\n    </div>\n    <div class="c-app-widget-cpd__body" data-cpd-body="var0">\n        <div class="c-app-widget-cpd__body-card">\n            <header class="c-image-heading c-image-heading--large needs-colour-theme__purple" data-component-title="c-image-heading">\n                <img class="c-image-heading__image" src="//'.concat(t,'/v1/production/img/fe-global/feature/cpd-purple.png"/>\n                <div class="c-image-heading__content">\n                    <h3 class="c-image-heading__title">Introducing AddCPD, a new way to record your CPD activities!</h3>
2\n                    <span class="c-image-heading__sub-title">Log in to start using the AddCPD tool. Available only to ICAEW members.</span>\n                </div>\n            </header>\n        </div>\n    </div>\n    <div class="c-app-widget-cpd__footer" data-cpd-footer="var0">\n        <a class="c-button button button--secondary button--beta u-width--100" href="https://').concat(e,"/security/Account/Login?returnUrl=").concat(i,'" data-component-title="c-button" data-component-id="unique-guid">\n            Login\n        </a>\n    </div>\n    <div class="c-app-widget-cpd__body" data-cpd-body="var1" data-validate id="variantBody1">\n        <h4 data-cpd-page-title>Add this page to your CPD activity</h4>\n        <div class="c-app-widget-cpd__body-meta">\n            <h6>Step 1 of 3</h6>\n        </div>\n        <div>\n            <label class="e-data-label" for="activityReason" data-component-title="e-data-label">\n                <span class="e-data-label-text">Why did you choose this activity?</span>\n            </label>\n            <span class="e-data-input-wrap e-data-textarea--small u-width--100">\n                <textarea class="e-data-textarea"\n                    name="activityReason"\n                    autocomplete="off"\n                    id="activityReason"\n                    placeholder="Max 2000 characters"\n                    maxlength="2000"\n                    rows="8"></textarea>\n            </span>\n            <div class="e-data-label-meta" data-component-title="e-data-label-meta">\n                <span class="e-data-label-meta-text">If you are selected by ICAEW\'s QAD team for a CPD review, you will be required to provide this information. We advise completing this section when first recording an activity to ensure an accurate reflection of your CPD.</span>\n            </div>\n        </div>\n    </div>\n    <div class="c-app-widget-cpd__footer" data-cpd-footer="var1">\n        <a class="c-button button button--secondary button--beta c-button--icon" href="#" data-cpd-active="var2" data-validate data-validate-from="variantBody1" data-validate-class-remove="c-button--disabled" data-component-title="c-button" data-component-id="unique-guid">\n            <span class="c-button__icon icon__angle-right--black"></span>\n            Next step\n        </a>\n    </div>\n    <div class="c-app-widget-cpd__body" data-cpd-body="var2" data-validate id="variantBody2">\n        <h4 data-cpd-page-title>Add this page to your CPD activity</h4>\n        <div class="c-app-widget-cpd__body-meta">\n            <h6>Step 2 of 3</h6>\n        </div>\n        <div>\n            <label class="e-data-label" for="activityLearning" data-component-title="e-data-label">\n                <span class="e-data-label-text">What did you learn from this activity?</span>\n            </label>\n            <span class="e-data-input-wrap e-data-textarea--small u-width--100">\n                <textarea class="e-data-textarea"\n                    name="activityLearning"\n                    autocomplete="off"\n                    id="activityLearning"\n                    placeholder="Max 2000 characters"\n                    maxlength="2000"\n                    rows="8"></textarea>\n            </span>\n            <div class="e-data-label-meta" data-component-title="e-data-label-meta">\n                <span class="e-data-label-meta-text">If you are selected by ICAEW\'s QAD team for a CPD review, you will be required to provide this information. We advise completing this section when first recording an activity to ensure an accurate reflection of your CPD.</span>\n            </div>\n        </div>\n    </div>\n    <div class="c-app-widget-cpd__footer" data-cpd-footer="var2">\n        <a class="c-button button button--ghost c-button--icon" href="#" data-cpd-active="var1" data-component-title="c-button" data-component-id="unique-guid">\n            <span class="c-button__icon icon__angle-left--black"></span>\n            Back\n        </a>\n        <a class="c-button button button--secondary button--beta c-button--icon" href="#" data-cpd-active="var3" data-validate data-validate-from="variantBody2" data-validate-class-remove="c-button--disabled" data-component-title="c-button" data-component-id="unique-guid">
2\n            <span class="c-button__icon icon__angle-right--black"></span>\n            Next step\n        </a>\n    </div>\n    <div class="c-app-widget-cpd__body" data-cpd-body="var3" data-validate id="variantBody3">\n        <h4 data-cpd-page-title>Add this page to your CPD activity</h4>\n        <div class="c-app-widget-cpd__body-meta">\n            <h6>Step 3 of 3</h6>\n            <div class="c-panel-alert c-panel-alert--success is-section-collapsable is-section-collapsed" data-component-title="c-panel-alert">\n                <div class="c-panel-alert__header">\n                    <h5 class="c-panel-alert__heading has-icon">\n                        Download recorded\n                    </h5>\n                </div>\n            </div>\n            <div class="c-panel-alert c-panel-alert--critical is-section-collapsable is-section-collapsed" data-component-title="c-panel-alert">\n                <div class="c-panel-alert__header">\n                    <h5 class="c-panel-alert__heading has-icon">\n                        Download not recorded\n                    </h5>\n                </div>\n                <p>Please download the related document if you wish to add this activity to your record</p>\n            </div>\n        </div>\n        <fieldset class="e-data-fieldset" data-component-title="e-data-legend">\n            <legend class="e-data-fieldset__legend">How long did you spend on this activity?</legend>\n            <div class="sl-flexbox-plus sl-flexbox-plus--duo sl-flexbox-plus__gap--element" data-sublayout-title="sl-flexbox-plus">\n                <div>\n                    <label class="e-data-label" for="inputActivityHours" data-component-title="e-data-label">\n                        <span class="e-data-label-text e-data-label-text--micro">Hours (0-40)</span>\n                    </label>\n                    <span class="e-data-input-wrap e-data-input__text u-width--100">\n                        <input type="number"\n                            name="inputActivityHours"\n                            autocomplete="off"\n                            id="inputActivityHours"\n                            required="required"\n                            value="0"\n                            min="0"\n                            max="40"\n                            step="1"\n                            maxlength="2"\n                            oninvalid="this.setCustomValidity(\'Please enter a valid number of hours from 0 to 40\')" oninput="this.setCustomValidity(\'\')" >\n                        <span class="e-data-input-feedback"></span>\n                    </span>\n                </div>\n                <div>\n                    <label class="e-data-label" for="inputActivityMinutes" data-component-title="e-data-label">\n                        <span class="e-data-label-text e-data-label-text--micro">Minutes (0-59)</span>\n                    </label>\n                    <span class="e-data-input-wrap e-data-input__text u-width--100">\n                        <input type="number"\n                            name="inputActivityMinutes"\n                            autocomplete="off"\n                            id="inputActivityMinutes"\n                            required="required"\n                            value="0"\n                            min="0"\n                            max="59"\n                            step="1"\n                            maxlength="2"\n                            oninvalid="this.setCustomValidity(\'Please enter a valid number of minutes from 0 to 59\')" onin
2put="this.setCustomValidity(\'\')" >\n                        <span class="e-data-input-feedback"></span>\n                    </span>\n                </div>\n            </div>\n            <div class="e-data-label-meta" data-component-title="e-data-label-meta">\n                <span class="e-data-label-meta-text">Mandatory fields</span>\n            </div>\n        </fieldset>\n    </div>\n    <div class="c-app-widget-cpd__footer" data-cpd-footer="var3">\n        <a class="c-button button button--ghost c-button--icon" href="#" data-cpd-active="var2" data-component-title="c-button" data-component-id="unique-guid">\n            <span class="c-button__icon icon__angle-left--black"></span>\n            Back\n        </a>\n        <a class="c-button button button--primary button--beta" href="#" data-cpd-active="var4" data-validate data-validate-from="variantBody3" data-validate-class-remove="c-button--disabled" data-component-title="c-button" data-component-id="unique-guid">\n            Add activity to my record\n        </a>\n    </div>\n    <div class="c-app-widget-cpd__body" data-cpd-body="var4">\n        <div class="c-app-widget-cpd__body-card">\n            <header class="c-roundel-heading" data-component-title="c-roundel-heading">\n                <span class="c-roundel c-roundel--xlarge bg-colour__feedback-yay " data-component-title="c-roundel">\n                    <span class="c-roundel__icon icon__check--white">Yes</span>\n                </span>\n                <div class="c-roundel-heading__content">\n                    <h3 class="c-roundel-heading__title">Activity added</h3>\n                </div>\n            </header>\n        </div>\n    </div>\n    <div class="c-app-widget-cpd__footer" data-cpd-footer="var4">\n        <a class="c-button button button--utility button--beta u-width--100" href="https://').concat(e,'/cpdrecord/" data-component-title="c-button" data-component-id="unique-guid">\n            Go to my CPD record\n        </a>\n    </div>\n    <div class="c-app-widget-cpd__body" data-cpd-body="var5">\n        <div class="c-app-widget-cpd__body-card">\n            <header class="c-roundel-heading" data-component-title="c-roundel-heading">\n                <span class="c-roundel c-roundel--xlarge bg-colour__feedback-boo " data-component-title="c-roundel">\n                    <span class="c-roundel__icon icon__frown--white">Yes</span>\n                </span>\n                <div class="c-roundel-heading__content">\n                    <h3 class="c-roundel-heading__title">An error has occurred<br/>Please try again</h3>\n                    <span class="c-roundel-heading__sub-title">If the problem persists please contact our helpline on +44 (0)1908 248 250</span>\n                </div>\n            </header>\n        </div>\n    </div>\n    <div class="c-app-widget-cpd__footer" data-cpd-footer="var5">\n        <a class="c-button button button--primary button--beta u-width--100" href="#" data-cpd-active="var4" data-component-title="c-button" data-component-id="unique-guid">\n            Add activity to my record\n        </a>\n    </div>\n</div>')}function tn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,o,r,a,s=[],l=!0,c=!1;try{if(r=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=r.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return nn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?nn(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function on(e){return on="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},on(e)}function rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function an(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
2t%2?rn(Object(n),!0).forEach(function(t){sn(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rn(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sn(e,t,n){return(t=function(e){var t=function(e){if("object"!=on(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=on(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==on(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ln(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function cn(){!function(){for(var e=document.querySelectorAll(".c-video-inline-lazy:not(.ready)"),t=0;t<e.length;t++){var n=e[t];n.dataset.videoChannel,n.addEventListener("click",function(){if("streamAMG"==this.dataset.videoChannel){var e=document.createElement("div"),t=document.createElement("script"),n="kaltura_player_"+this.dataset.videoId,i="//open.http.mp.streamamg.com/p/3000931/sp/300093100/embedIframeJs/uiconf_id/30022395/partner_id/3000931?autoembed=true&entry_id="+this.dataset.entryId+"&playerId="+n+"&cache_st="+this.dataset.videoId+"&flashvars[autoPlay]=true&flashvars[streamerType]=hds",o="//open.http.mp.streamamg.com/p/3000931/sp/300093100/thumbnail/entry_id/"+this.dataset.entryId+"/version/100000/acv/222";e.setAttribute("id",n),e.setAttribute("itemprop","video"),e.setAttribute("itemscope",""),e.setAttribute("itemtype","http://schema.org/VideoObject");var r=document.createElement("span");r.setAttribute("itemprop","name"),r.setAttribute("content","");var a=document.createElement("span");a.setAttribute("itemprop","description"),a.setAttribute("content","");var s=document.createElement("span");s.setAttribute("itemprop","duration"),s.setAttribute("content","");var l=document.createElement("span");l.setAttribute("itemprop","thumbnail"),l.setAttribute("content",o),t.setAttribute("src",i),e.appendChild(r),e.appendChild(a),e.appendChild(s),e.appendChild(l),this.innerHTML="",this.appendChild(e),this.appendChild(t)}else{var c=document.createElement("iframe");this.dataset.videoWidth&&c.setAttribute("width",this.dataset.videoWidth),this.dataset.videoHeight&&c.setAttribute("height",this.dataset.videoHeight),"youtube"==this.dataset.videoChannel?(c.setAttribute("frameborder","0"),c.setAttribute("allowfullscreen",""),c.setAttribute("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),c.setAttribute("src","https://www.youtube.com/embed/"+this.dataset.videoId+"?rel=0&showinfo=0&autoplay=1")):"vimeo"==this.dataset.videoChannel?(c.setAttribute("frameborder","0"),c.setAttribute("allowfullscreen",""),c.setAttribute("src","https://player.vimeo.com/video/"+this.dataset.videoId+"?color=ff2d00&amp;autoplay=1&amp;pip=1")):"brightcove"==this.dataset.videoChannel?(c.setAttribute("frameborder","0"),c.setAttribute("allowfullscreen",""),c.setAttribute("allow","encrypted-media; autoplay"),c.setAttribute("src","https://players.brightcove.net/"+this.dataset.entryId+"/"+(this.dataset.playerId||"ouj9s8i4s_default")+"/index.html?videoId="+this.dataset.videoId+"&autoplay=true&playsinline=true")):console.warn("Unknown video channel: "+this.dataset.videoChannel),this.innerHTML="",this.appendChild(c)}}),n.classList.add("ready")}}()}en(),t()(document).ready(function(){var e=document.getElementById("widget__cpd");e&&(e.innerHTML=en());var t=document.getElementById("cpdWidget"),n=document.querySelectorAll("[data-cpd-link-title]"),i="",o=!1,r="",a="",s={title:"",id:"",href:"",contentType:"",topics:"",memberNo:"",activityHours:"",activityMinutes:"",activityReason:"",activityLearning:"",provider:"ICAEW",organisation:"",downloads:""},l=!0,c=!1,u=null,d="cpdWidget_";function p(e){var t=document.cookie.split("; ").find(function(t){return t.startsWith(e+"=")});return t?t.split("=")[1]:null}function f(e){var t=window.location.hostname;return"dev.icaew.com"===t||"dev10.icaew.com"===t||"devcdn.icaew.com"===t||"local.icaew.com"===t||"local10.icaew.com"===t?"https://devmy.icaew.com"+e:"uat.icaew.com"===t||"uat10.icaew.com"===t?"https://uatmy.icaew.com"+e:"https://my.icaew.com"+e}function h(e){var t=window.location.hostname;return"dev.icaew.com"===t||"devcdn.icaew.com"===t?"https://dev.icaew.com"+e:"dev10.icaew.com"===t?"https://dev10.icaew.com"+e:"uat.icaew.com"===t?"https://uat.icaew.com"+e:"uat10.icaew.com"===t?"https://uat10.icaew.com"+e:"local.icaew.com"===t?"https://local.icaew.com"+e:"local10.icaew.com"===t?"https://local10.icaew.com"+e:"https://www.icaew.com"+e}function m(){return s.id&&s.memberNo?"".concat(d).concat(s.memberNo,"_").concat(s.id):(console.warn("Cannot generate storage key - missing apiData.id or apiData.memberNo"),null)}"undefined"!=typeof dataLayer&&(o=!0),o&&(function(){for(var e=0;e<dataLayer.length;e++){var t=dataLayer[e];t.hasOwnProperty("recordCode")&&(i=t.recordCode),t.hasOwnProperty("userID")&&(r=t.userID),t.hasOwnProperty("userType")&&(a=t.userType)}""===i&&""===r||("Member"!==a?l=!1:(s.memberNo=i,c=!0))}(),(t||n.length>0)&&(document.querySelectorAll('meta[property="og:title"], link[rel="canonical"], meta[name="ID"], meta[name="ContentType"], meta[name="taxonomy-topic-terms"]').forEach(function(e){switch(e.getAttribute("name")||e.getAttribute("property")||e.getAttribute("rel")){case"og:title":s.title=e.getAttribute("content"),t&&t.querySelectorAll("[data-cpd-page-title]").forEach(function(e){e.textContent=s.title});break;case"ID":s.id=e.getAttribute("content");break;case"ContentType":s.contentType=e.getAttribute("content");break;case"taxonomy-topic-terms":s.topics=e.getAttribute("content");break;case"canonical":s.href=e.getAttribute("href")}}),t&&function(){var e,n;l?(function(){var e=new URL(window.location.href),t=new URLSearchParams(e.search);if(t.has("cpdWidget")&&"open"===t.get("cpdWidget")){var n=document.getElementById("widget__cpd"),i=document.querySelector('.c-app-widget[data-open="widget__cpd"]');n.classList.add("is-open"),i.classList.add("is-active")}}(),Gt(),function(e){if(e){var t=document.querySelectorAll(e);t&&0!==t.length?(Jt("setupNumberInputValidation: Found ".concat(t.length," input(s) to validate")),t.forEach(function(e,t){if(e&&e.nodeType&&e.nodeType===Node.ELEMENT_NODE)if("input"===e.tagName.toLowerCase())if("number"===e.type){var n=e.hasAttribute("maxlength")?parseInt(e.getAttribute("maxlength")):null,i=e.hasAttribute("min")?parseInt(e.getAttribute("min")):null,o=e.hasAttribute("max")?parseInt(e.getAttribute("max")):null;if(null===i||null===o||isNaN(i)||isNaN(o))Jt('setupNumberInputValidation: Input "'.concat(e.id||e.name||"unnamed",'" missing required min/max attributes or they are not valid numbers'));else{var r=e.closest(".e-data-input-wrap");r||Jt('setupNumberInputValidation: No .e-data-input-wrap found for input "'.concat(e.id||e.name||"index-"+t,'"')),Jt('setupNumberInputValidation: Setting up validation for input "'.concat(e.id||e.name||"index-"+t,'" (min: ').concat(i,", max: ").concat(o).concat(n?", maxLength: "+n:"",")")),e.addEventListener("focus",function(e){this.select()}),e.addEventListener("click",function(e){this.select()}),e.addEventListener("input",function(e){var t=parseInt(this.value);if(this.setCustomValidity(""),""!==this.value)if(isNaN(t)||t<i||t>o){var n=this.id.includes("Hours")?"hours":this.id.includes("Minutes")?"minutes":this.id.includes("Day")?"days":this.id.includes("Year")?"years":this.id.includes("Age")?"age":this.id.includes("Quantity")?"quantity":"value",r="Please enter a valid ".concat(n," from ").concat(i," to ").concat(o);this.setCustomValidity(r),this.reportValidity(),a(!0)}else a(!1);else a(!1)}),e.addEventListener("blur",function(e){var t=parseInt(this.value);isNaN(t)||t<i||t>o?(this.reportValidity(),a(!0)):a(!1)}),e.addEventListener("paste",function(e){e.preventDefault();var t=(e.clipboardData||window.clipboardData).getData("text").replace(/\D/g,"");if(!(n&&t.length>n)){var r=parseInt(t);!isNaN(r)&&r>=i&&r<=o&&(this.value=r,this.dispatchEvent(new Event("input",{bubbles:!0})))}})}}else Jt('setupNumberInputValidation: Input "'.concat(e.id||e.name||"unnamed",'" is not type="number" (type="').concat(e.type,'")'));else Jt("setupNumberInputValidation: Element at index ".concat(t," is not an input element (").concat(e.tagName,")"));else Jt("setupNumberInputValidation: Invalid input element at index ".concat(t));function a(e){r&&(e?r.classList.add("active-error"):r.classList.remove("active-error"))}}
2)):Jt('setupNumberInputValidation: No inputs found for selector "'.concat(e,'"'))}else Jt("setupNumberInputValidation: No selectors provided")}("#inputActivityHours, #inputActivityMinutes"),s.memberNo&&s.id?(function(){for(var e=new Date,t=[],n=0;n<localStorage.length;n++){var i=localStorage.key(n);if(i&&i.startsWith(d))try{var o=JSON.parse(localStorage.getItem(i));(e-new Date(o.timestamp))/864e5>=7&&t.push(i)}catch(e){t.push(i)}}t.forEach(function(e){localStorage.removeItem(e)}),t.length}(),function(){var e=m();if(e){var t=localStorage.getItem(e);if(t)try{var n=JSON.parse(t),i=new Date(n.timestamp),o=(new Date-i)/864e5;if(n.memberNo!==s.memberNo)return void localStorage.removeItem(e);if(o<7){var r=document.getElementById("activityReason"),a=document.getElementById("activityLearning"),l=document.getElementById("inputActivityHours"),c=document.getElementById("inputActivityMinutes");r&&n.data.activityReason&&(r.value=n.data.activityReason),a&&n.data.activityLearning&&(a.value=n.data.activityLearning),l&&n.data.activityHours&&(l.value=n.data.activityHours),c&&n.data.activityMinutes&&(c.value=n.data.activityMinutes);var u=document.getElementById("widget__cpd"),d=document.querySelector('.c-app-widget[data-open="widget__cpd"]');u&&d&&(u.classList.add("is-open"),d.classList.add("is-active"))}else localStorage.removeItem(e)}catch(t){console.error("Error parsing saved CPD Widget data:",t),localStorage.removeItem(e)}}}(),function(){var e=document.getElementById("activityReason"),t=document.getElementById("activityLearning"),n=document.getElementById("inputActivityHours"),i=document.getElementById("inputActivityMinutes");function o(){var o=m();if(o){var r={pageId:s.id,memberNo:s.memberNo,timestamp:(new Date).toISOString(),data:{activityReason:e?e.value:"",activityLearning:t?t.value:"",activityHours:n?n.value:"0",activityMinutes:i?i.value:"0"}};localStorage.setItem(o,JSON.stringify(r))}}function r(){u||(u=setInterval(function(){o()},5e3))}function a(){u&&(clearInterval(u),u=null)}e&&(e.addEventListener("focus",r),e.addEventListener("blur",function(){o(),a()})),t&&(t.addEventListener("focus",r),t.addEventListener("blur",function(){o(),a()})),n&&n.addEventListener("blur",o),i&&i.addEventListener("blur",o)}()):console.warn("CPD Widget localStorage functionality disabled - missing memberNo or page ID")):(e=document.querySelector('#c-app-widget-wrap .c-app-widget[data-open="widget__cpd"]'),n=document.getElementById("widget__cpd"),e.remove(),n.remove()),t.addEventListener("click",function(e){if(e.target.classList.contains("c-button--disabled"))e.preventDefault();else{var n=e.target.dataset.cpdActive;if(n)if(e.preventDefault(),"var1"===n&&v.focus(),"var2"===n&&g.focus(),"var4"==n){t.classList.add("has-overlay","overlay--upload"),s.activityHours=c.value,s.activityMinutes=f.value,s.activityReason=v.value,s.activityLearning=g.value,s.downloads=a;var i=h("/services/api/cpd/RegisterActivity"),o=Object.fromEntries(Object.entries(s).filter(function(e){var t=tn(e,2);return null!=(t[0],t[1])})),r=JSON.stringify(o),l=p("cpdSession");fetch(i,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer "+l},body:r}).then(function(e){if(e.ok)return e.json();throw new Error(e.status)}).then(function(e){setTimeout(function(){b(n),t.classList.remove("has-overlay","overlay--upload");var e=m();e&&localStorage.removeItem(e)},500)}).catch(function(e){console.error("Fetch Error:",e),e&&e.response&&console.log("Full Response Object:",e.response),setTimeout(function(){b("var5"),t.classList.remove("has-overlay","overlay--upload")},500)})}else b(n)}}),document.addEventListener("click",function(e){var t=e.target.dataset,n=t.cpdDownload,i=t.assetId,o=void 0===i?"":i,s=t.assetTitle,l=void 0===s?"":s,c=e.target.href;void 0!==n&&(a.find(function(e){return e.assetId===o})||a.push({assetId:o,assetTitle:l,assetURL:c}),r||(r=!0,y("yay")))});var o=!1,r=!1,a=[],c=document.getElementById("inputActivityHours"),f=document.getElementById("inputActivityMinutes"),v=document.getElementById("activityReason"),g=document.getElementById("activityLearning");function y(e){var n=t.querySelector('[data-cpd-body="var3"] .c-panel-alert--critical'),i=t.querySelector('[data-cpd-body="var3"] .c-panel-alert--success');"yay"===e?(n.classList.add("is-section-collapsed"),i.classList.remove("is-section-collapsed")):n.classList.remove("is-section-collapsed")}function b(e){t.dataset.cpdBodyActive=e,t.dataset.cpdFooterActive=e}document.querySelector("a[data-cpd-download]")&&(o=!0,y("boo")),""!==i&&(t.dataset.cpdBodyActive="var1",t.dataset.cpdFooterActive="var1"),o&&y("boo")}
2(),n.length>0&&c&&function(e){var n=Kt("span",{class:"c-popover__wrap"},""),i=function(){var e=Kt("div",{class:"c-popover"},""),t=Kt("div",{class:"c-popover__content"},""),n=Kt("div",{class:"c-card c-card--minor c-card-cta u-margin-bottom__none"},""),i=Kt("h5",{class:"c-card-cta__heading"},"Add to your CPD?"),o=Kt("p",{class:"c-card-cta__content"},"");o.innerHTML="This content can be included as an activity<br/>towards meeting your CPD requirements";var r=Kt("button",{class:"c-button button button--micro button--primary button--beta c-popover__button","data-cpd-popover-action":"add"},"Add to my CPD record");return n.appendChild(i),n.appendChild(o),n.appendChild(r),t.appendChild(n),e.appendChild(t),e}();function o(e){e.target.dataset.cpdLinkTitle&&e.preventDefault();var n=e.target.closest(".c-popover__wrap"),i=n.querySelector(".c-popover"),o=(n.querySelector(".c-popover__content"),n.querySelector("[data-cpd-link-title]")),r=o.href,a=o.getAttribute("data-cpd-link-title"),l=o.getAttribute("data-cpd-link-provider"),c=o.getAttribute("data-cpd-link-organisation");if(e.target.dataset.cpdLinkTitle)i.classList.add("c-popover--show"),setTimeout(function(){window.open(r,"_blank")},500);else if("add"===e.target.dataset.cpdPopoverAction){i.classList.add("has-overlay","overlay--upload");var u={title:a,id:s.id,href:r,contentType:s.contentType,topics:s.topics,memberNo:s.memberNo,provider:l||"Other",organisation:c||null};Jt(u);var d=h("/services/api/cpd/RegisterActivity"),v=Object.fromEntries(Object.entries(u).filter(function(e){var t=tn(e,2);return null!=(t[0],t[1])})),g=JSON.stringify(v),y=p("cpdSession");fetch(d,{method:"POST",headers:{"Content-Type":"application/json",Authorization:"Bearer "+y},body:g}).then(function(e){if(e.ok)return e.json();throw new Error(e.status)}).then(function(e){setTimeout(function(){i.classList.remove("has-overlay","overlay--upload"),i.classList.add("c-popover--yay");var e=function(){var e=f("/cpdrecord/Activity"),t=Kt("header",{class:"c-roundel-heading"},""),n=Kt("span",{class:"c-roundel bg-colour__feedback-yay"},""),i=Kt("span",{class:"c-roundel__icon icon__check--white"},"Yes");n.appendChild(i);var o=Kt("div",{class:"c-roundel-heading__content"},""),r=Kt("h3",{class:"c-roundel-heading__title"},"Activity recorded"),a=Kt("span",{class:"c-roundel-heading__sub-title"}),s=document.createTextNode("Visit "),l=Kt("a",{href:e},"your CPD Record"),c=document.createTextNode(" to complete this activity at any time.");return a.appendChild(s),a.appendChild(l),a.appendChild(c),o.appendChild(r),o.appendChild(a),t.appendChild(n),t.appendChild(o),t}(),n=i.querySelector(".c-card-cta__heading"),o=i.querySelector(".c-card-cta__content"),r=i.querySelector(".c-popover__button");n&&o&&r&&e&&(n.remove(),r.remove(),o.replaceWith(e)),t.classList.remove("has-overlay","overlay--upload");var a=m();a&&localStorage.removeItem(a)},500)}).catch(function(e){console.error("Fetch Error:",e),e&&e.response&&console.log("Full Response Object:",e.response),setTimeout(function(){i.classList.remove("has-overlay","overlay--upload");var e=function(){var e=f("/cpdrecord/Activity"),t=Kt("div",{class:"c-card c-card--minor c-card-cta bg-cool-grey--20 u-border-radius--app"},""),n=Kt("header",{class:"c-roundel-heading c-roundel-heading--micro"},""),i=Kt("span",{class:"c-roundel bg-colour__feedback-boo"},""),o=Kt("span",{class:"c-roundel__icon icon__frown--white"},"No");i.appendChild(o);var r=Kt("div",{class:"c-roundel-heading__content"},""),a=Kt("h3",{class:"c-roundel-heading__title"},"An error has occurred"),s=Kt("span",{class:"c-roundel-heading__sub-title"}),l=document.createTextNode("Please try again or visit "),c=Kt("a",{href:e},"your CPD Record"),u=document.createTextNode(" to add this activity manually.");return s.appendChild(l),s.appendChild(c),s.appendChild(u),r.appendChild(a),r.appendChild(s),n.appendChild(i),n.appendChild(r),t.appendChild(n),t}(),t=i.querySelector(".c-card-cta__heading"),n=i.querySelector(".c-card-cta__content");t&&n&&e&&(t.remove(),n.replaceWith(e))},500)})}}function r(){document.querySelectorAll(".c-popover--show").forEach(function(e){return e.classList.remove("c-popover--show")})}document.body.addEventListener("click",function(e){null!==e.target.getAttribute("data-cpd-link-title")?(r(),o(e)):e.target.closest(".c-popover")?o(e):e.target.closest(".c-popover__wrap")||r()}),e.forEach(function(e){var t=n.cloneNode(!0),o=i.cloneNode(!0);e.setAttribute("target","_blank"),e.parentNode.insertBefore(t,e),t.appendChild(e),t.appendChild(o);var r=o.clientWidth;o.clientHeight,o.style.minWidth=r+"px",o.style.maxWidth=r+16+"px"})}(n)))}),t()(document).ready(function(){if(t()("#banner-cookie .message").length&&t()("#banner-cookie").attr("data-cookie-name")&&t()("#banner-cookie").attr("data-cookie-duration")){var e=t()("#banner-cookie").data("c
2ookie-duration"),n=t()("#banner-cookie").data("cookie-name");t()("#banner-cookie span").on("click",function(){t()("#banner-cookie").slideUp(),function(e,t,n){if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3);var o="; expires="+i.toGMTString()}else o="";document.cookie=e+"=on"+o+"; path=/"}(n,0,e)})}}),t()(document).ready(function(){document.getElementsByClassName("c-breadcrumb").length&&t()(".c-breadcrumb").scrollLeft(t()(".c-breadcrumb__list li:last-child").offset().left)}),t()(document).ready(function(){if(document.getElementsByClassName("c-card-carousel-beta").length){var e=".c-card-carousel-beta__controls ",n={slidesToShow:1,slidesToScroll:1,fade:!0,arrows:!0,speed:1e3,nextArrow:t()(e+".next-arrow"),prevArrow:t()(e+".prev-arrow"),asNavFor:".c-card-carousel-beta__content",autoplay:!0,autoplaySpeed:8e3,infinite:!0,dots:!0,appendDots:t()(".c-card-carousel-beta__dots "),responsive:[{breakpoint:960,settings:{dots:!1}}]};t()(".c-card-carousel-beta__media").slick(n),t()(".c-card-carousel-beta__content").slick({slidesToShow:1,slidesToScroll:1,fade:!0,arrows:!1,speed:1e3,asNavFor:".c-card-carousel-beta__media",autoplay:!0,autoplaySpeed:8e3,infinite:!0,responsive:[{breakpoint:960,settings:{adaptiveHeight:!0}}]}),t()(window).width()<960?setTimeout(function(){var e=t()(".slick-track img").height();t()(".c-card-carousel-beta__controls").css("top",e)},100):setTimeout(function(){t()(".c-card-carousel-beta__controls").css("top","0")},100),t()(window).resize(function(){t()(window).width()<960?setTimeout(function(){var e=t()(".slick-track img").height();t()(".c-card-carousel-beta__controls").css("top",e)},100):setTimeout(function(){t()(".c-card-carousel-beta__controls").css("top","0")},100)})}}),t()(document).ready(function(){document.getElementsByClassName("c-card-index").length&&t()(".c-card-index .accordion-title").on("click",function(){t()(this).parents(".c-card-index").toggleClass("c-card-index--closed")})}),t()(document).ready(function(){document.getElementsByClassName("c-card-pricing-compact-listing").length&&t()(".c-card-pricing-compact-listing").each(function(){var e=t()(this).find(".c-card-pricing-compact-listing__items"),n=e.children().length;n%3==0&&n<10?e.addClass("c-card-pricing-compact-listing__items--children-3"):n%4==0&&n<10?e.addClass("c-card-pricing-compact-listing__items--children-4"):n%5==0&&n<10?e.addClass("c-card-pricing-compact-listing__items--children-5"):e.addClass("c-card-pricing-compact-listing__items--children-other")})}),t()(document).ready(function(){document.getElementsByClassName("c-card-pricing-list").length&&t()(".c-card-pricing-list").each(function(){var e=t()(this).find(".c-card-pricing-list__items"),n=e.children().length;n<=3?e.addClass("c-card-pricing-list__items--children-3-under"):n%3==0&&n<10?e.addClass("c-card-pricing-list__items--children-3 c-card-pricing-list__items--children-4-over"):n%4==0&&n<10?e.addClass("c-card-pricing-list__items--children-4 c-card-pricing-list__items--children-4-over"):n%5==0&&n<10?e.addClass("c-card-pricing-list__items--children-5 c-card-pricing-list__items--children-4-over"):e.addClass("c-card-pricing-list__items--children-other c-card-pricing-list__items--children-4-over")})}),t()(document).ready(function(){if(document.getElementsByClassName("c-changelog").length&&document.getElementsByClassName("c-changelog__changes").length){var e=t()(".c-changelog dt").length;0===e?(t()(".c-changelog__changes").css("display","none"),t()(".c-hero-content-technical__history").css("display","none")):(t()(".c-hero-content-technical__history").css("display","inline"),t()(".c-changelog__changes").css("display","inline-block").text("("+e+")"))}t()(".c-hero-content-technical__history a").on("click",function(){t()(".c-changelog .accordion").foundation("down",t()(".c-changelog .accordion .accordion-content"))})}),t()(document).ready(function(){if(document.getElementsByClassName("c-content-listing-grid").length){var e=function(){t()('.c-content-listing-grid:not([class*="c-content-listing-grid--"])').each(function(){var e=t()(this).find(".c-content-listing-grid__items");e.children().length%2==0?e.toggleClass("c-content-listing-grid__items--even"):e.toggleClass("c-content-listing-grid__items--odd")})};t()(window).width()>
2961&&e(),t()(window).resize(function(){t()(window).width()>961&&e()})}}),t()(document).ready(function(){var e=".c-card-carousel-alpha__controls ",n={slidesToShow:1,slidesToScroll:1,arrows:!0,speed:500,cssEase:"ease-in-out",nextArrow:t()(e+".next-arrow"),prevArrow:t()(e+".prev-arrow"),asNavFor:".c-card-carousel-alpha__bottom"};t()(".c-card-carousel-alpha__top").slick(n),t()(".c-card-carousel-alpha__bottom").slick({slidesToShow:1,slidesToScroll:1,fade:!0,arrows:!1,speed:750,asNavFor:".c-card-carousel-alpha__top",responsive:[{breakpoint:500,settings:{adaptiveHeight:!0}}]})}),document.addEventListener("DOMContentLoaded",function(){var e=document.getElementById("price-range-slider"),t=document.getElementById("priceFrom"),n=document.getElementById("priceTo");e&&t&&n&&(Vt().create(e,{start:[20,200],connect:!0,range:{min:0,max:1e3},step:5,format:{to:function(e){return Math.round(e)},from:function(e){return Number(e)}}}),e.noUiSlider.on("update",function(e,i){0===i?t.value=e[0]:n.value=e[1]}),t.addEventListener("change",function(){var t=e.noUiSlider.get();e.noUiSlider.set([this.value,t[1]])}),n.addEventListener("change",function(){var t=e.noUiSlider.get();e.noUiSlider.set([t[0],this.value])}),t.addEventListener("change",function(){if(parseInt(this.value)>=parseInt(n.value)){this.value=parseInt(n.value)-5;var t=e.noUiSlider.get();e.noUiSlider.set([this.value,t[1]])}}),n.addEventListener("change",function(){if(parseInt(this.value)<=parseInt(t.value)){this.value=parseInt(t.value)+5;var n=e.noUiSlider.get();e.noUiSlider.set([n[0],this.value])}}))}),t()(document).ready(function(){var e=document.querySelector(".c-decision-tree");if(e){var t=function(){0===a.length?i.classList.add("c-button--disabled"):1===a.length&&i.classList.remove("c-button--disabled")},n=function(t){if(Foundation.MediaQuery.only("small")){e.scrollIntoView();var n=document.getElementById(t);if(n){var i=document.querySelectorAll(".c-decision-tree__section--active");if(i)for(var o=0;o<i.length;o++)i[o].classList.remove("c-decision-tree__section--active");n.classList.add("c-decision-tree__section--active")}}},i=e.querySelector("[data-back-button]"),o=e.querySelector("[data-reset-button]"),r=e.querySelector(".e-progress"),a=new Array;if(i.addEventListener("click",function(){var i=e.querySelectorAll('input[type="radio"]:checked'),o=i.length,s=a[a.length-1];n(s),a.pop();var l=i[o-1],c=i[o-2],u=0,d=1;c&&c.dataset.progressValue&&c.dataset.progressMax&&(u=c.dataset.progressValue,d=c.dataset.progressMax),l&&(setTimeout(function(){l.checked=!1,l.removeAttribute("checked")},"500"),r.value=u,r.max=d),t()},!1),o.addEventListener("click",function(){r.setAttribute("max",1),r.setAttribute("value",0),n(a[0]),a.length=0},!1),e.addEventListener("change",function(e){var i=e.target,o=i.dataset.nextLevel;a.push(i.name),n(o),t()},!1),t(),-1!==window.location.search.indexOf("debug=true")){var s=function(){for(var e=0;e<c.length;e++){var t=p.join(", ");c[e].textContent=t}};console.log("Debug mode is enabled.");var l=document.querySelector(".c-decision-tree"),c=l.querySelectorAll(".debug .path");l.classList.add("has-debug-enabled");var u=l.querySelector("[data-back-button]"),d=l.querySelector("[data-reset-button]"),p=new Array;u.addEventListener("click",function(){p.pop(),s()},!1),d.addEventListener("click",function(){p.length=0,s()},!1),l.addEventListener("change",function(e){var t=e.target;p.push(t.name),s()},!1)}}var f,h=document.getElementById("c-decision-tree__save"),m=document.getElementById("c-decision-tree--exemption"),v="",g="",y=!1,b=!0,w={recordCode:"",categoryCode:""};if("undefined"!=typeof dataLayer){if(function(){for(var e=0;e<dataLayer.length;e++){var t=dataLayer[e];t.hasOwnProperty("recordCode")&&(v=t.recordCode),t.hasOwnProperty("userType")&&(g=t.userType),t.hasOwnProperty("embeddedEvaluation")&&(y=t.embeddedEvaluation)}""!==v&&(w.recordCode=v)}(),y&&h)for(var x=h.querySelectorAll(".c-button[data-cpd-record-link]"),k=0;k<x.length;k++)x[k].remove()}else b=!1;if(g&&"Member"!==g&&h&&(h.remove(),b=!1),h&&b){h.addEventListener("click",function(e){e.preventDefault();var t=e.target,n=t.closest(".c-decision-tree__save-option"),i=n.querySelector(".is-api-success"),o=n.querySelector(".is-api-fail"),r=n.querySelector('[name="cpdCategory"]').value;r&&(w.categoryCode=r);var a,s=JSON.stringify(w),l=(a=document.cookie.split("; ").find(function(e){return e.startsWith("cpdSession=")}))?a.split("=")[1]:null;fetch(f,{method:"POST",headers:an({"Content-Type":"application/json"},l&&{Authorization:"Bearer "+l}),body:s}).then(function(e){if(e.ok)return e.json();throw new Error("Error: "+e.status)}).then(function(e){setTimeout(function(){i.classList.remove("is-section-collapsed");for(var e=0;e<S;e++)S[e].classList.remove("c-button--disabled"),S[e].removeAttribute("disabled");t.classList.add("c-button--disabled"),t.setAttribute("disabled","disabled")},500)}).catch(function(e){console.log("Error:",e),function(){var e=document.querySelectorAll('#c-decision-tree__save .is-section-collapsable:not(.is-section-collapsed)[class*="is-api"]');if(e)for(var t=0;t<e.length;t++)e[t].classList.add("is-section-collapsed")}(),setTimeout(function(){o.classList.remove("is-section-collapsed")},750)})},!1);var S=document.querySelectorAll(".c-decision-tree__save-button"),C=window.location.hostname,_=window.location.port;f="dev.icaew.com"===C||"devcdn.icaew.com"===C?"https://dev.icaew.com/services/api/cpd/updateRecord":"uat.icaew.com"===C?"https://uat.icaew.com/services/api/cpd/updateRecord":"local.icaew.com"===C?"https://local.icaew.com/services/api/cpd/updateRecord":"localhost"===C?"//"+C+":"+_+"/api/record/savecategory":"devmy.icaew.com"===C?"https://devmy.icaew.com/cpdrecord/api/record/savecategory":"uatmy.icaew.com"===C?"https://uatmy.icaew.com/cpdrecord/api/record/savecategory":"my.icaew.com"===C?"https://my.icaew.com/cpdrecord/api/record/savecategory":"https://www.icaew.com/services/api/cpd/updateRecord";var T=window.location.search,E=new URLSearchParams(T);E.has("debug")&&"true"===E.get("debug")&&document.querySelectorAll(".c-decision-tree__save-option").forEach(function(e){var t=e.querySelector('input[name="cpdCategory"]');if(t){var n=t.value,i=e.querySelector(".c-decision-tree__save-button");i&&(i.textContent+=" (".concat(n,")"))}})}if(m){var A=window.location.hostname,O=A.split(".")[0];if(["my","uatmy","devmy"].includes(O)){var $="https://".concat(A,"/cpdrecord/Evaluate"),L=document.querySelector("#endCPDx0 .button--primary");L&&(L.href=$)}
2}}),t()(document).ready(function(){t()(".c-feature-carousel__slider").each(function(){var e=t()(this);e.slick({nextArrow:e.next().find(".next-arrow"),prevArrow:e.next().find(".prev-arrow")})})}),t()(document).ready(function(){if(document.getElementsByClassName("c-filter").length&&!document.querySelector(".c-filter").classList.contains("c-filter--dynamic")){var e=function(){var e=t()(".c-filter .c-filter__filters .active").text();t()(".c-filter__active-filter").text(e)};if(e(),t()(".c-filter__filters .c-filter__filters-item").on("click",function(n){t()(".c-filter .active").removeClass("active"),t()(this).addClass("active"),e(),t()(".c-filter__trigger").hasClass("c-filter__trigger--opened")&&(t()(".c-filter__trigger").removeClass("c-filter__trigger--opened").addClass("c-filter__trigger--closed"),t()(".c-filter__filters").slideToggle())}),t()(".c-filter__trigger").on("click",function(){t()(this).hasClass("c-filter__trigger--closed")?t()(this).removeClass("c-filter__trigger--closed").addClass("c-filter__trigger--opened"):t()(this).removeClass("c-filter__trigger--opened").addClass("c-filter__trigger--closed"),t()(".c-filter__filters").slideToggle()}),document.getElementsByClassName("c-filter").length){var n=document.querySelector('[data-component="filter"]'),i=document.querySelectorAll("[data-filter-items] [data-filter-list], [data-filter-items] .has-filter");n.addEventListener("click",function(){var e="fadeOut",t="c-filter-item--hidden";if(event.target.hasAttribute("data-filter-value")){var n=event.srcElement.getAttribute("data-filter-value").replace(/\s+/g,"");if(n)for(var o=0;o<i.length;o++){var r=i[o];r.getAttribute("data-filter-list").split(" ").indexOf(n)>-1?(r.classList.remove("animated"),r.classList.remove(e),r.classList.remove(t),r.classList.add("animated"),r.classList.add("fadeIn")):(r.classList.add("animated"),r.classList.add(e),r.classList.add(t))}else for(o=0;o<i.length;o++)i[o].classList.remove("animated"),i[o].classList.remove(e),i[o].classList.remove(t)}},!1)}}}),t()(document).ready(function(){if(document.getElementsByClassName("c-filter").length&&document.getElementsByClassName("c-filter--dynamic").length){var e=function(e){i.addClass("c-filter--loading");var o=d;void 0!==e&&(o="/services/api/filtered-content/query?id="+e+"&datefieldname="+r,window.location.href.indexOf("?static")>=0?o="production/data/fe-global/c-filter-{"+e+"}.json":window.location.href.indexOf("?dev")>=0&&(o="https://dev.icaew.com/services/api/filtered-content/query?id="+e+"&datefieldname="+r)),t().ajax({type:"GET",url:o,data:{get_param:"value"},dataType:"json",timeout:1e4,success:function(e){var i=e.pages;t()(function(){var o=[];t()(i).map(function(e,t){var n,i="True"===l&&""!==t.contentType,a="True"===s&&""!==t.author,d=""!==t.date&&"no%20date"!==r;n=i&&a&&d?'<ul class="c-content-event__meta"><li class="'+t.contentTypeIcon+'">'+t.contentType+'</li><li class="author">'+t.author+'</li><li class="date">'+t.date+"</li></ul>":i&&a?'<ul class="c-content-event__meta"><li class="'+t.contentTypeIcon+'">'+t.contentType+'</li><li class="author">'+t.author+"</li></ul>":i&&d?'<ul class="c-content-event__meta"><li class="'+t.contentTypeIcon+'">'+t.contentType+'</li><li class="date">'+t.date+"</li></ul>":i?'<ul class="c-content-event__meta"><li class="'+t.contentTypeIcon+'">'+t.contentType+"</li></ul>":a&&d?'<ul class="c-content-event__meta"><li class="author">'+t.author+'</li><li class="date">'+t.date+"</li></ul>":a?'<ul class="c-content-event__meta"><li class="author">'+t.author+"</li></ul>":d?'<ul class="c-content-event__meta"><li class="date">'+t.date+"</li></ul>":"";var p="";if(""!==t.shortSummary){var f=t.shortSummary.substring(0,200);p='<p class="c-content-meta__content">'+f+"</p>",f.length>=200&&(p='<p class="c-content-meta__content">'+(f+="&#8230;")+"</p>")}var h="";""!==t.contentItemID&&(h='data-content-item-id="'+t.contentItemID+'"');var m="";"True"===c&&""!==t.listingImage&&(m='<div class="c-content-meta__image-wrap"><img src="'+t.listingImage+'?cx=0.5&cy=0.5&cw=600&ch=340" alt="'+t.shortTitle+'" /></div>');var v="";"True"===u&&(v='<span class="c-content-meta__running-heading">'+t.runningHeader+"</span>");var g='\n                              <div class="c-content-meta animated fadeIn" style="animation-delay:calc('.concat(e,'0ms / 2);" ').concat(h,">\n                                ").concat(m,'\n                                <div class="c-content-meta__status-wrap">\n                                    <div class="c-content-meta__status">\n                                        ').concat(v,'\n                                        <a href="').concat(t.url,'">
2\n                                            <span class="c-content-meta__heading">').concat(t.shortTitle,"</span>\n                                        </a>\n                                        ").concat(n,"\n                                        ").concat(p,"\n                                    </div>\n                                </div>\n                              </div>\n                            ");o.push(g)}),t()("div[data-filter-items] > div").prepend(o);var a=e.totalErrors;if(a>0){var d=e.errors[0].Code,p=e.errors[0].Message;n("Errors: "+a+". Error code: "+d+". Error message:"+p+".")}}),t()(".c-filter--dynamic").removeClass("c-filter--loading")},error:function(e,t,i){n("Error: "+t+". API Call: "+d+".")}})},n=function(e){t()(".c-filter--dynamic").addClass("c-filter--error"),t()("div[data-filter-items]").append('\n                <div class="c-panel-alert c-panel-alert--critical" data-component-title="c-panel-alert">\n                    <div class="c-panel-alert__header">\n                        <h5 class="c-panel-alert__heading has-icon">Sorry</h5>\n                    </div>\n                    <p>Something has gone wrong.</p>\n                </div>\n            ')},i=t()(".c-filter--dynamic"),o=i.attr("data-ds-id"),r=encodeURI(i.attr("data-display-datefield")),a=encodeURI(i.attr("data-display-sortorder")),s=i.attr("data-display-show-author"),l=i.attr("data-display-show-contenttype"),c=i.attr("data-display-show-image"),u=i.attr("data-display-show-runningheader"),d="/services/api/filtered-content/all?datasourceid={"+o+"}&datefieldname="+r+"&sortorder="+a;window.location.href.indexOf("?static")>=0?d="production/data/fe-global/c-filter-{"+o+"}.json":window.location.href.indexOf("?dev")>=0&&(d="https://dev.icaew.com/services/api/filtered-content/all?datasourceid={"+o+"}&datefieldname="+r+"&sortOrder="+a),i.addClass("c-filter--loading").find("div[data-filter-items]").append('<p class="c-filter__loading">Loading</p>'),t()(".c-filter__filters").on("click",".c-filter__filters-item",function(n){n.preventDefault();var i=t()(this).attr("data-filter-value");t()("div[data-filter-items] > div div").remove(),t()(".c-filter__filters .active").removeClass("active"),t()(this).addClass("active"),e(i)}),t()(".c-filter__trigger").on("click",function(){t()(this).hasClass("c-filter__trigger--closed")?t()(this).removeClass("c-filter__trigger--closed").addClass("c-filter__trigger--opened"):t()(this).removeClass("c-filter__trigger--opened").addClass("c-filter__trigger--closed"),t()(".c-filter__filters").slideToggle()}),t().ajax({type:"GET",url:d,data:{get_param:"value"},dataType:"json",timeout:1e4,success:function(n){var i=n.labels;t()(function(){var e=[];t()(i).map(function(t,n){var i='\n                              <button class="c-filter__filters-item animated fadeIn" style="animation-delay:calc('.concat(t,'0ms / 2);" data-filter-value="').concat(n.id,'">\n                                ').concat(n.name,"\n                              </button>\n                            ");e.push(i)}),t()(".c-filter__filters").prepend('\n                              <button class="c-filter__filters-item active animated fadeIn" style="animation-delay:0ms;">\n                                All\n                              </button>\n                            ').append(e)}),t()(".c-filter--dynamic").removeClass("c-filter--loading"),e()},error:function(e,t,i){n("Error: "+t+". API Call: "+d+".")}}),t()(".ajax-filter-demo  input[type=checkbox][name=option2]").change(function(){t()('input[value="author"]').is(":checked")?(i.attr("data-display-show-author","True"),s=i.attr("data-display-show-author")):(i.attr("data-display-show-author","False"),s=i.attr("data-display-show-author")),t()('input[value="contentType"]').is(":checked")?(i.attr("data-display-show-contenttype","True"),l=i.attr("data-display-show-contenttype")):(i.attr("data-display-show-contenttype","False"),l=i.attr("data-display-show-contenttype")),t()('input[value="image"]').is(":checked")?(i.attr("data-display-show-image","True"),c=i.attr("data-display-show-image")):(i.attr("data-display-show-image","False"),c=i.attr("data-display-show-image")),t()('input[value="runningHeader"]').is(":checked")?(i.attr("data-display-show-runningheader","True"),u=i.attr("data-display-show-runningheader")):(i.attr("data-display-show-runningheader","False"),u=i.attr("data-display-show-runningheader")),t()('input[value="date"]').is(":checked")?(i.attr("data-display-datefield","published"),r=encodeURI(i.attr("data-display-datefield"))):(i.attr("data-display-datefield","no date"),r=encodeURI(i.attr("data-display-datefield"))),t()('input[value="sortOrder"]').is(":checked")?(i.attr("data-display-sortorder","published"),a=encodeURI(i.attr("data-display-sortorder"))):(i.attr("data-display-sortorder","published descending"),a=encodeURI(i.attr("data-display-sortorder"))),t()("div[data-filter-items] > div div").remove(),t()(".c-filter__filters .active").removeClass("active"),t()(".c-filter__filters button").first().addClass("active"),e()})}}),t()(document).ready(function(){if(document.getElementById("find-form")){var e=document.getElementById("find-location"),t=document.getElementById("find-form"),n=null;t.addEventListener("change",function(){if("searchType"==event.target.name){var t=event.target.value;t!==n&&("member"==t?(e.setAttribute("disabled","disabled"),e.value=""):"firm"==t&&e.removeAttribute("disabled"),n=t)}},!1),e.setAttribute("disabled","disabled")}}),t()(document).ready(function(){document.getElementsByClassName("c-image-inline").length&&document.getElementsByClassName("pull-into-hero").length&&null==document.querySelector(".sl-main-ribbon")&&t()(window).on("load resize",function(){if(Foundation.MediaQuery.atLeast("large")){var e=t()(".c-image-inline.pull-into-hero"),n=t()(".c-hero-wrapper"),i=.33*t()(".c-image-inline").height(),o=i+64;t()(".grid-container.fluid").css("overflow","visible"),e.css("margin-top",-o).css("transition","all 1.125s!important"),n.css("padding-bottom",i)}})}),t()(document).ready(function(){document.getElementsByClassName("pull-into-hero").length&&null==document.querySelector(".sl-main-ribbon")&&t()(window).on("load resize",function(){if(Foundation.MediaQuery.atLeast("large")){var e=t()(".pull-into-hero"),n=t()(".c-hero-wrapper"),i=.33*t()(".pull-into-hero").height(),o=i+64;t()(".grid-container.fluid").css("overflow","visible"),e.css("margin-top",-o).css("transition","all 0.125s"),n.css("padding-bottom",i)}})}),t()(document).ready(function(){var e=document.querySelectorAll(".c-image-inline[data-zoomable]");if(e.length){for(var n=document.createDocumentFragment(),i=0;i<e.length;i++){e[i].classList.add("is-zoomable");var o=document.createElement("section");o.setAttribute("class","reveal"),o.setAttribute("data-reveal",""),o.setAttribute("data-close",""),o.setAttribute("data-animation-in","fade-in"),o.setAttribute("data-additional-overlay-classes","reveal-overlay--dark reveal-overlay--full-size reveal-overlay--zoomable-image");var r=e[i].getElementsByTagName("img")[0].cloneNode(!0);r.setAttribute("data-close","");var a="zoomable"+(i+1);o.setAttribute("id",a),o.appendChild(r),n.appendChild(o),e[i].setAttribute("data-open",a)}document.body.appendChild(n),t()(document).foundation()}}),t()(document).ready(function(){t()("[data-open][href]").on("click",function(e){e.preventDefault()}),t()(document).foundation(),t()(".reveal[data-auto-open]").each(function(){t()(this).foundation("open")})}),t()(document).ready(function(){t()(document).foundation();var e=document.querySelector(".c-navigation-contents"),n=document.querySelectorAll(".c-navigation-contents-sub"),i=document.querySelector("body.edit-mode"),o="default",r=Foundation.MediaQuery.current;if(e&&!i){var a=function(e,t){if("#"!==e){var n=document.querySelector(e),i=80;t&&(i=140,"medium"==r&&(i=80),"small"==r&&(i=60)),n&&window.scrollTo({top:n.getBoundingClientRect().top+window.scrollY-i,behavior:"smooth"})}};(e.closest(".c-card-az-listing")||e.closest(".c-content-definition-listing"))&&(o="listing","small"!==r&&"medium"!==r?t()(".sticky").attr("data-margin-top","5"):t()(".sticky").attr("data-margin-top","2"),Foundation.reInit(t()("[data-sticky]")));var s=e,l=n,c=t()(s).find("ul"),u=t()(l).find("ul"),d=320,p=280;"listing"==o&&(d=0,p=0);var f=48,h=48;"small"==r&&(f=d,h=48),"medium"==r&&(f=p,h=48),"mlarge"==r&&(f=64,h=64),"xlarge"==r&&(f=72,h=64),"xxlarge"==r&&(f=72,h=64),document.getElementById("u-header");var m=document.querySelectorAll('div[data-sublayout-title="sl-col--l-3-9-m-3-9-s-12__cell-left"] .c-navigation-contents');if(m)for(var v=0;v<m.length;v++)m[v].classList.add("c-navigation-contents--simple");
2if(t()(window).on("changed.zf.mediaquery",function(e,n,i){"small"==n?(f=d,h=48):"medium"==n?(f=p,h=48):"large"==n?(f=48,h=48):"mlarge"==n?(f=64,h=64):("xlarge"==n||"xxlarge"==n)&&(f=72,h=64),t()(c).attr("data-offset",f),t()(document).foundation()}),t()(c).attr("data-magellan","").attr("data-active-class","is-active").attr("data-events","scroll").attr("data-offset",f).attr("data-smooth-scroll",""),u)for(var g=0;g<u.length;g++)t()(u[g]).attr("data-offset",h).attr("data-smooth-scroll","");if(window.addEventListener("hashchange",function(){a(window.location.hash,!1)}),window.addEventListener("load",function(){window.location.hash&&setTimeout(function(){a(window.location.hash,!0)},0)}),document.querySelectorAll('a[href^="#"]:not(#u-header a)').forEach(function(e){e.addEventListener("click",function(e){e.preventDefault();var t=this.getAttribute("href");window.history.pushState(null,null,t),a(t,!1)})}),"default"==o){var y=function(e){$.foundation("up",L)};t()(s).closest(".cell").find(".sticky").length?t()(s).addClass("show-for-large").closest(".cell").find(".sticky").prepend('<span class="contentsPositionLarge"></span>'):t()(s).addClass("show-for-large").closest(".cell").prepend('<span class="contentsPositionLarge"></span>'),t()(".c-content-intro").length?t()('<span class="contentsPositionSmall"></span>').insertAfter(".c-content-intro"):t()('<span class="contentsPositionSmall"></span>').prependTo('div[data-sublayout-title="sl-col--l-3-6-3-m-0-8-4-s-12__cell-center');var b=s.cloneNode(!0);b.classList.remove("show-for-large"),b.classList.add("hide-for-large");var w=document.querySelector("main");w.setAttribute("id","mainElement");var x=Kt("div",{class:"sticky enable-on-small hide-for-large c-navigation-contents--small c-content-accordion","data-sticky":"","data-sticky-on":"small","data-top-anchor":"mainElement:top","data-btm-anchor":"mainElement:bottom","data-margin-top":"0"}),k=Kt("ul",{class:"accordion","data-accordion":"","data-allow-all-closed":"true",id:"c-navigation-contents__accordion"}),S=Kt("li",{class:"c-content-accordion-item accordion-item","data-accordion-item":""}),C=Kt("a",{href:"#",class:"accordion-title"},"Contents"),_=Kt("div",{class:"accordion-content","data-tab-content":""}),T=Kt("div",{class:"c-back-to-top"}),E=Kt("a",{href:"#mainElement",title:"Back to top","data-smooth-scroll":""},"Back to top");T.appendChild(E),_.appendChild(b),_.appendChild(T),S.appendChild(C),S.appendChild(_),k.appendChild(S),new MutationObserver(function(e){var t,n=function(e){var t="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!t){if(Array.isArray(e)||(t=function(e,t){if(e){if("string"==typeof e)return ln(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ln(e,t):void 0}}(e))){t&&(e=t);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},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,r=!0,a=!1;return{s:function(){t=t.call(e)},n:function(){var e=t.next();return r=e.done,e},e:function(e){a=!0,o=e},f:function(){try{r||null==t.return||t.return()}finally{if(a)throw o}}}}(e);try{for(n.s();!(t=n.n()).done;){var i=t.value;"attributes"===i.type&&"class"===i.attributeName&&(s.classList.contains("is-stuck")||y())}}catch(e){n.e(e)}finally{n.f()}}).observe(x,{attributes:!0,attributeFilter:["class"]}),x.appendChild(k);var A=w.firstChild;w.insertBefore(x,A);var O=b.cloneNode(!0);O.classList.add("grid-container"),w.parentNode.insertBefore(O,w),t()(document).foundation();var $=t()("#c-navigation-contents__accordion"),L=t()("#c-navigation-contents__accordion .accordion-content");L.on("click",y)}}}),t()(document).ready(cn),t()(document).ready(function(){function e(e){if(!e.target.classList.contains("disabled"))if(e.target.attributes["data-nav-pagination-value"]){e.preventDefault();var i=this.getAttribute("data-nav-pagination-last"),o=this.getAttribute("data-nav-pagination-rows"),a=this.getAttribute("data-nav-pagination-results"),s=this.querySelector(".c-navigation-pagination__control"),l=this.querySelector(".c-navigation-pagination__content"),c=this.querySelectorAll(".c-navigation-pagination__meta [data-nav-pagination-showing]"),u=l.dataset.paginationSource,d=e.target.attributes["data-nav-pagination-value"].nodeValue;if(d){if(this.setAttribute("data-nav-pagination-current",d),n(d,i,s),c)for(var p=r(d,o,a),f=0;f<c.length;f++)c[f].textContent=p;
2var h=u+"&pageNumber="+d+"&numberOfItemsToDisplay="+o;t().get(h,function(e){t()(l).html(e);var n=l.getBoundingClientRect().top+window.pageYOffset+-128;window.scrollTo({top:n,behavior:"smooth"}),cn()})}}else if(e.target.attributes["data-nav-pagination-update-rows"]){e.preventDefault();var m=this.getAttribute("data-nav-pagination-results"),v=e.target.attributes["data-nav-pagination-update-rows"].nodeValue,g=m/v,y=this.querySelector(".c-navigation-pagination__control"),b=this.querySelector(".c-navigation-pagination__content"),w=this.querySelectorAll(".c-navigation-pagination__meta [data-nav-pagination-showing]"),x=b.dataset.paginationSource,k=this.querySelectorAll(".c-navigation-pagination__result-options [data-nav-pagination-update-rows]");"all"==v&&(g=1,v=m);var S=g=Math.ceil(g),C=v;if(this.setAttribute("data-nav-pagination-last",g),this.setAttribute("data-nav-pagination-rows",C),this.setAttribute("data-nav-pagination-current",1),n(1,S,y),w)for(var _=r(1,v,m),T=0;T<w.length;T++)w[T].textContent=_;if(k)for(var E=0;E<k.length;E++){k[E].classList.remove("current");var A=k[E].getAttribute("data-nav-pagination-update-rows");(A==v||"all"==A&&1==v)&&k[E].classList.add("current")}var O=x+"&pageNumber=1&numberOfItemsToDisplay="+C;t().get(O,function(e){t()(b).html(e);var n=b.getBoundingClientRect().top+window.pageYOffset+-128;window.scrollTo({top:n,behavior:"smooth"})})}}function n(e,t,n){e=parseInt(e,10),t=parseInt(t,10);var r=n.querySelector(".page.previous"),a=n.querySelector(".page.next"),s=n.querySelector(".page-wrap"),l=r.parentNode,c=a.parentNode,u=s.parentNode,d=function(e){var t=e,n="a";t--,1==e&&(n="span");var i=document.createElement(n),o=document.createElement("span");if(i.classList.add("page","previous"),1==e)i.classList.add("disabled");else{var r="#page-"+t,a="Page "+t;i.href=r,i.ariaLabel=a,i.setAttribute("data-nav-pagination-value",t),o.classList.add("show-for-sr"),o.textContent="Previous",i.appendChild(o)}return i}(e),p=function(e,t){var n=e,i="a";n++,e==t&&(i="span");var o=document.createElement(i);if(o.classList.add("page","next"),e==t)o.classList.add("disabled");else{var r=document.createElement("span"),a="#page-"+n,s="Page "+n;o.href=a,o.ariaLabel=s,o.setAttribute("data-nav-pagination-value",n),r.classList.add("show-for-sr"),r.textContent="Next",o.appendChild(r)}return o}(e,t),f=function(e,t){var n=document.createElement("div");if(n.classList.add("page-wrap"),t<=7)for(var r=1;r<=t;r++){var a=o(e,r);n.appendChild(a)}else{var s=i(),l=i();if(e<=4){for(var c=1;c<=5;c++){var u=o(e,c);n.appendChild(u)}n.appendChild(s);var d=o(e,t);n.appendChild(d)}else if(t-e<=3){var p=o(e,1);n.appendChild(p),n.appendChild(s);for(var f=4;f>=0;f--){var h=o(e,t-f);n.appendChild(h)}}else{var m=o(e,1),v=e,g=e;v--,g++,n.appendChild(m),n.appendChild(s);var y=o(e,v);n.appendChild(y);var b=o(e,e);n.appendChild(b);var w=o(e,g);n.appendChild(w),n.appendChild(l);var x=o(e,t);n.appendChild(x)}}return n}(e,t);r=l.replaceChild(d,r),a=c.replaceChild(p,a),s=u.replaceChild(f,s)}function i(){var e=document.createElement("span");return e.classList.add("page","ellipsis"),e}function o(e,t){var n=document.createElement("a");return n.classList.add("page"),n.textContent=t,t==e?n.classList.add("current"):(n.href="#page-"+t,n.setAttribute("aria-label","Page "+t),n.setAttribute("data-nav-pagination-value",t)),n}function r(e,t,n){var i=e*t,o=i-t+1;return i>n&&(i=n),o+"-"+i}!function(){if(document.getElementsByClassName("c-navigation-pagination").length)for(var t=document.querySelectorAll(".c-navigation-pagination"),n=0;n<t.length;++n)t[n].addEventListener("click",e,null)}()}),t()(document).ready(function(){document.getElementsByClassName("c-tabs").length&&document.querySelector("body").classList.contains("edit-mode")&&t()(".c-tabs .tabs-panel").css("display","block").css("margin-bottom","2rem"),t().fn.RegisterTabBar=function(e){var n=t()(this);return n.prop("tagName")&&"ul"==n.prop("tagName").toLowerCase()&&null!=e&&(n.attr("data-style-id",e),t()("<style type='text/css'></style>").attr("id",e).appendTo(t()("body")),n.find("li").on("click",function(){var e=t()(this),i=n.find(".active").removeClass("active").index(),o=e.addClass("active").index();!function e(n,i,o){var r=n.attr("data-style-id");if(null!=r)if(n.width()<=0)setTimeout(function(){e(n,i,o)},100);else{var a;a=i.is(":first-child")?"0rem":(i.is(":last-child"),"small"===Foundation.MediaQuery.current?"0.5rem":"1.5rem"),t()("style#"+r).text(".c-tabs ul[data-style-id='"+r+"']:before { left
2: calc("+i.position().left+"px + "+a+"); right: calc("+(n.width()-i.position().left-i.outerWidth())+"px - "+a+"); -webkit-transition: left "+(o?".15s":".35s")+", right "+(o?".15s":".35s")+"; transition: left "+(o?".15s":".35s")+", right "+(o?".15s":".35s")+"; } ")}}(n,e,o<i)})),n},t()(".c-tabs ul.c-tabs__options").each(function(e,n){t()(this).RegisterTabBar("slider"+e),setTimeout(function(){t()(".c-tabs ul.c-tabs__options[data-style-id='slider"+e+"']").find("li.active").length>0?t()(".c-tabs ul.c-tabs__options[data-style-id='slider"+e+"']").find("li.active").click():t()(".c-tabs ul.c-tabs__options[data-style-id='slider"+e+"']").find("li:first-child").click()},200),t()(window).on("changed.zf.mediaquery",function(n,i,o){t()(this).RegisterTabBar("slider"+e),setTimeout(function(){t()(".c-tabs ul.c-tabs__options[data-style-id='slider"+e+"']").find("li.active").length>0?t()(".c-tabs ul.c-tabs__options[data-style-id='slider"+e+"']").find("li.active").click():(t()(".c-tabs ul.c-tabs__options[data-style-id='slider"+e+"']").find("li:first-child").click(),alert("First child"))},200)})})}),t()(document).ready(function(){var e=function(){document.body.addEventListener("click",t,!1)};function t(){if("password-toggle"==event.target.className){var e=event.target.parentElement.querySelector("input");"password"==e.getAttribute("type")?e.setAttribute("type","text"):e.setAttribute("type","password")}}"complete"===document.readyState||"loading"!==document.readyState&&!document.documentElement.doScroll?e():document.addEventListener("DOMContentLoaded",e),function(){var e=document.querySelectorAll(".e-data-input-feedback");if(e){var t=new MutationObserver(function(e,t){e.forEach(function(e){if("class"===e.attributeName){var t=e.target;t.classList.contains("field-validation-error")?e.target.closest(".e-data-input-wrap").classList.add("error"):t.classList.contains("field-validation-valid")&&function(e){e.closest(".e-data-input-wrap").classList.remove("error")}(e.target)}})});if(e)for(var n=0;n<e.length;n++)t.observe(e[n],{attributes:!0})}}();var n=document.querySelectorAll("[data-email-validate]");if(n.length)for(var i=function(e){var t=e.target,n=t.checkValidity(),i=t.parentElement,o=i.parentElement,r=i.querySelector(".e-data-input-feedback")||"",a=o.querySelector(".e-data-label-meta")||"";if(a.classList.add("hide"),!r){var s=document.createElement("span");s.classList.add("e-data-input-feedback"),i.appendChild(s),r=s}if(n){var l=!0;"[email protected]"==t.value&&(l=!1),l?(i.classList.remove("error"),i.classList.add("success"),r.textContent="This email is good"):(i.classList.remove("success"),i.classList.add("error"),r.textContent="Email already exists",a.classList.remove("hide"))}else i.classList.add("error"),i.classList.remove("success"),r.textContent="This email is not valid"},o=0;o<n.length;o++)n[o].addEventListener("input",i,!1);var r=document.querySelectorAll("[data-password-complexity-check-id]");if(r.length)for(var a=function(){var e=r[s],t=document.getElementById(e.dataset.passwordComplexityCheckId),n=t.parentElement,i=n.querySelector(".e-data-input-feedback")||"",o=e.querySelectorAll("[data-complexity-rule]");if(!i){var a=document.createElement("span");a.classList.add("e-data-input-feedback"),n.appendChild(a),i=a}e.classList.remove("hide"),t.addEventListener("focus",function(){e.classList.remove("is-section-collapsed")},!1),t.addEventListener("blur",function(){e.classList.add("is-section-collapsed")},!1),t.addEventListener("input",function(e){for(var t=e.target.value,r=!0,a=0;a<o.length;a++){var s=o[a],l=s.dataset.complexityRule,c={chars8:new RegExp(".{8,}"),uppercase:new RegExp("[A-Z]"),lowercase:new RegExp("[a-z]"),number:new RegExp("[0-9]"),special:new RegExp("[^A-Za-z0-9]")}[l];c&&(c.test(t)?s.classList.add("is-pass"):(s.classList.remove("is-pass"),r=!1))}r?(n.classList.remove("error"),n.classList.add("success"),i.textContent="Password is valid"):(n.classList.remove("success"),n.classList.add("error"),i.textContent="Password is not valid")},!1)},s=0;s<r.length;s++)a()}),t()(document).ready(function(){document.querySelector("[data-progress-wrap]")&&document.body.addEventListener("change",function(e){var t=e.target,n=e.target.dataset.progressValue,i=e.target.dataset.progressMax;if(n&&i){var o=t.closest("[data-progress-wrap]").getElementsByTagName("progress")[0];o.setAttribute("max",i),o.setAttribute("value",n)}},!1)}),n(577),document.addEventListener("DOMContentLoaded",function(){var e=document.querySelectorAll("[data-has-colour-facets]");if(e.length){var t=Kt("div",{class:"u-colour-facet__display"},null),n=Kt("span",{class:"u-colour-facet"},null),i=Kt("span",{class:"u-colour-facet"},null),o=Kt("span",{class:"u-colour-facet"},null),r=Kt("span",{class:"u-colour-facet"},null);t.appendChild(n),t.appendChild(i),t.appendChild(o),t.appendChild(r),e.forEach(function(e){var n=t.cloneNode(!0);e.classList.add("has-u-colour-facets"),e.insertBefore(n,e.firstChild)})}}),n(817),n(360),n(768),t()(document).ready(function(){var e=["RestrictedCannotAccess"],n=document.querySelector("body").getAttribute("data-restricted");t()(window).on("load resize",function(){document.querySelector("body");var i=t()("main"),o=t()(".pull-into-hero");if(e.indexOf(n)>=0)if(o.length){var r=o.height();i.css("max-height",r+500)}else i.css("max-height","500px")}),document.getElementsByClassName("pull-into-hero").length&&t()(window).on("load resize",function(){var i=t()(".pull-into-hero"),o=t()(".c-hero-wrapper");e.indexOf(n)>=0&&(i.css("margin-top","0"),o.css("padding-bottom","0"))})}),window.jQuery=t(),t()(document).ready(function(){t()(document).foundation()})}()}();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.