1function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}((e,t)=>{"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.ScrollMagic=t()})(this,function(){function I(){}I.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var L="data-scrollmagic-pin-spacer",T=(I.Controller=function(e){function t(){var e,t;D&&h&&(e=N.type.Array(h)?h:p.slice(0),h=!1,t=f,(m=0!=(t=(f=c.scrollPos())-t)?0<t?"FORWARD":a:m)===a&&e.reverse(),e.forEach(function(e,t){e.update(!0)}))}function n(){o=N.rAF(t)}function i(e){"resize"==e.type&&(v=b(),m=l),!0!==h&&(h=!0,n())}var o,r,s,a="REVERSE",l="PAUSED",u=T.defaults,c=this,d=N.extend({},u,e),p=[],h=!1,f=0,m=l,g=!0,v=0,D=!0,y=function(){0<d.refreshInterval&&(r=window.setTimeout(k,d.refreshInterval))},w=function(){return d.vertical?N.get.scrollTop(d.container):N.get.scrollLeft(d.container)},b=function(){return d.vertical?N.get.height(d.container):N.get.width(d.container)},C=this._setScrollPos=function(e){d.vertical?g?window.scrollTo(N.get.scrollLeft(),e):d.container.scrollTop=e:g?window.scrollTo(e,N.get.scrollTop()):d.container.scrollLeft=e},k=function(){if(!g&&v!=b()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}d.container.dispatchEvent(t)}p.forEach(function(e,t){e.refresh()}),y()};function x(e){return e.length<=1||(e=e.slice(0)).sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),e}for(s in this._options=d,this.addScene=function(e){if(N.type.Array(e))e.forEach(function(e,t){c.addScene(e)});else if(e instanceof I.Scene)if(e.controller()!==c)e.addTo(c);else if(!~p.indexOf(e))for(var t in p.push(e),p=x(p),e.on("shift.controller_sort",function(){p=x(p)}),d.globalSceneOptions)e[t]&&e[t].call(e,d.globalSceneOptions[t]);return c},this.removeScene=function(e){var t;return N.type.Array(e)?e.forEach(function(e,t){c.removeScene(e)}):-1<(t=p.indexOf(e))&&(e.off("shift.controller_sort"),p.splice(t,1),e.remove()),c},this.updateScene=function(e,i){return N.type.Array(e)?e.forEach(function(e,t){c.updateScene(e,i)}):i?e.update(!0):!0!==h&&e instanceof I.Scene&&(~(h=h||[]).indexOf(e)||h.push(e),h=x(h),n()),c},this.update=function(e){return i({type:"resize"}),e&&t(),c},this.scrollTo=function(e,t){if(N.type.Number(e))C.call(d.container,e,t);else if(e instanceof I.Scene)e.controller()===c&&c.scrollTo(e.scrollOffset(),t);else if(N.type.Function(e))C=e;else{var i=N.get.elements(e)[0];if(i){for(;i.parentNode.hasAttribute(L);)i=i.parentNode;var e=d.vertical?"top":"left",n=N.get.offset(d.container),o=N.get.offset(i);g||(n[e]-=c.scrollPos()),c.scrollTo(o[e]-n[e],t)}}return c},this.scrollPos=function(e){return arguments.length?(N.type.Function(e)&&(w=e),c):w.call(c)},this.info=function(e){var t={size:v,vertical:d.vertical,scrollPos:f,scrollDirection:m,container:d.container,isDocument:g};return arguments.length?void 0!==t[e]?t[e]:void 0:t},this.loglevel=function(e){return c},this.enabled=function(e){return arguments.length?(D!=e&&(D=!!e,c.updateScene(p,!0)),c):D},this.destroy=function(e){window.clearTimeout(r);for(var t=p.length;t--;)p[t].destroy(e);return d.container.removeEventListener("resize",i),d.container.removeEventListener("scroll",i),N.cAF(o),null},d)u.hasOwnProperty(s)||delete d[s];if(d.container=N.get.elements(d.container)[0],!d.container)throw"ScrollMagic.Controller init failed.";(g=d.container===window||d.container===document.body||!document.body.contains(d.container))&&(d.container=window),v=b(),d.container.addEventListener("resize",i),d.container.addEventListener("scroll",i);e=parseInt(d.refreshInterval,10);return d.refreshInterval=N.type.Number(e)?e:u.refreshInterval,y(),c},{defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}}),$=(I.Controller.addOption=function(e,t){T.defaults[e]=t},I.Controller.extend=function(e){var t=this;I.Controller=function(){return t.apply(this,arguments),this.$super=N.extend({},this),e.apply(this,arguments)||this}
vendor: 4,993 bytes, line 1
1,N.extend(I.Controller,t),I.Controller.prototype=t.prototype,I.Controller.prototype.constructor=I.Controller},{defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),N.type.Number(e))return e;throw 0},triggerElement:function(e){if(e=e||void 0){var t=N.get.elements(e)[0];if(!t||!t.parentNode)throw 0;e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(N.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw 0;e=t[e]}return e},reverse:function(e){return!!e}},shifts:["duration","offset","triggerHook"]}),N=((I.Scene=function(e){var i,a,s="BEFORE",l="DURING",u="AFTER",n=$.defaults,c=this,d=N.extend({},n,e),p=s,h=0,o={start:0,end:0},f=0,r=!0,m={};this.on=function(e,i){return N.type.Function(i)&&(e=e.trim().split(" ")).forEach(function(e){var e=e.split("."),t=e[0],e=e[1];"*"!=t&&(m[t]||(m[t]=[]),m[t].push({namespace:e||"",callback:i}))}),c},this.off=function(e,r){return e&&(e=e.trim().split(" ")).forEach(function(e,t){var e=e.split("."),i=e[0],o=e[1]||"";("*"===i?Object.keys(m):[i]).forEach(function(e){for(var t=m[e]||[],i=t.length;i--;){var n=t[i];!n||o!==n.namespace&&"*"!==o||r&&r!=n.callback||t.splice(i,1)}t.length||delete m[e]})}),c},this.trigger=function(e,i){var n,o;return e&&(e=e.trim().split("."),n=e[0],o=e[1],e=m[n])&&e.forEach(function(e,t){o&&o!==e.namespace||e.callback.call(c,new I.Event(n,e.namespace,c,i))}),c},c.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?y():"reverse"===e.what&&c.update())}).on("shift.internal",function(e){t(),c.update()}),this.addTo=function(e){return e instanceof I.Controller&&a!=e&&(a&&a.removeScene(c),a=e,C(),D(!0),y(!0),t(),a.info("container").addEventListener("resize",w),e.addScene(c),c.trigger("add",{controller:a}),c.update()),c},this.enabled=function(e){return arguments.length?(r!=e&&(r=!!e,c.update(!0)),c):r},this.remove=function(){var e;return a&&(a.info("container").removeEventListener("resize",w),e=a,a=void 0,e.removeScene(c),c.trigger("remove")),c},this.destroy=function(e){return c.trigger("destroy",{reset:e}),c.remove(),c.off("*.*"),null},this.update=function(e){var t;return a&&(e?a.enabled()&&r?(e=a.info("scrollPos"),t=0<d.duration?(e-o.start)/(o.end-o.start):e>=o.start?1:0,c.trigger("update",{startPos:o.start,endPos:o.end,scrollPos:e}),c.progress(t)):g&&p===l&&S(!0):a.updateScene(c,!1)),c},this.refresh=function(){return D(),y(),c},this.progress=function(e){var t,i,n,o,r;return arguments.length?(i=!1,n=p,o=a?a.info("scrollDirection"):"PAUSED",r=d.reverse||h<=e,0===d.duration?(i=h!=e,p=0==(h=e<1&&r?0:1)?s:l):e<0&&p!==s&&r?(p=s,i=!(h=0)):0<=e&&e<1&&r?(h=e,p=l,i=!0):1<=e&&p!==u?(h=1,p=u,i=!0):p!==l||r||S(),i&&(t={progress:h,state:p,scrollDirection:o},e=function(e){c.trigger(e,t)},(r=p!=n)&&n!==l&&(e("enter"),e(n===s?"start":"end")),e("progress"),r)&&p!==l&&(e(p===s?"start":"end"),e("leave")),c):h};var g,v,t=function(){o={start:f+d.offset},a&&d.triggerElement&&(o.start-=a.info("size")*d.triggerHook),o.end=o.start+d.duration},D=function(e){var t;i&&k(t="duration",i.call(c))&&!e&&(c.trigger("change",{what:t,newval:d[t]}),c.trigger("shift",{reason:t}))},y=function(e){var t=0,i=d.triggerElement;if(a&&(i||0<f)){if(i)if(i.parentNode){for(var n=a.info(),o=N.get.offset(n.container),r=n.vertical?"top":"left";i.parentNode.hasAttribute(L);)i=i.parentNode;var s=N.get.offset(i);n.isDocument||(o[r]-=a.scrollPos()),t=s[r]-o[r]}else c.triggerElement(void 0);n=t!=f;f=t,n&&!e&&c.trigger("shift",{reason:"triggerElementPosition"})}},w=function(e){0<d.triggerHook&&c.trigger("shift",{reason:"containerResize"})},b=N.extend($.validate,{duration:function(e){var t;if(N.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)&&(t=parseFloat(e)/100,e=function(){return a?a.info("size")*t:0}),N.type.Function(e)){i=e;try{e=parseFloat(i.call(c))}catch(t){e=-1}}if(e=parseFloat(e),!N.type.Number(e)||e<0)throw i=i&&void 0,0;return e}}),C=function(e){(e=arguments.length?[e]:Object.keys(b)).forEach(function(e,t){var i;if(b[e])try{i=b[e](d[e])}catch(t){i=n[e]}finally{d[e]=i}})},k=function(e,t){var i=!1,n=d[e];return d[e]!=t&&(d[e]=t,C(e),i=n!=d[e]),i};function x(){a&&g&&p===l&&!a.info("isDocument")&&S()}function T(){a&&g&&p===l&&((v.relSize.width||v.relSize.autoFullWidth)&&N.get.width(window)!=N.get.width(v.spacer.parentNode)||v.relSize.height&&N.get.height(window)!=N.get.height(v.spacer.parentNode))&&F()}function E(e){a&&g&&p===l&&!a.info("isDocument")&&(e.preventDefault(),a._setScrollPos(a.info("scrollPos")-((e.wheelDelta||e[a.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))}this.controller=function(){return a},this.state=function(){return p},this.scrollOffset=function(){return o.start},this.triggerPosition=function(){var e=d.offset;return a&&(d.triggerElement?e+=f:e+=a.info("size")*c.triggerHook()),e},c.on("shift.internal",function(e){e="duration"===e.reason;(p===u&&e||p===l&&0===d.duration)&&S(),e&&F()}
1).on("progress.internal",function(e){S()}).on("add.internal",function(e){F()}).on("destroy.internal",function(e){c.removePin(e.reset)});var S=function(e){var t,i,n;g&&a&&(t=a.info(),i=v.spacer.firstChild,e||p!==l?(e={position:v.inFlow?"relative":"absolute",top:0,left:0},n=N.css(i,"position")!=e.position,v.pushFollowers?0<d.duration&&(p===u&&0===parseFloat(N.css(v.spacer,"padding-top"))||p===s&&0===parseFloat(N.css(v.spacer,"padding-bottom")))&&(n=!0):e[t.vertical?"top":"left"]=d.duration*h,N.css(i,e),n&&F()):("fixed"!=N.css(i,"position")&&(N.css(i,{position:"fixed"}),F()),e=N.get.offset(v.spacer,!0),n=d.reverse||0===d.duration?t.scrollPos-o.start:Math.round(h*d.duration*10)/10,e[t.vertical?"top":"left"]+=n,N.css(v.spacer.firstChild,{top:e.top,left:e.left})))},F=function(){var e,t,i,n,o;g&&a&&v.inFlow&&(e=p===l,t=a.info("vertical"),i=v.spacer.firstChild,n=N.isMarginCollapseType(N.css(v.spacer,"display")),o={},v.relSize.width||v.relSize.autoFullWidth?e?N.css(g,{width:N.get.width(v.spacer)}):N.css(g,{width:"100%"}):(o["min-width"]=N.get.width(t?g:i,!0,!0),o.width=e?o["min-width"]:"auto"),v.relSize.height?e?N.css(g,{height:N.get.height(v.spacer)-(v.pushFollowers?d.duration:0)}):N.css(g,{height:"100%"}):(o["min-height"]=N.get.height(t?i:g,!0,!n),o.height=e?o["min-height"]:"auto"),v.pushFollowers&&(o["padding"+(t?"Top":"Left")]=d.duration*h,o["padding"+(t?"Bottom":"Right")]=d.duration*(1-h)),N.css(v.spacer,o))};this.setPin=function(e,t){if(t=N.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},t),(e=N.get.elements(e)[0])&&"fixed"!==N.css(e,"position")){if(g){if(g===e)return c;c.removePin()}var e=(g=e).parentNode.style.display,i=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"],n=(g.parentNode.style.display="none","absolute"!=N.css(g,"position")),o=N.css(g,i.concat(["display"])),r=N.css(g,["width","height"]);g.parentNode.style.display=e,!n&&t.pushFollowers&&(t.pushFollowers=!1);var s,e=g.parentNode.insertBefore(document.createElement("div"),g),a=N.extend(o,{position:n?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});n||N.extend(a,N.css(g,["width","height"])),N.css(e,a),e.setAttribute(L,""),N.addClass(e,t.spacerClass),v={spacer:e,relSize:{width:"%"===r.width.slice(-1),height:"%"===r.height.slice(-1),autoFullWidth:"auto"===r.width&&n&&N.isMarginCollapseType(o.display)},pushFollowers:t.pushFollowers,inFlow:n},g.___origStyle||(g.___origStyle={},s=g.style,i.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){g.___origStyle[e]=s[e]||""})),v.relSize.width&&N.css(e,{width:r.width}),v.relSize.height&&N.css(e,{height:r.height}),e.appendChild(g),N.css(g,{position:n?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(v.relSize.width||v.relSize.autoFullWidth)&&N.css(g,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",x),window.addEventListener("resize",x),window.addEventListener("resize",T),g.addEventListener("mousewheel",E),g.addEventListener("DOMMouseScroll",E),S()}return c},this.removePin=function(e){var t,i;return g&&(p===l&&S(!0),!e&&a||((e=v.spacer.firstChild).hasAttribute(L)&&(t=v.spacer.style,i={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(e){i[e]=t[e]||""}),N.css(e,i)),v.spacer.parentNode.insertBefore(e,v.spacer),v.spacer.parentNode.removeChild(v.spacer),g.parentNode.hasAttribute(L))||(N.css(g,g.___origStyle),delete g.___origStyle),window.removeEventListener("scroll",x),window.removeEventListener("resize",x),window.removeEventListener("resize",T),g.removeEventListener("mousewheel",E),g.removeEventListener("DOMMouseScroll",E),g=void 0),c};var _,A,M,O=[];for(A in c.on("destroy.internal",function(e){c.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){e=N.get.elements(e);return 0!==e.length&&N.type.String(t)&&(0<O.length&&c.removeClassToggle(),_=t,O=e,c.on("enter.internal_class leave.internal_class",function(e){var i="enter"===e.type?N.addClass:N.removeClass;O.forEach(function(e,t){i(e,_)})})),c},this.removeClassToggle=function(e){return e&&O.forEach(function(e,t){N.removeClass(e,_)}),c.off("start.internal_class end.internal_class"),_=void 0,O=[],c},d)n.hasOwnProperty(A)||delete d[A];for(M in n)(t=>{c[t]||(c[t]=function(e){return arguments.length?("duration"===t&&(i=void 0),k(t,e)&&(c.trigger("change",{what:t,newval:d[t]}),~$.shifts.indexOf(t))&&c.trigger("shift",{reason:t}),c):d[t]})})(M);return C(),c}).addOption=function(e,t,i,n){e in $.defaults||($.defaults[e]=t,$.validate[e]=i,n&&$.shifts.push(e))},I.Scene.extend=function(e){var t=this;I.Scene=function(){return t.apply(this,arguments),this.$super=N.extend({},this),e.apply(this,arguments)||this},N.extend(I.Scene,t),I.Scene.prototype=t.prototype,I.Scene.prototype.constructor=I.Scene},I.Event=function(e,t,i,n){for(var o in n=n||{})this[o]=n[o];return this.type=e,this.target=this.currentTarget=i,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this},I._util=(r=>{function s(e){return parseFloat(e)||0}function a(e){return e.currentStyle||r.getComputedStyle(e)}function n(e,t,i,n){if((t=t===document?r:t)===r)n=!1;else if(!d.DomElement(t))return 0;e=e[0].toUpperCase()+e.substr(1).toLowerCase();var o=(i?t["offset"+e]||t["outer"+e]:t["client"+e]||t["inner"+e])||0;return i&&n&&(i=a(t),o+="Height"===e?s(i.marginTop)+s(i.marginBottom):s(i.marginLeft)+s(i.marginRight)),o}function l(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})}for(var e={extend:function(e){for(e=e||{},c=1;c<arguments.length;c++)if(arguments[c])for(var t in arguments[c])arguments[c].hasOwnProperty(t)&&(e[t]=arguments[c][t]);return e},isMarginCollapseType:function(e){return!!~["block","flex","list-item","table","-webkit-box"].indexOf(e)}}
1,o=0,t=["ms","moz","webkit","o"],i=r.requestAnimationFrame,u=r.cancelAnimationFrame,c=0;!i&&c<4;++c)i=r[t[c]+"RequestAnimationFrame"],u=r[t[c]+"CancelAnimationFrame"]||r[t[c]+"CancelRequestAnimationFrame"];u=u||function(e){r.clearTimeout(e)},e.rAF=(i=i||function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-o)),n=r.setTimeout(function(){e(t+i)},i);return o=t+i,n}).bind(r),e.cAF=u.bind(r);var d=e.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()},p=(d.String=function(e){return"string"===d(e)},d.Function=function(e){return"function"===d(e)},d.Array=function(e){return Array.isArray(e)},d.Number=function(e){return!d.Array(e)&&0<=e-parseFloat(e)+1},d.DomElement=function(e){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?e instanceof HTMLElement||e instanceof SVGElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName},e.get={});return p.elements=function(e){var t=[];if(d.String(e))try{e=document.querySelectorAll(e)}catch(e){return t}if("nodelist"===d(e)||d.Array(e)||e instanceof NodeList)for(var i=0,n=t.length=e.length;i<n;i++){var o=e[i];t[i]=d.DomElement(o)?o:p.elements(o)}else!d.DomElement(e)&&e!==document&&e!==r||(t=[e]);return t},p.scrollTop=function(e){return e&&"number"==typeof e.scrollTop?e.scrollTop:r.pageYOffset||0},p.scrollLeft=function(e){return e&&"number"==typeof e.scrollLeft?e.scrollLeft:r.pageXOffset||0},p.width=function(e,t,i){return n("width",e,t,i)},p.height=function(e,t,i){return n("height",e,t,i)},p.offset=function(e,t){var i={top:0,left:0};return e&&e.getBoundingClientRect&&(e=e.getBoundingClientRect(),i.top=e.top,i.left=e.left,t||(i.top+=p.scrollTop(),i.left+=p.scrollLeft())),i},e.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},e.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},e.css=function(e,t){if(d.String(t))return a(e)[l(t)];var i,n,o;if(d.Array(t))return i={},n=a(e),t.forEach(function(e,t){i[e]=n[l(e)]}),i;for(o in t){var r=t[o];r==parseFloat(r)&&(r+="px"),e.style[l(o)]=r}},e})(window||{}));return I}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e=e||self).window=e.window||{})})(this,function(e){var F=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uD
1FC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function R(e){return i.getComputedStyle(e)}function z(e,t){var i;return o(e)?e:"string"==(i=typeof e)&&!t&&e?r.call(Y.querySelectorAll(e),0):e&&"object"==i&&"length"in e?r.call(e,0):e?[e]:[]}function j(e){return"absolute"===e.position||!0===e.absolute}function _(e,t){for(var i,n=t.length;-1<--n;)if(i=t[n],e.substr(0,i.length)===i)return i.length}function l(e,t){var i=~(e=void 0===e?"":e).indexOf("++"),n=1;return i&&(e=e.split("++").join("")),function(){return"<"+t+" style='position:relative;display:inline-block;'"+(e?" class='"+e+(i?n++:"")+"'>":">")}}function W(e,t,i){var n=e.nodeType;if(1===n||9===n||11===n)for(e=e.firstChild;e;e=e.nextSibling)W(e,t,i);else 3!==n&&4!==n||(e.nodeValue=e.nodeValue.split(t).join(i))}function V(e,t){for(var i=t.length;-1<--i;)e.push(t[i])}function q(e,t,i){for(var n;e&&e!==t;){if(n=e._next||e.nextSibling)return n.textContent.charAt(0)===i;e=e.parentNode||e._parent}}function U(e,t){return parseFloat(t[e])||0}function u(e,t,i,n,o,r,s){var a,l,u,c,d,p,h,f,m,g,v,D,y=R(e),w=U("paddingLeft",y),b=-999,C=U("borderBottomWidth",y)+U("borderTopWidth",y),k=U("borderLeftWidth",y)+U("borderRightWidth",y),N=U("paddingTop",y)+U("paddingBottom",y),P=U("paddingLeft",y)+U("paddingRight",y),B=U("fontSize",y)*(t.lineThreshold||.2),H=y.textAlign,x=[],T=[],E=[],S=t.wordDelimiter||" ",F=t.tag||(t.span?"span":"div"),y=t.type||t.split||"chars,words,lines",_=o&&~y.indexOf("lines")?[]:null,A=~y.indexOf("words"),M=~y.indexOf("chars"),O=j(t),I=t.linesClass,L=~(I||"").indexOf("++"),$=[];for(L&&(I=I.split("++").join("")),u=(l=e.getElementsByTagName("*")).length,d=[],a=0;a<u;a++)d[a]=l[a];if(_||O)for(a=0;a<u;a++)((p=(c=d[a]).parentNode===e)||O||M&&!A)&&(D=c.offsetTop,_&&p&&Math.abs(D-b)>B&&("BR"!==c.nodeName||0===a)&&(_.push(h=[]),b=D),O&&(c._x=c.offsetLeft,c._y=D,c._w=c.offsetWidth,c._h=c.offsetHeight),_)&&((c._isSplit&&p||!M&&p||A&&p||!A&&c.parentNode.parentNode===e&&!c.parentNode._isSplit)&&(h.push(c),c._x-=w,q(c,e,S))&&
vendor: 3,874 bytes, line 1
1(c._wordEnd=!0),"BR"===c.nodeName)&&(c.nextSibling&&"BR"===c.nextSibling.nodeName||0===a)&&_.push([]);for(a=0;a<u;a++)p=(c=d[a]).parentNode===e,"BR"!==c.nodeName?(O&&(m=c.style,A||p||(c._x+=c.parentNode._x,c._y+=c.parentNode._y),m.left=c._x+"px",m.top=c._y+"px",m.position="absolute",m.display="block",m.width=c._w+1+"px",m.height=c._h+"px"),!A&&M?c._isSplit?(c._next=c.nextSibling,c.parentNode.appendChild(c)):c.parentNode._isSplit?(c._parent=c.parentNode,!c.previousSibling&&c.firstChild&&(c.firstChild._isFirst=!0),c.nextSibling&&" "===c.nextSibling.textContent&&!c.nextSibling.nextSibling&&$.push(c.nextSibling),c._next=c.nextSibling&&c.nextSibling._isFirst?null:c.nextSibling,c.parentNode.removeChild(c),d.splice(a--,1),u--):p||(D=!c.nextSibling&&q(c.parentNode,e,S),c.parentNode._parent&&c.parentNode._parent.appendChild(c),D&&c.parentNode.appendChild(Y.createTextNode(" ")),"span"===F&&(c.style.display="inline"),x.push(c)):c.parentNode._isSplit&&!c._isSplit&&""!==c.innerHTML?T.push(c):M&&!c._isSplit&&("span"===F&&(c.style.display="inline"),x.push(c))):_||O?(c.parentNode&&c.parentNode.removeChild(c),d.splice(a--,1),u--):A||e.appendChild(c);for(a=$.length;-1<--a;)$[a].parentNode.removeChild($[a]);if(_){for(O&&(g=Y.createElement(F),e.appendChild(g),v=g.offsetWidth+"px",D=g.offsetParent===e?0:e.offsetLeft,e.removeChild(g)),m=e.style.cssText,e.style.cssText="display:none;";e.firstChild;)e.removeChild(e.firstChild);for(f=" "===S&&(!O||!A&&!M),a=0;a<_.length;a++){for(h=_[a],(g=Y.createElement(F)).style.cssText="display:block;text-align:"+H+";position:"+(O?"absolute;":"relative;"),I&&(g.className=I+(L?a+1:"")),E.push(g),u=h.length,l=0;l<u;l++)"BR"!==h[l].nodeName&&(c=h[l],g.appendChild(c),f&&c._wordEnd&&g.appendChild(Y.createTextNode(" ")),O)&&(0===l&&(g.style.top=c._y+"px",g.style.left=w+D+"px"),c.style.top="0px",D)&&(c.style.left=c._x-D+"px");0===u?g.innerHTML=" ":A||M||(function e(t){for(var i,n=z(t.childNodes),o=n.length,r=0;r<o;r++)(i=n[r])._isSplit?e(i):(r&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=(3===i.nodeType?i:i.firstChild).nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))}(g),W(g,String.fromCharCode(160)," ")),O&&(g.style.width=v,g.style.height=c._h+"px"),e.appendChild(g)}e.style.cssText=m}O&&(s>e.clientHeight&&(e.style.height=s-N+"px",e.clientHeight<s)&&(e.style.height=s+C+"px"),e.clientWidth<r)&&(e.style.width=r-P+"px",e.clientWidth<r)&&(e.style.width=r+k+"px"),V(i,x),A&&V(n,T),V(o,E)}function A(e,t,i,n){var o,r,s=z(e.childNodes),a=s.length,l=j(t);if(3!==e.nodeType||1<a){for(t.absolute=!1,o=0;o<a;o++)3===(r=s[o]).nodeType&&!/\S+/.test(r.nodeValue)||(l&&3!==r.nodeType&&"inline"===R(r).display&&(r.style.display="inline-block",r.style.position="relative"),r._isSplit=!0,A(r,t,i,n));return t.absolute=l,e._isSplit=!0}var u,c,d,p,h,f,m,g=t,v=i,D=n,y=g.tag||(g.span?"span":"div"),w=~(g.type||g.split||"chars,words,lines").indexOf("chars"),b=j(g),C=g.wordDelimiter||" ",k=" "!==C?"":b?"­ ":" ",x="</"+y+">",T=1,E=g.specialChars?"function"==typeof g.specialChars?g.specialChars:_:null,b=Y.createElement("div"),S=e.parentNode;for(S.insertBefore(b,e),b.textContent=e.nodeValue,S.removeChild(e),b=-1!==(u=function e(t){var i=t.nodeType,n="";if(1===i||9===i||11===i){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)n+=e(t)}else if(3===i||4===i)return t.nodeValue;return n}(e=b)).indexOf("<"),!1!==g.reduceWhiteSpace&&(u=u.replace(O," ").replace(M,"")),h=(u=b?u.split("<").join("{{LT}}"):u).length,c=(" "===u.charAt(0)?k:"")+v(),d=0;d<h;d++)if(f=u.charAt(d),E&&(m=E(u.substr(d),g.specialChars)))f=u.substr(d,m||1),c+=w&&" "!==f?D()+f+"</"+y+">":f,d+=m-1;else if(f===C&&u.charAt(d-1)!==C&&d){for(c+=T?x:"",T=0;u.charAt(d+1)===C;)c+=k,d++;d===h-1?c+=k:")"!==u.charAt(d+1)&&(c+=k+v(),T=1)}else"{"===f&&"{{LT}}"===u.substr(d,6)?(c+=w?D()+"{{LT}}
1</"+y+">":"{{LT}}",d+=5):55296<=f.charCodeAt(0)&&f.charCodeAt(0)<=56319||65024<=u.charCodeAt(d+1)&&u.charCodeAt(d+1)<=65039?(p=((u.substr(d,12).split(F)||[])[1]||"").length||2,c+=w&&" "!==f?D()+u.substr(d,p)+"</"+y+">":u.substr(d,p),d+=p-1):c+=w&&" "!==f?D()+f+"</"+y+">":f;e.outerHTML=c+(T?x:""),b&&W(S,"{{LT}}","<")}var Y,i,n,M=/(?:\r|\n|\t\t)/g,O=/(?:\s\s+)/g,o=Array.isArray,r=[].slice,t=((t=s.prototype).split=function(e){this.isSplit&&this.revert(),this.vars=e=e||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var t,i,n,o=this.elements.length,r=e.tag||(e.span?"span":"div"),s=l(e.wordsClass,r),a=l(e.charsClass,r);-1<--o;)n=this.elements[o],this._originals[o]=n.innerHTML,t=n.clientHeight,i=n.clientWidth,A(n,e,s,a),u(n,e,this.chars,this.words,this.lines,i,t);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},t.revert=function(){var i=this._originals;if(i)return this.elements.forEach(function(e,t){return e.innerHTML=i[t]}),this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this;throw"revert() call wasn't scoped properly."},s.create=function(e,t){return new s(e,t)},s);function s(e,t){n||(Y=document,i=window,n=1),this.elements=z(e),this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=t||{},this.split(t)}t.version="3.5.1",e.SplitText=t,e.default=t,"undefined"==typeof window||window!==e?Object.defineProperty(e,"__esModule",{value:!0}):delete e.default}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.anime=t()})(this,function(){var a={update:null,begin:null,loopBegin:null,changeBegin:null,change:null,changeComplete:null,loopComplete:null,complete:null,loop:1,direction:"normal",autoplay:!0,timelineOffset:0},w={duration:1e3,delay:0,endDelay:0,easing:"easeOutElastic(1, .5)",round:0},P=["translateX","translateY","translateZ","rotate","rotateX","rotateY","rotateZ","scale","scaleX","scaleY","scaleZ","skew","skewX","skewY","perspective","matrix","matrix3d"],d={CSS:{},springs:{}};function x(e,t,i){return Math.min(Math.max(e,t),i)}function u(e,t){return-1<e.indexOf(t)}function r(e,t){return e.apply(null,t)}var C={arr:function(e){return Array.isArray(e)},obj:function(e){return u(Object.prototype.toString.call(e),"Object")},pth:function(e){return C.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},inp:function(e){return e instanceof HTMLInputElement},dom:function(e){return e.nodeType||C.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},nil:function(e){return C.und(e)||null===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return C.hex(e)||C.rgb(e)||C.hsl(e)},key:function(e){return!a.hasOwnProperty(e)&&!w.hasOwnProperty(e)&&"targets"!==e&&"keyframes"!==e}};function p(e){e=/\(([^)]+)\)/.exec(e);return e?e[1].split(",").map(function(e){return parseFloat(e)}):[]}function s(n,i){var e=p(n),t=x(C.und(e[0])?1:e[0],.1,100),o=x(C.und(e[1])?100:e[1],.1,100),r=x(C.und(e[2])?10:e[2],.1,100),e=x(C.und(e[3])?0:e[3],.1,100),s=Math.sqrt(o/t),a=r/(2*Math.sqrt(o*t)),l=a<1?s*Math.sqrt(1-a*a):0,u=a<1?(a*s-e)/l:-e+s;function c(e){var t=i?i*e/1e3:e,t=a<1?Math.exp(-t*a*s)*(+Math.cos(l*t)+u*Math.sin(l*t)):(1+u*t)*Math.exp(-t*s);return 0===e||1===e?e:1-t}return i?c:function(){var e=d.springs[n];if(e)return e;for(var t=0,i=0;;)if(1===c(t+=1/6)){if(16<=++i)break}else i=0;e=t*(1/6)*1e3;return d.springs[n]=e}}function B(t){return void 0===t&&(t=10),function(e){return Math.ceil(x(e,1e-6,1)*t)*(1/t)}}var t,i,H=function(y,t,w,i){if(0<=y&&y<=1&&0<=w&&w<=1){var b=new Float32Array(11);if(y!==t||w!==i)for(var e=0;e<11;++e)b[e]=k(.1*e,y,w);return function(e){return y===t&&w===i||0===e||1===e?e:k((e=>{for(var t=0,i=1;10!==i&&b[i]<=e;++i)t+=.1;var n=t+(e-b[--i])/(b[i+1]-b[i])*.1,o=T(n,y,w);if(.001<=o){for(var r=e,s=n,a=y,l=w,u=0;u<4;++u){var c=T(s,a,l);if(0===c)return s;s-=(k(s,a,l)-r)/c}return s}if(0===o)return n;for(var d,p,h=e,f=t,m=t+.1,g=y,v=w,D=0;0<(d=k(p=f+(m-f)/2,g,v)-h)?m=p:f=p,1e-7<Math.abs(d)&&++D<10;);return p})(e),t,i)}}},l=(t={linear:function(){return function(e){return e}}},i={Sine:function(){return function(e){return 1-Math.cos(e*Math.PI/2)}},Circ:function(){return function(e){return 1-Math.sqrt(1-e*e)}},Back:function(){return function(e){return e*e*(3*e-2)}},Bounce:function(){return function(e){for(var t,i=4;e<((t=Math.pow(2,--i))-1)/11;);return 1/Math.pow(4,3-i)-7.5625*Math.pow((3*t-2)/22-e,2)}},Elastic:function(e,t){void 0===t&&(t=.5);var i=x(e=void 0===e?1:e,1,10),n=x(t,.1,2);return function(e){return 0===e||1===e?e:-i*Math.pow(2,10*(e-1))*Math.sin((e-1-n/(2*Math.PI)*Math.asin(1/i))*(2*Math.PI)/n)}}},["Quad","Cubic","Quart","Quint","Expo"].forEach(function(e,t){i[e]=function(){return function(e){return Math.pow(e,t+2)}}}
vendor: 4,177 bytes, line 1
1),Object.keys(i).forEach(function(e){var n=i[e];t["easeIn"+e]=n,t["easeOut"+e]=function(t,i){return function(e){return 1-n(t,i)(1-e)}},t["easeInOut"+e]=function(t,i){return function(e){return e<.5?n(t,i)(2*e)/2:1-n(t,i)(-2*e+2)/2}},t["easeOutIn"+e]=function(t,i){return function(e){return e<.5?(1-n(t,i)(1-2*e))/2:(n(t,i)(2*e-1)+1)/2}}}),t);function n(e,t){return 1-3*t+3*e}function k(e,t,i){return((n(t,i)*e+(3*i-6*t))*e+3*t)*e}function T(e,t,i){return 3*n(t,i)*e*e+2*(3*i-6*t)*e+3*t}function E(e,t){if(C.fnc(e))return e;var i=e.split("(")[0],n=l[i],o=p(e);switch(i){case"spring":return s(e,t);case"cubicBezier":return r(H,o);case"steps":return r(B,o);default:return r(n,o)}}function o(e){try{return document.querySelectorAll(e)}catch(e){}}function S(e,t){for(var i,n=e.length,o=2<=arguments.length?t:void 0,r=[],s=0;s<n;s++)s in e&&(i=e[s],t.call(o,i,s,e))&&r.push(i);return r}function c(e){return e.reduce(function(e,t){return e.concat(C.arr(t)?c(t):t)},[])}function h(e){return C.arr(e)?e:(e=C.str(e)?o(e)||e:e)instanceof NodeList||e instanceof HTMLCollection?[].slice.call(e):[e]}function f(e,t){return e.some(function(e){return e===t})}function m(e){var t,i={};for(t in e)i[t]=e[t];return i}function b(e,t){var i,n=m(e);for(i in e)n[i]=(t.hasOwnProperty(i)?t:e)[i];return n}function F(e,t){var i,n=m(e);for(i in t)n[i]=(C.und(e[i])?t:e)[i];return n}function _(e){e=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e);if(e)return e[1]}function g(e,t){return C.fnc(e)?e(t.target,t.id,t.total):e}function v(e,t){return e.getAttribute(t)}function D(e,t,i){var n,o,r;return f([i,"deg","rad","turn"],_(t))?t:(n=d.CSS[t+i],C.und(n)?(o=document.createElement(e.tagName),(e=e.parentNode&&e.parentNode!==document?e.parentNode:document.body).appendChild(o),o.style.position="absolute",o.style.width=100+i,r=100/o.offsetWidth,e.removeChild(o),e=r*parseFloat(t),d.CSS[t+i]=e):n)}function R(e,t,i){var n;if(t in e.style)return n=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),t=e.style[t]||getComputedStyle(e).getPropertyValue(n)||"0",i?D(e,t,i):t}function y(e,t){return C.dom(e)&&!C.inp(e)&&(!C.nil(v(e,t))||C.svg(e)&&e[t])?"attribute":C.dom(e)&&f(P,t)?"transform":C.dom(e)&&"transform"!==t&&R(e,t)?"css":null!=e[t]?"object":void 0}function z(e){if(C.dom(e)){for(var t,i=e.style.transform||"",n=/(\w+)\(([^)]*)\)/g,o=new Map;t=n.exec(i);)o.set(t[1],t[2]);return o}}function A(e,t,i,n){switch(y(e,t)){case"transform":return o=e,s=n,a=i,l=u(r=t,"scale")?1:0+(u(l=r,"translate")||"perspective"===l?"px":u(l,"rotate")||u(l,"skew")?"deg":void 0),l=z(o).get(r)||l,s&&(s.transforms.list.set(r,l),s.transforms.last=r),a?D(o,l,a):l;case"css":return R(e,t,i);case"attribute":return v(e,t);default:return e[t]||0}var o,r,s,a,l}function M(e,t){var i=/^(\*=|\+=|-=)/.exec(e);if(!i)return e;var n=_(e)||0,o=parseFloat(t),r=parseFloat(e.replace(i[0],""));switch(i[0][0]){case"+":return o+r+n;case"-":return o-r+n;case"*":return o*r+n}}function j(e,t){var i,n,o,r,s,a,l;return C.col(e)?(a=e,C.rgb(a)?(r=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(s=a))?"rgba("+r[1]+",1)":s:C.hex(a)?(r=a.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,i,n){return t+t+i+i+n+n}),s=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(r),"rgba("+parseInt(s[1],16)+","+parseInt(s[2],16)+","+parseInt(s[3],16)+",1)"):C.hsl(a)?(r=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(r=a)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(r),s=parseInt(r[1],10)/360,a=parseInt(r[2],10)/100,l=parseInt(r[3],10)/100,r=r[4]||1,0==a?i=n=o=l:(i=u(a=2*l-(l=l<.5?l*(1+a):l+a-l*a),l,s+1/3),n=u(a,l,s),o=u(a,l,s-1/3)),"rgba("+255*i+","+255*n+","+255*o+","+r+")"):void 0):/\s/g.test(e)?e:(l=(a=_(e))?e.substr(0,e.length-a.length):e,t?l+t:l);function u(e,t,i){return i<0&&(i+=1),1<i&&--i,i<1/6?e+6*(t-e)*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}}function O(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function W(e){for(var t,i=e.points,n=0,o=0;o<i.numberOfItems;o++){var r=i.getItem(o);0<o&&(n+=O(t,r)),t=r}return n}function V(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*v(e,"r");
1case"rect":return 2*v(t=e,"width")+2*v(t,"height");case"line":return O({x:v(t=e,"x1"),y:v(t,"y1")},{x:v(t,"x2"),y:v(t,"y2")});case"polyline":return W(e);case"polygon":return t=e.points,W(e)+O(t.getItem(t.numberOfItems-1),t.getItem(0))}var t}function q(t,e){var e=e||{},i=e.el||(()=>{for(var e=t.parentNode;C.svg(e)&&C.svg(e.parentNode);)e=e.parentNode;return e})(),n=i.getBoundingClientRect(),o=v(i,"viewBox"),r=n.width,n=n.height,e=e.viewBox||(o?o.split(" "):[0,0,r,n]);return{el:i,viewBox:e,x:+e[0],y:+e[1],w:r,h:n,vW:e[2],vH:e[3]}}function U(e,t){var i=/[+-]?\d*\.?\d+(?:\.\d+)?(?:[eE][+-]?\d+)?/g,n=j(C.pth(e)?e.totalLength:e,t)+"";return{original:n,numbers:n.match(i)?n.match(i).map(Number):[0],strings:C.str(e)||t?n.split(i):[]}}function I(e){return S(e?c(C.arr(e)?e.map(h):h(e)):[],function(e,t,i){return i.indexOf(e)===t})}function Y(e){var i=I(e);return i.map(function(e,t){return{target:e,id:t,total:i.length,transforms:{list:z(e)}}})}function G(e,t){var i,n=[],o=t.keyframes;for(i in t=o?F((t=>{for(var i=S(c(t.map(function(e){return Object.keys(e)})),function(e){return C.key(e)}).reduce(function(e,t){return e.indexOf(t)<0&&e.push(t),e},[]),o={},e=0;e<i.length;e++)(e=>{var n=i[e];o[n]=t.map(function(e){var t,i={};for(t in e)C.key(t)?t==n&&(i.value=e[t]):i[t]=e[t];return i})})(e);return o})(o),t):t)C.key(i)&&n.push({name:i,tweens:((e,i)=>{var t,n=m(i),o=(/^spring/.test(n.easing)&&(n.duration=s(n.easing)),C.arr(e)&&(2!==(t=e.length)||C.obj(e[0])?C.fnc(i.duration)||(n.duration=i.duration/t):e={value:e}),C.arr(e)?e:[e]);return o.map(function(e,t){e=C.obj(e)&&!C.pth(e)?e:{value:e};return C.und(e.delay)&&(e.delay=t?0:i.delay),C.und(e.endDelay)&&(e.endDelay=t===o.length-1?i.endDelay:0),e}).map(function(e){return F(e,n)})})(t[i],e)});return n}function X(a,l){var u;return a.tweens.map(function(e){var e=((e,t)=>{var i,n={};for(i in e){var o=g(e[i],t);C.arr(o)&&1===(o=o.map(function(e){return g(e,t)})).length&&(o=o[0]),n[i]=o}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n})(e,l),t=e.value,i=C.arr(t)?t[1]:t,n=_(i),o=A(l.target,a.name,n,l),r=u?u.to.original:o,s=C.arr(t)?t[0]:r,o=_(s)||_(o),n=n||o;return C.und(i)&&(i=r),e.from=U(s,n),e.to=U(M(i,s),n),e.start=u?u.end:0,e.end=e.start+e.delay+e.duration+e.endDelay,e.easing=E(e.easing,e.duration),e.isPath=C.pth(t),e.isPathTargetInsideSVG=e.isPath&&C.svg(l.target),e.isColor=C.col(e.from.original),e.isColor&&(e.round=1),u=e})}var K={css:function(e,t,i){return e.style[t]=i},attribute:function(e,t,i){return e.setAttribute(t,i)},object:function(e,t,i){return e[t]=i},transform:function(e,t,i,n,o){var r;n.list.set(t,i),t!==n.last&&!o||(r="",n.list.forEach(function(e,t){r+=t+"("+e+") "}),e.style.transform=r)}};function Z(e,s){Y(e).forEach(function(e){for(var t in s){var i=g(s[t],e),n=e.target,o=_(i),r=A(n,t,o,e),i=M(j(i,o||_(r)),r),o=y(n,t);K[o](n,t,i,e.transforms,!0)}})}function Q(e,t){return S(c(e.map(function(r){return t.map(function(e){var t,i,n=r,o=y(n.target,e.name);if(o)return i=(t=X(e,n))[t.length-1],{type:o,property:e.name,animatable:n,tweens:t,duration:i.end,delay:t[0].delay,endDelay:i.endDelay}})})),function(e){return!C.und(e)})}function J(e,t){function i(e){return e.timelineOffset||0}var n=e.length,o={};return o.duration=n?Math.max.apply(Math,e.map(function(e){return i(e)+e.duration})):t.duration,o.delay=n?Math.min.apply(Math,e.map(function(e){return i(e)+e.delay})):t.delay,o.endDelay=n?o.duration-Math.max.apply(Math,e.map(function(e){return i(e)+e.duration-e.endDelay})):t.endDelay,o}var L,ee=0,$=[],te=("undefined"!=typeof document&&document.addEventListener("visibilitychange",function(){N.suspendWhenDocumentHidden&&(e()?L=cancelAnimationFrame(L):($.forEach(function(e){return e._onDocumentVisibility()}),te()))}),function(){!(L||e()&&N.suspendWhenDocumentHidden)&&0<$.length&&(L=requestAnimationFrame(ie))});function ie(e){for(var t=$.length,i=0;i<t;){var n=$[i];n.paused?($.splice(i,1),t--):(n.tick(e),i++)}L=0<i?requestAnimationFrame(ie):void 0}function e(){return document&&document.hidden}function N(e){var l,u=0,c=0,d=0,p=0,h=null;function f(e){var t=window.Promise&&new Promise(function(e){return h=e});e.finished=t}t=b(a,e=e=void 0===e?{}:e),i=G(n=b(w,e),e),n=J(i=Q(e=Y(e.targets),i),n),o=ee,ee++;var t,i,n,o,k=F(t,{id:o,children:[],animatables:e,animations:i,duration:n.duration,delay:n.delay,endDelay:n.endDelay});function m(){var e=k.direction;"alternate"!==e&&(k.direction="normal"!==e?"normal":"reverse"),k.reversed=!k.reversed,l.forEach(function(e){return e.reversed=k.reversed})}function g(e){return k.reversed?k.duration-e:e}function r(){u=0,c=g(k.currentTime)*(1/N.speed)}function v(e,t){t&&t.seek(e-t.timelineOffset)}function D(t){for(var e=0,i=k.animations,n=i.length;e<n;){var o=i[e],r=o.animatable,s=o.tweens,a=s.length-1,l=s[a];a&&(l=S(s,function(e){return t<e.end})[0]||l);for(var a=x(t-l.start-l.delay,0,l.duration)/l.duration,u=isNaN(a)?1:l.easing(a),c=l.to.strings,d=l.round,p=[],h=l.to.numbers.length,f=void 0,m=0;m<h;m++){var g=void 0,v=l.to.numbers[m],D=l.from.numbers[m]||0,g=l.isPath?((t,i,e)=>{function n(e){return t.el.getPointAtLength(1<=i+(e=void 0===e?0:e)?i+e:0)}
vendor: 4,179 bytes, line 1
1var o=q(t.el,t.svg),r=n(),s=n(-1),a=n(1),l=e?1:o.w/o.vW,u=e?1:o.h/o.vH;switch(t.property){case"x":return(r.x-o.x)*l;case"y":return(r.y-o.y)*u;case"angle":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}})(l.value,u*v,l.isPathTargetInsideSVG):D+u*(v-D);!d||l.isColor&&2<m||(g=Math.round(g*d)/d),p.push(g)}var y=c.length;if(y)for(var f=c[0],w=0;w<y;w++){c[w];var b=c[w+1],C=p[w];isNaN(C)||(f+=b?C+b:C+" ")}else f=p[0];K[o.type](r.target,o.property,f,r.transforms),o.currentValue=f,e++}}function y(e){k[e]&&!k.passThrough&&k[e](k)}function s(e){var t=k.duration,i=k.delay,n=t-k.endDelay,o=g(e);if(k.progress=x(o/t*100,0,100),k.reversePlayback=o<k.currentTime,l){var r=o;if(k.reversePlayback)for(var s=p;s--;)v(r,l[s]);else for(var a=0;a<p;a++)v(r,l[a])}!k.began&&0<k.currentTime&&(k.began=!0,y("begin")),!k.loopBegan&&0<k.currentTime&&(k.loopBegan=!0,y("loopBegin")),o<=i&&0!==k.currentTime&&D(0),(n<=o&&k.currentTime!==t||!t)&&D(t),i<o&&o<n?(k.changeBegan||(k.changeBegan=!0,k.changeCompleted=!1,y("changeBegin")),y("change"),D(o)):k.changeBegan&&(k.changeCompleted=!0,k.changeBegan=!1,y("changeComplete")),k.currentTime=x(o,0,t),k.began&&y("update"),t<=e&&(c=0,k.remaining&&!0!==k.remaining&&k.remaining--,k.remaining?(u=d,y("loopComplete"),k.loopBegan=!1,"alternate"===k.direction&&m()):(k.paused=!0,k.completed||(k.completed=!0,y("loopComplete"),y("complete"),!k.passThrough&&"Promise"in window&&(h(),f(k)))))}return f(k),k.reset=function(){var e=k.direction;k.passThrough=!1,k.currentTime=0,k.progress=0,k.paused=!0,k.began=!1,k.loopBegan=!1,k.changeBegan=!1,k.completed=!1,k.changeCompleted=!1,k.reversePlayback=!1,k.reversed="reverse"===e,k.remaining=k.loop,l=k.children;for(var t=p=l.length;t--;)k.children[t].reset();(k.reversed&&!0!==k.loop||"alternate"===e&&1===k.loop)&&k.remaining++,D(k.reversed?k.duration:0)},k._onDocumentVisibility=r,k.set=function(e,t){return Z(e,t),k},k.tick=function(e){s(((d=e)+(c-(u=u||d)))*N.speed)},k.seek=function(e){s(g(e))},k.pause=function(){k.paused=!0,r()},k.play=function(){k.paused&&(k.completed&&k.reset(),k.paused=!1,$.push(k),r(),te())},k.reverse=function(){m(),k.completed=!k.reversed,r()},k.restart=function(){k.reset(),k.play()},k.remove=function(e){oe(I(e),k)},k.reset(),k.autoplay&&k.play(),k}function ne(e,t){for(var i=t.length;i--;)f(e,t[i].animatable.target)&&t.splice(i,1)}function oe(e,t){var i=t.animations,n=t.children;ne(e,i);for(var o=n.length;o--;){var r=n[o],s=r.animations;ne(e,s),s.length||r.children.length||n.splice(o,1)}i.length||n.length||t.pause()}return N.version="3.2.1",N.speed=1,N.suspendWhenDocumentHidden=!0,N.running=$,N.remove=function(e){for(var t=I(e),i=$.length;i--;)oe(t,$[i])},N.get=A,N.set=Z,N.convertPx=D,N.path=function(e,t){var i=C.str(e)?o(e)[0]:e,n=t||100;return function(e){return{property:e,el:i,svg:q(i),totalLength:V(i)*(n/100)}}},N.setDashoffset=function(e){var t=V(e);return e.setAttribute("stroke-dasharray",t),t},N.stagger=function(e,t){var a=(t=void 0===t?{}:t).direction||"normal",l=t.easing?E(t.easing):null,u=t.grid,c=t.axis,d=t.from||0,p="first"===d,h="center"===d,f="last"===d,m=C.arr(e),g=m?parseFloat(e[0]):parseFloat(e),v=m?parseFloat(e[1]):0,D=_(m?e[1]:e)||0,y=t.start||0+(m?g:0),w=[],b=0;return function(e,t,i){if(p&&(d=0),h&&(d=(i-1)/2),f&&(d=i-1),!w.length){for(var n,o,r,s=0;s<i;s++)u?(n=h?(u[0]-1)/2:d%u[0],o=h?(u[1]-1)/2:Math.floor(d/u[0]),n=n-s%u[0],o=o-Math.floor(s/u[0]),r=Math.sqrt(n*n+o*o),"x"===c&&(r=-n),w.push(r="y"===c?-o:r)):w.push(Math.abs(d-s)),b=Math.max.apply(Math,w);l&&(w=w.map(function(e){return l(e/b)*b})),"reverse"===a&&(w=w.map(function(e){return c?e<0?-1*e:-e:Math.abs(b-e)}))}return y+(m?(v-g)/b:g)*(Math.round(100*w[t])/100)+D}},N.timeline=function(s){var a=N(s=void 0===s?{}:s);return a.duration=0,a.add=function(e,t){var i=$.indexOf(a),n=a.children;function o(e){e.passThrough=!0}-1<i&&$.splice(i,1);for(var r=0;r<n.length;r++)o(n[r]);i=F(e,b(w,s)),i.targets=i.targets||s.targets,e=a.duration,i.autoplay=!1,i.direction=a.direction,i.timelineOffset=C.und(t)?e:M(t,e),o(a),a.seek(i.timelineOffset),t=N(i),o(t),n.push(t),e=J(n,s);return a.delay=e.delay,a.endDelay=e.endDelay,a.duration=e.duration,a.seek(0),a.reset(),a.autoplay&&a.play(),a},a}
1,N.easing=E,N.penner=l,N.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},N}),((e,r,o)=>{function i(e,t){this.el=e,this.$el=r(e),this.opts=r.extend(!0,{},l,t,this.$el.data()),n==o&&(n=r("body")),this.opts.startDate||(this.opts.startDate=new Date),"INPUT"==this.el.nodeName&&(this.elIsInput=!0),this.opts.altField&&(this.$altField="string"==typeof this.opts.altField?r(this.opts.altField):this.opts.altField),this.inited=!1,this.visible=!1,this.silent=!1,this.currentDate=this.opts.startDate,this.currentView=this.opts.view,this._createShortCuts(),this.selectedDates=[],this.views={},this.keys=[],this.minRange="",this.maxRange="",this._prevOnSelectValue="",this.init()}var n,t,s,a,l,u,p,c,h,d,f,m;l={classes:"",inline:a=!(s="datepicker"),language:"en",startDate:new Date,firstDay:"",weekends:[6,0],dateFormat:"",altField:"",altFieldDateFormat:"@",toggleSelected:!0,keyboardNav:!0,position:"bottom left",offset:12,view:"days",minView:"days",showOtherMonths:!0,selectOtherMonths:!0,moveToOtherMonthsOnSelect:!0,showOtherYears:!0,selectOtherYears:!0,moveToOtherYearsOnSelect:!0,minDate:"",maxDate:"",disableNavWhenOutOfRange:!0,multipleDates:!1,multipleDatesSeparator:",",range:!1,todayButton:!1,clearButton:!1,showEvent:"focus",autoClose:!1,monthsField:"monthsShort",prevHtml:'<svg><path d="M 17,12 l -5,5 l 5,5"></path></svg>',nextHtml:'<svg><path d="M 14,12 l 5,5 l -5,5"></path></svg>',navTitles:{days:"MM",months:"yyyy",years:"yyyy1 - yyyy2"},timepicker:!1,onlyTimepicker:!1,dateTimeSeparator:" ",timeFormat:"",minHours:0,maxHours:24,minMinutes:0,maxMinutes:59,hoursStep:1,minutesStep:1,onSelect:"",onShow:"",onHide:"",onChangeMonth:"",onChangeYear:"",onChangeDecade:"",onChangeView:"",onRenderCell:""},u={ctrlRight:[17,39],ctrlUp:[17,38],ctrlLeft:[17,37],ctrlDown:[17,40],shiftRight:[16,39],shiftUp:[16,38],shiftLeft:[16,37],shiftDown:[16,40],altUp:[18,38],altRight:[18,39],altLeft:[18,37],altDown:[18,40],ctrlShiftUp:[16,17,38]},(p=i).prototype={VERSION:"2.2.3",viewIndexes:["days","months","years"],init:function(){a||this.opts.inline||!this.elIsInput||this._buildDatepickersContainer(),this._buildBaseHtml(),this._defineLocale(this.opts.language),this._syncWithMinMaxDates(),this.elIsInput&&(this.opts.inline||(this._setPositionClasses(this.opts.position),this._bindEvents()),this.opts.keyboardNav&&!this.opts.onlyTimepicker&&this._bindKeyboardEvents(),this.$datepicker.on("mousedown",this._onMouseDownDatepicker.bind(this)),this.$datepicker.on("mouseup",this._onMouseUpDatepicker.bind(this))),this.opts.classes&&this.$datepicker.addClass(this.opts.classes),this.opts.timepicker&&(this.timepicker=new r.fn.datepicker.Timepicker(this,this.opts),this._bindTimepickerEvents()),this.opts.onlyTimepicker&&this.$datepicker.addClass("-only-timepicker-"),this.views[this.currentView]=new r.fn.datepicker.Body(this,this.currentView,this.opts),this.views[this.currentView].show(),this.nav=new r.fn.datepicker.Navigation(this,this.opts),this.view=this.currentView,this.$el.on("clickCell.adp",this._onClickCell.bind(this)),this.$datepicker.on("mouseenter",".datepicker--cell",this._onMouseEnterCell.bind(this)),this.$datepicker.on("mouseleave",".datepicker--cell",this._onMouseLeaveCell.bind(this)),this.inited=!0},_createShortCuts:function(){this.minDate=this.opts.minDate||new Date(-86399999136e5),this.maxDate=this.opts.maxDate||new Date(86399999136e5)},_bindEvents:function(){this.$el.on(this.opts.showEvent+".adp",this._onShowEvent.bind(this)),this.$el.on("mouseup.adp",this._onMouseUpEl.bind(this)),this.$el.on("blur.adp",this._onBlur.bind(this)),this.$el.on("keyup.adp",this._onKeyUpGeneral.bind(this)),r(e).on("resize.adp",this._onResize.bind(this)),r("body").on("mouseup.adp",this._onMouseUpBody.bind(this))},_bindKeyboardEvents:function(){this.$el.on("keydown.adp",this._onKeyDown.bind(this)),this.$el.on("keyup.adp",this._onKeyUp.bind(this)),this.$el.on("hotKey.adp",this._onHotKey.bind(this))},_bindTimepickerEvents:function(){this.$el.on("timeChange.adp",this._onTimeChange.bind(this))},isWeekend:function(e){return-1!==this.opts.weekends.indexOf(e)},_defineLocale:function(e){"string"==typeof e?(this.loc=r.fn.datepicker.language[e],this.loc||(console.warn("Can't find language \""+e+'" in Datepicker.language, will use "ru" instead'),this.loc=r.extend(!0,{},r.fn.datepicker.language.ru)),this.loc=r.extend(!0,{},r.fn.datepicker.language.ru,r.fn.datepicker.language[e])):this.loc=r.extend(!0,{},r.fn.datepicker.language.ru,e),this.opts.dateFormat&&(this.loc.dateFormat=this.opts.dateFormat),this.opts.timeFormat&&(this.loc.timeFormat=this.opts.timeFormat),""!==this.opts.firstDay&&(this.loc.firstDay=this.opts.firstDay),this.opts.timepicker&&(this.loc.dateFormat=[this.loc.dateFormat,this.loc.timeFormat].join(this.opts.dateTimeSeparator)),this.opts.onlyTimepicker&&(this.loc.dateFormat=this.loc.timeFormat);e=this._getWordBoundaryRegExp;(this.loc.timeFormat.match(e("aa"))||this.loc.timeFormat.match(e("AA")))&&(this.ampm=!0)},_buildDatepickersContainer:function(){a=!0,n.append('<div class="datepickers-container" id="datepickers-container"></div>'),t=r("#datepickers-container")},_buildBaseHtml:function(){var e=r('<div class="datepicker-inline">'),e="INPUT"==this.el.nodeName?this.opts.inline?e.insertAfter(this.$el):t:e.appendTo(this.$el);this.$datepicker=r('<div class="datepicker"><i class="datepicker--pointer"></i><nav class="datepicker--nav"></nav><div class="datepicker--content"></div></div>').appendTo(e),this.$content=r(".datepicker--content",this.$datepicker),this.$nav=r(".datepicker--nav",this.$datepicker)},_triggerOnChange:function(){if(!this.selectedDates.length)return""===this._prevOnSelectValue?void 0:(this._prevOnSelectValue="",this.opts.onSelect("","",this));var e=this.selectedDates,t=p.getParsedDate(e[0]),i=this,t=new Date(t.year,t.month,t.date,t.hours,t.minutes),n=e.map(function(e){return i.formatDate(i.loc.dateFormat,e)}).join(this.opts.multipleDatesSeparator);(this.opts.multipleDates||this.opts.range)&&(t=e.map(function(e){e=p.getParsedDate(e);return new Date(e.year,e.month,e.date,e.hours,e.minutes)})),this._prevOnSelectValue=n,this.opts.onSelect(n,t,this)},next:function(){var e=this.parsedDate,t=this.opts;switch(this.view){case"days":this.date=new Date(e.year,e.month+1,1),t.onChangeMonth&&t.onChangeMonth(this.parsedDate.month,this.parsedDate.year);break;case"months":this.date=new Date(e.year+1,e.month,1),t.onChangeYear&&t.onChangeYear(this.parsedDate.year);break;case"years":this.date=new Date(e.year+10,0,1),t.onChangeDecade&&t.onChangeDecade(this.curDecade)}},prev:function(){var e=this.parsedDate,t=this.opts;switch(this.view){case"days":this.date=new Date(e.year,e.month-1,1),t.onChangeMonth&&t.onChangeMonth(this.parsedDate.month,this.parsedDate.year);break;case"months":this.date=new Date(e.year-1,e.month,1),t.onChangeYear&&t.onChangeYear(this.parsedDate.year);break;case"years":this.date=new Date(e.year-10,0,1),t.onChangeDecade&&t.onChangeDecade(this.curDecade)}},formatDate:function(e,t){t=t||this.date;var i=e,n=this._getWordBoundaryRegExp,o=this.loc,r=p.getLeadingZeroNum,s=p.getDecade(t),a=p.getParsedDate(t),l=a.fullHours,u=a.hours,e=e.match(n("aa"))||e.match(n("AA")),c="am",d=this._replacer;switch(this.opts.timepicker&&this.timepicker&&e&&(l=r((r=this.timepicker._getValidHoursFromDate(t,e)).hours),u=r.hours,c=r.dayPeriod),!0){case/@/.test(i):i=i.replace(/@/,t.getTime());case/aa/.test(i):i=d(i,n("aa"),c);case/AA/.test(i):i=d(i,n("AA"),c.toUpperCase());case/dd/.test(i):i=d(i,n("dd"),a.fullDate);case/d/.test(i):i=d(i,n("d"),a.date);case/DD/.test(i):i=d(i,n("DD"),o.days[a.day]);case/D/.test(i):i=d(i,n("D"),o.daysShort[a.day]);case/mm/.test(i):i=d(i,n("mm"),a.fullMonth);case/m/.test(i):i=d(i,n("m"),a.month+1);case/MM/.test(i):i=d(i,n("MM"),this.loc.months[a.month]);case/M/.test(i):i=d(i,n("M"),o.monthsShort[a.month]);case/ii/.test(i):i=d(i,n("ii"),a.fullMinutes);case/i/.test(i):i=d(i,n("i"),a.minutes);case/hh/.test(i):i=d(i,n("hh"),l);case/h/.test(i):i=d(i,n("h"),u);case/yyyy/.test(i):i=d(i,n("yyyy"),a.year);case/yyyy1/.test(i):i=d(i,n("yyyy1"),s[0]);case/yyyy2/.test(i):i=d(i,n("yyyy2"),s[1]);case/yy/.test(i):i=d(i,n("yy"),a.year.toString().slice(-2))}return i},_replacer:function(e,t,o){return e.replace(t,function(e,t,i,n){return t+o+n})},_getWordBoundaryRegExp:function(e){var t="\\s|\\.|-|/|\\\\|,|\\$|\\!|\\?|:|;";return new RegExp("(^|>|"+t+")("+e+")($|<|"+t+")","g")},selectDate:function(e){var t=this,i=t.opts,n=t.parsedDate,o=t.selectedDates.length,r="";if(Array.isArray(e))e.forEach(function(e){t.selectDate(e)});else if(e instanceof Date){if(this.lastSelectedDate=e,this.timepicker&&this.timepicker._setTime(e),t._trigger("selectDate",e),this.timepicker&&(e.setHours(this.timepicker.hours),e.setMinutes(this.timepicker.minutes)),"days"==t.view&&e.getMonth()!=n.month&&i.moveToOtherMonthsOnSelect&&(r=new Date(e.getFullYear(),e.getMonth(),1)),(r="years"==t.view&&e.getFullYear()!=n.year&&i.moveToOtherYearsOnSelect?new Date(e.getFullYear(),0,1):r)&&(t.silent=!0,t.date=r,t.silent=!1,t.nav._render()),i.multipleDates&&!i.range){if(o===i.multipleDates)return;t._isSelected(e)||t.selectedDates.push(e)}
1else i.range?2==o?(t.selectedDates=[e],t.minRange=e,t.maxRange=""):1==o?(t.selectedDates.push(e),t.maxRange?t.minRange=e:t.maxRange=e,p.bigger(t.maxRange,t.minRange)&&(t.maxRange=t.minRange,t.minRange=e),t.selectedDates=[t.minRange,t.maxRange]):(t.selectedDates=[e],t.minRange=e):t.selectedDates=[e];t._setInputValue(),i.onSelect&&t._triggerOnChange(),i.autoClose&&!this.timepickerIsActive&&(!i.multipleDates&&!i.range||i.range&&2==t.selectedDates.length)&&t.hide(),t.views[this.currentView]._render()}},removeDate:function(i){var n=this.selectedDates,o=this;if(i instanceof Date)return n.some(function(e,t){if(p.isSame(e,i))return n.splice(t,1),o.selectedDates.length?o.lastSelectedDate=o.selectedDates[o.selectedDates.length-1]:(o.minRange="",o.maxRange="",o.lastSelectedDate=""),o.views[o.currentView]._render(),o._setInputValue(),o.opts.onSelect&&o._triggerOnChange(),!0})},today:function(){this.silent=!0,this.view=this.opts.minView,this.silent=!1,this.date=new Date,this.opts.todayButton instanceof Date&&this.selectDate(this.opts.todayButton)},clear:function(){this.selectedDates=[],this.minRange="",this.maxRange="",this.views[this.currentView]._render(),this._setInputValue(),this.opts.onSelect&&this._triggerOnChange()},update:function(e,t){var i=arguments.length,n=this.lastSelectedDate;return 2==i?this.opts[e]=t:1==i&&"object"==typeof e&&(this.opts=r.extend(!0,this.opts,e)),this._createShortCuts(),this._syncWithMinMaxDates(),this._defineLocale(this.opts.language),this.nav._addButtonsIfNeed(),this.opts.onlyTimepicker||this.nav._render(),this.views[this.currentView]._render(),this.elIsInput&&!this.opts.inline&&(this._setPositionClasses(this.opts.position),this.visible)&&this.setPosition(this.opts.position),this.opts.classes&&this.$datepicker.addClass(this.opts.classes),this.opts.onlyTimepicker&&this.$datepicker.addClass("-only-timepicker-"),this.opts.timepicker&&(n&&this.timepicker._handleDate(n),this.timepicker._updateRanges(),this.timepicker._updateCurrentTime(),n)&&(n.setHours(this.timepicker.hours),n.setMinutes(this.timepicker.minutes)),this._setInputValue(),this},_syncWithMinMaxDates:function(){var e=this.date.getTime();this.silent=!0,this.minTime>e&&(this.date=this.minDate),this.maxTime<e&&(this.date=this.maxDate),this.silent=!1},_isSelected:function(t,i){var n=!1;return this.selectedDates.some(function(e){if(p.isSame(e,t,i))return n=e,!0}),n},_setInputValue:function(){var t=this,e=t.opts,i=t.loc.dateFormat,n=e.altFieldDateFormat,o=t.selectedDates.map(function(e){return t.formatDate(i,e)});e.altField&&t.$altField.length&&(e=(e=this.selectedDates.map(function(e){return t.formatDate(n,e)})).join(this.opts.multipleDatesSeparator),this.$altField.val(e)),o=o.join(this.opts.multipleDatesSeparator),this.$el.val(o)},_isInRange:function(e,t){var i=e.getTime(),e=p.getParsedDate(e),n=p.getParsedDate(this.minDate),o=p.getParsedDate(this.maxDate),r=new Date(e.year,e.month,n.date).getTime(),s=new Date(e.year,e.month,o.date).getTime(),i={day:i>=this.minTime&&i<=this.maxTime,month:r>=this.minTime&&s<=this.maxTime,year:e.year>=n.year&&e.year<=o.year};return t?i[t]:i.day},_getDimensions:function(e){var t=e.offset();return{width:e.outerWidth(),height:e.outerHeight(),left:t.left,top:t.top}},_getDateFromCell:function(e){var t=this.parsedDate,i=e.data("year")||t.year,t=e.data("month")==o?t.month:e.data("month"),e=e.data("date")||1;return new Date(i,t,e)},_setPositionClasses:function(e){var t=(e=e.split(" "))[0],e="datepicker -"+t+"-"+e[1]+"- -from-"+t+"-";this.visible&&(e+=" active"),this.$datepicker.removeAttr("class").addClass(e)},setPosition:function(e){e=e||this.opts.position;var t,i,n=this._getDimensions(this.$el),o=this._getDimensions(this.$datepicker),e=e.split(" "),r=this.opts.offset,s=e[0],e=e[1];switch(s){case"top":t=n.top-o.height-r;break;case"right":i=n.left+n.width+r;break;case"bottom":t=n.top+n.height+r;break;case"left":i=n.left-o.width-r}switch(e){case"top":t=n.top;break;case"right":i=n.left+n.width-o.width;break;case"bottom":t=n.top+n.height-o.height;break;case"left":i=n.left;break;case"center":/left|right/.test(s)?t=n.top+n.height/2-o.height/2:i=n.left+n.width/2-o.width/2}this.$datepicker.css({left:i,top:t})},show:function(){var e=this.opts.onShow;this.setPosition(this.opts.position),this.$datepicker.addClass("active"),this.visible=!0,e&&this._bindVisionEvents(e)},hide:function(){var e=this.opts.onHide;this.$datepicker.removeClass("active").css({left:"-100000px"}),this.focused="",this.keys=[],this.inFocus=!1,this.visible=!1,this.$el.blur(),e&&this._bindVisionEvents(e)},down:function(e){this._changeView(e,"down")},up:function(e){this._changeView(e,"up")},_bindVisionEvents:function(e){this.$datepicker.off("transitionend.dp"),e(this,!1),this.$datepicker.one("transitionend.dp",e.bind(this,this,!0))},_changeView:function(e,t){e=e||this.focused||this.date;t="up"==t?this.viewIndex+1:this.viewIndex-1;(t=2<t?2:t)<0&&(t=0),this.silent=!0,this.date=new Date(e.getFullYear(),e.getMonth(),1),this.silent=!1,this.view=this.viewIndexes[t]}
1,_handleHotKey:function(e){var t,i=p.getParsedDate(this._getFocusedDate()),n=this.opts,o=!1,r=!1,s=!1,a=i.year,l=i.month,i=i.date;switch(e){case"ctrlRight":case"ctrlUp":l+=1,o=!0;break;case"ctrlLeft":case"ctrlDown":--l,o=!0;break;case"shiftRight":case"shiftUp":r=!0,a+=1;break;case"shiftLeft":case"shiftDown":r=!0,--a;break;case"altRight":case"altUp":s=!0,a+=10;break;case"altLeft":case"altDown":s=!0,a-=10;break;case"ctrlShiftUp":this.up()}e=p.getDaysCount(new Date(a,l)),t=new Date(a,l,i),t.getTime()<this.minTime?t=this.minDate:t.getTime()>this.maxTime&&(t=this.maxDate),this.focused=t,e=p.getParsedDate(t),o&&n.onChangeMonth&&n.onChangeMonth(e.month,e.year),r&&n.onChangeYear&&n.onChangeYear(e.year),s&&n.onChangeDecade&&n.onChangeDecade(this.curDecade)},_registerKey:function(t){this.keys.some(function(e){return e==t})||this.keys.push(t)},_unRegisterKey:function(e){e=this.keys.indexOf(e);this.keys.splice(e,1)},_isHotKeyPressed:function(){var e,t,i=!1,n=this.keys.sort();for(t in u)n.length==(e=u[t]).length&&e.every(function(e,t){return e==n[t]})&&(this._trigger("hotKey",t),i=!0);return i},_trigger:function(e,t){this.$el.trigger(e,t)},_focusNextCell:function(e,t){t=t||this.cellType;var i=p.getParsedDate(this._getFocusedDate()),n=i.year,o=i.month,r=i.date;if(!this._isHotKeyPressed()){switch(e){case 37:"day"==t&&--r,"month"==t&&--o,"year"==t&&--n;break;case 38:"day"==t&&(r-=7),"month"==t&&(o-=3),"year"==t&&(n-=4);break;case 39:"day"==t&&(r+=1),"month"==t&&(o+=1),"year"==t&&(n+=1);break;case 40:"day"==t&&(r+=7),"month"==t&&(o+=3),"year"==t&&(n+=4)}i=new Date(n,o,r);i.getTime()<this.minTime?i=this.minDate:i.getTime()>this.maxTime&&(i=this.maxDate),this.focused=i}},_getFocusedDate:function(){var e=this.focused||this.selectedDates[this.selectedDates.length-1],t=this.parsedDate;if(!e)switch(this.view){case"days":e=new Date(t.year,t.month,(new Date).getDate());break;case"months":e=new Date(t.year,t.month,1);break;case"years":e=new Date(t.year,0,1)}return e},_getCell:function(e,t){t=t||this.cellType;var i=p.getParsedDate(e),n='.datepicker--cell[data-year="'+i.year+'"]';switch(t){case"month":n='[data-month="'+i.month+'"]';break;case"day":n+='[data-month="'+i.month+'"][data-date="'+i.date+'"]'}return(e=this.views[this.currentView].$el.find(n)).length?e:r("")},destroy:function(){var e=this;e.$el.off(".adp").data("datepicker",""),e.selectedDates=[],e.focused="",e.views={},e.keys=[],e.minRange="",e.maxRange="",(e.opts.inline||!e.elIsInput?e.$datepicker.closest(".datepicker-inline"):e.$datepicker).remove()},_handleAlreadySelectedDates:function(e,t){this.opts.range?this.opts.toggleSelected?this.removeDate(t):2!=this.selectedDates.length&&this._trigger("clickCell",t):this.opts.toggleSelected&&this.removeDate(t),this.opts.toggleSelected||(this.lastSelectedDate=e,this.opts.timepicker&&(this.timepicker._setTime(e),this.timepicker.update()))},_onShowEvent:function(e){this.visible||this.show()},_onBlur:function(){!this.inFocus&&this.visible&&this.hide()},_onMouseDownDatepicker:function(e){this.inFocus=!0},_onMouseUpDatepicker:function(e){this.inFocus=!1,e.originalEvent.inFocus=!0,e.originalEvent.timepickerFocus||this.$el.focus()},_onKeyUpGeneral:function(e){this.$el.val()||this.clear()},_onResize:function(){this.visible&&this.setPosition()},_onMouseUpBody:function(e){e.originalEvent.inFocus||this.visible&&!this.inFocus&&this.hide()},_onMouseUpEl:function(e){e.originalEvent.inFocus=!0,setTimeout(this._onKeyUpGeneral.bind(this),4)},_onKeyDown:function(e){var t=e.which;if(this._registerKey(t),37<=t&&t<=40&&(e.preventDefault(),this._focusNextCell(t)),13==t&&this.focused){if(this._getCell(this.focused).hasClass("-disabled-"))return;if(this.view!=this.opts.minView)this.down();else{e=this._isSelected(this.focused,this.cellType);if(!e)return this.timepicker&&(this.focused.setHours(this.timepicker.hours),this.focused.setMinutes(this.timepicker.minutes)),void this.selectDate(this.focused);this._handleAlreadySelectedDates(e,this.focused)}}27==t&&this.hide()},_onKeyUp:function(e){e=e.which;this._unRegisterKey(e)},_onHotKey:function(e,t){this._handleHotKey(t)},_onMouseEnterCell:function(e){var e=r(e.target).closest(".datepicker--cell"),t=this._getDateFromCell(e);this.silent=!0,this.focused&&(this.focused=""),e.addClass("-focus-"),this.focused=t,this.silent=!1,this.opts.range&&1==this.selectedDates.length&&(this.minRange=this.selectedDates[0],this.maxRange="",p.less(this.minRange,this.focused)&&(this.maxRange=this.minRange,this.minRange=""),this.views[this.currentView]._update())},_onMouseLeaveCell:function(e){r(e.target).closest(".datepicker--cell").removeClass("-focus-"),this.silent=!0,this.focused="",this.silent=!1},_onTimeChange:function(e,t,i){var n=new Date,o=!1;this.selectedDates.length&&(o=!0,n=this.lastSelectedDate),n.setHours(t),n.setMinutes(i),o||this._getCell(n).hasClass("-disabled-")?(this._setInputValue(),this.opts.onSelect&&this._triggerOnChange()):this.selectDate(n)},_onClickCell:function(e,t){this.timepicker&&(t.setHours(this.timepicker.hours),t.setMinutes(this.timepicker.minutes)),this.selectDate(t)},set focused(e){var t;!e&&this.focused&&(t=this._getCell(this.focused)).length&&t.removeClass("-focus-"),this._focused=e,this.opts.range&&1==this.selectedDates.length&&(this.minRange=this.selectedDates[0],this.maxRange="",p.less(this.minRange,this._focused))&&(this.maxRange=this.minRange,this.minRange=""),this.silent||(this.date=e)},get focused(){return this._focused},get parsedDate(){return p.getParsedDate(this.date)},set date(e){if(e instanceof Date)return this.currentDate=e,this.inited&&!this.silent&&(this.views[this.view]._render(),this.nav._render(),this.visible)&&this.elIsInput&&this.setPosition(),e},get date(){return this.currentDate},set view(e){if(this.viewIndex=this.viewIndexes.indexOf(e),!(this.viewIndex<0))return this.prevView=this.currentView,this.currentView=e,this.inited&&(this.views[e]?this.views[e]._render():this.views[e]=new r.fn.datepicker.Body(this,e,this.opts),this.views[this.prevView].hide(),this.views[e].show(),this.nav._render(),this.opts.onChangeView&&this.opts.onChangeView(e),this.elIsInput)&&this.visible&&this.setPosition(),e},get view(){return this.currentView},get cellType(){return this.view.substring(0,this.view.length-1)},get minTime(){var e=p.getParsedDate(this.minDate);return new Date(e.year,e.month,e.date).getTime()},get maxTime(){var e=p.getParsedDate(this.maxDate);return new Date(e.year,e.month,e.date).getTime()},get curDecade(){return p.getDecade(this.date)}},p.getDaysCount=function(e){return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()},p.getParsedDate=function(e){return{year:e.getFullYear(),month:e.getMonth(),fullMonth:e.getMonth()+1<10?"0"+(e.getMonth()+1):e.getMonth()+1,date:e.getDate(),fullDate:e.getDate()<10?"0"+e.getDate():e.getDate(),day:e.getDay(),hours:e.getHours(),fullHours:e.getHours()<10?"0"+e.getHours():e.getHours(),minutes:e.getMinutes(),fullMinutes:e.getMinutes()<10?"0"+e.getMinutes():e.getMinutes()}},p.getDecade=function(e){e=10*Math.floor(e.getFullYear()/10);return[e,9+e]},p.template=function(e,i){return e.replace(/#\{([\w]+)\}/g,function(e,t){if(i[t]||0===i[t])return i[t]})},p.isSame=function(e,t,i){return!(!e||!t)&&(e=p.getParsedDate(e),t=p.getParsedDate(t),{day:e.date==t.date&&e.month==t.month&&e.year==t.year,month:e.month==t.month&&e.year==t.year,year:e.year==t.year}[i||"day"])},p.less=function(e,t,i){return!(!e||!t)&&t.getTime()<e.getTime()},p.bigger=function(e,t,i){return!(!e||!t)&&t.getTime()>e.getTime()},p.getLeadingZeroNum=function(e){return parseInt(e)<10?"0"+e:e},p.resetTime=function(e){if("object"==typeof e)return e=p.getParsedDate(e),new Date(e.year,e.month,e.date)},r.fn.datepicker=function(t){return this.each(function(){var e;r.data(this,s)?((e=r.data(this,s)).opts=r.extend(!0,e.opts,t),e.update(
1)):r.data(this,s,new i(this,t))})},r.fn.datepicker.Constructor=i,r.fn.datepicker.language={ru:{days:["ÐоÑкÑеÑенÑе","ÐонеделÑник","ÐÑоÑник","СÑеда","ЧеÑвеÑг","ÐÑÑниÑа","СÑббоÑа"],daysShort:["ÐоÑ","Ðон","ÐÑо","СÑе","ЧеÑ","ÐÑÑ","СÑб"],daysMin:["ÐÑ","Ðн","ÐÑ","СÑ","ЧÑ","ÐÑ","Сб"],months:["ЯнваÑÑ","ФевÑалÑ","ÐаÑÑ","ÐпÑелÑ","Ðай","ÐÑнÑ","ÐÑлÑ","ÐвгÑÑÑ","СенÑÑбÑÑ","ÐкÑÑбÑÑ","ÐоÑбÑÑ","ÐекабÑÑ"],monthsShort:["Янв","Фев","ÐаÑ","ÐпÑ","Ðай","ÐÑн","ÐÑл","Ðвг","Сен","ÐкÑ","ÐоÑ","Ðек"],today:"СегоднÑ",clear:"ÐÑиÑÑиÑÑ",dateFormat:"dd.mm.yyyy",timeFormat:"hh:ii",firstDay:1},en:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],daysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],daysMin:["Su","Mo","Tu","We","Th","Fr","Sa"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],today:"Today",clear:"Clear",dateFormat:"mm/dd/yyyy",timeFormat:"hh:ii aa",firstDay:0}},r(function(){r(".datepicker-here").datepicker()}),c={days:'<div class="datepicker--days datepicker--body"><div class="datepicker--days-names"></div><div class="datepicker--cells datepicker--cells-days"></div></div>',months:'<div class="datepicker--months datepicker--body"><div class="datepicker--cells datepicker--cells-months"></div></div>',years:'<div class="datepicker--years datepicker--body"><div class="datepicker--cells datepicker--cells-years"></div></div>'},f=r.fn.datepicker,h=f.Constructor,f.Body=function(e,t,i){this.d=e,this.type=t,this.opts=i,this.$el=r(""),this.opts.onlyTimepicker||this.init()},f.Body.prototype={init:function(){this._buildBaseHtml(),this._render(),this._bindEvents()},_bindEvents:function(){this.$el.on("click",".datepicker--cell",r.proxy(this._onClickCell,this))},_buildBaseHtml:function(){this.$el=r(c[this.type]).appendTo(this.d.$content),this.$names=r(".datepicker--days-names",this.$el),this.$cells=r(".datepicker--cells",this.$el)},_getDayNamesHtml:function(e,t,i,n){return i=i||"",7<(n=n!=o?n:0)?i:7==(t=t!=o?t:e)?this._getDayNamesHtml(e,0,i,++n):(i+='<div class="datepicker--day-name'+(this.d.isWeekend(t)?" -weekend-":"")+'">'+this.d.loc.daysMin[t]+"</div>",this._getDayNamesHtml(e,++t,i,++n))},_getCellContents:function(e,t){var i="datepicker--cell datepicker--cell-"+t,n=new Date,o=this.d,r=h.resetTime(o.minRange),s=h.resetTime(o.maxRange),a=o.opts,l=h.getParsedDate(e),u={},c=l.date;switch(t){case"day":o.isWeekend(l.day)&&(i+=" -weekend-"),l.month!=this.d.parsedDate.month&&(i+=" -other-month-",a.selectOtherMonths||(i+=" -disabled-"),a.showOtherMonths||(c=""));break;case"month":c=o.loc[o.opts.monthsField][l.month];break;case"year":var d=o.curDecade,c=l.year;(l.year<d[0]||l.year>d[1])&&(i+=" -other-decade-",a.selectOtherYears||(i+=" -disabled-"),a.showOtherYears||(c=""))}return a.onRenderCell&&(c=(u=a.onRenderCell(e,t)||{}).html||c,i+=u.classes?" "+u.classes:""),a.range&&(h.isSame(r,e,t)&&(i+=" -range-from-"),h.isSame(s,e,t)&&(i+=" -range-to-"),1==o.selectedDates.length&&o.focused?((h.bigger(r,e)&&h.less(o.focused,e)||h.less(s,e)&&h.bigger(o.focused,e))&&(i+=" -in-range-"),h.less(s,e)&&h.isSame(o.focused,e)&&(i+=" -range-from-"),h.bigger(r,e)&&h.isSame(o.focused,e)&&(i+=" -range-to-")):2==o.selectedDates.length&&h.bigger(r,e)&&h.less(s,e)&&(i+=" -in-range-")),h.isSame(n,e,t)&&(i+=" -current-"),o.focused&&h.isSame(e,o.focused,t)&&(i+=" -focus-"),o._isSelected(e,t)&&(i+=" -selected-"),o._isInRange(e,t)&&!u.disabled||(i+=" -disabled-"),{html:c,classes:i}},_getDaysHtml:function(e){for(var t,i,n=h.getDaysCount(e),o=new Date(e.getFullYear(),e.getMonth(),1).getDay(),r=new Date(e.getFullYear(),e.getMonth(),n).getDay(),o=o-this.d.loc.firstDay,r=6-r+this.d.loc.firstDay,s="",a=1-(o<0?7+o:o),l=n+(6<r?r-7:r);a<=l;a++)i=e.getFullYear(),t=e.getMonth(),s+=this._getDayHtml(new Date(i,t,a));return s},_getDayHtml:function(e){var t=this._getCellContents(e,"day");return'<div class="'+t.classes+'" data-date="'+e.getDate()+'" data-month="'+e.getMonth()+'" data-year="'+e.getFullYear()+'">'+t.html+"</div>"},_getMonthsHtml:function(e){for(var t="",i=h.getParsedDate(e),n=0;n<12;)t+=this._getMonthHtml(new Date(i.year,n)),n++;return t},_getMonthHtml:function(e){var t=this._getCellContents(e,"month");return'<div class="'+t.classes+'" data-month="'+e.getMonth()+'">'+t.html+"</div>"},_getYearsHtml:function(e){h.getParsedDate(e);for(var t=h.getDecade(e),i="",n=t[0]-1;n<=t[1]+1;n++)i+=this._getYearHtml(new Date(n,0));return i},_getYearHtml:function(e){var t=this._getCellContents(e,"year");return'<div class="'+t.classes+'" data-year="'+e.getFullYear()+'">'+t.html+"</div>"},_renderTypes:{days:function(){var e=this._getDayNamesHtml(this.d.loc.firstDay),t=this._getDaysHtml(this.d.currentDate);this.$cells.html(t),this.$names.html(e)},months:function(){var e=this._getMonthsHtml(this.d.currentDate);this.$cells.html(e)},years:function(){var e=this._getYearsHtml(this.d.currentDate);this.$cells.html(e)}},_render:function(){this.opts.onlyTimepicker||this._renderTypes[this.type].bind(this)()},_update:function(){var i,n,e=r(".datepicker--cell",this.$cells),o=this;e.each(function(e,t){i=r(this),n=o.d._getDateFromCell(r(this)),n=o._getCellContents(n,o.d.cellType),i.attr("class",n.classes)})},show:function(){this.opts.onlyTimepicker||(this.$el.addClass("active"),this.acitve=!0)},hide:function(){this.$el.removeClass("active"),this.active=!1},_handleClick:function(e){var t=e.data("date")||1,i=e.data("month")||0,e=e.data("year")||this.d.parsedDate.year,n=this.d;n.view!=this.opts.minView?n.down(new Date(e,i,t)):(e=new Date(e,i,t),(i=this.d._isSelected(e,this.d.cellType))?n._handleAlreadySelectedDates.bind(n,i,e)():n._trigger("clickCell",e))},_onClickCell:function(e){e=r(e.target).closest(".datepicker--cell");e.hasClass("-disabled-")||this._handleClick.bind(this)(e)}},f=r.fn.datepicker,d=f.Constructor,f.Navigation=function(e,t){this.d=e,this.opts=t,this.$buttonsContainer="",this.init()}
1,f.Navigation.prototype={init:function(){this._buildBaseHtml(),this._bindEvents()},_bindEvents:function(){this.d.$nav.on("click",".datepicker--nav-action",r.proxy(this._onClickNavButton,this)),this.d.$nav.on("click",".datepicker--nav-title",r.proxy(this._onClickNavTitle,this)),this.d.$datepicker.on("click",".datepicker--button",r.proxy(this._onClickNavButton,this))},_buildBaseHtml:function(){this.opts.onlyTimepicker||this._render(),this._addButtonsIfNeed()},_addButtonsIfNeed:function(){this.opts.todayButton&&this._addButton("today"),this.opts.clearButton&&this._addButton("clear")},_render:function(){var e=this._getTitle(this.d.currentDate),e=d.template('<div class="datepicker--nav-action" data-action="prev">#{prevHtml}</div><div class="datepicker--nav-title">#{title}</div><div class="datepicker--nav-action" data-action="next">#{nextHtml}</div>',r.extend({title:e},this.opts));this.d.$nav.html(e),"years"==this.d.view&&r(".datepicker--nav-title",this.d.$nav).addClass("-disabled-"),this.setNavStatus()},_getTitle:function(e){return this.d.formatDate(this.opts.navTitles[this.d.view],e)},_addButton:function(e){this.$buttonsContainer.length||this._addButtonsContainer();var t={action:e,label:this.d.loc[e]},t=d.template('<span class="datepicker--button" data-action="#{action}">#{label}</span>',t);r("[data-action="+e+"]",this.$buttonsContainer).length||this.$buttonsContainer.append(t)},_addButtonsContainer:function(){this.d.$datepicker.append('<div class="datepicker--buttons"></div>'),this.$buttonsContainer=r(".datepicker--buttons",this.d.$datepicker)},setNavStatus:function(){if((this.opts.minDate||this.opts.maxDate)&&this.opts.disableNavWhenOutOfRange){var e=this.d.parsedDate,t=e.month,i=e.year,n=e.date;switch(this.d.view){case"days":this.d._isInRange(new Date(i,t-1,1),"month")||this._disableNav("prev"),this.d._isInRange(new Date(i,t+1,1),"month")||this._disableNav("next");break;case"months":this.d._isInRange(new Date(i-1,t,n),"year")||this._disableNav("prev"),this.d._isInRange(new Date(i+1,t,n),"year")||this._disableNav("next");break;case"years":var o=d.getDecade(this.d.date);this.d._isInRange(new Date(o[0]-1,0,1),"year")||this._disableNav("prev"),this.d._isInRange(new Date(o[1]+1,0,1),"year")||this._disableNav("next")}}},_disableNav:function(e){r('[data-action="'+e+'"]',this.d.$nav).addClass("-disabled-")},_activateNav:function(e){r('[data-action="'+e+'"]',this.d.$nav).removeClass("-disabled-")},_onClickNavButton:function(e){r(e.target).closest(".datepicker--nav-action").hasClass("-disabled-")||(e=r(e.target).closest("[data-action]").data("action"),this.d[e]())},_onClickNavTitle:function(e){if(!r(e.target).closest(".datepicker--nav-title").hasClass("-disabled-"))return"days"==this.d.view?this.d.view="months":void(this.d.view="years")}},f=r.fn.datepicker,m=f.Constructor,f.Timepicker=function(e,t){this.d=e,this.opts=t,this.init()},f.Timepicker.prototype={init:function(){var e="input";this._setTime(this.d.date),this._buildHTML(),navigator.userAgent.match(/trident/gi)&&(e="change"),this.d.$el.on("selectDate",this._onSelectDate.bind(this)),this.$ranges.on(e,this._onChangeRange.bind(this)),this.$ranges.on("mouseup",this._onMouseUpRange.bind(this)),this.$ranges.on("mousemove focus ",this._onMouseEnterRange.bind(this)),this.$ranges.on("mouseout blur",this._onMouseOutRange.bind(this))},_setTime:function(e){var t=m.getParsedDate(e);this._handleDate(e),this.hours=t.hours<this.minHours?this.minHours:t.hours,this.minutes=t.minutes<this.minMinutes?this.minMinutes:t.minutes},_setMinTimeFromDate:function(e){this.minHours=e.getHours(),this.minMinutes=e.getMinutes(),this.d.lastSelectedDate&&this.d.lastSelectedDate.getHours()>e.getHours()&&(this.minMinutes=this.opts.minMinutes)},_setMaxTimeFromDate:function(e){this.maxHours=e.getHours(),this.maxMinutes=e.getMinutes(),this.d.lastSelectedDate&&this.d.lastSelectedDate.getHours()<e.getHours()&&(this.maxMinutes=this.opts.maxMinutes)},_setDefaultMinMaxTime:function(){var e=this.opts;this.minHours=e.minHours<0||23<e.minHours?0:e.minHours,this.minMinutes=e.minMinutes<0||59<e.minMinutes?0:e.minMinutes,this.maxHours=e.maxHours<0||23<e.maxHours?23:e.maxHours,this.maxMinutes=e.maxMinutes<0||59<e.maxMinutes?59:e.maxMinutes},_validateHoursMinutes:function(e){this.hours<this.minHours?this.hours=this.minHours:this.hours>this.maxHours&&(this.hours=this.maxHours),this.minutes<this.minMinutes?this.minutes=this.minMinutes:this.minutes>this.maxMinutes&&(this.minutes=this.maxMinutes)},_buildHTML:function(){var e=m.getLeadingZeroNum,e={hourMin:this.minHours,hourMax:e(this.maxHours),hourStep:this.opts.hoursStep,hourValue:this.hours,hourVisible:e(this.displayHours),minMin:this.minMinutes,minMax:e(this.maxMinutes),minStep:this.opts.minutesStep,minValue:e(this.minutes)},e=m.template('<div class="datepicker--time"><div class="datepicker--time-current"> <span class="datepicker--time-current-hours">#{hourVisible}</span> <span class="datepicker--time-current-colon">:</span> <span class="datepicker--time-current-minutes">#{minValue}</span></div><div class="datepicker--time-sliders"> <div class="datepicker--time-row"> <input type="range" name="hours" value="#{hourValue}" min="#{hourMin}" max="#{hourMax}" step="#{hourStep}"/> </div> <div class="datepicker--time-row"> <input type="range" name="minutes" value="#{minValue}" min="#{minMin}" max="#{minMax}" step="#{minStep}"/> </div></div></div>',e);this.$timepicker=r(e).appendTo(this.d.$datepicker),this.$ranges=r('[type="range"]',this.$timepicker),this.$hours=r('[name="hours"]',this.$timepicker),this.$minutes=r('[name="minutes"]',this.$timepicker),this.$hoursText=r(".datepicker--time-current-hours",this.$timepicker),this.$minutesText=r(".datepicker--time-current-minutes",this.$timepicker),this.d.ampm&&(this.$ampm=r('<span class="datepicker--time-current-ampm">').appendTo(r(".datepicker--time-current",this.$timepicker)).html(this.dayPeriod),this.$timepicker.addClass("-am-pm-"))},_updateCurrentTime:function(){var e=m.getLeadingZeroNum(this.displayHours),t=m.getLeadingZeroNum(this.minutes);this.$hoursText.html(e),this.$minutesText.html(t),this.d.ampm&&this.$ampm.html(this.dayPeriod)},_updateRanges:function(){this.$hours.attr({min:this.minHours,max:this.maxHours}).val(this.hours),this.$minutes.attr({min:this.minMinutes,max:this.maxMinutes}).val(this.minutes)},_handleDate:function(e){this._setDefaultMinMaxTime(),e&&(m.isSame(e,this.d.opts.minDate)?this._setMinTimeFromDate(this.d.opts.minDate):m.isSame(e,this.d.opts.maxDate)&&this._setMaxTimeFromDate(this.d.opts.maxDate)),this._val
1idateHoursMinutes(e)},update:function(){this._updateRanges(),this._updateCurrentTime()},_getValidHoursFromDate:function(e,t){var i=e;e instanceof Date&&(i=m.getParsedDate(e).hours);var n="am";if(t||this.d.ampm)switch(!0){case 0==i:i=12;break;case 12==i:n="pm";break;case 11<i:i-=12,n="pm"}return{hours:i,dayPeriod:n}},set hours(e){this._hours=e;e=this._getValidHoursFromDate(e);this.displayHours=e.hours,this.dayPeriod=e.dayPeriod},get hours(){return this._hours},_onChangeRange:function(e){var e=r(e.target),t=e.attr("name");this.d.timepickerIsActive=!0,this[t]=e.val(),this._updateCurrentTime(),this.d._trigger("timeChange",[this.hours,this.minutes]),this._handleDate(this.d.lastSelectedDate),this.update()},_onSelectDate:function(e,t){this._handleDate(t),this.update()},_onMouseEnterRange:function(e){e=r(e.target).attr("name");r(".datepicker--time-current-"+e,this.$timepicker).addClass("-focus-")},_onMouseOutRange:function(e){e=r(e.target).attr("name");this.d.inFocus||r(".datepicker--time-current-"+e,this.$timepicker).removeClass("-focus-")},_onMouseUpRange:function(e){this.d.timepickerIsActive=!1}}})(window,jQuery),((e,t)=>{"function"==typeof define&&define.amd?define(["ScrollMagic"],t):"object"==typeof exports?t(require("scrollmagic")):t(e.ScrollMagic||e.jQuery&&e.jQuery.ScrollMagic)})(this,function(n){var g=n._util,v=0,o=(n.Scene.extend(function(){var t,i=this;i.addIndicators=function(e){return t||(e=g.extend({},{name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"},e),v++,t=new o(i,e),i.on("add.plugin_addIndicators",t.add),i.on("remove.plugin_addIndicators",t.remove),i.on("destroy.plugin_addIndicators",i.removeIndicators),i.controller()&&t.add()),i},i.removeIndicators=function(){return t&&(t.remove(),this.off("*.plugin_addIndicators"),t=void 0),i}}),n.Controller.addOption("addIndicators",!1),n.Controller.extend(function(){var d=this,e=d.info(),p=e.container,h=e.isDocument,f=e.vertical,m={groups:[]};function t(){m.updateBoundsPositions()}function i(){m.updateTriggerGroupPositions()}return this._indicators=m,p.addEventListener("resize",i),h||(window.addEventListener("resize",i),window.addEventListener("scroll",i)),p.addEventListener("resize",t),p.addEventListener("scroll",t),this._indicators.updateBoundsPositions=function(e){for(var t,i,n,o=e?[g.extend({},e.triggerGroup,{members:[e]})]:m.groups,r=o.length,s={},a=f?"left":"top",l=f?"width":"height",u=f?g.get.scrollLeft(p)+g.get.width(p)-15:g.get.scrollTop(p)+g.get.height(p)-15;r--;)for(t=(n=o[r]).members.length,i=g.get[l](n.element.firstChild);t--;)s[a]=u-i,g.css(n.members[t].bounds,s)},this._indicators.updateTriggerGroupPositions=function(e){for(var t,i,n,o,r=e?[e]:m.groups,s=r.length,e=h?document.body:p,a=h?{top:0,left:0}:g.get.offset(e,!0),l=f?g.get.width(p)-15:g.get.height(p)-15,u=f?"width":"height",c=f?"Y":"X";s--;)i=(t=r[s]).element,n=t.triggerHook*d.info("size"),o=g.get[u](i.firstChild.firstChild)<n?"translate"+c+"(-100%)":"",g.css(i,{top:a.top+(f?n:l-t.members[0].options.indent),left:a.left+(f?l-t.members[0].options.indent:n)}),g.css(i.firstChild.firstChild,{"-ms-transform":o,"-webkit-transform":o,transform:o})},this._indicators.updateTriggerGroupLabel=function(e){var t="trigger"+(1<e.members.length?"":" "+e.members[0].options.name),e=e.element.firstChild.firstChild;e.textContent!==t&&(e.textContent=t,f)&&m.updateBoundsPositions()},this.addScene=function(e){this._options.addIndicators&&e instanceof n.Scene&&e.controller()===d&&e.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){p.removeEventListener("resize",i),h||(window.removeEventListener("resize",i),window.removeEventListener("scroll",i)),p.removeEventListener("resize",t),p.removeEventListener("scroll",t),this.$super.destroy.apply(this,arguments)},d}),function(s,a){var l,u,c=this,t=D.bounds(),i=D.start(a.colorStart),n=D.end(a.colorEnd),o=a.parent&&g.get.elements(a.parent)[0],r=(a.name=a.name||v,i.firstChild.textContent+=" "+a.name,n.textContent+=" "+a.name,t.appendChild(i),t.appendChild(n),c.options=a,c.bounds=t,c.triggerGroup=void 0,this.add=function(){u=s.controller(),l=u.info("vertical");var e=u.info("isDocument");o=o||(e?document.body:u.info("container")),e||"static"!==g.css(o,"position")||g.css(o,{position:"relative"}),s.on("change.plugin_addIndicators",d),s.on("shift.plugin_addIndicators",r),m(),h(),setTimeout(function(){u._indicators.updateBoundsPositions(c)},0)},this.remove=function(){var e;
1c.triggerGroup&&(s.off("change.plugin_addIndicators",d),s.off("shift.plugin_addIndicators",r),1<c.triggerGroup.members.length?((e=c.triggerGroup).members.splice(e.members.indexOf(c),1),u._indicators.updateTriggerGroupLabel(e),u._indicators.updateTriggerGroupPositions(e),c.triggerGroup=void 0):f(),p())},function(){h()}),d=function(e){"triggerHook"===e.what&&m()},p=function(){t.parentNode.removeChild(t)},h=function(){t.parentNode!==o&&(e=u.info("vertical"),g.css(i.firstChild,{"border-bottom-width":e?1:0,"border-right-width":e?0:1,bottom:e?-1:a.indent,right:e?a.indent:-1,padding:e?"0 8px":"2px 4px"}),g.css(n,{"border-top-width":e?1:0,"border-left-width":e?0:1,top:e?"100%":"",right:e?a.indent:"",bottom:e?"":a.indent,left:e?"":"100%",padding:e?"0 8px":"2px 4px"}),o.appendChild(t));var e={};e[l?"top":"left"]=s.triggerPosition(),e[l?"height":"width"]=s.duration(),g.css(t,e),g.css(n,{display:0<s.duration()?"":"none"})},f=function(){u._indicators.groups.splice(u._indicators.groups.indexOf(c.triggerGroup),1),c.triggerGroup.element.parentNode.removeChild(c.triggerGroup.element),c.triggerGroup=void 0},m=function(){var e,t,i=s.triggerHook();if(!(c.triggerGroup&&Math.abs(c.triggerGroup.triggerHook-i)<1e-4)){for(var n,o=u._indicators.groups,r=o.length;r--;)if(n=o[r],Math.abs(n.triggerHook-i)<1e-4)return c.triggerGroup&&(1===c.triggerGroup.members.length?f():(c.triggerGroup.members.splice(c.triggerGroup.members.indexOf(c),1),u._indicators.updateTriggerGroupLabel(c.triggerGroup),u._indicators.updateTriggerGroupPositions(c.triggerGroup))),n.members.push(c),c.triggerGroup=n,void u._indicators.updateTriggerGroupLabel(n);if(c.triggerGroup){if(1===c.triggerGroup.members.length)return c.triggerGroup.triggerHook=i,void u._indicators.updateTriggerGroupPositions(c.triggerGroup);c.triggerGroup.members.splice(c.triggerGroup.members.indexOf(c),1),u._indicators.updateTriggerGroupLabel(c.triggerGroup),u._indicators.updateTriggerGroupPositions(c.triggerGroup),c.triggerGroup=void 0}e=D.trigger(a.colorTrigger),(t={})[l?"right":"bottom"]=0,t[l?"border-top-width":"border-left-width"]=1,g.css(e.firstChild,t),g.css(e.firstChild.firstChild,{padding:l?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(e),t={triggerHook:s.triggerHook(),element:e,members:[c]},u._indicators.groups.push(t),c.triggerGroup=t,u._indicators.updateTriggerGroupLabel(t),u._indicators.updateTriggerGroupPositions(t)}}}),D={start:function(e){var t=document.createElement("div"),e=(t.textContent="start",g.css(t,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),document.createElement("div"));return g.css(e,{position:"absolute",overflow:"visible",width:0,height:0}),e.appendChild(t),e},end:function(e){var t=document.createElement("div");return t.textContent="end",g.css(t,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),t},bounds:function(){var e=document.createElement("div");return g.css(e,{position:"absolute",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":"0.85em"}),e.style.zIndex="9999",e},trigger:function(e){var t=document.createElement("div"),i=(t.textContent="trigger",g.css(t,{position:"relative"}),document.createElement("div")),e=(g.css(i,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:e,"border-color":e}),i.appendChild(t),document.createElement("div"));return g.css(e,{position:"fixed",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":"0.85em"}),e.style.zIndex="9999",e.appendChild(i),e}}}),((e,o)=>{function t(e,t){this.el=this.isString(e)?o.querySelectorAll(e):[e],this.config=[],this.options=t,this.selectors=[],this.init(),this.destroy=function(){this.loop(function(e){e.removeEventListener("reset",this.events.reset),this.removeClasses(e)},function(e){this.reset(e)})},this.rebuild=function(){this.loop(null,function(e){this.floatLabel(e,!0)})}}t.prototype={defaults:{customEvent:null,customLabel:null,customPlaceholder:null,exclude:".no-label",inputRegex:/email|number|password|search|tel|text|url/,prefix:"fl-",prioritize:"label",requiredClass:"required",style:0,transform:"input,select,textarea"},init:function(){this.initEvents(),this.loop(function(e,t){t=this.config[t].style;e.addEventListener("reset",this.events.reset),e.classList.add(this.prefixed("form")),t&&e.classList.add(this.prefixed("style-"+t))},function(e){this.floatLabel(e)}
1)},initEvents:function(){this.events={blur:this.onBlur.bind(this),change:this.onInput.bind(this),focus:this.onFocus.bind(this),input:this.onInput.bind(this),reset:this.onReset.bind(this)}},addRemove:function(e){return e?"add":"remove"},build:function(e){var t=this.getLabel(e);t&&(e.classList.add(this.prefixed(e.tagName.toLowerCase())),this.setLabel(t,e),this.setPlaceholder(t,e),this.wrapLabel(t,e),this.handleEvents(e,"add"),"function"==typeof this.config[this.current].customEvent)&&this.config[this.current].customEvent.call(this,e)},createEl:function(e,t){var i,n="string"==typeof e?o.createElement(e):e;for(i in t=t||{})t.hasOwnProperty(i)&&n.setAttribute(i,t[i]);return n},extend:function(){var e=[].slice.call(arguments),i=e[0],n=e.slice(1);return Object.keys(n).forEach(function(e){for(var t in n[e])n[e].hasOwnProperty(t)&&(i[t]=n[e][t])}),i},floatLabel:function(e,t){if(e.getAttribute("id")&&("INPUT"!==e.tagName||this.config[this.current].inputRegex.test(e.getAttribute("type")))){if(this.hasParent(e)){if(!0!==t)return;this.reset(e)}this.build(e)}},getLabel:function(e){var t='label[for="'+e.getAttribute("id")+'"]',i=this.el[this.current].querySelectorAll(t);return 1===(i=1<i.length?e.parentNode.querySelectorAll(t):i).length&&i[0]},getLabelText:function(e,t){e=e.textContent.replace(/[*:]/g,"").trim(),t=t.getAttribute("placeholder");return e=!e||t&&"placeholder"===this.config[this.current].prioritize?t:e},handleEvents:function(t,i){var n=this.events;["blur","input","focus"].forEach(function(e){"file"===t.type&&"input"===e&&(e="change"),t[i+"EventListener"](e,n[e])})},hasParent:function(e){return e.parentNode.classList.contains(this.prefixed("wrap"))},isString:function(e){return"[object String]"===Object.prototype.toString.call(e)},loop:function(e,t){for(var i=0;i<this.el.length;++i){void 0===this.selectors[i]&&(o=":not("+(n=this.extend({},this.defaults,this.options,this.el[i].getAttribute("data-options"))).exclude.split(/[\s,]+/).join("):not(")+")",this.selectors[i]=n.transform.replace(/,/g,o+",")+o,this.config[i]=n);var n,o,r=this.el[i].querySelectorAll(this.selectors[i]);this.current=i,"function"==typeof e&&e.call(this,this.el[i],i);for(var s=0;s<r.length;++s)"function"==typeof t&&t.call(this,r[s],i)}},onBlur:function(e){e.target.parentNode.classList.remove(this.prefixed("has-focus"))},onInput:function(e){e.target.parentNode.classList[this.addRemove(e.target.value.length)](this.prefixed("is-active"))},onFocus:function(e){e.target.parentNode.classList.add(this.prefixed("has-focus"))},onReset:function(){setTimeout(this.resetFields.bind(this))},prefixed:function(e){return this.config[this.current].prefix+e},removeClasses:function(e){var t=this.config[this.current].prefix,i=e.className.split(" ").filter(function(e){return 0!==e.lastIndexOf(t,0)});e.className=i.join(" ").trim()},reset:function(e){var t=e.parentNode;if(this.hasParent(e)){for(var i=o.createDocumentFragment();t.firstElementChild;){var n=t.firstElementChild;this.removeClasses(n),i.appendChild(n)}t.parentNode.replaceChild(i,t),this.resetPlaceholder(e),this.handleEvents(e,"remove")}},resetFields:function(){for(var e=this.el[this.current].querySelectorAll(this.selectors[this.current]),t=0;t<e.length;++t)e[t].parentNode.classList[this.addRemove("SELECT"===e[t].tagName&&""!==e[t].value)](this.prefixed("is-active"))},resetPlaceholder:function(e){var t="data-placeholder",i=e.getAttribute(t);null!==i&&(e.removeAttribute(t),e.setAttribute("placeholder",i))},setLabel:function(e,t){e.classList.add(this.prefixed("label")),e.textContent=this.getLabelText(e,t),"function"==typeof this.config[this.current].customLabel&&(e.textContent=this.config[this.current].customLabel.call(this,e,t))},setPlaceholder:function(e,t){var i=t.getAttribute("placeholder");"label"!==this.config[this.current].prioritize&&i||(i&&t.setAttribute("data-placeholder",i),i=this.getLabelText(e,t)),"function"==typeof this.config[this.current].customPlaceholder&&(i=this.config[this.current].customPlaceholder.call(this,i,t,e)),"SELECT"===t.tagName?this.setSelectPlaceholder(t,i):t.setAttribute("placeholder",i)},setSelectPlaceholder:function(e,t){var i,n=e.firstElementChild;null!==n&&(n.hasAttribute("value")&&n.value?(i=!0!==e.options[e.selectedIndex].defaultSelected,e.insertBefore(new Option(t,"",i,i),n)):n.setAttribute("value",""),""===n.textContent)&&(n.textContent=t)},wrapLabel:function(e,t){var i=this.createEl("div",{class:this.prefixed("wrap")+" "+this.prefixed("wrap-"+t.tagName.toLowerCase())});void 0!==t.value&&t.value.length&&i.classList.add(this.prefixed("is-active")),null===t.getAttribute("required")&&!t.classList.contains(this.config[this.current].requiredClass)||i.classList.add(this.prefixed("is-required")),t.parentNode.insertBefore(i,t),i.appendChild(e),i.appendChild(t)}},"function"==typeof define&&define.amd?define([],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:e.FloatLabels=t})(window,document),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.hoverIntent&&e(jQuery)})(function(u){var o,r,s={interval:100,sensitivity:6,timeout:0},c=0,d=function(e){o=e.pageX,r=e.pageY},p=function(e,t,i,n){if(Math.sqrt((i.pX-o)*(i.pX-o)+(i.pY-r)*(i.pY-r))<n.sensitivity)return t.off(i.event,d),delete i.timeoutId,i.isActive=!0,e.pageX=o,e.pageY=r,delete i.pX,delete i.pY,n.over.apply(t[0],[e]);i.pX=o,i.pY=r,i.timeoutId=setTimeout(function(){p(e,t,i,n)},n.interval)};u.fn.hoverIntent=function(e,t,i){function n(e){var o=u.extend({},e),r=u(this),s=((t=r.data("hoverIntent"))||r.data("hoverIntent",t
1={}),t[a]),t=(s||(t[a]=s={id:a}),s.timeoutId&&(s.timeoutId=clearTimeout(s.timeoutId)),s.event="mousemove.hoverIntent.hoverIntent"+a);"mouseenter"===e.type?s.isActive||(s.pX=o.pageX,s.pY=o.pageY,r.off(t,d).on(t,d),s.timeoutId=setTimeout(function(){p(o,r,s,l)},l.interval)):s.isActive&&(r.off(t,d),s.timeoutId=setTimeout(function(){var e,t,i,n;e=o,t=r,i=s,n=l.out,delete t.data("hoverIntent")[i.id],n.apply(t[0],[e])},l.timeout))}var a=c++,l=u.extend({},s);u.isPlainObject(e)?(l=u.extend(l,e),u.isFunction(l.out)||(l.out=l.over)):l=u.isFunction(t)?u.extend(l,{over:e,out:t,selector:i}):u.extend(l,{over:e,out:e,selector:t});return this.on({"mouseenter.hoverIntent":n,"mouseleave.hoverIntent":n},l.selector)}}),(c=>{function w(e,t,i){"addEventListener"in window?e.addEventListener(t,i,!1):"attachEvent"in window&&e.attachEvent("on"+t,i)}function b(e,t,i){"removeEventListener"in window?e.removeEventListener(t,i,!1):"detachEvent"in window&&e.detachEvent("on"+t,i)}function m(e){return P+"["+(t="Host page: "+(e=e),t=window.top!==window.self?window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e:t)+"]";var t}function i(e){return R[e]?R[e].log:p}function C(e,t){n("log",e,t,i(e))}function k(e,t){n("info",e,t,i(e))}function x(e,t){n("warn",e,t,!0)}function n(e,t,i,n){!0===n&&"object"==typeof window.console&&console[e](m(t),i)}function g(e){function t(){i("Height"),i("Width"),O(function(){M(m),F(g),l("resizedCallback",m)},m,"init")}function i(e){var t=Number(R[g]["max"+e]),i=Number(R[g]["min"+e]),e=e.toLowerCase(),n=Number(m[e]);C(g,"Checking "+e+" is in range "+i+"-"+t),n<i&&(n=i,C(g,"Set "+e+" to min value")),t<n&&(n=t,C(g,"Set "+e+" to max value")),m[e]=""+n}function n(e){return f.substr(f.indexOf(":")+N+e)}function o(i,n){$(function(){var e,t;I("Send Page Info","pageInfo:"+(e=document.body.getBoundingClientRect(),t=m.iframe.getBoundingClientRect(),JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset})),i,n)},32)}function r(e){e=e.getBoundingClientRect();return S(g),{x:Math.floor(Number(e.left)+Number(H.x)),y:Math.floor(Number(e.top)+Number(H.y))}}function s(e){var t=e?r(m.iframe):{x:0,y:0},i={x:Number(m.width)+t.x,y:Number(m.height)+t.y};C(g,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top!==window.self?window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](i.x,i.y):x(g,"Unable to scroll to requested position, window.parentIFrame not found"):(H=i,a(),C(g,"--"))}function a(){!1!==l("scrollCallback",H)?F(g):_()}function l(e,t){return T(g,e,t)}var u,c,d,p,h,f=e.data,m={},g=null;if("[iFrameResizerChild]Ready"===f)for(var v in R)I("iFrame requested init",L(v),document.getElementById(v),v);else if(P===(""+f).substr(0,B)&&f.substr(B).split(":")[0]in R){if(h=f.substr(B).split(":"),m={iframe:R[h[0]].iframe,id:h[0],height:h[1],width:h[2],type:h[3]},g=m.id,R[g].loaded=!0,(h=m.type in{true:1,false:1,undefined:1})&&C(g,"Ignoring init message from meta parent page"),!h&&(p=!0,R[h=g]||(p=!1,x(m.type+" No settings for "+h+". Message was: "+f)),p)&&(C(g,"Received: "+f),h=!0,null===m.iframe&&(x(g,"IFrame ("+m.id+") not found"),h=!1),h&&(()=>{var n=e.origin,o=R[g].checkOrigin;if(o&&""+n!="null"&&!(()=>{if(o.constructor!==Array)return e=R[g].remoteHost,C(g,"Checking connection is from: "+e),n===e;var e,t=0,i=!1;for(C(g,"Checking connection is from allowed list of origins: "+o);t<o.length;t++)if(o[t]===n){i=!0;break}return i})())throw new Error("Unexpected message received from: "+n+" for "+m.iframe.id+". Message was: "+e.data+". This error can be disabled by setting the checkOrigin: false option or by providing of array of trusted domains.");return 1})())){switch(R[g].firstRun&&(R[g].firstRun=!1),m.type){case"close":E(m.iframe);break;case"message":d=n(6),C(g,"MessageCallback passed: {iframe: "+m.iframe.id+", message: "+d+"}"),l("messageCallback",{iframe:m.iframe,message:JSON.parse(d)}),C(g,"--");break;case"scrollTo":s(!1);break;case"scrollToOffset":s(!0);break;case"pageInfo":o(R[g].iframe,g),c=g,D("Add ",w),R[c].stopPageInfo=y;break;case"pageInfoStop":R[g]&&R[g].stopPageInfo&&(R[g].stopPageInfo(),delete R[g].stopPageInfo);break;case"inPageLink":d=(d=n(9)).split("#")[1]||"",u=decodeURIComponent(d),(u=document.getElementById(u)||document.getElementsByName(u)[0])?(u=r(u),C(g,"Moving to in page link (#"+d+") at x: "+u.x+" y: "+u.y),H={x:u.x,y:u.y},a(),C(g,"--")):window.top!==window.self?window.parentIFrame?window.parentIFrame.moveToAnchor(d):C(g,"In page link #"+d+" not found and window.parentIFrame not found"):C(g,"In page link #"+d+" not found");break;case"reset":A(m);break;case"init":t(),l("initCallback",m.iframe);break;default:t()}function D(t,i){function n(){R[c]?o(R[c].iframe,c):y()}["scroll","resize"].forEach(function(e){C(c,t+e+" listener for sendPageInfo"),i(window,e,n)})}function y(){D("Remove ",b)}}}else k(g,"Ignored: "+f)}function T(e,t,i){var n=null,o=null;
1if(R[e]){if("function"!=typeof(n=R[e][t]))throw new TypeError(t+" on iFrame["+e+"] is not a function");o=n(i)}return o}function E(e){var t=e.id;C(t,"Removing iFrame: "+t),e.parentNode&&e.parentNode.removeChild(e),T(t,"closedCallback",t),C(t,"--"),delete R[t]}function S(e){null===H&&C(e,"Get page position: "+(H={x:window.pageXOffset!==c?window.pageXOffset:document.documentElement.scrollLeft,y:window.pageYOffset!==c?window.pageYOffset:document.documentElement.scrollTop}).x+","+H.y)}function F(e){null!==H&&(window.scrollTo(H.x,H.y),C(e,"Set page position: "+H.x+","+H.y),_())}function _(){H=null}function A(e){C(e.id,"Size reset requested by "+("init"===e.type?"host page":"iFrame")),S(e.id),O(function(){M(e),I("reset","reset",e.iframe,e.id)},e,"reset")}function M(o){function i(e){{var t;!l&&"0"===o[e]&&(l=!0,C(r,"Hidden iFrame detected, creating visibility listener"),e=window.MutationObserver||window.WebKitMutationObserver)&&(t=document.querySelector("body"),new e(n).observe(t,{attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0}))}function i(){for(var e in R)(t=>{function e(e){return"0px"===R[t].iframe.style[e]}null!==R[t].iframe.offsetParent&&(e("height")||e("width"))&&I("Visibility change","resize",R[t].iframe,t)})(e)}function n(e){C("window","Mutation observed: "+e[0].target+" "+e[0].type),$(i,16)}}function e(e){var t;t=e,o.iframe.style[t]=o[t]+"px",C(o.id,"IFrame ("+r+") "+t+" set to "+o[t]+"px"),i(e)}var r=o.iframe.id;R[r]&&(R[r].sizeHeight&&e("height"),R[r].sizeWidth)&&e("width")}function O(e,t,i){i!==t.type&&u?(C(t.id,"Requesting animation frame"),u(e)):e()}function I(e,t,i,n,o){var r,s=!1;n=n||i.id,R[n]&&(i&&"contentWindow"in i&&null!==i.contentWindow?(r=R[n].targetOrigin,C(n,"["+e+"] Sending msg to iframe["+n+"] ("+t+") targetOrigin: "+r),i.contentWindow.postMessage(P+t,r)):x(n,"["+e+"] IFrame("+n+") not found"),o)&&R[n].warningTimeout&&(R[n].msgTimeout=setTimeout(function(){!R[n]||R[n].loaded||s||(s=!0,x(n,"IFrame has not responded within "+R[n].warningTimeout/1e3+" seconds. Check iFrameResizer.contentWindow.js has been loaded in iFrame. This message can be ingored if everything is working, or you can set the warningTimeout option to a higher value or zero to suppress this warning."))},R[n].warningTimeout))}function L(e){return e+":"+R[e].bodyMarginV1+":"+R[e].sizeWidth+":"+R[e].log+":"+R[e].interval+":"+R[e].enablePublicMethods+":"+R[e].autoResize+":"+R[e].bodyMargin+":"+R[e].heightCalculationMethod+":"+R[e].bodyBackground+":"+R[e].bodyPadding+":"+R[e].tolerance+":"+R[e].inPageLinks+":"+R[e].resizeFrom+":"+R[e].widthCalculationMethod}function r(i,e){t=i.id,""===t&&(i.id=(r=e&&e.id||f.id+d++,null!==document.getElementById(r)&&(r+=d++),t=r),p=(e||{}).log,C(t,"Added missing iframe ID: "+t+" ("+i.src+")"));var t,n,o=t;if(o in R&&"iFrameResizer"in i)x(o,"Ignored iFrame, already setup.");else{var r=e;if(r=r||{},R[o]={firstRun:!0,iframe:i,remoteHost:i.src.split("/").slice(0,3).join("/")},"object"!=typeof r)throw new TypeError("Options is not an object");var s,a=r;for(s in f)f.hasOwnProperty(s)&&(R[o][s]=(a.hasOwnProperty(s)?a:f)[s]);switch(R[o].targetOrigin=!0!==R[o].checkOrigin||""===(r=R[o].remoteHost)||"file://"===r?"*":r,C(o,"IFrame scrolling "+(R[o].scrolling?"enabled":"disabled")+" for "+o),i.style.overflow=!1===R[o].scrolling?"hidden":"auto",R[o].scrolling){case!0:i.scrolling="yes";break;case!1:i.scrolling="no";break;default:i.scrolling=R[o].scrolling}u("Height"),u("Width"),l("maxHeight"),l("minHeight"),l("maxWidth"),l("minWidth"),"number"!=typeof R[o].bodyMargin&&"0"!==R[o].bodyMargin||(R[o].bodyMarginV1=R[o].bodyMargin,R[o].bodyMargin=R[o].bodyMargin+"px"),n=L(o),w(i,"load",function(){var e,t;I("iFrame.onload",n,i,c,!0),e=R[o].firstRun,t=R[o].heightCalculationMethod in h,!e&&t&&A({iframe:i,height:0,width:0,type:"init"})}),I("init",n,i,c,!0),Function.prototype.bind&&(R[o].iframe.iFrameResizer={close:E.bind(null,R[o].iframe),resize:I.bind(null,"Window resize","resize",R[o].iframe),moveToAnchor:function(e){I("Move to anchor","moveToAnchor:"+e,R[o].iframe,o)},sendMessage:function(e){I("Send Message","message:"+(e=JSON.stringify(e)),R[o].iframe,o)}})}function l(e){1/0!==R[o][e]&&0!==R[o][e]&&(i.style[e]=R[o][e]+"px",C(o,"Set "+e+" = "+R[o][e]+"px"))}function u(e){if(R[o]["min"+e]>R[o]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}}function $(e,t){null===o&&(o=setTimeout(function(){o=null,e()},t))}function s(e){C("window","Trigger event: "+e),$(function(){t("Window "+e,"resize")},16)}
1function a(){"hidden"!==document.visibilityState&&(C("document","Trigger event: Visiblity change"),$(function(){t("Tab Visable","resize")},16))}function t(e,t){for(var i in R)n=i,"parent"===R[n].resizeFrom&&R[n].autoResize&&!R[n].firstRun&&I(e,t,document.getElementById(i),i);var n}function e(){function n(e,t){if(t){if(!t.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==t.tagName.toUpperCase())throw new TypeError("Expected <IFRAME> tag, found <"+t.tagName+">");r(t,e),o.push(t)}}for(var o,e=["moz","webkit","o","ms"],t=0;t<e.length&&!u;t+=1)u=window[e[t]+"RequestAnimationFrame"];return u||C("setup","RequestAnimationFrame not supported"),w(window,"message",g),w(window,"resize",function(){s("resize")}),w(document,"visibilitychange",a),w(document,"-webkit-visibilitychange",a),w(window,"focusin",function(){s("focus")}),w(window,"focus",function(){s("focus")}),function(e,t){switch(o=[],(i=e)&&i.enablePublicMethods&&x("enablePublicMethods option has been removed, public methods are now always available in the iFrame"),typeof t){case"undefined":case"string":Array.prototype.forEach.call(document.querySelectorAll(t||"iframe"),n.bind(c,e));break;case"object":n(e,t);break;default:throw new TypeError("Unexpected data type ("+typeof t+")")}var i;return o}}function v(e){e.fn?e.fn.iFrameResize||(e.fn.iFrameResize=function(i){return this.filter("iframe").each(function(e,t){r(t,i)}).end()}):k("","Unable to bind to jQuery, it is not fully loaded.")}var d,p,l,N,P,B,H,u,h,R,o,f;"undefined"!=typeof window&&(d=0,l=p=!1,N="message".length,B=(P="[iFrameSizer]").length,H=null,u=window.requestAnimationFrame,f={autoResize:!(o=null),bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!"Host Page",enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,log:!(R={}),maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,resizeFrom:"parent",scrolling:!(h={max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",closedCallback:function(){},initCallback:function(){},messageCallback:function(){x("MessageCallback function not defined")},resizedCallback:function(){},scrollCallback:function(){return!0}},window.jQuery&&v(window.jQuery),"function"==typeof define&&define.amd?define([],e):"object"==typeof module&&"object"==typeof module.exports?module.exports=e():window.iFrameResize=window.iFrameResize||e())})(),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Instafeed=t()})(this,function(){function n(e,t){if(!e)throw new Error(t)}function e(e){n(!e||"object"==typeof e,"options must be an object, got "+e+" ("+typeof e+")");var t={accessToken:null,accessTokenTimeout:1e4,after:null,apiTimeout:1e4,apiLimit:null,before:null,debug:!1,error:null,filter:null,limit:null,mock:!1,render:null,sort:null,success:null,target:"instafeed",template:'<a href="{{link}}"><img title="{{caption}}" src="{{image}}" /></a>',templateBoundaries:["{{","}}"],transform:null};if(e)for(var i in t)void 0!==e[i]&&(t[i]=e[i]);
1n("string"==typeof t.target||"object"==typeof t.target,"target must be a string or DOM node, got "+t.target+" ("+typeof t.target+")"),n("string"==typeof t.accessToken||"function"==typeof t.accessToken,"accessToken must be a string or function, got "+t.accessToken+" ("+typeof t.accessToken+")"),n("number"==typeof t.accessTokenTimeout,"accessTokenTimeout must be a number, got "+t.accessTokenTimeout+" ("+typeof t.accessTokenTimeout+")"),n("number"==typeof t.apiTimeout,"apiTimeout must be a number, got "+t.apiTimeout+" ("+typeof t.apiTimeout+")"),n("boolean"==typeof t.debug,"debug must be true or false, got "+t.debug+" ("+typeof t.debug+")"),n("boolean"==typeof t.mock,"mock must be true or false, got "+t.mock+" ("+typeof t.mock+")"),n("object"==typeof t.templateBoundaries&&2===t.templateBoundaries.length&&"string"==typeof t.templateBoundaries[0]&&"string"==typeof t.templateBoundaries[1],"templateBoundaries must be an array of 2 strings, got "+t.templateBoundaries+" ("+typeof t.templateBoundaries+")"),n(!t.template||"string"==typeof t.template,"template must null or string, got "+t.template+" ("+typeof t.template+")"),n(!t.error||"function"==typeof t.error,"error must be null or function, got "+t.error+" ("+typeof t.error+")"),n(!t.before||"function"==typeof t.before,"before must be null or function, got "+t.before+" ("+typeof t.before+")"),n(!t.after||"function"==typeof t.after,"after must be null or function, got "+t.after+" ("+typeof t.after+")"),n(!t.success||"function"==typeof t.success,"success must be null or function, got "+t.success+" ("+typeof t.success+")"),n(!t.filter||"function"==typeof t.filter,"filter must be null or function, got "+t.filter+" ("+typeof t.filter+")"),n(!t.transform||"function"==typeof t.transform,"transform must be null or function, got "+t.transform+" ("+typeof t.transform+")"),n(!t.sort||"function"==typeof t.sort,"sort must be null or function, got "+t.sort+" ("+typeof t.sort+")"),n(!t.render||"function"==typeof t.render,"render must be null or function, got "+t.render+" ("+typeof t.render+")"),n(!t.limit||"number"==typeof t.limit,"limit must be null or number, got "+t.limit+" ("+typeof t.limit+")"),n(!t.apiLimit||"number"==typeof t.apiLimit,"apiLimit must null or number, got "+t.apiLimit+" ("+typeof t.apiLimit+")"),this._state={running:!1,node:null,token:null,paging:null,pool:[]},this._options=t}return e.prototype.run=function(){var i=this;return this._debug("run","options",this._options),this._debug("run","state",this._state),this._state.running?(this._debug("run","already running, skipping"),!1):(this._start(),this._debug("run","getting dom node"),"string"==typeof this._options.target?this._state.node=document.getElementById(this._options.target):this._state.node=this._options.target,this._state.node?(this._debug("run","got dom node",this._state.node),this._debug("run","getting access token"),this._getAccessToken(function(e,t){e?(i._debug("onTokenReceived","error",e),i._fail(new Error("error getting access token: "+e.message))):(i._debug("onTokenReceived","got token",t),i._state.token=t,i._showNext(function(e){e?(i._debug("onNextShown","error",e),i._fail(e)):i._finish()}))}),!0):(this._fail(new Error("no element found with ID "+this._options.target)),!1))},e.prototype.hasNext=function(){var e=this._state.paging,t=this._state.pool;return this._debug("hasNext","paging",e),this._debug("hasNext","pool",t.length,t),0<t.length||e&&"string"==typeof e.next},e.prototype.next=function(){var t=this;return t.hasNext()?t._state.running?(t._debug("next","already running, skipping"),!1):(t._start(),void t._showNext(function(e){e?(t._debug("onNextShown","error",e),t._fail(e)):t._finish()})):(t._debug("next","hasNext is false, skipping"),!1)},e.prototype._showNext=function(o){var r=this,e=null,t="number"==typeof this._options.limit;if(r._debug("showNext","pool",r._state.pool.length,r._state.pool),0<r._state.pool.length){if(t=t?r._state.pool.splice(0,r._options.limit):r._state.pool.splice(0),r._debug("showNext","items from pool",t.length,t),r._debug("showNext","updated pool",r._state.pool.length,r._state.pool),r._options.mock)r._debug("showNext","mock enabled, skipping render");else try{r._renderData(t)}catch(e){return void o(e)}o(null)}else r._state.paging&&"string"==typeof r._state.paging.next?e=r._state.paging.next:(e="https://graph.instagram.com/me/media?fields=caption,id,media_type,media_url,permalink,thumbnail_url,timestamp,username&access_token="+r._state.token,r._options.apiLimit||"number"!=typeof r._options.limit?"number"==typeof r._options.apiLimit&&(r._debug("showNext","apiLimit set, overriding limit",r._options.apiLimit,r._options.limit),e=e+"&limit="+r._options.apiLimit):(r._debug("showNext","no apiLimit set, falling back to limit",r._options.apiLimit,r._options.limit),e=e+"&limit="+r._options.limit)),r._debug("showNext","making request",e),r._makeApiRequest(e,function(e,t){var i=null;if(e)r._debug("onResponseReceived","error",e),o(new Error("api request error: "+e.message));else{r._debug("onResponseReceived","data",t),r._success(t),r._debug("onResponseReceived","setting paging",t.paging),r._state.paging=t.paging;try{if(i=r._processData(t),r._debug("onResponseReceived","processed data",i),i.unused&&0<i.unused.length){r._debug("onResponseReceived","saving unused to pool",i.unused.length,i.unused);for(var n=0;n<i.unused.length;n++)r._state.pool.push(i.unused[n])}}catch(e){return void o(e)}if(r._options.mock)r._debug("onResponseReceived","mock enabled, skipping append");else try{r._renderData(i.items)}catch(e){return void o(e)}o(null)}})},e.prototype._processData=function(e){var t,i="function"==typeof this._options.transform,n="function"==typeof this._options.filter,o="function"==typeof this._options.sort,r="number"==typeof this._options.limit,s=[],a=null,l=null,u=null;if(this._debug("processData","hasFilter",n,"hasTransform",i,"hasSort",o,"hasLimit",r),"object"!=typeof e||"object"!=typeof e.data||e.data.length<=0)return null;for(var c=0;c<e.data.length;c++){if(t=this._getItemData(e.data[c]),i)try{a=this._options.transform(t),this._debug("processData","transformed item",t,a)}catch(e){throw this._debug("processData","error calling transform",e),new Error("error in transform: "+e.message)}else a=t;if(n){try{l=this._options.filter(a),this._debug("processData","filter item result",a,l)}catch(e){throw this._debug("processData","error calling filter",e),new Error("error in filter: "+e.message)}l&&s.push(a)}else s.push(a)}if(o)try{s.sort(this._options.sort)}catch(e){throw this._debug("processData","error calling sort",e),new Error("error in sort: "+e.message)}return r&&(o=s.length-this._options.limit,this._debug("processData","checking limit",s.length,this._options.limit,o),0<o)&&(u=s.slice(s.length-o),this._debug("processData","unusedItems",u.length,u),s.splice(s.length-o,o)),{items:s,unused:u}},e.prototype._extractTags=function(e){var t,i=/#([^\s]+)/gi,n=/[~`!@#$%^&*\(\)\-\+={}\[\]:;"'<>\?,\./|\\\s]+/i,o=[];if("string"==typeof e)for(;null!==(t=i.exec(e));)!1===n.test(t[1])&&o.push(t[1]);return o},e.prototype._getItemData=function(e){var t=null,i=null;switch(e.media_type){case"IMAGE":t="image",i=e.media_url;break;case"VIDEO":t="video",i=e.thumbnail_url;break;case"CAROUSEL_ALBUM":t="album",i=e.media_url}return{caption:e.caption,tags:this._extractTags(e.caption),id:e.id,image:i,link:e.permalink,model:e,timestamp:e.timestamp,type:t,username:e.username}},e.prototype._renderData=function(e){var t,i="string"==typeof this._options.template,n="function"==typeof this._options.render,o=null,r=null,s="";if(this._debug("renderData","hasTemplate",i,"hasRender",n),!("object"!=typeof e||e.length<=0)){for(var a=0;a<e.length;a++){if(t=e[a],n)try{o=this._options.render(t,this._options),this._debug("renderData","custom render result",t,o)}catch(e){throw this._debug("renderData","error calling render",e),new Error("error in render: "+e.message)}else i&&(o=this._basicRender(t));
1o?s+=o:this._debug("renderData","render item did not return any content",t)}for(this._debug("renderData","html content",s),(r=document.createElement("div")).innerHTML=s,this._debug("renderData","container",r,r.childNodes.length,r.childNodes);0<r.childNodes.length;)this._debug("renderData","appending child",r.childNodes[0]),this._state.node.appendChild(r.childNodes[0])}},e.prototype._basicRender=function(e){for(var t,i,n=new RegExp(this._options.templateBoundaries[0]+"([\\s\\w.]+)"+this._options.templateBoundaries[1],"gm"),o=this._options.template,r="",s=0,a=null;null!==(t=n.exec(o));)i=t[1],r+=o.slice(s,t.index),(a=this._valueForKeyPath(i,e))&&(r+=a.toString()),s=n.lastIndex;return s<o.length&&(r+=o.slice(s,o.length)),r},e.prototype._valueForKeyPath=function(e,t){for(var i,n=/([\w]+)/gm,o=t;null!==(i=n.exec(e));){if("object"!=typeof o)return null;o=o[i[1]]}return o},e.prototype._fail=function(e){!this._runHook("error",e)&&console&&"function"==typeof console.error&&console.error(e),this._state.running=!1},e.prototype._start=function(){this._state.running=!0,this._runHook("before")},e.prototype._finish=function(){this._runHook("after"),this._state.running=!1},e.prototype._success=function(e){this._runHook("success",e),this._state.running=!1},e.prototype._makeApiRequest=function(e,i){function n(e,t){o||(o=!0,i(e,t))}var o=!1,r=this,s=null;(s=new XMLHttpRequest).ontimeout=function(){n(new Error("api request timed out"))},s.onerror=function(){n(new Error("api connection error"))},s.onload=function(e){var t=s.getResponseHeader("Content-Type"),i=null;if(r._debug("apiRequestOnLoad","loaded",e),r._debug("apiRequestOnLoad","response status",s.status),r._debug("apiRequestOnLoad","response content type",t),0<=t.indexOf("application/json"))try{i=JSON.parse(s.responseText)}catch(e){return r._debug("apiRequestOnLoad","json parsing error",e,s.responseText),void n(new Error("error parsing response json"))}200===s.status?n(null,i):i&&i.error?n(new Error(i.error.code+" "+i.error.message)):n(new Error("status code "+s.status))},s.open("GET",e,!0),s.timeout=this._options.apiTimeout,s.send()},e.prototype._getAccessToken=function(i){function n(e,t){o||(o=!0,clearTimeout(s),i(e,t))}var o=!1,r=this,s=null;if("function"==typeof this._options.accessToken){this._debug("getAccessToken","calling accessToken as function"),s=setTimeout(function(){r._debug("getAccessToken","timeout check",o),n(new Error("accessToken timed out"),null)},this._options.accessTokenTimeout);try{this._options.accessToken(function(e,t){r._debug("getAccessToken","received accessToken callback",o,e,t),n(e,t)})}catch(e){this._debug("getAccessToken","error invoking the accessToken as function",e),n(e,null)}}else this._debug("getAccessToken","treating accessToken as static",typeof this._options.accessToken),n(null,this._options.accessToken)},e.prototype._debug=function(){var e=null;this._options.debug&&console&&"function"==typeof console.log&&((e=[].slice.call(arguments))[0]="[Instafeed] ["+e[0]+"]",console.log.apply(null,e))},e.prototype._runHook=function(t,e){var i=!1;if("function"==typeof this._options[t])try{this._options[t](e),i=!0}catch(e){this._debug("runHook","error calling hook",t,e)}return i},e}),((M,p)=>{function s(h,f,m,e,t){function i(){var o,r,s,a;C=1<M.devicePixelRatio,m=n(m),0<=f.delay&&setTimeout(function(){l(!0)},f.delay),(f.delay<0||f.combined)&&(e.e=(o=f.throttle,r=function(e){"resize"===e.type&&(w=b=-1),l(e.all)},a=0,function(e,t){function i(){a=+new Date,r.call(h,e)}var n=+new Date-a;s&&clearTimeout(s),o<n||!f.enableThrottle||t?i():s=setTimeout(i,o-n)}),e.a=function(e){e=n(e),m.push.apply(m,e)},e.g=function(){return m=O(m).filter(function(){return!O(this).data(f.loadedName)})},e.f=function(e){for(var t=0;t<e.length;t++){var i=m.filter(function(){return this===e[t]});i.length&&l(!1,i)}},l(),O(f.appendScroll).on("scroll."+t+" resize."+t,e.e))}function n(e){for(var t=f.defaultImage,i=f.placeholder,n=f.imageBase,o=f.srcsetAttribute,r=f.loaderAttribute,s=f._f||{},a=0,l=(e=O(e).filter(function(){var e=O(this),t=g(this);return!e.data(f.handledName)&&(e.attr(f.attribute)||e.attr(o)||e.attr(r)||s[t]!==p)}).data("plugin_"+f.name,h)).length;a<l;a++){var u=O(e[a]),c=g(e[a]),d=u.attr(f.imageBaseAttribute)||n;c===E&&d&&u.attr(o)&&u.attr(o,((e,t)=>{if(t){var i=e.split(",");e="";for(var n=0,o=i.length;n<o;n++)e+=t+i[n].trim()+(n!==o-1?",":"")}return e})(u.attr(o),d)),s[c]===p||u.attr(r)||u.attr(r,s[c]),c===E&&t&&!u.attr(S)?u.attr(S,t):c===E||!i||u.css(A)&&"none"!==u.css(A)||u.css(A,"url('"+i+"')")}return e}function l(e,t){if(!m.length)return f.autoDestroy&&h.destroy();for(var i,n,o,r,s,a=t||m,l=!1,u=f.imageBase||"",c=f.srcsetAttribute,d=f.handledName,p=0;p<a.length;p++)(e||t||(n=a[p],r=s=r=o=void 0,n=n.getBoundingClientRect(),o=f.scrollDirection,r=f.threshold,s=(0<=b?b:b=O(M).height())+r>n.top&&-r<n.bottom,r=(0<=w?w:w=O(M).width())+r>n.left&&-r<n.right,"vertical"===o?s:("horizontal"===o||s)&&r))&&(n=O(a[p
1]),o=g(a[p]),s=n.attr(f.attribute),r=n.attr(f.imageBaseAttribute)||u,i=n.attr(f.loaderAttribute),n.data(d)||f.visibleOnly&&!n.is(":visible")||!((s||n.attr(c))&&(o===E&&(r+s!==n.attr(S)||n.attr(c)!==n.attr(F))||o!==E&&r+s!==n.css(A))||i)||(n.data(d,l=!0),((t,e,i,n)=>{++y;var o,r,s=function(){D("onError",t),v(),s=O.noop},a=(D("beforeLoad",t),f.attribute),l=f.srcsetAttribute,u=f.sizesAttribute,c=f.retinaAttribute,d=f.removeAttribute,p=f.loadedName,h=t.attr(c);n?(o=function(){d&&t.removeAttr(f.loaderAttribute),t.data(p,!0),D(k,t),setTimeout(v,1),o=O.noop},t.off(T).one(T,s).one(x,o),D(n,t,function(e){(e?(t.off(x),o):(t.off(T),s))()})||t.trigger(T)):((r=O(new Image)).one(T,s).one(x,function(){t.hide(),e===E?t.attr(_,r.attr(_)).attr(F,r.attr(F)).attr(S,r.attr(S)):t.css(A,"url('"+r.attr(S)+"')"),t[f.effect](f.effectTime),d&&(t.removeAttr(a+" "+l+" "+c+" "+f.imageBaseAttribute),u!==_)&&t.removeAttr(u),t.data(p,!0),D(k,t),r.remove(),v()}),n=(C&&h?h:t.attr(a))||"",r.attr(_,t.attr(u)).attr(F,t.attr(l)).attr(S,n?i+n:null),r.complete&&r.trigger(x))})(n,o,r,i)));l&&(m=O(m).filter(function(){return!O(this).data(d)}))}function g(e){return e.tagName.toLowerCase()}function v(){--y,m.length||y||D("onFinishedAll")}function D(e){return(e=f[e])&&(e.apply(h,[].slice.call(arguments,1)),1)}var y=0,w=-1,b=-1,C=!1,k="afterLoad",x="load",T="error",E="img",S="src",F="srcset",_="sizes",A="background-image";"event"===f.bind||o?i():O(M).on(x+"."+t,i)}function u(e,t){var i=this,n=O.extend({},i.config,t),o={},r=n.name+"-"+ ++a;return i.config=function(e,t){return t===p?n[e]:(n[e]=t,i)},i.addItems=function(e){return o.a&&o.a("string"===O.type(e)?O(e):e),i},i.getItems=function(){return o.g?o.g():{}},i.update=function(e){return o.e&&o.e({},!e),i},i.force=function(e){return o.f&&o.f("string"===O.type(e)?O(e):e),i},i.loadAll=function(){return o.e&&o.e({all:!0},!0),i},i.destroy=function(){return O(n.appendScroll).off("."+r,o.e),O(M).off("."+r),o={},p},s(i,n,e,o,r),n.chainable?e:i}var O=M.jQuery||M.Zepto,a=0,o=!1;O.fn.Lazy=O.fn.lazy=function(e){return new u(this,e)},O.Lazy=O.lazy=function(e,t,i){if(O.isFunction(t)&&(i=t,t=[]),O.isFunction(i)){e=O.isArray(e)?e:[e],t=O.isArray(t)?t:[t];for(var n=u.prototype.config,o=n._f||(n._f={}),r=0,s=e.length;r<s;r++)n[e[r]]!==p&&!O.isFunction(n[e[r]])||(n[e[r]]=i);for(var a=0,l=t.length;a<l;a++)o[t[a]]=e[0]}},u.prototype.config={name:"lazy",chainable:!0,autoDestroy:!0,bind:"load",threshold:500,visibleOnly:!1,appendScroll:M,scrollDirection:"both",imageBase:null,defaultImage:"data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==",placeholder:null,delay:-1,combined:!1,attribute:"data-src",srcsetAttribute:"data-srcset",sizesAttribute:"data-sizes",retinaAttribute:"data-retina",loaderAttribute:"data-loader",imageBaseAttribute:"data-imagebase",removeAttribute:!0,handledName:"handled",loadedName:"loaded",effect:"show",effectTime:0,enableThrottle:!0,throttle:250,beforeLoad:p,afterLoad:p,onError:p,onFinishedAll:p},O(M).on("load",function(){o=!0})})(window),(l=>{l.lazy(["av","audio","video"],["audio","video"],function(i,e){var o,t,n,r,s,a=i[0].tagName.toLowerCase();"audio"===a||"video"===a?(o="data-src",t=i.find(o),a=i.find("data-track"),n=0,r=function(){++n===t.length&&e(!1)},s=function(){var e=l(this),t=e[0].tagName.toLowerCase(),i=e.prop("attributes"),n=l(t===o?"<source>":"<track>");t===o&&n.one("error",r),l.each(i,function(e,t){n.attr(t.name,t.value)}),e.replaceWith(n)},i.one("loadedmetadata",function(){e(!0)}).off("load error").attr("poster",i.attr("data-poster")),t.length?t.each(s):i.attr(o)?(l.each(i.attr(o).split(","),function(e,t){t=t.split("|");i.append(l("<source>").one("error",r).attr({src:t[0].trim(),type:t[1].trim()}))}),this.config("removeAttribute")&&i.removeAttr(o)):e(!1),a.length&&a.each(s)):e(!1)})})(window.jQuery||window.Zepto),(p=>{p.browser||(p.browser={},p.browser.mozilla=/mozilla/.test(navigator.userAgent.toLowerCase())&&!/webkit/.test(navigator.userAgent.toLowerCase()),p.browser.webkit=/webkit/.test(navigator.userAgent.toLowerCase()),p.browser.opera=/opera/.test(navigator.userAgent.toLowerCase()),p.browser.msie=/msie/.test(navigator.userAgent.toLowerCase()),p.browser.device=/android|webos|iphone|ipad|ipod|blackberry|iemobile|opera mini/i.test(navigator.userAgent.toLowerCase()));var i={prefix:"",suffix:"",affixesStay:!0,thousands:",",decimal:".",precision:2,allowZero:!1,allowNegative:!1,doubleClickSelection:!0,allowEmpty:!1,bringCaretAtEndOnFocus:!0},t={destroy:function(){return p(this).unbind(".maskMoney"),p.browser.msie&&(this.onpaste=null),this},applyMask:function(e){return f(e,p(this).data("settings"))},mask:function(t){return this.each(function(){var e=p(this);return"number"==typeof t&&e.val(t),e.trigger("mask")})},unmasked:function(){return this.map(function(){var i,e=p(this).val()||"0",t=-1!==e.indexOf("-");return p(e.split(/\D/).reverse()).each(function(e,t){if(t)return i=t,!1}),e=(e=e.replace(/\D/g,"")).replace(new RegExp(i+"$"),"."+i),t&&(e="-"+e),parseFloat(e)})},unmaskedWithOptions:function(){return this.map(function(){var e=p(this).val()||"0",t=p(this).data("settings")||i,t=new RegExp(t.thous
1andsForUnmasked||t.thousands,"g"),e=e.replace(t,"");return parseFloat(e)})},init:function(s){return s=p.extend(p.extend({},i),s),this.each(function(){var a,t,l=p(this);function u(){var e,t,i,n,o=l.get(0),r=0,s=0;return"number"==typeof o.selectionStart&&"number"==typeof o.selectionEnd?(r=o.selectionStart,s=o.selectionEnd):(n=document.selection.createRange())&&n.parentElement()===o&&(i=o.value.length,e=o.value.replace(/\r\n/g,"\n"),(t=o.createTextRange()).moveToBookmark(n.getBookmark()),(n=o.createTextRange()).collapse(!1),-1<t.compareEndPoints("StartToEnd",n)?r=s=i:(r=-t.moveStart("character",-i),r+=e.slice(0,r).split("\n").length-1,-1<t.compareEndPoints("EndToEnd",n)?s=i:(s=-t.moveEnd("character",-i),s+=e.slice(0,s).split("\n").length-1))),{start:r,end:s}}function o(e){var t,i,n=l.val().length;l.val(f(l.val(),a)),t=l.val().length,a.reverse||(e-=n-t),i=e,a.formatOnBlur||l.each(function(e,t){t.setSelectionRange?(t.focus(),t.setSelectionRange(i,i)):t.createTextRange&&((t=t.createTextRange()).collapse(!0),t.moveEnd("character",i),t.moveStart("character",i),t.select())})}function i(){var e,t,i,n=l.val();a.allowEmpty&&""===n||(e=n.indexOf(a.decimal),0<a.precision?e<0?n+=a.decimal+new Array(a.precision+1).join(0):(t=n.slice(0,e),i=n.slice(e+1),n=t+a.decimal+i+new Array(a.precision+1-i.length).join(0)):0<e&&(n=n.slice(0,e)),l.val(f(n,a)))}function c(e){e.preventDefault?e.preventDefault():e.returnValue=!1}function n(e){var t,i,n,o,r=(e=e||window.event).which||e.charCode||e.keyCode,s=a.decimal.charCodeAt(0);if(void 0===r)return!1;if(!(r<48||57<r)||r===s&&a.reverse){if(n=!(l.val().length>=l.attr("maxlength")&&0<=l.attr("maxlength")),t=(i=u()).start,i=!(i.start===(o=i.end)||!l.val().substring(t,o).match(/\d/)),t="0"===l.val().substring(0,1),(n||i||t)&&(r!==s||!(()=>!(()=>{var e=l.val().length,t=u();return 0===t.start&&t.end===e})()&&-1<l.val().indexOf(a.decimal))())){if(a.formatOnBlur)return!0;c(e),d(e)}return!1}return o=e,45===(n=r)?(l.val((()=>{var e=l.val();return a.allowNegative?""!==e&&"-"===e.charAt(0)?e.replace("-",""):"-"+e:e})()),!1):43===n?(l.val(l.val().replace("-","")),!1):(13===n||9===n||p.browser.mozilla&&(37===n||39===n)&&0===o.charCode||c(o),!0)}function d(e){var t,i,e=(e=e||window.event).which||e.charCode||e.keyCode,n="";48<=e&&e<=57&&(n=String.fromCharCode(e)),t=(e=u()).start,e=e.end,i=l.val(),l.val(i.substring(0,t)+n+i.substring(e,i.length)),o(t+1)}function e(){setTimeout(function(){i()},0)}function r(){return(parseFloat("0")/Math.pow(10,a.precision)).toFixed(a.precision).replace(new RegExp("\\.","g"),a.decimal)}a=p.extend({},s),a=p.extend(a,l.data()),l.data("settings",a),p.browser.device&&l.attr("type","tel"),l.unbind(".maskMoney"),l.bind("keypress.maskMoney",n),l.bind("keydown.maskMoney",function(e){var t,i,n=(e=e||window.event).which||e.charCode||e.keyCode;return void 0!==n&&(t=(i=u()).start,i=i.end,8!==n&&46!==n&&63272!==n||(c(e),e=l.val(),t===i&&(8===n?""===a.suffix?
1--t:(n=e.split("").reverse().join("").search(/\d/),i=(t=e.length-n-1)+1):i+=1),l.val(e.substring(0,t)+e.substring(i,e.length)),o(t),!1))}),l.bind("blur.maskMoney",function(e){p.browser.msie&&n(e),a.formatOnBlur&&l.val()!==t&&d(e),""===l.val()&&a.allowEmpty?l.val(""):""===l.val()||l.val()===h(r(),a)?a.allowZero?a.affixesStay?l.val(h(r(),a)):l.val(r()):l.val(""):a.affixesStay||(e=l.val().replace(a.prefix,"").replace(a.suffix,""),l.val(e)),l.val()!==t&&l.change()}),l.bind("focus.maskMoney",function(){t=l.val(),i();var e=l.get(0);a.selectAllOnFocus?e.select():e.createTextRange&&a.bringCaretAtEndOnFocus&&((e=e.createTextRange()).collapse(!1),e.select())}),l.bind("click.maskMoney",function(){var e,t=l.get(0);a.selectAllOnFocus||(t.setSelectionRange&&a.bringCaretAtEndOnFocus?(e=l.val().length,t.setSelectionRange(e,e)):l.val(l.val()))}),l.bind("dblclick.maskMoney",function(){var e,t,i=l.get(0);i.setSelectionRange&&a.bringCaretAtEndOnFocus?(t=l.val().length,e=a.doubleClickSelection?0:t,i.setSelectionRange(e,t)):l.val(l.val())}),l.bind("cut.maskMoney",e),l.bind("paste.maskMoney",e),l.bind("mask.maskMoney",i)})}};function h(e,t){var i="";return-1<e.indexOf("-")&&(e=e.replace("-",""),i="-"),-1<(e=-1<e.indexOf(t.prefix)?e.replace(t.prefix,""):e).indexOf(t.suffix)&&(e=e.replace(t.suffix,"")),i+t.prefix+e+t.suffix}function f(e,t){var i,n,o,r,s;return t.allowEmpty&&""===e?"":t.reverse?(i=t,s=-1<(r=e).indexOf("-")&&i.allowNegative?"-":"",o=(r=r.replace(i.prefix,"").replace(i.suffix,"")).split(i.decimal)[0],s=a(o=(n="")===o?"0":o,s,i),0<i.precision&&(1<(r=r.split(i.decimal)).length&&(n=r[1]),s+=i.decimal+n,r=Number.parseFloat(o+"."+n).toFixed(i.precision).toString().split(i.decimal)[1],s=s.split(i.decimal)[0]+"."+r),h(s,i)):(o=t,r=-1<(n=e).indexOf("-")&&o.allowNegative?"-":"",s=a(s=(n=n.replace(/[^0-9]/g,"")).slice(0,n.length-o.precision),r,o),0<o.precision&&(r=n.slice(n.length-o.precision),n=new Array(o.precision+1-r.length).join(0),s+=o.decimal+n+r),h(s,o))}function a(e,t,i){return t+(e=""===(e=(e=e.replace(/^0*/g,"")).replace(/\B(?=(\d{3})+(?!\d))/g,i.thousands))?"0":e)}p.fn.maskMoney=function(e){return t[e]?t[e].apply(this,Array.prototype.slice.call(arguments,1)):"object"!=typeof e&&e?void p.error("Method "+e+" does not exist on jQuery.maskMoney"):t.init.apply(this,arguments)}})(window.jQuery||window.Zepto),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?e(require("jquery")):e(window.jQuery||window.Zepto)})(function(u){function e(){}function c(e,t){f.ev.on("mfp"+e+k,t)}function d(e,t,i,n){var o=document.createElement("div");return o.className="mfp-"+e,i&&(o.innerHTML=i),n?t&&t.appendChild(o):(o=u(o),t&&o.appendTo(t)),o}function p(e,t){f.ev.triggerHandler("mfp"+e,t),f.st.callbacks&&(e=e.charAt(0).toLowerCase()+e.slice(1),f.st.callbacks[e])&&f.st.callbacks[e].apply(f,u.isArray(t)?t:[t])}function h(e){return e===i&&f.currTemplate.closeBtn||(f.currTemplate.closeBtn=u(f.st.closeMarkup.replace("%title%",f.st.tClose)),i=e),f.currTemplate.closeBtn}function r(){u.magnificPopup.instance||((f=new e).init(),u.magnificPopup.instance=f)}function s(){D&&(v.after(D.addClass(l)).detach(),D=null)}function o(){y&&u(document.body).removeClass(y)}function t(){o(),f.req&&f.req.abort()}var f,n,m,a,g,i,l,v,D,y,w="Close",N="BeforeClose",b="MarkupParse",C="Open",k=".mfp",x="mfp-ready",P="mfp-removing",T="mfp-prevent-close",E=!!window.jQuery,S=u(window),F=(u.magnificPopup={instance:null,proto:e.prototype={constructor:e,init:function(){var e=navigator.appVersion;f.isLowIE=f.isIE8=document.all&&!document.addEventListener,f.isAndroid=/android/gi.test(e),f.isIOS=/iphone|ipad|ipod/gi.test(e),f.supportsTransition=(()=>{var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1})(),f.probablyMobile=f.isAndroid||f.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),m=u(document),f.popupsCache={}},open:function(e){if(!1===e.isObj){f.items=e.items.toArray(),f.index=0;for(var t,i=e.items,n=0;n<i.length;n++)if((t=(t=i[n]).parsed?t.el[0]:t)===e.el[0]){f.index=n;break}}else f.items=u.isArray(e.items)?e.items:[e.items],f.index=e.index||0;if(!f.isOpen){f.types=[],g="",e.mainEl&&e.mainEl.length?f.ev=e.mainEl.eq(0):f.ev=m,e.key?(f.popupsCache[e.key]||(f.popupsCache[e.key]={}),f.currTemplate=f.popupsCache[e.key]):f.currTemplate={},f.st=u.extend(!0,{},u.magnificPopup.defaults,e),f.fixedContentPos="auto"===f.st.fixedContentPos?!f.probablyMobile:f.st.fixedContentPos,f.st.modal&&(f.st.closeOnContentClick=!1,f.st.closeOnBgClick=!1,f.st.showCloseBtn=!1,f.st.enableEscapeKey=!1),f.bgOverlay||(f.bgOverlay=d("bg").on("click"+k,function(){f.close()}),f.wrap=d("wrap").attr("tabindex",-1).on("click"+k,function(e){f._checkIfClose(e.target)&&f.close()}),f.container=d("container",f.wrap)),f.contentContainer=d("content"),f.st.preloader&&(f.preloader=d("preloader",f.container,f.st.tLoading));var o=u.magnificPopup.modules;for(n=0;n<o.length;n++){var r=(r=o[n]).charAt(0).toUpperCase()+r.slice(1);f["init"+r].call(f)}p("BeforeOpen"),f.st.showCloseBtn&&(f.st.closeBtnInside?(c(b,function(e,t,i,n){i.close_replaceWith=h(n.type)}),g+=" mfp-close-btn-in"):f.wrap.append(h())),f.st.alignTop&&(g+=" mfp-align-top"),f.fixedContentPos?f.wrap.css({overflow:f.st.overflowY,overflowX:"hidden",overflowY:f.st.overflowY}):f.wrap.css({top:S.scrollTop(),position:"absolute"}),!1!==f.st.fixedBgPos&&("auto"!==f.st.fixedBgPos||f.fixedContentPos)||f.bgOverlay.css({height:m.height(),position:"absolute"}
vendor: 16,406 bytes, line 1
1),f.st.enableEscapeKey&&m.on("keyup"+k,function(e){27===e.keyCode&&f.close()}),S.on("resize"+k,function(){f.updateSize()}),f.st.closeOnContentClick||(g+=" mfp-auto-cursor"),g&&f.wrap.addClass(g);var s=f.wH=S.height(),a={},l=(f.fixedContentPos&&f._hasScrollBar(s)&&(l=f._getScrollbarSize())&&(a.marginRight=l),f.fixedContentPos&&(f.isIE7?u("body, html").css("overflow","hidden"):a.overflow="hidden"),f.st.mainClass);return f.isIE7&&(l+=" mfp-ie7"),l&&f._addClassToMFP(l),f.updateItemHTML(),p("BuildControls"),u("html").css(a),f.bgOverlay.add(f.wrap).prependTo(f.st.prependTo||u(document.body)),f._lastFocusedEl=document.activeElement,setTimeout(function(){f.content?(f._addClassToMFP(x),f._setFocus()):f.bgOverlay.addClass(x),m.on("focusin"+k,f._onFocusIn)},16),f.isOpen=!0,f.updateSize(s),p(C),e}f.updateItemHTML()},close:function(){f.isOpen&&(p(N),f.isOpen=!1,f.st.removalDelay&&!f.isLowIE&&f.supportsTransition?(f._addClassToMFP(P),setTimeout(function(){f._close()},f.st.removalDelay)):f._close())},_close:function(){p(w);var e=P+" "+x+" ";f.bgOverlay.detach(),f.wrap.detach(),f.container.empty(),f.st.mainClass&&(e+=f.st.mainClass+" "),f._removeClassFromMFP(e),f.fixedContentPos&&(e={marginRight:""},f.isIE7?u("body, html").css("overflow",""):e.overflow="",u("html").css(e)),m.off("keyup.mfp focusin"+k),f.ev.off(k),f.wrap.attr("class","mfp-wrap").removeAttr("style"),f.bgOverlay.attr("class","mfp-bg"),f.container.attr("class","mfp-container"),!f.st.showCloseBtn||f.st.closeBtnInside&&!0!==f.currTemplate[f.currItem.type]||f.currTemplate.closeBtn&&f.currTemplate.closeBtn.detach(),f.st.autoFocusLast&&f._lastFocusedEl&&u(f._lastFocusedEl).focus(),f.currItem=null,f.content=null,f.currTemplate=null,f.prevHeight=0,p("AfterClose")},updateSize:function(e){var t;f.isIOS?(t=document.documentElement.clientWidth/window.innerWidth,f.wrap.css("height",t=window.innerHeight*t),f.wH=t):f.wH=e||S.height(),f.fixedContentPos||f.wrap.css("height",f.wH),p("Resize")},updateItemHTML:function(){var e=f.items[f.index],t=(f.contentContainer.detach(),f.content&&f.content.detach(),(e=e.parsed?e:f.parseEl(f.index)).type),i=(p("BeforeChange",[f.currItem?f.currItem.type:"",t]),f.currItem=e,f.currTemplate[t]||(i=!!f.st[t]&&f.st[t].markup,p("FirstMarkupParse",i),f.currTemplate[t]=!i||u(i)),a&&a!==e.type&&f.container.removeClass("mfp-"+a+"-holder"),f["get"+t.charAt(0).toUpperCase()+t.slice(1)](e,f.currTemplate[t]));f.appendContent(i,t),e.preloaded=!0,p("Change",e),a=e.type,f.container.prepend(f.contentContainer),p("AfterChange")},appendContent:function(e,t){(f.content=e)?f.st.showCloseBtn&&f.st.closeBtnInside&&!0===f.currTemplate[t]?f.content.find(".mfp-close").length||f.content.append(h()):f.content=e:f.content="",p("BeforeAppend"),f.container.addClass("mfp-"+t+"-holder"),f.contentContainer.append(f.content)},parseEl:function(e){var t,i=f.items[e];if((i=i.tagName?{el:u(i)}:(t=i.type,{data:i,src:i.src})).el){for(var n=f.types,o=0;o<n.length;o++)if(i.el.hasClass("mfp-"+n[o])){t=n[o];break}i.src=i.el.attr("data-mfp-src"),i.src||(i.src=i.el.attr("href"))}return i.type=t||f.st.type||"inline",i.index=e,i.parsed=!0,f.items[e]=i,p("ElementParse",i),f.items[e]},addGroup:function(t,i){function e(e){e.mfpEl=this,f._openClick(e,t,i)}var n="click.magnificPopup";(i=i||{}).mainEl=t,i.items?(i.isObj=!0,t.off(n).on(n,e)):(i.isObj=!1,i.delegate?t.off(n).on(n,i.delegate,e):(i.items=t).off(n).on(n,e))},_openClick:function(e,t,i){var n=(void 0!==i.midClick?i:u.magnificPopup.defaults).midClick;if(n||!(2===e.which||e.ctrlKey||e.metaKey||e.altKey||e.shiftKey)){n=(void 0!==i.disableOn?i:u.magnificPopup.defaults).disableOn;if(n)if(u.isFunction(n)){if(!n.call(f))return!0}else if(S.width()<n)return!0;e.type&&(e.preventDefault(),f.isOpen)&&e.stopPropagation(),i.el=u(e.mfpEl),i.delegate&&(i.items=t.find(i.delegate)),f.open(i)}},updateStatus:function(e,t){var i;f.preloader&&(n!==e&&f.container.removeClass("mfp-s-"+n),i={status:e,text:t=t||"loading"!==e?t:f.st.tLoading},p("UpdateStatus",i),e=i.status,f.preloader.html(t=i.text),f.preloader.find("a").on("click",function(e){e.stopImmediatePropagation()}),f.container.addClass("mfp-s-"+e),n=e)},_checkIfClose:function(e){if(!u(e).hasClass(T)){var t=f.st.closeOnContentClick,i=f.st.closeOnBgClick;if(t&&i)return!0;if(!f.content||u(e).hasClass("mfp-close")||f.preloader&&e===f.preloader[0])return!0;if(e===f.content[0]||u.contains(f.content[0],e)){if(t)return!0}else if(i&&u.contains(document,e))return!0;return!1}},_addClassToMFP:function(e){f.bgOverlay.addClass(e),f.wrap.addClass(e)},_removeClassFromMFP:function(e){this.bgOverlay.removeClass(e),f.wrap.removeClass(e)},_hasScrollBar:function(e){return(f.isIE7?m.height():document.body.scrollHeight)>(e||S.height())},_setFocus:function(){(f.st.focus?f.content.find(f.st.focus).eq(0):f.wrap).focus()},_onFocusIn:function(e){if(e.target!==f.wrap[0]&&!u.contains(f.wrap[0],e.target))return f._setFocus(),!1},_parseMarkup:function(o,e,t){var r;t.data&&(e=u.extend(t.data,e)),p(b,[o,e,t]),u.each(e,function(e,t){if(void 0===t||!1===t)return!0;var i,n;1<(r=e.split("_")).length?0<(i=o.find(k+"-"+r[0])).length&&("replaceWith"===(n=r[1])?i[0]!==t[0]&&i.replaceWith(t):"img"===n?i.is("img")?i.attr("src",t):i.replaceWith(u("<img>").attr("src",t).attr("class",i.attr("class"))):i.attr(r[1],t)):o.find(k+"-"+e).html(t)})},_getScrollbarSize:function(){var e;return void 0===f.scrollbarSize&&((e=document.createElement("div")).style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),f.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)),f.scrollbarSize}},modules:[],open:function(e,t){return r(),(e=e?u.extend(!0,{},e):{}).isObj=!0,e.index=t||0,this.instance.open(e)},close:function(){return u.magnificPopup.instance&&u.magnificPopup.instance.close()},registerModule:function(e,t){t.options&&(u.magnificPopup.defaults[e]=t.options),u.extend(this.proto,t.proto),this.modules.push(e)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'<button title="%title%" type="button" class="mfp-close">×</button>',tClose:"Close (Esc)",tLoading:"Loading...",autoFocusLast:!0}},u.fn.magnificPopup=function(e){r();var t,i,n,o=u(this);return"string"==typeof e?"open"===e?(t=E?o.data("magnificPopup"):o[0].magnificPopup,i=parseInt(arguments[1],10)||0,n=t.items?t.items[i]:(n=o,(n=t.delegate?n.find(t.delegate):n).eq(i)),f._openClick({mfpEl:n},o,t)):f.isOpen&&f[e].apply(f,Array.prototype.slice.call(arguments,1)):(e=u.extend(!0,{},e),E?o.data("magnificPopup",e):o[0].magnificPopup=e,f.addGroup(o,e)),o},"inline"),_=(u.magnificPopup.registerModule(F,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){f.types.push(F),c(w+"."+F,function(){s()})},getInline:function(e,t){var i,n,o;return s(),e.src?(i=f.st.inline,(n=u(e.src)).length?((o=n[0].parentNode)&&o.tagName&&(v||(l=i.hiddenClass,v=d(l),l="mfp-"+l),D=n.after(v).detach().removeClass(l)),f.updateStatus("ready")):(f.updateStatus("error",i.tNotFound),n=u("<div>")),e.inlineElement=n):(f.updateStatus("ready"),f._parseMarkup(t,{},e),t)}}}),"ajax");u.magnificPopup.registerModule(_,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'<a href="%url%">The content</a> could not be loaded.'},proto:{initAjax:function(){f.types.push(_),y=f.st.ajax.cursor,c(w+"."+_,t),c("BeforeChange."+_,t)},getAjax:function(n){y&&u(document.body).addClass(y),f.updateStatus("loading");var e=u.extend({url:n.src,success:function(e,t,i){e={data:e,xhr:i};p("ParseAjax",e),f.appendContent(u(e.data),_),n.finished=!0,o(),f._setFocus(),setTimeout(function(){f.wrap.addClass(x)},16),f.updateStatus("ready"),p("AjaxContentAdded")},error:function(){o(),n.finished=n.loadError=!0,f.updateStatus("error",f.st.ajax.tError.replace("%url%",n.src))}},f.st.ajax.settings);return f.req=u.ajax(e),""}}});var A;u.magnificPopup.registerModule("image",{options:{markup:'<div class="mfp-figure"><div class="mfp-close"></div><figure><div class="mfp-img"></div><figcaption><div class="mfp-bottom-bar"><div class="mfp-title"></div><div class="mfp-counter"></div></div></figcaption></figure></div>',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'<a href="%url%">The image</a> could not be loaded.'},proto:{initImage:function(){var e=f.st.image,t=".image";f.types.push("image"),c(C+t,function(){"image"===f.currItem.type&&e.cursor&&u(document.body).addClass(e.cursor)}),c(w+t,function(){e.cursor&&u(document.body).removeClass(e.cursor),S.off("resize"+k)}),c("Resize"+t,f.resizeImage),f.isLowIE&&c("AfterChange",f.resizeImage)},resizeImage:function(){var e,t=f.currItem;t&&t.img&&f.st.image.verticalFit&&(e=0,f.isLowIE&&(e=parseInt(t.img.css("padding-top"),10)+parseInt(t.img.css("padding-bottom"),10)),t.img.css("max-height",f.wH-e))},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,A&&clearInterval(A),e.isCheckingImgSize=!1,p("ImageHasSize",e),e.imgHidden)&&(f.content&&f.content.removeClass("mfp-loading"),e.imgHidden=!1)},findImageSize:function(t){function i(e){A&&clearInterval(A),A=setInterval(function(){0<o.naturalWidth?f._onImageHasSize(t):(200<n&&clearInterval(A),3===++n?i(10):40===n?i(50):100===n&&i(500))},e)}var n=0,o=t.img[0];i(1)},getImage:function(e,t){function i(){e&&(e.img[0].complete?(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("ready")),e.hasSize=!0,e.loaded=!0,p("ImageLoadComplete")):++r<200?setTimeout(i,100):n())}function n(){e&&(e.img.off(".mfploader"),e===f.currItem&&(f._onImageHasSize(e),f.updateStatus("error",s.tError.replace("%url%",e.src))),e.hasSize=!0,e.loaded=!0,e.loadError=!0)}var o,r=0,s=f.st.image,a=t.find(".mfp-img");return a.length&&((o=document.createElement("img")).className="mfp-img",e.el&&e.el.find("img").length&&(o.alt=e.el.find("img").attr("alt")),e.img=u(o).on("load.mfploader",i).on("error.mfploader",n),o.src=e.src,a.is("img")&&(e.img=e.img.clone()),0<(o=e.img[0]).naturalWidth?e.hasSize=!0:o.width||(e.hasSize=!1)),f._parseMarkup(t,{title:(e=>{if(e.data&&void 0!==e.data.title)return e.data.title;var t=f.st.image.titleSrc;if(t){if(u.isFunction(t))return t.call(f,e);if(e.el)return e.el.attr(t)||""}return""})(e),img_replaceWith:e.img},e),f.resizeImage(),e.hasSize?(A&&clearInterval(A),e.loadError?(t.addClass("mfp-loading"),f.updateStatus("error",s.tError.replace("%url%",e.src))):(t.removeClass("mfp-loading"),f.updateStatus("ready"))):(f.updateStatus("loading"),e.loading=!0,e.hasSize||(e.imgHidden=!0,t.addClass("mfp-loading"),f.findImageSize(e))),t}}});function M(e){var t;f.currTemplate[L]&&(t=f.currTemplate[L].find("iframe")).length&&(e||(t[0].src="//about:blank"),f.isIE8)&&t.css("display",e?"block":"none")}function O(e){var t=f.items.length;return t-1<e?e-t:e<0?t+e:e}function B(e,t,i){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,i)}u.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e,t,i,n,o,r,s=f.st.zoom,a=".zoom";s.enabled&&f.supportsTransition&&(t=s.duration,i=function(e){var e=e.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),t="all "+s.duration/1e3+"s "+s.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},n="transition";return i["-webkit-"+n]=i["-moz-"+n]=i["-o-"+n]=i[n]=t,e.css(i),e},n=function(){f.content.css("visibility","visible")},c("BuildControls"+a,function(){f._allowZoom()&&(clearTimeout(o),f.content.css("visibility","hidden"),(e=f._getItemToZoom())?((r=i(e)).css(f._getOffset()),f.wrap.append(r),o=setTimeout(function(){r.css(f._getOffset(!0)),o=setTimeout(function(){n(),setTimeout(function(){r.remove(),e=r=null,p("ZoomAnimationEnded")},16)},t)},16)):n())}),c(N+a,function(){if(f._allowZoom()){if(clearTimeout(o),f.st.removalDelay=t,!e){if(!(e=f._getItemToZoom()))return;r=i(e)}r.css(f._getOffset(!0)),f.wrap.append(r),f.content.css("visibility","hidden"),setTimeout(function(){r.css(f._getOffset())},16)}}),c(w+a,function(){f._allowZoom()&&(n(),r&&r.remove(),e=null)}))},_allowZoom:function(){return"image"===f.currItem.type},_getItemToZoom:function(){return!!f.currItem.hasSize&&f.currItem.img},_getOffset:function(e){var e=e?f.currItem.img:f.st.zoom.opener(f.currItem.el||f.currItem),t=e.offset(),i=parseInt(e.css("padding-top"),10),n=parseInt(e.css("padding-bottom"),10),e=(t.top-=u(window).scrollTop()-i,{width:e.width(),height:(E?e.innerHeight():e[0].offsetHeight)-n-i});return(I=void 0===I?void 0!==document.createElement("p").style.MozTransform:I)?e["-moz-transform"]=e.transform="translate("+t.left+"px,"+t.top+"px)":(e.left=t.left,e.top=t.top),e}}});var I,L="iframe",$=(u.magnificPopup.registerModule(L,{options:{markup:'<div class="mfp-iframe-scaler"><div class="mfp-close"></div><iframe class="mfp-iframe" src="//about:blank" frameborder="0" allowfullscreen></iframe></div>',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?rel=0&autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){f.types.push(L),c("BeforeChange",function(e,t,i){t!==i&&(t===L?M():i===L&&M(!0))}),c(w+"."+L,function(){M()})},getIframe:function(e,t){var i=e.src,n=f.st.iframe,o=(u.each(n.patterns,function(){if(-1<i.indexOf(this.index))return this.id&&(i="string"==typeof this.id?i.substr(i.lastIndexOf(this.id)+this.id.length,i.length):this.id.call(this,i)),i=this.src.replace("%id%",i),!1}),{});return n.srcAction&&(o[n.srcAction]=i),f._parseMarkup(t,o,e),f.updateStatus("ready"),t}}}),u.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'<button title="%title%" type="button" class="mfp-arrow mfp-arrow-%dir%"></button>',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var r=f.st.gallery,e=".mfp-gallery";if(f.direction=!0,!r||!r.enabled)return!1;g+=" mfp-gallery",c(C+e,function(){r.navigateByImgClick&&f.wrap.on("click"+e,".mfp-img",function(){if(1<f.items.length)return f.next(),!1}),m.on("keydown"+e,function(e){37===e.keyCode?f.prev():39===e.keyCode&&f.next()})}),c("UpdateStatus"+e,function(e,t){t.text&&(t.text=B(t.text,f.currItem.index,f.items.length))}),c(b+e,function(e,t,i,n){var o=f.items.length;i.counter=1<o?B(r.tCounter,n.index,o):""}),c("BuildControls"+e,function(){var e,t;1<f.items.length&&r.arrows&&!f.arrowLeft&&(t=r.arrowMarkup,e=f.arrowLeft=u(t.replace(/%title%/gi,r.tPrev).replace(/%dir%/gi,"left")).addClass(T),t=f.arrowRight=u(t.replace(/%title%/gi,r.tNext).replace(/%dir%/gi,"right")).addClass(T),e.click(function(){f.prev()}),t.click(function(){f.next()}),f.container.append(e.add(t)))}),c("Change"+e,function(){f._preloadTimeout&&clearTimeout(f._preloadTimeout),f._preloadTimeout=setTimeout(function(){f.preloadNearbyImages(),f._preloadTimeout=null},16)}),c(w+e,function(){m.off(e),f.wrap.off("click"+e),f.arrowRight=f.arrowLeft=null})},next:function(){f.direction=!0,f.index=O(f.index+1),f.updateItemHTML()},prev:function(){f.direction=!1,f.index=O(f.index-1),f.updateItemHTML()},goTo:function(e){f.direction=e>=f.index,f.index=e,f.updateItemHTML()},preloadNearbyImages:function(){for(var e=f.st.gallery.preload,t=Math.min(e[0],f.items.length),i=Math.min(e[1],f.items.length),n=1;n<=(f.direction?i:t);n++)f._preloadItem(f.index+n);for(n=1;n<=(f.direction?t:i);n++)f._preloadItem(f.index-n)},_preloadItem:function(e){var t;e=O(e),f.items[e].preloaded||((t=f.items[e]).parsed||(t=f.parseEl(e)),p("LazyLoad",t),"image"===t.type&&(t.img=u('<img class="mfp-img" />').on("load.mfploader",function(){t.hasSize=!0}).on("error.mfploader",function(){t.hasSize=!0,t.loadError=!0,p("LazyLoadError",t)}).attr("src",t.src)),t.preloaded=!0)}}}),"retina");u.magnificPopup.registerModule($,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){var i,n;1<window.devicePixelRatio&&(i=f.st.retina,n=i.ratio,1<(n=isNaN(n)?n():n))&&(c("ImageHasSize."+$,function(e,t){t.img.css({"max-width":t.img[0].naturalWi
1dth/n,width:"100%"})}),c("ElementParse."+$,function(e,t){t.src=i.replaceSrc(t,n)}))}}}),r()});var _extends=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_createClass=(()=>{function n(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(e,t,i){return t&&n(e.prototype,t),i&&n(e,i),e}})(),_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};((t,i,n)=>{"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(i,n,e)}):"object"===("undefined"==typeof module?"undefined":_typeof(module))&&module.exports?module.exports=t(i,n,require("jquery")):t(i,n,jQuery)})(function(t,o,e){_createClass(n,[{key:"log",value:function(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"debug",i=this.opt.log;this.opt.debug&&"object"===(void 0===i?"undefined":_typeof(i))&&"function"==typeof i[t]&&i[t]("mark.js: "+e)}},{key:"escapeStr",value:function(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}},{key:"createRegExp",value:function(e){return e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),this.opt.ignoreJoiners&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),this.opt.ignoreJoiners&&(e=this.createIgnoreJoinersRegExp(e)),this.createAccuracyRegExp(e)}},{key:"createSynonymsRegExp",value:function(e){var t,i,n,o=this.opt.synonyms,r=this.opt.caseSensitive?"":"i";for(t in o)o.hasOwnProperty(t)&&(n=o[t],i=this.escapeStr(t),n=this.escapeStr(n),e=e.replace(new RegExp("("+i+"|"+n+")","gm"+r),"("+i+"|"+n+")"));return e}},{key:"setupIgnoreJoinersRegExp",value:function(e){return e.replace(/[^(|)\\]/g,function(e,t,i){i=i.charAt(t+1);return/[(|)\\]/.test(i)||""===i?e:e+"\0"})}},{key:"createIgnoreJoinersRegExp",value:function(e){return e.split("\0").join("[\\u00ad|\\u200b|\\u200c|\\u200d]?")}},{key:"createDiacriticsRegExp",value:function(i){var n=this.opt.caseSensitive?"":"i",e=this.opt.caseSensitive?["aà áâãäåÄÄ
Ä","AÃÃÃÃÃÃ
ÄÄÄ","cçÄÄ","CÃÄÄ","dÄÄ","DÄÄ","eèéêëÄÄÄ","EÃÃÃÃÄÄÄ","iìÃîïī","IÃÃÃÃĪ","lÅ","LÅ","nñÅÅ","NÃÅÅ","oòóôõöøÅ","OÃÃÃÃÃÃÅ","rÅ","RÅ","sÅ¡ÅÈ","SÅ ÅÈ","tÅ¥È","TŤÈ","uùúûüůū","UÃÃÃÃŮŪ","yÿý","YŸÃ","zžżź","ZŽŻŹ"]:["aÃÃÃÃÃÃ
à áâãäåÄÄÄ
ÄÄÄ","cÃçÄÄÄÄ","dÄÄÄÄ","eÃÃÃÃèéêëÄÄÄÄÄÄ","iÃÃÃÃìÃîïĪī","lÅÅ","nÃñÅÅÅÅ","oÃÃÃÃÃÃòóôõöøÅÅ","rÅÅ","sÅ Å¡ÅÅÈÈ","tťŤÈÈ","uÃÃÃÃùúûüůŮŪū","yŸÿýÃ","zŽžżŻźŹ"],o=[];return i.split("").forEach(function(t){e.every(function(e){if(-1!==e.indexOf(t)){if(-1<o.indexOf(e))return!1;i=i.replace(new RegExp("["+e+"]","gm"+n),"["+e+"]"),o.push(e)}return!0})}),i}},{key:"createMergedBlanksRegExp",value:function(e){return e.replace(/[\s]+/gim,"[\\s]+")}},{key:"createAccuracyRegExp",value:function(e){var t=this,i=this.opt.accuracy,n="string"==typeof i?i:i.value,i="string"==typeof i?[]:i.limiters,o="";switch(i.forEach(function(e){o+="|"+t.escapeStr(e)}),n){case"partially":default:return"()("+e+")";case"complementary":return"()([^\\s"+o+"]*"+e+"[^\\s"+o+"]*)";case"exactly":return"(^|\\s"+o+")("+e+")(?=$|\\s"+o+")"}}},{key:"getSeparatedKeywords",value:function(e){var t=this,i=[];return e.forEach(function(e){t.opt.separateWordSearch?e.split(" ").forEach(function(e){e.trim()&&-1===i.indexOf(e)&&i.push(e)}):e.trim()&&-1===i.indexOf(e)&&i.push(e)}),{keywords:i.sort(function(e,t){return t.length-e.length}),length:i.length}}},{key:"getTextNodes",value:function(e){var t=this,i="",n=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,function(e){n.push({start:i.length,end:(i+=e.textContent).length,node:e})},function(e){return t.matchesExclude(e.parentNode,!0)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},function(){e({value:i,nodes:n})})}},{key:"matchesExclude",value:function(e,t){var i=this.opt.exclude.concat(["script","style","title","head","html"]);return t&&(i=i.concat(["*[data-markjs='true']"])),r.matches(e,i)}},{key:"wrapRangeInTextNode",value:function(e,t,i){var n=this.opt.element||"mark",e=e.splitText(t),i=e.splitText(i-t),t=o.createElement(n);return t.setAttribute("data-markjs","true"),this.opt.className&&t.setAttribute("class",this.opt.className),t.textContent=e.textContent,e.parentNode.replaceChild(t,e),i}},{key:"wrapRangeInMappedTextNode",value:function(r,s,a,l,u){var c=this;r.nodes.every(function(n,o){var e=r.nodes[o+1];if(void 0===e||e.start>s){e=(()=>{var e=s-n.start,i=(n.end<a?n.end:a)-n.start;if(l(n.node)){n.node=c.wrapRangeInTextNode(n.node,e,i);var e=r.value.substr(0,n.start),t=r.value.substr(i+n.start);
1if(r.value=e+t,r.nodes.forEach(function(e,t){o<=t&&(0<r.nodes[t].start&&t!==o&&(r.nodes[t].start-=i),r.nodes[t].end-=i)}),a-=i,u(n.node.previousSibling,n.start),!(a>n.end))return{v:!1};s=n.end}})();if("object"===(void 0===e?"undefined":_typeof(e)))return e.v}return!0})}},{key:"wrapMatches",value:function(o,e,r,s,t){var a=this,l=0===e?0:e+1;this.getTextNodes(function(e){e.nodes.forEach(function(e){e=e.node;for(var t;null!==(t=o.exec(e.textContent))&&""!==t[l];)if(r(t[l],e)){var i=t.index;if(0!==l)for(var n=1;n<l;n++)i+=t[n].length;e=a.wrapRangeInTextNode(e,i,i+t[l].length),s(e.previousSibling),o.lastIndex=0}}),t()})}},{key:"wrapMatchesAcrossElements",value:function(r,e,s,a,l){var u=this,c=0===e?0:e+1;this.getTextNodes(function(e){for(var t;null!==(t=r.exec(e.value))&&""!==t[c];){var i=t.index;if(0!==c)for(var n=1;n<c;n++)i+=t[n].length;var o=i+t[c].length;u.wrapRangeInMappedTextNode(e,i,o,function(e){return s(t[c],e)},function(e,t){r.lastIndex=t,a(e)})}l()})}},{key:"unwrapMatches",value:function(e){for(var t=e.parentNode,i=o.createDocumentFragment();e.firstChild;)i.appendChild(e.removeChild(e.firstChild));t.replaceChild(i,e),this.ie?this.normalizeTextNode(t):t.normalize()}},{key:"normalizeTextNode",value:function(e){if(e){if(3===e.nodeType)for(;e.nextSibling&&3===e.nextSibling.nodeType;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}},{key:"markRegExp",value:function(e,t){var i=this,n=(this.opt=t,this.log('Searching with expression "'+e+'"'),0),t="wrapMatches";this[t=this.opt.acrossElements?"wrapMatchesAcrossElements":t](e,this.opt.ignoreGroups,function(e,t){return i.opt.filter(t,e,n)},function(e){n++,i.opt.each(e)},function(){0===n&&i.opt.noMatch(e),i.opt.done(n)})}},{key:"mark",value:function(e,t){function o(i){var e=new RegExp(r.createRegExp(i),"gm"+c),n=0;r.log('Searching with expression "'+e+'"'),r[a](e,1,function(e,t){return r.opt.filter(t,i,s,n)},function(e){n++,s++,r.opt.each(e)},function(){0===n&&r.opt.noMatch(i),l[u-1]===i?r.opt.done(s):o(l[l.indexOf(i)+1])})}var r=this,s=(this.opt=t,0),a="wrapMatches",t=this.getSeparatedKeywords("string"==typeof e?[e]:e),l=t.keywords,u=t.length,c=this.opt.caseSensitive?"":"i";this.opt.acrossElements&&(a="wrapMatchesAcrossElements"),0===u?this.opt.done(s):o(l[0])}},{key:"unmark",value:function(e){var i=this,n=(this.opt=e,this.opt.element||"*");n+="[data-markjs]",this.opt.className&&(n+="."+this.opt.className),this.log('Removal selector "'+n+'"'),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,function(e){i.unwrapMatches(e)},function(e){var t=r.matches(e,n),e=i.matchesExclude(e,!1);return!t||e?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}},{key:"opt",set:function(e){this._opt=_extends({},{element:"",className:"",exclude:[],iframes:!1,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,each:function(){},noMatch:function(){},filter:function(){return!0},done:function(){},debug:!1,log:t.console},e)},get:function(){return this._opt}},{key:"iterator",get:function(){return this._iterator||(this._iterator=new r(this.ctx,this.opt.iframes,this.opt.exclude)),this._iterator}}]);var i=n,r=(_createClass(l,[{key:"getContexts",value:function(){var i=[];return(void 0!==this.ctx&&this.ctx?NodeList.prototype.isPrototypeOf(this.ctx)?Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?this.ctx:"string"==typeof this.ctx?Array.prototype.slice.call(o.querySelectorAll(this.ctx)):[this.ctx]:[]).forEach(function(t){var e=0<i.filter(function(e){return e.contains(t)}).length;-1!==i.indexOf(t)||e||i.push(t)}),i}},{key:"getIframeContents",value:function(e,t){var i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:function(){},n=void 0;try{var o=e.contentWindow,n=o.document;if(!o||!n)throw new Error("iframe inaccessible")}catch(e){i()}n&&t(n)}},{key:"onIframeReady",value:function(t,i,n){var o,r,s=this;try{o=t.contentWindow,r="about:blank","complete"!==o.document.readyState||a()?e():s.getIframeContents(t,i,n)}catch(t){n()}function a(){var e=t.getAttribute("src").trim();return o.location.href===r&&e!==r&&e}function e(){t.addEventListener("load",function e(){try{a()||(t.removeEventListener("load",e),s.getIframeContents(t,i,n))}catch(e){n()}})}}},{key:"waitForIframes",value:function(e,t){var i=this,n=0;this.forEachIframe(e,function(){return!0},function(e){n++,i.waitForIframes(e.querySelector("html"),function(){--n||t()})},function(e){e||t()})}}
1,{key:"forEachIframe",value:function(e,i,n){function o(){--s<=0&&t(a)}var r=this,t=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){},s=(e=e.querySelectorAll("iframe")).length,a=0,e=Array.prototype.slice.call(e);s||o(),e.forEach(function(t){l.matches(t,r.exclude)?o():r.onIframeReady(t,function(e){i(t)&&(a++,n(e)),o()},o)})}},{key:"createIterator",value:function(e,t,i){return o.createNodeIterator(e,t,i,!1)}},{key:"createInstanceOnIframe",value:function(e){return new l(e.querySelector("html"),this.iframes)}},{key:"compareNodeIframe",value:function(e,t,i){if(e.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_PRECEDING){if(null===t)return!0;if(t.compareDocumentPosition(i)&Node.DOCUMENT_POSITION_FOLLOWING)return!0}return!1}},{key:"getIteratorNode",value:function(e){var t=e.previousNode();return{prevNode:t,node:(null===t||e.nextNode())&&e.nextNode()}}},{key:"checkIframeFilter",value:function(e,t,i,n){var o=!1,r=!1;return n.forEach(function(e,t){e.val===i&&(o=t,r=e.handled)}),this.compareNodeIframe(e,t,i)?(!1!==o||r?!1===o||r||(n[o].handled=!0):n.push({val:i,handled:!0}),!0):(!1===o&&n.push({val:i,handled:!1}),!1)}},{key:"handleOpenIframes",value:function(e,t,i,n){var o=this;e.forEach(function(e){e.handled||o.getIframeContents(e.val,function(e){o.createInstanceOnIframe(e).forEachNode(t,i,n)})})}},{key:"iterateThroughNodes",value:function(t,e,i,n,o){for(var r,s=this,a=this.createIterator(e,t,n),l=[],u=[],c=void 0,d=void 0;r=void 0,r=s.getIteratorNode(a),d=r.prevNode,c=r.node;)this.iframes&&this.forEachIframe(e,function(e){return s.checkIframeFilter(c,d,e,l)},function(e){s.createInstanceOnIframe(e).forEachNode(t,i,n)}),u.push(c);u.forEach(function(e){i(e)}),this.iframes&&this.handleOpenIframes(l,t,i,n),o()}},{key:"forEachNode",value:function(i,n,o){var r=this,s=3<arguments.length&&void 0!==arguments[3]?arguments[3]:function(){},e=this.getContexts(),a=e.length;a||s(),e.forEach(function(e){function t(){r.iterateThroughNodes(i,e,n,o,function(){--a<=0&&s()})}r.iframes?r.waitForIframes(e,t):t()})}}],[{key:"matches",value:function(t,e){var i,e="string"==typeof e?[e]:e,n=t.matches||t.matchesSelector||t.msMatchesSelector||t.mozMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector;return!!n&&(i=!1,e.every(function(e){return!n.call(t,e)||!(i=!0)}),i)}}]),l);function l(e){var t=!(1<arguments.length&&void 0!==arguments[1])||arguments[1],i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:[];_classCallCheck(this,l),this.ctx=e,this.iframes=t,this.exclude=i}function n(e){_classCallCheck(this,n),this.ctx=e,this.ie=!1;e=t.navigator.userAgent;(-1<e.indexOf("MSIE")||-1<e.indexOf("Trident"))&&(this.ie=!0)}return e.fn.mark=function(e,t){return new i(this.get()).mark(e,t),this},e.fn.markRegExp=function(e,t){return new i(this.get()).markRegExp(e,t),this},e.fn.unmark=function(e){return new i(this.get()).unmark(e),this},e},window,document),((e,t)=>{"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("scrollMonitor",[],t):"object"==typeof exports?exports.scrollMonitor=t():e.scrollMonitor=t()})(this,function(){return n=[function(e,t,i){var n=i(1).isInBrowser,i=new(i(2))(n?document.body:null);i.setStateFromDOM(null),i.listenToDOM(),n&&(window.scrollMonitor=i),e.exports=i},function(e,t){t.VISIBILITYCHANGE="visibilityChange",t.ENTERVIEWPORT="enterViewport",t.FULLYENTERVIEWPORT="fullyEnterViewport",t.EXITVIEWPORT="exitViewport",t.PARTIALLYEXITVIEWPORT="partiallyExitViewport",t.LOCATIONCHANGE="locationChange",t.STATECHANGE="stateChange",t.eventTypes=[t.VISIBILITYCHANGE,t.ENTERVIEWPORT,t.FULLYENTERVIEWPORT,t.EXITVIEWPORT,t.PARTIALLYEXITVIEWPORT,t.LOCATIONCHANGE,t.STATECHANGE],t.isOnServer="undefined"==typeof window,t.isInBrowser=!t.isOnServer,t.defaultOffsets={top:0,bottom:0}},function(e,t,i){function s(e){return o?0:e===document.body?window.innerHeight||document.documentElement.clientHeight:e.clientHeight}function a(e){return o?0:e===document.body?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):e.scrollHeight}function l(e){return o?0:e===document.body?window.pageYOffset||document.documentElement&&document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop}var n=i(1),o=n.isOnServer,r=n.isInBrowser,u=n.eventTypes,c=i(3),d=!1;if(r)try{var p=Object.defineProperty({},"passive",{get:function(){d=!0}});window.addEventListener("test",null,p)}catch(e){}var h=!!d&&{capture:!1,passive:!0};function f(e,t){if(!(this instanceof f))throw new TypeError("Cannot call a class as a function");var i,n,o,r=this;this.item=e,this.watchers=[],this.viewportTop=null,this.viewportBottom=null,this.documentHeight=a(e),this.viewportHe
1ight=s(e),this.DOMListener=function(){f.prototype.DOMListener.apply(r,arguments)},this.eventTypes=u,t&&(this.containerWatcher=t.create(e)),this.update=function(){if(r.viewportTop=l(e),r.viewportBottom=r.viewportTop+r.viewportHeight,r.documentHeight=a(e),r.documentHeight!==i){for(n=r.watchers.length;n--;)r.watchers[n].recalculateLocation();i=r.documentHeight}for(o=r.watchers.length;o--;)r.watchers[o].update();for(o=r.watchers.length;o--;)r.watchers[o].triggerCallbacks()},this.recalculateLocations=function(){this.documentHeight=0,this.update()}}f.prototype.listenToDOM=function(){r&&(window.addEventListener?((this.item===document.body?window:this.item).addEventListener("scroll",this.DOMListener,h),window.addEventListener("resize",this.DOMListener)):((this.item===document.body?window:this.item).attachEvent("onscroll",this.DOMListener),window.attachEvent("onresize",this.DOMListener)),this.destroy=function(){window.addEventListener?(this.item===document.body?(window.removeEventListener("scroll",this.DOMListener,h),this.containerWatcher.destroy()):this.item.removeEventListener("scroll",this.DOMListener,h),window.removeEventListener("resize",this.DOMListener)):(this.item===document.body?(window.detachEvent("onscroll",this.DOMListener),this.containerWatcher.destroy()):this.item.detachEvent("onscroll",this.DOMListener),window.detachEvent("onresize",this.DOMListener))})},f.prototype.destroy=function(){},f.prototype.DOMListener=function(e){this.setStateFromDOM(e)},f.prototype.setStateFromDOM=function(e){var t=l(this.item),i=s(this.item),n=a(this.item);this.setState(t,i,n,e)},f.prototype.setState=function(e,t,i,n){var o=t!==this.viewportHeight||i!==this.contentHeight;if(this.latestEvent=n,this.viewportTop=e,this.viewportHeight=t,this.viewportBottom=e+t,this.contentHeight=i,o)for(var r=this.watchers.length;r--;)this.watchers[r].recalculateLocation();this.updateAndTriggerWatchers(n)},f.prototype.updateAndTriggerWatchers=function(e){for(var t=this.watchers.length;t--;)this.watchers[t].update();for(t=this.watchers.length;t--;)this.watchers[t].triggerCallbacks(e)},f.prototype.createCustomContainer=function(){return new f},f.prototype.createContainer=function(e){"string"==typeof e?e=document.querySelector(e):e&&0<e.length&&(e=e[0]);e=new f(e,this);return e.setStateFromDOM(),e.listenToDOM(),e},f.prototype.create=function(e,t){"string"==typeof e?e=document.querySelector(e):e&&0<e.length&&(e=e[0]);e=new c(this,e,t);return this.watchers.push(e),e},f.prototype.beget=function(e,t){return this.create(e,t)},e.exports=f},function(e,t,i){function n(e,t,i){function s(e,t){if(0!==e.length)for(u=e.length;u--;)(c=e[u]).callback.call(n,t,n),c.isOne&&e.splice(u,1)}var n=this;this.watchItem=t,this.container=e,this.offsets=i?i===+i?{top:i,bottom:i}:{top:i.top||b.top,bottom:i.bottom||b.bottom}:b,this.callbacks={};for(var o,r,a,l,u,c,d=0,p=w.length;d<p;d++)n.callbacks[w[d]]=[];this.locked=!1,this.triggerCallbacks=function(e){switch(this.isInViewport&&!o&&s(this.callbacks[f],e),this.isFullyInViewport&&!r&&s(this.callbacks[m],e),this.isAboveViewport!==a&&this.isBelowViewport!==l&&(s(this.callbacks[h],e),r||this.isFullyInViewport||(s(this.callbacks[m],e),s(this.callbacks[v],e)),o||this.isInViewport||(s(this.callbacks[f],e),s(this.callbacks[g],e))),!this.isFullyInViewport&&r&&s(this.callbacks[v],e),!this.isInViewport&&o&&s(this.callbacks[g],e),this.isInViewport!==o&&s(this.callbacks[h],e),!0){case o!==this.isInViewport:case r!==this.isFullyInViewport:case a!==this.isAboveViewport:case l!==this.isBelowViewport:s(this.callbacks[y],e)}o=this.isInViewport,r=this.isFullyInViewport,a=this.isAboveViewport,l=this.isBelowViewport},this.recalculateLocation=function(){if(!this.locked){var e=this.top,t=this.bottom;if(this.watchItem.nodeName){var i=this.watchItem.style.display;"none"===i&&(this.watchItem.style.display="");for(var n=0,o=this.container;o.containerWatcher;)n+=o.containerWatcher.top-o.containerWatcher.container.viewportTop,o=o.containerWatcher.container;var r=this.watchItem.getBoundingClientRect();this.top=r.top+this.container.viewportTop-n,this.bottom=r.bottom+this.container.viewportTop-n,"none"===i&&(this.watchItem.style.display=i)}else this.watchItem===+this.watchItem?0<this.watchItem?this.top=this.bottom=this.watchItem:this.top=this.bottom=this.container.documentHeight-this.watchItem:(this.top=this.watchItem.top,this.bottom=this.watchItem.bottom);this.top-=this.offsets.top,this.bottom+=this.offsets.bottom,this.height=this.bottom-this.top,void 0===e&&void 0===t||this.top===e&&this.bottom===t||s(this.callbacks[D],null)}},this.recalculateLocation(),this.update(),o=this.isInViewport,r=this.isFullyInViewport,a=this.isAboveViewport,l=this.isBelowViewport}var i=i(1),h=i.VISIBILITYCHANGE,f=i.ENTERVIEWPORT,m=i.FULLYENTERVIEWPORT,g=i.EXITVIEWPORT,v=i.PARTIALLYEXITVIEWPORT,D=i.LOCATIONCHANGE,y=i.STATECHANGE,w=i.eventTypes,b=i.defaultOffsets;n.prototype={on:function(e,t,i){switch(!0){case e===h&&!this.isInViewport&&this.isAboveViewport:case e===f&&this.isInViewport:case e===m&&this.isFullyInViewport:case e===g&&this.isAboveViewport&&!this.isInViewport:case e===v&&this.isInViewport&&this.isAboveViewport:if(t.call(this,this.container.latestEvent,this),i)return}if(!this.callbacks[e])throw new Error("Tried to add a scroll monitor listener of type "+e+". Your options are: "+w.join(", "));this.callbacks[e].push({callback:t,isOne:i||!1})},off:function(e,t){if(!this.callbacks[e])throw new Error("Tried to remove a scroll monitor listener of type "+e+". Your options are: "+w.join(", "));for(var i,n=0;i=this.callbacks[e][n];n++)if(i.callback===t){this.callbacks[e].splice(n,1);break}},one:function(e,t){this.on(e,t,!0)},recalculateSize:function(){this.height=this.watchItem.offsetHeight+this.offsets.top+this.offsets.bottom,this.bottom=this.top+this.height},update:function(){this.isAboveViewport=this.top<this.container.viewportTop,this.isBelowViewport=this.bottom>this.container.viewportBottom,this.isInViewport=this.top<this.container.viewportBottom&&this.bottom>this.container.viewportTop,this.isFullyInViewport=this.top>=this.container.viewportTop&&this.bottom<=this.container.viewportBottom||this.isAboveViewport&&this.isBelowViewport},destroy:function(){var e=this.container.watchers.indexOf(this);this.container.watchers.splice(e,1);for(var t=0,i=w.length;t<i;t++)this.callbacks[w[t]].length=0},lock:function(){this.locked=!0},unlock:function(){this.locked=!1}};for(var o=0,r=w.length;o<r;o++){var s=w[o];n.prototype[s]=(i=>function(e,t){this.on.call(this,i,e,t)})(s)}e.exports=n}],o={},i.m=n,i.c=o,i.p="",i(0);function i(e){var t;return(o[e]||(t=o[e]={exports:{},id:e,loaded:!1},n[e].call(t.exports,t,t.exports,i),t.loaded=!0,t)).exports}var n,o}),(e=>{"function"==typeof define&&define.amd?define(["jquery"],e):"undefined"!=typeof exports?module.exports=e(require("jquery")):e(jQuery)})(function(u){var n,s=window.Slick||{};n=0,(s=function(e,t){var i=this;i.defaults={accessibility:!0,adaptiveHeight:!1,appendArrows:u(e),appendDots:u(e),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(e,t){return u('<button type="button" />').text(t+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},i.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: 7,633 bytes, line 1
1sliding:!1,slideOffset:0,swipeLeft:null,swiping:!1,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},u.extend(i,i.initials),i.activeBreakpoint=null,i.animType=null,i.animProp=null,i.breakpoints=[],i.breakpointSettings=[],i.cssTransitions=!1,i.focussed=!1,i.interrupted=!1,i.hidden="hidden",i.paused=!0,i.positionProp=null,i.respondTo=null,i.rowCount=1,i.shouldClick=!0,i.$slider=u(e),i.$slidesCache=null,i.transformType=null,i.transitionType=null,i.visibilityChange="visibilitychange",i.windowWidth=0,i.windowTimer=null,e=u(e).data("slick")||{},i.options=u.extend({},i.defaults,t,e),i.currentSlide=i.options.initialSlide,i.originalSettings=i.options,void 0!==document.mozHidden?(i.hidden="mozHidden",i.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(i.hidden="webkitHidden",i.visibilityChange="webkitvisibilitychange"),i.autoPlay=u.proxy(i.autoPlay,i),i.autoPlayClear=u.proxy(i.autoPlayClear,i),i.autoPlayIterator=u.proxy(i.autoPlayIterator,i),i.changeSlide=u.proxy(i.changeSlide,i),i.clickHandler=u.proxy(i.clickHandler,i),i.selectHandler=u.proxy(i.selectHandler,i),i.setPosition=u.proxy(i.setPosition,i),i.swipeHandler=u.proxy(i.swipeHandler,i),i.dragHandler=u.proxy(i.dragHandler,i),i.keyHandler=u.proxy(i.keyHandler,i),i.instanceUid=n++,i.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,i.registerBreakpoints(),i.init(!0)}).prototype.activateADA=function(){this.$slideTrack.find(".slick-active").attr({"aria-hidden":"false"}).find("a, input, button, select").attr({tabindex:"0"})},s.prototype.addSlide=s.prototype.slickAdd=function(e,t,i){var n=this;if("boolean"==typeof t)i=t,t=null;else if(t<0||t>=n.slideCount)return!1;n.unload(),"number"==typeof t?0===t&&0===n.$slides.length?u(e).appendTo(n.$slideTrack):i?u(e).insertBefore(n.$slides.eq(t)):u(e).insertAfter(n.$slides.eq(t)):!0===i?u(e).prependTo(n.$slideTrack):u(e).appendTo(n.$slideTrack),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slides.each(function(e,t){u(t).attr("data-slick-index",e)}),n.$slidesCache=n.$slides,n.reinit()},s.prototype.animateHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.animate({height:e},t.options.speed))},s.prototype.animateSlide=function(e,t){var i={},n=this;n.animateHeight(),!0===n.options.rtl&&!1===n.options.vertical&&(e=-e),!1===n.transformsEnabled?!1===n.options.vertical?n.$slideTrack.animate({left:e},n.options.speed,n.options.easing,t):n.$slideTrack.animate({top:e},n.options.speed,n.options.easing,t):!1===n.cssTransitions?(!0===n.options.rtl&&(n.currentLeft=-n.currentLeft),u({animStart:n.currentLeft}).animate({animStart:e},{duration:n.options.speed,easing:n.options.easing,step:function(e){e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate("+e+"px, 0px)":i[n.animType]="translate(0px,"+e+"px)",n.$slideTrack.css(i)},complete:function(){t&&t.call()}})):(n.applyTransition(),e=Math.ceil(e),!1===n.options.vertical?i[n.animType]="translate3d("+e+"px, 0px, 0px)":i[n.animType]="translate3d(0px,"+e+"px, 0px)",n.$slideTrack.css(i),t&&setTimeout(function(){n.disableTransition(),t.call()},n.options.speed))},s.prototype.getNavTarget=function(){var e=this.options.asNavFor;return e=e&&null!==e?u(e).not(this.$slider):e},s.prototype.asNavFor=function(t){var e=this.getNavTarget();null!==e&&"object"==typeof e&&e.each(function(){var e=u(this).slick("getSlick");e.unslicked||e.slideHandler(t,!0)})},s.prototype.applyTransition=function(e){var t=this,i={};!1===t.options.fade?i[t.transitionType]=t.transformType+" "+t.options.speed+"ms "+t.options.cssEase:i[t.transitionType]="opacity "+t.options.speed+"ms "+t.options.cssEase,(!1===t.options.fade?t.$slideTrack:t.$slides.eq(e)).css(i)},s.prototype.autoPlay=function(){var e=this;e.autoPlayClear(),e.slideCount>e.options.slidesToShow&&(e.autoPlayTimer=setInterval(e.autoPlayIterator,e.options.autoplaySpeed))},s.prototype.autoPlayClear=function(){this.autoPlayTimer&&clearInterval(this.autoPlayTimer)},s.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))},s.prototype.buildArrows=function(){var e=this;!0===e.options.arrows&&(e.$prevArrow=u(e.options.prevArrow).addClass("slick-arrow"),e.$nextArrow=u(e.options.nextArrow).addClass("slick-arrow"),e.slideCount>e.options.slidesToShow?(e.$prevArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.$nextArrow.removeClass("slick-hidden").removeAttr("aria-hidden tabindex"),e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.prependTo(e.options.appendArrows),e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.appendTo(e.options.appendArrows),!0!==e.options.infinite&&e.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true")):e.$prevArrow.add(e.$nextArrow).addClass("slick-hidden").attr({"aria-disabled":"true",tabindex:"-1"}))},s.prototype.buildDots=function(){var e,t,i=this;if(!0===i.options.dots&&i.slideCount>i.options.slidesToShow){for(i.$slider.addClass("slick-dotted"),t=u("<ul />").addClass(i.options.dotsClass),e=0;e<=i.getDotCount();e+=1)t.append(u("<li />").append(i.options.customPaging.call(this,i,e)));i.$dots=t.appendTo(i.options.appendDots),i.$dots.find("li").first().addClass("slick-active")}},s.prototype.buildOut=function(){var e=this;e.$slides=e.$slider.children(e.options.slide+":not(.slick-cloned)").addClass("slick-slide"),e.slideCount=e.$slides.length,e.$slides.each(function(e,t){u(t).attr("data-slick-index",e).data("originalStyling",u(t).attr("style")||"")}),e.$slider.addClass("slick-slider"),e.$slideTrack=0===e.slideCount?u('<div class="slick-track"/>').appendTo(e.$slider):e.$slides.wrapAll('<div class="slick-track"/>').parent(),e.$list=e.$slideTrack.wrap('<div class="slick-list"/>').parent(),e.$slideTrack.css("opacity",0),!0!==e.options.centerMode&&!0!==e.options.swipeToSlide||(e.options.slidesToScroll=1),u("img[data-lazy]",e.$slider).not("[src]").addClass("slick-loading"),e.setupInfinite(),e.buildArrows(),e.buildDots(),e.updateDots(),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),!0===e.options.draggable&&e.$list.addClass("draggable")},s.prototype.buildRows=function(){var e,t,i,n=this,o=document.createDocumentFragment(),r=n.$slider.children();if(0<n.options.rows){for(i=n.options.slidesPerRow*n.options.rows,t=Math.ceil(r.length/i),e=0;e<t;e++){for(var s=document.createElement("div"),a=0;a<n.options.rows;a++){for(var l=document.createElement("div"),u=0;u<n.options.slidesPerRow;u++){var c=e*i+(a*n.options.slidesPerRow+u);r.get(c)&&l.appendChild(r.get(c))}s.appendChild(l)}o.appendChild(s)}n.$slider.empty().append(o),n.$slider.children().children().children().css({width:100/n.options.slidesPerRow+"%",display:"inline-block"})}},s.prototype.checkResponsive=function(e,t){var i,n,o,r=this,s=!1,a=r.$slider.width(),l=window.innerWidth||u(window).width();if("window"===r.respondTo?o=l:"slider"===r.respondTo?o=a:"min"===r.respondTo&&(o=Math.min(l,a)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){for(i in n=null,r.breakpoints)r.breakpoints.hasOwnProperty(i)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[i]&&(n=r.breakpoints[i]):o>r.breakpoints[i]&&(n=r.breakpoints[i]));null!==n?null!==r.activeBreakpoint&&n===r.activeBreakpoint&&!t||(r.activeBreakpoint=n,"unsl
1ick"===r.breakpointSettings[n]?r.unslick(n):(r.options=u.extend({},r.originalSettings,r.breakpointSettings[n]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),s=n):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),s=n),e||!1===s||r.$slider.trigger("breakpoint",[r,s])}},s.prototype.changeSlide=function(e,t){var i,n=this,o=u(e.currentTarget),r=(o.is("a")&&e.preventDefault(),o.is("li")||(o=o.closest("li")),i=n.slideCount%n.options.slidesToScroll!=0?0:(n.slideCount-n.currentSlide)%n.options.slidesToScroll,[]);switch(e.data.message){case"previous":s=0==i?n.options.slidesToScroll:n.options.slidesToShow-i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide-s,!1,t),r=[],u(".slick-active h3.promo-slider-title").each(function(){r.push(u(this).text())}),u("span.invisible-text[aria-live]").html("'"+r[0]+"' and '"+r[1]+"' are displayed.");break;case"next":s=0==i?n.options.slidesToScroll:i,n.slideCount>n.options.slidesToShow&&n.slideHandler(n.currentSlide+s,!1,t),r=[],u(".slick-active h3.promo-slider-title").each(function(){r.push(u(this).text())}),u("span.invisible-text[aria-live]").html("'"+r[0]+"' and '"+r[1]+"' are displayed.");break;case"index":var s=0===e.data.index?0:e.data.index||o.index()*n.options.slidesToScroll;n.slideHandler(n.checkNavigable(s),!1,t),o.children().trigger("focus");break;default:return}},s.prototype.checkNavigable=function(e){var t=this.getNavigableIndexes(),i=0;if(e>t[t.length-1])e=t[t.length-1];else for(var n in t){if(e<t[n]){e=i;break}i=t[n]}return e},s.prototype.cleanUpEvents=function(){var e=this;e.options.dots&&null!==e.$dots&&(u("li",e.$dots).off("click.slick",e.changeSlide).off("mouseenter.slick",u.proxy(e.interrupt,e,!0)).off("mouseleave.slick",u.proxy(e.interrupt,e,!1)),!0===e.options.accessibility)&&e.$dots.off("keydown.slick",e.keyHandler),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&e.slideCount>e.options.slidesToShow&&(e.$prevArrow&&e.$prevArrow.off("click.slick",e.changeSlide),e.$nextArrow&&e.$nextArrow.off("click.slick",e.changeSlide),!0===e.options.accessibility)&&(e.$prevArrow&&e.$prevArrow.off("keydown.slick",e.keyHandler),e.$nextArrow)&&e.$nextArrow.off("keydown.slick",e.keyHandler),e.$list.off("touchstart.slick mousedown.slick",e.swipeHandler),e.$list.off("touchmove.slick mousemove.slick",e.swipeHandler),e.$list.off("touchend.slick mouseup.slick",e.swipeHandler),e.$list.off("touchcancel.slick mouseleave.
1slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),u(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&u(e.$slideTrack).children().off("click.slick",e.selectHandler),u(window).off("orientationchange.slick.slick-"+e.instanceUid,e.orientationChange),u(window).off("resize.slick.slick-"+e.instanceUid,e.resize),u("[draggable!=true]",e.$slideTrack).off("dragstart",e.preventDefault),u(window).off("load.slick.slick-"+e.instanceUid,e.setPosition)},s.prototype.cleanUpSlideEvents=function(){var e=this;e.$list.off("mouseenter.slick",u.proxy(e.interrupt,e,!0)),e.$list.off("mouseleave.slick",u.proxy(e.interrupt,e,!1))},s.prototype.cleanUpRows=function(){var e;0<this.options.rows&&((e=this.$slides.children().children()).removeAttr("style"),this.$slider.empty().append(e))},s.prototype.clickHandler=function(e){!1===this.shouldClick&&(e.stopImmediatePropagation(),e.stopPropagation(),e.preventDefault())},s.prototype.destroy=function(e){var t=this;t.autoPlayClear(),t.touchObject={},t.cleanUpEvents(),u(".slick-cloned",t.$slider).detach(),t.$dots&&t.$dots.remove(),t.$prevArrow&&t.$prevArrow.length&&(t.$prevArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.prevArrow))&&t.$prevArrow.remove(),t.$nextArrow&&t.$nextArrow.length&&(t.$nextArrow.removeClass("slick-disabled slick-arrow slick-hidden").removeAttr("aria-hidden aria-disabled tabindex").css("display",""),t.htmlExpr.test(t.options.nextArrow))&&t.$nextArrow.remove(),t.$slides&&(t.$slides.removeClass("slick-slide slick-active slick-center slick-visible slick-current").removeAttr("aria-hidden").removeAttr("data-slick-index").each(function(){u(this).attr("style",u(this).data("originalStyling"))}),t.$slideTrack.children(this.options.slide).detach(),t.$slideTrack.detach(),t.$list.detach(),t.$slider.append(t.$slides)),t.cleanUpRows(),t.$slider.removeClass("slick-slider"),t.$slider.removeClass("slick-initialized"),t.$slider.removeClass("slick-dotted"),t.unslicked=!0,e||t.$slider.trigger("destroy",[t])},s.prototype.disableTransition=function(e){var t={};t[this.transitionType]="",(!1===this.options.fade?this.$slideTrack:this.$slides.eq(e)).css(t)},s.prototype.fadeSlide=function(e,t){var i=this;!1===i.cssTransitions?(i.$slides.eq(e).css({zIndex:i.options.zIndex}),i.$slides.eq(e).animate({opacity:1},i.options.speed,i.options.easing,t)):(i.applyTransition(e),i.$slides.eq(e).css({opacity:1,zIndex:i.options.zIndex}),t&&setTimeout(function(){i.disableTransition(e),t.call()},i.options.speed))},s.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}))},s.prototype.filterSlides=s.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())},s.prototype.focusHandler=function(){var i=this;i.$slider.off("focus.slick blur.slick").on("focus.slick blur.slick","*",function(e){e.stopImmediatePropagation();var t=u(this);setTimeout(function(){i.options.pauseOnFocus&&(i.focussed=t.is(":focus"),i.autoPlay())},0)})},s.prototype.getCurrent=s.prototype.slickCurrentSlide=function(){return this.currentSlide},s.prototype.getDotCount=function(){var e=this,t=0,i=0,n=0;if(!0===e.options.infinite)if(e.slideCount<=e.options.slidesToShow)++n;else for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else if(!0===e.options.centerMode)n=e.slideCount;else if(e.options.asNavFor)for(;t<e.slideCount;)++n,t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;else n=1+Math.ceil((e.slideCount-e.options.slidesToShow)/e.options.slidesToScroll);return n-1},s.prototype.getLeft=function(e){var t,i,n=this,o=0;return n.slideOffset=0,t=n.$slides.first().outerHeight(!0),!0===n.options.infinite?(n.slideCount>n.options.slidesToShow&&(n.slideOffset=n.slideWidth*n.options.slidesToShow*-1,i=-1,!0===n.options.vertical&&!0===n.options.centerMode&&(2===n.options.slidesToShow?i=-1.5:1===n.options.slidesToShow&&(i=-2)),o=t*n.options.slidesToShow*i),n.slideCount%n.options.slidesToScroll!=0&&e+n.options.slidesToScroll>n.slideCount&&n.slideCount>n.options.slidesToShow&&(o=e>n.slideCount?(n.slideOffset=(n.options.slidesToShow-(e-n.slideCount))*n.slideWidth*-1,(n.options.slidesToShow-(e-n.slideCount))*t*-1):(n.slideOffset=n.slideCount%n.options.slidesToScroll*n.slideWidth*-1,n.slideCount%n.options.slidesToScroll*t*-1))):e+n.options.slidesToShow>n.slideCount&&(n.slideOffset=(e+n.options.slidesToShow-n.slideCount)*n.slideWidth,o=(e+n.options.slidesToShow-n.slideCount)*t),n.slideCount<=n.options.slidesToShow&&(o=n.slideOffset=0),!0===n.options.centerMode&&n.slideCount<=n.options.slidesToShow?n.slideOffset=n.slideWidth*Math.floor(n.options.slidesToShow)/2-n.slideWidth*n.slideCount/2:!0===n.options.centerMode&&!0===n.options.infinite?n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)-n.slideWidth:!0===n.options.centerMode&&(n.slideOffset=0,n.slideOffset+=n.slideWidth*Math.floor(n.options.slidesToShow/2)),i=!1===n.options.vertical?e*n.slideWidth*-1+n.slideOffset:e*t*-1+o,!0===n.options.variableWidth&&(t=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow),i=!0===n.options.rtl?t[0]?-1*(n.$slideTrack.width()-t[0].offsetLeft-t.width()):0:t[0]?-1*t[0].offsetLeft:0,!0===n.options.centerMode)&&(t=n.slideCount<=n.options.slidesToShow||!1===n.options.infinite?n.$slideTrack.children(".slick-slide").eq(e):n.$slideTrack.children(".slick-slide").eq(e+n.options.slidesToShow+1),i=!0===n.options.rtl?t[0]?-1*(n.$slideTrack.width()-t[0].offsetLeft-t.width()):0:t[0]?-1*t[0].offsetLeft:0,i+=(n.$list.width()-t.outerWidth())/2),i},s.prototype.getOption=s.prototype.slickGetOption=function(e){return this.options[e]},s.prototype.getNavigableIndexes=function(){for(var e=this,t=0,i=0,n=[],o=!1===e.options.infinite?e.slideCount:(t=-1*e.options.slidesToScroll,i=-1*e.options.slidesToScroll,2*e.slideCount);t<o;)n.push(t),t=i+e.options.slidesToScroll,i+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return n},s.prototype.getSlick=function(){return this},s.prototype.getSlideCount=function(){var i,n=this,o=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0;return!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(e,t){if(t.offsetLeft-o+u(t).outerWidth()/2>-1*n.swipeLeft)return i=t,!1}),Math.abs(u(i).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},s.prototype.goTo=s.prototype.slickGoTo=function(e,t){this.changeSlide({data:{message:"index",index:
1parseInt(e)}},t)},s.prototype.init=function(e){var t=this;u(t.$slider).hasClass("slick-initialized")||(u(t.$slider).addClass("slick-initialized"),t.buildRows(),t.buildOut(),t.setProps(),t.startLoad(),t.loadSlider(),t.initializeEvents(),t.updateArrows(),t.updateDots(),t.checkResponsive(!0),t.focusHandler()),e&&t.$slider.trigger("init",[t]),!0===t.options.accessibility&&t.initADA(),t.options.autoplay&&(t.paused=!1,t.autoPlay())},s.prototype.initADA=function(){var i=this,n=Math.ceil(i.slideCount/i.options.slidesToShow),o=i.getNavigableIndexes().filter(function(e){return 0<=e&&e<i.slideCount});i.$slides.add(i.$slideTrack.find(".slick-cloned")).attr({"aria-hidden":"true",tabindex:"-1"}).find("a, input, button, select").attr({tabindex:"-1"}),null!==i.$dots&&(i.$slides.not(i.$slideTrack.find(".slick-cloned")).each(function(e){var t=o.indexOf(e);u(this).attr({role:"tabpanel",id:"slick-slide"+i.instanceUid+e,tabindex:-1}),-1!==t&&(e="slick-slide-control"+i.instanceUid+t,u("#"+e).length)&&u(this).attr({"aria-describedby":e})}),i.$dots.attr("role","tablist").find("li").each(function(e){var t=o[e];u(this).attr({role:"presentation"}),u(this).find("button").first().attr({role:"tab",id:"slick-slide-control"+i.instanceUid+e,"aria-controls":"slick-slide"+i.instanceUid+t,"aria-label":e+1+" of "+n,"aria-selected":null,tabindex:"-1"})}).eq(i.currentSlide).find("button").attr({"aria-selected":"true",tabindex:"0"}).end());for(var e=i.currentSlide,t=e+i.options.slidesToShow;e<t;e++)i.options.focusOnChange?i.$slides.eq(e).attr({tabindex:"0"}):i.$slides.eq(e).removeAttr("tabindex");i.activateADA()},s.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))},s.prototype.initDotEvents=function(){var e=this;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&(u("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.accessibility)&&e.$dots.on("keydown.slick",e.keyHandler),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&e.slideCount>e.options.slidesToShow&&u("li",e.$dots).on("mouseenter.slick",u.proxy(e.interrupt,e,!0)).on("mouseleave.slick",u.proxy(e.interrupt,e,!1))},s.prototype.initSlideEvents=function(){var e=this;e.options.pauseOnHover&&(e.$list.on("mouseenter.slick",u.proxy(e.interrupt,e,!0)),e.$list.on("mouseleave.slick",u.proxy(e.interrupt,e,!1)))},s.prototype.initializeEvents=function(){var e=this;e.initArrowEvents(),e.initDotEvents(),e.initSlideEvents(),e.$list.on("touchstart.slick mousedown.slick",{action:"start"},e.swipeHandler),e.$list.on("touchmove.slick mousemove.slick",{action:"move"},e.swipeHandler),e.$list.on("touchend.slick mouseup.slick",{action:"end"}
1,e.swipeHandler),e.$list.on("touchcancel.slick mouseleave.slick",{action:"end"},e.swipeHandler),e.$list.on("click.slick",e.clickHandler),u(document).on(e.visibilityChange,u.proxy(e.visibility,e)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&u(e.$slideTrack).children().on("click.slick",e.selectHandler),u(window).on("orientationchange.slick.slick-"+e.instanceUid,u.proxy(e.orientationChange,e)),u(window).on("resize.slick.slick-"+e.instanceUid,u.proxy(e.resize,e)),u("[draggable!=true]",e.$slideTrack).on("dragstart",e.preventDefault),u(window).on("load.slick.slick-"+e.instanceUid,e.setPosition),u(e.setPosition)},s.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()},s.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"}}))},s.prototype.lazyLoad=function(){var e,t,i,r=this;function n(e){u("img[data-lazy]",e).each(function(){var e=u(this),t=u(this).attr("data-lazy"),i=u(this).attr("data-srcset"),n=u(this).attr("data-sizes")||r.$slider.attr("data-sizes"),o=document.createElement("img");o.onload=function(){e.animate({opacity:0}
vendor: 5,249 bytes, line 1
1,100,function(){i&&(e.attr("srcset",i),n)&&e.attr("sizes",n),e.attr("src",t).animate({opacity:1},200,function(){e.removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading")}),r.$slider.trigger("lazyLoaded",[r,e,t])})},o.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,e,t])},o.src=t})}if(!0===r.options.centerMode?i=!0===r.options.infinite?(t=r.currentSlide+(r.options.slidesToShow/2+1))+r.options.slidesToShow+2:(t=Math.max(0,r.currentSlide-(r.options.slidesToShow/2+1)),r.options.slidesToShow/2+1+2+r.currentSlide):(t=r.options.infinite?r.options.slidesToShow+r.currentSlide:r.currentSlide,i=Math.ceil(t+r.options.slidesToShow),!0===r.options.fade&&(0<t&&t--,i<=r.slideCount)&&i++),e=r.$slider.find(".slick-slide").slice(t,i),"anticipated"===r.options.lazyLoad)for(var o=t-1,s=i,a=r.$slider.find(".slick-slide"),l=0;l<r.options.slidesToScroll;l++)o<0&&(o=r.slideCount-1),e=(e=e.add(a.eq(o))).add(a.eq(s)),o--,s++;n(e),r.slideCount<=r.options.slidesToShow?n(r.$slider.find(".slick-slide")):r.currentSlide>=r.slideCount-r.options.slidesToShow?n(r.$slider.find(".slick-cloned").slice(0,r.options.slidesToShow)):0===r.currentSlide&&n(r.$slider.find(".slick-cloned").slice(-1*r.options.slidesToShow))},s.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()},s.prototype.next=s.prototype.slickNext=function(){this.changeSlide({data:{message:"next"}})},s.prototype.orientationChange=function(){this.checkResponsive(),this.setPosition()},s.prototype.pause=s.prototype.slickPause=function(){this.autoPlayClear(),this.paused=!0},s.prototype.play=s.prototype.slickPlay=function(){var e=this;e.autoPlay(),e.options.autoplay=!0,e.paused=!1,e.focussed=!1,e.interrupted=!1},s.prototype.postSlide=function(e){var t=this;t.unslicked||(t.$slider.trigger("afterChange",[t,e]),t.animating=!1,t.slideCount>t.options.slidesToShow&&t.setPosition(),t.swipeLeft=null,t.options.autoplay&&t.autoPlay(),!0===t.options.accessibility&&(t.initADA(),t.options.focusOnChange)&&u(t.$slides.get(t.currentSlide)).attr("tabindex",0).focus())},s.prototype.prev=s.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},s.prototype.preventDefault=function(e){e.preventDefault()},s.prototype.progressiveLazyLoad=function(e){e=e||1;var t,i,n,o,r=this,s=u("img[data-lazy]",r.$slider);s.length?(t=s.first(),i=t.attr("data-lazy"),n=t.attr("data-srcset"),o=t.attr("data-sizes")||r.$slider.attr("data-sizes"),(s=document.createElement("img")).onload=function(){n&&(t.attr("srcset",n),o)&&t.attr("sizes",o),t.attr("src",i).removeAttr("data-lazy data-srcset data-sizes").removeClass("slick-loading"),!0===r.options.adaptiveHeight&&r.setPosition(),r.$slider.trigger("lazyLoaded",[r,t,i]),r.progressiveLazyLoad()},s.onerror=function(){e<3?setTimeout(function(){r.progressiveLazyLoad(e+1)},500):(t.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),r.$slider.trigger("lazyLoadError",[r,t,i]),r.progressiveLazyLoad())},s.src=i):r.$slider.trigger("allImagesLoaded",[r])},s.prototype.refresh=function(e){var t=this,i=t.slideCount-t.options.slidesToShow;!t.options.infinite&&t.currentSlide>i&&(t.currentSlide=i),t.slideCount<=t.options.slidesToShow&&(t.currentSlide=0),i=t.currentSlide,t.destroy(!0),u.extend(t,t.initials,{currentSlide:i}),t.init(),e||t.changeSlide({data:{message:"index",index:i}},!1)},s.prototype.registerBreakpoints=function(){var e,t,i,n=this,o=n.options.responsive||null;if("array"===u.type(o)&&o.length){for(e in n.respondTo=n.options.respondTo||"window",o)if(i=n.breakpoints.length-1,o.hasOwnProperty(e)){for(t=o[e].breakpoint;0<=i;)n.breakpoints[i]&&n.breakpoints[i]===t&&n.breakpoints.splice(i,1),i--;n.breakpoints.push(t),n.breakpointSettings[t]=o[e].settings}n.breakpoints.sort(function(e,t){return n.options.mobileFirst?e-t:t-e})}},s.prototype.reinit=function(){var e=this;e.$slides=e.$slideTrack.children(e.options.slide).addClass("slick-slide"),e.slideCount=e.$slides.length,e.currentSlide>=e.slideCount&&0!==e.currentSlide&&(e.currentSlide=e.currentSlide-e.options.slidesToScroll),e.slideCount<=e.options.slidesToShow&&(e.currentSlide=0),e.registerBreakpoints(),e.setProps(),e.setupInfinite(),e.buildArrows(),e.updateArrows(),e.initArrowEvents(),e.buildDots(),e.updateDots(),e.initDotEvents(),e.cleanUpSlideEvents(),e.initSlideEvents(),e.checkResponsive(!1,!0),!0===e.options.focusOnSelect&&u(e.$slideTrack).children().on("click.slick",e.selectHandler),e.setSlideClasses("number"==typeof e.currentSlide?e.currentSlide:0),e.setPosition(),e.focusHandler(),e.paused=!e.options.autoplay,e.autoPlay(),e.$slider.trigger("reInit",[e])},s.prototype.resize=function(){var e=this;u(window).width()!==e.windowWidth&&(clearTimeout(e.windowDelay),e.windowDelay=window.setTimeout(function(){e.windowWidth=u(window).width(),e.checkResponsive(),e.unslicked||e.setPosition()},50))},s.prototype.removeSlide=s.prototype.slickRemove=function(e,t,i){var n=this;if(e="boolean"==typeof e?!0===(t=e)?0:n.slideCount-1:!0===t?--e:e,n.slideCount<1||e<0||e>n.slideCount-1)return!1;
1n.unload(),(!0===i?n.$slideTrack.children():n.$slideTrack.children(this.options.slide).eq(e)).remove(),n.$slides=n.$slideTrack.children(this.options.slide),n.$slideTrack.children(this.options.slide).detach(),n.$slideTrack.append(n.$slides),n.$slidesCache=n.$slides,n.reinit()},s.prototype.setCSS=function(e){var t,i,n=this,o={};!0===n.options.rtl&&(e=-e),t="left"==n.positionProp?Math.ceil(e)+"px":"0px",i="top"==n.positionProp?Math.ceil(e)+"px":"0px",o[n.positionProp]=e,!1!==n.transformsEnabled&&(!(o={})===n.cssTransitions?o[n.animType]="translate("+t+", "+i+")":o[n.animType]="translate3d("+t+", "+i+", 0px)"),n.$slideTrack.css(o)},s.prototype.setDimensions=function(){var e=this,t=(!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))),e.$slides.first().outerWidth(!0)-e.$slides.first().width());!1===e.options.variableWidth&&e.$slideTrack.children(".slick-slide").width(e.slideWidth-t)},s.prototype.setFade=function(){var i,n=this;n.$slides.each(function(e,t){i=n.slideWidth*e*-1,!0===n.options.rtl?u(t).css({position:"relative",right:i,top:0,zIndex:n.options.zIndex-2,opacity:0}
1):u(t).css({position:"relative",left:i,top:0,zIndex:n.options.zIndex-2,opacity:0})}),n.$slides.eq(n.currentSlide).css({zIndex:n.options.zIndex-1,opacity:1})},s.prototype.setHeight=function(){var e,t=this;1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical&&(e=t.$slides.eq(t.currentSlide).outerHeight(!0),t.$list.css("height",e))},s.prototype.setOption=s.prototype.slickSetOption=function(){var e,t,i,n,o,r=this,s=!1;if("object"===u.type(arguments[0])?(i=arguments[0],s=arguments[1],o="multiple"):"string"===u.type(arguments[0])&&(i=arguments[0],n=arguments[1],s=arguments[2],"responsive"===arguments[0]&&"array"===u.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[i]=n;else if("multiple"===o)u.each(i,function(e,t){r.options[e]=t});else if("responsive"===o)for(t in n)if("array"!==u.type(r.options.responsive))r.options.responsive=[n[t]];else{for(e=r.options.responsive.length-1;0<=e;)r.options.responsive[e].breakpoint===n[t].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(n[t])}s&&(r.unload(),r.reinit())},s.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])},s.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},s.prototype.setSlideClasses=function(e){var t,i,n,o=this,r=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true");o.$slides.eq(e).addClass("slick-current"),!0===o.options.centerMode?(i=o.options.slidesToShow%2==0?1:0,n=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&((n<=e&&e<=o.slideCount-1-n?o.$slides.slice(e-n+i,e+n+1):(t=o.options.slidesToShow+e,r.slice(t-n+1+i,t+n+2))).addClass("slick-active").attr("aria-hidden","false"),0===e?r.eq(r.length-1-o.options.slidesToShow).addClass("slick-center"):e===o.slideCount-1&&r.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(e).addClass("slick-center")):(0<=e&&e<=o.slideCount-o.options.slidesToShow?o.$slides.slice(e,e+o.options.slidesToShow):r.length<=o.options.slidesToShow?r:(i=o.slideCount%o.options.slidesToShow,t=!0===o.options.infinite?o.options.slidesToShow+e:e,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-e<o.options.slidesToShow?r.slice(t-(o.options.slidesToShow-i),t+i):r.slice(t,t+o.options.slidesToShow))).addClass("slick-active").attr("aria-hidden","false"),"ondemand"!==o.options.lazyLoad&&"anticipated"!==o.options.lazyLoad||o.lazyLoad()},s.prototype.setupInfinite=function(){var e,t,i,n=this;if(!0===n.options.fade&&(n.options.centerMode=!1),!0===n.options.infinite&&!1===n.options.fade&&(t=null,n.slideCount>n.options.slidesToShow)){for(i=!0===n.options.centerMode?n.options.slidesToShow+1:n.options.slidesToShow,e=n.slideCount;e>n.slideCount-i;--e)u(n.$slides[t=e-1]).clone(!0).attr("id","").attr("data-slick-index",t-n.slideCount).prependTo(n.$slideTrack).addClass("slick-cloned");for(e=0;e<i+n.slideCount;e+=1)t=e,u(n.$slides[t]).clone(!0).attr("id","").attr("data-slick-index",t+n.slideCount).appendTo(n.$slideTrack).addClass("slick-cloned");n.$slideTrack.find(".slick-cloned").find("[id]").each(function(){u(this).attr("id","")})}},s.prototype.interrupt=function(e){e||this.autoPlay(),this.interrupted=e},s.prototype.selectHandler=function(e){e=u(e.target).is(".slick-slide")?u(e.target):u(e.target).parents(".slick-slide"),e=(e=parseInt(e.attr("data-slick-index")))||0;this.slideCount<=this.options.slidesToShow?this.slideHandler(e,!1,!0):this.slideHandler(e)},s.prototype.slideHandler=function(e,t,i){var n,o,r,s=this;t=t||!1,!0===s.animating&&!0===s.options.waitForAnimate||!0===s.options.fade&&s.currentSlide===e||(!1===t&&s.asNavFor(e),n=e,t=s.getLeft(n),r=s.getLeft(s.currentSlide),s.currentLeft=null===s.swipeLeft?r:s.swipeLeft,!1===s.options.infinite&&!1===s.options.centerMode&&(e<0||e>s.getDotCount()*s.options.slidesToScroll)||!1===s.options.infinite&&!0===s.options.centerMode&&(e<0||e>s.slideCount-s.options.slidesToScroll)?!1===s.options.fade&&(n=s.currentSlide,!0!==i&&s.slideCount>s.options.slidesToShow?s.animateSlide(r,function(){s.postSlide(n)}):s.postSlide(n)):(s.options.autoplay&&clearInterval(s.autoPlayTimer),o=n<0?s.slideCount%s.options.slidesToScroll!=0?s.slideCount-s.slideCount%s.options.slidesToScroll:s.slideCount+n:n>=s.slideCount?s.slideCount%s.options.slidesToScroll!=0?0:n-s.slideCount:n,s.animating=!0,s.$slider.trigger("beforeChange",[s,s.currentSlide,o]),e=s.currentSlide,s.currentSlide=o,s.setSlideClasses(s.currentSlide),s.options.asNavFor&&(r=(r=s.getNavTarget()).slick("getSlick")).slideCount<=r.options.slidesToShow&&r.setSlideClasses(s.currentSlide),s.updateDots(),s.updateArrows(),!0===s.options.fade?(!0!==i?(s.fadeSlideOut(e),s.fade
vendor: 4,594 bytes, line 1
1Slide(o,function(){s.postSlide(o)})):s.postSlide(o),s.animateHeight()):!0!==i&&s.slideCount>s.options.slidesToShow?s.animateSlide(t,function(){s.postSlide(o)}):s.postSlide(o)))},s.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")},s.prototype.swipeDirection=function(){var e=this,t=e.touchObject.startX-e.touchObject.curX,i=e.touchObject.startY-e.touchObject.curY,i=Math.atan2(i,t),t=Math.round(180*i/Math.PI);return(t=t<0?360-Math.abs(t):t)<=45&&0<=t||t<=360&&315<=t?!1===e.options.rtl?"left":"right":135<=t&&t<=225?!1===e.options.rtl?"right":"left":!0===e.options.verticalSwiping?35<=t&&t<=135?"down":"up":"vertical"},s.prototype.swipeEnd=function(e){var t,i,n=this;if(n.dragging=!1,n.swiping=!1,n.scrolling)return n.scrolling=!1;if(n.interrupted=!1,n.shouldClick=!(10<n.touchObject.swipeLength),void 0===n.touchObject.curX)return!1;if(!0===n.touchObject.edgeHit&&n.$slider.trigger("edge",[n,n.swipeDirection()]),n.touchObject.swipeLength>=n.touchObject.minSwipe){switch(i=n.swipeDirection()){case"left":case"down":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide+n.getSlideCount()):n.currentSlide+n.getSlideCount(),n.currentDirection=0;break;case"right":case"up":t=n.options.swipeToSlide?n.checkNavigable(n.currentSlide-n.getSlideCount()):n.currentSlide-n.getSlideCount(),n.currentDirection=1}"vertical"!=i&&(n.slideHandler(t),n.touchObject={},n.$slider.trigger("swipe",[n,i]))}else n.touchObject.startX!==n.touchObject.curX&&(n.slideHandler(n.currentSlide),n.touchObject={})},s.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)}},s.prototype.swipeMove=function(e){var t,i,n=this,o=void 0!==e.originalEvent?e.originalEvent.touches:null;return!(!n.dragging||n.scrolling||o&&1!==o.length)&&(t=n.getLeft(n.currentSlide),n.touchObject.curX=void 0!==o?o[0].pageX:e.clientX,n.touchObject.curY=void 0!==o?o[0].pageY:e.clientY,n.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(n.touchObject.curX-n.touchObject.startX,2))),o=Math.round(Math.sqrt(Math.pow(n.touchObject.curY-n.touchObject.startY,2))),!n.options.verticalSwiping&&!n.swiping&&4<o?!(n.scrolling=!0):(!0===n.options.verticalSwiping&&(n.touchObject.swipeLength=o),o=n.swipeDirection(),void 0!==e.originalEvent&&4<n.touchObject.swipeLength&&(n.swiping=!0,e.preventDefault()),e=(!1===n.options.rtl?1:-1)*(n.touchObject.curX>n.touchObject.startX?1:-1),!0===n.options.verticalSwiping&&(e=n.touchObject.curY>n.touchObject.startY?1:-1),i=n.touchObject.swipeLength,(n.touchObject.edgeHit=!1)===n.options.infinite&&(0===n.currentSlide&&"right"===o||n.currentSlide>=n.getDotCount()&&"left"===o)&&(i=n.touchObject.swipeLength*n.options.edgeFriction,n.touchObject.edgeHit=!0),!1===n.options.vertical?n.swipeLeft=t+i*e:n.swipeLeft=t+i*(n.$list.height()/n.listWidth)*e,!0===n.options.verticalSwiping&&(n.swipeLeft=t+i*e),!0!==n.options.fade&&!1!==n.options.touchMove&&(!0===n.animating?(n.swipeLeft=null,!1):void n.setCSS(n.swipeLeft))))},s.prototype.swipeStart=function(e){var t,i=this;if(i.interrupted=!0,1!==i.touchObject.fingerCount||i.slideCount<=i.options.slidesToShow)return!(i.touchObject={});void 0!==e.originalEvent&&void 0!==e.originalEvent.touches&&(t=e.originalEvent.touches[0]),i.touchObject.startX=i.touchObject.curX=void 0!==t?t.pageX:e.clientX,i.touchObject.startY=i.touchObject.curY=void 0!==t?t.pageY:e.clientY,i.dragging=!0},s.prototype.unfilterSlides=s.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())},s.prototype.unload=function(){var e=this;u(".slick-cloned",e.$slider).remove(),e.$dots&&e.$dots.remove(),e.$prevArrow&&e.htmlExpr.test(e.options.prevArrow)&&e.$prevArrow.remove(),e.$nextArrow&&e.htmlExpr.test(e.options.nextArrow)&&e.$nextArrow.remove(),e.$slides.removeClass("slick-slide slick-active slick-visible slick-current").attr("aria-hidden","true").css("width","")}
1,s.prototype.unslick=function(e){this.$slider.trigger("unslick",[this,e]),this.destroy()},s.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")))},s.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"))},s.prototype.visibility=function(){this.options.autoplay&&(document[this.hidden]?this.interrupted=!0:this.interrupted=!1)},u.fn.slick=function(){for(var e,t=this,i=arguments[0],n=Array.prototype.slice.call(arguments,1),o=t.length,r=0;r<o;r++)if("object"==typeof i||void 0===i?t[r].slick=new s(t[r],i):e=t[r].slick[i].apply(t[r].slick,n),void 0!==e)return e;return t}}),((e,t)=>{"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.tippy=t()})(this,function(){function B(e){return"[object Object]"==={}.toString.call(e)}function u(e){return[].slice.call(e)}function h(e){for(var t=["","webkit"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],o=o?o+i:e;if(void 0!==document.body.style[o])return o}return null}function f(){return document.createElement("div")}function m(t){function e(e){return t.querySelector(e)}return{tooltip:e(M.TOOLTIP),backdrop:e(M.BACKDROP),content:e(M.CONTENT),arrow:e(M.ARROW)||e(M.ROUND_ARROW)}}function H(e){var t=e.getAttribute("title");t&&e.setAttribute("data-original-title",t),e.removeAttribute("title")}function R(e){return e&&"[object Function]"==={}.toString.call(e)}function d(e,t){return 1!==e.nodeType?[]:(e=getComputedStyle(e,null),t?e[t]:e)}function l(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function c(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=d(e),i=t.overflow;return/(auto|scroll|overlay)/.test(i+t.overflowY+t.overflowX)?e:c(l(e))}function p(e){return 11===e?Fe:10!==e&&Fe||_e}function g(e){if(!e)return document.documentElement;for(var t=p(10)?document.body:null,i=e.offsetParent;i===t&&e.nextElementSibling;)i=(e=e.nextElementSibling).offsetParent;var n=i&&i.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TD","TABLE"].indexOf(i.nodeName)&&"static"===d(i,"position")?g(i):i:(e?e.ownerDocument:document).documentElement}function r(e){return null!==e.parentNode?r(e.parentNode):e}function v(e,t){var i,n,o;return e&&e.nodeType&&t&&t.nodeType?(n=(o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING)?e:t,o=o?t:e,(i=document.createRange()).setStart(n,0),i.setEnd(o,0),e!==(i=i.commonAncestorContainer)&&t!==i||n.contains(o)?"BODY"===(o=(n=i).nodeName)||"HTML"!==o&&g(n.firstElementChild)!==n?g(i):i:(o=r(e)).host?v(o.host,t):v(e,r(t).host)):document.documentElement}function D(e,t){var t="top"===(1<arguments.length&&void 0!==t?t:"top")?"scrollTop":"scrollLeft",i=e.nodeName;return("BODY"===i||"HTML"===i?(i=e.ownerDocument.documentElement,e.ownerDocument.scrollingElement||i):e)[t]}function o(e,t){var t="x"===t?"Left":"Top",i="Left"==t?"Right":"Bottom";return parseFloat(e["border"+t+"Width"],10)+parseFloat(e["border"+i+"Width"],10)}function z(e,t,i,n){return Math.max(t["offset"+e],t["scroll"+e],i["client"+e],i["offset"+e],i["scroll"+e],p(10)?i["offset"+e]+n["margin"+("Height"===e?"Top":"Left")]+n["margin"+("Height"===e?"Bottom":"Right")]:0)}function j(){var e=document.body,t=document.documentElement,i=p(10)&&getComputedStyle(t);return{height:z("Height",e,t,i),width:z("Width",e,t,i)}}function y(e){return $({},e,{right:e.left+e.width,bottom:e.top+e.height})}function w(e){var t={};try{p(10)?(t=e.getBoundingClientRect(),i=D(e,"top"),n=D(e,"left"),t.top+=i,t.left+=n,t.bottom+=i,t.right+=n):t=e.getBoundingClientRect()}catch(e){}var i={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top}
1,n="HTML"===e.nodeName?j():{},t=n.width||e.clientWidth||i.right-i.left,n=n.height||e.clientHeight||i.bottom-i.top,t=e.offsetWidth-t,n=e.offsetHeight-n;return(t||n)&&(t-=o(e=d(e),"x"),n-=o(e,"y"),i.width-=t,i.height-=n),y(i)}function b(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=p(10),o="HTML"===t.nodeName,r=w(e),s=w(t),e=c(e),a=d(t),l=parseFloat(a.borderTopWidth,10),u=parseFloat(a.borderLeftWidth,10),s=(i&&"HTML"===t.nodeName&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0)),y({top:r.top-s.top-l,left:r.left-s.left-u,width:r.width,height:r.height}));return s.marginTop=0,s.marginLeft=0,!n&&o&&(r=parseFloat(a.marginTop,10),o=parseFloat(a.marginLeft,10),s.top-=l-r,s.bottom-=l-r,s.left-=u-o,s.right-=u-o,s.marginTop=r,s.marginLeft=o),s=(n&&!i?t.contains(e):t===e&&"BODY"!==e.nodeName)?function(e,t,i){var i=2<arguments.length&&void 0!==i&&i,n=D(t,"top"),t=D(t,"left"),i=i?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=t*i,e.right+=t*i,e}(s,t):s}function W(e){if(!e||!e.parentElement||p())return document.documentElement;for(var t=e.parentElement;t&&"none"===d(t,"transform");)t=t.parentElement;return t||document.documentElement}function C(e,t,i,n,o){var r,o=4<arguments.length&&void 0!==o&&o,s={top:0,left:0},a=o?W(e):v(e,t);return"viewport"===n?s=function(e,t){var t=1<arguments.length&&void 0!==t&&t,i=e.ownerDocument.documentElement,e=b(e,i),n=Math.max(i.clientWidth,window.innerWidth||0),o=Math.max(i.clientHeight,window.innerHeight||0),r=t?0:D(i),t=t?0:D(i,"left");return y({top:r-e.top+e.marginTop,left:t-e.left+e.marginLeft,width:n,height:o})}(a,o):(r=void 0,"scrollParent"===n?"BODY"===(r=c(l(t))).nodeName&&(r=e.ownerDocument.documentElement):r="window"===n?e.ownerDocument.documentElement:n,t=b(r,a,o),"HTML"!==r.nodeName||function e(t){var i=t.nodeName;return"BODY"!==i&&"HTML"!==i&&("fixed"===d(t,"position")||e(l(t)))}(a)?s=t:(n=(e=j()).height,o=e.width,s.top+=t.top-t.marginTop,s.bottom=n+t.top,s.left+=t.left-t.marginLeft,s.right=o+t.left)),s.left+=i,s.top+=i,s.right-=i,s.bottom-=i,s}function V(e,t,i,n,o,r){var s,r=5<arguments.length&&void 0!==r?r:0;return-1===e.indexOf("auto")?e:(n=C(i,n,r,o),s={top:{width:n.width,height:t.top-n.top},right:{width:n.right-t.right,height:n.height},bottom:{width:n.width,height:n.bottom-t.bottom},left:{width:t.left-n.left,height:n.height}},(0<(o=(r=Object.keys(s).map(function(e){return $({key:e},s[e],{area:(e=s[e]).width*e.height})}).sort(function(e,t){return t.area-e.area})).filter(function(e){return e.width>=i.clientWidth&&e.height>=i.clientHeight})).length?o:r)[0].key+((t=e.split("-")[1])?"-"+t:""))}function q(e,t,i,n){n=3<arguments.length&&void 0!==n?n:null;return b(i,n?W(t):v(t,i),n)}function U(e){var t=getComputedStyle(e),i=parseFloat(t.marginTop)+parseFloat(t.marginBottom),t=parseFloat(t.marginLeft)+parseFloat(t.marginRight);return{width:e.offsetWidth+t,height:e.offsetHeight+i}}function k(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function Y(e,t,i){i=i.split("-")[0];var e=U(e),n={width:e.width,height:e.height},o=-1!==["right","left"].indexOf(i),r=o?"top":"left",s=o?"left":"top",a=o?"height":"width",o=o?"width":"height";return n[r]=t[r]+t[a]/2-e[a]/2,n[s]=i===s?t[s]-e[o]:t[k(s)],n}function x(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function G(e,i,t){var n,o;return(void 0===t?e:e.slice(0,(e=e,n="name",o=t,Array.prototype.findIndex?e.findIndex(function(e){return e[n]===o}):(t=x(e,function(e){return e[n]===o}),e.indexOf(t))))).forEach(function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var t=e.function||e.fn;e.enabled&&R(t)&&(i.offsets.popper=y(i.offsets.popper),i.offsets.reference=y(i.offsets.reference),i=t(i,e))}),i}function i(e,i){return e.some(function(e){var t=e.name;return e.enabled&&t===i})}function T(e){for(var t=[!1,"ms","Webkit","Moz","O"],i=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],o=o?""+o+i:e;if(void 0!==document.body.style[o])return o}return null}function X(e){e=e.ownerDocument;return e?e.defaultView:window}function K(e,t,i,n){i.updateBound=n,X(e).addEventListener("resize",i.updateBound,{passive:!0});n=c(e);return function e(t,i,n,o){var r="BODY"===t.nodeName,t=r?t.ownerDocument.defaultView:t;t.addEventListener(i,n,{passive:!0}),r||e(c(t.parentNode),i,n,o),o.push(t)}(n,"scroll",i.updateBound,i.scrollParents),i.scrollElement=n,i.eventsEnabled=!0,i}function Z(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,X(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEac
1h(function(e){e.removeEventListener("scroll",t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function Q(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function J(i,n){Object.keys(n).forEach(function(e){var t="";-1!==["width","height","top","right","bottom","left"].indexOf(e)&&Q(n[e])&&(t="px"),i.style[e]=n[e]+t})}function ee(e,t,i){var n,o=x(e,function(e){return e.name===t}),e=!!o&&e.some(function(e){return e.name===i&&e.enabled&&e.order<o.order});return e||(n="`"+t+"`",console.warn("`"+i+"`"+" modifier is required by "+n+" modifier in order to work, be sure to include it before "+n+"!")),e}function te(e,t){t=1<arguments.length&&void 0!==t&&t,e=Me.indexOf(e),e=Me.slice(e+1).concat(Me.slice(0,e));return t?e.reverse():e}function ie(e,a,l,t){var o=[0,0],n=-1!==["right","left"].indexOf(t),t=e.split(/(\+|\-)/).map(function(e){return e.trim()}),e=t.indexOf(x(t,function(e){return-1!==e.search(/,|\s/)})),i=(t[e]&&-1===t[e].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead."),/\s*,\s*|\s+/);return(-1!==e?[t.slice(0,e).concat([t[e].split(i)[0]]),[t[e].split(i)[1]].concat(t.slice(e+1))]:[t]).map(function(e,t){var s=(1===t?!n:n)?"height":"width",i=!1;return e.reduce(function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,i=!0,e):i?(e[e.length-1]+=t,i=!1,e):e.concat(t)},[]).map(function(e){return t=s,i=a,n=l,o=+(r=(e=e).match(/((?:\-|\+)?\d*\.?\d*)(.*)/))[1],r=r[2],o?0===r.indexOf("%")?y("%p"===r?i:n)[t]/100*o:"vh"===r||"vw"===r?("vh"===r?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*o:o:e;var t,i,n,o,r})}).forEach(function(i,n){i.forEach(function(e,t){Q(e)&&(o[n]+=e*("-"===i[t-1]?-1:1))})}),o}function E(e){return e.getAttribute("x-placement").replace(/-.+/,"")}function ne(e,t,i,n){return t.length?{scale:1===t.length?""+t[0]:i?t[0]+", "+t[1]:t[1]+", "+t[0],translate:1===t.length?n?-t[0]+"px":t[0]+"px":i?n?t[0]+"px, "+-t[1]+"px":t[0]+"px, "+t[1]+"px":n?-t[1]+"px, "+t[0]+"px":t[1]+"px, "+t[0]+"px"}[e]:""}function oe(e,t){return e?t?e:{X:"Y",Y:"X"}[e]:""}function re(e,t,i){function n(e){return(e=i.match(e))?e[1]:""}function o(e){return(e=i.match(e))?e[1].split(",").map(parseFloat):[]}var e=E(e),r="top"===e||"bottom"===e,e="right"===e||"bottom"===e,s=/translateX?Y?\(([^)]+)\)/,a=/scaleX?Y?\(([^)]+)\)/,l={translate:{axis:n(/translate([XY])/),numbers:o(s)},scale:{axis:n(/scale([XY])/),numbers:o(a)}},s=i.replace(s,"translate"+oe(l.translate.axis,r)+"("+ne("translate",l.translate.numbers,r,e)+")").replace(a,"scale"+oe(l.scale.axis,r)+"("+ne("scale",l.scale.numbers,r,e)+")");t.style[h("transform")]=s}function se(e){return-(e-O.distance)+"px"}function S(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(Pe.call(t,e))return t;t=t.parentElement}}).call(e,t)}function F(e,t){return Array.isArray(e)?e[t]:e}function ae(e,t){e.forEach(function(e){e&&e.setAttribute("data-state",t)})}function le(e,t){e.filter(Boolean).forEach(function(e){e.style[h("transitionDuration")]=t+"ms"})}function ue(e){var t=window.scrollX||window.pageXOffset,i=window.scrollY||window.pageYOffset;e.focus(),scroll(t,i)}function _(){var e=this._(P).lastTriggerEvent;return this.options.followCursor&&!A.usingTouch&&e&&"focus"!==e.type}function ce(e){var t=this,i=this.options;he.call(this),this.state.visible||(i.target?function(e){var t,i=S(e.target,this.options.target);i&&!i._tippy&&(t=i.getAttribute("title")||this.title)&&(i.setAttribute("title",t),n(i,I({},this.options,{target:null})),ce.call(i._tippy,e))}.call(this,e):(this._(P).isPreparingToShow=!0,i.wait?i.wait.call(this.popper,this.show.bind(this),e):(_.call(this)&&(this._(P).followCursorListener||function(){var n=this;this._(P).followCursorListener=function(e){var e=n._(P).lastMouseMoveEvent=e,t=e.clientX,i=e.clientY;n.popperInstance&&(n.popperInstance.reference={getBoundingClientRect:function(){return{width:0,height:0,top:i,left:t,right:t,bottom:i}},clientWidth:0,clientHeight:0},n.popperInstance.scheduleUpdate())}}.call(this),(e=m(this.popper).arrow)&&(e.style.margin="0"),document.addEventListener("mousemove",this._(P).followCursorListener)),(e=F(i.delay,0))?this._(P).showTimeout=setTimeout(function(){t.show()},e):this.show())))}function s(){var e,t=this;he.call(this),this.state.visible&&(this._(P).isPreparingToShow=!1,(e=F(this.options.delay,1))?this._(P).hideTimeout=setTimeout(function(){t.state.visible&&t.hide()},e):this.hide())}function de(){var r=this;return{onTrigger:function(e){!r.state.enabled||A.supportsTouch&&A.usingTouch&&-1<["mouseenter","mouseover","focus"].indexOf(e.type)&&r.options.touchHold||("click"===(r._(P).lastTriggerEvent=e).type&&"persistent"!==r.options.hideOnClick&&r.state.visible?s.call(r):ce.call(r,e))},onMouseLeave:function(e){var o;-1<["mouseleave","mouseout"].indexOf(e.type)&&A.supportsTouch&&A.usingTouch&&r.options.touchHold||(r.options.interactive?(o=s.bind(r),e=function e(t){var i=S(t.target,M.REFERENCE),n=S(t.target,M.POPPER)===r.popper,i=i===r.reference;n||i||((e,t,i)=>{if(!t.getAttribute("x-placement"))return 1;var n=e.clientX,o=e.clientY,e=i.interactiveBorder,i=i.distance,r=t.getBoundingClientRect(),t=E(t),s=e+i,a={top:r.top-o>e,bottom:e<o-r.bottom,left:e<r.left-n,right:e<n-r.right};switch(t){case"top":a.top=r.top-o>s;break;case"bottom":a.bottom=o-r.bottom>s;break;case"left":a.left=r.left-n>s;break;case"right":a.right=n-r.right>s}return a.top||a.bottom||a.left||a.right})(t,r.popper,r.options)&&(document.body.removeEventListener("mouseleave",o),document.removeEventListener("mousemove",e),s.call(r,e))},document.body.addEventListener("mouseleave",o),document.addEventListener("mousemove",e)):s.call(r))},onBlur:function(e){if(e.target===r.reference&&!A.usingTouch){if(r.options.interactive){if(!e.relatedTarget)return;if(S(e.relatedTarget,M.POPPER))return}s.call(r)}}
1,onDelegateShow:function(e){S(e.target,r.options.target)&&ce.call(r,e)},onDelegateHide:function(e){S(e.target,r.options.target)&&s.call(r)}}}function pe(){var e=this,t=this.popper,i=this.reference,n=this.options,o=m(t).tooltip,r=n.popperOptions,s="round"===n.arrowType?M.ROUND_ARROW:M.ARROW,a=o.querySelector(s),s=I({placement:n.placement},r||{},{modifiers:I({},r?r.modifiers:{},{arrow:I({element:s},r&&r.modifiers?r.modifiers.arrow:{}),flip:I({enabled:n.flip,padding:n.distance+5,behavior:n.flipBehavior},r&&r.modifiers?r.modifiers.flip:{}),offset:I({offset:n.offset},r&&r.modifiers?r.modifiers.offset:{})}),onCreate:function(){o.style[E(t)]=se(n.distance),a&&n.arrowTransform&&re(t,a,n.arrowTransform)},onUpdate:function(){var e=o.style;e.top="",e.bottom="",e.left="",e.right="",e[E(t)]=se(n.distance),a&&n.arrowTransform&&re(t,a,n.arrowTransform)}});return me.call(this,{target:t,callback:function(){e.popperInstance.update()},options:{childList:!0,subtree:!0,characterData:!0}}),new N(i,t,s)}function he(){var e=this._(P),t=e.showTimeout,e=e.hideTimeout;clearTimeout(t),clearTimeout(e)}function fe(){var t=this;(function e(){t.popperInstance&&t.popperInstance.update(),t.popper.style[h("transitionDuration")]=t.options.updateDuration+"ms",t.state.visible?requestAnimationFrame(e):t.popper.style[h("transitionDuration")]=""})()}function me(e){var t=e.target,i=e.options;window.MutationObserver&&((e=new MutationObserver(e.callback)).observe(t,i),this._(P).mutationObservers.push(e))}function ge(e,t){if(!e)return t();function i(e){e.target===n&&(o("remove",i),t())}var n=m(this.popper).tooltip,o=function(e,t){t&&n[e+"EventListener"]("ontransitionend"in window?"transitionend":"webkitTransitionEnd",t)};o("remove",this._(P).transitionendListener),o("add",i),this._(P).transitionendListener=i}function ve(e,l){return e.reduce(function(e,c){var n,o,t,i,r,d,s=He,p=(a=c,(t=l.performance?l:(n=c,o=l,t=be.reduce(function(e,t){var i=n.getAttribute("data-tippy-"+t.toLowerCase())||o[t];return"true"===(i="false"===i?!1:i)&&(i=!0),isFinite(i)&&!isNaN(parseFloat(i))&&(i=parseFloat(i)),"target"!==t&&"string"==typeof i&&"["
1===i.trim().charAt(0)&&(i=JSON.parse(i)),e[t]=i,e},{}),I({},o,t))).arrow&&(t.animateFill=!1),t.appendTo&&"function"==typeof t.appendTo&&(t.appendTo=t.appendTo()),"function"==typeof t.html&&(t.html=t.html(a)),t),a=c.getAttribute("title");return(a||p.target||p.html||p.dynamicTitle)&&(c.setAttribute(p.target?"data-tippy-delegate":"data-tippy",""),H(c),i=((e,t,i)=>{var n,o=f(),r=(o.setAttribute("class","tippy-popper"),o.setAttribute("role","tooltip"),o.setAttribute("id","tippy-"+e),o.style.zIndex=i.zIndex,o.style.maxWidth=i.maxWidth,f()),s=(r.setAttribute("class","tippy-tooltip"),r.setAttribute("data-size",i.size),r.setAttribute("data-animation",i.animation),r.setAttribute("data-state","hidden"),i.theme.split(" ").forEach(function(e){r.classList.add(e+"-theme")}),(e=f()).setAttribute("class","tippy-content"),i.arrow&&((s=f()).style[h("transform")]=i.arrowTransform,"round"===i.arrowType?(s.classList.add("tippy-roundarrow"),s.innerHTML='<svg viewBox="0 0 24 8" xmlns="http://www.w3.org/2000/svg"><path d="M3 8s2.021-.015 5.253-4.218C9.584 2.051 10.797 1.007 12 1c1.203-.007 2.416 1.035 3.761 2.782C19.012 8.005 21 8 21 8H3z"/></svg>'):s.classList.add("tippy-arrow"),r.appendChild(s)),i.animateFill&&(r.setAttribute("data-animatefill",""),(s=f()).classList.add("tippy-backdrop"),s.setAttribute("data-state","hidden"),r.appendChild(s)),i.inertia&&r.setAttribute("data-inertia",""),i.interactive&&r.setAttribute("data-interactive",""),i.html);return s?(n=void 0,n=s instanceof Element?(e.appendChild(s),"#"+(s.id||"tippy-html-template")):(e.innerHTML=document.querySelector(s).innerHTML,s),o.setAttribute("data-html",""),r.setAttribute("data-template-id",n),i.interactive&&o.setAttribute("tabindex","-1")):e[i.allowTitleHTML?"innerHTML":"textContent"]=t,r.appendChild(e),o.appendChild(r),o})(s,a,p),r=new Be({id:s,reference:c,popper:i,options:p,title:a,popperInstance:null}),p.createPopperInstanceOnInit&&(r.popperInstance=pe.call(r),r.popperInstance.disableEventListeners()),d=de.call(r),r.listeners=p.trigger.trim().split(" ").reduce(function(e,t){return e.concat((e=t,i=c,t=p,r=(n=d).onTrigger,s=n.onMouseLeave,a=n.onBlur,l=n.onDelegateShow,n=n.onDelegateHide,u=[],"manual"!==e&&(o=function(e,t){i.addEventListener(e,t),u.push({event:e,handler:t})},t.target?(A.supportsTouch&&t.touchHold&&(o("touchstart",l),o("touchend",n)),"mouseenter"===e&&(o("mouseover",l),o("mouseout",n)),"focus"===e&&(o("focusin",l),o("focusout",n)),"click"===e&&o("click",l)):(o(e,r),A.supportsTouch&&t.touchHold&&(o("touchstart",r),o("touchend",s)),"mouseenter"===e&&o("mouseleave",s),"focus"===e&&o(we?"focusout":"blur",a))),u));var i,n,o,r,s,a,l,u},[]),p.dynamicTitle&&me.call(r,{target:c,callback:function(){var e=m(i).content,t=c.getAttribute("title");t&&(e[p.allowTitleHTML?"innerHTML":"textContent"]=r.title=t,H(c))},options:{attributes:!0}}),c._tippy=r,i._tippy=r,i._reference=c,e.push(r),He++),e},[])}function De(n){u(document.querySelectorAll(M.POPPER)).forEach(function(e){var t,i=e._tippy;!i||!(!0===(t=i.options).hideOnClick||-1<t.trigger.indexOf("focus"))||n&&e===n.popper||i.hide()})}function n(e,t,i){var n,o,r;function s(){A.usingTouch||(A.usingTouch=!0,A.iOS&&document.body.classList.add("tippy-touch"),A.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",r),A.onUserInputChange("touch"))}A.supported&&!Re&&(o=void 0,r=function(){var e=performance.now();e-o<20&&(A.usingTouch=!1,document.removeEventListener("mousemove",r),A.iOS||document.body.classList.remove("tippy-touch"),A.onUserInputChange("mouse")),o=e},document.addEventListener("click",function(e){if(!(e.target instanceof Element))return De();var t=S(e.target,M.REFERENCE),e=S(e.target,M.POPPER);if(!(e&&e._tippy&&e._tippy.options.interactive)){if(t&&t._tippy){var e=t._tippy.options,i=-1<e.trigger.indexOf("click"),n=e.multiple;if(!n&&A.usingTouch||!n&&i)return De(t._tippy);if(!0!==e.hideOnClick||i)return}De()}}),document.addEventListener("touchstart",s),window.addEventListener("blur",function(){var e=document.activeElement;e&&e.blur&&Pe.call(e,M.REFERENCE)&&e.blur()}),window.addEventListener("resize",function(){u(document.querySelectorAll(M.POPPER)).forEac
1h(function(e){e=e._tippy;e&&!e.options.livePlacement&&e.popperInstance.scheduleUpdate()})}),A.supportsTouch||!navigator.maxTouchPoints&&!navigator.msMaxTouchPoints||document.addEventListener("pointerdown",s),Re=!0),B(e)&&((n=e).refObj=!0,n.attributes=n.attributes||{},n.setAttribute=function(e,t){n.attributes[e]=t},n.getAttribute=function(e){return n.attributes[e]},n.removeAttribute=function(e){delete n.attributes[e]},n.hasAttribute=function(e){return e in n.attributes},n.addEventListener=function(){},n.removeEventListener=function(){},n.classList={classNames:{},add:function(e){return n.classList.classNames[e]=!0},remove:function(e){return delete n.classList.classNames[e],!0},contains:function(e){return e in n.classList.classNames}}),t=I({},O,t);var a=(e=>{if(e instanceof Element||B(e))return[e];if(e instanceof NodeList)return u(e);if(Array.isArray(e))return e;try{return u(document.querySelectorAll(e))}catch(e){return[]}})(e),l=a[0];return{selector:e,options:t,tooltips:A.supported?ve(i&&l?[l]:a,t):[],destroyAll:function(){this.tooltips.forEach(function(e){return e.destroy()}),this.tooltips=[]}}}var ye="undefined"!=typeof window,we=ye&&/MSIE |Trident\//.test(navigator.userAgent),A={};ye&&(A.supported="requestAnimationFrame"in window,A.supportsTouch="ontouchstart"in window,A.usingTouch=!1,A.dynamicInputDetection=!0,A.iOS=/iPhone|iPad|iPod/.test(navigator.platform)&&!window.MSStream,A.onUserInputChange=function(){});for(var M={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-content",BACKDROP:".tippy-backdrop",ARROW:".tippy-arrow",ROUND_ARROW:".tippy-roundarrow",REFERENCE:"[data-tippy]"},O={placement:"top",livePlacement:!0,trigger:"mouseenter focus",animation:"shift-away",html:!1,animateFill:!0,arrow:!1,delay:0,duration:[350,300],interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,updateDuration:350,sticky:!1,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,flip:!0,flipBehavior:"flip",arrowType:"sharp",arrowTransform:"",maxWidth:"",target:null,allowTitleHTML:!0,popperOptions:{},createPopperInstanceOnInit:!1,onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){}},be=A.supported&&Object.keys(O),Ce=function(e,t,i){return t&&Ee(e.prototype,t),i&&Ee(e,i),e},I=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e="undefined"!=typeof window&&"undefined"!=typeof document,ke=["Edge","Trident","Firefox"],xe=0,Te=0;Te<ke.length;Te+=1)if(e&&0<=navigator.userAgent.indexOf(ke[Te])){xe=1;break}function Ee(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function L(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}var Se=e&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},xe))}},Fe=e&&!(!window.MSInputMethodContext||!document.documentMode),_e=e&&/MSIE 10/.test(navigator.userAgent),Ae=function(e,t,i){return t&&Ne(e.prototype,t),i&&Ne(e,i),e},$=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var i,n=arguments[t];for(i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},t=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],Me=t.slice(3),Oe="flip",Ie="clockwise",Le="counterclockwise",$e={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t,i,n,o=e.placement,r=o.split("-")[0];return(o=o.split("-")[1])&&(t=(i=e.offsets).reference,i=i.popper,n=(r=-1!==["bottom","top"].indexOf(r))?"width":"height",r={start:L({},r=r?"left":"top",t[r]),end:L({},r,t[r]+t[n]-i[n])},e.offsets.popper=$({},i,r[o])),e}},offset:{order:200,enabled:!0,fn:function(e,t){var t=t.offset,i=e.placement,n=(o=e.offsets).popper,o=o.reference,i=i.split("-")[0],t=Q(+t)?[+t,0]:ie(t,n,o,i);return"left"===i?(n.top+=t[0],n.left-=t[1]):"right"===i?(n.top+=t[0],n.left+=t[1]):"top"===i?(n.left+=t[0],n.top-=t[1]):"bottom"===i&&(n.left+=t[0],n.top+=t[1]),e.popper=n,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,n){var t=n.boundariesElement||g(e.instance.popper),i=(e.instance.reference===t&&(t=g(t)),T("transform")),o=e.instance.popper.style,r=o.top,s=o.left,a=o[i],l=(o.top="",o.left="",o[i]="",C(e.instance.popper,e.instance.reference,n.padding,t,e.positionFixed)),t=(o.top=r,o.left=s,o[i]=a,n.boundaries=l,n.priority),u=e.offsets.popper,c={primary:function(e){var t=u[e];return u[e]<l[e]&&!n.escapeWithReference&&(t=Math.max(u[e],l[e])),L({},e,t)}
1,secondary:function(e){var t="right"===e?"left":"top",i=u[t];return u[e]>l[e]&&!n.escapeWithReference&&(i=Math.min(u[t],l[e]-("right"===e?u.width:u.height))),L({},t,i)}};return t.forEach(function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";u=$({},u,c[t](e))}),e.offsets.popper=u,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=(i=e.offsets).popper,i=i.reference,n=e.placement.split("-")[0],o=Math.floor,r=(n=-1!==["top","bottom"].indexOf(n))?"right":"bottom",s=n?"left":"top",n=n?"width":"height";return t[r]<o(i[s])&&(e.offsets.popper[s]=o(i[s])-t[n]),t[s]>o(i[r])&&(e.offsets.popper[s]=o(i[r])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){if(ee(e.instance.modifiers,"arrow","keepTogether")){t=t.element;if("string"==typeof t){if(!(t=e.instance.popper.querySelector(t)))return e}else if(!e.instance.popper.contains(t))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var i=e.placement.split("-")[0],n=e.offsets,o=n.popper,n=n.reference,i=-1!==["left","right"].indexOf(i),r=i?"height":"width",s=i?"Top":"Left",a=s.toLowerCase(),l=i?"left":"top",i=i?"bottom":"right",u=U(t)[r],i=(n[i]-u<o[a]&&(e.offsets.popper[a]-=o[a]-(n[i]-u)),n[a]+u>o[i]&&(e.offsets.popper[a]+=n[a]+u-o[i]),e.offsets.popper=y(e.offsets.popper),n[a]+n[r]/2-u/2),n=d(e.instance.popper),c=parseFloat(n["margin"+s],10),n=parseFloat(n["border"+s+"Width"],10),s=i-e.offsets.popper[a]-c-n,s=Math.max(Math.min(o[r]-u,s),0);e.arrowElement=t,e.offsets.arrow=(L(i={},a,Math.round(s)),L(i,l,""),i)}return e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(l,u){if(!(i(l.instance.modifiers,"inner")||l.flipped&&l.placement===l.originalPlacement)){var c=C(l.instance.popper,l.instance.reference,u.padding,u.boundariesElement,l.positionFixed),d=l.placement.split("-")[0],p=k(d),h=l.placement.split("-")[1]||"",f=[];switch(u.behavior){case Oe:f=[d,p];break;case Ie:f=te(d);break;case Le:f=te(d,!0);break;default:f=u.behavior}f.forEach(function(e,t){if(d!==e||f.length===t+1)return l;d=l.placement.split("-")[0],p=k(d);var e=l.offsets.popper,i=l.offsets.reference,n=Math.floor,i="left"===d&&n(e.right)>n(i.left)||"right"===d&&n(e.left)<n(i.right)||"top"===d&&n(e.bottom)>n(i.top)||"bottom"===d&&n(e.top)<n(i.bottom),o=n(e.left)<n(c.left),r=n(e.right)>n(c.right),s=n(e.top)<n(c.top),e=n(e.bottom)>n(c.bottom),n="left"===d&&o||"right"===d&&r||"top"===d&&s||"bottom"===d&&e,a=-1!==["top","bottom"].indexOf(d),o=!!u.flipVariations&&(a&&"start"===h&&o||a&&"end"===h&&r||!a&&"start"===h&&s||!a&&"end"===h&&e);(i||n||o)&&(l.flipped=!0,(i||n)&&(d=f[t+1]),o&&(h="end"===(r=h)?"start":"start"===r?"end":r),l.placement=d+(h?"-"+h:""),l.offsets.popper=$({},l.offsets.popper,Y(l.instance.popper,l.offsets.reference,l.placement)),l=G(l.instance.modifiers,l,"flip"))})}return l},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,i=t.split("-")[0],n=(o=e.offsets).popper,o=o.reference,r=-1!==["left","right"].indexOf(i),s=-1===["top","left"].indexOf(i);return n[r?"left":"top"]=o[i]-(s?n[r?"width":"height"]:0),e.placement=k(t),e.offsets.popper=y(n),e}},hide:{order:800,enabled:!0,fn:function(e){if(ee(e.instance.modifiers,"hide","preventOverflow")){var t=e.offsets.reference,i=x(e.instance.modifiers,function(e){return"preventOverflow"===e.name}).boundaries;if(t.bottom<i.top||t.left>i.right||t.top>i.bottom||t.right<i.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var i=t.x,n=t.y,o=e.offsets.popper,r=(void 0!==(r=x(e.instance.modifiers,function(e){return"applyStyle"===e.name}).gpuAcceleration)&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!"),void 0!==r?r:t.gpuAcceleration),t=w(g(e.instance.popper)),s={position:o.position},o={left:Math.floor(o.left),top:Math.round(o.top),bottom:Math.round(o.bottom),right:Math.floor(o.right)},i="bottom"===i?"top":"bottom",n="right"===n?"left":"right",a=T("transform"),l="bottom"==i?-t.height+o.bottom:o.top,t="right"==n?-t.width+o.right:o.left,r=(r&&a?(s[a]="translate3d("+t+"px, "+l+"px, 0)",s[i]=0,s[n]=0,s.willChange="transform"):(o="right"==n?-1:1,s[i]=l*("bottom"==i?-1:1),s[n]=t*o,s.willChange=i+", "+n),{"x-placement":e.placement});return e.attributes=$({},r,e.attributes),e.styles=$({},s,e.styles),e.arrowStyles=$({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){return J(e.instance.popper,e.styles),t=e.instance.popper,i=e.attributes,Object.keys(i).forEac
1h(function(e){!1!==i[e]?t.setAttribute(e,i[e]):t.removeAttribute(e)}),e.arrowElement&&Object.keys(e.arrowStyles).length&&J(e.arrowElement,e.arrowStyles),e;var t,i},onLoad:function(e,t,i,n,o){return o=q(o,t,e,i.positionFixed),o=V(i.placement,o,t,e,i.modifiers.flip.boundariesElement,i.modifiers.flip.padding),t.setAttribute("x-placement",o),J(t,{position:i.positionFixed?"fixed":"absolute"}),i},gpuAcceleration:void 0}}},N=(Ae(a,[{key:"update",value:function(){return function(){var e;this.state.isDestroyed||((e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}}).offsets.reference=q(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=V(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=Y(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=G(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e)))}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,i(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[T("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return function(){this.state.eventsEnabled||(this.state=K(this.reference,this.options,this.state,this.scheduleUpdate))}.call(this)}},{key:"disableEventListeners",value:function(){return Z.call(this)}}]),a);function a(e,t){var i=this,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{},o=this,r=a;if(!(o instanceof r))throw new TypeError("Cannot call a class as a function");this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=Se(this.update.bind(this)),this.options=$({},a.Defaults,n),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=t&&t.jquery?t[0]:t,this.options.modifiers={},Object.keys($({},a.Defaults.modifiers,n.modifiers)).forEach(function(e){i.options.modifiers[e]=$({},a.Defaults.modifiers[e]||{},n.modifiers?n.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return $({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(e){e.enabled&&R(e.onLoad)&&e.onLoad(i.reference,i.popper,i.options,e,i.state)}),this.update();o=this.options.eventsEnabled;o&&this.enableEventListeners(),this.state.eventsEnabled=o}function Ne(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}N.Utils=("undefined"!=typeof window?window:global).PopperUtils,N.placements=t,N.Defaults=$e;var Ae={},Pe=Ae=ye?(t=Element.prototype).matches||t.matchesSelector||t.webkitMatchesSelector||t.mozMatchesSelector||t.msMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),i=t.length;0<=--i&&t.item(i)!==this;);return-1<i}:Ae,P={},Be=(Ce(ze,[{key:"enable",value:function(){this.state.enabled=!0}},{key:"disable",value:function(){this.state.enabled=!1}},{key:"show",value:function(i){var n,o,r,e,s,a,l,u=this;!this.state.destroyed&&this.state.enabled&&(n=this.popper,o=this.reference,r=this.options,e=m(n),s=e.tooltip,a=e.backdrop,l=e.content,r.dynamicTitle&&!o.getAttribute("data-original-title")||o.hasAttribute("disabled")||(o.refObj||document.documentElement.contains(o)?(r.onShow.call(n,this),i=F(void 0!==i?i:r.duration,0),le([n,s,a],0),n.style.visibility="visible",this.state.visible=!0,function(e){var t,i,n,o,r,s,a=this.options;this.popperInstance?(this.popperInstance.scheduleUpdate(),a.livePlacement&&!_.call(this)&&this.popperInstance.enableEventListeners()):(this.popperInstance=pe.call(this),a.livePlacement||this.popperInstance.disableEventListeners()),_.call(this)||((t=m(this.popper).arrow)&&(t.style.margin=""),this.popperInstance.reference=this.reference),t=this.popperInstance,i=e,e=!0,n=t.popper,r=(o=t.options).onCreate,s=o.onUp
1date,o.onCreate=o.onUpdate=function(){n.offsetHeight,i&&i(),s(),o.onCreate=r,o.onUpdate=s},e||t.scheduleUpdate(),a.appendTo.contains(this.popper)||a.appendTo.appendChild(this.popper)}.call(this,function(){var e,t;u.state.visible&&(_.call(u)||u.popperInstance.scheduleUpdate(),_.call(u)&&(u.popperInstance.disableEventListeners(),e=F(r.delay,0),t=u._(P).lastTriggerEvent)&&u._(P).followCursorListener(e&&u._(P).lastMouseMoveEvent?u._(P).lastMouseMoveEvent:t),le([s,a,a?l:null],i),a&&getComputedStyle(a)[h("transform")],r.interactive&&o.classList.add("tippy-active"),r.sticky&&fe.call(u),ae([s,a],"visible"),ge.call(u,i,function(){r.updateDuration||s.classList.add("tippy-notransition"),r.interactive&&ue(n),o.setAttribute("aria-describedby","tippy-"+u.id),r.onShown.call(n,u)}))})):this.destroy()))}},{key:"hide",value:function(e){var t,i,n,o,r,s,a,l=this;!this.state.destroyed&&this.state.enabled&&(t=this.popper,i=this.reference,n=this.options,o=(s=m(t)).tooltip,r=s.backdrop,s=s.content,n.onHide.call(t,this),e=F(void 0!==e?e:n.duration,1),n.updateDuration||o.classList.remove("tippy-notransition"),n.interactive&&i.classList.remove("tippy-active"),t.style.visibility="hidden",this.state.visible=!1,le([o,r,r?s:null],e),ae([o,r],"hidden"),n.interactive&&-1<n.trigger.indexOf("click")&&ue(i),a=function(){ge.call(l,e,function(){!l.state.visible&&n.appendTo.contains(t)&&(l._(P).isPreparingToShow||(document.removeEventListener("mousemove",l._(P).followCursorListener),l._(P).lastMouseMoveEvent=null),l.popperInstance&&l.popperInstance.disableEventListeners(),i.removeAttribute("aria-describedby"),n.appendTo.removeChild(t),n.onHidden.call(t,l))})},requestAnimationFrame(function(){setTimeout(a,1)}))}},{key:"destroy",value:function(){var t=this,e=!(0<arguments.length&&void 0!==arguments[0])||arguments[0];this.state.destroyed||(this.state.visible&&this.hide(0),this.listeners.forEach(function(e){t.reference.removeEventListener(e.event,e.handler)}),this.title&&this.reference.setAttribute("title",this.title),delete this.reference._tippy,["data-original-title","data-tippy","data-tippy-delegate"].forEach(function(e){t.reference.removeAttribute(e)}),this.options.target&&e&&u(this.reference.querySelectorAll(this.options.target)).forEach(function(e){return e._tippy&&e._tippy.destroy()}),this.popperInstance&&this.popperInstance.destroy(),this._(P).mutationObservers.forEach(function(e){e.disconnect()}),this.state.destroyed=!0)}}]),ze),He=1,Re=!1;function ze(e){var t,i;if(!(this instanceof ze))throw new TypeError("Cannot call a class as a function");for(t in e)this[t]=e[t];this.state={destroyed:!1,visible:!1,enabled:!0},this._=(i={mutationObservers:[]},function(e){return e===P&&i})}return n.version="2.5.3",n.browser=A,n.defaults=O,n.one=function(e,t){return n(e,t,!0).tooltips[0]},n.disableAnimations=function(){O.updateDuration=O.duration=0,O.animateFill=!1},n}),((o,d)=>{function e(e){var t,i={};for(t in e)i[e[t].toUpperCase()]=e[t];return i}function r(e,t){return typeof e===f&&-1!==L(t).indexOf(L(e))}function s(e,t){if(typeof e===f)return e=e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,u),typeof t==c?e:e.substring(0,255)}function a(e,t){for(var i,n,o,r,s,a=0;a<t.length&&!r;){for(var l=t[a],u=t[a+1],c=i=0;c<l.length&&!r;)if(r=l[c++].exec(e))for(n=0;n<u.length;n++)s=r[++i],typeof(o=u[n])===h&&0<o.length?2==o.length?typeof o[1]==p?this[o[0]]=o[1].call(this,s):this[o[0]]=o[1]:3==o.length?typeof o[1]!==p||o[1].exec&&o[1].test?this[o[0]]=s?s.replace(o[1],o[2]):d:this[o[0]]=s?o[1].call(this,s,o[2]):d:4==o.length&&(this[o[0]]=s?o[3].call(this,s.replace(o[1],o[2])):d):this[o]=s||d;a+=2}}function t(e,t){for(var i in t)if(typeof t[i]===h&&0<t[i].length){for(var n=0;n<t[i].length;n++)if(r(t[i][n],e))return"?"===i?d:i}else if(r(t[i],e))return"?"===i?d:i;return e}function l(e,t){var i,n;return typeof e===h&&(t=e,e=d),this instanceof l?(i=e||(typeof o!=c&&o.navigator&&o.navigator.userAgent?o.navigator.userAgent:u),n=t?((e,t)=>{var i,n={};for(i in e)t[i]&&t[i].length%2==0?n[i]=t[i].concat(e[i]):n[i]=e[i];return n})(P,t):P,this.getBrowser=function(){var e,t={};return t.name=d,t[D]=d,a.call(t,i,n.browser),t.major=typeof(e=t.version)===f?e.replace(/[^\d\.]/g,u).split(".")[0]:d,t},this.getCPU=function(){var e={};return e[y]=d,a.call(e,i,n.cpu),e},this.getDevice=function(){var e={};return e[v]=d,e[m]=d,e.type=d,a.call(e,i,n.device),e},this.getEngine=function(){var e={};return e.name=d,e[D]=d,a.call(e,i,n.engine),e},this.getOS=function(){var e={};return e.name=d,e[D]=d,a.call(e,i,n.os),e},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return i},this.setUA=function(e){return i=typeof e===f&&255<e.length?s(e,255):e,this},this.setUA(i),this):new l(e,t).getResult()}var n,u="",p="function",c="undefined",h="object",f="string",m="model",i="name",g="type",v="vendor",D="version",y="ar
1chitecture",w="console",b="mobile",C="tablet",k="smarttv",x="wearable",T="Amazon",E="BlackBerry",S="Browser",F="Chrome",_="Firefox",A="Google",M="Microsoft",O="Opera",I="Samsung",L=function(e){return e.toLowerCase()},N={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2",8.1:"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},P={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[D,[i,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[D,[i,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[i,D],[/opios[\/ ]+([\w\.]+)/i],[D,[i,O+" Mini"]],[/\bopr\/([\w\.]+)/i],[D,[i,O]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[i,D],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[D,[i,"UC"+S]],[/\bqbcore\/([\w\.]+)/i],[D,[i,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[D,[i,"WeChat"]],[/konqueror\/([\w\.]+)/i],[D,[i,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[D,[i,"IE"]],[/yabrowser\/([\w\.]+)/i],[D,[i,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[i,/(.+)/,"$1 Secure "+S],D],[/\bfocus\/([\w\.]+)/i],[D,[i,_+" Focus"]],[/\bopt\/([\w\.]+)/i],[D,[i,O+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[D,[i,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[D,[i,"Dolphin"]],[/coast\/([\w\.]+)/i],[D,[i,O+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[D,[i,"MIUI "+S]],[/fxios\/([-\w\.]+)/i],[D,[i,_]],[/\bqihu|(qi?ho?o?|360)browser/i],[[i,"360 "+S]],[/(oculus|samsung|sailfish)browser\/([\w\.]+)/i],[[i,/(.+)/,"$1 "+S],D],[/(comodo_dragon)\/([\w\.]+)/i],[[i,/_/g," "],D],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[i,D],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i],[i],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[i,"Facebook"],D],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[i,D],[/\bgsa\/([\w\.]+) .*safari\//i],[D,[i,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[D,[i,F+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[i,F+" WebView"],D],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[D,[i,"Android "+S]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[i,D],[/version\/([\w\.]+) .*mobile\/\w+ (safari)/i],[D,[i,"Mobile Safari"]],[/version\/([\w\.]+) .*(mobile ?safari|safari)/i],[D,i],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[i,[D,t,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[i,D],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[i,"Netscape"],D],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[D,[i,_+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[i,D]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[y,"amd64"]],[/(ia32(?=;))/i],[[y,L]],[/((?:i[346]|x)86)[;\)]/i],[[y,"ia32"]],[/\b(aarch64|armv?8e?l?)\b/i],[[y,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[y,"armhf"]],[/windows (ce|mobile); ppc;/i],[[y,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[y,/ower/,u,L]],[/(sun4\w)[;\)]/i],[[y,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?:64|(?=v(?:[1-7]|[5-7]1)l?|;|eabi))|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[y,L]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[pt]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[m,[v,I],[g,C]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[m,[v,I],[g,b]],[/\((ip(?:hone|od)[\w ]*);/i],[m,[v,"Apple"],[g,b]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[v,"Apple"],[g,C]],[/\b((?:agr|ags[23]|bah2?|sht?)-a?[lw]\d{2})/i],[m,[v,"Huawei"],[g,C]],[/huawei([-\w ]+)[;\)]/i,/\b(nexus 6p|vog-[at]?l\d\d|ane-[at]?l[x\d]\d|eml-a?l\d\da?|lya-[at]?l\d[\dc]|clt-a?l\d\di?|ele-l\d\d)/i,/\b(\w{2,4}-[atu][ln][01259][019])[;\) ]/i],[m,[v,"Huawei"],[g,b]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte)?[_ ]?(?:\d?\w?)[_ ]?(?:plus)?) bui/i],[[m,/_/g," "],[v,"Xiaomi"],[g,b]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[m,/_/g," "],[v,"Xiaomi"],[g,C]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007)\b/i],[m,[v,"OPPO"],[g,b]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[v,"Vivo"],[g,b]],[/\b(rmx[12]\d{3})(?: bui|;)/i],[m,[v,"Realme"],[g,b]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[m,[v,"Motorola"],[g,b]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[v,"Motorola"],[g,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[v,"LG"],[g,C]],[/(lm-?f100[nv]?|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast)\w+)/i,/\blg(\-?[\d\w]+) bui/i],[m,[v,"LG"],[g,b]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[m,[v,"Lenovo"],[g,C]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[m,/_/g," "],[v,"Nokia"],[g,b]],[/(pixel c)\b/i],[m,[v,A],[g,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[v,A],[g,b]],[/droid.+ ([c-g]\d{4}|so[-l]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[m,[v,"Sony"],[g,b]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[v,"Sony"],[g,C]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/\ba000(1) bui/i,/oneplus (a\d{4})[) ]/i],[m,[v,"OnePlus"],[g,b]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[v,T],[g,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+
vendor: 4,141 bytes, line 1
1)/g,"Fire Phone $1"],[v,T],[g,b]],[/(playbook);[-\w\),; ]+(rim)/i],[m,v,[g,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[v,E],[g,b]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[v,"ASUS"],[g,C]],[/ (z[es]6[027][01][km][ls]|zenfone \d\w?)\b/i],[m,[v,"ASUS"],[g,b]],[/(nexus 9)/i],[m,[v,"HTC"],[g,C]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)-(\w*)/i,/(alcatel|geeksphone|nexian|panasonic|sony)[-_ ]?([-\w]*)/i],[v,[m,/_/g," "],[g,b]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[v,"Acer"],[g,C]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[v,"Meizu"],[g,b]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,m,[g,b]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,m,[g,C]],[/(surface duo)/i],[m,[v,M],[g,C]],[/droid [\d\.]+; (fp\du?) b/i],[m,[v,"Fairphone"],[g,b]],[/(u304aa)/i],[m,[v,"AT&T"],[g,b]],[/\bsie-(\w*)/i],[m,[v,"Siemens"],[g,b]],[/\b(rct\w+) b/i],[m,[v,"RCA"],[g,C]],[/\b(venue[\d ]{2,7}) b/i],[m,[v,"Dell"],[g,C]],[/\b(q(?:mv|ta)\w+) b/i],[m,[v,"Verizon"],[g,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[v,"Barnes & Noble"],[g,C]],[/\b(tm\d{3}\w+) b/i],[m,[v,"NuVision"],[g,C]],[/\b(k88) b/i],[m,[v,"ZTE"],[g,C]],[/\b(nx\d{3}j) b/i],[m,[v,"ZTE"],[g,b]],[/\b(gen\d{3}) b.+49h/i],[m,[v,"Swiss"],[g,b]],[/\b(zur\d{3}) b/i],[m,[v,"Swiss"],[g,C]],[/\b((zeki)?tb.*\b) b/i],[m,[v,"Zeki"],[g,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],m,[g,C]],[/\b(ns-?\w{0,9}) b/i],[m,[v,"Insignia"],[g,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[v,"NextBook"],[g,C]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],m,[g,b]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],m,[g,b]],[/\b(ph-1) /i],[m,[v,"Essential"],[g,b]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[v,"Envizen"],[g,C]],[/\b(trio[-\w\. ]+) b/i],[m,[v,"MachSpeed"],[g,C]],[/\btu_(1491) b/i],[m,[v,"Rotor"],[g,C]],[/(shield[\w ]+) b/i],[m,[v,"Nvidia"],[g,C]],[/(sprint) (\w+)/i],[v,m,[g,b]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[v,M],[g,b]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[v,"Zebra"],[g,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[v,"Zebra"],[g,b]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,m,[g,w]],[/droid.+; (shield) bui/i],[m,[v,"Nvidia"],[g,w]],[/(playstation [345portablevi]+)/i],[m,[v,"Sony"],[g,w]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[v,M],[g,w]],[/smart-tv.+(samsung)/i],[v,[g,k]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[v,I],[g,k]],[/(?:nux; netcast.+smarttv|lg netcast\.tv-201\d)/i],[[v,"LG"],[g,k]],[/(apple) ?tv/i],[v,[m,"Apple TV"],[g,k]],[/crkey/i],[[m,F+"cast"],[v,A],[g,k]],[/droid.+aft(\w)( bui|\))/i],[m,[v,T],[g,k]],[/\(dtv[\);].+(aquos)/i],[m,[v,"Sharp"],[g,k]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[v,s],[m,s],[g,k]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[g,k]],[/((pebble))app/i],[v,m,[g,x]],[/droid.+; (glass) \d/i],[m,[v,A],[g,x]],[/droid.+; (wt63?0{2,3})\)/i],[m,[v,"Zebra"],[g,x]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[g,"embedded"]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[m,[g,b]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[g,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[g,C]],[/(phone|mobile(?:[;\/]| safari)|pda(?=.+windows ce))/i],[[g,b]],[/(android[-\w\. ]{0,9});.+buil/i],[m,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[D,[i,"EdgeHTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[D,[i,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[i,D],[/rv\
1:([\w\.]{1,9})\b.+(gecko)/i],[D,i]],os:[[/microsoft (windows) (vista|xp)/i],[i,D],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[i,[D,t,N]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[i,"Windows"],[D,t,N]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[D,/_/g,"."],[i,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[i,"Mac OS"],[D,/_/g,"."]],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[i,D],[/\(bb(10);/i],[D,[i,E]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[D,[i,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[D,[i,_+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[D,[i,"webOS"]],[/crkey\/([\d\.]+)/i],[D,[i,F+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[i,"Chromium OS"],D],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopc]{0,4}bsd|dragonfly) ?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[i,D],[/(sunos) ?([\w\.\d]*)/i],[[i,"Solaris"],D],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[i,D]]},$=(l.VERSION="0.7.28",l.BROWSER=e([i,D,"major"]),l.CPU=e([y]),l.DEVICE=e([m,v,g,w,b,k,C,x,"embedded"]),l.ENGINE=l.OS=e([i,D]),typeof exports!=c?(exports=typeof module!=c&&module.exports?module.exports=l:exports).UAParser=l:typeof define===p&&define.amd?define(function(){return l}):typeof o!=c&&(o.UAParser=l),typeof o!=c&&(o.jQuery||o.Zepto));$&&!$.ua&&(n=new l,$.ua=n.getResult(),$.ua.get=function(){return n.getUA()},$.ua.set=function(e){n.setUA(e);var t,i=n.getResult();for(t in i)$.ua[t]=i[t]})})("object"==typeof window?window:this);
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.