stage.height&&(stage.height,theme.titleBarHeight),(e=e+i-theme.titleBarHeight-100<0?-(i-theme.titleBarHeight-100):e)+theme.titleBarHeight>stage.width&&(e=stage.width-theme.titleBarHeight)}function isSpacer(e){return"%SPACER%"===e.label}function isSingleTextPage(e){return e&&e.media&&1===e.media.length&&/html|contact/.test(getMediaById(e.media[0]).type)}function getPropWithoutReflow(e,t){var i=e.style.display||"block";e.style.display="none",e[t];e.style.display=i}function clamp(e,t){}function resolveSectionPath(e){var t=getFirstValidSub(e);return!sectionHasMedia(e)&&(!e.isIndex&&t||e).key}function fullscreen(t){return function(){function e(){(!t.webkitSupportsPresentationMode||!t.webkitSupportsPresentationMode("fullscreen")||"inline"!==t.webkitPresentationMode)&&(document.isFullscreen||document.webkitIsFullscreen)||t.removeAttribute("controls")}document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement?document.webkitExitFullscreen():t.webkitSupportsPresentationMode&&t.webkitSupportsPresentationMode("fullscreen")?(t.webkitSetPresentationMode("fullscreen"),t.setAttribute("controls",!0)):t.requestFullscreen?(t.requestFullscreen(),t.setAttribute("controls",!0)):t.webkitRequestFullscreen&&(t.webkitRequestFullscreen(),t.setAttribute("controls",!0)),document.addEventListener("fullscreenchange",e,!1),document.addEventListener("webkitfullscreenchange",e,!1),t.addEventListener("webkitendfullscreen",e,!1)}}function buildAttachmentButton(e){var t=new Sprite,i=(t.selectable=!1,t.style.display="flex",t.style.alignItems="center",t.style.gap="4px",new Svg),n=(i.id="svg",i.position="relative",i.width=21,i.height=21,i.left=0,i.top=0,t.addChild(i),new Path),i=(n.id="icon",n.position="relative",n.d=e.icon,n.strokeWidth=0,n.fill=e.iconColor,i.addChild(n),new TextField);switch(i.selectable=!1,i.cursor="pointer",i.position="relative",i.fontFamily=e.font,i.fontColor=e.fontColor,i.fontSize=e.fontSize,i.text=e.text,e.text&&t.addChild(i),e.alignVertical){case"top":t.element.style.top="calc(0% + "+(e.verticalOffset||20)+"px)";break;case"center":t.element.style.top="calc(50% + "+(e.verticalOffset||0)+"px)";break;case"bottom":t.element.style.bottom="calc(0% + "+(e.verticalOffset||20)+"px)"}switch(e.alignHorizontal){case"left":t.element.style.left="calc(0% + "+(e.horizontalOffset||20)+"px)";break;case"center":t.element.style.left="calc(50% + "+(e.horizontalOffset||0)+"px)";break;case"right":t.element.style.right="calc(0% + "+(e.horizontalOffset||20)+"px)"}return"center"===e.alignVertical&&"center"===e.alignHorizontal?t.element.style.transform="translate(-50%, -50%)":"center"===e.alignVertical?t.element.style.transform="translateY(-50%)":"center"===e.alignHorizontal&&(t.element.style.transform="translateX(-50%)"),t.element.style["mix-blend-mode"]=e.blendMode,t.cursor="pointer",t}function buildAlignedButton(e){var t=new Sprite;switch(t.selectable=!1,t.fontFamily=e.font,t.fontColor=e.fontColor,t.fontSize=e.fontSize,e.alignVertical){case"top":t.element.style.top="calc(0% + "+(e.verticalOffset||20)+"px)";break;case"center":t.element.style.top="calc(50% + "+(e.verticalOffset||0)+"px)";break;case"bottom":t.element.style.bottom="calc(0% + "+(e.verticalOffset||20)+"px)"}switch(e.alignHorizontal){case"left":t.element.style.left="calc(0% + "+(e.horizontalOffset||20)+"px)";break;case"center":t.element.style.left="calc(50% + "+(e.horizontalOffset||0)+"px)";break;case"right":t.element.style.right="calc(0% + "+(e.horizontalOffset||20)+"px)"}return"center"===e.alignVertical&&"center"===e.alignHorizontal?t.element.style.transform="translate(-50%, -50%) rotate("+(e.rotation||0)+"deg)":"center"===e.alignVertical?t.element.style.transform="translateY(-50%) rotate("+(e.rotation||0)+"deg)":"center"===e.alignHorizontal?t.element.style.transform="translateX(-50%) rotate("+(e.rotation||0)+"deg)":t.element.style.transform="rotate("+(e.rotation||0)+"deg)",t.element.style["mix-blend-mode"]=e.blendMode,t.cursor="pointer",t}function copyToClipboard(e){var t=document.createElement("input");t.value=e,t.style.opacity=0,document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(t)}function isOverlayAndNotGalleryOnly(){return"overlay"===STATE.overrides.siteDisplayBehavior&&!STATE.overrides.siteDisplayGalleryOnlyOverlay}function isClosedGalleryOnlyOverlay(){return"overlay"===STATE.overrides.siteDisplayBehavior&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&"open"!==layoutCalcs.mediaOverlayState}function isInMediaOverlay(){return isOverlayAndNotGalleryOnly()||"overlay"===STATE.overrides.siteDisplayBehavior&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&"open"===layoutCalcs.mediaOverlayState}function getMarginOverlap(){return/top|bottom/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.marginOverlap,stage.height):percentToPixels(LAYOUT_MODEL.marginOverlap,stage.width)}function hasMode(e,t){return t&&-1!==t.indexOf(e)}USER_AGENT=window.isStaging?isPad()&&SETTINGS_MODEL.hasOwnProperty("stagingPadUseDesktop")?SETTINGS_MODEL.stagingPadUseDesktop?HTML:TABLET:isPod()&&SETTINGS_MODEL.hasOwnProperty("stagingPodUseDesktop")&&!SETTINGS_MODEL.stagingPodUseDesktop?MOBILE:HTML:isPad()&&!SETTINGS_MODEL.padUseDesktop?TABLET:isPod()&&!SETTINGS_MODEL.podUseDesktop?MOBILE:HTML,setViewport();var parallax=function(){var t,i,n={get scrollY(){return i===window?window.scrollY:i.scrollTop},get scrollX(){return i===window?window.scrollX:i.scrollLeft},get totalHeight(){return i===window?document.documentElement.clientHeight:i.offsetHeight}};function o(e){t.forEach(function(e){var t=window.innerHeight/2,i=t,t=(e.initialPosition.yn.totalHeight-t&&(i=window.innerHeight-(n.totalHeight-e.initialPosition.y)),(i-(e.initialPosition.y-n.scrollY))*-e.speed);e.transY=t,e.style.transform="translate3d(0px, "+Math.round(1e5*t)/1e5+"px, 0px)"})}function a(){t=Array.from(document.getElementsByClassName("parallax")).map(function(e){var t=e.getBoundingClientRect();return e.initialPosition={x:t.x+n.scrollX,y:t.y+n.scrollY},e.speed=e.getAttribute("data-speed"),e}),o()}var e=debouncer(a,350);return window.addEventListener("resize",e),{setContainer:function(e){i!==e&&(i=e).removeEventListener("scroll",o)},update:a,init:function(e){i!==e&&(i&&i.removeEventListener("scroll",o),(i=e).addEventListener("scroll",o)),a()}}}(),keyCode={8:DELETE,13:ENTER,27:ESCAPE,32:SPACE_BAR,37:LEFT_ARROW,38:UP_ARROW,39:RIGHT_ARROW,40:DOWN_ARROW,16:SHIFT,91:COMMAND,93:COMMAND,224:COMMAND,17:CONTROL,65:"a",72:"h",77:"m"},keyName={DELETE:8,ENTER:13,ESCAPE:27,SPACE_BAR:32,LEFT_ARROW:37,UP_ARROW:38,RIGHT_ARROW:39,DOWN_ARROW:40,SHIFT:16,COMMAND:224,CONTROL:17,a:65,h:72,m:77},emailIcon={filename:"email@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M17.977,14.762 L13.317,9.71 L17.981,5.038 C18.077,4.941 18.242,5.009 18.242,5.146 L18.242,14.659 C18.242,14.798 18.071,14.865 17.977,14.762 z M10.86,12.171 C10.592,12.439 10.229,12.59 9.851,12.59 L9.838,12.59 C9.453,12.59 9.084,12.437 8.811,12.165 L7.43,10.786 L2.69,15.611 C2.595,15.707 2.663,15.871 2.799,15.871 L17.191,15.871 C17.325,15.871 17.394,15.712 17.304,15.614 L12.559,10.469 L10.86,12.171 z M9.839,11.518 L9.839,11.518 C9.941,11.518 10.037,11.478 10.11,11.405 L17.165,4.338 C17.261,4.242 17.193,4.077 17.056,4.077 L2.597,4.077 C2.461,4.077 2.392,4.242 2.489,4.338 L9.568,11.406 C9.64,11.478 9.736,11.518 9.839,11.518 z M1.692,5.427 L1.692,14.722 C1.692,14.859 1.859,14.927 1.955,14.829 L6.671,10.028 L1.954,5.319 C1.857,5.222 1.692,5.291 1.692,5.427 z"},plus1Icon={filename:"plus1b@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M6.336,3.8 C2.955,3.8 0.137,6.618 0.136,10 C0.137,13.382 2.955,16.2 6.336,16.2 C9.859,16.2 12.255,13.664 12.255,10.141 C12.255,9.718 12.255,9.155 12.114,8.732 L6.336,8.732 L6.336,11.127 L9.577,11.127 C9.296,12.537 8.027,13.664 6.336,13.664 C4.364,13.664 2.673,11.973 2.673,10 C2.673,8.027 4.364,6.337 6.336,6.336 C7.182,6.337 8.027,6.618 8.591,7.182 L10.423,5.35 C9.296,4.505 8.027,3.8 6.336,3.8 z M17.75,6.759 L16.2,6.759 L16.2,8.873 L13.946,8.873 L13.946,10.423 L16.059,10.423 L16.059,12.536 L17.609,12.536 L17.609,10.423 L19.864,10.423 L19.864,8.873 L17.75,8.873 L17.75,6.759 z"},xIcon={filename:"x@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M11.302,8.929 L16.398,3.005 L15.191,3.005 L10.766,8.149 L7.232,3.005 L3.156,3.005 L8.5,10.783 L3.156,16.995 L4.363,16.995 L9.036,11.563 L12.768,16.995 L16.844,16.995 L11.302,8.929 L11.302,8.929 z M13.324,16.124 L4.798,3.914 L6.653,3.914 L15.191,16.127 L13.324,16.124 z"},socialIcons={"[500px]":{filename:"500px@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M7.013,9.897 C7.139,9.565 7.294,9.275 7.515,9.024 C7.999,8.474 8.61,8.177 9.337,8.11 C10.362,8.016 11.204,8.411 11.941,9.084 C12.246,9.362 12.516,9.675 12.782,9.991 C12.838,10.058 12.863,10.064 12.923,9.993 C13.265,9.587 13.605,9.179 14.026,8.85 C14.511,8.469 15.045,8.195 15.665,8.122 C17.197,7.943 18.478,8.777 18.804,10.358 C18.941,11.024 18.899,11.681 18.668,12.322 C18.242,13.507 17.255,14.184 15.995,14.169 C15.227,14.16 14.571,13.862 13.973,13.409 C13.582,13.112 13.247,12.757 12.925,12.39 C12.871,12.328 12.846,12.314 12.78,12.383 C12.451,12.724 12.139,13.083 11.769,13.384 C11.301,13.765 10.785,14.051 10.181,14.133 C9.113,14.278 8.19,13.996 7.472,13.158 C7.31,12.968 7.187,12.751 7.086,12.522 C7.074,12.493 7.07,12.459 7.037,12.434 C6.896,12.738 6.722,13.018 6.493,13.261 C5.917,13.873 5.207,14.192 4.369,14.222 C3.763,14.243 3.17,14.166 2.617,13.904 C1.691,13.465 1.182,12.735 1.119,11.704 C1.114,11.625 1.136,11.605 1.214,11.606 C1.712,11.609 2.209,11.609 2.707,11.606 C2.782,11.605 2.803,11.627 2.816,11.7 C2.911,12.268 3.217,12.664 3.789,12.806 C4.588,13.004 5.322,12.551 5.532,11.729 C5.673,11.175 5.612,10.646 5.245,10.185 C5.002,9.879 4.671,9.73 4.283,9.703 C3.724,9.663 3.266,9.847 2.936,10.312 C2.906,10.355 2.87,10.366 2.82,10.365 C2.371,10.364 1.923,10.363 1.474,10.366 C1.396,10.367 1.38,10.345 1.393,10.271 C1.626,8.976 1.857,7.681 2.088,6.386 C2.12,6.209 2.152,6.032 2.181,5.854 C2.191,5.796 2.213,5.774 2.276,5.775 C3.766,5.777 5.257,5.777 6.747,5.775 C6.818,5.774 6.833,5.798 6.833,5.864 C6.83,6.264 6.829,6.664 6.833,7.063 C6.834,7.144 6.813,7.167 6.731,7.166 C5.663,7.164 4.595,7.166 3.528,7.163 C3.439,7.162 3.4,7.177 3.383,7.277 C3.289,7.845 3.185,8.412 3.086,8.979 C3.082,9.003 3.065,9.035 3.091,9.051 C3.12,9.069 3.136,9.034 3.153,9.017 C3.642,8.546 4.239,8.402 4.897,8.437 C5.53,8.471 6.071,8.709 6.517,9.159 C6.703,9.347 6.848,9.564 6.964,9.801 C6.977,9.826 6.99,9.852 7.013,9.897 z M17.33,11.123 C17.333,11.066 17.323,10.982 17.312,10.897 C17.218,10.143 16.583,9.656 15.831,9.755 C15.436,9.807 15.111,10.003 14.804,10.238 C14.462,10.5 14.175,10.82 13.88,11.131 C13.84,11.173 13.858,11.195 13.887,11.228 C14.094,11.46 14.309,11.686 14.552,11.881 C14.955,12.206 15.392,12.456 15.924,12.505 C16.524,12.561 17.01,12.281 17.224,11.737 C17.298,11.549 17.329,11.353 17.33,11.123 z M8.376,11.197 C8.379,11.235 8.382,11.297 8.387,11.358 C8.438,11.942 8.828,12.381 9.393,12.484 C9.703,12.541 10.005,12.5 10.298,12.386 C10.923,12.142 11.399,11.704 11.835,11.212 C11.867,11.176 11.851,11.158 11.826,11.132 C11.514,10.805 11.196,10.484 10.828,10.219 C10.572,10.035 10.303,9.87 9.994,9.794 C9.523,9.677 9.094,9.744 8.759,10.128 C8.499,10.425 8.375,10.777 8.376,11.197 z"},"[behance]":{filename:"behance@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.485,12.191 C10.485,15.326 7.287,15.223 7.287,15.223 L4.356,15.223 L4.27,15.223 L2.048,15.223 L2.048,4.95 L4.27,4.95 L4.356,4.95 L7.287,4.95 C8.879,4.95 10.135,5.847 10.135,7.685 C10.135,9.523 8.599,9.64 8.599,9.64 C10.624,9.64 10.485,12.191 10.485,12.191 z M12.584,5.555 L16.738,5.555 L16.738,6.82 L12.584,6.82 L12.584,5.555 L12.584,5.555 z M18.255,12.023 L13.038,12.023 C13.038,13.931 14.809,13.811 14.809,13.811 C16.482,13.811 16.424,12.705 16.424,12.705 L18.196,12.705 C18.196,15.639 14.75,15.438 14.75,15.438 C10.616,15.438 10.883,11.51 10.883,11.51 C10.883,11.51 10.879,7.564 14.75,7.564 C18.825,7.564 18.255,12.023 18.255,12.023 z M14.885,9.175 C13.354,9.175 13.141,10.767 13.141,10.767 L16.397,10.767 C16.397,10.767 16.418,9.175 14.885,9.175 z M7.496,10.767 L4.609,10.767 L4.609,13.527 L7.165,13.527 C7.209,13.527 7.274,13.528 7.35,13.527 C7.761,13.517 8.541,13.392 8.541,12.185 C8.541,10.752 7.496,10.767 7.496,10.767 z M8.198,7.945 C8.198,6.871 7.496,6.871 7.496,6.871 L7.125,6.871 L4.609,6.871 L4.609,9.175 L7.317,9.175 C7.784,9.175 8.198,9.018 8.198,7.945 z"},"[blogger]":{filename:"blogger@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M16.509,12.704 C16.497,14.991 14.635,16.864 12.344,16.864 L7.559,16.864 C5.267,16.864 3.395,14.991 3.395,12.704 L3.395,7.844 C3.395,5.551 5.267,3.674 7.559,3.674 L10.471,3.674 C11.547,3.803 13.111,4.723 13.689,5.949 C13.847,6.292 13.931,6.345 14.062,7.365 C14.134,7.889 14.17,8.276 14.404,8.491 C14.733,8.792 15.958,8.59 16.2,8.778 L16.386,8.924 L16.497,9.153 L16.535,9.337 L16.509,12.704 z M12.304,11.851 L7.611,11.851 C7.171,11.851 6.814,12.204 6.814,12.642 C6.814,13.073 7.171,13.436 7.611,13.436 L12.304,13.436 C12.743,13.436 13.097,13.073 13.097,12.642 C13.097,12.204 12.743,11.851 12.304,11.851 z M7.611,8.674 L9.921,8.674 C10.361,8.674 10.719,8.311 10.719,7.876 C10.719,7.439 10.361,7.08 9.921,7.08 L7.611,7.08 C7.171,7.08 6.814,7.439 6.814,7.876 C6.814,8.311 7.171,8.674 7.611,8.674 z"},"[digg]":{filename:"digg@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M5.968,12.68 L2.081,12.68 L2.081,7.931 L4.437,7.931 L4.437,5.856 L5.968,5.856 L5.968,12.68 z M8.342,12.698 L6.757,12.698 L6.757,7.922 L8.342,7.922 L8.342,12.698 z M8.342,7.236 L6.757,7.236 L6.757,5.941 L8.342,5.941 L8.342,7.236 z M13.046,14.774 L12.37,14.774 L9.132,14.774 L9.132,13.441 L11.515,13.441 L11.515,12.698 L9.158,12.698 L9.158,7.95 L13.046,7.95 L13.046,14.774 z M17.74,14.774 L17.065,14.774 L13.826,14.774 L13.826,13.441 L16.21,13.441 L16.21,12.698 L13.853,12.698 L13.853,7.95 L17.74,7.95 L17.74,14.774 z M3.51,9.162 L3.51,11.321 L4.308,11.321 L4.308,9.162 L3.51,9.162 z M10.783,9.162 L10.783,11.321 L11.582,11.321 L11.582,9.162 L10.783,9.162 z M15.328,9.162 L15.328,11.321 L16.126,11.321 L16.126,9.162 L15.328,9.162 z"},"[dribbble]":{filename:"dribbble@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,1.516 C14.686,1.516 18.484,5.314 18.484,10 C18.484,14.686 14.686,18.484 10,18.484 C5.314,18.484 1.516,14.686 1.516,10 C1.516,5.314 5.314,1.516 10,1.516 z M11.289,11.159 C11.272,11.164 11.256,11.169 11.24,11.175 C8.959,12.044 6.68,13.47 5.533,15.712 C6.786,16.799 8.405,17.122 10.001,17.263 C11.01,17.263 11.97,17.058 12.844,16.687 C12.736,16.05 12.313,13.821 11.289,11.159 z M13.516,10.725 L12.652,10.822 C13.607,13.446 13.995,15.582 14.069,16.022 C15.704,14.918 16.865,13.168 17.189,11.14 C16,10.73 14.754,10.74 13.516,10.725 z M5.365,15.595 C5.46,15.673 5.528,15.722 5.528,15.722 L5.533,15.712 L5.365,15.595 z M10.201,8.716 C6.454,9.838 2.856,9.756 2.728,9.753 C2.725,9.83 2.722,9.906 2.722,9.983 C2.722,11.853 3.428,13.559 4.587,14.849 C4.587,14.847 4.584,14.845 4.584,14.845 C4.584,14.845 6.607,11.412 10.792,9.953 C10.61,9.539 10.41,9.124 10.201,8.716 z M15.623,5.36 C15.61,5.38 14.442,7.068 11.567,8.241 C11.737,8.587 11.9,8.94 12.208,9.672 C14.71,9.358 17.173,9.888 17.278,9.911 C17.262,8.183 16.644,6.599 15.623,5.36 z M6.895,3.399 C4.865,4.358 3.35,6.228 2.877,8.483 C3.07,8.486 6.103,8.522 9.599,7.594 C8.339,5.354 6.992,3.529 6.895,3.399 z M8.375,2.875 C9.375,4.406 9.719,5 11.007,7.156 C13.755,6.126 14.832,4.544 14.809,4.52 C13.5,3.188 11.125,2.375 8.375,2.875 z"},"[ello]":{filename:"ello@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,1.667 C5.398,1.667 1.667,5.407 1.667,10 C1.667,14.602 5.407,18.333 10,18.333 C14.602,18.333 18.333,14.593 18.333,10 C18.333,5.398 14.593,1.667 10,1.667 z M10,15 C7.722,15 5.722,13.444 5.167,11.25 C5.111,11 5.25,10.722 5.5,10.667 C5.75,10.611 6.028,10.75 6.083,11 C6.556,12.778 8.167,14.028 10,14.028 C11.833,14.028 13.444,12.778 13.917,11 C13.972,10.75 14.25,10.583 14.5,10.667 C14.75,10.722 14.917,11 14.833,11.25 C14.278,13.444 12.278,15 10,15 L10,15 z"},"[email]":emailIcon,"[facebook]":{filename:"facebook@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.25,17.876 L10.25,10.376 L12.75,10.376 L13.375,7.25 L10.25,7.25 L10.25,6 C10.25,4.75 10.876,4.126 12.125,4.126 L13.375,4.126 L13.375,1 L10.875,1 C8.578,1 7.125,2.801 7.125,5.376 L7.125,7.25 L4.625,7.25 L4.625,10.376 L7.125,10.376 L7.125,17.876 L10.25,17.876 z",svgAltPath:"M13.75,20 L13.75,12.5 L16.25,12.5 L16.875,9.375 L13.75,9.375 L13.75,8.125 C13.75,6.875 14.376,6.25 15.625,6.25 L16.875,6.25 L16.875,3.125 L14.375,3.125 C12.078,3.125 10.625,4.926 10.625,7.5 L10.625,9.375 L8.125,9.375 L8.125,12.5 L10.625,12.5 L10.625,20 L13.75,20 z"},"[flickr]":{filename:"flickr@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M5.731,13.154 C3.87,13.154 2.361,11.647 2.361,9.785 C2.361,7.923 3.87,6.416 5.731,6.416 C7.593,6.416 9.101,7.923 9.101,9.785 C9.1,11.647 7.593,13.154 5.731,13.154 z M14.187,13.154 C12.325,13.154 10.817,11.647 10.817,9.785 C10.817,7.923 12.325,6.416 14.187,6.416 C16.047,6.416 17.556,7.923 17.556,9.785 C17.556,11.647 16.047,13.154 14.187,13.154 z"},"[google plus]":plus1Icon,"[houzz]":{filename:"houzz@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.016,6.937 L10.016,6.824 L14.516,4 L14.516,9.717 L10.016,6.937 z M10.016,13.21 L10.016,19 L14.516,16.176 L14.516,10.345 L10.016,13.21 z M9.5,13.063 L9.5,13.176 L5,16 L5,10.283 L9.5,13.063 z M9.5,6.79 L9.5,1 L5,3.824 L5,9.655 L9.5,6.79 L9.5,6.79 z M5.5,9.963 L9.516,12.462 L9.479,7.464 L5.5,9.963 z M14.016,10.037 L10,7.538 L10.038,12.536 L14.016,10.037 z"},"[imdb]":{filename:"imdb@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M3.608,6.714 L3.608,13.182 L1.926,13.182 L1.926,6.714 L3.608,6.714 z M9.473,6.714 L9.473,13.182 L8.003,13.182 L8.003,8.815 L7.416,13.182 L6.373,13.182 L5.754,8.915 L5.754,13.182 L4.284,13.182 L4.284,6.714 L6.461,6.714 C6.525,7.103 6.593,7.561 6.665,8.088 L6.896,9.734 L7.28,6.714 L9.473,6.714 z M10.148,6.714 L11.407,6.714 C12.219,6.714 12.768,6.751 13.055,6.826 C13.341,6.9 13.559,7.023 13.708,7.193 C13.857,7.364 13.95,7.553 13.987,7.763 C14.025,7.972 14.043,8.382 14.043,8.995 L14.043,11.26 C14.043,11.841 14.016,12.229 13.962,12.425 C13.907,12.621 13.812,12.774 13.676,12.884 C13.54,12.995 13.372,13.072 13.172,13.116 C12.973,13.16 12.672,13.182 12.27,13.182 L10.148,13.182 L10.148,6.714 z M16.237,6.714 L16.237,8.244 C16.37,8.089 16.518,7.974 16.682,7.898 C16.846,7.822 17.024,7.785 17.215,7.785 C17.437,7.785 17.628,7.819 17.791,7.888 C17.953,7.958 18.077,8.055 18.162,8.18 C18.248,8.305 18.299,8.428 18.316,8.548 C18.333,8.667 18.342,8.923 18.342,9.315 L18.342,11.704 C18.342,12.093 18.316,12.382 18.264,12.573 C18.212,12.763 18.09,12.928 17.899,13.068 C17.707,13.208 17.479,13.278 17.215,13.278 C17.026,13.278 16.85,13.236 16.686,13.154 C16.522,13.071 16.373,12.947 16.237,12.782 L16.133,13.182 L14.623,13.182 L14.623,6.714 L16.237,6.714 z M11.83,7.82 L11.83,12.075 C12.073,12.075 12.222,12.027 12.278,11.929 C12.334,11.832 12.362,11.568 12.362,11.136 L12.362,8.623 C12.362,8.331 12.352,8.143 12.334,8.06 C12.315,7.978 12.272,7.917 12.206,7.878 C12.139,7.84 12.014,7.82 11.83,7.82 z M16.728,9.387 C16.728,9.112 16.711,8.933 16.676,8.849 C16.642,8.765 16.574,8.723 16.472,8.723 C16.374,8.723 16.31,8.76 16.281,8.833 C16.251,8.906 16.237,9.091 16.237,9.387 L16.237,11.672 C16.237,11.957 16.253,12.139 16.287,12.219 C16.32,12.299 16.386,12.339 16.484,12.339 C16.586,12.339 16.652,12.298 16.682,12.215 C16.713,12.132 16.728,11.934 16.728,11.62 L16.728,9.387 z"},"[instagram]":{filename:"instagram_new@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,0.753 C7.489,0.753 7.174,0.764 6.187,0.808 C5.203,0.854 4.532,1.01 3.943,1.239 C3.335,1.474 2.819,1.791 2.305,2.305 C1.791,2.819 1.474,3.335 1.239,3.943 C1.01,4.532 0.854,5.203 0.808,6.187 C0.764,7.174 0.753,7.489 0.753,10 C0.753,12.511 0.764,12.826 0.808,13.813 C0.854,14.797 1.01,15.468 1.239,16.057 C1.474,16.665 1.791,17.181 2.305,17.695 C2.819,18.209 3.335,18.526 3.943,18.761 C4.532,18.99 5.203,19.146 6.187,19.192 C7.174,19.236 7.489,19.247 10,19.247 C12.511,19.247 12.826,19.236 13.813,19.192 C14.797,19.146 15.468,18.99 16.057,18.761 C16.665,18.526 17.181,18.209 17.695,17.695 C18.209,17.181 18.526,16.665 18.761,16.057 C18.99,15.468 19.146,14.797 19.192,13.813 C19.236,12.826 19.247,12.511 19.247,10 C19.247,7.489 19.236,7.174 19.192,6.187 C19.146,5.203 18.99,4.532 18.761,3.943 C18.526,3.335 18.209,2.819 17.695,2.305 C17.181,1.791 16.665,1.474 16.057,1.239 C15.468,1.01 14.797,0.854 13.813,0.808 C12.826,0.764 12.511,0.753 10,0.753 z M10,2.419 C12.469,2.419 12.761,2.429 13.737,2.473 C14.638,2.514 15.128,2.665 15.454,2.792 C15.885,2.959 16.194,3.16 16.516,3.484 C16.84,3.806 17.041,4.115 17.208,4.546 C17.335,4.872 17.486,5.362 17.527,6.263 C17.571,7.239 17.581,7.531 17.58,10 C17.581,12.469 17.571,12.761 17.527,13.737 C17.486,14.638 17.335,15.128 17.208,15.454 C17.041,15.885 16.84,16.194 16.516,16.516 C16.194,16.84 15.885,17.041 15.454,17.208 C15.128,17.335 14.638,17.486 13.737,17.527 C12.762,17.571 12.469,17.581 10,17.58 C7.531,17.581 7.238,17.571 6.263,17.527 C5.362,17.486 4.872,17.335 4.546,17.208 C4.115,17.041 3.806,16.84 3.484,16.516 C3.16,16.194 2.959,15.885 2.792,15.454 C2.665,15.128 2.514,14.638 2.473,13.737 C2.429,12.761 2.419,12.469 2.419,10 C2.419,7.531 2.429,7.239 2.473,6.263 C2.514,5.362 2.665,4.872 2.792,4.546 C2.959,4.115 3.16,3.806 3.484,3.484 C3.806,3.16 4.115,2.959 4.546,2.792 C4.872,2.665 5.362,2.514 6.263,2.473 C7.239,2.429 7.531,2.419 10,2.419 z M10,5.251 C7.378,5.251 5.251,7.378 5.251,10 C5.251,12.622 7.378,14.749 10,14.749 C12.622,14.749 14.749,12.622 14.749,10 C14.749,7.378 12.622,5.251 10,5.251 z M10,6.918 C11.702,6.918 13.082,8.298 13.082,10 C13.082,11.702 11.702,13.082 10,13.082 C8.298,13.082 6.918,11.702 6.918,10 C6.918,8.298 8.298,6.918 10,6.918 z M14.936,3.954 C14.323,3.954 13.827,4.451 13.827,5.064 C13.827,5.677 14.323,6.173 14.936,6.173 C15.549,6.173 16.046,5.677 16.046,5.064 C16.046,4.451 15.549,3.954 14.936,3.954 z",svgAltPath:"M10,2.44 C7.947,2.44 7.69,2.449 6.883,2.485 C6.078,2.523 5.53,2.651 5.048,2.838 C4.551,3.03 4.129,3.289 3.709,3.709 C3.289,4.129 3.03,4.551 2.838,5.048 C2.651,5.53 2.523,6.078 2.485,6.883 C2.449,7.69 2.44,7.947 2.44,10 C2.44,12.053 2.449,12.31 2.485,13.117 C2.523,13.922 2.651,14.47 2.838,14.952 C3.03,15.449 3.289,15.871 3.709,16.291 C4.129,16.711 4.551,16.97 5.048,17.162 C5.53,17.349 6.078,17.477 6.883,17.515 C7.69,17.551 7.947,17.559 10,17.559 C12.053,17.559 12.31,17.551 13.117,17.515 C13.922,17.477 14.47,17.349 14.952,17.162 C15.449,16.97 15.871,16.711 16.291,16.291 C16.711,15.871 16.97,15.449 17.162,14.952 C17.349,14.47 17.477,13.922 17.515,13.117 C17.551,12.31 17.559,12.053 17.559,10 C17.559,7.947 17.551,7.69 17.515,6.883 C17.477,6.078 17.349,5.53 17.162,5.048 C16.97,4.551 16.711,4.129 16.291,3.709 C15.871,3.289 15.449,3.03 14.952,2.838 C14.47,2.651 13.922,2.523 13.117,2.485 C12.31,2.449 12.053,2.44 10,2.44 z M10,3.802 C12.018,3.802 12.257,3.811 13.055,3.847 C13.792,3.88 14.192,4.004 14.459,4.107 C14.811,4.244 15.064,4.408 15.327,4.673 C15.592,4.936 15.756,5.189 15.893,5.541 C15.996,5.808 16.12,6.208 16.153,6.945 C16.189,7.743 16.198,7.982 16.197,10 C16.198,12.018 16.189,12.257 16.153,13.055 C16.12,13.792 15.996,14.192 15.893,14.459 C15.756,14.811 15.592,15.064 15.327,15.327 C15.064,15.592 14.811,15.756 14.459,15.893 C14.192,15.996 13.792,16.12 13.055,16.153 C12.258,16.189 12.018,16.198 10,16.197 C7.982,16.198 7.742,16.189 6.945,16.153 C6.208,16.12 5.808,15.996 5.541,15.893 C5.189,15.756 4.936,15.592 4.673,15.327 C4.408,15.064 4.244,14.811 4.107,14.459 C4.004,14.192 3.88,13.792 3.847,13.055 C3.811,12.257 3.802,12.018 3.802,10 C3.802,7.982 3.811,7.743 3.847,6.945 C3.88,6.208 4.004,5.808 4.107,5.541 C4.244,5.189 4.408,4.936 4.673,4.673 C4.936,4.408 5.189,4.244 5.541,4.107 C5.808,4.004 6.208,3.88 6.945,3.847 C7.743,3.811 7.982,3.802 10,3.802 z M10,6.118 C7.856,6.118 6.118,7.856 6.118,10 C6.118,12.144 7.856,13.882 10,13.882 C12.144,13.882 13.882,12.144 13.882,10 C13.882,7.856 12.144,6.118 10,6.118 z M10,7.48 C11.391,7.48 12.52,8.609 12.52,10 C12.52,11.391 11.391,12.52 10,12.52 C8.609,12.52 7.48,11.391 7.48,10 C7.48,8.609 8.609,7.48 10,7.48 z M14.035,5.057 C13.534,5.057 13.129,5.464 13.129,5.965 C13.129,6.466 13.534,6.871 14.035,6.871 C14.536,6.871 14.943,6.466 14.943,5.965 C14.943,5.464 14.536,5.057 14.035,5.057 z"},"[like]":{filename:"like@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M7.056,15.883 L8.219,15.88 C8.643,16.006 8.586,16.047 8.821,16.191 C8.894,16.236 9.107,16.468 9.407,16.468 L9.407,16.468 L15.952,16.468 L16.047,16.461 C16.354,16.441 17.073,16.393 17.23,15.563 C17.296,15.209 17.217,14.912 17.091,14.719 C17.359,14.574 17.621,14.276 17.693,13.848 C17.768,13.404 17.653,13.076 17.484,12.849 C17.791,12.686 18.055,12.368 18.123,11.835 C18.193,11.286 17.997,10.996 17.747,10.773 C18.01,10.571 18.237,10.225 18.237,9.668 C18.236,8.447 17.042,8.249 16.409,8.244 L14.221,8.236 C14.206,8.235 13.857,8.226 13.829,7.999 C13.771,7.521 13.904,7.21 14.186,6.897 C14.51,6.536 14.861,5.541 14.974,4.77 C15.084,4.02 14.793,2.891 14.241,2.503 C14.096,2.402 13.944,2.351 13.789,2.351 C13.356,2.351 13.019,2.748 12.943,3.133 C12.923,3.23 12.907,3.327 12.891,3.421 C12.802,3.953 12.71,4.503 12.033,5.367 C11.611,5.906 11.654,5.941 11.442,6.095 C11.236,6.245 11.023,6.4 10.682,6.823 C10.434,7.131 10.198,7.506 9.948,7.902 C9.639,8.391 9.32,8.944 8.959,9.351 C8.755,9.582 8.64,9.68 8.603,9.7 L7.05,9.7 C7.054,9.731 7.056,9.763 7.056,9.795 L7.056,15.883 L7.056,15.883 z M7.056,15.883 L7.031,15.883 C6.884,15.883 6.764,15.764 6.764,15.618 L6.764,9.965 C6.764,9.819 6.884,9.7 7.031,9.7 L7.05,9.7 C7.004,9.369 6.719,9.114 6.376,9.114 L2.149,9.114 C1.775,9.114 1.47,9.419 1.47,9.795 L2.441,16.084 C2.441,16.459 2.747,16.765 3.121,16.765 L6.376,16.765 C6.751,16.765 7.056,16.459 7.056,16.084 L7.056,15.883 L7.056,15.883 z M5.292,14.119 C5.617,14.119 5.881,14.383 5.881,14.707 C5.881,15.032 5.617,15.295 5.292,15.295 C4.967,15.295 4.703,15.031 4.703,14.707 C4.703,14.382 4.967,14.119 5.292,14.119 L5.292,14.119 z"},"[linkedin]":{filename:"linkedin@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M2.48,5.24 L2.48,16.938 L5.822,16.938 L5.822,5.24 L2.48,5.24 z M13.759,5.24 C11.427,5.24 11.026,6.091 10.836,6.911 L10.836,5.24 L7.493,5.24 L7.493,16.938 L10.836,16.938 L10.836,10.253 C10.836,9.17 11.423,8.582 12.507,8.582 C13.564,8.582 14.178,9.157 14.178,10.253 L14.178,16.938 L17.52,16.938 L17.52,11.089 C17.52,7.747 17.084,5.24 13.759,5.24 z M4.151,4.405 C5.074,4.405 5.822,3.656 5.822,2.734 C5.822,1.811 5.074,1.063 4.151,1.063 C3.228,1.063 2.48,1.811 2.48,2.734 C2.48,3.656 3.228,4.405 4.151,4.405 z"},"[mail]":emailIcon,"[mailto]":emailIcon,"[one]":plus1Icon,"[pinterest]":{filename:"pinterest@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10.116,2.053 C5.583,2.053 1.908,5.727 1.908,10.261 C1.908,13.622 3.929,16.509 6.821,17.779 C6.798,17.205 6.817,16.518 6.964,15.894 C7.121,15.227 8.02,11.421 8.02,11.421 C8.02,11.421 7.757,10.897 7.757,10.123 C7.757,8.907 8.462,7.998 9.34,7.998 C10.087,7.998 10.448,8.559 10.448,9.23 C10.448,9.981 9.969,11.103 9.723,12.143 C9.517,13.014 10.159,13.724 11.018,13.724 C12.573,13.724 13.621,11.727 13.621,9.36 C13.621,7.561 12.409,6.214 10.206,6.214 C7.716,6.214 6.165,8.071 6.165,10.145 C6.165,10.86 6.376,11.364 6.706,11.755 C6.858,11.934 6.879,12.006 6.824,12.212 C6.785,12.363 6.694,12.727 6.657,12.871 C6.602,13.079 6.434,13.154 6.246,13.077 C5.099,12.609 4.565,11.353 4.565,9.941 C4.565,7.609 6.531,4.813 10.431,4.813 C13.565,4.813 15.627,7.081 15.627,9.516 C15.627,12.735 13.838,15.141 11.199,15.141 C10.313,15.141 9.479,14.661 9.194,14.118 C9.194,14.118 8.717,16.009 8.616,16.374 C8.442,17.007 8.101,17.64 7.79,18.132 C8.528,18.35 9.308,18.469 10.116,18.469 C14.649,18.469 18.324,14.795 18.324,10.261 C18.324,5.727 14.648,2.053 10.116,2.053 z"},"[plus one]":plus1Icon,"[reddit]":{filename:"reddit@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M18.702,9.806 C18.702,8.733 17.841,7.86 16.783,7.86 C16.279,7.86 15.826,8.054 15.481,8.376 C14.194,7.469 12.442,6.884 10.492,6.798 L11.395,3.787 L14.093,4.326 C14.101,5.283 14.872,6.058 15.818,6.058 C16.771,6.058 17.543,5.275 17.543,4.31 C17.543,3.345 16.771,2.558 15.818,2.558 C15.097,2.558 14.481,3.008 14.221,3.643 L10.919,2.984 L9.779,6.791 L9.504,6.798 C7.554,6.884 5.802,7.473 4.516,8.376 C4.174,8.054 3.717,7.86 3.213,7.86 C2.155,7.86 1.295,8.733 1.295,9.806 C1.295,10.566 1.721,11.221 2.345,11.543 C2.314,11.733 2.298,11.922 2.298,12.116 C2.306,15.054 5.752,17.442 10,17.442 C14.248,17.442 17.694,15.054 17.694,12.112 C17.694,11.919 17.678,11.729 17.651,11.539 C18.275,11.217 18.702,10.562 18.702,9.806 z M1.984,9.806 C1.984,9.116 2.539,8.558 3.217,8.558 C3.496,8.558 3.756,8.655 3.961,8.814 C3.291,9.403 2.795,10.093 2.527,10.845 C2.202,10.616 1.984,10.236 1.984,9.806 z M15.054,15.306 C13.713,16.233 11.919,16.744 10,16.744 C8.081,16.744 6.287,16.233 4.946,15.306 C3.686,14.434 2.992,13.298 2.992,12.112 C2.992,11.988 3,11.86 3.016,11.736 C3.043,11.504 3.101,11.275 3.182,11.05 C3.399,10.446 3.802,9.876 4.372,9.368 C4.543,9.217 4.729,9.07 4.93,8.93 C4.934,8.926 4.942,8.922 4.946,8.919 C6.287,7.992 8.081,7.481 10,7.481 C11.919,7.481 13.713,7.992 15.054,8.919 C15.058,8.922 15.066,8.926 15.07,8.93 C15.271,9.07 15.457,9.217 15.628,9.368 C16.198,9.876 16.601,10.446 16.818,11.05 C16.899,11.275 16.953,11.504 16.984,11.736 C17,11.86 17.008,11.984 17.008,12.112 C17.008,13.298 16.314,14.434 15.054,15.306 z M15.818,3.252 C16.391,3.252 16.857,3.725 16.857,4.306 C16.857,4.888 16.391,5.36 15.818,5.36 C15.244,5.36 14.779,4.888 14.779,4.306 C14.779,3.725 15.244,3.252 15.818,3.252 z M17.473,10.841 C17.205,10.089 16.709,9.399 16.039,8.81 C16.244,8.651 16.504,8.554 16.783,8.554 C17.461,8.554 18.016,9.116 18.016,9.802 C18.016,10.236 17.798,10.616 17.473,10.841 z M12.589,12.504 C13.27,12.504 13.822,11.952 13.822,11.271 C13.822,10.591 13.27,10.039 12.589,10.039 C11.908,10.039 11.357,10.591 11.357,11.271 C11.357,11.952 11.908,12.504 12.589,12.504 z M7.473,12.504 C8.154,12.504 8.705,11.952 8.705,11.271 C8.705,10.591 8.154,10.039 7.473,10.039 C6.792,10.039 6.24,10.591 6.24,11.271 C6.24,11.952 6.792,12.504 7.473,12.504 z M12.5,13.95 C12.492,13.957 11.562,14.888 10,14.895 C8.415,14.888 7.504,13.957 7.496,13.95 L7.008,14.43 C7.054,14.477 8.155,15.574 10,15.581 C11.845,15.574 12.942,14.477 12.988,14.43 L12.5,13.95 z"},"[rss]":{filename:"rss@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M2.251,10.329 C4.127,10.329 5.89,11.062 7.215,12.394 C8.543,13.727 9.274,15.502 9.274,17.392 L12.164,17.392 C12.164,11.903 7.717,7.438 2.251,7.438 L2.251,10.329 L2.251,10.329 z M2.255,5.204 C8.941,5.204 14.38,10.673 14.38,17.395 L17.27,17.395 C17.27,9.079 10.534,2.314 2.255,2.314 L2.255,5.204 L2.255,5.204 z M6.253,15.376 C6.253,16.482 5.356,17.378 4.251,17.378 C3.145,17.378 2.248,16.482 2.248,15.376 C2.248,14.27 3.145,13.374 4.25,13.374 C5.356,13.374 6.253,14.27 6.253,15.376 z"},"[tiktok]":{filename:"tiktok@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M15.892,4.466 C14.638,3.65 13.88,2.256 13.878,0.76 L10.699,0.76 L10.694,13.497 C10.638,14.958 9.418,16.102 7.957,16.064 C6.496,16.027 5.337,14.821 5.356,13.36 C5.375,11.899 6.566,10.724 8.027,10.725 C8.295,10.726 8.561,10.768 8.816,10.849 L8.816,7.604 C8.554,7.567 8.291,7.548 8.027,7.547 C4.801,7.547 2.177,10.171 2.177,13.397 C2.182,16.626 4.799,19.243 8.029,19.247 C11.254,19.247 13.878,16.623 13.878,13.397 L13.878,6.938 C15.166,7.865 16.713,8.363 18.3,8.361 L18.3,5.182 C17.445,5.182 16.608,4.934 15.892,4.466 z"},"[tumblr]":{filename:"tumblr@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M8.525,2.112 L10.775,2.112 L10.775,5.772 L14.435,5.772 L14.435,8.598 L10.775,8.598 L10.775,12.656 C10.775,13.574 10.764,14.104 10.861,14.364 C10.958,14.623 11.2,14.892 11.464,15.047 C11.815,15.257 12.214,15.362 12.665,15.362 C13.466,15.362 14.264,15.101 15.056,14.581 L15.056,17.077 C14.381,17.395 13.768,17.619 13.22,17.747 C12.671,17.874 12.079,17.939 11.441,17.939 C10.718,17.939 10.29,17.847 9.735,17.666 C9.179,17.482 8.705,17.22 8.312,16.884 C7.919,16.546 7.647,16.186 7.495,15.806 C7.343,15.424 7.267,14.872 7.267,14.148 L7.267,8.598 L5.117,8.598 L5.117,6.356 C5.739,6.154 6.459,5.865 6.901,5.488 C7.346,5.11 7.702,4.657 7.97,4.128 C8.239,3.6 8.424,2.928 8.525,2.112 z"},"[twitter]":xIcon,"[vimeo]":{filename:"vimeo@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M15.449,3.064 C17.015,3.032 18.307,4.052 17.889,6.407 C16.997,11.433 12.01,15.689 10.511,16.661 C9.011,17.634 7.643,16.272 7.148,15.243 C6.579,14.068 4.878,7.705 4.432,7.177 C3.987,6.651 2.649,7.705 2.649,7.705 L2,6.854 C2,6.854 4.716,3.611 6.782,3.205 C8.974,2.775 8.97,6.569 9.498,8.676 C10.007,10.714 10.35,11.88 10.795,11.88 C11.241,11.88 12.092,10.743 13.024,9.001 C13.957,7.258 12.984,5.717 11.16,6.812 C11.547,4.487 13.674,3.1 15.449,3.064 z"},"[vsco]":{filename:"vsco@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,0 C4.48,0 0,4.48 0,10 C0,15.52 4.48,20 10,20 C15.52,20 20,15.52 20,10 C20,4.48 15.52,0 10,0 z M19.6,10 C19.6,10.34 19.581,10.66 19.54,10.98 L17.84,10.78 C17.86,10.52 17.882,10.26 17.882,10 C17.882,9.76 17.861,9.5 17.84,9.26 L19.54,9.06 C19.6,9.38 19.6,9.68 19.6,10 z M0.399,10 C0.399,9.68 0.419,9.359 0.44,9.04 L2.14,9.24 C2.12,9.5 2.101,9.74 2.101,10 C2.101,10.26 2.12,10.5 2.14,10.76 L0.44,10.96 C0.399,10.641 0.399,10.32 0.399,10 z M17.459,7.42 L19.06,6.82 C19.28,7.42 19.421,8.04 19.52,8.68 L17.82,8.88 C17.739,8.38 17.62,7.88 17.459,7.42 z M17.5,10 C17.5,10.5 17.44,10.98 17.361,11.46 L15.68,11.081 C15.739,10.74 15.779,10.38 15.779,10 C15.779,9.62 15.739,9.24 15.68,8.88 L17.361,8.499 C17.459,8.98 17.5,9.48 17.5,10 z M10,15.38 C7.029,15.379 4.621,12.971 4.62,10 C4.621,7.029 7.029,4.621 10,4.62 C12.971,4.621 15.379,7.029 15.38,10 C15.387,12.966 12.988,15.373 10.023,15.38 L10,15.38 z M10.18,17.5 L10.18,15.78 C10.917,15.756 11.643,15.593 12.32,15.301 L13.06,16.861 C12.152,17.263 11.173,17.479 10.18,17.5 z M6.9,16.841 L7.66,15.28 C8.32,15.579 9.04,15.759 9.8,15.78 L9.8,17.5 C8.798,17.481 7.812,17.256 6.9,16.841 z M2.5,10 C2.5,9.48 2.56,8.98 2.66,8.48 L4.34,8.86 C4.258,9.235 4.218,9.617 4.22,10 C4.22,10.36 4.26,10.72 4.32,11.06 L2.64,11.439 C2.543,10.966 2.495,10.483 2.5,10 z M9.8,2.5 L9.8,4.22 C9.069,4.244 8.35,4.407 7.68,4.7 L6.94,3.141 C7.843,2.743 8.814,2.525 9.8,2.5 z M13.079,3.16 L12.32,4.72 C11.646,4.418 10.918,4.254 10.18,4.24 L10.18,2.52 C11.22,2.52 12.2,2.76 13.079,3.16 z M17.319,7.04 C17.127,6.573 16.892,6.125 16.619,5.7 L18.02,4.74 C18.359,5.28 18.66,5.84 18.9,6.44 L17.319,7.04 z M17.261,8.12 L15.579,8.5 C15.387,7.792 15.062,7.127 14.62,6.54 L15.98,5.461 C16.58,6.26 17.02,7.14 17.261,8.12 z M14.38,6.24 C13.903,5.684 13.327,5.223 12.68,4.879 L13.44,3.32 C14.32,3.778 15.101,4.403 15.74,5.16 L14.38,6.24 z M13.88,3.12 L14.68,1.6 C15.24,1.92 15.759,2.28 16.26,2.7 L15.121,4 C14.737,3.666 14.322,3.372 13.88,3.12 z M13.54,2.94 C13.09,2.718 12.622,2.538 12.14,2.4 L12.56,0.74 C13.18,0.92 13.78,1.14 14.359,1.44 L13.54,2.94 z M11.74,2.3 C11.24,2.18 10.74,2.12 10.22,2.101 L10.22,0.399 C10.881,0.419 11.54,0.499 12.16,0.64 L11.74,2.3 z M9.84,2.101 C9.336,2.118 8.834,2.179 8.34,2.281 L7.94,0.62 C8.54,0.48 9.179,0.399 9.84,0.399 L9.84,2.101 z M7.94,2.379 C7.452,2.518 6.977,2.699 6.52,2.92 L5.72,1.4 C6.296,1.114 6.899,0.887 7.52,0.72 L7.94,2.379 z M6.18,3.1 C5.739,3.345 5.324,3.633 4.94,3.96 L3.8,2.68 C4.3,2.26 4.82,1.9 5.38,1.581 L6.18,3.1 z M6.58,3.32 L7.32,4.879 C6.66,5.219 6.1,5.679 5.62,6.219 L4.28,5.14 C4.926,4.394 5.706,3.777 6.58,3.32 z M4.04,5.46 L5.38,6.539 C4.938,7.127 4.613,7.792 4.42,8.5 L2.74,8.12 C3,7.12 3.44,6.22 4.04,5.46 z M2.7,7 L1.1,6.4 C1.339,5.8 1.64,5.22 2,4.7 L3.4,5.68 C3.116,6.092 2.881,6.534 2.7,7 z M2.56,7.379 C2.4,7.86 2.26,8.339 2.2,8.859 L0.5,8.661 C0.6,8.02 0.74,7.38 0.961,6.78 L2.56,7.379 z M2.18,11.14 C2.26,11.64 2.379,12.14 2.54,12.62 L0.94,13.22 C0.714,12.613 0.56,11.983 0.48,11.339 L2.18,11.14 z M2.7,12.98 C2.899,13.46 3.14,13.9 3.4,14.319 L2,15.28 C1.638,14.756 1.336,14.192 1.1,13.6 L2.7,12.98 z M2.72,11.82 L4.401,11.44 C4.581,12.16 4.921,12.841 5.341,13.42 L4,14.5 C3.396,13.703 2.961,12.791 2.72,11.82 z M5.58,13.72 C6.061,14.28 6.64,14.76 7.3,15.1 L6.54,16.66 C5.654,16.196 4.866,15.564 4.22,14.8 L5.58,13.72 z M6.18,16.899 L5.38,18.42 C4.818,18.107 4.288,17.737 3.8,17.319 L4.94,16.04 C5.32,16.379 5.72,16.66 6.18,16.899 z M6.52,17.08 C6.96,17.3 7.44,17.48 7.941,17.619 L7.521,19.279 C6.898,19.116 6.295,18.888 5.721,18.6 L6.52,17.08 z M8.32,17.72 C8.8,17.82 9.3,17.881 9.82,17.901 L9.82,19.6 C9.175,19.578 8.533,19.505 7.899,19.38 L8.32,17.72 z M10.22,17.9 C10.724,17.882 11.226,17.822 11.721,17.719 L12.12,19.379 C11.496,19.519 10.859,19.599 10.22,19.618 L10.22,17.9 z M12.101,17.62 C12.589,17.483 13.063,17.302 13.52,17.081 L14.32,18.601 C13.747,18.892 13.143,19.12 12.521,19.28 L12.101,17.62 z M13.839,16.899 C14.279,16.66 14.699,16.36 15.079,16.04 L16.22,17.319 C15.73,17.737 15.201,18.107 14.64,18.42 L13.839,16.899 z M13.44,16.68 L12.7,15.121 C13.357,14.776 13.941,14.307 14.42,13.741 L15.758,14.821 C15.11,15.579 14.323,16.211 13.44,16.68 z M15.999,14.52 L14.66,13.44 C15.103,12.85 15.423,12.176 15.6,11.46 L17.281,11.84 C17.022,12.804 16.588,13.713 15.999,14.52 z M17.3,13 L18.9,13.601 C18.66,14.201 18.36,14.761 18.001,15.301 L16.599,14.32 C16.88,13.9 17.119,13.46 17.3,13 z M17.44,12.621 C17.6,12.16 17.72,11.661 17.801,11.161 L19.5,11.36 C19.408,11.994 19.255,12.617 19.041,13.22 L17.44,12.621 z M17.82,4.42 L16.419,5.38 C16.121,4.972 15.786,4.591 15.42,4.24 L16.56,2.96 C17.02,3.42 17.44,3.9 17.82,4.42 z M3.5,2.94 L4.64,4.22 C4.26,4.56 3.94,4.94 3.64,5.36 L2.24,4.38 C2.599,3.85 3.023,3.367 3.5,2.94 z M2.22,15.62 L3.62,14.66 C3.92,15.06 4.261,15.441 4.62,15.801 L3.48,17.08 C3.023,16.626 2.602,16.138 2.22,15.62 z M16.52,17.061 L15.38,15.78 C15.74,15.441 16.081,15.061 16.379,14.66 L17.781,15.64 C17.4,16.14 16.98,16.619 16.52,17.061 z"},"[wordpress]":{filename:"wordpress@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M10,2 C5.589,2 2,5.589 2,10 C2,14.411 5.589,18 10,18 C14.411,18 18,14.411 18,10 C18,5.589 14.411,2 10,2 z M2.807,10 C2.807,8.957 3.031,7.968 3.431,7.073 L6.861,16.473 C4.462,15.307 2.807,12.847 2.807,10 z M10,17.193 C9.294,17.193 8.613,17.09 7.969,16.9 L10.127,10.63 L12.337,16.687 C12.352,16.722 12.37,16.754 12.389,16.785 C11.641,17.049 10.838,17.193 10,17.193 z M10.991,6.628 C11.424,6.605 11.814,6.56 11.814,6.56 C12.201,6.514 12.156,5.944 11.768,5.966 C11.768,5.966 10.604,6.058 9.851,6.058 C9.144,6.058 7.957,5.966 7.957,5.966 C7.569,5.944 7.523,6.536 7.911,6.56 C7.911,6.56 8.278,6.605 8.665,6.628 L9.786,9.698 L8.212,14.419 L5.594,6.628 C6.027,6.605 6.417,6.56 6.417,6.56 C6.803,6.514 6.759,5.944 6.371,5.966 C6.371,5.966 5.206,6.058 4.453,6.058 C4.318,6.058 4.159,6.055 3.99,6.049 C5.277,4.096 7.488,2.808 10,2.808 C11.873,2.808 13.578,3.523 14.858,4.696 C14.826,4.694 14.796,4.689 14.764,4.689 C14.057,4.689 13.556,5.305 13.556,5.966 C13.556,6.56 13.898,7.061 14.262,7.654 C14.536,8.132 14.856,8.748 14.856,9.637 C14.856,10.252 14.619,10.967 14.309,11.962 L13.59,14.359 L10.991,6.628 z M16.312,6.549 C16.873,7.575 17.192,8.75 17.192,10 C17.192,12.654 15.755,14.97 13.616,16.218 L15.814,9.866 C16.223,8.84 16.361,8.019 16.361,7.29 C16.36,7.024 16.343,6.779 16.312,6.549 z"},"[yelp]":{filename:"yelp@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M11.496,12.419 C11.225,12.692 11.454,13.189 11.454,13.189 L13.493,16.594 C13.493,16.594 13.828,17.043 14.118,17.043 C14.41,17.043 14.698,16.804 14.698,16.804 L16.31,14.499 C16.31,14.499 16.473,14.208 16.476,13.953 C16.482,13.591 15.936,13.492 15.936,13.492 L12.119,12.266 C12.119,12.266 11.745,12.167 11.496,12.419 z M11.302,10.702 C11.498,11.033 12.036,10.937 12.036,10.937 L15.845,9.824 C15.845,9.824 16.364,9.612 16.439,9.332 C16.511,9.05 16.353,8.71 16.353,8.71 L14.533,6.567 C14.533,6.567 14.375,6.295 14.048,6.268 C13.687,6.237 13.465,6.674 13.465,6.674 L11.312,10.061 C11.312,10.06 11.122,10.398 11.302,10.702 z M9.503,9.382 C9.951,9.271 10.023,8.62 10.023,8.62 L9.992,3.197 C9.992,3.197 9.924,2.528 9.624,2.347 C9.153,2.061 9.013,2.211 8.878,2.23 L5.716,3.406 C5.716,3.406 5.406,3.508 5.245,3.766 C5.014,4.133 5.478,4.669 5.478,4.669 L8.765,9.149 C8.765,9.148 9.09,9.484 9.503,9.382 z M8.722,11.576 C8.733,11.158 8.22,10.907 8.22,10.907 L4.821,9.19 C4.821,9.19 4.318,8.982 4.073,9.127 C3.886,9.238 3.72,9.437 3.704,9.615 L3.482,12.34 C3.482,12.34 3.449,12.812 3.572,13.027 C3.745,13.331 4.315,13.12 4.315,13.12 L8.283,12.243 C8.437,12.138 8.707,12.129 8.722,11.576 z M9.709,13.047 C9.368,12.872 8.96,13.235 8.96,13.235 L6.303,16.159 C6.303,16.159 5.972,16.606 6.056,16.881 C6.135,17.138 6.267,17.266 6.453,17.356 L9.121,18.199 C9.121,18.199 9.445,18.266 9.69,18.195 C10.037,18.094 9.973,17.549 9.973,17.549 L10.033,13.589 C10.034,13.59 10.021,13.208 9.709,13.047 z"},"[youtube]":{filename:"youtube@2x.png",width:20,height:20,bgRectRadius:3,bgCircRadius:10,svgStdPath:"M5.781,2.072 L6.722,2.072 L7.359,4.419 L7.969,2.072 L8.874,2.072 L7.798,5.628 L7.798,8.049 L6.903,8.049 L6.903,5.628 C6.821,5.199 6.642,4.571 6.355,3.737 C6.166,3.183 5.97,2.627 5.781,2.072 z M10.073,3.541 C10.477,3.541 10.792,3.693 11.015,3.997 C11.184,4.223 11.265,4.572 11.265,5.048 L11.265,6.606 C11.265,7.08 11.184,7.431 11.015,7.654 C10.792,7.957 10.477,8.11 10.073,8.11 C9.671,8.11 9.357,7.957 9.134,7.654 C8.962,7.431 8.881,7.08 8.881,6.606 L8.881,5.048 C8.881,4.571 8.962,4.223 9.134,3.997 C9.357,3.693 9.671,3.541 10.073,3.541 z M11.929,3.595 L12.734,3.595 L12.734,6.874 C12.734,7.063 12.734,7.161 12.744,7.188 C12.762,7.312 12.824,7.376 12.932,7.376 C13.094,7.376 13.264,7.251 13.443,6.999 L13.443,3.595 L14.249,3.595 L14.249,8.049 L13.443,8.049 L13.443,7.562 C13.121,7.931 12.814,8.11 12.52,8.11 C12.26,8.11 12.082,8.004 12.001,7.779 C11.957,7.644 11.929,7.431 11.929,7.116 L11.929,3.595 z M9.749,8.778 L10.054,8.778 L10.359,8.778 C11.909,8.778 13.465,8.789 15.002,8.961 C15.694,9.039 16.268,9.557 16.43,10.26 C16.66,11.261 16.659,12.352 16.659,13.382 L16.659,13.426 C16.659,14.444 16.654,15.52 16.427,16.506 C16.266,17.209 15.691,17.728 14.999,17.805 C13.46,17.977 11.903,17.987 10.351,17.987 C10.251,17.987 10.151,17.988 10.051,17.987 C9.951,17.988 9.851,17.987 9.751,17.987 C8.199,17.987 6.643,17.977 5.104,17.805 C4.412,17.728 3.837,17.209 3.675,16.506 C3.45,15.529 3.445,14.466 3.445,13.458 L3.445,13.382 C3.445,12.352 3.448,11.261 3.678,10.26 C3.839,9.557 4.414,9.039 5.106,8.961 C6.644,8.789 8.198,8.778 9.749,8.778 z M10.073,4.267 C9.812,4.267 9.688,4.473 9.688,4.885 L9.688,6.759 C9.688,7.171 9.812,7.376 10.073,7.376 C10.333,7.376 10.457,7.171 10.457,6.759 L10.457,4.885 C10.457,4.473 10.333,4.267 10.073,4.267 z M4.43,10.421 L4.43,11.254 L5.37,11.254 L5.37,16.336 L6.259,16.336 L6.259,11.254 L7.215,11.254 L7.215,10.421 L4.43,10.421 z M10.319,10.421 L10.319,16.336 L11.118,16.336 L11.118,15.909 C11.384,16.239 11.659,16.396 11.943,16.396 C12.26,16.396 12.473,16.229 12.58,15.901 C12.633,15.714 12.661,15.42 12.661,15.012 L12.661,13.259 C12.661,12.842 12.633,12.55 12.58,12.373 C12.473,12.042 12.26,11.875 11.943,11.875 C11.649,11.875 11.375,12.035 11.118,12.352 L11.118,10.421 L10.319,10.421 z M11.515,12.594 C11.745,12.594 11.863,12.797 11.863,13.195 L11.863,15.076 C11.863,15.474 11.745,15.67 11.515,15.67 C11.384,15.67 11.251,15.607 11.118,15.474 L11.118,12.788 C11.251,12.656 11.384,12.594 11.515,12.594 z M14.485,11.875 C14.077,11.875 13.76,12.026 13.529,12.328 C13.359,12.55 13.283,12.894 13.283,13.365 L13.283,14.909 C13.283,15.377 13.369,15.724 13.539,15.945 C13.77,16.246 14.087,16.396 14.505,16.396 C14.922,16.396 15.251,16.239 15.471,15.919 C15.569,15.778 15.631,15.617 15.658,15.44 C15.665,15.36 15.674,15.183 15.674,14.926 L15.674,14.809 L14.86,14.809 C14.86,15.129 14.85,15.306 14.842,15.35 C14.797,15.564 14.682,15.671 14.485,15.671 C14.211,15.671 14.078,15.467 14.078,15.059 L14.078,14.278 L15.674,14.278 L15.674,13.365 C15.674,12.894 15.595,12.55 15.427,12.328 C15.204,12.026 14.886,11.875 14.485,11.875 z M14.479,12.594 C14.743,12.594 14.876,12.797 14.876,13.205 L14.876,13.613 L14.078,13.613 L14.078,13.205 C14.078,12.797 14.212,12.594 14.479,12.594 z M7.331,11.929 L7.331,15.414 C7.331,15.725 7.358,15.935 7.401,16.069 C7.481,16.292 7.659,16.396 7.916,16.396 C8.21,16.396 8.511,16.219 8.829,15.855 L8.829,16.336 L9.627,16.336 L9.627,11.929 L8.829,11.929 L8.829,15.297 C8.651,15.548 8.484,15.67 8.324,15.67 C8.217,15.67 8.156,15.607 8.136,15.484 C8.129,15.457 8.129,15.361 8.129,15.174 L8.129,11.929 L7.331,11.929 z"},"[x]":xIcon};function Accordion(e){var T,E=new Sprite(e=e||{}),m=[];return E.identity="menu",E.element.setAttribute("data-identity","menu"),E.gap=e.gap||1,E.axis=e.axis||"y",E.align=e.align||"left",E.wrap=e.wrap||!1,E.perpLength=e.perpLength||E.width,E.expand="auto",E.toggle=e.toggle||!0,E.updateSpeed=e.updateSpeed||.35,E.animate=e.animate||!0,E.addEventListener(SELECT_ACCORDION_ITEM,E.select),E.addItem=function(e,t,i,n){var o={container:e,title:t,content:i,isOpen:(n="all"===E.expand?!0:n)||!1,hasSubs:e.hasSubs||!1};"x"===E.axis&&LAYOUT_MODEL.dropdownSubMenu?isPod()||isPad()?(t.addEventListener("click",function(){E.animate=!0,E.updateSpeed=.25,E.openItem(o)}),i&&i.addEventListener("click",function(){E.closeItem(o)})):(t.addEventListener("mouseover",function(){E.animate=!0,E.updateSpeed=.25,E.openItem(o)}),t.addEventListener("mouseout",function(){E.animate=!0,E.updateSpeed=.25,E.closeItem(o)}),i&&(i.addEventListener("mouseover",function(){E.openItem(o)}),i.addEventListener("mouseout",function(){E.closeItem(o)}))):t.addEventListener(CLICK,E.select),m.push(o),t.accordionItem=o,E.addChild(e)},E.select=function(e){for(var t,i=m.length;i--;)m[i]===this.accordionItem?"y"!==E.axis&&"x"===E.axis&&LAYOUT_MODEL.dropdownSubMenu||(E.toggle?(t=this.accordionItem).isOpen?E.closeItem(t):E.openItem(t):this.accordionItem.isOpen||E.openItem(this.accordionItem),E.dispatchEvent(ACCORDION_SELECT,this.accordionItem)):"single"===E.expand&&E.closeItem(m[i]);E.layout(UPDATE_SPEED)},E.closeItem=function(e){"all"!==E.expand&&(e.isOpen=!1,e.content)&&(e.content.overflow="hidden",Tween(e.content,E.animate?E.updateSpeed:0,{height:0}),e.container.height=e.title.element.offsetHeight)},E.openItem=function(e){e.isOpen=!0,e.content&&(Tween(e.content,E.animate?E.updateSpeed:0,{height:e.contentHeight,onComplete:function(){LAYOUT_MODEL.dropdownSubMenu&&/top|bottom/.test(STATE.menuView.placement())||(e.content.overflow="visible")}}),e.container.height=e.title.element.offsetHeight+e.contentHeight)},E.layout=function(e){E.updateSpeed=e||0,(T=new Tile).gap=E.gap,T.axis=E.axis,T.align=E.align,T.wrap=E.wrap,T.perpLength=0;var t=m.length,e=-E.gap;for(h=T.perpLength=0;hT.perpLength?o:T.perpLength:T.perpLength=n>T.perpLength?n:T.perpLength,T.addItem(n,o)}T.layoutItems();for(var a,r="x"===E.axis?E.gap+e:0,l="x"===E.axis?0:E.gap+e,s=T.getBounds(),d="x"===E.axis?s.width-E.gap:T.perpLength,s=s.height+("x"===E.axis?0:E.gap+e),h=0;hlayoutCalcs.menuView.width())&&(d=c)}E.width=d,E.height=s,E.dispatchEvent(ACCORDION_SIZE_CHANGE,{width:d,height:s})},E}function Align(e,t,i){var n=new AlignEngine({hRange:i.hRange,vRange:i.vRange,hAlign:i.hAlign,vAlign:i.vAlign,width:i.width||e.width,height:i.height||e.height,hOffset:i.hOffset,vOffset:i.vOffset}),o=i.hOrigin||0,a=i.vOrigin||0,o={x:Math.round(n.x+o),y:Math.round(n.y+a),onComplete:i.onComplete,onCompleteParams:i.onCompleteParams,onCompleteScope:i.onCompleteScope,onUpdate:i.onUpdate,onUpdateParams:i.onUpdateParams,onUpdateScope:i.onUpdateScope,onInit:i.onInit,onInitScope:i.onInitScope,onInitParams:i.onInitParams};Tween(e,t,o)}function AlignEngine(e){var t=(e=e||{}).hRange||0,i=e.vRange||0,n=e.width||0,o=e.height||0,a=e.hAlign||"left",r=e.vAlign||"top",l=e.hOffset||0,s=e.vOffset||0;return{set hRange(e){t=e},set vRange(e){i=e},set width(e){n=e},set height(e){o=e},set hAlign(e){a=e},set vAlign(e){r=e},set hOffset(e){l=e},set vOffset(e){s=e},get x(){return"center"===a?.5*(t-n)+l:"right"===a?t-n-l:l},get y(){return"center"===r||"middle"===r?.5*(i-o)+s:"bottom"===r?i-o-s:s}}}function Cursor(t){var s,d,h,c,u,T,E=new Sprite({events:new EventSandbox}),m=(E.setClass("no-invert"),E.position="fixed",f()),p="x",g=!1,v=!1;function f(){return{left:{arrow1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow1Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow2Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:svgPaths.arrow3Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:1.5},plus1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus1Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},plus2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus2Left,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}},right:{arrow1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow1Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.arrow2Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:svgPaths.arrow3Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:1.5},plus1:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus1Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},plus2:{fill:LAYOUT_MODEL.cursorColor,d:svgPaths.plus2Right,stroke:LAYOUT_MODEL.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}}}}function e(){var e=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.cursorIconBlendMode?LAYOUT_MODEL.cursorIconBlendMode:"normal";E.element.style["mix-blend-mode"]=e}function i(e){p=e||"x"}function n(e){g=!/none|disabled/.test(LAYOUT_MODEL.navCursorType)&&e}function L(){var e=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.cursorIconBlendMode?LAYOUT_MODEL.cursorIconBlendMode:"normal",t=(E.cursorIconStyle=LAYOUT_MODEL.cursorIconStyle||"arrow2",m.left[E.cursorIconStyle]),i=m.right[E.cursorIconStyle];E.element.style["mix-blend-mode"]=e,E.navCursorType=LAYOUT_MODEL.navCursorType,E.iconLeft.d=t.d,E.iconLeft.fill=t.fill,E.iconLeft.stroke=t.stroke,E.iconLeft.strokeWidth=t.strokeWidth,E.iconCenter.fill=LAYOUT_MODEL.cursorColor,E.iconRight.d=i.d,E.iconRight.fill=i.fill,E.iconRight.stroke=i.stroke,E.iconRight.strokeWidth=i.strokeWidth}function o(e){var t,i,n,o,a,r,l;E.enabled?e.target!==s.element&&e.target!==d.element&&e.target!==h.element&&e.target!==c.element&&(l=e,l=TOUCH_DEVICE&&l.touches?l.touches[0].pageX:l.clientX,r=e,r=TOUCH_DEVICE&&r.touches?r.touches[0].pageY:r.clientY,o=STATE.mediaView.x(),t=STATE.mediaView.y(),i=STATE.mediaView.width(),n=STATE.mediaView.height(),E.transition=0,E.translateX=l-2,E.translateY=r-2,e.target.navigationCursor&&E.enabled?u||(a=e,"cursor"===LAYOUT_MODEL.navCursorType?(u=!0,E.display="block",E.alpha=.85,/none/.test(LAYOUT_MODEL.cursorIconStyle)||(a.target.style.cursor="none",E.iconLeft.cursor="none",E.iconCenter.cursor="none",E.iconRight.cursor="none",E.svg.cursor="none",E.cursor="none"),v||(stage.element.addEventListener(CLICK,S),stage.element.addEventListener("contextmenu",O),stage.element.addEventListener("dragstart",O),v=!0)):E.display="none"):u&&(u&&(u=!1,E.alpha=0,E.display="none"),v)&&(stage.element.removeEventListener(CLICK,S),stage.element.removeEventListener("contextmenu",O),stage.element.removeEventListener("dragstart",O),v=!1),a="x"===p?l-o:r-t,o=2*(l="x"===p?g?.333*i:.5*i:g?.333*n:.5*n),(LAYOUT_MODEL.cursorColor!==m.left.arrow1.fill||LAYOUT_MODEL.cursorIconStyle!==E.cursorIconStyle&&LAYOUT_MODEL.navCursorType!==E.navCursorType)&&(m=f(),L()),ao.width?(r.x=o.width-(E+r.width+u),o.x=i.pageX-o.width+E+r.point+u):(r.x=t-(E-r.width),o.x=i.pageX-t),(i=e).pageYo||Mth.abs(stage.dragElements[t].deltaY)>o);r.dispatchEvent(DRAG_MOVE,e)}function d(e){stage.removeEventListener(MOUSE_MOVE,s),stage.removeEventListener(TOUCH_MOVE,s),stage.removeEventListener(MOUSE_UP,d),stage.removeEventListener(TOUCH_END,d),stage.removeEventListener(TOUCH_CANCEL,c),stage.removeEventListener(KEY_DOWN,h);for(var t=stage.dragElements.length;t--;)stage.dragElements[t].dragging=!1,stage.dragElements[t].alpha=1;r.dispatchEvent(DRAG_STOP,e)}function h(e){keyCode[e.keyCode]===ESCAPE&&c(e)}function c(e){stage.removeEventListener(MOUSE_MOVE,s),stage.removeEventListener(TOUCH_MOVE,s),stage.removeEventListener(MOUSE_UP,d),stage.removeEventListener(TOUCH_END,d),stage.removeEventListener(TOUCH_CANCEL,c),stage.removeEventListener(KEY_DOWN,h);for(var t=stage.dragElements.length;t--;)stage.dragElements[t].dragging=!1,stage.dragElements[t].alpha=1;r.dispatchEvent(DRAG_CANCEL,e)}i.addEventListener(MOUSE_DOWN,l),i.addEventListener(TOUCH_START,l)}function LazyLoader(r,e,l){l=l||{};var s=0,d={fade:function(e,t){return s-1<=t&&t<=s+1},default:function(e){return e.isInViewport}};this.update=function(a){setTimeout(function(){a&&(s=a);for(var e=0,t=l.targetChildren||r.children,i=t.length;ee.width||r>e.height)&&(a=e.width,r=e.height),{set hRange(e){n=e},set vRange(e){o=e},set type(e){t=e},get type(){return t},set width(e){a=e},set height(e){r=e},get width(){return a},get height(){return r}}}var Scrolls={arr:[],focusTarget:null,register:function(e){this.arr.push(e)},unRegister:function(e){for(var t=this.arr.length;t--;)e===this.arr[t]&&this.arr.splice(t,1)},resize:function(){if(0=l[i.dim]?(l.transition=0,l.alpha=0,l.display="none",s.transition=0,s.alpha=0,s.display="none",s[i.dim]=l[i.dim],i.scrollTo(0,0)):(Tween(l,.35,{alpha:0,onComplete:function(){this.dislplay="none"}}),Tween(s,.35,{alpha:0,onComplete:function(){setTimeout(function(){s.dislplay="none"},200),i.scrollTo(0,0)}}))},this.destroy=function(){i.parent.removeChild(s),i.parent.removeChild(l),s.removeEventListener(MOUSE_OVER,e),s.removeEventListener(MOUSE_OUT,d),s.removeEventListener(MOUSE_DOWN,h),s.removeEventListener(TOUCH_START,h)},this.setAlpha=function(e){s.alpha=l.alpha=e},this.getBack=function(){return l},this.scrollTo=function(e){},this.hide=function(){r=!1},this.show=function(){r=!0},this.disable=function(){s.removeEventListener(MOUSE_OVER,e),s.removeEventListener(MOUSE_OUT,d),s.removeEventListener(MOUSE_DOWN,h),s.removeEventListener(TOUCH_START,h)},this.enable=function(){s.addEventListener(MOUSE_OVER,e),s.addEventListener(MOUSE_OUT,d),s.addEventListener(MOUSE_DOWN,h),s.addEventListener(TOUCH_START,h)}}function ScrollTouch(t){var i=0,n=0,o=0;function a(e){!1===t.ing&&(t.ing=!0,isAppleMobile()&&!STATE.podUseDesktop&&window.scrollTo(0,1),e.preventDefault()),o=r()-i,t.percent=-(o/t.scrollDist)+n,t.percent=t.percent<0?0:t.percent,t.percent=1Math.abs(e.deltaY)&&"x"===i.axis||Math.abs(e.deltaY)>Math.abs(e.deltaX)&&"y"===i.axis)&&(0<=i.percent&&i.percent<1&&0.5*n.mask.element[t]?o=.98:0===o&&e<.5*n.mask.element[t]&&(o=.15),n.percent=.5{let d=0;return e.map(e=>{let t=e.width*=l,i=e.height*=l;e.isDoubleSize&&(o=(n=i+r)/i,t*=o,i=n);var n,o={...e,height:i,width:t,x:d,y:s};return d+=a+t,o})},calculateVoids=(e,t)=>splitWhen(e=>e.isDoubleSize,e).map(e=>({x:e[0].x,y:e[0].y+e[0].height+t,width:last(e).x+last(e).width-e[0].x,height:e[0].height,items:[]})),getItemsForRow=(n,o,a)=>(e,t,i)=>{return e.y=a,0e=>{var t=n[0].height/e.height;const i={width:e.width*t,height:e.height*t};return!e.isDoubleSize&&!!(t=n.find(e=>{return e.items.reduce((e,t)=>e+t.width+o,0)+i.width<=e.width+1}))&&(e.width=i.width,e.height=i.height,t.items.push(e),!0)},layoutVoid=l=>i=>{var e=tolerance(1,l),t=0===i.x,e=e(i.x+i.width);const n=i.items;var o=n.length;if(1===o){var a=n[0];a.x=e?i.x+i.width-a.width:t?i.x:i.x+(i.width-a.width)/2,a.y=i.y}else if(1e).reduce(sum,0);const r=(i.width-e)/(o-1);n.forEach((e,t)=>{t=n[t-1];e.x=t?t.x+t.width+r:i.x,e.y=i.y})}},buildRows=(e,t,i=[])=>{let{items:n,fill:o,hGap:a,vGap:r,targetWidth:l,isLastRow:s}=e,d=n;var[e,h]=partition(getItemsForRow(l,a,t),d),h=(d=h,Array(e.length-1).fill(0).reduce(e=>e+a,0)),[c,u]=partition(e=>e.isDoubleSize,e),T=l-c.map(e=>{var t=(e.height-r)/e.height,t=e.width*t;return e.width-t}).reduce(sum,0),E=last(e),e={items:e,y:t,width:E.x+E.width-h,hasMixed:!(!c.length||!u.length),voids:[],voidItems:[]},c=o?(T-h)/e.width:1,c=s&&2e)),e.voids.length&&([u,T]=partition(fillVoids(e.voids,a),d),e.voids.forEach(layoutVoid(l)),d=T,e.voidItems=u),d.length?[...i,e,...buildRows({items:d,fill:o,hGap:a,vGap:r,targetWidth:l},t+e.height+r,i)]:[...i,e]};class HMasonry{constructor(e){this.hGap=e.hGap,this.vGap=e.vGap,this.fill=!1!==e.fill,this.targetWidth=0}setItems(e){this.items=e.map((e,t)=>({...e,index:t}))}layout(){const e=JSON.parse(JSON.stringify(this.items));var t,i;this.bounds={width:0,height:0},this.items.length&&(this.rows=buildRows(this,0),i=[...(t=last(this.rows)).items,...t.voidItems].map(t=>e.find(e=>e.index===t.index)),i=buildRows({...this,items:i,isLastRow:!0},t.y)[0],this.rows=[...this.rows.slice(0,-1),i],this.layoutItems=this.rows.reduce((e,t)=>[...e,...t.items,...t.voidItems],[]),this.bounds={width:Math.max(...this.rows.map(({width:e})=>e)),height:i.y+i.height})}setTargetWidth(e){this.targetWidth=e}setHGap(e){this.hGap=e}setVGap(e){this.vGap=e}getVoids(){return this.rows.map(({voids:e})=>e).reduce((e,t)=>e.concat(t),[])}getItems(){return[...this.layoutItems||[]]}getBounds(){return this.bounds}}function Tile(L){L=L||{};var S,A,x,V,I=this,O=[],Y=[],b=[],y=[];function w(e,t,i){return I.wrap?t:(t=t,i=i,"x"===(e=e)&&"center"===I.align||"y"===e&&"middle"===I.align?.5*(I.perpLength-i):"x"===e&&"right"===I.align||"y"===e&&"bottom"===I.align?I.perpLength-i:t)}function M(e,t){for(var i=t.length,n=t[0]&&t[0].size?t[0].size:0;i--;)t[0]&&t[i].size<=n&&(n=t[i].size,e=i);return e}function C(e){for(var t=e.length,i=0;t--;)e[t]&&e[t].size>i&&(i=e[t].size);return i}function P(e){return!!e.ids.filter(function(e){return O[e].isDoubleSize}).length}function R(e){var t=O[e.ids[0]],i=t.isDoubleSize?Math.round(.5*(t.height-I.vGap)):t.height,t=1===e.ids.length&&t.isDoubleSize?I.vGap:0;return P(e)?2*i+t:i}function _(e){if(y.length)for(var t=0,i=y.length;tI.perpLength,!I.wrap||I.isWrap?(A+=1,S=0):I.wrap&&!I.horizontalMasonry&&(S+=1)):!I.wrap||Y[S]&&O[T]&&Y[S].size+O[T].height>I.perpLength?(S+=1,A=0):I.wrap&&(A+=1),A=A<0?0:A,Y[S=S<0?0:S]||I.numberOfColumns||(Y[S]={size:0,ids:[]}),b[A]||(b[A]={size:0,gapRowSize:0,ids:[],gapRowIds:[],doubleSizeIds:[]}),i="y"!==I.axis||I.maintainOrder?S:M(S,Y),n="y"===I.axis?A:M(A,b),m=!1,o=O[e].isDoubleSize?Math.round(.5*(O[e].width-I.hGap)):O[e].width,T=i*((o=I.gridWidths||o)+I.hGap),a=O[e].isDoubleSize?Math.round(.5*(O[e].height-I.vGap)):O[e].height,(I.horizontalMasonry||"x"===I.axis||"y"===I.axis&&I.maintainOrder)&&(T=b[n].size),r=Y[i].size,b[n].size+=O[e].width+I.hGap,O[e].isDoubleSize&&(b[n].doubleSizeIds.push(e),b[n].gapRowIds.push(e)),b[n].ids.push(e),b[n],I.horizontalMasonry&&I.isWrap?(Y[i].ids.push(e),h=n-1,l=Math.max(0,I.perpLength-b[h].gapRowSize),d=R(b[h]),(c=P(b[h]))&&(s=Math.round(.5*d),I.maintainOrder||y.push({rowId:h,gapType:"right",x:b[h].gapRowSize,y:Y[0].size+s+I.vGap,size:l})),I.maintainOrder||y.push({rowId:h,gapType:"top",x:b[h].size,y:r,size:Math.max(0,I.perpLength-b[h].size)}),O[e].isDoubleSize&&(b[n].gapRowSize+=O[e].width+I.hGap),Y[i].size+=c?d+I.vGap+I.vGap:d+I.vGap,r=Y[i].size,h=O.slice(e).map(function(e){return e.width+I.hGap}).reduce(D,0),I.isLastRow=O[e].width+h-I.hGapY[i].size&&(E=Y[i+1].size-Y[i].size,y.push({x:w("x",T,o),y:Y[i].size,size:E}),r=Y[i+1].size),Y[i].size+=O[e].height+I.vGap+E,Y[i+1]||(Y[i+1]={size:0,ids:[]}),Y[i+1].size+=O[e].height+I.vGap),Y[i].ids.push(e)):(Y[i].ids.push(e),Y[i].size+=O[e].height+I.vGap)),!1===m)&&(O[e].x=w("x",T,o),O[e].y=w("y",r,a)),I.isWrap=!1}if(I.horizontalMasonry){if(0===b[n].ids.length&&b.pop(),I.masonryFill&&1t.x?1:0}).map(function(e){return e.id});for(var C=0,_=r.gapRowIds.length;C<_;C++){var D,U,A=t[r.gapRowIds[C]],O=t[r.gapRowIds[C-1]],y=C===_-1,w=(b=g)*(A.width/A.height),M=O?O.x+O.width+I.hGap:0;A.isDoubleSize||(N(/gap|equal/,u)&&y&&(D=Math.max(0,o-(M+w))),y&&(U=I.perpLength-(M+w),N(/gap/,u)&&(T=U),M=I.perpLength-w),A.x=Math.round(M),A.y=Math.round(f),A.height=Math.round(b),A.width=Math.round(w),r.scaledGapRowSize=A.x+A.width,r.gapRemainder=D)}r.fullRowHeight=Math.round(m);r.maxRow=u;return 2o.width?(r.x=o.width-(E+r.width+u),o.x=i.pageX-o.width+E+r.point+u):(r.x=t-(E-r.width),o.x=i.pageX-t),(i=e).pageY=Mth.abs(n)?0=Mth.abs(t)?0",(t=r()).x=e.width-2,t.y=2,e.addChild(t),stage.addChild(e),Popup.likeDiv=e,Popup.likeClose=t),Popup.likeClose.addEventListener(CLICK,s),document.getElementById("likesrc")||((e=document.createElement("script")).setAttribute("id","likesrc"),e.setAttribute("type","text/javascript"),e.setAttribute("src","https://connect.facebook.net/en_US/all.js#xfbml=1"),document.getElementsByTagName("head")[0].appendChild(e))):(Popup.plusDiv?(Popup.plusDiv.alpha=0,Popup.plusDiv.display="block",l(Popup.plusDiv,0),Popup.plusDiv.alpha=1):((t=a("plus1",100,40)).overflow="hidden",t.text="",(i=r()).x=t.width-2,i.y=2,t.addChild(i),stage.addChild(t),Popup.plusDiv=t,Popup.plusClose=i),Popup.plusClose.addEventListener(CLICK,s),document.getElementById("plus1src")||((i=document.createElement("script")).setAttribute("id","plus1src"),i.setAttribute("type","text/javascript"),i.setAttribute("src","https://apis.google.com/js/plusone.js"),document.getElementsByTagName("head")[0].appendChild(i)))},1e3*o),t.resize=function(){Tween(i,o,{width:stage.width,height:stage.height}),l(Popup.plusDiv,o),l(Popup.likeDiv,o)},t}var Anim=function(){var s={linear:function(e,t,i,n){return i*e/n+t},inQuad:function(e,t,i,n){return i*(e/=n)*e+t},outQuad:function(e,t,i,n){return-i*(e/=n)*(e-2)+t},inOutQuad:function(e,t,i,n){return(e/=n/2)<1?i/2*e*e+t:-i/2*(--e*(e-2)-1)+t},inCubic:function(e,t,i,n){return i*(e/=n)*e*e+t},outCubic:function(e,t,i,n){return e/=n,i*(--e*e*e+1)+t},inOutCubic:function(e,t,i,n){return(e/=n/2)<1?i/2*e*e*e+t:i/2*((e-=2)*e*e+2)+t},inQuart:function(e,t,i,n){return i*(e/=n)*e*e*e+t},outQuart:function(e,t,i,n){return e/=n,-i*(--e*e*e*e-1)+t},inOutQuart:function(e,t,i,n){return(e/=n/2)<1?i/2*e*e*e*e+t:-i/2*((e-=2)*e*e*e-2)+t},inQuint:function(e,t,i,n){return i*(e/=n)*e*e*e*e+t},outQuint:function(e,t,i,n){return e/=n,i*(--e*e*e*e*e+1)+t},inOutQuint:function(e,t,i,n){return(e/=n/2)<1?i/2*e*e*e*e*e+t:i/2*((e-=2)*e*e*e*e+2)+t},inSine:function(e,t,i,n){return-i*Math.cos(e/n*(Math.PI/2))+i+t},outSine:function(e,t,i,n){return i*Math.sin(e/n*(Math.PI/2))+t},inOutSine:function(e,t,i,n){return-i/2*(Math.cos(Math.PI*e/n)-1)+t},inExpo:function(e,t,i,n){return i*Math.pow(2,10*(e/n-1))+t},outExpo:function(e,t,i,n){return i*(1-Math.pow(2,-10*e/n))+t},inOutExpo:function(e,t,i,n){return(e/=n/2)<1?i/2*Math.pow(2,10*(e-1))+t:(e--,i/2*(2-Math.pow(2,-10*e))+t)},inCirc:function(e,t,i,n){return e/=n,-i*(Math.sqrt(1-e*e)-1)+t},outCirc:function(e,t,i,n){return e/=n,e--,i*Math.sqrt(1-e*e)+t},inOutCirc:function(e,t,i,n){return(e/=n/2)<1?-i/2*(Math.sqrt(1-e*e)-1)+t:(e-=2,i/2*(Math.sqrt(1-e*e)+1)+t)}};function g(e,t,i,n){for(var o=0,a=[],r=0,l=Math.round((n-o)/(1e3/60));r=t&&!this.children[i]===e?t=this.children[i].zIndex+1:this.children[i].zIndex--;e.zIndex=t},e.prototype.event=function(e){this.proxy._private.selectable||TOUCH_DEVICE||"input"===this.proxy.vars.type||"textarea"===this.proxy.vars.type||this.proxy.vars.type;var t={type:e.type,target:this.proxy,currentTarget:this.proxy,keyCode:e.which,detail:e.detail,pageX:e.pageX,pageY:e.pageY,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX||e.layerX,offsetY:e.offsetY||e.layerY,mouseX:e.clientX-this.proxy.stageX,mouseY:e.clientY-this.proxy.stageY,preventDefault:function(){e.preventDefault()},stopPropagation:function(){e.stopPropagation()},dataTransfer:e.dataTransfer};e.touches&&(t.touches=e.touches),this.proxy.dispatchEvent(e.type,t)},e.prototype.hitTestPoint=function(e,t){return this._private.width||(this._private.width=this.element.offsetWidth||this.element.scrollWidth||0),"none"!==this.style.display&&e>=this.stageX&&e<=this.stageX+this._private.width&&t>=this.stageY&&t<=this.stageY+this._private.height},e.prototype.hitTestAbs=function(e,t){return"none"!==this.style.display&&e>=this.scrollAbsX&&e<=this.scrollAbsX+this._private.width&&t>=this.scrollAbsY&&t<=this.scrollAbsY+this._private.height},e.prototype.globalToLocal=function(e){return{x:e.x-this.stageX,y:e.y-this.stageY}},e.prototype.localToGlobal=function(e){return{x:e.x+this.stageX,y:e.y+this.stageY}},e.prototype.focus=function(){"input"!==(stage.activeFocus=this).vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.focus()},e.prototype.blur=function(){"input"!==this.vars.type&&"textarea"!==this.vars.type&&"button"!==this.vars.type||this.element.blur()},e.prototype.getClass=function(){return this.element.className},e.prototype.setClass=function(e){return this.element.setAttribute("class",e)},t.forEach(function(t){/width|height|fontSize|src|transition/.test(t)||Object.defineProperty(e.prototype,t,{get:function(){return this._private[t]},set:function(e){this._private[t]=e,this.element.style[t]=-1=t&&!this.children[i]===e?t=this.children[i].zIndex+1:this.children[i].zIndex--;e.zIndex=t},domContentLoaded:function(){e||(setTimeout(function(){r.element=document.body,n||(document.body.style.overflow="hidden"),document.body.style.margin=0,document.body.style.padding=0,r.dispatchEvent(LOAD,r)},10),e=!0)},documentReadyListener:function(){var e=[LAYOUT_MODEL.captionFont,LAYOUT_MODEL.contactFont,LAYOUT_MODEL.contactTitleFont,LAYOUT_MODEL.copyrightFont,LAYOUT_MODEL.logoFont,LAYOUT_MODEL.menuFont,LAYOUT_MODEL.menuSubFont||"",LAYOUT_MODEL.navbarFont,LAYOUT_MODEL.pageTextFont,LAYOUT_MODEL.pageTitleFont,LAYOUT_MODEL.thumbnailTitleFont,LAYOUT_MODEL.thumbnailTitleBlockFont||""];LAYOUT_MODEL.menuIconFont&&e.push(LAYOUT_MODEL.menuIconFont),!isAdmin&&LAYOUT_MODEL.menuFontMobile&&e.push(LAYOUT_MODEL.menuFontMobile),!isAdmin&&LAYOUT_MODEL.menuFontTablet&&e.push(LAYOUT_MODEL.menuFontTablet),!isAdmin&&LAYOUT_MODEL.mobileLogoFont&&e.push(LAYOUT_MODEL.mobileLogoFont),!isAdmin&&LAYOUT_MODEL.tabletLogoFont&&e.push(LAYOUT_MODEL.tabletLogoFont),WebFontConfig={loading:function(){},fontloading:function(e,t){},fontactive:function(e,t){},fontinactive:function(e,t){},active:function(){r.domContentLoaded(),r.style=document.body.style,r.element=document.body},inactive:function(){r.domContentLoaded(),r.style=document.body.style,r.element=document.body}};var t,e=e.concat((t=SECTIONS_MODEL,Object.keys(t).map(function(e){return t[e]}).reduce(function(e,t){return t&&t.override&&(t.overrides.captionFont&&e.push(t.overrides.captionFont),t.overrides.pageTextFont&&e.push(t.overrides.pageTextFont),t.overrides.pageTitleFont)&&e.push(t.overrides.pageTitleFont),t&&t.thumb&&t.thumb.titleFont&&e.push(t.thumb.titleFont),e},[]))).filter(function(e,t,i){return i.indexOf(e)===t}).filter(function(e,t,i){return"system"!==getFontData(e).service}).reduce(function(e,t){var i,n,o;return t&&((t=getFontData(t))&&t.family&&t.weight&&t.charset&&t.service?(e[t.service]||(e[t.service]={families:[]}),i=t.family,n=t.weight.join(","),o=t.charset,e[t.service].families.push(i+":"+n+":"+o)):console.warn("Font:",t," did not load")),e},{});e.google&&(WebFontConfig.google=e.google),e.typekit&&SETTINGS_MODEL.typekitId&&(WebFontConfig.typekit={id:SETTINGS_MODEL.typekitId}),e.custom&&SETTINGS_MODEL.customFonts.length&&(WebFontConfig.custom=e.custom,WebFontConfig.custom.urls=["https://"+window.location.host+"/css"]),WebFontConfig.custom||WebFontConfig.google||(r.domContentLoaded(),r.style=document.body.style,r.element=document.body)},globalToLocal:function(e){return{x:e.x,y:e.y}},localToGlobal:function(e){return{x:e.x,y:e.y}},event:function(e){var t={type:e.type,target:e.target,currentTarget:e.target,x:e.x,y:e.y,keyCode:e.which,pageX:e.pageX,pageY:e.pageY,screenX:e.screenX,screenY:e.screenY,clientX:e.clientX,clientY:e.clientY,mouseX:e.clientX-r.stageX,mouseY:e.clientY-r.stageY,deltaX:e.deltaX||-e.wheelDeltaX||0,deltaY:e.deltaY||-e.wheelDeltaY||0,preventDefault:function(){e.preventDefault()},stopPropagation:function(){e.stopPropagation()},dataTransfer:e.dataTransfer};e.touches&&(t.touches=e.touches),e.type!==WHEEL&&e.type!==MOUSE_WHEEL||(t.type=MOUSE_WHEEL),e.type!==RESIZE&&e.type!==GESTURE_CHANGE&&e.type!==GESTURE_END&&e.type!==ORIENTATION_CHANGE||(o=(o=window.visualViewport?window.visualViewport.scale:isPod()||isPad()?document.documentElement.clientWidth/window.innerWidth:document.documentElement.clientHeight/window.innerHeight)<1?1:o),Scrolls&&e.clientX&&e.clientY&&Scrolls.hitMask(e.clientX,e.clientY),/click|key|touch|down/.test(e.type)&&(r.userInteraction=!0),r.dispatchEvent(e.type,t)},get disableScroll(){return r._disableScroll},set disableScroll(e){r._disableScroll=e;var t=document.getElementsByTagName("html")[0];e?(r._previousOverflow={x:document.body.style.overflowX,y:document.body.style.overflowY},t.style.overflow="hidden",r.element.style.overflow="hidden"):(t.style.overflow="initial",r._previousOverflow&&(r.element.style.overflowX=r._previousOverflow.x,r.element.style.overflowY=r._previousOverflow.y))},get getChildren(){return children},get images(){return document.images},get forms(){return document.forms},get links(){return document.links},get anchors(){return document.anchors},get scripts(){return document.scripts},get plugins(){return document.plugins},get embeds(){return document.embeds},get width(){var e=window.innerWidth;return o<=1?e*o:e},get height(){var e=USER_AGENT!==MOBILE&&isPod()&&window.innerHeight===document.documentElement.clientHeight&&window.innerWidth>window.innerHeight?window.innerHeight+81:window.innerHeight;return o<=1?e*o:e},get stageX(){return 0},get stageY(){return 0},get scrollX(){return a.scrollX||window.scrollX},set scrollX(e){a.scrollX=e},get scrollY(){return a.scrollY||window.scrollY},set scrollY(e){a.scrollY=e},get selectable(){return n},set selectable(e){n=e},get zoom(){return o},set zoom(e){o=e},get backgroundColor(){return a.backgroundColor||document.body.style.backgroundColor},set backgroundColor(e){a.backgroundColor=e,document.body.style.backgroundColor=e},get transition(){return a.transition},set transition(e){e=0===(a.transition=e)?"none":"all "+e+"s",document.body.style.WebkitTransition=e,document.body.style.MozTransition=e,document.body.style.OTransition=e,document.body.style.transition=e},get disableKeyNavigation(){return a.disableKeyNavigation},set disableKeyNavigation(e){a.disableKeyNavigation=e},focus:function(){r.activeFocus=r},blur:function(){}},l=(r.proxy=r,document.createElement("div")),s=(l.className="scrollbar-measure",document.body.appendChild(l),l.offsetWidth-l.clientWidth);return document.body.removeChild(l),MAC_SCROLLBARS=0==s,USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(t=createDebounce(200)),window.addEventListener(ORIENTATION_CHANGE,function(e){setTimeout(function(){t&&t(function(){r.zoom<=1&&!r.isInputFocus&&(document.body.style["-webkit-overflow-scrolling"]="touch")}),r.event(e)},50)},!1),window.addEventListener(SCROLL,function(e){r.scrollY=window.scrollY,r.event(e)},!1),window.addEventListener(TOUCH_START,r.event,!1),window.addEventListener(TOUCH_MOVE,r.event,!1),window.addEventListener(TOUCH_END,r.event,!1),window.addEventListener(TOUCH_CANCEL,r.event,!1),window.addEventListener(MOUSE_OVER,r.event,!1),window.addEventListener(MOUSE_DOWN,r.event,!1),window.addEventListener(MOUSE_MOVE,r.event,!1),window.addEventListener(MOUSE_UP,r.event,!1),window.addEventListener(MOUSE_OUT,r.event,!1),window.addEventListener(CLICK,r.event,!1),window.addEventListener(RESIZE,r.event,!1),window.addEventListener(GESTURE_START,r.event,!1),window.addEventListener(GESTURE_CHANGE,r.event,!1),window.addEventListener(GESTURE_END,r.event,!1),window.addEventListener(KEY_UP,r.event,!1),window.addEventListener(KEY_DOWN,r.event,!1),window.addEventListener(RESIZE,function(e){clearTimeout(i),i=setTimeout(function(){isPod()?(window.innerHeight,window.innerWidth):r.dispatchEvent(RESIZE_END,e)},50)},!1),window.addEventListener(ORIENTATION_CHANGE,function(e){r.dispatchEvent(ORIENTATION_CHANGE,e)},!1),window.addEventListener(WHEEL,r.event,{passive:!1}),window.addEventListener(MOUSE_WHEEL,r.event,{passive:!1}),r.documentReadyListener(),r}var stage=Stage.call(Stage);function addChild(e){stage.addChild(e)}var svgPaths={navArrowRight:{default:"M1.4,11.984l4.244-4.242L1.4,3.5",thin:""},navArrowLeft:{default:"M6.644,3.5L2.4,7.742l4.244,4.242",thin:""},navArrowUp:{default:"m 1.4562498,8.21905 5.1000001,-5.4 5.7000001,5.4",thin:""},navArrowDown:{default:"m 1.4562498,1.44405 5.1000001,5.4 5.7000001,-5.4",thin:""},navFullscreen:{default:"M0,0h15v9H0V0z M2,2v5h11V2H2z",thin:"M1.5,1.5 L12.5,1.5 L12.5,7.5 L1.5,7.5 L1.5,1.5 z"},navShare:{default:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z",thin:"M9.056,5.4 L9.056,3 L14.5,7.2 L9.056,11.4 L9.056,8.94 C5.167,8.94 2.444,9.9 0.5,12 C1.278,9 3.611,6 9.056,5.4 z"},navInfo:{default:"M0.576,10.401c0.384,0.922,0.924,1.724,1.621,2.404c2.891,2.908,7.741,2.946,10.624,0c2.904-2.923,2.905-7.705,0-10.629 c-2.88-2.92-7.736-2.881-10.624,0c-0.738,0.715-1.274,1.525-1.607,2.43C-0.192,6.534-0.197,8.465,0.576,10.401 C0.959,11.324,0.192,9.479,0.576,10.401z M1.9,5.131c0.311-0.753,0.745-1.403,1.303-1.95c2.34-2.383,6.292-2.274,8.654,0 c2.316,2.448,2.284,6.187,0,8.643c-2.387,2.29-6.288,2.39-8.654,0c-0.543-0.542-0.985-1.207-1.329-1.994 c-0.293-0.738-0.44-1.528-0.44-2.371C1.435,6.661,1.59,5.885,1.9,5.131C2.211,4.378,1.59,5.885,1.9,5.131z M4.792,7.981 c0.562,0,1.844-0.876,2.245-0.566C7.531,7.798,6.011,9.726,5.89,9.94c-0.605,1.064-0.754,2.451,0.931,2.24 c1.02-0.128,2.904-0.903,3.41-1.88c0.232-0.451-2.039,0.442-2.189,0.278C7.69,10.194,8.925,8.421,9.058,8.096 C10.812,3.81,4.583,6.318,4.792,7.981C4.796,7.981,4.792,7.981,4.792,7.981z M8.151,4.869c0.465,0.459,1.194,0.432,1.651-0.025 c0.701-0.62,0.341-1.849-0.572-2.041C8.067,2.56,7.326,4.053,8.151,4.869C8.38,5.094,7.923,4.644,8.151,4.869z",thin:"M7.5,12.5 C4.739,12.5 2.5,10.261 2.5,7.5 C2.5,4.739 4.739,2.5 7.5,2.5 C10.261,2.5 12.5,4.739 12.5,7.5 C12.5,10.261 10.261,12.5 7.5,12.5 z M7.5,5.694 L7.5,4.306 M7.5,10.37 L7.5,6.435"},navCart:{default:"M 1.248,8.985 H 3.254 V 6.989 H 1.248 V 8.985 z M 0,0 1.05,5.992 h 9.235 L 11.271,0.966 13.248,0.968 13.256,0 H 0 z m 3.25,3.981 h -1 v -1 h 1 v 1 z M 3.25,2 h -1 V 1 h 1 v 1 z m 2,2 h -1 V 3 h 1 v 1 z m 0,-2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 7.25,2 h -1 V 1 h 1 v 1 z m 2,1.979 h -1 v -1 h 1 v 1 z M 9.25,2 h -1 V 1 h 1 V 2 z M 7.252,9.007 H 9.25 V 7.002 H 7.252 v 2.005 z",thin:"M3.673,7.806 C3.866,7.806 4.023,7.963 4.023,8.157 C4.023,8.35 3.866,8.507 3.673,8.507 C3.479,8.507 3.322,8.35 3.322,8.157 C3.322,7.963 3.479,7.806 3.673,7.806 z M10.034,1.526 L8.552,6.278 L2.701,6.278 L1.5,1.5 L11.542,1.5 M7.333,7.806 C7.139,7.806 6.982,7.963 6.982,8.157 C6.982,8.35 7.139,8.507 7.333,8.507 C7.527,8.507 7.684,8.35 7.684,8.157 C7.684,7.963 7.527,7.806 7.333,7.806 z"},navThumbs:{default:"M0,3h7v4H0V3z M0,8h7v4H0V8z M8,3h7v4H8V3z M8,8h7v4H8V8z",thin:"M1.5,3.5 L6.5,3.5 L6.5,6.5 L1.5,6.5 L1.5,3.5 z M8.5,3.5 L8.5,6.5 L13.5,6.5 L13.5,3.5 L8.5,3.5 z M1.5,8.5 L1.5,11.5 L6.5,11.5 L6.5,8.5 L1.5,8.5 z M8.5,8.5 L8.5,11.5 L13.5,11.5 L13.5,8.5 L8.5,8.5 z"},play:"M2,1l8,5.031L2,11V1z",pause:"M2,2h3v8H2V2z M7,2h3v8H7V2z",volume:"M2,7.5h1V10H2V7.5z M4,7h1v3H4V7z M6,6h1v4H6V6z M8,4h1v6H8V4z M10,2h1v8h-1V2z M0,8h1v2H0V8z",mute:"M2,8h1v2H2V8z M4,8h1v2H4V8z M6,8h1v2H6V8z M8,8h1v2H8V8z M10,8h1v2h-1V8z M0,8h1v2H0V8z",arrowLeft:"M 8.812269,1.1126749 2.1862736,7.2790289 8.876226,13.512325",arrowRight:"M 1.0939806,1.1126749 7.719976,7.2790289 1.0300236,13.512325",arrowUp:"M 1.1126747,8.812269 7.2790287,2.1862738 13.512325,8.876226",arrowDown:"M 1.1126747,1.0939808 7.2790287,7.719976 13.512325,1.0300238",arrowUpSmall:"M10.535,8.768L7,5.232L3.465,8.768",arrowDownSmall:"M3.465,5.232L7,8.768l3.535-3.535",arrowRightSmall:"M4.5,11.001L9.5,6l-5-5",arrowLeftSmall:"M9.5,2l-5,5.001l5,5",edit:"M4.244,7.759L9.203,2.8l2.151,2.151L6.396,9.909L2.8,11.397L4.244,7.759z",popout:"M3,8 L3,1 L12,1 L12,8 L10,8 L10,11 L0,11 L0,3 L3,3 L2,3 L2,4 L1.969,9 L10,9 L10,8 L3,8 z M10,3 L5,3 L5,6 L10,6 L10,3 z",remove:"M4,7h6 M7,2.5C4.515,2.5,2.5,4.515,2.5,7c0,2.486,2.015,4.5,4.5,4.5 c2.486,0,4.5-2.014,4.5-4.5C11.5,4.515,9.485,2.5,7,2.5z",spacer:"M12,10H2V4h10V10z",chart:"M1.844,9.188 L5.094,6.188 L7.031,8.562 L12.156,4.188",eyeSmall:"M2.613,6.95c0-1.391,2.021-2.518,4.513-2.518 c2.493,0,4.514,1.127,4.514,2.518 M7.125,5.691c-0.682,0-1.235,0.553-1.235,1.235c0,0.681,0.553,1.235,1.235,1.235 c0.681,0,1.235-0.554,1.235-1.235C8.36,6.244,7.807,5.691,7.125,5.691z",lock:"M10,9.875H4v-5h6V9.875z M9.5,4.625c0-1.381-1.119-2.5-2.5-2.5s-2.5,1.119-2.5,2.5 M5.5,4.625c0-0.828,0.672-1.5,1.5-1.5s1.5,0.672,1.5,1.5",plusSmall:"M3,7h8 M7,11V3",listSmall:"M11,4H3V3h8V4z M11,9H3v1h8V9z M11,6H3v1h8V6z",thumbXSmall:"M6,6H2V3h4V6z M12,3H8v3h4V3z M6,8H2v3h4V8z M12,8H8v3h4V8z",eyeHide:"M19.781,4.592 L21.552,6.272 L19.239,8.467 C21.488,9.601 23.362,11.298 25,13.186 C20.879,18.097 14.534,21.593 8.14,19.004 L5.219,21.776 L3.448,20.096 L5.761,17.9 C3.573,16.71 1.624,15.072 0,13.186 C2.735,10.019 6.181,7.253 10.432,6.602 C11.132,6.495 11.845,6.518 12.551,6.476 C14.03,6.531 15.436,6.958 16.838,7.386 L19.781,4.592 z M17.152,10.449 L16.088,11.458 L16.098,11.48 L11.356,15.995 L11.902,16.512 L16.432,12.199 C16.554,12.509 16.546,12.855 16.578,13.182 C16.578,15.412 14.674,17.221 12.324,17.22 C11.124,17.106 11.733,17.245 10.508,16.756 L10.108,17.135 C14.331,18.386 17.629,16.231 20.391,13.185 C19.486,12.082 18.4,11.139 17.152,10.449 z M12.357,8.854 C8.758,9.069 6.619,10.465 4.257,13.185 C5.207,14.373 6.45,15.227 7.71,16.051 L8.665,15.144 C8.045,13.746 8.2,14.412 8.07,13.182 C8.07,10.952 9.974,9.144 12.324,9.144 C13.614,9.267 12.915,9.119 14.391,9.709 L14.748,9.37 C13.149,8.884 13.947,9.051 12.357,8.854 z",minimize:"M0,11.5 L12,11.5",maximize:"M12,0 L12,12 L0,12 L0,0 L12,0 z M11,1.998 L1,1.998 L1,11.002 L11,11.002 L11,1.998 z",desktop:"M1.195,26.607 C0.561,26.543 0.018,26 -0.018,25.395 L0.018,3.755 C0.018,3.086 0.561,2.542 1.23,2.542 L30.805,2.542 C31.474,2.542 32.018,3.086 32.018,3.755 L31.982,25.394 C32.018,26 31.474,26.543 30.77,26.608 L18.932,26.607 C18.932,26.607 18.719,28.746 20.05,29.45 C20.9,29.9 20.558,30.258 20.558,30.258 L11.407,30.258 C11.407,30.258 11.09,29.93 11.95,29.5 C13.45,28.75 13.144,26.607 13.144,26.607 L1.195,26.607 z M30.237,4.404 L1.798,4.404 L1.798,20.531 L30.237,20.531 L30.237,4.404 z",tablet:"M25.638,0 C26.307,0 26.85,0.543 26.85,1.213 L26.85,30.787 C26.85,31.457 26.307,32 25.638,32 L6.362,32 C5.693,32 5.15,31.457 5.15,30.787 L5.15,1.213 C5.15,0.543 5.693,0 6.362,0 L25.638,0 z M16,29.476 C15.553,29.476 15.19,29.838 15.19,30.286 C15.19,30.733 15.553,31.095 16,31.095 C16.447,31.095 16.81,30.733 16.81,30.286 C16.81,29.838 16.447,29.476 16,29.476 z M25.188,3.231 L6.812,3.231 L6.812,28.769 L25.188,28.769 L25.188,3.231 z M15.896,1.406 C15.729,1.406 15.594,1.54 15.594,1.707 C15.594,1.874 15.729,2.009 15.896,2.009 C16.062,2.009 16.198,1.874 16.198,1.707 C16.198,1.54 16.062,1.406 15.896,1.406 z",mobile:"M21.718,0 C22.754,0 23.594,0.836 23.594,1.869 L23.594,30.131 C23.594,31.164 22.754,32 21.718,32 L10.282,32 C9.246,32 8.406,31.164 8.406,30.132 L8.406,1.868 C8.406,0.836 9.246,0 10.282,0 L21.718,0 z M16,28.5 C15.352,28.5 14.826,29.023 14.826,29.668 C14.826,30.314 15.352,30.837 16,30.837 C16.648,30.837 17.174,30.314 17.174,29.668 C17.174,29.023 16.648,28.5 16,28.5 z M22.539,4.083 L9.461,4.083 L9.461,27.345 L22.539,27.345 L22.539,4.083 z M17.287,2.563 L14.938,2.563 C14.876,2.563 14.825,2.623 14.825,2.697 L14.825,2.999 C14.825,3.073 14.875,3.133 14.938,3.133 L17.287,3.133 C17.351,3.133 17.402,3.073 17.402,2.999 L17.402,2.697 C17.402,2.623 17.351,2.563 17.287,2.563 z M16.117,1.042 C15.923,1.042 15.766,1.199 15.766,1.393 C15.766,1.586 15.923,1.743 16.117,1.743 C16.31,1.743 16.467,1.586 16.467,1.393 C16.467,1.199 16.31,1.042 16.117,1.042 z",close:"M0,0l12,12 M0,12l12-12",closeSmall:"M3,3l8,8 M3,11l8-8",plus:"M 6.5591462,0.00335385 6.5033537,13.059146",minus:"M 0.0033543,6.5033535 13.059146,6.5591465",operand:"m 0.07131516,7.5193495 14.99702684,0",fullscreen:"M0,2h2.77v0.898H0.923v1.801H0V2z M0,8.3h0.923v1.8H2.77V11H0V8.3z M1.846,3.8h8.308v5.4H1.846V3.8z M2.77,4.699V8.3h6.46 V4.699H2.77z M9.23,2H12v2.699h-0.923V2.898H9.23V2z M9.23,10.1h1.847V8.3H12V11H9.23V10.1z",resize:"M5.795,11l5.121-5.125 M9.293,11l1.623-1.623 M2.314,10.979l8.608-8.607",arrow1Left:"M7.5,20l18.338,18.336l6.662-6.664L20.829,20L32.5,8.327l-6.662-6.663L7.5,20z",arrow1Right:"M7.5,8.329L19.172,20L7.5,31.674l6.664,6.662L32.5,20L14.164,1.665L7.5,8.329z",arrow2Left:"M9.5,20l16.792,16.151l4.208-4.046L17.913,20L30.5,7.896l-4.208-4.047L9.5,20z",arrow2Right:"M9.5,7.894L22.084,20L9.5,32.104l4.208,4.047L30.5,20L13.708,3.849L9.5,7.894z",arrow3Left:"M66.5,15 L33.5,50 L66.5,85",arrow3Right:"M33,85 L67,50 L33,15",arrow3Down:"M15,33 L50,67 L85,33",plus1Left:"M0,15v10h40V15H0z",plus1Right:"M0,15v9.999h15V40h9.998V24.999H40V15H24.998V0H15v15H0z",plus2Left:"M5,17v6h30v-6H5z",plus2Right:"M5,17.001v5.998h12V35h6V22.999H35v-5.998H23.001V5h-6v12.001H5z",cursorThumbs:"M8,12h11v7H8V12z M8,20h11v7H8V20z M20,12h11v7H20V12z M20,20h11v7H20V20z",updates:"M7,3.563v4.649 M7,1.541C3.986,1.541,1.541,3.986,1.541,7c0,3.017,2.445,5.459,5.459,5.459c3.017,0,5.459-2.442,5.459-5.459C12.459,3.986,10.014,1.541,7,1.541z M6.333,9.022L7,9.832l0.665-0.81H6.333z",menuIconMobile:"M0,0 L20,0 L20,20 L0,20 L0,20 L20,20 L20,15 L0,15 L0,12 L20,12 L20,9 L0,9 L0,6 L20,6 L20,3 L0,3 L0,0 z",bigX:"M38.5,38.5L20.5,20.5L38.5,2.5L20.5,20.5L38.5,38.5ZM2.5,2.5L20.5,20.5L2.5,38.5L20.5,20.5L2.5,2.5Z",liveBtn:"M7,11.5 C4.515,11.5 2.5,9.485 2.5,7 C2.5,4.515 4.515,2.5 7,2.5 C9.485,2.5 11.5,4.515 11.5,7 C11.5,9.485 9.485,11.5 7,11.5 z",search:"M9.216,0.017 C11.426,0.129 13.407,1.063 15,2.577 L15,2.577 C17.352,4.953 18.186,8.521 17.078,11.685 C16.691,12.792 16.082,13.715 15.347,14.616 L16.512,14.302 L17.787,15.578 L17.785,15.587 L24.981,22.783 L22.771,24.993 L15.572,17.794 L15.571,17.794 L14.295,16.518 L14.61,15.349 C14.029,15.823 13.915,15.952 13.253,16.343 C10.537,17.95 7.052,17.95 4.336,16.343 C3.693,15.962 3.128,15.5 2.589,14.988 C-0.838,11.56 -0.838,6.004 2.589,2.577 C4.537,0.698 6.547,0.017 9.216,0.017 z M8.762,2.634 C7.117,2.657 5.65,3.34 4.446,4.433 C2.044,6.835 2.044,10.729 4.446,13.131 C6.847,15.533 10.742,15.533 13.143,13.131 C15.545,10.729 15.545,6.835 13.143,4.433 C12.001,3.289 10.672,2.791 9.089,2.639 L8.762,2.634 z",cloud:"M8.279,2.576 L9.048,2.632 C10.89,2.933 12.369,3.804 13.452,5.307 C13.976,5.2 13.716,5.232 14.233,5.206 C16.032,5.236 17.521,6.473 17.878,8.229 C19.765,8.595 20.911,10.333 21.003,12.16 C20.965,14.315 19.296,16.099 17.129,16.208 L15.216,16.217 L16.412,14.939 L17.011,14.931 L14.093,14.931 L10.825,18.424 L7.557,14.931 L5.001,14.931 L5.001,14.927 L7.553,14.927 L7.551,14.925 L9.688,14.925 L9.688,10.046 L11.962,10.046 L11.962,14.925 L14.099,14.925 L14.096,14.927 L17.013,14.927 L17.013,14.931 C18.528,14.846 19.699,13.681 19.725,12.16 C19.725,10.625 18.48,9.38 16.945,9.38 L16.85,9.385 C16.907,9.219 16.861,9.362 16.893,8.938 C16.893,7.48 15.711,6.298 14.253,6.298 C13.727,6.325 13.202,6.435 12.776,6.765 C12.033,5.001 10.151,3.977 8.299,3.932 C5.544,3.932 3.31,6.173 3.31,8.938 L3.324,9.229 C2.09,9.75 1.31,10.619 1.278,12.017 C1.278,13.631 2.593,14.939 4.207,14.939 L5.237,14.939 L6.433,16.217 L3.915,16.203 C1.655,16.105 0.108,14.161 0,12.017 C0.009,10.539 0.757,9.297 1.96,8.484 C2.144,5.037 4.983,2.743 8.279,2.576 z",attachment:"M9.931,1.636 C9.583,1.288 9.177,1.017 8.724,0.833 C8.286,0.655 7.824,0.564 7.349,0.564 C6.876,0.564 6.412,0.653 5.975,0.829 C5.522,1.012 5.116,1.279 4.767,1.626 L0.846,5.538 C0.571,5.811 0.358,6.13 0.212,6.487 C0.072,6.83 -0,7.194 -0,7.568 C-0,7.94 0.071,8.302 0.21,8.646 C0.353,9.001 0.565,9.32 0.838,9.594 C1.112,9.869 1.431,10.081 1.787,10.225 C2.131,10.365 2.494,10.436 2.867,10.436 C3.24,10.436 3.603,10.365 3.947,10.227 C4.304,10.082 4.623,9.87 4.898,9.597 L8.014,6.493 C8.214,6.294 8.368,6.062 8.473,5.802 C8.575,5.552 8.626,5.287 8.626,5.016 C8.626,4.458 8.409,3.937 8.014,3.545 C7.62,3.149 7.097,2.931 6.54,2.928 C5.982,2.927 5.457,3.144 5.062,3.539 L3.122,5.48 C3.023,5.579 2.97,5.708 2.97,5.846 C2.97,5.984 3.023,6.115 3.122,6.212 L3.13,6.22 C3.331,6.423 3.66,6.423 3.863,6.221 L5.808,4.282 C6.214,3.879 6.874,3.877 7.281,4.277 C7.477,4.472 7.583,4.732 7.583,5.011 C7.583,5.293 7.474,5.557 7.276,5.754 L4.161,8.857 C4.156,8.863 4.151,8.867 4.148,8.874 C3.804,9.209 3.35,9.392 2.868,9.389 C2.383,9.387 1.928,9.198 1.587,8.857 C1.417,8.683 1.285,8.48 1.194,8.255 C1.106,8.036 1.062,7.804 1.062,7.568 C1.062,7.084 1.248,6.631 1.587,6.291 C1.592,6.287 1.596,6.284 1.6,6.28 L5.513,2.369 C5.516,2.366 5.52,2.361 5.523,2.356 C5.771,2.113 6.059,1.923 6.38,1.795 C6.693,1.67 7.021,1.607 7.36,1.607 C7.698,1.607 8.028,1.672 8.339,1.797 C8.662,1.928 8.952,2.119 9.199,2.366 C9.447,2.613 9.638,2.903 9.769,3.226 C9.895,3.537 9.959,3.867 9.959,4.205 C9.959,4.545 9.895,4.876 9.768,5.19 C9.637,5.514 9.444,5.806 9.195,6.056 L6.491,8.751 C6.393,8.85 6.338,8.979 6.338,9.118 C6.338,9.257 6.393,9.387 6.49,9.484 L6.496,9.49 C6.697,9.692 7.026,9.692 7.228,9.49 L9.929,6.796 C10.277,6.447 10.548,6.041 10.733,5.588 C10.911,5.15 11,4.688 11,4.214 C11,3.74 10.91,3.278 10.733,2.841 C10.55,2.389 10.28,1.983 9.931,1.636 z",gear:"M10.329,6.099 L9.534,5.923 C9.522,5.462 9.423,5.017 9.239,4.597 L9.857,4.097 C9.956,4.016 9.971,3.871 9.891,3.772 L9.048,2.731 C9.009,2.683 8.954,2.653 8.893,2.646 C8.832,2.64 8.771,2.658 8.723,2.696 L8.121,3.185 C7.753,2.908 7.342,2.709 6.9,2.593 L6.9,1.827 C6.9,1.699 6.796,1.596 6.669,1.596 L5.329,1.596 C5.201,1.596 5.098,1.699 5.098,1.827 L5.098,2.594 C4.646,2.713 4.228,2.918 3.853,3.205 L3.245,2.72 C3.197,2.682 3.136,2.665 3.075,2.672 C3.015,2.679 2.959,2.71 2.921,2.757 L2.086,3.806 C2.048,3.854 2.031,3.915 2.038,3.976 C2.045,4.037 2.075,4.092 2.123,4.13 L2.747,4.627 C2.568,5.047 2.473,5.493 2.465,5.953 L1.669,6.137 C1.609,6.151 1.558,6.188 1.525,6.239 C1.493,6.291 1.482,6.354 1.496,6.413 L1.798,7.72 C1.827,7.844 1.95,7.921 2.075,7.893 L2.894,7.703 C3.108,8.095 3.389,8.438 3.731,8.724 L3.362,9.497 C3.336,9.552 3.333,9.616 3.353,9.673 C3.373,9.731 3.416,9.778 3.471,9.804 L4.681,10.381 C4.712,10.396 4.746,10.404 4.78,10.404 C4.806,10.404 4.832,10.399 4.857,10.391 C4.915,10.37 4.962,10.328 4.988,10.273 L5.361,9.49 C5.792,9.569 6.239,9.567 6.666,9.486 L7.046,10.264 C7.101,10.378 7.24,10.426 7.354,10.37 L8.559,9.782 C8.614,9.755 8.656,9.708 8.676,9.65 C8.696,9.592 8.692,9.529 8.665,9.474 L8.291,8.706 C8.631,8.416 8.909,8.07 9.119,7.676 L9.939,7.858 C10.064,7.885 10.187,7.807 10.214,7.683 L10.504,6.374 C10.532,6.25 10.453,6.127 10.329,6.099 z M7.516,6.013 C7.516,6.849 6.836,7.529 6,7.529 C5.164,7.529 4.484,6.849 4.484,6.013 C4.484,5.177 5.164,4.497 6,4.497 C6.836,4.497 7.516,5.177 7.516,6.013 z"},Svg=function(){var e={Sprite:Sprite}.Sprite,i=["backgroundPositionX","backgroundPositionY","backgroundRepeatX","backgroundRepeatY","baselineShift","borderBottomLeftRadius","borderBottomRightRadius","borderBottomWidth","borderImageWidth","borderLeftWidth","borderRadius","borderRightWidth","borderSpacing","borderTopLeftRadius","borderTopRightRadius","borderTopWidth","borderWidth","bottom","fontSize","height","left","letterSpacing","lineHeight","marginBottom","marginLeft","marginRight","marginTop","maxHeight","maxWidth","minHeight","minWidth","outlineOffset","outlineWidth","overflowX","overflowY","paddingBottom","paddingLeft","paddingRight","paddingTop","right","strokeWidth","textIndent","textLineThroughWidth","textOverlineWidth","textUnderlineWidth","top","width","wordSpacing"];function n(e){for(var t in this.vars={},e)this.vars[t]=e[t];var i=document.createElementNS("http://www.w3.org/2000/svg",this.vars.type||"svg");i.style.position="absolute",i.style.display="block",(i.proxy=this)._private={},this.element=i,this.children=[],this.style=i.style,this.name=this.vars.type||"svg",this.events=this.vars.events||globalEvents,this.listeners=this.events.listeners}for(var t=["dispatchEvent","addEventListener","removeEventListener","removeAllListeners","addChild","removeChild","removeChildren","childAdded","moveToTop","event","hitTestPoint","hitTestAbs","globalToLocal","localToGlobal","focus","blur"],o=["backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundRepeatX","backgroundRepeatY","backgroundSize","border","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxShadow","boxSizing","bufferedRendering","clear","color","content","cursor","direction","display","float","font","fontFamily","fontKerning","fontSize","fontStretch","fontStyle","fontVariant","fontWeight","height","imageRendering","left","letterSpacing","lineHeight","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBottom","marginLeft","marginRight","marginTop","mask","maskType","maxHeight","maxWidth","maxZoom","minHeight","minWidth","minZoom","opacity","order","orientation","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowWrap","overflowX","overflowY","padding","paddingBottom","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","paintOrder","pointerEvents","position","resize","right","size","src","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","tabSize","tableLayout","textAlign","textAnchor","textDecoration","textIndent","textLineThroughColor","textLineThroughMode","textLineThroughStyle","textLineThroughWidth","textOverflow","textOverlineColor","textOverlineMode","textOverlineStyle","textOverlineWidth","textRendering","textShadow","textTransform","textUnderlineColor","textUnderlineMode","textUnderlineStyle","textUnderlineWidth","top","transform","transformOrigin","transformStyle","transition","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","userZoom","verticalAlign","visibility","webkitBackfaceVisibility","webkitBoxShadow","webkitFilter","webkitFontSmoothing","webkitHighlight","webkitTransformStyle","webkitTransition","webkitTransitionDelay","webkitTransitionDuration","webkitTransitionProperty","webkitTransitionTimingFunction","webkitUserDrag","webkitUserModify","webkitUserSelect","whiteSpace","width","wordBreak","wordSpacing","wordWrap","zIndex","zoom"],a=["cx","cy","d","points","r","rx","ry","fill","stroke","width","height"],r=t.length;r--;)n.prototype[t[r]]=e.prototype[t[r]];return o.forEach(function(t){/fill|stroke|strokeWidth|width|height|x|y|transition/.test(t)||Object.defineProperty(n.prototype,t,{get:function(){return this._private[t]},set:function(e){this._private[t]=e,this.element.style[t]=-1=t.data.duration-1?n():(d.dispatchEvent(PAUSED),"function"==typeof d.onpause&&d.onpause(),d.paused=!0);break;case"play":d.dispatchEvent(PLAY),"function"==typeof d.onplay&&d.onplay(),d.paused=!1}}}function e(e){d&&keyCode[e.keyCode]===SPACE_BAR&&d.togglePlay()}return d.parent=a.parent,d.style.pointerEvents="auto",r="player"+VimeoPlayer.getNextPlayerID(),d.playerID=r,d.element.id=r,d.element.setAttribute("frameborder","0"),d.element.setAttribute("webkitAllowFullScreen",""),d.element.setAttribute("mozallowfullscreen",""),d.element.setAttribute("allowFullScreen",""),d.element.style["user-select"]="none",d.setSource=function(e,t){d.element.ownerDocument.defaultView.addEventListener("message",u()),s=!!t,d.element.setAttribute("allow","autoplay");try{l="https://player.vimeo.com/video/"+e.split("vimeo:")[1];var i=t?"&autoplay=1":"",n=(STATE.overrides.videoLoop?d.src=l+"?api=1&autopause=0&loop=1&wmode=opaque"+i+"&player_id="+r:d.src=l+"?api=1&autopause=0&wmode=opaque"+i+"&player_id="+r,d.width||a.width||640),o=d.height||a.height||480;d.element.setAttribute("width",n),d.element.setAttribute("height",o),d.width=n,d.height=o,t&&(stage.userInteraction?(d.unmuteBtn&&(d.unmuteBtn.display="none",d.unmuteBtn.removeEventListener("click",d.unmuteClick)),d.element.setAttribute("allow","autoplay"),d.element.contentWindow.postMessage(JSON.stringify({method:"setMuted",value:!1}),h)):d.unmuteBtn?(d.unmuteBtn.display="block",d.unmuteBtn.addEventListener("click",d.unmuteClick)):d.unmuteBtn||c(d)),d.element.setAttribute("frameborder",0),d.element.setAttribute("webkitallowfullscreen",!0),d.element.setAttribute("mozallowfullscreen",!0),d.element.setAttribute("allowfullscreen",!0)}catch(e){console.log("there may have been a vimeo api error: ",e)}},d.togglePlay=function(){d.paused?d.play():d.pause()},d.setLoop=function(e){d&&d.loaded&&d.element.contentWindow&&d.element.contentWindow.postMessage(JSON.stringify({method:"loop",value:e}),h)},d.play=function(){d.ended=!1,stage.userInteraction?(d.unmuteBtn&&(d.unmuteBtn.display="none",d.unmuteBtn.removeEventListener("click",d.unmuteClick)),d.element.contentWindow.postMessage(JSON.stringify({method:"setMuted",value:!1}),h)):d.unmuteBtn?(d.unmuteBtn.display="block",d.unmuteBtn.addEventListener("click",d.unmuteClick)):d.unmuteBtn||c(d),d&&d.element.contentWindow&&(d.loaded?(d.element.contentWindow.postMessage(JSON.stringify({method:"play",value:""}),h),stage.addEventListener(KEY_DOWN,e),d.paused=!1,d.dispatchEvent(PLAY)):d.element.addEventListener("load",function(){d.loaded=!0,d.element.contentWindow.postMessage(JSON.stringify({method:"play",value:""}),h),stage.addEventListener(KEY_DOWN,e),d.paused=!1,d.dispatchEvent(PLAY)}))},d.pause=function(){d&&d.loaded&&d.element.contentWindow&&(d.element.contentWindow.postMessage(JSON.stringify({method:"pause",value:""}),h),d.paused=!0)},d.setSize=function(e,t){d&&(d.transition=0,d.width=e,d.height=t)},d.align=function(e,t){d&&(d.transition=0,d.style.left=e+"px",d.style.top=t+"px")},d.destroy=function(){d.element.ownerDocument.defaultView.removeEventListener("message",u),d.removeKeyListener(),d=null},d.removeKeyListener=function(){stage.removeEventListener(KEY_DOWN,e)},d}function SiteController(a){var r,l,e,s,i,n,d=new ControllerProxy({events:new EventSandbox}),h=!0,o=!1,c={},u=!1;function T(){dx.admin.events.addEventListener(ACCOUNT_MODEL_CHANGE,Q),dx.admin.events.addEventListener(FONTS_MODEL_CHANGE,$),dx.admin.events.addEventListener(FILES_MODEL_CHANGE,ee),dx.admin.events.addEventListener(LAYOUT_MODEL_CHANGE,te),dx.admin.events.addEventListener(MEDIA_MODEL_CHANGE,ie),dx.admin.events.addEventListener(NAVBAR_MODEL_CHANGE,ne),dx.admin.events.addEventListener(PDF_MODEL_CHANGE,oe),dx.admin.events.addEventListener(SETTINGS_MODEL_CHANGE,ae),dx.admin.events.addEventListener(SECTIONS_MODEL_CHANGE,re),dx.admin.events.addEventListener(ADMIN_MOUSE_DOWN,t),dx.admin.events.addEventListener(ADMIN_MOUSE_UP,m),d.events.addEventListener("adminPageviewImageSizes",function(e){dx.admin.events.dispatchEvent("adminPageviewImageSizes",e)})}function E(){d.events.dispatchEvent(SITE_SERVICE_GET_FILE,{name:"js"})}function t(){d.events.dispatchEvent(ADMIN_MOUSE_DOWN)}function m(){d.events.dispatchEvent(ADMIN_MOUSE_UP)}function p(){stage.zoom}function g(){return(isPod()||isPad())&&u&&window.innerHeight===document.documentElement.clientHeight}function v(e){var t,i;/responsive/.test(LAYOUT_MODEL.menuAlignHorizontal)?(t=1,isPod()&&(t=window.devicePixelRatio||1),t=(LAYOUT_MODEL.screenWidthBreakpoint||800)*t,i=layoutCalcs.isMenuResponsiveOverlay,layoutCalcs.isMenuResponsiveOverlay=USER_AGENT!==MOBILE&&stage.widthPlease try again later.
If problem persists, contact support."):isSupportedBrowserForAdmin(BROWSER_NAME,BROWSER_VERSION)?d.login=new Login(a):alert("Admin not supported for this browser ["+BROWSER_NAME+" "+BROWSER_VERSION+"]. Please use latest version of Chrome, Firefox, Safari or MS Edge.")),d.events.dispatchEvent(LAYOUT_MODEL_CHANGE,{id:"layoutModelInit"}),d.events.addEventListener(NAVBAR_OVERLAY_BTN_CLICK,S),d.events.addEventListener(NAVBAR_NAV_CLICK,A),d.events.addEventListener(NAVBAR_FULLSCREEN,O),d.events.addEventListener(MENU_CLICK,R),d.events.addEventListener(FOOTER_CLICK,P),d.events.addEventListener(LOGO_CLICK,k),d.events.addEventListener(THUMB_CLICK,N),d.events.addEventListener(ADDRESS_URI_CHANGE,B),d.events.addEventListener("ADDRESS_URI_CHANGE_PASSIVE",H),d.events.addEventListener(ADMIN_LOADED,T),d.events.addEventListener(CONTACT_FORM_SUBMIT,le),d.events.addEventListener(SHARE_FORM_SUBMIT,se),d.events.addEventListener(INQUIRY_FORM_SUBMIT,de),d.events.addEventListener(POP_UP,L),d.events.addEventListener("OVER_LOGO",he),d.events.addEventListener("privateGalleryAuthCheck",q),d.events.addEventListener("passwordViewUpdate",J),d.events.addEventListener("updateAssetId",F),d.events.addEventListener("UPDATE_CONTENT_HEIGHT",function(){clearTimeout(n),n=setTimeout(function(){d.siteView.updatePosition()},50)}),d.events.addEventListener(PAGE_LOADED,E),d.events.addEventListener("siteAnchorCaptionUpdate",w),d.events.addEventListener("SEARCH_SUBMIT",G),d.events.addEventListener("lightboxDownloadOverlayOpen",W),d.events.addEventListener("lightboxUpdateItem",X),d.events.addEventListener("lightboxDownloadPdf",K),d.events.addEventListener("lightboxDownloadZip",j),d.events.addEventListener("attachmentDownload",Z),d.events.addEventListener("MENU_DOCK_TOGGLE",b),stage.addEventListener(RESIZE_END,v),stage.addEventListener(GESTURE_END,p),stage.addEventListener(ORIENTATION_CHANGE,f),stage.addEventListener(KEY_DOWN,z),(isPod()||isPad())&&window.addEventListener("scroll",function(){clearTimeout(i),o=!0,i=setTimeout(function(){i=null,o=!1,g()&&(d.events.dispatchEvent(RESIZE_END),u=!1)},200)}),1layoutCalcs.menuView.height()?0:.5*(layoutCalcs.menuView.height()-e)+i;case"bottom":return layoutCalcs.menuView.height()-e-i}return 0}},menuView:{x:function(){return USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.menuView.placement()?0:/top|bottom/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.width):"right"===STATE.menuView.placement()?percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width)-(getMarginOverlap()||0):percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.height)-(getMarginOverlap()||0)},y:function(){return USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.menuView.placement()?0:/left|right/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.height):"bottom"===STATE.menuView.placement()?percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.width)-(getMarginOverlap()||0):percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.width)-(getMarginOverlap()||0)},width:function(){var e;return USER_AGENT===MOBILE||"overlay"===STATE.menuView.placement()?stage.width:(e=!layoutCalcs._menuTextWidth||layoutCalcs._menuTextWidth<150?150:layoutCalcs._menuTextWidth,USER_AGENT===TABLET&&percentToPixels(LAYOUT_MODEL.menuWidthMobile,stage.width)?percentToPixels(LAYOUT_MODEL.menuWidthMobile,stage.width)?percentToPixels(LAYOUT_MODEL.menuWidthMobile,stage.width):e:USER_AGENT===TABLET&&/top|bottom/.test(STATE.menuView.placement())?firstValid(LAYOUT_MODEL.menuWidthMobile,e):/left|right/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.menuWidth,stage.width):stage.width-(percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width))-percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.width))},height:function(){return USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.menuView.placement()?stage.height:/top|bottom/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.menuWidth,stage.height):stage.height-(percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height))-percentToPixels(LAYOUT_MODEL.menuOffsetY,stage.height)}},mediaView:{x:function(){var e;return USER_AGENT===MOBILE||USER_AGENT===TABLET||isInMediaOverlay()?0:(e=/left/.test(STATE.menuView.placement())&&-getMarginOverlap()||0,"left"===STATE.menuView.placement()?percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.menuWidth,stage.width)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.width)+e:percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+e)},y:function(e){var t;return USER_AGENT===MOBILE||USER_AGENT===TABLET||isInMediaOverlay()?0:(t=/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal&&-getMarginOverlap()||0,"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?!LAYOUT_MODEL.isMenuScrollReveal&&STATE.menuView.menuPositionFixed()&&/top/.test(STATE.menuView.placement())?percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height)+t:0:/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height)+t:percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+t)},width:function(e){var t,e=e||0;return USER_AGENT===MOBILE||USER_AGENT===TABLET||isInMediaOverlay()?stage.width:/left|right/.test(STATE.menuView.placement())?(t=getMarginOverlap()||0,stage.width-(percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width)+percentToPixels(LAYOUT_MODEL.menuWidth,stage.width)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.width)+e)+t):stage.width-(percentToPixels(LAYOUT_MODEL.sitePaddingLeft,stage.width)+percentToPixels(LAYOUT_MODEL.sitePaddingRight,stage.width))},height:function(e,t){var i=layoutCalcs.getSectionState(e),n="unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior||(STATE.siteView.unifiedPageScroll()||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior))&&/overlay/.test(STATE.overrides.siteDisplayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&/thumbs/.test(i.mode)?t?STATE.getSectionZoneHeight(e):STATE.getSectionHeight(e):stage.height,i=!!i&&i.isFullTextHeight,o=/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal&&getMarginOverlap()||0,a=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),r=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)+percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height);return t||/unifiedSiteScrollVertical/.test(STATE.overrides.siteDisplayBehavior)||!STATE.siteView.unifiedPageScroll()||(n=/vScroll/.test(STATE.overrides.transitionType)?/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?STATE.getSectionHeight(e)+(a+r)>stage.height?STATE.getSectionHeight(e):stage.height:STATE.getSectionHeight(e)>stage.height?STATE.getSectionHeight(e):stage.height:stage.height),USER_AGENT===TABLET&&"bottom"===LAYOUT_MODEL.navbarAlignVertical&&layoutCalcs.isDisplace()&&"bottom"===STATE.overrides.thumbnailSide?n-30:USER_AGENT===MOBILE||USER_AGENT===TABLET||"overlay"===STATE.overrides.siteDisplayBehavior?n:("unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?!LAYOUT_MODEL.isMenuScrollReveal&&STATE.menuView.menuPositionFixed()&&/top|bottom/.test(STATE.menuView.placement())&&n>=stage.height-a&&!i&&!t?n-a:n:STATE.siteView.unifiedPageScroll()&&/vScroll/.test(STATE.overrides.transitionType)?n===stage.height&&/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?n-(a+r):n:/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?n-(a+r):n-r)+o},size:{x:function(){return/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?0:layoutCalcs.mediaView.x()},y:function(e){return/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?0:layoutCalcs.mediaView.y(e)},width:function(){return layoutCalcs.mediaView.width()},height:function(e){return layoutCalcs.mediaView.height(e)}}},landingMediaView:{x:function(){return 0},y:function(){return 0},width:function(){return stage.width},height:function(){return stage.height}},mediaMask:{x:function(){return"contact"===layoutCalcs._mediaMarginPrefix?0:percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginLeft"],stage.width)},y:function(e){return"contact"===layoutCalcs._mediaMarginPrefix?0:percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginTop"],stage.height)},width:function(e){return"contact"===layoutCalcs._mediaMarginPrefix?layoutCalcs.mediaView.width():(e||layoutCalcs.mediaView.width())-(percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginLeft"],stage.width)+percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginRight"],stage.width))},height:function(e,t){return"contact"===layoutCalcs._mediaMarginPrefix?layoutCalcs.mediaView.height(t):(e||layoutCalcs.mediaView.height(t))-(percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginTop"],stage.height)+percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginBottom"],stage.height))}},captionView:{size:function(e,t){layoutCalcs.captionView.currentText=e||layoutCalcs.captionView.currentText;var e=document.createElement("span"),i=getFontData(LAYOUT_MODEL.captionFont),n=(e.innerHTML=layoutCalcs.captionView.currentText,"padding:"+(t||0)+"px"),i=(e.setAttribute("style","position:absolute; display:block; white-space:nowrap; opacity:1; font-family:"+i.family+"; font-weight:"+i.weight+"; font-size:"+LAYOUT_MODEL.captionFontSize+"px;"+n),document.body.appendChild(e),percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginLeft"],stage.height)),n=percentToPixels(STATE.overrides[layoutCalcs._mediaMarginPrefix+"MarginRight"],stage.height),i=STATE.mediaView.width()-(i+n)-2*t;e.offsetWidth>i?(layoutCalcs.captionView.width=i+2*t,e.style.width=i+2*t+"px",e.style.whiteSpace="normal"):layoutCalcs.captionView.width=e.offsetWidth,layoutCalcs.captionView.height=e.offsetHeight,document.body.removeChild(e)}},isDisplace:function(){return!(USER_AGENT===MOBILE||!layoutCalcs._section||!layoutCalcs._thumbsVisible)&&layoutCalcs._section.thumb&&"strip"===STATE.overrides.thumbnailType&&"displace"===STATE.overrides.thumbnailDock}};function touchDeviceTransition(){return isPod()&&LAYOUT_MODEL.transitionTypeMobile?LAYOUT_MODEL.transitionTypeMobile:isPad()&&LAYOUT_MODEL.transitionTypeTablet?LAYOUT_MODEL.transitionTypeTablet:void 0}function updateCustomThumbSize(e,t){return{custom:{width:e||300,height:t||200},small:{width:100,height:66},medium:{width:200,height:133},large:{width:300,height:200},xLarge:{width:400,height:266},xxLarge:{width:500,height:333},small_sq:{width:100,height:100},medium_sq:{width:200,height:200},large_sq:{width:300,height:300},xLarge_sq:{width:400,height:400},xxLarge_sq:{width:500,height:500},small_v:{width:66,height:100},medium_v:{width:133,height:200},large_v:{width:200,height:300},xLarge_v:{width:266,height:400},xxLarge_v:{width:333,height:500}}}var STATE={get lightboxHash(){return localStorage.getItem("lightboxHash")},cacheLightboxSection:function(){var e=Object.keys(SECTIONS_MODEL).map(function(e){return SECTIONS_MODEL[e]}).filter(function(e){return e.isLightbox})[0];(STATE.lightboxSection=e)||localStorage.removeItem("lightboxHash")},lightboxButtonsEnabled:function(){return STATE.lightboxSection&&(STATE.lightboxSection.isUserEnableLightbox&&(STATE.userEnabledLightbox||STATE.lightboxSection.media.length)||!STATE.lightboxSection.isUserEnableLightbox)},setSectionHeight:function(e,t){layoutCalcs.updateSectionState(e,{height:t})},getSectionHeight:function(e){var t=layoutCalcs.getSectionState(e);return(e&&t&&("unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior||STATE.siteView.unifiedPageScroll())?t:stage).height},getSectionZoneHeight:function(e){var t=layoutCalcs.getSectionState(e);return e&&t&&"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?t.zoneHeight:stage.height},overrides:{logoZIndex:LAYOUT_MODEL.logoZIndex,containerColor:LAYOUT_MODEL.containerColor,transitionType:touchDeviceTransition()||LAYOUT_MODEL.transitionType,transitionDuration:LAYOUT_MODEL.transitionDuration,imageAlignHorizontal:LAYOUT_MODEL.imageAlignHorizontal,imageAlignVertical:LAYOUT_MODEL.imageAlignVertical,imageScaleType:LAYOUT_MODEL.imageScaleType,videoScaleType:LAYOUT_MODEL.videoScaleType,videoAutoPlay:LAYOUT_MODEL.videoAutoPlay,mobileAutoPlay:LAYOUT_MODEL.mobileAutoPlay,vimeoDefault:LAYOUT_MODEL.vimeoDefault,videoLoop:LAYOUT_MODEL.videoLoop,imageVideoMarginTop:LAYOUT_MODEL.imageVideoMarginTop,imageVideoMarginRight:LAYOUT_MODEL.imageVideoMarginRight,imageVideoMarginBottom:LAYOUT_MODEL.imageVideoMarginBottom,imageVideoMarginLeft:LAYOUT_MODEL.imageVideoMarginLeft,imageVideoInactiveAlpha:LAYOUT_MODEL.imageVideoInactiveAlpha,imageVideoLoaderType:LAYOUT_MODEL.imageVideoLoaderType,imageVideoScrollType:LAYOUT_MODEL.imageVideoScrollType,imageVideoScrollbarRounded:LAYOUT_MODEL.imageVideoScrollbarRounded,imageVideoScrollbarVisibility:LAYOUT_MODEL.imageVideoScrollbarVisibility,imageVideoScrollbarAlignment:LAYOUT_MODEL.imageVideoScrollbarAlignment,imageVideoScrollbarHorizontalOffset:LAYOUT_MODEL.imageVideoScrollbarHorizontalOffset,imageVideoScrollbarVerticalOffset:LAYOUT_MODEL.imageVideoScrollbarVerticalOffset,imageVideoScrollbarColor:LAYOUT_MODEL.imageVideoScrollbarColor,imageVideoScrollbarHover:LAYOUT_MODEL.imageVideoScrollbarHover,imageVideoScrollbarBgTransparency:LAYOUT_MODEL.imageVideoScrollbarBgTransparency,imageVideoScrollbarWidth:LAYOUT_MODEL.imageVideoScrollbarWidth,menuDisplaceMobile:""===LAYOUT_MODEL.menuDisplaceMobile||void 0===LAYOUT_MODEL.menuDisplaceMobile||LAYOUT_MODEL.menuDisplaceMobile,menuDisplaceTablet:""===LAYOUT_MODEL.menuDisplaceTablet||void 0===LAYOUT_MODEL.menuDisplaceTablet||LAYOUT_MODEL.menuDisplaceTablet,pageMarginTop:LAYOUT_MODEL.pageMarginTop,pageMarginRight:LAYOUT_MODEL.pageMarginRight,pageMarginBottom:LAYOUT_MODEL.pageMarginBottom,pageMarginLeft:LAYOUT_MODEL.pageMarginLeft,pageMaxWidth:LAYOUT_MODEL.pageMaxWidth,pageMaxAlign:LAYOUT_MODEL.pageMaxAlign,pageScrollVerticalMargin:LAYOUT_MODEL.pageScrollVerticalMargin,pageTextFont:LAYOUT_MODEL.pageTextFont,pageTextKerning:LAYOUT_MODEL.pageTextKerning,pageTextFontSize:LAYOUT_MODEL.pageTextFontSize,pageTextFontColor:LAYOUT_MODEL.pageTextFontColor,pageTitle:LAYOUT_MODEL.pageTitle,pageTitleFont:LAYOUT_MODEL.pageTitleFont,pageTitleKerning:LAYOUT_MODEL.pageTitleKerning,pageTitleFontSize:LAYOUT_MODEL.pageTitleFontSize,pageTitleFontColor:LAYOUT_MODEL.pageTitleFontColor,pageScrollType:LAYOUT_MODEL.pageScrollType,pageScrollbarVisibility:LAYOUT_MODEL.pageScrollbarVisibility,pageScrollbarRounded:LAYOUT_MODEL.pageScrollbarRounded,pageScrollbarAlignment:LAYOUT_MODEL.pageScrollbarAlignment,pageScrollbarHorizontalOffset:LAYOUT_MODEL.pageScrollbarHorizontalOffset,pageScrollbarVerticalOffset:LAYOUT_MODEL.pageScrollbarVerticalOffset,pageScrollbarColor:LAYOUT_MODEL.pageScrollbarColor,pageScrollbarHover:LAYOUT_MODEL.pageScrollbarHover,pageScrollbarBgAlpha:LAYOUT_MODEL.pageScrollbarBgAlpha,pageScrollbarWidth:LAYOUT_MODEL.pageScrollbarWidth,thumbnailOnly:LAYOUT_MODEL.thumbnailOnly,thumbnailFullRes:LAYOUT_MODEL.thumbnailFullRes,thumbnailDefaultOn:LAYOUT_MODEL.thumbnailDefaultOn,thumbnailPositionFixed:LAYOUT_MODEL.thumbnailPositionFixed,thumbnailMasonry:LAYOUT_MODEL.thumbnailMasonry,thumbnailMasonryFill:LAYOUT_MODEL.thumbnailMasonryFill,thumbnailMasonryMaintainOrder:LAYOUT_MODEL.thumbnailMasonryMaintainOrder,thumbnailMaxCols:LAYOUT_MODEL.thumbnailMaxCols,thumbnailMinCols:LAYOUT_MODEL.thumbnailMinCols,thumbnailMaxColsMobile:LAYOUT_MODEL.thumbnailMaxColsMobile,thumbnailMinColsMobile:LAYOUT_MODEL.thumbnailMinColsMobile,thumbnailGap:Number(LAYOUT_MODEL.thumbnailGap),thumbnailGapVertical:Number(LAYOUT_MODEL.thumbnailGapVertical),thumbnailDock:LAYOUT_MODEL.thumbnailDock,thumbnailType:LAYOUT_MODEL.thumbnailType,thumbnailSize:LAYOUT_MODEL.thumbnailSize,thumbnailRandomize:LAYOUT_MODEL.thumbnailRandomize,thumbnailRandomInterval:LAYOUT_MODEL.thumbnailRandomInterval,thumbnailCustomWidth:LAYOUT_MODEL.thumbnailCustomWidth,thumbnailCustomHeight:LAYOUT_MODEL.thumbnailCustomHeight,thumbnailSide:LAYOUT_MODEL.thumbnailSide,thumbnailHorizontalMargin:LAYOUT_MODEL.thumbnailHorizontalMargin,thumbnailVerticalMargin:LAYOUT_MODEL.thumbnailVerticalMargin,thumbnailAlignHorizontal:LAYOUT_MODEL.thumbnailAlignHorizontal,thumbnailAlignVertical:LAYOUT_MODEL.thumbnailAlignVertical,thumbnailCornerRadius:LAYOUT_MODEL.thumbnailCornerRadius,thumbnailShadow:LAYOUT_MODEL.thumbnailShadow,thumbnailOverlayColor:LAYOUT_MODEL.overlayColor,thumbnailOverlayAlpha:LAYOUT_MODEL.overlayAlpha,thumbnailGridColor:LAYOUT_MODEL.thumbnailGridColor,thumbnailGridTransparency:LAYOUT_MODEL.thumbnailGridTransparency,thumbnailHoverAlpha:LAYOUT_MODEL.thumbnailHoverAlpha,thumbnailHoverAlphaMobile:LAYOUT_MODEL.thumbnailHoverAlphaMobile,thumbnailHoverAlphaTablet:LAYOUT_MODEL.thumbnailHoverAlphaTablet,thumbnailHoverColor:LAYOUT_MODEL.thumbnailHoverColor,thumbnailLoaderType:LAYOUT_MODEL.thumbnailLoaderType,thumbnailTitleFont:LAYOUT_MODEL.thumbnailTitleFont,thumbnailTitleFontSize:LAYOUT_MODEL.thumbnailTitleFontSize,thumbnailTitleFontColor:LAYOUT_MODEL.thumbnailTitleFontColor,thumbnailLabelVerticalOffset:LAYOUT_MODEL.thumbnailLabelVerticalOffset,thumbnailLabelColorMobile:LAYOUT_MODEL.thumbnailLabelColorMobile,thumbnailLabelColorTablet:LAYOUT_MODEL.thumbnailLabelColorTablet,thumbnailLabelPosition:LAYOUT_MODEL.thumbnailLabelPosition,thumbnailLabelJustification:LAYOUT_MODEL.thumbnailLabelJustification,thumbnailLabelPositionMobile:LAYOUT_MODEL.thumbnailLabelPositionMobile,thumbnailLabelPositionTablet:LAYOUT_MODEL.thumbnailLabelPositionTablet,thumbnailStdLabelPosition:LAYOUT_MODEL.thumbnailStdLabelPosition,thumbnailStdLabelPositionMobile:LAYOUT_MODEL.thumbnailStdLabelPositionMobile,thumbnailStdLabelPositionTablet:LAYOUT_MODEL.thumbnailStdLabelPositionTablet,thumbnailVideoPlayIcon:!1!==LAYOUT_MODEL.thumbnailVideoPlayIcon,thumbnailScrollbarAlignment:LAYOUT_MODEL.thumbnailScrollbarAlignment,thumbnailScrollbarColor:LAYOUT_MODEL.thumbnailScrollbarColor,thumbnailScrollbarHover:LAYOUT_MODEL.thumbnailScrollbarHover,thumbnailSelectedColor:LAYOUT_MODEL.thumbnailSelectedColor,thumbnailSelectedAlpha:LAYOUT_MODEL.thumbnailSelectedAlpha,thumbnailScrollbarHorizontalOffset:LAYOUT_MODEL.thumbnailScrollbarHorizontalOffset,thumbnailScrollbarVerticalOffset:LAYOUT_MODEL.thumbnailScrollbarVerticalOffset,thumbnailScrollType:LAYOUT_MODEL.thumbnailScrollType,thumbnailScrollbarBgAlpha:LAYOUT_MODEL.thumbnailScrollbarBgAlpha,thumbnailScrollbarWidth:LAYOUT_MODEL.thumbnailScrollbarWidth,thumbnailScrollbarVisibility:LAYOUT_MODEL.thumbnailScrollbarVisibility,thumbnailScrollbarRounded:LAYOUT_MODEL.thumbnailScrollbarRounded,captionAutoPosition:LAYOUT_MODEL.captionAutoPosition,captionDefault:LAYOUT_MODEL.captionDefault,captionUseTitle:LAYOUT_MODEL.captionUseTitle,captionCloseButton:LAYOUT_MODEL.captionCloseButton,captionBackgroundAlpha:LAYOUT_MODEL.captionBackgroundAlpha,captionBackgroundRectColor:LAYOUT_MODEL.captionBackgroundRectColor,captionFont:LAYOUT_MODEL.captionFont,captionFontColor:LAYOUT_MODEL.captionFontColor,captionFontSize:LAYOUT_MODEL.captionFontSize,captionFontSizeBreakpoint:LAYOUT_MODEL.captionFontSizeBreakpoint,captionWidth:LAYOUT_MODEL.captionWidth,captionHeight:LAYOUT_MODEL.captionHeight,captionAlignHorizontal:LAYOUT_MODEL.captionAlignHorizontal,captionAlignVertical:LAYOUT_MODEL.captionAlignVertical,captionOffsetX:LAYOUT_MODEL.captionOffsetX,captionOffsetY:LAYOUT_MODEL.captionOffsetY,captionTextAlign:LAYOUT_MODEL.captionTextAlign,captionTextAlignVertical:LAYOUT_MODEL.captionTextAlignVertical,captionPaddingTop:LAYOUT_MODEL.captionPaddingTop,captionPaddingRight:LAYOUT_MODEL.captionPaddingRight,captionPaddingBottom:LAYOUT_MODEL.captionPaddingBottom,captionPaddingLeft:LAYOUT_MODEL.captionPaddingLeft,captionScrollType:LAYOUT_MODEL.captionScrollType,captionScrollbarWidth:LAYOUT_MODEL.captionScrollbarWidth,captionScrollbarAlignment:LAYOUT_MODEL.captionScrollbarAlignment,captionScrollbarColor:LAYOUT_MODEL.captionScrollbarColor,captionScrollbarHover:LAYOUT_MODEL.captionScrollbarHover,captionScrollbarHorizontalOffset:LAYOUT_MODEL.captionScrollbarHorizontalOffset,captionScrollbarVerticalOffset:LAYOUT_MODEL.captionScrollbarVerticalOffset,captionScrollbarBgAlpha:LAYOUT_MODEL.captionScrollbarBgAlpha,captionAnchorTo:LAYOUT_MODEL.captionAnchorTo,slideshowRandomize:LAYOUT_MODEL.landingMediaRandomize,slideshowTransitionType:LAYOUT_MODEL.landingMediaTransitionType,slideshowSpeed:LAYOUT_MODEL.landingMediaSpeed,slideshowTransitionDuration:LAYOUT_MODEL.landingMediaTransitionDuration,slideshowAlignHorizontal:LAYOUT_MODEL.landingMediaAlignHorizontal,slideshowAlignVertical:LAYOUT_MODEL.landingMediaAlignVertical,slideshowScaleType:LAYOUT_MODEL.landingMediaScaleType,slideshowScrollDownIcon:LAYOUT_MODEL.slideshowScrollDownIcon,siteDisplayBehavior:LAYOUT_MODEL.siteDisplayBehavior,siteDisplayGalleryOnlyOverlay:LAYOUT_MODEL.siteDisplayGalleryOnlyOverlay},section:function(t){if(!t)return!1;var i=t.overrides||{},n=t.thumb||{};layoutCalcs.isLandingMedia=isSlideshowGallery(t),layoutCalcs._section=t,STATE.overrides={get containerColor(){return firstValid(i.containerColor,LAYOUT_MODEL.containerColor)},get transitionType(){var e;return layoutCalcs.isLandingMedia?firstValid(i.transitionType,LAYOUT_MODEL.landingMediaTransitionType):(e=firstValid(touchDeviceTransition(),i.transitionType,LAYOUT_MODEL.transitionType),isPod()&&!/vScroll/.test(e)&&(e="mSlide"),isPad()&&!/vScroll|hScroll/.test(e)&&(e="mSlide"),TOUCH_DEVICE&&"hSlide"===e&&(e="mSlide"),isSingleTextPage(t)?"vScrollStatic":e)},get transitionDuration(){return firstValid(i.transitionDuration,LAYOUT_MODEL.transitionDuration)},get imageAlignHorizontal(){return firstValid(i.imageAlignHorizontal,LAYOUT_MODEL.imageAlignHorizontal)},get imageAlignVertical(){return firstValid(i.imageAlignVertical,LAYOUT_MODEL.imageAlignVertical)},get imageScaleType(){return firstValid(i.imageScaleType,LAYOUT_MODEL.imageScaleType)},get videoScaleType(){return firstValid(i.videoScaleType,LAYOUT_MODEL.videoScaleType)},get mobileAutoPlay(){return LAYOUT_MODEL.mobileAutoPlay},get videoAutoPlay(){return!!layoutCalcs.isLandingMedia||firstValid(i.videoAutoPlay,LAYOUT_MODEL.videoAutoPlay)},get vimeoDefault(){var e=""===LAYOUT_MODEL.vimeoDefault||void 0===LAYOUT_MODEL.vimeoDefault||LAYOUT_MODEL.vimeoDefault,t=LAYOUT_MODEL.vimeoDefaultMobile,i=LAYOUT_MODEL.vimeoDefaultTablet;return isPod()?firstValid(t,e):isPad()?firstValid(i,e):e},get videoLoop(){return firstValid(i.videoLoop,LAYOUT_MODEL.videoLoop)},get imageVideoMarginTop(){return USER_AGENT!==MOBILE||/vScroll/.test(STATE.overrides.transitionType)?firstValid(i.imageVideoMarginTop,LAYOUT_MODEL.imageVideoMarginTop):0},get imageVideoMarginRight(){return USER_AGENT===MOBILE?0:firstValid(i.imageVideoMarginRight,LAYOUT_MODEL.imageVideoMarginRight)},get imageVideoMarginBottom(){return USER_AGENT!==MOBILE||/vScroll/.test(STATE.overrides.transitionType)?firstValid(i.imageVideoMarginBottom,LAYOUT_MODEL.imageVideoMarginBottom):0},get imageVideoMarginLeft(){return USER_AGENT===MOBILE?0:firstValid(i.imageVideoMarginLeft,LAYOUT_MODEL.imageVideoMarginLeft)},get pageMarginTop(){var e=firstValid(i.pageMarginTop,LAYOUT_MODEL.pageMarginTop);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginTopMobile,50):isPod()?firstValid(LAYOUT_MODEL.pageMarginTopMobile,e):e},get pageMarginRight(){var e=firstValid(i.pageMarginRight,LAYOUT_MODEL.pageMarginRight);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginRightMobile,0):isPod()?firstValid(LAYOUT_MODEL.pageMarginRightMobile,e):e},get pageMarginBottom(){var e=firstValid(i.pageMarginBottom,LAYOUT_MODEL.pageMarginBottom);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginBottomMobile,0):isPod()?firstValid(LAYOUT_MODEL.pageMarginBottomMobile,e):e},get pageMarginLeft(){var e=firstValid(i.pageMarginLeft,LAYOUT_MODEL.pageMarginLeft);return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.pageMarginLeftMobile,0):isPod()?firstValid(LAYOUT_MODEL.pageMarginLeftMobile,e):e},get pageMaxWidth(){return percentToPixels(firstValid(i.pageMaxWidth,LAYOUT_MODEL.pageMaxWidth),stage.width)},get pageMaxAlign(){return firstValid(i.pageMaxAlign,LAYOUT_MODEL.pageMaxAlign)},get pageScrollVerticalMargin(){return firstValid(i.pageScrollVerticalMargin,LAYOUT_MODEL.pageScrollVerticalMargin)},get pageTextFont(){return firstValid(i.pageTextFont,LAYOUT_MODEL.pageTextFont)},get pageTextKerning(){return firstValid(i.pageTextKerning,LAYOUT_MODEL.pageTextKerning)},get pageTextFontSize(){return i.pageTextFontSize||LAYOUT_MODEL.pageTextFontSize},get pageTextFontColor(){return firstValid(i.pageTextFontColor,LAYOUT_MODEL.pageTextFontColor)},get pageTitle(){return firstValid(i.pageTitle,LAYOUT_MODEL.pageTitle)},get pageTitleFont(){return firstValid(i.pageTitleFont,LAYOUT_MODEL.pageTitleFont)},get pageTitleKerning(){return firstValid(i.pageTitleKerning,LAYOUT_MODEL.pageTitleKerning)},get pageTitleFontSize(){return i.pageTitleFontSize||LAYOUT_MODEL.pageTitleFontSize},get pageTitleFontColor(){return firstValid(i.pageTitleFontColor,LAYOUT_MODEL.pageTitleFontColor)},get pageScrollType(){return firstValid(i.pageScrollType,LAYOUT_MODEL.pageScrollType)},get pageScrollbarVisibility(){return firstValid(i.pageScrollbarVisibility,LAYOUT_MODEL.pageScrollbarVisibility)},get pageScrollbarRounded(){return firstValid(i.pageScrollbarRounded,LAYOUT_MODEL.pageScrollbarRounded)},get pageScrollbarAlignment(){return firstValid(i.pageScrollbarAlignment,LAYOUT_MODEL.pageScrollbarAlignment)},get pageScrollbarHorizontalOffset(){return firstValid(i.pageScrollbarHorizontalOffset,LAYOUT_MODEL.pageScrollbarHorizontalOffset)},get pageScrollbarVerticalOffset(){return firstValid(i.pageScrollbarVerticalOffset,LAYOUT_MODEL.pageScrollbarVerticalOffset)},get pageScrollbarColor(){return firstValid(i.pageScrollbarColor,LAYOUT_MODEL.pageScrollbarColor)},get pageScrollbarHover(){return firstValid(i.pageScrollbarHover,LAYOUT_MODEL.pageScrollbarHover)},get pageScrollbarBgAlpha(){return firstValid(i.pageScrollbarBgAlpha,LAYOUT_MODEL.pageScrollbarBgAlpha)},get pageScrollbarWidth(){return firstValid(i.pageScrollbarWidth,LAYOUT_MODEL.pageScrollbarWidth)},get imageVideoScrollType(){return firstValid(""===i.imageVideoScrollType?"scrollbar":i.imageVideoScrollType,LAYOUT_MODEL.imageVideoScrollType)},get imageVideoScrollbarRounded(){return firstValid(i.imageVideoScrollbarRounded,LAYOUT_MODEL.imageVideoScrollbarRounded)},get imageVideoScrollbarVisibility(){return firstValid(i.imageVideoScrollbarVisibility,LAYOUT_MODEL.imageVideoScrollbarVisibility)},get imageVideoInactiveAlpha(){return firstValid(i.imageVideoInactiveAlpha,LAYOUT_MODEL.imageVideoInactiveAlpha)},get imageVideoLoaderType(){return firstValid(i.imageVideoLoaderType,LAYOUT_MODEL.imageVideoLoaderType)},get imageVideoScrollbarAlignment(){return firstValid(i.imageVideoScrollbarAlignment,LAYOUT_MODEL.imageVideoScrollbarAlignment)},get imageVideoScrollbarHorizontalOffset(){return firstValid(i.imageVideoScrollbarHorizontalOffset,LAYOUT_MODEL.imageVideoScrollbarHorizontalOffset)},get imageVideoScrollbarVerticalOffset(){return firstValid(i.imageVideoScrollbarVerticalOffset,LAYOUT_MODEL.imageVideoScrollbarVerticalOffset)},get imageVideoScrollbarColor(){return firstValid(i.imageVideoScrollbarColor,LAYOUT_MODEL.imageVideoScrollbarColor)},get imageVideoScrollbarHover(){return firstValid(i.imageVideoScrollbarHover,LAYOUT_MODEL.imageVideoScrollbarHover)},get imageVideoScrollbarBgTransparency(){return firstValid(i.imageVideoScrollbarBgTransparency,LAYOUT_MODEL.imageVideoScrollbarBgTransparency)},get imageVideoScrollbarWidth(){return firstValid(i.imageVideoScrollbarWidth,LAYOUT_MODEL.imageVideoScrollbarWidth)},get menuDisplaceMobile(){return""===LAYOUT_MODEL.menuDisplaceMobile||void 0===LAYOUT_MODEL.menuDisplaceMobile||LAYOUT_MODEL.menuDisplaceMobile},get menuDisplaceTablet(){return""===LAYOUT_MODEL.menuDisplaceTablet||void 0===LAYOUT_MODEL.menuDisplaceTablet||LAYOUT_MODEL.menuDisplaceTablet},get overlayTitleFont(){return firstValid(LAYOUT_MODEL.overlayTitleFont,LAYOUT_MODEL.thumbnailTitleFont)},get overlayTitleFontSize(){return LAYOUT_MODEL.overlayTitleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize},get overlayTitleFontColor(){return firstValid(LAYOUT_MODEL.overlayTitleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor)},get thumbnailOnly(){return firstValid(n.only,LAYOUT_MODEL.thumbnailOnly)},get thumbnailFullRes(){return firstValid(n.fullRes,LAYOUT_MODEL.thumbnailFullRes)},get thumbnailDefaultOn(){return USER_AGENT===MOBILE?n.only||LAYOUT_MODEL.thumbnailOnly||firstValid(LAYOUT_MODEL.thumbnailDefaultOnMobile,n.defaultOn,LAYOUT_MODEL.thumbnailDefaultOn):n.only||LAYOUT_MODEL.thumbnailOnly||firstValid(n.defaultOn,LAYOUT_MODEL.thumbnailDefaultOn)},get thumbnailPositionFixed(){return USER_AGENT!==MOBILE&&firstValid(n.positionFixed,LAYOUT_MODEL.thumbnailPositionFixed)},get thumbnailMasonry(){if(USER_AGENT===MOBILE)return!0;switch(firstValid(n.type,LAYOUT_MODEL.thumbnailType)){case"vMasonry":case"hMasonry":return!0;default:return!1}},get thumbnailMasonryFill(){if(USER_AGENT===MOBILE)return!0;var e=!!STATE.overrides.thumbnailMinCols,t=firstValid(n.masonryFill,LAYOUT_MODEL.thumbnailMasonryFill),i=firstValid(n.type,LAYOUT_MODEL.thumbnailType);if(void 0===i)return t;switch(i){case"vMasonry":return e||t;case"hMasonry":return t;default:return!1}},get thumbnailMasonryMaintainOrder(){return firstValid(n.masonryMaintainOrder,LAYOUT_MODEL.thumbnailMasonryMaintainOrder)},get thumbnailVMasonryMaxCols(){return"hMasonryHScroll"===firstValid(n.type,LAYOUT_MODEL.thumbnailType)?5e3:USER_AGENT===MOBILE?firstValid(n.maxColsMobile,LAYOUT_MODEL.thumbnailMaxColsMobile,3):isPod()?firstValid(n.maxColsMobile,LAYOUT_MODEL.thumbnailMaxColsMobile,n.maxCols,LAYOUT_MODEL.thumbnailMaxCols):firstValid(n.maxCols,LAYOUT_MODEL.thumbnailMaxCols)},get thumbnailVMasonryMinCols(){var e=USER_AGENT===MOBILE?firstValid(n.minColsMobile,LAYOUT_MODEL.thumbnailMinColsMobile,1):isPod()?firstValid(n.minColsMobile,LAYOUT_MODEL.thumbnailMinColsMobile,n.minCols,LAYOUT_MODEL.thumbnailMinCols):firstValid(n.minCols,LAYOUT_MODEL.thumbnailMinCols);return Math.min(e,STATE.overrides.thumbnailVMasonryMaxCols)},get thumbnailHMasonryMaxCols(){return USER_AGENT===MOBILE?firstValid(n.hMasonryMaxColsMobile,LAYOUT_MODEL.thumbnailHMasonryMaxColsMobile,3):isPod()?firstValid(n.hMasonryMaxColsMobile,LAYOUT_MODEL.thumbnailHMasonryMaxColsMobile,n.hMasonryMaxCols,LAYOUT_MODEL.thumbnailHMasonryMaxCols):firstValid(n.hMasonryMaxCols,LAYOUT_MODEL.thumbnailHMasonryMaxCols)},get thumbnailHMasonryMinCols(){var e=USER_AGENT===MOBILE?firstValid(n.hMasonryMinColsMobile,LAYOUT_MODEL.thumbnailHMasonryMinColsMobile,1):isPod()?firstValid(n.hMasonryMinColsMobile,LAYOUT_MODEL.thumbnailHMasonryMinColsMobile,n.hMasonryMinCols,LAYOUT_MODEL.thumbnailHMasonryMinCols):firstValid(n.hMasonryMinCols,LAYOUT_MODEL.thumbnailHMasonryMinCols);return Math.min(e,STATE.overrides.thumbnailHMasonryMaxCols)},get thumbnailGapRaw(){return USER_AGENT===MOBILE?LAYOUT_MODEL.thumbnailGapMobile||0:isPod()?firstValid(LAYOUT_MODEL.thumbnailGapMobile,n.gap,LAYOUT_MODEL.thumbnailGap):firstValid(n.gap,LAYOUT_MODEL.thumbnailGap)},get thumbnailGapVerticalRaw(){return USER_AGENT===MOBILE?LAYOUT_MODEL.thumbnailGapVerticalMobile||0:isPod()?firstValid(LAYOUT_MODEL.thumbnailGapVerticalMobile,n.gapVertical,LAYOUT_MODEL.thumbnailGapVertical,n.gap,LAYOUT_MODEL.thumbnailGap):firstValid(n.gapVertical,LAYOUT_MODEL.thumbnailGapVertical,n.gap,LAYOUT_MODEL.thumbnailGap)},get thumbnailGap(){return percentToPixels(STATE.overrides.thumbnailGapRaw,stage.width)},get thumbnailGapVertical(){return percentToPixels(STATE.overrides.thumbnailGapVerticalRaw,stage.width)},get hGapPercent(){return gapPercent(STATE.overrides.thumbnailGapRaw,1500,stage.width)},get vGapPercent(){return gapPercent(STATE.overrides.thumbnailGapVerticalRaw,1500,stage.width)},get thumbnailDock(){return firstValid(n.dock,LAYOUT_MODEL.thumbnailDock)},get thumbnailType(){var e,t;return USER_AGENT===MOBILE?"none"===firstValid(n.type,LAYOUT_MODEL.thumbnailType)?"none":"vMasonry":(e=firstValid(n.masonry,LAYOUT_MODEL.thumbnailMasonry),"fill"===(t=n.type&&"default"!==n.type?firstValid(n.type,LAYOUT_MODEL.thumbnailType):LAYOUT_MODEL.thumbnailType)&&e?"vMasonry":t)},get thumbnailRandomize(){return firstValid(n.randomize,LAYOUT_MODEL.thumbnailRandomize)},get thumbnailRandomInterval(){return firstValid(n.randomizeInterval,LAYOUT_MODEL.thumbnailRandomInterval,24)},get thumbnailSize(){return USER_AGENT===MOBILE?(THUMB_SIZES=updateCustomThumbSize(LAYOUT_MODEL.thumbnailCustomWidthMobile,LAYOUT_MODEL.thumbnailCustomHeightMobile),LAYOUT_MODEL.thumbnailSizeMobile||"xLarge"):isPod()?(THUMB_SIZES=updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthMobile,n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightMobile,n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),firstValid(LAYOUT_MODEL.thumbnailSizeMobile,n.size,LAYOUT_MODEL.thumbnailSize)):isPad()?(THUMB_SIZES=updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthTablet,n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightTablet,n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),firstValid(LAYOUT_MODEL.thumbnailSizeTablet,n.size,LAYOUT_MODEL.thumbnailSize)):(THUMB_SIZES=updateCustomThumbSize(firstValid(n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)),firstValid(n.size,LAYOUT_MODEL.thumbnailSize))},get thumbnailCustomWidth(){return(THUMB_SIZES=isPod()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthMobile,n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightMobile,n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):isPad()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthTablet,n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightTablet,n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):updateCustomThumbSize(firstValid(n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight))).custom.width},get thumbnailCustomHeight(){return(THUMB_SIZES=isPod()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthMobile,n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightMobile,n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):isPad()?updateCustomThumbSize(firstValid(LAYOUT_MODEL.thumbnailCustomWidthTablet,n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(LAYOUT_MODEL.thumbnailCustomHeightTablet,n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight)):updateCustomThumbSize(firstValid(n.customWidth,LAYOUT_MODEL.thumbnailCustomWidth),firstValid(n.customHeight,LAYOUT_MODEL.thumbnailCustomHeight))).custom.height},get thumbnailSide(){return firstValid(n.side,LAYOUT_MODEL.thumbnailSide)},get thumbnailHorizontalMargin(){var e=USER_AGENT===MOBILE?LAYOUT_MODEL.thumbnailHorizontalMarginMobile||0:isPod()?firstValid(LAYOUT_MODEL.thumbnailHorizontalMarginMobile,n.horizontalMargin,LAYOUT_MODEL.thumbnailHorizontalMargin):firstValid(n.horizontalMargin,LAYOUT_MODEL.thumbnailHorizontalMargin);return percentToPixels(e,stage.width)},get thumbnailVerticalMargin(){var e=USER_AGENT===MOBILE?LAYOUT_MODEL.thumbnailVerticalMarginMobile||0:isPod()?firstValid(LAYOUT_MODEL.thumbnailVerticalMarginMobile,n.verticalMargin,LAYOUT_MODEL.thumbnailVerticalMargin):firstValid(n.verticalMargin,LAYOUT_MODEL.thumbnailVerticalMargin);return percentToPixels(e,stage.width)},get thumbnailAlignHorizontal(){return firstValid(n.alignHorizontal,LAYOUT_MODEL.thumbnailAlignHorizontal)},get thumbnailAlignVertical(){return firstValid(n.alignVertical,LAYOUT_MODEL.thumbnailAlignVertical)},get thumbnailCornerRadius(){return firstValid(n.cornerRadius,LAYOUT_MODEL.thumbnailCornerRadius)||0},get thumbnailShadow(){return firstValid(n.shadow,LAYOUT_MODEL.thumbnailShadow)||""},get thumbnailOverlayColor(){return firstValid(n.overlayColor,LAYOUT_MODEL.overlayColor)},get thumbnailOverlayAlpha(){return firstValid(n.overlayAlpha,LAYOUT_MODEL.overlayAlpha)},get thumbnailGridColor(){return firstValid(n.gridColor,LAYOUT_MODEL.thumbnailGridColor)},get thumbnailGridTransparency(){return firstValid(n.gridTransparency,LAYOUT_MODEL.thumbnailGridTransparency)},get thumbnailHoverAlpha(){return firstValid(n.hoverAlpha,LAYOUT_MODEL.thumbnailHoverAlpha)},get thumbnailHoverAlphaMobile(){return LAYOUT_MODEL.thumbnailHoverAlphaMobile},get thumbnailHoverAlphaTablet(){return LAYOUT_MODEL.thumbnailHoverAlphaTablet},get thumbnailHoverColor(){return firstValid(n.hoverColor,LAYOUT_MODEL.thumbnailHoverColor)},get thumbnailLoaderType(){return firstValid(n.loaderType,LAYOUT_MODEL.thumbnailLoaderType,"spinner")},get thumbnailTitleFont(){return isPod()?firstValid(LAYOUT_MODEL.thumbnailTitleFontMobile,LAYOUT_MODEL.thumbnailTitleFont):isPad()?firstValid(LAYOUT_MODEL.thumbnailTitleFontTablet,LAYOUT_MODEL.thumbnailTitleFont):firstValid(n.titleFont,LAYOUT_MODEL.thumbnailTitleFont)},get thumbnailTitleFontSize(){return isPod()?LAYOUT_MODEL.thumbnailTitleFontSizeMobile||n.titleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize:isPad()?LAYOUT_MODEL.thumbnailTitleFontSizeTablet||n.titleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize:n.titleFontSize||LAYOUT_MODEL.thumbnailTitleFontSize},get thumbnailTitleFontColor(){return isPod()?firstValid(LAYOUT_MODEL.thumbnailTitleFontColorMobile,LAYOUT_MODEL.thumbnailLabelColorMobile,n.titleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor):isPad()?firstValid(LAYOUT_MODEL.thumbnailTitleFontColorTablet,LAYOUT_MODEL.thumbnailLabelColorTablet,n.titleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor):firstValid(n.titleFontColor,LAYOUT_MODEL.thumbnailTitleFontColor)},get thumbnailLabelVerticalOffset(){return firstValid(n.labelVerticalOffset,LAYOUT_MODEL.thumbnailLabelVerticalOffset)},get thumbnailLabelColorMobile(){return LAYOUT_MODEL.thumbnailLabelColorMobile},get thumbnailLabelColorTablet(){return LAYOUT_MODEL.thumbnailLabelColorTablet},get thumbnailLabelPosition(){return firstValid(n.labelPosition,LAYOUT_MODEL.thumbnailLabelPosition)},get thumbnailLabelJustification(){return firstValid(n.labelJustification,LAYOUT_MODEL.thumbnailLabelJustification)},get thumbnailStdLabelPosition(){return n.stdLabelPosition},get thumbnailStdLabelJustification(){return n.stdLabelJustification},get thumbnailLabelPositionMobile(){var e=/^hover/.test(n.labelPosition)?"bottom":n.labelPosition,t=/^hover/.test(LAYOUT_MODEL.thumbnailLabelPosition)?"bottom":LAYOUT_MODEL.thumbnailLabelPosition;return firstValid(LAYOUT_MODEL.thumbnailLabelPositionMobile,e,t,void 0)},get thumbnailStdLabelPositionMobile(){return firstValid(/^hover/.test(n.stdLabelPositionMobile)?"over":n.stdLabelPositionMobile,/^hover/.test(LAYOUT_MODEL.thumbnailStdLabelPositionMobile)?"over":LAYOUT_MODEL.thumbnailStdLabelPositionMobile,void 0)},get thumbnailLabelPositionTablet(){var e=/^hover/.test(n.labelPosition)?"bottom":n.labelPosition,t=/^hover/.test(LAYOUT_MODEL.thumbnailLabelPosition)?"bottom":LAYOUT_MODEL.thumbnailLabelPosition;return firstValid(LAYOUT_MODEL.thumbnailLabelPositionTablet,e,t,void 0)},get thumbnailStdLabelPositionTablet(){return firstValid(/^hover/.test(n.stdLabelPositionTablet)?"over":n.stdLabelPositionTablet,/^hover/.test(LAYOUT_MODEL.thumbnailStdLabelPositionTablet)?"over":LAYOUT_MODEL.thumbnailStdLabelPositionTablet,void 0)},get thumbnailVideoPlayIcon(){return firstValid(n.videoPlayIcon,!1!==LAYOUT_MODEL.thumbnailVideoPlayIcon)},get thumbnailScrollbarAlignment(){return firstValid(n.scrollbarAlignment,LAYOUT_MODEL.thumbnailScrollbarAlignment)},get thumbnailScrollbarColor(){return firstValid(n.scrollbarColor,LAYOUT_MODEL.thumbnailScrollbarColor)},get thumbnailScrollbarHover(){return firstValid(n.scrollbarHover,LAYOUT_MODEL.thumbnailScrollbarHover)},get thumbnailSelectedColor(){return firstValid(n.selectedColor,LAYOUT_MODEL.thumbnailSelectedColor)},get thumbnailSelectedAlpha(){return firstValid(n.selectedAlpha,LAYOUT_MODEL.thumbnailSelectedAlpha,LAYOUT_MODEL.thumbnailHoverAlpha)},get thumbnailScrollbarHorizontalOffset(){return firstValid(n.scrollbarHorizontalOffset,LAYOUT_MODEL.thumbnailScrollbarHorizontalOffset)},get thumbnailScrollbarVerticalOffset(){return firstValid(n.scrollbarVerticalOffset,LAYOUT_MODEL.thumbnailScrollbarVerticalOffset)},get thumbnailScrollType(){var e=firstValid(n.scrollType,LAYOUT_MODEL.thumbnailScrollType);return"mouse cursor"===e&&(e="nativeMacOs"),e="none"!==STATE.overrides.siteDisplayBehavior?"nativeMacOs":e},get thumbnailScrollbarBgAlpha(){return firstValid(n.scrollbarBgAlpha,LAYOUT_MODEL.thumbnailScrollbarBgAlpha)},get thumbnailScrollbarWidth(){return firstValid(n.scrollbarWidth,LAYOUT_MODEL.thumbnailScrollbarWidth)},get thumbnailScrollbarVisibility(){return firstValid(n.scrollbarVisibility,LAYOUT_MODEL.thumbnailScrollbarVisibility)},get thumbnailScrollbarRounded(){return firstValid(n.scrollbarRounded,LAYOUT_MODEL.thumbnailScrollbarRounded)},get thumbnailTitleBlockTopMargin(){return isPod()?firstValid(LAYOUT_MODEL.thumbnailTitleBlockTopMarginMobile,LAYOUT_MODEL.thumbnailTitleBlockTopMargin)||0:LAYOUT_MODEL.thumbnailTitleBlockTopMargin||0},get captionAutoPosition(){return USER_AGENT===MOBILE&&LAYOUT_MODEL.captionMobileOverrides||firstValid(i.captionAutoPosition,LAYOUT_MODEL.captionAutoPosition)},get captionDefault(){return firstValid(i.captionDefault,LAYOUT_MODEL.captionDefault)},get captionUseTitle(){return firstValid(i.captionUseTitle,LAYOUT_MODEL.captionUseTitle)},get captionCloseButton(){return firstValid(i.captionCloseButton,LAYOUT_MODEL.captionCloseButton)},get captionBackgroundAlpha(){return firstValid(i.captionBackgroundAlpha,LAYOUT_MODEL.captionBackgroundAlpha)},get captionBackgroundRectColor(){return firstValid(i.captionBackgroundRectColor,LAYOUT_MODEL.captionBackgroundRectColor)},get captionFont(){return firstValid(i.captionFont,LAYOUT_MODEL.captionFont)},get captionFontColor(){return firstValid(i.captionFontColor,LAYOUT_MODEL.captionFontColor)},get captionFontSize(){return i.captionFontSize||LAYOUT_MODEL.captionFontSize},get captionFontSizeBreakpoint(){return i.captionFontSizeBreakpoint||LAYOUT_MODEL.captionFontSizeBreakpoint||i.captionFontSize||LAYOUT_MODEL.captionFontSize},get captionWidth(){return percentToPixels(firstValid(i.captionWidth,LAYOUT_MODEL.captionWidth),stage.width)},get captionHeight(){return percentToPixels(firstValid(i.captionHeight,LAYOUT_MODEL.captionHeight),stage.height)},get captionAlignHorizontal(){return firstValid(i.captionAlignHorizontal,LAYOUT_MODEL.captionAlignHorizontal)},get captionAlignVertical(){return firstValid(i.captionAlignVertical,LAYOUT_MODEL.captionAlignVertical)},get captionMobileOverrides(){return USER_AGENT===MOBILE&&LAYOUT_MODEL.captionMobileOverrides},get captionOffsetX(){return percentToPixels(firstValid(i.captionOffsetX,LAYOUT_MODEL.captionOffsetX),stage.width)},get captionOffsetY(){return percentToPixels(firstValid(i.captionOffsetY,LAYOUT_MODEL.captionOffsetY),stage.height)},get captionTextAlign(){return firstValid(i.captionTextAlign,LAYOUT_MODEL.captionTextAlign)},get captionTextAlignVertical(){return firstValid(i.captionTextAlignVertical,LAYOUT_MODEL.captionTextAlignVertical)},get captionPaddingTop(){return percentToPixels(firstValid(i.captionPaddingTop,LAYOUT_MODEL.captionPaddingTop),stage.height)},get captionPaddingRight(){return percentToPixels(firstValid(i.captionPaddingRight,LAYOUT_MODEL.captionPaddingRight),stage.width)},get captionPaddingBottom(){return percentToPixels(firstValid(i.captionPaddingBottom,LAYOUT_MODEL.captionPaddingBottom),stage.height)},get captionPaddingLeft(){return percentToPixels(firstValid(i.captionPaddingLeft,LAYOUT_MODEL.captionPaddingLeft),stage.width)},get captionScrollType(){return firstValid(i.captionScrollType,LAYOUT_MODEL.captionScrollType)},get captionScrollbarWidth(){return firstValid(i.captionScrollbarWidth,LAYOUT_MODEL.captionScrollbarWidth)},get captionScrollbarAlignment(){return firstValid(i.captionScrollbarAlignment,LAYOUT_MODEL.captionScrollbarAlignment)},get captionScrollbarColor(){return firstValid(i.captionScrollbarColor,LAYOUT_MODEL.captionScrollbarColor)},get captionScrollbarHover(){return firstValid(i.captionScrollbarHover,LAYOUT_MODEL.captionScrollbarHover)},get captionScrollbarHorizontalOffset(){return firstValid(i.captionScrollbarHorizontalOffset,LAYOUT_MODEL.captionScrollbarHorizontalOffset)},get captionScrollbarVerticalOffset(){return firstValid(i.captionScrollbarVerticalOffset,LAYOUT_MODEL.captionScrollbarVerticalOffset)},get captionScrollbarBgAlpha(){return firstValid(i.captionScrollbarBgAlpha,LAYOUT_MODEL.captionScrollbarBgAlpha)},get captionAnchorTo(){return firstValid(i.captionAnchorTo,LAYOUT_MODEL.captionAnchorTo)},get slideshowRandomize(){return firstValid(i.slideshowRandomize,LAYOUT_MODEL.landingMediaRandomize)},get slideshowTransitionType(){return firstValid(i.slideshowTransitionType,LAYOUT_MODEL.landingMediaTransitionType)},get slideshowSpeed(){return firstValid(i.slideshowSpeed,LAYOUT_MODEL.landingMediaSpeed)},get slideshowTransitionDuration(){return firstValid(i.slideshowTransitionDuration,LAYOUT_MODEL.landingMediaTransitionDuration)},get slideshowAlignHorizontal(){return firstValid(i.slideshowAlignHorizontal,LAYOUT_MODEL.landingMediaAlignHorizontal)},get slideshowAlignVertical(){return firstValid(i.slideshowAlignVertical,LAYOUT_MODEL.landingMediaAlignVertical)},get slideshowScaleType(){var e=firstValid(i.slideshowScaleType,LAYOUT_MODEL.landingMediaScaleType);return isPod()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeMobile,"fit"):isPad()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeTablet,e):e},get slideshowScrollDownIcon(){return firstValid(t.scrollDownIcon,LAYOUT_MODEL.slideshowScrollDownIcon)},get siteDisplayBehavior(){var e;return USER_AGENT===MOBILE||USER_AGENT===TABLET?"none":(e=layoutCalcs.getSectionState(t.key),firstValid((LAYOUT_MODEL.unifiedPageScrolling||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior))&&/overlay/.test(t.displayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay&&isThumbsFirst(t)&&/thumbs/.test(e.mode)?LAYOUT_MODEL.siteDisplayBehavior:t.displayBehavior,LAYOUT_MODEL.siteDisplayBehavior,LAYOUT_MODEL.unifiedPageScrolling?"unifiedPageScrolling":"none"))},get siteDisplayGalleryOnlyOverlay(){return USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&t.displayGalleryOnlyOverlay},get logoViewZIndex(){return USER_AGENT===MOBILE?firstValid(LAYOUT_MODEL.mobileLogoZIndex,LAYOUT_MODEL.logoZIndex,"overlay"===STATE.menuView.placement()?5:8):isPod()?firstValid(i.logoZIndex,LAYOUT_MODEL.mobileLogoZIndex,LAYOUT_MODEL.logoZIndex,"overlay"===STATE.menuView.placement()?5:8):firstValid(i.logoZIndex,LAYOUT_MODEL.logoZIndex,"overlay"===STATE.menuView.placement()?5:8)}}},get backgroundImages(){var e=[];return(e=window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingBackgroundImages")?SETTINGS_MODEL.stagingBackgroundImages||e:SETTINGS_MODEL.backgroundImages.length?SETTINGS_MODEL.backgroundImages:DX_MODEL.designSettings.backgroundImages||e).filter(function(e){return getMediaById(e)})},get socialLinks(){var e=[];return(e=window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingSocialLinks")?SETTINGS_MODEL.stagingSocialLinks||e:SETTINGS_MODEL.socialLinks.length?SETTINGS_MODEL.socialLinks:DX_MODEL.designSettings.socialLinks||e).filter(function(e){return getMediaById(e)})},get podUseDesktop(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingPodUseDesktop")?SETTINGS_MODEL.stagingPodUseDesktop||!1:firstValid(SETTINGS_MODEL.podUseDesktop,DX_MODEL.designSettings.podUseDesktop)||!1},get padUseDesktop(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingPadUseDesktop")?SETTINGS_MODEL.stagingPadUseDesktop||!1:firstValid(SETTINGS_MODEL.padUseDesktop,DX_MODEL.designSettings.padUseDesktop)||!1},get copyright(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingCopyright")?SETTINGS_MODEL.stagingCopyright||"":firstValid(SETTINGS_MODEL.copyright,DX_MODEL.designSettings.copyright)||""},get logoFile(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingLogoFile")?SETTINGS_MODEL.stagingLogoFile||"":firstValid(SETTINGS_MODEL.logoFile,DX_MODEL.designSettings.logoFile)||""},get logoHtml(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingLogoHtml")?SETTINGS_MODEL.stagingLogoHtml||"":firstValid(SETTINGS_MODEL.logoHtml,DX_MODEL.designSettings.logoHtml)||""},get logoText(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingLogoText")?SETTINGS_MODEL.stagingLogoText||"":firstValid(SETTINGS_MODEL.logoText,DX_MODEL.designSettings.logoText)||""},get introFile(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingIntroFile")?SETTINGS_MODEL.stagingIntroFile||"":firstValid(SETTINGS_MODEL.introFile,DX_MODEL.designSettings.introFile)||""},get blogSectionId(){return window.isStaging&&SETTINGS_MODEL.hasOwnProperty("stagingBlogSectionId")?SETTINGS_MODEL.stagingBlogSectionId||"":firstValid(SETTINGS_MODEL.blogSectionId,DX_MODEL.designSettings.blogSectionId)||""},footerView:{zIndex:function(){return LAYOUT_MODEL.copyrightZIndex||("overlay"===STATE.menuView.placement()?5:8)}},introView:{zIndex:500},mediaView:{zIndex:1,zoneX:function(){return(isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView:layoutCalcs.mediaView).x()},zoneY:function(e){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.y():layoutCalcs.mediaView.y(e)},zoneWidth:function(){return(isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView:layoutCalcs.mediaView).width()},zoneHeight:function(e){return"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e,!0):isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e)},contentHeight:function(){return STATE.siteView.unifiedPageScroll()&&layoutCalcs._mediaContentHeight>STATE.mediaView.height()?layoutCalcs._mediaContentHeight:STATE.mediaView.height()},x:function(){var e=(isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView:layoutCalcs.mediaView).x();return layoutCalcs.isDisplace()&&"left"===STATE.overrides.thumbnailSide?e+percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width)+THUMB_SIZES[STATE.overrides.thumbnailSize].width:e},y:function(e){e=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.y():layoutCalcs.mediaView.y(e);return layoutCalcs.isDisplace()&&"top"===STATE.overrides.thumbnailSide?e+percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)+THUMB_SIZES[STATE.overrides.thumbnailSize].height:e},width:function(){var e=(isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView:layoutCalcs.mediaView).width();return!layoutCalcs.isDisplace()||"left"!==STATE.overrides.thumbnailSide&&"right"!==STATE.overrides.thumbnailSide?e:e-percentToPixels(STATE.overrides.thumbnailHorizontalMargin,stage.width)-THUMB_SIZES[STATE.overrides.thumbnailSize].width},height:function(e){var e=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e),t=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height);return!((/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)&&/top|bottom/.test(STATE.menuView.placement())?stage.height-t:stage.height)<=e)&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||!layoutCalcs.isDisplace()||"top"!==STATE.overrides.thumbnailSide&&"bottom"!==STATE.overrides.thumbnailSide?e:e-percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)-THUMB_SIZES[STATE.overrides.thumbnailSize].height},maskX:function(){return(isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView:layoutCalcs.mediaMask).x()},maskY:function(e){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.y():layoutCalcs.mediaMask.y(e)},maskWidth:function(e){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.width():layoutCalcs.mediaMask.width(e)},maskHeight:function(e,t){return isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaMask.height(e,t)},hAlign:function(){return USER_AGENT===MOBILE?layoutCalcs.isLandingMedia?firstValid(LAYOUT_MODEL.landingMediaAlignHorizontalMobile,STATE.overrides.slideshowAlignHorizontal):STATE.overrides.imageAlignHorizontal:layoutCalcs.isLandingMedia?STATE.overrides.slideshowAlignHorizontal:STATE.overrides.imageAlignHorizontal},vAlign:function(){return USER_AGENT===MOBILE?layoutCalcs.isLandingMedia?firstValid(LAYOUT_MODEL.landingMediaAlignVerticalMobile,STATE.overrides.slideshowAlignVertical):STATE.overrides.imageAlignVertical:layoutCalcs.isLandingMedia?STATE.overrides.slideshowAlignVertical:STATE.overrides.imageAlignVertical},transitionDuration:function(e){return e?STATE.overrides.slideshowTransitionDuration:STATE.overrides.transitionDuration},imageScaleType:function(){return layoutCalcs.isLandingMedia?isPod()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeMobile,STATE.overrides.slideshowScaleType):isPad()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeTablet,STATE.overrides.slideshowScaleType):STATE.overrides.slideshowScaleType:STATE.overrides.imageScaleType},videoScaleType:function(e){return layoutCalcs.isLandingMedia?isPod()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeMobile,STATE.overrides.slideshowScaleType):isPad()?firstValid(LAYOUT_MODEL.landingMediaScaleTypeTablet,STATE.overrides.slideshowScaleType):STATE.overrides.slideshowScaleType:e&&"fill"===STATE.overrides.videoScaleType?"fit":STATE.overrides.videoScaleType},videoAutoPlay:function(){return STATE.overrides.videoAutoPlay},backgroundColor:function(){return isFillSite()&&layoutCalcs.isLandingMedia?LAYOUT_MODEL.siteBackgroundColor:STATE.overrides.containerColor}},menuView:{placement:function(){var e;switch(LAYOUT_MODEL.menuAlignHorizontal){case"top-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"top";break;case"right-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"right";break;case"bottom-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"bottom";break;case"left-responsive":e=layoutCalcs.isMenuResponsiveOverlay?"overlay":"left";break;default:e=LAYOUT_MODEL.menuAlignHorizontal}return USER_AGENT===MOBILE||USER_AGENT===TABLET?"left":e},zIndex:6,menuPositionFixed:function(){return!!/bottom/.test(STATE.menuView.placement())||LAYOUT_MODEL.menuPositionFixed},menuFontSize:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayFontSize||LAYOUT_MODEL.menuFontSize},menuSubFontSize:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlaySubFontSize||LAYOUT_MODEL.menuSubFontSize},menuBgColor:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayBgColor||LAYOUT_MODEL.menuBgColor},menuBgAlpha:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayBgAlpha||LAYOUT_MODEL.menuBgAlpha},menuFontColor:function(){var e=LAYOUT_MODEL.menuFontColor;return USER_AGENT===MOBILE&&(e=LAYOUT_MODEL.menuFontColorMobile||e),USER_AGENT===TABLET&&(e=LAYOUT_MODEL.menuFontColorTablet||e),"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayFontColor||e},menuFontColorHover:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayFontColorHover||LAYOUT_MODEL.menuFontColorHover},menuFontColorSelected:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayFontColorSelected||LAYOUT_MODEL.menuFontColorSelected},menuTextAlignHorizontal:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayTextAlignHorizontal||LAYOUT_MODEL.menuTextAlignHorizontal},menuTextAlignVertical:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayTextAlignVertical||LAYOUT_MODEL.menuTextAlignVertical},menuTextPaddingHorizontal:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayTextPaddingHorizontal||LAYOUT_MODEL.menuTextPaddingHorizontal},menuTextPaddingVertical:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayTextPaddingVertical||LAYOUT_MODEL.menuTextPaddingVertical},menuTextGap:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlayTextGap||LAYOUT_MODEL.menuTextGap},menuSubTextAlignHorizontal:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlaySubTextAlignHorizontal||LAYOUT_MODEL.menuSubTextAlignHorizontal},menuSubTextGap:function(){return"overlay"===STATE.menuView.placement()&&LAYOUT_MODEL.menuOverlaySubTextGap||LAYOUT_MODEL.menuSubTextGap},menuIconOverlayColor:function(){return LAYOUT_MODEL.menuIconOverlayColor||LAYOUT_MODEL.menuOverlayFontColor||"#333333"}},navbarView:{zIndex:function(){return/^overlay/.test(STATE.overrides.siteDisplayBehavior)?101:USER_AGENT===MOBILE||"overlay"===STATE.menuView.placement()?3:7}},overlayView:{x:function(){return STATE.mediaView.zoneX()},y:function(e){return/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||isInMediaOverlay()?0:STATE.mediaView.zoneY(e)},zoneWidth:function(){return isInMediaOverlay()?stage.width:(isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView:layoutCalcs.mediaView).width()},zoneHeight:function(e){var t;return isInMediaOverlay()?stage.height:!/unifiedPageScroll/.test(STATE.overrides.siteDisplayBehavior)||USER_AGENT===HTML&&isPod()||USER_AGENT===HTML&&isPad()||/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll?STATE.siteView.unifiedPageScroll()?(t=isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():STATE.mediaView.zoneHeight(e),layoutCalcs._thumbsVisible&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&layoutCalcs._thumbContentHeight>t?layoutCalcs._thumbContentHeight:t):isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():layoutCalcs.mediaView.height(e):STATE.mediaView.zoneHeight()},zIndex:4,size:{x:function(){return isInMediaOverlay()?0:STATE.overlayView.x()},y:function(e){return isInMediaOverlay()?0:STATE.overlayView.y(e)},width:function(){return STATE.overlayView.zoneWidth()},height:function(e){return STATE.overlayView.zoneHeight(e)}}},captionView:{zIndex:function(){return USER_AGENT===MOBILE||"overlay"===STATE.menuView.placement()?2:7}},siteView:{unifiedPageScroll:function(){return"overlay"!==STATE.overrides.siteDisplayBehavior&&!/none/.test(STATE.overrides.siteDisplayBehavior)&&(/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||/^unifiedPage/.test(STATE.overrides.siteDisplayBehavior)?/^vScroll/.test(STATE.overrides.transitionType)||layoutCalcs._thumbsVisible&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)||isSingleTextPage(layoutCalcs._section):LAYOUT_MODEL.unifiedPageScrolling)},width:function(){return stage.width},height:function(){var e,t,i,n,o,a,r;return"single"===layoutCalcs.sectionDisplayMode&&isFillSite()&&layoutCalcs.isLandingMedia?layoutCalcs.landingMediaView.height():USER_AGENT===MOBILE||USER_AGENT===TABLET?stage.height:"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior&&"multiple"===layoutCalcs.sectionDisplayMode?(t=getMarginOverlap()||0,n=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),o=percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height),(e=(e=layoutCalcs.mediaModules&&layoutCalcs.mediaModules[0])&&e.controller.section)&&STATE.section(e),i=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),e&&isFillSiteSlideshow(e)?layoutCalcs.mediaViewsHeight+o:/top/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?n+i-t+layoutCalcs.mediaViewsHeight+o:/bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal?n+layoutCalcs.mediaViewsHeight+(o+i-t):n+layoutCalcs.mediaViewsHeight+o):STATE.siteView.unifiedPageScroll()||/unified/.test(LAYOUT_MODEL.siteDisplayBehavior)&&/overlay/.test(STATE.overrides.siteDisplayBehavior)&&STATE.overrides.siteDisplayGalleryOnlyOverlay?(e=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),a=/top/.test(STATE.menuView.placement()),r=/bottom/.test(STATE.menuView.placement()),LAYOUT_MODEL.isMenuScrollReveal||!a&&!r||(t=getMarginOverlap()||0,i=percentToPixels(LAYOUT_MODEL.menuWidth,stage.height)-percentToPixels(LAYOUT_MODEL.menuOffsetX,stage.height),n=percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height),o=percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height),stage.height,e+=i-t||0),a=layoutCalcs._section?layoutCalcs.getSectionState(layoutCalcs._section.key):{mode:""},/thumbs/.test(a.mode)&&/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&(isPod()||isPad()||/native/.test(STATE.overrides.thumbnailScrollType)||LAYOUT_MODEL.globalSmoothScroll)?e+=layoutCalcs._thumbContentHeight>STATE.mediaView.zoneHeight()?layoutCalcs._thumbContentHeight:STATE.mediaView.zoneHeight():(r=layoutCalcs._section&&layoutCalcs._section.key,e+=STATE.mediaView.height(r)>STATE.mediaView.zoneHeight()?STATE.mediaView.height(r):STATE.mediaView.zoneHeight()),e+percentToPixels(LAYOUT_MODEL.sitePaddingBottom,stage.height)):stage.height}},setPassedSection:function(e){passedSections.push(e)},getPassedSection:function(e){return-1STATE.introView.zIndex?2e3:0),u.element.style.transform="rotate("+(LAYOUT_MODEL.copyrightRotation||0)+"deg)"},u.hide=function(){Tween(u,UPDATE_SPEED,{alpha:0,onComplete:function(){0===u.alpha&&(u.display="none")}})},u.show=function(){u.display="block",u.updateStyle(),Tween(u,UPDATE_SPEED,{alpha:1})},u}function LogoController(t){var i=new ControllerProxy({parentView:t.parentView,parentController:t.parentController,events:t.siteControllerEvents});function e(){i.logoView.style.pointerEvents="none",Tween(i.logoView,UPDATE_SPEED,{alpha:0,display:"none"})}function n(){i.logoView.updatePosition(),i.logoView.display="block",Tween.defer(i.logoView,UPDATE_SPEED,{alpha:1,onComplete:function(){i.logoView.style.pointerEvents="auto"}})}return i.updateSpeed=0,i.logoView=new t.LogoView({parentView:i.parentView,parentController:i,events:t.siteControllerEvents}),i.logoView.alpha=0,i.events.addEventListener("LOGO_CHILD_ADDED",n),(USER_AGENT===MOBILE?/thumbs|site/.test(LAYOUT_MODEL.mobileLogoPlacement)?i.parentView:t.menuController.menuView.mask:"menu"===LAYOUT_MODEL.logoPlacement?t.menuController.menuView:i.parentView).addChild(i.logoView),i.events.addEventListener(SETTINGS_MODEL_CHANGE,function(e){/intro|logo/i.test(e.id)&&(i.logoView.updateStyle(e),i.logoView.updatePosition(e))}),i.events.addEventListener(LAYOUT_MODEL_CHANGE,function(e){"logoPlacement"===e.id&&("menu"===e.value?(i.parentView.removeChild(i.logoView),t.menuController.menuView.addContent(i.logoView)):(t.menuController.menuView.removeContent(i.logoView),i.parentView.addChild(i.logoView)));/^logoText$|^logoHtml$|^logoFile$|^mobileLogoFile$|^tabletLogoFile$/.test(e.id)||(i.logoView.updateStyle(e),i.logoView.updatePosition(e))}),i.events.addEventListener(RESIZE_END,i.logoView.updatePosition),i.events.addEventListener(SITE_URI_CHANGE,i.logoView.updatePosition),i.events.addEventListener(MENU_DOCK_CLOSE,function(){USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&e()}),i.events.addEventListener(MENU_DOCK_OPEN,function(){n()}),i.logoView.addEventListener(CLICK,function(e){this.txt&&-1stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width)?stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width):t,i=percentToPixels(LAYOUT_MODEL.mobileLogoHeight,stage.height)||percentToPixels(LAYOUT_MODEL.logoHeight,stage.height)||2e3),i=ScaleEngine({type:"fit",hRange:t,vRange:i,width:d,height:h,disableOrientationCheck:!0}),u.img.width=i.width,u.img.height=i.height,u.width=i.width,u.height=i.height):e&&e.action&&"changeTemplate"===e.action||(t=(e=RetinaResizeEngine({width:d,height:h,filename:l})).width,i=ScaleEngine({type:"fit",hRange:t=USER_AGENT===MOBILE?e.width>stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width)?stage.width-2*percentToPixels(LAYOUT_MODEL.mobileLogoOffsetX,stage.width):t:t,vRange:e.height,width:d,height:h,disableOrientationCheck:!0}),u.img.width=i.width,u.img.height=i.height,u.width=i.width,u.height=i.height)),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&(u.element.style.transform="rotate("+(LAYOUT_MODEL.logoRotation||0)+"deg)"),Tween.defer(u,0,{x:layoutCalcs.logoView.x(u.width),y:layoutCalcs.logoView.y(u.height)})},u.updateStyle=function(e){var t,i,n,o,a;e&&e.id&&/logo|layoutModelInit/i.test(e.id)&&(t=i=e="",n="normal",isPod()?(e=SETTINGS_MODEL.mobileLogoFile||LAYOUT_MODEL.mobileLogoFile||"",i=SETTINGS_MODEL.mobileLogoText||LAYOUT_MODEL.mobileLogoText||"",t=SETTINGS_MODEL.mobileLogoHtml||LAYOUT_MODEL.mobileLogoHtml||"",n=firstValid(LAYOUT_MODEL.mobileLogoBlendMode,LAYOUT_MODEL.logoBlendMode,"normal"),e||i||t||(e=STATE.logoFile||LAYOUT_MODEL.logoFile||"",i=STATE.logoText||LAYOUT_MODEL.logoText||"",t=STATE.logoHtml||LAYOUT_MODEL.logoHtml||"")):isPad()?(e=SETTINGS_MODEL.tabletLogoFile||LAYOUT_MODEL.tabletLogoFile||"",i=SETTINGS_MODEL.tabletLogoText||LAYOUT_MODEL.tabletLogoText||"",t=SETTINGS_MODEL.tabletLogoHtml||LAYOUT_MODEL.tabletLogoHtml||"",n=firstValid(LAYOUT_MODEL.tabletLogoBlendMode,LAYOUT_MODEL.logoBlendMode,"normal"),e||i||t||(e=STATE.logoFile||LAYOUT_MODEL.logoFile||"",i=STATE.logoText||LAYOUT_MODEL.logoText||"",t=STATE.logoHtml||LAYOUT_MODEL.logoHtml||"")):(e=STATE.logoFile||LAYOUT_MODEL.logoFile||"",i=STATE.logoText||LAYOUT_MODEL.logoText||"",t=STATE.logoHtml||LAYOUT_MODEL.logoHtml||"",n=firstValid(LAYOUT_MODEL.logoBlendMode,"normal")),u.element.style["mix-blend-mode"]=n,l=-1=t&&window.scrollY+.5*window.innerHeight<=t+e.view.height&&(e.controller.checkCaption(),STATE.section(e.controller.section),m.dispatchEvent("cursorAxisUpdate",getCursorAxis(STATE.overrides.transitionType)),m.dispatchEvent("updateSectionPassive",{section:e.controller.section,assetId:e.controller.getCurrentAssetId(),mode:e.controller.getCurrentMode()}))})}function g(e){return STATE.section(e),!isSlideshowGallery(e)&&STATE.overrides.thumbnailDefaultOn&&/fill|paginated|vMasonry|hMasonry/i.test(STATE.overrides.thumbnailType)&&1===LAYOUT_MODEL.overlayAlpha||isIndexSection(e)}function v(e){return STATE.section(e),!isSlideshowGallery(e)&&"none"!==STATE.overrides.thumbnailType&&(STATE.overrides.thumbnailDefaultOn||isIndexSection(e))&&e&&e.media&&1{r&&STATE.section(r.section),i?(layoutCalcs.mediaOverlayState="closed",E.updatePosition(),setTimeout(function(){m.dispatchEvent("updateSectionPassive",{section:r.section,assetId:r.assetId,mode:r.mode},500)})):m.dispatchEvent(ADDRESS_SECTION_CHANGE,{type:"internal",path:"",target:"_self"})};var S=createDebounce(50),A=createDebounce(50);function O(t,e){m.removeEventListener(RESIZE_END,function(){(e?A:S)(t.layout)}),m.removeEventListener("UPDATE_CONTENT_HEIGHT",function(){(e?A:S)(t.layout)}),m.removeEventListener(LAYOUT_MODEL_CHANGE,t.modelChange),m.removeEventListener(SECTIONS_MODEL_CHANGE,t.modelChange),m.removeEventListener(SETTINGS_MODEL_CHANGE,function(e){/backgroundimages|template|staging/.test(e.id)&&t.modelChange()}),m.removeEventListener("mediaOverlayClose",c)}function b(t,e){m.addEventListener(RESIZE_END,function(){(e?A:S)(t.layout)}),m.addEventListener("UPDATE_CONTENT_HEIGHT",function(){(e?A:S)(t.layout)}),m.addEventListener(LAYOUT_MODEL_CHANGE,t.modelChange),m.addEventListener(SECTIONS_MODEL_CHANGE,t.modelChange),m.addEventListener(SETTINGS_MODEL_CHANGE,function(e){/backgroundimages|template|staging/.test(e.id)&&t.modelChange()}),m.addEventListener("mediaOverlayClose",c)}function y(e,t){return e.key===t.section.key}m.addEventListener("autoplayTarget",function(i){var e;/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)?u&&Object.keys(u).map(function(e){return u[e]}).forEach(function(e){var t;y(e.controller.section,i)&&(STATE.section(e.controller.section),/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(i.mode)||STATE.mediaView.videoAutoPlay()&&(t=(t=e.view.container.children[i.assetId])?t.id:void 0)),e.events.dispatchEvent("mediaAutoPlay",t)}):a&&(STATE.section(a.controller.section),/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(i.mode)||STATE.mediaView.videoAutoPlay()&&(e=(e=a.view.container.children[i.assetId])?e.id:void 0),a.events.dispatchEvent("mediaAutoPlay",e))}),m.addEventListener("spacebarPlay",function(i){var e;/unifiedSiteScroll/.test(STATE.overrides.siteDisplayBehavior)?u&&Object.keys(u).map(function(e){return u[e]}).forEach(function(e){var t;y(e.controller.section,i)&&(STATE.section(e.controller.section),/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(i.mode)||(t=(t=e.view.container.children[i.assetId])?t.id:void 0)),e.events.dispatchEvent("spacebarTogglePlay",t)}):a&&(STATE.section(a.controller.section),/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(i.mode)||(e=(e=a.view.container.children[i.assetId])?e.id:void 0),a.events.dispatchEvent("spacebarTogglePlay",e))}),m.addEventListener(SITE_URI_CHANGE,function(e){T=e;var t=!1;STATE.section(e.section),/^unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?(n&&n.module.view.close(function(){n&&n.destroy(),n=null}),i?e.info.isParentSectionChange||i&&"legacy"===i.type||e.info.isPasswordSection||e.info.isSearchSubmit?(i&&(O(i),i.destroy()),b(i=s(e)),i.uriChange(e,t=!0),i.layout(t)):e.info.isModeChange?(i.uriChange(e,t),i.layout(t)):(i.uriChange(e,t),i.scrollTo(e,t)):(b(i=s(e)),i.uriChange(e,t=!0),i.layout(t))):!/overlay/.test(STATE.overrides.siteDisplayBehavior)||STATE.overrides.siteDisplayGalleryOnlyOverlay&&g(e.section)&&/fill|vMasonry|hMasonry/.test(STATE.overrides.thumbnailType)&&/thumbs/.test(e.mode)?(n&&n.module.view.close(function(){n&&n.destroy(),n=null}),e.info.isSectionChange||!i||i&&"unified"===i.type?(i&&(O(i),i.destroy()),b(i=d()),i.module.controller.build(e),t=!0,i.layout(function(){})):e.info.isModeChange?(i.uriChange(e,t),i.layout()):i&&i.uriChange(e,t)):(n&&(e.info.isSectionChange||e.section.id!==n.module.view.section.id)&&(O(n,!0),n.destroy(),n=null),layoutCalcs.mediaOverlayState="open",n||(r=e.prevState,b(n=h(),!0),t=!0,n.module.controller.build(e)),n.uriChange(e,t),n.layout(),n.module.view.open(),layoutCalcs.sectionDisplayMode)}),m.addEventListener(LAYOUT_MODEL_CHANGE,function(e){/siteDisplayBehavior|transitionType/.test(e.id)&&i&&(O(i),i.destroy(),STATE.section(T.section),"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?i=s(T):(i=d()).module.controller.build(T),b(i),built=!0,i.layout())}),m.addEventListener(SECTIONS_MODEL_CHANGE,function(){i&&(O(i),i.destroy(),STATE.section(T.section),"unifiedSiteScrollVertical"===STATE.overrides.siteDisplayBehavior?i=s(T):(i=d()).module.controller.build(T),b(i),built=!0,i.layout())})}var MediaController=function(){function e(e,t){var n,o=this,a=e,i=t,r=/contactTitleFont|contactTitleFontSize|contactTitleShow|contactFont|contactFontSize|contactFontColor|contactFieldRectColor/,l=/attachmentGallery|containerColor|transitionType|imageAlignHorizontal|imageAlignVertical|imageScaleType|videoScaleType|imageVideoInactiveAlpha|imageVideoMarginTop|imageVideoMarginRight|imageVideoMarginBottom|imageVideoMarginLeft|imageVideoScrollType|imageVideoScrollbarRounded|imageVideoScrollVisibility|imageVideoScrollbarHorizontalOffset|imageVideoScrollbarVerticalOffset/,s=/pageMarginTop|pageMarginRight|pageMarginBottom|pageMarginLeft|pageScrollVerticalMargin|pageTextFont|pageTextKerning|pageTextFontSize|pageTextFontColor|pageTitle|pageTitleFont|pageTitleKerning|pageTitleFontSize|pageTitleFontColor|pageScrollbarAlignment|pageScrollbarHorizontalOffset|pageScrollbarVerticalOffset|pageScrollbarColor|pageScrollbarHover|pageScrollbarBgAlpha|pageScrollbarWidth/,d=/landingMediaRandomize|landingMediaTransitionType|landingMediaSpeed|landingMediaTransitionDuration|landingMediaAlignHorizontal|landingMediaAlignVertical|landingMediaScaleType/,h=!0;function c(){a.dispatchEvent(PAUSE_MEDIA)}function u(){a.dispatchEvent(RESIZE),STATE.section(o.section),o.staticNav&&o.staticNav.resize({x:0,y:0,width:STATE.mediaView.zoneWidth(),height:o.getTotalHeight()})}i.addEventListener(ORIENTATION_CHANGE,function(){a.dispatchEvent(ORIENTATION_CHANGE)}),i.addEventListener(LAYOUT_MODEL_CHANGE,function(e){a.dispatchEvent(LAYOUT_MODEL_CHANGE,e),o.section&&"layoutModelInit"!==e.id&&(r.test(e.id)||l.test(e.id)||s.test(e.id)||d.test(e.id))&&(a.dispatchEvent("SectionMediaFactory/buildItems",{section:o.section,media:removeLinksFromMedia(o.section.media)}),a.dispatchEvent("assetReset"));T(o)}),i.addEventListener(SECTIONS_MODEL_CHANGE,function(e){{var t,i;o.section&&(STATE.section(o.section),a.dispatchEvent(SECTIONS_MODEL_CHANGE,e),"update"!==e.method||e.id!==o.section.id||function(e,t){return/thumb/.test(t)&&"strip"!==e}(STATE.overrides.thumbnailType,o.state.mode)||("media"===e.field?(a.dispatchEvent("SectionMediaFactory/buildItems",{section:o.section,media:e.value?removeLinksFromMedia(e.value):[]}),a.dispatchEvent("assetReset")):"overrides"===e.field?(t=JSON.stringify(e.value),(/page/.test(t)&&"html"===layoutCalcs._activeMediaType||/imageVideo|caption/.test(t)&&/image|video/.test(layoutCalcs._activeMediaType))&&(a.dispatchEvent("SectionMediaFactory/buildItems",{section:o.section,media:removeLinksFromMedia(o.section.media)}),a.dispatchEvent("assetReset"))):(a.dispatchEvent("SectionMediaFactory/buildItems",{section:o.section,media:removeLinksFromMedia(o.section.media)}),a.dispatchEvent("assetReset"),"slideshow"===e.field&&(t=e.value?"landingMedia":"mediaView",n=t,o.mediaViewBehavior=o.behavior.navigationModeChange(t),(i=o.state).isLandingMedia=e.value,i.info.mediaViewState=t,o.mediaViewBehavior.uriChange(i))),T(o)))}}),i.addEventListener(SETTINGS_MODEL_CHANGE,function(e){a.dispatchEvent(SETTINGS_MODEL_CHANGE,e),"update"===e.method&&o.section&&("landingMedia"===o.section.id||o.section.isIntroGallery)&&"backgroundImages"===e.id&&i.dispatchEvent("resetUriChange",e)}),i.addEventListener(MEDIA_MODEL_CHANGE,function(e){a.dispatchEvent(MEDIA_MODEL_CHANGE,e),"update"===e.method&&o.section&&-1o.thumbsTotalHeight?o.totalHeight:o.thumbsTotalHeight);var t,e=/top|bottom/.test(STATE.menuView.placement())&&!LAYOUT_MODEL.isMenuScrollReveal&&getMarginOverlap()||0,e=(e&&(t-=e),{height:o.totalHeight});o.mediaView.container.children[0]&&(e.isFullTextHeight=allowPageContentHeight(o.mediaView.container.children[0],o.mediaView.container.children.length)),t&&(e.zoneHeight=t),layoutCalcs.updateSectionState(o.section.key,e),o.staticNav&&o.staticNav.resize({x:0,y:0,width:STATE.mediaView.zoneWidth(),height:o.getTotalHeight()}),i.dispatchEvent("UPDATE_CONTENT_HEIGHT")}),o.getTotalHeight=function(){var e,t;return STATE.section(o.section),"none"===STATE.overrides.siteDisplayBehavior?STATE.mediaView.zoneHeight():isIndexSection(o.section)&&/thumbs/.test(o.state.mode)?o.thumbsTotalHeight||STATE.mediaView.zoneHeight(o.section.key):isSlideshowGallery(o.section)||/none/.test(STATE.overrides.thumbnailType)||!/thumbs/.test(o.state.mode)?/unifiedSiteScrollVertical/.test(STATE.overrides.siteDisplayBehavior)?(e=o.mediaView.container.boundsHeight,t=layoutCalcs.getMaxScrollSectionHeight(o.mediaView),/vScroll/.test(STATE.overrides.transitionType)||e&&eu.assetId&&a?-1i.v&&(n=i.v),e.height=n+t.top+t.bottom),e.updatePosition()}return function(){h.mask.element.scrollLeft=0,h.mask.element.scrollTop=0,h.mask.element.style.overflow="hidden",h.section&&STATE.section(h.section);var e=0,t=s.children,i=t.length,n=0,o=STATE.mediaView.height(h.section.key),a=h.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(a&&(o=layoutCalcs.getMaxScrollSectionHeight(h));ei.v&&(n=i.v),e.height=n+t.top+t.bottom),e.updatePosition()}return function(){E.mask.element.scrollLeft=0,E.mask.element.scrollTop=0,E.mask.element.style.overflow="hidden",E.section&&STATE.section(E.section);var e,t=new c,i=(t.gap=0,t.axis="y",t.align="left",t.wrap=!0,t.perpLength=4*STATE.mediaView.width(),0),n=u.children,o=n.length,a=STATE.mediaView.height(E.section.key),r=E.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(r&&(a=layoutCalcs.getMaxScrollSectionHeight(E));ii.v&&(n=i.v),e.height=n+t.top+t.bottom):e.height=STATE.mediaView.height()),e.updatePosition()}return"native"===STATE.overrides.imageVideoScrollType||MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.globalSmoothScroll)?(e.element.style.overflowY="hidden",e.element.style.overflowX="scroll"):(u.scroll&&u.scroll.destroy(),t={name:"horiz scroll",types:["bar","wheel","touch"],axis:"x",align:"left",color:STATE.overrides.imageVideoScrollbarColor,hover:STATE.overrides.imageVideoScrollbarHover,side:STATE.overrides.imageVideoScrollbarAlignment,alpha:STATE.overrides.imageVideoScrollbarBgTransparency,width:STATE.overrides.imageVideoScrollbarWidth,offsetX:STATE.overrides.imageVideoScrollbarHorizontalOffset,offsetY:STATE.overrides.imageVideoScrollbarVerticalOffset,topPad:0,property:"translate",zIndex:STATE.mediaView.zIndex,rounded:STATE.overrides.imageVideoScrollbarRounded,visibility:STATE.overrides.imageVideoScrollbarVisibility},"nativeMacOs"!==STATE.overrides.imageVideoScrollType&&!LAYOUT_MODEL.globalSmoothScroll||(t.margin=0,t.color="#000000",t.hover="#000000",t.side="bottom",t.alpha=0,t.width=7,t.offsetX=0,t.offsetY=0,t.rounded=!0,t.visibility="when scrolling"),u.scroll=new Scroll(E,e,t)),function(e){for(var t=new c,i=(t.gap=0,t.axis="x",t.align="left",t.wrap=!1,t.perpLength=STATE.mediaView.height(u.section.key),u.section&&STATE.section(u.section),STATE.mediaView.height(u.section.key)),n=u.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior),o=(n&&(i=layoutCalcs.getMaxScrollSectionHeight(u)),0),a=E.children,r=a.length;o=t.x&&-c.translateX+i<=t.x+t.width&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):u.scrollLeft+i>=t.x&&u.scrollLeft+i<=t.x+t.width&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function o(e){T.dispatchEvent("mediaScrollStart"),!1!==r&&T.dispatchEvent("pauseMedia"),l?m(s):p()}function a(e){r&&n(),!1!==r&&(r=void 0)}function g(e){void 0===r&&(r=!0),h.lazyLoader&&h.lazyLoader.update(),r&&n()}function v(e){t||o(),clearTimeout(t),g(),t=setTimeout(function(){a(),t=null},300)}return h.scroll?(h.scroll.addEventListener("scrollStop",a),h.scroll.addEventListener("scrollStart",o),h.scroll.addEventListener(SCROLL,g)):u.element.addEventListener("scroll",v),i.destroy=function(){h.scroll?(h.scroll.removeEventListener("scrollStop",a),h.scroll.removeEventListener("scrollStart",o),h.scroll.removeEventListener(SCROLL,g)):u.element&&u.element.removeEventListener("scroll",v)},i}function ScrollLayoutHorizontalNoCrop(e){var t,c=Tile,u=e.mediaView,T=e.localEvents,E=u.container,e=u.mask;function m(e,t,i,n){var o;/html|contact/.test(e.mediaItem.type)?(e.width=STATE.overrides.pageMaxWidth||STATE.mediaView.width(),e.height=STATE.mediaView.height(u.section.key)):(o=ScaleEngine(getScaleVars(e,i,STATE.mediaView.imageScaleType())),e.width=o.width+t.left+t.right,/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?(n=n?o.height:i.v,/fitWidth|^fill$/.test(STATE.mediaView.imageScaleType())&&o.height>i.v&&(n=i.v),e.height=n+t.top+t.bottom):e.height=STATE.mediaView.height()),e.updatePosition()}return"native"===STATE.overrides.imageVideoScrollType||MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.globalSmoothScroll)?(e.element.style.overflowY="hidden",e.element.style.overflowX="scroll"):(u.scroll&&u.scroll.destroy(),t={name:"horiz scroll",types:["bar","wheel","touch"],axis:"x",align:"left",color:STATE.overrides.imageVideoScrollbarColor,hover:STATE.overrides.imageVideoScrollbarHover,side:STATE.overrides.imageVideoScrollbarAlignment,alpha:STATE.overrides.imageVideoScrollbarBgTransparency,width:STATE.overrides.imageVideoScrollbarWidth,offsetX:STATE.overrides.imageVideoScrollbarHorizontalOffset,offsetY:STATE.overrides.imageVideoScrollbarVerticalOffset,topPad:0,property:"translate",zIndex:STATE.mediaView.zIndex,rounded:STATE.overrides.imageVideoScrollbarRounded,visibility:STATE.overrides.imageVideoScrollbarVisibility},"nativeMacOs"!==STATE.overrides.imageVideoScrollType&&!LAYOUT_MODEL.globalSmoothScroll||(t.margin=0,t.color="#000000",t.hover="#000000",t.side="bottom",t.alpha=0,t.width=7,t.offsetX=0,t.offsetY=0,t.rounded=!0,t.visibility="when scrolling"),u.scroll=new Scroll(E,e,t)),function(e){var t=new c,i=(t.gap=0,t.axis="x",t.align="left",t.wrap=!1,t.perpLength=STATE.mediaView.height(u.section.key),u.section&&STATE.section(u.section),0),n=E.children,o=n.length,a=STATE.mediaView.height(u.section.key),r=u.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(r&&(a=layoutCalcs.getMaxScrollSectionHeight(u));i=t.x&&-c.translateX+i<=t.x+t.width&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):u.scrollLeft+i>=t.x&&u.scrollLeft+i<=t.x+t.width&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function o(e){T.dispatchEvent("mediaScrollStart"),!1!==r&&T.dispatchEvent("pauseMedia"),l?m(s):p()}function a(e){r&&n(),!1!==r&&(r=void 0)}function g(e){void 0===r&&(r=!0),h.lazyLoader&&h.lazyLoader.update(),r&&n()}function v(e){t||o(),clearTimeout(t),g(),t=setTimeout(function(){a(),t=null},300)}return h.scroll?(h.scroll.addEventListener("scrollStop",a),h.scroll.addEventListener("scrollStart",o),h.scroll.addEventListener(SCROLL,g)):u.element.addEventListener("scroll",v),i.destroy=function(){h.scroll?(h.scroll.removeEventListener("scrollStop",a),h.scroll.removeEventListener("scrollStart",o),h.scroll.removeEventListener(SCROLL,g)):u.element&&u.element.removeEventListener("scroll",v)},i}function ScrollLayoutVertical(e){var t,u=Tile,T=e.mediaView,E=e.localEvents,m=T.container,i=T.mask;return STATE.siteView.unifiedPageScroll()||("native"===STATE.overrides.imageVideoScrollType||USER_AGENT===MOBILE||USER_AGENT===TABLET||MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.globalSmoothScroll)?(i.element.style.overflowX="hidden",i.element.style.overflowY="scroll"):(T.scroll&&T.scroll.destroy(),e={name:"horiz scroll",types:["bar","wheel","touch"],axis:"y",align:"left",color:STATE.overrides.imageVideoScrollbarColor,hover:STATE.overrides.imageVideoScrollbarHover,side:STATE.overrides.imageVideoScrollbarAlignment,alpha:STATE.overrides.imageVideoScrollbarBgTransparency,width:STATE.overrides.imageVideoScrollbarWidth,offsetX:STATE.overrides.imageVideoScrollbarHorizontalOffset,offsetY:STATE.overrides.imageVideoScrollbarVerticalOffset,topPad:0,parent:e.siteView,property:"translate",zIndex:STATE.mediaView.zIndex,rounded:STATE.overrides.imageVideoScrollbarRounded,visibility:STATE.overrides.imageVideoScrollbarVisibility},"nativeMacOs"!==STATE.overrides.imageVideoScrollType&&!LAYOUT_MODEL.globalSmoothScroll||(e.margin=0,e.color="#000000",e.hover="#000000",e.side="bottom",e.alpha=0,e.width=7,e.offsetX=-10,e.offsetY=0,e.rounded=!0,e.visibility="when scrolling"),T.scroll=new Scroll(m,i,e))),function(c){clearTimeout(t),t=setTimeout(function(){for(var e=new u,t=(e.gap=0,e.axis="y",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.width(),e.name="vScroll",T.section&&STATE.section(T.section),0),i=m.children,n=i.length;tSTATE.mediaView.zoneHeight(h.section.key)&&USER_AGENT!==MOBILE?E(a):m())},"Firefox"===BROWSER_NAME?1e3:300)}function E(e){for(var t=c.children.length;t--;){var i=c.children[t],n=void 0===e||!isNaN(e)&&e===t?1:STATE.overrides.imageVideoInactiveAlpha;Tween(i,STATE.mediaView.transitionDuration(),{alpha:n})}}function m(){for(var e=c.children.length;e--;)Tween(c.children[e],STATE.mediaView.transitionDuration(),{alpha:1})}function p(e,t){return isBlogFeed(h.section.id)||0===e?"top":e===t-1?"bottom":STATE.mediaView.vAlign()}function a(){for(var e=c.children.length;e--;){var t=c.children[e],i=.5*u.height;h.scroll?-c.translateY+i>=t.y&&-c.translateY+i<=t.y+t.height&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):STATE.siteView.unifiedPageScroll()?window.scrollY+.5*window.innerHeight>=t.absY&&window.scrollY+.5*window.innerHeight<=t.absY+t.height&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):u.scrollTop+i>=t.y&&u.scrollTop+i<=t.y+t.height&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){T.dispatchEvent("mediaScrollStart"),!1!==l&&T.dispatchEvent("pauseMedia"),s?E(i):m()}function g(e){l&&!s&&a(),!1!==l&&(l=void 0)}function v(e){void 0!==l||s||(l=!0),h.lazyLoader&&h.lazyLoader.update(),l&&!s&&a()}function f(e){t||r(),clearTimeout(t),v(),t=setTimeout(function(){g(),t=null},300)}return h.scroll?(h.scroll.addEventListener("scrollStop",g),h.scroll.addEventListener("scrollStart",r),h.scroll.addEventListener(SCROLL,v)):(STATE.siteView.unifiedPageScroll()?window:u.element).addEventListener("scroll",f),o.destroy=function(){h.scroll?(h.scroll.removeEventListener("scrollStop",g),h.scroll.removeEventListener("scrollStart",r),h.scroll.removeEventListener(SCROLL,v)):STATE.siteView.unifiedPageScroll()?window.removeEventListener("scroll",f):u.element&&u.element.removeEventListener("scroll",f)},o}function ScrollLayoutVerticalNoCrop(e){var t,u=Tile,T=e.mediaView,E=e.localEvents,m=T.container,i=T.mask;return STATE.siteView.unifiedPageScroll()||("native"===STATE.overrides.imageVideoScrollType||MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.imageVideoScrollType||LAYOUT_MODEL.globalSmoothScroll)?(i.element.style.overflowX="hidden",i.element.style.overflowY="scroll"):(T.scroll&&T.scroll.destroy(),e={name:"horiz scroll",types:["bar","wheel","touch"],axis:"y",align:"left",color:STATE.overrides.imageVideoScrollbarColor,hover:STATE.overrides.imageVideoScrollbarHover,side:STATE.overrides.imageVideoScrollbarAlignment,alpha:STATE.overrides.imageVideoScrollbarBgTransparency,width:STATE.overrides.imageVideoScrollbarWidth,offsetX:STATE.overrides.imageVideoScrollbarHorizontalOffset,offsetY:STATE.overrides.imageVideoScrollbarVerticalOffset,topPad:0,parent:e.siteView,property:"translate",zIndex:STATE.mediaView.zIndex,rounded:STATE.overrides.imageVideoScrollbarRounded,visibility:STATE.overrides.imageVideoScrollbarVisibility},"nativeMacOs"!==STATE.overrides.imageVideoScrollType&&!LAYOUT_MODEL.globalSmoothScroll||(e.margin=0,e.color="#000000",e.hover="#000000",e.side="bottom",e.alpha=0,e.width=7,e.offsetX=-10,e.offsetY=0,e.rounded=!0,e.visibility="when scrolling"),T.scroll=new Scroll(m,i,e))),function(c){clearTimeout(t),t=setTimeout(function(){for(var e=new u,t=(e.gap=0,e.axis="y",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.width(),T.section&&STATE.section(T.section),0),i=m.children,n=i.length;tSTATE.mediaView.zoneHeight(h.section.key)?E(a):m())},"Firefox"===BROWSER_NAME?1e3:300)}function E(e){for(var t=c.children.length;t--;){var i=c.children[t],n=void 0===e||!isNaN(e)&&e===t?1:STATE.overrides.imageVideoInactiveAlpha;Tween(i,STATE.mediaView.transitionDuration(),{alpha:n})}}function m(){for(var e=c.children.length;e--;)Tween(c.children[e],STATE.mediaView.transitionDuration(),{alpha:1})}function p(e,t){return isBlogFeed(h.section.id)||0===e?"top":e===t-1?"bottom":STATE.mediaView.vAlign()}function a(){for(var e=c.children.length;e--;){var t=c.children[e],i=.5*u.height;h.scroll?-c.translateY+i>=t.y&&-c.translateY+i<=t.y+t.height&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):STATE.siteView.unifiedPageScroll()?window.scrollY+.5*window.innerHeight>=t.absY&&window.scrollY+.5*window.innerHeight<=t.absY+t.height&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e}):u.scrollTop+i>=t.y&&u.scrollTop+i<=t.y+t.height&&T.dispatchEvent("ScrollTransition/updateAssetId",{id:e})}}function r(e){T.dispatchEvent("mediaScrollStart"),!1!==l&&T.dispatchEvent("pauseMedia"),s?E(i):m()}function g(e){l&&!s&&a(),!1!==l&&(l=void 0)}function v(e){void 0!==l||s||(l=!0),h.lazyLoader&&h.lazyLoader.update(),l&&!s&&a()}function f(e){t||r(),clearTimeout(t),v(),t=setTimeout(function(){g(),t=null},300)}return h.scroll?(h.scroll.addEventListener("scrollStop",g),h.scroll.addEventListener("scrollStart",r),h.scroll.addEventListener(SCROLL,v)):(STATE.siteView.unifiedPageScroll()?window:u.element).addEventListener("scroll",f),o.destroy=function(){h.scroll?(h.scroll.removeEventListener("scrollStop",g),h.scroll.removeEventListener("scrollStart",r),h.scroll.removeEventListener(SCROLL,v)):STATE.siteView.unifiedPageScroll()?window.removeEventListener("scroll",f):u.element&&u.element.removeEventListener("scroll",f)},o}function SlideLayoutHorizontal(e){var c=Tile,u=e.mediaViewContainer,T=e.localEvents,E=e.mediaView;function m(e,t,i,n){var o;/html|contact/.test(e.mediaItem.type)||!/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)||isFillSiteSlideshow(E.section)?(e.width=STATE.mediaView.width(),e.height=STATE.mediaView.height()):(o=ScaleEngine(getScaleVars(e,i,STATE.mediaView.imageScaleType())),e.width=STATE.mediaView.width(),n=n?o.height:i.v,/fitWidth|^fill$/.test(STATE.mediaView.imageScaleType())&&o.height>i.v&&(n=i.v),e.height=n+t.top+t.bottom),e.updatePosition()}return function(){E.mask.element.scrollLeft=0,E.mask.element.scrollTop=0,E.mask.element.style.overflow="hidden";var e=new c,t=(e.gap=0,e.axis="x",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.height(E.section.key),E.section&&STATE.section(E.section),0),i=u.children,n=i.length,o=STATE.mediaView.width(),a=STATE.mediaView.height(E.section.key),r=E.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(r&&(a=layoutCalcs.getMaxScrollSectionHeight(E));ti.v&&(n=i.v),e.height=n+t.top+t.bottom),e.updatePosition()}return function(){E.mask.element.scrollLeft=0,E.mask.element.scrollTop=0,E.mask.element.style.overflow="hidden";var e=new c,t=(e.gap=0,e.axis="y",e.align="left",e.wrap=!1,e.perpLength=STATE.mediaView.width(),E.section&&STATE.section(E.section),0),i=u.children,n=i.length,o=0,a=STATE.mediaView.height(E.section.key),r=E.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(r&&(a=layoutCalcs.getMaxScrollSectionHeight(E));ti.v&&(n=i.v),e.height=n+t.top+t.bottom),e.updatePosition()}return function(){T.mask.element.scrollLeft=0,T.mask.element.scrollTop=0,T.mask.element.style.overflow="hidden";var e,t=new h,i=(t.gap=0,t.axis="x",t.align="left",t.wrap=!1,t.perpLength=STATE.mediaView.height(T.section.key),T.section&&STATE.section(T.section),0),n=c.children,o=n.length,a=STATE.mediaView.height(T.section.key),r=T.maxScroll&&/unifiedSite/.test(STATE.overrides.siteDisplayBehavior);for(r&&(a=layoutCalcs.getMaxScrollSectionHeight(T));i").replace(/\\r\\n/g,"
").replace(/\n\r/g,"
").replace(/\\n\\r/g,"
").replace(/\r/g,"
").replace(/\\r/g,"
").replace(/\n/g,"
").replace(/\\n/g,"
").replace(/\\/g,""),T.selectable=!0,T.setClass("dx_page_text ql-editor"),T.fontFamily=LAYOUT_MODEL.contactFont,T.fontSize=LAYOUT_MODEL.contactFontSize,T.fontColor=LAYOUT_MODEL.contactFontColor,T.textAlign="right",T.textWrap=!1,u.addChild(T),u.addChild(E);var t=u.element.getElementsByTagName("img"),i=t.length;if(0E.height?n+=T.element.offsetHeight+0:n=(n+=E.height)+(h.element.offsetHeight+5+0),u.height=n}function f(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,.2),border:"1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.7)})}function L(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,.1),border:"1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.3)})}function S(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,.8)})}function A(e){Tween(this,UPDATE_SPEED,{backgroundColor:toRgba(LAYOUT_MODEL.contactFieldRectColor,1)})}function O(e){m.text=e.response,y()?LAYOUT_MODEL.contactTitleShow?(m.x=T.x,m.y=T.y+T.element.offsetHeight+16):(m.x=T.x,m.y=T.element.offsetHeight+16):(m.x=g+17,m.y=44),Tween(E,UPDATE_SPEED,{alpha:0,onComplete:function(e){E.display="none"}}),Tween(m,UPDATE_SPEED,{alpha:1})}function b(e){var t=MEDIA_MODEL[c.id],i=[].slice.apply(E.children).filter(function(e){return e.id}).reduce(function(e,t){if(e){if(e[t.id]=t.input.value||"","Name"===t.id&&""===t.input.value)return alert("Name field cannot be blank."),!1;if("Email"===t.id&&(-1===t.input.value.indexOf("@")||-1===t.input.value.indexOf(".")))return alert("Please enter valid email address."),!1;if("Comments"===t.id&&""===t.input.value)return alert("Comments field cannot be blank."),!1}return e},{});i.Title=t.label,i.toEmail=t.content.contactFormEmail,i.subject=t.content.contactFormSubject,i&&p.dispatchEvent(CONTACT_FORM_SUBMIT,i)}function y(){return STATE.section(c.section),USER_AGENT===MOBILE||u.width+16>STATE.mediaView.width()}function w(e){var t,i;STATE.section(c.section),layoutCalcs.activeMediaType=c.type,320<(g=T.element.offsetWidth)&&(g=320,T.width=320,T.textWrap=!0,T.style["word-wrap"]="break-word"),u.width=g+E.width+18,y()?(T.x=8,E.x=-8,LAYOUT_MODEL.contactTitleShow?(d&&(d.x=8,d.y=percentToPixels(LAYOUT_MODEL.contactTitleFontSize,100)),T.y=d.y+percentToPixels(LAYOUT_MODEL.contactTitleFontSize,100)+16,E.y=T.y+T.element.offsetHeight+16):(T.y=0,E.y=T.element.offsetHeight),c.scroll&&(c.scroll.align="top"),E.borderLeft="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,0),T.textAlign="left"):(T.x=0,T.y=0,E.x=g+16,E.y=44,E.borderLeft="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,.3),T.textAlign="right",LAYOUT_MODEL.contactTitleShow&&d&&(d.textWrap=!0,d.x=g+32,d.y=percentToPixels(LAYOUT_MODEL.contactTitleFontSize,100)-33),c.scroll&&(c.scroll.align="top")),l&&!l.contactFormExtra&&(c.scroll&&(c.scroll.align="top"),E.borderLeft="1px solid "+toRgba(LAYOUT_MODEL.contactFieldRectColor,0),E.x=-8,d)&&(d.x=8),u.transition=0,v(),Tween.defer(u,c.updateSpeed,{x:(STATE.section(c.section),layoutCalcs._activeView="contact",u.width+16>STATE.mediaView.width()?Math.round(.5*(STATE.mediaView.width()-E.width)):Math.round(.5*(STATE.mediaView.width()-u.width))),y:(STATE.section(c.section),layoutCalcs._activeView="contact",n>STATE.mediaView.height()?USER_AGENT===MOBILE||USER_AGENT===TABLET?40:22:Math.round(.5*(STATE.mediaView.height()-n))),onComplete:function(){c.scroll&&c.scroll.resize(),Tween(u,UPDATE_SPEED,{alpha:1})}}),c.updateSpeed=UPDATE_SPEED,isInit=!1,STATE.section(c.section),USER_AGENT===MOBILE||USER_AGENT===TABLET?(c.element.style.overflowY="scroll",c.element.style.overflowX="hidden",c.element.style["-webkit-overflow-scrolling"]="touch"):STATE.siteView.unifiedPageScroll()&&/vScroll/.test(STATE.overrides.transitionType)?(v(),setTimeout(function(){STATE.section(c.section);var e=n,t=(e=n>STATE.mediaView.height()?e:STATE.mediaView.height())!==c.contentHeight;c.contentHeight=e,c.height=e,t&&p.dispatchEvent("MEDIA_HEIGHT_CHANGE")},30)):"native"===LAYOUT_MODEL.pageScrollType||"Macintosh"===OS&&"nativeMacOs"===LAYOUT_MODEL.pageScrollType?(c.element.style.overflowY="scroll",c.element.style.overflowX="hidden"):(c.scroll&&c.scroll.destroy(),i=LAYOUT_MODEL.pageScrollbarWidth,t=USER_AGENT===MOBILE?-(i+5):LAYOUT_MODEL.pageScrollbarHorizontalOffset,t="right"===LAYOUT_MODEL.pageScrollbarAlignment?-t-i:t+i,i={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:LAYOUT_MODEL.pageScrollVerticalMargin,color:LAYOUT_MODEL.pageScrollbarColor,hover:LAYOUT_MODEL.pageScrollbarHover,side:LAYOUT_MODEL.pageScrollbarAlignment,alpha:LAYOUT_MODEL.pageScrollbarBgAlpha,width:i,offsetX:t,offsetY:LAYOUT_MODEL.pageScrollbarVerticalOffset,property:"translate",rounded:LAYOUT_MODEL.pageScrollbarRounded,visibility:LAYOUT_MODEL.pageScrollbarVisibility,scrollTopCheck:!0,parent:c},"nativeMacOs"===LAYOUT_MODEL.pageScrollType&&(i.margin=0,i.color="#000000",i.hover="#000000",i.side="right",i.alpha=0,i.width=7,i.offsetX=0,i.offsetY=0,i.rounded=!0,i.visibility="when scrolling"),c.scroll=new Scroll(u,c,i),c.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){c.scroll.percent=0,c.scroll.update(UPDATE_SPEED)}))}return c.section=r.section,c.alpha=0,u.alpha=0,u.selectable=!0,c.updateSpeed=0,c.id=r.mediaItem.id,c.type=r.mediaItem.type,c.dims=r.size.content,c.element.navigationCursor=!isSlideshowGallery(c.section),c.mediaItem=r.mediaItem,c.addEventListener(CHILD_ADDED,a),p.addEventListener(RESIZE,w),p.addEventListener(LAYOUT_MODEL_CHANGE,w),p.addEventListener("destroy",function e(t){p.removeEventListener(RESIZE,w);p.removeEventListener(LAYOUT_MODEL_CHANGE,w);p.removeEventListener("destroy",e);p.removeEventListener("showCursor",i);p.removeEventListener("hideCursor",o);p.removeEventListener(CONTACT_FORM_SENT,O);c.removeEventListener(CHILD_ADDED,a)}),p.addEventListener("showCursor",i),p.addEventListener("hideCursor",o),c.load=function(){c.loaded=!0},c.unload=function(){},c.show=function(){c.display="block",Tween(c,UPDATE_SPEED,{alpha:1})},c.hide=function(){Tween(c,UPDATE_SPEED,{alpha:0,onComplete:function(){c.display="none"}})},c.updatePosition=w,c}function ImageView(o){var a,t,r,l=new Sprite({events:o.localEvents}),i=(l.alpha=0,l.updateSpeed=0,l.overflow="hidden",l.id=o.mediaItem.id,l.type=o.mediaItem.type,l.dims=o.size.content,l.section=o.section,l.state=o.state,l.mediaItem=o.mediaItem,new Bitmap),n=new Sprite,s=o.size.content.width,d=o.size.content.height,h=0,c=0,u=0,T=0,E=0,m=0,p=!1,g=o.localEvents,v=o.state;getCaptionText(o.mediaItem)&&STATE.overrides.captionMobileOverrides&&((e=new Svg).left=0,e.top=0,e.rotate=0,e.path=new Path,e.path.scale=1,e.width=15,e.height=15,e.path.d=svgPaths.navInfo[LAYOUT_MODEL.navbarIconSet],e.path.strokeWidth="thin"===LAYOUT_MODEL.navbarIconSet?1:0,e.path.fill="thin"===LAYOUT_MODEL.navbarIconSet?"none":LAYOUT_MODEL.navbarColor,e.path.stroke="thin"===LAYOUT_MODEL.navbarIconSet?LAYOUT_MODEL.navbarColor:"none",e.addChild(e.path),(L=buildAlignedButton({alignHorizontal:"right",alignVertical:"top",horizontalOffset:25,verticalOffset:20,blendMode:"normal",font:"Helvetica",fontSize:12,fontColor:"#999999"})).zIndex=1,L.width=15,L.height=15,L.addChild(e),L.addEventListener("click",function(e){var t;a&&(a.isShowing?a.hide():(t=getCaptionText(o.mediaItem),a.text=plainTextToHtml(t),a.show(w)))}),l.addChild(L)),STATE.lightboxSection&&!LAYOUT_MODEL.lightboxGalleryBtnDisable&&!LAYOUT_MODEL.lightboxImageDisable&&STATE.lightboxButtonsEnabled()&&(e=STATE.lightboxSection.media.indexOf(l.mediaItem.id),l.mediaItem.disableLightbox||((f=buildAlignedButton({alignHorizontal:LAYOUT_MODEL.lightboxGalleryBtnAlignHorizontal||"left",alignVertical:LAYOUT_MODEL.lightboxGalleryBtnAlignVertical||"top",horizontalOffset:percentToPixels(LAYOUT_MODEL.lightboxGalleryBtnHorizontalOffset,stage.height),verticalOffset:percentToPixels(LAYOUT_MODEL.lightboxGalleryBtnVerticalOffset,stage.height),blendMode:LAYOUT_MODEL.lightboxGalleryBtnBlendMode||"difference",font:LAYOUT_MODEL.lightboxGalleryBtnFont||"Helvetica",fontSize:LAYOUT_MODEL.lightboxGalleryBtnFontSize||12,fontColor:LAYOUT_MODEL.lightboxGalleryBtnFontColor||"#999999"})).zIndex=1,f.text=-1"+o.mediaItem.label+"
"),M=Y(),Y()&&U()&&(n+="+")
"),-1===(n+=plainTextToHtml(o.mediaItem.content)).indexOf("no-lazy-load")?L.text=n.replace(/src\=/g,"data-src="):L.text=n,S.addChild(L),f.addChild(S),p=L.element.getElementsByClassName("responsive"),m=L.element.getElementsByClassName("responsive-width")}function _(e){return e.savedOpacity=e.style.opacity,e.style.opacity=0,e.originalWidth=e.style.width,e.originalHeight=e.style.height,e}function s(e){C(),b=Math.round(STATE.mediaView.maskWidth(f.element.offsetWidth)),STATE.overrides.pageMaxWidth&&b>STATE.overrides.pageMaxWidth&&(b=STATE.overrides.pageMaxWidth),E=D(L.element),T=E.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(_),x(),V(),setTimeout(function(){x(),V()},150)}function D(e){return Array.prototype.slice.apply(e.getElementsByTagName("img")).concat(Array.prototype.slice.apply(e.getElementsByTagName("video"))).concat(Array.prototype.slice.apply(e.getElementsByTagName("iframe"))).concat(Array.prototype.slice.apply(e.getElementsByTagName("input")))}function t(e){e=e.reduce(function(e,t){var i;return"img"===t.img.tagName.toLowerCase()&&(i=t.img.src.replace(w,""),e=e.concat({src:i,width:t.img.naturalWidth,height:t.img.naturalHeight})),e},[]);JSON.stringify(f.mediaItem.size.pageImages)!==JSON.stringify(e)&&(f.mediaItem.size.pageImages=e,l.dispatchEvent("adminPageviewImageSizes",f.mediaItem))}function d(o){return new Promise(function(e,t){var i,n=o.getAttribute("data-src");"img"===o.tagName.toLowerCase()?(i=setInterval(function(){o.naturalWidth&&o.naturalHeight&&(o.metaLoaded=!0,clearInterval(i),e({img:o}))},10),o.addEventListener("load",function(){Tween(o,.35,{opacity:o.savedOpacity||1})}),o.addEventListener("error",function(){clearInterval(i)}),setTimeout(function(){i&&clearInterval(i)},1e4)):e({img:o}),o.src=n})}function h(e){void 0!==SETTINGS_MODEL.disableRightClick&&!SETTINGS_MODEL.disableRightClick||e.preventDefault()}function c(e){return e.img.oncontextmenu=h,e.img.ondragstart=h,e}function P(){STATE.section(f.section),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||(S.element.style["-webkit-overflow-scrolling"]="touch"),/vScroll/.test(STATE.overrides.transitionType)&&STATE.siteView.unifiedPageScroll()?(S.element.style.overflow="hidden",S.element.style["-webkit-overflow-scrolling"]="touch",Tween.defer(L,UPDATE_SPEED,{alpha:1})):"native"===STATE.overrides.pageScrollType||MAC_SCROLLBARS&&("nativeMacOs"===STATE.overrides.pageScrollType||LAYOUT_MODEL.globalSmoothScroll)||/unifiedSite/.test(STATE.overrides.siteDisplayBehavior)?(S.element.style.overflowY="auto",S.element.style.overflowX="hidden",S.element.style["-webkit-overflow-scrolling"]="touch",Tween.defer(L,UPDATE_SPEED,{alpha:1})):(f.scroll&&f.scroll.destroy(),i=STATE.overrides.pageScrollbarWidth,t=USER_AGENT===MOBILE?-(i+5):STATE.overrides.pageScrollbarHorizontalOffset,t="right"===STATE.overrides.pageScrollbarAlignment?-t-i:t+i,i={name:"text page",types:["bar","wheel","touch"],axis:"y",align:"top",margin:STATE.overrides.pageScrollVerticalMargin,color:STATE.overrides.pageScrollbarColor,hover:STATE.overrides.pageScrollbarHover,side:STATE.overrides.pageScrollbarAlignment,alpha:STATE.overrides.pageScrollbarBgAlpha,width:i,offsetX:t,offsetY:STATE.overrides.pageScrollbarVerticalOffset,property:"translate",rounded:STATE.overrides.pageScrollbarRounded,visibility:STATE.overrides.pageScrollbarVisibility,scrollTopCheck:!0},"nativeMacOs"!==STATE.overrides.pageScrollType&&!LAYOUT_MODEL.globalSmoothScroll||(i.margin=0,i.color="#000000",i.hover="#000000",i.side="right",i.alpha=0,i.width=7,i.offsetX=0,i.offsetY=0,i.rounded=!0,i.visibility="when scrolling"),f.scroll=new Scroll(L,S,i),f.scroll.addEventListener("WINDOW_SCROLL_TOP",function(){f.scroll.percent=0,f.scroll.update(UPDATE_SPEED)})),STATE.section(f.section);var e,t=percentToPixels(STATE.overrides.pageMarginTop,stage.height),i=percentToPixels(STATE.overrides.pageMarginBottom,stage.height),n=t+L.element.offsetHeight+i;U()&&!Y()&&(e=RetinaResizeEngine({width:o.mediaItem.size.featuredImage.width,height:o.mediaItem.size.featuredImage.height,filename:u.dataSrc}),Math.round(e.width),n=t+(e=Math.round(e.height))+iSTATE.overrides.pageMaxWidth)switch(b=STATE.overrides.pageMaxWidth,STATE.overrides.pageMaxAlign){case"center":g+=Math.round(.5*(o-b));break;case"right":g+=Math.round(o-b)}if(u&&U()&&!Y()&&(g+=A+O,b-=A+O,Tween(u,f.updateSpeed,{x:g-A-O,y:v})),!M&&Y()?(u&&(f.removeChild(u),u=void 0),C(),E=D(L.element),T=E.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(_)):M&&!Y()&&(L.text="",C(),E=D(L.element),T=E.filter(function(e){return"img"===e.tagName.toLowerCase()}).map(_)),Tween(S,0,{x:g,y:v,width:b}),Tween(L,0,{width:b}),p&&((t=p[0])&&"iframe"===t.tagName.toLowerCase()?(t.style.overflow="hidden",t.style.width=b+"px",t.style.height=y+"px",t.style.border="none"):t&&(i=Math.round(STATE.mediaView.maskHeight(L.element.offsetHeight,f.section.key)),n=Math.round(STATE.mediaView.maskHeight(void 0,f.section.key)),i=nSTATE.mediaView.maskWidth()&&"hScroll"!==STATE.overrides.transitionType?(t=0,i=STATE.mediaView.maskWidth(),n=STATE.mediaView.maskHeight(void 0,d.section.key)):S>STATE.mediaView.maskHeight(void 0,d.section.key)&&(o=0,i=STATE.mediaView.maskWidth(),n=STATE.mediaView.maskHeight(void 0,d.section.key)),l.hud.resize(d.updateSpeed,t,o,i,n),o=0n.length-1&&(m=n.length-1),T.staticNav&&(T.staticNav.resize({x:0,y:0,width:STATE.overlayView.zoneWidth(),height:STATE.mediaView.zoneHeight(T.section.key)}),n.length&&1!==n.length?0===m?(T.staticNav.hide("prev"),T.staticNav.show("next")):m===n.length-1?(T.staticNav.hide("next"),T.staticNav.show("prev")):T.staticNav.show():T.staticNav.hide()),T.layout(),n[m]&&Tween(i,.35,{x:-n[m].x})},T.removeStaticNav=function(){T.removeChild(T.staticNav)},T.staticNav=(STATE.section(a.section),new StaticNav({zIndex:201,axis:"x",align:LAYOUT_MODEL.staticNavAlignment||"center",scale:LAYOUT_MODEL.staticNavIconScale||1,zone:{x:0,y:0,width:STATE.mediaView.zoneWidth(),height:STATE.mediaView.zoneHeight(T.section.key)},offset:{prevX:LAYOUT_MODEL.staticNavPrevOffsetX||0,prevY:LAYOUT_MODEL.staticNavPrevOffsetY||0,nextX:LAYOUT_MODEL.staticNavNextOffsetX||0,nextY:LAYOUT_MODEL.staticNavNextOffsetY||0},paths:{prev:{d:svgPaths.arrow3Left,fill:"none",stroke:LAYOUT_MODEL.cursorColor||"#333",strokeWidth:LAYOUT_MODEL.staticNavStrokeWidth||1},next:{d:svgPaths.arrow3Right,fill:"none",stroke:LAYOUT_MODEL.cursorColor||"#333",strokeWidth:LAYOUT_MODEL.staticNavStrokeWidth||1}},prevClick:function(e){var t=n[m=0Math.abs(e.deltaY)&&(t=n[n.length-1].x,(r-=Math.round(e.deltaX))<-Math.abs(t)?(i.x=-Math.abs(t),r=-Math.abs(t)):r<0?i.x=r:0<=r&&(i.x=0,r=0),u=setTimeout(function(){m=Math.round(Math.abs(r)/t*(n.length-1));var e=n[m];Tween(i,.35,{x:-e.x,ease:EASE.cubic.inOut,onComplete:function(){0===m?(c.hide("prev"),c.show("next")):m===n.length-1?(c.hide("next"),c.show("prev")):c.show(),T.lazyLoader.update(),r=i.x}})},500))})),T.touchNav=(l=T.staticNav,h=d=0,i.addEventListener(TOUCH_START,function(e){d=e.touches[0].pageX-i.x,touchStartPointXRef=e.touches[0].pageX},!1),i.addEventListener(TOUCH_MOVE,function(e){h=e.touches[0].pageX,s=e.touches[0].pageY,Math.abs(h)>Math.abs(s)-10&&(e.preventDefault(),e.stopPropagation()),i.x=h-d},!1),i.addEventListener(TOUCH_END,function(e){var t;20Mth.abs(o)?(0"+i.subTitle+"
"),r.label.text=o,r.label.element.style.wordBreak="break-word",r.label.fontFamily=STATE.overrides.thumbnailTitleFont,r.label.fontColor=STATE.overrides.thumbnailTitleFontColor,r.label.fontSize=STATE.overrides.thumbnailTitleFontSize,r.label.width=t,r.label.textAlign=getLabelJustification(L.isIndexSection),r.label.zIndex=5,getSpriteDims(r.label));switch(T){case"top":r.label.y=firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),r.thumb.y=E.height+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),w=E.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5)>w?E.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5):w,r.height=n+w;break;case"over":case"hover":i.type===VIDEO&&STATE.overrides.thumbnailVideoPlayIcon?r.label.y=.5*(n-50)-E.height+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,0):r.label.y=.5*(n-E.height)+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,0),r.label.pointerEvents="none",USER_AGENT===MOBILE||isPod()||USER_AGENT===TABLET||isPad()?r.label.alpha=1:r.label.alpha="over"===T?1:0;break;case"hover-bottom":r.label.pointerEvents="none",USER_AGENT===MOBILE||isPod()||USER_AGENT===TABLET||isPad()?r.label.alpha=1:r.label.alpha="over"===T?1:0,r.label.y=n+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),w=E.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5)>w?E.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5):w,r.height=n+w;break;default:r.label.y=n+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5),w=E.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5)>w?E.height+2*firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5):w,r.height=n+w}r.addChild(r.label)}"spinner"===STATE.overrides.thumbnailLoaderType&&(r.loader=new LoadingIndicator({type:"spinner",alpha:.65,color:(a=.33*((a=/fill|hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)?parseColor(STATE.overrides.thumbnailOverlayColor):parseColor(STATE.mediaView.backgroundColor()))[0]+a[1]+a[2]))<128?"#FFFFFF":"#000000"}),r.addChild(r.loader),r.loader.x=.5*(t-r.loader.width),r.loader.y=.5*(n-r.loader.height));o=new Sprite;o.id="hit",o.zIndex=4,o.element.style.borderRadius=STATE.overrides.thumbnailCornerRadius+"px",L.thumbnailOnly||(o.cursor="pointer"),USER_AGENT===MOBILE&&/hover|over/.test(T)?o.alpha=firstValid(STATE.overrides.thumbnailHoverAlphaMobile,0):USER_AGENT===TABLET&&/hover|over/.test(T)?o.alpha=firstValid(STATE.overrides.thumbnailHoverAlphaTablet,0):o.alpha=0,o.y=0,o.width=c,o.height=u,o.backgroundColor=STATE.overrides.thumbnailHoverColor,"Safari"===BROWSER_NAME&&(o.style["-webkit-backface-visibility"]="hidden",o.style.transform="translateZ(0px)"),r.addChild(o),r.hit=o;var m=getNumberOfColumns(getZoneWidth(),STATE.overrides.thumbnailVMasonryMinCols,STATE.overrides.thumbnailVMasonryMaxCols,STATE.overrides.thumbnailGap),a=/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryMaintainOrder,m=!(!(1e.mediaItem).map((o=STATE.overrides.thumbnailMasonryMaintainOrder,a=d.width*c,r=d.height*c,e=>{var t=!o&&e.overrides.thumbScaleFactor,i=e.size.thumb.width||e.size.content.width||a,e=e.size.thumb.height||e.size.content.height||r,n=t?2*r:r;return{width:n*(i/e),height:n,isDoubleSize:t}})),T=(h.setItems(u),h.setTargetWidth(e),l&&s&&l===s?(h.setHGap(N),h.setVGap(i)):(h.setHGap(t),h.setVGap(Y||t)),h.layout(),h.getItems().forEach(e=>{const t=W.grid.children[e.index];var i=t.mediaItem.overrides.thumbHorizontalOffset,n=t.mediaItem.overrides.thumbVerticalOffset,i=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&percentToPixels(i,stage.width)||0,n=USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&percentToPixels(n,stage.width)||0,o=(t.transition=0,t.width=e.width,t.height=e.height,t.thumb.width=e.width,t.thumb.height=e.height,t.hit.width=e.width,t.hit.height=e.height,t.playBtn&&(t.playBtn.x=Math.round(.5*(e.width-50)),t.playBtn.y=Math.round(.5*(e.height-50))),getLabelPosition(H.isIndexSection)),a=t.label?t.label.element.offsetHeight:0,r=firstValid(STATE.overrides.thumbnailLabelVerticalOffset,5);if(t.label&&(t.label.width=e.width,t.label.fontSize=B*STATE.overrides.thumbnailTitleFontSize,o)&&"none"!==o)switch(o){case"top":t.label.y=-(a+r),t.thumb.y=0,t.hit.y=0;break;case"over":case"hover":t.label.y=.5*(e.height-a),t.mediaItem.type===VIDEO&&STATE.overrides.thumbnailVideoPlayIcon?t.label.y=.5*(e.height-50)-a+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,0):t.label.y=.5*(e.height-a)+firstValid(STATE.overrides.thumbnailLabelVerticalOffset,0);break;case"hover-bottom":t.label.y=e.height+r;break;default:t.label.y=e.height+r}o="top"===o?e.y+n+Y:e.y+n;Tween.defer(t,H.parent.updateSpeed,{x:e.x+i,y:o,onComplete:function(){"none"!==LAYOUT_MODEL.thumbLoadEffect&&void 0!==LAYOUT_MODEL.thumbLoadEffect||Tween(t,UPDATE_SPEED,{alpha:1})}})}),H.parent.lazyLoader&&H.parent.holdersBuilt&&H.parent.lazyLoader.update(),h.getBounds()),E=getLabelPosition(H.isIndexSection),m=/top|bottom/.test(E)?Y:0,p=n+T.height+2*STATE.overrides.thumbnailVerticalMargin+m,d=(layoutCalcs._thumbContentHeight=p,STATE.overlayView.zoneWidth()),c=STATE.overlayView.zoneHeight(H.section.key),g=(G.width=d,W.width=d,W.grid.width=T.width,W.gridContainer.width=T.width,G.height=c,W.height=c,W.grid.height=T.height+m,W.gridContainer.height=p,new AlignEngine({hRange:d,vRange:c,width:T.width,height:T.height,hAlign:STATE.overrides.thumbnailMasonryFill?"left":"center",vAlign:"top",hOffset:STATE.overrides.thumbnailMasonryFill?STATE.overrides.thumbnailHorizontalMargin:0,vOffset:K?n+STATE.overrides.thumbnailVerticalMargin:STATE.overrides.thumbnailVerticalMargin}));W.gridContainer.x=Math.floor(g.x),W.grid.y=Math.floor(g.y),K&&(K.width=d,"bottom"===LAYOUT_MODEL.thumbnailTitleBlockPosition?(K.y=T.height+STATE.overrides.thumbnailVerticalMargin+STATE.overrides.thumbnailTitleBlockTopMargin,W.grid.y=STATE.overrides.thumbnailVerticalMargin):K.y=STATE.overrides.thumbnailTitleBlockTopMargin),F.totalHeight=p,H.localEvents.dispatchEvent("UPDATE_CONTENT_HEIGHT",{thumbs:p}),G.resizeThumbVideo(),parallax.update()}else{j=new Tile({name:"thumbs",type:STATE.overrides.thumbnailType,marginHorizontal:STATE.overrides.thumbnailHorizontalMargin,marginVertical:K?n+percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height)-STATE.overrides.thumbnailTitleBlockTopMargin:percentToPixels(STATE.overrides.thumbnailVerticalMargin,stage.height),gap:STATE.overrides.thumbnailGap,vGap:Math.max(STATE.overrides.thumbnailGapVertical,H.maxGap),lastRowGap:R,axis:/hscroll/i.test(STATE.overrides.thumbnailType)?"x":"y",align:/hscroll/i.test(STATE.overrides.thumbnailType)?"bottom":"left",maintainOrder:STATE.overrides.thumbnailMasonryMaintainOrder,horizontalMasonry:/hMasonry/.test(STATE.overrides.thumbnailType),masonryFill:/hMasonry|vMasonry/.test(STATE.overrides.thumbnailType)&&STATE.overrides.thumbnailMasonryFill,wrap:!0});for(var v=W.grid.children,f=0,k=v.length,L=getNumberOfColumns(d=getZoneWidth(),STATE.overrides.thumbnailVMasonryMinCols,STATE.overrides.thumbnailVMasonryMaxCols,STATE.overrides.thumbnailGap);fstage.height*LAYOUT_MODEL.menuScrollReveal?o.menuView.dock.toggleState()||o.menuView.dock.show():o.menuView.dock.toggleState()&&o.menuView.dock.hide()}!1!==LAYOUT_MODEL.menuRevealOnInit&&"overlay"!==STATE.menuView.placement()||USER_AGENT===MOBILE||USER_AGENT===TABLET||o.menuView.dock.hide(),window.addEventListener("scroll",function(){h=!1,LAYOUT_MODEL.isMenuScrollReveal&&/top/.test(STATE.menuView.placement())&&(u=!0,clearTimeout(n),n=setTimeout(function(){var e,t=STATE.siteView.height()-stage.height;e=t,c=window.scrollY>e?e:window.scrollY<0?0:window.scrollY,!0!==LAYOUT_MODEL.menuRevealOnInit&&T?(o.menuView.dock.hide(),E=!1):isRevealMenuOnScrollPercent()?(h=!0,m(c)):LAYOUT_MODEL.isMenuScrollReveal&&(0!==c&&c>window.oldScrollY-1?o.menuView.dock.toggleState()&&!T&&(o.menuView.dock.hide(),E=!1):cMth.abs(o)?(m=!(p=!0),e.stopPropagation()):(m=!0,USER_AGENT===MOBILE&&(d.dock.toggleState()?d.dock.show(0):d.dock.hide(0)),p=!1),USER_AGENT!==MOBILE&&USER_AGENT!==TABLET||!p||e.preventDefault(),t=/left|top|bottom/.test(STATE.menuView.placement())?"left":"right",USER_AGENT!==TABLET&&USER_AGENT!==MOBILE||(t="left"),p&&(d.transition=0,i=n+u,"left"===t?d.dock.toggleState()?d.translateX=0=e.touches[0].pageX&&(T="left"===t?"close":"open",E=e.touches[0].pageX))}function b(){p&&"close"===T?(i=!1,d.dock.toggleState()&&d.closeDock()):p&&"open"===T&&(i=!1,d.dock.toggleState()||d.openDock()),p=i=!1,d.removeEventListener(TOUCH_MOVE,O),d.removeEventListener(TOUCH_END,b),d.removeEventListener(TOUCH_CANCEL,b)}function y(){d.dock.toggleState()?d.closeDock():d.openDock()}function w(){return USER_AGENT!==MOBILE&&USER_AGENT!==TABLET&&LAYOUT_MODEL.menuBlendMode&&"overlay"!==STATE.menuView.placement()?LAYOUT_MODEL.menuBlendMode:"normal"}return d.openDock=function(t){t=isNaN(t)?UPDATE_SPEED:t,USER_AGENT===MOBILE||USER_AGENT===TABLET?(d.dock.show(t),d.showCloseButton(),d.events.dispatchEvent(MENU_DOCK_OPEN),d.events.dispatchEvent("MENU_DOCK_TOGGLE")):"overlay"===STATE.menuView.placement()&&(d.showCloseButton(),s&&"hover"===LAYOUT_MODEL.menuIconAction&&(s.element.onmouseenter=null),d.dock.show(0,function(e){e.display="block",d.menuText.updatePosition(0),Tween(e,t,{delay:.15,alpha:1,onComplete:function(){s&&(d.dock.toggleState()?(d.showCloseButton(),"hover"===LAYOUT_MODEL.menuIconAction&&(s.element.onmouseenter=null),s.element.onclick=y):(d.showMenuIcon(),"hover"===LAYOUT_MODEL.menuIconAction?(s.element.onmouseenter=y,s.element.onclick=isPod()||isPad()?y:null):s.element.onclick=y))}}),document.body.style.overflowY,document.body.style.overflowY="hidden"}))},d.closeDock=function(t){t=isNaN(t)?UPDATE_SPEED:t,i||USER_AGENT!==MOBILE&&USER_AGENT!==TABLET?"overlay"===STATE.menuView.placement()&&(d.showMenuIcon(),s&&("hover"===LAYOUT_MODEL.menuIconAction?(s.element.onmouseenter=y,s.element.onclick=isPod()||isPad()?y:null):s.element.onclick=y),d.dock.hide(0,function(e){Tween(e,t,{delay:.05,alpha:0,onComplete:function(){e.display="none",s&&(d.dock.toggleState()?(d.showCloseButton(),"hover"===LAYOUT_MODEL.menuIconAction&&(s.element.onmouseenter=null),s.element.onclick=y):(d.showMenuIcon(),"hover"===LAYOUT_MODEL.menuIconAction?(s.element.onmouseenter=y,s.element.onclick=isPod()||isPad()?y:null):s.element.onclick=y))}}),setTimeout(function(){/unified/.test(STATE.overrides.siteDisplayBehavior)||"overlay"===STATE.overrides.siteDisplayBehavior&&STATE.overrides.siteDisplayGalleryOnlyOverlay?document.body.style.overflowY="scroll":document.body.style.overflowY="hidden"},100)})):(d.dock.hide(t),d.showMenuIcon(),d.dock.toggleState()&&(d.events.dispatchEvent(MENU_DOCK_CLOSE),d.events.dispatchEvent("MENU_DOCK_TOGGLE")))},d.updateStyle=function(){USER_AGENT===MOBILE?Tween(d,d.updateSpeed,{backgroundColor:toRgba(LAYOUT_MODEL.menuBgColorMobile||LAYOUT_MODEL.menuBgColor,LAYOUT_MODEL.menuBgAlphaMobile||LAYOUT_MODEL.menuBgAlpha)}):USER_AGENT===TABLET?Tween(d,d.updateSpeed,{backgroundColor:toRgba(LAYOUT_MODEL.menuBgColorTablet||LAYOUT_MODEL.menuBgColor,LAYOUT_MODEL.menuBgAlphaTablet||LAYOUT_MODEL.menuBgAlpha)}):Tween(d,0,{backgroundColor:toRgba(STATE.menuView.menuBgColor(),STATE.menuView.menuBgAlpha())})},d.updatePosition=function(e){var t="layoutModelChange"===e,i=isNaN(e)?d.updateSpeed:e,e=(d.element.style["mix-blend-mode"]=w(),"Safari"===BROWSER_NAME?(d.position="absolute",setTimeout(function(){d.position=STATE.menuView.menuPositionFixed()||"overlay"===STATE.menuView.placement()?"fixed":"absolute"},200)):d.position=STATE.menuView.menuPositionFixed()||"overlay"===STATE.menuView.placement()?"fixed":"absolute",exists(d,"menuText.height")||0),n=layoutCalcs.menuView.height()-layoutCalcs.menuText.y(e),o=layoutCalcs.menuText.y(e),e=(USER_AGENT===MOBILE?n=layoutCalcs._footerHeight?layoutCalcs.menuView.height()-layoutCalcs.menuText.y(e)-layoutCalcs._footerHeight-2*layoutCalcs.mobileFooterPadding:layoutCalcs.menuView.height()-layoutCalcs.menuText.y(e):n>layoutCalcs.menuView.height()&&(n=layoutCalcs.menuView.height(),o=0),USER_AGENT!==TABLET&&USER_AGENT!==MOBILE&&LAYOUT_MODEL.navbarAlignHorizontal===STATE.menuView.placement()&&"bottom"===LAYOUT_MODEL.navbarAlignVertical&&layoutCalcs._navbarVisible&&(n=layoutCalcs.navbarView.y()-percentToPixels(LAYOUT_MODEL.sitePaddingTop,stage.height)-o-LAYOUT_MODEL.menuOffsetY-12),USER_AGENT!==TABLET&&USER_AGENT!==MOBILE&&("overlay"===STATE.menuView.placement()?s?t&&s&&(l.parentView.removeChild(s),"text"!==LAYOUT_MODEL.menuOverlayIconType?S():"text"===LAYOUT_MODEL.menuOverlayIconType&&L()):"text"!==LAYOUT_MODEL.menuOverlayIconType?S():"text"===LAYOUT_MODEL.menuOverlayIconType&&L():s&&(d.dock.show(0,function(e){e.display="block",Tween(e,i,{alpha:1})}),(/overlay/.test(STATE.menuView.placement())?stage:l.parentView).removeChild(s),s=null)),isPod()&&"overlay"===STATE.menuView.placement()?250:0);Tween(d,0,{width:layoutCalcs.menuView.width(),height:layoutCalcs.menuView.height()+e}),USER_AGENT===MOBILE?(Tween(a,i,{width:layoutCalcs.menuView.width(),height:layoutCalcs.menuView.height(),y:0}),d.menuText&&Tween(d.menuText,i,{y:o})):Tween(a,i,{width:layoutCalcs.menuView.width(),height:n,y:o}),d.updateSpeed=UPDATE_SPEED,v.width=stage.width,v.height=stage.height,d.dock.side=USER_AGENT===TABLET||USER_AGENT===MOBILE?"left":STATE.menuView.placement(),d.dock.align=isVerticalMenu()?"top":"left",d.dock.margin=isHorizontalMenu()?layoutCalcs.menuView.y():layoutCalcs.menuView.x(),d.dock.pOffset=isHorizontalMenu()?layoutCalcs.menuView.x():layoutCalcs.menuView.y(),d.dock.disableResize="overlay"===STATE.menuView.placement(),d.dock.resize(r?0:UPDATE_SPEED),setTimeout(function(){d.scroll&&d.scroll.resize()},1e3*UPDATE_SPEED)},d.addContent=function(e){d.mask.addChild(e),setTimeout(function(){d.updateScroll()},1e3*UPDATE_SPEED)},d.removeContent=function(e){d.mask.removeChild(e),setTimeout(function(){d.updateScroll()},1e3*UPDATE_SPEED)},d.updateScroll=function(){var e,t,i;(isPod()||isPad())&&(a.element.style["-webkit-overflow-scrolling"]="touch"),"native"===LAYOUT_MODEL.menuScrollType?(d.style.pointerEvents="auto",!isVerticalMenu()&&LAYOUT_MODEL.dropdownSubMenu?a.element.style.overflow="visible":isVerticalMenu()?(a.element.style.overflowY="scroll",a.element.style.overflowX="hidden"):(a.element.style.overflowY="hidden",a.element.style.overflowX="scroll")):MAC_SCROLLBARS&&("nativeMacOs"===LAYOUT_MODEL.menuScrollType||LAYOUT_MODEL.globalSmoothScroll||USER_AGENT===MOBILE)?(d.style.pointerEvents="auto",!isVerticalMenu()&&LAYOUT_MODEL.dropdownSubMenu?a.element.style.overflow="visible":isVerticalMenu()?(a.element.style.overflowY="scroll",a.element.style.overflowX="hidden"):a.element.style.overflow="auto"):isVerticalMenu()||!LAYOUT_MODEL.dropdownSubMenu?(d.scroll&&d.scroll.destroy(),a.overflow="hidden",i=LAYOUT_MODEL.menuScrollbarWidth,e="right"===LAYOUT_MODEL.menuScrollbarAlign?-i:-percentToPixels(LAYOUT_MODEL.menuWidth,stage.width),t=percentToPixels(STATE.menuView.menuTextPaddingHorizontal(),stage.width),i={name:"menu",types:["bar","wheel","touch"],axis:isVerticalMenu()?"y":"x",align:isVerticalMenu()?"top":STATE.menuView.menuTextAlignHorizontal(),alpha:LAYOUT_MODEL.menuScrollbarBgAlpha,color:LAYOUT_MODEL.menuScrollbarColor,hover:LAYOUT_MODEL.menuScrollbarHover,side:LAYOUT_MODEL.menuScrollbarAlignment,width:i,topPad:0,margin:isVerticalMenu()?2:t,offsetX:isVerticalMenu()?e:0,zIndex:500,rounded:STATE.overrides.thumbnailScrollbarRounded,visibility:STATE.overrides.thumbnailScrollbarVisibility},"nativeMacOs"!==LAYOUT_MODEL.menuScrollType&&!LAYOUT_MODEL.globalSmoothScroll||(i.color="#000000",i.hover="#000000",i.side="right",i.alpha=0,i.width=7,i.offsetX=-10,i.offsetY=0,i.rounded=!0,i.visibility="when scrolling"),d.scroll=new Scroll(d.menuText,a,i)):(d.style.pointerEvents="auto",a.element.style.overflow="visible")},d.updateStyle(),d}function MenuText(t){var i,n,o,T,a,r,E=new ViewProxy({events:t.events}),h=(E.identity="menu",E.element.setAttribute("data-identity","menu"),E.zIndex=5,E.style.pointerEvents="auto",t.model),m=(h.ROOT_SECTION.media,[]),c={},p=100;function l(){E.text="",E.children=[],(T=new Accordion(t)).alpha=0,T.gap=USER_AGENT===MOBILE?0:percentToPixels(USER_AGENT===TABLET?firstValid(LAYOUT_MODEL.menuTextGapTablet,STATE.menuView.menuTextGap()):STATE.menuView.menuTextGap(),100),LAYOUT_MODEL.menuExpandAll?T.expand="all":T.expand="single",T.toggle=!1,T.wrap=!1;var e=USER_AGENT===TABLET?LAYOUT_MODEL.menuTextAlignHorizontalTablet||"left":STATE.menuView.menuTextAlignHorizontal();USER_AGENT===MOBILE?e="left":/top|bottom/.test(STATE.menuView.placement())&&USER_AGENT!==TABLET&&(e="top"),T.align=e,T.updateSpeed=E.updateSpeed,T.axis=isVerticalMenu()?"y":"x",T.perpLength=isVerticalMenu()?E.height:E.width,T.animate=!1,E.addChild(T),u(i,!1,T,!1),E.width=T.width,E.height=T.height,T.addEventListener(ACCORDION_SIZE_CHANGE,s),s(),T.layout(),n&&E.selectMenuItem(!0),setTimeout(function(){for(var e=0,t=m.length,i=v(),n=firstValid(LAYOUT_MODEL.menuSubTextPaddingHorizontal,5);eo.tile.perpLength?a:o.tile.perpLength,o.tile.addItem(a,r)}o.tile.layoutItems();var l=STATE.menuView.menuSubTextGap();l=percentToPixels(l=USER_AGENT===TABLET?firstValid(LAYOUT_MODEL.menuTextGapTablet,STATE.menuView.menuSubTextGap()):l,100);for(var s=0;sh.perpLength&&(h.perpLength=l):r>h.perpLength&&(h.perpLength=r),h.addItem(r,l)}for(h.layoutItems(),n=0;n