(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([[68592,10054,22125,72906,91101,94154,2361],{149406:function(y,c,e){"use strict";var o=e(875832),n=e(473234);Object.defineProperty(c,"__esModule",{value:!0}),c.default=s;var i=n(e(919436)),t=n(e(928937)),r=o(e(579085));function s(d,v,u,a,l){var p=t.uid(d._actionsRegistry,"".concat(v,".").concat(u));d._actionsRegistry[p]=1;var h={id:p,namespace:v,name:u},g=function(A){return d.dispatch(p,A,h)},m=function(){for(var A=arguments.length,x=new Array(A),T=0;T1?r-1:0),d=1;d0&&arguments[0]!==void 0?arguments[0]:{};(0,d.default)(this,O),this.config=A,this.serialize=A.serialize||JSON.stringify,this.deserialize=A.deserialize||JSON.parse,this.dispatcher=A.dispatcher||new u.Dispatcher,this.batchingFunction=A.batchingFunction||function(x){return x()},this.actions={global:{}},this.stores={},this.storeTransforms=A.storeTransforms||[],this.trapAsync=!1,this._actionsRegistry={},this._initSnapshot={},this._lastSnapshot={}}return(0,v.default)(O,[{key:"dispatch",value:function(x,T,R){var N=this;this.batchingFunction(function(){var B=Math.random().toString(18).substr(2,16);if(x.hasOwnProperty("type")&&x.hasOwnProperty("payload")){var z={id:x.type,namespace:x.type,name:x.type};return N.dispatcher.dispatch(h.fsa(B,x.type,x.payload,z))}return x.id&&x.dispatch?h.dispatch(B,x,T,N):N.dispatcher.dispatch(h.fsa(B,x,T,R))})}},{key:"createUnsavedStore",value:function(x){var T=x.displayName||"";p.createStoreConfig(this.config,x);for(var R=p.transformStore(this.storeTransforms,x),N=arguments.length,B=new Array(N>1?N-1:0),z=1;z2?B-2:0),K=2;K1&&arguments[1]!==void 0?arguments[1]:{},N={},B=h.uid(this._actionsRegistry,x.displayName||x.name||"Unknown");if(l.isFunction(x)){l.assign(N,h.getPrototypeChain(x));for(var z=function(V){(0,t.default)(H,V);var W=m(H);function H(){(0,d.default)(this,H);for(var k=arguments.length,J=new Array(k),ae=0;ae2?K-2:0),ie=2;ie2?R-2:0),B=2;B2?R-2:0),B=2;B0}})},exportPublicMethods:function(v){var u=this;t.eachObject(function(a,l){if(!t.isFunction(l))throw new TypeError("exportPublicMethods expects a function");u.publicMethods[a]=l},[v])},emitChange:function(){this.getInstance().emitChange()},on:function(v,u){v==="error"&&(this.handlesOwnErrors=!0);var a=this.lifecycleEvents[v]||(0,i.default)();return this.lifecycleEvents[v]=a,a.subscribe(u.bind(this))},bindAction:function(v,u){if(!v)throw new ReferenceError("Invalid action reference passed in");if(!t.isFunction(u))throw new TypeError("bindAction expects a function");var a=v.id?v.id:v;this.actionListeners[a]=this.actionListeners[a]||[],this.actionListeners[a].push(u.bind(this)),this.boundListeners.push(a)},bindActions:function(v){var u=this;t.eachObject(function(a,l){var p=/./,h=a.replace(p,function(m){return"on".concat(m[0].toUpperCase())});if(u[a]&&u[h])throw new ReferenceError("You have multiple action handlers bound to an action: "+"".concat(a," and ").concat(h));var g=u[a]||u[h];g&&u.bindAction(l,g)},[v])},bindListeners:function(v){var u=this;t.eachObject(function(a,l){var p=u[a];if(!p)throw new ReferenceError("".concat(a," defined but does not exist in ").concat(u.displayName));Array.isArray(l)?l.forEach(function(h){u.bindAction(h,p)}):u.bindAction(l,p)},[v])}},s=r;c.default=s,y.exports=c.default},826982:function(y,c,e){"use strict";var o=e(473234),n=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.createStoreConfig=S,c.transformStore=_,c.createStoreFromObject=C,c.createStoreFromClass=O;var i=n(e(449883)),t=n(e(858240)),r=n(e(721854)),s=n(e(699467)),d=n(e(506051)),v=o(e(928937)),u=o(e(919436)),a=n(e(992757)),l=n(e(845505));function p(A){var x=h();return function(){var R=(0,d.default)(A),N;if(x){var B=(0,d.default)(this).constructor;N=Reflect.construct(R,arguments,B)}else N=R.apply(this,arguments);return(0,s.default)(this,N)}}function h(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(A){return!1}}function g(A,x,T){if(T){var R=x.StoreModel.config,N=u.isFunction(T)?T(x.state):T;x.state=R.setState.call(A,x.state,N),A.alt.dispatcher.isDispatching()||A.emitChange()}}function m(A,x,T,R){return u.assign(A,l.default,{displayName:T,alt:x,dispatcher:x.dispatcher,preventDefault:function(){this.getInstance().preventDefault=!0},boundListeners:[],lifecycleEvents:{},actionListeners:{},publicMethods:{},handlesOwnErrors:!1},R)}function S(A,x){x.config=u.assign({getState:function(R){return Array.isArray(R)?R.slice():u.isMutableObject(R)?u.assign({},R):R},setState:function(R,N){return u.isMutableObject(N)?u.assign(R,N):N}},A,x.config)}function _(A,x){return A.reduce(function(T,R){return R(T)},x)}function C(A,x,T){var R=null,N=m({},A,T,u.assign({getInstance:function(){return R},setState:function(z){g(this,R,z)}},x));return N.bindListeners&&l.default.bindListeners.call(N,N.bindListeners),N.observe&&l.default.bindListeners.call(N,N.observe(A)),N.lifecycle&&u.eachObject(function(B,z){l.default.on.call(N,B,z)},[N.lifecycle]),R=u.assign(new a.default(A,N,N.state!==void 0?N.state:{},x),N.publicMethods,{displayName:T,config:x.config}),R}function O(A,x,T){var R=null,N=x.config,B=function(V){(0,r.default)(H,V);var W=p(H);function H(){(0,t.default)(this,H);for(var k=arguments.length,J=new Array(k),ae=0;ae3?z-3:0),$=3;$1&&arguments[1]!==void 0?arguments[1]:{};return C.prototype===void 0?O:a(Object.getPrototypeOf(C),t.assign(u(C,!0),O))}function l(C){typeof console!="undefined"&&console.warn(new ReferenceError(C))}function p(C,O){for(var A=0,x=O;Object.hasOwnProperty.call(C,x);)x=O+String(++A);return x}function h(C){return C.replace(/[a-z]([A-Z])/g,function(O){return"".concat(O[0],"_").concat(O[1].toLowerCase())}).toUpperCase()}function g(C){if(C===void 0)return null;for(var O=arguments.length,A=new Array(O>1?O-1:0),x=1;x1&&arguments[1]!==void 0?arguments[1]:[],u=v.length?v:Object.keys(d.stores);return u.reduce(function(a,l){var p=l.displayName||l,h=d.stores[p],g=h.StoreModel.config;h.lifecycle("snapshot");var m=g.onSerialize&&g.onSerialize(h.state);return a[p]=m||h.getState(),a},{})}function r(d,v){var u=d.deserialize(d.serialize(d.stores[v].state));d._initSnapshot[v]=u,d._lastSnapshot[v]=u}function s(d,v,u){return u.reduce(function(a,l){var p=l.displayName||l;if(!v[p])throw new ReferenceError("".concat(p," is not a valid store"));return a[p]=v[p],a},{})}},69037:function(y,c,e){var o=e(791484),n=e(578174),i={};for(var t in o)o.hasOwnProperty(t)&&(i[o[t]]=t);var r=y.exports={to:{}};r.get=function(v){var u=v.substring(0,3).toLowerCase(),a,l;switch(u){case"hsl":a=r.get.hsl(v),l="hsl";break;case"hwb":a=r.get.hwb(v),l="hwb";break;default:a=r.get.rgb(v),l="rgb";break}return a?{model:l,value:a}:null},r.get.rgb=function(v){if(!v)return null;var u=/^#([a-fA-F0-9]{3})$/,a=/^#([a-fA-F0-9]{6})$/,l=/^(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*)?\)$/,h=/(\D+)/,g=[0,0,0,1],m,S,_;if(m=v.match(u))for(m=m[1],S=0;S<3;S++)g[S]=parseInt(m[S]+m[S],16);else if(m=v.match(a))for(m=m[1],S=0;S<3;S++){var C=S*2;g[S]=parseInt(m.slice(C,C+2),16)}else if(m=v.match(l)){if(_=m[5],_&&m[1]==="rgb"||!_&&m[1]==="rgba")return null;for(S=0;S<3;S++)g[S]=parseInt(m[S+2],0);_&&(g[3]=parseFloat(_))}else if(m=v.match(p)){if(_=m[5],_&&m[1]==="rgb"||!_&&m[1]==="rgba")return null;for(S=0;S<3;S++)g[S]=Math.round(parseFloat(m[S+2])*2.55);_&&(g[3]=parseFloat(_))}else return(m=v.match(h))?m[1]==="transparent"?[0,0,0,0]:(g=o[m[1]],g?(g[3]=1,g):null):null;for(S=0;S=4&&v[3]!==1&&(u=", "+v[3]),"hwb("+v[0]+", "+v[1]+"%, "+v[2]+"%"+u+")"},r.to.keyword=function(v){return i[v.slice(0,3)]};function s(v,u,a){return Math.min(Math.max(u,v),a)}function d(v){var u=v.toString(16).toUpperCase();return u.length<2?"0"+u:u}},914140:function(y,c,e){"use strict";e.d(c,{Z:function(){return z}});var o=e(640571),n=e.n(o),i=e(761217),t=e.n(i),r=e(756573),s=(0,r.getI18nInstance)(),d=new(n())(s),v=new(t())(s),u=d.T,a=d.Plural,l=d.FormattedCurrency,p=d.FormattedNumber,h=d.FormattedDateTime,g=d.RelativeTime,m=s.formatNumber,S=s.formatCurrency,_=s.formatCurrencyToParts,C=s.getCurrencySymbol,O=s.formatQuantity,A=s.formatDateTime,x=s.formatRelativeTime,T=s.translate,R=s.pluralize,N=v.formatIcuMessage,B={EUR:{code:"EUR",currencyName:T("Euro",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:978},USD:{code:"USD",currencyName:T("US Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:840},AUD:{code:"AUD",currencyName:T("Australian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:36},NOK:{code:"NOK",currencyName:T("Norwegian Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:578},CAD:{code:"CAD",currencyName:T("Canadian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:124},NZD:{code:"NZD",currencyName:T("New Zealand Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:554},DKK:{code:"DKK",currencyName:T("Danish Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:208},GBP:{code:"GBP",currencyName:T("Pound Sterling",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:826},HKD:{code:"HKD",currencyName:T("Hong Kong Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:344},CHF:{code:"CHF",currencyName:T("Swiss Franc",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:756},MXN:{code:"MXN",currencyName:T("Mexican Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:484},SGD:{code:"SGD",currencyName:T("SingaporeDollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:702},SEK:{code:"SEK",currencyName:T("Swedish Krona",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:752},CZK:{code:"CZK",currencyName:T("Czech Koruna",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:203},ILS:{code:"ILS",currencyName:T("Israeli New Shegel",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:376},PHP:{code:"PHP",currencyName:T("Philippine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:608},RUB:{code:"RUB",currencyName:T("Russian Ruble",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:643},PLN:{code:"PLN",currencyName:T("Polish Zloty",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:616},THB:{code:"THB",currencyName:T("Thai Baht",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:764},MYR:{code:"MYR",currencyName:T("Malaysian Ringgit",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:458},ARS:{code:"ARS",currencyName:T("Argentine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:32},BRL:{code:"BRL",currencyName:T("Brazilian Real",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:986},COP:{code:"COP",currencyName:T("Colombian Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:170},IDR:{code:"IDR",currencyName:T("Indonesian Rupiah",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:360},INR:{code:"INR",currencyName:T("Indian Rupee",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:356},JPY:{code:"JPY",currencyName:T("Yen",null,{project:"libs.Currency"}),fractionDigits:0,numericCode:392},ZAR:{code:"ZAR",currencyName:T("South African Rand",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:710}},z=B},92218:function(y,c,e){"use strict";e.d(c,{AM:function(){return d},Ft:function(){return i},Gw:function(){return t},I8:function(){return s},hU:function(){return r}});var o=e(392338),n=e.n(o);function i(v){var u=v.currencyCode,a=v.sign,l=v.value;return"".concat(a).concat(l," ").concat(u).trim()}function t(v){var u=v.sign,a=v.symbol,l=v.value;return"".concat(u).concat(a).concat(l).trim()}function r(v){var u=v.sign,a=v.symbol,l=v.value;return"".concat(u).concat(a," ").concat(l).trim()}function s(v){var u=v.currencyCode,a=v.sign,l=v.symbol,p=v.value;return"".concat(a).concat(l).concat(p," ").concat(u).trim()}function d(v){var u=v.sign,a=v.symbol,l=v.value;return"".concat(u).concat(l," ").concat(a).trim()}},756573:function(y,c,e){"use strict";e.r(c),e.d(c,{getI18nInstance:function(){return r},setI18nInstance:function(){return s}});var o=e(308938),n="libs.Currency";function i(d){return e(85059)("./".concat(n,".").concat(d,".yaml"))}var t=(0,o.setupLibrary)(n,i),r=t.getI18nInstance,s=t.setI18nInstance},772906:function(y,c,e){"use strict";e.r(c),e.d(c,{CurrencyTemplates:function(){return d.F},DEFAULT_CURRENCY_TEMPLATE:function(){return s.T},MoneyFormatter:function(){return o.default},createTemplate:function(){return s.M},default:function(){return v.Z},fromCents:function(){return r},getFractionDigits:function(){return n.Z}});var o=e(351008),n=e(46566),i=e(598035),t=e.n(i);function r(u,a){var l=(0,n.Z)(a),p=parseFloat(u)/Math.pow(10,l);return new(t())(p,a)}var s=e(480424),d=e(636078),v=e(914140)},351008:function(y,c,e){"use strict";e.r(c),e.d(c,{default:function(){return R}});var o=e(392338),n=e(346797),i=e.n(n),t=e(858240),r=e.n(t),s=e(4636),d=e.n(s),v=e(805187),u=e(792495),a=e.n(u),l=e(480424),p=e(636078),h=/^(\d+)(\d{3})/;function g(N){for(var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";N.match(h);)N=N.replace(h,"$1".concat(B,"$2"));return N}var m=e(691059),S=e.n(m),_=e(46566);function C(N,B,z){return z.trimCents&&S()(N)?0:(0,_.Z)(B)}function O(N){var B=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return N.replace(".",B)}function A(N,B){var z=Object.keys(N);if(Object.getOwnPropertySymbols){var K=Object.getOwnPropertySymbols(N);B&&(K=K.filter(function($){return Object.getOwnPropertyDescriptor(N,$).enumerable})),z.push.apply(z,K)}return z}function x(N){for(var B=1;B1&&arguments[1]!==void 0?arguments[1]:p.F,K=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;r()(this,N),this.templates=z[B]||{},K&&N.enableDebugging(),this.locale=B}return d()(N,[{key:"format",value:function(z){var K=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};K=x(x({},T),K);var $=N.debug?"\uD83D\uDCB0":"",ie=z.toFloat(),V=Math.abs(ie),W=ie<0?"-":"",H=z.currencyCode,k=x(x({},l.T),this.templates[H]),J=C(ie,H,K),ae=String(a()(V,J).toFixed(J));ae=O(ae,k.decimalSeparator),K.useGrouping&&(ae=g(ae,k.thousandsSeparator));var ne=k.symbol;if(K.symbolOnly)return ne;var X=k.formatter,re=K.valueOnly?X({symbol:"",value:ae,currencyCode:"",sign:W}):X({symbol:ne,value:ae,currencyCode:H,sign:W});return $+re+$}}],[{key:"enableDebugging",value:function(){N.debug=!0}},{key:"disableDebugging",value:function(){N.debug=!1}}]),N}()},636078:function(y,c,e){"use strict";e.d(c,{F:function(){return t}});var o=e(346797),n=e.n(o),i=e(92218),t=n()({"en-US":{AUD:{symbol:"A$",formatter:i.Gw},CAD:{symbol:"CA$",formatter:i.Gw},EUR:{symbol:"\u20AC",formatter:i.Gw},GBP:{symbol:"\xA3",formatter:i.Gw},HKD:{symbol:"HK$",formatter:i.Gw},USD:{symbol:"$",formatter:i.Gw}},native:{ARS:{symbol:"$",formatter:i.I8},AUD:{symbol:"$",formatter:i.I8},BRL:{symbol:"R$",formatter:i.Gw},CAD:{symbol:"$",formatter:i.I8},CHF:{symbol:"CHF",formatter:i.Gw},COP:{symbol:"COL$",formatter:i.Gw},DKK:{symbol:"kr",formatter:i.AM},EUR:{symbol:"\u20AC",formatter:i.Gw},GBP:{symbol:"\xA3",formatter:i.Gw},HKD:{symbol:"HK$",formatter:i.Gw},MXN:{symbol:"$",formatter:i.Gw},NOK:{symbol:"kr",formatter:i.AM},NZD:{symbol:"$",formatter:i.Gw},SEK:{symbol:"kr",formatter:i.AM},SGD:{symbol:"S$",formatter:i.Gw},USD:{symbol:"$",formatter:i.Gw},CZK:{symbol:"K\u010D",formatter:i.AM},IDR:{symbol:"Rp",formatter:i.Gw},ILS:{symbol:"\u20AA",formatter:i.hU},INR:{symbol:"\u20B9",formatter:i.Gw},JPY:{symbol:"\xA5",formatter:i.Gw},PHP:{symbol:"Php",formatter:i.Gw},RUB:{symbol:"p.",formatter:i.AM},PLN:{symbol:"z\u0142",formatter:i.AM},THB:{symbol:"\u0E3F",formatter:i.Gw},MYR:{symbol:"RM",formatter:i.Gw},ZAR:{symbol:"R",formatter:i.Gw}}},"__test__",{AAA:{symbol:"$",decimalSeparator:",",thousandsSeparator:"."}})},480424:function(y,c,e){"use strict";e.d(c,{M:function(){return p},T:function(){return l}});var o=e(392338),n=e.n(o),i=e(346797),t=e.n(i),r=e(461761),s=e.n(r),d=e(92218),v=e(636078);function u(h,g){var m=Object.keys(h);if(Object.getOwnPropertySymbols){var S=Object.getOwnPropertySymbols(h);g&&(S=S.filter(function(_){return Object.getOwnPropertyDescriptor(h,_).enumerable})),m.push.apply(m,S)}return m}function a(h){for(var g=1;gv&&(h.stack=h.stack.substring(0,v)+"\n [STACK TRACE TRUNCATED]"),g.url=window.location.href||"",g.userAgent=window.navigator.userAgent;try{t.push({event:p,data:JSON.stringify(Object.assign(g,h)),timestamp:Date.now()})}catch(S){console.warn("Could not push error: ".concat(S))}this.debouncedSend()}},hasExceededMaxReporting:function(){return r>=s||t.length>=d},getStack:function(){var p=new Error;return p.stack||""},wrapAppErrorCallback:function(p){return function(){if(!p)return{};try{return p()}catch(h){return{errorInCallback:!0}}}},debouncedSend:n(u,1e3)};y.exports={bindUncaughtErrorReporter:function(p,h){p||(console.error("Error Reporter Missing App Name configuration",a.getStack()),p="unknown");var g=a.wrapAppErrorCallback(h);window.onerror&&(window.onerror=null),window.onerror=a.trackUncaughtError.bind(a,p,g)},trackCaughtError:function(p,h){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:a.getStack();a.enqueueError("interface_error_"+p,{app:p,message:h,stack:g})}}},391011:function(){YUI.add("@sqs/layout-engine/aspect-ratio-manager",function(y){var c=y.Base.create("AspectRatioManager",y.Base,[],{initializeBlock:function(e,o){var n=o;y.Lang.isObject(n)&&(n=n.aspectRatio),y.Lang.isValue(n)&&(e.addClass("sqs-intrinsic"),e.setStyle("paddingBottom",n+"%"),e.one("> div")&&e.one("> div").addClass("sqs-intrinsic-content"))},destroyBlock:function(e){var o=e.one(".sqs-intrinsic");o&&(o.removeClass("sqs-intrinsic"),o.setStyle("padding-bottom",null),o.one(".sqs-intrinsic-content")&&o.one(".sqs-intrinsic-content").removeClass("sqs-intrinsic-content"))},initAllBlocks:function(){var e=y.all(".sqs-block[data-aspect-ratio]:not(.sqs-block-image)");e.each(function(o){y.SQS.LayoutEngine.AspectRatioManager.initializeBlock(o.one(".sqs-block-content"),y.JSON.parse(o.getAttribute("data-aspect-ratio")))},this)}});y.namespace("SQS.LayoutEngine"),y.SQS.LayoutEngine.AspectRatioManager=new c,y.config.win.Squarespace&&y.config.win.Squarespace.onInitialize&&y.config.win.Squarespace.onInitialize(y,y.SQS.LayoutEngine.AspectRatioManager.initAllBlocks)},"1.0",{requires:["base"]})},29318:function(){YUI.add("squarespace-anim-raf",function(y){var c=y.config.win,e=c.requestAnimationFrame,o=c.cancelAnimationFrame||c.cancelRequestAnimationFrame,n=["moz","webkit"],i;for(i=0;i'),v=t.ancestor(".expandable-plugin-wrapper"),v.setStyles({overflow:"hidden",height:t.get("offsetHeight")}),this._closeWrapper=v,d=new y.Anim({node:v,to:{height:0},easing:r,duration:s}),d.on("end",function(){t.inDoc()&&(t.setStyles({height:0,overflow:"hidden",display:"none"}),t.unwrap(),t.addClass("expandable-hidden")),this._running=!1,t.fire("closed")},this),this._closeAnim=d,d.run()),new y.Do.Prevent("Expandable prevented default hide.")},_hardClose:function(){var i=this.get("host");i.setStyles({height:0,overflow:"hidden",display:"none"}),i.addClass("expandable-hidden"),i.fire("closed")},_hardOpen:function(){var i=this.get("host");i.setStyles({height:null,display:null}),i.removeClass("expandable-hidden"),i.fire("opened")},open:function(i){var t=this.get("host"),r=this.get("easing"),s=this.get("duration"),d,v,u,a;return i=t.inDoc()?i:!0,t.fire("open"),i?this._hardOpen():this._running||(this._running=!0,t.getComputedStyle("display")==="none"&&t.setStyle("display",null),u=t.cloneNode(!0),u.setStyles({height:"auto",visibility:"hidden",display:null,position:"absolute",width:t.get("offsetWidth")}),t.insert(u,"before"),v=u.get("offsetHeight")+parseInt(u.getComputedStyle("marginTop"),10)+parseInt(u.getComputedStyle("marginBottom"),10),u.remove(!0),t.wrap('
'),a=t.ancestor(".expandable-plugin-wrapper"),a.setStyles({overflow:"hidden",height:0}),t.setStyles({height:null,overflow:null}),this._openWrapper=a,d=new y.Anim({node:a,to:{height:v},easing:r,duration:s}),d.on("end",function(){var l=this.get("host");l&&(this._running=!1,l.unwrap(),l.removeClass("expandable-hidden"),l.fire("opened"))},this),this._openAnim=d,d.run()),new y.Do.Prevent("Expandable prevented default show.")},destructor:function(){this._closeWrapper&&this._closeWrapper.remove(!0),this._openWrapper&&this._openWrapper.remove(!0),this._openAnim&&this._openAnim.stop().destroy(),this._closeAnim&&this._closeAnim.stop().destroy()}},{NS:"expandablePlugin",ATTRS:{duration:{value:.3,validator:y.Lang.isNumber},easing:{value:y.Easing.easeOutStrong}}}),y.Squarespace.Animations.Fadeable=y.Base.create("fadeable",y.Plugin.Base,[],{initializer:function(i){this.beforeHostMethod("show",this.show),this.beforeHostMethod("hide",this.hide),this.get("host").addClass(this.name+e),this._onlyUseOpacity=i.onlyUseOpacity===void 0?!1:i.onlyUseOpacity,this._running=!1},destructor:function(){this._anim&&this._anim.stop().destroy(),this.get("host").removeClass(this.name+e)},show:function(i){return this._changeVisibility(!0,i)},hide:function(i){return this._changeVisibility(!1,i)},_changeVisibility:function(i,t){var r=this.get("host");return t=r.inDoc()?t:!0,i&&r.removeClass(c+"hidden"),t?this._hardChangeVisibility(i):(this._anim&&(this._anim.stop().destroy(),this._anim=null),i&&r.getComputedStyle("display")==="none"&&r.setStyle("display",null),this._anim=new y.Anim({node:r,to:{opacity:i?this.get("opacity"):0},easing:this.get("easing"),duration:this.get("duration")}),this._anim.onceAfter("end",function(){this._hardChangeVisibility(i),this._running=!1,!i&&!this._onlyUseOpacity&&r.getDOMNode()&&r.setStyle("display","none"),r.fire(i?"shown":"hidden"),delete this._anim},this),this._anim.run()),new y.Do.Prevent("Fadeable prevented default "+(i?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(i){var t=this.get("host");i||t.addClass(c+"hidden"),t.setStyles({opacity:i?this.get("opacity"):0}),this._anim=null,t.fire(i?o:n)}},{NS:"fadeablePlugin",ATTRS:{duration:{value:.3,validator:y.Lang.isNumber},easing:{value:y.Easing.easeOutStrong},opacity:{value:1}}}),y.Squarespace.Animations.Scalable=y.Base.create("scalable",y.Plugin.Base,[],{initializer:function(i){this.doBefore("show",this.show),this.doBefore("hide",this.hide),this._running=!1},show:function(i){return this._changeVisibility(!0,i)},hide:function(i){return this._changeVisibility(!1,i)},_changeVisibility:function(i,t){var r=this.get("host"),s=this.get("duration");if(this.fire(i?"show":"hide"),r.fire(i?"show":"hide"),i&&r.removeClass("sqs-scalable-hidden"),t=r.inDoc()?t:!0,t)this._hardChangeVisibility(i),i||r.addClass("sqs-scalable-hidden");else if(!this._running){this._running=!0;var d=!1,v=y.bind(function(){d||(d=!0,r.getDOMNode()&&(this._running=!1,i||r.addClass("sqs-scalable-hidden"),this.fire(i?o:n),r.fire(i?o:n)))},this);r.setStyles({transition:["opacity "+s+"s ease-out","visibility "+s+"s ease-out","transform "+s+"s ease-out"].join(", ")}),y.config.win.setTimeout(function(){r&&(i?r.setStyles({opacity:1,visibility:"visible",transform:"scale(1)"}):r.setStyles({opacity:0,visibility:"hidden",transform:"scale(0.94)"}))},1),y.config.win.setTimeout(function(){v()},1e3*s)}return new y.Do.Prevent("Scalable prevented default "+(i?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(i){var t=this.get("host"),r=!!(this.get("host").getDOMNode().style.transitionDuration||y.DOM.CUSTOM_STYLES.transitionDuration);r?t.setStyles({visibility:i?"visible":"hidden",opacity:i?1:0,transform:"scale("+(i?"1":"0.94")+")"}):t.setStyles({visibility:i?"visible":"hidden",opacity:i?1:0}),t.fire(i?o:n)}},{NS:"scalablePlugin",ATTRS:{duration:{value:.3,validator:y.Lang.isNumber},easing:{value:y.Easing.easeOutStrong},opacity:{value:1}}})},"1.0",{requires:["anim","anim-easing","base","plugin","transition"]})},147024:function(){YUI.add("squarespace-anims",function(y){y.namespace("Squarespace");function c(e){c.superclass.constructor.apply(this,arguments)}y.Squarespace.Anims=y.extend(c,y.Base,{initializer:function(){this._items=[]},destructor:function(){var e=[];this.each(function(o){e.push(o)}),y.Array.each(e,function(o){o.get("running")&&o.stop(!1),o.destroy()}),y.detach(this.get("id")+"|*")},add:function(e){if(!e.get("node"))throw new Error(this.name+": Animation doesn't specify a node");e.on(this.get("id")+"|end",function(o){this.remove(e)},this),this._items.push(e)},remove:function(e){if(y.Lang.isNumber(e))return this._items.splice(e,1);var o=this._items.indexOf(e);if(o!==-1)return this._items.splice(this._items.indexOf(e),1)}},{NAME:"anims"}),y.augment(c,y.ArrayList)},"1.0",{requires:["arraylist","base","base-build"]})},869799:function(){YUI.add("squarespace-attr-validators",function(y){y.namespace("Squarespace");function c(o,n,i,t){if(0)var r}var e=y.Squarespace.AttrValidators={isBoolean:function(o,n){return y.Lang.isBoolean(o)?!0:(c.call(this,"boolean",o,n),!1)},isNumber:function(o,n){return y.Lang.isNumber(o)?!0:(c.call(this,"number",o,n),!1)},isString:function(o,n){return y.Lang.isString(o)?!0:(c.call(this,"string",o,n),!1)},isNonArrayObject:function(o,n){return y.Lang.isArray(o)?(c.call(this,"Array",o,n,"[{attrName}] Validation Error: Expected {expectedVal}, got Array instead."),!1):y.Lang.isObject(o)?!0:(c.call(this,"Object",o,n),!1)},isObject:function(o,n){return y.Lang.isObject(o)?!0:(c.call(this,"Object",o,n),!1)},isArray:function(o,n){return y.Lang.isArray(o)?!0:(c.call(this,"Array",o,n),!1)},isFunction:function(o,n){return y.Lang.isFunction(o)?!0:(c.call(this,"Function",o,n),!1)},isNode:function(o,n){return y.instanceOf(o,y.Node)?!0:(c.call(this,"Node",o,n),!1)},isNodeList:function(o,n){return y.instanceOf(o,y.NodeList)?!0:(c.call(this,"NodeList",o,n),!1)},isNullOr:function(o){return y.Lang.isFunction(o)?function(n,i){return y.Lang.isNull(n)?!0:o(n,i)}:(console.error("The validator function argument is required."),!1)},isInstanceOf:function(o){return o?y.Lang.isString(o)?(o=o.split("."),function(n,i){return n instanceof y.Squarespace.Damask.ContextGlobals.fromTop(o)||n instanceof y.Squarespace.Damask.ContextGlobals.fromFrame(o)?!0:(c.call(this,o.join("."),n,i,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}):function(n,i){return n instanceof o?!0:(c.call(this,o,n,i,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}:!1},isExtensionOf:function(o){return y.Lang.isFunction(o)?function(n,i){var t=y.Lang.isFunction(n.prototype._getClasses)&&n.prototype._getClasses();return t&&y.Array.indexOf(t,o)!==-1?!0:(c.call(this,o,n,i,"[{attrName}] Validation Error: {actualVal} is not an extension of the {expectedVal}."),!1)}:!1},isTypeOf:function(o){return o?function(n,i){return typeof n===o?!0:(c.call(this,o,n,i,'[{attrName}] Validation Error: {actualVal} is not of type "{expectedVal}".'),!1)}:!1},isValueIn:function(o){return y.Lang.isObject(o)?y.Lang.isArray(o)?function(n,i){return y.Array.indexOf(o,n)!==-1?!0:(c.call(this,o,n,i,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:function(n,i){return y.Object.values(o).indexOf(n)!==-1?!0:(c.call(this,o,n,i,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:!1}};e.isNullOrInstanceOf=function(o){return e.isNullOr(e.isInstanceOf(o))},e.isNullOrExtensionOf=function(o){return e.isNullOr(e.isExtensionOf(o))},e.isNullOrOfType=function(o){return e.isNullOr(e.isTypeOf(o))},e.isNullOrValueIn=function(o){return e.isNullOr(e.isValueIn(o))},e.isDate=e.isInstanceOf(Date),e.isNullOrString=e.isNullOr(e.isString),e.isNullOrDate=e.isNullOr(e.isDate),e.isNullOrBoolean=e.isNullOr(e.isBoolean),e.isNullOrNumber=e.isNullOr(e.isNumber),e.isNullOrObject=e.isNullOr(e.isObject),e.isNullOrNonArrayObject=e.isNullOr(e.isNonArrayObject),e.isNullOrArray=e.isNullOr(e.isArray),e.isNullOrFunction=e.isNullOr(e.isFunction),e.isNullOrNode=e.isNullOr(e.isNode),e.isNullOrNodeList=e.isNullOr(e.isNodeList)},"1.0",{requires:["squarespace-damask-context-globals"]})},828561:function(){YUI.add("squarespace-beforeunload",function(y){var c="gallery-dom0beforeunload",e=y.config.win.onbeforeunload;y.config.win.onbeforeunload=function(o){var n=o||y.config.win.event;e&&e(n);var i=new y.DOMEventFacade(n),t;if(y.fire(c,i),t=i.returnValue,t)return n.returnValue=t,t;y.config.win.onbeforeunload=e},y.Env.evt.plugins.beforeunload={on:function(o,n){var i=y.Array(arguments,0,!0);return i[0]=c,y.on.apply(y,i)}}},"1.0",{requires:[]})},364246:function(y,c,e){"use strict";e.r(c);var o=e(188846),n=e(994336),i=e.n(n),t=e(418215),r=e.n(t),s=e(598037),d=e.n(s),v=e(944087),u=e.n(v),a=e(604277),l=e.n(a),p=e(772906),h=e(487267),g=e.n(h),m=e(733656),S=e(461761),_=e.n(S),C=e(904406),O=e.n(C);YUI.add("squarespace-commerce-utils",function(A){A.namespace("Squarespace"),A.Squarespace.Commerce={COMMERCE_DATE_TIME_FORMAT:"lllLT",isExpressCheckout:function(){return Static.SQUARESPACE_CONTEXT.websiteSettings.storeSettings.expressCheckout},measurementStandard:function(){return A.Object.getValue(Static,["SQUARESPACE_CONTEXT","websiteSettings","storeSettings","measurementStandard"])},weightUnit:function(){return this.measurementStandard()===r().IMPERIAL?"lbs":"kg"},dimensionUnit:function(){return this.measurementStandard()===r().IMPERIAL?'"':"cm"},maxes:function(){return{productPrice:1e8,skuStringLength:60}},goToCheckoutPage:function(){if(!(i().get("hasCart")==="true"||A.Lang.isValue(i().get("CART")))){alert((0,a.t)("Either your session has expired or you do not have cookies enabled. We cannot continue to checkout."));return}window.top.location="/commerce/goto-checkout"},goToSubscriptionPage:function(x){x&&(window.top.location="/checkout/subscribe?cartToken="+x)},goToDonatePage:function(x){var T="/checkout/donate?donatePageId="+x;A.Squarespace.Utils.isInDamaskFrame()?window.top.location=T:window.location=T},goToGiftCardPage:function(x,T){x=encodeURIComponent(x);var R=T?encodeURIComponent(T.sku):null,N=Static.SQUARESPACE_CONTEXT.website.id,B="/checkout/giftcard?websiteId="+N+"&giftCardProductId="+x+(T?"&sku="+R:"");A.Squarespace.Utils.isInDamaskFrame()?window.top.location=B:window.location=B},isValidUSZip:function(x){return/^\d{5}$/.test(x)},variantFormat:function(x,T){for(var R=[],N=x.optionValues,B=0;B'+this.moneyString(T)+"":this.variedPrices(x)?(0,a.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(x))}):this.moneyString(T);case d().DIGITAL:return this.onSale(x)?this.moneyString(this.salePrice(x))+' '+this.moneyString(T)+"":this.moneyString(T);case d().GIFT_CARD:return this.variedPrices(x)?(0,a.t)("from {startingPrice}",{startingPrice:this.moneyString(T)}):this.moneyString(T);default:break}},isFiniteSubscriptionPlan:function(x){return!!Number(x.numBillingCycles)},merchantSubscriptionDetailsString:function(x){if(!x)return"";var T=x.billingPeriod.value,R=x.billingPeriod.unit.toLowerCase()+"ly",N=this.isFiniteSubscriptionPlan(x);if(N)var B=x.numBillingCycles;return _()({"magnitude == 1":{weekly:{indefinite:(0,a.t)("renews every week"),finite:(0,a.t)("renews every week for {p} payments",{p:B})},monthly:{indefinite:(0,a.t)("renews every month"),finite:(0,a.t)("renews every month for {p} payments",{p:B})},yearly:{indefinite:(0,a.t)("renews every year"),finite:(0,a.t)("renews every year for {p} payments",{p:B})}},"magnitude > 1":{weekly:{indefinite:(0,a.t)("renews every {n} weeks",{n:T}),finite:(0,a.t)("renews every {n} weeks for {p} payments",{n:T,p:B})},monthly:{indefinite:(0,a.t)("renews every {n} months",{n:T}),finite:(0,a.t)("renews every {n} months for {p} payments",{n:T,p:B})},yearly:{indefinite:(0,a.t)("renews every {n} years",{n:T}),finite:(0,a.t)("renews every {n} years for {p} payments",{n:T,p:B})}}},[T===1?"magnitude == 1":"magnitude > 1",R,N?"finite":"indefinite"])},getTotalStockRemaining:function(x){var T=x.structuredContent;if(T.productType===d().DIGITAL)return 1/0;for(var R=0,N=0;N';for(var z in R){var K=R[z];T+='
'+z+": "+N(K)+"
"}T+="";break;case"address":T='
'+R.Line1+"
";var $=R.Line2;$&&$!==""&&(T+="
"+$+"
"),T+="
"+R.City+", "+R.State+" "+R.Zip+" "+R.Country+"
";break;case"date":T=R.Month+"/"+R.Day+"/"+R.Year;break;case"time":T=(R.Hour||"00")+":"+(R.Minute||"00")+":"+(R.Second||"00")+" "+R.Ampm;break;case"checkbox":var ie=x.value;!A.Lang.isValue(R)&&A.Lang.isValue(ie)?R=[ie]:A.Lang.isValue(R)&&(R=A.Object.values(R)),T=R.join(", ");break;default:T=A.Squarespace.Escaping.escapeForHtml(x.value);break}return T===""&&(T=(0,a.t)("N/A")),'
'+x.rawTitle+": "+T+"
"},hasVariants:function(x){var T=x.structuredContent;return T.productType!==d().DIGITAL&&T.variants.length>=1},variedPrices:function(x){var T=x.structuredContent;switch(T.productType){case d().PHYSICAL:case d().SERVICE:case d().GIFT_CARD:var R=T.variants;if(R.length<=1)return!1;for(var N=R[0],B=1;B0){N=!1;break}}return N;case d().DIGITAL:return!1}},normalPrice:function(x){var T=x.structuredContent,R=T.variants;switch(T.productType){case d().PHYSICAL:case d().SERVICE:if(R.length===0)return 0;for(var N=R[0].price,B=1;BN&&(N=z)}return N;case d().DIGITAL:return A.Lang.isUndefined(T.priceCents)?0:T.priceCents;case d().GIFT_CARD:return R[0].price;default:break}},salePrice:function(x){var T=x.structuredContent;switch(T.productType){case d().PHYSICAL:case d().SERVICE:var R=T.variants;if(R.length===0)return 0;for(var N=null,B=0;B/g,">").replace(//g,">").replace(/0){var s=this.closeTargets.pop();this._closeTarget(s,r)}else r.shiftKey?t.later(10,this,this.onShiftEsc,r):t.later(10,this,this.onEsc,r)},_redirectToConfig:function(){var r=t.config.win.location,s="https://"+Static.SQUARESPACE_CONTEXT.website.identifier+"."+Static.SQUARESPACE_CONTEXT.appDomain+"/config/?frameUrl="+r.pathname+r.search;t.config.win.location=s},_closeTarget:function(r,s){t.Lang.isFunction(r.close)?r.close(s,function(d){d===!1&&this.closeTargets.push(r)}.bind(this)):t.Lang.isFunction(r.cancel)?r.cancel(s):t.Lang.isFunction(r.hide)&&r.hide(s)},_onBodyDown:function(r){this._bodyDownTarget=r.target},_onBodyUp:function(r){this._bodyUpTarget=r.target},_didMouseDownMouseUpMatch:function(){var r=this._bodyDownTarget===this._bodyUpTarget;return this._bodyDownTarget=null,this._bodyUpTarget=null,r},onBodyClick:function(r){if(this.closeTargets&&this.closeTargets.length>0){var s=this.closeTargets[this.closeTargets.length-1];if(!this._didMouseDownMouseUpMatch()||s.ignoreBodyClicks)return;var d=r.clientX,v=r.clientY,u=r.target.get("winWidth"),a=r.target.get("winHeight");if(d<0||d>u||v<0||v>a)return;s.activeFlyout?r.target.ancestor(s.activeFlyout.constraintClasses,!0)||(s.activeFlyout.field.closeFlyout(),s.activeFlyout=null,t.fire("target-closed",{target:s})):r.target.ancestor(t.Squarespace.STANDARD_CONTROL_CLASSES.join(", "),!0)||(t.fire("target-closed",{target:s}),r.halt(),this.closeTargets.pop(),this._closeTarget(s,r))}}},typeof window!="undefined"&&(window.ESC_MANAGER?t.Squarespace.EscManager=window.ESC_MANAGER:window.ESC_MANAGER=t.Squarespace.EscManager)},"1.0",{requires:["event","node","squarespace-damask-context-globals","squarespace-util"]})},381756:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o),i=e(522602);YUI.add("squarespace-follow-button",function(t){t.namespace("Squarespace.Widgets").FollowButton=t.Base.create("followButton",t.Widget,[],{renderUI:function(){this.get("contentBox").setContent((0,i.default)('",{username:this.get("username")}))},syncUI:function(){var r=function(){},s=function(){this.show()};t.Get.script("//platform.twitter.com/widgets.js",{onSuccess:s,onFailure:r,onTimeout:r,timeout:1e4,context:this,win:t.config.win})}},{ATTRS:{username:{value:""},visible:{value:!1}},CSS_PREFIX:"sqs-follow-button"})},"1.0",{requires:["base","widget"]})},423828:function(y,c,e){"use strict";e.r(c);var o=e(817315),n=e.n(o);YUI.add("squarespace-follow-buttons",function(i){i.namespace("Squarespace"),i.Squarespace.FollowButtonUtils=function(){var t=function(s){var d=s.one(".sqs-follow-button");if(d){var v=i.Widget.getByNode(d);v&&v.destroy()}},r=function(s){t(s);var d=s.getAttribute("data-username");d&&d.length&&new i.Squarespace.Widgets.FollowButton({username:d}).render(s)};return{renderAll:function(){i.all(".squarespace-follow-button").each(function(s){r(s)})}}}(),i.on("domready",function(){i.Squarespace.FollowButtonUtils.renderAll()})},"1.0",{requires:["squarespace-follow-button"]})},106571:function(__unused_webpack_module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var _sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(435359),_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0__),_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(762379),shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(619883),shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1___default=__webpack_require__.n(shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__),_sqs_network__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(808847),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(963327),_sqs_websites_constants__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(879772),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(992019),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4__),shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(556111),shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(27072),shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6___default=__webpack_require__.n(shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__),_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(295378),shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(55359);YUI.add("squarespace-form-submit",function(Y){Y.namespace("Squarespace");var FormSubmitV1=Y.Base.create("FormSubmitV1",Y.Base,[],{initializer:function(){this._submitButton=this.get("formNode").one("[type=submit]"),this._submitButtonText=this._submitButton.get("value");var y=this._getMultiFieldVal;this._typeGetterMap={date:y,name:y,time:y,address:y,phone:this._getPhoneFieldVal,radio:this._getRadioFieldVal,checkbox:this._getCheckFieldVal,select:this._getSelectVal,likert:this._getLikertVal,hidden:this._getHiddenVal},this._defaultGetter=this._getSingleFieldVal,Y.Global.publish("form:submitSuccess")},submit:function(c,e,o,n,i){var t=this.get("formNode"),r;typeof c=="object"?(r=c.formId,e=c.collectionId,o=c.objectName,n=c.isOverlayForm,i=c.submitButtonText):r=c;try{if(t.hasClass("submitting"))return;this._clearErrors(),this._lock();var s=Y.config.win.Static.SQUARESPACE_CONTEXT.pageType===_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4___default().SPLASH_PAGE,d=s?_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_9__.getCaptchaContainer(Y.config.win,this.get("formNode").getDOMNode()):shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.getCaptchaContainer(this.get("formNode").getDOMNode());if(!d)this._saveFormSubmission(r,e,o,n,i);else if(s){var v=_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_9__.validate(Y.config.win,d);v?this._saveFormSubmission(r,e,o,n,i,v):this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.CAPTCHA_INCOMPLETE_ERROR,n)}else{var u=t.hasClass("newsletter-form")&&!n,a=t.hasClass("newsletter-form")&&n,l=a?shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.ACTION_TYPES.PROMO_POPUP:u?shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.ACTION_TYPES.NEWSLETTER_BLOCK:shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.ACTION_TYPES.FORM_BLOCK;shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__.EnterpriseV3RecaptchaAPI.getReCaptchaToken(Y.config.win,l).then(function(p){this._saveFormSubmission(r,e,o,n,i,null,p)}.bind(this))}}catch(p){this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.SUBMIT_ERROR,n)}finally{return!1}},_createErrorNode:function(y,c){return c?Y.Node.create('
'+y+"
"):Y.Node.create('
'+y+"
")},_clearErrors:function(){var y=this.get("formNode");y.all(".field-error").each(function(c){c.remove()}),y.all(".form-item.error").each(function(c){c.removeClass("error")})},_lock:function(){this.get("formNode").addClass("submitting"),this._submitButton.set("value",shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.SUBMIT_TEXT_IN_PROGRESS)},_unlock:function(){this.get("formNode").removeClass("submitting"),this._submitButton.set("value",this._submitButtonText)},_saveFormSubmission:function(y,c,e,o,n,i,t){var r={withCredentials:!0};_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/FormSubmissionKey",{},r).then(function(s){if(s.data.key){var d={key:s.data.key,formId:y,collectionId:c,objectName:e,isOverlayForm:o,submitButtonText:n,form:Y.JSON.stringify(this._getData()),captchaKey:i,recaptchaEnterpriseV3Token:t};shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__.addIntraPageEventFields(d),_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/SaveFormSubmission",d,r).then(this._submitSuccess.bind(this)).catch(function(v){this._submitFailure(v.response,o)}.bind(this))}else this._submitFailure(s,o)}.bind(this)).catch(function(s){this._submitFailure(s.response,o)}.bind(this))},_submitSuccess:function(){var y=this.get("formNode");y&&(y.hasClass("newsletter-form")||y.getById(_sqs_websites_constants__WEBPACK_IMPORTED_MODULE_3__.FacebookPixelConstants.NEWSLETTER_OVERLAY_NODE_ID))&&shared_utils_commerce_trackEvent__WEBPACK_IMPORTED_MODULE_1__.trackSubscribeNewsletter(),Y.Global.fire("form:submitSuccess");var c=y.getData("success-redirect");c&&(window.history.replaceState&&window.history.replaceState({},document.title,window.location.href),window.location.href=c),this._unlock(),this._renderSuccess()},_submitFailure:function(y,c){var e=this.get("formNode"),o=e.hasClass("newsletter-form"),n=y.status===401&&o,i=o&&n&&!c,t=null;if(Y.Lang.isString(y)?t=y:n?t=y.data.message:shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.errorCodes[y.status]?t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.errorCodes[y.status]:y.status===400&&y.data.errors?(Y.Object.each(y.data.errors,function(a,l){var p=e.one('[id="'+l+'"]');if(p){var h=p.one(".title");h.insert(this._createErrorNode(a),"before"),p.addClass("error")}},this),o||(t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.ERROR_ABOVE)):y.data.error?t=y.data.error:t=shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.UNKNOWN_ERROR,t){var r=this._createErrorNode(t,i);o?e.insertBefore(r,e.one(".newsletter-form-body")):e.prepend(r),r.setAttribute("tabindex",-1),r.focus()}else{var s=e.one(".error");if(s){var d=s.getDOMNode().matches(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__.focusableSelector)&&s||s.one(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__.focusableSelector);d&&d.focus()}}var v=e.one(".captcha-container");if(v){var u=this._submitButton.getDOMNode();u&&u.getAttribute("data-captcha-bound")&&(u.disabled=!0),_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_9__.reset(Y.config.win,v)}this._unlock()},_renderSuccess:function(){var formEl=this.get("formNode"),messageNode=formEl.one(".form-submission-text"),htmlNode=formEl.one(".form-submission-html"),postSubmitHtml=htmlNode.getData("submission-html");formEl.all("*").each(function(y){y.addClass("hidden")}),htmlNode.setHTML(postSubmitHtml),htmlNode.removeClass("hidden"),messageNode.removeClass("hidden"),messageNode.all("*").each(function(y){y.removeClass("hidden")});var movedFocus=!1;function focusOn(y){y.setAttribute("tabindex",-1),y.focus(),movedFocus=!0}if(messageNode.getDOMNode().textContent.trim().length>0?focusOn(messageNode):htmlNode.getDOMNode().textContent.trim().length>0&&focusOn(htmlNode),!movedFocus){var win=Y.config.win,formElY=formEl.getY();formElY"+t+"":"")+(r||"")}},_getLightboxTheme:function(o){var n=o.ancestor("[data-lightbox-theme]",!0);return n&&n.getAttribute("data-lightbox-theme")==="light"?"light":"dark"},_makeOpenLightbox:function(o){return function(n){n.halt(),this._destroyLightbox(),this.lightbox=new c.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:o.lightboxSet,currentSetIndex:o.index,historyHash:o.isFromHash,theme:this._getLightboxTheme(o.slideHitArea)}),this.lightbox.render(),o.isFromHash&&this.lightbox._slideshow.set("currentIndex",o.index)}},_getInitialSlideId:function(o){var n=new c.HistoryHash,i=n.get("itemId");if(i)return i;if(o&&o.size()){var t="",r=o.item(0).ancestor(".slides");if(r)return t=r.getAttribute("data-collection-full-url"),window.location.pathname.replace(t,"")}var s=window.location.pathname.split("/");return s[s.length-1]},_getSlideIndexByLink:function(o,n){var i=-1;return o.some(function(r,s){if(r.ancestor(".sqs-layout"))return!1;var d=r.getAttribute("data-slide-url");return r.getAttribute("data-slide-id")!==n&&d!==n?!1:(i=s,!0)},this),i},_getSlideIndexByRoughUrl:function(o,n){var i=-1;return o.some(function(r,s){if(r.ancestor(".sqs-layout"))return!1;var d=r.getAttribute("data-slide-url"),v=d.substr(d.length-n.length)===n,u=d.indexOf("/"+n)>-1;return!v||!u?!1:(i=s,!0)},this),i},_openInitialSlide:function(o,n){var i=this._getInitialSlideId();if(i){var t=this._getSlideIndexByLink(o,i);t===-1&&(t=this._getSlideIndexByRoughUrl(o,i),t===-1)||(this._destroyLightbox(),this.lightbox=new c.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:n,currentSetIndex:t,historyHash:"yui-throttle"}),this.lightbox.render())}}};c.mix(c.SQS.Gallery.Manager,e,!0),c.Squarespace.GalleryManager=c.SQS.Gallery.Manager},"1.0",{requires:["squarespace-image-loader","squarespace-plugin-lightbox2","squarespace-video-loader","squarespace-widgets-lightbox2","@sqs/yui-gallery/manager"]})},234859:function(){YUI.add("squarespace-gallery-ng",function(y){y.namespace("Squarespace"),y.Squarespace.Gallery2=y.SQS.Gallery.Gallery2,y.Squarespace.GalleryDesigns2=y.SQS.Gallery.Designs},"1.0",{requires:["@sqs/yui-gallery"]})},573636:function(y,c,e){"use strict";e.r(c);var o=e(529813),n=e.n(o);YUI.add("squarespace-gallery",function(i){i.namespace("Squarespace");var t=!1,r=i.Squarespace.Legacy.Class;i.augment(i.Node,r.create({outerWidth:function(s){var d=parseFloat(this.getComputedStyle("marginLeft")),v=parseFloat(this.getComputedStyle("marginRight"));return n().trackCaughtError("squarespace-gallery-deprecation","YNode#outerWidth invoked"),this.get("offsetWidth")+d+v},outerHeight:function(s){var d=parseFloat(this.getComputedStyle("marginTop")),v=parseFloat(this.getComputedStyle("marginBottom"));return n().trackCaughtError("squarespace-gallery-deprecation","YNode#outerHeight invoked"),this.get("offsetHeight")+d+v}})),i.Squarespace.Gallery=r.create({defaultOpts:{previous:!1,next:!1,itemSelector:!1,startIndex:0,loop:!1,design:"off",designOptions:{},autoplay:!1,autoplayOptions:{timeout:1e3,resumeAfter:1e3,randomize:!1},currentIndex:!1,totalSlides:!1,linked:!1,keyboard:{previous:"down:37",next:"down:39"},renderWithCanvas:!1,loaderOptions:{},updateContainerHeight:!1,focusOnClick:!1},getContainer:function(){return this.elems.container},getSlide:function(s){return this.elems.slides.item(s)},getCurrentSlide:function(){return this.elems.slides.item(this.data.currentIndex)},getCurrentSlideId:function(){return this.getCurrentSlide().getAttribute("data-slide-id")||this.data.currentIndex},getSlides:function(){return this.elems.slides},initialize:function(s){n().trackCaughtError("squarespace-gallery-deprecation","Y.Squarespace.Gallery initialized!"),i.Lang.isBoolean(s.keyboard)&&s.keyboard&&delete s.keyboard,this.params=i.merge(this.defaultOpts,s),this.elems={};var d=i.one(this.params.slideshowElement);if(i.Lang.isNull(d))throw new Error("No gallery '"+this.params.slideshowElement+"' container found.");var v=this.params.itemSelector?d.all(this.params.itemSelector):d.get("children");if(this.elems.container=d,this.elems.slides=v,this.getContainer().getData("galleryInstance")){this.getContainer().getData("galleryInstance")._debug.warn("Node already bound to gallery instance.");return}if(this._debug=new i.Squarespace.Debugger({name:"Gallery",uid:!0}),this.getContainer().setData("galleryInstance",this),this.history=new i.HistoryHash,this.params.historyHash||this.history.get("itemId")){this.history=new i.HistoryHash;var u=this.history.get("itemId")||this.history.get(this.params.historyHash),a;u&&(this.elems.slides.each(function(g,m){g.getAttribute("data-slide-id")===u&&(a=m)}),i.Lang.isNumber(a)||(a=parseInt(this.history.get(this.params.historyHash),10)),this.history.get("itemId")&&this.history.replaceValue("itemId",null),i.Lang.isNumber(a)&&(this.params.startIndex=a))}if(this.data={currentIndex:this.params.startIndex,totalSlides:v.size()},this.events=[],this.data.totalSlides<=0)return!1;if(!i.Squarespace.GalleryDesigns[this.params.design]){var l=[];for(var p in i.Squarespace.GalleryDesigns)l.push(p);throw new Error("Design '"+this.params.design+"' not found. Currently loaded designs: ["+l.join(", ")+"].")}if(this.design=new i.Squarespace.GalleryDesigns[this.params.design],this.design.gallery=this,this.design.options=i.merge(this.design.options,this.params.designOptions),this.params.previous&&i.all(this.params.previous).each(function(g){this.events.push(g.on("click",function(m){m.halt(),this.previousSlide()},this))},this),this.params.next&&i.all(this.params.next).each(function(g){this.events.push(g.on("click",function(m){m.halt(),this.nextSlide()},this))},this),this.params.focusOnClick&&v.each(function(g){g.on("click",function(){this.fire("changeIndex",v.indexOf(g))},this)},this),this.params.keyboard){var h=function(){return this.params.keyboardWhenInFrame?this.getContainer().inRegion(i.one(this.params.keyboardWhenInFrame).get("region")):!0};this.params.keyboard.previous&&this.events.push(i.on("key",function(){h.call(this)&&this.previousSlide()},window,this.params.keyboard.previous,this)),this.params.keyboard.next&&this.events.push(i.on("key",function(){h.call(this)&&this.nextSlide()},window,this.params.keyboard.next,this))}this.params.linked&&i.Array.each(this.params.linked,function(g){this.linkGallery(g)},this),this.setup(),this.fire("changeIndex",this.params.startIndex),this.isInitialized=!0},linkGallery:function(s){function d(v,u){v&&this._changeIndex(u),i.Array.each(this.elems.linked,function(a){v!==a&&a._changeIndex(u)})}this.elems.linked||(this.on("changeIndex",function(v){d.call(this,!1,v)},this),this.elems.linked=[]),this.elems.linked.push(s),s.on("changeIndex",function(v){d.call(this,s,v)},this)},setup:function(){if(this.on("changeIndex",this._changeIndex),this.loadSlides(),this.design.setup(this.elems.container,this.elems.slides),this.params.autoplay){var s=this;setInterval(function(){if(s.params.autoplayOptions.randomize){for(var d=Math.ceil(Math.random()*s.data.totalSlides);d===s.data.currentIndex;)d=Math.ceil(Math.random()*s.data.totalSlides);s.fire("changeIndex",d)}else s.nextSlide()},this.params.autoplayOptions.timeout)}t&&console.log("Y.Squarespace.Gallery.setup",[this.params,this.data,this.elems]),this.params.updateContainerHeight&&this.on("changeIndex",this.updateContainerHeight)},getSlideDimension:function(s,d){var v=this.elems.slides.item(s),u=v;v.one("img,canvas")&&(u=v.one("img,canvas")),u&&v.getStyle("display")==="inline"&&(v=u);var a=d==="width"?"offsetWidth":"offsetHeight";return u.loader?u.loader.get("loaded")?u.loader.get("node").get(a):u.loader.getDimensionForValue(d,v.get(d==="width"?"offsetHeight":"offsetWidth")):v.get(a)},updateContainerHeight:function(){var s={container:this.elems.container};i.Lang.isObject(this.params.updateContainerHeight)&&(s=i.merge(s,this.params.updateContainerHeight));var d=this.getSlideDimension(this.data.currentIndex,"height");s.maxHeight&&d>s.maxHeight&&(d=s.maxHeight);var v=i.all(s.container);s.anim&&this._updateContainerHeightRanOnce?v.each(function(u){u.anim({},i.merge({to:{height:d},duration:.3,easing:i.Easing.easeOutStrong},s.anim)).run()}):v.setStyles({height:d}),this._updateContainerHeightRanOnce=!0},previousSlide:function(){var s=this.data.currentIndex-1;s<0&&!this.params.loop||this.fire("changeIndex",s)},nextSlide:function(){var s=this.data.currentIndex+1;s>=this.data.totalSlides&&!this.params.loop||this.fire("changeIndex",s)},beforeChange:function(s){this.params.loop||(this.params.next&&(s.toIndex>=this.data.totalSlides-1?i.all(this.params.next).addClass("disabled"):i.all(this.params.next).removeClass("disabled")),this.params.previous&&(s.toIndex<=0?i.all(this.params.previous).addClass("disabled"):i.all(this.params.previous).removeClass("disabled"))),this.fire("before-change",s)},afterChange:function(s){(this.params.currentIndex||this.params.totalSlides)&&(i.all(this.params.currentIndex).each(function(d){d.set("innerHTML",this.data.currentIndex+1)},this),i.all(this.params.totalSlides).each(function(d){d.set("innerHTML",this.data.totalSlides)},this)),this.params.historyHash&&this.history.replaceValue(this.params.historyHash,this.getCurrentSlideId()),this.fire("after-change",s)},changeIndex:function(s){this.fire("changeIndex",s)},_changeIndex:function(s){if(!i.Lang.isObject(s)&&(this.params.loop||(s<0&&(s=0),s>=this.data.totalSlides&&(s=this.data.totalSlides-1)),s<0&&(s=this.data.totalSlides+s),!(this.isInitialized&&this.data.currentIndex===s))){t&&console.log("Y.Squarespace.Gallery.changeIndex",[s]);var d=this.data.currentIndex,v=s%this.data.totalSlides,u=this.elems.slides,a=d===this.data.totalSlides-1&&v===0,l=d===0&&v===this.data.totalSlides-1,p;dv&&a&&!l?p="fwd":(d>v&&!l||d");return t.setAttribute("data-src",i.getAttribute("data-src")),t.setAttribute("data-image-dimensions",i.getAttribute("data-image-dimensions")),t.setAttribute("data-image-focal-point",i.getAttribute("data-image-focal-point")),t.setAttribute("alt",i.getAttribute("alt")),t},destructor:function(){}},{NS:"loader",ATTRS:{stretch:{},load:{value:!0},source:{},fixedRatio:{value:!1},fitAlignment:{},fit:{value:!1,setter:function(i){i&&this.set("mode","fit")}},fill:{value:!1,setter:function(i){i&&this.set("mode","fill")}},focalPoint:{setter:function(i){return n.config.win.ImageLoader.load(this.get("host").getDOMNode(),{focalPoint:i.x+","+i.y}),i}},mode:{validator:function(i){return["fit","fill","none",null].indexOf(i)!==-1}},refreshOnResize:{value:!1},useBgImage:{validator:function(i){return n.Lang.isBoolean(i)}}}}),n.Squarespace.ImageLoadManager=new(n.Base.create("ImageLoadManager",n.Base,[],{refreshAll:function(){n.all("img[data-src]").each(function(i){i.fire("refresh")})}})),n.augment(n.Node,Class.create({refresh:function(){this.fire("refresh")}}))},"1.0",{requires:["base","node","plugin"]})},407894:function(){YUI.add("squarespace-legacy-class",function(y){y.namespace("Squarespace.Legacy"),y.Squarespace.Legacy.Class={create:function(c){var e;return c.initialize?e=function(){this.initialize.apply(this,arguments)}:e=function(){},e.prototype=c,e.extend=function(o){return Class.extend(this,o)},e.specialize=function(o,n){var i=Class.specialize(this,o);return i._parent=n,i},e},extend:function(c,e){e.initialize||(e.initialize=c.prototype.initialize);var o=Class.create(e),n=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(var i in c.prototype)o.prototype[i]?typeof o.prototype[i]=="function"&&n.test(o.prototype[i])&&(o.prototype[i]=function(t,r){return function(){var s=this._super;this._super=c.prototype[t];var d=r.apply(this,arguments);return this._super=s,d}}(i,o.prototype[i])):o.prototype[i]=c.prototype[i];return o.prototype.superclass=c.prototype,o},specialize:function(c,e){var o=Class.extend(c,e);return new o}}},"1.0",{requires:[]})},851206:function(y,c,e){"use strict";e.r(c);var o=e(522602);YUI.add("squarespace-logger",function(n){var i=[],t=null,r=n.Base.create("Logger",n.Base,[],{initializer:function(){n.one(n.config.win).on("beforeunload",this.flush,this),this._syncDebugActiveElement(),this.after("debugActiveElementChange",this._syncDebugActiveElement,this)},_syncDebugActiveElement:function(){this._debugActiveElementTimer&&this._debugActiveElementTimer.cancel(),this.get("debugActiveElement")&&(this._debugActiveElementTimer=n.later(500,this,function(){this.debug({focusElement:this._getDOMNodeDescriptor(n.config.doc.activeElement)})},null,!0))},_getDOMNodeDescriptor:function(s){s=n.one(s);var d=s.get("tagName").toLowerCase(),v=s.getAttribute("id"),u=s.get("className").split(" "),a="";return u.length>0&&(a="."+u.join("."),a.length>20&&(a=a.substr(0,20)+"\u2026")),d+(v?"#"+v:"")+a},enqueue:function(s){i.push(s),this.wait()},flush:function(s){try{clearTimeout(t)}catch(d){}t=null,i.length>0&&n.Data.post({url:"/api/events/Trace",data:{data:JSON.stringify(i)},failure:function(){}}),i=[]},wait:function(){t===null&&(t=setTimeout(n.bind(this.flush,this),this.get("timerLength")))},log:function(s,d){n.Lang.isValue(s)&&this.enqueue({pageUrl:document.location.href,type:s,data:JSON.stringify(n.Lang.isValue(d)?d:{})})},trace:function(s,d){try{var v={};v.lalala()}catch(u){this.log(s,n.merge(d,{stack:u.stack}))}},debug:function(s){var d=n.one("#logger-debug")||n.one(n.config.doc.body).appendChild(n.Node.create('
'));d.setStyles({position:"fixed",right:50,top:50,background:"rgba(150,100,100,0.9)",border:"solid 1px white",color:"white",borderRadius:"3px",padding:20,zIndex:1e7,fontSize:"10px"}),d.setContent((0,o.default)('{sub1}',{sub1:JSON.stringify(s,null,2)}))}},{ATTRS:{timerLength:{value:30*1e3},debugActiveElement:{value:!1}}});n.namespace("Squarespace"),n.Squarespace.Logger||(n.Squarespace.Logger=new r)},"1.0",{requires:["base","event","io-base","node"]})},581612:function(){YUI.add("squarespace-mixins-event-registrar",function(y){y.namespace("Squarespace.Mixins"),y.Squarespace.Mixins.EventRegistrar=y.Base.create("eventRegistrar",y.Base,[],{destructor:function(){y.Array.invoke(this.get("eventListeners"),"detach")},_registerEvent:function(){if(y.Lang.isArray(arguments[0]))this._registerEvent.apply(this,arguments[0]);else for(var c=0,e=arguments.length;c0||t>=r&&s<0)return n.preventDefault(),!1},o.addEventListener?(o.addEventListener("mousewheel",this.listener),o.addEventListener("DOMMouseScroll",this.listener),o.addEventListener("MozMousePixelScroll",this.listener)):o.attachEvent&&o.attachEvent("onmousewheel",this.listener)},destructor:function(){var c=this.get("host").getDOMNode();c.removeEventListener?(c.removeEventListener("mousewheel",this.listener),c.removeEventListener("DOMMouseScroll",this.listener),c.removeEventListener("MozMousePixelScroll",this.listener)):c.detachEvent&&c.detachEvent("onmousewheel",this.listener)}},{NS:"ScrollLock",ATTRS:{}})},"1.0",{requires:["base","node","plugin"]})},643300:function(){YUI.add("squarespace-promises",function(y){function c(){}var e=y.namespace("Squarespace.Promises");e.all=function(){var o=new y.Array(arguments);return new y.Promise(function(n,i){var t=[],r=o.length,s=0,d=function(v){return function(u){s++,t[v]=u,s>=r&&n(t)}};if(r===0)return n([]);y.Array.each(o,function(v,u){y.when(v).then(d(u),i)})})},e.resolve=function(o,n){return o.then(n)},e.reject=function(o,n){return o.then(c,n)},e.rejectWith=function(o){return y.Squarespace.Promises.create(function(n,i){i(o)})},e.finish=function(o,n){return o.then(n,n)},e.chainFns=function(o,n){return function(){n=n||this;var i=o.length>0?o.shift().apply(n,arguments):y.when(),t=function(r,s){return y.Squarespace.Promises.resolve(y.when(r),y.bind(s,n))};return y.Array.reduce(o,i,t)}},e.create=function(o,n){return new y.Promise(y.bind(o,n))}},"1.0",{requires:["promise"]})},664864:function(y,c,e){"use strict";e.r(c);var o=e(637598),n=e.n(o),i=e(292610),t=e.n(i),r=e(604277),s=e.n(r),d=e(340735),v=e(454725);YUI.add("squarespace-public-api",function(u){u.namespace("Squarespace");var a=v.default.isSevenOne();a?(u.config.win.ImageLoader=new(t()).Builder({allowConcurrentLoads:!0}).withLazyLoading().build(),u.config.win.ImageLoader.bootstrap=u.config.win.ImageLoader.loadAllLazy):(u.config.win.ImageLoader=new(n())({allowConcurrentLoads:!0}),u.config.win.ImageLoader.bootstrap=u.config.win.ImageLoader.loadAll),u.Squarespace.Template=d.default.create({getTweakValue:function(p){if(p&&u.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON)return u.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON[p]||u.config.win.Static.SQUARESPACE_CONTEXT.tweakJSON[p.replace("@","").replace(".","")]}}),u.augment(u.Node,u.Squarespace.Legacy.Class.create({width:function(){return this.get("offsetWidth")},height:function(){return this.get("offsetHeight")}}));var l=[];u.config.win.JSTween={tween:function(p,h){console.error((0,r.t)("You are using the Squarespace provided global JSTween which is no longer supported. Please either remove your usage of JSTween or include JSTween yourself.")),l.push({node:p,config:h})},play:function(){l.forEach(function(p){console.error((0,r.t)("You are using the Squarespace provided global JSTween which is no longer supported. Please either remove your usage of JSTween or include JSTween yourself."));var h=p.node,g=p.config,m={},S={},_=[],C=[];for(var O in g)m[O]=g[O].start,S[O]=g[O].stop,g[O].onStart&&_.push(g[O].onStart),g[O].onStop&&C.push(g[O].onStop);u.one(h).anim(S,{from:m,duration:g[Object.keys(g)[0]].duration,start:function(){_.forEach(function(A){A()})},end:function(){C.forEach(function(A){A()})}}).run()}),l=[]}}},"1.0",{requires:["history","node","node-event-simulate","node-load","squarespace-dom-emitters-resize","squarespace-gallery-manager","squarespace-gallery-ng","squarespace-legacy-class","thirdparty-modernizr","yui-throttle"]})},375555:function(y,c,e){"use strict";e.r(c);var o=e(51216),n=e.n(o);YUI.add("querystring-parse",function(i,t){var r=i.namespace("QueryString");r.parse=function(s){return n().parse(s)},r.unescape=function(s){return decodeURIComponent(s.replace(/\+/g," "))}},"3.17.2",{requires:["yui-base","array-extras"]})},774494:function(y,c,e){"use strict";var o=e(434814),n=e.n(o),i=e(316262),t=e.n(i),r=e(457949),s=e(474863),d=e.n(s),v=e(51852),u=e.n(v),a=e(159585),l=e.n(a),p=e(606536),h=e.n(p),g=e(391011),m=e.n(g),S=e(922770),_=e.n(S),C=e(917645),O=e.n(C),A=e(659413),x=e.n(A),T=e(132266),R=e.n(T),N=e(756426),B=e.n(N),z=e(60471),K=e.n(z),$=e(115470),ie=e.n($),V=e(585784),W=e.n(V),H=e(786763),k=e.n(H),J=e(508996),ae=e.n(J),ne=e(230070),X=e.n(ne),re=e(643300),Z=e.n(re),te=e(244345),oe=e.n(te),Se=e(287917),Re=e.n(Se),Ke=e(869799),Qe=e.n(Ke),Je=e(779187),rt=e.n(Je),Pt=e(364246),Wt=e(514054),de=e.n(Wt),Le=e(317375),le=e.n(Le),Ce=e(68367),Ne=e.n(Ce),Ee=e(577679),Ie=e.n(Ee),dt=e(239429),xt=e.n(dt),It=e(723949),gt=e.n(It),Ot=e(383324),Fe=e.n(Ot),Ve=e(134495),se=e.n(Ve),fe=e(743384),pe=e.n(fe),xe=e(630173),Me=e.n(xe),je=e(33146),Xe=e.n(je),st=e(24717),Ae=e.n(st),He=e(402359),ot=e.n(He),Ut=e(353015),Zt=e.n(Ut),jt=e(657649),vn=e.n(jt),Xn=e(366096),xr=e.n(Xn),Wn=e(810036),kn=e.n(Wn),or=e(260981),ci=e.n(or),Jr=e(428647),fa=e(975042),Mr=e.n(fa),Zi=e(459574),Gr=e(245518),Pe=e.n(Gr),cn=e(989746),Lr=e.n(cn),pr=e(481133),Ji=e.n(pr),on=e(125057),fi=e.n(on),zi=e(541903),Yr=e.n(zi),qr=e(950122),Yi=e.n(qr),Zn=e(130110),sr=e.n(Zn),ur=e(105495),Nr=e.n(ur),di=e(540856),qi=e.n(di),ei=e(559747),Qt=e.n(ei),da=e(192312),Ri=e.n(da),vi=e(773452),lr=e.n(vi),Ei=e(924999),ea=e.n(Ei),wi=e(931619),Ur=e.n(wi),Ir=e(735701),ze=e(878515),me=e.n(ze),we=e(794783),Ue=e.n(we),tt=e(568096),mt=e.n(tt),At=e(263446),Ct=e.n(At),Jt=e(605585),Nt=e.n(Jt),Tn=e(699993),_t=e.n(Tn),vt=e(305531),St=e.n(vt),wt=e(991950),Gt=e.n(wt),Dt=e(918916),en=e.n(Dt),sn=e(668205),xn=e.n(sn),mn=e(480149),hn=e.n(mn),Hn=e(95084),Dr=e.n(Hn),Or=e(479839),ue=e.n(Or),Te=e(343140),qe=e.n(Te),kt=e(821303),un=e.n(kt),pn=e(18709),Fr=e.n(pn),er=e(98315),Gn=e.n(er),ti=e(522353),Si=e.n(ti),_r=e(614722),Wr=e.n(_r),Un=e(693373),Yt=e.n(Un),fo=e(375555),Da=e(3299),Ka=e.n(Da),Us=e(794964),Su=e.n(Us),Uo=e(29318),Oa=e.n(Uo),os=e(467316),Ar=e(390566),Hr=e(276596),ta=e.n(Hr),na=e(571550),ra=e.n(na),Rr=e(851206),Va=e(741717),ss=e.n(Va),ni=e(726406),_a=e.n(ni),us=e(664864),$a=e(163562),ri=e.n($a),Qa=e(213978),hi=e.n(Qa),La=e(828561),Mi=e.n(La),bi=e(827476),vo=e.n(bi),ft=e(277200),cr=e.n(ft),va=e(859077),bu=e.n(va),ll=e(489565),Fs=e.n(ll),Ou=e(599302),_u=e.n(Ou),Au=e(983810),Bs=e.n(Au),ls=e(687596),Xa=e.n(ls),js=e(946900),cs=e.n(js),be=e(604763),ge=e(786733),Oe=e.n(ge),ke=e(478371),Ye=e.n(ke),ct=e(623339),Rt=e.n(ct),Vt=e(147024),rn=e.n(Vt),Xt=e(241601),Fn=e.n(Xt),Kn=e(613519),gr=e(819406),kr=e.n(gr),Gi=e(33234),Cu=e.n(Gi),fs=e(165221),Pu=e.n(fs),ds=e(630625),Di=e.n(ds),Tu=e(112839),Oi=e.n(Tu),Fo=e(197259),vs=e.n(Fo),Na=e(925576),vr=e(755310),zs=e(725707),Za=e.n(zs),xu=e(449309),Kr=e.n(xu),_i=e(649253),Gs=e.n(_i),hs=e(521956),$c=e.n(hs),Ul=e(221634),Qc=e.n(Ul),Xc=e(34813),cl=e.n(Xc),it=e(398089),Tt=e.n(it),bt=e(337225),qt=e.n(bt),In=e(677582),Jn=e.n(In),Br=e(249444),fr=e.n(Br),Iu=e(963554),Fl=e.n(Iu),Aa=e(955689),Bl=e.n(Aa),ps=e(577626),ha=e.n(ps),ho=e(392639),Vr=e.n(ho),tr=e(763597),Bo=e.n(tr),jo=e(481395),gs=e.n(jo),jl=e(751611),Ru=e.n(jl),zl=e(447530),wu=e.n(zl),Ja=e(405255),Ws=e.n(Ja),fl=e(614439),Mu=e.n(fl),Ya=e(807001),dl=e.n(Ya),po=e(100636),Zc=e.n(po),Hs=e(949096),Ua=e.n(Hs),Du=e(59023),Jc=e.n(Du),Gl=e(442998),Er=e.n(Gl),ms=e(825633),ys=e.n(ms),zo=e(683367),Yc=e.n(zo),Lu=e(806124),Nu=e.n(Lu),Uu=e(329259),Cr=e.n(Uu),pi=e(223493),Yf=e.n(pi),qc=e(548380),vl=e.n(qc),Fu=e(493580),ks=e.n(Fu),Go=e(234859),Bu=e.n(Go),go=e(407894),Es=e.n(go),Ks=e(232630),ju=e.n(Ks),Wi=e(423828),qf=e(381756),Wl=e(106571),Wo=e(573636),ef=e(530779),Ss=e(796111),pa=e.n(Ss),mo=e(622947),qa=e(348260),ye=e(581612),Vs=e.n(ye),eo=e(320223),ii=e.n(eo),Bn=e(394317),rr=e.n(Bn)},796111:function(){YUI.add("squarespace-spinner",function(y){y.namespace("Squarespace").Spinner=y.Base.create("Spinner",y.Widget,[],{renderUI:function(){this.get("boundingBox").addClass(this.get("color"));var c=this.get("size");y.Lang.isNumber(c)||this.get("boundingBox").addClass(c)},spin:function(){this.get("boundingBox").show()},stop:function(){this.get("boundingBox").hide()},addClass:function(c){this.get("boundingBox").addClass(c)}},{CSS_PREFIX:"sqs-spin",NS:"spinner",ATTRS:{size:{value:"default",setter:function(c){return y.Lang.isNumber(c)&&(this.set("width",c),this.set("height",c)),c}},color:{value:"light"}}})},"1.0",{requires:["base","widget"]})},390566:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o),i=e(522602),t=e(927582),r=e.n(t);YUI.add("squarespace-system-error",function(s){s.namespace("Squarespace"),s.Squarespace.SystemError=Class.create({initialize:function(d,v,u){this.url=s.Squarespace.Escaping.escapeForHtml(d),this.data=v,this.format=u,s.config.win.__clearError=this.clear},clear:function(){s.one(".sqs-system-error").remove(),s.one(t.yuiDialogOverlaySelector+".sqs-system-error-overlay").remove()},show:function(){var d,v="";if(this.data.cleaned)d='
'+(0,o.t)("Something Went Wrong!")+'
'+(0,o.t)("Our system has encountered an error. This exception has been automatically logged and reported. We will return shortly.")+"
";else if(this.data.network){if(v=(0,o.t)("Unable to connect to Squarespace. Please try again."),s.Lang.isString(this.data.error)&&this.data.error.length>0&&(v=this.data.error),d='
'+v+"
",this.url)try{s.Squarespace.Analytics.trackInternal("system_network_error",{urlRequested:this.url})}catch(h){}}else v=s.Squarespace.Escaping.escapeForHtml(this.data.error||this.data.message||""),d=(0,i.default)('
{sub1}  ({sub2})

{sub3}
',{sub1:this.url,sub2:this.format.toUpperCase(),sub3:v.replace(new RegExp("\n","g"),"
")});if(!s.one(".sqs-system-error")){var u='',a="position: absolute; -webkit-user-select: text; left: 25px; top: 25px; right: 25px; font-size: 12px; color: #fff; padding: 26px 20px 20px 80px; border-radius: 5px; overflow: auto; height: 90%; z-index: 10000001;",l=d+'

  ';l+=u+"


",this.data.errorKey&&(l+=''+this.data.errorKey+""),this.errorEl=s.Node.create('
'+l+"
"),s.one(s.config.doc.body).append(this.errorEl),this.overlayEl=s.Node.create('
'),this.overlayEl.setStyles({zIndex:1e7}),s.one(s.config.doc.body).append(this.overlayEl);var p=new s.Anim({node:this.overlayEl,to:{opacity:1},duration:.35,easing:s.Easing.easeOutStrong});p.run()}}})},"1.0",{requires:["squarespace-escaping-utils","squarespace-util"]})},112839:function(){YUI.add("squarespace-touch-event-listener",function(y){y.Squarespace.TouchEventListener=y.SQS.Gallery.TouchEventListener},"1.0",{requires:["@sqs/yui-gallery/touch-event-listener"]})},755310:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o),i=e(848228),t=e(927582),r=e.n(t);YUI.add("squarespace-ui-base",function(s){s.namespace("Squarespace"),s.mix(s.Node.DOM_EVENTS,{message:!0}),s.Squarespace.DIALOG_ZINDEX_BASE=t.zIndexes.BASE,s.Anim._intervalTime=10;var d=Number;s.Anim.DEFAULT_SETTER=function(v,u,a,l,p,h,g,m){var S=v._node,_=S._node,C=g(p,d(a),d(l)-d(a),h);S._node!==null&&(_?"style"in _&&(u in _.style||u in s.DOM.CUSTOM_STYLES)?(m=m||"",S.setStyle(u,C+m)):"attributes"in _&&u in _.attributes?S.setAttribute(u,C):u in _&&(_[u]=C):S.set?S.set(u,C):u in S&&(S[u]=C))},s.Squarespace.TextShrink=s.Base.create("TextShrink",s.Plugin.Base,[],{initializer:function(){var v=this.get("host");s.Lang.isValue(this.get("parentEl"))||this.set("parentEl",v.ancestor()),this._setupEl(),s.on("domready",this.refresh,this),this._resizeEvent=s.on("resize",function(){this._timeout&&this._timeout.cancel(),this._timeout=s.later(100,this,this.refresh)},s.config.win,this),this._tweakChange=s.Global.on("tweak:change",this.refresh,this),this._tweakSaveResetClose=s.Global.on(["tweak:save","tweak:reset","tweak:close"],this.refresh,this)},refresh:function(){this._reset(),this._setupEl(),this._adjust()},isOverflowing:function(){var v=this._getWidths();return Math.abs(v.el-v.parentEl)<=3&&(v.el=v.parentEl=Math.min(v.el,v.parentEl)),v.el>v.parentEl},_adjust:function(){var v=this.get("host"),u=this._getWidths();if(this.isOverflowing()){var a=this._getStyleValue(v,"fontSize");a=u.parentEl/u.el*a,this._setFontSize(Math.floor(a))}return!0},_setFontSize:function(v){var u=this.get("host"),a=this.get("minFontSize");a&&v"),this.get("host").append(this._stylesheetEl),this._resizeEvent=s.on("resize",this.syncUI,s.config.win,this),this.syncUI()},syncUI:function(){var v;this.get("minWidth")?v=Math.floor(this.get("container").get("offsetWidth")/this.get("minWidth")):v=Math.ceil(this.get("container").get("offsetWidth")/this.get("maxWidth")),this._stylesheetEl.set("innerHTML",this.get("selector")+"{width:"+100/v+"% !important;}"),this.get("host").fire("simpleFlexibleGridSyncUI")},destructor:function(){this._stylesheetEl.remove(),this._resizeEvent.detach()}},{ATTRS:{container:{},selector:{},maxWidth:{},minWidth:{}},NS:"simple-flexible-grid"}),s.Squarespace.Mouse={lastX:100,lastY:100,client:{lastX:100,lastY:100},debug:function(){this.isDebugging=!0,this._debugNode||(this._debugNode=s.one(s.config.doc.body).appendChild("
"),this._debugNode.setStyles({position:"fixed",width:50,height:50,borderRadius:"50%",background:"rgba(20, 170, 255, 0.5)",marginLeft:-25,marginTop:-25,zIndex:Math.pow(10,5),pointerEvents:"none"})),this._debugNode.setStyles({top:s.Squarespace.Mouse.lastY,left:s.Squarespace.Mouse.lastX})}},s.Object.getValue(s.config.win,"Static.SQUARESPACE_CONTEXT.authenticatedAccount".split("."))&&s.on(s.UA.mobile?"touchmove":"mousemove",function(v){s.Squarespace.Mouse.lastX=v.pageX,s.Squarespace.Mouse.lastY=v.pageY,s.Squarespace.Mouse.client.lastX=v.clientX,s.Squarespace.Mouse.client.lastY=v.clientY,s.Squarespace.Mouse.isDebugging&&s.Squarespace.Mouse.debug()},s.one("html")),s.Squarespace.Image={loadAndFit:function(v,u){var a=new Image;a.src=u,s.one(a).on("load",function(l,p,h){p.set("src",h.src),p.resizeToParent({scale:"cover"})},this,v,a)},straighten:function(v,u,a,l){var p=(l<0?360-l:l)%360,h=p;p>=90&&(h=p%90-90),p>=180&&(h=-1*p%180-180),p>=270&&(h=p%270-90);var g=Math.abs(h)*(Math.PI/180),m;a>u?m=(u*Math.cos(g)+a*Math.sin(g))/u:m=(a*Math.cos(g)+u*Math.sin(g))/a,v.setStyle("transform","rotate("+l+"deg) scale("+Math.abs(m)+")")}},s.Squarespace.Position=Class.create({initialize:function(v){this.EDGE_MARGIN=20,this.avoidElX=v.avoidElX,this.avoidElY=v.avoidElY,this.xdir=v.xdir,this.ydir=v.ydir,this.x=v.x,this.y=v.y,this.xo=v.xo?v.xo:0,this.yo=v.yo?v.yo:0,this.w=v.w,this.h=v.h,this.initialX=this.getX(),this.initialY=this.getY()},setX:function(v){this.x=v},setY:function(v){this.y=v},getX:function(){return this.x+this.getXO()},getY:function(){return this.y+this.getYO()},getXY:function(){return[this.getX(),this.getY()]},getXAdj:function(){return this.initialX-this.getX()},getYAdj:function(){return this.initialY-this.getY()},getXO:function(){return(this.avoidElX&&this.xdir==="right"?this.avoidElX.get("offsetWidth"):0)+this.xo},getYO:function(){return(this.avoidElY&&this.ydir==="top"?-this.avoidElY.get("offsetHeight"):0)+this.yo},isRightViolation:function(){return this.x+this.w-Math.abs(this.getXO())+this.EDGE_MARGIN>s.one(document.body).get("winWidth")},isLeftViolation:function(){return this.x-Math.abs(this.getXO())-this.EDGE_MARGIN<0},isTopViolation:function(){return this.y-Math.abs(this.getYO())-this.EDGE_MARGINs.one(document.body).get("winHeight")+s.one(document.body).get("docScrollY")},reflectFix:function(){this.xdir==="right"&&this.isRightViolation()?(this.xdir="left",this.getX=function(){return this.x-this.w-this.getXO()+11}):this.xdir==="left"&&this.isLeftViolation()&&(this.xdir="right",this.getX=function(){return this.x+this.w+this.getXO()}),this.ydir==="bottom"&&this.isBottomViolation()?(this.ydir="top",this.getY=function(){return this.y-this.h-this.getYO()},console.log("bottom violation .. now "+this.getY())):this.ydir==="top"&&this.isTopViolation()&&(this.ydir="bottom",this.getY=function(){return this.y+this.h+this.getYO()},console.log("top violation")),this.getY()-this.EDGE_MARGIN<0?(this.getY=function(){return s.one(document.body).get("winHeight")-this.h-this.EDGE_MARGIN},this.ydir="bottom"):this.getY()+this.h+this.EDGE_MARGIN>s.one(document.body).get("winHeight")+s.one(document.body).get("docScrollY")&&(this.getY=function(){return s.one(document.body).get("winHeight")+s.one(document.body).get("docScrollY")-this.EDGE_MARGIN-this.h},this.ydir="top"),this.getX()-this.EDGE_MARGIN<0?(this.getX=function(){return this.EDGE_MARGIN},this.ydir="left"):this.getX()+this.w+this.EDGE_MARGIN>s.one(document.body).get("winWidth")&&(this.getX=function(){return s.one(document.body).get("winWidth")-this.w-this.EDGE_MARGIN},this.ydir="right"),this.getY()
'+this.params.title+"
"),this.params.body&&this.el.append('
'+this.params.body+"
"),s.one(document.body).append(this.el),this.position=new s.Squarespace.Position({xdir:"right",ydir:"bottom",x:this.lastX,y:this.lastY,xo:this.mouseOffset,yo:this.mouseOffset,w:this.el.get("offsetWidth"),h:this.el.get("offsetHeight")}),this.position.reflectFix(),this.el.setStyles({left:this.position.getX()+"px",top:this.position.getY()-this.position.yo+"px",width:this.params.width+"px",zIndex:2000000001,opacity:0}),this.params.icon&&this.el.setStyle("backgroundImage","url("+this.params.icon+")"),this.shown=!0,this.a=new s.Anim({node:this.el,to:{top:this.position.getY(),opacity:1},duration:.3,easing:s.Easing.easeOutStrong}),this.a.on("end",function(){this.a=null},this),this.a.run(),s.Squarespace.ToolTipManager.currentTip=this)},hide:function(){if(this.el){var v=new s.Anim({node:this.el,to:{top:this.position.getY()+15,opacity:0},duration:.3,easing:s.Easing.easeOutStrong});v.on("end",function(){this.get("node").remove()}),v.run(),this.el=null,this.a=null,this.shown=!1}}}),s.Squarespace.Lightbox=Class.create({defaultOpts:{overlayShowDuration:.35,contentShowDuration:.6,margin:0,opacity:1,transition:"fade",clickAnywhereToExit:!0,name:null,content:"
 
",theme:"black",overlayStyle:"orb"},name:"Lightbox",initialize:function(v){this.enabled=!0,this.params=s.merge(this.defaultOpts,v),this.params.containerNode||(this.params.containerNode=s.one("body")),this.params.transition||(this.params.transition="fade"),this.params.zIndex||(s.Squarespace.DIALOG_ZINDEX_BASE+=10,this.params.zIndex=s.Squarespace.DIALOG_ZINDEX_BASE),this.events=[]},enable:function(){this.enabled=!0,this.overlayEl&&this.overlayEl.setStyle("display","block")},disable:function(){this.enabled=!1,this.overlayEl&&this.overlayEl.setStyle("display","none")},getContentEl:function(){return this.contentEl},show:function(){var v="sqs-lightbox"+(this.params.name?" sqs-lightbox-"+this.params.name:"");if(s.Lang.isArray(this.params.classNames)&&(v=v+" "+this.params.classNames.join(" ")),this.contentEl=s.Node.create('
'),s.Lang.isArray(this.params.content)?this.params.content.forEach(function(a){this.contentEl.append(a)},this):this.contentEl.append(this.params.content),this.contentEl.setStyles({position:"fixed",opacity:"0",zIndex:this.params.zIndex}),this.events.push(s.on("resize",this.position,s.one(window),this)),this.params.disableNormalClose||s.Squarespace.EscManager.addTarget(this),this.params.containerNode.append(this.contentEl),this.params.contentOnly)this._showContent();else{var u="sqs-lightbox-overlay"+(this.params.name?" sqs-lightbox-overlay-"+this.params.name:"")+" "+this.params.theme;this.params.name&&(u+=" sqs-lightbox-overlay-"+this.params.name),this.params.overlayStyle&&(u+=" sqs-lightbox-overlay-style-"+this.params.overlayStyle),s.Lang.isArray(this.params.classNames)&&(u=u+" "+this.params.classNames.join(" ")),this.overlayEl=s.Node.create('
'),this.overlayEl.setStyles({zIndex:this.params.zIndex-1}),this.params.containerNode.append(this.overlayEl),this.fire("showing"),this.a=s.Squarespace.Transitions.getTransition({el:this.overlayEl,opacity:this.params.opacity,name:"fade",direction:"in",duration:this.params.overlayShowDuration}),this.a.on("end",function(){this.fire("overlay-visible"),this.a=null,this._showContent()},this),this.a.run(),this.params.disableNormalClose?this.events.push(s.on("click",function(a){a.halt()},this.overlayEl,this)):this.events.push(s.on("click",this.close,this.overlayEl,this))}this.params.clickAnywhereToExit&&this.events.push(s.on("click",this.hide,this.contentEl,this))},position:function(){if(this.enabled){var v=s.one(document).get("winWidth"),u=s.one(document).get("winHeight"),a,l;vthis.params.contentShowDuration&&(this.a=v),v.run()),v=s.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"out",duration:this.params.contentShowDuration}),this.a||(this.a=v),v.run(),this.a.on("end",function(){this.destroy(),this.fire("hidden")},this))},destroy:function(){for(var v=0;v0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)),this._cookiesEnabled},storeSharedSSIdentity:function(){try{var m={identifier:a.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","identifier"])},S=btoa(JSON.stringify(m));s().set("ss_lastid",S,{domain:Static.SQUARESPACE_CONTEXT.appDomain,path:"/"})}catch(_){}},removeSharedSSIdentity:function(){try{s().set("ss_lastid",{domain:Static.SQUARESPACE_CONTEXT.appDomain,expires:new Date(0),path:"/"})}catch(m){}},onPointerAction:function(m,S,_){var C=Array.prototype.slice.call(arguments);return C.splice(1,0,"on"),a.Squarespace.Utils._attachPointerAction.apply(this,C)},_attachPointerAction:function(m,S,_,C){var O=Array.prototype.slice.call(arguments);return O.splice(0,2),O.splice(0,0,"click"),m[S].apply(m,O)}},a.Squarespace.Marketing={trackLanding:function(){var m=a.QueryString.parse(document.location.search.substring(1)),S=["source","campaign","subcampaign","channel","subchannel","refer","variation","mkwid"],_={landing:document.location.href,refer:document.referrer,rk:parseInt(Math.random()*99999999,10)};navigator.language?_.lang=navigator.language.toLowerCase():navigator.browserLanguage&&(_.lang=navigator.browserLanguage.toLowerCase()),self.screen&&(_.screen=screen.width+"x"+screen.height);for(var C=0;C0},a.namespace("Squarespace.Lang").sub=function(m,S){var _=/\{\s*([^|}]+?)\s*(?:\|([^}]*))?\s*\}/g;return m.replace?m.replace(_,function(C,O){var A=a.Object.getValue(S,O.split("."));return a.Lang.isUndefined(A)?C:A}):m},!!a.Base){if(a.Color){var l=a.Color.toRGB;a.Color.re_RGBA=/^rgba\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+),\s*(\d+(?:\.\d+)?)\)$/i,a.Color.toRGB=function(m){return a.Color.re_RGBA.exec(m)?"rgb("+RegExp.$1+","+RegExp.$2+","+RegExp.$3+")":l(m)}}a.SQSAnim=a.Base.create("SQSAnim",a.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):a.Anim.prototype.run.call(this)}});var p=function(m,S,_,C){return m/=C/2,m<1?_/2*m*m*m+S:(m-=2,_/2*(m*m*m+2)+S)};a.augment(a.Node,Class.create({anim:function(m,S,_){return S=a.merge({node:this,duration:.5,easing:p,to:m},S),this.activeAnim&&this.activeAnim.stop(!0),this.activeAnim=new a.SQSAnim(S),this.activeAnim.on("end",function(){delete this.activeAnim},this),S.end&&this.activeAnim.on("end",S.end,_||S.context),S.start&&this.activeAnim.on("start",S.start,_||S.context),this.nodedestroynotifier||this.plug(a.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.activeAnim&&this.activeAnim.stop(!0)},context:this}),this.activeAnim},getAdjustedDimensions:function(m){var S=this;m||(m={}),m.scale||(m.scale="cover"),m.align||(m.align="center");var _=S.get("parentNode"),C=this.getAttribute("data-image-dimensions"),O,A;C?(C=C.split("x"),C={width:parseInt(C[0],10),height:parseInt(C[1],10)},O=C.width,A=C.height):(!S.getData("width")&&!S.getData("height")&&(S.setData("width",m&&m.width?parseInt(m.width,10):S.getAttribute("width")||S.get("offsetWidth")),S.setData("height",m&&m.height?parseInt(m.height,10):S.getAttribute("height")||S.get("offsetHeight"))),a.Squarespace.Lang.isPercentage(S.getData("width"))?O=_.get("offsetWidth")*(parseInt(S.getData("width"),10)/100):O=parseInt(S.getData("width"),10),a.Squarespace.Lang.isPercentage(S.getData("height"))?A=_.get("offsetHeight")*(parseInt(S.getData("height"),10)/100):A=parseInt(S.getData("height"),10));var x=m.containerWidth||_.get("offsetWidth")-(_.get("offsetWidth")-_.get("clientWidth")),T=m.containerHeight||_.get("offsetHeight")-(_.get("offsetHeight")-_.get("clientHeight")),R=O/A,N=x/T,B,z,K;m.scale&&_.getStyle("overflow")!=="hidden"&&_.setStyle("overflow","hidden"),m.sizeOnly?K=x/O:m.scale==="contain"?K=R>N?x/O:T/A:K=R>N?T/A:x/O;var $=O,ie=A;return m.scale==="contain"?($=O*K,ie=A*K,B=ieT?(ie-T)/-2:0,z=$>x?($-x)/-2:0,m.focalPoint&&(z=Math.min(Math.max(x/2-$*m.focalPoint[0],x-$),0),B=Math.min(Math.max(T/2-ie*m.focalPoint[1],T-ie),0))),{top:B,left:z,width:$,height:ie}},resizeToParent:function(m){var S=this.getAdjustedDimensions(m),_=this.getStyle("position");if(m.sizeOnly){this.setStyles({width:S.width,height:S.height});var C=this.one("embed");if(C&&this.one("embed").setStyles({width:S.width,height:S.height}),this.test("iframe")){var O=this.getAttribute("src");if(O)if(O.indexOf("?")!==-1){var A=O.split("?");A[1].indexOf("wmode=transparent")===-1&&this.setAttribute("src",A[0]+"?wmode=transparent&"+A[1])}else this.setAttribute("src",O+"?wmode=transparent")}C&&C.getAttribute("wmode")!=="transparent"&&this.one("embed").setAttribute("wmode","transparent")}else{var x=5;this.setStyles({position:_!=="relative"&&_!=="absolute"?"relative":_,top:S.top.toFixed(x),left:S.left.toFixed(x),width:S.width.toFixed(x),height:S.height.toFixed(x)})}},width:function(){return this.get("offsetWidth")},height:function(){return this.get("offsetHeight")},setWidth:function(m){this.setStyle("width",m)},setHeight:function(m){this.setStyle("height",m)}}));var h=["Webkit","Moz","O","ms"],g=["transition","transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay","backfaceVisibility","userSelect","borderBottomLeftRadius","borderBottomRightRadius"];a.Array.each(h,function(m){a.Array.each(g,function(S){var _=m+S.charAt(0).toUpperCase()+S.slice(1);_ in a.config.doc.documentElement.style&&(a.DOM.CUSTOM_STYLES[S]={set:function(C,O,A){A[_]=O,A[S]=O},get:function(C,O){a.DOM.getComputedStyle(C,_)}})})}),a.IO.prototype._destroy=function(m){a.config.win&&!m.notify&&!m.xdr&&(!m.upload&&m.c?m.c.onreadystatechange=null:m.upload&&(m.c.upload.onprogress=null,m.c.onload=null,m.c.onerror=null)),m=m.c=null}}},"1.0",{requires:["anim","base","event","io","json","jsonp","node","node-event-delegate","plugin","promise","querystring","selector","squarespace-anim-raf","squarespace-data","squarespace-dom-emitters-resize","squarespace-logger","squarespace-plugin-node-destroy-notifier","squarespace-public-api","squarespace-system-error","squarespace-ui-base","yui-later"]})},925576:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o),i=e(451886),t=e(505004),r=e.n(t),s=e(762379),d=e(435359),v=e.n(d);YUI.add("squarespace-video-loader",function(u){u.namespace("Squarespace"),u.Squarespace.VideoLoader=u.Base.create("VideoLoader",u.Plugin.Base,[],{initializer:function(){var a=this.get("host");a.plug(u.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this._setVariables(),this._resizeEmitter=new u.Squarespace.ResizeEmitter({timeout:1e3}),this._onFullscreenChangeHandler=this.handleFullScreenChange.bind(this),this._modeClass="video-"+this.get("mode"),a.addClass(this._modeClass),this.once("loaded",this.bindUI,this),this.get("load")&&this.load(),this.after("forceAutoplayChange",function(){this._augmentVideoSrc()})},destructor:function(){this.prefixedFullScreenEvents.forEach(function(a){u.config.doc.removeEventListener(a,this._onFullscreenChangeHandler)}.bind(this)),this._resizeEmitter.destroy()},load:function(){if(!this._loaded){this.get("type")==="invalid"&&(this._intrinsic=!1,this.get("overlay")&&(this.get("overlay").remove(),this._set("overlay",null)));var a=this.get("host"),l=this.get("mode");a.removeClass(this._modeClass),this._modeClass="video-"+l,a.addClass(this._modeClass);var p,h;if(this._intrinsic){var g=this.getWidth(),m=this.getHeight(),S;g&&m?S=m/g*100:S=56.3,p=this._getOrCreateNode(".intrinsic",'
'),h=this._getOrCreateNode(".intrinsic-inner",'
'),h.setStyle("paddingBottom",S+"%");var _=a.get("parentNode"),C=_.getComputedStyle("position");l==="fit"?(a.setStyles(a.getAdjustedDimensions({scale:"contain",width:this.getWidth(),height:this.getHeight()})),C==="static"&&_.setStyle("position","relative")):l==="fill"&&C==="static"&&_.setStyle("position","relative"),this.get("overlay")?(this.get("overlay").wrap(h),h.wrap(p)):(p.appendChild(h),a.appendChild(p))}var O=this.get("overlay");if(O){O.setStyle("opacity",1);var A=O.one(".sqs-video-opaque");A||(A=u.Node.create('
'),O.appendChild(A));var x=O.one(".sqs-video-icon");x||(x=u.Node.create('
'),O.appendChild(x)),this._setPlayButtonAttributes(this.get("inactive")),this.after("inactiveChange",function(R){this._setPlayButtonAttributes(R.newVal)},this);var T=O.one("img");T&&(T.fire("refresh"),T.plug(u.Squarespace.Loader2,{load:!0,mode:"fill"}),T.fire("refresh"))}else p?h.appendChild(this.get("video")):a.appendChild(this.get("video")),this._set("showingVideo",!0);this._cacheOverlayWrapperHeight(),this.fire("loaded"),this._loaded=!0}},_setPlayButtonAttributes:function(a){var l=this.get("overlay").one(".sqs-video-icon");a?(l.removeAttribute("tabindex"),l.removeAttribute("role"),l.removeAttribute("aria-label")):(l.setAttribute("tabindex",0),l.setAttribute("role","button"),l.setAttribute("aria-label",(0,o.t)("Play")))},_cacheOverlayWrapperHeight:function(){var a=this.get("host").get("parentNode"),l=a.get("offsetHeight");a.setData("cached-height",l)},_getOrCreateNode:function(a,l){var p=this.get("host").one(a);return p||u.Node.create(l)},unload:function(){var a=this.get("host");a.setStyles({top:null}),this.showOverlay(),this.get("overlay")&&this.get("overlay").remove(),this.get("video").remove(),this._intrinsic&&a.one(".intrinsic").remove(!0),this.get("overlay")&&(this.get("overlay").setStyle("opacity",0),a.appendChild(this.get("overlay"))),this._setIntrinsic(),this._loaded=!1},reload:function(){this.unload(),this.load()},handleFullScreenChange:function(a){this.isFullScreen=!this.isFullScreen},showVideoIfNotInactive:function(){this.get("inactive")||this.showVideo()},bindUI:function(){this.get("overlay")&&(this.get("overlay").on("click",this.showVideoIfNotInactive,this),this.get("overlay").one(".sqs-video-icon").on("keydown",function(a){var l=a.keyCode===13,p=a.keyCode===32;(l||p)&&this.showVideoIfNotInactive()},this)),this.after("modeChange",this.reload,this),this._resizeEmitter.on("resize",function(){if(this.get("mode")==="fit"&&this._resetFitTop(),this.get("overlay")){var a=this.get("overlay").one("img");a&&a.fire("refresh")}},this),this._resizeEmitter.on("resize:end",function(){this.get("mode")==="fit"&&!this.isFullScreen&&(this._cacheOverlayWrapperHeight(),this._resetFitTop())},this),this.prefixedFullScreenEvents.forEach(function(a){u.config.doc.addEventListener(a,this._onFullscreenChangeHandler)}.bind(this)),u.Global.on("tweak:aftershow",function(){this.get("mode")==="fit"&&this._resetFitTop()},this),u.Global.after("tweak:afterclose",function(){this.get("mode")==="fit"&&setTimeout(u.bind(function(){this._resetFitTop()},this),1e3)},this)},showVideo:function(){if(!(this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!0),this._showOverlayOnOthers();var a=this.get("video");a.setStyle("opacity",0),this._intrinsic?this.get("host").one(".intrinsic-inner").appendChild(a):this.get("host").appendChild(a);var l=this.get("overlay"),p=l.one(".sqs-video-opaque");p.anim({opacity:1},{duration:1,start:function(){l.one(".sqs-video-icon").setStyle("visibility","hidden")},end:function(){this.get("video").setStyle("opacity",1),this.get("showingVideo")&&l.setStyle("visibility","hidden"),l.hasClass("no-thumb")?p.setStyle("opacity",1):p.setStyle("opacity",0),l.one(".sqs-video-icon").setStyle("visibility",null)},context:this}).run()}},showOverlay:function(){if(!(!this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!1),this.get("overlay").setStyle("opacity",0),this.get("overlay").setStyle("visibility",null);var a=this.get("video");a.anim({opacity:0},{duration:.3,start:function(){this.get("overlay").anim({opacity:1},{duration:.3}).run()},end:function(){a.remove()},context:this}).run()}},refreshVideo:function(){if(this.get("showingVideo")){var a=this.get("video");if(this.get("type")==="object"){a.remove();var l=this.get("host");this._intrinsic?l.one(".intrinsic-inner").appendChild(a):l.appendChild(a)}else this.get("type")==="iframe"&&a.setAttribute("src",a.getAttribute("src"))}},play:function(){if(this.get("apiFriendly")){var a=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":a.postMessage('{"method": "play", "value": "true"}',"*");break;case"YouTube":a.postMessage('{"event":"command","func":"playVideo","args":""}',"*");break}}},pause:function(){if(this.get("apiFriendly")){var a=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":a.postMessage('{"method": "pause", "value": "true"}',"*");break;case"YouTube":a.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*");break}}},getWidth:function(){return this.get("video").getAttribute("width")},getHeight:function(){return this.get("video").getAttribute("height")},_setVariables:function(){var a=this.get("host");this._setIntrinsic(),this._set("overlay",a.one(".sqs-video-overlay"));var l=u.Node.create(a.getAttribute("data-html")),p=u.Node.create('
'+(0,o.t)("Custom featured images only available with embedded videos. Go back into embed settings to turn off featured images.")+"
"),h=u.Node.create('
'+(0,o.t)("Invalid video embed.")+"
"),g;l?l.test("iframe")?(g=l,this._set("type","iframe")):l.test("object")?(g=l,this._set("type","object")):l.one("iframe")?(g=l.one("iframe"),this._set("type","iframe")):l.one("object")?l.one("embed")?(g=l.one("object"),this._set("type","object")):(g=h,this._set("type","invalid")):this.get("overlay")?(g=p,this._set("type","invalid")):(g=h,this._set("type","invalid")):(g=h,this._set("type","invalid")),this._set("video",g);var m=a.getAttribute("data-provider-name");if((!m||m==="")&&this.get("type")!=="invalid"){var S=this.get("video").getAttribute("src");S.match("player.vimeo.com")?m="Vimeo":S.match("www.youtube.com")&&(m="YouTube")}this._providerName=m,this.isFullScreen=u.config.doc.fullScreen||u.config.doc.mozFullScreen||u.config.doc.webkitIsFullScreen,this.prefixedFullScreenEvents=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],this.get("type")==="invalid"?a.addClass("video-invalid"):(this._augmentVideoSrc(),a.removeClass("video-invalid"))},_setIntrinsic:function(){this._intrinsic=this.get("mode")==="none"||this.get("mode")==="fit"},_resetFitTop:function(){var a=this.get("host"),l=a.get("parentNode").get("offsetHeight");l>u.config.win.innerHeight&&(l=a.get("parentNode").getData("cached-height")||u.config.win.innerHeight);var p=a.one(".intrinsic");p.setStyle("top",null);var h=p.get("offsetHeight");a.setStyle("top",(l-h)/2+"px")},_augmentVideoSrc:function(){var a=this.get("type"),l=this.get("video"),p=a==="iframe"?l:l.one("embed")||l,h=p.test("object")?"data":"src",g=p.getAttribute(h),m=g.split("?"),S=m[0],_=m[1]||"",C=u.QueryString.parse(_),O=this._providerName;(this.get("overlay")||this.get("forceAutoplay"))&&(O===(0,o.t)("Wistia, Inc.")?C.autoPlay="true":O==="Animoto"?C.options="autostart":C.autoplay=1);var A=["Vimeo","YouTube","Wistia, Inc.","Animoto"];if((a==="object"||A.indexOf(O)!==-1)&&t.isSecure()&&(S=t.securifyURL(S)),S=S.replace("http:////","//"),S=S.replace("https:////","//"),s.default.isFeatureEnabled(v().GDPR_COOKIE_BANNER)&&O==="YouTube"&&(0,i.z)()&&(S=S.replace("https://www.youtube.com","https://www.youtube-nocookie.com")),a==="iframe")switch(O){case"YouTube":C.enablejsapi=1,this._set("apiFriendly",!0);break}g=S+"?"+u.QueryString.stringify(C),p.setAttribute(h,g)},_showOverlayOnOthers:function(){u.all(".sqs-video-wrapper").each(function(a){a!==this.get("host")&&a.videoloader.showOverlay()},this)}},{NS:"videoloader",ATTRS:{apiFriendly:{value:!1,readOnly:!0},inactive:{value:!1},load:{value:!0},mode:{value:"none",validator:function(a){return["none","fit","fill",null].indexOf(a)!==-1}},overlay:{value:null,readOnly:!0},showingVideo:{value:!1,readOnly:!0},type:{value:null,readOnly:!0},video:{value:null,readOnly:!0},forceAutoplay:{value:!1}}})},"1.0",{requires:["base","node","plugin","querystring","squarespace-dom-emitters-resize","squarespace-image-loader","squarespace-plugin-node-destroy-notifier","squarespace-ui-base"]})},622947:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o);YUI.add("squarespace-widgets-alert",function(i){i.namespace("Squarespace.Widgets");var t=i.Squarespace.Widgets.Alert=i.Base.create("alert",i.Squarespace.Widgets.Confirmation,[],{},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:i.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:i.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:i.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(r){return new t(r)},ATTRS:{className:{value:"alert"},style:{value:i.Squarespace.Widgets.Confirmation.TYPE.CONFIRM_ONLY},"strings.confirm":{value:(0,o.t)("Okay")}}})},"1.0",{requires:["base","squarespace-widgets-confirmation"]})},348260:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o),i=e(798589),t=e(295378);YUI.add("squarespace-widgets-confirmation",function(r){r.namespace("Squarespace.Widgets");var s={CONFIRM_OR_REJECT:0,CONFIRM_OR_CANCEL:1,CONFIRM_ONLY:2,NO_BUTTONS:3},d=r.Squarespace.Widgets.Confirmation=r.Base.create("confirmation",r.Widget,[r.Squarespace.Mixins.EventRegistrar],{initializer:function(){this._posHelper=new r.Squarespace.Widgets.PositionHelper(this.get("position"),this.get("padding")),this._resizeEmitter=new r.Squarespace.ResizeEmitter,this.get("escToCancel")&&(r.Squarespace.EscManager.addTarget(this),this.ignoreBodyClicks=!0);var v=["show","hide","confirm","reject","cancel"];r.Array.each(v,function(u){this.publish(u,{emitFacade:!0,broadcast:2})},this),this._timers=[]},destructor:function(){for(r.Squarespace.EscManager.removeTarget(this),this._resizeEmitter.destroy(),this._resizeEmitter=null,this._posHelper=null,this._overlay=null,this._buttonsNode=null,this._cancelButton=null,this._rejectButton=null,this._confirmButton=null;this._timers.length!==0;)this._timers.shift().cancel();this._timers=null,this.detachAll()},renderUI:function(){d.superclass.renderUI.call(this);var v=this.get("zIndex"),u=this.get("boundingBox"),a=this.get("contentBox"),l=this.constructor.TEMPLATE;r.Lang.isString(l)&&a.prepend(l),u.addClass(this.get("className")),r.Lang.isValue(v)&&u.setStyle("z-index",v),a.addClass("clear"),a.one(".title").setContent(this.get("strings.title"));var p=r.guid();a.one(".title").setAttribute("id",p),a.one(".message").setContent(this.get("strings.message"));var h=r.guid();a.one(".message").setAttribute("id",h),a.setAttribute("role","dialog"),a.setAttribute("aria-labelledby",p+" "+h),this._buttonsNode=a.one(".buttons"),this._renderButtons(),this.get("visible")&&this.show()},bindUI:function(){var v=r.bind(function(p){return function(g){g.halt(),this._handleResponse(p)}},this),u=r.bind(function(p){return function(g){(g.keyCode===32||g.keyCode===13)&&(g.halt(),this._handleResponse(p))}},this);r.Lang.isValue(this._confirmButton)&&(this._confirmButton.on("click",v("confirm"),this),this._confirmButton.on("keydown",u("confirm"),this)),r.Lang.isValue(this._cancelButton)&&(this._cancelButton.on("click",v("cancel"),this),this._cancelButton.on("keydown",u("cancel"),this)),r.Lang.isValue(this._rejectButton)&&(this._rejectButton.on("click",v("reject"),this),this._rejectButton.on("keydown",u("reject"),this)),this.after("positionChange",function(){this._posHelper=new r.Squarespace.Widgets.PositionHelper(this.get("position"),this.get("padding"))},this),this.get("position")!==r.Squarespace.Widgets.PositionHelper.ANCHOR.MOUSE&&this._registerEvent(this._resizeEmitter.on("resize",this._updatePosition,this));var a=this.get("hideAfterTime");r.Lang.isNumber(a)&&this._registerTimer(r.later(a,this,this._hideAfterTime)),this.get("destroyOnHide")&&this.onceAfter("hide",this.destroy,this),this.before("hide",function(){this._revertFocusContainment(),r.Lang.isValue(this._overlay)&&this._overlay.remove(!0)},this),this.on("cancel",this.hide,this),this.onceAfter("confirm",this.hide,this),this.onceAfter("reject",this.hide,this)},_handleResponse:function(v){this.fire(v)},_renderButtons:function(){var v=this.get("style");v!==s.NO_BUTTONS&&(v!==s.CONFIRM_ONLY&&(this._cancelButton=this._buttonsNode.appendChild(this._createButton("cancel"))),v===s.CONFIRM_OR_REJECT&&(this._rejectButton=this._buttonsNode.appendChild(this._createButton("reject"))),this._confirmButton=this._buttonsNode.appendChild(this._createButton("confirm")))},_createButton:function(v){var u="div";return r.Node.create(r.Lang.sub('<{element} role="button" tabindex="0" class="confirmation-button no-frame {type}">{sub1}',{type:v,sub1:this.get("strings."+v),element:u}))},_updatePosition:function(){var v=this.get("boundingBox"),u=this._posHelper.fetch(v,this.get("anchor"));v.setStyles(u)},_renderOverlay:function(){var v=this.get("boundingBox"),u=this.get("zIndex")||parseInt(v.getStyle("z-index"),10);this._overlay=v.insertBefore("
",v),this._overlay.addClass(this.getClassName("overlay")),this._overlay.setStyle("z-index",u-1),this.get("showOverlay")||this._overlay.setStyle("opacity","0"),this._overlay.on("click",function(a){a.halt(),this._handleResponse("cancel")},this)},show:function(){r.Lang.isValue(this._overlay)||this._renderOverlay();var v=this.get("boundingBox");this.set("visible",!0),v.setStyle("width",this.get("width")),this._updatePosition(),v.addClass("shown"),this._revertFocusContainment=(0,t.containFocus)({container:v.getDOMNode(),root:r.one("body").getDOMNode(),setFocusOnContain:this._confirmButton&&this._confirmButton.getDOMNode()||!0}),this.fire("show")},hide:function(v){var u=function(p,h){var g=p.addClass;h&&(g=p.removeClass),r.bind(g,p,"hiding")(),r.Lang.isValue(r.UA.mobile)&&r.bind(g,p,"mobile")()},a=this.get("boundingBox"),l=function(){r.Lang.isValue(a.getDOMNode())&&a.hasClass("hiding")&&(u(a,!0),this.set("visible",!1),this.fire("hide"))};r.Lang.isBoolean(v)&&v?l.call(this):(u(a),a.once(["transitionend","oTransitionEnd","otransitionend","webkitTransitionEnd"],l,this),this._registerTimer(r.later(600,this,l)))},_hideAfterTime:function(){this.hide()},_registerTimer:function(v){this._timers.push(v)}},{CSS_PREFIX:"sqs-widgets-confirmation",TEMPLATE:'
',TYPE:s,ANCHOR:r.Squarespace.Widgets.PositionHelper.ANCHOR,show:function(v){return new d(v)},ATTRS:{className:{value:"question",validator:r.Lang.isString},escToCancel:{value:!0,validator:r.Lang.isBoolean},hideAfterTime:{validator:r.Squarespace.AttrValidators.isNullOrNumber},destroyOnHide:{value:!0,validator:r.Lang.isBoolean},position:{getter:function(v){return r.Lang.isValue(v)?v:r.Lang.isValue(r.UA.mobile)||i.isSubDesktop()?r.Squarespace.Widgets.PositionHelper.ANCHOR.CENTER:r.Squarespace.Widgets.PositionHelper.ANCHOR.MOUSE},validator:r.Lang.isFunction},anchor:{},padding:{value:20,validator:r.Lang.isNumber},render:{valueFn:function(){var v=r.one(r.Squarespace.Damask.ContextGlobals.fromTop("Y.config.doc.body"));return r.Lang.isValue(v)?v:r.one(r.config.doc.body)}},style:{value:s.CONFIRM_OR_CANCEL,validator:r.Lang.isNumber},showOverlay:{value:!1,validator:r.Lang.isBoolean},strings:{value:{title:"",message:"",confirm:(0,o.t)("Confirm"),cancel:(0,o.t)("Cancel"),reject:(0,o.t)("Reject")}},width:{value:350},zIndex:{validator:r.Squarespace.AttrValidators.isNullOrNumber},instrumentationTitle:{value:null}}})},"1.0",{requires:["base","squarespace-damask-context-globals","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-mixins-event-registrar","squarespace-util","squarespace-widgets-position-helper"]})},449309:function(){YUI.add("squarespace-widgets-gismo",function(y){y.namespace("Squarespace.Widgets"),y.Squarespace.Widgets.Gismo=y.Base.create("Gismo",y.Widget,[y.Squarespace.GismoBase])},"1.0",{requires:["base","squarespace-gismo","widget"]})},394317:function(){YUI.add("squarespace-widgets-information",function(y){y.namespace("Squarespace.Widgets");var c=y.Squarespace.Widgets.Information=y.Base.create("information",y.Squarespace.Widgets.Confirmation,[],{_hideAfterTime:function(){this.hide(),this._handleResponse("confirm")},_renderOverlay:function(){this.get("showOverlay")&&c.superclass._renderOverlay.call(this)}},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:y.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:y.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:y.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(e){return new c(e)},ATTRS:{className:{value:"okay"},style:{value:y.Squarespace.Widgets.Confirmation.TYPE.NO_BUTTONS},position:{value:y.Squarespace.Widgets.PositionHelper.ANCHOR.TOP_RIGHT},hideAfterTime:{value:2e3},escToCancel:{value:!1}}})},"1.0",{requires:["base","squarespace-widgets-confirmation","squarespace-widgets-position-helper"]})},337225:function(){YUI.add("squarespace-widgets-lightbox2-overlay",function(y){y.namespace("Squarespace.Widgets"),y.Squarespace.Widgets.Lightbox2Overlay=y.Squarespace.Lightbox2Overlay=y.Base.create("LightboxOverlay",y.Squarespace.Widgets.Gismo,[],{destructor:function(){y.Lang.isValue(this._overlayEl)&&(this._overlayEl.destroy(!0),this._overlayEl=null)},renderUI:function(){this._overlayEl=y.Node.create('
'),this._overlayEl.addClass("sqs-lightbox-overlay-"+this.get("overlayStyle")),this.get("theme")==="light"&&this._overlayEl.addClass("light"),this.get("contentBox").appendChild(this._overlayEl),this.get("contentBox").plug(y.Squarespace.Plugin.ScrollLock),this.show()},show:function(){this._overlayEl.setStyles({zIndex:"10000000"});var c=this._anim(this._overlayEl,{opacity:this.get("opacity")},{duration:this.get("speed")});c.on("end",function(){this.fire("shown")},this),c.run()},overlayHideAndDestroy:function(){this.once("hidden",this.destroy),this._hide()},_hide:function(){this.fire("hide");var c=this._anim(this._overlayEl,{opacity:0},{duration:this.get("speed")});c.on("end",function(){this.fire("hidden")},this),this.get("destroyed")?this.fire("hidden"):c.run()},_getContainer:function(){return this._overlayEl}},{NS:"overlay",ATTRS:{opacity:{value:.95},overlayStyle:{value:"default"},theme:{value:"dark"},container:{getter:"_getContainer"},speed:{value:.3}}})},"1.0",{requires:["base","node","squarespace-plugin-scroll-lock","squarespace-widgets-gismo"]})},613519:function(y,c,e){"use strict";e.r(c);var o=e(604277),n=e.n(o),i=e(678404),t=e.n(i),r=e(102577),s=e.n(r),d=e(745443),v=e(295378);function u(a,l){var p=a._node,h=l._node,g=p.clientWidth,m=p.clientHeight,S=g/m,_=h.getAttribute("width"),C=h.getAttribute("height"),O=_/C,A=S>O?"height":"width";if(l.setStyle("position","relative"),l.setStyle("object-fit","contain"),A==="height"){var x=m*O;l.setStyle("width",x+"px"),l.setStyle("height",m+"px"),l.setStyle("left",g/2-x/2+"px"),l.setStyle("top","0px")}else{var T=g/O;l.setStyle("height",T+"px"),l.setStyle("width",g+"px"),l.setStyle("left","0px"),l.setStyle("top",m/2-T/2+"px")}var R=100*(g/Y.config.win.innerWidth),N=100*(m/Y.config.win.innerHeight);h.sizes="min("+R+"vw,"+N*O+"vh)"}YUI.add("squarespace-widgets-lightbox2",function(a){a.namespace("Squarespace.Widgets"),a.Squarespace.Widgets.Lightbox2=a.Squarespace.Lightbox2=a.Base.create("Lightbox2",a.Squarespace.Widgets.Gismo,[],{initializer:function(){a.config.win.ACTIVE_LIGHTBOX=this;var l=this.get("contentBox");l.set("role","dialog"),l.set("aria-label",this.get("title")),this._overlay=new a.Squarespace.Lightbox2Overlay({theme:this.get("theme")}),this._overlay.on("hide",this.hideAndDestroy,this),this.bMobile=a.SQS.Gallery.Manager.isMobile(),this.requestUpdateHeightAndRefresh=(0,d.default)(this.updateHeightAndRefresh.bind(this))},destructor:function(){this._flushEvents(),a.Lang.isValue(this._slideshow)&&(this._slideshow.destroy(),this._slideshow=null),this._overlay.destroy(),this._overlay=null,a.config.win.ACTIVE_LIGHTBOX=null,this.crossBrowserResizeHandle&&s().removeListener(this.crossBrowserResizeHandle)},renderUI:function(){a.Squarespace.Lightbox2.superclass.renderUI.call(this),a.one("body").addClass("sqs-lightbox-open");var l=this.get("contentBox");this._overlay.render(l);var p=(0,o.t)("Close");if(this._closeEl=a.Node.create('').appendTo(l).hide(),this.get("set").length>1){if(!this.bMobile&&this.get("controls.previous")){var h=(0,o.t)("Previous Item");this._previousEl=a.Node.create(''),l.appendChild(this._previousEl)}if(!this.bMobile&&this.get("controls.next")){var g=(0,o.t)("Next Item");this._nextEl=a.Node.create(''),l.appendChild(this._nextEl)}}else this.get("set").length||this.set("set",[{content:this.get("content"),meta:this.get("meta")}]);if(this._slideshow=this.createSlideshow(l),this._lightboxContentEl=this._slideshow.get("container"),this.bMobile){var m=(0,o.t)("Toggle Caption");this._metaTriggerEl=a.Node.create('').appendTo(l)}this._lightboxContentEl.setStyles({opacity:1}),this._overlay.once("shown",function(){if(this.ignoreBodyClicks=!0,a.Squarespace.EscManager.addTarget(this),this._lightboxContentEl.show(),this._closeEl&&this._closeEl.show(),this._slideshow){var S=this._slideshow.get("slides").item(this._slideshow.get("currentIndex")).one(".sqs-video-wrapper");S&&S.videoloader.showVideo()}this.revertFocusContainment=(0,v.containFocus)({container:l._node})},this),l.plug(a.Squarespace.Plugin.ScrollLock)},bindClickAndKeyDownEvents:function(l,p,h){this._event(l.on("click",p,this),h),this._event(l.on("keydown",function(g){(g.keyCode===13||g.keyCode===32)&&p.call(this,g)},this),h)},bindUI:function(){if(a.Squarespace.Lightbox2.superclass.bindUI.call(this),this._slideshow.after("currentIndexChange",a.bind(function(h){this.set("currentSetIndex",h.newVal),this.syncUI()},this)),a.config.win.orientation!==void 0&&this._event(a.one(a.config.win).on("orientationchange",this.requestUpdateHeightAndRefresh,this)),this._closeEl&&this.bindClickAndKeyDownEvents(this._closeEl,function(h){h.halt(),this.hideAndDestroy(!0)}),this._metaTriggerEl&&this.bindClickAndKeyDownEvents(this._metaTriggerEl,function(){this.toggleMeta()},"meta-trigger"),this._previousEl){this.bindClickAndKeyDownEvents(this._previousEl,function(h){h.halt(),this.previous()},"previous-click");var l=a.throttle(a.bind(this.previous,this),200);this._event(a.on("key",function(h){h.halt(),l()},a.config.win,"down:37",this),"keyboard")}if(this._nextEl){this.bindClickAndKeyDownEvents(this._nextEl,function(h){h.halt(),this.next()},"next-click");var p=a.throttle(a.bind(this.next,this),200);this._event(a.on("key",function(h){h.halt(),p()},a.config.win,"down:39",this),"keyboard"),this.bMobile||this.setupNavigationFade()}this.isMobile||this._event(this.get("contentBox").on("click",this.onContentBoxClick,this)),this._event(a.on("transition:scroll:tapped",function(h){this.onContentBoxClick(h.touchEvent)},this)),this.crossBrowserResizeHandle=s().addListener(this.requestUpdateHeightAndRefresh.bind(this))},syncUI:function(){var l=t()(a.config.doc).scrollTop;this.get("contentBox").setStyles({top:l,height:a.config.win.innerHeight});var p=this._slideshow._currentSlide(),h=p.one(".sqs-lightbox-meta")||this.createMetaEl(p);if(h)if(a.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.show(),this.bMobile)h.appendTo(p),h.setStyles({bottom:this.bMetaEnabled?0:"-5000px",left:0,right:0}),h.addClass("overlay-description-visible");else{var g=p.one(".sqs-lightbox-padder").get("children").item(0);h.setStyles({bottom:parseInt(g.getStyle("top"),10)-1+"px",left:g.getStyle("left"),right:parseInt(g.getStyle("left"),10)-1+"px"})}else a.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.hide()},updateHeightAndRefresh:function(){this.syncUI(),this._slideshow.refresh()},onContentBoxClick:function(l){if(!l.target.ancestor("a",!0)){if(l.halt(),l.target.ancestor(".sqs-video-wrapper")){l.target.ancestor(".sqs-video-wrapper").videoloader.showVideo();return}if(!this.bMobile){var p=a.one("body").get("winWidth"),h=a.one("body").get("winHeight"),g=.02;if(l.clientX>p*g&&l.clientXh*g&&l.clientY=p/2&&this._nextEl){this.next();return}else if(l.clientX').appendTo(l),h=this.get("set"),g=0;g').appendTo(p),S=a.Node.create('
').appendTo(m),_=a.one(h[g].content.cloneNode(!0)).appendTo(S).setAttribute("data-image-stretch","false").setStyle("opacity",null).setStyle("visibility","visible").removeClass("video-fill");_.getAttribute("data-loader")&&u(S,_);var C=h[g].content.ancestor();this.get("historyHash")&&C&&(C.getAttribute("data-slide-url")&&m.setAttribute("data-slide-url",C.getAttribute("data-slide-url")),C.getAttribute("data-slide-id")&&m.setAttribute("data-slide-id",C.getAttribute("data-slide-id"))),_.all("iframe").remove()}var O=new a.SQS.Gallery.Gallery2({container:p,currentIndex:this.get("currentSetIndex"),loop:!this.bMobile,autoplay:!1,refreshOnResize:!0,refreshOnOrientationChange:!0,design:"stacked",keyboard:!1,designOptions:{clickBehavior:!1,easing:a.Easing.easeInOutExpo,speed:.6,autoHeight:!1,transition:this.bMobile?"scroll":"fade",transitionOptions:{direction:"horizontal",allowPageScroll:!1}},loaderOptions:{mode:"fit"},lazyLoad:!0,videoLoaderOptions:this.get("videoLoaderOptions"),historyHash:this.get("historyHash")});return O},createMetaEl:function(l){l=l.one(".sqs-lightbox-padder");var p=this.getCurrentElMeta();if(p){var h=a.Node.create('
');return h.appendChild(p),l.appendChild(h),this.bMobile||(this._event(l.one(":first-child").on("mouseenter",function(){h.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(l.one(":first-child").on("mouseleave",function(){h.removeClass("overlay-description-visible")},this),"meta-hovering"),this._event(h.on("mouseenter",function(){h.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(h.on("mouseleave",function(){h.removeClass("overlay-description-visible")},this),"meta-hovering")),h}},getCurrentElContent:function(){return this.get("set").length>0?this.get("set")[this.get("currentSetIndex")].content:this.get("content")},getCurrentElMeta:function(){return this.get("set").length>0?this.get("set")[this.get("currentSetIndex")].meta:this.get("meta")}},{NS:"lightbox2",ATTRS:{content:{},controls:{value:{previous:!1,next:!1}},currentSetIndex:{value:0},meta:{},padding:{value:100},set:{value:[]},speed:{value:.6},theme:{value:"dark"},title:{value:(0,o.t)("Gallery")},videoLoaderOptions:{value:{}},historyHash:{value:!1}}})},"1.0",{requires:["base","dom-style-ie","event-key","event-mouseenter","node","plugin","squarespace-animations","squarespace-dom-emitters-resize","squarespace-escmanager","squarespace-plugin-scroll-lock","squarespace-touch-event-listener","squarespace-video-loader","squarespace-widgets-gismo","squarespace-widgets-lightbox2-overlay","yui-throttle"]})},320223:function(){YUI.add("squarespace-widgets-position-helper",function(y){y.namespace("Squarespace.Widgets");var c=20;function e(a,l,p,h){var g;try{g=y.Squarespace.Damask.ContextGlobals.relative(h,"Y")}catch(O){g=y}var m=g.DOM.viewportRegion(),S=m.width,_=m.height,C={x:p,y:p};return a.x+l.width>=S&&(a.x=S-l.width-p),a.x<=C.x&&(a.x=C.x),a.y+l.height>=_&&(a.y=_-l.height-p),a.y<=C.y&&(a.y=C.y),a}function o(a,l,p){var h=a.get("className").split(" ").map(function(_){return"."+_}).join(""),g=y.all(h).size(),m=p;if(g===1)return m;var S;switch(l){case"top":case"bottom":S=a.get("offsetHeight");break;case"left":case"right":S=a.get("offsetWidth");break}return m=S*(g-1)+p*g,m}var n=function(a){var l={x:y.Squarespace.Mouse.client.lastX,y:y.Squarespace.Mouse.client.lastY},p={width:a.get("offsetWidth"),height:a.get("offsetHeight")},h=e({x:l.x-Math.floor(p.width/2),y:l.y-Math.floor(p.height/2)},p,this.padding,a);return{position:"fixed",top:h.y,left:h.x}},i=function(a){return{position:"fixed",top:o(a,"top",this.padding),left:this.padding}},t=function(a){return{position:"fixed",top:o(a,"top",this.padding),right:this.padding}},r=function(a){return{position:"fixed",bottom:o(a,"bottom",this.padding),left:this.padding}},s=function(a){return{position:"fixed",bottom:o(a,"bottom",this.padding),right:this.padding}},d=function(a,l){if(!y.Lang.isValue(l))return n(a);var p=l.getX()+l.get("offsetWidth")+this.padding,h={width:a.get("offsetWidth"),height:a.get("offsetHeight")},g=e({x:p,y:l.getY()},h,this.padding,a);return{top:g.y,left:g.x}},v=function(a){var l={x:Math.floor(y.DOM.winWidth()/2),y:Math.floor(y.DOM.winHeight()/2)},p={width:Math.floor(a.get("offsetWidth")/2),height:Math.floor(a.get("offsetHeight")/2)},h=e({x:l.x-p.width,y:l.y-p.height},p,this.padding,a);return{position:"fixed",top:h.y,left:h.x}},u={MOUSE:n,TOP_LEFT:i,TOP_RIGHT:t,BOTTOM_LEFT:r,BOTTOM_RIGHT:s,ELEMENT:d,CENTER:v};y.Squarespace.Widgets.PositionHelper=function(a,l){return{padding:l||c,fetch:function(p,h){return a.call(this,p,h)}}},y.Squarespace.Widgets.PositionHelper.ANCHOR=u},"1.0",{requires:["dom-base","squarespace-damask-context-globals","squarespace-ui-base"]})},434814:function(){window.YUI_CONFIG={base:"/universal/yui3/3.17.2/",allowRollup:!1,combine:!1,fetchCSS:!1,bootstrap:!1},SQUARESPACE_ROLLUPS=window.SQUARESPACE_ROLLUPS||{}},256322:function(y){y.exports={"01fb62e40a53a33e5d65ca11d9b3f596":"Russian Ruble","0eaa64bf0518af1b56f1361788019021":"Brazilian Real","1143e77a8117d709c6c948f011d80ae6":"Philippine Peso","1300c30965a65bfee8b199f57b089fd7":"Polish Zloty","13c914b755a73e8424a94a230ae72847":"Malaysian Ringgit","3052b264edfac037a8040616ccb2897f":"Pound Sterling","3789725f6415ef2ceddfbc6b83fc04ad":"US Dollar","409fda210bf6729456afb4d6634e076c":"Mexican Peso","42e081709609f07ac588e1dd003e5c65":"Australian Dollar","51a13414472b5fdcf7a78aca7785b5a1":"South African Rand","524e38351732f98b76179b9a3c3f6edc":"Swedish Krona","5321b280fb9e2dc6ccfee6dec92d939b":"Argentine Peso","55ae299bf1fa2aa3ec2782a881e29797":"Indonesian Rupiah","58315fbd08cb4905f5e6deb12983d641":"Swiss Franc","5867da54cd7a941c1d269487d7beef33":"Yen","6f4e5612522aa84c64dd9212080b7970":"Colombian Peso","7541effe88bfc86ae2e2f6c2af1e5231":"Israeli New Shegel","84197e7d10946ba76e486c3d58885fb3":"Indian Rupee","9e82060226d15053b47bb51445d8e270":"Danish Krone",a0c1d7b744c642633f8405d0f5c6663f:"New Zealand Dollar",a3aa04c3b1c2ad3f0204ab76e2cb5286:"Hong Kong Dollar",ad822fcc719d08203b61f2d7297e0cbc:"Thai Baht",b1cefb15f16fac503df3f3fceedc5e06:"Euro",ca323e7e8602a6e96651c97fe5239fee:"Czech Koruna",d919b1a9ba5aecd82502345d3ce73a15:"SingaporeDollar",df55757b688b358856e171715e8d1332:"Norwegian Krone",e7824f6e94cf6e9505f542a4ab5f8927:"Canadian Dollar"}},312176:function(y){y.exports={f0f30d83e145c2299e544b3099522e44:"Try again","4ab317428b3005b45235e56ee7952e52":"Unable to load results",e57ab92d7c7d59bac7879b6768173f9d:"File name","6374d59b53e351cc597bdb6f308c8152":"Replace","0340e8c7dd3b68223fb050892f8bd266":"Delete",d12ba73a568e7b19be2ec2dfb211cd59:"Blockquote","5997f29d9262297d2d50c139c1d84662":"Bold","4ca565cf2cb136e23a32ce8dff588024":"Clear Formatting",cf6dee68b8473ee2fbbb32e37cda3a59:"Decrease Indent","3f4ff0ebf79e6d3203ba9eef13ffd945":"Duplicate",b7044b7c3ef0d585024616a719cfa684:"Edit","49a55e2950abf20a53fa45d8e3ce80c2":"Increase Indent",f4a5e49a842d041881c4954d545c15f4:"Italic",c48e91b131d22173ec459b82724b9e70:"Layer Above","041968c09c5287e13eef9272e68a6df9":"Layer Below","97728c43b61e5543bf2fddcdb690f1ad":"Move Down","0a6e4807b225a8538977d3f1e32418ba":"Move Up","6fd139b37257a82714aa39dd2bbdcb9f":"Ordered List","2e15c9fac04cae73fc0b9b92fec18cca":"Paste With Formatting","29e233771e82810a7524b9a11dc75f85":"Redo","28e8e968fe9a11d66cb5774405e7df39":"Settings","9df97aed8e7e6fe1088d1826518b354e":"Strikethrough",c7f2b0955d5d2bbb65fb94fb4c50b271:"Subscript","9d9f520137959df43cbc65161f4325a0":"Superscript","1ce66c14a59b4243179029d6a87cb22b":"Text Align Center","9687253e2d1f8d823207b1ae14f55190":"Text Align Left","2e14022083291fe2749fc32a0dd31fc8":"Text Align Right","374214587a58fe562f282bd87d910f48":"Underline","8e5e94ff1880763ffb58d6d02b5097ee":"Undo",f67719d3f7b8a4bfef08cff02e9cdb02:"Unordered List","186b613b9049d2a7e04fd62ad9c00fd7":{one:"{%n} selected",other:"{%n} selected"},"16eb64edf1094ae679572ffbbd2747c9":"More Options","7882ec89ba4cca31b968a7872d770537":"No results found","9a80011dc1ba3a237c2691fd6f5c9904":"Close",ff597767824016bc0114c150d6b76431:"Continue","65686533c6efd5c14c895fe5eac5ab99":"Add...","6f3604dda971f07bb57da9ed8f1f74c7":"Back",d9e07a1b6b1ef8477e421a01c62ce452:"Unable to load. Try again.",cf15f5fd78794de679f918b108299eaf:"color value","8e696cb6fa1ffcbe9e9cabff061298c5":"Opacity","23f807a2f3c5be6d5ba441fd24552ff1":"Hue","2077e4e46fc6729c384f71c84203e519":"Color",c594ece23f5f0fa322c76440751c9544:"{type} slider thumb","7703bb4cabe682a18285c33fe767c27e":"Add swatch",e20198dbc25f5146ada4538c745b5c41:"Remove swatch","413b73a3b3765ea111c90d1dae3af96d":"Something went wrong","09272f8adb7bef3c15f86216821503e7":"https://example.com","4ae0e29701ea00a4795705f7f4f67b8e":"Search","7fd030bff942f8f5eacf9c36e7b5cb86":"tag",a4959ad90934fe5ab29b8795813181d2:"tags","2ca1e029f2b3386fec8059b51f67c7aa":"Cancel","8e48ee7b1c007b3ebe2df3aec389665d":"Merge","380e408440d5350ce9283c22e2a8f794":"Save","949c8ae9a4aac58b07d317989b33e354":"This {tagType} already exists",afeb3edda64e60f7d173bc806ed5df0b:"You may only edit one {tagType} at a time","97094a1a218f5a6217b996fe88395f05":"Remove {tagType}","3a5153db7e24f2c8e1cf69dc005c6708":"Are you sure you would like to remove these {tagType}? All items with these {tagType} will be updated.","663ddcc4a909596ab82ee1c1de1e3b94":"Are you sure you would like to remove this {tagType}? All items with this {tagType} will be updated.","45684454c4df145adeae75dfb9a70ef4":"No {tagType} found","92b558a38285983831bb65464610e5e5":"Add {tagType} here","2b7c3f88becae796299fabf22f72cc1d":"Filter {tagType}",c3217028372c185247852049760b18f8:"Edit {tagType}",ffa35ae7f040da586d8939eb0292358d:"Merge {tagType}",a7b5c41b6f9ae8df24aab7be61000ec2:"New {tagType}","749e2a5e7698f9a588c816febc23cd19":"{val} is not one of the expected options","63d751064eb90fb6e472fd79547b2fc6":"Address","11d1442e08568a65c839815601447d81":"City, State, Zip","78701bfa2ba7a789b450ebda20ec0ca7":"Country","9d1e2410516960f174defb07ee3f1c5f":"Filter by product",a77460fff4aaad92b3f81522d194d909:"By {authors}",ef1e8f0b8b6a4a0763ca66e4dc7ef3fc:"By {artists}",e9857cd422b6ef9194e9b2b031bdb776:"Starring {actors}","522807ea28a266bda049cb8637443f23":"Display Source",cab1596094df6aed2367bd5bd7bd8dec:"Type","6f28effcf4f76d080abc7893d30966bf":"Mode",c1dba888bcd3d31b52df76a31f121c4f:"Code editing is not available on Android.",f7a48a78d10d3d506472dca8b922b1f9:"Options",efe464900e7ef25fab7017e9e0af4911:"Code",ec950bb151f7f08d8465272ac1c23f82:"Add Code Here","0664e194e9297b284bbcac4e63018203":"Code editor",fd637ba0ba0cb87b366d91f80b84ce5a:"Unable to load collections",bc7be137f1fc59c5d423dc8fbc1773bf:"Your dataset must have at least one column","882491ba729c91194caa753228b4df2c":"Your dataset must have at least one row",d1e907460980b778073d990159b8fb45:"empty string","83c193e0aa96fd9c0766ae9c8c2bdf73":"Enter some data!","491a80eddb896f15e739ee582e456dd2":"One or more rows was missing data","7d07f870886c600ed5bc37af39266284":"New Series","9195c6f74ed2b2dfa567f6330937cacc":"Label",aa561aef75cd3063ab9058e4287381ce:"Your dataset has been truncated to {maxRows} rows","607296b2ebd861bb21f5d171d819ae52":"Your dataset has been truncted to {maxColumns} columns","66633ba9d6dc5cff1c6d2be997e26259":"Update",c221bf00aeb374c630caff3330e5a535:"Time","8e54777e38ddfa70e40e8df6478588ea":"{len} selected","09641cfbf347c23f2f1401c80f111c97":"Successfully located","45367d0f7e6221f48aaf784019ec8004":"Unable to locate content","993450215333ab73150f2831db4a2ce9":"Searching","14697aa8558e29f76b2bcc93d804b555":"Delete attachment","650ba9bb4296879d6e8f20a587873c5e":"Info for attachment",bc953956c9f0d80b05cbffefc18084dc:"Okay","6795c93795031ea3c966e70aa8fb6d67":"Remove",ce9ad473a45a1902d7d59291432bd77c:"Error","8914865196496d62a20e28b8f944e218":"File processing failed to complete",ffa0167016aedc8800f617213d51fc13:"File upload failed to complete","7f23747871cddef936eaa7b5afaa71e9":"The file {fileName} does not appear to be a supported {fileTypeMessage}file.",fc11121d2c0b9cd040eb497150f090ac:"The file {fileName} is too large. The maximum allowed file size is {maxSize}.","9b7ef9a0b95dca7366b8736a3cbc56a8":"file upload","6defec7d03d58b1fb2d4b4d20f3274cf":"Add File","17be4afc8553a37bd0cc3954a1fd189a":"Add Avatar","669a9180ff79f1bdc7737218a576b5c5":"Add Audio","37b0da5136508f27aeb51d39807e7cd0":"Add Image",bfd10ff05b9b5d2caa24bfe7c56e93f2:"Add Video","3ee12af588444226d8a6c70eabc1a861":"Normal","11f8cb2f0b6422accf1ad23d68aeede4":"Drop your files to upload","36db0be5456697b047ea71d4d02d61d4":"angle",cb15768afa8bd5e155c1e0e9d6fc6de4:"Key",c20bed6c7f08006c9a3f9ae14e04754b:"Value","08e2b66460598d026a23e49b7eb2bfe4":"{val} is not a valid page URL","3ddb7b6d6f0ea53f8b3d049604cc70fa":"Preview",a4076f49f4f9f6c95b24a985487c3cf0:"Markdown","0141fa9f0be4194399a88f5fef0bb639":"You don't have any mailing lists. Please create one before continuing",c88fea453ce4c95d68025d0ebe76505f:"Select List","2da54f567ea151fb27983f192f2aad8c":"Disconnect","151d7ef9ce161d0b824a5fa9410739c9":"Please enter a valid email","069be74a4cdfee594e42ea8c19cd697d":"Connected to","35faa1b1781d6eee40b5c56f42416bda":"Connect to","96c3071b61722c35b731c1d538e248e8":"example@example.com","33b4a38d4c03582be06aba8926c9c14f":"Spreadsheet Name",ec39193d6a268594c60c24aeac543ac3:"A List must be selected",e18a2305c03b9feb02f21eb8d07e44b5:"Disconnect MailChimp?","2bb219534e372498719faf7f52cb39ba":"Form submissions will no longer be sent to your Mailchimp account.",ce5a9d2f97c93d32e21cb6a36a73dfb0:"Retry",c2416f8a5134d87050ec363288ed0d03:"List",df9be7e86078cb381ddd5ff507dabe8c:"Require double opt-in",f2d0ff0165dd94142db90c664704e7a8:"Connect",b60fd254e7986e8f740ea8af4c039df0:"Unable to connect. Please try again","9ea9aa76d5378aa3b553a4a5f4ff78ea":"Awaiting Connection to Zapier","1c8c3ac4a67e7bf87bb1b9197b38862b":{one:"{%n} Zap connected",other:"{%n} Zaps connected"},d16871b45111bfd36e18b0ef7413f465:"Show password","46fe088a0c01a7b06a77a8ca5079fc92":"Hide password","212e00b324a1c7c5d72d865990dfddf1":"Formatting",d832399295ed36ab36c788c87697dcb7:"Heading 1",a8697f6224225817130c31996d9b002c:"Heading 2",c99a079c1ce7638c2a631036133d2d6f:"Heading 3",ec15704a9e34434bd57c23fcbd365ca5:"Heading 4","958dba67087058b4a48e8b08d11d8321":"Heading 5","8acc6203bd4681ba291f5c0b5e97d7ed":"Heading 6","5ec935856879645040f14c4e1adb8366":"Quote","32144adc818f13fb069a69c974e555d2":"Numbered List","1997da20c166ee10ae426e2de942b84e":"Bulleted List",eb26c105ccd50f2bbd662fcadf2df707:"Strike Through","7e7e4159319301ac15a7fa8d80efa843":"Paragraph Small","118737dd09c4bbca2668f0ec74575fc8":"Paragraph","2f326f1782f80c9602c5c0f480acd569":"Paragraph Large",b125de8dd82b809475f4ffb299eafc69:"Left Align",d053134c28f054c41b20703bdb37d54f:"Center Align","014f07868f87665f18306a866f821b4e":"Right Align",d23a6457ddfe95a261fae253f6baddaf:"Indent List Item","23fbe79152d053260378139870172f6b":"Outdent List Item",a1a1f0c3723b927b0bde4eee49540dbb:"Link","0b22febf82c502f8aeab55ad8d8dbd64":"Text Color",c25ab9ad01bdf00bb7f452e95e63b6f0:"Background Color","81d7722f3035ed5883cec1194b4c6945":"Indent","45d23bed6f2d26afac6aace1ecaaeb65":"Outdent",f45f1b3f27ab384a8845c73b96952504:"SubScript",b321efb5ce7a2271e72c171bf15b3bdc:"superscript","8825c051a8218175fe6857bfd0142e68":"undo",e1bc8c4c42d51461bb4a0964c2a92f10:"redo","62444f8044cfff2cc1d6ce2704c905de":"Align","0206ac1674549234236fec1e3e5d40a3":"Text","74fc7fe880ed4b94e3d44a3aed8607a6":"More",e3351a087228c575cc0d85705b28d23f:"Decrement",f9822b211ebefa6e37378622271a545a:"Increment",d93f2d5359a07a3c963fc68ba1408390:"No switchable variants available","83d9a5ee9a18de4adb020cfd8354726a":"Ok","71b6c516b67aed7ce1e157767622a048":"Confirm","84ed1a818812875886ea82e56730eab6":"Discard",ca7275020461405b490ae5720dd2bda0:"You have made changes. Do you want to save or discard them?",daf528d2d7e023e01b8e6ff51dddfecd:"Review Changes","8b7872adc28e449ef45d5d5e7c0ec8d8":"Dismiss","2cd6bbc51b3ca422689c44221e056d1d":"{iconName} icon","9bf25392999569e076b9349b042dce6e":"Network error",d68f61f4086356e95d50469b69a9c22d:"No response data from job request","43319d0ffa28e455372df25fb2889fea":"File processing failed",b0695c36098e6fd43cc9a45c711bd504:"File processing cancelled","8e2e69fda56877fbdc53f7d8dcaa0fd7":"(Opens external site)","817d9a1e978ef06982a11c8eb03a5f5f":"Close notification",e4ed78150b26912883ce498d0227e799:"Filter dialog",d67a7a90682d75e37f3c27ee21d026b0:"Copy",e38848bae5b39dad125df53483b3877e:"Copied",ef75c1a57b1d4a43d94f68047e5ff3c4:"Clear","9cc968199618f62b26bb45c99798bdb9":"Select all rows. ","0b512b0527e296728392d524a1c9e116":"Deselect all rows. ","9e4880e6d4db61fc7740227bef8d7eae":"Download on the App Store","0c84914dfc5e8aa3d8df21590c7a5a93":"Get it on Google Play","6ed660639e91c0019f0d38010568d74a":"Breadcrumbs","37f1f785f2d02b50c466cd05aaf11dd9":"More links",e499ba0cffcd145c23d73a915ff418f3:'Failed to load timezone "{timeZone}". Retry connection or verify Squarespace site availability.',"585cf0c20efbdf6392e50977169b93ec":"Previous Month","0b32e7c5feff467c1bc17d36f34a9d3e":"Next Month",eaf6bc9ce7ba33165413f3c322459c06:"Select",cd0a71e417130da0adce22e20ecd695b:"Done",bcde5fb38b9213e20f3490e9b62c7001:"clear search","28394c8da1d8eaa8f22942780bac0847":"cancel","9e438efafaa98bdc1d356f98beffe3d0":"Next",c36810953715864173181f42cca8e5e3:"{currentStepNumber} of {stepCount}",b8302fe3a3f4d7531e53b59e47e367e3:"Navigate to {label}","721e0782a77212923abb2d89fdc26afb":"Color map thumb","2384a4a0e2a5214730400c656b365044":"Link Editor",f9b89a2781302453b4c84fea706541e8:"Optional",f5f7cdbd93d03c377d39d2dc86fc6cf9:"Add an email subject","19b496d2615bfe692e80803e27512331":"+1 (555) 555-0198",db97fab57a2aca7cd0515625f26e466e:"Page","481779894da47202c80a84709b2ad7f3":"Web Address","54eff37a52f8c9e9e4b646646e044e9c":"Email","4c935026efb5ca6ce50019a7f55e0c49":"Phone",c7b5c995edce272debb484a3c06682bf:"File","51b30c554db0a8684523fd96862edde4":"Pages",a48b9ccb25ed66eebf2753494b24f0ae:"Links","49177d13ba152a915e72dc0e890cd082":"Open Link Editor","4852c876d60b3e5f297df19ebfef03d4":"Link Name","760c1b49f8bb84ca5dd9b1bcaabb69d8":"Apply","1a1ceff67be3b165dc4f36019c134d32":"Uncollapse","5f33f9f096cd3c0d262a97dfd9738388":"Text Alignment",c02b852487eac31511d6eaa00deafffb:"Monospace","3ac4f28c1044cd8ab918fc8e903d7ed1":"Small Paragraph","0dd5449144543955db89be693d31d57f":"Medium Paragraph",e177098aea680490c086d33dc5eda903:"Large Paragraph",f117333d4b1c7838a4fc31a764138526:"Small Heading",bb7ebc4c739f0a717a26ac4837b6b869:"Medium Heading",d1a8e5e08c3ea6780699aff8f18f99b1:"Large Heading",ad2d0dc63b854af0e32e0b5e92784436:"Extra Large Heading",bad635ed8fb7219810ebde3b1a9a0efd:"Styles",be44967e5703076dbc561a8d79649e54:"Bullets","5c977b6a6cc52387fa09f2d1e2db2450":"Numbers",f03deaabf42910ca5fd5b6e1e620af94:"Save changes",d9b60f4548586a037380e87894bd147a:"Add new preset color",a4d0b8f2606818c557192a09324a39da:"This page is locked",f762c2e3781aef4cdd0c2437d714f922:"No collections in this navigation.","8b47c8126228b030d2083d2b6fb04f25":"Tags","57f8d22cd814c756620c329e163a6200":"Categories","70c8b21cdb4a7faaa871414c404f5a37":"Search fonts",ffd9fbbc58371a58cec4459cc2c2ed96:"Unable to load fonts",db39fb9157d6710250d81c38b1613997:"No results","849ab3fbded7172ed0020bcdbe5c91b3":"Sans Serif","8906b1a292dbe303c0505bbaf1d5272e":"Serif","8962d92b3137f6e4607a410c5710c3e4":"Display",b93679c1ac66c43fec0490f125e9db13:"Script","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif",a7e614da684a289259a757da5b11ffd5:"Mono","178ebbe3d6ece8c96fe884badf3c80fa":"Other","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide",ad6805ba5b472b9af26e2d3154e20dae:"Typekit Kit","2ff55fa5f44efe909ee9def4151063f1":"Typekit (Deprecated)",fea729b2b5863418f65e8c43e93e3231:"Scheduled","82ec412180360729918933152c71ea4c":"Needs Review",cfe26156925fcee6678e5b61455ad18c:"Draft","4df8418beddf738dffc2e96e0f0a1270":"Private",ed926e73b1c30d34fa09d25d1d37281a:"CC","04a7bd5e2847095c55fe21aef7ba243a":"BCC",b4f1b32c617e24e50bb7033674cf3c8d:"Subject","7aaafe0be804d1ce3c7cb30d58480912":"Body","7d327a3dbb804e3e33ab53a29a6c284c":"Advanced","71c84b01aa8158c57b404805381738b0":"Open in a New Window","5f0d09d3dc41398751fe5b0b22b0bd7d":"Include country code",e7cc78291fd0136e5a1f76c3643c47b1:"name@example.com","010318c0a9ccc872b2586fd753629724":"Color Map","8fb62340758bb0697bc8f41a6670b543":"Alpha","589005829d1e2ededf1a0644d8ced341":"Hex",dc72bac1b531a7fbe8f86d6317fe38a4:"Saturation",b26d8808ffb5a5eaa363a2ca954052e3:"Lightness","65c49758298bd3003115b575bfc62a8d":"Red","32e7a735a2cb014aa5ffe991fab642f1":"Green","7379dba109b295fe849347f2cfc131da":"Blue","838b82f16ea03f6570f119763f42d912":"RGB",edafcde8a5ca1a13a3df7b120fd95f62:"HSL","223606f2730e3c5344b34645c43bd805":"Color format","69f9ff1d9f405b298d3b4b6715287c6f":"Select Color Format","6fcccb76d81675b1ae7f80f183618fb2":"{type} slider","6ae06a254fa8578e3db796db2b5e50cc":"Emails must be formatted as email@example.com",b956ecc6b9594bd69c184dfbbe22f2c8:"To",f4f06cb1e212075f2986ba2ca08e1831:"Links must be formatted as www.example.com or example.com","5dc2131cfc51ceae8044261cdddc1624":"Open in New Window","2f6a0800f9e821ae9608cdaf642557f0":"Vimeo Basic accounts are unsupported. Please share a video from a different account.","4de17d8e8a40ba9e62d9ccab4a3b7b7f":"Browse all fonts","516701691e5b1ce51b58f68ed6035ef3":"Unable to load preview for {fontName}",a9aa595714d8537a0bcfde92bd39ffc1:"Deprecated","1d7f80c88662cd563c4aba35fd514aca":"Fonts can affect your site\u2019s load time. Use as few as possible. {learnMore}",b90258a24f3d53aca75cba38a8bd3c20:"Learn More","22c9c6155c64fe02952ee31183ef8907":"Learn more.","7e8e27c5a3313b556c0d93914e7d5b65":"Fonts can affect your site's load time. Use as few as possible. {learnMoreLink}","91ef0a624b69b77fcd60ea19caffa31a":"Error uploading",a3c0b94fefbd7fe93950ffcd33241a6b:"Existing Files","5cd58303f11dd3aa71d98ef3e0370500":"Manage","787d1e95c6bf94e4a854c3874d9ff861":"File Detail","030bdb7ec8e8cd347fad389b2f0b6c1b":"Choose File","0b5c3f2099d3aedadf9c98a651e1b8c0":"Reset filter","2bd027c5cb779d6c7d49748d20f0d638":"Filter","05a51c32d8efce89e72fed165e822fdb":"Reset","14c16237bf1dfee55929cf1a047a4364":"{filterLabel} \u2022 {filterValue}","4651ad5ae794af4bd48b03cd5b861093":"Remove {filterLabel} \u2022 {filterValue} filter","47a256bbe56bcbd962a31642b61becb1":"{firstNum}-{lastNum}","9128d03fe6355cffe7118c91bec156d7":"Rows per page","4b61780104ca0669d6278e85214b4f47":"{numberOfRows} rows","1a237c1a2d77011a4b972cb29e6a05f2":"Click to open text field","1a63467e41b1e56a68c049f0da51280a":"Page {currentPage}","25e33026fa12c66d69dccc309dde4fce":"Previous page","86449041f3b147f2a985d350ce86831e":"Next page",e236e92e37514fb48abe840fc814eedf:"Showing {afterFilters} out of {total} records",f127b39b684b45dd6ee00e9b600ae76f:"Matching ({searchTerm})","15780258253f372d7c1d3d2f6bbc356c":"Type to search","752623d852ba48972e69cc7698918631":"Search: showing {matchingRows} out of {totalRows} records matching: {searchTerm}.","0efe2e6f04245018f8d3f1f0041bfe75":"Clear search query",e48f2a5f37c31bee87701f0c57e3ba93:"Sort By",def0cbd08315d1fc26bf40c7a50049b6:"Rename","3fbb497ad30ec1098bb7044d92877aa1":"Please enter a file name",f3e698aa47a54daf732dd37ace0d76ec:"This can't be undone. Make sure to update all links to this file.","92f0a8337f22baf3997d5f20a17c9c76":"Delete '{filename}'?","56a5fe7b7fc2fcf6b546b69cb860a184":"There was a problem while renaming your file.","3a5b7465353838c731874f86ea1aa182":"Unable to Rename File",a140e097ba2c31b7eafdd5ac3883e7e1:"There was a problem while uploading your file.","9c02b62381f6c17374b7f5b7fff7159c":"Unable to Upload File","1dcf4e15170e20de94cc73e716440378":"Load More","48693a3724983c379ea489a4942a11ea":"Upload File","4ff476d1a620c5f518f26d8d217ea9f8":"None","40c91431b506393d2248c447df7e2cf6":"Choose (Optional)","8030c7d4ef639c31baebe4305012f265":"No Results","79bdbafac4b2414ee12d9a2fea229ec0":"Phone Number","46748b0874ac29d6af48bcf1e1f45708":"Sort by column header",d5867f1ab51dabe19cd38a34a4dade09:"Unsorted"}},763399:function(y){y.exports={"10a7bdac33c0cfacb77dc380bf77e56d":"or {numInstallments} interest-free payments of {amount} with","251529e490cc8f71672b879d8687bc29":"More information","5ed1ad6425ddddce7926ac560a67e7f1":"available for orders over {amount}","6ff73a34da0878e5c2c211f893802d86":"Installments by {afterpayButton}","9f773505bb70d151e1f3504da46a16e8":"available for orders up to {amount}",a0e08d61d25e36151ba681132d6ec330:"Close Popup",dc982e89fd0ff84f89b6c640afb673c5:"Afterpay Information Popup",e57957d5526503eb0180d7fa08abfb43:"{numInstallments} interest-free payments of {amount}"}},492869:function(y){y.exports={"00794e235c81c0a5b3c65f00d8666c11":"Occitania","01d1a645f6d7b7324d7a198e1b49cd24":"Valladolid","02511067b344867cd943c98e9b476a77":"North Dakota","0270e6b7acc1a7acc76a3550411fc1e8":"provinces","0346a482a04dc36280be82fa8fec813e":"Kronoberg","05b06b52e541cbcc582e8f51461c60cc":"Gisborne","0687d17ffc9bcbd0ab13d8230d111506":"Ceuta","077c10366202f7ec452ae13cc9e803ce":"\xCEle-de-France","0808199fa2e671d728d1fee367975f8a":"Louth","0978dccf17e930a1b52b67f8556ed870":"Nova Scotia","0bf0234d37bbb3f702fa4e30141d02cf":"Huesca","0d74dff2e9a13ea130f7ff28ef0d4691":"Kentucky","0e524b7679b904b8f1f311738de4a68f":"Arkansas","1135481a862f86872932c54311c652b8":"Las Palmas","117d731310c483264f7fb2d8c3824fdb":"(e.g. 08038, 47005, 29001)","137f2f5c9e9c100dd2c33c89308d79bd":"M\xF8re og Romsdal","1381611281c052f0434e1bf47593917f":"Texas","13a40658a0d5f4e39bfadd2e82870637":"Donegal","14a6b0b4e51af164259b6afed3de5909":"Otago","153ced282870e60b6ba8e83362e7b052":"Troms","1542b68a80cdf235c3ebeb796653f29e":"Alaska","165f0c9e332b86bf171e7b27e511f987":"Aust-Agder","170417bb175ec5e99d1822ad48ffce7a":"Zaragoza","176136fc8abcf757e97b802d43a8c613":"Hauts-de-France","1763e15ccd97b07cdd49c37a08876737":"Limerick","182586f387bf50106d62856d97f45382":"Alabama","18aa59ce458c0219a0adf165d374d225":"Oklahoma","192868c327d0f389647902c07623158c":"New Mexico","194ca742aeb30222ffa2df3424a5b728":"South Dakota","19f9d974758cbf91246c1e57f44fabba":"Ourense","1a164818d6d4777b328fed84eef4611d":"Halland","1bcf8074ab04db419da8ad6e6b0e4a19":"G\xE4vleborg","1cc8e8b456b21a9e981ccedc6a2b8211":"Northern Territory","1d71b2c7b3651565be6d1879d2932aa7":"counties","1d84f8847db367e5c86c606c043595c6":"Virginia","1f4e32a79fa44d45a3b3a81a9f0914c9":"South Australia","20b29717bb499ee4a68b928a297203ab":"Nelson","20c648bbbe4d07489be07f8aec1977b7":"Southland","216f18ab530f0ebda76e769cbf89495b":"Louisiana","22c8e3991c4c68a6421969e840e52e7f":"Zamora","23a6abb325643c790b36eadc5cf6b446":"Brittany","24f9d3855f97e5b314c40d5316491da3":"Connecticut","25715d36c9ca9d059bbf11ff729612c6":"{priceString} every month for 1 year","2610dd839fd8d1ced7580c94a202eb42":"(e.g. A65, P75, H14)","2763ee6c4ae4c83f9df6e39de182d498":"Albacete","2795f1b9e418d0997e90e4c1bd569f84":"Toledo","27c57fa72b332e1a50afeca1f937d316":"J\xF6nk\xF6ping","2b6d1ee7ade56d9e1b797a2ae6f72fc6":"West Coast","2c250d0489f32d561c726074e98d9c64":"{priceString} every year","2c928b5ab7347db5e359067ecaac8414":"Tasmania","2d6925de78b6c2fc313499e78f5b6f7a":"A Coru\xF1a","311d8fd9442cfd72f305129f734b4004":"Gotland","31aea3c0445794d775198e80cc0e09ac":"Western Australia","335cea1e6cdebd4ccc01355d80751f5b":"(e.g. BT, BT1, NW, NW8)","33cf1972faded073a0d24dab24981e90":"Stockholm","3602fe0caa22b39a92a82798a5bc30e3":"Arizona","3635c5151692a06a3a4cd5f9dfe2baca":"V\xE4stmanland","366c3ba7657f4d5c0c357419d1788d20":"Waikato","38033c64c1f39cd5ec57ea37c95a1e09":"Manawatu Whanganui","38e394787c7f6fafc2b2f542eef5dd20":"V\xE4sterbotten","39315bf58049755c9f10613fac50b13a":"Tarragona","3b62d3d92962bf8c99a92889bad68553":"Oregon","3ba41533352e348194d49fba601a4723":"Asturias","3d8b6b930539ce2133de0524f89eb9a1":"New York","3e5f1fc5e9018e241126e7d9114e0786":"British Columbia","3efc4ed492e3ed4cb87fcfbc86d055f8":"Corsica","3f2ef65bf2087f6a514a9da80352ea37":"Maryland","3f5c4b9326df576ed5619ab0f9518ac0":"C\xE1diz","401d45dec40fb73ef057b46c976b7278":"Carlow","406e080fcda8691c94749a29dd1c74dd":"C\xF3rdoba","4188f3a12f0f94bda92dc4b3fc8449c5":"Hedmark","420925cfb55265ab3242ae6610a985ce":"V\xE4stra G\xF6taland","422392285d295577d68f9f5845c1b41d":"Kansas","4281555fda83ae89990f238c4dcba1cb":"Colorado","42859f6128248121c17b306fa16971c7":"{priceString} every {billingPeriodValue} months for {durationValue} months","435b21e64dd9341235ae3ad8610162e8":"Badajoz","445fd33d4640a41cd66fb5d924dbd220":"Dublin","44f5b584bb133a8f4798505b6bea727f":"Chatham Islands Territory","4520100dfa7e98892d81bc0d0511ff7f":"J\xE4mtland","457a2a91ddb30a52adb7165b957b88ff":"{priceString} every {billingPeriodValue} weeks","46b4f499eec735aa2c2d7b58f1e7a1d5":"Unavailable","4706d1dfe81fa89aad3b4b7c5616dc84":"{priceString} every {billingPeriodValue} weeks for {durationValue} years","4883833618214bd8573eb084047cdae3":"(e.g. V2Y, M4N, H3P)","49fb27691f6ec5ea7b15a5993bd89c3a":"Murcia","4aa38087a0cae1f21d31e48dd975d905":"{priceString} every week for {durationValue} years","4ae288419b3a4d6b7704e574763d5d76":"Kilkenny","4b3e1cb6e224ba0e35bb00ef6898c284":"{priceString} every week for {durationValue} weeks","4e3bd09c43cb807cd145c92f33e16d18":"Galway","53b704a1c0d8149625b2d7486c71a52d":"District of Columbia","53c21394e229bacfa96b17d49c399555":"Akershus","53e6d4cacab49879c5a331593bd40434":"{priceString} every month","544a40d02f0b60623648a5d73e2c5e91":"ZIP Codes","554b278669b65e819db579b9ff2fdf9a":"Bourgogne-Franche-Comt\xE9","580d1b84a1b41084f141189f9897d067":"Quebec","5a3bd4310718229e7471735641a27f14":"provinces/territories","5a77a5bf55b6b914b1a2742d4655ece9":"Auvergne-Rh\xF4ne-Alpes","5ac7244935c1d35e8c2b0a92cc8d67e3":"Clare","5acf8858e88a14b49b132487873449dd":"Alberta","5afdd73dcc581a60cef9a6facc45f2f0":"New Jersey","5ccb5c0b07da3ce648787fd47d7486b3":"Sogn og Fjordane","5e0eb33d828c277416946e10c0c1d9f7":"Nunavut","5e1fea28199a19bae2bb1aab910baf23":"Cantabria","5ea149f54a7526b63bbadfec811dbd07":"Nordland","5fc15f3d7a61e2d053330fdf4626a30c":"Maine","60e5e1686c5e4eecdd2794b6c6e2d79f":"Roscommon","619642454553e621baf20d99a1ce90be":"Illinois","6202468538a8bbb745e744efdd3e8769":"Biscay","6222b9241b94bfd6a6550790f7b79b31":"Postal Codes need to be 4 digits.","6281b842ad5889c1a9a486a24e57e531":"(e.g. 90210, 33139, 10004)","629069f4431a4cf99abc9fece1039eeb":"Sligo","62a8c803cf16804f100c34ccfeb0fe5d":"Normandy","6322a811b44c117b7e8b3fe9b2b8678a":"Northland","6399844b49c3a6f061d4a3dd39f84d49":"Delaware","64a151599777e45cc6cda44d7a05693e":"Soria","66d129e30f7f84e782a6711477dac2ad":"M\xE1laga","67419679d30956360ec30f19ca1c37c9":"Gipuzkoa","676092447b62dd1a4d5db37244930d47":"Cork","68337f9d09b5b5f26257226d5c6df769":"Postal Codes need to be 4 digits","6b6ddf6c118212b74013955b0b8e25c6":"Tennessee","6bd247675e5a7363fe05c4dc022728e9":"Auckland","6c769007d2cc3f555c82b00f383ba5ea":"New South Wales","6d33d36bd17b7313988d10ee3ca3c1a7":"(e.g. 31400, 64200, 86360, 65000)","6fc80c7927a76a0bf99388da18a2fb3a":"Queensland","71a4b7cfd04b56caef7497cbf018b00a":"Alicante","72501aeb82a01809ce1845d0341a5b20":"Waterford","72c79a43de0a0eff8eceae5b9d7e35e1":"Wicklow","732c8c0f18bcc0d65c016911504f0278":"Northwest Territories","73971392005d45d4c5c3cef9f5f2eca5":"{priceString} every year for {durationValue} years","74b43eab3cd0b33ede94d16f0f5db809":"Scotland","759ab6f0c50c0a334ce0e951a0b174c4":"Postal Codes","7673697dd252aa5bc2cab41f464f8d6d":"Melilla","76932256ba828114d0c77fea17c07474":"Longford","78e36540d457e4a5ed4e2423e0a5b87d":"Routing keys ","79048ecc251a03f31442bc92e5ba6037":"Grand Est","796e5fce7f722e897fe7a12bcd80dc09":"Pays de la Loire","79cec9d55621a01ed077d24d4373dc92":"Pennsylvania","7c01be4628810b8735ad64018ece4e1b":"C\xE1ceres","7c1bb5340fce0986e5bff68d6e6e26ea":"Salamanca","7c4933a8044968a06c5083327cece2e3":"Enter only the 1-4 character outcode portion of postcodes.","7d78fc3a1424b11ea3d4ffcac3bde101":"Provence-Alpes-C\xF4te d'Azur","7e08d20a9c40434e0855ce0076dd68e1":"Ja\xE9n","813d5ee34ad786b034ecfe8e3f505e63":"Teruel","81cc5acabef91de078ac51597778689c":"Barcelona","829b73bf0c6722ff0fb22b9d529b836c":"Saskatchewan","83447dc7eea1072e83526fc026c0cd72":"Nebraska","83c2ba8d3348f79e0356517f5c2752f4":"Burgos","849e13273c8e0cfef11c94f24ae313fb":"Armed Forces Americas","84d9bd7c02e6dfbdab6ec24e99ebf0e1":"Invalid postal code.","851bd939bf219723089e51c993634aad":"Rogaland","880ed991b5db2d9205e5ff4752c926a3":"Dalarna","8930f9d8c4db23794d9908cca3281ffa":"La Rioja","89640a0416b629bed0f6f9d5da13caf2":"FSAs","897b4b6438770afcc0e30554a71aa1b3":"Hordaland","89a6d50d54f46e8c3254d63c4b9672e1":"Navarre","8b5104d6eae17ccc8ed3c36734cbea4f":"Uppsala","8b5bcb5a54c615e16d9f00633b2d64ab":"California","8bd0da24e1f9504ce036d12507cc1eeb":"\xD6rebro","8c2ddf39204be943ddb4b6bd0c852ee0":"Florida","8d9030e87a2ce2a253ccb5ff6babe735":"Guadalajara","8ebf289a4c40f54be5a64b11127f7433":"\xD8stfold","8f9523d0f412bb7cb57fb7c574dd2d3c":"Mayo","9193a72666b1fda265aaf6f2fd2e569c":"Tasman","938d5242ef45ddb77bcf20077deae782":"V\xE4rmland","93b58f0baf45be64087f1bb6b5057816":"Minnesota","94eb8523959c0442994c223a91d02a4a":"{priceString} every {billingPeriodValue} months for 1 year","9526d379f130fb4dbc3188e94a9a1fe4":"Finnmark","95fdded56e1b4fbe25527cb2990a67b1":"Kildare","9682fd3c408871db9a5c27f6eb59f91e":"Postcodes","98839fdd678824f7e29b56e44c02a92a":"Greater Wellington","98c3f4f1f696a02e6dd67d1940177ae9":"Girona","99025daa1dfc7337d3248543d4d6fbee":"{priceString} every {billingPeriodValue} months for {durationValue} years","9a6fcf2ae7782f225b35c7423074ad2c":"Hawkes Bay","9c389d07dcc5ef2603005128c1154983":"{priceString} every month for {durationValue} months","9d2eac64219d1191b2c6faf26bff4b98":"Michigan","9e68d01bf5a6a0b83aa0550ee1de6c80":"Tipperary","9ede47f1c1594df88fa28ede6e8cefb5":"Massachusetts","9eea9206fadd139220c267f2a30f3321":"Canterbury","9fcc50849e474d728b90b05ed71dc614":"Granada",a2715a9854e692a29c2fc832be8c6737:"Kerry",a2772fa7b259737830752aaca9c3efd3:"Hawaii",a39d7f43cf9a3b70e6162fe223deaa6d:"Buskerud",a3ab943178476033be432946c87f08a8:"Wales",a64cc60fb0c125664d1b69e93da0bf2b:"Enter only the first three characters of the Eircode",a76097100e99514993c67ce0a504d944:"Sk\xE5ne",aa2172f3e598d9dfa66c2e0874204dea:"Lleida",ab5fbf5fdfbab516b63c37c02b29ab8e:"states/territories",ac9482c4ce2dc144b9b6b58f0222d3ed:"Rhode Island",ad4ab0550173ec2165e0cb3ff0d333e4:"New Hampshire",ae82578614359d78fa820b7d1fa9f462:"Vestfold",af950c6eb7920f799f4bfb8ef84fc061:"(e.g. 6021, 7420, 9371, 9382)",b1147e0b504af60bf3ac5879a445f0f8:"Telemark",b1eb566afe99f03326e038eb60c5d50e:"Tr\xF8ndelag",b30919b3a6af76982b2dc0b93db98674:"Le\xF3n",b35b1c285ae2b545da5dda0454d14775:"Armed Forces Europe",b3ec6c03ea56ed39aa1b38b42f184c55:"South Carolina",b449964d3a7e0ccba8e2958cd75af5e7:"Offaly",b452bd33ae2508b1fbf7b92e928719b6:"Australian Capital Territory",b48cbd2f5953d9a6ce8386ca452f23ef:"S\xF6dermanland",b49ad7bc53c5c3012aef78d5ab10a14f:"Ciudad Real",b4d7fc95cf6edfecfeb39eab7ed921f7:"Seville",b4eeec148e01c98787e939b35e75bd4c:"Monaghan",b503ccc15acfba32b443b15f9be7dc86:"{priceString} every {billingPeriodValue} years for {durationValue} years",b5564cc8c07496b41008182caac73d7a:"Montana",b60ff2beb875dc27a48879f4c01ac9d4:"Kalmar",b6e1bf28d28b6d5a6d6c859a2db1e224:"Nouvelle-Aquitaine",b7ad07308f56fb48852c530294d1b431:"Georgia",b7b297b78bccf9f0ade60f32b9adf35e:"postal codes",bc4942e6eb5560957076ee72bd450a87:"{priceString} every month for {durationValue} years",bc631d5e0bce55647f3576a1af3ac1c2:"Taranaki",bdf385760f3426c6fd05a852ca4ede89:"\xC1vila",bf61e95e1cd58efbe24116b64da48a69:"Postal Codes need to be 5 digits",bfce69c10e569bca8cf0016e9b6efcea:"regions",bfd537f1ea3d1fb2121c7e26ea1dff49:"Prince Edward Island",c0568ce398250cdb239e54dd003d820b:"Newfoundland and Labrador",c094c50bc552dc153f05bff562907c74:"Blekinge",c0e66a8eed23b71c0f86e2ca0e73767e:"West Virginia",c15e09a8ed4f3c9735e1945cc876a50c:"England",c1e72926285018781f7d6b79f5cf3496:"Ontario",c34bdd6b3756914076d13924d02f51cd:"Meath",c3a3c06fe28ba162e43a4427299619ab:"Indiana",c54d472d4ad44af8de6efe2f4af8da2a:"Pontevedra",c7094898f54b9d547da8e1c71ec88eca:"{priceString} every {billingPeriodValue} years",c763ae30b068c1e5c35ef0affaced3ca:"Idaho",c8ec364dd6f5adcf82319820e33ed55f:"Iowa",c9eef945d0594d2449c06c16e5b7057f:"Cuenca",cb02edc9d115111d1e997a8436f6efad:"{priceString} every {billingPeriodValue} weeks for 1 year",cc7462d80069ef888a48eb9ecb8b8080:"Laois",cd960236c981110601aa1134588e1964:"V\xE4sternorrland",cdcfade044d0d795cf16710dbb7b3055:"Nevada",ce2add86a7731213e45b14f1d77bed0b:"Leitrim",ce4ddaa3edf143287cd65dd2d362f329:"Madrid",ceaf28d892a92b9f5d7885d4c95cccfc:"Huelva",cec8c4ab63e9486281305ce5dc37be56:"Bay of Plenty",cef01d22bd1d40fe4c3a5f6f83738e86:"Castell\xF3n",cf77a8c222c1a75c8182b6997d3360db:"Palencia",d070acc40388b34ce7c70cdbc26f33ba:"North Carolina",d09ab56d97d63c0580cc32891860168c:"Oppland",d2438fce35bb14ef915bd91d9372ed13:"New Brunswick",d281968e97640002fc5e3762fea02393:"Northern Ireland",d2ff9e34f7d4722e357d9718abf632ff:"An FSA code is invalid.",d538d096e60d6a8bdf37b942451bf583:"Marlborough",d62034f3ffac6a74673302b5aef4e5c0:"{priceString} every {billingPeriodValue} months",d633d098ea9cf64e37abba123ca1a802:"Cavan",d70c8cf7790980effe60d5e82935b0cb:"Vest-Agder",d7da7078e417d85a5d6153914df94501:"Missouri",d84414dbe7057f074c6e7481c34ffa21:"Santa Cruz de Tenerife",d8e75c7f5819c9c506237eac488a59d9:"Manitoba",dac0934ed119c944592735e1ed9d0970:"Victoria",db2f219fa4c4b9633b22f0fe4e6f9532:"Balearic Islands",dd21aee6f89a601924a4e78dbaa52a18:"{priceString} every {billingPeriodValue} weeks for {durationValue} weeks",dd8d4fa7fd177e08efbdeed9ecaad813:"Wisconsin",dde9f4074d67e2029dec0f54cc968270:"Vermont",de7a226f0c826c00321fb3d4d6d727f2:"Enter up to 3 digits of the postcode",de84d3928afa47555e2e272d36eefa5a:"Postcodes need to be 4 digits",df35d12405760684b7b991ba29a05d9d:"Utah",df419542c1f676c32375ed2b2ddbb5c8:"Oslo",dfae2f6d1ba22473879169a6de7c1ce7:"Almer\xEDa",e2078f67b578417c25534c3821602d73:"Mississippi",e28e32dbe68fd12344816f1a90571cc2:"Armed Forces Pacific",e4f13be78f017226a1e6d93301bb8eb4:"{priceString} every week",e6180cdcaaf9443809d523ba6a0c4126:"(e.g. 6856, 9105, 9170, 2609)",e66afd9f4a2df5d4ade657fffa315204:"\xC1lava",e7d550c035572999ab58d93951ecb924:"Segovia",eb9336e5d12f1338e99f4fa79d2794f6:"ZIP Codes need to be 5 digits.",ecc3775091857144a16df81e16759d6e:"Westmeath",eee136534c2508dae589a49a0f488804:"Ohio",f1921be45352fa2fe9386ecc5d886b39:"{priceString} every week for 1 year",f27d6696ed0009b179da2153bf8dcd48:"Wexford",f3d2f3bf9e84107ecb9b6b5b4a1d6ede:"Norbotten",f46b2482f974c6abc61d291931c550df:"Centre-Val de Loire",f87ac4b4279f33e09e9ec8ab482677a6:"\xD6sterg\xF6tland",fa23b141c855e64dd3294c956c390b61:"Wyoming",fb1687072ff2dc75246f2c3f40c75f6d:"(e.g. 1, 203, 42)",fb58c1679f034996e115ce5abe5193d9:"Valencia",fd66039016906ea77616fcb25a2bf78d:"Yukon",fe8f3827350c82c928a653157dbfa1f6:"Washington",feb80631fb1afc9f370e3b3c5ff89e9e:"Lugo"}},293857:function(y){y.exports={"03ed8a0a8208f38d91ea43fcfb2674fa":"Cart","129d605196848a5638c140d2ee728388":"Checkout","177e608763b10b394a59507332431b9e":"Update the missing or invalid information above.","267b971d79b2fd102479491abeece7a1":"Unable to update quantity","379317016f8f9e771879bf7dd63c15b6":"Continue Shopping","4f37e4b63223b240b7d8d53b357fa762":"Close","4f4eb57cee331e4bce9b9b2b9e8787ec":"{price}, total price for {item}","4f7eec6a53703ee7e5f759e1d5e2a932":"{item} alert information","5594067ec2eb7899758e4961f9edc86b":"Unable to update form","5b0c6983e64dfd82f5948970fdb62cd4":"Remove {item}","76034908ec4e681b5486eb2040618f52":"Summary","7f1359b2385766869c9cbec90c29645c":"Add to cart","823e8fd2d89128022ff0fef0e9cb8c0f":"{productName} was added to your cart.","87bb6b3e520f3909e9e90f2386e89960":"Save","896b6eee6556a3723e31ad740e64d38a":"Shopping Cart","8dbc0b4f78369772fd9d831f990d543c":"{name} variant for {item}","8e733ed90c5bf49d5613c720508a60dd":"Please try again.","8ee71d998d748ba00e9e80234ce3a89d":"Subtotal label","90f2d72735116a9f7d4ec2aef34957bb":{one:"One item in cart",other:"{%n} items in cart"},"97a89a6a325cbc309ebe4e597f9fc1f9":"Subtotal price","9f6b08d833a751dcd0af336891007285":"No image",a4cde40c49be65e0781faad94fcbe519:"Quantity, {item}",a8958871ab8577d6667b57be6ef975ed:"{item}",b22005e29f0c7dd253328702493c917e:"Unable to open form",b97b63060e510629f77447c892a821ab:"Edit {item} details",bffdc4040665ab2a6af115da4073829a:"To check out, your order subtotal must be {subtotal} or more.",c43a6b7311c1eb75a85be7748c0cf830:"Customers also bought",ca02eaf2ea5e4b8b5f41df0576414393:{one:"More than one item in cart",other:"More than {%n} items in cart"},cadbd64edd794291e3a686905bacc208:"Unable to add item",d043e6155f48bd75d2b2c48f3b0e9258:"Please check your internet connection.",d16d3227422da60a63f98c59082c1029:"Subtotal",d16fa1f1d19313d233e2e75b13a1ddf3:"{item} image",dd5ce0a01f6e1c36fa9177510819e3d6:"Edit product details",e66ff745b1e97900c957e5a0a9f01ead:"Cancel",ea8d571cae88f8ae3cf5a6e7b007fa5f:"You have nothing in your shopping cart.",f62e405c0a46f7352e63fede4db0d913:"Okay",f8ab967379a4c6bbb037e255f201604a:"Edit Details",fd657139d48231170d72b9031b2a97c7:"Unable to remove item"}},175493:function(y){y.exports={"035d6db48366598d55c20c93e0c44ae4":"Thanks for your feedback","10d06f3cc584f88f516b460f757876b7":"You have already reviewed this purchase","14c484b8f59becfc9289037e340c3a5d":"Continue Shopping","162bc6da1abeb8f06f87b62c96d22bf7":"Something went wrong","2701f1d9dcb3d93702ea50717cce9354":"Try submitting your review again","384b3777b20b19cd61953eaa7e051043":"Review","623c88477a8b3fef5dd67843fa8dbf7e":"Submit","75e6c93da70e9792d0a01dae20499ad7":"Close",b063faac29a0c4f947fdf9586a0a1d2f:"Rating (required)",cf99e3390d505a466a43de7d194687b4:"Please select a star rating",d00161a7f82400bab5d2f6be1c43885a:{one:"Rate your other purchase",other:"Rate your other purchases"},d517f2bae8e7873c9b13cd3d52839410:"Your review request has expired",e0c04bc42f2ab551c09d41345fd25155:"Rate your purchase",e3a6618e2010bfff8207009bc3ef07b4:"There are no products to review",e4398ec9a661fe01116cd3c6bb35a7e2:"characters left",efa2df24f7875c0a02986e53f90d467c:"Describe your experience"}},162586:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.setI18nInstance=c.getI18nInstance=void 0,e(392338);var o=e(308938),n="core-components";function i(d){return e(445159)("./".concat(n,".").concat(d,".yaml"))}var t=(0,o.setupLibrary)(n,i),r=c.getI18nInstance=t.getI18nInstance,s=c.setI18nInstance=t.setI18nInstance},445159:function(y,c,e){var o={"./core-components.en-US.json":727381,"./core-components.en-US.yaml":312176,"common/temp/node_modules/.pnpm/@sqs+i18n-components@10.126.0_react@18.2.0/node_modules/@sqs/i18n-components/sqs-i18n-translations/strings/core-components.en-US.json":727381,"common/temp/node_modules/.pnpm/@sqs+i18n-components@10.126.0_react@18.2.0/node_modules/@sqs/i18n-components/sqs-i18n-translations/strings/core-components.en-US.yaml":312176};function n(t){var r=i(t);return e(r)}function i(t){if(!e.o(o,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return o[t]}n.keys=function(){return Object.keys(o)},n.resolve=i,y.exports=n,n.id=445159},332563:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.getPluralHash=c.getTranslateHash=void 0;var o=e(794094),n=o.__importDefault(e(625392)),i=o.__importDefault(e(412139)),t=["one","other"],r=function(h){return h.replace(/\n/g,"\\n")},s=function(h,g,m){return h+"value:".concat(r(g))+(m?"notes:".concat(r(m)):"")};function d(h,g,m){var S=m!=null?m:"";return s(g,h,S)}function v(h,g,m){var S=m!=null?m:"",_=Object.keys(h).map(function(C){return t.includes(C)?"".concat(C,":").concat(h[C]):""}).join("");return s(g,_,S)}var u=(0,n.default)(function(h,g,m){return(0,i.default)(d(h,g,m))},d),a=(0,n.default)(function(h,g,m){return(0,i.default)(v(h,g,m))},v),l=function(h,g){return u(h,g.project,g.notes)};c.getTranslateHash=l;var p=function(h,g){return a(h,g.project,g.notes)};c.getPluralHash=p},87818:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.getPluralHash=c.getTranslateHash=void 0;var o=e(332563);Object.defineProperty(c,"getTranslateHash",{enumerable:!0,get:function(){return o.getTranslateHash}}),Object.defineProperty(c,"getPluralHash",{enumerable:!0,get:function(){return o.getPluralHash}})},93869:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.DISPLAY_HASH_ON_SPAN=void 0,c.DISPLAY_HASH_ON_SPAN="i18n-ui-display-ids-on-spans"},294424:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=i;var n=o(e(603912));e(392338),e(392338),e(392338),e(392338);function i(t){var r=this;return function(s,d){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],u=Array.isArray(v)?v:[v],a=u.some(function(p){return p.includes("|")});if(!u.length||!a)return t.apply(r,[s].concat((0,n.default)(u)));var l=u.reduce(function(p,h){var g=h.split("|"),m=g[0],S=g[1]||g[0];return p[m]=isNaN(S)?S:parseFloat(S),p},{});return t(s,l)}}y.exports=c.default},593371:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0,e(392338),e(392338);var n=o(e(858240)),i=o(e(4636)),t=o(e(734897)),r=o(e(294424)),s=e(86423),d=function(){function u(a){var l=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(this,u),this.dictionary={},this.icuInstance=new t.default(a),this.icuInstance.addFormatters(this.wrapFormatters(l))}return(0,i.default)(u,[{key:"wrapFormatters",value:function(l){return Object.keys(l).reduce(function(p,h){return p[h]=new r.default(l[h]),p},{})}},{key:"compileMessage",value:function(l,p){var h=this.icuInstance.compile(l);return this.dictionary[p]=h,h}},{key:"translate",value:function(l){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},h=(0,s.hashCode)(l),g=this.dictionary[h];return g||(g=this.compileMessage(l,h)),g(p)}}]),u}(),v=c.default=d;y.exports=c.default},761217:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(593371)),i=function(){function t(r){var s=this;this.formatIcuMessage=function(d,v){return s.icuFormatter.translate(d,v)},this.icuFormatter=new n.default({pluralGenerator:function(d,v){return v?r.pluralOrdinal(d):r.plural(d)}},{formatNumber:r.formatNumber,formatCurrency:r.formatCurrency,formatDateTime:r.formatDateTime,formatRelativeTime:r.formatRelativeTime})}return t}();c.default=i,y.exports=c.default},371816:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0;var n=o(e(569644));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var i=o(e(255919)),t=e(296194);function r(d){this.mf=d,this.lc=null,this.locales={},this.runtime={},this.formatters={}}r.propname=function(d,v){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(d)&&["break","continue","delete","else","for","function","if","in","new","return","this","typeof","var","void","while","with","case","catch","default","do","finally","instanceof","switch","throw","try"].indexOf(d)<0)return v?v+"."+d:d;var u=JSON.stringify(d);return v?v+"["+u+"]":u},r.funcname=function(d){var v=d.trim().replace(/\W+/g,"_");return i.default.check(v,"es2015",!0)||/^\d/.test(v)?"_"+v:v},r.bidiMarkText=function(d,v){function u(l){var p=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return new RegExp("^"+p.join("|^")).test(l)}var a=JSON.stringify(u(v)?"\u200F":"\u200E");return a+" + "+d+" + "+a},r.prototype.cases=function(d,v){var u=!0,a=d.cases.map(function(l){l.key==="other"&&(u=!1);var p=l.tokens.map(function(h){return this.token(h,v)},this);return r.propname(l.key)+": "+(p.join(" + ")||'""')},this);if(u)throw new Error("No 'other' form found in "+JSON.stringify(d));return"{ "+a.join(", ")+" }"},r.prototype.token=function(d,v){if(typeof d=="string")return JSON.stringify(d);var u,a=[r.propname(d.arg,"d")];switch(d.type){case"argument":return this.mf.bidiSupport?r.bidiMarkText(a[0],this.lc):a[0];case"select":u="select",a.push(this.cases(d,this.mf.strictNumberSign?null:v)),this.runtime.select=!0;break;case"selectordinal":u="plural",a.push(0,r.funcname(this.lc),this.cases(d,d),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":u="plural",a.push(d.offset||0,r.funcname(this.lc),this.cases(d,d)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(this.mf.intlSupport&&!(d.key in this.mf.fmt)&&d.key in this.mf.constructor.formatters){var l=this.mf.constructor.formatters[d.key];this.mf.fmt[d.key]=typeof l(this.mf)=="function"?l(this.mf):l}if(!this.mf.fmt[d.key])throw new Error("Formatting function "+JSON.stringify(d.key)+" not found!");if(a.push(JSON.stringify(this.lc)),d.params)switch(d.params.length){case 0:break;case 1:a.push(JSON.stringify(d.params[0]));break;default:a.push(JSON.stringify(d.params));break}u=r.propname(d.key,"fmt"),this.formatters[d.key]=!0;break;case"octothorpe":if(!v)return'"#"';u="number",a=[r.propname(v.arg,"d"),JSON.stringify(v.arg)],v.offset&&a.push(v.offset),this.runtime.number=!0;break}if(!u)throw new Error("Parser error for token "+JSON.stringify(d));return u+"("+a.join(", ")+")"},r.prototype.compile=function(d,v,u){if((0,n.default)(d)!=="object"){this.lc=v;var a=u[v]||{cardinal:[],ordinal:[]},l=(0,t.parse)(d,a).map(function(m){return this.token(m)},this);return"function(d) { return "+(l.join(" + ")||'""')+"; }"}var p={};for(var h in d){var g=u.hasOwnProperty(h)?h:v;p[h]=this.compile(d[h],g,u)}return p};var s=c.default=r;y.exports=c.default},734897:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var n=o(e(569644)),i=o(e(371816)),t=o(e(578157));/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript * * @author Alex Sexton - @SlexAxton, Eemeli Aro * @version 1.0.2 * @copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors * @license To use or fork, MIT. To contribute back, JS Foundation CLA */function r(d){if(this.pluralFuncs={},d){if((0,n.default)(d)!=="object")throw new Error("Must be initialized with plural functions");for(var v in d)if(d.hasOwnProperty(v)){if(typeof d[v]!="function")throw new Error("Expected function value for locale "+JSON.stringify(v));this.pluralFuncs[v]=d[v]}}this.fmt={},this.runtime=new t.default(this)}r.defaultLocale="en",r.escape=function(d){return d.replace(/[#{}\\]/g,"\\$&")},r.formatters={number:function(v){return new Function("v,lc,p","return new Intl.NumberFormat(lc,\n p=='integer' ? {maximumFractionDigits:0}\n : p=='percent' ? {style:'percent'}\n : p=='currency' ? {style:'currency', currency:'"+(v.currency||"USD")+"', minimumFractionDigits:2, maximumFractionDigits:2}\n : {}).format(v)")},date:function(v,u,a){var l={day:"numeric",month:"short",year:"numeric"};switch(a){case"full":l.weekday="long";case"long":l.month="long";break;case"short":l.month="numeric"}return new Date(v).toLocaleDateString(u,l)},time:function(v,u,a){var l={second:"numeric",minute:"numeric",hour:"numeric"};switch(a){case"full":case"long":l.timeZoneName="short";break;case"short":delete l.second}return new Date(v).toLocaleTimeString(u,l)}},r.prototype.addFormatters=function(d){for(var v in d)d.hasOwnProperty(v)&&(this.fmt[v]=d[v]);return this},r.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var d in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(d)&&(this.pluralFuncs[d].cardinal=[],this.pluralFuncs[d].ordinal=[]);return this},r.prototype.setBiDiSupport=function(d){return this.bidiSupport=!!d||typeof d=="undefined",this},r.prototype.setIntlSupport=function(d){return this.intlSupport=!!d||typeof d=="undefined",this},r.prototype.setStrictNumberSign=function(d){return this.strictNumberSign=!!d||typeof d=="undefined",this.runtime.setStrictNumber(this.strictNumberSign),this},r.prototype.compile=function(d,v){function u(C,O){if(O||(O=0),(0,n.default)(C)!=="object")return C;for(var A=[],x="",T=0;T-1?m+C+" = "+S:m+["(function (root, G) {",' if (typeof define === "function" && define.amd) { define(G); }',' else if (typeof exports === "object") { module.exports = G; }'," else { "+i.default.propname(C,"root")+" = G; }","})(this, "+S+");"].join("\n")}},_};var s=c.default=r;y.exports=c.default},578157:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0;var n=o(e(569644));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var i=o(e(371816));function t(v){this.mf=v,this.setStrictNumber(v.strictNumberSign)}function r(v,u,a){if(!a)return v;if(isNaN(v))throw new Error("Can't apply offset:"+a+" to argument `"+u+"` with non-numerical value "+JSON.stringify(v)+".");return v-a}function s(v,u,a){if(isNaN(v))throw new Error("Argument `"+u+"` has non-numerical value "+JSON.stringify(v)+".");return v-(a||0)}t.prototype.setStrictNumber=function(v){this.number=v?s:r},t.prototype.plural=function(v,u,a,l,p){if({}.hasOwnProperty.call(l,v))return l[v];u&&(v-=u);var h=a(v,p);return h in l?l[h]:l.other},t.prototype.select=function(v,u){return{}.hasOwnProperty.call(u,v)?u[v]:u.other},t.prototype.toString=function(v,u){function a(g,m){if((0,n.default)(g)!="object"){var S=g.toString().replace(/^(function )\w*/,"$1"),O=/([ \t]*)\S.*$/.exec(S);return O?S.replace(new RegExp("^"+O[1],"mg"),""):S}var _=[];for(var C in g)m==0?_.push("var "+C+" = "+a(g[C],m+1)+";\n"):_.push(i.default.propname(C)+": "+a(g[C],m+1));if(m==0)return _.join("");if(_.length==0)return"{}";for(var O=" ";--m;)O+=" ";return"{\n"+_.join(",\n").replace(/^/gm,O)+"\n}"}var l={};Object.keys(u.locales).forEach(function(g){l[i.default.funcname(g)]=v[g]}),Object.keys(u.runtime).forEach(function(g){l[g]=this[g]},this);var p=Object.keys(u.formatters),h=this.mf.fmt;return p.length&&(l.fmt=p.reduce(function(g,m){return g[m]=h[m],g},{})),a(l,0)};var d=c.default=t;y.exports=c.default},86423:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.hashCode=void 0;var e=c.hashCode=function(n){for(var i=0,t=n.length,r=0;rFree');var g=(0,i.useMemo)(function(){return d&&a.isZero()?v:p(a,l)},[v,d,a,l,p]);return i.default.createElement("span",o.__assign({},h),u&&"- ",g)};r.propTypes={freeIfZero:n.default.bool,freeLabel:function(s,d){if(s.freeIfZero&&s[d]===void 0)return new Error('A Free label is required, and it should be a wrapped string. i.e: t("Free") or Free')},isNegative:n.default.bool,value:n.default.instanceOf(t.default).isRequired,cldrCurrencyOpts:n.default.object,formatter:n.default.func.isRequired},c.default=r,y.exports=c.default},575670:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(442629)),i=e(427331);function t(r){var s=r.value,d=r.format,v=r.formatter,u=r.className;return(0,i.renderComponent)({className:u},v(s,d))}t.propTypes={className:n.default.string,format:n.default.object,formatter:n.default.func.isRequired,value:n.default.number.isRequired},c.default=t,y.exports=c.default},629265:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(442629)),i=e(427331);function t(r){var s=r.quantity,d=r.options,v=r.formatter,u=r.className;return(0,i.renderComponent)({className:u},v(s,d))}t.propTypes={className:n.default.string,formatter:n.default.func.isRequired,quantity:n.default.object.isRequired,options:n.default.object},c.default=t,y.exports=c.default},666756:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(174161)),i=o.__importDefault(e(442629)),t=o.__importDefault(e(301314)),r=o.__importDefault(e(291341)),s=e(87818),d=o.__importDefault(e(250801)),v=e(255875),u=e(427331),a=function(l){var p=l.n,h=l.forms,g=l.locale,m=l.formatter,S=l.project,_=l.notes,C=l.htmlAttributesTransform,O=o.__rest(l,["n","forms","locale","formatter","project","notes","htmlAttributesTransform"]),A=(0,d.default)(),x={},T={},R=h&&h.other?h.other:null;if((0,t.default)(!O.hasOwnProperty("children"),"The Plural component does not support children."),typeof p!="number"||!R)return null;if(typeof R!="string")return(0,u.renderComponent)(null,R);Object.keys(O).forEach(function(k){var J=O[k];n.default.isValidElement(J)?x[k]=J:T[k]=J});var N=(0,v.propsToOpts)(S,_),B=m(h,p,T,N),z=(0,v.parseString)(Object.values(h).join(",")),K=(0,r.default)(T,function(k,J){return!z.includes("{".concat(J,"}"))});A&&(K["data-i18n-id"]=(0,s.getPluralHash)(h,{project:S,notes:_}));var $=(0,v.shallowDifference)(T,K),ie={strings:Object.keys($)};if(Object.keys(x).length>0){var V=(0,v.performComponentSubs)(B,x),W=V.children,H=V.replaced;return ie.components=H,K=C(B,ie,K),(0,u.renderComponentWithChildren)(W,K)}return K=C(B,ie,K),(0,u.renderComponent)(K,B)};a.propTypes={n:i.default.number,forms:i.default.shape({one:i.default.string,other:i.default.string.isRequired,zero:i.default.string,many:i.default.string,few:i.default.string,two:i.default.string}),formatter:i.default.func.isRequired,project:i.default.string.isRequired,notes:i.default.string},c.default=a,y.exports=c.default},875254:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(442629)),i=e(427331);function t(r){var s=r.formatter,d=r.value,v=r.from,u=r.tooltipTitle,a=r.className;return(0,i.renderComponent)({title:u,className:a},s(d,v))}t.propTypes={value:n.default.oneOfType([n.default.string,n.default.number,n.default.shape({_isAMomentObject:n.default.bool}),n.default.instanceOf(Date)]),from:n.default.oneOfType([n.default.string,n.default.number,n.default.shape({_isAMomentObject:n.default.bool}),n.default.instanceOf(Date)]),tooltipTitle:n.default.string,className:n.default.string,formatter:n.default.func.isRequired},c.default=t,y.exports=c.default},968792:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(174161)),i=o.__importDefault(e(442629)),t=o.__importDefault(e(291341)),r=e(87818),s=e(255875),d=e(427331),v=o.__importDefault(e(250801)),u=function(a){var l=a.children,p=a.formatter,h=a.locale,g=a.notes,m=a.project,S=a.htmlAttributesTransform,_=o.__rest(a,["children","formatter","locale","notes","project","htmlAttributesTransform"]),C={},O={},A=l,x=(0,v.default)();if(!A)return null;if(typeof A!="string")return(0,d.renderComponent)(null,A);Object.keys(_).forEach(function(W){var H=_[W];n.default.isValidElement(H)?C[W]=H:O[W]=H});var T=(0,s.propsToOpts)(m,g),R=p(A,O,T),N=(0,s.parseString)(A),B=(0,t.default)(O,function(W,H){return!N.includes("{".concat(H,"}"))});x&&(B["data-i18n-id"]=(0,r.getTranslateHash)(A,{project:m,notes:g}));var z=(0,s.shallowDifference)(O,B),K={strings:Object.keys(z)};if(Object.keys(C).length>0){var $=(0,s.performComponentSubs)(R,C),ie=$.children,V=$.replaced;return K.components=V,B=S(R,K,B),(0,d.renderComponentWithChildren)(ie,B)}return B=S(R,K,B),(0,d.renderComponent)(B,R)};u.propTypes={children:i.default.oneOfType([i.default.string,i.default.array,i.default.element]),formatter:i.default.func.isRequired,notes:i.default.string,project:i.default.string.isRequired},c.default=u,y.exports=c.default},255875:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.propsToOpts=c.performComponentSubs=c.parseString=c.shallowDifference=void 0;var o=e(763268),n=o.__importDefault(e(174161)),i=o.__importDefault(e(485774)),t=/\{([^}]+)\}/g,r=function(a,l){var p=l.map(function(h){return{key:h,index:a.indexOf(h)}}).filter(function(h){var g=h.index;return g!==-1}).sort(function(h,g){return h.index-g.index});return p[0]||null},s=function(a,l){return Object.entries(a).reduce(function(p,h){var g=h[0],m=h[1];return(!Object.values(l).includes(m)||!Object.keys(l).includes(g))&&(p[g]=m),p},{})};c.shallowDifference=s;var d=function(a){if(!a)return[];var l=a.match(t);if(l===null)return[a];for(var p=[];a.length;){var h=r(a,l);if(h===null)break;p.push(a.slice(0,h.index)),p.push(h.key),a=a.slice(h.index+(h.key?h.key.length:0))}return p.push(a),p};c.parseString=d;var v=function(a,l){var p=(0,c.parseString)(a),h=[];return l&&(p=p.map(function(g){var m=(0,i.default)(l,function(S,_){return"{".concat(_,"}")===g});return m?n.default.isValidElement(l[m])&&l[m].key===null?(h=h.concat(m),n.default.cloneElement(l[m],{key:m})):l[m]:g})),{children:p,replaced:h}};c.performComponentSubs=v;var u=function(a,l){var p={project:a};return l&&Object.assign(p,{notes:l}),p};c.propsToOpts=u},427331:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.renderComponentWithChildren=c.renderComponent=void 0;var o=e(763268),n=o.__importDefault(e(174161)),i=function(r,s){return n.default.createElement("span",o.__assign({},r),s)};c.renderComponent=i;var t=function(r,s){return s===void 0&&(s={}),n.default.createElement("span",o.__assign({},s),r)};c.renderComponentWithChildren=t},250801:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(174161),n=e(93869),i=function(){var t=(0,o.useState)(!1),r=t[0],s=t[1];return(0,o.useEffect)(function(){var d=function(v){v.data===n.DISPLAY_HASH_ON_SPAN&&s(!0)};return window.addEventListener("message",d),function(){window.removeEventListener("message",d)}},[]),r};c.default=i,y.exports=c.default},640571:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(763268),n=o.__importDefault(e(174161)),i=o.__importDefault(e(360335)),t=o.__importDefault(e(875254)),r=o.__importDefault(e(810660)),s=o.__importDefault(e(575670)),d=o.__importDefault(e(629265)),v=o.__importDefault(e(631857)),u=o.__importDefault(e(968792)),a=o.__importDefault(e(666756)),l=function(){function p(h){var g=this;this.FormattedCurrency=function(m){return n.default.createElement(r.default,o.__assign({},m,{formatter:g.i18nInstance.formatCurrency}))},this.FormattedMoney=function(m){return n.default.createElement(v.default,o.__assign({},m,{formatter:g.i18nInstance.formatMoney}))},this.FormattedNumber=function(m){return n.default.createElement(s.default,o.__assign({},m,{formatter:g.i18nInstance.formatNumber}))},this.FormattedQuantity=function(m){return n.default.createElement(d.default,o.__assign({},m,{formatter:g.i18nInstance.formatQuantity}))},this.FormattedDateTime=function(m){return n.default.createElement(i.default,o.__assign({},m,{formatter:g.i18nInstance.formatDateTime}))},this.RelativeTime=function(m){return n.default.createElement(t.default,o.__assign({},m,{formatter:g.i18nInstance.formatRelativeTime}))},this.T=function(m){var S=m.children,_=m.project,C=o.__rest(m,["children","project"]);return n.default.createElement(u.default,o.__assign({},C,{project:_,formatter:g.i18nInstance.translate,htmlAttributesTransform:g.i18nInstance.htmlAttributesTransform}),S)},this.Plural=function(m){return n.default.createElement(a.default,o.__assign({},m,{project:m.project,forms:m.forms,n:m.n,formatter:g.i18nInstance.pluralize,htmlAttributesTransform:g.i18nInstance.htmlAttributesTransform}))},this.i18nInstance=h,this.T.displayName="TWrapper",this.Plural.displayName="PluralWrapper",this.FormattedCurrency.displayName="FormattedCurrencyWrapper",this.FormattedMoney.displayName="FormattedMoneyWrapper",this.FormattedNumber.displayName="FormattedNumberWrapper",this.FormattedQuantity.displayName="FormattedQuantityWrapper",this.FormattedDateTime.displayName="FormattedDateTimeWrapper",this.RelativeTime.displayName="RelativeTimeWrapper"}return p}();c.default=l,y.exports=c.default},273946:function(y,c,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0;var o=e(137721),n=e(224641),i=e(873588);function t(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function r(u,a){for(var l,p=0;poe||J==="contain"&&rere||ae==="contain"&&teJ};c.shouldUpdateResolution=K;var $=function(H,k){var J=H.source;if(!J||!J[0])return console.warn("Invalid or missing image source."),!1;if(k&&(J[0]==="/"||d(J))){if(H.sizeFormat==="queryString"&&J.indexOf("format="+k)===-1)return J=J+(-1d.sizes[l])return d.sizes[l-1]+"w";return d.sizes[a-1]+"w"};c.getSquarespaceSize=i},296194:function(y){"use strict";function c(n,i){function t(){this.constructor=n}t.prototype=i.prototype,n.prototype=new t}function e(n,i,t,r){this.message=n,this.expected=i,this.found=t,this.location=r,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,e)}c(e,Error),e.buildMessage=function(n,i){var t={literal:function(l){return'"'+s(l.text)+'"'},class:function(l){var p="",h;for(h=0;h0){for(h=1,g=1;hpr&&(pr=Pe,Ji=[]),Ji.push(ue))}function da(ue,Te){return new e(ue,null,null,Te)}function Ri(ue,Te,qe){return new e(e.buildMessage(ue,Te),ue,Te,qe)}function vi(){var ue,Te;for(ue=[],Te=lr();Te!==t;)ue.push(Te),Te=lr();return ue}function lr(){var ue,Te,qe;if(ue=Ei(),ue===t&&(ue=ea(),ue===t&&(ue=wi(),ue===t&&(ue=Ur(),ue===t&&(ue=Pe,n.charCodeAt(Pe)===35?(Te=d,Pe++):(Te=t,on===0&&Qt(v)),Te!==t?(cn=Pe,qe=u(),qe?qe=void 0:qe=t,qe!==t?(cn=ue,Te=a(),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue===t))))){if(ue=Pe,Te=[],qe=Gt(),qe!==t)for(;qe!==t;)Te.push(qe),qe=Gt();else Te=t;Te!==t&&(cn=ue,Te=l(Te)),ue=Te}return ue}function Ei(){var ue,Te,qe,kt,un,pn;return ue=Pe,n.charCodeAt(Pe)===123?(Te=p,Pe++):(Te=t,on===0&&Qt(h)),Te!==t?(qe=hn(),qe!==t?(kt=Ir(),kt!==t?(un=hn(),un!==t?(n.charCodeAt(Pe)===125?(pn=g,Pe++):(pn=t,on===0&&Qt(m)),pn!==t?(cn=ue,Te=S(kt),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function ea(){var ue,Te,qe,kt,un,pn,Fr,er,Gn,ti,Si,_r,Wr,Un;if(ue=Pe,n.charCodeAt(Pe)===123?(Te=p,Pe++):(Te=t,on===0&&Qt(h)),Te!==t)if(qe=hn(),qe!==t)if(kt=Ir(),kt!==t)if(un=hn(),un!==t)if(n.charCodeAt(Pe)===44?(pn=_,Pe++):(pn=t,on===0&&Qt(C)),pn!==t)if(Fr=hn(),Fr!==t)if(er=Pe,n.substr(Pe,6)===O?(Gn=O,Pe+=6):(Gn=t,on===0&&Qt(A)),Gn!==t&&(cn=er,Gn=x(kt,Gn)),er=Gn,er!==t)if(Gn=hn(),Gn!==t)if(n.charCodeAt(Pe)===44?(ti=_,Pe++):(ti=t,on===0&&Qt(C)),ti!==t)if(Si=hn(),Si!==t){if(_r=[],Wr=we(),Wr!==t)for(;Wr!==t;)_r.push(Wr),Wr=we();else _r=t;_r!==t?(Wr=hn(),Wr!==t?(n.charCodeAt(Pe)===125?(Un=g,Pe++):(Un=t,on===0&&Qt(m)),Un!==t?(cn=ue,Te=T(kt,_r),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)}else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;return ue}function wi(){var ue,Te,qe,kt,un,pn,Fr,er,Gn,ti,Si,_r,Wr,Un,Yt;if(ue=Pe,n.charCodeAt(Pe)===123?(Te=p,Pe++):(Te=t,on===0&&Qt(h)),Te!==t)if(qe=hn(),qe!==t)if(kt=Ir(),kt!==t)if(un=hn(),un!==t)if(n.charCodeAt(Pe)===44?(pn=_,Pe++):(pn=t,on===0&&Qt(C)),pn!==t)if(Fr=hn(),Fr!==t)if(er=Pe,n.substr(Pe,6)===R?(Gn=R,Pe+=6):(Gn=t,on===0&&Qt(N)),Gn===t&&(n.substr(Pe,13)===B?(Gn=B,Pe+=13):(Gn=t,on===0&&Qt(z))),Gn!==t&&(cn=er,Gn=K(kt,Gn)),er=Gn,er!==t)if(Gn=hn(),Gn!==t)if(n.charCodeAt(Pe)===44?(ti=_,Pe++):(ti=t,on===0&&Qt(C)),ti!==t)if(Si=hn(),Si!==t)if(_r=mt(),_r===t&&(_r=null),_r!==t){if(Wr=[],Un=Ue(),Un!==t)for(;Un!==t;)Wr.push(Un),Un=Ue();else Wr=t;Wr!==t?(Un=hn(),Un!==t?(n.charCodeAt(Pe)===125?(Yt=g,Pe++):(Yt=t,on===0&&Qt(m)),Yt!==t?(cn=ue,Te=$(kt,er,_r,Wr),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)}else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;else Pe=ue,ue=t;return ue}function Ur(){var ue,Te,qe,kt,un,pn,Fr,er,Gn,ti,Si;return ue=Pe,n.charCodeAt(Pe)===123?(Te=p,Pe++):(Te=t,on===0&&Qt(h)),Te!==t?(qe=hn(),qe!==t?(kt=Ir(),kt!==t?(un=hn(),un!==t?(n.charCodeAt(Pe)===44?(pn=_,Pe++):(pn=t,on===0&&Qt(C)),pn!==t?(Fr=hn(),Fr!==t?(er=Pe,Gn=Ir(),Gn!==t&&(cn=er,Gn=x(kt,Gn)),er=Gn,er!==t?(Gn=hn(),Gn!==t?(ti=Ct(),ti!==t?(n.charCodeAt(Pe)===125?(Si=g,Pe++):(Si=t,on===0&&Qt(m)),Si!==t?(cn=ue,Te=ie(kt,er,ti),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function Ir(){var ue,Te,qe;if(ue=Pe,Te=[],V.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(W)),qe!==t)for(;qe!==t;)Te.push(qe),V.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(W));else Te=t;return Te!==t?ue=n.substring(ue,Pe):ue=Te,ue}function ze(){var ue,Te,qe;if(ue=Pe,Te=[],qe=en(),qe!==t)for(;qe!==t;)Te.push(qe),qe=en();else Te=t;return Te!==t&&(cn=ue,Te=l(Te)),ue=Te,ue}function me(){var ue,Te,qe;if(ue=Pe,Te=[],qe=sn(),qe!==t)for(;qe!==t;)Te.push(qe),qe=sn();else Te=t;return Te!==t&&(cn=ue,Te=l(Te)),ue=Te,ue}function we(){var ue,Te,qe,kt,un;return ue=Pe,Te=hn(),Te!==t?(qe=Ir(),qe!==t?(kt=hn(),kt!==t?(un=tt(),un!==t?(cn=ue,Te=H(qe,un),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function Ue(){var ue,Te,qe,kt,un;return ue=Pe,Te=hn(),Te!==t?(qe=At(),qe!==t?(kt=hn(),kt!==t?(un=tt(),un!==t?(cn=ue,Te=H(qe,un),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function tt(){var ue,Te,qe,kt,un,pn;if(ue=Pe,n.charCodeAt(Pe)===123?(Te=p,Pe++):(Te=t,on===0&&Qt(h)),Te!==t)if(qe=Pe,kt=hn(),kt!==t?(un=Pe,on++,n.charCodeAt(Pe)===123?(pn=p,Pe++):(pn=t,on===0&&Qt(h)),on--,pn!==t?(Pe=un,un=void 0):un=t,un!==t?(kt=[kt,un],qe=kt):(Pe=qe,qe=t)):(Pe=qe,qe=t),qe===t&&(qe=null),qe!==t){for(kt=[],un=lr();un!==t;)kt.push(un),un=lr();kt!==t?(un=hn(),un!==t?(n.charCodeAt(Pe)===125?(pn=g,Pe++):(pn=t,on===0&&Qt(m)),pn!==t?(cn=ue,Te=k(kt),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)}else Pe=ue,ue=t;else Pe=ue,ue=t;return ue}function mt(){var ue,Te,qe,kt,un,pn,Fr,er;return ue=Pe,Te=hn(),Te!==t?(n.substr(Pe,6)===J?(qe=J,Pe+=6):(qe=t,on===0&&Qt(ae)),qe!==t?(kt=hn(),kt!==t?(n.charCodeAt(Pe)===58?(un=ne,Pe++):(un=t,on===0&&Qt(X)),un!==t?(pn=hn(),pn!==t?(Fr=xn(),Fr!==t?(er=hn(),er!==t?(cn=ue,Te=re(Fr),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function At(){var ue,Te,qe;return ue=Ir(),ue===t&&(ue=Pe,n.charCodeAt(Pe)===61?(Te=Z,Pe++):(Te=t,on===0&&Qt(te)),Te!==t?(qe=xn(),qe!==t?(cn=ue,Te=re(qe),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)),ue}function Ct(){var ue,Te,qe;for(ue=Pe,Te=[],qe=Nt();qe!==t;)Te.push(qe),qe=Nt();if(Te!==t?(cn=Pe,qe=oe(Te),qe?qe=t:qe=void 0,qe!==t?(cn=ue,Te=Se(Te),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue===t){for(ue=Pe,Te=[],qe=Jt();qe!==t;)Te.push(qe),qe=Jt();Te!==t?(cn=Pe,qe=oe(Te),qe?qe=void 0:qe=t,qe!==t?(cn=ue,Te=Se(Te),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)}return ue}function Jt(){var ue,Te,qe,kt;return ue=Pe,Te=hn(),Te!==t?(n.charCodeAt(Pe)===44?(qe=_,Pe++):(qe=t,on===0&&Qt(C)),qe!==t?(kt=me(),kt!==t?(cn=ue,Te=Se(kt),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function Nt(){var ue,Te,qe,kt,un,pn;return ue=Pe,Te=hn(),Te!==t?(n.charCodeAt(Pe)===44?(qe=_,Pe++):(qe=t,on===0&&Qt(C)),qe!==t?(kt=hn(),kt!==t?(un=ze(),un!==t?(pn=hn(),pn!==t?(cn=ue,Te=Re(un),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue}function Tn(){var ue,Te;return ue=Pe,n.substr(Pe,2)===Ke?(Te=Ke,Pe+=2):(Te=t,on===0&&Qt(Qe)),Te!==t&&(cn=ue,Te=Je()),ue=Te,ue}function _t(){var ue,Te,qe;if(ue=Tn(),ue===t){if(ue=Pe,Te=[],rt.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Pt)),qe!==t)for(;qe!==t;)Te.push(qe),rt.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Pt));else Te=t;Te!==t&&(cn=ue,Te=l(Te)),ue=Te}return ue}function vt(){var ue,Te,qe,kt;if(ue=Pe,n.substr(Pe,2)===Wt?(Te=Wt,Pe+=2):(Te=t,on===0&&Qt(de)),Te!==t){for(qe=[],kt=_t();kt!==t;)qe.push(kt),kt=_t();qe!==t?(n.charCodeAt(Pe)===39?(kt=Le,Pe++):(kt=t,on===0&&Qt(le)),kt!==t?(cn=ue,Te=Ce(qe),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)}else Pe=ue,ue=t;if(ue===t)if(ue=Pe,n.substr(Pe,2)===Ne?(Te=Ne,Pe+=2):(Te=t,on===0&&Qt(Ee)),Te!==t){for(qe=[],kt=_t();kt!==t;)qe.push(kt),kt=_t();qe!==t?(n.charCodeAt(Pe)===39?(kt=Le,Pe++):(kt=t,on===0&&Qt(le)),kt!==t?(cn=ue,Te=Ie(qe),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)}else Pe=ue,ue=t;return ue}function St(){var ue,Te,qe,kt,un,pn;if(ue=vt(),ue===t){if(ue=Pe,Te=Pe,qe=Pe,n.substr(Pe,2)===dt?(kt=dt,Pe+=2):(kt=t,on===0&&Qt(xt)),kt!==t){for(un=[],pn=_t();pn!==t;)un.push(pn),pn=_t();un!==t?(n.charCodeAt(Pe)===39?(pn=Le,Pe++):(pn=t,on===0&&Qt(le)),pn!==t?(cn=qe,kt=It(un),qe=kt):(Pe=qe,qe=t)):(Pe=qe,qe=t)}else Pe=qe,qe=t;qe!==t?(cn=Pe,kt=u(),kt?kt=void 0:kt=t,kt!==t?(qe=[qe,kt],Te=qe):(Pe=Te,Te=t)):(Pe=Te,Te=t),Te!==t&&(cn=ue,Te=gt(Te)),ue=Te,ue===t&&(n.charCodeAt(Pe)===39?(ue=Le,Pe++):(ue=t,on===0&&Qt(le)))}return ue}function wt(){var ue;return ue=vt(),ue===t&&(n.charCodeAt(Pe)===39?(ue=Le,Pe++):(ue=t,on===0&&Qt(le))),ue}function Gt(){var ue,Te,qe,kt,un,pn;return ue=Tn(),ue===t&&(ue=St(),ue===t&&(ue=Pe,n.charCodeAt(Pe)===35?(Te=d,Pe++):(Te=t,on===0&&Qt(v)),Te!==t?(cn=Pe,qe=Ot(Te),qe?qe=void 0:qe=t,qe!==t?(cn=ue,Te=Fe(Te),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t),ue===t&&(Ve.test(n.charAt(Pe))?(ue=n.charAt(Pe),Pe++):(ue=t,on===0&&Qt(se)),ue===t&&(ue=Pe,n.substr(Pe,2)===fe?(Te=fe,Pe+=2):(Te=t,on===0&&Qt(pe)),Te!==t&&(cn=ue,Te=xe()),ue=Te,ue===t&&(ue=Pe,n.substr(Pe,2)===Me?(Te=Me,Pe+=2):(Te=t,on===0&&Qt(je)),Te!==t&&(cn=ue,Te=Xe()),ue=Te,ue===t&&(ue=Pe,n.substr(Pe,2)===st?(Te=st,Pe+=2):(Te=t,on===0&&Qt(Ae)),Te!==t&&(cn=ue,Te=He()),ue=Te,ue===t&&(ue=Pe,n.substr(Pe,2)===ot?(Te=ot,Pe+=2):(Te=t,on===0&&Qt(Ut)),Te!==t&&(cn=ue,Te=Zt()),ue=Te,ue===t&&(ue=Pe,n.substr(Pe,2)===jt?(Te=jt,Pe+=2):(Te=t,on===0&&Qt(vn)),Te!==t?(qe=mn(),qe!==t?(kt=mn(),kt!==t?(un=mn(),un!==t?(pn=mn(),pn!==t?(cn=ue,Te=Xn(qe,kt,un,pn),ue=Te):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t)):(Pe=ue,ue=t))))))))),ue}function Dt(){var ue;return ue=Tn(),ue===t&&(ue=wt()),ue}function en(){var ue,Te,qe;if(ue=Dt(),ue===t){if(ue=Pe,Te=[],xr.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Wn)),qe!==t)for(;qe!==t;)Te.push(qe),xr.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Wn));else Te=t;Te!==t&&(cn=ue,Te=l(Te)),ue=Te}return ue}function sn(){var ue,Te,qe;if(ue=Dt(),ue===t){if(ue=Pe,Te=[],kn.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(or)),qe!==t)for(;qe!==t;)Te.push(qe),kn.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(or));else Te=t;Te!==t&&(cn=ue,Te=l(Te)),ue=Te}return ue}function xn(){var ue,Te,qe;if(ue=Pe,Te=[],ci.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Jr)),qe!==t)for(;qe!==t;)Te.push(qe),ci.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Jr));else Te=t;return Te!==t?ue=n.substring(ue,Pe):ue=Te,ue}function mn(){var ue;return fa.test(n.charAt(Pe))?(ue=n.charAt(Pe),Pe++):(ue=t,on===0&&Qt(Mr)),ue}function hn(){var ue,Te,qe;for(ue=Pe,Te=[],Zi.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Gr));qe!==t;)Te.push(qe),Zi.test(n.charAt(Pe))?(qe=n.charAt(Pe),Pe++):(qe=t,on===0&&Qt(Gr));return Te!==t?ue=n.substring(ue,Pe):ue=Te,ue}var Hn=!1,Dr="[ -\r \x85\u200E\u200F\u2028\u2029]*",Or=new RegExp("^"+Dr+"|"+Dr+"$","g");if(fi=s(),fi!==t&&Pe===n.length)return fi;throw fi!==t&&Pe0&&arguments[0]!==void 0?arguments[0]:{},x=this.GMaps;(0,n.default)(this.ui,A);var T=this.ui,R=T.showControls,N=T.showTerrain,B=T.showLabels,z=T.draggable,K=T.disableDefaultUI,$=T.scrollwheel,ie=T.markerDraggable,V=p(this.ui.style);B&&V.labels&&Array.prototype.push.apply(V.colors,V.labels);var W=void 0;V.satellite?W=x.MapTypeId.HYBRID:N?W=x.MapTypeId.TERRAIN:W=x.MapTypeId.ROADMAP;var H={mapTypeControl:!1,mapTypeId:W,overviewMapControl:!1,panControl:R,scaleControl:R,streetViewControl:!1,styles:V.colors,zoomControl:R,draggable:z,disableDefaultUI:K,scrollwheel:$};this.map.setOptions(H);var k={draggable:ie};if(this.marker.setOptions(k),V.marker){var J=V.marker.imgUrl,ae=V.marker.naturalWidth,ne=V.marker.naturalHeight;this.marker.setIcon({url:J,size:new x.Size(ae,ne),scaledSize:new x.Size(ae/2,ne/2),anchor:new x.Point(ae/4,ne/2)})}else this.marker.setIcon(null)}},{key:"updateLocation",value:function(A){"mapLat"in A&&"mapLng"in A&&this.updateCenter(A.mapLat,A.mapLng),"markerLat"in A&&"markerLng"in A&&this.updateMarker(A.markerLat,A.markerLng),"zoom"in A&&this.setZoom(A.zoom)}},{key:"centerMarker",value:function(){this.redraw(),this.map.setCenter(this.marker.getPosition())}},{key:"getCenter",value:function(){var A=this.map.getCenter();return{lat:A.lat(),lng:A.lng()}}},{key:"updateCenter",value:function(A,x){this.location.mapLat=A,this.location.mapLng=x,this.map.setCenter(new this.GMaps.LatLng(A,x))}},{key:"getMarkerPosition",value:function(){var A=this.marker.getPosition();return{lat:A.lat(),lng:A.lng()}}},{key:"updateMarker",value:function(A,x){this.location.markerLat=A,this.location.markerLng=x;var T=this.getLocationString();this.marker.setPosition(new this.GMaps.LatLng(A,x)),this.marker.title=location.addressTitle?location.addressTitle+" "+T:T}},{key:"setZoom",value:function(A){this.location.zoom=A,this.map.setZoom(A)}}]),C}();y.exports=_},94848:function(y){"use strict";var c={imgUrl:"/universal/images-v6/icons/cover-pages-map-marker-pin-dark-2x.png",naturalWidth:48,naturalHeight:64},e={imgUrl:"/universal/images-v6/icons/cover-pages-map-marker-pin-light-2x.png",naturalWidth:48,naturalHeight:64},o={Original:{marker:null,colors:[{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Grayscale:{marker:c,colors:[{featureType:"landscape.man_made",elementType:"all",stylers:[{lightness:51}]},{featureType:"poi",elementType:"all",stylers:[{visibility:"off"}]},{featureType:"road.local",elementType:"all",stylers:[{gamma:2.51}]},{featureType:"road.arterial",elementType:"all",stylers:[{gamma:1.9}]},{featureType:"water",elementType:"all",stylers:[{gamma:1.36}]},{featureType:"road.highway",elementType:"all",stylers:[{gamma:1.33}]},{featureType:"transit.station.rail",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit.station.bus",elementType:"all",stylers:[{visibility:"simplified"}]},{featureType:"transit",elementType:"all",stylers:[{gamma:1.2},{hue:"#0033ff"}]},{featureType:"administrative.neighborhood",elementType:"labels",stylers:[{gamma:1.43}]},{featureType:"water",elementType:"all",stylers:[{lightness:-47}]},{featureType:"all",elementType:"all",stylers:[{saturation:-100}]},{featureType:"road.arterial",elementType:"labels",stylers:[{lightness:23}]},{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Satellite:{satellite:!0,marker:null,colors:[{stylers:[{visibility:"off"}]},{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},MinimalDark:{marker:e,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#0f0f0f"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#1f1f1f"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#5a5a5a"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#777777"}]},{elementType:"labels.text.stroke",stylers:[{weight:2},{visibility:"on"},{color:"#1f1f1f"}]}]},MinimalLight:{marker:c,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#f2f2f2"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#bbbbbb"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#999999"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]}]},MinimalBlue:{marker:c,colors:[{stylers:[{visibility:"off"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#ccdee9"},{visibility:"on"}]},{featureType:"landscape.natural",elementType:"geometry.fill",stylers:[{color:"#ffffff"},{visibility:"on"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#bbbbbb"},{visibility:"on"},{weight:.6}]}],labels:[{elementType:"labels.text.fill",stylers:[{visibility:"on"},{color:"#999999"}]},{elementType:"labels.text.stroke",stylers:[{visibility:"on"},{color:"#ffffff"},{weight:2}]}]}};y.exports=o},623593:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(922125),n=t(o),i=e(64411);function t(l){return l&&l.__esModule?l:{default:l}}var r=new i.LocaleResolver,s="//maps.googleapis.com/maps/api/js?v=3&callback=GoogleMapsApiLoadCallback",d=3e4,v=function(p,h){var g=s+"&key="+h;if(p){var m=r.resolveLocale(p);g+="&language="+m.language+"®ion="+m.region}return g},u=function(p){return window.atob(p)},a=function(p,h){return h||(h=u(window.Static.SQUARESPACE_CONTEXT.gmRenderKey)),window.gMapsPromise||(window.gMapsPromise=new n.default(function(g,m){var S=setTimeout(m,d);window.GoogleMapsApiLoadCallback=function(){clearTimeout(S),g(window.google.maps),delete window.GoogleMapsApiLoadCallback};var _=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(_),_.src=v(p,h)})),window.gMapsPromise};c.default=a,y.exports=c.default},920768:function(y,c,e){y.exports=function(o){var n={};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return o[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}return i.m=o,i.c=n,i.d=function(t,r,s){i.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:s})},i.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,r){if(r&1&&(t=i(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var d in t)i.d(s,d,function(v){return t[v]}.bind(null,d));return s},i.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(r,"a",r),r},i.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},i.p="",i(i.s=5)}([function(o,n){o.exports=e(994336)},function(o,n){o.exports=e(876978)},function(o,n){o.exports=e(904406)},function(o,n){o.exports=e(808847)},function(o,n){o.exports=e(392338)},function(o,n,i){"use strict";i.r(n),i.d(n,"ClientConfig",function(){}),i.d(n,"EventSource",function(){return p}),i.d(n,"SourceEnvironment",function(){return l}),i.d(n,"default",function(){return X});var t=i(4),r=i(0),s=i.n(r),d=i(1),v=i.n(d),u=i(2),a=i.n(u),l;(function(re){re.DEV="dev",re.QA="qa",re.STAGING="staging",re.PROD="prod"})(l||(l={}));var p;(function(re){re.WEB="WEB",re.IOS="IOS",re.ANDROID="ANDROID",re.SERVER="SERVER"})(p||(p={}));function h(re,Z){if(!(re instanceof Z))throw new TypeError("Cannot call a class as a function")}function g(re,Z){for(var te=0;te0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var oe=this._generatePayload(te);return this._config.validateMode?this._validateEvent(oe):this._config.url?oe?this._config.useBeacon?this._sendBeacon(oe):this._sendXhr(oe):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var te=function(Je){return!Je||Je==="null"?null:Je},oe=te(s.a.get(this._config.storageKey)),Se=te(this._getLocalStorageItem()),Re=te(this._analyticsId),Ke=oe||Se||Re||a()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(Ke),Ke}},{key:"_getLocalStorageItem",value:function(){var te=!1,oe=localStorage.getItem(this._config.expirationKey);if(oe){var Se=new Date,Re=new Date(oe);te=Se>Re}return te?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var te=window.location.pathname;return te[te.length-1]==="/"&&(te=te.substring(0,te.length-1)),te}},{key:"_generatePayload",value:function(te){return te}},{key:"_log",value:function(te){this._config.logging&&console.log(te)}},{key:"_sendBeacon",value:function(te){var oe={type:"application/x-www-form-urlencoded"},Se=new Blob([v.a.stringify(te)],oe);return navigator.sendBeacon(this._config.url,Se),Promise.resolve()}},{key:"_sendXhr",value:function(te,oe){var Se=this;oe=oe||this._config.url;var Re=new XMLHttpRequest,Ke=JSON.stringify(te),Qe=new Set([200,202]);return new Promise(function(Je,rt){Re.open("POST",oe,!0),Re.setRequestHeader("Content-Type","application/json"),Re.send(Ke),Re.addEventListener("readystatechange",function(){Re.readyState===4&&(Qe.has(Re.status)?Je():(Se._warn("Error tracking event: HTTP Status ".concat(Re.status)),rt(new Error("Error tracking event: HTTP Status ".concat(Re.status)))))})})}},{key:"_setAnalyticsId",value:function(te){this._analyticsId=te;var oe=this._config.cookie,Se=oe.path,Re=oe.secure,Ke=window.location.hostname;this._config.cookie.domains.forEach(function(Wt){window.location.hostname.indexOf(Wt)>-1&&(Ke=Wt)});var Qe=new Date;Qe.setDate(Qe.getDate()+this._config.cookie.daysToStore);var Je=Qe.toUTCString();try{s.a.set(this._config.storageKey,te,{domain:Ke,expires:Je,path:Se,secure:Re});var rt=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(rt){var Pt=new Date(0).toUTCString();s.a.set(this._config.storageKey,null,{expires:Pt})}localStorage.setItem(this._config.storageKey,te),localStorage.setItem(this._config.expirationKey,Je)}catch(Wt){this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(te){return Promise.resolve(te)}},{key:"_warn",value:function(te){this._config.logging&&console.warn(te)}}]),re}(),C=i(3),O=i.n(C),A=function(){var Z=window.location.origin;return{url:"".concat(Z,"/api/events/RecordEvent"),cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1}}};function x(re){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?x=function(te){return typeof te}:x=function(te){return te&&typeof Symbol=="function"&&te.constructor===Symbol&&te!==Symbol.prototype?"symbol":typeof te},x(re)}function T(re,Z){if(re==null)return{};var te=R(re,Z),oe,Se;if(Object.getOwnPropertySymbols){var Re=Object.getOwnPropertySymbols(re);for(Se=0;Se=0)&&Object.prototype.propertyIsEnumerable.call(re,oe)&&(te[oe]=re[oe])}return te}function R(re,Z){if(re==null)return{};var te={},oe=Object.keys(re),Se,Re;for(Re=0;Re=0)&&(te[Se]=re[Se]);return te}function N(re,Z){var te=Object.keys(re);if(Object.getOwnPropertySymbols){var oe=Object.getOwnPropertySymbols(re);Z&&(oe=oe.filter(function(Se){return Object.getOwnPropertyDescriptor(re,Se).enumerable})),te.push.apply(te,oe)}return te}function B(re){for(var Z=1;Z1&&arguments[1]!==void 0?arguments[1]:{};K(this,te),Se=Z.call(this);var Ke=A();return Se._config=B({},Ke,{},oe),Se._defaultPayload=Re,Se}return ie(te,[{key:"_generatePayload",value:function(Se){var Re=window.location.hash,Ke=B({},this._defaultPayload,{},Se),Qe=Ke.websiteId,Je=Qe===void 0?null:Qe,rt=Ke.memberAccountId,Pt=rt===void 0?null:rt,Wt=Ke.website_locale,de=Wt===void 0?null:Wt,Le=Ke.member_locale,le=Le===void 0?null:Le,Ce=Ke.templateId,Ne=Ce===void 0?null:Ce,Ee=Ke.variantId,Ie=Ee===void 0?null:Ee,dt=T(Ke,["websiteId","memberAccountId","website_locale","member_locale","templateId","variantId"]),xt=B({},dt,{},Re&&{pageHash:Re},{pagePath:this._getNormalizedPathname(),websiteId:Je,templateId:Ne,variantId:Ie,memberAccountId:Pt,member_locale:le,website_locale:de});return this._config.logging&&this._log({payload:B({},xt)}),xt}},{key:"track",value:function(Se){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},Ke=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this._config.fireEvents===!1)return Promise.resolve();var Qe=this._generatePayload(Re);return this._sendXhr({eventName:Se,payload:Qe},Ke)}},{key:"_sendXhr",value:function(Se,Re,Ke){var Qe=Se.eventName,Je=Se.payload;return Ke=Ke||this._config.url,O.a.post(Ke,v.a.stringify(B({crumb:s.a.get("crumb"),event:Qe},Re,{data:JSON.stringify(Je)})),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}},{key:"spawnTracker",value:function(){var Se=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new te(this._config,B({},this._defaultPayload,{},Se))}}]),te}(_)}])},153113:function(y,c,e){"use strict";var o=e(875832),n=o(e(858240)),i=o(e(4636)),t=e(731761),r=e(596852),s=e(613812),d=function(){function a(l,p){if((0,n.default)(this,a),typeof l!="function")throw new Error("[Tween] First parameter needs to be a function.");var h=p.duration,g=p.easing,m=p.onEnd;if(h!==void 0&&!s(h))throw new Error("[Tween] Duration is not a finite number.");this.fn=l,this.duration=h===void 0?300:h,this.easingFn=r[g||"linear"],this.onEnd=m}return(0,i.default)(a,[{key:"start",value:function(){var p=this;this.next=t(function(){p.startTime=new Date().getTime(),p.tween()})}},{key:"end",value:function(){this.cancelNext(),this.fn(1),typeof this.onEnd=="function"&&this.onEnd()}},{key:"cancelNext",value:function(){this.next&&(t.cancel(this.next),this.next=null)}},{key:"pause",value:function(){this.next&&(this.cancelNext(),this.pausedTime=new Date().getTime())}},{key:"resume",value:function(){var p=this;this.pausedTime&&(this.next=t(function(){var h=new Date().getTime(),g=h-p.pausedTime;p.startTime+=g,p.tween(),delete p.pausedTime}))}},{key:"isPaused",value:function(){return!!this.pausedTime}},{key:"isRunning",value:function(){return!!this.next}},{key:"getMultiplier",value:function(p){return this.easingFn(p,0,1,1)}},{key:"tween",value:function(){this.next=null;var p=new Date().getTime(),h=this.duration,g=p-this.startTime;if(g>=h){this.end();return}this.fn(this.getMultiplier(g/h)),this.next=t(this.tween.bind(this))}}]),a}(),v=["start","end","resume","pause","isRunning","isPaused"],u=(0,i.default)(function a(l,p){var h=this;(0,n.default)(this,a);var g=new d(l,p);v.forEach(function(m){h[m]=function(){return g[m]()}})});y.exports=u},935835:function(y,c,e){"use strict";var o=e(407402),n=["red","green","blue"],i=function(){for(var r=arguments.length,s=new Array(r),d=0;d2&&arguments[2]!==void 0?arguments[2]:"rgb";if(typeof i!="string")throw new TypeError(i+" is not a valid string");return typeof t!="string"&&(t="transparent"),i=i.trim(),o(i,r)||o(t,r)}y.exports=n},105175:function(y,c,e){"use strict";y.exports={averageColors:e(935835),isDark:e(48792),isLight:e(791512),parseColor:e(407402),parseGradient:e(102267),getColor:e(137544),readDominantColor:e(184562),stackColors:e(571695),stringifyColor:e(240284),isHex:e(995472).vq,isHsl:e(995472).u4,convert:e(332638)}},48792:function(y,c,e){"use strict";var o=e(407402),n=function(t){typeof t=="string"&&(t=o(t));var r=(t.red*299+t.green*587+t.blue*114)/1e3;return r<256*.65};y.exports=n},791512:function(y,c,e){"use strict";var o=e(48792),n=function(t){return!o(t)};y.exports=n},528256:function(y,c,e){"use strict";var o=e(405474);y.exports=new o("@sqs/utils/palette","green")},407402:function(y,c,e){"use strict";var o=e(69037),n=e(413238),i=e(963623),t=e(528256),r=function(d){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"rgb",u=arguments.length>2?arguments[2]:void 0;if(!Object.keys(i).includes(v))return t.error("Invalid color model: "+v),null;var a=o.get(d);if(!a)return null;var l=a.model,p=a.value,h=p;if(l!==v){var g=n[l][v],m=u===!0?g.raw(p):g(p);h=m.concat(p.slice(3))}return h.reduce(function(S,_,C){var O=i[v][C];return S[O]=_,S},{})};y.exports=r},102267:function(y,c,e){"use strict";var o=e(875832),n=o(e(375798)),i=e(791484),t=Object.keys(i),r=/\)$/,s=/(?:,\s*|\()(?!\s*\d)/,d=/\s(?=[.\w|%]+$)/,v=/(linear(-gradient)?|radial)/,u=function(l){l=l.replace(r,"").split(s);var p=l[0].match(v);if(!p)return null;var h=p[0],g=l[0].indexOf("repeating")>-1,m=l.slice(2).map(function(x){var T=x.split(d),R=(0,n.default)(T,2),N=R[0],B=R[1];return N&&B?{color:N,stop:B}:null}).filter(function(x){return x});if(m.length===0)return null;var S=l[1],_=S.split(d),C=(0,n.default)(_,2),O=C[0],A=C[1];return(O.search(/\d/)>-1||t.indexOf(O)>-1)&&m.unshift({color:O,stop:A}),{type:h,repeating:g,colorStops:m}};y.exports=u},184562:function(y){"use strict";var c=1,e=1,o=function(){var u=document.createElement("canvas");return u.width=c,u.height=e,u},n=function(u,a){var l=u.getContext("2d");l.fillStyle=a,l.fillRect(0,0,u.width,u.height)},i=function(u,a){u.getContext("2d").drawImage(a,0,0,u.width,u.height)},t=function(u,a){var l=u.getContext("2d").createLinearGradient(0,0,0,u.height);a.forEach(function(p){var h=p.color,g=p.stop;l.addColorStop(g,h)}),n(u,l)},r=function(u){u.getContext("2d").clearRect(0,0,u.width,u.height)},s=function(u){try{var a=u.getContext("2d").getImageData(0,0,u.width,u.height),l=a.data;return l}catch(p){return null}},d=function(u){var a=u.img,l=u.gradient,p=o();a?i(p,a):l&&t(p,l);var h=s(p);return r(p),h?{red:h[0],green:h[1],blue:h[2],alpha:h[3]/255}:null};y.exports=d},571695:function(y,c,e){"use strict";var o=e(137544),n=["red","green","blue"],i=function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transparent",s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"transparent";typeof r=="string"&&(r=o(r)),typeof s=="string"&&(s=o(s));var d=1-(1-r.alpha)*(1-s.alpha),v={alpha:d};d<.001?(n.forEach(function(p){v[p]=0}),v.alpha=0):n.forEach(function(p){v[p]=Math.round(r[p]*r.alpha+s[p]*(1-r.alpha))});for(var u=arguments.length,a=new Array(u>2?u-2:0),l=2;l0?t.apply(void 0,[v].concat(a)):v};y.exports=i},240284:function(y,c,e){"use strict";var o=e(413238),n=e(69037),i=e(963623),t=e(528256),r=function(a){return Object.keys(i).find(function(l){return i[l].every(function(p){return a.hasOwnProperty(p)})})},s=function(a){var l=r(a),p=i[l].map(function(h){return a[h]});return{array:p,model:l}},d=function(a){if(a.alpha!==1)return t.error("Color must have alpha of 1 when stringifying to hex"),null;a=s(a);var l=a.array;if(a.model!=="rgb"){var p=o[a.model].rgb;l=p(a.array)}return n.to.hex(l)},v=function(a,l){if(a.alpha=typeof a.alpha=="number"?a.alpha:1,l==="hex")return d(a);if(a=s(a),l=l||a.model,!a.model)return t.error("Could not determine color model."),null;if(typeof n.to[l]!="function")return t.error("No color-string support for model "+l),null;if(l===a.model)return n.to[a.model](a.array);var p=o[a.model][l],h=p(a.array).concat(a.array.slice(3));return n.to[l](h)};y.exports=v},995472:function(y,c){"use strict";var e;e={value:!0},c.u4=c.vq=void 0;var o=function(t){return t&&t.charAt&&t.charAt(0)==="#"};c.vq=o;var n=function(t){return t&&t.substring&&t.substring(0,3)==="hsl"};c.u4=n},245739:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=i;var n=o(e(766993));function i(t,r,s){r=(0,n.default)(r),s=typeof s=="undefined"||s===null?s:(0,n.default)(s);for(var d=t;d&&(!s||!s(d));){if(r(d))return d;d=d.parentElement}return null}y.exports=c.default},201792:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=i;var n=o(e(245739));function i(t,r,s){return!t||!t.parentElement?null:(0,n.default)(t.parentElement,r,s)}y.exports=c.default},542815:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=i;var n=o(e(766993));function i(t,r,s){r=typeof r=="undefined"||r===null?r:(0,n.default)(r),s=typeof s=="undefined"||s===null?s:(0,n.default)(s);var d=t;d=t.parentElement;for(var v=[];d&&(!s||!s(d));)(!r||r(d))&&v.push(d),d=d.parentElement;return v}y.exports=c.default},72773:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0;var e={ELEMENT:1,TEXT:3,COMMENT:8,DOCUMENT:9,DOCTYPE:10,FRAGMENT:11},o=e;c.default=o,y.exports=c.default},766993:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=i;var n=o(e(993990));function i(t){return typeof t=="string"?function(r){return(0,n.default)(r,t)}:"nodeType"in t?function(r){return r===t}:t}y.exports=c.default},664385:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=v;var n=o(e(603912)),i=o(e(452319));function t(u,a){var l=typeof Symbol!="undefined"&&u[Symbol.iterator]||u["@@iterator"];if(!l){if(Array.isArray(u)||(l=r(u))||a&&u&&typeof u.length=="number"){l&&(u=l);var p=0,h=function(){};return{s:h,n:function(){return p>=u.length?{done:!0}:{done:!1,value:u[p++]}},e:function(C){throw C},f:h}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var g=!0,m=!1,S;return{s:function(){l=l.call(u)},n:function(){var C=l.next();return g=C.done,C},e:function(C){m=!0,S=C},f:function(){try{!g&&l.return!=null&&l.return()}finally{if(m)throw S}}}}function r(u,a){if(u){if(typeof u=="string")return s(u,a);var l=Object.prototype.toString.call(u).slice(8,-1);if(l==="Object"&&u.constructor&&(l=u.constructor.name),l==="Map"||l==="Set")return Array.from(u);if(l==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l))return s(u,a)}}function s(u,a){(a==null||a>u.length)&&(a=u.length);for(var l=0,p=new Array(a);l0&&arguments[0]!==void 0?arguments[0]:{},a=u.container,l=a===void 0?null:a,p=u.predicate,h=p===void 0?null:p,g=u.root,m=g===void 0?document.body:g,S=u.setFocusOnContain,_=S===void 0?!0:S,C=u.restoreFocusOnRevert,O=C===void 0?!0:C;if(!l&&!h||l&&h)throw new Error("One (and only one) of container and predicate must be set");l&&(h=function(N){return l.contains(N)});var A=document.activeElement,x=[],T=!1;return setTimeout(function(){if(!T){var R=m.querySelectorAll(i.default),N=t(R),B;try{for(N.s();!(B=N.n()).done;){var z=B.value;h(z)||(x.push({element:z,originalTabIndex:z.tabIndex}),z.tabIndex=-1)}}catch($){N.e($)}finally{N.f()}var K=d(_,h);K&&typeof K.focus=="function"&&K.focus()}},0),function(){T=!0;for(var N=0,B=x;N2?h-2:0),m=2;m1&&arguments[1]!==void 0?arguments[1]:[],h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;(0,t.default)(this,a),this.start=d.apply(void 0,["groupCollapsed",h,l].concat((0,n.default)(p))),this.end=d("groupEnd",h)}),u=(0,i.default)(function a(l,p){var h=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;(0,t.default)(this,a);var g="%c[".concat(l,"] %c"),m=["color: ".concat(p,"; font-weight: 300;"),"color: #000; font-weight: 400;"],S=[h,g].concat(m);this.error=d.apply(void 0,["error"].concat((0,n.default)(S))),this.info=d.apply(void 0,["info"].concat((0,n.default)(S))),this.log=d.apply(void 0,["log"].concat((0,n.default)(S))),this.warn=d.apply(void 0,["warn"].concat((0,n.default)(S))),this.group=function(_){return new v("".concat(g).concat(_),m,h)}});c.default=u,y.exports=c.default},871412:function(y){"use strict";var c=function(o,n,i){return Math.max(n,Math.min(o,i))};y.exports=c},613812:function(y){"use strict";var c=function(o){return typeof o=="number"&&!isNaN(o)&&isFinite(o)};y.exports=c},567562:function(y,c,e){"use strict";var o=e(613812),n=function(t,r){return o(t)?t:r};y.exports=n},497662:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.toLuma=c.toHsl=c.toHex=c.spin=c.lighten=c.isColor=c.hue=c.hsl=c.getColorModel=c.darken=void 0;var n=o(e(779291)),i=e(363968),t=function(m,S,_){return(0,n.default)({h:m,s:S,l:_}).toHexString()};c.hsl=t;var r=function(m){return(0,n.default)(m).toHsl().h};c.hue=r;var s=function(m,S){return(0,n.default)(m).spin(S).toHexString()};c.spin=s;var d=function(m){var S=(0,n.default)(m).toRgb(),_=S.r,C=S.g,O=S.b;return .2126*(_/255)+.7152*(C/255)+.0722*(O/255)};c.toLuma=d;var v=function(m){return(0,n.default)(m).toHexString()};c.toHex=v;var u=function(m){return(0,n.default)(m).toHslString()};c.toHsl=u;var a=function(m){return(0,n.default)(m).isValid()};c.isColor=a;var l=function(m,S){return(0,n.default)(m).lighten(S).toHexString()};c.lighten=l;var p=function(m,S){return(0,n.default)(m).darken(S).toHexString()};c.darken=p;var h=function(m){var S,_=(0,n.default)(m).getFormat();return(S=i.ColorModel[_])!==null&&S!==void 0?S:null};c.getColorModel=h},363968:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.SystemColorId=c.SYSTEM_COLOR_CONFIG_MAP=c.SYSTEM_COLOR_AS_ORDERED_ARRAY=c.SELECTOR_COLOR_AS_ORDERED_ARRAY=c.SEED_COLOR_ID=c.PaletteIdentifiers=c.HEX_WHITE=c.HEX_SALMON=c.HEX_BLACK=c.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=c.ColorModel=void 0;var n=o(e(346797));function i(S,_){var C=Object.keys(S);if(Object.getOwnPropertySymbols){var O=Object.getOwnPropertySymbols(S);_&&(O=O.filter(function(A){return Object.getOwnPropertyDescriptor(S,A).enumerable})),C.push.apply(C,O)}return C}function t(S){for(var _=1;_0&&arguments[0]!==void 0?arguments[0]:[];return W.reduce(function(H,k){var J=k.id,ae=k.value;return H[J]||(H[J]=N(ae)),H},{})}function m(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s.SYSTEM_COLOR_AS_ORDERED_ARRAY,k=(0,r.default)(W,"id");return H.reduce(function(J,ae){var ne=ae.id,X=k[ne];return X&&J.push(X),J},[])}function S(W){var H=arguments.length>1&&arguments[1]!==void 0?arguments[1]:s.SYSTEM_COLOR_AS_ORDERED_ARRAY,k=m(W==null?void 0:W.colors,H).filter(function(J){var ae=J.id;return s.SYSTEM_COLOR_CONFIG_MAP[ae].userVisible});return l(l({},W!=null?W:{}),{},{colors:k})}var _=new d.default("@sqs/utils/palette","orange");c.logger=_;function C(W,H){var k,J,ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return(W==null?void 0:W.values.hue)===(H==null?void 0:H.values.hue)&&(W==null?void 0:W.values.saturation)===(H==null?void 0:H.values.saturation)&&(W==null?void 0:W.values.lightness)===(H==null?void 0:H.values.lightness)&&((k=W==null?void 0:W.values.alpha)!==null&&k!==void 0?k:1)===((J=H==null?void 0:H.values.alpha)!==null&&J!==void 0?J:1)&&(!ae||(W==null?void 0:W.userFormat)===(H==null?void 0:H.userFormat))}var O=function(H,k,J){return!!(typeof H=="number"&&isFinite(H)&&H>=k&&H<=J)};function A(W){var H;return!!(W&&s.ColorModel[W.userFormat]&&W.values&&O(W.values.hue,0,360)&&O(W.values.saturation,0,100)&&O(W.values.lightness,0,100)&&O((H=W.values.alpha)!==null&&H!==void 0?H:1,0,1))}var x=function(H){return Math.round(H*100)/100};function T(W){var H;if(W==null)return null;if((0,n.default)(W)==="object")return A(W)?W:null;var k=(0,v.parseColor)(W,s.ColorModel.hsl,!0);return k?{userFormat:(H=(0,u.getColorModel)(W))!==null&&H!==void 0?H:s.ColorModel.hsl,values:l({hue:x(k.hue),saturation:x(k.saturation),lightness:x(k.lightness)},k.alpha!==1?{alpha:x(k.alpha)}:{})}:null}function R(W){return W.colors.map(function(H){return l(l({},H),{},{value:T(H.value)})})}function N(W){if(W&&(0,n.default)(W)==="object"){var H;return A(W)&&(H=(0,v.stringifyColor)(l({},W.values),W.userFormat))!==null&&H!==void 0?H:null}return W!=null?W:null}function B(W){return W.colors.map(function(H){return l(l({},H),{},{value:N(H.value)})})}function z(W,H){var k;return(k=W==null?void 0:W.colors.find(function(J){return J.id===H}))!==null&&k!==void 0?k:null}function K(W,H){var k;if(H==null)return null;var J=typeof H=="string"?T(H):H;return(k=W==null?void 0:W.colors.find(function(ae){return C(ae.value,J,!0)}))!==null&&k!==void 0?k:null}function $(W,H){var k=z(W,H);return N(k==null?void 0:k.value)}function ie(W){var H;return(H=$(W,s.SEED_COLOR_ID))!==null&&H!==void 0?H:s.HEX_SALMON}var V={colorsMapToArray:p,colorsArrayToMap:g,sortColorsBySystemColorOrder:m,filterPaletteColorsBySystemVisible:S,logger:_,paletteMappingToCacheKey:h,arePaletteColorValuesEqual:C,isValidPaletteColorValue:A,parsePaletteColorValue:T,parsePaletteColorValues:R,stringifyPaletteColorValue:N,stringifyPaletteColorValues:B,getPaletteColorById:z,getPaletteColorByValue:K,getPaletteColorString:$,getPaletteSeedColorString:ie};c.default=V},678404:function(y){"use strict";var c=function(o){return o.scrollingElement||o.documentElement||o.body};y.exports=c},989430:function(y,c,e){"use strict";var o=e(492548),n=e(201792),i=e(72773),t=i.DOCUMENT,r=function(d){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return v&&o(d,u)?d:n(d,function(a){return o(a,u)},function(a){return a.nodeType===t})};y.exports=r},551969:function(y,c,e){"use strict";var o=e(492548),n=e(542815),i=e(72773),t=i.DOCUMENT,r=function(d){var v=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=[];return v&&o(d,u)&&a.push(d),a.concat(n(d,function(l){return o(l,u)},function(l){return l.nodeType===t}))};y.exports=r},246790:function(y,c,e){"use strict";y.exports={getDocScrollNode:e(678404),getScrollParent:e(989430),getScrollParents:e(551969),isScrollableNode:e(492548),normalizeScrollEmitter:e(767037),normalizeScrollSetter:e(262975),scrollIntoView:e(261647),scrollTo:e(768985)}},492548:function(y,c,e){"use strict";var o=e(461761),n=e(164782),i=e(262975),t="auto",r="scroll",s="visible",d="HTML",v=function(l,p){return l===t||l===r||l===s&&p.nodeName===d},u=function(l){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!o(l,"ownerDocument.defaultView"))return!1;var h=n(l),g=h.overflowX,m=h.overflowY;if(p===!0)return v(m,l)||v(g,l);var S=i(l),_=S.scrollHeight,C=S.scrollWidth,O=S.clientHeight,A=S.clientWidth;return l.nodeName===d&&(O=Math.min(O,l.ownerDocument.defaultView.innerHeight),A=Math.min(A,l.ownerDocument.defaultView.innerWidth)),v(m,l)&&_>O||v(g,l)&&C>A};y.exports=u},767037:function(y){"use strict";var c=function(o){return o&&o.nodeName==="HTML"?o.ownerDocument:o};y.exports=c},262975:function(y,c,e){"use strict";var o=e(72773),n=o.DOCUMENT,i=e(678404),t=function(s){return s?s.nodeType===n?i(s):s.nodeName==="HTML"?i(s.ownerDocument):s:null};y.exports=t},261647:function(y,c,e){"use strict";var o=e(875832),n=o(e(432405)),i=o(e(346797)),t=["scrollNode","anchorToTopLeft","offset"];function r(C,O){var A=Object.keys(C);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(C);O&&(x=x.filter(function(T){return Object.getOwnPropertyDescriptor(C,T).enumerable})),A.push.apply(A,x)}return A}function s(C){for(var O=1;OA[1]?Math.round(O[0]-A[0]-x):O[1]+x>A[1]?Math.round(O[1]-A[1]+x):0},m=function(O){var A=O.getClientRects()[0],x=O.ownerDocument.defaultView.innerWidth,T=O.ownerDocument.defaultView.innerHeight;h.test(O.nodeName)||(x=Math.min(O.clientWidth||O.scrollWidth,x),T=Math.min(O.clientHeight||O.scrollHeight,T));var R=A.left+O.scrollLeft,N=A.top+O.scrollTop;return{width:x,height:T,left:R,top:N,right:R+x,bottom:N+T}},S=function(O,A){typeof O=="boolean"&&(O={anchorToTopLeft:O});var x=O,T=x.scrollNode,R=x.offset;return T||(T=u(A)),T=v(T),R=p(R,30),s(s({},O),{},{scrollNode:T,offset:R})},_=function(O){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},x=S(A,O),T=x.scrollNode,R=x.anchorToTopLeft,N=x.offset,B=(0,n.default)(x,t);if(!T||!d(T,"ownerDocument.defaultView"))return null;var z=O.getClientRects()[0],K=m(T),$=g([z.left,z.right],[K.left,K.right],N,R),ie=g([z.top,z.bottom],[K.top,K.bottom],N,R);if(Math.abs($)<1&&Math.abs(ie)<1)return null;var V=T.scrollWidth-K.width,W=T.scrollHeight-K.height;return a(T,{left:l(T.scrollLeft+$,0,V),top:l(T.scrollTop+ie,0,W)},B)};y.exports=_},768985:function(y,c,e){"use strict";var o=e(262975),n=e(871412),i=e(613812),t=e(567562),r=e(153113),s=function(){},d=function(a,l,p){i(l)&&(a.scrollLeft=l),i(p)&&(a.scrollTop=p)},v=function(a,l){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};a=o(a);var h=typeof p.onEnd=="function"?p.onEnd:s,g=t(p.minDuration,50),m=t(p.maxDuration,50),S=p.easing;if(i(l)&&(l={top:l}),S===!1)return d(a,l.left,l.top),h(),null;var _={left:a.scrollLeft,top:a.scrollTop},C=[l.left-_.left,l.top-_.top],O=Math.max.apply(null,C.map(function(x){return Math.abs(x)}).filter(i));if(O<1)return h(),null;var A=new r(function(x){var T=_.left+x*C[0],R=_.top+x*C[1];d(a,T,R)},{onEnd:h,duration:n(O,g,m),easing:typeof S=="string"&&S?S:"easeOutSine"});return A.start(),A};y.exports=v},164782:function(y,c,e){"use strict";var o=e(461761),n=function(t){var r=o(t,"ownerDocument.defaultView");return r?r.getComputedStyle(t):{}};y.exports=n},749189:function(y,c,e){"use strict";e.r(c);var o=e(708380),n=e(304807);function i(fe,pe){var xe=Object.keys(fe);if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(fe);pe&&(Me=Me.filter(function(je){return Object.getOwnPropertyDescriptor(fe,je).enumerable})),xe.push.apply(xe,Me)}return xe}function t(fe){for(var pe=1;pe0?Je:Qe)(fe)},Pt=Math.min,Wt=function(fe){return fe>0?Pt(rt(fe),9007199254740991):0},de=Array.isArray||function(pe){return oe(pe)=="Array"},Le=u(function(fe){var pe=H("wks"),xe=a.Symbol,Me=typeof xe=="function",je=fe.exports=function(Xe){return pe[Xe]||(pe[Xe]=Me&&xe[Xe]||(Me?xe:W)("Symbol."+Xe))};je.store=pe}),le=Le("species"),Ce=function(fe){var pe;return de(fe)&&(pe=fe.constructor,typeof pe=="function"&&(pe===Array||de(pe.prototype))&&(pe=void 0),h(pe)&&(pe=pe[le],pe===null&&(pe=void 0))),pe===void 0?Array:pe},Ne=function(fe,pe){return new(Ce(fe))(pe)},Ee=function(fe,pe){var xe=fe==1,Me=fe==2,je=fe==3,Xe=fe==4,st=fe==6,Ae=fe==5||st,He=pe||Ne;return function(ot,Ut,Zt){for(var jt=Ke(ot),vn=Se(jt),Xn=ne(Ut,Zt,3),xr=Wt(vn.length),Wn=0,kn=xe?He(ot,xr):Me?He(ot,0):void 0,or,ci;xr>Wn;Wn++)if((Ae||Wn in vn)&&(or=vn[Wn],ci=Xn(or,Wn,jt),fe)){if(xe)kn[Wn]=ci;else if(ci)switch(fe){case 3:return!0;case 5:return or;case 6:return Wn;case 2:kn.push(or)}else if(Xe)return!1}return st?-1:je||Xe?Xe:kn}},Ie=function(fe,pe){return!!fe&&m(function(){pe?fe.call(null,function(){},1):fe.call(null)})},dt=Ee(0),xt=Ie([].forEach,!0);Z(Z.P+Z.F*!xt,"Array",{forEach:function(pe){return dt(this,pe,arguments[1])}}),Z(Z.S+Z.F*!S,"Object",{defineProperty:N.f});var It=function(){},gt=function(){return"IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype?("isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}}),!0):!1}(),Ot=function(){return!!("ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch)}(),Fe=function(pe){var xe=pe,Me=0;do Me=xe.offsetTop+Me;while(xe=xe.offsetParent);return Me},Ve=function(){function fe(pe,xe){var Me=this;r(this,fe),v(this,"onResize",function(){var Xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},st=Xe.shouldSkipUpdate,Ae=st===void 0?!1:st,He=Me.props.scrollEvents;Me.computePositionData(),Me.pos.offsetTop=Fe(Me.node),Me.pos.offsetBottom=document.body.scrollHeight-Me.pos.offsetTop-Me.pos.clientHeight,!(!He||gt&&Ae)&&Me.onUpdate(!0)}),v(this,"onScroll",function(){Me.onUpdate(!Ot)}),v(this,"onIntersect",function(Xe){Xe.forEach(function(st){var Ae=st.isIntersecting,He=Me.props,ot=He.onIntersection,Ut=He.windowRef;if(ot(Ae),Me.onUpdate(),Ae){n.Z.on(Me.onScroll,Ut);return}n.Z.off(Me.onScroll,Ut)})}),v(this,"destroy",function(){Me.unbindListeners()}),this.props=t(t({},this.constructor.defaultProps),xe),this.node=pe,this.observer={intersection:null};var je=this.props.windowRef.pageYOffset;this.pos={scrollTop:je,top:0,bottom:0,progress:0,intersectionProgress:0,windowHeight:0,clientHeight:0,offsetTop:0,offsetBottom:0,initial:this.getNodePositionData(this.node,je),isIntersecting:!1}}return d(fe,[{key:"start",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){if(o.default.on(this.onResize),this.onResize({shouldSkipUpdate:!0}),gt){this.observer.intersection=new IntersectionObserver(this.onIntersect,{rootMargin:"0px 0px 0px 0px"}),this.observer.intersection.observe(this.node);return}else this.onUpdate(!0);n.Z.on(this.onScroll,this.props.windowRef)}},{key:"unbindListeners",value:function(){this.observer.intersection&&this.observer.intersection.unobserve(this.node),o.default.off(this.onResize),n.Z.off(this.onScroll)}},{key:"onUpdate",value:function(){var xe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,Me=this.props,je=Me.scrollEvents,Xe=Me.normalize,st=Me.onIntersection,Ae=Me.onUpdate,He=Me.windowRef;xe?this.pos.scrollTop=He.pageYOffset:this.computePositionData();var ot=this.pos,Ut=ot.clientHeight,Zt=ot.windowHeight,jt=ot.initial;this.pos.top=jt.top-this.pos.scrollTop,this.pos.bottom=jt.bottom-this.pos.scrollTop-Zt;var vn=Xe?Math.min(this.pos.offsetTop,Zt):Zt,Xn=Xe?Math.min(this.pos.offsetBottom,Zt):Zt,xr=-this.pos.top+vn,Wn=vn+Ut+Xn-Zt,kn=1-(this.pos.top+Ut)/(Zt+Ut),or=xr===Wn?1:(-this.pos.top+vn)/(vn+Ut+Xn-Zt);this.pos.progress=or<0?0:or>1?1:or,this.pos.intersectionProgress=kn<0?0:kn>1?1:kn,gt||(this.pos.intersectionProgress>0&&this.pos.intersectionProgress<1?this.pos.isIntersecting||(this.pos.isIntersecting=!0,st(this.pos.isIntersecting),this.onResize()):this.pos.isIntersecting&&(this.pos.isIntersecting=!1,st(this.pos.isIntersecting))),je&&Ae(this.pos)}},{key:"computePositionData",value:function(){this.pos.windowHeight=this.props.windowRef.innerHeight,this.pos.clientHeight=this.node.clientHeight,this.pos.scrollTop=this.props.windowRef.pageYOffset,this.pos.initial=this.getNodePositionData(this.node,this.pos.scrollTop)}},{key:"getNodePositionData",value:function(xe,Me){var je=xe.getBoundingClientRect(),Xe=je.top,st=je.right,Ae=je.bottom,He=je.left;return{top:Math.round(Xe)+Me,right:st,bottom:Math.round(Ae)+Me,left:He}}}]),fe}();v(Ve,"defaultProps",{scrollEvents:!0,onIntersection:It,onUpdate:It,windowRef:window});var se=d(function fe(pe,xe){var Me=this;if(r(this,fe),v(this,"onIntersection",function(ot){var Ut=Me.props.onIntersection;Me.state.isIntersecting=ot,Ut(ot)}),v(this,"onUpdate",function(ot){var Ut=ot.progress;Me.onProgress(Ut)}),v(this,"onProgress",function(ot){var Ut=Me.props.onProgress;Me.state.progress!==ot&&(Me.state.progress=ot,Ut(Me.state.progress))}),v(this,"destroy",function(){Me.intersection.destroy()}),this.props=t(t({},this.constructor.defaultProps),xe),!pe){console.error("Error: No valid HTMLElement node was supplied!");return}var je=this.props,Xe=je.normalize,st=je.progressEvents,Ae=je.onProgress,He=je.windowRef;this.state={normalize:Xe,progressEvents:st&&Ae,progress:-1,isIntersecting:!1},this.intersection=new Ve(pe,{normalize:Xe,scrollEvents:this.state.progressEvents,onIntersection:this.onIntersection,onUpdate:this.onUpdate,windowRef:He}),this.intersection.start()});v(se,"defaultProps",{progressEvents:!0,normalize:!0,onIntersection:It,onProgress:null,windowRef:window}),c.default=se},708380:function(y,c,e){"use strict";e.r(c);function o(A,x){if(!(A instanceof x))throw new TypeError("Cannot call a class as a function")}function n(A,x){for(var T=0;T1&&arguments[1]!==void 0?arguments[1]:0,T;function R(){A()}function N(){if(T&&clearTimeout(T),!x){A();return}T=setTimeout(R,x)}return N.cancel=function(){clearTimeout(T)},N}var s=function(){function A(x){var T=this,R=x.waitTime,N=x.callback;o(this,A),t(this,"executeCallback",function(B){B()}),t(this,"executeCallbacks",function(){T.callbacks.forEach(T.executeCallback)}),t(this,"executeRAF",function(){cancelAnimationFrame(T.requestID),T.requestID=requestAnimationFrame(T.executeCallbacks)}),this.callbacks=new Set,this.callbacks.add(N),this.requestID=null,this.execute=R?r(this.executeRAF,R):this.executeCallbacks}return i(A,[{key:"add",value:function(T){this.callbacks.add(T)}},{key:"remove",value:function(T){this.callbacks.delete(T);var R=this.callbacks.size;return!R&&this.execute.cancel&&(this.execute.cancel(),cancelAnimationFrame(this.requestID)),R}}]),A}(),d=new Map,v=new Map,u=150,a=!1,l;function p(A){A.execute()}function h(){d.forEach(p)}function g(){cancelAnimationFrame(l),l=requestAnimationFrame(h)}function m(A){if(typeof A=="function"){var x=v.get(A);if(x!==void 0){var T=d.get(x).remove(A);v.delete(A),!T&&d.delete(x)}}}function S(A,x){if(typeof A=="function"){var T=A.cancel?0:x,R=v.get(A),N=d.get(T);if(R!==void 0&&R!==T&&m(A),v.set(A,T),!N){d.set(T,new s({waitTime:T,callback:A}));return}N.add(A)}}function _(A){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;S(A,x),!a&&(window.addEventListener("resize",g),a=!0)}function C(A){m(A),!(!a||d.size)&&(window.removeEventListener("resize",g),a=!1)}var O={on:_,off:C,trigger:g};c.default=O},304807:function(y,c){"use strict";var e;e={value:!0},c.Z=void 0;var o=[],n=0,i=!1,t=!1,r=!1,s=function(){var v=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){v={passive:!0}}}))}catch(u){}return v}(),d={scroll:function(u){t||(t=!0,requestAnimationFrame(this.executeCallbacks))},executeCallbacks:function(){for(var u=0;u-1||(o.push(u),n+=1)},removeCallback:function(u){if(u){var a=o.indexOf(u);a!==-1&&(o.splice(a,1),n-=1)}},bindMethods:function(){i||(this.scroll=this.scroll.bind(this),i=!0)},trigger:function(){this.scroll()},on:function(u){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;r||(r=!0,this.bindMethods(),this.windowRef=a,a.addEventListener("scroll",this.scroll,s)),this.registerCallback(u)},off:function(u){this.removeCallback(u),r&&n===0&&(this.bindMethods(),r=!1,this.windowRef.removeEventListener("scroll",this.scroll),this.windowRef=null)}};c.Z=d},373887:function(y,c,e){"use strict";e.r(c),e.d(c,{Bokeh:function(){return Kf},ComponentManager:function(){return nv},Conic:function(){return Gf},Contours:function(){return yo},FilmGrainEffect:function(){return qd},Gradient:function(){return no},ImageEffect:function(){return qo},Images:function(){return Sa},Isometric:function(){return xl},LiquidEffect:function(){return yu},ParallaxEffect:function(){return q},RefractedCirclesEffect:function(){return ui},RefractedLinesEffect:function(){return Yd},Shapes:function(){return ou},Surface:function(){return Ro},WebGLCanvas:function(){return ze},componentTypes:function(){return me},destroyRendererManager:function(){return wi},effectTypes:function(){return nl},getComponentByType:function(){return Vf},getEffectByType:function(){return Ml},gradientTypes:function(){return zn},imagePresetKeys:function(){return br},imagePresets:function(){return an},interactionTypes:function(){return Ze},isWebGLSupported:function(){return m},mb32:function(){return nu},patternPresetKeys:function(){return xa},patternPresets:function(){return xs},seededRandom:function(){return Vo},setContextLimit:function(){return n},shapesColorModes:function(){return au},shapesDistributionModes:function(){return Ao}});var o={contextLimit:4},n=function(D){o.contextLimit=Math.max(1,D)},i=o,t=e(392338),r=e(858240),s=e.n(r),d=e(4636),v=e.n(d),u=e(346797),a=e.n(u),l=!0;try{var p=document.createElement("canvas"),h={failIfMajorPerformanceCaveat:!0},g=p.getContext("webgl",h)||p.getContext("experimental-webgl",h);g||(l=!1)}catch(w){l=!1}var m=l,S=function(){function w(D){var M=this;s()(this,w),a()(this,"ticking",!1),a()(this,"raf",-1),a()(this,"tick",function(U){M.raf=requestAnimationFrame(M.tick),M.callback(U)}),this.callback=D}return v()(w,[{key:"start",value:function(){this.ticking||(this.raf=requestAnimationFrame(this.tick),this.ticking=!0)}},{key:"stop",value:function(){this.ticking&&(cancelAnimationFrame(this.raf),this.ticking=!1)}}]),w}(),_=S;function C(w,D){if(!(w instanceof D))throw new TypeError("Cannot call a class as a function")}function O(w,D){for(var M=0;Mw.length)&&(D=w.length);for(var M=0,U=new Array(D);M0&&w.getShaderPrecisionFormat(w.FRAGMENT_SHADER,w.HIGH_FLOAT).precision>0?"highp":w.getShaderPrecisionFormat(w.VERTEX_SHADER,w.MEDIUM_FLOAT).precision>0&&w.getShaderPrecisionFormat(w.FRAGMENT_SHADER,w.MEDIUM_FLOAT).precision>0?"mediump":"lowp"},Pt=rt,Wt=function(){function w(D){var M=this,U=D.canvas,j=D.alpha,Q=j===void 0?!1:j,he=D.antialias,De=he===void 0?!1:he,Ge=D.depth,$e=Ge===void 0?!1:Ge,at=D.stencil,pt=at===void 0?!1:at,Et=D.premultipliedAlpha,Ft=Et===void 0?!1:Et,yn=D.preserveDrawingBuffer,Cn=yn===void 0?!1:yn,bn=D.failIfMajorPerformanceCaveat,Vn=bn===void 0?!1:bn,$n=D.pixelRatio,Rn=$n===void 0?1:$n,On=D.plugins,Pn=On===void 0?[]:On,Nn=D.onContextCreate,mi=D.onContextLoss;C(this,w),x(this,"uniformValues",new Map),x(this,"viewport",[0,0,2,2]),x(this,"handleContextLost",function(ba){M.isContextLost=!0,M.onContextLoss.dispatch(),ba.preventDefault()}),x(this,"handleContextRestored",function(){M.isContextLost=!1,M.createContext()}),this.contextAttributes={alpha:Q,antialias:De,depth:$e,stencil:pt,premultipliedAlpha:Ft,preserveDrawingBuffer:Cn,failIfMajorPerformanceCaveat:Vn},this.canvas=U,this.pixelRatio=Rn,this.isContextLost=!1,this.initSignals(),this.initPlugins(Pn),Nn&&this.onContextCreate.add(Nn),mi&&this.onContextLoss.add(mi),this.createContext()}return A(w,[{key:"initPlugins",value:function(M){var U=this;[].concat(k(w.corePlugins),k(M)).forEach(function(j){U[j.NAME]=new j(U)})}},{key:"initSignals",value:function(){this.onContextCreate=new Se,this.onContextLoss=new Se,this.onBeforeRender=new Se,this.onDispose=new Se}},{key:"createContext",value:function(){if(this.gl=this.canvas.getContext("webgl",this.contextAttributes)||this.canvas.getContext("experimental-webgl",this.contextAttributes),this.gl)this.canvas.addEventListener("webglcontextlost",this.handleContextLost),this.canvas.addEventListener("webglcontextrestored",this.handleContextRestored),this.defaultPrecision=Pt(this.gl),this.onContextCreate.dispatch(this);else throw this.isContextLost=!0,new Error("Error creating WebGL context")}}]),w}();x(Wt,"corePlugins",[Ke,Je]);var de=Wt;function Le(w,D){if(!w||!D)return!1;if(w===D)return!0;if(w.length!==D.length)return!1;for(var M=0;M1&&arguments[1]!==void 0?arguments[1]:!0,M=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,U=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,j=w.gl,Q=0;D&&(Q|=j.COLOR_BUFFER_BIT),M&&(Q|=j.DEPTH_BUFFER_BIT),U&&(Q|=j.STENCIL_BUFFER_BIT),j.clear(Q)}var fe=se;function pe(w,D,M){w.uniformValues.set(D,M)}var xe=pe;function Me(w,D,M){w.isContextLost!==!0&&(D=D||w.canvas.clientWidth*w.pixelRatio,M=M||w.canvas.clientHeight*w.pixelRatio,w.canvas.width=D,w.canvas.height=M,gt(w,0,0,D,M))}var je=Me;function Xe(w){var D=w.gl;w.properties.cache.forEach(function(M){Object.values(M).forEach(function(U){switch(U.constructor.name){case"WebGLFramebuffer":D.deleteFramebuffer(U);break;case"WebGLRenderbuffer":D.deleteRenderbuffer(U);break;case"WebGLTexture":D.deleteTexture(U);break;case"WebGLBuffer":D.deleteBuffer(U);break;case"WebGLProgram":D.deleteProgram(U);break}delete M[U]})}),w.properties.cache.clear()}var st=Xe;function Ae(w){st(w),w.onDispose.dispatch(),w.uniformValues.clear(),w.onContextCreate.dispose(),w.onContextLoss.dispose(),w.onBeforeRender.dispose(),w.onDispose.dispose(),w.canvas.removeEventListener("webglcontextlost",w.handleContextLost),w.canvas.removeEventListener("webglcontextrestored",w.handleContextRestored),w.canvas=null,w.gl=null}var He=Ae,ot=function(D,M,U){return D*(1-U)+M*U},Ut=function(D,M,U){return DU?U:D},Zt=function(D,M){return(D%M+M)%M},jt=function(D,M,U,j,Q){return(D-M)*(Q-j)/(U-M)+j};function vn(w,D){var M=w.properties.get(D);M.glTexture&&(w.gl.deleteTexture(M.glTexture),delete M.glTexture,w.properties.remove(D))}var Xn=vn;function xr(w,D){var M=w.properties.get(D);M&&(w.gl.deleteProgram(M.glProgram),w.properties.remove(D))}var Wn=xr;function kn(w,D){var M=w.properties.get(D);M.glBuffer&&(w.gl.deleteBuffer(M.glBuffer),delete M.glBuffer),w.properties.remove(D)}var or=kn;function ci(w,D){D.attributes.forEach(function(M){return or(w,M)}),D.index&&or(w,D.index)}var Jr=ci,fa=function(){function w(D){var M=D.renderer,U=D.instance,j=D.disposeMethod;s()(this,w),a()(this,"usageCount",0),this.renderer=M,this.instance=U,this.disposeMethod=j}return v()(w,[{key:"dispose",value:function(){this.disposeMethod(this.renderer,this.instance)}}]),w}(),Mr=fa,Zi=function(){function w(D){s()(this,w),a()(this,"resources",new Map),this.renderer=D}return v()(w,[{key:"getResource",value:function(M){var U=M.key,j=M.factory,Q=M.disposeMethod,he=this.resources.get(U);return he||(he=new Mr({renderer:this.renderer,instance:j(),disposeMethod:Q}),this.resources.set(U,he)),he.usageCount++,he.instance}},{key:"getTexture",value:function(M){var U=M.key,j=M.factory;return this.getResource({key:U,factory:j,disposeMethod:Xn})}},{key:"getProgram",value:function(M){var U=M.key,j=M.factory;return this.getResource({key:U,factory:j,disposeMethod:Wn})}},{key:"getGeometry",value:function(M){var U=M.key,j=M.factory;return this.getResource({key:U,factory:j,disposeMethod:Jr})}},{key:"releaseResource",value:function(M){var U=this.resources.get(M);U&&--U.usageCount===0&&(U.dispose(),this.resources.delete(M))}},{key:"destroy",value:function(){this.resources.clear(),this.renderer=null}}]),w}(),Gr=Zi;function Pe(w,D){var M=typeof Symbol!="undefined"&&w[Symbol.iterator]||w["@@iterator"];if(!M){if(Array.isArray(w)||(M=cn(w))||D&&w&&typeof w.length=="number"){M&&(w=M);var U=0,j=function(){};return{s:j,n:function(){return U>=w.length?{done:!0}:{done:!1,value:w[U++]}},e:function($e){throw $e},f:j}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var Q=!0,he=!1,De;return{s:function(){M=M.call(w)},n:function(){var $e=M.next();return Q=$e.done,$e},e:function($e){he=!0,De=$e},f:function(){try{!Q&&M.return!=null&&M.return()}finally{if(he)throw De}}}}function cn(w,D){if(w){if(typeof w=="string")return Lr(w,D);var M=Object.prototype.toString.call(w).slice(8,-1);if(M==="Object"&&w.constructor&&(M=w.constructor.name),M==="Map"||M==="Set")return Array.from(w);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return Lr(w,D)}}function Lr(w,D){(D==null||D>w.length)&&(D=w.length);for(var M=0,U=new Array(D);Mzi?++this.scaleStep:this.avgFrameDuration0&&--this.scaleStep,this.scaleStep=Math.min(this.scaleStep,this.maxStep),U!==this.scaleStep&&(this.avgFrameDuration=(zi+fi)/2)}},{key:"countActiveScenes",value:function(){var M=0,U,j=Pe(this.content),Q;try{for(j.s();!(Q=j.n()).done;){var he=Q.value;(he.isActive||he.needsForceRender)&&M++,he.node===this.webglCanvas.parentElement&&(U=he)}}catch(Ft){j.e(Ft)}finally{j.f()}var De=M>1;if(U){var Ge=De&&!this.multipleActiveContent,$e=!U.isActive;if(Ge||$e){var at=this.getScaledContentSize(U),pt=at.width,Et=at.height;this.copyPixels(U,pt,Et),U.removeCanvas(),U.show()}}this.multipleActiveContent=De}},{key:"updateRendererSize",value:function(){var M=0,U=0,j=0,Q=0,he=qr[this.scaleStep],De=Pe(this.content),Ge;try{for(De.s();!(Ge=De.n()).done;){var $e=Ge.value;M=Math.max(M,$e.width),U=Math.max(U,$e.height),j=Math.max(j,Math.ceil($e.width*$e.pixelRatio*he)),Q=Math.max(Q,Math.ceil($e.height*$e.pixelRatio*he))}}catch(at){De.e(at)}finally{De.f()}j===this.rendererWidth&&Q===this.rendererHeight||(this.width=M,this.height=U,this.resizeRenderer(j,Q))}},{key:"renderContent",value:function(M){var U=M.clearColor,j=M.isActive,Q=M.isDirty,he=M.needsForceRender;if(!(!he&&(!j||!Q))){var De=this.getScaledContentSize(M),Ge=De.width,$e=De.height;gt(this.renderer,0,this.rendererHeight-$e,Ge,$e),Ve(this.renderer.state,U),fe(this.renderer),M.setContextSize(Ge,$e),this.updateViewport(M,Ge,$e),M.render(),this.multipleActiveContent?(this.copyPixels(M,Ge,$e),M.show()):(this.resizeWebGLCanvasForContent(M),M.appendCanvas(this.webglCanvas),M.hide()),M.isDirty=!1,M.needsForceRender=!1,this.renderedLastFrame=!0}}},{key:"updateViewport",value:function(M,U,j){this.viewport[0]=0,this.viewport[1]=this.rendererHeight-j,this.viewport[2]=M.canvas.width,this.viewport[3]=M.canvas.height,xe(this.renderer,"uViewport",this.viewport)}},{key:"copyPixels",value:function(M,U,j){var Q=M.context,he=M.canvas.width,De=M.canvas.height;!Q||U===0||j===0||he===0||De===0||(Q.clearRect(0,0,he,De),Q.drawImage(this.webglCanvas,0,0,U,j,0,0,he,De))}},{key:"getScaledContentSize",value:function(M){var U=Math.ceil(M.width*M.pixelRatio*qr[this.scaleStep]),j=Math.ceil(M.height*M.pixelRatio*qr[this.scaleStep]);return{width:U,height:j}}},{key:"resizeRenderer",value:function(M,U){this.rendererWidth=M,this.rendererHeight=U,je(this.renderer,this.rendererWidth,this.rendererHeight)}},{key:"resizeWebGLCanvasForContent",value:function(M){var U=M.pixelRatio*qr[this.scaleStep];this.webglCanvas.style.width=Math.ceil(this.rendererWidth/U)+"px",this.webglCanvas.style.height=Math.ceil(this.rendererHeight/U)+"px"}},{key:"destroy",value:function(){this.renderer&&(He(this.renderer),this.resourceCache.destroy(),this.renderer=null)}},{key:"isEmpty",value:function(){return this.content.length===0}},{key:"isContextLost",value:function(){return this.renderer.gl.isContextLost()}}]),w}(),sr=typeof window!="undefined"?window:{};sr.__sqsWebGL||(sr.__sqsWebGL={initialized:!1,ticker:null,controllerPool:[],controllers:[],contentCount:0,sharedController:null,dedicatedControllers:[],dedicatedControllerPool:[],dedicatedContextLimit:3});var ur=sr.__sqsWebGL,Nr=function(){function w(D){var M=this;C(this,w),x(this,"handleContextCreate",function(){M.cache=new Map}),x(this,"dispose",function(){M.renderer.onContextCreate.remove(M.handleContextCreate),M.renderer.onDispose.remove(M.dispose),M.cache.clear()}),this.renderer=D,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}return A(w,[{key:"get",value:function(M){var U=this.cache.get(M);if(!U)if(U=this.renderer.gl.getExtension(M),U)this.cache.set(M,U);else throw new Error("WebGLExtensions: ".concat(M," extension not supported."));return U}}]),w}();x(Nr,"NAME","extensions");var di=Nr,qi=function(){function w(D){var M=this;C(this,w),x(this,"nextTextureUnit",1),x(this,"reset",function(){M.nextTextureUnit=1}),this.renderer=D,this.renderer.onBeforeRender.add(this.reset),this.textureBindings=new WeakMap}return A(w,[{key:"dispose",value:function(){this.renderer.onBeforeRender.remove(this.reset),this.renderer=null}}]),w}();x(qi,"NAME","textures");var ei=qi,Qt={plugins:[di,ei],attributes:{alpha:!0,antialias:!0,depth:!0,stencil:!1,premultipliedAlpha:!0,preserveDrawingBuffer:!0,failIfMajorPerformanceCaveat:!0}};function da(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function Ri(w){for(var D=1;D0&&arguments[0]!==void 0?arguments[0]:!1;if(!(!this.isSupported||!this.renderController))return U===!1&&ea.unregister(this),this.renderController=null,this.resourceKeys.forEach(function(j){M.resourceCache.releaseResource(j)}),this.clearNode(),this.onDestroy(),this}},{key:"clearNode",value:function(){this.node&&(this.node.innerHTML="")}},{key:"onDestroy",value:function(){}},{key:"getTexture",value:function(M){var U=M.key,j=M.factory;return this.resourceKeys.push(U),this.resourceCache.getTexture({key:U,factory:j})}},{key:"getProgram",value:function(M){var U=M.key,j=M.factory;return this.resourceKeys.push(U),this.resourceCache.getProgram({key:U,factory:j})}},{key:"getGeometry",value:function(M){var U=M.key,j=M.factory;return this.resourceKeys.push(U),this.resourceCache.getGeometry({key:U,factory:j})}},{key:"releaseResource",value:function(M){var U=this.resourceKeys.indexOf(M);U!==-1&&(this.resourceKeys.splice(U,1),this.resourceCache.releaseResource(M))}},{key:"appendCanvas",value:function(M){M.parentElement!==this.node&&(this.node.appendChild(M),this.appendedCanvas=M)}},{key:"removeCanvas",value:function(){this.appendedCanvas&&this.appendedCanvas.parentElement===this.node&&(this.node.removeChild(this.appendedCanvas),this.appendedCanvas=null)}},{key:"show",value:function(){this.canvas.style.display="block"}},{key:"hide",value:function(){this.canvas.style.display="none"}},{key:"pixelRatio",get:function(){return this.props.pixelRatio||1}},{key:"context",get:function(){return this.canvas.getContext("2d")}}]),w}();a()(ze,"defaultProps",{pixelRatio:1});var me={contours:"contours",gradient:"gradient",shapes:"shapes",images:"images",isometric:"isometric",surface:"surface",conic:"conic",bokeh:"bokeh"},we=e(375798),Ue=e.n(we),tt=e(721854),mt=e.n(tt),At=e(699467),Ct=e.n(At),Jt=e(506051),Nt=e.n(Jt),Tn=function(){function w(D){var M=D.geometry,U=D.material,j=D.offset,Q=D.count;C(this,w),this.geometry=M,this.material=U,this.offset=j,this.count=Q}return A(w,[{key:"draw",value:function(M){}},{key:"uniforms",get:function(){return this.material.uniforms}},{key:"program",get:function(){return this.material.program},set:function(M){this.material.program=M}},{key:"mode",get:function(){return this.material.mode}},{key:"options",get:function(){return this.material.options}},{key:"attributes",get:function(){return this.geometry.attributes}},{key:"index",get:function(){return this.geometry.index}}]),w}(),_t=Tn,vt=function(w){N(M,w);var D=V(M);function M(U){var j=U.geometry,Q=U.material,he=U.offset,De=he===void 0?0:he,Ge=U.count,$e=Ge===void 0?j.attributes.values().next().value.count:Ge;return C(this,M),D.call(this,{geometry:j,material:Q,offset:De,count:$e})}return A(M,[{key:"draw",value:function(j){j.drawArrays(this.mode,this.offset,this.count)}}]),M}(_t),St=vt,wt=3042,Gt=2929,Dt=2960,en=2884,sn=34962,xn=34963,mn=35044,hn=35048,Hn=0,Dr=1,Or=768,ue=769,Te=770,qe=771,kt=772,un=773,pn=774,Fr=775,er=776,Gn=32769,ti=32770,Si=32771,_r=32772,Wr=32774,Un=32774,Yt=32774,fo=512,Da=519,Ka=513,Us=514,Su=515,Uo=516,Oa=518,os=517,Ar=1028,Hr=1029,ta=1032,na=3553,ra=9728,Rr=9729,Va=9984,ss=9985,ni=9986,_a=9987,us=10242,$a=10243,ri=33071,Qa=10497,hi=33648,La=6407,Mi=6408,bi=33984,vo=36160,ft=36161,cr=0,va=1,bu=2,ll=3,Fs=4,Ou=5,_u=6,Au=5120,Bs=5121,ls=5122,Xa=5123,js=5124,cs=5125,be=5126,ge=35664,Oe=35665,ke=35666,Ye=35667,ct=35668,Rt=35669,Vt=35670,rn=35671,Xt=35672,Fn=35673,Kn=35674,gr=35675,kr=35676,Gi=35678,Cu=35680,fs=35661,Pu=35660,ds=34930,Di=0,Tu={BLEND:wt,DEPTH_TEST:Gt,STENCIL_TEST:Dt,CULL_FACE:en,ARRAY_BUFFER:sn,ELEMENT_ARRAY_BUFFER:xn,STATIC_DRAW:mn,DYNAMIC_DRAW:hn,ZERO:Hn,ONE:Dr,SRC_COLOR:Or,ONE_MINUS_SRC_COLOR:ue,SRC_ALPHA:Te,ONE_MINUS_SRC_ALPHA:qe,DST_ALPHA:kt,ONE_MINUS_DST_ALPHA:un,DST_COLOR:pn,ONE_MINUS_DST_COLOR:Fr,SRC_ALPHA_SATURATE:er,CONSTANT_COLOR:Gn,ONE_MINUS_CONSTANT_COLOR:ti,CONSTANT_ALPHA:Si,ONE_MINUS_CONSTANT_ALPHA:_r,FUNC_ADD:Wr,FUNC_SUBTRACT:Un,FUNC_REVERSE_SUBTRACT:Yt,NEVER:fo,ALWAYS:Da,LESS:Ka,EQUAL:Us,LEQUAL:Su,GREATER:Uo,GEQUAL:Oa,NOTEQUAL:os,FRONT:Ar,BACK:Hr,FRONT_AND_BACK:ta,TEXTURE_2D:na,NEAREST:ra,LINEAR:Rr,NEAREST_MIPMAP_NEAREST:Va,LINEAR_MIPMAP_NEAREST:ss,NEAREST_MIPMAP_LINEAR:ni,LINEAR_MIPMAP_LINEAR:_a,CLAMP_TO_EDGE:ri,REPEAT:Qa,MIRRORED_REPEAT:hi,RGB:La,RGBA:Mi,TEXTURE0:bi,FRAMEBUFFER:vo,RENDERBUFFER:ft,POINTS:cr,LINES:va,LINE_LOOP:bu,LINE_STRIP:ll,TRIANGLES:Fs,TRIANGLE_STRIP:Ou,TRIANGLE_FAN:_u,BYTE:Au,UNSIGNED_BYTE:Bs,SHORT:ls,UNSIGNED_SHORT:Xa,INT:js,UNSIGNED_INT:cs,FLOAT:be,FLOAT_VEC2:ge,FLOAT_VEC3:Oe,FLOAT_VEC4:ke,INT_VEC2:Ye,INT_VEC3:ct,INT_VEC4:Rt,BOOL:Vt,BOOL_VEC2:rn,BOOL_VEC3:Xt,BOOL_VEC4:Fn,FLOAT_MAT2:Kn,FLOAT_MAT3:gr,FLOAT_MAT4:kr,SAMPLER_2D:Gi,SAMPLER_CUBE:Cu,MAX_COMBINED_TEXTURE_IMAGE_UNITS:fs,MAX_VERTEX_TEXTURE_IMAGE_UNITS:Pu,MAX_TEXTURE_IMAGE_UNITS:ds,NONE:Di},Oi=Tu,Fo=function w(D){var M=D.program,U=D.uniforms,j=U===void 0?{}:U,Q=D.options,he=Q===void 0?{}:Q,De=D.mode,Ge=De===void 0?Fs:De;C(this,w),this.program=M,this.uniforms=j,this.options=he,this.mode=Ge},vs=Fo,Na=function w(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=D.vert,U=D.frag,j=D.precision;C(this,w),this.vert=M,this.frag=U,this.precision=j},vr=Na;function zs(w){var D=w.geometry,M=w.vert,U=w.frag,j=w.precision,Q=w.program,he=w.uniforms,De=w.options,Ge=w.mode,$e=w.material,at=w.DrawInfoClass,pt=at===void 0?St:at,Et=w.offset,Ft=w.count,yn=w.primcount;return Q=Q||new vr({vert:M,frag:U,precision:j}),$e=$e||new vs({program:Q,uniforms:he,options:De,mode:Ge}),new pt({geometry:D,material:$e,offset:Et,count:Ft,primcount:yn})}var Za=zs,xu=function w(D){var M=D.array,U=D.itemSize,j=D.normalized,Q=j===void 0?!1:j,he=D.usage,De=he===void 0?mn:he,Ge=D.name,$e=Ge===void 0?"":Ge,at=D.divisor,pt=at===void 0?0:at;C(this,w),this.array=M,this.itemSize=U,this.normalized=Q,this.usage=De,this.name=$e,this.divisor=pt,this.count=M?M.length/U:0,this.needsUpdate=!1},Kr=xu,_i="aPosition",Gs="aNormal",hs="aUv",$c="uProjection",Ul="uModelView",Qc="uDiffuse",Xc="uAlpha",cl="uMap",it="uAlphaMap",Tt="uUvOffsetRepeat",bt="vUv",qt="USE_MAP",In="USE_ALPHA_MAP",Jn="aSpritePosition",Br="aZDepth",fr="aScale",Iu="aRotation",Fl="aTranslate",Aa={POSITION_ATTRIBUTE_NAME:_i,NORMAL_ATTRIBUTE_NAME:Gs,UV_ATTRIBUTE_NAME:hs,PROJECTION_MATRIX_UNIFORM_NAME:$c,MODEL_VIEW_MATRIX_UNIFORM_NAME:Ul,DIFFUSE_COLOR_UNIFORM_NAME:Qc,ALPHA_UNIFORM_NAME:Xc,MAP_UNIFORM_NAME:cl,ALPHA_MAP_UNIFORM_NAME:it,UV_OFFSET_REPEAT_UNIFORM_NAME:Tt,UV_VARYING_NAME:bt,MAP_DEFINE:qt,ALPHA_MAP_DEFINE:In,SPRITE_POSITION_ATTRIBUTE_NAME:Jn,SPRITE_Z_DEPTH_ATTRIBUTE_NAME:Br,SPRITE_SCALE_ATTRIBUTE_NAME:fr,SPRITE_ROTATION_ATTRIBUTE_NAME:Iu,SPRITE_TRANSLATE_ATTRIBUTE_NAME:Fl},Bl=null,ps=function w(){C(this,w),this.attributes=new Map,this.index=null},ha=ps;function ho(w,D,M){return M.name=D,w.attributes.set(D,M),M}var Vr=ho;function tr(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.position,M=D===void 0?_i:D,U=new ha,j=new Float32Array([-1,-1,-1,3,3,-1]);return Vr(U,M,new Kr({array:j,itemSize:2})),U}var Bo=tr;function jo(w,D,M){var U="buffer-".concat(D);w.get(U)!==M&&(w.gl.bindBuffer(D,M),w.set(U,M))}var gs=jo;function jl(w,D,M){var U=w.properties.get(M);return U.glBuffer||(U.glBuffer=w.gl.createBuffer(),M.needsUpdate=!0),gs(w.state,D,U.glBuffer),M.needsUpdate&&(w.gl.bufferData(D,M.array,M.usage),M.needsUpdate=!1),U.glBuffer}var Ru=jl;function zl(w,D,M){var U=[];return M.forEach(function(j,Q){var he=D.attributes.get(Q),De=Ru(w,sn,he);U[j(he,De)]=1}),D.index&&Ru(w,xn,D.index),U}var wu=zl;function Ja(w,D,M){var U=w.createShader(M);if(w.shaderSource(U,D),w.compileShader(U),!w.getShaderParameter(U,w.COMPILE_STATUS))throw new Error("could not compile shader: ".concat(w.getShaderInfoLog(U)));return U}var Ws=Ja;function fl(w,D){return w.substring(0,9)!=="precision"?"precision ".concat(D," float;\n").concat(w):w}var Mu=fl;function Ya(w,D){var M=w.gl,U=M.createProgram(),j=D.vert,Q=Mu(D.frag,D.precision||w.defaultPrecision),he=Ws(M,j,M.VERTEX_SHADER),De=Ws(M,Q,M.FRAGMENT_SHADER);if(M.attachShader(U,he),M.attachShader(U,De),M.linkProgram(U),!M.getProgramParameter(U,M.LINK_STATUS))throw new Error("could not link shader: ".concat(M.getProgramInfoLog(U)));return M.deleteShader(he),M.deleteShader(De),U}var dl=Ya,po="enabledAttributes";function Zc(w,D){w.get(po)||w.set(po,[]);var M=w.get(po);M[D]!==1&&(w.gl.enableVertexAttribArray(D),M[D]=1)}var Hs=Zc;function Ua(w,D){return function(M,U){return gs(w.state,sn,U),Hs(w.state,D),w.gl.vertexAttribPointer(D,M.itemSize,M.type||be,M.normalize||!1,M.stride||0,M.offset||0),w.gl.vertexAttribDivisor&&w.gl.vertexAttribDivisor(D,M.divisor),D}}var Du=Ua;function Jc(w,D){for(var M=new Map,U=w.gl,j=U.getProgramParameter(D,U.ACTIVE_ATTRIBUTES),Q=0;Q.5?Et/(2-De-Ge):Et/(De+Ge),De){case j:$e=(Q-he)/Et+(Q1&&(U-=1),U<1/6?D+(M-D)*6*U:U<1/2?M:U<2/3?D+(M-D)*(2/3-U)*6:D},ii=function(D,M){var U=Ue()(M,3),j=U[0],Q=U[1],he=U[2],De=0,Ge=0,$e=0;if(Q===0)De=he,Ge=he,$e=he;else{var at=he<.5?he*(1+Q):he+Q-he*Q,pt=2*he-at;De=eo(pt,at,j+1/3),Ge=eo(pt,at,j),$e=eo(pt,at,j-1/3)}return D[0]=De,D[1]=Ge,D[2]=$e,D},Bn=function(D,M,U){return .2126*D+.7152*M+.0722*U},rr=function(D){var M=[0,0,0,1],U;if(U=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(D)){var j,Q=U[1],he=U[2];switch(Q){case"rgb":case"rgba":if(j=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(he))return M[0]=Math.min(255,parseFloat(j[1],10))/255,M[1]=Math.min(255,parseFloat(j[2],10))/255,M[2]=Math.min(255,parseFloat(j[3],10))/255,M[3]=j[4]?parseFloat(j[4]):1,M;if(j=/^\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(he))return M[0]=Math.min(100,parseFloat(j[1],10))/100,M[1]=Math.min(100,parseFloat(j[2],10))/100,M[2]=Math.min(100,parseFloat(j[3],10))/100,M[3]=j[4]?parseFloat(j[4]):1,M;break;case"hsl":case"hsla":if(j=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(he)){var De=parseFloat(j[1])/360,Ge=parseFloat(j[2],10)/100,$e=parseFloat(j[3],10)/100;if(Ge===0)M[0]=$e,M[1]=$e,M[2]=$e;else{var at=$e<=.5?$e*(1+Ge):$e+Ge-$e*Ge,pt=2*$e-at;M[0]=eo(pt,at,De+1/3),M[1]=eo(pt,at,De),M[2]=eo(pt,at,De-1/3)}return M[3]=j[4]?parseFloat(j[4]):1,M}break}}else if(U=/^\#([A-Fa-f\d]+)$/.exec(D)){var Et=U[1],Ft=Et.length;if(Ft===3||Ft===4)return M[0]=parseInt(Et.charAt(0)+Et.charAt(0),16)/255,M[1]=parseInt(Et.charAt(1)+Et.charAt(1),16)/255,M[2]=parseInt(Et.charAt(2)+Et.charAt(2),16)/255,M[3]=Et.charAt(3)?parseInt(Et.charAt(3)+Et.charAt(3),16)/255:1,M;if(Ft===6)return M[0]=parseInt(Et.charAt(0)+Et.charAt(1),16)/255,M[1]=parseInt(Et.charAt(2)+Et.charAt(3),16)/255,M[2]=parseInt(Et.charAt(4)+Et.charAt(5),16)/255,M[3]=Et.charAt(6)&&Et.charAt(7)?parseInt(Et.charAt(6)+Et.charAt(7),16)/255:1,M}return M},Hl="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;\n\nvoid main() {\n gl_Position = vec4(aPosition, 1.0);\n vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",tf='\n#ifndef PI\n#define PI 3.141592653589793\n#endif\n\nfloat ease(float t) {\n return -0.5 * (cos(PI * t) - 1.0);\n}\n\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2013602866(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2013602866(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2013602866(vec4 x)\n{\n return mod289_2013602866(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2013602866(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_2013602866(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat cnoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289_2013602866(Pi0);\n Pi1 = mod289_2013602866(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute_2013602866(permute_2013602866(ix) + iy);\n vec4 ixy0 = permute_2013602866(ixy + iz0);\n vec4 ixy1 = permute_2013602866(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt_2013602866(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt_2013602866(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade_2013602866(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nuniform float uAspect;\nuniform float uBevelStrength;\nuniform float uComplexity;\nuniform float uCutOff;\nuniform float uMorphTime;\nuniform float uScale;\nuniform float uSeed;\nuniform float uSteps;\nuniform vec2 uBevelOffset;\nuniform vec2 uTravel;\nuniform vec3 uColorEnd;\nuniform vec3 uColorStart;\nvarying vec2 vUv;\n\nfloat getNoise (vec2 uv, vec2 travel, float n1, float n2, float t) {\n return (\n (cnoise(vec3(uv * n1 - travel + uSeed, t)) +\n cnoise(vec3(uv * n2 - travel + uSeed, t)) * 0.1) *\n 0.5 +\n 0.5\n );\n}\n\nfloat getDepth (float noise) {\n return max(0.0, noise - uCutOff) / (1.0 - uCutOff);\n}\n\nvoid main () {\n vec2 uv = (vUv - 0.5);\n float morphTime = uMorphTime + uSeed;\n\n uv.x *= uAspect;\n\n float baseNoise = ease(getNoise(uv, uTravel, uScale, uComplexity, morphTime));\n float baseDepth = getDepth(baseNoise);\n float baseDepthColorStrength = baseDepth;\n\n #ifndef IS_BLUR_ENABLED\n baseDepth = floor(baseDepth * uSteps + 0.5);\n baseDepthColorStrength = baseDepth / uSteps;\n #endif\n\n vec4 color = vec4(mix(uColorStart, uColorEnd, baseDepthColorStrength), 1.0);\n\n #ifdef IS_BEVEL_ENABLED\n float offsetNoise = ease(\n getNoise(uv + uBevelOffset, uTravel, uScale, uComplexity, morphTime)\n );\n float offsetDepth = floor(getDepth(offsetNoise) * uSteps + 0.5);\n float highlight = baseDepth - offsetDepth;\n float lowlight = offsetDepth - baseDepth;\n\n color.rgb += (highlight - lowlight) * uBevelStrength;\n\n #endif\n\n gl_FragColor = color;\n}\n';function Ca(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function bs(w){for(var D=1;D0&&arguments[0]!==void 0?arguments[0]:{};return this.getProgram({key:this.programKey,factory:function(){return new vr({vert:Hl,frag:j.concatFragmentShader(tf,Q)})}})}},{key:"concatFragmentShader",value:function(j){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=Q.isBlurEnabled,De=Q.isBevelEnabled;return"\n ".concat(he?"#define IS_BLUR_ENABLED":"","\n ").concat(!he&&De?"#define IS_BEVEL_ENABLED":"","\n ").concat(j,"\n ")}},{key:"getProgramKey",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=j.isBlurEnabled,he=j.isBevelEnabled;return"contours-program-".concat(+Q,"-").concat(+(!Q&&he))}},{key:"updateProgram",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=this.getProgramKey(j);Q!==this.programKey&&(this.releaseResource(this.programKey),this.programKey=Q,this.drawInfo.program=this.createProgram(j))}},{key:"updateUniforms",value:function(){var j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},he=this.getColors(),De=Ue()(he,2),Ge=De[0],$e=De[1];return Object.assign(j,{uTravelDirection:ye.rotate([],[1,0],Q.travelDirection),uBevelOffset:ye.rotate([],[Q.bevelSize*1e-4,0],Q.bevelRotation*Math.PI/180),uBevelStrength:Q.bevelStrength*.01,uComplexity:Q.complexity,uCutOff:Math.min(Q.cutoff,99.99)*.01,uColorStart:Ge,uColorEnd:$e,uScale:Math.max(1,100-Q.scale)*.2,uSeed:Q.seed*.1,uSteps:Q.steps}),j}},{key:"updateAutoUpdate",value:function(){var j=this.props,Q=j.speedTravel,he=j.speedMorph;this.autoUpdate=!!(Q||he)}},{key:"onUpdateProps",value:function(j){j.seed!==this.props.seed&&(this.uniforms.uTravel=[0,0],this.uniforms.uMorphTime=0),this.updateProgram(this.props),this.updateUniforms(this.uniforms,this.props),this.updateAutoUpdate(),this.refresh()}},{key:"update",value:function(){var j=this.props.speedTravel*25e-6,Q=this.uniforms.uTravelDirection;this.uniforms.uMorphTime+=this.props.speedMorph*1e-5,this.uniforms.uTravel[0]+=j*Q[0],this.uniforms.uTravel[1]+=j*Q[1]}},{key:"render",value:function(){Wi(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){this.uniforms.uAspect=this.width/this.height}},{key:"uniforms",get:function(){return this.drawInfo.uniforms}},{key:"getColors",value:function(){var j=rr(this.props.startColor),Q=rr(this.props.endColor);return this.props.invertColors?[Q,j]:[j,Q]}}]),M}(ze);a()(yo,"defaultProps",{startColor:"#ffffff",endColor:"#000000",invertColors:!1,complexity:0,cutoff:0,scale:1,seed:0,speedMorph:0,speedTravel:0,travelDirection:0,isBlurEnabled:!1,steps:2,isBevelEnabled:!1,bevelRotation:0,bevelSize:0,bevelStrength:0});var Hi=e(177928),ln=e.n(Hi),$s=e(603912),Eo=e.n($s),ga=function(){function w(D){var M=D.color1,U=D.color2;s()(this,w),this.color1=Eo()(M),this.color2=Eo()(U)}return v()(w,[{key:"update",value:function(){}}]),w}(),hl="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;\n\nvoid main() {\n gl_Position = vec4(aPosition, 1.0);\n vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",ed="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_4217261547(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_4217261547(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_4217261547(vec4 x) {\n return mod289_4217261547(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_4217261547(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat snoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D_4217261547 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g_4217261547 = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g_4217261547;\n vec3 i1 = min( g_4217261547.xyz, l.zxy );\n vec3 i2 = max( g_4217261547.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D_4217261547.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289_4217261547(i);\n vec4 p = permute_4217261547( permute_4217261547( permute_4217261547(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D_4217261547.wyz - D_4217261547.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1_4217261547 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0_4217261547 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1_4217261547.xy,h.z);\n vec3 p3 = vec3(a1_4217261547.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt_4217261547(vec4(dot(p0_4217261547,p0_4217261547), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0_4217261547 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0_4217261547,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\nfloat ease(float t) {\n float f = t - 1.0;\n return f * f * f + 1.0;\n}\n\n#define V_SEED_X 12.9898\n#define V_SEED_Y 78.233\n#define R_SEED 43758.5453\n#define PI 3.141592653589793\n\nuniform vec3 uColor1;\nuniform vec3 uColor2;\n\nuniform float uNoiseIntensity;\nuniform float uNoiseScale;\nuniform float uNoiseBias;\nuniform float uNoiseTime;\n\nuniform vec2 uAngle;\nuniform float uPosition1;\nuniform float uPosition2;\nuniform float uRepeat;\n\nuniform vec2 uResolution;\n\nuniform float uComplexity;\nuniform float uDirection;\nuniform float uIntensity;\nuniform float uSeed;\nuniform float uSmoothness;\nuniform float uTime;\nuniform float uMorphTime;\n\nvarying vec2 vUv;\nvarying float vDepth;\n\nfloat map(float value, float min1, float max1, float min2, float max2) {\n return min2 + (value - min1) * (max2 - min2) / (max1 - min1);\n}\n\nfloat rand(vec2 co){\n return fract(sin(dot(co.xy, vec2(V_SEED_X, V_SEED_Y))) * R_SEED);\n}\n\nfloat noise(vec2 uv) {\n float random = rand(uv + uNoiseTime);\n\n return snoise(vec3(uv, uNoiseTime) * uNoiseScale + random);\n}\n\nvec2 rotate(vec2 uv,float amount){\n float ca = cos(amount);\n float sa = sin(amount);\n\n return vec2(\n uv.x * ca + uv.y * sa,\n -uv.x * sa + uv.y * ca\n );\n}\n\nfloat getNoise(vec2 uv) {\n vec2 direction = rotate(vec2(uTime), uDirection);\n\n return 1.0 - snoise(vec3(uv * uComplexity + direction, uMorphTime) + uSeed);\n}\n\nvoid main () {\n float dist = 1.0 - ease(smoothstep(1.0 - uSmoothness, 1.0, 1.0 - getNoise(vUv))) * uIntensity;\n vec2 uv = (vUv - 0.5) * dist + 0.5;\n\n float t = dot(vec2(0.5) - uv, uAngle) + 0.5;\n t = (cos(t * uRepeat * PI) + 1.0) * 0.5;\n t += uNoiseIntensity * (noise(gl_FragCoord.xy / uResolution) + uNoiseBias);\n\n float gradient = clamp(\n map(t, uPosition1, uPosition2, 0.0, 1.0),\n 0.0,\n 1.0\n );\n\n vec3 color = mix(uColor1, uColor2, gradient);\n\n gl_FragColor = vec4(color, 1.0);\n}\n";function to(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function zu(w){for(var D=1;D0&&arguments[0]!==void 0?arguments[0]:.016,U=this.target,j=this.position,Q=this.speed;j[0]+=(U[0]-j[0])*(Q*M),j[1]+=(U[1]-j[1])*(Q*M)}}]),w}();function Kl(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function So(w){for(var D=1;D0&&arguments[0]!==void 0?arguments[0]:{},D=w.width,M=D===void 0?2:D,U=w.height,j=U===void 0?2:U,Q=w.position,he=Q===void 0?_i:Q,De=w.uv,Ge=De===void 0?hs:De,$e=w.uvArray,at=$e===void 0?[0,1,1,1,1,0,0,0]:$e,pt=new ha,Et=M*.5,Ft=j*.5;return he&&Vr(pt,he,new Kr({array:new Float32Array([-Et,Ft,Et,Ft,Et,-Ft,-Et,-Ft]),itemSize:2})),Ge&&Vr(pt,Ge,new Kr({array:new Float32Array(at),itemSize:2})),Oo(pt,new Uint8Array([2,1,0,2,0,3])),pt}var ia=Pa,hr=gi;function gi(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=1,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}var $l=function w(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=D.left,U=M===void 0?-1:M,j=D.right,Q=j===void 0?1:j,he=D.bottom,De=he===void 0?-1:he,Ge=D.top,$e=Ge===void 0?1:Ge,at=D.near,pt=at===void 0?0:at,Et=D.far,Ft=Et===void 0?1:Et;C(this,w),this.left=U,this.right=Q,this.bottom=De,this.top=$e,this.near=pt,this.far=Ft,this.position=[1,1,1],this.target=[0,0,0],this.viewMatrix=hr([]),this.projectionMatrix=hr([]),this.up=[0,1,0]},ro=$l,aa=rf;function rf(){var w=new Float32Array(9);return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}var af=function w(){C(this,w),x(this,"parent",null),x(this,"children",[]),x(this,"pivot",[0,0]),x(this,"position",[0,0]),x(this,"scale",[1,1]),x(this,"rotation",0),x(this,"matrix",aa()),x(this,"worldMatrix",aa()),x(this,"matrixAutoUpdate",!0),x(this,"worldMatrixNeedsUpdate",!1)},Js=af;function Wu(w,D){var M=w.children.indexOf(D);return M!==-1&&(w.children.splice(M,1),D.parent=null),D}var ma=Wu;function Ql(w,D){return D.parent&&ma(D.parent,D),w.children.includes(D)===!1&&(w.children.push(D),D.parent=w),D}var nd=Ql,ki=Xl;function Xl(w){return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=1,w[5]=0,w[6]=0,w[7]=0,w[8]=1,w}var Ys=jr;function jr(w,D,M){var U=D[0],j=D[1],Q=D[2],he=D[3],De=D[4],Ge=D[5],$e=D[6],at=D[7],pt=D[8],Et=M[0],Ft=M[1];return w[0]=U,w[1]=j,w[2]=Q,w[3]=he,w[4]=De,w[5]=Ge,w[6]=Et*U+Ft*he+$e,w[7]=Et*j+Ft*De+at,w[8]=Et*Q+Ft*Ge+pt,w}var Hu=Zl;function Zl(w,D,M){var U=M[0],j=M[1];return w[0]=U*D[0],w[1]=U*D[1],w[2]=U*D[2],w[3]=j*D[3],w[4]=j*D[4],w[5]=j*D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}var ja=gl;function gl(w,D,M){var U=D[0],j=D[1],Q=D[2],he=D[3],De=D[4],Ge=D[5],$e=D[6],at=D[7],pt=D[8],Et=Math.sin(M),Ft=Math.cos(M);return w[0]=Ft*U+Et*he,w[1]=Ft*j+Et*De,w[2]=Ft*Q+Et*Ge,w[3]=Ft*he-Et*U,w[4]=Ft*De-Et*j,w[5]=Ft*Ge-Et*Q,w[6]=$e,w[7]=at,w[8]=pt,w}var io=[];function Ci(w){ki(w.matrix),io[0]=-w.pivot[0]+w.position[0],io[1]=-w.pivot[1]+w.position[1],Ys(w.matrix,w.matrix,io),ja(w.matrix,w.matrix,w.rotation),Hu(w.matrix,w.matrix,w.scale),Ys(w.matrix,w.matrix,w.pivot),w.worldMatrixNeedsUpdate=!0}var _s=Ci,Li=Jl;function Jl(w,D){return w[0]=D[0],w[1]=D[1],w[2]=D[2],w[3]=D[3],w[4]=D[4],w[5]=D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}var Ko=As;function As(w,D,M){var U=D[0],j=D[1],Q=D[2],he=D[3],De=D[4],Ge=D[5],$e=D[6],at=D[7],pt=D[8],Et=M[0],Ft=M[1],yn=M[2],Cn=M[3],bn=M[4],Vn=M[5],$n=M[6],Rn=M[7],On=M[8];return w[0]=Et*U+Ft*he+yn*$e,w[1]=Et*j+Ft*De+yn*at,w[2]=Et*Q+Ft*Ge+yn*pt,w[3]=Cn*U+bn*he+Vn*$e,w[4]=Cn*j+bn*De+Vn*at,w[5]=Cn*Q+bn*Ge+Vn*pt,w[6]=$n*U+Rn*he+On*$e,w[7]=$n*j+Rn*De+On*at,w[8]=$n*Q+Rn*Ge+On*pt,w}function Yl(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;w.matrixAutoUpdate&&_s(w),(w.worldMatrixNeedsUpdate||D)&&(w.parent===null?Li(w.worldMatrix,w.matrix):(ki(w.worldMatrix),Ko(w.worldMatrix,w.parent.worldMatrix,w.matrix)),w.worldMatrixNeedsUpdate=!1,D=!0),w.children.forEach(function(M){Yl(M,D)})}var ml=Yl,_o="blendEquation";function za(w,D,M){var U=M===void 0?"".concat(D):"".concat(D,"-").concat(M);w.get(_o)!==U&&(M===void 0?w.gl.blendEquation(D):w.gl.blendEquationSeparate(D,M),w.set(_o,U))}var qs=za,of="blendFunc";function ql(w,D,M,U,j){var Q=U===void 0?"".concat(D,"-").concat(M):"".concat(D,"-").concat(M,"-").concat(U,"-").concat(j);w.get(of)!==Q&&(U===void 0?w.gl.blendFunc(D,M):w.gl.blendFuncSeparate(D,M,U,j),w.set(of,Q))}var Cs=ql,rd=sf;function sf(w,D,M){var U=D[0],j=D[1],Q=D[2],he=D[3],De=D[4],Ge=D[5],$e=D[6],at=D[7],pt=D[8],Et=D[9],Ft=D[10],yn=D[11],Cn=D[12],bn=D[13],Vn=D[14],$n=D[15],Rn=M[0],On=M[1],Pn=M[2],Nn=M[3];return w[0]=Rn*U+On*De+Pn*pt+Nn*Cn,w[1]=Rn*j+On*Ge+Pn*Et+Nn*bn,w[2]=Rn*Q+On*$e+Pn*Ft+Nn*Vn,w[3]=Rn*he+On*at+Pn*yn+Nn*$n,Rn=M[4],On=M[5],Pn=M[6],Nn=M[7],w[4]=Rn*U+On*De+Pn*pt+Nn*Cn,w[5]=Rn*j+On*Ge+Pn*Et+Nn*bn,w[6]=Rn*Q+On*$e+Pn*Ft+Nn*Vn,w[7]=Rn*he+On*at+Pn*yn+Nn*$n,Rn=M[8],On=M[9],Pn=M[10],Nn=M[11],w[8]=Rn*U+On*De+Pn*pt+Nn*Cn,w[9]=Rn*j+On*Ge+Pn*Et+Nn*bn,w[10]=Rn*Q+On*$e+Pn*Ft+Nn*Vn,w[11]=Rn*he+On*at+Pn*yn+Nn*$n,Rn=M[12],On=M[13],Pn=M[14],Nn=M[15],w[12]=Rn*U+On*De+Pn*pt+Nn*Cn,w[13]=Rn*j+On*Ge+Pn*Et+Nn*bn,w[14]=Rn*Q+On*$e+Pn*Ft+Nn*Vn,w[15]=Rn*he+On*at+Pn*yn+Nn*$n,w}function ku(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],D=arguments.length>1?arguments[1]:void 0;return w[0]=D[0],w[1]=D[1],w[2]=0,w[3]=D[2],w[4]=D[3],w[5]=D[4],w[6]=0,w[7]=D[5],w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=D[6],w[13]=D[7],w[14]=0,w[15]=1,w}var uf=ku,lf=id;function id(){var w=new Float32Array(16);return w[0]=1,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=1,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=1,w[11]=0,w[12]=0,w[13]=0,w[14]=0,w[15]=1,w}var cf=lf(),Ku=lf();function Vu(w,D,M){var U=function j(Q){Q.visible&&(Q.drawInfo&&(xe(w,"uModelViewMatrix",rd(cf,M.viewMatrix,uf(Ku,Q.worldMatrix))),Wi(w,Q.drawInfo)),Q.children.forEach(j))};xe(w,"uProjectionMatrix",M.projectionMatrix),D.children.forEach(U)}var ff=Vu,ec=eu;function eu(w,D,M,U,j,Q,he){var De=1/(D-M),Ge=1/(U-j),$e=1/(Q-he);return w[0]=-2*De,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=-2*Ge,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=2*$e,w[11]=0,w[12]=(D+M)*De,w[13]=(j+U)*Ge,w[14]=(he+Q)*$e,w[15]=1,w}function df(w){ec(w.projectionMatrix,w.left,w.right,w.bottom,w.top,w.near,w.far)}var tu=df;function Ta(w){var D=w.camera,M=w.x,U=M===void 0?0:M,j=w.y,Q=j===void 0?0:j,he=w.width,De=he===void 0?2:he,Ge=w.height,$e=Ge===void 0?2:Ge;return D.left=U,D.top=Q,D.right=U+De,D.bottom=Q+$e,tu(D),D}var $u=Ta,nu=function(D){return function(M){return D=D+1831565813|0,M=Math.imul(D^D>>>15,1|D),M=M+Math.imul(M^M>>>7,61|M)^M,((M^M>>>14)>>>0)/Math.pow(2,32)}},Vo=function(D){var M=typeof D=="number"?nu(D):Math.random,U=function(){var at=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return at+M()*(pt-at)},j=function(at,pt){var Et=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,Ft=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5,yn=U(at,pt),Cn=U(0,1)*Ft;return yn*(1-Cn)+Et*Cn},Q=function(at,pt){return Math.round(U(at,pt))},he=function(){return!!Math.round(M())},De=function(at){for(var pt=at.length-1;pt>0;pt--){var Et=M()*pt|0,Ft=at[pt];at[pt]=at[Et],at[Et]=Ft}return at},Ge=function(at){return at[Q(0,at.length-1)]};return{random:M,randomFloat:U,randomFloatBias:j,randomInt:Q,randomBool:he,randomFromArray:Ge,shuffle:De}},vf=function(D,M,U){return D>M-U?1:Math.sqrt(D-.5)/Math.sqrt(M-(U+1)*.5)},ru=function(w){for(var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,M=1,U=Math.round(M*Math.sqrt(w)),j=(Math.sqrt(5)+1)*.5,Q=[],he=1;he0&&arguments[0]!==void 0?arguments[0]:null;return C(this,M),U=D.call(this),x($(U),"visible",!0),U.drawInfo=j,U}return M}(Js),tc=Qu,El=e(226941),jn=e.n(El),pf=e(176857),iu=e.n(pf),mr=e(138903),ai=e.n(mr),Pi=e(316514),nc=e.n(Pi),Ki=e(709871),Sl=e.n(Ki),rc=function(D,M){return D[0]=M,D[1]=M,D[2]=M,D},$r={distance:iu(),copy:jn(),sub:ai(),set:nc(),normalize:Sl(),setScalar:rc},ic=function(){function w(D){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.05;s()(this,w),this.current=D,this.target=D,this.speed=M}return v()(w,[{key:"setTarget",value:function(M){var U=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;U&&(this.current=M),this.target=M}},{key:"getValue",value:function(){return this.current}},{key:"update",value:function(){var M=(this.target-this.current)*this.speed;return this.current+=M,this.current}}]),w}();function ac(w){var D=oa();return function(){var U=Nt()(w),j;if(D){var Q=Nt()(this).constructor;j=Reflect.construct(U,arguments,Q)}else j=U.apply(this,arguments);return Ct()(this,j)}}function oa(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Ni=function(w){mt()(M,w);var D=ac(M);function M(U){var j,Q=U.geometry,he=U.program,De=U.metaballs,Ge=U.containerWidth,$e=U.containerHeight;s()(this,M),j=D.call(this,Za({DrawInfoClass:dr,program:he,geometry:Q,uniforms:{uColor:[0,1,0],uMetaballs:De}})),a()(ln()(j),"wobble",0),a()(ln()(j),"morph",0),a()(ln()(j),"speed",0),a()(ln()(j),"scrollOffset",0),a()(ln()(j),"containerWidth",0),a()(ln()(j),"containerHeight",0),a()(ln()(j),"metaballSizes",[]);for(var at=0;at1&&arguments[1]!==void 0?arguments[1]:!1;this.size.setTarget(j,Q)}},{key:"update",value:function(){var j=this.size.update(),Q=this.containerWidth,he=this.containerHeight;this.scale[0]=j*Math.max(Q,he),this.scale[1]=this.scale[0],this.position[0]=this.anchor[0]*Q,this.position[1]=(this.anchor[1]+this.scrollOffset+Math.sin(this.time)*this.wobble)*he;var De=this.drawInfo.uniforms.uMetaballs;De[2]=this.metaballSizes[0]+.02*Math.sin(this.time+1)*this.morph,De[5]=this.metaballSizes[1]+.02*Math.cos(this.time+2)*this.morph,De[8]=this.metaballSizes[2]+.02*Math.sin(this.time+3)*this.morph,De[11]=this.metaballSizes[3]+.02*Math.cos(this.time+4)*this.morph,De[14]=this.metaballSizes[4]+.02*Math.sin(this.time+5)*this.morph,this.time+=.016*this.speed}},{key:"setContainerSize",value:function(j,Q){this.containerWidth=j,this.containerHeight=Q}},{key:"color",get:function(){return this.drawInfo.uniforms.uColor},set:function(j){$r.copy(this.drawInfo.uniforms.uColor,j)}}]),M}(tc),ya="\nattribute vec3 aPosition;\nattribute vec2 aUv;\n\nuniform mat4 uModelViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n gl_Position = uProjectionMatrix * uModelViewMatrix * vec4(aPosition, 1.0);\n\n vUv = aUv;\n}\n",Xu="\nuniform vec3 uMetaballs[5];\n\nuniform vec3 uColor;\nuniform vec2 uSize;\n\nvarying vec2 vUv;\n\nvoid main() {\n float frag = 0.0;\n float d = 0.0;\n vec3 m;\n\n // 0\n m = uMetaballs[0];\n d += m.z / distance(m.xy, vUv);\n frag += smoothstep(0.97, 1.0, length(d));\n\n // 1\n m = uMetaballs[1];\n d += m.z / distance(m.xy, vUv);\n frag += smoothstep(0.97, 1.0, length(d));\n\n // 2\n m = uMetaballs[2];\n d += m.z / distance(m.xy, vUv);\n frag += smoothstep(0.97, 1.0, length(d));\n\n // 3\n m = uMetaballs[3];\n d += m.z / distance(m.xy, vUv);\n frag += smoothstep(0.97, 1.0, length(d));\n\n // 4\n m = uMetaballs[4];\n d += m.z / distance(m.xy, vUv);\n frag += smoothstep(0.97, 1.0, length(d));\n\n // clamp\n frag = step(1.0, clamp(frag, 0.0, 1.0));\n\n gl_FragColor = vec4(uColor, frag);\n}\n",Ao={linear:"linear",edge:"edge",center:"center"},au={monochromatic:"monochromatic",vibrant:"vibrant"};function oc(w){var D=gf();return function(){var U=Nt()(w),j;if(D){var Q=Nt()(this).constructor;j=Reflect.construct(U,arguments,Q)}else j=U.apply(this,arguments);return Ct()(this,j)}}function gf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var sc=Oi.BLEND,uc=Oi.DEPTH_TEST,$o=Oi.FUNC_ADD,ad=Oi.ONE_MINUS_SRC_ALPHA,Qo=Oi.SRC_ALPHA,mf=function(D,M){for(var U=[],j=0;j2&&arguments[2]!==void 0?arguments[2]:.1,j=D.shuffle(ru(M,.5));return j.map(function(Q){return[(Q[0]+1)*.5+D.randomFloat(-U,U),(Q[1]+1)*.5+D.randomFloat(-U,U)]})},ou=function(w){mt()(M,w);var D=oc(M);function M(U,j){var Q;return s()(this,M),Q=D.call(this,U,j),a()(ln()(Q),"scrollProgress",0),a()(ln()(Q),"onScrollProgress",function(he){Q.scrollProgress=he}),Q.isSupported?(Q.createResources(),Q.createScene(),Q.updateRNG(),Q.updateShapes(),Q.updateDistribution(),Q.updateColor(),Q.updateShapeSize(!0),Q.updateAnimation(),Q.updateCount(),Q.updateAutoUpdate(),Q.refresh(),Q):Ct()(Q)}return v()(M,[{key:"createResources",value:function(){this.blobProgram=this.getProgram({key:"blob-program",factory:function(){return new vr({vert:ya,frag:Xu})}}),this.quadGeometry=this.getGeometry({key:"unit-quad-geometry",factory:function(){return ia({width:1,height:1})}})}},{key:"createScene",value:function(){this.camera=new ro,this.scene=new Js}},{key:"updateRNG",value:function(){this.rng=Vo(this.props.seed)}},{key:"updateShapes",value:function(){this.shapes=[];for(var j=0;j.5,Ge=De?-1:1;this.shapes.forEach(function($e){ii($e.color,[he[0],he[1],he[2]+j.rng.randomFloat(0,.5)*Ge])})}},{key:"setVibrantColors",value:function(){var j=this;this.shapes.forEach(function(Q){ii(Q.color,[j.rng.randomFloat(0,1),1,.5])})}},{key:"updateShapeSize",value:function(j){var Q=this,he=this.props,De=he.size,Ge=he.sizeVariance;this.shapes.forEach(function($e){var at=Q.rng.randomFloat(De,De+Ge)/100;$e.setSize(at,j)})}},{key:"updateAnimation",value:function(){var j=this,Q=this.props,he=Q.wobble,De=Q.morph,Ge=Q.speed;this.shapes.forEach(function($e){$e.wobble=he*.01*j.rng.randomFloat(.8,1.2)*.05,$e.morph=De*.01*j.rng.randomFloat(.8,1.2),$e.speed=Ge*.01*j.rng.randomFloat(.8,1.2)})}},{key:"updateAutoUpdate",value:function(){var j=this.props,Q=j.wobble,he=j.morph,De=j.speed,Ge=j.scrollMovement;this.autoUpdate=!!(Ge||De&&(Q||he))}},{key:"onUpdateProps",value:function(j){var Q=hf(this.props,j);if(this.updateRNG(),Q("seed")){this.updateShapes(),this.updateDistribution(),this.updateColor(),this.updateShapeSize(!0),this.updateAnimation(),this.updateCount(),this.updateAutoUpdate();return}Q("distribution")&&this.updateDistribution(),Q("count")&&this.updateCount(),Q(["backgroundColor","baseColor","colorMode"])&&this.updateColor(),Q(["size","sizeVariance"])&&this.updateShapeSize(!1),Q(["wobble","morph","speed"])&&this.updateAnimation(),this.updateAutoUpdate()}},{key:"update",value:function(){var j=this,Q=this.props.scrollMovement/100*.5;this.visibleShapes.forEach(function(he,De,Ge){var $e=Ge.length,at=Q*De/($e-1),pt=-at+2*at*j.scrollProgress;he.scrollOffset=pt,he.update()}),ml(this.scene)}},{key:"render",value:function(){this.renderer.state.enable(sc),this.renderer.state.disable(uc),qs(this.renderer.state,$o),Cs(this.renderer.state,Qo,ad),ff(this.renderer,this.scene,this.camera)}},{key:"onRefresh",value:function(){var j=this.width,Q=this.height;this.shapes.forEach(function(he){he.setContainerSize(j,Q)}),$u({camera:this.camera,x:0,y:0,width:j,height:Q})}}]),M}(ze);a()(ou,"MAX_SHAPES",100),a()(ou,"defaultProps",{seed:0,count:32,distribution:Ao.edge,colorMode:au.monochromatic,backgroundColor:"#ffffff",baseColor:"#000000",size:10,sizeVariance:0,wobble:0,morph:0,speed:0,scrollMovement:0});var cc=function w(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},M=D.image,U=M===void 0?null:M,j=D.minFilter,Q=j===void 0?Rr:j,he=D.magFilter,De=he===void 0?Rr:he,Ge=D.wrapS,$e=Ge===void 0?ri:Ge,at=D.wrapT,pt=at===void 0?ri:at,Et=D.format,Ft=Et===void 0?Mi:Et,yn=D.type,Cn=yn===void 0?Bs:yn,bn=D.flipY,Vn=bn===void 0?!0:bn,$n=D.premultiplyAlpha,Rn=$n===void 0?!1:$n;C(this,w),this.image=U,this.minFilter=Q,this.magFilter=De,this.wrapS=$e,this.wrapT=pt,this.format=Ft,this.type=Cn,this.flipY=Vn,this.premultiplyAlpha=Rn,this.generateMipmap=this.minFilter!==Rr&&this.minFilter!==ra,this.needsUpdate=!1},bl=cc;function fc(w,D){var M=D.wrapS,U=D.wrapT,j=D.minFilter,Q=D.magFilter,he=D.flipY,De=D.premultiplyAlpha;w.texParameteri(w.TEXTURE_2D,w.TEXTURE_WRAP_S,M),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_WRAP_T,U),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MIN_FILTER,j),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MAG_FILTER,Q),w.pixelStorei(w.UNPACK_FLIP_Y_WEBGL,he),w.pixelStorei(w.UNPACK_PREMULTIPLY_ALPHA_WEBGL,De)}var dc=fc,yf="activeTexture";function Ef(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;w.get(yf)!==D&&(w.gl.activeTexture(bi+D),w.set(yf,D))}var vc=Ef;function Vi(w,D,M){var U="texture-".concat(M);w.get(U)!==D&&(w.gl.bindTexture(na,D),w.set(U,D))}var Ea=Vi;function od(w,D){var M=w.gl;D.image&&M.texImage2D(na,0,D.format,D.format,D.type,D.image),D.generateMipmap&&M.generateMipmap(na)}var Sf=od;function hc(w,D,M){var U=w.gl,j=w.properties.get(D);return vc(w.state,M),j.glTexture?(Ea(w.state,j.glTexture,M),D.needsUpdate===!0&&(Sf(w.state,D,j.glTexture),D.needsUpdate=!1)):(j.glTexture=U.createTexture(),Ea(w.state,j.glTexture,M),dc(U,D),Sf(w.state,D,j.glTexture)),M}var su=hc;function sd(w,D){var M=w.textures,U=M.textureBindings,j=U.get(D);return j||(j=function(){return su(w,D,M.nextTextureUnit++)},U.set(D,j)),j}var Ol=sd,ud=function w(D){var M=D.width,U=D.height,j=D.generateDepth,Q=j===void 0?!1:j,he=D.generateStencil,De=he===void 0?!1:he,Ge=D.textureOptions;C(this,w),this.width=M,this.height=U,this.generateDepth=Q,this.generateStencil=De,this.texture=new bl(Ge),this.textureOptions=Ge},pc=ud;function uu(w,D){var M=w.properties.get(D);Xn(w,D.texture),M.glFrameBuffer&&(w.gl.deleteFramebuffer(M.glFrameBuffer),delete M.glFrameBuffer),M.glRenderBuffer&&(w.gl.deleteRenderbuffer(M.glRenderBuffer),delete M.glRenderBuffer),w.properties.remove(D)}var Co=uu;function Hd(w){return new pc({width:w.width,height:w.height,generateDepth:w.generateDepth,generateStencil:w.generateStencil,textureOptions:w.textureOptions?R({},w.textureOptions):void 0})}var ld=Hd;function cd(w,D,M,U){Co(w,D),D.width=M,D.height=U}var Po=cd,gc=function(){function w(D){var M=D.renderer,U=D.textureOptions,j=D.screenGeometry,Q=j===void 0?Bo():j;C(this,w),this.renderer=M,this.renderTargetTextureOptions=U,this.screenGeometry=Q,this.passes=[]}return A(w,[{key:"addPass",value:function(M,U){M.init(this),U!==void 0?this.passes.splice(U,0,M):this.passes.push(M)}},{key:"removePass",value:function(M){return te(this.passes,M)}},{key:"setSize",value:function(M,U){M===this.width&&U===this.height||(this.width=M,this.height=U,this.inputRenderTarget?(Po(this.renderer,this.inputRenderTarget,M,U),Po(this.renderer,this.outputRenderTarget,M,U)):(this.inputRenderTarget=new pc({width:M,height:U,textureOptions:this.renderTargetTextureOptions}),this.outputRenderTarget=ld(this.inputRenderTarget)))}},{key:"swapRenderTargets",value:function(){var M=this.inputRenderTarget;this.inputRenderTarget=this.outputRenderTarget,this.outputRenderTarget=M}},{key:"render",value:function(){var M=this;this.passes.forEach(function(U){U.enabled&&(U.render(M.renderer,M.inputRenderTarget,M.outputRenderTarget),U.shouldSwap&&M.swapRenderTargets())})}},{key:"dispose",value:function(){Co(this.renderer,this.inputRenderTarget),Co(this.renderer,this.outputRenderTarget),Jr(this.renderer,this.screenGeometry),this.passes.forEach(function(M){M.dispose()}),this.passes.length=0,this.renderer=null}}]),w}(),Ju=gc,bf=function(){function w(){C(this,w),this.renderToScreen=!1,this.shouldSwap=!0,this.shouldClear=!0,this.enabled=!0}return A(w,[{key:"init",value:function(M){this.composer=M}},{key:"render",value:function(M,U,j){}},{key:"dispose",value:function(){}}]),w}(),_l=bf,Of="framebuffer";function _f(w,D){w.get(Of)!==D&&(w.gl.bindFramebuffer(vo,D),w.set(Of,D))}var Ps=_f,mc="renderbuffer";function Af(w,D){w.get(mc)!==D&&(w.gl.bindRenderbuffer(ft,D),w.set(mc,D))}var sa=Af;function $i(w,D,M){var U=w.gl,j=w.properties.get(D.texture),Q=D.texture.format,he=D.texture.type;j.glTexture=U.createTexture(),vc(w.state,0),Ea(w.state,j.glTexture,0),U.texImage2D(U.TEXTURE_2D,0,Q,D.width,D.height,0,Q,he,null),dc(U,D.texture),M.glFrameBuffer=U.createFramebuffer(),Ps(w.state,M.glFrameBuffer),U.framebufferTexture2D(U.FRAMEBUFFER,U.COLOR_ATTACHMENT0,U.TEXTURE_2D,j.glTexture,0),D.generateDepth&&(M.glRenderBuffer=U.createRenderbuffer(),sa(w.state,M.glRenderBuffer)),D.generateDepth&&!D.generateStencil?(U.renderbufferStorage(U.RENDERBUFFER,U.DEPTH_COMPONENT16,D.width,D.height),U.framebufferRenderbuffer(U.FRAMEBUFFER,U.DEPTH_ATTACHMENT,U.RENDERBUFFER,M.glRenderbuffer)):D.generateDepth&&D.generateStencil&&(U.renderbufferStorage(U.RENDERBUFFER,U.DEPTH_STENCIL,D.width,D.height),U.framebufferRenderbuffer(U.FRAMEBUFFER,U.DEPTH_STENCIL_ATTACHMENT,U.RENDERBUFFER,M.glRenderbuffer)),Ps(w.state,null),sa(w.state,null),Ea(w.state,null,0)}var To=$i,yc="renderTarget";function Cf(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(w.state.get(yc)!==D)if(w.state.set(yc,D),D){var M=w.properties.get(D);M.glFrameBuffer||To(w,D,M),Ps(w.state,M.glFrameBuffer),xt(w.state,0,0,D.width,D.height)}else Ps(w.state,null),xt.apply(void 0,[w.state].concat(k(w.viewport)))}var Pf=Cf,Tf="attribute vec2 aPosition;varying vec2 vUv;void main(){gl_Position=vec4(aPosition,0.0,1.0);vUv=gl_Position.xy*0.5+0.5;}",xf=Tf,fd="uniform sampler2D uInput;varying vec2 vUv;void main(){gl_FragColor=texture2D(uInput,vUv);}",ao=fd;function Ec(w,D){Jr(w,D.geometry),Wn(w,D.program)}var Sc=Ec,Al=function(w){N(M,w);var D=V(M);function M(){var U,j=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=j.program,he=Q===void 0?new vr:Q,De=j.vert,Ge=j.frag,$e=j.uniforms,at=$e===void 0?{}:$e,pt=j.inputUniformName,Et=pt===void 0?"uInput":pt;return C(this,M),U=D.call(this),he.vert||(he.vert=De||xf),he.frag||(he.frag=Ge||ao),U.inputUniformName=Et,U.material=new vs({program:he,uniforms:at}),U}return A(M,[{key:"init",value:function(j){H(B(M.prototype),"init",this).call(this,j),!this.drawInfo&&(this.drawInfo=new St({geometry:j.screenGeometry,material:this.material}))}},{key:"setInput",value:function(j,Q){this.material.uniforms[this.inputUniformName]=Ol(j,Q.texture)}},{key:"render",value:function(j){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,he=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.setInput(j,Q),Pf(j,this.renderToScreen?null:he),!this.renderToScreen&&this.shouldClear&&fe(j),Wi(j,this.drawInfo)}},{key:"dispose",value:function(){Sc(this.composer.renderer,this.drawInfo)}},{key:"uniforms",get:function(){return this.material.uniforms}}]),M}(_l),lu=Al;function cu(w){return w===0?1:(w--,w|=w>>1,w|=w>>2,w|=w>>4,w|=w>>8,w|=w>>16,w+1)}var Sn=cu,Xo=document.createElement("canvas");Xo.width=2,Xo.height=2;var bc=Xo;function Ts(w){return new Promise(function(D){var M=document.createElement("img");M.crossOrigin="Anonymous",M.onload=function(){D(M)},M.src=w})}var Oc=Ts,_c=e(164940),Qr=e.n(_c),wr=e(575677),kd=e.n(wr);function dd(w){var D=Ac();return function(){var U=Nt()(w),j;if(D){var Q=Nt()(this).constructor;j=Reflect.construct(U,arguments,Q)}else j=U.apply(this,arguments);return Ct()(this,j)}}function Ac(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var vd=function(w){mt()(M,w);var D=dd(M);function M(U){var j,Q=U.program,he=U.geometry,De=U.tint,Ge=U.x,$e=U.y,at=U.width,pt=U.height,Et=U.textureBinding;return s()(this,M),j=D.call(this,Za({DrawInfoClass:dr,program:Q,geometry:he,uniforms:{uImage:Et,uTint:De}})),a()(ln()(j),"width",1),a()(ln()(j),"height",1),a()(ln()(j),"update",function(){j.position[0]=j.body.position.x,j.position[1]=j.body.position.y,j.rotation=j.body.angle}),j.body=Qr().Bodies.rectangle(Ge,$e,1,1,{friction:1e-5,restitution:.5,density:.001}),Qr().Body.rotate(j.body,Math.random()*360),j.setScale(at,pt),j}return v()(M,[{key:"setScale",value:function(j,Q){this.scale[0]=j,this.scale[1]=Q;var he=j/this.width,De=Q/this.height;this.width=j,this.height=Q;var Ge=this.body.angle;Qr().Body.setAngle(this.body,0),Qr().Body.scale(this.body,he,De),Qr().Body.setAngle(this.body,Ge)}},{key:"setPosition",value:function(j,Q){this.position[0]=j,this.position[1]=Q,Qr().Body.setPosition(this.body,{x:j,y:Q})}},{key:"setTint",value:function(j){this.drawInfo.uniforms.uTint=j}},{key:"destroy",value:function(){}}]),M}(tc);Qr().Common.logLevel=0;var If=function(){function w(D){var M=D.quadProgram,U=D.quadGeometry,j=D.textureBinding,Q=D.scene,he=D.webglCanvas,De=D.imageScale,Ge=D.imageCount,$e=D.imageTint;s()(this,w),a()(this,"quads",[]),a()(this,"width",0),a()(this,"height",0),a()(this,"count",0),a()(this,"imageScale",100),a()(this,"imageRatio",1),a()(this,"imageTint",[1,1,1]),a()(this,"time",0),a()(this,"isSizeDirty",!1),this.quadProgram=M,this.quadGeometry=U,this.textureBinding=j,this.scene=Q,this.webglCanvas=he,this.engine=Qr().Engine.create({}),this.engine.gravity.y=0,this.engine.enableSleeping=!0,this.createMouse(),Qr().use(kd()),this.imageScale=De,this.imageTint=$e,this.setCount(Ge)}return v()(w,[{key:"createMouse",value:function(){var M=this.webglCanvas.node.closest("section")||this.webglCanvas.node;this.mouse=Qr().Mouse.create(M),this.mouse.element.removeEventListener("mousewheel",this.mouse.mousewheel),this.mouse.element.removeEventListener("DOMMouseScroll",this.mouse.mousewheel),this.mouse.element.removeEventListener("touchmove",this.mouse.mousemove),this.mouse.element.removeEventListener("touchstart",this.mouse.mousedown),this.mouse.element.removeEventListener("touchend",this.mouse.mouseup),this.mouseConstraint=Qr().MouseConstraint.create(this.engine,{mouse:this.mouse,enabledEvents:{mousewheel:!1},constraint:{stiffness:.2,render:{visible:!1}}}),Qr().World.add(this.engine.world,this.mouseConstraint)}},{key:"setCount",value:function(M){if(M!==this.count){for(var U=this.webglCanvas,j=U.width,Q=U.height,he=this.getQuadSize(),De=Ue()(he,2),Ge=De[0],$e=De[1],at=0,pt=0,Et=Math.max(M,this.quads.length);ptM)Ft&&(this.removeQuad(Ft),at+=1);else if(!Ft){var yn=Math.random()*j,Cn=Math.random()*Q,bn=new vd({program:this.quadProgram,geometry:this.quadGeometry,textureBinding:this.textureBinding,tint:this.imageTint,x:yn,y:Cn,width:Ge,height:$e});bn.body.plugin.wrap={min:{x:0,y:0},max:{x:j,y:Q}},this.addQuad(bn)}}this.quads.splice(this.quads.length-at),this.count=M}}},{key:"setScale",value:function(M){this.imageScale=M,this.updateQuadSize()}},{key:"setImageRatio",value:function(M){this.imageRatio=M,this.updateQuadSize()}},{key:"setImageTint",value:function(M){this.imageTint=M,this.quads.forEach(function(U){U.setTint(M)})}},{key:"addQuad",value:function(M){nd(this.scene,M),Qr().World.addBody(this.engine.world,M.body),this.quads.push(M)}},{key:"removeQuad",value:function(M){ma(this.scene,M),Qr().World.remove(this.engine.world,M.body),M.destroy()}},{key:"updateQuadSize",value:function(){var M=this.getQuadSize(),U=Ue()(M,2),j=U[0],Q=U[1];this.quads.forEach(function(he){he.setScale(j,Q)}),this.isSizeDirty=!0}},{key:"update",value:function(M){var U=this.time?M-this.time:.016;Qr().Engine.update(this.engine,U),this.quads.forEach(function(j){j.update()}),this.time=M}},{key:"resize",value:function(M,U){if(!(M===0||U===0)&&!(M===this.width&&U===this.height)){var j=this.width?M/this.width:1,Q=this.height?U/this.height:1;this.width=M,this.height=U;var he=this.getQuadSize(),De=Ue()(he,2),Ge=De[0],$e=De[1];this.quads.forEach(function(at){var pt=at.body.position,Et=pt.x,Ft=pt.y;at.setPosition(Et*j,Ft*Q),at.setScale(Ge,$e),at.body.plugin.wrap={min:{x:-Ge*.5,y:-$e*.5},max:{x:M+Ge*.5,y:U+$e*.5}}}),this.isSizeDirty=!0}}},{key:"getQuadSize",value:function(){var M=1+Math.max(this.width,this.height),U=M*jt(this.imageScale,0,100,.1,.2),j=U*this.imageRatio;return[U,j]}},{key:"needsRender",value:function(){var M=this.isSizeDirty||this.quads.some(function(U){return!U.body.isSleeping});return this.isSizeDirty=!1,M}},{key:"destroy",value:function(){this.destroyMouse(),Qr().Engine.clear(this.engine)}},{key:"destroyMouse",value:function(){var M=this.mouse,U=M.element,j=M.mousemove,Q=M.mousedown,he=M.mouseup;Qr().World.remove(this.engine.world,this.mouseConstraint),U.removeEventListener("mousemove",j),U.removeEventListener("mousedown",Q),U.removeEventListener("mouseup",he)}}]),w}(),Cl="\nattribute vec3 aPosition;\nattribute vec2 aUv;\n\nuniform mat4 uModelViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec2 vUv;\n\nvoid main() {\n gl_Position = uProjectionMatrix * uModelViewMatrix * vec4(aPosition, 1.0);\n\n vUv = aUv;\n}\n",Qi="\nuniform sampler2D uImage;\nuniform vec3 uTint;\n\nvarying vec2 vUv;\n\nvoid main () {\n vec4 texel = texture2D(uImage, vUv);\n texel.rgb *= uTint * texel.a;\n\n gl_FragColor = texel;\n}\n",hd="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;\n\nvoid main() {\n gl_Position = vec4(aPosition, 1.0);\n vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",Zo='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_309583532(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_309583532(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_309583532(vec4 x)\n{\n return mod289_309583532(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_309583532(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_309583532(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat snoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289_309583532(Pi0);\n Pi1 = mod289_309583532(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute_309583532(permute_309583532(ix) + iy);\n vec4 ixy0 = permute_309583532(ixy + iz0);\n vec4 ixy1 = permute_309583532(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt_309583532(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt_309583532(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade_309583532(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nfloat ease(float t) {\n float p = 2.0 * t * t;\n return t < 0.5 ? p : -p + (4.0 * t) - 1.0;\n}\n\nuniform sampler2D uInput;\nuniform vec2 uResolution;\n\nuniform float uTime;\nuniform float uFabricSeed;\nuniform float uFabricNoise;\nuniform float uFabricNoiseStrength;\nuniform float uFabricShadowDepth;\n\nvarying vec2 vUv;\n\nvec3 hsv2rgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y);\n}\n\nvec3 rgb2hsv(vec3 c) {\n vec4 K = vec4(0.0, -1.0 / 3.0, 2.0 / 3.0, -1.0);\n vec4 p = mix(vec4(c.bg, K.wz), vec4(c.gb, K.xy), step(c.b, c.g));\n vec4 q = mix(vec4(p.xyw, c.r), vec4(c.r, p.yzx), step(p.x, c.r));\n\n float d = q.x - min(q.w, q.y);\n float e = 1.0e-10;\n return vec3(abs(q.z + (q.w - q.y) / (6.0 * d + e)), d / (q.x + e), q.x);\n}\n\nvoid main() {\n vec2 coord = vUv * uResolution;\n float aspect = uResolution.x / uResolution.y;\n vec2 offset = coord * 0.5;\n\n coord -= offset;\n\n vec2 uv = coord / uResolution;\n\n uv.x *= aspect;\n uv += uFabricSeed;\n\n float t = uTime;\n float scale = uFabricNoise;\n float noise = snoise(vec3(uv.x * scale + t, uv.x * scale + t, 0.0));\n\n coord *= 1.0 + noise * uFabricNoiseStrength;\n coord += offset;\n coord /= uResolution;\n\n vec4 col = texture2D(uInput, coord);\n vec3 colHsv = rgb2hsv(col.rgb);\n\n colHsv[2] -= noise * uFabricShadowDepth;\n\n col = vec4(hsv2rgb(colHsv), col.a);\n\n gl_FragColor = col;\n}\n',Ti="\nuniform sampler2D uInput;\nuniform vec2 uResolution;\n\nuniform vec3 uPatternColor;\nuniform float uPatternSize;\nuniform vec2 uThreadOffset;\nuniform vec2 uThreadSpace;\nuniform sampler2D uThreadSampler;\n\nvarying vec2 vUv;\n\nvec4 getPixel (vec2 coord, vec2 size) {\n size *= uResolution;\n coord = (floor(coord / size) * size) + size * 0.5;\n coord /= uResolution;\n\n return texture2D(uInput, coord);\n}\n\nvec4 getThread (vec2 coord, vec2 uv, vec2 size, vec2 offset, vec2 ratio, vec2 shift) {\n coord += vec2(size * uResolution.xy) * shift;\n\n vec2 grid = ceil(coord / (size * uResolution));\n\n if (mod(grid.x, 2.0) == 0.0) {\n uv.y += size.y * uThreadOffset.y;\n coord.y += (size.y * uResolution.y) * uThreadOffset.y;\n }\n\n if (mod(grid.y, 2.0) == 0.0) {\n uv.x += size.x * uThreadOffset.x;\n coord.x += (size.x * uResolution.x) * uThreadOffset.x;\n }\n\n vec2 phase = fract(uv / size);\n vec2 inner = offset + (phase * ratio) - 2.0 * ratio * shift * 0.5;\n vec4 col = vec4(uPatternColor, 1.0);\n float alpha = 0.0;\n\n if (inner.x >= 0.0 && inner.x <= 1.0 && inner.y >= 0.0 && inner.y <= 1.0) {\n vec4 innerCol = getPixel(coord, size);\n\n col = mix(col, innerCol, step(1.0, innerCol.a));\n\n alpha = texture2D(uThreadSampler, inner).a;\n }\n\n return col * alpha;\n}\n\nvoid main(void) {\n vec2 coord = vUv * uResolution.xy;\n\n vec2 uv = coord / uResolution;\n vec2 textureSize = vec2(uPatternSize);\n vec2 size = textureSize / uResolution;\n vec2 containerSize = textureSize * uThreadSpace / uResolution;\n vec2 offset = -((containerSize - size) / size) * 0.5;\n vec2 ratio = containerSize / size;\n\n vec4 threadA = getThread(coord, uv, containerSize, offset, ratio, vec2(-1.0, -1.0));\n vec4 threadB = getThread(coord, uv, containerSize, offset, ratio, vec2(0.0, -1.0));\n vec4 threadC = getThread(coord, uv, containerSize, offset, ratio, vec2(1.0, -1.0));\n vec4 threadD = getThread(coord, uv, containerSize, offset, ratio, vec2(-1.0, 0.0));\n vec4 threadE = getThread(coord, uv, containerSize, offset, ratio, vec2(0.0, 0.0));\n vec4 threadF = getThread(coord, uv, containerSize, offset, ratio, vec2(1.0, 0.0));\n vec4 threadG = getThread(coord, uv, containerSize, offset, ratio, vec2(-1.0, 1.0));\n vec4 threadH = getThread(coord, uv, containerSize, offset, ratio, vec2(0.0, 1.0));\n vec4 threadI = getThread(coord, uv, containerSize, offset, ratio, vec2(1.0, 1.0));\n\n vec4 composite = mix(threadA, threadB, threadB.a);\n composite = mix(composite, threadC, threadC.a);\n composite = mix(composite, threadD, threadD.a);\n composite = mix(composite, threadE, threadE.a);\n composite = mix(composite, threadF, threadF.a);\n composite = mix(composite, threadG, threadG.a);\n composite = mix(composite, threadH, threadH.a);\n composite = mix(composite, threadI, threadI.a);\n\n gl_FragColor = composite;\n}\n",br={blob1:"blob1",blob2:"blob2",brush1:"brush1",brush2:"brush2",brush3:"brush3",circle1:"circle1",polygon1:"polygon1",polygon2:"polygon2"},xo,an=(xo={},a()(xo,br.blob1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/blob1.png"}),a()(xo,br.blob2,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/blob2.png"}),a()(xo,br.brush1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/brush1.png"}),a()(xo,br.brush2,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/brush2.png"}),a()(xo,br.brush3,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/brush3.png"}),a()(xo,br.circle1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/circle1.png"}),a()(xo,br.polygon1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/polygon1.png"}),a()(xo,br.polygon2,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/polygon2.png"}),xo),xa={circle:"circle",crossStitch:"crossStitch",cube:"cube",gingham:"gingham",gradientCircle:"gradientCircle",houndstooth:"houndstooth",stitch:"stitch"},oo,xs=(oo={},a()(oo,xa.circle,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/circle.png",patternSpaceX:1,patternSpaceY:1,patternOffsetX:.5,patternOffsetY:.5}),a()(oo,xa.crossStitch,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/cross-stitch.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),a()(oo,xa.cube,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/cube.png",patternSpaceX:.85,patternSpaceY:.75,patternOffsetX:.5,patternOffsetY:0}),a()(oo,xa.gingham,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/gingham.png",patternSpaceX:.67,patternSpaceY:.67,patternOffsetX:0,patternOffsetY:0}),a()(oo,xa.gradientCircle,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/gradient-circle.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),a()(oo,xa.houndstooth,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/houndstooth.png",patternSpaceX:.77,patternSpaceY:.82,patternOffsetX:0,patternOffsetY:0}),a()(oo,xa.stitch,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/stitch.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),oo);function pd(w){var D=Yu();return function(){var U=Nt()(w),j;if(D){var Q=Nt()(this).constructor;j=Reflect.construct(U,arguments,Q)}else j=U.apply(this,arguments);return Ct()(this,j)}}function Yu(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Cc=Oi.BLEND,Rf=Oi.FUNC_ADD,gd=Oi.ONE_MINUS_SRC_ALPHA,md=Oi.SRC_ALPHA,Pc=Oi.NEAREST,Pl=Oi.MIRRORED_REPEAT,Tc=.2,oi=.001,Ia=.01,Sa=function(w){mt()(M,w);var D=pd(M);function M(U,j){var Q;return s()(this,M),Q=D.call(this,U,j),a()(ln()(Q),"useEffects",!1),a()(ln()(Q),"isReady",!1),Q.isSupported?(Q.createResources(),Q.createScene(),Q.createPhysics(),Q.updateEffects(),Q.updateAutoUpdate(),Q.preload(),Q):Ct()(Q)}return v()(M,[{key:"preload",value:function(){var j=this,Q=[this.loadImage()];this.props.patternEnabled&&Q.push(this.loadPatternImage()),Promise.all(Q).then(function(){j.isReady=!0,j.needsForceRender=!0,j.updateAutoUpdate(),j.refresh()})}},{key:"createResources",value:function(){this.imageQuadProgram=this.getProgram({key:"image-quad-program",factory:function(){return new vr({vert:Cl,frag:Qi})}}),this.quadGeometry=this.getGeometry({key:"unit-quad-geometry",factory:function(){return ia({width:1,height:1})}}),this.texture=new bl({image:bc}),this.textureBinding=Ol(this.renderer,this.texture),this.patternTexture=new bl({image:bc}),this.patternTextureBinding=Ol(this.renderer,this.patternTexture),this.composer=new Ju({renderer:this.renderer,textureOptions:{minFilter:Pc,magFilter:Pc,wrapS:Pl,wrapT:Pl,premultiplyAlpha:!0},screenGeometry:this.getGeometry({key:"big-triangle",factory:Bo})}),this.waveEffect=new lu({uniforms:{uResolution:[this.width,this.height],uTime:0,uFabricSeed:0,uFabricNoise:this.props.waveComplexity*Tc,uFabricNoiseStrength:this.props.waveDepth*oi,uFabricShadowDepth:this.props.waveShadowDepth*Ia},program:this.getProgram({key:"wave-effect-program",factory:function(){return new vr({vert:hd,frag:Zo})}})}),this.patternEffect=new lu({uniforms:{uResolution:[this.width,this.height],uPatternSize:this.props.patternSize,uThreadSampler:this.patternTextureBinding,uPatternColor:rr(this.props.patternColor),uThreadOffset:[this.props.patternOffsetX,this.props.patternOffsetY],uThreadSpace:[this.props.patternSpaceX,this.props.patternSpaceY]},program:this.getProgram({key:"pattern-effect-program",factory:function(){return new vr({vert:hd,frag:Ti})}})}),this.composer.addPass(this.patternEffect),this.composer.addPass(this.waveEffect)}},{key:"createScene",value:function(){this.camera=new ro,this.scene=new Js,this.clearColor=rr(this.props.backgroundColor)}},{key:"createPhysics",value:function(){var j=this.props,Q=j.imageScale,he=j.imageCount,De=j.imageTint;this.physics=new If({quadProgram:this.imageQuadProgram,quadGeometry:this.quadGeometry,scene:this.scene,canvas:this.canvas,webglCanvas:this,textureBinding:this.textureBinding,imageScale:Q,imageCount:he,imageTint:rr(De)})}},{key:"loadImage",value:function(){var j,Q=this,he=this.props,De=he.presetImageKey,Ge=he.image,$e=he.customImage,at=(Ge==null?void 0:Ge.assetUrl)||($e==null?void 0:$e.assetUrl)||((j=an[De])===null||j===void 0?void 0:j.presetImageUrl);return at?Oc(at).then(function(pt){var Et=pt.naturalWidth,Ft=pt.naturalHeight;Q.physics.setImageRatio(Ft/Et),Q.texture.image=pt,Q.texture.needsUpdate=!0,Q.needsForceRender=!0}):Promise.resolve()}},{key:"loadPatternImage",value:function(){var j=this,Q=xs[this.props.patternImageKey],he=Q.patternImageUrl,De=Q.patternOffsetX,Ge=Q.patternOffsetY,$e=Q.patternSpaceX,at=Q.patternSpaceY;return he?Oc(he).then(function(pt){j.patternTexture.image=pt,j.patternTexture.needsUpdate=!0,j.patternEffect.uniforms.uThreadOffset[0]=De,j.patternEffect.uniforms.uThreadOffset[1]=Ge,j.patternEffect.uniforms.uThreadSpace[0]=$e,j.patternEffect.uniforms.uThreadSpace[1]=at,j.needsForceRender=!0}):Promise.resolve()}},{key:"updateEffects",value:function(){var j=this.props,Q=j.patternEnabled,he=j.patternColor,De=j.patternSize,Ge=j.patternImageKey,$e=j.waveEnabled,at=j.waveComplexity,pt=j.waveDepth,Et=j.waveShadowDepth,Ft=Q&&!!xs[Ge];this.useEffects=Ft||$e,this.patternEffect.enabled=Ft,this.patternEffect.renderToScreen=Ft&&!$e,this.patternEffect.uniforms.uPatternColor=rr(he),this.patternEffect.uniforms.uPatternSize=De,this.waveEffect.enabled=$e,this.waveEffect.renderToScreen=$e,this.waveEffect.uniforms.uFabricNoise=at*Tc,this.waveEffect.uniforms.uFabricNoiseStrength=pt*oi,this.waveEffect.uniforms.uFabricShadowDepth=Et*Ia}},{key:"updateAutoUpdate",value:function(){var j=this.props,Q=j.waveEnabled,he=j.waveSpeed;this.autoUpdate=!!(Q&&he)}},{key:"onUpdateProps",value:function(j){var Q,he,De,Ge,$e=hf(this.props,j);$e("imageCount")&&this.physics.setCount(this.props.imageCount),$e("imageScale")&&this.physics.setScale(this.props.imageScale),$e("imageTint")&&this.physics.setImageTint(rr(this.props.imageTint)),$e("backgroundColor")&&(this.clearColor=rr(this.props.backgroundColor)),($e(["presetImageKey","image","customIMage"])||((Q=this.props.image)===null||Q===void 0?void 0:Q.assetUrl)!==((he=j.image)===null||he===void 0?void 0:he.assetUrl)||((De=this.props.customImage)===null||De===void 0?void 0:De.assetUrl)!==((Ge=j.customImage)===null||Ge===void 0?void 0:Ge.assetUrl))&&this.loadImage(),($e("patternImageKey")||this.props.patternEnabled&&!j.patternEnabled)&&this.loadPatternImage(),this.updateEffects(),this.updateAutoUpdate(),this.refresh()}},{key:"update",value:function(j){this.isReady&&(this.physics.update(j),(this.needsForceRender||this.physics.needsRender())&&(ml(this.scene),this.isDirty=!0),this.props.waveEnabled&&this.props.waveSpeed?this.waveEffect.uniforms.uTime+=.016*(this.props.waveSpeed*.01):this.waveEffect.uniforms.uTime=0)}},{key:"render",value:function(){this.isReady&&(this.useEffects?this.renderWithEffects():this.renderScene())}},{key:"renderWithEffects",value:function(){this.composer.inputRenderTarget||this.refresh(),Pf(this.renderer,this.composer.inputRenderTarget),Ve(this.renderer.state,[0,0,0,0]),fe(this.renderer),this.renderScene(),this.composer.render()}},{key:"renderScene",value:function(){this.renderer.state.enable(Cc),qs(this.renderer.state,Rf),Cs(this.renderer.state,md,gd),ff(this.renderer,this.scene,this.camera)}},{key:"onRefresh",value:function(){var j=this.width,Q=this.height;$u({camera:this.camera,x:0,y:0,width:j,height:Q}),this.physics.resize(j,Q),this.composer.setSize(Sn(j),Sn(Q))}},{key:"onDetach",value:function(){this.physics.destroyMouse()}},{key:"onAttach",value:function(){this.physics.createMouse()}}]),M}(ze);a()(Sa,"defaultProps",{backgroundColor:"#cccccc",presetImageKey:"",image:null,imageTint:"#ffffff",imageCount:1,imageScale:0,patternEnabled:!1,patternColor:"#aaaaaa",patternSize:16,patternImageKey:"",patternOffsetX:0,patternOffsetY:0,patternSpaceX:0,patternSpaceY:0,waveEnabled:!1,waveSpeed:0,waveComplexity:0,waveDepth:0,waveShadowDepth:0});function xc(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.width,M=D===void 0?1:D,U=w.height,j=U===void 0?1:U,Q=w.depth,he=Q===void 0?1:Q,De=w.widthSegments,Ge=De===void 0?1:De,$e=w.heightSegments,at=$e===void 0?1:$e,pt=w.depthSegments,Et=pt===void 0?1:pt,Ft=w.sides,yn=Ft===void 0?{top:!0,bottom:!0,left:!0,right:!0,front:!0,back:!0}:Ft,Cn=w.position,bn=Cn===void 0?_i:Cn,Vn=w.normal,$n=Vn===void 0?Gs:Vn,Rn=w.uv,On=Rn===void 0?hs:Rn,Pn=new ha,Nn=[],mi=[],ba=[],ka=[],yr=0,Fi=function(lo,al,Mo,ol,ns,yi,Ln,Ls,Ii,Do){for(var Ld=yi/Ii,ir=Ln/Do,Nd=yi*.5,Zf=Ln*.5,rs=Ls*.5,Lo=Ii+1,ev=Do+1,Dl=yr,Vc=0;Vc0?1:-1,ba[yr*2]=Ll/Ii,ba[yr*2+1]=1-Vc/Do,yr++}for(var Ns=0;Ns0&&arguments[0]!==void 0?arguments[0]:{},D=w.batch,M=D===void 0?null:D,U=w.attributeName,j=U===void 0?"":U,Q=w.itemSize,he=Q===void 0?4:Q,De=w.usage,Ge=De===void 0?mn:De,$e=w.factory,at=$e===void 0?null:$e,pt=new Float32Array(M.repeatCount*M.sourceVertexCount*he);if(Vr(M,j,new Kr({array:pt,itemSize:he,usage:Ge})),at)for(var Et=[],Ft=0;Ft x0.y ? 1.0 : 0.0\n //i1.y = 1.0 - i1.x;\n i1 = (x0.x > x0.y) ? vec2(1.0, 0.0) : vec2(0.0, 1.0);\n // x0 = x0 - 0.0 + 0.0 * C.xx ;\n // x1 = x0 - i1 + 1.0 * C.xx ;\n // x2 = x0 - 1.0 + 2.0 * C.xx ;\n vec4 x12 = x0.xyxy + C.xxzz;\n x12.xy -= i1;\n\n// Permutations\n i = mod289_1976991360(i); // Avoid truncation effects in permutation\n vec3 p = permute_1976991360( permute_1976991360( i.y + vec3(0.0, i1.y, 1.0 ))\n + i.x + vec3(0.0, i1.x, 1.0 ));\n\n vec3 m = max(0.5 - vec3(dot(x0,x0), dot(x12.xy,x12.xy), dot(x12.zw,x12.zw)), 0.0);\n m = m*m ;\n m = m*m ;\n\n// Gradients: 41 points uniformly over a line, mapped onto a diamond.\n// The ring size 17*17 = 289 is close to a multiple of 41 (41*7 = 287)\n\n vec3 x = 2.0 * fract(p * C.www) - 1.0;\n vec3 h = abs(x) - 0.5;\n vec3 ox = floor(x + 0.5);\n vec3 a0 = x - ox;\n\n// Normalise gradients implicitly by scaling m\n// Approximation of: m *= inversesqrt( a0*a0 + h*h );\n m *= 1.79284291400159 - 0.85373472095314 * ( a0*a0 + h*h );\n\n// Compute final noise value at P\n vec3 g;\n g.x = a0.x * x0.x + h.x * x0.y;\n g.yz = a0.yz * x12.xz + h.yz * x12.yw;\n return 130.0 * dot(m, g);\n}\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec3 aGridPosition;\n\nuniform float uTime;\n\nuniform float uGridSize;\nuniform vec3 uScale;\nuniform float uEdgeWeight;\n\nuniform float uNoiseScale;\nuniform vec2 uNoiseClamp;\n\nuniform float uNoisePositionFactor;\nuniform float uNoiseScaleFactor;\n\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec3 vNormal;\nvarying float vNoiseFract;\n\nfloat map(float value, float inMin, float inMax, float outMin, float outMax) {\n return outMin + (outMax - outMin) * (value - inMin) / (inMax - inMin);\n}\n\nvoid main() {\n vec2 uv = ((aGridPosition.xz + (aPosition.xz * uScale.xz) * uEdgeWeight) / uGridSize) * uNoiseScale;\n float noiseValue = 0.0;\n\n noiseValue += snoise2(uv + vec2(uTime));\n noiseValue += snoise2(uv + vec2(sin(uTime), cos(uTime)));\n noiseValue *= 0.5;\n noiseValue = clamp(noiseValue, uNoiseClamp.x, uNoiseClamp.y);\n\n float noiseFract = map(noiseValue, uNoiseClamp.x, uNoiseClamp.y, 0.0, 1.0);\n\n float scaleFactor = 1.0 - noiseFract * uNoiseScaleFactor;\n\n vec3 position = (aPosition * uScale * scaleFactor) + aGridPosition;\n\n position.y += noiseValue * uNoisePositionFactor;\n\n gl_Position = uProjectionMatrix * uViewMatrix * vec4(position, 1.0);\n\n vNormal = aNormal;\n vNoiseFract = noiseFract;\n}\n",qu="\nuniform vec3 uLightColor;\nuniform vec3 uShadowColor;\nuniform float uLightIntensity;\nuniform vec3 uLightPosition;\n\nuniform float uNoiseColorFactor;\n\nvarying vec3 vNormal;\nvarying float vNoiseFract;\n\nvoid main() {\n vec3 normal = normalize(vNormal);\n\n float lightFactor = dot(normal, uLightPosition) * uLightIntensity;\n float noiseFactor = 1.0 - (1.0 - vNoiseFract) * uNoiseColorFactor;\n\n vec3 color = mix(uShadowColor, uLightColor, lightFactor * noiseFactor);\n\n gl_FragColor = vec4(color, 1.0);\n}\n";function Zr(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function fu(w){for(var D=1;Dhe?(De=this.viewSize,Ge=this.viewSize*(he/Q)):(De=this.viewSize*(Q/he),Ge=this.viewSize),xi({camera:this.camera,width:De,height:Ge,yUp:!0})}},{key:"onDestroy",value:function(){this.renderer.onContextCreate.remove(this.onContextCreate)}},{key:"getColors",value:function(){var j=rr(this.props.startColor),Q=rr(this.props.endColor);return this.props.invertColors?[Q,j]:[j,Q]}}]),M}(ze);a()(xl,"defaultProps",{boxSize:1,scaleX:0,scaleY:0,scaleZ:0,isMorphEnabled:!1,startColor:"#F08E80",endColor:"#0B0D63",invertColors:!1,lightIntensity:100,lightX:0,lightY:0,lightZ:0,speed:0,noiseScale:100,noiseRange:100,positionFactor:1,scaleFactor:0,colorFactor:1});function Il(){for(var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.width,M=D===void 0?2:D,U=w.height,j=U===void 0?2:U,Q=w.widthSegments,he=Q===void 0?1:Q,De=w.heightSegments,Ge=De===void 0?1:De,$e=w.position,at=$e===void 0?_i:$e,pt=w.normal,Et=pt===void 0?Gs:pt,Ft=w.uv,yn=Ft===void 0?hs:Ft,Cn=new ha,bn=[],Vn=[],$n=[],Rn=[],On=0,Pn=Math.floor(he)||1,Nn=Math.floor(Ge)||1,mi=Pn+1,ba=Nn+1,ka=M/Pn,yr=j/Nn,Fi=M*.5,il=j*.5,lo=0;lo0&&arguments[0]!==void 0?arguments[0]:{},D=w.radiusTop,M=D===void 0?1:D,U=w.radiusBottom,j=U===void 0?1:U,Q=w.height,he=Q===void 0?1:Q,De=w.radialSegments,Ge=De===void 0?128:De,$e=w.heightSegments,at=$e===void 0?1:$e,pt=w.thetaStart,Et=pt===void 0?0:pt,Ft=w.thetaLength,yn=Ft===void 0?Math.PI*2:Ft,Cn=w.openEnded,bn=Cn===void 0?!0:Cn,Vn=w.position,$n=Vn===void 0?"aPosition":Vn,Rn=w.normal,On=Rn===void 0?"aNormal":Rn,Pn=w.uv,Nn=Pn===void 0?"aUv":Pn,mi=new ha,ba=[],ka=[],yr=[],Fi=[],il=0,lo=[],al=he/2,Mo=[0,0,0],ol=[0,0,0],ns=(j-M)/he,yi=0;yi<=at;yi++){for(var Ln=[],Ls=yi/at,Ii=Ls*(j-M)+M,Do=0;Do<=Ge;Do++){var Ld=Do/Ge,ir=Ld*yn+Et,Nd=Math.sin(ir),Zf=Math.cos(ir);Mo[0]=Ii*Nd,Mo[1]=-Ls*he+al,Mo[2]=Ii*Zf,ba.push.apply(ba,Mo),$r.set(ol,Nd,ns,Zf),$r.normalize(ol,ol),ka.push.apply(ka,ol),yr.push(Ld,1-Ls),Ln.push(il++)}lo.push(Ln)}for(var rs=0;rs0&&Ll(!0),j>0&&Ll(!1)),$n&&Vr(mi,$n,new Kr({array:new Float32Array(ba),itemSize:3})),On&&Vr(mi,On,new Kr({array:new Float32Array(ka),itemSize:3})),Nn&&Vr(mi,Nn,new Kr({array:new Float32Array(yr),itemSize:2})),Oo(mi,new Uint16Array(Fi)),mi},wa=e(57504),la=e.n(wa),Sd=e(907223),Uc=e.n(Sd),Uf=e(676727),bd=e.n(Uf),Ms=e(792350),Ff=e.n(Ms),Bf=e(186375),Ds=e.n(Bf),du={identity:la(),scale:Uc(),translate:bd(),rotateX:Ff(),rotateY:Ds()},vu='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author: Stefan Gustavson (stefan.gustavson@liu.se)\n// Version: 2011-10-11\n//\n// Many thanks to Ian McEwan of Ashima Arts for the\n// ideas for permutation and gradient selection.\n//\n// Copyright (c) 2011 Stefan Gustavson. All rights reserved.\n// Distributed under the MIT license. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_2879176051(vec3 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2879176051(vec4 x)\n{\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2879176051(vec4 x)\n{\n return mod289_2879176051(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2879176051(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_2879176051(vec3 t) {\n return t*t*t*(t*(t*6.0-15.0)+10.0);\n}\n\n// Classic Perlin noise\nfloat snoise(vec3 P)\n{\n vec3 Pi0 = floor(P); // Integer part for indexing\n vec3 Pi1 = Pi0 + vec3(1.0); // Integer part + 1\n Pi0 = mod289_2879176051(Pi0);\n Pi1 = mod289_2879176051(Pi1);\n vec3 Pf0 = fract(P); // Fractional part for interpolation\n vec3 Pf1 = Pf0 - vec3(1.0); // Fractional part - 1.0\n vec4 ix = vec4(Pi0.x, Pi1.x, Pi0.x, Pi1.x);\n vec4 iy = vec4(Pi0.yy, Pi1.yy);\n vec4 iz0 = Pi0.zzzz;\n vec4 iz1 = Pi1.zzzz;\n\n vec4 ixy = permute_2879176051(permute_2879176051(ix) + iy);\n vec4 ixy0 = permute_2879176051(ixy + iz0);\n vec4 ixy1 = permute_2879176051(ixy + iz1);\n\n vec4 gx0 = ixy0 * (1.0 / 7.0);\n vec4 gy0 = fract(floor(gx0) * (1.0 / 7.0)) - 0.5;\n gx0 = fract(gx0);\n vec4 gz0 = vec4(0.5) - abs(gx0) - abs(gy0);\n vec4 sz0 = step(gz0, vec4(0.0));\n gx0 -= sz0 * (step(0.0, gx0) - 0.5);\n gy0 -= sz0 * (step(0.0, gy0) - 0.5);\n\n vec4 gx1 = ixy1 * (1.0 / 7.0);\n vec4 gy1 = fract(floor(gx1) * (1.0 / 7.0)) - 0.5;\n gx1 = fract(gx1);\n vec4 gz1 = vec4(0.5) - abs(gx1) - abs(gy1);\n vec4 sz1 = step(gz1, vec4(0.0));\n gx1 -= sz1 * (step(0.0, gx1) - 0.5);\n gy1 -= sz1 * (step(0.0, gy1) - 0.5);\n\n vec3 g000 = vec3(gx0.x,gy0.x,gz0.x);\n vec3 g100 = vec3(gx0.y,gy0.y,gz0.y);\n vec3 g010 = vec3(gx0.z,gy0.z,gz0.z);\n vec3 g110 = vec3(gx0.w,gy0.w,gz0.w);\n vec3 g001 = vec3(gx1.x,gy1.x,gz1.x);\n vec3 g101 = vec3(gx1.y,gy1.y,gz1.y);\n vec3 g011 = vec3(gx1.z,gy1.z,gz1.z);\n vec3 g111 = vec3(gx1.w,gy1.w,gz1.w);\n\n vec4 norm0 = taylorInvSqrt_2879176051(vec4(dot(g000, g000), dot(g010, g010), dot(g100, g100), dot(g110, g110)));\n g000 *= norm0.x;\n g010 *= norm0.y;\n g100 *= norm0.z;\n g110 *= norm0.w;\n vec4 norm1 = taylorInvSqrt_2879176051(vec4(dot(g001, g001), dot(g011, g011), dot(g101, g101), dot(g111, g111)));\n g001 *= norm1.x;\n g011 *= norm1.y;\n g101 *= norm1.z;\n g111 *= norm1.w;\n\n float n000 = dot(g000, Pf0);\n float n100 = dot(g100, vec3(Pf1.x, Pf0.yz));\n float n010 = dot(g010, vec3(Pf0.x, Pf1.y, Pf0.z));\n float n110 = dot(g110, vec3(Pf1.xy, Pf0.z));\n float n001 = dot(g001, vec3(Pf0.xy, Pf1.z));\n float n101 = dot(g101, vec3(Pf1.x, Pf0.y, Pf1.z));\n float n011 = dot(g011, vec3(Pf0.x, Pf1.yz));\n float n111 = dot(g111, Pf1);\n\n vec3 fade_xyz = fade_2879176051(Pf0);\n vec4 n_z = mix(vec4(n000, n100, n010, n110), vec4(n001, n101, n011, n111), fade_xyz.z);\n vec2 n_yz = mix(n_z.xy, n_z.zw, fade_xyz.y);\n float n_xyz = mix(n_yz.x, n_yz.y, fade_xyz.x);\n return 2.2 * n_xyz;\n}\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec2 aUv;\n\nuniform vec3 uCurve;\n\nuniform mat4 uModelMatrix;\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying vec2 vUv;\n\nfloat easeCubicOut(float t) {\n float f = t - 1.0;\n return f * f * f + 1.0;\n}\n\nfloat easeCubicIn(float t) {\n return t * t * t;\n}\n\nfloat easeExpoIn(float p) {\n return pow(2.0, 10.0 * (p - 1.0));\n}\n\nvoid main() {\n vec3 position = aPosition;\n float p = -(position.y - 0.5);\n\n position.xz *= 1.0 - easeCubicOut(p) * uCurve.z;\n position.xz += uCurve.xy * easeCubicIn(p);\n\n vUv = aUv;\n\n gl_Position = uProjectionMatrix * uViewMatrix * uModelMatrix * vec4(position, 1.0);\n}\n',Od="\n//\n// Description : Array and textureless GLSL 2D/3D/4D simplex\n// noise functions.\n// Author : Ian McEwan, Ashima Arts.\n// Maintainer : ijm\n// Lastmod : 20110822 (ijm)\n// License : Copyright (C) 2011 Ashima Arts. All rights reserved.\n// Distributed under the MIT License. See LICENSE file.\n// https://github.com/ashima/webgl-noise\n//\n\nvec3 mod289_831717072(vec3 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_831717072(vec4 x) {\n return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_831717072(vec4 x) {\n return mod289_831717072(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_831717072(vec4 r)\n{\n return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nfloat cnoise(vec3 v)\n {\n const vec2 C = vec2(1.0/6.0, 1.0/3.0) ;\n const vec4 D_831717072 = vec4(0.0, 0.5, 1.0, 2.0);\n\n// First corner\n vec3 i = floor(v + dot(v, C.yyy) );\n vec3 x0 = v - i + dot(i, C.xxx) ;\n\n// Other corners\n vec3 g_831717072 = step(x0.yzx, x0.xyz);\n vec3 l = 1.0 - g_831717072;\n vec3 i1 = min( g_831717072.xyz, l.zxy );\n vec3 i2 = max( g_831717072.xyz, l.zxy );\n\n // x0 = x0 - 0.0 + 0.0 * C.xxx;\n // x1 = x0 - i1 + 1.0 * C.xxx;\n // x2 = x0 - i2 + 2.0 * C.xxx;\n // x3 = x0 - 1.0 + 3.0 * C.xxx;\n vec3 x1 = x0 - i1 + C.xxx;\n vec3 x2 = x0 - i2 + C.yyy; // 2.0*C.x = 1/3 = C.y\n vec3 x3 = x0 - D_831717072.yyy; // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n i = mod289_831717072(i);\n vec4 p = permute_831717072( permute_831717072( permute_831717072(\n i.z + vec4(0.0, i1.z, i2.z, 1.0 ))\n + i.y + vec4(0.0, i1.y, i2.y, 1.0 ))\n + i.x + vec4(0.0, i1.x, i2.x, 1.0 ));\n\n// Gradients: 7x7 points over a square, mapped onto an octahedron.\n// The ring size 17*17 = 289 is close to a multiple of 49 (49*6 = 294)\n float n_ = 0.142857142857; // 1.0/7.0\n vec3 ns = n_ * D_831717072.wyz - D_831717072.xzx;\n\n vec4 j = p - 49.0 * floor(p * ns.z * ns.z); // mod(p,7*7)\n\n vec4 x_ = floor(j * ns.z);\n vec4 y_ = floor(j - 7.0 * x_ ); // mod(j,N)\n\n vec4 x = x_ *ns.x + ns.yyyy;\n vec4 y = y_ *ns.x + ns.yyyy;\n vec4 h = 1.0 - abs(x) - abs(y);\n\n vec4 b0 = vec4( x.xy, y.xy );\n vec4 b1 = vec4( x.zw, y.zw );\n\n //vec4 s0 = vec4(lessThan(b0,0.0))*2.0 - 1.0;\n //vec4 s1 = vec4(lessThan(b1,0.0))*2.0 - 1.0;\n vec4 s0 = floor(b0)*2.0 + 1.0;\n vec4 s1 = floor(b1)*2.0 + 1.0;\n vec4 sh = -step(h, vec4(0.0));\n\n vec4 a0 = b0.xzyw + s0.xzyw*sh.xxyy ;\n vec4 a1_831717072 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n vec3 p0_831717072 = vec3(a0.xy,h.x);\n vec3 p1 = vec3(a0.zw,h.y);\n vec3 p2 = vec3(a1_831717072.xy,h.z);\n vec3 p3 = vec3(a1_831717072.zw,h.w);\n\n//Normalise gradients\n vec4 norm = taylorInvSqrt_831717072(vec4(dot(p0_831717072,p0_831717072), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n p0_831717072 *= norm.x;\n p1 *= norm.y;\n p2 *= norm.z;\n p3 *= norm.w;\n\n// Mix final noise value\n vec4 m = max(0.6 - vec4(dot(x0,x0), dot(x1,x1), dot(x2,x2), dot(x3,x3)), 0.0);\n m = m * m;\n return 42.0 * dot( m*m, vec4( dot(p0_831717072,x0), dot(p1,x1),\n dot(p2,x2), dot(p3,x3) ) );\n }\n\n#define PI 3.141592653589793\n\nuniform float uScrollTime;\nuniform float uDistortionTime;\nuniform float uRotationTime;\n\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform vec3 uFogColor;\nuniform float uFogIntensity;\n\nuniform float uRepeat;\nuniform float uRotation;\nuniform vec2 uGradient;\nuniform vec2 uDistortionScale;\nuniform float uDistortionAmount;\nuniform float uNoiseAmount;\nuniform float uNoiseScale;\n\nvarying vec2 vUv;\n\nfloat map(float value, float min1, float max1, float min2, float max2) {\n return min2 + (value - min1) * (max2 - min2) / (max1 - min1);\n}\n\nvoid main() {\n vec2 coord = vUv;\n coord.x = (cos(coord.x * PI * 2.0));\n coord.y = (cos(coord.y - uScrollTime));\n\n float s = cnoise(vec3(coord * uDistortionScale, uDistortionTime));\n\n coord.xy += s * uDistortionAmount;\n\n float a = uRotation + uRotationTime;\n vec2 angle = vec2(cos(a), sin(a));\n\n float t = dot(vec2(0.5) - coord, angle) + 0.5;\n t = (cos((t) * uRepeat * PI) + 1.0) * 0.5;\n\n t += cnoise(vec3(gl_FragCoord.xy * vec2(uNoiseScale), uDistortionTime * 100.0)) * uNoiseAmount * 0.4;\n\n float gradient = clamp(\n map(t, uGradient.x, uGradient.y, 0.0, 1.0),\n 0.0,\n 1.0\n );\n\n vec3 color = mix(uColor2, uColor1, gradient);\n color = mix(color, uFogColor, smoothstep(0.0, 1.0, (1.0 - vUv.y) * uFogIntensity));\n\n gl_FragColor = vec4(color, 1.0);\n}\n",jf=function(D,M){var U=D.fov,j=D.aspect,Q=U*(Math.PI/180),he=2*Math.tan(Q/2)*M,De=he*j;return{width:De,height:he}};function zf(w){var D=Fc();return function(){var U=Nt()(w),j;if(D){var Q=Nt()(this).constructor;j=Reflect.construct(U,arguments,Q)}else j=U.apply(this,arguments);return Ct()(this,j)}}function Fc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Bc=10,Gf=function(w){mt()(M,w);var D=zf(M);function M(U,j){var Q;return s()(this,M),Q=D.call(this,U,j),a()(ln()(Q),"timer",new uo),a()(ln()(Q),"scrollSpeed",0),a()(ln()(Q),"rotationSpeed",0),a()(ln()(Q),"distortionSpeed",0),Q.isSupported?(Q.createResources(),Q.updateUniforms(),Q.updateAutoUpdate(),Q.refresh(),Q):Ct()(Q)}return v()(M,[{key:"createResources",value:function(){this.camera=new Jo({fov:80,near:1,far:1e3}),this.camera.position=[0,0,Bc],Xr(this.camera),this.modelMatrix=du.identity([]),this.drawInfo=Za({DrawInfoClass:dr,geometry:this.getGeometry({key:"conic-geometry",factory:function(){return ws({radiusTop:1,radiusBottom:0,height:1,heightSegments:100,openEnded:!0})}}),uniforms:{uScrollTime:0,uDistortionTime:0,uRotationTime:0,uModelMatrix:this.modelMatrix,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix},program:this.getProgram({key:"conic-program",factory:function(){return new vr({vert:vu,frag:Od})}})})}},{key:"updateAutoUpdate",value:function(){var j=this.props,Q=j.speed,he=j.rotationSpeed,De=j.distortionSpeed;this.autoUpdate=!(Q===0&&he===0&&De===0)}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var j=this.props,Q=j.curveX,he=j.curveY,De=j.curveFunnel,Ge=j.color1,$e=j.color2,at=j.color3,pt=j.fogIntensity,Et=j.repeat,Ft=j.speed,yn=j.rotation,Cn=j.rotationSpeed,bn=j.blur,Vn=j.distortionScaleX,$n=j.distortionScaleY,Rn=j.distortionIntensity,On=j.distortionSpeed,Pn=j.noiseIntensity,Nn=j.noiseScale;Object.assign(this.drawInfo.uniforms,{uCurve:[jt(Q,-100,100,-4,4),jt(he,-100,100,-4,4),jt(De,0,100,1,0)],uColor1:rr(Ge),uColor2:rr($e),uFogColor:rr(at),uFogIntensity:jt(pt,0,100,0,1),uRepeat:Et,uRotation:jt(yn,0,360,0,Math.PI*2),uGradient:[jt(bn,0,100,.5,0),jt(bn,0,100,.5,1)],uDistortionScale:[jt(Vn,0,100,0,4),jt($n,0,100,0,4)],uDistortionAmount:jt(Rn,0,100,0,.5),uNoiseAmount:jt(Pn,0,100,0,.5),uNoiseScale:jt(Nn,0,100,.6,.3)/this.pixelRatio}),this.scrollSpeed=jt(Ft,-100,100,-.15,.15),this.rotationSpeed=jt(Cn,-100,100,-.075,.075),this.distortionSpeed=jt(On,0,100,0,.075)}},{key:"update",value:function(j){var Q=this.timer.update(j)*.001;this.drawInfo.uniforms.uScrollTime+=Q*this.scrollSpeed,this.drawInfo.uniforms.uRotationTime+=Q*this.rotationSpeed,this.drawInfo.uniforms.uDistortionTime+=Q*this.distortionSpeed}},{key:"render",value:function(){this.renderer.state.enable(this.renderer.gl.DEPTH_TEST),Wi(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){var j=this.canvas,Q=j.width,he=j.height;this.camera.aspect=Q/he;var De=jf(this.camera,Bc),Ge=De.width,$e=De.height,at=Math.sqrt(Ge*Ge+$e*$e)*.5;du.identity(this.modelMatrix),du.translate(this.modelMatrix,this.modelMatrix,[0,0,Bc*-.5]),du.rotateX(this.modelMatrix,this.modelMatrix,Math.PI*.5),du.scale(this.modelMatrix,this.modelMatrix,[at,Bc,at]),Xi(this.camera)}}]),M}(ze);a()(Gf,"defaultProps",{curveX:0,curveY:0,curveFunnel:0,color1:"#d45071",color2:"#f8ba81",color3:"#ffffff",fogIntensity:0,repeat:1,speed:0,rotation:0,rotationSpeed:0,blur:0,distortionScaleX:0,distortionScaleY:0,distortionIntensity:0,distortionSpeed:0,noiseIntensity:0,noiseScale:0});function _d(w,D,M){var U=w.extensions.get(D);for(var j in M)w.gl[M[j]]=U[j].bind(U);return U}var Ad=_d;function hu(w){Ad(w,"ANGLE_instanced_arrays",{drawElementsInstancedANGLE:"drawElementsInstanced",drawArraysInstancedANGLE:"drawArraysInstanced",vertexAttribDivisorANGLE:"vertexAttribDivisor"})}var Wf=hu;function pu(w,D,M){for(var U=D*w.itemSize,j=0;jU/j?(pt=U*he/(j*Q),Et=1):(pt=1,Et=j*Q/(U*he));var Ft=(pt-1)/2*-1,yn=(Et-1)/2*-1,Cn=Ft+(Ge-.5)*Ft*2,bn=yn+(.5-at)*yn*2;return ki(M),Ys(M,M,[Cn,bn]),Hu(M,M,[pt,Et]),M}var Md=wd,Gc=e(528254),Wc=e.n(Gc),Dd="\nattribute vec3 aPosition;\nuniform mat3 uvMatrix;\nvarying vec2 vUv;\n\nvoid main(){\n gl_Position = vec4(aPosition, 1.);\n\n vec2 uv = gl_Position.xy * .5 + .5;\n\n vUv = (uvMatrix * vec3(uv, 1.)).xy;\n}\n",$f="\nuniform sampler2D uImage;\nvarying vec2 vUv;\n\nvoid main(){\n vec4 tx = texture2D(uImage, vUv);\n tx.xyz *= tx.a;\n\n gl_FragColor = tx;\n}\n";function Qf(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function mu(w){for(var D=1;D=0&&(Q=this.props.scrollProgress*.01),j!==Q){var he=Q-j;he<.01?this.uniforms.uProgress=Q:this.uniforms.uProgress=j+he*.1,this.isDirty=!0}}},{key:"onRefresh",value:function(){wo()(Nt()(M.prototype),"onRefresh",this).call(this),this.isImmediate=!0}}]),M}(qo);a()(q,"defaultProps",{intensity:0,rotation:0,zoomStart:0,zoomEnd:0,scrollProgress:-1});var ve=function(){return!!("ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch)}(),Be=ve,Ze={none:"none",mouse:"mouse",scroll:"scroll"},yt=function(){function w(D){var M=D.shiftUniform,U=D.props,j=D.node;s()(this,w),this.shiftUniform=M,this.props=U,this.node=j}return v()(w,[{key:"setProps",value:function(M){this.props=M}},{key:"setImmediate",value:function(){}},{key:"setIsIntersecting",value:function(){}},{key:"setScrollProgress",value:function(){}},{key:"update",value:function(){return this.shiftUniform[0]=0,this.shiftUniform[1]=0,!1}},{key:"destroy",value:function(){}}]),w}();function zt(w){var D=Kt();return function(){var U=Nt()(w),j;if(D){var Q=Nt()(this).constructor;j=Reflect.construct(U,arguments,Q)}else j=U.apply(this,arguments);return Ct()(this,j)}}function Kt(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(w){return!1}}var Bt=function(w){mt()(M,w);var D=zt(M);function M(){var U;s()(this,M);for(var j=arguments.length,Q=new Array(j),he=0;he=0&&(Ge=he*.01),De===Ge)return!1;var $e=Ge-De;return $e<.01?this.shiftUniform[1]=Ge:this.shiftUniform[1]=De+$e*(Q*.01),this.shiftUniform[0]=0,!0}}]),M}(yt),Tr,lt=(Tr={},a()(Tr,Ze.none,yt),a()(Tr,Ze.scroll,gn),a()(Tr,Ze.mouse,Bt),Tr),nt=function(D){return D===Ze.mouse&&Be?lt[Ze.scroll]:lt[D]},ht=nt,$t="\n#ifndef HALF_PI\n#define HALF_PI 1.5707963267948966\n#endif\n\nfloat easeOut(float t) {\n return sin(t * HALF_PI);\n}\n\nuniform vec4 uViewport;\nuniform sampler2D uImage;\nuniform float uCenterRadius;\nuniform float uMaxRings;\nuniform float uRingSize;\nuniform float uRotation;\nuniform float uScaleEven;\nuniform float uScaleOdd;\nuniform float uScaleTaperEven;\nuniform float uScaleTaperOdd;\nuniform float uShiftIntensity;\nuniform float uStepFlipRotation;\nuniform float uStepFlipX;\nuniform float uStepFlipY;\nuniform vec2 uResolution;\nuniform vec2 uShift;\nvarying vec2 vUv;\n\nvec2 rotate(vec2 uv, float amount) {\n vec2 prime = vec2(uv.x * cos(amount) + uv.y * sin(amount),\n -uv.x * sin(amount) + uv.y * cos(amount));\n return prime;\n}\n\nfloat getStep (vec2 uv) {\n return (floor(max(0.0, distance(uv, vec2(0.0)) - uCenterRadius) / uRingSize));\n}\n\nvec2 getFragCoord () {\n float scale = uResolution.x / uViewport.z;\n vec2 coord = gl_FragCoord.xy;\n coord.y -= uViewport.y;\n\n return coord * scale;\n}\n\nvoid main () {\n vec2 uv = vUv - 0.5;\n float aspect = uResolution.x / uResolution.y;\n vec2 stepCoord = (getFragCoord() / uResolution) - 0.5;\n\n float step = min(getStep(stepCoord * uResolution), uMaxRings);\n float isEven = mod(step, 2.0);\n float flipRotation = sign((1.0 - isEven + uStepFlipRotation) * 2.0 - 1.0);\n vec2 flipAxis = vec2(\n sign((1.0 - isEven + uStepFlipX) * 2.0 - 1.0),\n sign((1.0 - isEven + uStepFlipY) * 2.0 - 1.0)\n );\n float progress = easeOut((step + 1.0) / (uMaxRings + 1.0));\n float progressRotation = easeOut((step) / (uMaxRings));\n float rotation = progressRotation * (uRotation) * flipRotation;\n float scale = mix(uScaleOdd, uScaleEven, isEven);\n float taper = mix(uScaleTaperEven, uScaleTaperOdd, isEven);\n float taperScale = (1.0 - progress) * taper;\n vec2 shift = uShift * uShiftIntensity * progress;\n\n uv.x *= aspect;\n uv = rotate(uv, rotation);\n uv.x /= aspect;\n uv =\n (uv + shift) *\n flipAxis *\n scale *\n (1.0 + taperScale) +\n 0.5;\n\n vec4 tx = texture2D(uImage, mod(uv * -sign(mod(uv, 2.0) - 1.0), 1.0));\n tx.xyz *= tx.a;\n\n gl_FragColor = tx;\n}\n";function dn(w,D){var M=Object.keys(w);if(Object.getOwnPropertySymbols){var U=Object.getOwnPropertySymbols(w);D&&(U=U.filter(function(j){return Object.getOwnPropertyDescriptor(w,j).enumerable})),M.push.apply(M,U)}return M}function _n(w){for(var D=1;D3&&arguments[3]!==void 0?arguments[3]:{};s()(this,w),a()(this,"isPaused",!1),a()(this,"isIntersecting",!1),a()(this,"onIntersection",function(he){j.isIntersecting=he,j.updatePlayState(),j.instance.onIntersection&&j.instance.onIntersection(he),j.isIntersecting&&j.isPaused&&j.instance.renderFrame()}),a()(this,"setPaused",function(he){j.isPaused=he,j.updatePlayState()}),a()(this,"togglePaused",function(){j.setPaused(!j.isPaused)}),a()(this,"onResize",function(){j.instance.refresh()}),this.instance=new D(M,U),this.node=M,this.options=li(li({},w.defaultOptions),Q),this.options.reduceMotion===!0&&(this.isPaused=!0),this.bindListeners()}return v()(w,[{key:"bindListeners",value:function(){this.intersectionScroll=new fv.default(this.node,{onIntersection:this.onIntersection,onProgress:this.instance.onScrollProgress,normalize:this.options.normalizeScroll,windowRef:this.options.scrollWindowRef}),this.resizeObserver=new ResizeObserver(this.onResize),this.resizeObserver.observe(this.node)}},{key:"unbindListeners",value:function(){this.intersectionScroll.destroy(),this.resizeObserver.disconnect()}},{key:"detach",value:function(){this.unbindListeners(),this.instance.detach(),this.node=null}},{key:"attach",value:function(M){this.node=M,this.bindListeners(),this.instance.attach(M)}},{key:"updatePlayState",value:function(){if(this.isIntersecting&&!this.isPaused){this.instance.start();return}this.instance.stop()}},{key:"setProps",value:function(M){this.instance.setProps(M)}},{key:"refresh",value:function(){this.instance.refresh()}},{key:"destroy",value:function(){this.unbindListeners(),this.instance.destroy()}},{key:"props",get:function(){return this.instance.props}},{key:"autoUpdate",get:function(){return this.instance.autoUpdate}},{key:"isSupported",get:function(){return this.instance.isSupported}}]),w}();a()(nv,"defaultOptions",{scrollWindowRef:window,normalizeScroll:!0,reduceMotion:!1})},577626:function(){YUI.add("@sqs/yui-gallery/designs/autocolumns",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.autocolumns=y.Base.create("GalleryDesignAutocolumns",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{dimensions:null,initializer:function(){var c=this.get("host");c.get("container").addClass(this._getProperty("CONTAINER_CLASS")),c.get("slides").addClass(this._getProperty("SLIDE_CLASS")),c.plugLoaders(),this._evaluateBricks(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),c.get("slides")),this._bindUI(),this._syncUI(),this.get("mixedContent")&&c.get("slides").each(function(e,o){var n=e.test("img")?e:e.one("img");n?n.onceAfter("loaded",function(){e.addClass("positioned")},this):e.addClass("positioned")},this)},destructor:function(){var c=this.get("host");if(c){var e=c.get("container"),o=c.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),o&&o.removeClass(this._getProperty("SLIDE_CLASS"))}this._flushEvents()},_bindUI:function(){var c=this.get("host");c.after("refresh",this._syncUI,this);var e=new y.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),c.after("aspectRatioChange",function(o){this.set("aspectRatio",o.newVal),this._evaluateBricks(),this._syncUI()},this),c.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange","mixedContentChange"],function(o){this.set(o.attrName,o.newVal),this._syncUI()},this),c.after("lightboxChange",function(o){y.SQS.Gallery.Manager.lightboxify(o.newVal,c.get("slides"))},this)},_syncUI:function(){var c=this.get("host"),e=c.get("container").get("offsetWidth"),o=this.get("aspectRatio"),n=Math.min(this.get("gutter"),this.get("columnWidth")),i=this.get("mixedContent"),t=this.get("columnWidthBehavior")==="min"?"floor":"ceil",r=Math[t](e/this.get("columnWidth"));r=Math.max(r,1);for(var s=n*(r-1),d=(e-s)/r,v=Math.floor(d),u=[],a=0;a0}},gutter:{value:0},aspectRatio:{value:0},mixedContent:{value:!1},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/rendering"]})},751611:function(){YUI.add("@sqs/yui-gallery/designs/autogrid",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.autogrid=y.Base.create("GalleryDesignAutoGrid",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var c=this.get("host");c.get("container").addClass(this._getProperty("CONTAINER_CLASS")),c.get("slides").addClass(this._getProperty("SLIDE_CLASS")),c.plugLoaders(),this._processImages(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),c.get("slides")),this._bindUI(),this._syncUI()},_bindUI:function(){var c=this.get("host");c.after("refresh",this._syncUI,this);var e=new y.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),c.after("aspectRatioChange",function(o){this.set("aspectRatio",o.newVal),this._processImages(),this._syncUI()},this),c.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange"],function(o){this.set(o.attrName,o.newVal),this._syncUI()},this),c.after("lightboxChange",function(o){y.SQS.Gallery.Manager.lightboxify(o.newVal,c.get("slides"))},this)},destructor:function(){var c=this.get("host");if(c){var e=c.get("container"),o=c.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),o&&(o.removeClass(this._getProperty("SLIDE_CLASS")),o.setStyles({width:null,marginBottom:null,marginRight:null,clear:null})),c.getImages().each(function(n){n.get("parentNode").test(".img-wrapper")&&n.unwrap(),n.setStyle("position",null)})}this._flushEvents()},_syncUI:function(){var c=this.get("host"),e=c.get("container").get("offsetWidth"),o=this.get("gutter"),n=this.get("columnWidthBehavior")==="min"?"floor":"ceil",i=Math[n](e/this.get("columnWidth"));i=Math.max(i,1);var t=o*(i-1),r=(e-t)/i;c.get("slides").each(function(s,d){var v=d%i;s.setStyles({width:100*r/e+"%",marginBottom:100*o/e+"%",marginRight:v===i-1?0:100*o/e+"%",clear:v===0?"left":null}).addClass("positioned")},this),c.get("container").setStyle("marginBottom",-100*o/e+"%"),y.later(1,this,this.loadItems)},_processImages:function(){var c=this.get("host"),e=this.get("aspectRatio");e?(c.getImages("image").each(function(o){o.get("parentNode").test(".img-wrapper")||o.wrap('
'),o.get("parentNode").setStyle("paddingBottom",100/e+"%")}),c.getSlides("video").each(function(o){o.one(".sqs-video-wrapper").videoloader.set("mode","none");var n=o.one(".intrinsic-inner");n&&o.one(".intrinsic-inner").setStyle("paddingBottom",100/e+"%")})):c.getImages("image").each(function(o){o.get("parentNode").test(".img-wrapper")&&o.unwrap(),o.setStyle("position",null)})},_getProperty:function(c){return this.constructor[c]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autogrid",SLIDE_CLASS:"sqs-gallery-design-autogrid-slide",ATTRS:{columnWidthBehavior:{value:"min"},columnWidth:{value:250},gutter:{value:0},aspectRatio:{value:0},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sqs/yui-gallery/resize-emitter"]})},447530:function(){YUI.add("@sqs/yui-gallery/designs/autorows",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.autorows=y.Base.create("GalleryDesignAutoRows",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var c=this.get("host");c.get("container").addClass(this._getProperty("CONTAINER_CLASS")),c.get("slides").addClass(this._getProperty("SLIDE_CLASS")),c.plugLoaders(),this._evaluateRatios(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),c.get("slides")),this._bindUI(),this._syncUI()},destructor:function(){var c=this.get("host");if(c){var e=c.get("container"),o=c.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),o&&(o.removeClass(this._getProperty("SLIDE_CLASS")),o.setStyles({height:null,width:null,marginRight:null,marginBottom:null}))}this._flushEvents()},_bindUI:function(){var c=this.get("host");c.after("refresh",this._syncUI,this),c.after(["rowHeightChange","gutterChange"],function(e){this.set(e.attrName,e.newVal),this._syncUI()},this),c.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,c.get("slides"))},this)},_syncUI:function(){var c=this.get("host"),e=c.get("container").get("offsetWidth"),o=this.get("gutter"),n=this.get("rowHeight"),i=new y.NodeList,t=0,r=0,s=function(d,v){var u=0;d.each(function(a,l){var p=a.one(".sqs-video-wrapper, img"),h=Math.floor(p.getData("aspectRatio")*v),g=l===d.size()-1;g&&(h=e-u),a.setStyles({height:v+"px",width:h+"px",marginRight:g?0:o+"px",marginBottom:o+"px"}),u+=o+h})};c.get("slides").each(function(d){var v=d.one(".sqs-video-wrapper, img"),u=v.getData("aspectRatio")*n;if(u+t>e){var a=n+(e-t)/r;s(i,a),t=0,r=0,i=new y.NodeList}r+=v.getData("aspectRatio"),t+=o+u,i.push(d)}),s(i,n),y.later(1,this,this.loadItems)},_evaluateRatios:function(){var c=this.get("host");c.get("slides").each(function(e){var o=e.one(".sqs-video-wrapper, img"),n=o.test(".sqs-video-wrapper"),i;n?i={width:o.videoloader.getWidth(),height:o.videoloader.getHeight()}:i=y.SQS.Gallery.Rendering.getDimensionsFromNode(o),o.setData("aspectRatio",i.width/i.height)})},_getProperty:function(c){return this.constructor[c]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autorows",SLIDE_CLASS:"sqs-gallery-design-autorows-slide",ATTRS:{rowHeight:{value:250},gutter:{value:20},lightbox:{value:!0}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo","@sqs/yui-gallery/rendering"]})},405255:function(){YUI.add("@sqs/yui-gallery/designs/base",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.base=y.Base.create("GalleryDesignBase",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){this.get("host").after("currentIndexChange",function(){this.get("host").syncUI()},this),this.get("host").plugLoaders(),this.loadItems(),this.get("host").syncUI()},destructor:function(){},_getProperty:function(c){return this.constructor[c]}},{NS:"gallery-design",ATTRS:{}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},614439:function(y,c,e){var o=e(295378).containFocus;YUI.add("@sqs/yui-gallery/designs/carousel",function(n){n.namespace("SQS.Gallery.Designs"),n.SQS.Gallery.Designs.carousel=n.Base.create("GalleryDesignCarousel",n.Plugin.Base,[n.SQS.Gallery.GismoBase,n.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var i=this.get("host"),t=i.get("slides");i.get("container").addClass(this._getProperty("CONTAINER_CLASS")),t.addClass(this._getProperty("SLIDE_CLASS")),i.plugLoaders(),this._processImages(),i.loadImages(i.getImages()),this.get("lightbox")&&n.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),t),this._bindUI(),this._syncUI()},destructor:function(){this._resizeEvent&&this._resizeEvent.detach(),this._indexChangeEvent&&this._indexChangeEvent.detach(),this._resizeEvent=null,this._indexChangeEvent=null},_bindUI:function(){this._indexChangeEvent=this.get("host").after("currentIndexChange",function(t){this._moveCarousel(t),this._updateControls()},this),this._resizeEvent=n.on("windowresize",function(){this._syncUI()},n.config.win,this);var i=this.get("host");i.after("lightboxChange",function(t){n.SQS.Gallery.Manager.lightboxify(t.newVal,i.get("slides"))},this)},_syncUI:function(){this._updateCarousel(),this._updateControls()},_updateCarousel:function(){var i=this.get("currentGroup")*this.get("slidesPerRow");this.set("slidesPerRow",this._getSlidesPerRow()),this._setSlideStyles();var t=Math.round(i/this.get("slidesPerRow")),r=this.get("totalGroups");t>=r?this.goToGroup(r-1):this.goToGroup(t)},_getSlidesPerRow:function(){var i=this.get("slidesPerRowOriginal");return n.config.win.innerWidth<480&&i>1?2:n.config.win.innerWidth<724&&i>2?3:i},_setSlideStyles:function(){var i=this.get("host"),t=i.get("container"),r=this.get("slidesPerRow"),s=this.get("gutter"),d=this._getProperty("CONTAINER_CLASS")+"-slides-in-view-";t.removeClass(d+".*"),t.addClass(d+r);var v=s+"%";t.setStyle("marginLeft","-"+v),i.get("slides").setStyles({width:100/r+s/r+"%",paddingLeft:v,paddingRight:v})},_updateControls:function(){var i=this.get("host"),t=this.get("totalSlides")<=this.get("slidesPerRow");i.get("elements.previous").toggleClass("sqs-hidden",t).toggleClass("sqs-disabled",this.get("isFirstGroup")).setAttribute("aria-disabled",this.get("isFirstGroup")),i.get("elements.next").toggleClass("sqs-hidden",t).toggleClass("sqs-disabled",this.get("isLastGroup")).setAttribute("aria-disabled",this.get("isLastGroup"))},_moveCarousel:function(i){if(i.halt(),Math.abs(i.newVal-i.prevVal)>1){var t=Math.floor(i.newVal/this.get("slidesPerRow"));this.goToGroup(t);return}if(i.newVal>i.prevVal&&!this.get("isLastGroup")){this.goToNextGroup();return}i.newValu?s.nextSlide():s.previousSlide();break}},syncUI:function(t){var r=this.get("host");r.syncUI(),this.fire("transition",t||{newVal:r.get("currentIndex")}),this.loadItems(),this._positionMetaOverlay(),this._updateSlideTabbability()},_updateSlideTabbability:function(){var t=this.get("host"),r=t.get("container"),s=t.get("slides").item(t.get("currentIndex"));this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=o({predicate:function(d){return s._node.contains(d)},root:r._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},_positionMetaOverlay:function(){var t=this.get("host"),r=t.getCurrentSlide();if(r){var s=r.one("img");s||(s=r);var d=s.ancestor(".sqs-video-wrapper",!0);d&&(s=d,d.videoloader.on("showingVideoChange",function(l){r.toggleClass("video-playing",!!l.newVal)}));var v=r.one(".meta");if(v){var u=t.get("container"),a=n(u,"galleryOptions");if(a)switch(a["meta-position"]||"bottom"){case"top":case"bottom":v.setStyles({left:s.get("offsetLeft"),width:s.get("offsetWidth")});break;case"top-left":case"bottom-left":v.setStyles({left:s.get("offsetLeft"),maxWidth:s.get("offsetWidth")/2});break;case"top-right":case"bottom-right":v.setStyles({right:r.get("offsetWidth")-(s.get("offsetLeft")+s.get("offsetWidth")),maxWidth:s.get("offsetWidth")/2});break;case"center":v.setStyles({maxWidth:s.get("offsetWidth")/2}),v.setStyles({marginLeft:v.get("offsetWidth")/-2,marginTop:v.get("offsetHeight")/-2});break}v.get("scrollHeight")/u.get("offsetHeight")>.9?v.setStyle("height",u.get("offsetHeight")*.4).addClass("overflow"):v.setStyle("height",null).removeClass("overflow")}}},_calculateContainerHeight:function(){var t=this.get("host"),r=[],s=t.get("slides");s&&s.each(function(v){switch(t._slideType(v)){case"image":var u=v.test("img")?v:v.one("img");if(u){var a=i.SQS.Gallery.Rendering.getDimensionsFromNode(u),l=i.SQS.Gallery.Rendering.getHeightForWidth(a.width,a.height,v.get("offsetWidth"));isNaN(l)||r.push(l)}break;case"video":var p=v.one(".sqs-video-wrapper");if(!p)break;var h=p.videoloader;if(!h)break;var g=i.SQS.Gallery.Rendering.getHeightForWidth(h.getWidth(),h.getHeight(),v.get("offsetWidth"));isNaN(g)||r.push(g);break}},this);var d=t.get("container").get("offsetHeight");return r.length>0&&(d=Math.min.apply(Math.min,r)),d},_getProperty:function(t){return this.constructor[t]},_getTransition:function(t){if(t=i.SQS.Gallery.StackedTransitions[t],!t)throw new Error('Could not find transition named "'+t+'"');return t}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-stacked",SLIDE_CLASS:"sqs-gallery-design-stacked-slide",ATTRS:{autoHeight:{value:!0},clickBehavior:{value:"next"},easing:{value:i.Easing.easeOutStrong},speed:{value:1},preloadCount:{value:1},transition:{value:"fade",getter:"_getTransition"},transitionOptions:{value:{}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/designs/stacked/transitions","@sqs/yui-gallery/gismo","@sqs/yui-gallery/rendering","@sqs/yui-gallery/resize-emitter"]})},825633:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/base",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.base=y.Base.create("GalleryDesignStackedTransition",y.Plugin.Base,[y.SQS.Gallery.GismoBase],{baseZIndex:888,initializer:function(){this.get("host").get("host").get("slides").setStyles({opacity:0,zIndex:this.baseZIndex}),y.UA.ie&&this.get("host").get("host").get("slides").setStyles({visibility:"hidden"}),this.get("host").on("transition",this.transition,this)},_getProperty:function(c){return this.constructor[c]}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","plugin","@sqs/yui-gallery/gismo"]})},683367:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/fade",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.fade=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{transition:function(c){this.get("host").get("host").set("inMotion",!0);var e=c.newVal||this.get("host").get("host").get("currentIndex"),o=c.prevVal;if(y.Lang.isNumber(e)){var n=this.get("host").get("host").getSlides().item(e);n&&(n.setStyles({visibility:null,zIndex:this.baseZIndex+1}),this._anim(n,{opacity:1},{duration:this.get("host").get("speed"),easing:this.get("host").get("easing"),end:y.bind(function(){var t=this.get("host");if(t){var r=t.get("host");r&&r.set("inMotion",!1)}},this)}).run())}if(y.Lang.isNumber(o)){var i=this.get("host").get("host").getSlides().item(o);i&&(i.setStyles({zIndex:this.baseZIndex}),this._anim(i,{opacity:0},{duration:this.get("host").get("speed")*1.2,easing:this.get("host").get("easing"),end:y.bind(function(){var t=this.get("host");if(t){var r=t.get("host");r&&(r._currentSlide()!==i&&i.setStyles({visibility:"hidden",zIndex:null}),r.set("inMotion",!1))}},this)}).run())}}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base"]})},442998:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions",function(y){},"1.0",{requires:["@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/designs/stacked/transitions/fade","@sqs/yui-gallery/designs/stacked/transitions/ken-burns","@sqs/yui-gallery/designs/stacked/transitions/new-swipe","@sqs/yui-gallery/designs/stacked/transitions/scroll","@sqs/yui-gallery/designs/stacked/transitions/swipe"]})},806124:function(y,c,e){var o=e(153113);YUI.add("@sqs/yui-gallery/designs/stacked/transitions/ken-burns",function(n){n.namespace("SQS.Gallery.StackedTransitions"),n.SQS.Gallery.StackedTransitions.kenBurns=n.Base.create("GalleryDesignStackedTransition",n.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){Modernizr.csstransforms&&this.get("host").get("host").getImages().each(function(i){var t=i.getAttribute("data-image-focal-point");t=t.split(","),i.setStyles({transformOrigin:t[0]*100+"%"+t[1]*100+"%",transform:"translatez(0)"})})},transition:function(i){this.get("host").get("host").set("inMotion",!0);var t=i.newVal||this.get("host").get("host").get("currentIndex"),r=i.prevVal,s=n.Lang.isNumber(t)&&this.get("host").get("host").getSlides().item(t),d=n.Lang.isNumber(r)&&this.get("host").get("host").getSlides().item(r),v=this.get("host").get("speed");if(s){if(Modernizr.csstransforms){var u=s.one("img"),a=t%2===0?this.get("zoom"):1,l=t%2!==0?this.get("zoom"):1,p=this.get("host").get("host").get("autoplayOptions.timeout")/1e3+v,h=new o(function(g){var m=a+g*(l-a);u.setStyle("transform","scale("+m+")")},{duration:p*1e3,easing:"linear"});h.start()}s.setStyles({zIndex:this.baseZIndex+1}),s.anim({opacity:1},{from:{opacity:0},end:n.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run()}d&&(d.setStyles({zIndex:this.baseZIndex}),s.anim({opacity:1},{duration:v,from:{opacity:0},end:n.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run())}},{NS:"gallery-stacked-transition",ATTRS:{zoom:{value:1.075}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base"]})},329259:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/new-swipe",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.newSwipe=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this._host=this.get("host").get("host"),this._$container=this._host.get("container"),this._$items=this._host.get("slides"),this._$assets=new y.NodeList,this._$items.each(function(c){var e=c.one(".sqs-video-wrapper"),o=c.one("img");e?(e.plug(y.Squarespace.VideoLoader),this._$assets.push(e)):(ImageLoader.load(o),this._$assets.push(o))},this),this._setLayoutStyles(),this._bind()},transition:function(c){var e=this._host.get("currentIndex");c||(c={});var o=c.x||-1*(this._$items.item(0).get("clientWidth")*e)+"px",n=c.y||"0px";this._$container.setStyles({transform:"translate3d("+o+", "+n+", 0)"})},_setLayoutStyles:function(){this._$container.setStyles({whiteSpace:"nowrap",transition:"none"}),this._$items.setStyles({display:"inline-block",opacity:1,position:"relative"}),this._$assets.setStyles({cursor:"move"})},_bind:function(){var c={},e=0,o=[],n=5,i;this._$container.on("click",function(t){t.stopPropagation()}),this._$container.on(["mousedown","touchstart"],function(t){if(t.touches&&t.touches.length>1)return!1;t.halt(),c.target=t.target,c.initiated=!0,c.tap=!0,c.start={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},e=Date.now()},this),this._$container.on(["mousemove","touchmove"],function(t){if(!c.initiated)return!1;if(t.halt(),t.type=="mousemove"&&(i&&i.cancel&&i.cancel(),i=y.later(500,this,function(){this._$container.simulate("mouseup")})),c.tap=!1,c.end={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},!c.axis)Math.abs(Math.abs(c.end.x)-Math.abs(c.start.x))>10&&(c.axis="x"),Math.abs(Math.abs(c.end.y)-Math.abs(c.start.y))>10&&(c.axis="y");else{var r=this._getBoundaries(),s=this.get("boundaries"),d=c.start[c.axis]-c.end[c.axis],v=c.start.region.left,u=c.start.region.top,a=function(m){return s[m]=="none"||s[m]=="none"?1:.1},l=1,p=v-d;c.axis=="x"&&(p>-1*r.left&&(l=a("left"),c.boundaryBreach="left"),p<-1*r.right&&(l=a("right"),c.boundaryBreach="right")),c.axis=="y"&&(p<-1*r.top&&(l=a("top"),c.boundaryBreach="top"),p>-1*r.bottom&&(l=a("bottom"),c.boundaryBreach="bottom"));var h=v,g=u;c.axis=="x"?h=v-d*l:g=u-d*l,this._$container.setStyles({transform:"translate3d("+h+"px, "+g+"px, 0)"})}o.push({x:c.end.x,y:c.end.y,time:Date.now()}),o.length>n&&o.shift()},this),this._$container.on(["mouseup","touchend"],function(t){if(!c.initiated)return!1;if(t.halt(),o.length==n){var r=o[0],s=o[o.length-1],d=Math.abs(r[c.axis]-s[c.axis]),v=Math.abs(s.time-r.time);c.velocity=d/v}else c.velocity=0;c.end||(c.tap=!0,c.end={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()}),c.time=Date.now()-e,c.boundaryBreach&&this.get("boundaryBreachCallback")(c),this._dispatchSlideAction(c),c={},o=[]},this)},_getBoundaries:function(){var c=this._$container.getStyle("transform");this._$container.setStyle("transform","translate3d(0,0,0)");var e=this._$items.item(0).get("region"),o=this._$items.item(this._$items.size()-1).get("region"),n;return n={top:e.top,left:e.left,bottom:o.bottom-o.height,right:o.right-o.width},this._$container.setStyle("transform",c),n},_dispatchSlideAction:function(c){var e=this._host.get("currentIndex"),o=.7/c.velocity,n=y.config.win.innerWidth<767?.2:.3,i=y.config.win.innerWidth<767?.4:.5;if(oi&&(o=i),this._$container.setStyles({transition:"transform "+o+"s ease-out"}),y.later(o*1e3,this,function(){this._$container.setStyles({transition:"none"})}),c.axis=="x"){var t=Math.abs(Math.abs(c.start.x)-Math.abs(c.end.x));(t>this._$container.get("clientWidth")/2||c.velocity>1)&&(c.start.x>c.end.x?e0&&e--)}this._host.set("currentIndex",e)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-newswipe",WRAPPER_CLASS:"sqs-gallery-design-stacked-newswipe-wrapper",ATTRS:{boundaries:{value:{top:"inertial",right:"inertial",bottom:"inertial",left:"inertial"},validator:function(c){var e=!0;for(var o in c)if(c[o]!="none"&&c[o]!="hard"&&c[o]!="inertial"){e=!1;break}return e}},boundaryBreachCallback:{value:function(c){}},snapPoints:{value:{x:"100%",y:"none"},validator:function(c){var e=!!c.match(/%$/)&&!isNaN(parseFloat(c)),o=!!c.match(/none/);return e||o}}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener","squarespace-video-loader"]})},223493:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/scroll",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.scroll=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this.galleryHost=this.get("host").get("host"),this.container=this.galleryHost.get("container"),this.slides=this.galleryHost.get("slides"),this.containerWidth=this.container.get("parentNode").width(),this.container.addClass(this._getProperty("CONTAINER_CLASS")),this.slides.setStyles({opacity:1,visibility:"visible"}),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition(this._getCurrentSlidePosition()),this._event(new y.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",function(){this.containerWidth=this.container.get("parentNode").width(),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition(this._getCurrentSlidePosition())},this)),y.config.win.Modernizr&&y.config.win.Modernizr.touch&&(this.touchListener=null,this.touchStartPoint=null,this.touchListener=new y.SQS.Gallery.TouchEventListener(this.container,{move:!0,swipe:!0,preventDefaultTouchEvents:!1,preventDefaultGestureEvents:!0}),y.on("squarespace:ontouch",function(c){this._onTouch(c)},this))},destructor:function(){this.container&&(this.container.removeClass(this._getProperty("CONTAINER_CLASS")),this.container.setStyles({width:null,left:null})),this.touchListener&&this.touchListener.removeEventHandlers(),this._flushEvents()},transition:function(c){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition(this._getCurrentSlidePosition(),!0)},_getOffsetAttribute:function(){return this.get("direction")==="horizontal","offsetWidth"},_getContainerDim:function(){return this.get("host").get("host").get("container").get(this._getOffsetAttribute())},_getDirection:function(c,e){return c1)return;if(e.contains(o)&&!o.ancestor(".image-detail-wrapper, .sqs-video-wrapper"))switch(c.action){case y.SQS.Gallery.TouchEventListener.ActionTypes.swipeUp:y.fire("transition:scroll:swipeup",{container:e});break;case y.SQS.Gallery.TouchEventListener.ActionTypes.swipeDown:y.fire("transition:scroll:swipedown",{container:e});break;case y.SQS.Gallery.TouchEventListener.ActionTypes.tapped:y.fire("transition:scroll:tapped",c);break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchStart:this.touchStartPoint=c.point;break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchMove:this._scrollByDistance(c.point);break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd:this._finishScroll(c.point);break}}o.ancestor(".image-detail-wrapper, .sqs-video-wrapper")||this.get("allowPageScroll")||c.touchEvent.preventDefault()},_handleAnchors:y.throttle(function(c){c.getAttribute("target").match(/_blank/)?window.open(c.getAttribute("href")):window.location.href=c.getAttribute("href")}),_scrollByDistance:function(c){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.get("host").get("host"),o=e.get("slides"),n=e.get("currentIndex"),i=0;if(this.get("direction")=="vertical"?i=this.touchStartPoint.y-c.y:i=this.touchStartPoint.x-c.x,i>0&&n+1>=o.size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}else if(i<0&&n-1<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}this._adjustPosition(this._getCurrentSlidePosition()-i)}},_finishScroll:function(c){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.galleryHost,o=0,n=e.get("currentIndex");if(this.get("direction")==="vertical"?o=this.touchStartPoint.y-c.y:o=this.touchStartPoint.x-c.x,n=o>=0?n+1:n-1,n<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}else if(n>=e.get("slides").size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}this._adjustPosition(-1*this.containerWidth*n,!0,.4),e.set("inMotion",!1),e.set("currentIndex",n,{direction:o>0?1:-1})}},_adjustPosition:function(c,e,o){var n={},i=this.get("direction"),t=this.get("accelerate");t?n.transform=i==="vertical"?"translate3d(0,"+c+"px,0)":"translate3d("+c+"px,0,0)":n[i==="vertical"?"top":"left"]=c+"px",e?t?this.container.transition({duration:o||this.get("host").get("speed"),transform:n.transform,easing:o?y.Easing.easeInStrong:this.get("host").get("easing")}):(this.galleryHost.set("inMotion",!0),this._anim(this.container,n,{duration:o||this.get("host").get("speed"),easing:o?y.Easing.easeInStrong:this.get("host").get("easing")}).run().on("end",function(){this.galleryHost.set("inMotion",!1)},this)):this.container.setStyles(n)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-scrollHorz",ATTRS:{direction:{value:"horizontal"},accelerate:{valueFn:function(){return y.UA.mobile}},allowPageScroll:{value:!0}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener"]})},548380:function(){YUI.add("@sqs/yui-gallery/designs/stacked/transitions/swipe",function(y){y.namespace("SQS.Gallery.StackedTransitions"),y.SQS.Gallery.StackedTransitions.swipe=y.Base.create("GalleryDesignStackedTransition",y.SQS.Gallery.StackedTransitions.base,[],{initializer:function(){this.galleryHost=this.get("host").get("host"),this.container=this.galleryHost.get("container"),this.slides=this.galleryHost.get("slides"),this.container.addClass(this._getProperty("CONTAINER_CLASS")),this.container.get("parentNode").addClass(this._getProperty("WRAPPER_CLASS")),this.slides.setStyles({opacity:null,visibility:null}),this.bindUI(),this.syncUI(),this._event(new y.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",function(){this.syncUI()},this))},bindUI:function(){var c,e,o=this.container.get("parentNode").width()/2.25;this.container.on("touchstart",function(n){e=!1,c=new Date().getTime()}),this.container.on("touchmove",function(n){e=!0}),this.container.on("touchend",function(n){var i=this.container.get("parentNode").get("scrollLeft"),t=this.galleryHost.get("currentIndex"),r=this._getSlidePosition(t),s=Math.abs(r-i),d=new Date().getTime()-c>250;if(d===!0)s>o&&(i>r?t++:t--);else if(d===!1&&e===!1){if(!n.target.get("tagName").match(/img/i))return;t++}else e===!0&&s>0&&(i>r?t++:t--);this._adjustPosition(t)},this)},syncUI:function(){this.containerWidth=this.container.get("parentNode").width(),this.container.setStyle("width",this.slides.size()*this.containerWidth+"px"),this.slides.setStyle("width",this.containerWidth+"px"),this._adjustPosition()},transition:function(c){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition()},_getSlidePosition:function(c){return this.containerWidth*c},_adjustPosition:function(c){c=y.Lang.isUndefined(c)?this.galleryHost.get("currentIndex"):c;var e=this.container.get("parentNode").get("scrollLeft"),o=this._getSlidePosition(c);e!==o&&(this.galleryHost.set("inMotion",!0),new y.Anim({node:this.container.get("parentNode"),to:{scrollLeft:o},duration:.28,easing:y.Easing.easeOut}).run().on("end",function(){this.galleryHost.set("inMotion",!1),this.galleryHost.set("currentIndex",c)},this))},destructor:function(){this.container&&this.container.removeClass(this._getProperty("CONTAINER_CLASS")),this._flushEvents()}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-swipe",WRAPPER_CLASS:"sqs-gallery-design-stacked-swipe-wrapper",ATTRS:{}})},"1.0",{requires:["base","node","@sqs/yui-gallery/resize-emitter","@sqs/yui-gallery/designs/stacked/transitions/base"]})},493580:function(y,c,e){var o=e(295378).containFocus,n=e(546351),i=e(887570);function t(r,s){r.setAttribute("aria-current",s?"true":"false")}YUI.add("@sqs/yui-gallery/designs/strip",function(r){r.namespace("SQS.Gallery.Designs"),r.SQS.Gallery.Designs.strip=r.Base.create("GalleryDesignBase",r.Plugin.Base,[r.SQS.Gallery.GismoBase,r.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var s=this.get("host");s.get("container").addClass(this._getProperty("CONTAINER_CLASS")),s.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this._event(s.on("image-loaded",this._syncUIRefreshWrapperWidth,this)),this._event(s.on("refresh",this._syncUIRefreshWrapperWidth,this)),s.plugLoaders();var d=s.get("container").get("offsetHeight");s._slidesByType("video").each(this._initializeVideoSlide(d)),s.renderWrapper(),s.after("currentIndexChange",this.syncUI,this),this.syncUI(),this.bindUI()},destructor:function(){var s=this.get("host");if(s){var d=s.get("container");d&&d.removeClass(this._getProperty("CONTAINER_CLASS"));var v=s.get("slides");v&&v.removeClass(this._getProperty("SLIDE_CLASS"))}},_initializeVideoSlide:function(s){return function(d){var v=d.one(".sqs-video-wrapper");if(v){var u=v.videoloader,a=u.getWidth()/u.getHeight();v.setStyle("paddingRight",a*s),d.one("img")&&d.one("img").refresh()}}},syncUI:function(s){(!s||!s.calledFromParent)&&this.get("host").syncUI(),this._syncUIRefreshWrapperWidth(),this.loadItems()},_syncUIRefreshWrapperWidth:function(){var s=this.get("host"),d=s.get("container");if(d.hasClass("sqs.gallery-thumbnails")){var v=d.get("offsetHeight");d.all(".sqs-video-thumbnail").each(function(m){m.hasClass("no-image")&&m.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(v*(16/9))+"px"});var S=m.one("img");S&&(m.removeClass("loading"),m.setAttribute("style","width: "+S.get("offsetWidth")+"px !important"))})}var u=s._wrapperEl;u.setStyles({width:null});var a=0,l=0;s.get("slides").each(function(m,S){this.get("host").get("currentIndex")>S&&(l+=m.get("offsetWidth")),a+=m.get("offsetWidth")},this);var p=d.get("offsetWidth"),h=s._currentSlide();if(h){switch(this.get("alignment")){case"start":break;case"middle":l-=(p-h.get("offsetWidth"))/2,l<0&&(l=0);break;case"end":l-=p-h.get("offsetWidth"),l<0&&(l=0);break}aa-p&&(l=a-p)}u.setStyles({width:a*2});var g=this;this._anim(u,{left:-1*l},{duration:this.get("speed"),easing:this.get("easing"),start:function(){g.get("host").set("inMotion",!0)},end:function(){g.get("host").set("inMotion",!1),g._updateSlideTabbability()}}).run()},_updateSlideTabbability:function(){var s=this.get("host"),d=s.get("container");this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=o({predicate:function(v){return!i(v,d)},root:d._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},bindUI:function(){var s=this.get("host"),d=s.get("slides"),v=s._currentSlide();d.each(function(a,l){var p=s._slideType(a);p==="video"&&a!==v&&a.one(".sqs-video-wrapper").videoloader.set("inactive",!0),t(a,a===v),this._event(a.on("click",this._onClickSlide(a,l),this)),this._event(a.on("keydown",function(g){(g.keyCode===13||g.keyCode===32)&&this._onClickSlide(a,l).bind(this)(g)},this))},this),s.on("currentIndexChange",this._toggleVideoOnSlideChange,this),s.on("designOptionsChange",this._handleDesignOptionsChanged,this);var u=s.get("slides").item(this.get("currentIndex")||0);u&&u.addClass(this._getProperty("SLIDE_CLASS"))},_handleDesignOptionsChanged:function(s){if(s&&s.subAttrName&&s.subAttrName==="designOptions.alignment"){var d=n(s.newVal.alignment);this.set("alignment",d)}},_onClickSlide:function(s,d){return function(v){var u=this.get("host"),a=u._slideType(s);if(a==="video"){var l=s.one(".sqs-video-wrapper"),p=l?l.videoloader:null,h=p?p.get("inactive"):!0;if(!h)return}var g=v.target.getAttribute("data-click-through-url");if(g){v.preventDefault(),window.location.href=g;return}if(d===u.get("currentIndex"))switch(this.get("activeSlideClickBehavior")){case"next":u.nextSlide();break;case"previous":u.previousSlide();break;default:u.set("currentIndex",d);break}else{var m=u.get("slides");m.each(function(A,x){t(A,x===d)}),u.set("currentIndex",d)}var S=u._currentSlide(),_=u._slideType(S),C=u._currentSlide(),O=u._slideType(C);S!==C&&(_==="video"&&S.one(".sqs-video-wrapper").videoloader.set("inactive",!0),O==="video"&&(C.one(".sqs-video-wrapper").videoloader.set("inactive",!1),C===s&&C.one(".sqs-video-wrapper").videoloader.showVideo()))}},_toggleVideoOnSlideChange:function(s){var d=this.get("host"),v=d.get("slides"),u=v.item(s.prevVal),a=s.newVal<0?v.size()-1:s.newVal,l=v.item(a);d._slideType(u)==="video"&&u.one(".sqs-video-wrapper").videoloader.set("inactive",!0),d._slideType(l)==="video"&&l.one(".sqs-video-wrapper").videoloader.set("inactive",!1)},_getProperty:function(s){return this.constructor[s]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-strip",SLIDE_CLASS:"sqs-gallery-design-strip-slide",ATTRS:{speed:{value:.5},easing:{value:r.Easing.easeOutStrong},activeSlideClickBehavior:{value:"next"},preloadCount:{value:1},alignment:{value:"middle",validator:function(s){return["start","middle","end"].indexOf(s)!==-1}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/gismo"]})},249444:function(y,c,e){var o=e(477759),n=e(546351),i=5;YUI.add("@sqs/yui-gallery/manager",function(t){t.namespace("SQS.Gallery"),t.SQS.Gallery.Manager=function(){var r={ready:function(){this._galleries=[],this._imageQueue=new t.AsyncQueue,this._queueThrottleMax=this.isMobile()?1:16,this._queueThrottle=this._queueThrottleMax},getGalleries:function(){return this._galleries},makeGallery:function(s){var d=new t.SQS.Gallery.Gallery2(s);return this._galleries.push(d),d},destroyGallery:function(s){this._galleries=t.Array.filter(this._galleries,function(d){return d!==s}),this._galleries.length===0&&(this._queueThrottle=this._queueThrottleMax)},updateGallery:function(s){var d=s.get("contentBox"),v=d.one(".sqs-gallery");if(v){var u=v.getData("gallery");if(u){var a=s.get("model"),l=s.get("modelWhiteList"),p=a.getAttrs(l),h=this.dataToAttrs(p);switch(u.setAttrs(h),a.get("design")){case"grid":this.updateGridStyles(d,h,a._getDefaultContent);break;case"slideshow":this.updateSlideshowThumbnails(d,h);break}u.refresh()}}},_getDataFromNode:function(s){if(s.hasAttribute("data-block-json"))try{return JSON.parse(s.getAttribute("data-block-json"))}catch(d){return console.error("Error decoding gallery block data."),null}return o(s,"block")||null},getDesign:function(s){switch(s.design){case"stacked":return"base";case"slider":return"strip";case"slideshow":return"stacked";case"grid":return"grid";case"autogrid":return"autogrid";case"autocolumns":return"autocolumns";case"carousel":return"carousel";case"list":return"list";default:return"base"}},getAspectRatio:function(s,d){return d==="autocolumns"||s.imageAspectRatio==="Auto"?!1:s.imageAspectRatio},getLoaderOptions:function(s,d,v){switch(d){case"grid":return{mode:s["square-thumbs"]?"fill":"fit"};case"autogrid":case"autocolumns":case"carousel":case"list":return{mode:v.aspectRatio?"fill":""};case"stacked":return{mode:s["auto-crop"]?"fill":"fit"}}return{}},initializeGallery:function(s,d,v,u){var a={};a.autoHeight=["grid","stacked"].indexOf(v)!==-1,["autogrid","autocolumns","carousel","list"].indexOf(v)!==-1&&(a.aspectRatio=this.getAspectRatio(d,v),a.slidesPerRow=d.slidesPerRow,a.lightbox=d.lightbox,a.mixedContent=d.mixedContent),(v==="autogrid"||v==="autocolumns")&&(a.columnWidth=d.columnWidth,a.gutter=d.gutter),v==="list"&&(a.imageWidth=d.listImageSize),v==="strip"&&!t.Lang.isValue(d.aspectRatio)&&!t.Lang.isValue(d.vSize)&&(d.vSize=10,s.addClass("vsize-10")),(v==="carousel"||v==="strip")&&(a.alignment=n(d["active-alignment"])),v==="grid"&&(a.lightbox=d.lightbox,a.lightboxTheme=d.lightboxTheme==="light"?"light":"dark",a.perRow=parseInt(d["thumbnails-per-row"],10)),u.setData("galleryOptions",d);var l=this.makeGallery({containerWrapper:u,container:u.one(".sqs-gallery"),elements:{previous:u.one(".sqs-gallery-controls .previous"),next:u.one(".sqs-gallery-controls .next"),imageContainers:u.all(".sqs-gallery-image-container"),metaContainers:u.all(".sqs-gallery-meta-container")},design:v,designOptions:a,loaderOptions:this.getLoaderOptions(d,v,a),keyboard:!d.autoplay,lazyLoad:!0,autoplay:d.autoplay,loop:!0,refreshOnResize:!0,refreshOnOrientationChange:!0});return d["autoplay-duration"]&&l.set("autoplayOptions.timeout",this.secondsToMs(d["autoplay-duration"])),l},dataToAttrs:function(s){var d=t.clone(s);return d["autoplay-duration"]&&(d.autoplayOptions=d.autoplayOptions||{},d.autoplayOptions.timeout=this.secondsToMs(d["autoplay-duration"]),delete d["autoplay-duration"]),d["active-alignment"]&&(d["designOptions.alignment"]=d["active-alignment"],delete d["active-alignment"]),d},secondsToMs:function(s){return parseInt(s*1e3,10)},styleThumbnails:function(s,d,v){var u=1.7777777777777777;s.all(".sqs-video-thumbnail").each(function(l){l.hasClass("no-image")&&l.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(d*u)+"px"});var p=l.one("img");p&&p.once("load",function(){l.removeClass("loading"),l.setAttribute("style","width: "+p.get("offsetWidth")+"px !important")})});var a=Math.min(i,v);s.setStyles({height:d,marginTop:-a+v,marginBottom:-a,paddingTop:a,paddingBottom:a})},initializeBlock:function(s){var d=this._getDataFromNode(s);if(!d){console.error("Error evaluating gallery block data.");return}var v=s.one(".sqs-gallery-container");if(v){var u=this.getDesign(d);["grid","stacked"].indexOf(u)!==-1&&s.removeClass("vsize-"+d.vSize);var a=!t.UA.ios&&["strip","stacked"].indexOf(u)!==-1;if(a){var l=v.one(".sqs-gallery-controls");l&&l.addClass("show-hover-effect")}var p=this.getGalleryByContainer(v);p?p.refresh():p=this.initializeGallery(s,d,u,v),u==="stacked"&&d.thumbnails===!0&&this.initializeThumbnails(s,d,p)}},getGalleryByContainer:function(s){return s.one(".sqs-gallery").getData("gallery")||null},initializeThumbnails:function(s,d,v){var u=s.one(".sqs-gallery-container"),a=s.one(".sqs-gallery-thumbnails");if(a){var l=d["thumbnail-strip-height"],p=d["thumbnail-strip-margin"];if(this.styleThumbnails(a,l,p),a.getData("gallery")){a.getData("gallery").refresh();return}var h=Math.ceil(v.get("container").get("offsetWidth")/l),g=this.makeGallery({containerWrapper:u,container:a,elements:{},loop:!0,design:"strip",designOptions:{activeSlideClickBehavior:!1,preloadCount:h},lazyLoad:!0,loaderOptions:{canvas:!1},refreshOnResize:!0,refreshOnOrientationChange:!0,keyboard:!1});v.addChild(g)}},updateSlideshowThumbnails:function(s,d){var v=s.one(".sqs-gallery-thumbnails");if(v){var u={};t.Lang.isNumber(d["thumbnail-strip-height"])&&(u.height=d["thumbnail-strip-height"]),t.Lang.isNumber(d["thumbnail-strip-margin"])&&(u.marginTop=d["thumbnail-strip-margin"]),v.setStyles(u);var a=v.getData("gallery");a["gallery-design"].syncUI()}},updateGridStyles:function(s,d){var v=s.one(".sqs-gallery-container");if(!t.Lang.isNull(v)){var u=v.get("className").split(" "),a=t.Array.find(u,function(O){return O.startsWith("sqs-gallery-thumbnails-per-row-")}),l={padding:20,thumbsPerRow:4},p=t.Lang.isValue(d.padding)?d.padding:l.padding,h=t.Lang.isValue(d["thumbnails-per-row"])?d["thumbnails-per-row"]:l.thumbsPerRow,g=".sqs-block-content#"+s.get("id"),m=s.one("#design-grid-css"),S=g+" .sqs-gallery-design-grid",_=S+" .sqs-gallery-design-grid-slide .margin-wrapper",C=S+" { margin-right: -"+p+"px; }"+_+" { margin-right: "+p+"px; margin-bottom: "+p+"px; }";v.removeClass(a),v.addClass("sqs-gallery-thumbnails-per-row-"+h),m&&m.setContent(C)}},refreshAll:function(){t.Array.each(this.getGalleries(),function(s){s.refresh()})},runImageQueue:function(){this._queueThrottle>0?this._imageQueue.run():this._imageQueue.pause()},addImageQueue:function(s){s.each(function(d){this._imageQueue.add({fn:function(){d&&d._node&&(d.plug(this.getLoader(),{load:!0}),d.fire("refresh"),d.get("complete")||(this._queueThrottle--,d.once(["load","error"],function(v){this._queueThrottle++,this.runImageQueue()},this))),this.runImageQueue()},context:this,id:d.getAttribute("data-src")})},this)},promoteImageQueue:function(s){for(var d=s.size()-1;d>=0;d--)this._imageQueue.promote(s.item(d).getAttribute("data-src"));this.runImageQueue()},removeImageQueue:function(s){s.each(function(d){this._imageQueue.remove(d.getAttribute("data-src"))},this)},isMobile:function(){return!t.Lang.isUndefined(window.orientation)||navigator.userAgent.toLowerCase().indexOf("mobile")!==-1},getLoader:function(){return t.Squarespace&&t.Squarespace.Loader2?t.Squarespace.Loader2:t.SQS.LEMobile&&t.SQS.LEMobile.Copies&&t.SQS.LEMobile.Copies.Loader2?t.SQS.LEMobile.Copies.Loader2:null},lightboxify:function(){console.warn("lightboxify is not available in this tier!")}};return r.ready(),r}()},"1.0",{requires:["async-queue","base","dom-style-ie","event-key","event-mouseenter","history","node","yui-throttle","@sqs/yui-gallery","@sqs/yui-gallery/designs"]})},963554:function(y,c,e){var o=e(633629),n=!1;YUI.add("@sqs/yui-gallery",function(i){i.namespace("SQS.Gallery"),i.SQS.Gallery.Gallery2=i.Base.create("Gallery",i.Widget,[i.SQS.Gallery.GismoBase],{initializer:function(){var t=this.get("container");t.setData("gallery",this),this._images=t.all("img[data-src]"),this._imagesByMedia={},this._slidesByMedia={},t.plug(i.SQS.Gallery.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this.get("slides").each(this._initializeSlideWrapper,this),this.bindUI(),this.get("inMotion")||this._setupHistory(),this.plug(this.get("design"),this.get("designOptions"))},_initializeSlideWrapper:function(t){if(!t.getAttribute("data-type")){var r=t.one(".sqs-video-wrapper");t.setAttribute("data-type",r?"video":"image")}},getProperty:function(t){for(var r=this.constructor,s=this.constructor[t];i.Lang.isUndefined(s)&&r.superclass;){r=r.superclass.constructor;if(i.Lang.isUndefined(r))break;s=r[t]}return s},destructor:function(){this._clearAutoplay(),this._wrapperEl&&(this.get("slides").each(function(r){this.get("container").append(r)},this),this._wrapperEl.remove(),this._wrapperEl=null);var t=this.getImages();this.get("lazyLoad")&&i.Lang.isArray(t)&&t.length>0&&i.SQS.Gallery.Manager.removeImageQueue(),this.get("container").clearData("gallery"),i.SQS.Gallery.Manager.destroyGallery(this)},_shouldRespectKeypress:function(){if(this.get("inMotion")||document.activeElement.hasAttribute("contenteditable"))return!1;var t=i.one(i.config.win);return!!this.get("container").inRegion(t.get("region"))},isEditingKeypress:function(t){return t.target.ancestor("textarea,input,[contenteditable]",!0)},_onKeyPrev:function(t){this.isEditingKeypress(t)||this._shouldRespectKeypress()&&(t.preventDefault(),this.previousSlide())},_onKeyNext:function(t){this.isEditingKeypress(t)||this._shouldRespectKeypress()&&(t.preventDefault(),this.nextSlide())},bindKeyboard:function(){if(this.get("keyboard")){var t=this.get("keys.previous");t&&this._event(i.on("key",this._onKeyPrev,i.config.win,t,this),"keyboard");var r=this.get("keys.next");r&&this._event(i.on("key",this._onKeyNext,i.config.win,r,this),"keyboard")}},bindUI:function(){var t=i.one(i.config.win);this._flushEvents("refreshOnOrientationChange"),this.get("refreshOnOrientationChange")&&this._event(t.on("orientationchange",this.refresh,this),"refreshOnOrientationChange"),this.bindKeyboard(),this.after("autoplayChange",this._initializeAutoplay,this),this.after("autoplayOptionsChange",this._initializeAutoplay,this),this._initializeAutoplay(),this._bindUIElements(),this.after("elementsChange",this._bindUIElements,this),this.get("resizeEmitter")||this.set("resizeEmitter",new i.SQS.Gallery.ResizeEmitter({timeout:100})),this._flushEvents("refreshOnResize"),this.get("refreshOnResize")&&this._event(this.get("resizeEmitter").on("resize:end",this.refresh,this),"refreshOnResize"),this.fire("bindUI")},setActiveSlide:function(){var t=this.getProperty("ACTIVE_CLASS");this.getSlides().filter("."+t).removeClass(t);var r=this._currentSlide();n&&console.log("[yui-gallery/gallery] activating slide",{currentSlide:r}),r&&r.addClass(t)},togglePaginationControls:function(){if(!this.get("loop")){var t=this.get("currentIndex"),r=this.get("numberOfSlides"),s=t>=r-1,d=t<=0,v=this.getProperty("DISABLED_PAGINATION_CLASS"),u=this.get("elements.next");u&&u.toggleClass(v,s);var a=this.get("elements.previous");a&&a.toggleClass(v,d)}},syncUI:function(){n&&console.log("[yui-gallery/gallery] syncUI"),this.togglePaginationControls(),this.setActiveSlide();var t=this.get("elements.currentIndex");t&&t.setContent(this.get("currentIndex")+1);var r=this.get("numberOfSlides"),s=this.get("elements.totalSlides");s&&s.setContent(r),this.fire("syncUI")},refresh:function(t){n&&console.groupCollapsed("[yui-gallery/gallery] refresh"),this.syncUI();var r=this.getImages();this._refreshImages(r);var s=t&&t.type&&t.type.startsWith("resize");s||this._refreshVideos(),i.SQS.Gallery.Manager.promoteImageQueue(r),this.fire("refresh"),n&&console.groupEnd()},_refreshImages:function(t){if(this.get("lazyLoad")){t.each(function(r){r.loader&&r.get("complete")&&r.fire("refresh")},this);return}t.each(function(r){r.fire("refresh")},this)},_refreshVideos:function(){this.getSlides("video").each(function(t){var r=t.one(".sqs-video-wrapper");r.videoloader&&r.videoloader.get("showingVideo")===!1&&r.videoloader.reload()})},refreshContentMode:function(t){this.getImages("image").each(function(r){r.loader.set("mode",t)}),this.getSlides("video").each(function(r){r.one(".sqs-video-wrapper").videoloader.set("mode",t)})},loadImages:function(t){this.get("lazyLoad")?i.SQS.Gallery.Manager.promoteImageQueue(t):t.each(function(r){r.loader.set("load",!0),r.fire("refresh")})},previousSlide:function(t){t&&(t.preventDefault(),t.stopPropagation());var r=this.get("numberOfSlides");if(!(!i.Lang.isNumber(r)||!r)){var s=this.get("currentIndex");if(s<=0){if(!this.get("loop")){this.fire("reachedBeginning");return}this.set("currentIndex",r-1,{direction:1});return}this.set("currentIndex",s-1,{direction:-1})}},nextSlide:function(t){t&&(t.preventDefault(),t.stopPropagation());var r=this.get("numberOfSlides");if(!(!i.Lang.isNumber(r)||!r)){var s=this.get("currentIndex")+1;if(s>=r){if(!this.get("loop")){this.fire("reachedEnd");return}this.set("currentIndex",0,{direction:-1});return}this.set("currentIndex",s,{direction:1})}},renderWrapper:function(){if(!this._wrapperEl){var t=this.get("slides"),r=i.Node.create('
');t.each(function(s){r.append(s)},this),this.get("container").append(r),this._wrapperEl=r}},addChild:function(t){var r=this.get("linkedGalleries"),s=i.bind(function(d){if(!d.calledFromSync)for(var v=0;v1&&!v.endsWith("/")&&(v=v+"/"),this._history.replaceValue("itemId",s,{url:v+s})},_setupHistory:function(){if(!i.config.win.Static.IN_BACKEND&&this.get("historyHash")){this._history=new i.History,this.on("currentIndexChange",this._onCurrentIndexChange,this);var t=this.get("slides");if(t){var r=new i.HistoryHash,s=r.get("itemId")||r._initialState.itemId;s&&(this._history.replaceValue("itemId",null),t.some(function(d,v){if(d.getAttribute("data-slide-id")===s||d.getAttribute("data-slide-url")===s)return this.set("currentIndex",v),!0},this))}}},_currentSlide:function(){return this.getCurrentSlide()},getCurrentSlide:function(){var t=this.get("currentIndex");if(!i.Lang.isNumber(t))return null;var r=this.get("slides");return r?r.item(t):null},_slidesByType:function(t){var r=this.get("slides");return r?(this._slidesByMedia[t]||(this._slidesByMedia[t]=r.filter('[data-type="'+t+'"]')),this._slidesByMedia[t]):new i.NodeList},_imagesByType:function(t){return this._imagesByMedia[t]||(this._imagesByMedia[t]=new i.NodeList,this._slidesByType(t).each(function(r){var s=r.test("img")?r:r.one("img[data-src]");s&&this._imagesByMedia[t].push(s)},this)),this._imagesByMedia[t]},_slideType:function(t){if(!t)return"";var r=t.getAttribute("data-type");return r==="image"?"image":r==="video"?"video":"image"},_getContainer:function(t){return i.Lang.isString(t)&&(t=i.one(t)),t},_getDesign:function(t){var r=i.SQS.Gallery.Designs[t];if(!r&&i.Squarespace&&i.Squarespace.GalleryDesigns2&&(r=i.Squarespace.GalleryDesigns2[t]),!r)throw new Error("These are not the gallery designs you are looking for. (We could not find a design by the name "+t+")");return r},_getElements:function(t){for(var r in t)t[r]instanceof i.NodeList||(t[r]=i.all(t[r]));return t},_setElements:function(t,r){this._bindUIElements()},_setLoaderOptions:function(t){return t.hasOwnProperty("fit")&&t.fit?t.mode="fit":t.hasOwnProperty("fill")&&t.fill&&(t.mode="fill"),t},_getNumberOfSlides:function(){var t=this.get("slides");return t?t.size():0},_getSlides:function(r){var s=this._wrapperEl||this.get("container");if(!s||!s.getDOMNode())return new i.NodeList;var d;r?i.Lang.isString(r)?d=s.all(r):d=r:d=s.get("children");var v=d.filter(function(a){return a.tagName!=="NOSCRIPT"});return v},_getWrapper:function(t){return i.Lang.isString(t)&&(t=i.one(t)),t},_sanitizeCurrentIndex:function(t){if(!i.Lang.isNumber(t)||!t)return 0;var r=this.get("numberOfSlides");return!i.Lang.isNumber(r)||r<1?0:t<0?(r+t)%r:t%r},_validateCurrentIndex:function(t){if(this.get("inMotion"))return!1;for(var r=0;r0&&i.UA.webkit<536){var r=this._wrapperEl.getComputedStyle("height");t.setStyle("height",r+" !important")}}},{NS:"gallery",ACTIVE_CLASS:"sqs-active-slide",DISABLED_PAGINATION_CLASS:"sqs-disabled",ATTRS:{autoplay:{value:!1},autoplayOptions:{value:{randomize:!0,timeout:5e3,pauseOnMouseover:[]}},container:{getter:"_getContainer"},containerWrapper:{value:null},currentIndex:{value:0,setter:"_sanitizeCurrentIndex",validator:"_validateCurrentIndex"},design:{value:"base",getter:"_getDesign"},designOptions:{value:{}},elements:{value:{next:null,previous:null,currentIndex:null,totalSlides:null,controls:null},getter:"_getElements",setter:"_setElements",lazyAdd:!1},historyHash:{value:!1},inMotion:{value:!1},keyboard:{value:!0},keys:{value:{previous:"down:37",next:"down:39"}},lazyLoad:{value:!1},linkedGalleries:{value:[]},loaderOptions:{value:{},setter:"_setLoaderOptions"},loop:{value:!1},numberOfSlides:{getter:"_getNumberOfSlides"},refreshOnResize:{value:!1},refreshOnOrientationChange:{value:!1},resizeEmitter:{value:null},slides:{getter:"_getSlides"},useBgImage:{value:!1},videoLoaderOptions:{value:{}}}})},"1.0",{requires:["base","event-key","event-mouseenter","history","node","plugin","widget","@sqs/yui-gallery/designs","@sqs/yui-gallery/node-destroy-notifier","@sqs/yui-gallery/gismo"]})},684557:function(y){y.exports=function(c,e,o,n){return c/=n/2,c<1?o/2*c*c*c+e:(c-=2,o/2*(c*c*c+2)+e)}},477759:function(y){y.exports=function(c,e){for(;c;){var o=c.getData(e);if(o)return o;c=c.ancestor()}}},763597:function(y,c,e){var o=e(684557);YUI.add("@sqs/yui-gallery/gismo",function(n){n.namespace("SQS.Gallery");var i=n.Base.create("SQSAnim",n.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):n.Anim.prototype.run.call(this)}});n.SQS.Gallery.GismoBase=function(){this._gismoEvents={},this._timers={},this._anims=this._anims||[]},n.SQS.Gallery.GismoBase.prototype={destructor:function(){n.Object.each(this._gismoEvents,function(t,r){n.Array.invoke(t,"detach"),this._gismoEvents[r]=null},this),n.Object.each(this._timers,function(t,r){n.Array.invoke(t,"cancel"),this._timers[r]=null},this),this._anims.shift?this._anims.forEach(function(t){t.get("running")&&t.stop(!0),t.destroy()}):this._anims.destructor&&this._anims.destructor(),this._anims=[]},_anim:function(t,r,s){return s=n.merge({node:t,duration:.5,easing:o,to:r},s),t.activeAnim&&t.activeAnim.stop(!0),t.activeAnim=new i(s),t.activeAnim.on("end",function(){delete t.activeAnim},t),s.end&&t.activeAnim.on("end",s.end),s.start&&t.activeAnim.on("start",s.start),t.nodedestroynotifier||t.plug(n.SQS.Gallery.NodeDestroyNotifier,{onDestroy:function(){t.activeAnim&&t.activeAnim.stop(!0)},context:t}),this._anims.push(t.activeAnim),t.activeAnim},_event:function(t,r){r=r||"generic",this._gismoEvents[r]=this._gismoEvents[r]||[],this._gismoEvents[r].push(t)},_getEvents:function(t){return this._gismoEvents[t||"generic"]},_flushEvents:function(t){var r=this._gismoEvents[t||"generic"];r&&(n.Array.invoke(r,"detach"),this._gismoEvents[t]=null)},_timer:function(t,r){r=r||"generic",this._timers[r]=this._timers[r]||[],this._timers[r].push(t)}}},"1.0",{requires:["array-invoke","@sqs/yui-gallery/node-destroy-notifier","anim"]})},887570:function(y){y.exports=function(e,o){var n=Y.Node.getDOMNode(e).getBoundingClientRect(),i=Y.Node.getDOMNode(o).getBoundingClientRect();return n.x+n.width<=i.x||n.x>=i.x+i.width}},807001:function(){YUI.add("@sqs/yui-gallery/loading-behavior/by-current-index",function(y){y.namespace("SQS.Gallery.GalleryLoadingBehavior"),y.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex=y.Base.create("GalleryLoadingBehavior",y.Base,[],{loadItems:function(){var c=this.get("host"),e=c.getImages();if(c.get("lazyLoad")){var o=c.get("currentIndex")-this.get("preloadCount"),n=c.get("currentIndex")+this.get("preloadCount"),i=new y.NodeList;c.get("loop")?n=n%c.get("slides").size():(o=Math.max(0,o),n=Math.min(c.get("slides").size()-1,n)),o>=0&&o<=n?i=e.slice(o,n+1):(i=i.concat(e.slice(o)),i=i.concat(e.slice(0,n+1))),c.loadImages(i)}else c.loadImages(e)}})},"1.0",{requires:["base","node"]})},392639:function(){YUI.add("@sqs/yui-gallery/loading-behavior/by-viewport",function(y){y.namespace("SQS.Gallery.GalleryLoadingBehavior"),y.SQS.Gallery.GalleryLoadingBehavior.ByViewport=y.Base.create("GalleryLoadingBehavior",y.Base,[],{scrollHandler:null,scrollEl:null,scrollRegion:null,imageRegions:null,initializer:function(){this.get("host").get("lazyLoad")&&(this.scrollHandler=this._getScrollEl().on("scroll",this.loadItems,this))},destructor:function(){this.scrollHandler&&this.scrollHandler.detach(),this.scrollHandler=null,this.scrollEl=null,this.imageRegions=null,this.scrollRegion=null},_getScrollEl:function(){return this.scrollEl||(this.scrollEl=this.get("host").get("container").ancestor(function(c){return c.getStyle("overflowY").match(/scroll|auto/)&&c.get("scrollHeight")>c.get("clientHeight")}),(!this.scrollEl||this.scrollEl.test("html,body"))&&(this.scrollEl=y.one(y.config.win))),this.scrollEl},loadItems:function(){var c=this.get("host"),e=c.getImages();c.get("lazyLoad")?(this.imageRegions=[],this.scrollRegion=this._getScrollEl().get("region"),e.each(function(o){this.imageRegions.push(o.get("region"))},this),this._viewportLoad()):c.loadImages(e)},_viewportLoad:function(){var c=0,e=this._getScrollEl();e&&(c=e.get("scrollTop"));var o=c+this.scrollRegion.height,n=new y.NodeList;this.get("host").getImages().each(function(i,t){var r=this.imageRegions[t];(r.top>=c&&r.top<=o||r.bottom>=c&&r.bottom<=o)&&n.push(i)},this),this.get("host").loadImages(n)}})},"1.0",{requires:["base","node"]})},726406:function(){YUI.add("@sqs/yui-gallery/node-destroy-notifier",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.NodeDestroyNotifier=y.Base.create("NodeDestroyNotifier",y.Plugin.Base,[],{destructor:function(){this.get("onDestroy")&&this.get("onDestroy").call(this.get("context")||this)}},{NS:"nodedestroynotifier",ATTRS:{onDestroy:{},context:{}}})},"1.0",{requires:["base","event","node"]})},546351:function(y){y.exports=function(c){switch(c){case"left":return"start";case"center":return"middle";case"right":return"end";default:return"middle"}}},481395:function(){YUI.add("@sqs/yui-gallery/rendering",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.Rendering={getWidthForHeight:function(c,e,o){return c/e*o},getHeightForWidth:function(c,e,o){return e/c*o},getDimensionsFromNode:function(c){var e=c.getAttribute("data-image-dimensions");if(e){if(y.Lang.isString(e))return e=e.split("x"),{width:parseInt(e[0],10),height:parseInt(e[1],10)}}else return{width:null,height:null}}}},"1.0",{requires:["node"]})},571550:function(){YUI.add("@sqs/yui-gallery/resize-emitter",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.ResizeEmitter=y.Base.create("ResizeEmitter",y.Base,[],{initializer:function(){this.resizeEvent=y.on("resize",this._handleResize,y.config.win,this),this.after("resizingChange",this._afterResizingChange),this._requiresSizeCalculating()&&(this.on("resize:end",this._resetSize),this._resetSize())},destructor:function(){this.timer&&(this.timer.cancel(),this.timer=null),this.resizeEvent.detach(),this.resizeEvent=null},_resetSize:function(){this.setAttrs({width:y.config.win.innerWidth,height:y.config.win.innerHeight})},_afterResizingChange:function(c){var e=c.newVal?"resize:start":"resize:end";this.fire(e)},_getWindowDiff:function(c){var e=y.config.win["inner"+c.capitalize()],o=this.get(c);return Math.abs(e-o)},_requiresSizeCalculating:function(){return this.get("threshold")>0||y.Lang.isValue(this.get("axis"))},_canEmitResizeEvent:function(){var c,e,o=this.get("axis"),n=this.get("threshold");return y.Lang.isValue(o)?(e=o===this.constructor.AXES.X?"width":"height",c=this._getWindowDiff(e)>n):c=this._getWindowDiff("width")>n||this._getWindowDiff("height")>n,c},_handleResize:function(){if(!this.get("resizing")){if(this._requiresSizeCalculating()&&!this._canEmitResizeEvent())return;this.set("resizing",!0)}this.timer&&this.timer.cancel(),this.timer=y.later(this.get("timeout"),this,function(){y.Env&&this.set("resizing",!1)}),this.fire("resize")}},{AXES:{X:"x",Y:"y"},ATTRS:{axis:{validator:function(c){return y.Object.values(this.constructor.AXES).includes(c)}},height:{},resizing:{validator:y.Lang.isBoolean,value:!1},threshold:{validator:y.Lang.isNumber,value:0},timeout:{value:300},width:{}}})},"1.0",{requires:["base","event","node"]})},197259:function(){YUI.add("@sqs/yui-gallery/touch-event-listener",function(y){function c(e,o){this.el=null,this.captureSettings=null,this.touchStartPoint=null,this.touchEndPoint=null,this.touchStartTime=null,this.isGesture=!1,this.touchStartHandler=null,this.touchMoveHandler=null,this.touchEndHandler=null,this.swipeThreshold=null,this.swipeTimeThreshold=null,this.el=e,this.captureSettings={swipe:!1,move:!1,preventDefaultTouchEvents:!0,preventDefaultGestureEvents:!0,gesture:!0},this.captureSettings=y.merge(this.captureSettings,o),this.swipeThreshold=50,this.swipeTimeThreshold=250,this.touchStartPoint={x:0,y:0},this.touchEndPoint={x:0,y:0},this.addEventHandlers()}c.Types={onTouch:"onTouch"},c.ActionTypes={gestureStart:"gestureStart",gestureEnd:"gestureEnd",gestureChange:"gestureChange",touchStart:"touchStart",touchMove:"touchMove",touchEnd:"touchEnd",touchMoveEnd:"touchMoveEnd",swipeLeft:"swipeLeft",swipeRight:"swipeRight",swipeUp:"swipeUp",swipeDown:"swipeDown",tapped:"tapped"},c.prototype.addEventHandlers=function(){this.gestureStartHandler=y.bind(this.onGestureStart,this),this.gestureChangeHandler=y.bind(this.onGestureChange,this),this.gestureEndHandler=y.bind(this.onGestureEnd,this),this.touchStartHandler=y.bind(this.onTouchStart,this),this.touchMoveHandler=y.bind(this.onTouchMove,this),this.touchEndHandler=y.bind(this.onTouchEnd,this),this.el.on("gesturestart",this.gestureStartHandler),this.el.on("gesturechange",this.gestureChangeHandler),this.el.on("gestureend",this.gestureEndHandler),this.el.on("touchstart",this.touchStartHandler),this.captureSettings.move&&this.el.on("touchmove",this.touchMoveHandler),this.el.on("touchend",this.touchEndHandler)},c.prototype.removeEventHandlers=function(){this.el.detachAll()},c.prototype.getTouchPoint=function(e){return{x:e[0].pageX,y:e[0].pageY}},c.prototype.fireTouchEvent=function(e){var o=0,n=0,i=0,t,r;if(o=this.touchEndPoint.x-this.touchStartPoint.x,n=this.touchEndPoint.y-this.touchStartPoint.y,i=Math.sqrt(o*o+n*n),this.captureSettings.swipe&&(t=new Date,r=t-this.touchStartTime,r<=this.swipeTimeThreshold)){if(window.Math.abs(o)>=this.swipeThreshold){y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:o<0?y.SQS.Gallery.TouchEventListener.ActionTypes.swipeLeft:y.SQS.Gallery.TouchEventListener.ActionTypes.swipeRight,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e});return}if(window.Math.abs(n)>=this.swipeThreshold){y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:n<0?y.SQS.Gallery.TouchEventListener.ActionTypes.swipeUp:y.SQS.Gallery.TouchEventListener.ActionTypes.swipeDown,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e});return}}i>1?y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchMoveEnd,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e}):y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.tapped,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},c.prototype.onGestureStart=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),this.isGesture=!0,y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.gestureStart,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},c.prototype.onGestureChange=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.gestureChange,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},c.prototype.onGestureEnd=function(e){e.touches=[],this.captureSettings.preventDefaultGestureEvents&&e.preventDefault(),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.gestureEnd,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},c.prototype.onTouchStart=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var o=e,n=o.touches;this.touchStartTime=new Date,this.touchStartPoint=this.getTouchPoint(n),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchStart,point:this.touchStartPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},c.prototype.onTouchMove=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var o=e,n=o.touches;y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchMove,point:this.getTouchPoint(n),targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e})},c.prototype.onTouchEnd=function(e){if(this.isGesture&&this.captureSettings.gesture){this.isGesture=!1;return}this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var o=e,n=o.changedTouches?o.changedTouches:o.touches;this.touchEndPoint=this.getTouchPoint(n),y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,action:y.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd,point:this.touchEndPoint,targetEl:e.target,currentTargetEl:e.currentTarget,touchEvent:e}),this.fireTouchEvent(e)},y.SQS.Gallery.TouchEventListener=c},"1.0",{requires:[]})},746976:function(y,c,e){"use strict";var o=e(760636);function n(le){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(Ce){return typeof Ce}:function(Ce){return Ce&&typeof Symbol=="function"&&Ce.constructor===Symbol&&Ce!==Symbol.prototype?"symbol":typeof Ce},n(le)}function i(le,Ce){for(var Ne=0;Ne1?Ne-1:0),Ie=1;Ie1?Ne-1:0),Ie=1;Ie1?Ne-1:0),Ie=1;Ie1?Ne-1:0),Ie=1;IeX.length)&&(Z=X.length),X.substring(Z-re.length,Z)===re}function z(X,re){if(re=Math.floor(re),X.length==0||re==0)return"";var Z=X.length*re;for(re=Math.floor(Math.log(re)/Math.log(2));re;)X+=X,re--;return X+=X.substring(0,Z-X.length),X}var K="",$="",ie="",V="",W={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"},H=10;function k(X){var re=Object.keys(X),Z=Object.create(Object.getPrototypeOf(X));return re.forEach(function(te){Z[te]=X[te]}),Object.defineProperty(Z,"message",{value:X.message}),Z}function J(X){return T(X,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function ae(X,re,Z){var te="",oe="",Se=0,Re="",Ke=!1,Qe=J(X),Je=Qe.split("\n"),rt=J(re).split("\n"),Pt=0,Wt="";if(Z==="strictEqual"&&A(X)==="object"&&A(re)==="object"&&X!==null&&re!==null&&(Z="strictEqualObject"),Je.length===1&&rt.length===1&&Je[0]!==rt[0]){var de=Je[0].length+rt[0].length;if(de<=H){if((A(X)!=="object"||X===null)&&(A(re)!=="object"||re===null)&&(X!==0||re!==0))return"".concat(W[Z],"\n\n")+"".concat(Je[0]," !== ").concat(rt[0],"\n")}else if(Z!=="strictEqualObject"){var Le=o.stderr&&o.stderr.isTTY?o.stderr.columns:80;if(de2&&(Wt="\n ".concat(z(" ",Pt),"^"),Pt=0)}}}for(var le=Je[Je.length-1],Ce=rt[rt.length-1];le===Ce&&(Pt++<2?Re="\n ".concat(le).concat(Re):te=le,Je.pop(),rt.pop(),!(Je.length===0||rt.length===0));)le=Je[Je.length-1],Ce=rt[rt.length-1];var Ne=Math.max(Je.length,rt.length);if(Ne===0){var Ee=Qe.split("\n");if(Ee.length>30)for(Ee[26]="".concat(K,"...").concat(V);Ee.length>27;)Ee.pop();return"".concat(W.notIdentical,"\n\n").concat(Ee.join("\n"),"\n")}Pt>3&&(Re="\n".concat(K,"...").concat(V).concat(Re),Ke=!0),te!==""&&(Re="\n ".concat(te).concat(Re),te="");var Ie=0,dt=W[Z]+"\n".concat($,"+ actual").concat(V," ").concat(ie,"- expected").concat(V),xt=" ".concat(K,"...").concat(V," Lines skipped");for(Pt=0;Pt1&&Pt>2&&(It>4?(oe+="\n".concat(K,"...").concat(V),Ke=!0):It>3&&(oe+="\n ".concat(rt[Pt-2]),Ie++),oe+="\n ".concat(rt[Pt-1]),Ie++),Se=Pt,te+="\n".concat(ie,"-").concat(V," ").concat(rt[Pt]),Ie++;else if(rt.length1&&Pt>2&&(It>4?(oe+="\n".concat(K,"...").concat(V),Ke=!0):It>3&&(oe+="\n ".concat(Je[Pt-2]),Ie++),oe+="\n ".concat(Je[Pt-1]),Ie++),Se=Pt,oe+="\n".concat($,"+").concat(V," ").concat(Je[Pt]),Ie++;else{var gt=rt[Pt],Ot=Je[Pt],Fe=Ot!==gt&&(!B(Ot,",")||Ot.slice(0,-1)!==gt);Fe&&B(gt,",")&>.slice(0,-1)===Ot&&(Fe=!1,Ot+=","),Fe?(It>1&&Pt>2&&(It>4?(oe+="\n".concat(K,"...").concat(V),Ke=!0):It>3&&(oe+="\n ".concat(Je[Pt-2]),Ie++),oe+="\n ".concat(Je[Pt-1]),Ie++),Se=Pt,oe+="\n".concat($,"+").concat(V," ").concat(Ot),te+="\n".concat(ie,"-").concat(V," ").concat(gt),Ie+=2):(oe+=te,te="",(It===1||Pt===0)&&(oe+="\n ".concat(Ot),Ie++))}if(Ie>20&&Pt30)for(de[26]="".concat(K,"...").concat(V);de.length>27;)de.pop();de.length===1?Se=Z.call(this,"".concat(Wt," ").concat(de[0])):Se=Z.call(this,"".concat(Wt,"\n\n").concat(de.join("\n"),"\n"))}else{var Le=J(Je),le="",Ce=W[Ke];Ke==="notDeepEqual"||Ke==="notEqual"?(Le="".concat(W[Ke],"\n\n").concat(Le),Le.length>1024&&(Le="".concat(Le.slice(0,1021),"..."))):(le="".concat(J(rt)),Le.length>512&&(Le="".concat(Le.slice(0,509),"...")),le.length>512&&(le="".concat(le.slice(0,509),"...")),Ke==="deepEqual"||Ke==="equal"?Le="".concat(Ce,"\n\n").concat(Le,"\n\nshould equal\n\n"):le=" ".concat(Ke," ").concat(le)),Se=Z.call(this,"".concat(Le).concat(le))}return Error.stackTraceLimit=Pt,Se.generatedMessage=!Re,Object.defineProperty(h(Se),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),Se.code="ERR_ASSERTION",Se.actual=Je,Se.expected=rt,Se.operator=Ke,Error.captureStackTrace&&Error.captureStackTrace(h(Se),Qe),Se.stack,Se.name="AssertionError",p(Se)}return d(te,[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:re,value:function(Se,Re){return T(this,i(i({},Re),{},{customInspect:!1,depth:0}))}}]),te}(g(Error),T.custom);y.exports=ne},716981:function(y,c,e){"use strict";function o(T){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(R){return typeof R}:function(R){return R&&typeof Symbol=="function"&&R.constructor===Symbol&&R!==Symbol.prototype?"symbol":typeof R},o(T)}function n(T,R){for(var N=0;N2?"one of ".concat(R," ").concat(T.slice(0,N-1).join(", "),", or ")+T[N-1]:N===2?"one of ".concat(R," ").concat(T[0]," or ").concat(T[1]):"of ".concat(R," ").concat(T[0])}else return"of ".concat(R," ").concat(String(T))}function O(T,R,N){return T.substr(!N||N<0?0:+N,R.length)===R}function A(T,R,N){return(N===void 0||N>T.length)&&(N=T.length),T.substring(N-R.length,N)===R}function x(T,R,N){return typeof N!="number"&&(N=0),N+R.length>T.length?!1:T.indexOf(R,N)!==-1}_("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),_("ERR_INVALID_ARG_TYPE",function(T,R,N){m===void 0&&(m=e(746976)),m(typeof T=="string","'name' must be a string");var B;typeof R=="string"&&O(R,"not ")?(B="must not be",R=R.replace(/^not /,"")):B="must be";var z;if(A(T," argument"))z="The ".concat(T," ").concat(B," ").concat(C(R,"type"));else{var K=x(T,".")?"property":"argument";z='The "'.concat(T,'" ').concat(K," ").concat(B," ").concat(C(R,"type"))}return z+=". Received type ".concat(o(N)),z},TypeError),_("ERR_INVALID_ARG_VALUE",function(T,R){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";S===void 0&&(S=e(759276));var B=S.inspect(R);return B.length>128&&(B="".concat(B.slice(0,128),"...")),"The argument '".concat(T,"' ").concat(N,". Received ").concat(B)},TypeError,RangeError),_("ERR_INVALID_RETURN_VALUE",function(T,R,N){var B;return N&&N.constructor&&N.constructor.name?B="instance of ".concat(N.constructor.name):B="type ".concat(o(N)),"Expected ".concat(T,' to be returned from the "').concat(R,'"')+" function but got ".concat(B,".")},TypeError),_("ERR_MISSING_ARGS",function(){for(var T=arguments.length,R=new Array(T),N=0;N0,"At least one arg needs to be specified");var B="The ",z=R.length;switch(R=R.map(function(K){return'"'.concat(K,'"')}),z){case 1:B+="".concat(R[0]," argument");break;case 2:B+="".concat(R[0]," and ").concat(R[1]," arguments");break;default:B+=R.slice(0,z-1).join(", "),B+=", and ".concat(R[z-1]," arguments");break}return"".concat(B," must be specified")},TypeError),y.exports.codes=g},647427:function(y,c,e){"use strict";function o(Fe,Ve){return s(Fe)||r(Fe,Ve)||i(Fe,Ve)||n()}function n(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(Fe,Ve){if(Fe){if(typeof Fe=="string")return t(Fe,Ve);var se=Object.prototype.toString.call(Fe).slice(8,-1);if(se==="Object"&&Fe.constructor&&(se=Fe.constructor.name),se==="Map"||se==="Set")return Array.from(Fe);if(se==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(se))return t(Fe,Ve)}}function t(Fe,Ve){(Ve==null||Ve>Fe.length)&&(Ve=Fe.length);for(var se=0,fe=new Array(Ve);se10)return!0;for(var Ve=0;Ve57)return!0}return Fe.length===10&&Fe>=Math.pow(2,32)}function ae(Fe){return Object.keys(Fe).filter(J).concat(p(Fe).filter(Object.prototype.propertyIsEnumerable.bind(Fe)))}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT */function ne(Fe,Ve){if(Fe===Ve)return 0;for(var se=Fe.length,fe=Ve.length,pe=0,xe=Math.min(se,fe);pe1&&(h-=1)),[h*360,g*100,C*100]},t.rgb.hwb=function(u){var a=u[0],l=u[1],p=u[2],h=t.rgb.hsl(u)[0],g=1/255*Math.min(a,Math.min(l,p));return p=1-1/255*Math.max(a,Math.max(l,p)),[h,g*100,p*100]},t.rgb.cmyk=function(u){var a=u[0]/255,l=u[1]/255,p=u[2]/255,h,g,m,S;return S=Math.min(1-a,1-l,1-p),h=(1-a-S)/(1-S)||0,g=(1-l-S)/(1-S)||0,m=(1-p-S)/(1-S)||0,[h*100,g*100,m*100,S*100]};function v(u,a){return Math.pow(u[0]-a[0],2)+Math.pow(u[1]-a[1],2)+Math.pow(u[2]-a[2],2)}t.rgb.keyword=function(u){var a=n[u];if(a)return a;var l=1/0,p;for(var h in o)if(o.hasOwnProperty(h)){var g=o[h],m=v(u,g);m.04045?Math.pow((a+.055)/1.055,2.4):a/12.92,l=l>.04045?Math.pow((l+.055)/1.055,2.4):l/12.92,p=p>.04045?Math.pow((p+.055)/1.055,2.4):p/12.92;var h=a*.4124+l*.3576+p*.1805,g=a*.2126+l*.7152+p*.0722,m=a*.0193+l*.1192+p*.9505;return[h*100,g*100,m*100]},t.rgb.lab=function(u){var a=t.rgb.xyz(u),l=a[0],p=a[1],h=a[2],g,m,S;return l/=95.047,p/=100,h/=108.883,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,p=p>.008856?Math.pow(p,1/3):7.787*p+16/116,h=h>.008856?Math.pow(h,1/3):7.787*h+16/116,g=116*p-16,m=500*(l-p),S=200*(p-h),[g,m,S]},t.hsl.rgb=function(u){var a=u[0]/360,l=u[1]/100,p=u[2]/100,h,g,m,S,_;if(l===0)return _=p*255,[_,_,_];p<.5?g=p*(1+l):g=p+l-p*l,h=2*p-g,S=[0,0,0];for(var C=0;C<3;C++)m=a+1/3*-(C-1),m<0&&m++,m>1&&m--,6*m<1?_=h+(g-h)*6*m:2*m<1?_=g:3*m<2?_=h+(g-h)*(2/3-m)*6:_=h,S[C]=_*255;return S},t.hsl.hsv=function(u){var a=u[0],l=u[1]/100,p=u[2]/100,h=l,g=Math.max(p,.01),m,S;return p*=2,l*=p<=1?p:2-p,h*=g<=1?g:2-g,S=(p+l)/2,m=p===0?2*h/(g+h):2*l/(p+l),[a,m*100,S*100]},t.hsv.rgb=function(u){var a=u[0]/60,l=u[1]/100,p=u[2]/100,h=Math.floor(a)%6,g=a-Math.floor(a),m=255*p*(1-l),S=255*p*(1-l*g),_=255*p*(1-l*(1-g));switch(p*=255,h){case 0:return[p,_,m];case 1:return[S,p,m];case 2:return[m,p,_];case 3:return[m,S,p];case 4:return[_,m,p];case 5:return[p,m,S]}},t.hsv.hsl=function(u){var a=u[0],l=u[1]/100,p=u[2]/100,h=Math.max(p,.01),g,m,S;return S=(2-l)*p,g=(2-l)*h,m=l*h,m/=g<=1?g:2-g,m=m||0,S/=2,[a,m*100,S*100]},t.hwb.rgb=function(u){var a=u[0]/360,l=u[1]/100,p=u[2]/100,h=l+p,g,m,S,_;h>1&&(l/=h,p/=h),g=Math.floor(6*a),m=1-p,S=6*a-g,g&1&&(S=1-S),_=l+S*(m-l);var C,O,A;switch(g){default:case 6:case 0:C=m,O=_,A=l;break;case 1:C=_,O=m,A=l;break;case 2:C=l,O=m,A=_;break;case 3:C=l,O=_,A=m;break;case 4:C=_,O=l,A=m;break;case 5:C=m,O=l,A=_;break}return[C*255,O*255,A*255]},t.cmyk.rgb=function(u){var a=u[0]/100,l=u[1]/100,p=u[2]/100,h=u[3]/100,g,m,S;return g=1-Math.min(1,a*(1-h)+h),m=1-Math.min(1,l*(1-h)+h),S=1-Math.min(1,p*(1-h)+h),[g*255,m*255,S*255]},t.xyz.rgb=function(u){var a=u[0]/100,l=u[1]/100,p=u[2]/100,h,g,m;return h=a*3.2406+l*-1.5372+p*-.4986,g=a*-.9689+l*1.8758+p*.0415,m=a*.0557+l*-.204+p*1.057,h=h>.0031308?1.055*Math.pow(h,1/2.4)-.055:h*12.92,g=g>.0031308?1.055*Math.pow(g,1/2.4)-.055:g*12.92,m=m>.0031308?1.055*Math.pow(m,1/2.4)-.055:m*12.92,h=Math.min(Math.max(0,h),1),g=Math.min(Math.max(0,g),1),m=Math.min(Math.max(0,m),1),[h*255,g*255,m*255]},t.xyz.lab=function(u){var a=u[0],l=u[1],p=u[2],h,g,m;return a/=95.047,l/=100,p/=108.883,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,p=p>.008856?Math.pow(p,1/3):7.787*p+16/116,h=116*l-16,g=500*(a-l),m=200*(l-p),[h,g,m]},t.lab.xyz=function(u){var a=u[0],l=u[1],p=u[2],h,g,m;g=(a+16)/116,h=l/500+g,m=g-p/200;var S=Math.pow(g,3),_=Math.pow(h,3),C=Math.pow(m,3);return g=S>.008856?S:(g-16/116)/7.787,h=_>.008856?_:(h-16/116)/7.787,m=C>.008856?C:(m-16/116)/7.787,h*=95.047,g*=100,m*=108.883,[h,g,m]},t.lab.lch=function(u){var a=u[0],l=u[1],p=u[2],h,g,m;return h=Math.atan2(p,l),g=h*360/2/Math.PI,g<0&&(g+=360),m=Math.sqrt(l*l+p*p),[a,m,g]},t.lch.lab=function(u){var a=u[0],l=u[1],p=u[2],h,g,m;return m=p/360*2*Math.PI,h=l*Math.cos(m),g=l*Math.sin(m),[a,h,g]},t.rgb.ansi16=function(u){var a=u[0],l=u[1],p=u[2],h=1 in arguments?arguments[1]:t.rgb.hsv(u)[2];if(h=Math.round(h/50),h===0)return 30;var g=30+(Math.round(p/255)<<2|Math.round(l/255)<<1|Math.round(a/255));return h===2&&(g+=60),g},t.hsv.ansi16=function(u){return t.rgb.ansi16(t.hsv.rgb(u),u[2])},t.rgb.ansi256=function(u){var a=u[0],l=u[1],p=u[2];if(a===l&&l===p)return a<8?16:a>248?231:Math.round((a-8)/247*24)+232;var h=16+36*Math.round(a/255*5)+6*Math.round(l/255*5)+Math.round(p/255*5);return h},t.ansi16.rgb=function(u){var a=u%10;if(a===0||a===7)return u>50&&(a+=3.5),a=a/10.5*255,[a,a,a];var l=(~~(u>50)+1)*.5,p=(a&1)*l*255,h=(a>>1&1)*l*255,g=(a>>2&1)*l*255;return[p,h,g]},t.ansi256.rgb=function(u){if(u>=232){var a=(u-232)*10+8;return[a,a,a]}u-=16;var l,p=Math.floor(u/36)/5*255,h=Math.floor((l=u%36)/6)/5*255,g=l%6/5*255;return[p,h,g]},t.rgb.hex=function(u){var a=((Math.round(u[0])&255)<<16)+((Math.round(u[1])&255)<<8)+(Math.round(u[2])&255),l=a.toString(16).toUpperCase();return"000000".substring(l.length)+l},t.hex.rgb=function(u){var a=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!a)return[0,0,0];var l=a[0];a[0].length===3&&(l=l.split("").map(function(S){return S+S}).join(""));var p=parseInt(l,16),h=p>>16&255,g=p>>8&255,m=p&255;return[h,g,m]},t.rgb.hcg=function(u){var a=u[0]/255,l=u[1]/255,p=u[2]/255,h=Math.max(Math.max(a,l),p),g=Math.min(Math.min(a,l),p),m=h-g,S,_;return m<1?S=g/(1-m):S=0,m<=0?_=0:h===a?_=(l-p)/m%6:h===l?_=2+(p-a)/m:_=4+(a-l)/m+4,_/=6,_%=1,[_*360,m*100,S*100]},t.hsl.hcg=function(u){var a=u[1]/100,l=u[2]/100,p=1,h=0;return l<.5?p=2*a*l:p=2*a*(1-l),p<1&&(h=(l-.5*p)/(1-p)),[u[0],p*100,h*100]},t.hsv.hcg=function(u){var a=u[1]/100,l=u[2]/100,p=a*l,h=0;return p<1&&(h=(l-p)/(1-p)),[u[0],p*100,h*100]},t.hcg.rgb=function(u){var a=u[0]/360,l=u[1]/100,p=u[2]/100;if(l===0)return[p*255,p*255,p*255];var h=[0,0,0],g=a%1*6,m=g%1,S=1-m,_=0;switch(Math.floor(g)){case 0:h[0]=1,h[1]=m,h[2]=0;break;case 1:h[0]=S,h[1]=1,h[2]=0;break;case 2:h[0]=0,h[1]=1,h[2]=m;break;case 3:h[0]=0,h[1]=S,h[2]=1;break;case 4:h[0]=m,h[1]=0,h[2]=1;break;default:h[0]=1,h[1]=0,h[2]=S}return _=(1-l)*p,[(l*h[0]+_)*255,(l*h[1]+_)*255,(l*h[2]+_)*255]},t.hcg.hsv=function(u){var a=u[1]/100,l=u[2]/100,p=a+l*(1-a),h=0;return p>0&&(h=a/p),[u[0],h*100,p*100]},t.hcg.hsl=function(u){var a=u[1]/100,l=u[2]/100,p=l*(1-a)+.5*a,h=0;return p>0&&p<.5?h=a/(2*p):p>=.5&&p<1&&(h=a/(2*(1-p))),[u[0],h*100,p*100]},t.hcg.hwb=function(u){var a=u[1]/100,l=u[2]/100,p=a+l*(1-a);return[u[0],(p-a)*100,(1-p)*100]},t.hwb.hcg=function(u){var a=u[1]/100,l=u[2]/100,p=1-l,h=p-a,g=0;return h<1&&(g=(p-h)/(1-h)),[u[0],h*100,g*100]},t.apple.rgb=function(u){return[u[0]/65535*255,u[1]/65535*255,u[2]/65535*255]},t.rgb.apple=function(u){return[u[0]/255*65535,u[1]/255*65535,u[2]/255*65535]},t.gray.rgb=function(u){return[u[0]/100*255,u[0]/100*255,u[0]/100*255]},t.gray.hsl=t.gray.hsv=function(u){return[0,0,u[0]]},t.gray.hwb=function(u){return[0,100,u[0]]},t.gray.cmyk=function(u){return[0,0,0,u[0]]},t.gray.lab=function(u){return[u[0],0,0]},t.gray.hex=function(u){var a=Math.round(u[0]/100*255)&255,l=(a<<16)+(a<<8)+a,p=l.toString(16).toUpperCase();return"000000".substring(p.length)+p},t.rgb.gray=function(u){var a=(u[0]+u[1]+u[2])/3;return[a/255*100]}},413238:function(y,c,e){var o=e(249703),n=e(406395),i={},t=Object.keys(o);function r(d){var v=function(u){return u==null?u:(arguments.length>1&&(u=Array.prototype.slice.call(arguments)),d(u))};return"conversion"in d&&(v.conversion=d.conversion),v}function s(d){var v=function(u){if(u==null)return u;arguments.length>1&&(u=Array.prototype.slice.call(arguments));var a=d(u);if(typeof a=="object")for(var l=a.length,p=0;pa;)if(l=v[a++],l!=l)return!0}else for(;u>a;a++)if((t||a in v)&&v[a]===s)return t||a||0;return!t&&-1}}},728099:function(y,c,e){var o=e(427259),n=e(501932)("toStringTag"),i=o(function(){return arguments}())=="Arguments",t=function(r,s){try{return r[s]}catch(d){}};y.exports=function(r){var s,d,v;return r===void 0?"Undefined":r===null?"Null":typeof(d=t(s=Object(r),n))=="string"?d:i?o(s):(v=o(s))=="Object"&&typeof s.callee=="function"?"Arguments":v}},427259:function(y){var c={}.toString;y.exports=function(e){return c.call(e).slice(8,-1)}},880535:function(y){var c=y.exports={version:"2.6.12"};typeof __e=="number"&&(__e=c)},57620:function(y,c,e){var o=e(448423);y.exports=function(n,i,t){if(o(n),i===void 0)return n;switch(t){case 1:return function(r){return n.call(i,r)};case 2:return function(r,s){return n.call(i,r,s)};case 3:return function(r,s,d){return n.call(i,r,s,d)}}return function(){return n.apply(i,arguments)}}},632926:function(y){y.exports=function(c){if(c==null)throw TypeError("Can't call method on "+c);return c}},445157:function(y,c,e){y.exports=!e(808412)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},346866:function(y,c,e){var o=e(671318),n=e(400018).document,i=o(n)&&o(n.createElement);y.exports=function(t){return i?n.createElement(t):{}}},264656:function(y){y.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},26210:function(y,c,e){var o=e(400018),n=e(880535),i=e(57620),t=e(653776),r=e(302134),s="prototype",d=function(v,u,a){var l=v&d.F,p=v&d.G,h=v&d.S,g=v&d.P,m=v&d.B,S=v&d.W,_=p?n:n[u]||(n[u]={}),C=_[s],O=p?o:h?o[u]:(o[u]||{})[s],A,x,T;p&&(a=u);for(A in a)x=!l&&O&&O[A]!==void 0,!(x&&r(_,A))&&(T=x?O[A]:a[A],_[A]=p&&typeof O[A]!="function"?a[A]:m&&x?i(T,o):S&&O[A]==T?function(R){var N=function(B,z,K){if(this instanceof R){switch(arguments.length){case 0:return new R;case 1:return new R(B);case 2:return new R(B,z)}return new R(B,z,K)}return R.apply(this,arguments)};return N[s]=R[s],N}(T):g&&typeof T=="function"?i(Function.call,T):T,g&&((_.virtual||(_.virtual={}))[A]=T,v&d.R&&C&&!C[A]&&t(C,A,T)))};d.F=1,d.G=2,d.S=4,d.P=8,d.B=16,d.W=32,d.U=64,d.R=128,y.exports=d},808412:function(y){y.exports=function(c){try{return!!c()}catch(e){return!0}}},99481:function(y,c,e){var o=e(57620),n=e(234001),i=e(204436),t=e(359258),r=e(717915),s=e(740195),d={},v={},u=y.exports=function(a,l,p,h,g){var m=g?function(){return a}:s(a),S=o(p,h,l?2:1),_=0,C,O,A,x;if(typeof m!="function")throw TypeError(a+" is not iterable!");if(i(m)){for(C=r(a.length);C>_;_++)if(x=l?S(t(O=a[_])[0],O[1]):S(a[_]),x===d||x===v)return x}else for(A=m.call(a);!(O=A.next()).done;)if(x=n(A,S,O.value,l),x===d||x===v)return x};u.BREAK=d,u.RETURN=v},400018:function(y){var c=y.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=c)},302134:function(y){var c={}.hasOwnProperty;y.exports=function(e,o){return c.call(e,o)}},653776:function(y,c,e){var o=e(232103),n=e(854074);y.exports=e(445157)?function(i,t,r){return o.f(i,t,n(1,r))}:function(i,t,r){return i[t]=r,i}},398421:function(y,c,e){var o=e(400018).document;y.exports=o&&o.documentElement},569247:function(y,c,e){y.exports=!e(445157)&&!e(808412)(function(){return Object.defineProperty(e(346866)("div"),"a",{get:function(){return 7}}).a!=7})},1331:function(y){y.exports=function(c,e,o){var n=o===void 0;switch(e.length){case 0:return n?c():c.call(o);case 1:return n?c(e[0]):c.call(o,e[0]);case 2:return n?c(e[0],e[1]):c.call(o,e[0],e[1]);case 3:return n?c(e[0],e[1],e[2]):c.call(o,e[0],e[1],e[2]);case 4:return n?c(e[0],e[1],e[2],e[3]):c.call(o,e[0],e[1],e[2],e[3])}return c.apply(o,e)}},613171:function(y,c,e){var o=e(427259);y.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return o(n)=="String"?n.split(""):Object(n)}},204436:function(y,c,e){var o=e(425264),n=e(501932)("iterator"),i=Array.prototype;y.exports=function(t){return t!==void 0&&(o.Array===t||i[n]===t)}},671318:function(y){y.exports=function(c){return typeof c=="object"?c!==null:typeof c=="function"}},234001:function(y,c,e){var o=e(359258);y.exports=function(n,i,t,r){try{return r?i(o(t)[0],t[1]):i(t)}catch(d){var s=n.return;throw s!==void 0&&o(s.call(n)),d}}},581906:function(y,c,e){"use strict";var o=e(820413),n=e(854074),i=e(405001),t={};e(653776)(t,e(501932)("iterator"),function(){return this}),y.exports=function(r,s,d){r.prototype=o(t,{next:n(1,d)}),i(r,s+" Iterator")}},826672:function(y,c,e){"use strict";var o=e(71766),n=e(26210),i=e(800668),t=e(653776),r=e(425264),s=e(581906),d=e(405001),v=e(935424),u=e(501932)("iterator"),a=!([].keys&&"next"in[].keys()),l="@@iterator",p="keys",h="values",g=function(){return this};y.exports=function(m,S,_,C,O,A,x){s(_,S,C);var T=function(J){if(!a&&J in z)return z[J];switch(J){case p:return function(){return new _(this,J)};case h:return function(){return new _(this,J)}}return function(){return new _(this,J)}},R=S+" Iterator",N=O==h,B=!1,z=m.prototype,K=z[u]||z[l]||O&&z[O],$=K||T(O),ie=O?N?T("entries"):$:void 0,V=S=="Array"&&z.entries||K,W,H,k;if(V&&(k=v(V.call(new m)),k!==Object.prototype&&k.next&&(d(k,R,!0),!o&&typeof k[u]!="function"&&t(k,u,g))),N&&K&&K.name!==h&&(B=!0,$=function(){return K.call(this)}),(!o||x)&&(a||B||!z[u])&&t(z,u,$),r[S]=$,r[R]=g,O)if(W={values:N?$:T(h),keys:A?$:T(p),entries:ie},x)for(H in W)H in z||i(z,H,W[H]);else n(n.P+n.F*(a||B),S,W);return W}},914326:function(y,c,e){var o=e(501932)("iterator"),n=!1;try{var i=[7][o]();i.return=function(){n=!0},Array.from(i,function(){throw 2})}catch(t){}y.exports=function(t,r){if(!r&&!n)return!1;var s=!1;try{var d=[7],v=d[o]();v.next=function(){return{done:s=!0}},d[o]=function(){return v},t(d)}catch(u){}return s}},436333:function(y){y.exports=function(c,e){return{value:e,done:!!c}}},425264:function(y){y.exports={}},71766:function(y){y.exports=!0},532876:function(y,c,e){var o=e(400018),n=e(117926).set,i=o.MutationObserver||o.WebKitMutationObserver,t=o.process,r=o.Promise,s=e(427259)(t)=="process";y.exports=function(){var d,v,u,a=function(){var g,m;for(s&&(g=t.domain)&&g.exit();d;){m=d.fn,d=d.next;try{m()}catch(S){throw d?u():v=void 0,S}}v=void 0,g&&g.enter()};if(s)u=function(){t.nextTick(a)};else if(i&&!(o.navigator&&o.navigator.standalone)){var l=!0,p=document.createTextNode("");new i(a).observe(p,{characterData:!0}),u=function(){p.data=l=!l}}else if(r&&r.resolve){var h=r.resolve(void 0);u=function(){h.then(a)}}else u=function(){n.call(o,a)};return function(g){var m={fn:g,next:void 0};v&&(v.next=m),d||(d=m,u()),v=m}}},699871:function(y,c,e){"use strict";var o=e(448423);function n(i){var t,r;this.promise=new i(function(s,d){if(t!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");t=s,r=d}),this.resolve=o(t),this.reject=o(r)}y.exports.f=function(i){return new n(i)}},593303:function(y,c,e){"use strict";var o=e(445157),n=e(644523),i=e(358102),t=e(964290),r=e(48467),s=e(613171),d=Object.assign;y.exports=!d||e(808412)(function(){var v={},u={},a=Symbol(),l="abcdefghijklmnopqrst";return v[a]=7,l.split("").forEach(function(p){u[p]=p}),d({},v)[a]!=7||Object.keys(d({},u)).join("")!=l})?function(u,a){for(var l=r(u),p=arguments.length,h=1,g=i.f,m=t.f;p>h;)for(var S=s(arguments[h++]),_=g?n(S).concat(g(S)):n(S),C=_.length,O=0,A;C>O;)A=_[O++],(!o||m.call(S,A))&&(l[A]=S[A]);return l}:d},820413:function(y,c,e){var o=e(359258),n=e(217030),i=e(264656),t=e(867489)("IE_PROTO"),r=function(){},s="prototype",d=function(){var v=e(346866)("iframe"),u=i.length,a="<",l=">",p;for(v.style.display="none",e(398421).appendChild(v),v.src="javascript:",p=v.contentWindow.document,p.open(),p.write(a+"script"+l+"document.F=Object"+a+"/script"+l),p.close(),d=p.F;u--;)delete d[s][i[u]];return d()};y.exports=Object.create||function(u,a){var l;return u!==null?(r[s]=o(u),l=new r,r[s]=null,l[t]=u):l=d(),a===void 0?l:n(l,a)}},232103:function(y,c,e){var o=e(359258),n=e(569247),i=e(73698),t=Object.defineProperty;c.f=e(445157)?Object.defineProperty:function(s,d,v){if(o(s),d=i(d,!0),o(v),n)try{return t(s,d,v)}catch(u){}if("get"in v||"set"in v)throw TypeError("Accessors not supported!");return"value"in v&&(s[d]=v.value),s}},217030:function(y,c,e){var o=e(232103),n=e(359258),i=e(644523);y.exports=e(445157)?Object.defineProperties:function(r,s){n(r);for(var d=i(s),v=d.length,u=0,a;v>u;)o.f(r,a=d[u++],s[a]);return r}},358102:function(y,c){c.f=Object.getOwnPropertySymbols},935424:function(y,c,e){var o=e(302134),n=e(48467),i=e(867489)("IE_PROTO"),t=Object.prototype;y.exports=Object.getPrototypeOf||function(r){return r=n(r),o(r,i)?r[i]:typeof r.constructor=="function"&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?t:null}},452265:function(y,c,e){var o=e(302134),n=e(500648),i=e(143046)(!1),t=e(867489)("IE_PROTO");y.exports=function(r,s){var d=n(r),v=0,u=[],a;for(a in d)a!=t&&o(d,a)&&u.push(a);for(;s.length>v;)o(d,a=s[v++])&&(~i(u,a)||u.push(a));return u}},644523:function(y,c,e){var o=e(452265),n=e(264656);y.exports=Object.keys||function(t){return o(t,n)}},964290:function(y,c){c.f={}.propertyIsEnumerable},234039:function(y,c,e){var o=e(445157),n=e(644523),i=e(500648),t=e(964290).f;y.exports=function(r){return function(s){for(var d=i(s),v=n(d),u=v.length,a=0,l=[],p;u>a;)p=v[a++],(!o||t.call(d,p))&&l.push(r?[p,d[p]]:d[p]);return l}}},441230:function(y){y.exports=function(c){try{return{e:!1,v:c()}}catch(e){return{e:!0,v:e}}}},786476:function(y,c,e){var o=e(359258),n=e(671318),i=e(699871);y.exports=function(t,r){if(o(t),n(r)&&r.constructor===t)return r;var s=i.f(t),d=s.resolve;return d(r),s.promise}},854074:function(y){y.exports=function(c,e){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:e}}},645270:function(y,c,e){var o=e(653776);y.exports=function(n,i,t){for(var r in i)t&&n[r]?n[r]=i[r]:o(n,r,i[r]);return n}},800668:function(y,c,e){y.exports=e(653776)},622095:function(y,c,e){"use strict";var o=e(400018),n=e(880535),i=e(232103),t=e(445157),r=e(501932)("species");y.exports=function(s){var d=typeof n[s]=="function"?n[s]:o[s];t&&d&&!d[r]&&i.f(d,r,{configurable:!0,get:function(){return this}})}},405001:function(y,c,e){var o=e(232103).f,n=e(302134),i=e(501932)("toStringTag");y.exports=function(t,r,s){t&&!n(t=s?t:t.prototype,i)&&o(t,i,{configurable:!0,value:r})}},867489:function(y,c,e){var o=e(371383)("keys"),n=e(130697);y.exports=function(i){return o[i]||(o[i]=n(i))}},371383:function(y,c,e){var o=e(880535),n=e(400018),i="__core-js_shared__",t=n[i]||(n[i]={});(y.exports=function(r,s){return t[r]||(t[r]=s!==void 0?s:{})})("versions",[]).push({version:o.version,mode:e(71766)?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},67062:function(y,c,e){var o=e(359258),n=e(448423),i=e(501932)("species");y.exports=function(t,r){var s=o(t).constructor,d;return s===void 0||(d=o(s)[i])==null?r:n(d)}},430026:function(y,c,e){var o=e(632194),n=e(632926);y.exports=function(i){return function(t,r){var s=String(n(t)),d=o(r),v=s.length,u,a;return d<0||d>=v?i?"":void 0:(u=s.charCodeAt(d),u<55296||u>56319||d+1===v||(a=s.charCodeAt(d+1))<56320||a>57343?i?s.charAt(d):u:i?s.slice(d,d+2):(u-55296<<10)+(a-56320)+65536)}}},117926:function(y,c,e){var o=e(57620),n=e(1331),i=e(398421),t=e(346866),r=e(400018),s=r.process,d=r.setImmediate,v=r.clearImmediate,u=r.MessageChannel,a=r.Dispatch,l=0,p={},h="onreadystatechange",g,m,S,_=function(){var O=+this;if(p.hasOwnProperty(O)){var A=p[O];delete p[O],A()}},C=function(O){_.call(O.data)};(!d||!v)&&(d=function(A){for(var x=[],T=1;arguments.length>T;)x.push(arguments[T++]);return p[++l]=function(){n(typeof A=="function"?A:Function(A),x)},g(l),l},v=function(A){delete p[A]},e(427259)(s)=="process"?g=function(O){s.nextTick(o(_,O,1))}:a&&a.now?g=function(O){a.now(o(_,O,1))}:u?(m=new u,S=m.port2,m.port1.onmessage=C,g=o(S.postMessage,S,1)):r.addEventListener&&typeof postMessage=="function"&&!r.importScripts?(g=function(O){r.postMessage(O+"","*")},r.addEventListener("message",C,!1)):h in t("script")?g=function(O){i.appendChild(t("script"))[h]=function(){i.removeChild(this),_.call(O)}}:g=function(O){setTimeout(o(_,O,1),0)}),y.exports={set:d,clear:v}},707223:function(y,c,e){var o=e(632194),n=Math.max,i=Math.min;y.exports=function(t,r){return t=o(t),t<0?n(t+r,0):i(t,r)}},632194:function(y){var c=Math.ceil,e=Math.floor;y.exports=function(o){return isNaN(o=+o)?0:(o>0?e:c)(o)}},500648:function(y,c,e){var o=e(613171),n=e(632926);y.exports=function(i){return o(n(i))}},717915:function(y,c,e){var o=e(632194),n=Math.min;y.exports=function(i){return i>0?n(o(i),9007199254740991):0}},48467:function(y,c,e){var o=e(632926);y.exports=function(n){return Object(o(n))}},73698:function(y,c,e){var o=e(671318);y.exports=function(n,i){if(!o(n))return n;var t,r;if(i&&typeof(t=n.toString)=="function"&&!o(r=t.call(n))||typeof(t=n.valueOf)=="function"&&!o(r=t.call(n))||!i&&typeof(t=n.toString)=="function"&&!o(r=t.call(n)))return r;throw TypeError("Can't convert object to primitive value")}},130697:function(y){var c=0,e=Math.random();y.exports=function(o){return"Symbol(".concat(o===void 0?"":o,")_",(++c+e).toString(36))}},456209:function(y,c,e){var o=e(400018),n=o.navigator;y.exports=n&&n.userAgent||""},501932:function(y,c,e){var o=e(371383)("wks"),n=e(130697),i=e(400018).Symbol,t=typeof i=="function",r=y.exports=function(s){return o[s]||(o[s]=t&&i[s]||(t?i:n)("Symbol."+s))};r.store=o},740195:function(y,c,e){var o=e(728099),n=e(501932)("iterator"),i=e(425264);y.exports=e(880535).getIteratorMethod=function(t){if(t!=null)return t[n]||t["@@iterator"]||i[o(t)]}},811850:function(y,c,e){var o=e(359258),n=e(740195);y.exports=e(880535).getIterator=function(i){var t=n(i);if(typeof t!="function")throw TypeError(i+" is not iterable!");return o(t.call(i))}},67222:function(y,c,e){var o=e(728099),n=e(501932)("iterator"),i=e(425264);y.exports=e(880535).isIterable=function(t){var r=Object(t);return r[n]!==void 0||"@@iterator"in r||i.hasOwnProperty(o(r))}},777869:function(y,c,e){"use strict";var o=e(705618),n=e(436333),i=e(425264),t=e(500648);y.exports=e(826672)(Array,"Array",function(r,s){this._t=t(r),this._i=0,this._k=s},function(){var r=this._t,s=this._k,d=this._i++;return!r||d>=r.length?(this._t=void 0,n(1)):s=="keys"?n(0,d):s=="values"?n(0,r[d]):n(0,[d,r[d]])},"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},472557:function(y,c,e){var o=e(26210);o(o.S+o.F,"Object",{assign:e(593303)})},761872:function(y,c,e){var o=e(26210);o(o.S+o.F*!e(445157),"Object",{defineProperty:e(232103).f})},431700:function(){},213202:function(y,c,e){"use strict";var o=e(71766),n=e(400018),i=e(57620),t=e(728099),r=e(26210),s=e(671318),d=e(448423),v=e(640142),u=e(99481),a=e(67062),l=e(117926).set,p=e(532876)(),h=e(699871),g=e(441230),m=e(456209),S=e(786476),_="Promise",C=n.TypeError,O=n.process,A=O&&O.versions,x=A&&A.v8||"",T=n[_],R=t(O)=="process",N=function(){},B,z,K,$,ie=z=h.f,V=!!function(){try{var re=T.resolve(1),Z=(re.constructor={})[e(501932)("species")]=function(te){te(N,N)};return(R||typeof PromiseRejectionEvent=="function")&&re.then(N)instanceof Z&&x.indexOf("6.6")!==0&&m.indexOf("Chrome/66")===-1}catch(te){}}(),W=function(re){var Z;return s(re)&&typeof(Z=re.then)=="function"?Z:!1},H=function(re,Z){if(!re._n){re._n=!0;var te=re._c;p(function(){for(var oe=re._v,Se=re._s==1,Re=0,Ke=function(Qe){var Je=Se?Qe.ok:Qe.fail,rt=Qe.resolve,Pt=Qe.reject,Wt=Qe.domain,de,Le,le;try{Je?(Se||(re._h==2&&ae(re),re._h=1),Je===!0?de=oe:(Wt&&Wt.enter(),de=Je(oe),Wt&&(Wt.exit(),le=!0)),de===Qe.promise?Pt(C("Promise-chain cycle")):(Le=W(de))?Le.call(de,rt,Pt):rt(de)):Pt(oe)}catch(Ce){Wt&&!le&&Wt.exit(),Pt(Ce)}};te.length>Re;)Ke(te[Re++]);re._c=[],re._n=!1,Z&&!re._h&&k(re)})}},k=function(re){l.call(n,function(){var Z=re._v,te=J(re),oe,Se,Re;if(te&&(oe=g(function(){R?O.emit("unhandledRejection",Z,re):(Se=n.onunhandledrejection)?Se({promise:re,reason:Z}):(Re=n.console)&&Re.error&&Re.error("Unhandled promise rejection",Z)}),re._h=R||J(re)?2:1),re._a=void 0,te&&oe.e)throw oe.v})},J=function(re){return re._h!==1&&(re._a||re._c).length===0},ae=function(re){l.call(n,function(){var Z;R?O.emit("rejectionHandled",re):(Z=n.onrejectionhandled)&&Z({promise:re,reason:re._v})})},ne=function(re){var Z=this;Z._d||(Z._d=!0,Z=Z._w||Z,Z._v=re,Z._s=2,Z._a||(Z._a=Z._c.slice()),H(Z,!0))},X=function(re){var Z=this,te;if(!Z._d){Z._d=!0,Z=Z._w||Z;try{if(Z===re)throw C("Promise can't be resolved itself");(te=W(re))?p(function(){var oe={_w:Z,_d:!1};try{te.call(re,i(X,oe,1),i(ne,oe,1))}catch(Se){ne.call(oe,Se)}}):(Z._v=re,Z._s=1,H(Z,!1))}catch(oe){ne.call({_w:Z,_d:!1},oe)}}};V||(T=function(Z){v(this,T,_,"_h"),d(Z),B.call(this);try{Z(i(X,this,1),i(ne,this,1))}catch(te){ne.call(this,te)}},B=function(Z){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},B.prototype=e(645270)(T.prototype,{then:function(Z,te){var oe=ie(a(this,T));return oe.ok=typeof Z=="function"?Z:!0,oe.fail=typeof te=="function"&&te,oe.domain=R?O.domain:void 0,this._c.push(oe),this._a&&this._a.push(oe),this._s&&H(this,!1),oe.promise},catch:function(re){return this.then(void 0,re)}}),K=function(){var re=new B;this.promise=re,this.resolve=i(X,re,1),this.reject=i(ne,re,1)},h.f=ie=function(re){return re===T||re===$?new K(re):z(re)}),r(r.G+r.W+r.F*!V,{Promise:T}),e(405001)(T,_),e(622095)(_),$=e(880535)[_],r(r.S+r.F*!V,_,{reject:function(Z){var te=ie(this),oe=te.reject;return oe(Z),te.promise}}),r(r.S+r.F*(o||!V),_,{resolve:function(Z){return S(o&&this===$?T:this,Z)}}),r(r.S+r.F*!(V&&e(914326)(function(re){T.all(re).catch(N)})),_,{all:function(Z){var te=this,oe=ie(te),Se=oe.resolve,Re=oe.reject,Ke=g(function(){var Qe=[],Je=0,rt=1;u(Z,!1,function(Pt){var Wt=Je++,de=!1;Qe.push(void 0),rt++,te.resolve(Pt).then(function(Le){de||(de=!0,Qe[Wt]=Le,--rt||Se(Qe))},Re)}),--rt||Se(Qe)});return Ke.e&&Re(Ke.v),oe.promise},race:function(Z){var te=this,oe=ie(te),Se=oe.reject,Re=g(function(){u(Z,!1,function(Ke){te.resolve(Ke).then(oe.resolve,Se)})});return Re.e&&Se(Re.v),oe.promise}})},537323:function(y,c,e){"use strict";var o=e(430026)(!0);e(826672)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n=this._t,i=this._i,t;return i>=n.length?{value:void 0,done:!0}:(t=o(n,i),this._i+=t.length,{value:t,done:!1})})},434719:function(y,c,e){var o=e(26210),n=e(234039)(!0);o(o.S,"Object",{entries:function(t){return n(t)}})},968329:function(y,c,e){"use strict";var o=e(26210),n=e(880535),i=e(400018),t=e(67062),r=e(786476);o(o.P+o.R,"Promise",{finally:function(s){var d=t(this,n.Promise||i.Promise),v=typeof s=="function";return this.then(v?function(u){return r(d,s()).then(function(){return u})}:s,v?function(u){return r(d,s()).then(function(){throw u})}:s)}})},182827:function(y,c,e){"use strict";var o=e(26210),n=e(699871),i=e(441230);o(o.S,"Promise",{try:function(t){var r=n.f(this),s=i(t);return(s.e?r.reject:r.resolve)(s.v),r.promise}})},506869:function(y,c,e){e(777869);for(var o=e(400018),n=e(653776),i=e(425264),t=e(501932)("toStringTag"),r="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),s=0;s2?arguments[2]:void 0,g=r((h===void 0?a:n(h,a))-p,a-l),m=1;for(p0;)p in u?u[l]=u[p]:t(u,l),l+=m,p+=m;return u}},73272:function(y,c,e){"use strict";var o=e(180240),n=e(292054),i=e(220446);y.exports=function(r){for(var s=o(this),d=i(s),v=arguments.length,u=n(v>1?arguments[1]:void 0,d),a=v>2?arguments[2]:void 0,l=a===void 0?d:n(a,d);l>u;)s[u++]=r;return s}},216686:function(y,c,e){"use strict";var o=e(105497).forEach,n=e(384090),i=n("forEach");y.exports=i?[].forEach:function(r){return o(this,r,arguments.length>1?arguments[1]:void 0)}},523450:function(y,c,e){"use strict";var o=e(930415),n=e(50067),i=e(180240),t=e(220617),r=e(336636),s=e(87922),d=e(220446),v=e(934973),u=e(307871),a=e(438619),l=Array;y.exports=function(h){var g=i(h),m=s(this),S=arguments.length,_=S>1?arguments[1]:void 0,C=_!==void 0;C&&(_=o(_,S>2?arguments[2]:void 0));var O=a(g),A=0,x,T,R,N,B,z;if(O&&!(this===l&&r(O)))for(N=u(g,O),B=N.next,T=m?new this:[];!(R=n(B,N)).done;A++)z=C?t(N,_,[R.value,A],!0):R.value,v(T,A,z);else for(x=d(g),T=m?new this(x):l(x);x>A;A++)z=C?_(g[A],A):g[A],v(T,A,z);return T.length=A,T}},373465:function(y,c,e){var o=e(610508),n=e(292054),i=e(220446),t=function(r){return function(s,d,v){var u=o(s),a=i(u),l=n(v,a),p;if(r&&d!=d){for(;a>l;)if(p=u[l++],p!=p)return!0}else for(;a>l;l++)if((r||l in u)&&u[l]===d)return r||l||0;return!r&&-1}};y.exports={includes:t(!0),indexOf:t(!1)}},748409:function(y,c,e){var o=e(930415),n=e(187719),i=e(180240),t=e(220446),r=function(s){var d=s==1;return function(v,u,a){for(var l=i(v),p=n(l),h=o(u,a),g=t(p),m,S;g-- >0;)if(m=p[g],S=h(m,g,l),S)switch(s){case 0:return m;case 1:return g}return d?-1:void 0}};y.exports={findLast:r(0),findLastIndex:r(1)}},105497:function(y,c,e){var o=e(930415),n=e(497315),i=e(187719),t=e(180240),r=e(220446),s=e(389794),d=n([].push),v=function(u){var a=u==1,l=u==2,p=u==3,h=u==4,g=u==6,m=u==7,S=u==5||g;return function(_,C,O,A){for(var x=t(_),T=i(x),R=o(C,O),N=r(T),B=0,z=A||s,K=a?z(_,N):l||m?z(_,0):void 0,$,ie;N>B;B++)if((S||B in T)&&($=T[B],ie=R($,B,x),u))if(a)K[B]=ie;else if(ie)switch(u){case 3:return!0;case 5:return $;case 6:return B;case 2:d(K,$)}else switch(u){case 4:return!1;case 7:d(K,$)}return g?-1:p||h?h:K}};y.exports={forEach:v(0),map:v(1),filter:v(2),some:v(3),every:v(4),find:v(5),findIndex:v(6),filterReject:v(7)}},329984:function(y,c,e){"use strict";var o=e(200111),n=e(610508),i=e(92257),t=e(220446),r=e(384090),s=Math.min,d=[].lastIndexOf,v=!!d&&1/[1].lastIndexOf(1,-0)<0,u=r("lastIndexOf"),a=v||!u;y.exports=a?function(p){if(v)return o(d,this,arguments)||0;var h=n(this),g=t(h),m=g-1;for(arguments.length>1&&(m=s(m,i(arguments[1]))),m<0&&(m=g+m);m>=0;m--)if(m in h&&h[m]===p)return m||0;return-1}:d},610518:function(y,c,e){var o=e(105978),n=e(540496),i=e(465263),t=n("species");y.exports=function(r){return i>=51||!o(function(){var s=[],d=s.constructor={};return d[t]=function(){return{foo:1}},s[r](Boolean).foo!==1})}},384090:function(y,c,e){"use strict";var o=e(105978);y.exports=function(n,i){var t=[][n];return!!t&&o(function(){t.call(null,i||function(){return 1},1)})}},305467:function(y,c,e){var o=e(215852),n=e(180240),i=e(187719),t=e(220446),r=TypeError,s=function(d){return function(v,u,a,l){o(u);var p=n(v),h=i(p),g=t(p),m=d?g-1:0,S=d?-1:1;if(a<2)for(;;){if(m in h){l=h[m],m+=S;break}if(m+=S,d?m<0:g<=m)throw r("Reduce of empty array with no initial value")}for(;d?m>=0:g>m;m+=S)m in h&&(l=u(l,h[m],m,p));return l}};y.exports={left:s(!1),right:s(!0)}},739965:function(y,c,e){"use strict";var o=e(427156),n=e(358329),i=TypeError,t=Object.getOwnPropertyDescriptor,r=o&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(s){return s instanceof TypeError}}();y.exports=r?function(s,d){if(n(s)&&!t(s,"length").writable)throw i("Cannot set read only .length");return s.length=d}:function(s,d){return s.length=d}},198040:function(y,c,e){var o=e(292054),n=e(220446),i=e(934973),t=Array,r=Math.max;y.exports=function(s,d,v){for(var u=n(s),a=o(d,u),l=o(v===void 0?u:v,u),p=t(r(l-a,0)),h=0;a0;)s[l]=s[--l];l!==u++&&(s[l]=a)}return s},r=function(s,d,v,u){for(var a=d.length,l=v.length,p=0,h=0;p1?arguments[1]:void 0),ie;ie=ie?ie.next:K.first;)for($(ie.value,ie.key,this);ie&&ie.removed;)ie=ie.previous},has:function(z){return!!N(this,z)}}),i(x,C?{get:function(z){var K=N(this,z);return K&&K.value},set:function(z,K){return R(this,z===0?0:z,K)}}:{add:function(z){return R(this,z=z===0?0:z,z)}}),l&&o(x,"size",{get:function(){return T(this).size}}),A},setStrong:function(S,_,C){var O=_+" Iterator",A=m(_),x=m(O);v(S,_,function(T,R){g(this,{type:O,target:T,state:A(T),kind:R,last:void 0})},function(){for(var T=x(this),R=T.kind,N=T.last;N&&N.removed;)N=N.previous;return!T.target||!(T.last=N=N?N.next:T.state.first)?(T.target=void 0,u(void 0,!0)):R=="keys"?u(N.key,!1):R=="values"?u(N.value,!1):u([N.key,N.value],!1)},C?"entries":"values",!C,!0),a(_)}}},574002:function(y,c,e){"use strict";var o=e(532380),n=e(636979),i=e(497315),t=e(221970),r=e(148134),s=e(578483),d=e(705664),v=e(819767),u=e(760331),a=e(261602),l=e(97865),p=e(105978),h=e(920972),g=e(553837),m=e(785783);y.exports=function(S,_,C){var O=S.indexOf("Map")!==-1,A=S.indexOf("Weak")!==-1,x=O?"set":"add",T=n[S],R=T&&T.prototype,N=T,B={},z=function(k){var J=i(R[k]);r(R,k,k=="add"?function(ne){return J(this,ne===0?0:ne),this}:k=="delete"?function(ae){return A&&!l(ae)?!1:J(this,ae===0?0:ae)}:k=="get"?function(ne){return A&&!l(ne)?void 0:J(this,ne===0?0:ne)}:k=="has"?function(ne){return A&&!l(ne)?!1:J(this,ne===0?0:ne)}:function(ne,X){return J(this,ne===0?0:ne,X),this})},K=t(S,!u(T)||!(A||R.forEach&&!p(function(){new T().entries().next()})));if(K)N=C.getConstructor(_,S,O,x),s.enable();else if(t(S,!0)){var $=new N,ie=$[x](A?{}:-0,1)!=$,V=p(function(){$.has(1)}),W=h(function(k){new T(k)}),H=!A&&p(function(){for(var k=new T,J=5;J--;)k[x](J,J);return!k.has(-0)});W||(N=_(function(k,J){v(k,R);var ae=m(new T,k,N);return a(J)||d(J,ae[x],{that:ae,AS_ENTRIES:O}),ae}),N.prototype=R,R.constructor=N),(V||H)&&(z("delete"),z("has"),O&&z("get")),(H||ie)&&z(x),A&&R.clear&&delete R.clear}return B[S]=N,o({global:!0,constructor:!0,forced:N!=T},B),g(N,S),A||C.setStrong(N,S,O),N}},375932:function(y,c,e){var o=e(955553),n=e(781271),i=e(522281),t=e(723314);y.exports=function(r,s,d){for(var v=n(s),u=t.f,a=i.f,l=0;l"+a+""}},282012:function(y){y.exports=function(c,e){return{value:c,done:e}}},847146:function(y,c,e){var o=e(427156),n=e(723314),i=e(581927);y.exports=o?function(t,r,s){return n.f(t,r,i(1,s))}:function(t,r,s){return t[r]=s,t}},581927:function(y){y.exports=function(c,e){return{enumerable:!(c&1),configurable:!(c&2),writable:!(c&4),value:e}}},934973:function(y,c,e){"use strict";var o=e(438978),n=e(723314),i=e(581927);y.exports=function(t,r,s){var d=o(r);d in t?n.f(t,d,i(0,s)):t[d]=s}},772030:function(y,c,e){var o=e(370859),n=e(723314);y.exports=function(i,t,r){return r.get&&o(r.get,t,{getter:!0}),r.set&&o(r.set,t,{setter:!0}),n.f(i,t,r)}},148134:function(y,c,e){var o=e(760331),n=e(723314),i=e(370859),t=e(904158);y.exports=function(r,s,d,v){v||(v={});var u=v.enumerable,a=v.name!==void 0?v.name:s;if(o(d)&&i(d,a,v),v.global)u?r[s]=d:t(s,d);else{try{v.unsafe?r[s]&&(u=!0):delete r[s]}catch(l){}u?r[s]=d:n.f(r,s,{value:d,enumerable:!1,configurable:!v.nonConfigurable,writable:!v.nonWritable})}return r}},142352:function(y,c,e){var o=e(148134);y.exports=function(n,i,t){for(var r in i)o(n,r,i[r],t);return n}},904158:function(y,c,e){var o=e(636979),n=Object.defineProperty;y.exports=function(i,t){try{n(o,i,{value:t,configurable:!0,writable:!0})}catch(r){o[i]=t}return t}},245077:function(y,c,e){"use strict";var o=e(458978),n=TypeError;y.exports=function(i,t){if(!delete i[t])throw n("Cannot delete property "+o(t)+" of "+o(i))}},427156:function(y,c,e){var o=e(105978);y.exports=!o(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},239082:function(y){var c=typeof document=="object"&&document.all,e=typeof c=="undefined"&&c!==void 0;y.exports={all:c,IS_HTMLDDA:e}},362877:function(y,c,e){var o=e(636979),n=e(97865),i=o.document,t=n(i)&&n(i.createElement);y.exports=function(r){return t?i.createElement(r):{}}},557168:function(y){var c=TypeError,e=9007199254740991;y.exports=function(o){if(o>e)throw c("Maximum allowed index exceeded");return o}},59118:function(y){y.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},67278:function(y,c,e){var o=e(362877),n=o("span").classList,i=n&&n.constructor&&n.constructor.prototype;y.exports=i===Object.prototype?void 0:i},525635:function(y,c,e){var o=e(117088),n=o.match(/firefox\/(\d+)/i);y.exports=!!n&&+n[1]},276817:function(y,c,e){var o=e(881093),n=e(453025);y.exports=!o&&!n&&typeof window=="object"&&typeof document=="object"},881093:function(y){y.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},568753:function(y,c,e){var o=e(117088);y.exports=/MSIE|Trident/.test(o)},148094:function(y,c,e){var o=e(117088),n=e(636979);y.exports=/ipad|iphone|ipod/i.test(o)&&n.Pebble!==void 0},392329:function(y,c,e){var o=e(117088);y.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(o)},453025:function(y,c,e){var o=e(155124),n=e(636979);y.exports=o(n.process)=="process"},474401:function(y,c,e){var o=e(117088);y.exports=/web0s(?!.*chrome)/i.test(o)},117088:function(y,c,e){var o=e(174883);y.exports=o("navigator","userAgent")||""},465263:function(y,c,e){var o=e(636979),n=e(117088),i=o.process,t=o.Deno,r=i&&i.versions||t&&t.version,s=r&&r.v8,d,v;s&&(d=s.split("."),v=d[0]>0&&d[0]<4?1:+(d[0]+d[1])),!v&&n&&(d=n.match(/Edge\/(\d+)/),(!d||d[1]>=74)&&(d=n.match(/Chrome\/(\d+)/),d&&(v=+d[1]))),y.exports=v},799539:function(y,c,e){var o=e(117088),n=o.match(/AppleWebKit\/(\d+)\./);y.exports=!!n&&+n[1]},615339:function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},12374:function(y,c,e){var o=e(497315),n=Error,i=o("".replace),t=function(d){return String(n(d).stack)}("zxcasd"),r=/\n\s*at [^:]*:[^\n]*/,s=r.test(t);y.exports=function(d,v){if(s&&typeof d=="string"&&!n.prepareStackTrace)for(;v--;)d=i(d,r,"");return d}},577887:function(y,c,e){var o=e(105978),n=e(581927);y.exports=!o(function(){var i=Error("a");return"stack"in i?(Object.defineProperty(i,"stack",n(1,7)),i.stack!==7):!0})},532380:function(y,c,e){var o=e(636979),n=e(522281).f,i=e(847146),t=e(148134),r=e(904158),s=e(375932),d=e(221970);y.exports=function(v,u){var a=v.target,l=v.global,p=v.stat,h,g,m,S,_,C;if(l?g=o:p?g=o[a]||r(a,{}):g=(o[a]||{}).prototype,g)for(m in u){if(_=u[m],v.dontCallGetSet?(C=n(g,m),S=C&&C.value):S=g[m],h=d(l?m:a+(p?".":"#")+m,v.forced),!h&&S!==void 0){if(typeof _==typeof S)continue;s(_,S)}(v.sham||S&&S.sham)&&i(_,"sham",!0),t(g,m,_,v)}}},105978:function(y){y.exports=function(c){try{return!!c()}catch(e){return!0}}},822739:function(y,c,e){"use strict";e(59892);var o=e(497315),n=e(148134),i=e(563595),t=e(105978),r=e(540496),s=e(847146),d=r("species"),v=RegExp.prototype;y.exports=function(u,a,l,p){var h=r(u),g=!t(function(){var C={};return C[h]=function(){return 7},""[u](C)!=7}),m=g&&!t(function(){var C=!1,O=/a/;return u==="split"&&(O={},O.constructor={},O.constructor[d]=function(){return O},O.flags="",O[h]=/./[h]),O.exec=function(){return C=!0,null},O[h](""),!C});if(!g||!m||l){var S=o(/./[h]),_=a(h,""[u],function(C,O,A,x,T){var R=o(C),N=O.exec;return N===i||N===v.exec?g&&!T?{done:!0,value:S(O,A,x)}:{done:!0,value:R(A,O,x)}:{done:!1}});n(String.prototype,u,_[0]),n(v,h,_[1])}p&&s(v[h],"sham",!0)}},890010:function(y,c,e){"use strict";var o=e(358329),n=e(220446),i=e(557168),t=e(930415),r=function(s,d,v,u,a,l,p,h){for(var g=a,m=0,S=p?t(p,h):!1,_,C;m0&&o(_)?(C=n(_),g=r(s,d,_,C,g,l-1)-1):(i(g+1),s[g]=_),g++),m++;return g};y.exports=r},775219:function(y,c,e){var o=e(105978);y.exports=!o(function(){return Object.isExtensible(Object.preventExtensions({}))})},200111:function(y,c,e){var o=e(4192),n=Function.prototype,i=n.apply,t=n.call;y.exports=typeof Reflect=="object"&&Reflect.apply||(o?t.bind(i):function(){return t.apply(i,arguments)})},930415:function(y,c,e){var o=e(497315),n=e(215852),i=e(4192),t=o(o.bind);y.exports=function(r,s){return n(r),s===void 0?r:i?t(r,s):function(){return r.apply(s,arguments)}}},4192:function(y,c,e){var o=e(105978);y.exports=!o(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},50067:function(y,c,e){var o=e(4192),n=Function.prototype.call;y.exports=o?n.bind(n):function(){return n.apply(n,arguments)}},877902:function(y,c,e){var o=e(427156),n=e(955553),i=Function.prototype,t=o&&Object.getOwnPropertyDescriptor,r=n(i,"name"),s=r&&function(){}.name==="something",d=r&&(!o||o&&t(i,"name").configurable);y.exports={EXISTS:r,PROPER:s,CONFIGURABLE:d}},677e3:function(y,c,e){var o=e(4192),n=Function.prototype,i=n.call,t=o&&n.bind.bind(i,i);y.exports=o?t:function(r){return function(){return i.apply(r,arguments)}}},497315:function(y,c,e){var o=e(155124),n=e(677e3);y.exports=function(i){if(o(i)==="Function")return n(i)}},174883:function(y,c,e){var o=e(636979),n=e(760331),i=function(t){return n(t)?t:void 0};y.exports=function(t,r){return arguments.length<2?i(o[t]):o[t]&&o[t][r]}},438619:function(y,c,e){var o=e(473070),n=e(917293),i=e(261602),t=e(347909),r=e(540496),s=r("iterator");y.exports=function(d){if(!i(d))return n(d,s)||n(d,"@@iterator")||t[o(d)]}},307871:function(y,c,e){var o=e(50067),n=e(215852),i=e(454776),t=e(458978),r=e(438619),s=TypeError;y.exports=function(d,v){var u=arguments.length<2?r(d):v;if(n(u))return i(o(u,d));throw s(t(d)+" is not iterable")}},917293:function(y,c,e){var o=e(215852),n=e(261602);y.exports=function(i,t){var r=i[t];return n(r)?void 0:o(r)}},719501:function(y,c,e){var o=e(497315),n=e(180240),i=Math.floor,t=o("".charAt),r=o("".replace),s=o("".slice),d=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,v=/\$([$&'`]|\d{1,2})/g;y.exports=function(u,a,l,p,h,g){var m=l+u.length,S=p.length,_=v;return h!==void 0&&(h=n(h),_=d),r(g,_,function(C,O){var A;switch(t(O,0)){case"$":return"$";case"&":return u;case"`":return s(a,0,l);case"'":return s(a,m);case"<":A=h[s(O,1,-1)];break;default:var x=+O;if(x===0)return C;if(x>S){var T=i(x/10);return T===0?C:T<=S?p[T-1]===void 0?t(O,1):p[T-1]+t(O,1):C}A=p[x-1]}return A===void 0?"":A})}},636979:function(y,c,e){var o=function(n){return n&&n.Math==Math&&n};y.exports=o(typeof globalThis=="object"&&globalThis)||o(typeof window=="object"&&window)||o(typeof self=="object"&&self)||o(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},955553:function(y,c,e){var o=e(497315),n=e(180240),i=o({}.hasOwnProperty);y.exports=Object.hasOwn||function(r,s){return i(n(r),s)}},347889:function(y){y.exports={}},243593:function(y,c,e){var o=e(636979);y.exports=function(n,i){var t=o.console;t&&t.error&&(arguments.length==1?t.error(n):t.error(n,i))}},186299:function(y,c,e){var o=e(174883);y.exports=o("document","documentElement")},458661:function(y,c,e){var o=e(427156),n=e(105978),i=e(362877);y.exports=!o&&!n(function(){return Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a!=7})},187719:function(y,c,e){var o=e(497315),n=e(105978),i=e(155124),t=Object,r=o("".split);y.exports=n(function(){return!t("z").propertyIsEnumerable(0)})?function(s){return i(s)=="String"?r(s,""):t(s)}:t},785783:function(y,c,e){var o=e(760331),n=e(97865),i=e(900296);y.exports=function(t,r,s){var d,v;return i&&o(d=r.constructor)&&d!==s&&n(v=d.prototype)&&v!==s.prototype&&i(t,v),t}},653843:function(y,c,e){var o=e(497315),n=e(760331),i=e(614735),t=o(Function.toString);n(i.inspectSource)||(i.inspectSource=function(r){return t(r)}),y.exports=i.inspectSource},936757:function(y,c,e){var o=e(97865),n=e(847146);y.exports=function(i,t){o(t)&&"cause"in t&&n(i,"cause",t.cause)}},578483:function(y,c,e){var o=e(532380),n=e(497315),i=e(347889),t=e(97865),r=e(955553),s=e(723314).f,d=e(834078),v=e(188275),u=e(211031),a=e(870068),l=e(775219),p=!1,h=a("meta"),g=0,m=function(x){s(x,h,{value:{objectID:"O"+g++,weakData:{}}})},S=function(x,T){if(!t(x))return typeof x=="symbol"?x:(typeof x=="string"?"S":"P")+x;if(!r(x,h)){if(!u(x))return"F";if(!T)return"E";m(x)}return x[h].objectID},_=function(x,T){if(!r(x,h)){if(!u(x))return!0;if(!T)return!1;m(x)}return x[h].weakData},C=function(x){return l&&p&&u(x)&&!r(x,h)&&m(x),x},O=function(){A.enable=function(){},p=!0;var x=d.f,T=n([].splice),R={};R[h]=1,x(R).length&&(d.f=function(N){for(var B=x(N),z=0,K=B.length;zB;B++)if(K=W(g[B]),K&&d(h,K))return K;return new p(!1)}R=v(g,N)}for($=O?g.next:R.next;!(ie=n($,R)).done;){try{K=W(ie.value)}catch(H){a(R,"throw",H)}if(typeof K=="object"&&K&&d(h,K))return K}return new p(!1)}},46564:function(y,c,e){var o=e(50067),n=e(454776),i=e(917293);y.exports=function(t,r,s){var d,v;n(t);try{if(d=i(t,"return"),!d){if(r==="throw")throw s;return s}d=o(d,t)}catch(u){v=!0,d=u}if(r==="throw")throw s;if(v)throw d;return n(d),s}},843674:function(y,c,e){"use strict";var o=e(959706).IteratorPrototype,n=e(171197),i=e(581927),t=e(553837),r=e(347909),s=function(){return this};y.exports=function(d,v,u,a){var l=v+" Iterator";return d.prototype=n(o,{next:i(+!a,u)}),t(d,l,!1,!0),r[l]=s,d}},227235:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(471746),t=e(877902),r=e(760331),s=e(843674),d=e(95938),v=e(900296),u=e(553837),a=e(847146),l=e(148134),p=e(540496),h=e(347909),g=e(959706),m=t.PROPER,S=t.CONFIGURABLE,_=g.IteratorPrototype,C=g.BUGGY_SAFARI_ITERATORS,O=p("iterator"),A="keys",x="values",T="entries",R=function(){return this};y.exports=function(N,B,z,K,$,ie,V){s(z,B,K);var W=function(oe){if(oe===$&&ne)return ne;if(!C&&oe in J)return J[oe];switch(oe){case A:return function(){return new z(this,oe)};case x:return function(){return new z(this,oe)};case T:return function(){return new z(this,oe)}}return function(){return new z(this)}},H=B+" Iterator",k=!1,J=N.prototype,ae=J[O]||J["@@iterator"]||$&&J[$],ne=!C&&ae||W($),X=B=="Array"&&J.entries||ae,re,Z,te;if(X&&(re=d(X.call(new N)),re!==Object.prototype&&re.next&&(!i&&d(re)!==_&&(v?v(re,_):r(re[O])||l(re,O,R)),u(re,H,!0,!0),i&&(h[H]=R))),m&&$==x&&ae&&ae.name!==x&&(!i&&S?a(J,"name",x):(k=!0,ne=function(){return n(ae,this)})),$)if(Z={values:W(x),keys:ie?ne:W(A),entries:W(T)},V)for(te in Z)(C||k||!(te in J))&&l(J,te,Z[te]);else o({target:B,proto:!0,forced:C||k},Z);return(!i||V)&&J[O]!==ne&&l(J,O,ne,{name:$}),h[B]=ne,Z}},959706:function(y,c,e){"use strict";var o=e(105978),n=e(760331),i=e(97865),t=e(171197),r=e(95938),s=e(148134),d=e(540496),v=e(471746),u=d("iterator"),a=!1,l,p,h;[].keys&&(h=[].keys(),"next"in h?(p=r(r(h)),p!==Object.prototype&&(l=p)):a=!0);var g=!i(l)||o(function(){var m={};return l[u].call(m)!==m});g?l={}:v&&(l=t(l)),n(l[u])||s(l,u,function(){return this}),y.exports={IteratorPrototype:l,BUGGY_SAFARI_ITERATORS:a}},347909:function(y){y.exports={}},220446:function(y,c,e){var o=e(350093);y.exports=function(n){return o(n.length)}},370859:function(y,c,e){var o=e(105978),n=e(760331),i=e(955553),t=e(427156),r=e(877902).CONFIGURABLE,s=e(653843),d=e(347846),v=d.enforce,u=d.get,a=Object.defineProperty,l=t&&!o(function(){return a(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),h=y.exports=function(g,m,S){String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),S&&S.getter&&(m="get "+m),S&&S.setter&&(m="set "+m),(!i(g,"name")||r&&g.name!==m)&&(t?a(g,"name",{value:m,configurable:!0}):g.name=m),l&&S&&i(S,"arity")&&g.length!==S.arity&&a(g,"length",{value:S.arity});try{S&&i(S,"constructor")&&S.constructor?t&&a(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch(C){}var _=v(g);return i(_,"source")||(_.source=p.join(typeof m=="string"?m:"")),g};Function.prototype.toString=h(function(){return n(this)&&u(this).source||s(this)},"toString")},664229:function(y){var c=Math.ceil,e=Math.floor;y.exports=Math.trunc||function(n){var i=+n;return(i>0?e:c)(i)}},880987:function(y,c,e){var o=e(636979),n=e(930415),i=e(522281).f,t=e(471667).set,r=e(392329),s=e(148094),d=e(474401),v=e(453025),u=o.MutationObserver||o.WebKitMutationObserver,a=o.document,l=o.process,p=o.Promise,h=i(o,"queueMicrotask"),g=h&&h.value,m,S,_,C,O,A,x,T;g||(m=function(){var R,N;for(v&&(R=l.domain)&&R.exit();S;){N=S.fn,S=S.next;try{N()}catch(B){throw S?C():_=void 0,B}}_=void 0,R&&R.enter()},!r&&!v&&!d&&u&&a?(O=!0,A=a.createTextNode(""),new u(m).observe(A,{characterData:!0}),C=function(){A.data=O=!O}):!s&&p&&p.resolve?(x=p.resolve(void 0),x.constructor=p,T=n(x.then,x),C=function(){T(m)}):v?C=function(){l.nextTick(m)}:(t=n(t,o),C=function(){t(m)})),y.exports=g||function(R){var N={fn:R,next:void 0};_&&(_.next=N),S||(S=N,C()),_=N}},121683:function(y,c,e){"use strict";var o=e(215852),n=TypeError,i=function(t){var r,s;this.promise=new t(function(d,v){if(r!==void 0||s!==void 0)throw n("Bad Promise constructor");r=d,s=v}),this.resolve=o(r),this.reject=o(s)};y.exports.f=function(t){return new i(t)}},455778:function(y,c,e){var o=e(227876);y.exports=function(n,i){return n===void 0?arguments.length<2?"":i:o(n)}},970188:function(y,c,e){var o=e(994553),n=TypeError;y.exports=function(i){if(o(i))throw n("The method doesn't accept regular expressions");return i}},974650:function(y,c,e){"use strict";var o=e(427156),n=e(497315),i=e(50067),t=e(105978),r=e(385378),s=e(306760),d=e(17446),v=e(180240),u=e(187719),a=Object.assign,l=Object.defineProperty,p=n([].concat);y.exports=!a||t(function(){if(o&&a({b:1},a(l({},"a",{enumerable:!0,get:function(){l(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var h={},g={},m=Symbol(),S="abcdefghijklmnopqrst";return h[m]=7,S.split("").forEach(function(_){g[_]=_}),a({},h)[m]!=7||r(a({},g)).join("")!=S})?function(g,m){for(var S=v(g),_=arguments.length,C=1,O=s.f,A=d.f;_>C;)for(var x=u(arguments[C++]),T=O?p(r(x),O(x)):r(x),R=T.length,N=0,B;R>N;)B=T[N++],(!o||i(A,x,B))&&(S[B]=x[B]);return S}:a},171197:function(y,c,e){var o=e(454776),n=e(49802),i=e(615339),t=e(347889),r=e(186299),s=e(362877),d=e(598784),v=">",u="<",a="prototype",l="script",p=d("IE_PROTO"),h=function(){},g=function(O){return u+l+v+O+u+"/"+l+v},m=function(O){O.write(g("")),O.close();var A=O.parentWindow.Object;return O=null,A},S=function(){var O=s("iframe"),A="java"+l+":",x;return O.style.display="none",r.appendChild(O),O.src=String(A),x=O.contentWindow.document,x.open(),x.write(g("document.F=Object")),x.close(),x.F},_,C=function(){try{_=new ActiveXObject("htmlfile")}catch(A){}C=typeof document!="undefined"?document.domain&&_?m(_):S():m(_);for(var O=i.length;O--;)delete C[a][i[O]];return C()};t[p]=!0,y.exports=Object.create||function(A,x){var T;return A!==null?(h[a]=o(A),T=new h,h[a]=null,T[p]=A):T=C(),x===void 0?T:n.f(T,x)}},49802:function(y,c,e){var o=e(427156),n=e(265641),i=e(723314),t=e(454776),r=e(610508),s=e(385378);c.f=o&&!n?Object.defineProperties:function(v,u){t(v);for(var a=r(u),l=s(u),p=l.length,h=0,g;p>h;)i.f(v,g=l[h++],a[g]);return v}},723314:function(y,c,e){var o=e(427156),n=e(458661),i=e(265641),t=e(454776),r=e(438978),s=TypeError,d=Object.defineProperty,v=Object.getOwnPropertyDescriptor,u="enumerable",a="configurable",l="writable";c.f=o?i?function(h,g,m){if(t(h),g=r(g),t(m),typeof h=="function"&&g==="prototype"&&"value"in m&&l in m&&!m[l]){var S=v(h,g);S&&S[l]&&(h[g]=m.value,m={configurable:a in m?m[a]:S[a],enumerable:u in m?m[u]:S[u],writable:!1})}return d(h,g,m)}:d:function(h,g,m){if(t(h),g=r(g),t(m),n)try{return d(h,g,m)}catch(S){}if("get"in m||"set"in m)throw s("Accessors not supported");return"value"in m&&(h[g]=m.value),h}},522281:function(y,c,e){var o=e(427156),n=e(50067),i=e(17446),t=e(581927),r=e(610508),s=e(438978),d=e(955553),v=e(458661),u=Object.getOwnPropertyDescriptor;c.f=o?u:function(l,p){if(l=r(l),p=s(p),v)try{return u(l,p)}catch(h){}if(d(l,p))return t(!n(i.f,l,p),l[p])}},188275:function(y,c,e){var o=e(155124),n=e(610508),i=e(834078).f,t=e(198040),r=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],s=function(d){try{return i(d)}catch(v){return t(r)}};y.exports.f=function(v){return r&&o(v)=="Window"?s(v):i(n(v))}},834078:function(y,c,e){var o=e(84576),n=e(615339),i=n.concat("length","prototype");c.f=Object.getOwnPropertyNames||function(r){return o(r,i)}},306760:function(y,c){c.f=Object.getOwnPropertySymbols},95938:function(y,c,e){var o=e(955553),n=e(760331),i=e(180240),t=e(598784),r=e(78200),s=t("IE_PROTO"),d=Object,v=d.prototype;y.exports=r?d.getPrototypeOf:function(u){var a=i(u);if(o(a,s))return a[s];var l=a.constructor;return n(l)&&a instanceof l?l.prototype:a instanceof d?v:null}},211031:function(y,c,e){var o=e(105978),n=e(97865),i=e(155124),t=e(551405),r=Object.isExtensible,s=o(function(){r(1)});y.exports=s||t?function(v){return!n(v)||t&&i(v)=="ArrayBuffer"?!1:r?r(v):!0}:r},393535:function(y,c,e){var o=e(497315);y.exports=o({}.isPrototypeOf)},84576:function(y,c,e){var o=e(497315),n=e(955553),i=e(610508),t=e(373465).indexOf,r=e(347889),s=o([].push);y.exports=function(d,v){var u=i(d),a=0,l=[],p;for(p in u)!n(r,p)&&n(u,p)&&s(l,p);for(;v.length>a;)n(u,p=v[a++])&&(~t(l,p)||s(l,p));return l}},385378:function(y,c,e){var o=e(84576),n=e(615339);y.exports=Object.keys||function(t){return o(t,n)}},17446:function(y,c){"use strict";var e={}.propertyIsEnumerable,o=Object.getOwnPropertyDescriptor,n=o&&!e.call({1:2},1);c.f=n?function(t){var r=o(this,t);return!!r&&r.enumerable}:e},426135:function(y,c,e){"use strict";var o=e(471746),n=e(636979),i=e(105978),t=e(799539);y.exports=o||!i(function(){if(!(t&&t<535)){var r=Math.random();__defineSetter__.call(null,r,function(){}),delete n[r]}})},900296:function(y,c,e){var o=e(497315),n=e(454776),i=e(579812);y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,r={},s;try{s=o(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),s(r,[]),t=r instanceof Array}catch(d){}return function(v,u){return n(v),i(u),t?s(v,u):v.__proto__=u,v}}():void 0)},313223:function(y,c,e){var o=e(427156),n=e(497315),i=e(385378),t=e(610508),r=e(17446).f,s=n(r),d=n([].push),v=function(u){return function(a){for(var l=t(a),p=i(l),h=p.length,g=0,m=[],S;h>g;)S=p[g++],(!o||s(l,S))&&d(m,u?[S,l[S]]:l[S]);return m}};y.exports={entries:v(!0),values:v(!1)}},206964:function(y,c,e){"use strict";var o=e(337620),n=e(473070);y.exports=o?{}.toString:function(){return"[object "+n(this)+"]"}},433926:function(y,c,e){var o=e(50067),n=e(760331),i=e(97865),t=TypeError;y.exports=function(r,s){var d,v;if(s==="string"&&n(d=r.toString)&&!i(v=o(d,r))||n(d=r.valueOf)&&!i(v=o(d,r))||s!=="string"&&n(d=r.toString)&&!i(v=o(d,r)))return v;throw t("Can't convert object to primitive value")}},781271:function(y,c,e){var o=e(174883),n=e(497315),i=e(834078),t=e(306760),r=e(454776),s=n([].concat);y.exports=o("Reflect","ownKeys")||function(v){var u=i.f(r(v)),a=t.f;return a?s(u,a(v)):u}},626003:function(y,c,e){var o=e(636979);y.exports=o},86866:function(y){y.exports=function(c){try{return{error:!1,value:c()}}catch(e){return{error:!0,value:e}}}},630705:function(y,c,e){var o=e(636979),n=e(879707),i=e(760331),t=e(221970),r=e(653843),s=e(540496),d=e(276817),v=e(881093),u=e(471746),a=e(465263),l=n&&n.prototype,p=s("species"),h=!1,g=i(o.PromiseRejectionEvent),m=t("Promise",function(){var S=r(n),_=S!==String(n);if(!_&&a===66||u&&!(l.catch&&l.finally))return!0;if(!a||a<51||!/native code/.test(S)){var C=new n(function(x){x(1)}),O=function(x){x(function(){},function(){})},A=C.constructor={};if(A[p]=O,h=C.then(function(){})instanceof O,!h)return!0}return!_&&(d||v)&&!g});y.exports={CONSTRUCTOR:m,REJECTION_EVENT:g,SUBCLASSING:h}},879707:function(y,c,e){var o=e(636979);y.exports=o.Promise},301503:function(y,c,e){var o=e(454776),n=e(97865),i=e(121683);y.exports=function(t,r){if(o(t),n(r)&&r.constructor===t)return r;var s=i.f(t),d=s.resolve;return d(r),s.promise}},267933:function(y,c,e){var o=e(879707),n=e(920972),i=e(630705).CONSTRUCTOR;y.exports=i||!n(function(t){o.all(t).then(void 0,function(){})})},512482:function(y){var c=function(){this.head=null,this.tail=null};c.prototype={add:function(e){var o={item:e,next:null};this.head?this.tail.next=o:this.head=o,this.tail=o},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},y.exports=c},609757:function(y,c,e){var o=e(50067),n=e(454776),i=e(760331),t=e(155124),r=e(563595),s=TypeError;y.exports=function(d,v){var u=d.exec;if(i(u)){var a=o(u,d,v);return a!==null&&n(a),a}if(t(d)==="RegExp")return o(r,d,v);throw s("RegExp#exec called on incompatible receiver")}},563595:function(y,c,e){"use strict";var o=e(50067),n=e(497315),i=e(227876),t=e(971155),r=e(131245),s=e(938117),d=e(171197),v=e(347846).get,u=e(94691),a=e(636625),l=s("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,h=p,g=n("".charAt),m=n("".indexOf),S=n("".replace),_=n("".slice),C=function(){var T=/a/,R=/b*/g;return o(p,T,"a"),o(p,R,"a"),T.lastIndex!==0||R.lastIndex!==0}(),O=r.BROKEN_CARET,A=/()??/.exec("")[1]!==void 0,x=C||A||O||u||a;x&&(h=function(R){var N=this,B=v(N),z=i(R),K=B.raw,$,ie,V,W,H,k,J;if(K)return K.lastIndex=N.lastIndex,$=o(h,K,z),N.lastIndex=K.lastIndex,$;var ae=B.groups,ne=O&&N.sticky,X=o(t,N),re=N.source,Z=0,te=z;if(ne&&(X=S(X,"y",""),m(X,"g")===-1&&(X+="g"),te=_(z,N.lastIndex),N.lastIndex>0&&(!N.multiline||N.multiline&&g(z,N.lastIndex-1)!=="\n")&&(re="(?: "+re+")",te=" "+te,Z++),ie=new RegExp("^(?:"+re+")",X)),A&&(ie=new RegExp("^"+re+"$(?!\\s)",X)),C&&(V=N.lastIndex),W=o(p,ne?ie:N,te),ne?W?(W.input=_(W.input,Z),W[0]=_(W[0],Z),W.index=N.lastIndex,N.lastIndex+=W[0].length):N.lastIndex=0:C&&W&&(N.lastIndex=N.global?W.index+W[0].length:V),A&&W&&W.length>1&&o(l,W[0],ie,function(){for(H=1;Hb)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"})},8511:function(y,c,e){var o=e(261602),n=TypeError;y.exports=function(i){if(o(i))throw n("Can't call method on "+i);return i}},217311:function(y){y.exports=Object.is||function(e,o){return e===o?e!==0||1/e===1/o:e!=e&&o!=o}},812135:function(y,c,e){"use strict";var o=e(174883),n=e(723314),i=e(540496),t=e(427156),r=i("species");y.exports=function(s){var d=o(s),v=n.f;t&&d&&!d[r]&&v(d,r,{configurable:!0,get:function(){return this}})}},553837:function(y,c,e){var o=e(723314).f,n=e(955553),i=e(540496),t=i("toStringTag");y.exports=function(r,s,d){r&&!d&&(r=r.prototype),r&&!n(r,t)&&o(r,t,{configurable:!0,value:s})}},598784:function(y,c,e){var o=e(938117),n=e(870068),i=o("keys");y.exports=function(t){return i[t]||(i[t]=n(t))}},614735:function(y,c,e){var o=e(636979),n=e(904158),i="__core-js_shared__",t=o[i]||n(i,{});y.exports=t},938117:function(y,c,e){var o=e(471746),n=e(614735);(y.exports=function(i,t){return n[i]||(n[i]=t!==void 0?t:{})})("versions",[]).push({version:"3.26.0",mode:o?"pure":"global",copyright:"\xA9 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE",source:"https://github.com/zloirock/core-js"})},407973:function(y,c,e){var o=e(454776),n=e(694770),i=e(261602),t=e(540496),r=t("species");y.exports=function(s,d){var v=o(s).constructor,u;return v===void 0||i(u=o(v)[r])?d:n(u)}},887240:function(y,c,e){var o=e(105978);y.exports=function(n){return o(function(){var i=""[n]('"');return i!==i.toLowerCase()||i.split('"').length>3})}},630192:function(y,c,e){var o=e(497315),n=e(92257),i=e(227876),t=e(8511),r=o("".charAt),s=o("".charCodeAt),d=o("".slice),v=function(u){return function(a,l){var p=i(t(a)),h=n(l),g=p.length,m,S;return h<0||h>=g?u?"":void 0:(m=s(p,h),m<55296||m>56319||h+1===g||(S=s(p,h+1))<56320||S>57343?u?r(p,h):m:u?d(p,h,h+2):(m-55296<<10)+(S-56320)+65536)}};y.exports={codeAt:v(!1),charAt:v(!0)}},614693:function(y,c,e){var o=e(117088);y.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(o)},973803:function(y,c,e){var o=e(497315),n=e(350093),i=e(227876),t=e(842632),r=e(8511),s=o(t),d=o("".slice),v=Math.ceil,u=function(a){return function(l,p,h){var g=i(r(l)),m=n(p),S=g.length,_=h===void 0?" ":i(h),C,O;return m<=S||_==""?g:(C=m-S,O=s(_,v(C/_.length)),O.length>C&&(O=d(O,0,C)),a?g+O:O+g)}};y.exports={start:u(!1),end:u(!0)}},842632:function(y,c,e){"use strict";var o=e(92257),n=e(227876),i=e(8511),t=RangeError;y.exports=function(s){var d=n(i(this)),v="",u=o(s);if(u<0||u==1/0)throw t("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(d+=d))u&1&&(v+=d);return v}},95019:function(y,c,e){"use strict";var o=e(390056).end,n=e(782410);y.exports=n("trimEnd")?function(){return o(this)}:"".trimEnd},782410:function(y,c,e){var o=e(877902).PROPER,n=e(105978),i=e(892622),t="\u200B\x85\u180E";y.exports=function(r){return n(function(){return!!i[r]()||t[r]()!==t||o&&i[r].name!==r})}},954230:function(y,c,e){"use strict";var o=e(390056).start,n=e(782410);y.exports=n("trimStart")?function(){return o(this)}:"".trimStart},390056:function(y,c,e){var o=e(497315),n=e(8511),i=e(227876),t=e(892622),r=o("".replace),s="["+t+"]",d=RegExp("^"+s+s+"*"),v=RegExp(s+s+"*$"),u=function(a){return function(l){var p=i(n(l));return a&1&&(p=r(p,d,"")),a&2&&(p=r(p,v,"")),p}};y.exports={start:u(1),end:u(2),trim:u(3)}},789539:function(y,c,e){var o=e(465263),n=e(105978);y.exports=!!Object.getOwnPropertySymbols&&!n(function(){var i=Symbol();return!String(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&o&&o<41})},857262:function(y,c,e){var o=e(50067),n=e(174883),i=e(540496),t=e(148134);y.exports=function(){var r=n("Symbol"),s=r&&r.prototype,d=s&&s.valueOf,v=i("toPrimitive");s&&!s[v]&&t(s,v,function(u){return o(d,this)},{arity:1})}},166548:function(y,c,e){var o=e(789539);y.exports=o&&!!Symbol.for&&!!Symbol.keyFor},471667:function(y,c,e){var o=e(636979),n=e(200111),i=e(930415),t=e(760331),r=e(955553),s=e(105978),d=e(186299),v=e(880805),u=e(362877),a=e(64668),l=e(392329),p=e(453025),h=o.setImmediate,g=o.clearImmediate,m=o.process,S=o.Dispatch,_=o.Function,C=o.MessageChannel,O=o.String,A=0,x={},T="onreadystatechange",R,N,B,z;try{R=o.location}catch(W){}var K=function(W){if(r(x,W)){var H=x[W];delete x[W],H()}},$=function(W){return function(){K(W)}},ie=function(W){K(W.data)},V=function(W){o.postMessage(O(W),R.protocol+"//"+R.host)};(!h||!g)&&(h=function(H){a(arguments.length,1);var k=t(H)?H:_(H),J=v(arguments,1);return x[++A]=function(){n(k,void 0,J)},N(A),A},g=function(H){delete x[H]},p?N=function(W){m.nextTick($(W))}:S&&S.now?N=function(W){S.now($(W))}:C&&!l?(B=new C,z=B.port2,B.port1.onmessage=ie,N=i(z.postMessage,z)):o.addEventListener&&t(o.postMessage)&&!o.importScripts&&R&&R.protocol!=="file:"&&!s(V)?(N=V,o.addEventListener("message",ie,!1)):T in u("script")?N=function(W){d.appendChild(u("script"))[T]=function(){d.removeChild(this),K(W)}}:N=function(W){setTimeout($(W),0)}),y.exports={set:h,clear:g}},292054:function(y,c,e){var o=e(92257),n=Math.max,i=Math.min;y.exports=function(t,r){var s=o(t);return s<0?n(s+r,0):i(s,r)}},610508:function(y,c,e){var o=e(187719),n=e(8511);y.exports=function(i){return o(n(i))}},92257:function(y,c,e){var o=e(664229);y.exports=function(n){var i=+n;return i!==i||i===0?0:o(i)}},350093:function(y,c,e){var o=e(92257),n=Math.min;y.exports=function(i){return i>0?n(o(i),9007199254740991):0}},180240:function(y,c,e){var o=e(8511),n=Object;y.exports=function(i){return n(o(i))}},585822:function(y,c,e){var o=e(50067),n=e(97865),i=e(818652),t=e(917293),r=e(433926),s=e(540496),d=TypeError,v=s("toPrimitive");y.exports=function(u,a){if(!n(u)||i(u))return u;var l=t(u,v),p;if(l){if(a===void 0&&(a="default"),p=o(l,u,a),!n(p)||i(p))return p;throw d("Can't convert object to primitive value")}return a===void 0&&(a="number"),r(u,a)}},438978:function(y,c,e){var o=e(585822),n=e(818652);y.exports=function(i){var t=o(i,"string");return n(t)?t:t+""}},337620:function(y,c,e){var o=e(540496),n=o("toStringTag"),i={};i[n]="z",y.exports=String(i)==="[object z]"},227876:function(y,c,e){var o=e(473070),n=String;y.exports=function(i){if(o(i)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return n(i)}},458978:function(y){var c=String;y.exports=function(e){try{return c(e)}catch(o){return"Object"}}},870068:function(y,c,e){var o=e(497315),n=0,i=Math.random(),t=o(1 .toString);y.exports=function(r){return"Symbol("+(r===void 0?"":r)+")_"+t(++n+i,36)}},217525:function(y,c,e){var o=e(105978),n=e(540496),i=e(471746),t=n("iterator");y.exports=!o(function(){var r=new URL("b?a=1&b=2&c=3","http://a"),s=r.searchParams,d="";return r.pathname="c%20d",s.forEach(function(v,u){s.delete("b"),d+=u+v}),i&&!r.toJSON||!s.sort||r.href!=="http://a/c%20d?a=1&c=3"||s.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!s[t]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("http://\u0442\u0435\u0441\u0442").host!=="xn--e1aybc"||new URL("http://a#\u0431").hash!=="#%D0%B1"||d!=="a1c3"||new URL("http://x",void 0).host!=="x"})},984772:function(y,c,e){var o=e(789539);y.exports=o&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},265641:function(y,c,e){var o=e(427156),n=e(105978);y.exports=o&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},64668:function(y){var c=TypeError;y.exports=function(e,o){if(e2?arguments[2]:void 0,N=n(O,this),B;t?B=t(S(),N?i(this):O):(B=N?this:s(O),d(B,m,"Error")),T!==void 0&&d(B,"message",p(T)),g&&d(B,"stack",u(B.stack,1)),a(B,R);var z=[];return l(x,_,{that:z}),d(B,"errors",z),B};t?t(C,S):r(C,S,{name:!0});var O=C.prototype=s(S.prototype,{constructor:v(1,C),message:v(1,""),name:v(1,"AggregateError")});o({global:!0,constructor:!0,arity:2},{AggregateError:C})},353485:function(y,c,e){e(507027)},132506:function(y,c,e){"use strict";var o=e(532380),n=e(180240),i=e(220446),t=e(92257),r=e(287637);o({target:"Array",proto:!0},{at:function(d){var v=n(this),u=i(v),a=t(d),l=a>=0?a:u+a;return l<0||l>=u?void 0:v[l]}}),r("at")},75106:function(y,c,e){"use strict";var o=e(532380),n=e(105978),i=e(358329),t=e(97865),r=e(180240),s=e(220446),d=e(557168),v=e(934973),u=e(389794),a=e(610518),l=e(540496),p=e(465263),h=l("isConcatSpreadable"),g=p>=51||!n(function(){var C=[];return C[h]=!1,C.concat()[0]!==C}),m=a("concat"),S=function(C){if(!t(C))return!1;var O=C[h];return O!==void 0?!!O:i(C)},_=!g||!m;o({target:"Array",proto:!0,arity:1,forced:_},{concat:function(O){var A=r(this),x=u(A,0),T=0,R,N,B,z,K;for(R=-1,B=arguments.length;R1?arguments[1]:void 0)}})},859266:function(y,c,e){var o=e(532380),n=e(73272),i=e(287637);o({target:"Array",proto:!0},{fill:n}),i("fill")},160548:function(y,c,e){"use strict";var o=e(532380),n=e(105497).filter,i=e(610518),t=i("filter");o({target:"Array",proto:!0,forced:!t},{filter:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},153889:function(y,c,e){"use strict";var o=e(532380),n=e(105497).findIndex,i=e(287637),t="findIndex",r=!0;t in[]&&Array(1)[t](function(){r=!1}),o({target:"Array",proto:!0,forced:r},{findIndex:function(d){return n(this,d,arguments.length>1?arguments[1]:void 0)}}),i(t)},334074:function(y,c,e){"use strict";var o=e(532380),n=e(748409).findLastIndex,i=e(287637);o({target:"Array",proto:!0},{findLastIndex:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),i("findLastIndex")},982066:function(y,c,e){"use strict";var o=e(532380),n=e(748409).findLast,i=e(287637);o({target:"Array",proto:!0},{findLast:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),i("findLast")},997338:function(y,c,e){"use strict";var o=e(532380),n=e(105497).find,i=e(287637),t="find",r=!0;t in[]&&Array(1)[t](function(){r=!1}),o({target:"Array",proto:!0,forced:r},{find:function(d){return n(this,d,arguments.length>1?arguments[1]:void 0)}}),i(t)},421786:function(y,c,e){"use strict";var o=e(532380),n=e(890010),i=e(215852),t=e(180240),r=e(220446),s=e(389794);o({target:"Array",proto:!0},{flatMap:function(v){var u=t(this),a=r(u),l;return i(v),l=s(u,0),l.length=n(l,u,u,a,0,1,v,arguments.length>1?arguments[1]:void 0),l}})},453920:function(y,c,e){"use strict";var o=e(532380),n=e(890010),i=e(180240),t=e(220446),r=e(92257),s=e(389794);o({target:"Array",proto:!0},{flat:function(){var v=arguments.length?arguments[0]:void 0,u=i(this),a=t(u),l=s(u,0);return l.length=n(l,u,u,a,0,v===void 0?1:r(v)),l}})},188078:function(y,c,e){"use strict";var o=e(532380),n=e(216686);o({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},195052:function(y,c,e){var o=e(532380),n=e(523450),i=e(920972),t=!i(function(r){Array.from(r)});o({target:"Array",stat:!0,forced:t},{from:n})},226670:function(y,c,e){"use strict";var o=e(532380),n=e(373465).includes,i=e(105978),t=e(287637),r=i(function(){return!Array(1).includes()});o({target:"Array",proto:!0,forced:r},{includes:function(d){return n(this,d,arguments.length>1?arguments[1]:void 0)}}),t("includes")},449436:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(373465).indexOf,t=e(384090),r=n([].indexOf),s=!!r&&1/r([1],1,-0)<0,d=t("indexOf");o({target:"Array",proto:!0,forced:s||!d},{indexOf:function(u){var a=arguments.length>1?arguments[1]:void 0;return s?r(this,u,a)||0:i(this,u,a)}})},577753:function(y,c,e){var o=e(532380),n=e(358329);o({target:"Array",stat:!0},{isArray:n})},340053:function(y,c,e){"use strict";var o=e(610508),n=e(287637),i=e(347909),t=e(347846),r=e(723314).f,s=e(227235),d=e(282012),v=e(471746),u=e(427156),a="Array Iterator",l=t.set,p=t.getterFor(a);y.exports=s(Array,"Array",function(g,m){l(this,{type:a,target:o(g),index:0,kind:m})},function(){var g=p(this),m=g.target,S=g.kind,_=g.index++;return!m||_>=m.length?(g.target=void 0,d(void 0,!0)):S=="keys"?d(_,!1):S=="values"?d(m[_],!1):d([_,m[_]],!1)},"values");var h=i.Arguments=i.Array;if(n("keys"),n("values"),n("entries"),!v&&u&&h.name!=="values")try{r(h,"name",{value:"values"})}catch(g){}},491871:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(187719),t=e(610508),r=e(384090),s=n([].join),d=i!=Object,v=r("join",",");o({target:"Array",proto:!0,forced:d||!v},{join:function(a){return s(t(this),a===void 0?",":a)}})},849498:function(y,c,e){var o=e(532380),n=e(329984);o({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},921282:function(y,c,e){"use strict";var o=e(532380),n=e(105497).map,i=e(610518),t=i("map");o({target:"Array",proto:!0,forced:!t},{map:function(s){return n(this,s,arguments.length>1?arguments[1]:void 0)}})},817380:function(y,c,e){"use strict";var o=e(532380),n=e(105978),i=e(87922),t=e(934973),r=Array,s=n(function(){function d(){}return!(r.of.call(d)instanceof d)});o({target:"Array",stat:!0,forced:s},{of:function(){for(var v=0,u=arguments.length,a=new(i(this)?this:r)(u);u>v;)t(a,v,arguments[v++]);return a.length=u,a}})},523010:function(y,c,e){"use strict";var o=e(532380),n=e(180240),i=e(220446),t=e(739965),r=e(557168),s=e(105978),d=s(function(){return[].push.call({length:4294967296},1)!==4294967297}),v=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(u){return u instanceof TypeError}}();o({target:"Array",proto:!0,arity:1,forced:d||v},{push:function(a){var l=n(this),p=i(l),h=arguments.length;r(p+h);for(var g=0;g79&&t<83;o({target:"Array",proto:!0,forced:!s||d},{reduceRight:function(u){return n(this,u,arguments.length,arguments.length>1?arguments[1]:void 0)}})},559038:function(y,c,e){"use strict";var o=e(532380),n=e(305467).left,i=e(384090),t=e(465263),r=e(453025),s=i("reduce"),d=!r&&t>79&&t<83;o({target:"Array",proto:!0,forced:!s||d},{reduce:function(u){var a=arguments.length;return n(this,u,a,a>1?arguments[1]:void 0)}})},457860:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(358329),t=n([].reverse),r=[1,2];o({target:"Array",proto:!0,forced:String(r)===String(r.reverse())},{reverse:function(){return i(this)&&(this.length=this.length),t(this)}})},980336:function(y,c,e){"use strict";var o=e(532380),n=e(358329),i=e(87922),t=e(97865),r=e(292054),s=e(220446),d=e(610508),v=e(934973),u=e(540496),a=e(610518),l=e(880805),p=a("slice"),h=u("species"),g=Array,m=Math.max;o({target:"Array",proto:!0,forced:!p},{slice:function(_,C){var O=d(this),A=s(O),x=r(_,A),T=r(C===void 0?A:C,A),R,N,B;if(n(O)&&(R=O.constructor,i(R)&&(R===g||n(R.prototype))?R=void 0:t(R)&&(R=R[h],R===null&&(R=void 0)),R===g||R===void 0))return l(O,x,T);for(N=new(R===void 0?g:R)(m(T-x,0)),B=0;x1?arguments[1]:void 0)}})},999418:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(215852),t=e(180240),r=e(220446),s=e(245077),d=e(227876),v=e(105978),u=e(485062),a=e(384090),l=e(525635),p=e(568753),h=e(465263),g=e(799539),m=[],S=n(m.sort),_=n(m.push),C=v(function(){m.sort(void 0)}),O=v(function(){m.sort(null)}),A=a("sort"),x=!v(function(){if(h)return h<70;if(!(l&&l>3)){if(p)return!0;if(g)return g<603;var N="",B,z,K,$;for(B=65;B<76;B++){switch(z=String.fromCharCode(B),B){case 66:case 69:case 70:case 72:K=3;break;case 68:case 71:K=4;break;default:K=2}for($=0;$<47;$++)m.push({k:z+$,v:K})}for(m.sort(function(ie,V){return V.v-ie.v}),$=0;$d(z)?1:-1}};o({target:"Array",proto:!0,forced:T},{sort:function(B){B!==void 0&&i(B);var z=t(this);if(x)return B===void 0?S(z):S(z,B);var K=[],$=r(z),ie,V;for(V=0;V<$;V++)V in z&&_(K,z[V]);for(u(K,R(B)),ie=r(K),V=0;VO-R+T;B--)a(C,B-1)}else if(T>R)for(B=O-R;B>A;B--)z=B+R-1,K=B+T-1,z in C?C[K]=C[z]:a(C,K);for(B=0;Bh;)m=a(u,g=l[h++]),m!==void 0&&s(p,g,m);return p}})},645e3:function(y,c,e){var o=e(532380),n=e(105978),i=e(188275).f,t=n(function(){return!Object.getOwnPropertyNames(1)});o({target:"Object",stat:!0,forced:t},{getOwnPropertyNames:i})},430877:function(y,c,e){var o=e(532380),n=e(789539),i=e(105978),t=e(306760),r=e(180240),s=!n||i(function(){t.f(1)});o({target:"Object",stat:!0,forced:s},{getOwnPropertySymbols:function(v){var u=t.f;return u?u(r(v)):[]}})},420907:function(y,c,e){var o=e(532380),n=e(105978),i=e(180240),t=e(95938),r=e(78200),s=n(function(){t(1)});o({target:"Object",stat:!0,forced:s,sham:!r},{getPrototypeOf:function(v){return t(i(v))}})},917632:function(y,c,e){var o=e(532380),n=e(955553);o({target:"Object",stat:!0},{hasOwn:n})},171258:function(y,c,e){var o=e(532380),n=e(211031);o({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},355931:function(y,c,e){var o=e(532380),n=e(105978),i=e(97865),t=e(155124),r=e(551405),s=Object.isFrozen,d=n(function(){s(1)});o({target:"Object",stat:!0,forced:d||r},{isFrozen:function(u){return!i(u)||r&&t(u)=="ArrayBuffer"?!0:s?s(u):!1}})},950508:function(y,c,e){var o=e(532380),n=e(105978),i=e(97865),t=e(155124),r=e(551405),s=Object.isSealed,d=n(function(){s(1)});o({target:"Object",stat:!0,forced:d||r},{isSealed:function(u){return!i(u)||r&&t(u)=="ArrayBuffer"?!0:s?s(u):!1}})},55415:function(y,c,e){var o=e(532380),n=e(217311);o({target:"Object",stat:!0},{is:n})},863875:function(y,c,e){var o=e(532380),n=e(180240),i=e(385378),t=e(105978),r=t(function(){i(1)});o({target:"Object",stat:!0,forced:r},{keys:function(d){return i(n(d))}})},524650:function(y,c,e){"use strict";var o=e(532380),n=e(427156),i=e(426135),t=e(180240),r=e(438978),s=e(95938),d=e(522281).f;n&&o({target:"Object",proto:!0,forced:i},{__lookupGetter__:function(u){var a=t(this),l=r(u),p;do if(p=d(a,l))return p.get;while(a=s(a))}})},774963:function(y,c,e){"use strict";var o=e(532380),n=e(427156),i=e(426135),t=e(180240),r=e(438978),s=e(95938),d=e(522281).f;n&&o({target:"Object",proto:!0,forced:i},{__lookupSetter__:function(u){var a=t(this),l=r(u),p;do if(p=d(a,l))return p.set;while(a=s(a))}})},353465:function(y,c,e){var o=e(532380),n=e(97865),i=e(578483).onFreeze,t=e(775219),r=e(105978),s=Object.preventExtensions,d=r(function(){s(1)});o({target:"Object",stat:!0,forced:d,sham:!t},{preventExtensions:function(u){return s&&n(u)?s(i(u)):u}})},676227:function(y,c,e){"use strict";var o=e(427156),n=e(772030),i=e(97865),t=e(180240),r=e(8511),s=Object.getPrototypeOf,d=Object.setPrototypeOf,v=Object.prototype,u="__proto__";if(o&&s&&d&&!(u in v))try{n(v,u,{configurable:!0,get:function(){return s(t(this))},set:function(l){var p=r(this);!i(l)&&l!==null||!i(p)||d(p,l)}})}catch(a){}},417420:function(y,c,e){var o=e(532380),n=e(97865),i=e(578483).onFreeze,t=e(775219),r=e(105978),s=Object.seal,d=r(function(){s(1)});o({target:"Object",stat:!0,forced:d,sham:!t},{seal:function(u){return s&&n(u)?s(i(u)):u}})},325500:function(y,c,e){var o=e(532380),n=e(900296);o({target:"Object",stat:!0},{setPrototypeOf:n})},460703:function(y,c,e){var o=e(337620),n=e(148134),i=e(206964);o||n(Object.prototype,"toString",i,{unsafe:!0})},572410:function(y,c,e){var o=e(532380),n=e(313223).values;o({target:"Object",stat:!0},{values:function(t){return n(t)}})},62677:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(215852),t=e(121683),r=e(86866),s=e(705664);o({target:"Promise",stat:!0},{allSettled:function(v){var u=this,a=t.f(u),l=a.resolve,p=a.reject,h=r(function(){var g=i(u.resolve),m=[],S=0,_=1;s(v,function(C){var O=S++,A=!1;_++,n(g,u,C).then(function(x){A||(A=!0,m[O]={status:"fulfilled",value:x},--_||l(m))},function(x){A||(A=!0,m[O]={status:"rejected",reason:x},--_||l(m))})}),--_||l(m)});return h.error&&p(h.value),a.promise}})},639866:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(215852),t=e(121683),r=e(86866),s=e(705664),d=e(267933);o({target:"Promise",stat:!0,forced:d},{all:function(u){var a=this,l=t.f(a),p=l.resolve,h=l.reject,g=r(function(){var m=i(a.resolve),S=[],_=0,C=1;s(u,function(O){var A=_++,x=!1;C++,n(m,a,O).then(function(T){x||(x=!0,S[A]=T,--C||p(S))},h)}),--C||p(S)});return g.error&&h(g.value),l.promise}})},732638:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(215852),t=e(174883),r=e(121683),s=e(86866),d=e(705664),v="No one promise resolved";o({target:"Promise",stat:!0},{any:function(a){var l=this,p=t("AggregateError"),h=r.f(l),g=h.resolve,m=h.reject,S=s(function(){var _=i(l.resolve),C=[],O=0,A=1,x=!1;d(a,function(T){var R=O++,N=!1;A++,n(_,l,T).then(function(B){N||x||(x=!0,g(B))},function(B){N||x||(N=!0,C[R]=B,--A||m(new p(C,v)))})}),--A||m(new p(C,v))});return S.error&&m(S.value),h.promise}})},664338:function(y,c,e){"use strict";var o=e(532380),n=e(471746),i=e(630705).CONSTRUCTOR,t=e(879707),r=e(174883),s=e(760331),d=e(148134),v=t&&t.prototype;if(o({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(a){return this.then(void 0,a)}}),!n&&s(t)){var u=r("Promise").prototype.catch;v.catch!==u&&d(v,"catch",u,{unsafe:!0})}},942771:function(y,c,e){"use strict";var o=e(532380),n=e(471746),i=e(453025),t=e(636979),r=e(50067),s=e(148134),d=e(900296),v=e(553837),u=e(812135),a=e(215852),l=e(760331),p=e(97865),h=e(819767),g=e(407973),m=e(471667).set,S=e(880987),_=e(243593),C=e(86866),O=e(512482),A=e(347846),x=e(879707),T=e(630705),R=e(121683),N="Promise",B=T.CONSTRUCTOR,z=T.REJECTION_EVENT,K=T.SUBCLASSING,$=A.getterFor(N),ie=A.set,V=x&&x.prototype,W=x,H=V,k=t.TypeError,J=t.document,ae=t.process,ne=R.f,X=ne,re=!!(J&&J.createEvent&&t.dispatchEvent),Z="unhandledrejection",te="rejectionhandled",oe=0,Se=1,Re=2,Ke=1,Qe=2,Je,rt,Pt,Wt,de=function(gt){var Ot;return p(gt)&&l(Ot=gt.then)?Ot:!1},Le=function(gt,Ot){var Fe=Ot.value,Ve=Ot.state==Se,se=Ve?gt.ok:gt.fail,fe=gt.resolve,pe=gt.reject,xe=gt.domain,Me,je,Xe;try{se?(Ve||(Ot.rejection===Qe&&Ie(Ot),Ot.rejection=Ke),se===!0?Me=Fe:(xe&&xe.enter(),Me=se(Fe),xe&&(xe.exit(),Xe=!0)),Me===gt.promise?pe(k("Promise-chain cycle")):(je=de(Me))?r(je,Me,fe,pe):fe(Me)):pe(Fe)}catch(st){xe&&!Xe&&xe.exit(),pe(st)}},le=function(gt,Ot){gt.notified||(gt.notified=!0,S(function(){for(var Fe=gt.reactions,Ve;Ve=Fe.get();)Le(Ve,gt);gt.notified=!1,Ot&&!gt.rejection&&Ne(gt)}))},Ce=function(gt,Ot,Fe){var Ve,se;re?(Ve=J.createEvent("Event"),Ve.promise=Ot,Ve.reason=Fe,Ve.initEvent(gt,!1,!0),t.dispatchEvent(Ve)):Ve={promise:Ot,reason:Fe},!z&&(se=t["on"+gt])?se(Ve):gt===Z&&_("Unhandled promise rejection",Fe)},Ne=function(gt){r(m,t,function(){var Ot=gt.facade,Fe=gt.value,Ve=Ee(gt),se;if(Ve&&(se=C(function(){i?ae.emit("unhandledRejection",Fe,Ot):Ce(Z,Ot,Fe)}),gt.rejection=i||Ee(gt)?Qe:Ke,se.error))throw se.value})},Ee=function(gt){return gt.rejection!==Ke&&!gt.parent},Ie=function(gt){r(m,t,function(){var Ot=gt.facade;i?ae.emit("rejectionHandled",Ot):Ce(te,Ot,gt.value)})},dt=function(gt,Ot,Fe){return function(Ve){gt(Ot,Ve,Fe)}},xt=function(gt,Ot,Fe){gt.done||(gt.done=!0,Fe&&(gt=Fe),gt.value=Ot,gt.state=Re,le(gt,!0))},It=function(gt,Ot,Fe){if(!gt.done){gt.done=!0,Fe&&(gt=Fe);try{if(gt.facade===Ot)throw k("Promise can't be resolved itself");var Ve=de(Ot);Ve?S(function(){var se={done:!1};try{r(Ve,Ot,dt(It,se,gt),dt(xt,se,gt))}catch(fe){xt(se,fe,gt)}}):(gt.value=Ot,gt.state=Se,le(gt,!1))}catch(se){xt({done:!1},se,gt)}}};if(B&&(W=function(Ot){h(this,H),a(Ot),r(Je,this);var Fe=$(this);try{Ot(dt(It,Fe),dt(xt,Fe))}catch(Ve){xt(Fe,Ve)}},H=W.prototype,Je=function(Ot){ie(this,{type:N,done:!1,notified:!1,parent:!1,reactions:new O,rejection:!1,state:oe,value:void 0})},Je.prototype=s(H,"then",function(Ot,Fe){var Ve=$(this),se=ne(g(this,W));return Ve.parent=!0,se.ok=l(Ot)?Ot:!0,se.fail=l(Fe)&&Fe,se.domain=i?ae.domain:void 0,Ve.state==oe?Ve.reactions.add(se):S(function(){Le(se,Ve)}),se.promise}),rt=function(){var gt=new Je,Ot=$(gt);this.promise=gt,this.resolve=dt(It,Ot),this.reject=dt(xt,Ot)},R.f=ne=function(gt){return gt===W||gt===Pt?new rt(gt):X(gt)},!n&&l(x)&&V!==Object.prototype)){Wt=V.then,K||s(V,"then",function(Ot,Fe){var Ve=this;return new W(function(se,fe){r(Wt,Ve,se,fe)}).then(Ot,Fe)},{unsafe:!0});try{delete V.constructor}catch(gt){}d&&d(V,H)}o({global:!0,constructor:!0,wrap:!0,forced:B},{Promise:W}),v(W,N,!1,!0),u(N)},967637:function(y,c,e){"use strict";var o=e(532380),n=e(471746),i=e(879707),t=e(105978),r=e(174883),s=e(760331),d=e(407973),v=e(301503),u=e(148134),a=i&&i.prototype,l=!!i&&t(function(){a.finally.call({then:function(){}},function(){})});if(o({target:"Promise",proto:!0,real:!0,forced:l},{finally:function(h){var g=d(this,r("Promise")),m=s(h);return this.then(m?function(S){return v(g,h()).then(function(){return S})}:h,m?function(S){return v(g,h()).then(function(){throw S})}:h)}}),!n&&s(i)){var p=r("Promise").prototype.finally;a.finally!==p&&u(a,"finally",p,{unsafe:!0})}},481737:function(y,c,e){e(942771),e(639866),e(664338),e(169606),e(638124),e(277053)},169606:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(215852),t=e(121683),r=e(86866),s=e(705664),d=e(267933);o({target:"Promise",stat:!0,forced:d},{race:function(u){var a=this,l=t.f(a),p=l.reject,h=r(function(){var g=i(a.resolve);s(u,function(m){n(g,a,m).then(l.resolve,p)})});return h.error&&p(h.value),l.promise}})},638124:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(121683),t=e(630705).CONSTRUCTOR;o({target:"Promise",stat:!0,forced:t},{reject:function(s){var d=i.f(this);return n(d.reject,void 0,s),d.promise}})},277053:function(y,c,e){"use strict";var o=e(532380),n=e(174883),i=e(471746),t=e(879707),r=e(630705).CONSTRUCTOR,s=e(301503),d=n("Promise"),v=i&&!r;o({target:"Promise",stat:!0,forced:i||r},{resolve:function(a){return s(v&&this===d?t:this,a)}})},665991:function(y,c,e){var o=e(532380),n=e(636979),i=e(553837);o({global:!0},{Reflect:{}}),i(n.Reflect,"Reflect",!0)},59892:function(y,c,e){"use strict";var o=e(532380),n=e(563595);o({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},419578:function(y,c,e){"use strict";var o=e(574002),n=e(952222);o("Set",function(i){return function(){return i(this,arguments.length?arguments[0]:void 0)}},n)},348926:function(y,c,e){e(419578)},909401:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("anchor")},{anchor:function(r){return n(this,"a","name",r)}})},902673:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(8511),t=e(92257),r=e(227876),s=e(105978),d=n("".charAt),v=s(function(){return"\uD842\uDFB7".at(-2)!=="\uD842"});o({target:"String",proto:!0,forced:v},{at:function(a){var l=r(i(this)),p=l.length,h=t(a),g=h>=0?h:p+h;return g<0||g>=p?void 0:d(l,g)}})},165324:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("big")},{big:function(){return n(this,"big","","")}})},626776:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("blink")},{blink:function(){return n(this,"blink","","")}})},408093:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("bold")},{bold:function(){return n(this,"b","","")}})},333181:function(y,c,e){"use strict";var o=e(532380),n=e(630192).codeAt;o({target:"String",proto:!0},{codePointAt:function(t){return n(this,t)}})},591458:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(522281).f,t=e(350093),r=e(227876),s=e(970188),d=e(8511),v=e(766327),u=e(471746),a=n("".endsWith),l=n("".slice),p=Math.min,h=v("endsWith"),g=!u&&!h&&!!function(){var m=i(String.prototype,"endsWith");return m&&!m.writable}();o({target:"String",proto:!0,forced:!g&&!h},{endsWith:function(S){var _=r(d(this));s(S);var C=arguments.length>1?arguments[1]:void 0,O=_.length,A=C===void 0?O:p(t(C),O),x=r(S);return a?a(_,x,A):l(_,A-x.length,A)===x}})},32068:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("fixed")},{fixed:function(){return n(this,"tt","","")}})},795660:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("fontcolor")},{fontcolor:function(r){return n(this,"font","color",r)}})},172062:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("fontsize")},{fontsize:function(r){return n(this,"font","size",r)}})},711571:function(y,c,e){var o=e(532380),n=e(497315),i=e(292054),t=RangeError,r=String.fromCharCode,s=String.fromCodePoint,d=n([].join),v=!!s&&s.length!=1;o({target:"String",stat:!0,arity:1,forced:v},{fromCodePoint:function(a){for(var l=[],p=arguments.length,h=0,g;p>h;){if(g=+arguments[h++],i(g,1114111)!==g)throw t(g+" is not a valid code point");l[h]=g<65536?r(g):r(((g-=65536)>>10)+55296,g%1024+56320)}return d(l,"")}})},834124:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(970188),t=e(8511),r=e(227876),s=e(766327),d=n("".indexOf);o({target:"String",proto:!0,forced:!s("includes")},{includes:function(u){return!!~d(r(t(this)),r(i(u)),arguments.length>1?arguments[1]:void 0)}})},3081:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("italics")},{italics:function(){return n(this,"i","","")}})},625829:function(y,c,e){"use strict";var o=e(630192).charAt,n=e(227876),i=e(347846),t=e(227235),r=e(282012),s="String Iterator",d=i.set,v=i.getterFor(s);t(String,"String",function(u){d(this,{type:s,string:n(u),index:0})},function(){var a=v(this),l=a.string,p=a.index,h;return p>=l.length?r(void 0,!0):(h=o(l,p),a.index+=h.length,r(h,!1))})},912359:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("link")},{link:function(r){return n(this,"a","href",r)}})},191101:function(y,c,e){"use strict";var o=e(532380),n=e(50067),i=e(497315),t=e(843674),r=e(282012),s=e(8511),d=e(350093),v=e(227876),u=e(454776),a=e(261602),l=e(155124),p=e(994553),h=e(117025),g=e(917293),m=e(148134),S=e(105978),_=e(540496),C=e(407973),O=e(826439),A=e(609757),x=e(347846),T=e(471746),R=_("matchAll"),N="RegExp String",B=N+" Iterator",z=x.set,K=x.getterFor(B),$=RegExp.prototype,ie=TypeError,V=i("".indexOf),W=i("".matchAll),H=!!W&&!S(function(){W("a",/./)}),k=t(function(ne,X,re,Z){z(this,{type:B,regexp:ne,string:X,global:re,unicode:Z,done:!1})},N,function(){var ne=K(this);if(ne.done)return r(void 0,!0);var X=ne.regexp,re=ne.string,Z=A(X,re);return Z===null?(ne.done=!0,r(void 0,!0)):ne.global?(v(Z[0])===""&&(X.lastIndex=O(re,d(X.lastIndex),ne.unicode)),r(Z,!1)):(ne.done=!0,r(Z,!1))}),J=function(ae){var ne=u(this),X=v(ae),re=C(ne,RegExp),Z=v(h(ne)),te,oe,Se;return te=new re(re===RegExp?ne.source:ne,Z),oe=!!~V(Z,"g"),Se=!!~V(Z,"u"),te.lastIndex=d(ne.lastIndex),new k(te,X,oe,Se)};o({target:"String",proto:!0,forced:H},{matchAll:function(ne){var X=s(this),re,Z,te,oe;if(a(ne)){if(H)return W(X,ne)}else{if(p(ne)&&(re=v(s(h(ne))),!~V(re,"g")))throw ie("`.matchAll` does not allow non-global regexes");if(H)return W(X,ne);if(te=g(ne,R),te===void 0&&T&&l(ne)=="RegExp"&&(te=J),te)return n(te,ne,X)}return Z=v(X),oe=new RegExp(ne,"g"),T?n(J,oe,Z):oe[R](Z)}}),T||R in $||m($,R,J)},746926:function(y,c,e){"use strict";var o=e(50067),n=e(822739),i=e(454776),t=e(261602),r=e(350093),s=e(227876),d=e(8511),v=e(917293),u=e(826439),a=e(609757);n("match",function(l,p,h){return[function(m){var S=d(this),_=t(m)?void 0:v(m,l);return _?o(_,m,S):new RegExp(m)[l](s(S))},function(g){var m=i(this),S=s(g),_=h(p,m,S);if(_.done)return _.value;if(!m.global)return a(m,S);var C=m.unicode;m.lastIndex=0;for(var O=[],A=0,x;(x=a(m,S))!==null;){var T=s(x[0]);O[A]=T,T===""&&(m.lastIndex=u(S,r(m.lastIndex),C)),A++}return A===0?null:O}]})},631459:function(y,c,e){"use strict";var o=e(532380),n=e(973803).end,i=e(614693);o({target:"String",proto:!0,forced:i},{padEnd:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},484828:function(y,c,e){"use strict";var o=e(532380),n=e(973803).start,i=e(614693);o({target:"String",proto:!0,forced:i},{padStart:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},676763:function(y,c,e){var o=e(532380),n=e(497315),i=e(610508),t=e(180240),r=e(227876),s=e(220446),d=n([].push),v=n([].join);o({target:"String",stat:!0},{raw:function(a){for(var l=i(t(a).raw),p=s(l),h=arguments.length,g=[],m=0;p>m;){if(d(g,r(l[m++])),m===p)return v(g,"");mx.length?-1:T===""?R:S(x,T,R)};o({target:"String",proto:!0},{replaceAll:function(T,R){var N=t(this),B,z,K,$,ie,V,W,H,k,J=0,ae=0,ne="";if(!s(T)){if(B=d(T),B&&(z=v(t(a(T))),!~S(z,"g")))throw m("`.replaceAll` does not allow non-global regexes");if(K=u(T,g),K)return n(K,T,N,R);if(h&&B)return _(v(N),T,R)}for($=v(N),ie=v(T),V=r(R),V||(R=v(R)),W=ie.length,H=O(1,W),J=A($,ie,0);J!==-1;)k=V?v(R(ie,J,$)):l(ie,$,J,[],void 0,R),ne+=C($,ae,J)+k,ae=J+W,J=A($,ie,J+H);return ae<$.length&&(ne+=C($,ae)),ne}})},205954:function(y,c,e){"use strict";var o=e(200111),n=e(50067),i=e(497315),t=e(822739),r=e(105978),s=e(454776),d=e(760331),v=e(261602),u=e(92257),a=e(350093),l=e(227876),p=e(8511),h=e(826439),g=e(917293),m=e(719501),S=e(609757),_=e(540496),C=_("replace"),O=Math.max,A=Math.min,x=i([].concat),T=i([].push),R=i("".indexOf),N=i("".slice),B=function(ie){return ie===void 0?ie:String(ie)},z=function(){return"a".replace(/./,"$0")==="$0"}(),K=function(){return/./[C]?/./[C]("a","$0")==="":!1}(),$=!r(function(){var ie=/./;return ie.exec=function(){var V=[];return V.groups={a:"7"},V},"".replace(ie,"$")!=="7"});t("replace",function(ie,V,W){var H=K?"$":"$0";return[function(J,ae){var ne=p(this),X=v(J)?void 0:g(J,C);return X?n(X,J,ne,ae):n(V,l(ne),J,ae)},function(k,J){var ae=s(this),ne=l(k);if(typeof J=="string"&&R(J,H)===-1&&R(J,"$<")===-1){var X=W(V,ae,ne,J);if(X.done)return X.value}var re=d(J);re||(J=l(J));var Z=ae.global;if(Z){var te=ae.unicode;ae.lastIndex=0}for(var oe=[];;){var Se=S(ae,ne);if(Se===null||(T(oe,Se),!Z))break;var Re=l(Se[0]);Re===""&&(ae.lastIndex=h(ne,a(ae.lastIndex),te))}for(var Ke="",Qe=0,Je=0;Je=Qe&&(Ke+=N(ne,Qe,Pt)+Ce,Qe=Pt+rt.length)}return Ke+N(ne,Qe)}]},!$||!z||K)},830234:function(y,c,e){"use strict";var o=e(50067),n=e(822739),i=e(454776),t=e(261602),r=e(8511),s=e(217311),d=e(227876),v=e(917293),u=e(609757);n("search",function(a,l,p){return[function(g){var m=r(this),S=t(g)?void 0:v(g,a);return S?o(S,g,m):new RegExp(g)[a](d(m))},function(h){var g=i(this),m=d(h),S=p(l,g,m);if(S.done)return S.value;var _=g.lastIndex;s(_,0)||(g.lastIndex=0);var C=u(g,m);return s(g.lastIndex,_)||(g.lastIndex=_),C===null?-1:C.index}]})},250878:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("small")},{small:function(){return n(this,"small","","")}})},267227:function(y,c,e){"use strict";var o=e(200111),n=e(50067),i=e(497315),t=e(822739),r=e(454776),s=e(261602),d=e(994553),v=e(8511),u=e(407973),a=e(826439),l=e(350093),p=e(227876),h=e(917293),g=e(198040),m=e(609757),S=e(563595),_=e(131245),C=e(105978),O=_.UNSUPPORTED_Y,A=4294967295,x=Math.min,T=[].push,R=i(/./.exec),N=i(T),B=i("".slice),z=!C(function(){var K=/(?:)/,$=K.exec;K.exec=function(){return $.apply(this,arguments)};var ie="ab".split(K);return ie.length!==2||ie[0]!=="a"||ie[1]!=="b"});t("split",function(K,$,ie){var V;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?V=function(W,H){var k=p(v(this)),J=H===void 0?A:H>>>0;if(J===0)return[];if(W===void 0)return[k];if(!d(W))return n($,k,W,J);for(var ae=[],ne=(W.ignoreCase?"i":"")+(W.multiline?"m":"")+(W.unicode?"u":"")+(W.sticky?"y":""),X=0,re=new RegExp(W.source,ne+"g"),Z,te,oe;(Z=n(S,re,k))&&(te=re.lastIndex,!(te>X&&(N(ae,B(k,X,Z.index)),Z.length>1&&Z.index=J)));)re.lastIndex===Z.index&&re.lastIndex++;return X===k.length?(oe||!R(re,""))&&N(ae,""):N(ae,B(k,X)),ae.length>J?g(ae,0,J):ae}:"0".split(void 0,0).length?V=function(W,H){return W===void 0&&H===0?[]:n($,this,W,H)}:V=$,[function(H,k){var J=v(this),ae=s(H)?void 0:h(H,K);return ae?n(ae,H,J,k):n(V,p(J),H,k)},function(W,H){var k=r(this),J=p(W),ae=ie(V,k,J,H,V!==$);if(ae.done)return ae.value;var ne=u(k,RegExp),X=k.unicode,re=(k.ignoreCase?"i":"")+(k.multiline?"m":"")+(k.unicode?"u":"")+(O?"g":"y"),Z=new ne(O?"^(?:"+k.source+")":k,re),te=H===void 0?A:H>>>0;if(te===0)return[];if(J.length===0)return m(Z,J)===null?[J]:[];for(var oe=0,Se=0,Re=[];Se1?arguments[1]:void 0,_.length)),O=r(S);return a?a(_,O,C):l(_,C,C+O.length)===O}})},546515:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("strike")},{strike:function(){return n(this,"strike","","")}})},616052:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("sub")},{sub:function(){return n(this,"sub","","")}})},476370:function(y,c,e){"use strict";var o=e(532380),n=e(497315),i=e(8511),t=e(92257),r=e(227876),s=n("".slice),d=Math.max,v=Math.min,u=!"".substr||"ab".substr(-1)!=="b";o({target:"String",proto:!0,forced:u},{substr:function(l,p){var h=r(i(this)),g=h.length,m=t(l),S,_;return m===1/0&&(m=0),m<0&&(m=d(g+m,0)),S=p===void 0?g:t(p),S<=0||S===1/0?"":(_=v(m+S,g),m>=_?"":s(h,m,_))}})},366893:function(y,c,e){"use strict";var o=e(532380),n=e(350469),i=e(887240);o({target:"String",proto:!0,forced:i("sup")},{sup:function(){return n(this,"sup","","")}})},957794:function(y,c,e){e(725619);var o=e(532380),n=e(95019);o({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},590818:function(y,c,e){var o=e(532380),n=e(954230);o({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},725619:function(y,c,e){var o=e(532380),n=e(95019);o({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},932233:function(y,c,e){e(590818);var o=e(532380),n=e(954230);o({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},586825:function(y,c,e){"use strict";var o=e(532380),n=e(390056).trim,i=e(782410);o({target:"String",proto:!0,forced:i("trim")},{trim:function(){return n(this)}})},507124:function(y,c,e){var o=e(535862);o("asyncIterator")},389162:function(y,c,e){"use strict";var o=e(532380),n=e(636979),i=e(50067),t=e(497315),r=e(471746),s=e(427156),d=e(789539),v=e(105978),u=e(955553),a=e(393535),l=e(454776),p=e(610508),h=e(438978),g=e(227876),m=e(581927),S=e(171197),_=e(385378),C=e(834078),O=e(188275),A=e(306760),x=e(522281),T=e(723314),R=e(49802),N=e(17446),B=e(148134),z=e(938117),K=e(598784),$=e(347889),ie=e(870068),V=e(540496),W=e(952358),H=e(535862),k=e(857262),J=e(553837),ae=e(347846),ne=e(105497).forEach,X=K("hidden"),re="Symbol",Z="prototype",te=ae.set,oe=ae.getterFor(re),Se=Object[Z],Re=n.Symbol,Ke=Re&&Re[Z],Qe=n.TypeError,Je=n.QObject,rt=x.f,Pt=T.f,Wt=O.f,de=N.f,Le=t([].push),le=z("symbols"),Ce=z("op-symbols"),Ne=z("wks"),Ee=!Je||!Je[Z]||!Je[Z].findChild,Ie=s&&v(function(){return S(Pt({},"a",{get:function(){return Pt(this,"a",{value:7}).a}})).a!=7})?function(fe,pe,xe){var Me=rt(Se,pe);Me&&delete Se[pe],Pt(fe,pe,xe),Me&&fe!==Se&&Pt(Se,pe,Me)}:Pt,dt=function(fe,pe){var xe=le[fe]=S(Ke);return te(xe,{type:re,tag:fe,description:pe}),s||(xe.description=pe),xe},xt=function(pe,xe,Me){pe===Se&&xt(Ce,xe,Me),l(pe);var je=h(xe);return l(Me),u(le,je)?(Me.enumerable?(u(pe,X)&&pe[X][je]&&(pe[X][je]=!1),Me=S(Me,{enumerable:m(0,!1)})):(u(pe,X)||Pt(pe,X,m(1,{})),pe[X][je]=!0),Ie(pe,je,Me)):Pt(pe,je,Me)},It=function(pe,xe){l(pe);var Me=p(xe),je=_(Me).concat(se(Me));return ne(je,function(Xe){(!s||i(Ot,Me,Xe))&&xt(pe,Xe,Me[Xe])}),pe},gt=function(pe,xe){return xe===void 0?S(pe):It(S(pe),xe)},Ot=function(pe){var xe=h(pe),Me=i(de,this,xe);return this===Se&&u(le,xe)&&!u(Ce,xe)?!1:Me||!u(this,xe)||!u(le,xe)||u(this,X)&&this[X][xe]?Me:!0},Fe=function(pe,xe){var Me=p(pe),je=h(xe);if(!(Me===Se&&u(le,je)&&!u(Ce,je))){var Xe=rt(Me,je);return Xe&&u(le,je)&&!(u(Me,X)&&Me[X][je])&&(Xe.enumerable=!0),Xe}},Ve=function(pe){var xe=Wt(p(pe)),Me=[];return ne(xe,function(je){!u(le,je)&&!u($,je)&&Le(Me,je)}),Me},se=function(fe){var pe=fe===Se,xe=Wt(pe?Ce:p(fe)),Me=[];return ne(xe,function(je){u(le,je)&&(!pe||u(Se,je))&&Le(Me,le[je])}),Me};d||(Re=function(){if(a(Ke,this))throw Qe("Symbol is not a constructor");var pe=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),xe=ie(pe),Me=function(je){this===Se&&i(Me,Ce,je),u(this,X)&&u(this[X],xe)&&(this[X][xe]=!1),Ie(this,xe,m(1,je))};return s&&Ee&&Ie(Se,xe,{configurable:!0,set:Me}),dt(xe,pe)},Ke=Re[Z],B(Ke,"toString",function(){return oe(this).tag}),B(Re,"withoutSetter",function(fe){return dt(ie(fe),fe)}),N.f=Ot,T.f=xt,R.f=It,x.f=Fe,C.f=O.f=Ve,A.f=se,W.f=function(fe){return dt(V(fe),fe)},s&&(Pt(Ke,"description",{configurable:!0,get:function(){return oe(this).description}}),r||B(Se,"propertyIsEnumerable",Ot,{unsafe:!0}))),o({global:!0,constructor:!0,wrap:!0,forced:!d,sham:!d},{Symbol:Re}),ne(_(Ne),function(fe){H(fe)}),o({target:re,stat:!0,forced:!d},{useSetter:function(){Ee=!0},useSimple:function(){Ee=!1}}),o({target:"Object",stat:!0,forced:!d,sham:!s},{create:gt,defineProperty:xt,defineProperties:It,getOwnPropertyDescriptor:Fe}),o({target:"Object",stat:!0,forced:!d},{getOwnPropertyNames:Ve}),k(),J(Re,re),$[X]=!0},580486:function(y,c,e){"use strict";var o=e(532380),n=e(427156),i=e(636979),t=e(497315),r=e(955553),s=e(760331),d=e(393535),v=e(227876),u=e(723314).f,a=e(375932),l=i.Symbol,p=l&&l.prototype;if(n&&s(l)&&(!("description"in p)||l().description!==void 0)){var h={},g=function(){var T=arguments.length<1||arguments[0]===void 0?void 0:v(arguments[0]),R=d(p,this)?new l(T):T===void 0?l():l(T);return T===""&&(h[R]=!0),R};a(g,l),g.prototype=p,p.constructor=g;var m=String(l("test"))=="Symbol(test)",S=t(p.valueOf),_=t(p.toString),C=/^Symbol\((.*)\)[^)]+$/,O=t("".replace),A=t("".slice);u(p,"description",{configurable:!0,get:function(){var T=S(this);if(r(h,T))return"";var R=_(T),N=m?A(R,7,-1):O(R,C,"$1");return N===""?void 0:N}}),o({global:!0,constructor:!0,forced:!0},{Symbol:g})}},74705:function(y,c,e){var o=e(532380),n=e(174883),i=e(955553),t=e(227876),r=e(938117),s=e(166548),d=r("string-to-symbol-registry"),v=r("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!s},{for:function(u){var a=t(u);if(i(d,a))return d[a];var l=n("Symbol")(a);return d[a]=l,v[l]=a,l}})},189854:function(y,c,e){var o=e(535862);o("hasInstance")},55381:function(y,c,e){var o=e(535862);o("isConcatSpreadable")},27129:function(y,c,e){var o=e(535862);o("iterator")},49589:function(y,c,e){e(389162),e(74705),e(444923),e(590945),e(430877)},444923:function(y,c,e){var o=e(532380),n=e(955553),i=e(818652),t=e(458978),r=e(938117),s=e(166548),d=r("symbol-to-string-registry");o({target:"Symbol",stat:!0,forced:!s},{keyFor:function(u){if(!i(u))throw TypeError(t(u)+" is not a symbol");if(n(d,u))return d[u]}})},473230:function(y,c,e){var o=e(535862);o("matchAll")},553698:function(y,c,e){var o=e(535862);o("match")},212212:function(y,c,e){var o=e(535862);o("replace")},849205:function(y,c,e){var o=e(535862);o("search")},462856:function(y,c,e){var o=e(535862);o("species")},662186:function(y,c,e){var o=e(535862);o("split")},580909:function(y,c,e){var o=e(535862),n=e(857262);o("toPrimitive"),n()},797673:function(y,c,e){var o=e(174883),n=e(535862),i=e(553837);n("toStringTag"),i(o("Symbol"),"Symbol")},898495:function(y,c,e){var o=e(535862);o("unscopables")},24115:function(y,c,e){e(191101)},899509:function(y,c,e){var o=e(636979),n=e(59118),i=e(67278),t=e(216686),r=e(847146),s=function(v){if(v&&v.forEach!==t)try{r(v,"forEach",t)}catch(u){v.forEach=t}};for(var d in n)n[d]&&s(o[d]&&o[d].prototype);s(i)},439589:function(y,c,e){var o=e(636979),n=e(59118),i=e(67278),t=e(340053),r=e(847146),s=e(540496),d=s("iterator"),v=s("toStringTag"),u=t.values,a=function(p,h){if(p){if(p[d]!==u)try{r(p,d,u)}catch(m){p[d]=u}if(p[v]||r(p,v,h),n[h]){for(var g in t)if(p[g]!==t[g])try{r(p,g,t[g])}catch(m){p[g]=t[g]}}}};for(var l in n)a(o[l]&&o[l].prototype,l);a(i,"DOMTokenList")},683250:function(y,c,e){"use strict";e(340053);var o=e(532380),n=e(636979),i=e(50067),t=e(497315),r=e(427156),s=e(217525),d=e(148134),v=e(142352),u=e(553837),a=e(843674),l=e(347846),p=e(819767),h=e(760331),g=e(955553),m=e(930415),S=e(473070),_=e(454776),C=e(97865),O=e(227876),A=e(171197),x=e(581927),T=e(307871),R=e(438619),N=e(64668),B=e(540496),z=e(485062),K=B("iterator"),$="URLSearchParams",ie=$+"Iterator",V=l.set,W=l.getterFor($),H=l.getterFor(ie),k=Object.getOwnPropertyDescriptor,J=function(je){if(!r)return n[je];var Xe=k(n,je);return Xe&&Xe.value},ae=J("fetch"),ne=J("Request"),X=J("Headers"),re=ne&&ne.prototype,Z=X&&X.prototype,te=n.RegExp,oe=n.TypeError,Se=n.decodeURIComponent,Re=n.encodeURIComponent,Ke=t("".charAt),Qe=t([].join),Je=t([].push),rt=t("".replace),Pt=t([].shift),Wt=t([].splice),de=t("".split),Le=t("".slice),le=/\+/g,Ce=Array(4),Ne=function(je){return Ce[je-1]||(Ce[je-1]=te("((?:%[\\da-f]{2}){"+je+"})","gi"))},Ee=function(je){try{return Se(je)}catch(Xe){return je}},Ie=function(je){var Xe=rt(je,le," "),st=4;try{return Se(Xe)}catch(Ae){for(;st;)Xe=rt(Xe,Ne(st--),Ee);return Xe}},dt=/[!'()~]|%20/g,xt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},It=function(je){return xt[je]},gt=function(je){return rt(Re(je),dt,It)},Ot=a(function(Xe,st){V(this,{type:ie,iterator:T(W(Xe).entries),kind:st})},"Iterator",function(){var Xe=H(this),st=Xe.kind,Ae=Xe.iterator.next(),He=Ae.value;return Ae.done||(Ae.value=st==="keys"?He.key:st==="values"?He.value:[He.key,He.value]),Ae},!0),Fe=function(je){this.entries=[],this.url=null,je!==void 0&&(C(je)?this.parseObject(je):this.parseQuery(typeof je=="string"?Ke(je,0)==="?"?Le(je,1):je:O(je)))};Fe.prototype={type:$,bindURL:function(je){this.url=je,this.update()},parseObject:function(je){var Xe=R(je),st,Ae,He,ot,Ut,Zt,jt;if(Xe)for(st=T(je,Xe),Ae=st.next;!(He=i(Ae,st)).done;){if(ot=T(_(He.value)),Ut=ot.next,(Zt=i(Ut,ot)).done||(jt=i(Ut,ot)).done||!i(Ut,ot).done)throw oe("Expected sequence with length 2");Je(this.entries,{key:O(Zt.value),value:O(jt.value)})}else for(var vn in je)g(je,vn)&&Je(this.entries,{key:vn,value:O(je[vn])})},parseQuery:function(je){if(je)for(var Xe=de(je,"&"),st=0,Ae,He;st0?arguments[0]:void 0;V(this,new Fe(Xe))},se=Ve.prototype;if(v(se,{append:function(Xe,st){N(arguments.length,2);var Ae=W(this);Je(Ae.entries,{key:O(Xe),value:O(st)}),Ae.updateURL()},delete:function(je){N(arguments.length,1);for(var Xe=W(this),st=Xe.entries,Ae=O(je),He=0;HeAe.key?1:-1}),Xe.updateURL()},forEach:function(Xe){for(var st=W(this).entries,Ae=m(Xe,arguments.length>1?arguments[1]:void 0),He=0,ot;He1?xe(arguments[1]):{})}}),h(ne)){var Me=function(Xe){return p(this,re),new ne(Xe,arguments.length>1?xe(arguments[1]):{})};re.constructor=Me,Me.prototype=re,o({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:Me})}}y.exports={URLSearchParams:Ve,getState:W}},541942:function(y,c,e){e(683250)},968382:function(y,c,e){e(899509);var o=e(216686);y.exports=o},894663:function(y,c,e){var o=e(655961);e(439589),y.exports=o},655961:function(y,c,e){e(541942);var o=e(626003);y.exports=o.URLSearchParams},710862:function(y,c,e){"use strict";var o=e(162186),n=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",i=Object.prototype.toString,t=Array.prototype.concat,r=e(611564),s=function(a){return typeof a=="function"&&i.call(a)==="[object Function]"},d=e(111441)(),v=function(a,l,p,h){if(l in a){if(h===!0){if(a[l]===p)return}else if(!s(h)||!h())return}d?r(a,l,p,!0):r(a,l,p)},u=function(a,l){var p=arguments.length>2?arguments[2]:{},h=o(l);n&&(h=t.call(h,Object.getOwnPropertySymbols(l)));for(var g=0;g=3&&(p=l),n.call(u)==="[object Array]"?t(u,a,p):typeof u=="string"?r(u,a,p):s(u,a,p)};y.exports=d},528254:function(y){y.exports=c;function c(){var e=new Float32Array(9);return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=1,e[5]=0,e[6]=0,e[7]=0,e[8]=1,e}},57504:function(y){y.exports=c;function c(e){return e[0]=1,e[1]=0,e[2]=0,e[3]=0,e[4]=0,e[5]=1,e[6]=0,e[7]=0,e[8]=0,e[9]=0,e[10]=1,e[11]=0,e[12]=0,e[13]=0,e[14]=0,e[15]=1,e}},792350:function(y){y.exports=c;function c(e,o,n){var i=Math.sin(n),t=Math.cos(n),r=o[4],s=o[5],d=o[6],v=o[7],u=o[8],a=o[9],l=o[10],p=o[11];return o!==e&&(e[0]=o[0],e[1]=o[1],e[2]=o[2],e[3]=o[3],e[12]=o[12],e[13]=o[13],e[14]=o[14],e[15]=o[15]),e[4]=r*t+u*i,e[5]=s*t+a*i,e[6]=d*t+l*i,e[7]=v*t+p*i,e[8]=u*t-r*i,e[9]=a*t-s*i,e[10]=l*t-d*i,e[11]=p*t-v*i,e}},186375:function(y){y.exports=c;function c(e,o,n){var i=Math.sin(n),t=Math.cos(n),r=o[0],s=o[1],d=o[2],v=o[3],u=o[8],a=o[9],l=o[10],p=o[11];return o!==e&&(e[4]=o[4],e[5]=o[5],e[6]=o[6],e[7]=o[7],e[12]=o[12],e[13]=o[13],e[14]=o[14],e[15]=o[15]),e[0]=r*t-u*i,e[1]=s*t-a*i,e[2]=d*t-l*i,e[3]=v*t-p*i,e[8]=r*i+u*t,e[9]=s*i+a*t,e[10]=d*i+l*t,e[11]=v*i+p*t,e}},907223:function(y){y.exports=c;function c(e,o,n){var i=n[0],t=n[1],r=n[2];return e[0]=o[0]*i,e[1]=o[1]*i,e[2]=o[2]*i,e[3]=o[3]*i,e[4]=o[4]*t,e[5]=o[5]*t,e[6]=o[6]*t,e[7]=o[7]*t,e[8]=o[8]*r,e[9]=o[9]*r,e[10]=o[10]*r,e[11]=o[11]*r,e[12]=o[12],e[13]=o[13],e[14]=o[14],e[15]=o[15],e}},676727:function(y){y.exports=c;function c(e,o,n){var i=n[0],t=n[1],r=n[2],s,d,v,u,a,l,p,h,g,m,S,_;return o===e?(e[12]=o[0]*i+o[4]*t+o[8]*r+o[12],e[13]=o[1]*i+o[5]*t+o[9]*r+o[13],e[14]=o[2]*i+o[6]*t+o[10]*r+o[14],e[15]=o[3]*i+o[7]*t+o[11]*r+o[15]):(s=o[0],d=o[1],v=o[2],u=o[3],a=o[4],l=o[5],p=o[6],h=o[7],g=o[8],m=o[9],S=o[10],_=o[11],e[0]=s,e[1]=d,e[2]=v,e[3]=u,e[4]=a,e[5]=l,e[6]=p,e[7]=h,e[8]=g,e[9]=m,e[10]=S,e[11]=_,e[12]=s*i+a*t+g*r+o[12],e[13]=d*i+l*t+m*r+o[13],e[14]=v*i+p*t+S*r+o[14],e[15]=u*i+h*t+_*r+o[15]),e}},263001:function(y){y.exports=c;function c(e,o){return e[0]=o[0],e[1]=o[1],e}},349509:function(y){y.exports=c;function c(e){var o=e[0],n=e[1];return Math.sqrt(o*o+n*n)}},928152:function(y){y.exports=c;function c(e,o,n){var i=Math.cos(n),t=Math.sin(n),r=o[0],s=o[1];return e[0]=r*i-s*t,e[1]=r*t+s*i,e}},425534:function(y,c,e){y.exports=e(133173)},133173:function(y){y.exports=c;function c(e,o,n){return e[0]=o[0]-n[0],e[1]=o[1]-n[1],e}},226941:function(y){y.exports=c;function c(e,o){return e[0]=o[0],e[1]=o[1],e[2]=o[2],e}},176857:function(y){y.exports=c;function c(e,o){var n=o[0]-e[0],i=o[1]-e[1],t=o[2]-e[2];return Math.sqrt(n*n+i*i+t*t)}},709871:function(y){y.exports=c;function c(e,o){var n=o[0],i=o[1],t=o[2],r=n*n+i*i+t*t;return r>0&&(r=1/Math.sqrt(r),e[0]=o[0]*r,e[1]=o[1]*r,e[2]=o[2]*r),e}},316514:function(y){y.exports=c;function c(e,o,n,i){return e[0]=o,e[1]=n,e[2]=i,e}},138903:function(y,c,e){y.exports=e(517723)},517723:function(y){y.exports=c;function c(e,o,n){return e[0]=o[0]-n[0],e[1]=o[1]-n[1],e[2]=o[2]-n[2],e}},875976:function(y,c,e){"use strict";var o=e(122936);y.exports=function(){return o()&&!!Symbol.toStringTag}},192628:function(y,c,e){"use strict";var o=e(870752),n={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},t={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},r={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};s[o.ForwardRef]=t,s[o.Memo]=r;function d(m){return o.isMemo(m)?r:s[m.$$typeof]||n}var v=Object.defineProperty,u=Object.getOwnPropertyNames,a=Object.getOwnPropertySymbols,l=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,h=Object.prototype;function g(m,S,_){if(typeof S!="string"){if(h){var C=p(S);C&&C!==h&&g(m,C,_)}var O=u(S);a&&(O=O.concat(a(S)));for(var A=d(m),x=d(S),T=0;T=0&&i(v)!=="[object Array]"&&i(v.callee)==="[object Function]"},s=function(){return t(arguments)}();t.isLegacyArguments=r,y.exports=s?t:r},310365:function(y){y.exports=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")}},723427:function(y){"use strict";var c=Function.prototype.toString,e=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,o,n;if(typeof e=="function"&&typeof Object.defineProperty=="function")try{o=Object.defineProperty({},"length",{get:function(){throw n}}),n={},e(function(){throw 42},null,o)}catch(_){_!==n&&(e=null)}else e=null;var i=/^\s*class\b/,t=function(C){try{var O=c.call(C);return i.test(O)}catch(A){return!1}},r=function(C){try{return t(C)?!1:(c.call(C),!0)}catch(O){return!1}},s=Object.prototype.toString,d="[object Object]",v="[object Function]",u="[object GeneratorFunction]",a="[object HTMLAllCollection]",l="[object HTML document.all class]",p="[object HTMLCollection]",h=typeof Symbol=="function"&&!!Symbol.toStringTag,g=!(0 in[,]),m=function(){return!1};if(typeof document=="object"){var S=document.all;s.call(S)===s.call(document.all)&&(m=function(C){if((g||!C)&&(typeof C=="undefined"||typeof C=="object"))try{var O=s.call(C);return(O===a||O===l||O===p||O===d)&&C("")==null}catch(A){}return!1})}y.exports=e?function(C){if(m(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;try{e(C,null,o)}catch(O){if(O!==n)return!1}return!t(C)&&r(C)}:function(C){if(m(C))return!0;if(!C||typeof C!="function"&&typeof C!="object")return!1;if(h)return r(C);if(t(C))return!1;var O=s.call(C);return O!==v&&O!==u&&!/^\[object HTML/.test(O)?!1:r(C)}},183520:function(y,c,e){"use strict";var o=Object.prototype.toString,n=Function.prototype.toString,i=/^\s*(?:function)?\*/,t=e(875976)(),r=Object.getPrototypeOf,s=function(){if(!t)return!1;try{return Function("return function*() {}")()}catch(v){}},d;y.exports=function(u){if(typeof u!="function")return!1;if(i.test(n.call(u)))return!0;if(!t){var a=o.call(u);return a==="[object GeneratorFunction]"}if(!r)return!1;if(typeof d=="undefined"){var l=s();d=l?r(l):!1}return r(u)===d}},922781:function(y){"use strict";y.exports=function(e){return e!==e}},737634:function(y,c,e){"use strict";var o=e(45367),n=e(710862),i=e(922781),t=e(53563),r=e(890413),s=o(t(),Number);n(s,{getPolyfill:t,implementation:i,shim:r}),y.exports=s},53563:function(y,c,e){"use strict";var o=e(922781);y.exports=function(){return Number.isNaN&&Number.isNaN(NaN)&&!Number.isNaN("a")?Number.isNaN:o}},890413:function(y,c,e){"use strict";var o=e(710862),n=e(53563);y.exports=function(){var t=n();return o(Number,{isNaN:t},{isNaN:function(){return Number.isNaN!==t}}),t}},579085:function(y){y.exports=c;function c(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}},896004:function(y,c,e){"use strict";var o=e(975986);y.exports=function(i){return!!o(i)}},568324:function(y,c){var e,o,n;(function(i,t){o=[],e=t,n=typeof e=="function"?e.apply(c,o):e,n!==void 0&&(y.exports=n)})(this,function(){var i=function(){},t={},r={},s={};function d(p,h){p=p.push?p:[p];var g=[],m=p.length,S=m,_,C,O,A;for(_=function(x,T){T.length&&g.push(x),S--,S||h(g)};m--;){if(C=p[m],O=r[C],O){_(C,O);continue}A=s[C]=s[C]||[],A.push(_)}}function v(p,h){if(p){var g=s[p];if(r[p]=h,!!g)for(;g.length;)g[0](p,h),g.splice(0,1)}}function u(p,h,g,m){var S=document,_=g.async,C=(g.numRetries||0)+1,O=g.before||i,A,x;m=m||0,/(^css!|\.css$)/.test(p)?(A=!0,x=S.createElement("link"),x.rel="stylesheet",x.href=p.replace(/^css!/,"")):(x=S.createElement("script"),x.src=p,x.async=_===void 0?!0:_),x.onload=x.onerror=x.onbeforeload=function(T){var R=T.type[0];if(A&&"hideFocus"in x)try{x.sheet.cssText.length||(R="e")}catch(N){R="e"}if(R=="e"&&(m+=1,m=o?e:o)),e}y.exports=c},162482:function(y,c,e){var o=e(547578),n=e(728197),i=e(417362),t=e(808223),r=e(291597),s=e(144686),d=e(195338),v=e(667366),u=e(503982),a=e(691011),l=e(299953),p=e(518921),h=e(897463),g=e(412210),m=e(276249),S=e(195593),_=e(651023),C=e(85558),O=e(58980),A=e(160571),x=e(935215),T=e(726146),R=1,N=2,B=4,z="[object Arguments]",K="[object Array]",$="[object Boolean]",ie="[object Date]",V="[object Error]",W="[object Function]",H="[object GeneratorFunction]",k="[object Map]",J="[object Number]",ae="[object Object]",ne="[object RegExp]",X="[object Set]",re="[object String]",Z="[object Symbol]",te="[object WeakMap]",oe="[object ArrayBuffer]",Se="[object DataView]",Re="[object Float32Array]",Ke="[object Float64Array]",Qe="[object Int8Array]",Je="[object Int16Array]",rt="[object Int32Array]",Pt="[object Uint8Array]",Wt="[object Uint8ClampedArray]",de="[object Uint16Array]",Le="[object Uint32Array]",le={};le[z]=le[K]=le[oe]=le[Se]=le[$]=le[ie]=le[Re]=le[Ke]=le[Qe]=le[Je]=le[rt]=le[k]=le[J]=le[ae]=le[ne]=le[X]=le[re]=le[Z]=le[Pt]=le[Wt]=le[de]=le[Le]=!0,le[V]=le[W]=le[te]=!1;function Ce(Ne,Ee,Ie,dt,xt,It){var gt,Ot=Ee&R,Fe=Ee&N,Ve=Ee&B;if(Ie&&(gt=xt?Ie(Ne,dt,xt,It):Ie(Ne)),gt!==void 0)return gt;if(!O(Ne))return Ne;var se=S(Ne);if(se){if(gt=h(Ne),!Ot)return d(Ne,gt)}else{var fe=p(Ne),pe=fe==W||fe==H;if(_(Ne))return s(Ne,Ot);if(fe==ae||fe==z||pe&&!xt){if(gt=Fe||pe?{}:m(Ne),!Ot)return Fe?u(Ne,r(gt,Ne)):v(Ne,t(gt,Ne))}else{if(!le[fe])return xt?Ne:{};gt=g(Ne,fe,Ot)}}It||(It=new o);var xe=It.get(Ne);if(xe)return xe;It.set(Ne,gt),A(Ne)?Ne.forEach(function(Xe){gt.add(Ce(Xe,Ee,Ie,Xe,Ne,It))}):C(Ne)&&Ne.forEach(function(Xe,st){gt.set(st,Ce(Xe,Ee,Ie,st,Ne,It))});var Me=Ve?Fe?l:a:Fe?T:x,je=se?void 0:Me(Ne);return n(je||Ne,function(Xe,st){je&&(st=Xe,Xe=Ne[st]),i(gt,st,Ce(Xe,Ee,Ie,st,Ne,It))}),gt}y.exports=Ce},836272:function(y,c,e){var o=e(58980),n=Object.create,i=function(){function t(){}return function(r){if(!o(r))return{};if(n)return n(r);t.prototype=r;var s=new t;return t.prototype=void 0,s}}();y.exports=i},979992:function(y){function c(e,o,n){var i;return n(e,function(t,r,s){if(o(t,r,s))return i=r,!1}),i}y.exports=c},431345:function(y,c,e){var o=e(955232);function n(i,t,r,s){return o(i,function(d,v,u){t(s,r(d),v,u)}),s}y.exports=n},134547:function(y,c,e){var o=e(518921),n=e(301602),i="[object Map]";function t(r){return n(r)&&o(r)==i}y.exports=t},325330:function(y,c,e){var o=e(518921),n=e(301602),i="[object Set]";function t(r){return n(r)&&o(r)==i}y.exports=t},511196:function(y,c,e){var o=e(58980),n=e(605928),i=e(583790),t=Object.prototype,r=t.hasOwnProperty;function s(d){if(!o(d))return i(d);var v=n(d),u=[];for(var a in d)a=="constructor"&&(v||!r.call(d,a))||u.push(a);return u}y.exports=s},659360:function(y,c,e){var o=e(712869),n=e(455070),i=e(335945);function t(r,s,d){for(var v=-1,u=s.length,a={};++vt?0:t+o),n=n>t?t:n,n<0&&(n+=t),t=o>n?0:n-o>>>0,o>>>=0;for(var r=Array(t);++i=s?i:o(i,t,r)}y.exports=n},430415:function(y,c,e){var o=e(892252);function n(i){var t=new i.constructor(i.byteLength);return new o(t).set(new o(i)),t}y.exports=n},144686:function(y,c,e){y=e.nmd(y);var o=e(769795),n=c&&!c.nodeType&&c,i=n&&!0&&y&&!y.nodeType&&y,t=i&&i.exports===n,r=t?o.Buffer:void 0,s=r?r.allocUnsafe:void 0;function d(v,u){if(u)return v.slice();var a=v.length,l=s?s(a):new v.constructor(a);return v.copy(l),l}y.exports=d},639081:function(y,c,e){var o=e(430415);function n(i,t){var r=t?o(i.buffer):i.buffer;return new i.constructor(r,i.byteOffset,i.byteLength)}y.exports=n},332439:function(y){var c=/\w*$/;function e(o){var n=new o.constructor(o.source,c.exec(o));return n.lastIndex=o.lastIndex,n}y.exports=e},563555:function(y,c,e){var o=e(655730),n=o?o.prototype:void 0,i=n?n.valueOf:void 0;function t(r){return i?Object(i.call(r)):{}}y.exports=t},327640:function(y,c,e){var o=e(430415);function n(i,t){var r=t?o(i.buffer):i.buffer;return new i.constructor(r,i.byteOffset,i.length)}y.exports=n},195338:function(y){function c(e,o){var n=-1,i=e.length;for(o||(o=Array(i));++n=u||W<0||O&&H>=h}function B(){var V=n();if(N(V))return z(V);m=setTimeout(B,R(V))}function z(V){return m=void 0,A&&l?x(V):(l=p=void 0,g)}function K(){m!==void 0&&clearTimeout(m),_=0,l=S=p=m=void 0}function $(){return m===void 0?g:z(n())}function ie(){var V=n(),W=N(V);if(l=arguments,p=this,S=V,W){if(m===void 0)return T(S);if(O)return clearTimeout(m),m=setTimeout(B,u),x(S)}return m===void 0&&(m=setTimeout(B,u)),g}return ie.cancel=K,ie.flush=$,ie}y.exports=d},485774:function(y,c,e){var o=e(979992),n=e(955232),i=e(511079);function t(r,s){return o(r,i(s,3),n)}y.exports=t},311064:function(y,c,e){var o=e(764483),n=e(614661),i=e(839039),t=Object.prototype,r=t.toString,s=n(function(d,v,u){v!=null&&typeof v.toString!="function"&&(v=r.call(v)),d[v]=u},o(i));y.exports=s},805187:function(y,c,e){var o=e(560825),n=e(518921),i=e(217186),t=e(195593),r=e(820799),s=e(651023),d=e(605928),v=e(79656),u="[object Map]",a="[object Set]",l=Object.prototype,p=l.hasOwnProperty;function h(g){if(g==null)return!0;if(r(g)&&(t(g)||typeof g=="string"||typeof g.splice=="function"||s(g)||v(g)||i(g)))return!g.length;var m=n(g);if(m==u||m==a)return!g.size;if(d(g))return!o(g).length;for(var S in g)if(p.call(g,S))return!1;return!0}y.exports=h},976003:function(y,c,e){var o=e(628982);function n(i,t){return o(i,t)}y.exports=n},691059:function(y,c,e){var o=e(616982);function n(i){return typeof i=="number"&&i==o(i)}y.exports=n},85558:function(y,c,e){var o=e(134547),n=e(557146),i=e(317042),t=i&&i.isMap,r=t?n(t):o;y.exports=r},845193:function(y,c,e){var o=e(892876),n=e(301602),i="[object Number]";function t(r){return typeof r=="number"||n(r)&&o(r)==i}y.exports=t},160571:function(y,c,e){var o=e(325330),n=e(557146),i=e(317042),t=i&&i.isSet,r=t?n(t):o;y.exports=r},548068:function(y,c,e){var o=e(892876),n=e(195593),i=e(301602),t="[object String]";function r(s){return typeof s=="string"||!n(s)&&i(s)&&o(s)==t}y.exports=r},176944:function(y){function c(e){return e===void 0}y.exports=c},737012:function(y,c,e){var o=e(858544),n=o(function(i,t,r){return i+(r?"-":"")+t.toLowerCase()});y.exports=n},321414:function(y,c,e){var o=e(666814),n=e(546785),i=n(function(t,r,s){o(t,s,r)});y.exports=i},726146:function(y,c,e){var o=e(980538),n=e(511196),i=e(820799);function t(r){return i(r)?o(r,!0):n(r)}y.exports=t},419467:function(y,c,e){y=e.nmd(y);var o;/** * @license * Lodash * Copyright OpenJS Foundation and other contributors * Released under MIT license * Based on Underscore.js 1.8.3 * Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors */(function(){var n,i="4.17.21",t=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",s="Expected a function",d="Invalid `variable` option passed into `_.template`",v="__lodash_hash_undefined__",u=500,a="__lodash_placeholder__",l=1,p=2,h=4,g=1,m=2,S=1,_=2,C=4,O=8,A=16,x=32,T=64,R=128,N=256,B=512,z=30,K="...",$=800,ie=16,V=1,W=2,H=3,k=1/0,J=9007199254740991,ae=17976931348623157e292,ne=NaN,X=4294967295,re=X-1,Z=X>>>1,te=[["ary",R],["bind",S],["bindKey",_],["curry",O],["curryRight",A],["flip",B],["partial",x],["partialRight",T],["rearg",N]],oe="[object Arguments]",Se="[object Array]",Re="[object AsyncFunction]",Ke="[object Boolean]",Qe="[object Date]",Je="[object DOMException]",rt="[object Error]",Pt="[object Function]",Wt="[object GeneratorFunction]",de="[object Map]",Le="[object Number]",le="[object Null]",Ce="[object Object]",Ne="[object Promise]",Ee="[object Proxy]",Ie="[object RegExp]",dt="[object Set]",xt="[object String]",It="[object Symbol]",gt="[object Undefined]",Ot="[object WeakMap]",Fe="[object WeakSet]",Ve="[object ArrayBuffer]",se="[object DataView]",fe="[object Float32Array]",pe="[object Float64Array]",xe="[object Int8Array]",Me="[object Int16Array]",je="[object Int32Array]",Xe="[object Uint8Array]",st="[object Uint8ClampedArray]",Ae="[object Uint16Array]",He="[object Uint32Array]",ot=/\b__p \+= '';/g,Ut=/\b(__p \+=) '' \+/g,Zt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jt=/&(?:amp|lt|gt|quot|#39);/g,vn=/[&<>"']/g,Xn=RegExp(jt.source),xr=RegExp(vn.source),Wn=/<%-([\s\S]+?)%>/g,kn=/<%([\s\S]+?)%>/g,or=/<%=([\s\S]+?)%>/g,ci=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Jr=/^\w*$/,fa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Mr=/[\\^$.*+?()[\]{}|]/g,Zi=RegExp(Mr.source),Gr=/^\s+/,Pe=/\s/,cn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Lr=/\{\n\/\* \[wrapped with (.+)\] \*/,pr=/,? & /,Ji=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,on=/[()=,{}\[\]\/\s]/,fi=/\\(\\)?/g,zi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Yr=/\w*$/,qr=/^[-+]0x[0-9a-f]+$/i,Yi=/^0b[01]+$/i,Zn=/^\[object .+?Constructor\]$/,sr=/^0o[0-7]+$/i,ur=/^(?:0|[1-9]\d*)$/,Nr=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,di=/($^)/,qi=/['\n\r\u2028\u2029\\]/g,ei="\\ud800-\\udfff",Qt="\\u0300-\\u036f",da="\\ufe20-\\ufe2f",Ri="\\u20d0-\\u20ff",vi=Qt+da+Ri,lr="\\u2700-\\u27bf",Ei="a-z\\xdf-\\xf6\\xf8-\\xff",ea="\\xac\\xb1\\xd7\\xf7",wi="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Ur="\\u2000-\\u206f",Ir=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",ze="A-Z\\xc0-\\xd6\\xd8-\\xde",me="\\ufe0e\\ufe0f",we=ea+wi+Ur+Ir,Ue="['\u2019]",tt="["+ei+"]",mt="["+we+"]",At="["+vi+"]",Ct="\\d+",Jt="["+lr+"]",Nt="["+Ei+"]",Tn="[^"+ei+we+Ct+lr+Ei+ze+"]",_t="\\ud83c[\\udffb-\\udfff]",vt="(?:"+At+"|"+_t+")",St="[^"+ei+"]",wt="(?:\\ud83c[\\udde6-\\uddff]){2}",Gt="[\\ud800-\\udbff][\\udc00-\\udfff]",Dt="["+ze+"]",en="\\u200d",sn="(?:"+Nt+"|"+Tn+")",xn="(?:"+Dt+"|"+Tn+")",mn="(?:"+Ue+"(?:d|ll|m|re|s|t|ve))?",hn="(?:"+Ue+"(?:D|LL|M|RE|S|T|VE))?",Hn=vt+"?",Dr="["+me+"]?",Or="(?:"+en+"(?:"+[St,wt,Gt].join("|")+")"+Dr+Hn+")*",ue="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Te="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qe=Dr+Hn+Or,kt="(?:"+[Jt,wt,Gt].join("|")+")"+qe,un="(?:"+[St+At+"?",At,wt,Gt,tt].join("|")+")",pn=RegExp(Ue,"g"),Fr=RegExp(At,"g"),er=RegExp(_t+"(?="+_t+")|"+un+qe,"g"),Gn=RegExp([Dt+"?"+Nt+"+"+mn+"(?="+[mt,Dt,"$"].join("|")+")",xn+"+"+hn+"(?="+[mt,Dt+sn,"$"].join("|")+")",Dt+"?"+sn+"+"+mn,Dt+"+"+hn,Te,ue,Ct,kt].join("|"),"g"),ti=RegExp("["+en+ei+vi+me+"]"),Si=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_r=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],Wr=-1,Un={};Un[fe]=Un[pe]=Un[xe]=Un[Me]=Un[je]=Un[Xe]=Un[st]=Un[Ae]=Un[He]=!0,Un[oe]=Un[Se]=Un[Ve]=Un[Ke]=Un[se]=Un[Qe]=Un[rt]=Un[Pt]=Un[de]=Un[Le]=Un[Ce]=Un[Ie]=Un[dt]=Un[xt]=Un[Ot]=!1;var Yt={};Yt[oe]=Yt[Se]=Yt[Ve]=Yt[se]=Yt[Ke]=Yt[Qe]=Yt[fe]=Yt[pe]=Yt[xe]=Yt[Me]=Yt[je]=Yt[de]=Yt[Le]=Yt[Ce]=Yt[Ie]=Yt[dt]=Yt[xt]=Yt[It]=Yt[Xe]=Yt[st]=Yt[Ae]=Yt[He]=!0,Yt[rt]=Yt[Pt]=Yt[Ot]=!1;var fo={\u00C0:"A",\u00C1:"A",\u00C2:"A",\u00C3:"A",\u00C4:"A",\u00C5:"A",\u00E0:"a",\u00E1:"a",\u00E2:"a",\u00E3:"a",\u00E4:"a",\u00E5:"a",\u00C7:"C",\u00E7:"c",\u00D0:"D",\u00F0:"d",\u00C8:"E",\u00C9:"E",\u00CA:"E",\u00CB:"E",\u00E8:"e",\u00E9:"e",\u00EA:"e",\u00EB:"e",\u00CC:"I",\u00CD:"I",\u00CE:"I",\u00CF:"I",\u00EC:"i",\u00ED:"i",\u00EE:"i",\u00EF:"i",\u00D1:"N",\u00F1:"n",\u00D2:"O",\u00D3:"O",\u00D4:"O",\u00D5:"O",\u00D6:"O",\u00D8:"O",\u00F2:"o",\u00F3:"o",\u00F4:"o",\u00F5:"o",\u00F6:"o",\u00F8:"o",\u00D9:"U",\u00DA:"U",\u00DB:"U",\u00DC:"U",\u00F9:"u",\u00FA:"u",\u00FB:"u",\u00FC:"u",\u00DD:"Y",\u00FD:"y",\u00FF:"y",\u00C6:"Ae",\u00E6:"ae",\u00DE:"Th",\u00FE:"th",\u00DF:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010A:"C",\u010C:"C",\u0107:"c",\u0109:"c",\u010B:"c",\u010D:"c",\u010E:"D",\u0110:"D",\u010F:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011A:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011B:"e",\u011C:"G",\u011E:"G",\u0120:"G",\u0122:"G",\u011D:"g",\u011F:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012A:"I",\u012C:"I",\u012E:"I",\u0130:"I",\u0129:"i",\u012B:"i",\u012D:"i",\u012F:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013B:"L",\u013D:"L",\u013F:"L",\u0141:"L",\u013A:"l",\u013C:"l",\u013E:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014A:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014B:"n",\u014C:"O",\u014E:"O",\u0150:"O",\u014D:"o",\u014F:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015A:"S",\u015C:"S",\u015E:"S",\u0160:"S",\u015B:"s",\u015D:"s",\u015F:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016A:"U",\u016C:"U",\u016E:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016B:"u",\u016D:"u",\u016F:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017B:"Z",\u017D:"Z",\u017A:"z",\u017C:"z",\u017E:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017F:"s"},Da={"&":"&","<":"<",">":">",'"':""","'":"'"},Ka={"&":"&","<":"<",">":">",""":'"',"'":"'"},Us={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Su=parseFloat,Uo=parseInt,Oa=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,os=typeof self=="object"&&self&&self.Object===Object&&self,Ar=Oa||os||Function("return this")(),Hr=c&&!c.nodeType&&c,ta=Hr&&!0&&y&&!y.nodeType&&y,na=ta&&ta.exports===Hr,ra=na&&Oa.process,Rr=function(){try{var it=ta&&ta.require&&ta.require("util").types;return it||ra&&ra.binding&&ra.binding("util")}catch(Tt){}}(),Va=Rr&&Rr.isArrayBuffer,ss=Rr&&Rr.isDate,ni=Rr&&Rr.isMap,_a=Rr&&Rr.isRegExp,us=Rr&&Rr.isSet,$a=Rr&&Rr.isTypedArray;function ri(it,Tt,bt){switch(bt.length){case 0:return it.call(Tt);case 1:return it.call(Tt,bt[0]);case 2:return it.call(Tt,bt[0],bt[1]);case 3:return it.call(Tt,bt[0],bt[1],bt[2])}return it.apply(Tt,bt)}function Qa(it,Tt,bt,qt){for(var In=-1,Jn=it==null?0:it.length;++In-1}function ft(it,Tt,bt){for(var qt=-1,In=it==null?0:it.length;++qt-1;);return bt}function kr(it,Tt){for(var bt=it.length;bt--&&Xa(Tt,it[bt],0)>-1;);return bt}function Gi(it,Tt){for(var bt=it.length,qt=0;bt--;)it[bt]===Tt&&++qt;return qt}var Cu=Oe(fo),fs=Oe(Da);function Pu(it){return"\\"+Us[it]}function ds(it,Tt){return it==null?n:it[Tt]}function Di(it){return ti.test(it)}function Tu(it){return Si.test(it)}function Oi(it){for(var Tt,bt=[];!(Tt=it.next()).done;)bt.push(Tt.value);return bt}function Fo(it){var Tt=-1,bt=Array(it.size);return it.forEach(function(qt,In){bt[++Tt]=[In,qt]}),bt}function vs(it,Tt){return function(bt){return it(Tt(bt))}}function Na(it,Tt){for(var bt=-1,qt=it.length,In=0,Jn=[];++bt-1}function ed(b,P){var F=this.__data__,ee=Oo(F,b);return ee<0?(++this.size,F.push([b,P])):F[ee][1]=P,this}ln.prototype.clear=$s,ln.prototype.delete=Eo,ln.prototype.get=ga,ln.prototype.has=hl,ln.prototype.set=ed;function to(b){var P=-1,F=b==null?0:b.length;for(this.clear();++P=P?b:P)),b}function aa(b,P,F,ee,ce,_e){var We,et=P&l,ut=P&p,Mt=P&h;if(F&&(We=ce?F(b,ee,ce,_e):F(b)),We!==n)return We;if(!pt(b))return b;var Lt=zn(b);if(Lt){if(We=vd(b),!et)return Vi(b,We)}else{var Ht=wr(b),nn=Ht==Pt||Ht==Wt;if(w(b))return Zu(b,et);if(Ht==Ce||Ht==oe||nn&&!ce){if(We=ut||nn?{}:If(b),!et)return ut?Sf(b,hr(We,b)):od(b,ia(We,b))}else{if(!Yt[Ht])return ce?b:{};We=Cl(b,Ht,et)}}_e||(_e=new Ai);var En=_e.get(b);if(En)return En;_e.set(b,We),ba(b)?b.forEach(function(Dn){We.add(aa(Dn,P,F,Dn,b,_e))}):Ft(b)&&b.forEach(function(Dn,qn){We.set(qn,aa(Dn,P,F,qn,b,_e))});var Mn=Mt?ut?Sc:Ec:ut?ca:Bi,Qn=Lt?n:Mn(b);return hi(Qn||b,function(Dn,qn){Qn&&(qn=Dn,Dn=b[qn]),Zs(We,qn,aa(Dn,P,F,qn,b,_e))}),We}function rf(b){var P=Bi(b);return function(F){return af(F,b,P)}}function af(b,P,F){var ee=F.length;if(b==null)return!ee;for(b=fr(b);ee--;){var ce=F[ee],_e=P[ce],We=b[ce];if(We===n&&!(ce in b)||!_e(We))return!1}return!0}function Js(b,P,F){if(typeof b!="function")throw new Aa(s);return Sa(function(){b.apply(n,F)},P)}function Wu(b,P,F,ee){var ce=-1,_e=vo,We=!0,et=b.length,ut=[],Mt=P.length;if(!et)return ut;F&&(P=cr(P,Xt(F))),ee?(_e=ft,We=!1):P.length>=t&&(_e=Kn,We=!1,P=new So(P));e:for(;++cece?0:ce+F),ee=ee===n||ee>ce?ce:Ln(ee),ee<0&&(ee+=ce),ee=F>ee?0:Ls(ee);F0&&F(et)?P>1?jr(et,P-1,F,ee,ce):va(ce,et):ee||(ce[ce.length]=et)}return ce}var Hu=Ol(),Zl=Ol(!0);function ja(b,P){return b&&Hu(b,P,Bi)}function gl(b,P){return b&&Zl(b,P,Bi)}function io(b,P){return bi(P,function(F){return Ge(b[F])})}function Ci(b,P){P=$o(P,b);for(var F=0,ee=P.length;b!=null&&FP}function Ko(b,P){return b!=null&&tr.call(b,P)}function As(b,P){return b!=null&&P in fr(b)}function Yl(b,P,F){return b>=pi(P,F)&&b=120&&Lt.length>=120)?new So(We&&Lt):n}Lt=b[0];var Ht=-1,nn=et[0];e:for(;++Ht-1;)et!==b&&po.call(et,ut,1),po.call(b,ut,1);return b}function dr(b,P){for(var F=b?P.length:0,ee=F-1;F--;){var ce=P[F];if(F==ee||ce!==_e){var _e=ce;Zo(ce)?po.call(b,ce,1):ya(b,ce)}}return b}function Qu(b,P){return b+ys(vl()*(P-b+1))}function tc(b,P,F,ee){for(var ce=-1,_e=Cr(ms((P-b)/(F||1)),0),We=bt(_e);_e--;)We[ee?_e:++ce]=b,b+=F;return We}function El(b,P){var F="";if(!b||P<1||P>J)return F;do P%2&&(F+=b),P=ys(P/2),P&&(b+=b);while(P);return F}function jn(b,P){return xc(Pc(b,P,No),b+"")}function pf(b){return bo(Wd(b))}function iu(b,P){var F=Wd(b);return Tl(F,ro(P,0,F.length))}function mr(b,P,F,ee){if(!pt(b))return b;P=$o(P,b);for(var ce=-1,_e=P.length,We=_e-1,et=b;et!=null&&++ce<_e;){var ut=Io(P[ce]),Mt=F;if(ut==="__proto__"||ut==="constructor"||ut==="prototype")return b;if(ce!=We){var Lt=et[ut];Mt=ee?ee(Lt,ut,et):n,Mt===n&&(Mt=pt(Lt)?Lt:Zo(P[ce+1])?[]:{})}Zs(et,ut,Mt),et=et[ut]}return b}var ai=ju?function(b,P){return ju.set(b,P),b}:No,Pi=Du?function(b,P){return Du(b,"toString",{configurable:!0,enumerable:!1,value:hv(P),writable:!0})}:No;function nc(b){return Tl(Wd(b))}function Ki(b,P,F){var ee=-1,ce=b.length;P<0&&(P=-P>ce?0:ce+P),F=F>ce?ce:F,F<0&&(F+=ce),ce=P>F?0:F-P>>>0,P>>>=0;for(var _e=bt(ce);++ee>>1,We=b[_e];We!==null&&!yr(We)&&(F?We<=P:We=t){var Mt=P?null:sa(b);if(Mt)return vr(Mt);We=!1,ce=Kn,ut=new So}else ut=P?[]:et;e:for(;++ee<_e;){var Lt=b[ee],Ht=P?P(Lt):Lt;if(Lt=F||Lt!==0?Lt:0,We&&Ht===Ht){for(var nn=ut.length;nn--;)if(ut[nn]===Ht)continue e;P&&ut.push(Ht),et.push(Lt)}else ce(ut,Ht,F)||(ut!==et&&ut.push(Ht),et.push(Lt))}return et}function ya(b,P){return P=$o(P,b),b=Pl(b,P),b==null||delete b[Io(ua(P))]}function Xu(b,P,F,ee){return mr(b,P,F(Ci(b,P)),ee)}function Ao(b,P,F,ee){for(var ce=b.length,_e=ee?ce:-1;(ee?_e--:++_e=ee?b:Ki(b,P,F)}var mf=Jc||function(b){return Ar.clearTimeout(b)};function Zu(b,P){if(P)return b.slice();var F=b.length,ee=fl?fl(F):new b.constructor(F);return b.copy(ee),ee}function lc(b){var P=new b.constructor(b.byteLength);return new Ws(P).set(new Ws(b)),P}function ou(b,P){var F=P?lc(b.buffer):b.buffer;return new b.constructor(F,b.byteOffset,b.byteLength)}function cc(b){var P=new b.constructor(b.source,Yr.exec(b));return P.lastIndex=b.lastIndex,P}function bl(b){return mo?fr(mo.call(b)):{}}function fc(b,P){var F=P?lc(b.buffer):b.buffer;return new b.constructor(F,b.byteOffset,b.length)}function dc(b,P){if(b!==P){var F=b!==n,ee=b===null,ce=b===b,_e=yr(b),We=P!==n,et=P===null,ut=P===P,Mt=yr(P);if(!et&&!Mt&&!_e&&b>P||_e&&We&&ut&&!et&&!Mt||ee&&We&&ut||!F&&ut||!ce)return 1;if(!ee&&!_e&&!Mt&&b=et)return ut;var Mt=F[ee];return ut*(Mt=="desc"?-1:1)}}return b.index-P.index}function Ef(b,P,F,ee){for(var ce=-1,_e=b.length,We=F.length,et=-1,ut=P.length,Mt=Cr(_e-We,0),Lt=bt(ut+Mt),Ht=!ee;++et1?F[ce-1]:n,We=ce>2?F[2]:n;for(_e=b.length>3&&typeof _e=="function"?(ce--,_e):n,We&&Ti(F[0],F[1],We)&&(_e=ce<3?n:_e,ce=1),P=fr(P);++ee-1?ce[_e?P[We]:We]:n}}function cd(b){return ao(function(P){var F=P.length,ee=F,ce=ii.prototype.thru;for(b&&P.reverse();ee--;){var _e=P[ee];if(typeof _e!="function")throw new Aa(s);if(ce&&!We&&lu(_e)=="wrapper")var We=new ii([],!0)}for(ee=We?ee:F;++ee1&&ar.reverse(),Lt&&utet))return!1;var Mt=_e.get(b),Lt=_e.get(P);if(Mt&&Lt)return Mt==P&&Lt==b;var Ht=-1,nn=!0,En=F&m?new So:n;for(_e.set(b,P),_e.set(P,b);++Ht1?"& ":"")+P[ee],P=P.join(F>2?", ":" "),b.replace(cn,"{\n/* [wrapped with "+P+"] */\n")}function hd(b){return zn(b)||Ml(b)||!!(Zc&&b&&b[Zc])}function Zo(b,P){var F=typeof b;return P=P==null?J:P,!!P&&(F=="number"||F!="symbol"&&ur.test(b))&&b>-1&&b%1==0&&b0){if(++P>=$)return arguments[0]}else P=0;return b.apply(n,arguments)}}function Tl(b,P){var F=-1,ee=b.length,ce=ee-1;for(P=P===n?ee:P;++F1?b[P-1]:n;return F=typeof F=="function"?(b.pop(),F):n,pu(b,F)});function Rd(b){var P=ye(b);return P.__chain__=!0,P}function Ha(b,P){return P(b),b}function tl(b,P){return P(b)}var $d=ao(function(b){var P=b.length,F=P?b[0]:0,ee=this.__wrapped__,ce=function(_e){return $l(_e,b)};return P>1||this.__actions__.length||!(ee instanceof Bn)||!Zo(F)?this.thru(ce):(ee=ee.slice(F,+F+(P?1:0)),ee.__actions__.push({func:tl,args:[ce],thisArg:n}),new ii(ee,this.__chain__).thru(function(_e){return P&&!_e.length&&_e.push(n),_e}))});function Yo(){return Rd(this)}function jc(){return new ii(this.value(),this.__chain__)}function gu(){this.__values__===n&&(this.__values__=ns(this.value()));var b=this.__index__>=this.__values__.length,P=b?n:this.__values__[this.__index__++];return{done:b,value:P}}function zc(){return this}function kf(b){for(var P,F=this;F instanceof eo;){var ee=Mf(F);ee.__index__=0,ee.__values__=n,P?ce.__wrapped__=ee:P=ee;var ce=ee;F=F.__wrapped__}return ce.__wrapped__=b,P}function wl(){var b=this.__wrapped__;if(b instanceof Bn){var P=b;return this.__actions__.length&&(P=new Bn(this)),P=P.reverse(),P.__actions__.push({func:tl,args:[wa],thisArg:n}),new ii(P,this.__chain__)}return this.thru(wa)}function Kf(){return au(this.__wrapped__,this.__actions__)}var Vf=hc(function(b,P,F){tr.call(b,F)?++b[F]:gi(b,F,1)});function nl(b,P,F){var ee=zn(b)?Mi:nd;return F&&Ti(b,P,F)&&(P=n),ee(b,Sn(P,3))}function wd(b,P){var F=zn(b)?bi:Ys;return F(b,Sn(P,3))}var Md=ld(Zr),Gc=ld(fu);function Wc(b,P){return jr(rl(b,P),1)}function Dd(b,P){return jr(rl(b,P),k)}function $f(b,P,F){return F=F===n?1:Ln(F),jr(rl(b,P),F)}function Qf(b,P){var F=zn(b)?hi:ma;return F(b,Sn(P,3))}function mu(b,P){var F=zn(b)?La:Ql;return F(b,Sn(P,3))}var Xf=hc(function(b,P,F){tr.call(b,F)?b[F].push(P):gi(b,F,[P])});function Hc(b,P,F,ee){b=Ma(b)?b:Wd(b),F=F&&!ee?Ln(F):0;var ce=b.length;return F<0&&(F=Cr(ce+F,0)),ka(b)?F<=ce&&b.indexOf(P,F)>-1:!!ce&&Xa(b,P,F)>-1}var qo=jn(function(b,P,F){var ee=-1,ce=typeof P=="function",_e=Ma(b)?bt(b.length):[];return ma(b,function(We){_e[++ee]=ce?ri(P,We,F):za(We,P,F)}),_e}),kc=hc(function(b,P,F){gi(b,F,P)});function rl(b,P){var F=zn(b)?cr:eu;return F(b,Sn(P,3))}function Qd(b,P,F,ee){return b==null?[]:(zn(P)||(P=P==null?[]:[P]),F=ee?n:F,zn(F)||(F=F==null?[]:[F]),Vo(b,P,F))}var Kc=hc(function(b,P,F){b[F?0:1].push(P)},function(){return[[],[]]});function Xd(b,P,F){var ee=zn(b)?bu:ke,ce=arguments.length<3;return ee(b,Sn(P,4),F,ce,ma)}function yu(b,P,F){var ee=zn(b)?ll:ke,ce=arguments.length<3;return ee(b,Sn(P,4),F,ce,Ql)}function Zd(b,P){var F=zn(b)?bi:Ys;return F(b,nt(Sn(P,3)))}function wo(b){var P=zn(b)?bo:pf;return P(b)}function f(b,P,F){(F?Ti(b,P,F):P===n)?P=1:P=Ln(P);var ee=zn(b)?no:iu;return ee(b,P)}function E(b){var P=zn(b)?Xs:nc;return P(b)}function I(b){if(b==null)return 0;if(Ma(b))return ka(b)?Kr(b):b.length;var P=wr(b);return P==de||P==dt?b.size:Vu(b).length}function L(b,P,F){var ee=zn(b)?Fs:Sl;return F&&Ti(b,P,F)&&(P=n),ee(b,Sn(P,3))}var G=jn(function(b,P){if(b==null)return[];var F=P.length;return F>1&&Ti(b,P[0],P[1])?P=[]:F>2&&Ti(P[0],P[1],P[2])&&(P=[P[0]]),Vo(b,jr(P,1),[])}),q=Gl||function(){return Ar.Date.now()};function ve(b,P){if(typeof P!="function")throw new Aa(s);return b=Ln(b),function(){if(--b<1)return P.apply(this,arguments)}}function Be(b,P,F){return P=F?n:P,P=b&&P==null?b.length:P,To(b,R,n,n,n,n,P)}function Ze(b,P){var F;if(typeof P!="function")throw new Aa(s);return b=Ln(b),function(){return--b>0&&(F=P.apply(this,arguments)),b<=1&&(P=n),F}}var yt=jn(function(b,P,F){var ee=S;if(F.length){var ce=Na(F,cu(yt));ee|=x}return To(b,ee,P,F,ce)}),zt=jn(function(b,P,F){var ee=S|_;if(F.length){var ce=Na(F,cu(zt));ee|=x}return To(P,ee,b,F,ce)});function Kt(b,P,F){P=F?n:P;var ee=To(b,O,n,n,n,n,n,P);return ee.placeholder=Kt.placeholder,ee}function Bt(b,P,F){P=F?n:P;var ee=To(b,A,n,n,n,n,n,P);return ee.placeholder=Bt.placeholder,ee}function tn(b,P,F){var ee,ce,_e,We,et,ut,Mt=0,Lt=!1,Ht=!1,nn=!0;if(typeof b!="function")throw new Aa(s);P=Ii(P)||0,pt(F)&&(Lt=!!F.leading,Ht="maxWait"in F,_e=Ht?Cr(Ii(F.maxWait)||0,P):_e,nn="trailing"in F?!!F.trailing:nn);function En(ji){var Eu=ee,Nl=ce;return ee=ce=n,Mt=ji,We=b.apply(Nl,Eu),We}function Mn(ji){return Mt=ji,et=Sa(qn,P),Lt?En(ji):We}function Qn(ji){var Eu=ji-ut,Nl=ji-Mt,Iv=P-Eu;return Ht?pi(Iv,_e-Nl):Iv}function Dn(ji){var Eu=ji-ut,Nl=ji-Mt;return ut===n||Eu>=P||Eu<0||Ht&&Nl>=_e}function qn(){var ji=q();if(Dn(ji))return ar(ji);et=Sa(qn,Qn(ji))}function ar(ji){return et=n,nn&&ee?En(ji):(ee=ce=n,We)}function is(){et!==n&&mf(et),Mt=0,ee=ut=ce=et=n}function co(){return et===n?We:ar(q())}function as(){var ji=q(),Eu=Dn(ji);if(ee=arguments,ce=this,ut=ji,Eu){if(et===n)return Mn(ut);if(Ht)return mf(et),et=Sa(qn,P),En(ut)}return et===n&&(et=Sa(qn,P)),We}return as.cancel=is,as.flush=co,as}var fn=jn(function(b,P){return Js(b,1,P)}),gn=jn(function(b,P,F){return Js(b,Ii(P)||0,F)});function Tr(b){return To(b,B)}function lt(b,P){if(typeof b!="function"||P!=null&&typeof P!="function")throw new Aa(s);var F=function(){var ee=arguments,ce=P?P.apply(this,ee):ee[0],_e=F.cache;if(_e.has(ce))return _e.get(ce);var We=b.apply(this,ee);return F.cache=_e.set(ce,We)||_e,We};return F.cache=new(lt.Cache||to),F}lt.Cache=to;function nt(b){if(typeof b!="function")throw new Aa(s);return function(){var P=arguments;switch(P.length){case 0:return!b.call(this);case 1:return!b.call(this,P[0]);case 2:return!b.call(this,P[0],P[1]);case 3:return!b.call(this,P[0],P[1],P[2])}return!b.apply(this,P)}}function ht(b){return Ze(2,b)}var $t=ad(function(b,P){P=P.length==1&&zn(P[0])?cr(P[0],Xt(Sn())):cr(jr(P,1),Xt(Sn()));var F=P.length;return jn(function(ee){for(var ce=-1,_e=pi(ee.length,F);++ce<_e;)ee[ce]=P[ce].call(this,ee[ce]);return ri(b,this,ee)})}),dn=jn(function(b,P){var F=Na(P,cu(dn));return To(b,x,n,P,F)}),_n=jn(function(b,P){var F=Na(P,cu(_n));return To(b,T,n,P,F)}),An=ao(function(b,P){return To(b,N,n,n,n,P)});function wn(b,P){if(typeof b!="function")throw new Aa(s);return P=P===n?P:Ln(P),jn(b,P)}function ui(b,P){if(typeof b!="function")throw new Aa(s);return P=P==null?0:Cr(Ln(P),0),jn(function(F){var ee=F[P],ce=Qo(F,0,P);return ee&&va(ce,ee),ri(b,this,ce)})}function nr(b,P,F){var ee=!0,ce=!0;if(typeof b!="function")throw new Aa(s);return pt(F)&&(ee="leading"in F?!!F.leading:ee,ce="trailing"in F?!!F.trailing:ce),tn(b,P,{leading:ee,maxWait:P,trailing:ce})}function es(b){return Be(b,1)}function Jd(b,P){return dn(uc(P),b)}function ov(){if(!arguments.length)return[];var b=arguments[0];return zn(b)?b:[b]}function sv(b){return aa(b,h)}function Yd(b,P){return P=typeof P=="function"?P:n,aa(b,h,P)}function uv(b){return aa(b,l|h)}function tv(b,P){return P=typeof P=="function"?P:n,aa(b,l|h,P)}function lv(b,P){return P==null||af(b,P,Bi(P))}function ts(b,P){return b===P||b!==b&&P!==P}var cv=Ps(Jl),qd=Ps(function(b,P){return b>=P}),Ml=qs(function(){return arguments}())?qs:function(b){return Et(b)&&tr.call(b,"callee")&&!dl.call(b,"callee")},zn=bt.isArray,fv=Va?Xt(Va):of;function Ma(b){return b!=null&&at(b.length)&&!Ge(b)}function li(b){return Et(b)&&Ma(b)}function nv(b){return b===!0||b===!1||Et(b)&&Li(b)==Ke}var w=Yc||Ev,D=ss?Xt(ss):ql;function M(b){return Et(b)&&b.nodeType===1&&!Pn(b)}function U(b){if(b==null)return!0;if(Ma(b)&&(zn(b)||typeof b=="string"||typeof b.splice=="function"||w(b)||Fi(b)||Ml(b)))return!b.length;var P=wr(b);if(P==de||P==dt)return!b.size;if(xs(b))return!Vu(b).length;for(var F in b)if(tr.call(b,F))return!1;return!0}function j(b,P){return Cs(b,P)}function Q(b,P,F){F=typeof F=="function"?F:n;var ee=F?F(b,P):n;return ee===n?Cs(b,P,n,F):!!ee}function he(b){if(!Et(b))return!1;var P=Li(b);return P==rt||P==Je||typeof b.message=="string"&&typeof b.name=="string"&&!Pn(b)}function De(b){return typeof b=="number"&&Lu(b)}function Ge(b){if(!pt(b))return!1;var P=Li(b);return P==Pt||P==Wt||P==Re||P==Ee}function $e(b){return typeof b=="number"&&b==Ln(b)}function at(b){return typeof b=="number"&&b>-1&&b%1==0&&b<=J}function pt(b){var P=typeof b;return b!=null&&(P=="object"||P=="function")}function Et(b){return b!=null&&typeof b=="object"}var Ft=ni?Xt(ni):sf;function yn(b,P){return b===P||ku(b,P,bc(P))}function Cn(b,P,F){return F=typeof F=="function"?F:n,ku(b,P,bc(P),F)}function bn(b){return On(b)&&b!=+b}function Vn(b){if(oo(b))throw new In(r);return uf(b)}function $n(b){return b===null}function Rn(b){return b==null}function On(b){return typeof b=="number"||Et(b)&&Li(b)==Le}function Pn(b){if(!Et(b)||Li(b)!=Ce)return!1;var P=Mu(b);if(P===null)return!0;var F=tr.call(P,"constructor")&&P.constructor;return typeof F=="function"&&F instanceof F&&Vr.call(F)==jl}var Nn=_a?Xt(_a):lf;function mi(b){return $e(b)&&b>=-J&&b<=J}var ba=us?Xt(us):id;function ka(b){return typeof b=="string"||!zn(b)&&Et(b)&&Li(b)==xt}function yr(b){return typeof b=="symbol"||Et(b)&&Li(b)==It}var Fi=$a?Xt($a):cf;function il(b){return b===n}function lo(b){return Et(b)&&wr(b)==Ot}function al(b){return Et(b)&&Li(b)==Fe}var Mo=Ps(ec),ol=Ps(function(b,P){return b<=P});function ns(b){if(!b)return[];if(Ma(b))return ka(b)?_i(b):Vi(b);if(Hs&&b[Hs])return Oi(b[Hs]());var P=wr(b),F=P==de?Fo:P==dt?vr:Wd;return F(b)}function yi(b){if(!b)return b===0?b:0;if(b=Ii(b),b===k||b===-k){var P=b<0?-1:1;return P*ae}return b===b?b:0}function Ln(b){var P=yi(b),F=P%1;return P===P?F?P-F:P:0}function Ls(b){return b?ro(Ln(b),0,X):0}function Ii(b){if(typeof b=="number")return b;if(yr(b))return ne;if(pt(b)){var P=typeof b.valueOf=="function"?b.valueOf():b;b=pt(P)?P+"":P}if(typeof b!="string")return b===0?b:+b;b=rn(b);var F=Yi.test(b);return F||sr.test(b)?Uo(b.slice(2),F?2:8):qr.test(b)?ne:+b}function Do(b){return Ea(b,ca(b))}function Ld(b){return b?ro(Ln(b),-J,J):b===0?b:0}function ir(b){return b==null?"":oa(b)}var Nd=su(function(b,P){if(xs(P)||Ma(P)){Ea(P,Bi(P),b);return}for(var F in P)tr.call(P,F)&&Zs(b,F,P[F])}),Zf=su(function(b,P){Ea(P,ca(P),b)}),rs=su(function(b,P,F,ee){Ea(P,ca(P),b,ee)}),Lo=su(function(b,P,F,ee){Ea(P,Bi(P),b,ee)}),ev=ao($l);function Dl(b,P){var F=Vs(b);return P==null?F:ia(F,P)}var Vc=jn(function(b,P){b=fr(b);var F=-1,ee=P.length,ce=ee>2?P[2]:n;for(ce&&Ti(P[0],P[1],ce)&&(ee=1);++F1),_e}),Ea(b,Sc(b),F),ee&&(F=aa(F,l|p|h,Pf));for(var ce=P.length;ce--;)ya(F,P[ce]);return F});function Lv(b,P){return bv(b,nt(Sn(P)))}var Nv=ao(function(b,P){return b==null?{}:vf(b,P)});function bv(b,P){if(b==null)return{};var F=cr(Sc(b),function(ee){return[ee]});return P=Sn(P),ru(b,F,function(ee,ce){return P(ee,ce[0])})}function Uv(b,P,F){P=$o(P,b);var ee=-1,ce=P.length;for(ce||(ce=1,b=n);++eeP){var ee=b;b=P,P=ee}if(F||b%1||P%1){var ce=vl();return pi(b+ce*(P-b+Su("1e-"+((ce+"").length-1))),P)}return Qu(b,P)}var $v=uu(function(b,P,F){return P=P.toLowerCase(),b+(F?Av(P):P)});function Av(b){return vv(ir(b).toLowerCase())}function Cv(b){return b=ir(b),b&&b.replace(Nr,Cu).replace(Fr,"")}function Qv(b,P,F){b=ir(b),P=oa(P);var ee=b.length;F=F===n?ee:ro(Ln(F),0,ee);var ce=F;return F-=P.length,F>=0&&b.slice(F,ce)==P}function Xv(b){return b=ir(b),b&&xr.test(b)?b.replace(vn,fs):b}function Zv(b){return b=ir(b),b&&Zi.test(b)?b.replace(Mr,"\\$&"):b}var Jv=uu(function(b,P,F){return b+(F?"-":"")+P.toLowerCase()}),Yv=uu(function(b,P,F){return b+(F?" ":"")+P.toLowerCase()}),qv=pc("toLowerCase");function eh(b,P,F){b=ir(b),P=Ln(P);var ee=P?Kr(b):0;if(!P||ee>=P)return b;var ce=(P-ee)/2;return _l(ys(ce),F)+b+_l(ms(ce),F)}function th(b,P,F){b=ir(b),P=Ln(P);var ee=P?Kr(b):0;return P&&ee>>0,F?(b=ir(b),b&&(typeof P=="string"||P!=null&&!Nn(P))&&(P=oa(P),!P&&Di(b))?Qo(_i(b),0,F):b.split(P,F)):[]}var uh=uu(function(b,P,F){return b+(F?" ":"")+vv(P)});function lh(b,P,F){return b=ir(b),F=F==null?0:ro(Ln(F),0,b.length),P=oa(P),b.slice(F,F+P.length)==P}function ch(b,P,F){var ee=ye.templateSettings;F&&Ti(b,P,F)&&(P=n),b=ir(b),P=rs({},P,ee,yc);var ce=rs({},P.imports,ee.imports,yc),_e=Bi(ce),We=Fn(ce,_e),et,ut,Mt=0,Lt=P.interpolate||di,Ht="__p += '",nn=Iu((P.escape||di).source+"|"+Lt.source+"|"+(Lt===or?zi:di).source+"|"+(P.evaluate||di).source+"|$","g"),En="//# sourceURL="+(tr.call(P,"sourceURL")?(P.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Wr+"]")+"\n";b.replace(nn,function(Dn,qn,ar,is,co,as){return ar||(ar=is),Ht+=b.slice(Mt,as).replace(qi,Pu),qn&&(et=!0,Ht+="' +\n__e("+qn+") +\n'"),co&&(ut=!0,Ht+="';\n"+co+";\n__p += '"),ar&&(Ht+="' +\n((__t = ("+ar+")) == null ? '' : __t) +\n'"),Mt=as+Dn.length,Dn}),Ht+="';\n";var Mn=tr.call(P,"variable")&&P.variable;if(!Mn)Ht="with (obj) {\n"+Ht+"\n}\n";else if(on.test(Mn))throw new In(d);Ht=(ut?Ht.replace(ot,""):Ht).replace(Ut,"$1").replace(Zt,"$1;"),Ht="function("+(Mn||"obj")+") {\n"+(Mn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(et?", __e = _.escape":"")+(ut?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Ht+"return __p\n}";var Qn=Tv(function(){return Jn(_e,En+"return "+Ht).apply(n,We)});if(Qn.source=Ht,he(Qn))throw Qn;return Qn}function fh(b){return ir(b).toLowerCase()}function dh(b){return ir(b).toUpperCase()}function vh(b,P,F){if(b=ir(b),b&&(F||P===n))return rn(b);if(!b||!(P=oa(P)))return b;var ee=_i(b),ce=_i(P),_e=gr(ee,ce),We=kr(ee,ce)+1;return Qo(ee,_e,We).join("")}function hh(b,P,F){if(b=ir(b),b&&(F||P===n))return b.slice(0,Gs(b)+1);if(!b||!(P=oa(P)))return b;var ee=_i(b),ce=kr(ee,_i(P))+1;return Qo(ee,0,ce).join("")}function ph(b,P,F){if(b=ir(b),b&&(F||P===n))return b.replace(Gr,"");if(!b||!(P=oa(P)))return b;var ee=_i(b),ce=gr(ee,_i(P));return Qo(ee,ce).join("")}function gh(b,P){var F=z,ee=K;if(pt(P)){var ce="separator"in P?P.separator:ce;F="length"in P?Ln(P.length):F,ee="omission"in P?oa(P.omission):ee}b=ir(b);var _e=b.length;if(Di(b)){var We=_i(b);_e=We.length}if(F>=_e)return b;var et=F-Kr(ee);if(et<1)return ee;var ut=We?Qo(We,0,et).join(""):b.slice(0,et);if(ce===n)return ut+ee;if(We&&(et+=ut.length-et),Nn(ce)){if(b.slice(et).search(ce)){var Mt,Lt=ut;for(ce.global||(ce=Iu(ce.source,ir(Yr.exec(ce))+"g")),ce.lastIndex=0;Mt=ce.exec(Lt);)var Ht=Mt.index;ut=ut.slice(0,Ht===n?et:Ht)}}else if(b.indexOf(oa(ce),et)!=et){var nn=ut.lastIndexOf(ce);nn>-1&&(ut=ut.slice(0,nn))}return ut+ee}function mh(b){return b=ir(b),b&&Xn.test(b)?b.replace(jt,hs):b}var yh=uu(function(b,P,F){return b+(F?" ":"")+P.toUpperCase()}),vv=pc("toUpperCase");function Pv(b,P,F){return b=ir(b),P=F?n:P,P===n?Tu(b)?Qc(b):Au(b):b.match(P)||[]}var Tv=jn(function(b,P){try{return ri(b,n,P)}catch(F){return he(F)?F:new In(F)}}),Eh=ao(function(b,P){return hi(P,function(F){F=Io(F),gi(b,F,yt(b[F],b))}),b});function Sh(b){var P=b==null?0:b.length,F=Sn();return b=P?cr(b,function(ee){if(typeof ee[1]!="function")throw new Aa(s);return[F(ee[0]),ee[1]]}):[],jn(function(ee){for(var ce=-1;++ceJ)return[];var F=X,ee=pi(b,X);P=Sn(P),b-=X;for(var ce=Rt(ee,P);++F0||P<0)?new Bn(F):(b<0?F=F.takeRight(-b):b&&(F=F.drop(b)),P!==n&&(P=Ln(P),F=P<0?F.dropRight(-P):F.take(P-b)),F)},Bn.prototype.takeRightWhile=function(b){return this.reverse().takeWhile(b).reverse()},Bn.prototype.toArray=function(){return this.take(X)},ja(Bn.prototype,function(b,P){var F=/^(?:filter|find|map|reject)|While$/.test(P),ee=/^(?:head|last)$/.test(P),ce=ye[ee?"take"+(P=="last"?"Right":""):P],_e=ee||/^find/.test(P);ce&&(ye.prototype[P]=function(){var We=this.__wrapped__,et=ee?[1]:arguments,ut=We instanceof Bn,Mt=et[0],Lt=ut||zn(We),Ht=function(qn){var ar=ce.apply(ye,va([qn],et));return ee&&nn?ar[0]:ar};Lt&&F&&typeof Mt=="function"&&Mt.length!=1&&(ut=Lt=!1);var nn=this.__chain__,En=!!this.__actions__.length,Mn=_e&&!nn,Qn=ut&&!En;if(!_e&&Lt){We=Qn?We:new Bn(this);var Dn=b.apply(We,et);return Dn.__actions__.push({func:tl,args:[Ht],thisArg:n}),new ii(Dn,nn)}return Mn&&Qn?b.apply(this,et):(Dn=this.thru(Ht),Mn?ee?Dn.value()[0]:Dn.value():Dn)})}),hi(["pop","push","shift","sort","splice","unshift"],function(b){var P=Bl[b],F=/^(?:push|sort|unshift)$/.test(b)?"tap":"thru",ee=/^(?:pop|shift)$/.test(b);ye.prototype[b]=function(){var ce=arguments;if(ee&&!this.__chain__){var _e=this.value();return P.apply(zn(_e)?_e:[],ce)}return this[F](function(We){return P.apply(zn(We)?We:[],ce)})}}),ja(Bn.prototype,function(b,P){var F=ye[P];if(F){var ee=F.name+"";tr.call(Wi,ee)||(Wi[ee]=[]),Wi[ee].push({name:P,func:F})}}),Wi[Po(n,_).name]=[{name:"wrapper",func:n}],Bn.prototype.clone=rr,Bn.prototype.reverse=Hl,Bn.prototype.value=tf,ye.prototype.at=$d,ye.prototype.chain=Yo,ye.prototype.commit=jc,ye.prototype.next=gu,ye.prototype.plant=kf,ye.prototype.reverse=wl,ye.prototype.toJSON=ye.prototype.valueOf=ye.prototype.value=Kf,ye.prototype.first=ye.prototype.head,Hs&&(ye.prototype[Hs]=zc),ye},cl=Xc();Ar._=cl,o=function(){return cl}.call(c,e,c,y),o!==n&&(y.exports=o)}).call(this)},130399:function(y,c,e){var o=e(666814),n=e(955232),i=e(511079);function t(r,s){var d={};return s=i(s,3),n(r,function(v,u,a){o(d,u,s(v,u,a))}),d}y.exports=t},860921:function(y){function c(){}y.exports=c},215422:function(y,c,e){var o=e(769795),n=function(){return o.Date.now()};y.exports=n},291341:function(y,c,e){var o=e(856575),n=e(511079),i=e(659360),t=e(299953);function r(s,d){if(s==null)return{};var v=o(t(s),function(u){return[u]});return d=n(d),i(s,v,function(u,a){return d(u,a[0])})}y.exports=r},792495:function(y,c,e){var o=e(109257),n=o("round");y.exports=n},971676:function(y,c,e){var o=e(455070);function n(i,t,r){return i==null?i:o(i,t,r)}y.exports=n},690411:function(y,c,e){var o=e(858544),n=e(157168),i=o(function(t,r,s){return t+(s?" ":"")+n(r)});y.exports=i},134521:function(y,c,e){var o=e(210750),n=e(58980),i="Expected a function";function t(r,s,d){var v=!0,u=!0;if(typeof r!="function")throw new TypeError(i);return n(d)&&(v="leading"in d?!!d.leading:v,u="trailing"in d?!!d.trailing:u),o(r,s,{leading:v,maxWait:s,trailing:u})}y.exports=t},157168:function(y,c,e){var o=e(230341),n=o("toUpperCase");y.exports=n},993990:function(y){"use strict";var c=typeof Element!="undefined"?Element.prototype:{},e=c.matches||c.matchesSelector||c.webkitMatchesSelector||c.mozMatchesSelector||c.msMatchesSelector||c.oMatchesSelector;y.exports=o;function o(n,i){if(!n||n.nodeType!==1)return!1;if(e)return e.call(n,i);for(var t=n.parentNode.querySelectorAll(i),r=0;r0;s--){var d=Math.floor(i.random()*(s+1)),v=r[s];r[s]=r[d],r[d]=v}return r},i.choose=function(r){return r[Math.floor(i.random()*r.length)]},i.isElement=function(r){return typeof HTMLElement!="undefined"?r instanceof HTMLElement:!!(r&&r.nodeType&&r.nodeName)},i.isArray=function(r){return Object.prototype.toString.call(r)==="[object Array]"},i.isFunction=function(r){return typeof r=="function"},i.isPlainObject=function(r){return typeof r=="object"&&r.constructor===Object},i.isString=function(r){return toString.call(r)==="[object String]"},i.clamp=function(r,s,d){return rd?d:r},i.sign=function(r){return r<0?-1:1},i.now=function(){if(typeof window!="undefined"&&window.performance){if(window.performance.now)return window.performance.now();if(window.performance.webkitNow)return window.performance.webkitNow()}return Date.now?Date.now():new Date-i._nowStartTime},i.random=function(r,s){return r=typeof r!="undefined"?r:0,s=typeof s!="undefined"?s:1,r+t()*(s-r)};var t=function(){return i._seed=(i._seed*9301+49297)%233280,i._seed/233280};i.colorToNumber=function(r){return r=r.replace("#",""),r.length==3&&(r=r.charAt(0)+r.charAt(0)+r.charAt(1)+r.charAt(1)+r.charAt(2)+r.charAt(2)),parseInt(r,16)},i.logLevel=1,i.log=function(){console&&i.logLevel>0&&i.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},i.info=function(){console&&i.logLevel>0&&i.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},i.warn=function(){console&&i.logLevel>0&&i.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},i.warnOnce=function(){var r=Array.prototype.slice.call(arguments).join(" ");i._warnedOnce[r]||(i.warn(r),i._warnedOnce[r]=!0)},i.deprecated=function(r,s,d){r[s]=i.chain(function(){i.warnOnce("\uD83D\uDD05 deprecated \uD83D\uDD05",d)},r[s])},i.nextId=function(){return i._nextId++},i.indexOf=function(r,s){if(r.indexOf)return r.indexOf(s);for(var d=0;dt.max.x&&(t.max.x=v.x),v.xt.max.y&&(t.max.y=v.y),v.y0?t.max.x+=s.x:t.min.x+=s.x,s.y>0?t.max.y+=s.y:t.min.y+=s.y)},i.contains=function(t,r){return r.x>=t.min.x&&r.x<=t.max.x&&r.y>=t.min.y&&r.y<=t.max.y},i.overlaps=function(t,r){return t.min.x<=r.max.x&&t.max.x>=r.min.x&&t.max.y>=r.min.y&&t.min.y<=r.max.y},i.translate=function(t,r){t.min.x+=r.x,t.max.x+=r.x,t.min.y+=r.y,t.max.y+=r.y},i.shift=function(t,r){var s=t.max.x-t.min.x,d=t.max.y-t.min.y;t.min.x=r.x,t.max.x=r.x+s,t.min.y=r.y,t.max.y=r.y+d}}()},function(o,n){var i={};o.exports=i,function(){i.create=function(t,r){return{x:t||0,y:r||0}},i.clone=function(t){return{x:t.x,y:t.y}},i.magnitude=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},i.magnitudeSquared=function(t){return t.x*t.x+t.y*t.y},i.rotate=function(t,r,s){var d=Math.cos(r),v=Math.sin(r);s||(s={});var u=t.x*d-t.y*v;return s.y=t.x*v+t.y*d,s.x=u,s},i.rotateAbout=function(t,r,s,d){var v=Math.cos(r),u=Math.sin(r);d||(d={});var a=s.x+((t.x-s.x)*v-(t.y-s.y)*u);return d.y=s.y+((t.x-s.x)*u+(t.y-s.y)*v),d.x=a,d},i.normalise=function(t){var r=i.magnitude(t);return r===0?{x:0,y:0}:{x:t.x/r,y:t.y/r}},i.dot=function(t,r){return t.x*r.x+t.y*r.y},i.cross=function(t,r){return t.x*r.y-t.y*r.x},i.cross3=function(t,r,s){return(r.x-t.x)*(s.y-t.y)-(r.y-t.y)*(s.x-t.x)},i.add=function(t,r,s){return s||(s={}),s.x=t.x+r.x,s.y=t.y+r.y,s},i.sub=function(t,r,s){return s||(s={}),s.x=t.x-r.x,s.y=t.y-r.y,s},i.mult=function(t,r){return{x:t.x*r,y:t.y*r}},i.div=function(t,r){return{x:t.x/r,y:t.y/r}},i.perp=function(t,r){return r=r===!0?-1:1,{x:r*-t.y,y:r*t.x}},i.neg=function(t){return{x:-t.x,y:-t.y}},i.angle=function(t,r){return Math.atan2(r.y-t.y,r.x-t.x)},i._temp=[i.create(),i.create(),i.create(),i.create(),i.create(),i.create()]}()},function(o,n,i){var t={};o.exports=t;var r=i(2),s=i(0);(function(){t.create=function(d,v){for(var u=[],a=0;a0)return!1}return!0},t.scale=function(d,v,u,a){if(v===1&&u===1)return d;a=a||t.centre(d);for(var l,p,h=0;h=0?h-1:d.length-1],m=d[h],S=d[(h+1)%d.length],_=v[h0&&(v|=2),v===3)return!1;return v!==0?!0:null},t.hull=function(d){var v=[],u=[],a,l;for(d=d.slice(0),d.sort(function(p,h){var g=p.x-h.x;return g!==0?g:p.y-h.y}),l=0;l=2&&r.cross3(u[u.length-2],u[u.length-1],a)<=0;)u.pop();u.push(a)}for(l=d.length-1;l>=0;l-=1){for(a=d[l];v.length>=2&&r.cross3(v[v.length-2],v[v.length-1],a)<=0;)v.pop();v.push(a)}return v.pop(),u.pop(),v.concat(u)}})()},function(o,n,i){var t={};o.exports=t;var r=i(0);(function(){t.on=function(s,d,v){for(var u=d.split(" "),a,l=0;l0){v||(v={}),u=d.split(" ");for(var g=0;g0&&s.rotateAbout(_.position,m,h.position,_.position)}},t.setVelocity=function(h,g){h.positionPrev.x=h.position.x-g.x,h.positionPrev.y=h.position.y-g.y,h.velocity.x=g.x,h.velocity.y=g.y,h.speed=s.magnitude(h.velocity)},t.setAngularVelocity=function(h,g){h.anglePrev=h.angle-g,h.angularVelocity=g,h.angularSpeed=Math.abs(h.angularVelocity)},t.translate=function(h,g){t.setPosition(h,s.add(h.position,g))},t.rotate=function(h,g,m){if(!m)t.setAngle(h,h.angle+g);else{var S=Math.cos(g),_=Math.sin(g),C=h.position.x-m.x,O=h.position.y-m.y;t.setPosition(h,{x:m.x+(C*S-O*_),y:m.y+(C*_+O*S)}),t.setAngle(h,h.angle+g)}},t.scale=function(h,g,m,S){var _=0,C=0;S=S||h.position;for(var O=0;O0&&(_+=A.area,C+=A.inertia),A.position.x=S.x+(A.position.x-S.x)*g,A.position.y=S.y+(A.position.y-S.y)*m,a.update(A.bounds,A.vertices,h.velocity)}h.parts.length>1&&(h.area=_,h.isStatic||(t.setMass(h,h.density*_),t.setInertia(h,C))),h.circleRadius&&(g===m?h.circleRadius*=g:h.circleRadius=null)},t.update=function(h,g,m,S){var _=Math.pow(g*m*h.timeScale,2),C=1-h.frictionAir*m*h.timeScale,O=h.position.x-h.positionPrev.x,A=h.position.y-h.positionPrev.y;h.velocity.x=O*C*S+h.force.x/h.mass*_,h.velocity.y=A*C*S+h.force.y/h.mass*_,h.positionPrev.x=h.position.x,h.positionPrev.y=h.position.y,h.position.x+=h.velocity.x,h.position.y+=h.velocity.y,h.angularVelocity=(h.angle-h.anglePrev)*C*S+h.torque/h.inertia*_,h.anglePrev=h.angle,h.angle+=h.angularVelocity,h.speed=s.magnitude(h.velocity),h.angularSpeed=Math.abs(h.angularVelocity);for(var x=0;x0&&(T.position.x+=h.velocity.x,T.position.y+=h.velocity.y),h.angularVelocity!==0&&(r.rotate(T.vertices,h.angularVelocity,h.position),l.rotate(T.axes,h.angularVelocity),x>0&&s.rotateAbout(T.position,h.angularVelocity,h.position,T.position)),a.update(T.bounds,T.vertices,h.velocity)}},t.applyForce=function(h,g,m){h.force.x+=m.x,h.force.y+=m.y;var S={x:g.x-h.position.x,y:g.y-h.position.y};h.torque+=S.x*m.y-S.y*m.x},t._totalProperties=function(h){for(var g={mass:0,area:0,inertia:0,centre:{x:0,y:0}},m=h.parts.length===1?0:1;m0&&a.motion=a.sleepThreshold&&t.set(a,!0)):a.sleepCounter>0&&(a.sleepCounter-=1)}},t.afterCollisions=function(s,d){for(var v=d*d*d,u=0;ut._motionWakeThreshold*v&&t.set(g,!1)}}}},t.set=function(s,d){var v=s.isSleeping;d?(s.isSleeping=!0,s.sleepCounter=s.sleepThreshold,s.positionImpulse.x=0,s.positionImpulse.y=0,s.positionPrev.x=s.position.x,s.positionPrev.y=s.position.y,s.anglePrev=s.angle,s.speed=0,s.angularSpeed=0,s.motion=0,v||r.trigger(s,"sleepStart")):(s.isSleeping=!1,s.sleepCounter=0,v&&r.trigger(s,"sleepEnd"))}})()},function(o,n,i){var t={};o.exports=t;var r=i(3),s=i(2),d=i(7),v=i(1),u=i(10),a=i(0);(function(){t._warming=.4,t._torqueDampen=1,t._minLength=1e-6,t.create=function(l){var p=l;p.bodyA&&!p.pointA&&(p.pointA={x:0,y:0}),p.bodyB&&!p.pointB&&(p.pointB={x:0,y:0});var h=p.bodyA?s.add(p.bodyA.position,p.pointA):p.pointA,g=p.bodyB?s.add(p.bodyB.position,p.pointB):p.pointB,m=s.magnitude(s.sub(h,g));p.length=typeof p.length!="undefined"?p.length:m,p.id=p.id||a.nextId(),p.label=p.label||"Constraint",p.type="constraint",p.stiffness=p.stiffness||(p.length>0?1:.7),p.damping=p.damping||0,p.angularStiffness=p.angularStiffness||0,p.angleA=p.bodyA?p.bodyA.angle:p.angleA,p.angleB=p.bodyB?p.bodyB.angle:p.angleB,p.plugin={};var S={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return p.length===0&&p.stiffness>.1?(S.type="pin",S.anchors=!1):p.stiffness<.9&&(S.type="spring"),p.render=a.extend(S,p.render),p},t.preSolveAll=function(l){for(var p=0;p0&&(S.position.x+=g.x,S.position.y+=g.y),g.angle!==0&&(r.rotate(S.vertices,g.angle,h.position),u.rotate(S.axes,g.angle),m>0&&s.rotateAbout(S.position,g.angle,h.position,S.position)),v.update(S.bounds,S.vertices,h.velocity)}g.angle*=t._warming,g.x*=t._warming,g.y*=t._warming}}},t.pointAWorld=function(l){return{x:(l.bodyA?l.bodyA.position.x:0)+l.pointA.x,y:(l.bodyA?l.bodyA.position.y:0)+l.pointA.y}},t.pointBWorld=function(l){return{x:(l.bodyB?l.bodyB.position.x:0)+l.pointB.x,y:(l.bodyB?l.bodyB.position.y:0)+l.pointB.y}}})()},function(o,n,i){var t={};o.exports=t;var r=i(17);(function(){t.create=function(s,d){var v=s.bodyA,u=s.bodyB,a=s.parentA,l=s.parentB,p={id:t.id(v,u),bodyA:v,bodyB:u,contacts:{},activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:v.isSensor||u.isSensor,timeCreated:d,timeUpdated:d,inverseMass:a.inverseMass+l.inverseMass,friction:Math.min(a.friction,l.friction),frictionStatic:Math.max(a.frictionStatic,l.frictionStatic),restitution:Math.max(a.restitution,l.restitution),slop:Math.max(a.slop,l.slop)};return t.update(p,s,d),p},t.update=function(s,d,v){var u=s.contacts,a=d.supports,l=s.activeContacts,p=d.parentA,h=d.parentB;if(s.collision=d,s.inverseMass=p.inverseMass+h.inverseMass,s.friction=Math.min(p.friction,h.friction),s.frictionStatic=Math.max(p.frictionStatic,h.frictionStatic),s.restitution=Math.max(p.restitution,h.restitution),s.slop=Math.max(p.slop,h.slop),l.length=0,d.collided){for(var g=0;g0&&r.area(k)1?(A=d.create(s.extend({parts:x.slice(0)},h)),d.setPosition(A,{x:a,y:l}),A):x[0]}})()},function(o,n,i){var t={};o.exports=t;var r=i(0);(function(){t.create=function(s){var d={};return s||r.log("Mouse.create: element was undefined, defaulting to document.body","warn"),d.element=s||document.body,d.absolute={x:0,y:0},d.position={x:0,y:0},d.mousedownPosition={x:0,y:0},d.mouseupPosition={x:0,y:0},d.offset={x:0,y:0},d.scale={x:1,y:1},d.wheelDelta=0,d.button=-1,d.pixelRatio=parseInt(d.element.getAttribute("data-pixel-ratio"),10)||1,d.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},d.mousemove=function(v){var u=t._getRelativeMousePosition(v,d.element,d.pixelRatio),a=v.changedTouches;a&&(d.button=0,v.preventDefault()),d.absolute.x=u.x,d.absolute.y=u.y,d.position.x=d.absolute.x*d.scale.x+d.offset.x,d.position.y=d.absolute.y*d.scale.y+d.offset.y,d.sourceEvents.mousemove=v},d.mousedown=function(v){var u=t._getRelativeMousePosition(v,d.element,d.pixelRatio),a=v.changedTouches;a?(d.button=0,v.preventDefault()):d.button=v.button,d.absolute.x=u.x,d.absolute.y=u.y,d.position.x=d.absolute.x*d.scale.x+d.offset.x,d.position.y=d.absolute.y*d.scale.y+d.offset.y,d.mousedownPosition.x=d.position.x,d.mousedownPosition.y=d.position.y,d.sourceEvents.mousedown=v},d.mouseup=function(v){var u=t._getRelativeMousePosition(v,d.element,d.pixelRatio),a=v.changedTouches;a&&v.preventDefault(),d.button=-1,d.absolute.x=u.x,d.absolute.y=u.y,d.position.x=d.absolute.x*d.scale.x+d.offset.x,d.position.y=d.absolute.y*d.scale.y+d.offset.y,d.mouseupPosition.x=d.position.x,d.mouseupPosition.y=d.position.y,d.sourceEvents.mouseup=v},d.mousewheel=function(v){d.wheelDelta=Math.max(-1,Math.min(1,v.wheelDelta||-v.detail)),v.preventDefault()},t.setElement(d,d.element),d},t.setElement=function(s,d){s.element=d,d.addEventListener("mousemove",s.mousemove),d.addEventListener("mousedown",s.mousedown),d.addEventListener("mouseup",s.mouseup),d.addEventListener("mousewheel",s.mousewheel),d.addEventListener("DOMMouseScroll",s.mousewheel),d.addEventListener("touchmove",s.mousemove),d.addEventListener("touchstart",s.mousedown),d.addEventListener("touchend",s.mouseup)},t.clearSourceEvents=function(s){s.sourceEvents.mousemove=null,s.sourceEvents.mousedown=null,s.sourceEvents.mouseup=null,s.sourceEvents.mousewheel=null,s.wheelDelta=0},t.setOffset=function(s,d){s.offset.x=d.x,s.offset.y=d.y,s.position.x=s.absolute.x*s.scale.x+s.offset.x,s.position.y=s.absolute.y*s.scale.y+s.offset.y},t.setScale=function(s,d){s.scale.x=d.x,s.scale.y=d.y,s.position.x=s.absolute.x*s.scale.x+s.offset.x,s.position.y=s.absolute.y*s.scale.y+s.offset.y},t._getRelativeMousePosition=function(s,d,v){var u=d.getBoundingClientRect(),a=document.documentElement||document.body.parentNode||document.body,l=window.pageXOffset!==void 0?window.pageXOffset:a.scrollLeft,p=window.pageYOffset!==void 0?window.pageYOffset:a.scrollTop,h=s.changedTouches,g,m;return h?(g=h[0].pageX-u.left-l,m=h[0].pageY-u.top-p):(g=s.pageX-u.left-l,m=s.pageY-u.top-p),{x:g/(d.clientWidth/(d.width||d.clientWidth)*v),y:m/(d.clientHeight/(d.height||d.clientHeight)*v)}}})()},function(o,n,i){var t={};o.exports=t;var r=i(14),s=i(9),d=i(1);(function(){t.collisions=function(v,u){for(var a=[],l=u.pairs.table,p=0;p1?1:0;m1?1:0;_0:(v.mask&u.category)!==0&&(u.mask&v.category)!==0}})()},function(o,n,i){var t={};o.exports=t;var r=i(3),s=i(2);(function(){t.collides=function(d,v,u){var a,l,p,h,g=!1;if(u){var m=d.parent,S=v.parent,_=m.speed*m.speed+m.angularSpeed*m.angularSpeed+S.speed*S.speed+S.angularSpeed*S.angularSpeed;g=u&&u.collided&&_<.2,h=u}else h={collided:!1,bodyA:d,bodyB:v};if(u&&g){var C=h.axisBody,O=C===d?v:d,A=[C.axes[u.axisNumber]];if(p=t._overlapAxes(C.vertices,O.vertices,A),h.reused=!0,p.overlap<=0)return h.collided=!1,h}else{if(a=t._overlapAxes(d.vertices,v.vertices,d.axes),a.overlap<=0||(l=t._overlapAxes(v.vertices,d.vertices,v.axes),l.overlap<=0))return h.collided=!1,h;a.overlapl?l=h:h=0?S.index-1:p.length-1;m=p[O],l.x=m.x-h.x,l.y=m.y-h.y,a=-s.dot(u,l),_=m;var A=(S.index+1)%p.length;return m=p[A],l.x=m.x-h.x,l.y=m.y-h.y,g=-s.dot(u,l),gu?(r.warn("Plugin.register:",t.toString(d),"was upgraded to",t.toString(s)),t._registry[s.name]=s):v-1},t.isFor=function(s,d){var v=s.for&&t.dependencyParse(s.for);return!s.for||d.name===v.name&&t.versionSatisfies(d.version,v.range)},t.use=function(s,d){if(s.uses=(s.uses||[]).concat(d||[]),s.uses.length===0){r.warn("Plugin.use:",t.toString(s),"does not specify any dependencies to install.");return}for(var v=t.dependencies(s),u=r.topologicalSort(v),a=[],l=0;l0&&r.info(a.join(" "))},t.dependencies=function(s,d){var v=t.dependencyParse(s),u=v.name;if(d=d||{},!(u in d)){s=t.resolve(s)||s,d[u]=r.map(s.uses||[],function(l){t.isPlugin(l)&&t.register(l);var p=t.dependencyParse(l),h=t.resolve(l);return h&&!t.versionSatisfies(h.version,p.range)?(r.warn("Plugin.dependencies:",t.toString(h),"does not satisfy",t.toString(p),"used by",t.toString(v)+"."),h._warned=!0,s._warned=!0):h||(r.warn("Plugin.dependencies:",t.toString(l),"used by",t.toString(v),"could not be resolved."),s._warned=!0),p.name});for(var a=0;a=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-]+)?$/;d.test(s)||r.warn("Plugin.versionParse:",s,"is not a valid version or range.");var v=d.exec(s),u=Number(v[4]),a=Number(v[5]),l=Number(v[6]);return{isRange:!!(v[1]||v[2]),version:v[3],range:s,operator:v[1]||v[2]||"",major:u,minor:a,patch:l,parts:[u,a,l],prerelease:v[7],number:u*1e8+a*1e4+l}},t.versionSatisfies=function(s,d){d=d||"*";var v=t.versionParse(d),u=t.versionParse(s);if(v.isRange){if(v.operator==="*"||s==="*")return!0;if(v.operator===">")return u.number>v.number;if(v.operator===">=")return u.number>=v.number;if(v.operator==="~")return u.major===v.major&&u.minor===v.minor&&u.patch>=v.patch;if(v.operator==="^")return v.major>0?u.major===v.major&&u.number>=v.number:v.minor>0?u.minor===v.minor&&u.patch>=v.patch:u.patch===v.patch}return s===d||s==="*"}})()},function(o,n,i){var t={};o.exports=t;var r=i(0),s=i(5),d=i(1),v=i(4),u=i(2),a=i(12);(function(){var l,p;typeof window!="undefined"&&(l=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(O){window.setTimeout(function(){O(r.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),t._goodFps=30,t._goodDelta=1e3/60,t.create=function(O){var A={controller:t,engine:null,element:null,canvas:null,mouse:null,frameRequestId:null,timing:{historySize:60,delta:0,deltaHistory:[],lastTime:0,lastTimestamp:0,lastElapsed:0,timestampElapsed:0,timestampElapsedHistory:[],engineDeltaHistory:[],engineElapsedHistory:[],elapsedHistory:[]},options:{width:800,height:600,pixelRatio:1,background:"#14151f",wireframeBackground:"#14151f",hasBounds:!!O.bounds,enabled:!0,wireframes:!0,showSleeping:!0,showDebug:!1,showStats:!1,showPerformance:!1,showBroadphase:!1,showBounds:!1,showVelocity:!1,showCollisions:!1,showSeparations:!1,showAxes:!1,showPositions:!1,showAngleIndicator:!1,showIds:!1,showVertexNumbers:!1,showConvexHulls:!1,showInternalEdges:!1,showMousePosition:!1}},x=r.extend(A,O);return x.canvas&&(x.canvas.width=x.options.width||x.canvas.width,x.canvas.height=x.options.height||x.canvas.height),x.mouse=O.mouse,x.engine=O.engine,x.canvas=x.canvas||m(x.options.width,x.options.height),x.context=x.canvas.getContext("2d"),x.textures={},x.bounds=x.bounds||{min:{x:0,y:0},max:{x:x.canvas.width,y:x.canvas.height}},x.options.pixelRatio!==1&&t.setPixelRatio(x,x.options.pixelRatio),r.isElement(x.element)?x.element.appendChild(x.canvas):x.canvas.parentNode||r.log("Render.create: options.element was undefined, render.canvas was created but not appended","warn"),x},t.run=function(O){(function A(x){O.frameRequestId=l(A),h(O,x),t.world(O,x),(O.options.showStats||O.options.showDebug)&&t.stats(O,O.context,x),(O.options.showPerformance||O.options.showDebug)&&t.performance(O,O.context,x)})()},t.stop=function(O){p(O.frameRequestId)},t.setPixelRatio=function(O,A){var x=O.options,T=O.canvas;A==="auto"&&(A=S(T)),x.pixelRatio=A,T.setAttribute("data-pixel-ratio",A),T.width=x.width*A,T.height=x.height*A,T.style.width=x.width+"px",T.style.height=x.height+"px"},t.lookAt=function(O,A,x,T){T=typeof T!="undefined"?T:!0,A=r.isArray(A)?A:[A],x=x||{x:0,y:0};for(var R={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},N=0;NR.max.x&&(R.max.x=K.x),z.yR.max.y&&(R.max.y=K.y))}var $=R.max.x-R.min.x+2*x.x,ie=R.max.y-R.min.y+2*x.y,V=O.canvas.height,W=O.canvas.width,H=W/V,k=$/ie,J=1,ae=1;k>H?ae=k/H:J=H/k,O.options.hasBounds=!0,O.bounds.min.x=R.min.x,O.bounds.max.x=R.min.x+$*J,O.bounds.min.y=R.min.y,O.bounds.max.y=R.min.y+ie*ae,T&&(O.bounds.min.x+=$*.5-$*J*.5,O.bounds.max.x+=$*.5-$*J*.5,O.bounds.min.y+=ie*.5-ie*ae*.5,O.bounds.max.y+=ie*.5-ie*ae*.5),O.bounds.min.x-=x.x,O.bounds.max.x-=x.x,O.bounds.min.y-=x.y,O.bounds.max.y-=x.y,O.mouse&&(a.setScale(O.mouse,{x:(O.bounds.max.x-O.bounds.min.x)/O.canvas.width,y:(O.bounds.max.y-O.bounds.min.y)/O.canvas.height}),a.setOffset(O.mouse,O.bounds.min))},t.startViewTransform=function(O){var A=O.bounds.max.x-O.bounds.min.x,x=O.bounds.max.y-O.bounds.min.y,T=A/O.options.width,R=x/O.options.height;O.context.setTransform(O.options.pixelRatio/T,0,0,O.options.pixelRatio/R,0,0),O.context.translate(-O.bounds.min.x,-O.bounds.min.y)},t.endViewTransform=function(O){O.context.setTransform(O.options.pixelRatio,0,0,O.options.pixelRatio,0,0)},t.world=function(O,A){var x=r.now(),T=O.engine,R=T.world,N=O.canvas,B=O.context,z=O.options,K=O.timing,$=s.allBodies(R),ie=s.allConstraints(R),V=z.wireframes?z.wireframeBackground:z.background,W=[],H=[],k,J={timestamp:T.timing.timestamp};if(v.trigger(O,"beforeRender",J),O.currentBackground!==V&&C(O,V),B.globalCompositeOperation="source-in",B.fillStyle="transparent",B.fillRect(0,0,N.width,N.height),B.globalCompositeOperation="source-over",z.hasBounds){for(k=0;k<$.length;k++){var ae=$[k];d.overlaps(ae.bounds,O.bounds)&&W.push(ae)}for(k=0;k1?1:0;ie1?1:0;$1?1:0;B1?1:0;$1?1:0;K1?1:0;K1?1:0;N0)){var k=N.activeContacts[0].vertex.x,J=N.activeContacts[0].vertex.y;N.activeContacts.length===2&&(k=(N.activeContacts[0].vertex.x+N.activeContacts[1].vertex.x)/2,J=(N.activeContacts[0].vertex.y+N.activeContacts[1].vertex.y)/2),B.bodyB===B.supports[0].body||B.bodyA.isStatic===!0?T.moveTo(k-B.normal.x*8,J-B.normal.y*8):T.moveTo(k+B.normal.x*8,J+B.normal.y*8),T.lineTo(k,J)}R.wireframes?T.strokeStyle="rgba(255,165,0,0.7)":T.strokeStyle="orange",T.lineWidth=1,T.stroke()},t.separations=function(O,A,x){var T=x,R=O.options,N,B,z,K,$,ie,V;for(T.beginPath(),ie=0;ie0&&a.trigger(m,"collisionStart",{pairs:$.collisionStart}),s.preSolvePosition($.list),R=0;R0&&a.trigger(m,"collisionActive",{pairs:$.collisionActive}),$.collisionEnd.length>0&&a.trigger(m,"collisionEnd",{pairs:$.collisionEnd}),t._bodiesClearForces(B),a.trigger(m,"afterUpdate",N),m.timing.lastElapsed=h.now()-C,m},t.merge=function(m,S){if(h.extend(m,S),S.world){m.world=S.world,t.clear(m);for(var _=l.allBodies(m.world),C=0;C<_.length;C++){var O=_[C];r.set(O,!1),O.id=h.nextId()}}},t.clear=function(m){var S=m.world,_=l.allBodies(S);v.clear(m.pairs),u.clear(m.grid),u.update(m.grid,_,m,!0)},t._bodiesClearForces=function(m){for(var S=0;SO.friction*O.frictionStatic*te*l&&(Se=X,oe=d.clamp(O.friction*re*l,-Se,Se));var Re=s.cross(V,R),Ke=s.cross(W,R),Qe=z/(x.inverseMass+T.inverseMass+x.inverseInertia*Re*Re+T.inverseInertia*Ke*Ke);if(Z*=Qe,oe*=Qe,ae<0&&ae*ae>t._restingThresh*l)$.normalImpulse=0;else{var Je=$.normalImpulse;$.normalImpulse=Math.min($.normalImpulse+Z,0),Z=$.normalImpulse-Je}if(ne*ne>t._restingThreshTangent*l)$.tangentImpulse=0;else{var rt=$.tangentImpulse;$.tangentImpulse=d.clamp($.tangentImpulse+oe,-Se,Se),oe=$.tangentImpulse-rt}p.x=R.x*Z+N.x*oe,p.y=R.y*Z+N.y*oe,x.isStatic||x.isSleeping||(x.positionPrev.x+=p.x*x.inverseMass,x.positionPrev.y+=p.y*x.inverseMass,x.anglePrev+=s.cross(V,p)*x.inverseInertia),T.isStatic||T.isSleeping||(T.positionPrev.x-=p.x*T.inverseMass,T.positionPrev.y-=p.y*T.inverseMass,T.anglePrev-=s.cross(W,p)*T.inverseInertia)}}}}})()},function(o,n,i){var t={};o.exports=t;var r=i(9),s=i(0);(function(){t._pairMaxIdleLife=1e3,t.create=function(d){return s.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},d)},t.update=function(d,v,u){var a=d.list,l=d.table,p=d.collisionStart,h=d.collisionEnd,g=d.collisionActive,m,S,_,C;for(p.length=0,h.length=0,g.length=0,C=0;Ct._pairMaxIdleLife&&l.push(m)}for(m=0;mg.bounds.max.x||O.bounds.max.yg.bounds.max.y))){var A=t._getRegion(d,O);if(!O.region||A.id!==O.region.id||a){(!O.region||a)&&(O.region=A);var x=t._regionUnion(A,O.region);for(p=x.startCol;p<=x.endCol;p++)for(h=x.startRow;h<=x.endRow;h++){_=t._getBucketId(p,h),S=m[_];var T=p>=A.startCol&&p<=A.endCol&&h>=A.startRow&&h<=A.endRow,R=p>=O.region.startCol&&p<=O.region.endCol&&h>=O.region.startRow&&h<=O.region.endRow;!T&&R&&R&&S&&t._bucketRemoveBody(d,S,O),(O.region===A||T&&!R||a)&&(S||(S=t._createBucket(m,_)),t._bucketAddBody(d,S,O))}O.region=A,C=!0}}}C&&(d.pairsList=t._createActivePairsList(d))},t.clear=function(d){d.buckets={},d.pairs={},d.pairsList=[]},t._regionUnion=function(d,v){var u=Math.min(d.startCol,v.startCol),a=Math.max(d.endCol,v.endCol),l=Math.min(d.startRow,v.startRow),p=Math.max(d.endRow,v.endRow);return t._createRegion(u,a,l,p)},t._getRegion=function(d,v){var u=v.bounds,a=Math.floor(u.min.x/d.bucketWidth),l=Math.floor(u.max.x/d.bucketWidth),p=Math.floor(u.min.y/d.bucketHeight),h=Math.floor(u.max.y/d.bucketHeight);return t._createRegion(a,l,p,h)},t._createRegion=function(d,v,u,a){return{id:d+","+v+","+u+","+a,startCol:d,endCol:v,startRow:u,endRow:a}},t._getBucketId=function(d,v){return"C"+d+"R"+v},t._createBucket=function(d,v){var u=d[v]=[];return u},t._bucketAddBody=function(d,v,u){for(var a=0;a0?a.push(u):delete d.pairs[v[l]];return a}})()},function(o,n,i){var t=o.exports=i(23);t.Axes=i(10),t.Bodies=i(11),t.Body=i(6),t.Bounds=i(1),t.Common=i(0),t.Composite=i(5),t.Composites=i(24),t.Constraint=i(8),t.Contact=i(17),t.Detector=i(13),t.Engine=i(18),t.Events=i(4),t.Grid=i(21),t.Mouse=i(12),t.MouseConstraint=i(25),t.Pair=i(9),t.Pairs=i(20),t.Plugin=i(15),t.Query=i(26),t.Render=i(16),t.Resolver=i(19),t.Runner=i(27),t.SAT=i(14),t.Sleeping=i(7),t.Svg=i(28),t.Vector=i(2),t.Vertices=i(3),t.World=i(29),t.Engine.run=t.Runner.run,t.Common.deprecated(t.Engine,"run","Engine.run \u27A4 use Matter.Runner.run(engine) instead")},function(o,n,i){var t={};o.exports=t;var r=i(15),s=i(0);(function(){t.name="matter-js",t.version="0.17.1",t.uses=[],t.used=[],t.use=function(){r.use(t,Array.prototype.slice.call(arguments))},t.before=function(d,v){return d=d.replace(/^Matter./,""),s.chainPathBefore(t,d,v)},t.after=function(d,v){return d=d.replace(/^Matter./,""),s.chainPathAfter(t,d,v)}})()},function(o,n,i){var t={};o.exports=t;var r=i(5),s=i(8),d=i(0),v=i(6),u=i(11),a=d.deprecated;(function(){t.stack=function(l,p,h,g,m,S,_){for(var C=r.create({label:"Stack"}),O=l,A=p,x,T=0,R=0;RN&&(N=K),v.translate(z,{x:$*.5,y:K*.5}),O=z.bounds.max.x+m,r.addBody(C,z),x=z,T+=1}else O+=m}A+=N+S,O=l}return C},t.chain=function(l,p,h,g,m,S){for(var _=l.bodies,C=1;C<_.length;C++){var O=_[C-1],A=_[C],x=O.bounds.max.y-O.bounds.min.y,T=O.bounds.max.x-O.bounds.min.x,R=A.bounds.max.y-A.bounds.min.y,N=A.bounds.max.x-A.bounds.min.x,B={bodyA:O,pointA:{x:T*p,y:x*h},bodyB:A,pointB:{x:N*g,y:R*m}},z=d.extend(B,S);r.addConstraint(l,s.create(z))}return l.label+=" Chain",l},t.mesh=function(l,p,h,g,m){var S=l.bodies,_,C,O,A,x;for(_=0;_0)for(C=0;C0&&(x=S[C-1+(_-1)*p],r.addConstraint(l,s.create(d.extend({bodyA:x,bodyB:A},m)))),g&&CN)){x=N-x;var z=x,K=h-1-x;if(!(AK)){R===1&&v.translate(T,{x:(A+(h%2===1?1:-1))*B,y:0});var $=T?A*B:0;return _(l+$+A*m,O,A,x,T,R)}}})},t.newtonsCradle=function(l,p,h,g,m){for(var S=r.create({label:"Newtons Cradle"}),_=0;_1?1:0;Al.deltaMax?l.deltaMax:S,m=S/l.delta,l.delta=S),l.timeScalePrev!==0&&(m*=g.timeScale/l.timeScalePrev),g.timeScale===0&&(m=0),l.timeScalePrev=g.timeScale,l.correction=m,l.frameCounter+=1,h-l.counterTimestamp>=1e3&&(l.fps=l.frameCounter*((h-l.counterTimestamp)/1e3),l.counterTimestamp=h,l.frameCounter=0),r.trigger(l,"tick",_),r.trigger(l,"beforeUpdate",_),s.update(p,S,m),r.trigger(l,"afterUpdate",_),r.trigger(l,"afterTick",_)},t.stop=function(l){u(l.frameRequestId)},t.start=function(l,p){t.run(l,p)}})()},function(o,n,i){var t={};o.exports=t;var r=i(1),s=i(0);(function(){t.pathToVertices=function(d,v){typeof window!="undefined"&&!("SVGPathSeg"in window)&&s.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var u,a,l,p,h,g,m,S,_,C,O=[],A,x,T=0,R=0,N=0;v=v||15;var B=function(K,$,ie){var V=ie%2===1&&ie>1;if(!_||K!=_.x||$!=_.y){_&&V?(A=_.x,x=_.y):(A=0,x=0);var W={x:A+K,y:x+$};(V||!_)&&(_=W),O.push(W),R=A+K,N=x+$}},z=function(K){var $=K.pathSegTypeAsLetter.toUpperCase();if($!=="Z"){switch($){case"M":case"L":case"T":case"C":case"S":case"Q":R=K.x,N=K.y;break;case"H":R=K.x;break;case"V":N=K.y;break}B(R,N,K.pathSegType)}};for(t._svgPathToAbsolute(d),l=d.getTotalLength(),g=[],u=0;uu.max.x?a=u.min.x-v.max.x:v.max.xu.max.y?l=u.min.y-v.max.y:v.max.y0&&!n.call(g,0))for(var x=0;x0)for(var T=0;T=0&&c.call(o.callee)==="[object Function]"),i}},706578:function(y,c,e){"use strict";var o=e(162186),n=e(122936)(),i=e(102938),t=Object,r=i("Array.prototype.push"),s=i("Object.prototype.propertyIsEnumerable"),d=n?Object.getOwnPropertySymbols:null;y.exports=function(u,a){if(u==null)throw new TypeError("target must be an object");var l=t(u);if(arguments.length===1)return l;for(var p=1;pperformance.now()&&(A-=2*_);var x=A-C+_;x<_&&S<_?(x<8&&(x=8),_=Math.max(S,x)):S=x,C=A+_,n()}),s=setTimeout(function(){cancelAnimationFrame(r),r=void 0,C=performance.now()+50,n()},100))}function t(){for(h=!1,g=!0,l=a.filter(function(x){return x.options.timeout!==void 0?e(x).didTimeout:!1}),a=a.filter(function(x){return!l.includes(x)}),l.sort(function(x,T){return x.options.timeout-T.options.timeout});l.length>0;){var A=l.shift();o(A)}for(;a.length>0&&c()>0;)A=a.shift(),o(A);p.length>0&&(a=a.concat(p),p=[]),a.length>0&&i(),g=!1}var r,s,d,v,u=0,a=[],l=[],p=[],h=!1,g=!1,m=!1,S=33,_=33,C=0;if(typeof MessageChannel=="object"){var O=new MessageChannel;d=O.port2,O.port1.onmessage=t}else v="polyfillIdleCallback"+Math.random().toString(36).slice(2),d=window,window.addEventListener("message",function(A){A.source==window&&A.data===v&&t()});y.requestIdleCallback=function(x,T){var R=++u,N={id:R,callback:x,options:T||{},added:performance.now()};return g?p.push(N):a.push(N),i(),R},y.cancelIdleCallback=function(x){if(arguments.length===0)throw new TypeError("cancelIdleCallback requires at least 1 argument");var T=function(R){return R.id!==x};a=a.filter(T),p=p.filter(T)},y.IdleDeadline=function(){if(!m)throw new TypeError("Illegal constructor")},Object.defineProperty(y.IdleDeadline.prototype,"timeRemaining",{value:function(){throw new TypeError("Illegal invocation")}}),Object.prototype.hasOwnProperty.call(Object.prototype,"__defineGetter__")?Object.defineProperty(y.IdleDeadline.prototype,"didTimeout",{get:function(){throw new TypeError("Illegal invocation")}}):Object.defineProperty(y.IdleDeadline.prototype,"didTimeout",{value:void 0})})(self)},877590:function(y){"use strict";y.exports=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]},572866:function(y,c,e){"use strict";var o=e(477287);function n(){}function i(){}i.resetWarningCache=n,y.exports=function(){function t(d,v,u,a,l,p){if(p!==o){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}t.isRequired=t;function r(){return t}var s={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:n};return s.PropTypes=s,s}},442629:function(y,c,e){if(0)var o,n;else y.exports=e(572866)()},477287:function(y){"use strict";var c="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y.exports=c},669953:function(y,c,e){"use strict";var o=e(909747);function n(){}function i(){}i.resetWarningCache=n,y.exports=function(){function t(d,v,u,a,l,p){if(p!==o){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}t.isRequired=t;function r(){return t}var s={array:t,bigint:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:r,element:t,elementType:t,instanceOf:r,node:t,objectOf:r,oneOf:r,oneOfType:r,shape:r,exact:r,checkPropTypes:i,resetWarningCache:n};return s.PropTypes=s,s}},795478:function(y,c,e){if(0)var o,n;else y.exports=e(669953)()},909747:function(y){"use strict";var c="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y.exports=c},508240:function(y,c,e){"use strict";var o=String.prototype.replace,n=/%20/g,i=e(570520),t={RFC1738:"RFC1738",RFC3986:"RFC3986"};y.exports=i.assign({default:t.RFC3986,formatters:{RFC1738:function(r){return o.call(r,n,"+")},RFC3986:function(r){return String(r)}}},t)},51216:function(y,c,e){"use strict";var o=e(806641),n=e(561713),i=e(508240);y.exports={formats:i,parse:n,stringify:o}},561713:function(y,c,e){"use strict";var o=e(570520),n=Object.prototype.hasOwnProperty,i=Array.isArray,t={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:o.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},r=function(h){return h.replace(/&#(\d+);/g,function(g,m){return String.fromCharCode(parseInt(m,10))})},s=function(h,g){return h&&typeof h=="string"&&g.comma&&h.indexOf(",")>-1?h.split(","):h},d="utf8=%26%2310003%3B",v="utf8=%E2%9C%93",u=function(g,m){var S={},_=m.ignoreQueryPrefix?g.replace(/^\?/,""):g,C=m.parameterLimit===1/0?void 0:m.parameterLimit,O=_.split(m.delimiter,C),A=-1,x,T=m.charset;if(m.charsetSentinel)for(x=0;x-1&&(K=i(K)?[K]:K),n.call(S,z)?S[z]=o.combine(S[z],K):S[z]=K}return S},a=function(h,g,m,S){for(var _=S?g:s(g,m),C=h.length-1;C>=0;--C){var O,A=h[C];if(A==="[]"&&m.parseArrays)O=[].concat(_);else{O=m.plainObjects?Object.create(null):{};var x=A.charAt(0)==="["&&A.charAt(A.length-1)==="]"?A.slice(1,-1):A,T=parseInt(x,10);!m.parseArrays&&x===""?O={0:_}:!isNaN(T)&&A!==x&&String(T)===x&&T>=0&&m.parseArrays&&T<=m.arrayLimit?(O=[],O[T]=_):O[x]=_}_=O}return _},l=function(g,m,S,_){if(g){var C=S.allowDots?g.replace(/\.([^.[]+)/g,"[$1]"):g,O=/(\[[^[\]]*])/,A=/(\[[^[\]]*])/g,x=S.depth>0&&O.exec(C),T=x?C.slice(0,x.index):C,R=[];if(T){if(!S.plainObjects&&n.call(Object.prototype,T)&&!S.allowPrototypes)return;R.push(T)}for(var N=0;S.depth>0&&(x=A.exec(C))!==null&&N0?z+B:""}},570520:function(y){"use strict";var c=Object.prototype.hasOwnProperty,e=Array.isArray,o=function(){for(var h=[],g=0;g<256;++g)h.push("%"+((g<16?"0":"")+g.toString(16)).toUpperCase());return h}(),n=function(g){for(;g.length>1;){var m=g.pop(),S=m.obj[m.prop];if(e(S)){for(var _=[],C=0;C=48&&A<=57||A>=65&&A<=90||A>=97&&A<=122){C+=_.charAt(O);continue}if(A<128){C=C+o[A];continue}if(A<2048){C=C+(o[192|A>>6]+o[128|A&63]);continue}if(A<55296||A>=57344){C=C+(o[224|A>>12]+o[128|A>>6&63]+o[128|A&63]);continue}O+=1,A=65536+((A&1023)<<10|_.charCodeAt(O)&1023),C+=o[240|A>>18]+o[128|A>>12&63]+o[128|A>>6&63]+o[128|A&63]}return C},v=function(g){for(var m=[{obj:{o:g},prop:"o"}],S=[],_=0;_0&&d>s&&(d=s);for(var v=0;v=0?(l=u.substr(0,a),p=u.substr(a+1)):(l=u,p=""),h=decodeURIComponent(l),g=decodeURIComponent(p),c(t,h)?Array.isArray(t[h])?t[h].push(g):t[h]=[t[h],g]:t[h]=g}return t}},910918:function(y){"use strict";var c=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};y.exports=function(e,o,n,i){return o=o||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(t){var r=encodeURIComponent(c(t))+n;return Array.isArray(e[t])?e[t].map(function(s){return r+encodeURIComponent(c(s))}).join(o):r+encodeURIComponent(c(e[t]))}).filter(Boolean).join(o):i?encodeURIComponent(c(i))+n+encodeURIComponent(c(e)):""}},876978:function(y,c,e){"use strict";c.decode=c.parse=e(762809),c.encode=c.stringify=e(910918)},731761:function(y,c,e){for(var o=e(717925),n=typeof window=="undefined"?e.g:window,i=["moz","webkit"],t="AnimationFrame",r=n["request"+t],s=n["cancel"+t]||n["cancelRequest"+t],d=0;!r&&dE}return!1}function S(f,E,I,L,G,q,ve){this.acceptsBooleans=E===2||E===3||E===4,this.attributeName=L,this.attributeNamespace=G,this.mustUseProperty=I,this.propertyName=f,this.type=E,this.sanitizeURL=q,this.removeEmptyString=ve}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(f){_[f]=new S(f,0,!1,f,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(f){var E=f[0];_[E]=new S(E,1,!1,f[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(f){_[f]=new S(f,2,!1,f.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(f){_[f]=new S(f,2,!1,f,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(f){_[f]=new S(f,3,!1,f.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(f){_[f]=new S(f,3,!0,f,null,!1,!1)}),["capture","download"].forEach(function(f){_[f]=new S(f,4,!1,f,null,!1,!1)}),["cols","rows","size","span"].forEach(function(f){_[f]=new S(f,6,!1,f,null,!1,!1)}),["rowSpan","start"].forEach(function(f){_[f]=new S(f,5,!1,f.toLowerCase(),null,!1,!1)});var C=/[\-:]([a-z])/g;function O(f){return f[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(f){var E=f.replace(C,O);_[E]=new S(E,1,!1,f,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(f){var E=f.replace(C,O);_[E]=new S(E,1,!1,f,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(f){var E=f.replace(C,O);_[E]=new S(E,1,!1,f,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(f){_[f]=new S(f,1,!1,f.toLowerCase(),null,!1,!1)}),_.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(f){_[f]=new S(f,1,!1,f.toLowerCase(),null,!0,!0)});function A(f,E,I,L){var G=_.hasOwnProperty(E)?_[E]:null;(G!==null?G.type!==0:L||!(2Be||G[ve]!==q[Be]){var Ze="\n"+G[ve].replace(" at new "," at ");return f.displayName&&Ze.includes("")&&(Ze=Ze.replace("",f.displayName)),Ze}while(1<=ve&&0<=Be);break}}}finally{te=!1,Error.prepareStackTrace=I}return(f=f?f.displayName||f.name:"")?Z(f):""}function Se(f){switch(f.tag){case 5:return Z(f.type);case 16:return Z("Lazy");case 13:return Z("Suspense");case 19:return Z("SuspenseList");case 0:case 2:case 15:return f=oe(f.type,!1),f;case 11:return f=oe(f.type.render,!1),f;case 1:return f=oe(f.type,!0),f;default:return""}}function Re(f){if(f==null)return null;if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case N:return"Fragment";case R:return"Portal";case z:return"Profiler";case B:return"StrictMode";case V:return"Suspense";case W:return"SuspenseList"}if(typeof f=="object")switch(f.$$typeof){case $:return(f.displayName||"Context")+".Consumer";case K:return(f._context.displayName||"Context")+".Provider";case ie:var E=f.render;return f=f.displayName,f||(f=E.displayName||E.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case H:return E=f.displayName||null,E!==null?E:Re(f.type)||"Memo";case k:E=f._payload,f=f._init;try{return Re(f(E))}catch(I){}}return null}function Ke(f){var E=f.type;switch(f.tag){case 24:return"Cache";case 9:return(E.displayName||"Context")+".Consumer";case 10:return(E._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return f=E.render,f=f.displayName||f.name||"",E.displayName||(f!==""?"ForwardRef("+f+")":"ForwardRef");case 7:return"Fragment";case 5:return E;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Re(E);case 8:return E===B?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E}return null}function Qe(f){switch(typeof f){case"boolean":case"number":case"string":case"undefined":return f;case"object":return f;default:return""}}function Je(f){var E=f.type;return(f=f.nodeName)&&f.toLowerCase()==="input"&&(E==="checkbox"||E==="radio")}function rt(f){var E=Je(f)?"checked":"value",I=Object.getOwnPropertyDescriptor(f.constructor.prototype,E),L=""+f[E];if(!f.hasOwnProperty(E)&&typeof I!="undefined"&&typeof I.get=="function"&&typeof I.set=="function"){var G=I.get,q=I.set;return Object.defineProperty(f,E,{configurable:!0,get:function(){return G.call(this)},set:function(ve){L=""+ve,q.call(this,ve)}}),Object.defineProperty(f,E,{enumerable:I.enumerable}),{getValue:function(){return L},setValue:function(ve){L=""+ve},stopTracking:function(){f._valueTracker=null,delete f[E]}}}}function Pt(f){f._valueTracker||(f._valueTracker=rt(f))}function Wt(f){if(!f)return!1;var E=f._valueTracker;if(!E)return!0;var I=E.getValue(),L="";return f&&(L=Je(f)?f.checked?"true":"false":f.value),f=L,f!==I?(E.setValue(f),!0):!1}function de(f){if(f=f||(typeof document!="undefined"?document:void 0),typeof f=="undefined")return null;try{return f.activeElement||f.body}catch(E){return f.body}}function Le(f,E){var I=E.checked;return X({},E,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:I!=null?I:f._wrapperState.initialChecked})}function le(f,E){var I=E.defaultValue==null?"":E.defaultValue,L=E.checked!=null?E.checked:E.defaultChecked;I=Qe(E.value!=null?E.value:I),f._wrapperState={initialChecked:L,initialValue:I,controlled:E.type==="checkbox"||E.type==="radio"?E.checked!=null:E.value!=null}}function Ce(f,E){E=E.checked,E!=null&&A(f,"checked",E,!1)}function Ne(f,E){Ce(f,E);var I=Qe(E.value),L=E.type;if(I!=null)L==="number"?(I===0&&f.value===""||f.value!=I)&&(f.value=""+I):f.value!==""+I&&(f.value=""+I);else if(L==="submit"||L==="reset"){f.removeAttribute("value");return}E.hasOwnProperty("value")?Ie(f,E.type,I):E.hasOwnProperty("defaultValue")&&Ie(f,E.type,Qe(E.defaultValue)),E.checked==null&&E.defaultChecked!=null&&(f.defaultChecked=!!E.defaultChecked)}function Ee(f,E,I){if(E.hasOwnProperty("value")||E.hasOwnProperty("defaultValue")){var L=E.type;if(!(L!=="submit"&&L!=="reset"||E.value!==void 0&&E.value!==null))return;E=""+f._wrapperState.initialValue,I||E===f.value||(f.value=E),f.defaultValue=E}I=f.name,I!==""&&(f.name=""),f.defaultChecked=!!f._wrapperState.initialChecked,I!==""&&(f.name=I)}function Ie(f,E,I){(E!=="number"||de(f.ownerDocument)!==f)&&(I==null?f.defaultValue=""+f._wrapperState.initialValue:f.defaultValue!==""+I&&(f.defaultValue=""+I))}var dt=Array.isArray;function xt(f,E,I,L){if(f=f.options,E){E={};for(var G=0;G"+E.valueOf().toString()+"",E=fe.firstChild;f.firstChild;)f.removeChild(f.firstChild);for(;E.firstChild;)f.appendChild(E.firstChild)}});function xe(f,E){if(E){var I=f.firstChild;if(I&&I===f.lastChild&&I.nodeType===3){I.nodeValue=E;return}}f.textContent=E}var Me={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},je=["Webkit","ms","Moz","O"];Object.keys(Me).forEach(function(f){je.forEach(function(E){E=E+f.charAt(0).toUpperCase()+f.substring(1),Me[E]=Me[f]})});function Xe(f,E,I){return E==null||typeof E=="boolean"||E===""?"":I||typeof E!="number"||E===0||Me.hasOwnProperty(f)&&Me[f]?(""+E).trim():E+"px"}function st(f,E){f=f.style;for(var I in E)if(E.hasOwnProperty(I)){var L=I.indexOf("--")===0,G=Xe(I,E[I],L);I==="float"&&(I="cssFloat"),L?f.setProperty(I,G):f[I]=G}}var Ae=X({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function He(f,E){if(E){if(Ae[f]&&(E.children!=null||E.dangerouslySetInnerHTML!=null))throw Error(i(137,f));if(E.dangerouslySetInnerHTML!=null){if(E.children!=null)throw Error(i(60));if(typeof E.dangerouslySetInnerHTML!="object"||!("__html"in E.dangerouslySetInnerHTML))throw Error(i(61))}if(E.style!=null&&typeof E.style!="object")throw Error(i(62))}}function ot(f,E){if(f.indexOf("-")===-1)return typeof E.is=="string";switch(f){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ut=null;function Zt(f){return f=f.target||f.srcElement||window,f.correspondingUseElement&&(f=f.correspondingUseElement),f.nodeType===3?f.parentNode:f}var jt=null,vn=null,Xn=null;function xr(f){if(f=Bn(f)){if(typeof jt!="function")throw Error(i(280));var E=f.stateNode;E&&(E=Hl(E),jt(f.stateNode,f.type,E))}}function Wn(f){vn?Xn?Xn.push(f):Xn=[f]:vn=f}function kn(){if(vn){var f=vn,E=Xn;if(Xn=vn=null,xr(f),E)for(f=0;f>>=0,f===0?32:31-(me(f)/we|0)|0}var tt=64,mt=4194304;function At(f){switch(f&-f){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return f&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return f}}function Ct(f,E){var I=f.pendingLanes;if(I===0)return 0;var L=0,G=f.suspendedLanes,q=f.pingedLanes,ve=I&268435455;if(ve!==0){var Be=ve&~G;Be!==0?L=At(Be):(q&=ve,q!==0&&(L=At(q)))}else ve=I&~G,ve!==0?L=At(ve):q!==0&&(L=At(q));if(L===0)return 0;if(E!==0&&E!==L&&!(E&G)&&(G=L&-L,q=E&-E,G>=q||G===16&&(q&4194240)!==0))return E;if(L&4&&(L|=I&16),E=f.entangledLanes,E!==0)for(f=f.entanglements,E&=L;0I;I++)E.push(f);return E}function St(f,E,I){f.pendingLanes|=E,E!==536870912&&(f.suspendedLanes=0,f.pingedLanes=0),f=f.eventTimes,E=31-ze(E),f[E]=I}function wt(f,E){var I=f.pendingLanes&~E;f.pendingLanes=E,f.suspendedLanes=0,f.pingedLanes=0,f.expiredLanes&=E,f.mutableReadLanes&=E,f.entangledLanes&=E,E=f.entanglements;var L=f.eventTimes;for(f=f.expirationTimes;0=gr),Cu=" ",fs=!1;function Pu(f,E){switch(f){case"keyup":return Fn.indexOf(E.keyCode)!==-1;case"keydown":return E.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function ds(f){return f=f.detail,typeof f=="object"&&"data"in f?f.data:null}var Di=!1;function Tu(f,E){switch(f){case"compositionend":return ds(E);case"keypress":return E.which!==32?null:(fs=!0,Cu);case"textInput":return f=E.data,f===Cu&&fs?null:f;default:return null}}function Oi(f,E){if(Di)return f==="compositionend"||!Kn&&Pu(f,E)?(f=ra(),na=ta=Hr=null,Di=!1,f):null;switch(f){case"paste":return null;case"keypress":if(!(E.ctrlKey||E.altKey||E.metaKey)||E.ctrlKey&&E.altKey){if(E.char&&1=E)return{node:I,offset:E-f};f=L}e:{for(;I;){if(I.nextSibling){I=I.nextSibling;break e}I=I.parentNode}I=void 0}I=Jn(I)}}function fr(f,E){return f&&E?f===E?!0:f&&f.nodeType===3?!1:E&&E.nodeType===3?fr(f,E.parentNode):"contains"in f?f.contains(E):f.compareDocumentPosition?!!(f.compareDocumentPosition(E)&16):!1:!1}function Iu(){for(var f=window,E=de();E instanceof f.HTMLIFrameElement;){try{var I=typeof E.contentWindow.location.href=="string"}catch(L){I=!1}if(I)f=E.contentWindow;else break;E=de(f.document)}return E}function Fl(f){var E=f&&f.nodeName&&f.nodeName.toLowerCase();return E&&(E==="input"&&(f.type==="text"||f.type==="search"||f.type==="tel"||f.type==="url"||f.type==="password")||E==="textarea"||f.contentEditable==="true")}function Aa(f){var E=Iu(),I=f.focusedElem,L=f.selectionRange;if(E!==I&&I&&I.ownerDocument&&fr(I.ownerDocument.documentElement,I)){if(L!==null&&Fl(I)){if(E=L.start,f=L.end,f===void 0&&(f=E),"selectionStart"in I)I.selectionStart=E,I.selectionEnd=Math.min(f,I.value.length);else if(f=(E=I.ownerDocument||document)&&E.defaultView||window,f.getSelection){f=f.getSelection();var G=I.textContent.length,q=Math.min(L.start,G);L=L.end===void 0?q:Math.min(L.end,G),!f.extend&&q>L&&(G=L,L=q,q=G),G=Br(I,q);var ve=Br(I,L);G&&ve&&(f.rangeCount!==1||f.anchorNode!==G.node||f.anchorOffset!==G.offset||f.focusNode!==ve.node||f.focusOffset!==ve.offset)&&(E=E.createRange(),E.setStart(G.node,G.offset),f.removeAllRanges(),q>L?(f.addRange(E),f.extend(ve.node,ve.offset)):(E.setEnd(ve.node,ve.offset),f.addRange(E)))}}for(E=[],f=I;f=f.parentNode;)f.nodeType===1&&E.push({element:f,left:f.scrollLeft,top:f.scrollTop});for(typeof I.focus=="function"&&I.focus(),I=0;I=document.documentMode,ps=null,ha=null,ho=null,Vr=!1;function tr(f,E,I){var L=I.window===I?I.document:I.nodeType===9?I:I.ownerDocument;Vr||ps==null||ps!==de(L)||(L=ps,"selectionStart"in L&&Fl(L)?L={start:L.selectionStart,end:L.selectionEnd}:(L=(L.ownerDocument&&L.ownerDocument.defaultView||window).getSelection(),L={anchorNode:L.anchorNode,anchorOffset:L.anchorOffset,focusNode:L.focusNode,focusOffset:L.focusOffset}),ho&&In(ho,L)||(ho=L,L=Uu(ha,"onSelect"),0Ca||(f.current=tf[Ca],tf[Ca]=null,Ca--)}function Sr(f,E){Ca++,tf[Ca]=f.current,f.current=E}var yo={},Hi=bs(yo),ln=bs(!1),$s=yo;function Eo(f,E){var I=f.type.contextTypes;if(!I)return yo;var L=f.stateNode;if(L&&L.__reactInternalMemoizedUnmaskedChildContext===E)return L.__reactInternalMemoizedMaskedChildContext;var G={},q;for(q in I)G[q]=E[q];return L&&(f=f.stateNode,f.__reactInternalMemoizedUnmaskedChildContext=E,f.__reactInternalMemoizedMaskedChildContext=G),G}function ga(f){return f=f.childContextTypes,f!=null}function hl(){Pr(ln),Pr(Hi)}function ed(f,E,I){if(Hi.current!==yo)throw Error(i(168));Sr(Hi,E),Sr(ln,I)}function to(f,E,I){var L=f.stateNode;if(E=E.childContextTypes,typeof L.getChildContext!="function")return I;L=L.getChildContext();for(var G in L)if(!(G in E))throw Error(i(108,Ke(f)||"Unknown",G));return X({},I,L)}function zu(f){return f=(f=f.stateNode)&&f.__reactInternalMemoizedMergedChildContext||yo,$s=Hi.current,Sr(Hi,f),Sr(ln,ln.current),!0}function nf(f,E,I){var L=f.stateNode;if(!L)throw Error(i(169));I?(f=to(f,E,$s),L.__reactInternalMemoizedMergedChildContext=f,Pr(ln),Pr(Hi),Sr(Hi,f)):Pr(ln),Sr(ln,I)}var Ho=null,kl=!1,Kl=!1;function So(f){Ho===null?Ho=[f]:Ho.push(f)}function td(f){kl=!0,So(f)}function ko(){if(!Kl&&Ho!==null){Kl=!0;var f=0,E=Dt;try{var I=Ho;for(Dt=1;f>=ve,G-=ve,bo=1<<32-ze(E)+G|I<wn?(ui=An,An=null):ui=An.sibling;var nr=Bt(lt,An,ht[wn],$t);if(nr===null){An===null&&(An=ui);break}f&&An&&nr.alternate===null&&E(lt,An),nt=q(nr,nt,wn),_n===null?dn=nr:_n.sibling=nr,_n=nr,An=ui}if(wn===ht.length)return I(lt,An),hr&&Xs(lt,wn),dn;if(An===null){for(;wnwn?(ui=An,An=null):ui=An.sibling;var es=Bt(lt,An,nr.value,$t);if(es===null){An===null&&(An=ui);break}f&&An&&es.alternate===null&&E(lt,An),nt=q(es,nt,wn),_n===null?dn=es:_n.sibling=es,_n=es,An=ui}if(nr.done)return I(lt,An),hr&&Xs(lt,wn),dn;if(An===null){for(;!nr.done;wn++,nr=ht.next())nr=Kt(lt,nr.value,$t),nr!==null&&(nt=q(nr,nt,wn),_n===null?dn=nr:_n.sibling=nr,_n=nr);return hr&&Xs(lt,wn),dn}for(An=L(lt,An);!nr.done;wn++,nr=ht.next())nr=tn(An,lt,wn,nr.value,$t),nr!==null&&(f&&nr.alternate!==null&&An.delete(nr.key===null?wn:nr.key),nt=q(nr,nt,wn),_n===null?dn=nr:_n.sibling=nr,_n=nr);return f&&An.forEach(function(Jd){return E(lt,Jd)}),hr&&Xs(lt,wn),dn}function Tr(lt,nt,ht,$t){if(typeof ht=="object"&&ht!==null&&ht.type===N&&ht.key===null&&(ht=ht.props.children),typeof ht=="object"&&ht!==null){switch(ht.$$typeof){case T:e:{for(var dn=ht.key,_n=nt;_n!==null;){if(_n.key===dn){if(dn=ht.type,dn===N){if(_n.tag===7){I(lt,_n.sibling),nt=G(_n,ht.props.children),nt.return=lt,lt=nt;break e}}else if(_n.elementType===dn||typeof dn=="object"&&dn!==null&&dn.$$typeof===k&&ff(dn)===_n.type){I(lt,_n.sibling),nt=G(_n,ht.props),nt.ref=Ku(lt,_n,ht),nt.return=lt,lt=nt;break e}I(lt,_n);break}else E(lt,_n);_n=_n.sibling}ht.type===N?(nt=gu(ht.props.children,lt.mode,$t,ht.key),nt.return=lt,lt=nt):($t=jc(ht.type,ht.key,ht.props,null,lt.mode,$t),$t.ref=Ku(lt,nt,ht),$t.return=lt,lt=$t)}return ve(lt);case R:e:{for(_n=ht.key;nt!==null;){if(nt.key===_n)if(nt.tag===4&&nt.stateNode.containerInfo===ht.containerInfo&&nt.stateNode.implementation===ht.implementation){I(lt,nt.sibling),nt=G(nt,ht.children||[]),nt.return=lt,lt=nt;break e}else{I(lt,nt);break}else E(lt,nt);nt=nt.sibling}nt=wl(ht,lt.mode,$t),nt.return=lt,lt=nt}return ve(lt);case k:return _n=ht._init,Tr(lt,nt,_n(ht._payload),$t)}if(dt(ht))return fn(lt,nt,ht,$t);if(ne(ht))return gn(lt,nt,ht,$t);Vu(lt,ht)}return typeof ht=="string"&&ht!==""||typeof ht=="number"?(ht=""+ht,nt!==null&&nt.tag===6?(I(lt,nt.sibling),nt=G(nt,ht),nt.return=lt,lt=nt):(I(lt,nt),nt=kf(ht,lt.mode,$t),nt.return=lt,lt=nt),ve(lt)):I(lt,nt)}return Tr}var eu=ec(!0),df=ec(!1),tu={},Ta=bs(tu),$u=bs(tu),nu=bs(tu);function Vo(f){if(f===tu)throw Error(i(174));return f}function vf(f,E){switch(Sr(nu,E),Sr($u,f),Sr(Ta,tu),f=E.nodeType,f){case 9:case 11:E=(E=E.documentElement)?E.namespaceURI:se(null,"");break;default:f=f===8?E.parentNode:E,E=f.namespaceURI||null,f=f.tagName,E=se(E,f)}Pr(Ta),Sr(Ta,E)}function ru(){Pr(Ta),Pr($u),Pr(nu)}function hf(f){Vo(nu.current);var E=Vo(Ta.current),I=se(E,f.type);E!==I&&(Sr($u,f),Sr(Ta,I))}function yl(f){$u.current===f&&(Pr(Ta),Pr($u))}var dr=bs(0);function Qu(f){for(var E=f;E!==null;){if(E.tag===13){var I=E.memoizedState;if(I!==null&&(I=I.dehydrated,I===null||I.data==="$?"||I.data==="$!"))return E}else if(E.tag===19&&E.memoizedProps.revealOrder!==void 0){if(E.flags&128)return E}else if(E.child!==null){E.child.return=E,E=E.child;continue}if(E===f)break;for(;E.sibling===null;){if(E.return===null||E.return===f)return null;E=E.return}E.sibling.return=E.return,E=E.sibling}return null}var tc=[];function El(){for(var f=0;fI?I:4,f(!0);var L=pf.transition;pf.transition={};try{f(!1),E()}finally{Dt=I,pf.transition=L}}function su(){return ya().memoizedState}function sd(f,E,I){var L=ws(f);if(I={lane:L,action:I,hasEagerState:!1,eagerState:null,next:null},ud(f))pc(E,I);else if(I=Jl(f,E,I,L),I!==null){var G=Xi();wa(I,f,L,G),uu(I,E,L)}}function Ol(f,E,I){var L=ws(f),G={lane:L,action:I,hasEagerState:!1,eagerState:null,next:null};if(ud(f))pc(E,G);else{var q=f.alternate;if(f.lanes===0&&(q===null||q.lanes===0)&&(q=E.lastRenderedReducer,q!==null))try{var ve=E.lastRenderedState,Be=q(ve,I);if(G.hasEagerState=!0,G.eagerState=Be,qt(Be,ve)){var Ze=E.interleaved;Ze===null?(G.next=G,Li(E)):(G.next=Ze.next,Ze.next=G),E.interleaved=G;return}}catch(yt){}finally{}I=Jl(f,E,G,L),I!==null&&(G=Xi(),wa(I,f,L,G),uu(I,E,L))}}function ud(f){var E=f.alternate;return f===mr||E!==null&&E===mr}function pc(f,E){Ki=nc=!0;var I=f.pending;I===null?E.next=E:(E.next=I.next,I.next=E),f.pending=E}function uu(f,E,I){if(I&4194240){var L=E.lanes;L&=f.pendingLanes,I|=L,E.lanes=I,Gt(f,I)}}var Co={readContext:Ci,useCallback:$r,useContext:$r,useEffect:$r,useImperativeHandle:$r,useInsertionEffect:$r,useLayoutEffect:$r,useMemo:$r,useReducer:$r,useRef:$r,useState:$r,useDebugValue:$r,useDeferredValue:$r,useTransition:$r,useMutableSource:$r,useSyncExternalStore:$r,useId:$r,unstable_isNewReconciler:!1},Hd={readContext:Ci,useCallback:function(f,E){return Ni().memoizedState=[f,E===void 0?null:E],f},useContext:Ci,useEffect:bl,useImperativeHandle:function(f,E,I){return I=I!=null?I.concat([f]):null,ou(4194308,4,Ef.bind(null,E,f),I)},useLayoutEffect:function(f,E){return ou(4194308,4,f,E)},useInsertionEffect:function(f,E){return ou(4,2,f,E)},useMemo:function(f,E){var I=Ni();return E=E===void 0?null:E,f=f(),I.memoizedState=[f,E],f},useReducer:function(f,E,I){var L=Ni();return E=I!==void 0?I(E):E,L.memoizedState=L.baseState=E,f={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:f,lastRenderedState:E},L.queue=f,f=f.dispatch=sd.bind(null,mr,f),[L.memoizedState,f]},useRef:function(f){var E=Ni();return f={current:f},E.memoizedState=f},useState:mf,useDebugValue:Vi,useDeferredValue:function(f){return Ni().memoizedState=f},useTransition:function(){var f=mf(!1),E=f[0];return f=hc.bind(null,f[1]),Ni().memoizedState=f,[E,f]},useMutableSource:function(){},useSyncExternalStore:function(f,E,I){var L=mr,G=Ni();if(hr){if(I===void 0)throw Error(i(407));I=I()}else{if(I=E(),Xr===null)throw Error(i(349));iu&30||sc(L,E,I)}G.memoizedState=I;var q={value:I,getSnapshot:E};return G.queue=q,bl($o.bind(null,L,q,f),[f]),L.flags|=2048,Zu(9,uc.bind(null,L,q,I,E),void 0,null),I},useId:function(){var f=Ni(),E=Xr.identifierPrefix;if(hr){var I=no,L=bo;I=(L&~(1<<32-ze(L)-1)).toString(32)+I,E=":"+E+"R"+I,I=Sl++,0<\/script>",f=f.removeChild(f.firstChild)):typeof L.is=="string"?f=ve.createElement(I,{is:L.is}):(f=ve.createElement(I),I==="select"&&(ve=f,L.multiple?ve.multiple=!0:L.size&&(ve.size=L.size))):f=ve.createElementNS(f,I),f[pa]=E,f[mo]=L,dd(f,E,!1,!1),E.stateNode=f;e:{switch(ve=ot(I,L),I){case"dialog":Er("cancel",f),Er("close",f),G=L;break;case"iframe":case"object":case"embed":Er("load",f),G=L;break;case"video":case"audio":for(G=0;Gel&&(E.flags|=128,L=!0,Cl(q,!1),E.lanes=4194304)}else{if(!L)if(f=Qu(ve),f!==null){if(E.flags|=128,L=!0,I=f.updateQueue,I!==null&&(E.updateQueue=I,E.flags|=4),Cl(q,!0),q.tail===null&&q.tailMode==="hidden"&&!ve.alternate&&!hr)return Qi(E),null}else 2*Qt()-q.renderingStartTime>el&&I!==1073741824&&(E.flags|=128,L=!0,Cl(q,!1),E.lanes=4194304);q.isBackwards?(ve.sibling=E.child,E.child=ve):(I=q.last,I!==null?I.sibling=ve:E.child=ve,q.last=ve)}return q.tail!==null?(E=q.tail,q.rendering=E,q.tail=E.sibling,q.renderingStartTime=Qt(),E.sibling=null,I=dr.current,Sr(dr,L?I&1|2:I&1),E):(Qi(E),null);case 22:case 23:return du(),L=E.memoizedState!==null,f!==null&&f.memoizedState!==null!==L&&(E.flags|=8192),L&&E.mode&1?Ra&1073741824&&(Qi(E),E.subtreeFlags&6&&(E.flags|=8192)):Qi(E),null;case 24:return null;case 25:return null}throw Error(i(156,E.tag))}function Zo(f,E){switch(Oo(E),E.tag){case 1:return ga(E.type)&&hl(),f=E.flags,f&65536?(E.flags=f&-65537|128,E):null;case 3:return ru(),Pr(ln),Pr(Hi),El(),f=E.flags,f&65536&&!(f&128)?(E.flags=f&-65537|128,E):null;case 5:return yl(E),null;case 13:if(Pr(dr),f=E.memoizedState,f!==null&&f.dehydrated!==null){if(E.alternate===null)throw Error(i(340));ma()}return f=E.flags,f&65536?(E.flags=f&-65537|128,E):null;case 19:return Pr(dr),null;case 4:return ru(),null;case 10:return ja(E.type._context),null;case 22:case 23:return du(),null;case 24:return null;default:return null}}var Ti=!1,br=!1,xo=typeof WeakSet=="function"?WeakSet:Set,an=null;function xa(f,E){var I=f.ref;if(I!==null)if(typeof I=="function")try{I(null)}catch(L){zr(f,E,L)}else I.current=null}function oo(f,E,I){try{I()}catch(L){zr(f,E,L)}}var xs=!1;function pd(f,E){if(Go=Ka,f=Iu(),Fl(f)){if("selectionStart"in f)var I={start:f.selectionStart,end:f.selectionEnd};else e:{I=(I=f.ownerDocument)&&I.defaultView||window;var L=I.getSelection&&I.getSelection();if(L&&L.rangeCount!==0){I=L.anchorNode;var G=L.anchorOffset,q=L.focusNode;L=L.focusOffset;try{I.nodeType,q.nodeType}catch($t){I=null;break e}var ve=0,Be=-1,Ze=-1,yt=0,zt=0,Kt=f,Bt=null;t:for(;;){for(var tn;Kt!==I||G!==0&&Kt.nodeType!==3||(Be=ve+G),Kt!==q||L!==0&&Kt.nodeType!==3||(Ze=ve+L),Kt.nodeType===3&&(ve+=Kt.nodeValue.length),(tn=Kt.firstChild)!==null;)Bt=Kt,Kt=tn;for(;;){if(Kt===f)break t;if(Bt===I&&++yt===G&&(Be=ve),Bt===q&&++zt===L&&(Ze=ve),(tn=Kt.nextSibling)!==null)break;Kt=Bt,Bt=Kt.parentNode}Kt=tn}I=Be===-1||Ze===-1?null:{start:Be,end:Ze}}else I=null}I=I||{start:0,end:0}}else I=null;for(Bu={focusedElem:f,selectionRange:I},Ka=!1,an=E;an!==null;)if(E=an,f=E.child,(E.subtreeFlags&1028)!==0&&f!==null)f.return=E,an=f;else for(;an!==null;){E=an;try{var fn=E.alternate;if(E.flags&1024)switch(E.tag){case 0:case 11:case 15:break;case 1:if(fn!==null){var gn=fn.memoizedProps,Tr=fn.memoizedState,lt=E.stateNode,nt=lt.getSnapshotBeforeUpdate(E.elementType===E.type?gn:ki(E.type,gn),Tr);lt.__reactInternalSnapshotBeforeUpdate=nt}break;case 3:var ht=E.stateNode.containerInfo;ht.nodeType===1?ht.textContent="":ht.nodeType===9&&ht.documentElement&&ht.removeChild(ht.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(i(163))}}catch($t){zr(E,E.return,$t)}if(f=E.sibling,f!==null){f.return=E.return,an=f;break}an=E.return}return fn=xs,xs=!1,fn}function Yu(f,E,I){var L=E.updateQueue;if(L=L!==null?L.lastEffect:null,L!==null){var G=L=L.next;do{if((G.tag&f)===f){var q=G.destroy;G.destroy=void 0,q!==void 0&&oo(E,I,q)}G=G.next}while(G!==L)}}function Cc(f,E){if(E=E.updateQueue,E=E!==null?E.lastEffect:null,E!==null){var I=E=E.next;do{if((I.tag&f)===f){var L=I.create;I.destroy=L()}I=I.next}while(I!==E)}}function Rf(f){var E=f.ref;if(E!==null){var I=f.stateNode;switch(f.tag){case 5:f=I;break;default:f=I}typeof E=="function"?E(f):E.current=f}}function gd(f){var E=f.alternate;E!==null&&(f.alternate=null,gd(E)),f.child=null,f.deletions=null,f.sibling=null,f.tag===5&&(E=f.stateNode,E!==null&&(delete E[pa],delete E[mo],delete E[ye],delete E[Vs],delete E[eo])),f.stateNode=null,f.return=null,f.dependencies=null,f.memoizedProps=null,f.memoizedState=null,f.pendingProps=null,f.stateNode=null,f.updateQueue=null}function md(f){return f.tag===5||f.tag===3||f.tag===4}function Pc(f){e:for(;;){for(;f.sibling===null;){if(f.return===null||md(f.return))return null;f=f.return}for(f.sibling.return=f.return,f=f.sibling;f.tag!==5&&f.tag!==6&&f.tag!==18;){if(f.flags&2||f.child===null||f.tag===4)continue e;f.child.return=f,f=f.child}if(!(f.flags&2))return f.stateNode}}function Pl(f,E,I){var L=f.tag;if(L===5||L===6)f=f.stateNode,E?I.nodeType===8?I.parentNode.insertBefore(f,E):I.insertBefore(f,E):(I.nodeType===8?(E=I.parentNode,E.insertBefore(f,I)):(E=I,E.appendChild(f)),I=I._reactRootContainer,I!=null||E.onclick!==null||(E.onclick=ks));else if(L!==4&&(f=f.child,f!==null))for(Pl(f,E,I),f=f.sibling;f!==null;)Pl(f,E,I),f=f.sibling}function Tc(f,E,I){var L=f.tag;if(L===5||L===6)f=f.stateNode,E?I.insertBefore(f,E):I.appendChild(f);else if(L!==4&&(f=f.child,f!==null))for(Tc(f,E,I),f=f.sibling;f!==null;)Tc(f,E,I),f=f.sibling}var oi=null,Ia=!1;function Sa(f,E,I){for(I=I.child;I!==null;)xc(f,E,I),I=I.sibling}function xc(f,E,I){if(Ur&&typeof Ur.onCommitFiberUnmount=="function")try{Ur.onCommitFiberUnmount(wi,I)}catch(Be){}switch(I.tag){case 5:br||xa(I,E);case 6:var L=oi,G=Ia;oi=null,Sa(f,E,I),oi=L,Ia=G,oi!==null&&(Ia?(f=oi,I=I.stateNode,f.nodeType===8?f.parentNode.removeChild(I):f.removeChild(I)):oi.removeChild(I.stateNode));break;case 18:oi!==null&&(Ia?(f=oi,I=I.stateNode,f.nodeType===8?Wl(f.parentNode,I):f.nodeType===1&&Wl(f,I),fo(f)):Wl(oi,I.stateNode));break;case 4:L=oi,G=Ia,oi=I.stateNode.containerInfo,Ia=!0,Sa(f,E,I),oi=L,Ia=G;break;case 0:case 11:case 14:case 15:if(!br&&(L=I.updateQueue,L!==null&&(L=L.lastEffect,L!==null))){G=L=L.next;do{var q=G,ve=q.destroy;q=q.tag,ve!==void 0&&(q&2||q&4)&&oo(I,E,ve),G=G.next}while(G!==L)}Sa(f,E,I);break;case 1:if(!br&&(xa(I,E),L=I.stateNode,typeof L.componentWillUnmount=="function"))try{L.props=I.memoizedProps,L.state=I.memoizedState,L.componentWillUnmount()}catch(Be){zr(I,E,Be)}Sa(f,E,I);break;case 21:Sa(f,E,I);break;case 22:I.mode&1?(br=(L=br)||I.memoizedState!==null,Sa(f,E,I),br=L):Sa(f,E,I);break;default:Sa(f,E,I)}}function wf(f){var E=f.updateQueue;if(E!==null){f.updateQueue=null;var I=f.stateNode;I===null&&(I=f.stateNode=new xo),E.forEach(function(L){var G=Td.bind(null,f,L);I.has(L)||(I.add(L),L.then(G,G))})}}function Ga(f,E){var I=E.deletions;if(I!==null)for(var L=0;LG&&(G=ve),L&=~q}if(L=G,L=Qt()-L,L=(120>L?120:480>L?480:1080>L?1080:1920>L?1920:3e3>L?3e3:4320>L?4320:1960*Kd(L/1960))-L,10f?16:f,Jo===null)var L=!1;else{if(f=Jo,Jo=null,Mc=0,Yn&6)throw Error(i(331));var G=Yn;for(Yn|=4,an=f.current;an!==null;){var q=an,ve=q.child;if(an.flags&16){var Be=q.deletions;if(Be!==null){for(var Ze=0;ZeQt()-Lf?vu(f,0):xl|=I),la(f,E)}function Pd(f,E){E===0&&(f.mode&1?(E=mt,mt<<=1,!(mt&130023424)&&(mt=4194304)):E=1);var I=Xi();f=Ko(f,E),f!==null&&(St(f,E,I),la(f,I))}function Vd(f){var E=f.memoizedState,I=0;E!==null&&(I=E.retryLane),Pd(f,I)}function Td(f,E){var I=0;switch(f.tag){case 13:var L=f.stateNode,G=f.memoizedState;G!==null&&(I=G.retryLane);break;case 19:L=f.stateNode;break;default:throw Error(i(314))}L!==null&&L.delete(E),Pd(f,I)}var xd;xd=function(f,E,I){if(f!==null)if(f.memoizedProps!==E.pendingProps||ln.current)sa=!0;else{if(!(f.lanes&I)&&!(E.flags&128))return sa=!1,kd(f,E,I);sa=!!(f.flags&131072)}else sa=!1,hr&&E.flags&1048576&&Vl(E,Gu,E.index);switch(E.lanes=0,E.tag){case 2:var L=E.type;Qr(f,E),f=E.pendingProps;var G=Eo(E,Hi.current);io(E,I),G=ac(null,E,L,f,G,I);var q=oa();return E.flags|=1,typeof G=="object"&&G!==null&&typeof G.render=="function"&&G.$$typeof===void 0?(E.tag=1,E.memoizedState=null,E.updateQueue=null,ga(L)?(q=!0,zu(E)):q=!1,E.memoizedState=G.state!==null&&G.state!==void 0?G.state:null,Yl(E),G.updater=ku,E.stateNode=G,G._reactInternals=E,cf(E,L,f,I),E=ao(null,E,L,!0,q,I)):(E.tag=0,hr&&q&&Zs(E),$i(null,E,G,I),E=E.child),E;case 16:L=E.elementType;e:{switch(Qr(f,E),f=E.pendingProps,G=L._init,L=G(L._payload),E.type=L,G=E.tag=$d(L),f=ki(L,f),G){case 0:E=xf(null,E,L,f,I);break e;case 1:E=fd(null,E,L,f,I);break e;case 11:E=To(null,E,L,f,I);break e;case 14:E=yc(null,E,L,ki(L.type,f),I);break e}throw Error(i(306,L,""))}return E;case 0:return L=E.type,G=E.pendingProps,G=E.elementType===L?G:ki(L,G),xf(f,E,L,G,I);case 1:return L=E.type,G=E.pendingProps,G=E.elementType===L?G:ki(L,G),fd(f,E,L,G,I);case 3:e:{if(Ec(E),f===null)throw Error(i(387));L=E.pendingProps,q=E.memoizedState,G=q.element,ml(f,E),ql(E,L,null,I);var ve=E.memoizedState;if(L=ve.element,q.isDehydrated)if(q={element:L,isDehydrated:!1,cache:ve.cache,pendingSuspenseBoundaries:ve.pendingSuspenseBoundaries,transitions:ve.transitions},E.updateQueue.baseState=q,E.memoizedState=q,E.flags&256){G=Po(Error(i(423)),E),E=Sc(f,E,L,I,G);break e}else if(L!==G){G=Po(Error(i(424)),E),E=Sc(f,E,L,I,G);break e}else for(ia=Wo(E.stateNode.containerInfo.firstChild),Pa=E,hr=!0,gi=null,I=df(E,null,L,I),E.child=I;I;)I.flags=I.flags&-3|4096,I=I.sibling;else{if(ma(),L===G){E=wr(f,E,I);break e}$i(f,E,L,I)}E=E.child}return E;case 5:return hf(E),f===null&&rf(E),L=E.type,G=E.pendingProps,q=f!==null?f.memoizedProps:null,ve=G.children,go(L,G)?ve=null:q!==null&&go(L,q)&&(E.flags|=32),Tf(f,E),$i(f,E,ve,I),E.child;case 6:return f===null&&rf(E),null;case 13:return cu(f,E,I);case 4:return vf(E,E.stateNode.containerInfo),L=E.pendingProps,f===null?E.child=eu(E,null,L,I):$i(f,E,L,I),E.child;case 11:return L=E.type,G=E.pendingProps,G=E.elementType===L?G:ki(L,G),To(f,E,L,G,I);case 7:return $i(f,E,E.pendingProps,I),E.child;case 8:return $i(f,E,E.pendingProps.children,I),E.child;case 12:return $i(f,E,E.pendingProps.children,I),E.child;case 10:e:{if(L=E.type._context,G=E.pendingProps,q=E.memoizedProps,ve=G.value,Sr(Xl,L._currentValue),L._currentValue=ve,q!==null)if(qt(q.value,ve)){if(q.children===G.children&&!ln.current){E=wr(f,E,I);break e}}else for(q=E.child,q!==null&&(q.return=E);q!==null;){var Be=q.dependencies;if(Be!==null){ve=q.child;for(var Ze=Be.firstContext;Ze!==null;){if(Ze.context===L){if(q.tag===1){Ze=_o(-1,I&-I),Ze.tag=2;var yt=q.updateQueue;if(yt!==null){yt=yt.shared;var zt=yt.pending;zt===null?Ze.next=Ze:(Ze.next=zt.next,zt.next=Ze),yt.pending=Ze}}q.lanes|=I,Ze=q.alternate,Ze!==null&&(Ze.lanes|=I),gl(q.return,I,E),Be.lanes|=I;break}Ze=Ze.next}}else if(q.tag===10)ve=q.type===E.type?null:q.child;else if(q.tag===18){if(ve=q.return,ve===null)throw Error(i(341));ve.lanes|=I,Be=ve.alternate,Be!==null&&(Be.lanes|=I),gl(ve,I,E),ve=q.sibling}else ve=q.child;if(ve!==null)ve.return=q;else for(ve=q;ve!==null;){if(ve===E){ve=null;break}if(q=ve.sibling,q!==null){q.return=ve.return,ve=q;break}ve=ve.return}q=ve}$i(f,E,G.children,I),E=E.child}return E;case 9:return G=E.type,L=E.pendingProps.children,io(E,I),G=Ci(G),L=L(G),E.flags|=1,$i(f,E,L,I),E.child;case 14:return L=E.type,G=ki(L,E.pendingProps),G=ki(L.type,G),yc(f,E,L,G,I);case 15:return Cf(f,E,E.type,E.pendingProps,I);case 17:return L=E.type,G=E.pendingProps,G=E.elementType===L?G:ki(L,G),Qr(f,E),E.tag=1,ga(L)?(f=!0,zu(E)):f=!1,io(E,I),lf(E,L,G),cf(E,L,G,I),ao(null,E,L,!0,f,I);case 19:return _c(f,E,I);case 22:return Pf(f,E,I)}throw Error(i(156,E.tag))};function Id(f,E){return Nr(f,E)}function Rd(f,E,I,L){this.tag=f,this.key=I,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=E,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=L,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ha(f,E,I,L){return new Rd(f,E,I,L)}function tl(f){return f=f.prototype,!(!f||!f.isReactComponent)}function $d(f){if(typeof f=="function")return tl(f)?1:0;if(f!=null){if(f=f.$$typeof,f===ie)return 11;if(f===H)return 14}return 2}function Yo(f,E){var I=f.alternate;return I===null?(I=Ha(f.tag,E,f.key,f.mode),I.elementType=f.elementType,I.type=f.type,I.stateNode=f.stateNode,I.alternate=f,f.alternate=I):(I.pendingProps=E,I.type=f.type,I.flags=0,I.subtreeFlags=0,I.deletions=null),I.flags=f.flags&14680064,I.childLanes=f.childLanes,I.lanes=f.lanes,I.child=f.child,I.memoizedProps=f.memoizedProps,I.memoizedState=f.memoizedState,I.updateQueue=f.updateQueue,E=f.dependencies,I.dependencies=E===null?null:{lanes:E.lanes,firstContext:E.firstContext},I.sibling=f.sibling,I.index=f.index,I.ref=f.ref,I}function jc(f,E,I,L,G,q){var ve=2;if(L=f,typeof f=="function")tl(f)&&(ve=1);else if(typeof f=="string")ve=5;else e:switch(f){case N:return gu(I.children,G,q,E);case B:ve=8,G|=8;break;case z:return f=Ha(12,I,E,G|2),f.elementType=z,f.lanes=q,f;case V:return f=Ha(13,I,E,G),f.elementType=V,f.lanes=q,f;case W:return f=Ha(19,I,E,G),f.elementType=W,f.lanes=q,f;case J:return zc(I,G,q,E);default:if(typeof f=="object"&&f!==null)switch(f.$$typeof){case K:ve=10;break e;case $:ve=9;break e;case ie:ve=11;break e;case H:ve=14;break e;case k:ve=16,L=null;break e}throw Error(i(130,f==null?f:typeof f,""))}return E=Ha(ve,I,E,G),E.elementType=f,E.type=L,E.lanes=q,E}function gu(f,E,I,L){return f=Ha(7,f,L,E),f.lanes=I,f}function zc(f,E,I,L){return f=Ha(22,f,L,E),f.elementType=J,f.lanes=I,f.stateNode={isHidden:!1},f}function kf(f,E,I){return f=Ha(6,f,null,E),f.lanes=I,f}function wl(f,E,I){return E=Ha(4,f.children!==null?f.children:[],f.key,E),E.lanes=I,E.stateNode={containerInfo:f.containerInfo,pendingChildren:null,implementation:f.implementation},E}function Kf(f,E,I,L,G){this.tag=E,this.containerInfo=f,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=L,this.onRecoverableError=G,this.mutableSourceEagerHydrationData=null}function Vf(f,E,I,L,G,q,ve,Be,Ze){return f=new Kf(f,E,I,Be,Ze),E===1?(E=1,q===!0&&(E|=8)):E=0,q=Ha(3,null,null,E),f.current=q,q.stateNode=f,q.memoizedState={element:L,isDehydrated:I,cache:null,transitions:null,pendingSuspenseBoundaries:null},Yl(q),f}function nl(f,E,I){var L=3=5&&(u+="-strict"),o(i[u],"Unknown dialect"),i[u].hasOwnProperty(s)},i[3]=t("break else new var","case finally return void","catch for switch while","continue function this with","default if throw","delete in try","do instanceof typeof","abstract enum int short","boolean export interface static","byte extends long super","char final native synchronized","class float package throws","const goto private transient","debugger implements protected volatile","double import public","null true false"),i[5]=t("break do instanceof typeof","case else new var","catch finally return void","continue for switch while","debugger function this with","default if throw","delete in try","class enum extends super","const export import","null true false"),i["5-strict"]=t(i[5],"implements let private public yield","interface package protected static"),i[6]=t("break do in typeof","case else instanceof var","catch export new void","class extends return while","const finally super with","continue for switch yield","debugger function this","default if throw","delete import try","enum await","null true false"),i["6-strict"]=t(i[6],"let static","implements package protected","interface private public");function t(){var r=Array.prototype.map.call(arguments,function(s){return typeof s=="string"?s:Object.keys(s).join(" ")}).join(" ");return r.split(/\s+/).reduce(function(s,d){return s[d]=!0,s},{})}},80982:function(y,c){"use strict";/** * @license React * scheduler.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */function e(k,J){var ae=k.length;k.push(J);e:for(;0>>1,X=k[ne];if(0>>1;nei(te,ae))oei(Se,te)?(k[ne]=Se,k[oe]=ae,ne=oe):(k[ne]=te,k[Z]=ae,ne=Z);else if(oei(Se,ae))k[ne]=Se,k[oe]=ae,ne=oe;else break e}}return J}function i(k,J){var ae=k.sortIndex-J.sortIndex;return ae!==0?ae:k.id-J.id}if(typeof performance=="object"&&typeof performance.now=="function"){var t=performance;c.unstable_now=function(){return t.now()}}else{var r=Date,s=r.now();c.unstable_now=function(){return r.now()-s}}var d=[],v=[],u=1,a=null,l=3,p=!1,h=!1,g=!1,m=typeof setTimeout=="function"?setTimeout:null,S=typeof clearTimeout=="function"?clearTimeout:null,_=typeof setImmediate!="undefined"?setImmediate:null;typeof navigator!="undefined"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function C(k){for(var J=o(v);J!==null;){if(J.callback===null)n(v);else if(J.startTime<=k)n(v),J.sortIndex=J.expirationTime,e(d,J);else break;J=o(v)}}function O(k){if(g=!1,C(k),!h)if(o(d)!==null)h=!0,W(A);else{var J=o(v);J!==null&&H(O,J.startTime-k)}}function A(k,J){h=!1,g&&(g=!1,S(R),R=-1),p=!0;var ae=l;try{for(C(J),a=o(d);a!==null&&(!(a.expirationTime>J)||k&&!z());){var ne=a.callback;if(typeof ne=="function"){a.callback=null,l=a.priorityLevel;var X=ne(a.expirationTime<=J);J=c.unstable_now(),typeof X=="function"?a.callback=X:a===o(d)&&n(d),C(J)}else n(d);a=o(d)}if(a!==null)var re=!0;else{var Z=o(v);Z!==null&&H(O,Z.startTime-J),re=!1}return re}finally{a=null,l=ae,p=!1}}var x=!1,T=null,R=-1,N=5,B=-1;function z(){return!(c.unstable_now()-Bk||125ne?(k.sortIndex=ae,e(v,k),o(d)===null&&k===o(v)&&(g?(S(R),R=-1):g=!0,H(O,ae-ne))):(k.sortIndex=X,e(d,k),h||p||(h=!0,W(A))),k},c.unstable_shouldYield=z,c.unstable_wrapCallback=function(k){var J=l;return function(){var ae=l;l=J;try{return k.apply(this,arguments)}finally{l=ae}}}},557152:function(y,c,e){"use strict";y.exports=e(80982)},578174:function(y,c,e){"use strict";var o=e(310365),n=Array.prototype.concat,i=Array.prototype.slice,t=y.exports=function(s){for(var d=[],v=0,u=s.length;vne?"height":"width";V.style[X]="100%",X==="height"?V.style.width=J*ne+"px":V.style.height=k/ne+"px"}}}function R(V){return!!V.closest(".fluid-image-editor-wrapper")}function N(V){V.classList.add("sqs-block-alignment-wrapper"),C(V,{display:"flex",justifyContent:B(V)})}function B(V){var W="center",H=V.closest(".design-layout-fluid");return H&&(H.classList.contains("image-position-left")&&(W="flex-start"),H.classList.contains("image-position-right")&&(W="flex-end")),W}function z(V,W,H){var k=ie(V),J=V.querySelector("img"),ae=n.doesObserverExist(d,k);ae&&$(V);var ne=K(V,J,W,H);n.attachResizeObserver({observerName:d,resizeListenerTarget:k,callback:ne})}function K(V,W,H,k){var J=function(){var ne=H;if(k){var X=k.contentImage.get("model");ne=X.get("dimensions")}var re=a(W);re&&(ne=l(re));var Z=!1;A(V,ne,Z)};return J}function $(V){var W=ie(V);W._sqsResizeObservers&&n.removeResizeObserver({resizeListenerTarget:W,observerName:d})}function ie(V){return V.closest(".image-block-outer-wrapper")}},549858:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}e(c,{doesObserverExist:function(){return o},attachResizeObserver:function(){return n},removeResizeObserver:function(){return i}});function o(t,r){return!!(r._sqsResizeObservers&&r._sqsResizeObservers[t])}function n(t){var r=t.observerName,s=t.resizeListenerTarget,d=t.callback,v=new ResizeObserver(function(u){for(var a=0;a$?"height":"width";ie[V]="100%",V==="height"?ie.width=z*$+"px":ie.height=B/$+"px",p(x,ie)}}function C(A){p(A,{width:"100%",height:"100%"})}function O(A){var x=A.querySelector(".sqs-shape"),T=x.parentElement;if(S(A,x),T.hasAttribute(u)||T.hasAttribute(l))try{var R=JSON.parse(T.getAttribute(u)),N=JSON.parse(T.getAttribute(l));(0,t.applyFilters)(A,R,N)}catch(z){console.error(z)}if(T.hasAttribute(a))try{var B=T.getAttribute(a);(0,t.applyBlendMode)(A,B)}catch(z){console.error(z)}}},361841:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(g,m){for(var S in m)Object.defineProperty(g,S,{enumerable:!0,get:m[S]})}o(c,{getBarPosition:function(){return u},getPopupPosition:function(){return a},getWithDefaults:function(){return l},transformComponentDataToApiPayload:function(){return p},transformApiDataToComponentProps:function(){return h}});var n=r(e(872926));function i(g,m,S){return m in g?Object.defineProperty(g,m,{value:S,enumerable:!0,configurable:!0,writable:!0}):g[m]=S,g}function t(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,S=new WeakMap;return(t=function(_){return _?S:m})(g)}function r(g,m){if(!m&&g&&g.__esModule)return g;if(g===null||typeof g!="object"&&typeof g!="function")return{default:g};var S=t(m);if(S&&S.has(g))return S.get(g);var _={},C=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var O in g)if(O!=="default"&&Object.prototype.hasOwnProperty.call(g,O)){var A=C?Object.getOwnPropertyDescriptor(g,O):null;A&&(A.get||A.set)?Object.defineProperty(_,O,A):_[O]=g[O]}return _.default=g,S&&S.set(g,_),_}function s(g){for(var m=1;m=0)&&Object.prototype.propertyIsEnumerable.call(g,_)&&(S[_]=g[_])}return S}function v(g,m){if(g==null)return{};var S={},_=Object.keys(g),C,O;for(O=0;O<_.length;O++)C=_[O],!(m.indexOf(C)>=0)&&(S[C]=g[C]);return S}var u=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Object.values(n.BAR_POSITIONS).includes(g)?g:[n.POPUP_POSITIONS.TOP_LEFT,n.POPUP_POSITIONS.TOP_RIGHT].includes(g)?n.BAR_POSITIONS.TOP:n.BAR_POSITIONS.BOTTOM},a=function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return g===n.BAR_POSITIONS.TOP?n.POPUP_POSITIONS.TOP_LEFT:g===n.BAR_POSITIONS.BOTTOM?n.POPUP_POSITIONS.BOTTOM_LEFT:g&&Object.values(n.POPUP_POSITIONS).includes(g)?g:n.POPUP_POSITIONS.BOTTOM_LEFT},l=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},S=m.cookieBannerCtaText,_=m.cookieBannerCtaVariant,C=m.cookieBannerPosition,O=m.cookieBannerText,A=O===void 0?n.DEFAULT_TEXT:O,x=m.cookieBannerTheme,T=m.cookieBannerVariant,R=m.cookieBannerOptOutCtaText,N=m.cookieBannerAcceptType,B=d(m,["cookieBannerCtaText","cookieBannerCtaVariant","cookieBannerPosition","cookieBannerText","cookieBannerTheme","cookieBannerVariant","cookieBannerOptOutCtaText","cookieBannerAcceptType"]);return S=S||n.DEFAULT_CTA_TEXT,A=A.replace("

","")||n.DEFAULT_TEXT,_=_&&n.CTA_VARIANTS[_]?_:n.CTA_VARIANTS.ICON,x=x&&n.THEMES[x]?x:n.THEMES.DARK,T=T&&n.VARIANTS[T]?T:n.VARIANTS.BAR,C=T===n.VARIANTS.BAR?u(C):a(C),R=R||n.DEFAULT_OPT_OUT_TEXT,N=N||n.ACCEPT_TYPES.OPT_IN,s({cookieBannerCtaText:S,cookieBannerCtaVariant:_,cookieBannerPosition:C,cookieBannerText:A,cookieBannerTheme:x,cookieBannerVariant:T,cookieBannerOptOutCtaText:R,cookieBannerAcceptType:N},B)},p=function(m){var S=l(m),_=S.cookieBannerCtaText,C=S.cookieBannerCtaVariant,O=S.cookieBannerPosition,A=S.cookieBannerText,x=S.cookieBannerTheme,T=S.cookieBannerVariant,R=S.cookieBannerOptOutCtaText,N=S.cookieBannerAcceptType,B=S.isActivityLogEnabled,z=S.isAnalyticsCookiesDisabled,K=S.isCookieBannerEnabled,$=S.isRestrictiveCookiePolicyAbsolute;return{cookieBannerCtaText:_,cookieBannerVariant:T,cookieBannerPosition:O,cookieBannerCtaVariant:C,cookieBannerText:""+A=="

"?"":""+A,cookieBannerTheme:x,cookieBannerOptOutCtaText:R,cookieBannerAcceptType:N,isCookieBannerEnabled:K,isRestrictiveCookiePolicyEnabled:z||!1,isVisitorDataRestricted:!B,isRestrictiveCookiePolicyAbsolute:$||!1}},h=function(m){var S=l(m),_=S.cookieBannerCtaText,C=S.cookieBannerCtaVariant,O=S.cookieBannerPosition,A=S.cookieBannerText,x=S.cookieBannerTheme,T=S.cookieBannerVariant,R=S.cookieBannerOptOutCtaText,N=S.cookieBannerAcceptType,B=S.isCookieBannerEnabled,z=S.isRestrictiveCookiePolicyAbsolute,K=S.isRestrictiveCookiePolicyEnabled,$=S.isVisitorDataRestricted;return{cookieBannerCtaText:_,cookieBannerCtaVariant:C,cookieBannerPosition:O,cookieBannerText:A,cookieBannerTheme:x,cookieBannerVariant:T,cookieBannerOptOutCtaText:R,cookieBannerAcceptType:N,isActivityLogEnabled:!$,isAnalyticsCookiesDisabled:K,isCookieBannerEnabled:B,isRestrictiveCookiePolicyAbsolute:z}}},920562:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return r}});var o=i(e(566949));function n(s,d){if(!(s instanceof d))throw new TypeError("Cannot call a class as a function")}function i(s){return s&&s.__esModule?s:{default:s}}var t=function s(){"use strict";n(this,s),this.generateActions("refresh","setUrl","setEditingCustomCss","ifLoaded","exitSiteStylesEditMode","disableSevenZeroFullScreenPreview","toggleFullScreenPreviewMode","enableSevenZeroFullScreenPreview","enterItemEditingMode","enterItemInlineEditingMode")},r=o.default.createActions(t)},767750:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(A,x){for(var T in x)Object.defineProperty(A,T,{enumerable:!0,get:x[T]})}o(c,{SystemColorConfigs:function(){return l},presetDisplayName:function(){return p},PaletteSelectorMode:function(){return h},PaletteCustomizerMode:function(){return g},PaletteFromImageMode:function(){return m},PaletteFromColorMode:function(){return S},PaletteSwatchIdentifiers:function(){return _},ColorTypes:function(){return C},CustomColorUserFormats:function(){return O}});var n=e(604277),i=e(363968),t=e(73367);function r(A,x,T){return x in A?Object.defineProperty(A,x,{value:T,enumerable:!0,configurable:!0,writable:!0}):A[x]=T,A}function s(A){for(var x=1;x0&&It[It.length-1])&&(se[0]===6||se[0]===2)){Ot=0;continue}if(se[0]===3&&(!It||se[1]>It[0]&&se[1]';fe.head?Ie.Y.one(fe.head).append(pe):fe.write(pe)};var Ot="squarespace-commerce_email_preview",Fe=["squarespace-error_reporter"];Ie.Squarespace._humanizeAllDates=function(se){Y.all(se).each(function(fe){var pe=parseInt(fe.getAttribute("data-date"),10);if(!Y.Lang.isNumber(pe)){console.warn("Invalid date on node: ",fe);return}fe.set("innerHTML",(0,R.default)(pe).capitalize())})},Ie.Squarespace.afterBodyLoad=function(){var se=Ie.Y,fe=se.config.doc.readyState==="loading",pe=se.Squarespace.Utils.isInDamaskFrame();if(!fe&&pe&&Ie.top.YUI_NOT_YET_LOADED){se.use(Object.keys(dt(se.config.win.SQUARESPACE_ROLLUPS)),i.default);return}if(fe&&pe){se.once("domready",se.config.win.Squarespace.afterBodyLoad,se.config.win.Squarespace);return}this.AFTER_BODY_LOADED||(this.AFTER_BODY_LOADED=!0,pe&&this.injectRollups(Ie),se.use(function(xe){var Me=se.Object.keys(dt(xe));if(pe){var je=["squarespace-management"];je.forEach(function(Xe){Me.indexOf(Xe)===-1&&Me.push(Xe)})}return Me}(se.config.win.SQUARESPACE_ROLLUPS),Ie.Squarespace.globalInit))},Ie.Squarespace.addLoadTrigger=function(se,fe){var pe=Ie.Y;if(pe.one(se)){if(pe.Squarespace.Utils.isInDamaskFrame()){var xe=[];pe.Array.each(fe,function(ot){pe.Lang.isObject(Ie.YUI.Env.mods[ot])&&xe.push(ot)}),fe=pe.Array.filter(fe,function(ot){return!xe.includes(ot)}),pe.Array.each(xe,function(ot){pe.use(ot);var Ut=pe.config.win.Static.SQUARESPACE_CONTEXT.rollups[ot];if(!Ut){console.warn("Unable to load module '"+ot+"' for trigger '"+se+"'");return}if(Ut.css){var Zt=Ut.css.split(",");pe.Array.each(Zt,function(jt){this._injectStylesheetFromTopFrame(jt,pe.config.doc)},this)}},this),fe.length>0&&console.error("addLoadTrigger","There are modules that were requested, that were not available in the Seven top frame.",fe)}if(fe.length!==0){for(var Me=[],je=[],Xe=0,st=fe.length;Xe0&&Me.push(ot)}),He.css&&pe.Array.each(He.css.split(","),function(ot){ot.length>0&&je.push(ot)})}pe.Get.load([].concat(Me,je),{win:pe.config.win},function(ot){pe.use(fe)})}}},Ie.Squarespace.globalInit=function(se){var fe=function(kn){(0,h.polyfillAndObserve)(kn)},pe,xe;(0,Qe.default)(Ie),W.default.isSevenOne()&&se.one("body").addClass("seven-one-global-animations"),se.Squarespace.EscManager&&se.Squarespace.EscManager.attach(se.one(se.config.win)),(0,S.manageCookies)(),(0,S.trackPageview)(),se.config.win.Squarespace._humanizeAllDates(".timesince"),se.config.win.Squarespace.initializeLayoutBlocks(se),se.config.win.Squarespace.initializeImageBlockDynamicElements(se),se.config.win.Squarespace.initializeGlobalLightbox(se),se.config.win.Squarespace.initializeWebsiteComponent(se),se.config.win.Squarespace.initializeVideo(se),se.config.win.Squarespace.initializeNativeVideo(se,{isVisitorWebsite:!0}),se.config.win.Squarespace.initializeCartPage(se),se.config.win.Squarespace.initializeSvgs(se);var Me=Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortname;if(se.Lang.isValue(Me)&&Me!==""&&se.config.win.Squarespace.initializeDisqusCommentLinks(se),se.config.doc.location.href.indexOf("logout=true")!==-1&&se.on("domready",function(){new se.Squarespace.Widgets.Information({"strings.title":(0,A.t)("Logout Successful"),"strings.message":(0,A.t)("You have been successfully logged out.")})}),Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.commentsEnabled){var je=Ie.Static.SQUARESPACE_CONTEXT.demoCollections,Xe=Ie.Static.SQUARESPACE_CONTEXT.collectionId,st=!1;if(se.Lang.isArray(je)&&se.Lang.isValue(Xe)){var Ae=se.Array.map(je,function(Wn){return Wn.collectionId});Ae.indexOf(Xe)!==-1&&(st=!0)}st||se.config.win.Squarespace.addLoadTrigger(".squarespace-comments",["squarespace-dialog","squarespace-comments"])}var He;se.Squarespace.Utils.isInDamaskFrame()?He=Ie.top.SQUARESPACE_LOGIN&&Ie.top.SQUARESPACE_LOGIN.isLoggedIn():He=Ie.SQUARESPACE_LOGIN&&Ie.SQUARESPACE_LOGIN.isLoggedIn();var ot=Ie.Static.SQUARESPACE_CONTEXT.showAnnouncementBar;(He||ot)&&se.config.win.Squarespace.addLoadTrigger("body",["squarespace-announcement-bar"]);var Ut=H.default.shouldShowSSBadge({websiteSettings:Ie.Static.SQUARESPACE_CONTEXT.websiteSettings}),Zt=H.default.shouldShowMobileInformationBar({win:se.config.win,isMobile:se.UA.mobile,settings:Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.mobileInfoBarSettings}),jt=H.default.shouldShowLicensedAssetsBar({YNodeBody:se.one(se.config.doc.body)});(He||Ut||Zt||jt)&&se.config.win.Squarespace.addLoadTrigger("body",["squarespace-website-overlays-manager"]);var vn=Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.popupOverlaySettings,Xn=vn&&H.default.shouldShowPopupOverlay({settings:vn,context:{pageType:Ie.Static.SQUARESPACE_CONTEXT.pageType,collection:Ie.Static.SQUARESPACE_CONTEXT.collection},isMobile:se.UA.mobile,urlSearch:window.location.search});(He||Xn)&&se.config.win.Squarespace.addLoadTrigger("body",["squarespace-popup-overlay"]),(Ie==null||(pe=Ie.Static)===null||pe===void 0||(xe=pe.SQUARESPACE_CONTEXT)===null||xe===void 0?void 0:xe.pageType)===s.default.REVIEWS_REQUEST&&Promise.all([e.e(21661),e.e(69859),e.e(15570),e.e(58838),e.e(73237)]).then(e.bind(e,576495)).then(function(Wn){var kn=Wn.bootstrapProductReviewsPage;kn()}),window.UserAccountApi||(document.querySelector(".join-button")||document.querySelector(".sign-in-button"))&&Promise.all([e.e(21661),e.e(77799),e.e(4296),e.e(88978)]).then(e.bind(e,617694)),v.gdprCookieBannerFlagBouncer.isGDPRCookieBannerEnabled()?Promise.all([e.e(24326),e.e(84467)]).then(e.t.bind(e,956435,23)).then(function(Wn){var kn=Wn.renderCookieBannerManager;!se||!(0,n.default)(se,"config.win.Static.COOKIE_BANNER_CAPABLE")||kn()}):(0,Se.default)(se),se.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),se.Lang.isObject(Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions)&&Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions.mode!=="disabled"&&se.config.win.Squarespace.addLoadTrigger(t.PinterestSelectors.TRIGGER_SELECTORS.join(","),["squarespace-pinterest"]),se.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-list .products-collection-v2",["squarespace-products-collection-list-v2"]),se.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-item .products-collection-v2",["squarespace-products-collection-item-v2"]),se.config.win.Squarespace.addLoadTrigger(".sqs-image-zoom-area",["squarespace-image-zoom"]),se.config.win.Squarespace.addLoadTrigger(".collection-type-blog.view-list .sqs-blog-list",["squarespace-blog-collection-list"]),se.config.win.Squarespace.addLoadTrigger(".collection-type-gallery .sqs-gallery-list",["squarespace-gallery-collection-list"]),se.config.win.Squarespace.addLoadTrigger(".sqs-block-calendar",["squarespace-calendar-block-renderer"]),se.config.win.Squarespace.addLoadTrigger(".collection-type-events.view-list",["squarespace-events-collection"]),se.config.win.Squarespace.addLoadTrigger(".sqs-product-quick-view-button[data-id]",["squarespace-product-quick-view","squarespace-image-zoom","squarespace-products-collection-item-v2"]),se.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"]),se.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),se.config.win.Squarespace.addLoadTrigger(".sqs-search-page",["squarespace-search-page"]),se.config.win.Squarespace.addLoadTrigger(".sqs-simple-like",["squarespace-simple-liking"]),se.config.win.Squarespace.addLoadTrigger(".squarespace-social-buttons",["squarespace-social-buttons"]),se.one(".sqs-share-buttons")&&e.e(99058).then(e.t.bind(e,490253,23)).then(function(Wn){var kn=Wn.initializeShareButtons,or=Wn.destroyShareButtons;Ie.Squarespace.onInitialize(se,function(){kn(se)}),Ie.Squarespace.onDestroy(se,function(){or(se)})}),(0,h.initializeAnimations)(se.config.win);var xr=se.Global.on("_syncBodyClasses",fe);Ie.addEventListener("beforeunload",function(){xr.detach(),xr=null},{once:!0}),(0,Je.markReady)(se)},Ie.Squarespace.initializeDisqusCommentLinks=function(se){var fe="#disqus_thread",pe="#comment-{id}",xe=se.all(".sqs-comment-link"),Me="href",je="data-id",Xe,st=Ie.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortname,Ae=se.Lang.isString(st)&&st!=="";Ae?Xe=function(ot){return Ie.Static.SQUARESPACE_CONTEXT.website.baseUrl+ot.getAttribute(Me)+fe}:Xe=function(ot){return Ie.Static.SQUARESPACE_CONTEXT.website.baseUrl+ot.getAttribute(Me)+se.substitute(pe,{id:ot.getAttribute(je)})},xe.each(function(He){He.setHTML("Comments"),He.setAttribute(Me,Xe(He))},this),Ae&&(Ie.disqus_shortname=st,se.Get.script("//"+st+".disqus.com/count.js"))},Ie.Squarespace.initializeCollectionPages=function(se,fe){se.Squarespace.EventsCollection?(fe.all(".sqs-events-collection-list").each(se.Squarespace.EventsCollection.initializeListView),fe.all(".sqs-events-collection-calendar").each(se.Squarespace.EventsCollection.initializeCalendarView)):se.config.win.Squarespace.addLoadTrigger(".sqs-events-collection-list, .sqs-events-collection-calendar",["squarespace-events-collection"])},Ie.Squarespace.initializeLayoutBlocks=function(se,fe){var pe=fe?fe.getDOMNode():document,xe=fe||se;pe.querySelectorAll(".sqs-position-sticky").forEach(function(He){var ot=(0,ne.default)(He);Ie.Squarespace.onDestroy(se,function(){ot.destroy()})}),this.initializeSummaryV2Block(se,xe),xe.all([".sqs-block-video",".sqs-block-embed"].join(",")).each(function(He){(0,Ke.default)(He,se,Ie)}),xe.all(".sqs-block-image img[data-image]").each(function(He){N.default.initializeImageBlock(He,se)}),xe.all(".sqs-block-shape").each(function(He){(0,ae.initializeShapeBlock)(He.getDOMNode())});var Me=[".sqs-block-product img[data-image]"];se.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE&&Me.push(".sqs-block-collectionlink img[data-image]"),xe.all(Me.join(",")).each(function(He){N.default.initializeBasicBlockWithImage(He,se)}),xe.all(".sqs-block-soundcloud").each(function(He){Ie.Squarespace.initializeSoundcloudBlock(He,se)}),xe.all(".sqs-block-map[data-block-json]").each(function(He){var ot=se.JSON.parse(He.getAttribute("data-block-json")),Ut=(0,_.mapModelToViewConfig)(ot),Zt=(0,C.getResolvedWebsiteLocale)();He.setAttribute("data-animation-role","image"),W.default.isSevenOne()&&(Ut.ui=se.merge({},Ut.ui,{scrollwheel:!1})),r.default.createView(Ut.ui,Ut.location,He.one(".sqs-block-content").getDOMNode(),Zt)}),Ie.Squarespace.initializeFormBlocks(xe,se),xe.all(".sqs-block-newsletter").each(function(He){Ie.Squarespace.initializeNewsletterBlock(He,se)}),xe.all(".sqs-block-donation").each(function(He){Ie.Squarespace.initializeDonationButton(He,se)}),pe.querySelectorAll(".sqs-block-accordion").forEach(function(He){Ie.Squarespace.initializeAccordionBlock(He),Ie.Squarespace.initializeContainerStyles(He)}),pe.querySelectorAll(".sqs-block-marquee").forEach(function(He){Ie.Squarespace.initializeMarqueeBlock(He),Ie.Squarespace.initializeContainerStyles(He)}),pe.querySelectorAll(".sqs-block-html .sqsrte-scaled-text-container:first-of-type").forEach(function(He){Ie.Squarespace.initializeScaledText(He)}),pe.querySelectorAll(".sqs-block-html .sqsrte-text-highlight").forEach(function(He){Ie.Squarespace.initializeTextHighlight(He)}),document.querySelectorAll(".sqs-block-html[data-blend-mode], .sqs-block-html[data-blur]").forEach(function(He){Ie.Squarespace.initializeContainerStyles(He)}),document.querySelectorAll(".sqs-block-quote[data-blend-mode], .sqs-block-quote[data-blur]").forEach(function(He){Ie.Squarespace.initializeContainerStyles(He)}),xe.all(".sqs-block-button").each(function(He){Ie.Squarespace.initializeButtonBlock(He,se)}),xe.all(".sqs-block-pricing-plan").each(function(He){Ie.Squarespace.initializePricingPlanBlock(He,se)}),Ie.Squarespace.initializeAspectRatioBlocks(se);var je=[".sqs-block-gallery",".sqs-block-video"].join(",");xe.all(je).each(function(He){se.SQS.Gallery.Manager.initializeBlock(He)});var Xe=[{selector:".sqs-block-flickr",blockType:t.BlockType.FLICKR},{selector:".sqs-block-instagram",blockType:t.BlockType.INSTAGRAM},{selector:".sqs-block-fivehundredpix",blockType:t.BlockType.FIVEHUNDREDPIX}];Xe.forEach(function(He){xe.all(He.selector).each(function(ot){var Ut=ot.one(".sqs-gallery-container"),Zt=Ut&&Ut.getAttribute("data-async-rendering-enabled")==="true";Zt?(0,ie.default)(ot,He.blockType).then(function(){Squarespace.initializeAspectRatioBlocks(se),se.SQS.Gallery.Manager.initializeBlock(ot)}):se.SQS.Gallery.Manager.initializeBlock(ot)})}),xe.all(".sqs-block-opentable").each(function(He){Ie.Squarespace.initializeOpenTableBlock(He,se)}),xe.all(".sqs-block-opentable-v2").each(function(He){Ie.Squarespace.initializeOpenTableV2Block(He.getDOMNode())}),xe.all(".sqs-block-tock").each(function(He){(0,m.default)(He.getDOMNode())}),se.Squarespace.Widgets.AudioPlayer?xe.all(".sqs-audio-embed").each(se.Squarespace.Widgets.AudioPlayer.initializeNode):se.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),se.Squarespace.Tourdates?xe.all(".sqs-block-tourdates[data-block-json]").each(se.Squarespace.Tourdates.initializeNode):se.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),se.Squarespace.CalendarBlockRenderer?xe.all(".sqs-block.calendar-block[data-block-json]").each(se.Squarespace.CalendarBlockRenderer.initializeNode):se.config.win.Squarespace.addLoadTrigger(".sqs-block.calendar-block[data-block-json]",["squarespace-calendar-block-renderer"]);var st=xe.one(".sqs-block-zola");st&&this.initializeZolaBlocks(st,se);var Ae=xe.one(".sqs-block-acuity");Ae&&this.initializeAcuityBlocks(Ae,se),this.initializeSearchBlock(se),this.initializeChartBlock(se),this.initializeSocialLinks(se),this.initializeMenuBlock(se)},Ie.Squarespace.initializeSocialLinks=function(se){se.UA.gecko<=0||se.all('use[class^="SocialLinks"][*|href]').each(function(fe){var pe=fe.getAttribute("xlink:href"),xe=pe.indexOf("#");xe!==-1&&fe.setAttribute("xlink:href",se.config.win.location.origin+se.config.win.location.pathname+pe.substr(xe))})},Ie.Squarespace.initializeMenuBlock=function(se){se.all(".menu-wrapper").each(function(fe){(0,g.initializeMenuBlock)(fe._node)})},Ie.Squarespace.initializePageContent=function(se,fe){Ie.Squarespace.initializeLayoutBlocks(se,fe),Ie.Squarespace.initializeWebsiteComponentForContentPreview(se,fe),Ie.Squarespace.initializeCollectionPages(se,fe)},Ie.Squarespace.initializeImageBlockDynamicElements=function(se){var fe=function(){se.all(".image-block-v2").each(function(Me){Me.toggleClass("sqs-narrow-width",Me.get("offsetWidth")<415);var je=Me.one("img");je&&pe.ImageLoader.load(je)}),(0,Re.default)(pe)},pe=se.config.win;this._resizeEmitter=new se.Squarespace.ResizeEmitter,this._resizeEmitter.on("resize",fe,this),se.Global.on("tweak:change",fe)},Ie.Squarespace.initializeSummaryV2Block=function(se,fe){fe.all(".sqs-block-summary-v2").each(function(pe){(0,V.default)(pe).then(function(){var xe,Me,je;pe.hasAttribute("data-block-json")&&(je=JSON.parse(pe.getAttribute("data-block-json")).imageAspectRatio),(xe=pe.one(".summary-block-collection-type-lessons"))===null||xe===void 0||xe.all(".summary-description").each(function(Xe){Xe._node.style.visibility="visible";var st=Xe._node.innerHTML;st=st.replaceAll(/]*>/g,""),st=st.slice(0,-4),st=st.replaceAll("

","
"),st="

"+st+"

",Xe._node.innerHTML=st}),(Me=pe.one(".summary-block-collection-type-lessons"))===null||Me===void 0||Me.all("img").each(function(Xe){Xe.once("load",function(){window.dispatchEvent(new Event("resize"))},this)}),pe.all(".sqsSummaryBlockThumbnailPlaceholder").each(function(Xe){var st=(0,V.calculateVideoPlaceholderAspectRatio)(je);Xe.setStyle("paddingBottom",st+"%"),Xe.get("parentNode").setStyle("paddingBottom",st+"%")}),se.SQS.Gallery.Manager.initializeBlock(pe),pe.all(".sqsSummaryBlockThumbnailPlaceholder").each(function(Xe){var st=Xe.ancestor(".summary-item").getDOMNode();st.classList.remove("no-image")}),Ie.Squarespace.initializeContainerStyles(pe._node)})})},Ie.Squarespace.initializeButtonBlock=function(se,fe){(0,T.default)(se)},Ie.Squarespace.initializeOpenTableBlock=function(se,fe){(0,B.default)(se,fe)},Ie.Squarespace.initializeOpenTableV2Block=function(se){(0,z.default)(se)},Ie.Squarespace.initializeZolaBlocks=function(se,fe){var pe="zola-wjs",xe=fe.config.win.document.getElementById(pe);if(xe){if(!fe.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE)return;if(fe.config.win.ZolaWidget){fe.config.win.ZolaWidget.init();return}xe.remove()}var Me=document.createElement("script");Me.src=se.one("[data-zola-script-src]").getAttribute("data-zola-script-src"),Me.id=pe,Me.async=!0,fe.config.win.document.head.appendChild(Me)},Ie.Squarespace.initializeAcuityBlocks=function(se,fe){if(fe.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE){var pe=se.one("script"),xe=document.createElement("script");xe.src=pe.getAttribute("src"),xe.async=!0,pe.remove(),se.appendChild(xe)}},Ie.Squarespace.initializeSoundcloudBlock=function(se,fe){var pe=se.one("iframe");if(pe){var xe=pe.getAttribute("src");try{var Me=fe.QueryString.parse(xe).url;if(Me){var je=Me.indexOf("/playlists/")>=0;se.toggleClass("isPlaylist",je)}}catch(Xe){console.error("Issue parsing SoundCloud url: "+xe,Xe)}}},Ie.Squarespace.initializeVideoBlock=function(se,fe){se.videoloader||se.plug(fe.Squarespace.VideoLoader)},Ie.Squarespace.initializeContainerStyles=function(se){(se.hasAttribute("data-blend-mode")||se.hasAttribute("data-blur"))&&(0,l.initializeContainerStyles)(se)},Ie.Squarespace.initializeFormBlocks=function(se,fe){var pe=v.localizedFormsFlagBouncer.areLocalizedFormsEnabled(),xe=se.all(".sqs-block-form");xe.size()&&pe&&Promise.all([e.e(89854),e.e(2565),e.e(69859),e.e(99401),e.e(23268),e.e(37737)]).then(e.t.bind(e,970314,23)).then(function(Xe){var st=Xe.bootstrapVisitorForms,Ae=Xe.updateVisitorForms;st(fe);var He=fe.Global.on("tweak:change",function(ot){ot.getName()==="form-submit-button-style"&&Ae({previewSubmitButtonStyle:ot.getValue()})});window.addEventListener("beforeunload",function(){He&&(He.detach(),He=null)},{once:!0})}),xe.each(function(st){var Ae=st.one("form");Ae&&(xt({win:fe.config.win,formEl:Ae.getDOMNode()}),Ie.Squarespace.initializeContainerStyles(st._node))}),(0,K.default)(fe.config.doc);var Me=".sqs-block-form .lightbox-handle",je=se.all(Me);if(!je.isEmpty()){if(fe.Squarespace.FormRenderingUtils){fe.Squarespace.FormRenderingUtils.initializeFormLightbox(se);return}fe.config.win.Squarespace.addLoadTrigger(Me,["squarespace-form-rendering-utils"])}},Ie.Squarespace.initializeNewsletterBlock=function(se,fe){var pe=se.one(".newsletter-form");if(pe){xt({win:fe.config.win,formEl:pe.getDOMNode()}),Ie.Squarespace.initializeContainerStyles(se._node);var xe=se.ancestor();se.toggleClass("newsletter-form-has-small-container",xe.get("offsetWidth")<320).addClass("rendered")}},Ie.Squarespace.initializeAccordionBlock=function(se){(0,a.initializeAccordionBlock)(se)},Ie.Squarespace.initializeMarqueeBlock=function(se){(0,p.default)(se,Y)},Ie.Squarespace.initializeScaledText=function(se){Promise.resolve().then(e.bind(e,708380)).then(function(fe){var pe=fe.default;(0,k.scaleAllTextInNode)(se),document.fonts.ready.then(function(){(0,k.scaleAllTextInNode)(se)}),Y.Global.on("tweak:change",function(){window.setTimeout(function(){(0,k.scaleAllTextInNode)(se)})}),pe.on(function(){(0,k.scaleAllTextInNode)(se)},10)})},Ie.Squarespace.initializeTextHighlight=function(se){var fe=(0,J.initializeTextHighlight)(se);Y.Global.on("colors:updateThemeStyles",function(){(0,J.updateTextHighlightColor)(fe)})},Ie.Squarespace.initializeDonationButton=function(se,fe){var pe=se.one(".sqs-donate-button");if(!pe){console.error("Careful, there was no button found inside this node!",se.getDOMNode());return}var xe=function(){fe.Squarespace.Commerce.goToDonatePage(pe.getAttribute("data-donate-page-id"))};pe.on("click",xe),pe.on("keydown",function(Me){(Me.keyCode===13||Me.keyCode===32)&&xe()})},Ie.Squarespace.initializePricingPlanBlock=function(se,fe){(0,O.setupToggleHandlers)(se)},Ie.Squarespace.initializeGlobalLightbox=function(se){se.all('[rel="lightbox"][data-lightbox]').plug(se.Squarespace.Lightbox2Plug)},Ie.Squarespace.initializeCommerce=function(se){if(!se.Squarespace.Commerce.initializeCommerce){console.warn("Commerce rollup not loaded, exiting initializeCommerce() invocation.");return}se.Squarespace.Commerce.initializeCommerce(se)},Ie.Squarespace.initializeChartBlock=function(se){se.ChartJS&&se.ChartJS.initializeCharts?se.ChartJS.initializeCharts():se.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"])},Ie.Squarespace.initializeWebsiteComponent=function(){var se=Wt(function(fe){var pe;return Ce(this,function(xe){switch(xe.label){case 0:return[4,(0,Z.getVisitorInstanceLoader)()];case 1:return pe=xe.sent(),fe.all(".sqs-block-website-component[data-definition-name]").each(function(Me){var je=Me.getDOMNode(),Xe=je.dataset.definitionName,st=je.id;Xe&&st&&pe.load(Xe,st,je)}),[2]}})});return function(fe){return se.apply(this,arguments)}}(),Ie.Squarespace.initializeWebsiteComponentForContentPreview=function(){var se=Wt(function(fe,pe){var xe;return Ce(this,function(Me){switch(Me.label){case 0:return pe||(pe=fe),[4,(0,Z.getVisitorInstanceLoader)()];case 1:return xe=Me.sent(),pe.all(".sqs-block-website-component[data-definition-name]").each(function(){var je=Wt(function(Xe){var st,Ae,He,ot;return Ce(this,function(Ut){switch(Ut.label){case 0:return st=Xe.getDOMNode(),Ae=st.dataset.definitionName,He=st.id,ot=!0,Ae&&He?[4,te.default.load(Ae)]:[3,2];case 1:Ut.sent(),xe.load(Ae,He,st,ot),Ut.label=2;case 2:return[2]}})});return function(Xe){return je.apply(this,arguments)}}()),[2]}})});return function(fe,pe){return se.apply(this,arguments)}}(),Ie.Squarespace.initializeVideo=function(se){se.all(".sqs-video-wrapper").each(function(fe){!fe.videoloader&&!fe.ancestor(".sqs-block-video")&&!fe.ancestor(".slide")&&fe.plug(se.Squarespace.VideoLoader,{load:fe.getAttribute("data-load")!=="false"})})},Ie.Squarespace.initializeNativeVideo=function(se,fe){var pe=fe.parentElement,xe=fe.isVisitorWebsite,Me=".sqs-native-video",je=pe?pe.all(Me):se.all(Me);je.isEmpty()||Promise.all([e.e(21661),e.e(94331),e.e(26251)]).then(e.bind(e,360380)).then(function(){se.use("squarespace-native-video-loader"),je.each(function(Xe){Xe.plug(se.Squarespace.NativeVideoLoader,{isVisitorWebsite:xe})})})},Ie.Squarespace.initializeSearchBlock=function(se){var fe=se.all(".sqs-search-ui-text-input");if(!fe.isEmpty()){if(!se.Squarespace.Widgets.SearchPreview&&se.one(".sqs-search-ui-text-input")){Promise.all([e.e(24538),e.e(49188),e.e(85194),e.e(61260)]).then(e.bind(e,83181)).then(function(){se.use("squarespace-search-preview")});return}se.Squarespace.Widgets.SearchPreview.renderAllSearchPreviewNodes()}};var Ve=function(fe){var pe=(0,n.default)(fe,"SQS.LayoutEngine.AspectRatioManager");pe&&pe.initAllBlocks()};Ie.Squarespace.initializeAspectRatioBlocks=Ve,Ie.Squarespace._userHasViewerRole=function(se){return se?Object.keys(se).length>0&&se[d.default.VIEWER]:!1},Ie.Squarespace.initializeCartPage=function(se){(0,u.isCartPage)(Ie)&&Promise.all([e.e(21661),e.e(69859),e.e(15570),e.e(98831),e.e(13914),e.e(70127)]).then(e.bind(e,290195)).then(function(fe){var pe=fe.bootstrapCartPage,xe=fe.unmountCartPage;Ie.Squarespace.onInitialize(se,function(){(0,u.isCartPage)(Ie)&&pe({setLocale:A.setLocale})}),Ie.Squarespace.onDestroy(se,function(){(0,u.isCartPage)(Ie)&&xe()})})},Ie.Squarespace.initializeSvgs=function(se){se.config.win.Squarespace.onInitialize(se,function(){se.on("domready",function(){Ne&&Promise.all([e.e(99401),e.e(11268)]).then(e.bind(e,740674)).then(function(fe){var pe=fe.default;pe.parse()})})})},window.SquarespaceFonts=(0,rt.default)(Ie),W.default.isSevenOne()&&Ie.document.addEventListener("DOMContentLoaded",function(){gt()||It()})},Common(window)},905408:function(){"use strict";typeof console=="undefined"&&(console={assert:function(){},group:function(){},groupEnd:function(){},log:function(){},dir:function(){},warn:function(){},error:function(c){var e=Array.prototype.slice.call(arguments);throw new Error(e)}})},355458:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return r}});var o=t(e(461761)),n=e(207600),i=t(e(256818));function t(s){return s&&s.__esModule?s:{default:s}}function r(s){if(!(!s||!(0,o.default)(s,"config.win.Static.COOKIE_BANNER_CAPABLE"))){var d=(0,o.default)(s,"config.win.Static.SQUARESPACE_CONTEXT.cookieSettings"),v=d&&i.default.shouldShowCookieBanner({settings:d,urlSearch:window.location.search});v&&(0,n.mount)(s.config.win.Static.SQUARESPACE_CONTEXT.cookieSettings),s.Global.on("cookieBanner:force",function(a){(0,o.default)(s,"config.win.document.body")&&((0,n.mount)(s.merge({force:!0},a)),s.config.win.document.body.classList.add("sqs-cookie-banner-v2-forced"),s.Global.once("cookieBanner:unforce",function(p){s.Global.detach("cookieBanner:update"),(0,o.default)(s,"config.win.document.body")&&(s.config.win.document.body.classList.remove("sqs-cookie-banner-v2-forced"),(0,n.mount)(p))}),s.Global.on("cookieBanner:update",function(p){(0,o.default)(s,"config.win.document.body")&&((0,n.unmount)(),(0,n.mount)(s.merge({force:!0},p)))}))})}}},16836:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return a}});var o=t(e(624897));function n(l,p){(p==null||p>l.length)&&(p=l.length);for(var h=0,g=new Array(p);h0&&arguments[0]!==void 0?arguments[0]:window,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;d(l.document.querySelectorAll(p)).forEach(function(h){return(0,o.default)(h)})}},370487:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return i}});var o=e(505004),n=function(t,r){if(t){var s=t.getAttribute("data-block-json");if(s){var d=r.JSON.parse(s);d&&d.providerName!=="Twitter"&&t.get("children").each(function(v){return v.resizetoparent({sizeonly:!0})})}t.setStyles({visibility:"visible",opacity:1,height:"auto"})}},i=function(t,r,s){var d=t.one(".sqs-block-content");if(d){(0,o.securifyBlockEmbed)(d);var v=d.test(".sqs-block-video .sqs-block-content");if(v){var u=d.one(".sqs-video-wrapper");u&&s.Squarespace.initializeVideoBlock(u,r);return}var a=d.one(".intrinsic");a||n(d,r)}}},993999:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return t}});var o=n(e(529813));function n(r){return r&&r.__esModule?r:{default:r}}var i="https://fonts.googleapis.com/css2",t=function(r){var s=function(u){var a=u.map(function(l){return"family=".concat(l)}).join("&");return"".concat(i,"?").concat(a)},d=function(u){var a=r.document.createElement("link");a.rel="stylesheet",a.href=u;var l=r.document.getElementsByTagName("script")[0];l.parentNode.insertBefore(a,l)};return{alreadyLoaded:[],alreadyPreloaded:[],load:function(u){if(u=u||{},u.googleFamilies=u.googleFamilies||[],u.googleFamilies==="all"){if(this.everythingLoaded)return;u.googleFamilies=[];for(var a in r.Static.SQUARESPACE_CONTEXT.googleFonts){var l=r.Static.SQUARESPACE_CONTEXT.googleFonts[a];u.googleFamilies.push(l.includeName)}this.everythingLoaded=!0}else for(var p=0;ps)},o=function(i){var t=i.querySelector("textarea");if(!(!t||t.dataset.characterCounter)){t.dataset.characterCounter=!0;var r;if(r=parseInt(i.dataset.maxLength,10),r=isNaN(r)?0:Math.max(r,0),r!==0){var s=document.createElement("div");s.style.textAlign="right",i.appendChild(s),e(i,t,s,r),t.addEventListener("input",function(d){e(i,t,s,r)})}}};function n(i){Array.from(i.querySelectorAll(".textarea[data-max-length]")).forEach(o)}},872926:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(_,C){for(var O in C)Object.defineProperty(_,O,{enumerable:!0,get:C[O]})}o(c,{DEFAULT_CTA_TEXT:function(){return s},DEFAULT_TEXT:function(){return d},VARIANTS:function(){return v},BAR_POSITIONS:function(){return u},POPUP_POSITIONS:function(){return a},THEMES:function(){return l},CTA_VARIANTS:function(){return p},DEFAULT_OPT_OUT_TEXT:function(){return h},ACCEPT_TYPES:function(){return g},STRINGS:function(){return S}});var n=e(604277),i=r(e(203955));function t(_,C,O){return C in _?Object.defineProperty(_,C,{value:O,enumerable:!0,configurable:!0,writable:!0}):_[C]=O,_}function r(_){return _&&_.__esModule?_:{default:_}}var s=(0,n.t)("Accept"),d=(0,n.t)("By using this website, you agree to our use of cookies. We use cookies to provide you with a great experience and to help our website run effectively."),v=(0,i.default)("BAR","POPUP"),u=(0,i.default)("TOP","BOTTOM"),a=(0,i.default)("TOP_LEFT","TOP_RIGHT","BOTTOM_LEFT","BOTTOM_RIGHT"),l=(0,i.default)("LIGHT","DARK"),p=(0,i.default)("TEXT","BUTTON","ICON"),h=(0,n.t)("Decline"),g=(0,i.default)("OPT_IN","OPT_IN_AND_OUT"),m,S=(m={},t(m,v.BAR,(0,n.t)("Bar")),t(m,v.POPUP,(0,n.t)("Pop-up")),t(m,u.TOP,(0,n.t)("Top")),t(m,u.BOTTOM,(0,n.t)("Bottom")),t(m,a.TOP_LEFT,(0,n.t)("Top Left")),t(m,a.TOP_RIGHT,(0,n.t)("Top Right")),t(m,a.BOTTOM_LEFT,(0,n.t)("Bottom Left")),t(m,a.BOTTOM_RIGHT,(0,n.t)("Bottom Right")),t(m,l.LIGHT,(0,n.t)("Light")),t(m,l.DARK,(0,n.t)("Dark")),t(m,p.TEXT,(0,n.t)("Text")),t(m,p.BUTTON,(0,n.t)("Button")),t(m,p.ICON,(0,n.t)("Icon")),t(m,g.OPT_IN,(0,n.t)("Opt-in")),t(m,g.OPT_IN_AND_OUT,(0,n.t)("Opt-in & Out")),m)},927582:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(s,d){for(var v in d)Object.defineProperty(s,v,{enumerable:!0,get:d[v]})}e(c,{zIndexes:function(){return o},yuiDialogClassName:function(){return n},yuiDialogOverlayClassName:function(){return i},yuiDialogSelector:function(){return t},yuiDialogOverlaySelector:function(){return r}});var o={BASE:3e4},n="squarespace-managed-ui",i="dialog-screen-overlay",t=".".concat(n),r=".".concat(i)},538865:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return u}});var o=i(e(170907));function n(a,l,p){return l in a?Object.defineProperty(a,l,{value:p,enumerable:!0,configurable:!0,writable:!0}):a[l]=p,a}function i(a){return a&&a.__esModule?a:{default:a}}var t=100,r=150,s=67,d,v=(d={},n(d,o.default.CIRCLE,t),n(d,o.default.DIAMOND,t),n(d,o.default.BOTTOM_LEFT_CURVE,t),n(d,o.default.RABBET,t),n(d,o.default.FOUR_PETAL_FLOWER,t),n(d,o.default.FOUR_POINT_STAR,t),n(d,o.default.DESCENDING_RAMP,t),n(d,o.default.DESCENDING_STAIRS,t),n(d,o.default.OCTAGON,t),n(d,o.default.STEPPED_CROSS,t),n(d,o.default.TV,t),n(d,o.default.OPEN_BOOK,t),n(d,o.default.FLOWER,t),n(d,o.default.EIGHT_SIDED_SHIELD,t),n(d,o.default.ROUNDED_PENTAGON,t),n(d,o.default.GEAR,t),n(d,o.default.VERTICAL_OVAL,r),n(d,o.default.HOURGLASS,r),n(d,o.default.KEYSTONE,r),n(d,o.default.VERTICAL_PARALLELOGRAM,r),n(d,o.default.VERTICAL_RIGHT_LEANING_OVAL,r),n(d,o.default.ARCHED_WINDOW,r),n(d,o.default.VERTICAL_STACKED_CIRCLES,r),n(d,o.default.POINTED_WINDOW,r),n(d,o.default.AWARD,r),n(d,o.default.NARROW_HORIZONTAL_STACKED_PILLS,r),n(d,o.default.EGG,r),n(d,o.default.NARROW_POW,r),n(d,o.default.HORIZONTAL_STACKED_CIRCLES,s),n(d,o.default.WIDE_VERTICAL_STACKED_PILLS,s),n(d,o.default.WIDE_HORIZONTAL_STACKED_PILLS,s),n(d,o.default.HORIZONTAL_OVAL,s),n(d,o.default.HORIZONTAL_RIGHT_LEANING_OVAL,s),n(d,o.default.WIDE_EIGHT_SIDED_SHIELD,s),n(d,o.default.WIDE_OPEN_BOOK,s),d),u=v},914474:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return o}});var e;(function(n){n.API_KEY_CREATION_MODAL_COPY="api_key_creation_modal_copy",n.API_KEY_CREATION_MODAL_CANCEL="api_key_creation_modal_cancel",n.API_KEY_CREATION_MODAL_NEXT="api_key_creation_modal_next",n.API_KEY_CREATION_MODAL_COMPLETE="api_key_creation_modal_complete",n.API_KEYS_PANEL_CREATE_KEY="api_keys_panel_create_key",n.API_KEYS_PANEL_LEARN_MORE="api_keys_panel_learn_more",n.API_KEYS_PANEL_TERMS_OF_USE="api_keys_panel_terms_of_use",n.API_KEYS_PANEL_DELETE_KEY="api_keys_panel_delete_key",n.API_KEYS_PANEL_DELETE_KEY_CONFIRM="api_keys_panel_delete_key_confirm"})(e||(e={}));var o=e},13146:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return o}});var e;(function(n){n.CART_PAGE_PRODUCT_FORM_OPEN="commerce_cart_page_product_form_open",n.CART_PAGE_PRODUCT_FORM_CLOSE="commerce_cart_page_product_form_close",n.CART_PAGE_PRODUCT_FORM_SUBMIT="commerce_cart_page_product_form_submit",n.CART_PAGE_LOADED="commerce_cart_page_loaded",n.CREATE_CUSTOMER_ACCOUNT="CompleteRegistration",n.ADD_TO_CART="AddToCart",n.SEARCH="Search",n.SUBSCRIBE_NEWSLETTER="Lead",n.VIEW_PRODUCT_PAGE="ViewContent",n.PURCHASE="Purchase",n.INVENTORY_PANEL_SEARCH_PRODUCTS="commerce_inventory_panel_search_products",n.INVENTORY_PANEL_SORT_ON_NAME="commerce_inventory_panel_sort_on_name",n.INVENTORY_PANEL_SORT_ON_STOCK="commerce_inventory_panel_sort_on_stock",n.INVENTORY_PANEL_SORT_ON_PRICE="commerce_inventory_panel_sort_on_price",n.INVENTORY_PANEL_CLICK_ROW_EXPANDER="commerce_inventory_panel_click_row_expander",n.INVENTORY_PANEL_CLICK_ROW="commerce_inventory_panel_click_row",n.INVENTORY_PANEL_CLICK_NEXT_PAGE="commerce_inventory_panel_click_next_page",n.INVENTORY_PANEL_SETTINGS_OPEN="commerce_inventory_panel_settings_open",n.INVENTORY_PANEL_SETTINGS_CLOSE="commerce_inventory_panel_settings_close",n.INVENTORY_PANEL_SETTINGS_SAVE="commerce_inventory_panel_settings_save",n.INVENTORY_PANEL_SETTINGS_TOGGLE_SCARCITY_PDP="commerce_inventory_panel_settings_toggle_scarcity_pdp",n.INVENTORY_PANEL_SETTINGS_TOGGLE_SCARCITY_BLOCKS="commerce_inventory_panel_settings_toggle_scarcity_blocks",n.INVENTORY_PANEL_SETTINGS_CHANGE_SCARCITY_THRESHOLD="commerce_inventory_panel_settings_change_scarcity_threshold",n.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_URL_COPY="commerce_facebook_ads_feed_url_copy",n.FACEBOOK_PIXEL_SAVE_ID="commerce_facebook_pixel_save_id"})(e||(e={}));var o=e},565906:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return s}});var o=i(e(654315));function n(d,v,u){return v in d?Object.defineProperty(d,v,{value:u,enumerable:!0,configurable:!0,writable:!0}):d[v]=u,d}function i(d){return d&&d.__esModule?d:{default:d}}var t,r=(t={},n(t,o.default.LEFT,-1),n(t,o.default.RIGHT,1),t),s=r},92315:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return e}});var e={topLeft:"top-left-radius",topRight:"top-right-radius",bottomLeft:"bottom-left-radius",bottomRight:"bottom-right-radius"}},566949:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return h}});var o=t(e(293298));function n(g,m){(m==null||m>g.length)&&(m=g.length);for(var S=0,_=new Array(m);S1&&arguments[1]!==void 0?arguments[1]:".";return C.replace(".",O)}function h(C){for(var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";C.match(l);)C=C.replace(l,"$1".concat(O,"$2"));return C}function g(C){return u({},i.DEFAULT_CURRENCY_TEMPLATE,C.DEFAULT||{})}function m(C,O){return u({},C.DEFAULT,C[O]||{})}function S(C,O,A){return A.trimZeroFractions&&(0,o.default)(C)?0:(0,i.getFractionDigits)(O)}var _=function(){"use strict";function C(A){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r(this,C),this.templates=i.CurrencyTemplates[A]||{},this.templates.DEFAULT=g(this.templates),this.templates,x&&C.enableDebugging(),this.locale=A}var O=C.prototype;return O.format=function(x){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!d(x,n.default))throw new Error("Format expects a Money instance.");T=u({},a,T);var R=C.debug?"\uD83D\uDCB0":"",N=x.toFloat(),B=Math.abs(N),z=N<0?"-":"",K=x.currencyCode,$=m(this.templates,K),ie=S(N,K,T),V=String((0,t.default)(B,ie).toFixed(ie));V=p(V,$.decimalSeparator),T.group&&(V=h(V,$.thousandsSeparator));var W=$.symbol,H=$.formatter,k=H({currencyCode:K,symbol:W,value:V,sign:z});return R+k+R},C.enableDebugging=function(){C.debug=!0},C.disableDebugging=function(){C.debug=!1},C}()},487267:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(h,g){for(var m in g)Object.defineProperty(h,m,{enumerable:!0,get:g[m]})}o(c,{MoneyFormatterProvider:function(){return l},moneyFormatterProviderInstance:function(){return p}});var n=u(e(435359)),i=e(985878),t=e(604277),r=u(e(560397));function s(h,g){if(!(h instanceof g))throw new TypeError("Cannot call a class as a function")}function d(h,g){for(var m=0;m0&&arguments[0]!==void 0?arguments[0]:!1;s(this,h),this.useCldrMode=m,this.commerceMoneyFormatter=new r.default("native")}var g=h.prototype;return g.setUseCldrMode=function(S){this.useCldrMode=S},v(h,[{key:"formatter",get:function(){return this.useCldrMode?a:this.commerceMoneyFormatter}}]),h}(),p=new l(i.legacyV6Flags.isFeatureEnabled(n.default.CLDR_NUMBER_FORMATTER))},420157:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),e(576032);var o=e(245090),n=i(e(604277));function i(t){return t&&t.__esModule?t:{default:t}}(0,o.setI18nInstance)(n.default)},954265:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),e(420157),e(774401);var o=e(572904),n=i(e(604277));function i(t){return t&&t.__esModule?t:{default:t}}(0,o.setI18nInstance)(n.default)},188846:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=i(e(604277)),n=e(756573);function i(t){return t&&t.__esModule?t:{default:t}}(0,n.setI18nInstance)(o.default)},774401:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(358322),n=i(e(604277));function i(t){return t&&t.__esModule?t:{default:t}}(0,o.setI18nInstance)(n.default)},576032:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});var o=e(605801),n=e(571163),i=e(520455),t=r(e(604277));function r(s){return s&&s.__esModule?s:{default:s}}(0,o.setI18nInstance)(t.default),(0,n.setI18nInstance)(t.default),(0,i.setI18nInstance)(t.default)},314840:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),e(576032);var o=i(e(604277)),n=e(206158);function i(t){return t&&t.__esModule?t:{default:t}}(0,n.setI18nInstance)(o.default)},568760:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(k,J){for(var ae in J)Object.defineProperty(k,ae,{enumerable:!0,get:J[ae]})}o(c,{ACCORDION_ITEMS_CONTAINER_SELECTOR:function(){return t},ACCORDION_ITEM_CLICK_TARGET_CLASSNAME:function(){return r},ACCORDION_ITEM_CLICK_TARGET_SELECTOR:function(){return s},ACCORDION_ITEM_CLASSNAME:function(){return d},ACCORDION_ITEM_SELECTOR:function(){return v},ACCORDION_DROPDOWN_CLASSNAME:function(){return u},ACCORDION_DROPDOWN_SELECTOR:function(){return a},DROPDOWN_OPEN_CLASSNAME:function(){return l},DROPDOWN_PRE_OPEN_CLASSNAME:function(){return p},IS_EXPANDED_FIRST_ITEM_ATTRIBUTE:function(){return h},initializeAccordionBlock:function(){return g},openAccordionItem:function(){return m},closeAccordionItem:function(){return S},closeAllAccordionItems:function(){return _},toggleRelevantAccordionItem:function(){return C},syncIsFirstItemExpanded:function(){return O},getInitialAccordionBlockHeight:function(){return A}});var n=e(536824),i=250,t=".accordion-items-container",r="accordion-item__click-target",s=".".concat(r),d="accordion-item",v=".".concat(d),u="accordion-item__dropdown",a=".".concat(u),l="accordion-item__dropdown--open",p="accordion-item__dropdown--pre-open",h="data-is-expanded-first-item";function g(k){var J=k.querySelector(t);if(J===null)throw new Error("Could not find accordion block items container");var ae=Array.from(J.querySelectorAll(v)),ne=J.getAttribute("data-should-allow-multiple-open-items")==="true",X=!0;ae.forEach(function(re,Z){var te=re.querySelector(s);if(!te)throw new Error("Could not find accordion item click target");var oe=re.querySelector(a);if(!oe)throw new Error("Could not find accordion item dropdown element");te.addEventListener("click",function(){N({item:re,dropdownElement:oe,accordionItems:ae,allowMultipleOpenItems:ne,shouldAnimate:X})}),H(k,te,oe,Z)}),O(J)}function m(k,J){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=k.querySelectorAll(v)[J];if(ne){var X=ne.querySelector(a);if(!X)throw new Error("Could not find dropdownElement within accordion item");B(ne,X,ae)}}function S(k,J){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=k.querySelectorAll(v)[J];if(ne){var X=ne.querySelector(a);if(!X)throw new Error("Could not find dropdownElement within accordion item");K(ne,X,ae)}}function _(k,J){var ae=Array.from(k.querySelectorAll(v));ie(ae,J)}function C(k,J){var ae=T(J),ne=!1,X=ae!==-1&&typeof ae!="undefined";X?m(k,ae,ne):_(k,ne)}function O(k,J){if(!x(J)){var ae=k.getAttribute(h)==="true",ne=0;ae?m(k,ne):S(k,ne)}}function A(k){var J=k.querySelector(t);if(!J)return k.clientHeight;var ae=Array.from(J.querySelectorAll(v)),ne=ae.filter(V);ie(ae),O(J);var X=J.clientHeight;return ne.forEach(function(re){var Z=re.querySelector(a);if(Z===null)throw new Error("Could not find clickTarget node inside accordion item");B(re,Z)}),X}function x(k){if(!k)return!1;var J=["accordionItems/","accordionItemDescription"],ae=new RegExp(J.join("|")).test(k);return ae}function T(k){if(!k)return-1;if(R(k))return 0;var J=k.split("/")[1],ae=parseInt(J,10);return Number.isNaN(ae)?-1:ae}function R(k){return k==="accordionItemDescription"}function N(k){var J=k.item,ae=k.dropdownElement,ne=k.accordionItems,X=k.allowMultipleOpenItems,re=k.shouldAnimate,Z=J.hasAttribute("data-is-item-animating");Z||(V(J)?K(J,ae,re):(X||ie(ne,re),B(J,ae,re)))}function B(k,J){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=k.querySelector(s);if(!ne)throw new Error("Could not find clickTarget node inside accordion item");if(k.setAttribute("data-is-open","true"),ne.setAttribute("aria-expanded","true"),!ae){J.classList.add(l);return}z(k,J)}function z(k,J){k.setAttribute("data-is-item-animating","true"),J.classList.add(p);var ae=J.getBoundingClientRect().height;J.classList.remove(p),J.style.height="0px",J.classList.add(l),J.style.transition="height "+i+"ms "+n.easing.product.default,W(function(){J.style.height=ae+"px",window.setTimeout(function(){J.style.removeProperty("height"),J.style.removeProperty("transition"),k.removeAttribute("data-is-item-animating")},i)})}function K(k,J){var ae=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,ne=k.querySelector(s);if(!ne)throw new Error("Could not find clickTarget node inside accordion item");if(k.removeAttribute("data-is-open"),ne.setAttribute("aria-expanded","false"),!ae){J.classList.remove(l);return}$(k,J)}function $(k,J){k.setAttribute("data-is-item-animating","true");var ae=J.getBoundingClientRect().height;J.style.height=ae+"px",J.style.transition="height "+i+"ms "+n.easing.product.default,W(function(){J.style.height="0px",window.setTimeout(function(){J.classList.remove(l),J.style.removeProperty("height"),J.style.removeProperty("transition"),k.removeAttribute("data-is-item-animating")},i)})}function ie(k){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ae=k.filter(V);ae.forEach(function(ne){var X=ne.querySelector(a);if(!X)throw new Error("Could not find dropdown element inside accordion item");K(ne,X,J)})}function V(k){return k.hasAttribute("data-is-open")}function W(k){window.requestAnimationFrame(function(){window.requestAnimationFrame(k)})}function H(k,J,ae,ne){var X=k.id;if(X){var re="button-"+X+"-"+ne,Z="dropdown-"+X+"-"+ne;J.setAttribute("id",re),J.setAttribute("aria-controls",Z),ae.setAttribute("id",Z),ae.setAttribute("aria-labelledby",re)}}},42659:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(g,m){for(var S in m)Object.defineProperty(g,S,{enumerable:!0,get:m[S]})}o(c,{animationsQueries:function(){return a},polyfillAndObserve:function(){return p},initializeAnimations:function(){return h}});var n=e(632850),i=s(e(531925)),t=e(90323),r=e(124284);function s(g){return g&&g.__esModule?g:{default:g}}var d=(0,r.createLoggers)("BlockAnimationsInitializer","#fc0"),v=d.err,u,a=['[class*="block-animation-"]:not(.block-animation-none):not(.animation-loaded)','.combination-animation-custom[class*="individual-animation-"]:not(.individual-animation-none):not(.animation-loaded)','.combination-animation-custom[class*="individual-text-animation-"]:not(.individual-text-animation-none):not(.animation-loaded)','[class*="combination-animation-"]:not(.combination-animation-none):not([class*="combination-animation-custom"]):not(.animation-loaded)'].join(","),l=function(m,S){m.forEach(function(_){if(!document.body.contains(_.target)){S.unobserve(_.target);return}var C=_.target.querySelector("img.loading");if(C){if(C.dataset.queuedBlockAnimation)return;C.dataset.queuedBlockAnimation="true";var O=function(x){x.currentTarget.removeEventListener("load",O),l([_],S)};C.addEventListener("load",O);return}if((0,t.isRatioIntersecting)(_)){if(_.target.classList.add("animation-loaded"),!S||!S.unobserve){v("missing IntersectionObserver");return}S.unobserve(_.target)}})},p=function(g){if(!g||!g.document){v("Cannot init animations without a window context");return}(0,i.default)().then(function(){u||(u=new IntersectionObserver(l,{root:null,threshold:[0,.1,.25,.5,1]}));var m=g.document.body.querySelectorAll(a);m.length>0&&m.forEach(function(_){_.classList.remove("animation-loaded"),u.observe(_)})}).catch(function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};v(m.message)})},h=function(g){if(!g||!g.document){v("Cannot init animations without a window context");return}(0,n.isEditMode)(g)||(p(g),g.addEventListener("load",function(){return p(g)}),g.Y&&g.Y.on("template:dynamicPageReady",function(){return p(g)}),g.addEventListener("beforeunload",function(){u&&u.disconnect()}))}},632850:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isEditMode",{enumerable:!0,get:function(){return n}});var o=e(419467),n=function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,t="sqs-edit-mode",r=(0,o.get)(i,"document.body");return r&&r.classList.contains(t)}},221519:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o($,ie){for(var V in ie)Object.defineProperty($,V,{enumerable:!0,get:ie[V]})}o(c,{isHex:function(){return l},isHsl:function(){return p},colorDifference:function(){return g},generatePaletteColorReference:function(){return m},generateCustomColorReference:function(){return S},resolveColorReference:function(){return _},isThemeColor:function(){return C},isPaletteColor:function(){return O},isCustomColor:function(){return A},getFormattedColorReference:function(){return N},convertHslaToDecimal:function(){return B},convertHslaToPercent:function(){return z},getColorValue:function(){return K}});var n=d(e(407402)),i=e(596090),t=e(363968),r=e(767750);function s($,ie,V){return ie in $?Object.defineProperty($,ie,{value:V,enumerable:!0,configurable:!0,writable:!0}):$[ie]=V,$}function d($){return $&&$.__esModule?$:{default:$}}function v($){for(var ie=1;ie1&&arguments[1]!==void 0?arguments[1]:1;return{type:r.ColorTypes.SITE_PALETTE_COLOR,sitePaletteColor:{id:$,alpha:ie}}},S=function($){return{type:r.ColorTypes.CUSTOM_COLOR,customColor:(0,i.stringifyPaletteColorValue)($)}};function _($,ie){switch($==null?void 0:$.type){case r.ColorTypes.SITE_PALETTE_COLOR:{var V=$.sitePaletteColor,W=V.id,H=V.alpha,k=(0,i.getPaletteColorById)({colors:ie},W);return k?(0,i.stringifyPaletteColorValue)({userFormat:t.ColorModel.hsl,values:a(v({},k.value.values),{alpha:H!=null?H:1})}):null}case r.ColorTypes.CUSTOM_COLOR:var J;return(J=$.customColor)!==null&&J!==void 0?J:null}}var C=function($){return $&&$.type===r.ColorTypes.THEME_COLOR},O=function($){return $&&$.type===r.ColorTypes.SITE_PALETTE_COLOR},A=function($){return $&&$.type===r.ColorTypes.CUSTOM_COLOR},x=function(){return{type:r.ColorTypes.THEME_COLOR}},T=function($){var ie=$==null?void 0:$.sitePaletteColor;return{type:r.ColorTypes.SITE_PALETTE_COLOR,sitePaletteColor:{id:ie.colorName,alpha:ie.alphaModifier}}},R=function($){var ie=z($.customColor.hslaValue),V={userFormat:$.customColor.userFormat,values:ie},W=(0,i.stringifyPaletteColorValue)(V);return{type:r.ColorTypes.CUSTOM_COLOR,customColor:W}},N=function($){if(C($))return x($);if(O($))return T($);if(A($))return R($)};function B($){var ie=$.hue,V=$.saturation,W=$.lightness,H=V>=0&&V<=1?V:Math.round(V)/100,k=W>=0&&W<=1?W:Math.round(W)/100;return a(v({},$),{hue:Math.round(ie*100)/100,saturation:H,lightness:k})}function z($){var ie=$.saturation,V=$.lightness,W=ie>=0&&ie<=1?ie*100:ie,H=V>=0&&V<=1?V*100:V;return a(v({},$),{saturation:W,lightness:H})}function K($,ie){var V,W;return(($==null?void 0:$.type)===r.ColorTypes.SITE_PALETTE_COLOR&&(!((V=$.sitePaletteColor)===null||V===void 0)&&V.colorName)||($==null?void 0:$.type)===r.ColorTypes.CUSTOM_COLOR&&(!((W=$.customColor)===null||W===void 0)&&W.hslaValue))&&($=N($)),_($,ie)}},392448:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"initializeContainerStyles",{enumerable:!0,get:function(){return t}});var o=i(e(264542)),n=e(961226);function i(r){return r&&r.__esModule?r:{default:r}}function t(r){var s=JSON.parse(r.getAttribute("data-blur")),d=JSON.parse(r.getAttribute("data-border-radii")),v=r.getAttribute("data-blend-mode");(0,n.applyBlendMode)(r,o.default[v]),(0,n.applyFilters)(r,null,s,d)}},207600:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(B,z){for(var K in z)Object.defineProperty(B,K,{enumerable:!0,get:z[K]})}o(c,{applySettings:function(){return x},renderDom:function(){return A},mount:function(){return N},unmount:function(){return R}});var n=v(e(994336)),i=e(985878),t=v(e(687048)),r=a(e(872926)),s=e(553181),d=e(361841);function v(B){return B&&B.__esModule?B:{default:B}}function u(B){if(typeof WeakMap!="function")return null;var z=new WeakMap,K=new WeakMap;return(u=function($){return $?K:z})(B)}function a(B,z){if(!z&&B&&B.__esModule)return B;if(B===null||typeof B!="object"&&typeof B!="function")return{default:B};var K=u(z);if(K&&K.has(B))return K.get(B);var $={},ie=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var V in B)if(V!=="default"&&Object.prototype.hasOwnProperty.call(B,V)){var W=ie?Object.getOwnPropertyDescriptor(B,V):null;W&&(W.get||W.set)?Object.defineProperty($,V,W):$[V]=B[V]}return $.default=B,K&&K.set(B,$),$}var l=2,p="sqs-cookie-banner-v".concat(l),h,g,m,S,_,C,O=function(B){if(document.body.classList.contains("sqs-cookie-banner-v2-forced"))return!1;var z=B.target.closest(".".concat(p,"-cta"));if(z){var K=new Date,$=z.classList.contains("".concat(p,"-accept")),ie=Date.now()+1e3*60*60*24*30;K.setTime(ie),n.default.set("ss_cookieAllowed",$,{path:"/",expires:K.toUTCString()}),g.removeEventListener("click",O),i.gdprCookieBannerFlagBouncer.isGoogleConsentV2Enabled()&&((0,s.setGoogleAnalyticsConsentViaCookieBanner)($),(0,t.default)(window.onCookieBannerInteraction)&&window.onCookieBannerInteraction()),g.remove()}},A=function(B){var z=(0,d.getWithDefaults)(B),K=z.cookieBannerAcceptType,$=z.cookieBannerCtaVariant;g=document.createElement("div"),g.className=p,m=document.createElement("div"),m.className="".concat(p,"-text"),S=document.createElement("button"),S.classList.add("".concat(p,"-accept"),"".concat(p,"-cta"));var ie=document.createElement("div");ie.className="".concat(p,"-acceptWrapper"),ie.appendChild(S),g.appendChild(m);var V=K===r.ACCEPT_TYPES.OPT_IN_AND_OUT&&$!==r.CTA_VARIANTS.ICON;if(V){_=document.createElement("button"),_.classList.add("".concat(p,"-deny"),"".concat(p,"-cta"));var W=document.createElement("div");W.className="".concat(p,"-denyWrapper"),W.appendChild(_),C=document.createElement("div"),C.className="".concat(p,"-cta-container"),C.appendChild(ie),C.appendChild(W),g.appendChild(C)}else g.appendChild(ie);return g.addEventListener("click",O),g},x=function(B){var z=B.isCookieBannerEnabled,K=(0,d.getWithDefaults)(B),$=K.cookieBannerCtaText,ie=K.cookieBannerCtaVariant,V=K.cookieBannerPosition,W=K.cookieBannerText,H=K.cookieBannerTheme,k=K.cookieBannerVariant,J=K.cookieBannerAcceptType,ae=K.cookieBannerOptOutCtaText;if(h=V===r.BAR_POSITIONS.TOP&&document.body.querySelector(".sqs-announcement-bar-dropzone")||document.body,g.className=p,g.classList.add(k,H,V,ie,J),m.innerHTML=W.indexOf("

")===0?W:"

".concat(W,"

"),J===r.ACCEPT_TYPES.OPT_IN_AND_OUT)switch(ie){case r.CTA_VARIANTS.BUTTON:S.innerText=$,_.innerText=ae;break;case r.CTA_VARIANTS.TEXT:S.innerText=$,_.innerText=ae;break;case r.CTA_VARIANTS.ICON:S.innerText=" ";break}else switch(ie){case r.CTA_VARIANTS.BUTTON:S.innerText=$;break;case r.CTA_VARIANTS.TEXT:S.innerText=$;break;case r.CTA_VARIANTS.ICON:S.innerText=" ";break}return V===r.BAR_POSITIONS.TOP?document.body.classList.add("".concat(p,"-top")):document.body.classList.remove("".concat(p,"-top")),z?(h.classList.add("".concat(p,"-enabled")),h.appendChild(g)):h.classList.remove("".concat(p,"-enabled")),g},T=function(){var B={expires:new Date(0).toUTCString()};["SS_MATTR","SS_MID","SS_lastvisit","user_segment","ss_cid","ss_cpvisit","ss_cvisit","ss_cvr","ss_cvt"].forEach(function(z){return n.default.set(z,"",B)})},R=function(){g&&(g.removeEventListener("click",O),g.remove()),g=null,h&&h.classList.remove("".concat(p,"-enabled"))},N=function(B){if(!B.force){var z=n.default.get("ss_cookieAllowed"),K=z==="true";if(!K&&B.isRestrictiveCookiePolicyEnabled&&T(),typeof z!="undefined"&&z!==null)return!1}return g||A(B),x(B),!0}},541938:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(d,v){for(var u in v)Object.defineProperty(d,u,{enumerable:!0,get:v[u]})}o(c,{EMAIL_PATTERN:function(){return t},VALID_EMAIL_REGEX:function(){return r},isValidEmail:function(){return s}});var n=i(e(548068));function i(d){return d&&d.__esModule?d:{default:d}}var t="^([a-zA-Z0-9_.!#$%&'*+-/=?^_`{|}~])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$",r=new RegExp(t),s=function(d){return!(0,n.default)(d)||d.length<3||d.length>256?!1:r.test(d)}},789844:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(A,x){for(var T in x)Object.defineProperty(A,T,{enumerable:!0,get:x[T]})}o(c,{ACTION_TYPES:function(){return v},getKeyAndLoadRecaptchaEnterprise:function(){return p},showRecaptchaBadge:function(){return g},hideRecaptchaBadge:function(){return m},addBadgeEventListenersToElement:function(){return S},addBadgeEventListenersToFieldElements:function(){return _},getReCaptchaToken:function(){return C},getCaptchaContainer:function(){return O}});var n=e(124284);function i(A,x,T,R,N,B,z){try{var K=A[B](z),$=K.value}catch(ie){T(ie);return}K.done?x($):Promise.resolve($).then(R,N)}function t(A){return function(){var x=this,T=arguments;return new Promise(function(R,N){var B=A.apply(x,T);function z($){i(B,R,N,z,K,"next",$)}function K($){i(B,R,N,z,K,"throw",$)}z(void 0)})}}var r=function(A,x){var T,R,N,B,z={label:0,sent:function(){if(N[0]&1)throw N[1];return N[1]},trys:[],ops:[]};return B={next:K(0),throw:K(1),return:K(2)},typeof Symbol=="function"&&(B[Symbol.iterator]=function(){return this}),B;function K(ie){return function(V){return $([ie,V])}}function $(ie){if(T)throw new TypeError("Generator is already executing.");for(;z;)try{if(T=1,R&&(N=ie[0]&2?R.return:ie[0]?R.throw||((N=R.return)&&N.call(R),0):R.next)&&!(N=N.call(R,ie[1])).done)return N;switch(R=0,N&&(ie=[ie[0]&2,N.value]),ie[0]){case 0:case 1:N=ie;break;case 4:return z.label++,{value:ie[1],done:!1};case 5:z.label++,R=ie[1],ie=[0];continue;case 7:ie=z.ops.pop(),z.trys.pop();continue;default:if(N=z.trys,!(N=N.length>0&&N[N.length-1])&&(ie[0]===6||ie[0]===2)){z=0;continue}if(ie[0]===3&&(!N||ie[1]>N[0]&&ie[1]V.length)&&(W=V.length);for(var H=0,k=new Array(W);H for formEl.");this.submitEl=this.formEl.querySelector('[type="submit"]')||document.createElement("div"),this.submitText=this.submitEl.value}var W=V.prototype;return W.clearErrors=function(){K(this.formEl.querySelectorAll(".field-error")).forEach(function(k){return k.remove()}),K(this.formEl.querySelectorAll(".form-item.error")).forEach(function(k){return k.classList.remove("error")})},W.isLocked=function(){this.formEl.classList.contains("submitting")},W.lock=function(){this.submitEl.classList.add("submitting"),this.submitEl.value=V.strings.SUBMIT_TEXT_IN_PROGRESS},W.unlock=function(){this.submitEl.classList.remove("submitting"),this.submitEl.value=this.submitText},W.validate=function(){return K(this.formEl.querySelectorAll(".form-item")).reduce(function(k,J){var ae=V.validateField(J),ne=ae.isValid,X=ae.message;return ne||(k.isValid=!1,k.errors.push({fieldId:J.id,message:X})),k},{isValid:!0,errors:[]})},W.withCaptcha=function(k){var J=v.GoogleReCaptchaAPI.getCaptchaContainer(this.win,this.formEl);if(!J)return k;var ae=v.GoogleReCaptchaAPI.validate(this.win,J);return ae?B(R({},k),{captchaKey:ae}):null},W.submit=function(k){var J=this;if(this.isLocked())return!1;if(this.lock(),!k.disableValidation){this.clearErrors();var ae=this.validate(),ne=ae.isValid,X=ae.errors;if(!ne)return this.fail(V.strings.FIELD_VALIDATION_ERROR),this.renderFieldClientErrors(X),!1}var re;try{re=this.withCaptcha(k)}catch(Z){return this.fail(V.strings.CAPTCHA_INCOMPLETE_ERROR),!1}return V.getFormKey().catch(function(Z){J.fail(V.strings.FORM_KEY_ERROR)}).then(function(Z){re.key=Z;try{var te=J.getSanitizedFieldValues();re.form=JSON.stringify(te)}catch(oe){throw new Error(V.strings.FIELD_SANITIZATION_ERROR)}try{J.save(re)}catch(oe){throw new Error(V.strings.SUBMIT_ERROR)}}).catch(function(Z){J.fail(Z.message)}),!1},W.getSanitizedFieldValues=function(){return K(this.formEl.querySelectorAll(".form-item")).reduce(function(k,J){return k[J.id]=V.getSanitizedFieldValue(J),k},{})},W.save=function(k){var J=R({},k);return(0,l.addIntraPageEventFields)(J),a.default.post(V.endpoints.SAVE,J,V.NETWORK_OPTIONS).then(this.success).catch(this.fail)},W.isNewsletterForm=function(){return!!(this.formEl.classList.contains("newsletter-form")||this.formEl.querySelector(s.FacebookPixelConstants.NEWSLETTER_OVERLAY_NODE_ID))},W.renderFieldError=function(k,J){var ae=this.formEl.querySelector("#".concat(k));if(ae){ae.classList.add("error");var ne=ae.querySelector(".title");J&&ne&&ne.parentNode&&ne.parentNode.insertBefore(this.createErrorNode(J),ne)}},W.renderFieldClientErrors=function(k){var J=this;k.forEach(function(ae){var ne=ae.fieldId,X=ae.message;return J.renderFieldError(ne,X)})},W.renderFieldServerErrors=function(k){var J=this;Object.entries(k).forEach(function(ae){var ne=z(ae,2),X=ne[0],re=ne[1];J.renderFieldError(X,re)})},W.renderErrorMessage=function(k){this.formEl.insertBefore(this.createErrorNode(k),this.isNewsletterForm()?this.formEl.querySelector(".newsletter-form-body"):this.formEl.firstChild)},W.renderSurroundingErrors=function(){var k=this.formEl;k.insertBefore(this.createErrorNode(V.strings.ERROR_ABOVE),k.firstChild),this.formEl.appendChild(this.createErrorNode(V.strings.ERROR_BELOW))},W.renderErrors=function(k){if(V.isFieldErrors(k))this.renderFieldServerErrors(k.data.errors);else{var J=V.getErrorMessage(k)||V.strings.UNKNOWN_ERROR;this.renderErrorMessage(J)}},W.showSubmissionText=function(){var k=this.formEl.querySelector(".form-submission-text");k&&(k.classList.remove("hidden"),K(k.querySelectorAll("*")).forEach(function(J){return J.classList.remove("hidden")}))},W.hideForm=function(){K(this.formEl.querySelectorAll("*")).forEach(function(k){return k.classList.add("hidden")})},W.redirectToSuccessRedirect=function(){var k=this.formEl.dataset.successRedirect;return k?(window.history.replaceState&&window.history.replaceState({},document.title,window.location.href),window.location.href=k,!0):!1},W.getPostSubmitHtml=function(){var k=this.formEl.querySelector(".form-submission-html");return k?k.dataset.submissionHtml:""},W.appendAndRunPostSubmitHtml=function(){var k=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",J=this,ae=this.formEl.querySelector(".form-submission-html");ae.innerHTML=this.getPostSubmitHtml(),ae.classList.remove("hidden"),K(ae.querySelectorAll("script")).forEach(function(ne){try{if(ne.src){var X=document.createElement("script");K(ne.attributes).forEach(function(re){X[re.name]=re.value}),ne.parentNode.insertBefore(X,ne)}else J.win.eval(ne.innerText)}catch(re){}})},W.renderSuccess=function(){this.hideForm(),this.showSubmissionText(),(0,r.scrollIntoView)(this.formEl,!0),this.appendAndRunPostSubmitHtml(this.getPostSubmitHtml())},V}();ie.initialQuery=t.default.parse(window.location.search.replace(/^\?/,"")),ie.endpoints={SAVE:"/api/form/SaveFormSubmission",FORM_KEY:"/api/form/FormSubmissionKey"},ie.NETWORK_OPTIONS={withCredentials:!0},ie.strings={SUBMIT_TEXT_IN_PROGRESS:(0,n.t)("Submitting\u2026"),SUBMIT_ERROR:(0,n.t)("Error processing form submission. Please reload and try again."),UNKNOWN_ERROR:(0,n.t)("Unknown error, please try again later."),CAPTCHA_INCOMPLETE_ERROR:(0,n.t)("Complete CAPTCHA before submitting."),FORM_KEY_ERROR:(0,n.t)("Could not get a form submission key, please try again later."),FIELD_SANITIZATION_ERROR:(0,n.t)("Could not parse the form fields, please check your entries."),FIELD_VALIDATION_ERROR:(0,n.t)("One or more fields is invalid, please check your entries."),ERROR_ABOVE:(0,n.t)("Your form has encountered a problem. Please scroll down to review."),ERROR_BELOW:(0,n.t)("Your form has encountered a problem. Please scroll up to review."),FAIL_MAX_LENGTH:(0,n.t)("You have exceeded the character limit."),FAIL_EMAIL:(0,n.t)("Email is not valid. Email addresses should follow the format user@domain.com.")},ie.errorCodes={401:(0,n.t)("Unable to submit form. Please try again later."),404:(0,n.t)("This form has not been configured yet."),429:(0,n.t)("Unable to submit form. Submission rate limit exceeded. Please try again later."),500:(0,n.t)("Unable to send form. Please try again later.")},ie.getFormKey=function(){return a.default.post(ie.endpoints.FORM_KEY,{},ie.NETWORK_OPTIONS).then(function(V){var W=V.data.key;return W})},ie.isFieldErrors=function(V){var W=V.response;return(0,i.isObject)(W)&&W&&W.status===400&&W.data&&W.data.errors&&Object.keys(W.data.errors).length>0},ie.getErrorMessage=function(){var V=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return(0,i.isString)(V)?V:(0,i.isObject)(V)?V.status&&ie.errorCodes[V.status]?ie.errorCodes[V.status]:V.data&&V.data.error?V.data.error:"":""},ie.sanitizeValue=function(V){var W=V.querySelector(".field-element");return W?W.value:null},ie.sanitizeChildValuesToArray=function(V){return V?K(V.querySelectorAll(".field-element")).map(function(W){var H=W.value;return H}):[]},ie.sanitizePhone=function(V){var W=ie.sanitizeChildValuesToArray(V);return W.length===3?[""].concat(K(W)):W},ie.sanitizeCheckbox=function(V){return K(V.querySelectorAll("input")).reduce(function(W,H){return H.checked&&W.push(H.value),W},[])},ie.sanitizeRadio=function(V){return ie.sanitizeCheckbox(V)[0]},ie.sanitizeSelect=function(V){var W=V.querySelector("select");return W?W.value:null},ie.sanitizeLike=function(V){return K(V.querySelectorAll(".item")).reduce(function(W,H){var k=ie.sanitizeCheckbox(H),J=H.dataset.question;return J&&k.length>0&&(W[J]=k),W},{})},ie.sanitizeHidden=function(V){var W=ie.initialQuery||t.default.parse(window.location.search.replace(/^\?/,""));return(V.name&&W[V.name]?W[V.name]:V.value).toString()},ie.sanitizersHash={address:ie.sanitizeChildValuesToArray,checkbox:ie.sanitizeCheckbox,date:ie.sanitizeChildValuesToArray,hidden:ie.sanitizeHidden,likert:ie.sanitizeLike,name:ie.sanitizeChildValuesToArray,phone:ie.sanitizePhone,radio:ie.sanitizeRadio,select:ie.sanitizeSelect,time:ie.sanitizeChildValuesToArray,default:ie.sanitizeValue},ie.getSanitizedFieldValue=function(V){if(!V.classList.contains("section")){var W=K(V.classList).find(function(k){return ie.sanitizersHash[k]})||"default",H=ie.sanitizersHash[W];return H(V)}},ie.validateField=function(V){if(V.classList.contains("section"))return{isValid:!0};var W=V.classList.contains("required");if(V.dataset.maxLength){var H=V.querySelector("textarea"),k=H.value.trim(),J=!W&&k.length===0,ae=parseInt(V.dataset.maxLength,10),ne=!!(ae&&!isNaN(ae)),X=J||!ne||H.value.length<=ae;return{isValid:X,message:ie.strings.FAIL_MAX_LENGTH}}if(V.classList.contains("email")){var re=V.querySelector("input"),Z=re.value.trim(),te=!W&&Z.length===0,oe=te||(0,u.isValidEmail)(Z);return{isValid:oe,message:ie.strings.FAIL_EMAIL}}return{isValid:!0}}},93026:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(v,u){for(var a in u)Object.defineProperty(v,a,{enumerable:!0,get:u[a]})}o(c,{getFrameElement:function(){return t},getFrameWindow:function(){return r},getFrameDocument:function(){return s},isWindowInFrame:function(){return d}});var n=e(940265),i="sqs-site-frame";function t(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return v.getElementById(i)}function r(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,u=t(v),a=u==null?void 0:u.contentWindow;return a!=null?a:null}var s=function(){try{var v,u;return(u=(v=r())===null||v===void 0?void 0:v.document)!==null&&u!==void 0?u:null}catch(m){var a=(0,n.getCurrentScope)(),l=t();a.setTag("tags_work","yes"),a.setTag("frame_is_present",!!l),a.setTag("frame_has_src_doc",!!(l!=null&&l.getAttribute("srcdoc"))),a.setTag("frame_has_src",!!(l!=null&&l.getAttribute("src")));var p,h=Array.from((p=l==null?void 0:l.attributes)!==null&&p!==void 0?p:[]).reduce(function(S,_){return S[String(_)]=l==null?void 0:l.getAttribute(String(_)),S},{});a.setExtra("frameAttrs",h!=null?h:"unavailable");var g=new Error("getFrameDocument threw an Error accessing the frame");throw g.cause=m,g}},d=function(v){var u;return(v==null||(u=v.frameElement)===null||u===void 0?void 0:u.id)===i}},553181:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"setGoogleAnalyticsConsentViaCookieBanner",{enumerable:!0,get:function(){return e}});var e=function(o){window.gtag&&window.googleAnalyticsRequiresConsentUpdates&&(o?window.gtag("consent","update",{analytics_storage:"granted"}):window.gtag("consent","update",{analytics_storage:"denied"}))}},779838:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(S,_){for(var C in _)Object.defineProperty(S,C,{enumerable:!0,get:_[C]})}o(c,{getStyleById:function(){return u},Styles:function(){return a},mapModelToViewConfig:function(){return l},updateUiOptions:function(){return g},destroyUpdater:function(){return m}});var n=r(e(94848)),i=e(124284);function t(S,_,C){return _ in S?Object.defineProperty(S,_,{value:C,enumerable:!0,configurable:!0,writable:!0}):S[_]=C,S}function r(S){return S&&S.__esModule?S:{default:S}}function s(S){for(var _=1;_1&&arguments[1]!==void 0?arguments[1]:!1;if(S){var C=h.get(S)||{},O=C.cb,A=C.timeout;A&&window.clearTimeout(A),!_&&O&&O(),h.delete(S)}}},84531:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return l}});var o=e(604277),n=s(e(624897)),i=s(e(454725)),t=e(13416),r=s(e(844815));function s(p){return p&&p.__esModule?p:{default:p}}var d=function(p){return!!p.getAttribute("data-loader")},v=function(p,h){var g=p.one("img[data-image]");if(g){var m=g.loader,S={title:(0,o.t)("Image")};if(m)S.content=m.getBareElement();else if(d(g))S.content=g;else return;var _=p.getAttribute("data-description");_&&(S.meta=_);var C=p.getAttribute("data-lightbox-theme");C&&(S.theme=C),p.plug(h.Squarespace.Lightbox2Plug,{lightboxOptions:S})}},u=function(p,h){d(p)||p.setStyles({position:null,top:null,left:null,width:null,height:null});var g=!!p.ancestor(".sized,.content-fill");if(g){var m=h.on("resize",function(){p.getDOMNode()&&p.inDoc()?p.fire("refresh"):(m.detach(),m=null)},h.config.win),S=p.ancestor(".image-block-wrapper"),_=p.ancestor(".sqs-layout");S&&_&&!_.hasClass("editing")&&p.setStyles({maxWidth:"none"})}var C=!!p.ancestor(".has-aspect-ratio");d(p)||p.plug(h.Squarespace.Loader2,{mode:C||g?"fill":"none",fixedRatio:C})},a=function(p,h){u(p,h);var g=p.ancestor(".sqs-block");if(g){var m=g.one(".lightbox");if(m&&v(m,h),!!g.hasClass("sqs-block-image")){var S=p.getDOMNode();(0,t.isFluidImage)(S)&&((0,t.initializeFluidImageInVisitorView)(S),r.default.createImageEffect(S));var _=!1,C=g.one(".image-block-outer-wrapper");if(C){var O=C.get("offsetWidth")<415;C.toggleClass("sqs-narrow-width",O),O&&(_=!0)}var A=g.one(".sqs-dynamic-text-container");if(A&&(0,n.default)(A.getDOMNode()),g.addClass("sqs-text-ready"),!d(p)&&_){var x=i.default.isSevenOne()&&h.config.win.ImageLoader.loadLazy,T=(x?h.config.win.ImageLoader.loadLazy:h.config.win.ImageLoader.load).bind(h.config.win.ImageLoader);T(p)}}}},l={initializeImageBlock:a,initializeBasicBlockWithImage:u}},90323:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"isRatioIntersecting",{enumerable:!0,get:function(){return i}});var o=e(124284),n=(0,o.createLogger)("IntersectionObserverUtils","#fc0"),i=function(t){var r=t.target,s=t.intersectionRatio,d=t.isIntersecting,v=t.boundingClientRect,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.5;if(!document.body.contains(r))return n("Memory leak detected: el is no longer in document.body.",r),!1;if(!window.innerHeight)return!1;if(s>=u)return!0;var a=v.height>window.innerHeight;return a&&d}},676575:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(i,t){for(var r in t)Object.defineProperty(i,r,{enumerable:!0,get:t[r]})}e(c,{getLocalStorageData:function(){return n},saveToLocalStorage:function(){return o}});function o(i,t){if(localStorage){typeof t!="string"&&(t=JSON.stringify(t));try{localStorage.setItem(i,t)}catch(r){console.warn(r)}}}function n(i){var t=null;if(localStorage)try{var r=localStorage.getItem(i);t=JSON.parse(r)}catch(s){t=null}return t}},940039:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return r}});var o=n(e(808847));function n(s){return s&&s.__esModule?s:{default:s}}var i="/api/auth/Logout",t={logout:function(){return o.default.post(i)}},r=t},804696:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"initializeMenuBlock",{enumerable:!0,get:function(){return v}});function e(u,a){(a==null||a>u.length)&&(a=u.length);for(var l=0,p=new Array(a);l3});if(!h){var g=a[0],m=g.parentNode;h=m.ownerDocument.createElement("div"),h.classList.add(l),m.insertBefore(h,g)}return a.forEach(function(S){return h.appendChild(S)}),h},s=function(a){var l=a.querySelector(".squarespace-opentable-new-age-wrapper");l.classList.add("loaded"),l.classList.remove("loading")},d=function(a){var l=a.querySelector(".squarespace-opentable-new-age-wrapper");if(!l)return Promise.reject("[opentablev2] No wrappers");if(l.classList.add("loading"),l.querySelector("iframe"))return s(a),Promise.resolve();var p=document.cookie.split(";"),h=function(T){var R=T&&T.split("=")[1].split(",");return R&&R.includes("eu")},g=function(T){var R=T.split("=")[1].split(","),N=R.includes("2")||R.includes("3");return N},m=function(){var T=p.find(function(R){if(R.includes("notice_behavior"))return R});return h(T)},S=function(){var T=p.find(function(N){if(N.includes("cmapi_cookie_privacy"))return N}),R=m(p);return!!(!R||R&&T&&g(T))};if(window.Static.SQUARESPACE_CONTEXT.website.cloneable&&S()){var _=l.dataset.script,C=document.createElement("script");C.setAttribute("src",_),l.appendChild(C)}var O=(0,i.default)({parent:l,selector:".ot-date-picker, .ot-time-picker, .ot-party-size-picker"}).then(function(T){return r(T,"squarespace-opentable-picker-wrapper")}),A=(0,i.default)({parent:l,selector:".ot-dtp-picker-button"}).then(function(T){return r(T,"squarespace-opentable-button-wrapper")}),x=(0,i.default)({parent:l,selector:".ot-title"}).then(function(T){T.forEach(function(R){var N=R.innerHTML,B=R.ownerDocument.createElement("h1");B.classList.add("squarespace-ot-title"),B.innerHTML=N,R.parentNode.insertBefore(B,R),R.parentNode.removeChild(R)})});return Promise.all([O,A,x]).then((0,i.default)({parent:l,selector:".ot-select-label"})).then(function(){return s(a)}).catch(function(T){console.error("[opentable] widget DOM never rendered")})},v=function(a,l){return new Promise(function(p,h){var g,m,S=l.querySelector("script"),_=l.clientWidth>850?"wide":"standard",C=((g=a.Y)===null||g===void 0?void 0:g.Squarespace.Utils)&&((m=a.Y)===null||m===void 0?void 0:m.Squarespace.Utils.isInDamaskFrame()),O=C?"false":"true",A=S.getAttribute("src"),x=A.replace(/&(iframe|overlay|theme)=\w+/g,""),T="".concat(x,"&iframe=").concat(O,"&overlay=false&theme=").concat(_);(0,o.default)(T,{before:function(R,N){var B=S.parentNode;try{a.OT&&a.OT.Events&&Object.keys(a.OT.Events.get()).forEach(function(z){return a.OT.Events.remove(z)}),a.oc&&a.oc.events.reset()}catch(z){console.error(z.message)}return B.innerHTML="",B.appendChild(N),!1},success:function(){try{C&&a.oc&&a.oc.renderUnloadedComponents(),d(l).then(function(){if(a.oc&&l.querySelector(".ot-hide")){var R=l.querySelector(".ot-dtp-picker");a.oc.$(R).OTdtp("init")}p()})}catch(R){console.error(R.message),h("[opentable] could not reloadScript and reinit block")}},error:function(){h("[opentable] loadjs failed")}})})},u=function(a){var l,p=a.ownerDocument.defaultView;!((l=p.Squarespace)===null||l===void 0)&&l.SQUARESPACE_INITIALIZED_ONCE?v(p,a).catch(function(h){console.error(h)}):d(a)}},67850:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(S,_){for(var C in _)Object.defineProperty(S,C,{enumerable:!0,get:_[C]})}e(c,{setupToggleHandlers:function(){return l},togglePaywallPagePricingOptionsButtons:function(){return h},alignPaywallPagePricingPlanTitles:function(){return g},toggleSeeMoreText:function(){return m}});function o(S,_){(_==null||_>S.length)&&(_=S.length);for(var C=0,O=new Array(_);C<_;C++)O[C]=S[C];return O}function n(S){if(Array.isArray(S))return o(S)}function i(S){if(typeof Symbol!="undefined"&&S[Symbol.iterator]!=null||S["@@iterator"]!=null)return Array.from(S)}function t(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function r(S){return n(S)||i(S)||s(S)||t()}function s(S,_){if(S){if(typeof S=="string")return o(S,_);var C=Object.prototype.toString.call(S).slice(8,-1);if(C==="Object"&&S.constructor&&(C=S.constructor.name),C==="Map"||C==="Set")return Array.from(C);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return o(S,_)}}var d=".pricing-plan-pricing-options .left-button",v=".pricing-plan-pricing-options .right-button",u="#sqs-paywall-page-root",a=function(S,_){var C="pricing-plan-pricing-option-selected";if(!S.classList.contains(C)){var O=_.querySelector(d),A=_.querySelector(v);if(O&&A){var x=O.getAttribute("aria-pressed")==="true";O.setAttribute("aria-pressed","".concat(!x)),A.setAttribute("aria-pressed","".concat(x)),O.classList.toggle(C),A.classList.toggle(C),_.querySelectorAll(".product-price > div").forEach(function(R){R.classList.toggle("hide")});var T=_.querySelectorAll(".join-pricing-plan-section");T.length>0?T.forEach(function(R){R.classList.toggle("hide")}):_.querySelectorAll(".join-button").forEach(function(R){R.classList.toggle("hide")})}}},l=function(S){S.delegate("click",function(){a(S.one(d).getDOMNode(),S.getDOMNode())},d),S.delegate("click",function(){a(S.one(v).getDOMNode(),S.getDOMNode())},v)},p=function(S,_){if(_){var C=_.querySelector(S);a(C,_)}},h=function(){var S=document.querySelectorAll("".concat(u," .pricing-plan-pricing-option-button.left-button")),_=document.querySelectorAll("".concat(u," .pricing-plan-pricing-option-button.right-button"));S.forEach(function(C){C.addEventListener("click",function(){p(d,C.closest(".product-block"))})}),_.forEach(function(C){C.addEventListener("click",function(){p(v,C.closest(".product-block"))})})},g=function(){var S=document.querySelector("".concat(u," .product-blocks-container")),_={attributes:!1,childList:!0,subtree:!1},C=function(){var A=document.querySelectorAll("".concat(u," .pricing-plan-title"));if((A==null?void 0:A.length)>0){var x,T=r(A).map(function(B){return B.style.height="",Math.floor(B.getBoundingClientRect().height)}),R=(x=Math).max.apply(x,r(T));A.forEach(function(B){B.style.height="".concat(R,"px")})}var N=document.querySelectorAll("".concat(u," .pricing-plan-pricing-toggle-wrapper"));(N==null?void 0:N.length)>0?S.classList.add("paywall-pricing-aligner"):S.classList.remove("paywall-pricing-aligner")};if(S){C();var O=new MutationObserver(C);O.observe(S,_)}},m=function(){var S=document.querySelectorAll("".concat(u," .pricing-plan-description"));S.forEach(function(O){O.scrollHeight>O.offsetHeight&&O.closest(".product-block").classList.add("see-more-node")});var _=document.querySelectorAll("".concat(u," .see-more-text"));_.forEach(function(O){O.addEventListener("click",function(){var A=O.closest(".product-block");A.classList.remove("see-more-node"),A.classList.add("see-less-node")})});var C=document.querySelectorAll("".concat(u," .see-less-text"));C.forEach(function(O){O.addEventListener("click",function(){var A=O.closest(".product-block");A.classList.remove("see-less-node"),A.classList.add("see-more-node")})})}},136186:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(h,g){for(var m in g)Object.defineProperty(h,m,{enumerable:!0,get:g[m]})}o(c,{initializeTextHighlight:function(){return l},updateTextHighlightColor:function(){return p}});var n=d(e(321414)),i=e(789204),t=e(221519),r=e(596090),s=e(767750);function d(h){return h&&h.__esModule?h:{default:h}}var v="sqs-background-enabled";function u(h){var g=h.closest(".sqs-block-html");if(g){var m=g.querySelector(".TextAttributes-props");if(m){var S=m!=null&&m.textContent?JSON.parse(m.textContent):{};return(0,n.default)(S,"id")}}}function a(h){var g,m=h.closest(".sqs-block-html"),S=m.classList.contains(v),_=u(h),C=h.getAttribute("data-text-attribute-id"),O=_==null||(g=_[C])===null||g===void 0?void 0:g.color;if((O==null?void 0:O.type)===s.ColorTypes.THEME_COLOR){var A="--text-highlight-color";return S&&(A="--text-highlight-color-on-background"),"var(".concat(A,")")}else{if((O==null?void 0:O.type)===s.ColorTypes.SITE_PALETTE_COLOR)return"hsla(var(--".concat(O.sitePaletteColor.colorName,"-hsl),").concat(O.sitePaletteColor.alphaModifier,")");if((O==null?void 0:O.type)===s.ColorTypes.CUSTOM_COLOR){var x;return!((x=O.customColor)===null||x===void 0)&&x.hslaValue&&(O=(0,t.getFormattedColorReference)(O)),(0,r.stringifyPaletteColorValue)(O.customColor)}}}function l(h){if(h){var g=u(h),m=a(h),S=h.getAttribute("data-text-attribute-id");if(g&&m)g[S].color=m;else return;var _=h.closest(".sqs-block-content"),C=new i.TextShape(h,g,_);return C}}function p(h){if(h.node){var g=a(h.node);h.onStateChange({color:g})}}},813929:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"initializeShapeBlock",{enumerable:!0,get:function(){return n}});var o=e(109948);function n(i){(0,o.initializeShapeBlockInVisitorView)(i)}},340735:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return o}});var e={create:function(i){var t=function(){};t.prototype=i;var r=new t;return r.ready&&r.ready(),r}},o=e},823568:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return i}});var o=n(e(808847));function n(t){return t&&t.__esModule?t:{default:t}}function i(t,r){t.getDOMNode&&(t=t.getDOMNode());var s;try{s=JSON.parse(t.getAttribute("data-block-json"))}catch(u){return console.warn("Issue with decoding the JSON: ",u),Promise.reject()}var d=JSON.stringify({type:r,id:t.getAttribute("id").replace("block-",""),value:s}),v="widgetJSON=".concat(d);return o.default.post("/api/widget/GetWidgetRendering",v).then(function(u){var a=t.querySelector(".sqs-block-content");a&&u.data&&u.data.html&&(a.innerHTML=u.data.html)})}},728951:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(m,S){for(var _ in S)Object.defineProperty(m,_,{enumerable:!0,get:S[_]})}o(c,{IS_SQUARESPACE_IOS_APP:function(){return a},IS_SQUARESPACE_ANDROID_APP:function(){return l},IS_SQUARESPACE_MOBILE_APP:function(){return p},IS_SQUARESPACE_MOBILE_APP_SEVEN_ONE:function(){return h},IS_SQUARESPACE_MOBILE_APP_SEVEN_ZERO:function(){return g}});var n=e(87994),i=t(e(312759));function t(m){return m&&m.__esModule?m:{default:m}}var r,s,d;function v(){return(n.context===null||n.context===void 0?void 0:n.context.templateVersion)===i.default.SEVEN_ONE}function u(){return(n.context===null||n.context===void 0?void 0:n.context.templateVersion)===i.default.SEVEN}var a=!!(!(window==null||(r=window.webkit)===null||r===void 0||(s=r.messageHandlers)===null||s===void 0)&&s.isSquarespaceEditor),l=!!(!(window==null||(d=window.SquarespaceApp)===null||d===void 0)&&d.isSquarespaceEditor),p=l||a,h=v()&&p,g=u()&&p},164641:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(a,l){for(var p in l)Object.defineProperty(a,p,{enumerable:!0,get:l[p]})}e(c,{StickyNode:function(){return v},default:function(){return u}});function o(a,l){(l==null||l>a.length)&&(l=a.length);for(var p=0,h=new Array(l);pthis.top+this.buffer:window.innerHeight-h.boundingClientRect.bottom>this.bottom+this.buffer},a}();function u(a,l){if(a)return new v(a,l)}},798078:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(i,t){for(var r in t)Object.defineProperty(i,r,{enumerable:!0,get:t[r]})}e(c,{splitUnits:function(){return o},collapseChar:function(){return n}});function o(i){if(i===void 0||typeof i!="string"||i==="")return{value:i,unit:""};var t=/\d+:\d+.*/.test(i);if(t)return{value:i,unit:""};var r=i.match(/^([-.\d]+(?:\.\d+)?)(.*)$/);return!r||r.length===0?{value:i,unit:""}:{value:parseFloat(r[1].trim()),unit:r[2].trim()}}function n(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"%",r=new RegExp("".concat(t,"+"),"g");return i.replace(r,t)}},359548:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(m,S){for(var _ in S)Object.defineProperty(m,_,{enumerable:!0,get:S[_]})}o(c,{calculateVideoPlaceholderAspectRatio:function(){return h},default:function(){return g}});var n=e(879772),i=d(e(808847)),t=d(e(51216));function r(m,S){(S==null||S>m.length)&&(S=m.length);for(var _=0,C=new Array(S);_Ae.length)&&(He=Ae.length);for(var ot=0,Ut=new Array(He);ot0&&arguments[0]!==void 0?arguments[0]:"";return Ae.replace(new RegExp("^(/?)(.*[^/])?(/+)?$"),"$1$2")},K=function(Ae){var He;if(Ae=(He=Ae==null?void 0:Ae.trim())!==null&&He!==void 0?He:"",Ae==="")return t.default.EMPTY_STRING;var ot=Ae.match(x);if(ot&&ot.length>2){var Ut=ot[1].toLowerCase(),Zt=ot[2].startsWith("//"),jt=g.includes(Ut);if(!jt)return t.default.MISC_PROTOCOL;if(!Zt)return t.default.MALFORMED_PROTOCOL}return Ae.charAt(0)==="#"?t.default.ANCHOR:de(Ae)?t.default.EXTERNAL_LINK:Ae.indexOf("/s/")===0?t.default.FILE_LINK:Ae.charAt(0)==="/"?t.default.CONTENT_LINK:null},$=function(Ae){return Ae.replace(A,"")},ie=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",He=arguments.length>1?arguments[1]:void 0,ot=arguments.length>2?arguments[2]:void 0,Ut="";if((!Ae||typeof Ae!="string")&&(window.SQUARESPACE_SENTRY&&window.SQUARESPACE_SENTRY.captureMessage("Invalid url passed to UrlUtils.addQueryParam"),Ae=""),Ae){var Zt=Ae.split("#");Zt.length>1&&(Ut=Zt.slice(1).join(),Ae=Zt[0])}if(typeof He=="string"&&He){var jt=Ae.indexOf("?")!==-1?"&":"?";Ae+=jt+He+"="+ot}return Ut&&(Ae+="#"+Ut),Ae},V=function(Ae){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ot=He.join(""),Ut="[^a-zA-Z0-9/\\-".concat(ot,"]");return Ae=Ae.trim().replace(new RegExp("[ ]+","g")," ").replace(new RegExp("[ ]","g"),"-").replace(new RegExp(Ut,"g"),"").replace(new RegExp("[\\.\\-]{2,}","g"),"-").replace(new RegExp("[\\.\\/]{2,}","g"),"/").toLowerCase(),Ae},W=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return Ae=Ae.replace(/^\/+/g,""),Ae=(0,i.collapseChar)(Ae,"%"),Ae=Ae.replace(/%[^ymdt]/,"%"),Ae=(0,i.collapseChar)(Ae,"/"),Ae?V(Ae,["%"]):""},H=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return z(W(Ae).replace(/%+$/,""))},k=function(Ae,He){var ot=Ae;return He&&(ot+=He),ot=ot.replace(/\//g,""),V(ot)},J=function(Ae,He){return!!Ae&&Ae.search(new RegExp("^"+He+".+","i"))===0},ae=[[/\//g,"%2F"],[/\?/g,"%3F"],[/\*/g,"%2A"]],ne=function(Ae){var He=ae.reduce(function(ot,Ut){return ot.replace(Ut[0],Ut[1])},Ae);return encodeURIComponent(He)},X=function(Ae){return!!Ae||Ae===""||Ae===0},re=function(Ae){var He=[];return Object.keys(Ae).forEach(function(ot){if(Ae.hasOwnProperty(ot)&&X(Ae[ot])){var Ut=typeof Ae[ot]=="string"?Ae[ot]:JSON.stringify(Ae[ot]);He.push(encodeURIComponent(ot)+"="+encodeURIComponent(Ut))}}),He.join("&")},Z=function(Ae){var He=document.createElement("a");return He.href=Ae,He},te=function(Ae){return Z(Ae).pathname},oe=function(Ae){return Z(Ae).search},Se=function(Ae){return Z(Ae).hash},Re=function(Ae){var He=$(Ae),ot=He.split("/")[0];return ot},Ke=function(Ae,He){return te(Ae)===te(He)},Qe=function(Ae){return A.test(Ae)},Je=function(Ae){return Ae==="/"},rt=function(Ae){return Ae.search(m)<0?Ae="http://"+Ae.replace(/^(\/\/)+/,""):Ae=Ae.replace(A,function(He,ot){return ot}),Ae},Pt=function(Ae){return Ae.search(S)<0?rt(Ae):Ae},Wt=function(Ae){return Ae?O.test(Ae)?Ae:"http://"+$(Ae):""},de=function(Ae){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window.location.host;if(!Ae||!Qe(Ae))return!1;var ot=$(Ae),Ut=ot.split("/")[0];return Ut.toLowerCase()!==He.toLowerCase()},Le=function(Ae){return Ae.search(C)>-1},le=function(Ae){return Ae.search(T)>-1},Ce=function(Ae){return J(Ae,"#")&&Ae.length<100},Ne=function(Ae){return J(Ae,"tel:")&&Ae.length<50},Ee=function(Ae){return Ne(Ae)&&R.test(Ae.split("tel:")[1])},Ie=function(Ae){return J(Ae,"sms:")&&Ae.length<1e3},dt=function(Ae){return Ie(Ae)?N.test(Ae.split("sms:")[1]):!1},xt=function(Ae){return J(Ae,"mailto:")&&Ae.length<1e3},It=function(Ae){if(!xt(Ae))return!1;var He=Ae.split("?")[0],ot=He.split("@");return ot.length===2&&B.test(ot[1])},gt=function(Ae){return J(Ae,"javascript:")&&Ae.length<250},Ot=function(Ae){return J(Ae,"ftp:")&&Ae.length<100},Fe=function(Ae){return J(Ae,"\\/[^\\/]")&&Ae.length<150},Ve=function(Ae){var He="";return Ae?He=(Ae+"").toLowerCase().substring(0,6):window&&(He=window.location.protocol),He===h},se=function(Ae){return Ae&&h+"//"+$(Ae)},fe=function(Ae){var He=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!(!Ve()||!Ae)){var ot=Ae.all("object embed, iframe"),Ut=ot.size();ot.each(function(Zt,jt){var vn=Zt.getAttribute("src");vn&&Zt.setAttribute("src",se(vn)),He&&Ut===jt+1&&(Zt.setStyle("display","none"),Zt.setStyle("display",null))})}},pe=function(Ae){return Ae.replace(_,"$1")},xe=function(){var Ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",He="https://".startsWith(Ae.slice(0,8))||"http://".startsWith(Ae.slice(0,7))||"ftp://".startsWith(Ae.slice(0,6));return He?Ae:"http://".concat(Ae)},Me=function(Ae){var He=Ae.filters,ot=Ae.urlId,Ut=He?n.default.stringify(He,{arrayFormat:"repeat"}):"";return"/".concat(ot)+(Ut?"?".concat(Ut):"")},je=function(Ae){if(!Fe(Ae))return{};var He=l(Ae.replace(/^\//,"").split("?"),2),ot=He[0],Ut=He[1],Zt=Ut?n.default.parse(Ut):null;return{urlId:ot,filters:Zt}},Xe=function(Ae){var He=Qe(Ae),ot=Re(Ae).toLowerCase();if(He&&window.location.hostname.toLowerCase()===ot){var Ut=$(Ae);return Ut.substr(Ut.indexOf("/"))}return Ae},st=function(Ae){var He,ot=(He=(0,r.getFrameWindow)())===null||He===void 0?void 0:He.location;if(!ot)return!1;var Ut=ot.href.replace(ot.origin,""),Zt=function(jt){var vn=jt.split("#")[0];return vn=vn.replace(/^\//,""),vn};return Zt(Ae)===Zt(Ut)}},256818:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return C}});var o=l(e(442583)),n=l(e(697229)),i=l(e(992019)),t=l(e(407890)),r=l(e(618613)),s=l(e(845193)),d=e(676575),v=e(879772),u=l(e(805187)),a=l(e(454725));function l(O){return O&&O.__esModule?O:{default:O}}function p(){var O=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},A=(0,d.getLocalStorageData)(v.PopupOverlayLocalStorage.KEY);if(A&&!(0,u.default)(A)){var x=A[v.PopupOverlayLocalStorage.VERSION];if(x&&x1&&arguments[1]!==void 0?arguments[1]:{},t=window.top;t.fbq&&t.fbq("track",n,i)}var o=e},191303:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return d}});var o=t(e(920768)),n=t(e(252215));function i(v,u,a){return u in v?Object.defineProperty(v,u,{value:a,enumerable:!0,configurable:!0,writable:!0}):v[u]=a,v}function t(v){return v&&v.__esModule?v:{default:v}}function r(v){for(var u=1;u1&&arguments[1]!==void 0?arguments[1]:{},a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return s.track(v,r({},u,(0,n.default)()),a).catch(function(l){})}},252215:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return n}});var o=e(627179);function n(){var i={},t=window.Static,r=t.SQUARESPACE_CONTEXT;r.website&&(i.websiteId=r.website.id),r.templateId&&(i.templateId=r.templateId),r.templateInstallation&&r.templateInstallation.templateWebsite&&(i.variantId=r.templateInstallation.templateWebsite.id),r.authenticatedAccount&&r.authenticatedAccount.id&&(i.memberAccountId=r.authenticatedAccount.id);var s=window.location,d=s.pathname,v=s.hash;return i.pagePath=i.pagePath||d||"",v&&v!==""&&(i.pageHash=v.substring(1)),i.member_locale=(0,o.getResolvedMemberLocale)(),i.website_locale=(0,o.getResolvedWebsiteLocale)(),i}},570259:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(v,u){for(var a in u)Object.defineProperty(v,a,{enumerable:!0,get:u[a]})}o(c,{getAppDomain:function(){return t},getWebsiteDomain:function(){return s},getDomainForIdentifier:function(){return r},getStaticDomain:function(){return d}});var n=i(e(461761));function i(v){return v&&v.__esModule?v:{default:v}}var t=function(){return(0,n.default)(window,"Static.SQUARESPACE_CONTEXT.appDomain","")},r=function(u,a){return u+"."+(a||t())},s=function(u,a){return r(u.identifier,a||t())},d=function(){var u=t();return u?"//assets."+u+"/universal":"/universal"}},82390:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return s}});var o=t(e(949506)),n=e(505004),i=e(27072);function t(d){return d&&d.__esModule?d:{default:d}}function r(d){var v=d.one("a");if(!(!v||v.getAttribute("data-initialized"))){var u=v.get("parentNode"),a=v.ancestor(".sqs-block-button"),l=a.getAttribute("id"),p=v.getAttribute("href"),h=v.hasAttribute("target"),g=(0,n.isMailto)(p),m={id:l,buttonText:v.get("innerHTML"),clickthroughUrl:p,alignment:u.getAttribute("data-alignment"),size:u.getAttribute("data-button-size"),newWindow:h,context:o.default.BUTTON_BLOCK};(0,i.trackButtonView)(m),v.on("click",function(S){if(v.hasAttribute("data-tracked")){v.removeAttribute("data-tracked");return}var _=(!h||S.metaKey||S.ctrlKey||S.shiftKey)&&!g;_&&(S.preventDefault(),S.stopImmediatePropagation()),(0,i.trackButtonClick)(m).then(function(){_&&(v.setAttribute("data-tracked",!0),v.simulate("click"))})}),v.setAttribute("data-initialized",!0)}}var s=r},27072:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(te,oe){for(var Se in oe)Object.defineProperty(te,Se,{enumerable:!0,get:oe[Se]})}o(c,{addIntraPageEventFields:function(){return T},manageCookies:function(){return H},track:function(){return k},trackButtonClick:function(){return J},trackButtonView:function(){return ae},trackFormRender:function(){return ne},trackOverlayEvent:function(){return X},trackPageview:function(){return re},trackProductQuickView:function(){return Z}});var n=p(e(994336)),i=p(e(992019)),t=p(e(989045)),r=p(e(409941)),s=p(e(435359)),d=p(e(808847)),v=e(985878),u=p(e(51216)),a=e(627179),l=g(e(638649));function p(te){return te&&te.__esModule?te:{default:te}}function h(te){if(typeof WeakMap!="function")return null;var oe=new WeakMap,Se=new WeakMap;return(h=function(Re){return Re?Se:oe})(te)}function g(te,oe){if(!oe&&te&&te.__esModule)return te;if(te===null||typeof te!="object"&&typeof te!="function")return{default:te};var Se=h(oe);if(Se&&Se.has(te))return Se.get(te);var Re={},Ke=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Qe in te)if(Qe!=="default"&&Object.prototype.hasOwnProperty.call(te,Qe)){var Je=Ke?Object.getOwnPropertyDescriptor(te,Qe):null;Je&&(Je.get||Je.set)?Object.defineProperty(Re,Qe,Je):Re[Qe]=te[Qe]}return Re.default=te,Se&&Se.set(te,Re),Re}var m=["ss_cid","ss_cpvisit","ss_cvisit","ss_cvr","ss_cvt"],S=function(){return Promise.resolve()},_={headers:{"Content-type":"application/x-www-form-urlencoded; charset=utf-8"}};function C(){return window.Static.SQUARESPACE_CONTEXT}function O(){return window.__WE_ARE_SQUARESPACE_DISABLING_CENSUS__}function A(){try{return window.localStorage.setItem("test","1"),!0}catch(te){return!1}}function x(te,oe){return oe&&(te.pagePermissionTypeValue=oe.permissionType),te}function T(te){var oe=C(),Se=oe.itemId,Re=oe.item,Ke=oe.collectionId,Qe=oe.collection;x(te,Qe),Se&&Re?(te.pageTitle=Re.title,te.pageId=Se,te.contentSource="i"):Ke&&Qe&&(te.pageTitle=Qe.title,te.pageId=Ke,te.contentSource="c"),te.pagePath=window.location.pathname}function R(){var te=C(),oe=te.authenticatedAccount,Se=te.pageType,Re=te.websiteRoles,Ke=Re&&Object.keys(Re).map(function(Je){return parseInt(Je,10)}).includes(r.default.VIEWER)&&Object.keys(Re).length===1,Qe=!window.location.pathname.match(/\/config\/*/)&&Ke;return(!oe||Qe)&&Se!==i.default.NOT_FOUND&&Se!==i.default.LOCK_SCREEN&&Se!==i.default.MEMBER_AREA_ACCESS_DENIED&&O()!==!0}function N(){var te=C().website;return!!(te!=null&&te.cloneable)}function B(){var te=C().cookieSettings;if(N())return!0;var oe=v.legacyV6Flags.isFeatureEnabled(s.default.GDPR_COOKIE_BANNER),Se=oe?"ss_performanceCookiesAllowed":"ss_cookieAllowed",Re=!oe&&(te==null?void 0:te.isRestrictiveCookiePolicyAbsolute);return te&&te.isRestrictiveCookiePolicyEnabled&&(Re||!te.isCookieBannerEnabled||!n.default.get(Se)||n.default.get(Se)==="false")}function z(te){return function(oe){if(R()){var Se=l.hit(B());return oe.visitorCookie=Se,T(oe),d.default.post(te,oe,{timeout:2500}).catch(S)}return Promise.resolve()}}function K(te){return te.userAgent=navigator.userAgent,te.clientDate=new Date().getTime(),te.viewportInnerHeight=window.innerHeight,te.viewportInnerWidth=window.innerWidth,te.screenHeight=window.screen.height,te.screenWidth=window.screen.width,te}function $(te){var oe=C(),Se=oe.website,Re=oe.templateId;return Se&&(te.websiteId=Se.id),Re&&(te.templateId=Re),te.website_locale=(0,a.getResolvedWebsiteLocale)(),te}function ie(te){te.url=window.location.pathname;var oe=C(),Se=oe.itemId,Re=oe.item,Ke=oe.collectionId,Qe=oe.collection;return x(te,Qe),Se&&Re?(te.title=Re.title,te.itemId=Se,te.recordType=Re.recordType):Ke&&Qe&&(te.title=Qe.title,te.collectionId=Ke),te}function V(){return{localStorageSupported:A(),queryString:window.location.search,referrer:window.document.referrer}}function W(){return window.location.pathname==="/search"}function H(){if(B())for(var te=0;tep.length)&&(h=p.length);for(var g=0,m=new Array(h);g>p/4).toString(16):("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,v)}function u(p){return d.test(p)?p:null}function a(p){p=p||new Date().getTime();var h=v();return[h,p,p,p,1].join("|")}function l(p,h){var g=r(p.split("|"),5),m=g[0],S=g[1],_=g[2],C=g[3],O=g[4];return h=h||new Date().getTime(),[m,S,C,h,parseInt(O,10)+1].join("|")}},569010:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(t,r){for(var s in r)Object.defineProperty(t,s,{enumerable:!0,get:r[s]})}e(c,{validateCvt:function(){return n},createCvt:function(){return i}});var o=/^[1-9]\d*$/;function n(t){return o.test(t)?t:null}function i(t){return t=t||new Date().getTime(),t.toString()}},638649:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(l,p){for(var h in p)Object.defineProperty(l,h,{enumerable:!0,get:p[h]})}o(c,{getFutureUTCDate:function(){return u},hit:function(){return a}});var n=e(611089),i=e(569010),t=r(e(994336));function r(l){return l&&l.__esModule?l:{default:l}}var s=(0,t.default)(document,!1),d=1e3*60*60*24*365,v=1e3*60;function u(l,p){return p=p||new Date().getTime(),new Date(p+l).toUTCString()}function a(l){if(l)return(0,n.createCvr)();var p,h=(0,n.validateCvr)((p=s.get("ss_cvr"))!==null&&p!==void 0?p:""),g,m=(0,i.validateCvt)((g=s.get("ss_cvt"))!==null&&g!==void 0?g:""),S=new Date().getTime(),_={cvr:{path:"/",expires:u(d*2,S)},cvt:{path:"/",expires:u(v*30,S)}};return h&&!m?(h=(0,n.updateCvr)(h,S),m=(0,i.createCvt)(S)):h||(h=(0,n.createCvr)(S),m=(0,i.createCvt)(S)),s.set("ss_cvr",h,_.cvr),s.set("ss_cvt",m!=null?m:"",_.cvt),h}},733656:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return r}});var o=e(419467),n="USD",i=null,t={getStoreCurrency:function(){return i||(i=(0,o.get)(window,["Static","SQUARESPACE_CONTEXT","websiteSettings","storeSettings","selectedCurrency"],n)),i},updateStoreCurrency:function(d){i=d}},r=t},619883:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(ae,ne){for(var X in ne)Object.defineProperty(ae,X,{enumerable:!0,get:ne[X]})}o(c,{trackCartPageProductFormOpen:function(){return u},trackCartPageProductFormClose:function(){return a},trackCartPageProductFormSubmit:function(){return l},trackCreateCustomerAccount:function(){return p},trackAddToCart:function(){return h},trackSearch:function(){return g},trackSubscribeNewsletter:function(){return m},trackViewProductPage:function(){return S},trackApiKeysPanelLearnMore:function(){return _},trackApiKeysPanelTermsOfUse:function(){return C},trackApiKeysPanelCreateKey:function(){return O},trackApiKeysPanelDeleteKey:function(){return A},trackApiKeysPanelDeleteKeyConfirm:function(){return x},trackApiKeyCreationModalCopy:function(){return T},trackApiKeyCreationModalNext:function(){return R},trackApiKeyCreationModalCancel:function(){return N},trackApiKeyCreationModalComplete:function(){return B},trackDynamicAdsProductsFeedUrlCopy:function(){return z},trackFacebookPixelSaveId:function(){return K},trackInventoryPanelSearchProducts:function(){return $},trackInventoryPanelSortOnName:function(){return ie},trackInventoryPanelSortOnStock:function(){return V},trackInventoryPanelSortOnPrice:function(){return W},trackInventoryPanelClickRowExpander:function(){return H},trackInventoryPanelClickRow:function(){return k},trackInventoryPanelClickNextPage:function(){return J}});var n=d(e(13146)),i=d(e(914474)),t=d(e(50178)),r=d(e(191303));function s(ae,ne,X){return ne in ae?Object.defineProperty(ae,ne,{value:X,enumerable:!0,configurable:!0,writable:!0}):ae[ne]=X,ae}function d(ae){return ae&&ae.__esModule?ae:{default:ae}}function v(ae){for(var ne=1;ne0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.CREATE_CUSTOMER_ACCOUNT,ae)},h=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.ADD_TO_CART,ae)},g=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.SEARCH,ae)},m=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.SUBSCRIBE_NEWSLETTER,ae)},S=function(){var ae=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.VIEW_PRODUCT_PAGE,ae)},_=function(){return(0,r.default)("interface_click",{identifier:i.default.API_KEYS_PANEL_LEARN_MORE})},C=function(){return(0,r.default)("interface_click",{identifier:i.default.API_KEYS_PANEL_TERMS_OF_USE})},O=function(){return(0,r.default)("interface_click",{identifier:i.default.API_KEYS_PANEL_CREATE_KEY})},A=function(ae){return(0,r.default)("interface_click",v({identifier:i.default.API_KEYS_PANEL_DELETE_KEY},ae))},x=function(ae){return(0,r.default)("interface_click",v({identifier:i.default.API_KEYS_PANEL_DELETE_KEY_CONFIRM},ae))},T=function(ae){return(0,r.default)("interface_click",v({identifier:i.default.API_KEY_CREATION_MODAL_COPY},ae))},R=function(ae){return(0,r.default)("interface_click",v({identifier:i.default.API_KEY_CREATION_MODAL_NEXT},ae))},N=function(ae){return(0,r.default)("interface_click",v({identifier:i.default.API_KEY_CREATION_MODAL_CANCEL},ae))},B=function(ae){return(0,r.default)("interface_click",v({identifier:i.default.API_KEY_CREATION_MODAL_COMPLETE},ae))},z=function(){return(0,r.default)(n.default.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_URL_COPY)},K=function(){return(0,r.default)(n.default.FACEBOOK_PIXEL_SAVE_ID)},$=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SEARCH_PRODUCTS)},ie=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_NAME)},V=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_STOCK)},W=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_PRICE)},H=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_ROW_EXPANDER)},k=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_ROW)},J=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_NEXT_PAGE)}},203955:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return t}});var o=i(e(795478)),n=e(419467);function i(r){return r&&r.__esModule?r:{default:r}}function t(){for(var r=arguments.length,s=new Array(r),d=0;dA.length)&&(x=A.length);for(var T=0,R=new Array(x);T1?T-1:0),N=1;N1&&arguments[1]!==void 0?arguments[1]:{};if(!l||!r(a))return a;var p=s(a);return v(p,l)}},848228:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return i}});var o=n(e(545334));function n(t){return t&&t.__esModule?t:{default:t}}function i(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;t=(0,o.default)(t);var s=t.isAfter()||!r&&t.diff((0,o.default)(),"s")>-60;return s?t.from(t):t.fromNow()}},844815:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return u}});var o=e(373887);function n(a,l,p,h,g,m,S){try{var _=a[m](S),C=_.value}catch(O){p(O);return}_.done?l(C):Promise.resolve(C).then(h,g)}function i(a){return function(){var l=this,p=arguments;return new Promise(function(h,g){var m=a.apply(l,p);function S(C){n(m,h,g,S,_,"next",C)}function _(C){n(m,h,g,S,_,"throw",C)}S(void 0)})}}function t(a,l,p){return l in a?Object.defineProperty(a,l,{value:p,enumerable:!0,configurable:!0,writable:!0}):a[l]=p,a}function r(a){for(var l=1;l0&&g[g.length-1])&&(O[0]===6||O[0]===2)){S=0;continue}if(O[0]===3&&(!g||O[1]>g[0]&&O[1]1&&arguments[1]!==void 0?arguments[1]:"sqs-dynamic-text",t=n.ownerDocument,r=t.defaultView;if(!r)return!1;var s=r.innerWidth,d=Array.from(n.querySelectorAll("."+i));return d.forEach(function(v){var u=v.offsetWidth,a=Math.floor(u/s*1e3)/10,l=parseInt(v.getAttribute("data-width-percentage"),10);if(l!==a){v.style.fontSize="calc(0.5rem + "+a+"%)",v.style.fontSize="max(.75rem, "+a+"%)",v.setAttribute("data-width-percentage",a);var p=parseInt(r.getComputedStyle(v,null).getPropertyValue("font-size"),10),h=v.firstChild;h&&h.classList&&(p>0&&p<=13?h.classList.add("min-font-set"):h.classList.contains("min-font-set")&&h.classList.remove("min-font-set"));var g=e(v,".image-block-outer-wrapper");g&&g.classList.add("sqs-text-ready")}}),!0}},747463:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return T}});var o=e(419467),n=g(e(708380)),i=g(e(749189)),t=g(e(654315)),r=g(e(565906)),s=g(e(373789)),d=g(e(700238)),v=g(e(221314)),u=g(e(770097));function a(R,N){(N==null||N>R.length)&&(N=R.length);for(var B=0,z=new Array(N);B0&&arguments[0]!==void 0?arguments[0]:{},k=H.isForce,J=k===void 0?!1:k;if(K.node){var ae=K.props,ne=ae.waveIntensity,X=ae.waveFrequency,re=(0,s.default)(250,1e3,(0,o.clamp)(X*.1,0,1)),Z=Math.max(K.node.clientWidth,50),te=K.ref.measurementContainer.clientWidth,oe=K.ref.originGroupItemNodes.map(function(Ke){var Qe=Ke.clientWidth,Je=window.getComputedStyle(Ke),rt=parseFloat(Je.marginRight)||0;return{width:Qe,spacing:rt}}),Se=K.ref.firstMeasuredItemNode.clientHeight,Re=Se*.1;(Z!==K.prevRegionWidth||Se!==K.prevTextHeight||J)&&K.redrawPath({regionWidth:Z,waveFrequencyWidth:re,textHeight:Se,transformYOffset:Re}),K.prevRegionWidth=Z,K.prevTextHeight=Se,K.wave.onResize({measuredItems:oe,measuredWidth:Math.max(te,50),pathLength:K.info.pathLength,regionWidth:Z,padding:re}),K.ref.svg.style.height="".concat(Se+ne,"px"),K.ref.svg.style.transform="translateY(".concat(Re,"px)"),K.ref.svg.style.overflow="visible",K.ref.pathHitboxFocusOutline.style.transform="translateY(".concat(Re,"px)")}},this.rerender=function(){K.debouncedRerender=(0,o.debounce)(K.render,1e3),K.debouncedRerender()},this.handleMediaQueryListChange=function(H){var k=H.matches;k?K.stop():K.start()},this.onIntersection=function(H){if(H&&!x()){K.isImmediate=!0,K.start();return}K.stop()},this.onPointerEnter=function(){K.ref.pathHitbox.dataset.hover=!0,K.uniforms.hover.value=0},this.onPointerLeave=function(){K.ref.pathHitbox.dataset.hover=!1,K.uniforms.hover.value=1},this.tick=function(){K.onTick(),K.rAFID=requestAnimationFrame(K.tick)},this.destroy=function(){var H,k;K.unbindListeners(),K.stop(),K.wave.destroy(),(H=K.debouncedRerender)===null||H===void 0||(k=H.cancel)===null||k===void 0||k.call(H),delete K.node},this.node=B,this.Y=z,this.ref=(0,d.default)(this.node);var $=this.node.closest(".sqs-block-marquee").id.replace("block-","");(0,v.default)($,this.ref),this.props=_({},this.defaultAnimationProps,JSON.parse(this.ref.props.textContent)),this.ref.wrapper.dataset.ready=!0;var ie=this.props,V=ie.animationDirection,W=ie.animationSpeed;this.wave=new u.default({container:this.ref.textPath,animationDirection:V,originGroupItemNodes:this.ref.originGroupItemNodes,path:this.ref.path,sharedUniforms:this.uniforms,animationSpeed:r.default[V]*W,svgGroupItemNodes:this.ref.svgGroupItemNodes,trackContainer:this.ref.trackContainer}),this.render(),this.bindListeners()}var N=R.prototype;return N.redrawPath=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},K=z.regionWidth,$=K===void 0?100:K,ie=z.textHeight,V=ie===void 0?10:ie,W=z.transformYOffset,H=W===void 0?0:W,k=z.waveFrequencyWidth,J=k===void 0?0:k,ae=this.props.waveIntensity,ne=J*.333,X=Math.ceil(($+J*2)/J)+1,re=-J,Z=V*.662,te=function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return C(Array(X).keys()).reduce(function(Ke,Qe){var Je=re+Qe*J,rt=Re+(Qe%2===0?0:ae);return Ke+(Qe===0?" L".concat(Je,",").concat(rt):" S".concat(Je-ne,",").concat(rt," ").concat(Je,",").concat(rt))},"")},oe="M".concat(re,",").concat(Z," ").concat(te(Z)),Se="\n M".concat(re,",").concat(ae+V,"\n ").concat(te(V-H),"\n M").concat(re,",").concat(Math.max(ae,H),"\n ").concat(te(H),"\n ");this.ref.path.setAttribute("d",oe),this.ref.pathGroup.setAttribute("transform","translate(0, ".concat(V*.05,")")),this.ref.pathHitbox.setAttribute("d",oe),this.ref.pathHitbox.setAttribute("stroke-width",V),this.ref.pathHitboxFocusOutline.setAttribute("d",Se),this.ref.pathHitboxGroup.setAttribute("transform","translate(0, ".concat(-Z+Z*.75,")")),this.info.pathLength=this.ref.path.getTotalLength(),this.lerps=this.buildLerps(3)},N.buildLerps=function(){var z=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3,K=this,$=Math.ceil(this.info.pathLength/z)+1;return C(Array($).keys()).reduce(function(ie,V){var W=V*z,H=K.ref.path.getPointAtLength(W);if(ie.points[V]=H,ie.index[V]=W,ie.x[V]=H.x,ie.y[V]=H.y,V>0){var k=V-1,J=ie.points[k],ae=ie.points[V];ie.rotation[k]=Math.atan2(ae.y-J.y,ae.x-J.x)*180/Math.PI,V===$-1&&(ie.rotation[V]=ie.rotation[k])}return ie},{index:[],points:[],x:[],y:[],rotation:[]})},N.onTick=function(){this.wave.tick(this.lerps)},N.bindListeners=function(){var z=this;n.default.on(this.render,0),this.resizeObserver=new ResizeObserver(this.render),this.resizeObserver.observe(this.ref.measurementContainer),A!=null&&A.addEventListener?A.addEventListener("change",this.handleMediaQueryListChange):A.addListener(this.handleMediaQueryListChange),this.intersectionScroll=new i.default(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.ref.hitbox&&this.props.pausedOnHover&&(this.ref.hitbox.addEventListener("mouseenter",this.onPointerEnter),this.ref.hitbox.addEventListener("touchstart",this.onPointerEnter),this.ref.hitbox.addEventListener(["touchend","touchcancel"],this.onPointerLeave),this.ref.hitbox.addEventListener(["mouseleave"],this.onPointerLeave)),this.tweakListener=this.Y.Global.on("tweak:change",this.rerender),document.fonts.ready.then(function(){z.rerender()})},N.unbindListeners=function(){var z,K;n.default.off(this.render,0),this.resizeObserver.disconnect(),A!=null&&A.removeEventListener?A.removeEventListener("change",this.handleMediaQueryListChange):A.removeListener(this.handleMediaQueryListChange),(z=this.intersectionScroll)===null||z===void 0||z.destroy(),this.ref.hitbox&&this.props.pausedOnHover&&(this.ref.hitbox.removeEventListener("mouseenter",this.onPointerEnter),this.ref.hitbox.removeEventListener("touchstart",this.onPointerEnter),this.ref.hitbox.removeEventListener(["touchend","touchcancel"],this.onPointerLeave),this.ref.hitbox.removeEventListener(["mouseleave"],this.onPointerLeave)),(K=this.tweakListener)===null||K===void 0||K.detach()},N.start=function(){this.rAFID=requestAnimationFrame(this.tick)},N.stop=function(){cancelAnimationFrame(this.rAFID)},N.restart=function(){this.stop(),this.start()},R}()},770097:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return v}});var o=t(e(246156));function n(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function i(u,a,l){return a in u?Object.defineProperty(u,a,{value:l,enumerable:!0,configurable:!0,writable:!0}):u[a]=l,u}function t(u){return u&&u.__esModule?u:{default:u}}function r(u){for(var a=1;a0&&arguments[0]!==void 0?arguments[0]:{},s=r.x,d=r.measuredItems,v=s,u=0;us-d||u.x+u.width-r *")),path:n.querySelector(".Marquee-path"),pathGroup:n.querySelector(".Marquee-path-group"),hitbox:n.querySelector("[data-hitbox]"),pathHitbox:n.querySelector(".Marquee-path-hitbox"),pathHitboxFocusOutline:n.querySelector(".Marquee-path-hitbox-focus-outline"),pathHitboxGroup:n.querySelector(".Marquee-path-hitbox-group"),textPath:n.querySelector(".Marquee-svg-text"),visuallyHiddenTextContent:n.querySelector(".v6-visually-hidden")}},o=e},602361:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return i}});var o=n(e(747463));function n(t){return t&&t.__esModule?t:{default:t}}var i=function(t,r){return new o.default(t,r)}},373789:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return o}});var e=function(n,i,t){return n*(1-t)+i*t},o=e},221314:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return o}});var e=function(n,i){var t,r,s,d,v,u;(t=i.path)===null||t===void 0||t.setAttribute("id",n),(r=i.pathHitbox)===null||r===void 0||r.setAttribute("id",n),(s=i.textPath)===null||s===void 0||s.setAttribute("href","#"+n),(d=i.svgGroup)===null||d===void 0||d.setAttribute("href","#"+n),(v=i.visuallyHiddenTextContent)===null||v===void 0||v.setAttribute("id","ariaLabel"+n),(u=i.hitbox)===null||u===void 0||u.setAttribute("aria-labelledby","ariaLabel"+n)},o=e},531925:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return t}});function o(r,s,d,v,u,a,l){try{var p=r[a](l),h=p.value}catch(g){d(g);return}p.done?s(h):Promise.resolve(h).then(v,u)}function n(r){return function(){var s=this,d=arguments;return new Promise(function(v,u){var a=r.apply(s,d);function l(h){o(a,v,u,l,p,"next",h)}function p(h){o(a,v,u,l,p,"throw",h)}l(void 0)})}}var i=function(r,s){var d,v,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function p(g){return function(m){return h([g,m])}}function h(g){if(d)throw new TypeError("Generator is already executing.");for(;l;)try{if(d=1,v&&(u=g[0]&2?v.return:g[0]?v.throw||((u=v.return)&&u.call(v),0):v.next)&&!(u=u.call(v,g[1])).done)return u;switch(v=0,u&&(g=[g[0]&2,u.value]),g[0]){case 0:case 1:u=g;break;case 4:return l.label++,{value:g[1],done:!1};case 5:l.label++,v=g[1],g=[0];continue;case 7:g=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(g[0]===6||g[0]===2)){l=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]=0&&s.item(d)!==this;);return d>-1}),typeof n.CustomEvent!="function"){var i=function(s,d){d=d||{bubbles:!1,cancelable:!1,detail:void 0};var v=document.createEvent("CustomEvent");return v.initCustomEvent(s,d.bubbles,d.cancelable,d.detail),v};i.prototype=n.Event.prototype,n.CustomEvent=i,typeof n.Event!="function"&&(n.Event=i)}n.String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},n.Array.prototype.removeRange=function(r,s){return this.splice(r,!s||1+s-r+(!(s<0^r>=0)&&(s<0||-1)*this.length)),this.length},n.Array.prototype.removeAt=function(r){this.removeRange(r,r)},n.Array.prototype.remove=function(r){for(var s=0;s-1},n.Number.prototype.formatMoney=function(r,s,d,v){var u=this;r=isNaN(r=Math.abs(r))?2:r,v&&u%1===0&&(r=0),s||(s="."),d||(d=",");var a=u<0?"-":"",l=parseInt(u=Math.abs(+u||0).toFixed(r),10)+"",p=(p=l.length)>3?p%3:0;return a+(p?l.substr(0,p)+d:"")+l.substr(p).replace(/(\d{3})(?=\d)/g,"$1"+d)+(r?s+Math.abs(u-l).toFixed(r).slice(2):"")},n.Date.prototype.toRelativeTime=function(r){r=r||new Date;var s=(r.getTime()-this.getTime())/1e3;return s<60?"less than a minute ago":s<120?"about a minute ago":s<3600?Math.floor(s/60)+" minutes ago":s<7200?"about an hour ago":s<86400?"about "+Math.floor(s/3600)+" hours ago":s<172800?"1 day ago":Math.floor(s/86400)+" days ago"},n.Date.prototype.stdTimezoneOffset=function(){var r=new Date(this.getFullYear(),0,1),s=new Date(this.getFullYear(),6,1);return Math.max(r.getTimezoneOffset(),s.getTimezoneOffset())},n.Date.prototype.isDST=function(){return this.getTimezoneOffset()=18){var r=new Map;o.default.render=function(s,d){var v=r.get(d);v||(v=n.createRoot(d),r.set(d,v)),v.render(s)},o.default.unmountComponentAtNode=function(s){var d=r.get(s);d&&(d.unmount(),r.delete(s))}}},558843:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(O,A){for(var x in A)Object.defineProperty(O,x,{enumerable:!0,get:A[x]})}o(c,{TRACING:function(){return i},HIDE_ADD_TWITTER_BLOCK:function(){return t},HIDE_SHARE_ITEM_TO_TWITTER_IF_DISABLED:function(){return r},SUMMARY_BLOCK_EDITOR_PAGE_SEARCH_FIELD:function(){return s},SENTRY_SCHEMA_EDITOR_BLOCK_SCHEMAS:function(){return d},EDITOR_DIRTY_NO_ANNOTATIONS_71:function(){return v},MAX_ROW_COUNT_DEBUG:function(){return u},CRAWLERS_PANEL:function(){return a},FAVICON_PANEL:function(){return l},SUPPRESS_BLOCK_DEFAULTS:function(){return p},WEBSITE_COLORS_NEW_STATE:function(){return h},TRACK_YUI_CONTENT_ITEM_USAGE:function(){return g},TEXT_EDITORS_WITHOUT_YUI:function(){return m},WEBSITE_COMPONENTS_IN_LAYOUT_ENGINE:function(){return S},WEBSITE_COMPONENTS_TRANSLATION_SUPPORT:function(){return _},COMMERCE_DELIVERY_PANEL:function(){return C}});var n=e(808508),i={id:"tracing",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},t={id:"hide_add_twitter_block",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},r={id:"hide_share_item_to_twitter_if_disabled",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},s={id:"summary_block_editor_page_search_field",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},d={id:"sentry_schema_editor_block_schemas",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},v={id:"editor_dirty_no_annotations_71",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},u={id:"sentry_fe_max_row_count_debugging",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},a={id:"crawlers-panel",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},l={id:"favicon-darkmode",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},p={id:"suppress_block_defaults",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},h={id:"website_colors_new_state",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},g={id:"sentry_debug_content_item_modules",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},m={id:"text_editors_without_yui",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},S={id:"website_components_in_layout_engine",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},_={id:"website_components_translation_support",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms},C={id:"commerce_delivery_panel",default:n.ABEnabledStatus.Disabled,experimentList:n.ExperimentList.Cms}},808508:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(i,t){for(var r in t)Object.defineProperty(i,r,{enumerable:!0,get:t[r]})}e(c,{ABEnabledStatus:function(){return o},ExperimentList:function(){return n}});var o;(function(i){i.Enabled="enabled",i.Disabled="disabled"})(o||(o={}));var n;(function(i){i.Cms="cmsExperimentList",i.I18N="i18nExperimentList"})(n||(n={}))},753112:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(l,p){for(var h in p)Object.defineProperty(l,h,{enumerable:!0,get:p[h]})}o(c,{clients:function(){return t},getABTestVariant:function(){return v},isABTestVariant:function(){return u},isABTestActive:function(){return a}});var n=e(476888);function i(l,p){return p!=null&&typeof Symbol!="undefined"&&p[Symbol.hasInstance]?!!p[Symbol.hasInstance](l):l instanceof p}var t=new Map,r,s=function(l){var p,h;return(r=window==null||(p=window.Static)===null||p===void 0||(h=p.SQUARESPACE_CONTEXT)===null||h===void 0?void 0:h[l])!==null&&r!==void 0?r:[]},d=function(l){if(t.has(l))return t.get(l);var p=s(l);if(p.length===0)return null;var h=new n.StaticPraetorClient({isConfigurationLoaded:!0,experimentContextList:p});return t.set(l,h),h},v=function(l){var p=d(l.experimentList);if(!p)return"";var h=p.getABTestVariant(l.id,l.default).variant;return h},u=function(l,p){var h=v(l);return i(l.forceEnable,Function)&&l.forceEnable(h)?!0:i(p,Function)?p(h):h===p},a=function(l){return u(l,function(p){return p?p!==l.default:!1})}},745443:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return s}});function e(d,v){if(!(d instanceof v))throw new TypeError("Cannot call a class as a function")}var o=!1,n=22,i=2,t=function(){"use strict";function d(u){e(this,d),this.workFn=u,this.pending=!1,this.samples=[],this.lastCompleteExecution=null,this.sampledAverageExecution=null,this.pendingDowntime=null}var v=d.prototype;return v.invoke=function(){var a=this,l=this,p=l.lastCompleteExecution,h=l.sampledAverageExecution;if(this.pending){o&&console.log("pending!");return}if(p!==null&&h!==null){var g=Date.now()-p,m=h*i;if(gn&&(this.samples=p=p.slice(0,n)),this.sampledAverageExecution=p.reduce(function(h,g){return h+g},0)/p.length,o&&console.log("executionTime",l,"sampledAverageExecution",this.sampledAverageExecution)},d}();function r(d){var v=new t(d);return function(){return v.invoke()}}var s=r},127345:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return o}});function e(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=n.parent,t=n.selector,r=n.minLength,s=r===void 0?1:r,d=n.frequencyMs,v=d===void 0?100:d,u=n.maxRetries,a=u===void 0?0:u;return!i||!t?Promise.reject("[waitForExistence] Called without a parent or selector"):new Promise(function(l,p){var h=0;a>99999999&&(a=0);var g=function(){if(!i){p("[waitForExistence] parent does not or no longer exists");return}var m=Array.from(i.querySelectorAll(t));if(m.length>=s){l(m);return}if(a!==0&&(h=h+1,h>a)){p("[waitForExistence] Did not find ".concat(t," in ").concat(v*h,"ms"));return}window.setTimeout(g,v)};g()})}var o=e},27774:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return x}});var o=h(e(604277)),n=e(627179),i=h(e(808847)),t=m(e(940265)),r=h(e(936366)),s=e(753112),d=e(558843),v=e(390266);function u(T,R,N,B,z,K,$){try{var ie=T[K]($),V=ie.value}catch(W){N(W);return}ie.done?R(V):Promise.resolve(V).then(B,z)}function a(T){return function(){var R=this,N=arguments;return new Promise(function(B,z){var K=T.apply(R,N);function $(V){u(K,B,z,$,ie,"next",V)}function ie(V){u(K,B,z,$,ie,"throw",V)}$(void 0)})}}function l(T,R){if(!(T instanceof R))throw new TypeError("Cannot call a class as a function")}function p(T,R,N){return R in T?Object.defineProperty(T,R,{value:N,enumerable:!0,configurable:!0,writable:!0}):T[R]=N,T}function h(T){return T&&T.__esModule?T:{default:T}}function g(T){if(typeof WeakMap!="function")return null;var R=new WeakMap,N=new WeakMap;return(g=function(B){return B?N:R})(T)}function m(T,R){if(!R&&T&&T.__esModule)return T;if(T===null||typeof T!="object"&&typeof T!="function")return{default:T};var N=g(R);if(N&&N.has(T))return N.get(T);var B={},z=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var K in T)if(K!=="default"&&Object.prototype.hasOwnProperty.call(T,K)){var $=z?Object.getOwnPropertyDescriptor(T,K):null;$&&($.get||$.set)?Object.defineProperty(B,K,$):B[K]=T[K]}return B.default=T,N&&N.set(T,B),B}function S(T){for(var R=1;R0&&z[z.length-1])&&(W[0]===6||W[0]===2)){$=0;continue}if(W[0]===3&&(!z||W[1]>z[0]&&W[1]0&&C[C.length-1])&&(R[0]===6||R[0]===2)){A=0;continue}if(R[0]===3&&(!C||R[1]>C[0]&&R[1]g.length)&&(m=g.length);for(var S=0,_=new Array(m);S0&&C[C.length-1])&&(R[0]===6||R[0]===2)){A=0;continue}if(R[0]===3&&(!C||R[1]>C[0]&&R[1]0&&x[0]!==void 0?x[0]:{},C.exports?[2,C.exports]:A[C.name]?[2,A[C.name]]:(A[C.name]={__esModule:!0},C.executingContext||(C.executingContext=C.loadDependencies().then(function(R){return R(A)})),[4,C.executingContext]);case 1:return[2,T.sent()]}})});var O=this;this.loadDependencies=r(function(){return p(this,function(A){switch(A.label){case 0:return O.executableContext?[2,O.executableContext]:O.loadDependenciesAndBindThemToExecutableContext?[3,2]:[4,O.script.load()];case 1:A.sent(),A.label=2;case 2:if(!O.loadDependenciesAndBindThemToExecutableContext)throw new Error("[".concat(O.name,"] failed to load"));return O.executableContext=O.loadDependenciesAndBindThemToExecutableContext(),[2,O.executableContext]}})}),this.script=new o.default(S)}},310130:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return v}});var o=s(e(419245)),n=s(e(694764));function i(u,a,l,p,h,g,m){try{var S=u[g](m),_=S.value}catch(C){l(C);return}S.done?a(_):Promise.resolve(_).then(p,h)}function t(u){return function(){var a=this,l=arguments;return new Promise(function(p,h){var g=u.apply(a,l);function m(_){i(g,p,h,m,S,"next",_)}function S(_){i(g,p,h,m,S,"throw",_)}m(void 0)})}}function r(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function s(u){return u&&u.__esModule?u:{default:u}}var d=function(u,a){var l,p,h,g,m={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]};return g={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function S(C){return function(O){return _([C,O])}}function _(C){if(l)throw new TypeError("Generator is already executing.");for(;m;)try{if(l=1,p&&(h=C[0]&2?p.return:C[0]?p.throw||((h=p.return)&&h.call(p),0):p.next)&&!(h=h.call(p,C[1])).done)return h;switch(p=0,h&&(C=[C[0]&2,h.value]),C[0]){case 0:case 1:h=C;break;case 4:return m.label++,{value:C[1],done:!1};case 5:m.label++,p=C[1],C=[0];continue;case 7:C=m.ops.pop(),m.trys.pop();continue;default:if(h=m.trys,!(h=h.length>0&&h[h.length-1])&&(C[0]===6||C[0]===2)){m=0;continue}if(C[0]===3&&(!h||C[1]>h[0]&&C[1]0&&_[_.length-1])&&(T[0]===6||T[0]===2)){O=0;continue}if(T[0]===3&&(!_||T[1]>_[0]&&T[1]<_[3])){O.label=T[1];break}if(T[0]===6&&O.label<_[1]){O.label=_[1],_=T;break}if(_&&O.label<_[2]){O.label=_[2],O.ops.push(T);break}_[2]&&O.ops.pop(),O.trys.pop();continue}T=g.call(h,O)}catch(R){T=[6,R],S=0}finally{m=_=0}if(T[0]&5)throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}},l=function(){"use strict";function h(){var m=this;s(this,h),this.modules={},this.importMap={},this.define=function(_,C,O){m.findOrCreateModule(_).define(O,C.map(function(A){return m.findOrCreateModule(A)}))};var S=this;this.load=function(){var _=r(function(C){return a(this,function(O){if(!S.canLoadModule(C))throw new Error("Amd Module cannot be loaded due to missing import map for module: ".concat(C));return[2,S.findOrCreateModule(C).load()]})});return function(C){return _.apply(this,arguments)}}()}var g=h.prototype;return g.canLoadModule=function(S){return this.modules[S]!==void 0||this.importMap[S]!==void 0},g.updateImportMap=function(S){this.importMap=u({},this.importMap,S)},g.defineSystemModule=function(S,_){this.define(S,[],function(){return{__esModule:!0,default:_}})},g.findOrCreateModule=function(S){return this.modules[S]||(this.modules[S]=new i.default(S,this.importMap[S])),this.modules[S]},h}();function p(){return(0,n.getSharedEditorVisitorSingleton)("loader")}(0,n.createVisitorSingleton)("loader",function(){return new l})},487878:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return d}});var o=r(e(808847));function n(v,u,a,l,p,h,g){try{var m=v[h](g),S=m.value}catch(_){a(_);return}m.done?u(S):Promise.resolve(S).then(l,p)}function i(v){return function(){var u=this,a=arguments;return new Promise(function(l,p){var h=v.apply(u,a);function g(S){n(h,l,p,g,m,"next",S)}function m(S){n(h,l,p,g,m,"throw",S)}g(void 0)})}}function t(v,u){if(!(v instanceof u))throw new TypeError("Cannot call a class as a function")}function r(v){return v&&v.__esModule?v:{default:v}}var s=function(v,u){var a,l,p,h,g={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]};return h={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(h[Symbol.iterator]=function(){return this}),h;function m(_){return function(C){return S([_,C])}}function S(_){if(a)throw new TypeError("Generator is already executing.");for(;g;)try{if(a=1,l&&(p=_[0]&2?l.return:_[0]?l.throw||((p=l.return)&&p.call(l),0):l.next)&&!(p=p.call(l,_[1])).done)return p;switch(l=0,p&&(_=[_[0]&2,p.value]),_[0]){case 0:case 1:p=_;break;case 4:return g.label++,{value:_[1],done:!1};case 5:g.label++,l=_[1],_=[0];continue;case 7:_=g.ops.pop(),g.trys.pop();continue;default:if(p=g.trys,!(p=p.length>0&&p[p.length-1])&&(_[0]===6||_[0]===2)){g=0;continue}if(_[0]===3&&(!p||_[1]>p[0]&&_[1]0&&_[_.length-1])&&(T[0]===6||T[0]===2)){O=0;continue}if(T[0]===3&&(!_||T[1]>_[0]&&T[1]<_[3])){O.label=T[1];break}if(T[0]===6&&O.label<_[1]){O.label=_[1],_=T;break}if(_&&O.label<_[2]){O.label=_[2],O.ops.push(T);break}_[2]&&O.ops.pop(),O.trys.pop();continue}T=g.call(h,O)}catch(R){T=[6,R],S=0}finally{m=_=0}if(T[0]&5)throw T[1];return{value:T[0]?T[1]:void 0,done:!0}}},p=function(){"use strict";function h(m){d(this,h),this.definitionName=m,this.cssTags=[],this.owningIframeDocument=(0,n.default)()}var g=h.prototype;return g.isValid=function(){return this.owningIframeDocument===(0,n.default)()&&(!this.isLoaded||this.cssTags.every(function(S){return S.isValid()}))},g.load=function(){var S=this;return s(function(){var _,C,O;return l(this,function(A){switch(A.label){case 0:return S.isLoaded?[2,(_=S.resolvablePromise)===null||_===void 0?void 0:_.promise]:(S.resolvablePromise=new i.default,[4,o.default.fetch(S.definitionName)]);case 1:return C=A.sent(),O=(C==null?void 0:C.staticAssets.css)||[],S.cssTags=O.map(function(x){return new t.default(S.owningIframeDocument,x)}),[2,Promise.all(S.cssTags.map(function(x){return x.loadCssAvoidingIframeCors()})).then(function(){var x;return(x=S.resolvablePromise)===null||x===void 0?void 0:x.resolve()})]}})})()},u(h,[{key:"isLoaded",get:function(){return this.resolvablePromise!==void 0}}]),h}()},699432:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"default",{enumerable:!0,get:function(){return v}});var o=r(e(439537));function n(u,a,l,p,h,g,m){try{var S=u[g](m),_=S.value}catch(C){l(C);return}S.done?a(_):Promise.resolve(_).then(p,h)}function i(u){return function(){var a=this,l=arguments;return new Promise(function(p,h){var g=u.apply(a,l);function m(_){n(g,p,h,m,S,"next",_)}function S(_){n(g,p,h,m,S,"throw",_)}m(void 0)})}}function t(u,a){if(!(u instanceof a))throw new TypeError("Cannot call a class as a function")}function r(u){return u&&u.__esModule?u:{default:u}}var s=function(u,a){var l,p,h,g,m={label:0,sent:function(){if(h[0]&1)throw h[1];return h[1]},trys:[],ops:[]};return g={next:S(0),throw:S(1),return:S(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function S(C){return function(O){return _([C,O])}}function _(C){if(l)throw new TypeError("Generator is already executing.");for(;m;)try{if(l=1,p&&(h=C[0]&2?p.return:C[0]?p.throw||((h=p.return)&&h.call(p),0):p.next)&&!(h=h.call(p,C[1])).done)return h;switch(p=0,h&&(C=[C[0]&2,h.value]),C[0]){case 0:case 1:h=C;break;case 4:return m.label++,{value:C[1],done:!1};case 5:m.label++,p=C[1],C=[0];continue;case 7:C=m.ops.pop(),m.trys.pop();continue;default:if(h=m.trys,!(h=h.length>0&&h[h.length-1])&&(C[0]===6||C[0]===2)){m=0;continue}if(C[0]===3&&(!h||C[1]>h[0]&&C[1]0&&m[m.length-1])&&(A[0]===6||A[0]===2)){_=0;continue}if(A[0]===3&&(!m||A[1]>m[0]&&A[1]3&&arguments[3]!==void 0?arguments[3]:!1,C=this;return r(function(){return v(this,function(O){return C.instancesByDefinitionNameAndId[g]||(C.instancesByDefinitionNameAndId[g]={}),C.instancesByDefinitionNameAndId[g][m]&&(_||C.instancesByDefinitionNameAndId[g][m].element!==S)&&delete C.instancesByDefinitionNameAndId[g][m],(_||!C.instancesByDefinitionNameAndId[g][m])&&(C.instancesByDefinitionNameAndId[g][m]={element:S,instance:C.instantiateVisitorJs(g,S)}),[2,C.instancesByDefinitionNameAndId[g][m].instance]})})()},p.instantiateVisitorJs=function(g,m){return r(function(){var S,_,C;return v(this,function(O){switch(O.label){case 0:return[4,(0,i.getAmdLoader)()];case 1:return S=O.sent(),_="".concat(g,".visitor"),S.canLoadModule(_)?[3,3]:[4,(0,n.default)(g,S)];case 2:O.sent(),O.label=3;case 3:return[4,S.load(_)];case 4:if(C=O.sent(),!l.isVisitorJs(C))throw new Error("visitorJS failed to load for ".concat(g));return[2,C.default(m)]}})})()},l.isVisitorJs=function(g){return typeof g=="object"&&typeof g.default=="function"},l}();function a(){return(0,o.createVisitorSingleton)("visitorInstanceLoader",function(){return new u}),(0,o.getSharedEditorVisitorSingleton)("visitorInstanceLoader")}},896039:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function e(i,t){for(var r in t)Object.defineProperty(i,r,{enumerable:!0,get:t[r]})}e(c,{RenderMarkupFileType:function(){return o},StaticAssetContentType:function(){return n}});var o;(function(i){i.JSONT="JSONT"})(o||(o={}));var n;(function(i){i.CSS="CSS",i.JS="JS",i.UI_SCHEMA="UI_SCHEMA"})(n||(n={}))},123704:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0});function o(m,S){for(var _ in S)Object.defineProperty(m,_,{enumerable:!0,get:S[_]})}o(c,{createVisitorSingleton:function(){return h},getSharedEditorVisitorSingleton:function(){return g}});var n=e(93026);function i(m,S,_,C,O,A,x){try{var T=m[A](x),R=T.value}catch(N){_(N);return}T.done?S(R):Promise.resolve(R).then(C,O)}function t(m){return function(){var S=this,_=arguments;return new Promise(function(C,O){var A=m.apply(S,_);function x(R){i(A,C,O,x,T,"next",R)}function T(R){i(A,C,O,x,T,"throw",R)}x(void 0)})}}var r=function(m,S){var _,C,O,A,x={label:0,sent:function(){if(O[0]&1)throw O[1];return O[1]},trys:[],ops:[]};return A={next:T(0),throw:T(1),return:T(2)},typeof Symbol=="function"&&(A[Symbol.iterator]=function(){return this}),A;function T(N){return function(B){return R([N,B])}}function R(N){if(_)throw new TypeError("Generator is already executing.");for(;x;)try{if(_=1,C&&(O=N[0]&2?C.return:N[0]?C.throw||((O=C.return)&&O.call(C),0):C.next)&&!(O=O.call(C,N[1])).done)return O;switch(C=0,O&&(N=[N[0]&2,O.value]),N[0]){case 0:case 1:O=N;break;case 4:return x.label++,{value:N[1],done:!1};case 5:x.label++,C=N[1],N=[0];continue;case 7:N=x.ops.pop(),x.trys.pop();continue;default:if(O=x.trys,!(O=O.length>0&&O[O.length-1])&&(N[0]===6||N[0]===2)){x=0;continue}if(N[0]===3&&(!O||N[1]>O[0]&&N[1]0&&p[p.length-1])&&(_[0]===6||_[0]===2)){g=0;continue}if(_[0]===3&&(!p||_[1]>p[0]&&_[1]>>((i&3)<<3)&255;return o}}},904406:function(y,c,e){"use strict";var o=e(702480),n=e(3274);function i(t,r,s){var d=r&&s||0;typeof t=="string"&&(r=t==="binary"?new Array(16):null,t=null),t=t||{};var v=t.random||(t.rng||o)();if(v[6]=v[6]&15|64,v[8]=v[8]&63|128,r)for(var u=0;u<16;++u)r[d+u]=v[u];return r||n(v)}y.exports=i},779291:function(y,c,e){var o;(function(n){var i=/^\s+/,t=/\s+$/,r=0,s=n.round,d=n.min,v=n.max,u=n.random;function a(de,Le){if(de=de||"",Le=Le||{},de instanceof a)return de;if(!(this instanceof a))return new a(de,Le);var le=l(de);this._originalInput=de,this._r=le.r,this._g=le.g,this._b=le.b,this._a=le.a,this._roundA=s(100*this._a)/100,this._format=Le.format||le.format,this._gradientType=Le.gradientType,this._r<1&&(this._r=s(this._r)),this._g<1&&(this._g=s(this._g)),this._b<1&&(this._b=s(this._b)),this._ok=le.ok,this._tc_id=r++}a.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var de=this.toRgb();return(de.r*299+de.g*587+de.b*114)/1e3},getLuminance:function(){var de=this.toRgb(),Le,le,Ce,Ne,Ee,Ie;return Le=de.r/255,le=de.g/255,Ce=de.b/255,Le<=.03928?Ne=Le/12.92:Ne=n.pow((Le+.055)/1.055,2.4),le<=.03928?Ee=le/12.92:Ee=n.pow((le+.055)/1.055,2.4),Ce<=.03928?Ie=Ce/12.92:Ie=n.pow((Ce+.055)/1.055,2.4),.2126*Ne+.7152*Ee+.0722*Ie},setAlpha:function(de){return this._a=ne(de),this._roundA=s(100*this._a)/100,this},toHsv:function(){var de=m(this._r,this._g,this._b);return{h:de.h*360,s:de.s,v:de.v,a:this._a}},toHsvString:function(){var de=m(this._r,this._g,this._b),Le=s(de.h*360),le=s(de.s*100),Ce=s(de.v*100);return this._a==1?"hsv("+Le+", "+le+"%, "+Ce+"%)":"hsva("+Le+", "+le+"%, "+Ce+"%, "+this._roundA+")"},toHsl:function(){var de=h(this._r,this._g,this._b);return{h:de.h*360,s:de.s,l:de.l,a:this._a}},toHslString:function(){var de=h(this._r,this._g,this._b),Le=s(de.h*360),le=s(de.s*100),Ce=s(de.l*100);return this._a==1?"hsl("+Le+", "+le+"%, "+Ce+"%)":"hsla("+Le+", "+le+"%, "+Ce+"%, "+this._roundA+")"},toHex:function(de){return _(this._r,this._g,this._b,de)},toHexString:function(de){return"#"+this.toHex(de)},toHex8:function(de){return C(this._r,this._g,this._b,this._a,de)},toHex8String:function(de){return"#"+this.toHex8(de)},toRgb:function(){return{r:s(this._r),g:s(this._g),b:s(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+s(this._r)+", "+s(this._g)+", "+s(this._b)+")":"rgba("+s(this._r)+", "+s(this._g)+", "+s(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:s(X(this._r,255)*100)+"%",g:s(X(this._g,255)*100)+"%",b:s(X(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+s(X(this._r,255)*100)+"%, "+s(X(this._g,255)*100)+"%, "+s(X(this._b,255)*100)+"%)":"rgba("+s(X(this._r,255)*100)+"%, "+s(X(this._g,255)*100)+"%, "+s(X(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:J[_(this._r,this._g,this._b,!0)]||!1},toFilter:function(de){var Le="#"+O(this._r,this._g,this._b,this._a),le=Le,Ce=this._gradientType?"GradientType = 1, ":"";if(de){var Ne=a(de);le="#"+O(Ne._r,Ne._g,Ne._b,Ne._a)}return"progid:DXImageTransform.Microsoft.gradient("+Ce+"startColorstr="+Le+",endColorstr="+le+")"},toString:function(de){var Le=!!de;de=de||this._format;var le=!1,Ce=this._a<1&&this._a>=0,Ne=!Le&&Ce&&(de==="hex"||de==="hex6"||de==="hex3"||de==="hex4"||de==="hex8"||de==="name");return Ne?de==="name"&&this._a===0?this.toName():this.toRgbString():(de==="rgb"&&(le=this.toRgbString()),de==="prgb"&&(le=this.toPercentageRgbString()),(de==="hex"||de==="hex6")&&(le=this.toHexString()),de==="hex3"&&(le=this.toHexString(!0)),de==="hex4"&&(le=this.toHex8String(!0)),de==="hex8"&&(le=this.toHex8String()),de==="name"&&(le=this.toName()),de==="hsl"&&(le=this.toHslString()),de==="hsv"&&(le=this.toHsvString()),le||this.toHexString())},clone:function(){return a(this.toString())},_applyModification:function(de,Le){var le=de.apply(null,[this].concat([].slice.call(Le)));return this._r=le._r,this._g=le._g,this._b=le._b,this.setAlpha(le._a),this},lighten:function(){return this._applyModification(R,arguments)},brighten:function(){return this._applyModification(N,arguments)},darken:function(){return this._applyModification(B,arguments)},desaturate:function(){return this._applyModification(A,arguments)},saturate:function(){return this._applyModification(x,arguments)},greyscale:function(){return this._applyModification(T,arguments)},spin:function(){return this._applyModification(z,arguments)},_applyCombination:function(de,Le){return de.apply(null,[this].concat([].slice.call(Le)))},analogous:function(){return this._applyCombination(W,arguments)},complement:function(){return this._applyCombination(K,arguments)},monochromatic:function(){return this._applyCombination(H,arguments)},splitcomplement:function(){return this._applyCombination(V,arguments)},triad:function(){return this._applyCombination($,arguments)},tetrad:function(){return this._applyCombination(ie,arguments)}},a.fromRatio=function(de,Le){if(typeof de=="object"){var le={};for(var Ce in de)de.hasOwnProperty(Ce)&&(Ce==="a"?le[Ce]=de[Ce]:le[Ce]=Re(de[Ce]));de=le}return a(de,Le)};function l(de){var Le={r:0,g:0,b:0},le=1,Ce=null,Ne=null,Ee=null,Ie=!1,dt=!1;return typeof de=="string"&&(de=Pt(de)),typeof de=="object"&&(rt(de.r)&&rt(de.g)&&rt(de.b)?(Le=p(de.r,de.g,de.b),Ie=!0,dt=String(de.r).substr(-1)==="%"?"prgb":"rgb"):rt(de.h)&&rt(de.s)&&rt(de.v)?(Ce=Re(de.s),Ne=Re(de.v),Le=S(de.h,Ce,Ne),Ie=!0,dt="hsv"):rt(de.h)&&rt(de.s)&&rt(de.l)&&(Ce=Re(de.s),Ee=Re(de.l),Le=g(de.h,Ce,Ee),Ie=!0,dt="hsl"),de.hasOwnProperty("a")&&(le=de.a)),le=ne(le),{ok:Ie,format:de.format||dt,r:d(255,v(Le.r,0)),g:d(255,v(Le.g,0)),b:d(255,v(Le.b,0)),a:le}}function p(de,Le,le){return{r:X(de,255)*255,g:X(Le,255)*255,b:X(le,255)*255}}function h(de,Le,le){de=X(de,255),Le=X(Le,255),le=X(le,255);var Ce=v(de,Le,le),Ne=d(de,Le,le),Ee,Ie,dt=(Ce+Ne)/2;if(Ce==Ne)Ee=Ie=0;else{var xt=Ce-Ne;switch(Ie=dt>.5?xt/(2-Ce-Ne):xt/(Ce+Ne),Ce){case de:Ee=(Le-le)/xt+(Le1&&(Ot-=1),Ot<1/6?It+(gt-It)*6*Ot:Ot<1/2?gt:Ot<2/3?It+(gt-It)*(2/3-Ot)*6:It}if(Le===0)Ce=Ne=Ee=le;else{var dt=le<.5?le*(1+Le):le+Le-le*Le,xt=2*le-dt;Ce=Ie(xt,dt,de+1/3),Ne=Ie(xt,dt,de),Ee=Ie(xt,dt,de-1/3)}return{r:Ce*255,g:Ne*255,b:Ee*255}}function m(de,Le,le){de=X(de,255),Le=X(Le,255),le=X(le,255);var Ce=v(de,Le,le),Ne=d(de,Le,le),Ee,Ie,dt=Ce,xt=Ce-Ne;if(Ie=Ce===0?0:xt/Ce,Ce==Ne)Ee=0;else{switch(Ce){case de:Ee=(Le-le)/xt+(Le>1)+720)%360;--Le;)Ce.h=(Ce.h+Ne)%360,Ee.push(a(Ce));return Ee}function H(de,Le){Le=Le||6;for(var le=a(de).toHsv(),Ce=le.h,Ne=le.s,Ee=le.v,Ie=[],dt=1/Le;Le--;)Ie.push(a({h:Ce,s:Ne,v:Ee})),Ee=(Ee+dt)%1;return Ie}a.mix=function(de,Le,le){le=le===0?0:le||50;var Ce=a(de).toRgb(),Ne=a(Le).toRgb(),Ee=le/100,Ie={r:(Ne.r-Ce.r)*Ee+Ce.r,g:(Ne.g-Ce.g)*Ee+Ce.g,b:(Ne.b-Ce.b)*Ee+Ce.b,a:(Ne.a-Ce.a)*Ee+Ce.a};return a(Ie)},a.readability=function(de,Le){var le=a(de),Ce=a(Le);return(n.max(le.getLuminance(),Ce.getLuminance())+.05)/(n.min(le.getLuminance(),Ce.getLuminance())+.05)},a.isReadable=function(de,Le,le){var Ce=a.readability(de,Le),Ne,Ee;switch(Ee=!1,Ne=Wt(le),Ne.level+Ne.size){case"AAsmall":case"AAAlarge":Ee=Ce>=4.5;break;case"AAlarge":Ee=Ce>=3;break;case"AAAsmall":Ee=Ce>=7;break}return Ee},a.mostReadable=function(de,Le,le){var Ce=null,Ne=0,Ee,Ie,dt,xt;le=le||{},Ie=le.includeFallbackColors,dt=le.level,xt=le.size;for(var It=0;ItNe&&(Ne=Ee,Ce=a(Le[It]));return a.isReadable(de,Ce,{level:dt,size:xt})||!Ie?Ce:(le.includeFallbackColors=!1,a.mostReadable(de,["#fff","#000"],le))};var k=a.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},J=a.hexNames=ae(k);function ae(de){var Le={};for(var le in de)de.hasOwnProperty(le)&&(Le[de[le]]=le);return Le}function ne(de){return de=parseFloat(de),(isNaN(de)||de<0||de>1)&&(de=1),de}function X(de,Le){te(de)&&(de="100%");var le=oe(de);return de=d(Le,v(0,parseFloat(de))),le&&(de=parseInt(de*Le,10)/100),n.abs(de-Le)<1e-6?1:de%Le/parseFloat(Le)}function re(de){return d(1,v(0,de))}function Z(de){return parseInt(de,16)}function te(de){return typeof de=="string"&&de.indexOf(".")!=-1&&parseFloat(de)===1}function oe(de){return typeof de=="string"&&de.indexOf("%")!=-1}function Se(de){return de.length==1?"0"+de:""+de}function Re(de){return de<=1&&(de=de*100+"%"),de}function Ke(de){return n.round(parseFloat(de)*255).toString(16)}function Qe(de){return Z(de)/255}var Je=function(){var de="[-\\+]?\\d+%?",Le="[-\\+]?\\d*\\.\\d+%?",le="(?:"+Le+")|(?:"+de+")",Ce="[\\s|\\(]+("+le+")[,|\\s]+("+le+")[,|\\s]+("+le+")\\s*\\)?",Ne="[\\s|\\(]+("+le+")[,|\\s]+("+le+")[,|\\s]+("+le+")[,|\\s]+("+le+")\\s*\\)?";return{CSS_UNIT:new RegExp(le),rgb:new RegExp("rgb"+Ce),rgba:new RegExp("rgba"+Ne),hsl:new RegExp("hsl"+Ce),hsla:new RegExp("hsla"+Ne),hsv:new RegExp("hsv"+Ce),hsva:new RegExp("hsva"+Ne),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/}}();function rt(de){return!!Je.CSS_UNIT.exec(de)}function Pt(de){de=de.replace(i,"").replace(t,"").toLowerCase();var Le=!1;if(k[de])de=k[de],Le=!0;else if(de=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var le;return(le=Je.rgb.exec(de))?{r:le[1],g:le[2],b:le[3]}:(le=Je.rgba.exec(de))?{r:le[1],g:le[2],b:le[3],a:le[4]}:(le=Je.hsl.exec(de))?{h:le[1],s:le[2],l:le[3]}:(le=Je.hsla.exec(de))?{h:le[1],s:le[2],l:le[3],a:le[4]}:(le=Je.hsv.exec(de))?{h:le[1],s:le[2],v:le[3]}:(le=Je.hsva.exec(de))?{h:le[1],s:le[2],v:le[3],a:le[4]}:(le=Je.hex8.exec(de))?{r:Z(le[1]),g:Z(le[2]),b:Z(le[3]),a:Qe(le[4]),format:Le?"name":"hex8"}:(le=Je.hex6.exec(de))?{r:Z(le[1]),g:Z(le[2]),b:Z(le[3]),format:Le?"name":"hex"}:(le=Je.hex4.exec(de))?{r:Z(le[1]+""+le[1]),g:Z(le[2]+""+le[2]),b:Z(le[3]+""+le[3]),a:Qe(le[4]+""+le[4]),format:Le?"name":"hex8"}:(le=Je.hex3.exec(de))?{r:Z(le[1]+""+le[1]),g:Z(le[2]+""+le[2]),b:Z(le[3]+""+le[3]),format:Le?"name":"hex"}:!1}function Wt(de){var Le,le;return de=de||{level:"AA",size:"small"},Le=(de.level||"AA").toUpperCase(),le=(de.size||"small").toLowerCase(),Le!=="AA"&&Le!=="AAA"&&(Le="AA"),le!=="small"&&le!=="large"&&(le="small"),{level:Le,size:le}}y.exports?y.exports=a:(o=function(){return a}.call(c,e,c,y),o!==void 0&&(y.exports=o))})(Math)},75857:function(y){"use strict";function c(){var e=[],o=!1,n={},i=function(d){var v=e.indexOf(d);if(!(v<0)){if(o){n[v]=d;return}e.splice(v,1)}},t=function(d){var v=e.push(d),u=function(){return i(d)};return{dispose:u}},r=function(){for(var d=arguments.length,v=Array(d),u=0;u=Re)return Je;switch(Je){case"%s":return String(Se[oe++]);case"%d":return Number(Se[oe++]);case"%j":try{return JSON.stringify(Se[oe++])}catch(rt){return"[Circular]"}default:return Je}}),Qe=Se[oe];oe=3&&(oe.depth=arguments[2]),arguments.length>=4&&(oe.colors=arguments[3]),C(te)?oe.showHidden=te:te&&c._extend(oe,te),N(oe.showHidden)&&(oe.showHidden=!1),N(oe.depth)&&(oe.depth=2),N(oe.colors)&&(oe.colors=!1),N(oe.customInspect)&&(oe.customInspect=!0),oe.colors&&(oe.stylize=v),l(oe,Z,oe.depth)}c.inspect=d,d.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},d.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function v(Z,te){var oe=d.styles[te];return oe?"\x1B["+d.colors[oe][0]+"m"+Z+"\x1B["+d.colors[oe][1]+"m":Z}function u(Z,te){return Z}function a(Z){var te={};return Z.forEach(function(oe,Se){te[oe]=!0}),te}function l(Z,te,oe){if(Z.customInspect&&te&&ie(te.inspect)&&te.inspect!==c.inspect&&!(te.constructor&&te.constructor.prototype===te)){var Se=te.inspect(oe,Z);return T(Se)||(Se=l(Z,Se,oe)),Se}var Re=p(Z,te);if(Re)return Re;var Ke=Object.keys(te),Qe=a(Ke);if(Z.showHidden&&(Ke=Object.getOwnPropertyNames(te)),$(te)&&(Ke.indexOf("message")>=0||Ke.indexOf("description")>=0))return h(te);if(Ke.length===0){if(ie(te)){var Je=te.name?": "+te.name:"";return Z.stylize("[Function"+Je+"]","special")}if(B(te))return Z.stylize(RegExp.prototype.toString.call(te),"regexp");if(K(te))return Z.stylize(Date.prototype.toString.call(te),"date");if($(te))return h(te)}var rt="",Pt=!1,Wt=["{","}"];if(_(te)&&(Pt=!0,Wt=["[","]"]),ie(te)){var de=te.name?": "+te.name:"";rt=" [Function"+de+"]"}if(B(te)&&(rt=" "+RegExp.prototype.toString.call(te)),K(te)&&(rt=" "+Date.prototype.toUTCString.call(te)),$(te)&&(rt=" "+h(te)),Ke.length===0&&(!Pt||te.length==0))return Wt[0]+rt+Wt[1];if(oe<0)return B(te)?Z.stylize(RegExp.prototype.toString.call(te),"regexp"):Z.stylize("[Object]","special");Z.seen.push(te);var Le;return Pt?Le=g(Z,te,oe,Qe,Ke):Le=Ke.map(function(le){return m(Z,te,oe,Qe,le,Pt)}),Z.seen.pop(),S(Le,rt,Wt)}function p(Z,te){if(N(te))return Z.stylize("undefined","undefined");if(T(te)){var oe="'"+JSON.stringify(te).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return Z.stylize(oe,"string")}if(x(te))return Z.stylize(""+te,"number");if(C(te))return Z.stylize(""+te,"boolean");if(O(te))return Z.stylize("null","null")}function h(Z){return"["+Error.prototype.toString.call(Z)+"]"}function g(Z,te,oe,Se,Re){for(var Ke=[],Qe=0,Je=te.length;Qe-1&&(Ke?Je=Je.split("\n").map(function(Pt){return" "+Pt}).join("\n").slice(2):Je="\n"+Je.split("\n").map(function(Pt){return" "+Pt}).join("\n"))):Je=Z.stylize("[Circular]","special")),N(Qe)){if(Ke&&Re.match(/^\d+$/))return Je;Qe=JSON.stringify(""+Re),Qe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Qe=Qe.slice(1,-1),Qe=Z.stylize(Qe,"name")):(Qe=Qe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Qe=Z.stylize(Qe,"string"))}return Qe+": "+Je}function S(Z,te,oe){var Se=0,Re=Z.reduce(function(Ke,Qe){return Se++,Qe.indexOf("\n")>=0&&Se++,Ke+Qe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return Re>60?oe[0]+(te===""?"":te+"\n ")+" "+Z.join(",\n ")+" "+oe[1]:oe[0]+te+" "+Z.join(", ")+" "+oe[1]}c.types=e(18613);function _(Z){return Array.isArray(Z)}c.isArray=_;function C(Z){return typeof Z=="boolean"}c.isBoolean=C;function O(Z){return Z===null}c.isNull=O;function A(Z){return Z==null}c.isNullOrUndefined=A;function x(Z){return typeof Z=="number"}c.isNumber=x;function T(Z){return typeof Z=="string"}c.isString=T;function R(Z){return typeof Z=="symbol"}c.isSymbol=R;function N(Z){return Z===void 0}c.isUndefined=N;function B(Z){return z(Z)&&W(Z)==="[object RegExp]"}c.isRegExp=B,c.types.isRegExp=B;function z(Z){return typeof Z=="object"&&Z!==null}c.isObject=z;function K(Z){return z(Z)&&W(Z)==="[object Date]"}c.isDate=K,c.types.isDate=K;function $(Z){return z(Z)&&(W(Z)==="[object Error]"||Z instanceof Error)}c.isError=$,c.types.isNativeError=$;function ie(Z){return typeof Z=="function"}c.isFunction=ie;function V(Z){return Z===null||typeof Z=="boolean"||typeof Z=="number"||typeof Z=="string"||typeof Z=="symbol"||typeof Z=="undefined"}c.isPrimitive=V,c.isBuffer=e(179107);function W(Z){return Object.prototype.toString.call(Z)}function H(Z){return Z<10?"0"+Z.toString(10):Z.toString(10)}var k=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function J(){var Z=new Date,te=[H(Z.getHours()),H(Z.getMinutes()),H(Z.getSeconds())].join(":");return[Z.getDate(),k[Z.getMonth()],te].join(" ")}c.log=function(){console.log("%s - %s",J(),c.format.apply(c,arguments))},c.inherits=e(235546),c._extend=function(Z,te){if(!te||!z(te))return Z;for(var oe=Object.keys(te),Se=oe.length;Se--;)Z[oe[Se]]=te[oe[Se]];return Z};function ae(Z,te){return Object.prototype.hasOwnProperty.call(Z,te)}var ne=typeof Symbol!="undefined"?Symbol("util.promisify.custom"):void 0;c.promisify=function(te){if(typeof te!="function")throw new TypeError('The "original" argument must be of type Function');if(ne&&te[ne]){var oe=te[ne];if(typeof oe!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(oe,ne,{value:oe,enumerable:!1,writable:!1,configurable:!0}),oe}function oe(){for(var Se,Re,Ke=new Promise(function(rt,Pt){Se=rt,Re=Pt}),Qe=[],Je=0;Je-1?C:C!=="Object"?!1:m(_)}return r?g(_):null}},245090:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.setI18nInstance=c.getI18nInstance=void 0,e(392338);var o=e(308938),n="commerce-afterpay";function i(d){return e(88685)("./".concat(n,".").concat(d,".yaml"))}var t=(0,o.setupLibrary)(n,i),r=c.getI18nInstance=t.getI18nInstance,s=c.setI18nInstance=t.setI18nInstance},88685:function(y,c,e){var o={"./commerce-afterpay.en-US.yaml":763399,"src/main/webapp/frontend/packages/commerce-afterpay/sqs-i18n-translations/strings/commerce-afterpay.en-US.yaml":763399};function n(t){var r=i(t);return e(r)}function i(t){if(!e.o(o,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return o[t]}n.keys=function(){return Object.keys(o)},n.resolve=i,y.exports=n,n.id=88685},358322:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.setI18nInstance=c.getI18nInstance=void 0,e(392338);var o=e(308938),n="commerce.utils";function i(d){return e(268449)("./".concat(n,".").concat(d,".yaml"))}var t=(0,o.setupLibrary)(n,i),r=c.getI18nInstance=t.getI18nInstance,s=c.setI18nInstance=t.setI18nInstance},268449:function(y,c,e){var o={"./commerce.utils.en-US.yaml":492869,"src/main/webapp/frontend/packages/commerce-utils/sqs-i18n-translations/strings/commerce.utils.en-US.yaml":492869};function n(t){var r=i(t);return e(r)}function i(t){if(!e.o(o,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return o[t]}n.keys=function(){return Object.keys(o)},n.resolve=i,y.exports=n,n.id=268449},789204:function(y,c,e){"use strict";e.r(c),e.d(c,{TextAttributeId:function(){return Ur},TextHighlightMarkClassName:function(){return Ir},TextShape:function(){return wi},scaleAllTextInNode:function(){return i}});var o=e(392338);function n(ze){if(ze){var me=ze.parentElement;if(me){var we=Array.from(me.querySelectorAll(".sqsrte-scaled-text-container"));we.forEach(function(Ue){Ue.classList.remove("loaded")}),we.forEach(function(Ue){var tt=Ue.getBoundingClientRect().width,mt=Ue.querySelector(".sqsrte-scaled-text"),At=window.getComputedStyle(mt),Ct=At.fontSize,Jt=parseFloat(Ct),Nt=mt.getBoundingClientRect(),Tn=Nt.width,_t=tt/Tn;mt.style.fontSize="".concat(Math.round(_t*Jt*10)/10,"px"),Ue.classList.add("loaded")})}}}var i=n,t=e(858240),r=e.n(t),s=e(4636),d=e.n(s),v=e(346797),u=e.n(v),a=e(708380),l=e(749189),p=e(210750),h=e.n(p),g=e(569644),m=e.n(g),S=e(976003),_=e.n(S);function C(ze){return ze&&ze.constructor&&ze.constructor.name==="Object"}function O(ze,me){return!ze&&!me||Array.isArray(ze)&&Array.isArray(me)||C(ze)&&C(me)||typeof ze=="string"&&typeof me=="string"||!isNaN(ze)&&!isNaN(me)}function A(ze){var me=ze.newPointer,we=ze.oldPointer,Ue=new Set;return me.forEach(function(tt){we.includes(tt)||Ue.add(tt)}),Array.isArray(we)&&we.forEach(function(tt){me.includes(tt)||Ue.add(tt)}),Array.from(Ue)}function x(ze,me){var we=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";if(m()(ze)!=="object"||m()(me)!=="object")throw new Error("".concat(x.name," parameters must be Arrays or Objects, received: ").concat(ze," and ").concat(me));if(!_()(ze,me)){if(Array.isArray(ze)&&Array.isArray(me))return A({newPointer:ze,oldPointer:me});var Ue=Object.keys(ze),tt=Ue.map(function(At){var Ct=ze[At],Jt=me[At];if(!O(Ct,Jt))return"".concat(we).concat(At);if(C(Ct)&&C(Jt))return x(Ct,Jt,"".concat(we).concat(At,"."));if(Array.isArray(Ct)){if(_()(Ct,Jt))return null;var Nt=A({newPointer:Ct,oldPointer:Jt});return"".concat(we).concat(At,"[").concat(Nt,"]")}return _()(Ct,Jt)?null:"".concat(we).concat(At)}).filter(function(At){return!!At}),mt=A({newPointer:Object.keys(ze),oldPointer:Object.keys(me)});return mt.forEach(function(At){tt.includes("".concat(we).concat(At))||tt.push("".concat(we).concat(At))}),tt.flat()}return[]}var T=x,R=e(699467),N=e.n(R),B=e(506051),z=e.n(B),K=e(721854),$=e.n(K),ie=e(375798),V=e.n(ie),W=function(me){return"".concat(me,"")},H=function(){var me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"M0,0";return'')},k=function(me,we){var Ue=we[0]-me[0],tt=we[1]-me[1];return{length:Math.sqrt(Math.pow(Ue,2)+Math.pow(tt,2)),angle:Math.atan2(tt,Ue)}},J=function(me,we){return function(Ue,tt,mt,At){var Ct=tt||Ue,Jt=mt||Ue,Nt=me(Ct,Jt),Tn=Nt.angle+(At?Math.PI:0),_t=Nt.length*.5*we,vt=Ue[0]+Math.cos(Tn)*_t,St=Ue[1]+Math.sin(Tn)*_t;return[vt,St]}},ae=function(me){var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(Ue,tt,mt){var At=V()(mt[tt-1],2),Ct=At[0],Jt=At[1],Nt=me(mt[tt-1],mt[tt-2],Ue),Tn=me(Ue,mt[tt-1],mt[tt+1],!0),_t=we&&tt===mt.length-1?" z":"";return"c ".concat(Nt[0]-Ct,",").concat(Nt[1]-Jt," ").concat(Tn[0]-Ct,",").concat(Tn[1]-Jt," ").concat(Ue[0]-Ct,",").concat(Ue[1]-Jt).concat(_t)}},ne=function(me,we){var Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return me.reduce(function(tt,mt,At,Ct){return At===0?Ue?"":"M ".concat(mt[0],",").concat(mt[1]):"".concat(tt," ").concat(we(mt,At,Ct))},"")};function X(ze,me){var we=Object.keys(ze);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(ze);me&&(Ue=Ue.filter(function(tt){return Object.getOwnPropertyDescriptor(ze,tt).enumerable})),we.push.apply(we,Ue)}return we}function re(ze){for(var me=1;me0&&arguments[0]!==void 0?arguments[0]:{};this.state=kn(kn({},this.state),we);var Ue=this.state,tt=Ue.id,mt=Ue.isFront,At=Ue.shape,Ct=Ue.color,Jt=Ue.thickness,Nt=Ue.linecap,Tn=Ue.fontSize,_t=Ue.blend,vt=Ue.opacity;this.node.dataset.textAttributeId=tt,this.node.dataset.shape=At,this.node.dataset.fontSize=Tn,this.node.dataset.isFront=mt,Object.assign(this.node.style,{fontSize:"".concat(Tn,"px")}),this.uniforms.fontSize.value=Tn,this.uniforms.thickness.value=Jt.unit==="em"?Tn*parseFloat(Jt.value):Jt.value,vn(this.node.style,{"--stroke":Ct,"--stroke-width":"".concat(Jt.value).concat(Jt.unit),"--stroke-linecap":Nt,"--stroke-linejoin":Nt==="round"?"round":"bevel","--blend":_t,"--opacity":vt}),At!==this.currentShapeType&&this.createShape(At)}},{key:"createShape",value:function(we){this.shape&&this.shape.destroy(),this.currentShapeType=we,this.shape=jt[we]?new jt[we](this.node,{uniforms:this.uniforms}):null}},{key:"setSizeAndPosition",value:function(we,Ue,tt){var mt=1/tt,At=this.uniforms.thickness.value-this.uniforms.fontSize.value*.25,Ct=Math.round(we.width*mt-At),Jt=Math.round(we.height*mt),Nt=we.x*mt,Tn=we.y*mt,_t=Ue.x*mt,vt=Ue.y*mt;this.node.dataset.index=we.index,Object.assign(this.node.style,{width:"".concat(Ct,"px"),height:"".concat(Jt,"px"),left:"".concat(Math.round(Nt-_t+At*.5),"px"),top:"".concat(Math.round(Tn-vt),"px")}),this.shape&&this.shape.setSize(Ct,Jt)}},{key:"update",value:function(){var we=this.state.animation,Ue=this.uniforms.progressReveal,tt=we==="fadeScale"?.5+Ue.value*.5:1;this.node.style.opacity=Ue.value,this.node.style.transform="scale(".concat(tt,")"),this.shape&&this.shape.update()}},{key:"destroy",value:function(){this.shape&&(this.shape.destroy(),delete this.shape),this.node.remove(),delete this.node,delete this.container}}]),ze}();or.defaultState={};var ci=e(860921),Jr=e.n(ci),fa=e(700436),Mr=e.n(fa),Zi=e(177928),Gr=e.n(Zi);function Pe(ze,me){var we=Object.keys(ze);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(ze);me&&(Ue=Ue.filter(function(tt){return Object.getOwnPropertyDescriptor(ze,tt).enumerable})),we.push.apply(we,Ue)}return we}function cn(ze){for(var me=1;me1&&arguments[1]!==void 0?arguments[1]:0,Ue=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,tt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return-Ue*(me/=tt)*(me-2)+we},zi=function(me){return me<.5?2*me*me:-1+(4-2*me)*me};function Yr(ze,me,we){return me=z()(me),N()(ze,qr()?Reflect.construct(me,we||[],z()(ze).constructor):me.apply(ze,we))}function qr(){try{var ze=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(me){}return(qr=function(){return!!ze})()}var Yi=function(ze){$()(me,ze);function me(we){var Ue;r()(this,me),Ue=Yr(this,me,[we]),u()(Gr()(Ue),"tick",function(){var mt=Ue.props,At=mt.ease,Ct=mt.from,Jt=mt.to,Nt=mt.duration,Tn=mt.onUpdate,_t=mt.onComplete,vt=Date.now()-Ue.lastUpdate;if(Ue.lastUpdate+=vt,Ue.time=(Ue.lastUpdate-Ue.startTime)/1e3,Ue.time>Nt&&(Ue.time=Nt),Tn(pr(Ct,Jt,At(Ue.time/Nt))),Ue.time>=Nt){_t(Jt);return}Ue.frame=requestAnimationFrame(Ue.tick)});var tt=Ue.props.autoStart;return Ue.state={isActive:!1},Ue.startTime=null,Ue.lastUpdate=null,Ue.frame=null,tt&&Ue.start(),Ue}return d()(me,[{key:"start",value:function(){this.state.isActive||(this.setState({isActive:!0}),this.startTime=Date.now(),this.lastUpdate=this.startTime,this.frame=requestAnimationFrame(this.tick))}},{key:"destroy",value:function(){cancelAnimationFrame(this.frame)}}]),me}(Lr);u()(Yi,"defaultProps",{autoStart:!0,ease:fi,duration:1,from:0,to:0,onUpdate:Jr(),onComplete:Jr()});function Zn(ze,me){var we=Object.keys(ze);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(ze);me&&(Ue=Ue.filter(function(tt){return Object.getOwnPropertyDescriptor(ze,tt).enumerable})),we.push.apply(we,Ue)}return we}function sr(ze){for(var me=1;me0&&arguments[0]!==void 0?arguments[0]:{},Ue=sr(sr({},this.config),we),tt=T(this.config,Ue);tt.length&&(this.config=sr({},Ue))}},{key:"ready",value:function(){var we=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,Ue=this.props.onUpdate;this.reset(),Ue(),this.timeout.ready=setTimeout(this.initAnimation,we)}},{key:"setInitialState",value:function(){var we=this.config,Ue=we.isAnimationEnabled,tt=we.animation,mt=we.direction;if(Ue&&tt==="draw"){this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=mt==="right"?-1:1;return}if(Ue&&(tt==="fade"||tt==="fadeScale")){this.uniforms.progressReveal.value=0,this.uniforms.progressDraw.value=0;return}this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=0}},{key:"reset",value:function(){var we=this.props.onUpdate;clearTimeout(this.timeout.ready),this.destroyTween(),this.setInitialState(),we()}},{key:"animateTo",value:function(we){var Ue=this.config,tt=Ue.animation,mt=Ue.duration;if(this.destroyTween(),tt==="draw"){var At=Mr()(Math.abs(this.uniforms.progressDraw.value-we),.2,1);this.tween=new Yi({duration:mt*At,from:this.uniforms.progressDraw.value,to:we,onUpdate:this.onUpdateDraw,onComplete:this.onAnimationComplete});return}var Ct=1-Math.abs(we),Jt=Mr()(Math.abs(this.uniforms.progressReveal.value-Ct),.2,1);this.tween=new Yi({duration:mt*Jt,from:this.uniforms.progressReveal.value,to:Ct,onUpdate:this.onUpdateReveal,onComplete:this.onAnimationComplete})}},{key:"destroyTween",value:function(){this.tween&&(this.tween.destroy(),this.tween=null)}},{key:"destroy",value:function(){var we;this.destroyTween(),(we=this.timeout)!==null&&we!==void 0&&we.ready&&clearTimeout(this.timeout.ready)}}]),ze}();ur.defaultProps={config:{},onUpdate:Jr(),uniforms:{}};var Nr=e(24115),di=function(me){for(var we=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,Ue=[],tt=document.createTreeWalker(me,NodeFilter.SHOW_TEXT,null,!1),mt;mt=tt.nextNode();)we&&!mt.parentNode.closest(we)&&Ue.push(mt);return Ue};function qi(ze){var me=Array.from(ze.getClientRects());return me.map(Xn)}function ei(ze,me){return me.reduce(function(we,Ue){return st()(Ue.textContent.matchAll(/ /g)).forEach(function(tt){ze.setStart(Ue,tt.index),ze.setEnd(Ue,tt.index+1),we.push(Xn(ze.getBoundingClientRect()))}),we},[])}function Qt(ze){var me=xr(ze.commonAncestorContainer),we=me.closest(".catalog-entry-container");if(!we)return 1;var Ue=window.getComputedStyle(we),tt=new DOMMatrix(Ue.transform),mt=tt.a||1;return mt}var da=function(me,we){var Ue=me.reduce(function(mt,At){var Ct=mt.rows[mt.rowIndex];return(!Ct||Ct.y!==At.y&&(Ct.yAt.y+At.height)&&Math.abs(Ct.endX-At.x)>1)&&(mt.rowIndex+=1,mt.rows[mt.rowIndex]={left:At.left,right:At.right,top:At.top,bottom:At.bottom,x:At.x,endX:At.x,y:At.y,width:0,height:At.height},Ct=mt.rows[mt.rowIndex]),Ct.endX=Math.max(Ct.endX,At.right),Ct.width=Math.max(0,Ct.endX-Ct.x),mt},{rowIndex:-1,rows:[]}),tt=Ue.rows;return tt.sort(function(mt,At){return At.width-mt.width}).sort(function(mt,At){return At.y-mt.y}),tt=tt.reduce(function(mt,At){if(mt.length){var Ct=mt[mt.length-1];if(At.y===Ct.y&&At.x===Ct.x||At.y===Ct.y&&At.endX===Ct.endX)return mt}var Jt=we.findIndex(function(Nt){return At.endX===Nt.right&&At.y===Nt.y});return~Jt&&(At.width-=we[Jt].width),mt.push(At),mt},[]),tt},Ri=function(me){if(!me||!me.length)return[];var we=document.createRange();we.setStart(me[0],0),we.setEnd(me[me.length-1],me[me.length-1].length);var Ue=qi(we),tt=Qt(we),mt=ei(we,me),At=da(Ue,mt);return we.detach(),{scale:tt,rowRects:At.reverse().map(function(Ct,Jt){return Ct.index=Jt,Ct})}};function vi(ze,me){var we=Object.keys(ze);if(Object.getOwnPropertySymbols){var Ue=Object.getOwnPropertySymbols(ze);me&&(Ue=Ue.filter(function(tt){return Object.getOwnPropertyDescriptor(ze,tt).enumerable})),we.push.apply(we,Ue)}return we}function lr(ze){for(var me=1;me0&&arguments[0]!==void 0?arguments[0]:{},Ue=lr(lr({},ze.defaultState),we);return typeof Ue.duration=="string"&&(Ue.duration=parseInt(Ue.duration,10)),Ue}},{key:"onStateChange",value:function(){var we=this,Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},tt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,mt=this.getStateFromProps(lr(lr({},this.state),Ue)),At=T(this.state,mt);if(this.state=lr(lr({},this.state),mt),this.rowsPool.forEach(function(vt){return vt.onUpdateState(we.state)}),!(!tt||!At.length)){var Ct=this.state,Jt=Ct.isAnimationEnabled,Nt=Ct.animation,Tn=Ct.direction,_t=Ct.duration;this.animation.setConfig({isAnimationEnabled:Jt,animation:Nt,direction:Tn,duration:_t}),ea(At)&&this.animation.ready(0),this.onMutation()}}},{key:"bindListeners",value:function(){a.default.on(this.onResized,0),this.intersectionScroll=new l.default(this.node,{onIntersection:this.onIntersection,normalize:!1}),this.parentNode.addEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.addEventListener("transitionend",this.onGlobalAnimationEnd),window.ResizeObserver&&(this.observerResize=new ResizeObserver(this.onMutation),this.observerResize.observe(this.container),this.observerResize.observe(this.node)),window.MutationObserver&&(this.observerMutation=new MutationObserver(this.onMutation),this.observerMutation.observe(this.node,{attributes:!0,childList:!0,subtree:!0})),this.mediaQueryList=window.matchMedia("(prefers-reduced-motion: no-preference)"),this.mediaQueryList.addEventListener?this.mediaQueryList.addEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.addListener(this.onPrefersReducedMotionChange)}},{key:"unbindListeners",value:function(){this.parentNode.removeEventListener("transitionstart",this.onGlobalAnimationStart),this.parentNode.removeEventListener("transitionend",this.onGlobalAnimationEnd),this.destroyIntersectionScroll(),this.observerResize&&(this.observerResize.disconnect(),this.observerResize=null),this.observerMutation&&(this.observerMutation.disconnect(),this.observerMutation=null),a.default.off(this.onResized),this.mediaQueryList.removeEventListener?this.mediaQueryList.removeEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.removeListener(this.onPrefersReducedMotionChange)}},{key:"startGlobalAnimationWatch",value:function(){var we=this;clearTimeout(this.timeoutGlobalAnimation),this.timeoutGlobalAnimation=setTimeout(function(){we.isTickingGlobalAnimation=!1},2e3),!this.isTickingGlobalAnimation&&(this.animation.ready(0),this.isTickingGlobalAnimation=!0,this.rAFID=requestAnimationFrame(this.tickSyncGlobalAnimation))}},{key:"refreshFontSize",value:function(){var we=window.getComputedStyle(this.node),Ue=parseInt(we.fontSize);Number.isNaN(Ue)||this.onStateChange({fontSize:Ue},!1)}},{key:"refreshTextNodes",value:function(){var we=this.node.ownerDocument;if(!we.contains(this.node)){var Ue=this.container.getAttribute("id"),tt=this.node.getAttribute("data-text-attribute-id"),mt=we.querySelector('[id="'.concat(Ue,'"]')),At=mt&&mt.querySelector('.sqsrte-text-highlight[data-text-attribute-id="'.concat(tt,'"]'));At&&(this.container=mt,this.node=At)}this.textNodes=di(this.node,".TextShape-node")}},{key:"refreshRows",value:function(){this.refreshTextNodes();var we=this.container.getBoundingClientRect(),Ue=Ri(this.textNodes),tt=Ue.rowRects,mt=Ue.scale,At=this.rowsPool.splice(tt.length);At.forEach(function(_t){return _t.destroy()});for(var Ct=0,Jt=tt.length;Ct0&&arguments[0]!==void 0?arguments[0]:window;if(typeof h=="string"){var g=new URL(h);return g.hostname}return(u=(a=(l=h.Static)===null||l===void 0||(l=l.SQUARESPACE_CONTEXT)===null||l===void 0?void 0:l.appDomain)!==null&&a!==void 0?a:(p=h.location)===null||p===void 0?void 0:p.host)!==null&&u!==void 0?u:""},t=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/\.(sqsp|squarespace)\.net$/.test(i(u))},r=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/stage\.(sqsp|squarespace)\.net$/.test(i(u))},s=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/qa[0-9]+\.(sqsp|squarespace)\.net$/.test(i(u))},d=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/dev\.(sqsp|squarespace)\.net$/.test(i(u))}},398784:function(y,c,e){"use strict";e.r(c),e.d(c,{exclude:function(){return Re},fireEvent:function(){return ne},getIsFullStoryEligible:function(){return re},injectFullStoryScript:function(){return te},mask:function(){return Se},unmask:function(){return oe}});var o=e(385870),n=e.n(o),i=e(544257),t=e.n(i),r=e(461761),s=e.n(r),d=e(547740),v=e.n(d),u=e(476888),a=e(808847),l=e(221006),p=e(392338),h=e(87994),g=function(Qe){var Je,rt=h.context===null||h.context===void 0||(Je=h.context.websiteSettings)===null||Je===void 0?void 0:Je.country;return rt?Qe.includes(rt):!1},m=function(Qe){var Je=Intl.DateTimeFormat().resolvedOptions().timeZone;return Je?Qe.some(function(rt){return Je.startsWith(rt)}):!1},S=e(346797),_=e.n(S),C=e(375798),O=e.n(C),A=e(217111),x=e.n(A);function T(Ke,Qe){var Je=Object.keys(Ke);if(Object.getOwnPropertySymbols){var rt=Object.getOwnPropertySymbols(Ke);Qe&&(rt=rt.filter(function(Pt){return Object.getOwnPropertyDescriptor(Ke,Pt).enumerable})),Je.push.apply(Je,rt)}return Je}function R(Ke){for(var Qe=1;Qe1&&arguments[1]!==void 0?arguments[1]:l.EXPLICIT,N='script[src*="https://www.google.com/recaptcha/enterprise.js"]',B=T.document.querySelector(N);if(B){B.remove();var z=T.document.querySelector("#forms-grecaptcha-badge-style"),K=T.document.querySelector(".grecaptcha-badge");z==null||z.remove(),K==null||K.remove()}else if(T.__grecaptchaOnLoadPromise)return T.__grecaptchaOnLoadPromise;return T.__grecaptchaOnLoadPromise=new Promise(function($,ie){T.__grecaptchaOnLoadCallback=function(){return $()},T.document?(0,r.Z)(v+R,{doc:T.document}).catch(ie):ie("[GoogleReCaptchaAPI] Document was destroyed")}),T.__grecaptchaOnLoadPromise}function h(T,R){var N=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},B=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{customSiteKey:""},z=B.customSiteKey||a(T);if(z)return p(T).then(function(){var K;if(!R||R.getAttribute(u)||T.document!==R.ownerDocument||!(R!=null&&(K=R.ownerDocument)!==null&&K!==void 0&&K.defaultView)||!T.grecaptcha){console.error("Error rendering captcha into node",{node:R});return}var $=R.clientWidth<320?"compact":"normal",ie=T.grecaptcha.render(R,d({sitekey:z,size:$},N),!0);R.setAttribute(u,"".concat(ie)),R.classList.add("rendered")})}function g(T){if(T.document){var R=T.document.querySelectorAll(".captcha-container:not('.rendered')");Array.from(R).forEach(function(N){return h(T,N)})}}function m(T,R){var N=R.getAttribute(u);if(!(!N||!T.grecaptcha))return T.grecaptcha.getResponse(parseFloat(N))}function S(T){return T.grecaptcha?Promise.resolve(T.grecaptcha.execute()):Promise.reject({error:"ReCaptcha has not been set up!"})}function _(T,R){var N=R.getAttribute(u);return N?T.grecaptcha?Promise.resolve(T.grecaptcha.execute(parseFloat(N))):Promise.reject({error:"ReCaptcha has not been set up!"}):Promise.resolve()}function C(T,R){var N=R.getAttribute(u);!N||!T.grecaptcha||T.grecaptcha.reset(parseFloat(N))}function O(T){T&&T.grecaptcha&&T.grecaptcha.reset()}function A(T,R){var N=R.querySelector(".captcha-container");return a(T)?N:null}function x(T){for(;T.firstChild;)T.removeChild(T.firstChild);T.removeAttribute(u)}},204482:function(y,c,e){"use strict";e.r(c),e.d(c,{hasShiftModifierKey:function(){return H},isAlphanumericKey:function(){return $},isArrowDownKey:function(){return O},isArrowLeftKey:function(){return x},isArrowRightKey:function(){return T},isArrowUpKey:function(){return A},isBackspaceKey:function(){return N},isCommaKey:function(){return ie},isDeleteKey:function(){return B},isEnterKey:function(){return R},isEscapeKey:function(){return z},isNumericKey:function(){return K},isSlashKey:function(){return W},isSpaceBar:function(){return V},isTabKey:function(){return _},isTabKeyWithShift:function(){return C}});var o=9,n=13,i=38,t=40,r=37,s=39,d=8,v=46,u=48,a=57,l=65,p=90,h=27,g=188,m=191,S=32,_=function(J){return J.keyCode===o&&!J.shiftKey},C=function(J){return J.keyCode===o&&J.shiftKey},O=function(J){return J.keyCode===t},A=function(J){return J.keyCode===i},x=function(J){return J.keyCode===r},T=function(J){return J.keyCode===s},R=function(J){var ae=J.keyCode;return ae===n},N=function(J){var ae=J.keyCode;return ae===d},B=function(J){var ae=J.keyCode;return ae===v},z=function(J){var ae=J.keyCode;return ae===h},K=function(J){var ae=J.keyCode;return u<=ae&&ae<=a},$=function(J){var ae=J.keyCode;return K(J)||l<=ae&&ae<=p},ie=function(J){var ae=J.keyCode;return ae===g},V=function(J){var ae=J.keyCode;return ae===S},W=function(J){var ae=J.keyCode;return ae===m},H=function(J){var ae=J.shiftKey;return ae}},723796:function(y,c,e){"use strict";e.d(c,{$S:function(){return a},Em:function(){return m},FB:function(){return u},TT:function(){return l},g$:function(){return v},hu:function(){return d},sS:function(){return p}});var o=e(603912),n=e.n(o),i=e(860921),t=e.n(i),r=e(392338),s=e.n(r),d=function(_,C){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return O?console.log.bind(console,"%c[".concat(_,"] %c"),"color: ".concat(C,"; font-weight: 300;"),"color: #000; font-weight: 400;"):t()},v=function(_,C){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return O?console.debug.bind(console,"%c[".concat(_,"] %c"),"color: ".concat(C,"; font-weight: 300;"),"color: #000; font-weight: 400;"):t()},u=function(_){return console.warn.bind(console,"[".concat(_,"]"))},a=function(_){return function(){console.error.bind(console,"[".concat(_,"]")).apply(void 0,arguments)}},l=function(_,C){var O,A=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],x=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return x?(O=console.groupCollapsed).bind.apply(O,[console,_,"color: ".concat(C,"; font-weight: 300;")].concat(n()(A))):t()},p=function(_,C){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return{group:l(_,C,O,A),groupEnd:function(){return console.groupEnd()}}},h={createLogger:d,createDebugLogger:v,createWarningLogger:u,createGroupCollapsed:l,createGroup:p,createErrorLogger:a},g=function(_,C){var O=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,A=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"";return{debug:v(_,C,O),err:a(_),log:d(_,C,O),warn:u(_)}},m=Object.assign(g,h)},641548:function(y,c,e){"use strict";e.d(c,{$:function(){return ae}});var o=e(392338),n=e.n(o),i=e(432405),t=e.n(i),r=e(385870),s=e.n(r),d=e(346797),v=e.n(d),u=e(291341),a=e.n(u),l=e(176944),p=e.n(l),h=e(544257),g=e.n(h),m=e(174161),S=e(808847),_=e(922357),C=e(452514),O=["websiteId"],A=["preferences"];function x(ne,X){var re=Object.keys(ne);if(Object.getOwnPropertySymbols){var Z=Object.getOwnPropertySymbols(ne);X&&(Z=Z.filter(function(te){return Object.getOwnPropertyDescriptor(ne,te).enumerable})),re.push.apply(re,Z)}return re}function T(ne){for(var X=1;X0&&vt[0]!==void 0?vt[0]:{},sn.next=3,St.callLogoutEndpoint(Gt);case 3:if(Dt=sn.sent,!(Dt.data&&Dt.data.crumbFail)){sn.next=6;break}return sn.abrupt("return",St.callLogoutEndpoint(Gt));case 6:return sn.abrupt("return",Dt);case 7:case"end":return sn.stop()}},wt)}))()},updateLocale:function(){var vt,St=(vt=window.top)===null||vt===void 0?void 0:vt.Weglot;if(St!=null&&St.getCurrentLang){var wt,Gt=St.getCurrentLang(),Dt=(wt=St.options)===null||wt===void 0||(wt=wt.languages)===null||wt===void 0?void 0:wt.find(function(en){return en.custom_code===Gt});if(!Dt)return h.post(m,{language:Gt})}},callLogoutEndpoint:function(vt){return h.delete(g,{params:{cloneCart:!!vt.cloneCart}})}},_=S,C="/api/site-header-footer",O={load:function(){var _t=s()(u().mark(function St(){var wt,Gt;return u().wrap(function(en){for(;;)switch(en.prev=en.next){case 0:return en.next=2,a.default.get(C);case 2:return wt=en.sent,Gt=wt.data,en.abrupt("return",Gt);case 5:case"end":return en.stop()}},St)}));function vt(){return _t.apply(this,arguments)}return vt}(),save:function(){var _t=s()(u().mark(function St(wt){var Gt,Dt,en,sn;return u().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:return Gt=wt.header,Dt=wt.footer,mn.next=3,a.default.put(C,{header:Gt,footer:Dt});case 3:return en=mn.sent,sn=en.data,mn.abrupt("return",sn);case 6:case"end":return mn.stop()}},St)}));function vt(St){return _t.apply(this,arguments)}return vt}()},A=O,x={fetchSettings:function(){return a.default.get("/api/multilingual/settings")},getStatus:function(){return a.default.get("/api/multilingual/status")},getLanguages:function(){return a.default.get("/api/multilingual/languages")},saveLanguages:function(vt){return a.default.put("/api/multilingual/languages",{languages:vt})},disconnectWeglot:function(){return a.default.delete("/api/multilingual/connection")}},T=x,R=e(207598),N=e(963327),B=e(542411),z=function(vt){return vt&&vt!==vt.top},K=function(vt){return vt.defaultView&&z(vt.defaultView)?vt.defaultView.frameElement:null},$=e(204482),ie=e(981491),V={lastX:100,lastY:100,client:{lastX:100,lastY:100}},W=function(){return V},H=function(vt){var St,wt=K(vt),Gt=function(xn){var mn=(wt==null?void 0:wt.getBoundingClientRect())||{},hn=mn.left,Hn=hn===void 0?0:hn,Dr=mn.top,Or=Dr===void 0?0:Dr;V={lastX:xn.pageX+Hn,lastY:xn.pageY+Or,client:{lastX:xn.clientX+Hn,lastY:xn.clientY+Or}}},Dt=function(xn){xn.changedTouches.length===1&&Gt(xn.changedTouches[0])};vt.addEventListener("mousemove",Gt),vt.addEventListener("touchmove",Dt);var en=function(){vt.removeEventListener("mousemove",Gt),vt.removeEventListener("touchmove",Dt)};return(St=vt.defaultView)===null||St===void 0||St.addEventListener("beforeunload",en),en},k=function(){var _t=null,vt;return function(){var St=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!St){var wt;cancelAnimationFrame(vt),(wt=_t)===null||wt===void 0||(wt=wt.parentNode)===null||wt===void 0||wt.removeChild(_t),_t=null;return}if(!_t){_t=document.createElement("div"),_t.setAttribute("data-mouse","true"),_t.style.position="fixed",_t.style.width="50px",_t.style.height="50px",_t.style.borderRadius="50%",_t.style.background="rgba(247, 202, 24, 0.5)",_t.style.marginLeft="-25px",_t.style.marginTop="-25px",_t.style.zIndex=Math.pow(10,5)+"",_t.style.pointerEvents="none",document.body.appendChild(_t);var Gt=function Dt(){var en=W(),sn=en.lastX,xn=en.lastY,mn=_t;mn.style.top="".concat(xn,"px"),mn.style.left="".concat(sn,"px"),vt=requestAnimationFrame(Dt)};Gt()}}}(),J=e(798589),ae=function(vt){var St=vt.w,wt=vt.h,Gt=window.outerHeight/2+window.screenY-wt/2,Dt=window.outerWidth/2+window.screenX-St/2;return"width=".concat(St,",height=").concat(wt,",top=").concat(Gt,",left=").concat(Dt)},ne=e(723796),X=e(39994),re=e(324959),Z=e(987195),te=e.n(Z),oe=e(432405),Se=e.n(oe),Re=e(858240),Ke=e.n(Re),Qe=e(4636),Je=e.n(Qe),rt=e(699467),Pt=e.n(rt),Wt=e(506051),de=e.n(Wt),Le=e(721854),le=e.n(Le),Ce=e(346797),Ne=e.n(Ce),Ee=e(174161),Ie=e(795478),dt=e.n(Ie),xt=e(192628),It=e.n(xt),gt=["childRef"];function Ot(_t,vt,St){return vt=de()(vt),Pt()(_t,Fe()?Reflect.construct(vt,St||[],de()(_t).constructor):vt.apply(_t,St))}function Fe(){try{var _t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(vt){}return(Fe=function(){return!!_t})()}var Ve=function(vt){var St=function(wt){le()(Gt,wt);function Gt(){return Ke()(this,Gt),Ot(this,Gt,arguments)}return Je()(Gt,[{key:"render",value:function(){var en=this.props,sn=en.childRef,xn=Se()(en,gt);return Ee.createElement(vt,te()({breakpoint:this.context.breakpoint},xn,{ref:sn}))}}]),Gt}(Ee.Component);return Ne()(St,"contextTypes",{breakpoint:dt().string}),It()(St,vt)},se=Ve,fe=function(_t,vt){if(_t===0)return"0 Bytes";var St=1024,wt=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],Gt=Math.floor(Math.log(_t)/Math.log(St)),Dt=_t/Math.pow(St,Gt),en=Math.ceil(Math.log10(Dt)),sn=vt+en||en;return Dt.toPrecision(sn)+" "+wt[Gt]},pe=dt().oneOfType([dt().instanceOf(Node),dt().oneOf(["window","mousepointer","selection"]),dt().shape({top:dt().number,left:dt().number})]),xe=dt().shape({x:dt().number,y:dt().number}),Me=dt().oneOfType([dt().oneOf(["left","right","center","top","bottom"]),dt().shape({join:dt().string,to:dt().string})]),je={anchor:pe,coords:xe,position:Me},Xe=e(777868),st=e(845193),Ae=e.n(st),He=e(994336),ot=e.n(He),Ut=function(){return!!window.localStorage},Zt=function(vt,St,wt){try{var Gt={value:St,expires:wt?wt.getTime():void 0},Dt=JSON.stringify(Gt);Ut()?localStorage.setItem(vt,Dt):wt?ot().set(vt,Dt,{path:"/",expires:wt.toISOString()}):ot().set(vt,Dt,{path:"/"})}catch(en){console.warn(en)}},jt=function(vt){try{var St=Ut()?localStorage.getItem(vt):ot().get(vt);if(St){var wt=JSON.parse(St);return Ut()&&Ae()(wt.expires)&&wt.expires2&&arguments[2]!==void 0?arguments[2]:!1;try{var Gt=xr()(window,"Static.SQUARESPACE_CONTEXT.website.siteStatus.value"),Dt=wt||Gt===ci().INTERNAL||(0,ie.isInternal)();if(Dt){var en=kn().parse(window.location.search,{ignoreQueryPrefix:!0}),sn="".concat(vt,"_").concat(St),xn=en[sn];xn&&(xn==="reset"?vn(sn):Zt(sn,{variant:xn}));var mn=jt(sn);return mn?mn.variant:null}}catch(hn){console.error("error reading query param override: ".concat(hn))}return null},fa=Jr,Mr=function(vt,St){return function(wt){var Gt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"false",Dt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"true",en=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},sn=en.skipInternalCheck,xn=function(){var mn=fa(vt,wt,sn);if(mn)return mn;var hn=St.getABTestVariant(wt,Gt),Hn=hn.variant;return Hn}();return function(){return xn===Dt}}},Zi=Mr,Gr=e(922357),Pe=e(398784),cn=e(737012),Lr=e.n(cn),pr=function(vt,St,wt){var Gt=Lr()(vt);if((Gt===""||Gt.length<3)&&(Gt=St),wt.includes(Gt)){var Dt=1,en=new Intl.Collator([],{numeric:!0});return wt.sort(function(sn,xn){return en.compare(sn,xn)}).forEach(function(sn){sn==="".concat(Gt,"-").concat(Dt)&&(Dt+=1)}),"".concat(Gt,"-").concat(Dt)}return Gt},Ji=pr,on=e(603912),fi=e.n(on),zi=function(){var _t=s()(u().mark(function vt(St){return u().wrap(function(Gt){for(;;)switch(Gt.prev=Gt.next){case 0:return Gt.next=2,a.default.post("/api/widget/UpdateNavigation",St);case 2:case"end":return Gt.stop()}},vt)}));return function(St){return _t.apply(this,arguments)}}(),Yr=function(){var _t=s()(u().mark(function vt(){var St,wt;return u().wrap(function(Dt){for(;;)switch(Dt.prev=Dt.next){case 0:return Dt.next=2,a.default.get("/api/commondata/GetSiteLayout");case 2:return St=Dt.sent,wt=St.data,Dt.abrupt("return",wt);case 5:case"end":return Dt.stop()}},vt)}));return function(){return _t.apply(this,arguments)}}(),qr=function _t(vt){return vt.map(function(St){var wt=St.collectionId,Gt=St.children,Dt=St.externalLink,en=St.memberAreaId;return{items:Gt?_t(Gt):[],collectionId:wt,externalLink:Dt,memberAreaId:en}})},Yi=function(){var _t=s()(u().mark(function vt(St,wt){var Gt,Dt,en,sn;return u().wrap(function(mn){for(;;)switch(mn.prev=mn.next){case 0:return mn.next=2,Yr();case 2:if(Gt=mn.sent,Dt=Gt.layout[0],Dt){mn.next=6;break}throw new Error("Unable to find site main navigation");case 6:return en={collectionId:St},sn=[en].concat(fi()(qr(Dt.links))),mn.next=10,zi({fieldName:Dt.identifier,templateId:wt,navigation:{items:sn}});case 10:case"end":return mn.stop()}},vt)}));return function(St,wt){return _t.apply(this,arguments)}}(),Zn=function(){var _t=s()(u().mark(function vt(St){var wt,Gt,Dt,en,sn,xn,mn;return u().wrap(function(Hn){for(;;)switch(Hn.prev=Hn.next){case 0:return wt=St.websiteId,Gt=St.navigationTitle,Dt=St.title,en=St.urlId,sn=St.description,Hn.next=3,a.default.post("/api/content-service/product/1.1/websites/".concat(wt,"/products"),{navigationTitle:Gt,title:Dt,urlId:en,description:sn,enabled:!0});case 3:return xn=Hn.sent,mn=xn.data,Hn.abrupt("return",mn);case 6:case"end":return Hn.stop()}},vt)}));return function(St){return _t.apply(this,arguments)}}(),sr=function(){var _t=s()(u().mark(function vt(St){var wt,Gt,Dt;return u().wrap(function(sn){for(;;)switch(sn.prev=sn.next){case 0:return wt=St.websiteId,Gt=St.collectionId,Dt=St.displayName,sn.next=3,a.default.post("/api/content-service/product/1.1/websites/".concat(wt,"/products/").concat(Gt,"/categories"),{displayName:Dt,parentCategoryId:void 0,type:"ROOT",pageRendering:"LIST_VIEW",displayIndex:1});case 3:case"end":return sn.stop()}},vt)}));return function(St){return _t.apply(this,arguments)}}(),ur=function(){var _t=s()(u().mark(function vt(St){var wt,Gt,Dt,en,sn,xn,mn,hn,Hn,Dr,Or;return u().wrap(function(Te){for(;;)switch(Te.prev=Te.next){case 0:return wt=St.storeTitle,Gt=St.addToMainNav,Dt=St.fallbackStoreTitle,en=St.allCategoryDisplayName,sn=St.websiteId,xn=St.templateId,mn=St.isSevenOne,hn=St.storeUrls,Hn=Ji(wt,Dt,hn),Te.next=4,Zn({websiteId:sn,navigationTitle:wt,title:wt,urlId:Hn,description:mn?void 0:""});case 4:return Dr=Te.sent,Or=Dr.id,Te.next=8,sr({websiteId:sn,collectionId:Or,displayName:en});case 8:if(!Gt){Te.next=11;break}return Te.next=11,Yi(Or,xn);case 11:return Te.abrupt("return",{collection:Dr});case 12:case"end":return Te.stop()}},vt)}));return function(St){return _t.apply(this,arguments)}}(),Nr=ur,di=e(375798),qi=e.n(di),ei=e(860921),Qt=e.n(ei),da=["isCancellable","autoClose"];function Ri(_t,vt){var St=Object.keys(_t);if(Object.getOwnPropertySymbols){var wt=Object.getOwnPropertySymbols(_t);vt&&(wt=wt.filter(function(Gt){return Object.getOwnPropertyDescriptor(_t,Gt).enumerable})),St.push.apply(St,wt)}return St}function vi(_t){for(var vt=1;vt1&&arguments[1]!==void 0?arguments[1]:{},wt=Ue(Ue({},tt),St),Gt=wt.delay,Dt=wt.settleFor,en=wt.targetDocument,sn,xn;return new Promise(function(mn){var hn,Hn=function(){hn=en.querySelector(vt),clearTimeout(xn),xn=setTimeout(function(){var Or=en.querySelector(vt);if(hn&&hn===Or){sn.disconnect(),mn(Or);return}hn=Or},Dt)};sn=new MutationObserver(Hn),sn.observe(en.body,{childList:!0,subtree:!0}),Hn(),setTimeout(function(){sn.disconnect(),mn(null),clearTimeout(xn)},Gt)})},At=mt,Ct=e(545334),Jt=e.n(Ct),Nt=e(87994),Tn=function(){var vt,St=Date.now(),wt=Nt.context===null||Nt.context===void 0||(vt=Nt.context.website)===null||vt===void 0||(vt=vt.siteStatus)===null||vt===void 0?void 0:vt.expiration;return wt&&Math.max(0,Jt()(wt).diff(Jt()(St),"days")+1)}},39994:function(y,c,e){"use strict";var o=e(392338),n=e.n(o),i=e(734301),t=e.n(i);c.Z=function(r){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{async:!0,doc:document},d=s.async,v=d===void 0?!0:d,u=s.doc,a=u===void 0?document:u;return new Promise(function(l,p){t()(r,{before:function(g,m){return a.body.appendChild(m),!1},success:function(){return l()},error:function(){return p()},async:v})})}},798589:function(y,c,e){"use strict";e.r(c),e.d(c,{checkBreakpoint:function(){return r},determineCurrentMedia:function(){return t},isDesktop:function(){return d},isMobile:function(){return s},isSubDesktop:function(){return u},isTablet:function(){return v},mediaQueries:function(){return i}});var o=e(392338),n=e.n(o),i={mobile:"screen and (max-width: 432px)",desktop:"screen and (min-width: 433px)",tablet:"screen and (max-width: 0px)"},t=function(){return Object.keys(i).find(function(l){return window.matchMedia(i[l]).matches})},r=function(l,p){return p?p===l:t()===l},s=function(l){return r("mobile",l)},d=function(l){return r("desktop",l)},v=function(l){return r("tablet",l)},u=function(l){return s(l)||v(l)}},324959:function(y,c,e){"use strict";e.d(c,{Z:function(){return o}});function o(n,i){try{n.dropEffect=i,n.effectAllowed=i}catch(t){}}},207598:function(y,c,e){"use strict";e.r(c),e.d(c,{alphabetical:function(){return s}});var o=e(603912),n=e.n(o),i=e(392338),t=e.n(i),r=function(v){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";return typeof v=="string"?v:typeof v[u]=="string"?v[u]:(console.warn("Value is neither a string nor an object containing a string at ".concat(u),v),"")},s=function(v){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n()(v).sort(function(a,l){var p=r(a,u.key).toLowerCase(),h=r(l,u.key).toLowerCase();return ph?1:0})}},922357:function(y,c,e){"use strict";var o=e(392338),n=e.n(o),i=e(385870),t=e.n(i),r=e(375798),s=e.n(r),d=e(346797),v=e.n(d),u=e(544257),a=e.n(u),l=e(174161);function p(_,C){var O=Object.keys(_);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(_);C&&(A=A.filter(function(x){return Object.getOwnPropertyDescriptor(_,x).enumerable})),O.push.apply(O,A)}return O}function h(_){for(var C=1;C2&&arguments[2]!==void 0?arguments[2]:!0,x={isError:!1,isLoading:A},T=A?Date.now():0,R=(0,l.useState)(T),N=s()(R,2),B=N[0],z=N[1],K=(0,l.useReducer)(m,x),$=s()(K,2),ie=$[0],V=$[1],W=function(){var k=t()(a().mark(function J(){var ae;return a().wrap(function(X){for(;;)switch(X.prev=X.next){case 0:return V({type:g.FETCH_PENDING}),X.prev=1,X.next=4,C();case 4:ae=X.sent,V({type:g.FETCH_SUCCESS,payload:ae}),X.next=12;break;case 8:X.prev=8,X.t0=X.catch(1),V({type:g.FETCH_FAILED,error:X.t0}),O?O(X.t0):console.error(X.t0);case 12:case"end":return X.stop()}},J,null,[[1,8]])}));return function(){return k.apply(this,arguments)}}(),H=(0,l.useCallback)(function(){z(Date.now())},[z]);return(0,l.useEffect)(function(){B&&W()},[B]),h(h({},ie),{},{refetch:H})};c.Z=S},365270:function(y,c,e){"use strict";e.r(c),e.d(c,{FLUID_ENGINE_BLUE_HEX:function(){return n},FLUID_ENGINE_YELLOW:function(){return i},FluidEngineBreakpoints:function(){return o}});var o=function(t){return t.MOBILE="mobile",t.DESKTOP="desktop",t}({}),n="#027AFF",i="#FFB802"},879772:function(y,c,e){"use strict";e.r(c),e.d(c,{BlockType:function(){return x},BlockTypeStrings:function(){return re},BlockTypeToBetaFlags:function(){return te},BlockTypeToFeature:function(){return Re},BlockVariantTypeKeys:function(){return Je},BlockVariantTypes:function(){return Qe},CMSAppShellPerformanceEvents:function(){return n},CMSPerformanceEvents:function(){return i},CollectionView:function(){return Zn},CommercePerformanceEvents:function(){return o},ConnectedAccountLinkConfigurations:function(){return di},Constants:function(){return ei},ContentGeneratorTypes:function(){return da},DeviceViewType:function(){return vi},DomainsPerformanceEvents:function(){return t},EditorSelectors:function(){return r},FacebookPixelConstants:function(){return Ue},FluidEngine:function(){return me},FormBuilderFieldNames:function(){return Jt},FormModelFieldsets:function(){return Tn},GalleryBlockConstants:function(){return vt},GalleryItemMediaTypes:function(){return wt},GooglePlaces:function(){return s},LayoutEngine:function(){return v},LayoutEngineClassnames:function(){return d},MarqueeStylePresetNames:function(){return bi},MarqueeStylePresets:function(){return vo},PinterestSelectors:function(){return pn},PopupOverlayLocalStorage:function(){return Fr},Positions:function(){return Gn},SectionEditorClassnames:function(){return u},SiteAesthetics:function(){return Wr},SliceTypeByName:function(){return Da},SliceTypeNames:function(){return Su},SlideTypeByName:function(){return Hr},SlideTypeNames:function(){return Ar},SurveyCohorts:function(){return na},TextFilterNames:function(){return Rr},TweakEvents:function(){return ss},TweakPageTypes:function(){return _a},TypekitPreviewApi:function(){return ri},Units:function(){return hi},UpsellDestination:function(){return a},UpsellUrls:function(){return h}});var o={};e.r(o),e.d(o,{AFTERPAY_PDP_LOAD:function(){return m},AFTERPAY_PDP_OPEN_MODAL:function(){return g},KLARNA_PDP_LOAD:function(){return C},KLARNA_PDP_OPEN_MODAL:function(){return _},PDP_PAGE_LOAD:function(){return S},PLP_PAGE_LOAD:function(){return O}});var n={};e.r(n),e.d(n,{BILLING_APP_ROOT_INITIALIZED:function(){return Wt},CAMPAIGNS_APP_ROOT_INITIALIZED:function(){return de},CONFIG_APP_SHELL_INITIALIZED:function(){return Le},PERMISSIONS_APP_ROOT_INITIALIZED:function(){return Pt},PROJECTS_APP_SHELL_INITIALIZED:function(){return le},SCHEDULING_APP_ROOT_INITIALIZED:function(){return rt}});var i={};e.r(i),e.d(i,{ADD_SECTION_FROM_CATALOG:function(){return qr},ANIMATIONS_EDIT_SAVE:function(){return se},ANIMATIONS_PANEL_INTERACTIVE:function(){return fe},ASSET_UPLOAD:function(){return Ji},COLLECTION_NEW_LAYOUT_LOAD:function(){return Ot},COLORS_PANEL_GENERATE_PALETTE:function(){return Ut},COLORS_PANEL_INTERACTIVE:function(){return Ae},COLORS_PANEL_SAVE:function(){return st},COLORS_PANEL_SELECT_PALETTE:function(){return ot},COLORS_PANEL_UPDATE_PALETTE_COLOR:function(){return Zt},COLORS_PANEL_UPDATE_TWEAK_COLOR:function(){return jt},DESIGN_BUTTONS_PANEL_LOAD:function(){return Lr},FONTS_PANEL_BASE_FONT_SIZE_CHANGE:function(){return fa},FONTS_PANEL_CUSTOM_FONT_FAMILY_CHANGE:function(){return Pe},FONTS_PANEL_CUSTOM_FONT_PROPERTY_CHANGE:function(){return Gr},FONTS_PANEL_FETCHED_DATA:function(){return vn},FONTS_PANEL_FETCHED_DATA_TO_INTERACTIVE:function(){return Xn},FONTS_PANEL_INTERACTIVE:function(){return xr},FONTS_PANEL_MAPPING_CHANGE:function(){return cn},FONTS_PANEL_MASTER_FONT_FAMILY_CHANGE:function(){return Zi},FONTS_PANEL_MASTER_FONT_PROPERTY_CHANGE:function(){return Mr},FONTS_PANEL_PACK_CHANGE_CLEAN_DIRTY:function(){return ci},FONTS_PANEL_PACK_CHANGE_DIRTY_DIRTY:function(){return Jr},FONTS_PANEL_RENDER_ACTIVE_CARD:function(){return Wn},FONTS_PANEL_SAVE:function(){return kn},FONTS_PANEL_TAB_SWITCH_INTERACTIVE:function(){return or},FRAME_TOOLBAR_EDIT:function(){return Ee},GALLERY_SECTION_NEW_LAYOUT_LOAD:function(){return gt},HEADER_NEW_LAYOUT_LOAD:function(){return It},HEADER_PROPERTY_UPDATE:function(){return xt},LAYOUT_ENGINE_SECTION_COLOR_PREVIEW:function(){return Ve},MEDIA_UPLOAD_SERVICE_ASSET_PROCESSING_ONLY:function(){return Yr},MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD:function(){return fi},MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD_ONLY:function(){return zi},ONBOARDING_SAVE_TITLE:function(){return Ce},PAGES_ADD_BLANK:function(){return Ne},PAGE_EDIT_SAVE:function(){return Ie},RENDER_LAYOUT_ENGINE_SECTION:function(){return Fe},SECTION_DUPLICATION:function(){return pr},SITE_HEADER_FOOTER_LOAD:function(){return dt},SITE_SERVER_ASSET_UPLOAD:function(){return on},THEME_EDITOR_INTERACTIVE:function(){return He},TWEAKACTION_FETCH_CUSTOM_CSS:function(){return pe},TWEAKACTION_FETCH_DATA:function(){return xe},TWEAKACTION_FETCH_TEMPLATE_TWEAK_SETTINGS:function(){return Me},TWEAKACTION_FETCH_TWEAK_ENGINE_PROPERTIES:function(){return Xe},TWEAKACTION_FETCH_TYPEKIT_DATA:function(){return je}});var t={};e.r(t),e.d(t,{OPEN_SEARCH_DSC_INITIALIZED:function(){return Ei},OPEN_SEARCH_INITIALIZED:function(){return lr},PERFORM_DISPLAY_RESULTS:function(){return Ir},PERFORM_SEARCH_FIRST_AVAILABLE_RESULT:function(){return wi},PERFORM_SEARCH_INTERACTIVE:function(){return ea},PERFORM_SEARCH_STABLE:function(){return Ur}});var r={};e.r(r),e.d(r,{DESKTOP_FRAME_TOOLBAR_ID:function(){return ze}});var s={};e.r(s),e.d(s,{AUTOCOMPLETE_URL:function(){return Dt},DETAILS_URL:function(){return en},googleTrackingContextProp:function(){return sn}});var d={};e.r(d),e.d(d,{BLOCK_FOCUS_IGNORE_CLASSNAME:function(){return xn},DISABLE_YUI_DRAG_CLASSNAME:function(){return Hn},ESCMANAGER_IGNORE_CLASSNAME:function(){return mn},NONINTERACTIVE_CLASSNAME:function(){return Dr},NONINTERACTIVE_CLASSNAMES:function(){return hn},TEXT_BLOCK:function(){return Or}});var v={};e.r(v),e.d(v,{AttrChangeProps:function(){return Te},BlockFocusIgnoredSelectors:function(){return kt},EMPTY_DATA:function(){return ue},SetDetails:function(){return qe}});var u={};e.r(u),e.d(u,{SECTION_EDITOR_FRAME_OVERLAY_CLASS:function(){return Si},SPACE_AROUND_FRAME_CLASS:function(){return ti}});var a={TRIAL_UPGRADE_PLAN:"trial-upgrade",UPGRADE_PLAN:"upgrade"},l=e(346797),p=e.n(l),h=p()(p()({},a.TRIAL_UPGRADE_PLAN,"/settings/billing/upgrade"),a.UPGRADE_PLAN,"/settings/billing/subscriptions/website"),g="commerce-merch-open-afterpay-pdp-modal",m="commerce-merch-load-afterpay-pdp-string",S="commerce-merch-pdp-page-load",_="commerce-merch-open-klarna-pdp-modal",C="commerce-merch-load-klarna-pdp-string",O="commerce-merch-plp-page-load",A=function(ft){return ft[ft.NAVIGATION=1]="NAVIGATION",ft[ft.HTML=2]="HTML",ft[ft.LOGO=3]="LOGO",ft[ft.MAP=4]="MAP",ft[ft.IMAGE=5]="IMAGE",ft[ft.TWITTER=6]="TWITTER",ft[ft.JOURNAL=7]="JOURNAL",ft[ft.GALLERY=8]="GALLERY",ft[ft.FORM=9]="FORM",ft[ft.GEO=10]="GEO",ft[ft.INDEX=11]="INDEX",ft[ft.COLLECTION_LINK=12]="COLLECTION_LINK",ft[ft.LINK=13]="LINK",ft[ft.TAGCLOUD=14]="TAGCLOUD",ft[ft.COMMENTS=16]="COMMENTS",ft[ft.FOLDER=17]="FOLDER",ft[ft.MENU=18]="MENU",ft[ft.SOCIAL_LINKS=19]="SOCIAL_LINKS",ft[ft.SUMMARY=20]="SUMMARY",ft[ft.SPACER=21]="SPACER",ft[ft.EMBED=22]="EMBED",ft[ft.CODE=23]="CODE",ft[ft.FOURSQUARE=24]="FOURSQUARE",ft[ft.INSTAGRAM=25]="INSTAGRAM",ft[ft.CALENDAR=26]="CALENDAR",ft[ft.POSTS_BY_AUTHOR=27]="POSTS_BY_AUTHOR",ft[ft.POSTS_BY_TAG=28]="POSTS_BY_TAG",ft[ft.POSTS_BY_CATEGORY=29]="POSTS_BY_CATEGORY",ft[ft.POSTS_BY_MONTH=30]="POSTS_BY_MONTH",ft[ft.QUOTE=31]="QUOTE",ft[ft.VIDEO=32]="VIDEO",ft[ft.SEARCH=33]="SEARCH",ft[ft.AUDIO=41]="AUDIO",ft[ft.FIVEHUNDREDPIX=42]="FIVEHUNDREDPIX",ft[ft.PRODUCT=43]="PRODUCT",ft[ft.MARKDOWN=44]="MARKDOWN",ft[ft.FLICKR=45]="FLICKR",ft[ft.AMAZON=46]="AMAZON",ft[ft.HORIZONTAL_RULE=47]="HORIZONTAL_RULE",ft[ft.SOCIAL_ACCOUNT_LINKS=48]="SOCIAL_ACCOUNT_LINKS",ft[ft.RSS=49]="RSS",ft[ft.OPENTABLE=50]="OPENTABLE",ft[ft.NEWSLETTER=51]="NEWSLETTER",ft[ft.DONATION=52]="DONATION",ft[ft.BUTTON=53]="BUTTON",ft[ft.SOCIAL_ACCOUNT_LINKS_V2=54]="SOCIAL_ACCOUNT_LINKS_V2",ft[ft.SUMMARY_V2=55]="SUMMARY_V2",ft[ft.SOUNDCLOUD=56]="SOUNDCLOUD",ft[ft.EMAIL_FOOTER=57]="EMAIL_FOOTER",ft[ft.IN_BROWSER_MESSAGE_LINK=58]="IN_BROWSER_MESSAGE_LINK",ft[ft.TOURDATES=59]="TOURDATES",ft[ft.ALBUM=60]="ALBUM",ft[ft.ARCHIVE=61]="ARCHIVE",ft[ft.CHART=62]="CHART",ft[ft.ZOLA=63]="ZOLA",ft[ft.ACUITY=65]="ACUITY",ft[ft.OPENTABLE_V2=66]="OPENTABLE_V2",ft[ft.MEMBER_AREA=67]="MEMBER_AREA",ft[ft.TOCK=68]="TOCK",ft[ft.ACCORDION=69]="ACCORDION",ft[ft.MARQUEE=70]="MARQUEE",ft[ft.SHAPE=71]="SHAPE",ft[ft.PRICING_PLAN=72]="PRICING_PLAN",ft[ft.WEBSITE_COMPONENT=1337]="WEBSITE_COMPONENT",ft}(A||{}),x=A,T=e(737012),R=e.n(T),N=e(690411),B=e.n(N),z=e(304003),K=e.n(z),$=e(130399),ie=e.n($),V=e(311064),W=e.n(V),H=e(392338);function k(ft){var cr=R()(ft);return cr.replace(/-v-(\d+)/,"-v$1")}var J=W()(x),ae=ie()(J,K()),ne=ie()(J,B()),X=ie()(J,k),re={BlockTypeKeys:J,BlockTypeNames:ae,BlockTypeLabels:ne,BlockTypeKebab:X},Z=Object.freeze({}),te=Z,oe=e(483787),Se=e.n(oe),Re=p()(p()(p()(p()(p()({},x.AMAZON,Se().BLOCK_AMAZON),x.DONATION,Se().BLOCK_DONATION),x.MENU,Se().BLOCK_MENU),x.OPENTABLE,Se().BLOCK_OPENTABLE),x.OPENTABLE_V2,Se().BLOCK_OPENTABLE),Ke={GALLERY_SLIDESHOW:1e3,GALLERY_CAROUSEL:1002,GALLERY_GRID:1003,GALLERY_STACK:1004,SUMMARY_WALL:1005,SUMMARY_CAROUSEL:1006,SUMMARY_LIST:1007,SUMMARY_GRID:1008,CHART_BAR:1009,CHART_LINE:1010,CHART_PIE:1011,IMAGE_INLINE:1012,IMAGE_POSTER:1013,IMAGE_CARD:1014,IMAGE_OVERLAP:1015,IMAGE_COLLAGE:1016,IMAGE_STACK:1017,TOCK_RESERVATIONS:1018,TOCK_EVENTS:1019},Qe=Ke,Je=W()(Qe),rt="scheduling-app-root-initialized",Pt="permissions-app-root-initialized",Wt="billing-app-root-initialized",de="campaigns-app-root-initialized",Le="config-app-shell-initialized",le="projects-app-shell-initialized",Ce="cms-onboarding-save-title",Ne="cms-pages-add-blank",Ee="cms-frame-toolbar-edit",Ie="cms-page-edit-save",dt="cms-site-header-footer-load",xt="cms-header-property-update",It="cms-header-new-layout-load",gt="cms-section-gallery-new-layout-load",Ot="cms-collection-new-layout-load",Fe="cms-render-layout-engine-section",Ve="cms-layout-engine-section-color-preview",se="cms-design-animations-panel-save",fe="cms-design-animations-panel-interactive",pe="cms-tweakactions-fetch-custom-css",xe="cms-tweakactions-fetchdata",Me="cms-tweakactions-fetch-template-tweak-settings",je="cms-tweakactions-fetch-typekit-data",Xe="cms-tweakactions-fetch-tweak-engine-properties",st="cms-design-colors-panel-save",Ae="cms-design-colors-panel-interactive",He="cms-design-colors-theme-editor-interactive",ot="cms-design-colors-panel-select-palette",Ut="cms-design-colors-panel-generate-palette",Zt="cms-design-colors-panel-update-palette-color",jt="cms-design-colors-panel-update-tweak-color",vn="cms-design-fonts-panel-fetched-data",Xn="cms-design-fonts-panel-fetched-data-interactive",xr="cms-design-fonts-panel-packs-interactive",Wn="cms-design-fonts-render-active-card",kn="cms-design-fonts-panel-save",or="cms-design-fonts-panel-tab-switch-interactive",ci="cms-design-fonts-panel-pack-change-clean-dirty",Jr="cms-design-fonts-panel-pack-change-dirty-dirty",fa="cms-design-fonts-panel-base-font-size-change",Mr="cms-design-fonts-panel-master-font-property-change",Zi="cms-design-fonts-panel-master-font-family-change",Gr="cms-design-fonts-panel-custom-font-property-change",Pe="cms-design-fonts-panel-custom-font-family-change",cn="cms-design-fonts-panel-mapping-change",Lr="cms-design-buttons-panel-load",pr="cms-section-duplicate",Ji="cms-asset-upload",on="cms-site-server-asset-upload",fi="cms-media-upload-service-asset-upload",zi="cms-media-upload-service-asset-upload-only",Yr="cms-media-upload-service-asset-processing-only",qr="cms-add-section-from-catalog",Yi={LIST:"list",GRID:"grid",PRODUCT:"product"},Zn=Yi,sr=e(688424),ur=e.n(sr),Nr=p()({},ur().CHOWNOW,{serviceId:ur().CHOWNOW,displayName:"ChowNow",defaultLinkTitle:"Order Now",slug:"chownow"}),di=Nr,qi={hiddenNavigationName:"_hidden",memberAreaNavigationName:"_memberareas",memberAreaNavigationTestAttr:"navlist-member_areas",MEMBER_AREA_NAVIGATION_TYPE:"member-area",README_PAGE_NAME:"readme",MAX_SMUGMUG_GALLERY_COUNT:20,MAX_SMUGMUG_GALLERY_SIZE:50,MAX_BLOCKS_PER_LAYOUT:60,MAX_TRACKS_IN_ALBUM:60,MAX_ITEMS_IN_USER_ORDERABLE_COLLECTION:250,NESTED_CATEGORIES_LIMIT:1e4,MAX_PRODUCTS_IN_COLLECTION:200,SQUARESPACE_SEVEN_PREVIEW_COOKIE:"squarespace_seven_preview",SQUARESPACE_SIX_OVERRIDE_COOKIE:"squarespace_six_override",PREVIEW_FRAME_EXPANDED_COOKIE:"seven_frame_expanded",DISABLE_USER_SCRIPTS_COOKIE:"disable-user-scripts",IGNORED_ITEM_ANNOTATION_SELECTORS:["sqs-simple-like","sqs-add-to-cart-button","product-variants","product-quantity-input","sqs-suppress-edit-mode"],REGISTERED_ACTIONS_FOR_NEXT_LOAD_STORE_KEY:"sqs_actions_for_next_load",DAMASK_URL_PREVIEW_SEPARATOR:"|",MAX_TAG_LENGTH:50,MAX_CATEGORY_LENGTH:25,PASSWORD_MASK:"__MASKED_FIELD__"},ei=qi,Qt={DEFAULT:0,ICON:1},da=Qt,Ri=function(ft){return ft.DESKTOP="desktop",ft.PHONE="phone",ft.TABLET="tablet",ft}(Ri||{}),vi=Ri,lr="domains-open-search-initialized",Ei="domains-open-search-dsc-initialized",ea="domains-perform-search-interactive",wi="domains-perform-search-first-available-result",Ur="domains-perform-search-stable",Ir="domains-perform-display-results",ze="frame-toolbar-desktop",me=e(365270),we={NEWSLETTER_OVERLAY_NODE_ID:"overlayNewsletterEmail"},Ue=we,tt=e(435359),mt=e.n(tt),At=e(762379),Ct={text:["description","placeholder","required"],textarea:["description","placeholder","required"],email:["description","placeholder","required"],currency:["description","currencySymbol","required"],number:["description","placeholder","required"],website:["description","placeholder","required"],password:["description","required"],twitter:["description","required"],date:["description","required"],time:["description","required"],name:["description","required"],address:["description","required"],phone:["description","showCountryCode","required"],section:["description","underline"],radio:["description","options","required"],checkbox:["description","options","required"],select:["description","options","required"],likert:["description","options","required"],hidden:["key","value"]};At.default.isFeatureEnabled(mt().VANILLA_FORM_HANDLER)&&Ct.textarea.push("maxLength");var Jt=Ct,Nt={BUILD:1,STORAGE:2,ADVANCED:3,CAPTCHA:4,DISCLAIMER:5},Tn=Nt,_t={DEFAULT_SLIDER_ASPECT_RATIO:50,RERENDER_ATTR_WHITELIST:["aspectRatio","autoplay","autoplay-duration","lightbox","lightboxTheme","methodOption","padding","thumbnail-strip-height","thumbnail-strip-margin","transientGallery","vSize"]},vt=_t,St={IMAGE_EMPTY:"imageEmpty",IMAGE_FILE:"imageFile",IMAGE_LICENSED:"imageLicensed",IMAGE_REUSED:"imageReused",ASSET_REUSED:"assetReused",VIDEO:"video"},wt=St,Gt=e(795478),Dt="/api/google-maps/places/autocomplete",en="/api/google-maps/places/details",sn=(0,Gt.shape)({productPage:Gt.string.isRequired,productSection:Gt.string.isRequired}),xn="sqs-prevent-block-focus-change",mn="escmanager-ignore",hn=[xn,mn],Hn="sqs-dd-invalid-handle",Dr=hn.join(" "),Or="sqs-block-html",ue={body:{raw:!1,layout:{columns:12,rows:[]}}},Te={FROM_WYSIWYG:"fromWysiwyg",FROM_DIALOG:"fromDialog"},qe={FROM_DIALOG:p()({},Te.FROM_DIALOG,!0),FROM_WYSIWYG:p()({},Te.FROM_WYSIWYG,!0)},kt=[".".concat(xn),"#avpw_holder",".dialog-choose-image-picker-url",".dialog-content-type.flyout",".dialog-minimal-video-editor.flyout",".dialog-screen-overlay",".image-picker-overlay",".ReactModal__Overlay",".sqs-image-picker",".sqs-item-view",".sqs-widgets-confirmation",".sqs-widgets-confirmation-overlay",".sqs-wysiwyg-toolbar-mobile",".sqsp-tooltip",".workflow-flyout",".block-editor-schemas-code",".CCLinkEditorModal",".CCLinkEditorPopOver",".CCModalOverlay",".CCPageDropDown","[data-dropdown-overlay]","[data-dropdown-container]",'[data-test="ColorPicker.Input.Type"]'].join(", "),un={BLOGS:['body.collection-type-blog [data-type="item"]','body.collection-type-blog [data-type="promoted-block"]','[class*="collection-type-blog"]'],BLOGS_AND_PAGES:['body.collection-type-blog [data-type="item"]','body.collection-type-blog [data-type="promoted-block"]','[class*="collection-type-page"]','[class*="collection-type-blog"]','[class*="collection-type-products"]','[data-type="page"]',"#productList","#productlist","#productGallery",".ProductList",".sqs-system-gallery","#flowItems",".productlist",".productitem-images",".sqs-pinterest-products-wrapper"],VALID_IMAGE_CONTAINER:[".sqs-block-image",".sqs-gallery-block-stacked",".sqs-gallery-block-grid",".sqs-gallery-block-slideshow",".sqs-block-html",".product-image","#productGallery","#productSlideshow",".ProductList-item",".product",".productlist-item",".sqs-system-gallery .slides .slide","article.flow-item",".productitem-images",".sqs-pinterest-products-wrapper",'[data-controller="ProductListImageLoader"]'],TRIGGER_SELECTORS:[".sqs-block-image",".sqs-gallery-block-stacked",".sqs-gallery-block-grid",".sqs-gallery-block-slideshow",".sqs-block-html img",".product-image","#productGallery .slide img","#productSlideshow",".ProductList-item",".product",'[class^="products"]',".productlist-item",".sqs-system-gallery","#flowItems",".productitem-images",".sqs-pinterest-image img",".sqs-pinterest-products-wrapper img"]},pn=un,Fr={CLOSED_DATE:"date-closed",KEY:"squarespace-popup-overlay",VERSION:"version",SUBMITTED:"submitted"},er={TOP_LEFT:"TOP_LEFT",TOP_CENTER:"TOP_CENTER",TOP_RIGHT:"TOP_RIGHT",CENTER_LEFT:"CENTER_LEFT",CENTER_CENTER:"CENTER_CENTER",CENTER_RIGHT:"CENTER_RIGHT",BOTTOM_LEFT:"BOTTOM_LEFT",BOTTOM_CENTER:"BOTTOM_CENTER",BOTTOM_RIGHT:"BOTTOM_RIGHT"},Gn=er,ti="js-space-around-frame",Si="js-section-editor-frame-overlay",_r=["colors.defaultThemeId","fonts.activeThemeId","colors.palette","colors.themes","fonts.themes","fonts.fontUsageCategories"],Wr={SITE_AESTHETICS_DIRTY_PATHS:_r},Un=e(48481),Yt=e.n(Un),fo={heading:Yt().HEADING,"sub-heading":Yt().SUB_HEADING,body:Yt().BODY,image:Yt().IMAGE,gallery:Yt().GALLERY,video:Yt().VIDEO,"social-icons":Yt().SOCIAL_ICONS,buttons:Yt().BUTTONS,navigation:Yt().NAVIGATION,"custom-form":Yt().CUSTOM_FORM,newsletter:Yt().NEWSLETTER,album:Yt().ALBUM,map:Yt().MAP,lock:Yt().LOCK,password:Yt().PASSWORD,twitter:Yt().TWITTER,logo:Yt().LOGO,action:Yt().ACTION,"popup-overlay-action":Yt().POPUP_OVERLAY_ACTION,"temp-lock-inject":Yt().TEMP_LOCK_INJECT,"sso-options":Yt().SSO_OPTIONS},Da=fo,Ka,Us=(Ka={},p()(p()(p()(p()(p()(p()(p()(p()(p()(p()(Ka,Yt().HEADING,"heading"),Yt().SUB_HEADING,"sub-heading"),Yt().BODY,"body"),Yt().IMAGE,"image"),Yt().GALLERY,"gallery"),Yt().VIDEO,"video"),Yt().SOCIAL_ICONS,"social-icons"),Yt().BUTTONS,"buttons"),Yt().NAVIGATION,"navigation"),Yt().CUSTOM_FORM,"custom-form"),p()(p()(p()(p()(p()(p()(p()(p()(p()(p()(Ka,Yt().NEWSLETTER,"newsletter"),Yt().ALBUM,"album"),Yt().MAP,"map"),Yt().LOCK,"lock"),Yt().PASSWORD,"password"),Yt().TWITTER,"twitter"),Yt().LOGO,"logo"),Yt().ACTION,"action"),Yt().POPUP_OVERLAY_ACTION,"popup-overlay-action"),Yt().TEMP_LOCK_INJECT,"temp-lock-inject")),Su=Us,Uo=e(40938),Oa=e.n(Uo),os=p()(p()(p()(p()({},Oa().COVER_PAGE,"cover-page"),Oa().LOCK_SCREEN,"lock-screen"),Oa().POPUP_OVERLAY,"popup-overlay"),Oa().SSO_SCREEN,"sso-screen"),Ar=os,Hr=W()(Ar),ta=function(ft){return ft.A="cohort-A",ft.B="cohort-B",ft.C="cohort-C",ft.D="cohort-D",ft.E="cohort-E",ft}(ta||{}),na=ta,ra={URL_SLUG:"url-slug",URL_SLUG_WITH_SLASH:"url-slug-with-slash"},Rr=ra,Va={CHANGE:"tweak:change",CLOSE:"tweak:close",SAVE:"tweak:save",RESET:"tweak:reset",AFTER_SHOW:"tweak:aftershow",AFTER_CLOSE:"tweak:afterclose",BEFORE_OPEN:"tweak:beforeopen"},ss=Va,ni={SPLASH_PAGE:"SPLASH_PAGE",LOCK_SCREEN:"LOCK_SCREEN",POPUP_OVERLAY:"POPUP_OVERLAY",CHECKOUT:"CHECKOUT",STYLE:"STYLE",SSO_PAGE:"SSO_PAGE"},_a=ni,us="ss",$a="BInhlQ%2Bl4i%2FTK2LNzmpe2QC%2Bdl6Qc7iJa15oy7OfSGK%2BY7lwDRam4FlQCIzQGEqAiJZo10MshaDLZWgX%2FckdPK0bOW%2FAfpkj2O5MO1d7Aul7v1RGoa7OBxfdciGAxZqjHAPKKo0fqkxxKF%2F9mM9JjA%3D%3D",ri={AUTH_ID:us,AUTH_TOKEN:$a},Qa=function(ft){return ft[ft.BYTES_IN_MB=1e6]="BYTES_IN_MB",ft}(Qa||{}),hi=Qa,La=e(976460),Mi=e.n(La),bi=function(ft){return ft.STRAIGHT_LINE_PRESET="STRAIGHT_LINE_PRESET",ft.MILD_WAVE_PRESET="MILD_WAVE_PRESET",ft}({}),vo=p()(p()({},bi.STRAIGHT_LINE_PRESET,{waveFrequency:4,waveIntensity:0,animationDirection:"left",animationSpeed:.5,pausedOnHover:!1,fadeEdges:!1,textStyle:"heading-1",textSize:{value:4,unit:Mi().REM},itemSpacing:{unit:Mi().EM,value:.4}}),bi.MILD_WAVE_PRESET,{waveFrequency:4,waveIntensity:60,animationDirection:"right",animationSpeed:.5,pausedOnHover:!1,fadeEdges:!1,textStyle:"heading-1",textSize:{value:4,unit:Mi().REM},itemSpacing:{unit:Mi().EM,value:.4}})},895786:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0,e(392338),e(392338),e(392338),e(392338),e(392338);var n=o(e(858240)),i=o(e(4636)),t=o(e(346797)),r=o(e(134521)),s=e(530653),d=e(441127);e(607025);var v=100,u=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return h>v?"".concat(v,"+"):h.toString()},a=function(){var h=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return h>v?(0,d.pluralize)({one:"More than one item in cart",other:"More than {%n} items in cart"},v,void 0,{notes:"A spoken message that helps non-visual users understand that they're focused on a cart link and that their cart has over N items. The \"one\" variant will probably never be used, it' just here for completeness.",project:"website.CartPage"}):(0,d.pluralize)({one:"One item in cart",other:"{%n} items in cart"},h,void 0,{notes:"A spoken message that helps non-visual users understand that they're focused on a cart link and that their cart has N items.",project:"website.CartPage"})},l=c.default=function(){function p(h){(0,n.default)(this,p),(0,t.default)(this,"initialized",!1),(0,t.default)(this,"containerEl",null),(0,t.default)(this,"quantityEl",null),(0,t.default)(this,"subtotalEl",null),this.containerEl=h,this.containerEl.classList.add(p.CLASSNAME),this.containerEl.setAttribute("data-test","continue-to-cart"),this.containerEl.setAttribute("aria-label",a(0)),this.quantityEl=h.getElementsByClassName(p.QUANTITY_CLASSNAME)[0],this.subtotalEl=h.getElementsByClassName(p.SUBTOTAL_CLASSNAME)[0]}return(0,i.default)(p,[{key:"sync",value:function(g){var m=g.items,S=m===void 0?0:m,_=g.subtotal,C=_===void 0?"":_;!this.initialized&&this.containerEl&&(this.containerEl.classList.add(p.INITIALIZED_CLASS),this.initialized=!0),this.containerEl&&(this.quantityEl?(S===0?this.containerEl.classList.add(s.TEMPLATE_CART_EMPTY_CLASS):this.containerEl.classList.remove(s.TEMPLATE_CART_EMPTY_CLASS),this.quantityEl.textContent=u(S),this.containerEl.setAttribute("aria-label",a(S))):this.containerEl.setAttribute("aria-label",(0,d.t)("Cart",null,{notes:"Shopping cart label",project:"website.CartPage"}))),this.subtotalEl&&(this.subtotalEl.textContent=C)}}],[{key:"syncAll",value:function(){var g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};p.instances.forEach(function(m){return m.sync(g)})}},{key:"mountAll",value:function(){for(var g=Array.from(document.getElementsByClassName(p.CONTAINER_CLASSNAME)),m=0,S=g;m0}},{key:"removePopoverIfExists",value:function(){p.popover&&(p.popover.remove(),p.popover=null)}},{key:"showAddedItemPopover",value:function(g){var m,S=p.createProductAddedToCartPopover(g.title),_=null,C=null,O=(0,r.default)(function(){p.popover&&(C&&C.getBoundingClientRect().top<=0&&p.setPopoverToTopRight(),p.instances.forEach(function(A){if(p.isInstanceVisible(A)){var x=A.containerEl;C=x,_=A,p.snapPopoverToCart(A,p.popover)}}))},100);p.popover&&window.removeEventListener("scroll",O),p.removePopoverIfExists(),p.popover=S,p.instances.forEach(function(A){if(p.isInstanceVisible(A)){var x=A.containerEl;C=x,_=A}}),p.popover.querySelector(".close").addEventListener("click",function(A){p.removePopoverIfExists(),window.removeEventListener("scroll",O)}),window.addEventListener("scroll",O),setTimeout(function(){p.removePopoverIfExists(),window.removeEventListener("scroll",O)},3e3),C&&_?p.snapPopoverToCart(_,S):p.setPopoverToTopRight(),(m=document.querySelector(".products.products-list"))===null||m===void 0||m.append(p.popover),S.classList.remove("hidden")}},{key:"setPopoverToTopRight",value:function(){p.popover&&(p.popover.style.marginTop="33px",p.popover.style.top="0px")}},{key:"snapPopoverToCart",value:function(g,m){var S,_=g.containerEl,C=_==null?void 0:_.parentNode,O=_;if(O){var A=O.getBoundingClientRect();if(C!=null&&C.classList.contains("floating-cart")){A=C==null?void 0:C.getBoundingClientRect(),m.style.bottom="".concat(A.bottom-A.top+33,"px"),m.style.right="".concat(window.innerWidth-A.right,"px");return}var x=(S=document.querySelector("header"))===null||S===void 0||(S=S.getBoundingClientRect())===null||S===void 0?void 0:S.height,T=A.top+A.height,R=16;x?T=x+R:T+=R,m.style.marginTop="0",m.style.top="".concat(T,"px")}}},{key:"createProductAddedToCartPopover",value:function(g){var m=(0,d.t)("{productName} was added to your cart.",{productName:g},{project:"website.CartPage"}),S=(0,d.t)("Close",null,{project:"website.CartPage"}),_=document.createElement("div"),C=document.createElement("p"),O=document.createElement("span");return _.classList.add("template-cart-item-added-popover","hidden"),O.classList.add("close"),C.append(m),O.setAttribute("aria-label",S),O.setAttribute("role","button"),O.innerHTML='',_.append(C),_.append(O),_}},{key:"unmountAll",value:function(){p.instances=[]}}]),p}();(0,t.default)(l,"CONTAINER_CLASSNAME",s.TEMPLATE_CART_CONTAINER_CLASS),(0,t.default)(l,"QUANTITY_CLASSNAME",s.TEMPLATE_CART_QUANTITY_CLASS),(0,t.default)(l,"SUBTOTAL_CLASSNAME",s.TEMPLATE_CART_SUBTOTAL_CLASS),(0,t.default)(l,"CLASSNAME",s.TEMPLATE_CART_CLASS),(0,t.default)(l,"INITIALIZED_CLASS",s.TEMPLATE_CART_INITIALIZED_CLASS),(0,t.default)(l,"instances",[]),(0,t.default)(l,"popover",null),y.exports=c.default},441127:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.t=c.pluralize=c.parseNumber=c.getCurrencySymbol=c.getCurrencyFractions=c.formatRelativeTime=c.formatQuantity=c.formatNumber=c.formatMoney=c.formatIcuMessage=c.formatDateTime=c.formatCurrencyToParts=c.formatCurrency=c.T=void 0;var n=o(e(761217)),i=o(e(61048)),t=o(e(640571)),r=e(572904),s=(0,r.getI18nInstance)(),d=new t.default(s),v=new n.default(s),u=new i.default(s),a=c.formatIcuMessage=v.formatIcuMessage,l=c.parseNumber=u.parseNumber,p=c.formatNumber=s.formatNumber,h=c.formatCurrency=s.formatCurrency,g=c.formatCurrencyToParts=s.formatCurrencyToParts,m=c.getCurrencyFractions=s.getCurrencyFractions,S=c.getCurrencySymbol=s.getCurrencySymbol,_=c.formatQuantity=s.formatQuantity,C=c.formatDateTime=s.formatDateTime,O=c.formatRelativeTime=s.formatRelativeTime,A=c.t=s.translate,x=c.pluralize=s.pluralize,T=c.formatMoney=s.formatMoney,R=c.T=d.T},572904:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.setI18nInstance=c.getI18nInstance=void 0,e(392338);var o=e(308938),n="website.CartPage";function i(d){return e(314909)("./".concat(n,".").concat(d,".yaml"))}var t=(0,o.setupLibrary)(n,i),r=c.getI18nInstance=t.getI18nInstance,s=c.setI18nInstance=t.setI18nInstance},530653:function(y,c){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.TEMPLATE_CART_SUBTOTAL_CLASS=c.TEMPLATE_CART_QUANTITY_CLASS=c.TEMPLATE_CART_INITIALIZED_CLASS=c.TEMPLATE_CART_INDICATOR_CLASS=c.TEMPLATE_CART_EMPTY_CLASS=c.TEMPLATE_CART_CONTAINER_CLASS=c.TEMPLATE_CART_CLASS=c.FULL_PAGE_CART_ROOT_ID=c.FULL_PAGE_CART_CONTAINER_ID=void 0;var e=c.FULL_PAGE_CART_ROOT_ID="sqs-cart-root",o=c.FULL_PAGE_CART_CONTAINER_ID="sqs-cart-container",n=c.TEMPLATE_CART_INDICATOR_CLASS="sqs-has-custom-cart",i=c.TEMPLATE_CART_CONTAINER_CLASS="sqs-custom-cart",t=c.TEMPLATE_CART_CLASS="sqs-template-integrated-shopping-cart",r=c.TEMPLATE_CART_INITIALIZED_CLASS="sqs-cart-initialized",s=c.TEMPLATE_CART_QUANTITY_CLASS="sqs-cart-quantity",d=c.TEMPLATE_CART_SUBTOTAL_CLASS="sqs-cart-subtotal",v=c.TEMPLATE_CART_EMPTY_CLASS="cart-quantity-zero"},831725:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.default=void 0;var o=e(530653),n=c.default=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!t.document.getElementById(o.FULL_PAGE_CART_ROOT_ID)};y.exports=c.default},90642:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),Object.defineProperty(c,"TemplateCart",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(c,"isCartPage",{enumerable:!0,get:function(){return n.default}});var n=o(e(831725)),i=o(e(895786))},314909:function(y,c,e){var o={"./website.CartPage.en-US.yaml":293857,"src/main/webapp/frontend/website/commerce-cart/sqs-i18n-translations/strings/website.CartPage.en-US.yaml":293857};function n(t){var r=i(t);return e(r)}function i(t){if(!e.o(o,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return o[t]}n.keys=function(){return Object.keys(o)},n.resolve=i,y.exports=n,n.id=314909},206158:function(y,c,e){"use strict";Object.defineProperty(c,"__esModule",{value:!0}),c.setI18nInstance=c.getI18nInstance=void 0,e(392338);var o=e(308938),n="website.ProductReviews";function i(d){return e(801252)("./".concat(n,".").concat(d,".yaml"))}var t=(0,o.setupLibrary)(n,i),r=c.getI18nInstance=t.getI18nInstance,s=c.setI18nInstance=t.setI18nInstance},801252:function(y,c,e){var o={"./website.ProductReviews.en-US.yaml":175493,"src/main/webapp/frontend/website/product-reviews/sqs-i18n-translations/strings/website.ProductReviews.en-US.yaml":175493};function n(t){var r=i(t);return e(r)}function i(t){if(!e.o(o,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return o[t]}n.keys=function(){return Object.keys(o)},n.resolve=i,y.exports=n,n.id=801252},451886:function(y,c,e){"use strict";var o,n=e(875832);o={value:!0},Object.defineProperty(c,"z",{enumerable:!0,get:function(){return i.default}});var i=n(e(927357))},927357:function(y,c,e){"use strict";var o=e(875832);Object.defineProperty(c,"__esModule",{value:!0}),c.default=r;var n=o(e(994336));function i(){var s;return(s=window.Static)===null||s===void 0?void 0:s.SQUARESPACE_CONTEXT}function t(){var s=i(),d=s.website;return!!(d!=null&&d.cloneable)}function r(){var s=i(),d=s.cookieSettings,v=d.isRestrictiveCookiePolicyEnabled,u=d.isCookieBannerEnabled;if(t())return!0;var a=n.default.get("ss_performanceCookiesAllowed"),l=n.default.get("ss_marketingCookiesAllowed");return d&&v&&(!u||!a||a==="false"||!l||l==="false")}y.exports=c.default},232630:function(){(function(){function y(c){c.Modernizr=function(e,o,n){var i="2.8.3",t={},r=!0,s=o.documentElement,d="modernizr",v=o.createElement(d),u=v.style,a=o.createElement("input"),l=":)",p={}.toString,h=" -webkit- -moz- -o- -ms- ".split(" "),g="Webkit Moz O ms",m=g.split(" "),S=g.toLowerCase().split(" "),_={svg:"http://www.w3.org/2000/svg"},C={},O={},A={},x=[],T=x.slice,R,N=function(X,re,Z,te){d+="x";var oe,Se,Re,Ke,Qe=o.createElement("div"),Je=o.body,rt=Je||o.createElement("body");if(parseInt(Z,10))for(;Z--;)Re=o.createElement("div"),Re.id=te?te[Z]:d+(Z+1),Qe.appendChild(Re);return oe=["­",'"].join(""),Qe.id=d,(Je?Qe:rt).innerHTML+=oe,rt.appendChild(Qe),Je||(rt.style.background="",rt.style.overflow="hidden",Ke=s.style.overflow,s.style.overflow="hidden",s.appendChild(rt)),Se=re(Qe,X),Je?(Qe.style.display="none",e.setTimeout(function(){Qe.parentNode.removeChild(Qe)},1e3)):(rt.parentNode.removeChild(rt),s.style.overflow=Ke),!!Se},B=function(){var X={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};function re(Z,te){te=te||o.createElement(X[Z]||"div"),Z="on"+Z;var oe=Z in te;return oe||(te.setAttribute||(te=o.createElement("div")),te.setAttribute&&te.removeAttribute&&(te.setAttribute(Z,""),oe=V(te[Z],"function"),V(te[Z],"undefined")||(te[Z]=n),te.removeAttribute(Z))),te=null,oe}return re}(),z={}.hasOwnProperty,K;!V(z,"undefined")&&!V(z.call,"undefined")?K=function(X,re){return z.call(X,re)}:K=function(X,re){return re in X&&V(X.constructor.prototype[re],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(re){var Z=this;if(typeof Z!="function")throw new TypeError;var te=T.call(arguments,1),oe=function(){if(this instanceof oe){var Se=function(){};Se.prototype=Z.prototype;var Re=new Se,Ke=Z.apply(Re,te.concat(T.call(arguments)));return Object(Ke)===Ke?Ke:Re}else return Z.apply(re,te.concat(T.call(arguments)))};return oe});function $(X){u.cssText=X}function ie(X,re){return $(h.join(X+";")+(re||""))}function V(X,re){return typeof X===re}function W(X,re){return!!~(""+X).indexOf(re)}function H(X,re){for(var Z in X){var te=X[Z];if(!W(te,"-")&&u[te]!==n)return re=="pfx"?te:!0}return!1}function k(X,re,Z){for(var te in X){var oe=re[X[te]];if(oe!==n)return Z===!1?X[te]:V(oe,"function")?oe.bind(Z||re):oe}return!1}function J(X,re,Z){var te=X.charAt(0).toUpperCase()+X.slice(1),oe=(X+" "+m.join(te+" ")+te).split(" ");return V(re,"string")||V(re,"undefined")?H(oe,re):(oe=(X+" "+S.join(te+" ")+te).split(" "),k(oe,re,Z))}C.flexbox=function(){return J("flexWrap")},C.canvas=function(){var X=o.createElement("canvas");return!!(X.getContext&&X.getContext("2d"))},C.canvastext=function(){return!!(t.canvas&&V(o.createElement("canvas").getContext("2d").fillText,"function"))},C.webgl=function(){return!!e.WebGLRenderingContext},C.touch=function(){var X;return"ontouchstart"in e||e.DocumentTouch&&o instanceof DocumentTouch?X=!0:N(["@media (",h.join("touch-enabled),("),d,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(re){X=re.offsetTop===9}),X},C.hashchange=function(){return B("hashchange",e)&&(o.documentMode===n||o.documentMode>7)},C.history=function(){return!!(e.history&&history.pushState)},C.draganddrop=function(){var X=o.createElement("div");return"draggable"in X||"ondragstart"in X&&"ondrop"in X},C.rgba=function(){return $("background-color:rgba(150,255,150,.5)"),W(u.backgroundColor,"rgba")},C.hsla=function(){return $("background-color:hsla(120,40%,100%,.5)"),W(u.backgroundColor,"rgba")||W(u.backgroundColor,"hsla")},C.multiplebgs=function(){return $("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(u.background)},C.backgroundsize=function(){return J("backgroundSize")},C.borderimage=function(){return J("borderImage")},C.borderradius=function(){return J("borderRadius")},C.boxshadow=function(){return J("boxShadow")},C.textshadow=function(){return o.createElement("div").style.textShadow===""},C.opacity=function(){return ie("opacity:.55"),/^0.55$/.test(u.opacity)},C.cssanimations=function(){return J("animationName")},C.csscolumns=function(){return J("columnCount")},C.cssgradients=function(){var X="background-image:",re="gradient(linear,left top,right bottom,from(#9f9),to(white));",Z="linear-gradient(left top,#9f9, white);";return $((X+"-webkit- ".split(" ").join(re+X)+h.join(Z+X)).slice(0,-X.length)),W(u.backgroundImage,"gradient")},C.cssreflections=function(){return J("boxReflect")},C.csstransforms=function(){return!!J("transform")},C.csstransforms3d=function(){var X=!!J("perspective");return X&&"webkitPerspective"in s.style&&N("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(re,Z){X=re.offsetLeft===9&&re.offsetHeight===3}),X},C.csstransitions=function(){return J("transition")},C.video=function(){var X=o.createElement("video"),re=!1;try{(re=!!X.canPlayType)&&(re=new Boolean(re),re.ogg=X.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),re.h264=X.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),re.webm=X.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(Z){}return re},C.audio=function(){var X=o.createElement("audio"),re=!1;try{(re=!!X.canPlayType)&&(re=new Boolean(re),re.ogg=X.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),re.mp3=X.canPlayType("audio/mpeg;").replace(/^no$/,""),re.wav=X.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),re.m4a=(X.canPlayType("audio/x-m4a;")||X.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(Z){}return re},C.svg=function(){return!!o.createElementNS&&!!o.createElementNS(_.svg,"svg").createSVGRect},C.inlinesvg=function(){var X=o.createElement("div");return X.innerHTML="",(X.firstChild&&X.firstChild.namespaceURI)==_.svg},C.svgclippaths=function(){return!!o.createElementNS&&/SVGClipPath/.test(p.call(o.createElementNS(_.svg,"clipPath")))};function ae(){t.input=function(X){for(var re=0,Z=X.length;re=0)&&Object.prototype.propertyIsEnumerable.call(i,s)&&(r[s]=i[s])}return r}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},203634:function(y){function c(e,o){if(e==null)return{};var n={},i=Object.keys(e),t,r;for(r=0;r=0)&&(n[t]=e[t]);return n}y.exports=c,y.exports.__esModule=!0,y.exports.default=y.exports},333852:function(y,c,e){var o=e(506051);function n(i,t){for(;!Object.prototype.hasOwnProperty.call(i,t)&&(i=o(i),i!==null););return i}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},603912:function(y,c,e){var o=e(82078),n=e(221300),i=e(274603),t=e(609893);function r(s){return o(s)||n(s)||i(s)||t()}y.exports=r,y.exports.__esModule=!0,y.exports.default=y.exports},769078:function(y){"use strict";function c(be,ge){(ge==null||ge>be.length)&&(ge=be.length);for(var Oe=0,ke=new Array(ge);Oe=0)&&Object.prototype.propertyIsEnumerable.call(be,ke)&&(Oe[ke]=be[ke])}return Oe}function p(be,ge){if(be==null)return{};var Oe={},ke=Object.keys(be),Ye,ct;for(ct=0;ct=0)&&(Oe[Ye]=be[Ye]);return Oe}function h(be,ge){return e(be)||d(be,ge)||m(be,ge)||v()}function g(be){return o(be)||s(be)||m(be)||u()}function m(be,ge){if(be){if(typeof be=="string")return c(be,ge);var Oe=Object.prototype.toString.call(be).slice(8,-1);if(Oe==="Object"&&be.constructor&&(Oe=be.constructor.name),Oe==="Map"||Oe==="Set")return Array.from(Oe);if(Oe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(Oe))return c(be,ge)}}function S(be,ge){var Oe,ke,Ye,ct,Rt={label:0,sent:function(){if(Ye[0]&1)throw Ye[1];return Ye[1]},trys:[],ops:[]};return ct={next:Vt(0),throw:Vt(1),return:Vt(2)},typeof Symbol=="function"&&(ct[Symbol.iterator]=function(){return this}),ct;function Vt(Xt){return function(Fn){return rn([Xt,Fn])}}function rn(Xt){if(Oe)throw new TypeError("Generator is already executing.");for(;Rt;)try{if(Oe=1,ke&&(Ye=Xt[0]&2?ke.return:Xt[0]?ke.throw||((Ye=ke.return)&&Ye.call(ke),0):ke.next)&&!(Ye=Ye.call(ke,Xt[1])).done)return Ye;switch(ke=0,Ye&&(Xt=[Xt[0]&2,Ye.value]),Xt[0]){case 0:case 1:Ye=Xt;break;case 4:return Rt.label++,{value:Xt[1],done:!1};case 5:Rt.label++,ke=Xt[1],Xt=[0];continue;case 7:Xt=Rt.ops.pop(),Rt.trys.pop();continue;default:if(Ye=Rt.trys,!(Ye=Ye.length>0&&Ye[Ye.length-1])&&(Xt[0]===6||Xt[0]===2)){Rt=0;continue}if(Xt[0]===3&&(!Ye||Xt[1]>Ye[0]&&Xt[1]0&&arguments[0]!==void 0?arguments[0]:ge,Rt="";;)for(var Vt=Oe(Ye),rn=Ye;rn--;)if(Rt+=be[Vt[rn]&ke]||"",Rt.length===ct)return Rt}},V=function(be){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:21;return ie(be,ge,$)},W=function(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(be)).reduce(function(ge,Oe){return Oe&=63,Oe<36?ge+=Oe.toString(36):Oe<62?ge+=(Oe-26).toString(36).toUpperCase():Oe>62?ge+="-":ge+="_",ge},"")}}}),k={};T(k,{RUM_PREFIX:function(){return ra},default:function(){return cs},getA11yData:function(){return pn},getCumulativeLayoutShift:function(){return xn},getDomainLookup:function(){return Ie},getFirstContentfulPaint:function(){return mn},getFirstInputDelay:function(){return hn},getInteractionToNextPaint:function(){return Hn},getLargestContentfulPaint:function(){return Dr},getNavigationTimingType:function(){return dt},getPerformanceMetrics:function(){return qe},getServerTiming:function(){return xt},getTcpConnection:function(){return It},getTlsNegotiation:function(){return gt},init:function(){return Ou},mark:function(){return Va},measure:function(){return ss},trackEventsV2Factory:function(){return ls},trackLoadPerformance:function(){return js},trackSqspImages:function(){return Ar}}),y.exports=N(k);var J={};T(J,{getCumulativeLayoutShift:function(){return xn},getDomainLookup:function(){return Ie},getFirstContentfulPaint:function(){return mn},getFirstInputDelay:function(){return hn},getInteractionToNextPaint:function(){return Hn},getLargestContentfulPaint:function(){return Dr},getNavigationTimingType:function(){return dt},getServerTiming:function(){return xt},getTcpConnection:function(){return It},getTlsNegotiation:function(){return gt}});var ae="/api/1/performance/records",ne="load",X="visibilitychange",re=["Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp"," ","Enter"],Z="SS_MID",te="SS_ANALYTICS_ID",oe=3e4,Se=/(iPhone|iPod|iPad) OS ((1[0-2])|[2-9])_\d+.*AppleWebKit(?!.*Safari)/i,Re=200,Ke="4.13.1",Qe=function(be){return function(){for(var ge=arguments.length,Oe=new Array(ge),ke=0;ke2147483647?[2]:[2,Math.round(ke)]}})});return function(Oe){return be.apply(this,arguments)}}(),Ce=function(){var be=i(function(){var ge;return S(this,function(Oe){switch(Oe.label){case 0:return[4,Le()];case 1:return ge=Oe.sent(),[2,ge.serverTiming]}})});return function(){return be.apply(this,arguments)}}(),Ne=function(){var be=i(function(ge){var Oe,ke;return S(this,function(Ye){switch(Ye.label){case 0:return[4,Le()];case 1:return Oe=Ye.sent(),ke=Oe[ge],typeof ke!="string"?[2]:[2,ke]}})});return function(Oe){return be.apply(this,arguments)}}(),Ee=function(be,ge){if(typeof be=="number"&&typeof ge=="number"&&be>=ge)return be-ge},Ie=function(be){return Promise.all([le("domainLookupEnd"),le("domainLookupStart")]).then(function(ge){var Oe=h(ge,2),ke=Oe[0],Ye=Oe[1];be({domainLookup:Ee(ke,Ye)})})},dt=function(be){return Ne("type").then(function(ge){be({navigationTimingType:ge})})},xt=function(be){return Ce().then(function(ge){be({serverTiming:JSON.stringify(ge)})})},It=function(be){return Promise.all([le("connectEnd"),le("connectStart")]).then(function(ge){var Oe=h(ge,2),ke=Oe[0],Ye=Oe[1];be({tcpConnection:Ee(ke,Ye)})})},gt=function(be){return Promise.all([le("connectEnd"),le("secureConnectionStart")]).then(function(ge){var Oe=h(ge,2),ke=Oe[0],Ye=Oe[1];be({tlsNegotiation:Ee(ke,Ye)})})},Ot,Fe,Ve,se,fe,pe=-1,xe=function(ge){addEventListener("pageshow",function(Oe){Oe.persisted&&(pe=Oe.timeStamp,ge(Oe))},!0)},Me=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},je=function(){var ge=Me();return ge&&ge.activationStart||0},Xe=function(ge,Oe){var ke=Me(),Ye="navigate";return pe>=0?Ye="back-forward-cache":ke&&(document.prerendering||je()>0?Ye="prerender":document.wasDiscarded?Ye="restore":ke.type&&(Ye=ke.type.replace(/_/g,"-"))),{name:ge,value:Oe===void 0?-1:Oe,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:Ye}},st=function(ge,Oe,ke){try{if(PerformanceObserver.supportedEntryTypes.includes(ge)){var Ye=new PerformanceObserver(function(ct){Promise.resolve().then(function(){Oe(ct.getEntries())})});return Ye.observe(Object.assign({type:ge,buffered:!0},ke||{})),Ye}}catch(ct){}},Ae=function(ge,Oe,ke,Ye){var ct,Rt;return function(Vt){Oe.value>=0&&(Vt||Ye)&&((Rt=Oe.value-(ct||0))||ct===void 0)&&(ct=Oe.value,Oe.delta=Rt,Oe.rating=function(rn,Xt){return rn>Xt[1]?"poor":rn>Xt[0]?"needs-improvement":"good"}(Oe.value,ke),ge(Oe))}},He=function(ge){requestAnimationFrame(function(){return requestAnimationFrame(function(){return ge()})})},ot=function(ge){var Oe=function(Ye){Ye.type!=="pagehide"&&document.visibilityState!=="hidden"||ge(Ye)};addEventListener("visibilitychange",Oe,!0),addEventListener("pagehide",Oe,!0)},Ut=function(ge){var Oe=!1;return function(ke){Oe||(ge(ke),Oe=!0)}},Zt=-1,jt=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},vn=function(ge){document.visibilityState==="hidden"&&Zt>-1&&(Zt=ge.type==="visibilitychange"?ge.timeStamp:0,xr())},Xn=function(){addEventListener("visibilitychange",vn,!0),addEventListener("prerenderingchange",vn,!0)},xr=function(){removeEventListener("visibilitychange",vn,!0),removeEventListener("prerenderingchange",vn,!0)},Wn=function(){return Zt<0&&(Zt=jt(),Xn(),xe(function(){setTimeout(function(){Zt=jt(),Xn()},0)})),{get firstHiddenTime(){return Zt}}},kn=function(ge){document.prerendering?addEventListener("prerenderingchange",function(){return ge()},!0):ge()},or=[1800,3e3],ci=function(ge,Oe){Oe=Oe||{},kn(function(){var ke,Ye=Wn(),ct=Xe("FCP"),Rt=st("paint",function(Vt){Vt.forEach(function(rn){rn.name==="first-contentful-paint"&&(Rt.disconnect(),rn.startTimeYe.value&&(Ye.value=ct,Ye.entries=Rt,ke())},rn=st("layout-shift",Vt);rn&&(ke=Ae(ge,Ye,Jr,Oe.reportAllChanges),ot(function(){Vt(rn.takeRecords()),ke(!0)}),xe(function(){ct=0,Ye=Xe("CLS",0),ke=Ae(ge,Ye,Jr,Oe.reportAllChanges),He(function(){return ke()})}),setTimeout(ke,0))}))},Mr={passive:!0,capture:!0},Zi=new Date,Gr=function(ge,Oe){Ot||(Ot=Oe,Fe=ge,Ve=new Date,Lr(removeEventListener),Pe())},Pe=function(){if(Fe>=0&&Fe1e12?new Date:performance.now())-ge.timeStamp;ge.type=="pointerdown"?function(ke,Ye){var ct=function(){Gr(ke,Ye),Vt()},Rt=function(){Vt()},Vt=function(){removeEventListener("pointerup",ct,Mr),removeEventListener("pointercancel",Rt,Mr)};addEventListener("pointerup",ct,Mr),addEventListener("pointercancel",Rt,Mr)}(Oe,ge):Gr(Oe,ge)}},Lr=function(ge){["mousedown","keydown","touchstart","pointerdown"].forEach(function(Oe){return ge(Oe,cn,Mr)})},pr=[100,300],Ji=function(ge,Oe){Oe=Oe||{},kn(function(){var ke,Ye=Wn(),ct=Xe("FID"),Rt=function(Fn){Fn.startTimeOe.latency){if(ke)ke.entries.push(ge),ke.latency=Math.max(ke.latency,ge.duration);else{var Ye={id:ge.interactionId,latency:ge.duration,entries:[ge]};di[Ye.id]=Ye,Nr.push(Ye)}Nr.sort(function(ct,Rt){return Rt.latency-ct.latency}),Nr.splice(10).forEach(function(ct){delete di[ct.id]})}},ei=function(ge,Oe){Oe=Oe||{},kn(function(){var ke;Yi();var Ye,ct=Xe("INP"),Rt=function(Xt){Xt.forEach(function(gr){gr.interactionId&&qi(gr),gr.entryType==="first-input"&&!Nr.some(function(kr){return kr.entries.some(function(Gi){return gr.duration===Gi.duration&&gr.startTime===Gi.startTime})})&&qi(gr)});var Fn,Kn=(Fn=Math.min(Nr.length-1,Math.floor(ur()/50)),Nr[Fn]);Kn&&Kn.latency!==ct.value&&(ct.value=Kn.latency,ct.entries=Kn.entries,Ye())},Vt=st("event",Rt,{durationThreshold:(ke=Oe.durationThreshold)!==null&&ke!==void 0?ke:40});Ye=Ae(ge,ct,Zn,Oe.reportAllChanges),Vt&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&Vt.observe({type:"first-input",buffered:!0}),ot(function(){Rt(Vt.takeRecords()),ct.value<0&&ur()>0&&(ct.value=0,ct.entries=[]),Ye(!0)}),xe(function(){Nr=[],sr=qr(),ct=Xe("INP"),Ye=Ae(ge,ct,Zn,Oe.reportAllChanges)}))})},Qt=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},da=function(ge){var Oe=ge.nodeName;return ge.nodeType===1?Oe.toLowerCase():Oe.toUpperCase().replace(/^#/,"")},Ri=function(ge,Oe){var ke="";try{for(;ge&&ge.nodeType!==9;){var Ye=ge,ct=Ye.id?"#"+Ye.id:da(Ye)+(Ye.classList&&Ye.classList.value&&Ye.classList.value.trim()&&Ye.classList.value.trim().length?"."+Ye.classList.value.trim().replace(/\s+/g,"."):"");if(ke.length+ct.length>(Oe||100)-1)return ke||ct;if(ke=ke?ct+">"+ke:ct,Ye.id)break;ge=Ye.parentNode}}catch(Rt){}return ke},vi=-1,lr=function(){return vi},Ei=function(ge){addEventListener("pageshow",function(Oe){Oe.persisted&&(vi=Oe.timeStamp,ge(Oe))},!0)},ea=function(){var ge=Qt();return ge&&ge.activationStart||0},wi=function(ge,Oe){var ke=Qt(),Ye="navigate";return lr()>=0?Ye="back-forward-cache":ke&&(document.prerendering||ea()>0?Ye="prerender":document.wasDiscarded?Ye="restore":ke.type&&(Ye=ke.type.replace(/_/g,"-"))),{name:ge,value:Oe===void 0?-1:Oe,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:Ye}},Ur=function(ge,Oe,ke){try{if(PerformanceObserver.supportedEntryTypes.includes(ge)){var Ye=new PerformanceObserver(function(ct){Promise.resolve().then(function(){Oe(ct.getEntries())})});return Ye.observe(Object.assign({type:ge,buffered:!0},ke||{})),Ye}}catch(ct){}},Ir=function(ge,Oe,ke,Ye){var ct,Rt;return function(Vt){Oe.value>=0&&(Vt||Ye)&&((Rt=Oe.value-(ct||0))||ct===void 0)&&(ct=Oe.value,Oe.delta=Rt,Oe.rating=function(rn,Xt){return rn>Xt[1]?"poor":rn>Xt[0]?"needs-improvement":"good"}(Oe.value,ke),ge(Oe))}},ze=function(ge){requestAnimationFrame(function(){return requestAnimationFrame(function(){return ge()})})},me=function(ge){var Oe=function(Ye){Ye.type!=="pagehide"&&document.visibilityState!=="hidden"||ge(Ye)};addEventListener("visibilitychange",Oe,!0),addEventListener("pagehide",Oe,!0)},we=function(ge){var Oe=!1;return function(ke){Oe||(ge(ke),Oe=!0)}},Ue=-1,tt=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},mt=function(ge){document.visibilityState==="hidden"&&Ue>-1&&(Ue=ge.type==="visibilitychange"?ge.timeStamp:0,Ct())},At=function(){addEventListener("visibilitychange",mt,!0),addEventListener("prerenderingchange",mt,!0)},Ct=function(){removeEventListener("visibilitychange",mt,!0),removeEventListener("prerenderingchange",mt,!0)},Jt=function(){return Ue<0&&(Ue=tt(),At(),Ei(function(){setTimeout(function(){Ue=tt(),At()},0)})),{get firstHiddenTime(){return Ue}}},Nt=function(ge){document.prerendering?addEventListener("prerenderingchange",function(){return ge()},!0):ge()},Tn=1/0,_t=[2500,4e3],vt={},St=function(ge,Oe){(function(ke,Ye){Ye=Ye||{},Nt(function(){var ct,Rt=Jt(),Vt=wi("LCP"),rn=function(gr){var kr=gr[gr.length-1];kr&&kr.startTimeRe)return Dt(ge);for(var Oe=be.parentElement;Oe!==null&&Oe.tagName!=="BODY";){var ke="<"+Gt(Oe);if(ge+=ke,ge.length>Re)return Dt(ge);Oe=Oe.parentElement}return ge},sn=function(be){var ge,Oe=(ge=be.attribution.lcpEntry)===null||ge===void 0?void 0:ge.element;return{largestContentfulPaint:Math.round(be.value),lcpElementName:Oe?wt(Oe):void 0,lcpElementPath:Oe?en(Oe):void 0,lcpElementRenderDelay:Math.round(be.attribution.elementRenderDelay),lcpResourceLoadDelay:Math.round(be.attribution.resourceLoadDelay),lcpResourceLoadTime:Math.round(be.attribution.resourceLoadTime),lcpTtfb:Math.round(be.attribution.timeToFirstByte)}},xn=function(be){fa(function(ge){be({cumulativeLayoutShift:ge.value})},{reportAllChanges:!0})},mn=function(be){ci(function(ge){be({firstContentfulPaint:Math.round(ge.value)})})},hn=function(be){Ji(function(ge){be({firstInputDelay:Math.round(ge.value)})})},Hn=function(be){ei(function(ge){be({interactionToNextPaint:Math.round(ge.value)})})},Dr=function(be){St(function(ge){be(sn(ge))})},Or=["connectEnd","connectStart","decodedBodySize","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","encodedBodySize","fetchStart","loadEventEnd","loadEventStart","redirectCount","redirectEnd","redirectStart","responseStart","responseEnd","responseStatus","secureConnectionStart","transferSize","unloadEventEnd","unloadEventStart","workerStart"],ue=["initiatorType","nextHopProtocol"],Te=function(be,ge){return function(){var Oe=i(function(ke){var Ye,ct,Rt,Vt,rn;return S(this,function(Xt){switch(Xt.label){case 0:return Xt.trys.push([0,2,,3]),Ye=[{},ke],[4,be(ke)];case 1:return ge.apply(void 0,[t.apply(void 0,Ye.concat([Xt.sent()]))]),[3,3];case 2:return ct=Xt.sent(),(rn=window)===null||rn===void 0||(Vt=rn.SQUARESPACE_SENTRY)===null||Vt===void 0||(Rt=Vt.captureException)===null||Rt===void 0||Rt.call(Vt,ct),[3,3];case 3:return[2]}})});return function(ke){return Oe.apply(this,arguments)}}()};function qe(be){Object.values(J).forEach(function(){var ge=i(function(Oe){var ke,Ye,ct,Rt;return S(this,function(Vt){switch(Vt.label){case 0:return Vt.trys.push([0,2,,3]),[4,Oe(be)];case 1:return Vt.sent(),[3,3];case 2:return ke=Vt.sent(),(Rt=window)===null||Rt===void 0||(ct=Rt.SQUARESPACE_SENTRY)===null||ct===void 0||(Ye=ct.captureException)===null||Ye===void 0||Ye.call(ct,ke),[3,3];case 3:return[2]}})});return function(Oe){return ge.apply(this,arguments)}}()),Or.forEach(Te(le,be)),ue.forEach(Te(Ne,be))}var kt=["more","less","custom"],un=function(){var be;return(be=kt.find(function(ge){return window.matchMedia("prefers-contrast: ".concat(ge)).matches}))!==null&&be!==void 0?be:"no-preference"},pn=function(){var be;return{forceColors:window.matchMedia("(forced-colors: active)").matches,networkInformationType:(be=navigator.connection)===null||be===void 0?void 0:be.type,prefersContrast:un(),prefersReducedMotion:window.matchMedia("(prefers-reduced-motion: reduce)").matches,primaryInputHasHover:window.matchMedia("(hover: hover)").matches,keyboardUsage:!1}},Fr=function(be){var ge=pn(),Oe=function(){be(ge,"a11y")},ke=function(ct){var Rt;["INPUT","TEXTAREA"].includes((Rt=ct.target)===null||Rt===void 0?void 0:Rt.tagName)||!re.includes(ct.key)||(ge.keyboardUsage=!0,document.removeEventListener("keydown",ke))};document.addEventListener("keydown",ke);var Ye=function(){document.visibilityState==="hidden"&&(Oe(),document.removeEventListener("keydown",ke),document.removeEventListener(X,Ye))};document.addEventListener(X,Ye)};function er(be){var ge=new RegExp("(^| )".concat(be,"=([^;]+)")),Oe=document.cookie.match(ge);return Oe?Oe[2]:""}function Gn(){return!!(window.PerformanceMeasure&&window.PerformanceMark)}function ti(){if(!Object.prototype.hasOwnProperty.call(window,"PerformanceObserver"))return!1;try{var be=new window.PerformanceObserver(function(){return null});be.observe({entryTypes:["mark"]}),be.disconnect()}catch(ge){return!1}return!0}function Si(){var be;return typeof((be=window.navigator)===null||be===void 0?void 0:be.sendBeacon)=="function"&&!Se.test(window.navigator.userAgent)}var _r=function(be){var ge=Number(be);return Number.isNaN(ge)?void 0:ge};function Wr(){var be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},ge,Oe,ke,Ye,ct,Rt,Vt;return{context:be,analyticsId:er(te),marketingId:er(Z),memberId:(ke=window.Static)===null||ke===void 0||(Oe=ke.SQUARESPACE_CONTEXT)===null||Oe===void 0||(ge=Oe.authenticatedAccount)===null||ge===void 0?void 0:ge.id,version:Ke,downlink:_r((Ye=navigator.connection)===null||Ye===void 0?void 0:Ye.downlink),effectiveType:(ct=navigator.connection)===null||ct===void 0?void 0:ct.effectiveType,rtt:_r((Rt=navigator.connection)===null||Rt===void 0?void 0:Rt.rtt),saveData:Number(((Vt=navigator.connection)===null||Vt===void 0?void 0:Vt.saveData)||0),deliveryType:Si()?"beacon":"xhr",devicePixelRatio:window.devicePixelRatio,screenHeight:window.screen.height,screenWidth:window.screen.width,viewportHeight:window.innerHeight,viewportWidth:window.innerWidth,deviceMemory:_r(navigator.deviceMemory),hardwareConcurrency:_r(navigator.hardwareConcurrency),hash:window.location.hash||"",hostname:window.location.hostname||"",pathname:window.location.pathname||"/"}}var Un=function(){var be=i(function(ge){var Oe,ke;return S(this,function(Ye){switch(Ye.label){case 0:return Oe=Wr(ge),ke={},qe(function(ct){Object.assign(ke,ct)}),[4,Promise.race([Je(6e4),rt()])];case 1:return Ye.sent(),[2,a({},Oe,ke)]}})});return function(Oe){return be.apply(this,arguments)}}(),Yt=function(){var be=i(function(ge,Oe){var ke;return S(this,function(Ye){switch(Ye.label){case 0:return[4,Un(Oe)];case 1:return ke=Ye.sent(),ge(ke,"page_speed"),[2]}})});return function(Oe,ke){return be.apply(this,arguments)}}(),fo=["media-www.sqspcdn.com","images.squarespace-cdn.com","static1.squarespace.com"],Da=function(be){return fo.some(function(ge){return be.includes(ge)})},Ka=function(be){return be.hasAttribute("data-loader")?2:be.hasAttribute("data-src")?1:0},Us=function(be,ge){if(be.hasAttribute("data-image-resolution")){var Oe;return Number((Oe=be.getAttribute("data-image-resolution"))===null||Oe===void 0?void 0:Oe.replace("w",""))}var ke=ge.indexOf("format=");return ke!==-1?Number(ge.slice(ke+7).replace(/w.*/,"")):NaN},Su=function(be,ge,Oe){if(Oe===1&&r(be,HTMLImageElement)&&be.naturalHeight===0){var ke=document.querySelector('div[style*="'.concat(ge,'"]'));if(ke)return ke}return be},Uo=function(be){if(r(be,HTMLImageElement)){var ge=be.naturalHeight,Oe=be.naturalWidth,ke=be.width,Ye=be.height;return{naturalHeight:ge,naturalWidth:Oe,width:ke,height:Ye}}var ct=be.getBoundingClientRect(),Rt=Math.floor(ct.width),Vt=Math.floor(ct.height);return{naturalHeight:Vt,naturalWidth:Rt}},Oa=function(){var be=i(function(ge,Oe){var ke,Ye,ct,Rt,Vt,rn,Xt,Fn,Kn,gr,kr,Gi,Cu,fs,Pu,ds,Di,Tu;return S(this,function(Oi){ke=Us(Oe,ge.name),Ye=Ka(Oe),ct=Oe.getAttribute("data-loader"),Rt=Oe.getAttribute("elementtiming"),Vt=ge.toJSON(),rn=Vt.serverTiming,Xt=Vt.workerTiming,Fn=l(Vt,["serverTiming","workerTiming"]),Kn=!0,gr=!1,kr=void 0;try{for(Gi=Object.entries(Fn)[Symbol.iterator]();!(Kn=(Cu=Gi.next()).done);Kn=!0)fs=h(Cu.value,2),Pu=fs[0],ds=fs[1],typeof ds=="number"&&(Fn[Pu]=Math.floor(ds))}catch(Fo){gr=!0,kr=Fo}finally{try{!Kn&&Gi.return!=null&&Gi.return()}finally{if(gr)throw kr}}return Di=Su(Oe,ge.name,Ye),Tu=Uo(Di),[2,new Promise(function(Fo){var vs=new IntersectionObserver(function(Na){Na.forEach(function(vr){if(vr.target===Di)return vs.disconnect(),Fo(a({visibleOnLoad:vr.isIntersecting,observationTime:Math.floor(vr.time),intersectionRatio:vr.intersectionRatio,squarespaceSize:ke,imageType:Ye,imageLoaderType:ct,elementTiming:Rt},Tu,Fn))})});vs.observe(Di)})]})});return function(Oe,ke){return be.apply(this,arguments)}}(),os=function(){var be=i(function(ge){var Oe,ke,Ye,ct,Rt;return S(this,function(Vt){switch(Vt.label){case 0:return Oe=ge.resource,ke=ge.deliverMetrics,!(r(Oe,PerformanceResourceTiming)&&Oe.initiatorType==="img")||!Da(Oe.name)?[2]:(Ye=Oe.name.replace(/\?.*/,""),ct=Array.from(document.querySelectorAll('img[src="'.concat(Oe.name,'"], img[data-src*="').concat(Ye,'"], img[srcset*="').concat(Oe.name,'"]'))),document.querySelectorAll('picture > source[srcset*="'.concat(Oe.name,'"]')).forEach(function(rn){var Xt=rn.parentElement;Xt!==null&&ct.push(Xt.lastElementChild)}),ct.length!==1?[2]:[4,Oa(Oe,ct[0])]);case 1:return Rt=Vt.sent(),ke(Rt,"image"),[2]}})});return function(Oe){return be.apply(this,arguments)}}(),Ar=function(){var be=i(function(ge){var Oe,ke;return S(this,function(Ye){return ti()?(Oe=function(ct){return os({resource:ct,deliverMetrics:ge})},performance.getEntriesByType("resource").forEach(Oe),ke=new PerformanceObserver(function(ct){ct.getEntries().forEach(Oe)}),ke.observe({entryTypes:["resource"]}),[2]):[2]})});return function(Oe){return be.apply(this,arguments)}}(),Hr,ta=function(be){var ge=be.spanName,Oe=be.tracer,ke=be.startTime,Ye=be.spanAttributes,ct=Ye===void 0?{}:Ye;Hr===void 0&&(Hr=new Map);var Rt=Oe.startSpan(ge,{startTime:ke});Rt.setAttributes(ct),Hr.set(ge,Rt)},na=function(be){var ge=be.spanName,Oe=be.spanAttributes,ke=Oe===void 0?{}:Oe,Ye=be.updateName;if(!(Hr===void 0||!Hr.has(ge))){var ct=Hr.get(ge);ct.setAttributes(ke),Ye!==void 0&&ct.updateName(Ye),ct.end(),Hr.delete(ge)}},ra="rum-",Rr=function(be){var ge,Oe;typeof((Oe=window)===null||Oe===void 0||(ge=Oe.SQUARESPACE_SENTRY)===null||ge===void 0?void 0:ge.captureException)=="function"?window.SQUARESPACE_SENTRY.captureException(be):console.warn("@sqs/rum-collector: user timing exception: ".concat(be))};function Va(be){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{if(!_a())return;var Oe=ra+be;window.performance.clearMarks(Oe);var ke=window.performance.mark(Oe,{detail:ge.detail,startTime:ge.startTime});if(ge.tracer!==void 0){var Ye=h(window.performance.getEntriesByName(Oe,"mark").slice(-1),1),ct=Ye[0];ta({spanName:Oe,tracer:ge.tracer,startTime:ct.startTime,spanAttributes:ge.spanAttributes})}return ke}catch(Rt){Rr(Rt)}}function ss(be){var ge=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{requireStart:!1};try{if(!(_a()&&ni()))return;var Oe=ra+be,ke={detail:ge.detail,duration:ge.duration};if(ge.start===void 0?window.performance.getEntriesByName(Oe,"mark").length>0&&(ke.start=Oe):typeof ge.start=="string"?ke.start=ra+ge.start:ke.start=ge.start,ke.end=typeof ge.end=="string"?ra+ge.end:ge.end,ge.requireStart&&typeof ke.start!="string")return;if(ge.tracer!==void 0){var Ye=a({measureName:Oe},ge.spanAttributes);if(typeof ke.start=="number")ta({spanName:Oe,tracer:ge.tracer,startTime:ke.start}),na({spanName:Oe,spanAttributes:Ye});else{var ct;if(window.performance.getEntriesByName((ct=ke.start)!==null&&ct!==void 0?ct:Oe,"mark").length===0){var Rt;ta({spanName:(Rt=ke.start)!==null&&Rt!==void 0?Rt:Oe,tracer:ge.tracer,startTime:0})}var Vt;na({spanName:(Vt=ke.start)!==null&&Vt!==void 0?Vt:Oe,spanAttributes:Ye,updateName:ke.start!==Oe?Oe:void 0})}}$a(Oe,ke);var rn=us(Oe);return rn}catch(Xt){Rr(Xt)}}function ni(){return"performance"in window&&"getEntries"in window.performance&&"getEntriesByType"in window.performance&&"getEntriesByName"in window.performance}function _a(){return"mark"in window.performance&&"measure"in window.performance}function us(be){var ge=window.performance.getEntriesByName(be,"measure");return ge[ge.length-1]}function $a(be,ge){try{window.performance.measure(be,ge)}catch(Ye){var Oe=typeof ge.start=="string"?ge.start:be,ke=typeof ge.end=="string"?ge.end:void 0;try{window.performance.measure(be,Oe,ke)}catch(ct){if(!r(ct,DOMException))throw ct;try{window.performance.measure(be,"navigationStart")}catch(Rt){if(!r(Rt,DOMException))throw Rt;window.performance.measure(be)}}}}function ri(be){return typeof be=="string"&&be.substring(0,4)===ra}var Qa=new Set,hi=function(be){if(Gn()){var ge=function(ke){var Ye=ke.map(function(ct){return ct.entryType==="measure"?{duration:Math.floor(ct.duration),detail:ct.detail||null,startTime:Math.floor(ct.startTime),name:ct.name}:{}});Ye.forEach(function(ct){if(!(ct.name&&!ri(ct.name))){var Rt="".concat(ct.name,"|").concat(ct.duration);Qa.has(Rt)||(be(ct,"user"),Qa.add(Rt))}})};if(ge(window.performance.getEntriesByType("measure")),ti()){var Oe=new window.PerformanceObserver(function(ke){return ge(ke.getEntries())});Oe.observe({entryTypes:["measure"]})}else document.addEventListener(X,function(){document.visibilityState==="hidden"&&ge(window.performance.getEntriesByType("measure"))})}},La,Mi=[],bi=function(be){Mi.push(be)};function vo(be,ge){if(!(Si()&&navigator.sendBeacon(be,ge))){var Oe=new XMLHttpRequest;Oe.open("POST",be,!0),Oe.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),Oe.send(ge)}}function ft(be){if(Mi.length){var ge=JSON.stringify(Mi);vo(be,ge),Mi=[]}}function cr(be){window.addEventListener(ne,function(){La=window.setTimeout(function(){return ft(be)},oe)}),document.addEventListener(X,function(){document.visibilityState==="hidden"&&(window.clearTimeout(La),ft(be))})}function va(be){bi(a({raw:!0},be))}var bu=function(be,ge){return function(Oe,ke){var Ye={app:be,data:Oe,event:ke,pageLoadId:ge,ts:Date.now()};va(Ye)}},ll=function(be){return function(){for(var ge=arguments.length,Oe=new Array(ge),ke=0;ke1&&arguments[1]!==void 0?arguments[1]:Bs();return new be({customSchemaName:"Performance",sourceEnvironment:ge},Au)},Xa=Object.freeze({cumulativeLayoutShift:"cumulative_layout_shift",decodedBodySize:"decoded_body_size_bytes",domContentLoadedEventEnd:"dom_content_loaded_event_end_ms",domContentLoadedEventStart:"dom_content_loaded_event_start_ms",domainLookup:"domain_lookup_ms",encodedBodySize:"encoded_body_size_bytes",firstContentfulPaint:"first_contentful_paint_ms",firstInputDelay:"first_input_delay_ms",interactionToNextPaint:"interaction_to_next_paint_ms",largestContentfulPaint:"largest_contentful_paint_ms",loadEventEnd:"load_event_end_ms",loadEventStart:"load_event_start_ms",responseStart:"response_start_ms",tcpConnection:"tcp_connection_ms",tlsNegotiation:"tls_negotiation_ms"}),js=function(){var be=i(function(ge){var Oe;return S(this,function(ke){switch(ke.label){case 0:return Oe={},qe(function(Ye){Object.entries(Ye).forEach(function(ct){var Rt=h(ct,2),Vt=Rt[0],rn=Rt[1];Object.prototype.hasOwnProperty.call(Xa,Vt)&&(Oe[Xa[Vt]]=rn)})}),[4,Promise.race([Je(6e4),rt()])];case 1:return ke.sent(),ge(Oe),[2]}})});return function(Oe){return be.apply(this,arguments)}}();function cs(){for(var be=arguments.length,ge=new Array(be),Oe=0;Oe