(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([["84268"],{578417:function(m){"use strict";m.exports={}},69037:function(m,E,e){var n=e(791484),a=e(578174),c={};for(var s in n)n.hasOwnProperty(s)&&(c[n[s]]=s);var l=m.exports={to:{}};l.get=function(b){var d=b.substring(0,3).toLowerCase(),g,h;switch(d){case"hsl":g=l.get.hsl(b),h="hsl";break;case"hwb":g=l.get.hwb(b),h="hwb";break;default:g=l.get.rgb(b),h="rgb";break}return g?{model:h,value:g}:null},l.get.rgb=function(b){if(!b)return null;var d=/^#([a-fA-F0-9]{3})$/,g=/^#([a-fA-F0-9]{6})$/,h=/^(rgba?)\(\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*,\s*([+-]?\d+)\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,p=/^(rgba?)\(\s*([+-]?\d*\.?\d+)\%\s*,\s*([+-]?\d*\.?\d+)\%\s*,\s*([+-]?\d*\.?\d+)\%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,y=/(\D+)/,T=[0,0,0,1],C,O,x;if(C=b.match(d))for(C=C[1],O=0;O<3;O++)T[O]=parseInt(C[O]+C[O],16);else if(C=b.match(g))for(C=C[1],O=0;O<3;O++){var D=O*2;T[O]=parseInt(C.slice(D,D+2),16)}else if(C=b.match(h)){if(x=C[5],x&&C[1]==="rgb"||!x&&C[1]==="rgba")return null;for(O=0;O<3;O++)T[O]=parseInt(C[O+2],0);x&&(T[3]=parseFloat(x))}else if(C=b.match(p)){if(x=C[5],x&&C[1]==="rgb"||!x&&C[1]==="rgba")return null;for(O=0;O<3;O++)T[O]=Math.round(parseFloat(C[O+2])*2.55);x&&(T[3]=parseFloat(x))}else return(C=b.match(y))?C[1]==="transparent"?[0,0,0,0]:(T=n[C[1]],T?(T[3]=1,T):null):null;for(O=0;O=4&&b[3]!==1&&(d=", "+b[3]),"hwb("+b[0]+", "+b[1]+"%, "+b[2]+"%"+d+")"},l.to.keyword=function(b){return c[b.slice(0,3)]};function _(b,d,g){return Math.min(Math.max(d,b),g)}function v(b){var d=b.toString(16).toUpperCase();return d.length<2?"0"+d:d}},723673:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.BUTTON_BLOCK=1,a.POPUP_OVERLAY=2})(e||(e={}));var n=e;E.default=n,m.exports=E.default},243131:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.PAGE_VIEW=1,a.SITE_SEARCH=2,a.HEARTBEAT=10,a.AUDIO=20,a.VIDEO=21})(e||(e={}));var n=e;E.default=n,m.exports=E.default},926509:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.COLLECTION_TYPE_GENERIC=1,a.COLLECTION_TYPE_SUBSCRIPTION=2,a.TWITTER=3,a.FOURSQUARE=4,a.INSTAGRAM=5,a.GALLERY_BLOCK=6,a.TEMPLATE_PAGE=7,a.SPLASH_PAGE=8,a.COLLECTION_TYPE_PAGE=10,a.FIVEHUNDREDPIX=11,a.FLICKR=12,a.PRODUCTS=13,a.SLIDE_GALLERY=15,a.SLIDE_ALBUM=16,a.SLIDE_VIDEO=17,a.ALBUM_BLOCK=18,a.SECTION_CATALOG=20,a.PAGE_CATALOG=21,a.ITEM_CATALOG=22,a.PORTFOLIO=23,a.LESSONS=24,a.COURSE=25,a.MOSAIC=14,a.PROJECT=19})(e||(e={}));var n=e;E.default=n,m.exports=E.default},260104:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.INDEX=1,a.REDIRECT=2,a.NONE=3,a.VARIATION=4})(e||(e={}));var n=e;E.default=n,m.exports=E.default},55434:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.CONNECTED=1,a.DISCONNECTED=2,a.PENDING=3})(e||(e={}));var n=e;E.default=n,m.exports=E.default},126144:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.GOOGLE=1,a.MAILCHIMP=2,a.EMAIL=3,a.SITE_USER=4,a.ZAPIER=5,a.CAMPAIGNS=6})(e||(e={}));var n=e;E.default=n,m.exports=E.default},881910:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.FORM_BLOCK=1,a.PRODUCT=2,a.DONATION=3,a.SLIDE=4,a.NEWSLETTER_BLOCK=5,a.CHECKOUT_PAGE=6})(e||(e={}));var n=e;E.default=n,m.exports=E.default},170856:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.LEFT=1,a.CENTER=2,a.RIGHT=3})(e||(e={}));var n=e;E.default=n,m.exports=E.default},660016:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.LIGHT=1,a.DARK=2})(e||(e={}));var n=e;E.default=n,m.exports=E.default},665607:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.NONE=1,a.LIGHT=2,a.DARK=3})(e||(e={}));var n=e;E.default=n,m.exports=E.default},755306:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.DISPLAY=1,a.CLOSE=2,a.DISMISS=3})(e||(e={}));var n=e;E.default=n,m.exports=E.default},991775:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.TIME=1,a.SCROLL=2})(e||(e={}));var n=e;E.default=n,m.exports=E.default},966687:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.MAIN_CONTENT=1,a.CONTENT_COLLECTION=1,a.PAGE=2,a.SPLASH_PAGE=3,a.CONTENT_ITEM=50,a.NOT_FOUND=100,a.ERROR=101,a.SEARCH=102,a.LOCK_SCREEN=103,a.POPUP_OVERLAY=104,a.PROTECTED_CONTENT=105,a.MEMBER_AREA_ACCESS_DENIED=106,a.PAYWALL=107,a.SHOW_CART=200,a.CHECKOUT=201,a.ORDER_CONFIRMED=202,a.DONATE=203,a.CONTRIBUTION_CONFIRMED=204,a.COMMERCE_CART_V2=205,a.SUBSCRIPTION_CONFIRMED=206,a.ORDER_RECEIVED=207,a.MEMBERSHIP_CONFIRMED=208,a.REVIEWS_REQUEST=209,a.DIGITAL_PRODUCT_COMPOSER_PREVIEW=210,a.ORDER_STATUS=211,a.NEWSLETTER_UNSUBSCRIBE=300,a.COMMERCE_EMAIL_PREVIEW=301,a.SSO_PAGE=400})(e||(e={}));var n=e;E.default=n,m.exports=E.default},425611:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.NONE=1,a.SHOW=2})(e||(e={}));var n=e;E.default=n,m.exports=E.default},134764:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.TEXT=1,a.IMAGE=2,a.QUOTE=4,a.LINK=5,a.CHAT=6,a.AUDIO=7,a.VIDEO=8,a.VIDEO_DEPRECATED=9,a.REVIEW=10,a.STORE_ITEM=11,a.EVENT=12,a.THREAD=13,a.GALLERY=14,a.BINARY=15,a.CSSASSET=16,a.TWEAKASSET=17,a.DIGITALGOOD=18,a.ATTACHMENT=19,a.EXPORT_WORDPRESS=20,a.EXPORT_INTERNAL=21,a.TEXT_PROSE_MIRROR=22,a.EXPORT_ROLES=23,a.TWEET=50,a.RSS=51,a.CHECKIN=52,a.DELICIOUS=53,a.KBARTICLE=54,a.PROJECT_ITEM=55,a.COLLECTION_TAXONOMY=56,a.SECTION_TAXONOMY=57,a.ITEM_TAXONOMY=58,a.PORTFOLIO_ITEM=59,a.EXPORT_TRANSLATABLE_STRINGS=60,a.SQSP_VIDEO=61,a.LESSON=62,a.COURSE_ITEM=63})(e||(e={}));var n=e;E.default=n,m.exports=E.default},795819:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.NONE=1,a.BLACK=2,a.WHITE=3})(e||(e={}));var n=e;E.default=n,m.exports=E.default},39811:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.HEADING=1,a.SUB_HEADING=2,a.BODY=3,a.IMAGE=4,a.GALLERY=5,a.VIDEO=6,a.SOCIAL_ICONS=7,a.BUTTONS=8,a.NAVIGATION=9,a.CUSTOM_FORM=10,a.NEWSLETTER=11,a.ALBUM=12,a.MAP=13,a.LOCK=17,a.PASSWORD=18,a.TWITTER=19,a.LOGO=14,a.ACTION=15,a.FORM=16,a.POPUP_OVERLAY_ACTION=20,a.SSO_OPTIONS=21,a.TEMP_LOCK_INJECT=100,a.SSO_INJECT=101})(e||(e={}));var n=e;E.default=n,m.exports=E.default},112182:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.COVER_PAGE=1,a.LOCK_SCREEN=2,a.POPUP_OVERLAY=3,a.SSO_SCREEN=4})(e||(e={}));var n=e;E.default=n,m.exports=E.default},374018:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.EXPIRED=1,a.PASTDUE=2,a.TRIAL=3,a.BETA=4,a.REMOVED=5,a.INTERNAL=6,a.COMPED=7,a.PAID=8,a.V5_LINKED=11,a.ACTIVE_PARKING_PAGE=12,a.RESOLD=13,a.RESOLD_GRACE_PERIOD=14,a.ENTERPRISE=15,a.CONTAINER=16})(e||(e={}));var n=e;E.default=n,m.exports=E.default},850772:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.OWNERLESS="OWNERLESS",a.COMMERCE_MERCH="COMMERCE_MERCH",a.COMMERCE_INVENTORY="COMMERCE_INVENTORY",a.COMMERCE_ACTIVATION="COMMERCE_ACTIVATION",a.COMMERCE_CHANNELS="COMMERCE_CHANNELS",a.COMMERCE_DIGITAL_PRODUCTS_AND_DONATIONS="COMMERCE_DIGITAL_PRODUCTS_AND_DONATIONS",a.COMMERCE_PRINT_ON_DEMAND="COMMERCE_PRINT_ON_DEMAND",a.COMMERCE_ONLINE_MERCH="COMMERCE_ONLINE_MERCH",a.COMMERCE_PROJECT_SUCCESS="COMMERCE_PROJECT_SUCCESS",a.COMMERCE_INVOICING_TOOLS="COMMERCE_INVOICING_TOOLS",a.COMMERCE_MERCHANDISING="COMMERCE_MERCHANDISING",a.COMMERCE_MONETIZATION="COMMERCE_MONETIZATION",a.COMMERCE_TX="COMMERCE_TX",a.COMMERCE_ORDERS="COMMERCE_ORDERS",a.COMMERCE_ENGAGEMENT="COMMERCE_ENGAGEMENT",a.COMMERCE_CORE="COMMERCE_CORE",a.COMMERCE_SELLER_OPERATIONS="COMMERCE_SELLER_OPERATIONS",a.COMMERCE_CHECKOUT="COMMERCE_CHECKOUT",a.COMMERCE_MEMBERSHIPS="COMMERCE_MEMBERSHIPS",a.CAMPAIGNS_COMPOSER="CAMPAIGNS_COMPOSER",a.CAMPAIGNS_DELIVERY="CAMPAIGNS_DELIVERY",a.DISTRIBUTION="DISTRIBUTION",a.ANALYTICS="ANALYTICS",a.CRM_PRODUCT="CRM_PRODUCT",a.INTERFACE_ARCHITECTURE="INTERFACE_ARCHITECTURE",a.I18N_PLATFORM="I18N_PLATFORM",a.CORE_UI="CORE_UI",a.FORMS_FIELDS="FORMS_FIELDS",a.CONTENT_DATA="CONTENT_DATA",a.COMMUNICATION_PLATFORM="COMMUNICATION_PLATFORM",a.MACHINE_LEARNING="MACHINE_LEARNING",a.TEMPLATES="TEMPLATES",a.CONTENT_EDITING="CONTENT_EDITING",a.CONTENT_RENDERING="CONTENT_RENDERING",a.WEBSITE_CONTENT_COMPONENTS="WEBSITE_CONTENT_COMPONENTS",a.WEB_CONCEPTS="WEB_CONCEPTS",a.WEB_PERFORMANCE="WEB_PERFORMANCE",a.CORE_CMS="CORE_CMS",a.ASSET_MANAGEMENT="ASSET_MANAGEMENT",a.ACCOUNTS="ACCOUNTS",a.DOMAINS="DOMAINS",a.G_SUITE="G_SUITE",a.EMAIL_PRODUCT="EMAIL_PRODUCT",a.DOMAIN_REGISTRAR="DOMAIN_REGISTRAR",a.CORE_MOBILE="CORE_MOBILE",a.RESELLER_API="RESELLER_API",a.DISCOVERY="DISCOVERY",a.CMS_RENDERING="CMS_RENDERING",a.PHENSLEY="PHENSLEY",a.BRAND_SYSTEM="BRAND_SYSTEM",a.EDITING_SYSTEM="EDITING_SYSTEM",a.DIGITAL_PRODUCT_ACTIVATION="DIGITAL_PRODUCT_ACTIVATION",a.DIGITAL_PRODUCT_MONETIZATION="DIGITAL_PRODUCT_MONETIZATION",a.DIGITAL_PRODUCT_CONTENT="DIGITAL_PRODUCT_CONTENT",a.DIGITAL_PRODUCT_VIDEO_ASSETS="DIGITAL_PRODUCT_VIDEO_ASSETS",a.WEBSITE_LAYOUT_AND_STYLING="WEBSITE_LAYOUT_AND_STYLING",a.WEBSITE_EDITOR="WEBSITE_EDITOR",a.WEBSITES_CONTENT="WEBSITES_CONTENT",a.WEBSITE_CHARACTER="WEBSITE_CHARACTER",a.WEBSITE_PLATFORM_API_APPLICATION="WEBSITE_PLATFORM_API_APPLICATION",a.WEBSITE_PLATFORM_RENDERING_EXTENSIBILITY="WEBSITE_PLATFORM_RENDERING_EXTENSIBILITY",a.CORE_LAYOUT="CORE_LAYOUT",a.STYLING_SYSTEM="STYLING_SYSTEM",a.I18N_PRODUCT="I18N_PRODUCT",a.CONTEXTUAL_LAYOUT="CONTEXTUAL_LAYOUT",a.WEBSITES="WEBSITES",a.FRONTSITE="FRONTSITE",a.CONVERSION="CONVERSION",a.TRIAL_EXPERIENCE="TRIAL_EXPERIENCE",a.BUSINESS_CONCIERGE="BUSINESS_CONCIERGE",a.CUSTOMER_LIFECYCLE="CUSTOMER_LIFECYCLE",a.BILLING="BILLING",a.GROWTH_TOOLS="GROWTH_TOOLS",a.CUSTOM_STARTING_POINTS="CUSTOM_STARTING_POINTS",a.CORE_SERVICES="CORE_SERVICES",a.SITE_INFRASTRUCTURE="SITE_INFRASTRUCTURE",a.ENTERPRISE="ENTERPRISE",a.MEDIA_INFRASTRUCTURE="MEDIA_INFRASTRUCTURE",a.CHECKOUT_PAYMENTS="CHECKOUT_PAYMENTS",a.CUSTOPS_ENGINEERING="CUSTOPS_ENGINEERING",a.INTERNAL_PRODUCTS="INTERNAL_PRODUCTS",a.MEDIA_PLATFORM="MEDIA_PLATFORM",a.ACTIVATION="ACTIVATION",a.CROSS_PRODUCT_SUCCESS="CROSS_PRODUCT_SUCCESS",a.USER_PLATFORM="USER_PLATFORM",a.IDENTITY_PLATFORM="IDENTITY_PLATFORM",a.API_AND_DEV_PLATFORM="API_AND_DEV_PLATFORM",a.PRICING_MERCHANDISING="PRICING_MERCHANDISING",a.SCHEDULING_PLATFORM="SCHEDULING_PLATFORM",a.SCHEDULING_GROWTH="SCHEDULING_GROWTH",a.PROVISIONING="PROVISIONING",a.I18N_ENG="I18N_ENG",a.CONFIG_FRONTEND_ENG="CONFIG_FRONTEND_ENG",a.PROTECTION_PLATFORM="PROTECTION_PLATFORM",a.ACTIVATION_ENGINE="ACTIVATION_ENGINE",a.ACTIVATION_FUNNEL="ACTIVATION_FUNNEL",a.CORPORATE_APPLICATIONS="CORPORATE_APPLICATIONS"})(e||(e={}));var n=e;E.default=n,m.exports=E.default},479235:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.SEVEN="7",a.SEVEN_ONE="7.1",a.EIGHT="8"})(e||(e={}));var n=e;E.default=n,m.exports=E.default},166739:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.NONE="none",a.SSO="sso",a.PASSWORD="password",a.OWNER_LOGIN="owner_login"})(e||(e={}));var n=e;E.default=n,m.exports=E.default},854281:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.ADMIN=1,a.BILLING=2,a.REPORTING=3,a.EDITOR=4,a.MODERATOR=6,a.COMMENTER=7,a.STORE_MANAGER=8,a.SCHEDULING=9,a.VIEWER=10,a.CAMPAIGNS_EDITOR=11,a.SCHEDULING_VIEWER=12,a.SCHEDULING_EDITOR=13,a.NONE=14,a.WEBSITE_MANAGER=15,a.DRAFT_EDITOR=16})(e||(e={}));var n=e;E.default=n,m.exports=E.default},501329:function(m,E){"use strict";Object.defineProperty(E,"__esModule",{value:!0}),E.default=void 0;var e;(function(a){a.CLASSIC=1,a.COVER_PAGE=2,a.PARKING_PAGE=3,a.COMMERCE=4,a.ENTERPRISE=5,a.CONTAINER=6})(e||(e={}));var n=e;E.default=n,m.exports=E.default},529813:function(m,E,e){var n=e(461761),a=e(210750),c=e(994336),s=[],l=0,_=20,v=10,b=5e3,d=function(){if(!(!s||s.length===0)){var p=new XMLHttpRequest;p.open("POST","/api/events/RecordJavascriptErrors",!0),p.setRequestHeader("Content-type","application/json;charset=UTF-8"),p.setRequestHeader("X-CSRF-Token",c.get("crumb"));try{p.send(JSON.stringify(s))}catch(y){}s=[],l++}},g={trackUncaughtError:function(p,y,T,C,O,x,D){var k=D?D.stack:"",L={app:p,message:T,stack:k,file:C,line:O,column:x,custom:y()};this.enqueueError("interface_error_"+p,L)},enqueueError:function(p,y){var T={},C=n(window,"Static.SQUARESPACE_CONTEXT",{});if(!this.hasExceededMaxReporting()){T.websiteId=n(C,"website.id"),T.templateId=n(C,"templateId"),y.stack&&y.stack.length>b&&(y.stack=y.stack.substring(0,b)+` [STACK TRACE TRUNCATED]`),T.url=window.location.href||"",T.userAgent=window.navigator.userAgent;try{s.push({event:p,data:JSON.stringify(Object.assign(T,y)),timestamp:Date.now()})}catch(O){console.warn("Could not push error: ".concat(O))}this.debouncedSend()}},hasExceededMaxReporting:function(){return l>=_||s.length>=v},getStack:function(){var p=new Error;return p.stack||""},wrapAppErrorCallback:function(p){return function(){if(!p)return{};try{return p()}catch(y){return{errorInCallback:!0}}}},debouncedSend:a(d,1e3)};m.exports={bindUncaughtErrorReporter:function(p,y){p||(console.error("Error Reporter Missing App Name configuration",g.getStack()),p="unknown");var T=g.wrapAppErrorCallback(y);window.onerror&&(window.onerror=null),window.onerror=g.trackUncaughtError.bind(g,p,T)},trackCaughtError:function(p,y){var T=arguments.length>2&&arguments[2]!==void 0?arguments[2]:g.getStack();g.enqueueError("interface_error_"+p,{app:p,message:y,stack:T})}}},784087:function(m,E,e){"use strict";var n=e(714237),a=e.n(n),c=e(762379),s=e(513614),l=e(214219),_=e(142568),v=e(552773),b=e(309055);YUI.add("squarespace-async-form",function(d){d.namespace("Squarespace.Widgets");var g=d.Squarespace.Widgets.AsyncForm=d.Base.create("AsyncForm",d.Squarespace.Widgets.SSWidget,[],{initializer:function(){this.publish("submission"),this._typeGetterMap={date:this._getMultiFieldVal,name:this._getMultiFieldVal,time:this._getMultiFieldVal,address:this._getMultiFieldVal,checkbox:this._getOptionFieldVal,likert:this._getLikertFieldVal,radio:this._getRadioFieldVal,select:this._getSelectVal,phone:this._getPhoneFieldVal},this._typeSetterMap={date:this._setMultiFieldVal,name:this._setMultiFieldVal,time:this._setMultiFieldVal,address:this._setMultiFieldVal,checkbox:this._setOptionFieldVal,likert:this._setLikertFieldVal,radio:this._setRadioFieldVal,select:this._setSelectVal,phone:this._setPhoneFieldVal},this._defaultGetter=this._getSingleFieldVal,this._defaultSetter=this._setSingleFieldVal},renderUI:function(){g.superclass.renderUI.call(this);var h=this.get("form"),p=h.fields;d.Lang.isString(p[0])&&(p=d.Array.map(p,d.JSON.parse)),b.if(h.id);var y={showTitle:this.get("showTitle"),preventSubmit:this.get("preventDefaultSubmit")||this.get("preventAllSubmits"),hideSubmitButton:this.get("hideSubmitButton"),formId:h.id,formName:this.get("formName"),formFields:p,formSubmitButtonText:this.get("formSubmitButtonText"),formSubmissionMessage:h.parsedSubmissionMessage,formSubmissionHTML:h.submissionHTML,successRedirect:h.successRedirect,disclaimerMessage:h.parsedDisclaimerMessage,captchaEnabled:h.captchaEnabled,captchaTheme:h.captchaTheme,captchaAlignment:h.captchaAlignment},T=this.get("contentBox"),C=this.evaluateTemplate(y);T.append(C),this._formEl=T.one("form"),this._setFormData(),(0,_.Z)(this._formEl.getDOMNode())},_onSubmit:function(p){if(this.get("preventDefaultSubmit")&&!this.get("preventAllSubmits")){this._clearErrors();var y=null,T;if(c.Z.isFeatureEnabled(a().VANILLA_FORM_HANDLER)){var C=this._formEl.getDOMNode();y=new v.Z(d.config.win,C),T=y.validate()}else T=this._validateForm();if(T.errors.length>0)this._renderErrors(T.errors);else{var O=y?y.getSanitizedFieldValues():T.data;this.fetchValidatedFormSubmission(y,this.get("form").id,d.bind(function(){this.fire("submission",{data:O})},this),d.bind(function(x){var D=[];d.Object.each(x.errors,function(k,L){D.push({fieldId:L,message:k})}),this._renderErrors(D)},this))}}p.halt()},bindUI:function(){this._formEl.on("submit",this._onSubmit,this),this.after("formDataChange",this._setFormData,this)},setStateSaving:function(){var h=this.get("contentBox");h.addClass("saving"),h.one('input[type="submit"]').set("value",(0,s.t)("Saving\u2026",null,{project:"scripts-v6-root"}))},setStateEditing:function(){var h=this.get("contentBox"),p=this.get("formSubmitButtonText");h.one('input[type="submit"]').set("value",p),h.removeClass("saving")},fetchValidatedFormSubmission:function(h,p,y,T){var C=h?h.getSanitizedFieldValues():this.getFormData(),O=JSON.stringify(C);d.Data.post({url:"/api/rest/forms/validate/"+p,headers:{"Content-Type":"application/json"},data:O,success:y,failure:T})},getFormData:function(){return this._validateForm().data},_renderErrors:function(h){d.Array.each(h,function(p){var y=this.get("contentBox").one("#"+p.fieldId);y&&y.one(".title").insert('
'+p.message+"
","before")},this)},_clearErrors:function(){this.get("contentBox").all(".field-error").remove(!0)},_validateForm:function(){var h={},p=[];return this._formEl.all(".form-item").each(function(y){var T=y.getAttribute("id"),C=this._getFieldData(y);if(C){var O=C.error;O&&p.push({fieldId:T,message:O}),h[T]=C.data}},this),{data:h,errors:p}},_getFieldData:function(h){var p=h.get("className").split(" "),y=null,T,C=!1;if(d.Array.each(p,function(O){d.Object.hasKey(this._typeGetterMap,O)?(y=O,T=this._typeGetterMap[y]):O==="section"&&(C=!0)},this),!C)return y===null&&(T=this._defaultGetter),T.call(this,h)},_getSingleFieldVal:function(h){var p=h.one(".field-element");if(p){var y=p.get("value"),T,C=!d.Lang.isValue(y)||y==="";return h.hasClass("required")&&C&&(T=(0,s.t)("Required",null,{project:"scripts-v6-root"})),{data:p.get("value"),error:T}}return null},_getMultiFieldVal:function(h){var p=[],y,T=!1;return h.all(".field-element").each(function(C){var O=C.get("value");d.Lang.isValue(O)&&O!==""&&(T=!0),p.push(C.get("value"))}),h.hasClass("required")&&!T&&(y=(0,s.t)("Required",null,{project:"scripts-v6-root"})),{data:p,error:y}},_getOptionFieldVal:function(h){var p=[],y;return h.all("input").each(function(T){T.get("checked")&&p.push(T.get("value"))},this),h.hasClass("required")&&p.length===0&&(y=(0,s.t)("Required",null,{project:"scripts-v6-root"})),{data:p,error:y}},_getLikertFieldVal:function(h){var p={},y;return h.all(".item").each(function(T){var C;T.all("input").each(function(O){O.get("checked")&&(C=O.get("value"))}),h.hasClass("required")&&!d.Lang.isValue(C)&&(y=(0,s.t)("Survey is not valid. Missing a required question.",null,{project:"scripts-v6-root"})),d.Lang.isValue(C)&&(p[T.getAttribute("data-question")]=C)}),{data:p,error:y}},_getRadioFieldVal:function(h){var p,y;return h.all("input").each(function(T){T.get("checked")&&(p=T.get("value"))},this),h.hasClass("required")&&!d.Lang.isValue(p)&&(y=(0,s.t)("Required",null,{project:"scripts-v6-root"})),{data:p,error:y}},_getSelectVal:function(h){var p=h.one("select").get("value"),y,T=!d.Lang.isValue(p)||p==="";return h.hasClass("required")&&T&&(y=(0,s.t)("Required",null,{project:"scripts-v6-root"})),{data:p,error:y}},_getPhoneFieldVal:function(h){var p=this._getMultiFieldVal(h),y=p.data;return y&&y.length===3&&y.unshift(""),p},_setFormData:function(){var h=this.get("formData");h!==null&&this._formEl.all(".form-item").each(function(p){var y=h[p.getAttribute("id")];if(y){var T=y.value,C=d.Lang.isValue(T)?T:y.values||[];this._setFieldData(p,C)}},this)},_setFieldData:function(h,p){var y=h.get("className").split(" "),T=null,C,O;d.Array.each(y,function(x){if(d.Object.hasKey(this._typeSetterMap,x)?(T=x,C=this._typeSetterMap[T]):x==="section"&&(O=!0),!O)return T===null&&(C=this._defaultSetter),C.call(this,h,p)},this)},_setSingleFieldVal:function(h,p){var y=h.one(".field-element");if(y)return y.set("value",p)},_setMultiFieldVal:function(h,p){var y=h.all(".field-element");y.each(function(T){T.set("value",p[T.getData("title")])})},_setOptionFieldVal:function(h,p){var y=h.all("input");y.each(function(T){p.indexOf(T.get("value"))!==-1&&T.setAttribute("checked","checked")},this)},_setLikertFieldVal:function(h,p){var y=h.all(".item");y.each(function(T){var C=T.getAttribute("data-question"),O=p[C];if(!(!d.Lang.isValue(O)||O==="")){var x=parseInt(O,10)+2;T.all("input").item(x).setAttribute("checked","checked")}})},_setRadioFieldVal:function(h,p){var y=h.all("input");y.each(function(T){T.get("value")===p&&T.setAttribute("checked","checked")},this)},_setSelectVal:function(h,p){h.one("select").set("value",p)},_setPhoneFieldVal:function(h,p){h.all(".field").size()===3&&p.length===4&&p.shift(),this._setMultiFieldVal(h,p)},evaluateTemplate:function(h){var p=this.get("formTemplate");try{return(0,l.Z)(p.html,d.merge({},h,{localizedStrings:p.localizedStrings}))}catch(y){return y.message}}},{CSS_PREFIX:"sqs-async-form",ATTRS:{form:{value:{fields:[]},validator:d.Lang.isValue},formTemplate:{value:null},hideSubmitButton:{value:!1},formSubmitButtonText:{value:(0,s.t)("Add to Cart",null,{project:"scripts-v6-root"})},formName:{value:(0,s.t)("My Form Name",null,{project:"scripts-v6-root"})},formData:{value:null},showTitle:{value:!0},preventDefaultSubmit:{value:!0},preventAllSubmits:{value:!1}}})},"1.0",{requires:["base","json","node","squarespace-ss-widget"]})},656796:function(m,E,e){"use strict";var n=e(529813),a=e.n(n),c=e(613421);YUI.add("squarespace-debugger",function(s){s.namespace("Squarespace");var l=s.Squarespace.Legacy.Class;s.Squarespace.Debugger=l.create({defaultOpts:{output:!0,ignore:[],name:"GenericComponent"},initialize:function(_){if(this.params=s.merge(this.defaultOpts,_),c.Z.isProductionEnvironment()&&(this.params.output=!1),this.params.uid&&(this.params.name+=" #"+this.getUID()),this.params.logEvents){var v=this;this.params.logEvents.fire=function(b){v.log("Firing",b),s.EventTarget.prototype.fire.apply(v.params.logEvents,arguments)}}this.logEnabled=this.params.output},enable:function(){this.params.output=!0},disable:function(){this.params.output=!1},isInfoEnabled:function(){return s.Lang.isBoolean(this.params.output)?this.params.output:!1},info:function(){return this.log.apply(this,arguments)},log:function(){if(this.params.output&&!(this.params.ignore.indexOf(arguments[0])>=0)){var _=Array.prototype.slice.call(arguments),v="["+this.params.name+"]";typeof _[0]=="string"?_[0]=v+" "+_[0]:_.unshift(v),console.log&&(s.UA.ios?console.log(_.join(" ")):console.log.apply?console.log.apply(console,_):console.log(_))}},error:function(){var _=Array.prototype.slice.call(arguments),v=_[_.length-1];v instanceof Error&&_.pop(),_.unshift(this.params.name),s.UA.ios&&(_=[_.join(" ")]),console.error&&(s.UA.ios?console.error(_.join(" ")):console.error.apply?console.error.apply(console,_):console.error(_));var b;v&&v instanceof Error?(b=v.stack,console.error("Stack: "+b)):console.trace&&console.trace(),a().trackCaughtError("damask",_[0],b)},warn:function(){var _=Array.prototype.slice.call(arguments),v="["+this.params.name+"]";typeof _[0]=="string"?_[0]=v+" "+_[0]:_.unshift(v),console.warn&&(s.UA.ios?console.warn(_.join(" ")):console.warn.apply?console.warn.apply(console,_):console.warn(_))},isTimingEnabled:function(){return!!this.params.output},getUID:function(){return s.Squarespace.Debugger.lastUID[this.params.name]===void 0&&(s.Squarespace.Debugger.lastUID[this.params.name]=0),s.Squarespace.Debugger.lastUID[this.params.name]++},time:function(_){this.params.output&&console.time&&console.time("["+this.params.name+"] "+_)},timeEnd:function(_){this.params.output&&console.timeEnd&&console.timeEnd("["+this.params.name+"] "+_)}}),s.Squarespace.Debugger.lastUID={}},"1.0",{requires:["squarespace-legacy-class","squarespace-util"]})},737099:function(){YUI.add("squarespace-factory-utils",function(m){m.namespace("Squarespace"),m.Squarespace.FactoryUtils={createEnumToClassFactory:function(E,e,n,a){var c={},s=m.Object.values(E);return m.Array.reduce(s,c,function(l,_){var v,b=m.Object.some(e,function(d){if(d[n]===_)return v=d,!0});return b?l[_]=v:m.Lang.isValue(a)&&(l[_]=e[a]),l}),{create:function(l,_){var v=c[l];if(!m.Lang.isValue(v))throw new Error("FactoryUtils: Could not find ctor for enumValue "+l+".");return new v(_||{})}}}}},"1.0",{requires:[]})},949700:function(m,E,e){"use strict";var n=e(513614),a=e(999762);YUI.add("squarespace-modal-lightbox",function(c){var s="sqs-modal-lightbox";c.namespace("Squarespace.Widgets");var l=c.Squarespace.Widgets.ModalLightbox=c.Base.create("modalLightbox",c.Squarespace.Widgets.SSWidget,[],{initializer:function(){var _=this.get("contentBox");_.set("role","dialog"),_.set("aria-label",this.get("title")),this.publish("open"),this.publish("close"),this._resizeEmitter=new c.Squarespace.ResizeEmitter({timeout:100})},destructor:function(){this._resizeEmitter.destroy(),c.Squarespace.EscManager.removeTarget(this)},renderUI:function(){l.superclass.renderUI.call(this),this.get("boundingBox").hide();var _=this._innerEl=c.Node.create(''),v=c.Node.create(''),b=this.get("contentDataAttributes");Object.keys(b).forEach(function(d){v.getDOMNode().setAttribute(d,b[d])}),_.append(v),this.get("contentBox").append('').append(_),this._renderContent(),this.get("openOnRender")&&this.open()},bindUI:function(){l.superclass.bindUI.call(this),this.after("contentChange",function(){this._renderContent(),this.syncUI()},this),this._resizeEmitter.on("resize",this.syncUI,this),this.get("contentBox").delegate("click",function(){this.close()},".lightbox-close",this),this.get("contentBox").delegate("keydown",function(_){(_.keyCode===13||_.keyCode===32)&&(_.preventDefault(),this.close())},".lightbox-close",this),this._innerEl.plug(c.Squarespace.Plugin.ScrollLock)},syncUI:function(){l.superclass.syncUI.call(this),this._setContentMarginTop()},open:function(){c.one("html").addClass("sqs-modal-lightbox-open"),this.get("openClassNode")&&this.get("openClassNode").addClass("sqs-modal-lightbox-open"),this.get("boundingBox").show(),this._setContentBoxTop(),this.syncUI(),c.Squarespace.EscManager.addTarget(this),this.fire("open"),this.revertFocusContainment=(0,a.containFocus)({container:this.get("boundingBox")._node}),this.documentScrollSubscription=c.one("document").on("scroll",this._setContentBoxTop,this)},close:function(){c.one("html").removeClass("sqs-modal-lightbox-open"),this.get("openClassNode")&&this.get("openClassNode").removeClass("sqs-modal-lightbox-open"),this.get("boundingBox").hide(),this.fire("close"),c.Squarespace.EscManager.removeTarget(this),this.revertFocusContainment&&this.revertFocusContainment(),this.documentScrollSubscription&&(this.documentScrollSubscription.detach(),this.documentScrollSubscription=null)},_renderContent:function(){var _=this._innerEl.one(".lightbox-content"),v=this.get("content");_.empty(),c.instanceOf(v,c.Widget)?v.render(_):_.setContent(v);var b=(0,n.t)("Close",null,{project:"scripts-v6-root"});_.prepend('')},_setContentBoxTop:function(){this.get("contentBox").setStyle("top",c.one(c.config.doc).get("scrollTop"))},_setContentMarginTop:function(){var _=this._innerEl.one(".lightbox-content"),v=c.one(c.config.win).get("winHeight"),b=_.get("offsetHeight"),d=b>v,g;d?g=50:g=v/2-b/2;var h=this.get("hasExtraBottomMargin")?v/2:g;_.setStyles({marginTop:g,marginBottom:h})}},{CSS_PREFIX:s,ATTRS:{content:{value:null},animDuration:{value:.3},openOnRender:{value:!1},openClassNode:{value:null},title:{value:""},hasExtraBottomMargin:{value:!1},contentClassName:{value:""},contentDataAttributes:{value:{}}}})},"1.0",{requires:["base","node","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-plugin-scroll-lock","squarespace-ss-widget","squarespace-util"]})},818593:function(){YUI.add("squarespace-model-sync-rest",function(m){function E(){this._ioConfigCache={}}E.prototype={sync:function(e,n,a){m.Lang.isValue(n.timeout)||(n.timeout=1e7),m.ModelSync.REST.prototype.sync.apply(this,arguments)},_storeRequest:function(e,n){this._ioConfigCache[e.id]=m.merge(n,{})},_retrieveAndEvict:function(e){var n=this._ioConfigCache[e];return this._ioConfigCache[e]=null,n},_isCrumbFailure:function(e){return e&&e.crumbFail&&e.crumb},_sendSyncIORequest:function(e){var n=m.ModelSync.REST.prototype._sendSyncIORequest.apply(this,arguments);return this._storeRequest(n,e),n},_onSyncIOEnd:function(e,n){this._retrieveAndEvict(e),m.ModelSync.REST.prototype._onSyncIOEnd.apply(this,arguments)},_onSyncIOSuccess:function(e,n,a){var c=this._retrieveAndEvict(e),s={},l=n.responseText;if(m.Lang.isValue(l)&&l.trim()&&(s=m.JSON.parse(l)),this._isCrumbFailure(s)){var _=s.crumb;m.ModelSync.REST.CSRF_TOKEN=_,m.Env.CSRF_TOKEN=_,c.headers["X-CSRF-Token"]=_,this._sendSyncIORequest(c)}else m.ModelSync.REST.prototype._onSyncIOSuccess.apply(this,arguments)},_onSyncIOFailure:function(e,n,a){var c=a.callback;if(c){var s={},l=n.responseText;m.Lang.isValue(l)&&l.trim()&&(s=m.JSON.parse(l)),c({code:n.status,msg:n.statusText,responseJSON:s},n)}}},m.mix(E,m.ModelSync.REST,!1,null,1),m.namespace("Squarespace.ModelSync").REST=E},"1.0",{requires:["model-sync-rest"]})},898181:function(m,E,e){"use strict";var n=e("513614"),a=e("881910"),c=e.n(a),s=e("170856"),l=e.n(s),_=e("660016"),v=e.n(_),b=e("126144"),d=e("55434"),g=e.n(d);function h(y,T){if(!Array.isArray(y)||!y.length)return[];var C=T.map(O=>O.backendType);return y.reduce((O,x)=>(C.includes(x.backendType)||O.push(x.backendType),O),[])}function p(){var y=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=y.formId,C=y.connections,O=C===void 0?[]:C,x=y.legacyDefaults,D=x===void 0?{}:x,k=O.reduce((P,I)=>{var V=I.backendId,j=I.backendType,N=I.config,B=I.connectionState,W=I.socialConfig;if(!V&&j!==FormBackendConnectionType.ZAPIER)return P;switch(j){case FormBackendConnectionType.CAMPAIGNS:P.campaignsConnect={connectionState:FormBackendConnectionState.CONNECTED,useSingleOptIn:!!(N&&N.useSingleOptIn==="true"),listId:V};break;case FormBackendConnectionType.EMAIL:P.emailConnect={connectionState:B,email:V};break;case FormBackendConnectionType.ZAPIER:P.zapierConnect={connectionState:B,url:V};break;case FormBackendConnectionType.GOOGLE:P.googleDocsConnect={connectionState:B,username:W.profileUserName,spreadsheetName:N.spreadsheetName||D.googleSpreadsheetName,socialConfig:W};break;case FormBackendConnectionType.MAILCHIMP:P.mailchimpConnect={connectionState:B,list:V,username:W.profileUserName||D.mailchimpUsername,useSingleOptIn:!!(N&&N.useSingleOptIn==="true"),socialConfig:W};break;default:P.errors=P.errors||[],P.errors.push(I);break}return P},{});if(!T){var L=window.Static.SQUARESPACE_CONTEXT.authenticatedAccount.email;L&&!k.emailConnect&&(k.emailConnect={connectionState:FormBackendConnectionState.CONNECTED,email:L})}return k}YUI.add("squarespace-models-form-base",function(y){var T=function(C){if(y.Lang.isArray(C))return C;var O=[];return y.Object.each(C,function(x,D){x&&(x.connectionState===g().CONNECTED||x.connectionState===g().PENDING)&&O.push(y.merge({_type:D},x))}),O};y.namespace("Squarespace.Models"),y.Squarespace.Models.FormBase=y.Base.create("formBase",y.Model,[y.Squarespace.ModelSync.REST],{root:y.Squarespace.REST_API_ROOT+"forms",url:y.Squarespace.REST_API_ROOT+"forms/{id}",serialize:function(){var C=this.toJSON();C.fields=y.Array.map(C.fields,function(x){return y.JSON.stringify(x)}),C.submissionMessage=y.JSON.stringify(C.submissionMessage),C.disclaimerMessage=y.JSON.stringify(C.disclaimerMessage);var O=C.backendConnectionConfigs;return delete C.backendConnectionConfigs,delete C.connectedBackends,{form:C,backendConnectionConfigs:O||[],removedBackends:this.get("removedConnectedBackends")}},getConnBackend:function(C){var O=this.get("connectedBackends");return y.Lang.isValue(O)?y.Array.filter(O,function(x){return x.backendType===C}):[]}},{ATTRS:{id:{value:null},type:{value:c().FORM_BLOCK,validator:y.Squarespace.AttrValidators.isValueIn(c())},name:{value:(0,n.t)("New Form",null,{project:"scripts-v6.models"}),validator:y.Squarespace.AttrValidators.isString},fields:{value:[],setter:function(C){return y.Array.map(C,function(O){return y.Lang.isString(O)?y.JSON.parse(O):O},this)},validator:y.Squarespace.AttrValidators.isArray},connectedBackends:{value:null,validator:y.Squarespace.AttrValidators.isNullOrArray},submitButtonText:{value:(0,n.t)("Submit",null,{project:"scripts-v6.models"}),validator:y.Squarespace.AttrValidators.isString},submissionMessage:{value:{html:(0,n.t)("Thank you!",null,{project:"scripts-v6.models"})},setter:function(C){return y.Lang.isString(C)?y.JSON.parse(C):C}},disclaimerMessage:{valueFn:function(){return this.get("type")===c().NEWSLETTER_BLOCK||this.get("type")===c().SLIDE?{html:(0,n.t)("We respect your privacy.",null,{project:"scripts-v6.models"})}:{html:""}},setter:function(C){return y.Lang.isString(C)?y.JSON.parse(C):C}},submissionHTML:{value:null,validator:y.Squarespace.AttrValidators.isNullOrString},successRedirect:{value:"",setter:function(C){if(C){if(typeof C=="string")return C;if(typeof C=="object")return C.url}return""},validator:y.Squarespace.AttrValidators.isNullOrString},backendConnectionConfigs:{value:[],setter:function(C){var O=T(C);return this.set("removedConnectedBackends",h(this.get("connectedBackends"),O)),y.Array.filter(O,function(x){return x.connectionState===g().CONNECTED})}},removedConnectedBackends:{value:[],validator:y.Squarespace.AttrValidators.isArray},captchaEnabled:{value:!1,validator:y.Squarespace.AttrValidators.isBoolean},captchaTheme:{value:v().LIGHT,validator:y.Squarespace.AttrValidators.isValueIn(v())},captchaAlignment:{value:l().LEFT,validator:y.Squarespace.AttrValidators.isValueIn(l())}}})},"1.0",{requires:["base","json","model","model-list","squarespace-attr-validators","squarespace-model-sync-rest","squarespace-util"]})},722248:function(){YUI.add("squarespace-models-form",function(m){m.namespace("Squarespace.Models");var E=m.Squarespace.Models.Form=m.Base.create("form",m.Squarespace.Models.FormBase,[],{serialize:function(){var e=E.superclass.serialize.call(this);return m.JSON.stringify(e)}});m.Squarespace.Models.FormList=m.Base.create("formList",m.ModelList,[m.Squarespace.ModelSync.REST],{model:m.Squarespace.Models.Form,filterByType:function(e){return this.filter(function(n){return n.get("type")===e})}}),m.Squarespace.FormCache=new m.Squarespace.Models.FormList},"1.0",{requires:["base","json","model","model-list","squarespace-model-sync-rest","squarespace-models-form-base"]})},765420:function(m,E,e){"use strict";var n=e(513614),a=e(881910),c=e.n(a),s=e(170856),l=e.n(s),_=e(660016),v=e.n(_);YUI.add("squarespace-models-slice-demo-custom-form",function(b){b.namespace("Squarespace.Models"),b.Squarespace.Models.SliceDemoCustomForm=b.Base.create("SliceDemoCustomForm",b.Squarespace.Models.Form,[],{},{ATTRS:{type:{value:c().SLIDE},name:{value:(0,n.t)("Demo Form",null,{project:"scripts-v6.models"})},fields:{value:[{type:"name",id:null,locked:!1,title:(0,n.t)("Name",null,{project:"scripts-v6.models"}),description:"",required:!0,name:!0},{type:"email",id:null,locked:!1,title:(0,n.t)("Email Address",null,{project:"scripts-v6.models"}),description:"",placeholder:"",required:!0,email:!0},{type:"text",id:null,locked:!1,title:(0,n.t)("Subject",null,{project:"scripts-v6.models"}),description:"",placeholder:"",required:!0,text:!0},{type:"textarea",id:null,locked:!1,title:(0,n.t)("Message",null,{project:"scripts-v6.models"}),description:"",placeholder:"",required:!0,textarea:!0}]},submitButtonText:{value:(0,n.t)("Submit",null,{project:"scripts-v6.models"})},disclaimerMessage:{value:{html:(0,n.t)("We respect your privacy.",null,{project:"scripts-v6.models"})}},submissionMessage:{value:{html:(0,n.t)("Thank you!",null,{project:"scripts-v6.models"})}},captchaEnabled:{value:!1},captchaTheme:{value:v().LIGHT},captchaAlignment:{value:l().LEFT}}})},"1.0",{requires:["base","squarespace-models-form"]})},822349:function(m,E,e){"use strict";var n=e(881910),a=e.n(n),c=e(513614);YUI.add("squarespace-models-slice-demo-newsletter-form",function(s){s.namespace("Squarespace.Models"),s.Squarespace.Models.SliceDemoNewsletterForm=s.Base.create("SliceDemoNewsletterForm",s.Squarespace.Models.Form,[],{},{ATTRS:{type:{value:a().SLIDE},name:{value:(0,c.t)("Newsletter Form",null,{project:"scripts-v6.models"})},fields:{value:[{type:"email",id:"overlayNewsletterEmail",locked:!0,title:(0,c.t)("Email Address",null,{project:"scripts-v6.models"}),description:"",placeholder:(0,c.t)("Email Address",null,{project:"scripts-v6.models"}),required:!0,email:!0}]},disclaimerMessage:{value:{html:(0,c.t)("We respect your privacy.",null,{project:"scripts-v6.models"})},setter:function(l){return s.Lang.isString(l)?s.JSON.parse(l):l}}}})},"1.0",{requires:["base","squarespace-models-form"]})},701480:function(m,E,e){"use strict";var n=e(134521),a=e.n(n),c=e(513614),s=e(425611),l=e.n(s),_=e(755306),v=e.n(_),b=e(991775),d=e.n(b),g=e(999762),h=e(224689),p=e(700698),y=e(6233),T=e(309055),C=e(578417),O=e.n(C),x=e(528215),D=e(800020),k=600;YUI.add("squarespace-popup-overlay",function(L){var P=L.config.win.matchMedia("(max-width: "+k+"px)"),I=window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.isLoggedIn();L.namespace("Squarespace.Widgets");var V=L.Squarespace.Widgets.PopupOverlay=L.Base.create("PopupOverlay",L.Squarespace.Widgets.SSWidget,[],{initializer:function(){this.popupSettings=L.config.win.Static.SQUARESPACE_CONTEXT.websiteSettings.popupOverlaySettings||{},this.isHidden=!0,this.isSetup=!1,this._cb=this.get("contentBox"),this._slideLayout=null,this.documentHeight=this.getDocumentHeight(),this.viewportHeight=L.config.win.innerHeight,document.body.scrollLeft=0,this.publish("closed",{emitFacade:!0}),L.Global.publish("popupOverlay:showing"),L.Global.publish("popupOverlay:ready"),this.loadPopupJSON(),this.showEvent=L.Global.on("popupOverlay:requestShow",this.show,this),this.hideEvent=L.Global.on("popupOverlay:hide",this.hide,this),this.formSubmitEvent=L.Global.on("form:submitSuccess",this._markSubmitted,this),this._onMediaQueryChange=this._onMediaQueryChange.bind(this)},destructor:function(){this.showEvent.detach(),this.showEvent=null,this.hideEvent.detach(),this.hideEvent=null,this.formSubmitEvent.detach(),this.formSubmitEvent=null,this._slideLayout&&(this._slideLayout.destroy(!0),this._slideLayout=null),this.popupContainerNode.remove()},getDocumentHeight:function(){var j=L.config.win.document,N=j.body,B=j.documentElement;return Math.max(N.scrollHeight,N.offsetHeight,B.clientHeight,B.scrollHeight,B.offsetHeight)},render:function(){this.popupContainerNode=L.Node.create('
'),L.one("body").append(this.popupContainerNode),V.superclass.render.call(this,this.popupContainerNode)},loadPopupJSON:function(){var j=L.config.win.location,N=j.pathname+j.hash,B="currentUrl="+encodeURIComponent(N);(0,D.F)(L)&&(B+="&forceVisibility=true");var W=new XMLHttpRequest;W.open("GET","/api/popup-overlay/render?"+B),W.onload=function(){var X=null;try{if(W.status===200)X=JSON.parse(W.response);else throw new Error("Could not fetch popup overlay JSON")}catch(re){X=null}if(!X||!X.shouldDisplayOnPage){L.Squarespace.Singletons.PopupOverlay.destroy(),L.Squarespace.Singletons.PopupOverlay=null;return}var ne=p.C(y.Z.KEY)||{};ne[y.Z.VERSION]=this.popupSettings.version,p.m(y.Z.KEY,ne),I?this._loggedInResponse(X.renderedHtml):this._loggedOutResponse(X.renderedHtml)}.bind(this),W.send()},setupPopupOverlay:function(j){if(!(this.isSetup||!j)){this._cb.set("innerHTML",j),L.Global.fire("popupOverlay:ready");var N=this._cb.one(".sqs-slide-container .sqs-slide"),B=N.one(".sqs-popup-overlay-close");B.setAttribute("aria-label",(0,c.t)("Close",null,{project:"scripts-v6-root",notes:"Pop-up close button accessible name"})),I||(B.once("click",this._closePopup.bind(this)),B.on("keydown",function(X){var ne=X.keyCode===13,re=X.keyCode===32;(ne||re)&&this._closePopup(X)}.bind(this)),N.one(".layer-back").once("click",this._closePopup,this),L.Squarespace.EscManager.disable(),L.one(L.config.win.document.documentElement).on("keyup",this._onKeyUp,this));var W=N.getAttribute("data-slide-layout-id");this.popupSettings.layout=W,this._slideLayout=L.Squarespace.SlideRendering.Layouts.Factory.create(W,{boundingBox:N,render:!0}),this.isSetup=!0}},scrollHandler:function(j,N,B,W){var X=L.config.win.document,ne=X.defaultView&&X.defaultView.scrollY||X.documentElement&&X.documentElement.scrollTop,re=this.documentHeight-this.viewportHeight,ye;if(re>0?ye=ne/re:ye=1,ye>=this.popupSettings.scrollPercentage/100){var Re=L.one(L.config.win);Re.detach("scroll",B),Re.detach("resize",W),clearTimeout(this.popupTimer),this.setupPopupOverlay(N),this.triggeredBy=d().SCROLL,this.show()}},resizeHandler:function(){this.viewportHeight=L.config.win.innerHeight},_loggedOutResponse:function(j){var N=a()(this.scrollHandler,100),B=a()(this.resizeHandler,100),W=L.one(L.config.win);if(this.popupSettings.showOnTimer&&(this.popupTimer=setTimeout(function(){this.setupPopupOverlay(j),W.detach("scroll",N),W.detach("resize",B),this.triggeredBy=d().TIME,this.show()}.bind(this),this.popupSettings.timerDelay)),this.popupSettings.showOnScroll){if(this.documentHeight===this.viewportHeight&&!this.popupSettings.showOnTimer){this.setupPopupOverlay(j),this.triggeredBy=d().SCROLL,this.show();return}W.on("scroll",N,this,j,N,B),W.on("resize",B,this)}},_loggedInResponse:function(j){this.setupResponse=j,this.isHidden||(this.setupPopupOverlay(j),this.show())},_onKeyUp:function(j){var N=j.keyCode===27;N&&(j.stopPropagation(),this._closePopup(j))},_closePopup:function(j){if(j&&j.preventDefault(),!I){var N=j.currentTarget.hasClass("sqs-popup-overlay-close")?(0,c.t)("CLOSE",null,{project:"scripts-v6-root"}):(0,c.t)("DISMISS",null,{project:"scripts-v6-root"});this._trackEvent(v()[N])}this.hide(),this._recordClose(),L.Squarespace.EscManager.enable(),L.one(L.config.win.document.documentElement).detach("keyup",this._onKeyUp),this._resizeEvent&&this._resizeEvent.detach(),this.fire("closed"),x.Yt({win:L.config.win})},_recordClose:function(){var j=p.C(y.Z.KEY);j&&(j[y.Z.CLOSED_DATE]=Date.now(),p.m(y.Z.KEY,j))},_markSubmitted:function(){var j=p.C(y.Z.KEY);j&&(j[y.Z.SUBMITTED]=!0,p.m(y.Z.KEY,j))},_trackEvent:function(j){var N=[],B=null,W=L.one('div.sqs-slide[data-slide-type="popup-overlay"]');W.one(".sqs-slice-buttons")?W.all(".sqs-slice-buttons li a").each(function(X){N.push({buttonText:X.get("innerText"),clickthroughUrl:X.getAttribute("href")})}):W.one(".sqs-slice-newsletter")?(N.push({buttonText:W.one(".newsletter-form button").get("value"),clickthroughUrl:null}),B=W.one(".newsletter-form").getAttribute("data-form-id")):N=null,T.lZ({pagePath:L.config.win.location.pathname,version:this.popupSettings.version.toString(),action:j,trigger:this.triggeredBy,layoutId:this.popupSettings.layout,buttons:N,formId:B})},hide:function(){this.isHidden=!0;var j=this.get("boundingBox");j.removeClass("visible"),j.setStyle("display","none"),this.revertFocusContainment&&(this.revertFocusContainment(),this.revertFocusContainment=null),this.previouslyFocusedElement?this.previouslyFocusedElement.focus():L.one("body").focus(),P.removeListener(this._onMediaQueryChange)},show:function(){if(this.isHidden=!1,!(!this.isSetup&&this.setupResponse&&(this.setupPopupOverlay(this.setupResponse),!this.isSetup))){var j=this.get("boundingBox");j.addClass("visible"),j.setStyle("display","block"),I||this._trackEvent(v().DISPLAY),L.Global.fire("popupOverlay:showing"),!I&&L.Squarespace.Singletons.WebsiteOverlaysManager&&L.Squarespace.Singletons.WebsiteOverlaysManager.syncPreviewBar(),this.previouslyFocusedElement=L.one(L.config.doc.activeElement);var N=j.one(g.focusableSelector);N&&N.focus(),this._onShowOrMediaQueryChange(!P.matches),P.addListener(this._onMediaQueryChange)}},_onMediaQueryChange:function(j){this._onShowOrMediaQueryChange(!j.matches)},_onShowOrMediaQueryChange:function(j){var N=this.get("boundingBox");N.setAttribute("aria-labelledby","sqs-slash-page-header"),j?(N.setAttribute("role","dialog"),this.revertFocusContainment=g.containFocus({container:this.get("boundingBox").getDOMNode(),root:L.one("body").getDOMNode(),setFocusOnContain:!1,restoreFocusOnRevert:!1})):(N.setAttribute("role","region"),this.revertFocusContainment&&(this.revertFocusContainment(),this.revertFocusContainment=null))}},{CSS_PREFIX:"sqs-popup-overlay",ATTRS:{style:{}}});L.config.win.Squarespace.onInitialize(L,function(){var j=L.config.win.Static.SQUARESPACE_CONTEXT.websiteSettings.popupOverlaySettings,N=l().NONE;if(j&&j.style&&(N=j.style),!L.Squarespace.Singletons.PopupOverlay){L.Squarespace.Singletons.PopupOverlay=new V({style:N});var B=h.Z.shouldShowPopupOverlay({context:{pageType:L.config.win.Static.SQUARESPACE_CONTEXT.pageType,collection:L.config.win.Static.SQUARESPACE_CONTEXT.collection},settings:j,isMobile:L.UA.mobile,urlSearch:window.location.search});(I||B)&&L.Squarespace.Singletons.PopupOverlay.render()}}),L.config.win.Squarespace.onDestroy(L,function(){L.Squarespace.Singletons.PopupOverlay&&L.Squarespace.Singletons.PopupOverlay.destroy()})},"1.0",{requires:["base","json","node","squarespace-escmanager","squarespace-util","squarespace-slide-rendering-layouts-factory","squarespace-ss-widget"]})},184757:function(m,E,e){"use strict";var n=e(701480),a=e(446289),c=e.n(a),s=e(690682),l=e(432133),_=e(179758),v=e.n(_),b=e(389757),d=e(737099),g=e.n(d),h=e(694176),p=e(157817),y=e(971415),T=e(558487),C=e.n(T),O=e(34457),x=e(986255),D=e(784087),k=e(961811),L=e.n(k),P=e(656796),I=e(507775),V=e(907922),j=e.n(V),N=e(685241),B=e.n(N),W=e(874424),X=e.n(W),ne=e(949700),re=e(765420),ye=e(722248),Re=e.n(ye),Te=e(6580),Ne=e.n(Te),K=e(210015),q=e.n(K),te=e(818593),Z=e.n(te),ae=e(970778),ie=e.n(ae),ce=e(898181),we=e(822349),Me=e(19868),$=e(444224),Ze=e(843196),Fe=e.n(Ze),ut=e(863292),vt=e.n(ut),Le=e(93357),St=e.n(Le),Ye=e(428296),me=e(116092),Je=e(590050),He=e(745077),be=e(468284),ve=e(212496),ge=e(226185),Pe=e(560191),qe=e(905906),De=e(395979),Ie=e(723002),Oe=e(918355),je=e(725519),nt=e(824222),Xe=e(995603),et=e(378817),wt=e(504761),Er=e(640610),Sr=e(724964),Ht=e(35223),qt=e.n(Ht),Ct=e(847189),xt=e(878686),fe=e.n(xt),_e=e(268506),Qe=e(886834),gt=e(679132),Or=e.n(gt),Wt=e(858318),Ln=e(997116),fi=e(84840),Ra=e(905567),Oa=e(467320),Xn=e.n(Oa),pr=e(952819),Qn=e(490429),pi=e(538436),In=e(531534),$n=e(997620),Ma=e(637150),Wr=e(252394),hi=e(2447),mn=e(142756),vi=e(714085),gi=e(321055),Yn=e(530481),Gr=e(140477),_i=e(68873),La=e(976864),mi=e.n(La),yn=e(951922),En=e(48031),hr=e(458585),tn=e(331438),Ia=e(621699),Vr=e.n(Ia),Pn=e(120121),yi=e.n(Pn),xn=e(561052),ea=e(43910),ta=e(342568),xe=e(248673),rt=e(71102),ra=e(406711),Pa=e(36575)},93357:function(){YUI.add("squarespace-slide-rendering-color-processor",function(m){m.namespace("Squarespace.SlideRendering");var E="222222";m.Squarespace.SlideRendering.ColorProcessor={processNode:function(e){var n=e.getAttribute("data-average-color"),a;n?a=m.JSON.parse(n):a={topLeftAverage:E,topRightAverage:E,bottomLeftAverage:E,bottomRightAverage:E,centerAverage:E,suggestedBgColor:E},delete a.suggestedBgColor;var c=this._processColors(a),s=this._calculateStyles(c.averageColor,c.distribution);return e.setData("processedColorStyles",s),s},_processColors:function(e){var n=0,a=0,c=0,s=new m.Squarespace.SlideRendering.Slices.RGB({color:{r:0,g:0,b:0}}),l,_;m.Object.each(e,function(d){_=new m.Squarespace.SlideRendering.Slices.RGB({color:d}),l=_.getBrightness(),n++,a+=l,c+=Math.pow(l,2),s.add(_)});var v=(c-Math.pow(a,2)/n)/n,b=Math.sqrt(v)/(255/2);return s.divide(n),{distribution:b,averageColor:s}},_calculateStyles:function(e,n){var a=153,c=e.getBrightness(),s=n>.4?.5:.3,l=c>=a?30:20;return e.darken(l),{opacity:s,color:e}}}},"1.0",{requires:["json","squarespace-slide-rendering-slices-rgb"]})},843196:function(){YUI.add("squarespace-slide-rendering-grid-gallery-densities",function(m){m.namespace("Squarespace.SlideRendering"),m.Squarespace.SlideRendering.GridGalleryDensities={desktop:{orientation:{horizontal:{ratio:{original:[3,4,5,6,7],r21:[3,4,5,6,7],r169:[3,4,5,6,7],r32:[3,4,5,6,7],r43:[3,4,5,6,7],r54:[3,4,5,6,7]}},vertical:{ratio:{original:[5,6,7,8,9],r21:[2,3,4,5,6],r169:[2,3,4,5,6],r32:[2,3,4,5,6],r43:[2,3,4,5,6],r54:[2,3,4,5,6]}},square:{ratio:{r11:[3,4,5,6,7]}}}},"maxWidth-800":{orientation:{horizontal:{ratio:{original:[5,6,7,8,9],r21:[3,4,5,6,7],r169:[3,4,5,6,7],r32:[3,4,5,6,7],r43:[3,4,5,6,7],r54:[3,4,5,6,7]}},vertical:{ratio:{original:[3,4,5,6,7],r21:[2,3,4,5,6],r169:[2,3,4,5,6],r32:[2,3,4,5,6],r43:[2,3,4,5,6],r54:[2,3,4,5,6]}},square:{ratio:{r11:[3,4,5,6,7]}}}},"maxWidth-600":{orientation:{horizontal:{ratio:{original:[6,7,8,9,10],r21:[7,7,11,14,14],r169:[7,7,10,13,13],r32:[6,6,8,11,11],r43:[5,5,7,10,10],r54:[5,5,7,9,9]}},vertical:{ratio:{original:[3,3,4,5,5],r21:[3,3,4,5,5],r169:[3,3,4,5,5],r32:[4,4,5,6,6],r43:[5,5,6,7,7],r54:[5,5,7,9,9]}},square:{ratio:{r11:[6,6,7,9,9]}}}},"maxHeight-600":{orientation:{horizontal:{ratio:{original:[3,3,4,5,5],r21:[3,3,4,5,5],r169:[3,3,4,5,5],r32:[3,3,4,5,5],r43:[3,3,4,5,5],r54:[3,3,4,5,5]}},vertical:{ratio:{original:[4,4,5,6,6],r21:[2,2,3,4,4],r169:[2,2,3,4,4],r32:[2,2,3,4,4],r43:[2,2,3,4,4],r54:[2,2,3,4,4]}},square:{ratio:{r11:[3,3,4,5,5]}}}}}},"1.0",{requires:[]})},444224:function(m,E,e){"use strict";var n=e(519191),a=e(134521),c=e.n(a);YUI.add("squarespace-slide-rendering-grid-gallery",function(s){s.namespace("Squarespace.SlideRendering");var l=100,_="sqs-gallery-grid",v=s.Squarespace.SlideRendering.GridGalleryDensities,b=!1;s.Squarespace.SlideRendering.GridGallery=s.Base.create("GridGallery",s.Base,[s.Squarespace.Mixins.EventRegistrar],{initializer:function(){this._initGallery(),this._bindUI(),this._timeouts=[],this._duplicationIterations=0,this._throttledSyncUI=c()(this.syncUI.bind(this),100,{leading:!1,trailing:!0})},destructor:function(){this._throttledSyncUI.cancel(),s.Array.each(this._timeouts,function(g){g.cancel()},this),this._removeClonedItems();var d=this.get("container");d&&d.inDoc()&&(d.removeClass(_),this._reset())},syncUI:function(){this._reset(),this._renderGrid()},_bindUI:function(){var d=window.orientation===void 0?"resize":"orientationchange";this._registerEvent(s.one(s.config.win).on(d,this._throttledSyncUI,this))},_initGallery:function(){this.get("container").addClass(_);var d=this.get("items"),g=new s.Parallel;d.each(function(h){var p=h.one("img");p.getAttribute("src")===""&&p.once("load",g.add())}),g.done(function(){this._throttledSyncUI()}.bind(this))},_reset:function(){var d=this.get("container");this.densityValues=this._parseDensityJSON(),this.imageOrdering=this._getTweakImageOrdering(),this.dimension=this._getAxisDimension(),this.axisGroups=[],this.imageRatios=[],d.setStyles({marginTop:null,marginLeft:null,width:null,height:null}),this._setAxisDirection(),this.currentAxisGroup={dimension:this.dimension,items:[],imageRatios:[]}},_renderGrid:function(){var g=this.get("items");g.each(function(y,T){this._resetItemStyles(y);var C=this.imageOrdering;if(C==="repeat"||C==="random"&&y.getAttribute("data-clone")!==""){var O=y.one("img"),x=this._getCalculatedImageDimensions(O);this.currentAxisGroup.imageRatios.push(x);var D=y._node,k=this._fitsInAxis(this.currentAxisGroup);k?this.currentAxisGroup.items.push(D):(this._growAxis(this.currentAxisGroup),this.axisGroups.push(this.currentAxisGroup),this.currentAxisGroup={dimension:this.dimension,items:[D],imageRatios:[this._getCalculatedImageDimensions(O)]})}},this);var h=this._duplicationIterations>=l;if(h)n.Tb(new Error("Could not duplicate enough rows to fill a grid gallery to fit container."));else{var p=this._isScreenFilled();if(!p){this._duplicateOriginalItems(),this._throttledSyncUI();return}}this._positionItems(),this._positionContainer(),this._loadImages(g)},_loadImages:function(d){d.each(function(h){var p=h.one("img"),y=this._getTweakLoadingAnimation();s.one(p).once("load",function(C){var O=1;y&&(O=Math.floor(Math.random()*2e3)),this._timeouts.push(s.later(O,C.currentTarget,function(){this.get("parentNode").addClass("loaded")}))},this),this._timeouts.push(s.later(10,this,function(){window.ImageLoader.load(p,{load:!0,mode:"fill"})}))},this)},previewImageLoading:function(d){var g=d,h=100,p=this.get("items"),y=this.get("container");y.addClass("no-transition"),p.each(function(T){T.removeClass("loaded"),g==="true"&&(h=Math.floor(Math.random()*2e3)+100),this._timeouts.push(s.later(h,T,function(){this.addClass("loaded")}))}),this._timeouts.push(s.later(100,this,function(){y.removeClass("no-transition")}))},_fitsInAxis:function(d){var g=this.get("container"),h=this._getRenderedAxisDimension(d),p=d.imageRatios[d.items.length],y=d.dimension,T=h+this._getProportionalDimension(p,y),C;return this.get("axisDirection")==="row"?C=g.get("clientWidth"):C=g.get("clientHeight"),T<=C},_getRenderedAxisDimension:function(d){for(var g=0,h=d.dimension,p=d.items.length,y=0;yp?T=h*C.ratioHeight/C.ratioWidth:y=p*C.ratioWidth/C.ratioHeight),{width:y,height:T}},_growAxis:function(d){var g=this.get("container"),h=this._getRenderedAxisDimension(d),p=this.get("axisDirection"),y;p==="row"?y=g.get("clientWidth"):y=g.get("clientHeight");for(var T=Math.floor(y*d.dimension/h),C,O=d.items.length,x=0;xh?this.axisGroups.lastVisibleAxisGroupIndex||(this.axisGroups.lastVisibleAxisGroupIndex=y,this.axisGroups.overage=g-h):this.axisGroups.overage=g-h}.bind(this)),g===0&&h===0?!0:g>h},_setAxisDirection:function(){if(this.get("container").inDoc()){var d=s.one(this.get("slideContainerSelector")).get("className"),g=d.match(/(grid-gallery-direction-)\w+/g)[0];g.indexOf("horizontal")!==-1||this._getTweakImageRatio()!=="original"?this.set("axisDirection","row"):this.set("axisDirection","column")}},_getGridDensity:function(){var d=this.densityValues,g=d[0],h=s.one(this.get("slideContainerSelector")),p=["grid-gallery-density-very-low","grid-gallery-density-low","grid-gallery-density-medium","grid-gallery-density-high","grid-gallery-density-very-high"];return p.forEach(function(y,T,C){h.hasClass(y)&&(g=d[T])}),g},_parseDensityJSON:function(){if(b===!0&&this.get("testDensityValue")){var d=this.get("testDensityValue");return[d,d,d,d,d]}var g=v,h=this.get("container"),p=this.get("axisDirection"),y=this._getTweakImageRatio(!0),T=this._getTweakImageOrientation(),C=h.get("clientWidth"),O=h.get("clientHeight"),x,D,k;return C<=600&&O<=600?C *'),v=s.querySelector(".responsive-wrapper"),b=s.querySelector(".layer-front .sqs-slide-layer-content"),d=s.querySelector('[data-slice-type="album"]'),g=Array.prototype.slice.call(s.querySelectorAll(".track"));g.forEach(function(p,y,T){p.insertBefore(p.querySelector(".track-title"),p.querySelector(".track-progress-bar"))}),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.49,minFontSize:13,onReset:function(p,y){y.classList.remove("text-align-center")},onMinFontSize:function(p,y){y.classList.add("text-align-center")}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".sqs-slide-layer"),widthBoundaryNode:l,widthRatio:.9,heightRatio:.16,scale:.99,minFontSize:18}));var h=new n.FontSize({rootNode:v,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:l,minFontSize:10,widthRatio:.9,enabled:!0,onReset:function(p){p=new c.Node(p),p.removeClass("stacked"),b.clientWidth>900?(p.addClass("top-right"),p.one('[data-slice-type]:not([data-content-empty="true"])')&&p.ancestor(".sqs-slide").one('[data-compound-type="logo"]').addClass("text-align-left")):(p.removeClass("top-right"),p.one('[data-slice-type]:not([data-content-empty="true"])')&&p.ancestor(".sqs-slide").one('[data-compound-type="logo"]').removeClass("text-align-left"))},onMinFontSize:function(p){p=new c.Node(p),p.addClass("stacked"),p.removeClass("top-right"),p.ancestor(".sqs-slide").one('[data-compound-type="logo"]').removeClass("text-align-left")}});this._registerResponsiveComponent(h),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:_,targetNode:v,padding:60,onReset:function(p,y){b.clientWidth>900?(y.classList.add("top-right"),y.querySelector('[data-slice-type]:not([data-content-empty="true"])')&&p.parentNode.classList.add("text-align-left")):(y.classList.remove("top-right"),y.querySelector('[data-slice-type]:not([data-content-empty="true"])')&&p.parentNode.classList.remove("text-align-left"))},onRespond:function(p,y){y.classList.remove("top-right"),p.parentNode.classList.remove("text-align-left")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:d,padding:100,onReset:function(p,y){p.classList.add("align-center-js"),p.classList.remove("stacked"),b.classList.remove("scroll"),y.parentNode.classList.add("bottom"),c.later(10,p,function(){this.style.marginTop=-Math.floor(this.clientHeight/2)+"px",this.style.marginLeft=-Math.floor(this.clientWidth/2)+"px"})},onRespond:function(p,y){p.classList.remove("align-center-js"),p.classList.add("stacked"),b.classList.add("scroll"),y.parentNode.classList.remove("bottom")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:v,widthBoundaryNode:l,widthRatio:.8,onReset:function(p){p.classList.remove("stacked"),p.classList.add("top-right")},onRespond:function(p){p.classList.add("stacked"),p.classList.remove("top-right")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:v,padding:60,onReset:function(p,y){p.classList.add("align-center-js"),p.classList.remove("stacked"),y.classList.add("top-right"),b.classList.remove("scroll"),c.later(10,p,function(){this.style.marginTop=-Math.floor(this.clientHeight/2)+"px",this.style.marginLeft=-Math.floor(this.clientWidth/2)+"px"})},onRespond:function(p,y){p.classList.remove("align-center-js"),p.classList.add("stacked"),y.classList.remove("top-right"),b.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,widthRatio:.9,onReset:function(p){p.classList.add("align-center-js"),p.classList.remove("stacked"),b.classList.remove("scroll"),d.parentNode.classList.add("bottom"),p.style.marginTop=-Math.floor(p.clientHeight/2)+"px",p.style.marginLeft=-Math.floor(p.clientWidth/2)+"px"},onRespond:function(p){p.classList.remove("align-center-js"),p.classList.add("stacked"),b.classList.add("scroll"),d.parentNode.classList.remove("bottom")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},824222:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-audio-full-left-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.AudioFullLeft01=c.Base.create("AudioFullLeft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".sqs-slice-group.group-links");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.98,minFontSize:26})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.98,minFontSize:15}));var _=new n.FontSize({rootNode:s.querySelector(".responsive-wrapper.actions"),widthBoundaryNode:l,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.9,enabled:!1,onReset:function(b){b.classList.remove("stacked")},onMinFontSize:function(b){b.classList.add("stacked")}});this._registerResponsiveComponent(_);var v=new n.BoundaryRatios({rootNode:s.querySelector(".responsive-wrapper.social"),widthRatio:.9,enabled:!1,onReset:function(b){b.classList.remove("stacked")},onRespond:function(b){b.classList.add("stacked")}});this._registerResponsiveComponent(v),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:l,widthRatio:.9,onReset:function(b){b.classList.add("inline"),_.disable(),v.disable()},onRespond:function(b){b.classList.remove("inline"),_.enable(),v.enable()}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slide-layer-content > .sqs-slice-group"),onReset:function(b){b=new c.Node(b),b.removeClass("stacked"),b.ancestor(".sqs-slide-layer").removeClass("scroll")},onRespond:function(b){b=new c.Node(b),b.addClass("stacked"),b.ancestor(".sqs-slide-layer").addClass("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},995603:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-audio-full-right-01",function(c){var s=function(v){return new c.Node(v).ancestor(".sqs-slide-layer").getDOMNode()},l=function(v){s(v).classList.add("scroll")},_=function(v){s(v).classList.remove("scroll")};c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.AudioFullRight01=c.Base.create("AudioFullRight01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var v=this.get("contentBox").getDOMNode(),b=v.querySelector(".group-copy"),d=b.querySelector(".responsive-wrapper"),g=Array.prototype.slice.call(v.querySelectorAll(".track"));g.forEach(function(p,y,T){p.insertBefore(p.querySelector(".track-title"),p.querySelector(".track-progress-bar"))}),this._registerResponsiveComponent(new n.FontSize({rootNode:v.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.98,minFontSize:12})),this._registerResponsiveComponent(new n.FontSize({rootNode:v.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.98,minFontSize:15})),this._registerResponsiveComponent(new n.FontSize({rootNode:d,widthBoundaryNode:b,fontSizeNodes:[v.querySelector('[data-compound-type="action"] ul'),v.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.9,onReset:function(p){p.classList.remove("stacked")},onMinFontSize:function(p){p.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:v.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthRatio:.9,onReset:function(p){p.classList.remove("stacked"),p.querySelector(".break")&&p.querySelector(".break").remove()},onRespond:function(p){p.classList.add("stacked");var y=p.childNodes;if(!p.querySelector(".break")){var T=new c.Node(y.item(Math.floor(y.length/2)));T.insert('
',"before")}}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:v.querySelector(".group-logo"),targetNode:b,padding:20,onReset:function(p,y){_(y),p.classList.add("top-full-width"),y.classList.add("align-center-vert")},onRespond:function(p,y){l(y),p.classList.remove("top-full-width"),y.classList.remove("align-center-vert")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:v.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),targetNode:b,padding:50,onReset:function(p,y){p.parentNode.classList.add("bottom-full-width"),y.classList.add("align-center-vert")},onRespond:function(p,y){p.parentNode.classList.remove("bottom-full-width"),y.classList.remove("align-center-vert")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:v.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),targetNode:d,padding:50,onReset:function(p,y){p.parentNode.classList.add("bottom-full-width"),y.parentNode.classList.add("align-center-vert"),_(p),v.querySelector(".group-logo").classList.add("top-full-width")},onRespond:function(p,y){p.parentNode.classList.remove("bottom-full-width"),y.parentNode.classList.remove("align-center-vert"),l(p),v.querySelector(".group-logo").classList.remove("top-full-width")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:b,onReset:function(p){_(p),v.querySelector(".group-logo").classList.add("top-full-width")},onRespond:function(p){l(p),v.querySelector(".group-logo").classList.remove("top-full-width")}}));var h=new n.OverflowDetector({rootNode:v.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),onReset:function(p){_(p),v.querySelector(".group-logo").classList.add("top-full-width")},onRespond:function(p){l(p),v.querySelector(".group-logo").classList.remove("top-full-width")}});this._registerResponsiveComponent(h)}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},378817:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-audio-left-right-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.AudioLeftRight01=c.Base.create("AudioLeftRight01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".responsive-wrapper"),v=Array.prototype.slice.call(s.querySelectorAll(".track"));v.forEach(function(d,g,h){d.insertBefore(d.querySelector(".track-title"),d.querySelector(".track-progress-bar"))});var b=!!c.one("html.flexbox");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:l,widthRatio:.99,scale:.99,minFontSize:20})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthBoundaryNode:l,widthRatio:.99,scale:.99,minFontSize:16})),this._registerResponsiveComponent(new n.FontSize({rootNode:_,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.9,onReset:function(d){d.classList.remove("stacked")},onMinFontSize:function(d){d.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:l,widthRatio:.7,onReset:function(d){d.classList.remove("wrapped"),d.querySelector(".break")&&d.querySelector(".break").remove()},onRespond:function(d){d.classList.add("wrapped");var g=d.childNodes;if(!d.querySelector(".break")){var h=new c.Node(g.item(Math.floor(g.length/2)));h.insert('
',"before")}}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_,widthRatio:.9,onReset:function(d){d.classList.remove("stacked")},onRespond:function(d){d.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector('[data-compound-type="logo"] > *'),padding:40,onReset:function(d,g){document.querySelector("html.flexbox")||l.classList.add("align-center-vert")},onRespond:function(d,g){b||l.classList.remove("align-center-vert")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector(".content-gallery"),padding:parseInt(l.ownerDocument.defaultView.getComputedStyle(l.parentNode).paddingTop,10),onReset:function(d){b||(d.classList.add("align-center"),d.classList.remove("align-center-horiz"))},onRespond:function(d){l.ownerDocument.defaultView.getComputedStyle(l.parentNode).float!=="left"&&(b||(d.classList.remove("align-center"),d.classList.add("align-center-horiz")))}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,padding:Math.max(25,parseInt(getComputedStyle(s)["border-top-width"],10)*2),onReset:function(d){d.parentNode.classList.remove("scroll"),b||(l.classList.add("align-center"),l.classList.remove("align-center-horiz"))},onRespond:function(d){d.parentNode.classList.add("scroll"),b||(l.classList.remove("align-center"),l.classList.add("align-center-horiz"))}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},432133:function(m,E,e){"use strict";var n=e(210750),a=e.n(n),c=e(112182),s=e.n(c),l=e(655350),_=e.n(l),v=e(519191),b=e(150825),d=e(202369),g=e(520513);YUI.add("squarespace-slide-rendering-layouts-base",function(h){h.namespace("Squarespace.SlideRendering.Layouts");var p=h.Squarespace.SlideRendering.Layouts.Base=h.Base.create("LayoutBase",h.Widget,[],{initializer:function(){this._sliceWidgetMap={},this._responsiveComponents=[],this._debouncedSyncResponsiveComponents=a()(this._syncResponsiveComponents,200),this._windowResizeHandler=h.one(h.config.win).on("resize",this._debouncedSyncResponsiveComponents,this),this._watchTweaks(),h.Global.once("slideReady",function(){var y=this.get("contentBox");y.getAttribute("data-slide-type")===b.Z[s().POPUP_OVERLAY]&&setTimeout(function(){y.addClass("sqs-slide-animation-ready")},500)},this)},destructor:function(){this._debouncedSyncResponsiveComponents.cancel(),this._windowResizeHandler.detach(),h.Object.each(this._sliceWidgetMap,function(T){T.destroy(!0)}),this.get("contentBox").removeClass("sqs-slide-ready"),this._destroyResponsiveComponents()},renderUI:function(){var y=typeof squarespaceStartApp!="undefined",T;y||(T=new(_())(['[data-compound-type="logo"][data-slice-type="heading"] h1','[data-slice-type="heading"]:not([data-compound-type]) h1','[data-slice-type="body"]'],h.config.win.document.body)),this._checkSupportVH(),h.UA.safari>0&&!h.UA.mobile&&h.one("html").addClass("browser-safari"),p.superclass.renderUI.call(this);var C=this.get("contentBox");C.all("[data-slice-type]").each(function(P){P.getAttribute("data-content-empty")!=="true"&&this._widgetizeSliceNode(P)},this),this._initResponsiveComponents(),g.default.parse();var O=C.all('[data-slice-type="image"] img[data-image-dimensions*="x"]'),x=new h.Parallel,D=function(){this._debouncedSyncResponsiveComponents(),this.get("contentBox").addClass("sqs-slide-ready"),h.Global.fire("slideReady")}.bind(this),k=function(){if(y)D();else{var P=T.check();h.Squarespace.Promises.all(P).then(function(){D()})}},L=setTimeout(k,2e3);O.each(function(P){P.once("load",x.add())},this),x.done(function(){clearTimeout(L),k()})},_widgetizeSliceNode:function(y){var T=y.getAttribute("data-slice-type"),C=y.getAttribute("data-compound-type"),O=d.Z[T],x=h.Squarespace.SlideRendering.Slices.Factory.create(O,{sliceId:y.getAttribute("data-slice-id")||null,slideType:this.get("slideType"),boundingBox:y,render:!0}),D=C?d.Z[C]:d.Z[T];this._sliceWidgetMap[D]=x},_syncSliceWidgets:function(){h.Object.each(this._sliceWidgetMap,function(y){y.syncUI()})},_destroyResponsiveComponents:function(){this._responsiveComponents=[]},_initResponsiveComponents:function(){},_watchTweaks:function(){var y=this.get("slideType");if(window.Static.SQUARESPACE_CONTEXT.authenticatedAccount&&y==="popup-overlay"){var T=this.get("contentBox").getDOMNode();this.tweakPreview=function(){T.querySelector(".sqs-slide-layer-content").style.transition="none",T.classList.remove("sqs-slide-animation-ready"),setTimeout(function(){this.querySelector(".sqs-slide-layer-content").style.transition="",this.classList.add("sqs-slide-animation-ready")}.bind(T),500)};var C=["button-layout-style","newsletter-layout-style"];h.Global.after("tweak:change",function(O){var x=O.config.category,D=O.getName();x==="Overlay Animation"?this.tweakPreview():x==="Overlay Design"&&this._debouncedSyncResponsiveComponents(),C.indexOf(D)>=0&&this._debouncedSyncResponsiveComponents()},this)}},_syncResponsiveComponents:function(){var y=[];if(this._responsiveComponents.forEach(function(O){try{O.reset(),O.respond()}catch(x){y.push(x)}}),y.length)if(y.every(function(C){return C.message.startsWith("Cannot read properties of null (reading 'getComputedStyle')")})){var T=new Error("Responsive components tried to access frame window after it was torn down");T.cause=y[0],v.Tb(T)}else y.forEach(function(C){v.Tb(C)});h.Global.fire("slideComponentSync")},_registerResponsiveComponent:function(y){this._responsiveComponents.push(y)},_checkSupportVH:function(){parseInt(h.UA.ios,10)===7?h.one("html").addClass("no-vh"):h.one("html").addClass("vh")},CONTENT_TEMPLATE:null},{CSS_PREFIX:"sqs-slide",ATTRS:{slideId:{valueFn:function(){return this.get("contentBox").getAttribute("data-slide-id")}},slideType:{valueFn:function(){return this.get("contentBox").getAttribute("data-slide-type")}},slideLayoutIdentifier:{valueFn:function(){return this.get("contentBox").getAttribute("data-slide-layout-id")}}}})},"1.0",{requires:["base","squarespace-attr-validators","parallel","squarespace-promises","squarespace-slide-rendering-slices-factory","widget"]})},446289:function(){YUI.add("squarespace-slide-rendering-layouts-factory",function(m){m.namespace("Squarespace.SlideRendering.Layouts");var E={"audio-full-center-01":m.Squarespace.SlideRendering.Layouts.AudioFullCenter01,"audio-full-left-01":m.Squarespace.SlideRendering.Layouts.AudioFullLeft01,"audio-full-right-01":m.Squarespace.SlideRendering.Layouts.AudioFullRight01,"audio-left-right-01":m.Squarespace.SlideRendering.Layouts.AudioLeftRight01,"landing-full-center-01":m.Squarespace.SlideRendering.Layouts.LandingFullCenter01,"landing-full-center-02":m.Squarespace.SlideRendering.Layouts.LandingFullCenter02,"landing-full-centercard-01":m.Squarespace.SlideRendering.Layouts.LandingFullCenterCard01,"landing-full-left-01":m.Squarespace.SlideRendering.Layouts.LandingFullLeft01,"landing-full-left-02":m.Squarespace.SlideRendering.Layouts.LandingFullLeft02,"landing-full-right-01":m.Squarespace.SlideRendering.Layouts.LandingFullRight01,"landing-full-topleft-01":m.Squarespace.SlideRendering.Layouts.LandingFullTopLeft01,"landing-left-right-01":m.Squarespace.SlideRendering.Layouts.LandingLeftRight01,"landing-right-left-01":m.Squarespace.SlideRendering.Layouts.LandingRightLeft01,"location-full-corners-01":m.Squarespace.SlideRendering.Layouts.LocationFullCorners01,"location-right-left-01":m.Squarespace.SlideRendering.Layouts.LocationRightLeft01,"lock-full-center-01":m.Squarespace.SlideRendering.Layouts.LockFullCenter01,"lock-full-center-02":m.Squarespace.SlideRendering.Layouts.LockFullCenter02,"lock-full-center-03":m.Squarespace.SlideRendering.Layouts.LockFullCenter03,"lock-full-center-04":m.Squarespace.SlideRendering.Layouts.LockFullCenter04,"lock-full-center-05":m.Squarespace.SlideRendering.Layouts.LockFullCenter05,"sso-full-center-01":m.Squarespace.SlideRendering.Layouts.SsoFullCenter01,"lock-full-bottomleft-01":m.Squarespace.SlideRendering.Layouts.LockFullBottomleft01,"overlay-center-card-01":m.Squarespace.SlideRendering.Layouts.OverlayCenterCard01,"overlay-center-card-02":m.Squarespace.SlideRendering.Layouts.OverlayCenterCard02,"overlay-center-card-03":m.Squarespace.SlideRendering.Layouts.OverlayCenterCard03,"overlay-center-card-04":m.Squarespace.SlideRendering.Layouts.OverlayCenterCard04,"overlay-center-card-05":m.Squarespace.SlideRendering.Layouts.OverlayCenterCard05,"overlay-corner-card-01":m.Squarespace.SlideRendering.Layouts.OverlayCornerCard01,"overlay-full-bottom-01":m.Squarespace.SlideRendering.Layouts.OverlayFullBottom01,"overlay-full-center-01":m.Squarespace.SlideRendering.Layouts.OverlayFullCenter01,"overlay-full-center-02":m.Squarespace.SlideRendering.Layouts.OverlayFullCenter02,"profile-center-center-01":m.Squarespace.SlideRendering.Layouts.ProfileCenterCenter01,"profile-center-center-02":m.Squarespace.SlideRendering.Layouts.ProfileCenterCenter02,"profile-full-bottom-01":m.Squarespace.SlideRendering.Layouts.ProfileFullBottom01,"profile-full-center-01":m.Squarespace.SlideRendering.Layouts.ProfileFullCenter01,"profile-full-left-01":m.Squarespace.SlideRendering.Layouts.ProfileFullLeft01,"profile-full-middleband-01":m.Squarespace.SlideRendering.Layouts.ProfileFullMiddleband01,"profile-full-right-01":m.Squarespace.SlideRendering.Layouts.ProfileFullRight01,"profile-full-top-01":m.Squarespace.SlideRendering.Layouts.ProfileFullTop01,"profile-left-left-01":m.Squarespace.SlideRendering.Layouts.ProfileLeftLeft01,"profile-left-right-01":m.Squarespace.SlideRendering.Layouts.ProfileLeftRight01,"twitter-full-center-01":m.Squarespace.SlideRendering.Layouts.TwitterFullCenter01,"twitter-full-left-01":m.Squarespace.SlideRendering.Layouts.TwitterFullLeft01,"video-full-bottom-01":m.Squarespace.SlideRendering.Layouts.VideoFullBottom01,"video-full-center-01":m.Squarespace.SlideRendering.Layouts.VideoFullCenter01,"video-full-corners-01":m.Squarespace.SlideRendering.Layouts.VideoFullCorners01};m.Squarespace.SlideRendering.Layouts.Factory={create:function(e,n){var a=E[e]||m.Squarespace.SlideRendering.Layouts.Base;return new a(n)}}},"1.0",{requires:["squarespace-slide-rendering-layouts-audio-full-center-01","squarespace-slide-rendering-layouts-audio-full-left-01","squarespace-slide-rendering-layouts-audio-full-right-01","squarespace-slide-rendering-layouts-audio-left-right-01","squarespace-slide-rendering-layouts-base","squarespace-slide-rendering-layouts-landing-full-center-01","squarespace-slide-rendering-layouts-landing-full-center-02","squarespace-slide-rendering-layouts-landing-full-centercard-01","squarespace-slide-rendering-layouts-landing-full-left-01","squarespace-slide-rendering-layouts-landing-full-left-02","squarespace-slide-rendering-layouts-landing-full-right-01","squarespace-slide-rendering-layouts-landing-full-topleft-01","squarespace-slide-rendering-layouts-landing-left-right-01","squarespace-slide-rendering-layouts-landing-right-left-01","squarespace-slide-rendering-layouts-location-full-corners-01","squarespace-slide-rendering-layouts-location-right-left-01","squarespace-slide-rendering-layouts-lock-full-bottomleft-01","squarespace-slide-rendering-layouts-lock-full-center-01","squarespace-slide-rendering-layouts-lock-full-center-02","squarespace-slide-rendering-layouts-lock-full-center-03","squarespace-slide-rendering-layouts-lock-full-center-04","squarespace-slide-rendering-layouts-lock-full-center-05","squarespace-slide-rendering-layouts-sso-full-center-01","squarespace-slide-rendering-layouts-overlay-center-card-01","squarespace-slide-rendering-layouts-overlay-center-card-02","squarespace-slide-rendering-layouts-overlay-center-card-03","squarespace-slide-rendering-layouts-overlay-center-card-04","squarespace-slide-rendering-layouts-overlay-center-card-05","squarespace-slide-rendering-layouts-overlay-corner-card-01","squarespace-slide-rendering-layouts-overlay-full-bottom-01","squarespace-slide-rendering-layouts-overlay-full-center-01","squarespace-slide-rendering-layouts-overlay-full-center-02","squarespace-slide-rendering-layouts-profile-center-center-01","squarespace-slide-rendering-layouts-profile-center-center-02","squarespace-slide-rendering-layouts-profile-full-bottom-01","squarespace-slide-rendering-layouts-profile-full-center-01","squarespace-slide-rendering-layouts-profile-full-left-01","squarespace-slide-rendering-layouts-profile-full-middleband-01","squarespace-slide-rendering-layouts-profile-full-right-01","squarespace-slide-rendering-layouts-profile-full-top-01","squarespace-slide-rendering-layouts-profile-left-left-01","squarespace-slide-rendering-layouts-profile-left-right-01","squarespace-slide-rendering-layouts-twitter-full-center-01","squarespace-slide-rendering-layouts-twitter-full-left-01","squarespace-slide-rendering-layouts-video-full-bottom-01","squarespace-slide-rendering-layouts-video-full-center-01","squarespace-slide-rendering-layouts-video-full-corners-01"]})},504761:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-landing-full-center-01",function(c){var s=function(l){return c.instanceOf(l,c.Node)?l.getDOMNode():null};c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LandingFullCenter01=c.Base.create("LandingFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var l=this.get("contentBox");this._registerResponsiveComponent(new n.FontSize({rootNode:s(l.one('[data-compound-type="logo"][data-slice-type="heading"] h1')),widthRatio:.5,minFontSize:13}));var _;this._registerResponsiveComponent(new n.FontSize({rootNode:s(l.one('[data-slice-type="heading"]:not([data-compound-type]) h1')),widthRatio:.99,scale:.99,minFontSize:54,onReset:function(v){_.disable()},onRespond:function(v){},onMinFontSize:function(v){_.enable()}})),_=new n.FontSize({rootNode:s(l.one('[data-slice-type="heading"]:not([data-compound-type]) h1')),widthRatio:1,heightRatio:.2,scale:.99,minFontSize:18,enabled:!1,heightBoundaryNode:s(l.one(".sqs-slide-layer")),onReset:function(v){},onRespond:function(v){},onMinFontSize:function(v){}}),this._registerResponsiveComponent(_),this._registerResponsiveComponent(new n.FontSize({rootNode:s(l.one(".responsive-wrapper.actions")),fontSizeNodes:[s(l.one('[data-compound-type="action"] ul')),s(l.one('[data-slice-type="custom-form"]'))],minFontSize:10,widthRatio:.8,onReset:function(v){v=new c.Node(v),v.removeClass("stacked")},onMinFontSize:function(v){v=new c.Node(v),v.addClass("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s(l.one(".responsive-wrapper.social")),widthRatio:.9,onReset:function(v){v=new c.Node(v),v.removeClass("stacked")},onRespond:function(v){v=new c.Node(v),v.addClass("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s(l.one(".group-copy")),targetNode:s(l.one(".group-social")),padding:20,onReset:function(v,b){v=new c.Node(v),b=new c.Node(b),v.addClass("align-center-vert"),v.addClass("full-width"),v.removeClass("stacked"),l.one(".sqs-slide-layer.layer-front").removeClass("scroll"),b.addClass("bottom-full-width")},onRespond:function(v,b){v=new c.Node(v),b=new c.Node(b),v.removeClass("align-center-vert"),v.addClass("full-width"),v.addClass("stacked"),l.one(".sqs-slide-layer.layer-front").addClass("scroll"),b.removeClass("bottom-full-width")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s(l.one(".group-copy")),targetNode:s(l.one('[data-compound-type="logo"]:not([data-content-empty="true"])')),padding:20,onReset:function(v,b){v=new c.Node(v),b=new c.Node(b),v.addClass("align-center-vert"),v.addClass("full-width"),v.removeClass("stacked"),l.one(".sqs-slide-layer.layer-front").removeClass("scroll"),b.addClass("align-center-horiz"),l.one(".group-social").addClass("bottom-full-width")},onRespond:function(v,b){v=new c.Node(v),b=new c.Node(b),v.removeClass("align-center-vert"),v.removeClass("full-width"),v.addClass("stacked"),l.one(".sqs-slide-layer.layer-front").addClass("scroll"),b.removeClass("align-center-horiz"),l.one(".group-social").removeClass("bottom-full-width")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},640610:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-landing-full-center-02",function(c){var s=function(l){return new c.Node(l).get("region")};c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LandingFullCenter02=c.Base.create("LandingFullCenter02",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var l=this.get("contentBox").getDOMNode(),_=l.querySelector(".layer-front .sqs-slide-layer-content"),v=l.querySelector(".group-copy"),b=v.querySelector('[data-slice-type="body"]'),d=l.querySelector(".responsive-wrapper"),g=l.querySelector('[data-compound-type="logo"]'),h=l.querySelector(".group-links");this._registerResponsiveComponent(new n.FontSize({rootNode:l.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.99,minFontSize:13})),this._registerResponsiveComponent(new n.FontSize({rootNode:l.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:1,heightRatio:.25,scale:.99,minFontSize:18,heightBoundaryNode:_})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:l.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.8,onReset:function(p){d.classList.remove("stacked"),p.querySelector(".break")&&p.querySelector(".break").remove()},onRespond:function(p){d.classList.add("stacked");var y=p.childNodes;if(!p.querySelector(".break")){var T=new c.Node(y.item(Math.floor(y.length/2)));T.insert('
',"before")}}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:h,widthBoundaryNode:_,widthRatio:.8,onReset:function(p){d.classList.remove("stacked")},onRespond:function(p){d.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:l.querySelector('[data-slice-type="navigation"]'),widthBoundaryNode:_,widthRatio:.8,onReset:function(p){d.classList.remove("stacked")},onRespond:function(p){d.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:h,widthBoundaryNode:_,widthRatio:.8,onReset:function(p){d.classList.remove("stacked"),h.classList.add("top-right"),g.classList.remove("aligned"),h.classList.remove("bottom-full-width")},onRespond:function(p){d.classList.add("stacked"),h.classList.remove("top-right"),g.classList.add("aligned"),h.classList.add("bottom-full-width")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l.querySelector('[data-compound-type="logo"] > *'),targetNode:h,padding:60,onReset:function(p,y){y.classList.add("top-right"),y.querySelector('.sqs-slice:not([data-content-empty="true"])')?g.classList.remove("aligned"):g.classList.add("aligned"),y.classList.remove("bottom-full-width");var T=p.parentNode;T.style.marginTop=null,T.style.marginBottom=null,y.style.marginTop=null,y.style.marginBottom=null;var C=Math.floor((s(T).height-s(y).height)/2),O=C>0?y:T;O.style.marginTop=Math.abs(C)+"px",O.style.marginBottom=Math.abs(C)+"px"},onRespond:function(p,y){y.classList.remove("top-right"),g.classList.add("aligned"),y.classList.add("bottom-full-width");var T=p.parentNode;T.style.marginTop=null,T.style.marginBottom=null,y.style.marginTop=null,y.style.marginBottom=null}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:v,targetNode:h,padding:60,onReset:function(p,y){p.classList.remove("stacked"),p.classList.add("align-center-vert"),p.classList.add("restrict-width-1000"),y.classList.add("top-right"),g.classList.remove("aligned"),y.classList.remove("bottom-full-width"),y.parentNode.classList.remove("scroll")},onRespond:function(p,y){p.classList.add("stacked"),p.classList.remove("align-center-vert"),p.classList.remove("restrict-width-1000"),y.classList.remove("top-right"),g.classList.add("aligned"),y.classList.add("bottom-full-width"),y.parentNode.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:v,onReset:function(p){p.classList.add("align-center-vert"),p.parentNode.classList.remove("scroll")},onRespond:function(p){p.classList.remove("align-center-vert"),p.parentNode.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:b,onReset:function(p){v.classList.add("align-center-vert"),v.parentNode.classList.remove("scroll")},onRespond:function(p){v.classList.remove("align-center-vert"),v.parentNode.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:h,padding:10,onReset:function(p){v.classList.add("align-center-vert"),p.parentNode.classList.remove("scroll")},onRespond:function(p){v.classList.remove("align-center-vert"),p.parentNode.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},724964:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-landing-full-centercard-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LandingFullCenterCard01=c.Base.create("LandingFullCenterCard01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.99,minFontSize:13,onReset:function(_,v){},onMinFontSize:function(_,v){}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector(".responsive-wrapper.actions"),fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.6,onReset:function(_){_.classList.remove("stacked")},onMinFontSize:function(_){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:s.querySelector(".group-social"),widthRatio:.95,onReset:function(_){_.classList.remove("wrapped"),_.parentNode.classList.remove("stacked"),_.querySelector(".break")&&_.querySelector(".break").remove()},onRespond:function(_){_.classList.add("wrapped"),_.parentNode.classList.add("stacked");var v=_.childNodes;if(!_.querySelector(".break")){var b=new c.Node(v.item(Math.floor(v.length/2)));b.insert('
',"before")}}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector(".responsive-wrapper.social"),widthRatio:.9,onReset:function(_){_.classList.remove("stacked")},onRespond:function(_){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".group-copy"),targetNode:s.querySelector(".group-social"),padding:20,onReset:function(_,v){_.classList.add("align-center-vert"),_.classList.remove("stacked"),l.parentNode.classList.remove("scroll"),v.classList.add("bottom-full-width")},onRespond:function(_,v){_.classList.remove("align-center-vert"),_.classList.add("stacked"),l.parentNode.classList.add("scroll"),v.classList.remove("bottom-full-width")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},35223:function(){YUI.add("squarespace-slide-rendering-layouts-landing-full-left-01",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.LandingFullLeft01=m.Base.create("LandingFullLeft01",m.Squarespace.SlideRendering.Layouts.LandingFullCenter01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-landing-full-center-01"]})},847189:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-landing-full-left-02",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LandingFullLeft02=c.Base.create("LandingFullLeft02",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".group-copy"),v=s.querySelector(".responsive-wrapper");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:1,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:14,heightBoundaryNode:s.querySelector(".group-copy")})),this._registerResponsiveComponent(new n.FontSize({rootNode:v,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:l,minFontSize:12})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:l,widthRatio:.8,onReset:function(b){b.classList.remove("wrapped"),b.querySelector(".break")&&b.querySelector(".break").remove()},onRespond:function(b){b.classList.add("wrapped");var d=b.childNodes;if(!b.querySelector(".break")){var g=new c.Node(d.item(Math.floor(d.length/2)));g.insert('
',"before")}}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:v,widthRatio:.99,onReset:function(b){b.classList.remove("stacked")},onRespond:function(b){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:_,targetNode:v,padding:40,onReset:function(b,d){b.classList.add("align-center-vert"),b.classList.remove("stacked"),l.parentNode.classList.remove("scroll"),d.parentNode.classList.add("bottom-full-width")},onRespond:function(b,d){b.classList.remove("align-center-vert"),b.classList.add("stacked"),l.parentNode.classList.add("scroll"),d.parentNode.classList.remove("bottom-full-width")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},878686:function(){YUI.add("squarespace-slide-rendering-layouts-landing-full-right-01",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.LandingFullRight01=m.Base.create("LandingFullRight01",m.Squarespace.SlideRendering.Layouts.LandingFullCenter01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-landing-full-center-01"]})},268506:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-landing-full-topleft-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LandingFullTopLeft01=c.Base.create("LandingFullTopLeft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front"),_=s.querySelector(".layer-front .sqs-slide-layer-content"),v=s.querySelector(".group-copy"),b=s.querySelector(".group-logo"),d=b.querySelector('[data-compound-type="logo"] > *'),g=s.querySelector('[data-slice-type="custom-form"]');this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.5,minFontSize:15})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="action"] ul'),widthBoundaryNode:v,minFontSize:11,widthRatio:.8,onReset:function(p){p.classList.remove("stacked"),g&&(g.style.fontSize=null)},onRespond:function(p){g&&(g.style.fontSize=p.ownerDocument.defaultView.getComputedStyle(p).fontSize)},onMinFontSize:function(p){p.classList.add("stacked"),g&&g.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector(".sqs-slice-group.link-group-inline"),widthBoundaryNode:_,widthRatio:.99,onReset:function(p,y){p.classList.remove("stacked")},onRespond:function(p,y){p.classList.add("stacked")}}));var h=new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.99,onReset:function(p,y){p.classList.remove("stacked"),p.querySelector(".break")&&p.querySelector(".break").remove()},onRespond:function(p,y){p.classList.add("stacked");var T=p.childNodes;if(!p.querySelector(".break")){var C=new c.Node(T.item(Math.floor(T.length/2)));C.insert('
',"before")}}});this._registerResponsiveComponent(h),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:d,targetNode:v,onReset:function(p,y){p=new c.Node(p),y=new c.Node(y),l.classList.remove("scroll"),b.classList.add("bottom-full-width"),b.classList.remove("stacked")},onRespond:function(p,y){p=new c.Node(p),y=new c.Node(y),l.classList.add("scroll"),b.classList.remove("bottom-full-width"),b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:v,padding:20,onReset:function(p){l.classList.remove("scroll"),b.classList.add("bottom-full-width"),b.classList.remove("stacked")},onRespond:function(p){l.classList.add("scroll"),b.classList.remove("bottom-full-width"),b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:d,padding:0,onReset:function(p){l.classList.remove("scroll"),b.classList.add("bottom-full-width"),b.classList.remove("stacked")},onRespond:function(p){l.classList.add("scroll"),b.classList.remove("bottom-full-width"),b.classList.add("stacked")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},886834:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-landing-left-right-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LandingLeftRight01=c.Base.create("LandingLeftRight01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".responsive-wrapper.actions"),v=s.querySelector(".responsive-wrapper.social");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:l,widthRatio:1,scale:.99,minFontSize:16})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthBoundaryNode:l,widthRatio:1,heightRatio:.2,scale:.99,minFontSize:20,heightBoundaryNode:s.querySelector(".sqs-slide-layer")})),this._registerResponsiveComponent(new n.FontSize({rootNode:_,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.9,onReset:function(b){b.classList.remove("stacked")},onMinFontSize:function(b){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:v,widthRatio:.9,onReset:function(b){b.classList.remove("stacked")},onRespond:function(b){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector('[data-compound-type="logo"] > *'),padding:60,onReset:function(b,d){l.classList.add("align-center-vert")},onRespond:function(b,d){l.classList.remove("align-center-vert")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-compound-type="logo"]'),targetNode:v,padding:40,onReset:function(b,d){b.parentNode.classList.remove("scroll"),d.parentNode.classList.add("bottom-full-width"),b.classList.remove("stacked")},onRespond:function(b,d){b.classList.add("stacked"),b.parentNode.classList.add("scroll"),d.parentNode.classList.remove("bottom-full-width")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:v,padding:50,onReset:function(b,d){b.parentNode.classList.remove("scroll"),d.parentNode.classList.add("bottom-full-width"),b.classList.remove("stacked")},onRespond:function(b,d){b.classList.add("stacked"),b.parentNode.classList.add("scroll"),d.parentNode.classList.remove("bottom-full-width")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},679132:function(){YUI.add("squarespace-slide-rendering-layouts-landing-right-left-01",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.LandingRightLeft01=m.Base.create("LandingRightLeft01",m.Squarespace.SlideRendering.Layouts.LandingLeftRight01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-landing-left-right-01"]})},858318:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-location-full-corners-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LocationFullCorners01=c.Base.create("LocationFullCorners01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".responsive-wrapper.actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),minFontSize:10,widthRatio:.99,onReset:function(b){b.classList.remove("stacked")},onMinFontSize:function(b){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:1,minFontSize:20,scale:.99}));var _=new n.FontSize({rootNode:l,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.8,enabled:!1,onReset:function(b){b.classList.remove("stacked")},onMinFontSize:function(b){b.classList.add("stacked")}});this._registerResponsiveComponent(_);var v=new n.BoundaryRatios({rootNode:s.querySelector(".responsive-wrapper.social"),widthRatio:.9,enabled:!1,onReset:function(b){b.classList.remove("stacked"),b.classList.remove("text-align-left")},onRespond:function(b){b.classList.add("stacked"),b.classList.add("text-align-left")}});this._registerResponsiveComponent(v),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".group-copy"),targetNode:s.querySelector(".sqs-slice-group.group-links"),padding:60,onReset:function(b,d){b.classList.remove("stacked"),d.classList.add("top-right"),d.classList.remove("restrict-width-500"),_.disable(),v.disable()},onRespond:function(b,d){b.classList.add("stacked"),d.classList.remove("top-right"),d.classList.add("restrict-width-500"),_.enable(),v.enable()}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slide-layer.layer-front .sqs-slide-layer-content"),widthRatio:.95,padding:0,onReset:function(b){s.querySelector(".sqs-slide-layer.layer-front").classList.remove("scroll")},onRespond:function(b){s.querySelector(".sqs-slide-layer.layer-front").classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},997116:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-location-right-left-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LocationRightLeft01=c.Base.create("LocationRightLeft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:l,widthRatio:1,heightRatio:.25,scale:.99,minFontSize:30,heightBoundaryNode:s.querySelector(".sqs-slide-layer")})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthBoundaryNode:l,widthRatio:.9,scale:.99,minFontSize:20})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector(".responsive-wrapper"),fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.9,onReset:function(_){_.classList.remove("stacked")},onMinFontSize:function(_){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector(".sqs-slice-group.group-links"),padding:40,onReset:function(_,v){_.parentNode.classList.remove("scroll"),v.classList.add("bottom-full-width"),l.classList.add("align-center-vert")},onRespond:function(_,v){_.parentNode.classList.add("scroll"),v.classList.remove("bottom-full-width"),l.classList.remove("align-center-vert")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slide-layer-content.content-copy"),widthRatio:1,onReset:function(_){_.parentNode.parentNode.classList.remove("scroll")},onRespond:function(_){_.parentNode.parentNode.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},84840:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-lock-full-bottomleft-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LockFullBottomleft01=c.Base.create("LockFullBottomleft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".sqs-slice-group.group-content"),_=s.querySelector(".layer-front .sqs-slide-layer-content");this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-slice-type="lock"]'),targetNode:s.querySelector(".sqs-slice-group.group-copy-password"),onReset:function(){l.classList.remove("stack")},onRespond:function(){l.classList.add("stack")},padding:200})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,onReset:function(v){v.classList.add("bottom-full-width"),_.classList.remove("scroll")},onRespond:function(v){v.classList.remove("bottom-full-width"),_.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},905567:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-lock-full-center-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LockFullCenter01=c.Base.create("LockFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.99,scale:.99,minFontSize:14,heightBoundaryNode:s.querySelector(".sqs-slide-layer"),heightRatio:.16})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightRatio:.16,heightBoundaryNode:s.querySelector(".sqs-slide-layer"),widthRatio:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(_){_.classList.add("align-center"),_.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(_){_.classList.remove("align-center"),_.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},467320:function(){YUI.add("squarespace-slide-rendering-layouts-lock-full-center-02",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.LockFullCenter02=m.Base.create("LockFullCenter02",m.Squarespace.SlideRendering.Layouts.LockFullCenter01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-lock-full-center-01"]})},952819:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-lock-full-center-03",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LockFullCenter03=c.Base.create("LockFullCenter03",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode();this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.98,minFontSize:14})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.98,minFontSize:18})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".sqs-slice-group.group-copy"),targetNode:s.querySelector(".sqs-slice-group.group-password"),padding:50,onReset:function(l,_){_.classList.add("align-center"),_.classList.remove("stacked"),_.style.top="50%",_.style.left="50%"},onRespond:function(l,_){_.classList.remove("align-center"),_.classList.add("stacked");var v=l.getBoundingClientRect();_.style.top=v.bottom+"px",_.style.left=v.left+"px"}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},490429:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-lock-full-center-04",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LockFullCenter04=c.Base.create("LockFullCenter04",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightRatio:.16,heightBoundaryNode:s.querySelector(".sqs-slide-layer"),widthRaito:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),targetNode:s.querySelector(".sqs-slice-group.group-top"),onReset:function(_){_.classList.add("align-center"),_.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(_){_.classList.remove("align-center"),_.classList.remove("align-center-absolute"),l.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-slice-type="lock"]:not([data-content-empty])'),targetNode:s.querySelector('[data-compound-type="logo"]'),onReset:function(_,v){v.parentNode.classList.remove("stacked")},onRespond:function(_,v){v.parentNode.classList.add("stacked")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},538436:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-lock-full-center-05",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.LockFullCenter05=c.Base.create("LockFullCenter05",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".sqs-slice-group.group-content"),_=s.querySelector(".layer-front .sqs-slide-layer-content"),v=s.querySelector(".sqs-slide-layer");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.99,scale:.99,minFontSize:14,heightBoundaryNode:v,heightRatio:.16})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightRatio:.16,heightBoundaryNode:v,widthRatio:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,onReset:function(b){b.classList.add("align-center"),b.classList.add("align-center-absolute"),_.classList.remove("scroll")},onRespond:function(b){b.classList.remove("align-center"),b.classList.remove("align-center-absolute"),_.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector(".sqs-slice-group.group-password"),padding:0,onReset:function(b,d){b.classList.add("align-center"),b.classList.add("align-center-absolute"),b.classList.remove("stacked"),_.classList.remove("scroll"),d.classList.add("bottom"),d.classList.add("align-center-horiz")},onRespond:function(b,d){b.classList.remove("align-center"),b.classList.remove("align-center-absolute"),b.classList.add("stacked"),_.classList.add("scroll"),d.classList.remove("bottom"),d.classList.remove("align-center-horiz")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},997620:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-center-card-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayCenterCard01=c.Base.create("OverlayCenterCard01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-copy"),onReset:function(v){l.classList.remove("scroll")},onRespond:function(v){l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},637150:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-center-card-02",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayCenterCard02=c.Base.create("OverlayCenterCard02",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},252394:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-center-card-03",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayCenterCard03=c.Base.create("OverlayCenterCard03",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},2447:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-center-card-04",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayCenterCard04=c.Base.create("OverlayCenterCard04",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},142756:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-center-card-05",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayCenterCard05=c.Base.create("OverlayCenterCard05",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.16,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},714085:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-corner-card-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayCornerCard01=c.Base.create("OverlayCornerCard01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},321055:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-full-bottom-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayFullBottom01=c.Base.create("OverlayFullBottom01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:l.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:l,widthRatio:.67,onReset:function(_){l.classList.remove("stacked")},onRespond:function(_){l.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slide-layer.layer-front .sqs-slide-layer-content .group-content"),padding:0,onReset:function(_){s.querySelector(".sqs-slide-layer.layer-front").classList.remove("scroll")},onRespond:function(_){s.querySelector(".sqs-slide-layer.layer-front").classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},530481:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-full-center-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayFullCenter01=c.Base.create("OverlayFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},140477:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-overlay-full-center-02",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.OverlayFullCenter02=c.Base.create("OverlayFullCenter02",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".actions");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightBoundaryNode:s.querySelector(".layer-front"),widthRatio:1,heightRatio:.15,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_.querySelector('.sqs-slice[data-slice-type="newsletter"] button[type="submit"]'),widthBoundaryNode:_,widthRatio:.67,onReset:function(v){_.classList.remove("stacked")},onRespond:function(v){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(v){v.classList.add("align-center"),v.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center"),v.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},68873:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-center-center-01",function(c){var s=function(l){return c.instanceOf(l,c.Node)?l.getDOMNode():null};c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileCenterCenter01=c.Base.create("ProfileCenterCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var l=this.get("contentBox"),_=l.one(".sqs-slice-group.group-links");this._registerResponsiveComponent(new n.FontSize({rootNode:s(l.one('[data-compound-type="logo"][data-slice-type="heading"] h1')),minFontSize:26,widthRatio:.9})),this._registerResponsiveComponent(new n.FontSize({rootNode:s(l.one('[data-slice-type="heading"]:not([data-compound-type]) h1')),minFontSize:18,widthRatio:.9,widthBoundaryNode:s(l.one(".group-copy"))}));var v=new n.FontSize({rootNode:s(l.one(".responsive-wrapper")),fontSizeNodes:[s(l.one('[data-compound-type="action"] ul')),s(l.one('[data-slice-type="custom-form"]:not([data-content-empty])'))],widthBoundaryNode:_,widthRatio:.9,minFontSize:10,enabled:!0,onReset:function(d){d.classList.remove("stacked")},onMinFontSize:function(d){d.classList.add("stacked")}});this._registerResponsiveComponent(v);var b=new n.BoundaryRatios({rootNode:s(l.one('[data-slice-type="social-icons"]')),widthRatio:.9,enabled:!1,onReset:function(d){d.classList.remove("stacked")},onRespond:function(d){d.classList.add("stacked")}});this._registerResponsiveComponent(b),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s(l.one(".responsive-wrapper")),widthRatio:.9,onReset:function(d){d.classList.remove("stacked"),d.querySelector(".group-actions").style.whiteSpace="nowrap",b.disable()},onRespond:function(d){d.classList.add("stacked"),d.querySelector(".group-actions").style.whiteSpace="normal",b.enable()}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s(l.one(".sqs-slice-group.group-content")),onReset:function(d){d.classList.add("align-center-vert"),l.one(".sqs-slide-layer").removeClass("scroll")},onRespond:function(d){d.classList.remove("align-center-vert"),l.one(".sqs-slide-layer").addClass("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},976864:function(){YUI.add("squarespace-slide-rendering-layouts-profile-center-center-02",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.ProfileCenterCenter02=m.Base.create("ProfileCenterCenter02",m.Squarespace.SlideRendering.Layouts.ProfileCenterCenter01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-profile-center-center-01"]})},951922:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-full-bottom-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileFullBottom01=c.Base.create("ProfileFullBottom01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".group-content"),v=s.querySelector(".group-links"),b=s.querySelector(".responsive-wrapper.social");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:_,minFontSize:20,widthRatio:.99,onReset:function(h){h.style.whiteSpace="nowrap"},onMinFontSize:function(h){h.style.whiteSpace="normal"}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),minFontSize:15,widthBoundaryNode:_,widthRatio:.99,onReset:function(h){h.style.whiteSpace="nowrap"},onMinFontSize:function(h){h.style.whiteSpace="normal"}}));var d=new n.FontSize({rootNode:b,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:s.querySelector(".group-links"),minFontSize:12,widthRatio:.99,enabled:!1,onReset:function(h){h.classList.remove("stacked"),h.classList.remove("text-align-left")},onMinFontSize:function(h){h.classList.add("stacked"),h.classList.add("text-align-left")}});this._registerResponsiveComponent(d),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-slice-type="body"]'),targetNode:v,padding:120,onReset:function(){l.classList.remove("stacked")},onRespond:function(){l.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:v,padding:120,onReset:function(h,p){var y=h.parentNode;y.classList.remove("stacked"),y.classList.remove("left-right-floats-off"),b.classList.remove("wrapped"),d.disable()},onRespond:function(h,p){var y=h.parentNode;y.classList.add("stacked"),y.classList.add("left-right-floats-off"),b.classList.remove("wrapped"),d.enable()}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:b,widthBoundaryNode:_,widthRatio:.99,onReset:function(h){h.classList.remove("stacked"),g.disable()},onRespond:function(h){h.classList.add("stacked"),g.enable()}}));var g=new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.7,enabled:!1,onReset:function(h){h.classList.remove("wrapped"),h.querySelector(".break")&&h.querySelector(".break").remove()},onRespond:function(h){h=new c.Node(h),h.addClass("wrapped");var p=h.get("childNodes");h.one(".break")||p.item(Math.floor(p.size()/2)).insert('
',"before")}});this._registerResponsiveComponent(g),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slide-layer.layer-front .sqs-slide-layer-content .group-content"),onReset:function(h){s.querySelector(".sqs-slide-layer.layer-front").classList.remove("scroll")},onRespond:function(h){s.querySelector(".sqs-slide-layer.layer-front").classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},48031:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-full-center-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileFullCenter01=c.Base.create("ProfileFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.5,minFontSize:13})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.99,scale:.99,minFontSize:54,onReset:function(v){_.disable()},onRespond:function(v){},onMinFontSize:function(v){_.enable()}}));var _=new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:1,heightRatio:.2,scale:.99,minFontSize:18,enabled:!1,heightBoundaryNode:s.querySelector(".sqs-slide-layer"),onReset:function(v){},onRespond:function(v){},onMinFontSize:function(v){}});this._registerResponsiveComponent(_),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector(".responsive-wrapper.actions"),fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.8,onReset:function(v){v.classList.remove("stacked")},onMinFontSize:function(v){v.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector(".responsive-wrapper.social"),widthRatio:.9,onReset:function(v){v.classList.remove("stacked")},onRespond:function(v){v.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".group-copy"),targetNode:s.querySelector(".group-social"),padding:20,onReset:function(v,b){v.classList.add("align-center-vert"),v.classList.add("full-width"),v.classList.remove("stacked"),s.querySelector(".sqs-slide-layer.layer-front").classList.remove("scroll"),b.classList.add("bottom-full-width")},onRespond:function(v,b){v.classList.remove("align-center-vert"),v.classList.add("full-width"),v.classList.add("stacked"),s.querySelector(".sqs-slide-layer.layer-front").classList.add("scroll"),b.classList.remove("bottom-full-width")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".group-copy"),onReset:function(v){v.classList.add("align-center-vert"),l.parentNode.classList.remove("scroll")},onRespond:function(v){v.classList.remove("align-center-vert"),l.parentNode.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},458585:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-full-left-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileFullLeft01=c.Base.create("ProfileFullLeft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content"),_=s.querySelector(".group-copy"),v=s.querySelector(".group-links");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.99,minFontSize:26})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="action"] ul'),widthBoundaryNode:_,minFontSize:10,widthRatio:.99,onReset:function(b){b.classList.remove("stacked")},onMinFontSize:function(b){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.66,onReset:function(b,d){b.classList.remove("wrap"),b.parentNode.classList.remove("stacked"),b.querySelector(".break")&&b.querySelector(".break").remove()},onRespond:function(b,d){b.classList.add("wrap"),b.parentNode.classList.add("stacked");var g=b.childNodes;if(!b.querySelector(".break")){var h=new c.Node(g.item(Math.floor(g.length/2)));h.insert('
',"before")}}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:v,widthBoundaryNode:_,widthRatio:.9,onReset:function(b,d){b.classList.remove("stacked")},onRespond:function(b,d){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:_,onReset:function(b){b.classList.add("align-center-vert"),l.parentNode.classList.remove("scroll")},onRespond:function(b){b.classList.remove("align-center-vert"),l.parentNode.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:v,onReset:function(b){_.classList.add("align-center-vert"),l.parentNode.classList.remove("scroll")},onRespond:function(b){_.classList.remove("align-center-vert"),l.parentNode.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},331438:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-full-middleband-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileFullMiddleband01=c.Base.create("ProfileFullMiddleband01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".group-content"),v=s.querySelector(".group-links"),b=s.querySelector(".sqs-slide-layer.layer-front"),d=s.querySelector(".responsive-wrapper.social");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:_,minFontSize:20,widthRatio:.9,onReset:function(p){p.style.whiteSpace="nowrap"},onMinFontSize:function(p){p.style.whiteSpace="normal"}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),minFontSize:15,widthBoundaryNode:_,widthRatio:.9,onReset:function(p){p.style.whiteSpace="nowrap"},onMinFontSize:function(p){p.style.whiteSpace="normal"}}));var g=new n.FontSize({rootNode:d,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:s.querySelector(".group-content > .sqs-slice-group:not(.group-branding)"),minFontSize:10,widthRatio:.9,enabled:!1,onReset:function(p){p.classList.remove("stacked"),p.classList.remove("text-align-left")},onMinFontSize:function(p){p.classList.add("stacked"),p.classList.add("text-align-left")}});this._registerResponsiveComponent(g),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:l,widthBoundaryNode:_,widthRatio:.99,onReset:function(p){p.classList.remove("stacked")},onRespond:function(p){p.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-slice-type="body"]'),targetNode:v,padding:60,onReset:function(){l.classList.remove("stacked")},onRespond:function(){l.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:v,padding:60,onReset:function(p,y){l.classList.remove("stacked");var T=p.parentNode;T.classList.remove("stacked"),T.classList.remove("left-right-floats-off"),d.classList.remove("wrapped"),g.disable()},onRespond:function(p,y){l.classList.add("stacked");var T=p.parentNode;T.classList.add("stacked"),T.classList.add("left-right-floats-off"),d.classList.remove("wrapped"),g.enable()}}));var h=new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.7,enabled:!1,onReset:function(p){p.classList.remove("wrapped"),p.querySelector(".break")&&p.querySelector(".break").remove()},onRespond:function(p){p.classList.add("wrapped");var y=p.childNodes;if(!p.querySelector(".break")){var T=new c.Node(y.item(Math.floor(y.length/2)));T.insert('
',"before")}}});this._registerResponsiveComponent(h),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:d,widthBoundaryNode:_,widthRatio:.99,onReset:function(p){p.classList.remove("stacked"),h.disable()},onRespond:function(p){p.classList.add("stacked"),h.enable()}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:b.querySelector(".sqs-slide-layer-content"),padding:0,onReset:function(p){b.classList.remove("scroll")},onRespond:function(p){b.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},621699:function(){YUI.add("squarespace-slide-rendering-layouts-profile-full-right-01",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.ProfileFullRight01=m.Base.create("ProfileFullRight01",m.Squarespace.SlideRendering.Layouts.ProfileFullLeft01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-profile-full-left-01"]})},120121:function(){YUI.add("squarespace-slide-rendering-layouts-profile-full-top-01",function(m){m.namespace("Squarespace.SlideRendering.Layouts"),m.Squarespace.SlideRendering.Layouts.ProfileFullTop01=m.Base.create("ProfileFullTop01",m.Squarespace.SlideRendering.Layouts.ProfileFullBottom01,[],{})},"1.0",{requires:["base","squarespace-slide-rendering-layouts-profile-full-bottom-01"]})},561052:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-left-left-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileLeftLeft01=c.Base.create("ProfileLeftLeft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode();this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:1,scale:.99,minFontSize:30,widthBoundaryNode:s.querySelector(".sqs-slice-heading-content"),heightBoundaryNode:s.querySelector(".sqs-slide-layer"),heightRatio:.3,onRespond:function(){c.later(0,this,function(){this._syncSliceWidgets()})}.bind(this)})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:1,scale:.99,minFontSize:20,widthBoundaryNode:s.querySelector(".sqs-slice-heading-content"),heightBoundaryNode:s.querySelector(".sqs-slide-layer"),onRespond:function(){c.later(0,this,function(){this._syncSliceWidgets()})}.bind(this)})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector(".responsive-wrapper"),fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:12,widthRatio:.9,scale:.9,onReset:function(l){l.classList.remove("stacked")},onMinFontSize:function(l){l.classList.add("stacked")},onRespond:function(){c.later(0,this,function(){this._syncSliceWidgets()})}.bind(this)})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".group-copy"),targetNode:s.querySelector(".sqs-slice-group.group-links"),padding:0,onReset:function(l,_){_.classList.add("bottom-full-width")},onRespond:function(l,_){_.classList.remove("bottom-full-width")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-links"),onReset:function(l){l=new c.Node(l),l.ancestor(".sqs-slide-layer-content").removeClass("scroll")},onRespond:function(l){l=new c.Node(l),l.ancestor(".sqs-slide-layer-content").addClass("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},43910:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-profile-left-right-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.ProfileLeftRight01=c.Base.create("ProfileLeftRight01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".responsive-wrapper"),v=!!c.one("html.flexbox");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),minFontSize:26,widthRatio:.99})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthBoundaryNode:l,widthRatio:1,scale:.99,minFontSize:16})),this._registerResponsiveComponent(new n.FontSize({rootNode:_,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.9,onReset:function(){_.classList.remove("stacked")},onMinFontSize:function(){_.classList.add("stacked")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:l,widthRatio:.7,onReset:function(b){b.classList.remove("wrapped"),b.querySelector(".break")&&b.querySelector(".break").remove()},onRespond:function(b){b.classList.add("wrapped");var d=b.childNodes;if(!b.querySelector(".break")){var g=new c.Node(d.item(Math.floor(d.length/2)));g.insert('
',"before")}}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:_,widthRatio:.9,onReset:function(b,d){b.classList.remove("stacked")},onRespond:function(b){b.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector('[data-compound-type="logo"] > *'),padding:40,onReset:function(b,d){v||l.classList.add("align-center-vert")},onRespond:function(b,d){c.one("html.flexbox")||l.classList.remove("align-center-vert")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:s.querySelector(".content-gallery"),padding:parseInt(l.ownerDocument.defaultView.getComputedStyle(l.parentNode).paddingTop,10),onReset:function(b){v||(b.classList.add("align-center"),b.classList.remove("align-center-horiz"))},onRespond:function(b){l.ownerDocument.defaultView.getComputedStyle(l.parentNode).float!=="left"&&(v||(b.classList.remove("align-center"),b.classList.add("align-center-horiz")))}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,padding:Math.max(25,parseInt(getComputedStyle(s)["border-top-width"],10)*2),onReset:function(b){b.parentNode.classList.remove("scroll"),v||(l.classList.add("align-center"),l.classList.remove("align-center-horiz"))},onRespond:function(b){b.parentNode.classList.add("scroll"),v||(l.classList.remove("align-center"),l.classList.add("align-center-horiz"))}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},531534:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-sso-full-center-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.SsoFullCenter01=c.Base.create("SsoFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".layer-front .sqs-slide-layer-content");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.99,scale:.99,minFontSize:14,heightBoundaryNode:s.querySelector(".sqs-slide-layer"),heightRatio:.16})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),heightRatio:.16,heightBoundaryNode:s.querySelector(".sqs-slide-layer"),widthRatio:.99,scale:.99,minFontSize:18})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slice-group.group-content"),onReset:function(_){_.classList.add("align-center"),_.classList.add("align-center-absolute"),l.classList.remove("scroll")},onRespond:function(_){_.classList.remove("align-center"),_.classList.remove("align-center-absolute"),l.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},342568:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-twitter-full-center-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.TwitterFullCenter01=c.Base.create("TwitterFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-twitter"),_=s.querySelector(".responsive-wrapper"),v=s.querySelector(".group-logo"),b=s.querySelector(".layer-front .sqs-slide-layer-content"),d=s.querySelector('[data-compound-type="logo"]'),g=function(){_.classList.contains("stacked")||!v.classList.contains("top-left")?(v.style.minHeight=null,_.style.minHeight=null):(v.style.minHeight=_.clientHeight+"px",_.style.minHeight=v.clientHeight+"px")};this._registerResponsiveComponent(new n.FontSize({rootNode:d.querySelector("h1"),widthRatio:.4,minFontSize:13,onReset:function(){g()},onRespond:function(){g()},onMinFontSize:function(){g()}})),this._registerResponsiveComponent(new n.FontSize({rootNode:_,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:l,minFontSize:10,widthRatio:.8,onReset:function(p){p.classList.remove("stacked")},onMinFontSize:function(p){p.classList.add("stacked")}}));var h=s.querySelectorAll('[data-slice-type="twitter"] .sqs-tweet .tweet-body');Array.prototype.forEach.call(h,function(p){this._registerResponsiveComponent(new n.FontSize({rootNode:p,widthRatio:1,heightRatio:.5,scale:.97,minFontSize:18,heightBoundaryNode:l,onReset:function(y){},onMinFontSize:function(y){}}))},this),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-compound-type="logo"] > *'),targetNode:_,onReset:function(p,y){y.classList.add("top-right"),v.classList.add("top-left"),y.classList.remove("stacked"),d.classList.remove("stacked"),g()},onRespond:function(p,y){y.classList.remove("top-right"),v.classList.remove("top-left"),y.classList.add("stacked"),d.classList.add("stacked"),g()}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:_,targetNode:l,padding:20,onReset:function(p,y){p.classList.add("top-right"),v.classList.add("top-left"),p.classList.remove("stacked"),d.classList.remove("stacked"),l.classList.remove("stacked"),b.classList.remove("scroll"),g()},onRespond:function(p,y){p.classList.remove("top-right"),v.classList.remove("top-left"),p.classList.add("stacked"),d.classList.add("stacked"),l.classList.add("stacked"),b.classList.add("scroll"),g()}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,onReset:function(){l.classList.remove("stacked"),b.classList.remove("scroll")},onRespond:function(){l.classList.add("stacked"),b.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:_,onReset:function(){l.classList.remove("stacked"),b.classList.remove("scroll")},onRespond:function(){l.classList.add("stacked"),b.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},248673:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-twitter-full-left-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.TwitterFullLeft01=c.Base.create("TwitterFullLeft01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-twitter"),_=s.querySelector(".group-logo-social-actions"),v=s.querySelector(".responsive-wrapper"),b=s.querySelector(".layer-front .sqs-slide-layer-content"),d=s.querySelector('[data-compound-type="logo"]'),g=function(){d.style.minHeight=v.clientHeight+"px",v.style.minHeight=d.clientHeight+"px"};this._registerResponsiveComponent(new n.FontSize({rootNode:d.querySelector("h1"),widthBoundaryNode:b,widthRatio:.8,minFontSize:13,onReset:function(p,y){g()},onRespond:function(p,y){g()},onMinFontSize:function(p,y){g()}})),this._registerResponsiveComponent(new n.FontSize({rootNode:v,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:12,widthRatio:.99,onReset:function(p){_.classList.add("right-left"),p.classList.remove("stacked")},onRespond:function(p){},onMinFontSize:function(p){_.classList.remove("right-left"),p.classList.add("stacked")}}));var h=s.querySelectorAll('[data-slice-type="twitter"] .tweet-body');Array.prototype.forEach.call(h,c.bind(function(p){this._registerResponsiveComponent(new n.FontSize({rootNode:p,widthRatio:1,heightRatio:.55,scale:.97,minFontSize:18,heightBoundaryNode:l}))},this)),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-compound-type="logo"] > *'),targetNode:v.querySelector(".sqs-slice:last-child"),padding:40,onReset:function(p,y){_.classList.add("right-left")},onRespond:function(p,y){_.classList.remove("right-left")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-compound-type="logo"] > *'),targetNode:v.querySelector(".sqs-slice:first-child"),padding:40,onReset:function(p,y){_.classList.add("right-left")},onRespond:function(p,y){_.classList.remove("right-left")}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:v,widthRatio:.95,onReset:function(p){p.classList.remove("stacked"),g()},onRespond:function(p){p.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".group-logo-social-actions"),targetNode:l,padding:40,onReset:function(p,y){p.classList.add("bottom-full-width"),l.classList.remove("stacked"),b.classList.remove("scroll"),g()},onRespond:function(p,y){p.classList.remove("bottom-full-width"),l.classList.add("stacked"),b.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,padding:20,onReset:function(){l.classList.remove("stacked"),b.classList.remove("scroll")},onRespond:function(){l.classList.add("stacked"),b.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:v,padding:20,onReset:function(){l.classList.remove("stacked"),b.classList.remove("scroll")},onRespond:function(){l.classList.add("stacked"),b.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},71102:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-video-full-bottom-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.VideoFullBottom01=c.Base.create("VideoFullBottom01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".group-content"),v=s.querySelector(".group-links"),b=60;this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:_,minFontSize:20,widthRatio:.99,onReset:function(p){p.style.whiteSpace="nowrap"},onMinFontSize:function(p){p.style.whiteSpace="normal"}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),minFontSize:15,widthBoundaryNode:_,widthRatio:.99,onReset:function(p){p.style.whiteSpace="nowrap"},onMinFontSize:function(p){p.style.whiteSpace="normal"}}));var d=new n.FontSize({rootNode:s.querySelector(".responsive-wrapper"),fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:s.querySelector(".group-content"),minFontSize:10,widthRatio:.45,enabled:!0,onReset:function(p){p.classList.remove("stacked"),p.classList.remove("text-align-left")},onMinFontSize:function(p){p.classList.add("stacked"),p.classList.add("text-align-left")}});this._registerResponsiveComponent(d),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector('[data-slice-type="body"]'),targetNode:v,padding:60,onReset:function(){l.classList.remove("stacked")},onRespond:function(){l.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:v,padding:60,onReset:function(p,y){var T=p.parentNode;T.classList.remove("stacked"),T.classList.remove("left-right-floats-off"),y.querySelector(".responsive-wrapper").classList.remove("wrapped"),d.disable()},onRespond:function(p,y){var T=p.parentNode;T.classList.add("stacked"),T.classList.add("left-right-floats-off"),y.querySelector(".responsive-wrapper").classList.remove("wrapped"),d.enable()}})),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:s.querySelector(".group-links .responsive-wrapper"),widthBoundaryNode:_,widthRatio:.99,onReset:function(p){p.classList.remove("stacked"),g.disable()},onRespond:function(p){p.classList.add("stacked"),g.enable()}}));var g=new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.7,enabled:!1,onReset:function(p){p.classList.remove("wrapped"),p.querySelector(".break")&&p.querySelector(".break").remove()},onRespond:function(p){p.classList.add("wrapped");var y=p.childNodes;if(!p.querySelector(".break")){var T=new c.Node(y.item(Math.floor(y.length/2)));T.insert('
',"before")}}});this._registerResponsiveComponent(g),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:_,targetNode:s.querySelector(".group-video"),padding:120,onReset:function(p,y){h.disable(),y.classList.add("text-align-center"),y.classList.add("align-center"),y.classList.remove("bottom-full-width"),p.classList.add("full-width")},onRespond:function(p,y){y.classList.remove("text-align-center"),y.classList.remove("align-center"),s.querySelector(".vertical-positioning-top")&&(p.classList.remove("full-width"),y.classList.add("bottom-full-width")),h.enable()}}));var h=new n.OverlapDetector({rootNode:_,targetNode:s.querySelector(".group-video"),padding:60,enabled:!1,onReset:function(p,y){p.parentNode.classList.remove("scroll"),p.style.top=null,p.style.bottom=null,y.style.top=null,y.style.bottom=null},onRespond:function(p,y){setTimeout(function(){this.classList.add("scroll")}.bind(p.parentNode),50),s.querySelector(".vertical-positioning-top")?(y.style.top=p.getBoundingClientRect().bottom+b+"px",y.style.bottom="auto"):(p.style.top=y.getBoundingClientRect().bottom+b+"px",p.style.bottom="auto")}});this._registerResponsiveComponent(h),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:_,onReset:function(p){p.parentNode.classList.remove("scroll")},onRespond:function(p){setTimeout(function(){this.classList.add("scroll")}.bind(p.parentNode),50)}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".group-video"),onReset:function(p){p.parentNode.classList.remove("scroll")},onRespond:function(p){setTimeout(function(){this.classList.add("scroll")}.bind(p.parentNode),50)}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},406711:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-video-full-center-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.VideoFullCenter01=c.Base.create("VideoFullCenter01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector('[data-compound-type="logo"] > *'),v=s.querySelector(".responsive-wrapper");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthRatio:.49,minFontSize:13})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),widthRatio:.99,heightRatio:.1,scale:.99,minFontSize:18,heightBoundaryNode:s.querySelector(".sqs-slide-layer")}));var b=new n.FontSize({rootNode:v,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],minFontSize:10,widthRatio:.8,enabled:!1,onReset:function(g){g.classList.remove("stacked")},onMinFontSize:function(g){g.classList.add("stacked")}});this._registerResponsiveComponent(b);var d=new n.OverlapDetector({rootNode:l,targetNode:v,enabled:!1,padding:10,onRespond:function(g,h){g.classList.add("stacked"),g.classList.remove("align-center-vert"),g.parentNode.classList.add("scroll"),h.parentNode.classList.remove("bottom-full-width")}});this._registerResponsiveComponent(d),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:_,targetNode:v,padding:60,onReset:function(g,h){var p=h.parentNode;p.classList.add("top-right"),p.classList.remove("bottom-full-width"),b.disable(),d.disable(),h.querySelector('[data-slice-type]:not([data-content-empty="true"])')&&g.parentNode.classList.add("text-align-left")},onRespond:function(g,h){var p=h.parentNode;p.classList.remove("top-right"),p.classList.add("bottom-full-width"),b.enable(),d.enable(),g.parentNode.classList.remove("text-align-left")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:l,widthRatio:.9,onReset:function(g){g.classList.remove("stacked"),g.classList.add("align-center-vert"),g.classList.add("full-width"),g.parentNode.classList.remove("scroll")},onRespond:function(g){g.classList.add("stacked"),g.classList.remove("align-center-vert"),g.classList.remove("full-width"),g.parentNode.classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},36575:function(m,E,e){"use strict";var n=e(27351),a=e.n(n);YUI.add("squarespace-slide-rendering-layouts-video-full-corners-01",function(c){c.namespace("Squarespace.SlideRendering.Layouts"),c.Squarespace.SlideRendering.Layouts.VideoFullCorners01=c.Base.create("VideoFullCorners01",c.Squarespace.SlideRendering.Layouts.Base,[],{_initResponsiveComponents:function(){var s=this.get("contentBox").getDOMNode(),l=s.querySelector(".group-copy"),_=s.querySelector(".group-content"),v=s.querySelector(".group-links"),b=s.querySelector(".responsive-wrapper.social");this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-compound-type="logo"][data-slice-type="heading"] h1'),widthBoundaryNode:_,minFontSize:20,widthRatio:.99,onReset:function(h){h.style.whiteSpace="nowrap"},onMinFontSize:function(h){h.style.whiteSpace="normal"}})),this._registerResponsiveComponent(new n.FontSize({rootNode:s.querySelector('[data-slice-type="heading"]:not([data-compound-type]) h1'),minFontSize:15,widthBoundaryNode:_,widthRatio:.99,onReset:function(h){h.style.whiteSpace="nowrap"},onMinFontSize:function(h){h.style.whiteSpace="normal"}}));var d=new n.FontSize({rootNode:b,fontSizeNodes:[s.querySelector('[data-compound-type="action"] ul'),s.querySelector('[data-slice-type="custom-form"]')],widthBoundaryNode:s.querySelector(".group-content > .sqs-slice-group:not(.group-branding)"),minFontSize:10,widthRatio:.9,enabled:!1,onReset:function(h){h.classList.remove("stacked"),h.classList.remove("text-align-left")},onMinFontSize:function(h){h.classList.add("stacked"),h.classList.add("text-align-left")}});this._registerResponsiveComponent(d),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:l,widthBoundaryNode:_,widthRatio:.99,onReset:function(h){h.classList.remove("stacked")},onRespond:function(h){h.classList.add("stacked")}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:l,targetNode:v,padding:60,onReset:function(h,p){l.classList.remove("stacked");var y=h.parentNode;y.classList.remove("stacked"),y.classList.remove("left-right-floats-off"),b.classList.remove("wrapped"),d.disable()},onRespond:function(h,p){l.classList.add("stacked");var y=h.parentNode;y.classList.add("stacked"),y.classList.add("left-right-floats-off"),b.classList.remove("wrapped"),d.enable()}}));var g=new n.BoundaryRatios({rootNode:s.querySelector('[data-slice-type="social-icons"]:not([data-content-empty="true"])'),widthBoundaryNode:_,widthRatio:.7,enabled:!1,onReset:function(h){h.classList.remove("wrapped"),h.querySelector(".break")&&h.querySelector(".break").remove()},onRespond:function(h){h.classList.add("wrapped");var p=h.childNodes;if(!h.querySelector(".break")){var y=new c.Node(p.item(Math.floor(p.length/2)));y.insert('
',"before")}}});this._registerResponsiveComponent(g),this._registerResponsiveComponent(new n.BoundaryRatios({rootNode:b,widthBoundaryNode:_,widthRatio:.99,onReset:function(h){h.classList.remove("stacked"),g.disable()},onRespond:function(h){h.classList.add("stacked"),g.enable()}})),this._registerResponsiveComponent(new n.OverlapDetector({rootNode:s.querySelector(".group-video"),targetNode:s.querySelector(".layer-front .sqs-slide-layer-content"),padding:0,onReset:function(h,p){h.classList.add("absolute"),p.parentNode.classList.remove("scroll")},onRespond:function(h,p){h.classList.remove("absolute"),p.parentNode.classList.add("scroll")}})),this._registerResponsiveComponent(new n.OverflowDetector({rootNode:s.querySelector(".sqs-slide-layer.layer-front .sqs-slide-layer-content"),widthRatio:.95,padding:-1,onReset:function(h){s.querySelector(".sqs-slide-layer.layer-front").classList.remove("scroll")},onRespond:function(h){s.querySelector(".sqs-slide-layer.layer-front").classList.add("scroll")}}))}})},"1.0",{requires:["squarespace-slide-rendering-layouts-base"]})},694176:function(m,E,e){"use strict";var n=e("39811"),a=e.n(n),c=e("392338"),s=e("869797"),l=e("508057");class _ extends s.Z{bindUIEvents(){var d=this.container,g=this.albumController,h=d.querySelector(".button-play-pause");h&&h.addEventListener("click",()=>g.playpause());var p=d.querySelector(".button-previous");p&&p.addEventListener("click",()=>g.goToPreviousTrack());var y=d.querySelector(".button-next");y&&y.addEventListener("click",()=>g.goToNextTrack()),this.trackNodes.forEach((T,C)=>{T.querySelector(".track-progress-bar").addEventListener("mousedown",this.getScrubHandlerForTrack(C)),T.addEventListener("click",O=>{O.preventDefault(),g.skipToTrack(C),g.play()})})}handleTrackPositionChange(d,g,h){var p=this.trackNodes[d];p.querySelector(".track-progress-bar .play-bar").style.width=h*100+"%",p.querySelector(".track-time").textContent=(0,l.Z)(g)}handleActiveTrackChange(d){this.trackNodes.forEach(g=>g.classList.remove("selected")),d!==null&&this.trackNodes[d].classList.add("selected")}}var v=_;YUI.add("squarespace-slide-rendering-slices-album",function(b){b.namespace("Squarespace.SlideRendering.Slices");var d=b.Squarespace.SlideRendering.Slices.Album=b.Base.create("Album",b.Squarespace.SlideRendering.Slices.Base,[],{initializer:function(){var g=this.get("contentBox"),h=g.one(".sqs-slice-album-playlist");h.hasClass("demo-album")?this.get("contentBox").all("a").on("click",function(p){p.halt()},this):this._playlist=new v},renderUI:function(){d.superclass.renderUI.call(this);var g=this.get("contentBox"),h=g.one(".sqs-slice-album-playlist");this._playlist&&this._playlist.connectToNode(h.getDOMNode())}},{SLICE_TYPE:a().ALBUM,CSS_PREFIX:"sqs-slice-album"})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base"]})},157817:function(m,E,e){"use strict";var n=e(112182),a=e.n(n),c=e(150825),s=e(480253),l=e(372444);YUI.add("squarespace-slide-rendering-slices-base",function(_){_.namespace("Squarespace.SlideRendering.Slices"),_.Squarespace.SlideRendering.Slices.Base=_.Base.create("Base",_.Widget,[],{CONTENT_TEMPLATE:null},{CSS_PREFIX:"sqs-slice",ATTRS:{sliceId:{value:null},slideType:{value:c.Z[a().COVER_PAGE]},slideSelector:{getter:function(){var v=s.Z[this.get("slideType")];return l.qG(v)}},canClientRefresh:{value:!1}}})},"1.0",{requires:["base","widget"]})},971415:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-body",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.Body=c.Base.create("Body",c.Squarespace.SlideRendering.Slices.Base,[c.Squarespace.SlideRendering.Slices.ClientRefresh],{refreshFromSliceContent:function(s){var l=s.get("body.html");l&&typeof l!="string"&&l.length&&(l=l.toString());var _=!c.Lang.isValue(l)||l==="";this.get("contentBox").setHTML(l),this._updateContentEmptyAttribute(_)}},{SLICE_TYPE:a().BODY,CSS_PREFIX:"sqs-slice-body"})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},34457:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(723673),s=e.n(c),l=e(309055);YUI.add("squarespace-slide-rendering-slices-buttons",function(_){_.namespace("Squarespace.SlideRendering.Slices"),_.Squarespace.SlideRendering.Slices.Buttons=_.Base.create("Buttons",_.Squarespace.SlideRendering.Slices.Base,[_.Squarespace.SlideRendering.Slices.ClientRefresh],{renderUI:function(){this._trackButtonRender()},bindUI:function(){var v=this.get("contentBox");v.all("a").each(function(b){b.on("click",this._trackButtonClick,this)},this)},refreshFromSliceContent:function(v){var b="",d=!0;v.get("links").each(function(g){var h=g.get("text");if(_.Lang.isValue(h)&&h!==""){d=!1;var p=g.get("clickthroughUrl");b+=_.Lang.sub('
  • {text}
  • ',{href:p.url,targetNode:p.newWindow?' targetNode="_blank"':"",text:_.Squarespace.Escaping.escapeForHtml(h)})}}),this.get("contentBox").one("ul").setHTML(b),this._updateContentEmptyAttribute(d)},_getTrackingData:function(v){var b=v.getAttribute("href"),d=v.ancestor(".sqs-slide"),g=d.getAttribute("data-slide-layout-id"),h=d.getAttribute("data-slide-type"),p=h==="popup-overlay"?s().POPUP_OVERLAY:s().BUTTON_BLOCK;return{pagePath:_.config.win.location.pathname,id:g,buttonText:v.get("innerHTML"),clickthroughUrl:b,alignment:null,size:null,newWindow:v.hasAttribute("target"),context:p}},_trackButtonRender:function(){var v=this.get("contentBox");v.all("a").each(function(b){var d=this._getTrackingData(b);d.context!==s().POPUP_OVERLAY&&l.TP(d)},this)},_trackButtonClick:function(v){var b=v.currentTarget;if(b.hasAttribute("data-tracked")){b.removeAttribute("data-tracked");return}var d=b.hasAttribute("target"),g=v.target.getAttribute("href"),h=g&&g.split(":")[0].toLowerCase()==="mailto",p=(!d||v.metaKey||v.ctrlKey||v.shiftKey)&&!h;p&&(v.preventDefault(),v.stopImmediatePropagation());var y=function(){p&&(b.setAttribute("data-tracked",!0),b.simulate("click"))},T=this._getTrackingData(v.target);l.kO(T).then(function(){y()}).catch(function(C){y()})}},{SLICE_TYPE:a().BUTTONS,CSS_PREFIX:"sqs-slice-buttons"})},"1.0",{requires:["base","squarespace-escaping-utils","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},558487:function(){YUI.add("squarespace-slide-rendering-slices-client-refresh",function(m){m.namespace("Squarespace.SlideRendering.Slices"),m.Squarespace.SlideRendering.Slices.ClientRefresh=m.Base.create("Heading",m.Base,[],{refreshFromSliceContent:function(E){},_updateContentEmptyAttribute:function(E){var e=this.get("contentBox");E?e.setAttribute("data-content-empty",!0):e.removeAttribute("data-content-empty")}},{ATTRS:{canClientRefresh:{value:!0}}})},"1.0",{requires:["base"]})},986255:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(784874),s=e(963327);YUI.add("squarespace-slide-rendering-slices-custom-form",function(l){l.namespace("Squarespace.SlideRendering.Slices");var _=l.Squarespace.SlideRendering.Slices.CustomForm=l.Base.create("CustomForm",l.Squarespace.SlideRendering.Slices.Base,[l.Squarespace.SlideRendering.Slices.ClientRefresh],{initializer:function(){this._lightbox=new l.Squarespace.Widgets.ModalLightbox({render:l.one(this.get("slideSelector")),openClassNode:l.one(this.get("slideSelector")+" .sqs-slide-container")}),this._formTemplatePromise=this._getFormTemplateSchema()},destructor:function(){this._lightbox.close(),this._formWidget&&this._formWidget.destroy(),this._lightbox.destroy(),this._formTemplatePromise=null},renderUI:function(){_.superclass.renderUI.call(this),this._lightbox.render()},bindUI:function(){_.superclass.bindUI.call(this);var v=this.get("contentBox");v.delegate("click",this._openForm,".open-form-button",this)},_openForm:function(){var v=this.get("contentBox"),b=v.one(".open-form-button-container"),d=b.getData("form"),g=l.Lang.isValue(d)&&d!=="",h;g?h=l.JSON.parse(d.replace(/scr"\+"ipt/g,"script")):h=b.hasClass("slice-newsletter-form")?new l.Squarespace.Models.SliceDemoNewsletterForm().toJSON():new l.Squarespace.Models.SliceDemoCustomForm().toJSON(),this._formTemplatePromise.then(l.bind(function(p){this._formWidget&&this._formWidget.destroy(!0);var y=this._formWidget=new l.Squarespace.Widgets.AsyncForm({form:h,formTemplate:p,formSubmitButtonText:h.submitButtonText,formName:h.name,showTitle:!0,preventDefaultSubmit:!g,preventAllSubmits:!g}),T=this._lightbox;T.set("content",y);var C=s.getCaptchaContainer(l.config.win,y.get("contentBox").getDOMNode());if(C&&s.render(l.config.win,C),l.UA.ios>0){var O=l.one('meta[name="viewport"]');O.setAttribute("content",O.getAttribute("content")+", maximum-scale=1"),T.once("close",function(){var k=this.getAttribute("content"),L=k.substring(0,k.indexOf(", maximum-scale=1"));this.setAttribute("content",L),setTimeout(function(){window.dispatchEvent(new Event("resize"))},100)},O)}var x=l.one(this.get("slideSelector")+' [data-slice-type="gallery"] .scrim'),D=x?x.getComputedStyle("backgroundColor"):null;T.get("boundingBox").one(".lightbox-background").setStyle("backgroundColor",D),T.open()},this))},_getFormTemplateSchema:function(){return l.Squarespace.Promises.create(function(v){l.Data.get({url:"/api/template/GetTemplateSchema",data:{type:c.Z.FORM},success:function(b){v(b)}})})},refreshFromSliceContent:function(v){var b=this.get("contentBox"),d=b.one(".open-form-button-container");d.addClass(v.get("isNewsletterFormSelected")?"slice-newsletter-form":"slice-custom-form"),d.removeClass(v.get("isNewsletterFormSelected")?"slice-custom-form":"slice-newsletter-form");var g=v.get("buttonLabel"),h=!l.Lang.isValue(g)||g==="";h?d.setHTML(""):d.setHTML(''+g+""),this._updateContentEmptyAttribute(h)}},{SLICE_TYPE:a().CUSTOM_FORM,CSS_PREFIX:"sqs-slice-custom-form"})},"1.0",{requires:["base","json","squarespace-async-form","squarespace-modal-lightbox","squarespace-models-slice-demo-custom-form","squarespace-models-slice-demo-newsletter-form","squarespace-promises","squarespace-util","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},389757:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-factory",function(c){var s=c.Squarespace.FactoryUtils.createEnumToClassFactory(a(),c.Squarespace.SlideRendering.Slices,"SLICE_TYPE","Base");c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.Factory=s},"1.0",{requires:["squarespace-factory-utils","squarespace-slide-rendering-slices-album","squarespace-slide-rendering-slices-body","squarespace-slide-rendering-slices-buttons","squarespace-slide-rendering-slices-custom-form","squarespace-slide-rendering-slices-gallery","squarespace-slide-rendering-slices-heading","squarespace-slide-rendering-slices-image","squarespace-slide-rendering-slices-lock","squarespace-slide-rendering-slices-map","squarespace-slide-rendering-slices-newsletter","squarespace-slide-rendering-slices-navigation","squarespace-slide-rendering-slices-password","squarespace-slide-rendering-slices-social-icons","squarespace-slide-rendering-slices-sso","squarespace-slide-rendering-slices-sub-heading","squarespace-slide-rendering-slices-twitter","squarespace-slide-rendering-slices-video"]})},19868:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(428513);YUI.add("squarespace-slide-rendering-slices-gallery",function(s){s.namespace("Squarespace.SlideRendering.Slices");var l=!1,_=s.Squarespace.SlideRendering.Slices.Gallery=s.Base.create("Gallery",s.Squarespace.SlideRendering.Slices.Base,[s.Squarespace.SlideRendering.Slices.HasScrim],{initializer:function(){this._events=[],this._initGallery()},destructor:function(){this._events.forEach(function(v){v.detach()}),this._events=null,this._gallery&&this._gallery.destroy()},bindUI:function(){_.superclass.bindUI.call(this),this._events.push(s.Global.after("tweak:change",this._onTweakChange,this)),this._events.push(s.Global.after("slideUpdateRendered",function(){var b=this.get("items"),d=new s.Parallel;b.each(function(g){var h=g.one("img");h&&window.ImageLoader&&(window.ImageLoader.load(h,!0),h.once("load",d.add()))},this),d.done(function(){this.syncUI()}.bind(this))},this)),this._gallery&&this._gallery.after("currentIndexChange",this._syncScrim,this);var v=this.get("slideSelector")+' .sqs-slice[data-slice-type="video"]';this._isVideoBg()&&s.one(v)&&this._events.push(s.one(this.get("slideSelector")+" .sqs-slice-play-button").on("click",function(b){try{this.videoBg.player.pauseVideo()}catch(d){l&&console.warn(d)}},this),s.Global.on("lightbox-hidden",function(){try{this.videoBg.player.playVideo()}catch(b){l&&console.warn(b)}},this)),this._events.push(s.Global.after("tweak:reset",function(){this.get("items").each(function(b){b.setStyles({"background-color":null,height:null,width:null,"overflow-y":null,"overflow-x":null})}),this._gallery.destroy(),this._initGallery()},this))},syncUI:function(){_.superclass.syncUI.call(this),!this._isGrid()&&!this._isVideoBg()?(this._gallery.refresh(),this._syncScrim()):(this.get("boundingBox").one(".scrim")||this.get("boundingBox").append('
    '),this._gallery&&this._gallery.syncUI())},_initGallery:function(){this._removeInvalidImages();var v=this.get("items"),b=this.get("boundingBox");if(this._isVideoBg()){var d=v.item(0).getDOMNode(),g=this._getVideoPropertiesFromElement(d);g.container=d,this.videoBg=new c.VideoBackground(g,s.config.win)}else this._isGrid()?(this.get("contentBox").ancestor(".sqs-slide").hasClass("sqs-slide-ready")?this._createGrid(b,v):s.Global.on("slideReady",this._createGrid(b,v)),l===!0&&(window.grid=this._gallery)):this._gallery=new s.SQS.Gallery.Gallery2({container:b,slides:v,autoplay:!0,autoplayOptions:{timeout:5e3},loaderOptions:{mode:"fill"},refreshOnResize:!0,loop:!0,design:"stacked",designOptions:{autoHeight:!1,speed:1,transition:"fade"}})},_removeInvalidImages:function(){var v=this.get("items");v&&v.each(function(b){b.one("img")&&!b.hasClass("gallery-video-background")&&!b.hasClass("demo-image")&&!b.one("img").getAttribute("data-image-dimensions")&&b.remove()}),this.set("items",this.get("boundingBox").all(".sqs-slice-gallery-item"))},_syncScrim:function(){var v=this._gallery.get("currentIndex"),b=this._gallery.get("slides").item(v);b&&this.updateScrim(b)},_createGrid:function(v,b){var d=this.get("slideSelector")+" .sqs-slide-container";this._gallery=new s.Squarespace.SlideRendering.GridGallery({container:v,items:b,slideContainerSelector:d})},_isGrid:function(){var v=!1;return s.one(this.get("slideSelector")+" .gallery-style-grid")&&(v=!0),v},_isVideoBg:function(){var v=!1;return s.one(this.get("slideSelector")+' [data-slice-type="gallery"] .gallery-video-background')&&(v=!0),v},_getVideoPropertiesFromElement:function(v){var b={};return v.getAttribute("data-config-url")&&(b.url=v.getAttribute("data-config-url")),v.getAttribute("data-config-playback-speed")&&(b.playbackSpeed=v.getAttribute("data-config-playback-speed")),v.getAttribute("data-config-filter")&&(b.filter=v.getAttribute("data-config-filter")),v.getAttribute("data-config-filter-strength")&&(b.filterStrength=v.getAttribute("data-config-filter-strength")),v.getAttribute("data-config-custom-fallback-image")&&(b.useCustomFallbackImage=!0),b},_onTweakChange:function(v){var b=v.getName(),d=v.getValue();if(b==="gallery-style")this.get("items").each(function(){this.getDOMNode().style.cssText="";var g=this.one("img");g.setAttribute("src",""),g.setAttribute("data-image-resolution",""),g.setStyle("display","initial")}),this._gallery.destroy(),this._initGallery();else if(this._isGrid())switch(b){case"gallery-style":this.get("items").each(function(){this._node.style.cssText=""}),this._gallery.destroy(),this._initGallery();break;case"grid-gallery-density":this._gallery._removeClonedItems(),this._gallery.destroy(),this._initGallery();break;case"grid-gallery-ratio":d!=="Original"?(this._gallery.set("axisDirection","row"),this._gallery._removeClonedItems(),this._gallery.destroy(),this._initGallery()):this._gallery._setAxisDirection();break;case"grid-gallery-image-orientation":this._gallery.set("axisDirection","row"),this._gallery._removeClonedItems(),this._gallery.destroy(),this._initGallery();break;case"grid-gallery-direction":d==="Horizontal"?this._gallery.set("axisDirection","row"):this._gallery.set("axisDirection","column");break;case"gallery-randomize-order":d==="true"?this._gallery.set("imageOrdering","random"):this._gallery.set("imageOrdering","repeat"),this._gallery._removeClonedItems(),this._gallery.destroy(),this._initGallery();break;case"gallery-loading-animation":this._gallery.previewImageLoading(d);break}this._isVideoBg()&&this.videoBg&&this.videoBg.scaleVideo(),this.syncUI()}},{SLICE_TYPE:a().GALLERY,CSS_PREFIX:"sqs-slice-gallery",ATTRS:{items:{value:null,validator:s.Squarespace.AttrValidators.isNullOrNodeList}},HTML_PARSER:{items:[".sqs-slice-gallery-item"]}})},"1.0",{requires:["base","squarespace-attr-validators","squarespace-gallery-ng","squarespace-slide-rendering-grid-gallery","squarespace-slide-rendering-slices-has-scrim","squarespace-slide-rendering-slices-base"]})},863292:function(){YUI.add("squarespace-slide-rendering-slices-has-scrim",function(m){m.namespace("Squarespace.SlideRendering.Slices"),m.Squarespace.SlideRendering.Slices.HasScrim=m.Base.create("HasScrim",m.Base,[],{initializer:function(){m.Do.after(this._renderScrim,this,"renderUI",this)},updateScrim:function(E){if(E){var e=E.getData("processedColorStyles");m.Lang.isUndefined(e)&&(e=m.Squarespace.SlideRendering.ColorProcessor.processNode(E)),this._styleScrim(e.color,e.opacity)}},_renderScrim:function(){var E=this.get("contentBox");this._scrim=E.one(".scrim"),this._scrim||(this._scrim=m.Node.create('
    '),E.appendChild(this._scrim))},_styleScrim:function(E,e){this._scrim.setStyle("backgroundColor",E.toString()),this._scrim.setStyle("opacity",e),this._scrim.ancestor(".sqs-slice").setStyle("backgroundColor",E.toString())}},{ATTRS:{midPoint:{value:.6,writeOnce:"initOnly"}}})},"1.0",{requires:["base","squarespace-slide-rendering-color-processor","squarespace-slide-rendering-slices-rgb"]})},116092:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-heading",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.Heading=c.Base.create("Heading",c.Squarespace.SlideRendering.Slices.Base,[c.Squarespace.SlideRendering.Slices.ClientRefresh],{refreshFromSliceContent:function(s){var l=s.get("text"),_=!c.Lang.isValue(l)||l==="",v=c.Squarespace.Escaping.escapeForHtml(l);this.get("contentBox").one("h1").setHTML(v),this._updateContentEmptyAttribute(_)}},{SLICE_TYPE:a().HEADING,CSS_PREFIX:"sqs-slice-heading"})},"1.0",{requires:["base","squarespace-escaping-utils","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},590050:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-image",function(c){c.namespace("Squarespace.SlideRendering.Slices");var s=c.Squarespace.SlideRendering.Slices.Image=c.Base.create("Base",c.Squarespace.SlideRendering.Slices.Base,[],{syncUI:function(){s.superclass.syncUI.call(this);var l=this.get("contentBox").one("img");l&&l.plug(c.Squarespace.Loader2,{load:!0,mode:"fit"})}},{SLICE_TYPE:a().IMAGE,CSS_PREFIX:"sqs-slice-image",ATTRS:{}})},"1.0",{requires:["base","squarespace-image-loader","squarespace-slide-rendering-slices-base"]})},745077:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-lock",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.Lock=c.Base.create("Lock",c.Squarespace.SlideRendering.Slices.Base,[],{},{SLICE_TYPE:a().LOCK,CSS_PREFIX:"sqs-slice-lock"})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base"]})},468284:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(246614),s=e.n(c),l=e(131056),_=e.n(l);YUI.add("squarespace-slide-rendering-slices-map",function(v){v.namespace("Squarespace.SlideRendering.Slices");var b=v.Squarespace.SlideRendering.Slices.Map=v.Base.create("Map",v.Squarespace.SlideRendering.Slices.Base,[v.Squarespace.SlideRendering.Slices.ClientRefresh],{initializer:function(){this._events=[]},destructor:function(){this._events.forEach(function(d){d.detach()}),this._events=null},renderUI:function(){b.superclass.renderUI.call(this),this._createMap()},bindUI:function(){b.superclass.bindUI.call(this),this._events.push(v.Global.on("tweak:change",this._onTweakChange,this)),this._events.push(v.Global.on("tweak:reset",this._syncMapStyle,this)),this._events.push(v.one(v.config.win).on("resize",this._centerMarker,this))},_onTweakChange:function(d){d.getName()==="map-style"&&this._syncMapStyle()},_syncMapStyle:function(){var d=this.get("map");d.updateUIOptions({style:this._getMapStyle()}),this._centerMarker()},_createMap:function(){var d=this.get("mapContainer"),g=d.getAttribute("data-location"),h=v.JSON.parse(g);this._renderLocation(h)},_getMapStyle:function(){var d=this.get("slideSelector")+" .sqs-slide-container",g=v.one(d).get("className"),h;return g.indexOf("minimal-dark")!==-1?h=_().MinimalDark:g.indexOf("minimal-blue")!==-1?h=_().MinimalBlue:h=_().MinimalLight,h},_renderLocation:function(d){var g=this.get("mapContainer"),h={mapZoom:d.mapZoom,mapLat:d.mapLat,mapLng:d.mapLng,markerLat:d.markerLat,markerLng:d.markerLng},p={draggable:!1,scrollwheel:!1,showLabels:!1,showControls:!1,style:this._getMapStyle()};s().createView(p,h,g.getDOMNode()).then(v.bind(function(y){this.set("map",y),y.centerMarker()},this),function(){})},_centerMarker:function(){this.get("map").centerMarker()},_rebuildContent:function(){this.get("mapContainer").remove(!0);var d=v.Node.create('
    ');this.get("contentBox").appendChild(d),this.set("mapContainer",d)},refreshFromSliceContent:function(d){var g=d.get("location").toJSON();this._rebuildContent(),this._renderLocation(g)}},{SLICE_TYPE:a().MAP,CSS_PREFIX:"sqs-slice-map",ATTRS:{map:{value:null,validator:v.Squarespace.AttrValidators.isNullOrInstanceOf(s())},mapContainer:{value:null,validator:v.Squarespace.AttrValidators.isNullOrNode}},HTML_PARSER:{mapContainer:".sqs-slice-content-map"}})},"1.0",{requires:["base","squarespace-attr-validators","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},226185:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-navigation",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.Navigation=c.Base.create("Navigation",c.Squarespace.SlideRendering.Slices.Base,[c.Squarespace.SlideRendering.Slices.ClientRefresh],{refreshFromSliceContent:function(s){var l="",_=!0;s.get("links").each(function(v){var b=v.get("text");if(c.Lang.isValue(b)&&b!==""){_=!1;var d=v.get("clickthroughUrl");l+=c.Lang.sub('
  • {text}
  • ',{href:d.url,targetNode:d.newWindow?' targetNode="_blank"':"",text:c.Squarespace.Escaping.escapeForHtml(b)})}}),this.get("contentBox").one("ul").setHTML(l),this._updateContentEmptyAttribute(_)}},{SLICE_TYPE:a().NAVIGATION,CSS_PREFIX:"sqs-slice-navigation"})},"1.0",{requires:["base","squarespace-escaping-utils","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},212496:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(513614),s=e(619523),l=e(241898),_=e(528215);YUI.add("squarespace-slide-rendering-slices-newsletter",function(v){v.namespace("Squarespace.SlideRendering.Slices");var b=v.Squarespace.SlideRendering.Slices.Newsletter=v.Base.create("Newsletter",v.Squarespace.SlideRendering.Slices.Base,[v.Squarespace.SlideRendering.Slices.ClientRefresh],{initializer:function(){b.superclass.initializer.call(this),this._bindGlobalEvents()},renderUI:function(){b.superclass.renderUI.call(this),this.renderCaptcha()},bindUI:function(){b.superclass.bindUI.call(this);var d=this.get("contentBox"),g=d.one("form.newsletter-form"),h=v.Squarespace.FormSubmit(g.getDOMNode()),p=this._getEmailField(g);p.on("focus",function(){h.clearErrors()},this),g.on("submit",function(){h.clearErrors();function y(C){var O=h.createErrorNode(C);g.prepend(O),O.setAttribute("tabindex",-1),O.focus()}if(!(0,s.vV)(p.get("value")))return y((0,c.t)("Please enter a valid email address.",null,{project:"scripts-v6.slide-rendering"})),!1;var T=g.getAttribute("data-form-id");return T?(h.submit({collectionId:null,disableValidation:!0,formId:T,isOverlayForm:!0,objectName:null,submitButtonText:this._getSubmitButtonText(g)}),!1):(y((0,c.t)("Please connect your newsletter to a storage option.",null,{project:"scripts-v6.slide-rendering"})),!1)},this)},_getEmailField:function(d){return d.one('.field-element[type="text"]')},_getEmailPlaceholderText:function(d){return this._getEmailField(d).getDOMNode().getAttribute("placeholder")},_getSubmitButton:function(d){return d.one("button")},_getSubmitButtonText:function(d){return this._getSubmitButton(d).get("value")},_bindGlobalEvents:function(){v.Global.detach("refreshCaptchaFromState"),this._handleCaptchaRefresh=v.Global.after("refreshCaptchaFromState",function(d){var g=d.captchaConfig,h=this.get("contentBox"),p=h.one("div.captcha-container-wrapper");if(p){var y=p.one(".captcha-container");y&&y.remove(),g.captchaEnabled&&(p.append(v.Node.create('
    ')),this.renderCaptcha())}},this)},renderCaptcha:function(){var d=this.get("contentBox");if(d){var g=d.one(".captcha-container"),h=g&&g.getDOMNode();if(h){var p=d.one("form.newsletter-form"),y=(0,l.Z)(v.config.win);_.DU(v.config.win,y),_.bI({formEl:p.getDOMNode(),win:v.config.win})}}},destructor:function(){this._handleCaptchaRefresh&&this._handleCaptchaRefresh.detach()},refreshFromSliceContent:function(d){var g=this.get("contentBox"),h=g.one("form.newsletter-form"),p=d.get("emailPlaceholder")||(0,c.t)("Email Address",null,{project:"scripts-v6.slide-rendering"});this._getEmailField(h).getDOMNode().setAttribute("placeholder",p);var y=d.get("submitButtonText")||"";this._getSubmitButton(h).set("innerHTML",y);var T=g.one(".form-submission-text"),C=d.get("submissionMessage")||{html:""};T.set("innerHTML",C.html);var O=g.one(".form-submission-html"),x=d.get("submissionHTML");O.set("innerHTML",x);var D=g.one(".form-disclaimer-text"),k=d.get("disclaimerMessage");D.set("innerHTML",k.html)}},{SLICE_TYPE:a().NEWSLETTER,CSS_PREFIX:"sqs-slice-newsletter"})},"1.0",{requires:["base","squarespace-form-submit","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},560191:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(513614),s=e(800020);YUI.add("squarespace-slide-rendering-slices-password",function(l){l.namespace("Squarespace.SlideRendering.Slices");var _=l.Squarespace.SlideRendering.Slices.Password=l.Base.create("Password",l.Squarespace.SlideRendering.Slices.Base,[],{renderUI:function(){l.UA.ios&&l.UA.safari||this.get("contentBox").one('input[type="password"]').focus()},bindUI:function(){_.superclass.bindUI.call(this);var v=this.get("contentBox"),b=v.one('input[type="password"]'),d=v.one(".password-form");b.after("valuechange",function(){this._hideErrorMessage()},this),d.on("submit",function(g){g.preventDefault(),this._hideErrorMessage(),this._authenticate()},this)},_authenticate:function(){if((0,s.F)(l)){this._showErrorMessage((0,c.t)("Log out to test.",null,{project:"scripts-v6.slide-rendering"}));return}var v=this.get("contentBox").one('input[type="password"]'),b=l.one("body").get("id"),d=l.Squarespace.API_ROOT+"auth/visitor",g={password:v.get("value")};b.indexOf("collection-")!==-1?(d+="/collection",g.collectionId=b.split("collection-")[1]):d+="/site",l.Data.post({headers:{"Content-Type":"application/json"},url:d,data:l.JSON.stringify(g),success:function(){window.location.reload(!0)},failure:function(){this._showErrorMessage((0,c.t)("Please try again.",null,{project:"scripts-v6.slide-rendering"})),this.get("contentBox").one('input[type="password"]').focus()}},this)},_showErrorMessage:function(v){var b=this.get("contentBox");b.one(".error-message").setHTML(v),b.addClass("show-error")},_hideErrorMessage:function(){this.get("contentBox").removeClass("show-error")}},{SLICE_TYPE:a().PASSWORD,CSS_PREFIX:"sqs-slice-password"})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base","squarespace-util"]})},428296:function(m,E,e){"use strict";var n=e(825473),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-rgb",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.RGB=c.Base.create("RGB",c.Base,[],{getBrightness:function(){var s=this.get("color");return .2126*s.r+.7152*s.g+.0722*s.b},add:function(s){var l=this.get("color"),_=s.get("color");l.r+=_.r,l.g+=_.g,l.b+=_.b},darken:function(s){this.divide((100+s)/100)},divide:function(s){var l=this.get("color");l.r/=s,l.g/=s,l.b/=s,this._validate()},toString:function(){var s=this.get("color");return"rgb("+s.r+","+s.g+","+s.b+")"},_validate:function(){var s=this.get("color");c.Object.keys(s).forEach(function(l){s[l]=Math.round(Math.min(Math.max(0,s[l]),255))})},_fromHex:function(s){var l=a()(s,"rgb");return{r:l.red,g:l.green,b:l.blue}}},{ATTRS:{color:{value:{r:0,g:0,b:0},setter:function(s){return c.Lang.isString(s)&&(s[0]!=="#"&&(s="#"+s),s=this._fromHex(s)),s}}}})},"1.0",{requires:["base"]})},905906:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-social-icons",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.SocialIcons=c.Base.create("SocialIcons",c.Squarespace.SlideRendering.Slices.Base,[],{},{SLICE_TYPE:a().SOCIAL_ICONS,CSS_PREFIX:"sqs-slice-social-icons"})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base"]})},395979:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-sso",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.SsoOptions=c.Base.create("SsoOptions",c.Squarespace.SlideRendering.Slices.Base,[c.Squarespace.SlideRendering.Slices.ClientRefresh],{},{SLICE_TYPE:a().SSO_OPTIONS,CSS_PREFIX:"sqs-slice-sso"})},"1.0",{requires:["base","squarespace-escaping-utils","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},723002:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-sub-heading",function(c){c.namespace("Squarespace.SlideRendering.Slices"),c.Squarespace.SlideRendering.Slices.SubHeading=c.Base.create("SubHeading",c.Squarespace.SlideRendering.Slices.Base,[c.Squarespace.SlideRendering.Slices.ClientRefresh],{refreshFromSliceContent:function(s){this.get("contentBox").one("h2").setHTML(s.get("text"))}},{SLICE_TYPE:a().SUB_HEADING,CSS_PREFIX:"sqs-slice-sub-heading"})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh"]})},918355:function(m,E,e){"use strict";var n=e(39811),a=e.n(n),c=e(359671),s=e.n(c);YUI.add("squarespace-slide-rendering-slices-twitter",function(l){l.namespace("Squarespace.SlideRendering.Slices"),l.Squarespace.SlideRendering.Slices.Twitter=l.Base.create("Twitter",l.Squarespace.SlideRendering.Slices.Base,[],{initializer:function(){var _=this.get("boundingBox"),v=_.all(".sqs-tweet");if(v.size()>0){v.each(function(d){d.all(".tweet-body a").each(function(g){g.setAttribute("target","_blank")})});var b=_.one(".sqs-tweets-container").getDOMNode();this._tweetGallery=new(s())(b,"sqs-tweet",l.config.win)}},destructor:function(){this._tweetGallery&&this._tweetGallery.destroy()}},{SLICE_TYPE:a().TWITTER,CSS_PREFIX:"sqs-slice-twitter",ATTRS:{}})},"1.0",{requires:["base","squarespace-slide-rendering-slices-base","squarespace-util"]})},725519:function(m,E,e){"use strict";var n=e(39811),a=e.n(n);YUI.add("squarespace-slide-rendering-slices-video",function(c){c.namespace("Squarespace.SlideRendering.Slices");var s=c.Squarespace.SlideRendering.Slices.Video=c.Base.create("Video",c.Squarespace.SlideRendering.Slices.Base,[c.Squarespace.SlideRendering.Slices.ClientRefresh],{destructor:function(){this._lightbox&&(this._lightbox.destroy(),delete this._lightbox)},bindUI:function(){s.superclass.bindUI.call(this),this.get("contentBox").one(".sqs-slice-play-button").on("click",function(){this._openVideo(),this._lightbox._overlay.once("hide",function(l){c.Global.fire("lightbox-hidden")},this)},this)},refreshFromSliceContent:function(l){var _=l.get("contentItem"),v=_.get("structuredContent"),b=v.get("oembed"),d=this.get("contentBox").one(".sqs-video-wrapper");if(c.Lang.isValue(d)&&d.remove(!0),c.Lang.isValue(b)&&c.Lang.isValue(b.html)&&b.html!==""){var g=b.html,h=b.providerName||"",p=this.get("contentBox"),y=p.one(".sqs-slice-play-button"),T=c.Squarespace.Escaping.escapeForHtmlTag(g);p.insertBefore('
    ',y)}},_openVideo:function(){var l=this.get("contentBox").one(".sqs-video-wrapper");c.Lang.isValue(l)&&(this._lightbox&&(this._lightbox.destroy(),delete this._lightbox),this._lightbox=new c.Squarespace.Lightbox2({controls:{previous:!1,next:!1},set:[{content:l}],currentSetIndex:0,videoLoaderOptions:{forceAutoplay:!0}}),this._lightbox.render())}},{SLICE_TYPE:a().VIDEO,CSS_PREFIX:"sqs-slice-video"})},"1.0",{requires:["base","squarespace-attr-validators","squarespace-escaping-utils","squarespace-modal-lightbox","squarespace-slide-rendering-slices-base","squarespace-slide-rendering-slices-client-refresh","squarespace-video-loader"]})},961811:function(){YUI.add("squarespace-ss-widget",function(m){m.namespace("Squarespace.Widgets");var E=m.Squarespace.Widgets.SSWidget=m.Squarespace.SSWidget=m.Base.create("ssWidget",m.Widget,[],{delegatedEvents:{},initializer:function(e){this.LOG=new m.Squarespace.Debugger({name:this.name,output:!1}),this._anims=new m.Squarespace.Anims,this.on("classNameChange",function(n){var a=this.get("boundingBox");a&&a.removeClass(n.prevVal).addClass(n.newVal)},this),this._events=[],this._timers=[]},destroy:function(e){if(!m.Lang.isBoolean(e)&&!this.get("destroyed")){var n=this.get("boundingBox"),a=this.get("contentBox");n&&n._node&&a&&a._node?e=!0:this.LOG.error("This widget's elements was improperly cleaned up!")}E.superclass.destroy.call(this,e)},destructor:function(){for(this._anims.destroy(),m.detach(this.get("id")+"|*"),this.detach(this.get("id")+"|*");this._events.length!==0;)this._events.shift().detach();for(;this._timers.length!==0;)this._timers.shift().cancel();this._anims=null,this._timers=[],this._events=[],this.LOG=null},_registerEvent:function(){if(m.Lang.isArray(arguments[0]))this._registerEvent.apply(this,arguments[0]);else for(var e=0,n=arguments.length;eD.topLeftAverage&&D.topRightAverage&&D.bottomLeftAverage&&D.bottomRightAverage&&D.centerAverage?' data-color-topleft="#'.concat(D.topLeftAverage,`" data-color-topright="#`).concat(D.topRightAverage,`" data-color-bottomleft="#`).concat(D.bottomLeftAverage,`" data-color-bottomright="#`).concat(D.bottomRightAverage,`" data-color-center="#`).concat(D.centerAverage,'" '):"",C=D=>D.replace(/<(?:.|\n)*?>/gm,""),O=function(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return D.title&&D.title.length>0?D.title:D.body&&D.body.length>0?C(D.body):D.filename&&D.filename.length>0?D.filename:""},x={};x.video=D=>({name:"video",func:function(L,P,I){var V=L.oembed||{},j=L.assetUrl,N=L.colorData,B=L.mediaFocalPoint,W=!1,X=!1;if(I)for(var ne=0;ne');if(L.overlay){var Ne='
    ',Ne+='"):Ne+=' no-thumb" style="opacity: 0;">',Ne+='
    ',Ne+="
    ",Te+=Ne}return Te+="
    ",Te}}),YUI.add("squarespace-template-helpers",function(D){var k={get:function(K,q){return typeof K.get=="function"?K.get(q):K[q]}},L={html:D.Squarespace.Escaping.escapeForHtml,htmltag:D.Squarespace.Escaping.escapeForHtmlTag,htmlattr:D.Squarespace.Escaping.escapeForHtmlTag,str:function(K){if(K===null||typeof K=="undefined")return"";try{return K.toString()}catch(q){return"[JSONT: Can't format variable as string (typeof: "+typeof K+").]"}},raw:function(K){return K},capitalize:function(K){return K.toUpperCase()},safe:function(K){return K?K.replace(/<.*?>/g,""):""},json:function(K){return D.JSON.stringify(K).replace(/<\/script>/g,'')},"json-pretty":function(K){return D.JSON.stringify(K,null,2).replace(/<\/script>/g,'')},smartypants:function(K){return K=K.replace(/(^|[-\u2014\s(\["])'/g,"$1\u2018"),K=K.replace(/'/g,"\u2019"),K=K.replace(/(^|[-\u2014/\[(\u2018\s])"/g,"$1\u201C"),K=K.replace(/"/g,"\u201D"),K=K.replace(/--/g,"\u2014"),K},slugify:function(K){return K?K.replace(/[^\-a-zA-Z0-9\s]+/ig,"").replace(/\s/g,"-").toLowerCase():""},"url-encode":function(K){return encodeURIComponent(K)},"activate-twitter-links":function(K){var q=/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,te=/(^| )@([a-zA-Z0-9_]+)/ig,Z=/(^| )#([a-zA-Z0-9_]+)/ig;return K.replace(q,'$1').replace(te,'$1@$2').replace(Z,function(ae){return''+ae+""})},count:function(q){var te=q.length;if(!D.Lang.isValue(te)&&typeof q=="object"){te=0;for(var Z in q)Object.prototype.hasOwnProperty.call(q,Z)&&te++}return te||0},"audio-player":function(K){return`