CV
Selected Solo Exhibitions
2019 “Equivalence”, 75th Session of the Economic and Social Commission for Asia and the Pacific, United Nations Conference Centre, Bangkok, Thailand
2018 "Homeless", NUS Museum, Singapore
2018 “The Poverty Line”, United Nations Conference Centre, Bangkok, Thailand
2018 "The Poverty Line", Georgetown Festival, Whiteaways Arcade, Penang, Malaysia
2017 "Equivalence - The Ecological Footprint of Fish", Lianzhou Foto Festival, Lianzhou, China
2017 "Poverty is the parent of revolution and crime. - Aristotle", Myanm/art, Yangon, Myanmar
2017 "Equivalence", Objectifs Centre for Photography and Film, Singapore
2015 “deTour”, PMQ, Hong Kong
2015 “L’exposition MONEY - Les Nuits Photographiques”, Le Pavillon Carré de Baudouin, Paris
2015 “Second Photo Biennial - Unfamiliar Asia”, CAFA Museum, Beijing
2015 “The Poverty Line”, Studio 94, Taipei
2012 “Caochangdi PhotoSpring: Arles in Beijing”, Three Shadows Gallery, Beijing
2012 "3D in 4 Continents", Arts House, Singapore
2011 “The Poverty Line - China", Newton Circus, Singapore
2006 “Climbing the Human Spirit - an Everest Journey”, The National Library, Singapore
Selected Group Exhibitions
2020 “What does Democracy look like?”, Museum of Contemporary Photography, Chicago, USA
2020 "Togethering", Houston Center for Photography, Houston, Texas, USA
2019 "Intersect: Technology, Belief and the Environment", FotoFest, Houston, Texas
2019 "Athens Photo Festival", Benaki Museum, Athens, Greece
2019 "Milano Photo Week", Italy
2018 “Equivalence - The Ecological Footprint of Fish”, 2018 Xishuangbanna Foto Festival, Xishuangbanna, China,
2018 "Capitalist Realism: The loss of the future", Thessaloniki PhotoBiennale 2018, Thessaloniki Museum of Photography, Thessaloniki, Greece
2018 "Transitions II: Post-conflict: reframing a dialogue", Getxophoto International Image Festival 2018, Getxo, Spain
2017 "Here I Live- XII Annual International Media-Forum of young journalists of Eurasia «Dialogue of Cultures»", the State Hermitage Museum, Saint-Petersberg, Russia
2017 "5th International Vision Methods Conference", Singapore Institute of Technology, Singapore
2017 "Photo Speaks 2017", Mirae Baeknyeon Gwan Wolhae, Sangmyung University, Seoul, South Korea
2017 "Environmental Photo Festival »Horizons Zingst«", Baltic Sea, Germany
2017 "Shanghai International Photography Festival", China Art Museum, China
2016 "Desire and Need", Ark Gallery, Amanasalto Shanghai, China
2015 “Observations of the Ordinary by Chow3”, ION Art gallery, Singapore
2015 “Picturing Change: Visual Culture and the Art of Advocacy”, White Box Publika, Malaysia
2013 “WYNG Masters Award”, Artistree, Hong Kong
2013 “China Stories”, Museum of Modern Art, Tblisi, Georgia
2012 “Transience”, China House, Penang
2011 “Moment of Recognition”, International Center of Photography, New York
2011 “Photography Open Salon”, Galerie Huit, Arles
2009 “Prix de la Photographie”, Espace Dupon Gallery, Paris
2009 “Life and Dreams - Pingyao International Photography Festival”, China
2006 “Ngee Ann Photographic Exhibition”, Singapore
2005 “HYPE”, The Arts House, Singapore
Jury Duty
2020 British Journal of Photography, OpenWalls Arles, France
2013-2016 Photography Director and Jury, The Other Hundred, Hong Kong
2006 - 2016 The Noise Award, National Arts Council, Singapore
2015 Nikon Photography Awards, Shanghai
2015 LIGHT & LIFE, National Geographic Live and Nanyang Technological University, Singapore
2015 Light in Your Heart, Shin Kong Insurance, Taiwan
2014 Head of Jury, Crowbar Awards, Photography, Singapore
2013 Nikon Photography Awards, Tokyo
Lectures
2019 Singapore Young Leaders Forum, Singapore
2019 Reminders Project Stronghold, Tokyo, Japan
2019 Why, IDEO, Nairobi, Kenya
2018 Committee on Social Development Fifth Session, United Nations, Bangkok, Thailand
2016 Reporting on Inequality, Asian Journalism Forum, Singapore
2016 Lee Kuan Yew School of Policy, Singapore
2016 Zanadu Beijing 2016 IDEO Shanghai
2015 Picturing Poverty Conference, University of Science Po, Paris
2015 BODW, Hong Kong
2015 TBWA Singapore
2015 TEDxKyoto, Kyoto
2015 TEDxTaipei, Taipei
2015 LIGHT & LIFE, Nanyang Technological University, Singapore
2015 National Taiwan University, Taiwan
2014 APEC Women Leadership Summit, Beijing
2014 TEDxKL, Kuala Lumpur
2012 Global Talent Search, TED @ Shanghai
2012 School of Visual Arts
2008 TEDxBeijing, Beijing
Awards
2020 Winner of Category: “Science in the Arts”, Falling Walls : The Science Breakthroughs of the Year at the Berlin Science Week 2020, Germany
2020 Winner of Landskrona Foto & Artproof Portfolio Award 2020 at Landskrona Foto Festival 2020, Sweden
2020 Finalist, Silvana S. Foundation Commission Award, Singapore
2019 Winner of Luma Rencontres Dummy Book Award Arles 2019 at the Rencontres d'Arles
2019 Shortlist, Vontobel Contemporary Photography Prize, Switzerland
2019 Wood Pencil, D&AD Awards, London
2019 Merit, Tokyo Type Directors Club, Japan
2016 Honorable Mentions, Moscow International Photo Awards, Russia
2015 Outstanding Alumni, Temasek Junior College, Singapore
2014 Nominated, Young Global Leaders, World Economic Forum
2013 2nd Prize, World Press Photo, Amsterdam
2013 Nominated, Prix Pictet, Switzerland
2013 Finalist, WYNG Contemporary Art Prize, Hong Kong
2013 Winner, AI-PI, Latin American Fotografia
2011 Grand Prize, Arles Open Photography Salon, Galerie Huit, Arles
2010 1st Prize, Shipyards, Advertising, PX3, Paris
2010 Winner, World in Focus, National Geographic, New York
2010 Honorable Prize, China Workers, Px3, Paris
2009 3rd Prize, Photojournalism, Sports, PX3, Paris
2008 Winner, Eddie Adams Workshop, New York
2008 Winner, PDN Billboard Contest, New York
2008 Honorable Mention, International Photo Awards, New York
2008 Singapore Hero, Fortis, Singapore
2007 Young Outstanding Alumni, National University of Singapore
2006 Named Asia's Finest Photographers, Nikon
-1}function me(e){return pe(e)?!(xa.overrides.videoAutoPlay||xa.overrides.vimeoDefault):!xa.overrides.videoAutoPlay}function ve(e){switch(e){case"fade":case"hSlide":case"mSlide":case"hScroll":case"hScrollNC":case"grid":return"x";case"vSlide":case"vScroll":case"vScrollNC":return"y"}}function ge(e){return"%SPACER%"===e.label}function fe(e){return e&&e.media&&1===e.media.length&&/html|contact/.test(l(e.media[0]).type)}function be(e){var t=h(e);return!b(e)&&(e.isIndex?e.key:t?t.key:e.key)}function Ce(e){return function(){function t(){e.webkitSupportsPresentationMode&&e.webkitSupportsPresentationMode("fullscreen")&&"inline"===e.webkitPresentationMode?e.removeAttribute("controls"):document.isFullscreen||document.webkitIsFullscreen||e.removeAttribute("controls")}document.fullscreenElement?document.exitFullscreen():document.webkitFullscreenElement?document.webkitExitFullscreen():e.webkitSupportsPresentationMode&&e.webkitSupportsPresentationMode("fullscreen")?(e.webkitSetPresentationMode("fullscreen"),e.setAttribute("controls",!0)):e.requestFullscreen?(e.requestFullscreen(),e.setAttribute("controls",!0)):e.webkitRequestFullscreen&&(e.webkitRequestFullscreen(),e.setAttribute("controls",!0)),document.addEventListener("fullscreenchange",t,!1),document.addEventListener("webkitfullscreenchange",t,!1),e.addEventListener("webkitendfullscreen",t,!1)}}function we(e){var t=new lt;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%)":"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 ye(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 Le(e){function t(e){e.isOpen?o.closeItem(e):o.openItem(e)}function i(){n=new Ne,n.gap=o.gap,n.axis=o.axis,n.align=o.align,n.wrap=o.wrap,n.perpLength=0}e=e||{};var n,o=new ba(e),a=[];return o.identity="menu",o.element.setAttribute("data-identity","menu"),o.gap=e.gap||1,o.axis=e.axis||"y",o.align=e.align||"left",o.wrap=e.wrap||!1,o.perpLength=e.perpLength||o.width,o.expand="auto",o.toggle=e.toggle||!0,o.updateSpeed=e.updateSpeed||.35,o.animate=e.animate||!0,o.addEventListener(On,o.select),o.addItem=function(e,t,i,n){"all"===o.expand&&(n=!0);var r={container:e,title:t,content:i,isOpen:n||!1,hasSubs:e.hasSubs||!1};"x"===o.axis&&Ai.dropdownSubMenu?oe()||le()?(t.addEventListener("click",function(){o.animate=!0,o.updateSpeed=.25,o.openItem(r)}),i&&i.addEventListener("click",function(){o.closeItem(r)})):(t.addEventListener("mouseover",function(){o.animate=!0,o.updateSpeed=.25,o.openItem(r)}),t.addEventListener("mouseout",function(){o.animate=!0,o.updateSpeed=.25,o.closeItem(r)}),i&&(i.addEventListener("mouseover",function(){o.openItem(r)}),i.addEventListener("mouseout",function(){o.closeItem(r)}))):t.addEventListener(Tn,o.select),a.push(r),t.accordionItem=r,o.addChild(e)},o.select=function(e){for(var i=a.length;i--;)a[i]===this.accordionItem?"y"!==o.axis&&"x"===o.axis&&Ai.dropdownSubMenu||(o.toggle?t(this.accordionItem):this.accordionItem.isOpen||o.openItem(this.accordionItem),o.dispatchEvent(In,this.accordionItem)):"single"===o.expand&&o.closeItem(a[i]);o.layout(yo)},o.closeItem=function(e){"all"!==o.expand&&(e.isOpen=!1,e.content&&(e.content.overflow="hidden",qe(e.content,o.animate?o.updateSpeed:0,{height:0}),e.container.height=e.title.element.offsetHeight))},o.openItem=function(e){e.isOpen=!0,e.content&&(qe(e.content,o.animate?o.updateSpeed:0,{height:e.contentHeight,onComplete:function(){Ai.dropdownSubMenu&&/top|bottom/.test(xa.menuView.placement())||(e.content.overflow="visible")}}),e.container.height=e.title.element.offsetHeight+e.contentHeight)},o.layout=function(e){function t(e,t,i){return e+(t<0?-t:0)+(i+t-e<0?0:i+t-e)}o.updateSpeed=e||0,i();var r,l,s=a.length,d=-o.gap;for(n.perpLength=0,r=0;r
n.perpLength?u:n.perpLength:n.perpLength=h>n.perpLength?h:n.perpLength,n.addItem(h,u)}n.layoutItems();var p="x"===o.axis?o.gap+d:0,m="x"===o.axis?0:o.gap+d,v=n.getBounds(),g="x"===o.axis?v.width-o.gap:n.perpLength,f=v.height+("x"===o.axis?0:o.gap+d);for(r=0;rSa.menuView.width()&&(g=C)}}o.width=g,o.height=f,o.dispatchEvent(Fn,{width:g,height:f})},o}function Se(e,t,i){var n=new xe({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,r={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};return qe(e,t,r),r}function xe(e){e=e||{};var t=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 Me(e){function t(){return{left:{arrow1:{fill:Ai.cursorColor,d:wa.arrow1Left,stroke:Ai.cursorColor,strokeWidth:0},arrow2:{fill:Ai.cursorColor,d:wa.arrow2Left,stroke:Ai.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:wa.arrow3Left,stroke:Ai.cursorColor,strokeWidth:1.5},plus1:{fill:Ai.cursorColor,d:wa.plus1Left,stroke:Ai.cursorColor,strokeWidth:0},plus2:{fill:Ai.cursorColor,d:wa.plus2Left,stroke:Ai.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}},right:{arrow1:{fill:Ai.cursorColor,d:wa.arrow1Right,stroke:Ai.cursorColor,strokeWidth:0},arrow2:{fill:Ai.cursorColor,d:wa.arrow2Right,stroke:Ai.cursorColor,strokeWidth:0},arrow3:{fill:"none",d:wa.arrow3Right,stroke:Ai.cursorColor,strokeWidth:1.5},plus1:{fill:Ai.cursorColor,d:wa.plus1Right,stroke:Ai.cursorColor,strokeWidth:0},plus2:{fill:Ai.cursorColor,d:wa.plus2Right,stroke:Ai.cursorColor,strokeWidth:0},none:{fill:"none",d:"",stroke:"none",strokeWidth:0},disabled:{fill:"none",d:"",stroke:"none",strokeWidth:0}}}}function i(){var e=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";v.element.style["mix-blend-mode"]=e}function n(e){S=e||"x"}function o(e){x=!/none|disabled/.test(Ai.navCursorType)&&e}function a(e){return uo&&e.touches?e.touches[0].pageX:e.clientX}function r(e){return uo&&e.touches?e.touches[0].pageY:e.clientY}function l(){g=new ya,g.left=-20,g.top=-20,g.width=40,g.height=40,v.addChild(g),g.element.style["pointer-events"]="none",v.svg=g,f=new nt,f.id="icon",g.addChild(f),f.element.style["pointer-events"]="none",v.iconLeft=f,b=new nt,b.id="icon",g.addChild(b),b.element.style["pointer-events"]="none",v.iconCenter=b,v.iconCenter.d=wa.cursorThumbs,C=new nt,C.id="icon",g.addChild(C),C.element.style["pointer-events"]="none",v.iconRight=C,s(),Ca.addEventListener(hn,d),v.listenerAdded=!0}function s(){var e=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";v.cursorIconStyle=Ai.cursorIconStyle||"arrow2";var t=L.left[v.cursorIconStyle],i=L.right[v.cursorIconStyle];v.element.style["mix-blend-mode"]=e,v.navCursorType=Ai.navCursorType,v.iconLeft.d=t.d,v.iconLeft.fill=t.fill,v.iconLeft.stroke=t.stroke,v.iconLeft.strokeWidth=t.strokeWidth,v.iconCenter.fill=Ai.cursorColor,v.iconRight.d=i.d,v.iconRight.fill=i.fill,v.iconRight.stroke=i.stroke,v.iconRight.strokeWidth=i.strokeWidth}function d(e){if(v.enabled){if(e.target!==g.element&&e.target!==f.element&&e.target!==b.element&&e.target!==C.element){var i=a(e),n=r(e),o=xa.mediaView.x(),l=xa.mediaView.y(),d=xa.mediaView.width(),c=xa.mediaView.height();v.transition=0,v.translateX=i-2,v.translateY=n-2,e.target.navigationCursor&&v.enabled?w||h(e):w&&u(e);var m=x?.333*d:.5*d,M=x?.333*c:.5*c,T="x"===S?m:M,V="x"===S?i-o:n-l,E=T,z=2*T;(Ai.cursorColor!==L.left.arrow1.fill||Ai.cursorIconStyle!==v.cursorIconStyle&&Ai.navCursorType!==v.navCursorType)&&(L=t(),s()),VE&&Vz)&&(v.iconLeft.alpha=0,v.iconCenter.alpha=0,v.iconRight.alpha=1,v.svg.rotate="y"===S&&/arrow/.test(v.cursorIconStyle)?90:0,v.type="next")}}else p(e);clearTimeout(y),y=setTimeout(function(){p(e)},5e3)}function c(t){t.target.navigationCursor&&v.enabled&&(v.alpha=0,w=!1,"thumbs"===v.type?e.events.dispatchEvent(Ko,v.type):e.events.dispatchEvent(qo,{navDir:v.type}))}function h(e){"cursor"===Ai.navCursorType?(w=!0,v.display="block",v.alpha=.85,/none/.test(Ai.cursorIconStyle)||(e.target.style.cursor="none",v.iconLeft.cursor="none",v.iconCenter.cursor="none",v.iconRight.cursor="none",v.svg.cursor="none",v.cursor="none"),M||(Ca.element.addEventListener(Tn,c),Ca.element.addEventListener("contextmenu",m),Ca.element.addEventListener("dragstart",m),M=!0)):v.display="none"}function u(){w&&(w=!1,v.alpha=0,v.display="none"),M&&(Ca.element.removeEventListener(Tn,c),Ca.element.removeEventListener("contextmenu",m),Ca.element.removeEventListener("dragstart",m),M=!1)}function p(e){w=!1,v.alpha=0,v.display="none",e&&e.target&&e.target.style&&(e.target.style.cursor="default"),v.iconLeft.cursor="default",v.iconCenter.cursor="default",v.iconRight.cursor="default",v.svg.cursor="default",v.cursor="default","disabled"===Ai.navCursorType?v.display="none":M||(Ca.element.addEventListener(Tn,c),Ca.element.addEventListener("contextmenu",m),Ca.element.addEventListener("dragstart",m),M=!0)}function m(e){var t=void 0===Ri.disableRightClick||Ri.disableRightClick;t&&e.preventDefault()}var v=new ba({events:new Qe});v.position="fixed";var g,f,b,C,w,y,L=t(),S="x",x=!1,M=!1;return v.enabled=!0,v.zIndex=999,v.alpha=0,v.display="none",v.addEventListener("cursorAxisUpdate",n),v.addEventListener("cursorThumbsUpdate",o),v.addEventListener("cursorBlendMode",i),v.destroy=function(){Ca.removeEventListener(hn,d),v.removeEventListener("cursorAxisUpdate",n),v.removeEventListener("cursorThumbsUpdate",o),v.removeEventListener("cursorBlendMode",i),v.iconLeft.cursor="default",v.iconCenter.cursor="default",v.iconRight.cursor="default",v.svg.cursor="default",v.cursor="default",M&&(Ca.element.removeEventListener(Tn,c),Ca.element.removeEventListener("contextmenu",m),Ca.element.removeEventListener("dragstart",m),M=!1),v.text=""},l.call(v),v}function Te(e){var t=new ba,i=t;t.element.className="staticnav",t.axis=e.axis||"x",t.zone=e.zone,t.zIndex=e.zIndex;var n=new ba,o=new ya,a=new ya({type:"g"}),r=new nt,l=new ba,s=new ya,d=new ya({type:"g"}),c=new nt;n.zIndex=e.zIndex,n.position="absolute",n.width=100*e.scale,n.height=100*e.scale,o.width=100*e.scale,o.height=100*e.scale,n.addEventListener("click",function(){e.prevClick(i)}),r.d=e.paths.prev.d,r.fill=e.paths.prev.fill,r.stroke=e.paths.prev.stroke,r.strokeWidth=e.paths.prev.strokeWidth,o.addChild(a),a.addChild(r),n.addChild(o),l.zIndex=e.zIndex,l.position="absolute",l.width=100*e.scale,l.height=100*e.scale,s.width=100*e.scale,s.height=100*e.scale,l.addEventListener("click",function(){e.nextClick(i)}),c.d=e.paths.next.d,c.fill=e.paths.next.fill,c.stroke=e.paths.next.stroke,c.strokeWidth=e.paths.next.strokeWidth,s.addChild(d),d.addChild(c),l.addChild(s),t.addChild(n),t.addChild(l);var h=_i!==Ni&&_i!==Wi&&Ai.cursorIconBlendMode?Ai.cursorIconBlendMode:"normal";return n.element.style["mix-blend-mode"]=h,l.element.style["mix-blend-mode"]=h,t.updateAxis=function(e){t.axis=e,n.element.style.transformOrigin="center",l.element.style.transformOrigin="center","y"===t.axis?(n.position="fixed",l.position="fixed",n.element.style.transform="rotate(90deg)",l.element.style.transform="rotate(90deg)"):(n.position="absolute",l.position="absolute",n.element.style.transform="rotate(0deg)",l.element.style.transform="rotate(0deg)"),t.resize(t.zone)},t.resize=function(i){t.zone=i;var o,r;if("y"===t.axis)switch(e.align){case"start":o={x:i.x,y:i.y},r={x:i.x,y:i.y+i.height-l.height};break;case"end":o={x:i.x+i.width-n.width,y:i.y},r={x:i.x+i.width-l.width,y:i.y+i.height-l.height};break;default:o={x:i.x+(i.width-n.width)/2,y:i.y},r={x:i.x+(i.width-l.width)/2,y:i.y+i.height-l.height}}else switch(e.align){case"start":o={x:i.x,y:i.y},r={x:i.x+i.width-l.width,y:i.y};break;case"end":o={x:i.x,y:i.y+i.height-n.height},r={x:i.x+i.width-l.width,y:i.y+i.height-l.height};break;default:o={x:i.x,y:i.y+(i.height-n.height)/2},r={x:i.x+i.width-l.width,y:i.y+(i.height-l.height)/2}}n.x=o.x+e.offset.prevX,n.y=o.y+e.offset.prevY,l.x=r.x+e.offset.nextX,l.y=r.y+e.offset.nextY,a.scale=e.scale,d.scale=e.scale},t.hide=function(e){switch(e){case"prev":n.display="none";break;case"next":l.display="none";break;default:n.display="none",l.display="none"}},t.show=function(e){switch(e){case"prev":n.display="block";break;case"next":l.display="block";break;default:n.display="block",l.display="block"}},t.resize(e.zone),t.updateAxis(e.axis),t}function Ve(e){function t(e){u.text=e.target.tooltip,u.alpha=1,c.width=u.element.offsetWidth+2*y,c.height=u.element.offsetHeight+2*y,d.width=c.width+2*w,d.height=c.height+2*w,T=M+d.height+.5*w,V=M+w}function i(e){S=e.pageX/window.innerWidth;var t=Math.round(d.width*S);t-h.point-bd.width?(h.x=d.width-(w+h.width+b),d.x=e.pageX-d.width+w+h.point+b):(h.x=t-(w-h.width),d.x=e.pageX-t)}function n(e){e.pageY=o-1&&t<=o+1},default:function(e){return e.isInViewport}};this.update=function(e){setTimeout(function(){e&&(o=e),n()},0)}}function ke(e,t){function i(e){qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function n(e){qe(this,.2,{backgroundColor:Oa.bgColor,fontColor:Oa.fontColor})}t=t||{};var o=new ba;o.backgroundColor=t.backgroundColor||Oa.bgColorLight,o.width=250,o.height=150,o.borderRadius=4,o.overflow="hidden",o.boxShadow=Oa.shadowDark,o.addEventListener(Tn,function(e){e.stopPropagation()});var a=new ba;a.x=25,a.y=20,a.fontColor=t.fontColor||Oa.fontColor,a.fontFamily="Helvetica Neue, Arial, sans-serif",a.fontSize=15.5,a.selectable=!0,a.text=e,a.textAlign="center";var r=new ba({type:"button"});r.width=65,r.height=40,r.text="OK",r.outline="none",r.border="none",r.fontWeight="bold",r.fontSize=Oa.fontSize,r.fontColor=Oa.fontColor,r.fontFamily="Helvetica Neue, Arial, sans-serif",r.backgroundColor=Oa.bgColor,o.addChild(r),o.addChild(a);var l=[];dx&&q(dx,"site.siteView")&&(l=[q(dx,"site.siteView")]),dx&&q(dx,"admin.adminView")&&(l=[dx.site.siteView,dx.admin.adminView]);var s=new pa(o,{userOverride:t.userOverride||!0,backgroundColor:t.backgroundColor||"#000000",alpha:t.alpha||.5,blurLayers:t.blurLayers||l});s.open(),r.addEventListener(dn,i),r.addEventListener(pn,n),r.addEventListener(nn,i),r.addEventListener(on,n),r.addEventListener(Tn,function(e){t.onClose&&t.onClose(),s.close()});var d=r.element.offsetHeight,c=a.element.offsetWidth;return o.width=c+50,a.width=o.width-50,o.height=a.element.offsetHeight+d+50,r.width=o.width,r.y=o.height-d-0,s.overlayResize(),r.focus(),s}function Oe(e,t){function i(e){qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function n(e){a.call(this)}function o(e){Ca.activeFocus&&(a.call(Ca.activeFocus),Ca.activeFocus.blur()),qe(this,.2,{backgroundColor:Oa.bgColorLighter,fontColor:Oa.fontColorSelected})}function a(e){qe(this,.2,{backgroundColor:Oa.bgColor,fontColor:Oa.fontColor})}t=t||{};var r,l=new ba;l.backgroundColor=t.backgroundColor||Oa.bgColorLight,l.width=t.width||250,l.height=150,l.borderRadius=5,l.overflow="hidden",l.boxShadow=Oa.shadowDark,l.addEventListener(Tn,function(e){e.stopPropagation()});var s=new ba;s.x=25,s.y=23,s.fontColor=t.fontColor||Oa.fontColor,s.fontFamily="Helvetica Neue, Arial, sans-serif",s.fontSize=15.5,s.selectable=!0,s.text=e,s.textAlign="center";var d=new ba({type:"button"});d.width=65,d.height=40,d.text=t.cancelLabel||"CANCEL",d.outline="none",d.border="none",d.fontWeight="bold",d.fontSize=Oa.fontSize,d.fontColor=Oa.fontColor,d.fontFamily="Helvetica Neue, Arial, sans-serif",d.backgroundColor=Oa.bgColor,l.addChild(d);var c=new ba({type:"button"});c.width=65,c.height=40,c.text=t.okLabel||"OK",c.outline="none",c.border="none",c.fontWeight="bold",c.fontSize=Oa.fontSize,c.fontColor=Oa.fontColor,c.fontFamily="Helvetica Neue, Arial, sans-serif",c.backgroundColor=Oa.bgColor,l.addChild(c),l.addChild(s);var h=[dx.site.siteView];dx&&q(dx,"admin.adminView")&&(h=[dx.site.siteView,dx.admin.adminView]);var u=new pa(l,{userOverride:!0,backgroundColor:"#000000",alpha:.5,blurLayers:h,onClose:function(){t.onCancel&&!r&&t.onCancel()}});u.open(),d.addEventListener(dn,o),d.addEventListener(pn,a),c.addEventListener(dn,o),c.addEventListener(pn,a),d.addEventListener(nn,i),d.addEventListener(on,n),c.addEventListener(nn,i),c.addEventListener(on,n),d.addEventListener(Tn,function(e){t.onCancel&&t.onCancel(),u.close()}),c.addEventListener(Tn,function(e){r=!0,t.onConfirm&&t.onConfirm(),u.close()});var p=c.element.offsetHeight,m=s.element.offsetWidth;return l.width=m+50,s.width=l.width-50,l.height=s.element.offsetHeight+d.element.offsetHeight+p+50,d.width=l.width,d.y=l.height-d.height-p,c.width=l.width,c.y=l.height-p-0,u.overlayResize(),c.focus(),u}function Ie(e){function t(){i.width=d,i.height=c,i.backgroundColor=s,i.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",i.borderRadius=2,i.display="flex",a=new Je,a.textTransform="uppercase",a.text="share ↑",a.position="relative",a.element.style.padding="0 20px",a.element.style.margin="0 10px",a.height=38,a.fontFamily=Ai.menuFont,a.fontSize=16,a.fontColor=l,a.element.style.flexGrow=1,a.backgroundColor="transparent",a.addEventListener(Tn,function(){ke("The lightbox link was copied to your clipboard."),
ye(window.location.href)}),a.addEventListener(dn,function(){this.style.textDecoration="underline"}),a.addEventListener(pn,function(){this.style.textDecoration="none"}),a.style.cursor="pointer",i.addChild(a),/pdf/.test(Ai.lightboxDownloadOptions)&&(n=new Je,n.textTransform="uppercase",n.text="pdf ↓",n.position="relative",n.element.style.padding="0 20px",n.element.style.margin="0 10px",n.height=38,n.fontFamily=Ai.menuFont,n.fontSize=16,n.fontColor=l,n.element.style.flexGrow=1,n.backgroundColor="transparent",n.addEventListener(Tn,function(){ke("Please wait, it may take a few minutes while we build your PDF file."),i.events.dispatchEvent("lightboxDownloadPdf")}),n.addEventListener(dn,function(){this.style.textDecoration="underline"}),n.addEventListener(pn,function(){this.style.textDecoration="none"}),n.style.cursor="pointer",i.addChild(n)),/zip/.test(Ai.lightboxDownloadOptions)&&(o=new Je,o.textTransform="uppercase",o.text="zip ↓",o.position="relative",o.element.style.padding="0 20px",o.element.style.margin="0 10px",o.height=38,o.fontFamily=Ai.menuFont,o.fontSize=16,o.fontColor=l,o.element.style.flexGrow=1,o.backgroundColor="transparent",o.addEventListener(Tn,function(){ke("Please wait, it may take a few minutes while we build your ZIP file."),i.events.dispatchEvent("lightboxDownloadZip")}),o.addEventListener(dn,function(){this.style.textDecoration="underline"}),o.addEventListener(pn,function(){this.style.textDecoration="none"}),o.style.cursor="pointer",i.addChild(o));var e=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];r=new pa(i,{userOverride:!0,backgroundColor:m,alpha:v,blurLayers:e,zIndex:99}),r.zIndex=99,i.open(),r.onClose=function(){p=!1},i.overlay=r,r.overlayResize(),p=!0}var i=new ba({events:e.events});i.display="flex",i.element.style.alignItems="center",i.element.style.padding="0px 10px";var n,o,a,r,l,s,d=.9*Ca.width>530?530:.9*Ca.width,c=78,h=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),u=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);h?(l=Ai.inputOverlayFontColor,s=Ai.inputOverlayBarColor):u?(l=Ai.menuOverlayFontColor,s=Ai.menuOverlayBgColor):(l="#000000",s="#FFFFFF");var p,m=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",v=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return i.updateSpeed=0,i.addEventListener(Lo,function(e){}),i.updatePosition=function(e){d=.9*Ca.width>800?800:.9*Ca.width,n.x=d-.5*(c-n.width),i.width=d,i.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-d),i.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-c),i.updateSpeed=yo},i.close=function(){p=!1,r.close()},i.open=function(t){t&&(e.section=t),r.open(),setTimeout(function(){},100),p=!0},t(),i}function Fe(e){function t(){u.width=p,u.height=m,l=new ba,l.backgroundColor=h,l.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",l.borderRadius=2,l.width=p,l.height=m,r=new et,r.backgroundColor="transparent",r.fontFamily=Ai.menuFont,r.fontColor=c,r.fontSize=16,r.height=m,r.x=0,r.y=0,r.element.style.padding="0px 46px",r.addEventListener(nn,a),r.addEventListener(on,o),r.element.addEventListener(Tn,function(e){e.stopPropagation()}),r.element.tabIndex=1,u.setMessage("PASSWORD"),s=new ya;var e=new nt;e.d=wa.arrowRight,e.strokeWidth=3,e.fill="none",e.stroke=c,s.addChild(e),s.width=11,s.height=15,s.x=p-.5*(m-s.width),s.y=.5*(m-s.height),s.alpha=.5,s.cursor="pointer",s.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),s.addEventListener(pn,function(){qe(this,yo,{alpha:.5})}),r.width=p-m-96,u.addChild(l),u.addChild(r),u.addChild(s);var t=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];d=new pa(u,{userOverride:!0,backgroundColor:b,alpha:C,blurLayers:t,zIndex:99}),d.zIndex=99,u.open(),d.onClose=function(){f=!1,r.removeEventListener(fn,i),s.removeEventListener(Tn,n)},u.overlay=d,d.overlayResize(),f=!0}function i(e){f&&13===e.keyCode&&n(e)}function n(t){u.events.dispatchEvent("SITE_SERVICE_PASSWORD_CHECK",{sectionKey:e.section.key,value:r.value})}function o(e){Ca.isInputFocus=!1,""===r.value&&u.setMessage("PASSWORD")}function a(e){Ca.isInputFocus=!0,r.value=""}var r,l,s,d,c,h,u=new ba({events:e.events}),p=.9*Ca.width>800?800:.9*Ca.width,m=78,v=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),g=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);v?(c=Ai.inputOverlayFontColor,h=Ai.inputOverlayBarColor):g?(c=Ai.menuOverlayFontColor,h=Ai.menuOverlayBgColor):(c="#000000",h="#FFFFFF");var f,b=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",C=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return u.updateSpeed=0,u.addEventListener(Lo,function(e){}),u.updatePosition=function(e){p=.9*Ca.width>800?800:.9*Ca.width,s.x=p-.5*(m-s.width),r.width=p-m-96,l.width=p,u.width=p,u.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-p),u.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-m),u.updateSpeed=yo},u.close=function(){f=!1,r.removeEventListener(fn,i),s.removeEventListener(Tn,n),d.close()},u.setMessage=function(e){r.value=e},u.open=function(t){t&&(e.section=t),d.open(),setTimeout(function(){r.addEventListener(fn,i),s.addEventListener(Tn,n)},100),f=!0},t(),u}function Ae(e){function t(){b.width=C,b.height=w,h=new ba,h.backgroundColor=f,h.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",h.borderRadius=2,h.width=C,h.height=w,c=new et,c.backgroundColor="transparent",c.fontFamily=Ai.menuFont,c.fontColor=g,c.fontSize=16,c.height=w,c.x=0,c.y=0,c.element.style.padding="0px 46px",c.addEventListener(nn,d),c.addEventListener(on,s),c.element.addEventListener(Tn,function(e){e.stopPropagation()}),c.element.tabIndex=1,b.setMessage("Search"),u=new ya,x=new nt,x.d=wa.search,x.fill=g,x.fillRule="evenodd",u.addChild(x),u.width=25,u.height=25,u.x=C-u.width-24,u.y=.5*(w-u.height),u.alpha=.5,u.cursor="pointer",u.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),u.addEventListener(pn,function(){qe(this,yo,{alpha:.5})}),c.width=C-w-92,m=new ba,m.display="flex",m.width=C-20,m.x=20,m.y=w,m.zIndex=-1,v=new ya,v.element.style["user-select"]="none",v.alpha=0,v.x=4,v.width=14,v.height=14,v.transition=.25,v.cursor="pointer",v.addEventListener("click",function(){a(c.value),c.value=""}),v.alpha=0,M=new nt,M.d=wa.plusSmall,M.strokeWidth=2,M.fill="none",M.stroke=g,v.addChild(M),b.addChild(v),b.addChild(h),b.addChild(c),b.addChild(u),b.addChild(m);var e=dx&&q(dx,"admin.adminView")?[dx.site.siteView,dx.admin.adminView]:[dx.site.siteView];p=new pa(b,{userOverride:!0,backgroundColor:E,alpha:z,blurLayers:e,zIndex:99}),p.onClose=function(){T=!1,c.removeEventListener(fn,r),u.removeEventListener(Tn,l)},b.open(),b.overlay=p,p.overlayResize(),T=!0}function i(e){m.text="",e=e.filter(function(e,t,i){return i.indexOf(e)===t}).map(n),e.forEach(function(e){m.addChild(e)})}function n(e){var t=new ba;t.position="relative",t.backgroundColor=V(f,.35),t.boxShadow="0px 2px 10px rgba(0,0,0,0.05)",t.borderRadius=20,t.display="flex",t.element.style.padding="3px 8px 3px 10px",t.element.style.margin="8px 0 0 8px";var n=new Je;n.position="relative",n.background="transparent",n.fontSize=12,n.fontFamily=Ai.menuFont,n.color=g,n.text="×",n.alpha=.2,n.top=0,n.cursor="pointer",n.addEventListener(dn,function(){qe(this,yo,{alpha:1})}),n.addEventListener(pn,function(){qe(this,yo,{alpha:.2})});var o=new ba;return o.position="relative",o.color=g,o.fontSize=12,o.fontFamily=Ai.menuFont,o.paddingRight=7,o.text=e,n.addEventListener("click",function(){y=y.filter(function(t){return e!==t}),i(y)}),t.addChild(o),t.addChild(n),t}function o(e){return e.replace(/^\s+|\s+$/g,"")}function a(e){""===c.value||c.isPlaceholder||(y=y.concat(c.value.split(",").map(o)),i(y)),v.y=w+4+.5*((m.element.offsetHeight||25)-14)}function r(e){T&&(13===e.keyCode?""===c.value||c.isPlaceholder?y.length&&l():(a(c.value),c.value="",l()):(v.y=w+4+.5*((m.element.offsetHeight||25)-14),v.alpha=""===c.value||c.isPlaceholder?0:1,c.isPlaceholder=!1))}function l(t){c.value&&!c.isPlaceholder&&(y=y.concat(c.value.split(",").map(o))),y.length&&b.events.dispatchEvent("SEARCH_SUBMIT",Object.assign({},e.navEvent,{searchTerm:y.join(","),searchSubmit:!0}))}function s(e){Ca.isInputFocus=!1,""===c.value&&b.setMessage("Search")}function d(e){Ca.isInputFocus=!0,c.isPlaceholder&&(c.value="")}var c,h,u,p,m,a,v,g,f,b=new ba({events:e.events}),C=.9*Ca.width>800?800:.9*Ca.width,w=78,y=e.tags||[],L=!(!Ai.inputOverlayFontColor||!Ai.inputOverlayBarColor),S=!(!Ai.menuOverlayFontColor||!Ai.menuOverlayBgColor);L?(g=Ai.inputOverlayFontColor,f=Ai.inputOverlayBarColor):S?(g=Ai.menuOverlayFontColor,f=Ai.menuOverlayBgColor):(g="#000000",f="#FFFFFF");var x,M,T,E=Ai.inputOverlayBgColor||Ai.menuOverlayBgColor||"#000000",z=Ai.inputOverlayBgAlpha||Ai.menuOverlayBgAlpha||.5;return b.updateSpeed=0,b.addEventListener(Lo,function(e){}),b.updatePosition=function(e){C=.9*Ca.width>800?800:.9*Ca.width,u.x=C-u.width-24,c.width=C-w-92,h.width=C,m.width=C,v.y=w+4+.5*((m.element.offsetHeight||25)-14),b.width=C,b.x=Sa.mediaView.x()+.5*(Sa.mediaView.width()-C),b.y=Sa.mediaView.y()+.5*(Sa.mediaView.height()-w),b.updateSpeed=yo},b.setMessage=function(e){c.value=e,c.isPlaceholder=!0},b.setTags=function(e){y=e},b.setSortBy=function(e){},b.close=function(){T=!1,c.removeEventListener(fn,r),u.removeEventListener(Tn,l),p.close()},b.blur=function(){c.element.blur()},b.open=function(t){t&&(e.section=t),p.open(),i(y),setTimeout(function(){c.addEventListener(fn,r),u.addEventListener(Tn,l)},100),T=!0},t(),b}function Pe(e,t,i){var n=new De({type:i.type,hRange:i.hRange,vRange:i.vRange,width:i.width||e.width,height:i.height||e.height,disableOrientationCheck:i.disableOrientationCheck}),o=new xe({hRange:i.hRange,vRange:i.vRange,hAlign:i.hAlign,vAlign:i.vAlign,width:n.width,height:n.height}),a={x:Math.round(o.x),y:Math.round(o.y),width:n.width,height:n.height,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};return i.onComplete&&(a.onComplete=i.onComplete),e&&qe(e,t,a),{scale:n,align:o}}function He(e){function t(e){var t=e.match(/[@]([0-9]*\.?[0-9]+)?[x]/i),i=e.match(/__at__([0-9]*\.?[0-9]+)?x/i);return t?Number(t[1]):i?Number(i[1]):1}var i=e.width,n=e.height,o=t(e.filename);return{width:Math.round(i/o),height:Math.round(n/o)}}function De(e){function t(){return m=d/c,"fit"===l||"native"===l?mp}function i(){p=h/u,n(),"fitWidth"===e.type||t()?(h=d,u=d/p):c?(h=c*p,u=c):(h=d,u=d/p),"native"===e.type&&(h>e.width||u>e.height)&&(h=e.width,u=e.height)}function n(){s||o(h,u,d,c)||r(h,u)||(l="fit")}function o(e,t,i,n){return a(e,t)===a(i,n)}function a(e,t){return e>t}function r(e,t){return e===t}e=e||{};var l=e.type||"fit",s=e.disableOrientationCheck||!1,d=e.hRange,c=e.vRange,h=e.width||0,u=e.height||0,p=-1,m=-1;return i(),{set hRange(e){d=e},set vRange(e){c=e},set type(e){l=e},get type(){return l},set width(e){h=e},set height(e){u=e},get width(){return h},get height(){return u}}}function Re(e,t,i){function n(e,t){e>t?u.alignSave||(u.alignSave=u.align,u.align="width"===u.dim?"left":"top",l=u.alignment()):(u.alignSave&&(u.align=u.alignSave,delete u.alignSave),l=u.alignment())}function o(e,t){e1?1:e,l=e},get position(){return s},set position(e){s=e},get scrollDist(){return d},set scrollDist(e){d=e},get ing(){return c},set ing(e){c=e}};u.perpAxis="x"===i.axis?"y":"x",u.dim="x"===i.axis?"width":"height",u.perpDim="x"===i.axis?"height":"width",u.alpha=isNaN(i.alpha)?.35:i.alpha;var p=!1,m="width"===u.dim?"offsetWidth":"offsetHeight";return u.alignment=function(){switch(u.align){case"middle":case"center":return.5;case"right":case"bottom":return 1;default:return 0}},u.scrollTo=function(e){u.bar&&u.bar.scrollTo(e,0)},u.update=function(t,a,c){t=t||0,p||(p=!0,c||u.dispatchEvent("scrollStart"));var v=u.mask.element[m],g=(u.margin||u.marginTop)+e.element[m]+(u.margin||u.marginBottom);if(g&&v){d=g-v,u.captionScroll?n(g,v):o(g,v),s=-(d*l)+(u.margin||u.marginTop);var f={};e.transition=0,"translate"===u.property?f["translate"+i.axis.toUpperCase()]=na.round(s):f[i.axis]=na.round(s),f.ease="cubic-bezier(0.5, 0.5, 0.5, 0.8)",u.hvr&&(f.onUpdate=function(){u.dispatchEvent(io)}),qe(e,t,f),u.bar&&u.bar.moveHandle(0),u.bar&&"when scrolling"===u.visibility&&(u.bar.show(),u.bar.checkVisible()),clearTimeout(r),r=setTimeout(function(){h||u.dispatchEvent("scrollStop"),u.bar&&"when scrolling"===u.visibility&&(u.bar.hide(),u.bar.checkVisible()),p=!1,u.bar&&u.bar.resize(),h=!1},200)}},u.resize=function(e){u.update(e||0,!1,!0),u.bar&&u.bar.resize()},u.destroy=function(){u.bar&&u.bar.destroy(),u.wheel&&u.wheel.destroy(),u.hvr&&u.hvr.destroy(),u.touch&&u.touch.destroy()},u.hide=function(){u.bar&&(u.bar.hide(),u.bar.checkVisible())},u.show=function(){u.bar&&(u.bar.show(),u.bar.checkVisible())},u.enable=function(){u.disabled=!1,u.bar&&u.bar.enable()},u.disable=function(){u.disabled=!0,u.bar&&u.bar.disable()},u.setAlpha=function(e){u.bar&&u.bar.setAlpha(e)},u.getBack=function(){return u.bar?u.bar.getBack():null},a(),u.resize(),u.update(),ma.register(u),u}function Be(e){function t(t){var i="when scrolling"===e.visibility?.5:1;!e.active&&/hidden/.test(e.visibility)&&(i=0),qe(v,.35,{alpha:i,backgroundColor:e.hover})}function i(t){!e.ing&&/when scrolling|hidden/.test(e.visibility)&&qe(v,.35,{alpha:0,backgroundColor:e.color})}function n(t){var i="when scrolling"===e.visibility?.5:1;!e.active&&/hidden/.test(e.visibility)&&(i=0),qe(v,.35,{alpha:i,backgroundColor:e.hover}),u=r(t)-m[e.axis]-v[e.axis],Ca.addEventListener(un,a,!1),Ca.addEventListener(hn,o,!1),Ca.addEventListener(ln,a,!1),Ca.addEventListener(rn,o,!1)}function o(t){e.ing===!1&&(e.ing=!0,t.preventDefault()),window.getSelection().removeAllRanges(),h=r(t)-u-m[e.axis],e.percent=(h-m[e.axis])/(m[e.dim]-v[e.dim]),e.update(0),e.dispatchEvent(io)}function a(t){setTimeout(function(){e.ing=!1},10),qe(v,.35,{backgroundColor:e.color}),Ca.removeEventListener(hn,o),Ca.removeEventListener(un,a),Ca.removeEventListener(ln,a,!1),Ca.removeEventListener(rn,o,!1)}function r(t){return"x"===e.axis?O(t):I(t)}function l(){return"x"===e.axis?e.offsetX:e.offsetY}function s(){return"y"===e.axis?e.offsetX:e.offsetY}var d=e.obj,c=e.mask,h=0,u=0,p=!0,m=this.back=new ba;m.alpha=0,m.selectable=!0,m.backgroundColor=e.color,e.zIndex&&(m.zIndex=e.zIndex),e.parent.addChild(m);var v=this.handle=new ba;v.alpha=0,v.backgroundColor=e.color,e.zIndex&&(v.zIndex=e.zIndex),v.selectable=!1,v.cursor="default",v.borderRadius=e.rounded?Math.ceil(e.width/2):0,v.style.pointerEvents="auto",e.parent.addChild(v),v.addEventListener(dn,t),v.addEventListener(pn,i),v.addEventListener(cn,n),v.addEventListener(an,n),this.moveHandle=function(t){v.transition=t||0,v[e.axis]=(m[e.dim]-v[e.dim])*e.percent+m[e.axis],"hidden"===e.visibility?v.alpha=0:"when scrolling"===e.visibility?v.alpha=.5:v.alpha=1},this.resize=function(){m.transition=yo,v.transition=yo,m[e.perpDim]=e.width,m[e.dim]=c[e.dim],e.parent===c?m[e.axis]=l():m[e.axis]=c[e.axis]+l(),v[e.perpDim]=e.width,"left"===e.side||"top"===e.side?(m[e.perpAxis]=c[e.perpAxis]-e.width+s(),v[e.perpAxis]=c[e.perpAxis]-e.width+s()):(m[e.perpAxis]=c[e.perpAxis]+c[e.perpDim]+s(),v[e.perpAxis]=c[e.perpAxis]+c[e.perpDim]+s()),this.moveHandle(0),setTimeout(this.checkVisible,0)},this.checkVisible=function(){m.style.transition="opacity 750ms",v.style.transition="opacity 750ms";var t="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),i=c.element[t],n=(e.margin||e.marginTop)+d.element[t]+(e.margin||e.marginBottom),o=i/n*i;o=m[e.dim]?(m.transition=0,m.alpha=0,m.display="none",v.transition=0,v.alpha=0,v.display="none",v[e.dim]=m[e.dim],e.scrollTo(0,0)):(qe(m,.35,{alpha:0,onComplete:function(){this.dislplay="none"}}),qe(v,.35,{alpha:0,onComplete:function(){setTimeout(function(){v.dislplay="none"},200),e.scrollTo(0,0)}}))},this.destroy=function(){e.parent.removeChild(v),e.parent.removeChild(m),v.removeEventListener(dn,t),v.removeEventListener(pn,i),v.removeEventListener(cn,n),v.removeEventListener(an,n)},this.setAlpha=function(e){v.alpha=m.alpha=e},this.getBack=function(){return m},this.scrollTo=function(e){},this.hide=function(){p=!1},this.show=function(){p=!0},this.disable=function(){v.removeEventListener(dn,t),v.removeEventListener(pn,i),v.removeEventListener(cn,n),v.removeEventListener(an,n)},this.enable=function(){v.addEventListener(dn,t),v.addEventListener(pn,i),v.addEventListener(cn,n),v.addEventListener(an,n)}}function je(e){function t(t){e.active&&!e.ing&&e.dispatchEvent("WINDOW_SCROLL_TOP")}function i(t){ma.setActive(e),r=o(t),l=e.percent||0,e.mask.addEventListener(ln,a),e.mask.addEventListener(rn,n)}function n(t){e.ing===!1&&(e.ing=!0,ae()&&!Ri.podUseDesktop&&window.scrollTo(0,1),t.preventDefault()),s=o(t)-r,e.percent=-(s/e.scrollDist)+l,e.percent=e.percent<0?0:e.percent,e.percent=e.percent>1?1:e.percent,e.update(0),e.dispatchEvent(io)}function o(t){return"x"===e.axis?uo?event.touches[0].pageX:event.clientX:uo?event.touches[0].pageY:event.clientY}function a(t){e.ing=!1,e.mask.removeEventListener(ln,a),e.mask.removeEventListener(rn,n)}var r=0,l=0,s=0;e.mask.addEventListener(an,i),ae()&&e.scrollTopCheck&&window.addEventListener("scroll",t),this.destroy=function(){r&&(e.ing=!1,e.mask.removeEventListener(ln,a),e.mask.removeEventListener(rn,n))}}function _e(e){function t(){var t="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),i=(e.margin||e.marginTop)+e.obj.element[t]+(e.margin||e.marginBottom),n=i-e.mask.element[t];return n>0}function i(){t()&&(s=!0,ma.focusTarget=l,Ca.addEventListener(vn,o,!1),Ca.addEventListener(mn,o,!1))}function n(){s=!1,Ca.removeEventListener(vn,o,!1),Ca.removeEventListener(mn,o,!1)}function o(t){if(e.active){var i="x"===e.axis?t.deltaX:t.deltaY;(Math.abs(t.deltaX)>Math.abs(t.deltaY)&&"x"===e.axis||Math.abs(t.deltaY)>Math.abs(t.deltaX)&&"y"===e.axis)&&(e.percent>=0&&e.percent<1&&i>0?(a(i),t.preventDefault()):e.percent>0&&e.percent<=1&&i<0&&(a(i),t.preventDefault()))}}function a(t){t="bottom"===e.align?t=-t:t,isNaN(e.percent)&&(e.percent=0);var i="offset"+e.dim[0].toUpperCase()+e.dim.substr(1),n=(e.margin||e.marginTop)+e.obj.element[i]+(e.margin||e.marginBottom),o=n-e.mask.element[i],a=e.percent+t/o;e.percent=a<0?0:a,e.percent=a>1?1:a,e.update(0),e.dispatchEvent(io)}var r=e.mask,l=this,s=!1;e.active=!1,r.addEventListener(dn,i),r.addEventListener(pn,n),this.destroy=function(){r.removeEventListener(dn,i),s&&n()}}function We(e){function t(){e.mask.addEventListener(hn,o),Ca.addEventListener(hn,i)}function i(t){e.mask.hitTestPoint(O(t),I(t))?c=!0:c&&(c=!1,n())}function n(){clearTimeout(r),e.mask.removeEventListener(hn,o),Ca.removeEventListener(hn,i)}function o(t){l.enabled&&(r=setTimeout(function(){var i="x"===e.axis?t.mouseX:t.mouseY,n="offset"+e.dim[0].toUpperCase()+e.dim.substr(1);s=i/e.mask.element[n],0===s&&i>.5*e.mask.element[n]?s=.98:0===s&&i<.5*e.mask.element[n]&&(s=.15),e.percent=s>.5?1:0;var o=e.position,r=e.obj._private[e.axis],l=Math.abs(o-r),h=Math.abs(l)/e.maxSpeed;if(d+=.1*(h-d),d+=.1*(a()-d),e.update(d,!0),e.dispatchEvent(io),!c){var u,p={};u="x"===e.axis?e.obj.element.offsetLeft:e.obj.element.offsetTop,p[e.axis]=na.round(u),qe(e.obj,1,p)}},50))}function a(){var t=s<.5?2*s:s*-2+2;return Math.round(Math.pow(t,5)*e.maxSpeed+e.minSpeed)}var r,l=this,s=0,d=0,c=!1;return l.enabled=!0,l.destroy=n,e.mask.addEventListener(dn,t),l}function Ne(e){function t(e,t,n){return f.wrap?t:i(e,t,n)}function i(e,t,i){return"x"===e&&"center"===f.align||"y"===e&&"middle"===f.align?.5*(f.perpLength-i):"x"===e&&"right"===f.align||"y"===e&&"bottom"===f.align?f.perpLength-i:t}function n(t){if("y"===f.axis){var i=b[t].width;"thumbs"===e.name&&/fill|vMasonry/.test(e.type)&&(i=r(v+1,f.numberOfColumns)?f.lastColumnWidth:f.gridWidths),f.isWrap=w[g]&&b[t]&&w[g].size+i>f.perpLength,!f.wrap||f.isWrap?(g+=1,v=0):f.wrap&&!f.horizontalMasonry&&(v+=1)}else!f.wrap||C[v]&&b[t]&&C[v].size+b[t].height>f.perpLength?(v+=1,g=0):f.wrap&&(g+=1)}function o(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 a(e){for(var t=e.length,i=0;t--;)e[t]&&e[t].size>i&&(i=e[t].size);return i}function r(e,t){return e===t-1}function l(e){return!!e.ids.filter(function(e){return b[e].isDoubleSize}).length}function s(e){var t=b[e.ids[0]],i=t.isDoubleSize?Math.round(.5*(t.height-f.vGap)):t.height;return l(e)?2*i+f.vGap:i}function d(e){if(y.length)for(var t=0,i=y.length;tw+g?(c="top",h=b,m=v):b+v1&&(B=f.perpLength-R),A.x=Math.round(B),A.y=Math.round(z),A.height=Math.round(H),A.width=Math.round(R),r.scaledSize=A.x+A.width,r.remainder=F}r.gapRowIds=r.gapRowIds.map(function(t){return e[t].id=t,e[t]}).sort(function(e,t){return e.xt.x?1:0}).map(function(e){return e.id});for(var j=0,_=r.gapRowIds.length;j<_;j++){var F,A=e[r.gapRowIds[j]],P=e[r.gapRowIds[j-1]],H=V,D=p(j,_),R=H*(A.width/A.height),B=P?P.x+P.width+f.hGap:0;A.isDoubleSize||(u(/gap|equal/,c)&&D&&(F=n-(B+R),B+R1&&b[p].isDoubleSize){if(r(i,f.numberOfColumns)){var P=b[p],H=C[i].size,D=C[i-1].size,R=(i-1)*(x+f.hGap);if(M=t("x",R,x),D<=H){var B=H-D;y.push({x:t("x",R,x),y:D,size:B,isLastColumn:!0}),C[i].size+=P.height+f.vGap,C[i-1].size+=P.height+B+f.vGap}else{var B=D-H,j=i*(x+f.hGap);y.push({x:t("x",j,x),y:C[i].size,size:B,isLastColumn:!0}),V=D,C[i-1].size+=P.height+f.vGap,C[i].size+=P.height+B+f.vGap}C[i].ids.push(p)}else{var _=0;C[i+1]&&C[i+1].size>C[i].size&&(_=C[i+1].size-C[i].size,y.push({x:t("x",M,x),y:C[i].size,size:_}),V=C[i+1].size),C[i].size+=b[p].height+f.vGap+_,C[i+1]||(C[i+1]={size:0,ids:[]}),C[i+1].size+=b[p].height+f.vGap}C[i].ids.push(p)}else C[i].ids.push(p),C[i].size+=b[p].height+f.vGap;S===!1&&(b[p].x=t("x",M,x),b[p].y=t("y",V,T))}f.isWrap=!1}if(f.horizontalMasonry){var W;if(0===w[u].ids.length&&(W=w.pop()),f.masonryFill&&w.length>1){C[0].size=0;for(var N,X=f.perpLength,Y=.5*X,p=0,L=w.length;p-i||n<-i}function r(){m&&!v?(n(),d=requestAnimationFrame(r)):m||(gd.width?(h.x=d.width-(w+h.width+b),d.x=e.pageX-d.width+w+h.point+b):(h.x=t-(w-h.width),d.x=e.pageX-t)}function n(e){e.pageY=na.abs(n)?i>0?"right":"left":na.abs(i)0?"down":"up")}function a(t){d=(new Date).getTime();var i=r(s,d,t.pageX-u);e.events.dispatchEvent(jo,{flickSpeed:i,isMove:w,swipeDirection:c.swipeDirection}),c.startdrag=!1,c.swipeDirection=!1,w=!1,sectionEnd=!1,f=0}function r(e,t,i){var n=1,o=.7,a=(t-e)/Math.abs(i);return a>n&&(a=n),a=na.abs(t)?e>0?"right":"left":na.abs(e)0?"down":"up")}function a(t){if(c.startdrag&&Ca.zoom<=1){d=(new Date).getTime();var i=r(s,d,u-m);e.events.dispatchEvent(jo,{flickSpeed:i,isMove:w,swipeDirection:c.swipeDirection}),c.startdrag=!1,c.swipeDirection=!1,w=!1,sectionEnd=!1,f=0,u=0,p=0}}function r(e,t,i){var n=1,o=.5,a=(t-e)/Math.abs(i);return a>n&&(a=n),a-1?o():n()},1e3*g)}function n(){l(),r()}function o(){s(),a()}function a(){if(!document.getElementById("likesrc")){var e=document.createElement("script");e.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)}}function r(){if(!document.getElementById("plus1src")){var e=document.createElement("script");e.setAttribute("id","plus1src"),e.setAttribute("type","text/javascript"),e.setAttribute("src","https://apis.google.com/js/plusone.js"),document.getElementsByTagName("head")[0].appendChild(e)}}function l(){if(Ue.plusDiv)Ue.plusDiv.alpha=0,Ue.plusDiv.display="block",u(Ue.plusDiv,0),Ue.plusDiv.alpha=1;else{var e=c("plus1",100,40);e.overflow="hidden",e.text="";var i=h();i.x=e.width-2,i.y=2,e.addChild(i),Ca.addChild(e),Ue.plusDiv=e,Ue.plusClose=i}Ue.plusClose.addEventListener(Tn,p)}function s(){if(Ue.likeDiv)Ue.likeDiv.alpha=0,Ue.likeDiv.display="block",u(Ue.likeDiv,0),Ue.likeDiv.alpha=1;else{var e=c("like",320,40);e.overflow="visible",e.text="";var t=h();t.x=e.width-2,t.y=2,e.addChild(t),Ca.addChild(e),Ue.likeDiv=e,Ue.likeClose=t}Ue.likeClose.addEventListener(Tn,p)}function d(){v.backgroundColor=V("#000000",.65),v.width=Ca.width,v.alpha=0,v.addEventListener(Tn,p),m.addChild(v),v.height=Ca.height,Ca.addChild(m),qe(v,g,{alpha:1})}function c(e,t,i){var n=new ba;return n.element.setAttribute("id",e),n.backgroundColor=V("#FFFFFF",.85),n.x=.5*(Ca.width-t),n.y=.5*(Ca.height-i),n.width=t,n.height=i,n.paddingTop=20,n.paddingBottom=2,n.paddingLeft=15,n.zIndex=2e3,n}function h(){var e=new ya;e.width=14,e.height=14,e.rotate=0;var t=new nt;return t.id="icon",t.d=wa.close,t.strokeWidth=2,t.fill="none",t.stroke="#555",e.addChild(t),e}function u(e,t){if(e&&"block"===e.style.display){var i=.5*(Ca.width-e.width),n=.5*(Ca.height-e.height);qe(e,t,{x:i,y:n})}}function p(e){e.target.removeEventListener(Tn,p),qe(v,g,{alpha:0,onComplete:function(){Ca.removeChild(m)}}),Ue.plusDiv&&(Ue.plusDiv.display="none"),Ue.likeDiv&&(Ue.likeDiv.display="none")}var m=new st({events:e.events}),v=new ba,g=.35;return m.overflow="hidden",m.events.addEventListener(tn,function(e){m.resize()}),i(),m.resize=function(){qe(v,g,{width:Ca.width,height:Ca.height}),u(Ue.plusDiv,g),u(Ue.likeDiv,g)},m}function qe(e,t,i){function n(){i.onInit&&o(),setTimeout(r,1e3*t),i.onUpdate&&(d=requestAnimationFrame(a)),l(t);var e;for(e in i)/delay|ease|overwrite|css|onComplete|onCompleteScope|onCompleteParams|onUpdate|onUpdateScope|onUpdateParams|onInit|onInitScope|onInitParams/.test(e)||s(e,i[e])}function o(){i.onInit.apply(i.onInitScope||e,i.onInitParams||[!1])}function a(){d&&(d=requestAnimationFrame(a)),i.onUpdate.apply(i.onUpdateScope||e,i.onUpdateParams||[!1])}function r(t){d&&cancelAnimationFrame(d),i.onComplete&&i.onComplete.apply(i.onCompleteScope||e,i.onCompleteParams||[!1]),i={},l(0)}function l(t){t?(t="all "+t+"s",i.ease&&(t+=" "+i.ease)):t="",e&&e.style&&(e.style.WebkitTransition=t,e.style.MozTransition=t,e.style.OTransition=t,e.style.transition=t)}function s(t,i){e&&e.element?e[t]=i:e&&e.style&&(e.style[t]=i)}if(this===window)return new qe(e,t,i);var d,c=i.delay||0;this.destroy=function(){delete i.onComplete},setTimeout(n,1e3*c)}function Ke(e){e=e||{},e.type="img",e.className="Bitmap";var t=new ba(e);return t.element.style["user-select"]="none",t}function Je(e){e=e||{},e.type="button",e.className="Button";var t=new ba(e);return t.borderRadius=0,t.enable=function(){this.alpha=1,this.element.removeAttribute("disabled")},t.disable=function(){this.alpha=.25,this.element.setAttribute("disabled",!0)},t}function $e(e){var t=e||{};t.events=t.events||new Qe;var i,n={listeners:t.events.listeners,dispatchEvent:t.events.dispatchEvent,addEventListener:t.events.addEventListener,removeEventListener:t.events.removeEventListener};for(i in n)t[i]=n[i];return t}function Qe(){function e(e,t){for(var i=t.length;i--;)if(e.callback===t[i].callback&&e.target===t[i].target)return!0;return!1}var t=!1;return{listeners:{},addEventListener:function(t,i){this.listeners[t]||(this.listeners[t]=[]);var n={type:t,callback:i,target:this};e(n,this.listeners[t])||this.listeners[t].push(n)},removeEventListener:function(e,t){if(!this.listeners[e],t&&"function"==typeof t){if(this.listeners[e])for(var i=0,n=this.listeners[e].length;i-264?a.y-=24:a.y=0)}e=e||{};var i=(e.type||"spinner",e.alpha||.75),n=e.color||"#FFFFFF",o=new ba;o.width=24,o.height=24,o.alpha=i,o.overflow="hidden";var a=new Ke;a.width=24,a.height=288,"#FFFFFF"===n?a.src=vo+"loader1.png":a.src=vo+"loader2.png",o.addChild(a);var r=setInterval(t,80);return o.removeLoader=function(){clearInterval(r)},o}function it(){function e(){d&&d(function(){r.zoom<=1&&!r.isInputFocus&&(document.body.style["-webkit-overflow-scrolling"]="touch")})}var t,i=!1,n=1,o={},a="Stage",r={children:[],dragElements:[],activeFocus:void 0,isInputFocus:void 0,element:document.body,listeners:fa.listeners,dispatchEvent:fa.dispatchEvent,addEventListener:fa.addEventListener,removeEventListener:fa.removeEventListener,addChild:function(e){e.element.parentNode||document.body.appendChild(e.element),e.parent=this,this.children.push(e),e.dispatchEvent(Lo,e)},get topParentName(){return a},addChildAt:function(e,t){},removeChild:function(e){e.events&&e.events.removeAllListeners(e),e.removeLoader&&e.removeLoader(),e.element.parentNode&&document.body.removeChild(e.element);for(var t=this.children.length;t--;)this.children[t]===e&&this.children.splice(t,1);e=null},removeChildren:function(e){if(e&&e.children&&e.children.length>0)for(var t=e.children.length;t--;)this.removeChildren(e.children[t]),e.removeChild(e.children[t])},moveToTop:function(e){for(var t=0,i=this.children.length;i--;)this.children[i].zIndex>=t&&!this.children[i]===e?t=this.children[i].zIndex+1:this.children[i].zIndex--;e.zIndex=t},domContentLoaded:function(){t||(setTimeout(function(){r.element=document.body,i||(document.body.style.overflow="hidden"),document.body.style.margin=0,document.body.style.padding=0,r.dispatchEvent(Qi,r)},10),t=!0)},documentReadyListener:function(){function e(e){return Object.keys(e).map(function(t){return e[t]})}function t(e){return 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},[])}function i(e,t,i){return i.indexOf(e)===t}function n(e,t,i){var n=x(e);return"system"!==n.service}function o(e){return e.reduce(function(e,t){if(!t)return e;var i=x(t);if(i&&i.family&&i.weight&&i.charset&&i.service){e[i.service]||(e[i.service]={families:[]});var n=i.family,o=i.weight.join(","),a=i.charset;e[i.service].families.push(n+":"+o+":"+a)}return e},{})}var a=[Ai.captionFont,Ai.contactFont,Ai.contactTitleFont,Ai.copyrightFont,Ai.logoFont,Ai.menuFont,Ai.navbarFont,Ai.pageTextFont,Ai.pageTitleFont,Ai.thumbnailTitleFont,Ai.thumbnailTitleBlockFont||""];!Fi&&Ai.menuFontMobile&&a.push(Ai.menuFontMobile),!Fi&&Ai.menuFontTablet&&a.push(Ai.menuFontTablet),!Fi&&Ai.mobileLogoFont&&a.push(Ai.mobileLogoFont),!Fi&&Ai.tabletLogoFont&&a.push(Ai.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 l=a.concat(t(e(Di))).filter(i).filter(n),s=o(l);s.google&&(WebFontConfig.google=s.google),s.typekit&&Ri.typekitId&&(WebFontConfig.typekit={id:Ri.typekitId}),s.custom&&Ri.customFonts.length&&(WebFontConfig.custom=s.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};"Windows"===oa?(t.deltaX=Math.max(-50,Math.min(50,e.deltaX)),t.deltaY=Math.max(-50,Math.min(50,e.deltaY)),"Firefox"===aa&&(t.deltaX=20*e.deltaX,t.deltaY=20*e.deltaY)):"Firefox"===aa&&"Macintosh"===oa&&1===e.deltaMode&&(t.deltaX=20*e.deltaX,t.deltaY=20*e.deltaY),e.touches&&(t.touches=e.touches),e.type!==vn&&e.type!==mn||(t.type=mn),e.type!==en&&e.type!==so&&e.type!==co&&e.type!==ro||(n=window.visualViewport?window.visualViewport.scale:oe()||le()?document.documentElement.clientWidth/window.innerWidth:document.documentElement.clientHeight/window.innerHeight,n=n<1?1:n),ma&&e.clientX&&e.clientY&&ma.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,t=e*n;return n<=1?t:e},get height(){var e=window.innerHeight,t=e*n;return n<=1?t:e},get stageX(){return 0},get stageY(){return 0},get scrollX(){return o.scrollX||window.scrollX},set scrollX(e){o.scrollX=e},get scrollY(){return o.scrollY||window.scrollY},set scrollY(e){o.scrollY=e},get selectable(){return i},set selectable(e){i=e},get zoom(){return n},set zoom(e){n=e},get backgroundColor(){return o.backgroundColor||document.body.style.backgroundColor},set backgroundColor(e){o.backgroundColor=e,document.body.style.backgroundColor=e},get transition(){return o.transition},set transition(e){o.transition=e,e=0===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 o.disableKeyNavigation},set disableKeyNavigation(e){o.disableKeyNavigation=e},focus:function(){r.activeFocus=r},blur:function(){}};r.proxy=r;var l=document.createElement("div");l.className="scrollbar-measure",document.body.appendChild(l);var s=l.offsetWidth-l.clientWidth;document.body.removeChild(l),ta=0===s;var d;_i!==Ni&&_i!==Wi||(d=ce(200)),window.addEventListener(ro,function(t){setTimeout(function(){e(),r.event(t)},200)},!1),window.addEventListener(io,function(e){r.scrollY=window.scrollY,r.event(e)},!1),window.addEventListener(an,r.event,!1),window.addEventListener(rn,r.event,!1),window.addEventListener(ln,r.event,!1),window.addEventListener(sn,r.event,!1),window.addEventListener(dn,r.event,!1),window.addEventListener(cn,r.event,!1),window.addEventListener(hn,r.event,!1),window.addEventListener(un,r.event,!1),window.addEventListener(pn,r.event,!1),window.addEventListener(Tn,r.event,!1),window.addEventListener(en,r.event,!1),window.addEventListener(lo,r.event,!1),window.addEventListener(so,r.event,!1),window.addEventListener(co,r.event,!1),window.addEventListener(fn,r.event,!1),window.addEventListener(gn,r.event,!1);var c;return window.addEventListener(en,function(e){clearTimeout(c),c=setTimeout(function(){r.dispatchEvent(tn,e)},200)},!1),window.addEventListener(ro,function(e){r.dispatchEvent(ro,e)},!1),window.addEventListener(vn,r.event,{passive:!1}),window.addEventListener(mn,r.event,{passive:!1}),r.documentReadyListener(),r}function nt(){return new ya({type:"path"})}function ot(){return new ya({type:"rect"})}function at(){return new ya({type:"circle"})}function rt(e){var t;return e=e||{},e.type="textarea",e.className="TextArea",t=new ba(e),t.borderRadius=0,t.style["-webkit-appearance"]="none",t.element.addEventListener("focus",function(){"Safari"===aa&&document.webkitCancelFullScreen(),Ca.disableKeyNavigation=!0,Ca.activeFocus=t,Ca.isInputFocus=!0}),t.element.addEventListener("blur",function(){Ca.disableKeyNavigation=!1,Ca.isInputFocus=!1}),t}function lt(e){e=e||{},e.type="span",e.className="TextField";var t=new ba(e);return t.selectable=!0,t.fontFamily="sans-serif",t.element.addEventListener("focus",function(){Ca.disableKeyNavigation=!0,Ca.activeFocus=t,Ca.isInputFocus=!0}),t.element.addEventListener("blur",function(){Ca.disableKeyNavigation=!1,Ca.isInputFocus=!1}),t}function st(e){var t=e||{};return t.events=t.events||new Qe,new ba(t)}function dt(e){function t(e){a.dispatchEvent(bo,e),r&&a.play()}function i(e){a.dispatchEvent($i,e)}function n(e,t){var i=a.element.canPlayType(e+';codecs="'+t+'"');return""!==i}function o(){a.dispatchEvent("playbackEnd")}e=e||{},e.type="video",e.className="VideoPlayer";var a=new ba(e),r=!1;a.element.setAttribute("playsinline",!0),a.element.addEventListener(bo,t,!1),a.element.addEventListener($i,i,!1),a.width=e.width||640,a.height=e.height||480,a.parent=e.parent,a.hud=new ct(a),a.hud.disable();var l=e.alwaysMuted,s=!0,c=new Je;return c.x=20,c.y=20,c.zIndex=10,c.borderRadius=2,c.backgroundColor="white",c.text="TAP TO UNMUTE",c.display="none",c.element.style.padding="3px 6px",a.unmuteBtn=c,a.unmuteClick=function(){a.hud.unmute(),a.hud.enable(),c.display="none",c.removeEventListener("click",a.unmuteClick),l=!1},c.addEventListener("click",a.unmuteClick),a.unmuteBtn=c,a.parent.addChild(c),a.disableUnmuteButton=function(){s=!1,c.display="none"},a.play=function(){var e=a.element.play();void 0!==e&&e.then(function(){a.paused=!1,l?a.element.muted=!0:Ca.userInteraction&&(c.display="none",a.hud?a.hud.unmute():a.element.muted=!1),a.dispatchEvent(Kn)}).catch(function(){a&&(a.hud?a.hud.mute():a.element.muted=!0,s&&(c.display="block"),a.element.play(),a.paused=!1,a.dispatchEvent(Kn))})},a.pause=function(){a.element.pause(),a.paused=!0,a.dispatchEvent(qn)},a.togglePlay=function(){a.element.paused?a.play():a.pause()},a.setSize=function(e,t,i){a&&(0===i?(a.width=e,a.height=t):qe(a,i,{width:e,height:t}))},a.setSource=function(e,t){t&&a.element.setAttribute("autoplay",!0),n("video/mp4","avc1.42E01E, mp4a.40.2")?(a.src=d(e),a.element.addEventListener("ended",o),t&&(r=!0)):R(po+e.replace(z(e),"webm"))?(a.src=d(e.replace(z(e),"webm")),a.element.addEventListener("ended",o),t&&(r=!0)):window.open(po+e)},a.destroy=function(){a&&(a.element.removeEventListener("ended",o),a.removeKeyListener(),a.element.removeEventListener(bo,t,!1),a=null)},a.removeKeyListener=function(){},a}function ct(e){function t(){S.height=50,S.width=e.width,S.alpha=0,S.zIndex=5,e.parent.addChild(S);var t;t=e.element.paused?wa.pause:wa.play,v=a(t,h),S.addChild(v),g=a(wa.fullscreen,Ce(e.element)),S.addChild(g);var i=wa.volume,n=u;_i===Wi&&(i="",n=function(){}),f=a(i,n),S.addChild(f),r(),S.interval=setInterval(d,100),e.element.addEventListener("ended",c)}function i(t){if(!oe()&&!le()){clearTimeout(L);var i=O(t),a=xa.siteView.unifiedPageScroll()||/unifiedSiteScroll/.test(xa.overrides.siteDisplayBehavior)?t.pageY:I(t);e.hitTestAbs(i,a)?(n(),L=setTimeout(function(){o()},3e3)):o()}}function n(){V||(V=!0,S.display="block",qe(S,yo,{alpha:1}))}function o(){V&&(V=!1,qe(S,yo,{alpha:0,onComplete:function(){S.display="none",V=!1}}))}function a(e,t){var i=new ba;i.width=x,i.height=M,i.backgroundColor=T;var n=new ya;n.id="svg",n.width=12,n.height=12,n.left=na.round(.5*(i.width-n.width)),n.top=na.round(.5*(i.height-n.height)),i.addChild(n);var o=new nt;o.id="icon",o.d=e,o.fill="#FFFFFF",o.alpha=.65,n.addChild(o);var a=new ba;return a.width=i.width,a.height=i.height,i.addChild(a),i.hit=a,i.icon=o,i.svg=n,a.icon=o,a.bg=i,a.addEventListener(Tn,t),a.addEventListener(dn,function(){qe(this.bg,yo,{backgroundColor:"rgba(0,0,0,0.85)"}),qe(this.icon,yo,{alpha:1})}),a.addEventListener(pn,function(){qe(this.bg,yo,{backgroundColor:T}),qe(this.icon,yo,{alpha:.65})}),i}function r(){b=new ba,b.zIndex=-1,b.backgroundColor=T,b.height=M,S.addChild(b),b.buffer=new ba,b.buffer.backgroundColor="#FFFFFF",b.buffer.alpha=.12,b.buffer.width=1,b.buffer.height=S.height,b.addChild(b.buffer),b.progress=new ba,b.progress.backgroundColor="#FFFFFF",b.progress.alpha=.25,b.progress.width=1,b.progress.height=S.height,b.addChild(b.progress),b.time=new ba,b.time.fontFamily="Arial, Helvetia, sans-serif",b.time.fontColor="#FFF",b.time.fontSize=10,b.time.text="00:00 / 00:00",b.time.alpha=1,b.addChild(b.time),b.time.x=10,b.time.y=20,b.head=new ba,b.head.backgroundColor="#FFFFFF",b.head.alpha=0,b.head.x=30,b.head.width=1,b.head.height=S.height,b.addChild(b.head),b.headTime=new ba,b.headTime.fontFamily="Arial, Helvetia, sans-serif",b.headTime.fontColor="#FFFFFF",b.headTime.fontSize=10,b.headTime.alpha=0,b.headTime.text="00:00",b.headTime.x=30,b.headTime.y=-15,b.addChild(b.headTime),b.hit=new ba,b.hit.height=S.height,b.addChild(b.hit),oe()||le()||(b.hit.addEventListener(dn,function(){qe(b.buffer,yo,{alpha:.2}),qe(b.progress,yo,{alpha:.4}),qe(b.time,yo,{alpha:1}),qe(b.head,yo,{alpha:1}),qe(b.headTime,yo,{alpha:1}),qe(b,yo,{backgroundColor:"rgba(0,0,0,0.85)"})}),b.hit.addEventListener(pn,function(){qe(b.buffer,yo,{alpha:.12}),qe(b.progress,yo,{alpha:.25}),qe(b.time,yo,{alpha:.5}),qe(b.head,yo,{alpha:0}),qe(b.headTime,yo,{alpha:0}),qe(b,yo,{backgroundColor:T})}),b.hit.addEventListener(hn,l)),b.hit.addEventListener(Tn,s)}function l(t){var i=p(t);b.head.transition=0,b.head.x=i,b.headTime.transition=0,b.headTime.x=i,b.headTime.text=m(i/y*e.element.duration)}function s(t){var i=p(t);b.head.x=i,b.headTime.x=i;var n=i/y*e.element.duration;e.element.currentTime=n,b.headTime.text=m(n),d(e)}function d(){e.element.buffered.length>0&&(bufferedPercent=e.element.buffered.end(0)/e.element.duration,b.buffer.transition=0,b.buffer.width=bufferedPercent*y,playedPercent=e.element.currentTime/e.element.duration,b.progress.transition=0,b.progress.width=playedPercent*y,b.time.text=m(e.element.currentTime)+" / "+m(e.element.duration))}function c(){clearInterval(S.interval)}function h(){e.element.paused?(e.play(),v.icon.d=wa.pause,S.interval=setInterval(d,50)):(e.pause(),v.icon.d=wa.play)}function u(){e.element.muted?S.unmute():S.mute()}function p(e){return uo&&e.touches?e.touches[0].offsetX-x-b.x:e.offsetX}function m(e){return minutes=Math.floor(e/60),e=Math.floor(e-60*minutes),minutes=minutes<10?"0"+minutes:minutes,e=e<10?"0"+e:e,minutes+":"+e}var v,g,f,b,C,w,y,L,S=new ba,x=50,M=50,T="rgba(0,0,0,0.65)",V=!0;return S.show=n,S.hide=o,S.resize=function(e,t,i,n,o){var a=t,r=i,l=n,s=o;C=n,w=o,y=l-3*x,0===e?(S.width=l,S.x=na.floor(a),S.y=na.floor(r+s-S.height),g.x=l-g.width,f.x=l-g.width-f.width,b.x=x,b.width=y,b.hit.width=y):(qe(S,e,{width:l,x:a,y:r+o-S.height}),qe(g,e,{x:l-g.width}),qe(f,e,{x:l-g.width-f.width}),qe(b,e,{x:x,width:y}),qe(b.hit,e,{width:y})),d()},S.mute=function(){e.element.muted=!0,f.icon.d=wa.mute},S.unmute=function(){e.element.muted=!1,f.icon.d=wa.volume},S.disable=function(){o(),oe()||le()||Ca.removeEventListener(hn,i)},S.enable=function(){n(),oe()||le()||Ca.addEventListener(hn,i)},t.call(S),S}function ht(e){function t(e){var t=new Je;return t.x=20,t.y=20,t.zIndex=10,t.borderRadius=2,t.backgroundColor="white",t.text="TAP TO UNMUTE",t.display="block",t.element.style.padding="3px 6px",e.unmuteBtn=t,e.unmuteClick=function(){t.display="none",t.removeEventListener("click",e.unmuteClick),e.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:1}),s)},t.addEventListener("click",e.unmuteClick),e.unmuteBtn=t,e.addEventListener("load",function(){setTimeout(function(){e.parent.addChild(t)},1e3)}),e.disableUnmuteButton=function(){t.display="none"},t}function i(){c.ended||c.dispatchEvent("playbackEnd"),c.ended=!0}function n(){l="player"+ht.getNextPlayerID(),c.element.id=l,c.element.setAttribute("frameborder","0"),c.element.setAttribute("webkitAllowFullScreen",""),c.element.setAttribute("mozallowfullscreen",""),c.element.setAttribute("allowFullScreen",""),c.element.style["user-select"]="none"}function o(t){var n;try{n=JSON.parse(t.data)}catch(e){n={}}if(n.player_id===l)switch("ready"===n.event&&setTimeout(function(){a(n)},10),"error"===n.event,"getVideoWidth"===n.method&&n.value&&n.value!==c.videoWidth&&(e.thumbBuild||(c.width=n.value,c.element.setAttribute("width",n.value)),c.videoWidth=n.value,c.videoHeight&&c.dispatchEvent(Co)),"getVideoHeight"===n.method&&n.value&&n.value!==c.videoHeight&&(e.thumbBuild||(c.height=n.value,c.element.setAttribute("height",n.value)),c.videoHeight=n.value,c.videoWidth&&c.dispatchEvent(Co)),n.event){case"finish":i();break;case"pause":n.data.seconds>=n.data.duration-1?i():(c.dispatchEvent(qn),"function"==typeof c.onpause&&c.onpause(),c.paused=!0);break;case"play":c.dispatchEvent(Kn),"function"==typeof c.onplay&&c.onplay(),c.paused=!1}}function a(e){c&&(c.loaded=!0,"Chrome"!==aa&&Ca.userInteraction||!d||c.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:0}),s),c&&c.element.contentWindow&&(c.element.contentWindow.postMessage(JSON.stringify({method:"getVideoWidth",value:e.player_id}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"getVideoHeight",value:e.player_id}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"finish"}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"pause"}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"play"}),s),c.element.contentWindow.postMessage(JSON.stringify({method:"addEventListener",value:"error"}),s)))}function r(e){c&&la[e.keyCode]===Sn&&c.togglePlay()}e=e||{},e.type="iframe",e.className="VimeoPlayer";var l,s,d,c=new ba(e),h="";return c.parent=e.parent,c.style.pointerEvents="auto",oe()&&e.thumbBuild&&(c.style.position="fixed"),n(),window.addEventListener("message",o,!1),c.setSource=function(i,n){d=!!n;try{s="https://player.vimeo.com/video/"+i.split("vimeo:")[1],h=s;var o=n?"&autoplay=1":"";xa.overrides.videoLoop?c.src=s+"?api=1&autopause=0&loop=1&wmode=opaque"+o+"&player_id="+l:c.src=s+"?api=1&autopause=0&wmode=opaque"+o+"&player_id="+l;var a=c.width||e.width||640,r=c.height||e.height||480;c.element.setAttribute("width",a),c.element.setAttribute("height",r),c.width=a,c.height=r,n&&(c.element.setAttribute("allow","autoplay"),Ca.userInteraction?(c.unmuteBtn&&(c.unmuteBtn.display="none",c.unmuteBtn.removeEventListener("click",c.unmuteClick)),c.element.contentWindow.postMessage(JSON.stringify({method:"setVolume",value:1}),s)):t(c)),c.element.setAttribute("frameborder",0),c.element.setAttribute("webkitallowfullscreen",!0),c.element.