PageSourceSearch

https://www.myriad.live/wp-content/themes/myriad/dist/scripts/main-584b36d3c5.js

js myriad.live collected 2026-10-06 11:20:06 UTC 86,826 bytes, 3 lines download raw bytes

1if(function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e(require,exports,module):t.Tether=e()}(this,function(t,e,i){"use strict";function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function s(t){var e=t.getBoundingClientRect(),i={};for(var n in e)i[n]=e[n];if(t.ownerDocument!==document){var o=t.ownerDocument.defaultView.frameElement;if(o){var r=s(o);i.top+=r.top,i.bottom+=r.top,i.left+=r.left,i.right+=r.left}}return i}function o(t){var e=getComputedStyle(t)||{},i=e.position,n=[];if("fixed"===i)return[t];for(var s=t;(s=s.parentNode)&&s&&1===s.nodeType;){var o=void 0;try{o=getComputedStyle(s)}catch(t){}if(void 0===o||null===o)return n.push(s),n;var r=o,a=r.overflow,l=r.overflowX,h=r.overflowY;/(auto|scroll)/.test(a+h+l)&&("absolute"!==i||["relative","absolute","fixed"].indexOf(o.position)>=0)&&n.push(s)}return n.push(t.ownerDocument.body),t.ownerDocument!==document&&n.push(t.ownerDocument.defaultView),n}function r(){I&&document.body.removeChild(I),I=null}function a(t){var e=void 0;t===document?(e=document,t=document.documentElement):e=t.ownerDocument;var i=e.documentElement,n=s(t),o=S();return n.top-=o.top,n.left-=o.left,void 0===n.width&&(n.width=document.body.scrollWidth-n.left-n.r
1ight),void 0===n.height&&(n.height=document.body.scrollHeight-n.top-n.bottom),n.top=n.top-i.clientTop,n.left=n.left-i.clientLeft,n.right=e.body.clientWidth-n.width-n.left,n.bottom=e.body.clientHeight-n.height-n.top,n}function l(t){return t.offsetParent||document.documentElement}function h(){if(k)return k;var t=document.createElement("div");t.style.width="100%",t.style.height="200px";var e=document.createElement("div");c(e.style,{position:"absolute",top:0,left:0,pointerEvents:"none",visibility:"hidden",width:"200px",height:"150px",overflow:"hidden"}),e.appendChild(t),document.body.appendChild(e);var i=t.offsetWidth;e.style.overflow="scroll";var n=t.offsetWidth;i===n&&(n=e.clientWidth),document.body.removeChild(e);var s=i-n;return k={width:s,height:s}}function c(){var t=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],e=[];return Array.prototype.push.apply(e,arguments),e.slice(1).forEach(function(e){if(e)for(var i in e)({}).hasOwnProperty.call(e,i)&&(t[i]=e[i])}),t}function d(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.remove(e)});else{var i=new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi"),n=p(t).replace(i," ");g(t,n)}}function u(t,e){if(void 0!==t.classList)e.split(" ").forEach(function(e){e.trim()&&t.classList.add(e)});else{d(t,e);var i=p(t)+" "+e;g(t,i)}}function f(t,e){if(void 0!==t.classList)return t.classList.contains(e);var i=p(t);return new RegExp("(^| )"+e+"( |$)","gi").test(i)}function p(t){return t.className instanceof t.ownerDocument.defaultView.SVGAnimatedString?t.className.baseVal:t.className}function g(t,e){t.setAttribute("class",e)}function m(t,e,i){i.forEach(function(i){e.indexOf(i)===-1&&f(t,i)&&d(t,i)}),e.forEach(function(e){f(t,e)||u(t,e)})}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function _(t,e){var i=arguments.length<=2||void 0===arguments[2]?1:arguments[2];return t+i>=e&&e>=t-i}function y(){return"undefined"!=typeof performance&&void 0!==performance.now?performance.now():+new Date}function E(){for(var t={top:0,left:0},e=arguments.length,i=Array(e),n=0;n<e;n++)i[n]=arguments[n];return i.forEach(function(e){var i=e.top,n=e.left;"string"==typeof i&&(i=parseFloat(i,10)),"string"==typeof n&&(n=parseFloat(n,10)),t.top+=i,t.left+=n}),t}function b(t,e){return"string"==typeof t.left&&t.left.indexOf("%")!==-1&&(t.left=parseFloat(t.left,10)/100*e.width),"string"==typeof t.top&&t.top.indexOf("%")!==-1&&(t.top=parseFloat(t.top,10)/100*e.height),t}function T(t,e){return"scrollParent"===e?e=t.scrollParents[0]:"window"===e&&(e=[pageXOffset,pageYOffset,innerWidth+pageXOffset,innerHeight+pageYOffset]),e===document&&(e=e.documentElement),void 0!==e.nodeType&&function(){var t=e,i=a(e),n=i,s=getComputedStyle(e);if(e=[n.left,n.top,i.width+n.left,i.height+n.top],t.ownerDocument!==document){var o=t.ownerDocument.defaultView;e[0]+=o.pageXOffset,e[1]+=o.pageYOffset,e[2]+=o.pageXOffset,e[3]+=o.pageYOffset}Y.forEach(function(t,i){t=t[0].toUpperCase()+t.substr(1),"Top"===t||"Left"===t?e[i]+=parseFloat(s["border"+t+"Width"]):e[i]-=parseFloat(s["border"+t+"Width"])})}(),e}var C=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),w=void 0;void 0===w&&(w={modules:[]});var I=null,A=function(){var t=0;return function(){return++t}}(),O={},S=function(){var t=I;t&&document.body.contains(t)||(t=document.createElement("div"),t.setAttribute("data-tether-id",A()),c(t.style,{top:0,left:0,position:"absolute"}),document.body.appendChild(t),I=t);var e=t.getAttribute("data-tether-id");return void 0===O[e]&&(O[e]=s(t),N(function(){delete O[e]})),O[e]},k=null,D=[],N=function(t){D.push(t)},L=function(){for(var t=void 0;t=D.pop();)t()},P=function(){function t(){n(this,t)}
1return C(t,[{key:"on",value:function(t,e,i){var n=!(arguments.length<=3||void 0===arguments[3])&&arguments[3];void 0===this.bindings&&(this.bindings={}),void 0===this.bindings[t]&&(this.bindings[t]=[]),this.bindings[t].push({handler:e,ctx:i,once:n})}},{key:"once",value:function(t,e,i){this.on(t,e,i,!0)}},{key:"off",value:function(t,e){if(void 0!==this.bindings&&void 0!==this.bindings[t])if(void 0===e)delete this.bindings[t];else for(var i=0;i<this.bindings[t].length;)this.bindings[t][i].handler===e?this.bindings[t].splice(i,1):++i}},{key:"trigger",value:function(t){if(void 0!==this.bindings&&this.bindings[t]){for(var e=0,i=arguments.length,n=Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];for(;e<this.bindings[t].length;){var o=this.bindings[t][e],r=o.handler,a=o.ctx,l=o.once,h=a;void 0===h&&(h=this),r.apply(h,n),l?this.bindings[t].splice(e,1):++e}}}}]),t}();w.Utils={getActualBoundingClientRect:s,getScrollParents:o,getBounds:a,getOffsetParent:l,extend:c,addClass:u,removeClass:d,hasClass:f,updateClasses:m,defer:N,flush:L,uniqueId:A,Evented:P,getScrollBarSize:h,removeUtilElements:r};var x=function(){function t(t,e){var i=[],n=!0,s=!1,o=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){s=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw o}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),C=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),R=function(t,e,i){for(var n=!0;n;){var s=t,o=e,r=i;n=!1,null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,o);if(void 0!==a){if("value"in a)return a.value;var l=a.get;if(void 0===l)return;return l.call(r)}var h=Object.getPrototypeOf(s);if(null===h)return;t=h,e=o,i=r,n=!0,a=h=void 0}};if(void 0===w)throw new Error("You must include the utils.js file before tether.js");var $=w.Utils,o=$.getScrollParents,a=$.getBounds,l=$.getOffsetParent,c=$.extend,u=$.addClass,d=$.removeClass,m=$.updateClasses,N=$.defer,L=$.flush,h=$.getScrollBarSize,r=$.removeUtilElements,M=function(){if("undefined"==typeof document)return"";for(var t=document.createElement("div"),e=["transform","WebkitTransform","OTransform","MozTransform","msTransform"],i=0;i<e.length;++i){var n=e[i];if(void 0!==t.style[n])return n}}(),j=[],H=function(){j.forEach(function(t){t.position(!1)}),L()};!function(){var t=null,e=null,i=null,n=function n(){if(void 0!==e&&e>16)return e=Math.min(e-16,250),void(i=setTimeout(n,250));void 0!==t&&y()-t<10||(null!=i&&(clearTimeout(i),i=null),t=y(),H(),e=y()-t)};"undefined"!=typeof window&&void 0!==window.addEventListener&&["resize","scroll","touchmove"].forEach(function(t){window.addEventListener(t,n)})}();var W={center:"center",left:"right",right:"left"},V={middle:"middle",top:"bottom",bottom:"top"},F={top:0,left:0,middle:"50%",center:"50%",bottom:"100%",right:"100%"},U=function(t,e){var i=t.left,n=t.top;return"auto"===i&&(i=W[e.left]),"auto"===n&&(n=V[e.top]),{left:i,top:n}},B=function(t){var e=t.left,i=t.top;return void 0!==F[t.left]&&(e=F[t.left]),void 0!==F[t.top]&&(i=F[t.top]),{left:e,top:i}},Q=function(t){var e=t.split(" "),i=x(e,2);return{top:i[0],left:i[1]}},K=Q,G=function(t){function e(t){var i=this;n(this,e),R(Object.getPrototypeOf(e.prototype),"constructor",this).call(this),this.position=this.position.bind(this),j.push(this),this.history=[],this.setOptions(t,!1),w.modules.forEach(function(t){void 0!==t.initialize&&t.initialize.call(i)}),this.position()}return v(e,t),C(e,[{key:"getClass",value:function(){var t=arguments.length<=0||void 0===arguments[0]?"":arguments[0],e=this.options.classes;return void 0!==e&&e[t]?this.options.classes[t]:this.options.classPrefix?this.options.classPrefix+"-"+t:t}},{key:"setOptions",value:function(t){var e=this,i=arguments.length<=1||void 0===arguments[1]||arguments[1],n={offset:"0 0",targetOffset:"0 0",targetAttachment:"auto auto",classPrefix:"tether"};this.options=c(n,t);var s=this.options,r=s.element,a=s.target,l=s.targetModifier;if(this.element=r,this.target=a,this.targetModifier=l,"viewport"===this.target?(this.target=document.body,this.targetModifier="visible"):"scroll-handle"===this.target&&(this.target=document.body,this.targetModifier="scroll-handle"),["element","target"].forEach(function(t){if(void 0===e[t])throw new Error("Tether Error: Both element and target must be defined");void 0!==e[t].jquery?e[t]=e[t][0]:"string"==typeof e[t]&&(e[t]=document.querySelector(e[t]))}),u(this.element,this.getClass("element")),this.options.addTargetClasses!==!1&&u(this.target,this.getClass("target")),!this.options.attachment)throw new Error("Tether Error: You must provide an attachment");this.targetAttachment=K(this.options.targetAttachment),this.attachment=K(this.options.attachment),this.offset=Q(this.options.offset),this.targetOffset=Q(this.options.targetOffset),void 0!==this.scrollParents&&this.disable(),"scroll-handle"===this.targetModifier?this.scrollParents=[this.target]:this.scrollParents=o(this.target),this.options.enabled!==!1&&this.enable(i)}},{key:"getTargetBounds",value:function(){if(void 0===this.targetModifier)return a(this.target);if("visible"===this.targetModifier){if(this.target===document.body)return{top:pageYOffset,left:pageXOffset,height:innerHeight,width:innerWidth};var t=a(this.target),e={height:t.height,width:t.width,top:t.top,left
1:t.left};return e.height=Math.min(e.height,t.height-(pageYOffset-t.top)),e.height=Math.min(e.height,t.height-(t.top+t.height-(pageYOffset+innerHeight))),e.height=Math.min(innerHeight,e.height),e.height-=2,e.width=Math.min(e.width,t.width-(pageXOffset-t.left)),e.width=Math.min(e.width,t.width-(t.left+t.width-(pageXOffset+innerWidth))),e.width=Math.min(innerWidth,e.width),e.width-=2,e.top<pageYOffset&&(e.top=pageYOffset),e.left<pageXOffset&&(e.left=pageXOffset),e}if("scroll-handle"===this.targetModifier){var t=void 0,i=this.target;i===document.body?(i=document.documentElement,t={left:pageXOffset,top:pageYOffset,height:innerHeight,width:innerWidth}):t=a(i);var n=getComputedStyle(i),s=i.scrollWidth>i.clientWidth||[n.overflow,n.overflowX].indexOf("scroll")>=0||this.target!==document.body,o=0;s&&(o=15);var r=t.height-parseFloat(n.borderTopWidth)-parseFloat(n.borderBottomWidth)-o,e={width:15,height:.975*r*(r/i.scrollHeight),left:t.left+t.width-parseFloat(n.borderLeftWidth)-15},l=0;r<408&&this.target===document.body&&(l=-11e-5*Math.pow(r,2)-.00727*r+22.58),this.target!==document.body&&(e.height=Math.max(e.height,24));var h=this.target.scrollTop/(i.scrollHeight-r);return e.top=h*(r-e.height-l)+t.top+parseFloat(n.borderTopWidth),this.target===document.body&&(e.height=Math.max(e.height,24)),e}}},{key:"clearCache",value:function(){this._cache={}}},{key:"cache",value:function(t,e){return void 0===this._cache&&(this._cache={}),void 0===this._cache[t]&&(this._cache[t]=e.call(this)),this._cache[t]}},{key:"enable",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];this.options.addTargetClasses!==!1&&u(this.target,this.getClass("enabled")),u(this.element,this.getClass("enabled")),this.enabled=!0,this.scrollParents.forEach(function(e){e!==t.target.ownerDocument&&e.addEventListener("scroll",t.position)}),e&&this.position()}},{key:"disable",value:function(){var t=this;d(this.target,this.getClass("enabled")),d(this.element,this.getClass("enabled")),this.enabled=!1,void 0!==this.scrollParents&&this.scrollParents.forEach(function(e){e.removeEventListener("scroll",t.position)})}},{key:"destroy",value:function(){var t=this;this.disable(),j.forEach(function(e,i){e===t&&j.splice(i,1)}),0===j.length&&r()}},{key:"updateAttachClasses",value:function(t,e){var i=this;t=t||this.attachment,e=e||this.targetAttachment;var n=["left","top","bottom","right","middle","center"];void 0!==this._addAttachClasses&&this._addAttachClasses.length&&this._addAttachClasses.splice(0,this._addAttachClasses.length),void 0===this._addAttachClasses&&(this._addAttachClasses=[]);var s=this._addAttachClasses;t.top&&s.push(this.getClass("element-attached")+"-"+t.top),t.left&&s.push(this.getClass("element-attached")+"-"+t.left),e.top&&s.push(this.getClass("target-attached")+"-"+e.top),e.left&&s.push(this.getClass("target-attached")+"-"+e.left);var o=[];n.forEach(function(t){o.push(i.getClass("element-attached")+"-"+t),o.push(i.getClass("target-attached")+"-"+t)}),N(function(){void 0!==i._addAttachClasses&&(m(i.element,i._addAttachClasses,o),i.options.addTargetClasses!==!1&&m(i.target,i._addAttachClasses,o),delete i._addAttachClasses)})}},{key:"position",value:function(){var t=this,e=arguments.length<=0||void 0===arguments[0]||arguments[0];if(this.enabled){this.clearCache();var i=U(this.targetAttachment,this.attachment);this.updateAttachClasses(this.attachment,i);var n=this.cache("element-bounds",function(){return a(t.element)}),s=n.width,o=n.height;if(0===s&&0===o&&void 0!==this.lastSize){var r=this.lastSize;s=r.width,o=r.height}else this.lastSize={width:s,height:o};var c=this.cache("target-bounds",function(){return t.getTargetBounds()}),d=c,u=b(B(this.attachment),{width:s,height:o}),f=b(B(i),d),p=b(this.offset,{width:s,height:o}),g=b(this.targetOffset,d);u=E(u,p),f=E(f,g);for(var m=c.left+f.left-u.left,v=c.top+f.top-u.top,_=0;_<w.modules.length;++_){var y=w.modules[_],T=y.position.call(this,{left:m,top:v,targetAttachment:i,targetPos:c,elementPos:n,offset:u,targetOffset:f,manualOffset:p,manualTargetOffset:g,scrollbarSize:O,attachment:this.attachment});if(T===!1)return!1;void 0!==T&&"object"==typeof T&&(v=T.top,m=T.left)}var C={page:{top:v,left:m},viewport:{top:v-pageYOffset,bottom:pageYOffset-v-o+innerHeight,left:m-pageXOffset,right:pageXOffset-m-s+innerWidth}},I=this.target.ownerDocument,A=I.defaultView,O=void 0;
1return A.innerHeight>I.documentElement.clientHeight&&(O=this.cache("scrollbar-size",h),C.viewport.bottom-=O.height),A.innerWidth>I.documentElement.clientWidth&&(O=this.cache("scrollbar-size",h),C.viewport.right-=O.width),["","static"].indexOf(I.body.style.position)!==-1&&["","static"].indexOf(I.body.parentElement.style.position)!==-1||(C.page.bottom=I.body.scrollHeight-v-o,C.page.right=I.body.scrollWidth-m-s),void 0!==this.options.optimizations&&this.options.optimizations.moveElement!==!1&&void 0===this.targetModifier&&function(){var e=t.cache("target-offsetparent",function(){return l(t.target)}),i=t.cache("target-offsetparent-bounds",function(){return a(e)}),n=getComputedStyle(e),s=i,o={};if(["Top","Left","Bottom","Right"].forEach(function(t){o[t.toLowerCase()]=parseFloat(n["border"+t+"Width"])}),i.right=I.body.scrollWidth-i.left-s.width+o.right,i.bottom=I.body.scrollHeight-i.top-s.height+o.bottom,C.page.top>=i.top+o.top&&C.page.bottom>=i.bottom&&C.page.left>=i.left+o.left&&C.page.right>=i.right){var r=e.scrollTop,h=e.scrollLeft;C.offset={top:C.page.top-i.top+r-o.top,left:C.page.left-i.left+h-o.left}}}(),this.move(C),this.history.unshift(C),this.history.length>3&&this.history.pop(),e&&L(),!0}}},{key:"move",value:function(t){var e=this;if(void 0!==this.element.parentNode){var i={};for(var n in t){i[n]={};for(var s in t[n]){for(var o=!1,r=0;r<this.history.length;++r){var a=this.history[r];if(void 0!==a[n]&&!_(a[n][s],t[n][s])){o=!0;break}}o||(i[n][s]=!0)}}var h={top:"",left:"",right:"",bottom:""},d=function(t,i){if((void 0!==e.options.optimizations?e.options.optimizations.gpu:null)!==!1){var n=void 0,s=void 0;t.top?(h.top=0,n=i.top):(h.bottom=0,n=-i.bottom),t.left?(h.left=0,s=i.left):(h.right=0,s=-i.right),window.matchMedia&&(window.matchMedia("only screen and (min-resolution: 1.3dppx)").matches||window.matchMedia("only screen and (-webkit-min-device-pixel-ratio: 1.3)").matches||(s=Math.round(s),n=Math.round(n))),h[M]="translateX("+s+"px) translateY("+n+"px)","msTransform"!==M&&(h[M]+=" translateZ(0)")}else t.top?h.top=i.top+"px":h.bottom=i.bottom+"px",t.left?h.left=i.left+"px":h.right=i.right+"px"},u=!1;if((i.page.top||i.page.bottom)&&(i.page.left||i.page.right)?(h.position="absolute",d(i.page,t.page)):(i.viewport.top||i.viewport.bottom)&&(i.viewport.left||i.viewport.right)?(h.position="fixed",d(i.viewport,t.viewport)):void 0!==i.offset&&i.offset.top&&i.offset.left?function(){h.position="absolute";var n=e.cache("target-offsetparent",function(){return l(e.target)});l(e.element)!==n&&N(function(){e.element.parentNode.removeChild(e.element),n.appendChild(e.element)}),d(i.offset,t.offset),u=!0}():(h.position="absolute",d({top:!0,left:!0},t.page)),!u)if(this.options.bodyElement)this.options.bodyElement.appendChild(this.element);else{for(var f=!0,p=this.element.parentNode;p&&1===p.nodeType&&"BODY"!==p.tagName;){if("static"!==getComputedStyle(p).position){f=!1;break}p=p.parentNode}f||(this.element.parentNode.removeChild(this.element),this.element.ownerDocument.body.appendChild(this.element))}var g={},m=!1;for(var s in h){var v=h[s];this.element.style[s]!==v&&(m=!0,g[s]=v)}m&&N(function(){c(e.element.style,g),e.trigger("repositioned")})}}}]),e}(P);G.modules=[],w.position=H;var z=c(G,w),x=function(){function t(t,e){var i=[],n=!0,s=!1,o=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){s=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw o}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),$=w.Utils,a=$.getBounds,c=$.extend,m=$.updateClasses,N=$.defer,Y=["left","top","right","bottom"];w.modules.push({position:function(t){var e=this,i=t.top,n=t.left,s=t.targetAttachment;if(!this.options.constraints)return!0;var o=this.cache("element-bounds",function(){return a(e.element)}),r=o.height,l=o.width;if(0===l&&0===r&&void 0!==this.lastSize){var h=this.lastSize;l=h.width,r=h.height}var d=this.cache("target-bounds",function(){return e.getTargetBounds()}),u=d.height,f=d.width,p=[this.getClass("pinned"),this.getClass("out-of-bounds")];
1this.options.constraints.forEach(function(t){var e=t.outOfBoundsClass,i=t.pinnedClass;e&&p.push(e),i&&p.push(i)}),p.forEach(function(t){["left","top","right","bottom"].forEach(function(e){p.push(t+"-"+e)})});var g=[],v=c({},s),_=c({},this.attachment);return this.options.constraints.forEach(function(t){var o=t.to,a=t.attachment,h=t.pin;void 0===a&&(a="");var c=void 0,d=void 0;if(a.indexOf(" ")>=0){var p=a.split(" "),m=x(p,2);d=m[0],c=m[1]}else c=d=a;var y=T(e,o);"target"!==d&&"both"!==d||(i<y[1]&&"top"===v.top&&(i+=u,v.top="bottom"),i+r>y[3]&&"bottom"===v.top&&(i-=u,v.top="top")),"together"===d&&("top"===v.top&&("bottom"===_.top&&i<y[1]?(i+=u,v.top="bottom",i+=r,_.top="top"):"top"===_.top&&i+r>y[3]&&i-(r-u)>=y[1]&&(i-=r-u,v.top="bottom",_.top="bottom")),"bottom"===v.top&&("top"===_.top&&i+r>y[3]?(i-=u,v.top="top",i-=r,_.top="bottom"):"bottom"===_.top&&i<y[1]&&i+(2*r-u)<=y[3]&&(i+=r-u,v.top="top",_.top="top")),"middle"===v.top&&(i+r>y[3]&&"top"===_.top?(i-=r,_.top="bottom"):i<y[1]&&"bottom"===_.top&&(i+=r,_.top="top"))),"target"!==c&&"both"!==c||(n<y[0]&&"left"===v.left&&(n+=f,v.left="right"),n+l>y[2]&&"right"===v.left&&(n-=f,v.left="left")),"together"===c&&(n<y[0]&&"left"===v.left?"right"===_.left?(n+=f,v.left="right",n+=l,_.left="left"):"left"===_.left&&(n+=f,v.left="right",n-=l,_.left="right"):n+l>y[2]&&"right"===v.left?"left"===_.left?(n-=f,v.left="left",n-=l,_.left="right"):"right"===_.left&&(n-=f,v.left="left",n+=l,_.left="left"):"center"===v.left&&(n+l>y[2]&&"left"===_.left?(n-=l,_.left="right"):n<y[0]&&"right"===_.left&&(n+=l,_.left="left"))),"element"!==d&&"both"!==d||(i<y[1]&&"bottom"===_.top&&(i+=r,_.top="top"),i+r>y[3]&&"top"===_.top&&(i-=r,_.top="bottom")),"element"!==c&&"both"!==c||(n<y[0]&&("right"===_.left?(n+=l,_.left="left"):"center"===_.left&&(n+=l/2,_.left="left")),n+l>y[2]&&("left"===_.left?(n-=l,_.left="right"):"center"===_.left&&(n-=l/2,_.left="right"))),"string"==typeof h?h=h.split(",").map(function(t){return t.trim()}):h===!0&&(h=["top","left","right","bottom"]),h=h||[];var E=[],b=[];i<y[1]&&(h.indexOf("top")>=0?(i=y[1],E.push("top")):b.push("top")),i+r>y[3]&&(h.indexOf("bottom")>=0?(i=y[3]-r,E.push("bottom")):b.push("bottom")),n<y[0]&&(h.indexOf("left")>=0?(n=y[0],E.push("left")):b.push("left")),n+l>y[2]&&(h.indexOf("right")>=0?(n=y[2]-l,E.push("right")):b.push("right")),E.length&&function(){var t=void 0;t=void 0!==e.options.pinnedClass?e.options.pinnedClass:e.getClass("pinned"),g.push(t),E.forEach(function(e){g.push(t+"-"+e)})}(),b.length&&function(){var t=void 0;t=void 0!==e.options.outOfBoundsClass?e.options.outOfBoundsClass:e.getClass("out-of-bounds"),g.push(t),b.forEach(function(e){g.push(t+"-"+e)})}(),(E.indexOf("left")>=0||E.indexOf("right")>=0)&&(_.left=v.left=!1),(E.indexOf("top")>=0||E.indexOf("bottom")>=0)&&(_.top=v.top=!1),v.top===s.top&&v.left===s.left&&_.top===e.attachment.top&&_.left===e.attachment.left||(e.updateAttachClasses(_,v),e.trigger("update",{attachment:_,targetAttachment:v}))}),N(function(){e.options.addTargetClasses!==!1&&m(e.target,g,p),m(e.element,g,p)}),{top:i,left:n}}});var $=w.Utils,a=$.getBounds,m=$.updateClasses,N=$.defer;w.modules.push({position:function(t){var e=this,i=t.top,n=t.left,s=this.cache("element-bounds",function(){return a(e.element)}),o=s.height,r=s.width,l=this.getTargetBounds(),h=i+o,c=n+r,d=[];i<=l.bottom&&h>=l.top&&["left","right"].forEach(function(t){var e=l[t];e!==n&&e!==c||d.push(t)}),n<=l.right&&c>=l.left&&["top","bottom"].forEach(function(t){var e=l[t];e!==i&&e!==h||d.push(t)});var u=[],f=[],p=["left","top","right","bottom"];return u.push(this.getClass("abutted")),p.forEach(function(t){u.push(e.getClass("abutted")+"-"+t)}),d.length&&f.push(this.getClass("abutted")),d.forEach(function(t){f.push(e.getClass("abutted")+"-"+t)}),N(function(){e.options.addTargetClasses!==!1&&m(e.target,f,u),m(e.element,f,u)}),!0}});var x=function(){function t(t,e){var i=[],n=!0,s=!1,o=void 0;try{for(var r,a=t[Symbol.iterator]();!(n=(r=a.next()).done)&&(i.push(r.value),!e||i.length!==e);n=!0);}catch(t){s=!0,o=t}finally{try{!n&&a.return&&a.return()}finally{if(s)throw o}}return i}return function(e,i){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return t(e,i);
1throw new TypeError("Invalid attempt to destructure non-iterable instance")}}();return w.modules.push({position:function(t){var e=t.top,i=t.left;if(this.options.shift){var n=this.options.shift;"function"==typeof this.options.shift&&(n=this.options.shift.call(this,{top:e,left:i}));var s=void 0,o=void 0;if("string"==typeof n){n=n.split(" "),n[1]=n[1]||n[0];var r=n,a=x(r,2);s=a[0],o=a[1],s=parseFloat(s,10),o=parseFloat(o,10)}else s=n.top,o=n.left;return e+=s,i+=o,{top:e,left:i}}}}),z}),"undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}(jQuery),function(t){"use strict";function e(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var n=function(t,e,i){for(var n=!0;n;){var s=t,o=e,r=i;n=!1,null===s&&(s=Function.prototype);var a=Object.getOwnPropertyDescriptor(s,o);if(void 0!==a){if("value"in a)return a.value;var l=a.get;if(void 0===l)return;return l.call(r)}var h=Object.getPrototypeOf(s);if(null===h)return;t=h,e=o,i=r,n=!0,a=h=void 0}},s=function(){function t(t,e){for(var i=0;i<e.length;i++){var n=e[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}return function(e,i,n){return i&&t(e.prototype,i),n&&t(e,n),e}}(),o=function(t){function e(t){return{}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase()}function i(t){return(t[0]||t).nodeType}function n(){return{bindType:r.end,delegateType:r.end,handle:function(e){if(t(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function s(){if(window.QUnit)return!1;var t=document.createElement("bootstrap");for(var e in a)if(void 0!==t.style[e])return{end:a[e]};return!1}function o(e){var i=this,n=!1;return t(this).one(l.TRANSITION_END,function(){n=!0}),setTimeout(function(){n||l.triggerTransitionEnd(i)},e),this}var r=!1,a={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"},l={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");return e||(e=t.getAttribute("href")||"",e=/^#[a-z]/i.test(e)?e:null),e},reflow:function(t){new Function("bs","return bs")(t.offsetHeight)},triggerTransitionEnd:function(e){t(e).trigger(r.end)},supportsTransitionEnd:function(){return Boolean(r)},typeCheckConfig:function(t,n,s){for(var o in s)if(s.hasOwnProperty(o)){var r=s[o],a=n[o],l=void 0;if(l=a&&i(a)?"element":e(a),!new RegExp(r).test(l))throw new Error(t.toUpperCase()+': Option "'+o+'" provided type "'+l+'" but expected type "'+r+'".')}}};return function(){r=s(),t.fn.emulateTransitionEnd=o,l.supportsTransitionEnd()&&(t.event.special[l.TRANSITION_END]=n())}(),l}(jQuery),r=(function(t){var e="alert",n=t.fn[e],r={DISMISS:'[data-dismiss="alert"]'},a={CLOSE:"close.bs.alert",CLOSED:"closed.bs.alert",CLICK_DATA_API:"click.bs.alert.data-api"},l={ALERT:"alert",FADE:"fade",IN:"in"},h=function(){function e(t){i(this,e),this._element=t}return s(e,[{key:"close",value:function(t){t=t||this._element;var e=this._getRootElement(t);this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)}},{key:"dispose",value:function(){t.removeData(this._element,"bs.alert"),this._element=null}},{key:"_getRootElement",value:function(e){var i=o.getSelectorFromElement(e),n=!1;return i&&(n=t(i)[0]),n||(n=t(e).closest("."+l.ALERT)[0]),n}},{key:"_triggerCloseEvent",value:function(e){var i=t.Event(a.CLOSE);return t(e).trigger(i),i}},{key:"_removeElement",value:function(e){if(t(e).removeClass(l.IN),!o.supportsTransitionEnd()||!t(e).hasClass(l.FADE))return void this._destroyElement(e);t(e).one(o.TRANSITION_END,t.proxy(this._destroyElement,this,e)).emulateTransitionEnd(150)}},{key:"_destroyElement",value:function(e){t(e).detach().trigger(a.CLOSED).remove()}}],[{key:"_jQueryInterface",value:function(i){return this.each(function(){var n=t(this),s=n.data("bs.alert");s||(s=new e(this),n.data("bs.alert",s)),"close"===i&&s[i](this)})}},{key:"_handleDismiss",value:function(t){return function(e){e&&e.preventDefault(),t.close(this)}}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}}]),e}();t(document).on(a.CLICK_DATA_API,r.DISMISS,h._handleDismiss(new h)),t.fn[e]=h._jQueryInterface,t.fn[e].Constructor=h,t.fn[e].noConflict=function(){return t.fn[e]=n,h._jQueryInterface},h}(jQuery),function(t){var e="button",n=t.fn[e],o={ACTIVE:"active",BUTTON:"bt
1n",FOCUS:"focus"},r={DATA_TOGGLE_CARROT:'[data-toggle^="button"]',DATA_TOGGLE:'[data-toggle="buttons"]',INPUT:"input",ACTIVE:".active",BUTTON:".btn"},a={CLICK_DATA_API:"click.bs.button.data-api",FOCUS_BLUR_DATA_API:"focus.bs.button.data-api blur.bs.button.data-api"},l=function(){function e(t){i(this,e),this._element=t}return s(e,[{key:"toggle",value:function(){var e=!0,i=t(this._element).closest(r.DATA_TOGGLE)[0];if(i){var n=t(this._element).find(r.INPUT)[0];if(n){if("radio"===n.type)if(n.checked&&t(this._element).hasClass(o.ACTIVE))e=!1;else{var s=t(i).find(r.ACTIVE)[0];s&&t(s).removeClass(o.ACTIVE)}e&&(n.checked=!t(this._element).hasClass(o.ACTIVE),t(this._element).trigger("change")),n.focus()}}else this._element.setAttribute("aria-pressed",!t(this._element).hasClass(o.ACTIVE));e&&t(this._element).toggleClass(o.ACTIVE)}},{key:"dispose",value:function(){t.removeData(this._element,"bs.button"),this._element=null}}],[{key:"_jQueryInterface",value:function(i){return this.each(function(){var n=t(this).data("bs.button");n||(n=new e(this),t(this).data("bs.button",n)),"toggle"===i&&n[i]()})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}}]),e}();t(document).on(a.CLICK_DATA_API,r.DATA_TOGGLE_CARROT,function(e){e.preventDefault();var i=e.target;t(i).hasClass(o.BUTTON)||(i=t(i).closest(r.BUTTON)),l._jQueryInterface.call(t(i),"toggle")}).on(a.FOCUS_BLUR_DATA_API,r.DATA_TOGGLE_CARROT,function(e){var i=t(e.target).closest(r.BUTTON)[0];t(i).toggleClass(o.FOCUS,/^focus(in)?$/.test(e.type))}),t.fn[e]=l._jQueryInterface,t.fn[e].Constructor=l,t.fn[e].noConflict=function(){return t.fn[e]=n,l._jQueryInterface},l}(jQuery),function(t){var e="carousel",n="bs.carousel",r="."+n,a=t.fn[e],l={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0},h={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean"},c={NEXT:"next",PREVIOUS:"prev"},d={SLIDE:"slide"+r,SLID:"slid"+r,KEYDOWN:"keydown"+r,MOUSEENTER:"mouseenter"+r,MOUSELEAVE:"mouseleave"+r,LOAD_DATA_API:"load.bs.carousel.data-api",CLICK_DATA_API:"click.bs.carousel.data-api"},u={CAROUSEL:"carousel",ACTIVE:"active",SLIDE:"slide",RIGHT:"right",LEFT:"left",ITEM:"carousel-item"},f={ACTIVE:".active",ACTIVE_ITEM:".active.carousel-item",ITEM:".carousel-item",NEXT_PREV:".next, .prev",INDICATORS:".carousel-indicators",DATA_SLIDE:"[data-slide], [data-slide-to]",DATA_RIDE:'[data-ride="carousel"]'},p=function(){function a(e,n){i(this,a),this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this._config=this._getConfig(n),this._element=t(e)[0],this._indicatorsElement=t(this._element).find(f.INDICATORS)[0],this._addEventListeners()}return s(a,[{key:"next",value:function(){this._isSliding||this._slide(c.NEXT)}},{key:"nextWhenVisible",value:function(){document.hidden||this.next()}},{key:"prev",value:function(){this._isSliding||this._slide(c.PREVIOUS)}},{key:"pause",value:function(e){e||(this._isPaused=!0),
2t(this._element).find(f.NEXT_PREV)[0]&&o.supportsTransitionEnd()&&(o.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval(t.proxy(document.visibilityState?this.nextWhenVisible:this.next,this),this._config.interval))}},{key:"to",value:function(e){var i=this;this._activeElement=t(this._element).find(f.ACTIVE_ITEM)[0];var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0)){if(this._isSliding)return void t(this._element).one(d.SLID,function(){return i.to(e)});if(n===e)return this.pause(),void this.cycle();var s=e>n?c.NEXT:c.PREVIOUS;this._slide(s,this._items[e])}}},{key:"dispose",value:function(){t(this._element).off(r),t.removeData(this._element,n),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null}},{key:"_getConfig",value:function(i){return i=t.extend({},l,i),o.typeCheckConfig(e,i,h),i}},{key:"_addEventListeners",value:function(){this._config.keyboard&&t(this._element).on(d.KEYDOWN,t.proxy(this._key
2down,this)),"hover"!==this._config.pause||"ontouchstart"in document.documentElement||t(this._element).on(d.MOUSEENTER,t.proxy(this.pause,this)).on(d.MOUSELEAVE,t.proxy(this.cycle,this))}},{key:"_keydown",value:function(t){if(t.preventDefault(),!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}}},{key:"_getItemIndex",value:function(e){return this._items=t.makeArray(t(e).parent().find(f.ITEM)),this._items.indexOf(e)}},{key:"_getItemByDirection",value:function(t,e){var i=t===c.NEXT,n=t===c.PREVIOUS,s=this._getItemIndex(e),o=this._items.length-1;if((n&&0===s||i&&s===o)&&!this._config.wrap)return e;var r=t===c.PREVIOUS?-1:1,a=(s+r)%this._items.length;return a===-1?this._items[this._items.length-1]:this._items[a]}},{key:"_triggerSlideEvent",value:function(e,i){var n=t.Event(d.SLIDE,{relatedTarget:e,direction:i});return t(this._element).trigger(n),n}},{key:"_setActiveIndicatorElement",value:function(e){if(this._indicatorsElement){t(this._indicatorsElement).find(f.ACTIVE).removeClass(u.ACTIVE);var i=this._indicatorsElement.children[this._getItemIndex(e)];i&&t(i).addClass(u.ACTIVE)}}},{key:"_slide",value:function(e,i){var n=this,s=t(this._element).find(f.ACTIVE_ITEM)[0],r=i||s&&this._getItemByDirection(e,s),a=Boolean(this._interval),l=e===c.NEXT?u.LEFT:u.RIGHT;if(r&&t(r).hasClass(u.ACTIVE))return void(this._isSliding=!1);if(!this._triggerSlideEvent(r,l).isDefaultPrevented()&&s&&r){this._isSliding=!0,a&&this.pause(),this._setActiveIndicatorElement(r);var h=t.Event(d.SLID,{relatedTarget:r,direction:l});o.supportsTransitionEnd()&&t(this._element).hasClass(u.SLIDE)?(t(r).addClass(e),o.reflow(r),t(s).addClass(l),t(r).addClass(l),t(s).one(o.TRANSITION_END,function(){t(r).removeClass(l).removeClass(e),t(r).addClass(u.ACTIVE),t(s).removeClass(u.ACTIVE).removeClass(e).removeClass(l),n._isSliding=!1,setTimeout(function(){return t(n._element).trigger(h)},0)}).emulateTransitionEnd(600)):(t(s).removeClass(u.ACTIVE),t(r).addClass(u.ACTIVE),this._isSliding=!1,t(this._element).trigger(h)),a&&this.cycle()}}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=t(this).data(n),s=t.extend({},l,t(this).data());"object"==typeof e&&t.extend(s,e);var o="string"==typeof e?e:s.slide;if(i||(i=new a(this,s),t(this).data(n,i)),"number"==typeof e)i.to(e);else if("string"==typeof o){if(void 0===i[o])throw new Error('No method named "'+o+'"');i[o]()}else s.interval&&(i.pause(),i.cycle())})}},{key:"_dataApiClickHandler",value:function(e){var i=o.getSelectorFromElement(this);if(i){var s=t(i)[0];if(s&&t(s).hasClass(u.CAROUSEL)){var r=t.extend({},t(s).data(),t(this).data()),l=this.getAttribute("data-slide-to");l&&(r.interval=!1),a._jQueryInterface.call(t(s),r),l&&t(s).data(n).to(l),e.preventDefault()}}}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}},{key:"Default",get:function(){return l}}]),a}();t(document).on(d.CLICK_DATA_API,f.DATA_SLIDE,p._dataApiClickHandler),t(window).on(d.LOAD_DATA_API,function(){t(f.DATA_RIDE).each(function(){var e=t(this);p._jQueryInterface.call(e,e.data())})}),t.fn[e]=p._jQueryInterface,t.fn[e].Constructor=p,t.fn[e].noConflict=function(){return t.fn[e]=a,p._jQueryInterface},p}(jQuery),function(t){var e="collapse",n="bs.collapse",r=t.fn[e],a={toggle:!0,parent:""},l={toggle:"boolean",parent:"string"},h={SHOW:"show."+n,SHOWN:"shown."+n,HIDE:"hide."+n,HIDDEN:"hidden."+n,CLICK_DATA_API:"click.bs.collapse.data-api"},c={IN:"in",COLLAPSE:"collapse",COLLAPSING:"collapsing",COLLAPSED:"collapsed"},d={WIDTH:"width",HEIGHT:"height"},u={ACTIVES:".panel > .in, .panel > .collapsing",DATA_TOGGLE:'[data-toggle="collapse"]'},f=function(){function r(e,n){i(this,r),this._isTransitioning=!1,this._element=e,this._config=this._getConfig(n),this._triggerArray=t.makeArray(t('[data-toggle="collapse"][href="#'+e.id+'"],[data-toggle="collapse"][data-target="#'+e.id+'"]')),this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}return s(r,[{key:"toggle",value:function(){t(this._element).hasClass(c.IN)?this.hide():this.show()}},{key:"show",value:function(){var e=this;if(!this._isTransitioning&&!t(this._element).hasClass(c.IN)){var i=void 0,s=void 0;if(this._parent&&(i=t.makeArray(t(u.ACTIVES)),i.length||(i=null)),!(i&&(s=t(i).data(n))&&s._isTransitioning)){var a=t.Event(h.SHOW);
2if(t(this._element).trigger(a),!a.isDefaultPrevented()){i&&(r._jQueryInterface.call(t(i),"hide"),s||t(i).data(n,null));var l=this._getDimension();t(this._element).removeClass(c.COLLAPSE).addClass(c.COLLAPSING),this._element.style[l]=0,this._element.setAttribute("aria-expanded",!0),this._triggerArray.length&&t(this._triggerArray).removeClass(c.COLLAPSED).attr("aria-expanded",!0),this.setTransitioning(!0);var d=function(){t(e._element).removeClass(c.COLLAPSING).addClass(c.COLLAPSE).addClass(c.IN),e._element.style[l]="",e.setTransitioning(!1),t(e._element).trigger(h.SHOWN)};if(!o.supportsTransitionEnd())return void d();var f=l[0].toUpperCase()+l.slice(1),p="scroll"+f;t(this._element).one(o.TRANSITION_END,d).emulateTransitionEnd(600),this._element.style[l]=this._element[p]+"px"}}}}},{key:"hide",value:function(){var e=this;if(!this._isTransitioning&&t(this._element).hasClass(c.IN)){var i=t.Event(h.HIDE);if(t(this._element).trigger(i),!i.isDefaultPrevented()){var n=this._getDimension(),s=n===d.WIDTH?"offsetWidth":"offsetHeight";this._element.style[n]=this._element[s]+"px",o.reflow(this._element),t(this._element).addClass(c.COLLAPSING).removeClass(c.COLLAPSE).removeClass(c.IN),this._element.setAttribute("aria-expanded",!1),this._triggerArray.length&&t(this._triggerArray).addClass(c.COLLAPSED).attr("aria-expanded",!1),this.setTransitioning(!0);var r=function(){e.setTransitioning(!1),t(e._element).removeClass(c.COLLAPSING).addClass(c.COLLAPSE).trigger(h.HIDDEN)};if(this._element.style[n]=0,!o.supportsTransitionEnd())return void r();t(this._element).one(o.TRANSITION_END,r).emulateTransitionEnd(600)}}}},{key:"setTransitioning",value:function(t){this._isTransitioning=t}},{key:"dispose",value:function(){t.removeData(this._element,n),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null}},{key:"_getConfig",value:function(i){return i=t.extend({},a,i),i.toggle=Boolean(i.toggle),o.typeCheckConfig(e,i,l),i}},{key:"_getDimension",value:function(){return t(this._element).hasClass(d.WIDTH)?d.WIDTH:d.HEIGHT}},{key:"_getParent",value:function(){var e=this,i=t(this._config.parent)[0],n='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]';return t(i).find(n).each(function(t,i){e._addAriaAndCollapsedClass(r._getTargetFromElement(i),[i])}),i}},{key:"_addAriaAndCollapsedClass",value:function(e,i){if(e){var n=t(e).hasClass(c.IN);e.setAttribute("aria-expanded",n),i.length&&t(i).toggleClass(c.COLLAPSED,!n).attr("aria-expanded",n)}}}],[{key:"_getTargetFromElement",value:function(e){var i=o.getSelectorFromElement(e);return i?t(i)[0]:null}},{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=t(this),s=i.data(n),o=t.extend({},a,i.data(),"object"==typeof e&&e);if(!s&&o.toggle&&/show|hide/.test(e)&&(o.toggle=!1),s||(s=new r(this,o),i.data(n,s)),"string"==typeof e){if(void 0===s[e])throw new Error('No method named "'+e+'"');s[e]()}})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}},{key:"Default",get:function(){return a}}]),r}();t(document).on(h.CLICK_DATA_API,u.DATA_TOGGLE,function(e){e.preventDefault();var i=f._getTargetFromElement(this),s=t(i).data(n),o=s?"toggle":t(this).data();f._jQueryInterface.call(t(i),o)}),t.fn[e]=f._jQueryInterface,t.fn[e].Constructor=f,t.fn[e].noConflict=function(){return t.fn[e]=r,f._jQueryInterface},f}(jQuery),function(t){var e="dropdown",n=".bs.dropdown",r=t.fn[e],a={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,CLICK:"click"+n,CLICK_DATA_API:"click.bs.dropdown.data-api",KEYDOWN_DATA_API:"keydown.bs.dropdown.data-api"},l={BACKDROP:"dropdown-backdrop",DISABLED:"disabled",OPEN:"open"},h={BACKDROP:".dropdown-backdrop",DATA_TOGGLE:'[data-toggle="dropdown"]',FORM_CHILD:".dropdown form",ROLE_MENU:'[role="menu"]',ROLE_LISTBOX:'[role="listbox"]',NAVBAR_NAV:".navbar-nav",VISIBLE_ITEMS:'[role="menu"] li:not(.disabled) a, [role="listbox"] li:not(.disabled) a'},c=function(){function e(t){i(this,e),this._element=t,this._addEventListeners()}return s(e,[{key:"toggle",value:function(){if(this.disabled||t(this).hasClass(l.DISABLED))return!1;var i=e._getParentFromElement(this),n=t(i).hasClass(l.OPEN);if(e._clearMenus(),n)return!1;if("ontouchstart"in document.documentElement&&!t(i).closest(h.NAVBAR_NAV).length){var s=document.createElement("div");s.className=l.BACKDROP,t(s).insertBefore(this),t(s).on("click",e._clearMenus)}var o={relatedTarget:this},r=t.Event(a.SHOW,o);return t(i).trigger(r),!r.isDefaultPrevented()&&(this.focus(),this.setAttribute("aria-expanded","true"),t(i).toggleClass(l.OPEN),t(i).trigger(t.Event(a.SHOWN,o)),!1)}}
2,{key:"dispose",value:function(){t.removeData(this._element,"bs.dropdown"),t(this._element).off(n),this._element=null}},{key:"_addEventListeners",value:function(){t(this._element).on(a.CLICK,this.toggle)}}],[{key:"_jQueryInterface",value:function(i){return this.each(function(){var n=t(this).data("bs.dropdown");if(n||t(this).data("bs.dropdown",n=new e(this)),"string"==typeof i){if(void 0===n[i])throw new Error('No method named "'+i+'"');n[i].call(this)}})}},{key:"_clearMenus",value:function(i){if(!i||3!==i.which){var n=t(h.BACKDROP)[0];n&&n.parentNode.removeChild(n);for(var s=t.makeArray(t(h.DATA_TOGGLE)),o=0;o<s.length;o++){var r=e._getParentFromElement(s[o]),c={relatedTarget:s[o]};if(t(r).hasClass(l.OPEN)&&!(i&&"click"===i.type&&/input|textarea/i.test(i.target.tagName)&&t.contains(r,i.target))){var d=t.Event(a.HIDE,c);t(r).trigger(d),d.isDefaultPrevented()||(s[o].setAttribute("aria-expanded","false"),t(r).removeClass(l.OPEN).trigger(t.Event(a.HIDDEN,c)))}}}}},{key:"_getParentFromElement",value:function(e){var i=void 0,n=o.getSelectorFromElement(e);return n&&(i=t(n)[0]),i||e.parentNode}},{key:"_dataApiKeydownHandler",value:function(i){if(/(38|40|27|32)/.test(i.which)&&!/input|textarea/i.test(i.target.tagName)&&(i.preventDefault(),i.stopPropagation(),!this.disabled&&!t(this).hasClass(l.DISABLED))){var n=e._getParentFromElement(this),s=t(n).hasClass(l.OPEN);if(!s&&27!==i.which||s&&27===i.which){if(27===i.which){var o=t(n).find(h.DATA_TOGGLE)[0];t(o).trigger("focus")}return void t(this).trigger("click")}var r=t.makeArray(t(h.VISIBLE_ITEMS));if(r=r.filter(function(t){return t.offsetWidth||t.offsetHeight}),r.length){var a=r.indexOf(i.target);38===i.which&&a>0&&a--,40===i.which&&a<r.length-1&&a++,a<0&&(a=0),r[a].focus()}}}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}}]),e}();t(document).on(a.KEYDOWN_DATA_API,h.DATA_TOGGLE,c._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,h.ROLE_MENU,c._dataApiKeydownHandler).on(a.KEYDOWN_DATA_API,h.ROLE_LISTBOX,c._dataApiKeydownHandler).on(a.CLICK_DATA_API,c._clearMenus).on(a.CLICK_DATA_API,h.DATA_TOGGLE,c.prototype.toggle).on(a.CLICK_DATA_API,h.FORM_CHILD,function(t){t.stopPropagation()}),t.fn[e]=c._jQueryInterface,t.fn[e].Constructor=c,t.fn[e].noConflict=function(){return t.fn[e]=r,c._jQueryInterface},c}(jQuery),function(t){var e="modal",n=".bs.modal",r=t.fn[e],a={backdrop:!0,keyboard:!0,focus:!0,show:!0},l={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},h={HIDE:"hide.bs.modal",HIDDEN:"hidden.bs.modal",SHOW:"show.bs.modal",SHOWN:"shown.bs.modal",FOCUSIN:"focusin.bs.modal",RESIZE:"resize.bs.modal",CLICK_DISMISS:"click.dismiss.bs.modal",KEYDOWN_DISMISS:"keydown.dismiss.bs.modal",MOUSEUP_DISMISS:"mouseup.dismiss.bs.modal",MOUSEDOWN_DISMISS:"mousedown.dismiss.bs.modal",CLICK_DATA_API:"click.bs.modal.data-api"},c={SCROLLBAR_MEASURER:"modal-scrollbar-measure",BACKDROP:"modal-backdrop",OPEN:"modal-open",FADE:"fade",IN:"in"},d={DIALOG:".modal-dialog",DATA_TOGGLE:'[data-toggle="modal"]',DATA_DISMISS:'[data-dismiss="modal"]',FIXED_CONTENT:".navbar-fixed-top, .navbar-fixed-bottom, .is-fixed"},u=function(){function r(e,n){i(this,r),this._config=this._getConfig(n),this._element=e,this._dialog=t(e).find(d.DIALOG)[0],this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._originalBodyPadding=0,this._scrollbarWidth=0}return s(r,[{key:"toggle",value:function(t){return this._isShown?this.hide():this.show(t)}},{key:"show",value:function(e){var i=this,n=t.Event(h.SHOW,{relatedTarget:e});t(this._element).trigger(n),this._isShown||n.isDefaultPrevented()||(this._isShown=!0,this._checkScrollbar(),this._setScrollbar(),t(document.body).addClass(c.OPEN),this._setEscapeEvent(),this._setResizeEvent(),t(this._element).on(h.CLICK_DISMISS,d.DATA_DISMISS,t.proxy(this.hide,this)),t(this._dialog).on(h.MOUSEDOWN_DISMISS,function(){t(i._element).one(h.MOUSEUP_DISMISS,function(e){t(e.target).is(i._element)&&(i._ignoreBackdropClick=!0)})}),this._showBackdrop(t.proxy(this._showElement,this,e)))}},{key:"hide",value:function(e){e&&e.preventDefault();var i=t.Event(h.HIDE);t(this._element).trigger(i),this._isShown&&!i.isDefaultPrevented()&&(this._isShown=!1,this._setEscapeEvent(),this._setResizeEvent(),t(document).off(h.FOCUSIN),t(this._element).removeClass(c.IN),t(this._element).off(h.CLICK_DISMISS),t(this._dialog).off(h.MOUSEDOWN_DISMISS),o.supportsTransitionEnd()&&t(this._element).hasClass(c.FADE)?t(this._element).one(o.TRANSITION_END,t.proxy(this._hideModal,this)).emulateTransitionEnd(300):this._hideModal())}}
2,{key:"dispose",value:function(){t.removeData(this._element,"bs.modal"),t(window).off(n),t(document).off(n),t(this._element).off(n),t(this._backdrop).off(n),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._originalBodyPadding=null,this._scrollbarWidth=null}},{key:"_getConfig",value:function(i){return i=t.extend({},a,i),o.typeCheckConfig(e,i,l),i}},{key:"_showElement",value:function(e){var i=this,n=o.supportsTransitionEnd()&&t(this._element).hasClass(c.FADE);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.scrollTop=0,n&&o.reflow(this._element),t(this._element).addClass(c.IN),this._config.focus&&this._enforceFocus();var s=t.Event(h.SHOWN,{relatedTarget:e}),r=function(){i._config.focus&&i._element.focus(),t(i._element).trigger(s)};n?t(this._dialog).one(o.TRANSITION_END,r).emulateTransitionEnd(300):r()}},{key:"_enforceFocus",value:function(){var e=this;t(document).off(h.FOCUSIN).on(h.FOCUSIN,function(i){document===i.target||e._element===i.target||t(e._element).has(i.target).length||e._element.focus()})}},{key:"_setEscapeEvent",value:function(){var e=this;this._isShown&&this._config.keyboard?t(this._element).on(h.KEYDOWN_DISMISS,function(t){27===t.which&&e.hide()}):this._isShown||t(this._element).off(h.KEYDOWN_DISMISS)}},{key:"_setResizeEvent",value:function(){this._isShown?t(window).on(h.RESIZE,t.proxy(this._handleUpdate,this)):t(window).off(h.RESIZE)}},{key:"_hideModal",value:function(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden","true"),this._showBackdrop(function(){t(document.body).removeClass(c.OPEN),e._resetAdjustments(),e._resetScrollbar(),t(e._element).trigger(h.HIDDEN)})}},{key:"_removeBackdrop",value:function(){this._backdrop&&(t(this._backdrop).remove(),this._backdrop=null)}},{key:"_showBackdrop",value:function(e){var i=this,n=t(this._element).hasClass(c.FADE)?c.FADE:"";if(this._isShown&&this._config.backdrop){var s=o.supportsTransitionEnd()&&n;if(this._backdrop=document.createElement("div"),this._backdrop.className=c.BACKDROP,n&&t(this._backdrop).addClass(n),t(this._backdrop).appendTo(document.body),t(this._element).on(h.CLICK_DISMISS,function(t){if(i._ignoreBackdropClick)return void(i._ignoreBackdropClick=!1);t.target===t.currentTarget&&("static"===i._config.backdrop?i._element.focus():i.hide())}),s&&o.reflow(this._backdrop),t(this._backdrop).addClass(c.IN),!e)return;if(!s)return void e();t(this._backdrop).one(o.TRANSITION_END,e).emulateTransitionEnd(150)}else if(!this._isShown&&this._backdrop){t(this._backdrop).removeClass(c.IN);var r=function(){i._removeBackdrop(),e&&e()};o.supportsTransitionEnd()&&t(this._element).hasClass(c.FADE)?t(this._backdrop).one(o.TRANSITION_END,r).emulateTransitionEnd(150):r()}else e&&e()}},{key:"_handleUpdate",value:function(){this._adjustDialog()}},{key:"_adjustDialog",value:function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")}},{key:"_resetAdjustments",value:function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}},{key:"_checkScrollbar",value:function(){this._isBodyOverflowing=document.body.clientWidth<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()}},{key:"_setScrollbar",value:function(){var e=parseInt(t(d.FIXED_CONTENT).css("padding-right")||0,10);this._originalBodyPadding=document.body.style.paddingRight||"",this._isBodyOverflowing&&(document.body.style.paddingRight=e+this._scrollbarWidth+"px")}},{key:"_resetScrollbar",value:function(){document.body.style.paddingRight=this._originalBodyPadding}},{key:"_getScrollbarWidth",value:function(){var t=document.createElement("div");t.className=c.SCROLLBAR_MEASURER,document.body.appendChild(t);var e=t.offsetWidth-t.clientWidth;return document.body.removeChild(t),e}}],[{key:"_jQueryInterface",value:function(e,i){return this.each(function(){var n=t(this).data("bs.modal"),s=t.extend({},r.Default,t(this).data(),"object"==typeof e&&e);if(n||(n=new r(this,s),t(this).data("bs.modal",n)),"string"==typeof e){if(void 0===n[e])throw new Error('No method n
2amed "'+e+'"');n[e](i)}else s.show&&n.show(i)})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}},{key:"Default",get:function(){return a}}]),r}();t(document).on(h.CLICK_DATA_API,d.DATA_TOGGLE,function(e){var i=this,n=void 0,s=o.getSelectorFromElement(this);s&&(n=t(s)[0]);var r=t(n).data("bs.modal")?"toggle":t.extend({},t(n).data(),t(this).data());"A"===this.tagName&&e.preventDefault();var a=t(n).one(h.SHOW,function(e){e.isDefaultPrevented()||a.one(h.HIDDEN,function(){t(i).is(":visible")&&i.focus()})});u._jQueryInterface.call(t(n),r,this)}),t.fn[e]=u._jQueryInterface,t.fn[e].Constructor=u,t.fn[e].noConflict=function(){return t.fn[e]=r,u._jQueryInterface},u}(jQuery),function(t){var e="scrollspy",n=t.fn[e],r={offset:10,method:"auto",target:""},a={offset:"number",method:"string",target:"(string|element)"},l={ACTIVATE:"activate.bs.scrollspy",SCROLL:"scroll.bs.scrollspy",LOAD_DATA_API:"load.bs.scrollspy.data-api"},h={DROPDOWN_ITEM:"dropdown-item",DROPDOWN_MENU:"dropdown-menu",NAV_LINK:"nav-link",NAV:"nav",ACTIVE:"active"},c={DATA_SPY:'[data-spy="scroll"]',ACTIVE:".active",LIST_ITEM:".list-item",LI:"li",LI_DROPDOWN:"li.dropdown",NAV_LINKS:".nav-link",DROPDOWN:".dropdown",DROPDOWN_ITEMS:".dropdown-item",DROPDOWN_TOGGLE:".dropdown-toggle"},d={OFFSET:"offset",POSITION:"position"},u=function(){function n(e,s){i(this,n),this._element=e,this._scrollElement="BODY"===e.tagName?window:e,this._config=this._getConfig(s),this._selector=this._config.target+" "+c.NAV_LINKS+","+this._config.target+" "+c.DROPDOWN_ITEMS,this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,t(this._scrollElement).on(l.SCROLL,t.proxy(this._process,this)),this.refresh(),this._process()}return s(n,[{key:"refresh",value:function(){var e=this,i=this._scrollElement!==this._scrollElement.window?d.POSITION:d.OFFSET,n="auto"===this._config.method?i:this._config.method,s=n===d.POSITION?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),t.makeArray(t(this._selector)).map(function(e){var i=void 0,r=o.getSelectorFromElement(e);return r&&(i=t(r)[0]),i&&(i.offsetWidth||i.offsetHeight)?[t(i)[n]().top+s,r]:null}).filter(function(t){return t}).sort(function(t,e){return t[0]-e[0]}).forEach(function(t){e._offsets.push(t[0]),e._targets.push(t[1])})}},{key:"dispose",value:function(){t.removeData(this._element,"bs.scrollspy"),t(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null}},{key:"_getConfig",value:function(i){if(i=t.extend({},r,i),"string"!=typeof i.target){var n=t(i.target).attr("id");n||(n=o.getUID(e),t(i.target).attr("id",n)),i.target="#"+n}return o.typeCheckConfig(e,i,a),i}},{key:"_getScrollTop",value:function(){return this._scrollElement===window?this._scrollElement.scrollY:this._scrollElement.scrollTop}},{key:"_getScrollHeight",value:function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"_process",value:function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),i=this._config.offset+e-this._scrollElement.offsetHeight;if(this._scrollHeight!==e&&this.refresh(),t>=i){var n=this._targets[this._targets.length-1];this._activeTarget!==n&&this._activate(n)}if(this._activeTarget&&t<this._offsets[0])return this._activeTarget=null,void this._clear();for(var s=this._offsets.length;s--;){this._activeTarget!==this._targets[s]&&t>=this._offsets[s]&&(void 0===this._offsets[s+1]||t<this._offsets[s+1])&&this._activate(this._targets[s])}}},{key:"_activate",value:function(e){this._activeTarget=e,this._clear();var i=this._selector.split(",");i=i.map(function(t){return t+'[data-target="'+e+'"],'+t+'[href="'+e+'"]'});var n=t(i.join(","));n.hasClass(h.DROPDOWN_ITEM)?(n.closest(c.DROPDOWN).find(c.DROPDOWN_TOGGLE).addClass(h.ACTIVE),n.addClass(h.ACTIVE)):n.parents(c.LI).find(c.NAV_LINKS).addClass(h.ACTIVE),t(this._scrollElement).trigger(l.ACTIVATE,{relatedTarget:e})}},{key:"_clear",value:function(){t(this._selector).filter(c.ACTIVE).removeClass(h.ACTIVE)}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=t(this).data("bs.scrollspy"),s="object"==typeof e&&e||null;if(i||(i=new n(this,s),t(this).data("bs.scrollspy",i)),"string"==typeof e){if(void 0===i[e])throw new Error('No method n
2amed "'+e+'"');i[e]()}})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}},{key:"Default",get:function(){return r}}]),n}();t(window).on(l.LOAD_DATA_API,function(){for(var e=t.makeArray(t(c.DATA_SPY)),i=e.length;i--;){var n=t(e[i]);u._jQueryInterface.call(n,n.data())}}),t.fn[e]=u._jQueryInterface,t.fn[e].Constructor=u,t.fn[e].noConflict=function(){return t.fn[e]=n,u._jQueryInterface},u}(jQuery),function(t){var e=t.fn.tab,n={HIDE:"hide.bs.tab",HIDDEN:"hidden.bs.tab",SHOW:"show.bs.tab",SHOWN:"shown.bs.tab",CLICK_DATA_API:"click.bs.tab.data-api"},r={DROPDOWN_MENU:"dropdown-menu",ACTIVE:"active",FADE:"fade",IN:"in"},a={A:"a",LI:"li",DROPDOWN:".dropdown",UL:"ul:not(.dropdown-menu)",FADE_CHILD:"> .nav-item .fade, > .fade",ACTIVE:".active",ACTIVE_CHILD:"> .nav-item > .active, > .active",DATA_TOGGLE:'[data-toggle="tab"], [data-toggle="pill"]',DROPDOWN_TOGGLE:".dropdown-toggle",DROPDOWN_ACTIVE_CHILD:"> .dropdown-menu .active"},l=function(){function e(t){i(this,e),this._element=t}return s(e,[{key:"show",value:function(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!t(this._element).hasClass(r.ACTIVE)){var i=void 0,s=void 0,l=t(this._element).closest(a.UL)[0],h=o.getSelectorFromElement(this._element);l&&(s=t.makeArray(t(l).find(a.ACTIVE)),s=s[s.length-1]);var c=t.Event(n.HIDE,{relatedTarget:this._element}),d=t.Event(n.SHOW,{relatedTarget:s});if(s&&t(s).trigger(c),t(this._element).trigger(d),!d.isDefaultPrevented()&&!c.isDefaultPrevented()){h&&(i=t(h)[0]),this._activate(this._element,l);var u=function(){var i=t.Event(n.HIDDEN,{relatedTarget:e._element}),o=t.Event(n.SHOWN,{relatedTarget:s});t(s).trigger(i),t(e._element).trigger(o)};i?this._activate(i,i.parentNode,u):u()}}}},{key:"dispose",value:function(){t.removeClass(this._element,"bs.tab"),this._element=null}},{key:"_activate",value:function(e,i,n){var s=t(i).find(a.ACTIVE_CHILD)[0],l=n&&o.supportsTransitionEnd()&&(s&&t(s).hasClass(r.FADE)||Boolean(t(i).find(a.FADE_CHILD)[0])),h=t.proxy(this._transitionComplete,this,e,s,l,n);s&&l?t(s).one(o.TRANSITION_END,h).emulateTransitionEnd(150):h(),s&&t(s).removeClass(r.IN)}},{key:"_transitionComplete",value:function(e,i,n,s){if(i){t(i).removeClass(r.ACTIVE);var l=t(i).find(a.DROPDOWN_ACTIVE_CHILD)[0];l&&t(l).removeClass(r.ACTIVE),i.setAttribute("aria-expanded",!1)}if(t(e).addClass(r.ACTIVE),e.setAttribute("aria-expanded",!0),n?(o.reflow(e),t(e).addClass(r.IN)):t(e).removeClass(r.FADE),e.parentNode&&t(e.parentNode).hasClass(r.DROPDOWN_MENU)){var h=t(e).closest(a.DROPDOWN)[0];h&&t(h).find(a.DROPDOWN_TOGGLE).addClass(r.ACTIVE),e.setAttribute("aria-expanded",!0)}s&&s()}}],[{key:"_jQueryInterface",value:function(i){return this.each(function(){var n=t(this),s=n.data("bs.tab");if(s||(s=s=new e(this),n.data("bs.tab",s)),"string"==typeof i){if(void 0===s[i])throw new Error('No method named "'+i+'"');s[i]()}})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}}]),e}();t(document).on(n.CLICK_DATA_API,a.DATA_TOGGLE,function(e){e.preventDefault(),l._jQueryInterface.call(t(this),"show")}),t.fn.tab=l._jQueryInterface,t.fn.tab.Constructor=l,t.fn.tab.noConflict=function(){return t.fn.tab=e,l._jQueryInterface},l}(jQuery),function(t){if(void 0===window.Tether)throw new Error("Bootstrap tooltips require Tether (http://github.hubspot.com/tether/)");var e="tooltip",n=".bs.tooltip",r=t.fn[e],a={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:"0 0",constraints:[]},l={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"string",constraints:"array"},h={TOP:"bottom center",RIGHT:"middle left",BOTTOM:"top center",LEFT:"middle right"},c={IN:"in",OUT:"out"},d={HIDE:"hide"+n,HIDDEN:"hidden"+n,SHOW:"show"+n,SHOWN:"shown"+n,INSERTED:"inserted"+n,CLICK:"click"+n,FOCUSIN:"focusin"+n,FOCUSOUT:"focusout"+n,MOUSEENTER:"mouseenter"+n,MOUSELEAVE:"mouseleave"+n},u={FADE:"fade",IN:"in"},f={TOOLTIP:".tooltip",TOOLTIP_INNER:".tooltip-inner"},p={element:!1,enabled:!1},g={HOVER:"hover",FOCUS:"focus",CLICK:"click",MANUAL:"manual"},m=function(){function r(t,e){i(this,r),this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._tether=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}return s(r,[{key:"enable",value:function(){this._isEnabled=!0}},{key:"disable",value:function(){this._isEnabled=!1}},{key:"toggleEnabled",value:function(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function(e){if(e){var i=this.constructor.DATA_KEY,n=t(e.currentTarget).data(i);n||(n=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(i,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(t(this.getTipElement()).hasClass(u.IN))return void this._leave(null,this);this._enter(null,this)}}},{key:"dispose",value:function(){clearTimeout(this._timeout),this.cleanupTether(),t.removeData(this.element,this.constructor.DATA_KEY),t(this.element).off(this.constructor.EVENT_KEY),this.tip&&t(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._tether=null,this.element=null,this.config=null,this.tip=null}},{key:"show",value:function(){var e=this,i=t.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){t(this.element).trigger(i);var n=t.contains(this.element.ownerDocument.documentElement,this.element);if(i.isDefaultPrevented()||!n)return;var s=this.getTipElement(),a=o.getUID(this.constructor.NAME);s.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&t(s).addClass(u.FADE);var l="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,h=this._getAttachment(l);t(s).data(this.constructor.DATA_KEY,this).appendTo(document.body),t(this.element).trigger(this.constructor.Event.INSERTED),this._tether=new Tether({attachment:h,element:s,target:this.element,classes:p,classPrefix:"bs-tether",offset:this.config.offset,constraints:this.config.constraints,addTargetClasses:!1}),o.reflow(s),this._tether.position(),t(s).addClass(u.IN);var d=function(){var i=e._hoverState;e._hoverState=null,t(e.element).trigger(e.constructor.Event.SHOWN),i===c.OUT&&e._leave(null,e)};if(o.supportsTransitionEnd()&&t(this.tip).hasClass(u.FADE))return void t(this.tip).one(o.TRANSITION_END,d).emulateTransitionEnd(r._TRANSITION_DURATION);d()}}},{key:"hide",value:function(e){var i=this,n=this.getTipElement(),s=t.Event(this.constructor.Event.HIDE),r=function(){i._hoverState!==c.IN&&n.parentNode&&n.parentNode.removeChild(n),i.element.removeAttribute("aria-describedby"),t(i.element).trigger(i.constructor.Event.HIDDEN),i.cleanupTether(),e&&e()};t(this.element).trigger(s),s.isDefaultPrevented()||(t(n).removeClass(u.IN),o.supportsTransitionEnd()&&t(this.tip).hasClass(u.FADE)?t(n).one(o.TRANSITION_END,r).emulateTransitionEnd(150):r(),this._hoverState="")}},{key:"isWithContent",value:function(){return Boolean(this.getTitle())}},{key:"getTipElement",value:function(){return this.tip=this.tip||t(this.config.template)[0]}},{key:"setContent",value:function(){var e=t(this.getTipElement());this.setElementContent(e.find(f.TOOLTIP_INNER),this.getTitle()),e.removeClass(u.FADE).removeClass(u.IN),this.cleanupTether()}},{key:"setElementContent",value:function(e,i){var n=this.config.html;"object"==typeof i&&(i.nodeType||i.jquery)?n?t(i).parent().is(e)||e.empty().append(i):e.text(t(i).text()):e[n?"html":"text"](i)}},{key:"getTitle",value:function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t}},{key:"cleanupTether",value:function(){this._tether&&this._tether.destroy()}},{key:"_getAttachment",value:function(t){return h[t.toUpperCase()]}},{
3key:"_setListeners",value:function(){var e=this;this.config.trigger.split(" ").forEach(function(i){if("click"===i)t(e.element).on(e.constructor.Event.CLICK,e.config.selector,t.proxy(e.toggle,e));else if(i!==g.MANUAL){var n=i===g.HOVER?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,s=i===g.HOVER?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;t(e.element).on(n,e.config.selector,t.proxy(e._enter,e)).on(s,e.config.selector,t.proxy(e._leave,e))}}),this.config.selector?this.config=t.extend({},this.config,{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))}},{key:"_enter",value:function(e,i){var n=this.constructor.DATA_KEY;return i=i||t(e.currentTarget).data(n),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusin"===e.type?g.FOCUS:g.HOVER]=!0),t(i.getTipElement()).hasClass(u.IN)||i._hoverState===c.IN?void(i._hoverState=c.IN):(clearTimeout(i._timeout),i._hoverState=c.IN,i.config.delay&&i.config.delay.show?void(i._timeout=setTimeout(function(){i._hoverState===c.IN&&i.show()},i.config.delay.show)):void i.show())}},{key:"_leave",value:function(e,i){var n=this.constructor.DATA_KEY;if(i=i||t(e.currentTarget).data(n),i||(i=new this.constructor(e.currentTarget,this._getDelegateConfig()),t(e.currentTarget).data(n,i)),e&&(i._activeTrigger["focusout"===e.type?g.FOCUS:g.HOVER]=!1),!i._isWithActiveTrigger()){if(clearTimeout(i._timeout),i._hoverState=c.OUT,!i.config.delay||!i.config.delay.hide)return void i.hide();i._timeout=setTimeout(function(){i._hoverState===c.OUT&&i.hide()},i.config.delay.hide)}}},{key:"_isWithActiveTrigger",value:function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1}},{key:"_getConfig",value:function(i){return i=t.extend({},this.constructor.Default,t(this.element).data(),i),i.delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),o.typeCheckConfig(e,i,this.constructor.DefaultType),i}},{key:"_getDelegateConfig",value:function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=t(this).data("bs.tooltip"),n="object"==typeof e?e:null;if((i||!/destroy|hide/.test(e))&&(i||(i=new r(this,n),t(this).data("bs.tooltip",i)),"string"==typeof e)){if(void 0===i[e])throw new Error('No method named "'+e+'"');i[e]()}})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}},{key:"Default",get:function(){return a}},{key:"NAME",get:function(){return e}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return d}},{key:"EVENT_KEY",get:function(){return n}},{key:"DefaultType",get:function(){return l}}]),r}();return t.fn[e]=m._jQueryInterface,t.fn[e].Constructor=m,t.fn[e].noConflict=function(){return t.fn[e]=r,m._jQueryInterface},m}(jQuery));!function(t){var o="popover",a=".bs.popover",l=t.fn[o],h=t.extend({},r.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),c=t.extend({},r.DefaultType,{content:"(string|element|function)"}),d={FADE:"fade",IN:"in"},u={TITLE:".popover-title",CONTENT:".popover-content",ARROW:".popover-arrow"},f={HIDE:"hide"+a,HIDDEN:"hidden"+a,SHOW:"show"+a,SHOWN:"shown"+a,INSERTED:"inserted"+a,CLICK:"click"+a,FOCUSIN:"focusin"+a,FOCUSOUT:"focusout"+a,MOUSEENTER:"mouseenter"+a,MOUSELEAVE:"mouseleave"+a},p=function(r){function l(){i(this,l),n(Object.getPrototypeOf(l.prototype),"constructor",this).apply(this,arguments)}return e(l,r),s(l,[{key:"isWithContent",value:function(){return this.getTitle()||this._getContent()}},{key:"getTipElement",value:function(){return this.tip=this.tip||t(this.config.template)[0]}},{key:"setContent",value:function(){var e=t(this.getTipElement());this.setElementContent(e.find(u.TITLE),this.getTitle()),this.setElementContent(e.find(u.CONTENT),this._getContent()),e.removeClass(d.FADE).removeClass(d.IN),this.cleanupTether()}},{key:"_getContent",value:function(){return this.element.getAttribute("data-content")||("function"==typeof this.config.content?this.config.content.call(this.element):this.config.content)}}],[{key:"_jQueryInterface",value:function(e){return this.each(function(){var i=t(this).data("bs.popover"),n="object"==typeof e?e:null;if((i||!/destroy|hide/.test(e))&&(i||(i=new l(this,n),t(this).data("bs.popover",i)),"string"==typeof e)){if(void 0===i[e])throw new Error('No method n
3amed "'+e+'"');i[e]()}})}},{key:"VERSION",get:function(){return"4.0.0-alpha.4"}},{key:"Default",get:function(){return h}},{key:"NAME",get:function(){return o}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return f}},{key:"EVENT_KEY",get:function(){return a}},{key:"DefaultType",get:function(){return c}}]),l}(r);t.fn[o]=p._jQueryInterface,t.fn[o].Constructor=p,t.fn[o].noConflict=function(){return t.fn[o]=l,p._jQueryInterface},p}(jQuery)}(jQuery),function(t,e){var i=function(e,i){this.$el=t(e),this.props=_.extend({position:"50%",color:"red",direction:"down",side:"left"},i),"light"===this.props.color&&(this.props.color="rgba(255, 255, 255, 0.3)"),"dark"===this.props.color&&(this.props.color="rgba(34, 31, 31, 0.7)"),this.render()};i.points={left:{up:"2310 0 4000 0 4000 1000 1690 1000",down:"1690 0 4000 0 4000 1000 2310 1000"},right:{up:"0 0 2310 0 1690 1000 0 1000",down:"0 0 1690 0 2310 1000 0 1000"}},i.prototype={render:function(){var t=this;this.$el.css("opacity",0),setTimeout(function(){var e="translate(100px, 0)";"right"===t.props.side&&(e="translate(-100px, 0)"),t.$el.css({position:"absolute",top:0,left:0,width:"100%",height:"100%",overflow:"hidden",transition:"opacity 0.75s ease",opacity:0}).append('<svg style="position: absolute; transform: translate(-50%, -50%); top: 50%; left: '+t.props.position+';" width: 4000px;" height="1000px" viewBox="0 0 4000 1000" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><polygon class="angle-polygon" fill="'+t.props.color+'" points="'+i.points[t.props.side][t.props.direction]+'" style="transform: '+e+'; transition: all 0.75s ease;"></polygon></svg>')},50),setTimeout(function(){t.$el.css({opacity:1}),t.$el.find(".angle-polygon").css({transform:"translate(0, 0)"})},500)}},e.views.AngleOverlay=i}(jQuery,window.myriad),function(t,e){var i=function(e,i){this.$el=t(e),this.themes=JSON.parse(i.themes),this.tracks=JSON.parse(i.tracks);try{this.stages=JSON.parse(i.stages)}catch(t){this.stages=[]}this.themeIds=_.pluck(this.themes,"term_id"),this.trackIds=_.pluck(this.tracks,"term_id"),this.stageIds=_.pluck(this.stages,"term_id")};i.prototype={show:function(){this.$el.removeClass("inactive")},hide:function(){this.$el.addClass("inactive")},hasAnyThemes:function(t){return!!_.isEmpty(t)||_.chain(t).filter(this.hasTheme.bind(this)).compact().value().length},hasAnyTracks:function(t){return!!_.isEmpty(t)||_.chain(t).filter(this.hasTrack.bind(this)).compact().value().length},hasAnyStages:function(t){return!!_.isEmpty(t)||_.chain(t).filter(this.hasStage.bind(this)).compact().value().length},hasTheme:function(t){return _.isObject(t)&&(t=t.term_id||t.id),this.themeIds.indexOf(parseInt(t,10))!==-1},hasTrack:function(t){return _.isObject(t)&&(t=t.term_id||t.id),this.trackIds.indexOf(parseInt(t,10))!==-1},hasStage:function(t){return _.isObject(t)&&(t=t.term_id||t.id),this.stageIds.indexOf(t)!==-1}};var n=function(e,i){i.filterable&&(_.bindAll(this,"handleThemeChange","handleTrackChange","handleStageChange"),this.$el=t(e),this.selectedThemes=[],this.selectedTracks=[],this.selectedStages=[],this.initItems(),this.initFilters(),this.handleThemeChange(),this.handleTrackChange(),this.handleStageChange(),this.bind())};n.prototype={initItems:function(){this.itemViews=_.map(this.$el.find(".filterable").get(),function(e){return new i(t(e),e.dataset)})},initFilters:function(){this.$theme=this.$el.find('.filters [name="theme"]'),this.$track=this.$el.find('.filters [name="track"]'),this.$stage=this.$el.find('.filters [name="stage"]'),this.$theme.selectpicker({dropupAuto:!1}),this.$track.selectpicker({dropupAuto:!1}),this.$stage.selectpicker({dropupAuto:!1})},bind:function(){this.$theme.on("change",this.handleThemeChange),this.$track.on("change",this.handleTrackChange),this.$stage.on("change",this.handleStageChange)},handleThemeChange:function(t){var e=this.$theme.val();_.isEmpty(e)||"all"===e?this.selectedThemes=[]:this.selectedThemes=[e],this.filter(this.selectedThemes,this.selectedTracks,this.selectedStages)},handleTrackChange:function(t){var e=this.$track.val();_.isEmpty(e)||"all"===e?this.selectedTracks=[]:this.selectedTracks=[e],this.filter(this.selectedThemes,this.selectedTracks,this.selectedStages)},handleStageChange:function(t){var e=this.$stage.val();_.isEmpty(e)||"all"===e?this.selectedStages=[]:this.selectedStages=[e],this.filter(this.selectedThemes,this.selectedTracks,this.selectedStages)}
3,filter:function(t,e,i){_.isArray(t)||(t=[t]),_.isArray(e)||(e=[e]),_.isArray(i)||(i=[i]);var n=_.chain(this.itemViews).filter(function(e){return e.hasAnyThemes(t)}).filter(function(t){return t.hasAnyTracks(e)}).filter(function(t){return t.hasAnyStages(i)}).value();this.showItem(n),this.hideItem(_.filter(this.itemViews,function(t){return!_.find(n,t)}))},showItem:function(t){t.map(function(t){t.show()})},hideItem:function(t){t.map(function(t){t.hide()})}},e.views.Filterable=n,e.views.FilterableItem=i,e.views.Schedule=n,e.views.Speakers=n}(jQuery,window.myriad),function(t,e){var i=function(e,i){_.bindAll(this,"onSuccess"),this.$el=t(e),this.props=i,this.bind()};i.prototype={bind:function(){this.$el.on("form:submit:success",this.onSuccess)},onSuccess:function(){var t=this.$el.find(".nf-response-msg"),e=this.$el.find(".modal-title, .form-title");t.prepend('<i class="icon-tick-circle"></i>'),e.hide()}},t(document).ajaxComplete(function(e,i,n){if(_.isString(n.data)&&n.data.indexOf("action=nf_ajax_submit")!==-1)try{var s=JSON.parse(i.responseText);if(s.errors.length);else{var o="#form-"+s.data.form_id,r=t(o);r.length&&r.trigger("form:submit:success")}}catch(t){}});var n=function(){if(window.Marionette){new(Marionette.Object.extend({initialize:function(){var t=Backbone.Radio.channel("submit");this.listenTo(t,"before:submit",this.handleBeforeSubmit)},handleBeforeSubmit:function(e){var i=e.get("formID"),n=t("#form-"+i);n.length&&window.leadin&&window.leadin.capture&&window.leadin.capture.captureForm(n.get(0))}}))}};t(window).on("load",function(){n()}),e.views.Form=i}(jQuery,window.myriad),function(t,e){var i=function(e,i){_.bindAll(this,"handleResize"),this.$el=t(e),this.$nav=this.$el.find(".nav-primary"),this.$items=this.$nav.find(".menu-item"),this.$logo=this.$el.find(".header-logo"),this.$mobileLogo=this.$el.find(".header-logo-mark"),this.$more=t('<li class="menu-item dropdown"><a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">More <i class="icon-triangle-down"></i></a></li>'),this.$items.parent().append(this.$more),this.props=i,this.isRendered=!1,this.headerHeight=this.$el.height(),this.render(),this.bind()};i.prototype={bind:function(){t(window).on("resize.header",this.handleResize),t(window).on("scroll.header",this.handleScroll.bind(this))},render:function(){this.$items.show(),this.$more.hide();var t=this.getMenuItems();t.visible.show(),t.overflow.hide(),this.renderMore(t.overflow),this.isRendered||(this.$nav.removeClass("cloak"),this.isRendered=!0)},renderMore:function(e){var i=t('<ul class="dropdown-menu" />').html(e.clone().show());this.$more.find(".dropdown-menu").remove(),this.$more.append(i),e.length?this.$more.show():this.$more.hide()},handleResize:function(t){this.render()},handleScroll:function(){this.$el.toggleClass("header--scrolled",window.scrollY>this.headerHeight)},isMobile:function(){return window.innerWidth<768},isDesktop:function(){return!this.isMobile()},getMenuItems:function(){var e=this.getAvailableSpace(),i=[],n=[],s=0;return this.$items.each(function(o,r){s+=parseInt(t(r).width(),10),s<e?i.push(r):n.push(r)}),{visible:t(i),overflow:t(n)}},getAvailableSpace:function(){var t=this.isMobile()?this.$mobileLogo:this.$logo,e=this.$more.width(),i=t.width(),n=t.offset().left;return window.innerWidth-(2*parseInt(this.$el.css("paddingLeft"),10)+e+i+n+30)}},e.views.Header=i}(jQuery,window.myriad),function(t,e){var i=function(e,i){_.bindAll(this,"handleResize"),this.$el=t(e),this.props=i,this.$inner=this.$el.find(".section-inner"),this._handleResize=_.throttle(this.handleResize,100).bind(this),this.bind(),this.position(),this.uncloak()};i.prototype={bind:function(){t(window).on("resize.hero",this._handleResize)},handleResize:function(){this.position()},uncloak:function(){this.$el.removeClass("cloak")},position:function(){var t=this.$el.outerHeight();t-this.$el.height()+this.$inner.outerHeight()<t?this.positionCenter():this.positionStatic()},positionCenter:function(){this.$inner.css({position:"absolute",top:"50%",left:"50%",width:"100%",transform:"translate(-50%, -50%)"})},positionStatic:function(){this.$inner.css({position:"",top:"",left:"",transform:""})}},e.views.Hero=i}(jQuery,window.myriad),function(t,e){var i=function(){_.bindAll(this,"showModal"),this.$el=t("#investors-modal"),this.initialize()};i.prototype={initialize:function(){this.shouldShow()&&setTimeout(this.showModal,1e3*e.investorModalDelay)},showModal:function(){this.$el.modal(),this.markSeen()},shouldShow:function(){var t=!!e.showInvestorModal,i=Cookies.get("seenInvestorModal");return t&&!i},markSeen:function(){Cookies.set("seenInvestorModal",!0)}},new i}(jQuery,window.myriad),function(t,e){t('a[href*="modal:"]').on("click",function(e){e.preventDefault();var i=t(this).attr("href").replace("modal:","");t("#"+i).modal({})}),t(".modal").on("show.bs.modal",function(){var e=t(this);if(!e.data("inited")){e.find("select").selectpicker({dropupAuto:!1}),t(".bootstrap-select").removeClass("ninja-forms-field nf-element"),e.data("inited",!0)}})}(jQuery,window.myriad),function(t,e){var i=function(e,i){_.bindAll(this,"handleClick"),this.$el=t(e),this.props=i,this.$section=this.$el.parents(".section"),this.$next=this.$section.next(".section"),this.$next.length&&this.bind()};i.prototype={bind:function(){this.$el.on("click",this.handleClick)},handleClick:function(e){e.preventDefault(),t("html, body").animate({scrollTop:this.$next.offset().top-.25*window.innerHeight},300)}},e.views.NextSectionButton=i}(jQuery,window.myriad),function(t,e){var i=function(i,n){this.$el=t(i),this.props=n,this.video=null,this.hasVideo=this.props.backgroundVideoMp4||this.props.backgroundVideoWebm,this.hasImage=!!this.props.backgroundImage;var s=this.$el.parents(".section-hero");this.$container=s.length?s:t(window),!e.isMobile&&this.hasVideo?this.type="video":this.hasImage?this.type="image":this.t
3ype="color",this.render(),this.bind()};i.prototype={bind:function(){var e=this;t(window).on("resize",function(){e.alignImage(),e.alignVideo()})},render:function(){"video"===this.type?this.renderVideo():"image"===this.type&&this.renderImage()},renderVideo:function(){var e='<video autoplay loop class="page-background-video page-background-cloak"><source src="'+this.props.backgroundVideoWebm+'" type="video/webm;codecs="vp8, vorbis""/><source src="'+this.props.backgroundVideoMp4+'" type="video/mp4;codecs="avc1.42E01E, mp4a.40.2""/></video>',i=t(e);this.video=i[0],this.$el.append(i),i.on("loadeddata",function(){this.alignVideo(),setTimeout(function(){i.removeClass("page-background-cloak")},50)}.bind(this))},renderImage:function(){var e=this.props.backgroundImage,i=t('<img src="'+this.props.backgroundImage+'" class="page-background-image page-background-cloak" />');this.$el.append(i),this.preload(e,function(){this.alignImage(),setTimeout(function(){i.removeClass("page-background-cloak")},50)}.bind(this))},alignImage:function(){this.cover(this.$el.find(".page-background-image"))},alignVideo:function(){this.cover(this.$el.find(".page-background-video"))},cover:function(t){if(t&&t.length){var e=t[0],i=t.width(),n=t.height();"video"===e.tagName.toLowerCase()&&(i=e.videoWidth,n=e.videoHeight);var s=this.$container.innerHeight()+1,o=this.$container.innerWidth()+1,r=i/n,a=s,l=a*r;l<o&&(a=o/r,l=o),t.css({width:l,height:a})}},preload:function(t,e){var i=document.createElement("img");i.onload=e.bind(this),i.src=t}},e.views.PageBackground=i}(jQuery,window.myriad),function(t,e){var i=function(){_.bindAll(this,"load","handlePrevious","handleNext"),this.$el=t("#speaker-modal"),this.$nav=this.$el.find(".modal-nav-left, .modal-nav-right"),this.currentSpeaker=null,this.currentList=[],this.$el.modal({show:!1}),this.bind()};i.template=_.template(t("#speaker-modal-template").html()),i.prototype={bind:function(){this.$el.on("click",".modal-nav-right",this.handleNext),this.$el.on("click",".modal-nav-left",this.handlePrevious)},handleNext:function(t){t.preventDefault(),this.next()},handlePrevious:function(t){t.preventDefault(),this.previous()},load:function(t,e){this.currentSpeaker=t,this.currentList=e||[],this.render(),this.renderNav(),this.show()},render:function(){if(this.currentSpeaker){var t=i.template({speaker:this.currentSpeaker});this.$el.find(".modal-body").html(t)}},renderNav:function(){this.currentList.length?this.showNav():this.hideNav()},show:function(){this.$el.modal("show")},hide:function(){this.$el.modal("hide")},next:function(){var t=this,e=this.currentList.length,i=_.findIndex(this.currentList,function(e){return e.id===t.currentSpeaker.id});i++,i+1>=e&&(i=0),this.currentSpeaker=this.currentList[i],this.render()},previous:function(){var t=this,e=this.currentList.length,i=_.findIndex(this.currentList,function(e){return e.id===t.currentSpeaker.id});i--,i<0&&(i=e-1),this.currentSpeaker=this.currentList[i],this.render()},showNav:function(){this.$nav.fadeIn()},hideNav:function(){this.$nav.fadeOut()}};var n=function(e,i){_.bindAll(this,"handleClick"),this.$el=t(e),this.$modal=null,this.$current=this.$el,this.$list=this.$el.parents(".speakers").first().find('[data-view="SpeakerTile"]'),this.isList=this.$list.length,this.speaker=JSON.parse(i.speaker),this.bind()};n.prototype={bind:function(){this.$el.on("click",this.handleClick)},handleClick:function(t){t.preventDefault(),this.speaker&&e.speakerModal.load(this.speaker,this.getList())},getList:function(){if(this.list)return this.list;var t=this.$list.get().map(function(t){return JSON.parse(t.dataset.speaker)});return this.list=t,this.list}},e.speakerModal=new i,e.views.SpeakerTile=n}(jQuery,window.myriad),function(t,e){var i=function(e,i){this.$el=t(e),this.props=i,_.bindAll(this,"handleSubmit","handleSaveFail","handleSaveSuccess"),this.isValid=!1,this.isLoading=!1,this.isSuccess=!1,this.isSubmitted=!1,this.successTime=5e3,this.errors={},this.ajaxAction="newsletter_subscribe",this.$success=this.$el.next(".form-success-message"),this.render(),this.bind()};i.prototype={focus:function(){this.$el.find('[name="email"]').trigger("focus")},bind:function(){this.$el.on("submit",this.handleSubmit)},render:function(){this.$el.toggleClass("subscribe-valid",this.isValid),this.$el.toggleClass("subscribe-loading",this.isLoading),this.$el.toggleClass("subscribe-success",this.isSuccess),this.$el.toggleClass("subscribe-submitted",this.isSubmitted)},renderErrors:function(){var t=this;this.$el.find(".form-errors").empty(),_.each(this.errors,function(e,i){t.$el.find(".form-errors").append('<div class="form-error">'+e+"</div>")})},handleEmailChange:function(t){this.validate()},handleSubmit:function(t){t.preventDefault(),this.isSubmitted=!0,this.validate()&&this.save({email:this.$el.find('[name="email"]').val()})},validate:function(){this.errors={};var t=this.$el.find('[name="email"]').val();return this.validEmail(t)||(this.errors.email="Please enter a valid email."),this.isSubmitted&&this.renderErrors(),_.isEmpty(this.errors)},save:function(e){this.isLoading||(e.action=this.ajaxAction,e.list_id=this.props.listId,this.isLoading=!0,this.render(),t.ajax({method:"POST",url:window.ajaxurl,data:e}).fail(this.handleSaveFail).done(this.handleSaveSuccess))},handleSaveFail:function(){this.isLoading=!1,this.isSuccess=!1,this.render()},handleSaveSuccess:function(){var t=this;this.isLoading=!1,this.isSubmitted=!1,this.isSuccess=!0,this.isValid=!1,this.$el.find("input").val(""),this.render(),this.$success.show(),this.$el.hide(),setTimeout(function(){t.isSuccess=!1,t.render(),t.$success.hide(),t.$el.show()},this.successTime)}
3,validEmail:function(t){if(!t)return!1;var e=t.lastIndexOf("@"),i=t.lastIndexOf(".");return e<i&&e>0&&t.indexOf("@@")===-1&&i>2&&t.length-i>2}},e.views.SubscribeForm=i}(jQuery,window.myriad),function(t,e){var i=function(e,i){_.bindAll(this,"handleMoreClick"),this.$el=t(e),this.props=i,this.$tickets=this.$el.find(".ticket"),this.$details=this.$el.find(".ticket-details"),this.bind()};i.detailsTemplate=_.template(t("#ticket-details-template").html()),i.prototype={bind:function(){this.$el.on("click","[data-ticket-details]",this.handleMoreClick)},handleMoreClick:function(e){e.preventDefault(),e.stopPropagation();var i=t(e.target).parents(".ticket");i.hasClass("active")?this.hideDetails():(this.hideDetails(),this.showDetails(i))},showDetails:function(e){var n=this.getSizeClass(),s=e.nextAll("."+n).first();e.addClass("active"),s.html(i.detailsTemplate(e.data())).addClass("active"),t("html, body").animate({scrollTop:s.offset().top-.25*window.innerHeight},500)},hideDetails:function(){this.$tickets.removeClass("active"),this.$details.empty().removeClass("active")},getSizeClass:function(){var t=window.innerWidth;return t<768?"ticket-details-sm":t<1200?"ticket-details-md":"ticket-details-lg"}},e.views.Tickets=i}(jQuery,window.myriad),function(t,e){var i=function(e,i){_.bindAll(this,"handleLoadFail","handleLoadSuccess"),this.$el=t(e),this.props=i,this.props.location&&(this.$el.css({opacity:0,transition:"opacity 0.3s"}),this.load())};i.template=_.template(t("#weather-template").html()),i.prototype={load:function(){t.ajax({method:"GET",url:window.ajaxurl,data:{action:"location_weather",location:this.props.location}}).fail(this.handleLoadFail).done(this.handleLoadSuccess)},handleLoadFail:function(t){},handleLoadSuccess:function(t){t.success&&(this.$el.html(i.template({weather:t})),setTimeout(function(){this.$el.css({opacity:1})}.bind(this),300))}},e.views.Weather=i}(jQuery,window.myriad),function(t,e){e.isMobile=/iPhone|iPad|iPod|Android/i.test(navigator.userAgent),t(function(){var i=e.views;t("[data-view]").each(function(t,e){var n=e.dataset.view;if(i[n]){var s=i[n];new s(e,e.dataset)}})})}(jQuery,window.myriad);

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.