/* Minification failed. Returning unminified contents.
(1671,3,1708,4): run-time error JS1314: Implicit property name must be identifier: init() {
    //checking which page we're on
    const pagetype = document.querySelector('.page-type').dataset.pageType;
    new ScrollSlider();
    setTileSliders();
    highlightNav();
    setTileType();
    
    switch (pagetype) {
      case 'category':
        setCategoryPage();
        setTripleTiles();
        break;

        case 'article':
          new Likes();
          artcileImgFullWidth();
          removeArticleSpeechBubble();
        break;

        case 'recipe':
          new Likes();
        break;

        case 'video-recipe':
          new Likes();
        break;

        case 'video-article':
          new Likes();
          setQuote();
        break;
    
      default:
        
        break;
    }
  }
 */
/* Minification failed. Returning unminified contents.
(1631,3,1668,4): run-time error JS1314: Implicit property name must be identifier: init() {
    //checking which page we're on
    const pagetype = document.querySelector('.page-type').dataset.pageType;
    new ScrollSlider();
    setTileSliders();
    highlightNav();
    setTileType();
    
    switch (pagetype) {
      case 'category':
        setCategoryPage();
        setTripleTiles();
        break;

        case 'article':
          new Likes();
          artcileImgFullWidth();
          removeArticleSpeechBubble();
        break;

        case 'recipe':
          new Likes();
        break;

        case 'video-recipe':
          new Likes();
        break;

        case 'video-article':
          new Likes();
          setQuote();
        break;
    
      default:
        
        break;
    }
  }
 */
/*! modernizr 3.5.0 (Custom Build) | MIT *
 * https://modernizr.com/download/?-touchevents-setclasses !*/
!function(e,n,t){function o(e,n){return typeof e===n}function s(){var e,n,t,s,a,i,r;for(var l in c)if(c.hasOwnProperty(l)){if(e=[],n=c[l],n.name&&(e.push(n.name.toLowerCase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;t<n.options.aliases.length;t++)e.push(n.options.aliases[t].toLowerCase());for(s=o(n.fn,"function")?n.fn():n.fn,a=0;a<e.length;a++)i=e[a],r=i.split("."),1===r.length?Modernizr[r[0]]=s:(!Modernizr[r[0]]||Modernizr[r[0]]instanceof Boolean||(Modernizr[r[0]]=new Boolean(Modernizr[r[0]])),Modernizr[r[0]][r[1]]=s),f.push((s?"":"no-")+r.join("-"))}}function a(e){var n=u.className,t=Modernizr._config.classPrefix||"";if(p&&(n=n.baseVal),Modernizr._config.enableJSClass){var o=new RegExp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(o,"$1"+t+"js$2")}Modernizr._config.enableClasses&&(n+=" "+t+e.join(" "+t),p?u.className.baseVal=n:u.className=n)}function i(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):p?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}function r(){var e=n.body;return e||(e=i(p?"svg":"body"),e.fake=!0),e}function l(e,t,o,s){var a,l,f,c,d="modernizr",p=i("div"),h=r();if(parseInt(o,10))for(;o--;)f=i("div"),f.id=s?s[o]:d+(o+1),p.appendChild(f);return a=i("style"),a.type="text/css",a.id="s"+d,(h.fake?h:p).appendChild(a),h.appendChild(p),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(n.createTextNode(e)),p.id=d,h.fake&&(h.style.background="",h.style.overflow="hidden",c=u.style.overflow,u.style.overflow="hidden",u.appendChild(h)),l=t(p,e),h.fake?(h.parentNode.removeChild(h),u.style.overflow=c,u.offsetHeight):p.parentNode.removeChild(p),!!l}var f=[],c=[],d={_version:"3.5.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,n){var t=this;setTimeout(function(){n(t[e])},0)},addTest:function(e,n,t){c.push({name:e,fn:n,options:t})},addAsyncTest:function(e){c.push({name:null,fn:e})}},Modernizr=function(){};Modernizr.prototype=d,Modernizr=new Modernizr;var u=n.documentElement,p="svg"===u.nodeName.toLowerCase(),h=d._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];d._prefixes=h;var m=d.testStyles=l;Modernizr.addTest("touchevents",function(){var t;if("ontouchstart"in e||e.DocumentTouch&&n instanceof DocumentTouch)t=!0;else{var o=["@media (",h.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");m(o,function(e){t=9===e.offsetTop})}return t}),s(),a(f),delete d.addTest,delete d.addAsyncTest;for(var v=0;v<Modernizr._q.length;v++)Modernizr._q[v]();e.Modernizr=Modernizr}(window,document);;
/*! Hammer.JS - v2.0.8 - 2016-04-23
 * http://hammerjs.github.io/
 *
 * Copyright (c) 2016 Jorik Tangelder;
 * Licensed under the MIT license */
!function(a,b,c,d){"use strict";function e(a,b,c){return setTimeout(j(a,c),b)}function f(a,b,c){return Array.isArray(a)?(g(a,c[b],c),!0):!1}function g(a,b,c){var e;if(a)if(a.forEach)a.forEach(b,c);else if(a.length!==d)for(e=0;e<a.length;)b.call(c,a[e],e,a),e++;else for(e in a)a.hasOwnProperty(e)&&b.call(c,a[e],e,a)}function h(b,c,d){var e="DEPRECATED METHOD: "+c+"\n"+d+" AT \n";return function(){var c=new Error("get-stack-trace"),d=c&&c.stack?c.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",f=a.console&&(a.console.warn||a.console.log);return f&&f.call(a.console,e,d),b.apply(this,arguments)}}function i(a,b,c){var d,e=b.prototype;d=a.prototype=Object.create(e),d.constructor=a,d._super=e,c&&la(d,c)}function j(a,b){return function(){return a.apply(b,arguments)}}function k(a,b){return typeof a==oa?a.apply(b?b[0]||d:d,b):a}function l(a,b){return a===d?b:a}function m(a,b,c){g(q(b),function(b){a.addEventListener(b,c,!1)})}function n(a,b,c){g(q(b),function(b){a.removeEventListener(b,c,!1)})}function o(a,b){for(;a;){if(a==b)return!0;a=a.parentNode}return!1}function p(a,b){return a.indexOf(b)>-1}function q(a){return a.trim().split(/\s+/g)}function r(a,b,c){if(a.indexOf&&!c)return a.indexOf(b);for(var d=0;d<a.length;){if(c&&a[d][c]==b||!c&&a[d]===b)return d;d++}return-1}function s(a){return Array.prototype.slice.call(a,0)}function t(a,b,c){for(var d=[],e=[],f=0;f<a.length;){var g=b?a[f][b]:a[f];r(e,g)<0&&d.push(a[f]),e[f]=g,f++}return c&&(d=b?d.sort(function(a,c){return a[b]>c[b]}):d.sort()),d}function u(a,b){for(var c,e,f=b[0].toUpperCase()+b.slice(1),g=0;g<ma.length;){if(c=ma[g],e=c?c+f:b,e in a)return e;g++}return d}function v(){return ua++}function w(b){var c=b.ownerDocument||b;return c.defaultView||c.parentWindow||a}function x(a,b){var c=this;this.manager=a,this.callback=b,this.element=a.element,this.target=a.options.inputTarget,this.domHandler=function(b){k(a.options.enable,[a])&&c.handler(b)},this.init()}function y(a){var b,c=a.options.inputClass;return new(b=c?c:xa?M:ya?P:wa?R:L)(a,z)}function z(a,b,c){var d=c.pointers.length,e=c.changedPointers.length,f=b&Ea&&d-e===0,g=b&(Ga|Ha)&&d-e===0;c.isFirst=!!f,c.isFinal=!!g,f&&(a.session={}),c.eventType=b,A(a,c),a.emit("hammer.input",c),a.recognize(c),a.session.prevInput=c}function A(a,b){var c=a.session,d=b.pointers,e=d.length;c.firstInput||(c.firstInput=D(b)),e>1&&!c.firstMultiple?c.firstMultiple=D(b):1===e&&(c.firstMultiple=!1);var f=c.firstInput,g=c.firstMultiple,h=g?g.center:f.center,i=b.center=E(d);b.timeStamp=ra(),b.deltaTime=b.timeStamp-f.timeStamp,b.angle=I(h,i),b.distance=H(h,i),B(c,b),b.offsetDirection=G(b.deltaX,b.deltaY);var j=F(b.deltaTime,b.deltaX,b.deltaY);b.overallVelocityX=j.x,b.overallVelocityY=j.y,b.overallVelocity=qa(j.x)>qa(j.y)?j.x:j.y,b.scale=g?K(g.pointers,d):1,b.rotation=g?J(g.pointers,d):0,b.maxPointers=c.prevInput?b.pointers.length>c.prevInput.maxPointers?b.pointers.length:c.prevInput.maxPointers:b.pointers.length,C(c,b);var k=a.element;o(b.srcEvent.target,k)&&(k=b.srcEvent.target),b.target=k}function B(a,b){var c=b.center,d=a.offsetDelta||{},e=a.prevDelta||{},f=a.prevInput||{};b.eventType!==Ea&&f.eventType!==Ga||(e=a.prevDelta={x:f.deltaX||0,y:f.deltaY||0},d=a.offsetDelta={x:c.x,y:c.y}),b.deltaX=e.x+(c.x-d.x),b.deltaY=e.y+(c.y-d.y)}function C(a,b){var c,e,f,g,h=a.lastInterval||b,i=b.timeStamp-h.timeStamp;if(b.eventType!=Ha&&(i>Da||h.velocity===d)){var j=b.deltaX-h.deltaX,k=b.deltaY-h.deltaY,l=F(i,j,k);e=l.x,f=l.y,c=qa(l.x)>qa(l.y)?l.x:l.y,g=G(j,k),a.lastInterval=b}else c=h.velocity,e=h.velocityX,f=h.velocityY,g=h.direction;b.velocity=c,b.velocityX=e,b.velocityY=f,b.direction=g}function D(a){for(var b=[],c=0;c<a.pointers.length;)b[c]={clientX:pa(a.pointers[c].clientX),clientY:pa(a.pointers[c].clientY)},c++;return{timeStamp:ra(),pointers:b,center:E(b),deltaX:a.deltaX,deltaY:a.deltaY}}function E(a){var b=a.length;if(1===b)return{x:pa(a[0].clientX),y:pa(a[0].clientY)};for(var c=0,d=0,e=0;b>e;)c+=a[e].clientX,d+=a[e].clientY,e++;return{x:pa(c/b),y:pa(d/b)}}function F(a,b,c){return{x:b/a||0,y:c/a||0}}function G(a,b){return a===b?Ia:qa(a)>=qa(b)?0>a?Ja:Ka:0>b?La:Ma}function H(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return Math.sqrt(d*d+e*e)}function I(a,b,c){c||(c=Qa);var d=b[c[0]]-a[c[0]],e=b[c[1]]-a[c[1]];return 180*Math.atan2(e,d)/Math.PI}function J(a,b){return I(b[1],b[0],Ra)+I(a[1],a[0],Ra)}function K(a,b){return H(b[0],b[1],Ra)/H(a[0],a[1],Ra)}function L(){this.evEl=Ta,this.evWin=Ua,this.pressed=!1,x.apply(this,arguments)}function M(){this.evEl=Xa,this.evWin=Ya,x.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function N(){this.evTarget=$a,this.evWin=_a,this.started=!1,x.apply(this,arguments)}function O(a,b){var c=s(a.touches),d=s(a.changedTouches);return b&(Ga|Ha)&&(c=t(c.concat(d),"identifier",!0)),[c,d]}function P(){this.evTarget=bb,this.targetIds={},x.apply(this,arguments)}function Q(a,b){var c=s(a.touches),d=this.targetIds;if(b&(Ea|Fa)&&1===c.length)return d[c[0].identifier]=!0,[c,c];var e,f,g=s(a.changedTouches),h=[],i=this.target;if(f=c.filter(function(a){return o(a.target,i)}),b===Ea)for(e=0;e<f.length;)d[f[e].identifier]=!0,e++;for(e=0;e<g.length;)d[g[e].identifier]&&h.push(g[e]),b&(Ga|Ha)&&delete d[g[e].identifier],e++;return h.length?[t(f.concat(h),"identifier",!0),h]:void 0}function R(){x.apply(this,arguments);var a=j(this.handler,this);this.touch=new P(this.manager,a),this.mouse=new L(this.manager,a),this.primaryTouch=null,this.lastTouches=[]}function S(a,b){a&Ea?(this.primaryTouch=b.changedPointers[0].identifier,T.call(this,b)):a&(Ga|Ha)&&T.call(this,b)}function T(a){var b=a.changedPointers[0];if(b.identifier===this.primaryTouch){var c={x:b.clientX,y:b.clientY};this.lastTouches.push(c);var d=this.lastTouches,e=function(){var a=d.indexOf(c);a>-1&&d.splice(a,1)};setTimeout(e,cb)}}function U(a){for(var b=a.srcEvent.clientX,c=a.srcEvent.clientY,d=0;d<this.lastTouches.length;d++){var e=this.lastTouches[d],f=Math.abs(b-e.x),g=Math.abs(c-e.y);if(db>=f&&db>=g)return!0}return!1}function V(a,b){this.manager=a,this.set(b)}function W(a){if(p(a,jb))return jb;var b=p(a,kb),c=p(a,lb);return b&&c?jb:b||c?b?kb:lb:p(a,ib)?ib:hb}function X(){if(!fb)return!1;var b={},c=a.CSS&&a.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(d){b[d]=c?a.CSS.supports("touch-action",d):!0}),b}function Y(a){this.options=la({},this.defaults,a||{}),this.id=v(),this.manager=null,this.options.enable=l(this.options.enable,!0),this.state=nb,this.simultaneous={},this.requireFail=[]}function Z(a){return a&sb?"cancel":a&qb?"end":a&pb?"move":a&ob?"start":""}function $(a){return a==Ma?"down":a==La?"up":a==Ja?"left":a==Ka?"right":""}function _(a,b){var c=b.manager;return c?c.get(a):a}function aa(){Y.apply(this,arguments)}function ba(){aa.apply(this,arguments),this.pX=null,this.pY=null}function ca(){aa.apply(this,arguments)}function da(){Y.apply(this,arguments),this._timer=null,this._input=null}function ea(){aa.apply(this,arguments)}function fa(){aa.apply(this,arguments)}function ga(){Y.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ha(a,b){return b=b||{},b.recognizers=l(b.recognizers,ha.defaults.preset),new ia(a,b)}function ia(a,b){this.options=la({},ha.defaults,b||{}),this.options.inputTarget=this.options.inputTarget||a,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=a,this.input=y(this),this.touchAction=new V(this,this.options.touchAction),ja(this,!0),g(this.options.recognizers,function(a){var b=this.add(new a[0](a[1]));a[2]&&b.recognizeWith(a[2]),a[3]&&b.requireFailure(a[3])},this)}function ja(a,b){var c=a.element;if(c.style){var d;g(a.options.cssProps,function(e,f){d=u(c.style,f),b?(a.oldCssProps[d]=c.style[d],c.style[d]=e):c.style[d]=a.oldCssProps[d]||""}),b||(a.oldCssProps={})}}function ka(a,c){var d=b.createEvent("Event");d.initEvent(a,!0,!0),d.gesture=c,c.target.dispatchEvent(d)}var la,ma=["","webkit","Moz","MS","ms","o"],na=b.createElement("div"),oa="function",pa=Math.round,qa=Math.abs,ra=Date.now;la="function"!=typeof Object.assign?function(a){if(a===d||null===a)throw new TypeError("Cannot convert undefined or null to object");for(var b=Object(a),c=1;c<arguments.length;c++){var e=arguments[c];if(e!==d&&null!==e)for(var f in e)e.hasOwnProperty(f)&&(b[f]=e[f])}return b}:Object.assign;var sa=h(function(a,b,c){for(var e=Object.keys(b),f=0;f<e.length;)(!c||c&&a[e[f]]===d)&&(a[e[f]]=b[e[f]]),f++;return a},"extend","Use `assign`."),ta=h(function(a,b){return sa(a,b,!0)},"merge","Use `assign`."),ua=1,va=/mobile|tablet|ip(ad|hone|od)|android/i,wa="ontouchstart"in a,xa=u(a,"PointerEvent")!==d,ya=wa&&va.test(navigator.userAgent),za="touch",Aa="pen",Ba="mouse",Ca="kinect",Da=25,Ea=1,Fa=2,Ga=4,Ha=8,Ia=1,Ja=2,Ka=4,La=8,Ma=16,Na=Ja|Ka,Oa=La|Ma,Pa=Na|Oa,Qa=["x","y"],Ra=["clientX","clientY"];x.prototype={handler:function(){},init:function(){this.evEl&&m(this.element,this.evEl,this.domHandler),this.evTarget&&m(this.target,this.evTarget,this.domHandler),this.evWin&&m(w(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&n(this.element,this.evEl,this.domHandler),this.evTarget&&n(this.target,this.evTarget,this.domHandler),this.evWin&&n(w(this.element),this.evWin,this.domHandler)}};var Sa={mousedown:Ea,mousemove:Fa,mouseup:Ga},Ta="mousedown",Ua="mousemove mouseup";i(L,x,{handler:function(a){var b=Sa[a.type];b&Ea&&0===a.button&&(this.pressed=!0),b&Fa&&1!==a.which&&(b=Ga),this.pressed&&(b&Ga&&(this.pressed=!1),this.callback(this.manager,b,{pointers:[a],changedPointers:[a],pointerType:Ba,srcEvent:a}))}});var Va={pointerdown:Ea,pointermove:Fa,pointerup:Ga,pointercancel:Ha,pointerout:Ha},Wa={2:za,3:Aa,4:Ba,5:Ca},Xa="pointerdown",Ya="pointermove pointerup pointercancel";a.MSPointerEvent&&!a.PointerEvent&&(Xa="MSPointerDown",Ya="MSPointerMove MSPointerUp MSPointerCancel"),i(M,x,{handler:function(a){var b=this.store,c=!1,d=a.type.toLowerCase().replace("ms",""),e=Va[d],f=Wa[a.pointerType]||a.pointerType,g=f==za,h=r(b,a.pointerId,"pointerId");e&Ea&&(0===a.button||g)?0>h&&(b.push(a),h=b.length-1):e&(Ga|Ha)&&(c=!0),0>h||(b[h]=a,this.callback(this.manager,e,{pointers:b,changedPointers:[a],pointerType:f,srcEvent:a}),c&&b.splice(h,1))}});var Za={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},$a="touchstart",_a="touchstart touchmove touchend touchcancel";i(N,x,{handler:function(a){var b=Za[a.type];if(b===Ea&&(this.started=!0),this.started){var c=O.call(this,a,b);b&(Ga|Ha)&&c[0].length-c[1].length===0&&(this.started=!1),this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}}});var ab={touchstart:Ea,touchmove:Fa,touchend:Ga,touchcancel:Ha},bb="touchstart touchmove touchend touchcancel";i(P,x,{handler:function(a){var b=ab[a.type],c=Q.call(this,a,b);c&&this.callback(this.manager,b,{pointers:c[0],changedPointers:c[1],pointerType:za,srcEvent:a})}});var cb=2500,db=25;i(R,x,{handler:function(a,b,c){var d=c.pointerType==za,e=c.pointerType==Ba;if(!(e&&c.sourceCapabilities&&c.sourceCapabilities.firesTouchEvents)){if(d)S.call(this,b,c);else if(e&&U.call(this,c))return;this.callback(a,b,c)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var eb=u(na.style,"touchAction"),fb=eb!==d,gb="compute",hb="auto",ib="manipulation",jb="none",kb="pan-x",lb="pan-y",mb=X();V.prototype={set:function(a){a==gb&&(a=this.compute()),fb&&this.manager.element.style&&mb[a]&&(this.manager.element.style[eb]=a),this.actions=a.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var a=[];return g(this.manager.recognizers,function(b){k(b.options.enable,[b])&&(a=a.concat(b.getTouchAction()))}),W(a.join(" "))},preventDefaults:function(a){var b=a.srcEvent,c=a.offsetDirection;if(this.manager.session.prevented)return void b.preventDefault();var d=this.actions,e=p(d,jb)&&!mb[jb],f=p(d,lb)&&!mb[lb],g=p(d,kb)&&!mb[kb];if(e){var h=1===a.pointers.length,i=a.distance<2,j=a.deltaTime<250;if(h&&i&&j)return}return g&&f?void 0:e||f&&c&Na||g&&c&Oa?this.preventSrc(b):void 0},preventSrc:function(a){this.manager.session.prevented=!0,a.preventDefault()}};var nb=1,ob=2,pb=4,qb=8,rb=qb,sb=16,tb=32;Y.prototype={defaults:{},set:function(a){return la(this.options,a),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(a){if(f(a,"recognizeWith",this))return this;var b=this.simultaneous;return a=_(a,this),b[a.id]||(b[a.id]=a,a.recognizeWith(this)),this},dropRecognizeWith:function(a){return f(a,"dropRecognizeWith",this)?this:(a=_(a,this),delete this.simultaneous[a.id],this)},requireFailure:function(a){if(f(a,"requireFailure",this))return this;var b=this.requireFail;return a=_(a,this),-1===r(b,a)&&(b.push(a),a.requireFailure(this)),this},dropRequireFailure:function(a){if(f(a,"dropRequireFailure",this))return this;a=_(a,this);var b=r(this.requireFail,a);return b>-1&&this.requireFail.splice(b,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(a){return!!this.simultaneous[a.id]},emit:function(a){function b(b){c.manager.emit(b,a)}var c=this,d=this.state;qb>d&&b(c.options.event+Z(d)),b(c.options.event),a.additionalEvent&&b(a.additionalEvent),d>=qb&&b(c.options.event+Z(d))},tryEmit:function(a){return this.canEmit()?this.emit(a):void(this.state=tb)},canEmit:function(){for(var a=0;a<this.requireFail.length;){if(!(this.requireFail[a].state&(tb|nb)))return!1;a++}return!0},recognize:function(a){var b=la({},a);return k(this.options.enable,[this,b])?(this.state&(rb|sb|tb)&&(this.state=nb),this.state=this.process(b),void(this.state&(ob|pb|qb|sb)&&this.tryEmit(b))):(this.reset(),void(this.state=tb))},process:function(a){},getTouchAction:function(){},reset:function(){}},i(aa,Y,{defaults:{pointers:1},attrTest:function(a){var b=this.options.pointers;return 0===b||a.pointers.length===b},process:function(a){var b=this.state,c=a.eventType,d=b&(ob|pb),e=this.attrTest(a);return d&&(c&Ha||!e)?b|sb:d||e?c&Ga?b|qb:b&ob?b|pb:ob:tb}}),i(ba,aa,{defaults:{event:"pan",threshold:10,pointers:1,direction:Pa},getTouchAction:function(){var a=this.options.direction,b=[];return a&Na&&b.push(lb),a&Oa&&b.push(kb),b},directionTest:function(a){var b=this.options,c=!0,d=a.distance,e=a.direction,f=a.deltaX,g=a.deltaY;return e&b.direction||(b.direction&Na?(e=0===f?Ia:0>f?Ja:Ka,c=f!=this.pX,d=Math.abs(a.deltaX)):(e=0===g?Ia:0>g?La:Ma,c=g!=this.pY,d=Math.abs(a.deltaY))),a.direction=e,c&&d>b.threshold&&e&b.direction},attrTest:function(a){return aa.prototype.attrTest.call(this,a)&&(this.state&ob||!(this.state&ob)&&this.directionTest(a))},emit:function(a){this.pX=a.deltaX,this.pY=a.deltaY;var b=$(a.direction);b&&(a.additionalEvent=this.options.event+b),this._super.emit.call(this,a)}}),i(ca,aa,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.scale-1)>this.options.threshold||this.state&ob)},emit:function(a){if(1!==a.scale){var b=a.scale<1?"in":"out";a.additionalEvent=this.options.event+b}this._super.emit.call(this,a)}}),i(da,Y,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[hb]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime>b.time;if(this._input=a,!d||!c||a.eventType&(Ga|Ha)&&!f)this.reset();else if(a.eventType&Ea)this.reset(),this._timer=e(function(){this.state=rb,this.tryEmit()},b.time,this);else if(a.eventType&Ga)return rb;return tb},reset:function(){clearTimeout(this._timer)},emit:function(a){this.state===rb&&(a&&a.eventType&Ga?this.manager.emit(this.options.event+"up",a):(this._input.timeStamp=ra(),this.manager.emit(this.options.event,this._input)))}}),i(ea,aa,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[jb]},attrTest:function(a){return this._super.attrTest.call(this,a)&&(Math.abs(a.rotation)>this.options.threshold||this.state&ob)}}),i(fa,aa,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:Na|Oa,pointers:1},getTouchAction:function(){return ba.prototype.getTouchAction.call(this)},attrTest:function(a){var b,c=this.options.direction;return c&(Na|Oa)?b=a.overallVelocity:c&Na?b=a.overallVelocityX:c&Oa&&(b=a.overallVelocityY),this._super.attrTest.call(this,a)&&c&a.offsetDirection&&a.distance>this.options.threshold&&a.maxPointers==this.options.pointers&&qa(b)>this.options.velocity&&a.eventType&Ga},emit:function(a){var b=$(a.offsetDirection);b&&this.manager.emit(this.options.event+b,a),this.manager.emit(this.options.event,a)}}),i(ga,Y,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[ib]},process:function(a){var b=this.options,c=a.pointers.length===b.pointers,d=a.distance<b.threshold,f=a.deltaTime<b.time;if(this.reset(),a.eventType&Ea&&0===this.count)return this.failTimeout();if(d&&f&&c){if(a.eventType!=Ga)return this.failTimeout();var g=this.pTime?a.timeStamp-this.pTime<b.interval:!0,h=!this.pCenter||H(this.pCenter,a.center)<b.posThreshold;this.pTime=a.timeStamp,this.pCenter=a.center,h&&g?this.count+=1:this.count=1,this._input=a;var i=this.count%b.taps;if(0===i)return this.hasRequireFailures()?(this._timer=e(function(){this.state=rb,this.tryEmit()},b.interval,this),ob):rb}return tb},failTimeout:function(){return this._timer=e(function(){this.state=tb},this.options.interval,this),tb},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==rb&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ha.VERSION="2.0.8",ha.defaults={domEvents:!1,touchAction:gb,enable:!0,inputTarget:null,inputClass:null,preset:[[ea,{enable:!1}],[ca,{enable:!1},["rotate"]],[fa,{direction:Na}],[ba,{direction:Na},["swipe"]],[ga],[ga,{event:"doubletap",taps:2},["tap"]],[da]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};var ub=1,vb=2;ia.prototype={set:function(a){return la(this.options,a),a.touchAction&&this.touchAction.update(),a.inputTarget&&(this.input.destroy(),this.input.target=a.inputTarget,this.input.init()),this},stop:function(a){this.session.stopped=a?vb:ub},recognize:function(a){var b=this.session;if(!b.stopped){this.touchAction.preventDefaults(a);var c,d=this.recognizers,e=b.curRecognizer;(!e||e&&e.state&rb)&&(e=b.curRecognizer=null);for(var f=0;f<d.length;)c=d[f],b.stopped===vb||e&&c!=e&&!c.canRecognizeWith(e)?c.reset():c.recognize(a),!e&&c.state&(ob|pb|qb)&&(e=b.curRecognizer=c),f++}},get:function(a){if(a instanceof Y)return a;for(var b=this.recognizers,c=0;c<b.length;c++)if(b[c].options.event==a)return b[c];return null},add:function(a){if(f(a,"add",this))return this;var b=this.get(a.options.event);return b&&this.remove(b),this.recognizers.push(a),a.manager=this,this.touchAction.update(),a},remove:function(a){if(f(a,"remove",this))return this;if(a=this.get(a)){var b=this.recognizers,c=r(b,a);-1!==c&&(b.splice(c,1),this.touchAction.update())}return this},on:function(a,b){if(a!==d&&b!==d){var c=this.handlers;return g(q(a),function(a){c[a]=c[a]||[],c[a].push(b)}),this}},off:function(a,b){if(a!==d){var c=this.handlers;return g(q(a),function(a){b?c[a]&&c[a].splice(r(c[a],b),1):delete c[a]}),this}},emit:function(a,b){this.options.domEvents&&ka(a,b);var c=this.handlers[a]&&this.handlers[a].slice();if(c&&c.length){b.type=a,b.preventDefault=function(){b.srcEvent.preventDefault()};for(var d=0;d<c.length;)c[d](b),d++}},destroy:function(){this.element&&ja(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},la(ha,{INPUT_START:Ea,INPUT_MOVE:Fa,INPUT_END:Ga,INPUT_CANCEL:Ha,STATE_POSSIBLE:nb,STATE_BEGAN:ob,STATE_CHANGED:pb,STATE_ENDED:qb,STATE_RECOGNIZED:rb,STATE_CANCELLED:sb,STATE_FAILED:tb,DIRECTION_NONE:Ia,DIRECTION_LEFT:Ja,DIRECTION_RIGHT:Ka,DIRECTION_UP:La,DIRECTION_DOWN:Ma,DIRECTION_HORIZONTAL:Na,DIRECTION_VERTICAL:Oa,DIRECTION_ALL:Pa,Manager:ia,Input:x,TouchAction:V,TouchInput:P,MouseInput:L,PointerEventInput:M,TouchMouseInput:R,SingleTouchInput:N,Recognizer:Y,AttrRecognizer:aa,Tap:ga,Pan:ba,Swipe:fa,Pinch:ca,Rotate:ea,Press:da,on:m,off:n,each:g,merge:ta,extend:sa,assign:la,inherit:i,bindFn:j,prefixed:u});var wb="undefined"!=typeof a?a:"undefined"!=typeof self?self:{};wb.Hammer=ha,"function"==typeof define&&define.amd?define(function(){return ha}):"undefined"!=typeof module&&module.exports?module.exports=ha:a[c]=ha}(window,document,"Hammer");
//# sourceMappingURL=hammer.min.js.map;
(function (factory) {
    if (typeof define === 'function' && define.amd) {
        define(['jquery', 'hammerjs'], factory);
    } else if (typeof exports === 'object') {
        factory(require('jquery'), require('hammerjs'));
    } else {
        factory(jQuery, Hammer);
    }
}(function ($, Hammer) {
    function hammerify(el, options) {
        var $el = $(el);
        if (!$el.data("hammer")) {
            $el.data("hammer", new Hammer($el[0], options));
        }
    }

    $.fn.hammer = function (options) {
        return this.each(function () {
            hammerify(this, options);
        });
    };

    // extend the emit method to also trigger jQuery events
    Hammer.Manager.prototype.emit = (function (originalEmit) {
        return function (type, data) {
            originalEmit.call(this, type, data);
            $(this.element).trigger({
                type: type,
                gesture: data
            });
        };
    })(Hammer.Manager.prototype.emit);
}));;
!function(t){"use strict";var e=function(a,s){this.$element=t(a),this.options=t.extend({},e.DEFAULTS,s),this.$trigger=t('[data-toggle="collapse"][href="#'+a.id+'"],[data-toggle="collapse"][data-target="#'+a.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function a(e){var a,s=e.attr("data-target")||(a=e.attr("href"))&&a.replace(/.*(?=#[^\s]+$)/,"");return t(s)}function s(a){return this.each(function(){var s=t(this),i=s.data("bs.collapse"),n=t.extend({},e.DEFAULTS,s.data(),"object"==typeof a&&a);!i&&n.toggle&&/show|hide/.test(a)&&(n.toggle=!1),i||s.data("bs.collapse",i=new e(this,n)),"string"==typeof a&&i[a]()})}e.VERSION="3.3.7",e.TRANSITION_DURATION=350,e.DEFAULTS={toggle:!0},e.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},e.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var a,i=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(i&&i.length&&(a=i.data("bs.collapse"))&&a.transitioning)){var n=t.Event("show.bs.collapse");if(this.$element.trigger(n),!n.isDefaultPrevented()){i&&i.length&&(s.call(i,"hide"),a||i.data("bs.collapse",null));var l=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[l](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var o=function(){this.$element.removeClass("collapsing").addClass("collapse in")[l](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!t.support.transition)return o.call(this);var r=t.camelCase(["scroll",l].join("-"));this.$element.one("bsTransitionEnd",t.proxy(o,this)).emulateTransitionEnd(e.TRANSITION_DURATION)[l](this.$element[0][r])}}}},e.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var a=t.Event("hide.bs.collapse");if(this.$element.trigger(a),!a.isDefaultPrevented()){var s=this.dimension();this.$element[s](this.$element[s]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!t.support.transition)return i.call(this);this.$element[s](0).one("bsTransitionEnd",t.proxy(i,this)).emulateTransitionEnd(e.TRANSITION_DURATION)}}},e.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},e.prototype.getParent=function(){return t(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(t.proxy(function(e,s){var i=t(s);this.addAriaAndCollapsedClass(a(i),i)},this)).end()},e.prototype.addAriaAndCollapsedClass=function(t,e){var a=t.hasClass("in");t.attr("aria-expanded",a),e.toggleClass("collapsed",!a).attr("aria-expanded",a)};var i=t.fn.collapse;t.fn.collapse=s,t.fn.collapse.Constructor=e,t.fn.collapse.noConflict=function(){return t.fn.collapse=i,this},t(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(e){var i=t(this);i.attr("data-target")||e.preventDefault();var n=a(i),l=n.data("bs.collapse")?"toggle":i.data();s.call(n,l)})}(jQuery);;
// NPM package min file as the folder contains a at symbol which breaks dot net as it thinks it is an HTML partial
function r(n,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(n,r.key,r)}}function Jt(n,t,i){t&&r(n.prototype,t),i&&r(n,i),Object.defineProperty(n,"prototype",{writable:!1})}
/*!
 * Splide.js
 * Version  : 4.1.4
 * License  : MIT
 * Copyright: 2022 Naotoshi Fujita
 */
var n,t;n=this,t=function(){"use strict";var v="(prefers-reduced-motion: reduce)",G=4,rn=5,r={CREATED:1,MOUNTED:2,IDLE:3,MOVING:G,SCROLLING:rn,DRAGGING:6,DESTROYED:7};function D(n){n.length=0}function o(n,t,i){return Array.prototype.slice.call(n,t,i)}function R(n){return n.bind.apply(n,[null].concat(o(arguments,1)))}function on(){}var p=setTimeout;function h(n){return requestAnimationFrame(n)}function u(n,t){return typeof t===n}function un(n){return!c(n)&&u("object",n)}var e=Array.isArray,x=R(u,"function"),C=R(u,"string"),en=R(u,"undefined");function c(n){return null===n}function m(n){try{return n instanceof(n.ownerDocument.defaultView||window).HTMLElement}catch(n){return!1}}function y(n){return e(n)?n:[n]}function g(n,t){y(n).forEach(t)}function b(n,t){return-1<n.indexOf(t)}function k(n,t){return n.push.apply(n,y(t)),n}function A(t,n,i){t&&g(n,function(n){n&&t.classList[i?"add":"remove"](n)})}function M(n,t){A(n,C(t)?t.split(" "):t,!0)}function L(n,t){g(t,n.appendChild.bind(n))}function O(n,i){g(n,function(n){var t=(i||n).parentNode;t&&t.insertBefore(n,i)})}function cn(n,t){return m(n)&&(n.msMatchesSelector||n.matches).call(n,t)}function S(n,t){n=n?o(n.children):[];return t?n.filter(function(n){return cn(n,t)}):n}function fn(n,t){return t?S(n,t)[0]:n.firstElementChild}var E=Object.keys;function w(t,i,n){t&&(n?E(t).reverse():E(t)).forEach(function(n){"__proto__"!==n&&i(t[n],n)})}function an(r){return o(arguments,1).forEach(function(i){w(i,function(n,t){r[t]=i[t]})}),r}function d(i){return o(arguments,1).forEach(function(n){w(n,function(n,t){e(n)?i[t]=n.slice():un(n)?i[t]=d({},un(i[t])?i[t]:{},n):i[t]=n})}),i}function sn(t,n){g(n||E(t),function(n){delete t[n]})}function P(n,i){g(n,function(t){g(i,function(n){t&&t.removeAttribute(n)})})}function I(i,t,r){un(t)?w(t,function(n,t){I(i,t,n)}):g(i,function(n){c(r)||""===r?P(n,t):n.setAttribute(t,String(r))})}function j(n,t,i){n=document.createElement(n);return t&&(C(t)?M:I)(n,t),i&&L(i,n),n}function _(n,t,i){if(en(i))return getComputedStyle(n)[t];c(i)||(n.style[t]=""+i)}function ln(n,t){_(n,"display",t)}function dn(n){n.setActive&&n.setActive()||n.focus({preventScroll:!0})}function z(n,t){return n.getAttribute(t)}function vn(n,t){return n&&n.classList.contains(t)}function N(n){return n.getBoundingClientRect()}function T(n){g(n,function(n){n&&n.parentNode&&n.parentNode.removeChild(n)})}function hn(n){return fn((new DOMParser).parseFromString(n,"text/html").body)}function F(n,t){n.preventDefault(),t&&(n.stopPropagation(),n.stopImmediatePropagation())}function pn(n,t){return n&&n.querySelector(t)}function gn(n,t){return t?o(n.querySelectorAll(t)):[]}function X(n,t){A(n,t,!1)}function mn(n){return n.timeStamp}function W(n){return C(n)?n:n?n+"px":""}var yn="splide",f="data-"+yn;function bn(n,t){if(!n)throw new Error("["+yn+"] "+(t||""))}var Y=Math.min,wn=Math.max,xn=Math.floor,kn=Math.ceil,U=Math.abs;function Sn(n,t,i){return U(n-t)<i}function En(n,t,i,r){var o=Y(t,i),t=wn(t,i);return r?o<n&&n<t:o<=n&&n<=t}function q(n,t,i){var r=Y(t,i),t=wn(t,i);return Y(wn(r,n),t)}function Ln(n){return(0<n)-(n<0)}function On(t,n){return g(n,function(n){t=t.replace("%s",""+n)}),t}function An(n){return n<10?"0"+n:""+n}var _n={};function zn(){var c=[];function i(n,i,r){g(n,function(t){t&&g(i,function(n){n.split(" ").forEach(function(n){n=n.split(".");r(t,n[0],n[1])})})})}return{bind:function(n,t,u,e){i(n,t,function(n,t,i){var r="addEventListener"in n,o=r?n.removeEventListener.bind(n,t,u,e):n.removeListener.bind(n,u);r?n.addEventListener(t,u,e):n.addListener(u),c.push([n,t,i,u,o])})},unbind:function(n,t,o){i(n,t,function(t,i,r){c=c.filter(function(n){return!!(n[0]!==t||n[1]!==i||n[2]!==r||o&&n[3]!==o)||(n[4](),!1)})})},dispatch:function(n,t,i){var r;return"function"==typeof CustomEvent?r=new CustomEvent(t,{bubbles:!0,detail:i}):(r=document.createEvent("CustomEvent")).initCustomEvent(t,!0,!1,i),n.dispatchEvent(r),r},destroy:function(){c.forEach(function(n){n[4]()}),D(c)}}}var B="mounted",H="move",Dn="moved",Mn="click",Pn="active",In="inactive",Rn="visible",Cn="hidden",J="refresh",K="updated",jn="resize",Nn="resized",Tn="scroll",V="scrolled",a="destroy",Gn="navigation:mounted",Fn="autoplay:play",Xn="autoplay:pause",Wn="lazyload:loaded",Yn="sk",Un="sh";function Q(n){var i=n?n.event.bus:document.createDocumentFragment(),r=zn();return n&&n.event.on(a,r.destroy),an(r,{bus:i,on:function(n,t){r.bind(i,y(n).join(" "),function(n){t.apply(t,e(n.detail)?n.detail:[])})},off:R(r.unbind,i),emit:function(n){r.dispatch(i,n,o(arguments,1))}})}function qn(t,n,i,r){var o,u,e=Date.now,c=0,f=!0,a=0;function s(){if(!f){if(c=t?Y((e()-o)/t,1):1,i&&i(c),1<=c&&(n(),o=e(),r&&++a>=r))return l();u=h(s)}}function l(){f=!0}function d(){u&&cancelAnimationFrame(u),f=!(u=c=0)}return{start:function(n){n||d(),o=e()-(n?c*t:0),f=!1,u=h(s)},rewind:function(){o=e(),c=0,i&&i(c)},pause:l,cancel:d,set:function(n){t=n},isPaused:function(){return f}}}function s(n){var t=n;return{set:function(n){t=n},is:function(n){return b(y(n),t)}}}var n="Arrow",Bn=n+"Left",Hn=n+"Right",t=n+"Up",n=n+"Down",Jn="ttb",l={width:["height"],left:["top","right"],right:["bottom","left"],x:["y"],X:["Y"],Y:["X"],ArrowLeft:[t,Hn],ArrowRight:[n,Bn]};var Z="role",$="tabindex",i="aria-",Kn=i+"controls",Vn=i+"current",Qn=i+"selected",nn=i+"label",Zn=i+"labelledby",$n=i+"hidden",nt=i+"orientation",tt=i+"roledescription",it=i+"live",rt=i+"busy",ot=i+"atomic",ut=[Z,$,"disabled",Kn,Vn,nn,Zn,$n,nt,tt],i=yn+"__",et=yn,ct=i+"track",ft=i+"list",at=i+"slide",st=at+"--clone",lt=at+"__container",dt=i+"arrows",vt=i+"arrow",ht=vt+"--prev",pt=vt+"--next",gt=i+"pagination",mt=gt+"__page",yt=i+"progress"+"__bar",bt=i+"toggle",wt=i+"sr",tn="is-active",xt="is-prev",kt="is-next",St="is-visible",Et="is-loading",Lt="is-focus-in",Ot="is-overflow",At=[tn,St,xt,kt,Et,Lt,Ot];var _t="touchstart mousedown",zt="touchmove mousemove",Dt="touchend touchcancel mouseup click";var Mt="slide",Pt="loop",It="fade";function Rt(o,r,t,u){var e,n=Q(o),i=n.on,c=n.emit,f=n.bind,a=o.Components,s=o.root,l=o.options,d=l.isNavigation,v=l.updateOnMove,h=l.i18n,p=l.pagination,g=l.slideFocus,m=a.Direction.resolve,y=z(u,"style"),b=z(u,nn),w=-1<t,x=fn(u,"."+lt);function k(){var n=o.splides.map(function(n){n=n.splide.Components.Slides.getAt(r);return n?n.slide.id:""}).join(" ");I(u,nn,On(h.slideX,(w?t:r)+1)),I(u,Kn,n),I(u,Z,g?"button":""),g&&P(u,tt)}function S(){e||E()}function E(){var n,t,i;e||(n=o.index,(i=L())!==vn(u,tn)&&(A(u,tn,i),I(u,Vn,d&&i||""),c(i?Pn:In,O)),i=function(){if(o.is(It))return L();var n=N(a.Elements.track),t=N(u),i=m("left",!0),r=m("right",!0);return xn(n[i])<=kn(t[i])&&xn(t[r])<=kn(n[r])}(),t=!i&&(!L()||w),o.state.is([G,rn])||I(u,$n,t||""),I(gn(u,l.focusableNodes||""),$,t?-1:""),g&&I(u,$,t?-1:0),i!==vn(u,St)&&(A(u,St,i),c(i?Rn:Cn,O)),i||document.activeElement!==u||(t=a.Slides.getAt(o.index))&&dn(t.slide),A(u,xt,r===n-1),A(u,kt,r===n+1))}function L(){var n=o.index;return n===r||l.cloneStatus&&n===t}var O={index:r,slideIndex:t,slide:u,container:x,isClone:w,mount:function(){w||(u.id=s.id+"-slide"+An(r+1),I(u,Z,p?"tabpanel":"group"),I(u,tt,h.slide),I(u,nn,b||On(h.slideLabel,[r+1,o.length]))),f(u,"click",R(c,Mn,O)),f(u,"keydown",R(c,Yn,O)),i([Dn,Un,V],E),i(Gn,k),v&&i(H,S)},destroy:function(){e=!0,n.destroy(),X(u,At),P(u,ut),I(u,"style",y),I(u,nn,b||"")},update:E,style:function(n,t,i){_(i&&x||u,n,t)},isWithin:function(n,t){return n=U(n-r),(n=w||!l.rewind&&!o.is(Pt)?n:Y(n,o.length-n))<=t}};return O}var Ct=f+"-interval";var jt={passive:!1,capture:!0};var Nt={Spacebar:" ",Right:Hn,Left:Bn,Up:t,Down:n};function Tt(n){return n=C(n)?n:n.key,Nt[n]||n}var Gt="keydown";var Ft=f+"-lazy",Xt=Ft+"-srcset",Wt="["+Ft+"], ["+Xt+"]";var Yt=[" ","Enter"];var Ut=Object.freeze({__proto__:null,Media:function(r,n,o){var u=r.state,t=o.breakpoints||{},e=o.reducedMotion||{},i=zn(),c=[];function f(n){n&&i.destroy()}function a(n,t){t=matchMedia(t);i.bind(t,"change",s),c.push([n,t])}function s(){var n=u.is(7),t=o.direction,i=c.reduce(function(n,t){return d(n,t[1].matches?t[0]:{})},{});sn(o),l(i),o.destroy?r.destroy("completely"===o.destroy):n?(f(!0),r.mount()):t!==o.direction&&r.refresh()}function l(n,t,i){d(o,n),t&&d(Object.getPrototypeOf(o),n),!i&&u.is(1)||r.emit(K,o)}return{setup:function(){var i="min"===o.mediaQuery;E(t).sort(function(n,t){return i?+n-+t:+t-+n}).forEach(function(n){a(t[n],"("+(i?"min":"max")+"-width:"+n+"px)")}),a(e,v),s()},destroy:f,reduce:function(n){matchMedia(v).matches&&(n?d(o,e):sn(o,E(e)))},set:l}},Direction:function(n,t,o){return{resolve:function(n,t,i){var r="rtl"!==(i=i||o.direction)||t?i===Jn?0:-1:1;return l[n]&&l[n][r]||n.replace(/width|left|right/i,function(n,t){n=l[n.toLowerCase()][r]||n;return 0<t?n.charAt(0).toUpperCase()+n.slice(1):n})},orient:function(n){return n*("rtl"===o.direction?1:-1)}}},Elements:function(n,t,i){var r,o,u,e=Q(n),c=e.on,f=e.bind,a=n.root,s=i.i18n,l={},d=[],v=[],h=[];function p(){r=y("."+ct),o=fn(r,"."+ft),bn(r&&o,"A track/list element is missing."),k(d,S(o,"."+at+":not(."+st+")")),w({arrows:dt,pagination:gt,prev:ht,next:pt,bar:yt,toggle:bt},function(n,t){l[t]=y("."+n)}),an(l,{root:a,track:r,list:o,slides:d});var n=a.id||function(n){return""+n+An(_n[n]=(_n[n]||0)+1)}(yn),t=i.role;a.id=n,r.id=r.id||n+"-track",o.id=o.id||n+"-list",!z(a,Z)&&"SECTION"!==a.tagName&&t&&I(a,Z,t),I(a,tt,s.carousel),I(o,Z,"presentation"),m()}function g(n){var t=ut.concat("style");D(d),X(a,v),X(r,h),P([r,o],t),P(a,n?t:["style",tt])}function m(){X(a,v),X(r,h),v=b(et),h=b(ct),M(a,v),M(r,h),I(a,nn,i.label),I(a,Zn,i.labelledby)}function y(n){n=pn(a,n);return n&&function(n,t){if(x(n.closest))return n.closest(t);for(var i=n;i&&1===i.nodeType&&!cn(i,t);)i=i.parentElement;return i}(n,"."+et)===a?n:void 0}function b(n){return[n+"--"+i.type,n+"--"+i.direction,i.drag&&n+"--draggable",i.isNavigation&&n+"--nav",n===et&&tn]}return an(l,{setup:p,mount:function(){c(J,g),c(J,p),c(K,m),f(document,_t+" keydown",function(n){u="keydown"===n.type},{capture:!0}),f(a,"focusin",function(){A(a,Lt,!!u)})},destroy:g})},Slides:function(r,o,u){var n=Q(r),t=n.on,e=n.emit,c=n.bind,f=(n=o.Elements).slides,a=n.list,s=[];function i(){f.forEach(function(n,t){d(n,t,-1)})}function l(){h(function(n){n.destroy()}),D(s)}function d(n,t,i){t=Rt(r,t,i,n);t.mount(),s.push(t),s.sort(function(n,t){return n.index-t.index})}function v(n){return n?p(function(n){return!n.isClone}):s}function h(n,t){v(t).forEach(n)}function p(t){return s.filter(x(t)?t:function(n){return C(t)?cn(n.slide,t):b(y(t),n.index)})}return{mount:function(){i(),t(J,l),t(J,i)},destroy:l,update:function(){h(function(n){n.update()})},register:d,get:v,getIn:function(n){var t=o.Controller,i=t.toIndex(n),r=t.hasFocus()?1:u.perPage;return p(function(n){return En(n.index,i,i+r-1)})},getAt:function(n){return p(n)[0]},add:function(n,o){g(n,function(n){var t,i,r;m(n=C(n)?hn(n):n)&&((t=f[o])?O(n,t):L(a,n),M(n,u.classes.slide),t=n,i=R(e,jn),t=gn(t,"img"),(r=t.length)?t.forEach(function(n){c(n,"load error",function(){--r||i()})}):i())}),e(J)},remove:function(n){T(p(n).map(function(n){return n.slide})),e(J)},forEach:h,filter:p,style:function(t,i,r){h(function(n){n.style(t,i,r)})},getLength:function(n){return(n?f:s).length},isEnough:function(){return s.length>u.perPage}}},Layout:function(t,n,i){var r,o,u,e=(a=Q(t)).on,c=a.bind,f=a.emit,a=n.Slides,s=n.Direction.resolve,l=(n=n.Elements).root,d=n.track,v=n.list,h=a.getAt,p=a.style;function g(){r=i.direction===Jn,_(l,"maxWidth",W(i.width)),_(d,s("paddingLeft"),y(!1)),_(d,s("paddingRight"),y(!0)),m(!0)}function m(n){var t=N(l);!n&&o.width===t.width&&o.height===t.height||(_(d,"height",function(){var n="";r&&(bn(n=b(),"height or heightRatio is missing."),n="calc("+n+" - "+y(!1)+" - "+y(!0)+")");return n}()),p(s("marginRight"),W(i.gap)),p("width",i.autoWidth?null:W(i.fixedWidth)||(r?"":w())),p("height",W(i.fixedHeight)||(r?i.autoHeight?null:w():b()),!0),o=t,f(Nn),u!==(u=O())&&(A(l,Ot,u),f("overflow",u)))}function y(n){var t=i.padding,n=s(n?"right":"left");return t&&W(t[n]||(un(t)?0:t))||"0px"}function b(){return W(i.height||N(v).width*i.heightRatio)}function w(){var n=W(i.gap);return"calc((100%"+(n&&" + "+n)+")/"+(i.perPage||1)+(n&&" - "+n)+")"}function x(){return N(v)[s("width")]}function k(n,t){n=h(n||0);return n?N(n.slide)[s("width")]+(t?0:L()):0}function S(n,t){var i,n=h(n);return n?(n=N(n.slide)[s("right")],i=N(v)[s("left")],U(n-i)+(t?0:L())):0}function E(n){return S(t.length-1)-S(0)+k(0,n)}function L(){var n=h(0);return n&&parseFloat(_(n.slide,s("marginRight")))||0}function O(){return t.is(It)||E(!0)>x()}return{mount:function(){var n,t,i;g(),c(window,"resize load",(n=R(f,jn),i=qn(t||0,n,null,1),function(){i.isPaused()&&i.start()})),e([K,J],g),e(jn,m)},resize:m,listSize:x,slideSize:k,sliderSize:E,totalSize:S,getPadding:function(n){return parseFloat(_(d,s("padding"+(n?"Right":"Left"))))||0},isOverflow:O}},Clones:function(c,i,f){var t,r=Q(c),n=r.on,a=i.Elements,s=i.Slides,o=i.Direction.resolve,l=[];function u(){if(n(J,d),n([K,jn],v),t=h()){var o=t,u=s.get().slice(),e=u.length;if(e){for(;u.length<o;)k(u,u);k(u.slice(-o),u.slice(0,o)).forEach(function(n,t){var i=t<o,r=function(n,t){n=n.cloneNode(!0);return M(n,f.classes.clone),n.id=c.root.id+"-clone"+An(t+1),n}(n.slide,t);i?O(r,u[0].slide):L(a.list,r),k(l,r),s.register(r,t-o+(i?0:e),n.index)})}i.Layout.resize(!0)}}function d(){e(),u()}function e(){T(l),D(l),r.destroy()}function v(){var n=h();t!==n&&(t<n||!n)&&r.emit(J)}function h(){var n,t=f.clones;return c.is(Pt)?en(t)&&(t=(n=f[o("fixedWidth")]&&i.Layout.slideSize(0))&&kn(N(a.track)[o("width")]/n)||f[o("autoWidth")]&&c.length||2*f.perPage):t=0,t}return{mount:u,destroy:e}},Move:function(r,c,o){var e,n=Q(r),t=n.on,f=n.emit,a=r.state.set,u=(n=c.Layout).slideSize,i=n.getPadding,s=n.totalSize,l=n.listSize,d=n.sliderSize,v=(n=c.Direction).resolve,h=n.orient,p=(n=c.Elements).list,g=n.track;function m(){c.Controller.isBusy()||(c.Scroll.cancel(),y(r.index),c.Slides.update())}function y(n){b(S(n,!0))}function b(n,t){r.is(It)||(t=t?n:function(n){{var t,i;r.is(Pt)&&(t=k(n),i=t>c.Controller.getEnd(),(t<0||i)&&(n=w(n,i)))}return n}(n),_(p,"transform","translate"+v("X")+"("+t+"px)"),n!==t&&f(Un))}function w(n,t){var i=n-L(t),r=d();return n-=h(r*(kn(U(i)/r)||1))*(t?1:-1)}function x(){b(E(),!0),e.cancel()}function k(n){for(var t=c.Slides.get(),i=0,r=1/0,o=0;o<t.length;o++){var u=t[o].index,e=U(S(u,!0)-n);if(!(e<=r))break;r=e,i=u}return i}function S(n,t){var i=h(s(n-1)-(n=n,"center"===(i=o.focus)?(l()-u(n,!0))/2:+i*u(n)||0));return t?(n=i,n=o.trimSpace&&r.is(Mt)?q(n,0,h(d(!0)-l())):n):i}function E(){var n=v("left");return N(p)[n]-N(g)[n]+h(i(!1))}function L(n){return S(n?c.Controller.getEnd():0,!!o.trimSpace)}return{mount:function(){e=c.Transition,t([B,Nn,K,J],m)},move:function(n,t,i,r){var o,u;n!==t&&(o=i<n,u=h(w(E(),o)),o?0<=u:u<=p[v("scrollWidth")]-N(g)[v("width")])&&(x(),b(w(E(),i<n),!0)),a(G),f(H,t,i,n),e.start(t,function(){a(3),f(Dn,t,i,n),r&&r()})},jump:y,translate:b,shift:w,cancel:x,toIndex:k,toPosition:S,getPosition:E,getLimit:L,exceededLimit:function(n,t){t=en(t)?E():t;var i=!0!==n&&h(t)<h(L(!1)),n=!1!==n&&h(t)>h(L(!0));return i||n},reposition:m}},Controller:function(o,u,e){var c,f,a,s,n=Q(o),t=n.on,i=n.emit,l=u.Move,d=l.getPosition,r=l.getLimit,v=l.toPosition,h=(n=u.Slides).isEnough,p=n.getLength,g=e.omitEnd,m=o.is(Pt),y=o.is(Mt),b=R(L,!1),w=R(L,!0),x=e.start||0,k=x;function S(){f=p(!0),a=e.perMove,s=e.perPage,c=_();var n=q(x,0,g?c:f-1);n!==x&&(x=n,l.reposition())}function E(){c!==_()&&i("ei")}function L(n,t){var i=a||(P()?1:s),i=O(x+i*(n?-1:1),x,!(a||P()));return-1===i&&y&&!Sn(d(),r(!n),1)?n?0:c:t?i:A(i)}function O(n,t,i){var r;return h()||P()?((r=function(n){if(y&&"move"===e.trimSpace&&n!==x)for(var t=d();t===v(n,!0)&&En(n,0,o.length-1,!e.rewind);)n<x?--n:++n;return n}(n))!==n&&(t=n,n=r,i=!1),n<0||c<n?n=a||!En(0,n,t,!0)&&!En(c,t,n,!0)?m?i?n<0?-(f%s||s):f:n:e.rewind?n<0?c:0:-1:z(D(n)):i&&n!==t&&(n=z(D(t)+(n<t?-1:1)))):n=-1,n}function A(n){return m?(n+f)%f||0:n}function _(){for(var n=f-(P()||m&&a?1:s);g&&0<n--;)if(v(f-1,!0)!==v(n,!0)){n++;break}return q(n,0,f-1)}function z(n){return q(P()?n:s*n,0,c)}function D(n){return P()?Y(n,c):xn((c<=n?f-1:n)/s)}function M(n){n!==x&&(k=x,x=n)}function P(){return!en(e.focus)||e.isNavigation}function I(){return o.state.is([G,rn])&&!!e.waitForTransition}return{mount:function(){S(),t([K,J,"ei"],S),t(Nn,E)},go:function(n,t,i){var r;I()||-1<(r=A(n=function(n){var t=x;{var i,r;C(n)?(r=n.match(/([+\-<>])(\d+)?/)||[],i=r[1],r=r[2],"+"===i||"-"===i?t=O(x+ +(""+i+(+r||1)),x):">"===i?t=r?z(+r):b(!0):"<"===i&&(t=w(!0))):t=m?n:q(n,0,c)}return t}(n)))&&(t||r!==x)&&(M(r),l.move(n,r,k,i))},scroll:function(n,t,i,r){u.Scroll.scroll(n,t,i,function(){var n=A(l.toIndex(d()));M(g?Y(n,c):n),r&&r()})},getNext:b,getPrev:w,getAdjacent:L,getEnd:_,setIndex:M,getIndex:function(n){return n?k:x},toIndex:z,toPage:D,toDest:function(n){return n=l.toIndex(n),y?q(n,0,c):n},hasFocus:P,isBusy:I}},Arrows:function(o,n,t){var i,r,u=Q(o),e=u.on,c=u.bind,f=u.emit,a=t.classes,s=t.i18n,l=n.Elements,d=n.Controller,v=l.arrows,h=l.track,p=v,g=l.prev,m=l.next,y={};function b(){var n=t.arrows;!n||g&&m||(p=v||j("div",a.arrows),g=S(!0),m=S(!1),i=!0,L(p,[g,m]),v||O(p,h)),g&&m&&(an(y,{prev:g,next:m}),ln(p,n?"":"none"),M(p,r=dt+"--"+t.direction),n&&(e([B,Dn,J,V,"ei"],E),c(m,"click",R(k,">")),c(g,"click",R(k,"<")),E(),I([g,m],Kn,h.id),f("arrows:mounted",g,m))),e(K,w)}function w(){x(),b()}function x(){u.destroy(),X(p,r),i?(T(v?[g,m]:p),g=m=null):P([g,m],ut)}function k(n){d.go(n,!0)}function S(n){return hn('<button class="'+a.arrow+" "+(n?a.prev:a.next)+'" type="button"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" width="40" height="40" focusable="false"><path d="'+(t.arrowPath||"m15.5 0.932-4.3 4.38 14.5 14.6-14.5 14.5 4.3 4.4 14.6-14.6 4.4-4.3-4.4-4.4-14.6-14.6z")+'" />')}function E(){var n,t,i,r;g&&m&&(r=o.index,n=d.getPrev(),t=d.getNext(),i=-1<n&&r<n?s.last:s.prev,r=-1<t&&t<r?s.first:s.next,g.disabled=n<0,m.disabled=t<0,I(g,nn,i),I(m,nn,r),f("arrows:updated",g,m,n,t))}return{arrows:y,mount:b,destroy:x,update:E}},Autoplay:function(n,t,i){var r,o,u=Q(n),e=u.on,c=u.bind,f=u.emit,a=qn(i.interval,n.go.bind(n,">"),function(n){var t=l.bar;t&&_(t,"width",100*n+"%"),f("autoplay:playing",n)}),s=a.isPaused,l=t.Elements,d=(u=t.Elements).root,v=u.toggle,h=i.autoplay,p="pause"===h;function g(){s()&&t.Slides.isEnough()&&(a.start(!i.resetProgress),o=r=p=!1,b(),f(Fn))}function m(n){p=!!(n=void 0===n?!0:n),b(),s()||(a.pause(),f(Xn))}function y(){p||(r||o?m(!1):g())}function b(){v&&(A(v,tn,!p),I(v,nn,i.i18n[p?"play":"pause"]))}function w(n){n=t.Slides.getAt(n);a.set(n&&+z(n.slide,Ct)||i.interval)}return{mount:function(){h&&(i.pauseOnHover&&c(d,"mouseenter mouseleave",function(n){r="mouseenter"===n.type,y()}),i.pauseOnFocus&&c(d,"focusin focusout",function(n){o="focusin"===n.type,y()}),v&&c(v,"click",function(){p?g():m(!0)}),e([H,Tn,J],a.rewind),e(H,w),v&&I(v,Kn,l.track.id),p||g(),b())},destroy:a.cancel,play:g,pause:m,isPaused:s}},Cover:function(n,t,i){var r=Q(n).on;function o(i){t.Slides.forEach(function(n){var t=fn(n.container||n.slide,"img");t&&t.src&&u(i,t,n)})}function u(n,t,i){i.style("background",n?'center/cover no-repeat url("'+t.src+'")':"",!0),ln(t,n?"none":"")}return{mount:function(){i.cover&&(r(Wn,R(u,!0)),r([B,K,J],R(o,!0)))},destroy:R(o,!1)}},Scroll:function(n,c,u){var f,a,t=Q(n),i=t.on,s=t.emit,l=n.state.set,d=c.Move,v=d.getPosition,e=d.getLimit,h=d.exceededLimit,p=d.translate,g=n.is(Mt),m=1;function y(n,t,i,r,o){var u,e=v(),i=(x(),!i||g&&h()||(i=c.Layout.sliderSize(),u=Ln(n)*i*xn(U(n)/i)||0,n=d.toPosition(c.Controller.toDest(n%i))+u),Sn(e,n,1));m=1,t=i?0:t||wn(U(n-e)/1.5,800),a=r,f=qn(t,b,R(w,e,n,o),1),l(rn),s(Tn),f.start()}function b(){l(3),a&&a(),s(V)}function w(n,t,i,r){var o=v(),r=(n+(t-n)*(t=r,(n=u.easingFunc)?n(t):1-Math.pow(1-t,4))-o)*m;p(o+r),g&&!i&&h()&&(m*=.6,U(r)<10&&y(e(h(!0)),600,!1,a,!0))}function x(){f&&f.cancel()}function r(){f&&!f.isPaused()&&(x(),b())}return{mount:function(){i(H,x),i([K,J],r)},destroy:x,scroll:y,cancel:r}},Drag:function(e,o,c){var f,t,u,a,s,l,d,v,n=Q(e),i=n.on,h=n.emit,p=n.bind,g=n.unbind,m=e.state,y=o.Move,b=o.Scroll,w=o.Controller,x=o.Elements.track,k=o.Media.reduce,r=(n=o.Direction).resolve,S=n.orient,E=y.getPosition,L=y.exceededLimit,O=!1;function j(){var n=c.drag;C(!n),a="free"===n}function N(n){var t,i,r;l=!1,d||(t=R(n),i=n.target,r=c.noDrag,cn(i,"."+mt+", ."+vt)||r&&cn(i,r)||!t&&n.button||(w.isBusy()?F(n,!0):(v=t?x:window,s=m.is([G,rn]),u=null,p(v,zt,A,jt),p(v,Dt,_,jt),y.cancel(),b.cancel(),z(n))))}function A(n){var t,i,r,o,u;m.is(6)||(m.set(6),h("drag")),n.cancelable&&(s?(y.translate(f+D(n)/(O&&e.is(Mt)?5:1)),u=200<M(n),t=O!==(O=L()),(u||t)&&z(n),l=!0,h("dragging"),F(n)):U(D(u=n))>U(D(u,!0))&&(t=n,i=c.dragMinThreshold,r=un(i),o=r&&i.mouse||0,r=(r?i.touch:+i)||10,s=U(D(t))>(R(t)?r:o),F(n)))}function _(n){var t,i,r;m.is(6)&&(m.set(3),h("dragged")),s&&(i=function(n){return E()+Ln(n)*Y(U(n)*(c.flickPower||600),a?1/0:o.Layout.listSize()*(c.flickMaxPages||1))}(t=function(n){if(e.is(Pt)||!O){var t=M(n);if(t&&t<200)return D(n)/t}return 0}(t=n)),r=c.rewind&&c.rewindByDrag,k(!1),a?w.scroll(i,0,c.snap):e.is(It)?w.go(S(Ln(t))<0?r?"<":"-":r?">":"+"):e.is(Mt)&&O&&r?w.go(L(!0)?">":"<"):w.go(w.toDest(i),!0),k(!0),F(n)),g(v,zt,A),g(v,Dt,_),s=!1}function T(n){!d&&l&&F(n,!0)}function z(n){u=t,t=n,f=E()}function D(n,t){return I(n,t)-I(P(n),t)}function M(n){return mn(n)-mn(P(n))}function P(n){return t===n&&u||t}function I(n,t){return(R(n)?n.changedTouches[0]:n)["page"+r(t?"Y":"X")]}function R(n){return"undefined"!=typeof TouchEvent&&n instanceof TouchEvent}function C(n){d=n}return{mount:function(){p(x,zt,on,jt),p(x,Dt,on,jt),p(x,_t,N,jt),p(x,"click",T,{capture:!0}),p(x,"dragstart",F),i([B,K],j)},disable:C,isDragging:function(){return s}}},Keyboard:function(t,n,i){var r,o,u=Q(t),e=u.on,c=u.bind,f=u.unbind,a=t.root,s=n.Direction.resolve;function l(){var n=i.keyboard;n&&(r="global"===n?window:a,c(r,Gt,h))}function d(){f(r,Gt)}function v(){var n=o;o=!0,p(function(){o=n})}function h(n){o||((n=Tt(n))===s(Bn)?t.go("<"):n===s(Hn)&&t.go(">"))}return{mount:function(){l(),e(K,d),e(K,l),e(H,v)},destroy:d,disable:function(n){o=n}}},LazyLoad:function(i,n,o){var t=Q(i),r=t.on,u=t.off,e=t.bind,c=t.emit,f="sequential"===o.lazyLoad,a=[Dn,V],s=[];function l(){D(s),n.Slides.forEach(function(r){gn(r.slide,Wt).forEach(function(n){var t=z(n,Ft),i=z(n,Xt);t===n.src&&i===n.srcset||(t=o.classes.spinner,t=fn(i=n.parentElement,"."+t)||j("span",t,i),s.push([n,r,t]),n.src||ln(n,"none"))})}),(f?p:(u(a),r(a,d),d))()}function d(){(s=s.filter(function(n){var t=o.perPage*((o.preloadPages||1)+1)-1;return!n[1].isWithin(i.index,t)||v(n)})).length||u(a)}function v(n){var t=n[0];M(n[1].slide,Et),e(t,"load error",R(h,n)),I(t,"src",z(t,Ft)),I(t,"srcset",z(t,Xt)),P(t,Ft),P(t,Xt)}function h(n,t){var i=n[0],r=n[1];X(r.slide,Et),"error"!==t.type&&(T(n[2]),ln(i,""),c(Wn,i,r),c(jn)),f&&p()}function p(){s.length&&v(s.shift())}return{mount:function(){o.lazyLoad&&(l(),r(J,l))},destroy:R(D,s),check:d}},Pagination:function(l,n,d){var v,h,t=Q(l),p=t.on,g=t.emit,m=t.bind,y=n.Slides,b=n.Elements,w=n.Controller,x=w.hasFocus,r=w.getIndex,e=w.go,c=n.Direction.resolve,k=b.pagination,S=[];function E(){v&&(T(k?o(v.children):v),X(v,h),D(S),v=null),t.destroy()}function L(n){e(">"+n,!0)}function O(n,t){var i=S.length,r=Tt(t),o=A(),u=-1,o=(r===c(Hn,!1,o)?u=++n%i:r===c(Bn,!1,o)?u=(--n+i)%i:"Home"===r?u=0:"End"===r&&(u=i-1),S[u]);o&&(dn(o.button),e(">"+u),F(t,!0))}function A(){return d.paginationDirection||d.direction}function _(n){return S[w.toPage(n)]}function z(){var n,t=_(r(!0)),i=_(r());t&&(X(n=t.button,tn),P(n,Qn),I(n,$,-1)),i&&(M(n=i.button,tn),I(n,Qn,!0),I(n,$,"")),g("pagination:updated",{list:v,items:S},t,i)}return{items:S,mount:function n(){E(),p([K,J,"ei"],n);var t=d.pagination;if(k&&ln(k,t?"":"none"),t){p([H,Tn,V],z);var t=l.length,i=d.classes,r=d.i18n,o=d.perPage,u=x()?w.getEnd()+1:kn(t/o);M(v=k||j("ul",i.pagination,b.track.parentElement),h=gt+"--"+A()),I(v,Z,"tablist"),I(v,nn,r.select),I(v,nt,A()===Jn?"vertical":"");for(var e=0;e<u;e++){var c=j("li",null,v),f=j("button",{class:i.page,type:"button"},c),a=y.getIn(e).map(function(n){return n.slide.id}),s=!x()&&1<o?r.pageX:r.slideX;m(f,"click",R(L,e)),d.paginationKeyboard&&m(f,"keydown",R(O,e)),I(c,Z,"presentation"),I(f,Z,"tab"),I(f,Kn,a.join(" ")),I(f,nn,On(s,e+1)),I(f,$,-1),S.push({li:c,button:f,page:e})}z(),g("pagination:mounted",{list:v,items:S},_(l.index))}},destroy:E,getAt:_,update:z}},Sync:function(i,n,t){var r=t.isNavigation,o=t.slideFocus,u=[];function e(){var n,t;i.splides.forEach(function(n){n.isParent||(f(i,n.splide),f(n.splide,i))}),r&&(n=Q(i),(t=n.on)(Mn,s),t(Yn,l),t([B,K],a),u.push(n),n.emit(Gn,i.splides))}function c(){u.forEach(function(n){n.destroy()}),D(u)}function f(n,r){n=Q(n);n.on(H,function(n,t,i){r.go(r.is(Pt)?i:n)}),u.push(n)}function a(){I(n.Elements.list,nt,t.direction===Jn?"vertical":"")}function s(n){i.go(n.index)}function l(n,t){b(Yt,Tt(t))&&(s(n),F(t))}return{setup:R(n.Media.set,{slideFocus:en(o)?r:o},!0),mount:e,destroy:c,remount:function(){c(),e()}}},Wheel:function(e,c,f){var n=Q(e).bind,a=0;function t(n){var t,i,r,o,u;n.cancelable&&(t=(u=n.deltaY)<0,i=mn(n),r=f.wheelMinThreshold||0,o=f.wheelSleep||0,U(u)>r&&o<i-a&&(e.go(t?"<":">"),a=i),u=t,f.releaseWheel&&!e.state.is(G)&&-1===c.Controller.getAdjacent(u)||F(n))}return{mount:function(){f.wheel&&n(c.Elements.track,"wheel",t,jt)}}},Live:function(n,t,i){var r=Q(n).on,o=t.Elements.track,u=i.live&&!i.isNavigation,e=j("span",wt),c=qn(90,R(f,!1));function f(n){I(o,rt,n),n?(L(o,e),c.start()):(T(e),c.cancel())}function a(n){u&&I(o,it,n?"off":"polite")}return{mount:function(){u&&(a(!t.Autoplay.isPaused()),I(o,ot,!0),e.textContent="…",r(Fn,R(a,!0)),r(Xn,R(a,!1)),r([Dn,V],R(f,!0)))},disable:a,destroy:function(){P(o,[it,ot,rt]),T(e)}}}}),qt={type:"slide",role:"region",speed:400,perPage:1,cloneStatus:!0,arrows:!0,pagination:!0,paginationKeyboard:!0,interval:5e3,pauseOnHover:!0,pauseOnFocus:!0,resetProgress:!0,easing:"cubic-bezier(0.25, 1, 0.5, 1)",drag:!0,direction:"ltr",trimSpace:!0,focusableNodes:"a, button, textarea, input, select, iframe",live:!0,classes:{slide:at,clone:st,arrows:dt,arrow:vt,prev:ht,next:pt,pagination:gt,page:mt,spinner:i+"spinner"},i18n:{prev:"Previous slide",next:"Next slide",first:"Go to first slide",last:"Go to last slide",slideX:"Go to slide %s",pageX:"Go to page %s",play:"Start autoplay",pause:"Pause autoplay",carousel:"carousel",slide:"slide",select:"Select a slide to show",slideLabel:"%s of %s"},reducedMotion:{speed:0,rewindSpeed:0,autoplay:"pause"}};function Bt(n,t,i){var r=t.Slides;function o(){r.forEach(function(n){n.style("transform","translateX(-"+100*n.index+"%)")})}return{mount:function(){Q(n).on([B,J],o)},start:function(n,t){r.style("transition","opacity "+i.speed+"ms "+i.easing),p(t)},cancel:on}}function Ht(u,n,e){var c,f=n.Move,a=n.Controller,s=n.Scroll,t=n.Elements.list,l=R(_,t,"transition");function i(){l(""),s.cancel()}return{mount:function(){Q(u).bind(t,"transitionend",function(n){n.target===t&&c&&(i(),c())})},start:function(n,t){var i=f.toPosition(n,!0),r=f.getPosition(),o=function(n){var t=e.rewindSpeed;if(u.is(Mt)&&t){var i=a.getIndex(!0),r=a.getEnd();if(0===i&&r<=n||r<=i&&0===n)return t}return e.speed}(n);1<=U(i-r)&&1<=o?e.useScroll?s.scroll(i,o,!1,t):(l("transform "+o+"ms "+e.easing),f.translate(i,!0),c=t):(f.jump(n),t())},cancel:i}}t=function(){function i(n,t){this.event=Q(),this.Components={},this.state=s(1),this.splides=[],this.n={},this.t={};n=C(n)?pn(document,n):n;bn(n,n+" is invalid."),t=d({label:z(this.root=n,nn)||"",labelledby:z(n,Zn)||""},qt,i.defaults,t||{});try{d(t,JSON.parse(z(n,f)))}catch(n){bn(!1,"Invalid JSON")}this.n=Object.create(d({},t))}var n=i.prototype;return n.mount=function(n,t){var i=this,r=this.state,o=this.Components;return bn(r.is([1,7]),"Already mounted!"),r.set(1),this.i=o,this.r=t||this.r||(this.is(It)?Bt:Ht),this.t=n||this.t,w(an({},Ut,this.t,{Transition:this.r}),function(n,t){n=n(i,o,i.n);(o[t]=n).setup&&n.setup()}),w(o,function(n){n.mount&&n.mount()}),this.emit(B),M(this.root,"is-initialized"),r.set(3),this.emit("ready"),this},n.sync=function(n){return this.splides.push({splide:n}),n.splides.push({splide:this,isParent:!0}),this.state.is(3)&&(this.i.Sync.remount(),n.Components.Sync.remount()),this},n.go=function(n){return this.i.Controller.go(n),this},n.on=function(n,t){return this.event.on(n,t),this},n.off=function(n){return this.event.off(n),this},n.emit=function(n){var t;return(t=this.event).emit.apply(t,[n].concat(o(arguments,1))),this},n.add=function(n,t){return this.i.Slides.add(n,t),this},n.remove=function(n){return this.i.Slides.remove(n),this},n.is=function(n){return this.n.type===n},n.refresh=function(){return this.emit(J),this},n.destroy=function(t){void 0===t&&(t=!0);var n=this.event,i=this.state;return i.is(1)?Q(this).on("ready",this.destroy.bind(this,t)):(w(this.i,function(n){n.destroy&&n.destroy(t)},!0),n.emit(a),n.destroy(),t&&D(this.splides),i.set(7)),this},Jt(i,[{key:"options",get:function(){return this.n},set:function(n){this.i.Media.set(n,!0,!0)}},{key:"length",get:function(){return this.i.Slides.getLength(!0)}},{key:"index",get:function(){return this.i.Controller.getIndex()}}]),i}();return t.defaults={},t.STATES=r,t},"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(n="undefined"!=typeof globalThis?globalThis:n||self).Splide=t();
//# sourceMappingURL=splide.min.js.map
;
typeof JSON!="object"&&(JSON={}),function(){"use strict";function f(e){return e<10?"0"+e:e}function quote(e){return escapable.lastIndex=0,escapable.test(e)?'"'+e.replace(escapable,function(e){var t=meta[e];return typeof t=="string"?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var n,r,i,s,o=gap,u,a=t[e];a&&typeof a=="object"&&typeof a.toJSON=="function"&&(a=a.toJSON(e)),typeof rep=="function"&&(a=rep.call(t,e,a));switch(typeof a){case"string":return quote(a);case"number":return isFinite(a)?String(a):"null";case"boolean":case"null":return String(a);case"object":if(!a)return"null";gap+=indent,u=[];if(Object.prototype.toString.apply(a)==="[object Array]"){s=a.length;for(n=0;n<s;n+=1)u[n]=str(n,a)||"null";return i=u.length===0?"[]":gap?"[\n"+gap+u.join(",\n"+gap)+"\n"+o+"]":"["+u.join(",")+"]",gap=o,i}if(rep&&typeof rep=="object"){s=rep.length;for(n=0;n<s;n+=1)typeof rep[n]=="string"&&(r=rep[n],i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i))}else for(r in a)Object.prototype.hasOwnProperty.call(a,r)&&(i=str(r,a),i&&u.push(quote(r)+(gap?": ":":")+i));return i=u.length===0?"{}":gap?"{\n"+gap+u.join(",\n"+gap)+"\n"+o+"}":"{"+u.join(",")+"}",gap=o,i}}typeof Date.prototype.toJSON!="function"&&(Date.prototype.toJSON=function(e){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},String.prototype.toJSON=Number.prototype.toJSON=Boolean.prototype.toJSON=function(e){return this.valueOf()});var cx=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,escapable=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,gap,indent,meta={"\b":"\\b","	":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},rep;typeof JSON.stringify!="function"&&(JSON.stringify=function(e,t,n){var r;gap="",indent="";if(typeof n=="number")for(r=0;r<n;r+=1)indent+=" ";else typeof n=="string"&&(indent=n);rep=t;if(!t||typeof t=="function"||typeof t=="object"&&typeof t.length=="number")return str("",{"":e});throw new Error("JSON.stringify")}),typeof JSON.parse!="function"&&(JSON.parse=function(text,reviver){function walk(e,t){var n,r,i=e[t];if(i&&typeof i=="object")for(n in i)Object.prototype.hasOwnProperty.call(i,n)&&(r=walk(i,n),r!==undefined?i[n]=r:delete i[n]);return reviver.call(e,t,i)}var j;text=String(text),cx.lastIndex=0,cx.test(text)&&(text=text.replace(cx,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}));if(/^[\],:{}\s]*$/.test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,"")))return j=eval("("+text+")"),typeof reviver=="function"?walk({"":j},""):j;throw new SyntaxError("JSON.parse")})}(),function(e,t){"use strict";var n=e.History=e.History||{},r=e.jQuery;if(typeof n.Adapter!="undefined")throw new Error("History.js Adapter has already been loaded...");n.Adapter={bind:function(e,t,n){r(e).bind(t,n)},trigger:function(e,t,n){r(e).trigger(t,n)},extractEventData:function(e,n,r){var i=n&&n.originalEvent&&n.originalEvent[e]||r&&r[e]||t;return i},onDomLoad:function(e){r(e)}},typeof n.init!="undefined"&&n.init()}(window),function(e,t){"use strict";var n=e.document,r=e.setTimeout||r,i=e.clearTimeout||i,s=e.setInterval||s,o=e.History=e.History||{};if(typeof o.initHtml4!="undefined")throw new Error("History.js HTML4 Support has already been loaded...");o.initHtml4=function(){if(typeof o.initHtml4.initialized!="undefined")return!1;o.initHtml4.initialized=!0,o.enabled=!0,o.savedHashes=[],o.isLastHash=function(e){var t=o.getHashByIndex(),n;return n=e===t,n},o.isHashEqual=function(e,t){return e=encodeURIComponent(e).replace(/%25/g,"%"),t=encodeURIComponent(t).replace(/%25/g,"%"),e===t},o.saveHash=function(e){return o.isLastHash(e)?!1:(o.savedHashes.push(e),!0)},o.getHashByIndex=function(e){var t=null;return typeof e=="undefined"?t=o.savedHashes[o.savedHashes.length-1]:e<0?t=o.savedHashes[o.savedHashes.length+e]:t=o.savedHashes[e],t},o.discardedHashes={},o.discardedStates={},o.discardState=function(e,t,n){var r=o.getHashByState(e),i;return i={discardedState:e,backState:n,forwardState:t},o.discardedStates[r]=i,!0},o.discardHash=function(e,t,n){var r={discardedHash:e,backState:n,forwardState:t};return o.discardedHashes[e]=r,!0},o.discardedState=function(e){var t=o.getHashByState(e),n;return n=o.discardedStates[t]||!1,n},o.discardedHash=function(e){var t=o.discardedHashes[e]||!1;return t},o.recycleState=function(e){var t=o.getHashByState(e);return o.discardedState(e)&&delete o.discardedStates[t],!0},o.emulated.hashChange&&(o.hashChangeInit=function(){o.checkerFunction=null;var t="",r,i,u,a,f=Boolean(o.getHash());return o.isInternetExplorer()?(r="historyjs-iframe",i=n.createElement("iframe"),i.setAttribute("id",r),i.setAttribute("src","#"),i.style.display="none",n.body.appendChild(i),i.contentWindow.document.open(),i.contentWindow.document.close(),u="",a=!1,o.checkerFunction=function(){if(a)return!1;a=!0;var n=o.getHash(),r=o.getHash(i.contentWindow.document);return n!==t?(t=n,r!==n&&(u=r=n,i.contentWindow.document.open(),i.contentWindow.document.close(),i.contentWindow.document.location.hash=o.escapeHash(n)),o.Adapter.trigger(e,"hashchange")):r!==u&&(u=r,f&&r===""?o.back():o.setHash(r,!1)),a=!1,!0}):o.checkerFunction=function(){var n=o.getHash()||"";return n!==t&&(t=n,o.Adapter.trigger(e,"hashchange")),!0},o.intervalList.push(s(o.checkerFunction,o.options.hashChangeInterval)),!0},o.Adapter.onDomLoad(o.hashChangeInit)),o.emulated.pushState&&(o.onHashChange=function(t){var n=t&&t.newURL||o.getLocationHref(),r=o.getHashByUrl(n),i=null,s=null,u=null,a;return o.isLastHash(r)?(o.busy(!1),!1):(o.doubleCheckComplete(),o.saveHash(r),r&&o.isTraditionalAnchor(r)?(o.Adapter.trigger(e,"anchorchange"),o.busy(!1),!1):(i=o.extractState(o.getFullUrl(r||o.getLocationHref()),!0),o.isLastSavedState(i)?(o.busy(!1),!1):(s=o.getHashByState(i),a=o.discardedState(i),a?(o.getHashByIndex(-2)===o.getHashByState(a.forwardState)?o.back(!1):o.forward(!1),!1):(o.pushState(i.data,i.title,encodeURI(i.url),!1),!0))))},o.Adapter.bind(e,"hashchange",o.onHashChange),o.pushState=function(t,n,r,i){r=encodeURI(r).replace(/%25/g,"%");if(o.getHashByUrl(r))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(i!==!1&&o.busy())return o.pushQueue({scope:o,callback:o.pushState,args:arguments,queue:i}),!1;o.busy(!0);var s=o.createStateObject(t,n,r),u=o.getHashByState(s),a=o.getState(!1),f=o.getHashByState(a),l=o.getHash(),c=o.expectedStateId==s.id;return o.storeState(s),o.expectedStateId=s.id,o.recycleState(s),o.setTitle(s),u===f?(o.busy(!1),!1):(o.saveState(s),c||o.Adapter.trigger(e,"statechange"),!o.isHashEqual(u,l)&&!o.isHashEqual(u,o.getShortUrl(o.getLocationHref()))&&o.setHash(u,!1),o.busy(!1),!0)},o.replaceState=function(t,n,r,i){r=encodeURI(r).replace(/%25/g,"%");if(o.getHashByUrl(r))throw new Error("History.js does not support states with fragment-identifiers (hashes/anchors).");if(i!==!1&&o.busy())return o.pushQueue({scope:o,callback:o.replaceState,args:arguments,queue:i}),!1;o.busy(!0);var s=o.createStateObject(t,n,r),u=o.getHashByState(s),a=o.getState(!1),f=o.getHashByState(a),l=o.getStateByIndex(-2);return o.discardState(a,s,l),u===f?(o.storeState(s),o.expectedStateId=s.id,o.recycleState(s),o.setTitle(s),o.saveState(s),o.Adapter.trigger(e,"statechange"),o.busy(!1)):o.pushState(s.data,s.title,s.url,!1),!0}),o.emulated.pushState&&o.getHash()&&!o.emulated.hashChange&&o.Adapter.onDomLoad(function(){o.Adapter.trigger(e,"hashchange")})},typeof o.init!="undefined"&&o.init()}(window),function(e,t){"use strict";var n=e.console||t,r=e.document,i=e.navigator,s=e.sessionStorage||!1,o=e.setTimeout,u=e.clearTimeout,a=e.setInterval,f=e.clearInterval,l=e.JSON,c=e.alert,h=e.History=e.History||{},p=e.history;try{s.setItem("TEST","1"),s.removeItem("TEST")}catch(d){s=!1}l.stringify=l.stringify||l.encode,l.parse=l.parse||l.decode;if(typeof h.init!="undefined")throw new Error("History.js Core has already been loaded...");h.init=function(e){return typeof h.Adapter=="undefined"?!1:(typeof h.initCore!="undefined"&&h.initCore(),typeof h.initHtml4!="undefined"&&h.initHtml4(),!0)},h.initCore=function(d){if(typeof h.initCore.initialized!="undefined")return!1;h.initCore.initialized=!0,h.options=h.options||{},h.options.hashChangeInterval=h.options.hashChangeInterval||100,h.options.safariPollInterval=h.options.safariPollInterval||500,h.options.doubleCheckInterval=h.options.doubleCheckInterval||500,h.options.disableSuid=h.options.disableSuid||!1,h.options.storeInterval=h.options.storeInterval||1e3,h.options.busyDelay=h.options.busyDelay||250,h.options.debug=h.options.debug||!1,h.options.initialTitle=h.options.initialTitle||r.title,h.options.html4Mode=h.options.html4Mode||!1,h.options.delayInit=h.options.delayInit||!1,h.intervalList=[],h.clearAllIntervals=function(){var e,t=h.intervalList;if(typeof t!="undefined"&&t!==null){for(e=0;e<t.length;e++)f(t[e]);h.intervalList=null}},h.debug=function(){(h.options.debug||!1)&&h.log.apply(h,arguments)},h.log=function(){var e=typeof n!="undefined"&&typeof n.log!="undefined"&&typeof n.log.apply!="undefined",t=r.getElementById("log"),i,s,o,u,a;e?(u=Array.prototype.slice.call(arguments),i=u.shift(),typeof n.debug!="undefined"?n.debug.apply(n,[i,u]):n.log.apply(n,[i,u])):i="\n"+arguments[0]+"\n";for(s=1,o=arguments.length;s<o;++s){a=arguments[s];if(typeof a=="object"&&typeof l!="undefined")try{a=l.stringify(a)}catch(f){}i+="\n"+a+"\n"}return t?(t.value+=i+"\n-----\n",t.scrollTop=t.scrollHeight-t.clientHeight):e||c(i),!0},h.getInternetExplorerMajorVersion=function(){var e=h.getInternetExplorerMajorVersion.cached=typeof h.getInternetExplorerMajorVersion.cached!="undefined"?h.getInternetExplorerMajorVersion.cached:function(){var e=3,t=r.createElement("div"),n=t.getElementsByTagName("i");while((t.innerHTML="<!--[if gt IE "+ ++e+"]><i></i><![endif]-->")&&n[0]);return e>4?e:!1}();return e},h.isInternetExplorer=function(){var e=h.isInternetExplorer.cached=typeof h.isInternetExplorer.cached!="undefined"?h.isInternetExplorer.cached:Boolean(h.getInternetExplorerMajorVersion());return e},h.options.html4Mode?h.emulated={pushState:!0,hashChange:!0}:h.emulated={pushState:!Boolean(e.history&&e.history.pushState&&e.history.replaceState&&!/ Mobile\/([1-7][a-z]|(8([abcde]|f(1[0-8]))))/i.test(i.userAgent)&&!/AppleWebKit\/5([0-2]|3[0-2])/i.test(i.userAgent)),hashChange:Boolean(!("onhashchange"in e||"onhashchange"in r)||h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<8)},h.enabled=!h.emulated.pushState,h.bugs={setHash:Boolean(!h.emulated.pushState&&i.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(i.userAgent)),safariPoll:Boolean(!h.emulated.pushState&&i.vendor==="Apple Computer, Inc."&&/AppleWebKit\/5([0-2]|3[0-3])/.test(i.userAgent)),ieDoubleCheck:Boolean(h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<8),hashEscape:Boolean(h.isInternetExplorer()&&h.getInternetExplorerMajorVersion()<7)},h.isEmptyObject=function(e){for(var t in e)if(e.hasOwnProperty(t))return!1;return!0},h.cloneObject=function(e){var t,n;return e?(t=l.stringify(e),n=l.parse(t)):n={},n},h.getRootUrl=function(){var e=r.location.protocol+"//"+(r.location.hostname||r.location.host);if(r.location.port||!1)e+=":"+r.location.port;return e+="/",e},h.getBaseHref=function(){var e=r.getElementsByTagName("base"),t=null,n="";return e.length===1&&(t=e[0],n=t.href.replace(/[^\/]+$/,"")),n=n.replace(/\/+$/,""),n&&(n+="/"),n},h.getBaseUrl=function(){var e=h.getBaseHref()||h.getBasePageUrl()||h.getRootUrl();return e},h.getPageUrl=function(){var e=h.getState(!1,!1),t=(e||{}).url||h.getLocationHref(),n;return n=t.replace(/\/+$/,"").replace(/[^\/]+$/,function(e,t,n){return/\./.test(e)?e:e+"/"}),n},h.getBasePageUrl=function(){var e=h.getLocationHref().replace(/[#\?].*/,"").replace(/[^\/]+$/,function(e,t,n){return/[^\/]$/.test(e)?"":e}).replace(/\/+$/,"")+"/";return e},h.getFullUrl=function(e,t){var n=e,r=e.substring(0,1);return t=typeof t=="undefined"?!0:t,/[a-z]+\:\/\//.test(e)||(r==="/"?n=h.getRootUrl()+e.replace(/^\/+/,""):r==="#"?n=h.getPageUrl().replace(/#.*/,"")+e:r==="?"?n=h.getPageUrl().replace(/[\?#].*/,"")+e:t?n=h.getBaseUrl()+e.replace(/^(\.\/)+/,""):n=h.getBasePageUrl()+e.replace(/^(\.\/)+/,"")),n.replace(/\#$/,"")},h.getShortUrl=function(e){var t=e,n=h.getBaseUrl(),r=h.getRootUrl();return h.emulated.pushState&&(t=t.replace(n,"")),t=t.replace(r,"/"),h.isTraditionalAnchor(t)&&(t="./"+t),t=t.replace(/^(\.\/)+/g,"./").replace(/\#$/,""),t},h.getLocationHref=function(e){return e=e||r,e.URL===e.location.href?e.location.href:e.location.href===decodeURIComponent(e.URL)?e.URL:e.location.hash&&decodeURIComponent(e.location.href.replace(/^[^#]+/,""))===e.location.hash?e.location.href:e.URL.indexOf("#")==-1&&e.location.href.indexOf("#")!=-1?e.location.href:e.URL||e.location.href},h.store={},h.idToState=h.idToState||{},h.stateToId=h.stateToId||{},h.urlToId=h.urlToId||{},h.storedStates=h.storedStates||[],h.savedStates=h.savedStates||[],h.normalizeStore=function(){h.store.idToState=h.store.idToState||{},h.store.urlToId=h.store.urlToId||{},h.store.stateToId=h.store.stateToId||{}},h.getState=function(e,t){typeof e=="undefined"&&(e=!0),typeof t=="undefined"&&(t=!0);var n=h.getLastSavedState();return!n&&t&&(n=h.createStateObject()),e&&(n=h.cloneObject(n),n.url=n.cleanUrl||n.url),n},h.getIdByState=function(e){var t=h.extractId(e.url),n;if(!t){n=h.getStateString(e);if(typeof h.stateToId[n]!="undefined")t=h.stateToId[n];else if(typeof h.store.stateToId[n]!="undefined")t=h.store.stateToId[n];else{for(;;){t=(new Date).getTime()+String(Math.random()).replace(/\D/g,"");if(typeof h.idToState[t]=="undefined"&&typeof h.store.idToState[t]=="undefined")break}h.stateToId[n]=t,h.idToState[t]=e}}return t},h.normalizeState=function(e){var t,n;if(!e||typeof e!="object")e={};if(typeof e.normalized!="undefined")return e;if(!e.data||typeof e.data!="object")e.data={};return t={},t.normalized=!0,t.title=e.title||"",t.url=h.getFullUrl(e.url?e.url:h.getLocationHref()),t.hash=h.getShortUrl(t.url),t.data=h.cloneObject(e.data),t.id=h.getIdByState(t),t.cleanUrl=t.url.replace(/\??\&_suid.*/,""),t.url=t.cleanUrl,n=!h.isEmptyObject(t.data),(t.title||n)&&h.options.disableSuid!==!0&&(t.hash=h.getShortUrl(t.url).replace(/\??\&_suid.*/,""),/\?/.test(t.hash)||(t.hash+="?"),t.hash+="&_suid="+t.id),t.hashedUrl=h.getFullUrl(t.hash),(h.emulated.pushState||h.bugs.safariPoll)&&h.hasUrlDuplicate(t)&&(t.url=t.hashedUrl),t},h.createStateObject=function(e,t,n){var r={data:e,title:t,url:n};return r=h.normalizeState(r),r},h.getStateById=function(e){e=String(e);var n=h.idToState[e]||h.store.idToState[e]||t;return n},h.getStateString=function(e){var t,n,r;return t=h.normalizeState(e),n={data:t.data,title:e.title,url:e.url},r=l.stringify(n),r},h.getStateId=function(e){var t,n;return t=h.normalizeState(e),n=t.id,n},h.getHashByState=function(e){var t,n;return t=h.normalizeState(e),n=t.hash,n},h.extractId=function(e){var t,n,r,i;return e.indexOf("#")!=-1?i=e.split("#")[0]:i=e,n=/(.*)\&_suid=([0-9]+)$/.exec(i),r=n?n[1]||e:e,t=n?String(n[2]||""):"",t||!1},h.isTraditionalAnchor=function(e){var t=!/[\/\?\.]/.test(e);return t},h.extractState=function(e,t){var n=null,r,i;return t=t||!1,r=h.extractId(e),r&&(n=h.getStateById(r)),n||(i=h.getFullUrl(e),r=h.getIdByUrl(i)||!1,r&&(n=h.getStateById(r)),!n&&t&&!h.isTraditionalAnchor(e)&&(n=h.createStateObject(null,null,i))),n},h.getIdByUrl=function(e){var n=h.urlToId[e]||h.store.urlToId[e]||t;return n},h.getLastSavedState=function(){return h.savedStates[h.savedStates.length-1]||t},h.getLastStoredState=function(){return h.storedStates[h.storedStates.length-1]||t},h.hasUrlDuplicate=function(e){var t=!1,n;return n=h.extractState(e.url),t=n&&n.id!==e.id,t},h.storeState=function(e){return h.urlToId[e.url]=e.id,h.storedStates.push(h.cloneObject(e)),e},h.isLastSavedState=function(e){var t=!1,n,r,i;return h.savedStates.length&&(n=e.id,r=h.getLastSavedState(),i=r.id,t=n===i),t},h.saveState=function(e){return h.isLastSavedState(e)?!1:(h.savedStates.push(h.cloneObject(e)),!0)},h.getStateByIndex=function(e){var t=null;return typeof e=="undefined"?t=h.savedStates[h.savedStates.length-1]:e<0?t=h.savedStates[h.savedStates.length+e]:t=h.savedStates[e],t},h.getCurrentIndex=function(){var e=null;return h.savedStates.length<1?e=0:e=h.savedStates.length-1,e},h.getHash=function(e){var t=h.getLocationHref(e),n;return n=h.getHashByUrl(t),n},h.unescapeHash=function(e){var t=h.normalizeHash(e);return t=decodeURIComponent(t),t},h.normalizeHash=function(e){var t=e.replace(/[^#]*#/,"").replace(/#.*/,"");return t},h.setHash=function(e,t){var n,i;return t!==!1&&h.busy()?(h.pushQueue({scope:h,callback:h.setHash,args:arguments,queue:t}),!1):(h.busy(!0),n=h.extractState(e,!0),n&&!h.emulated.pushState?h.pushState(n.data,n.title,n.url,!1):h.getHash()!==e&&(h.bugs.setHash?(i=h.getPageUrl(),h.pushState(null,null,i+"#"+e,!1)):r.location.hash=e),h)},h.escapeHash=function(t){var n=h.normalizeHash(t);return n=e.encodeURIComponent(n),h.bugs.hashEscape||(n=n.replace(/\%21/g,"!").replace(/\%26/g,"&").replace(/\%3D/g,"=").replace(/\%3F/g,"?")),n},h.getHashByUrl=function(e){var t=String(e).replace(/([^#]*)#?([^#]*)#?(.*)/,"$2");return t=h.unescapeHash(t),t},h.setTitle=function(e){var t=e.title,n;t||(n=h.getStateByIndex(0),n&&n.url===e.url&&(t=n.title||h.options.initialTitle));try{r.getElementsByTagName("title")[0].innerHTML=t.replace("<","&lt;").replace(">","&gt;").replace(" & "," &amp; ")}catch(i){}return r.title=t,h},h.queues=[],h.busy=function(e){typeof e!="undefined"?h.busy.flag=e:typeof h.busy.flag=="undefined"&&(h.busy.flag=!1);if(!h.busy.flag){u(h.busy.timeout);var t=function(){var e,n,r;if(h.busy.flag)return;for(e=h.queues.length-1;e>=0;--e){n=h.queues[e];if(n.length===0)continue;r=n.shift(),h.fireQueueItem(r),h.busy.timeout=o(t,h.options.busyDelay)}};h.busy.timeout=o(t,h.options.busyDelay)}return h.busy.flag},h.busy.flag=!1,h.fireQueueItem=function(e){return e.callback.apply(e.scope||h,e.args||[])},h.pushQueue=function(e){return h.queues[e.queue||0]=h.queues[e.queue||0]||[],h.queues[e.queue||0].push(e),h},h.queue=function(e,t){return typeof e=="function"&&(e={callback:e}),typeof t!="undefined"&&(e.queue=t),h.busy()?h.pushQueue(e):h.fireQueueItem(e),h},h.clearQueue=function(){return h.busy.flag=!1,h.queues=[],h},h.stateChanged=!1,h.doubleChecker=!1,h.doubleCheckComplete=function(){return h.stateChanged=!0,h.doubleCheckClear(),h},h.doubleCheckClear=function(){return h.doubleChecker&&(u(h.doubleChecker),h.doubleChecker=!1),h},h.doubleCheck=function(e){return h.stateChanged=!1,h.doubleCheckClear(),h.bugs.ieDoubleCheck&&(h.doubleChecker=o(function(){return h.doubleCheckClear(),h.stateChanged||e(),!0},h.options.doubleCheckInterval)),h},h.safariStatePoll=function(){var t=h.extractState(h.getLocationHref()),n;if(!h.isLastSavedState(t))return n=t,n||(n=h.createStateObject()),h.Adapter.trigger(e,"popstate"),h;return},h.back=function(e){return e!==!1&&h.busy()?(h.pushQueue({scope:h,callback:h.back,args:arguments,queue:e}),!1):(h.busy(!0),h.doubleCheck(function(){h.back(!1)}),p.go(-1),!0)},h.forward=function(e){return e!==!1&&h.busy()?(h.pushQueue({scope:h,callback:h.forward,args:arguments,queue:e}),!1):(h.busy(!0),h.doubleCheck(function(){h.forward(!1)}),p.go(1),!0)},h.go=function(e,t){var n;if(e>0)for(n=1;n<=e;++n)h.forward(t);else{if(!(e<0))throw new Error("History.go: History.go requires a positive or negative integer passed.");for(n=-1;n>=e;--n)h.back(t)}return h};if(h.emulated.pushState){var v=function(){};h.pushState=h.pushState||v,h.replaceState=h.replaceState||v}else h.onPopState=function(t,n){var r=!1,i=!1,s,o;return h.doubleCheckComplete(),s=h.getHash(),s?(o=h.extractState(s||h.getLocationHref(),!0),o?h.replaceState(o.data,o.title,o.url,!1):(h.Adapter.trigger(e,"anchorchange"),h.busy(!1)),h.expectedStateId=!1,!1):(r=h.Adapter.extractEventData("state",t,n)||!1,r?i=h.getStateById(r):h.expectedStateId?i=h.getStateById(h.expectedStateId):i=h.extractState(h.getLocationHref()),i||(i=h.createStateObject(null,null,h.getLocationHref())),h.expectedStateId=!1,h.isLastSavedState(i)?(h.busy(!1),!1):(h.storeState(i),h.saveState(i),h.setTitle(i),h.Adapter.trigger(e,"statechange"),h.busy(!1),!0))},h.Adapter.bind(e,"popstate",h.onPopState),h.pushState=function(t,n,r,i){if(h.getHashByUrl(r)&&h.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(i!==!1&&h.busy())return h.pushQueue({scope:h,callback:h.pushState,args:arguments,queue:i}),!1;h.busy(!0);var s=h.createStateObject(t,n,r);return h.isLastSavedState(s)?h.busy(!1):(h.storeState(s),h.expectedStateId=s.id,p.pushState(s.id,s.title,s.url),h.Adapter.trigger(e,"popstate")),!0},h.replaceState=function(t,n,r,i){if(h.getHashByUrl(r)&&h.emulated.pushState)throw new Error("History.js does not support states with fragement-identifiers (hashes/anchors).");if(i!==!1&&h.busy())return h.pushQueue({scope:h,callback:h.replaceState,args:arguments,queue:i}),!1;h.busy(!0);var s=h.createStateObject(t,n,r);return h.isLastSavedState(s)?h.busy(!1):(h.storeState(s),h.expectedStateId=s.id,p.replaceState(s.id,s.title,s.url),h.Adapter.trigger(e,"popstate")),!0};if(s){try{h.store=l.parse(s.getItem("History.store"))||{}}catch(m){h.store={}}h.normalizeStore()}else h.store={},h.normalizeStore();h.Adapter.bind(e,"unload",h.clearAllIntervals),h.saveState(h.storeState(h.extractState(h.getLocationHref(),!0))),s&&(h.onUnload=function(){var e,t,n;try{e=l.parse(s.getItem("History.store"))||{}}catch(r){e={}}e.idToState=e.idToState||{},e.urlToId=e.urlToId||{},e.stateToId=e.stateToId||{};for(t in h.idToState){if(!h.idToState.hasOwnProperty(t))continue;e.idToState[t]=h.idToState[t]}for(t in h.urlToId){if(!h.urlToId.hasOwnProperty(t))continue;e.urlToId[t]=h.urlToId[t]}for(t in h.stateToId){if(!h.stateToId.hasOwnProperty(t))continue;e.stateToId[t]=h.stateToId[t]}h.store=e,h.normalizeStore(),n=l.stringify(e);try{s.setItem("History.store",n)}catch(i){if(i.code!==DOMException.QUOTA_EXCEEDED_ERR)throw i;s.length&&(s.removeItem("History.store"),s.setItem("History.store",n))}},h.intervalList.push(a(h.onUnload,h.options.storeInterval)),h.Adapter.bind(e,"beforeunload",h.onUnload),h.Adapter.bind(e,"unload",h.onUnload));if(!h.emulated.pushState){h.bugs.safariPoll&&h.intervalList.push(a(h.safariStatePoll,h.options.safariPollInterval));if(i.vendor==="Apple Computer, Inc."||(i.appCodeName||"")==="Mozilla")h.Adapter.bind(e,"hashchange",function(){h.Adapter.trigger(e,"popstate")}),h.getHash()&&h.Adapter.onDomLoad(function(){h.Adapter.trigger(e,"hashchange")})}},(!h.options||!h.options.delayInit)&&h.init()}(window);
var accordionHelper = {
    $accordionSelector: $('.js-accordion-item'),
    $accordionContent: $('.m-accordion-content'),
	clickAccordion: function(){
		if(!$(this).hasClass('is-open')){
		    accordionHelper.$accordionSelector.removeClass('is-open');
		    accordionHelper.$accordionSelector.find(accordionHelper.$accordionContent).slideUp(400);
			$(this).addClass('is-open');
			$(this).find(accordionHelper.$accordionContent).slideDown(400);	
		}
	},
	init: function () {
	    accordionHelper.$accordionSelector.on('click', function () {
		    if (!$(this).hasClass('is-open')) {
		        var _this = $(this);
				$(this).addClass('is-open');
				$(this).find(accordionHelper.$accordionContent).slideDown(400, function () {
				    accordionHelper.$accordionSelector.not(_this).removeClass('is-open');
				    accordionHelper.$accordionSelector.not(_this).find(accordionHelper.$accordionContent).slideUp(400);
				});
		    } else {
		        $(this).removeClass('is-open');
		        $(this).find(accordionHelper.$accordionContent).slideUp(400);
		    }
		});
	}
};;
var audioHelper = {
	tooltipTimeout: false,

	init: function(){
		$('.js-audio-clip').on('click', function(){
			$(this).find('audio')[0].play();
			$(this).find('.tooltip').fadeIn();

			if(audioHelper.tooltipTimeout){
				window.clearTimeout(audioHelper.tooltipTimeout);
			}
			
			audioHelper.tooltipTimeout = window.setTimeout(function(){
				$('.js-audio-clip .tooltip').fadeOut();	
			}, 3000);
		});
	}
};;
// chMethod gets injected via the conversation health script. The CH script only loads if configuration is set to 
// load it in the web.config creating a "dummy" function for chMethod will ensure we don't get a large number of 
// console errors
var chatbot = {
	isiDrawer: $('#isi-footer-drawer'),
	chatbotWindow: $('#ChatWindow'),
	checkChat: function() {
		chatbot.winWidth = $(window).width();
		var chatIsOpen = sessionStorage.getItem("chatOpen");

		if(chatbot.winWidth < 768) {
			if (chatIsOpen === "true" && !(chatbot.isiDrawer.hasClass('chat-open'))) {
				chatbot.isiDrawer.addClass('chat-open');
			} else if (chatIsOpen === "false" && chatbot.isiDrawer.hasClass('chat-open')) {
				chatbot.isiDrawer.removeClass('chat-open');
			}
		}
		setTimeout(chatbot.checkChat, 250);
	},
	closeChat: function () {
		window.chMethod ? chMethod('closeChat') : null;
	},
	openChat: function () {
		window.chMethod ? chMethod('openChat') : null;
	},
	init: function() {
		chatbot.checkChat();
	}
};;
var customRadio = {
	init: function(){
		$('.js-custom-radio').on('click', function(){
			if($(this).hasClass('disabled')){
				return false;
			}

			$(this).siblings('.js-custom-radio').removeClass('is-selected').find('input').attr('checked', false);
			$(this).addClass('is-selected').find('input').attr('checked', true).trigger("change");
		});
	}
};;
var diagnosedWithOAB = {
    $form: $('#diagnosedWithOABForm'),
    formValues: {
        gender: null
    },
    init: function () {
        diagnosedWithOAB.setFormValidation();
    },


    setFormValidation: function () {
        diagnosedWithOAB.addValidatorMethods();
        diagnosedWithOAB.validator = diagnosedWithOAB.$form.validate({

            normalizer: function (value) {
                return $.trim(value);
            },

            highlight: function (element, errorClass, validClass) {
                var $elem = jQuery(element);
                $elem.addClass(errorClass).removeClass(validClass);
            },
            unhighlight: function (element, errorClass, validClass) {
                var $elem = jQuery(element);
                $elem.removeClass(errorClass).addClass(validClass);
            },
            errorPlacement: function (error, element) {
                error.insertAfter(element.parent().find("span.error"));
            },
            rules: {
                fname: {
                    required: true,
                    notOnlyWhiteSpaces: true
                },
                lname: {
                    required: true,
                    notOnlyWhiteSpaces: true
                },
                email: {
                    required: true,
                    easy_email: true
                },
            },
            messages: {
                fname: "First Name cannot be empty",
                lname: "Last Name cannot be empty",
                email: "Enter a valid Email Address",
            },
            submitHandler: function (form, event) {
                event.preventDefault();

                if (!$(form).valid()) {
                    $(form).trigger("FormIncomplete");
                    return false;
                } else {
                    $(form).trigger("FormComplete");
                    $("#diagnosedWithOABForm input[type=submit]").attr("disabled", true);
                    $.post({
                        url: "/api/prospect/signup",
                        data: $(form).serialize(),
                        success: diagnosedWithOAB.submitFormSuccess,
                        complete: diagnosedWithOAB.submitFormComplete
                    });
                }
            }
        });
    },

    submitFormComplete: function (data, status, jqXHR) {
        $("#diagnosedWithOABForm input[type=submit]").attr("disabled", false);
    },

    submitFormSuccess: function (data, status, jqXHR) {
        diagnosedWithOAB.$form.addClass('hidden');
        $('.js-diagnosed-with-oab-thank-you-message').show();
    },

    addValidatorMethods: function () {
        jQuery.validator.addMethod("easy_email", function (email, element) {
            return this.optional(element) || email.match(/^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/);
        }, "Enter a valid Email Address");

        jQuery.validator.addMethod("notOnlyWhiteSpaces", function (value, element) {
            return value.trim().length > 0;
        });
    }
};;
var katalyst = katalyst ? katalyst : {};
katalyst.DoctorConversationGuide = function () {
    this.form = "#dcg_form";
    this.emailform = "MainContent_DCG_Email";
};
katalyst.DoctorConversationGuide.prototype.initialize = function (isPOC) {
    this.addListeners();
    this.validator = $("#dcg_form").validate(this.validationRules).resetForm();
    this.isPOC = isPOC;
};

katalyst.DoctorConversationGuide.prototype.ANSWERED = {};

katalyst.DoctorConversationGuide.prototype.validationRules = {
    errorPlacement: function (error, element) {
        return true;
    },
    rules: {
        "q1": { required: true },
        "q2": { required: true },
        "q3": { required: true },
        "q4": { required: true },
        "q1_bother": { required: true },
        "q2_bother": { required: true },
        "q3_bother": { required: true },
        "q4_bother": { required: true }
    }
};

katalyst.DoctorConversationGuide.prototype.revealAll = function () {
  $("#dcg_form div.dcg-form, #dcg_form .js-dcg-section-1 div").removeClass("hidden");
}

katalyst.DoctorConversationGuide.prototype.setUnansweredInSection = function(sectiontag){
  var questions_in_section = $(sectiontag + ".m-dcg-question").length;
  function getQuestionsInSection(sectiontag) {
    var found = 0;
    var answers = $(sectiontag + ".answers");
    for (var i = 0; i < answers.length; i++) {
      if ($(answers[i]).find(".answer-option:checked").length > 0) {
        found++;
      }
    }
    return found;
  }
  var answered_in_section = getQuestionsInSection(sectiontag);
  var unanswered = questions_in_section - answered_in_section;
  $(sectiontag + ".load-bar .js-pluralization").removeClass("hidden");
  if (unanswered === 1) {
    $(sectiontag + ".js-pluralization").addClass("hidden");
  }
  if (unanswered == 0) {
    $(sectiontag + ".unanswered").addClass("hidden");
  }
  $(sectiontag + ".questions-above").text(unanswered);
}

katalyst.DoctorConversationGuide.prototype.setProgress = function (question) {
  if (question !== undefined) {
    this.ANSWERED[question] = true;
  }
  var questions = Object.keys(this.ANSWERED).length;
  $(".progress-fill").css("width", questions + "0%");
  $(".js-dcg-progress").text(questions);
  if (questions === 10) {
    $(".complete, .dcg-form-buttons").removeClass("hidden");
  }
  for (var i = 1; i <= 3; i++) {
    setTimeout(this.setUnansweredInSection.bind(this, ".js-dcg-section-" + i + " "), 5);
  }
}

katalyst.DoctorConversationGuide.prototype.addListeners = function () {
	var self = this;
	if (!this.INITIALIZED) {
    $("#dcg_form .js-radio-option").on('click', this.HandleRadioClick.bind(this));
		if (this.getQueryVariable('checkedAnswer')) {
			var checkedAnswer = this.getQueryVariable('checkedAnswer');
			var checkedOption = $('#' + checkedAnswer + '> .js-radio-option');
			checkedOption.trigger('click');
		}
		$("#dcg_form .js-reset-btn").on('click', this.Reset.bind(this));
		$("#dcg_form .js-next-btn").on('click', this.Next.bind(this));
		$("#dcg_form .email-form-btn").on('click', this.ShowEmail.bind(this));
		$("#dcg_form .email-now").on('click', this.EmailPDF.bind(this));
		$("#DCG_Email").on("focus", function _trackEngage() {
			$(document).trigger("DCGEmail", { action: "Engage" });
		});

		$("#DCG_Email").on("keydown", function _catchEnterKey(e) {
			var key = e.keyCode || e.which;
			if (key == 13) {
				e.preventDefault();
				$("#dcg_form .email-now").trigger('click');
				return false;
			}
			return true;
		});

    $(".dcg-download").on('click', function () {
			$("#dcg_form").trigger('submit');
		});

		$("#dcg_form").on('submit', this.Submit.bind(this));
		this.INITIALIZED = true;
	}
};

katalyst.DoctorConversationGuide.prototype.HandleRadioClick = function (e) {
  var $el = $(e.currentTarget);
  var FOR = $el.attr("for").split("_")[0];
  if ($el.closest('.m-dcg-teaser-only').length) {
    var checkedAnswer = $el.closest('.radio-button').attr('id');
    window.location.href = '/' + urlNavHelper.quizPage.Url + '?' + 'checkedAnswer=' + checkedAnswer;
    return;
  }
  this.setProgress(FOR);
  if (FOR === "q1") {
    this.revealAll();
  }
  $el.closest('.answers').find('input[type=radio]').attr('checked', false);
  $el.closest('.answers').find("label").attr("style", ""); // required for IE11 
  $el.prev('input[type=radio]').attr('checked', true);
  smoothScroll.scrollTo($el.closest('.m-dcg-question').offset().top + 10);
  if ($("#dcg_form").valid()) {
    $("#dcg_form .js-next-btn").removeClass('is-inactive');
  }
};

katalyst.DoctorConversationGuide.prototype.DownloadPDF = function (form) {
    if (this.validate()) {
        var url = this.isPOC ? "/api/poc_dcg/download": "/api/dcg/download";
        $(document).trigger("FormSuccess", { action: "MainContent_DCG_Email" });
        $.post({
            url: url,
            data: form,
            success: utilities.AjaxFileDownload
        });
    } else {
        var x = $('.error-message.js-survey-error');
        $(document).trigger("FormInvalid", { name: "dcg-next", error: x.text().trim() });
    }
    return false;
};

katalyst.DoctorConversationGuide.prototype.EmailPDF = function (e) {
    var address = $("#DCG_Email").val();
    if (utilities.isEmail(address)) {
        var url = "/api/dcg/email";
        $(document).trigger("FormFieldComplete", { formName: this.emailform, fieldName: "Email" });
      $.post(url, $(this.form).serialize(), this.EmailPDFSuccess);
    } else {
        $(document).trigger("FormInvalid", { name: this.emailform, error: "Please enter a valid email address." });
        $('.email-form .error-message').slideDown();
    }
    return false;
};

katalyst.DoctorConversationGuide.prototype.EmailPDFSuccess = function (e) {
    $(('#email-form-btn')).slideUp(250);
    $('.email-form').slideUp(250);
    $('.email-form .error-message').hide();
    $('.guide-has-been-sent').delay(250).slideDown();
    $(document).trigger("DCGEmail", { action: "Complete" });
    $(document).trigger("FloodlightRTP", {type: 'ddgrf787', category: 'ddg-e0', dclat: true });
    $(document).trigger("FormComplete", { action: this.emailform });
    $(document).trigger("FormSuccess", { action: this.emailform });
};

katalyst.DoctorConversationGuide.prototype.Next = function (e) {
    if (this.validate()) {
        $('#dcg_form .dcg-form-next-step').removeClass("hidden");
        $('#dcg_form .js-survey-error').slideUp();
        smoothScroll.scrollTo($('#dcg_form .js-reset-btn').offset().top - 10);
    } else {
        var x = $('.error-message.js-survey-error');
        $(document).trigger("FormInvalid", { name: "dcg-next", error: x.text().trim() });
        $('#dcg_form .js-survey-error').slideDown();
    }
};

katalyst.DoctorConversationGuide.prototype.Reset = function (e) {
  $('#dcg_form').trigger("reset");
  if (this.isPOC) {
    $('#dcg_form .follow-up-container').removeClass("is-visible");
  }
  $('#dcg_form input[type="radio"]').attr("checked", false);
  $('#dcg_form input[type="radio"] + label').attr("style", "background-color: #ffc72a;");  // required for IE11 
  $('#dcg_form .error-message').slideUp();
  $('#dcg_form .dcg-form-next-step').addClass("hidden");
  $(".complete, .dcg-form-buttons").addClass("hidden");
  this.ANSWERED = {}
  this.setProgress();
  smoothScroll.scrollTo($('#dcg_form').offset().top);
  $('.guide-has-been-sent').hide()
};

katalyst.DoctorConversationGuide.prototype.ShowEmail = function (e) {
    e.preventDefault();
    $('#dcg_form .email-form').removeClass("hidden");
    $('#dcg_form .email-form').show();
    $('.guide-has-been-sent').hide();
};

katalyst.DoctorConversationGuide.prototype.Submit = function (e) {
    var form = $(this.form).serialize();
    if (form.action == "email") {
        this.EmailPDF.call(this);
    } else {
        return this.DownloadPDF(form);
    }
    return false;
};

katalyst.DoctorConversationGuide.prototype.validate = function () {
    var valid = $("#dcg_form").valid();
    return valid;
};

katalyst.DoctorConversationGuide.prototype.getQueryVariable = function (variable) {
    var query = window.location.search.substring(1);
    var vars = query.split('&');
    for (var i = 0; i < vars.length; i++) {
        var pair = vars[i].split('=');
        if (decodeURIComponent(pair[0]) == variable) {
            return decodeURIComponent(pair[1]);
        }
    }
    return;
};;
var faqHelper = {
	$faqSelector: $('.js-faq-item'),
	clickFaq: function(){
		if(!$(this).hasClass('is-open')){
			faqHelper.$faqSelector.removeClass('is-open');
			faqHelper.$faqSelector.find('.faq-content').slideUp(400);
			$(this).addClass('is-open');
			$(this).find('.faq-content').slideDown(400, function(){
				smoothScroll.scrollTo($(this).parent().offset().top);	
			});
		}
	},
	init: function(){
		faqHelper.$faqSelector.on('click', function(){
		    if (!$(this).hasClass('is-open')) {
		        var _this = $(this);
				$(this).addClass('is-open');
				$(this).find('.faq-content').slideDown(400, function () {
				    faqHelper.$faqSelector.not(_this).removeClass('is-open');
				    faqHelper.$faqSelector.not(_this).find('.faq-content').slideUp(400);
				    setTimeout(function () {
				        if (window.innerWidth <= 767) {
				            smoothScroll.scrollTo(_this.offset().top - $('.js-header').height());
				        }
				    }, 400);
				});
		    } else {
		        $(this).removeClass('is-open');
		        $(this).find('.faq-content').slideUp(400, function () {
		            smoothScroll.scrollTo($(this).parent().offset().top);
		        });
		    }
		});
	}
};;
// OAB SEARCHBOX FUNCTIONALITY

var findOABSpecialist = {
		init: function(){

			var oabSearchbox = $('.fad-input');
			var submitButton = $('.fad-button');

            oabSearchbox.keypress(function _oabSearchboxKeypress(e) {
                if (e.which != 8 && e.which != 0 && (e.which < 48 || e.which > 57)) {
                    e.preventDefault();
                }
                if (e.keyCode === 13) {
                	$("#" + e.currentTarget.id).next('.fad-button').click();
			    }
            });

			oabSearchbox.on("keyup", function _oabSearchboxKeyup() {
			    var zipcode = $(this).val(),
			        $fadBtn = $(".js-fad-button");

			    $fadBtn.attr("href", $fadBtn.data("submit-href") + '?location=' + zipcode);

				if (zipcode.length < 5 && zipcode.length >= 0) {
					submitButton.addClass("disabled");
				} else if (zipcode.length === 5 || zipcode.length === 0) {
					submitButton.removeClass("disabled");
				}

			 });

            var TrackFloodlight = function () {
                if ($("body").hasClass("is-default")) { $(document).trigger("FloodlightRTP", { type: '2018s00', category: 'finda0', dclat: true }); }
                if ($("body").hasClass("is-newlydiagnosed")) { $(document).trigger("FloodlightRTP", { type: '2018s000', category: 'finda0', dclat: true }); }
                if ($("body").hasClass("is-lapsed")) { $(document).trigger("FloodlightRTP", { type: '2018s002', category: 'finda0', dclat: true }); }
                if ($("body").hasClass("is-parent-oab_living_with")) { $(document).trigger("FloodlightRTP", { type: '2018s003', category: 'finda0', dclat: true }); }
                if ($("body").hasClass("is-parent-myrbetriq_why")) { $(document).trigger("FloodlightRTP", { type: '2018s004', category: 'finda0', dclat: true }); }
            }

			submitButton.click(function _submitButtonClick(e) {
			    var zip = $(this).parent().find("input").val();
			    var hrefAppend = $(this).attr('href');
			    var fadButton = $('.fad-button');
			    var $fadInput = $(this).next('.fad-input');
			    var continueButton = $('.js-leaving-continue');

			    if (fadButton.hasClass("disabled") || fadButton.hasClass("initial")) {
			        e.stopImmediatePropagation();
			        return false;
			    } else {
			        e.preventDefault();
			        $(document).trigger("CTAClickRTP", { location: "content", text: "find-a-specialist", action: "learning" });
			        TrackFloodlight();
			        modalHelper.openExitModal(".js-leaving-modal");
			        modalHelper.$leavingModal.addClass('is-web-md');
			        continueButton.attr("href", hrefAppend);
			        $fadInput.blur();
			    }
			});

			oabSearchbox.focus(function _oabSearchboxFocus() {
				submitButton.removeClass("initial");
				var zipcode = $(this).val();
				if (zipcode.length < 5 && zipcode.length >= 0) {
					submitButton.addClass("disabled");
				}
			});

			oabSearchbox.blur(function _oabSearchboxBlur() {
				var zipcode = $(this).val();
				if (zipcode.length === 0) {
					submitButton.removeClass("disabled").addClass("initial");
				}
            });
		}
};;
var flipcardHelper = {
    init: function () {
        $(".flipper").on("mouseenter", function () {
	        var classes = this.classList;
	        var match = "";
	        for (var i = 0; i < classes.length; i++) {
	            var matches = /is-(.*)/.exec(classes[i]);
	            if (matches != null) {
	                match = matches[1];
	            }
	        }
            try{
                Katalytics.Track.FlipCard({ rtp: { type: match } });
            } catch(e) {
                console.log("error in runtime analytics. flipcard.js", e.message);
            }
	    });

	    $(".m-flip-card").on("touchmove", function (e) {
	        e.preventDefault();
	    });

	    $(".m-flip-card").on("touchend", function (e) {
	        $(".m-flip-card").not($(this)).removeClass("hover");
	        $(this).toggleClass("hover");
	    });
	}
};;
var headerHelper = {
    previousScroll: $(window).scrollTop(),
    mobileHeaderHeight: 68,
    preventScrollHide: false,
    hideAffordance: 25,
    hoverTimeout: null,

    init: function () {
        headerHelper.initScrollHide();
        headerHelper.initMobileNav();
        headerHelper.initSubNav();
    },

    initMobileNav: function(){
        $('.js-nav-btn').on('click', function () {
            console.log($(this).hasClass('is-open'))
            if ($(this).hasClass('is-open')){
                headerHelper.closeMobileNav()
            }
            else{
                headerHelper.openMobileNav();
            }
		    headerHelper.unhideHeader();
		});
	},

    openMobileNav: function(){
        $('.js-nav-btn').addClass('is-open');
        $("header").addClass("is-open");
        $('.js-mobile-nav').addClass('is-visible');
    },

    closeMobileNav: function(){
        $('.js-nav-btn').removeClass('is-open');
        $("header").removeClass("is-open");
        $('.js-mobile-nav').removeClass('is-visible');

    },

    initSubNav: function () {
        $('.js-mobile-nav li.is-expandable .expand').on('click', function(){
            if($(this).parent().hasClass('is-open')){
                $(this).parent().removeClass('is-open');
            } else {
                $(this).parent().siblings('.is-expandable').removeClass('is-open');
                $(this).parent().addClass('is-open');
            }
        });
    },

    initScrollHide: function () {
        $(window).scroll(function () {
            headerHelper.checkScroll();
        });
    },

    // initSubNavHover: function() {
    //     console.log('subnav hover')
    //     $('.js-header .nav-link').parents('li').on('mouseleave', function (e) {
    //         console.log('mouseleave')
    //         // clearTimeout(headerHelper.hoverTimeout);
    //         $(e.target).parents('li').removeClass('hover');
    //     });
    //     $('.js-header .nav-link').parents('li').on('mouseenter', function (e) {
    //         console.log('mouseenter')
    //         // clearTimeout(headerHelper.hoverTimeout);
    //         $(e.target).parents('li').addClass('hover');
    //         // headerHelper.hoverTimeout = setTimeout(function () {
    //         // }, 100);
    //     });
    // },

    checkScroll: function(){
        if ($('.js-header').hasClass('scroll-lock') || (window.innerWidth < 768 && window.location.search.indexOf('edmode') > -1)) {
            return false;
        }
        var currentScroll = $(window).scrollTop();
        if (currentScroll <= 0 || currentScroll > ($(document).height() - $(window).height() - 100)) {
            $('.js-btn-page-nav').removeClass('hover');
            return false;
        }
        if (currentScroll > (headerHelper.previousScroll + 5) && currentScroll > headerHelper.getHeaderHeight() && !headerHelper.preventScrollHide) {
            if (!$('.js-mobile-nav').hasClass('is-visible')) {
                headerHelper.hideHeader();
                headerHelper.previousScroll = currentScroll;
            }
        } else if (currentScroll < (headerHelper.previousScroll - headerHelper.hideAffordance)) {
            headerHelper.unhideHeader();
            headerHelper.previousScroll = currentScroll;
        }
    },

    getHeaderHeight: function (include_margins) {
      if (headerHelper.isHeaderHidden()) {
        return 0;
      }
      return $('.js-header:visible').outerHeight();
    },

    getFixedHeaderHeight: function(){
      var winWidth = $(window).innerWidth();

      if (winWidth < 768) {
        return 121.5;
      }
      else if (winWidth >= 768 && winWidth <= 778) {
        return 164;
      }
      else if (winWidth > 778 && winWidth <= 945) {
        return 171;
      }
      else if (winWidth > 945 && winWidth <= 1159) {
        return 177;
      }
      else if (winWidth === 1160) {
        return 188.5;
      }
      else if (winWidth >=1161) {
        return 193.5;
      }
    },

    hideHeader: function () {
        if (!$('.js-header').hasClass('is-hidden')) {
            var headerMargin = -headerHelper.getHeaderHeight();

            $('.js-header').stop(true, true).animate({
                'marginTop': headerMargin
            }, 200);

            $('.js-header').addClass('is-hidden');
            $('.js-btn-page-nav').removeClass('hover');
        }
    },

    unhideHeader: function () {
        if ($('.js-header').hasClass('is-hidden')) {
            $('.js-header').removeClass('is-hidden');
            $('.js-header').stop(true, true).animate({
                'marginTop': 0
            }, 200);
            $('.js-btn-page-nav').addClass('hover');
        }
    },

    isHeaderHidden: function () {
        return $('.js-header').hasClass('is-hidden');
    }
};;
var isiHelper = {
	isiElem: $('.js-isi-drawer'),
	isiFooterElem: $('.js-isi-main'),

	init: function(){
		isiHelper.attachScrollHandler();
		isiHelper.attachFixedISIHandler();
		isiHelper.attachAnchorLink();
		isiHelper.detectAnchorLink();
	},

	attachAnchorLink: function(){
		$('.js-isi-anchor').on('click', function(e){
			e.preventDefault()
			smoothScroll.scrollTo(isiHelper.isiFooterElem.offset().top);
		});
	},

	detectAnchorLink: function(){
	    if (window.location.pathname.indexOf("/isi") >= 0) {
	        smoothScroll.scrollTo(isiHelper.isiFooterElem.offset().top);
	    }
	},

	attachFixedISIHandler: function(){
	    $('.js-isi-expand').on('click', function () {
			isiHelper.isiElem.toggleClass('is-expanded');
			headerHelper.closeMobileNav();
			chatbot.closeChat();
		});
	},

	//Attach scroll actions for ISI bar
	attachScrollHandler: function(){
		$(window).on('scroll touchmove', function(){
			//Hide ISI fixed once scrolled past main isi.
			if(isiHelper.isMainFooterVisible() === true){
				isiHelper.hideFixedIsi();
				chatbot.closeChat();
			} else {
				isiHelper.unhideFixedIsi();
			}

		});
	},

	//Check to see if footer ISI is in viewport.
	isMainFooterVisible: function(){
		var scrollBottom = $(window).scrollTop() + $(window).height();
		var isiPos = isiHelper.isiFooterElem.offset().top + isiHelper.isiElem.outerHeight();
		if(scrollBottom > isiPos){
			return true;
		} else {
			return false;
		}
	},

	//Hide fixed position ISI
	hideFixedIsi: function(){
		isiHelper.isiElem.addClass('is-hidden');
	},

	//Unhide fixed position ISI
	unhideFixedIsi: function(){
		isiHelper.isiElem.removeClass('is-hidden');
	}
};;
/*
We're calling the libray lozad.js 
documentation can be found at: https://github.com/ApoorvSaxena/lozad.js
It is important to know that we lazy loading will have to be disabled for screenshots!
You can easily deactivate lazyload here. 
*/
class LazyLoad {
    constructor(){
        //set false when SciReg is doing screenshots and set to true if we're deploying website
        this.lazyLoading = false;
        this.lazyLoading ? this.initLazyLoad() : this.setScreenshotSettings();
    }

    initLazyLoad() {
        //initiate Lazy Load via Lozad library
        const observer = lozad();
        observer.observe();
    }

    setScreenshotSettings(){
        //get all images that would be lazy loaded
        const lazyLoadImages = document.querySelectorAll('.lozad');
        lazyLoadImages.forEach(image => {
            const imageSrc = image.getAttribute('data-src');
            const bgImageSrc =  image.getAttribute('data-background-image');
            
            if(imageSrc){
                //setting the normal images src so they are loaded on page load
                image.src = imageSrc;
            }
            if(bgImageSrc){
                //setting inline background images so they are loaded on page load
                //Do not add background image on mobile menu find a doctor
                if(!image.classList.contains('m-cta-fad-mobile-menu')) {
                    image.style.backgroundImage = `url(${bgImageSrc})`;
                }
            }
        });
    }
};
var modalHelper = {
    animationSpeed: 400,
    $closeModalSelector: $(".js-close-modal, .js-modal-overlay"),
    $exitLinkSelector: $('.js-outbound-modal'),
    $exitLinkCloseModalSelector: $(".js-close-exit-modal, .js-exit-modal-overlay, .js-leaving-continue"),
    $leavingSiteButton: $('.js-leaving-continue'),
    $leavingModal: $('.js-leaving-modal'),
    $overlaySelector: $('.js-modal-overlay'),
    $exitOverlaySelector: $('.js-exit-modal-overlay'),
    $dcgModalLink: $('.dcg-modal__link'),
    $comboModal: $('.js-modal-combo'),
    $stackedModalSelector: null,

	init: function(){
		$(".js-combo-button").on("click", this.openModal.bind(this, ".js-modal-combo"));
	    modalHelper.$exitLinkSelector.on('click', modalHelper._exitLinkSelector);
        modalHelper.$closeModalSelector.on('click', modalHelper._modalClose);
        modalHelper.$exitLinkCloseModalSelector.on('click', modalHelper._exitModalClose);
	    modalHelper.$leavingSiteButton.on('click', modalHelper._leavingSite);
	    modalHelper.$dcgModalLink.on('click', function () {
	        modalHelper.closeModal();
	    });
	    if (utilities.getURLParameter("modal") === 'dcg') {
	        modalHelper.openModal(".js-modal-dcg");
	    }
	},

	_checkClass: function(c) {
		if ($(this).hasClass(c)) {
			modalHelper.$leavingModal.addClass(c);
		} else {
			modalHelper.$leavingModal.removeClass(c);
		}
	},

	_exitLinkSelector: function(e) {
		e.preventDefault();
		modalHelper.$leavingSiteButton.attr("href", $(this).attr("href"));
		['is-twitter',
		 'is-twitter-astellas',
		 'is-astellas',
		 'not-astellas',
		 'is-facebook',
		 'is-fda',
		 'is-web-md',
		 'is-prevention',
		 'is-readers-digest',
		 'is-telehealth'
		].forEach(modalHelper._checkClass.bind(this));
		$(document).trigger("ExitLinkInterstitialView", { event: e });
		modalHelper.openExitModal();
	},

	_leavingSite: function(e) {
		var href = $(e.target).attr('href');
		if(/facebook/.test(href)){
			$(document).trigger("Facebook", { event: e, url: href });
		} else if (/twitter/.test(href)) {
		    $(document).trigger("Twitter", { event: e, url: href });
		} else if (/vitals/.test(href)) {
		    $(document).trigger("FindADoctor", { event: e, url: href });
		    modalHelper.$stackedModalSelector = $(".js-modal-dcg");
		    modalHelper.openModal(".js-modal-dcg");
		}
		window.open(href, '_blank', 'scrollbars,location,menubar,toolbar,resizable,status');
	},

	_modalClose: function(e) {
		e.preventDefault();
		modalHelper.closeModal();
    },

    _exitModalClose: function (e) {
        e.preventDefault();
        modalHelper.closeExitModal();
    },

	closeExitModal: function () {
		// removes the classes after closing the modal to avoid duplicating/stacking the exit messages
		setTimeout(function () {
			['is-twitter',
			 'is-twitter-astellas',
			 'is-astellas',
			 'not-astellas',
			 'is-facebook',
			 'is-fda',
			 'is-web-md',
			 'is-prevention',
			 'is-readers-digest',
			 'is-telehealth'
			].forEach(function (cl) {
			 modalHelper.$leavingModal.removeClass(cl)
			});
		}, modalHelper.animationSpeed);
		modalHelper.$leavingModal.fadeOut(modalHelper.animationSpeed);
		modalHelper.$exitOverlaySelector.fadeOut(modalHelper.animationSpeed);
		$(window).unbind("keydown.modal");
	},

    openExitModal: function () {
        var selector = ".js-leaving-modal"
        if ($(selector).length === 1) {
            //Show modal
            modalHelper.$exitOverlaySelector.fadeIn();
            $(selector).fadeIn();
            //Bind escape key to close modal
            $(window).bind("keydown.modal", function _modalKeyDown(e) {
                if (e.keyCode === 27) {
                    modalHelper.closeExitModal();
                }
            });
        }
    },

	openModal: function (selector) {
		if ($(selector).length === 1) {
			//Show modal
			modalHelper.$overlaySelector.fadeIn();
			$(selector).fadeIn();
			//Bind escape key to close modal
			$(window).bind("keydown.modal", function _modalKeyDown(e) {
				if (e.keyCode === 27) {
					modalHelper.closeModal();
				}
			});
		}
	},

	closeModal: function () {
	// removes the classes after closing the modal to avoid duplicating/stacking the exit messages
		setTimeout(function () {
			['is-twitter',
			 'is-twitter-astellas',
			 'is-astellas',
			 'not-astellas',
			 'is-facebook',
			 'is-fda',
			 'is-web-md',
			 'is-prevention',
			 'is-readers-digest',
			 'is-telehealth'
			].forEach(function (cl) {
			 modalHelper.$leavingModal.removeClass(cl)
			});
		}, modalHelper.animationSpeed);
		modalHelper.$comboModal.fadeOut(modalHelper.animationSpeed);
		modalHelper.$overlaySelector.fadeOut(modalHelper.animationSpeed);

		if (modalHelper.$stackedModalSelector) {
		 modalHelper.$stackedModalSelector.fadeOut(modalHelper.animationSpeed);
		 modalHelper.$stackedModalSelector = null;
		}
		$(window).unbind("keydown.modal");
	}
};
;
var momentumHelper = {
    $momentumForm: $('#signUpSilverForm'),
    formValues: {
		gender: null
    },
	init: function(){
		momentumHelper.setFormValidation();

		momentumHelper.$momentumForm.find('select#state').select2({
		    minimumResultsForSearch: Infinity,
		    placeholder: "Please select a state"
		}).on('change', function () {
			$(this).valid();	
		});

		momentumHelper.$momentumForm.find('select#status').select2({
		    minimumResultsForSearch: Infinity,
		    placeholder: "Please select an option"
		}).on('change', function () {
		    $(this).valid();
		});

		$('.js-momentum-show-btn').on('click', function(){
			if($(this).hasClass('is-arrow-down')){
				$(this).removeClass('is-arrow-down');
				momentumHelper.$momentumForm.addClass('hidden');
				$(document).trigger("FormShow", { formName: 'enrollment', open: false });
			} else {
				$(this).addClass('is-arrow-down');
				momentumHelper.$momentumForm.removeClass('hidden');
				smoothScroll.scrollTo($('.js-momentum-show-btn').offset().top);
				$(document).trigger("FormShow", { formName: 'enrollment', open: true });
			}
		});
		momentumHelper.setTracking();
	},

	setTracking: function () {
	    $("#signUpSilverForm input, #signUpSilverForm select").on("change", function _trigger() {
	        if (this.type === "radio") { return; }
	        if (this.value && momentumHelper.formValues[this.id] !== this.value) {
	            momentumHelper.formValues[this.id] = this.value;
	            $(this).trigger("FormFieldComplete");
	        }
	    });
	    $("#signUpSilverForm input:radio").on("change", function _trigger() {
	        if (this.checked && this.id !== momentumHelper.formValues.gender) {
	            momentumHelper.formValues.gender = this.id;
	            $(this).trigger("FormFieldComplete");
	        }
	    });
	    $("#signUpSilverForm input[type=submit]").on('click', function _trigger() {
	        if (!momentumHelper.$momentumForm.valid()) {
	            $(this).trigger("FormIncomplete");
	        }
	    });
	},

	isNumberKey: function (evt) {
		var charCode = (evt.which) ? evt.which : event.keyCode;
		if (charCode > 31 && (charCode < 48 || charCode > 57)) return false;
		return true;
	},

	setFormValidation: function(){
		momentumHelper.addValidatorMethods();
		momentumHelper.validator = momentumHelper.$momentumForm.validate({

		    normalizer: function (value) {
		        return $.trim(value);
		    },
			groups: {
			    dob: "mm dd yyyy",
				gender: "male female"
			},
			highlight: function (element, errorClass, validClass) {
			   var $elem = jQuery(element);
				$elem.addClass(errorClass).removeClass(validClass);
				if ($elem.attr("name") === "gender") {
					$elem.closest(".field").addClass('error-container');
				}
			},
			unhighlight: function (element, errorClass, validClass) {
				var $elem = jQuery(element);
				$elem.removeClass(errorClass).addClass(validClass);
				if ($elem.attr("name") === "gender") {
					$elem.closest(".field").removeClass('error-container');
				}
			},
			errorPlacement: function (error, element) {
			    if (element.attr("name") == "mm" || element.attr("name") == "dd" || element.attr("name") == "yyyy") {
				    error.appendTo(momentumHelper.$momentumForm.find("label[for=dob]"));
				} else if (element.attr("name") == "gender") {
				    error.appendTo($("#gender-label-silver"));
				} else if (element.attr("name") == "therapy") {
				    error.appendTo($("#therapy-label"));
				} else {
				    error.insertAfter(element.parent().find("span.error"));
				}
			    $(document).trigger("FormInvalid", { name: "momentum", error: $(error).text() });
			},
			rules: {
				fname: {
				    required: true,
				    notOnlyWhiteSpaces: true
				},
				lname: {
				    required: true,
				    notOnlyWhiteSpaces: true
				},
				email: {
					required: true,
					easy_email: true
				},
				mm: {
				    required: true,
				    digits: true,
				    maxlength: 2,
				    validDate: true,
				    validAge: true
				},
				dd: {
					required: true,
					digits: true,
                    maxlength: 2,
					validDate: true,
					validAge: true
				},
				yyyy: {
					required: true,
					digits: true,
					minlength: 4,
					validDate: true,
					validAge: true
				},
				address: { 
				    required: true,
				    notOnlyWhiteSpaces: true
				},
				city: {
				    required: true,
				    notOnlyWhiteSpaces: true
				},
				state: {
					required: true
				},
				zip: {
					required: true,
					minlength: 5,
					digits: true
				},
				gender: {
					required: true
				},
				status: {
				    required: true
				}
			},
			messages: {
				fname: "First Name cannot be empty",
				lname: "Last Name cannot be empty",
				email: "Enter a valid Email Address",
				mm: {
					required: "Enter a valid Date of Birth",
					validAge: "You must be 18 years of age or older to register",
					validDate: "Enter a valid Date of Birth",
					minlength: "Enter a valid Date of Birth",
					digits: "Enter a valid Date of Birth"
				},
				dd: {
				    required: "Enter a valid Date of Birth",
				    validAge: "You must be 18 years of age or older to register",
				    validDate: "Enter a valid Date of Birth",
				    minlength: "Enter a valid Date of Birth",
				    digits: "Enter a valid Date of Birth"
				},
				yyyy: {
				    required: "Enter a valid Date of Birth",
				    validAge: "You must be 18 years of age or older to register",
				    validDate: "Enter a valid Date of Birth",
				    minlength: "Enter a valid Date of Birth",
				    digits: "Enter a valid Date of Birth"
				},
				address: "Enter a Street Address",
				city: "Enter a City",
				state: "Please select a State",
				zip: "Enter a valid ZIP code",
				gender: "Please select an option",
				status: "Please select an option"

			},
			submitHandler: function (form) {
			    if (!$(form).valid()) {
			        $(form).trigger("FormIncomplete");
			        return false;
			    } else {
			        $(form).trigger("FormComplete");
			        $.post({
			            url: "/api/momentum/signup",
			            data: $(form).serialize(),
			            success: momentumHelper.submitFormSuccess
			        });
			    }
			}
		});
	},

	submitFormSuccess: function (data, status, jqXHR) {
	    console.log("success", data, status, jqXHR);
	    momentumHelper.$momentumForm.addClass('hidden');
	    $('.js-momentum-thank-you-message').show();
	    //smoothScroll.scrollTo($('.m-heading-sub-3').offset().top);
	},

	addValidatorMethods: function () {
		jQuery.validator.addMethod("easy_email", function (email, element) {
			return this.optional(element) || email.match(/^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/);
		}, "Enter a valid Email Address");

		jQuery.validator.addMethod("validAge", function (bday, element) {

		    var day = $("#dobDaySilver").val();
		    var month = $("#dobMonthSilver").val();
		    var year = $("#dobYearSilver").val();

			if (day !== "" && month !== "" && year !== "") {
				var birthday = new Date(year + "-" + month + "-" + day);

				var dateNow = Date.now() || function(){ return +new Date(); };
				var ageDifMs = dateNow - birthday.getTime();
				var ageDate = new Date(ageDifMs); // miliseconds from epoch
				var age = ageDate.getUTCFullYear() - 1970;

				if (age < 18) return false;

			}

			return true;

		}, "You must be 18 years of age or older to register");

		jQuery.validator.addMethod("validDate", function (bday, element) {

		    var day = $("#dobDaySilver").val();
		    var month = $("#dobMonthSilver").val();
		    var year = $("#dobYearSilver").val();

			if (day !== "" && month !== "" && year !== "") {
				// Check the ranges of month and year
				if (year < 1000 || year > 3000 || month === 0 || month > 12) {
					return false;
				}

				var monthLength = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];

				// Adjust for leap years
				if (year % 400 === 0 || (year % 100 !== 0 && year % 4 === 0)) monthLength[1] = 29;

				// Check the range of the day
				if (day < 1 || day > monthLength[month - 1]) {
					return false;
				}
			}
			return true;

		}, "Enter a valid Date of Birth");

		jQuery.validator.addMethod("notOnlyWhiteSpaces", function (value, element) {
		    return value.trim().length > 0;
		});
	}
};;
var nextPrevArrows = {
    selector: $('.js-btn-page-nav'),
    init: function () {
        //nextPrevArrows.addListeners();
    },
    addListeners: function () {
        nextPrevArrows.selector.on('click', function (e) {
            if ($(window).width() <= 1024 && !$(this).hasClass('hover')) {
                e.preventDefault();
                nextPrevArrows.selector.removeClass('hover');
                $(this).addClass('hover');
            }
        });

        $(window).on('touchend', function (e) {
            if ($(window).width() <= 1024 && $(e.target).closest(nextPrevArrows.selector).length === 0) {
                nextPrevArrows.selector.removeClass('hover');
                nextPrevArrows.currNavEl = null;
            }
        });
    }
};;
var panelsHelper = {
	$panelSelector: $('.js-panel'),
	$panelToggleSelector: $('.js-panel .toggle-btn'),

	init: function(){
		if($('.js-nav-btn:visible').length){
			panelsHelper.initMobileHandler();
		} else {
			panelsHelper.initDesktopHandler();	
		}
		panelsHelper.checkUrlHash();
	},

	checkUrlHash: function(){
		// Map for each anchor link {anchorLink: dataAttribute}
		var anchorMap = {
			'learning-about-oab': 	'learning',
			'ask-about-myrbetriq': 	'ready',
			'tried-other-options': 	'tried',
			'starting-myrbetriq': 	'starting'
		};
		if(anchorMap.hasOwnProperty(location.hash.substr(1))){
			// If on mobile first close the open panel
			if($('.js-nav-btn:visible').length){
				$('[data-panel="learning"] .toggle-btn').trigger('click');
			}
			// Open panel
			$('[data-panel=' + anchorMap[location.hash.substr(1)] + '] .toggle-btn').trigger('click');
		}
	},

	track: function (name) {
	    $(document).trigger("PanelClick", { panel: name });
	},

	initMobileHandler: function(){
		panelsHelper.setInactiveClasses();

		panelsHelper.$panelSelector.on('click', function(){
			if($(this).hasClass('is-collapsed')){
				$(this).removeClass('is-collapsed');
				panelsHelper.setInactiveClasses();
				panelsHelper.track($(this).data("panel"));
				window.scrollTo(0, $(this).offset().top);
			}
		});

		panelsHelper.$panelToggleSelector.on('click', function(e){
		    e.stopPropagation();
			if(!$(this).closest('.js-panel').hasClass('is-collapsed')){
			    $(this).closest('.js-panel').addClass('is-collapsed');
			} else {
			    $(this).closest('.js-panel').removeClass('is-collapsed');
			    window.scrollTo(0, $(this).parents(panelsHelper.$panelSelector).offset().top);
			}
			panelsHelper.track($(this).data("panel"));
			panelsHelper.setInactiveClasses();
		});
	},

	initDesktopHandler: function(){
	    panelsHelper.$panelSelector.on('click', function () {
			if($(this).hasClass('is-collapsed')){
				panelsHelper.$panelSelector.addClass('is-collapsed');
				$(this).removeClass('is-collapsed');

				panelsHelper.$panelSelector.removeClass('push-left');
				$(this).prevAll('.js-panel').addClass('push-left');

				$('.js-homepage-panels .js-panel .panel-border').css('display', 'none').height();
				$('.js-homepage-panels .js-panel .panel-border').css('display', 'block');

				panelsHelper.setInactiveClasses();
				panelsHelper.track($(this).data("panel"));
			}
		});
	},

	setInactiveClasses: function(){
		for(var j = 0; j <= panelsHelper.$panelSelector.length; j++) {
			panelsHelper.$panelSelector.filter(".inactive-" + j).removeClass("inactive-" + j);
		}

		panelsHelper.$panelSelector.filter(".is-collapsed").each(function(i) {
			$(this).addClass("inactive-" + i);
		});	
	}
};;
var pricingDisclosure = {
    $accordionSelector: $('.pricing-details .is-insurance-box .m-button-arrow[data-insurance]'),
    $accordionContent: $('.pricing-details .insurance-content'),
	init: function () {
	    pricingDisclosure.$accordionSelector.on('click', function () {
	    	var _this = $(this);
	    	if (!$(this).hasClass('active')) {

				$(this).addClass('active');
				pricingDisclosure.$accordionContent.find(".insurance-content-wrapper").removeClass("active");
				pricingDisclosure.$accordionContent.find(".insurance-content-wrapper." + $(this).attr("data-insurance")).addClass("active");

				pricingDisclosure.$accordionContent.slideDown(400, function () {
				    pricingDisclosure.$accordionSelector.not(_this).removeClass('active');
				});
		    } else {
		        
		        pricingDisclosure.$accordionContent.slideUp(400, function (){
		        	$(_this).removeClass('active');
		        });
		    }
		});
	}
};;
var printPage = {
  init: function() {
    this.addListeners();
  },

  addListeners: function(){
    $('.print-btn').on('click', this.printPage);
  },

  printPage:function(){
    window.print();
  }
};
var resourceVideo = {
    filterVideo: function (filterName) {
        if (filterName === "all") {
          $("[data-video-player]").show();
          $('.button-row-symptoms').show(); // if filter is all then show us the show more buttton
          $('#show_more_component').hide(); // but also make sure to hide the videos that the show more button will reveal
          return;
        }
        $("[data-video-player]").hide();
        $('.button-row-symptoms').hide(); // if videos are filtered hide the show more button
        $('#show_more_component').show(); // and also show all the videos that would have been hidden with the show more button. The top filter is now in charge
        $("[data-video-player=" + filterName + "]").show();
    },

    checkLandingFilter: function(){
        var matches = /show=(\w+)/.exec(document.location.search);
        return matches === null ? "all" : matches[1];
    },

    clickFilter: function (event) {
        // within this scope THIS does not equal the resourceVideo object
        // but instead represents the filter element which was just clicked
        let filter = $(this).attr("data-video");
        $('.resource-filter').removeClass("active");
        $(this).addClass("active");
        resourceVideo.filterVideo(filter);
    },

    init: function() {
        let currentFilter = this.checkLandingFilter();
        $('.resource-filter').on('click', this.clickFilter);
        $('[data-video=' + currentFilter + ']').trigger('click');
	}
};
class Likes {
    constructor(){
        this.page = document.querySelector('.page-type').dataset.pageId;
        this.likeBtn = document.getElementById('like');
        this.getPageLikes();
        
        this.likeBtn.addEventListener('click', () => {
            return this.setPageLikes();
        });
    }

     //checking on page load if page was already liked in the past
     getPageLikes(){
        if(localStorage.getItem(this.page) === '1') {
            this.likeBtn.classList.add('liked');
        }
    }

    setPageLikes(){
        //if page is already liked, then remove LIKE
        if(localStorage.getItem(this.page) === '1') {
            localStorage.setItem(this.page, '0');
            this.likeBtn.classList.remove('liked');   
            this.storePageLikes(-1);
        }
        //if page is not liked, then set LIKE
        else {
            localStorage.setItem(this.page, '1');
            this.likeBtn.classList.add('liked');
            this.storePageLikes(1);
        }
    }

    //Send LIKE to database
    storePageLikes(likeValue){
        fetch(`/api/fetch-likes/${this.page}/${likeValue}`,{
            method: 'POST'
        })
        .then(response => response.json())
        .then(data => {
            console.log(`Like was sucessfully updated in DB.`);
        });
    }
};
//setting up tile sliders on page
function setTileSliders(){
  const tileSliders = document.querySelectorAll('.scroll-list');
  if(tileSliders.length !== 0){
    tileSliders.forEach((tileSlider) => {
      const containerId = tileSlider.id;
      const buttons = `#${containerId} .scroll-slider__tiles-buttons-wrapper`;
      new ScrollSlider(`#${containerId} .scroll-slider`, buttons, 300);
    });
  }
}

//set up category page
function setCategoryPage(){
  const pageTiles = document.querySelectorAll('.page-type-category__tile');
  const pageId = document.querySelector('.page-type').dataset.pageId;
  const maxTiles = 15;

  //checking the number of tiles
  if(Array.from(pageTiles).length > maxTiles){
    //hiding tiles 
     showAndHideTiles('.page-type-category__tile', maxTiles, 'hide');
     //adding show more eventlistenter to buttons
     setLoadMoreButton();
  }
}

//Function hides tiles on DOM load and shows them with the load more button
function showAndHideTiles(tiles, count, affectedClass){
  const categoryTiles = document.querySelectorAll(tiles);
  categoryTiles.forEach((tile, index) => {
    if(index >= count){
      tile.classList.add(affectedClass);
    }
    else {
      tile.classList.remove(affectedClass);
      //check if there are tiles left in DOM
      if(Array.from(categoryTiles).length - count <= 0 ){
        document.getElementById('category-load-more').classList.add('hide');
      }
    }
  });
}

function setLoadMoreButton(){
  const btnWrapper = document.getElementById('category-load-more');
  const loadMoreBtn = document.querySelector('.page-type-category__load-more');
  
  btnWrapper.classList.remove('hide');
  loadMoreBtn.addEventListener('click', () => {
    return showAndHideTiles('.page-type-category__tile.hide', 15, 'hide');
  });
}

//showing correct triple tile at bottom of page
function setTripleTiles(){
  const currentPageCategoryId = document.querySelector('.page-type').dataset.pageId;
  const allTripleTiles = document.querySelectorAll('.triple-tiles');

  allTripleTiles.forEach(tripleTile => {
    if(tripleTile.dataset.tripleTileId === currentPageCategoryId) {
      tripleTile.classList.remove('hide');
    }
  });
}

//to choose between video and content tile
function setTileType() {
  const contentTiles = document.querySelectorAll('.content-tile');
  const categories = ['Video', 'VideoRecipe', 'VideoArticles', 'VideoRecipes'];
  const len = categories.length;
  
  contentTiles.forEach(tile => {
    for(let i = 0; i < len; i++) {
    if(tile.dataset.tileType === categories[i] ){ 
        tile.classList.add('content-tile-video');
      }
    }
  });
}

//Hiding Speech bubble when article has not content inside bubble
function removeArticleSpeechBubble(){
  const speechBubble = document.querySelector('.article-page__speech-bubble');
  const len = speechBubble.innerText.length;
  if(len <= 5) {
    speechBubble.classList.add('hide');
  }
}

//Checking if article has a long image inside of copy
function artcileImgFullWidth(){
  const articleImg = document.querySelector('.article-page__image-full-width');
  if(articleImg.src.length !== 0){
    articleImg.classList.remove('hide');
  }
}

//highlighting navigation and scroll button into viewport
 function highlightNav(){
    const navItems = document.querySelectorAll('.scroll-slider__nav-item'); 
    const url = window.location.href;
    const lastSeg = url.split('/');

    navItems.forEach(navItem => {
      navItem.classList.remove('active');
      if(navItem.id === lastSeg[lastSeg.length - 2]) {
        navItem.classList.add('active');
        navItem.nextElementSibling.scrollIntoView({behavior: "auto", block: "center", inline: "center"});
      }
    });
 }

 function setQuote(){
   const quoteImg = document.querySelector('.video-article-page__image-quote-img');
   const quoteHeadline = document.querySelector('.video-article-page__image-quote-h1');

   if(quoteImg.src === ''){
    quoteHeadline.classList.add('video-article-page__image-quote-h1--no-quote-img');
   }
 }

const ResourcesPortal = {
  init() {
    //checking which page we're on
    const pagetype = document.querySelector('.page-type').dataset.pageType;
    new ScrollSlider();
    setTileSliders();
    highlightNav();
    setTileType();
    
    switch (pagetype) {
      case 'category':
        setCategoryPage();
        setTripleTiles();
        break;

        case 'article':
          new Likes();
          artcileImgFullWidth();
          removeArticleSpeechBubble();
        break;

        case 'recipe':
          new Likes();
        break;

        case 'video-recipe':
          new Likes();
        break;

        case 'video-article':
          new Likes();
          setQuote();
        break;
    
      default:
        
        break;
    }
  }
}
;
//Data for Scenario Section on the featured page
//Using an Object for scoping and avoid adding to many vairables into the window object
const scenarioData = {
    notDiagnosed : {
        id: 'notDiagnosed',
        list: [
            {
                TitleHeadline: 'Drink This, Swap That', 
                viewing: 'Watch Now', 
                time: '1:00', 
                hero:'/content/images/resourceportal/articles/video/refreshing-alternatives.png', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/refreshing-alternatives', 
                download: false 
            },
            {
                TitleHeadline: 'How to Keep Your Furniture Fresh', 
                viewing: 'Watch Now', 
                time: '1:10', 
                hero:'/content/images/resourceportal/articles/video/diy-cleaning-solutions.png', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/diy-cleaning-solutions',
                 download: false
            },
            {
                TitleHeadline: 'How to Power Up Your Pelvic Muscles', 
                viewing: 'Watch Now', 
                time: '0:59', 
                hero:'/content/images/resourceportal/articles/video/strengthening-your-pelvic-muscles.png', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/strengthening-your-pelvic-muscles', 
                download: false
            }
        ]
    },
    diagnosed: {
        id: 'diagnosed',
        list: [
            {
                TitleHeadline: 'Start the Conversation with Your Doctor', 
                viewing: 'Watch Now', 
                time: '1:04', 
                hero:'/content/images/resourceportal/articles/video/start-the-conversation.jpg', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/start-the-conversation', 
                download: false
            },
            {
                TitleHeadline: 'Marilyn\'s Story', 
                viewing: 'Watch Now', 
                time: '3:17', 
                hero:'/content/images/resourceportal/articles/video/marilyn-story.jpg', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/marilyn-story', 
                download: false
            },
            {
                TitleHeadline: 'Doctor Conversation Guide', 
                viewing: '', 
                time: '', 
                hero:'/content/images/resourceportal/downloadable/doctorconversationguide.png', 
                icon: '/content/images/resourceportal/downloadable/icons/convoguide.svg', 
                url: '../Content/pdf/doctorconversationguide.pdf', 
                download: true
            }  
        ]
    },
    treatingOAB: {
        id: 'treatingOAB',
        list: [
            {
                TitleHeadline: 'Myrbetriq: Typical Time Until Symptom Improvement', 
                viewing: 'Watch Now', 
                time: '1:09', 
                hero:'/content/images/resourceportal/articles/video/prescribing-myrbetriq.png', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/prescribing-myrbetriq', 
                download: false
            },
            {
                TitleHeadline: 'Myrbetriq: How to Get Started', 
                viewing: 'Watch Now', 
                time: '1:49', 
                hero:'/content/images/resourceportal/articles/video/what-to-expect.png', 
                icon: '/content/images/resourceportal/icons/video.svg', 
                url: '/overactive-bladder-resources/what-to-expect/', 
                download: false
            },
            {
                TitleHeadline: 'Baseline Symptom Tracker', 
                viewing: '', 
                time: '', 
                hero:'/content/images/resourceportal/downloadable/SymptomTrackerBaseline.png', 
                icon: '/content/images/resourceportal/downloadable/icons/symptomtracker.svg', 
                url: '../Content/pdf/SymptomTrackerBaseline.pdf', 
                download: true
            }
        ]
    }
};






;
//Handlebar templates for the screnatrio container
const scenarioTemplate = {
    desktop: `  
    <div class="scenario-lower-container">
        <div class="container">
            <div class="row">
                <div class="col-xs-12">
                    <div class="scroll-slider__container scroll-slider__container--tiles">
                        <div class="scroll-slider scroll-slider__tiles">
                            {{#each list}}
                                {{#if download}}
                                    <div class="scroll-slider__item-tile-wrap">
                                        <a class="full-image-tile__btn-wrap" href="{{url}}" target="_blank"> 
                                            <div class="full-image-tile full-image-tile-download" style="background-image: url({{hero}})">
                                                <img class="download-icon full-image-tile-download-icon full-image-tile-download-icon--top" src="{{icon}}" alt="" >
                                                <h2 class="resource-h2 text-center">{{TitleHeadline}}</h2>
                                                <img class="download-icon full-image-tile-download-icon full-image-tile-download-icon--bottom" src="/content/images/resourceportal/downloadable/icons/download.svg" alt="">
                                            </div> 
                                        </a>
                                    </div>
                                {{else}}
                                <div class="scroll-slider__item-tile-wrap">
                                    <a class="content-tile__btn-wrap" href="{{url}}"> 
                                        <div class="content-tile content-tile-video">
                                            <div class="content-tile__cover-outer"> 
                                                <div class="content-tile__cover" style="background-image: url({{hero}})">
                                                    <span class="play-icon"></span>
                                                </div>
                                            </div>
                                            <div class="content-tile__copy">
                                                <h2 class="resource-h2 content-tile__copy-headline">{{TitleHeadline}}</h2>
                                                <div class="content-tile__copy-links">
                                                    <h4 class="resource-h4 content-tile__copy-links-cta">{{viewing}}</h4>
                                                    <span class="content-tile__copy-links-time">
                                                        <img class="content-tile__copy-links-time-icon" src="{{icon}}" alt="">
                                                        <h6 class="resource-h6 caps">{{time}}</h6>
                                                    </span>
                                                </div>
                                            </div>
                                        </div>
                                    </a>  
                                </div>      
                                {{/if}}      
                            {{/each}}   
                        </div>
                    </div>
                </div> 
            </div> 
        </div> 
    </div>`,

    mobile:`
    <div class="scenario-lower-container">
        <div class="scroll-slider__container scroll-slider__container--tiles">
            <div class="scroll-slider scroll-slider__tiles">
                {{#each list}}
                    {{#if download}}
                    <div class="scroll-slider__item-tile-wrap">
                        <a class="full-image-tile__btn-wrap" href="{{url}}" target="_blank"> 
                            <div class="full-image-tile full-image-tile-download" style="background-image: url({{hero}})">
                                <img class="download-icon full-image-tile-download-icon full-image-tile-download-icon--top" src="{{icon}}" alt="" >
                                <h2 class="resource-h2 text-center">{{TitleHeadline}}</h2>
                                <img class="download-icon full-image-tile-download-icon full-image-tile-download-icon--bottom" src="/content/images/resourceportal/downloadable/icons/download.svg" alt="" > 
                            </div> 
                        </a>
                    </div>
                    {{else}}
                    <div class="scroll-slider__item-tile-wrap">
                        <a class="content-tile__btn-wrap" href="{{url}}"> 
                            <div class="content-tile content-tile-video">
                                <div class="content-tile__cover-outer"> 
                                    <div class="content-tile__cover" style="background-image: url({{hero}})">
                                        <span class="play-icon"></span>
                                    </div>
                                </div>
                                <div class="content-tile__copy">
                                    <h2 class="resource-h2 content-tile__copy-headline">{{TitleHeadline}}</h2>
                                    <div class="content-tile__copy-links">
                                        <h4 class="resource-h4 content-tile__copy-links-cta">{{viewing}}</h4>
                                        <span class="content-tile__copy-links-time">
                                            <img class="content-tile__copy-links-time-icon" src="{{icon}}" alt="">
                                            <h6 class="resource-h6 caps">{{time}}</h6>
                                        </span>
                                    </div>
                                </div>
                            </div>
                        </a>  
                    </div>
                    {{/if}}     
                {{/each}}   
            </div>
        </div>
    </div>` 
};
let categoryTileArray = [scenarioData.notDiagnosed, scenarioData.diagnosed, scenarioData.treatingOAB];

//add EventListener to all boxes
function addEvents(){
    const boxesContainer = document.querySelector('.scenario-boxes');
    boxesContainer.addEventListener('click', (e) => { 
        const arrows = document.querySelectorAll('.scenario-arrow');
        const boxWrapper = document.querySelectorAll('.whole-box'); 
        // Removes the active state from the elements
        removeActive([arrows, boxWrapper]);
        
        boxWrapper.forEach(boxes => {
            const id = e.target.id || e.target.parentElement.id;
            // Adds the active state to the elements with matching id
            addActive(id);
        });
    });
}

// removes active state 
function removeActive(elementList) {
    for (let i=0; i<elementList.length; i++) {
        elementList[i].forEach(element => {
            element.classList.remove('active');
        });
    }
}

// adds active state
function addActive(elementId) {
    const box = document.getElementById(`${elementId}`);
    const insideArrow = document.querySelector(`#${elementId} .scenario-arrow`);
    box.classList.add('active');
    insideArrow.classList.add('active');
    buildLower(elementId);
}

function buildLower(id){
    // This is the handlebar template for category tiles in the scenario container
    const accordionView = document.querySelectorAll('.accordion-view');
    accordionView.forEach(box => {
        box.innerHTML = '';
    });
    
    for(let tile of categoryTileArray){
        if(tile.id === id){
            if(window.innerWidth <= 768 && tile.id === 'notDiagnosed') {
                var template = Handlebars.compile(scenarioTemplate.mobile);
                var fragment = template(tile);
                document.querySelector('#scenario-mobile-1').innerHTML = fragment;
            } 
            else if(window.innerWidth <= 768 && tile.id === 'diagnosed') {
                var template = Handlebars.compile(scenarioTemplate.mobile);
                var fragment = template(tile);
                document.querySelector('#scenario-mobile-2').innerHTML = fragment;
            } 
            else if(window.innerWidth <= 768 && tile.id === 'treatingOAB') {
                var template = Handlebars.compile(scenarioTemplate.mobile);
                var fragment = template(tile);
                document.querySelector('#scenario-mobile-3').innerHTML = fragment;
            } else if(window.innerWidth >=769) {
                var template = Handlebars.compile(scenarioTemplate.desktop);
                var fragment = template(tile);
                document.querySelector('#scenario-lower').innerHTML = fragment;
            }
        }
    }
}

var scenarioContainer = {
    init: function () {
        //only run if scenario container is present in DOM
        const scenarioFlag = document.getElementById('scenario-flag');
        if(scenarioFlag){
            addEvents();
        }
    }
};
class ScrollSlider {
    
  constructor(container = '.scroll-slider', buttons = '.scroll-slider__buttons-wrapper button', distance = 250){
    this.scrollContainer = document.querySelector(container);
    this.slideButtons = document.querySelectorAll(buttons);

    this.slideButtons.forEach(button => {
      button.addEventListener('click', (e) => {
        const direction = e.target.id;
        this.slideHandler(direction, distance);
      });
    });
    //adding draggability and passing in the instance container
    this.makeDraggable(this.scrollContainer);
  }

  slideHandler(direction, distance){
    let scrollCompleted = 0;
    let slideVar = setInterval(() => {
      this.scrollContainer.style.scrollBehavior = 'smooth';
      direction === 'left' ? this.scrollContainer.scrollLeft -= distance : this.scrollContainer.scrollLeft += distance;
      scrollCompleted += distance;
      this.scrollContainer.style.scrollBehavior = 'auto';
      if(scrollCompleted >= 100){
        window.clearInterval(slideVar);
      }
    }, 100);
  }

  makeDraggable(sliderContainer){
    const slider = sliderContainer;
    let isDown = false;
    let isDragged = false;
    let startX;
    let scrollLeft;
    //function for preventing links to fire
    const preventClick = (e) => {
      e.preventDefault();
    }
  
    slider.addEventListener('mousedown', (e) => {
      isDown = true;
      startX = e.pageX - slider.offsetLeft;
      scrollLeft = slider.scrollLeft;
    });
  
    slider.addEventListener('mouseleave', () => {
      isDown = false;
    });
  
    slider.addEventListener('mouseup', (e) => {
      const elements = slider.querySelectorAll('a');
      const linkArr = [...elements];
      isDown = false;  
      
      if(isDragged){
        linkArr.forEach(linkItem => {
          linkItem.addEventListener('click', preventClick);
        });
      } 
      else {
        linkArr.forEach(linkItem => {
          linkItem.removeEventListener('click', preventClick);
        });
      }
      isDragged = false;
    });
  
    slider.addEventListener('mousemove', e => {
      if (!isDown) return; 
      const x = e.pageX - slider.offsetLeft;
      const walk = (x - startX) * 2;
      isDragged =  true;   
      slider.scrollLeft = scrollLeft - walk;
      e.preventDefault();
    });
  }
}
;
var katalyst = katalyst ? katalyst : {};
katalyst.scrolldepth = {
    sectionIndex: 0,
    sections: [],
    init: function () {
        /* Scroll Depth tracking */
        $("[data-ga-scrolldepth]").each(this.watchElement.bind(this));
        this.onScroll.call(this);
        $(window).on('scroll', this.onScroll.bind(this));
        /* ********************* */
	},
    onScroll: function () {
        while (this.sectionIndex < this.sections.length) {
	        var windowHeight = window.innerHeight + window.pageYOffset - 10;
	        var headingOffset = $(this.sections[this.sectionIndex]).offset().top + this.sections[this.sectionIndex].getBoundingClientRect().height;
	        if (windowHeight > headingOffset) {
	            var label = $(this.sections[this.sectionIndex]).data("gaScrolldepth");
	            $(document).trigger("ScrollDepth", { "section": label });
	            this.sectionIndex++;
	        } else {
	            break;
	        }
        }
	},
	sortSection: function (a, b) {
	    return $(a).offset().top - $(b).offset().top;
	},
	watchElement: function (i, el) {
	    if(this.sections.indexOf(el) === -1){
	        this.sections.push(el);
	    }
	}
};;
var shareYourStory = {
	submitButtonDisabled: false,
    $storyForm: $('#signUpStoryForm'),
    formValues: {
		
    },
	init: function(){
		shareYourStory.setFormValidation();

		$('.js-share-story-show-btn').on('click', function(){
			if($(this).hasClass('is-arrow-down')){
				$(this).removeClass('is-arrow-down');
                shareYourStory.$storyForm.addClass('hidden');
                $(document).trigger("FormShow", { formName: 'shareYourStory', open: false });
			} else {
				$(this).addClass('is-arrow-down');
				shareYourStory.$storyForm.removeClass('hidden');
                smoothScroll.scrollTo($('.js-share-story-show-btn').offset().top);
                $(document).trigger("FormShow", { formName: 'shareYourStory', open: true });
			}
        });

        shareYourStory.setTracking();
	},

	isNumberKey: function (evt) {
		var charCode = (evt.which) ? evt.which : event.keyCode;
		if (charCode > 31 && (charCode < 48 || charCode > 57)) return false;
		return true;
	},

	setFormValidation: function(){
		shareYourStory.addValidatorMethods();
		shareYourStory.validator = shareYourStory.$storyForm.validate({

		    normalizer: function (value) {
		        return $.trim(value);
		    },
			groups: {
                optinVoicemail: "yes no",
                optinHealthdetail: "yes no"
			},
			highlight: function (element, errorClass, validClass) {
			   var $elem = jQuery(element);
				$elem.addClass(errorClass).removeClass(validClass);
                if ($elem.attr("name") === "optinVoicemail" || $elem.attr("name") === "optinHealthdetail") {
					$elem.closest(".field").addClass('error-container');
				}
			},
			unhighlight: function (element, errorClass, validClass) {
				var $elem = jQuery(element);
				$elem.removeClass(errorClass).addClass(validClass);
                if ($elem.attr("name") === "optinVoicemail" || $elem.attr("name") === "optinHealthdetail") {
					$elem.closest(".field").removeClass('error-container');
				}
			},
			errorPlacement: function (error, element) {
                if (element.attr("name") == "optinVoicemail") {
                    error.appendTo($("#voicemail-error"));
                } else if (element.attr("name") == "optinHealthdetail") {
                    error.appendTo($("#optin-health-error"));
                } else {
                    error.insertAfter(element.parent().find("span.error"));
                }

                $(document).trigger("FormInvalid", { name: "shareYourStory", error: $(error).text() });
            },
			rules: {
                firstName: {
				    required: true,
				    notOnlyWhiteSpaces: true
				},
                lastName: {
				    required: true,
				    notOnlyWhiteSpaces: true
				},
				email: {
					required: true,
					easy_email: true
				},
                phoneNumber: {
                    required: true,
                    phoneNumber: true
				},
                optinVoicemail: {
					required: true
				},
                optinHealthdetail: {
				    required: true
				}
			},
			messages: {
				firstName: "First Name cannot be empty",
				lastName: "Last Name cannot be empty",
				email: "Enter a valid Email Address",
				phoneNumber: "Enter a valid Phone Number",
                optinVoicemail: "Please select an option",
                optinHealthdetail: "Please select an option"

			},
			submitHandler: function (form) {
			    if (this.submitButtonDisabled) {
			        return false;
			    }
			    this.submitButtonDisabled = true;
			     if (!$(form).valid()) {
			         $(form).trigger("FormIncomplete");
			         return false;
			     } else {
			         $(form).trigger("FormComplete");
			         $.post({
                         url: "/api/share-your-story/signup",
			             data: $(form).serialize(),
			             success: shareYourStory.submitFormSuccess.bind(this),
			             error: shareYourStory.handleError.bind(this)
				      });
			     }
		    }
		});
	},

    handleError: function () {
        this.submitButtonDisabled = false;
    },

    setTracking: function () {
        $("#signUpStoryForm input, #signUpStoryForm select").on("change", function _trigger() {
            if (this.value && shareYourStory.formValues[this.name] !== this.value) {
                shareYourStory.formValues[this.name] = this.value;
                $(this).trigger("FormFieldComplete");
            }
        });
    },

	submitFormSuccess: function (data, status, jqXHR) {
	    this.submitButtonDisabled = false;
	    console.log("success", data, status, jqXHR);
	    shareYourStory.$storyForm.addClass('hidden');
	    $('.js-shareyourstory-thank-you-message').show();
	    headerHelper.unhideHeader();
	    smoothScroll.scrollTo($('.js-share-story-show-btn').offset().top - $(".l-header-container").outerHeight() - 20);
	    headerHelper.hideHeader();

	    $('.js-share-story-show-btn').removeClass('is-arrow-down');
	},

	addValidatorMethods: function () {
		jQuery.validator.addMethod("easy_email", function (email, element) {
			return this.optional(element) || email.match(/^\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/);
        }, "Enter a valid Email Address");

        jQuery.validator.addMethod("phoneNumber", function (phoneNumber, element) {
            return this.optional(element) || phoneNumber.match(/^(?:(?:\+?1\s*(?:[.-]\s*)?)?(?:\(\s*([2-9]\d{2})\s*\)|([2-9]\d{2}))\s*(?:[.-]\s*)?)([2-9]\d{2})\s*(?:[.-]\s*)?([0-9]{4})(?:\s*(?:#|x\.?|ext\.?|extension)\s*(\d+))?$/);
        }, "Enter a valid Email Address");

		jQuery.validator.addMethod("notOnlyWhiteSpaces", function (value, element) {
		    return value.trim().length > 0;
		});
	}
};;
var slider = {
	$sliderElem: $('.js-slider'),

	track: function (el, floodlight, isNext) {
	    var s = slider.$sliderElem;
	    if (s.hasClass("is-oab-tips")) {
	        $(document).trigger("OabTips", { "label": $(el).attr("data-label") });

	        if (floodlight) {
	            $(document).trigger("FloodlightRTP", { type: '2018s003', category: 'treat0' });
	        }
	    }
	    if (s.hasClass('is-mylestones')) {
	        $(document).trigger("MilestoneSlider", { "label": $(el).attr("data-mylestone-label") });

	        if (floodlight) {
	            var fl = { type: 'myles0', category: 'lefta0' };
	            if (isNext) {
	                fl = { category: 'right0' };
	            }
	            $(document).trigger("FloodlightRTP", { type: fl.type, category: fl.category, dclat: true });
	        }
	    }
	},

	init: function(){
		slider.initSlider();
	},

	initSlider: function(){
	    if (slider.$sliderElem) {
			slider.$sliderElem.cycle({
			    speed: 600,
				timeout: 0,
				fx : 'scrollHorz',
				pager: $('.js-slider-controls .pager'),
				next: $('.js-slider-controls .next'),
				prev: $('.js-slider-controls .prev'),
				slideResize: 0,
				before : function(currSlideElement, nextSlideElement, options, forwardFlag){
					slider.$sliderElem.css('height', $(nextSlideElement).height()+"px");
				},
				onPrevNextEvent: function (isNext, slideIndex, slideElement) {
				    slider.track(slideElement, true, isNext);
				},
				onPagerEvent: function (slideIndex, slideElement) {
				    slider.track(slideElement);
				}
			});

			slider.$sliderElem.hammer({ swipeVelocityX : 0.5 }).bind('swipeleft',  function(e){
				slider.$sliderElem.cycle('next');
			});

			slider.$sliderElem.hammer({ swipeVelocityX : 0.5 }).bind('swiperight', function(e){
				slider.$sliderElem.cycle('prev');
			});
		}
	}
};;
/*=============================================================================================== */
/*   SMOOTH SCROLL  ============================================================================= */
/*=============================================================================================== */
var smoothScroll = {
	init: function(){
		$(".smooth-scroll").on("click touchstart", function(e){
			e.preventDefault();
			smoothScroll.scrollTo($($(e.target).closest("a").attr("href")).offset().top, 500);
		});
	},
	scrollTo: function(offset, time, callback){
		if(time === "undefined")
			time = 200;

		$('html body, body, html').stop(true).animate({
			scrollTop: offset
		}, time, function(){
			if(typeof(callback) == "function")
				callback();	
		});
	}
};;
var socialMediaHelper = {
	init: function(){
		$('.js-fb-share').on('click', function (evt) {
			$(document).trigger("Facebook", { event: evt, url: "https://www.facebook.com" });
			FB.ui({
				method: 'share',
				href: window.location.href,
				quote: 'Check out this page'
			}, function(response){});
		});
	}
};;
var symptomQuiz = {
	init: function(){
		$('.js-oab-symptons-quiz-btn a').on('click', function(){
			$('.js-form-oab-symptoms-quiz .question-option').addClass('disabled');
			$('.js-form-oab-symptoms-quiz .m-form-oab-symptom-question').addClass('disabled');
			$('.js-oab-symptons-quiz-btn').slideUp(400, function(){
			    $('.js-oab-symptoms-quiz-results').slideDown();
			    var results = $('.js-form-oab-symptoms-quiz .question-option input:checked').map(function _getValue(i, el) { return el.value; }).toArray();
			    $(document).trigger("SelfAssessment", { results: results });
			});
		});
	}
};;
var toolsAndResources = {
    init: function () {
        this.addListeners();
    },

    addListeners: function () {
        $('.js-see-more-recipes-button').on('click', this.showMoreRecipes);
        $('.js-see-more-articles-button').on('click', this.showMoreArticles);
    },

    showMoreRecipes: function (e) {
        e.preventDefault();
        $('.js-see-more-recipe-container').addClass('show-more');
    },

    showMoreArticles: function (e) {
        e.preventDefault();
        $('.js-see-more-article-container').addClass('show-more');
    }
};
;
var treatmentJourney = {
    selector: $('.js-goal-pin'),
    selectedClass: 'is-selected',
    dayOnePos: 0,
    dayThirtyPos: 0,
    daySixtyPos: 0,
    dayNinetyPos: 0,
    init: function () {
        treatmentJourney.selector.on('click', treatmentJourney.onPinSelect);
        this.updatePositions();
        $(window).on('resize', this.updatePositions.bind(this));
        $(window).on('scroll', this.checkPosition.bind(this));
    },
    onPinSelect: function (e) {
        slider.$sliderElem.cycle($(this).data('slide'));
    },
    getElementPosition: function(id) {
        var el = $(id);
        return el.offset() === undefined ? 0 : el.offset().top;
    }, 
    updatePositions: function() {
        this.dayOnePos = this.getElementPosition('#day-1');
        this.dayThirtyPos = this.getElementPosition('#day-30');
        this.daySixtyPos = this.getElementPosition('#day-60');
        this.dayNinetyPos = this.getElementPosition('#day-90');
    },
    handlePositionIE11: function(current_position){
        if(navigator.userAgent.indexOf('MSIE')!==-1 || navigator.appVersion.indexOf('Trident/') > -1) {
            if (current_position <= this.dayOnePos) {
                $('.m-treatment-journey').removeAttr('style');
            }
            if (current_position > this.dayOnePos) {
                $('.m-treatment-journey').attr('style', 'position:fixed; top:0;');
            }
            if (this.dayNinetyPos - current_position - 200 <= 0) {
                $('.m-treatment-journey').removeAttr('style');
            }
        }
    },
    recolorSelectorIE11: function(current_position){
        var InZone_D1 = this.dayOnePos - current_position > 0;
        var InZone_D30 = this.dayThirtyPos - current_position > 0;
        var InZone_D60 = this.daySixtyPos - current_position > 0;
        if (InZone_D1) {
            $('.goal-pin-1').addClass('is-selected');
            return;
        }
        if(InZone_D30){        
            $('.goal-pin-30').addClass('is-selected');
            return;
        }
        if (InZone_D60) {
            $('.goal-pin-60').addClass('is-selected');
            return;
        }
        $('.goal-pin-90').addClass('is-selected');
    },
    recolorSelector: function(current_position){
        if (current_position < this.dayThirtyPos) {
            $('.goal-pin-1').addClass('is-selected');
            return;
        }
        if (this.daySixtyPos - current_position > 0) {
            $('.goal-pin-30').addClass('is-selected');
            return;
        }
        if (this.dayNinetyPos - current_position > 0) {
            $('.goal-pin-60').addClass('is-selected');
            return;
        }
        if (this.dayNinetyPos - current_position <= 0) {
            $('.goal-pin-90').addClass('is-selected');
            return;
        }
    },
    checkPosition: function() {
        $('.journey-track-container .goal-pin').removeClass('is-selected');
        var current_position = $(window).scrollTop() + 50;
        if(navigator.userAgent.indexOf('MSIE')!==-1 || navigator.appVersion.indexOf('Trident/') > -1) {
            this.handlePositionIE11.call(this, current_position);
            this.recolorSelectorIE11.call(this, current_position);
            return;
        }
        this.recolorSelector.call(this, current_position);
    }
};;
var urlNavHelper = {
	seoRoutes: [],
	preventScrollEvent: false,
	$navSelector: $('.m-header-main-nav .subnav li'),
	init: function () {
		var hash = window.location.hash;
		if (hash === "#find-a-urologist") {
			var el = $("[data-scroll-to='find-a-urologist']:visible:last");
			urlNavHelper.handleScroll();
			setTimeout(smoothScroll.scrollTo.bind(smoothScroll, el.offset().top), 500);
			return;
		}
		if (hash && $(hash + ':visible').length) {
			if ($('body').hasClass('is-parent-poc')) {
				setTimeout(smoothScroll.scrollTo.bind(smoothScroll, $(hash).offset().top), 500);
			} else {
				urlNavHelper.handleInitialUrl(true);
				$(hash).on('load', function _scrollToHash() {
					urlNavHelper.doInitialScroll($(hash).offset().top - headerHelper.getHeaderHeight());
				});
			}
		} else {
			if(document.location.pathname === "/beyond-lifestyle-changes/"){
				setTimeout(smoothScroll.scrollTo.bind(smoothScroll, $(".beyond-lifestyle").offset().top), 500);
				return;
			}
			urlNavHelper.handleInitialUrl();
		}
	},

	parseRoutes: function (seoJson) {
		for (var i = 0; i < seoJson.length; i++) {
			if (seoJson[i].IsDCGQuiz) {
				urlNavHelper.quizPage = seoJson[i];
			}
			if ($('[data-page-section=' + seoJson[i].PageName + ']').length) {
				var index = urlNavHelper.seoRoutes.push(seoJson[i]) - 1;
				urlNavHelper.seoRoutes[index].$section = $('[data-page-section=' + seoJson[i].PageName + ']');
				urlNavHelper.seoRoutes[index].Url = '/' + urlNavHelper.seoRoutes[index].Url;
				$('a[href="' + seoJson[i].Url + '"]').on('click', function (e) {
					e.preventDefault();
					urlNavHelper.handleLink($(this).attr('href'));
				});
			}
		}
		urlNavHelper.init();
	},

	doInitialScroll: function (top) {
		headerHelper.preventScrollHide = true;
		urlNavHelper.preventScrollEvent = true;
		smoothScroll.scrollTo(top, null, function () {
			setTimeout(function () {
				headerHelper.preventScrollHide = false;
				urlNavHelper.preventScrollEvent = false;
			}, 250);
		});
	},

	handleInitialUrl: function (preventScroll) {
		$(window).on("load", function () {
			var currentPath = window.location.pathname;
			for (var i = 0; i < urlNavHelper.seoRoutes.length; i++) {
				if (currentPath == urlNavHelper.seoRoutes[i].Url) {
					// Scroll to header only if other than first to account for CTA at the top
					console.log("doing initial scrull", !preventScroll, i, currentPath, urlNavHelper.seoRoutes[i]);
					if (i > 0) {
						//Prevent scroll event so that history does not get distorted by sections that get passed through on scoll
						//Also ignore scroll if checkedAnswer exist in the query string
						if (!preventScroll && window.location.search.indexOf("checkedAnswer") == -1) {
							urlNavHelper.doInitialScroll(urlNavHelper.seoRoutes[i].$section.offset().top - headerHelper.getHeaderHeight());
						}
					}
					var currNavLink = $('.js-mobile-nav .subnav a[href="' + urlNavHelper.seoRoutes[i].Url + '"]');
					currNavLink.parent().addClass('is-current');
					currNavLink.parents('.is-expandable.is-current').addClass('is-open');
					break;
				}
			}
			urlNavHelper.handleScroll();
		});
	},

	handleLink: function (url) {
		//Prevent scroll event so that history does not get distorted by sections that get passed through on scoll
		urlNavHelper.preventScrollEvent = true;
		for (var i = 0; i < urlNavHelper.seoRoutes.length; i++) {
			if (url == urlNavHelper.seoRoutes[i].Url) {
				headerHelper.preventScrollHide = true;
				smoothScroll.scrollTo(urlNavHelper.seoRoutes[i].$section.offset().top - headerHelper.getFixedHeaderHeight(), null, function () {
					//Re enable scroll event
					setTimeout(function () {
						urlNavHelper.preventScrollEvent = false;
						headerHelper.preventScrollHide = false;
					}, 100);
				});
				urlNavHelper.$navSelector.removeClass('is-current');
				urlNavHelper.$navSelector.has('a[href="' + url + '"]').addClass('is-current');
				$('.js-mobile-nav').removeClass('is-visible');
				document.title = urlNavHelper.seoRoutes[i].PageTitle;
				History.pushState(null, document.title, urlNavHelper.seoRoutes[i].Url + document.location.search);
				break;
			}
		}
	},

	handleScroll: function () {
		$(window).on('scroll', function () {
			if (urlNavHelper.preventScrollEvent === true || $('.js-header').hasClass('scroll-lock')) {
				return;
			}
			var closestSectionIndex = -1;
			var scrollPos = $(window).scrollTop() + headerHelper.getHeaderHeight(true) + 5;
			var currentPath = window.location.pathname;
			for (var i = 0; i < urlNavHelper.seoRoutes.length; i++) {
				if (scrollPos > urlNavHelper.seoRoutes[i].$section.offset().top) {
					if (closestSectionIndex == -1 || urlNavHelper.seoRoutes[i].$section.offset().top > urlNavHelper.seoRoutes[closestSectionIndex].$section.offset().top) {
						closestSectionIndex = i;
					}
				}
			}
			if (closestSectionIndex > -1) {
				urlNavHelper.$navSelector.removeClass('is-current');
				urlNavHelper.$navSelector.has('a[href="' + urlNavHelper.seoRoutes[closestSectionIndex].Url + '"]').addClass('is-current');
				if (currentPath != urlNavHelper.seoRoutes[closestSectionIndex].Url) {
					document.title = urlNavHelper.seoRoutes[closestSectionIndex].PageTitle;
					History.pushState(null, document.title, urlNavHelper.seoRoutes[closestSectionIndex].Url + document.location.search);
				}
			}
		});
	}

};;
var utilities = {
    AjaxFileDownload: function (FileResponse) {
        var blob = utilities.base64toBlob(FileResponse.FileContents, FileResponse.ContentType);
        if (navigator && navigator.msSaveOrOpenBlob) {
            navigator.msSaveOrOpenBlob(blob, FileResponse.FileDownloadName);
        }
        else {
            var link = document.createElement('a');
            document.body.appendChild(link);
            link.style = "display:none";
            link.href = window.URL.createObjectURL(blob);
            link.download = FileResponse.FileDownloadName;
            link.click();
        }
    },
    base64toBlob: function (b64Data, contentType, sliceSize) {
        contentType = contentType || '';
        sliceSize = sliceSize || 512;
        var byteCharacters = atob(b64Data);
        var byteArrays = [];
        for (var offset = 0; offset < byteCharacters.length; offset += sliceSize) {
            var slice = byteCharacters.slice(offset, offset + sliceSize);
            var byteNumbers = new Array(slice.length);
            for (var i = 0; i < slice.length; i++) {
                byteNumbers[i] = slice.charCodeAt(i);
            }
            var byteArray = new Uint8Array(byteNumbers);
            byteArrays.push(byteArray);
        }
        var blob = new Blob(byteArrays, { type: contentType });
        return blob;
    },
    getURLParameter: function (name) {
        var params = window.location.search.substr(1).split('&');
        for (var i = 0; i < params.length; i++) {
            var p = params[i].split('=');
            if (p[0] == name) {
                return decodeURIComponent(p[1]);
            }
        }
        return false;
    },
    isEmail: function (value) {
        var str = /^[a-z0-9!#$%&*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*@(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$/i;
        if (value == '') return false;
        return str.test(value);
    },
    verticalCenterModals: function () {
        function reposition() {
            var modal = $(this),
			dialog = modal.find('.modal-dialog');
            modal.css('display', 'block');
            // Dividing by two centers the modal exactly, but dividing by three
            // or four works better for larger screens.
            dialog.css("margin-top", Math.max(0, ($(window).height() - dialog.height()) / 2));
        }
        // Reposition when a modal is shown
        $('.modal').on('show.bs.modal', reposition);
        // Reposition when the window is resized
        $(window).on('resize', function () {
            $('.modal:visible').each(reposition);
        });
    },
    getScrollBarWidth: function () {
        var $body = $(document.body);
        var scrollDiv = document.createElement('div');
        var styleElement = '';
        scrollDiv.className = 'modal-scrollbar-measure';
        $body.append(scrollDiv);
        var scrollbarWidth = scrollDiv.offsetWidth - scrollDiv.clientWidth;
        $body[0].removeChild(scrollDiv);
        return scrollbarWidth;
    },
    createModalScrollbarCss: function () {
        var scrollbarWidth = utilities.getScrollBarWidth();
        styleElement = '<style type="text/css">';
        //styleElement += 'body.modal-open #sticky-isi .sticky-isi-header, body.modal-open #sticky-isi .isi-content, body.modal-open header .navbar{ padding-right: '+scrollbarWidth+'px; }';
        styleElement += '</style>';
        $('head').append(styleElement);
    }
};
;
var katalyst = katalyst ? katalyst : {};
let nextBestVideo;

katalyst.Video = function (selector, container, trigger) {
    this.el = selector;
    this.id = selector.getAttribute('data-video-id');
    this.container = container;
    this.trigger = trigger;
    this.initialize();
};

katalyst.Video.prototype.Close = function (e) {
    if (e) { e.stopPropagation(); }
    if (this.$videoContainer) {
        this.$videoContainer.removeClass('video-active');
        this.$videoPlayerSrc.removeClass('active');
        this.$videoPlayer.get(0).pause();
    }
};

katalyst.Video.prototype.initialize = function () {
    this.data = $(this.el).data();
    var setPlay = $(this.el);
    if (this.trigger) {
        setPlay = $(this.el).find(this.trigger);
    }

    this.$videoContainer = $("#" + this.id).closest(this.container);
    this.$videoPlayer = this.$videoContainer.find("#" + this.id);
    this.$videoPlayerSrc = this.$videoPlayer.find('source');
    this.$videoPlayer.on('play', this.onPlay.bind(this));
    this.$videoPlayer.on('ended', this.onComplete.bind(this));
    this.$videoPlayer.on('timeupdate', this.onTime.bind(this));
    this.iOS = /iPad|iPhone|iPod/.test(navigator.userAgent) && !window.MSStream;

    if (this.iOS) {
      $('.close-btn').addClass('iOS');
    }

    setPlay.on('click', this.Play.bind(this));
    $('.close-btn').on('click', this.Close.bind(this));
};

katalyst.Video.prototype.onComplete = function () {
    $(document).trigger("VideoEnd", { video: this.data.videoUrl });
};

katalyst.Video.prototype.onPlay = function () {
    if (!this.$videoPlayer.data('played')) {
        this.$videoPlayer.data('played', true);
        $(document).trigger("VideoPlay", { video: this.data.videoUrl });
        this.$videoPlayer.data('lastTime', 0);
        this.$videoPlayer.data('lastPercent', 0);
    }
    if(nextBestVideo.isEnabled){
        nextBestVideo.hideModal();
    }
};

katalyst.Video.prototype.onTime = function () {
    var video = this.$videoPlayer.get(0);
    var percentComplete = Math.round(video.currentTime / video.duration * 100);
    var lastTime = this.$videoPlayer.data('lastTime') || 0;
    var lastPercent = this.$videoPlayer.data('lastPercent') || 0;

    var newTime = Math.floor(video.currentTime / 10) * 10;

    if (newTime >= lastTime + 10) {
        this.$videoPlayer.data('lastTime', newTime);
        $(document).trigger("VideoTime", { video: this.data.videoUrl, time: newTime });
    }

    var newPercent = Math.floor(percentComplete / 10) * 10; //ie: Turns 11%  into 10%, 15% -> 10%, 19% -> 10%
    if (newPercent >= lastPercent + 10) {
        this.$videoPlayer.data('lastPercent', newPercent);
        $(document).trigger("VideoPercent", { video: this.data.videoUrl, percent: newPercent });
    }
};

katalyst.Video.prototype.Play = function (e) {
    $(document).trigger("CTAClickRTP", { location: "content", text: this.data.videoUrl, action: "" });
    if (!$('.is-screenshot-videos:visible').length) {
        this.StopOthers();
    }
    var video = this.$videoPlayer.get(0);
    video.currentTime = 0;
    video.play();
    this.$videoContainer.addClass('video-active');
    this.$videoPlayerSrc.addClass('active');
    smoothScroll.scrollTo(this.$videoContainer.offset().top);
    
    //Next Best Video
    nextBestVideo = new NextBestVideo();
    if(nextBestVideo.isEnabled){
        nextBestVideo.clearAllModals();
        this.$videoPlayer.on('pause', function(){
            return nextBestVideo.showModal();
        });
    }
};

katalyst.Video.prototype.StopOthers = function () {
    $('.js-video, .js-panel-video').each(function _stop(i, el) {
        el.KatalystVideo.Close();
    });
};

var videoHelper = {
    usedIDs: [],
    init: function () {
        videoHelper.createVideos('.js-video', '.js-video', '.js-video-play'); //initVideoBlocks;
        videoHelper.createVideos('.js-panel-video', '.js-testimonials-panels .video-container'); //initPanelsVideos;
    },
    createVideos: function (selector, container, trigger) {
        $(selector).each(function (i, el) {
            el.KatalystVideo = new katalyst.Video(el, container, trigger);
        });
    }
};



/* ** New "Next Best Video Suggestion Feature" 
** ** To remove feature from a specific video category, please add category-ID into the isDisabledCategoryIds array
** ** and remove category from SourceCode/Myrbetriq.Consumer/Models/VideoMetadata.cs on line 17. 
** **
*/

class NextBestVideo {
    constructor(){
        this.isEnabled = true;
        this.isDisabledCategoryIds = ['recipes', 'disable-nbv'];
        this.currentCategoryId = document.querySelector('.video-active video').dataset.category;
        //check to see if currentCategoryId should have NextBestVideo feature
        if(this.isDisabledCategoryIds.indexOf(this.currentCategoryId) !== -1) {
            this.isEnabled = false;
            return;
        } else {
            this.modal = document.querySelector('.video-active .next-video-modal');
            this.allModals = document.querySelectorAll('.next-video-modal');
            this.modalImg =  document.querySelector('.video-active .next-video-modal__poster');
            this.modalTitle = document.querySelector('.video-active .next-video-modal__title');
            this.modalInner = document.querySelector('.video-active .next-video-modal__inner');
            this.currentVideo = document.querySelector('.video-active video');
            this.currentVideoId = document.querySelector('.video-active video').dataset.videoId;
            this.videoCollection = [];
            this.getVideoData();
        }
    }

    getVideoData(){
        fetch('/api/fetch-videos/getvideos/')
        .then(response => response.json())
        .then(videoData => {
            this.videoData = videoData;
            this.getVideoCollection();
        })
        .catch(err => {
            err = new Error(`Couldn't load videos from API`);
            console.error(err);
        });
    }

    showModal(){
        this.clearAllModals();

        //if videoData couldn't be loaded for some reason.
        if(!this.videoData) return;

        this.setModalData();
        this.timer = setTimeout(() => {
            this.modal.classList.add('show');
        }, 500);
    }

    hideModal(){
        clearTimeout(this.timer);
        this.modal.classList.remove('show');
    }

    clearAllModals(){
        clearTimeout(this.timer);
        this.allModals.forEach(modal => modal.classList.remove('show'));
    }

    getVideoCollection() {
        const videos = this.videoData.find(video => video.Category === this.currentCategoryId);
        this.sortVideos(videos.categoryVideos);
        this.setFollowUpVideos([...videos.LinkedCategories]); 
    }

    sortVideos(videoArr){
        let videoIds = [];
        let sortedOrder = [];
        const videoArrlen = videoArr.length;

        //getting all IDs of the videos
        for(let index = 0; index < videoArrlen; index++){
            videoIds.push(videoArr[index].VideoCategoryId);
        }
        //checking for the index of the video that was clicked
        const currentVideoIdx = videoIds.indexOf(this.currentVideoId);
        const len = videoIds.length;

        //if current video is first in array
        if(currentVideoIdx === 0){
            videoIds.shift();
            sortedOrder = [...videoIds];
        }
        //if current video is last in array
        else if(currentVideoIdx === (len - 1)){
            videoIds.pop();
            sortedOrder = [...videoIds];
        }
        //if current video is somewhere inside the array
        else {
            for(let index = (currentVideoIdx + 1); index < len; index++){
                sortedOrder.push(videoIds[index]);
                if(index === (len - 1)){
                    for(let idx = 0; idx < currentVideoIdx; idx++){
                        sortedOrder.push(videoIds[idx]);
                    }
                }
            }
        }
        this.setVideoOrder(videoArr, sortedOrder);
    }

    setVideoOrder(videos, order){
        const orderLen = order.length;
        const videosLen = videos.length;
        for(let index = 0; index < orderLen; index++){
            for(let idx = 0; idx < videosLen; idx++){
                if(videos[idx].VideoCategoryId === order[index]){
                    this.videoCollection.push(videos[idx]);
                };
            }
        }
    }

    setFollowUpVideos(categories){
        const len = categories.length;
        for(let index = 0; index < len; index++){
            const videos = this.videoData.find(vhsVideo => vhsVideo.Category === categories[index]);
            const videosLen = videos.categoryVideos.length;
            for(let idx = 0; idx < videosLen; idx++){
                this.videoCollection.push(videos.categoryVideos[idx]);
            }
        }
        this.setVideoListMarkup();
    }

    setVideoListMarkup(){
        const len = this.videoCollection.length;
        let html =``;
        for(let index = 0; index < len; index++){
            const video = this.videoCollection[index];
            if(video.Url !== ''){
                html += `<source src="${video.Url}" data-title="${video.PreviewTitle}" 
                data-id="${video.VideoCategoryId}" data-poster="${video.Poster}" type="video/mp4">`;
            }
        }
        this.currentVideo.innerHTML += html;
    }

    setModalData(){
        //get current and next best videos src element
        this.nextVideoSrc = document.querySelector('.video-active source.active + source') || document.querySelector("video-active source:first-child");
        this.currenVideoSrc = document.querySelector('.video-active source.active');

        //add modal image and copy text
        this.modalImg.setAttribute('src', this.nextVideoSrc.dataset.poster);
        this.modalTitle.innerText = this.nextVideoSrc.dataset.title;

        //add EventListener on the image, play button and close button
        this.modal.addEventListener('click', (e) => {
           
            if(e.target.classList.contains('video-click')){
                return this.playNextBestVideo();
            }

            if(e.target.classList.contains('close-click')){
                return this.hideModal();
            }
        });
    }

    playNextBestVideo(){
        this.currenVideoSrc.className = '';
        this.nextVideoSrc.className = 'active';
        this.currentVideo.src = this.nextVideoSrc.src;
        const playPromise = this.currentVideo.play();

        //play() returns a promise we should catch the DOM exception
        if(playPromise !== undefined){
            playPromise
                .then(_ => console.log('Video is playing...'))
                .catch(warn => console.warn(warn));
        }
    }
}

var showMoreHelper = {
    init: function () {
        var container = document.getElementById("show_more_component");
        var btn = document.getElementById("show_more_less_btn");
        //recipe elements
        var recipeContainer = document.querySelector('.recipe-container--show-more');
        var btnRecipes = document.querySelector('.show_more_less_btn--recipes');
        
        if(container) {
            btn.addEventListener("click", function() {
                showMoreHelper.showVideos(container, btn);
            });
        }

        if(recipeContainer) {
            btnRecipes.addEventListener("click", function() {
                showMoreHelper.showRecipes(recipeContainer, btnRecipes);
            });
        }
    },
    showVideos: function (selector, btn) {
        var count = document.getElementById("show_more_less_count");
        var visibleCount = document.querySelectorAll(".show-more-less .video-original-half").length;

        if (selector.style.display === "none" || selector.style.display === "") {
            selector.style.display = "block";
            btn.innerHTML = "Show less videos";
            count.innerHTML = "<em>Displaying " + visibleCount + " of " + visibleCount + " videos</em>";
          } else {
            selector.style.display = "none";
            btn.innerHTML = "Show more videos";
            count.innerHTML = "<em>Displaying " + Math.ceil(visibleCount/2) + " of " + visibleCount + " videos</em>";
          }
    },

    showRecipes: function (selector, btn) {
        var count = document.querySelector(".show_more_less_count--recipes");
        var visibleCount = document.querySelectorAll(".recipe-container .recipe").length;

        if (selector.style.display === "none" || selector.style.display === "") {
            selector.style.display = "flex";
            btn.innerHTML = "Show less recipes";
            count.innerHTML = "<em>Displaying " + visibleCount + " of " + visibleCount + " recipes</em>";
        } 
        else {
            selector.style.display = "none";
            btn.innerHTML = "Show more recipes";
            count.innerHTML = "<em>Displaying 9 of " + visibleCount + " recipes</em>";
        }
    }
};
//TODO: Can we refactor this function so it's more dynamic and we can use this across the whole site.;
// execute all functions which had to be delayed until after jQuery loaded
if (window.DEFER) {
  while (DEFER.length > 0){
    DEFER.pop()();
  }
}
$(window).on('load', function(){
  slider.init();
});
$(document).ready(function () {
  $(document).on("KatalyticsReady", KatalyticsReady);
    if (!document.body.classList.contains('is-parent-orphan')) {
    isiHelper.init();
  }
  headerHelper.init();
  panelsHelper.init();
  symptomQuiz.init();
  faqHelper.init();
  videoHelper.init();
  showMoreHelper.init();
  momentumHelper.init();
  customRadio.init();
  socialMediaHelper.init();
  modalHelper.init();
  accordionHelper.init();
  audioHelper.init();
  smoothScroll.init();
  katalyst.scrolldepth.init();
  findOABSpecialist.init();
  flipcardHelper.init();
  treatmentJourney.init();
  nextPrevArrows.init();
  toolsAndResources.init();
  printPage.init();
  pricingDisclosure.init();
  shareYourStory.init();
  diagnosedWithOAB.init();
  chatbot.init();
  resourceVideo.init();
  scenarioContainer.init();
  new LazyLoad();
  setTimeout(function(){
    // TODO: remove after MLR submission complete.
    if (typeof menuVisible != 'undefined') {
      $('.js-nav-btn').off('click', menuVisible);
      $('.js-mobile-nav a').off('click', menuVisible);
    }
  }, 1000);

  //OAB Resources
  if(document.body.classList.contains('is-parent-patient_resources')){
    ResourcesPortal.init();
  }
});
//# sourceMappingURL=/Content/js/footer.js.map;
urlNavHelper.parseRoutes([
  {
    "PageName": "index",
    "ParentPage": "index",
    "Url": "",
    "View": "Index",
    "SubView": "",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Medication | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Myrbetriq is an FDA-approved treatment for overactive bladder (OAB) with symptoms of urgency, frequency and leakage in adults. Learn about Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "start_the_conversation",
    "ParentPage": "index",
    "Url": "start-the-conversation/",
    "View": "Index",
    "SubView": "Home/Default/DoctorConversationVideo",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB: How To Talk To Your Doctor [VIDEO] | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Do you think you may have overactive bladder (OAB) symptoms? Use our tips on how to prepare to talk to your doctor about your OAB symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "isi",
    "ParentPage": "index",
    "Url": "isi",
    "View": "Index",
    "SubView": "",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "index_default",
    "Url": "default/",
    "Controller": "StaticPage",
    "Method": "Homepage",
    "PageTitle": "Overactive Bladder (OAB) Medication | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Myrbetriq is an FDA-approved treatment for overactive bladder (OAB) with symptoms of urgency, frequency and leakage in adults. Learn about Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "index_newlydiagnosed",
    "Url": "newly-diagnosed/",
    "Controller": "StaticPage",
    "Method": "Homepage",
    "PageTitle": "Diagnosis: Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "If you are experiencing symptoms of overactive bladder (OAB) then begin a conversation with your doctor about your next steps. Here is a tool to help you get started.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "index_startingmyrbetriq",
    "Url": "starting-myrbetriq/",
    "Controller": "StaticPage",
    "Method": "Homepage",
    "PageTitle": "New to Overactive Bladder (OAB) Medication | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Overactive bladder (OAB) is a medical condition that can affect adults. Myrbetriq is an FDA-approved treatment for adults that can treat OAB with symptoms of urgency, frequency and leakage.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "index_lapsed",
    "Url": "lapsed/",
    "Controller": "StaticPage",
    "Method": "Homepage",
    "PageTitle": "Overactive Bladder (OAB) Medication | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Myrbetriq is an FDA-approved treatment for adults with overactive bladder (OAB) with symptoms of urgency, frequency and leakage. Myrbetriq works on a different pathway to increase bladder capacity.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "oab_living_with",
    "ParentPage": "oab_living_with",
    "Url": "living-with-overactive-bladder/",
    "View": "OAB",
    "SubView": "LivingWithOAB",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Living with Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "What is overactive bladder (OAB) and who gets it? What are the symptoms to look for? Start here to find lifestyle tips that can begin your search for answers.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "oab_diagnosed_with",
    "ParentPage": "oab_living_with",
    "Url": "overactive-bladder-diagnosis-information/",
    "View": "OAB",
    "SubView": "DiagnosedWithOABForm",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Diagnosis Information | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Receive support and information about an overactive bladder (OAB) diagnosis.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "oab_what_is",
    "ParentPage": "oab_living_with",
    "Url": "what-is-overactive-bladder/",
    "View": "OAB",
    "SubView": "WhatIsOAB",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "What Is Overactive Bladder (OAB)? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about the causes and symptoms of overactive bladder (OAB). Myrbetriq is approved to treat OAB with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "oab_symptoms",
    "ParentPage": "oab_living_with",
    "Url": "overactive-bladder-symptoms/",
    "View": "OAB",
    "SubView": "Symptoms",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Read about the various symptoms of overactive bladder (OAB). Myrbetriq is an FDA-approved medication for OAB with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "managing_oab_symptoms",
    "ParentPage": "oab_living_with",
    "Url": "managing-overactive-bladder-symptoms/",
    "View": "OAB",
    "SubView": "Symptoms",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Managing Overactive Bladder (OAB) Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Living with overactive bladder (OAB) symptoms? Find out how to help manage your OAB symptoms with these bladder-friendly tips and tricks.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName":"telehealth_specialist",
    "ParentPage": "myrbetriq_why",
    "Url": "oab-telehealth-specialist/",
    "View": "Myrbetriq",
    "SubView": "TelehealthSpecialist",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB Telehealth Specialist | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Telehealth visits are another way to talk with an OAB treatment provider from the comfort of your own home. Find a treatment option that is right for you.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "oab_lifestyle_tips",
    "ParentPage": "oab_living_with",
    "Url": "overactive-bladder-treatment/",
    "View": "OAB",
    "SubView": "LifestyleTips",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Treatment | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Taking an active role in your overactive bladder (OAB) treatment is key. Discuss plans with your healthcare professional & learn about lifestyle factors that may help.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "managing_overactive_bladder_symptoms",
    "ParentPage": "oab_living_with",
    "Url": "managing-overactive-bladder-symptoms/",
    "View": "OAB",
    "SubView": "LifestyleTips",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Managing Overactive Bladder (OAB) Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Living with overactive bladder (OAB) symptoms? Find out how to help manage your OAB symptoms with these bladder-friendly tips and tricks.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq_why",
    "ParentPage": "myrbetriq_why",
    "Url": "why-myrbetriq/",
    "View": "Myrbetriq",
    "SubView": "WhyMyrbetriq",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Why Choose Myrbetriq? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find more information on using Myrbetriq to treat overactive bladder (OAB) symptoms in adults. Myrbetriq is a prescription medication for adults used to treat OAB with symptoms of urgency, frequency and leakage.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq_what_is",
    "ParentPage": "myrbetriq_why",
    "Url": "what-is-myrbetriq/",
    "View": "Myrbetriq",
    "SubView": "WhatIsMyrbetriq",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "What is Myrbetriq? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Myrbetriq is a prescription medication for adults used to treat overactive bladder (OAB) with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq_how",
    "ParentPage": "myrbetriq_why",
    "Url": "how-does-myrbetriq-work/",
    "View": "Myrbetriq",
    "SubView": "HowMyrbetriqWorks",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "How Does Myrbetriq Work? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "View our video to learn how Myrbetriq works. Myrbetriq is a prescription medication for overactive bladder (OAB) with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq_talk",
    "ParentPage": "oab_living_with",
    "Url": "doctor-conversation-guide/",
    "View": "OAB",
    "SubView": "MyrbetriqTalk",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Doctor Conversation Guide | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Download our Doctor Conversation Guide to help start the discussion about your overactive bladder (OAB) symptoms with your healthcare provider (HCP).",
    "IsDCGQuiz": true
  ,
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq_expectations",
    "ParentPage": "myrbetriq_why",
    "Url": "side-effects/",
    "View": "Myrbetriq",
    "SubView": "ManagingExpectations",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Myrbetriq Side Effects | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Read about the potential side effects of Myrbetriq, a prescription medicine for adults used to treat overactive bladder (OAB) with symptoms of urgency, frequency and leakage.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "social_saying",
    "ParentPage": "social_saying",
    "Url": "what-people-are-saying/",
    "View": "Social",
    "SubView": "WhatPeopleAreSaying",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "What People Say About Myrbetriq | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Patients and healthcare professionals share their experiences with Myrbetriq, a prescription medication to treat overactive bladder (OAB) in adults with symptoms of urgency, frequency and leakage.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "social_testimonial",
    "ParentPage": "social_saying",
    "Url": "overactive-bladder-patient-stories/",
    "View": "Social",
    "SubView": "PatientTestimonials",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Patient Stories [VIDEO] | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Watch videos of real patients who have talked to their doctors & have been prescribed Myrbetriq to treat their overactive bladder (OAB) with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "social_advice",
    "ParentPage": "social_saying",
    "Url": "talking-with-your-doctor/",
    "View": "Social",
    "SubView": "AdviceFromExperts",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Talk With Your Doctor About OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "It is important to have an open & honest discussion with your healthcare professional (HCP). Find advice on how to talk to your HCP about your overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "summer-recipes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/summer-recipes",
	"View": "PageTypeCategory",
    "SubView":"summer-recipes",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "OAB Summer Recipes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Don't let overactive bladder (OAB) spoil your summer fun. Check out these bladder-friendly summer recipes.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "spring-recipes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/spring-recipes",
	"View": "PageTypeCategory",
    "SubView":"spring-recipes",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "OAB Spring Recipes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Fresh and easy recipes featuring bladder-friendly seasonal produce. Learn more about seasonal meals for people suffering from overactive bladder (OAB).",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/recipes",
	"View": "PageTypeCategory",
    "SubView":"recipes",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Overactive Bladder (OAB) Diet-Friendly Recipes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Did you know that your diet may play a role in your overactive bladder (OAB) symptoms? Give our bladder-friendly recipes a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "videos_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/videos",
	"View": "PageTypeCategory",
    "SubView":"videos",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Overactive Bladder (OAB) Video Resources | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "From patient testimonials, expert advice, tips, tricks, and more, find answers to your overactive bladder (OAB) questions in our video resources.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "articles_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/articles",
	"View": "PageTypeCategory",
    "SubView":"articles",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "OAB Resources & Articles | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Check out articles on how to help manage overactive bladder (OAB) through recipes, lifestyle tips, real stories from people and expert insights into OAB and Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "exercise-fitness_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/exercise-fitness",
	"View": "PageTypeCategory",
    "SubView":"exercise-fitness",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Overactive Bladder (OAB) Exercise Tips | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Help manage your overactive bladder (OAB) symptoms with Kegel exercises, bladder training and fitness tips.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "health-wellness_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/health-wellness",
	"View": "PageTypeCategory",
    "SubView":"health-wellness",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Health & Wellness Tips for OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find health and wellness tips to help manage overactive bladder (OAB) today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "managing-overactive-bladder_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/managing-overactive-bladder",
	"View": "PageTypeCategory",
    "SubView":"managing-overactive-bladder",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "How to Manage OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Wondering how to better manage overactive bladder (OAB) symptoms? Learn more through tools and resources on how to better manage OAB.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "oab-tips-tricks_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/oab-tips-tricks",
	"View": "PageTypeCategory",
    "SubView":"oab-tips-tricks",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "OAB Tips & Tricks | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Review these tips and tricks on how to better manage overactive bladder (OAB) through exercise & fitness, bladder-friendly recipes, expert videos and more!",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "starting-myrbetriq_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/starting-myrbetriq",
	"View": "PageTypeCategory",
    "SubView":"starting-myrbetriq",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Starting Myrbetriq | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "When starting treatment, it's important to know what to expect. Myrbetriq can help overactive bladder (OAB) symptoms of urgency, frequency and leakage.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "real-myrbetriq-stories_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/real-myrbetriq-stories",
	"View": "PageTypeCategory",
    "SubView":"real-myrbetriq-stories",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Real Myrbetriq Stories | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn how people treat their overactive bladder (OAB) symptoms with Myrbetriq and hear about their personal experiences with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "expert-advice_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/expert-advice",
	"View": "PageTypeCategory",
    "SubView":"expert-advice",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Expert Advice | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn from overactive bladder (OAB) experts about how to manage the OAB journey and hear from doctors about what OAB is, symptoms and treatment options.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "new_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/new",
	"View": "PageTypeCategory",
    "SubView":"new",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Recently Added | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Check out these recently-added resources and tools to support the overactive bladder (OAB) journey. Find recommended recipes, lifestyle tips and more.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "talk-to-a-doctor_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/talk-to-a-doctor",
	"View": "PageTypeCategory",
    "SubView":"talk-to-a-doctor",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Talking to a Doctor | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Overactive bladder (OAB) is more common than you think! Talk to a doctor about OAB symptoms and see if Myrbetriq may be the right medication for you.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "momentum-tools_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/momentum-tools",
	"View": "PageTypeCategory",
    "SubView":"momentum-tools",
    "Controller": "Category",
    "Method": "GetCategory",
    "PageTitle": "Momentum Tools for OAB Management | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "From symptom trackers to doctor conversation guides and more, find tools to help manage overactive bladder (OAB).",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_round-table-story_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/round-table-story",
    "View": "PageTypeVideoArticle",
    "SubView": "round-table-story",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Overactive Bladder (OAB) Round-table Stories | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Watch real stories, and learn why these patients choose Myrbetriq to help manage their overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_angie-story_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/angie-story",
    "View": "PageTypeVideoArticle",
    "SubView": "angie-story",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Angie's OAB Story | Myrbetriq (mirabegron ER tablets))",
    "PageDescription": "Myrbetriq has helped people manage their overactive bladder (OAB) symptoms. Learn more from Angie's story.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_marilyn-story_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/marilyn-story",
    "View": "PageTypeVideoArticle",
    "SubView": "marilyn-story",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Marilyn's OAB Story | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Watch how people got back to their active lives with Myrbetriq to help manage their overactive bladder (OAB) symptoms. Learn more from Marilyn's story.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_marie-story_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/marie-story",
    "View": "PageTypeVideoArticle",
    "SubView": "marie-story",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Marie's OAB Story | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Do you think you may have overactive bladder (OAB) symptoms? Watch real stories on how people have talked to their doctors. Learn more from Marie's story.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_pam-story_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/pam-story",
    "View": "PageTypeVideoArticle",
    "SubView": "pam-story",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Pam’s OAB Story | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Pam did something about her overactive bladder (OAB) symptoms. Stop being afraid. The sooner you talk about it, the sooner you can have something done about it.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_maxine-story_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/maxine-story",
    "View": "PageTypeVideoArticle",
    "SubView": "maxine-story",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Maxine’s OAB Story | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Maxine and her doctor worked together and found that Myrbetriq was right for her. See why Maxine was relieved when her doctor told her OAB is a health condition.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_overactive-bladder-symptoms_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/overactive-bladder-symptoms",
    "View": "PageTypeVideoArticle",
    "SubView": "overactive-bladder-symptoms",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "OAB: What to Look For | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Do you think you may be experiencing overactive bladder (OAB) symptoms? Learn more about OAB and what signs to look for.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_managing-symptoms_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/managing-symptoms",
    "View": "PageTypeVideoArticle",
    "SubView": "managing-symptoms",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Managing OAB Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about the symptoms of overactive bladder (OAB), and how it may affect daily activities.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_how-myrbetriq-helps_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/how-myrbetriq-helps",
    "View": "PageTypeVideoArticle",
    "SubView": "how-myrbetriq-helps",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How Myrbetriq Helps OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Hear from Urologist Dr. David Staskin about how a healthy bladder should work, and how Myrbetriq may help to treat overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_how-myrbetriq-works_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/how-myrbetriq-works",
    "View": "PageTypeVideoArticle",
    "SubView": "how-myrbetriq-works",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How Myrbetriq Works for OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn how Myrbetriq works in the body to help manage overactive bladder (OAB) symptoms of urgency, frequency and leakage.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_what-to-expect_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/what-to-expect",
    "View": "PageTypeVideoArticle",
    "SubView": "what-to-expect",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Myrbetriq: How To Get Started| Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Listen to Urologist Dr. David Staskin talk about what to expect when taking Myrbetriq to treat symptoms of overactive bladder (OAB).",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_start-the-conversation_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/start-the-conversation",
    "View": "PageTypeVideoArticle",
    "SubView": "start-the-conversation",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Start the OAB Conversation | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Get advice on how to talk to your doctor about overactive bladder (OAB) symptoms, and discover the ways Myrbetriq can help manage symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_beyond-lifestyle-changes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/beyond-lifestyle-changes",
    "View": "PageTypeVideoArticle",
    "SubView": "beyond-lifestyle-changes",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Beyond Lifestyle Changes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Have you tried making lifestyle changes, such as diet and exercise, to improve overactive bladder (OAB) symptoms? Find out how Myrbetriq can help.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_prescribing-myrbetriq_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/prescribing-myrbetriq",
    "View": "PageTypeVideoArticle",
    "SubView": "prescribing-myrbetriq",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How Long Until Symptom Improvement | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Starting on Myrbetriq and wondering how long until there may be overactive bladder (OAB) symptom improvement? Find out how long until symptoms may improve.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_strengthening-your-pelvic-muscles_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/strengthening-your-pelvic-muscles",
    "View": "PageTypeVideoArticle",
    "SubView": "strengthening-your-pelvic-muscles",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How to Strengthen Pelvic Muscles | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Let's power up your pelvic muscles. Learn how to strengthen your pelvic floor muscles with kegels to help overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_refreshing-alternatives_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/refreshing-alternatives",
    "View": "PageTypeVideoArticle",
    "SubView": "refreshing-alternatives",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "OAB Treatment Alternatives | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Many foods and drinks can irritate the bladder, worsening symptoms of overactive bladder (OAB). Lifestyle changes, like diet changes, may not help enough.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_how-to-pack-clothes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/how-to-pack-clothes",
    "View": "PageTypeVideoArticle",
    "SubView": "how-to-pack-clothes",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How to Pack Clothes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn how to pack extra clothes when you're on the go with these compact folding techniques and be prepared while traveling with overactive bladder (OAB).",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_diy-cleaning-solutions_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/diy-cleaning-solutions",
    "View": "PageTypeVideoArticle",
    "SubView": "diy-cleaning-solutions",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "DIY Cleaning Solutions | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "When leaks happen there are some DIY cleaning solutions that you can use to keep things fresh and clean while managing overactive bladder (OAB) with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "recipe_parsley-pesto-spaghetti_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/parsley-pesto-spaghetti",
    "View": "PageTypeRecipe",
    "SubView": "parsley-pesto-spaghetti",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Parsley Pesto Spaghetti Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: parsley pesto spaghetti.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_low-fat-chicken-parmesan-and-polenta_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/low-fat-chicken-parmesan-and-polenta",
    "View": "PageTypeRecipe",
    "SubView": "low-fat-chicken-parmesan-and-polenta",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Low-Fat Parmesan Chicken & Polenta | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: low-fat parmesan chicken & polenta.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_pasta-zucchini-roasted-garlic_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/pasta-zucchini-roasted-garlic",
    "View": "PageTypeRecipe",
    "SubView": "pasta-zucchini-roasted-garlic",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Zucchini & Roasted Garlic Pasta | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: pasta with zucchini & roasted garlic.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_fabulous-fruit-muffins_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/fabulous-fruit-muffins",
    "View": "PageTypeRecipe",
    "SubView": "fabulous-fruit-muffins",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Fabulous Fruit Muffins Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: fabulous fruit muffins.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_stuffed-french-toast_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/stuffed-french-toast",
    "View": "PageTypeRecipe",
    "SubView": "stuffed-french-toast",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Stuffed French Toast | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: stuffed french toast.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_purple-passion-smoothie_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/purple-passion-smoothie",
    "View": "PageTypeRecipe",
    "SubView": "purple-passion-smoothie",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Purple Passion Smoothie | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: purple passion smoothie.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_ten-minute-shrimp-salad_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/ten-minute-shrimp-salad",
    "View": "PageTypeRecipe",
    "SubView": "ten-minute-shrimp-salad",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Ten-Minute Shrimp Salad Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: ten-minute shrimp salad.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_stuffed-bell-peppers_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/stuffed-bell-peppers",
    "View": "PageTypeRecipe",
    "SubView": "stuffed-bell-peppers",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Stuffed Bell Peppers Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: stuffed bell peppers.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_fat-free-apple-crumb-dessert_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/fat-free-apple-crumb-dessert",
    "View": "PageTypeRecipe",
    "SubView": "fat-free-apple-crumb-dessert",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Fat-Free Apple Crumb Dessert Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: fat-free apple crumb dessert.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_summer-berry-salad_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/summer-berry-salad",
    "View": "PageTypeVideoRecipe",
    "SubView": "summer-berry-salad",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Summer Berry Salad Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Diet may play a role in your overactive bladder (OAB) symptoms. Give our bladder-friendly Summer Berry Recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_creamy-tuscan-soup_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/creamy-tuscan-soup",
    "View": "PageTypeVideoRecipe",
    "SubView": "creamy-tuscan-soup",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Creamy Tuscan Soup | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Warm up with our delicious, bladder-friendly recipe for Creamy Tuscan Soup.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_sheet-pan-salmon-with-potatoes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/sheet-pan-salmon-with-potatoes",
    "View": "PageTypeVideoRecipe",
    "SubView": "sheet-pan-salmon-with-potatoes",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Pan Salmon with Potatoes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Add our delicious bladder-friendly Sheet Pan Salmon with Potatoes & Broccoli recipe to your diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_grilled-rosemary-pork-chops_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/grilled-rosemary-pork-chops",
    "View": "PageTypeVideoRecipe",
    "SubView": "grilled-rosemary-pork-chops",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Pork Chops with Asparagus | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try adding our delicious and bladder-friendly Grilled Rosemary Pork Chops with Grilled Asparagus recipe to your diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_peanut-butter-cookies_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/peanut-butter-cookies",
    "View": "PageTypeVideoRecipe",
    "SubView": "peanut-butter-cookies",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Peanut Butter Cookies | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Symptoms of overactive bladder (OAB) can be worsened by certain foods and drinks. Check out our easy and delicious 3-Ingredient Peanut Butter Cookies for a tasty snack.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_egg-squash-spinach-frittata_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/egg-squash-spinach-frittata",
    "View": "PageTypeVideoRecipe",
    "SubView": "egg-squash-spinach-frittata",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Egg Squash Spinach Frittata | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Diets can play a role in your overactive bladder (OAB) symptoms. Try our bladder-friendly Egg White, Squash & Spinach Frittata recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
 {
    "PageName": "recipe_slow-cooker-chicken-with-wild-rice_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/slow-cooker-chicken-with-wild-rice",
    "View": "PageTypeRecipe",
    "SubView": "slow-cooker-chicken-with-wild-rice",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Chicken, Wild Rice & Veggies | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our Slow Cooker Chicken with Wild Rice & Vegetables as a bladder-friendly option in your diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_penne-with-asparagus_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/penne-with-asparagus",
    "View": "PageTypeRecipe",
    "SubView": "penne-with-asparagus",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Penne, Asparagus & Snap Peas | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our Penne with Asparagus & Snap Peas recipe as part of a bladder-friendly diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_mediterranean-shrimp-and-orzo-soup_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/mediterranean-shrimp-and-orzo-soup",
    "View": "PageTypeRecipe",
    "SubView": "mediterranean-shrimp-and-orzo-soup",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Shrimp & Orzo Soup | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our delicious Mediterranean Shrimp & Orzo Soup recipe for a hearty bladder-friendly recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_low-fat-oatmeal-pancakes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/low-fat-oatmeal-pancakes",
    "View": "PageTypeRecipe",
    "SubView": "low-fat-oatmeal-pancakes",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Low-Fat Oatmeal Pancakes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Did you know that your diet can play a role in your overactive bladder (OAB) symptoms? Give our bladder-friendly Low-fat Oatmeal Pancake recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_herbed-pasta-salad_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/herbed-pasta-salad",
    "View": "PageTypeRecipe",
    "SubView": "herbed-pasta-salad",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Herbed Pasta Salad | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Looking for a healthy recipe that won't exacerbate overactive bladder (OAB) symptoms? Give our Herbed Pasta Salad bladder-friendly recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_grilled-italian-chicken-kabobs_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/grilled-italian-chicken-kabobs",
    "View": "PageTypeRecipe",
    "SubView": "grilled-italian-chicken-kabobs",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Italian Chicken Kabobs | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our bladder-friendly Grilled Italian Chicken Kabobs recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_garlic-chicken-spinach-white-pizza_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/garlic-chicken-spinach-white-pizza",
    "View": "PageTypeRecipe",
    "SubView": "garlic-chicken-spinach-white-pizza",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Garlic Chicken & Spinach Pizza | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our family-friendly and bladder-friendly Garlic Chicken & Spinach White Pizza recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_easy-polenta-with-garlic-herb-shrimp_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/easy-polenta-with-garlic-herb-shrimp",
    "View": "PageTypeRecipe",
    "SubView": "easy-polenta-with-garlic-herb-shrimp",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Polenta with Garlic Herb Shrimp | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Diets may play a role in bladder health. Try our easy and delicious Polenta with Garlic Herb Shrimp bladder-friendly recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_easy-pear-cobbler_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/easy-pear-cobbler",
    "View": "PageTypeRecipe",
    "SubView": "easy-pear-cobbler",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Easy Pear Cobbler | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Craving dessert? Try our Pear Cobbler recipe. It's easy to make, delicious, and bladder-friendly.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_dill-red-skin-potato-salad_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/dill-red-skin-potato-salad",
    "View": "PageTypeRecipe",
    "SubView": "dill-red-skin-potato-salad",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Dill Red-Skin Potato Salad | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our delicious Dill Red-Skin Potato Salad recipe for a bladder-friendly meal option.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_dairy-free-almond-butter-oats-new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/dairy-free-almond-butter-oats",
    "View": "PageTypeRecipe",
    "SubView": "dairy-free-almond-butter-oats",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Dairy-Free Almond Butter Oats | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try this bladder-friendly recipe for Dairy-Free Overnight Almond Butter Oats in the morning.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_cod-fish-cakes_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/cod-fish-cakes",
    "View": "PageTypeRecipe",
    "SubView": "cod-fish-cakes",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Cod Fish Cakes with Gremolata | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our bladder-friendly recipe for Cod Fish Cakes with Parsley Gremolata.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_carrot-loaf-cake_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/carrot-loaf-cake",
    "View": "PageTypeRecipe",
    "SubView": "carrot-loaf-cake",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Carrot Loaf Cake | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Looking for a delicious dessert? Try our delicious Carrot Loaf Cake bladder-friendly recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_caramel-cheesecake-bites_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/caramel-cheesecake-bites",
    "View": "PageTypeRecipe",
    "SubView": "caramel-cheesecake-bites",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Caramel Cheesecake Bites | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "With our bladder-friendly Caramel Cheesecake Bite recipe, you can make the whole family happy.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_butternut-squash-soup_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/butternut-squash-soup",
    "View": "PageTypeRecipe",
    "SubView": "butternut-squash-soup",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Butternut Squash Soup | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Our mouthwatering Butternut Squash Soup recipe is a fall favorite, plus it's bladder-friendly.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_brown-butter-cashew-blondies_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/brown-butter-cashew-blondies",
    "View": "PageTypeRecipe",
    "SubView": "brown-butter-cashew-blondies",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Brown-Butter Cashew Blondies | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Looking for a yummy snack? Try our decadent Brown-Butter Cashew Blondies bladder-friendly recipe to satisfy your craving.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_blueberry-sorbet_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/blueberry-sorbet",
    "View": "PageTypeRecipe",
    "SubView": "blueberry-sorbet",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Blueberry Sorbet | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our delectable Blueberry Sorbet bladder-friendly recipe to spruce up dessert.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_avocado-pita-breakfast-sandwich_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/avocado-pita-breakfast-sandwich",
    "View": "PageTypeRecipe",
    "SubView": "avocado-pita-breakfast-sandwich",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Avocado Pita Sandwich | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Give our Avocado Pita Breakfast Sandwich bladder-friendly recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_apple-pie-bars_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/apple-pie-bars",
    "View": "PageTypeRecipe",
    "SubView": "apple-pie-bars",
    "Controller": "Recipe",
    "Method": "GetRecipe",
    "PageTitle": "Apple Pie Bars | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Include our Apple Pie Bars bladder-friendly recipe in your diet to help satisfy dessert cravings.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "recipe_manage-overactive-bladder-with-mental-exercises_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/manage-overactive-bladder-with-mental-exercises",
    "View": "PageTypeArticle",
    "SubView": "manage-overactive-bladder-with-mental-exercises",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Overactive Bladder (OAB) & Mental Exercises | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "While overactive bladder (OAB) symptoms are physical, there are mental strategies which may help you control the urge to go.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_how-to-do-male-kegels_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/how-to-do-male-kegels",
    "View": "PageTypeArticle",
    "SubView": "how-to-do-male-kegels",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How To Do Kegel Exercises For Men | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Why should you do Kegel exercises as a man? They can be helpful for overactive bladder (OAB) symptoms by building pelvic floor strength. Learn more.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "article_losing-weight-getting-active-overactive-bladder_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/losing-weight-getting-active-overactive-bladder",
    "View": "PageTypeArticle",
    "SubView": "losing-weight-getting-active-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Exercise Impact On Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "3 ways to get active which may help overactive bladder (OAB) symptoms. Losing weight may help with managing your OAB symptoms and reducing frequent urges.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "article_bladder-retraining-practice-how-to_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/bladder-retraining-practice-how-to",
    "View": "PageTypeArticle",
    "SubView": "bladder-retraining-practice-how-to",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How To Start Retraining Your Bladder | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "It may be possible to retrain your bladder to help manage overactive bladder (OAB) symptoms. Learn more.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "article_kegel-exercises-for-overactive-bladder_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/kegel-exercises-for-overactive-bladder",
    "View": "PageTypeArticle",
    "SubView": "kegel-exercises-for-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Kegel Exercises For Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Wondering how to do Kegels? Is it true that they can help with overactive bladder (OAB) symptoms? Find out how to do Kegel exercises.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "article_managing-chronic-conditions-overactive-bladder_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/managing-chronic-conditions-overactive-bladder",
    "View": "PageTypeArticle",
    "SubView": "managing-chronic-conditions-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Chronic Conditions & Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "If you have another medical condition, it could be making your overactive bladder (OAB) symptoms worse. Find out how to talk to your doctor about OAB and other chronic conditions.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "article_finding-overactive-bladder-support_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/finding-overactive-bladder-support",
    "View": "PageTypeArticle",
    "SubView": "finding-overactive-bladder-support",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Overactive Bladder (OAB) Help & Support | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "How can you find support from your friends and family to help you manage your overactive bladder (OAB) symptoms? Find out more about how to start a bladder-friendly lifestyle in your daily life with a little help from those around you.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
{
    "PageName": "POC-Landing-Page",
    "ParentPage": "poc",
    "Url": "poc/",
    "SubView":"PageTypeLanding",
    "View": "POCLandingPage",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Resources To Manage Overactive Bladder | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find bladder-friendly recipes along with health & wellness tips, exercise & fitness information, and tracking tools that may help with overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "journey_started",
    "ParentPage": "journey_started",
    "Url": "getting-started/",
    "View": "Journey",
    "SubView": "GettingStarted",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Getting Started With Myrbetriq | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Myrbetriq is a prescription medication for adults used to treat overactive bladder (OAB) symptoms of urgency, frequency and leakage. Learn about what to expect and tips about your treatment with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "time_until_symptom_improvement",
    "ParentPage": "journey_started",
    "Url": "time-until-symptom-improvement/",
    "View": "Journey",
    "SubView": "PlottingYourCourse",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "How Long Until OAB Symptoms Improve [VIDEO] | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Did you recently start taking Myrbetriq? Watch this video to find out how long it typically takes for overactive bladder (OAB) symptoms to improve.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "journey_plotting",
    "ParentPage": "journey_started",
    "Url": "how-to-use-myrbetriq/",
    "View": "Journey",
    "SubView": "PlottingYourCourse",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "How to Use Myrbetriq for OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Your healthcare professional has prescribed Myrbetriq for you to help your symptoms of overactive bladder (OAB) including urgency, frequency and leakage. It's important to manage your OAB symptoms. Follow these guidelines.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "journey_treatment",
    "ParentPage": "journey_started",
    "Url": "overactive-bladder-treatment-journey/",
    "View": "Journey",
    "SubView": "YourTreatmentJourney",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB Treatment Journey | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about your Myrbetriq treatment journey. Plan next steps, doctor visits and what to expect when beginning treatment with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "journey_treatment_day_1",
    "ParentPage": "journey_started",
    "Url": "overactive-bladder-treatment-journey/#day-1",
    "View": "Journey",
    "SubView": "YourTreatmentJourney",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB Treatment Journey | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about your Myrbetriq treatment journey. Plan next steps, doctor visits and what to expect when beginning treatment with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "journey_treatment_day_30",
    "ParentPage": "journey_started",
    "Url": "overactive-bladder-treatment-journey/#day-30",
    "View": "Journey",
    "SubView": "YourTreatmentJourney",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB Treatment Journey | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about your Myrbetriq treatment journey. Plan next steps, doctor visits and what to expect when beginning treatment with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "journey_treatment_day_60",
    "ParentPage": "journey_started",
    "Url": "overactive-bladder-treatment-journey/#day-60",
    "View": "Journey",
    "SubView": "YourTreatmentJourney",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB Treatment Journey | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about your Myrbetriq treatment journey. Plan next steps, doctor visits and what to expect when beginning treatment with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "journey_treatment_day_90",
    "ParentPage": "journey_started",
    "Url": "overactive-bladder-treatment-journey/#day-90",
    "View": "Journey",
    "SubView": "YourTreatmentJourney",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "OAB Treatment Journey | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn about your Myrbetriq treatment journey. Plan next steps, doctor visits and what to expect when beginning treatment with Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_program",
    "ParentPage": "savings_program",
    "Url": "savings-and-support/",
    "View": "SavingsProgram",
    "SubView": "SavingsAndSupport",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Cost Savings & Support Overview | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Discover how eligible patients can save on their Myrbetriq prescriptions. Assistance may be available for those who can't afford to pay for Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_card",
    "ParentPage": "savings_program",
    "Url": "cost-savings-and-support/",
    "View": "SavingsProgram",
    "SubView": "MomentumSavingsCard",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Cost Savings & Support | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "The Momentum Savings Card may help you save on your Myrbetriq prescription. Find out if you are eligible and enroll for your Momentum Savings Card today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_card_enroll_online",
    "ParentPage": "savings_program",
    "Url": "cost-savings-and-support/#momentum-program",
    "View": "SavingsProgram",
    "SubView": "MomentumSavingsCard",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Cost Savings & Support | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "The Momentum Savings Card may help you save on your Myrbetriq prescription. Find out if you are eligible and enroll for your Momentum Savings Card today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_card_enroll_text",
    "ParentPage": "savings_program",
    "Url": "cost-savings-and-support/#momentum-program",
    "View": "SavingsProgram",
    "SubView": "MomentumSavingsCard",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Cost Savings & Support | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "The Momentum Savings Card may help you save on your Myrbetriq prescription. Find out if you are eligible and enroll for your Momentum Savings Card today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_program_momentum",
    "ParentPage": "savings_program",
    "Url": "momentum-program/",
    "View": "SavingsProgram",
    "SubView": "MomentumProgram",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Momentum Program | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Join the Momentum Program, and receive tips, suggestions, and encouragement right to your inbox or mailbox. Sign up today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_tools",
    "ParentPage": "savings_program",
    "Url": "savings-support/",
    "View": "SavingsProgram",
    "SubView": "ToolsAndResources",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Resources To Manage Overactive Bladder | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find bladder-friendly recipes along with health & wellness tips, exercise & fitness information, and tracking tools that may help with overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_assistance",
    "ParentPage": "savings_program",
    "Url": "cost-and-coverage/",
    "View": "SavingsProgram",
    "SubView": "PatientAssistance",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Myrbetriq Cost & Am I Covered? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Learn more about your coverage and cost of Myrbetriq.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "savings_shareyourstory",
    "ParentPage": "savings_program",
    "Url": "overactive-bladder-stories/",
    "View": "SavingsProgram",
    "SubView": "ShareYourStory",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Share Your Overactive Bladder Story | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Inspire others living with overactive bladder (OAB) symptoms by joining the MyGuides volunteer network.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "patient_resources",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/",
    "SubView":"PageTypeFeatured",
    "View": "PatientResources",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Resources To Manage Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find bladder-friendly recipes along with health & wellness tips, exercise & fitness information, and tracking tools that may help with overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "momentum_tools",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/momentum-tools/",
    "View": "PatientResources",
    "SubView": "FeaturedCategorySection",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Momentum Tools for OAB Management | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "From symptom trackers to doctor conversation guides and more, find tools to help manage overactive bladder (OAB).",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "patient_resources_videos",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/videos/",
    "View": "PatientResources",
    "SubView": "02_video",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Video Resources | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "From patient testimonials, expert advice, tips, tricks, and more, find answers to your overactive bladder (OAB) questions in our video resources.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "beyond_lifestyle_changes",
    "ParentPage": "patient_resources",
    "Url": "beyond-lifestyle-changes/",
    "View": "PatientResources",
    "SubView": "02_video",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "When To Try OAB Medication [VIDEO] | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "If lifestyle changes aren't enough to manage your symptoms, it may be time to talk to your doctor about a treatment option. Learn more about Myrbetriq today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "patient_resources_recipes",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/recipes/",
    "View": "PatientResources",
    "SubView": "StandardCategorySection",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Diet-Friendly Recipes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Did you know that your diet may play a role in your overactive bladder (OAB) symptoms? Give our bladder-friendly recipes a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "patient_resources_exercise_fitness",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/exercise-fitness/",
    "View": "PatientResources",
    "SubView": "04_exercise",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Exercise Tips | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Help manage your overactive bladder (OAB) symptoms with Kegel exercises, bladder training and fitness tips.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "patient_resources_health_wellness",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/health-wellness/",
    "View": "PatientResources",
    "SubView": "05_health_wellness",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Health & Wellness Tips for OAB | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find health and wellness tips to help manage overactive bladder (OAB) today.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_pasta-zucchini-garlic",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/pasta-zucchini-roasted-garlic/",
    "View": "Recipes/PastaZucchiniGarlic",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Zucchini & Roasted Garlic Pasta | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: pasta with zucchini & roasted garlic.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_fruit-muffins",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/fabulous-fruit-muffins/",
    "View": "Recipes/FruitMuffins",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Fabulous Fruit Muffins Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: fabulous fruit muffins.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_parmesan-chicken-polenta",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/low-fat-chicken-parmesan-and-polenta/",
    "View": "Recipes/ParmesanChickenPolenta",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Low-Fat Parmesan Chicken & Polenta | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: low-fat parmesan chicken & polenta.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_spaghetti-parsley-pesto",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/parsley-pesto-spaghetti/",
    "View": "Recipes/SpaghettiParsleyPesto",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Parsley Pesto Spaghetti Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: parsley pesto spaghetti.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_passion-smoothie",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/purple-passion-smoothie/",
    "View": "Recipes/PassionSmoothie",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Purple Passion Smoothie | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: purple passion smoothie.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_french-toast",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/stuffed-french-toast/",
    "View": "Recipes/FrenchToast",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Stuffed French Toast | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: stuffed french toast.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_apple-crumb",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/fat-free-apple-crumb-dessert/",
    "View": "Recipes/AppleCrumb",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Fat-Free Apple Crumb Dessert Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: fat-free apple crumb dessert.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_shrimp-salad",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/ten-minute-shrimp-salad/",
    "View": "Recipes/ShrimpSalad",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Ten-Minute Shrimp Salad Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: ten-minute shrimp salad.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_stuffed-peppers",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/stuffed-bell-peppers/",
    "View": "Recipes/StuffedPeppers",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Stuffed Bell Peppers Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Bladder-friendly recipe: stuffed bell peppers.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_egg-squash-spinach-frittatas",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/egg-squash-spinach-frittata/",
    "View": "Recipes/EggWhiteSquashSpinachFrittata",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Egg Squash Spinach Frittata | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Diets can play a role in your overactive bladder (OAB) symptoms. Try our bladder-friendly Egg White, Squash & Spinach Frittata recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_low-fat-oatmeal-pancakes",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/low-fat-oatmeal-pancakes/",
    "View": "Recipes/LowFatOatmealPancakes",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Low-Fat Oatmeal Pancakes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Did you know that your diet can play a role in your overactive bladder (OAB) symptoms? Give our bladder-friendly Low-fat Oatmeal Pancake recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_dairy-free-almond-butter-oats",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/dairy-free-almond-butter-oats/",
    "View": "Recipes/DairyFreeOvernightAlmondButterOats",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Dairy-Free Almond Butter Oats | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try this bladder-friendly recipe for Dairy-Free Overnight Almond Butter Oats in the morning.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "recipe_avocado-pita-breakfast-sandwich",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/avocado-pita-breakfast-sandwich/",
    "View": "Recipes/AvocadoPitaBreakfastSandwich",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Avocado Pita Sandwich | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Give our Avocado Pita Breakfast Sandwich bladder-friendly recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_caramel-cheesecake-bites",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/caramel-cheesecake-bites/",
    "View": "Recipes/CaramelCheesecakeBites",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Caramel Cheesecake Bites | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "With our bladder-friendly Caramel Cheesecake Bite recipe, you can make the whole family happy.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_easy-pear-cobbler",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/easy-pear-cobbler/",
    "View": "Recipes/EasyPearCobbler",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Easy Pear Cobbler | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Craving dessert? Try our Pear Cobbler recipe. It's easy to make, delicious, and bladder-friendly.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_apple-pie-bars",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/apple-pie-bars/",
    "View": "Recipes/ApplePieBars",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Apple Pie Bars | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Include our Apple Pie Bars bladder-friendly recipe in your diet to help satisfy dessert cravings.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "recipe_creamy-tuscan-soup",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/creamy-tuscan-soup/",
    "View": "Recipes/SlowCookerCreamTuscanSoup",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Creamy Tuscan Soup | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Warm up with our delicious, bladder-friendly recipe for Creamy Tuscan Soup.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "recipe_butternut-squash-soup",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/butternut-squash-soup/",
    "View": "Recipes/ButternutSquashSoup",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Butternut Squash Soup | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Our mouthwatering Butternut Squash Soup recipe is a fall favorite, plus it's bladder-friendly.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_mediterranean-shrimp-and-orzo-soup",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/mediterranean-shrimp-and-orzo-soup/",
    "View": "Recipes/MediterraneanShrimpOrzoSoup",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Shrimp & Orzo Soup | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our delicious Mediterranean Shrimp & Orzo Soup recipe for a hearty bladder-friendly recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_herbed-pasta-salad",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/herbed-pasta-salad/",
    "View": "Recipes/HerbedPastaSalad",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Herbed Pasta Salad | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Looking for a healthy recipe that won't exacerbate overactive bladder (OAB) symptoms? Give our Herbed Pasta Salad bladder-friendly recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_dill-red-skin-potato-salad",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/dill-red-skin-potato-salad/",
    "View": "Recipes/DillRedSkinPotatoSalad",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Dill Red-Skin Potato Salad | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our delicious Dill Red-Skin Potato Salad recipe for a bladder-friendly meal option.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_summer-berry-salad",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/summer-berry-salad/",
    "View": "Recipes/SummerBerrySalad",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Summer Berry Salad Recipe | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Diet may play a role in your overactive bladder (OAB) symptoms. Give our bladder-friendly Summer Berry Recipe a try.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_penne-with-asparagus",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/penne-with-asparagus/",
    "View": "Recipes/PenneAsparagusSnapPeas",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Penne, Asparagus & Snap Peas | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our Penne with Asparagus & Snap Peas recipe as part of a bladder-friendly diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_garlic-chicken-spinach-white-pizza",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/garlic-chicken-spinach-white-pizza/",
    "View": "Recipes/GarlicChickenSpinachWhitePizza",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Garlic Chicken & Spinach Pizza | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our family-friendly and bladder-friendly Garlic Chicken & Spinach White Pizza recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_grilled-italian-chicken-kabobs",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/grilled-italian-chicken-kabobs/",
    "View": "Recipes/GrilledItalianChickenKabobs",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Italian Chicken Kabobs | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our bladder-friendly Grilled Italian Chicken Kabobs recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "recipe_easy-polenta-with-garlic-herb-shrimp",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/easy-polenta-with-garlic-herb-shrimp/",
    "View": "Recipes/EasyPolentaGarlicHerbShrimp",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Polenta with Garlic Herb Shrimp | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Diets may play a role in bladder health. Try our easy and delicious Polenta with Garlic Herb Shrimp bladder-friendly recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_grilled-rosemary-pork-chops",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/grilled-rosemary-pork-chops/",
    "View": "Recipes/GrilledRosemaryPorkChopsGrilledAsparagus",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Pork Chops with Asparagus | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try adding our delicious and bladder-friendly Grilled Rosemary Pork Chops with Grilled Asparagus recipe to your diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_sheet-pan-salmon-with-potatoess",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/sheet-pan-salmon-with-potatoes/",
    "View": "Recipes/SheetPanSalmonPotatoesBroccoli",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Pan Salmon with Potatoes | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Add our delicious bladder-friendly Sheet Pan Salmon with Potatoes & Broccoli recipe to your diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_slow-cooker-chicken-with-wild-rice",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/slow-cooker-chicken-with-wild-rice/",
    "View": "Recipes/SlowCookerChickenWildRiceVegetables",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Chicken, Wild Rice & Veggies | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our Slow Cooker Chicken with Wild Rice & Vegetables as a bladder-friendly option in your diet.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_cod-fish-cakes",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/cod-fish-cakes/",
    "View": "Recipes/CodFishCakesParsletGremolata",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Cod Fish Cakes with Gremolata | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our bladder-friendly recipe for Cod Fish Cakes with Parsley Gremolata.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_blueberry-sorbet",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/blueberry-sorbet/",
    "View": "Recipes/BlueberrySorbet",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Blueberry Sorbet | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Try our delectable Blueberry Sorbet bladder-friendly recipe to spruce up dessert.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_carrot-loaf-cake",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/carrot-loaf-cake/",
    "View": "Recipes/CarrotLoafCake",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Carrot Loaf Cake | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Looking for a delicious dessert? Try our delicious Carrot Loaf Cake bladder-friendly recipe.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
   {
    "PageName": "recipe_peanut-butter-cookies",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/peanut-butter-cookies/",
    "View": "Recipes/PeanutButterCookies",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Peanut Butter Cookies | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Symptoms of overactive bladder (OAB) can be worsened by certain foods and drinks. Check out our easy and delicious 3-Ingredient Peanut Better Cookies for a tasty snack.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "recipe_brown-butter-cashew-blondies",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/brown-butter-cashew-blondies/",
    "View": "Recipes/BrownButterCashewBlondies",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Brown-Butter Cashew Blondies | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Looking for a yummy snack? Try our decadent Brown-Butter Cashew Blondies bladder-friendly recipe to satisfy your craving.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_strength-of-kegels",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/kegel-exercises-for-overactive-bladder/",
    "View": "Articles/StrenghOfKegels",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Kegel Exercises For Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Wondering how to do Kegels? Is it true that they can help with overactive bladder (OAB) symptoms? Find out how to do Kegel exercises.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_mind-over-bladder",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/bladder-retraining-practice-how-to/",
    "View": "Articles/MindOverBladder",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "How To Start Retraining Your Bladder | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "It may be possible to retrain your bladder to help manage overactive bladder (OAB) symptoms. Learn more.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_de-stress-and-strengthen",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/losing-weight-getting-active-overactive-bladder/",
    "View": "Articles/DestressAndStrengthen",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Exercise Impact On Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "3 ways to get active which may help overactive bladder (OAB) symptoms. Losing weight may help with managing your OAB symptoms and reducing frequent urges.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_kegels-for-men",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/how-to-do-male-kegels",
    "View": "Articles/KegelsForMen",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "How To Do Kegel Exercises For Men | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Why should you do Kegel exercises as a man? They can be helpful for overactive bladder (OAB) symptoms by building pelvic floor strength. Learn more.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_finding-support",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/finding-overactive-bladder-support/",
    "View": "Articles/FindingSupport",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) Help & Support | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "How can you find support from your friends and family to help you manage your overactive bladder (OAB) symptoms? Find out more about how to start a bladder-friendly lifestyle in your daily life with a little help from those around you.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_managing-your-chronic-conditions",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/managing-chronic-conditions-overactive-bladder/",
    "View": "Articles/ManagingYourChronicConditions",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Chronic Conditions & Overactive Bladder (OAB) | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "If you have another medical condition, it could be making your overactive bladder (OAB) symptoms worse. Find out how to talk to your doctor about OAB and other chronic conditions.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "momentum-thankyou",
    "ParentPage": "momentum-thankyou",
    "Url": "momentum-thankyou/",
    "View": "MomentumThankyou",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Momentum Thank You | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Thank you momentum",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "faq",
    "ParentPage": "faq",
    "Url": "overactive-bladder-faqs/",
    "View": "FAQ",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Overactive Bladder (OAB) FAQs | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find answers to frequently asked questions (FAQs) about overactive bladder (OAB) & Myrbetriq, a prescription medication for OAB with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq-patient-information",
    "ParentPage": "",
    "Url": "myrbetriq-patient-information/",
    "View": "Index",
    "SubView": "MyrbetriqPatientInformation",
    "Controller": "PDFReader",
    "Method": "Reader",
    "PageTitle": "Overactive Bladder FAQs | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find answers to frequently asked questions about overactive bladder (OAB) & Myrbetriq, a prescription medication for OAB with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "orphan-activate-the-card",
    "ParentPage": "orphan",
    "Url": "activate-the-card-terms/",
    "View": "ActivateTheCardTerms",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Activate the Card Terms and Conditions | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Terms and Conditions",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "orphan-pricing-disclosure",
    "ParentPage": "orphan",
    "Url": "e9cal28rzd/",
    "View": "PricingDisclosure",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Pricing Disclosure | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Pricing Disclosure",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "article_maxine-snippet-1_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/why-talk-to-your-doctor-overactive-bladder",
    "View": "PageTypeVideoArticle",
    "SubView": "why-talk-to-your-doctor-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Why Maxine Talked To Her Doctor About Overactive Bladder (OAB) Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Maxine talked to her doctor about a treatment plan for her overactive bladder symptoms. Learn how you can do the same.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "maxine"
  },
  {
    "PageName": "article_maxine-snippet-2_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/tips-for-talking-to-your-doctor-overactive-bladder",
    "View": "PageTypeVideoArticle",
    "SubView": "tips-for-talking-to-your-doctor-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Tips For a Productive Conversation About Overactive Bladder (OAB) Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Maxine wishes she would have talked with her doctor and gotten the information about OAB sooner. She shares how to find talking points and other resources.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "maxine"
  },
  {
    "PageName": "article_maxine-snippet-3_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/advice-for-women-of-color-overactive-bladder",
    "View": "PageTypeVideoArticle",
    "SubView": "advice-for-women-of-color-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Maxine's Advice for Young Adults and Women of Color | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Maxine offers advice on how to manage overactive bladder (OAB) symptoms.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "maxine"
  },
  {
    "PageName": "article_maxine-snippet-4_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/communicating-with-the-doctor",
    "View": "PageTypeVideoArticle",
    "SubView": "communicating-with-the-doctor",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "How Maxine Uses The Internet To Help With Her Overactive Bladder (OAB) Symptoms | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Maxine explains that the Internet has been helpful in managing her health. She shares how she finds new recipes, does research, and meets with her doctor via video call.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "maxine"
  },
  {
    "PageName": "article_pam-snippet-1_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/talking-to-your-doctor-overactive-bladder",
    "View": "PageTypeVideoArticle",
    "SubView": "talking-to-your-doctor-overactive-bladder",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Why Pam Talked To her Doctor About A Treatment Plan | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Pam talked to her doctor about an overactive bladder (OAB) treatment plan. Learn how you can do the same.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "pam"
  },
   {
    "PageName": "article_pam-snippet-2_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/keeping-a-journal-overactive-bladder-symptoms",
    "View": "PageTypeVideoArticle",
    "SubView": "keeping-a-journal-overactive-bladder-symptoms",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Tracking Overactive Bladder (OAB) Symptoms: Why Pam Keeps A Journal | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Tracking Symptoms: Pam keeps a journal of her OAB symptoms--learn how that can work for you.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "pam"
  },
  {
    "PageName": "article_pam-snippet-3_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/building-a-relationship-with-your-doctor",
    "View": "PageTypeVideoArticle",
    "SubView": "building-a-relationship-with-your-doctor",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Building A Relationship With A Doctor: Why Pam Thinks It Matters | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Building a relationship with your doctor can help improve your overactive bladder (OAB) treatment plan. Learn how Pam did it.",
    "IncludeKeyVideo": "Yes",
    "KeyVideo": "pam"
  },
  {
    "PageName": "article_bladder-friendly-recipes-to-try-at-home_new",
    "ParentPage": "patient_resources",
    "Url": "overactive-bladder-resources/bladder-friendly-recipes",
    "View": "PageTypeVideoArticle",
    "SubView": "bladder-friendly-recipes",
    "Controller": "Article",
    "Method": "GetArticle",
    "PageTitle": "Bladder-Friendly Recipes to Try At Home: Overactive Bladder (OAB) Diet Tips | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Check out these bladder-friendly recipes to try at home.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "orphan-text-to-save",
    "ParentPage": "orphan",
    "Url": "text-to-save-terms/",
    "View": "TextToSaveTerms",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Text to Save Terms and Conditions | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Terms and Conditions",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "myrbetriq-wpi",
    "ParentPage": "",
    "Url": "myrbetriq-wpi/",
    "View": "Index",
    "SubView": "MyrbetriqWPI",
    "Controller": "PDFReader",
    "Method": "Reader",
    "PageTitle": "Overactive Bladder FAQs | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "Find answers to frequently asked questions about overactive bladder (OAB) & Myrbetriq, a prescription medication for OAB with symptoms of urgency, frequency and leakage in adults.",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "external-wpi",
    "ParentPage": "",
    "Url": "external-wpi/",
    "View": "",
    "SubView": "",
    "Controller": "PDFReader",
    "Method": "ExternalWPI",
    "PageTitle": "",
    "PageDescription": "",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "error_404",
    "ParentPage": "",
    "Url": "error404/",
    "View": "Error",
    "Controller": "StaticPage",
    "Method": "Http404",
    "PageTitle": "Looking For More Information? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "deliberate_error",
    "ParentPage": "",
    "Url": "makeerror/",
    "View": "Error",
    "Controller": "StaticPage",
    "Method": "throwerror",
    "PageTitle": "Looking For More Information? | Myrbetriq (mirabegron ER tablets)",
    "PageDescription": "",
    "IncludeKeyVideo": "No",
    "KeyVideo": ""
  },
  {
    "PageName": "landing",
    "ParentPage": "",
    "Url": "telehealth-overactive-bladder-diagnosis/",
    "View": "Landing",
    "Controller": "StaticPage",
    "Method": "StaticPage",
    "PageTitle": "Telehealth Landing Page | Myrbetriq",
    "PageDescription": ""
  }
]);;
