PageSourceSearch

https://www.conqat.org/js/common-2a010cbb97d3039bf6dc-min.en-US.js

js conqat.org collected 2026-10-04 03:31:47 UTC 1,603,816 bytes, 83 lines download raw bytes

1(self.webpackChunkextract_css=self.webpackChunkextract_css||[]).push([[68592,84075,44800,19972,50943],{149406:function(y,l,e){"use strict";var a=e(875832),n=e(473234);Object.defineProperty(l,"__esModule",{value:!0}),l.default=i;var o=n(e(919436)),t=n(e(928937)),r=a(e(579085));function i(c,d,u,s,f){var p=t.uid(c._actionsRegistry,"".concat(d,".").concat(u));c._actionsRegistry[p]=1;var v={id:p,namespace:d,name:u},g=function(P){return c.dispatch(p,P,v)},m=function(){for(var P=arguments.length,T=new Array(P),x=0;x<P;x++)T[x]=arguments[x];var M=s.apply(f,T),U=M;return M!==void 0&&!(0,r.default)(M)&&(o.isFunction(M)?U=M(g,c):g(M)),M===void 0&&t.warn("An action was called but nothing was dispatched"),U};m.defer=function(){for(var _=arguments.length,P=new Array(_),T=0;T<_;T++)P[T]=arguments[T];return setTimeout(function(){return m.apply(null,P)})},m.id=p,m.data=v;var b=c.actions[d],C=t.uid(b,u);b[C]=m;var A=t.formatAsConstant(C);return b[A]=p,m}y.exports=l.default},919436:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.isMutableObject=a,l.eachObject=n,l.assign=o,l.isFunction=void 0;var e=function(r){return typeof r=="function"};l.isFunction=e;function a(t){var r=t.constructor;return!!t&&Object.prototype.toString.call(t)==="[object Object]"&&e(r)&&!Object.isFrozen(t)&&(r instanceof r||t.type==="AltStore")}function n(t,r){r.forEach(function(i){Object.keys(Object(i)).forEach(function(c){t(c,i[c])})})}function o(t){for(var r=arguments.length,i=new Array(r>1?r-1:0),c=1;c<r;c++)i[c-1]=arguments[c];return n(function(d,u){t[d]=u},i),t}},293298:function(y,l,e){"use strict";var a=e(473234),n=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=n(e(449883)),t=n(e(721854)),r=n(e(699467)),i=n(e(506051)),c=n(e(858240)),d=n(e(4636)),u=e(511828),s=a(e(412843)),f=a(e(919436)),p=a(e(826982)),v=a(e(928937)),g=n(e(149406));function m(_){var P=b();return function(){var x=(0,i.default)(_),M;if(P){var U=(0,i.default)(this).constructor;M=Reflect.construct(x,arguments,U)}else M=x.apply(this,arguments);return(0,r.default)(this,M)}}function b(){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(_){return!1}}var C=function(){function _(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};(0,c.default)(this,_),this.config=P,this.serialize=P.serialize||JSON.stringify,this.deserialize=P.deserialize||JSON.parse,this.dispatcher=P.dispatcher||new u.Dispatcher,this.batchingFunction=P.batchingFunction||function(T){return T()},this.actions={global:{}},this.stores={},this.storeTransforms=P.storeTransforms||[],this.trapAsync=!1,this._actionsRegistry={},this._initSnapshot={},this._lastSnapshot={}}return(0,d.default)(_,[{key:"dispatch",value:function(T,x,M){var U=this;this.batchingFunction(function(){var j=Math.random().toString(18).substr(2,16);if(T.hasOwnProperty("type")&&T.hasOwnProperty("payload")){var $={id:T.type,namespace:T.type,name:T.type};return U.dispatcher.dispatch(v.fsa(j,T.type,T.payload,$))}return T.id&&T.dispatch?v.dispatch(j,T,x,U):U.dispatcher.dispatch(v.fsa(j,T,x,M))})}},{key:"createUnsavedStore",value:function(T){var x=T.displayName||"";p.createStoreConfig(this.config,T);for(var M=p.transformStore(this.storeTransforms,T),U=arguments.length,j=new Array(U>1?U-1:0),$=1;$<U;$++)j[$-1]=arguments[$];return f.isFunction(M)?p.createStoreFromClass.apply(p,[this,M,x].concat(j)):p.createStoreFromObject(this,M,x)}},{key:"createStore",value:function(T,x){var M=x||T.displayName||T.name||"";p.createStoreConfig(this.config,T);var U=p.transformStore(this.storeTransforms,T);(this.stores[M]||!M)&&(this.stores[M]?v.warn("A store named ".concat(M," already exists, double check your store ")+"names or pass in your own custom identifier for each store"):v.warn("Store name was not specified"),M=v.uid(this.stores,M));for(var j=arguments.length,$=new Array(j>2?j-2:0),G=2;G<j;G++)$[G-2]=arguments[G];var J=f.isFunction(U)?p.createStoreFromClass.apply(p,[this,U,M].concat($)):p.createStoreFromObject(this,U,M);return this.stores[M]=J,s.saveInitialSnapshot(this,M),J}},{key:"generateActions",value:function(){for(var T={name:"global"},x=arguments.length,M=new Array(x),U=0;U<x;U++)M[U]=arguments[U];return this.createActions(M.reduce(function(j,$){return j[$]=v.dispatchIdentity,j},T))}},{key:"createAction",value:function(T,x,M){return(0,g.default)(this,"global",T,x,M)}},{key:"createActions",value:function(T){var x=this,M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},U={},j=v.uid(this._actionsRegistry,T.displayName||T.name||"Unknown");if(f.isFunction(T)){f.assign(U,v.getPrototypeChain(T));for(var $=function(W){(0,t.default)(H,W);var q=m(H);function H(){(0,c.default)(this,H);for(var X=arguments.length,k=new Array(X),ne=0;ne<X;ne++)k[ne]=arguments[ne];return q.call.apply(q,[this].concat(k))}return(0,d.default)(H,[{key:"generateActions",value:function(){for(var k=arguments.length,ne=new Array(k),re=0;re<k;re++)ne[re]=arguments[re];ne.forEach(function(le){U[le]=v.dispatchIdentity})}}]),H}(T),G=arguments.length,J=new Array(G>2?G-2:0),ie=2;ie<G;ie++)J[ie-2]=arguments[ie];f.assign(U,(0,o.default)($,J))}else f.assign(U,T);return this.actions[j]=this.actions[j]||{},f.eachObject(function(W,q){if(!f.isFunction(q)){M[W]=q;return}M[W]=(0,g.default)(x,j,W,q,M);var H=v.formatAsConstant(W);M[H]=M[W].id},[U]),M}},{key:"takeSnapshot",value:function(){for(var T=arguments.length,x=new Array(T),M=0;M<T;M++)x[M]=arguments[M];var U=s.snapshot(this,x);return f.assign(this._lastSnapshot,U),this.serialize(U)}},{key:"rollback",value:function(){s.setAppState(this,this.serialize(this._lastSnapshot),function(T){T.lifecycle("rollback"),T.emitChange()})}},{key:"recycle",value:function(){for(var T=arguments.length,x=new Array(T),M=0;M<T;M++)x[M]=arguments[M];var U=x.length?s.filterSnapshots(this,this._initSnapshot,x):this._initSnapshot;s.setAppState(this,this.serialize(U),function(j){j.lifecycle("init"),j.emitChange()})}},{key:"flush",value:function(){var T=this.serialize(s.snapshot(this));return this.recycle(),T}},{key:"bootstrap",value:function(T){s.setAppState(this,T,function(x,M){x.lifecycle("bootstrap",M),x.emitChange()})}},{key:"prepare",value:function(T,x){var M={};if(!T.displayName)throw new ReferenceError("Store provided does not have a name");return M[T.displayName]=x,this.serialize(M)}},{key:"addActions",value:function(T,x){for(var M=arguments.length,U=new Array(M>2?M-2:0),j=2;j<M;j++)U[j-2]=arguments[j];this.actions[T]=Array.isArray(x)?this.generateActions.apply(this,x):this.createActions.apply(this,[x].concat(U))}},{key:"addStore",value:function(T,x){for(var M=arguments.length,U=new Array(M>2?M-2:0),j=2;j<M;j++)U[j-2]=arguments[j];this.createStore.apply(this,[x,T].concat(U))}},{key:"getActions",value:function(T){return this.actions[T]}},{key:"getStore",value:function(T){return this.stores[T]}}],[{key:"debug",value:function(T,x,M){var U="alt.js.org",j=M;return!j&&typeof window!="undefined"&&(j=window),typeof j!="undefined"&&(j[U]=j[U]||[],j[U].push({name:T,alt:x})),x}}]),_}(),A=C;l.default=A,y.exports=l.default},992757:function(y,l,e){"use strict";var a=e(473234),n=e(875832);
1Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=n(e(858240)),t=n(e(4636)),r=a(e(919436)),i=n(e(75857)),c=function(){function u(s,f,p,v){var g=this;(0,o.default)(this,u);var m=f.lifecycleEvents;this.transmitter=(0,i.default)(),this.lifecycle=function(A,_){m[A]&&m[A].publish(_)},this.state=p,this.alt=s,this.preventDefault=!1,this.displayName=f.displayName,this.boundListeners=f.boundListeners,this.StoreModel=v,this.reduce=f.reduce||function(A){return A},this.subscriptions=[];var b=f.output||function(A){return A};this.emitChange=function(){return g.transmitter.publish(b(g.state))};var C=function(_,P){try{return _()}catch(T){if(f.handlesOwnErrors)return g.lifecycle("error",{error:T,payload:P,state:g.state}),!1;throw T}};r.assign(this,f.publicMethods),this.dispatchToken=s.dispatcher.register(function(A){g.preventDefault=!1,g.lifecycle("beforeEach",{payload:A,state:g.state});var _=f.actionListeners[A.action];if(_||f.otherwise){var P;_?P=C(function(){return _.filter(Boolean).every(function(T){return T.call(f,A.data,A.action)!==!1})},A):P=C(function(){return f.otherwise(A.data,A.action)},A),P!==!1&&!g.preventDefault&&g.emitChange()}f.reduce&&(C(function(){var T=f.reduce(g.state,A);T!==void 0&&(g.state=T)},A),g.preventDefault||g.emitChange()),g.lifecycle("afterEach",{payload:A,state:g.state})}),this.lifecycle("init")}return(0,t.default)(u,[{key:"listen",value:function(f){var p=this;if(!r.isFunction(f))throw new TypeError("listen expects a function");var v=this.subscriptions.find(function(C){return C.cb===f});if(!v){var g=this.transmitter.subscribe(f),m=g.dispose,b={cb:f,dispose:m};this.subscriptions.push(b)}return function(){return p.unlisten(f)}}},{key:"unlisten",value:function(f){this.lifecycle("unlisten"),this.subscriptions=this.subscriptions.filter(function(p){return p.cb===f?(p.dispose(),!1):!0})}},{key:"getState",value:function(){return this.StoreModel.config.getState.call(this,this.state)}}]),u}(),d=c;l.default=d,y.exports=l.default},845505:function(y,l,e){"use strict";var a=e(473234),n=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var o=n(e(75857)),t=a(e(919436)),r={waitFor:function(){for(var d=arguments.length,u=new Array(d),s=0;s<d;s++)u[s]=arguments[s];if(!u.length)throw new ReferenceError("Dispatch tokens not provided");var f=u;u.length===1&&(f=Array.isArray(u[0])?u[0]:u);var p=f.map(function(v){return v.dispatchToken||v});this.dispatcher.waitFor(p)},exportAsync:function(d){this.registerAsync(d)},registerAsync:function(d){var u=this,s=0,f=t.isFunction(d)?d(this.alt):d,p=Object.keys(f).reduce(function(v,g){var m=f[g],b=t.isFunction(m)?m(u):m,C=["success","error","loading"];
1return C.forEach(function(A){if(b[A]&&!b[A].id)throw new Error("".concat(A," handler must be an action function"))}),v[g]=function(){for(var A=arguments.length,_=new Array(A),P=0;P<A;P++)_[P]=arguments[P];var T=u.getInstance().getState(),x=b.local&&b.local.apply(b,[T].concat(_)),M=b.shouldFetch?b.shouldFetch.apply(b,[T].concat(_)):x==null,U=b.interceptResponse||function($){return $},j=function(G,J){return function(ie){var W=function(){if(s-=1,G(U(ie,G,_)),J)throw ie;return ie};return u.alt.trapAsync?function(){return W()}:W()}};return M?(s+=1,b.loading&&b.loading(U(null,b.loading,_)),b.remote.apply(b,[T].concat(_)).then(j(b.success),j(b.error,1))):(u.emitChange(),x)},v},{});this.exportPublicMethods(p),this.exportPublicMethods({isLoading:function(){return s>0}})},exportPublicMethods:function(d){var u=this;t.eachObject(function(s,f){if(!t.isFunction(f))throw new TypeError("exportPublicMethods expects a function");u.publicMethods[s]=f},[d])},emitChange:function(){this.getInstance().emitChange()},on:function(d,u){d==="error"&&(this.handlesOwnErrors=!0);var s=this.lifecycleEvents[d]||(0,o.default)();return this.lifecycleEvents[d]=s,s.subscribe(u.bind(this))},bindAction:function(d,u){if(!d)throw new ReferenceError("Invalid action reference passed in");if(!t.isFunction(u))throw new TypeError("bindAction expects a function");var s=d.id?d.id:d;this.actionListeners[s]=this.actionListeners[s]||[],this.actionListeners[s].push(u.bind(this)),this.boundListeners.push(s)},bindActions:function(d){var u=this;t.eachObject(function(s,f){var p=/./,v=s.replace(p,function(m){return"on".concat(m[0].toUpperCase())});if(u[s]&&u[v])throw new ReferenceError("You have multiple action handlers bound to an action: "+"".concat(s," and ").concat(v));var g=u[s]||u[v];g&&u.bindAction(f,g)},[d])},bindListeners:function(d){var u=this;t.eachObject(function(s,f){var p=u[s];if(!p)throw new ReferenceError("".concat(s," defined but does not exist in ").concat(u.displayName));Array.isArray(f)?f.forEach(function(v){u.bindAction(v,p)}):u.bindAction(f,p)},[d])}},i=r;l.default=i,y.exports=l.default},826982:function(y,l,e){"use strict";var a=e(473234),n=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.createStoreConfig=b,l.transformStore=C,l.createStoreFromObject=A,l.createStoreFromClass=_;var o=n(e(449883)),t=n(e(858240)),r=n(e(721854)),i=n(e(699467)),c=n(e(506051)),d=a(e(928937)),u=a(e(919436)),s=n(e(992757)),f=n(e(845505));function p(P){var T=v();return function(){var M=(0,c.default)(P),U;if(T){var j=(0,c.default)(this).constructor;U=Reflect.construct(M,arguments,j)}else U=M.apply(this,arguments);return(0,i.default)(this,U)}}function v(){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(P){return!1}}function g(P,T,x){if(x){var M=T.StoreModel.config,U=u.isFunction(x)?x(T.state):x;T.state=M.setState.call(P,T.state,U),P.alt.dispatcher.isDispatching()||P.emitChange()}}function m(P,T,x,M){return u.assign(P,f.default,{displayName:x,alt:T,dispatcher:T.dispatcher,preventDefault:function(){this.getInstance().preventDefault=!0},boundListeners:[],lifecycleEvents:{},actionListeners:{},publicMethods:{},handlesOwnErrors:!1},M)}function b(P,T){T.config=u.assign({getState:function(M){return Array.isArray(M)?M.slice():u.isMutableObject(M)?u.assign({},M):M},setState:function(M,U){return u.isMutableObject(U)?u.assign(M,U):U}},P,T.config)}function C(P,T){return P.reduce(function(x,M){return M(x)},T)}function A(P,T,x){var M=null,U=m({},P,x,u.assign({getInstance:function(){return M},setState:function($){g(this,M,$)}},T));return U.bindListeners&&f.default.bindListeners.call(U,U.bindListeners),U.observe&&f.default.bindListeners.call(U,U.observe(P)),U.lifecycle&&u.eachObject(function(j,$){f.default.on.call(U,j,$)},[U.lifecycle]),M=u.assign(new s.default(P,U,U.state!==void 0?U.state:{},T),U.publicMethods,{displayName:x,config:T.config}),M}function _(P,T,x){var M=null,U=T.config,j=function(W){(0,r.default)(H,W);var q=p(H);function H(){(0,t.default)(this,H);for(var X=arguments.length,k=new Array(X),ne=0;ne<X;ne++)k[ne]=arguments[ne];return q.call.apply(q,[this].concat(k))}return H}(T);m(j.prototype,P,x,{type:"AltStore",getInstance:function(){return M},setState:function(q){g(this,M,q)}});for(var $=arguments.length,G=new Array($>3?$-3:0),J=3;J<$;J++)G[J-3]=arguments[J];var ie=(0,o.default)(j,G);return U.bindListeners&&ie.bindListeners(U.bindListeners),U.datasource&&ie.registerAsync(U.datasource),M=u.assign(new s.default(P,ie,ie.state!==void 0?ie.state:ie,T),d.getInternalMethods(T),U.publicMethods,{displayName:x}),M}},928937:function(y,l,e){"use strict";var a=e(473234),n=e(875832);
1Object.defineProperty(l,"__esModule",{value:!0}),l.getInternalMethods=u,l.getPrototypeChain=s,l.warn=f,l.uid=p,l.formatAsConstant=v,l.dispatchIdentity=g,l.fsa=m,l.dispatch=b;var o=n(e(346797)),t=a(e(919436));function r(A,_){var P=Object.keys(A);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(A);_&&(T=T.filter(function(x){return Object.getOwnPropertyDescriptor(A,x).enumerable})),P.push.apply(P,T)}return P}function i(A){for(var _=1;_<arguments.length;_++){var P=arguments[_]!=null?arguments[_]:{};_%2?r(Object(P),!0).forEach(function(T){(0,o.default)(A,T,P[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(P)):r(Object(P)).forEach(function(T){Object.defineProperty(A,T,Object.getOwnPropertyDescriptor(P,T))})}return A}var c=Object.getOwnPropertyNames(C),d=Object.getOwnPropertyNames(C.prototype);function u(A,_){var P=_?d:c,T=_?A.prototype:A;return Object.getOwnPropertyNames(T).reduce(function(x,M){return P.indexOf(M)!==-1||(x[M]=T[M]),x},{})}function s(A){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return A.prototype===void 0?_:s(Object.getPrototypeOf(A),t.assign(u(A,!0),_))}function f(A){typeof console!="undefined"&&console.warn(new ReferenceError(A))}function p(A,_){for(var P=0,T=_;Object.hasOwnProperty.call(A,T);)T=_+String(++P);return T}function v(A){return A.replace(/[a-z]([A-Z])/g,function(_){return"".concat(_[0],"_").concat(_[1].toLowerCase())}).toUpperCase()}function g(A){if(A===void 0)return null;for(var _=arguments.length,P=new Array(_>1?_-1:0),T=1;T<_;T++)P[T-1]=arguments[T];return P.length?[A].concat(P):A}function m(A,_,P,T){return{type:_,payload:P,meta:i({dispatchId:A},T),id:A,action:_,data:P,details:T}}function b(A,_,P,T){var x=_.dispatch(P);if(x===void 0)return null;var M=_.id,U=M,j=M,$={id:M,namespace:U,name:j},G=function(ie){return T.dispatch(M,ie,$)};return t.isFunction(x)?x(G,T):T.dispatcher.dispatch(m(A,M,x,$))}function C(){}},412843:function(y,l,e){"use strict";var a=e(473234);Object.defineProperty(l,"__esModule",{value:!0}),l.setAppState=o,l.snapshot=t,l.saveInitialSnapshot=r,l.filterSnapshots=i;var n=a(e(919436));function o(c,d,u){var s=c.deserialize(d);n.eachObject(function(f,p){var v=c.stores[f];if(v){var g=v.StoreModel.config,m=v.state;g.onDeserialize&&(s[f]=g.onDeserialize(p)||p),n.isMutableObject(m)?(n.eachObject(function(b){return delete m[b]},[m]),n.assign(m,s[f])):v.state=s[f],u(v,v.state)}},[s])}function t(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=d.length?d:Object.keys(c.stores);return u.reduce(function(s,f){var p=f.displayName||f,v=c.stores[p],g=v.StoreModel.config;v.lifecycle("snapshot");var m=g.onSerialize&&g.onSerialize(v.state);return s[p]=m||v.getState(),s},{})}function r(c,d){var u=c.deserialize(c.serialize(c.stores[d].state));c._initSnapshot[d]=u,c._lastSnapshot[d]=u}function i(c,d,u){return u.reduce(function(s,f){var p=f.displayName||f;if(!d[p])throw new ReferenceError("".concat(p," is not a valid store"));return s[p]=d[p],s},{})}},167733:function(y){"use strict";var l=function(){function r(i,c){var d=[],u=!0,s=!1,f=void 0;try{for(var p=i[Symbol.iterator](),v;!(u=(v=p.next()).done)&&(d.push(v.value),!(c&&d.length===c));u=!0);}catch(g){s=!0,f=g}finally{try{!u&&p.return&&p.return()}finally{if(s)throw f}}return d}return function(i,c){if(Array.isArray(i))return i;if(Symbol.iterator in Object(i))return r(i,c);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),e=/^[\w\d-]+(\|[1-9]\d*){4}$/;function a(r){return r?(r^Math.random()*16>>r/4).toString(16):("10000000-1000-4000-8000"+-1e11).replace(/[018]/g,a)}function n(r){return e.test(r)?r:null}function o(r){r=r||new Date().getTime();var i=a();return[i,r,r,r,1].join("|")}function t(r,i){var c=r.split("|"),d=l(c,5),u=d[0],s=d[1],f=d[2],p=d[3],v=d[4];return i=i||new Date().getTime(),[u,s,p,i,parseInt(v,10)+1].join("|")}y.exports={validateCvr:n,createCvr:o,updateCvr:t}},985177:function(y){"use strict";var l=/^[1-9]\d*$/;function e(n){return l.test(n)?n:null}function a(n){return n=n||new Date().getTime(),n.toString()}y.exports={validateCvt:e,createCvt:a}},492136:function(y,l,e){"use strict";var a=e(638286)(document,!1),n=e(167733),o=n.validateCvr,t=n.createCvr,r=n.updateCvr,i=e(985177),c=i.validateCvt,d=i.createCvt,u=1e3*60*60*24*365,s=1e3*60;function f(v,g){return g=g||new Date().getTime(),new Date(g+v).toUTCString()}function p(v){if(v)return t();var g=o(a.get("ss_cvr")),m=c(a.get("ss_cvt")),b=new Date().getTime(),C={cvr:{path:"/",expires:f(u*2,b)},cvt:{path:"/",expires:f(s*30,b)}};return g&&!m?(g=r(g,b),m=d(b)):g||(g=t(b),m=d(b)),a.set("ss_cvr",g,C.cvr),a.set("ss_cvt",m,C.cvt),g}y.exports={hit:p}},69037:function(y,l,e){var a=e(791484),n=e(578174),o={};for(var t in a)a.hasOwnProperty(t)&&(o[a[t]]=t);var r=y.exports={to:{}};r.get=function(d){var u=d.substring(0,3).toLowerCase(),s,f;switch(u){case"hsl":s=r.get.hsl(d),f="hsl";break;case"hwb":s=r.get.hwb(d),f="hwb";break;default:s=r.get.rgb(d),f="rgb";break}return s?{model:f,value:s}:null},r.get.rgb=function(d){if(!d)return null;var u=/^#([a-fA-F0-9]{3})$/,s=/^#([a-fA-F0-9]{6})$/,f=/^(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*)?\)$/,v=/(\D+)/,g=[0,0,0,1],m,b,C;if(m=d.match(u))for(m=m[1],b=0;b<3;b++)g[b]=parseInt(m[b]+m[b],16);else if(m=d.match(s))for(m=m[1],b=0;b<3;b++){var A=b*2;g[b]=parseInt(m.slice(A,A+2),16)}else if(m=d.match(f)){if(C=m[5],C&&m[1]==="rgb"||!C&&m[1]==="rgba")return null;for(b=0;b<3;b++)g[b]=parseInt(m[b+2],0);C&&(g[3]=parseFloat(C))}else if(m=d.match(p)){if(C=m[5],C&&m[1]==="rgb"||!C&&m[1]==="rgba")return null;for(b=0;b<3;b++)g[b]=Math.round(parseFloat(m[b+2])*2.55);C&&(g[3]=parseFloat(C))}else return(m=d.match(v))?m[1]==="transparent"?[0,0,0,0]:(g=a[m[1]],g?(g[3]=1,g):null):null;for(b=0;b<g.length;b++)g[b]=i(g[b],0,255);return g[3]=i(g[3],0,1),g},r.get.hsl=function(d){if(!d)return null;var u=/^(hsla?)\(\s*([+-]?\d*\.?\d+)(?:deg)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,s=d.match(u);if(s){var f=s[5];if(f&&s[1]==="hsl"||!f&&s[1]==="hsla")return null;var p=f?parseFloat(f):1,v=(parseFloat(s[2])%360+360)%360,g=i(parseFloat(s[3]),0,100),m=i(parseFloat(s[4]),0,100),b=i(p,0,1);return[v,g,m,b]}return null},r.get.hwb=function(d){if(!d)return null;var u=/^hwb\(\s*([+-]?\d*\.?\d+)(?:deg)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)\s*)?\)$/,s=d.match(u);if(s){var f=parseFloat(s[4]),p=(parseFloat(s[1])%360+360)%360,v=i(p
1arseFloat(s[2]),0,100),g=i(parseFloat(s[3]),0,100),m=i(isNaN(f)?1:f,0,1);return[p,v,g,m]}return null},r.to.hex=function(d){return"#"+c(d[0])+c(d[1])+c(d[2])},r.to.rgb=function(){var d=n(arguments);return d.length<4||d[3]===1?"rgb("+Math.round(d[0])+", "+Math.round(d[1])+", "+Math.round(d[2])+")":"rgba("+Math.round(d[0])+", "+Math.round(d[1])+", "+Math.round(d[2])+", "+d[3]+")"},r.to.rgb.percent=function(){var d=n(arguments),u=Math.round(d[0]/255*100),s=Math.round(d[1]/255*100),f=Math.round(d[2]/255*100);return d.length<4||d[3]===1?"rgb("+u+"%, "+s+"%, "+f+"%)":"rgba("+u+"%, "+s+"%, "+f+"%, "+d[3]+")"},r.to.hsl=function(){var d=n(arguments);return d.length<4||d[3]===1?"hsl("+d[0]+", "+d[1]+"%, "+d[2]+"%)":"hsla("+d[0]+", "+d[1]+"%, "+d[2]+"%, "+d[3]+")"},r.to.hwb=function(){var d=n(arguments),u="";return d.length>=4&&d[3]!==1&&(u=", "+d[3]),"hwb("+d[0]+", "+d[1]+"%, "+d[2]+"%"+u+")"},r.to.keyword=function(d){return o[d.slice(0,3)]};function i(d,u,s){return Math.min(Math.max(u,d),s)}function c(d){var u=d.toString(16).toUpperCase();return u.length<2?"0"+u:u}},861138:function(y,l,e){"use strict";e.d(l,{Z:function(){return $}});var a=e(56827),n=e.n(a),o=e(933452),t=e.n(o),r=e(928761),i=(0,r.getI18nInstance)(),c=new(n())(i),d=new(t())(i),u=c.T,s=c.Plural,f=c.FormattedCurrency,p=c.FormattedNumber,v=c.FormattedDateTime,g=c.RelativeTime,m=i.formatNumber,b=i.formatCurrency,C=i.formatCurrencyToParts,A=i.getCurrencySymbol,_=i.formatQuantity,P=i.formatDateTime,T=i.formatRelativeTime,x=i.translate,M=i.pluralize,U=d.formatIcuMessage,j={EUR:{code:"EUR",currencyName:x("Euro",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:978},USD:{code:"USD",currencyName:x("US Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:840},AUD:{code:"AUD",currencyName:x("Australian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:36},NOK:{code:"NOK",currencyName:x("Norwegian Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:578},CAD:{code:"CAD",currencyName:x("Canadian Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:124},NZD:{code:"NZD",currencyName:x("New Zealand Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:554},DKK:{code:"DKK",currencyName:x("Danish Krone",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:208},GBP:{code:"GBP",currencyName:x("Pound Sterling",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:826},HKD:{code:"HKD",currencyName:x("Hong Kong Dollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:344},CHF:{code:"CHF",currencyName:x("Swiss Franc",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:756},MXN:{code:"MXN",currencyName:x("Mexican Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:484},SGD:{code:"SGD",currencyName:x("SingaporeDollar",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:702},SEK:{code:"SEK",currencyName:x("Swedish Krona",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:752},CZK:{code:"CZK",currencyName:x("Czech Koruna",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:203},ILS:{code:"ILS",currencyName:x("Israeli New Shegel",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:376},PHP:{code:"PHP",currencyName:x("Philippine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:608},RUB:{code:"RUB",currencyName:x("Russian Ruble",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:643},PLN:{code:"PLN",currencyName:x("Polish Zloty",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:616},THB:{code:"THB",currencyName:x("Thai Baht",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:764},MYR:{code:"MYR",currencyName:x("Malaysian Ringgit",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:458},ARS:{code:"ARS",currencyName:x("Argentine Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:32},BRL:{code:"BRL",currencyName:x("Brazilian Real",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:986},COP:{code:"COP",currencyName:x("Colombian Peso",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:170},IDR:{code:"IDR",currencyName:x("Indonesian Rupiah",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:360},INR:{code:"INR",currencyName:x("Indian Rupee",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:356},JPY:{code:"JPY",currencyName:x("Yen",null,{project:"libs.Currency"}),fractionDigits:0,numericCode:392},ZAR:{code:"ZAR",currencyName:x("South African Rand",null,{project:"libs.Currency"}),fractionDigits:2,numericCode:710}},$=j},762341:function(y,l,e){"use strict";e.d(l,{AM:function(){return c},Ft:function(){return o},Gw:function(){return t},I8:function(){return i},hU:function(){return r}});var a=e(392338),n=e.n(a);function o(d){var u=d.currencyCode,s=d.sign,f=d.value;return"".concat(s).concat(f," ").concat(u).trim()}function t(d){var u=d.sign,s=d.symbol,f=d.value;
1return"".concat(u).concat(s).concat(f).trim()}function r(d){var u=d.sign,s=d.symbol,f=d.value;return"".concat(u).concat(s," ").concat(f).trim()}function i(d){var u=d.currencyCode,s=d.sign,f=d.symbol,p=d.value;return"".concat(s).concat(f).concat(p," ").concat(u).trim()}function c(d){var u=d.sign,s=d.symbol,f=d.value;return"".concat(u).concat(f," ").concat(s).trim()}},928761:function(y,l,e){"use strict";e.r(l),e.d(l,{getI18nInstance:function(){return r},setI18nInstance:function(){return i}});var a=e(63571),n="libs.Currency";function o(c){return e(823341)("./".concat(n,".").concat(c,".yaml"))}var t=(0,a.setupLibrary)(n,o),r=t.getI18nInstance,i=t.setI18nInstance},458887:function(y,l,e){"use strict";e.r(l),e.d(l,{CurrencyTemplates:function(){return c.F},DEFAULT_CURRENCY_TEMPLATE:function(){return i.T},MoneyFormatter:function(){return a.default},createTemplate:function(){return i.M},default:function(){return d.Z},fromCents:function(){return r},getFractionDigits:function(){return n.Z}});var a=e(454477),n=e(39293),o=e(309350),t=e.n(o);function r(u,s){var f=(0,n.Z)(s),p=parseFloat(u)/Math.pow(10,f);return new(t())(p,s)}var i=e(318459),c=e(438247),d=e(861138)},454477:function(y,l,e){"use strict";e.r(l),e.d(l,{default:function(){return M}});var a=e(392338),n=e(346797),o=e.n(n),t=e(858240),r=e.n(t),i=e(4636),c=e.n(i),d=e(805187),u=e(792495),s=e.n(u),f=e(318459),p=e(438247),v=/^(\d+)(\d{3})/;function g(U){for(var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";U.match(v);)U=U.replace(v,"$1".concat(j,"$2"));return U}var m=e(691059),b=e.n(m),C=e(39293);function A(U,j,$){return $.trimCents&&b()(U)?0:(0,C.Z)(j)}function _(U){var j=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return U.replace(".",j)}function P(U,j){var $=Object.keys(U);if(Object.getOwnPropertySymbols){var G=Object.getOwnPropertySymbols(U);j&&(G=G.filter(function(J){return Object.getOwnPropertyDescriptor(U,J).enumerable})),$.push.apply($,G)}return $}function T(U){for(var j=1;j<arguments.length;j++){var $=arguments[j]!=null?arguments[j]:{};j%2?P(Object($),!0).forEach(function(G){o()(U,G,$[G])}):Object.getOwnPropertyDescriptors?Object.defineProperties(U,Object.getOwnPropertyDescriptors($)):P(Object($)).forEach(function(G){Object.defineProperty(U,G,Object.getOwnPropertyDescriptor($,G))})}return U}var x={trimCents:!1,useGrouping:!0,valueOnly:!1},M=function(){function U(j){var $=arguments.length>1&&arguments[1]!==void 0?arguments[1]:p.F,G=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;r()(this,U),this.templates=$[j]||{},G&&U.enableDebugging(),this.locale=j}return c()(U,[{key:"format",value:function($){var G=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};G=T(T({},x),G);var J=U.debug?"\uD83D\uDCB0":"",ie=$.toFloat(),W=Math.abs(ie),q=ie<0?"-":"",H=$.currencyCode,X=T(T({},f.T),this.templates[H]),k=A(ie,H,G),ne=String(s()(W,k).toFixed(k));ne=_(ne,X.decimalSeparator),G.useGrouping&&(ne=g(ne,X.thousandsSeparator));var re=X.symbol;if(G.symbolOnly)return re;var le=X.formatter,se=G.valueOnly?le({symbol:"",value:ne,currencyCode:"",sign:q}):le({symbol:re,value:ne,currencyCode:H,sign:q});return J+se+J}}],[{key:"enableDebugging",value:function(){U.debug=!0}},{key:"disableDebugging",value:function(){U.debug=!1}}]),U}()},438247:function(y,l,e){"use strict";e.d(l,{F:function(){return t}});var a=e(346797),n=e.n(a),o=e(762341),t=n()({"en-US":{AUD:{symbol:"A$",formatter:o.Gw},CAD:{symbol:"CA$",formatter:o.Gw},EUR:{symbol:"\u20AC",formatter:o.Gw},GBP:{symbol:"\xA3",formatter:o.Gw},HKD:{symbol:"HK$",formatter:o.Gw},USD:{symbol:"$",formatter:o.Gw}},native:{ARS:{symbol:"$",formatter:o.I8}
1,AUD:{symbol:"$",formatter:o.I8},BRL:{symbol:"R$",formatter:o.Gw},CAD:{symbol:"$",formatter:o.I8},CHF:{symbol:"CHF",formatter:o.Gw},COP:{symbol:"COL$",formatter:o.Gw},DKK:{symbol:"kr",formatter:o.AM},EUR:{symbol:"\u20AC",formatter:o.Gw},GBP:{symbol:"\xA3",formatter:o.Gw},HKD:{symbol:"HK$",formatter:o.Gw},MXN:{symbol:"$",formatter:o.Gw},NOK:{symbol:"kr",formatter:o.AM},NZD:{symbol:"$",formatter:o.Gw},SEK:{symbol:"kr",formatter:o.AM},SGD:{symbol:"S$",formatter:o.Gw},USD:{symbol:"$",formatter:o.Gw},CZK:{symbol:"K\u010D",formatter:o.AM},IDR:{symbol:"Rp",formatter:o.Gw},ILS:{symbol:"\u20AA",formatter:o.hU},INR:{symbol:"\u20B9",formatter:o.Gw},JPY:{symbol:"\xA5",formatter:o.Gw},PHP:{symbol:"Php",formatter:o.Gw},RUB:{symbol:"p.",formatter:o.AM},PLN:{symbol:"z\u0142",formatter:o.AM},THB:{symbol:"\u0E3F",formatter:o.Gw},MYR:{symbol:"RM",formatter:o.Gw},ZAR:{symbol:"R",formatter:o.Gw}}},"__test__",{AAA:{symbol:"$",decimalSeparator:",",thousandsSeparator:"."}})},318459:function(y,l,e){"use strict";e.d(l,{M:function(){return p},T:function(){return f}});var a=e(392338),n=e.n(a),o=e(346797),t=e.n(o),r=e(461761),i=e.n(r),c=e(762341),d=e(438247);function u(v,g){var m=Object.keys(v);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(v);g&&(b=b.filter(function(C){return Object.getOwnPropertyDescriptor(v,C).enumerable})),m.push.apply(m,b)}return m}function s(v){for(var g=1;g<arguments.length;g++){var m=arguments[g]!=null?arguments[g]:{};g%2?u(Object(m),!0).forEach(function(b){t()(v,b,m[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(m)):u(Object(m)).forEach(function(b){Object.defineProperty(v,b,Object.getOwnPropertyDescriptor(m,b))})}return v}var f=Object.freeze({symbol:"",thousandsSeparator:",",decimalSeparator:".",maxIntegerPlaces:15,formatter:c.Ft}),p=function(g,m){var b=i()(d.F,[g,m],{});return s(s({},f),b)}},39293:function(y,l,e){"use strict";e.d(l,{Z:function(){return o}});function a(t,r){return r in t}var n=e(861138);function o(t){if(a(n.Z,t)){var r=n.Z[t];return r.fractionDigits}return 2}},823341:function(y,l,e){var a={"./libs.Currency.en-US.yaml":934023,"common/temp/node_modules/.pnpm/@[email protected]_@[email protected]_@[email protected]_@[email protected]_obqcnp2mn3o7izoj5fkww3y5e4/node_modules/@sqs/commerce-currency/sqs-i18n-translations/strings/libs.Currency.en-US.yaml":934023};function n(t){var r=o(t);return e(r)}function o(t){if(!e.o(a,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,y.exports=n,n.id=823341},692731:function(y,l,e){y.exports=e(789008)},102577:function(y){var l,e,a,n;function o(d){return d&&d.window===d}function t(){l=n.innerWidth,e=n.screen.availHeight,a=n.outerHeight}function r(d){return function(u){(n.innerWidth!==l||n.screen.availHeight!==e||n.outerHeight!==a)&&d(u)}}function i(d,u){u||(u=window),!n&&o(u)&&(n=u);var s=r(d);return n.addEventListener("resize",s),n.removeEventListener("resize",t),n.addEventListener("resize",t),s}function c(d){n.removeEventListener("resize",d)}y.exports={addListener:i,removeListener:c}},663579:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.BUTTON_BLOCK=1,n.POPUP_OVERLAY=2})(e||(e={}));var a=e;l.default=a,y.exports=l.default},919334:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.PAGE_VIEW=1,n.SITE_SEARCH=2,n.HEARTBEAT=10,n.AUDIO=20,n.VIDEO=21})(e||(e={}));var a=e;l.default=a,y.exports=l.default},453420:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.COLLECTION_TYPE_GENERIC=1,n.COLLECTION_TYPE_SUBSCRIPTION=2,n.TWITTER=3,n.FOURSQUARE=4,n.INSTAGRAM=5,n.GALLERY_BLOCK=6,n.TEMPLATE_PAGE=7,n.SPLASH_PAGE=8,n.COLLECTION_TYPE_PAGE=10,n.FIVEHUNDREDPIX=11,n.FLICKR=12,n.PRODUCTS=13,n.SLIDE_GALLERY=15,n.SLIDE_ALBUM=16,n.SLIDE_VIDEO=17,n.ALBUM_BLOCK=18,n.PROJECT=19,n.SECTION_CATALOG=20,n.PAGE_CATALOG=21,n.ITEM_CATALOG=22,n.PORTFOLIO=23,n.LESSONS=24,n.COURSE=25,n.MOSAIC=14})(e||(e={}));var a=e;l.default=a,y.exports=l.default},659701:function(y,l){"use strict";
1Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.APPLEPODCAST=56,n.BANDSINTOWN=29,n.BEHANCE=30,n.CHOWNOW=49,n.CODEPEN=31,n.DISCORD_UNAUTH=81,n.DRIBBBLE=18,n.DROPBOX=9,n.DROPBOX2=40,n.DROPBOX2017=55,n.EMAIL=20,n.FACEBOOK=2,n.FACEBOOK_UNAUTH=60,n.FIVEHUNDREDPIX=16,n.FIVEHUNDREDPIX_UNAUTH=67,n.FLICKR=3,n.FLICKR_UNAUTH=63,n.FOURSQUARE=1,n.FOURSQUARE_UNAUTH=72,n.GITHUB=23,n.GITHUB_UNAUTH=73,n.GOODREADS=52,n.GOOGLE=5,n.GOOGLEAUTH2=21,n.GOOGLEDOCS2=22,n.GOOGLEPLAY=28,n.GOOGLESEARCHCONSOLE=57,n.GOOGLE_SPREADSHEET=6,n.HOUZZ=42,n.IMDB=51,n.INSTAGRAM=10,n.INSTAGRAM_2019=77,n.INSTAGRAM_UNAUTH=64,n.ITUNES=27,n.LINKEDIN=14,n.LINKEDIN_UNAUTH=65,n.MAILCHIMP=13,n.MEDIUM=32,n.MEETUP=33,n.PAYPAL_LIVE_BILLING=48,n.PAYPAL_LIVE_ONBOARDING=46,n.PAYPAL_SANDBOX_BILLING=47,n.PAYPAL_SANDBOX_ONBOARDING=45,n.PINTEREST=19,n.PINTEREST_UNAUTH=61,n.RDIO=34,n.REDDIT=43,n.SMUGMUG=17,n.SMUGMUG_UNAUTH=75,n.SNAPCHAT=50,n.SOUNDCLOUD=25,n.SOUNDCLOUD_UNAUTH=70,n.SPOTIFY=26,n.SPOTIFY_UNAUTH=71,n.SQUARE=76,n.SQUARE_SANDBOX=78,n.STITCHER=53,n.STRIPE=15,n.STUMBLEUPON=44,n.THEDOTS=58,n.THREADS_UNAUTH=83,n.TIDAL=54,n.TIKTOK_UNAUTH=82,n.TRIPADVISOR=59,n.TUMBLR=8,n.TUMBLR_UNAUTH=66,n.TWITCH=35,n.TWITTER=4,n.TWITTER_UNAUTH=62,n.URL=74,n.VEVO=36,n.VIMEO=12,n.VIMEO_UNAUTH=68,n.VINE=37,n.VSCO=38,n.WEGLOT=80,n.X_FORMERLY_TWITTER_UNAUTH=85,n.XERO=24,n.YELP=39,n.YOUTUBE=11,n.YOUTUBE_UNAUTH=69,n.FACEBOOK_COMMERCE=79,n.PINTEREST_V5=84})(e||(e={}));var a=e;l.default=a,y.exports=l.default},730139:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.ADD_PAGES=1,n.ADD_CONTRIBUTORS=2,n.ADD_COMMERCE_PRODUCTS=3,n.DEVELOPER_SDK=4,n.MOBILE_PORTFOLIO=5,n.COMMERCE=6,n.ACCOUNTING=7,n.SHIPSTATION_INTEGRATION=8,n.ABANDONED_CART_RECOVERY=9,n.REAL_TIME_SHIPPING_RATES=10,n.COMMERCE_TRANSACTION_FEE=11,n.FREE_GOOGLE_APPS_INBOX=12,n.GOOGLE_AD_WORDS_CREDIT=13,n.VAT_COLLECTION_BETA=14,n.MULTICURRENCY_BETA=15,n.STRICT_GOOGLE_APPS_FREE_INBOX_POLICY=16,n.CRM=17,n.AUTO_TRIGGERED_DISCOUNTS=18,n.ACUITY=19,n.COMMERCE_CHECKOUT_ON_DOMAIN=20,n.POPUP_OVERLAY=21,n.SUPPORT_CALLBACKS=22,n.FREE_GOOGLE_APPS_INBOX_WITHIN_ONE_YEAR=23,n.FREE_DOMAIN_WITHIN_ONE_YEAR=24,n.ANALYTICS_COMMERCE_ADVANCED=25,n.MOBILE_INFO_BAR=26,n.ANNOUNCEMENT_BAR=27,n.CODE_INJECTION=28,n.SITE_USER_ACCOUNTS=29,n.BLOCK_ACUITY=30,n.BLOCK_DONATION=31,n.BLOCK_OPENTABLE=32,n.BLOCK_AMAZON=33,n.BLOCK_MENU=34,n.CHOW_NOW_INTEGRATION=35,n.GOOGLE_ANALYTICS_INTEGRATION=36,n.MAILCHIMP_INTEGRATION=37,n.BLOCK_CODE=38,n.ANALYTICS_COMMERCE_BASIC=39,n.GIFT_CARDS=40,n.FORMS_API=41,n.ORDERS_API=42,n.LIMITED_USE_DISCOUNTS=43,n.ANALYTICS_BUSINESS=44,n.PRODUCTS_ON_INSTAGRAM=45,n.BLOCK_CODE_WITH_MEDIA=46,n.COMMERCE_POSTAL_CODE_SHIPPING=47,n.FACEBOOK_PIXEL=48,n.MARKETING_CAMPAIGN_TRACKER=49,n.COMMERCE_SUBSCRIPTIONS=50,n.FACEBOOK_DYNAMIC_ADS=51,n.LIMITED_AVAILABILITY_ALERTS=52,n.INVENTORY_API=53,n.COMMERCE_RESTOCK_NOTIFICATIONS=54,n.COMMERCE_RELATED_PRODUCTS=55,n.COMMERCE_POINT_OF_SALE=56,n.COMMERCE_BULK_MANAGER=57,n.TRANSACTIONS_API=58,n.EXTERNAL_LOCATION_MANAGEMENT=59,n.IN_APP_LIVE_CHAT=60,n.COVID_TEMP_GIFT_CARDS_MESSAGING=61,n.PRODUCTS_API=62,n.AUTOMATIC_TAX_CALCS=63,n.COMMERCE_AFTERPAY=64,n.PROFILES_API=65,n.COMMERCE_NATIVE_PRODUCT_REVIEWS=66,n.COMMERCE_IMPORTED_PRODUCT_REVIEWS=67,n.COMMERCE_CLEARPAY=68,n.PRIORITY_SUPPORT=69,n.COMMERCE_KLARNA=70})(e||(e={}));var a=e;l.default=a,y.exports=l.default},699933:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.ARCHED_WINDOW="arched-window",n.AWARD="award",n.BOTTOM_LEFT_CURVE="bottom-left-curve",n.CIRCLE="circle",n.DESCENDING_RAMP="descending-ramp",n.DESCENDING_STAIRS="descending-stairs",n.DIAMOND="diamond",n.EGG="egg",n.EIGHT_SIDED_SHIELD="eight-sided-shield",n.FLOWER="flower",n.FOUR_PETAL_FLOWER="four-petal-flower",n.FOUR_POINT_STAR="four-point-star",n.GEAR="gear",n.HORIZONTAL_OVAL="horizontal-oval",n.HORIZONTAL_RIGHT_LEANING_OVAL="horizontal-right-leaning-oval",n.HORIZONTAL_STACKED_CIRCLES="horizontal-stacked-circles",n.HOURGLASS="hourglass",n.KEYSTONE="keystone",n.NARROW_HORIZONTAL_STACKED_PILLS="narrow-horizontal-stacked-pills",n.NARROW_POW="narrow-pow",n.OCTAGON="octagon",n.OPEN_BOOK="open-book",n.POINTED_WINDOW="pointed-window",n.RABBET="rabbet",n.ROUNDED_PENTAGON="roun
1ded-pentagon",n.STEPPED_CROSS="stepped-cross",n.TV="tv",n.VERTICAL_OVAL="vertical-oval",n.VERTICAL_PARALLELOGRAM="vertical-parallelogram",n.VERTICAL_RIGHT_LEANING_OVAL="vertical-right-leaning-oval",n.VERTICAL_STACKED_CIRCLES="vertical-stacked-circles",n.WIDE_EIGHT_SIDED_SHIELD="wide-eight-sided-shield",n.WIDE_HORIZONTAL_STACKED_PILLS="wide-horizontal-stacked-pills",n.WIDE_OPEN_BOOK="wide-open-book",n.WIDE_VERTICAL_STACKED_PILLS="wide-vertical-stacked-pills"})(e||(e={}));var a=e;l.default=a,y.exports=l.default},327743:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.LEFT="left",n.RIGHT="right"})(e||(e={}));var a=e;l.default=a,y.exports=l.default},783140:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.IMPERIAL=1,n.METRIC=2})(e||(e={}));var a=e;l.default=a,y.exports=l.default},438457:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.NONE=1,n.LIGHT=2,n.DARK=3})(e||(e={}));var a=e;l.default=a,y.exports=l.default},597885:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.MAIN_CONTENT=1,n.CONTENT_COLLECTION=1,n.PAGE=2,n.SPLASH_PAGE=3,n.CONTENT_ITEM=50,n.NOT_FOUND=100,n.ERROR=101,n.SEARCH=102,n.LOCK_SCREEN=103,n.POPUP_OVERLAY=104,n.PROTECTED_CONTENT=105,n.MEMBER_AREA_ACCESS_DENIED=106,n.PAYWALL=107,n.SHOW_CART=200,n.CHECKOUT=201,n.ORDER_CONFIRMED=202,n.DONATE=203,n.CONTRIBUTION_CONFIRMED=204,n.COMMERCE_CART_V2=205,n.SUBSCRIPTION_CONFIRMED=206,n.ORDER_RECEIVED=207,n.MEMBERSHIP_CONFIRMED=208,n.REVIEWS_REQUEST=209,n.DIGITAL_PRODUCT_COMPOSER_PREVIEW=210,n.ORDER_STATUS=211,n.NEWSLETTER_UNSUBSCRIBE=300,n.COMMERCE_EMAIL_PREVIEW=301,n.SSO_PAGE=400})(e||(e={}));var a=e;l.default=a,y.exports=l.default},1986:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.NONE=1,n.SHOW=2})(e||(e={}));var a=e;l.default=a,y.exports=l.default},368100:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.PHYSICAL=1,n.DIGITAL=2,n.SERVICE=3,n.GIFT_CARD=4,n.PAYWALL=5})(e||(e={}));var a=e;l.default=a,y.exports=l.default},15634:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.NONE=1,n.BLACK=2,n.WHITE=3})(e||(e={}));var a=e;l.default=a,y.exports=l.default},222794:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.ARCHED_WINDOW="arched-window",n.AWARD="award",n.CIRCLE="circle",n.DIAMOND="diamond",n.EGG="egg",n.EYE="eye",n.EIGHT_SIDED_SHIELD="eight-sided-shield",n.FLOWER="flower",n.FOUR_LEAF_CLOVER="four-leaf-clover",n.FOUR_PETAL_FLOWER="four-petal-flower",n.FOUR_POINT_STAR="four-point-star",n.GEAR="gear",n.HORIZONTAL_RIGHT_LEANING_OVAL="horizontal-right-leaning-oval",n.HORIZONTAL_STACKED_CIRCLES="horizontal-stacked-circles",n.HOURGLASS="hourglass",n.KEYSTONE="keystone",n.NARROW_CORSET="narrow-corset",n.NARROW_POW="narrow-pow",n.NARROW_RIBBON="narrow-ribbon",n.NARROW_VERTICAL_STACKED_PILLS="narrow-vertical-stacked-pills",n.OCTAGON="octagon",n.OPEN_BOOK="open-book",n.PARALLELOGRAM="parallelogram",n.PENTAGON="pentagon",n.POINTED_STAR="pointed-star",n.POINTED_WINDOW="pointed-window",n.RABBET="rabbet",n.RECTANGLE="rectangle",n.ROUNDED_ARCHED_WINDOW="rounded-arched-window",n.ROUNDED_DIAMOND="rounded-diamond",n.ROUNDED_EIGHT_POINT_STAR="rounded-eight-point-star",n.ROUNDED_FOUR_POINT_STAR="rounded-four-point-star",n.ROUNDED_PENTAGON="rounded-pentagon",n.ROUNDED_RIBBON="rounded-ribbon",n.ROUNDED_STAR="rounded-star",n.ROUNDED_TEN_POINT_STAR="rounded-ten-point-star",n.STEPPED_CROSS="stepped-cross",n.TRIANGLE="triangle",n.TV="tv",n.VERTICAL_PARALLELOGRAM="vertical-parallelogram",n.WIDE_HORIZONTAL_STACKED_PILLS="wide-horizontal-stacked-pills",n.WIDE_VERTICAL_STACKED_PILLS="wide-vertical-stacked-pills"})(e||(e={}));var a=e;l.default=a,y.exports=l.default},781144:function(y,l){"use strict";
1Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.HEADING=1,n.SUB_HEADING=2,n.BODY=3,n.IMAGE=4,n.GALLERY=5,n.VIDEO=6,n.SOCIAL_ICONS=7,n.BUTTONS=8,n.NAVIGATION=9,n.CUSTOM_FORM=10,n.NEWSLETTER=11,n.ALBUM=12,n.MAP=13,n.LOCK=17,n.PASSWORD=18,n.TWITTER=19,n.LOGO=14,n.ACTION=15,n.FORM=16,n.POPUP_OVERLAY_ACTION=20,n.SSO_OPTIONS=21,n.TEMP_LOCK_INJECT=100,n.SSO_INJECT=101})(e||(e={}));var a=e;l.default=a,y.exports=l.default},721485:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.COVER_PAGE=1,n.LOCK_SCREEN=2,n.POPUP_OVERLAY=3,n.SSO_SCREEN=4})(e||(e={}));var a=e;l.default=a,y.exports=l.default},9833:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.SEVEN="7",n.SEVEN_ONE="7.1",n.EIGHT="8"})(e||(e={}));var a=e;l.default=a,y.exports=l.default},975303:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.ADMIN=1,n.BILLING=2,n.REPORTING=3,n.EDITOR=4,n.MODERATOR=6,n.COMMENTER=7,n.STORE_MANAGER=8,n.SCHEDULING=9,n.VIEWER=10,n.CAMPAIGNS_EDITOR=11,n.SCHEDULING_VIEWER=12,n.SCHEDULING_EDITOR=13,n.NONE=14,n.WEBSITE_MANAGER=15,n.DRAFT_EDITOR=16})(e||(e={}));var a=e;l.default=a,y.exports=l.default},273044:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e;(function(n){n.PUBLISHED=1,n.SCHEDULED=2,n.NEEDS_REVIEW=3,n.DRAFT=4,n.PRIVATE=5,n.DELETED=6})(e||(e={}));var a=e;l.default=a,y.exports=l.default},529813:function(y,l,e){var a=e(461761),n=e(210750),o=e(638286),t=[],r=0,i=20,c=10,d=5e3,u=function(){if(!(!t||t.length===0)){var p=new XMLHttpRequest;p.open("POST","/api/events/RecordJavascriptErrors",!0),p.setRequestHeader("Content-type","application/json;charset=UTF-8"),p.setRequestHeader("X-CSRF-Token",o.get("crumb"));try{p.send(JSON.stringify(t))}catch(v){}t=[],r++}},s={trackUncaughtError:function(p,v,g,m,b,C,A){var _=A?A.stack:"",P={app:p,message:g,stack:_,file:m,line:b,column:C,custom:v()};this.enqueueError("interface_error_"+p,P)},enqueueError:function(p,v){var g={},m=a(window,"Static.SQUARESPACE_CONTEXT",{});if(!this.hasExceededMaxReporting()){g.websiteId=a(m,"website.id"),g.templateId=a(m,"templateId"),v.stack&&v.stack.length>d&&(v.stack=v.stack.substring(0,d)+"\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,v)),timestamp:Date.now()})}catch(b){console.warn("Could not push error: ".concat(b))}this.debouncedSend()}},hasExceededMaxReporting:function(){return r>=i||t.length>=c},getStack:function(){var p=new Error;return p.stack||""},wrapAppErrorCallback:function(p){return function(){if(!p)return{};try{return p()}catch(v){return{errorInCallback:!0}}}},debouncedSend:n(u,1e3)};y.exports={bindUncaughtErrorReporter:function(p,v){p||(console.error("Error Reporter Missing App Name configuration",s.getStack()),p="unknown");var g=s.wrapAppErrorCallback(v);window.onerror&&(window.onerror=null),window.onerror=s.trackUncaughtError.bind(s,p,g)},trackCaughtError:function(p,v){var g=arguments.length>2&&arguments[2]!==void 0?arguments[2]:s.getStack();s.enqueueError("interface_error_"+p,{app:p,message:v,stack:g})}}},868245:function(){YUI.add("@sqs/layout-engine/aspect-ratio-manager",function(y){var l=y.Base.create("AspectRatioManager",y.Base,[],{initializeBlock:function(e,a){var n=a;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 a=e.one(".sqs-intrinsic");a&&(a.removeClass("sqs-intrinsic"),a.setStyle("padding-bottom",null),a.one(".sqs-intrinsic-content")&&a.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(a){y.SQS.LayoutEngine.AspectRatioManager.initializeBlock(a.one(".sqs-block-content"),y.JSON.parse(a.getAttribute("data-aspect-ratio")))},this)}});y.namespace("SQS.LayoutEngine"),y.SQS.LayoutEngine.AspectRatioManager=new l,y.config.win.Squarespace&&y.config.win.Squarespace.onInitialize&&y.config.win.Squarespace.onInitialize(y,y.SQS.LayoutEngine.AspectRatioManager.initAllBlocks)},"1.0",{requires:["base"]})},149104:function(){YUI.add("squarespace-anim-raf",function(y){var l=y.config.win,e=l.requestAnimationFrame,a=l.cancelAnimationFrame||l.cancelRequestAnimationFrame,n=["moz","webkit"],o;for(o=0;o<n.length&&!e;o++)e=l[n[o]+"RequestAnimationFrame"],a=l[n[o]+"CancelAnimationFrame"]||l[n[o]+"CancelRequestAnimationFrame"];if(a&&e){var t=null;y.Anim._startTimer=function(){t||(t=e(y.Anim._runAnimFrame))},y.Anim._stopTimer=function(){t&&(a(t),t=null)},y.Anim._runAnimFrame=function(){t&&(t=e(y.Anim._runAnimFrame),y.Anim._runFrame())}}},"1.0",{requires:["anim"]})},755906:function(){YUI.add("squarespace-animations",function(y){y.namespace("Squarespace.Animations");var l="display-status-",e="-plugged",a="shown",n="hidden";
1y.Squarespace.Animations.Expandable=y.Base.create("expandable",y.Plugin.Base,[],{initializer:function(o){this.doBefore("show",this.open),this.doBefore("hide",this.close),this._running=!1},close:function(o){var t=this.get("host"),r=this.get("easing"),i=this.get("duration"),c,d;return o=t.inDoc()?o:!0,t.fire("close"),o?this._hardClose():this._running||(this._running=!0,t.wrap('<div class="expandable-plugin-wrapper"></div>'),d=t.ancestor(".expandable-plugin-wrapper"),d.setStyles({overflow:"hidden",height:t.get("offsetHeight")}),this._closeWrapper=d,c=new y.Anim({node:d,to:{height:0},easing:r,duration:i}),c.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=c,c.run()),new y.Do.Prevent("Expandable prevented default hide.")},_hardClose:function(){var o=this.get("host");o.setStyles({height:0,overflow:"hidden",display:"none"}),o.addClass("expandable-hidden"),o.fire("closed")},_hardOpen:function(){var o=this.get("host");o.setStyles({height:null,display:null}),o.removeClass("expandable-hidden"),o.fire("opened")},open:function(o){var t=this.get("host"),r=this.get("easing"),i=this.get("duration"),c,d,u,s;return o=t.inDoc()?o:!0,t.fire("open"),o?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"),d=u.get("offsetHeight")+parseInt(u.getComputedStyle("marginTop"),10)+parseInt(u.getComputedStyle("marginBottom"),10),u.remove(!0),t.wrap('<div class="expandable-plugin-wrapper"></div>'),s=t.ancestor(".expandable-plugin-wrapper"),s.setStyles({overflow:"hidden",height:0}),t.setStyles({height:null,overflow:null}),this._openWrapper=s,c=new y.Anim({node:s,to:{height:d},easing:r,duration:i}),c.on("end",function(){var f=this.get("host");f&&(this._running=!1,f.unwrap(),f.removeClass("expandable-hidden"),f.fire("opened"))},this),this._openAnim=c,c.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(o){this.beforeHostMethod("show",this.show),this.beforeHostMethod("hide",this.hide),this.get("host").addClass(this.name+e),this._onlyUseOpacity=o.onlyUseOpacity===void 0?!1:o.onlyUseOpacity,this._running=!1},destructor:function(){this._anim&&this._anim.stop().destroy(),this.get("host").removeClass(this.name+e)},show:function(o){return this._changeVisibility(!0,o)},hide:function(o){return this._changeVisibility(!1,o)},_changeVisibility:function(o,t){var r=this.get("host");return t=r.inDoc()?t:!0,o&&r.removeClass(l+"hidden"),t?this._hardChangeVisibility(o):(this._anim&&(this._anim.stop().destroy(),this._anim=null),o&&r.getComputedStyle("display")==="none"&&r.setStyle("display",null),this._anim=new y.Anim({node:r,to:{opacity:o?this.get("opacity"):0},easing:this.get("easing"),duration:this.get("duration")}),this._anim.onceAfter("end",function(){this._hardChangeVisibility(o),this._running=!1,!o&&!this._onlyUseOpacity&&r.getDOMNode()&&r.setStyle("display","none"),r.fire(o?"shown":"hidden"),delete this._anim},this),this._anim.run()),new y.Do.Prevent("Fadeable prevented default "+(o?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(o){var t=this.get("host");o||t.addClass(l+"hidden"),t.setStyles({opacity:o?this.get("opacity"):0}),this._anim=null,t.fire(o?a: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(o){this.doBefore("show",this.show),this.doBefore("hide",this.hide),this._running=!1},show:function(o){return this._changeVisibility(!0,o)},hide:function(o){return this._changeVisibility(!1,o)},_changeVisibility:function(o,t){var r=this.get("host"),i=this.get("duration");if(this.fire(o?"show":"hide"),r.fire(o?"show":"hide"),o&&r.removeClass("sqs-scalable-hidden"),t=r.inDoc()?t:!0,t)this._hardChangeVisibility(o),o||r.addClass("sqs-scalable-hidden");else if(!this._running){this._running=!0;var c=!1,d=y.bind(function(){c||(c=!0,r.getDOMNode()&&(this._running=!1,o||r.addClass("sqs-scalable-hidden"),this.fire(o?a:n),r.fire(o?a:n)))},this);r.setStyles({transition:["opacity "+i+"s ease-out","visibility "+i+"s ease-out","transform "+i+"s ease-out"].join(", ")}),y.config.win.setTimeout(function(){r&&(o?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(){d()},1e3*i)}
1return new y.Do.Prevent("Scalable prevented default "+(o?"show":"hide")+" and used its own.")},_hardChangeVisibility:function(o){var t=this.get("host"),r=!!(this.get("host").getDOMNode().style.transitionDuration||y.DOM.CUSTOM_STYLES.transitionDuration);r?t.setStyles({visibility:o?"visible":"hidden",opacity:o?1:0,transform:"scale("+(o?"1":"0.94")+")"}):t.setStyles({visibility:o?"visible":"hidden",opacity:o?1:0}),t.fire(o?a: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"]})},189982:function(){YUI.add("squarespace-anims",function(y){y.namespace("Squarespace");function l(e){l.superclass.constructor.apply(this,arguments)}y.Squarespace.Anims=y.extend(l,y.Base,{initializer:function(){this._items=[]},destructor:function(){var e=[];this.each(function(a){e.push(a)}),y.Array.each(e,function(a){a.get("running")&&a.stop(!1),a.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(a){this.remove(e)},this),this._items.push(e)},remove:function(e){if(y.Lang.isNumber(e))return this._items.splice(e,1);var a=this._items.indexOf(e);if(a!==-1)return this._items.splice(this._items.indexOf(e),1)}},{NAME:"anims"}),y.augment(l,y.ArrayList)},"1.0",{requires:["arraylist","base","base-build"]})},990950:function(){YUI.add("squarespace-attr-validators",function(y){y.namespace("Squarespace");function l(a,n,o,t){if(0)var r}var e=y.Squarespace.AttrValidators={isBoolean:function(a,n){return y.Lang.isBoolean(a)?!0:(l.call(this,"boolean",a,n),!1)},isNumber:function(a,n){return y.Lang.isNumber(a)?!0:(l.call(this,"number",a,n),!1)},isString:function(a,n){return y.Lang.isString(a)?!0:(l.call(this,"string",a,n),!1)},isNonArrayObject:function(a,n){return y.Lang.isArray(a)?(l.call(this,"Array",a,n,"[{attrName}] Validation Error: Expected {expectedVal}, got Array instead."),!1):y.Lang.isObject(a)?!0:(l.call(this,"Object",a,n),!1)},isObject:function(a,n){return y.Lang.isObject(a)?!0:(l.call(this,"Object",a,n),!1)},isArray:function(a,n){return y.Lang.isArray(a)?!0:(l.call(this,"Array",a,n),!1)},isFunction:function(a,n){return y.Lang.isFunction(a)?!0:(l.call(this,"Function",a,n),!1)},isNode:function(a,n){return y.instanceOf(a,y.Node)?!0:(l.call(this,"Node",a,n),!1)},isNodeList:function(a,n){return y.instanceOf(a,y.NodeList)?!0:(l.call(this,"NodeList",a,n),!1)},isNullOr:function(a){return y.Lang.isFunction(a)?function(n,o){return y.Lang.isNull(n)?!0:a(n,o)}:(console.error("The validator function argument is required."),!1)},isInstanceOf:function(a){return a?y.Lang.isString(a)?(a=a.split("."),function(n,o){return n instanceof y.Squarespace.Damask.ContextGlobals.fromTop(a)||n instanceof y.Squarespace.Damask.ContextGlobals.fromFrame(a)?!0:(l.call(this,a.join("."),n,o,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}):function(n,o){return n instanceof a?!0:(l.call(this,a,n,o,"[{attrName}] Validation Error: {actualVal} is not an instance of {expectedVal}."),!1)}:!1},isExtensionOf:function(a){return y.Lang.isFunction(a)?function(n,o){var t=y.Lang.isFunction(n.prototype._getClasses)&&n.prototype._getClasses();return t&&y.Array.indexOf(t,a)!==-1?!0:(l.call(this,a,n,o,"[{attrName}] Validation Error: {actualVal} is not an extension of the {expectedVal}."),!1)}:!1},isTypeOf:function(a){return a?function(n,o){return typeof n===a?!0:(l.call(this,a,n,o,'[{attrName}] Validation Error: {actualVal} is not of type "{expectedVal}".'),!1)}:!1},isValueIn:function(a){return y.Lang.isObject(a)?y.Lang.isArray(a)?function(n,o){return y.Array.indexOf(a,n)!==-1?!0:(l.call(this,a,n,o,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:function(n,o){return y.Object.values(a).indexOf(n)!==-1?!0:(l.call(this,a,n,o,"[{attrName}] Validation Error: {actualVal} is not a value in {expectedVal}"),!1)}:!1}};e.isNullOrInstanceOf=function(a){return e.isNullOr(e.isInstanceOf(a))},e.isNullOrExtensionOf=function(a){return e.isNullOr(e.isExtensionOf(a))},e.isNullOrOfType=function(a){return e.isNullOr(e.isTypeOf(a))},e.isNullOrValueIn=function(a){return e.isNullOr(e.isValueIn(a))},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"]})},880604:function(){YUI.add("squarespace-beforeunload",function(y){var l="gallery-dom0beforeunload",e=y.config.win.onbeforeunload;y.config.win.onbeforeunload=function(a){var n=a||y.config.win.event;e&&e(n);var o=new y.DOMEventFacade(n),t;if(y.fire(l,o),t=o.returnValue,t)return n.returnValue=t,t;y.config.win.onbeforeunload=e},y.Env.evt.plugins.beforeunload={on:function(a,n){var o=y.Array(arguments,0,!0);return o[0]=l,y.on.apply(y,o)}}},"1.0",{requires:[]})},677867:function(y,l,e){"use strict";e.r(l);var a=e(114194),n=e(638286),o=e.n(n),t=e(783140),r=e.n(t),i=e(368100),c=e.n(i),d=e(273044),u=e.n(d),s=e(769452),f=e.n(s),p=e(458887),v=e(973185),g=e.n(v),m=e(212656),b=e(461761),C=e.n(b),A=e(904406),_=e.n(A);YUI.add("squarespace-commerce-utils",function(P){P.namespace("Squarespace"),P.Squarespace.Commerce={COMMERCE_DATE_TIME_FORMAT:"lllLT",isExpressCheckout:function(){return Static.SQUARESPACE_CONTEXT.websiteSettings.storeSettings.expressCheckout},measurementStandard:function(){return P.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(!(o().get("hasCart")==="true"||P.Lang.isValue(o().get("CART")))){alert((0,s.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(T){T&&(window.top.location="/checkout/subscribe?cartToken="+T)},goToDonatePage:function(T){var x="/checkout/donate?donatePageId="+T;P.Squarespace.Utils.isInDamaskFrame()?window.top.location=x:window.location=x},goToGiftCardPage:function(T,x){T=encodeURIComponent(T);var M=x?encodeURIComponent(x.sku):null,U=Static.SQUARESPACE_CONTEXT.website.id,j="/checkout/giftcard?websiteId="+U+"&giftCardProductId="+T+(x?"&sku="+M:"");P.Squarespace.Utils.isInDamaskFrame()?window.top.location=j:window.location=j},isValidUSZip:function(T){return/^\d{5}$/.test(T)},variantFormat:function(T,x){for(var M=[],U=T.optionValues,j=0;j<U.length;j++){var $=U[j].value;M.push(x?$:P.Escape.html($))}return M.join(" / ")},moneyString:function(T,x){var M=m.default.getStoreCurrency(),U=(0,p.fromCents)(T,M),j={trimZeroFractions:x};return v.moneyFormatterProviderInstance.formatter.format(U,j)},priceString:function(T){var x=this.normalPrice(T),M=T.structuredContent;switch(M.productType){case c().PHYSICAL:case c().SERVICE:return this.onSale(T)?this.variedPrices(T)?(0,s.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(T))}):this.moneyString(this.salePrice(T))+' <span class="original-price">'+this.moneyString(x)+"</span>":this.variedPrices(T)?(0,s.t)("from {startingPrice}",{startingPrice:this.moneyString(this.fromPrice(T))}):this.moneyString(x);case c().DIGITAL:return this.onSale(T)?this.moneyString(this.salePrice(T))+' <span class="original-price">'+this.moneyString(x)+"</span>":this.moneyString(x);case c().GIFT_CARD:return this.variedPrices(T)?(0,s.t)("from {startingPrice}",{startingPrice:this.moneyString(x)}):this.moneyString(x);default:break}},isFiniteSubscriptionPlan:function(T){return!!Number(T.numBilling
1Cycles)},merchantSubscriptionDetailsString:function(T){if(!T)return"";var x=T.billingPeriod.value,M=T.billingPeriod.unit.toLowerCase()+"ly",U=this.isFiniteSubscriptionPlan(T);if(U)var j=T.numBillingCycles;return C()({"magnitude == 1":{weekly:{indefinite:(0,s.t)("renews every week"),finite:(0,s.t)("renews every week for {p} payments",{p:j})},monthly:{indefinite:(0,s.t)("renews every month"),finite:(0,s.t)("renews every month for {p} payments",{p:j})},yearly:{indefinite:(0,s.t)("renews every year"),finite:(0,s.t)("renews every year for {p} payments",{p:j})}},"magnitude > 1":{weekly:{indefinite:(0,s.t)("renews every {n} weeks",{n:x}),finite:(0,s.t)("renews every {n} weeks for {p} payments",{n:x,p:j})},monthly:{indefinite:(0,s.t)("renews every {n} months",{n:x}),finite:(0,s.t)("renews every {n} months for {p} payments",{n:x,p:j})},yearly:{indefinite:(0,s.t)("renews every {n} years",{n:x}),finite:(0,s.t)("renews every {n} years for {p} payments",{n:x,p:j})}}},[x===1?"magnitude == 1":"magnitude > 1",M,U?"finite":"indefinite"])},getTotalStockRemaining:function(T){var x=T.structuredContent;if(x.productType===c().DIGITAL)return 1/0;for(var M=0,U=0;U<x.variants.length;U++){var j=x.variants[U];if(j.unlimited)return 1/0;M+=j.qtyInStock}return M},summaryFormFieldString:function(T){var x,M;P.Lang.isObject(T.values)&&(M=P.Array.reduce(P.Object.keys(T.values),{},function(W,q){return P.Object.setValue(W,q,P.Squarespace.Escaping.escapeForHtml(T.values[q]))}));function U(W){var q;switch(W){case"-2":q=(0,s.t)("Strongly Disagree");break;case"-1":q=(0,s.t)("Disagree");break;case"0":q=(0,s.t)("Neutral");break;case"1":q=(0,s.t)("Agree");break;case"2":q=(0,s.t)("Strongly Agree");break}return q}switch(T.type){case"name":x=M.First+" "+M.Last;break;case"phone":var j=M.Country;x="",j&&j!==""&&(x+="+"+j+" "),x+=M.Areacode+"-"+M.Prefix+"-"+M.Line;break;case"likert":x='<div style="padding-left:5px;">';for(var $ in M){var G=M[$];x+='<div><span style="font-weight:bold;">'+$+":</span> "+U(G)+"</div>"}x+="</div>";break;case"address":x='<div style="padding-left:5px;"><div>'+M.Line1+"</div>";var J=M.Line2;J&&J!==""&&(x+="<div>"+J+"</div>"),x+="<div>"+M.City+", "+M.State+" "+M.Zip+" "+M.Country+"</div></div>";break;case"date":x=M.Month+"/"+M.Day+"/"+M.Year;break;case"time":x=(M.Hour||"00")+":"+(M.Minute||"00")+":"+(M.Second||"00")+" "+M.Ampm;break;case"checkbox":var ie=T.value;!P.Lang.isValue(M)&&P.Lang.isValue(ie)?M=[ie]:P.Lang.isValue(M)&&(M=P.Object.values(M)),x=M.join(", ");break;default:x=P.Squarespace.Escaping.escapeForHtml(T.value);break}return x===""&&(x=(0,s.t)("N/A")),'<div style="margin-top:3px;"><span style="font-weight:bold;">'+T.rawTitle+":</span> "+x+"</div>"},hasVariants:function(T){var x=T.structuredContent;return x.productType!==c().DIGITAL&&x.variants.length>=1},variedPrices:function(T){var x=T.structuredContent;switch(x.productType){case c().PHYSICAL:case c().SERVICE:case c().GIFT_CARD:var M=x.variants;if(M.length<=1)return!1;for(var U=M[0],j=1;j<M.length;j++){var $=M[j];if($.onSale!==U.onSale||U.onSale&&$.salePrice!==U.salePrice||$.price!==U.price)return!0}return!1;case c().DIGITAL:return!1}},onSale:function(T){var x=T.structuredContent;switch(x.productType){case c().PHYSICAL:case c().SERVICE:for(var M=x.variants,U=!1,j=0;j<M.length;j++){var $=M[j];if($.onSale){U=!0;break}}return U;case c().DIGITAL:return x.onSale}},soldOut:function(T){var x=T.structuredContent;switch(x.productType){case c().PHYSICAL:case c().SERVICE:for(var M=x.variants,U=!0,j=0;j<M.length;j++){var $=M[j];if($.unlimited||$.qtyInStock>0){U=!1;break}}return U;case c().DIGITAL:return!1}},normalPrice:function(T){var x=T.structuredContent,M=x.variants;switch(x.productType){case c().PHYSICAL:case c().SERVICE:if(M.length===0)return 0;for(var U=M[0].price,j=1;j<M.length;j++){var $=M[j].price;$>U&&(U=$)}return U;case c().DIGITAL:return P.Lang.isUndefined(x.priceCents)?0:x.priceCents;case c().GIFT_CARD:return M[0].price;default:break}},salePrice:function(T){var x=T.structuredContent;switch(x.productType){case c().PHYSICAL:case c().SERVICE:var M=x.variants;if(M.length===0)return 0;for(var U=null,j=0;j<M.length;j++){var $=M[j],G=$.salePrice;$.onSale&&(U===null||$.salePrice<U)&&(U=G)}return U;case c().DIGITAL:return P.Lang.isUndefined(x.salePriceCents)?0:x.salePriceCents}},fromPrice:function(T){var x=T.structuredContent;switch(x.productType){case c().PHYSICAL:case c().SERVICE:var M=x.variants;if(M.length===0)return 0;for(var U=M[0],j=U.onSale?U.salePrice:U.price,$=1;$<M.length;$++){var G=M[$],J=G.onSale?G.salePrice:G.price;J<j&&(j=J)}return j;case c().DIGITAL:return P.Lang.isUndefined(x.priceCents)?0:x.priceCents}},capitalizeFirst:function(T){T=T.toLowerCase();var x=T.split(new RegExp("\\s+")),M=P.Array.map(x,function(U){return U.charAt(0).toUpperCase()+U.substr(1)});return M.join(" ")},generateVariantId:function(){return _()()},generateSKU:function(){var T="",x="0123456789",M=function(){for(var U="",j=0;j<7;++j){var $=Math.floor(Math.random()*x.length);U+=x.charAt($)}return"SQ"+U};return T=M(),T},getLabelForWorkflowState:function(T){switch(T){case u().PUBLISHED:return(0,s.t)("Available");case u().SCHEDULED:return(0,s.t)("Scheduled");case u().DRAFT:return(0,s.t)("Hidden");default:return(0,s.t)("Unsupported")}}}},"1.0",{requires:["escape","node","squarespace-escaping-utils"]})},40703:function(y,l,e){"use strict";e.r(l);var a=e(108848),n=e(820999),o=e.n(n);YUI.add("squarespace-common",function(t){},"1.0",{requires:["get","intl","@sqs/layout-engine/aspect-ratio-manager","squarespace-promises","squarespace-attr-validators","squarespace-commerce-utils","squarespace-cookie-banner-styles","squarespace-currency-symbols","squarespace-deprecated-modules","squarespace-damask-context-globals","squarespace-escmanager","squarespace-follow-buttons","squarespace-form-submit","squarespace-gallery","squarespace-gallery-manager","squarespace-gallery-ng","squarespace-image-loader","squarespace-models-shopping-cart-facade","squarespace-plugin-lightbox2","squarespace-spinner","squarespace-ui-base","squarespace-util","squarespace-video-loader","squarespace-widgets-alert","squarespace-widgets-information","thirdparty-modernizr","yui-throttle"]})},699004:function(){YUI.add("squarespace-cookie-banner-styles",function(y){},"1.0",{requires:[]})},917443:function(){YUI.add("squarespace-currency-symbols",function(y){},"1.0",{requires:[]})},845713:function(){YUI.add("squarespace-damask-context-globals",function(y){y.namespace("Squarespace.Damask"),y.Squarespace.Damask.ContextGlobals={isDamask:function(){return y.Lang.isValue(CONFIG_PANEL)},frameWindow:function(){return y.Lang.isValue(y.config.win.frames["sqs-site-frame"])?CONFIG_PANEL.getFrameContentWindow():(console.warn("[ContextGlobals] frameWindow method called from a non-damask frame."),y.config.win)},topWindow:function(){var l=y.config.win;try{y.Lang.isValue(l.frameElement)&&l.frameElement.id==="sqs-site-frame"&&(l=l.parent)}catch(e){}return y.one(l)},fromFrame:function(l){var e=this.frameWindow();return y.Lang.isValue(l)?y.Lang.isArray(l)?y.Object.getValue(e.get(l[0]),l.slice(1)):e.get(l):e},fromTop:function(l){var e=this.topWindow();return y.Lang.isValue(l)?y.Lang.isArray(l)?y.Object.getValue(e.get(l[0]),l.slice(1)):e.get(l):e},get:function(l){return this.isDamask()?this.fromFrame(l):this.fromTop(l)},getWindow:function(){return this.isDamask()?this.frameWindow():this.topWindow()},relative:function(l,e){if(this.isDamask()){var a=this.fromFrame("Y");if(l.inDoc(a.config.doc))return this.fromFrame(e)}var n=this.fromTop("Y");return l.inDoc(n.config.doc)?this.fromTop(e):null}}},"1.0",{requires:[]})},909926:function(y,l,e){"use strict";e.r(l);var a=e(638286),n=e.n(a),o=e(769452),t=e.n(o),r=e(251736),i=e.n(r),c=e(202361),d=e.n(c);YUI.add("squarespace-data",function(u){u.io&&u.on("io:xdrReady",function(s){u.Data.TRANSPORT_READY=!0}),u.Data={DEBUG:!1,TRANSPORT_READY:!0,addCrumb:function(s){var f=n().get("crumb");if(f){var p=s.split("?"),v=p[1]?u.QueryString.parse(p[1]):{};v.crumb=f,s=p[0]+"?"+u.QueryString.stringify(v)}return s},sendForm:function(s,f,p){f.data||(f.data={});var v=s.getData();for(var g in v){var m=v[g];u.Lang.isUndefined(m)||u.Lang.isNull(m)||u.Lang.isObject(m)&&u.Object.isEmpty(m)||(u.Lang.isObject(m)&&!u.Lang.isArray(m)?f.data[g]=u.JSON.stringify(m):f.data[g]=m)}var b={dialog:s};typeof f.failure=="function"&&(b.failure=f.failure),f.failure=b,this.post(f,p)},cleanObjectForConsole:function(s){var f={};for(var p in s){var v=!1;if(u.Lang.isString(s[p])){try{v=s[p]?JSON.parse(s[p]):null}catch(g){}v&&u.Lang.isObject(v)?f[p]=v:f[p]=s[p]}else f[p]=s[p]}return f},get:function(s,f){this._go("GET",s,f)},post:function(s,f){this._go("POST",s,f)},put:function(s,f){this._go("PUT",s,f)},del:function(s,f){this._go("DELETE",s,f)},_go:function(s,f,p){if(f.context=p,f.method=s,u.Data.DEBUG,f.success||(f.success=this._genericSuccess),f.responseFormat||(f.responseFormat="json"),f.secure&&Static.SQUARESPACE_CONTEXT){var v=["squarespace.com","sqsp.com","sqsp.net","squarespace.net","sqsp6.com"],g=u.Array.some(v,function(C){return window.location.host.endsWith(C)});c.isSecure()||(g=!1),!g&&!f.url.startsWith("https://")&&(f.url="https://"+r.getWebsiteDomain(Static.SQUARESPACE_CONTEXT.website)+f.url),g||(f.xdr={},f.xdr.credentials=!0)}for(var m in f.data)u.Lang.isUndefined(f.data[m])&&delete f.data[m];if(f.testResponse)f.testResponseDelay?u.later(f.testResponseDelay,this,function(){u.Data._connectionSuccessRouter(f,!0,{responseText:u.JSON.stringify(f.testResponse)})}):u.Data._connectionSuccessRouter(f,!0,{responseText:u.JSON.stringify(f.testResponse)});else{var b=u.bind(function(){if(f._url=f.url,f.url=this.addCrumb(f.url),s==="POST"||s==="PUT"){if(f.json)u.Lang.isObject(f.data)&&(f.data=u.JSON.stringify(f.data)),u.Lang.isObject(f.headers)||(f.headers={}),f.headers["Content-Type"]="application/json",f.headers.charset="UTF-8";else if(!u.Lang.isString(f.data))for(var C in f.data){var A=f.data[C];u.Lang.isObject(A)&&!u.Lang.isArray(A)&&(f.data[C]=u.JSON.stringify(A))}}var _={method:s,arguments:f.arguments,data:f.data,on:{success:u.bind(u.Data._connectionSuccessRouter,u.Data,f),failure:u.bind(u.Data._connectionFailureRouter,u.Data,f)}},P=f.headers;u.Lang.isObject(P)&&(_.headers=P),f.xdr&&(_.xdr=f.xdr,_.headers={"Content-Type":(0,o.t)("application/x-www-form-urlencoded; charset=UTF-8")},_.data=u.QueryString.stringify(f.data)),f.queue?u.io.queue(f.url,_):u.io(f.url,_)},u.Data);f.testResponseDelay?u.later(f.testResponseDelay,this,b):b()}},_genericSuccess:function(s){},_connectionSuccessRouter:function(s,f,p,v){if(s.responseFormat==="json"){var g={};if(p.status!==204&&p.status!==1223)try{g=u.JSON.parse(p.responseText)}catch(m){this._error(s,{error:(0,o.t)("Internal Error: Unable to parse server response from ({url}) as JSON: {message}",{url:s.url,message:p.responseText})});return}g.error?this._error(s,g,v):(u.Data.DEBUG,s.success.apply(s.context,[g,v]))}else s.responseFormat==="raw"&&(u.Data.DEBUG,s.success.apply(s.context,[p.responseText,v]))},_connectionFailureRouter:function(s,f,p,v){if(!(!p||p.readyState!==4)){var g={400:!0,401:!0,500:!0,502:!0};if(s.responseFormat==="json"&&g[p.status]){var m;try{m=u.JSON.parse(p.responseText)}catch(C){this._error(s,{error:(0,o.t)("Internal Error: Unable to parse server response from ({sub1}) as JSON: {sub2}",{sub1:s.url,sub2:p.responseText})});return}if(m.error||m.message||m.billingErrorCode){this._error(s,m,v);return}}var b=(0,o.t)("Unable to connect\u2026");switch(p.status){case 401:case 403:b=(0,o.t)("Unauthorized request");break;case 500:case 501:b=(0,o.t)("Internal server error. Please try again later.");break;case 503:b=(0,o.t)("This service is temporarily unavailable. Please try again later.");break;default:if(s.retry){s.retry-=1,u.later(200,this,function(){u.Data._go(s.method,s,s.context)});return}break}this._error(s,{status:p.status,error:b,errorKey:u.Lang.isFunction(window.btoa)?btoa(s.url):"",network:!0})}},_error:function(s,f,p){if(u.Data.DEBUG,f.loginRequired){var v=function(){window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.fire("login-required")};u.Lang.isFunction(s.failure)?(s.loginHasPriorityOnFailure&&v(),s.failure.apply(s.context,[f,p]
1)):v()}else f.authorizationFail?new u.Squarespace.SystemError(s.url,f,"json").show():f.crumbFail&&s._retry!==!0&&u.Squarespace.Utils.areCookiesEnabled()?(n().set("crumb",f.crumb,{path:"/"}),s._retry=!0,s.url=s._url,console.log("crumb check failed, will attempt a retry"),this._go(s.method,s,s.context)):typeof s.failure=="function"?s.failure.apply(s.context,[f,p]):u.Lang.isObject(s.failure)&&u.Lang.isFunction(s.failure.failure)?s.failure.failure.apply(s.context,[f,p]):s.failure&&s.failure.dialog&&f.errors?(s.failure.dialog.showErrors(f.errors),s.failure.failure&&s.failure.failure.apply(s.context,[f,p])):new u.Squarespace.SystemError(s.url,f,"json").show()}}},"1.0",{requires:["io","squarespace-system-error","squarespace-util"]})},134426:function(y,l,e){"use strict";e.r(l);var a=e(461761),n=e.n(a),o=e(687048),t=e.n(o),r=e(971676),i=e.n(r),c=e(317500),d=e.n(c);YUI.add("squarespace-deprecated-modules",function(s){function f(g,m,b){return function(){return console.warn('[DEPRECATED] Called `Y."'+m+"`. "+b),(0,c.measure)("deprecated_yui_module_used",{detail:m}),g.apply(this,arguments)}}function p(g,m,b){var C=n()(s,g);if(t()(C)){var A=m(C,g,b);i()(s,g,A)}}function v(g,m,b){var C=n()(s,g,{});Object.keys(C).forEach(function(_){var P=[g,_].join(".");p(P,m,b)})}v("Cookie",f,"Use @sqs/cookie-cutter instead.")},"1.0",{requires:["cookie"]})},228398:function(){YUI.add("squarespace-dom-emitters-resize",function(y){y.Squarespace.ResizeEmitter=y.SQS.Gallery.ResizeEmitter},"1.0",{requires:["@sqs/yui-gallery/resize-emitter"]})},60042:function(){YUI.add("squarespace-escaping-utils",function(y){y.namespace("Squarespace"),y.Squarespace.Escaping={escapeForHtml:function(l){return l&&l.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;")},escapeForHtmlTag:function(l){return l&&l.replace(/&/g,"&amp;").replace(/>/g,"&gt;").replace(/</g,"&lt;").replace(/"/g,"&quot;").replace(/'/g,"&#x27;").replace(/`/g,"&#x60;")}}},"1.0",{requires:[]})},76184:function(y,l,e){"use strict";e.r(l);var a=e(445238),n=e(579888),o=[".add-page-popover"];YUI.add("squarespace-escmanager",function(t){t.Squarespace.STANDARD_CONTROL_CLASSES=[".standard-dialog-wrapper",".yui3-panel-type-tooltip",".sqsp-tooltip",".tooltip",".inline-field-title",".workflow-flyout",".page-map",".map-widget",".dialog-element",".error-message-wrapper",".squarespace-block",".sqs-block",".buttons a",".sqs-shopping-cart",".panel-menu-item",".flyout-variant-edit",".image-focal-point","a.return-button","a#deactivated-account-link",".site-chooser-glyph",".lightbox-inner",".sqs-configuration-menu .site-title-text",".sqs-configuration-menu .user-id",".sqs-add-to-cart-button",".additional-fields",".rte",".sqs-scroll-ac-item",".sqs-layout-insert-block-menu",".sqs-widgets-confirmation",".sqs-password-prompt",".tag-bubble",".sqs-fullscreen-overlay-imagepicker",".u-ActionButtons-container",".ReactModal__Overlay","."+n.LayoutEngineClassnames.ESCMANAGER_IGNORE_CLASSNAME,".CCLinkEditorModal",".CCPageDropDown",".sqs-dialog-field:not(.sqs-dialog-layout-wrapper)"],t.namespace("SQS.DDWrappers").STANDARD_CONTROL_CLASSES=t.Squarespace.STANDARD_CONTROL_CLASSES,t.Squarespace.EscManager={closeTargets:[],attached:[],attach:function(r){r=r||t.one(t.config.win);var i=r.generateID();if(this.attached.indexOf(i)===-1){var c=t.Squarespace.EscManager;t.Squarespace.Utils.isInDamaskFrame()&&(c=t.Squarespace.Damask.ContextGlobals.fromTop("Y.Squarespace.EscManager"));var d=r;d.on("keyup",c.onKeyUp,c),d.on("click",c.onBodyClick,c),d.on("mousedown",c._onBodyDown,c),d.on("mouseup",c._onBodyUp,c),this.attached.push(i),this._disabled=!1}},destroy:function(){this.detach(),this._bodyDownTarget=null,this._bodyUpTarget=null},detach:function(r){r=r||t.one(t.config.win),r.detachAll()},onShiftEsc:function(){t.Squarespace.Utils.logout()},disable:function(){this._disabled=!0},enable:function(){this._disabled=!1},onEsc:function(r){if(!r.target.ancestor(o.join(", ")))if(t.config.win.Static&&Static.IN_BACKEND)t.one("html").hasClass("sqs-guide-open")?window.CONFIG_PANEL.closeGuide():a.default.toggleFullScreenPreviewMode();else if(window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.getAccount())this._redirectToConfig();else{var i=t.Object.getValue(t.config.win,"Static.SQUARESPACE_CONTEXT.websiteSettings.useEscapeKeyToLogin".split("."));if(!i)return;window.SQUARESPACE_LOGIN&&window.SQUARESPACE_LOGIN.params&&(window.SQUARESPACE_LOGIN.params.disableCreateAccount=!0),t.Squarespace.Signup&&t.Squarespace.Signup.signupDialog&&t.Squarespace.Signup.signupDialog.
1isVisible()?t.Squarespace.Signup.signupDialog.cancel():this._redirectToConfig()}},addTarget:function(r){this.closeTargets.push(r)},removeTarget:function(r){var i=this.closeTargets.indexOf(r);i!==-1&&this.closeTargets.splice(i,1)},onKeyUp:function(r){if(r.keyCode===27&&!this._disabled)if(r.halt(),this.closeTargets.length>0){var i=this.closeTargets.pop();this._closeTarget(i,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,i="https://"+Static.SQUARESPACE_CONTEXT.website.identifier+"."+Static.SQUARESPACE_CONTEXT.appDomain+"/config/?frameUrl="+r.pathname+r.search;t.config.win.location=i},_closeTarget:function(r,i){t.Lang.isFunction(r.close)?r.close(i,function(c){c===!1&&this.closeTargets.push(r)}.bind(this)):t.Lang.isFunction(r.cancel)?r.cancel(i):t.Lang.isFunction(r.hide)&&r.hide(i)},_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 i=this.closeTargets[this.closeTargets.length-1];if(!this._didMouseDownMouseUpMatch()||i.ignoreBodyClicks)return;var c=r.clientX,d=r.clientY,u=r.target.get("winWidth"),s=r.target.get("winHeight");if(c<0||c>u||d<0||d>s)return;i.activeFlyout?r.target.ancestor(i.activeFlyout.constraintClasses,!0)||(i.activeFlyout.field.closeFlyout(),i.activeFlyout=null,t.fire("target-closed",{target:i})):r.target.ancestor(t.Squarespace.STANDARD_CONTROL_CLASSES.join(", "),!0)||(t.fire("target-closed",{target:i}),r.halt(),this.closeTargets.pop(),this._closeTarget(i,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"]})},62692:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a),o=e(603808);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,o.default)('<a href="https://twitter.com/{username}" class="twitter-follow-button" data-show-count="false">'+(0,a.t)("Follow @{username}")+"</a>",{username:this.get("username")}))},syncUI:function(){var r=function(){},i=function(){this.show()};t.Get.script("//platform.twitter.com/widgets.js",{onSuccess:i,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"]})},316850:function(y,l,e){"use strict";e.r(l);var a=e(817315),n=e.n(a);YUI.add("squarespace-follow-buttons",function(o){o.namespace("Squarespace"),o.Squarespace.FollowButtonUtils=function(){var t=function(i){var c=i.one(".sqs-follow-button");if(c){var d=o.Widget.getByNode(c);d&&d.destroy()}},r=function(i){t(i);var c=i.getAttribute("data-username");c&&c.length&&new o.Squarespace.Widgets.FollowButton({username:c}).render(i)};return{renderAll:function(){o.all(".squarespace-follow-button").each(function(i){r(i)})}}}(),o.on("domready",function(){o.Squarespace.FollowButtonUtils.renderAll()})},"1.0",{requires:["squarespace-follow-button"]})},957987: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__(904156),_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__(203758),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__(579888),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(597885),_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_sq
1s_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4__),shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(569180),shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(481207),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__(384696),shared_utils_EnterpriseV3RecaptchaAPI__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(277156);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(l,e,a,n,o){var t=this.get("formNode"),r;typeof l=="object"?(r=l.formId,e=l.collectionId,a=l.objectName,n=l.isOverlayForm,o=l.submitButtonText):r=l;try{if(t.hasClass("submitting"))return;this._clearErrors(),this._lock();var i=Y.config.win.Static.SQUARESPACE_CONTEXT.pageType===_sqs_enums_PageTypes__WEBPACK_IMPORTED_MODULE_4___default().SPLASH_PAGE,c=i?_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(!c)this._saveFormSubmission(r,e,a,n,o);else if(i){var d=_sqs_universal_utils__WEBPACK_IMPORTED_MODULE_9__.validate(Y.config.win,c);d?this._saveFormSubmission(r,e,a,n,o,d):this._submitFailure(shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z.strings.CAPTCHA_INCOMPLETE_ERROR,n)}else{var u=t.hasClass("newsletter-form")&&!n,s=t.hasClass("newsletter-form")&&n,f=s?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,f).then(function(p){this._saveFormSubmission(r,e,a,n,o,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,l){return l?Y.Node.create('<div class="field-error" style="display:inline-block">'+y+"</div>"):Y.Node.create('<div class="field-error">'+y+"</div>")},_clearErrors:function(){var y=this.get("formNode");y.all(".field-error").each(function(l){l.remove()}),y.all(".form-item.error").each(function(l){l.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,l,e,a,n,o,t){var r={withCredentials:!0};_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/FormSubmissionKey",{},r).then(function(i){if(i.data.key){var c={key:i.data.key,formId:y,collectionId:l,objectName:e,isOverlayForm:a,submitButtonText:n,form:Y.JSON.stringify(this._getData()),captchaKey:o,recaptchaEnterpriseV3Token:t};shared_utils_census_CensusUtils__WEBPACK_IMPORTED_MODULE_6__.addIntraPageEventFields(c),_sqs_network__WEBPACK_IMPORTED_MODULE_2__.default.post("/api/form/SaveFormSubmission",c,r).then(this._submitSuccess.bind(this)).catch(function(d){this._submitFailure(d.response,a)}.bind(this))}else this._submitFailure(i,a)}.bind(this)).catch(function(i){this._submitFailure(i.response,a)}.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 l=y.getData("success-redirect");l&&(window.history.replaceState&&window.history.replaceState({},document.title,window.location.href),window.location.href=l),this._unlock(),this._renderSuccess()},_submitFailure:function(y,l){var e=this.get("formNode"),a=e.hasClass("newsletter-form"),n=y.status===401&&a,o=a&&n&&!l,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(s,f){var p=e.one('[id="'+f+'"]');
1if(p){var v=p.one(".title");v.insert(this._createErrorNode(s),"before"),p.addClass("error")}},this),a||(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,o);a?e.insertBefore(r,e.one(".newsletter-form-body")):e.prepend(r),r.setAttribute("tabindex",-1),r.focus()}else{var i=e.one(".error");if(i){var c=i.getDOMNode().matches(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__.focusableSelector)&&i||i.one(_sqs_utils_focus__WEBPACK_IMPORTED_MODULE_7__.focusableSelector);c&&c.focus()}}var d=e.one(".captcha-container");if(d){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,d)}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<win.scrollY&&win.scrollTo(0,formElY-25)}htmlNode.all("script").each(function(script){if(script.hasAttribute("src")){var dupeScriptDOMNode=document.createElement("script"),attributes=script.getDOMNode().attributes;Y.Array.each(attributes,function(y){dupeScriptDOMNode[y.name]=y.value}),script.replace(dupeScriptDOMNode)}else try{eval(script.getHTML())}catch(y){}},this)},_getData:function(){var y={};return this.get("formNode").all(".form-item").each(function(l){y[l.get("id")]=this._getFieldData(l)},this),y},_getFieldData:function(y){var l=this._typeGetterMap,e=y.get("className").split(new RegExp("\\s")),a,n=!1;if(Y.Array.each(e,function(o){Y.Object.hasKey(l,o)?a=l[o]:o==="section"&&(n=!0)},this),!n)return a||(a=this._defaultGetter),a.call(this,y)},_getSingleFieldVal:function(y){var l=y.one(".field-element");return l?l.get("value"):null},_getMultiFieldVal:function(y){var l=[];return y.all(".field-element").each(function(e){l.push(e.get("value"))}),l},_getPhoneFieldVal:function(y){var l=this._getMultiFieldVal(y);return l&&l.length===3&&l.unshift(""),l},_getRadioFieldVal:function(y){return this._getCheckFieldVal(y)[0]},_getCheckFieldVal:function(y){var l=[];return y.all("input").each(function(e){e.get("checked")&&l.push(e.get("value"))},this),l},_getSelectVal:function(y){return y.one("select").get("value")},_getLikertVal:function(y){var l={};return y.all(".item").each(function(e){var a;e.all("input").each(function(n){n.get("checked")&&(a=n.get("value"))}),Y.Lang.isValue(a)&&(l[e.getAttribute("data-question")]=a)}),l},_getHiddenVal:function(y){var l;Y.Lang.isValue(this._query)||(this._query=Y.QueryString.parse(window.location.search.replace(/^\?/,"")));var e=y.get("name");return Y.Object.hasKey(this._query,e)?l=this._query[e]:l=y.get("value"),l.toString()}},{ATTRS:{formNode:{value:null,validator:Y.Squarespace.AttrValidators.isNullOrInstanceOf(Y.Node),writeOnce:"initOnly"}}});Y.Squarespace.FormSubmit=function(y){var l;return y instanceof Element?l=_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_10__.default.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().VANILLA_FORM_HANDLER)?new shared_utils_FormHandler__WEBPACK_IMPORTED_MODULE_5__.Z(Y.config.win,y):new FormSubmitV1({formNode:Y.Node(y)}):l=new FormSubmitV1(y),this.submit=l.submit.bind(l),_sqs_universal_flags__WEBPACK_IMPORTED_MODULE_10__.default.isFeatureEnabled(_sqs_enums_Flag__WEBPACK_IMPORTED_MODULE_0___default().VANILLA_FORM_HANDLER)?(this.clearErrors=l.clearErrors.bind(l),this.createErrorNode=l.createErrorNode.bind(l)):(this.clearErrors=l._clearErrors.bind(l),this.createErrorNode=l._createErrorNode.bind(l)),this}},"1.0",{requires:["base","json","node","querystring-parse","squarespace-attr-validators","squarespace-util"]})},411606:function(){var y=".js-gallery-lightbox-opener";
1YUI.add("squarespace-gallery-manager",function(l){var e={lightboxify:function(a,n){if(this._destroyLightbox(),!a||!n||!n.size()){this.unlightboxify(n);return}var o=!!n.item(0).ancestor(".sqs-system-gallery"),t=[];n.each(function(r,i){t.push(this._createLightboxItem(r));var c=r.getAttribute("data-click-through-url");if(!c){var d=r.one(y)||r;if(d){var u={index:i,slideHitArea:d,lightboxSet:t,isFromHash:o},s=this._makeOpenLightbox(u).bind(this);d.on("click",s,this),d.on("keydown",function(f){var p=f.keyCode===13,v=f.keyCode===32;(p||v)&&s(f)},this)}}},this),o&&this._openInitialSlide(n,t)},unlightboxify:function(a){if(this._destroyLightbox(),!!a){var n;a.each(function(o){n=o.one(y),n&&(n.detach("click"),n.detach("keydown"))})}},_destroyLightbox:function(){this.lightbox&&(this.lightbox.destroy(),delete this.lightbox)},_createLightboxItem:function(a){if(a.getAttribute("data-type")==="video"){var n=a.one(".sqs-video-wrapper"),o=n.videoloader.get("overlay");return o&&o.detach("click"),{content:n}}var t,r,i;return a.hasAttribute("data-title")?t=a.getAttribute("data-title"):a.one("[data-title]")?t=a.one("[data-title]").getAttribute("data-title"):a.one(".title")&&(t=a.one(".title").getHTML()),a.hasAttribute("data-description")?r=a.getAttribute("data-description"):a.one("[data-description]")?r=a.one("[data-description]").getAttribute("data-description"):a.one(".description")&&(r=a.one(".description").getHTML()),a.hasAttribute("data-lightbox-theme")?i=a.getAttribute("data-lightbox-theme"):a.one("[data-lightbox-theme]")?i=a.one("[data-lightbox-theme]").getAttribute("data-lightbox-theme"):a.one(".lightbox-theme")&&(i=a.one(".lightbox-theme").getHTML()),{theme:i,content:a.one("img"),meta:(t?"<h1>"+t+"</h1>":"")+(r||"")}},_getLightboxTheme:function(a){var n=a.ancestor("[data-lightbox-theme]",!0);return n&&n.getAttribute("data-lightbox-theme")==="light"?"light":"dark"},_makeOpenLightbox:function(a){return function(n){n.halt(),this._destroyLightbox(),this.lightbox=new l.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:a.lightboxSet,currentSetIndex:a.index,historyHash:a.isFromHash,theme:this._getLightboxTheme(a.slideHitArea)}),this.lightbox.render(),a.isFromHash&&this.lightbox._slideshow.set("currentIndex",a.index)}},_getInitialSlideId:function(a){var n=new l.HistoryHash,o=n.get("itemId");if(o)return o;if(a&&a.size()){var t="",r=a.item(0).ancestor(".slides");if(r)return t=r.getAttribute("data-collection-full-url"),window.location.pathname.replace(t,"")}var i=window.location.pathname.split("/");return i[i.length-1]},_getSlideIndexByLink:function(a,n){var o=-1;return a.some(function(r,i){if(r.ancestor(".sqs-layout"))return!1;var c=r.getAttribute("data-slide-url");return r.getAttribute("data-slide-id")!==n&&c!==n?!1:(o=i,!0)},this),o},_getSlideIndexByRoughUrl:function(a,n){var o=-1;return a.some(function(r,i){if(r.ancestor(".sqs-layout"))return!1;var c=r.getAttribute("data-slide-url"),d=c.substr(c.length-n.length)===n,u=c.indexOf("/"+n)>-1;return!d||!u?!1:(o=i,!0)},this),o},_openInitialSlide:function(a,n){var o=this._getInitialSlideId();if(o){var t=this._getSlideIndexByLink(a,o);t===-1&&(t=this._getSlideIndexByRoughUrl(a,o),t===-1)||(this._destroyLightbox(),this.lightbox=new l.Squarespace.Lightbox2({controls:{previous:!0,next:!0},set:n,currentSetIndex:t,historyHash:"yui-throttle"}),this.lightbox.render())}}};l.mix(l.SQS.Gallery.Manager,e,!0),l.Squarespace.GalleryManager=l.SQS.Gallery.Manager},"1.0",{requires:["squarespace-image-loader","squarespace-plugin-lightbox2","squarespace-video-loader","squarespace-widgets-lightbox2","@sqs/yui-gallery/manager"]})},990640: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"]})},656865:function(y,l,e){"use strict";e.r(l);var a=e(529813),n=e.n(a);YUI.add("squarespace-gallery",function(o){o.namespace("Squarespace");var t=!1,r=o.Squarespace.Legacy.Class;o.augment(o.Node,r.create({outerWidth:function(i){var c=parseFloat(this.getComputedStyle("marginLeft")),d=parseFloat(this.getComputedStyle("marginRight"));return n().trackCaughtError("squarespace-gallery-deprecation","YNode#outerWidth invoked"),this.get("offsetWidth")+c+d},outerHeight:function(i){var c=parseFloat(this.getComputedStyle("marginTop")),d=parseFloat(this.getComputedStyle("marginBottom"));return n().trackCaughtError("squarespace-gallery-deprecation","YNode#outerHeight invoked"),this.get("offsetHeight")+c+d}})),o.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}
1,getSlide:function(i){return this.elems.slides.item(i)},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(i){n().trackCaughtError("squarespace-gallery-deprecation","Y.Squarespace.Gallery initialized!"),o.Lang.isBoolean(i.keyboard)&&i.keyboard&&delete i.keyboard,this.params=o.merge(this.defaultOpts,i),this.elems={};var c=o.one(this.params.slideshowElement);if(o.Lang.isNull(c))throw new Error("No gallery '"+this.params.slideshowElement+"' container found.");var d=this.params.itemSelector?c.all(this.params.itemSelector):c.get("children");if(this.elems.container=c,this.elems.slides=d,this.getContainer().getData("galleryInstance")){this.getContainer().getData("galleryInstance")._debug.warn("Node already bound to gallery instance.");return}if(this._debug=new o.Squarespace.Debugger({name:"Gallery",uid:!0}),this.getContainer().setData("galleryInstance",this),this.history=new o.HistoryHash,this.params.historyHash||this.history.get("itemId")){this.history=new o.HistoryHash;var u=this.history.get("itemId")||this.history.get(this.params.historyHash),s;u&&(this.elems.slides.each(function(g,m){g.getAttribute("data-slide-id")===u&&(s=m)}),o.Lang.isNumber(s)||(s=parseInt(this.history.get(this.params.historyHash),10)),this.history.get("itemId")&&this.history.replaceValue("itemId",null),o.Lang.isNumber(s)&&(this.params.startIndex=s))}if(this.data={currentIndex:this.params.startIndex,totalSlides:d.size()},this.events=[],this.data.totalSlides<=0)return!1;if(!o.Squarespace.GalleryDesigns[this.params.design]){var f=[];for(var p in o.Squarespace.GalleryDesigns)f.push(p);throw new Error("Design '"+this.params.design+"' not found. Currently loaded designs: ["+f.join(", ")+"].")}if(this.design=new o.Squarespace.GalleryDesigns[this.params.design],this.design.gallery=this,this.design.options=o.merge(this.design.options,this.params.designOptions),this.params.previous&&o.all(this.params.previous).each(function(g){this.events.push(g.on("click",function(m){m.halt(),this.previousSlide()},this))},this),this.params.next&&o.all(this.params.next).each(function(g){this.events.push(g.on("click",function(m){m.halt(),this.nextSlide()},this))},this),this.params.focusOnClick&&d.each(function(g){g.on("click",function(){this.fire("changeIndex",d.indexOf(g))},this)},this),this.params.keyboard){var v=function(){return this.params.keyboardWhenInFrame?this.getContainer().inRegion(o.one(this.params.keyboardWhenInFrame).get("region")):!0};this.params.keyboard.previous&&this.events.push(o.on("key",function(){v.call(this)&&this.previousSlide()},window,this.params.keyboard.previous,this)),this.params.keyboard.next&&this.events.push(o.on("key",function(){v.call(this)&&this.nextSlide()},window,this.params.keyboard.next,this))}this.params.linked&&o.Array.each(this.params.linked,function(g){this.linkGallery(g)},this),this.setup(),this.fire("changeIndex",this.params.startIndex),this.isInitialized=!0},linkGallery:function(i){function c(d,u){d&&this._changeIndex(u),o.Array.each(this.elems.linked,function(s){d!==s&&s._changeIndex(u)})}this.elems.linked||(this.on("changeIndex",function(d){c.call(this,!1,d)},this),this.elems.linked=[]),this.elems.linked.push(i),i.on("changeIndex",function(d){c.call(this,i,d)},this)},setup:function(){if(this.on("changeIndex",this._changeIndex),this.loadSlides(),this.design.setup(this.elems.container,this.elems.slides),this.params.autoplay){var i=this;setInterval(function(){if(i.params.autoplayOptions.randomize){for(var c=Math.ceil(Math.random()*i.data.totalSlides);c===i.data.currentIndex;)c=Math.ceil(Math.random()*i.data.totalSlides);i.fire("changeIndex",c)}else i.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(i,c){var d=this.elems.slides.item(i),u=d;d.one("img,canvas")&&(u=d.one("img,canvas")),u&&d.getStyle("display")==="inline"&&(d=u);var s=c==="width"?"offsetWidth":"offsetHeight";return u.loader?u.loader.get("loaded")?u.loader.get("node").get(s):u.loader.getDimensionForValue(c,d.get(c==="width"?"offsetHeight":"offsetWidth")):d.get(s)},updateContainerHeight:function(){var i={container:this.elems.container};o.Lang.isObject(this.params.updateContainerHeight)&&(i=o.merge(i,this.params.updateContainerHeight));var c=this.getSlideDimension(this.data.currentIndex,"height");i.maxHeight&&c>i.maxHeight&&(c=i.maxHeight);var d=o.all(i.container);i.anim&&this._updateContainerHeightRanOnce?d.each(function(u){u.anim({},o.merge({to:{height:c},duration:.3,easing:o.Easing.easeOutStrong},i.anim)).run()}):d.setStyles({height:c}),this._updateContainerHeightRanOnce=!0},previousSlide:function(){var i=this.data.currentIndex-1;i<0&&!this.params.loop||this.fire("changeIndex",i)},nextSlide:function(){var i=this.data.currentIndex+1;i>=this.data.totalSlides&&!this.params.loop||this.fire("changeIndex",i)},beforeChange:function(i){this.params.loop||(this.params.next&&(i.toIndex>=this.data.totalSlides-1?o.all(this.params.next).addClass("disabled"):o.all(this.params.next).removeClass("disabled")),this.params.previous&&(i.toIndex<=0?o.all(this.params.previous).addClass("disabled"):o.all(this.params.previous).removeClass("disabled"))),this.fire("before-change",i
1)},afterChange:function(i){(this.params.currentIndex||this.params.totalSlides)&&(o.all(this.params.currentIndex).each(function(c){c.set("innerHTML",this.data.currentIndex+1)},this),o.all(this.params.totalSlides).each(function(c){c.set("innerHTML",this.data.totalSlides)},this)),this.params.historyHash&&this.history.replaceValue(this.params.historyHash,this.getCurrentSlideId()),this.fire("after-change",i)},changeIndex:function(i){this.fire("changeIndex",i)},_changeIndex:function(i){if(!o.Lang.isObject(i)&&(this.params.loop||(i<0&&(i=0),i>=this.data.totalSlides&&(i=this.data.totalSlides-1)),i<0&&(i=this.data.totalSlides+i),!(this.isInitialized&&this.data.currentIndex===i))){t&&console.log("Y.Squarespace.Gallery.changeIndex",[i]);var c=this.data.currentIndex,d=i%this.data.totalSlides,u=this.elems.slides,s=c===this.data.totalSlides-1&&d===0,f=c===0&&d===this.data.totalSlides-1,p;c<d&&!s&&!f||c>d&&s&&!f?p="fwd":(c>d&&!f||c<d&&f)&&(p="rev");var v={fromIndex:c,toIndex:d,direction:p};this.beforeChange(v),u.filter(".active").removeClass("active"),u.item(d).addClass("active"),this.fire("change",v),this.data.currentIndex=d,this.afterChange(v)}},loadSlides:function(i){var c=this.elems.container.all("img[data-src][data-image-dimensions][data-image-focal-point]");c.plug(o.Squarespace.Loader2,this.params.loaderOptions)}}),o.augment(o.Squarespace.Gallery,o.EventTarget),o.Squarespace.GalleryDesigns={},o.Squarespace.GalleryDesigns.off=r.create({gallery:!1,options:{},beforeChange:function(i){},afterChange:function(i){},change:function(i,c){},setup:function(){},getGallery:function(){return this.gallery},events:[]})},"1.0",{requires:["node","event-key","squarespace-image-loader","squarespace-legacy-class","squarespace-ui-base","history"]})},638431:function(){YUI.add("squarespace-gismo",function(y){y.Squarespace.GismoBase=function(){this._gismoEvents={},this._timers={},this._anims=this._anims||[]},y.Squarespace.GismoBase.prototype={destructor:function(){y.Object.each(this._gismoEvents,function(l,e){y.Array.invoke(l,"detach"),this._gismoEvents[e]=null},this),y.Object.each(this._timers,function(l,e){y.Array.invoke(l,"cancel"),this._timers[e]=null},this),this._anims.shift?(y.Array.invoke(this._anims,"destroy"),this._anims=null):this._anims.destructor&&this._anims.destructor()},_anim:function(l,e,a){var n=l.anim(e,a||{});return n.on("end",function(){this._anims.remove(n)},this),this._anims.push(n),n},_event:function(l,e){e=e||"generic",this._gismoEvents[e]=this._gismoEvents[e]||[],this._gismoEvents[e].push(l)},_getEvents:function(l){return this._gismoEvents[l||"generic"]},_flushEvents:function(l){var e=this._gismoEvents[l||"generic"];e&&(y.Array.invoke(e,"detach"),this._gismoEvents[l]=null)},_timer:function(l,e){e=e||"generic",this._timers[e]=this._timers[e]||[],this._timers[e].push(l)}}},"1.0",{requires:["array-invoke","squarespace-anims"]})},147364:function(y,l,e){"use strict";e.r(l);var a=e(466740),n=e(904156),o=e.n(n),t=e(762379);YUI.add("squarespace-image-loader",function(r){r.namespace("Squarespace"),r.Squarespace.Loader=r.Base.create("Loader",r.Base,[],{initializer:function(){this.get("frames")&&this._processFrames(),this.get("img")&&this._processImages()},_processFrames:function(){this._getNodeList("frames").each(function(i){i.getAttribute("data-embed")&&i.resizeToParent({scale:"contain",sizeOnly:!0})})},_processImages:function(){this._getNodeList("img").each(function(i){var c=!1;i.loader&&(c=!0),i.plug(r.Squarespace.Loader2,this.get("loaderOptions")||{}),c&&i.fire("refresh")},this)},_getNodeList:function(i){var c=this.get(i);return r.Lang.isString(c)?r.all(c):c.size?c:new r.NodeList(c)}},{ATTRS:{frames:{},img:{},loaderOptions:{}}}),r.Squarespace.Loader2=r.Base.create("Loader2",r.Plugin.Base,[],{initializer:function(){var i=this.get("host"),c=100,d=0;function u(){!i.inDoc()&&++d<c?r.later(10,this,u):this.load()}u.call(this),this.on("refresh",this.load,this),this.afterHostEvent("refresh",this.load,this)},_isInvalidHost:function(){return this.get("host").getDOMNode()===null||!this.get("host").inDoc()},load:function(){var i=this.get("host");if(i.getAttribute("src")&&i.get("complete")&&i.fire("loaded"),this.afterHostEvent("load",function(){this._isInvalidHost()||(this.get("host").removeClass("loading").addClass("loaded"),this.get("host").fire("loaded"))},this),this.afterHostEvent("loaded",function(){t.default.isFeatureEnabled(o().IMAGE_COMPONENT)&&this.get("host").removeClass("loading").addClass("loaded")},this),!this._isInvalidHost()){var c=this.get("load"),d=a.default.isSevenOne()&&r.config.win.ImageLoader.loadLazy&&c!=="viewport",u=(d?r.config.win.ImageLoader.loadLazy:r.config.win.ImageLoader.load).bind(r.config.win.ImageLoader);u(i.getDOMNode(),r.merge(this.getAttrs(),{load:c}))}},getDimensionForValue:function(i,c){var d=this.get("host").getDOMNode(),u=r.config.win.ImageLoader._getDataFromNode(d);return r.config.win.ImageLoader.getDimensionForValue(i,c,u)},getBareElement:function(){var i=this.get("host"),c=r.Node.create("<img />");
1return c.setAttribute("data-src",i.getAttribute("data-src")),c.setAttribute("data-image-dimensions",i.getAttribute("data-image-dimensions")),c.setAttribute("data-image-focal-point",i.getAttribute("data-image-focal-point")),c.setAttribute("alt",i.getAttribute("alt")),c},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 r.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 r.Lang.isBoolean(i)}}}}),r.Squarespace.ImageLoadManager=new(r.Base.create("ImageLoadManager",r.Base,[],{refreshAll:function(){r.all("img[data-src]").each(function(i){i.fire("refresh")})}})),r.augment(r.Node,Class.create({refresh:function(){this.fire("refresh")}}))},"1.0",{requires:["base","node","plugin"]})},857244:function(){YUI.add("squarespace-legacy-class",function(y){y.namespace("Squarespace.Legacy"),y.Squarespace.Legacy.Class={create:function(l){var e;return l.initialize?e=function(){this.initialize.apply(this,arguments)}:e=function(){},e.prototype=l,e.extend=function(a){return Class.extend(this,a)},e.specialize=function(a,n){var o=Class.specialize(this,a);return o._parent=n,o},e},extend:function(l,e){e.initialize||(e.initialize=l.prototype.initialize);var a=Class.create(e),n=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(var o in l.prototype)a.prototype[o]?typeof a.prototype[o]=="function"&&n.test(a.prototype[o])&&(a.prototype[o]=function(t,r){return function(){var i=this._super;this._super=l.prototype[t];var c=r.apply(this,arguments);return this._super=i,c}}(o,a.prototype[o])):a.prototype[o]=l.prototype[o];return a.prototype.superclass=l.prototype,a},specialize:function(l,e){var a=Class.extend(l,e);return new a}}},"1.0",{requires:[]})},479445:function(y,l,e){"use strict";e.r(l);var a=e(603808);YUI.add("squarespace-logger",function(n){var o=[],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(i){i=n.one(i);var c=i.get("tagName").toLowerCase(),d=i.getAttribute("id"),u=i.get("className").split(" "),s="";return u.length>0&&(s="."+u.join("."),s.length>20&&(s=s.substr(0,20)+"\u2026")),c+(d?"#"+d:"")+s},enqueue:function(i){o.push(i),this.wait()},flush:function(i){try{clearTimeout(t)}catch(c){}t=null,o.length>0&&n.Data.post({url:"/api/events/Trace",data:{data:JSON.stringify(o)},failure:function(){}}),o=[]},wait:function(){t===null&&(t=setTimeout(n.bind(this.flush,this),this.get("timerLength")))},log:function(i,c){n.Lang.isValue(i)&&this.enqueue({pageUrl:document.location.href,type:i,data:JSON.stringify(n.Lang.isValue(c)?c:{})})},trace:function(i,c){try{var d={};d.lalala()}catch(u){this.log(i,n.merge(c,{stack:u.stack}))}},debug:function(i){var c=n.one("#logger-debug")||n.one(n.config.doc.body).appendChild(n.Node.create('<div id="logger-debug"></div>'));c.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"}),c.setContent((0,a.default)('<xmp style="margin:0">{sub1}</xmp>',{sub1:JSON.stringify(i,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"]})},372172: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 l=0,e=arguments.length;l<e;l++)y.Lang.isValue(arguments[l])&&this.get("eventListeners").push(arguments[l])}},{ATTRS:{eventListeners:{value:[]}}})},"1.0",{requires:["array-invoke","base"]})},495386:function(y,l,e){"use strict";e.r(l);var a=e(114194),n=e(458887);YUI.add("squarespace-models-shopping-cart-facade",function(o){o.namespace("Squarespace.Singletons");var t=o.Base.create("ShoppingCartFacade",o.Base,[],{},{ATTRS:{id:{validator:o.Lang.isString},websiteId:{validator:o.Lang.isString},orderId:{validator:o.Lang.isString},created:{getter:function(r){return o.Lang.isValue(r)?new Date(r):null},setter:function(r){return o.Lang.isDate(r)?r.getTime():r},validator:o.Lang.isNumber},isPurchased:{value:!1,validator:o.Lang.isBoolean},entries:{value:[],validator:o.Lang.isArray},shippingOptions:{value:[],validator:o.Lang.isArray},selectedShippingOption:{validator:o.Lang.isObject},shippingLocation:{validator:o.Lang.isObject},applicableTaxRules:{value:[],validator:o.Lang.isArray}
1,coupons:{value:[],validator:o.Lang.isArray},validCoupons:{value:[],validator:o.Lang.isArray},invalidCoupons:{value:[],validator:o.Lang.isArray},subtotalCents:{validator:o.Lang.isNumber,value:0},subtotalAmount:{value:(0,n.fromCents)(0,"USD")},taxCents:{validator:o.Lang.isNumber,value:0},shippingCostCents:{validator:o.Lang.isNumber,value:0},discountCents:{validator:o.Lang.isNumber,value:0},grandTotalCents:{validator:o.Lang.isNumber,value:0},totalQuantity:{validator:o.Lang.isNumber,value:0},hasDigital:{validator:o.Lang.isBoolean,value:!1},purelyDigital:{validator:o.Lang.isBoolean,value:!1},requiresShipping:{validator:o.Lang.isBoolean,value:!1}}});o.Squarespace.Singletons.ShoppingCart=new t},"1.0",{requires:["base"]})},711482:function(){YUI.add("squarespace-plugin-lightbox2",function(y){y.namespace("Squarespace.Plugin"),y.Squarespace.Lightbox2Plug=y.Squarespace.Plugin.Lightbox2=y.Base.create("Lightbox2Plug",y.Plugin.Base,[y.Squarespace.GismoBase],{initializer:function(){this._event(this.get("host").on("click",function(l){l.preventDefault();var e=this;y.use("squarespace-ui-base",function(){var a=new y.Squarespace.Lightbox2(y.merge({content:y.Node.create(e.get("host").getAttribute("data-lightbox"))},e.get("lightboxOptions")));a.render()})},this))},destructor:function(){var l=this.get("lightboxOptions.content");l instanceof y.Node&&l.destroy(!0)}},{NS:"lightbox2plugin",ATTRS:{lightboxOptions:{}}})},"1.0",{requires:["base","node","plugin","squarespace-gismo","squarespace-widgets-lightbox2"]})},765627:function(){YUI.add("squarespace-plugin-node-destroy-notifier",function(y){y.Squarespace.NodeDestroyNotifier=y.SQS.Gallery.NodeDestroyNotifier},"1.0",{requires:["@sqs/yui-gallery/node-destroy-notifier"]})},786007:function(){YUI.add("squarespace-plugin-scroll-lock",function(y){y.namespace("Squarespace.Plugin").ScrollLock=y.Base.create("ScrollLock",y.Plugin.Base,[],{initializer:function(l){var e=this.get("host"),a=e.getDOMNode();this.listener=function(n){if(n.stopPropagation(),!y.Lang.isNumber(a.scrollTop))return n.preventDefault(),!1;var o=parseInt(e.getComputedStyle("height"),10),t=a.scrollTop,r=a.scrollHeight-o,i=n.wheelDelta||-n.detail;if(t<=0&&i>0||t>=r&&i<0)return n.preventDefault(),!1},a.addEventListener?(a.addEventListener("mousewheel",this.listener),a.addEventListener("DOMMouseScroll",this.listener),a.addEventListener("MozMousePixelScroll",this.listener)):a.attachEvent&&a.attachEvent("onmousewheel",this.listener)},destructor:function(){var l=this.get("host").getDOMNode();l.removeEventListener?(l.removeEventListener("mousewheel",this.listener),l.removeEventListener("DOMMouseScroll",this.listener),l.removeEventListener("MozMousePixelScroll",this.listener)):l.detachEvent&&l.detachEvent("onmousewheel",this.listener)}},{NS:"ScrollLock",ATTRS:{}})},"1.0",{requires:["base","node","plugin"]})},767451:function(){YUI.add("squarespace-promises",function(y){function l(){}var e=y.namespace("Squarespace.Promises");e.all=function(){var a=new y.Array(arguments);return new y.Promise(function(n,o){var t=[],r=a.length,i=0,c=function(d){return function(u){i++,t[d]=u,i>=r&&n(t)}};if(r===0)return n([]);y.Array.each(a,function(d,u){y.when(d).then(c(u),o)})})},e.resolve=function(a,n){return a.then(n)},e.reject=function(a,n){return a.then(l,n)},e.rejectWith=function(a){return y.Squarespace.Promises.create(function(n,o){o(a)})},e.finish=function(a,n){return a.then(n,n)},e.chainFns=function(a,n){return function(){n=n||this;var o=a.length>0?a.shift().apply(n,arguments):y.when(),t=function(r,i){return y.Squarespace.Promises.resolve(y.when(r),y.bind(i,n))};return y.Array.reduce(a,o,t)}},e.create=function(a,n){return new y.Promise(y.bind(a,n))}},"1.0",{requires:["promise"]})},386977:function(y,l,e){"use strict";e.r(l);var a=e(637598),n=e.n(a),o=e(292610),t=e.n(o),r=e(769452),i=e.n(r),c=e(359129),d=e(466740);YUI.add("squarespace-public-api",function(u){u.namespace("Squarespace");var s=d.default.isSevenOne();s?(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=c.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 f=[];u.config.win.JSTween={tween:function(p,v){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.")),f.push({node:p,config:v})},play:function(){f.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 v=p.node,g=p.config,m={},b={},C=[],A=[];for(var _ in g)m[_]=g[_].start,b[_]=g[_].stop,g[_].onStart&&C.push(g[_].onStart),g[_].onStop&&A.push(g[_].onStop);u.one(v).anim(b,{from:m,duration:g[Object.keys(g)[0]].duration,start:function(){C.forEac
1h(function(P){P()})},end:function(){A.forEach(function(P){P()})}}).run()}),f=[]}}},"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"]})},452367:function(y,l,e){"use strict";e.r(l);var a=e(51216),n=e.n(a);YUI.add("querystring-parse",function(o,t){var r=o.namespace("QueryString");r.parse=function(i){return n().parse(i)},r.unescape=function(i){return decodeURIComponent(i.replace(/\+/g," "))}},"3.17.2",{requires:["yui-base","array-extras"]})},688242:function(y,l,e){"use strict";var a=e(999862),n=e.n(a),o=e(316262),t=e.n(o),r=e(40703),i=e(474863),c=e.n(i),d=e(51852),u=e.n(d),s=e(159585),f=e.n(s),p=e(606536),v=e.n(p),g=e(868245),m=e.n(g),b=e(922770),C=e.n(b),A=e(917645),_=e.n(A),P=e(659413),T=e.n(P),x=e(132266),M=e.n(x),U=e(756426),j=e.n(U),$=e(60471),G=e.n($),J=e(115470),ie=e.n(J),W=e(585784),q=e.n(W),H=e(786763),X=e.n(H),k=e(508996),ne=e.n(k),re=e(230070),le=e.n(re),se=e(767451),ae=e.n(se),pe=e(244345),Pe=e.n(pe),ve=e(287917),Me=e.n(ve),ht=e(990950),xt=e.n(ht),At=e(845713),Bt=e.n(At),en=e(677867),Vt=e(514054),be=e.n(Vt),Le=e(317375),Oe=e.n(Le),yt=e(68367),wt=e.n(yt),Lt=e(577679),jt=e.n(Lt),Xe=e(239429),zt=e.n(Xe),nn=e(723949),st=e.n(nn),Ut=e(383324),Jt=e.n(Ut),on=e(134495),ln=e.n(on),te=e(743384),Ee=e.n(te),Ue=e(630173),ze=e.n(Ue),Ve=e(33146),fe=e.n(Ve),We=e(24717),tt=e.n(We),St=e(402359),Gt=e.n(St),Zt=e(353015),Un=e.n(Zt),Yt=e(657649),jn=e.n(Yt),kr=e(60042),Jr=e.n(kr),Tr=e(699004),Or=e.n(Tr),or=e(917443),bi=e.n(or),zi=e(134426),aa=e(975042),oa=e.n(aa),Gi=e(76184),Wi=e(245518),Ae=e.n(Wi),Pn=e(989746),Ii=e.n(Pn),Hr=e(481133),sa=e.n(Hr),vn=e(125057),Br=e.n(vn),Oi=e(541903),Zi=e.n(Oi),wi=e(950122),Ri=e.n(wi),pr=e(130110),jr=e.n(pr),fr=e(105495),Ca=e.n(fr),Ji=e(540856),_i=e.n(Ji),oi=e(559747),sn=e.n(oi),pa=e(192312),Yi=e.n(pa),si=e(773452),Kr=e.n(si),ki=e(924999),Da=e.n(ki),ga=e(931619),qi=e.n(ga),Yr=e(565738),qe=e(878515),He=e.n(qe),Re=e(794783),De=e.n(Re),$e=e(568096),Je=e.n($e),It=e(263446),Pt=e.n(It),tn=e(605585),kt=e.n(tn),bn=e(699993),kn=e.n(bn),Ar=e(305531),Ir=e.n(Ar),qr=e(991950),ni=e.n(qr),Vr=e(918916),zr=e.n(Vr),ui=e(668205),ea=e.n(ui),li=e(480149),Jn=e.n(li),Zr=e(95084),ma=e.n(Zr),Pa=e(479839),oe=e.n(Pa),we=e(343140),nt=e.n(we),Qt=e(821303),On=e.n(Qt),Mn=e(18709),hi=e.n(Mn),gr=e(98315),dr=e.n(gr),pi=e(522353),Mi=e.n(pi),An=e(614722),ci=e.n(An),Vn=e(693373),wn=e.n(Vn),mo=e(452367),yo=e(3299),Xo=e.n(yo),Ta=e(794964),_r=e.n(Ta),Wa=e(149104),Eo=e.n(Wa),Aa=e(909926),Rr=e(65448),ka=e(228398),ya=e.n(ka),Ha=e(894743),Ci=e.n(Ha),ri=e(479445),Ka=e(765627),Te=e.n(Ka),Ce=e(989096),xe=e.n(Ce),Ze=e(386977),at=e(163562),gt=e.n(at),Fe=e(213978),qt=e.n(Fe),xn=e(880604),mn=e.n(xn),$n=e(827476),xr=e.n($n),ua=e(277200),vr=e.n(ua),Hi=e(859077),Be=e.n(Hi),Ke=e(489565),Ie=e.n(Ke),Ye=e(599302),ut=e.n(Ye),ft=e(983810),Nt=e.n(ft),Rt=e(687596),dt=e.n(Rt),$t=e(411606),un=e.n($t),bt=e(147364),In=e(711482),Cn=e.n(In),rn=e(638431),zn=e.n(rn),Hn=e(623339),Gn=e.n(Hn),En=e(189982),Mr=e.n(En),cn=e(241601),fi=e.n(cn),mr=e(402079),$r=e(819406),hr=e.n($r),ar=e(755906),Cr=e.n(ar),Gr=e(165221),ee=e.n(Gr),z=e(786007),K=e.n(z),ce=e(37435),me=e.n(ce),de=e(191429),it=e.n(de),Tt=e(373315),Ot=e(98646),hn=e(725707),an=e.n(hn),Sn=e(208881),gi=e.n(Sn),ei=e(649253),js=e.n(ei),Es=e(521956),uc=e.n(Es),Zo=e(221634),qc=e.n(Zo),lc=e(34813),hu=e.n(lc),rt=e(398089),Dt=e.n(rt),Et=e(546241),yn=e.n(Et),Qn=e(677582),yr=e.n(Qn),Pi=e(773618),Dr=e.n(Pi),pu=e(738171),sl=e.n(pu),La=e(43098),gu=e.n(La),cc=e(806582),qa=e.n(cc),zs=e(156049),Ki=e.n(zs),Lr=e(591198),So=e.n(Lr),ul=e(336412),Gs=e.n(ul),mu=e(595853),ll=e.n(mu),cl=e(197091),Ws=e.n(cl),ao=e(543971),bo=e.n(ao),yu=e(951513),Bo=e.n(yu),fl=e(145191),fc=e.n(fl),Na=e(202905),dc=e.n(Na),oo=e(990112),Jo=e.n(oo),Ss=e(555696),bs=e.n(Ss),Eu=e(769087),ks=e.n(Eu),Yo=e(597517),Hs=e.n(Yo),Su=e(49507),ef=e.n(Su),dl=e(224848),tf=e.n(dl),Ks=e(734107),Di=e.n(Ks),ta=e(416376),nf=e.n(ta),vc=e(292458),vl=e.n(vc),hc=e(884966),hl=e.n(hc),Os=e(990640),pl=e.n(Os),Oo=e(857244),so=e.n(Oo),Wr=e(232630),ti=e.n(Wr),di=e(316850),la=e(62692),xa=e(957987),qo=e(656865),_s=e(495386),Ea=e(212544),es=e.n(Ea),Cs=e(925534),gl=e(501960),ye=e(372172),ts=e.n(ye),uo=e(569015),Sa=e.n(uo),sr=e(313936),Qr=e.n(sr)}
1,212544: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 l=this.get("size");y.Lang.isNumber(l)||this.get("boundingBox").addClass(l)},spin:function(){this.get("boundingBox").show()},stop:function(){this.get("boundingBox").hide()},addClass:function(l){this.get("boundingBox").addClass(l)}},{CSS_PREFIX:"sqs-spin",NS:"spinner",ATTRS:{size:{value:"default",setter:function(l){return y.Lang.isNumber(l)&&(this.set("width",l),this.set("height",l)),l}},color:{value:"light"}}})},"1.0",{requires:["base","widget"]})},65448:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a),o=e(603808),t=e(818868),r=e.n(t);YUI.add("squarespace-system-error",function(i){i.namespace("Squarespace"),i.Squarespace.SystemError=Class.create({initialize:function(c,d,u){this.url=i.Squarespace.Escaping.escapeForHtml(c),this.data=d,this.format=u,i.config.win.__clearError=this.clear},clear:function(){i.one(".sqs-system-error").remove(),i.one(t.yuiDialogOverlaySelector+".sqs-system-error-overlay").remove()},show:function(){var c,d="";if(this.data.cleaned)c='<div style="font-weight: normal; font-size: 22px; margin-top: -2px;">'+(0,a.t)("Something Went Wrong!")+'</div><div style="font-weight: normal; font-size: 13px; padding-top: 5px;">'+(0,a.t)("Our system has encountered an error.  This exception has been automatically logged and reported.  We will return shortly.")+"</div>";else if(this.data.network){if(d=(0,a.t)("Unable to connect to Squarespace.  Please try again."),i.Lang.isString(this.data.error)&&this.data.error.length>0&&(d=this.data.error),c='<div style="font-weight: normal; font-size: 17px;">'+d+"</div>",this.url)try{i.Squarespace.Analytics.trackInternal("system_network_error",{urlRequested:this.url})}catch(v){}}else d=i.Squarespace.Escaping.escapeForHtml(this.data.error||this.data.message||""),c=(0,o.default)('<div style="font-weight: normal; font-size: 17px;">{sub1} &nbsp;<span style="color: #888;">({sub2})</span></div><br/><pre>{sub3}</pre>',{sub1:this.url,sub2:this.format.toUpperCase(),sub3:d.replace(new RegExp("\n","g"),"<br/>")});if(!i.one(".sqs-system-error")){var u='<input type="button" value="Clear" onclick="Y.config.win.__clearError();"/>',s="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;",f=c+'<br/><br/><input type="button" value="'+(0,a.t)("Reload Page")+'" onclick="Y.config.doc.location.reload();"/> &nbsp; ';f+=u+"<br/><br/><br/>",this.data.errorKey&&(f+='<span style="color: #777; font-size: 10px;">'+this.data.errorKey+"</span>"),this.errorEl=i.Node.create('<div class="sqs-system-error" style="'+s+'">'+f+"</div>"),i.one(i.config.doc.body).append(this.errorEl),this.overlayEl=i.Node.create('<div class="'+t.yuiDialogOverlayClassName+' sqs-system-error-overlay"></div>'),this.overlayEl.setStyles({zIndex:1e7}),i.one(i.config.doc.body).append(this.overlayEl);var p=new i.Anim({node:this.overlayEl,to:{opacity:1},duration:.35,easing:i.Easing.easeOutStrong});p.run()}}})},"1.0",{requires:["squarespace-escaping-utils","squarespace-util"]})},37435: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"]})},98646:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a),o=e(197446),t=e(818868),r=e.n(t);YUI.add("squarespace-ui-base",function(i){i.namespace("Squarespace"),i.mix(i.Node.DOM_EVENTS,{message:!0}),i.Squarespace.DIALOG_ZINDEX_BASE=t.zIndexes.BASE,i.Anim._intervalTime=10;var c=Number;i.Anim.DEFAULT_SETTER=function(d,u,s,f,p,v,g,m){var b=d._node,C=b._node,A=g(p,c(s),c(f)-c(s),v);b._node!==null&&(C?"style"in C&&(u in C.style||u in i.DOM.CUSTOM_STYLES)?(m=m||"",b.setStyle(u,A+m)):"attributes"in C&&u in C.attributes?b.setAttribute(u,A):u in C&&(C[u]=A):b.set?b.set(u,A):u in b&&(b[u]=A))},i.Squarespace.TextShrink=i.Base.create("TextShrink",i.Plugin.Base,[],{initializer:function(){var d=this.get("host");i.Lang.isValue(this.get("parentEl"))||this.set("parentEl",d.ancestor()),this._setupEl(),i.on("domready",this.refresh,this),this._resizeEvent=i.on("resize",function(){this._timeout&&this._timeout.cancel(),this._timeout=i.later(100,this,this.refresh)},i.config.win,this),this._tweakChange=i.Global.on("tweak:change",this.refresh,this),this._tweakSaveResetClose=i.Global.on(["tweak:save","tweak:reset","tweak:close"],this.refresh,this)},refresh:function(){this._reset(),this._setupEl(),this._adjust()},isOverflowing:function(){var d=this._getWidths();return Math.abs(d.el-d.parentEl)<=3&&(d.el=d.parentEl=Math.min(d.el,d.parentEl)),d.el>d.parentEl},_adjust:function(){var d=this.get("host"),u=this._getWidths();if(this.isOverflowing()){var s=this._getStyleValue(d,"fontSize");s=u.parentEl/u.el*s,this._setFontSize(Math.floor(s))}return!0},_setFontSize:function(d){var u=this.get("host"),s=this.get("minFontSize");s&&d<s&&(d=s),isNaN(d)||u.setStyle("fontSize",d+"px")},_getStyleValue:function(d,u){return parseInt(d.getStyle(u),10)},_getWidths:function(){var d=this.get("host"),u=this.get("parentEl"),s=d.get("scrollWidth"),f=this._getStyleValue(u,"paddingLeft")+this._getStyleValue(u,"paddingRight"),p=u.get("offsetWidth")-f;return(s===0||!i.Lang.isValue(s))&&(s=d.get("offsetWidth")),{parentEl:p,el:s}},_setupEl:function(){var d=this.get("host");d.setAttribute("data-shrink-original-size",this._getStyleValue(d,"fontSize")),this.letterSpacing=this._getStyleValue(d,"letterSpacing")/d.getAttribute("data-shrink-original-size")+"em",d.setStyle("letterSpacing",this.letterSpacing)},_reset:function(){var d=this.get("host");d.setStyles({letterSpacing:null,fontSize:null})},destructor:function(){this._resizeEvent&&this._resizeEvent.detach(),this._tweakChange&&this._tweakChange.detach(),this._tweakSaveResetClose&&this._tweakSaveResetClose.detach()}},{ATTRS:{minFontSize:{value:11},parentEl:{value:null}},NS:"TextShrink"}),i.Squarespace.SimpleFlexibleGrid=i.Base.create("SimpleFlexibleGrid",i.Plugin.Base,[],{initializer:function(){this._stylesheetEl=i.Node.create("<style></style>"),this.get("host").append(this._stylesheetEl),this._resizeEvent=i.on("resize",this.syncUI,i.config.win,this),this.syncUI()},syncUI:function(){var d;this.get("minWidth")?d=Math.floor(this.get("container").get("offsetWidth")/this.get("minWidth")):d=Math.ceil(this.get("container").get("offsetWidth")/this.get("maxWidth")),this._stylesheetEl.set("innerHTML",this.get("selector")+"{width:"+100/d+"% !important;}"),this.get("host").fire("simpleFlexibleGridSyncUI")},destructor:function(){this._stylesheetEl.remove(),this._resizeEvent.detach()}},{ATTRS:{container:{},selector:{},maxWidth:{},minWidth:{}},NS:"simple-flexible-grid"}),i.Squarespace.Mouse={lastX:100,lastY:100,client:{lastX:100,lastY:100},debug:function(){this.isDebugging=!0,this._debugNode||(this._debugNode=i.one(i.config.doc.body).appendChild("<div></div>"),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:i.Squarespace.Mouse.lastY,left:i.Squarespace.Mouse.lastX})}},i.Object.getValue(i.config.win,"Static.SQUARESPACE_CONTEXT.authenticatedAccount".split("."))&&i.on(i.UA.mobile?"touchmove":"mousemove",function(d){i.Squarespace.Mouse.lastX=d.pageX,i.Squarespace.Mouse.lastY=d.pageY,
1i.Squarespace.Mouse.client.lastX=d.clientX,i.Squarespace.Mouse.client.lastY=d.clientY,i.Squarespace.Mouse.isDebugging&&i.Squarespace.Mouse.debug()},i.one("html")),i.Squarespace.Image={loadAndFit:function(d,u){var s=new Image;s.src=u,i.one(s).on("load",function(f,p,v){p.set("src",v.src),p.resizeToParent({scale:"cover"})},this,d,s)},straighten:function(d,u,s,f){var p=(f<0?360-f:f)%360,v=p;p>=90&&(v=p%90-90),p>=180&&(v=-1*p%180-180),p>=270&&(v=p%270-90);var g=Math.abs(v)*(Math.PI/180),m;s>u?m=(u*Math.cos(g)+s*Math.sin(g))/u:m=(s*Math.cos(g)+u*Math.sin(g))/s,d.setStyle("transform","rotate("+f+"deg) scale("+Math.abs(m)+")")}},i.Squarespace.Position=Class.create({initialize:function(d){this.EDGE_MARGIN=20,this.avoidElX=d.avoidElX,this.avoidElY=d.avoidElY,this.xdir=d.xdir,this.ydir=d.ydir,this.x=d.x,this.y=d.y,this.xo=d.xo?d.xo:0,this.yo=d.yo?d.yo:0,this.w=d.w,this.h=d.h,this.initialX=this.getX(),this.initialY=this.getY()},setX:function(d){this.x=d},setY:function(d){this.y=d},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>i.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_MARGIN<i.one(document.body).get("docScrollY")},isBottomViolation:function(){return this.y+this.h-Math.abs(this.getYO())+this.EDGE_MARGIN>i.one(document.body).get("winHeight")+i.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 i.one(document.body).get("winHeight")-this.h-this.EDGE_MARGIN},this.ydir="bottom"):this.getY()+this.h+this.EDGE_MARGIN>i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")&&(this.getY=function(){return i.one(document.body).get("winHeight")+i.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>i.one(document.body).get("winWidth")&&(this.getX=function(){return i.one(document.body).get("winWidth")-this.w-this.EDGE_MARGIN},this.ydir="right"),this.getY()<i.one(document.body).get("docScrollY")&&(console.log("fixing y offscreen issues."),this.yo=i.one(document.body).get("docScrollY")+this.EDGE_MARGIN-this.y)},nudgeFix:function(){this.isRightViolation()?this.getX=function(){return i.one(document.body).get("winWidth")+i.one(document.body).get("docScrollX")-this.w-this.EDGE_MARGIN}:this.isLeftViolation()&&(this.getX=function(){return this.EDGE_MARGIN}),this.isBottomViolation()?this.getY=function(){return i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")-this.h-this.EDGE_MARGIN}:this.isTopViolation()&&(this.getY=function(){return this.EDGE_MARGIN})},overflowFix:function(){this.isRightViolation()?this.x=i.one(document.body).get("winWidth")+i.one(document.body).get("docScrollX")-this.w-this.EDGE_MARGIN:this.isLeftViolation()&&(this.x=this.EDGE_MARGIN),this.isBottomViolation()?this.y=i.one(document.body).get("winHeight")+i.one(document.body).get("docScrollY")-this.h-this.EDGE_MARGIN:this.y-Math.abs(this.getXO())-this.EDGE_MARGIN<0&&(this.y=this.EDGE_MARGIN)}}),i.Squarespace.ToolTipManager={canShow:!0,disableTooltips:function(){this.canShow=!1,this.currentTip&&(this.currentTip.hide(),this.currentTip=null)},enableTooltips:function(){this.canShow=!0}
1},i.Squarespace.ToolTip=Class.create({initialize:function(d){this.params=d;var u=i.all(this.params.target);u.size()!==0&&(this.params.showTimeout===void 0&&(this.params.showTimeout=1200),this.params.width===void 0&&(this.params.width=250),this.params.style===void 0&&(this.params.style="info"),this.mouseOffset=15,this.events=[],u.each(function(s){this.events.push(s.on("mouseover",function(f){this.lastX=f.pageX,this.lastY=f.pageY,this.move(),!this.showTimer&&(this.showTimer=i.later(this.params.showTimeout,this,this.show))},this)),this.events.push(s.on("mouseout",function(f){this.showTimer&&(this.showTimer.cancel(),this.showTimer=null),this.hide()},this)),this.events.push(s.on("click",function(f){this.params.clickToShow?(this.show(),f.halt()):this.hide()},this))},this),this.events.push(i.Global.on("manager:change-mode",function(s){this.hide()},this)))},destroy:function(){for(var d=0;d<this.events.length;++d)this.events[d].detach();this.el&&(this.el.remove(),this.el=null),this.events=[],this.destroyed=!0,this.shown=!1},move:function(){this.el&&(this.position.x=this.lastX,this.position.y=this.lastY,this.a?this.el.setStyles({left:this.position.getX()+"px"}):this.el.setStyles({left:this.position.getX()+"px",top:this.position.getY()+"px"}))},show:function(){this.el||this.destroyed||this.shown||!i.Squarespace.ToolTipManager.canShow&&!this.params.dialogTooltip||(this.el=i.Node.create('<div class="sqsp-tooltip "'+this.params.style+'><div class="title">'+this.params.title+"</div></div>"),this.params.body&&this.el.append('<div class="description">'+this.params.body+"</div>"),i.one(document.body).append(this.el),this.position=new i.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 i.Anim({node:this.el,to:{top:this.position.getY(),opacity:1},duration:.3,easing:i.Easing.easeOutStrong}),this.a.on("end",function(){this.a=null},this),this.a.run(),i.Squarespace.ToolTipManager.currentTip=this)},hide:function(){if(this.el){var d=new i.Anim({node:this.el,to:{top:this.position.getY()+15,opacity:0},duration:.3,easing:i.Easing.easeOutStrong});d.on("end",function(){this.get("node").remove()}),d.run(),this.el=null,this.a=null,this.shown=!1}}}),i.Squarespace.Lightbox=Class.create({defaultOpts:{overlayShowDuration:.35,contentShowDuration:.6,margin:0,opacity:1,transition:"fade",clickAnywhereToExit:!0,name:null,content:"<div>&nbsp;</div>",theme:"black",overlayStyle:"orb"},name:"Lightbox",initialize:function(d){this.enabled=!0,this.params=i.merge(this.defaultOpts,d),this.params.containerNode||(this.params.containerNode=i.one("body")),this.params.transition||(this.params.transition="fade"),this.params.zIndex||(i.Squarespace.DIALOG_ZINDEX_BASE+=10,this.params.zIndex=i.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 d="sqs-lightbox"+(this.params.name?" sqs-lightbox-"+this.params.name:"");if(i.Lang.isArray(this.params.classNames)&&(d=d+" "+this.params.classNames.join(" ")),this.contentEl=i.Node.create('<div class="'+d+'"></div>'),i.Lang.isArray(this.params.content)?this.params.content.forEach(function(s){this.contentEl.append(s)},this):this.contentEl.append(this.params.content),this.contentEl.setStyles({position:"fixed",opacity:"0",zIndex:this.params.zIndex}),this.events.push(i.on("resize",this.position,i.one(window),this)),this.params.disableNormalClose||i.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),i.Lang.isArray(this.params.classNames)&&(u=u+" "+this.params.classNames.join(" ")),this.overlayEl=i.Node.create('<div class="'+u+'"></div>'),this.overlayEl.setStyles({zIndex:this.params.zIndex-1}),this.params.containerNode.append(this.overlayEl),this.fire("showing"),this.a=i.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(i.on("click",function(s){s.halt()},this.overlayEl,this)):this.events.push(i.on("click",this.close,this.overlayEl,this))}this.params.clickAnywhereToExit&&this.events.push(i.on("click",this.hide,this.contentEl,this))},position:function(){if(this.enabled){var d=i.one(document).get("winWidth"),u=i.one(document).get("winHeight"),s,f;d<this.naturalW+this.params.margin*2?s=d-this.params.margin*2:s=this.naturalW,u<this.naturalH+this.params.margin*2?f=u-this.params.margin*2:f=this.naturalH;var p=(d-s)/2,v=(u-f)/2;this.contentAttached&&(this.contentEl.setStyles({left:p+"px",top:v+"px",width:s+"px"}),this.params.noHeightConstrain||this.contentEl.setStyles({height:f+"px"}),this.resizeTarget&&this.resizeTarget.resizeToParent({scale:"contain"})),this.fire("position",{width:s,height:f,verticalWidth:d,verticalHeight:u,maxWidth:d-this.params.margin*2,maxHeight:u-this.params.margin*2})}},_showContent:function(){this.contentAttached=!0,this.resizeTarget=this.contentEl.one(".resize-target"),this.naturalW=this.contentEl.one("*").get("offsetWidth"),this.naturalH=this.params.height||this.contentEl.one("*").get("offsetHeight"),this.position(),this.fire("content-ready");var d=i.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"in",duration:this.params.contentShowDuration});d.on("end",function(){this.fire("content-visible")},this),d.run()},close:function(d){!this.params.clickAnywhereToExit&&(!d||this.overlayEl&&this.overlayEl.compareTo(d.target))||this.hide()},hide:function(){var d;this.enabled&&(this.a&&this.a.stop(),this.a=null,this.fire("hiding"),i.Squarespace.EscManager.removeTarget(this),this.overlayEl&&(d=i.Squarespace.Transitions.getTransition({el:this.overlayEl,n
1ame:"fade",direction:"out",duration:this.params.overlayShowDuration}),this.params.overlayShowDuration>this.params.contentShowDuration&&(this.a=d),d.run()),d=i.Squarespace.Transitions.getTransition({el:this.contentEl,name:this.params.transition,direction:"out",duration:this.params.contentShowDuration}),this.a||(this.a=d),d.run(),this.a.on("end",function(){this.destroy(),this.fire("hidden")},this))},destroy:function(){for(var d=0;d<this.events.length;++d)this.events[d].detach();this.contentEl&&this.contentEl.remove(),this.overlayEl&&this.overlayEl.remove(),this.contentEl=null,this.overlayEl=null,this.events=[]}}),i.augment(i.Squarespace.Lightbox,i.EventTarget),i.Squarespace.CustomAnim=Class.create({initialize:function(d){this.params=d},cancel:function(){},stop:function(){}}),i.augment(i.Squarespace.CustomAnim,i.EventTarget),i.augment(i.Squarespace.CustomAnim,i.Attribute),i.Squarespace.Transitions={STANDARD_DURATION:.3,getTransition:function(d){return!d.el||!d.el._node?new i.Anim:(d.duration||(d.duration=i.Squarespace.Transitions.STANDARD_DURATION),i.Squarespace.Transitions.transitionsByName[d.name](d))},transitionsByName:{fade:function(d){return new i.Anim({node:d.el,to:{opacity:i.Lang.isValue(d.opacity)?d.opacity:d.direction==="in"?1:0},duration:i.Squarespace.Transitions.STANDARD_DURATION,easing:i.Easing.easeOutStrong})},scale:function(d){return new(Class.extend(i.Squarespace.CustomAnim,{run:function(){d.opacity||(d.opacity=1),i.Lang.isValue(d.duration)||(d.duration=i.Squarespace.Transitions.STANDARD_DURATION);var u=this.params.el;this.params.direction==="in"?(u.setStyles({transform:"scale(.95)",opacity:0}),i.later(10,u,u.setStyles,{transitionProperty:"transform, opacity",transitionDuration:d.duration+"s",transitionTimingFunction:"ease-out","backface-visibility":"hidden"}),i.later(20,u,u.setStyles,{transform:"scale(1)",opacity:d.opacity})):(u.setStyles({transform:"scale(1)",opacity:d.opacity}),i.later(10,u,u.setStyles,{transitionProperty:"transform, opacity",transitionDuration:d.duration+"s",transitionTimingFunction:"ease-out",backfaceVisibility:"hidden"}),i.later(20,u,u.setStyles,{transform:"scale(.95)",opacity:0})),i.later(d.duration*1e3+100,this,function(){this.fire("end",{_event:!0})})}}))(d)},none:function(d){return new(Class.extend(i.Squarespace.CustomAnim,{run:function(){this.params.direction==="in"?this.el.setStyle("opacity",1):this.el.setStyle("opacity",0),this.fire("end")}}))(d)}}},i.Squarespace.Effects={bounce:function(d){d.setStyles({transform:"scale(1)"}),i.later(10,d,d.setStyles,{transitionProperty:"transform, opacity",transitionDuration:".1s",transitionTimingFunction:"ease-out",backfaceVisibility:"hidden"}),i.later(20,d,d.setStyles,{transform:"scale(1.1)"}),i.later(100,d,d.setStyles,{transform:"scale(1)"})},focus:function(d){d.setStyles({boxShadow:"0px 0px 0px rgb(20, 170, 255)"}),i.later(10,d,d.setStyles,{transitionProperty:"boxShadow",transitionDuration:".2s",transitionTimingFunction:"ease-out"}),i.later(20,d,d.setStyles,{boxShadow:"0px 0px 10px rgb(20, 170, 255)"}),i.later(200,d,d.setStyles,{boxShadow:null})},blink:function(d){var u=new i.Anim({node:d,to:{opacity:0},duration:.6,easing:i.Easing.easeOutStrong});u.on("end",function(){var s=new i.Anim({node:this.get("node"),to:{opacity:1},duration:.6,easing:i.Easing.easeOutStrong});s.on("end",function(){}),s.run()}),u.run()},shimmy:function(d){d.setStyles({transform:"translateX(0px)"}),i.UA.safari?i.later(10,d,d.setStyles,{webkitTransitionProperty:"-webkit-transform",webkitTransitionDuration:".3s",webkitTransitionTimingFunction:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}):i.later(10,d,d.setStyles,{transitionProperty:"transform",transitionDuration:".3s",transitionTimingFunction:"cubic-bezier(0.175, 0.885, 0.32, 1.275)"}),i.later(20,d,d.setStyles,{transform:"translateX(-33px)"}),i.later(200,d,d.setStyles,{transform:null})}},i.augment(i.Node,Class.create({intersectXY:function(d,u){var s=this.get("region");return s.left<d&&d<s.right&&s.top<u&&u<s.bottom},forceClass:function(d,u){this.toggleClass(d,!!u)},data:function(d){var u=this._node;if(d)for(;u;){if(u.data&&u.className.indexOf(d)!==-1)return u.data;u=u.parentNode}else for(;u;){if(u.data)return u.data;u=u.parentNode}return null},setNodeData:function(d){this._node.data=d}})),i.Squarespace.RelativeTimeDisplay=i.Base.create("RelativeTimeDisplay",i.Plugin.Base,[],{initializer:function(){this.timer=i.later(this.get("interval"),this,this.syncUI,{}
1,!0),this.syncUI()},syncUI:function(){var d=Math.floor((new Date().getTime()-this.get("date").getTime())/1e3);d<60?d===0?this.get("host").setContent((0,a.t)("just now")):this.get("host").setContent((0,a.t)("about {secondsDifference} seconds ago",{secondsDifference:d})):this.get("host").setContent((0,o.default)(this.get("date"),!0))},destructor:function(){this.timer.cancel()}},{NS:"RelativeTimeDisplay",CSS_NAMESPACE:"sqs-action-overlay",ATTRS:{date:{valueFn:function(){return new Date}},interval:{value:5e3}}}),i.Squarespace.PositionAnimator=i.Base.create("PositionAnimator",i.Plugin.Base,[],{hold:function(){this.set("originalTop",this.get("host").get("offsetTop")),this.set("originalLeft",this.get("host").get("offsetLeft")),this.previousPosition=this.get("host").getStyle("position")},release:function(d){var u=this.get("host").get("offsetTop"),s=this.get("host").get("offsetLeft"),f=this.get("baseSpeed")+(d?0:Math.random()*.2),p=d?0:200*Math.random(),v=this.get("originalTop")-u,g=this.get("originalLeft")-s;this.get("host").setStyles({position:"relative",top:v,left:g,transition:"none"});var m=this,b=this.get("host").anim({top:0,left:0},{from:{top:v,left:g},duration:f,end:function(){this.get("node")._node&&(this.get("node").setStyles({position:this.previousPosition,top:null,left:null,transition:null}),m.get("releasedFn")&&m.get("releasedFn")(),m.fire("released"))}});i.later(p,b,b.run)},destructor:function(){}},{NS:"positionAnimator",ATTRS:{originalTop:{},originalLeft:{},releasedFn:{value:!1},baseSpeed:{value:.2}}}),i.Anim.behaviors.translate={set:function(d,u,s,f,p,v,g){var m=g(p,parseInt(s[0],10),parseInt(f[0],10)-parseInt(s[0],10),v),b=g(p,parseInt(s[1],10),parseInt(f[1],10)-parseInt(s[1],10),v);d._node.setStyles({transform:"translate("+m+"px, "+b+"px)"})},get:function(d){return[0,0]}}},"1.0",{requires:["anim","attribute","base","event-custom","node","plugin"]})},565738:function(y,l,e){"use strict";e.r(l);var a=e(752302),n=e.n(a),o=e(231269),t=e.n(o),r=e(638286),i=e.n(r),c=e(825012),d=e(246247),u=e(197957);YUI.add("squarespace-util",function(s){if(s.Squarespace.API_ROOT="/api/",s.Squarespace.REST_API_ROOT="/api/rest/",s.Squarespace.Utils={logoutAndReloadPage:function(){d.default.logout().then(function(){document.location.reload()}).catch(function(m){})},logout:function(){this.LOGGING_OUT||!Static.SQUARESPACE_CONTEXT.authenticatedAccount||(this.LOGGING_OUT=!0,d.default.logout().then(function(){s.Global.fire("squarespace:logout");var m="/";s.config.win.CONFIG_PANEL&&(m=window.CONFIG_PANEL.get("previewFrame").get("url")),document.location.href=["http://",document.location.host,m,"?logout=true"].join(""),s.Squarespace.Utils.removeSharedSSIdentity()}).catch(function(m){console.error(m)}))},getGuid:function(){var m=function(){return((1+Math.random())*65536|0).toString(16).substring(1)};return m()+m()+m()+m()+m()},getBrowserClassName:function(){var m={gecko:"browser-gecko",safari:"browser-safari"},b="";return s.Object.some(m,function(C,A){if(s.UA[A])return b=C,!0}),(0,u.Z)()&&(b+=" ipad-os-thirteen"),b},isCoverPageOnly:s.cached(function(){return s.Object.getValue(Static,"SQUARESPACE_CONTEXT.website.websiteType".split("."))===n().COVER_PAGE}),isParkingPage:s.cached(function(){return s.Object.getValue(Static,"SQUARESPACE_CONTEXT.website.websiteType".split("."))===n().PARKING_PAGE}),isIAP:s.cached(function(){return s.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","siteStatus","value"])===t().RESOLD}
1),isIAPGracePeriod:s.cached(function(){return s.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","siteStatus","value"])===t().RESOLD_GRACE_PERIOD}),isDeveloperModeEnabled:function(){return!!s.Object.getValue(s.config.win,"Static.SQUARESPACE_CONTEXT.website.developerMode".split("."))},isInDamaskFrame:function(){try{return(window.top.Y||window.top.YUI_NOT_YET_LOADED)&&window.top.Y!==s&&(window.frameElement?!window.frameElement.hasAttribute("data-is-visitor-preview"):!0)}catch(m){return!1}},areCookiesEnabled:function(){return s.Lang.isUndefined(this._cookiesEnabled)&&(this._cookiesEnabled="cookie"in document&&(document.cookie.length>0||(document.cookie="test").indexOf.call(document.cookie,"test")>-1)),this._cookiesEnabled},storeSharedSSIdentity:function(){try{var m={identifier:s.Object.getValue(Static,["SQUARESPACE_CONTEXT","website","identifier"])},b=btoa(JSON.stringify(m));i().set("ss_lastid",b,{domain:Static.SQUARESPACE_CONTEXT.appDomain,path:"/"})}catch(C){}},removeSharedSSIdentity:function(){try{i().set("ss_lastid",{domain:Static.SQUARESPACE_CONTEXT.appDomain,expires:new Date(0),path:"/"})}catch(m){}},onPointerAction:function(m,b,C){var A=Array.prototype.slice.call(arguments);return A.splice(1,0,"on"),s.Squarespace.Utils._attachPointerAction.apply(this,A)},_attachPointerAction:function(m,b,C,A){var _=Array.prototype.slice.call(arguments);return _.splice(0,2),_.splice(0,0,"click"),m[b].apply(m,_)}},s.Squarespace.Marketing={trackLanding:function(){var m=s.QueryString.parse(document.location.search.substring(1)),b=["source","campaign","subcampaign","channel","subchannel","refer","variation","mkwid"],C={landing:document.location.href,refer:document.referrer,rk:parseInt(Math.random()*99999999,10)};navigator.language?C.lang=navigator.language.toLowerCase():navigator.browserLanguage&&(C.lang=navigator.browserLanguage.toLowerCase()),self.screen&&(C.screen=screen.width+"x"+screen.height);for(var A=0;A<b.length;++A){var _=b[A];_ in m&&(C[_]=m[_])}var P=new Image(1,1);P.src="/api/track/Track?"+s.QueryString.stringify(C)}},s.Squarespace.Analytics={trackInternal:function(m,b,C){(0,c.default)(m,b).then(C)}},s.namespace("Squarespace.Lang").isPercentage=function(m){return s.Lang.isString(m)&&m.search("%")>0},s.namespace("Squarespace.Lang").sub=function(m,b){var C=/\{\s*([^|}]+?)\s*(?:\|([^}]*))?\s*\}/g;return m.replace?m.replace(C,function(A,_){var P=s.Object.getValue(b,_.split("."));return s.Lang.isUndefined(P)?A:P}):m},!!s.Base){if(s.Color){var f=s.Color.toRGB;s.Color.re_RGBA=/^rgba\(([0-9]+)\s*,\s*([0-9]+)\s*,\s*([0-9]+),\s*(\d+(?:\.\d+)?)\)$/i,s.Color.toRGB=function(m){return s.Color.re_RGBA.exec(m)?"rgb("+RegExp.$1+","+RegExp.$2+","+RegExp.$3+")":f(m)}}s.SQSAnim=s.Base.create("SQSAnim",s.Anim,[],{run:function(){return this.get("destroyed")||this.get("node")._node===null||!this.get("node").inDoc()?(this.fire("end"),this):s.Anim.prototype.run.call(this)}});var p=function(m,b,C,A){return m/=A/2,m<1?C/2*m*m*m+b:(m-=2,C/2*(m*m*m+2)+b)};s.augment(s.Node,Class.create({anim:function(m,b,C){return b=s.merge({node:this,duration:.5,easing:p,to:m},b),this.activeAnim&&this.activeAnim.stop(!0),this.activeAnim=new s.SQSAnim(b),this.activeAnim.on("end",function(){delete this.activeAnim},this),b.end&&this.activeAnim.on("end",b.end,C||b.context),b.start&&this.activeAnim.on("start",b.start,C||b.context),this.nodedestroynotifier||this.plug(s.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.activeAnim&&this.activeAnim.stop(!0)},context:this}),this.activeAnim},getAdjustedDimensions:function(m){var b=this;m||(m={}),m.scale||(m.scale="cover"),m.align||(m.align="center");var C=b.get("parentNode"),A=this.getAttribute("data-image-dimensions"),_,P;A?(A=A.split("x"),A={width:parseInt(A[0],10),height:parseInt(A[1],10)},_=A.width,P=A.height):(!b.getData("width")&&!b.getData("height")&&(b.setData("width",m&&m.width?parseInt(m.width,10):b.getAttribute("width")||b.get("offsetWidth")),b.setData("height",m&&m.height?parseInt(m.height,10):b.getAttribute("height")||b.get("offsetHeight"))),s.Squarespace.Lang.isPercentage(b.getData("width"))?_=C.get("offsetWidth")*(parseInt(b.getData("width"),10)/100):_=parseInt(b.getData("width"),10),s.Squarespace.Lang.isPercentage(b.getData("height"))?P=C.get("offsetHeight")*(parseInt(b.getData("height"),10)/100):P=parseInt(b.getData("height"),10));var T=m.containerWidth||C.get("offsetWidth")-(C.get("offsetWidth")-C.get("clientWidth")),x=m.containerHeight||C.get("offsetHeight")-(C.get("offsetHeight")-C.get("clientHeight")),M=_/P,U=T/x,j,$,G;m.scale&&C.getStyle("overflow")!=="hidden"&&C.setStyle("overflow","hidden"),m.sizeO
1nly?G=T/_:m.scale==="contain"?G=M>U?T/_:x/P:G=M>U?x/P:T/_;var J=_,ie=P;return m.scale==="contain"?(J=_*G,ie=P*G,j=ie<x?(x-ie)/2:0,$=J<T?(T-J)/2:0,m.align.indexOf("left")!==-1?$=0:m.align.indexOf("right")!==-1&&($=T-J),m.align.indexOf("top")!==-1?j=0:m.align.indexOf("bottom")!==-1&&(j=x-ie),J-=this.get("offsetWidth")-this.get("clientWidth"),ie-=this.get("offsetHeight")-this.get("clientHeight")):m.scale==="cover"&&(J=_*G,ie=P*G,j=ie>x?(ie-x)/-2:0,$=J>T?(J-T)/-2:0,m.focalPoint&&($=Math.min(Math.max(T/2-J*m.focalPoint[0],T-J),0),j=Math.min(Math.max(x/2-ie*m.focalPoint[1],x-ie),0))),{top:j,left:$,width:J,height:ie}},resizeToParent:function(m){var b=this.getAdjustedDimensions(m),C=this.getStyle("position");if(m.sizeOnly){this.setStyles({width:b.width,height:b.height});var A=this.one("embed");if(A&&this.one("embed").setStyles({width:b.width,height:b.height}),this.test("iframe")){var _=this.getAttribute("src");if(_)if(_.indexOf("?")!==-1){var P=_.split("?");P[1].indexOf("wmode=transparent")===-1&&this.setAttribute("src",P[0]+"?wmode=transparent&"+P[1])}else this.setAttribute("src",_+"?wmode=transparent")}A&&A.getAttribute("wmode")!=="transparent"&&this.one("embed").setAttribute("wmode","transparent")}else{var T=5;this.setStyles({position:C!=="relative"&&C!=="absolute"?"relative":C,top:b.top.toFixed(T),left:b.left.toFixed(T),width:b.width.toFixed(T),height:b.height.toFixed(T)})}},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 v=["Webkit","Moz","O","ms"],g=["transition","transitionProperty","transitionDuration","transitionTimingFunction","transitionDelay","backfaceVisibility","userSelect","borderBottomLeftRadius","borderBottomRightRadius"];s.Array.each(v,function(m){s.Array.each(g,function(b){var C=m+b.charAt(0).toUpperCase()+b.slice(1);C in s.config.doc.documentElement.style&&(s.DOM.CUSTOM_STYLES[b]={set:function(A,_,P){P[C]=_,P[b]=_},get:function(A,_){s.DOM.getComputedStyle(A,C)}})})}),s.IO.prototype._destroy=function(m){s.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"]})},373315:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a),o=e(202361),t=e.n(o);YUI.add("squarespace-video-loader",function(r){r.namespace("Squarespace"),r.Squarespace.VideoLoader=r.Base.create("VideoLoader",r.Plugin.Base,[],{initializer:function(){var i=this.get("host");i.plug(r.Squarespace.NodeDestroyNotifier,{onDestroy:function(){this.destroy()},context:this}),this._setVariables(),this._resizeEmitter=new r.Squarespace.ResizeEmitter({timeout:1e3}),this._onFullscreenChangeHandler=this.handleFullScreenChange.bind(this),this._modeClass="video-"+this.get("mode"),i.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(i){r.config.doc.removeEventListener(i,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 i=this.get("host"),c=this.get("mode");i.removeClass(this._modeClass),this._modeClass="video-"+c,i.addClass(this._modeClass);var d,u;if(this._intrinsic){var s=this.getWidth(),f=this.getHeight(),p;s&&f?p=f/s*100:p=56.3,d=this._getOrCreateNode(".intrinsic",'<div class="intrinsic"></div>'),u=this._getOrCreateNode(".intrinsic-inner",'<div class="intrinsic-inner"></div>'),u.setStyle("paddingBottom",p+"%");var v=i.get("parentNode"),g=v.getComputedStyle("position");c==="fit"?(i.setStyles(i.getAdjustedDimensions({scale:"contain",width:this.getWidth(),height:this.getHeight()})),g==="static"&&v.setStyle("position","relative")):c==="fill"&&g==="static"&&v.setStyle("position","relative"),this.get("overlay")?(this.get("overlay").wrap(u),u.wrap(d)):(d.appendChild(u),i.appendChild(d))}var m=this.get("overlay");if(m){m.setStyle("opacity",1);var b=m.one(".sqs-video-opaque");b||(b=r.Node.create('<div class="sqs-video-opaque"></div>'),m.appendChild(b));var C=m.one(".sqs-video-icon");C||(C=r.Node.create('<div class="sqs-video-icon"></div>'),m.appendChild(C)),this._setPlayButtonAttributes(this.get("inactive")),this.after("inactiveChange",function(_){this._setPlayButtonAttributes(_.newVal)},this);var A=m.one("img");A&&(A.fire("refresh"),A.plug(r.Squarespace.Loader2,{load:!0,mode:"fill"}),A.fire("refresh"))}else d?u.appendChild(this.get("video")):i.appendChild(this.get("video")),this._set("showingVideo",!0);this._cacheOverlayWrapperHeight(),this.fire("loaded"),this._loaded=!0}},_setPlayButtonAttributes:function(i){var c=this.get("overlay").one(".sqs-video-icon");i?(c.removeAttribute("tabindex"),c.removeAttribute("role"),c.removeAttribute("aria-label")):(c.setAttribute("tabindex",0),c.setAttribute("role","button"),c.setAttribute("aria-label",(0,a.t)("Play")))},_cacheOverlayWrapperHeight:function(){var i=this.get("host").get("parentNode"),c=i.get("offsetHeight");i.setData("cached-height",c)},_getOrCreateNode:function(i,c){var d=this.get("host").one(i);return d||r.Node.create(c)},unload:function(){var i=this.get("host");i.setStyles({top:null}),this.showOverlay(),this.get("overlay")&&this.get("overlay").remove(),this.get("video").remove(),this._intrinsic&&i.one(".intrinsic").remove(!0),this.get("overlay")&&(this.get("overlay").setStyle("opacity",0),i.appendChild(this.get("overlay"))),this._setIntrinsic(),this._loaded=!1},reload:function(){this.unload(),this.load()},handleFullScreenChange:function(i){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(i){var c=i.keyCode===13,d=i.keyCode===32;(c||d)&&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 i=this.get("overlay").one("img");i&&i.fire("refresh")}},this),this._resizeEmitter.on("resize:end",function(){this.get("mode")==="fit"&&!this.isFullScreen&&(this._cacheOverlayWrapperHeight(),this._resetFitTop())}
1,this),this.prefixedFullScreenEvents.forEach(function(i){r.config.doc.addEventListener(i,this._onFullscreenChangeHandler)}.bind(this)),r.Global.on("tweak:aftershow",function(){this.get("mode")==="fit"&&this._resetFitTop()},this),r.Global.after("tweak:afterclose",function(){this.get("mode")==="fit"&&setTimeout(r.bind(function(){this._resetFitTop()},this),1e3)},this)},showVideo:function(){if(!(this.get("showingVideo")||!this.get("overlay"))){this._set("showingVideo",!0),this._showOverlayOnOthers();var i=this.get("video");i.setStyle("opacity",0),this._intrinsic?this.get("host").one(".intrinsic-inner").appendChild(i):this.get("host").appendChild(i);var c=this.get("overlay"),d=c.one(".sqs-video-opaque");d.anim({opacity:1},{duration:1,start:function(){c.one(".sqs-video-icon").setStyle("visibility","hidden")},end:function(){this.get("video").setStyle("opacity",1),this.get("showingVideo")&&c.setStyle("visibility","hidden"),c.hasClass("no-thumb")?d.setStyle("opacity",1):d.setStyle("opacity",0),c.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 i=this.get("video");i.anim({opacity:0},{duration:.3,start:function(){this.get("overlay").anim({opacity:1},{duration:.3}).run()},end:function(){i.remove()},context:this}).run()}},refreshVideo:function(){if(this.get("showingVideo")){var i=this.get("video");if(this.get("type")==="object"){i.remove();var c=this.get("host");this._intrinsic?c.one(".intrinsic-inner").appendChild(i):c.appendChild(i)}else this.get("type")==="iframe"&&i.setAttribute("src",i.getAttribute("src"))}},play:function(){if(this.get("apiFriendly")){var i=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":i.postMessage('{"method": "play", "value": "true"}',"*");break;case"YouTube":i.postMessage('{"event":"command","func":"playVideo","args":""}',"*");break}}},pause:function(){if(this.get("apiFriendly")){var i=this.get("video").getDOMNode().contentWindow;switch(this._providerName){case"Vimeo":i.postMessage('{"method": "pause", "value": "true"}',"*");break;case"YouTube":i.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 i=this.get("host");this._setIntrinsic(),this._set("overlay",i.one(".sqs-video-overlay"));var c=r.Node.create(i.getAttribute("data-html")),d=r.Node.create('<div class="sqs-video-invalid-wrapper"><div class="state-message">'+(0,a.t)("Custom featured images only available with embedded videos. Go back into embed settings to turn off featured images.")+"</div></div>"),u=r.Node.create('<div class="sqs-video-invalid-wrapper"><div class="state-message">'+(0,a.t)("Invalid video embed.")+"</div></div>"),s;c?c.test("iframe")?(s=c,this._set("type","iframe")):c.test("object")?(s=c,this._set("type","object")):c.one("iframe")?(s=c.one("iframe"),this._set("type","iframe")):c.one("object")?c.one("embed")?(s=c.one("object"),this._set("type","object")):(s=u,this._set("type","invali
1d")):this.get("overlay")?(s=d,this._set("type","invalid")):(s=u,this._set("type","invalid")):(s=u,this._set("type","invalid")),this._set("video",s);var f=i.getAttribute("data-provider-name");if((!f||f==="")&&this.get("type")!=="invalid"){var p=this.get("video").getAttribute("src");p.match("player.vimeo.com")?f="Vimeo":p.match("www.youtube.com")&&(f="YouTube")}this._providerName=f,this.isFullScreen=r.config.doc.fullScreen||r.config.doc.mozFullScreen||r.config.doc.webkitIsFullScreen,this.prefixedFullScreenEvents=["fullscreenchange","webkitfullscreenchange","mozfullscreenchange","MSFullscreenChange"],this.get("type")==="invalid"?i.addClass("video-invalid"):(this._augmentVideoSrc(),i.removeClass("video-invalid"))},_setIntrinsic:function(){this._intrinsic=this.get("mode")==="none"||this.get("mode")==="fit"},_resetFitTop:function(){var i=this.get("host"),c=i.get("parentNode").get("offsetHeight");c>r.config.win.innerHeight&&(c=i.get("parentNode").getData("cached-height")||r.config.win.innerHeight);var d=i.one(".intrinsic");d.setStyle("top",null);var u=d.get("offsetHeight");i.setStyle("top",(c-u)/2+"px")},_augmentVideoSrc:function(){var i=this.get("type"),c=this.get("video"),d=i==="iframe"?c:c.one("embed")||c,u=d.test("object")?"data":"src",s=d.getAttribute(u),f=s.split("?"),p=f[0],v=f[1]||"",g=r.QueryString.parse(v),m=this._providerName;(this.get("overlay")||this.get("forceAutoplay"))&&(m===(0,a.t)("Wistia, Inc.")?g.autoPlay="true":m==="Animoto"?g.options="autostart":g.autoplay=1);var b=["Vimeo","YouTube","Wistia, Inc.","Animoto"];if((i==="object"||b.indexOf(m)!==-1)&&o.isSecure()&&(p=o.securifyURL(p)),p=p.replace("http:////","//"),p=p.replace("https:////","//"),i==="iframe")switch(m){case"YouTube":g.enablejsapi=1,this._set("apiFriendly",!0);break}s=p+"?"+r.QueryString.stringify(g),d.setAttribute(u,s)},_showOverlayOnOthers:function(){r.all(".sqs-video-wrapper").each(function(i){i!==this.get("host")&&i.videoloader.showOverlay()},this)}},{NS:"videoloader",ATTRS:{apiFriendly:{value:!1,readOnly:!0},inactive:{value:!1},load:{value:!0},mode:{value:"none",validator:function(i){return["none","fit","fill",null].indexOf(i)!==-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"]})},925534:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a);YUI.add("squarespace-widgets-alert",function(o){o.namespace("Squarespace.Widgets");var t=o.Squarespace.Widgets.Alert=o.Base.create("alert",o.Squarespace.Widgets.Confirmation,[],{},{CSS_PREFIX:"sqs-widgets-confirmation",TYPE:o.Squarespace.Widgets.Confirmation.TYPE,ANCHOR:o.Squarespace.Widgets.Confirmation.ANCHOR,TEMPLATE:o.Squarespace.Widgets.Confirmation.TEMPLATE,show:function(r){return new t(r)},ATTRS:{className:{value:"alert"},style:{value:o.Squarespace.Widgets.Confirmation.TYPE.CONFIRM_ONLY},"strings.confirm":{value:(0,a.t)("Okay")}}})},"1.0",{requires:["base","squarespace-widgets-confirmation"]})},501960:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a),o=e(798589),t=e(384696);YUI.add("squarespace-widgets-confirmation",function(r){r.namespace("Squarespace.Widgets");var i={CONFIRM_OR_REJECT:0,CONFIRM_OR_CANCEL:1,CONFIRM_ONLY:2,NO_BUTTONS:3},c=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 d=["show","hide","confirm","reject","cancel"];r.Array.each(d,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(){c.superclass.renderUI.call(this);var d=this.get("zIndex"),u=this.get("boundingBox"),s=this.get("contentBox"),f=this.constructor.TEMPLATE;r.Lang.isString(f)&&s.prepend(f),u.addClass(this.get("className")),r.Lang.isValue(d)&&u.setStyle("z-index",d),s.addClass("clear"),s.one(".title").setContent(this.get("strings.title"));var p=r.guid();s.one(".title").setAttribute("id",p),s.one(".message").setContent(this.get("strings.message"));var v=r.guid();s.one(".message").setAttribute("id",v),s.setAttribute("role","dialog"),s.setAttribute("aria-labelledby",p+" "+v),this._buttonsNode=s.one(".buttons"),this._renderButtons(),this.get("visible")&&this.show()},bindUI:function(){var d=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",d("confirm"),this),this._confirmButton.on("keydown",u("confirm"),this)),r.Lang.isValue(this._cancelButton)&&(this._cancelButton.on("click",d("cancel"),this),this._cancelButton.on("keydown",u("cancel"),this)),r.Lang.isValue(this._rejectButton)&&(this._rejectButton.on("click",d("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 s=this.get("hideAfterTime");r.Lang.isNumber(s)&&this._registerTimer(r.later(s,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(d){this.fire(d)},_renderButtons:function(){var d=this.get("style");d!==i.NO_BUTTONS&&(d!==i.CONFIRM_ONLY&&(this._cancelButton=this._buttonsNode.appendChild(this._createButton("cancel"))),d===i.CONFIRM_OR_REJECT&&(this._rejectButton=this._buttonsNode.appendChild(this._createButton("reject"))),this._confirmButton=this._buttonsNode.appendChild(this._createButton("confirm")))},_createButton:function(d){var u="div";
1return r.Node.create(r.Lang.sub('<{element} role="button" tabindex="0" class="confirmation-button no-frame {type}">{sub1}</{element}>',{type:d,sub1:this.get("strings."+d),element:u}))},_updatePosition:function(){var d=this.get("boundingBox"),u=this._posHelper.fetch(d,this.get("anchor"));d.setStyles(u)},_renderOverlay:function(){var d=this.get("boundingBox"),u=this.get("zIndex")||parseInt(d.getStyle("z-index"),10);this._overlay=d.insertBefore("<div></div>",d),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(s){s.halt(),this._handleResponse("cancel")},this)},show:function(){r.Lang.isValue(this._overlay)||this._renderOverlay();var d=this.get("boundingBox");this.set("visible",!0),d.setStyle("width",this.get("width")),this._updatePosition(),d.addClass("shown"),this._revertFocusContainment=(0,t.containFocus)({container:d.getDOMNode(),root:r.one("body").getDOMNode(),setFocusOnContain:this._confirmButton&&this._confirmButton.getDOMNode()||!0}),this.fire("show")},hide:function(d){var u=function(p,v){var g=p.addClass;v&&(g=p.removeClass),r.bind(g,p,"hiding")(),r.Lang.isValue(r.UA.mobile)&&r.bind(g,p,"mobile")()},s=this.get("boundingBox"),f=function(){r.Lang.isValue(s.getDOMNode())&&s.hasClass("hiding")&&(u(s,!0),this.set("visible",!1),this.fire("hide"))};r.Lang.isBoolean(d)&&d?f.call(this):(u(s),s.once(["transitionend","oTransitionEnd","otransitionend","webkitTransitionEnd"],f,this),this._registerTimer(r.later(600,this,f)))},_hideAfterTime:function(){this.hide()},_registerTimer:function(d){this._timers.push(d)}},{CSS_PREFIX:"sqs-widgets-confirmation",TEMPLATE:'<div class="title"></div><div class="message"></div><div class="buttons"></div>',TYPE:i,ANCHOR:r.Squarespace.Widgets.PositionHelper.ANCHOR,show:function(d){return new c(d)},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(d){return r.Lang.isValue(d)?d:r.Lang.isValue(r.UA.mobile)||o.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 d=r.one(r.Squarespace.Damask.ContextGlobals.fromTop("Y.config.doc.body"));return r.Lang.isValue(d)?d:r.one(r.config.doc.body)}},style:{value:i.CONFIRM_OR_CANCEL,validator:r.Lang.isNumber},showOverlay:{value:!1,validator:r.Lang.isBoolean},strings:{value:{title:"",message:"",confirm:(0,a.t)("Confirm"),cancel:(0,a.t)("Cancel"),reject:(0,a.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"]})},208881: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"]})},313936:function(){YUI.add("squarespace-widgets-information",function(y){y.namespace("Squarespace.Widgets");var l=y.Squarespace.Widgets.Information=y.Base.create("information",y.Squarespace.Widgets.Confirmation,[],{_hideAfterTime:function(){this.hide(),this._handleResponse("confirm")},_renderOverlay:function(){this.get("showOverlay")&&l.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 l(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"]})},546241: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('<div class="sqs-lightbox-overlay"></div>'),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 l=this._anim(this._overlayEl,{opacity:this.get("opacity")},{duration:this.get("speed")});l.on("end",function(){this.fire("shown")},this),l.run()},overlayHideAndDestroy:function(){this.once("hidden",this.destroy),this._hide()},_hide:function(){this.fire("hide");var l=this._anim(this._overlayEl,{opacity:0}
1,{duration:this.get("speed")});l.on("end",function(){this.fire("hidden")},this),this.get("destroyed")?this.fire("hidden"):l.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"]})},402079:function(y,l,e){"use strict";e.r(l);var a=e(769452),n=e.n(a),o=e(614465),t=e.n(o),r=e(102577),i=e.n(r),c=e(634796),d=e(384696);function u(s,f){var p=s._node,v=f._node,g=p.clientWidth,m=p.clientHeight,b=g/m,C=v.getAttribute("width"),A=v.getAttribute("height"),_=C/A,P=b>_?"height":"width";if(f.setStyle("position","relative"),f.setStyle("object-fit","contain"),P==="height"){var T=m*_;f.setStyle("width",T+"px"),f.setStyle("height",m+"px"),f.setStyle("left",g/2-T/2+"px"),f.setStyle("top","0px")}else{var x=g/_;f.setStyle("height",x+"px"),f.setStyle("width",g+"px"),f.setStyle("left","0px"),f.setStyle("top",m/2-x/2+"px")}var M=100*(g/Y.config.win.innerWidth),U=100*(m/Y.config.win.innerHeight);v.sizes="min("+M+"vw,"+U*_+"vh)"}YUI.add("squarespace-widgets-lightbox2",function(s){s.namespace("Squarespace.Widgets"),s.Squarespace.Widgets.Lightbox2=s.Squarespace.Lightbox2=s.Base.create("Lightbox2",s.Squarespace.Widgets.Gismo,[],{initializer:function(){s.config.win.ACTIVE_LIGHTBOX=this;var f=this.get("contentBox");f.set("role","dialog"),f.set("aria-label",this.get("title")),this._overlay=new s.Squarespace.Lightbox2Overlay({theme:this.get("theme")}),this._overlay.on("hide",this.hideAndDestroy,this),this.bMobile=s.SQS.Gallery.Manager.isMobile(),this.requestUpdateHeightAndRefresh=(0,c.default)(this.updateHeightAndRefresh.bind(this))},destructor:function(){this._flushEvents(),s.Lang.isValue(this._slideshow)&&(this._slideshow.destroy(),this._slideshow=null),this._overlay.destroy(),this._overlay=null,s.config.win.ACTIVE_LIGHTBOX=null,this.crossBrowserResizeHandle&&i().removeListener(this.crossBrowserResizeHandle)},renderUI:function(){s.Squarespace.Lightbox2.superclass.renderUI.call(this),s.one("body").addClass("sqs-lightbox-open");var f=this.get("contentBox");this._overlay.render(f);var p=(0,a.t)("Close");if(this._closeEl=s.Node.create('<a class="sqs-lightbox-close" role="button" tabindex="0" aria-label="'+p+'"></a>').appendTo(f).hide(),this.get("set").length>1){if(!this.bMobile&&this.get("controls.previous")){var v=(0,a.t)("Previous Item");this._previousEl=s.Node.create('<a class="sqs-lightbox-previous" role="button" tabindex="0" aria-label="'+v+'"></a>'),f.appendChild(this._previousEl)}if(!this.bMobile&&this.get("controls.next")){var g=(0,a.t)("Next Item");this._nextEl=s.Node.create('<a class="sqs-lightbox-next" role="button" tabindex="0" aria-label="'+g+'"></a>'),f.appendChild(this._nextEl)}}else this.get("set").length||this.set("set",[{content:this.get("content"),meta:this.get("meta")}]);if(this._slideshow=this.createSlideshow(f),this._lightboxContentEl=this._slideshow.get("container"),this.bMobile){var m=(0,a.t)("Toggle Caption");this._metaTriggerEl=s.Node.create('<a class="sqs-lightbox-meta-trigger" role="button" tabindex="0" aria-label="'+m+'">&bull;</a>').appendTo(f)}this._lightboxContentEl.setStyles({opacity:1}),this._overlay.once("shown",function(){if(this.ignoreBodyClicks=!0,s.Squarespace.EscManager.addTarget(this),this._lightboxContentEl.show(),this._closeEl&&this._closeEl.show(),this._slideshow){var b=this._slideshow.get("slides").item(this._slideshow.get("currentIndex")).one(".sqs-video-wrapper");b&&b.videoloader.showVideo()}this.revertFocusContainment=(0,d.containFocus)({container:f._node})},this),f.plug(s.Squarespace.Plugin.ScrollLock)},bindClickAndKeyDownEvents:function(f,p,v){this._event(f.on("click",p,this),v),this._event(f.on("keydown",function(g){(g.keyCode===13||g.keyCode===32)&&p.call(this,g)},this),v)},bindUI:function(){if(s.Squarespace.Lightbox2.superclass.bindUI.call(this),this._slideshow.after("currentIndexChange",s.bind(function(v){this.set("currentSetIndex",v.newVal),this.syncUI()},this)),s.config.win.orientation!==void 0&&this._event(s.one(s.config.win).on("orientationchange",this.requestUpdateHeightAndRefresh,this)),this._closeEl&&this.bindClickAndKeyDownEvents(this._closeEl,function(v){v.halt(),this.hideAndDestroy(!0)}),this._metaTriggerEl&&this.bindClickAndKeyDownEvents(this._metaTriggerEl,function(){this.toggleMeta()},"meta-trigger"),this._previousEl){this.bindClickAndKeyDownEvents(this._previousEl,function(v){v.halt(),this.previous()},"previous-click");var f=s.throttle(s.bind(this.previous,this),200);this._event(s.on("key",function(v){v.halt(),f()}
1,s.config.win,"down:37",this),"keyboard")}if(this._nextEl){this.bindClickAndKeyDownEvents(this._nextEl,function(v){v.halt(),this.next()},"next-click");var p=s.throttle(s.bind(this.next,this),200);this._event(s.on("key",function(v){v.halt(),p()},s.config.win,"down:39",this),"keyboard"),this.bMobile||this.setupNavigationFade()}this.isMobile||this._event(this.get("contentBox").on("click",this.onContentBoxClick,this)),this._event(s.on("transition:scroll:tapped",function(v){this.onContentBoxClick(v.touchEvent)},this)),this.crossBrowserResizeHandle=i().addListener(this.requestUpdateHeightAndRefresh.bind(this))},syncUI:function(){var f=t()(s.config.doc).scrollTop;this.get("contentBox").setStyles({top:f,height:s.config.win.innerHeight});var p=this._slideshow._currentSlide(),v=p.one(".sqs-lightbox-meta")||this.createMetaEl(p);if(v)if(s.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.show(),this.bMobile)v.appendTo(p),v.setStyles({bottom:this.bMetaEnabled?0:"-5000px",left:0,right:0}),v.addClass("overlay-description-visible");else{var g=p.one(".sqs-lightbox-padder").get("children").item(0);v.setStyles({bottom:parseInt(g.getStyle("top"),10)-1+"px",left:g.getStyle("left"),right:parseInt(g.getStyle("left"),10)-1+"px"})}else s.Lang.isValue(this._metaTriggerEl)&&this._metaTriggerEl.hide()},updateHeightAndRefresh:function(){this.syncUI(),this._slideshow.refresh()},onContentBoxClick:function(f){if(!f.target.ancestor("a",!0)){if(f.halt(),f.target.ancestor(".sqs-video-wrapper")){f.target.ancestor(".sqs-video-wrapper").videoloader.showVideo();return}if(!this.bMobile){var p=s.one("body").get("winWidth"),v=s.one("body").get("winHeight"),g=.02;if(f.clientX>p*g&&f.clientX<p*(1-g)&&f.clientY>v*g&&f.clientY<v*(1-g)){if(f.clientX>=p/2&&this._nextEl){this.next();return}else if(f.clientX<s.one("body").get("winWidth")/2&&this._previousEl){this.previous();return}}}if(f.target.ancestor("img",!0))return;this.hideAndDestroy(!0)}},previous:function(){this._slideshow.previousSlide()},next:function(){this._slideshow.nextSlide()},close:function(){this.hideAndDestroy()},toggleMeta:function(){this.get("contentBox").all(".sqs-lightbox-meta").each(s.bind(function(f){this.bMetaEnabled=parseInt(f.getStyle("bottom"),10)===0,this._anim(f,{bottom:this.bMetaEnabled?"-5000px":"0"},{duration:this.get("speed")}).run(),this.bMetaEnabled=!this.bMetaEnabled},this))},hideAndDestroy:function(f){s.Lang.isBoolean(f)&&f?this._overlay.overlayHideAndDestroy():(this.once("hidden",this.destroy),this.hide()),s.one("body").removeClass("sqs-lightbox-open"),this.revertFocusContainment&&this.revertFocusContainment(),this.get("historyHash")&&this._slideshow.set("currentIndex",null)},hide:function(){var f=this.get("speed"),p;this.get("contentBox").setStyles({transition:"opacity "+f+"s ease",zIndex:889,opacity:0}),p=s.later(f*1e3,this,function(){s.Squarespace.EscManager.removeTarget(this),this.fire("hidden"),p.cancel(),p=null})},setupNavigationFade:function(){var f,p=function(){f&&f.cancel()},v=function(g){p(),g&&g.inViewportRegion()&&(g.addClass("mouseover").siblings().removeClass("mouseover"),f=s.later(500,this,function(){g&&g.inViewportRegion()&&g.removeClass("mouseover")}))};this._event(this._nextEl.on("mouseenter",function(){p()}),"nav-next-onmouse"),this._event(this._previousEl.on("mouseenter",function(){p()}),"nav-prev-onmouse"),this._event(this._lightboxContentEl.on("mousemove",s.bind(function(g){g.clientX<s.one("body").get("winWidth")/2?v(this._previousEl):v(this._nextEl)},this)),"container-hovering")},createSlideshow:function(f){for(var p=s.Node.create('<div class="sqs-lightbox-slideshow"></div>').appendTo(f),v=this.get("set"),g=0;g<v.length;g++){var m=s.Node.create('<div class="sqs-lightbox-slide"></div>').appendTo(p),b=s.Node.create('<div class="sqs-lightbox-padder"></div>').appendTo(m),C=s.one(v[g].content.cloneNode(!0)).appendTo(b).setAttribute("data-image-stretch","false").setStyle("opacity",null).setStyle("visibility","visible").removeClass("video-fill");C.getAttribute("data-loader")&&u(b,C);var A=v[g].content.ancestor();
1this.get("historyHash")&&A&&(A.getAttribute("data-slide-url")&&m.setAttribute("data-slide-url",A.getAttribute("data-slide-url")),A.getAttribute("data-slide-id")&&m.setAttribute("data-slide-id",A.getAttribute("data-slide-id"))),C.all("iframe").remove()}var _=new s.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:s.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 _},createMetaEl:function(f){f=f.one(".sqs-lightbox-padder");var p=this.getCurrentElMeta();if(p){var v=s.Node.create('<div class="sqs-lightbox-meta"></div>');return v.appendChild(p),f.appendChild(v),this.bMobile||(this._event(f.one(":first-child").on("mouseenter",function(){v.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(f.one(":first-child").on("mouseleave",function(){v.removeClass("overlay-description-visible")},this),"meta-hovering"),this._event(v.on("mouseenter",function(){v.addClass("overlay-description-visible")},this),"meta-hovering"),this._event(v.on("mouseleave",function(){v.removeClass("overlay-description-visible")},this),"meta-hovering")),v}},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,a.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"]})},569015:function(){YUI.add("squarespace-widgets-position-helper",function(y){y.namespace("Squarespace.Widgets");var l=20;function e(s,f,p,v){var g;try{g=y.Squarespace.Damask.ContextGlobals.relative(v,"Y")}catch(_){g=y}var m=g.DOM.viewportRegion(),b=m.width,C=m.height,A={x:p,y:p};return s.x+f.width>=b&&(s.x=b-f.width-p),s.x<=A.x&&(s.x=A.x),s.y+f.height>=C&&(s.y=C-f.height-p),s.y<=A.y&&(s.y=A.y),s}function a(s,f,p){var v=s.get("className").split(" ").map(function(C){return"."+C}).join(""),g=y.all(v).size(),m=p;if(g===1)return m;var b;switch(f){case"top":case"bottom":b=s.get("offsetHeight");break;case"left":case"right":b=s.get("offsetWidth");break}return m=b*(g-1)+p*g,m}var n=function(s){var f={x:y.Squarespace.Mouse.client.lastX,y:y.Squarespace.Mouse.client.lastY},p={width:s.get("offsetWidth"),height:s.get("offsetHeight")},v=e({x:f.x-Math.floor(p.width/2),y:f.y-Math.floor(p.height/2)},p,this.padding,s);return{position:"fixed",top:v.y,left:v.x}},o=function(s){return{position:"fixed",top:a(s,"top",this.padding),left:this.padding}},t=function(s){return{position:"fixed",top:a(s,"top",this.padding),right:this.padding}},r=function(s){return{position:"fixed",bottom:a(s,"bottom",this.padding),left:this.padding}},i=function(s){return{position:"fixed",bottom:a(s,"bottom",this.padding),right:this.padding}},c=function(s,f){if(!y.Lang.isValue(f))return n(s);var p=f.getX()+f.get("offsetWidth")+this.padding,v={width:s.get("offsetWidth"),height:s.get("offsetHeight")},g=e({x:p,y:f.getY()},v,this.padding,s);return{top:g.y,left:g.x}},d=function(s){var f={x:Math.floor(y.DOM.winWidth()/2),y:Math.floor(y.DOM.winHeight()/2)},p={width:Math.floor(s.get("offsetWidth")/2),height:Math.floor(s.get("offsetHeight")/2)},v=e({x:f.x-p.width,y:f.y-p.height},p,this.padding,s);
1return{position:"fixed",top:v.y,left:v.x}},u={MOUSE:n,TOP_LEFT:o,TOP_RIGHT:t,BOTTOM_LEFT:r,BOTTOM_RIGHT:i,ELEMENT:c,CENTER:d};y.Squarespace.Widgets.PositionHelper=function(s,f){return{padding:f||l,fetch:function(p,v){return s.call(this,p,v)}}},y.Squarespace.Widgets.PositionHelper.ANCHOR=u},"1.0",{requires:["dom-base","squarespace-damask-context-globals","squarespace-ui-base"]})},999862:function(){window.YUI_CONFIG={base:"/universal/yui3/3.17.2/",allowRollup:!1,combine:!1,fetchCSS:!1,bootstrap:!1},SQUARESPACE_ROLLUPS=window.SQUARESPACE_ROLLUPS||{}},934023: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"}},110037: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!","491
1a80eddb896f15e739ee582e456dd2":"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":"[email protected]","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:"Backgroun
1d 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",d67a7a90682d75e37f3c27ee21d026b0:"Copy",e38848bae5b39dad125df53483b3877e:"Copied",ef75c1a57b1d4a43d94f68047e5ff3c4:"Clear","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",a80b5618f581876697eb5288659d839a:"This page available only site members",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",b93679c1ac66c43fec049
10f125e9db13:"Script","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif",a7e614da684a289259a757da5b11ffd5:"Mono","178ebbe3d6ece8c96fe884badf3c80fa":"Other","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide",ad6805ba5b472b9af26e2d3154e20dae:"Typekit Kit",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:"[email protected]","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 protected]",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}","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",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",e48f2a5f37c31bee87701f0c57e3ba93:"Sort By","46748b0874ac29d6af48bcf1e1f45708":"Sort by column header",d5867f1ab51dabe19cd38a34a4dade09:"Unsorted"}},19470: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}"}},481708:function(y){y.exports={"25715d36c9ca9d059bbf11ff729612c6":"{priceString} every month for 1 year","2c250d0489f32d561c726074e98d9c64":"{priceString} every year","42859f6128248121c17b306fa16971c7":"{priceString} every {billingPeriodValue} months for {durationValue} months","457a2a91ddb30a52adb7165b957b88ff":"{priceString} every {billingPeriodValue} weeks","46b4f499eec735aa2c2d7b58f1e7a1d5":"Unavailable","4706d1dfe81fa89aad3b4b7c5616dc84":"{priceString} every {billingPeriodValue} weeks for {durationValue} years","4aa38087a0cae1f21d31e48dd975d905":"{priceString} every week for {durationValue} years","4b3e1cb6e224ba0e35bb00ef6898c284":"{priceString} every week for {durationValue} weeks","53e6d4cacab49879c5a331593bd40434":"{priceString} every month","73971392005d45d4c5c3cef9f5f2eca5":"{priceString} every year for {durationValue} years","94eb8523959c0442994c223a91d02a4a":"{priceString} every {billingPeriodValue} months for 1 year","99025daa1dfc7337d3248543d4d6fbee":"{priceString} every {billingPeriodValue} months for {durationValue} years","9c389d07dcc5ef2603005128c1154983":"{priceString} every month for {durationValue} months",b503ccc15acfba32b443b15f9be7dc86:"{priceString} every {billingPeriodValue} years for {durationValue} years",bc4942e6eb5560957076ee72bd450a87:"{priceString} every month for {durationValue} years",c7094898f54b9d547da8e1c71ec88eca:"{priceString} every {billingPeriodValue} years",cb02edc9d115111d1e997a8436f6efad:"{priceString} every {billingPeriodValue} weeks for 1 year",d62034f3ffac6a74673302b5aef4e5c0:"{priceString} every {billingPeriodValue} months",dd21aee6f89a601924a4e78dbaa52a18:"{priceString} every {billingPeriodValue} weeks for {durationValue} weeks",e4f13be78f017226a1e6d93301bb8eb4:"{priceString} every week",f1921be45352fa2fe9386ecc5d886b39:"{priceString} every week for 1 year"}},228946:function(y){y.exports={"03ed8a0a8208f38d91ea43fcfb2674fa":"Cart","129d605196848a5638c140d2ee728388":"Checkout","177e608763b10b394a5950733243
11b9e":"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"}},859094: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"}},789008:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var a=e(63571),n="core-components";function o(c){return e(258047)("./".concat(n,".").concat(c,".yaml"))}var t=(0,a.setupLibrary)(n,o),r=t.getI18nInstance,i=t.setI18nInstance;l.setI18nInstance=i,l.getI18nInstance=r},258047:function(y,l,e){var a={"./core-components.en-US.json":325844,"./core-components.en-US.yaml":110037,"common/temp/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sqs/i18n-components/sqs-i18n-translations/strings/core-components.en-US.json":325844,"common/temp/node_modules/.pnpm/@[email protected][email protected][email protected]/node_modules/@sqs/i18n-components/sqs-i18n-translations/strings/core-components.en-US.yaml":110037};function n(t){var r=o(t);return e(r)}function o(t){if(!e.o(a,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,y.exports=n,n.id=258047},332563:function(y,l,e){"use strict";
1Object.defineProperty(l,"__esModule",{value:!0}),l.getPluralHash=l.getTranslateHash=void 0;var a=e(794094),n=a.__importDefault(e(625392)),o=a.__importDefault(e(412139)),t=["one","other"],r=function(v){return v.replace(/\n/g,"\\n")},i=function(v,g,m){return v+"value:".concat(r(g))+(m?"notes:".concat(r(m)):"")};function c(v,g,m){var b=m!=null?m:"";return i(g,v,b)}function d(v,g,m){var b=m!=null?m:"",C=Object.keys(v).map(function(A){return t.includes(A)?"".concat(A,":").concat(v[A]):""}).join("");return i(g,C,b)}var u=(0,n.default)(function(v,g,m){return(0,o.default)(c(v,g,m))},c),s=(0,n.default)(function(v,g,m){return(0,o.default)(d(v,g,m))},d),f=function(v,g){return u(v,g.project,g.notes)};l.getTranslateHash=f;var p=function(v,g){return s(v,g.project,g.notes)};l.getPluralHash=p},87818:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.getPluralHash=l.getTranslateHash=void 0;var a=e(332563);Object.defineProperty(l,"getTranslateHash",{enumerable:!0,get:function(){return a.getTranslateHash}}),Object.defineProperty(l,"getPluralHash",{enumerable:!0,get:function(){return a.getPluralHash}})},579482:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.DISPLAY_HASH_ON_SPAN=void 0,l.DISPLAY_HASH_ON_SPAN="i18n-ui-display-ids-on-spans"},988771:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=o;var n=a(e(603912));e(392338),e(392338),e(392338),e(392338);function o(t){var r=this;return function(i,c){var d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],u=Array.isArray(d)?d:[d],s=u.some(function(p){return p.includes("|")});
1if(!u.length||!s)return t.apply(r,[i].concat((0,n.default)(u)));var f=u.reduce(function(p,v){var g=v.split("|"),m=g[0],b=g[1]||g[0];return p[m]=isNaN(b)?b:parseFloat(b),p},{});return t(i,f)}}y.exports=l.default},117875:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e(392338),e(392338);var n=a(e(858240)),o=a(e(4636)),t=a(e(411783)),r=a(e(988771)),i=e(787318),c=function(){function u(s){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};(0,n.default)(this,u),this.dictionary={},this.icuInstance=new t.default(s),this.icuInstance.addFormatters(this.wrapFormatters(f))}return(0,o.default)(u,[{key:"wrapFormatters",value:function(f){return Object.keys(f).reduce(function(p,v){return p[v]=new r.default(f[v]),p},{})}},{key:"compileMessage",value:function(f,p){var v=this.icuInstance.compile(f);return this.dictionary[p]=v,v}},{key:"translate",value:function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},v=(0,i.hashCode)(f),g=this.dictionary[v];return g||(g=this.compileMessage(f,v)),g(p)}}]),u}(),d=l.default=c;y.exports=l.default},933452:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(117875)),o=function(){function t(r){var i=this;this.formatIcuMessage=function(c,d){return i.icuFormatter.translate(c,d)},this.icuFormatter=new n.default({pluralGenerator:function(c,d){return d?r.pluralOrdinal(c):r.plural(c)}},{formatNumber:r.formatNumber,formatCurrency:r.formatCurrency,formatDateTime:r.formatDateTime,formatRelativeTime:r.formatRelativeTime})}return t}();l.default=o,y.exports=l.default},130473:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e(569644));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var o=a(e(255919)),t=e(296194);function r(c){this.mf=c,this.lc=null,this.locales={},this.runtime={},this.formatters={}}r.propname=function(c,d){if(/^[A-Z_$][0-9A-Z_$]*$/i.test(c)&&["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(c)<0)return d?d+"."+c:c;var u=JSON.stringify(c);return d?d+"["+u+"]":u},r.funcname=function(c){var d=c.trim().replace(/\W+/g,"_");return o.default.check(d,"es2015",!0)||/^\d/.test(d)?"_"+d:d},r.bidiMarkText=function(c,d){function u(f){var p=["ar","ckb","fa","he","ks($|[^bfh])","lrc","mzn","pa-Arab","ps","ug","ur","uz-Arab","yi"];return new RegExp("^"+p.join("|^")).test(f)}var s=JSON.stringify(u(d)?"\u200F":"\u200E");return s+" + "+c+" + "+s},r.prototype.cases=function(c,d){var u=!0,s=c.cases.map(function(f){f.key==="other"&&(u=!1);var p=f.tokens.map(function(v){return this.token(v,d)},this);return r.propname(f.key)+": "+(p.join(" + ")||'""')},this);if(u)throw new Error("No 'other' form found in "+JSON.stringify(c));return"{ "+s.join(", ")+" }"},r.prototype.token=function(c,d){if(typeof c=="string")return JSON.stringify(c);var u,s=[r.propname(c.arg,"d")];switch(c.type){case"argument":return this.mf.bidiSupport?r.bidiMarkText(s[0],this.lc):s[0];case"select":u="select",s.push(this.cases(c,this.mf.strictNumberSign?null:d)),this.runtime.select=!0;break;case"selectordinal":u="plural",s.push(0,r.funcname(this.lc),this.cases(c,c),1),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"plural":u="plural",s.push(c.offset||0,r.funcname(this.lc),this.cases(c,c)),this.locales[this.lc]=!0,this.runtime.plural=!0;break;case"function":if(this.mf.intlSupport&&!(c.key in this.mf.fmt)&&c.key in this.mf.constructor.formatters){var f=this.mf.constructor.formatters[c.key];this.mf.fmt[c.key]=typeof f(this.mf)=="function"?f(this.mf):f}if(!this.mf.fmt[c.key])throw new Error("Formatting function "+JSON.stringify(c.key)+" not found!");if(s.push(JSON.stringify(this.lc)),c.params)switch(c.params.length){case 0:break;case 1:s.push(JSON.stringify(c.params[0]));break;default:s.push(JSON.stringify(c.params));break}u=r.propname(c.key,"fmt"),this.formatters[c.key]=!0;break;case"octothorpe":if(!d)return'"#"';u="number",s=[r.propname(d.arg,"d"),JSON.stringify(d.arg)],d.offset&&s.push(d.offset),this.runtime.number=!0;break}if(!u)throw new Error("Parser error for token "+JSON.stringify(c));return u+"("+s.join(", ")+")"},r.prototype.compile=function(c,d,u){if((0,n.default)(c)!=="object"){this.lc=d;var s=u[d]||{cardinal:[],ordinal:[]},f=(0,t.parse)(c,s).map(function(m){return this.token(m)},this);return"function(d) { return "+(f.join(" + ")||'""')+"; }"}var p={};for(var v in c){var g=u.hasOwnProperty(v)?v:d;p[v]=this.compile(c[v],g,u)}return p};var i=l.default=r;y.exports=l.default},411783:function(y,l,e){"use strict";var a=e(875832);
1Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var n=a(e(569644)),o=a(e(130473)),t=a(e(39371));/** @file messageformat.js - ICU PluralFormat + SelectFormat for JavaScript
2 *
3 * @author Alex Sexton - @SlexAxton, Eemeli Aro
4 * @version 1.0.2
5 * @copyright 2012-2016 Alex Sexton, Eemeli Aro, and Contributors
6 * @license To use or fork, MIT. To contribute back, JS Foundation CLA
7 */function r(c){if(this.pluralFuncs={},c){if((0,n.default)(c)!=="object")throw new Error("Must be initialized with plural functions");for(var d in c)if(c.hasOwnProperty(d)){if(typeof c[d]!="function")throw new Error("Expected function value for locale "+JSON.stringify(d));this.pluralFuncs[d]=c[d]}}this.fmt={},this.runtime=new t.default(this)}r.defaultLocale="en",r.escape=function(c){return c.replace(/[#{}\\]/g,"\\$&")},r.formatters={number:function(d){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:'"+(d.currency||"USD")+"', minimumFractionDigits:2, maximumFractionDigits:2}\n  : {}).format(v)")},date:function(d,u,s){var f={day:"numeric",month:"short",year:"numeric"};switch(s){case"full":f.weekday="long";case"long":f.month="long";break;case"short":f.month="numeric"}return new Date(d).toLocaleDateString(u,f)},time:function(d,u,s){var f={second:"numeric",minute:"numeric",hour:"numeric"};switch(s){case"full":case"long":f.timeZoneName="short";break;case"short":delete f.second}return new Date(d).toLocaleTimeString(u,f)}},r.prototype.addFormatters=function(c){for(var d in c)c.hasOwnProperty(d)&&(this.fmt[d]=c[d]);return this},r.prototype.disablePluralKeyChecks=function(){this.noPluralKeyChecks=!0;for(var c in this.pluralFuncs)this.pluralFuncs.hasOwnProperty(c)&&(this.pluralFuncs[c].cardinal=[],this.pluralFuncs[c].ordinal=[]);return this},r.prototype.setBiDiSupport=function(c){return this.bidiSupport=!!c||typeof c=="undefined",this},r.prototype.setIntlSupport=function(c){return this.intlSupport=!!c||typeof c=="undefined",this},r.prototype.setStrictNumberSign=function(c){return this.strictNumberSign=!!c||typeof c=="undefined",this.runtime.setStrictNumber(this.strictNumberSign),this},r.prototype.compile=function(c,d){function u(A,_){if(_||(_=0),(0,n.default)(A)!=="object")return A;for(var P=[],T="",x=0;x<_;++x)T+="  ";for(var M in A)P.push("\n"+T+"  "+o.default.propname(M)+": "+u(A[M],_+1));return"{"+P.join(",")+"\n"+T+"}"}var s;if(Object.keys(this.pluralFuncs).length==0)d||(d=r.defaultLocale),s={},s[d]=getPluralFunc(d,this.noPluralKeyChecks);else if(d){if(s={},s[d]=this.pluralFuncs[d],!s[d])throw new Error("Locale "+JSON.stringify(d)+"not found in "+JSON.stringify(this.pluralFuncs)+"!")}else s=this.pluralFuncs,d=Object.keys(s)[0];var f=new o.default(this),p=f.compile(c,d,s);if((0,n.default)(c)!=="object"){var v=new Function("number, plural, select, fmt",o.default.funcname(d),"return "+p),g=this.runtime;return v(g.number,g.plural,g.select,this.fmt,s[d])}var m=this.runtime.toString(s,f)+"\n",b=u(p),C=new Function(m+"return "+b)();if(C.hasOwnProperty("toString"))throw new Error("The top-level message key `toString` is reserved");return C.toString=function(A){switch(A||""){case"exports":var _=[];for(var P in p)_.push(o.default.propname(P,"exports")+" = "+u(p[P]));return m+_.join(";\n");case"module.exports":return m+"module.exports = "+b;case"export default":return m+"export default "+b;case"":return m+"return "+b;default:return A.indexOf(".")>-1?m+A+" = "+b:m+["(function (root, G) {",'  if (typeof define === "function" && define.amd) { define(G); }','  else if (typeof exports === "object") { module.exports = G; }',"  else { "+o.default.propname(A,"root")+" = G; }","})(this, "+b+");"].join("\n")}},C};var i=l.default=r;y.exports=l.default},39371:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e(569644));e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var o=a(e(130473));function t(d){this.mf=d,this.setStrictNumber(d.strictNumberSign)}function r(d,u,s){if(!s)return d;if(isNaN(d))throw new Error("Can't apply offset:"+s+" to argument `"+u+"` with non-numerical value "+JSON.stringify(d)+".");return d-s}function i(d,u,s){if(isNaN(d))throw new Error("Argument `"+u+"` has non-numerical value "+JSON.stringify(d)+".");return d-(s||0)}t.prototype.setStrictNumber=function(d){this.number=d?i:r},t.prototype.plural=function(d,u,s,f,p){if({}.hasOwnProperty.call(f,d))return f[d];u&&(d-=u);var v=s(d,p);return v in f?f[v]:f.other},t.prototype.select=function(d,u){return{}.hasOwnProperty.call(u,d)?u[d]:u.other},t.prototype.toString=function(d,u){function s(g,m){if((0,n.default)(g)!="object"){var b=g.toString().replace(/^(function )\w*/,"$1"),_=/([ \t]*)\S.*$/.exec(b);return _?b.replace(new RegExp("^"+_[1],"mg"),""):b}var C=[];for(var A in g)m==0?C.push("var "+A+" = "+s(g[A],m+1)+";\n"):C.push(o.default.propname(A)+": "+s(g[A],m+1));if(m==0)return C.join("");if(C.length==0)return"{}";for(var _="  ";--m;)_+="  ";return"{\n"+C.join(",\n").replace(/^/gm,_)+"\n}"}var f={};
7Object.keys(u.locales).forEach(function(g){f[o.default.funcname(g)]=d[g]}),Object.keys(u.runtime).forEach(function(g){f[g]=this[g]},this);var p=Object.keys(u.formatters),v=this.mf.fmt;return p.length&&(f.fmt=p.reduce(function(g,m){return g[m]=v[m],g},{})),s(f,0)};var c=l.default=t;y.exports=l.default},787318:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.hashCode=void 0;var e=l.hashCode=function(n){for(var o=0,t=n.length,r=0;r<t;r++)o=o*31+n.charCodeAt(r),o=o&o;return String(o)}},63571:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.transformJsonStringsToDictionary=l.setupLibrary=void 0;function e(n,o){var t;if(!n||typeof n!="string"||n==="")throw new Error("[@sqs/i18n-ui] setupLibrary: packageName is required and must be a non-empty string");if(!o||typeof o!="function")throw new Error("[@sqs/i18n-ui] package=".concat(n,", setupLibrary requires a valid translationLoader function to be passed"));return{setI18nInstance:function(r,i){i===void 0&&(i={}),t=r;var c=i.translationsLoadErrorCallback;try{t.loadTranslations(o,c,n)}catch(u){var d=u.message;throw new Error("[".concat(n,"] Unable to load library's translations\n")+d)}},getI18nInstance:function(){if(!t)throw new Error("[".concat(n,"] An instance of I18nUI has not be initialized.\n")+'Ensure that the consuming application/library is calling "setI18nInstance"');return t}}}l.setupLibrary=e;function a(n){return Object.keys(n).filter(function(o){return o!=="smartling"}).reduce(function(o,t){var r;return o[t]=(r=n==null?void 0:n[t])===null||r===void 0?void 0:r.translation,o},{})}l.transformJsonStringsToDictionary=a},63488:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importStar(e(331500)),o=n.numberFormatProperties,t=n.numberParseProperties,r=n.parseNumber,i=a.__importDefault(e(831620)),c=function(){function d(u){var s=this;this.getNumberSystemMetadata=function(f){f===void 0&&(f="latn");var p=s.i18nInstance.formattingCldr.General.bundle(),v=s.i18nInstance.formattingCldr.Schema.Numbers.numberSystem.get(f);return{symbols:v.symbols.mapping(p),pattern:v.decimalFormats.standard.get(p)}},this.parseNumber=function(f,p){p===void 0&&(p={});var v=s.getNumberSystemMetadata(),g=o(v.pattern,v.symbols,p),m=t(g),b=r(f,m);return s.i18nInstance.isDebugMode?(0,i.default)(b):b},this.i18nInstance=u}return d}();l.default=c,y.exports=l.default},691295:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpEscape=void 0,e(392338),e(392338);var a=l.regexpEscape=function(o){return o.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")}},263935:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberFormatProperties=void 0,e(392338);var a=e(612385),n=e(209520),o=e(555956),t="0123456789",r=l.numberFormatProperties=function(c,d,u){var s,f,p,v,g,m,b;function C(A,_){A in u&&(b[_]=u[A])}return u=u||{},c=c.split(";"),g=c[0],s=c[1]||"-"+g,p=(0,a.numberPatternProperties)(s),f=p[0],v=p[10],m=(0,n.numberRound)(u.round),m.generatorString=function(){return"numberRound("+(u.round?'"'+u.round+'"':"")+")"},b=(0,a.numberPatternProperties)(g).concat([g,f+g+v,f,v,m,d.infinity,d.nan,(0,o.numberSymbolMap)(d),t]),C("minimumIntegerDigits",2),C("minimumFractionDigits",3),C("maximumFractionDigits",4),C("minimumSignificantDigits",5),C("maximumSignificantDigits",6),u.group===!1&&(b[8]=null),"minimumFractionDigits"in u&&!("maximumFractionDigits"in u)?b[4]=Math.max(b[3],b[4]):!("minimumFractionDigits"in u)&&"maximumFractionDigits"in u&&(b[3]=Math.min(b[3],b[4])),b}},331500:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"numberFormatProperties",{enumerable:!0,get:function(){return a.numberFormatProperties}}),Object.defineProperty(l,"numberParseProperties",{enumerable:!0,get:function(){return n.numberParseProperties}}),Object.defineProperty(l,"parseNumber",{enumerable:!0,get:function(){return o.parseNumber}});var a=e(263935),n=e(933716),o=e(891247)},996403:function(y,l,e){"use strict";
7Object.defineProperty(l,"__esModule",{value:!0}),l.looseMatching=void 0,e(392338),e(392338);var a=e(758922),n=e(695158),o=e(204572),t=l.looseMatching=function(i){return i.replace(a.regexpCfG,"").replace(n.regexpDashG,"-").replace(o.regexpZsG," ")}},986258:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.objectMap=void 0,e(392338),e(392338),e(392338);var a=l.objectMap=function(o,t){return Object.keys(o).map(function(r){return t([r,o[r]])}).reduce(function(r,i){return r[i[0]]=i[1],r},{})}},933716:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberParseProperties=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var a=e(996403),n=e(986258),o=e(691295),t=e(731742),r=l.numberParseProperties=function(c){var d,u,s,f,p,v,g,m,b,C,A,_,P,T,x,M,U,j,$,G;return M=(0,a.looseMatching)(c[0]),m=c[4],C=c[5],b=c[6],U=c[8],j=c[9],$=(0,a.looseMatching)(c[10]),_=(0,a.looseMatching)(c[13]),P=(0,a.looseMatching)(c[14]),p=(0,a.looseMatching)(c[16]),A=(0,a.looseMatching)(c[17]),G=(0,n.objectMap)(c[18],function(J){return[J[0],(0,a.looseMatching)(J[1])]}),T=c[19],g=(0,n.objectMap)(G,function(J){return[(0,a.looseMatching)(J[0]),J[1]]}),s=T?"["+T+"]":"\\d",f=(0,o.regexpEscape)(G[","]),u=(0,o.regexpEscape)(G["."]),T&&(v=T.split("").reduce(function(J,ie,W){return J[ie]=String(W),J},{})),d=[M,$,_,P].map(function(J){return J.replace(/('([^']|'')+'|'')|./g,function(ie,W){return W?(0,t.removeLiteralQuotes)(W):(ie=ie.replace(/[\-+E%\u2030]/,function(q){return G[q]}),ie)})}),M=d[0],$=d[1],_=d[2],P=d[3],x=s+"+",U&&(j?d=s+"{1,"+j+"}(("+f+s+"{"+j+"})*("+f+s+"{"+U+"}))":d=s+"{1,"+U+"}("+f+s+"{"+U+"})+",x="("+d+"|"+x+")"),(!isNaN(C*b)||m)&&(d=u+s+"+",x=x+"("+d+"|"+u+")?|("+x+")?"+d,x="("+x+")"),[g,v,{infinity:new RegExp("^"+(0,o.regexpEscape)(p)),nan:new RegExp("^"+(0,o.regexpEscape)(A)),negativePrefix:new RegExp("^"+(0,o.regexpEscape)(_)),negativeSuffix:new RegExp("^"+(0,o.regexpEscape)(P)),number:new RegExp("^"+x),prefix:new RegExp("^"+(0,o.regexpEscape)(M)),suffix:new RegExp("^"+(0,o.regexpEscape)($))}]}},891247:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.parseNumber=void 0,e(392338),e(392338),e(392338),e(392338),e(392338),e(392338);var a=e(996403),n=l.parseNumber=function(t,r){var i,c,d,u,s,f,p,v,g,m;i=[["nan"],["prefix","infinity","suffix"],["prefix","number","suffix"],["negativePrefix","infinity","negativeSuffix"],["negativePrefix","number","negativeSuffix"]],d=r[0],c=r[1]||{},g=r[2],t=(0,a.looseMatching)(t);function b(A){return function(_){switch(_=_.split("").map(function(P){return d[P]||c[P]||P}).join(""),A){case"infinity":s=1/0;break;case"nan":s=NaN;break;case"number":_=_.replace(/,/g,""),s=+_;break;case"prefix":case"negativePrefix":f=_;break;case"suffix":v=_;break;case"negativeSuffix":v=_,u=!0;break;default:throw new Error("Internal error")}return""}}function C(A){return i.some(function(_){return _.every(function(P){return A.match(g[P])===null?!1:(A=A.replace(g[P],b(P)),!0)})&&!A.length})}return m=C(t,i),!m||isNaN(s)?NaN:(p=""+f+v,p.indexOf("%")!==-1?s/=100:p.indexOf("\u2030")!==-1&&(s/=1e3),u&&(s*=-1),s)}},612385:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberPatternProperties=void 0,e(392338),e(392338),e(392338);var a=e(60903),n=l.numberPatternProperties=function(t){var r,i,c,d,u,s,f,p,v,g,m,b,C,A,_,P,T;if(t=t.match(a.numberPatternRe),!t)throw new Error("Invalid pattern: "+t);return b=t[1],m=t[4],d=t[5],P=t[9],T=t[11],P?P.replace(/(@+)(#*)/,function(x,M,U){g=M.length,f=g+U.length}):(c=t[8],u=t[7],c?(c.replace(/[0-9]+/,function(x){p=x}),p?(A=+("0."+p),p=p.length):p=0,s=c.length-1):(p=0,s=0),u.replace(/0+$/,function(x){v=x.length})),(r=d.lastIndexOf(","))!==-1&&(i=d.split(".")[0],C=i.length-r-1,(i=d.lastIndexOf(",",r-1))!==-1&&(_=r-1-i)),[b,m,v,p,s,g,f,A,C,_,T]}},60903:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberPatternRe=void 0;var e=l.numberPatternRe=/^(('([^']|'')*'|[^*#@0,.E])*)(\*.)?((([#,]*[0,]*0+)(\.0*[0-9]*#*)?)|([#,]*@+#*))(E\+?0+)?(('[^']+'|''|[^*#@0,.E])*)$/},758922:function(y,l){"use strict";
7Object.defineProperty(l,"__esModule",{value:!0}),l.regexpCfG=void 0;var e=l.regexpCfG=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804\uDCBD|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/g},695158:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpDashG=void 0;var e=l.regexpDashG=/[\-\u058A\u05BE\u1400\u1806\u2010-\u2015\u2E17\u2E1A\u2E3A\u2E3B\u2E40\u301C\u3030\u30A0\uFE31\uFE32\uFE58\uFE63\uFF0D\u2212]/g},204572:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.regexpZsG=void 0;var e=l.regexpZsG=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/g},731742:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.removeLiteralQuotes=void 0,e(392338),e(392338),e(392338);var a=l.removeLiteralQuotes=function(o){return o[0]+o[o.length-1]!=="''"?o:o==="''"?"":o.replace(/''/g,"'").slice(1,-1)}},209520:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.numberRound=void 0,e(392338),e(392338);var n=a(e(569644)),o=e(982677),t=l.numberRound=function(i){return i=i||"round",i=i==="truncate"?o.numberTruncate:Math[i],function(c,d){var u,s;if(c=+c,isNaN(c))return NaN;if((0,n.default)(d)==="object"&&d.exponent){if(u=+d.exponent,s=1,u===0)return i(c);if(!(typeof u=="number"&&u%1===0))return NaN}else{if(s=+d||1,s===1)return i(c);if(isNaN(s))return NaN;s=s.toExponential().split("e"),u=+s[1],s=+s[0]}return c=c.toString().split("e"),c[0]=+c[0]/s,c[1]=c[1]?+c[1]-u:-u,c=i(+(c[0]+"e"+c[1])),c=c.toString().split("e"),c[0]=+c[0]*s,c[1]=c[1]?+c[1]+u:u,+(c[0]+"e"+c[1])}}},555956:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberSymbolMap=void 0;var e={".":"decimal",",":"group","%":"percentSign","+":"plusSign","-":"minusSign",E:"exponential","\u2030":"perMille"},a=l.numberSymbolMap=function(o){var t,r={};for(t in e)r[t]=o[e[t]];return r}},982677:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.numberTruncate=void 0;var e=l.numberTruncate=function(n){return isNaN(n)?NaN:Math[n<0?"ceil":"floor"](n)}},357848:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(442629)),o=e(872705);function t(r){var i=r.className,c=r.formatter,d=r.value,u=r.currencyCode,s=r.options;return(0,o.renderComponent)({className:i},c(d,u,s))}t.propTypes={className:n.default.string,currencyCode:n.default.string.isRequired,options:n.default.object,formatter:n.default.func.isRequired,value:n.default.number.isRequired},l.default=t,y.exports=l.default},605169:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(442629)),o=e(872705);function t(r){var i=r.formatter,c=r.value,d=r.format,u=r.className;return(0,o.renderComponent)({className:u},i(c,d))}t.propTypes={value:n.default.oneOfType([n.default.string,n.default.number,n.default.shape({_isAMomentObject:n.default.bool}),n.default.instanceOf(Date)]),format:n.default.string,className:n.default.string,formatter:n.default.func.isRequired},l.default=t,y.exports=l.default},51444:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(442629)),o=a.__importStar(e(508669)),t=a.__importDefault(e(309350)),r=function(i){var c=i.freeIfZero,d=i.freeLabel,u=i.isNegative,s=i.value,f=i.cldrCurrencyOpts,p=i.formatter,v=a.__rest(i,["freeIfZero","freeLabel","isNegative","value","cldrCurrencyOpts","formatter"]);if(c&&!d)throw new Error('A Free label is required, and it should be a wrapped string. i.e: t("Free") or <T>Free</T>');var g=(0,o.useMemo)(function(){return c&&s.isZero()?d:p(s,f)},[d,c,s,f,p]);return o.default.createElement("span",a.__assign({},v),u&&"- ",g)};r.propTypes={freeIfZero:n.default.bool,freeLabel:function(i,c){if(i.freeIfZero&&i[c]===void 0)return new Error('A Free label is required, and it should be a wrapped string. i.e: t("Free") or <T>Free</T>')},isNegative:n.default.bool,value:n.default.instanceOf(t.default).isRequired,cldrCurrencyOpts:n.default.object,formatter:n.default.func.isRequired},l.default=r,y.exports=l.default},123493:function(y,l,e){"use strict";
7Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(442629)),o=e(872705);function t(r){var i=r.value,c=r.format,d=r.formatter,u=r.className;return(0,o.renderComponent)({className:u},d(i,c))}t.propTypes={className:n.default.string,format:n.default.object,formatter:n.default.func.isRequired,value:n.default.number.isRequired},l.default=t,y.exports=l.default},129017:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(442629)),o=e(872705);function t(r){var i=r.quantity,c=r.options,d=r.formatter,u=r.className;return(0,o.renderComponent)({className:u},d(i,c))}t.propTypes={className:n.default.string,formatter:n.default.func.isRequired,quantity:n.default.object.isRequired,options:n.default.object},l.default=t,y.exports=l.default},949148:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(508669)),o=a.__importDefault(e(442629)),t=a.__importDefault(e(301314)),r=a.__importDefault(e(291341)),i=e(87818),c=a.__importDefault(e(115286)),d=e(173068),u=e(872705),s=function(f){var p=f.n,v=f.forms,g=f.locale,m=f.formatter,b=f.project,C=f.notes,A=f.htmlAttributesTransform,_=a.__rest(f,["n","forms","locale","formatter","project","notes","htmlAttributesTransform"]),P=(0,c.default)(),T={},x={},M=v&&v.other?v.other:null;if((0,t.default)(!_.hasOwnProperty("children"),"The Plural component does not support children."),typeof p!="number"||!M)return null;if(typeof M!="string")return(0,u.renderComponent)(null,M);Object.keys(_).forEach(function(X){var k=_[X];n.default.isValidElement(k)?T[X]=k:x[X]=k});var U=(0,d.propsToOpts)(b,C),j=m(v,p,x,U),$=(0,d.parseString)(Object.values(v).join(",")),G=(0,r.default)(x,function(X,k){return!$.includes("{".concat(k,"}"))});P&&(G["data-i18n-id"]=(0,i.getPluralHash)(v,{project:b,notes:C}));var J=(0,d.shallowDifference)(x,G),ie={strings:Object.keys(J)};if(Object.keys(T).length>0){var W=(0,d.performComponentSubs)(j,T),q=W.children,H=W.replaced;return ie.components=H,G=A(j,ie,G),(0,u.renderComponentWithChildren)(q,G)}return G=A(j,ie,G),(0,u.renderComponent)(G,j)};s.propTypes={n:o.default.number,forms:o.default.shape({one:o.default.string,other:o.default.string.isRequired,zero:o.default.string,many:o.default.string,few:o.default.string,two:o.default.string}),formatter:o.default.func.isRequired,project:o.default.string.isRequired,notes:o.default.string},l.default=s,y.exports=l.default},29197:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(442629)),o=e(872705);function t(r){var i=r.formatter,c=r.value,d=r.from,u=r.tooltipTitle,s=r.className;return(0,o.renderComponent)({title:u,className:s},i(c,d))}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},l.default=t,y.exports=l.default},389046:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(508669)),o=a.__importDefault(e(442629)),t=a.__importDefault(e(291341)),r=e(87818),i=e(173068),c=e(872705),d=a.__importDefault(e(115286)),u=function(s){var f=s.children,p=s.formatter,v=s.locale,g=s.notes,m=s.project,b=s.htmlAttributesTransform,C=a.__rest(s,["children","formatter","locale","notes","project","htmlAttributesTransform"]),A={},_={},P=f,T=(0,d.default)();if(!P)return null;if(typeof P!="string")return(0,c.renderComponent)(null,P);Object.keys(C).forEach(function(q){var H=C[q];n.default.isValidElement(H)?A[q]=H:_[q]=H});var x=(0,i.propsToOpts)(m,g),M=p(P,_,x),U=(0,i.parseString)(P),j=(0,t.default)(_,function(q,H){return!U.includes("{".concat(H,"}"))});T&&(j["data-i18n-id"]=(0,r.getTranslateHash)(P,{project:m,notes:g}));var $=(0,i.shallowDifference)(_,j),G={strings:Object.keys($)};if(Object.keys(A).length>0){var J=(0,i.performComponentSubs)(M,A),ie=J.children,W=J.replaced;return G.components=W,j=b(M,G,j),(0,c.renderComponentWithChildren)(ie,j)}return j=b(M,G,j),(0,c.renderComponent)(j,M)};u.propTypes={children:o.default.oneOfType([o.default.string,o.default.array,o.default.element]),formatter:o.default.func.isRequired,notes:o.default.string,project:o.default.string.isRequired},l.default=u,y.exports=l.default},173068:function(y,l,e){"use strict";
7Object.defineProperty(l,"__esModule",{value:!0}),l.propsToOpts=l.performComponentSubs=l.parseString=l.shallowDifference=void 0;var a=e(794094),n=a.__importDefault(e(508669)),o=a.__importDefault(e(485774)),t=/\{([^}]+)\}/g,r=function(s,f){var p=f.map(function(v){return{key:v,index:s.indexOf(v)}}).filter(function(v){var g=v.index;return g!==-1}).sort(function(v,g){return v.index-g.index});return p[0]||null},i=function(s,f){return Object.entries(s).reduce(function(p,v){var g=v[0],m=v[1];return(!Object.values(f).includes(m)||!Object.keys(f).includes(g))&&(p[g]=m),p},{})};l.shallowDifference=i;var c=function(s){if(!s)return[];var f=s.match(t);if(f===null)return[s];for(var p=[];s.length;){var v=r(s,f);if(v===null)break;p.push(s.slice(0,v.index)),p.push(v.key),s=s.slice(v.index+(v.key?v.key.length:0))}return p.push(s),p};l.parseString=c;var d=function(s,f){var p=(0,l.parseString)(s),v=[];return f&&(p=p.map(function(g){var m=(0,o.default)(f,function(b,C){return"{".concat(C,"}")===g});return m?n.default.isValidElement(f[m])&&f[m].key===null?(v=v.concat(m),n.default.cloneElement(f[m],{key:m})):f[m]:g})),{children:p,replaced:v}};l.performComponentSubs=d;var u=function(s,f){var p={project:s};return f&&Object.assign(p,{notes:f}),p};l.propsToOpts=u},872705:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.renderComponentWithChildren=l.renderComponent=void 0;var a=e(794094),n=a.__importDefault(e(508669)),o=function(r,i){return n.default.createElement("span",a.__assign({},r),i)};l.renderComponent=o;var t=function(r,i){return i===void 0&&(i={}),n.default.createElement("span",a.__assign({},i),r)};l.renderComponentWithChildren=t},115286:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(508669),n=e(579482),o=function(){var t=(0,a.useState)(!1),r=t[0],i=t[1];return(0,a.useEffect)(function(){var c=function(d){d.data===n.DISPLAY_HASH_ON_SPAN&&i(!0)};return window.addEventListener("message",c),function(){window.removeEventListener("message",c)}},[]),r};l.default=o,y.exports=l.default},56827:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(794094),n=a.__importDefault(e(508669)),o=a.__importDefault(e(605169)),t=a.__importDefault(e(29197)),r=a.__importDefault(e(357848)),i=a.__importDefault(e(123493)),c=a.__importDefault(e(129017)),d=a.__importDefault(e(51444)),u=a.__importDefault(e(389046)),s=a.__importDefault(e(949148)),f=function(){function p(v){var g=this;this.FormattedCurrency=function(m){return n.default.createElement(r.default,a.__assign({},m,{formatter:g.i18nInstance.formatCurrency}))},this.FormattedMoney=function(m){return n.default.createElement(d.default,a.__assign({},m,{formatter:g.i18nInstance.formatMoney}))},this.FormattedNumber=function(m){return n.default.createElement(i.default,a.__assign({},m,{formatter:g.i18nInstance.formatNumber}))},this.FormattedQuantity=function(m){return n.default.createElement(c.default,a.__assign({},m,{formatter:g.i18nInstance.formatQuantity}))},this.FormattedDateTime=function(m){return n.default.createElement(o.default,a.__assign({},m,{formatter:g.i18nInstance.formatDateTime}))},this.RelativeTime=function(m){return n.default.createElement(t.default,a.__assign({},m,{formatter:g.i18nInstance.formatRelativeTime}))},this.T=function(m){var b=m.children,C=m.project,A=a.__rest(m,["children","project"]);return n.default.createElement(u.default,a.__assign({},A,{project:C,formatter:g.i18nInstance.translate,htmlAttributesTransform:g.i18nInstance.htmlAttributesTransform}),b)},this.Plural=function(m){return n.default.createElement(s.default,a.__assign({},m,{project:m.project,forms:m.forms,n:m.n,formatter:g.i18nInstance.pluralize,htmlAttributesTransform:g.i18nInstance.htmlAttributesTransform}))},this.i18nInstance=v,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}();l.default=f,y.exports=l.default},273946:function(y,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esMo
7dule",{value:!0}),l.default=void 0;var a=e(137721),n=e(224641),o=e(873588);function t(u,s){if(!(u instanceof s))throw new TypeError("Cannot call a class as a function")}function r(u,s){for(var f,p=0;p<s.length;p++)f=s[p],f.enumerable=f.enumerable||!1,f.configurable=!0,"value"in f&&(f.writable=!0),Object.defineProperty(u,f.key,f)}function i(u,s,f){return s&&r(u.prototype,s),f&&r(u,f),u}var c=function(){function u(){var s=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};t(this,u);var f=(0,n.checkFeatureSupport)();this.doesSupportSrcset=f.doesSupportSrcset,this.doesSupportObjectFit=f.doesSupportObjectFit,this.doesSupportObjectPosition=f.doesSupportObjectPosition,this.configure(s)}return i(u,[{key:"configure",value:function(f){var p=this,v={allowConcurrentLoads:!1,debuggerEnabled:!1,sizes:a.SQUARESPACE_SIZES};Object.assign(this,v,f),this.sizes.sort(function(g,m){return m-g}),this.debuggerEnabled&&Object.keys(this).forEach(function(g){console.log(g,p[g])})}},{key:"load",value:function(f,p){var v=(0,n.validatedImage)(f,this);if(!v)return!1;var g=(0,o.getLoadingConfiguration)(v,p);if(g.load==="false"&&!g.forceImageUpdate)return this.debuggerEnabled&&console.warn("".concat(v,' load mode is "false".')),!1;if(g.hasImageDimensionData&&g.cropMode!=="none"){var m=(0,n.positionCroppedImage)(v,g,this);if(!m)return!1}if(v.getAttribute("srcset")){if(this.doesSupportSrcset)return this.setImageUsingSrcset(v,g);var b=(0,n.getAssetUrl)(v.getAttribute("srcset"),g);g.source=b,v.setAttribute("data-src",b)}var C=(0,n.getIntendedImageSize)(v,g,this);return typeof C!="string"||g.load==="viewport"?C:g.forceImageUpdate||(0,n.shouldUpdateResolution)(v,C)?this.setImageSource(v,g,C,p):C}},{key:"loadAll",value:function(){var f=this,p=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},v=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body;if(!v||!v.nodeName||!("querySelectorAll"in v))return new Error("".concat(v," is not a valid node."));var g=v.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");g.forEach(function(m){f.load(m,p)})}},{key:"getDimensionForValue",value:function(f,p,v){return(0,n.getDimensionForValue)(f,p,v)}},{key:"setImageSource",value:function(f,p,v,g){var m=this,b=(0,n.getUrl)(p,v);if(!b)return!1;var C=function(){(0,n.removeClass)(f,a.IMAGE_LOADING_CLASS),(0,n.removeClass)(f,a.LEGACY_IMAGE_LOADING_CLASS)},A=function(){C(),f.removeEventListener("load",A)};return f.addEventListener("load",A),this.debuggerEnabled&&f.setAttribute("data-version","module"),!(f.getAttribute("src")&&p.load!=="true"&&p.forceImageUpdate!==!0)&&((0,n.addClass)(f,a.IMAGE_LOADING_CLASS),(0,n.addClass)(f,a.LEGACY_IMAGE_LOADING_CLASS),p.hasImageDimensionData?(f.dataset.imageResolution=v,f.setAttribute("src",b),C(),p.useBgImage&&(f.parentNode.style.backgroundImage="url("+b+")"),!0):((0,n.preloadImage)(b,function(_){m.debuggerEnabled&&console.log("Loaded ".concat(b," to get image dimensions.")),f.setAttribute("data-image-dimensions",_.width+"x"+_.height),C(),m.load(f,g)},function(_,P){f.setAttribute("src",P),C(),m.debuggerEnabled&&console.log("".concat(P," failed to load."))}),!1))}},{key:"setImageUsingSrcset",value:function(f,p){var v=function(){(0,n.removeClass)(f,a.IMAGE_LOADING_CLASS),(0,n.removeClass)(f,a.LEGACY_IMAGE_LOADING_CLASS);var g;"currentSrc"in Image.prototype&&(g=(0,n.getSizeFromUrl)(f.currentSrc,p),f.setAttribute("data-image-resolution",g)),f.removeEventListener("load",v)};return f.addEventListener("load",v),f.complete&&v(),!0}},{key:"_getDataFromNode",value:function(f,p){return(0,o.getLoadingConfiguration)(f,p)}}]),u}(),d=c;l.default=d,y.exports=l.default},137721:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.CROP_ARGUMENT_TO_CROP_MODE=l.FIT_ALIGNMENT_TO_OBJECT_POSITION=l.LEGACY_IMAGE_LOADING_CLASS=l.IMAGE_LOADING_CLASS=l.SQUARESPACE_SIZES=void 0;var e=[2500,1500,1e3,750,500,300,100];l.SQUARESPACE_SIZES=e;var a="sqs-image-loading";l.IMAGE_LOADING_CLASS="sqs-image-loading";var n="loading";l.LEGACY_IMAGE_LOADING_CLASS="loading";var o={horizontal:{center:"50%",left:"0%",right:"100%"},vertical:{bottom:"100%",center:"50%",top:"0%"}};l.FIT_ALIGNMENT_TO_OBJECT_POSITION=o;
7var t={"content-fill":"cover",fill:"cover",cover:"cover","content-fit":"contain",fit:"contain",contain:"contain"};l.CROP_ARGUMENT_TO_CROP_MODE=t},637598:function(y,l,e){"use strict";var a=n(e(273946));Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;function n(r){return r&&r.__esModule?r:{default:r}}var o=function(){return a.default},t=o();l.default=t,y.exports=l.default},292610:function(y,l,e){"use strict";e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var a=t(e(273946)),n=t(e(578860)),o=t(e(308904));function t(s){return s&&s.__esModule?s:{default:s}}function r(s,f){if(!(s instanceof f))throw new TypeError("Cannot call a class as a function")}function i(s,f){for(var p,v=0;v<f.length;v++)p=f[v],p.enumerable=p.enumerable||!1,p.configurable=!0,"value"in p&&(p.writable=!0),Object.defineProperty(s,p.key,p)}function c(s,f,p){return f&&i(s.prototype,f),p&&i(s,p),s}var d=function(){return a.default.Builder=function(){var s=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},f=function(){function p(){var v=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};r(this,p),this.opts=v,this.imageloader=a.default}return c(p,[{key:"withPromises",value:function(){return this.imageloader=(0,n.default)(this.imageloader),this}},{key:"withLazyLoading",value:function(){return this.imageloader=(0,o.default)(this.imageloader),this}},{key:"build",value:function(){return new this.imageloader(this.opts)}}]),p}();return new f(s)},a.default},u=d();l.default=u,y.exports=l.default},308904:function(y,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;function a(m){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(b){return typeof b}:function(b){return b&&typeof Symbol=="function"&&b.constructor===Symbol&&b!==Symbol.prototype?"symbol":typeof b},a(m)}function n(m,b){if(!(m instanceof b))throw new TypeError("Cannot call a class as a function")}function o(m,b){for(var C,A=0;A<b.length;A++)C=b[A],C.enumerable=C.enumerable||!1,C.configurable=!0,"value"in C&&(C.writable=!0),Object.defineProperty(m,C.key,C)}function t(m,b,C){return b&&o(m.prototype,b),C&&o(m,C),m}function r(m,b){if(typeof b!="function"&&b!==null)throw new TypeError("Super expression must either be null or a function");m.prototype=Object.create(b&&b.prototype,{constructor:{value:m,writable:!0,configurable:!0}}),b&&i(m,b)}function i(m,b){return i=Object.setPrototypeOf||function(C,A){return C.__proto__=A,C},i(m,b)}function c(m){var b=s();return function(){var C,A=f(m);if(b){var _=f(this).constructor;C=Reflect.construct(A,arguments,_)}else C=A.apply(this,arguments);return d(this,C)}}function d(m,b){return b&&(a(b)==="object"||typeof b=="function")?b:u(m)}function u(m){if(m===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return m}function s(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(m){return!1}}function f(m){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(b){return b.__proto__||Object.getPrototypeOf(b)},f(m)}var p={root:null,rootMargin:"200px 200px 200px 200px",thresholds:[0]},v=function(){var m=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return function(b){function C(){var _,P=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return n(this,C),_=A.call(this,P),_.intersectionObserverEntries=[],_.lazyLoadObserver=null,_.boundImageLoadHandler=_._unobserverOnLoad.bind(u(_)),_}r(C,b);var A=c(C);return t(C,[{key:"loadLazy",value:function(P){var T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},x=2<arguments.length&&arguments[2]!==void 0?arguments[2]:p;return P&&P.tagName==="IMG"?self.IntersectionObserver?(this.lazyLoadObserver||(this.observerRootNode=x.root||self.document.body,this.lazyLoadObserver=new IntersectionObserver(this._onObserverChange.bind(this),x)),this._observe(P,T),this.lazyLoadObserver):(this.load(P,T),!1):new Error("No image")}},{key:"loadAllLazy",value:function(){var P=this,T=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},x=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body,M=2<arguments.length&&arguments[2]!==void 0?arguments[2]:p;if(x===null||!x.querySelectorAll)return new Error("".concat(x," is not a valid node."));var U=x.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");return U.length===0?null:self.IntersectionObserver?(this.observerRootNode=M.root||self.document.body,this.lazyLoadObserver=new IntersectionObserver(this._onObserverChange.bind(this),M),U.forEac
7h(function(j){P._observe(j,T)}),this.lazyLoadObserver):(this.loadAll(T,x),!1)}},{key:"_observe",value:function(P,T){var x=this._getTargetNode(P);return this.intersectionObserverEntries.findIndex(function(M){return M.target===x})===-1&&(P.addEventListener("load",this.boundImageLoadHandler),this.lazyLoadObserver.observe(x),void this.intersectionObserverEntries.push({target:x,params:T}))}},{key:"_onObserverChange",value:function(P){var T=this;P.forEach(function(x){x.isIntersecting&&self.requestAnimationFrame(function(){var M=x.target.tagName==="IMG"?x.target:x.target.querySelector("img"),U={};T.intersectionObserverEntries=T.intersectionObserverEntries.filter(function(j){return j.target===x.target&&(U=j.params),j.target!==x.target}),T.load(M,U),T.lazyLoadObserver.unobserve(x.target)})})}},{key:"_unobserverOnLoad",value:function(P){var T=P.currentTarget,x=this._getTargetNode(P.currentTarget);this.lazyLoadObserver.unobserve(x),T.removeEventListener("load",this.boundImageLoadHandler)}},{key:"_getTargetNode",value:function(P){var T=P.parentNode;return T===this.observerRootNode||P.offsetHeight!==0?P:T}}]),C}(m)},g=v;l.default=g,y.exports=l.default},578860:function(y,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;function a(g){"@babel/helpers - typeof";return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(m){return typeof m}:function(m){return m&&typeof Symbol=="function"&&m.constructor===Symbol&&m!==Symbol.prototype?"symbol":typeof m},a(g)}function n(g,m){if(!(g instanceof m))throw new TypeError("Cannot call a class as a function")}function o(g,m){for(var b,C=0;C<m.length;C++)b=m[C],b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(g,b.key,b)}function t(g,m,b){return m&&o(g.prototype,m),b&&o(g,b),g}function r(g,m){if(typeof m!="function"&&m!==null)throw new TypeError("Super expression must either be null or a function");g.prototype=Object.create(m&&m.prototype,{constructor:{value:g,writable:!0,configurable:!0}}),m&&i(g,m)}function i(g,m){return i=Object.setPrototypeOf||function(b,C){return b.__proto__=C,b},i(g,m)}function c(g){var m=s();return function(){var b,C=f(g);if(m){var A=f(this).constructor;b=Reflect.construct(C,arguments,A)}else b=C.apply(this,arguments);return d(this,b)}}function d(g,m){return m&&(a(m)==="object"||typeof m=="function")?m:u(g)}function u(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}function s(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(g){return!1}}function f(g){return f=Object.setPrototypeOf?Object.getPrototypeOf:function(m){return m.__proto__||Object.getPrototypeOf(m)},f(g)}var p=function(){var g=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return function(m){function b(){var A=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{};return n(this,b),C.call(this,A)}r(b,m);var C=c(b);return t(b,[{key:"loadAsync",value:function(_){var P=this,T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{};if(!_)return Promise.reject(new Error("No images"));var x,M,U=function($,G){$.removeEventListener("load",x),$.removeEventListener("error",M),G.resolve($)},j=function($,G){$.removeEventListener("load",x),$.removeEventListener("error",M),G.reject(new Error($+" not loaded"))};return new Promise(function($,G){x=U.bind(null,_,{resolve:$,reject:G}),M=j.bind(null,_,{resolve:$,reject:G}),_.addEventListener("load",x),_.addEventListener("error",M);var J=P.load(_,T);(typeof J=="string"||J===!1)&&U(_,{resolve:$,reject:G})})}},{key:"loadAllAsync",value:function(){var _=this,P=0<arguments.length&&arguments[0]!==void 0?arguments[0]:{},T=1<arguments.length&&arguments[1]!==void 0?arguments[1]:document.body,x=2<arguments.length?arguments[2]:void 0;if(T===null)return Promise.reject(new Error("No root node"));var M=T.querySelectorAll("img[data-src]","img[data-srcset]","img[srcset]");if(M.length===0)return Promise.reject(new Error("No images"));var U=Array.from(M).map(function(j){return _.loadAsync(j,P,x)});return Promise.all(U)}}]),b}(g)},v=p;l.default=v,y.exports=l.default},224641:function(y,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esMo
7dule",{value:!0}),l.validatedImage=l.shouldUpdateResolution=l.removeClass=l.positionImage=l.positionCroppedImage=l.isSquarespaceUrl=l.hasClass=l.getUrl=l.getTargetDimensions=l.getSizeFromUrl=l.getOffsetForAlignment=l.getObjectPositionForAlignment=l.getIntendedImageSize=l.getImageScale=l.preloadImage=l.getDimensionForValue=l.getComputedStyle=l.getAssetUrl=l.checkFeatureSupport=l.calculateParentDimensions=l.addClass=void 0;var a=e(137721),n=e(713114);function o(H){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(X){return typeof X}:function(X){return X&&typeof Symbol=="function"&&X.constructor===Symbol&&X!==Symbol.prototype?"symbol":typeof X},o(H)}var t=function(H,X){return H.className.indexOf(X)!==-1};l.hasClass=t;var r=function(H,X){return!t(H,X)&&(H.className+=(H.className?" ":"")+X,!0)};l.addClass=r;var i=function(H,X){return!!t(H,X)&&(H.className=H.className.replace(X," ").trim(),!0)};l.removeClass=i;var c=function(H){return["?","#"].forEach(function(X){var k=H.indexOf(X);0<k&&(H=H.substring(0,k))}),-1<H.indexOf("squarespace-cdn.com")||-1<H.indexOf("squarespace.com")||-1<H.indexOf("squarespace.net")||-1<H.indexOf("sqsp.net")||-1<H.indexOf("sqspcdn.com")};l.isSquarespaceUrl=c;var d=function(H,X,k){var ne=H.ownerDocument.defaultView;return H.currentStyle?H.currentStyle[k||X]:ne.getComputedStyle?ne.getComputedStyle(H,null).getPropertyValue(X):""};l.getComputedStyle=d;var u=function(H,X,k){var ne=new Image;ne.addEventListener("load",function(re){var le=re.currentTarget;X(le)}),ne.addEventListener("error",function(re){k(re,H)}),ne.src=H};l.preloadImage=u;var s=function(){var H=function(){var ne=document.createElement("img"),re="srcset"in ne;return ne=null,re}(),X=function(){var ne=document.createElement("div"),re="objectFit"in ne.style;return ne=null,re}(),k=function(){var ne=document.createElement("div"),re="objectPosition"in ne.style;return ne=null,re}();return{doesSupportSrcset:H,doesSupportObjectPosition:k,doesSupportObjectFit:X}};l.checkFeatureSupport=s;var f=function(H,X){H.getDOMNode&&(H=H.getDOMNode());var k=H.nodeName==="IMG"&&H;if(!k)return console.warn("Element is not a valid image element."),!1;var ne=t(H,a.IMAGE_LOADING_CLASS);if(ne){var re=X.allowConcurrentLoads;if(X.debuggerEnabled&&console.warn("".concat(H,' contains the class "').concat(a.IMAGE_LOADING_CLASS,'"; it will ').concat(re?"":"not ","be processed.")),!re)return!1}return k};l.validatedImage=f;var p=function(H,X,k){var ne=k.dimensions.width,re=k.dimensions.height;H===0&&X===0?(H=ne,X=re):H===0?H=X*ne/re:X===0&&(X=H*re/ne);var le=H/X;return{parentWidth:H,parentHeight:X,parentRatio:le}};l.calculateParentDimensions=p;var v=function(H,X){var k=H.cropMode,ne=X.parentNode,re=H.dimensions.width,le=H.dimensions.height,se=re/le,ae={height:ne.clientHeight,width:ne.clientWidth},pe=p(ae.width,ae.height,H),Pe=pe.parentRatio,ve=Pe.toFixed(1);X.getAttribute("data-parent-ratio")!==ve&&X.setAttribute("data-parent-ratio",ve);var Me;return Me=k==="cover"&&se>Pe||k==="contain"&&se<Pe?ae.height/le:ae.width/re,H.stretch||k!=="contain"||(Me=Math.min(Me,1)),Me};l.getImageScale=v;var g=function(H,X,k,ne){H&&o(H)==="object"||(console.warn('Missing alignment for "content-fit" image.'),H={center:!0});var re=X;return re.left=H.left?0:H.right?k-re.width:re.width<k?(k-re.width)/2:0,re.top=H.top?0:H.bottom?ne-re.height:re.height<ne?(ne-re.height)/2:0,re};l.getOffsetForAlignment=g;var m=function(H,X){var k=H.getAttribute("alt"),ne=k&&0<k.length&&!H.getAttribute("src");if(ne){var re=H.style.display;H.removeAttribute("alt"),H.style.display="none",H.focus(),H.style.display=re}X(),ne&&H.setAttribute("alt",k)},b=function(H,X){var k=H.parentNode,ne=X.cropMode,re=X.dimensions.width,le=X.dimensions.height,se=re/le,ae=p(k.clientWidth,k.clientHeight,X),pe=ae.parentRatio,Pe=ae.parentWidth,ve=ae.parentHeight,Me={};if(X.fixedRatio)Me.unit="%",ne==="cover"&&pe>se||ne==="contain"&&pe<se?(Me.width=100,Me.height=100*(pe/se),Me.top=(100-Me.height)*X.focalPoint.y,Me.left=0):(Me.width=100*(se/pe),Me.height=100,Me.top=0,Me.left=(100-Me.width)*X.focalPoint.x);else{Me.unit="px";var ht=v(X,H);Me.width=re*ht,Me.height=le*ht,ne==="cover"?(Me.left=Math.min(Math.max(Pe/2-Me.width*X.focalPoint.x,Pe-
7Me.width),0),Me.top=Math.min(Math.max(ve/2-Me.height*X.focalPoint.y,ve-Me.height),0)):Object.assign(Me,g(X.fitAlignment,Me,Pe,ve))}return d(H,"display")==="inline"&&(H.style.fontSize="0px"),m(H,function(){Me.width-=H.offsetHeight-H.clientHeight,Me.height-=H.offsetWidth-H.clientWidth}),{top:Me.top,left:Me.left,width:Me.width,height:Me.height,unit:Me.unit}};l.getTargetDimensions=b;var C=function(H,X){var k=H.parentNode,ne=X.cropMode,re=b(H,X);H.style.left=re.left+re.unit,H.style.top=re.top+re.unit,H.style.width=re.width+re.unit,H.style.height=re.height+re.unit;var le=d(k,"position");return H.style.position=le==="relative"?"absolute":"relative",ne==="cover"&&(k.style.overflow="hidden"),!0};l.positionImage=C;var A=function(H){H||(console.warn('Missing alignment for "content-fit" image.'),H={center:!0});var X={horizontal:"50%",vertical:"50%"};return Object.keys(H).forEach(function(k){H[k]===!0&&(a.FIT_ALIGNMENT_TO_OBJECT_POSITION.horizontal[k]?X.horizontal=a.FIT_ALIGNMENT_TO_OBJECT_POSITION.horizontal[k]:X.vertical=a.FIT_ALIGNMENT_TO_OBJECT_POSITION.vertical[k])}),X};l.getObjectPositionForAlignment=A;var _=function(H,X,k){var ne=v(X,H),re=H.parentNode,le=Math.ceil(X.dimensions.width*ne),se=Math.ceil(X.dimensions.height*ne),ae=k==="width"?re.offsetWidth:re.offsetHeight,pe=k==="width"?le:se,Pe=k==="width"?X.focalPoint.x:X.focalPoint.y,ve=pe-ae;if(ve===0)return Pe;var Me=Math.max(Math.min(pe*Pe-.5*ae,ve),0)/ve;return Me},P=function(H,X,k){var ne=(H.parentNode.offsetWidth/H.parentNode.offsetHeight).toFixed(1),re=H.getAttribute("data-parent-ratio")!==ne,le="".concat(X.focalPoint.x,",").concat(X.focalPoint.y),se=H.getAttribute("data-image-focal-point")!==le;return se?(H.setAttribute("data-image-focal-point",le),!0):!!re||(k.debuggerEnabled&&console.log("skipping repositioning"),!1)},T=function(H,X,k){if(X.useAdvancedPositioning&&k.doesSupportObjectFit&&k.doesSupportObjectPosition){if(!P(H,X,k))return!0;if(H.style.width="100%",H.style.height="100%",X.cropMode==="cover"){var ne={x:_(H,X,"width"),y:_(H,X,"height")};H.style.objectPosition="".concat(100*ne.x,"% ").concat(100*ne.y,"%"),H.style.objectFit="cover"}else if(X.cropMode==="contain"){var re=A(X.fitAlignment);H.style.objectPosition="".concat(re.horizontal," ").concat(re.vertical),H.style.objectFit="contain"}return k.debuggerEnabled&&console.log("advanced position used"),X.isUsingAdvancedPositioning=!0,!0}if(X.useBgImage&&X.cropMode==="cover"&&"backgroundSize"in document.documentElement.style){if(!P(H,X,k))return!0;H.style.visibility="hidden",H.parentNode.style.backgroundSize="cover";var le={x:_(H,X,"width"),y:_(H,X,"height")};return H.parentNode.style.backgroundPosition="".concat(100*le.x,"% ").concat(100*le.y,"%"),X.isUsingAdvancedPositioning=!0,!0}return!1},x=function(H,X,k){var ne=H.parentNode;return ne?!!T(H,X,k)||C(H,X,k):(console.warn("Image element has no parentNode."),!1)};l.positionCroppedImage=x;var M=function(H,X,k){var ne=k.dimensions.width,re=k.dimensions.height;if(H==="width")return ne/re*X;if(H==="height")return re/ne*X;throw new Error("Value for ".concat(H," is NaN."))};l.getDimensionForValue=M;var U=function(H){return H.substr(0,1).toUpperCase()+H.substr(1)},j=function(H){return typeof H=="string"&&-1<H.indexOf("%")?"percentage":isNaN(parseInt(H,10))?NaN:"number"},$=function(H,X,k){var ne,re,le=function(se,ae){X.cropMode==="none"&&(H.style.width=null,H.style.height=null);var pe=parseFloat(H.getAttribute(se)),Pe=parseFloat(H.getAttribute(se));if((!Pe||isNaN(Pe))&&(pe=d(H,se),Pe=parseFloat(pe)),(!Pe||isNaN(Pe))&&(pe=d(H,"max-"+se,"max"+U(se)),Pe=parseFloat(pe)),ae===0||pe)switch(j(pe)){case"percentage":ae=parseInt(pe,10)/100*H.parentNode["offset"+U(se)];break;case"number":ae=parseInt(pe,10)}return Pe||ae===0||H.getAttribute("src")||(ae=0),ae};return X.isUsingAdvancedPositioning?(ne=H.parentNode.offsetWidth,re=H.parentNode.offsetHeight):(ne=H.offsetWidth,re=H.offsetHeight,m(H,function(){ne=le("width",ne),re=le("height",re)})),ne===0&&re===0?(ne=X.dimensions.width,re=X.dimensions.height):ne===0?ne=M("width",re,X):re===0&&(re=M("height",ne,X)),X.load==="viewport"&&(H.style.width="".concat(Math.floor(ne),"px"),H.style.height="".concat(Math.floor(re),"px")),(0,n.getSquarespaceSize)(X,ne,re,k)};l.getIntendedImageSize=$;var G=function(H,X){var k=H.getAttribute("data-image-resolution");return X=parseInt(X,10),k=parseInt(k,10),!!(isNaN(X)||isNaN(k))||X>k};l.shouldUpdateResolution=G;var J=function(H,X){var k=H.source;if(!k||!k[0])return console.warn("Invalid or missing image source."),!1;if(X&&(k[0]==="/"||c(k))){if(H.sizeFormat==="queryString"&&k.indexOf("format="+X)===-1)return k=k+(-1<k.indexOf("?")?"&":"?")+"format="+X,k;if(H.sizeFormat==="filename"&&k.indexOf("-"+X)===-1){var ne=k.slice(k.lastIndexOf("."));return k=k.replace(ne,"-"+X+ne),k}}return k};l.getUrl=J;var ie=function(H){return H.sizeFormat==="queryString"?/(=)(\d{3,}w)*(original)*/i:/(-)(\d{3,}w)*(original)*/i},W=function(H,X){var k=ie(X);return H.match(k)[2]||H.match(k)[3]};l.getSizeFromUrl=W;var q=function(H,X){var k;return X.sizeFormat==="queryString"&&(k=/(\S{1,})(\?format=)(\d{3,}w)/i),H.match(k)[1]};l.getAssetUrl=q},873588:function(y,l,e){"use strict";e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),e(392338),Object.defineProperty(l,"__esMo
7dule",{value:!0}),l.getLoadingConfiguration=void 0;var a=e(137721),n=e(224641),o=function(t){var r=1<arguments.length&&arguments[1]!==void 0?arguments[1]:{},i={dimensions:function(){if(r.dimensions)return r.dimensions;var d=t.getAttribute("data-image-dimensions");return d&&(d=d.split("x"))&&d.length===2?{width:parseInt(d[0],10),height:parseInt(d[1],10)}:{width:null,height:null}}(),fixedRatio:function(){if(r.fixedRatio)return r.fixedRatio;var d=t.getAttribute("data-fixed-ratio");return!!d&&d==="true"}(),focalPoint:function(){if(r.focalPoint&&!isNaN(parseFloat(r.focalPoint.x))&&!isNaN(parseFloat(r.focalPoint.y)))return r.focalPoint;var d=t.getAttribute("data-image-focal-point");return d&&(d=d.split(",").map(parseFloat))&&d.length===2?{x:d[0],y:d[1]}:{x:.5,y:.5}}(),load:function(){if(r.load||r.load===!1)return r.load.toString();var d=t.getAttribute("data-load");return d||"true"}(),forceImageUpdate:function(){if(r.forceImageUpdate||r.forceImageUpdate===!1)return r.forceImageUpdate;var d=t.getAttribute("data-force-image-update");return!!d&&d==="true"}(),cropMode:function(){if(r.mode)return a.CROP_ARGUMENT_TO_CROP_MODE[r.mode]||"none";var d=a.CROP_ARGUMENT_TO_CROP_MODE[t.getAttribute("data-mode")];if(d)return d;if(!t.parentNode)return"none";var u=t.parentNode.className;return-1<u.indexOf("content-fill")?a.CROP_ARGUMENT_TO_CROP_MODE["content-fill"]:-1<u.indexOf("content-fit")?a.CROP_ARGUMENT_TO_CROP_MODE["content-fit"]:"none"}(),sizeAdjustment:function(){var d=function(u){return u=parseFloat(u),isNaN(u)?1:Math.max(u,0)};return typeof r.sizeAdjustment=="undefined"?d(t.getAttribute("data-size-adjustment")):d(r.sizeAdjustment)}(),sizeFormat:function(){if(r.sizeFormat)return r.sizeFormat;var d=t.getAttribute("data-size-format");return d==="filename"?"filename":"queryString"}(),source:function(){if(r.source)return r.source;var d=t.getAttribute("data-src");if(d)return(0,n.isSquarespaceUrl)(d)&&(d=d.replace(/(http:\/\/)/g,"https://")),d}(),stretch:function(){if(typeof r.stretch!="undefined")return r.stretch;var d=t.getAttribute("data-image-stretch");return!d||d==="true"}(),useBgImage:function(){if(typeof r.useBgImage!="undefined")return r.useBgImage;var d=t.getAttribute("data-use-bg-image");return!!d&&d==="true"}(),useAdvancedPositioning:function(){if(typeof r.useAdvancedPositioning!="undefined")return r.useAdvancedPositioning;var d=t.getAttribute("data-use-advanced-positioning");return!!d&&d==="true"}()};if(i.allowSaveData="allowSaveData"in r?r.allowSaveData:t.getAttribute("data-allow-save-data")==="true",i.dprMax="dprMax"in r?r.dprMax:parseInt(t.getAttribute("data-dpr-max"),10)||1/0,i.dprMin="dprMin"in r?r.dprMin:parseInt(t.getAttribute("data-dpr-min"),10)||0,i.cropMode==="contain"&&t.parentNode){var c=r.fitAlignment||t.getAttribute("data-alignment")||t.parentNode.getAttribute("data-alignment")||"center";c&&(i.fitAlignment=["top","left","center","right","bottom"].reduce(function(d,u){return d[u]=-1<c.indexOf(u),d},{}))}return i.dimensions&&i.dimensions.width&&i.dimensions.height&&(i.hasImageDimensionData=!0),i};l.getLoadingConfiguration=o},713114:function(y,l,e){"use strict";var a=e(224641);Object.defineProperty(l,"__esModule",{value:!0}),l.getSquarespaceSize=void 0;function n(t){if(typeof app!="undefined"||typeof window.devicePixelRatio!="number")return t.sizeAdjustment;var r=t.allowSaveData&&"navigator"in window&&"connection"in window.navigator&&window.navigator.connection.saveData?Math.min(window.devicePixelRatio,1):window.devicePixelRatio;return Math.max(t.dprMin,Math.min(t.dprMax,r))*t.sizeAdjustment}var o=function(t,r,i,c){for(var d=(0,a.getDimensionForValue)("width",i,t),u=Math.max(d,r)*n(t),s=c.sizes.length,f=1;f<s;f++)if(u>c.sizes[f])return c.sizes[f-1]+"w";return c.sizes[s-1]+"w"};l.getSquarespaceSize=o},296194:function(y){"use strict";function l(n,o){function t(){this.constructor=n}t.prototype=o.prototype,n.prototype=new t}function e(n,o,t,r){this.message=n,this.expected=o,this.found=t,this.location=r,this.name="SyntaxError",typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(this,e)}l(e,Error),e.buildMessage=function(n,o){var t={literal:function(f){return'"'+i(f.text)+'"'},class:function(f){var p="",v;for(v=0;v<f.parts.length;v++)p+=f.parts[v]instanceof Array?c(f.parts[v][0])+"-"+c(f.parts[v][1]):c(f.parts[v]);return"["+(f.inverted?"^":"")+p+"]"},any:function(f){return"any character"},end:function(f){return"end of input"},other:function(f){return f.description}};function r(f){return f.charCodeAt(0).toString(16).toUpperCase()}function i(f){return f.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(p){return"\\x0"+r(p)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(p){return"\\x"+r(p)})}function c(f){return f.replace(/\\/g,"\\\\").replace(/\]/g,"\\]").replace(/\^/g,"\\^").replace(/-/g,"\\-").replace(/\0/g,"\\0").replace(/\t/g,"\\t").replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/[\x00-\x0F]/g,function(p){return"\\x0"+r(p)}).replace(/[\x10-\x1F\x7F-\x9F]/g,function(p){return"\\x"+r(p)})}function d(f){return t[f.type](f)}function u(f){var p=new Array(f.length),v,g;for(v=0;v<f.length;v++)p[v]=d(f[v]);if(p.sort(),p.length>0){for(v=1,g=1;v<p.length;v++)p[v-1]!==p[v]&&(p[g]=p[v],g++);p.length=g}switch(p.length){case 1:return p[0];case 2:return p[0]+" or "+p[1];default:return p.slice(0,-1).join(", ")+", or "+p[p.length-1]}}function s(f){return f?'"'+i(f)+'"':"end of input"}return"Expected "+u(n)+" but "+s(o)+" found."};function a(n,o){o=o!==void 0?o:{};var t={},r={start:si},i=si,c="#",d=pr("#",!1),u=function(){return Zr},s=function(){return{type:"octothorpe"}},f=function(oe){return oe.join("")},p="{",v=pr("{",!1),g="}",m=pr("}",!1),b=function(oe){return{type:"argument",arg:oe}},C=",",A=pr(",",!1),_="select",P=pr("select",!1),T=function(oe,we){return o.strictNumberSign&&(Zr=!1),we},x=function(oe,we){return{type:"select",arg:oe,cases:we}},M="plural",U=pr("plural",!1),j="selectordinal",$=pr("selectordinal",!1),G=function(oe,we){return Zr=!0,we},J=function(oe,we,nt,Qt){var On=(we==="selectordinal"?o.ordinal:o.cardinal)||["zero","one","two","few","many","other"];return On&&On.length&&Qt.forEach(function(Mn){if(isNaN(Mn.key)&&On.indexOf(Mn.key)<0)throw new Error("Invalid key `"+Mn.key+"` for argument `"+oe+"`. Valid "+we+" keys for this locale are `"+On.join("`, `")+"`, and explicit keys like `=0`.")}),Zr=!1,{type:we,arg:oe,offset:nt||0,cases:Qt}},ie=function(oe,we,nt){return{type:"function",arg:oe,key:we,params:nt}},W=/^[^\t-\r \x85\u200E\u200F\u2028\u2029!-,;-@[-\^`{-~\xA1-\xA7\xA9\xAB\xAC\xAE\xB0\xB1\xB6\xBB\xBF\xD7\xF7\u2010-\u2027\u2030-\u203E\u2041-\u2053\u2055-\u205E\u2190-\u245F\u2500-\u2775\u2794-\u2BFF\u2E00-\u2E7F\u3001-\u3003\u3008-\u3020\u3030\uFD3E\uFD3F\uFE45\uFE46]/,q=jr([["	","\r"]," ","\x85","\u200E","\u200F","\u2028","\u2029",["!",","],[";","@"],["[","^"],"`",["{","~"],["\xA1","\xA7"],"\xA9","\xAB","\xAC","\xAE","\xB0","\xB1","\xB6","\xBB","\xBF","\xD7","\xF7",["\u2010","\u2027"],["\u2030","\u203E"],["\u2041","\u2053"],["\u2055","\u205E"],["\u2190","\u245F"],["\u2500","\u2775"],["\u2794","\u2BFF"],["\u2E00","\u2E7F"],["\u3001","\u3003"],["\u3008","\u3020"],"\u3030","\uFD3E","\uFD3F","\uFE45","\uFE46"],!0,!1),H=function(oe,we){return{key:oe,tokens:we}},X=function(oe){return oe},k="offset",ne=pr("offset",!1),re=":",le=pr(":",!1),se=function(oe){return oe},ae="=",pe=pr("=",!1),Pe=function(oe){return o.strictFunctionParams},ve=function(oe){return oe},Me=function(oe){return oe.replace(Pa,"")},ht="''",xt=pr("''",!1),At=function(){return"'"}
7,Bt=/^[^']/,en=jr(["'"],!0,!1),Vt="'{",be=pr("'{",!1),Le="'",Oe=pr("'",!1),yt=function(oe){return"{"+oe.join("")},wt="'}",Lt=pr("'}",!1),jt=function(oe){return"}"+oe.join("")},Xe="'#",zt=pr("'#",!1),nn=function(oe){return"#"+oe.join("")},st=function(oe){return oe[0]},Ut=function(oe){return!Zr},Jt=function(oe){return oe},on=/^[^{}#\\\0-\x08\x0E-\x1F\x7F]/,ln=jr(["{","}","#","\\",["\0","\b"],["�","�"],"\x7F"],!0,!1),te="\\\\",Ee=pr("\\\\",!1),Ue=function(){return"\\"},ze="\\#",Ve=pr("\\#",!1),fe=function(){return"#"},We="\\{",tt=pr("\\{",!1),St=function(){return"{"},Gt="\\}",Zt=pr("\\}",!1),Un=function(){return"}"},Yt="\\u",jn=pr("\\u",!1),kr=function(oe,we,nt,Qt){return String.fromCharCode(parseInt("0x"+oe+we+nt+Qt))},Jr=/^[^',}]/,Tr=jr(["'",",","}"],!0,!1),Or=/^[^'}]/,or=jr(["'","}"],!0,!1),bi=/^[0-9]/,zi=jr([["0","9"]],!1,!1),aa=/^[0-9a-fA-F]/,oa=jr([["0","9"],["a","f"],["A","F"]],!1,!1),Gi=/^[\t-\r \x85\u200E\u200F\u2028\u2029]/,Wi=jr([["	","\r"]," ","\x85","\u200E","\u200F","\u2028","\u2029"],!1,!1),Ae=0,Pn=0,Ii=[{line:1,column:1}],Hr=0,sa=[],vn=0,Br;if("startRule"in o){if(!(o.startRule in r))throw new Error("Can't start parsing from rule \""+o.startRule+'".');i=r[o.startRule]}function Oi(){return n.substring(Pn,Ae)}function Zi(){return oi(Pn,Ae)}function wi(oe,we){throw we=we!==void 0?we:oi(Pn,Ae),Yi([Ji(oe)],n.substring(Pn,Ae),we)}function Ri(oe,we){throw we=we!==void 0?we:oi(Pn,Ae),pa(oe,we)}function pr(oe,we){return{type:"literal",text:oe,ignoreCase:we}}function jr(oe,we,nt){return{type:"class",parts:oe,inverted:we,ignoreCase:nt}}function fr(){return{type:"any"}}function Ca(){return{type:"end"}}function Ji(oe){return{type:"other",description:oe}}function _i(oe){var we=Ii[oe],nt;if(we)return we;for(nt=oe-1;!Ii[nt];)nt--;for(we=Ii[nt],we={line:we.line,column:we.column};nt<oe;)n.charCodeAt(nt)===10?(we.line++,we.column=1):we.column++,nt++;return Ii[oe]=we,we}function oi(oe,we){var nt=_i(oe),Qt=_i(we);return{start:{offset:oe,line:nt.line,column:nt.column},end:{offset:we,line:Qt.line,column:Qt.column}}}function sn(oe){Ae<Hr||(Ae>Hr&&(Hr=Ae,sa=[]),sa.push(oe))}function pa(oe,we){return new e(oe,null,null,we)}function Yi(oe,we,nt){return new e(e.buildMessage(oe,we),oe,we,nt)}function si(){var oe,we;for(oe=[],we=Kr();we!==t;)oe.push(we),we=Kr();return oe}function Kr(){var oe,we,nt;if(oe=ki(),oe===t&&(oe=Da(),oe===t&&(oe=ga(),oe===t&&(oe=qi(),oe===t&&(oe=Ae,n.charCo
7deAt(Ae)===35?(we=c,Ae++):(we=t,vn===0&&sn(d)),we!==t?(Pn=Ae,nt=u(),nt?nt=void 0:nt=t,nt!==t?(Pn=oe,we=s(),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe===t))))){if(oe=Ae,we=[],nt=ni(),nt!==t)for(;nt!==t;)we.push(nt),nt=ni();else we=t;we!==t&&(Pn=oe,we=f(we)),oe=we}return oe}function ki(){var oe,we,nt,Qt,On,Mn;return oe=Ae,n.charCodeAt(Ae)===123?(we=p,Ae++):(we=t,vn===0&&sn(v)),we!==t?(nt=Jn(),nt!==t?(Qt=Yr(),Qt!==t?(On=Jn(),On!==t?(n.charCodeAt(Ae)===125?(Mn=g,Ae++):(Mn=t,vn===0&&sn(m)),Mn!==t?(Pn=oe,we=b(Qt),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function Da(){var oe,we,nt,Qt,On,Mn,hi,gr,dr,pi,Mi,An,ci,Vn;if(oe=Ae,n.charCodeAt(Ae)===123?(we=p,Ae++):(we=t,vn===0&&sn(v)),we!==t)if(nt=Jn(),nt!==t)if(Qt=Yr(),Qt!==t)if(On=Jn(),On!==t)if(n.charCodeAt(Ae)===44?(Mn=C,Ae++):(Mn=t,vn===0&&sn(A)),Mn!==t)if(hi=Jn(),hi!==t)if(gr=Ae,n.substr(Ae,6)===_?(dr=_,Ae+=6):(dr=t,vn===0&&sn(P)),dr!==t&&(Pn=gr,dr=T(Qt,dr)),gr=dr,gr!==t)if(dr=Jn(),dr!==t)if(n.charCodeAt(Ae)===44?(pi=C,Ae++):(pi=t,vn===0&&sn(A)),pi!==t)if(Mi=Jn(),Mi!==t){if(An=[],ci=Re(),ci!==t)for(;ci!==t;)An.push(ci),ci=Re();else An=t;An!==t?(ci=Jn(),ci!==t?(n.charCodeAt(Ae)===125?(Vn=g,Ae++):(Vn=t,vn===0&&sn(m)),Vn!==t?(Pn=oe,we=x(Qt,An),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)}else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;return oe}function ga(){var oe,we,nt,Qt,On,Mn,hi,gr,dr,pi,Mi,An,ci,Vn,wn;
7if(oe=Ae,n.charCodeAt(Ae)===123?(we=p,Ae++):(we=t,vn===0&&sn(v)),we!==t)if(nt=Jn(),nt!==t)if(Qt=Yr(),Qt!==t)if(On=Jn(),On!==t)if(n.charCodeAt(Ae)===44?(Mn=C,Ae++):(Mn=t,vn===0&&sn(A)),Mn!==t)if(hi=Jn(),hi!==t)if(gr=Ae,n.substr(Ae,6)===M?(dr=M,Ae+=6):(dr=t,vn===0&&sn(U)),dr===t&&(n.substr(Ae,13)===j?(dr=j,Ae+=13):(dr=t,vn===0&&sn($))),dr!==t&&(Pn=gr,dr=G(Qt,dr)),gr=dr,gr!==t)if(dr=Jn(),dr!==t)if(n.charCodeAt(Ae)===44?(pi=C,Ae++):(pi=t,vn===0&&sn(A)),pi!==t)if(Mi=Jn(),Mi!==t)if(An=Je(),An===t&&(An=null),An!==t){if(ci=[],Vn=De(),Vn!==t)for(;Vn!==t;)ci.push(Vn),Vn=De();else ci=t;ci!==t?(Vn=Jn(),Vn!==t?(n.charCodeAt(Ae)===125?(wn=g,Ae++):(wn=t,vn===0&&sn(m)),wn!==t?(Pn=oe,we=J(Qt,gr,An,ci),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)}else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;else Ae=oe,oe=t;return oe}function qi(){var oe,we,nt,Qt,On,Mn,hi,gr,dr,pi,Mi;return oe=Ae,n.charCodeAt(Ae)===123?(we=p,Ae++):(we=t,vn===0&&sn(v)),we!==t?(nt=Jn(),nt!==t?(Qt=Yr(),Qt!==t?(On=Jn(),On!==t?(n.charCodeAt(Ae)===44?(Mn=C,Ae++):(Mn=t,vn===0&&sn(A)),Mn!==t?(hi=Jn(),hi!==t?(gr=Ae,dr=Yr(),dr!==t&&(Pn=gr,dr=T(Qt,dr)),gr=dr,gr!==t?(dr=Jn(),dr!==t?(pi=Pt(),pi!==t?(n.charCodeAt(Ae)===125?(Mi=g,Ae++):(Mi=t,vn===0&&sn(m)),Mi!==t?(Pn=oe,we=ie(Qt,gr,pi),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function Yr(){var oe,we,nt;if(oe=Ae,we=[],W.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(q)),nt!==t)for(;nt!==t;)we.push(nt),W.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(q));else we=t;return we!==t?oe=n.substring(oe,Ae):oe=we,oe}function qe(){var oe,we,nt;if(oe=Ae,we=[],nt=zr(),nt!==t)for(;nt!==t;)we.push(nt),nt=zr();else we=t;return we!==t&&(Pn=oe,we=f(we)),oe=we,oe}function He(){var oe,we,nt;if(oe=Ae,we=[],nt=ui(),nt!==t)for(;nt!==t;)we.push(nt),nt=ui();else we=t;return we!==t&&(Pn=oe,we=f(we)),oe=we,oe}function Re(){var oe,we,nt,Qt,On;return oe=Ae,we=Jn(),we!==t?(nt=Yr(),nt!==t?(Qt=Jn(),Qt!==t?(On=$e(),On!==t?(Pn=oe,we=H(nt,On),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function De(){var oe,we,nt,Qt,On;return oe=Ae,we=Jn(),we!==t?(nt=It(),nt!==t?(Qt=Jn(),Qt!==t?(On=$e(),On!==t?(Pn=oe,we=H(nt,On),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function $e(){var oe,we,nt,Qt,On,Mn;
7if(oe=Ae,n.charCodeAt(Ae)===123?(we=p,Ae++):(we=t,vn===0&&sn(v)),we!==t)if(nt=Ae,Qt=Jn(),Qt!==t?(On=Ae,vn++,n.charCodeAt(Ae)===123?(Mn=p,Ae++):(Mn=t,vn===0&&sn(v)),vn--,Mn!==t?(Ae=On,On=void 0):On=t,On!==t?(Qt=[Qt,On],nt=Qt):(Ae=nt,nt=t)):(Ae=nt,nt=t),nt===t&&(nt=null),nt!==t){for(Qt=[],On=Kr();On!==t;)Qt.push(On),On=Kr();Qt!==t?(On=Jn(),On!==t?(n.charCodeAt(Ae)===125?(Mn=g,Ae++):(Mn=t,vn===0&&sn(m)),Mn!==t?(Pn=oe,we=X(Qt),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)}else Ae=oe,oe=t;else Ae=oe,oe=t;return oe}function Je(){var oe,we,nt,Qt,On,Mn,hi,gr;return oe=Ae,we=Jn(),we!==t?(n.substr(Ae,6)===k?(nt=k,Ae+=6):(nt=t,vn===0&&sn(ne)),nt!==t?(Qt=Jn(),Qt!==t?(n.charCodeAt(Ae)===58?(On=re,Ae++):(On=t,vn===0&&sn(le)),On!==t?(Mn=Jn(),Mn!==t?(hi=ea(),hi!==t?(gr=Jn(),gr!==t?(Pn=oe,we=se(hi),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function It(){var oe,we,nt;return oe=Yr(),oe===t&&(oe=Ae,n.charCodeAt(Ae)===61?(we=ae,Ae++):(we=t,vn===0&&sn(pe)),we!==t?(nt=ea(),nt!==t?(Pn=oe,we=se(nt),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)),oe}function Pt(){var oe,we,nt;for(oe=Ae,we=[],nt=kt();nt!==t;)we.push(nt),nt=kt();if(we!==t?(Pn=Ae,nt=Pe(we),nt?nt=t:nt=void 0,nt!==t?(Pn=oe,we=ve(we),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe===t){for(oe=Ae,we=[],nt=tn();nt!==t;)we.push(nt),nt=tn();we!==t?(Pn=Ae,nt=Pe(we),nt?nt=void 0:nt=t,nt!==t?(Pn=oe,we=ve(we),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)}return oe}function tn(){var oe,we,nt,Qt;return oe=Ae,we=Jn(),we!==t?(n.charCodeAt(Ae)===44?(nt=C,Ae++):(nt=t,vn===0&&sn(A)),nt!==t?(Qt=He(),Qt!==t?(Pn=oe,we=ve(Qt),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function kt(){var oe,we,nt,Qt,On,Mn;return oe=Ae,we=Jn(),we!==t?(n.charCodeAt(Ae)===44?(nt=C,Ae++):(nt=t,vn===0&&sn(A)),nt!==t?(Qt=Jn(),Qt!==t?(On=qe(),On!==t?(Mn=Jn(),Mn!==t?(Pn=oe,we=Me(On),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe}function bn(){var oe,we;return oe=Ae,n.substr(Ae,2)===ht?(we=ht,Ae+=2):(we=t,vn===0&&sn(xt)),we!==t&&(Pn=oe,we=At()),oe=we,oe}function kn(){var oe,we,nt;if(oe=bn(),oe===t){if(oe=Ae,we=[],Bt.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(en)),nt!==t)for(;nt!==t;)we.push(nt),Bt.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(en));else we=t;we!==t&&(Pn=oe,we=f(we)),oe=we}return oe}function Ar(){var oe,we,nt,Qt;if(oe=Ae,n.substr(Ae,2)===Vt?(we=Vt,Ae+=2):(we=t,vn===0&&sn(be)),we!==t){for(nt=[],Qt=kn();Qt!==t;)nt.push(Qt),Qt=kn();nt!==t?(n.charCodeAt(Ae)===39?(Qt=Le,Ae++):(Qt=t,vn===0&&sn(Oe)),Qt!==t?(Pn=oe,we=yt(nt),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)}else Ae=oe,oe=t;if(oe===t)if(oe=Ae,n.substr(Ae,2)===wt?(we=wt,Ae+=2):(we=t,vn===0&&sn(Lt)),we!==t){for(nt=[],Qt=kn();Qt!==t;)nt.push(Qt),Qt=kn();nt!==t?(n.charCodeAt(Ae)===39?(Qt=Le,Ae++):(Qt=t,vn===0&&sn(Oe)),Qt!==t?(Pn=oe,we=jt(nt),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)}else Ae=oe,oe=t;return oe}function Ir(){var oe,we,nt,Qt,On,Mn;if(oe=Ar(),oe===t){if(oe=Ae,we=Ae,nt=Ae,n.substr(Ae,2)===Xe?(Qt=Xe,Ae+=2):(Qt=t,vn===0&&sn(zt)),Qt!==t){for(On=[],Mn=kn();Mn!==t;)On.push(Mn),Mn=kn();On!==t?(n.charCodeAt(Ae)===39?(Mn=Le,Ae++):(Mn=t,vn===0&&sn(Oe)),Mn!==t?(Pn=nt,Qt=nn(On),nt=Qt):(Ae=nt,nt=t)):(Ae=nt,nt=t)}else Ae=nt,nt=t;nt!==t?(Pn=Ae,Qt=u(),Qt?Qt=void 0:Qt=t,Qt!==t?(nt=[nt,Qt],we=nt):(Ae=we,we=t)):(Ae=we,we=t),we!==t&&(Pn=oe,we=st(we)),oe=we,oe===t&&(n.charCodeAt(Ae)===39?(oe=Le,Ae++):(oe=t,vn===0&&sn(Oe)))}return oe}function qr(){var oe;return oe=Ar(),oe===t&&(n.charCodeAt(Ae)===39?(oe=Le,Ae++):(oe=t,vn===0&&sn(Oe))),oe}function ni(){var oe,we,nt,Qt,On,Mn;
7return oe=bn(),oe===t&&(oe=Ir(),oe===t&&(oe=Ae,n.charCodeAt(Ae)===35?(we=c,Ae++):(we=t,vn===0&&sn(d)),we!==t?(Pn=Ae,nt=Ut(we),nt?nt=void 0:nt=t,nt!==t?(Pn=oe,we=Jt(we),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t),oe===t&&(on.test(n.charAt(Ae))?(oe=n.charAt(Ae),Ae++):(oe=t,vn===0&&sn(ln)),oe===t&&(oe=Ae,n.substr(Ae,2)===te?(we=te,Ae+=2):(we=t,vn===0&&sn(Ee)),we!==t&&(Pn=oe,we=Ue()),oe=we,oe===t&&(oe=Ae,n.substr(Ae,2)===ze?(we=ze,Ae+=2):(we=t,vn===0&&sn(Ve)),we!==t&&(Pn=oe,we=fe()),oe=we,oe===t&&(oe=Ae,n.substr(Ae,2)===We?(we=We,Ae+=2):(we=t,vn===0&&sn(tt)),we!==t&&(Pn=oe,we=St()),oe=we,oe===t&&(oe=Ae,n.substr(Ae,2)===Gt?(we=Gt,Ae+=2):(we=t,vn===0&&sn(Zt)),we!==t&&(Pn=oe,we=Un()),oe=we,oe===t&&(oe=Ae,n.substr(Ae,2)===Yt?(we=Yt,Ae+=2):(we=t,vn===0&&sn(jn)),we!==t?(nt=li(),nt!==t?(Qt=li(),Qt!==t?(On=li(),On!==t?(Mn=li(),Mn!==t?(Pn=oe,we=kr(nt,Qt,On,Mn),oe=we):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t)):(Ae=oe,oe=t))))))))),oe}function Vr(){var oe;return oe=bn(),oe===t&&(oe=qr()),oe}function zr(){var oe,we,nt;if(oe=Vr(),oe===t){if(oe=Ae,we=[],Jr.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(Tr)),nt!==t)for(;nt!==t;)we.push(nt),Jr.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(Tr));else we=t;we!==t&&(Pn=oe,we=f(we)),oe=we}return oe}function ui(){var oe,we,nt;if(oe=Vr(),oe===t){if(oe=Ae,we=[],Or.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(or)),nt!==t)for(;nt!==t;)we.push(nt),Or.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(or));else we=t;we!==t&&(Pn=oe,we=f(we)),oe=we}return oe}function ea(){var oe,we,nt;if(oe=Ae,we=[],bi.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(zi)),nt!==t)for(;nt!==t;)we.push(nt),bi.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(zi));else we=t;return we!==t?oe=n.substring(oe,Ae):oe=we,oe}function li(){var oe;return aa.test(n.charAt(Ae))?(oe=n.charAt(Ae),Ae++):(oe=t,vn===0&&sn(oa)),oe}function Jn(){var oe,we,nt;for(oe=Ae,we=[],Gi.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(Wi));nt!==t;)we.push(nt),Gi.test(n.charAt(Ae))?(nt=n.charAt(Ae),Ae++):(nt=t,vn===0&&sn(Wi));return we!==t?oe=n.substring(oe,Ae):oe=we,oe}var Zr=!1,ma="[	-\r \x85\u200E\u200F\u2028\u2029]*",Pa=new RegExp("^"+ma+"|"+ma+"$","g");if(Br=i(),Br!==t&&Ae===n.length)return Br;throw Br!==t&&Ae<n.length&&sn(Ca()),Yi(sa,Hr<n.length?n.charAt(Hr):null,Hr<n.length?oi(Hr,Hr+1):oi(Hr,Hr))}y.exports={SyntaxError:e,parse:a}},398122:function(y,l,e){y.exports=e(789008)},425524:function(y,l,e){y.exports=e(789008)},469614:function(y,l,e){"use strict";e.d(l,{A:function(){return t}});var a=e(392338),n={IPHONE_12_PRO_MAX:{HEIGHT:926,WIDTH:428},IPAD:{HEIGHT:1024,WIDTH:768},IPAD_PRO_13:{HEIGHT:1366,WIDTH:1024}},o=[800,1024],t={"mobile-0":["only screen and (pointer: coarse) and (orientation: portrait) and (max-device-height: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (max-device-width: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT,"px)")].join(","),"mobile-100":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT+1,"px) and (max-device-height: ").concat(n.IPAD.HEIGHT-1,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(n.IPHONE_12_PRO_MAX.HEIGHT+1,"px) and (max-device-width: ").concat(n.IPAD.HEIGHT-1,"px)")].join(","),"tablet-0":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(n.IPAD.HEIGHT,"px) and (max-device-height: ").concat(n.IPAD_PRO_13.HEIGHT-1,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(n.IPAD.HEIGHT,"px) and (max-device-width: ").concat(n.IPAD_PRO_13.HEIGHT-1,"px)")].join(","),"tablet-100":["only screen and (pointer: coarse) and (orientation: portrait) and (min-device-height: ".concat(n.IPAD_PRO_13.HEIGHT,"px)"),"only screen and (pointer: coarse) and (orientation: landscape) and (min-device-width: ".concat(n.IPAD_PRO_13.HEIGHT,"px)")].join(","),"desktop-0":"only screen and (any-pointer: fine) and (max-width: ".concat(o[0],"px)"),"desktop-50":"only screen and (any-pointer: fine) and (min-width: ".concat(o[0]+1,"px) and (max-width: ").concat(o[1],"px)"),"desktop-100":"only screen and (any-pointer: fine) and (min-width: ".concat(o[1]+1,"px)")}},415827:function(y,l,e){"use strict";e.d(l,{O:function(){return A},f:function(){return C}});var a=e(392338),n=e.n(a),o=e(858240),t=e.n(o),r=e(4636),i=e.n(r),c=e(721854),d=e.n(c),u=e(699467),s=e.n(u),f=e(506051),p=e.n(f),v=e(852156),g=e.n(v);function m(_){var P=b();return function(){var x=p()(_),M;if(P){var U=p()(this).constructor;M=Reflect.construct(x,arguments,U)}else M=x.apply(this,arguments);return s()(this,M)}}function b(){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(_){return!1}}var C=function(_){d()(T,_);var P=m(T);function T(x,M){var U;return t()(this,T),U=P.call(this,x),U.defaultValue=x,U[100]=M[100],U[200]=M[200],U[300]=M[300],U[400]=M[400],U[500]=M[500],U[600]=M[600],U[700]=M[700],U[800]=M[800],U[900]=M[900],U[950]=M[900],U}return i()(T,[{key:"valueOf",value:function(){return this.defaultValue}}]),T}(g()(String)),A={black:"#313131",white:"#ffffff",blue:new C("#1264D0",{100:"#113267",200:"#154D9D",300:"#1264D0",400:"#0072F0",500:"#4894FF",600:"#6CA4F4",700:"#B9D5FE",800:"#D8E8FE",900:"#F4F5FD",950:"#F4F5FD"}),green:new C("#1B754F",{100:"#123B28",200:"#175A3D",300:"#1B754F",400:"#15865B",500:"#45A57A",600:"#67B28D",700:"#AEDCC2",800:"#CDEDDB",900:"#EDF8F2",950:"#EDF8F2"}),red:new C("#C32D38",{100:"#651218",200:"#96232B",300:"#C32D38",400:"#DB3642",500:"#F36567",600:"#EF8280",700:"#FEC6C4",800:"#FEE0DE",900:"#FEF3F2",950:"#FEF3F2"}),pink:{100:"#581C4D",200:"#822D71",300:"#AD3998",400:"#C63BB0",500:"#E067C9",600:"#DF82CB",700:"#F4C6E9",800:"#F8E0F2",900:"#FCF1F9",950:"#FCF1F9"}
7,orange:{100:"#5E2507",200:"#873809",300:"#AE4906",400:"#C05703",500:"#DA7B3C",600:"#DF8E5C",700:"#FFC8A8",800:"#FCE2D3",900:"#FEF2EC",950:"#FEF2EC"},gray:{100:"#0E0E0E",200:"#454545",300:"#666666",400:"#767676",500:"#949494",600:"#B7B7B7",700:"#D3D3D3",800:"#E7E7E7",900:"#F2F2F2",950:"#F9F9F9"},yellow:{100:"#492F05",200:"#6D480B",300:"#8D5F16",400:"#9E6C0F",500:"#C68801",600:"#CE983A",700:"#F7CE89",800:"#F5E1C4",900:"#FEF4E2"},lime:{100:"#243C08",200:"#37590D",300:"#4A7418",400:"#57822a",500:"#72A159",600:"#85AD73",700:"#BADDAC",800:"#D9EAD2",900:"#F1F7EE"},teal:{100:"#033D3C",200:"#145858",300:"#0F7475",400:"#038480",500:"#32A49E",600:"#55B2AC",700:"#A8DDD8",800:"#D0EDEA",900:"#E5F9F6"},cyan:{100:"#0F374B",200:"#1B5672",300:"#167098",400:"#0C7EAB",500:"#389DCC",600:"#5FACD3",700:"#B0DAF1",800:"#D6EAF4",900:"#EFF7FC"},purple:{100:"#352A64",200:"#543DA4",300:"#6E4FD6",400:"#785EF2",500:"#9284FB",600:"#9F97F3",700:"#D0CFFB",800:"#E3E4FE",900:"#F4F3FE"}}},57346:function(y,l,e){"use strict";e.d(l,{U:function(){return a}});var a={product:{default:"cubic-bezier(0.66, 0, 0.34, 1.00)",entrance:"cubic-bezier(0.32, 0.94, 0.60, 1.00)",exit:"cubic-bezier(0.40, 0, 0.68, 0.06)"}}},792614:function(y,l,e){"use strict";e.d(l,{C:function(){return o}});var a=e(392338),n=[9.75,11,12,14,16,19,22,28,32,40],o=n.map(function(t){return"".concat(t,"px")})},811523:function(y,l,e){"use strict";e.d(l,{v:function(){return a}});var a={book:"400",medium:"500",semibold:"600"}},243697:function(y,l,e){"use strict";e.d(l,{R:function(){return a}});var a={ui:'Clarkson, "Helvetica Neue", Helvetica, Arial, sans-serif',mono:'"SF Mono", Consolas, "Liberation Mono", Menlo, Courier, monospace'}},45937:function(y,l,e){"use strict";e.r(l),e.d(l,{RosettaColor:function(){return d.f},borderWidths:function(){return r},borders:function(){return a},breakpoints:function(){return i.A},buttonSizes:function(){return c},colors:function(){return d.O},easing:function(){return A.U},fontSizes:function(){return s.C},fontWeights:function(){return f.v},fonts:function(){return u.R},lineHeights:function(){return v},radii:function(){return C.p},shadows:function(){return m.q},sizes:function(){return b.J},space:function(){return g.D},time:function(){return _.X}});var a=[0,"1px solid","2px solid"],n=e(392338),o=[0,1,2],t=function(T){return T===0},r=o.map(function(P){return t(P)?"".concat(P):"".concat(P,"px")}),i=e(469614),c=["sizes.200","sizes.250","sizes.300"];c.small="sizes.200",c.medium="sizes.250",c.large="sizes.300";var d=e(415827),u=e(243697),s=e(792614),f=e(811523),p=[11,16,22,24,28,32,44],v=p.map(function(P){return"".concat(P,"px")}),g=e(774678),m=e(135587),b=e(942032),C=e(411131),A=e(57346),_=e(489301)},411131:function(y,l,e){"use strict";e.d(l,{p:function(){return o}});var a=e(392338),n=Object.assign([0,4,8],{circle:"50%"}),o=n.map(function(t){return"".concat(t,"px")});o.circle="50%"},135587:function(y,l,e){"use strict";e.d(l,{q:function(){return d}});var a=e(392338),n=e.n(a),o=e(346797),t=e.n(o);function r(u,s){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);s&&(p=p.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),f.push.apply(f,p)}return f}function i(u){for(var s=1;s<arguments.length;s++){var f=arguments[s]!=null?arguments[s]:{};s%2?r(Object(f),!0).forEach(function(p){t()(u,p,f[p])}):Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(f)):r(Object(f)).forEach(function(p){Object.defineProperty(u,p,Object.getOwnPropertyDescriptor(f,p))})}return u}var c={light:{100:"0px 2px 8px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",200:"0px 4px 16px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",300:"0px 6px 24px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",400:"0px 8px 32px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)",500:"0px 16px 64px 0px rgba(0, 0, 0, 0.12), 0px 0px 1px 0px rgba(0, 0, 0, 0.08)"},dark:{100:"0px 2px 8px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",200:"0px 4px 16px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",300:"0px 6px 24px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",400:"0px 8px 32px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)",500:"0px 16px 64px 0px rgba(0, 0, 0, 0.88), inset 0px 0px 0px 1px rgba(255, 255, 255, 0.05)"}},d=i(i({},c.light),c)},942032:function(y,l,e){"use strict";e.d(l,{J:function(){return u}});var a=e(346797),n=e.n(a),o=e(375798),t=e.n(o),r=e(392338),i={sizes:{0:0,25:1,50:2,75:6,100:11,125:16,150:22,175:28,200:36,250:44,300:55,350:66,400:77,450:88,700:342,750:400,800:480,900:900,1e3:1440}};function c(s,f){var p=Object.keys(s);if(Object.getOwnPropertySymbols){var v=Object.getOwnPropertySymbols(s);f&&(v=v.filter(function(g){return Object.getOwnPropertyDescriptor(s,g).enumerable}
7)),p.push.apply(p,v)}return p}function d(s){for(var f=1;f<arguments.length;f++){var p=arguments[f]!=null?arguments[f]:{};f%2?c(Object(p),!0).forEach(function(v){n()(s,v,p[v])}):Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(p)):c(Object(p)).forEach(function(v){Object.defineProperty(s,v,Object.getOwnPropertyDescriptor(p,v))})}return s}var u={fullwidth:"100vw",sizes:Object.entries(i.sizes).reduce(function(s,f){var p=t()(f,2),v=p[0],g=p[1];return d(d({},s),{},n()({},v,"".concat(g,"px")))},{})}},774678:function(y,l,e){"use strict";e.d(l,{D:function(){return o}});var a=e(392338),n=[0,6,11,16,22,27,33,38,44,49,55],o=n.map(function(t){return"".concat(t,"px")})},489301:function(y,l,e){"use strict";e.d(l,{X:function(){return r}});var a=e(375798),n=e.n(a),o=e(392338),t={0:0,50:50,100:100,150:150,200:200,250:250,300:300,350:350,400:400,450:450,500:500,550:550,600:600},r=Object.entries(t).reduce(function(i,c){var d=n()(c,2),u=d[0],s=d[1];return i[u]="".concat(s,"ms"),i},{})},344800:function(y,l,e){"use strict";var a=e(551269),n=f(a),o=e(328276),t=f(o),r=e(402761),i=f(r),c=e(9795),d=f(c),u=e(369025),s=f(u);function f(A){return A&&A.__esModule?A:{default:A}}var p=e(484623),v=e(433156),g=e(636536),m={mapLat:40.720882,mapLng:-74.000988,markerLat:null,markerLng:null,mapZoom:12,addressTitle:null,addressLine1:null,addressLine2:null,addressCountry:null},b={style:g.Grayscale,showLabels:!0,showTerrain:!1,draggable:!0,scrollwheel:!0,showControls:!0,disableDefaultUI:!0,markerDraggable:!1,linkOnClick:!0},C=function(){(0,s.default)(A,null,[{key:"createView",value:function(P,T,x,M){return P=(0,i.default)(P).reduce(function(U,j){var $=(0,t.default)(j,2),G=$[0],J=$[1];return J!==void 0&&(U[G]=J),U},{}),P=(0,n.default)({},b,P),T=(0,n.default)({},m,T),T.markerLat===null&&(T.markerLat=T.mapLat),T.markerLng===null&&(T.markerLng=T.mapLng),v(M).then(function(U){return new A(U,P,T,x)})}}]);function A(_,P,T,x){(0,d.default)(this,A),this.GMaps=_,this.ui=P,this.location=T,this.render(x)}return(0,s.default)(A,[{key:"render",value:function(P){var T=this.GMaps;this.container=P;var x=this.location,M=x.markerLat,U=x.markerLng,j=x.mapLat,$=x.mapLng;P.classList.add("page-map"),P.innerHTML="&nbsp;",this.markerLoc=new T.LatLng(M,U),this.mapLoc=new T.LatLng(j,$),this.locationString=this.getLocationString(),this.initMapImpl(),this.initMarkerImpl(),this.updateUIOptions()}},{key:"initMapImpl",value:function(){this.map=new this.GMaps.Map(this.container,{zoom:this.location.mapZoom,center:this.mapLoc,draggable:this.ui.draggable,scrollwheel:this.ui.scrollwheel,disableDefaultUI:this.ui.disableDefaultUI})}},{key:"initMarkerImpl",value:function(){var P=this,T=this.GMaps;this.marker=new T.Marker({map:this.map,animation:T.Animation.DROP,draggable:this.ui.markerDraggable,position:this.markerLoc,title:location.addressTitle?location.addressTitle+" "+this.locationString:this.locationString,icon:""}),T.event.addListener(this.marker,"click",function(){return P.handleMarkerClick()})}},{key:"getLocationString",value:function(){var P=this.location,T=void 0;return P.addressLine1||P.addressLine2?(T=P.addressLine1+" "+P.addressLine2,P.addressCountry&&(T+=", "+P.addressCountry)):T=P.mapLat+","+P.mapLng,T}},{key:"handleMarkerClick",value:function(){if(!(this.marker.dragging||!this.ui.linkOnClick)){var P=encodeURIComponent(this.marker.getPosition().toUrlValue()),T=encodeURIComponent(this.getLocationString()),x=encodeURIComponent(this.map.getZoom());window.open("http://maps.google.com/maps?sll="+P+"&q="+T+"&z="+x)}}},{key:"redraw",value:function(){this.GMaps.event.trigger(this.map,"resize")}},{key:"updateUIOptions",value:function(){var P=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},T=this.GMaps;(0,n.default)(this.ui,P);var x=this.ui,M=x.showControls,U=x.showTerrain,j=x.showLabels,$=x.draggable,G=x.disableDefaultUI,J=x.scrollwheel,ie=x.markerDraggable,W=p(this.ui.style);j&&W.labels&&Array.prototype.push.apply(W.colors,W.labels);var q=void 0;W.satellite?q=T.MapTypeId.HYBRID:U?q=T.MapTypeId.TERRAIN:q=T.MapTypeId.ROADMAP;var H={mapTypeControl:!1,mapTypeId:q,overviewMapControl:!1,panControl:M,scaleControl:M,streetViewControl:!1,styles:W.colors,zoomControl:M,draggable:$,disableDefaultUI:G,scrollwheel:J};this.map.setOptions(H);var X={draggable:ie};if(this.marker.setOptions(X),W.marker){var k=W.marker.imgUrl,ne=W.marker.naturalWi
7dth,re=W.marker.naturalHeight;this.marker.setIcon({url:k,size:new T.Size(ne,re),scaledSize:new T.Size(ne/2,re/2),anchor:new T.Point(ne/4,re/2)})}else this.marker.setIcon(null)}},{key:"updateLocation",value:function(P){"mapLat"in P&&"mapLng"in P&&this.updateCenter(P.mapLat,P.mapLng),"markerLat"in P&&"markerLng"in P&&this.updateMarker(P.markerLat,P.markerLng),"zoom"in P&&this.setZoom(P.zoom)}},{key:"centerMarker",value:function(){this.redraw(),this.map.setCenter(this.marker.getPosition())}},{key:"getCenter",value:function(){var P=this.map.getCenter();return{lat:P.lat(),lng:P.lng()}}},{key:"updateCenter",value:function(P,T){this.location.mapLat=P,this.location.mapLng=T,this.map.setCenter(new this.GMaps.LatLng(P,T))}},{key:"getMarkerPosition",value:function(){var P=this.marker.getPosition();return{lat:P.lat(),lng:P.lng()}}},{key:"updateMarker",value:function(P,T){this.location.markerLat=P,this.location.markerLng=T;var x=this.getLocationString();this.marker.setPosition(new this.GMaps.LatLng(P,T)),this.marker.title=location.addressTitle?location.addressTitle+" "+x:x}},{key:"setZoom",value:function(P){this.location.zoom=P,this.map.setZoom(P)}}]),A}();y.exports=C},636536:function(y){"use strict";var l={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},a={Original:{marker:null,colors:[{elementType:"labels",stylers:[{visibility:"off"}]}],labels:[{elementType:"labels",stylers:[{visibility:"on"}]}]},Grayscale:{marker:l,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}
7]},{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:l,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:l,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=a},433156:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(922125),n=t(a),o=e(887357);function t(f){return f&&f.__esModule?f:{default:f}}var r=new o.LocaleResolver,i="//maps.googleapis.com/maps/api/js?v=3&callback=GoogleMapsApiLoadCallback",c=3e4,d=function(p,v){var g=i+"&key="+v;if(p){var m=r.resolveLocale(p);g+="&language="+m.language+"&region="+m.region}return g},u=function(p){return window.atob(p)},s=function(p,v){return v||(v=u(window.Static.SQUARESPACE_CONTEXT.gmRenderKey)),window.gMapsPromise||(window.gMapsPromise=new n.default(function(g,m){var b=setTimeout(m,c);window.GoogleMapsApiLoadCallback=function(){clearTimeout(b),g(window.google.maps),delete window.GoogleMapsApiLoadCallback};var C=document.createElement("script");document.getElementsByTagName("head")[0].appendChild(C),C.src=d(p,v)})),window.gMapsPromise};l.default=s,y.exports=l.default},920768:function(y,l,e){y.exports=function(a){var n={};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return a[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=a,o.c=n,o.d=function(t,r,i){o.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},o.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,r){if(r&1&&(t=o(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var c in t)o.d(i,c,function(d){return t[d]}.bind(null,c));return i},o.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(r,"a",r),r},o.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},o.p="",o(o.s=5)}([function(a,n){a.exports=e(638286)},function(a,n){a.exports=e(876978)},function(a,n){a.exports=e(904406)},function(a,n){a.exports=e(808847)},function(a,n){a.exports=e(392338)},function(a,n,o){"use strict";o.r(n),o.d(n,"ClientConfig",function(){}),o.d(n,"EventSource",function(){return p}),o.d(n,"SourceEnvironment",function(){return f}),o.d(n,"default",function(){return le});var t=o(4),r=o(0),i=o.n(r),c=o(1),d=o.n(c),u=o(2),s=o.n(u),f;(function(se){se.DEV="dev",se.QA="qa",se.STAGING="staging",se.PROD="prod"})(f||(f={}));var p;(function(se){se.WEB="WEB",se.IOS="IOS",se.ANDROID="ANDROID",se.SERVER="SERVER"})(p||(p={}));function v(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function g(se,ae){for(var pe=0;pe<ae.length;pe++){var Pe=ae[pe];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(se,Pe.key,Pe)}}function m(se,ae,pe){return ae&&g(se.prototype,ae),pe&&g(se,pe),se}function b(se,ae,pe){return ae in se?Object.defineProperty(se,ae,{value:pe,enumerable:!0,configurable:!0,writable:!0}):se[ae]=pe,se}var C=function(){function se(){v(this,se),b(this,"_analyticsId",void 0),b(this,"_config",void 0),b(this,"_defaultPayload",void 0)}return m(se,[{key:"track",value:function(){var pe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(this._config.fireEvents===!1)return Promise.resolve();var Pe=this._generatePayload(pe);
7return this._config.validateMode?this._validateEvent(Pe):this._config.url?Pe?this._config.useBeacon?this._sendBeacon(Pe):this._sendXhr(Pe):Promise.reject(new Error("no payload")):Promise.resolve()}},{key:"_getAnalyticsId",value:function(){var pe=function(At){return!At||At==="null"?null:At},Pe=pe(i.a.get(this._config.storageKey)),ve=pe(this._getLocalStorageItem()),Me=pe(this._analyticsId),ht=Pe||ve||Me||s()();return this._config.setAnalyticsCookie&&this._setAnalyticsId(ht),ht}},{key:"_getLocalStorageItem",value:function(){var pe=!1,Pe=localStorage.getItem(this._config.expirationKey);if(Pe){var ve=new Date,Me=new Date(Pe);pe=ve>Me}return pe?(localStorage.removeItem(this._config.storageKey),localStorage.removeItem(this._config.expirationKey),null):localStorage.getItem(this._config.storageKey)}},{key:"_getNormalizedPathname",value:function(){var pe=window.location.pathname;return pe[pe.length-1]==="/"&&(pe=pe.substring(0,pe.length-1)),pe}},{key:"_generatePayload",value:function(pe){return pe}},{key:"_log",value:function(pe){this._config.logging&&console.log(pe)}},{key:"_sendBeacon",value:function(pe){var Pe={type:"application/x-www-form-urlencoded"},ve=new Blob([d.a.stringify(pe)],Pe);return navigator.sendBeacon(this._config.url,ve),Promise.resolve()}},{key:"_sendXhr",value:function(pe,Pe){var ve=this;Pe=Pe||this._config.url;var Me=new XMLHttpRequest,ht=JSON.stringify(pe),xt=new Set([200,202]);return new Promise(function(At,Bt){Me.open("POST",Pe,!0),Me.setRequestHeader("Content-Type","application/json"),Me.send(ht),Me.addEventListener("readystatechange",function(){Me.readyState===4&&(xt.has(Me.status)?At():(ve._warn("Error tracking event: HTTP Status ".concat(Me.status)),Bt(new Error("Error tracking event: HTTP Status ".concat(Me.status)))))})})}},{key:"_setAnalyticsId",value:function(pe){this._analyticsId=pe;var Pe=this._config.cookie,ve=Pe.path,Me=Pe.secure,ht=window.location.hostname;this._config.cookie.domains.forEach(function(Vt){window.location.hostname.indexOf(Vt)>-1&&(ht=Vt)});var xt=new Date;xt.setDate(xt.getDate()+this._config.cookie.daysToStore);var At=xt.toUTCString();try{i.a.set(this._config.storageKey,pe,{domain:ht,expires:At,path:ve,secure:Me});var Bt=document.cookie.indexOf(this._config.storageKey)!==document.cookie.lastIndexOf(this._config.storageKey);if(Bt){var en=new Date(0).toUTCString();i.a.set(this._config.storageKey,null,{expires:en})}localStorage.setItem(this._config.storageKey,pe),localStorage.setItem(this._config.expirationKey,At)}catch(Vt){this._warn("Unable to store analyticsId")}}},{key:"_validateEvent",value:function(pe){return Promise.resolve(pe)}},{key:"_warn",value:function(pe){this._config.logging&&console.warn(pe)}}]),se}(),A=o(3),_=o.n(A),P=function(){var ae=window.location.origin;return{url:"".concat(ae,"/api/events/RecordEvent"),cookie:{daysToStore:390,domains:["squarespace.com","squarespace.net","sqsp.net"],path:"/",secure:window.location.protocol.indexOf("https")>-1}}};function T(se){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?T=function(pe){return typeof pe}:T=function(pe){return pe&&typeof Symbol=="function"&&pe.constructor===Symbol&&pe!==Symbol.prototype?"symbol":typeof pe},T(se)}function x(se,ae){if(se==null)return{};var pe=M(se,ae),Pe,ve;if(Object.getOwnPropertySymbols){var Me=Object.getOwnPropertySymbols(se);for(ve=0;ve<Me.length;ve++)Pe=Me[ve],!(ae.indexOf(Pe)>=0)&&Object.prototype.propertyIsEnumerable.call(se,Pe)&&(pe[Pe]=se[Pe])}return pe}function M(se,ae){if(se==null)return{};var pe={},Pe=Object.keys(se),ve,Me;for(Me=0;Me<Pe.length;Me++)ve=Pe[Me],!(ae.indexOf(ve)>=0)&&(pe[ve]=se[ve]);return pe}function U(se,ae){var pe=Object.keys(se);if(Object.getOwnPropertySymbols){var Pe=Object.getOwnPropertySymbols(se);ae&&(Pe=Pe.filter(function(ve){return Object.getOwnPropertyDescriptor(se,ve).enumerable})),pe.push.apply(pe,Pe)}return pe}function j(se){for(var ae=1;ae<arguments.length;ae++){var pe=arguments[ae]!=null?arguments[ae]:{};ae%2?U(Object(pe),!0).forEach(function(Pe){$(se,Pe,pe[Pe])}):Object.getOwnPropertyDescriptors?Object.defineProperties(se,Object.getOwnPropertyDescriptors(pe)):U(Object(pe)).forEac
7h(function(Pe){Object.defineProperty(se,Pe,Object.getOwnPropertyDescriptor(pe,Pe))})}return se}function $(se,ae,pe){return ae in se?Object.defineProperty(se,ae,{value:pe,enumerable:!0,configurable:!0,writable:!0}):se[ae]=pe,se}function G(se,ae){if(!(se instanceof ae))throw new TypeError("Cannot call a class as a function")}function J(se,ae){for(var pe=0;pe<ae.length;pe++){var Pe=ae[pe];Pe.enumerable=Pe.enumerable||!1,Pe.configurable=!0,"value"in Pe&&(Pe.writable=!0),Object.defineProperty(se,Pe.key,Pe)}}function ie(se,ae,pe){return ae&&J(se.prototype,ae),pe&&J(se,pe),se}function W(se,ae){if(typeof ae!="function"&&ae!==null)throw new TypeError("Super expression must either be null or a function");se.prototype=Object.create(ae&&ae.prototype,{constructor:{value:se,writable:!0,configurable:!0}}),ae&&q(se,ae)}function q(se,ae){return q=Object.setPrototypeOf||function(Pe,ve){return Pe.__proto__=ve,Pe},q(se,ae)}function H(se){return function(){var ae=re(se),pe;if(ne()){var Pe=re(this).constructor;pe=Reflect.construct(ae,arguments,Pe)}else pe=ae.apply(this,arguments);return X(this,pe)}}function X(se,ae){return ae&&(T(ae)==="object"||typeof ae=="function")?ae:k(se)}function k(se){if(se===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return se}function ne(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(se){return!1}}function re(se){return re=Object.setPrototypeOf?Object.getPrototypeOf:function(pe){return pe.__proto__||Object.getPrototypeOf(pe)},re(se)}var le=function(se){W(pe,se);var ae=H(pe);function pe(Pe){var ve,Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};G(this,pe),ve=ae.call(this);var ht=P();return ve._config=j({},ht,{},Pe),ve._defaultPayload=Me,ve}return ie(pe,[{key:"_generatePayload",value:function(ve){var Me=window.location.hash,ht=j({},this._defaultPayload,{},ve),xt=ht.websiteId,At=xt===void 0?null:xt,Bt=ht.memberAccountId,en=Bt===void 0?null:Bt,Vt=ht.website_locale,be=Vt===void 0?null:Vt,Le=ht.member_locale,Oe=Le===void 0?null:Le,yt=ht.templateId,wt=yt===void 0?null:yt,Lt=ht.variantId,jt=Lt===void 0?null:Lt,Xe=x(ht,["websiteId","memberAccountId","website_locale","member_locale","templateId","variantId"]),zt=j({},Xe,{},Me&&{pageHash:Me},{pagePath:this._getNormalizedPathname(),websiteId:At,templateId:wt,variantId:jt,memberAccountId:en,member_locale:Oe,website_locale:be});return this._config.logging&&this._log({payload:j({},zt)}),zt}},{key:"track",value:function(ve){var Me=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(this._config.fireEvents===!1)return Promise.resolve();var xt=this._generatePayload(Me);return this._sendXhr({eventName:ve,payload:xt},ht)}},{key:"_sendXhr",value:function(ve,Me,ht){var xt=ve.eventName,At=ve.payload;return ht=ht||this._config.url,_.a.post(ht,d.a.stringify(j({crumb:i.a.get("crumb"),event:xt},Me,{data:JSON.stringify(At)})),{headers:{"Content-Type":"application/x-www-form-urlencoded"}})}},{key:"spawnTracker",value:function(){var ve=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return new pe(this._config,j({},this._defaultPayload,{},ve))}}]),pe}(C)}])},218914:function(y,l,e){"use strict";var a=e(875832),n=a(e(858240)),o=a(e(4636)),t=e(731761),r=e(596852),i=e(756544),c=function(){function s(f,p){if((0,n.default)(this,s),typeof f!="function")throw new Error("[Tween] First parameter needs to be a function.");var v=p.duration,g=p.easing,m=p.onEnd;if(v!==void 0&&!i(v))throw new Error("[Tween] Duration is not a finite number.");this.fn=f,this.duration=v===void 0?300:v,this.easingFn=r[g||"linear"],this.onEnd=m}return(0,o.default)(s,[{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 v=new Date().getTime(),g=v-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(),v=this.duration,g=p-this.startTime;if(g>=v){this.end();return}this.fn(this.getMultiplier(g/v)),this.next=t(this.tween.bind(this))}}]),s}
7(),d=["start","end","resume","pause","isRunning","isPaused"],u=(0,o.default)(function s(f,p){var v=this;(0,n.default)(this,s);var g=new c(f,p);d.forEach(function(m){v[m]=function(){return g[m]()}})});y.exports=u},699865:function(y,l,e){"use strict";var a=e(119972),n=["red","green","blue"],o=function(){for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];var d=[],u=1/i.length;i=i.map(function(f){return d.push(f.weight||u),typeof f=="string"?a(f):f});var s={};return n.forEach(function(f){s[f]=Math.round(i.reduce(function(p,v,g){return p+v[f]*d[g]},0))}),s.alpha=i.reduce(function(f,p,v){return f+p.alpha*d[v]},0),s};y.exports=o},737093:function(y){"use strict";var l={rgb:["red","green","blue","alpha"],hsl:["hue","saturation","lightness","alpha"],hsv:["hue","saturation","value","alpha"]};y.exports=l},676347:function(y,l,e){"use strict";var a=e(413238),n=e(737093),o=function(r,i,c){var d=a.hsv.hsl(r,i,c);return d.reduce(function(u,s,f){var p=n.hsl[f];return u[p]=s,u},{})};y.exports={hsvToHsl:o}},185002:function(y,l,e){"use strict";var a=e(119972);function n(o,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"rgb";if(typeof o!="string")throw new TypeError(o+" is not a valid string");return typeof t!="string"&&(t="transparent"),o=o.trim(),a(o,r)||a(t,r)}y.exports=n},857180:function(y,l,e){"use strict";y.exports={averageColors:e(699865),isDark:e(226553),isLight:e(480267),parseColor:e(119972),parseGradient:e(50637),getColor:e(185002),readDominantColor:e(332923),stackColors:e(2666),stringifyColor:e(496723),isHex:e(709124).vq,isHsl:e(709124).u4,convert:e(676347)}},226553:function(y,l,e){"use strict";var a=e(119972),n=function(t){typeof t=="string"&&(t=a(t));var r=(t.red*299+t.green*587+t.blue*114)/1e3;return r<256*.65};y.exports=n},480267:function(y,l,e){"use strict";var a=e(226553),n=function(t){return!a(t)};y.exports=n},334841:function(y,l,e){"use strict";var a=e(189332);y.exports=new a("@sqs/utils/palette","green")},119972:function(y,l,e){"use strict";var a=e(69037),n=e(413238),o=e(737093),t=e(334841),r=function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"rgb",u=arguments.length>2?arguments[2]:void 0;if(!Object.keys(o).includes(d))return t.error("Invalid color model: "+d),null;var s=a.get(c);if(!s)return null;var f=s.model,p=s.value,v=p;if(f!==d){var g=n[f][d],m=u===!0?g.raw(p):g(p);v=m.concat(p.slice(3))}return v.reduce(function(b,C,A){var _=o[d][A];return b[_]=C,b},{})};y.exports=r},50637:function(y,l,e){"use strict";
7var a=e(875832),n=a(e(375798)),o=e(791484),t=Object.keys(o),r=/\)$/,i=/(?:,\s*|\()(?!\s*\d)/,c=/\s(?=[.\w|%]+$)/,d=/(linear(-gradient)?|radial)/,u=function(f){f=f.replace(r,"").split(i);var p=f[0].match(d);if(!p)return null;var v=p[0],g=f[0].indexOf("repeating")>-1,m=f.slice(2).map(function(T){var x=T.split(c),M=(0,n.default)(x,2),U=M[0],j=M[1];return U&&j?{color:U,stop:j}:null}).filter(function(T){return T});if(m.length===0)return null;var b=f[1],C=b.split(c),A=(0,n.default)(C,2),_=A[0],P=A[1];return(_.search(/\d/)>-1||t.indexOf(_)>-1)&&m.unshift({color:_,stop:P}),{type:v,repeating:g,colorStops:m}};y.exports=u},332923:function(y){"use strict";var l=1,e=1,a=function(){var u=document.createElement("canvas");return u.width=l,u.height=e,u},n=function(u,s){var f=u.getContext("2d");f.fillStyle=s,f.fillRect(0,0,u.width,u.height)},o=function(u,s){u.getContext("2d").drawImage(s,0,0,u.width,u.height)},t=function(u,s){var f=u.getContext("2d").createLinearGradient(0,0,0,u.height);s.forEach(function(p){var v=p.color,g=p.stop;f.addColorStop(g,v)}),n(u,f)},r=function(u){u.getContext("2d").clearRect(0,0,u.width,u.height)},i=function(u){try{var s=u.getContext("2d").getImageData(0,0,u.width,u.height),f=s.data;return f}catch(p){return null}},c=function(u){var s=u.img,f=u.gradient,p=a();s?o(p,s):f&&t(p,f);var v=i(p);return r(p),v?{red:v[0],green:v[1],blue:v[2],alpha:v[3]/255}:null};y.exports=c},2666:function(y,l,e){"use strict";var a=e(185002),n=["red","green","blue"],o=function t(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transparent",i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"transparent";typeof r=="string"&&(r=a(r)),typeof i=="string"&&(i=a(i));var c=1-(1-r.alpha)*(1-i.alpha),d={alpha:c};c<.001?(n.forEach(function(p){d[p]=0}),d.alpha=0):n.forEach(function(p){d[p]=Math.round(r[p]*r.alpha+i[p]*(1-r.alpha))});for(var u=arguments.length,s=new Array(u>2?u-2:0),f=2;f<u;f++)s[f-2]=arguments[f];return s&&s.length>0?t.apply(void 0,[d].concat(s)):d};y.exports=o},496723:function(y,l,e){"use strict";var a=e(413238),n=e(69037),o=e(737093),t=e(334841),r=function(s){return Object.keys(o).find(function(f){return o[f].every(function(p){return s.hasOwnProperty(p)})})},i=function(s){var f=r(s),p=o[f].map(function(v){return s[v]});return{array:p,model:f}},c=function(s){if(s.alpha!==1)return t.error("Color must have alpha of 1 when stringifying to hex"),null;s=i(s);var f=s.array;if(s.model!=="rgb"){var p=a[s.model].rgb;f=p(s.array)}return n.to.hex(f)},d=function(s,f){if(s.alpha=typeof s.alpha=="number"?s.alpha:1,f==="hex")return c(s);if(s=i(s),f=f||s.model,!s.model)return t.error("Could not determine color model."),null;if(typeof n.to[f]!="function")return t.error("No color-string support for model "+f),null;if(f===s.model)return n.to[s.model](s.array);var p=a[s.model][f],v=p(s.array).concat(s.array.slice(3));return n.to[f](v)};y.exports=d},709124:function(y,l){"use strict";var e;e={value:!0},l.u4=l.vq=void 0;var a=function(t){return t&&t.charAt&&t.charAt(0)==="#"};l.vq=a;var n=function(t){return t&&t.substring&&t.substring(0,3)==="hsl"};l.u4=n},454346:function(y,l,e){"use strict";var a=e(303938),n=function(t,r,i){for(r=a(r),i=a(i);t&&(!i||!i(t));){if(r(t))return t;t=t.parentElement}return null};y.exports=n},144702:function(y,l,e){"use strict";var a=e(454346),n=function(t,r,i){return t?a(t.parentElement,r,i):null};y.exports=n},485955:function(y,l,e){"use strict";var a=e(303938),n=function(t,r,i){r=a(r),i=a(i),t=t.parentElement;for(var c=[];t&&(!i||!i(t));)(!r||r(t))&&c.push(t),t=t.parentElement;return c};y.exports=n},468825:function(y){"use strict";var l={ELEMENT:1,TEXT:3,COMMENT:8,DOCUMENT:9,DOCTYPE:10,FRAGMENT:11};y.exports=l},303938:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e(993990)),o=function(r){var i,c=r==null||(i=r.ownerDocument)===null||i===void 0?void 0:i.defaultView;return c&&r instanceof c.Node?function(d){return d===r}:r instanceof Node?function(d){return d===r}:typeof r=="string"?function(d){return(0,n.default)(d,r)}:r};l.default=o,y.exports=l.default},711725:function(y,l,e){"use strict";var a=e(875832);
7Object.defineProperty(l,"__esModule",{value:!0}),l.default=d;var n=a(e(603912)),o=a(e(375783));function t(u){if(typeof Symbol=="undefined"||u[Symbol.iterator]==null){if(Array.isArray(u)||(u=r(u))){var s=0,f=function(){};return{s:f,n:function(){return s>=u.length?{done:!0}:{done:!1,value:u[s++]}},e:function(C){throw C},f:f}}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 p,v=!0,g=!1,m;return{s:function(){p=u[Symbol.iterator]()},n:function(){var C=p.next();return v=C.done,C},e:function(C){g=!0,m=C},f:function(){try{!v&&p.return!=null&&p.return()}finally{if(g)throw m}}}}function r(u,s){if(u){if(typeof u=="string")return i(u,s);var f=Object.prototype.toString.call(u).slice(8,-1);if(f==="Object"&&u.constructor&&(f=u.constructor.name),f==="Map"||f==="Set")return Array.from(f);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return i(u,s)}}function i(u,s){(s==null||s>u.length)&&(s=u.length);for(var f=0,p=new Array(s);f<s;f++)p[f]=u[f];return p}function c(u,s){return u instanceof HTMLElement?u:typeof u=="string"?document.body.querySelector(u):u?(0,n.default)(document.body.querySelectorAll(o.default)).find(function(f){return s(f)}):null}function d(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},s=u.container,f=s===void 0?null:s,p=u.predicate,v=p===void 0?null:p,g=u.root,m=g===void 0?document.body:g,b=u.setFocusOnContain,C=b===void 0?!0:b,A=u.restoreFocusOnRevert,_=A===void 0?!0:A;if(!f&&!v||f&&v)throw new Error("One (and only one) of container and predicate must be set");f&&(v=function(U){return f.contains(U)});var P=document.activeElement,T=[],x=!1;return setTimeout(function(){if(!x){var M=m.querySelectorAll(o.default),U=t(M),j;try{for(U.s();!(j=U.n()).done;){var $=j.value;v($)||(T.push({element:$,originalTabIndex:$.tabIndex}),$.tabIndex=-1)}}catch(J){U.e(J)}finally{U.f()}var G=c(C,v);G&&typeof G.focus=="function"&&G.focus()}},0),function(){x=!0;var U=t(T),j;try{for(U.s();!(j=U.n()).done;){var $=j.value;$.element.tabIndex=$.originalTabIndex}}catch(G){U.e(G)}finally{U.f()}_&&P&&typeof P.focus=="function"&&P.focus()}}y.exports=l.default},375783:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var e=["input","select","textarea","a[href]","button","[tabindex]","audio[controls]","video[controls]",'[contenteditable]:not([contenteditable="false"])',"iframe"].join(",");l.default=e,y.exports=l.default},384696:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"focusableSelector",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(l,"containFocus",{enumerable:!0,get:function(){return o.default}});var n=a(e(375783)),o=a(e(711725))},189332:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e(603912)),o=a(e(4636)),t=a(e(858240)),r=!1;function i(){}function c(s,f){if(f&&typeof console[s]=="function"){for(var p,v=arguments.length,g=new Array(v>2?v-2:0),m=2;m<v;m++)g[m-2]=arguments[m];return(p=console[s]).bind.apply(p,[console].concat(g))}return i}var d=(0,o.default)(function s(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;(0,t.default)(this,s),this.start=c.apply(void 0,["groupCollapsed",v,f].concat((0,n.default)(p))),this.end=c("groupEnd",v)}),u=(0,o.default)(function s(f,p){var v=arguments.length>2&&arguments[2]!==void 0?arguments[2]:r;(0,t.default)(this,s);var g="%c[".concat(f,"] %c"),m=["color: ".concat(p,"; font-weight: 300;"),"color: #000; font-weight: 400;"],b=[v,g].concat(m);this.error=c.apply(void 0,["error"].concat((0,n.default)(b))),this.info=c.apply(void 0,["info"].concat((0,n.default)(b))),this.log=c.apply(void 0,["log"].concat((0,n.default)(b))),this.warn=c.apply(void 0,["warn"].concat((0,n.default)(b))),this.group=function(C){return new d("".concat(g).concat(C),m,v)}});l.default=u,y.exports=l.default},602502:function(y){"use strict";var l=function(a,n,o){return Math.max(n,Math.min(a,o))};y.exports=l},756544:function(y){"use strict";var l=function(a){return typeof a=="number"&&!isNaN(a)&&isFinite(a)};y.exports=l},974277:function(y,l,e){"use strict";var a=e(756544),n=function(t,r){return a(t)?t:r};y.exports=n},333043:function(y,l,e){"use strict";var a=e(875832);
7Object.defineProperty(l,"__esModule",{value:!0}),l.getColorModel=l.darken=l.lighten=l.isColor=l.toHsl=l.toHex=l.toLuma=l.spin=l.hue=l.hsl=void 0;var n=a(e(779291)),o=e(163015),t=function(m,b,C){return(0,n.default)({h:m,s:b,l:C}).toHexString()};l.hsl=t;var r=function(m){return(0,n.default)(m).toHsl().h};l.hue=r;var i=function(m,b){return(0,n.default)(m).spin(b).toHexString()};l.spin=i;var c=function(m){var b=(0,n.default)(m).toRgb(),C=b.r,A=b.g,_=b.b;return .2126*(C/255)+.7152*(A/255)+.0722*(_/255)};l.toLuma=c;var d=function(m){return(0,n.default)(m).toHexString()};l.toHex=d;var u=function(m){return(0,n.default)(m).toHslString()};l.toHsl=u;var s=function(m){return(0,n.default)(m).isValid()};l.isColor=s;var f=function(m,b){return(0,n.default)(m).lighten(b).toHexString()};l.lighten=f;var p=function(m,b){return(0,n.default)(m).darken(b).toHexString()};l.darken=p;var v=function(m){var b,C=(0,n.default)(m).getFormat();return(b=o.ColorModel[C])!==null&&b!==void 0?b:null};l.getColorModel=v},163015:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.SEED_COLOR_ID=l.SELECTOR_COLOR_AS_ORDERED_ARRAY=l.SYSTEM_COLOR_AS_ORDERED_ARRAY=l.SYSTEM_COLOR_CONFIG_MAP=l.ColorModel=l.SystemColorId=l.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=l.HEX_SALMON=l.HEX_WHITE=l.HEX_BLACK=void 0;var n=a(e(346797));function o(m,b){var C=Object.keys(m);if(Object.getOwnPropertySymbols){var A=Object.getOwnPropertySymbols(m);b&&(A=A.filter(function(_){return Object.getOwnPropertyDescriptor(m,_).enumerable})),C.push.apply(C,A)}return C}function t(m){for(var b=1;b<arguments.length;b++){var C=arguments[b]!=null?arguments[b]:{};b%2?o(Object(C),!0).forEach(function(A){(0,n.default)(m,A,C[A])}):Object.getOwnPropertyDescriptors?Object.defineProperties(m,Object.getOwnPropertyDescriptors(C)):o(Object(C)).forEach(function(A){Object.defineProperty(m,A,Object.getOwnPropertyDescriptor(C,A))})}return m}var r="#000000";l.HEX_BLACK=r;var i="#FFFFFF";l.HEX_WHITE=i;var c="#FFAABB";l.HEX_SALMON=c;var d=.34;l.DEFAULT_LUMA_THRESHOLD_PERCENTAGE=d;var u;l.SystemColorId=u,function(m){m.white="white",m.black="black",m.accent="accent",m.lightAccent="lightAccent",m.darkAccent="darkAccent",m.safeLightAccent="safeLightAccent",m.safeDarkAccent="safeDarkAccent",m.safeInverseAccent="safeInverseAccent",m.safeInverseLightAccent="safeInverseLightAccent",m.safeInverseDarkAccent="safeInverseDarkAccent"}(u||(l.SystemColorId=u={}));var s;l.ColorModel=s,function(m){m.hex="hex",m.hsl="hsl",m.rgb="rgb"}(s||(l.ColorModel=s={}));var f=Object.freeze({white:{hideInSelector:!0,id:u.white,name:"White",order:0,readonly:!1,userVisible:!0},black:{hideInSelector:!0,id:u.black,name:"Black",order:1,readonly:!1,userVisible:!0},safeLightAccent:{hideInSelector:!1,id:u.safeLightAccent,name:"Safe\u2122 Light",order:2,readonly:!0,userVisible:!1},safeDarkAccent:{hideInSelector:!1,id:u.safeDarkAccent,name:"Safe\u2122 Dark",order:3,readonly:!0,userVisible:!1},safeInverseAccent:{hideInSelector:!1,id:u.safeInverseAccent,name:"Safe\u2122 Inverse",order:4,readonly:!0,userVisible:!1},safeInverseLightAccent:{hideInSelector:!1,id:u.safeInverseLightAccent,name:"Safe\u2122 Inverse Light",order:5,readonly:!0,userVisible:!1},safeInverseDarkAccent:{hideInSelector:!1,id:u.safeInverseDarkAccent,name:"Safe\u2122 Inverse Dark",order:6,readonly:!0,userVisible:!1},accent:{hideInSelector:!1,generatorSeed:!0,id:u.accent,name:"Accent",order:7,readonly:!1,userVisible:!0},lightAccent:{hideInSelector:!1,id:u.lightAccent,name:"Light",order:8,readonly:!1,userVisible:!0},darkAccent:{hideInSelector:!1,id:u.darkAccent,name:"Dark",order:9,readonly:!1,userVisible:!0}});l.SYSTEM_COLOR_CONFIG_MAP=f;var p=Object.values(f).sort(function(m,b){return m.order-b.order});l.SYSTEM_COLOR_AS_ORDERED_ARRAY=p;var v=p.map(function(m){var b=m.hideInSelector?!1:m.userVisible;return t({},m,{userVisible:b})});l.SELECTOR_COLOR_AS_ORDERED_ARRAY=v;var g=p.find(function(m){return m.generatorSeed}).id;l.SEED_COLOR_ID=g},407596:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.default=l.getPaletteSeedColorString=l.getPaletteColorString=l.getPaletteColorByValue=l.getPaletteColorById=l.stringifyPaletteColorValues=l.stringifyPaletteColorValue=l.parsePaletteColorValues=l.parsePaletteColorValue=l.isValidPaletteColorValue=l.arePaletteColorValuesEqual=l.logger=l.filterPaletteColorsBySystemVisible=l.sortColorsBySystemColorOrder=l.colorsArrayToMap=l.paletteMappingToCacheKey=l.colorsMapToArray=void 0;var n=a(e(569644)),o=a(e(346797)),t=a(e(375798)),r=a(e(321414)),i=e(163015),c=a(e(189332)),d=e(857180),u=e(333043);function s(q,H){var X=Object.keys(q);
7if(Object.getOwnPropertySymbols){var k=Object.getOwnPropertySymbols(q);H&&(k=k.filter(function(ne){return Object.getOwnPropertyDescriptor(q,ne).enumerable})),X.push.apply(X,k)}return X}function f(q){for(var H=1;H<arguments.length;H++){var X=arguments[H]!=null?arguments[H]:{};H%2?s(Object(X),!0).forEach(function(k){(0,o.default)(q,k,X[k])}):Object.getOwnPropertyDescriptors?Object.defineProperties(q,Object.getOwnPropertyDescriptors(X)):s(Object(X)).forEach(function(k){Object.defineProperty(q,k,Object.getOwnPropertyDescriptor(X,k))})}return q}var p=function(H){for(var X=[],k=0,ne=Object.entries(H!=null?H:{});k<ne.length;k++){var re=(0,t.default)(ne[k],2),le=re[0],se=re[1],ae=i.SystemColorId[le],pe=x(se);ae&&pe&&X.push({id:ae,value:pe})}return X};l.colorsMapToArray=p;var v=function(H){return Object.keys(H).sort().map(function(X){return"".concat(X,":").concat(H[X])}).join("-")};l.paletteMappingToCacheKey=v;var g=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];return H.reduce(function(X,k){var ne=k.id,re=k.value;return X[ne]||(X[ne]=U(re)),X},{})};l.colorsArrayToMap=g;var m=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.SYSTEM_COLOR_AS_ORDERED_ARRAY,k=(0,r.default)(H,"id");return X.reduce(function(ne,re){var le=re.id,se=k[le];return se&&ne.push(se),ne},[])};l.sortColorsBySystemColorOrder=m;var b=function(H){var X=arguments.length>1&&arguments[1]!==void 0?arguments[1]:i.SYSTEM_COLOR_AS_ORDERED_ARRAY,k=m(H==null?void 0:H.colors,X).filter(function(ne){var re=ne.id;return i.SYSTEM_COLOR_CONFIG_MAP[re].userVisible});return f({},H!=null?H:{},{colors:k})};l.filterPaletteColorsBySystemVisible=b;var C=new c.default("@sqs/utils/palette","orange");l.logger=C;var A=function(H,X){var k,ne,re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return(H==null?void 0:H.values.hue)===(X==null?void 0:X.values.hue)&&(H==null?void 0:H.values.saturation)===(X==null?void 0:X.values.saturation)&&(H==null?void 0:H.values.lightness)===(X==null?void 0:X.values.lightness)&&((k=H==null?void 0:H.values.alpha)!==null&&k!==void 0?k:1)===((ne=X==null?void 0:X.values.alpha)!==null&&ne!==void 0?ne:1)&&(!re||(H==null?void 0:H.userFormat)===(X==null?void 0:X.userFormat))};l.arePaletteColorValuesEqual=A;var _=function(H,X,k){return!!(typeof H=="number"&&isFinite(H)&&H>=X&&H<=k)},P=function(H){var X;return!!(H&&i.ColorModel[H.userFormat]&&H.values&&_(H.values.hue,0,360)&&_(H.values.saturation,0,100)&&_(H.values.lightness,0,100)&&_((X=H.values.alpha)!==null&&X!==void 0?X:1,0,1))};l.isValidPaletteColorValue=P;var T=function(H){return Math.round(H*100)/100},x=function(H){var X;if(H==null)return null;if((0,n.default)(H)==="object")return P(H)?H:null;var k=(0,d.parseColor)(H,i.ColorModel.hsl,!0);return k?{userFormat:(X=(0,u.getColorModel)(H))!==null&&X!==void 0?X:i.ColorModel.hsl,values:f({hue:T(k.hue),saturation:T(k.saturation),lightness:T(k.lightness)}
7,k.alpha!==1?{alpha:T(k.alpha)}:{})}:null};l.parsePaletteColorValue=x;var M=function(H){return H.colors.map(function(X){return f({},X,{value:x(X.value)})})};l.parsePaletteColorValues=M;var U=function(H){if(H&&(0,n.default)(H)==="object"){var X;return P(H)&&(X=(0,d.stringifyColor)(f({},H.values),H.userFormat))!==null&&X!==void 0?X:null}return H!=null?H:null};l.stringifyPaletteColorValue=U;var j=function(H){return H.colors.map(function(X){return f({},X,{value:U(X.value)})})};l.stringifyPaletteColorValues=j;var $=function(H,X){var k;return(k=H==null?void 0:H.colors.find(function(ne){return ne.id===X}))!==null&&k!==void 0?k:null};l.getPaletteColorById=$;var G=function(H,X){var k;if(X==null)return null;var ne=typeof X=="string"?x(X):X;return(k=H==null?void 0:H.colors.find(function(re){return A(re.value,ne,!0)}))!==null&&k!==void 0?k:null};l.getPaletteColorByValue=G;var J=function(H,X){var k=$(H,X);return U(k==null?void 0:k.value)};l.getPaletteColorString=J;var ie=function(H){var X;return(X=J(H,i.SEED_COLOR_ID))!==null&&X!==void 0?X:i.HEX_SALMON};l.getPaletteSeedColorString=ie;var W={colorsMapToArray:p,colorsArrayToMap:g,sortColorsBySystemColorOrder:m,filterPaletteColorsBySystemVisible:b,logger:C,paletteMappingToCacheKey:v,arePaletteColorValuesEqual:A,isValidPaletteColorValue:P,parsePaletteColorValue:x,parsePaletteColorValues:M,stringifyPaletteColorValue:U,stringifyPaletteColorValues:j,getPaletteColorById:$,getPaletteColorByValue:G,getPaletteColorString:J,getPaletteSeedColorString:ie};l.default=W},614465:function(y){"use strict";var l=function(a){return a.scrollingElement||a.documentElement||a.body};y.exports=l},372747:function(y,l,e){"use strict";var a=e(57985),n=e(144702),o=e(468825),t=o.DOCUMENT,r=function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return d&&a(c,u)?c:n(c,function(s){return a(s,u)},function(s){return s.nodeType===t})};y.exports=r},818929:function(y,l,e){"use strict";var a=e(57985),n=e(485955),o=e(468825),t=o.DOCUMENT,r=function(c){var d=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,u=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,s=[];return d&&a(c,u)&&s.push(c),s.concat(n(c,function(f){return a(f,u)},function(f){return f.nodeType===t}))};y.exports=r},817869:function(y,l,e){"use strict";y.exports={getDocScrollNode:e(614465),getScrollParent:e(372747),getScrollParents:e(818929),isScrollableNode:e(57985),normalizeScrollEmitter:e(777737),normalizeScrollSetter:e(503013),scrollIntoView:e(101307),scrollTo:e(9340)}},57985:function(y,l,e){"use strict";var a=e(461761),n=e(808155),o=e(503013),t="auto",r="scroll",i="visible",c="HTML",d=function(f,p){return f===t||f===r||f===i&&p.nodeName===c},u=function(f){var p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!a(f,"ownerDocument.defaultView"))return!1;var v=n(f),g=v.overflowX,m=v.overflowY;if(p===!0)return d(m,f)||d(g,f);var b=o(f),C=b.scrollHeight,A=b.scrollWidth,_=b.clientHeight,P=b.clientWidth;return f.nodeName===c&&(_=Math.min(_,f.ownerDocument.defaultView.innerHeight),P=Math.min(P,f.ownerDocument.defaultView.innerWidth)),d(m,f)&&C>_||d(g,f)&&A>P};y.exports=u},777737:function(y){"use strict";var l=function(a){return a&&a.nodeName==="HTML"?a.ownerDocument:a};y.exports=l},503013:function(y,l,e){"use strict";var a=e(468825),n=a.DOCUMENT,o=e(614465),t=function(i){return i?i.nodeType===n?o(i):i.nodeName==="HTML"?o(i.ownerDocument):i:null};y.exports=t},101307:function(y,l,e){"use strict";var a=e(875832),n=a(e(432405)),o=a(e(346797)),t=["scrollNode","anchorToTopLeft","offset"];function r(A,_){var P=Object.keys(A);if(Object.getOwnPropertySymbols){var T=Object.getOwnPropertySymbols(A);_&&(T=T.filter(function(x){return Object.getOwnPropertyDescriptor(A,x).enumerable})),P.push.apply(P,T)}return P}function i(A){for(var _=1;_<arguments.length;_++){var P=arguments[_]!=null?arguments[_]:{};_%2?r(Object(P),!0).forEach(function(T){(0,o.default)(A,T,P[T])}):Object.getOwnPropertyDescriptors?Object.defineProperties(A,Object.getOwnPropertyDescriptors(P)):r(Object(P)).forEac
7h(function(T){Object.defineProperty(A,T,Object.getOwnPropertyDescriptor(P,T))})}return A}var c=e(461761),d=e(503013),u=e(372747),s=e(9340),f=e(602502),p=e(974277),v=/(body|html)/i,g=function(_,P,T,x){return _[0]-T<P[0]||x&&_[1]+T>P[1]?Math.round(_[0]-P[0]-T):_[1]+T>P[1]?Math.round(_[1]-P[1]+T):0},m=function(_){var P=_.getClientRects()[0],T=_.ownerDocument.defaultView.innerWidth,x=_.ownerDocument.defaultView.innerHeight;v.test(_.nodeName)||(T=Math.min(_.clientWidth||_.scrollWidth,T),x=Math.min(_.clientHeight||_.scrollHeight,x));var M=P.left+_.scrollLeft,U=P.top+_.scrollTop;return{width:T,height:x,left:M,top:U,right:M+T,bottom:U+x}},b=function(_,P){typeof _=="boolean"&&(_={anchorToTopLeft:_});var T=_,x=T.scrollNode,M=T.offset;return x||(x=u(P)),x=d(x),M=p(M,30),i({},_,{scrollNode:x,offset:M})},C=function(_){var P=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},T=b(P,_),x=T.scrollNode,M=T.anchorToTopLeft,U=T.offset,j=(0,n.default)(T,t);if(!x||!c(x,"ownerDocument.defaultView"))return null;var $=_.getClientRects()[0],G=m(x),J=g([$.left,$.right],[G.left,G.right],U,M),ie=g([$.top,$.bottom],[G.top,G.bottom],U,M);if(Math.abs(J)<1&&Math.abs(ie)<1)return null;var W=x.scrollWidth-G.width,q=x.scrollHeight-G.height;return s(x,{left:f(x.scrollLeft+J,0,W),top:f(x.scrollTop+ie,0,q)},j)};y.exports=C},9340:function(y,l,e){"use strict";var a=e(503013),n=e(602502),o=e(756544),t=e(974277),r=e(218914),i=function(){},c=function(s,f,p){o(f)&&(s.scrollLeft=f),o(p)&&(s.scrollTop=p)},d=function(s,f){var p=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};s=a(s);var v=typeof p.onEnd=="function"?p.onEnd:i,g=t(p.minDuration,50),m=t(p.maxDuration,50),b=p.easing;if(o(f)&&(f={top:f}),b===!1)return c(s,f.left,f.top),v(),null;var C={left:s.scrollLeft,top:s.scrollTop},A=[f.left-C.left,f.top-C.top],_=Math.max.apply(null,A.map(function(T){return Math.abs(T)}).filter(o));if(_<1)return v(),null;var P=new r(function(T){var x=C.left+T*A[0],M=C.top+T*A[1];c(s,x,M)},{onEnd:v,duration:n(_,g,m),easing:typeof b=="string"&&b?b:"easeOutSine"});return P.start(),P};y.exports=d},808155:function(y,l,e){"use strict";var a=e(461761),n=function(t){var r=a(t,"ownerDocument.defaultView");return r?r.getComputedStyle(t):{}};y.exports=n},749189:function(y,l,e){"use strict";e.r(l);var a=e(708380),n=e(304807);function o(te,Ee){var Ue=Object.keys(te);if(Object.getOwnPropertySymbols){var ze=Object.getOwnPropertySymbols(te);Ee&&(ze=ze.filter(function(Ve){return Object.getOwnPropertyDescriptor(te,Ve).enumerable})),Ue.push.apply(Ue,ze)}return Ue}function t(te){for(var Ee=1;Ee<arguments.length;Ee++){var Ue=arguments[Ee]!=null?arguments[Ee]:{};Ee%2?o(Object(Ue),!0).forEach(function(ze){d(te,ze,Ue[ze])}):Object.getOwnPropertyDescriptors?Object.defineProperties(te,Object.getOwnPropertyDescriptors(Ue)):o(Object(Ue)).forEach(function(ze){Object.defineProperty(te,ze,Object.getOwnPropertyDescriptor(Ue,ze))})}return te}function r(te,Ee){if(!(te instanceof Ee))throw new TypeError("Cannot call a class as a function")}function i(te,Ee){for(var Ue=0;Ue<Ee.length;Ue++){var ze=Ee[Ue];ze.enumerable=ze.enumerable||!1,ze.configurable=!0,"value"in ze&&(ze.writable=!0),Object.defineProperty(te,ze.key,ze)}}function c(te,Ee,Ue){return Ee&&i(te.prototype,Ee),Ue&&i(te,Ue),Object.defineProperty(te,"prototype",{writable:!1}),te}function d(te,Ee,Ue){return Ee in te?Object.defineProperty(te,Ee,{value:Ue,enumerable:!0,configurable:!0,writable:!0}):te[Ee]=Ue,te}function u(te,Ee){return Ee={exports:{}},te(Ee,Ee.exports),Ee.exports}var s=u(function(te){var Ee=te.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=Ee)}),f=u(function(te){var Ee=te.exports={version:"2.6.12"};typeof __e=="number"&&(__e=Ee)}),p=f.version,v=function(te){return typeof te=="object"?te!==null:typeof te=="function"},g=function(te){if(!v(te))throw TypeError(te+" is not an object!");return te},m=function(te){try{return!!te()}catch(Ee){return!0}},b=!m(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7}),C=s.document,A=v(C)&&v(C.createElement),_=function(te){return A?C.createElement(te):{}},P=!b&&!m(function(){return Object.defineProperty(_("div"),"a",{get:function(){return 7}}).a!=7}),T=function(te,Ee){if(!v(te))return te;var Ue,ze;if(Ee&&typeof(Ue=te.toString)=="function"&&!v(ze=Ue.call(te))||typeof(Ue=te.valueOf)=="function"&&!v(ze=Ue.call(te))||!Ee&&typeof(Ue=te.toString)=="function"&&!v(ze=Ue.call(te)))return ze;throw TypeError("Can't convert object to primitive value")},x=Object.defineProperty,M=b?Object.defineProperty:function(Ee,Ue,ze){if(g(Ee),Ue=T(Ue,!0),g(ze),P)try{return x(Ee,Ue,ze)}catch(Ve){}if("get"in ze||"set"in ze)throw TypeError("Accessors not supported!");return"value"in ze&&(Ee[Ue]=ze.value),Ee},U={f:M},j=function(te,Ee){return{enumerable:!(te&1),configurable:!(te&2),writable:!(te&4),value:Ee}},$=b?function(te,Ee,Ue){return U.f(te,Ee,j(1,Ue))}:function(te,Ee,Ue){return te[Ee]=Ue,te},G={}.hasOwnProperty,J=function(te,Ee){return G.call(te,Ee)},ie=0,W=Math.random(),q=function(te){return"Symbol(".concat(te===void 0?"":te,")_",(++ie+W).toString(36))},H=u(function(te){var Ee="__core-js_shared__",Ue=s[Ee]||(s[Ee]={});(te.exports=function(ze,Ve){return Ue[ze]||(Ue[ze]=Ve!==void 0?Ve:{})})("versions",[]).push({version:f.version,mode:"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})}),X=H("native-function-to-string",Function.toString),k=u(function(te){var Ee=q("src"),Ue="toString",ze=(""+X).split(Ue);f.inspectSource=function(Ve){return X.call(Ve)},(te.exports=function(Ve,fe,We,tt){var St=typeof We=="function";St&&(J(We,"name")||$(We,"name",fe)),Ve[fe]!==We&&(St&&(J(We,Ee)||$(We,Ee,Ve[fe]?""+Ve[fe]:ze.join(String(fe)))),Ve===s?Ve[fe]=We:tt?Ve[fe]?Ve[fe]=We:$(Ve,fe,We):(delete Ve[fe],$(Ve,fe,We)))})(Function.prototype,Ue,function(){return typeof this=="function"&&this[Ee]||X.call(this)})}),ne=function(te){if(typeof te!="function")throw TypeError(te+" is not a function!");return te},re=function(te,Ee,Ue){if(ne(te),Ee===void 0)return te;switch(Ue){case 1:return function(ze){return te.call(Ee,ze)};case 2:return function(ze,Ve){return te.call(Ee,ze,Ve)};case 3:return function(ze,Ve,fe){return te.call(Ee,ze,Ve,fe)}}return function(){return te.apply(Ee,arguments)}},le="prototype",se=function(te,Ee,Ue){var ze=te&se.F,Ve=te&se.G,fe=te&se.S,We=te&se.P,tt=te&se.B,St=Ve?s:fe?s[Ee]||(s[Ee]={}):(s[Ee]||{})[le],Gt=Ve?f:f[Ee]||(f[Ee]={}),Zt=Gt[le]||(Gt[le]={}),Un,Yt,jn,kr;Ve&&(Ue=Ee);for(Un in Ue)Yt=!ze&&St&&St[Un]!==void 0,jn=(Yt?St:Ue)[Un],kr=tt&&Yt?re(jn,s):We&&typeof jn=="function"?re(Function.call,jn):jn,St&&k(St,Un,jn,te&se.U),Gt[Un]!=jn&&$(Gt,Un,kr),We&&Zt[Un]!=jn&&(Zt[Un]=jn)};s.core=f,se.F=1,se.G=2,se.S=4,se.P=8,se.B=16,se.W=32,se.U=64,se.R=128;var ae=se,pe={}.toString,Pe=function(te){return pe.call(te).slice(8,-1)},ve=Object("z").propertyIsEnumerable(0)?Object:function(te){return Pe(te)=="String"?te.split(""):Object(te)},Me=function(te){if(te==null)throw TypeError("Can't call method on  "+te);return te},ht=function(te){return Object(Me(te))},xt=Math.ceil,At=Math.floor,Bt=function(te){return isNaN(te=+te)?0:(te>0?At:xt)(te)},en=Math.min,Vt=function(te){return te>0?en(Bt(te),9007199254740991):0},be=Array.isArray||function(Ee){return Pe(Ee)=="Array"},Le=u(function(te){var Ee=H("wks"),Ue=s.Symbol,ze=typeof Ue=="function",Ve=te.exports=function(fe){return Ee[fe]||(Ee[fe]=ze&&Ue[fe]||(ze?Ue:q)("Symbol."+fe))};Ve.store=Ee}),Oe=Le("species"),yt=function(te){var Ee;return be(te)&&(Ee=te.constructor,typeof Ee=="function"&&(Ee===Array||be(Ee.prototype))&&(Ee=void 0),v(Ee)&&(Ee=Ee[Oe],Ee===null&&(Ee=void 0))),Ee===void 0?Array:Ee},wt=function(te,Ee){return new(yt(te))(Ee)},Lt=function(te,Ee){var Ue=te==1,ze=te==2,Ve=te==3,fe=te==4,We=te==6,tt=te==5||We,St=Ee||wt;return function(Gt,Zt,Un){for(var Yt=ht(Gt),jn=ve(Yt),kr=re(Zt,Un,3),Jr=Vt(jn.length),Tr
7=0,Or=Ue?St(Gt,Jr):ze?St(Gt,0):void 0,or,bi;Jr>Tr;Tr++)if((tt||Tr in jn)&&(or=jn[Tr],bi=kr(or,Tr,Yt),te)){if(Ue)Or[Tr]=bi;else if(bi)switch(te){case 3:return!0;case 5:return or;case 6:return Tr;case 2:Or.push(or)}else if(fe)return!1}return We?-1:Ve||fe?fe:Or}},jt=function(te,Ee){return!!te&&m(function(){Ee?te.call(null,function(){},1):te.call(null)})},Xe=Lt(0),zt=jt([].forEach,!0);ae(ae.P+ae.F*!zt,"Array",{forEach:function(Ee){return Xe(this,Ee,arguments[1])}}),ae(ae.S+ae.F*!b,"Object",{defineProperty:U.f});var nn=function(){},st=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}(),Ut=function(){return!!("ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch)}(),Jt=function(Ee){var Ue=Ee,ze=0;do ze=Ue.offsetTop+ze;while(Ue=Ue.offsetParent);return ze},on=function(){function te(Ee,Ue){var ze=this;r(this,te),d(this,"onResize",function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},We=fe.shouldSkipUpdate,tt=We===void 0?!1:We,St=ze.props.scrollEvents;ze.computePositionData(),ze.pos.offsetTop=Jt(ze.node),ze.pos.offsetBottom=document.body.scrollHeight-ze.pos.offsetTop-ze.pos.clientHeight,!(!St||st&&tt)&&ze.onUpdate(!0)}),d(this,"onScroll",function(){ze.onUpdate(!Ut)}),d(this,"onIntersect",function(fe){fe.forEach(function(We){var tt=We.isIntersecting,St=ze.props,Gt=St.onIntersection,Zt=St.windowRef;if(Gt(tt),ze.onUpdate(),tt){n.Z.on(ze.onScroll,Zt);return}n.Z.off(ze.onScroll,Zt)})}),d(this,"destroy",function(){ze.unbindListeners()}),this.props=t(t({},this.constructor.defaultProps),Ue),this.node=Ee,this.observer={intersection:null};var Ve=this.props.windowRef.pageYOffset;this.pos={scrollTop:Ve,top:0,bottom:0,progress:0,intersectionProgress:0,windowHeight:0,clientHeight:0,offsetTop:0,offsetBottom:0,initial:this.getNodePositionData(this.node,Ve),isIntersecting:!1}}return c(te,[{key:"start",value:function(){this.bindListeners()}},{key:"bindListeners",value:function(){if(a.default.on(this.onResize),this.onResize({shouldSkipUpdate:!0}),st){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),a.default.off(this.onResize),n.Z.off(this.onScroll)}},{key:"onUpdate",value:function(){var Ue=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,ze=this.props,Ve=ze.scrollEvents,fe=ze.normalize,We=ze.onIntersection,tt=ze.onUpdate,St=ze.windowRef;Ue?this.pos.scrollTop=St.pageYOffset:this.computePositionData();var Gt=this.pos,Zt=Gt.clientHeight,Un=Gt.windowHeight,Yt=Gt.initial;this.pos.top=Yt.top-this.pos.scrollTop,this.pos.bottom=Yt.bottom-this.pos.scrollTop-Un;var jn=fe?Math.min(this.pos.offsetTop,Un):Un,kr=fe?Math.min(this.pos.offsetBottom,Un):Un,Jr=-this.pos.top+jn,Tr=jn+Zt+kr-Un,Or=1-(this.pos.top+Zt)/(Un+Zt),or=Jr===Tr?
71:(-this.pos.top+jn)/(jn+Zt+kr-Un);this.pos.progress=or<0?0:or>1?1:or,this.pos.intersectionProgress=Or<0?0:Or>1?1:Or,st||(this.pos.intersectionProgress>0&&this.pos.intersectionProgress<1?this.pos.isIntersecting||(this.pos.isIntersecting=!0,We(this.pos.isIntersecting),this.onResize()):this.pos.isIntersecting&&(this.pos.isIntersecting=!1,We(this.pos.isIntersecting))),Ve&&tt(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(Ue,ze){var Ve=Ue.getBoundingClientRect(),fe=Ve.top,We=Ve.right,tt=Ve.bottom,St=Ve.left;return{top:Math.round(fe)+ze,right:We,bottom:Math.round(tt)+ze,left:St}}}]),te}();d(on,"defaultProps",{scrollEvents:!0,onIntersection:nn,onUpdate:nn,windowRef:window});var ln=c(function te(Ee,Ue){var ze=this;if(r(this,te),d(this,"onIntersection",function(Gt){var Zt=ze.props.onIntersection;ze.state.isIntersecting=Gt,Zt(Gt)}),d(this,"onUpdate",function(Gt){var Zt=Gt.progress;ze.onProgress(Zt)}),d(this,"onProgress",function(Gt){var Zt=ze.props.onProgress;ze.state.progress!==Gt&&(ze.state.progress=Gt,Zt(ze.state.progress))}),d(this,"destroy",function(){ze.intersection.destroy()}),this.props=t(t({},this.constructor.defaultProps),Ue),!Ee){console.error("Error: No valid HTMLElement node was supplied!");return}var Ve=this.props,fe=Ve.normalize,We=Ve.progressEvents,tt=Ve.onProgress,St=Ve.windowRef;this.state={normalize:fe,progressEvents:We&&tt,progress:-1,isIntersecting:!1},this.intersection=new on(Ee,{normalize:fe,scrollEvents:this.state.progressEvents,onIntersection:this.onIntersection,onUpdate:this.onUpdate,windowRef:St}),this.intersection.start()});d(ln,"defaultProps",{progressEvents:!0,normalize:!0,onIntersection:nn,onProgress:null,windowRef:window}),l.default=ln},708380:function(y,l,e){"use strict";e.r(l);function a(P,T){if(!(P instanceof T))throw new TypeError("Cannot call a class as a function")}function n(P,T){for(var x=0;x<T.length;x++){var M=T[x];M.enumerable=M.enumerable||!1,M.configurable=!0,"value"in M&&(M.writable=!0),Object.defineProperty(P,M.key,M)}}function o(P,T,x){return T&&n(P.prototype,T),x&&n(P,x),Object.defineProperty(P,"prototype",{writable:!1}),P}function t(P,T,x){return T in P?Object.defineProperty(P,T,{value:x,enumerable:!0,configurable:!0,writable:!0}):P[T]=x,P}function r(P){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,x;function M(){P()}function U(){if(x&&clearTimeout(x),!T){P();return}x=setTimeout(M,T)}return U.cancel=function(){clearTimeout(x)},U}var i=function(){function P(T){var x=this,M=T.waitTime,U=T.callback;a(this,P),t(this,"executeCallback",function(j){j()}),t(this,"executeCallbacks",function(){x.callbacks.forEach(x.executeCallback)}),t(this,"executeRAF",function(){cancelAnimationFrame(x.requestID),x.requestID=requestAnimationFrame(x.executeCallbacks)}),this.callbacks=new Set,this.callbacks.add(U),this.requestID=null,this.execute=M?r(this.executeRAF,M):this.executeCallbacks}return o(P,[{key:"add",value:function(x){this.callbacks.add(x)}},{key:"remove",value:function(x){this.callbacks.delete(x);var M=this.callbacks.size;return!M&&this.execute.cancel&&(this.execute.cancel(),cancelAnimationFrame(this.requestID)),M}}]),P}(),c=new Map,d=new Map,u=150,s=!1,f;function p(P){P.execute()}function v(){c.forEach(p)}function g(){cancelAnimationFrame(f),f=requestAnimationFrame(v)}function m(P){if(typeof P=="function"){var T=d.get(P);if(T!==void 0){var x=c.get(T).remove(P);d.delete(P),!x&&c.delete(T)}}}function b(P,T){if(typeof P=="function"){var x=P.cancel?0:T,M=d.get(P),U=c.get(x);if(M!==void 0&&M!==x&&m(P),d.set(P,x),!U){c.set(x,new i({waitTime:x,callback:P}));return}U.add(P)}}function C(P){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;b(P,T),!s&&(window.addEventListener("resize",g),s=!0)}function A(P){m(P),!(!s||c.size)&&(window.removeEventListener("resize",g),s=!1)}var _={on:C,off:A,trigger:g};l.default=_},304807:function(y,l){"use strict";var e;e={value:!0},l.Z=void 0;var a=[],n=0,o=!1,t=!1,r=!1,i=function(){var d=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){d={passive:!0}}}))}catch(u){}return d}(),c={scroll:function(u){t||(t=!0,requestAnimationFrame(this.executeCallbacks))},executeCallbacks:function(){for(var u=0;u<n;u+=1)a[u]();t=!1},registerCallback:function(u){var s=a.indexOf(u);!u||s>-1||(a.push(u),n+=1)},removeCallback:function(u){if(u){var s=a.indexOf(u);s!==-1&&(a.splice(s,1),n-=1)}},bindMethods:function(){o||(this.scroll=this.scroll.bind(this),o=!0)},trigger:function(){this.scroll()},on:function(u){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window;r||(r=!0,this.bindMethods(),this.windowRef=s,s.addEventListener("scroll",this.scroll,i)),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)}};l.Z=c},373887:function(y,l,e){"use strict";e.r(l),e.d(l,{Bokeh:function(){return ed},ComponentManager:function(){return Sd},Conic:function(){return Xt},Contours:function(){return ml},FilmGrainEffect:function(){return ad},Gradient:function(){return is}
7,ImageEffect:function(){return el},Images:function(){return vs},Isometric:function(){return kc},LiquidEffect:function(){return nd},ParallaxEffect:function(){return oc},RefractedCirclesEffect:function(){return rd},RefractedLinesEffect:function(){return id},Shapes:function(){return zu},Surface:function(){return qu},WebGLCanvas:function(){return qe},componentTypes:function(){return He},destroyRendererManager:function(){return ga},effectTypes:function(){return ic},getComponentByType:function(){return Ld},getEffectByType:function(){return rl},gradientTypes:function(){return ir},imagePresetKeys:function(){return ca},imagePresets:function(){return Ls},interactionTypes:function(){return nl},isWebGLSupported:function(){return m},mb32:function(){return Ml},patternPresetKeys:function(){return ho},patternPresets:function(){return ds},seededRandom:function(){return Dl},setContextLimit:function(){return n},shapesColorModes:function(){return nu},shapesDistributionModes:function(){return Go}});var a={contextLimit:4},n=function(D){a.contextLimit=Math.max(1,D)},o=a,t=e(392338),r=e(858240),i=e.n(r),c=e(4636),d=e.n(c),u=e(346797),s=e.n(u),f=!0;try{var p=document.createElement("canvas"),v={failIfMajorPerformanceCaveat:!0},g=p.getContext("webgl",v)||p.getContext("experimental-webgl",v);g||(f=!1)}catch(w){f=!1}var m=f,b=function(){function w(D){var R=this;i()(this,w),s()(this,"ticking",!1),s()(this,"raf",-1),s()(this,"tick",function(L){R.raf=requestAnimationFrame(R.tick),R.callback(L)}),this.callback=D}return d()(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}(),C=b;function A(w,D){if(!(w instanceof D))throw new TypeError("Cannot call a class as a function")}function _(w,D){for(var R=0;R<D.length;R++){var L=D[R];L.enumerable=L.enumerable||!1,L.configurable=!0,"value"in L&&(L.writable=!0),Object.defineProperty(w,L.key,L)}}function P(w,D,R){return D&&_(w.prototype,D),R&&_(w,R),w}function T(w,D,R){return D in w?Object.defineProperty(w,D,{value:R,enumerable:!0,configurable:!0,writable:!0}):w[D]=R,w}function x(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function M(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?x(Object(R),!0).forEach(function(L){T(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):x(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function U(w,D){if(typeof D!="function"&&D!==null)throw new TypeError("Super expression must either be null or a function");w.prototype=Object.create(D&&D.prototype,{constructor:{value:w,writable:!0,configurable:!0}}),D&&$(w,D)}
7function j(w){return j=Object.setPrototypeOf?Object.getPrototypeOf:function(R){return R.__proto__||Object.getPrototypeOf(R)},j(w)}function $(w,D){return $=Object.setPrototypeOf||function(L,F){return L.__proto__=F,L},$(w,D)}function G(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(w){return!1}}function J(w){if(w===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return w}function ie(w,D){return D&&(typeof D=="object"||typeof D=="function")?D:J(w)}function W(w){return function(){var D=j(w),R;if(G()){var L=j(this).constructor;R=Reflect.construct(D,arguments,L)}else R=D.apply(this,arguments);return ie(this,R)}}function q(w,D){for(;!Object.prototype.hasOwnProperty.call(w,D)&&(w=j(w),w!==null););return w}function H(w,D,R){return typeof Reflect!="undefined"&&Reflect.get?H=Reflect.get:H=function(F,Q,ge){var Ne=q(F,Q);if(Ne){var Ge=Object.getOwnPropertyDescriptor(Ne,Q);return Ge.get?Ge.get.call(ge):Ge.value}},H(w,D,R||w)}function X(w){return k(w)||ne(w)||re(w)||se()}function k(w){if(Array.isArray(w))return le(w)}function ne(w){if(typeof Symbol!="undefined"&&Symbol.iterator in Object(w))return Array.from(w)}function re(w,D){if(w){if(typeof w=="string")return le(w,D);var R=Object.prototype.toString.call(w).slice(8,-1);if(R==="Object"&&w.constructor&&(R=w.constructor.name),R==="Map"||R==="Set")return Array.from(R);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return le(w,D)}}function le(w,D){(D==null||D>w.length)&&(D=w.length);for(var R=0,L=new Array(D);R<D;R++)L[R]=w[R];return L}function se(){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 ae(w,D){var R=w.indexOf(D);return R!==-1&&w.splice(R,1),D}var pe=ae,Pe=function(){function w(){A(this,w),this.listeners=[]}return P(w,[{key:"add",value:function(R){this.listeners.push(R)}},{key:"remove",value:function(R){pe(this.listeners,R)}},{key:"dispatch",value:function(){var R=arguments;this.listeners.forEach(function(L){L.apply(void 0,X(R))})}},{key:"dispose",value:function(){this.listeners.length=0}}]),w}(),ve=Pe,Me=function(){function w(D){var R=this;A(this,w),T(this,"handleContextCreate",function(){R.cache=new Map,R.enabledCapabilities=new Map}),T(this,"dispose",function(){R.renderer.onDispose.remove(R.dispose),R.cache.clear(),R.enabledCapabilities.clear()}),this.renderer=D,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}return P(w,[{key:"get",value:function(R){return this.cache.get(R)}},{key:"set",value:function(R,L){this.cache.set(R,L)}},{key:"enable",value:function(R){this.enabledCapabilities.get(R)||(this.enabledCapabilities.set(R,!0),this.gl.enable(R))}},{key:"disable",value:function(R){this.enabledCapabilities.get(R)&&(this.enabledCapabilities.set(R,!1),this.gl.disable(R))}},{key:"gl",get:function(){return this.renderer.gl}}]),w}();T(Me,"NAME","state");var ht=Me,xt=function(){function w(D){var R=this;A(this,w),T(this,"handleContextCreate",function(){R.cache=new Map}),T(this,"dispose",function(){R.renderer.onDispose.remove(R.dispose),R.cache.clear()}),this.renderer=D,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}return P(w,[{key:"get",value:function(R){var L=this.cache.get(R);return L||(L={},this.cache.set(R,L)),L}},{key:"update",value:function(R,L,F){this.cache.get(R)[L]=F}},{key:"remove",value:function(R){this.cache.delete(R)}}]),w}();T(xt,"NAME","properties");var At=xt,Bt=function(w){return w.getShaderPrecisionFormat(w.VERTEX_SHADER,w.HIGH_FLOAT).precision>0&&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"},en=Bt,Vt=function(){function w(D){var R=this,L=D.canvas,F=D.alpha,Q=F===void 0?!1:F,ge=D.antialias,Ne=ge===void 0?!1:ge,Ge=D.depth,Qe=Ge===void 0?!1:Ge,ot=D.stencil,pt=ot===void 0?!1:ot,mt=D.premultipliedAlpha,Ht=mt===void 0?!1:mt,Rn=D.preserveDrawingBuffer,Wn=Rn===void 0?!1:Rn,Fn=D.failIfMajorPerformanceCaveat,Er=Fn===void 0?!1:Fn,Sr=D.pixelRatio,Zn=Sr===void 0?1:Sr,Bn=D.plugins,Kn=Bn===void 0?[]:Bn,nr=D.onContextCreate,Qi=D.onContextLoss;A(this,w),T(this,"uniformValues",new Map),T(this,"viewport",[0,0,2,2]),T(this,"handleContextLost",function(Ga){R.isContextLost=!0,R.onContextLoss.dispatch(),Ga.preventDefault()}),T(this,"handleContextRestored",function(){R.isContextLost=!1,R.createContext()}),this.contextAttributes={alpha:Q,antialias:Ne,depth:Qe,stencil:pt,premultipliedAlpha:Ht,preserveDrawingBuffer:Wn,failIfMajorPerformanceCaveat:Er},this.canvas=L,this.pixelRatio=Zn,this.isContextLost=!1,this.initSignals(),this.initPlugins(Kn),nr&&this.onContextCreate.add(nr),Qi&&this.onContextLoss.add(Qi),this.createContext()}return P(w,[{key:"initPlugins",value:function(R){var L=this;
7[].concat(X(w.corePlugins),X(R)).forEach(function(F){L[F.NAME]=new F(L)})}},{key:"initSignals",value:function(){this.onContextCreate=new ve,this.onContextLoss=new ve,this.onBeforeRender=new ve,this.onDispose=new ve}},{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=en(this.gl),this.onContextCreate.dispatch(this);else throw this.isContextLost=!0,new Error("Error creating WebGL context")}}]),w}();T(Vt,"corePlugins",[ht,At]);var be=Vt;function Le(w,D){if(!w||!D)return!1;if(w===D)return!0;if(w.length!==D.length)return!1;for(var R=0;R<w.length;++R)if(w[R]!==D[R])return!1;return!0}var Oe=Le;function yt(w,D){for(var R=0;R<w.length;R++)D[R]=w[R];return D.length=w.length,D}var wt=yt,Lt="viewport",jt=[];function Xe(w,D,R,L,F){var Q=w.get(Lt)||[];jt[0]=D,jt[1]=R,jt[2]=L,jt[3]=F,!Oe(Q,jt)&&(w.gl.viewport(D,R,L,F),w.cache.set(Lt,wt(jt,Q)))}var zt=Xe;function nn(w,D,R,L,F){w.viewport[0]=D,w.viewport[1]=R,w.viewport[2]=L,w.viewport[3]=F,zt.apply(void 0,[w.state].concat(X(w.viewport)))}var st=nn,Ut="clearColor";function Jt(w,D){var R,L=w.get(Ut)||[];Oe(L,D)||((R=w.gl).clearColor.apply(R,X(D)),w.cache.set(Ut,wt(D,L)))}var on=Jt;function ln(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,R=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,L=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!0,F=w.gl,Q=0;D&&(Q|=F.COLOR_BUFFER_BIT),R&&(Q|=F.DEPTH_BUFFER_BIT),L&&(Q|=F.STENCIL_BUFFER_BIT),F.clear(Q)}var te=ln;function Ee(w,D,R){w.uniformValues.set(D,R)}var Ue=Ee;function ze(w,D,R){w.isContextLost!==!0&&(D=D||w.canvas.clientWidth*w.pixelRatio,R=R||w.canvas.clientHeight*w.pixelRatio,w.canvas.width=D,w.canvas.height=R,st(w,0,0,D,R))}var Ve=ze;function fe(w){var D=w.gl;w.properties.cache.forEach(function(R){Object.values(R).forEach(function(L){switch(L.constructor.name){case"WebGLFramebuffer":D.deleteFramebuffer(L);break;case"WebGLRenderbuffer":D.deleteRenderbuffer(L);break;case"WebGLTexture":D.deleteTexture(L);break;case"WebGLBuffer":D.deleteBuffer(L);break;case"WebGLProgram":D.deleteProgram(L);break}delete R[L]})}),w.properties.cache.clear()}var We=fe;function tt(w){We(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 St=tt,Gt=function(D,R,L){return D*(1-L)+R*L},Zt=function(D,R,L){return D<R?R:D>L?L:D},Un=function(D,R){return(D%R+R)%R},Yt=function(D,R,L,F,Q){return(D-R)*(Q-F)/(L-R)+F};function jn(w,D){var R=w.properties.get(D);R.glTexture&&(w.gl.deleteTexture(R.glTexture),delete R.glTexture,w.properties.remove(D))}var kr=jn;function Jr(w,D){var R=w.properties.get(D);R&&(w.gl.deleteProgram(R.glProgram),w.properties.remove(D))}var Tr=Jr;function Or(w,D){var R=w.properties.get(D);R.glBuffer&&(w.gl.deleteBuffer(R.glBuffer),delete R.glBuffer),w.properties.remove(D)}var or=Or;function bi(w,D){D.attributes.forEach(function(R){return or(w,R)}),D.index&&or(w,D.index)}var zi=bi,aa=function(){function w(D){var R=D.renderer,L=D.instance,F=D.disposeMethod;i()(this,w),s()(this,"usageCount",0),this.renderer=R,this.instance=L,this.disposeMethod=F}return d()(w,[{key:"dispose",value:function(){this.disposeMethod(this.renderer,this.instance)}}]),w}(),oa=aa,Gi=function(){function w(D){i()(this,w),s()(this,"resources",new Map),this.renderer=D}return d()(w,[{key:"getResource",value:function(R){var L=R.key,F=R.factory,Q=R.disposeMethod,ge=this.resources.get(L);return ge||(ge=new oa({renderer:this.renderer,instance:F(),disposeMethod:Q}),this.resources.set(L,ge)),ge.usageCount++,ge.instance}},{key:"getTexture",value:function(R){var L=R.key,F=R.factory;return this.getResource({key:L,factory:F,disposeMethod:kr})}},{key:"getProgram",value:function(R){var L=R.key,F=R.factory;return this.getResource({key:L,factory:F,disposeMethod:Tr})}},{key:"getGeometry",value:function(R){var L=R.key,F=R.factory;return this.getResource({key:L,factory:F,disposeMethod:zi})}},{key:"releaseResource",value:function(R){var L=this.resources.get(R);L&&--L.usageCount===0&&(L.dispose(),this.resources.delete(R))}},{key:"destroy",value:function(){this.resources.clear(),this.renderer=null}}]),w}(),Wi=Gi;function Ae(w,D){var R=typeof Symbol!="undefined"&&w[Symbol.iterator]||w["@@iterator"];if(!R){if(Array.isArray(w)||(R=Pn(w))||D&&w&&typeof w.length=="number"){R&&(w=R);var L=0,F=function(){};return{s:F,n:function(){return L>=w.length?{done:!0}:{done:!1,value:w[L++]}},e:function(Qe){throw Qe},f:F}}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,ge=!1,Ne;return{s:function(){R=R.call(w)},n:function(){var Qe=R.next();return Q=Qe.done,Qe},e:function(Qe){ge=!0,Ne=Qe},f:function(){try{!Q&&R.return!=null&&R.return()}finally{if(ge)throw Ne}}
7}}function Pn(w,D){if(w){if(typeof w=="string")return Ii(w,D);var R=Object.prototype.toString.call(w).slice(8,-1);if(R==="Object"&&w.constructor&&(R=w.constructor.name),R==="Map"||R==="Set")return Array.from(w);if(R==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(R))return Ii(w,D)}}function Ii(w,D){(D==null||D>w.length)&&(D=w.length);for(var R=0,L=new Array(D);R<D;R++)L[R]=w[R];return L}function Hr(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function sa(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?Hr(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):Hr(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}var vn=.2,Br=40,Oi=60,Zi=5,wi=[1,.79,.62,.5,.4,.31,.25],Ri=3,pr=function(){function w(D){var R=D.attributes,L=D.plugins;if(i()(this,w),s()(this,"width",0),s()(this,"height",0),s()(this,"rendererWidth",0),s()(this,"rendererHeight",0),s()(this,"scaleStep",0),s()(this,"maxStep",Ri),s()(this,"avgFrameDuration",(Oi+Br)/2),s()(this,"isWebGLSupported",!0),s()(this,"content",[]),s()(this,"multipleActiveContent",!1),s()(this,"renderedLastFrame",!1),s()(this,"viewport",[]),!m){this.isWebGLSupported=!1;return}this.webglCanvas=document.createElement("canvas"),Object.assign(this.webglCanvas.style,{position:"absolute",left:0,top:0}),this.renderer=new be(sa({canvas:this.webglCanvas,plugins:L},R)),this.resourceCache=new Wi(this.renderer)}return d()(w,[{key:"register",value:function(R){R.updateSize();var L=Math.ceil(R.width*R.pixelRatio*wi[this.scaleStep]),F=Math.ceil(R.height*R.pixelRatio*wi[this.scaleStep]);R.setContextSize(L,F),this.content.push(R)}},{key:"unregister",value:function(R){var L=this.content.indexOf(R);L!==-1&&(this.content.splice(L,1),R.removeCanvas())}},{key:"tick",value:function(R,L){var F=this;this.renderedLastFrame&&(this.updateScaleStep(L),this.renderedLastFrame=!1),this.countActiveScenes(),this.updateRendererSize(),!(this.rendererWidth===0||this.rendererHeight===0)&&this.content.forEach(function(Q){!Q.needsForceRender&&!Q.isActive||(Q.update(R,L),Q.autoUpdate&&(Q.isDirty=!0),F.renderContent(Q))})}},{key:"updateScaleStep",value:function(R){var L=this.scaleStep;this.avgFrameDuration+=Zt(vn*(R-this.avgFrameDuration),-Zi,Zi),this.avgFrameDuration>Oi?++this.scaleStep:this.avgFrameDuration<Br&&this.scaleStep>0&&--this.scaleStep,this.scaleStep=Math.min(this.scaleStep,this.maxStep),L!==this.scaleStep&&(this.avgFrameDuration=(Oi+Br)/2)}},{key:"countActiveScenes",value:function(){var R=0,L,F=Ae(this.content),Q;try{for(F.s();!(Q=F.n()).done;){var ge=Q.value;(ge.isActive||ge.needsForceRender)&&R++,ge.node===this.webglCanvas.parentElement&&(L=ge)}}catch(Ht){F.e(Ht)}finally{F.f()}var Ne=R>1;
7if(L){var Ge=Ne&&!this.multipleActiveContent,Qe=!L.isActive;if(Ge||Qe){var ot=this.getScaledContentSize(L),pt=ot.width,mt=ot.height;this.copyPixels(L,pt,mt),L.removeCanvas(),L.show()}}this.multipleActiveContent=Ne}},{key:"updateRendererSize",value:function(){var R=0,L=0,F=0,Q=0,ge=wi[this.scaleStep],Ne=Ae(this.content),Ge;try{for(Ne.s();!(Ge=Ne.n()).done;){var Qe=Ge.value;R=Math.max(R,Qe.width),L=Math.max(L,Qe.height),F=Math.max(F,Math.ceil(Qe.width*Qe.pixelRatio*ge)),Q=Math.max(Q,Math.ceil(Qe.height*Qe.pixelRatio*ge))}}catch(ot){Ne.e(ot)}finally{Ne.f()}F===this.rendererWidth&&Q===this.rendererHeight||(this.width=R,this.height=L,this.resizeRenderer(F,Q))}},{key:"renderContent",value:function(R){var L=R.clearColor,F=R.isActive,Q=R.isDirty,ge=R.needsForceRender;if(!(!ge&&(!F||!Q))){var Ne=this.getScaledContentSize(R),Ge=Ne.width,Qe=Ne.height;st(this.renderer,0,this.rendererHeight-Qe,Ge,Qe),on(this.renderer.state,L),te(this.renderer),R.setContextSize(Ge,Qe),this.updateViewport(R,Ge,Qe),R.render(),this.multipleActiveContent?(this.copyPixels(R,Ge,Qe),R.show()):(this.resizeWebGLCanvasForContent(R),R.appendCanvas(this.webglCanvas),R.hide()),R.isDirty=!1,R.needsForceRender=!1,this.renderedLastFrame=!0}}},{key:"updateViewport",value:function(R,L,F){this.viewport[0]=0,this.viewport[1]=this.rendererHeight-F,this.viewport[2]=R.canvas.width,this.viewport[3]=R.canvas.height,Ue(this.renderer,"uViewport",this.viewport)}},{key:"copyPixels",value:function(R,L,F){var Q=R.context,ge=R.canvas.width,Ne=R.canvas.height;!Q||L===0||F===0||ge===0||Ne===0||(Q.clearRect(0,0,ge,Ne),Q.drawImage(this.webglCanvas,0,0,L,F,0,0,ge,Ne))}},{key:"getScaledContentSize",value:function(R){var L=Math.ceil(R.width*R.pixelRatio*wi[this.scaleStep]),F=Math.ceil(R.height*R.pixelRatio*wi[this.scaleStep]);return{width:L,height:F}}},{key:"resizeRenderer",value:function(R,L){this.rendererWidth=R,this.rendererHeight=L,Ve(this.renderer,this.rendererWidth,this.rendererHeight)}},{key:"resizeWebGLCanvasForContent",value:function(R){var L=R.pixelRatio*wi[this.scaleStep];this.webglCanvas.style.width=Math.ceil(this.rendererWidth/L)+"px",this.webglCanvas.style.height=Math.ceil(this.rendererHeight/L)+"px"}},{key:"destroy",value:function(){this.renderer&&(St(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}(),jr=typeof window!="undefined"?window:{};jr.__sqsWebGL||(jr.__sqsWebGL={initialized:!1,ticker:null,controllerPool:[],controllers:[],contentCount:0,sharedController:null,dedicatedControllers:[],dedicatedControllerPool:[],dedicatedContextLimit:3});var fr=jr.__sqsWebGL,Ca=function(){function w(D){var R=this;A(this,w),T(this,"handleContextCreate",function(){R.cache=new Map}),T(this,"dispose",function(){R.renderer.onContextCreate.remove(R.handleContextCreate),R.renderer.onDispose.remove(R.dispose),R.cache.clear()}),this.renderer=D,this.renderer.onContextCreate.add(this.handleContextCreate),this.renderer.onDispose.add(this.dispose)}return P(w,[{key:"get",value:function(R){var L=this.cache.get(R);if(!L)if(L=this.renderer.gl.getExtension(R),L)this.cache.set(R,L);else throw new Error("WebGLExtensions: ".concat(R," extension not supported."));return L}}]),w}();T(Ca,"NAME","extensions");var Ji=Ca,_i=function(){function w(D){var R=this;A(this,w),T(this,"nextTextureUnit",1),T(this,"reset",function(){R.nextTextureUnit=1}),this.renderer=D,this.renderer.onBeforeRender.add(this.reset),this.textureBindings=new WeakMap}return P(w,[{key:"dispose",value:function(){this.renderer.onBeforeRender.remove(this.reset),this.renderer=null}}]),w}();T(_i,"NAME","textures");var oi=_i,sn={plugins:[Ji,oi],attributes:{alpha:!0,antialias:!0,depth:!0,stencil:!1,premultipliedAlpha:!0,preserveDrawingBuffer:!0,failIfMajorPerformanceCaveat:!0}};function pa(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function Yi(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};
7D%2?pa(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):pa(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function si(){var w=performance.now();fr.ticker=new C(function(D){var R=D-w;w=D,fr.controllers.forEach(function(L){L.tick(D,R)})}),fr.ticker.start(),fr.initialized=!0}function Kr(){fr.ticker.stop(),fr.initialized=!1}function ki(w){return typeof w.controllers!="undefined"||(w.controllers=[],w.controllerPool=[],w.contentCount=0),w}var Da={register:function(D){var R=ki(fr),L=R.initialized,F=R.controllers,Q=R.controllerPool,ge=R.contentCount,Ne=o.contextLimit;L||si();var Ge=ge%Ne,Qe=F[Ge];return Qe||(Qe=Q.pop(),(!Qe||Qe.isContextLost())&&(Qe=new pr(Yi({},sn))),F.push(Qe)),Qe.register(D),fr.contentCount++,Qe},unregister:function(D){var R=fr.controllers,L=fr.controllerPool,F=R.find(function(Q){return Q.content.find(function(ge){return D===ge})});F&&(F.unregister(D),fr.contentCount--,F.isEmpty()&&(R.splice(R.indexOf(F),1),L.push(F)),R.every(function(Q){return Q.isEmpty()})&&Kr())}},ga=function(){var D=fr.controllers,R=fr.controllerPool;D.forEach(function(L){L.content.forEach(function(F){F.destroy(!0)}),L.content.length=0,L.destroy()}),D.length=0,R.length=0,fr.contentCount=0,Kr()};function qi(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function Yr(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?qi(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):qi(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}var qe=function(){function w(D,R){var L=this;i()(this,w),s()(this,"width",0),s()(this,"height",0),s()(this,"contextWidth",0),s()(this,"contextHeight",0),s()(this,"isActive",!1),s()(this,"isSupported",!0),s()(this,"autoUpdate",!0),s()(this,"isDirty",!0),s()(this,"needsForceRender",!1),s()(this,"clearColor",[1,1,1,1]),s()(this,"resourceKeys",[]),s()(this,"appendedCanvas",null),s()(this,"start",function(){return!L.isSupported||L.isActive||(L.isActive=!0),L}),s()(this,"stop",function(){return!L.isSupported||!L.isActive||(L.isActive=!1),L}),s()(this,"refresh",function(){if(L.isSupported)return L.updateSize(),L.onRefresh(),L}),this.node=D,this.props=Yr(Yr(Yr({},w.defaultProps),this.constructor.defaultProps),R),this.isSupported=m,this.isSupported&&(this.node.style.overflow="hidden",this.clearNode(),this.createCanvas(),this.renderController=Da.register(this),this.renderer=this.renderController.renderer,this.resourceCache=this.renderController.resourceCache,this.updateSize())}return d()(w,[{key:"createCanvas",value:function(){this.canvas=document.createElement("canvas"),Object.assign(this.canvas.style,{display:"block",position:"absolute",top:0,left:0,width:"100%",height:"100%"}),this.node.appendChild(this.canvas)}},{key:"setProps",value:function(R){if(!this.isSupported)return this;var L=Yr({},this.props);return this.props=Yr(Yr({},this.props),R),this.onUpdateProps(L),this.needsForceRender=!0,this}},{key:"onUpdateProps",value:function(R){}},{key:"detach",value:function(){this.isSupported&&(this.node.removeChild(this.canvas),this.appendedCanvas&&this.appendedCanvas.parentElement===this.node&&this.node.removeChild(this.appendedCanvas),this.onDetach(),this.node=null)}},{key:"onDetach",value:function(){}},{key:"attach",value:function(R){!this.isSupported||!this.canvas||(this.node=R,this.clearNode(),this.node.appendChild(this.canvas),this.appendedCanvas&&this.node.appendChild(this.appendedCanvas),this.onAttach())}},{key:"onAttach",value:function(){}},{key:"updateSize",value:function(){var R=this.node.getBoundingClientRect(),L=R.width,F=R.height;L===this.width&&F===this.height||(this.width=L,this.height=F,this.needsForceRender=!0)}},{key:"setContextSize",value:function(R,L){this.contextWidth===R&&this.contextHeight===L||(this.contextWidth=R,this.contextHeight=L,this.canvas.width=this.contextWidth,this.canvas.height=this.contextHeight)}},{key:"onRefresh",value:function(){}},{key:"update",value:function(R){}},{key:"render",value:function(){}},{key:"renderFrame",value:function(){if(this.isSupported)return this.needsForceRender=!0,this.canvas}},{key:"destroy",value:function(){var R=this,L=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;if(!(!this.isSupported||!this.renderController))return L===!1&&Da.unregister(this),this.renderController=null,this.resourceKeys.forEach(function(F){R.resourceCache.releaseResource(F)}),this.clearNode(),this.onDestroy(),this}},{key:"clearNode",value:function(){this.node&&(this.node.innerHTML="")}},{key:"onDestroy",value:function(){}},{key:"getTexture",value:function(R){var L=R.key,F=R.factory;return this.resourceKeys.push(L),this.resourceCache.getTexture({key:L,factory:F})}},{key:"getProgram",value:function(R){var L=R.key,F=R.factory;return this.resourceKeys.push(L),this.resourceCache.getProgram({key:L,factory:F})}},{key:"getGeometry",value:function(R){var L=R.key,F=R.factory;return this.resourceKeys.push(L),this.resourceCache.getGeometry({key:L,factory:F})}},{key:"releaseResource",value:function(R){var L=this.resourceKeys.indexOf(R);L!==-1&&(this.resourceKeys.splice(L,1),this.resourceCache.releaseResource(R))}},{key:"appendCanvas",value:function(R){R.parentElement!==this.node&&(this.node.appendChild(R),this.appendedCanvas=R)}},{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}();s()(qe,"defaultProps",{pixelRatio:1});var He={contours:"contours",gradient:"gradient",shapes:"shapes",images:"images",isometric:"isometric",surface:"surface",conic:"conic",bokeh:"bokeh"},Re=e(375798),De=e.n(Re),$e=e(721854),Je=e.n($e),It=e(699467),Pt=e.n(It),tn=e(506051),kt=e.n(tn),bn=function(){function w(D){var R=D.geometry,L=D.material,F=D.offset,Q=D.count;A(this,w),this.geometry=R,this.material=L,this.offset=F,this.count=Q}return P(w,[{key:"draw",value:function(R){}},{key:"uniforms",get:function(){return this.material.uniforms}},{key:"program",get:function(){return this.material.program},set:function(R){this.material.program=R}},{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}(),kn=bn,Ar=function(w){U(R,w);var D=W(R);function R(L){var F=L.geometry,Q=L.material,ge=L.offset,Ne=ge===void 0?0:ge,Ge=L.count,Qe=Ge===void 0?F.attributes.values().next().value.count:Ge;return A(this,R),D.call(this,{geometry:F,material:Q,offset:Ne,count:Qe})}return P(R,[{key:"draw",value:function(F){F.drawArrays(this.mode,this.offset,this.count)}}]),R}(kn),Ir=Ar,qr=3042,ni=2929,Vr=2960,zr=2884,ui=34962,ea=34963,li=35044,Jn=35048,Zr=0,ma=1,Pa=768,oe=769,we=770,nt=771,Qt=772,On=773,Mn=774,hi=775,gr=776,dr=32769,pi=32770,Mi=32771,An=32772,ci=32774,Vn=32774,wn=32774,mo=512,yo=519,Xo=513,Ta=514,_r=515,Wa=516,Eo=518,Aa=517,Rr=1028,ka=1029,ya=1032,Ha=3553,Ci=9728,ri=9729,Ka=9984,Te=9985,Ce=9986,xe=9987,Ze=10242,at=10243,gt=33071,Fe
7=10497,qt=33648,xn=6407,mn=6408,$n=33984,xr=36160,ua=36161,vr=0,Hi=1,Be=2,Ke=3,Ie=4,Ye=5,ut=6,ft=5120,Nt=5121,Rt=5122,dt=5123,$t=5124,un=5125,bt=5126,In=35664,Cn=35665,rn=35666,zn=35667,Hn=35668,Gn=35669,En=35670,Mr=35671,cn=35672,fi=35673,mr=35674,$r=35675,hr=35676,ar=35678,Cr=35680,Gr=35661,ee=35660,z=34930,K=0,ce={BLEND:qr,DEPTH_TEST:ni,STENCIL_TEST:Vr,CULL_FACE:zr,ARRAY_BUFFER:ui,ELEMENT_ARRAY_BUFFER:ea,STATIC_DRAW:li,DYNAMIC_DRAW:Jn,ZERO:Zr,ONE:ma,SRC_COLOR:Pa,ONE_MINUS_SRC_COLOR:oe,SRC_ALPHA:we,ONE_MINUS_SRC_ALPHA:nt,DST_ALPHA:Qt,ONE_MINUS_DST_ALPHA:On,DST_COLOR:Mn,ONE_MINUS_DST_COLOR:hi,SRC_ALPHA_SATURATE:gr,CONSTANT_COLOR:dr,ONE_MINUS_CONSTANT_COLOR:pi,CONSTANT_ALPHA:Mi,ONE_MINUS_CONSTANT_ALPHA:An,FUNC_ADD:ci,FUNC_SUBTRACT:Vn,FUNC_REVERSE_SUBTRACT:wn,NEVER:mo,ALWAYS:yo,LESS:Xo,EQUAL:Ta,LEQUAL:_r,GREATER:Wa,GEQUAL:Eo,NOTEQUAL:Aa,FRONT:Rr,BACK:ka,FRONT_AND_BACK:ya,TEXTURE_2D:Ha,NEAREST:Ci,LINEAR:ri,NEAREST_MIPMAP_NEAREST:Ka,LINEAR_MIPMAP_NEAREST:Te,NEAREST_MIPMAP_LINEAR:Ce,LINEAR_MIPMAP_LINEAR:xe,CLAMP_TO_EDGE:gt,REPEAT:Fe,MIRRORED_REPEAT:qt,RGB:xn,RGBA:mn,TEXTURE0:$n,FRAMEBUFFER:xr,RENDERBUFFER:ua,POINTS:vr,LINES:Hi,LINE_LOOP:Be,LINE_STRIP:Ke,TRIANGLES:Ie,TRIANGLE_STRIP:Ye,TRIANGLE_FAN:ut,BYTE:ft,UNSIGNED_BYTE:Nt,SHORT:Rt,UNSIGNED_SHORT:dt,INT:$t,UNSIGNED_INT:un,FLOAT:bt,FLOAT_VEC2:In,FLOAT_VEC3:Cn,FLOAT_VEC4:rn,INT_VEC2:zn,INT_VEC3:Hn,INT_VEC4:Gn,BOOL:En,BOOL_VEC2:Mr,BOOL_VEC3:cn,BOOL_VEC4:fi,FLOAT_MAT2:mr,FLOAT_MAT3:$r,FLOAT_MAT4:hr,SAMPLER_2D:ar,SAMPLER_CUBE:Cr,MAX_COMBINED_TEXTURE_IMAGE_UNITS:Gr,MAX_VERTEX_TEXTURE_IMAGE_UNITS:ee,MAX_TEXTURE_IMAGE_UNITS:z,NONE:K},me=ce,de=function w(D){var R=D.program,L=D.uniforms,F=L===void 0?{}:L,Q=D.options,ge=Q===void 0?{}:Q,Ne=D.mode,Ge=Ne===void 0?Ie:Ne;A(this,w),this.program=R,this.uniforms=F,this.options=ge,this.mode=Ge},it=de,Tt=function w(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},R=D.vert,L=D.frag,F=D.precision;A(this,w),this.vert=R,this.frag=L,this.precision=F},Ot=Tt;function hn(w){var D=w.geometry,R=w.vert,L=w.frag,F=w.precision,Q=w.program,ge=w.uniforms,Ne=w.options,Ge=w.mode,Qe=w.material,ot=w.DrawInfoClass,pt=ot===void 0?Ir:ot,mt=w.offset,Ht=w.count,Rn=w.primcount;return Q=Q||new Ot({vert:R,frag:L,precision:F}),Qe=Qe||new it({program:Q,uniforms:ge,options:Ne,mode:Ge}),new pt({geometry:D,material:Qe,offset:mt,count:Ht,primcount:Rn})}var an=hn,Sn=function w(D){var R=D.array,L=D.itemSize,F=D.normalized,Q=F===void 0?!1:F,ge=D.usage,Ne=ge===void 0?li:ge,Ge=D.name,Qe=Ge===void 0?"":Ge,ot=D.divisor,pt=ot===void 0?0:ot;A(this,w),this.array=R,this.itemSize=L,this.normalized=Q,this.usage=Ne,this.name=Qe,this.divisor=pt,this.count=R?R.length/L:0,this.needsUpdate=!1},gi=Sn,ei="aPosition",js="aNormal",Es="aUv",uc="uProjection",Zo="uModelView",qc="uDiffuse",lc="uAlpha",hu="uMap",rt="uAlphaMap",Dt="uUvOffsetRepeat",Et="vUv",yn="USE_MAP",Qn="USE_ALPHA_MAP",yr="aSpritePosition",Pi="aZDepth",Dr="aScale",pu="aRotation",sl="aTranslate",La={POSITION_ATTRIBUTE_NAME:ei,NORMAL_ATTRIBUTE_NAME:js,UV_ATTRIBUTE_NAME:Es,PROJECTION_MATRIX_UNIFORM_NAME:uc,MODEL_VIEW_MATRIX_UNIFORM_NAME:Zo,DIFFUSE_COLOR_UNIFORM_NAME:qc,ALPHA_UNIFORM_NAME:lc,MAP_UNIFORM_NAME:hu,ALPHA_MAP_UNIFORM_NAME:rt,UV_OFFSET_REPEAT_UNIFORM_NAME:Dt,UV_VARYING_NAME:Et,MAP_DEFINE:yn,ALPHA_MAP_DEFINE:Qn,SPRITE_POSITION_ATTRIBUTE_NAME:yr,SPRITE_Z_DEPTH_ATTRIBUTE_NAME:Pi,SPRITE_SCALE_ATTRIBUTE_NAME:Dr,SPRITE_ROTATION_ATTRIBUTE_NAME:pu,SPRITE_TRANSLATE_ATTRIBUTE_NAME:sl},gu=null,cc=function w(){A(this,w),this.attributes=new Map,this.index=null},qa=cc;function zs(w,D,R){return R.name=D,w.attributes.set(D,R),R}var Ki=zs;function Lr(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.position,R=D===void 0?ei:D,L=new qa,F=new Float32Array([-1,-1,-1,3,3,-1]);return Ki(L,R,new gi({array:F,itemSize:2})),L}var So=Lr;function ul(w,D,R){var L="buffer-".concat(D);w.get(L)!==R&&(w.gl.bindBuffer(D,R),w.set(L,R))}var Gs=ul;function mu(w,D,R){var L=w.properties.get(R);return L.glBuffer||(L.glBuffer=w.gl.createBuffer(),R.needsUpdate=!0),Gs(w.state,D,L.glBuffer),R.needsUpdate&&(w.gl.bufferData(D,R.array,R.usage),R.needsUpdate=!1),L.glBuffer}var ll=mu;function cl(w,D,R){var L=[];return R.forEach(function(F,Q){var ge=D.attributes.get(Q),Ne=ll(w,ui,ge);L[F(ge,Ne)]=1}),D.index&&ll(w,ea,D.index),L}var Ws=cl;function ao(w,D,R){var L=w.createShader(R);if(w.shaderSource(L,D),w.compileShader(L),!w.getShaderParameter(L,w.COMPILE_STATUS))throw new Error("could not compile shader: ".concat(w.getShaderInfoLog(L)));return L}var bo=ao;function yu(w,D){return w.substring(0,9)!=="precision"?"precision ".concat(D," float;\n").concat(w):w}var Bo=yu;function fl(w,D){var R=w.gl,L=R.createProgram(),F=D.vert,Q=Bo(D.frag,D.precision||w.defaultPrecision),ge=bo(R,F,R.VERTEX_SHADER),Ne=bo(R,Q,R.FRAGMENT_SHADER);if(R.attachShader(L,ge),R.attachShader(L,Ne),R.linkProgram(L),!R.getProgramParameter(L,R.LINK_STATUS))throw new Error("could not link shader: ".concat(R.getProgramInfoLog(L)));return R.deleteShader(ge),R.deleteShader(Ne),L}var fc=fl,Na="enabledAttributes";function dc(w,D){w.get(Na)||w.set(Na,[]);var R=w.get(Na);R[D]!==1&&(w.gl.enableVertexAttribArray(D),R[D]=1)}var oo=dc;function Jo(w,D){return function(R,L){return Gs(w.state,ui,L),oo(w.state,D),w.gl.vertexAttribPointer(D,R.itemSize,R.t
7ype||bt,R.normalize||!1,R.stride||0,R.offset||0),w.gl.vertexAttribDivisor&&w.gl.vertexAttribDivisor(D,R.divisor),D}}var Ss=Jo;function bs(w,D){for(var R=new Map,L=w.gl,F=L.getProgramParameter(D,L.ACTIVE_ATTRIBUTES),Q=0;Q<F;Q++){var ge=L.getActiveAttrib(D,Q),Ne=L.getAttribLocation(D,ge.name);R.set(ge.name,Ss(w,Ne))}return R}var Eu=bs;function ks(w){switch(w){case bt:return function(D,R,L){D.uniform1f(R,L)};case In:return function(D,R,L){D.uniform2f(R,L[0],L[1])};case Cn:return function(D,R,L){D.uniform3f(R,L[0],L[1],L[2])};case rn:return function(D,R,L){D.uniform4f(R,L[0],L[1],L[2],L[3])};case $t:case En:case ar:return function(D,R,L){D.uniform1i(R,L)};case zn:case Mr:return function(D,R,L){D.uniform2i(R,L[0],L[1])};case Hn:case cn:return function(D,R,L){D.uniform3i(R,L[0],L[1],L[2])};case Gn:case fi:return function(D,R,L){D.uniform4i(R,L[0],L[1],L[2],L[3])};case mr:return function(D,R,L){D.uniformMatrix2fv(R,!1,L)};case $r:return function(D,R,L){D.uniformMatrix3fv(R,!1,L)};case hr:return function(D,R,L){D.uniformMatrix4fv(R,!1,L)}}}function Yo(w){switch(w){case bt:return function(D,R,L){D.uniform1fv(R,L)};case In:return function(D,R,L){D.uniform2fv(R,L)};case Cn:return function(D,R,L){D.uniform3fv(R,L)};case rn:return function(D,R,L){D.uniform4fv(R,L)};case $t:case En:case ar:return function(D,R,L){D.uniform1iv(R,L)};case zn:case Mr:return function(D,R,L){D.uniform2iv(R,L)};case Hn:case cn:return function(D,R,L){D.uniform3iv(R,L)};case Gn:case fi:return function(D,R,L){D.uniform4iv(R,L)}}}function Hs(w,D,R){var L=w.getUniformLocation(D,R.name),F=(R.size===1?ks:Yo)(R.type);return function(Q){F(w,L,Q.call?Q():Q)}}var Su=Hs;function ef(w,D){for(var R=new Map,L=w.getProgramParameter(D,w.ACTIVE_UNIFORMS),F=0;F<L;F++){var Q=w.getActiveUniform(D,F),ge=Q.name.replace(/\[.*?\]/,"");R.set(ge,Su(w,D,Q))}return R}var dl=ef,tf=function w(D,R){A(this,w),this.attributeSetters=D,this.uniformSetters=R},Ks=tf;function Di(w,D){var R=Eu(w,D),L=dl(w.gl,D);return new Ks(R,L)}var ta=Di;function nf(w,D){var R=w.properties.get(D);return R.glProgram||(R.glProgram=fc(w,D),R.setters=ta(w,R.glProgram)),R}var vc=nf,vl="program";function hc(w,D){return w.get(vl)===D?!1:(w.gl.useProgram(D),w.cache.set(vl,D),!0)}var hl=hc;function Os(w,D){w.forEach(function(R,L){R(D.get(L))})}var pl=Os,Oo="enabledAttributes";function so(w,D){var R=w.get(Oo);R[D]!==0&&(w.gl.disableVertexAttribArray(D),R[D]=0)}var Wr=so;function ti(w,D){if(w.isContextLost!==!0){var R=vc(w,D.program),L=R.glProgram,F=R.setters;hl(w.state,L),w.onBeforeRender.dispatch(D);var Q=Ws(w,D,F.attributeSetters);w.state.get("enabledAttributes").forEach(function(Ne,Ge){Q[Ge]||Wr(w.state,Ge)});for(var ge in D.uniforms)w.uniformValues.set(ge,D.uniforms[ge]);pl(F.uniformSetters,w.uniformValues),D.draw(w.gl)}}var di=ti,la=e(425534),xa=e.n(la),qo=e(349509),_s=e.n(qo),Ea=e(263001),es=e.n(Ea),Cs=e(928152),gl=e.n(Cs),ye={sub:xa(),length:_s(),copy:es(),rotate:gl()},ts=function(D,R){var L=De()(R,3),F=L[0],Q=L[1],ge=L[2],Ne=Math.max(F,Q,ge),Ge=Math.min(F,Q,ge),Qe=0,ot=0,pt=(Ne+Ge)/2;if(Ne!==Ge){var mt=Ne-Ge;switch(ot=pt>.5?mt/(2-Ne-Ge):mt/(Ne+Ge),Ne){case F:Qe=(Q-ge)/mt+(Q<ge?6:0);break;case Q:Qe=(ge-F)/mt+2;break;case ge:Qe=(F-Q)/mt+4;break}Qe/=6}return D[0]=Qe,D[1]=ot,D[2]=pt,D},uo=function(D,R,L){return L<0&&(L+=1),L>1&&(L-=1),L<1/6?D+(R-D)*6*L:L<1/2?R:L<2/3?D+(R-D)*(2/3-L)*6:D},Sa=function(D,R){var L=De()(R,3),F=L[0],Q=L[1],ge=L[2],Ne=0,Ge=0,Qe=0;if(Q===0)Ne=ge,Ge=ge,Qe=ge;else{var ot=ge<.5?ge*(1+Q):ge+Q-ge*Q,pt=2*ge-ot;Ne=uo(pt,ot,F+1/3),Ge=uo(pt,ot,F),Qe=uo(pt,ot,F-1/3)}return D[0]=Ne,D[1]=Ge,D[2]=Qe,D},sr=function(D,R,L){return .2126*D+.7152*R+.0722*L},Qr=function(D){var R=[0,0,0,1],L;if(L=/^((?:rgb|hsl)a?)\(([^\)]*)\)/.exec(D)){var F,Q=L[1],ge=L[2];switch(Q){case"rgb":case"rgba":if(F=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(ge))return R[0]=Math.min(255,parseFloat(F[1],10))/255,R[1]=Math.min(255,parseFloat(F[2],10))/255,R[2]=Math.min(255,parseFloat(F[3],10))/255,R[3]=F[4]?parseFloat(F[4]):1,R;if(F=/^\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(ge))return R[0]=Math.min(100,parseFloat(F[1],10))/100,R[1]=Math.min(100,parseFloat(F[2],
710))/100,R[2]=Math.min(100,parseFloat(F[3],10))/100,R[3]=F[4]?parseFloat(F[4]):1,R;break;case"hsl":case"hsla":if(F=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(ge)){var Ne=parseFloat(F[1])/360,Ge=parseFloat(F[2],10)/100,Qe=parseFloat(F[3],10)/100;if(Ge===0)R[0]=Qe,R[1]=Qe,R[2]=Qe;else{var ot=Qe<=.5?Qe*(1+Ge):Qe+Ge-Qe*Ge,pt=2*Qe-ot;R[0]=uo(pt,ot,Ne+1/3),R[1]=uo(pt,ot,Ne),R[2]=uo(pt,ot,Ne-1/3)}return R[3]=F[4]?parseFloat(F[4]):1,R}break}}else if(L=/^\#([A-Fa-f\d]+)$/.exec(D)){var mt=L[1],Ht=mt.length;if(Ht===3||Ht===4)return R[0]=parseInt(mt.charAt(0)+mt.charAt(0),16)/255,R[1]=parseInt(mt.charAt(1)+mt.charAt(1),16)/255,R[2]=parseInt(mt.charAt(2)+mt.charAt(2),16)/255,R[3]=mt.charAt(3)?parseInt(mt.charAt(3)+mt.charAt(3),16)/255:1,R;if(Ht===6)return R[0]=parseInt(mt.charAt(0)+mt.charAt(1),16)/255,R[1]=parseInt(mt.charAt(2)+mt.charAt(3),16)/255,R[2]=parseInt(mt.charAt(4)+mt.charAt(5),16)/255,R[3]=mt.charAt(6)&&mt.charAt(7)?parseInt(mt.charAt(6)+mt.charAt(7),16)/255:1,R}return R},pc="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;
7\n\nvoid main() {\n  gl_Position = vec4(aPosition, 1.0);\n  vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",Wf='\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 ([email protected])\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  );
7\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 lo(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function rf(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?lo(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):lo(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function af(w){var D=of();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function of(){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 ml=function(w){Je()(R,w);var D=af(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),Q.isSupported?(Q.programKey=Q.getProgramKey(Q.props),Q.createResources(),Q.updateAutoUpdate(),Q):Pt()(Q)}return d()(R,[{key:"createResources",value:function(){this.drawInfo=an({program:this.createProgram(this.props),uniforms:rf({uMorphTime:0,uTravel:[0,0],uTravelDirection:[0,0],uAspect:this.width/this.height},this.updateUniforms({},this.props)),geometry:this.getGeometry({key:"big-triangle",factory:function(){return So()}})})}},{key:"createProgram",value:function(){var F=this,Q=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return this.getProgram({key:this.programKey,factory:function(){return new Ot({vert:pc,frag:F.concatFragmentShader(Wf,Q)})}})}},{key:"concatFragmentShader",value:function(F){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=Q.isBlurEnabled,Ne=Q.isBevelEnabled;return"\n    ".concat(ge?"#define IS_BLUR_ENABLED":"","\n    ").concat(!ge&&Ne?"#define IS_BEVEL_ENABLED":"","\n    ").concat(F,"\n    ")}},{key:"getProgramKey",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=F.isBlurEnabled,ge=F.isBevelEnabled;return"contours-program-".concat(+Q,"-").concat(+(!Q&&ge))}},{key:"updateProgram",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=this.getProgramKey(F);Q!==this.programKey&&(this.releaseResource(this.programKey),this.programKey=Q,this.drawInfo.program=this.createProgram(F))}},{key:"updateUniforms",value:function(){var F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},ge=this.getColors(),Ne=De()(ge,2),Ge=Ne[0],Qe=Ne[1];return Object.assign(F,{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:Qe,uScale:Math.max(1,100-Q.scale)*.2,uSeed:Q.seed*.1,uSteps:Q.steps}),F}},{key:"updateAutoUpdate",value:function(){var F=this.props,Q=F.speedTravel,ge=F.speedMorph;this.autoUpdate=!!(Q||ge)}},{key:"onUpdateProps",value:function(F){F.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 F=this.props.speedTravel*25e-6,Q=this.uniforms.uTravelDirection;this.uniforms.uMorphTime+=this.props.speedMorph*1e-5,this.uniforms.uTravel[0]+=F*Q[0],this.uniforms.uTravel[1]+=F*Q[1]}},{key:"render",value:function(){di(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 F=Qr(this.props.startColor),Q=Qr(this.props.endColor);return this.props.invertColors?[Q,F]:[F,Q]}}]),R}(qe);s()(ml,"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 sf=e(177928),Nn=e.n(sf),kf=e(603912),Va=e.n(kf),yl=function(){function w(D){var R=D.color1,L=D.color2;i()(this,w),this.color1=Va()(R),this.color2=Va()(L)}return d()(w,[{key:"update",value:function(){}}]),w}(),El="\nattribute vec3 aPosition;\n\nvarying vec2 vUv;
7\n\nvoid main() {\n  gl_Position = vec4(aPosition, 1.0);\n  vUv = gl_Position.xy * 0.5 + 0.5;\n}\n",uf="\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),\
7n    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 Ti(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function Vs(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?Ti(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):Ti(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}var gc=function(){function w(D){var R=this,L=D.stage;i()(this,w),s()(this,"angle",0),s()(this,"setProps",function(F){R.props=Vs(Vs({},R.props),F),R.angle=R.props.linearGradientAngle}),this.props=Vs({},w.defaultProps),this.stage=L}return d()(w,[{key:"getProgram",value:function(){return this.stage.getProgram({key:"linear-gradient-program",factory:function(){return new Ot({vert:El,frag:uf})}})}},{key:"getUniforms",value:function(){return this.uniforms={uAngle:[Math.cos(-this.props.linearGradientAngle*Math.PI/180),Math.sin(-this.props.linearGradientAngle*Math.PI/180)],uPosition1:(this.props.linearGradientStartColorDistance*.01+1)*.5,uPosition2:(this.props.linearGradientEndColorDistance*.01+1)*.5,uRepeat:this.props.linearGradientRepeat},this.uniforms}},{key:"update",value:function(){if(this.props.linearGradientAngle){var R=this.angle*Math.PI/180;this.uniforms.uAngle[0]=Math.cos(R),this.uniforms.uAngle[1]=Math.sin(R),this.angle-=this.props.linearGradientAngleMotion*.016}else this.uniforms.uAngle[0]=Math.cos(-this.props.linearGradientAngle*Math.PI/180),this.uniforms.uAngle[1]=Math.sin(-this.props.linearGradientAngle*Math.PI/180)}},{key:"onAttach",value:function(){}},{key:"onDetach",value:function(){}}]),w}();s()(gc,"defaultProps",{linearGradientStartColorDistance:-100,linearGradientEndColorDistance:100,linearGradientAngle:10,linearGradientAngleMotion:0,linearGradientRepeat:1});var ns="\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_647663866(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_647663866(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_647663866(vec4 x) {\n     return mod289_647663866(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_647663866(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_647663866 = 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_647663866 = step(x0.yzx, x0.xyz);
7\n  vec3 l = 1.0 - g_647663866;\n  vec3 i1 = min( g_647663866.xyz, l.zxy );\n  vec3 i2 = max( g_647663866.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_647663866.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_647663866(i);\n  vec4 p = permute_647663866( permute_647663866( permute_647663866(\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_647663866.wyz - D_647663866.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_647663866 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_647663866 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_647663866.xy,h.z);\n  vec3 p3 = vec3(a1_647663866.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_647663866(vec4(dot(p0_647663866,p0_647663866), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_647663866 *= 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_647663866,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\nuniform vec3 uColor1;\nuniform vec3 uColor2;\n\nuniform float uNoiseIntensity;\nuniform float uNoiseScale;\nuniform float uNoiseBias;\nuniform float uNoiseTime;\n\nuniform vec2 uPosition;\nuniform float uRadius;\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 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  vec2 center = uPosition;\n  float aspect = uResolution.x / uResolution.y;\n\n  uv.x *= aspect;\n  center.x *= aspect;\n\n  float t = clamp(length(center - uv) / uRadius, 0.0, 1.0);\n  t += uNoiseIntensity * (noise(gl_FragCoord.xy / uResolution) + uNoiseBias);\n\n  vec3 color = mix(uColor1, uColor2, smoothstep(0.0, 1.0, t));\n\n  gl_FragColor = vec4(color, 1.0);\n}\n",lf=function(){function w(D){var R=D.position,L=D.target,F=D.speed,Q=F===void 0?.5:F;i()(this,w),this.position=R,this.target=L,this.speed=Q}return d()(w,[{key:"update",value:function(){var R=arguments.length>0&&arguments[0]!==void 0?arguments[0]:.016,L=this.target,F=this.position,Q=this.speed;F[0]+=(L[0]-F[0])*(Q*R),F[1]+=(L[1]-F[1])*(Q*R)}}]),w}();function mc(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function na(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};
7D%2?mc(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):mc(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}var yc=function(){function w(D){var R=this,L=D.node,F=D.position;i()(this,w),s()(this,"target",[.5,.5]),s()(this,"setProps",function(Q){R.props=na(na({},R.props),Q),R.animation.speed=R.props.followSpeed,R.position[0]=R.target[0]=R.props.restX,R.position[1]=R.target[1]=R.props.restY,R.props.enabled?R.addEventListeners():(R.removeEventListeners(),R.update())}),s()(this,"onPointerMove",function(Q){var ge=R.node.getBoundingClientRect(),Ne=(Q.clientX-ge.left)/ge.width,Ge=1-(Q.clientY-ge.top)/ge.height;R.target[0]=Ne,R.target[1]=Ge,clearTimeout(R.pointerTargetResetTID)}),s()(this,"onPointerLeave",function(){clearTimeout(R.pointerTargetResetTID),R.pointerTargetResetTID=setTimeout(R.resetPointerTarget,2e3)}),s()(this,"resetPointerTarget",function(){ye.copy(R.target,[R.props.restX,R.props.restY])}),this.props=na({},w.defaultProps),this.node=L,this.position=F,this.animation=new lf({position:this.position,target:this.target})}return d()(w,[{key:"addEventListeners",value:function(){this.node.addEventListener("mousemove",this.onPointerMove),this.node.addEventListener("mouseleave",this.onPointerLeave)}},{key:"removeEventListeners",value:function(){this.node.removeEventListener("mousemove",this.onPointerMove),this.node.removeEventListener("mouseleave",this.onPointerLeave)}},{key:"update",value:function(){if(this.props.enabled){this.animation.update();return}var R=this.props,L=R.restX,F=R.restY;this.position[0]=L,this.position[1]=F}},{key:"destroy",value:function(){this.removeEventListeners(),delete this.node}}]),w}();s()(yc,"defaultProps",{enabled:!1,restX:.5,restY:.5,followSpeed:.1});function bu(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function vi(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?bu(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):bu(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}var Ou=function(){function w(D){var R=this,L=D.stage,F=D.node;i()(this,w),s()(this,"position",[0,0]),s()(this,"setProps",function(Q){R.props=vi(vi({},R.props),Q),R.updateFollowCursor()}),this.props=vi({},w.defaultProps),this.node=F,this.stage=L,this.createFollowCursor()}return d()(w,[{key:"createFollowCursor",value:function(){this.followCursor=new yc({node:this.node.closest("section")||this.node,position:this.position})}},{key:"updateFollowCursor",value:function(){this.followCursor.setProps({enabled:this.props.radialGradientFollowCursor,restX:this.props.radialGradientPositionX*.01,restY:this.props.radialGradientPositionY*.01,followSpeed:this.props.radialGradientFollowSpeed*.01})}},{key:"getProgram",value:function(){return this.stage.getProgram({key:"radial-gradient-program",factory:function(){return new Ot({vert:El,frag:ns})}})}},{key:"getUniforms",value:function(){return this.uniforms={uRadius:this.props.radialGradientRadius*.01,uPosition:this.position},this.uniforms}},{key:"update",value:function(){this.followCursor.update()}},{key:"destroy",value:function(){this.followCursor.destroy()}},{key:"onAttach",value:function(R){this.node=R,this.createFollowCursor(),this.updateFollowCursor()}},{key:"onDetach",value:function(){this.destroy()}}]),w}();s()(Ou,"defaultProps",{radialGradientRadius:50,radialGradientPositionX:50,radialGradientPositionY:50,radialGradientFollowCursor:!1,radialGradientFollowSpeed:50});function _u(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function rs(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};
7D%2?_u(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):_u(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function Sl(w){var D=Ec();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Ec(){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 bl={linear:gc,radial:Ou},Sc={none:yl},is=function(w){Je()(R,w);var D=Sl(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"gradientType",""),Q.isSupported?(Q.updateGradient(),Q.updateDrawInfo(),Q.updateAutoUpdate(),Q):Pt()(Q)}return d()(R,[{key:"updateGradient",value:function(){var F=this.getColors(),Q=De()(F,2),ge=Q[0],Ne=Q[1];this.gradient=new bl[this.props.gradientType]({stage:this,node:this.node}),this.gradient.setProps(this.props),this.gradientAnimation=new Sc[this.props.gradientAnimationType]({color1:ge,color2:Ne,speed:this.props.gradientAnimationSpeed*.01,offset:this.props.gradientAnimationIntensity*.01})}},{key:"updateDrawInfo",value:function(){var F=this.props.gradientType;return this.gradientType===F?!1:(this.gradientType=F,this.drawInfo=an({program:this.gradient.getProgram(),uniforms:rs({uTime:0,uMorphTime:0,uNoiseTime:0},this.getGradientUniforms()),geometry:this.getGeometry({key:"big-triangle",factory:function(){return So()}})}),!0)}},{key:"updateUniforms",value:function(){Object.assign(this.drawInfo.uniforms,this.getGradientUniforms())}},{key:"getGradientUniforms",value:function(){return rs(rs({},this.gradient.getUniforms()),{},{uColor1:this.gradientAnimation.color1,uColor2:this.gradientAnimation.color2,uNoiseIntensity:this.props.noiseIntensity*.01,uNoiseScale:100+900*((100-this.props.noiseScale)*.01),uNoiseBias:this.props.noiseBias*.01,uResolution:[this.width,this.height],uComplexity:this.props.distortionComplexity*.1,uDirection:(45+this.props.distortionDirection)*(Math.PI/180),uIntensity:this.props.distortionIntensity*.01,uSeed:this.props.distortionSeed,uSmoothness:this.props.distortionSmoothness*.01})}},{key:"updateAutoUpdate",value:function(){var F=this.props,Q=F.linearGradientAngleMotion,ge=F.radialGradientFollowCursor,Ne=F.radialGradientFollowSpeed,Ge=F.animateNoise,Qe=F.distortionSpeed,ot=F.distortionMorphSpeed;this.autoUpdate=Ge||Q||!!(ge&&Ne)||!!(Qe||ot)}},{key:"onUpdateProps",value:function(){this.updateGradient(),this.updateDrawInfo()||this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"update",value:function(){this.gradient.update(),this.props.animateNoise?(this.drawInfo.uniforms.uNoiseTime+=.016,this.drawInfo.uniforms.uNoiseTime%=1):this.drawInfo.uniforms.uNoiseTime=0,this.drawInfo.uniforms.uTime+=this.props.distortionSpeed*5e-5,this.drawInfo.uniforms.uMorphTime+=this.props.distortionMorphSpeed*1e-4,this.gradientAnimation.update()}},{key:"render",value:function(){di(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){this.drawInfo.uniforms.uResolution[0]=this.width,this.drawInfo.uniforms.uResolution[1]=this.height}},{key:"getColors",value:function(){var F=Qr(this.props.startColor),Q=Qr(this.props.endColor);return this.props.invertColors?[Q,F]:[F,Q]}},{key:"onAttach",value:function(){this.gradient.onAttach(this.node)}},{key:"onDetach",value:function(){this.gradient.onDetach()}}]),R}(qe);s()(is,"defaultProps",{gradientType:"radial",invertColors:!1,startColor:"#ffffff",endColor:"#000000",linearGradientStartColorDistance:0,linearGradientEndColorDistance:0,linearGradientAngle:0,linearGradientAngleMotion:0,linearGradientRepeat:1,radialGradientRadius:0,radialGradientPositionX:0,radialGradientPositionY:0,radialGradientFollowCursor:!1,radialGradientFollowSpeed:0,noiseIntensity:0,noiseScale:0,noiseBias:0,animateNoise:!1,distortionComplexity:0,distortionDirection:0,distortionIntensity:0,distortionMorphSpeed:0,distortionSeed:0,distortionSmoothness:0,distortionSpeed:0,gradientAnimationType:"none",gradientAnimationSpeed:0,gradientAnimationIntensity:0});var eo=function w(D){A(this,w),this.array=D,this.count=this.array.length,this.name="index",this.usage=li,this.needsUpdate=!0,D.constructor.name==="Uint32Array"?this.type=un:D.constructor.name==="Uint16Array"?this.type=dt:this.type=Nt},_o=eo;function Ps(w,D){w.index=new _o(D)}var Co=Ps;function as(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.width,R=D===void 0?2:D,L=w.height,F=L===void 0?2:L,Q=w.position,ge=Q===void 0?ei:Q,Ne=w.uv,Ge=Ne===void 0?Es:Ne,Qe=w.uvArray,ot=Qe===void 0?[0,1,1,1,1,0,0,0]:Qe,pt=new qa,mt=R*.5,Ht=F*.5;return ge&&Ki(pt,ge,new gi({array:new Float32Array([-mt,Ht,mt,Ht,mt,-Ht,-mt,-Ht]),itemSize:2})),Ge&&Ki(pt,Ge,new gi({array:new Float32Array(ot),itemSize:2})),Co(pt,new Uint8Array([2,1,0,2,0,3])),pt}var Po=as,$s=$a;function $a(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 Ol=function w(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},R=D.left,L=R===void 0?-1:R,F=D.right,Q=F===void 0?1:F,ge=D.bottom,Ne=ge===void 0?-1:ge,Ge=D.top,Qe=Ge===void 0?1:Ge,ot=D.near,pt=ot===void 0?0:ot,mt=D.far,Ht=mt===void 0?1:mt;A(this,w),this.left=L,this.right=Q,this.bottom=Ne,this.top=Qe,this.near=pt,this.far=Ht,this.position=[1,1,1],this.target=[0,0,0],this.viewMatrix=$s([]),this.projectionMatrix=$s([]),this.up=[0,1,0]},Ua=Ol,Fa=_l;function _l(){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 Cu=function w(){A(this,w),T(this,"parent",null),T(this,"children",[]),T(this,"pivot",[0,0]),T(this,"position",[0,0]),T(this,"scale",[1,1]),T(this,"rotation",0),T(this,"matrix",Fa()),T(this,"worldMatrix",Fa()),T(this,"matrixAutoUpdate",!0),T(this,"worldMatrixNeedsUpdate",!1)},Pu=Cu;function Qs(w,D){var R=w.children.indexOf(D);return R!==-1&&(w.children.splice(R,1),D.parent=null),D}var To=Qs;function Cl(w,D){return D.parent&&To(D.parent,D),w.children.includes(D)===!1&&(w.children.push(D),D.parent=w),D}var Tu=Cl,Ao=Pl;function Pl(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 Au=mi;function mi(w,D,R){var L=D[0],F=D[1],Q=D[2],ge=D[3],Ne=D[4],Ge=D[5],Qe=D[6],ot=D[7],pt=D[8],mt=R[0],Ht=R[1];return w[0]=L,w[1]=F,w[2]=Q,w[3]=ge,w[4]=Ne,w[5]=Ge,w[6]=mt*L+Ht*ge+Qe,w[7]=mt*F+Ht*Ne+ot,w[8]=mt*Q+Ht*Ge+pt,w}var Xs=Zs;function Zs(w,D,R){var L=R[0],F=R[1];return w[0]=L*D[0],w[1]=L*D[1],w[2]=L*D[2],w[3]=F*D[3],w[4]=F*D[4],w[5]=F*D[5],w[6]=D[6],w[7]=D[7],w[8]=D[8],w}var Vi=Ts;function Ts(w,D,R){var L=D[0],F=D[1],Q=D[2],ge=D[3],Ne=D[4],Ge=D[5],Qe=D[6],ot=D[7],pt=D[8],mt=Math.sin(R),Ht=Math.cos(R);return w[0]=Ht*L+mt*ge,w[1]=Ht*F+mt*Ne,w[2]=Ht*Q+mt*Ge,w[3]=Ht*ge-mt*L,w[4]=Ht*Ne-mt*F,w[5]=Ht*Ge-mt*Q,w[6]=Qe,w[7]=ot,w[8]=pt,w}var xo=[];
7function Qa(w){Ao(w.matrix),xo[0]=-w.pivot[0]+w.position[0],xo[1]=-w.pivot[1]+w.position[1],Au(w.matrix,w.matrix,xo),Vi(w.matrix,w.matrix,w.rotation),Xs(w.matrix,w.matrix,w.scale),Au(w.matrix,w.matrix,w.pivot),w.worldMatrixNeedsUpdate=!0}var Tl=Qa,Li=Al;function Al(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 bc=yi;function yi(w,D,R){var L=D[0],F=D[1],Q=D[2],ge=D[3],Ne=D[4],Ge=D[5],Qe=D[6],ot=D[7],pt=D[8],mt=R[0],Ht=R[1],Rn=R[2],Wn=R[3],Fn=R[4],Er=R[5],Sr=R[6],Zn=R[7],Bn=R[8];return w[0]=mt*L+Ht*ge+Rn*Qe,w[1]=mt*F+Ht*Ne+Rn*ot,w[2]=mt*Q+Ht*Ge+Rn*pt,w[3]=Wn*L+Fn*ge+Er*Qe,w[4]=Wn*F+Fn*Ne+Er*ot,w[5]=Wn*Q+Fn*Ge+Er*pt,w[6]=Sr*L+Zn*ge+Bn*Qe,w[7]=Sr*F+Zn*Ne+Bn*ot,w[8]=Sr*Q+Zn*Ge+Bn*pt,w}function xu(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;w.matrixAutoUpdate&&Tl(w),(w.worldMatrixNeedsUpdate||D)&&(w.parent===null?Li(w.worldMatrix,w.matrix):(Ao(w.worldMatrix),bc(w.worldMatrix,w.parent.worldMatrix,w.matrix)),w.worldMatrixNeedsUpdate=!1,D=!0),w.children.forEach(function(R){xu(R,D)})}var Js=xu,Iu="blendEquation";function ba(w,D,R){var L=R===void 0?"".concat(D):"".concat(D,"-").concat(R);w.get(Iu)!==L&&(R===void 0?w.gl.blendEquation(D):w.gl.blendEquationSeparate(D,R),w.set(Iu,L))}var co=ba,Ni="blendFunc";function Oa(w,D,R,L,F){var Q=L===void 0?"".concat(D,"-").concat(R):"".concat(D,"-").concat(R,"-").concat(L,"-").concat(F);w.get(Ni)!==Q&&(L===void 0?w.gl.blendFunc(D,R):w.gl.blendFuncSeparate(D,R,L,F),w.set(Ni,Q))}var Ei=Oa,xl=Xa;function Xa(w,D,R){var L=D[0],F=D[1],Q=D[2],ge=D[3],Ne=D[4],Ge=D[5],Qe=D[6],ot=D[7],pt=D[8],mt=D[9],Ht=D[10],Rn=D[11],Wn=D[12],Fn=D[13],Er=D[14],Sr=D[15],Zn=R[0],Bn=R[1],Kn=R[2],nr=R[3];return w[0]=Zn*L+Bn*Ne+Kn*pt+nr*Wn,w[1]=Zn*F+Bn*Ge+Kn*mt+nr*Fn,w[2]=Zn*Q+Bn*Qe+Kn*Ht+nr*Er,w[3]=Zn*ge+Bn*ot+Kn*Rn+nr*Sr,Zn=R[4],Bn=R[5],Kn=R[6],nr=R[7],w[4]=Zn*L+Bn*Ne+Kn*pt+nr*Wn,w[5]=Zn*F+Bn*Ge+Kn*mt+nr*Fn,w[6]=Zn*Q+Bn*Qe+Kn*Ht+nr*Er,w[7]=Zn*ge+Bn*ot+Kn*Rn+nr*Sr,Zn=R[8],Bn=R[9],Kn=R[10],nr=R[11],w[8]=Zn*L+Bn*Ne+Kn*pt+nr*Wn,w[9]=Zn*F+Bn*Ge+Kn*mt+nr*Fn,w[10]=Zn*Q+Bn*Qe+Kn*Ht+nr*Er,w[11]=Zn*ge+Bn*ot+Kn*Rn+nr*Sr,Zn=R[12],Bn=R[13],Kn=R[14],nr=R[15],w[12]=Zn*L+Bn*Ne+Kn*pt+nr*Wn,w[13]=Zn*F+Bn*Ge+Kn*mt+nr*Fn,w[14]=Zn*Q+Bn*Qe+Kn*Ht+nr*Er,w[15]=Zn*ge+Bn*ot+Kn*Rn+nr*Sr,w}function wu(){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 Il=wu,As=Ys;function Ys(){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 xs=As(),Ru=As();function qs(w,D,R){var L=function F(Q){Q.visible&&(Q.drawInfo&&(Ue(w,"uModelViewMatrix",xl(xs,R.viewMatrix,Il(Ru,Q.worldMatrix))),di(w,Q.drawInfo)),Q.children.forEach(F))};Ue(w,"uProjectionMatrix",R.projectionMatrix),D.children.forEach(L)}var wl=qs,Mu=Oc;function Oc(w,D,R,L,F,Q,ge){var Ne=1/(D-R),Ge=1/(L-F),Qe=1/(Q-ge);return w[0]=-2*Ne,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*Qe,w[11]=0,w[12]=(D+R)*Ne,w[13]=(F+L)*Ge,w[14]=(ge+Q)*Qe,w[15]=1,w}function Rl(w){Mu(w.projectionMatrix,w.left,w.right,w.bottom,w.top,w.near,w.far)}var Du=Rl;function Lu(w){var D=w.camera,R=w.x,L=R===void 0?0:R,F=w.y,Q=F===void 0?0:F,ge=w.width,Ne=ge===void 0?2:ge,Ge=w.height,Qe=Ge===void 0?2:Ge;return D.left=L,D.top=Q,D.right=L+Ne,D.bottom=Q+Qe,Du(D),D}var Nu=Lu,Ml=function(D){return function(R){return D=D+1831565813|0,R=Math.imul(D^D>>>15,1|D),R=R+Math.imul(R^R>>>7,61|R)^R,((R^R>>>14)>>>0)/Math.pow(2,32)}},Dl=function(D){var R=typeof D=="number"?Ml(D):Math.random,L=function(){var ot=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,pt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return ot+R()*(pt-ot)},F=function(ot,pt){var mt=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.5,Ht=arguments.length>3&&arguments[3]!==void 0?arguments[3]:.5,Rn=L(ot,pt),Wn=L(0,1)*Ht;return Rn*(1-Wn)+mt*Wn},Q=function(ot,pt){return Math.round(L(ot,pt))},ge=function(){return!!Math.round(R())},Ne=function(ot){for(var pt=ot.length-1;pt>0;pt--){var mt=R()*pt|0,Ht=ot[pt];ot[pt]=ot[mt],ot[mt]=Ht}return ot},Ge=function(ot){return ot[Q(0,ot.length-1)]};return{random:R,randomFloat:L,randomFloatBias:F,randomInt:Q,randomBool:ge,randomFromArray:Ge,shuffle:Ne}},cf=function(D,R,L){return D>R-L?1:Math.sqrt(D-.5)/Math.sqrt(R-(L+1)*.5)},Ll=function(w){for(var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,R=1,L=Math.round(R*Math.sqrt(w)),F=(Math.sqrt(5)+1)*.5,Q=[],ge=1;ge<w+1;ge++){var Ne=cf(ge,w,L),Ge=2*Math.PI*ge/(F*F);Q.push([Math.cos(Ge)*Ne*D,Math.sin(Ge)*Ne*D])}return Q},_c=function(w,D){return function(R){return(Array.isArray(R)?R:[R]).some(function(L){return w[L]!==D[L]})}},eu=function(w){U(R,w);var D=W(R);function R(L){var F=L.geometry,Q=L.material,ge=L.offset,Ne=ge===void 0?0:ge,Ge=L.count,Qe=Ge===void 0?F.index.count:Ge;return A(this,R),D.call(this,{geometry:F,material:Q,offset:Ne,count:Qe})}return P(R,[{key:"draw",value:function(F){F.drawElements(this.mode,this.index.count,this.index.type,this.offset)}}]),R}(kn),os=eu,Uu=function(w){U(R,w);var D=W(R);function R(){var L,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null;return A(this,R),L=D.call(this),T(J(L),"visible",!0),L.drawInfo=F,L}return R}(Pu),Cc=Uu,tu=e(226941),ur=e.n(tu),Hf=e(176857),Kf=e.n(Hf),Za=e(138903),jo=e.n(Za),Is=e(316514),ff=e.n(Is),Ja=e(709871),Pc=e.n(Ja),Fu=function(D,R){return D[0]=R,D[1]=R,D[2]=R,D},zo={distance:Kf(),copy:ur(),sub:jo(),set:ff(),normalize:Pc(),setScalar:Fu},Nl=function(){function w(D){var R=arguments.length>1&&arguments[1]!==void 0?arguments[1]:.05;i()(this,w),this.current=D,this.target=D,this.speed=R}return d()(w,[{key:"setTarget",value:function(R){var L=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;L&&(this.current=R),this.target=R}},{key:"getValue",value:function(){return this.current}},{key:"update",value:function(){var R=(this.target-this.current)*this.speed;return this.current+=R,this.current}}]),w}();function df(w){var D=Si();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Si(){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 Ui=function(w){Je()(R,w);var D=df(R);function R(L){var F,Q=L.geometry,ge=L.program,Ne=L.metaballs,Ge=L.containerWidth,Qe=L.containerHeight;i()(this,R),F=D.call(this,an({DrawInfoClass:os,program:ge,geometry:Q,uniforms:{uColor:[0,1,0],uMetaballs:Ne}})),s()(Nn()(F),"wobble",0),s()(Nn()(F),"morph",0),s()(Nn()(F),"speed",0),s()(Nn()(F),"scrollOffset",0),s()(Nn()(F),"containerWidth",0),s()(Nn()(F),"containerHeight",0),s()(Nn()(F),"metaballSizes",[]);for(var ot=0;ot<Ne.length;ot+=3)F.metaballSizes.push(Ne[ot+2]);return F.anchor=[0,0],F.containerWidth=Ge,F.containerHeight=Qe,F.time=Math.random()*Math.PI,F.size=new Nl(0),F}return d()(R,[{key:"setAnchor",value:function(F,Q){this.anchor[0]=F,this.anchor[1]=Q}},{key:"setSize",value:function(F){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;this.size.setTarget(F,Q)}}
7,{key:"update",value:function(){var F=this.size.update(),Q=this.containerWidth,ge=this.containerHeight;this.scale[0]=F*Math.max(Q,ge),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)*ge;var Ne=this.drawInfo.uniforms.uMetaballs;Ne[2]=this.metaballSizes[0]+.02*Math.sin(this.time+1)*this.morph,Ne[5]=this.metaballSizes[1]+.02*Math.cos(this.time+2)*this.morph,Ne[8]=this.metaballSizes[2]+.02*Math.sin(this.time+3)*this.morph,Ne[11]=this.metaballSizes[3]+.02*Math.cos(this.time+4)*this.morph,Ne[14]=this.metaballSizes[4]+.02*Math.sin(this.time+5)*this.morph,this.time+=.016*this.speed}},{key:"setContainerSize",value:function(F,Q){this.containerWidth=F,this.containerHeight=Q}},{key:"color",get:function(){return this.drawInfo.uniforms.uColor},set:function(F){zo.copy(this.drawInfo.uniforms.uColor,F)}}]),R}(Cc),Ul="\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
7);\n\n  vUv = aUv;\n}\n",Tc="\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",Go={linear:"linear",edge:"edge",center:"center"},nu={monochromatic:"monochromatic",vibrant:"vibrant"};function Bu(w){var D=Ac();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}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 ju=me.BLEND,Fl=me.DEPTH_TEST,Io=me.FUNC_ADD,vf=me.ONE_MINUS_SRC_ALPHA,Wo=me.SRC_ALPHA,Bl=function(D,R){for(var L=[],F=0;F<R;F++)L.push([D.randomFloat(0,1),D.randomFloat(0,1)]);return L},xc=function(D,R){for(var L=[],F=0;F<R;F++){var Q=D.randomFloat(0,Math.PI*2),ge=Math.cos(Q),Ne=Math.sin(Q);L.push([.5+.5*ge*D.randomFloat(1,1.2),.5+.5*Ne*D.randomFloat(1,1.2)])}return L},fo=function(D,R){var L=arguments.length>2&&arguments[2]!==void 0?arguments[2]:.1,F=D.shuffle(Ll(R,.5));return F.map(function(Q){return[(Q[0]+1)*.5+D.randomFloat(-L,L),(Q[1]+1)*.5+D.randomFloat(-L,L)]})},zu=function(w){Je()(R,w);var D=Bu(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"scrollProgress",0),s()(Nn()(Q),"onScrollProgress",function(ge){Q.scrollProgress=ge}),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):Pt()(Q)}return d()(R,[{key:"createResources",value:function(){this.blobProgram=this.getProgram({key:"blob-program",factory:function(){return new Ot({vert:Ul,frag:Tc})}}),this.quadGeometry=this.getGeometry({key:"unit-quad-geometry",factory:function(){return Po({width:1,height:1})}})}},{key:"createScene",value:function(){this.camera=new Ua,this.scene=new Pu}},{key:"updateRNG",value:function(){this.rng=Dl(this.props.seed)}},{key:"updateShapes",value:function(){this.shapes=[];for(var F=0;F<R.MAX_SHAPES;F++){for(var Q=[],ge=0;ge<5;ge++)Q.push(this.rng.randomFloat(.3,.7),this.rng.randomFloat(.3,.7),this.rng.randomFloat(.03,.06));var Ne=new Ui({geometry:this.quadGeometry,program:this.blobProgram,containerWidth:this.width,containerHeight:this.height,metaballs:Q});this.shapes.push(Ne)}}},{key:"updateDistribution",value:function(){var F=this.props.distribution,Q=R.MAX_SHAPES,ge;switch(F){case Go.edge:ge=xc(this.rng,Q);break;case Go.center:ge=fo(this.rng,Q);break;case Go.linear:default:ge=Bl(this.rng,Q);break}for(var Ne=0;Ne<R.MAX_SHAPES;Ne++){var Ge;(Ge=this.shapes[Ne]).setAnchor.apply(Ge,Va()(ge[Ne]))}}},{key:"updateCount",value:function(){var F=this;this.scene.children.length=0,this.visibleShapes=this.shapes.slice(0,Math.min(this.props.count,R.MAX_SHAPES)),this.visibleShapes.forEach(function(Q){Tu(F.scene,Q)})}},{key:"updateColor",value:function(){var F=this.props,Q=F.backgroundColor,ge=F.colorMode;switch(this.clearColor=Qr(Q),ge){case nu.vibrant:this.setVibrantColors();break;case nu.monochromatic:default:this.setMonochromaticColors();break}}},{key:"setMonochromaticColors",value:function(){var F=this,Q=Qr(this.props.baseColor),ge=ts([],Q),Ne=sr.apply(void 0,Va()(Q))>.5,Ge=Ne?-1:1;this.shapes.forEach(function(Qe){Sa(Qe.color,[ge[0],ge[1],ge[2]+F.rng.randomFloat(0,.5)*Ge])})}},{key:"setVibrantColors",value:function(){var F=this;
7this.shapes.forEach(function(Q){Sa(Q.color,[F.rng.randomFloat(0,1),1,.5])})}},{key:"updateShapeSize",value:function(F){var Q=this,ge=this.props,Ne=ge.size,Ge=ge.sizeVariance;this.shapes.forEach(function(Qe){var ot=Q.rng.randomFloat(Ne,Ne+Ge)/100;Qe.setSize(ot,F)})}},{key:"updateAnimation",value:function(){var F=this,Q=this.props,ge=Q.wobble,Ne=Q.morph,Ge=Q.speed;this.shapes.forEach(function(Qe){Qe.wobble=ge*.01*F.rng.randomFloat(.8,1.2)*.05,Qe.morph=Ne*.01*F.rng.randomFloat(.8,1.2),Qe.speed=Ge*.01*F.rng.randomFloat(.8,1.2)})}},{key:"updateAutoUpdate",value:function(){var F=this.props,Q=F.wobble,ge=F.morph,Ne=F.speed,Ge=F.scrollMovement;this.autoUpdate=!!(Ge||Ne&&(Q||ge))}},{key:"onUpdateProps",value:function(F){var Q=_c(this.props,F);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 F=this,Q=this.props.scrollMovement/100*.5;this.visibleShapes.forEach(function(ge,Ne,Ge){var Qe=Ge.length,ot=Q*Ne/(Qe-1),pt=-ot+2*ot*F.scrollProgress;ge.scrollOffset=pt,ge.update()}),Js(this.scene)}},{key:"render",value:function(){this.renderer.state.enable(ju),this.renderer.state.disable(Fl),co(this.renderer.state,Io),Ei(this.renderer.state,Wo,vf),wl(this.renderer,this.scene,this.camera)}},{key:"onRefresh",value:function(){var F=this.width,Q=this.height;this.shapes.forEach(function(ge){ge.setContainerSize(F,Q)}),Nu({camera:this.camera,x:0,y:0,width:F,height:Q})}}]),R}(qe);s()(zu,"MAX_SHAPES",100),s()(zu,"defaultProps",{seed:0,count:32,distribution:Go.edge,colorMode:nu.monochromatic,backgroundColor:"#ffffff",baseColor:"#000000",size:10,sizeVariance:0,wobble:0,morph:0,speed:0,scrollMovement:0});var Ic=function w(){var D=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},R=D.image,L=R===void 0?null:R,F=D.minFilter,Q=F===void 0?ri:F,ge=D.magFilter,Ne=ge===void 0?ri:ge,Ge=D.wrapS,Qe=Ge===void 0?gt:Ge,ot=D.wrapT,pt=ot===void 0?gt:ot,mt=D.format,Ht=mt===void 0?mn:mt,Rn=D.type,Wn=Rn===void 0?Nt:Rn,Fn=D.flipY,Er=Fn===void 0?!0:Fn,Sr=D.premultiplyAlpha,Zn=Sr===void 0?!1:Sr;A(this,w),this.image=L,this.minFilter=Q,this.magFilter=Ne,this.wrapS=Qe,this.wrapT=pt,this.format=Ht,this.type=Wn,this.flipY=Er,this.premultiplyAlpha=Zn,this.generateMipmap=this.minFilter!==ri&&this.minFilter!==Ci,this.needsUpdate=!1},Gu=Ic;function wc(w,D){var R=D.wrapS,L=D.wrapT,F=D.minFilter,Q=D.magFilter,ge=D.flipY,Ne=D.premultiplyAlpha;w.texParameteri(w.TEXTURE_2D,w.TEXTURE_WRAP_S,R),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_WRAP_T,L),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MIN_FILTER,F),w.texParameteri(w.TEXTURE_2D,w.TEXTURE_MAG_FILTER,Q),w.pixelStorei(w.UNPACK_FLIP_Y_WEBGL,ge),w.pixelStorei(w.UNPACK_PREMULTIPLY_ALPHA_WEBGL,Ne)}var ru=wc,hf="activeTexture";function pf(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0;w.get(hf)!==D&&(w.gl.activeTexture($n+D),w.set(hf,D))}var Wu=pf;function Ba(w,D,R){var L="texture-".concat(R);w.get(L)!==D&&(w.gl.bindTexture(Ha,D),w.set(L,D))}var Ia=Ba;function Vf(w,D){var R=w.gl;D.image&&R.texImage2D(Ha,0,D.format,D.format,D.type,D.image),D.generateMipmap&&R.generateMipmap(Ha)}var Rc=Vf;function jl(w,D,R){var L=w.gl,F=w.properties.get(D);return Wu(w.state,R),F.glTexture?(Ia(w.state,F.glTexture,R),D.needsUpdate===!0&&(Rc(w.state,D,F.glTexture),D.needsUpdate=!1)):(F.glTexture=L.createTexture(),Ia(w.state,F.glTexture,R),ru(L,D),Rc(w.state,D,F.glTexture)),R}var ws=jl;function Mc(w,D){var R=w.textures,L=R.textureBindings,F=L.get(D);return F||(F=function(){return ws(w,D,R.nextTextureUnit++)},L.set(D,F)),F}var ku=Mc,gf=function w(D){var R=D.width,L=D.height,F=D.generateDepth,Q=F===void 0?!1:F,ge=D.generateStencil,Ne=ge===void 0?!1:ge,Ge=D.textureOptions;A(this,w),this.width=R,this.height=L,this.generateDepth=Q,this.generateStencil=Ne,this.texture=new Gu(Ge),this.textureOptions=Ge},zl=gf;function Rs(w,D){var R=w.properties.get(D);kr(w,D.texture),R.glFrameBuffer&&(w.gl.deleteFramebuffer(R.glFrameBuffer),delete R.glFrameBuffer),R.glRenderBuffer&&(w.gl.deleteRenderbuffer(R.glRenderBuffer),delete R.glRenderBuffer),w.properties.remove(D)}var ss=Rs;function Dc(w){return new zl({width:w.width,height:w.height,generateDepth:w.generateDepth,generateStencil:w.generateStencil,textureOptions:w.textureOptions?M({},w.textureOptions):void 0})}var Gl=Dc;function Lc(w,D,R,L){ss(w,D),D.width=R,D.height=L}var Ms=Lc,Nc=function(){function w(D){var R=D.renderer,L=D.textureOptions,F=D.screenGeometry,Q=F===void 0?So():F;A(this,w),this.renderer=R,this.renderTargetTextureOptions=L,this.screenGeometry=Q,this.passes=[]}return P(w,[{key:"addPass",value:function(R,L){R.init(this),L!==void 0?this.passes.splice(L,0,R):this.passes.push(R)}},{key:"removePass",value:function(R){return pe(this.passes,R)}},{key:"setSize",value:function(R,L){R===this.width&&L===this.height||(this.width=R,this.height=L,this.inputRenderTarget?(Ms(this.renderer,this.inputRenderTarget,R,L),Ms(this.renderer,this.outputRenderTarget,R,L)):(this.inputRenderTarget=new zl({width:R,height:L,textureOptions:this.renderTargetTextureOptions}),this.outputRenderTarget=Gl(this.inputRenderTarget)))}},{key:"swapRenderTargets",value:function(){var R=this.inputRenderTarget;this.inputRenderTarget=this.outputRenderTarget,this.outputRenderTarget=R}},{key:"render",value:function(){var R=this;
7this.passes.forEach(function(L){L.enabled&&(L.render(R.renderer,R.inputRenderTarget,R.outputRenderTarget),L.shouldSwap&&R.swapRenderTargets())})}},{key:"dispose",value:function(){ss(this.renderer,this.inputRenderTarget),ss(this.renderer,this.outputRenderTarget),zi(this.renderer,this.screenGeometry),this.passes.forEach(function(R){R.dispose()}),this.passes.length=0,this.renderer=null}}]),w}(),Wl=Nc,kl=function(){function w(){A(this,w),this.renderToScreen=!1,this.shouldSwap=!0,this.shouldClear=!0,this.enabled=!0}return P(w,[{key:"init",value:function(R){this.composer=R}},{key:"render",value:function(R,L,F){}},{key:"dispose",value:function(){}}]),w}(),Hu=kl,mf="framebuffer";function Ku(w,D){w.get(mf)!==D&&(w.gl.bindFramebuffer(xr,D),w.set(mf,D))}var us=Ku,Fi="renderbuffer";function Vu(w,D){w.get(Fi)!==D&&(w.gl.bindRenderbuffer(ua,D),w.set(Fi,D))}var to=Vu;function vo(w,D,R){var L=w.gl,F=w.properties.get(D.texture),Q=D.texture.format,ge=D.texture.type;F.glTexture=L.createTexture(),Wu(w.state,0),Ia(w.state,F.glTexture,0),L.texImage2D(L.TEXTURE_2D,0,Q,D.width,D.height,0,Q,ge,null),ru(L,D.texture),R.glFrameBuffer=L.createFramebuffer(),us(w.state,R.glFrameBuffer),L.framebufferTexture2D(L.FRAMEBUFFER,L.COLOR_ATTACHMENT0,L.TEXTURE_2D,F.glTexture,0),D.generateDepth&&(R.glRenderBuffer=L.createRenderbuffer(),to(w.state,R.glRenderBuffer)),D.generateDepth&&!D.generateStencil?(L.renderbufferStorage(L.RENDERBUFFER,L.DEPTH_COMPONENT16,D.width,D.height),L.framebufferRenderbuffer(L.FRAMEBUFFER,L.DEPTH_ATTACHMENT,L.RENDERBUFFER,R.glRenderbuffer)):D.generateDepth&&D.generateStencil&&(L.renderbufferStorage(L.RENDERBUFFER,L.DEPTH_STENCIL,D.width,D.height),L.framebufferRenderbuffer(L.FRAMEBUFFER,L.DEPTH_STENCIL_ATTACHMENT,L.RENDERBUFFER,R.glRenderbuffer)),us(w.state,null),to(w.state,null),Ia(w.state,null,0)}var wa=vo,iu="renderTarget";function Uc(w){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;if(w.state.get(iu)!==D)if(w.state.set(iu,D),D){var R=w.properties.get(D);R.glFrameBuffer||wa(w,D,R),us(w.state,R.glFrameBuffer),zt(w.state,0,0,D.width,D.height)}else us(w.state,null),zt.apply(void 0,[w.state].concat(X(w.viewport)))}var $u=Uc,Qu="attribute vec2 aPosition;varying vec2 vUv;void main(){gl_Position=vec4(aPosition,0.0,1.0);vUv=gl_Position.xy*0.5+0.5;}",Fc=Qu,er="uniform sampler2D uInput;varying vec2 vUv;void main(){gl_FragColor=texture2D(uInput,vUv);}",Ai=er;function rr(w,D){zi(w,D.geometry),Tr(w,D.program)}var _a=rr,Bi=function(w){U(R,w);var D=W(R);function R(){var L,F=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Q=F.program,ge=Q===void 0?new Ot:Q,Ne=F.vert,Ge=F.frag,Qe=F.uniforms,ot=Qe===void 0?{}:Qe,pt=F.inputUniformName,mt=pt===void 0?"uInput":pt;return A(this,R),L=D.call(this),ge.vert||(ge.vert=Ne||Fc),ge.frag||(ge.frag=Ge||Ai),L.inputUniformName=mt,L.material=new it({program:ge,uniforms:ot}),L}return P(R,[{key:"init",value:function(F){H(j(R.prototype),"init",this).call(this,F),!this.drawInfo&&(this.drawInfo=new Ir({geometry:F.screenGeometry,material:this.material}))}},{key:"setInput",value:function(F,Q){this.material.uniforms[this.inputUniformName]=ku(F,Q.texture)}},{key:"render",value:function(F){var Q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,ge=arguments.length>2&&arguments[2]!==void 0?arguments[2]:null;this.setInput(F,Q),$u(F,this.renderToScreen?null:ge),!this.renderToScreen&&this.shouldClear&&te(F),di(F,this.drawInfo)}},{key:"dispose",value:function(){_a(this.composer.renderer,this.drawInfo)}},{key:"uniforms",get:function(){return this.material.uniforms}}]),R}(Hu),ls=Bi;function ja(w){return w===0?1:(w--,w|=w>>1,w|=w>>2,w|=w>>4,w|=w>>8,w|=w>>16,w+1)}var Dn=ja,ko=document.createElement("canvas");ko.width=2,ko.height=2;var cs=ko;function wo(w){return new Promise(function(D){var R=document.createElement("img");R.crossOrigin="Anonymous",R.onload=function(){D(R)},R.src=w})}var Hl=wo,Kl=e(164940),dn=e.n(Kl),$i=e(575677),Bc=e.n($i);function fs(w){var D=Xu();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Xu(){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 Zu=function(w){Je()(R,w);var D=fs(R);function R(L){var F,Q=L.program,ge=L.geometry,Ne=L.tint,Ge=L.x,Qe=L.y,ot=L.width,pt=L.height,mt=L.textureBinding;return i()(this,R),F=D.call(this,an({DrawInfoClass:os,program:Q,geometry:ge,uniforms:{uImage:mt,uTint:Ne}})),s()(Nn()(F),"width",1),s()(Nn()(F),"height",1),s()(Nn()(F),"update",function(){F.position[0]=F.body.position.x,F.position[1]=F.body.position.y,F.rotation=F.body.angle}),F.body=dn().Bodies.rectangle(Ge,Qe,1,1,{friction:1e-5,restitution:.5,density:.001}),dn().Body.rotate(F.body,Math.random()*360),F.setScale(ot,pt),F}return d()(R,[{key:"setScale",value:function(F,Q){this.scale[0]=F,this.scale[1]=Q;var ge=F/this.width,Ne=Q/this.height;this.width=F,this.height=Q;var Ge=this.body.angle;dn().Body.setAngle(this.body,0),dn().Body.scale(this.body,ge,Ne),dn().Body.setAngle(this.body,Ge)}},{key:"setPosition",value:function(F,Q){this.position[0]=F,this.position[1]=Q,dn().Body.setPosition(this.body,{x:F,y:Q})}},{key:"setTint",value:function(F){this.drawInfo.uniforms.uTint=F}},{key:"destroy",value:function(){}}]),R}(Cc);dn().Common.logLevel=0;var au=function(){function w(D){var R=D.quadProgram,L=D.quadGeometry,F=D.textureBinding,Q=D.scene,ge=D.webglCanvas,Ne=D.imageScale,Ge=D.imageCount,Qe=D.imageTint;i()(this,w),s()(this,"quads",[]),s()(this,"width",0),s()(this,"height",0),s()(this,"count",0),s()(this,"imageScale",100),s()(this,"imageRatio",1),s()(this,"imageTint",[1,1,1]),s()(this,"time",0),s()(this,"isSizeDirty",!1),this.quadProgram=R,this.quadGeometry=L,this.textureBinding=F,this.scene=Q,this.webglCanvas=ge,this.engine=dn().Engine.create({}),this.engine.gravity.y=0,this.engine.enableSleeping=!0,this.createMouse(),dn().use(Bc()),this.imageScale=Ne,this.imageTint=Qe,this.setCount(Ge)}return d()(w,[{key:"createMouse",value:function(){var R=this.webglCanvas.node.closest("section")||this.webglCanvas.node;this.mouse=dn().Mouse.create(R),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=dn().MouseConstraint.create(this.engine,{mouse:this.mouse,enabledEvents:{mousewheel:!1},constraint:{stiffness:.2,render:{visible:!1}}}),dn().World.add(this.engine.world,this.mouseConstraint)}},{key:"setCount",value:function(R){if(R!==this.count){for(var L=this.webglCanvas,F=L.width,Q=L.height,ge=this.getQuadSize(),Ne=De()(ge,2),Ge=Ne[0],Qe=Ne[1],ot=0,pt=0,mt=Math.max(R,this.quads.length);pt<mt;pt+=1){var Ht=this.quads[pt];if(pt>R)Ht&&(this.removeQuad(Ht),ot+=1);else if(!Ht){var Rn=Math.random()*F,Wn=Math.random()*Q,Fn=new Zu({program:this.quadProgram,geometry:this.quadGeometry,textureBinding:this.textureBinding,tint:this.imageTint,x:Rn,y:Wn,width:Ge,height:Qe});Fn.body.plugin.wrap={min:{x:0,y:0},max:{x:F,y:Q}},this.addQuad(Fn)}}this.quads.splice(this.quads.length-ot),this.count=R}}},{key:"setScale",value:function(R){this.imageScale=R,this.updateQuadSize()}},{key:"setImageRatio",value:function(R){this.imageRatio=R,this.updateQuadSize()}},{key:"setImageTint",value:function(R){this.imageTint=R,this.quads.forEach(function(L){L.setTint(R)})}},{key:"addQuad",value:function(R){Tu(this.scene,R),dn().World.addBody(this.engine.world,R.body),this.quads.push(R)}},{key:"removeQuad",value:function(R){To(this.scene,R),dn().World.remove(this.engine.world,R.body),R.destroy()}},{key:"updateQuadSize",value:function(){var R=this.getQuadSize(),L=De()(R,2),F=L[0],Q=L[1];this.quads.forEach(function(ge){ge.setScale(F,Q)}),this.isSizeDirty=!0}},{key:"update",value:function(R){var L=this.time?R-this.time:.016;dn().Engine.update(this.engine,L),this.quads.forEach(function(F){F.update()}),this.time=R}},{key:"resize",value:function(R,L){if(!(R===0||L===0)&&!(R===this.width&&L===this.height)){var F=this.width?R/this.width:1,Q=this.height?L/this.height:1;this.width=R,this.height=L;var ge=this.getQuadSize(),Ne=De()(ge,2),Ge=Ne[0],Qe=Ne[1];this.quads.forEach(function(ot){var pt=ot.body.position,mt=pt.x,Ht=pt.y;ot.setPosition(mt*F,Ht*Q),ot.setScale(Ge,Qe),ot.body.plugin.wrap={min:{x:-Ge*.5,y:-Qe*.5},max:{x:R+Ge*.5,y:L+Qe*.5}}}),this.isSizeDirty=!0}}},{key:"getQuadSize",value:function(){var R=1+Math.max(this.width,this.height),L=R*Yt(this.imageScale,0,100,.1,.2),F=L*this.imageRatio;return[L,F]}},{key:"needsRender",value:function(){var R=this.isSizeDirty||this.quads.some(function(L){return!L.body.isSleeping});return this.isSizeDirty=!1,R}},{key:"destroy",value:function(){this.destroyMouse(),dn().Engine.clear(this.engine)}},{key:"destroyMouse",value:function(){var R=this.mouse,L=R.element,F=R.mousemove,Q=R.mousedown,ge=R.mouseup;dn().World.remove(this.engine.world,this.mouseConstraint),L.removeEventListener("mousemove",F),L.removeEventListener("mousedown",Q),L.removeEventListener("mouseup",ge)}}]),w}(),Ds="\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
7);\n\n  vUv = aUv;\n}\n",Ju="\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",Vl="\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",no='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\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);
7\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',ii="\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",ca={blob1:"blob1",blob2:"blob2",brush1:"brush1",brush2:"brush2",brush3:"brush3",circle1:"circle1",polygon1:"polygon1",polygon2:"polygon2"},fa,Ls=(fa={},s()(fa,ca.blob1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/blob1.png"}),s()(fa,ca.blob2,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/blob2.png"}),s()(fa,ca.brush1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/brush1.png"}),s()(fa,ca.brush2,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/brush2.png"}),s()(fa,ca.brush3,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/brush3.png"}),s()(fa,ca.circle1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/circle1.png"}
7),s()(fa,ca.polygon1,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/polygon1.png"}),s()(fa,ca.polygon2,{presetImageUrl:"https://assets.squarespace.com/webgl-components-assets/graphics/polygon2.png"}),fa),ho={circle:"circle",crossStitch:"crossStitch",cube:"cube",gingham:"gingham",gradientCircle:"gradientCircle",houndstooth:"houndstooth",stitch:"stitch"},xi,ds=(xi={},s()(xi,ho.circle,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/circle.png",patternSpaceX:1,patternSpaceY:1,patternOffsetX:.5,patternOffsetY:.5}),s()(xi,ho.crossStitch,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/cross-stitch.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),s()(xi,ho.cube,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/cube.png",patternSpaceX:.85,patternSpaceY:.75,patternOffsetX:.5,patternOffsetY:0}),s()(xi,ho.gingham,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/gingham.png",patternSpaceX:.67,patternSpaceY:.67,patternOffsetX:0,patternOffsetY:0}),s()(xi,ho.gradientCircle,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/gradient-circle.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),s()(xi,ho.houndstooth,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/houndstooth.png",patternSpaceX:.77,patternSpaceY:.82,patternOffsetX:0,patternOffsetY:0}),s()(xi,ho.stitch,{patternImageUrl:"https://assets.squarespace.com/webgl-components-assets/patterns/stitch.png",patternSpaceX:.5,patternSpaceY:.5,patternOffsetX:0,patternOffsetY:0}),xi);function $l(w){var D=yf();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function yf(){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 Ef=me.BLEND,Sf=me.FUNC_ADD,Ns=me.ONE_MINUS_SRC_ALPHA,bf=me.SRC_ALPHA,Ql=me.NEAREST,Xl=me.MIRRORED_REPEAT,Yu=.2,Zl=.001,jc=.01,vs=function(w){Je()(R,w);var D=$l(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"useEffects",!1),s()(Nn()(Q),"isReady",!1),Q.isSupported?(Q.createResources(),Q.createScene(),Q.createPhysics(),Q.updateEffects(),Q.updateAutoUpdate(),Q.preload(),Q):Pt()(Q)}return d()(R,[{key:"preload",value:function(){var F=this,Q=[this.loadImage()];this.props.patternEnabled&&Q.push(this.loadPatternImage()),Promise.all(Q).then(function(){F.isReady=!0,F.needsForceRender=!0,F.updateAutoUpdate(),F.refresh()})}},{key:"createResources",value:function(){this.imageQuadProgram=this.getProgram({key:"image-quad-program",factory:function(){return new Ot({vert:Ds,frag:Ju})}}),this.quadGeometry=this.getGeometry({key:"unit-quad-geometry",factory:function(){return Po({width:1,height:1})}}),this.texture=new Gu({image:cs}),this.textureBinding=ku(this.renderer,this.texture),this.patternTexture=new Gu({image:cs}),this.patternTextureBinding=ku(this.renderer,this.patternTexture),this.composer=new Wl({renderer:this.renderer,textureOptions:{minFilter:Ql,magFilter:Ql,wrapS:Xl,wrapT:Xl,premultiplyAlpha:!0},screenGeometry:this.getGeometry({key:"big-triangle",factory:So})}),this.waveEffect=new ls({uniforms:{uResolution:[this.width,this.height],uTime:0,uFabricSeed:0,uFabricNoise:this.props.waveComplexity*Yu,uFabricNoiseStrength:this.props.waveDepth*Zl,uFabricShadowDepth:this.props.waveShadowDepth*jc},program:this.getProgram({key:"wave-effect-program",factory:function(){return new Ot({vert:Vl,frag:no})}})}),this.patternEffect=new ls({uniforms:{uResolution:[this.width,this.height],uPatternSize:this.props.patternSize,uThreadSampler:this.patternTextureBinding,uPatternColor:Qr(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 Ot({vert:Vl,frag:ii})}})}),this.composer.addPass(this.patternEffect),this.composer.addPass(this.waveEffect)}},{key:"createScene",value:function(){this.camera=new Ua,this.scene=new Pu,this.clearColor=Qr(this.props.backgroundColor)}},{key:"createPhysics",value:function(){var F=this.props,Q=F.imageScale,ge=F.imageCount,Ne=F.imageTint;this.physics=new au({quadProgram:this.imageQuadProgram,quadGeometry:this.quadGeometry,scene:this.scene,canvas:this.canvas,webglCanvas:this,textureBinding:this.textureBinding,imageScale:Q,imageCount:ge,imageTint:Qr(Ne)})}},{key:"loadImage",value:function(){var F,Q=this,ge=this.props,Ne=ge.presetImageKey,Ge=ge.image,Qe=ge.customImage,ot=(Ge==null?void 0:Ge.assetUrl)||(Qe==null?void 0:Qe.assetUrl)||((F=Ls[Ne])===null||F===void 0?void 0:F.presetImageUrl);
7return ot?Hl(ot).then(function(pt){var mt=pt.naturalWidth,Ht=pt.naturalHeight;Q.physics.setImageRatio(Ht/mt),Q.texture.image=pt,Q.texture.needsUpdate=!0,Q.needsForceRender=!0}):Promise.resolve()}},{key:"loadPatternImage",value:function(){var F=this,Q=ds[this.props.patternImageKey],ge=Q.patternImageUrl,Ne=Q.patternOffsetX,Ge=Q.patternOffsetY,Qe=Q.patternSpaceX,ot=Q.patternSpaceY;return ge?Hl(ge).then(function(pt){F.patternTexture.image=pt,F.patternTexture.needsUpdate=!0,F.patternEffect.uniforms.uThreadOffset[0]=Ne,F.patternEffect.uniforms.uThreadOffset[1]=Ge,F.patternEffect.uniforms.uThreadSpace[0]=Qe,F.patternEffect.uniforms.uThreadSpace[1]=ot,F.needsForceRender=!0}):Promise.resolve()}},{key:"updateEffects",value:function(){var F=this.props,Q=F.patternEnabled,ge=F.patternColor,Ne=F.patternSize,Ge=F.patternImageKey,Qe=F.waveEnabled,ot=F.waveComplexity,pt=F.waveDepth,mt=F.waveShadowDepth,Ht=Q&&!!ds[Ge];this.useEffects=Ht||Qe,this.patternEffect.enabled=Ht,this.patternEffect.renderToScreen=Ht&&!Qe,this.patternEffect.uniforms.uPatternColor=Qr(ge),this.patternEffect.uniforms.uPatternSize=Ne,this.waveEffect.enabled=Qe,this.waveEffect.renderToScreen=Qe,this.waveEffect.uniforms.uFabricNoise=ot*Yu,this.waveEffect.uniforms.uFabricNoiseStrength=pt*Zl,this.waveEffect.uniforms.uFabricShadowDepth=mt*jc}},{key:"updateAutoUpdate",value:function(){var F=this.props,Q=F.waveEnabled,ge=F.waveSpeed;this.autoUpdate=!!(Q&&ge)}},{key:"onUpdateProps",value:function(F){var Q,ge,Ne,Ge,Qe=_c(this.props,F);Qe("imageCount")&&this.physics.setCount(this.props.imageCount),Qe("imageScale")&&this.physics.setScale(this.props.imageScale),Qe("imageTint")&&this.physics.setImageTint(Qr(this.props.imageTint)),Qe("backgroundColor")&&(this.clearColor=Qr(this.props.backgroundColor)),(Qe(["presetImageKey","image","customIMage"])||((Q=this.props.image)===null||Q===void 0?void 0:Q.assetUrl)!==((ge=F.image)===null||ge===void 0?void 0:ge.assetUrl)||((Ne=this.props.customImage)===null||Ne===void 0?void 0:Ne.assetUrl)!==((Ge=F.customImage)===null||Ge===void 0?void 0:Ge.assetUrl))&&this.loadImage(),(Qe("patternImageKey")||this.props.patternEnabled&&!F.patternEnabled)&&this.loadPatternImage(),this.updateEffects(),this.updateAutoUpdate(),this.refresh()}},{key:"update",value:function(F){this.isReady&&(this.physics.update(F),(this.needsForceRender||this.physics.needsRender())&&(Js(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(),$u(this.renderer,this.composer.inputRenderTarget),on(this.renderer.state,[0,0,0,0]),te(this.renderer),this.renderScene(),this.composer.render()}},{key:"renderScene",value:function(){this.renderer.state.enable(Ef),co(this.renderer.state,Sf),Ei(this.renderer.state,bf,Ns),wl(this.renderer,this.scene,this.camera)}},{key:"onRefresh",value:function(){var F=this.width,Q=this.height;Nu({camera:this.camera,x:0,y:0,width:F,height:Q}),this.physics.resize(F,Q),this.composer.setSize(Dn(F),Dn(Q))}},{key:"onDetach",value:function(){this.physics.destroyMouse()}},{key:"onAttach",value:function(){this.physics.createMouse()}}]),R}(qe);s()(vs,"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 Jl(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.width,R=D===void 0?1:D,L=w.height,F=L===void 0?1:L,Q=w.depth,ge=Q===void 0?1:Q,Ne=w.widthSegments,Ge=Ne===void 0?1:Ne,Qe=w.heightSegments,ot=Qe===void 0?1:Qe,pt=w.depthSegments,mt=pt===void 0?1:pt,Ht=w.sides,Rn=Ht===void 0?{top:!0,bottom:!0,left:!0,right:!0,front:!0,back:!0}:Ht,Wn=w.position,Fn=Wn===void 0?ei:Wn,Er=w.normal,Sr=Er===void 0?js:Er,Zn=w.uv,Bn=Zn===void 0?Es:Zn,Kn=new qa,nr=[],Qi=[],Ga=[],io=[],Xr=0,da=function(po,cu,Lo,fu,Ko,Xi,tr,ms,ia,No){for(var Df=Xi/ia,Ur=tr/No,Lf=Xi*.5,Jc=tr*.5,Vo=ms*.5,Uo=ia+1,od=No+1,il=Xr,sc=0;sc<od;sc++)for(var Nf=sc*Ur-Jc,al=0;al<Uo;al++){var bd=al*Df-Lf;nr[Xr*3+po]=bd*fu,nr[Xr*3+cu]=Nf*Ko,nr[Xr*3+Lo]=Vo,Qi[Xr*3+po]=0,Qi[Xr*3+cu]=0,Qi[Xr*3+Lo]=ms>0?1:-1,Ga[Xr*2]=al/ia,Ga[Xr*2+1]=1-sc/No,Xr++}for(var ys=0;ys<No;
7ys++)for(var du=0;du<ia;du++){var Uf=il+du+Uo*ys,vu=il+du+Uo*(ys+1),Ff=il+(du+1)+Uo*(ys+1),Bf=il+(du+1)+Uo*ys;io.push(Uf,vu,Bf),io.push(vu,Ff,Bf)}};return Rn.right&&da(2,1,0,-1,-1,ge,F,R,mt,ot),Rn.left&&da(2,1,0,1,-1,ge,F,-R,mt,ot),Rn.top&&da(0,2,1,1,1,R,ge,F,Ge,mt),Rn.bottom&&da(0,2,1,1,-1,R,ge,-F,Ge,mt),Rn.front&&da(0,1,2,1,-1,R,F,ge,Ge,ot),Rn.back&&da(0,1,2,-1,-1,R,F,-ge,Ge,ot),Fn&&Ki(Kn,Fn,new gi({array:new Float32Array(nr),itemSize:3})),Sr&&Ki(Kn,Sr,new gi({array:new Float32Array(Qi),itemSize:3})),Bn&&Ki(Kn,Bn,new gi({array:new Float32Array(Ga),itemSize:2})),Co(Kn,new Uint16Array(io)),Kn}var Yl=Jl;function hs(w){for(var D=w.geometry,R=w.translation,L=w.positionAttributeName,F=L===void 0?"aPosition":L,Q=D.attributes.get(F).array,ge=0;ge<Q.length;ge+=3)Q[ge]+=R[0],Q[ge+1]+=R[1],Q[ge+2]+=R[2];return D}var ql=hs,Of=function(w){U(R,w);var D=W(R);function R(L,F){var Q;return A(this,R),Q=D.call(this),Q.source=L,Q.repeatCount=F,Q.sourceVertexCount=L.attributes.get("aPosition").count,Q}return R}(qa),Ra=Of;function Us(w){var D=w.sourceGeometry,R=w.repeatCount,L=w.AttributeArrayType,F=L===void 0?Float32Array:L,Q=w.IndexArrayType,ge=Q===void 0?Uint16Array:Q,Ne=w.usage,Ge=Ne===void 0?li:Ne,Qe=new Ra(D,R),ot=Qe.sourceVertexCount;D.attributes.forEach(function(Fn){for(var Er=new F(R*ot*Fn.itemSize),Sr=0,Zn=0;Sr<R;Sr++)for(var Bn=0;Bn<ot;Bn++,Zn+=Fn.itemSize)for(var Kn=0;Kn<Fn.itemSize;Kn++)Er[Zn+Kn]=Fn.array[Bn*Fn.itemSize+Kn];Ki(Qe,Fn.name,new gi({array:Er,itemSize:Fn.itemSize,usage:Ge}))});for(var pt=D.index.count,mt=D.index.array,Ht=new ge(R*pt),Rn=0;Rn<R;Rn++)for(var Wn=0;Wn<pt;Wn++)Ht[Rn*pt+Wn]=mt[Wn]+Rn*ot;return Co(Qe,Ht),Qe}var _f=Us;function ps(w,D,R,L){for(var F=w.attributes.get(D),Q=R*w.sourceVertexCount*F.itemSize,ge=0;ge<w.sourceVertexCount;ge++)for(var Ne=0;Ne<F.itemSize;Ne++)F.array[Q++]=L[Ne]}var $f=ps;function Qf(){var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.batch,R=D===void 0?null:D,L=w.attributeName,F=L===void 0?"":L,Q=w.itemSize,ge=Q===void 0?4:Q,Ne=w.usage,Ge=Ne===void 0?li:Ne,Qe=w.factory,ot=Qe===void 0?null:Qe,pt=new Float32Array(R.repeatCount*R.sourceVertexCount*ge);if(Ki(R,F,new gi({array:pt,itemSize:ge,usage:Ge})),ot)for(var mt=[],Ht=0;Ht<R.repeatCount;Ht++)ot(mt,Ht,R.repeatCount),$f(R,F,Ht,mt)}var Cf=Qf,zc=Gc;function Gc(w,D,R,L){var F,Q,ge,Ne,Ge,Qe,ot,pt,mt,Ht,Rn=D[0],Wn=D[1],Fn=D[2],Er=L[0],Sr=L[1],Zn=L[2],Bn=R[0],Kn=R[1],nr=R[2];return Math.abs(Rn-Bn)<1e-6&&Math.abs(Wn-Kn)<1e-6&&Math.abs(Fn-nr)<1e-6?$s(w):(ot=Rn-Bn,pt=Wn-Kn,mt=Fn-nr,Ht=1/Math.sqrt(ot*ot+pt*pt+mt*mt),ot*=Ht,pt*=Ht,mt*=Ht,F=Sr*mt-Zn*pt,Q=Zn*ot-Er*mt,ge=Er*pt-Sr*ot,Ht=Math.sqrt(F*F+Q*Q+ge*ge),Ht?(Ht=1/Ht,F*=Ht,Q*=Ht,ge*=Ht):(F=0,Q=0,ge=0),Ne=pt*ge-mt*Q,Ge=mt*F-ot*ge,Qe=ot*Q-pt*F,Ht=Math.sqrt(Ne*Ne+Ge*Ge+Qe*Qe),Ht?(Ht=1/Ht,Ne*=Ht,Ge*=Ht,Qe*=Ht):(Ne=0,Ge=0,Qe=0),w[0]=F,w[1]=Ne,w[2]=ot,w[3]=0,w[4]=Q,w[5]=Ge,w[6]=pt,w[7]=0,w[8]=ge,w[9]=Qe,w[10]=mt,w[11]=0,w[12]=-(F*Rn+Q*Wn+ge*Fn),w[13]=-(Ne*Rn+Ge*Wn+Qe*Fn),w[14]=-(ot*Rn+pt*Wn+mt*Fn),w[15]=1,w)}function Xf(w){zc(w.viewMatrix,w.position,w.target,w.up)}var ec=Xf;function Ro(w){var D=w.camera,R=w.centerX,L=R===void 0?0:R,F=w.centerY,Q=F===void 0?0:F,ge=w.width,Ne=ge===void 0?2:ge,Ge=w.height,Qe=Ge===void 0?2:Ge,ot=w.yUp,pt=ot===void 0?!1:ot;D.left=Ne*-.5+L,D.right=Ne*.5+L,D[pt?"bottom":"top"]=Qe*-.5+Q,D[pt?"top":"bottom"]=Qe*.5+Q,Du(D)}var tc=Ro,Zf="\n//\n// Description : Array and textureless GLSL 2D simplex noise function.\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_1976991360(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec2 mod289_1976991360(vec2 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec3 permute_1976991360(vec3 x) {\n  return mod289_1976991360(((x*34.0)+1.0)*x);\n}\n\nfloat snoise2(vec2 v)\n  {\n  const vec4 C = vec4(0.211324865405187,  // (3.0-sqrt(3.0))/6.0\n                      0.366025403784439,  // 0.5*(sqrt(3.0)-1.0)\n                     -0.577350269189626,  // -1.0 + 2.0 * C.x\n                      0.024390243902439);
7 // 1.0 / 41.0\n// First corner\n  vec2 i  = floor(v + dot(v, C.yy) );\n  vec2 x0 = v -   i + dot(i, C.xx);\n\n// Other corners\n  vec2 i1;\n  //i1.x = step( x0.y, x0.x ); // x0.x > 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",Fs="\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 ou(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function Mo(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?ou(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):ou(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function nc(w){var D=Wc();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Wc(){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 kc=function(w){Je()(R,w);var D=nc(R);function R(L,F){var Q;
7return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"viewSize",17),s()(Nn()(Q),"baseGridSize",36),s()(Nn()(Q),"onContextCreate",function(ge){ge.extensions.get("OES_element_index_uint")}),s()(Nn()(Q),"createGeometryBatch",function(){var ge=Q.props.boxSize,Ne=Q.props.boxSize,Ge=Q.props.boxSize,Qe=Q.baseGridSize/Q.props.boxSize|0,ot=Q.baseGridSize/Q.props.boxSize|0,pt=ge*Qe*-.5-ge*.5,mt=Ge*ot*-.5-Ge*.5,Ht=Yl({width:ge,height:Ne,depth:Ge,widthSegments:4,depthSegments:4,sides:{top:!0,right:!0,front:!0},uv:!1});ql({geometry:Ht,translation:[0,Ne*-.5,0]});var Rn=_f({sourceGeometry:Ht,repeatCount:Qe*ot,IndexArrayType:Uint32Array});return Cf({batch:Rn,attributeName:"aGridPosition",itemSize:3,factory:function(Fn,Er){var Sr=Er%Qe*ge+pt,Zn=(Er/ot|0)*Ge+mt;Fn[0]=Sr,Fn[1]=0,Fn[2]=Zn}}),Rn}),Q.isSupported?(Q.createResources(),Q.updateAutoUpdate(),Q.refresh(),Q.updateUniforms(),Q):Pt()(Q)}return d()(R,[{key:"createResources",value:function(){this.renderer.onContextCreate.add(this.onContextCreate),this.onContextCreate(this.renderer),this.camera=new Ua({near:0,far:200}),this.camera.position=[50,50,50],ec(this.camera),this.drawInfo=an({DrawInfoClass:os,geometry:this.getOrthoGridGeometry(),uniforms:{uTime:0,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix,uGridSize:this.baseGridSize},program:this.getProgram({key:"ortho-grid-program",factory:function(){return new Ot({vert:Zf,frag:Fs})}})})}},{key:"getOrthoGridGeometry",value:function(){return this.geometryKey&&this.releaseResource(this.geometryKey),this.geometryKey="ortho-grid-geometry-".concat(this.props.boxSize),this.getGeometry({key:this.geometryKey,factory:this.createGeometryBatch})}},{key:"updateAutoUpdate",value:function(){var F=this.props.speed;this.autoUpdate=!!F}},{key:"onUpdateProps",value:function(F){this.props.boxSize!==F.boxSize&&(this.drawInfo.geometry=this.getOrthoGridGeometry()),this.updateUniforms(),this.updateAutoUpdate()}},{key:"updateUniforms",value:function(){var F=this.getColors(),Q=De()(F,2),ge=Q[0],Ne=Q[1];this.drawInfo.material.uniforms=Mo(Mo({},this.drawInfo.material.uniforms),{},{uScale:[this.props.scaleX/100,this.props.scaleY/100,this.props.scaleZ/100],uEdgeWeight:this.props.isMorphEnabled?1:0,uLightColor:ge,uShadowColor:Ne,uLightIntensity:this.props.lightIntensity*.01,uLightPosition:zo.normalize([],[this.props.lightX,this.props.lightY,this.props.lightZ]),uNoiseScale:this.props.noiseScale*.01*2,uNoiseClamp:[-this.props.noiseRange*.01,this.props.noiseRange*.01],uNoisePositionFactor:this.props.positionFactor,uNoiseScaleFactor:this.props.scaleFactor,uNoiseColorFactor:this.props.colorFactor}),this.clearColor=Ne}},{key:"update",value:function(){this.drawInfo.material.uniforms.uTime+=this.props.speed*16e-5}},{key:"render",value:function(){di(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){var F=this.canvas,Q=F.width,ge=F.height,Ne,Ge;Q>ge?(Ne=this.viewSize,Ge=this.viewSize*(ge/Q)):(Ne=this.viewSize*(Q/ge),Ge=this.viewSize),tc({camera:this.camera,width:Ne,height:Ge,yUp:!0})}},{key:"onDestroy",value:function(){this.renderer.onContextCreate.remove(this.onContextCreate)}},{key:"getColors",value:function(){var F=Qr(this.props.startColor),Q=Qr(this.props.endColor);return this.props.invertColors?[Q,F]:[F,Q]}}]),R}(qe);s()(kc,"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 Pf(){for(var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.width,R=D===void 0?2:D,L=w.height,F=L===void 0?2:L,Q=w.widthSegments,ge=Q===void 0?1:Q,Ne=w.heightSegments,Ge=Ne===void 0?1:Ne,Qe=w.position,ot=Qe===void 0?ei:Qe,pt=w.normal,mt=pt===void 0?js:pt,Ht=w.uv,Rn=Ht===void 0?Es:Ht,Wn=new qa,Fn=[],Er=[],Sr=[],Zn=[],Bn=0,Kn=Math.floor(ge)||1,nr=Math.floor(Ge)||1,Qi=Kn+1,Ga=nr+1,io=R/Kn,Xr=F/nr,da=R*.5,lu=F*.5,po=0;po<Ga;po++)for(var cu=po*Xr-lu,Lo=0;Lo<Qi;Lo++){var fu=Lo*io-da;Fn[Bn*3+0]=fu,Fn[Bn*3+1]=-cu,Fn[Bn*3+2]=0,Er[Bn*3+0]=0,Er[Bn*3+1]=0,Er[Bn*3+2]=1,Sr[Bn*2]=Lo/Kn,Sr[Bn*2+1]=1-po/nr,Bn++}for(var Ko=0;Ko<nr;Ko++)for(var Xi=0;Xi<Kn;Xi++){var tr=Xi+Qi*Ko,ms=Xi+Qi*(Ko+1),ia=Xi+1+Qi*(Ko+1),No=Xi+1+Qi*Ko;Zn.push(tr,ms,No),Zn.push(ms,ia,No)}return ot&&Ki(Wn,ot,new gi({array:new Float32Array(Fn),itemSize:3})),mt&&Ki(Wn,mt,new gi({array:new Float32Array(Er),itemSize:3})),Rn&&Ki(Wn,Rn,new gi({array:new Float32Array(Sr),itemSize:2})),Co(Wn,new Uint16Array(Zn)),Wn}var Do=Pf,Tf='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\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_2573389788(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2573389788(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2573389788(vec4 x)\n{\n  return mod289_2573389788(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2573389788(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_2573389788(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_2573389788(Pi0);\n  Pi1 = mod289_2573389788(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_2573389788(permute_2573389788(ix) + iy);\n  vec4 ixy0 = permute_2573389788(ixy + iz0);\n  vec4 ixy1 = permute_2573389788(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_2573389788(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_2573389788(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_2573389788(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 PI = 3.141592653589793;\n\nattribute vec3 aPosition;\nattribute vec3 aNormal;\nattribute vec2 aUv;\n\nuniform float uTime;
7\n\nuniform vec4 uSurface;\nuniform vec2 uPatternPower;\nuniform float uPatternAmount;\nuniform float uSurfaceHeight;\n\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nvarying float vPos;\nvarying vec2 vUv;\n\nfloat shape(float x, float e) {\n  return 1.0 - pow(abs(sin(PI * x * 0.5)), e);\n}\n\nfloat sample(vec3 coord, vec2 power) {\n  float x = shape(coord.x, power.x);\n  float y = shape(coord.y, power.y);\n\n  return x * y;\n}\n\nvoid main() {\n  vec3 position = aPosition;\n\n  float s = sample(vec3(position.xy * uSurface.xy, uTime), uPatternPower);\n  float n = snoise(vec3(position.xy * uSurface.zw, uTime));\n  n = n * 0.5 + 0.5;\n\n  float t = mix(n, s, uPatternAmount);\n\n  position.z += t * uSurfaceHeight;\n\n  vPos = t;\n  vUv = aUv;\n\n  gl_Position = uProjectionMatrix * uViewMatrix * vec4(position, 1.0);\n}\n',Hc="\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_2310945428(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2310945428(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2310945428(vec4 x) {\n     return mod289_2310945428(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2310945428(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_2310945428 = 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_2310945428 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_2310945428;\n  vec3 i1 = min( g_2310945428.xyz, l.zxy );\n  vec3 i2 = max( g_2310945428.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_2310945428.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_2310945428(i);\n  vec4 p = permute_2310945428( permute_2310945428( permute_2310945428(\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_2310945428.wyz - D_2310945428.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_2310945428 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_2310945428 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_2310945428.xy,h.z);\n  vec3 p3 = vec3(a1_2310945428.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_2310945428(vec4(dot(p0_2310945428,p0_2310945428), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_2310945428 *= 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_2310945428,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\nuniform float uTime;
7\n\nuniform vec3 color1;\nuniform vec3 color2;\nuniform vec3 color3;\nuniform vec3 color4;\nuniform vec4 uColorStops;\n\nuniform vec2 uGradientDistortion;\nuniform float uNoiseAmount;\nuniform float uNoiseScale;\n\nvarying float vPos;\nvarying vec2 vUv;\n\nvoid main() {\n  float n = cnoise(vec3(vUv * uGradientDistortion, uTime * 2.0));\n  n = n * 0.5 + 0.5;\n\n  float n2 = cnoise(vec3(gl_FragCoord.xy * uNoiseScale, uTime * 100.0));\n  n2 = n2 * 0.5 + 0.5;\n\n  float n3 = mix(n, n2, uNoiseAmount);\n\n  float c = smoothstep(0.0, 1.0, (vPos + n3) * 0.5);\n\n  float step1 = uColorStops.x;\n  float step2 = uColorStops.y;\n  float step3 = uColorStops.z;\n  float step4 = uColorStops.w;\n\n  vec3 color = vec3(0.0);\n\n  color = mix(color1, color2, smoothstep(step1, step2, c));\n  color = mix(color, color3, smoothstep(step2, step3, c));\n  color = mix(color, color4, smoothstep(step3, step4, c));\n\n  gl_FragColor = vec4(color, 1.0);\n}\n",su=function(){function w(){i()(this,w),s()(this,"time",0),s()(this,"prevTime",0),s()(this,"delta",0)}return d()(w,[{key:"update",value:function(R){return this.prevTime=this.time,this.time=R,this.delta=this.time-this.prevTime,this.delta}}]),w}();function Kc(w){var D=Af();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Af(){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 qu=function(w){Je()(R,w);var D=Kc(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"timer",new su),Q.isSupported?(Q.createResources(),Q.updateUniforms(),Q.updateAutoUpdate(),Q.refresh(),Q):Pt()(Q)}return d()(R,[{key:"createResources",value:function(){this.camera=new Ua({near:0,far:4}),this.camera.position=[0,-1,2],ec(this.camera),this.drawInfo=an({DrawInfoClass:os,geometry:this.getGeometry({key:"surface-geometry",factory:function(){return Do({width:2,height:2,widthSegments:400,heightSegments:50})}}),uniforms:{uTime:0,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix},program:this.getProgram({key:"surface-program",factory:function(){return new Ot({vert:Tf,frag:Hc})}})})}},{key:"updateAutoUpdate",value:function(){var F=this.props.speed;this.autoUpdate=F!==0}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var F=this.props,Q=F.patternScaleX,ge=F.patternScaleY,Ne=F.distortionScaleX,Ge=F.distortionScaleY,Qe=F.patternPowerX,ot=F.patternPowerY,pt=F.patternAmount,mt=F.surfaceHeight,Ht=F.color1,Rn=F.color2,Wn=F.color3,Fn=F.color4,Er=F.colorStop1,Sr=F.colorStop2,Zn=F.colorStop3,Bn=F.colorStop4,Kn=F.gradientDistortionX,nr=F.gradientDistortionY,Qi=F.noiseIntensity,Ga=F.noiseScale;Object.assign(this.drawInfo.uniforms,{uSurface:[Yt(Q,0,100,.1,20),Yt(ge,0,100,.1,20),Yt(Ne,0,100,0,10),Yt(Ge,0,100,0,10)],uPatternPower:[Yt(Qe,0,100,.4,4),Yt(ot,0,100,.4,4)],uPatternAmount:Yt(pt,0,100,0,1),uSurfaceHeight:Yt(mt,0,100,0,1),color1:Qr(Ht),color2:Qr(Rn),color3:Qr(Wn),color4:Qr(Fn),uColorStops:[Yt(Er,0,100,0,1),Yt(Sr,0,100,0,1),Yt(Zn,0,100,0,1),Yt(Bn,0,100,0,1)],uGradientDistortion:[Yt(Kn,0,100,0,10),Yt(nr,0,100,0,10)],uNoiseAmount:Yt(Qi,0,100,0,.5),uNoiseScale:Yt(Ga,0,100,.6,.3)/this.pixelRatio})}},{key:"update",value:function(F){var Q=this.timer.update(F)*.001;this.drawInfo.uniforms.uTime+=Q*(this.props.speed*.0025)}},{key:"render",value:function(){di(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){tc({camera:this.camera,width:1,height:1,yUp:!0})}}]),R}(qe);s()(qu,"defaultProps",{speed:0,patternScaleX:0,patternScaleY:0,patternPowerX:0,patternPowerY:0,patternAmount:0,distortionScaleX:0,distortionScaleY:0,surfaceHeight:0,color1:"#BA4534",color2:"#D67162",color3:"#9E3626",color4:"#ff0000",colorStop1:0,colorStop2:0,colorStop3:0,colorStop4:0,gradientDistortionX:0,gradientDistortionY:0,noiseIntensity:0,noiseScale:0});var za=function w(D){var R=D.fov,L=R===void 0?60:R,F=D.aspect,Q=F===void 0?1:F,ge=D.near,Ne=ge===void 0?.1:ge,Ge=D.far,Qe=Ge===void 0?100:Ge;A(this,w),this.fov=L,this.aspect=Q,this.near=Ne,this.far=Qe,this.position=[0,0,1],this.target=[0,0,0],this.up=[0,1,0],this.viewMatrix=$s([]),this.projectionMatrix=$s([])},uu=za;function Jf(w){return w*Math.PI/180}var rc=Jf,xf=If;function If(w,D,R,L,F){var Q=1/Math.tan(D/2),ge=1/(L-F);return w[0]=Q/R,w[1]=0,w[2]=0,w[3]=0,w[4]=0,w[5]=Q,w[6]=0,w[7]=0,w[8]=0,w[9]=0,w[10]=(F+L)*ge,w[11]=-1,w[12]=0,w[13]=0,w[14]=2*F*L*ge,w[15]=0,w}function Yf(w){xf(w.projectionMatrix,rc(w.fov),w.aspect,w.near,w.far)}var h=Yf,S=function(){for(var w=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},D=w.radiusTop,R=D===void 0?1:D,L=w.radiusBottom,F=L===void 0?1:L,Q=w.height,ge=Q===void 0?1:Q,Ne=w.radialSegments,Ge=Ne===void 0?128:Ne,Qe=w.heightSegments,ot=Qe===void 0?1:Qe,pt=w.thetaStart,mt=pt===void 0?0:pt,Ht=w.thetaLength,Rn=Ht===void 0?Math.PI*2:Ht,Wn=w.openEnded,Fn=Wn===void 0?!0:Wn,Er=w.position,Sr=Er===void 0?"aPosition":Er,Zn=w.normal,Bn=Zn===void 0?"aNormal":Zn,Kn=w.uv,nr=Kn===void 0?"aUv":Kn,Qi=new qa,Ga=[],io=[],Xr=[],da=[],lu=0,po=[],cu=ge/2,Lo=[0,0,0],fu=[0,0,0],Ko=(F-R)/ge,Xi=0;Xi<=ot;Xi++){for(var tr=[],ms=Xi/ot,ia=ms*(F-R)+R,No=0;No<=Ge;No++){var Df=No/Ge,Ur=Df*Rn+mt,Lf=Math.sin(Ur),Jc=Math.cos(Ur);Lo[0]=ia*Lf,Lo[1]=-ms*ge+cu,Lo[2]=ia*Jc,Ga.push.apply(Ga,Lo),zo.set(fu,Lf,Ko,Jc),zo.normalize(fu,fu),io.push.apply(io,fu),Xr.push(Df,1-ms),tr.push(lu++)}po.push(tr)}for(var Vo=0;Vo<Ge;
7Vo++)for(var Uo=0;Uo<ot;Uo++){var od=po[Uo][Vo],il=po[Uo+1][Vo],sc=po[Uo+1][Vo+1],Nf=po[Uo][Vo+1];da.push(od,il,Nf),da.push(il,sc,Nf)}var al=function(ys){for(var du=lu,Uf=ys?R:F,vu=ys?1:-1,Ff=1;Ff<=Ge;Ff++)Ga.push(0,cu*vu,0),io.push(0,vu,0),Xr.push(.5,.5),lu++;for(var Bf=lu,Yc=0;Yc<=Ge;Yc++){var dv=Yc/Ge,jf=dv*Rn+mt,Od=Math.cos(jf),_d=Math.sin(jf);Ga.push(Uf*_d,cu*vu,Uf*Od),io.push(0,vu,0),Xr.push(Od*.5+.5,_d*.5*vu+.5),lu++}for(var zf=0;zf<Ge;zf++){var va=du+zf,Ma=Bf+zf;ys===!0?da.push(Ma,Ma+1,va):da.push(Ma+1,Ma,va)}};return Fn===!1&&(R>0&&al(!0),F>0&&al(!1)),Sr&&Ki(Qi,Sr,new gi({array:new Float32Array(Ga),itemSize:3})),Bn&&Ki(Qi,Bn,new gi({array:new Float32Array(io),itemSize:3})),nr&&Ki(Qi,nr,new gi({array:new Float32Array(Xr),itemSize:2})),Co(Qi,new Uint16Array(da)),Qi},I=e(57504),B=e.n(I),V=e(907223),he=e.n(V),Se=e(676727),je=e.n(Se),_t=e(792350),Ct=e.n(_t),pn=e(186375),_n=e.n(pn),lr={identity:B(),scale:he(),translate:je(),rotateX:Ct(),rotateY:_n()},Nr='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\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}
7\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',ro="\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),\
7n    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",ra=function(D,R){var L=D.fov,F=D.aspect,Q=L*(Math.PI/180),ge=2*Math.tan(Q/2)*R,Ne=ge*F;return{width:Ne,height:ge}};function vt(w){var D=lt();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function lt(){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 Mt=10,Xt=function(w){Je()(R,w);var D=vt(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"timer",new su),s()(Nn()(Q),"scrollSpeed",0),s()(Nn()(Q),"rotationSpeed",0),s()(Nn()(Q),"distortionSpeed",0),Q.isSupported?(Q.createResources(),Q.updateUniforms(),Q.updateAutoUpdate(),Q.refresh(),Q):Pt()(Q)}return d()(R,[{key:"createResources",value:function(){this.camera=new uu({fov:80,near:1,far:1e3}),this.camera.position=[0,0,Mt],ec(this.camera),this.modelMatrix=lr.identity([]),this.drawInfo=an({DrawInfoClass:os,geometry:this.getGeometry({key:"conic-geometry",factory:function(){return S({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 Ot({vert:Nr,frag:ro})}})})}},{key:"updateAutoUpdate",value:function(){var F=this.props,Q=F.speed,ge=F.rotationSpeed,Ne=F.distortionSpeed;this.autoUpdate=!(Q===0&&ge===0&&Ne===0)}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var F=this.props,Q=F.curveX,ge=F.curveY,Ne=F.curveFunnel,Ge=F.color1,Qe=F.color2,ot=F.color3,pt=F.fogIntensity,mt=F.repeat,Ht=F.speed,Rn=F.rotation,Wn=F.rotationSpeed,Fn=F.blur,Er=F.distortionScaleX,Sr=F.distortionScaleY,Zn=F.distortionIntensity,Bn=F.distortionSpeed,Kn=F.noiseIntensity,nr=F.noiseScale;Object.assign(this.drawInfo.uniforms,{uCurve:[Yt(Q,-100,100,-4,4),Yt(ge,-100,100,-4,4),Yt(Ne,0,100,1,0)],uColor1:Qr(Ge),uColor2:Qr(Qe),uFogColor:Qr(ot),uFogIntensity:Yt(pt,0,100,0,1),uRepeat:mt,uRotation:Yt(Rn,0,360,0,Math.PI*2),uGradient:[Yt(Fn,0,100,.5,0),Yt(Fn,0,100,.5,1)],uDistortionScale:[Yt(Er,0,100,0,4),Yt(Sr,0,100,0,4)],uDistortionAmount:Yt(Zn,0,100,0,.5),uNoiseAmount:Yt(Kn,0,100,0,.5),uNoiseScale:Yt(nr,0,100,.6,.3)/this.pixelRatio}),this.scrollSpeed=Yt(Ht,-100,100,-.15,.15),this.rotationSpeed=Yt(Wn,-100,100,-.075,.075),this.distortionSpeed=Yt(Bn,0,100,0,.075)}},{key:"update",value:function(F){var Q=this.timer.update(F)*.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),di(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){var F=this.canvas,Q=F.width,ge=F.height;this.camera.aspect=Q/ge;var Ne=ra(this.camera,Mt),Ge=Ne.width,Qe=Ne.height,ot=Math.sqrt(Ge*Ge+Qe*Qe)*.5;lr.identity(this.modelMatrix),lr.translate(this.modelMatrix,this.modelMatrix,[0,0,Mt*-.5]),lr.rotateX(this.modelMatrix,this.modelMatrix,Math.PI*.5),lr.scale(this.modelMatrix,this.modelMatrix,[ot,Mt,ot]),h(this.camera)}}]),R}(qe);s()(Xt,"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 fn(w,D,R){var L=w.extensions.get(D);for(var F in R)w.gl[R[F]]=L[F].bind(L);return L}var Tn=fn;function Xn(w){Tn(w,"ANGLE_instanced_arrays",{drawElementsInstancedANGLE:"drawElementsInstanced",drawArraysInstancedANGLE:"drawArraysInstanced",vertexAttribDivisorANGLE:"vertexAttribDivisor"})}var Pr=Xn;function ai(w,D,R){for(var L=D*w.itemSize,F=0;F<w.itemSize;F++)w.array[L+F]=R[F]}var cr=ai;function gs(w){var D=w.geometry,R=w.attributeName,L=w.itemSize,F=w.instanceCount,Q=w.factory,ge=new Float32Array(F*L),Ne=Ki(D,R,new gi({array:ge,itemSize:L,divisor:1}));if(Q)for(var Ge=[],Qe=0;Qe<F;Qe++)Q(Ge,Qe,F),cr(Ne,Qe,Ge)}var Vc=gs,Cd=function(w){U(R,w);var D=W(R);function R(L){var F,Q=L.geometry,ge=L.material,Ne=L.offset,Ge=Ne===void 0?0:Ne,Qe=L.count,ot=Qe===void 0?Q.index.count:Qe,pt=L.primcount,mt=pt===void 0?1:pt;return A(this,R),F=D.call(this,{geometry:Q,material:ge,offset:Ge,count:ot}),F.primcount=mt,F}return P(R,[{key:"draw",value:function(F){F.drawElementsInstanced(this.mode,this.count,this.index.type,this.offset,this.primcount)}}]),R}(kn),Pd=Cd,sd={identity:B(),scale:he(),translate:je(),rotateX:Ct(),rotateY:_n()},Td='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\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_3843310594(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_3843310594(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_3843310594(vec4 x)\n{\n  return mod289_3843310594(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_3843310594(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_3843310594(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_3843310594(Pi0);\n  Pi1 = mod289_3843310594(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_3843310594(permute_3843310594(ix) + iy);\n  vec4 ixy0 = permute_3843310594(ixy + iz0);\n  vec4 ixy1 = permute_3843310594(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_3843310594(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_3843310594(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_3843310594(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\nattribute vec3 aOffset;\nattribute vec4 aParticle;\nattribute vec2 aDelayDuration;\n\nuniform float uTime;
7\nuniform float uDistortionTime;\n\nuniform mat4 uModelMatrix;\nuniform mat4 uViewMatrix;\nuniform mat4 uProjectionMatrix;\n\nuniform vec3 uStart;\nuniform vec3 uEnd;\nuniform float uSize;\nuniform float uSeed;\nuniform vec4 uPath;\nuniform float uOffset;\n\nvarying vec2 vUv;\nvarying vec3 vPosition;\nvarying vec4 vParticle;\n\nvoid main() {\n  float p = mod((uTime + aDelayDuration.x), aDelayDuration.y) / aDelayDuration.y;\n\n  vec3 pathPosition = mix(uStart, uEnd, p);\n\n  vec3 position = pathPosition;\n\n  float n1 = cnoise(vec3(p + uDistortionTime, uSeed, 0.0) * uPath.x);\n  float n2 = cnoise(vec3(p + uDistortionTime, uSeed, 0.0) * uPath.z);\n\n  position.y += n1 * uPath.y;\n  position.z += n2 * uPath.w;\n\n  float n3 = n2 * 0.5 + 0.3;\n\n  position += aOffset * n3 * uOffset;\n\n  float n = cnoise(position * 0.1);\n\n  position.z += n * 4.0;\n\n  position += aPosition * uSize * aParticle.x * n;\n\n  vUv = aUv;\n  vPosition = position;\n  vParticle = aParticle;\n\n  gl_Position = uProjectionMatrix * uViewMatrix * uModelMatrix * vec4(position, 1.0);\n}\n',Ad="\nuniform vec3 uColor1;\nuniform vec3 uColor2;\nuniform float uAlpha;\n\nvarying vec2 vUv;\nvarying vec3 vPosition;\nvarying vec4 vParticle;\n\nfloat circle(vec2 uv, vec2 blur, float r) {\n  vec2 dist = uv - vec2(0.5);\n\n  return 1.0 - smoothstep(r - (r * blur.x), r + (r * blur.y), dot(dist, dist) * 4.0);\n}\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  float depth = abs(map(vPosition.z, -160., 160., 0., 1.));\n  depth *= depth;\n\n  float radius = 0.5;\n  float innerBlur = vParticle.y + 0.5 * depth;\n  float outerBlur = vParticle.z + 0.5 * depth;\n  // float innerBlur = vParticle.y;\n  // float outerBlur = vParticle.z;\n  vec2 blur = vec2(innerBlur, outerBlur);\n\n  float a = circle(vUv, blur, radius);\n\n  // if (a < 0.1) {\n  //   discard;\n  // }\n\n  vec3 color = mix(uColor1, uColor2, vParticle.w);\n\n  gl_FragColor = vec4(color * a * vParticle.w * uAlpha, a * uAlpha);\n}\n",ud="\nattribute vec3 aPosition;\nattribute vec2 aUv;\n\nvarying vec2 vUv;\n\nvoid main() {\n  vec3 position = aPosition;\n\n  vUv = aUv;\n\n  gl_Position = vec4(position, 1.0);\n}\n",xd='\n//\n// GLSL textureless classic 3D noise "cnoise",\n// with an RSL-style periodic variant "pnoise".\n// Author:  Stefan Gustavson ([email protected])\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_1828402684(vec3 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_1828402684(vec4 x)\n{\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_1828402684(vec4 x)\n{\n  return mod289_1828402684(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_1828402684(vec4 r)\n{\n  return 1.79284291400159 - 0.85373472095314 * r;\n}\n\nvec3 fade_1828402684(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_1828402684(Pi0);\n  Pi1 = mod289_1828402684(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_1828402684(permute_1828402684(ix) + iy);\n  vec4 ixy0 = permute_1828402684(ixy + iz0);\n  vec4 ixy1 = permute_1828402684(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_1828402684(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_1828402684(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_1828402684(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\n#define PI 3.141592653589793\n\nuniform float uTime;
7\n\nuniform vec3 uColor;\nuniform float uIntensity;\nuniform float uAngle;\nuniform float uPosition;\n\nvarying vec2 vUv;\n\nconst highp float NOISE_GRANULARITY = 0.5/255.0;\n\nhighp float random(vec2 coords) {\n  return fract(sin(dot(coords.xy, vec2(12.9898,78.233))) * 43758.5453);\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\nvoid main() {\n  vec2 coord = vUv - vec2(0.5);\n  coord = rotate(coord, uAngle);\n  coord += vec2(0.5);\n\n  float n = cnoise(vec3(coord * vec2(8.0, 1.0), uTime * 0.25));\n  n = n * 0.5 + 0.5;\n  n *= vUv.y * vUv.y;\n\n  float c = 0.;\n  c = mix(0.0, 1.0, smoothstep(0.0, uPosition, vUv.x));\n  c = mix(c, 0.0, smoothstep(uPosition, 1.0, vUv.x));\n\n  n *= c * uIntensity;\n\n  n += mix(-NOISE_GRANULARITY, NOISE_GRANULARITY, random(vUv));\n\n  gl_FragColor = vec4(uColor, n);\n}\n';function wf(w){var D=Id();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Id(){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 ld=me.BLEND,wd=me.FUNC_ADD,Rd=me.SRC_ALPHA,Md=me.ONE,Dd=me.DEPTH_TEST,qf=1e5,ed=function(w){Je()(R,w);var D=wf(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,F),s()(Nn()(Q),"clearColor",[0,0,0,1]),s()(Nn()(Q),"timer",new su),s()(Nn()(Q),"speed",0),s()(Nn()(Q),"distortionSpeed",0),s()(Nn()(Q),"mixinArrays",function(ge){ge.extensions.get("OES_element_index_uint"),Pr(ge)}),s()(Nn()(Q),"createBokehGeometry",function(){var ge=qf,Ne=function(ot,pt){return ot+(pt-ot)*Math.random()},Ge=Do({width:1,height:1});return Vc({geometry:Ge,instanceCount:ge,attributeName:"aOffset",itemSize:3,factory:function(ot){ot[0]=Ne(-1,1),ot[1]=Ne(-1,1),ot[2]=Ne(-1,1)}}),Vc({geometry:Ge,instanceCount:ge,attributeName:"aDelayDuration",itemSize:2,factory:function(ot){ot[0]=Ne(0,1),ot[1]=Ne(.5,1)}}),Vc({geometry:Ge,instanceCount:ge,attributeName:"aParticle",itemSize:4,factory:function(ot){ot[0]=Ne(.1,1),ot[1]=Ne(.25,.75),ot[2]=Ne(.25,.75),ot[3]=Ne(0,1)}}),Ge}),Q.isSupported?(Q.createResources(),Q.updateUniforms(),Q.updateAutoUpdate(),Q.refresh(),Q.renderer.onContextCreate.add(Q.mixinArrays),Q.mixinArrays(Q.renderer),Q):Pt()(Q)}return d()(R,[{key:"createResources",value:function(){this.camera=new uu({fov:40,near:1,far:1e4}),this.camera.position=[0,0,100],ec(this.camera),this.modelMatrix=sd.identity([]),this.particles=an({DrawInfoClass:Pd,primcount:qf,geometry:this.getGeometry({key:"bokeh-geometry",factory:this.createBokehGeometry}),uniforms:{uTime:0,uDistortionTime:0,uModelMatrix:this.modelMatrix,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix,uStart:[0,0,0],uEnd:[0,0,0]},program:this.getProgram({key:"bokeh-program",factory:function(){return new Ot({vert:Td,frag:Ad})}})}),this.lightModelMatrix=sd.identity([]),this.light=an({DrawInfoClass:os,geometry:this.getGeometry({key:"bokeh-light-geometry",factory:function(){return Do({normal:!1})}}),program:this.getProgram({key:"bokeh-light-program",factory:function(){return new Ot({vert:ud,frag:xd})}}),uniforms:{uTime:0,uModelMatrix:this.lightModelMatrix,uViewMatrix:this.camera.viewMatrix,uProjectionMatrix:this.camera.projectionMatrix}})}},{key:"updateAutoUpdate",value:function(){var F=this.props,Q=F.speed,ge=F.distortionSpeed;this.autoUpdate=!(Q===0&&ge===0)}},{key:"onUpdateProps",value:function(){this.updateUniforms(),this.updateAutoUpdate(),this.refresh()}},{key:"updateUniforms",value:function(){var F=this.props,Q=F.color1,ge=F.color2,Ne=F.backgroundColor,Ge=F.color3,Qe=F.size,ot=F.count,pt=F.speed,mt=F.distortionSpeed,Ht=F.alpha,Rn=F.seed,Wn=F.complexityY,Fn=F.complexityZ,Er=F.amplitudeY,Sr=F.amplitudeZ,Zn=F.offset,Bn=F.lightAngle,Kn=F.lightIntensity,nr=F.lightX;this.clearColor=[].concat(Va()(Qr(Ne)),[1]),this.particles.primcount=Yt(ot,0,100,0,qf)|0,Object.assign(this.particles.uniforms,{uColor1:Qr(Q),uColor2:Qr(ge),uSize:Yt(Qe,1,100,1,32),uAlpha:Yt(Ht,1,100,.01,1),uSeed:Rn,uPath:[Yt(Wn,0,100,0,6),Yt(Er,0,100,0,100),Yt(Fn,0,100,0,6),Yt(Sr,0,100,0,100)],uOffset:Yt(Zn,0,100,1,60)}),Object.assign(this.light.uniforms,{uColor:Qr(Ge),uIntensity:Yt(Kn,0,100,0,1),uAngle:Yt(Bn,0,100,Math.PI*-.3,Math.PI*.3),uPosition:Yt(nr,0,100,0,1)}),this.speed=Yt(pt,-100,100,-.01,.01),this.distortionSpeed=Yt(mt,-100,100,-.01,.01)}},{key:"update",value:function(F){var Q=this.timer.update(F)*.001;this.particles.uniforms.uTime+=Q*this.speed,this.particles.uniforms.uDistortionTime+=Q*this.distortionSpeed,this.light.uniforms.uTime+=Q*this.speed}},{key:"render",value:function(){this.renderer.state.disable(Dd),this.renderer.state.enable(ld),co(this.renderer.state,wd),Ei(this.renderer.state,Rd,Md),di(this.renderer,this.particles),di(this.renderer,this.light),this.renderer.state.disable(ld)}},{key:"onRefresh",value:function(){var F=this.canvas,Q=F.width,ge=F.height;this.camera.aspect=Q/ge;
7var Ne=ra(this.camera,100),Ge=Ne.width,Qe=Ne.height,ot=Math.max(Ge,Qe);this.particles.uniforms.uStart[0]=ot*-.75,this.particles.uniforms.uEnd[0]=ot*.75,h(this.camera)}}]),R}(qe);s()(ed,"defaultProps",{color1:"#d45071",color2:"#f8ba81",backgroundColor:"#28243e",color3:"#ffffff",size:1,count:0,speed:0,distortionSpeed:0,alpha:0,seed:0,complexityY:0,complexityZ:0,amplitudeY:0,amplitudeZ:0,offset:0,lightAngle:0,lightIntensity:0,lightX:0});var Ld=function(w){switch(w){case He.contours:return ml;case He.gradient:return is;case He.shapes:return zu;case He.images:return vs;case He.isometric:return kc;case He.surface:return qu;case He.conic:return Xt;case He.bokeh:return ed;default:throw new Error("No WebGL Component found for type: ".concat(w))}},ic={liquid:"liquid",parallax:"parallax",refractedCircles:"refractedCircles",refractedLines:"refractedLines",filmGrain:"filmGrain"};function Nd(w){var D=w.matrix,R=D===void 0?[]:D,L=w.containerWidth,F=w.containerHeight,Q=w.contentWidth,ge=w.contentHeight,Ne=w.centerX,Ge=Ne===void 0?.5:Ne,Qe=w.centerY,ot=Qe===void 0?.5:Qe,pt,mt;Q/ge>L/F?(pt=L*ge/(F*Q),mt=1):(pt=1,mt=F*Q/(L*ge));var Ht=(pt-1)/2*-1,Rn=(mt-1)/2*-1,Wn=Ht+(Ge-.5)*Ht*2,Fn=Rn+(.5-ot)*Rn*2;return Ao(R),Au(R,R,[Wn,Fn]),Xs(R,R,[pt,mt]),R}var Ud=Nd,Fd=e(528254),Bd=e.n(Fd),jd="\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",zd="\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 td(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function ac(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?td(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):td(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function Gd(w){var D=Wd();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Wd(){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 el=function(w){Je()(R,w);var D=Gd(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,ac(ac({},R.defaultProps),F)),Q.createResources(),Q}return d()(R,[{key:"createResources",value:function(){var F=this.props,Q=F.image,ge=F.uniforms;this.texture=new Gu({image:Q}),this.drawInfo=an({program:this.createProgram(),uniforms:ac(ac(ac({},ge),this.getUniformsFromProps()),{},{uvMatrix:Bd()(),uImage:ku(this.renderer,this.texture),uResolution:[this.width,this.height]}),geometry:this.getGeometry({key:"big-triangle",factory:So})}),this.uniforms=this.drawInfo.uniforms,this.updateUvMatrix()}},{key:"getUniformsFromProps",value:function(){return{}}},{key:"createProgram",value:function(){var F=this.props,Q=F.programKey,ge=F.vert,Ne=F.frag;return this.getProgram({key:Q,factory:function(){return new Ot({vert:ge,frag:Ne})}})}},{key:"onUpdateProps",value:function(F){this.props.programKey!==F.programKey&&(this.releaseResource(F.programKey),this.drawInfo.program=this.createProgram()),(this.props.imageNeedsUpdate||this.props.image!==F.image)&&(this.texture.image=this.props.image,this.texture.needsUpdate=!0,this.props.imageNeedsUpdate=!1),Object.assign(this.uniforms,this.getUniformsFromProps()),this.refresh()}},{key:"render",value:function(){di(this.renderer,this.drawInfo)}},{key:"onRefresh",value:function(){this.uniforms.uResolution[0]=this.width,this.uniforms.uResolution[1]=this.height,this.updateUvMatrix()}},{key:"updateUvMatrix",value:function(){Ud({matrix:this.drawInfo.material.uniforms.uvMatrix,containerWidth:this.width,containerHeight:this.height,contentWidth:this.props.image.naturalWi
7dth,contentHeight:this.props.image.naturalHeight,centerX:this.props.focalPoint.x,centerY:this.props.focalPoint.y})}}]),R}(qe);s()(el,"defaultProps",{programKey:null,vert:jd,frag:zd,image:null,focalPoint:{x:.5,y:.5},uniforms:{},imageNeedsUpdate:!1});var kd="\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_2497077985(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_2497077985(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_2497077985(vec4 x) {\n     return mod289_2497077985(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_2497077985(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_2497077985 = 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_2497077985 = step(x0.yzx, x0.xyz);\n  vec3 l = 1.0 - g_2497077985;\n  vec3 i1 = min( g_2497077985.xyz, l.zxy );\n  vec3 i2 = max( g_2497077985.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_2497077985.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_2497077985(i);\n  vec4 p = permute_2497077985( permute_2497077985( permute_2497077985(\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_2497077985.wyz - D_2497077985.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_2497077985 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_2497077985 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_2497077985.xy,h.z);\n  vec3 p3 = vec3(a1_2497077985.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_2497077985(vec4(dot(p0_2497077985,p0_2497077985), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_2497077985 *= 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_2497077985,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\nuniform float uComplexity;\nuniform float uDirection;\nuniform float uIntensity;\nuniform float uSeed;\nuniform float uShadow;\nuniform float uSmoothness;\nuniform float uTime;\nuniform float uMorphTime;\nuniform sampler2D uImage;\n\nvarying vec2 vUv;\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 (void) {\n  float noise = 1.0 - ease(smoothstep(1.0 - uSmoothness, 1.0, 1.0 - getNoise(vUv))) * uIntensity;\n  float shadow = smoothstep(1.0 - uIntensity, 1.0, noise) * uShadow * 0.5;\n  vec2 uv = (vUv - 0.5) * noise + 0.5;\n\n  vec4 tx = texture2D(uImage, uv);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx - vec4(vec3(shadow), 0.0);\n}\n";function $c(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function Hd(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};
7D%2?$c(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):$c(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function Kd(w){var D=Vd();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Vd(){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 nd=function(w){Je()(R,w);var D=Kd(R);function R(L,F){return i()(this,R),D.call(this,L,Hd({programKey:"liquid-program",frag:kd,uniforms:{uTime:0,uMorphTime:0}},F))}return d()(R,[{key:"getUniformsFromProps",value:function(){var F=this.props,Q=F.scale,ge=F.rotation,Ne=F.intensity,Ge=F.seed,Qe=F.shadow,ot=F.smoothness;return{uComplexity:Q,uDirection:(45+ge)*(Math.PI/180),uIntensity:Ne*.01,uSeed:Ge,uShadow:Qe*.01,uSmoothness:ot*.01}}},{key:"update",value:function(){this.uniforms.uTime+=this.props.speed*5e-5,this.uniforms.uMorphTime+=this.props.morphSpeed*1e-4}}]),R}(el);s()(nd,"defaultProps",{scale:0,rotation:0,intensity:0,morphSpeed:0,seed:0,shadow:0,smoothness:0,speed:0});var $d=e(820721),tl=e.n($d),Qd="\nattribute vec3 aPosition;\n\nuniform mat3 uvMatrix;\nuniform float uAmount;\nuniform vec2 uAngle;\nuniform float uZoomStart;\nuniform float uZoomEnd;\nuniform float uProgress;\nuniform vec2 uOrigin;\n\nvarying vec2 vUv;\n\nvoid main(){\n  gl_Position = vec4(aPosition, 1.);\n  vec2 uv = gl_Position.xy * .5 + .5;\n\n  vUv = (uvMatrix * vec3(uv, 1.)).xy;\n  vUv -= uOrigin;\n  vUv *= 1.0 - uAmount - mix(uZoomStart, uZoomEnd, uProgress);\n  vUv -= uAngle * mix(\n    (vec2(1.0) - uOrigin) * -uAmount,\n    uOrigin * uAmount,\n    uProgress\n  );\n  vUv += uOrigin;\n}\n";function cd(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function Xd(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?cd(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):cd(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function Zd(w){var D=Jd();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function Jd(){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 oc=function(w){Je()(R,w);var D=Zd(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,Xd({programKey:"parallax-program",vert:Qd,uniforms:{uOrigin:[.5,.5],uProgress:0}},F)),s()(Nn()(Q),"targetProgress",0),s()(Nn()(Q),"isImmediate",!0),s()(Nn()(Q),"onIntersection",function(ge){ge&&(Q.isImmediate=!0)}),s()(Nn()(Q),"onScrollProgress",function(ge){Q.isImmediate&&(Q.uniforms.uProgress=ge,Q.isDirty=!0,Q.isImmediate=!1),Q.targetProgress=ge}),Q.autoUpdate=!1,Q}return d()(R,[{key:"getUniformsFromProps",value:function(){var F=this.props,Q=F.intensity,ge=F.rotation,Ne=F.zoomStart,Ge=F.zoomEnd,Qe=F.focalPoint;return{uAmount:Q*.01*.5,uAngle:[Math.cos(ge*Math.PI/180),Math.sin(ge*Math.PI/180)],uZoomStart:Ne*.01,uZoomEnd:Ge*.01,uOrigin:[Qe.x,1-Qe.y]}}},{key:"update",value:function(){var F=this.uniforms.uProgress,Q=this.targetProgress;if(this.props.scrollProgress>=0&&(Q=this.props.scrollProgress*.01),F!==Q){var ge=Q-F;ge<.01?this.uniforms.uProgress=Q:this.uniforms.uProgress=F+ge*.1,this.isDirty=!0}}},{key:"onRefresh",value:function(){tl()(kt()(R.prototype),"onRefresh",this).call(this),this.isImmediate=!0}}]),R}(el);s()(oc,"defaultProps",{intensity:0,rotation:0,zoomStart:0,zoomEnd:0,scrollProgress:-1});var Yd=function(){return!!("ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0||window.DocumentTouch&&document instanceof DocumentTouch)}(),fd=Yd,nl={none:"none",mouse:"mouse",scroll:"scroll"},Qc=function(){function w(D){var R=D.shiftUniform,L=D.props,F=D.node;i()(this,w),this.shiftUniform=R,this.props=L,this.node=F}return d()(w,[{key:"setProps",value:function(R){this.props=R}},{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 dd(w){var D=vd();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function vd(){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 hd=function(w){Je()(R,w);var D=dd(R);function R(){var L;i()(this,R);for(var F=arguments.length,Q=new Array(F),ge=0;ge<F;ge++)Q[ge]=arguments[ge];return L=D.call.apply(D,[this].concat(Q)),s()(Nn()(L),"shiftTarget",[0,0]),s()(Nn()(L),"shiftResetTID",-1),s()(Nn()(L),"onPointerMove",function(Ne){var Ge=L.node.getBoundingClientRect(),Qe=(Ne.clientX-Ge.left)/Ge.width,ot=(Ne.clientY-Ge.top)/Ge.height;L.shiftTarget[0]=Qe*-2+1,L.shiftTarget[1]=ot*2-1,L.onPointerLeave()}),s()(Nn()(L),"onPointerLeave",function(){clearTimeout(L.shiftResetTID),L.shiftResetTID=setTimeout(L.resetShift,2e3)}),s()(Nn()(L),"resetShift",function(){L.shiftTarget=[0,0]}),L}return d()(R,[{key:"setIsIntersecting",value:function(F){if(F){this.enable();return}this.disable()}},{key:"enable",value:function(){this.node.addEventListener("mousemove",this.onPointerMove),this.node.addEventListener("mouseleave",this.onPointerLeave)}},{key:"disable",value:function(){this.node.removeEventListener("mousemove",this.onPointerMove),this.node.removeEventListener("mouseleave",this.onPointerLeave)}},{key:"update",value:function(){var F=this.props,Q=F.shiftSpeed,ge=F.mouseX,Ne=F.mouseY,Ge=this.shiftUniform,Qe=this.shiftTarget;ge!==-1&&Ne!==-1&&(Qe=[ge*.01*-2+1,Ne*.01*2-1]);var ot=Qe[0]-Ge[0],pt=Qe[1]-Ge[1];return ot===0&&pt===0?!1:(Ge[0]+=ot*(Q*.002),Ge[1]+=pt*(Q*.002),!0)}},{key:"destroy",value:function(){this.disable(),clearTimeout(this.shiftResetTID)}}]),R}(Qc);function pd(w){var D=qd();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function qd(){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 ev=function(w){Je()(R,w);var D=pd(R);function R(){var L;i()(this,R);for(var F=arguments.length,Q=new Array(F),ge=0;ge<F;ge++)Q[ge]=arguments[ge];return L=D.call.apply(D,[this].concat(Q)),s()(Nn()(L),"targetProgress",0),s()(Nn()(L),"isImmediate",!0),L}return d()(R,[{key:"setIsIntersecting",value:function(F){F&&this.setImmediate()}},{key:"setImmediate",value:function(){this.isImmediate=!0}},{key:"setScrollProgress",value:function(F){this.isImmediate&&(this.shiftUniform[1]=F,this.isImmediate=!1),this.targetProgress=F}},{key:"update",value:function(){var F=this.props,Q=F.shiftSpeed,ge=F.scrollProgress,Ne=this.shiftUniform[1],Ge=this.targetProgress;if(ge>=0&&(Ge=ge*.01),Ne===Ge)return!1;var Qe=Ge-Ne;return Qe<.01?this.shiftUniform[1]=Ge:this.shiftUniform[1]=Ne+Qe*(Q*.01),this.shiftUniform[0]=0,!0}}]),R}(Qc),Xc,Zc=(Xc={},s()(Xc,nl.none,Qc),s()(Xc,nl.scroll,ev),s()(Xc,nl.mouse,hd),Xc),Rf=function(D){return D===nl.mouse&&fd?Zc[nl.scroll]:Zc[D]},gd=Rf,tv="\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 Mf(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function md(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};
7D%2?Mf(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):Mf(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function nv(w){var D=rv();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function rv(){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 rd=function(w){Je()(R,w);var D=nv(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,md({programKey:"refracted-circles-program",frag:tv,uniforms:{uCenterRadius:100,uMaxRings:-1,uShift:[0,0]}},F)),s()(Nn()(Q),"isIntersecting",!1),s()(Nn()(Q),"onIntersection",function(ge){Q.isIntersecting=ge,Q.interaction.setIsIntersecting(ge)}),s()(Nn()(Q),"onScrollProgress",function(ge){Q.interaction.setScrollProgress(ge)}),Q.autoUpdate=!1,Q.updateInteraction(),Q.setSize(),Q}return d()(R,[{key:"updateInteraction",value:function(){this.interaction&&this.interaction.destroy();var F=gd(this.props.interactionType);this.interaction=new F({shiftUniform:this.uniforms.uShift,props:this.props,node:this.node.closest("section")||this.node}),this.interaction.setIsIntersecting(this.isIntersecting)}},{key:"onUpdateProps",value:function(F){tl()(kt()(R.prototype),"onUpdateProps",this).call(this,F),this.props.interactionType!==F.interactionType?this.updateInteraction():this.interaction.setProps(this.props)}},{key:"getUniformsFromProps",value:function(){var F=this.props,Q=F.size,ge=F.rotation,Ne=F.scaleEven,Ge=F.scaleOdd,Qe=F.scaleTaperEven,ot=F.scaleTaperOdd,pt=F.shiftIntensity,mt=F.isStepFlipRotation,Ht=F.isStepFlipX,Rn=F.isStepFlipY,Wn=F.contextScale;return{uRotation:ge*Math.PI/180,uRingSize:Q*Wn,uScaleEven:Ne*.01,uScaleOdd:Ge*.01,uScaleTaperEven:Qe*.01,uScaleTaperOdd:ot*.01,uStepFlipRotation:1-+mt,uStepFlipX:1-+Ht,uStepFlipY:1-+Rn,uShiftIntensity:pt*.002}}},{key:"update",value:function(){this.interaction.update()&&(this.isDirty=!0)}},{key:"onRefresh",value:function(){tl()(kt()(R.prototype),"onRefresh",this).call(this),this.setSize()}},{key:"setSize",value:function(){var F=this.width,Q=this.height,ge=this.props,Ne=ge.centerOffsetSize,Ge=ge.isLimitRings,Qe=ge.numRings,ot=ge.size,pt=ge.contextScale,mt=Math.min(F,Q)*.5,Ht=Math.sqrt(F*F+Q*Q)*.5,Rn=mt*(Ne*.01*pt),Wn=Math.ceil((Ht-Ne*pt)/(ot*pt)),Fn=Ge?Math.min(Qe,Wn):Wn;this.uniforms.uCenterRadius=Rn,this.uniforms.uMaxRings=Fn}},{key:"onDestroy",value:function(){tl()(kt()(R.prototype),"onDestroy",this).call(this),this.interaction.destroy()}}]),R}(el);s()(rd,"defaultProps",{isLimitRings:!1,numRings:0,centerOffsetSize:0,size:0,rotation:0,scaleEven:0,scaleOdd:0,scaleTaperEven:0,scaleTaperOdd:0,isStepFlipRotation:!1,isStepFlipX:!1,isStepFlipY:!1,interactionType:"none",shiftIntensity:0,shiftSpeed:0,contextScale:1,scrollProgress:-1,mouseX:-1,mouseY:-1});var iv="\nfloat ease(float t) {\n  float f = t - 1.0;\n  return f * f * f + 1.0;\n}\n\nuniform sampler2D uImage;\nuniform float uBulge;\nuniform float uLineCount;\nuniform float uLineRegionSize;\nuniform float uLineSize;\nuniform float uRotation;\nuniform float uScale;\nuniform float uShiftIntensity;\nuniform vec2 uOffsetScale;\nuniform vec2 uResolution;\nuniform vec2 uShift;\n\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 (1.0 + floor(distance(uv.x, 0.0) / uLineRegionSize * uLineCount));\n}\n\nvoid main () {\n  vec2 uv = rotate((vUv - 0.5) * uResolution, uRotation);\n  float step = getStep(uv);\n  float multiplier = sign(uv.x);\n\n  uv = rotate(uv, -uRotation);\n\n  float aspect = uResolution.x / uResolution.y;\n\n  float interpStep = multiplier * step;\n  float strength = step / (uLineCount * 0.5);\n  vec2 rotated = vec2(cos(uRotation), sin(uRotation));\n\n  interpStep -= multiplier * 0.5;\n\n  vec2 centered = interpStep * uLineSize * vec2(aspect, 1.0) * uOff
7setScale * rotated;\n\n  uv += uShift * uResolution * uShiftIntensity * ease((step + 1.0) / uLineCount);\n  uv = (uv - centered) * (2.0 - uScale + strength * uBulge) + centered;\n  uv /= uResolution;\n  uv += 0.5;\n  uv = mod(uv * -sign(mod(uv, 2.0) - 1.0), 1.0);\n\n  vec4 tx = texture2D(uImage, uv);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx;\n}\n";function yd(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function av(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?yd(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):yd(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function ov(w){var D=sv();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function sv(){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 id=function(w){Je()(R,w);var D=ov(R);function R(L,F){var Q;return i()(this,R),Q=D.call(this,L,av({programKey:"refracted-lines-program",frag:iv,uniforms:{uResolution:[1,1],uShift:[0,0]}},F)),s()(Nn()(Q),"isIntersecting",!1),s()(Nn()(Q),"onIntersection",function(ge){Q.isIntersecting=ge,Q.interaction.setIsIntersecting(ge)}),s()(Nn()(Q),"onScrollProgress",function(ge){Q.interaction.setScrollProgress(ge)}),Q.autoUpdate=!1,Q.updateInteraction(),Q.setSize(),Q}return d()(R,[{key:"updateInteraction",value:function(){this.interaction&&this.interaction.destroy();var F=gd(this.props.interactionType);this.interaction=new F({shiftUniform:this.uniforms.uShift,props:this.props,node:this.node.closest("section")||this.node}),this.interaction.setIsIntersecting(this.isIntersecting)}},{key:"onUpdateProps",value:function(F){tl()(kt()(R.prototype),"onUpdateProps",this).call(this,F),this.props.interactionType!==F.interactionType?this.updateInteraction():this.interaction.setProps(this.props)}},{key:"getUniformsFromProps",value:function(){var F=this.props,Q=F.rotation,ge=F.intensity,Ne=F.offsetScaleX,Ge=F.offsetScaleY,Qe=F.scale,ot=F.shiftIntensity;return{uRotation:Q*Math.PI/180,uBulge:ge*.01,uOffsetScale:[Ne*.01,Ge*.01],uScale:Qe*.01,uShiftIntensity:ot*.01}}},{key:"update",value:function(){this.interaction.update()&&(this.isDirty=!0)}},{key:"onRefresh",value:function(){tl()(kt()(R.prototype),"onRefresh",this).call(this),this.setSize()}},{key:"setSize",value:function(){var F=this.canvas,Q=F.width,ge=F.height,Ne=this.props,Ge=Ne.size,Qe=Ne.contextScale,ot=Math.sqrt(Q*Q+ge*ge),pt=Math.ceil(ot/(Ge*
7Qe)),mt=pt*(Ge*Qe);this.uniforms.uLineSize=Ge*Qe,this.uniforms.uLineCount=pt,this.uniforms.uLineRegionSize=mt,this.uniforms.uResolution[0]=Q,this.uniforms.uResolution[1]=ge,this.interaction.setImmediate()}},{key:"onDestroy",value:function(){tl()(kt()(R.prototype),"onDestroy",this).call(this),this.interaction.destroy()}}]),R}(el);s()(id,"defaultProps",{intensity:0,size:0,offsetScaleX:0,offsetScaleY:0,rotation:0,scale:0,interactionType:"none",shiftIntensity:0,shiftSpeed:0,contextScale:1,scrollProgress:-1,mouseX:-1,mouseY:-1});var uv="\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_692612174(vec3 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 mod289_692612174(vec4 x) {\n  return x - floor(x * (1.0 / 289.0)) * 289.0;\n}\n\nvec4 permute_692612174(vec4 x) {\n     return mod289_692612174(((x*34.0)+1.0)*x);\n}\n\nvec4 taylorInvSqrt_692612174(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_692612174 = 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_692612174 = step(x0.yzx, x0.xyz);
7\n  vec3 l = 1.0 - g_692612174;\n  vec3 i1 = min( g_692612174.xyz, l.zxy );\n  vec3 i2 = max( g_692612174.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_692612174.yyy;      // -1.0+3.0*C.x = -0.5 = -D.y\n\n// Permutations\n  i = mod289_692612174(i);\n  vec4 p = permute_692612174( permute_692612174( permute_692612174(\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_692612174.wyz - D_692612174.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_692612174 = b1.xzyw + s1.xzyw*sh.zzww ;\n\n  vec3 p0_692612174 = vec3(a0.xy,h.x);\n  vec3 p1 = vec3(a0.zw,h.y);\n  vec3 p2 = vec3(a1_692612174.xy,h.z);\n  vec3 p3 = vec3(a1_692612174.zw,h.w);\n\n//Normalise gradients\n  vec4 norm = taylorInvSqrt_692612174(vec4(dot(p0_692612174,p0_692612174), dot(p1,p1), dot(p2, p2), dot(p3,p3)));\n  p0_692612174 *= 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_692612174,x0), dot(p1,x1),\n                                dot(p2,x2), dot(p3,x3) ) );\n  }\n\n#define V_SEED_X 12.9898\n#define V_SEED_Y 78.233\n#define R_SEED 43758.5453\n\nuniform sampler2D uImage;\nuniform float uDepth;\nuniform float uNoise;\nuniform float uTime;\nuniform vec2 uResolution;\n\nvarying vec2 vUv;\n\nfloat luma(vec4 color) {\n  return dot(color.rgb, vec3(0.299, 0.587, 0.114));\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 filmGrain(vec2 uv) {\n  float random = rand(uv + uTime);\n  return snoise(vec3(uv, random) + random);\n}\n\nvoid main (void) {\n  vec4 origin = texture2D(uImage, vUv);\n  float grain = filmGrain(vUv * uResolution);\n  vec3 color = origin.rgb;\n\n  color *= 1.0 + (grain * uNoise * (-1.0 + uDepth + luma(origin) * 0.75));\n\n  vec4 tx = vec4(color, origin.a);\n  tx.xyz *= tx.a;\n\n  gl_FragColor = tx;\n}\n";function Ed(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function lv(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};D%2?Ed(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):Ed(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}function Ho(w){var D=cv();return function(){var L=kt()(w),F;if(D){var Q=kt()(this).constructor;F=Reflect.construct(L,arguments,Q)}else F=L.apply(this,arguments);return Pt()(this,F)}}function cv(){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 ad=function(w){Je()(R,w);var D=Ho(R);function R(L,F){return i()(this,R),D.call(this,L,lv({programKey:"film-grain-program",frag:uv,uniforms:{uTime:0}},F))}return d()(R,[{key:"getUniformsFromProps",value:function(){var F=this.props,Q=F.intensity,ge=F.shadow;return{uNoise:Q*.01,uDepth:ge*.01}}},{key:"update",value:function(){this.uniforms.uTime+=this.props.speed*1e-4}}]),R}(el);s()(ad,"defaultProps",{intensity:0,shadow:0,speed:0});var rl=function(w){switch(w){case ic.liquid:return nd;case ic.parallax:return oc;case ic.refractedCircles:return rd;case ic.refractedLines:return id;case ic.filmGrain:return ad;default:throw new Error("No WebGL Effect found for type: ".concat(w))}},ir={radial:"radial",linear:"linear"},fv=e(749189);function Ya(w,D){var R=Object.keys(w);if(Object.getOwnPropertySymbols){var L=Object.getOwnPropertySymbols(w);D&&(L=L.filter(function(F){return Object.getOwnPropertyDescriptor(w,F).enumerable})),R.push.apply(R,L)}return R}function ji(w){for(var D=1;D<arguments.length;D++){var R=arguments[D]!=null?arguments[D]:{};
7D%2?Ya(Object(R),!0).forEach(function(L){s()(w,L,R[L])}):Object.getOwnPropertyDescriptors?Object.defineProperties(w,Object.getOwnPropertyDescriptors(R)):Ya(Object(R)).forEach(function(L){Object.defineProperty(w,L,Object.getOwnPropertyDescriptor(R,L))})}return w}var Sd=function(){function w(D,R,L){var F=this,Q=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};i()(this,w),s()(this,"isPaused",!1),s()(this,"isIntersecting",!1),s()(this,"onIntersection",function(ge){F.isIntersecting=ge,F.updatePlayState(),F.instance.onIntersection&&F.instance.onIntersection(ge),F.isIntersecting&&F.isPaused&&F.instance.renderFrame()}),s()(this,"setPaused",function(ge){F.isPaused=ge,F.updatePlayState()}),s()(this,"togglePaused",function(){F.setPaused(!F.isPaused)}),s()(this,"onResize",function(){F.instance.refresh()}),this.instance=new D(R,L),this.node=R,this.options=ji(ji({},w.defaultOptions),Q),this.options.reduceMotion===!0&&(this.isPaused=!0),this.bindListeners()}return d()(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(R){this.node=R,this.bindListeners(),this.instance.attach(R)}},{key:"updatePlayState",value:function(){if(this.isIntersecting&&!this.isPaused){this.instance.start();return}this.instance.stop()}},{key:"setProps",value:function(R){this.instance.setProps(R)}},{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}();s()(Sd,"defaultOptions",{scrollWindowRef:window,normalizeScroll:!0,reduceMotion:!1})},806582: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 l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.plugLoaders(),this._evaluateBricks(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),this._bindUI(),this._syncUI(),this.get("mixedContent")&&l.get("slides").each(function(e,a){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 l=this.get("host");if(l){var e=l.get("container"),a=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),a&&a.removeClass(this._getProperty("SLIDE_CLASS"))}this._flushEvents()},_bindUI:function(){var l=this.get("host");l.after("refresh",this._syncUI,this);var e=new y.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),l.after("aspectRatioChange",function(a){this.set("aspectRatio",a.newVal),this._evaluateBricks(),this._syncUI()},this),l.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange","mixedContentChange"],function(a){this.set(a.attrName,a.newVal),this._syncUI()},this),l.after("lightboxChange",function(a){y.SQS.Gallery.Manager.lightboxify(a.newVal,l.get("slides"))},this)},_syncUI:function(){var l=this.get("host"),e=l.get("container").get("offsetWidth"),a=this.get("aspectRatio"),n=Math.min(this.get("gutter"),this.get("columnWidth")),o=this.get("mixedContent"),t=this.get("columnWidthBehavior")==="min"?"floor":"ceil",r=Math[t](e/this.get("columnWidth"));r=Math.max(r,1);for(var i=n*(r-1),c=(e-i)/r,d=Math.floor(c),u=[],s=0;s<r;s++)u[s]=0;l.get("slides").each(function(f,p){var v=p%r;a||(v=u.indexOf(Math.min.apply(Math,u)));var g=d*v;v!==0&&(g+=n*v);var m,b=d;a?m=b/a:m=this._getBrickHeight(f,p,b),v===r-1&&d!==c&&(b=e-g,!o&&!f.one(".sqs-video-wrapper")&&f.addClass("slide-stretched"));var C={top:u[v]+"px",left:g+"px",width:b+"px",height:m+"px"};f.setStyles(C),m+=n,u[v]+=m},this),l.get("container").setStyle("height",Math.max.apply(Math,u)-n+"px"),y.later(1,this,this.loadItems)},_getBrickHeight:function(l,e,a){var n=this._hasValidDimensions(this.dimensions[e]),o=this.get("mixedContent"),t=l.one(".sqs-video-wrapper img");if(t&&l.one(".intrinsic"))return l.setStyles({width:a+"px",height:null}),y.config.win.ImageLoader.load(t,{load:!0,mode:"fill"}),l.get("offsetHeight");if(n){var r=Math.floor(y.SQS.Gallery.Rendering.getHeightForWidth(this.dimensions[e].width,this.dimensions[e].height,a));if(!o)return r;l.setStyles({width:a+"px",height:null});var i=l.get("offsetHeight"),c=i-l.one("img").get("offsetHeight");return r+c}return l.setStyles({width:a+"px",height:null}),l.all("img").each(function(d){y.config.win.ImageLoader.load(d,{load:"viewport"})}),l.get("offsetHeight")},_hasValidDimensions:function(l){return!!(l&&l.width&&l.height)},_evaluateBricks:function(){var l=this.get("host");this.dimensions=[],l.getSlides().each(function(e){var a=e.one("img[data-image-dimensions]");a?(a.loader.set("mode",this.get("aspectRatio")?"fill":"none"),this.dimensions.push(y.SQS.Gallery.Rendering.getDimensionsFromNode(a))):this.dimensions.push(null)},this)},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-autocolumns",SLIDE_CLASS:"sqs-gallery-design-autocolumns-slide",ATTRS:{columnWidthBehavior:{value:"min"},columnWidth:{value:250,validator:function(l){return y.Lang.isString(l)&&(l=parseInt(l,10)),y.Lang.isNumber(l)&&l>0}},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","@sq
7s/yui-gallery/resize-emitter","@sqs/yui-gallery/rendering"]})},595853: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 l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.plugLoaders(),this._processImages(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),this._bindUI(),this._syncUI()},_bindUI:function(){var l=this.get("host");l.after("refresh",this._syncUI,this);var e=new y.SQS.Gallery.ResizeEmitter({timeout:100});this._event(e.on("resize",this._syncUI,this)),l.after("aspectRatioChange",function(a){this.set("aspectRatio",a.newVal),this._processImages(),this._syncUI()},this),l.after(["columnWidthChange","columnWidthBehaviorChange","gutterChange"],function(a){this.set(a.attrName,a.newVal),this._syncUI()},this),l.after("lightboxChange",function(a){y.SQS.Gallery.Manager.lightboxify(a.newVal,l.get("slides"))},this)},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),a=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),a&&(a.removeClass(this._getProperty("SLIDE_CLASS")),a.setStyles({width:null,marginBottom:null,marginRight:null,clear:null})),l.getImages().each(function(n){n.get("parentNode").test(".img-wrapper")&&n.unwrap(),n.setStyle("position",null)})}this._flushEvents()},_syncUI:function(){var l=this.get("host"),e=l.get("container").get("offsetWidth"),a=this.get("gutter"),n=this.get("columnWidthBehavior")==="min"?"floor":"ceil",o=Math[n](e/this.get("columnWidth"));o=Math.max(o,1);var t=a*(o-1),r=(e-t)/o;l.get("slides").each(function(i,c){var d=c%o;i.setStyles({width:100*r/e+"%",marginBottom:100*a/e+"%",marginRight:d===o-1?0:100*a/e+"%",clear:d===0?"left":null}).addClass("positioned")},this),l.get("container").setStyle("marginBottom",-100*a/e+"%"),y.later(1,this,this.loadItems)},_processImages:function(){var l=this.get("host"),e=this.get("aspectRatio");e?(l.getImages("image").each(function(a){a.get("parentNode").test(".img-wrapper")||a.wrap('<div class="img-wrapper content-fill"></div>'),a.get("parentNode").setStyle("paddingBottom",100/e+"%")}),l.getSlides("video").each(function(a){a.one(".sqs-video-wrapper").videoloader.set("mode","none");var n=a.one(".intrinsic-inner");n&&a.one(".intrinsic-inner").setStyle("paddingBottom",100/e+"%")})):l.getImages("image").each(function(a){a.get("parentNode").test(".img-wrapper")&&a.unwrap(),a.setStyle("position",null)})},_getProperty:function(l){return this.constructor[l]}},{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","@sq
7s/yui-gallery/resize-emitter"]})},197091: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 l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.plugLoaders(),this._evaluateRatios(),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),this._bindUI(),this._syncUI()},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),a=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),a&&(a.removeClass(this._getProperty("SLIDE_CLASS")),a.setStyles({height:null,width:null,marginRight:null,marginBottom:null}))}this._flushEvents()},_bindUI:function(){var l=this.get("host");l.after("refresh",this._syncUI,this),l.after(["rowHeightChange","gutterChange"],function(e){this.set(e.attrName,e.newVal),this._syncUI()},this),l.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,l.get("slides"))},this)},_syncUI:function(){var l=this.get("host"),e=l.get("container").get("offsetWidth"),a=this.get("gutter"),n=this.get("rowHeight"),o=new y.NodeList,t=0,r=0,i=function(c,d){var u=0;c.each(function(s,f){var p=s.one(".sqs-video-wrapper, img"),v=Math.floor(p.getData("aspectRatio")*d),g=f===c.size()-1;g&&(v=e-u),s.setStyles({height:d+"px",width:v+"px",marginRight:g?0:a+"px",marginBottom:a+"px"}),u+=a+v})};l.get("slides").each(function(c){var d=c.one(".sqs-video-wrapper, img"),u=d.getData("aspectRatio")*n;if(u+t>e){var s=n+(e-t)/r;i(o,s),t=0,r=0,o=new y.NodeList}r+=d.getData("aspectRatio"),t+=a+u,o.push(c)}),i(o,n),y.later(1,this,this.loadItems)},_evaluateRatios:function(){var l=this.get("host");l.get("slides").each(function(e){var a=e.one(".sqs-video-wrapper, img"),n=a.test(".sqs-video-wrapper"),o;n?o={width:a.videoloader.getWidth(),height:a.videoloader.getHeight()}:o=y.SQS.Gallery.Rendering.getDimensionsFromNode(a),a.setData("aspectRatio",o.width/o.height)})},_getProperty:function(l){return this.constructor[l]}},{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","@sq
7s/yui-gallery/rendering"]})},543971: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(l){return this.constructor[l]}},{NS:"gallery-design",ATTRS:{}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},951513:function(y,l,e){var a=e(384696).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 o=this.get("host"),t=o.get("slides");o.get("container").addClass(this._getProperty("CONTAINER_CLASS")),t.addClass(this._getProperty("SLIDE_CLASS")),o.plugLoaders(),this._processImages(),o.loadImages(o.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 o=this.get("host");o.after("lightboxChange",function(t){n.SQS.Gallery.Manager.lightboxify(t.newVal,o.get("slides"))},this)},_syncUI:function(){this._updateCarousel(),this._updateControls()},_updateCarousel:function(){var o=this.get("currentGroup")*this.get("slidesPerRow");this.set("slidesPerRow",this._getSlidesPerRow()),this._setSlideStyles();var t=Math.round(o/this.get("slidesPerRow")),r=this.get("totalGroups");t>=r?this.goToGroup(r-1):this.goToGroup(t)},_getSlidesPerRow:function(){var o=this.get("slidesPerRowOriginal");return n.config.win.innerWidth<480&&o>1?2:n.config.win.innerWidth<724&&o>2?3:o},_setSlideStyles:function(){var o=this.get("host"),t=o.get("container"),r=this.get("slidesPerRow"),i=this.get("gutter"),c=this._getProperty("CONTAINER_CLASS")+"-slides-in-view-";t.removeClass(c+".*"),t.addClass(c+r);var d=i+"%";t.setStyle("marginLeft","-"+d),o.get("slides").setStyles({width:100/r+i/r+"%",paddingLeft:d,paddingRight:d})},_updateControls:function(){var o=this.get("host"),t=this.get("totalSlides")<=this.get("slidesPerRow");o.get("elements.previous").toggleClass("sqs-hidden",t).toggleClass("sqs-disabled",this.get("isFirstGroup")).setAttribute("aria-disabled",this.get("isFirstGroup")),o.get("elements.next").toggleClass("sqs-hidden",t).toggleClass("sqs-disabled",this.get("isLastGroup")).setAttribute("aria-disabled",this.get("isLastGroup"))},_moveCarousel:function(o){if(o.halt(),Math.abs(o.newVal-o.prevVal)>1){var t=Math.floor(o.newVal/this.get("slidesPerRow"));this.goToGroup(t);return}if(o.newVal>o.prevVal&&!this.get("isLastGroup")){this.goToNextGroup();return}o.newVal<o.prevVal&&!this.get("isFirstGroup")&&this.goToPrevGroup()},_updateSlideTabbability:function(){var o=this.get("host"),t=o.get("container"),r=o.get("slides"),i=this.get("currentGroup"),c=this.get("slidesPerRow"),d=r.getDOMNodes().slice(i*c,(i+1)*c);this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=a({predicate:function(u){return d.some(function(s){return s.contains(u)})},root:t.getDOMNode(),setFocusOnContain:!1,restoreFocusOnRevert:!1})},goToGroup:function(o){var t="-"+(o*100+o*this.get("gutter"))+"%";this.get("host").get("container").setStyle("transform","translatex("+t+")"),this.set("currentGroup",o),this._updateSlideTabbability()},goToNextGroup:function(){var o=this.get("host"),t=this.get("currentGroup");o.get("totalGroups")-1!==t&&this.goToGroup(t+1)},goToPrevGroup:function(){var o=this.get("currentGroup");o!==0&&this.goToGroup(o-1)},_processImages:function(){var o=this.get("host"),t=this.get("aspectRatio");if(t){var r=100/t+"%";o.getImages("image").each(function(i){i.get("parentNode").setStyle("paddingBottom",r)}),o.getSlides("video").each(function(i){i.one(".sqs-video-wrapper").setStyle("paddingBottom",r)})}},_getProperty:function(o){return this.constructor[o]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-carousel",SLIDE_CLASS:"sqs-gallery-design-carousel-slide",ATTRS:{aspectRatio:{value:0},lightbox:{value:!1},gutter:{value:1},slidesPerRow:{value:3},currentGroup:{value:0},loop:{value:!1,readOnly:!0},slidesPerRowOriginal:{valueFn:function(){return this.get("slidesPerRow")},readOnly:!0},totalSlides:{valueFn:function(){return this.get("host").get("slides").size()},readOnly:!0},totalGroups:{getter:function(){return Math.ceil(this.get("totalSlides")/this.get("slidesPerRow"))},readOnly:!0},isFirstGroup:{getter:function(){return this.get("currentGroup")===0},readOnly:!0},isLastGroup:{getter:function(){return this.get("totalGroups")-1===this.get("currentGroup")},readOnly:!0}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sq
7s/yui-gallery/gismo"]})},202905:function(){YUI.add("@sqs/yui-gallery/designs/grid",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.grid=y.Base.create("GalleryDesignGrid",y.Plugin.Base,[y.SQS.Gallery.GismoBase,y.SQS.Gallery.GalleryLoadingBehavior.ByViewport],{initializer:function(){var l=this.get("host");l.get("container").addClass(this._getProperty("CONTAINER_CLASS")),l.get("slides").addClass(this._getProperty("SLIDE_CLASS")),l.getImages("image").each(function(e){e.setStyles({opacity:0}),this._event(e.once("load",function(){this._timer(y.later(Math.random()*500,this,function(){var a=this._anim(e,{opacity:1},{duration:1});if(!this.get("destroyed")&&a.get("node").inDoc()){var n=y.DOM.viewportRegion();a.get("node").inRegion(n)?a.run():e.setStyles({opacity:null})}}))},this))},this),l.getSlides("video").each(function(e){e.all(".sqs-video-wrapper").each(function(a){a.setStyles({opacity:0});var n=this._anim(a,{opacity:1},{duration:1});this._timer(y.later(Math.random()*500,this,function(){n.run()}))},this)},this),l.plugLoaders(),this.loadItems(),l.getSlides("video").each(function(e){var a=e.one(".sqs-video-wrapper"),n=a.videoloader;this.get("lightbox")&&n.set("inactive",!0),e.one(".content-fit")?n.set("mode","fit"):n.set("mode","fill");var o=n.get("video"),t=o&&o.getAttribute("src").indexOf("instagram.com")!==-1,r=n.get("overlay");t&&r&&r.on("click",function(i){i.halt(),n.showOverlay(),window.open(o.getAttribute("src"),"Instagram","width=620,height=720")},this)},this),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),l.get("slides")),l.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,l.get("slides"))},this)},destructor:function(){var l=this.get("host");if(l){var e=l.get("container"),a=l.get("slides");e&&e.removeClass(this._getProperty("CONTAINER_CLASS")),a&&a.removeClass(this._getProperty("SLIDE_CLASS"))}},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-grid",SLIDE_CLASS:"sqs-gallery-design-grid-slide",ATTRS:{lightbox:{value:!0},perRow:{value:4}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-viewport","@sqs/yui-gallery/gismo"]})},43098:function(){YUI.add("@sqs/yui-gallery/designs",function(y){},"1.0",{requires:["@sqs/yui-gallery/designs/autocolumns","@sqs/yui-gallery/designs/autogrid","@sqs/yui-gallery/designs/autorows","@sq
7s/yui-gallery/designs/base","@sqs/yui-gallery/designs/carousel","@sqs/yui-gallery/designs/grid","@sqs/yui-gallery/designs/list","@sqs/yui-gallery/designs/stacked","@sqs/yui-gallery/designs/strip"]})},990112:function(){YUI.add("@sqs/yui-gallery/designs/list",function(y){y.namespace("SQS.Gallery.Designs"),y.SQS.Gallery.Designs.list=y.Base.create("GalleryDesignList",y.Plugin.Base,[y.SQS.Gallery.GismoBase],{initializer:function(){this.host=this.get("host"),this.host.get("container").addClass(this._getProperty("CONTAINER_CLASS")),this.host.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this.host.plugLoaders(),this._processImages(),this.host.loadImages(this.host.getImages()),this.get("lightbox")&&y.SQS.Gallery.Manager.lightboxify(this.get("lightbox"),this.host.get("slides")),this._renderUI()},destructor:function(){this.host=null},_renderUI:function(){var l=this.host.get("designOptions.imageWidth"),e=parseInt(100-l,10);this.host.get("elements.imageContainers").each(function(a){var n=a.ancestor(".summary-thumbnail-outer-container"),o=n||a;o&&o.getDOMNode().style.setProperty("width",l+"%")}),this.host.get("elements.metaContainers").each(function(a){a.getDOMNode().style.setProperty("width",e+"%")}),this.host.get("slides").each(function(a){a.one("img")||a.addClass("no-image")})},_bindUI:function(){var l=this.host;l.after("lightboxChange",function(e){y.SQS.Gallery.Manager.lightboxify(e.newVal,l.get("slides"))},this)},_processImages:function(){var l=this.get("aspectRatio");l&&(this.host.getImages("image").each(function(e){e.get("parentNode").setStyle("paddingBottom",100/l+"%")}),this.host.getSlides("video").each(function(e){e.one(".sqs-video-wrapper").setStyle("paddingBottom",100/l+"%")}))},_getProperty:function(l){return this.constructor[l]}},{NS:"gallery-design",CONTAINER_CLASS:"sqs-gallery-design-list",SLIDE_CLASS:"sqs-gallery-design-list-slide",ATTRS:{aspectRatio:{value:0},lightbox:{value:!1}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/gismo"]})},555696:function(y,l,e){var a=e(384696).containFocus,n=e(817054);YUI.add("@sqs/yui-gallery/designs/stacked",function(o){o.namespace("SQS.Gallery.Designs"),o.SQS.Gallery.Designs.stacked=o.Base.create("GalleryDesignStacked",o.Plugin.Base,[o.SQS.Gallery.GismoBase,o.SQS.Gallery.GalleryLoadingBehavior.ByCurrentIndex],{initializer:function(){var t=this.get("host"),r=t.get("slides");if(t.get("container").addClass(this._getProperty("CONTAINER_CLASS")),r&&r.addClass(this._getProperty("SLIDE_CLASS")),this.plug(this.get("transition"),this.get("transitionOptions")),t.after("currentIndexChange",this.syncUI,this),t.after("refresh",this.syncUI,this),t.after("image-loaded",this._positionMetaOverlay,this),r&&r.each(function(c,d){var u=c.test("img")?c:c.one("img");u?u.onceAfter("loaded",function(){c.addClass("loaded")},this):c.addClass("loaded")},this),t.plugLoaders(),this.get("autoHeight")){var i=o.bind(function(){this.containerHeight=this._calculateContainerHeight(),t.get("container").setStyles({height:this.containerHeight})},this);i(),this._event(new o.SQS.Gallery.ResizeEmitter({timeout:100}).on("resize",i))}t.refresh(),this.bindUI(),this.syncUI()},destructor:function(){var t=this.get("host");if(t){var r=t.get("container");r&&this.get("autoHeight")&&r.setStyles({height:null});var i=t.get("slides");i&&i.each(function(c){c.setStyles({opacity:null}),c.removeClass(this._getProperty("SLIDE_CLASS"))},this)}},bindUI:function(){var t=this.get("host");this.get("clickBehavior")&&this._event(t.get("container").on("click",this.onClickSlide,this))},getSlideFromClickEvent:function(t){return t.target.test(".slide")?t.target:t.target.ancestor(".slide")},onClickSlide:function(t){if(!t.target.ancestor("a",!0)){t.preventDefault();var r=this.getSlideFromClickEvent(t);if(r){var i=r.getAttribute("data-click-through-url");if(i){this.clickthrough(i);return}}this.advanceSlideFromClick(t)}},clickthrough:function(t){o.Squarespace&&o.Squarespace.Utils&&o.Squarespace.Utils.isInDamaskFrame()?o.Global.fire("bypassGalleryClickThrough",{url:t}):window.location.href=t},advanceSlideFromClick:function(t){var r=this.getSlideFromClickEvent(t),i=this.get("host"),c=i._slideType(i.getCurrentSlide());if(c!=="video")switch(this.get("clickBehavior")){case"next":i.nextSlide();break;case"previous":i.previousSlide();break;default:var d=r?r.get("region"):i.get("container").get("region"),u=d.width/2+d.left;t.pageX>u?i.nextSlide():i.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"),i=t.get("slides").item(t.get("currentIndex"));this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=a({predicate:function(c){return i._node.contains(c)},root:r._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},_positionMetaOverlay:function(){var t=this.get("host"),r=t.getCurrentSlide();if(r){var i=r.one("img");i||(i=r);var c=i.ancestor(".sqs-video-wrapper",!0);c&&(i=c,c.videoloader.on("showingVideoChange",function(f){r.toggleClass("video-playing",!!f.newVal)}));var d=r.one(".meta");if(d){var u=t.get("container"),s=n(u,"galleryOptions");
7if(s)switch(s["meta-position"]||"bottom"){case"top":case"bottom":d.setStyles({left:i.get("offsetLeft"),width:i.get("offsetWidth")});break;case"top-left":case"bottom-left":d.setStyles({left:i.get("offsetLeft"),maxWidth:i.get("offsetWidth")/2});break;case"top-right":case"bottom-right":d.setStyles({right:r.get("offsetWidth")-(i.get("offsetLeft")+i.get("offsetWidth")),maxWidth:i.get("offsetWidth")/2});break;case"center":d.setStyles({maxWidth:i.get("offsetWidth")/2}),d.setStyles({marginLeft:d.get("offsetWidth")/-2,marginTop:d.get("offsetHeight")/-2});break}d.get("scrollHeight")/u.get("offsetHeight")>.9?d.setStyle("height",u.get("offsetHeight")*.4).addClass("overflow"):d.setStyle("height",null).removeClass("overflow")}}},_calculateContainerHeight:function(){var t=this.get("host"),r=[],i=t.get("slides");i&&i.each(function(d){switch(t._slideType(d)){case"image":var u=d.test("img")?d:d.one("img");if(u){var s=o.SQS.Gallery.Rendering.getDimensionsFromNode(u),f=o.SQS.Gallery.Rendering.getHeightForWidth(s.width,s.height,d.get("offsetWidth"));isNaN(f)||r.push(f)}break;case"video":var p=d.one(".sqs-video-wrapper");if(!p)break;var v=p.videoloader;if(!v)break;var g=o.SQS.Gallery.Rendering.getHeightForWidth(v.getWidth(),v.getHeight(),d.get("offsetWidth"));isNaN(g)||r.push(g);break}},this);var c=t.get("container").get("offsetHeight");return r.length>0&&(c=Math.min.apply(Math.min,r)),c},_getProperty:function(t){return this.constructor[t]},_getTransition:function(t){if(t=o.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:o.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","@sq
7s/yui-gallery/rendering","@sqs/yui-gallery/resize-emitter"]})},597517: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(l){return this.constructor[l]}},{NS:"gallery-stacked-transition"})},"1.0",{requires:["base","plugin","@sqs/yui-gallery/gismo"]})},49507: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(l){this.get("host").get("host").set("inMotion",!0);var e=l.newVal||this.get("host").get("host").get("currentIndex"),a=l.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(a)){var o=this.get("host").get("host").getSlides().item(a);o&&(o.setStyles({zIndex:this.baseZIndex}),this._anim(o,{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()!==o&&o.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"]})},769087: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"]})},224848:function(y,l,e){var a=e(218914);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(o){var t=o.getAttribute("data-image-focal-point");t=t.split(","),o.setStyles({transformOrigin:t[0]*100+"%"+t[1]*100+"%",transform:"translatez(0)"})})},transition:function(o){this.get("host").get("host").set("inMotion",!0);var t=o.newVal||this.get("host").get("host").get("currentIndex"),r=o.prevVal,i=n.Lang.isNumber(t)&&this.get("host").get("host").getSlides().item(t),c=n.Lang.isNumber(r)&&this.get("host").get("host").getSlides().item(r),d=this.get("host").get("speed");if(i){if(Modernizr.csstransforms){var u=i.one("img"),s=t%2===0?this.get("zoom"):1,f=t%2!==0?this.get("zoom"):1,p=this.get("host").get("host").get("autoplayOptions.timeout")/1e3+d,v=new a(function(g){var m=s+g*(f-s);u.setStyle("transform","scale("+m+")")},{duration:p*1e3,easing:"linear"});v.start()}i.setStyles({zIndex:this.baseZIndex+1}),i.anim({opacity:1},{from:{opacity:0}
7,end:n.bind(function(){this.get("host").get("host").set("inMotion",!1)},this)}).run()}c&&(c.setStyles({zIndex:this.baseZIndex}),i.anim({opacity:1},{duration:d,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"]})},734107: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(l){var e=l.one(".sqs-video-wrapper"),a=l.one("img");e?(e.plug(y.Squarespace.VideoLoader),this._$assets.push(e)):(ImageLoader.load(a),this._$assets.push(a))},this),this._setLayoutStyles(),this._bind()},transition:function(l){var e=this._host.get("currentIndex");l||(l={});var a=l.x||-1*(this._$items.item(0).get("clientWidth")*e)+"px",n=l.y||"0px";this._$container.setStyles({transform:"translate3d("+a+", "+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 l={},e=0,a=[],n=5,o;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(),l.target=t.target,l.initiated=!0,l.tap=!0,l.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(!l.initiated)return!1;if(t.halt(),t.type=="mousemove"&&(o&&o.cancel&&o.cancel(),o=y.later(500,this,function(){this._$container.simulate("mouseup")})),l.tap=!1,l.end={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()},!l.axis)Math.abs(Math.abs(l.end.x)-Math.abs(l.start.x))>10&&(l.axis="x"),Math.abs(Math.abs(l.end.y)-Math.abs(l.start.y))>10&&(l.axis="y");else{var r=this._getBoundaries(),i=this.get("boundaries"),c=l.start[l.axis]-l.end[l.axis],d=l.start.region.left,u=l.start.region.top,s=function(m){return i[m]=="none"||i[m]=="none"?1:.1},f=1,p=d-c;l.axis=="x"&&(p>-1*r.left&&(f=s("left"),l.boundaryBreach="left"),p<-1*r.right&&(f=s("right"),l.boundaryBreach="right")),l.axis=="y"&&(p<-1*r.top&&(f=s("top"),l.boundaryBreach="top"),p>-1*r.bottom&&(f=s("bottom"),l.boundaryBreach="bottom"));var v=d,g=u;l.axis=="x"?v=d-c*f:g=u-c*f,this._$container.setStyles({transform:"translate3d("+v+"px, "+g+"px, 0)"})}a.push({x:l.end.x,y:l.end.y,time:Date.now()}),a.length>n&&a.shift()},this),this._$container.on(["mouseup","touchend"],function(t){if(!l.initiated)return!1;if(t.halt(),a.length==n){var r=a[0],i=a[a.length-1],c=Math.abs(r[l.axis]-i[l.axis]),d=Math.abs(i.time-r.time);l.velocity=c/d}else l.velocity=0;l.end||(l.tap=!0,l.end={x:t.touches?t.touches[0].clientX:t.clientX,y:t.touches?t.touches[0].clientY:t.clientY,region:this._$container.getDOMNode().getBoundingClientRect()}),l.time=Date.now()-e,l.boundaryBreach&&this.get("boundaryBreachCallback")(l),this._dispatchSlideAction(l),l={},a=[]},this)},_getBoundaries:function(){var l=this._$container.getStyle("transform");this._$container.setStyle("transform","translate3d(0,0,0)");var e=this._$items.item(0).get("region"),a=this._$items.item(this._$items.size()-1).get("region"),n;return n={top:e.top,left:e.left,bottom:a.bottom-a.height,right:a.right-a.width},this._$container.setStyle("transform",l),n},_dispatchSlideAction:function(l){var e=this._host.get("currentIndex"),a=.7/l.velocity,n=y.config.win.innerWidth<767?.2:.3,o=y.config.win.innerWidth<767?.4:.5;if(a<n&&(a=n),a>o&&(a=o),this._$container.setStyles({transition:"transform "+a+"s ease-out"}),y.later(a*1e3,this,function(){this._$container.setStyles({transition:"none"})}),l.axis=="x"){var t=Math.abs(Math.abs(l.start.x)-Math.abs(l.end.x));(t>this._$container.get("clientWidth")/2||l.velocity>1)&&(l.start.x>l.end.x?e<this._$items.size()-1&&e++:e>0&&e--)}this._host.set("currentIndex",e)}},{NS:"gallery-stacked-transition",CONTAINER_CLASS:"sqs-gallery-design-stacked-newswi
7pe",WRAPPER_CLASS:"sqs-gallery-design-stacked-newswipe-wrapper",ATTRS:{boundaries:{value:{top:"inertial",right:"inertial",bottom:"inertial",left:"inertial"},validator:function(l){var e=!0;for(var a in l)if(l[a]!="none"&&l[a]!="hard"&&l[a]!="inertial"){e=!1;break}return e}},boundaryBreachCallback:{value:function(l){}},snapPoints:{value:{x:"100%",y:"none"},validator:function(l){var e=!!l.match(/%$/)&&!isNaN(parseFloat(l)),a=!!l.match(/none/);return e||a}}}})},"1.0",{requires:["base","node","@sqs/yui-gallery/designs/stacked/transitions/base","@sqs/yui-gallery/touch-event-listener","squarespace-video-loader"]})},416376: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(l){this._onTouch(l)},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(l){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(l,e){return l<e?1:-1},_getCurrentSlidePosition:function(){return-1*this.containerWidth*this.galleryHost.get("currentIndex")},_onTouch:function(l){var e=this.get("host").get("host").get("container"),a=l.targetEl;if(a.getAttribute("href")){this._handleAnchors(a),l.touchEvent.preventDefault();return}else{if(l.touchEvent.touches.length>1)return;if(e.contains(a)&&!a.ancestor(".image-detail-wrapper, .sqs-video-wrapper"))switch(l.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",l);break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchStart:this.touchStartPoint=l.point;break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchMove:this._scrollByDistance(l.point);break;case y.SQS.Gallery.TouchEventListener.ActionTypes.touchEnd:this._finishScroll(l.point);break}}a.ancestor(".image-detail-wrapper, .sqs-video-wrapper")||this.get("allowPageScroll")||l.touchEvent.preventDefault()},_handleAnchors:y.throttle(function(l){l.getAttribute("target").match(/_blank/)?window.open(l.getAttribute("href")):window.location.href=l.getAttribute("href")}),_scrollByDistance:function(l){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.get("host").get("host"),a=e.get("slides"),n=e.get("
7currentIndex"),o=0;if(this.get("direction")=="vertical"?o=this.touchStartPoint.y-l.y:o=this.touchStartPoint.x-l.x,o>0&&n+1>=a.size()){e.fire("reachedEnd"),this.touchStartPoint=null;return}else if(o<0&&n-1<0){e.fire("reachedBeginning"),this.touchStartPoint=null;return}this._adjustPosition(this._getCurrentSlidePosition()-o)}},_finishScroll:function(l){if(!(!this.touchStartPoint||this.slides.size()<2)){var e=this.galleryHost,a=0,n=e.get("currentIndex");if(this.get("direction")==="vertical"?a=this.touchStartPoint.y-l.y:a=this.touchStartPoint.x-l.x,n=a>=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:a>0?1:-1})}},_adjustPosition:function(l,e,a){var n={},o=this.get("direction"),t=this.get("accelerate");t?n.transform=o==="vertical"?"translate3d(0,"+l+"px,0)":"translate3d("+l+"px,0,0)":n[o==="vertical"?"top":"left"]=l+"px",e?t?this.container.transition({duration:a||this.get("host").get("speed"),transform:n.transform,easing:a?y.Easing.easeInStrong:this.get("host").get("easing")}):(this.galleryHost.set("inMotion",!0),this._anim(this.container,n,{duration:a||this.get("host").get("speed"),easing:a?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"]})},292458: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 l,e,a=this.container.get("parentNode").width()/2.25;this.container.on("touchstart",function(n){e=!1,l=new Date().getTime()}),this.container.on("touchmove",function(n){e=!0}),this.container.on("touchend",function(n){var o=this.container.get("parentNode").get("scrollLeft"),t=this.galleryHost.get("currentIndex"),r=this._getSlidePosition(t),i=Math.abs(r-o),c=new Date().getTime()-l>250;if(c===!0)i>a&&(o>r?t++:t--);else if(c===!1&&e===!1){if(!n.target.get("tagName").match(/img/i))return;t++}else e===!0&&i>0&&(o>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(l){this.galleryHost.get("inMotion")||this.slides.size()===0||this._adjustPosition()},_getSlidePosition:function(l){return this.containerWidth*l},_adjustPosition:function(l){l=y.Lang.isUndefined(l)?this.galleryHost.get("currentIndex"):l;var e=this.container.get("parentNode").get("scrollLeft"),a=this._getSlidePosition(l);e!==a&&(this.galleryHost.set("inMotion",!0),new y.Anim({node:this.container.get("parentNode"),to:{scrollLeft:a},duration:.28,easing:y.Easing.easeOut}).run().on("end",function(){this.galleryHost.set("inMotion",!1),this.galleryHost.set("currentIndex",l)},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"]})},884966:function(y,l,e){var a=e(384696).containFocus,n=e(782747),o=e(243977);function t(r,i){r.setAttribute("aria-current",i?"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 i=this.get("host");i.get("container").addClass(this._getProperty("CONTAINER_CLASS")),i.get("slides").addClass(this._getProperty("SLIDE_CLASS")),this._event(i.on("image-loaded",this._syncUIRefreshWrapperWidth,this)),this._event(i.on("refresh",this._syncUIRefreshWrapperWidth,this)),i.plugLoaders();var c=i.get("container").get("offsetHeight");i._slidesByType("video").each(this._initializeVideoSlide(c)),i.renderWrapper(),i.after("currentIndexChange",this.syncUI,this),this.syncUI(),this.bindUI()},destructor:function(){var i=this.get("host");if(i){var c=i.get("container");c&&c.removeClass(this._getProperty("CONTAINER_CLASS"));var d=i.get("slides");d&&d.removeClass(this._getProperty("SLIDE_CLASS"))}},_initializeVideoSlide:function(i){return function(c){var d=c.one(".sqs-video-wrapper");if(d){var u=d.videoloader,s=u.getWidth()/u.getHeight();d.setStyle("paddingRight",s*i),c.one("img")&&c.one("img").refresh()}}},syncUI:function(i){(!i||!i.calledFromParent)&&this.get("host").syncUI(),this._syncUIRefreshWrapperWidth(),this.loadItems()},_syncUIRefreshWrapperWidth:function(){var i=this.get("host"),c=i.get("container");
7if(c.hasClass("sqs.gallery-thumbnails")){var d=c.get("offsetHeight");c.all(".sqs-video-thumbnail").each(function(m){m.hasClass("no-image")&&m.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(d*(16/9))+"px"});var b=m.one("img");b&&(m.removeClass("loading"),m.setAttribute("style","width: "+b.get("offsetWidth")+"px !important"))})}var u=i._wrapperEl;u.setStyles({width:null});var s=0,f=0;i.get("slides").each(function(m,b){this.get("host").get("currentIndex")>b&&(f+=m.get("offsetWidth")),s+=m.get("offsetWidth")},this);var p=c.get("offsetWidth"),v=i._currentSlide();if(v){switch(this.get("alignment")){case"start":break;case"middle":f-=(p-v.get("offsetWidth"))/2,f<0&&(f=0);break;case"end":f-=p-v.get("offsetWidth"),f<0&&(f=0);break}s<p?f=(p-s)/-2:f>s-p&&(f=s-p)}u.setStyles({width:s*2});var g=this;this._anim(u,{left:-1*f},{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 i=this.get("host"),c=i.get("container");this.revertFocusContainment&&this.revertFocusContainment(),this.revertFocusContainment=a({predicate:function(d){return!o(d,c)},root:c._node,setFocusOnContain:!1,restoreFocusOnRevert:!1})},bindUI:function(){var i=this.get("host"),c=i.get("slides"),d=i._currentSlide();c.each(function(s,f){var p=i._slideType(s);p==="video"&&s!==d&&s.one(".sqs-video-wrapper").videoloader.set("inactive",!0),t(s,s===d),this._event(s.on("click",this._onClickSlide(s,f),this)),this._event(s.on("keydown",function(g){(g.keyCode===13||g.keyCode===32)&&this._onClickSlide(s,f).bind(this)(g)},this))},this),i.on("currentIndexChange",this._toggleVideoOnSlideChange,this),i.on("designOptionsChange",this._handleDesignOptionsChanged,this);var u=i.get("slides").item(this.get("currentIndex")||0);u&&u.addClass(this._getProperty("SLIDE_CLASS"))},_handleDesignOptionsChanged:function(i){if(i&&i.subAttrName&&i.subAttrName==="designOptions.alignment"){var c=n(i.newVal.alignment);this.set("alignment",c)}},_onClickSlide:function(i,c){return function(d){var u=this.get("host"),s=u._slideType(i);if(s==="video"){var f=i.one(".sqs-video-wrapper"),p=f?f.videoloader:null,v=p?p.get("inactive"):!0;if(!v)return}var g=d.target.getAttribute("data-click-through-url");if(g){d.preventDefault(),window.location.href=g;return}if(c===u.get("currentIndex"))switch(this.get("activeSlideClickBehavior")){case"next":u.nextSlide();break;case"previous":u.previousSlide();break;default:u.set("currentIndex",c);break}else{var m=u.get("slides");m.each(function(P,T){t(P,T===c)}),u.set("currentIndex",c)}var b=u._currentSlide(),C=u._slideType(b),A=u._currentSlide(),_=u._slideType(A);b!==A&&(C==="video"&&b.one(".sqs-video-wrapper").videoloader.set("inactive",!0),_==="video"&&(A.one(".sqs-video-wrapper").videoloader.set("inactive",!1),A===i&&A.one(".sqs-video-wrapper").videoloader.showVideo()))}},_toggleVideoOnSlideChange:function(i){var c=this.get("host"),d=c.get("slides"),u=d.item(i.prevVal),s=i.newVal<0?d.size()-1:i.newVal,f=d.item(s);c._slideType(u)==="video"&&u.one(".sqs-video-wrapper").videoloader.set("inactive",!0),c._slideType(f)==="video"&&f.one(".sqs-video-wrapper").videoloader.set("inactive",!1)},_getProperty:function(i){return this.constructor[i]}},{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(i){return["start","middle","end"].indexOf(i)!==-1}}}})},"1.0",{requires:["base","node","plugin","@sqs/yui-gallery/loading-behavior/by-current-index","@sqs/yui-gallery/gismo"]})},773618:function(y,l,e){var a=e(817054),n=e(782747),o=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(i){var c=new t.SQS.Gallery.Gallery2(i);return this._galleries.push(c),c},destroyGallery:function(i){this._galleries=t.Array.filter(this._galleries,function(c){return c!==i}),this._galleries.length===0&&(this._queueThrottle=this._queueThrottleMax)},updateGallery:function(i){var c=i.get("contentBox"),d=c.one(".sqs-gallery");if(d){var u=d.getData("gallery");if(u){var s=i.get("model"),f=i.get("modelWhiteList"),p=s.getAttrs(f),v=this.dataToAttrs(p);switch(u.setAttrs(v),s.get("design")){case"grid":this.updateGridStyles(c,v,s._getDefaultContent);break;case"slideshow":this.updateSlideshowThumbnails(c,v);break}u.refresh()}}},_getDataFromNode:function(i){if(i.hasAttribute("data-block-json"))try{return JSON.parse(i.getAttribute("data-block-json"))}catch(c){return console.error("Error decoding gallery block data."),null}return a(i,"block")||null},getDesign:function(i){switch(i.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(i,c){return c==="autocolumns"||i.imageAspectRatio==="Auto"?!1:i.imageAspectRatio},getLoaderOptions:function(i,c,d){switch(c){case"grid":return{mode:i["square-thumbs"]?"fill":"fit"};case"autogrid":case"autocolumns":case"carousel":case"list":return{mode:d.aspectRatio?"fill":""};case"stacked":return{mode:i["auto-crop"]?"fill":"fit"}}return{}},initializeGallery:function(i,c,d,u){var s={};s.autoHeight=["grid","stacked"].indexOf(d)!==-1,["autogrid","autocolumns","carousel","list"].indexOf(d)!==-1&&(s.aspectRatio=this.getAspectRatio(c,d),s.slidesPerRow=c.slidesPerRow,s.lightbox=c.lightbox,s.mixedContent=c.mixedContent),(d==="autogrid"||d==="autocolumns")&&(s.columnWidth=c.columnWidth,s.gutter=c.gutter),d==="list"&&(s.imageWidth=c.listImageSize),d==="strip"&&!t.Lang.isValue(c.aspectRatio)&&!t.Lang.isValue(c.vSize)&&(c.vSize=10,i.addClass("vsize-10")),(d==="carousel"||d==="strip")&&(s.alignment=n(c["active-alignment"])),d==="grid"&&(s.lightbox=c.lightbox,s.lightboxTheme=c.lightboxTheme==="light"?"light":"dark",s.perRow=parseInt(c["thumbnails-per-row"],10)),u.setData("galleryOptions",c);var f=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:d,designOptions:s,loaderOptions:this.getLoaderOptions(c,d,s),keyboard:!c.autoplay,lazyLoad:!0,autoplay:c.autoplay,loop:!0,refreshOnResize:!0,refreshOnOrientationChange:!0});return c["autoplay-duration"]&&f.set("autoplayOptions.timeout",this.secondsToMs(c["autoplay-duration"])),f},dataToAttrs:function(i){var c=t.clone(i);return c["autoplay-duration"]&&(c.autoplayOptions=c.autoplayOptions||{},c.autoplayOptions.timeout=this.secondsToMs(c["autoplay-duration"]),delete c["autoplay-duration"]),c["active-alignment"]&&(c["designOptions.alignment"]=c["active-alignment"],delete c["active-alignment"]),c},secondsToMs:function(i){return parseInt(i*1e3,10)}
7,styleThumbnails:function(i,c,d){var u=1.7777777777777777;i.all(".sqs-video-thumbnail").each(function(f){f.hasClass("no-image")&&f.one(".sqs-video-thumbnail-inner").setStyles({width:Math.floor(c*u)+"px"});var p=f.one("img");p&&p.once("load",function(){f.removeClass("loading"),f.setAttribute("style","width: "+p.get("offsetWidth")+"px !important")})});var s=Math.min(o,d);i.setStyles({height:c,marginTop:-s+d,marginBottom:-s,paddingTop:s,paddingBottom:s})},initializeBlock:function(i){var c=this._getDataFromNode(i);if(!c){console.error("Error evaluating gallery block data.");return}var d=i.one(".sqs-gallery-container");if(d){var u=this.getDesign(c);["grid","stacked"].indexOf(u)!==-1&&i.removeClass("vsize-"+c.vSize);var s=!t.UA.ios&&["strip","stacked"].indexOf(u)!==-1;if(s){var f=d.one(".sqs-gallery-controls");f&&f.addClass("show-hover-effect")}var p=this.getGalleryByContainer(d);p?p.refresh():p=this.initializeGallery(i,c,u,d),u==="stacked"&&c.thumbnails===!0&&this.initializeThumbnails(i,c,p)}},getGalleryByContainer:function(i){return i.one(".sqs-gallery").getData("gallery")||null},initializeThumbnails:function(i,c,d){var u=i.one(".sqs-gallery-container"),s=i.one(".sqs-gallery-thumbnails");if(s){var f=c["thumbnail-strip-height"],p=c["thumbnail-strip-margin"];if(this.styleThumbnails(s,f,p),s.getData("gallery")){s.getData("gallery").refresh();return}var v=Math.ceil(d.get("container").get("offsetWidth")/f),g=this.makeGallery({containerWrapper:u,container:s,elements:{},loop:!0,design:"strip",designOptions:{activeSlideClickBehavior:!1,preloadCount:v},lazyLoad:!0,loaderOptions:{canvas:!1},refreshOnResize:!0,refreshOnOrientationChange:!0,keyboard:!1});d.addChild(g)}},updateSlideshowThumbnails:function(i,c){var d=i.one(".sqs-gallery-thumbnails");if(d){var u={};t.Lang.isNumber(c["thumbnail-strip-height"])&&(u.height=c["thumbnail-strip-height"]),t.Lang.isNumber(c["thumbnail-strip-margin"])&&(u.marginTop=c["thumbnail-strip-margin"]),d.setStyles(u);var s=d.getData("gallery");s["gallery-design"].syncUI()}},updateGridStyles:function(i,c){var d=i.one(".sqs-gallery-container");if(!t.Lang.isNull(d)){var u=d.get("className").split(" "),s=t.Array.find(u,function(_){return _.startsWith("sqs-gallery-thumbnails-per-row-")}),f={padding:20,thumbsPerRow:4},p=t.Lang.isValue(c.padding)?c.padding:f.padding,v=t.Lang.isValue(c["thumbnails-per-row"])?c["thumbnails-per-row"]:f.thumbsPerRow,g=".sqs-block-content#"+i.get("id"),m=i.one("#design-grid-css"),b=g+" .sqs-gallery-design-grid",C=b+" .sqs-gallery-design-grid-slide .margin-wrapper",A=b+" { margin-right: -"+p+"px; }"+C+" { margin-right: "+p+"px;  margin-bottom: "+p+"px; }";d.removeClass(s),d.addClass("sqs-gallery-thumbnails-per-row-"+v),m&&m.setContent(A)}},refreshAll:function(){t.Array.each(this.getGalleries(),function(i){i.refresh()})},runImageQueue:function(){this._queueThrottle>0?this._imageQueue.run():this._imageQueue.pause()},addImageQueue:function(i){i.each(function(c){this._imageQueue.add({fn:function(){c&&c._node&&(c.plug(this.getLoader(),{load:!0}),c.fire("refresh"),c.get("complete")||(this._queueThrottle--,c.once(["load","error"],function(d){this._queueThrottle++,this.runImageQueue()},this))),this.runImageQueue()},context:this,id:c.getAttribute("data-src")})},this)},promoteImageQueue:function(i){for(var c=i.size()-1;c>=0;c--)this._imageQueue.promote(i.item(c).getAttribute("data-src"));this.runImageQueue()},removeImageQueue:function(i){i.each(function(c){this._imageQueue.remove(c.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"]})},738171:function(y,l,e){var a=e(633629),n=!1;YUI.add("@sqs/yui-gallery",function(o){o.namespace("SQS.Gallery"),o.SQS.Gallery.Gallery2=o.Base.create("Gallery",o.Widget,[o.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(o.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,i=this.constructor[t];o.Lang.isUndefined(i)&&r.superclass;){r=r.superclass.constructor;if(o.Lang.isUndefined(r))break;i=r[t]}return i},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")&&o.Lang.isArray(t)&&t.length>0&&o.SQS.Gallery.Manager.removeImageQueue(),this.get("container").clearData("gallery"),o.SQS.Gallery.Manager.destroyGallery(this)},_shouldRespectKeypress:function(){if(this.get("inMotion")||document.activeElement.hasAttribute("contenteditable"))return!1;var t=o.one(o.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(o.on("key",this._onKeyPrev,o.config.win,t,this),"ke
7yboard");var r=this.get("keys.next");r&&this._event(o.on("key",this._onKeyNext,o.config.win,r,this),"keyboard")}},bindUI:function(){var t=o.one(o.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 o.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"),i=t>=r-1,c=t<=0,d=this.getProperty("DISABLED_PAGINATION_CLASS"),u=this.get("elements.next");u&&u.toggleClass(d,i);var s=this.get("elements.previous");s&&s.toggleClass(d,c)}},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"),i=this.get("elements.totalSlides");i&&i.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 i=t&&t.type&&t.type.startsWith("resize");i||this._refreshVideos(),o.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")?o.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(!(!o.Lang.isNumber(r)||!r)){var i=this.get("currentIndex");if(i<=0){if(!this.get("loop")){this.fire("reachedBeginning");return}this.set("currentIndex",r-1,{direction:1});return}this.set("currentIndex",i-1,{direction:-1})}},nextSlide:function(t){t&&(t.preventDefault(),t.stopPropagation());var r=this.get("numberOfSlides");if(!(!o.Lang.isNumber(r)||!r)){var i=this.get("currentIndex")+1;if(i>=r){if(!this.get("loop")){this.fire("reachedEnd");return}this.set("currentIndex",0,{direction:-1});return}this.set("currentIndex",i,{direction:1})}},renderWrapper:function(){if(!this._wrapperEl){var t=this.get("slides"),r=o.Node.create('<div class="sqs-wrapper"></div>');t.each(function(i){r.append(i)},this),this.get("container").append(r),this._wrapperEl=r}},addChild:function(t){var r=this.get("linkedGalleries"),i=o.bind(function(c){if(!c.calledFromSync)for(var d=0;d<r.length;d++)c.calledFromChild!==r[d]&&r[d].set("currentIndex",this.get("currentIndex"),{calledFromSync:!0})},this);this._linkedGalleryBinding||(this._linkedGalleryBinding=this.after("currentIndexChange",function(c){i(c)},this)),this.get("keyboard")&&t.set("keyboard",!1),t.after("currentIndexChange",function(c){c.calledFromSync||this.set("currentIndex",c.newVal,{calledFromChild:t})},this),r.push(t),t.get("linkedGalleries").push(this),t.syncUI()},setVideoState:function(t){if(t&&this._slideType(t)==="video"){var r=t.one(".sqs-video-wrapper").videoloader;
7r&&(r.get("overlay")?r.showOverlay():r.get("apiFriendly")?r.pause():["object","iframe"].indexOf(r.get("type"))!==-1&&r.refreshVideo())}},getSlides:function(t){return t?this._slidesByType(t):this.get("slides")},getImages:function(t){return t?this._imagesByType(t):this._images},_isMotionDisabled:function(){var t=o.config.win.location.search;t.charAt(0)==="?"&&(t=t.substring(1));var r=a.parse(t);return r.nomotion==="true"},_clearAutoplay:function(){this._autoplayHandle&&(this._autoplayHandle.cancel(),this._autoplayHandle=null),this._flushEvents("autoplay")},_initializeAutoplay:function(){this._clearAutoplay();var t=this._isMotionDisabled()?!1:this.get("autoplay");t&&(this._autoplayMouseover=!1,this._autoplayRandom=this.get("autoplayOptions.interval"),this._startAutoplay())},_autoplayAdvance:function(){if(!(this._autoplayMouseover||!o.Env)){var t=this.get("numberOfSlides");if(!(!o.Lang.isNumber(t)||!t)){if(this._autoplayRandom){for(var r=Math.ceil(Math.random()*t);r===this.get("currentIndex");)this.set("currentIndex",r);return}this.nextSlide()}}},_startAutoplay:function(){this._autoplayHandle=o.later(this.get("autoplayOptions.timeout"),this,this._autoplayAdvance,null,!0);var t=[this.get("container"),this.get("elements.previous"),this.get("elements.next")];if(this.get("autoplayOptions.pauseOnMouseover"))for(var r=this.get("autoplayOptions.pauseOnMouseover"),i=0;i<r.length;i++)t.push(o.one(r[i]));if(!o.SQS.Gallery.Manager.isMobile())for(var c=0;c<t.length;c++){var d=t[c];o.Lang.isString(d)&&(d=this.get(d)),d&&(this._event(d.on(["mouseenter","mousemove"],function(){this._autoplayMouseover=!0}),"autoplay"),this._event(d.on("mouseout",function(){this._autoplayMouseover=!1}),"autoplay"))}},cleanAndRebindElements:function(t){for(var r=0;r<t.length;r++){var i=t[r],c="controls-"+i;this._flushEvents(c);var d="elements."+i,u=this.get(d);u&&u.each(function(s){n&&console.log("[yui-gallery/gallery] binding",i,s);var f=i+"Slide";this._event(s.on("click",this[f],this),c),this._event(s.on("keydown",function(v){(v.keyCode===13||v.keyCode===32)&&this[f](v)},this),c)},this)}},_bindUIElements:function(){this.cleanAndRebindElements(["previous","next"]);var t=[],r=this.getProperty("ACTIVE_CLASS");this._flushEvents("controls-controls"),this.get("elements.controls")&&(this.get("elements.controls").each(function(i){var c=i.get("children");t.push(c),c.each(function(u,s){this._event(u.on("click",function(){this.set("currentIndex",s)},this),"controls-controls")},this);var d=c.item(this.get("currentIndex"));d&&d.addClass(r)},this),this.getSlides().size()<=1&&this.get("elements.controls").addClass("sqs-gallery-controls-disabled")),this._flushEvents("index-change"),this._event(this.after("currentIndexChange",function(i){t.forEach(function(u){u.filter("."+r).removeClass(r);var s=u.item(i.newVal);s&&s.addClass(r)});var c=this.get("slides");if(c.size()){var d=c.item(i.prevVal);this.setVideoState(d)}o.Lang.isValue(this.initialAutoplay)&&this.set("autoplay",this.initialAutoplay)}),"index-change")},_onCurrentIndexChange:function(t){var r=null,i="",c=this.get("slides");c.size()&&(r=c.item(t.newVal)),r&&(i=r.getAttribute("data-slide-id"),o.config.win.Modernizr&&o.config.win.Modernizr.history&&(i=r.getAttribute("data-slide-url")||i));var d="",u=this.get("container");u&&(d=u.getAttribute("data-collection-full-url")),d||(d=o.config.win.Static.SQUARESPACE_CONTEXT.collection.fullUrl),d.length>1&&!d.endsWith("/")&&(d=d+"/"),this._history.replaceValue("itemId",i,{url:d+i})},_setupHistory:function(){if(!o.config.win.Static.IN_BACKEND&&this.get("historyHash")){this._history=new o.History,this.on("currentIndexChange",this._onCurrentIndexChange,this);var t=this.get("slides");if(t){var r=new o.HistoryHash,i=r.get("itemId")||r._initialState.itemId;i&&(this._history.replaceValue("itemId",null),t.some(function(c,d){if(c.getAttribute("data-slide-id")===i||c.getAttribute("data-slide-url")===i)return this.set("currentIndex",d),!0},this))}}},_currentSlide:function(){return this.getCurrentSlide()},getCurrentSlide:function(){var t=this.get("currentIndex");if(!o.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 o.NodeList},_imagesByType:function(t){return this._imagesByMedia[t]||(this._imagesByMedia[t]=new o.NodeList,this._slidesByType(t).each(function(r){var i=r.test("img")?r:r.one("img[data-src]");i&&this._imagesByMedia[t].push(i)},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 o.Lang.isString(t)&&(t=o.one(t)),t},_getDesign:function(t){var r=o.SQS.Gallery.Designs[t];if(!r&&o.Squarespace&&o.Squarespace.GalleryDesigns2&&(r=o.Squarespace.GalleryDesigns2[t]),!r)throw new Error("These are not the gallery designs y
7ou 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 o.NodeList||(t[r]=o.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 i=this._wrapperEl||this.get("container");if(!i||!i.getDOMNode())return new o.NodeList;var c;r?o.Lang.isString(r)?c=i.all(r):c=r:c=i.get("children");var d=c.filter(function(s){return s.tagName!=="NOSCRIPT"});return d},_getWrapper:function(t){return o.Lang.isString(t)&&(t=o.one(t)),t},_sanitizeCurrentIndex:function(t){if(!o.Lang.isNumber(t)||!t)return 0;var r=this.get("numberOfSlides");return!o.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;r<this.get("linkedGalleries").length;r++){var i=this.get("linkedGalleries")[r];if(i.get("inMotion")&&t!==i.get("currentIndex"))return!1}return!0},plugLoaders:function(){var t={};this.get("lazyLoad")&&(t.load="viewport",o.SQS.Gallery.Manager.addImageQueue(this.getImages())),this.get("useBgImage")&&(t.useBgImage=!0),t=o.merge(t,this.get("loaderOptions"));var r=this.getVideoLoader();r?this.getSlides("video").each(function(c){var d=c.one(".sqs-video-wrapper");d.plug(r,o.merge(this.get("videoLoaderOptions"),{mode:this.get("loaderOptions.mode")})),d.videoloader.after("showingVideoChange",function(u){o.Lang.isValue(this.initialAutoplay)||(this.initialAutoplay=this.get("autoplay")),this.set("autoplay",u.newVal?!1:this.initialAutoplay)},this)},this):console.error("VideoLoader not found");var i=this.getImageLoader();i?this.getImages().each(function(c){c.plug(i,t),this._event(c.once("load",function(){this._safari5HeightFix(c),this.fire("image-loaded")},this))},this):console.error("Loader2 not found")},getImageLoader:function(){return o.Squarespace&&o.Squarespace.Loader2?o.Squarespace.Loader2:o.SQS.LEMobile&&o.SQS.LEMobile.Copies&&o.SQS.LEMobile.Copies.Loader2?o.SQS.LEMobile.Copies.Loader2:null},getVideoLoader:function(){return o.Squarespace&&o.Squarespace.VideoLoader?o.Squarespace.VideoLoader:o.SQS.LEMobile&&o.SQS.LEMobile.Copies&&o.SQS.LEMobile.Copies.VideoLoader?o.SQS.LEMobile.Copies.VideoLoader:null},_safari5HeightFix:function(t){if(this.get("design")===o.SQS.Gallery.Designs.strip&&o.UA.webkit>0&&o.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"]})},473095:function(y){y.exports=function(l,e,a,n){return l/=n/2,l<1?a/2*l*l*l+e:(l-=2,a/2*(l*l*l+2)+e)}},817054:function(y){y.exports=function(l,e){for(;l;){var a=l.getData(e);if(a)return a;l=l.ancestor()}}},591198:function(y,l,e){var a=e(473095);YUI.add("@sqs/yui-gallery/gismo",function(n){n.namespace("SQS.Gallery");var o=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||[]}
7,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,i){return i=n.merge({node:t,duration:.5,easing:a,to:r},i),t.activeAnim&&t.activeAnim.stop(!0),t.activeAnim=new o(i),t.activeAnim.on("end",function(){delete t.activeAnim},t),i.end&&t.activeAnim.on("end",i.end),i.start&&t.activeAnim.on("start",i.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"]})},243977:function(y){y.exports=function(e,a){var n=Y.Node.getDOMNode(e).getBoundingClientRect(),o=Y.Node.getDOMNode(a).getBoundingClientRect();return n.x+n.width<=o.x||n.x>=o.x+o.width}},145191: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 l=this.get("host"),e=l.getImages();if(l.get("lazyLoad")){var a=l.get("currentIndex")-this.get("preloadCount"),n=l.get("currentIndex")+this.get("preloadCount"),o=new y.NodeList;l.get("loop")?n=n%l.get("slides").size():(a=Math.max(0,a),n=Math.min(l.get("slides").size()-1,n)),a>=0&&a<=n?o=e.slice(a,n+1):(o=o.concat(e.slice(a)),o=o.concat(e.slice(0,n+1))),l.loadImages(o)}else l.loadImages(e)}})},"1.0",{requires:["base","node"]})},156049: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(l){return l.getStyle("overflowY").match(/scroll|auto/)&&l.get("scrollHeight")>l.get("clientHeight")}),(!this.scrollEl||this.scrollEl.test("html,body"))&&(this.scrollEl=y.one(y.config.win))),this.scrollEl},loadItems:function(){var l=this.get("host"),e=l.getImages();l.get("lazyLoad")?(this.imageRegions=[],this.scrollRegion=this._getScrollEl().get("region"),e.each(function(a){this.imageRegions.push(a.get("region"))},this),this._viewportLoad()):l.loadImages(e)},_viewportLoad:function(){var l=0,e=this._getScrollEl();e&&(l=e.get("scrollTop"));var a=l+this.scrollRegion.height,n=new y.NodeList;this.get("host").getImages().each(function(o,t){var r=this.imageRegions[t];(r.top>=l&&r.top<=a||r.bottom>=l&&r.bottom<=a)&&n.push(o)},this),this.get("host").loadImages(n)}})},"1.0",{requires:["base","node"]})},989096: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"]}
7)},782747:function(y){y.exports=function(l){switch(l){case"left":return"start";case"center":return"middle";case"right":return"end";default:return"middle"}}},336412:function(){YUI.add("@sqs/yui-gallery/rendering",function(y){y.namespace("SQS.Gallery"),y.SQS.Gallery.Rendering={getWidthForHeight:function(l,e,a){return l/e*a},getHeightForWidth:function(l,e,a){return e/l*a},getDimensionsFromNode:function(l){var e=l.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"]})},894743: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(l){var e=l.newVal?"resize:start":"resize:end";this.fire(e)},_getWindowDiff:function(l){var e=y.config.win["inner"+l.capitalize()],a=this.get(l);return Math.abs(e-a)},_requiresSizeCalculating:function(){return this.get("threshold")>0||y.Lang.isValue(this.get("axis"))},_canEmitResizeEvent:function(){var l,e,a=this.get("axis"),n=this.get("threshold");return y.Lang.isValue(a)?(e=a===this.constructor.AXES.X?"width":"height",l=this._getWindowDiff(e)>n):l=this._getWindowDiff("width")>n||this._getWindowDiff("height")>n,l},_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(l){return y.Object.values(this.constructor.AXES).includes(l)}},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"]})},191429:function(){YUI.add("@sqs/yui-gallery/touch-event-listener",function(y){function l(e,a){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,a),this.swipeThreshold=50,this.swipeTimeThreshold=250,this.touchStartPoint={x:0,y:0},this.touchEndPoint={x:0,y:0},this.addEventHandlers()}l.Types={onTouch:"onTouch"},l.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"},l.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)},l.prototype.removeEventHandlers=function(){this.el.detachAll()},l.prototype.getTouchPoint=function(e){return{x:e[0].pageX,y:e[0].pageY}},l.prototype.fireTouchEvent=function(e){var a=0,n=0,o=0,t,r;if(a=this.touchEndPoint.x-this.touchStartPoint.x,n=this.touchEndPoint.y-this.touchStartPoint.y,o=Math.sqrt(a*a+n*n),this.captureSettings.swipe&&(t=new Date,r=t-this.touchStartTime,r<=this.swipeTimeThreshold)){if(window.Math.abs(a)>=this.swipeThreshold){y.fire("squarespace:ontouch",{type:y.SQS.Gallery.TouchEventListener.Types.onTouch,target:this,point:this.touchEndPoint,action:a<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}}o>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})},l.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})},l.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})},l.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})},l.prototype.onTouchStart=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var a=e,n=a.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})},l.prototype.onTouchMove=function(e){this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var a=e,n=a.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})},l.prototype.onTouchEnd=function(e){if(this.isGesture&&this.captureSettings.gesture){this.isGesture=!1;return}this.captureSettings.preventDefaultTouchEvents&&e.preventDefault();var a=e,n=a.changedTouches?a.changedTouches:a.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=l},"1.0",{requires:[]})},165118:function(y,l,e){"use strict";var a=e(139e3);/*!
8 * The buffer module from node.js, for the browser.
9 *
10 * @author   Feross Aboukhadijeh <[email protected]> <http://feross.org>
11 * @license  MIT
12 */function n(G,J){if(G===J)return 0;for(var ie=G.length,W=J.length,q=0,H=Math.min(ie,W);q<H;++q)if(G[q]!==J[q]){ie=G[q],W=J[q];break}return ie<W?-1:W<ie?1:0}function o(G){return e.g.Buffer&&typeof e.g.Buffer.isBuffer=="function"?e.g.Buffer.isBuffer(G):!!(G!=null&&G._isBuffer)}var t=e(962601),r=Object.prototype.hasOwnProperty,i=Array.prototype.slice,c=function(){return function(){}.name==="foo"}();function d(G){return Object.prototype.toString.call(G)}function u(G){return o(G)||typeof e.g.ArrayBuffer!="function"?!1:typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(G):G?!!(G instanceof DataView||G.buffer&&G.buffer instanceof ArrayBuffer):!1}
vendor: 1,082 bytes, line 12
12var s=y.exports=C,f=/\s*function\s+([^\(\s]*)\s*/;function p(G){if(t.isFunction(G)){if(c)return G.name;var J=G.toString(),ie=J.match(f);return ie&&ie[1]}}s.AssertionError=function(J){this.name="AssertionError",this.actual=J.actual,this.expected=J.expected,this.operator=J.operator,J.message?(this.message=J.message,this.generatedMessage=!1):(this.message=m(this),this.generatedMessage=!0);var ie=J.stackStartFunction||b;if(Error.captureStackTrace)Error.captureStackTrace(this,ie);else{var W=new Error;if(W.stack){var q=W.stack,H=p(ie),X=q.indexOf("\n"+H);if(X>=0){var k=q.indexOf("\n",X+1);q=q.substring(k+1)}this.stack=q}}},t.inherits(s.AssertionError,Error);function v(G,J){return typeof G=="string"?G.length<J?G:G.slice(0,J):G}function g(G){if(c||!t.isFunction(G))return t.inspect(G);var J=p(G),ie=J?": "+J:"";return"[Function"+ie+"]"}function m(G){return v(g(G.actual),128)+" "+G.operator+" "+v(g(G.expected),128)}function b(G,J,ie,W,q){throw new s.AssertionError({message:ie,actual:G,expected:J,operator:W,stackStartFunction:q})}s.fail=b;function C(G,J){G||b(G,!0,J,"==",s.ok)}
12s.ok=C,s.equal=function(J,ie,W){J!=ie&&b(J,ie,W,"==",s.equal)},s.notEqual=function(J,ie,W){J==ie&&b(J,ie,W,"!=",s.notEqual)},s.deepEqual=function(J,ie,W){A(J,ie,!1)||b(J,ie,W,"deepEqual",s.deepEqual)},s.deepStrictEqual=function(J,ie,W){A(J,ie,!0)||b(J,ie,W,"deepStrictEqual",s.deepStrictEqual)};function A(G,J,ie,W){if(G===J)return!0;if(o(G)&&o(J))return n(G,J)===0;if(t.isDate(G)&&t.isDate(J))return G.getTime()===J.getTime();if(t.isRegExp(G)&&t.isRegExp(J))return G.source===J.source&&G.global===J.global&&G.multiline===J.multiline&&G.lastIndex===J.lastIndex&&G.ignoreCase===J.ignoreCase;if((G===null||typeof G!="object")&&(J===null||typeof J!="object"))return ie?G===J:G==J;if(u(G)&&u(J)&&d(G)===d(J)&&!(G instanceof Float32Array||G instanceof Float64Array))return n(new Uint8Array(G.buffer),new Uint8Array(J.buffer))===0;if(o(G)!==o(J))return!1;W=W||{actual:[],expected:[]};var q=W.actual.indexOf(G);return q!==-1&&q===W.expected.indexOf(J)?!0:(W.actual.push(G),W.expected.push(J),P(G,J,ie,W))}function _(G){return Object.prototype.toString.call(G)=="[object Arguments]"}function P(G,J,ie,W){if(G==null||J===null||J===void 0)return!1;if(t.isPrimitive(G)||t.isPrimitive(J))return G===J;if(ie&&Object.getPrototypeOf(G)!==Object.getPrototypeOf(J))return!1;var q=_(G),H=_(J);if(q&&!H||!q&&H)return!1;if(q)return G=i.call(G),J=i.call(J),A(G,J,ie);var X=$(G),k=$(J),ne,re;if(X.length!==k.length)return!1;for(X.sort(),k.sort(),re=X.length-1;re>=0;re--)if(X[re]!==k[re])return!1;for(re=X.length-1;re>=0;re--)if(ne=X[re],!A(G[ne],J[ne],ie,W))return!1;return!0}s.notDeepEqual=function(J,ie,W){A(J,ie,!1)&&b(J,ie,W,"notDeepEqual",s.notDeepEqual)},s.notDeepStrictEqual=T;function T(G,J,ie){A(G,J,!0)&&b(G,J,ie,"notDeepStrictEqual",T)}s.strictEqual=function(J,ie,W){J!==ie&&b(J,ie,W,"===",s.strictEqual)},s.notStrictEqual=function(J,ie,W){J===ie&&b(J,ie,W,"!==",s.notStrictEqual)};function x(G,J){if(!G||!J)return!1;if(Object.prototype.toString.call(J)=="[object RegExp]")return J.test(G);try{if(G instanceof J)return!0}catch(ie){}return Error.isPrototypeOf(J)?!1:J.call({},G)===!0}function M(G){var J;try{G()}catch(ie){J=ie}return J}function U(G,J,ie,W){var q;if(typeof J!="function")throw new TypeError('"block" argument must be a function');typeof ie=="string"&&(W=ie,ie=null),q=M(J),W=(ie&&ie.name?" ("+ie.name+").":".")+(W?" "+W:"."),G&&!q&&b(q,ie,"Missing expected exception"+W);var H=typeof W=="string",X=!G&&t.isError(q),k=!G&&q&&!ie;if((X&&H&&x(q,ie)||k)&&b(q,ie,"Got unwanted exception"+W),G&&q&&ie&&!x(q,ie)||!G&&q)throw q}s.throws=function(G,J,ie){U(!0,G,J,ie)},s.doesNotThrow=function(G,J,ie){U(!1,G,J,ie)},s.ifError=function(G){if(G)throw G};function j(G,J){G||b(G,!0,J,"==",j)}s.strict=a(j,s,{equal:s.strictEqual,deepEqual:s.deepStrictEqual,notEqual:s.notStrictEqual,notDeepEqual:s.notDeepStrictEqual}),s.strict.strict=s.strict;var $=Object.keys||function(G){var J=[];for(var ie in G)r.call(G,ie)&&J.push(ie);return J}},856066:function(y,l,e){y.exports={default:e(122143),__esModule:!0}},997072:function(y,l,e){y.exports={default:e(391843),__esModule:!0}},551269:function(y,l,e){y.exports={default:e(383190),__esModule:!0}},823528:function(y,l,e){y.exports={default:e(559948),__esModule:!0}},402761:function(y,l,e){y.exports={default:e(605486),__esModule:!0}},922125:function(y,l,e){y.exports={default:e(327877),__esModule:!0}},9795:function(y,l){"use strict";l.__esModule=!0,l.default=function(e,a){if(!(e instanceof a))throw new TypeError("Cannot call a class as a function")}},369025:function(y,l,e){"use strict";l.__esModule=!0;var a=e(823528),n=o(a);function o(t){return t&&t.__esModule?t:{default:t}}l.default=function(){function t(r,i){for(var c=0;c<i.length;c++){var d=i[c];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),(0,n.default)(r,d.key,d)}}return function(r,i,c){return i&&t(r.prototype,i),c&&t(r,c),r}}()},328276:function(y,l,e){"use strict";l.__esModule=!0;var a=e(997072),n=r(a),o=e(856066),t=r(o);function r(i){return i&&i.__esModule?i:{default:i}}l.default=function(){function i(c,d){var u=[],s=!0,f=!1,p=void 0;try{for(var v=(0,t.default)(c),g;
vendor: 10,230 bytes, line 12
12!(s=(g=v.next()).done)&&(u.push(g.value),!(d&&u.length===d));s=!0);}catch(m){f=!0,p=m}finally{try{!s&&v.return&&v.return()}finally{if(f)throw p}}return u}return function(c,d){if(Array.isArray(c))return c;if((0,n.default)(Object(c)))return i(c,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}()},249703:function(y,l,e){var a=e(121659),n={};for(var o in a)a.hasOwnProperty(o)&&(n[a[o]]=o);var t=y.exports={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};for(var r in t)if(t.hasOwnProperty(r)){if(!("channels"in t[r]))throw new Error("missing channels property: "+r);if(!("labels"in t[r]))throw new Error("missing channel labels property: "+r);if(t[r].labels.length!==t[r].channels)throw new Error("channel and label counts mismatch: "+r);var i=t[r].channels,c=t[r].labels;delete t[r].channels,delete t[r].labels,Object.defineProperty(t[r],"channels",{value:i}),Object.defineProperty(t[r],"labels",{value:c})}t.rgb.hsl=function(u){var s=u[0]/255,f=u[1]/255,p=u[2]/255,v=Math.min(s,f,p),g=Math.max(s,f,p),m=g-v,b,C,A;return g===v?b=0:s===g?b=(f-p)/m:f===g?b=2+(p-s)/m:p===g&&(b=4+(s-f)/m),b=Math.min(b*60,360),b<0&&(b+=360),A=(v+g)/2,g===v?C=0:A<=.5?C=m/(g+v):C=m/(2-g-v),[b,C*100,A*100]},t.rgb.hsv=function(u){var s,f,p,v,g,m=u[0]/255,b=u[1]/255,C=u[2]/255,A=Math.max(m,b,C),_=A-Math.min(m,b,C),P=function(T){return(A-T)/6/_+1/2};return _===0?v=g=0:(g=_/A,s=P(m),f=P(b),p=P(C),m===A?v=p-f:b===A?v=1/3+s-p:C===A&&(v=2/3+f-s),v<0?v+=1:v>1&&(v-=1)),[v*360,g*100,A*100]},t.rgb.hwb=function(u){var s=u[0],f=u[1],p=u[2],v=t.rgb.hsl(u)[0],g=1/255*Math.min(s,Math.min(f,p));return p=1-1/255*Math.max(s,Math.max(f,p)),[v,g*100,p*100]},t.rgb.cmyk=function(u){var s=u[0]/255,f=u[1]/255,p=u[2]/255,v,g,m,b;return b=Math.min(1-s,1-f,1-p),v=(1-s-b)/(1-b)||0,g=(1-f-b)/(1-b)||0,m=(1-p-b)/(1-b)||0,[v*100,g*100,m*100,b*100]};function d(u,s){return Math.pow(u[0]-s[0],2)+Math.pow(u[1]-s[1],2)+Math.pow(u[2]-s[2],2)}t.rgb.keyword=function(u){var s=n[u];if(s)return s;var f=1/0,p;for(var v in a)if(a.hasOwnProperty(v)){var g=a[v],m=d(u,g);m<f&&(f=m,p=v)}return p},t.keyword.rgb=function(u){return a[u]},t.rgb.xyz=function(u){var s=u[0]/255,f=u[1]/255,p=u[2]/255;s=s>.04045?Math.pow((s+.055)/1.055,2.4):s/12.92,f=f>.04045?Math.pow((f+.055)/1.055,2.4):f/12.92,p=p>.04045?Math.pow((p+.055)/1.055,2.4):p/12.92;var v=s*.4124+f*.3576+p*.1805,g=s*.2126+f*.7152+p*.0722,m=s*.0193+f*.1192+p*.9505;return[v*100,g*100,m*100]},t.rgb.lab=function(u){var s=t.rgb.xyz(u),f=s[0],p=s[1],v=s[2],g,m,b;return f/=95.047,p/=100,v/=108.883,f=f>.008856?Math.pow(f,1/3):7.787*f+16/116,p=p>.008856?Math.pow(p,1/3):7.787*p+16/116,v=v>.008856?Math.pow(v,1/3):7.787*v+16/116,g=116*p-16,m=500*(f-p),b=200*(p-v),[g,m,b]},t.hsl.rgb=function(u){var s=u[0]/360,f=u[1]/100,p=u[2]/100,v,g,m,b,C;if(f===0)return C=p*255,[C,C,C];p<.5?g=p*(1+f):g=p+f-p*f,v=2*p-g,b=[0,0,0];for(var A=0;A<3;A++)m=s+1/3*-(A-1),m<0&&m++,m>1&&m--,6*m<1?C=v+(g-v)*6*m:2*m<1?C=g:3*m<2?C=v+(g-v)*(2/3-m)*6:C=v,b[A]=C*255;return b},t.hsl.hsv=function(u){var s=u[0],f=u[1]/100,p=u[2]/100,v=f,g=Math.max(p,.01),m,b;return p*=2,f*=p<=1?p:2-p,v*=g<=1?g:2-g,b=(p+f)/2,m=p===0?2*v/(g+v):2*f/(p+f),[s,m*100,b*100]},t.hsv.rgb=function(u){var s=u[0]/60,f=u[1]/100,p=u[2]/100,v=Math.floor(s)%6,g=s-Math.floor(s),m=255*p*(1-f),b=255*p*(1-f*g),C=255*p*(1-f*(1-g));switch(p*=255,v){case 0:return[p,C,m];case 1:return[b,p,m];case 2:return[m,p,C];case 3:return[m,b,p];case 4:return[C,m,p];case 5:return[p,m,b]}},t.hsv.hsl=function(u){var s=u[0],f=u[1]/100,p=u[2]/100,v=Math.max(p,.01),g,m,b;return b=(2-f)*p,g=(2-f)*v,m=f*v,m/=g<=1?g:2-g,m=m||0,b/=2,[s,m*100,b*100]},t.hwb.rgb=function(u){var s=u[0]/360,f=u[1]/100,p=u[2]/100,v=f+p,g,m,b,C;v>1&&(f/=v,p/=v),g=Math.floor(6*s),m=1-p,b=6*s-g,g&1&&(b=1-b),C=f+b*(m-f);var A,_,P;switch(g){default:case 6:case 0:A=m,_=C,P=f;break;case 1:A=C,_=m,P=f;break;case 2:A=f,_=m,P=C;break;case 3:A=f,_=C,P=m;break;case 4:A=C,_=f,P=m;break;case 5:A=m,_=f,P=C;break}return[A*255,_*255,P*255]},t.cmyk.rgb=function(u){var s=u[0]/100,f=u[1]/100,p=u[2]/100,v=u[3]/100,g,m,b;return g=1-Math.min(1,s*(1-v)+v),m=1-Math.min(1,f*(1-v)+v),b=1-Math.min(1,p*(1-v)+v),[g*255,m*255,b*255]},t.xyz.rgb=function(u){var s=u[0]/100,f=u[1]/100,p=u[2]/100,v,g,m;return v=s*3.2406+f*-1.5372+p*-.4986,g=s*-.9689+f*1.8758+p*.0415,m=s*.0557+f*-.204+p*1.057,v=v>.0031308?1.055*Math.pow(v,1/2.4)-.055:v*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,v=Math.min(Math.max(0,v),1),g=Math.min(Math.max(0,g),1),m=Math.min(Math.max(0,m),1),[v*255,g*255,m*255]},t.xyz.lab=function(u){var s=u[0],f=u[1],p=u[2],v,g,m;return s/=95.047,f/=100,p/=108.883,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,f=f>.008856?Math.pow(f,1/3):7.787*f+16/116,p=p>.008856?Math.pow(p,1/3):7.787*p+16/116,v=116*f-16,g=500*(s-f),m=200*(f-p),[v,g,m]},t.lab.xyz=function(u){var s=u[0],f=u[1],p=u[2],v,g,m;g=(s+16)/116,v=f/500+g,m=g-p/200;var b=Math.pow(g,3),C=Math.pow(v,3),A=Math.pow(m,3);return g=b>.008856?b:(g-16/116)/7.787,v=C>.008856?C:(v-16/116)/7.787,m=A>.008856?A:(m-16/116)/7.787,v*=95.047,g*=100,m*=108.883,[v,g,m]},t.lab.lch=function(u){var s=u[0],f=u[1],p=u[2],v,g,m;return v=Math.atan2(p,f),g=v*360/2/Math.PI,g<0&&(g+=360),m=Math.sqrt(f*f+p*p),[s,m,g]},t.lch.lab=function(u){var s=u[0],f=u[1],p=u[2],v,g,m;return m=p/360*2*Math.PI,v=f*Math.cos(m),g=f*Math.sin(m),[s,v,g]},t.rgb.ansi16=function(u){var s=u[0],f=u[1],p=u[2],v=1 in arguments?arguments[1]:t.rgb.hsv(u)[2];if(v=Math.round(v/50),v===0)return 30;var g=30+(Math.round(p/255)<<2|Math.round(f/255)<<1|Math.round(s/255));return v===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 s=u[0],f=u[1],p=u[2];if(s===f&&f===p)return s<8?16:s>248?231:Math.round((s-8)/247*24)+232;var v=16+36*Math.round(s/255*5)+6*Math.round(f/255*5)+Math.round(p/255*5);return v},t.ansi16.rgb=function(u){var s=u%10;if(s===0||s===7)return u>50&&(s+=3.5),s=s/10.5*255,[s,s,s];var f=(~~(u>50)+1)*.5,p=(s&1)*f*255,v=(s>>1&1)*f*255,g=(s>>2&1)*f*255;return[p,v,g]},t.ansi256.rgb=function(u){if(u>=232){var s=(u-232)*10+8;return[s,s,s]}u-=16;var f,p=Math.floor(u/36)/5*255,v=Math.floor((f=u%36)/6)/5*255,g=f%6/5*255;return[p,v,g]},t.rgb.hex=function(u){var s=((Math.round(u[0])&255)<<16)+((Math.round(u[1])&255)<<8)+(Math.round(u[2])&255),f=s.toString(16).toUpperCase();return"000000".substring(f.length)+f},t.hex.rgb=function(u){var s=u.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!s)return[0,0,0];var f=s[0];s[0].length===3&&(f=f.split("").map(function(b){return b+b}).join(""));var p=parseInt(f,16),v=p>>16&255,g=p>>8&255,m=p&255;return[v,g,m]},t.rgb.hcg=function(u){var s=u[0]/255,f=u[1]/255,p=u[2]/255,v=Math.max(Math.max(s,f),p),g=Math.min(Math.min(s,f),p),m=v-g,b,C;return m<1?b=g/(1-m):b=0,m<=0?C=0:v===s?C=(f-p)/m%6:v===f?C=2+(p-s)/m:C=4+(s-f)/m+4,C/=6,C%=1,[C*360,m*100,b*100]},t.hsl.hcg=function(u){var s=u[1]/100,f=u[2]/100,p=1,v=0;return f<.5?p=2*s*f:p=2*s*(1-f),p<1&&(v=(f-.5*p)/(1-p)),[u[0],p*100,v*100]},t.hsv.hcg=function(u){var s=u[1]/100,f=u[2]/100,p=s*f,v=0;return p<1&&(v=(f-p)/(1-p)),[u[0],p*100,v*100]},t.hcg.rgb=function(u){var s=u[0]/360,f=u[1]/100,p=u[2]/100;if(f===0)return[p*255,p*255,p*255];var v=[0,0,0],g=s%1*6,m=g%1,b=1-m,C=0;switch(Math.floor(g)){case 0:v[0]=1,v[1]=m,v[2]=0;break;case 1:v[0]=b,v[1]=1,v[2]=0;break;case 2:v[0]=0,v[1]=1,v[2]=m;break;case 3:v[0]=0,v[1]=b,v[2]=1;break;case 4:v[0]=m,v[1]=0,v[2]=1;break;default:v[0]=1,v[1]=0,v[2]=b}return C=(1-f)*p,[(f*v[0]+C)*255,(f*v[1]+C)*255,(f*v[2]+C)*255]},t.hcg.hsv=function(u){var s=u[1]/100,f=u[2]/100,p=s+f*(1-s),v=0;return p>0&&(v=s/p),[u[0],v*100,p*100]},t.hcg.hsl=function(u){var s=u[1]/100,f=u[2]/100,p=f*(1-s)+.5*s,v=0;return p>0&&p<.5?v=s/(2*p):p>=.5&&p<1&&(v=s/(2*(1-p))),[u[0],v*100,p*100]},t.hcg.hwb=function(u){var s=u[1]/100,f=u[2]/100,p=s+f*(1-s);return[u[0],(p-s)*100,(1-p)*100]},t.hwb.hcg=function(u){var s=u[1]/100,f=u[2]/100,p=1-f,v=p-s,g=0;return v<1&&(g=(p-v)/(1-v)),[u[0],v*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 s=Math.round(u[0]/100*255)&255,f=(s<<16)+(s<<8)+s,p=f.toString(16).toUpperCase();return"000000".substring(p.length)+p},t.rgb.gray=function(u){var s=(u[0]+u[1]+u[2])/3;return[s/255*100]}},413238:function(y,l,e){var a=e(249703),n=e(406395),o={},t=Object.keys(a);function r(c){var d=function(u){return u==null?u:(arguments.length>1&&(u=Array.prototype.slice.call(arguments)),c(u))};return"conversion"in c&&(d.conversion=c.conversion),d}function i(c){var d=function(u){if(u==null)return u;arguments.length>1&&(u=Array.prototype.slice.call(arguments));var s=c(u);if(typeof s=="object")for(var f=s.length,p=0;p<f;p++)s[p]=Math.round(s[p]);return s};return"conversion"in c&&(d.conversion=c.conversion),d}t.forEach(function(c){o[c]={},Object.defineProperty(o[c],"channels",{value:a[c].channels}),Object.defineProperty(o[c],"labels",{value:a[c].labels});var d=n(c),u=Object.keys(d);u.forEach(function(s){var f=d[s];o[c][s]=i(f),o[c][s].raw=r(f)})}),y.exports=o},406395:function(y,l,e){var a=e(249703);function n(){for(var i={},c=Object.keys(a),d=c.length,u=0;u<d;u++)i[c[u]]={distance:-1,parent:null};return i}function o(i){var c=n(),d=[i];for(c[i].distance=0;d.length;)for(var u=d.pop(),s=Object.keys(a[u]),f=s.length,p=0;p<f;p++){var v=s[p],g=c[v];g.distance===-1&&(g.distance=c[u].distance+1,g.parent=u,d.unshift(v))}return c}function t(i,c){return function(d){return c(i(d))}}
12function r(i,c){for(var d=[c[i].parent,i],u=a[c[i].parent][i],s=c[i].parent;c[s].parent;)d.unshift(c[s].parent),u=t(a[c[s].parent][s],u),s=c[s].parent;return u.conversion=d,u}y.exports=function(i){for(var c=o(i),d={},u=Object.keys(c),s=u.length,f=0;f<s;f++){var p=u[f],v=c[p];v.parent!==null&&(d[p]=r(p,c))}return d}},121659:function(y){"use strict";y.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},791484:function(y){"use strict";y.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],ol
12ive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},122143:function(y,l,e){e(506869),e(537323),y.exports=e(811850)},391843:function(y,l,e){e(506869),e(537323),y.exports=e(67222)},383190:function(y,l,e){e(472557),y.exports=e(880535).Object.assign},559948:function(y,l,e){e(761872);var a=e(880535).Object;y.exports=function(o,t,r){return a.defineProperty(o,t,r)}},605486:function(y,l,e){e(434719),y.exports=e(880535).Object.entries},327877:function(y,l,e){e(431700),e(537323),e(506869),e(213202),e(968329),e(182827),y.exports=e(880535).Promise},448423:function(y){y.exports=function(l){if(typeof l!="function")throw TypeError(l+" is not a function!");return l}},705618:function(y){y.exports=function(){}},640142:function(y){y.exports=function(l,e,a,n){if(!(l instanceof e)||n!==void 0&&n in l)throw TypeError(a+": incorrect invocation!");return l}},359258:function(y,l,e){var a=e(671318);y.exports=function(n){if(!a(n))throw TypeError(n+" is not an object!");return n}},143046:function(y,l,e){var a=e(500648),n=e(717915),o=e(707223);y.exports=function(t){return function(r,i,c){var d=a(r),u=n(d.length),s=o(c,u),f;if(t&&i!=i){for(;u>s;)if(f=d[s++],f!=f)return!0}else for(;u>s;s++)if((t||s in d)&&d[s]===i)return t||s||0;return!t&&-1}}},728099:function(y,l,e){var a=e(427259),n=e(501932)("toStringTag"),o=a(function(){return arguments}())=="Arguments",t=function(r,i){try{return r[i]}catch(c){}};y.exports=function(r){var i,c,d;return r===void 0?"Undefined":r===null?"Null":typeof(c=t(i=Object(r),n))=="string"?c:o?a(i):(d=a(i))=="Object"&&typeof i.callee=="function"?"Arguments":d}},427259:function(y){var l={}.toString;y.exports=function(e){return l.call(e).slice(8,-1)}},880535:function(y){var l=y.exports={version:"2.6.12"};typeof __e=="number"&&(__e=l)},57620:function(y,l,e){var a=e(448423);y.exports=function(n,o,t){if(a(n),o===void 0)return n;switch(t){case 1:return function(r){return n.call(o,r)};case 2:return function(r,i){return n.call(o,r,i)};case 3:return function(r,i,c){return n.call(o,r,i,c)}}return function(){return n.apply(o,arguments)}}},632926:function(y){y.exports=function(l){if(l==null)throw TypeError("Can't call method on  "+l);return l}},445157:function(y,l,e){y.exports=!e(808412)(function(){return Object.defineProperty({},"a",{get:function(){return 7}}).a!=7})},346866:function(y,l,e){var a=e(671318),n=e(400018).document,o=a(n)&&a(n.createElement);y.exports=function(t){return o?n.createElement(t):{}}},264656:function(y){y.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},26210:function(y,l,e){var a=e(400018),n=e(880535),o=e(57620),t=e(653776),r=e(302134),i="prototype",c=function(d,u,s){var f=d&c.F,p=d&c.G,v=d&c.S,g=d&c.P,m=d&c.B,b=d&c.W,C=p?n:n[u]||(n[u]={}),A=C[i],_=p?a:v?a[u]:(a[u]||{})[i],P,T,x;p&&(s=u);for(P in s)T=!f&&_&&_[P]!==void 0,!(T&&r(C,P))&&(x=T?_[P]:s[P],C[P]=p&&typeof _[P]!="function"?s[P]:m&&T?o(x,a):b&&_[P]==x?function(M){var U=function(j,$,G){if(this instanceof M){switch(arguments.length){case 0:return new M;case 1:return new M(j);case 2:return new M(j,$)}return new M(j,$,G)}return M.apply(this,arguments)};return U[i]=M[i],U}(x):g&&typeof x=="function"?o(Function.call,x):x,g&&((C.virtual||(C.virtual={}))[P]=x,d&c.R&&A&&!A[P]&&t(A,P,x)))};c.F=1,c.G=2,c.S=4,c.P=8,c.B=16,c.W=32,c.U=64,c.R=128,y.exports=c},808412:function(y){y.exports=function(l){try{return!!l()}catch(e){return!0}}},99481:function(y,l,e){var a=e(57620),n=e(234001),o=e(204436),t=e(359258),r=e(717915),i=e(740195),c={},d={},u=y.exports=function(s,f,p,v,g){var m=g?function(){return s}
12:i(s),b=a(p,v,f?2:1),C=0,A,_,P,T;if(typeof m!="function")throw TypeError(s+" is not iterable!");if(o(m)){for(A=r(s.length);A>C;C++)if(T=f?b(t(_=s[C])[0],_[1]):b(s[C]),T===c||T===d)return T}else for(P=m.call(s);!(_=P.next()).done;)if(T=n(P,b,_.value,f),T===c||T===d)return T};u.BREAK=c,u.RETURN=d},400018:function(y){var l=y.exports=typeof window!="undefined"&&window.Math==Math?window:typeof self!="undefined"&&self.Math==Math?self:Function("return this")();typeof __g=="number"&&(__g=l)},302134:function(y){var l={}.hasOwnProperty;y.exports=function(e,a){return l.call(e,a)}},653776:function(y,l,e){var a=e(232103),n=e(854074);y.exports=e(445157)?function(o,t,r){return a.f(o,t,n(1,r))}:function(o,t,r){return o[t]=r,o}},398421:function(y,l,e){var a=e(400018).document;y.exports=a&&a.documentElement},569247:function(y,l,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(l,e,a){var n=a===void 0;switch(e.length){case 0:return n?l():l.call(a);case 1:return n?l(e[0]):l.call(a,e[0]);case 2:return n?l(e[0],e[1]):l.call(a,e[0],e[1]);case 3:return n?l(e[0],e[1],e[2]):l.call(a,e[0],e[1],e[2]);case 4:return n?l(e[0],e[1],e[2],e[3]):l.call(a,e[0],e[1],e[2],e[3])}return l.apply(a,e)}},613171:function(y,l,e){var a=e(427259);y.exports=Object("z").propertyIsEnumerable(0)?Object:function(n){return a(n)=="String"?n.split(""):Object(n)}},204436:function(y,l,e){var a=e(425264),n=e(501932)("iterator"),o=Array.prototype;y.exports=function(t){return t!==void 0&&(a.Array===t||o[n]===t)}},671318:function(y){y.exports=function(l){return typeof l=="object"?l!==null:typeof l=="function"}},234001:function(y,l,e){var a=e(359258);y.exports=function(n,o,t,r){try{return r?o(a(t)[0],t[1]):o(t)}catch(c){var i=n.return;throw i!==void 0&&a(i.call(n)),c}}},581906:function(y,l,e){"use strict";var a=e(820413),n=e(854074),o=e(405001),t={};e(653776)(t,e(501932)("iterator"),function(){return this}),y.exports=function(r,i,c){r.prototype=a(t,{next:n(1,c)}),o(r,i+" Iterator")}},826672:function(y,l,e){"use strict";var a=e(71766),n=e(26210),o=e(800668),t=e(653776),r=e(425264),i=e(581906),c=e(405001),d=e(935424),u=e(501932)("iterator"),s=!([].keys&&"next"in[].keys()),f="@@iterator",p="keys",v="values",g=function(){return this};y.exports=function(m,b,C,A,_,P,T){i(C,b,A);var x=function(k){if(!s&&k in $)return $[k];switch(k){case p:return function(){return new C(this,k)};case v:return function(){return new C(this,k)}}return function(){return new C(this,k)}},M=b+" Iterator",U=_==v,j=!1,$=m.prototype,G=$[u]||$[f]||_&&$[_],J=G||x(_),ie=_?U?x("entries"):J:void 0,W=b=="Array"&&$.entries||G,q,H,X;if(W&&(X=d(W.call(new m)),X!==Object.prototype&&X.next&&(c(X,M,!0),!a&&typeof X[u]!="function"&&t(X,u,g))),U&&G&&G.name!==v&&(j=!0,J=function(){return G.call(this)}),(!a||T)&&(s||j||!$[u])&&t($,u,J),r[b]=J,r[M]=g,_)if(q={values:U?J:x(v),keys:P?J:x(p),entries:ie},T)for(H in q)H in $||o($,H,q[H]);else n(n.P+n.F*(s||j),b,q);return q}},914326:function(y,l,e){var a=e(501932)("iterator"),n=!1;try{var o=[7][a]();o.return=function(){n=!0},Array.from(o,function(){throw 2})}catch(t){}y.exports=function(t,r){if(!r&&!n)return!1;var i=!1;try{var c=[7],d=c[a]();d.next=function(){return{done:i=!0}},c[a]=function(){return d},t(c)}catch(u){}return i}},436333:function(y){y.exports=function(l,e){return{value:e,done:!!l}}},425264:function(y){y.exports={}},71766:function(y){y.exports=!0},532876:function(y,l,e){var a=e(400018),n=e(117926).set,o=a.MutationObserver||a.WebKitMutationObserver,t=a.process,r=a.Promise,i=e(427259)(t)=="process";y.exports=function(){var c,d,u,s=function(){var g,m;for(i&&(g=t.domain)&&g.exit();c;){m=c.fn,c=c.next;try{m()}catch(b){throw c?u():d=void 0,b}}d=void 0,g&&g.enter()};if(i)u=function(){t.nextTick(s)};else if(o&&!(a.navigator&&a.navigator.standalone)){var f=!0,p=document.createTextNode("");new o(s).observe(p,{characterData:!0}),u=function(){p.data=f=!f}}else if(r&&r.resolve){var v=r.resolve(void 0);u=function(){v.then(s)}}else u=function(){n.call(a,s)};return function(g){var m={fn:g,next:void 0};d&&(d.next=m),c||(c=m,u()),d=m}}},699871:function(y,l,e){"use strict";var a=e(448423);function n(o){var t,r;this.promise=new o(function(i,c){if(t!==void 0||r!==void 0)throw TypeError("Bad Promise constructor");t=i,r=c}),this.resolve=a(t),this.reject=a(r)}y.exports.f=function(o){return new n(o)}},593303:function(y,l,e){"use strict";var a=e(445157),n=e(644523),o=e(358102),t=e(964290),r=e(48467),i=e(613171),c=Object.assign;y.exports=!c||e(808412)(function(){var d={},u={},s=Symbol(),f="abcdefghijklmnopqrst";return d[s]=7,f.split("").forEach(function(p){u[p]=p}),c({},d)[s]!=7||Object.keys(c({},u)).join("")!=f})?function(u,s){for(var f=r(u),p=arguments.length,v=1,g=o.f,m=t.f;p>v;)for(var b=i(arguments[v++]),C=g?n(b).concat(g(b)):n(b),A=C.length,_=0,P;A>_;)P=C[_++],(!a||m.call(b,P))&&(f[P]=b[P]);return f}:c},820413:function(y,l,e){var a=e(359258),n=e(217030),o=e(264656),t=e(867489)("IE_PROTO"),r=function(){},i="prototype",c=function(){var d=e(346866)("iframe"),u=o.length,s="<",f=">",p;for(d.style.display="none",e(398421).appendChild(d),d.src="javascript:",p=d.contentWindow.document,p.open(),p.write(s+"script"+f+"document.F=Object"+s+"/script"+f),p.close(),c=p.F;u--;)delete c[i][o[u]];return c()};y.exports=Object.create||function(u,s){var f;return u!==null?(r[i]=a(u),f=new r,r[i]=null,f[t]=u):f=c(),s===void 0?f:n(f,s)}},232103:function(y,l,e){var a=e(359258),n=e(569247),o=e(73698),t=Object.defineProperty;l.f=e(445157)?Object.defineProperty:function(i,c,d){if(a(i),c=o(c,!0),a(d),n)try{return t(i,c,d)}catch(u){}if("get"in d||"set"in d)throw TypeError("Accessors not supported!");return"value"in d&&(i[c]=d.value),i}},217030:function(y,l,e){var a=e(232103),n=e(359258),o=e(644523);y.exports=e(445157)?Object.defineProperties:function(r,i){n(r);for(var c=o(i),d=c.length,u=0,s;d>u;)a.f(r,s=c[u++],i[s]);return r}},358102:function(y,l){l.f=Object.getOwnPropertySymbols},935424:function(y,l,e){var a=e(302134),n=e(48467),o=e(867489)("IE_PROTO"),t=Object.prototype;y.exports=Object.getPrototypeOf||function(r){return r=n(r),a(r,o)?r[o]:typeof r.constructor=="function"&&r instanceof r.constructor?r.constructor.prototype:r instanceof Object?t:null}},452265:function(y,l,e){var a=e(302134),n=e(500648),o=e(143046)(!1),t=e(867489)("IE_PROTO");y.exports=function(r,i){var c=n(r),d=0,u=[],s;for(s in c)s!=t&&a(c,s)&&u.push(s);for(;i.length>d;)a(c,s=i[d++])&&(~o(u,s)||u.push(s));return u}},644523:function(y,l,e){var a=e(452265),n=e(264656);y.exports=Object.keys||function(t){return a(t,n)}},964290:function(y,l){l.f={}.propertyIsEnumerable},234039:function(y,l,e){var a=e(445157),n=e(644523),o=e(500648),t=e(964290).f;y.exports=function(r){return function(i){for(var c=o(i),d=n(c),u=d.length,s=0,f=[],p;u>s;)p=d[s++],(!a||t.call(c,p))&&f.push(r?[p,c[p]]:c[p]);return f}}},441230:function(y){y.exports=function(l){try{return{e:!1,v:l()}}catch(e){return{e:!0,v:e}}}},786476:function(y,l,e){var a=e(359258),n=e(671318),o=e(699871);y.exports=function(t,r){if(a(t),n(r)&&r.constructor===t)return r;var i=o.f(t),c=i.resolve;return c(r),i.promise}},854074:function(y){y.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},645270:function(y,l,e){var a=e(653776);y.exports=function(n,o,t){for(var r in o)t&&n[r]?n[r]=o[r]:a(n,r,o[r]);return n}},800668:function(y,l,e){y.exports=e(653776)},622095:function(y,l,e){"use strict";var a=e(400018),n=e(880535),o=e(232103),t=e(445157),r=e(501932)("species");y.exports=function(i){var c=typeof n[i]=="function"?n[i]:a[i];t&&c&&!c[r]&&o.f(c,r,{configurable:!0,get:function(){return this}})}},405001:function(y,l,e){var a=e(232103).f,n=e(302134),o=e(501932)("toStringTag");y.exports=function(t,r,i){t&&!n(t=i?t:t.prototype,o)&&a(t,o,{configurable:!0,value:r})}},867489:function(y,l,e){var a=e(371383)("keys"),n=e(130697);y.exports=function(o){return a[o]||(a[o]=n(o))}},371383:function(y,l,e){var a=e(880535),n=e(400018),o="__core-js_shared__",t=n[o]||(n[o]={});(y.exports=function(r,i){return t[r]||(t[r]=i!==void 0?i:{})})("versions",[]).push({version:a.version,mode:e(71766)?"pure":"global",copyright:"\xA9 2020 Denis Pushkarev (zloirock.ru)"})},67062:function(y,l,e){var a=e(359258),n=e(448423),o=e(501932)("species");y.exports=function(t,r){var i=a(t).constructor,c;return i===void 0||(c=a(i)[o])==null?r:n(c)}},430026:function(y,l,e){var a=e(632194),n=e(632926);y.exports=function(o){return function(t,r){var i=String(n(t)),c=a(r),d=i.length,u,s;return c<0||c>
12=d?o?"":void 0:(u=i.charCodeAt(c),u<55296||u>56319||c+1===d||(s=i.charCodeAt(c+1))<56320||s>57343?o?i.charAt(c):u:o?i.slice(c,c+2):(u-55296<<10)+(s-56320)+65536)}}},117926:function(y,l,e){var a=e(57620),n=e(1331),o=e(398421),t=e(346866),r=e(400018),i=r.process,c=r.setImmediate,d=r.clearImmediate,u=r.MessageChannel,s=r.Dispatch,f=0,p={},v="onreadystatechange",g,m,b,C=function(){var _=+this;if(p.hasOwnProperty(_)){var P=p[_];delete p[_],P()}},A=function(_){C.call(_.data)};(!c||!d)&&(c=function(P){for(var T=[],x=1;arguments.length>x;)T.push(arguments[x++]);return p[++f]=function(){n(typeof P=="function"?P:Function(P),T)},g(f),f},d=function(P){delete p[P]},e(427259)(i)=="process"?g=function(_){i.nextTick(a(C,_,1))}:s&&s.now?g=function(_){s.now(a(C,_,1))}:u?(m=new u,b=m.port2,m.port1.onmessage=A,g=a(b.postMessage,b,1)):r.addEventListener&&typeof postMessage=="function"&&!r.importScripts?(g=function(_){r.postMessage(_+"","*")},r.addEventListener("message",A,!1)):v in t("script")?g=function(_){o.appendChild(t("script"))[v]=function(){o.removeChild(this),C.call(_)}}:g=function(_){setTimeout(a(C,_,1),0)}),y.exports={set:c,clear:d}},707223:function(y,l,e){var a=e(632194),n=Math.max,o=Math.min;y.exports=function(t,r){return t=a(t),t<0?n(t+r,0):o(t,r)}},632194:function(y){var l=Math.ceil,e=Math.floor;y.exports=function(a){return isNaN(a=+a)?0:(a>0?e:l)(a)}},500648:function(y,l,e){var a=e(613171),n=e(632926);y.exports=function(o){return a(n(o))}},717915:function(y,l,e){var a=e(632194),n=Math.min;y.exports=function(o){return o>0?n(a(o),9007199254740991):0}},48467:function(y,l,e){var a=e(632926);y.exports=function(n){return Object(a(n))}},73698:function(y,l,e){var a=e(671318);y.exports=function(n,o){if(!a(n))return n;var t,r;if(o&&typeof(t=n.toString)=="function"&&!a(r=t.call(n))||typeof(t=n.valueOf)=="function"&&!a(r=t.call(n))||!o&&typeof(t=n.toString)=="function"&&!a(r=t.call(n)))return r;throw TypeError("Can't convert object to primitive value")}},130697:function(y){var l=0,e=Math.random();y.exports=function(a){return"Symbol(".concat(a===void 0?"":a,")_",(++l+e).toString(36))}},456209:function(y,l,e){var a=e(400018),n=a.navigator;y.exports=n&&n.userAgent||""},501932:function(y,l,e){var a=e(371383)("wks"),n=e(130697),o=e(400018).Symbol,t=typeof o=="function",r=y.exports=function(i){return a[i]||(a[i]=t&&o[i]||(t?o:n)("Symbol."+i))};r.store=a},740195:function(y,l,e){var a=e(728099),n=e(501932)("iterator"),o=e(425264);y.exports=e(880535).getIteratorMethod=function(t){if(t!=null)return t[n]||t["@@iterator"]||o[a(t)]}},811850:function(y,l,e){var a=e(359258),n=e(740195);y.exports=e(880535).getIterator=function(o){var t=n(o);if(typeof t!="function")throw TypeError(o+" is not iterable!");return a(t.call(o))}},67222:function(y,l,e){var a=e(728099),n=e(501932)("iterator"),o=e(425264);y.exports=e(880535).isIterable=function(t){var r=Object(t);return r[n]!==void 0||"@@iterator"in r||o.hasOwnProperty(a(r))}},777869:function(y,l,e){"use strict";var a=e(705618),n=e(436333),o=e(425264),t=e(500648);y.exports=e(826672)(Array,"Array",function(r,i){this._t=t(r),this._i=0,this._k=i},function(){var r=this._t,i=this._k,c=this._i++;return!r||c>=r.length?(this._t=void 0,n(1)):i=="keys"?n(0,c):i=="values"?n(0,r[c]):n(0,[c,r[c]])},"values"),o.Arguments=o.Array,a("keys"),a("values"),a("entries")},472557:function(y,l,e){var a=e(26210);a(a.S+a.F,"Object",{assign:e(593303)})},761872:function(y,l,e){var a=e(26210);a(a.S+a.F*!e(445157),"Object",{defineProperty:e(232103).f})},431700:function(){},213202:function(y,l,e){"use strict";var a=e(71766),n=e(400018),o=e(57620),t=e(728099),r=e(26210),i=e(671318),c=e(448423),d=e(640142),u=e(99481),s=e(67062),f=e(117926).set,p=e(532876)(),v=e(699871),g=e(441230),m=e(456209),b=e(786476),C="Promise",A=n.TypeError,_=n.process,P=_&&_.versions,T=P&&P.v8||"",x=n[C],M=t(_)=="process",U=function(){},j,$,G,J,ie=$=v.f,W=!!function(){try{var se=x.resolve(1),ae=(se.constructor={})[e(501932)("species")]=function(pe){pe(U,U)};return(M||typeof PromiseRejectionEvent=="function")&&se.then(U)instanceof ae&&T.indexOf("6.6")!==0&&m.indexOf("Chrome/66")===-1}catch(pe){}}(),q=function(se){var ae;return i(se)&&typeof(ae=se.then)=="function"?ae:!1},H=function(se,ae){if(!se._n){se._n=!0;var pe=se._c;p(function(){for(var Pe=se._v,ve=se._s==1,Me=0,ht=function(xt){var At=ve?xt.ok:xt.fail,Bt=xt.resolve,en=xt.reject,Vt=xt.domain,be,Le,Oe;try{At?(ve||(se._h==2&&ne(se),se._h=1),At===!0?be=Pe:(Vt&&Vt.enter(),be=At(Pe),Vt&&(Vt.exit(),Oe=!0)),be===xt.promise?en(A("Promise-chain cycle")):(Le=q(be))?Le.call(be,Bt,en):Bt(be)):en(Pe)}catch(yt){Vt&&!Oe&&Vt.exit(),en(yt)}};pe.length>Me;)ht(pe[Me++]);se._c=[],se._n=!1,ae&&!se._h&&X(se)})}},X=function(se){f.call(n,function(){var ae=se._v,pe=k(se),Pe,ve,Me;if(pe&&(Pe=g(function(){M?_.emit("unhandledRejection",ae,se):(ve=n.onunhandledrejection)?ve({promise:se,reason:ae}):(Me=n.console)&&Me.error&&Me.error("Unhandled promise rejection",ae)}),se._h=M||k(se)?2:1),se._a=void 0,pe&&Pe.e)throw Pe.v})}
12,k=function(se){return se._h!==1&&(se._a||se._c).length===0},ne=function(se){f.call(n,function(){var ae;M?_.emit("rejectionHandled",se):(ae=n.onrejectionhandled)&&ae({promise:se,reason:se._v})})},re=function(se){var ae=this;ae._d||(ae._d=!0,ae=ae._w||ae,ae._v=se,ae._s=2,ae._a||(ae._a=ae._c.slice()),H(ae,!0))},le=function(se){var ae=this,pe;if(!ae._d){ae._d=!0,ae=ae._w||ae;try{if(ae===se)throw A("Promise can't be resolved itself");(pe=q(se))?p(function(){var Pe={_w:ae,_d:!1};try{pe.call(se,o(le,Pe,1),o(re,Pe,1))}catch(ve){re.call(Pe,ve)}}):(ae._v=se,ae._s=1,H(ae,!1))}catch(Pe){re.call({_w:ae,_d:!1},Pe)}}};W||(x=function(ae){d(this,x,C,"_h"),c(ae),j.call(this);try{ae(o(le,this,1),o(re,this,1))}catch(pe){re.call(this,pe)}},j=function(ae){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1},j.prototype=e(645270)(x.prototype,{then:function(ae,pe){var Pe=ie(s(this,x));return Pe.ok=typeof ae=="function"?ae:!0,Pe.fail=typeof pe=="function"&&pe,Pe.domain=M?_.domain:void 0,this._c.push(Pe),this._a&&this._a.push(Pe),this._s&&H(this,!1),Pe.promise},catch:function(se){return this.then(void 0,se)}}),G=function(){var se=new j;this.promise=se,this.resolve=o(le,se,1),this.reject=o(re,se,1)},v.f=ie=function(se){return se===x||se===J?new G(se):$(se)}),r(r.G+r.W+r.F*!W,{Promise:x}),e(405001)(x,C),e(622095)(C),J=e(880535)[C],r(r.S+r.F*!W,C,{reject:function(ae){var pe=ie(this),Pe=pe.reject;return Pe(ae),pe.promise}}),r(r.S+r.F*(a||!W),C,{resolve:function(ae){return b(a&&this===J?x:this,ae)}}),r(r.S+r.F*!(W&&e(914326)(function(se){x.all(se).catch(U)})),C,{all:function(ae){var pe=this,Pe=ie(pe),ve=Pe.resolve,Me=Pe.reject,ht=g(function(){var xt=[],At=0,Bt=1;u(ae,!1,function(en){var Vt=At++,be=!1;xt.push(void 0),Bt++,pe.resolve(en).then(function(Le){be||(be=!0,xt[Vt]=Le,--Bt||ve(xt))},Me)}),--Bt||ve(xt)});return ht.e&&Me(ht.v),Pe.promise},race:function(ae){var pe=this,Pe=ie(pe),ve=Pe.reject,Me=g(function(){u(ae,!1,function(ht){pe.resolve(ht).then(Pe.resolve,ve)})});return Me.e&&ve(Me.v),Pe.promise}})},537323:function(y,l,e){"use strict";var a=e(430026)(!0);e(826672)(String,"String",function(n){this._t=String(n),this._i=0},function(){var n=this._t,o=this._i,t;return o>=n.length?{value:void 0,done:!0}:(t=a(n,o),this._i+=t.length,{value:t,done:!1})})},434719:function(y,l,e){var a=e(26210),n=e(234039)(!0);a(a.S,"Object",{entries:function(t){return n(t)}})},968329:function(y,l,e){"use strict";var a=e(26210),n=e(880535),o=e(400018),t=e(67062),r=e(786476);a(a.P+a.R,"Promise",{finally:function(i){var c=t(this,n.Promise||o.Promise),d=typeof i=="function";return this.then(d?function(u){return r(c,i()).then(function(){return u})}:i,d?function(u){return r(c,i()).then(function(){throw u})}:i)}})},182827:function(y,l,e){"use strict";var a=e(26210),n=e(699871),o=e(441230);a(a.S,"Promise",{try:function(t){var r=n.f(this),i=o(t);return(i.e?r.reject:r.resolve)(i.v),r.promise}})},506869:function(y,l,e){e(777869);for(var a=e(400018),n=e(653776),o=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(","),i=0;i<r.length;i++){var c=r[i],d=a[c],u=d&&d.prototype;u&&!u[t]&&n(u,t,c),o[c]=o.Array}},871502:function(y,l,e){e(195052),e(577753),e(817380),e(132506),e(75106),e(468670),e(464583),e(859266),e(160548),e(997338),e(153889),e(982066),e(334074),e(453920),e(421786),e(188078),e(226670),e(449436),e(340053),e(491871),e(849498),e(921282),e(523010),e(559038),e(193140),e(457860),e(980336),e(552426),e(999418),e(156040),e(718996),e(525005),e(158367),e(657197),e(460703),e(625829);var a=e(626003);y.exports=a.Array},328571:function(y,l,e){e(340053),e(107244),e(460703),e(625829);var a=e(626003);y.exports=a.Map},644640:function(y,l,e){e(49589),e(467668),e(70994),e(640276),e(708289),e(902610),e(722108),e(912665),e(294882),e(409087),e(645e3),e(420907),e(917632),e(55415),e(171258),e(355931),e(950508),e(863875),e(353465),e(676227),e(417420),e(325500),e(572410),e(460703),e(928335),e(342950),e(524650),e(774963),e(891989),e(260388),e(665991);var a=e(626003);y.exports=a.Object},134051:function(y,l,e){e(353485),e(340053),e(460703),e(481737),e(62677),e(732638),e(967637),e(625829);var a=e(626003);y.exports=a.Promise},744166:function(y,l,e){e(340053),e(460703),e(348926),e(625829);var a=e(626003);y.exports=a.Set},945498:function(y,l,e){e(460703),e(59892),e(711571),e(676763),e(333181),e(902673),e(591458),e(834124),e(746926),e(191101),e(631459),e(484828),e(175196),e(205954),e(220833),e(830234),e(267227),e(832766),e(476370),e(586825),e(932233),e(957794),e(625829),e(909401),e(165324),e(626776),e(408093),e(32068),e(795660),e(172062),e(3081),e(912359),e(250878),e(546515),e(616052),e(366893);var a=e(626003);y.exports=a.String},42405:function(y,l,e){e(75106),e(460703),e(49589),e(507124),e(580486),e(189854),e(55381),e(27129),e(553698),e(473230),e(212212),e(849205),e(462856),e(662186),e(580909),e(797673),e(898495),e(891989),e(260388),e(665991);var a=e(626003);y.exports=a.Symbol},215852:function(y,l,e){var a=e(760331),n=e(458978),o=TypeError;y.exports=function(t){if(a(t))return t;throw o(n(t)+" is not a function")}},694770:function(y,l,e){var a=e(87922),n=e(458978),o=TypeError;y.exports=function(t){if(a(t))return t;throw o(n(t)+" is not a constructor")}},579812:function(y,l,e){var a=e(760331),n=String,o=TypeError;y.exports=function(t){if(typeof t=="object"||a(t))return t;throw o("Can't set "+n(t)+" as a prototype")}},287637:function(y,l,e){var a=e(540496),n=e(171197),o=e(723314).f,t=a("unscopables"),r=Array.prototype;r[t]==null&&o(r,t,{configurable:!0,value:n(null)}),y.exports=function(i){r[t][i]=!0}},826439:function(y,l,e){"use strict";var a=e(630192).charAt;y.exports=function(n,o,t){return o+(t?a(n,o).length:1)}},819767:function(y,l,e){var a=e(393535),n=TypeError;y.exports=function(o,t){if(a(t,o))return o;throw n("Incorrect invocation")}},454776:function(y,l,e){var a=e(97865),n=String,o=TypeError;y.exports=function(t){if(a(t))return t;throw o(n(t)+" is not an object")}},551405:function(y,l,e){var a=e(105978);y.exports=a(function(){if(typeof ArrayBuffer=="function"){var n=new ArrayBuffer(8);Object.isExtensible(n)&&Object.defineProperty(n,"a",{value:8})}})},14366:function(y,l,e){"use strict";
vendor: 11,029 bytes, line 12
12var a=e(180240),n=e(292054),o=e(220446),t=e(245077),r=Math.min;y.exports=[].copyWithin||function(c,d){var u=a(this),s=o(u),f=n(c,s),p=n(d,s),v=arguments.length>2?arguments[2]:void 0,g=r((v===void 0?s:n(v,s))-p,s-f),m=1;for(p<f&&f<p+g&&(m=-1,p+=g-1,f+=g-1);g-- >0;)p in u?u[f]=u[p]:t(u,f),f+=m,p+=m;return u}},73272:function(y,l,e){"use strict";var a=e(180240),n=e(292054),o=e(220446);y.exports=function(r){for(var i=a(this),c=o(i),d=arguments.length,u=n(d>1?arguments[1]:void 0,c),s=d>2?arguments[2]:void 0,f=s===void 0?c:n(s,c);f>u;)i[u++]=r;return i}},216686:function(y,l,e){"use strict";var a=e(105497).forEach,n=e(384090),o=n("forEach");y.exports=o?[].forEach:function(r){return a(this,r,arguments.length>1?arguments[1]:void 0)}},523450:function(y,l,e){"use strict";var a=e(930415),n=e(50067),o=e(180240),t=e(220617),r=e(336636),i=e(87922),c=e(220446),d=e(934973),u=e(307871),s=e(438619),f=Array;y.exports=function(v){var g=o(v),m=i(this),b=arguments.length,C=b>1?arguments[1]:void 0,A=C!==void 0;A&&(C=a(C,b>2?arguments[2]:void 0));var _=s(g),P=0,T,x,M,U,j,$;if(_&&!(this===f&&r(_)))for(U=u(g,_),j=U.next,x=m?new this:[];!(M=n(j,U)).done;P++)$=A?t(U,C,[M.value,P],!0):M.value,d(x,P,$);else for(T=c(g),x=m?new this(T):f(T);T>P;P++)$=A?C(g[P],P):g[P],d(x,P,$);return x.length=P,x}},373465:function(y,l,e){var a=e(610508),n=e(292054),o=e(220446),t=function(r){return function(i,c,d){var u=a(i),s=o(u),f=n(d,s),p;if(r&&c!=c){for(;s>f;)if(p=u[f++],p!=p)return!0}else for(;s>f;f++)if((r||f in u)&&u[f]===c)return r||f||0;return!r&&-1}};y.exports={includes:t(!0),indexOf:t(!1)}},748409:function(y,l,e){var a=e(930415),n=e(187719),o=e(180240),t=e(220446),r=function(i){var c=i==1;return function(d,u,s){for(var f=o(d),p=n(f),v=a(u,s),g=t(p),m,b;g-- >0;)if(m=p[g],b=v(m,g,f),b)switch(i){case 0:return m;case 1:return g}return c?-1:void 0}};y.exports={findLast:r(0),findLastIndex:r(1)}},105497:function(y,l,e){var a=e(930415),n=e(497315),o=e(187719),t=e(180240),r=e(220446),i=e(389794),c=n([].push),d=function(u){var s=u==1,f=u==2,p=u==3,v=u==4,g=u==6,m=u==7,b=u==5||g;return function(C,A,_,P){for(var T=t(C),x=o(T),M=a(A,_),U=r(x),j=0,$=P||i,G=s?$(C,U):f||m?$(C,0):void 0,J,ie;U>j;j++)if((b||j in x)&&(J=x[j],ie=M(J,j,T),u))if(s)G[j]=ie;else if(ie)switch(u){case 3:return!0;case 5:return J;case 6:return j;case 2:c(G,J)}else switch(u){case 4:return!1;case 7:c(G,J)}return g?-1:p||v?v:G}};y.exports={forEach:d(0),map:d(1),filter:d(2),some:d(3),every:d(4),find:d(5),findIndex:d(6),filterReject:d(7)}},329984:function(y,l,e){"use strict";var a=e(200111),n=e(610508),o=e(92257),t=e(220446),r=e(384090),i=Math.min,c=[].lastIndexOf,d=!!c&&1/[1].lastIndexOf(1,-0)<0,u=r("lastIndexOf"),s=d||!u;y.exports=s?function(p){if(d)return a(c,this,arguments)||0;var v=n(this),g=t(v),m=g-1;for(arguments.length>1&&(m=i(m,o(arguments[1]))),m<0&&(m=g+m);m>=0;m--)if(m in v&&v[m]===p)return m||0;return-1}:c},610518:function(y,l,e){var a=e(105978),n=e(540496),o=e(465263),t=n("species");y.exports=function(r){return o>=51||!a(function(){var i=[],c=i.constructor={};return c[t]=function(){return{foo:1}},i[r](Boolean).foo!==1})}},384090:function(y,l,e){"use strict";var a=e(105978);y.exports=function(n,o){var t=[][n];return!!t&&a(function(){t.call(null,o||function(){return 1},1)})}},305467:function(y,l,e){var a=e(215852),n=e(180240),o=e(187719),t=e(220446),r=TypeError,i=function(c){return function(d,u,s,f){a(u);var p=n(d),v=o(p),g=t(p),m=c?g-1:0,b=c?-1:1;if(s<2)for(;;){if(m in v){f=v[m],m+=b;break}if(m+=b,c?m<0:g<=m)throw r("Reduce of empty array with no initial value")}for(;c?m>=0:g>m;m+=b)m in v&&(f=u(f,v[m],m,p));return f}};y.exports={left:i(!1),right:i(!0)}},739965:function(y,l,e){"use strict";var a=e(427156),n=e(358329),o=TypeError,t=Object.getOwnPropertyDescriptor,r=a&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(i){return i instanceof TypeError}}();y.exports=r?function(i,c){if(n(i)&&!t(i,"length").writable)throw o("Cannot set read only .length");return i.length=c}:function(i,c){return i.length=c}},198040:function(y,l,e){var a=e(292054),n=e(220446),o=e(934973),t=Array,r=Math.max;y.exports=function(i,c,d){for(var u=n(i),s=a(c,u),f=a(d===void 0?u:d,u),p=t(r(f-s,0)),v=0;s<f;s++,v++)o(p,v,i[s]);return p.length=v,p}},880805:function(y,l,e){var a=e(497315);y.exports=a([].slice)},485062:function(y,l,e){var a=e(198040),n=Math.floor,o=function(i,c){var d=i.length,u=n(d/2);return d<8?t(i,c):r(i,o(a(i,0,u),c),o(a(i,u),c),c)},t=function(i,c){for(var d=i.length,u=1,s,f;u<d;){for(f=u,s=i[u];f&&c(i[f-1],s)>0;)i[f]=i[--f];f!==u++&&(i[f]=s)}return i},r=function(i,c,d,u){for(var s=c.length,f=d.length,p=0,v=0;p<s||v<f;)i[p+v]=p<s&&v<f?u(c[p],d[v])<=0?c[p++]:d[v++]:p<s?c[p++]:d[v++];return i};y.exports=o},950973:function(y,l,e){var a=e(358329),n=e(87922),o=e(97865),t=e(540496),r=t("species"),i=Array;y.exports=function(c){var d;return a(c)&&(d=c.constructor,n(d)&&(d===i||a(d.prototype))?d=void 0:o(d)&&(d=d[r],d===null&&(d=void 0))),d===void 0?i:d}},389794:function(y,l,e){var a=e(950973);y.exports=function(n,o){return new(a(n))(o===0?0:o)}},220617:function(y,l,e){var a=e(454776),n=e(46564);y.exports=function(o,t,r,i){try{return i?t(a(r)[0],r[1]):t(r)}catch(c){n(o,"throw",c)}}},920972:function(y,l,e){var a=e(540496),n=a("iterator"),o=!1;try{var t=0,r={next:function(){return{done:!!t++}},return:function(){o=!0}};r[n]=function(){return this},Array.from(r,function(){throw 2})}catch(i){}y.exports=function(i,c){if(!c&&!o)return!1;var d=!1;try{var u={};u[n]=function(){return{next:function(){return{done:d=!0}}}},i(u)}catch(s){}return d}},155124:function(y,l,e){var a=e(677e3),n=a({}.toString),o=a("".slice);y.exports=function(t){return o(n(t),8,-1)}},473070:function(y,l,e){var a=e(337620),n=e(760331),o=e(155124),t=e(540496),r=t("toStringTag"),i=Object,c=o(function(){return arguments}())=="Arguments",d=function(u,s){try{return u[s]}catch(f){}};y.exports=a?o:function(u){var s,f,p;return u===void 0?"Undefined":u===null?"Null":typeof(f=d(s=i(u),r))=="string"?f:c?o(s):(p=o(s))=="Object"&&n(s.callee)?"Arguments":p}},952222:function(y,l,e){"use strict";var a=e(723314).f,n=e(171197),o=e(142352),t=e(930415),r=e(819767),i=e(261602),c=e(705664),d=e(227235),u=e(282012),s=e(812135),f=e(427156),p=e(578483).fastKey,v=e(347846),g=v.set,m=v.getterFor;y.exports={getConstructor:function(b,C,A,_){var P=b(function(j,$){r(j,T),g(j,{type:C,index:n(null),first:void 0,last:void 0,size:0}),f||(j.size=0),i($)||c($,j[_],{that:j,AS_ENTRIES:A})}),T=P.prototype,x=m(C),M=function(j,$,G){var J=x(j),ie=U(j,$),W,q;return ie?ie.value=G:(J.last=ie={index:q=p($,!0),key:$,value:G,previous:W=J.last,next:void 0,removed:!1},J.first||(J.first=ie),W&&(W.next=ie),f?J.size++:j.size++,q!=="F"&&(J.index[q]=ie)),j},U=function(j,$){var G=x(j),J=p($),ie;if(J!=="F")return G.index[J];for(ie=G.first;ie;ie=ie.next)if(ie.key==$)return ie};return o(T,{clear:function(){for(var $=this,G=x($),J=G.index,ie=G.first;ie;)ie.removed=!0,ie.previous&&(ie.previous=ie.previous.next=void 0),delete J[ie.index],ie=ie.next;G.first=G.last=void 0,f?G.size=0:$.size=0},delete:function(j){var $=this,G=x($),J=U($,j);if(J){var ie=J.next,W=J.previous;delete G.index[J.index],J.removed=!0,W&&(W.next=ie),ie&&(ie.previous=W),G.first==J&&(G.first=ie),G.last==J&&(G.last=W),f?G.size--:$.size--}return!!J},forEach:function($){for(var G=x(this),J=t($,arguments.length>1?arguments[1]:void 0),ie;ie=ie?ie.next:G.first;)for(J(ie.value,ie.key,this);ie&&ie.removed;)ie=ie.previous},has:function($){return!!U(this,$)}}),o(T,A?{get:function($){var G=U(this,$);return G&&G.value},set:function($,G){return M(this,$===0?0:$,G)}}:{add:function($){return M(this,$=$===0?0:$,$)}}),f&&a(T,"size",{get:function(){return x(this).size}}),P},setStrong:function(b,C,A){var _=C+" Iterator",P=m(C),T=m(_);d(b,C,function(x,M){g(this,{type:_,target:x,state:P(x),kind:M,last:void 0})},function(){for(var x=T(this),M=x.kind,U=x.last;U&&U.removed;)U=U.previous;return!x.target||!(x.last=U=U?U.next:x.state.first)?(x.target=void 0,u(void 0,!0)):M=="keys"?u(U.key,!1):M=="values"?u(U.value,!1):u([U.key,U.value],!1)},A?"entries":"values",!A,!0),s(C)}}},574002:function(y,l,e){"use strict";var a=e(532380),n=e(636979),o=e(497315),t=e(221970),r=e(148134),i=e(578483),c=e(705664),d=e(819767),u=e(760331),s=e(261602),f=e(97865),p=e(105978),v=e(920972),g=e(553837),m=e(785783);y.exports=function(b,C,A){var _=b.indexOf("Map")!==-1,P=b.indexOf("Weak")!==-1,T=_?"set":"add",x=n[b],M=x&&x.prototype,U=x,j={},$=function(X){var k=o(M[X]);r(M,X,X=="add"?function(re){return k(this,re===0?0:re),this}:X=="delete"?function(ne){return P&&!f(ne)?!1:k(this,ne===0?0:ne)}:X=="get"?function(re){return P&&!f(re)?void 0:k(this,re===0?0:re)}:X=="has"?function(re){return P&&!f(re)?!1:k(this,re===0?0:re)}:function(re,le){return k(this,re===0?0:re,le),this})},G=t(b,!u(x)||!(P||M.forEach&&!p(function(){new x().entries().next()})));if(G)U=A.getConstructor(C,b,_,T),i.enable();else if(t(b,!0)){var J=new U,ie=J[T](P?{}:-0,1)!=J,W=p(function(){J.has(1)}),q=v(function(X){new x(X)}),H=!P&&p(function(){for(var X=new x,k=5;k--;)X[T](k,k);return!X.has(-0)});q||(U=C(function(X,k){d(X,M);var ne=m(new x,X,U);return s(k)||c(k,ne[T],{that:ne,AS_ENTRIES:_}),ne}),U.prototype=M,M.constructor=U),(W||H)&&($("delete"),$("has"),_&&$("get")),(H||ie)&&$(T),P&&M.clear&&delete M.clear}return j[b]=U,a({global:!0,constructor:!0,forced:U!=x},j),g(U,b),P||A.setStrong(U,b,_),U}},375932:function(y,l,e){var a=e(955553),n=e(781271),o=e(522281),t=e(723314);y.exports=function(r,i,c){for(var d=n(i),u=t.f,s=o.f,f=0;f<d.length;f++){var p=d[f];!a(r,p)&&!(c&&a(c,p))&&u(r,p,s(i,p))}}},766327:function(y,l,e){var a=e(540496),n=a("match");y.exports=function(o){var t=/./;try{"/./"[o](t)}catch(r){try{return t[n]=!1,"/./"[o](t)}catch(i){}}return!1}},78200:function(y,l,e){var a=e(105978);y.exports=!a(function(){function n(){}return n.prototype.constructor=null,Object.getPrototypeOf(new n)!==n.prototype})},350469:function(y,l,e){var a=e(497315),n=e(8511),o=e(227876),t=/"/g,r=a("".replace);y.exports=function(i,c,d,u){var s=o(n(i)),f="<"+c;return d!==""&&(f+=" "+d+'="'+r(o(u),t,"&quot;")+'"'),f+">"+s+"</"+c+">"}},282012:function(y){y.exports=function(l,e){return{value:l,done:e}}},847146:function(y,l,e){var a=e(427156),n=e(723314),o=e(581927);y.exports=a?function(t,r,i){return n.f(t,r,o(1,i))}:function(t,r,i){return t[r]=i,t}},581927:function(y){y.exports=function(l,e){return{enumerable:!(l&1),configurable:!(l&2),writable:!(l&4),value:e}}},934973:function(y,l,e){"use strict";var a=e(438978),n=e(723314),o=e(581927);y.exports=function(t,r,i){var c=a(r);c in t?n.f(t,c,o(0,i)):t[c]=i}},772030:function(y,l,e){var a=e(370859),n=e(723314);y.exports=function(o,t,r){return r.get&&a(r.get,t,{getter:!0}),r.set&&a(r.set,t,{setter:!0}),n.f(o,t,r)}},148134:function(y,l,e){var a=e(760331),n=e(723314),o=e(370859),t=e(904158);y.exports=function(r,i,c,d){d||(d={});var u=d.enumerable,s=d.name!==void 0?d.name:i;if(a(c)&&o(c,s,d),d.global)u?r[i]=c:t(i,c);else{try{d.unsafe?r[i]&&(u=!0):delete r[i]}catch(f){}
12u?r[i]=c:n.f(r,i,{value:c,enumerable:!1,configurable:!d.nonConfigurable,writable:!d.nonWritable})}return r}},142352:function(y,l,e){var a=e(148134);y.exports=function(n,o,t){for(var r in o)a(n,r,o[r],t);return n}},904158:function(y,l,e){var a=e(636979),n=Object.defineProperty;y.exports=function(o,t){try{n(a,o,{value:t,configurable:!0,writable:!0})}catch(r){a[o]=t}return t}},245077:function(y,l,e){"use strict";var a=e(458978),n=TypeError;y.exports=function(o,t){if(!delete o[t])throw n("Cannot delete property "+a(t)+" of "+a(o))}},427156:function(y,l,e){var a=e(105978);y.exports=!a(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})},239082:function(y){var l=typeof document=="object"&&document.all,e=typeof l=="undefined"&&l!==void 0;y.exports={all:l,IS_HTMLDDA:e}},362877:function(y,l,e){var a=e(636979),n=e(97865),o=a.document,t=n(o)&&n(o.createElement);y.exports=function(r){return t?o.createElement(r):{}}},557168:function(y){var l=TypeError,e=9007199254740991;y.exports=function(a){if(a>e)throw l("Maximum allowed index exceeded");return a}},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,l,e){var a=e(362877),n=a("span").classList,o=n&&n.constructor&&n.constructor.prototype;y.exports=o===Object.prototype?void 0:o},525635:function(y,l,e){var a=e(117088),n=a.match(/firefox\/(\d+)/i);y.exports=!!n&&+n[1]},276817:function(y,l,e){var a=e(881093),n=e(453025);y.exports=!a&&!n&&typeof window=="object"&&typeof document=="object"},881093:function(y){y.exports=typeof Deno=="object"&&Deno&&typeof Deno.version=="object"},568753:function(y,l,e){var a=e(117088);y.exports=/MSIE|Trident/.test(a)},148094:function(y,l,e){var a=e(117088),n=e(636979);y.exports=/ipad|iphone|ipod/i.test(a)&&n.Pebble!==void 0},392329:function(y,l,e){var a=e(117088);
12y.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(a)},453025:function(y,l,e){var a=e(155124),n=e(636979);y.exports=a(n.process)=="process"},474401:function(y,l,e){var a=e(117088);y.exports=/web0s(?!.*chrome)/i.test(a)},117088:function(y,l,e){var a=e(174883);y.exports=a("navigator","userAgent")||""},465263:function(y,l,e){var a=e(636979),n=e(117088),o=a.process,t=a.Deno,r=o&&o.versions||t&&t.version,i=r&&r.v8,c,d;i&&(c=i.split("."),d=c[0]>0&&c[0]<4?1:+(c[0]+c[1])),!d&&n&&(c=n.match(/Edge\/(\d+)/),(!c||c[1]>=74)&&(c=n.match(/Chrome\/(\d+)/),c&&(d=+c[1]))),y.exports=d},799539:function(y,l,e){var a=e(117088),n=a.match(/AppleWebKit\/(\d+)\./);y.exports=!!n&&+n[1]},615339:function(y){y.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},12374:function(y,l,e){var a=e(497315),n=Error,o=a("".replace),t=function(c){return String(n(c).stack)}("zxcasd"),r=/\n\s*at [^:]*:[^\n]*/,i=r.test(t);y.exports=function(c,d){if(i&&typeof c=="string"&&!n.prepareStackTrace)for(;d--;)c=o(c,r,"");return c}},577887:function(y,l,e){var a=e(105978),n=e(581927);y.exports=!a(function(){var o=Error("a");return"stack"in o?(Object.defineProperty(o,"stack",n(1,7)),o.stack!==7):!0})},532380:function(y,l,e){var a=e(636979),n=e(522281).f,o=e(847146),t=e(148134),r=e(904158),i=e(375932),c=e(221970);y.exports=function(d,u){var s=d.target,f=d.global,p=d.stat,v,g,m,b,C,A;if(f?g=a:p?g=a[s]||r(s,{}):g=(a[s]||{}).prototype,g)for(m in u){if(C=u[m],d.dontCallGetSet?(A=n(g,m),b=A&&A.value):b=g[m],v=c(f?m:s+(p?".":"#")+m,d.forced),!v&&b!==void 0){if(typeof C==typeof b)continue;i(C,b)}(d.sham||b&&b.sham)&&o(C,"sham",!0),t(g,m,C,d)}}},105978:function(y){y.exports=function(l){try{return!!l()}catch(e){return!0}}},822739:function(y,l,e){"use strict";e(59892);var a=e(497315),n=e(148134),o=e(563595),t=e(105978),r=e(540496),i=e(847146),c=r("species"),d=RegExp.prototype;y.exports=function(u,s,f,p){var v=r(u),g=!t(function(){var A={};return A[v]=function(){return 7},""[u](A)!=7}),m=g&&!t(function(){var A=!1,_=/a/;return u==="split"&&(_={},_.constructor={},_.constructor[c]=function(){return _},_.flags="",_[v]=/./[v]),_.exec=function(){return A=!0,null},_[v](""),!A});if(!g||!m||f){var b=a(/./[v]),C=s(v,""[u],function(A,_,P,T,x){var M=a(A),U=_.exec;return U===o||U===d.exec?g&&!x?{done:!0,value:b(_,P,T)}:{done:!0,value:M(P,_,T)}:{done:!1}});n(String.prototype,u,C[0]),n(d,v,C[1])}p&&i(d[v],"sham",!0)}},890010:function(y,l,e){"use strict";var a=e(358329),n=e(220446),o=e(557168),t=e(930415),r=function(i,c,d,u,s,f,p,v){for(var g=s,m=0,b=p?t(p,v):!1,C,A;m<u;)m in d&&(C=b?b(d[m],m,c):d[m],f>0&&a(C)?(A=n(C),g=r(i,c,C,A,g,f-1)-1):(o(g+1),i[g]=C),g++),m++;return g};y.exports=r},775219:function(y,l,e){var a=e(105978);y.exports=!a(function(){return Object.isExtensible(Object.preventExtensions({}))})},200111:function(y,l,e){var a=e(4192),n=Function.prototype,o=n.apply,t=n.call;y.exports=typeof Reflect=="object"&&Reflect.apply||(a?t.bind(o):function(){return t.apply(o,arguments)})},930415:function(y,l,e){var a=e(497315),n=e(215852),o=e(4192),t=a(a.bind);y.exports=function(r,i){return n(r),i===void 0?r:o?t(r,i):function(){return r.apply(i,arguments)}}},4192:function(y,l,e){var a=e(105978);y.exports=!a(function(){var n=function(){}.bind();return typeof n!="function"||n.hasOwnProperty("prototype")})},50067:function(y,l,e){var a=e(4192),n=Function.prototype.call;y.exports=a?n.bind(n):function(){return n.apply(n,arguments)}},877902:function(y,l,e){var a=e(427156),n=e(955553),o=Function.prototype,t=a&&Object.getOwnPropertyDescriptor,r=n(o,"name"),i=r&&function(){}.name==="something",c=r&&(!a||a&&t(o,"name").configurable);y.exports={EXISTS:r,PROPER:i,CONFIGURABLE:c}},677e3:function(y,l,e){var a=e(4192),n=Function.prototype,o=n.call,t=a&&n.bind.bind(o,o);y.exports=a?t:function(r){return function(){return o.apply(r,arguments)}}},497315:function(y,l,e){var a=e(155124),n=e(677e3);y.exports=function(o){if(a(o)==="Function")return n(o)}},174883:function(y,l,e){var a=e(636979),n=e(760331),o=function(t){return n(t)?t:void 0};y.exports=function(t,r){return arguments.length<2?o(a[t]):a[t]&&a[t][r]}},438619:function(y,l,e){var a=e(473070),n=e(917293),o=e(261602),t=e(347909),r=e(540496),i=r("iterator");y.exports=function(c){if(!o(c))return n(c,i)||n(c,"@@iterator")||t[a(c)]}},307871:function(y,l,e){var a=e(50067),n=e(215852),o=e(454776),t=e(458978),r=e(438619),i=TypeError;y.exports=function(c,d){var u=arguments.length<2?r(c):d;if(n(u))return o(a(u,c));throw i(t(c)+" is not iterable")}},917293:function(y,l,e){var a=e(215852),n=e(261602);y.exports=function(o,t){var r=o[t];return n(r)?void 0:a(r)}},719501:function(y,l,e){var a=e(497315),n=e(180240),o=Math.floor,t=a("".charAt),r=a("".replace),i=a("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;y.exports=function(u,s,f,p,v,g){var m=f+u.length,b=p.length,C=d;return v!==void 0&&(v=n(v),C=c),r(g,C,function(A,_){var P;switch(t(_,0)){case"$":return"$";case"&":return u;case"`":return i(s,0,f);case"'":return i(s,m);case"<":P=v[i(_,1,-1)];break;default:var T=+_;if(T===0)return A;if(T>b){var x=o(T/10);return x===0?A:x<=b?p[x-1]===void 0?t(_,1):p[x-1]+t(_,1):A}P=p[T-1]}return P===void 0?"":P})}},636979:function(y,l,e){var a=function(n){return n&&n.Math==Math&&n};y.exports=a(typeof globalThis=="object"&&globalThis)||a(typeof window=="object"&&window)||a(typeof self=="object"&&self)||a(typeof e.g=="object"&&e.g)||function(){return this}()||Function("return this")()},955553:function(y,l,e){var a=e(497315),n=e(180240),o=a({}.hasOwnProperty);y.exports=Object.hasOwn||function(r,i){return o(n(r),i)}},347889:function(y){y.exports={}},243593:function(y,l,e){var a=e(636979);y.exports=function(n,o){var t=a.console;t&&t.error&&(arguments.length==1?t.error(n):t.error(n,o))}},186299:function(y,l,e){var a=e(174883);y.exports=a("document","documentElement")},458661:function(y,l,e){var a=e(427156),n=e(105978),o=e(362877);y.exports=!a&&!n(function(){return Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a!=7})},187719:function(y,l,e){var a=e(497315),n=e(105978),o=e(155124),t=Object,r=a("".split);y.exports=n(function(){return!t("z").propertyIsEnumerable(0)})?function(i){return o(i)=="String"?r(i,""):t(i)}:t},785783:function(y,l,e){var a=e(760331),n=e(97865),o=e(900296);y.exports=function(t,r,i){var c,d;return o&&a(c=r.constructor)&&c!==i&&n(d=c.prototype)&&d!==i.prototype&&o(t,d),t}},653843:function(y,l,e){var a=e(497315),n=e(760331),o=e(614735),t=a(Function.toString);n(o.inspectSource)||(o.inspectSource=function(r){return t(r)}),y.exports=o.inspectSource},936757:function(y,l,e){var a=e(97865),n=e(847146);y.exports=function(o,t){a(t)&&"cause"in t&&n(o,"cause",t.cause)}},578483:function(y,l,e){var a=e(532380),n=e(497315),o=e(347889),t=e(97865),r=e(955553),i=e(723314).f,c=e(834078),d=e(188275),u=e(211031),s=e(870068),f=e(775219),p=!1,v=s("meta"),g=0,m=function(T){i(T,v,{value:{objectID:"O"+g++,weakData:{}}})},b=function(T,x){if(!t(T))return typeof T=="symbol"?T:(typeof T=="string"?"S":"P")+T;if(!r(T,v)){if(!u(T))return"F";if(!x)return"E";m(T)}return T[v].objectID},C=function(T,x){if(!r(T,v)){if(!u(T))return!0;
12if(!x)return!1;m(T)}return T[v].weakData},A=function(T){return f&&p&&u(T)&&!r(T,v)&&m(T),T},_=function(){P.enable=function(){},p=!0;var T=c.f,x=n([].splice),M={};M[v]=1,T(M).length&&(c.f=function(U){for(var j=T(U),$=0,G=j.length;$<G;$++)if(j[$]===v){x(j,$,1);break}return j},a({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:d.f}))},P=y.exports={enable:_,fastKey:b,getWeakData:C,onFreeze:A};o[v]=!0},347846:function(y,l,e){var a=e(947040),n=e(636979),o=e(97865),t=e(847146),r=e(955553),i=e(614735),c=e(598784),d=e(347889),u="Object already initialized",s=n.TypeError,f=n.WeakMap,p,v,g,m=function(_){return g(_)?v(_):p(_,{})},b=function(_){return function(P){var T;if(!o(P)||(T=v(P)).type!==_)throw s("Incompatible receiver, "+_+" required");return T}};if(a||i.state){var C=i.state||(i.state=new f);C.get=C.get,C.has=C.has,C.set=C.set,p=function(_,P){if(C.has(_))throw s(u);return P.facade=_,C.set(_,P),P},v=function(_){return C.get(_)||{}},g=function(_){return C.has(_)}}else{var A=c("state");d[A]=!0,p=function(_,P){if(r(_,A))throw s(u);return P.facade=_,t(_,A,P),P},v=function(_){return r(_,A)?_[A]:{}},g=function(_){return r(_,A)}}y.exports={set:p,get:v,has:g,enforce:m,getterFor:b}},336636:function(y,l,e){var a=e(540496),n=e(347909),o=a("iterator"),t=Array.prototype;y.exports=function(r){return r!==void 0&&(n.Array===r||t[o]===r)}},358329:function(y,l,e){var a=e(155124);y.exports=Array.isArray||function(o){return a(o)=="Array"}},760331:function(y,l,e){var a=e(239082),n=a.all;y.exports=a.IS_HTMLDDA?function(o){return typeof o=="function"||o===n}:function(o){return typeof o=="function"}},87922:function(y,l,e){var a=e(497315),n=e(105978),o=e(760331),t=e(473070),r=e(174883),i=e(653843),c=function(){},d=[],u=r("Reflect","construct"),s=/^\s*(?:class|function)\b/,f=a(s.exec),p=!s.exec(c),v=function(b){if(!o(b))return!1;try{return u(c,d,b),!0}catch(C){return!1}},g=function(b){if(!o(b))return!1;switch(t(b)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return p||!!f(s,i(b))}catch(C){return!0}};g.sham=!0,y.exports=!u||n(function(){var m;return v(v.call)||!v(Object)||!v(function(){m=!0})||m})?g:v},221970:function(y,l,e){var a=e(105978),n=e(760331),o=/#|\.prototype\./,t=function(u,s){var f=i[r(u)];return f==d?!0:f==c?!1:n(s)?a(s):!!s},r=t.normalize=function(u){return String(u).replace(o,".").toLowerCase()},i=t.data={},c=t.NATIVE="N",d=t.POLYFILL="P";y.exports=t},261602:function(y){y.exports=function(l){return l==null}},97865:function(y,l,e){var a=e(760331),n=e(239082),o=n.all;y.exports=n.IS_HTMLDDA?function(t){return typeof t=="object"?t!==null:a(t)||t===o}:function(t){return typeof t=="object"?t!==null:a(t)}},471746:function(y){y.exports=!1},994553:function(y,l,e){var a=e(97865),n=e(155124),o=e(540496),t=o("match");y.exports=function(r){var i;return a(r)&&((i=r[t])!==void 0?!!i:n(r)=="RegExp")}},818652:function(y,l,e){var a=e(174883),n=e(760331),o=e(393535),t=e(984772),r=Object;y.exports=t?function(i){return typeof i=="symbol"}:function(i){var c=a("Symbol");return n(c)&&o(c.prototype,r(i))}},705664:function(y,l,e){var a=e(930415),n=e(50067),o=e(454776),t=e(458978),r=e(336636),i=e(220446),c=e(393535),d=e(307871),u=e(438619),s=e(46564),f=TypeError,p=function(g,m){this.stopped=g,this.result=m},v=p.prototype;y.exports=function(g,m,b){var C=b&&b.that,A=!!(b&&b.AS_ENTRIES),_=!!(b&&b.IS_RECORD),P=!!(b&&b.IS_ITERATOR),T=!!(b&&b.INTERRUPTED),x=a(m,C),M,U,j,$,G,J,ie,W=function(H){return M&&s(M,"normal",H),new p(!0,H)},q=function(H){return A?(o(H),T?x(H[0],H[1],W):x(H[0],H[1])):T?x(H,W):x(H)};if(_)M=g.iterator;else if(P)M=g;else{if(U=u(g),!U)throw f(t(g)+" is not iterable");if(r(U)){for(j=0,$=i(g);$>j;j++)if(G=q(g[j]),G&&c(v,G))return G;return new p(!1)}M=d(g,U)}for(J=_?g.next:M.next;!(ie=n(J,M)).done;){try{G=q(ie.value)}catch(H){s(M,"throw",H)}if(typeof G=="object"&&G&&c(v,G))return G}return new p(!1)}},46564:function(y,l,e){var a=e(50067),n=e(454776),o=e(917293);y.exports=function(t,r,i){var c,d;n(t);try{if(c=o(t,"return"),!c){if(r==="throw")throw i;return i}c=a(c,t)}catch(u){d=!0,c=u}if(r==="throw")throw i;if(d)throw c;return n(c),i}},843674:function(y,l,e){"use strict";var a=e(959706).IteratorPrototype,n=e(171197),o=e(581927),t=e(553837),r=e(347909),i=function(){return this};y.exports=function(c,d,u,s){var f=d+" Iterator";return c.prototype=n(a,{next:o(+!s,u)}),t(c,f,!1,!0),r[f]=i,c}},227235:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(471746),t=e(877902),r=e(760331),i=e(843674),c=e(95938),d=e(900296),u=e(553837),s=e(847146),f=e(148134),p=e(540496),v=e(347909),g=e(959706),m=t.PROPER,b=t.CONFIGURABLE,C=g.IteratorPrototype,A=g.BUGGY_SAFARI_ITERATORS,_=p("iterator"),P="keys",T="values",x="entr
12ies",M=function(){return this};y.exports=function(U,j,$,G,J,ie,W){i($,j,G);var q=function(Pe){if(Pe===J&&re)return re;if(!A&&Pe in k)return k[Pe];switch(Pe){case P:return function(){return new $(this,Pe)};case T:return function(){return new $(this,Pe)};case x:return function(){return new $(this,Pe)}}return function(){return new $(this)}},H=j+" Iterator",X=!1,k=U.prototype,ne=k[_]||k["@@iterator"]||J&&k[J],re=!A&&ne||q(J),le=j=="Array"&&k.entries||ne,se,ae,pe;if(le&&(se=c(le.call(new U)),se!==Object.prototype&&se.next&&(!o&&c(se)!==C&&(d?d(se,C):r(se[_])||f(se,_,M)),u(se,H,!0,!0),o&&(v[H]=M))),m&&J==T&&ne&&ne.name!==T&&(!o&&b?s(k,"name",T):(X=!0,re=function(){return n(ne,this)})),J)if(ae={values:q(T),keys:ie?re:q(P),entries:q(x)},W)for(pe in ae)(A||X||!(pe in k))&&f(k,pe,ae[pe]);else a({target:j,proto:!0,forced:A||X},ae);return(!o||W)&&k[_]!==re&&f(k,_,re,{name:J}),v[j]=re,ae}},959706:function(y,l,e){"use strict";var a=e(105978),n=e(760331),o=e(97865),t=e(171197),r=e(95938),i=e(148134),c=e(540496),d=e(471746),u=c("iterator"),s=!1,f,p,v;[].keys&&(v=[].keys(),"next"in v?(p=r(r(v)),p!==Object.prototype&&(f=p)):s=!0);var g=!o(f)||a(function(){var m={};return f[u].call(m)!==m});g?f={}:d&&(f=t(f)),n(f[u])||i(f,u,function(){return this}),y.exports={IteratorPrototype:f,BUGGY_SAFARI_ITERATORS:s}},347909:function(y){y.exports={}},220446:function(y,l,e){var a=e(350093);y.exports=function(n){return a(n.length)}},370859:function(y,l,e){var a=e(105978),n=e(760331),o=e(955553),t=e(427156),r=e(877902).CONFIGURABLE,i=e(653843),c=e(347846),d=c.enforce,u=c.get,s=Object.defineProperty,f=t&&!a(function(){return s(function(){},"length",{value:8}).length!==8}),p=String(String).split("String"),v=y.exports=function(g,m,b){String(m).slice(0,7)==="Symbol("&&(m="["+String(m).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),b&&b.getter&&(m="get "+m),b&&b.setter&&(m="set "+m),(!o(g,"name")||r&&g.name!==m)&&(t?s(g,"name",{value:m,configurable:!0}):g.name=m),f&&b&&o(b,"arity")&&g.length!==b.arity&&s(g,"length",{value:b.arity});try{b&&o(b,"constructor")&&b.constructor?t&&s(g,"prototype",{writable:!1}):g.prototype&&(g.prototype=void 0)}catch(A){}var C=d(g);return o(C,"source")||(C.source=p.join(typeof m=="string"?m:"")),g};Function.prototype.toString=v(function(){return n(this)&&u(this).source||i(this)},"toString")},664229:function(y){var l=Math.ceil,e=Math.floor;y.exports=Math.trunc||function(n){var o=+n;return(o>0?e:l)(o)}},880987:function(y,l,e){var a=e(636979),n=e(930415),o=e(522281).f,t=e(471667).set,r=e(392329),i=e(148094),c=e(474401),d=e(453025),u=a.MutationObserver||a.WebKitMutationObserver,s=a.document,f=a.process,p=a.Promise,v=o(a,"queueMicrotask"),g=v&&v.value,m,b,C,A,_,P,T,x;g||(m=function(){var M,U;for(d&&(M=f.domain)&&M.exit();b;){U=b.fn,b=b.next;try{U()}catch(j){throw b?A():C=void 0,j}}C=void 0,M&&M.enter()},!r&&!d&&!c&&u&&s?(_=!0,P=s.createTextNode(""),new u(m).observe(P,{characterData:!0}),A=function(){P.data=_=!_}):!i&&p&&p.resolve?(T=p.resolve(void 0),T.constructor=p,x=n(T.then,T),A=function(){x(m)}):d?A=function(){f.nextTick(m)}:(t=n(t,a),A=function(){t(m)})),y.exports=g||function(M){var U={fn:M,next:void 0};C&&(C.next=U),b||(b=U,A()),C=U}},121683:function(y,l,e){"use strict";var a=e(215852),n=TypeError,o=function(t){var r,i;this.promise=new t(function(c,d){if(r!==void 0||i!==void 0)throw n("Bad Promise constructor");r=c,i=d}),this.resolve=a(r),this.reject=a(i)};y.exports.f=function(t){return new o(t)}},455778:function(y,l,e){var a=e(227876);y.exports=function(n,o){return n===void 0?arguments.length<2?"":o:a(n)}},970188:function(y,l,e){var a=e(994553),n=TypeError;y.exports=function(o){if(a(o))throw n("The method doesn't accept regular expressions");return o}},974650:function(y,l,e){"use strict";var a=e(427156),n=e(497315),o=e(50067),t=e(105978),r=e(385378),i=e(306760),c=e(17446),d=e(180240),u=e(187719),s=Object.assign,f=Object.defineProperty,p=n([].concat);y.exports=!s||t(function(){if(a&&s({b:1},s(f({},"a",{enumerable:!0,get:function(){f(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},g={},m=Symbol(),b="abcdefghijklmnopqrst";return v[m]=7,b.split("").forEach(function(C){g[C]=C}),s({},v)[m]!=7||r(s({},g)).join("")!=b})?function(g,m){for(var b=d(g),C=arguments.length,A=1,_=i.f,P=c.f;C>A;)for(var T=u(arguments[A++]),x=_?p(r(T),_(T)):r(T),M=x.length,U=0,j;M>U;)j=x[U++],(!a||o(P,T,j))&&(b[j]=T[j]);return b}:s},171197:function(y,l,e){var a=e(454776),n=e(49802),o=e(615339),t=e(347889),r=e(186299),i=e(362877),c=e(598784),d=">",u="<",s="prototype",f="script",p=c("IE_PROTO"),v=function(){},g=function(_){return u+f+d+_+u+"/"+f+d},m=function(_){_.write(g("")),_.close();var P=_.parentWindow.Object;return _=null,P},b=function(){var _=i("iframe"),P="java"+f+":",T;return _.style.display="none",r.appendChild(_),_.src=String(P),T=_.contentWindow.document,T.open(),T.write(g("document.F=Object")),T.close(),T.F},C,A=function(){try{C=new ActiveXObject("htmlfile")}catch(P){}A=typeof document!="undefined"?document.domain&&C?m(C):b():m(C);for(var _=o.length;_--;)delete A[s][o[_]];return A()};t[p]=!0,y.exports=Object.create||function(P,T){var x;return P!==null?(v[s]=a(P),x=new v,v[s]=null,x[p]=P):x=A(),T===void 0?x:n.f(x,T)}},49802:function(y,l,e){var a=e(427156),n=e(265641),o=e(723314),t=e(454776),r=e(610508),i=e(385378);l.f=a&&!n?Object.defineProperties:function(d,u){t(d);for(var s=r(u),f=i(u),p=f.length,v=0,g;p>v;)o.f(d,g=f[v++],s[g]);return d}},723314:function(y,l,e){var a=e(427156),n=e(458661),o=e(265641),t=e(454776),r=e(438978),i=TypeError,c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",s="configurable",f="writable";l.f=a?o?function(v,g,m){if(t(v),g=r(g),t(m),typeof v=="function"&&g==="prototype"&&"value"in m&&f in m&&!m[f]){var b=d(v,g);b&&b[f]&&(v[g]=m.value,m={configurable:s in m?m[s]:b[s],enumerable:u in m?m[u]:b[u],writable:!1})}return c(v,g,m)}:c:function(v,g,m){if(t(v),g=r(g),t(m),n)try{return c(v,g,m)}catch(b){}if("get"in m||"set"in m)throw i("Accessors not supported");return"value"in m&&(v[g]=m.value),v}},522281:function(y,l,e){var a=e(427156),n=e(50067),o=e(17446),t=e(581927),r=e(610508),i=e(438978),c=e(955553),d=e(458661),u=Object.getOwnPropertyDescriptor;l.f=a?u:function(f,p){if(f=r(f),p=i(p),d)try{return u(f,p)}catch(v){}if(c(f,p))return t(!n(o.f,f,p),f[p])}},188275:function(y,l,e){var a=e(155124),n=e(610508),o=e(834078).f,t=e(198040
12),r=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],i=function(c){try{return o(c)}catch(d){return t(r)}};y.exports.f=function(d){return r&&a(d)=="Window"?i(d):o(n(d))}},834078:function(y,l,e){var a=e(84576),n=e(615339),o=n.concat("length","prototype");l.f=Object.getOwnPropertyNames||function(r){return a(r,o)}},306760:function(y,l){l.f=Object.getOwnPropertySymbols},95938:function(y,l,e){var a=e(955553),n=e(760331),o=e(180240),t=e(598784),r=e(78200),i=t("IE_PROTO"),c=Object,d=c.prototype;y.exports=r?c.getPrototypeOf:function(u){var s=o(u);if(a(s,i))return s[i];var f=s.constructor;return n(f)&&s instanceof f?f.prototype:s instanceof c?d:null}},211031:function(y,l,e){var a=e(105978),n=e(97865),o=e(155124),t=e(551405),r=Object.isExtensible,i=a(function(){r(1)});y.exports=i||t?function(d){return!n(d)||t&&o(d)=="ArrayBuffer"?!1:r?r(d):!0}:r},393535:function(y,l,e){var a=e(497315);y.exports=a({}.isPrototypeOf)},84576:function(y,l,e){var a=e(497315),n=e(955553),o=e(610508),t=e(373465).indexOf,r=e(347889),i=a([].push);y.exports=function(c,d){var u=o(c),s=0,f=[],p;for(p in u)!n(r,p)&&n(u,p)&&i(f,p);for(;d.length>s;)n(u,p=d[s++])&&(~t(f,p)||i(f,p));return f}},385378:function(y,l,e){var a=e(84576),n=e(615339);y.exports=Object.keys||function(t){return a(t,n)}},17446:function(y,l){"use strict";var e={}.propertyIsEnumerable,a=Object.getOwnPropertyDescriptor,n=a&&!e.call({1:2},1);l.f=n?function(t){var r=a(this,t);return!!r&&r.enumerable}:e},426135:function(y,l,e){"use strict";var a=e(471746),n=e(636979),o=e(105978),t=e(799539);y.exports=a||!o(function(){if(!(t&&t<535)){var r=Math.random();__defineSetter__.call(null,r,function(){}),delete n[r]}})},900296:function(y,l,e){var a=e(497315),n=e(454776),o=e(579812);
12y.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,r={},i;try{i=a(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),i(r,[]),t=r instanceof Array}catch(c){}return function(d,u){return n(d),o(u),t?i(d,u):d.__proto__=u,d}}():void 0)},313223:function(y,l,e){var a=e(427156),n=e(497315),o=e(385378),t=e(610508),r=e(17446).f,i=n(r),c=n([].push),d=function(u){return function(s){for(var f=t(s),p=o(f),v=p.length,g=0,m=[],b;v>g;)b=p[g++],(!a||i(f,b))&&c(m,u?[b,f[b]]:f[b]);return m}};y.exports={entries:d(!0),values:d(!1)}},206964:function(y,l,e){"use strict";var a=e(337620),n=e(473070);y.exports=a?{}.toString:function(){return"[object "+n(this)+"]"}},433926:function(y,l,e){var a=e(50067),n=e(760331),o=e(97865),t=TypeError;y.exports=function(r,i){var c,d;if(i==="string"&&n(c=r.toString)&&!o(d=a(c,r))||n(c=r.valueOf)&&!o(d=a(c,r))||i!=="string"&&n(c=r.toString)&&!o(d=a(c,r)))return d;throw t("Can't convert object to primitive value")}},781271:function(y,l,e){var a=e(174883),n=e(497315),o=e(834078),t=e(306760),r=e(454776),i=n([].concat);y.exports=a("Reflect","ownKeys")||function(d){var u=o.f(r(d)),s=t.f;return s?i(u,s(d)):u}},626003:function(y,l,e){var a=e(636979);y.exports=a},86866:function(y){y.exports=function(l){try{return{error:!1,value:l()}}catch(e){return{error:!0,value:e}}}},630705:function(y,l,e){var a=e(636979),n=e(879707),o=e(760331),t=e(221970),r=e(653843),i=e(540496),c=e(276817),d=e(881093),u=e(471746),s=e(465263),f=n&&n.prototype,p=i("species"),v=!1,g=o(a.PromiseRejectionEvent),m=t("Promise",function(){var b=r(n),C=b!==String(n);if(!C&&s===66||u&&!(f.catch&&f.finally))return!0;if(!s||s<51||!/native code/.test(b)){var A=new n(function(T){T(1)}),_=function(T){T(function(){},function(){})},P=A.constructor={};if(P[p]=_,v=A.then(function(){})instanceof _,!v)return!0}return!C&&(c||d)&&!g});y.exports={CONSTRUCTOR:m,REJECTION_EVENT:g,SUBCLASSING:v}},879707:function(y,l,e){var a=e(636979);y.exports=a.Promise},301503:function(y,l,e){var a=e(454776),n=e(97865),o=e(121683);y.exports=function(t,r){if(a(t),n(r)&&r.constructor===t)return r;var i=o.f(t),c=i.resolve;return c(r),i.promise}},267933:function(y,l,e){var a=e(879707),n=e(920972),o=e(630705).CONSTRUCTOR;y.exports=o||!n(function(t){a.all(t).then(void 0,function(){})})},512482:function(y){var l=function(){this.head=null,this.tail=null};l.prototype={add:function(e){var a={item:e,next:null};this.head?this.tail.next=a:this.head=a,this.tail=a},get:function(){var e=this.head;if(e)return this.head=e.next,this.tail===e&&(this.tail=null),e.item}},y.exports=l},609757:function(y,l,e){var a=e(50067),n=e(454776),o=e(760331),t=e(155124),r=e(563595),i=TypeError;y.exports=function(c,d){var u=c.exec;if(o(u)){var s=a(u,c,d);return s!==null&&n(s),s}if(t(c)==="RegExp")return a(r,c,d);throw i("RegExp#exec called on incompatible receiver")}},563595:function(y,l,e){"use strict";var a=e(50067),n=e(497315),o=e(227876),t=e(971155),r=e(131245),i=e(938117),c=e(171197),d=e(347846).get,u=e(94691),s=e(636625),f=i("native-string-replace",String.prototype.replace),p=RegExp.prototype.exec,v=p,g=n("".charAt),m=n("".indexOf),b=n("".replace),C=n("".slice),A=function(){var x=/a/,M=/b*/g;return a(p,x,"a"),a(p,M,"a"),x.lastIndex!==0||M.lastIndex!==0}(),_=r.BROKEN_CARET,P=/()??/.exec("")[1]!==void 0,T=A||P||_||u||s;T&&(v=function(M){var U=this,j=d(U),$=o(M),G=j.raw,J,ie,W,q,H,X,k;if(G)return G.lastIndex=U.lastIndex,J=a(v,G,$),U.lastIndex=G.lastIndex,J;var ne=j.groups,re=_&&U.sticky,le=a(t,U),se=U.source,ae=0,pe=$;if(re&&(le=b(le,"y",""),m(le,"g")===-1&&(le+="g"),pe=C($,U.lastIndex),U.lastIndex>0&&(!U.multiline||U.multiline&&g($,U.lastIndex-1)!=="\n")&&(se="(?: "+se+")",pe=" "+pe,ae++),ie=new RegExp("^(?:"+se+")",le)),P&&(ie=new RegExp("^"+se+"$(?!\\s)",le)),A&&(W=U.lastIndex),q=a(p,re?ie:U,pe),re?q?(q.input
12=C(q.input,ae),q[0]=C(q[0],ae),q.index=U.lastIndex,U.lastIndex+=q[0].length):U.lastIndex=0:A&&q&&(U.lastIndex=U.global?q.index+q[0].length:W),P&&q&&q.length>1&&a(f,q[0],ie,function(){for(H=1;H<arguments.length-2;H++)arguments[H]===void 0&&(q[H]=void 0)}),q&&ne)for(q.groups=X=c(null),H=0;H<ne.length;H++)k=ne[H],X[k[0]]=q[k[1]];return q}),y.exports=v},971155:function(y,l,e){"use strict";var a=e(454776);y.exports=function(){var n=a(this),o="";return n.hasIndices&&(o+="d"),n.global&&(o+="g"),n.ignoreCase&&(o+="i"),n.multiline&&(o+="m"),n.dotAll&&(o+="s"),n.unicode&&(o+="u"),n.unicodeSets&&(o+="v"),n.sticky&&(o+="y"),o}},117025:function(y,l,e){var a=e(50067),n=e(955553),o=e(393535),t=e(971155),r=RegExp.prototype;y.exports=function(i){var c=i.flags;return c===void 0&&!("flags"in r)&&!n(i,"flags")&&o(r,i)?a(t,i):c}},131245:function(y,l,e){var a=e(105978),n=e(636979),o=n.RegExp,t=a(function(){var c=o("a","y");return c.lastIndex=2,c.exec("abcd")!=null}),r=t||a(function(){return!o("a","y").sticky}),i=t||a(function(){var c=o("^r","gy");return c.lastIndex=2,c.exec("str")!=null});y.exports={BROKEN_CARET:i,MISSED_STICKY:r,UNSUPPORTED_Y:t}},94691:function(y,l,e){var a=e(105978),n=e(636979),o=n.RegExp;y.exports=a(function(){var t=o(".","s");return!(t.dotAll&&t.exec("\n")&&t.flags==="s")})},636625:function(y,l,e){var a=e(105978),n=e(636979),o=n.RegExp;y.exports=a(function(){var t=o("(?<a>b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$<a>c")!=="bc"})},8511:function(y,l,e){var a=e(261602),n=TypeError;y.exports=function(o){if(a(o))throw n("Can't call method on "+o);return o}},217311:function(y){y.exports=Object.is||function(e,a){return e===a?e!==0||1/e===1/a:e!=e&&a!=a}},812135:function(y,l,e){"use strict";var a=e(174883),n=e(723314),o=e(540496),t=e(427156),r=o("species");y.exports=function(i){var c=a(i),d=n.f;t&&c&&!c[r]&&d(c,r,{configurable:!0,get:function(){return this}})}},553837:function(y,l,e){var a=e(723314).f,n=e(955553),o=e(540496),t=o("toStringTag");y.exports=function(r,i,c){r&&!c&&(r=r.prototype),r&&!n(r,t)&&a(r,t,{configurable:!0,value:i})}},598784:function(y,l,e){var a=e(938117),n=e(870068),o=a("keys");y.exports=function(t){return o[t]||(o[t]=n(t))}},614735:function(y,l,e){var a=e(636979),n=e(904158),o="__core-js_shared__",t=a[o]||n(o,{});y.exports=t},938117:function(y,l,e){var a=e(471746),n=e(614735);(y.exports=function(o,t){return n[o]||(n[o]=t!==void 0?t:{})})("versions",[]).push({version:"3.26.0",mode:a?"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,l,e){var a=e(454776),n=e(694770),o=e(261602),t=e(540496),r=t("species");y.exports=function(i,c){var d=a(i).constructor,u;return d===void 0||o(u=a(d)[r])?c:n(u)}},887240:function(y,l,e){var a=e(105978);y.exports=function(n){return a(function(){var o=""[n]('"');return o!==o.toLowerCase()||o.split('"').length>3})}},630192:function(y,l,e){var a=e(497315),n=e(92257),o=e(227876),t=e(8511),r=a("".charAt),i=a("".charCodeAt),c=a("".slice),d=function(u){return function(s,f){var p=o(t(s)),v=n(f),g=p.length,m,b;return v<0||v>=g?u?"":void 0:(m=i(p,v),m<55296||m>56319||v+1===g||(b=i(p,v+1))<56320||b>57343?u?r(p,v):m:u?c(p,v,v+2):(m-55296<<10)+(b-56320)+65536)}};y.exports={codeAt:d(!1),charAt:d(!0)}},614693:function(y,l,e){var a=e(117088);y.exports=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(a)},973803:function(y,l,e){var a=e(497315),n=e(350093),o=e(227876),t=e(842632),r=e(8511),i=a(t),c=a("".slice),d=Math.ceil,u=function(s){return function(f,p,v){var g=o(r(f)),m=n(p),b=g.length,C=v===void 0?" ":o(v),A,_;return m<=b||C==""?g:(A=m-b,_=i(C,d(A/C.length)),_.length>A&&(_=c(_,0,A)),s?g+_:_+g)}};y.exports={start:u(!1),end:u(!0)}},842632:function(y,l,e){"use strict";var a=e(92257),n=e(227876),o=e(8511),t=RangeError;y.exports=function(i){var c=n(o(this)),d="",u=a(i);if(u<0||u==1/0)throw t("Wrong number of repetitions");for(;u>0;(u>>>=1)&&(c+=c))u&1&&(d+=c);return d}},95019:function(y,l,e){"use strict";var a=e(390056).end,n=e(782410);y.exports=n("trimEnd")?function(){return a(this)}:"".trimEnd},782410:function(y,l,e){var a=e(877902).PROPER,n=e(105978),o=e(892622),t="\u200B\x85\u180E";y.exports=function(r){return n(function(){return!!o[r]()||t[r]()!==t||a&&o[r].name!==r})}},954230:function(y,l,e){"use strict";var a=e(390056).start,n=e(782410);y.exports=n("trimStart")?function(){return a(this)}:"".trimStart},390056:function(y,l,e){var a=e(497315),n=e(8511),o=e(227876),t=e(892622),r=a("".replace),i="["+t+"]",c=RegExp("^"+i+i+"*"),d=RegExp(i+i+"*$"),u=function(s){return function(f){var p=o(n(f));return s&1&&(p=r(p,c,"")),s&2&&(p=r(p,d,"")),p}};y.exports={start:u(1),end:u(2),trim:u(3)}},789539:function(y,l,e){var a=e(465263),n=e(105978);y.exports=!!Object.getOwnPropertySymbols&&!n(function(){var o=Symbol();return!String(o)||!(Object(o)instanceof Symbol)||!Symbol.sham&&a&&a<41})},857262:function(y,l,e){var a=e(50067),n=e(174883),o=e(540496),t=e(148134);y.exports=function(){var r=n("Symbol"),i=r&&r.prototype,c=i&&i.valueOf,d=o("toPrimitive");i&&!i[d]&&t(i,d,function(u){return a(c,this)},{arity:1}
12)}},166548:function(y,l,e){var a=e(789539);y.exports=a&&!!Symbol.for&&!!Symbol.keyFor},471667:function(y,l,e){var a=e(636979),n=e(200111),o=e(930415),t=e(760331),r=e(955553),i=e(105978),c=e(186299),d=e(880805),u=e(362877),s=e(64668),f=e(392329),p=e(453025),v=a.setImmediate,g=a.clearImmediate,m=a.process,b=a.Dispatch,C=a.Function,A=a.MessageChannel,_=a.String,P=0,T={},x="onreadystatechange",M,U,j,$;try{M=a.location}catch(q){}var G=function(q){if(r(T,q)){var H=T[q];delete T[q],H()}},J=function(q){return function(){G(q)}},ie=function(q){G(q.data)},W=function(q){a.postMessage(_(q),M.protocol+"//"+M.host)};(!v||!g)&&(v=function(H){s(arguments.length,1);var X=t(H)?H:C(H),k=d(arguments,1);return T[++P]=function(){n(X,void 0,k)},U(P),P},g=function(H){delete T[H]},p?U=function(q){m.nextTick(J(q))}:b&&b.now?U=function(q){b.now(J(q))}:A&&!f?(j=new A,$=j.port2,j.port1.onmessage=ie,U=o($.postMessage,$)):a.addEventListener&&t(a.postMessage)&&!a.importScripts&&M&&M.protocol!=="file:"&&!i(W)?(U=W,a.addEventListener("message",ie,!1)):x in u("script")?U=function(q){c.appendChild(u("script"))[x]=function(){c.removeChild(this),G(q)}}:U=function(q){setTimeout(J(q),0)}),y.exports={set:v,clear:g}},292054:function(y,l,e){var a=e(92257),n=Math.max,o=Math.min;y.exports=function(t,r){var i=a(t);return i<0?n(i+r,0):o(i,r)}},610508:function(y,l,e){var a=e(187719),n=e(8511);y.exports=function(o){return a(n(o))}},92257:function(y,l,e){var a=e(664229);y.exports=function(n){var o=+n;return o!==o||o===0?0:a(o)}},350093:function(y,l,e){var a=e(92257),n=Math.min;y.exports=function(o){return o>0?n(a(o),9007199254740991):0}},180240:function(y,l,e){var a=e(8511),n=Object;y.exports=function(o){return n(a(o))}},585822:function(y,l,e){var a=e(50067),n=e(97865),o=e(818652),t=e(917293),r=e(433926),i=e(540496),c=TypeError,d=i("toPrimitive");y.exports=function(u,s){if(!n(u)||o(u))return u;var f=t(u,d),p;if(f){if(s===void 0&&(s="default"),p=a(f,u,s),!n(p)||o(p))return p;throw c("Can't convert object to primitive value")}return s===void 0&&(s="number"),r(u,s)}},438978:function(y,l,e){var a=e(585822),n=e(818652);y.exports=function(o){var t=a(o,"string");return n(t)?t:t+""}},337620:function(y,l,e){var a=e(540496),n=a("toStringTag"),o={};o[n]="z",y.exports=String(o)==="[object z]"},227876:function(y,l,e){var a=e(473070),n=String;y.exports=function(o){if(a(o)==="Symbol")throw TypeError("Cannot convert a Symbol value to a string");return n(o)}},458978:function(y){var l=String;y.exports=function(e){try{return l(e)}catch(a){return"Object"}}},870068:function(y,l,e){var a=e(497315),n=0,o=Math.random(),t=a(1 .toString);y.exports=function(r){return"Symbol("+(r===void 0?"":r)+")_"+t(++n+o,36)}},217525:function(y,l,e){var a=e(105978),n=e(540496),o=e(471746),t=n("iterator");y.exports=!a(function(){var r=new URL("b?a=1&b=2&c=3","http://a"),i=r.searchParams,c="";return r.pathname="c%20d",i.forEach(function(d,u){i.delete("b"),c+=u+d}),o&&!r.toJSON||!i.sort||r.href!=="http://a/c%20d?a=1&c=3"||i.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!i[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"||c!=="a1c3"||new URL("http://x",void 0).host!=="x"})},984772:function(y,l,e){var a=e(789539);y.exports=a&&!Symbol.sham&&typeof Symbol.iterator=="symbol"},265641:function(y,l,e){var a=e(427156),n=e(105978);y.exports=a&&n(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42})},64668:function(y){var l=TypeError;y.exports=function(e,a){if(e<a)throw l("Not enough arguments");return e}},947040:function(y,l,e){var a=e(636979),n=e(760331),o=a.WeakMap;y.exports=n(o)&&/native code/.test(String(o))},535862:function(y,l,e){var a=e(626003),n=e(955553),o=e(952358),t=e(723314).f;y.exports=function(r){var i=a.Symbol||(a.Symbol={});n(i,r)||t(i,r,{value:o.f(r)})}},952358:function(y,l,e){var a=e(540496);l.f=a},540496:function(y,l,e){var a=e(636979),n=e(938117),o=e(955553),t=e(870068),r=e(789539),i=e(984772),c=n("wks"),d=a.Symbol,u=d&&d.for,s=i?d:d&&d.withoutSetter||t;
12y.exports=function(f){if(!o(c,f)||!(r||typeof c[f]=="string")){var p="Symbol."+f;r&&o(d,f)?c[f]=d[f]:i&&u?c[f]=u(p):c[f]=s(p)}return c[f]}},892622:function(y){y.exports="	\n\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF"},507027:function(y,l,e){"use strict";var a=e(532380),n=e(393535),o=e(95938),t=e(900296),r=e(375932),i=e(171197),c=e(847146),d=e(581927),u=e(12374),s=e(936757),f=e(705664),p=e(455778),v=e(540496),g=e(577887),m=v("toStringTag"),b=Error,C=[].push,A=function(T,x){var M=arguments.length>2?arguments[2]:void 0,U=n(_,this),j;t?j=t(b(),U?o(this):_):(j=U?this:i(_),c(j,m,"Error")),x!==void 0&&c(j,"message",p(x)),g&&c(j,"stack",u(j.stack,1)),s(j,M);var $=[];return f(T,C,{that:$}),c(j,"errors",$),j};t?t(A,b):r(A,b,{name:!0});var _=A.prototype=i(b.prototype,{constructor:d(1,A),message:d(1,""),name:d(1,"AggregateError")});a({global:!0,constructor:!0,arity:2},{AggregateError:A})},353485:function(y,l,e){e(507027)},132506:function(y,l,e){"use strict";var a=e(532380),n=e(180240),o=e(220446),t=e(92257),r=e(287637);a({target:"Array",proto:!0},{at:function(c){var d=n(this),u=o(d),s=t(c),f=s>=0?s:u+s;return f<0||f>=u?void 0:d[f]}}),r("at")},75106:function(y,l,e){"use strict";var a=e(532380),n=e(105978),o=e(358329),t=e(97865),r=e(180240),i=e(220446),c=e(557168),d=e(934973),u=e(389794),s=e(610518),f=e(540496),p=e(465263),v=f("isConcatSpreadable"),g=p>=51||!n(function(){var A=[];return A[v]=!1,A.concat()[0]!==A}),m=s("concat"),b=function(A){if(!t(A))return!1;var _=A[v];return _!==void 0?!!_:o(A)},C=!g||!m;a({target:"Array",proto:!0,arity:1,forced:C},{concat:function(_){var P=r(this),T=u(P,0),x=0,M,U,j,$,G;for(M=-1,j=arguments.length;M<j;M++)if(G=M===-1?P:arguments[M],b(G))for($=i(G),c(x+$),U=0;U<$;U++,x++)U in G&&d(T,x,G[U]);else c(x+1),d(T,x++,G);return T.length=x,T}})},468670:function(y,l,e){var a=e(532380),n=e(14366),o=e(287637);a({target:"Array",proto:!0},{copyWithin:n}),o("copyWithin")},464583:function(y,l,e){"use strict";var a=e(532380),n=e(105497).every,o=e(384090),t=o("every");a({target:"Array",proto:!0,forced:!t},{every:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},859266:function(y,l,e){var a=e(532380),n=e(73272),o=e(287637);a({target:"Array",proto:!0},{fill:n}),o("fill")},160548:function(y,l,e){"use strict";var a=e(532380),n=e(105497).filter,o=e(610518),t=o("filter");a({target:"Array",proto:!0,forced:!t},{filter:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},153889:function(y,l,e){"use strict";var a=e(532380),n=e(105497).findIndex,o=e(287637),t="findIndex",r=!0;t in[]&&Array(1)[t](function(){r=!1}),a({target:"Array",proto:!0,forced:r},{findIndex:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}}),o(t)},334074:function(y,l,e){"use strict";var a=e(532380),n=e(748409).findLastIndex,o=e(287637);a({target:"Array",proto:!0},{findLastIndex:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),o("findLastIndex")},982066:function(y,l,e){"use strict";var a=e(532380),n=e(748409).findLast,o=e(287637);a({target:"Array",proto:!0},{findLast:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}}),o("findLast")},997338:function(y,l,e){"use strict";var a=e(532380),n=e(105497).find,o=e(287637),t="find",r=!0;t in[]&&Array(1)[t](function(){r=!1}),a({target:"Array",proto:!0,forced:r},{find:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}}),o(t)},421786:function(y,l,e){"use strict";var a=e(532380),n=e(890010),o=e(215852),t=e(180240),r=e(220446),i=e(389794);a({target:"Array",proto:!0},{flatMap:function(d){var u=t(this),s=r(u),f;return o(d),f=i(u,0),f.length=n(f,u,u,s,0,1,d,arguments.length>1?arguments[1]:void 0),f}})},453920:function(y,l,e){"use strict";var a=e(532380),n=e(890010),o=e(180240),t=e(220446),r=e(92257),i=e(389794);a({target:"Array",proto:!0},{flat:function(){var d=arguments.length?arguments[0]:void 0,u=o(this),s=t(u),f=i(u,0);return f.length=n(f,u,u,s,0,d===void 0?1:r(d)),f}})},188078:function(y,l,e){"use strict";var a=e(532380),n=e(216686);a({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},195052:function(y,l,e){var a=e(532380),n=e(523450),o=e(920972),t=!o(function(r){Array.from(r)});a({target:"Array",stat:!0,forced:t},{from:n})},226670:function(y,l,e){"use strict";var a=e(532380),n=e(373465).includes,o=e(105978),t=e(287637),r=o(function(){return!Array(1).includes()});a({target:"Array",proto:!0,forced:r},{includes:function(c){return n(this,c,arguments.length>1?arguments[1]:void 0)}}),t("includes")}
12,449436:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(373465).indexOf,t=e(384090),r=n([].indexOf),i=!!r&&1/r([1],1,-0)<0,c=t("indexOf");a({target:"Array",proto:!0,forced:i||!c},{indexOf:function(u){var s=arguments.length>1?arguments[1]:void 0;return i?r(this,u,s)||0:o(this,u,s)}})},577753:function(y,l,e){var a=e(532380),n=e(358329);a({target:"Array",stat:!0},{isArray:n})},340053:function(y,l,e){"use strict";var a=e(610508),n=e(287637),o=e(347909),t=e(347846),r=e(723314).f,i=e(227235),c=e(282012),d=e(471746),u=e(427156),s="Array Iterator",f=t.set,p=t.getterFor(s);y.exports=i(Array,"Array",function(g,m){f(this,{type:s,target:a(g),index:0,kind:m})},function(){var g=p(this),m=g.target,b=g.kind,C=g.index++;return!m||C>=m.length?(g.target=void 0,c(void 0,!0)):b=="keys"?c(C,!1):b=="values"?c(m[C],!1):c([C,m[C]],!1)},"values");var v=o.Arguments=o.Array;if(n("keys"),n("values"),n("entries"),!d&&u&&v.name!=="values")try{r(v,"name",{value:"values"})}catch(g){}},491871:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(187719),t=e(610508),r=e(384090),i=n([].join),c=o!=Object,d=r("join",",");a({target:"Array",proto:!0,forced:c||!d},{join:function(s){return i(t(this),s===void 0?",":s)}})},849498:function(y,l,e){var a=e(532380),n=e(329984);a({target:"Array",proto:!0,forced:n!==[].lastIndexOf},{lastIndexOf:n})},921282:function(y,l,e){"use strict";var a=e(532380),n=e(105497).map,o=e(610518),t=o("map");a({target:"Array",proto:!0,forced:!t},{map:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},817380:function(y,l,e){"use strict";var a=e(532380),n=e(105978),o=e(87922),t=e(934973),r=Array,i=n(function(){function c(){}return!(r.of.call(c)instanceof c)});a({target:"Array",stat:!0,forced:i},{of:function(){for(var d=0,u=arguments.length,s=new(o(this)?this:r)(u);u>d;)t(s,d,arguments[d++]);return s.length=u,s}})},523010:function(y,l,e){"use strict";var a=e(532380),n=e(180240),o=e(220446),t=e(739965),r=e(557168),i=e(105978),c=i(function(){return[].push.call({length:4294967296},1)!==4294967297}),d=!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(u){return u instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:c||d},{push:function(s){var f=n(this),p=o(f),v=arguments.length;r(p+v);for(var g=0;g<v;g++)f[p]=arguments[g],p++;return t(f,p),p}})},193140:function(y,l,e){"use strict";var a=e(532380),n=e(305467).right,o=e(384090),t=e(465263),r=e(453025),i=o("reduceRight"),c=!r&&t>79&&t<83;a({target:"Array",proto:!0,forced:!i||c},{reduceRight:function(u){return n(this,u,arguments.length,arguments.length>1?arguments[1]:void 0)}})},559038:function(y,l,e){"use strict";var a=e(532380),n=e(305467).left,o=e(384090),t=e(465263),r=e(453025),i=o("reduce"),c=!r&&t>79&&t<83;a({target:"Array",proto:!0,forced:!i||c},{reduce:function(u){var s=arguments.length;return n(this,u,s,s>1?arguments[1]:void 0)}})},457860:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(358329),t=n([].reverse),r=[1,2];a({target:"Array",proto:!0,forced:String(r)===String(r.reverse())},{reverse:function(){return o(this)&&(this.length=this.length),t(this)}})},980336:function(y,l,e){"use strict";var a=e(532380),n=e(358329),o=e(87922),t=e(97865),r=e(292054),i=e(220446),c=e(610508),d=e(934973),u=e(540496),s=e(610518),f=e(880805),p=s("slice"),v=u("species"),g=Array,m=Math.max;a({target:"Array",proto:!0,forced:!p},{slice:function(C,A){var _=c(this),P=i(_),T=r(C,P),x=r(A===void 0?P:A,P),M,U,j;if(n(_)&&(M=_.constructor,o(M)&&(M===g||n(M.prototype))?M=void 0:t(M)&&(M=M[v],M===null&&(M=void 0)),M===g||M===void 0))return f(_,T,x);for(U=new(M===void 0?g:M)(m(x-T,0)),j=0;T<x;T++,j++)T in _&&d(U,j,_[T]);return U.length=j,U}})},552426:function(y,l,e){"use strict";var a=e(532380),n=e(105497).some,o=e(384090),t=o("some");a({target:"Array",proto:!0,forced:!t},{some:function(i){return n(this,i,arguments.length>1?arguments[1]:void 0)}})},999418:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(215852),t=e(180240),r=e(220446),i=e(245077),c=e(227876),d=e(105978),u=e(485062),s=e(384090),f=e(525635),p=e(568753),v=e(465263),g=e(799539),m=[],b=n(m.sort),C=n(m.push),A=d(function(){m.sort(void 0)}),_=d(function(){m.sort(null)}),P=s("sort"),T=!d(function(){if(v)return v<70;if(!(f&&f>3)){if(p)return!0;
12if(g)return g<603;var U="",j,$,G,J;for(j=65;j<76;j++){switch($=String.fromCharCode(j),j){case 66:case 69:case 70:case 72:G=3;break;case 68:case 71:G=4;break;default:G=2}for(J=0;J<47;J++)m.push({k:$+J,v:G})}for(m.sort(function(ie,W){return W.v-ie.v}),J=0;J<m.length;J++)$=m[J].k.charAt(0),U.charAt(U.length-1)!==$&&(U+=$);return U!=="DGBEFHACIJK"}}),x=A||!_||!P||!T,M=function(U){return function(j,$){return $===void 0?-1:j===void 0?1:U!==void 0?+U(j,$)||0:c(j)>c($)?1:-1}};a({target:"Array",proto:!0,forced:x},{sort:function(j){j!==void 0&&o(j);var $=t(this);if(T)return j===void 0?b($):b($,j);var G=[],J=r($),ie,W;for(W=0;W<J;W++)W in $&&C(G,$[W]);for(u(G,M(j)),ie=r(G),W=0;W<ie;)$[W]=G[W++];for(;W<J;)i($,W++);return $}})},156040:function(y,l,e){var a=e(812135);a("Array")},718996:function(y,l,e){"use strict";var a=e(532380),n=e(180240),o=e(292054),t=e(92257),r=e(220446),i=e(739965),c=e(557168),d=e(389794),u=e(934973),s=e(245077),f=e(610518),p=f("splice"),v=Math.max,g=Math.min;a({target:"Array",proto:!0,forced:!p},{splice:function(b,C){var A=n(this),_=r(A),P=o(b,_),T=arguments.length,x,M,U,j,$,G;for(T===0?x=M=0:T===1?(x=0,M=_-P):(x=T-2,M=g(v(t(C),0),_-P)),c(_+x-M),U=d(A,M),j=0;j<M;j++)$=P+j,$ in A&&u(U,j,A[$]);if(U.length=M,x<M){for(j=P;j<_-M;j++)$=j+M,G=j+x,$ in A?A[G]=A[$]:s(A,G);for(j=_;j>_-M+x;j--)s(A,j-1)}else if(x>M)for(j=_-M;j>P;j--)$=j+M-1,G=j+x-1,$ in A?A[G]=A[$]:s(A,G);for(j=0;j<x;j++)A[j+P]=arguments[j+2];return i(A,_-M+x),U}})},158367:function(y,l,e){var a=e(287637);a("flatMap")},525005:function(y,l,e){var a=e(287637);a("flat")},657197:function(y,l,e){"use strict";var a=e(532380),n=e(180240),o=e(220446),t=e(739965),r=e(245077),i=e(557168),c=[].unshift(0)!==1,d=!function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(u){return u instanceof TypeError}}();a({target:"Array",proto:!0,arity:1,forced:c||d},{unshift:function(s){var f=n(this),p=o(f),v=arguments.length;if(v){i(p+v);for(var g=p;g--;){var m=g+v;g in f?f[m]=f[g]:r(f,m)}for(var b=0;b<v;b++)f[b]=arguments[b]}return t(f,p+v)}})},590945:function(y,l,e){var a=e(532380),n=e(174883),o=e(200111),t=e(50067),r=e(497315),i=e(105978),c=e(358329),d=e(760331),u=e(97865),s=e(818652),f=e(880805),p=e(789539),v=n("JSON","stringify"),g=r(/./.exec),m=r("".charAt),b=r("".charCodeAt),C=r("".replace),A=r(1 .toString),_=/[\uD800-\uDFFF]/g,P=/^[\uD800-\uDBFF]$/,T=/^[\uDC00-\uDFFF]$/,x=!p||i(function(){var $=n("Symbol")();return v([$])!="[null]"||v({a:$})!="{}"||v(Object($))!="{}"}),M=i(function(){return v("\uDF06\uD834")!=='"\\udf06\\ud834"'||v("\uDEAD")!=='"\\udead"'}),U=function($,G){var J=f(arguments),ie=G;if(!(!u(G)&&$===void 0||s($)))return c(G)||(G=function(W,q){if(d(ie)&&(q=t(ie,this,W,q)),!s(q))return q}),J[1]=G,o(v,null,J)},j=function($,G,J){var ie=m(J,G-1),W=m(J,G+1);return g(P,$)&&!g(T,W)||g(T,$)&&!g(P,ie)?"\\u"+A(b($,0),16):$};v&&a({target:"JSON",stat:!0,arity:3,forced:x||M},{stringify:function(G,J,ie){var W=f(arguments),q=o(x?U:v,null,W);return M&&typeof q=="string"?C(q,_,j):q}})},891989:function(y,l,e){var a=e(636979),n=e(553837);n(a.JSON,"JSON",!0)},561891:function(y,l,e){"use strict";var a=e(574002),n=e(952222);a("Map",function(o){return function(){return o(this,arguments.length?arguments[0]:void 0)}},n)},107244:function(y,l,e){e(561891)},260388:function(y,l,e){var a=e(553837);a(Math,"Math",!0)},467668:function(y,l,e){var a=e(532380),n=e(974650);a({target:"Object",stat:!0,arity:2,forced:Object.assign!==n},{assign:n})},70994:function(y,l,e){var a=e(532380),n=e(427156),o=e(171197);a({target:"Object",stat:!0,sham:!n},{create:o})},928335:function(y,l,e){"use strict";var a=e(532380),n=e(427156),o=e(426135),t=e(215852),r=e(180240),i=e(723314);n&&a({target:"Object",proto:!0,forced:o},{__defineGetter__:function(d,u){i.f(r(this),d,{get:t(u),enumerable:!0,configurable:!0})}})},708289:function(y,l,e){var a=e(532380),n=e(427156),o=e(49802).f;a({target:"Object",stat:!0,forced:Object.defineProperties!==o,sham:!n},{defineProperties:o})},640276:function(y,l,e){var a=e(532380),n=e(427156),o=e(723314).f;a({target:"Object",stat:!0,forced:Object.defineProperty!==o,sham:!n},{defineProperty:o})},342950:function(y,l,e){"use strict";var a=e(532380),n=e(427156),o=e(426135),t=e(215852),r=e(180240),i=e(723314);n&&a({target:"Object",proto:!0,forced:o},{__defineSetter__:function(d,u){i.f(r(this),d,{set:t(u),enumerable:!0,configurable:!0})}})},902610:function(y,l,e){var a=e(532380),n=e(313223).entries;a({target:"Object",stat:!0},{entries:function(t){return n(t)}})},722108:function(y,l,e){var a=e(532380),n=e(775219),o=e(105978),t=e(97865),r=e(578483).onFreeze,i=Object.freeze,c=o(function(){i(1)});a({target:"Object",stat:!0,forced:c,sham:!n},{freeze:function(u){return i&&t(u)?i(r(u)):u}})},912665:function(y,l,e){var a=e(532380),n=e(705664),o=e(934973);a({target:"Object",stat:!0},{fromEntries:function(r){var i={};return n(r,function(c,d){o(i,c,d)},{AS_ENTRIES:!0}),i}})},294882:function(y,l,e){var a=e(532380),n=e(105978),o=e(610508),t=e(522281).f,r=e(427156),i=n(function(){t(1)}),c=!r||i;a({target:"Object",stat:!0,forced:c,sham:!r},{getOwnPropertyDescriptor:function(u,s){return t(o(u),s)}})},409087:function(y,l,e){var a=e(532380),n=e(427156),o=e(781271),t=e(610508),r=e(522281),i=e(934973);a({target:"Object",stat:!0,sham:!n},{getOwnPropertyDescriptors:function(d){for(var u=t(d),s=r.f,f=o(u),p={},v=0,g,m;f.length>v;)m=s(u,g=f[v++]),m!==void 0&&i(p,g,m);return p}})},645e3:function(y,l,e){var a=e(532380),n=e(105978),o=e(188275).f,t=n(function(){return!Object.getOwnPropertyNames(1)});a({target:"Object",stat:!0,forced:t},{getOwnPropertyNames:o})},430877:function(y,l,e){var a=e(532380),n=e(789539),o=e(105978),t=e(306760),r=e(180240),i=!n||o(function(){t.f(1)});a({target:"Object",stat:!0,forced:i},{getOwnPropertySymbols:function(d){var u=t.f;return u?u(r(d)):[]}})},420907:function(y,l,e){var a=e(532380),n=e(105978),o=e(180240),t=e(95938),r=e(78200),i=n(function(){t(1)});a({target:"Object",stat:!0,forced:i,sham:!r},{getPrototypeOf:function(d){return t(o(d))}})},917632:function(y,l,e){var a=e(532380),n=e(955553);a({target:"Object",stat:!0},{hasOwn:n})},171258:function(y,l,e){var a=e(532380),n=e(211031);a({target:"Object",stat:!0,forced:Object.isExtensible!==n},{isExtensible:n})},355931:function(y,l,e){var a=e(532380),n=e(105978),o=e(97865),t=e(155124),r=e(551405),i=Object.isFrozen,c=n(function(){i(1)});a({target:"Object",stat:!0,forced:c||r},{isFrozen:function(u){return!o(u)||r&&t(u)=="ArrayBuffer"?!0:i?i(u):!1}})},950508:function(y,l,e){var a=e(532380),n=e(105978),o=e(97865),t=e(155124),r=e(551405),i=Object.isSealed,c=n(function(){i(1)});a({target:"Object",stat:!0,forced:c||r},{isSealed:function(u){return!o(u)||r&&t(u)=="ArrayBuffer"?!0:i?i(u):!1}})},55415:function(y,l,e){var a=e(532380),n=e(217311);a({target:"Object",stat:!0},{is:n})},863875:function(y,l,e){var a=e(532380),n=e(180240),o=e(385378),t=e(105978),r=t(function(){o(1)});a({target:"Object",stat:!0,forced:r},{keys:function(c){return o(n(c))}})},524650:function(y,l,e){"use strict";var a=e(532380),n=e(427156),o=e(426135),t=e(180240),r=e(438978),i=e(95938),c=e(522281).f;n&&a({target:"Object",proto:!0,forced:o},{__lookupGetter__:function(u){var s=t(this),f=r(u),p;do if(p=c(s,f))return p.get;while(s=i(s))}})},774963:function(y,l,e){"use strict";var a=e(532380),n=e(427156),o=e(426135),t=e(180240),r=e(438978),i=e(95938),c=e(522281).f;n&&a({target:"Object",proto:!0,forced:o},{__lookupSetter__:function(u){var s=t(this),f=r(u),p;do if(p=c(s,f))return p.set;while(s=i(s))}})},353465:function(y,l,e){var a=e(532380),n=e(97865),o=e(578483).onFreeze,t=e(775219),r=e(105978),i=Object.preventExtensions,c=r(function(){i(1)});a({target:"Object",stat:!0,forced:c,sham:!t},{preventExtensions:function(u){return i&&n(u)?i(o(u)):u}})},676227:function(y,l,e){"use strict";var a=e(427156),n=e(772030),o=e(97865),t=e(180240),r=e(8511),i=Object.getPrototypeOf,c=Object.
vendor: 4,511 bytes, line 12
12setPrototypeOf,d=Object.prototype,u="__proto__";if(a&&i&&c&&!(u in d))try{n(d,u,{configurable:!0,get:function(){return i(t(this))},set:function(f){var p=r(this);!o(f)&&f!==null||!o(p)||c(p,f)}})}catch(s){}},417420:function(y,l,e){var a=e(532380),n=e(97865),o=e(578483).onFreeze,t=e(775219),r=e(105978),i=Object.seal,c=r(function(){i(1)});a({target:"Object",stat:!0,forced:c,sham:!t},{seal:function(u){return i&&n(u)?i(o(u)):u}})},325500:function(y,l,e){var a=e(532380),n=e(900296);a({target:"Object",stat:!0},{setPrototypeOf:n})},460703:function(y,l,e){var a=e(337620),n=e(148134),o=e(206964);a||n(Object.prototype,"toString",o,{unsafe:!0})},572410:function(y,l,e){var a=e(532380),n=e(313223).values;a({target:"Object",stat:!0},{values:function(t){return n(t)}})},62677:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(215852),t=e(121683),r=e(86866),i=e(705664);a({target:"Promise",stat:!0},{allSettled:function(d){var u=this,s=t.f(u),f=s.resolve,p=s.reject,v=r(function(){var g=o(u.resolve),m=[],b=0,C=1;i(d,function(A){var _=b++,P=!1;C++,n(g,u,A).then(function(T){P||(P=!0,m[_]={status:"fulfilled",value:T},--C||f(m))},function(T){P||(P=!0,m[_]={status:"rejected",reason:T},--C||f(m))})}),--C||f(m)});return v.error&&p(v.value),s.promise}})},639866:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(215852),t=e(121683),r=e(86866),i=e(705664),c=e(267933);a({target:"Promise",stat:!0,forced:c},{all:function(u){var s=this,f=t.f(s),p=f.resolve,v=f.reject,g=r(function(){var m=o(s.resolve),b=[],C=0,A=1;i(u,function(_){var P=C++,T=!1;A++,n(m,s,_).then(function(x){T||(T=!0,b[P]=x,--A||p(b))},v)}),--A||p(b)});return g.error&&v(g.value),f.promise}})},732638:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(215852),t=e(174883),r=e(121683),i=e(86866),c=e(705664),d="No one promise resolved";a({target:"Promise",stat:!0},{any:function(s){var f=this,p=t("AggregateError"),v=r.f(f),g=v.resolve,m=v.reject,b=i(function(){var C=o(f.resolve),A=[],_=0,P=1,T=!1;c(s,function(x){var M=_++,U=!1;P++,n(C,f,x).then(function(j){U||T||(T=!0,g(j))},function(j){U||T||(U=!0,A[M]=j,--P||m(new p(A,d)))})}),--P||m(new p(A,d))});return b.error&&m(b.value),v.promise}})},664338:function(y,l,e){"use strict";var a=e(532380),n=e(471746),o=e(630705).CONSTRUCTOR,t=e(879707),r=e(174883),i=e(760331),c=e(148134),d=t&&t.prototype;if(a({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(s){return this.then(void 0,s)}}),!n&&i(t)){var u=r("Promise").prototype.catch;d.catch!==u&&c(d,"catch",u,{unsafe:!0})}},942771:function(y,l,e){"use strict";var a=e(532380),n=e(471746),o=e(453025),t=e(636979),r=e(50067),i=e(148134),c=e(900296),d=e(553837),u=e(812135),s=e(215852),f=e(760331),p=e(97865),v=e(819767),g=e(407973),m=e(471667).set,b=e(880987),C=e(243593),A=e(86866),_=e(512482),P=e(347846),T=e(879707),x=e(630705),M=e(121683),U="Promise",j=x.CONSTRUCTOR,$=x.REJECTION_EVENT,G=x.SUBCLASSING,J=P.getterFor(U),ie=P.set,W=T&&T.prototype,q=T,H=W,X=t.TypeError,k=t.document,ne=t.process,re=M.f,le=re,se=!!(k&&k.createEvent&&t.dispatchEvent),ae="unhandledrejection",pe="rejectionhandled",Pe=0,ve=1,Me=2,ht=1,xt=2,At,Bt,en,Vt,be=function(st){var Ut;return p(st)&&f(Ut=st.then)?Ut:!1},Le=function(st,Ut){var Jt=Ut.value,on=Ut.state==ve,ln=on?st.ok:st.fail,te=st.resolve,Ee=st.reject,Ue=st.domain,ze,Ve,fe;try{ln?(on||(Ut.rejection===xt&&jt(Ut),Ut.rejection=ht),ln===!0?ze=Jt:(Ue&&Ue.enter(),ze=ln(Jt),Ue&&(Ue.exit(),fe=!0)),ze===st.promise?Ee(X("Promise-chain cycle")):(Ve=be(ze))?r(Ve,ze,te,Ee):te(ze)):Ee(Jt)}catch(We){Ue&&!fe&&Ue.exit(),Ee(We)}},Oe=function(st,Ut){st.notified||(st.notified=!0,b(function(){for(var Jt=st.reactions,on;on=Jt.get();)Le(on,st);st.notified=!1,Ut&&!st.rejection&&wt(st)}))},yt=function(st,Ut,Jt){var on,ln;se?(on=k.createEvent("Event"),on.promise=Ut,on.reason=Jt,on.initEvent(st,!1,!0),t.dispatchEvent(on)):on={promise:Ut,reason:Jt},!$&&(ln=t["on"+st])?ln(on):st===ae&&C("Unhandled promise rejection",Jt)},wt=function(st){r(m,t,function(){var Ut=st.facade,Jt=st.value,on=Lt(st),ln;if(on&&(ln=A(function(){o?ne.emit("unhandledRejection",Jt,Ut):yt(ae,Ut,Jt)}),st.rejection=o||Lt(st)?xt:ht,ln.error))throw ln.value})},Lt=function(st){return st.rejection!==ht&&!st.parent},jt=function(st){r(m,t,function(){var Ut=st.facade;o?ne.emit("rejectionHandled",Ut):yt(pe,Ut,st.value)})},Xe=function(st,Ut,Jt){return function(on){st(Ut,on,Jt)}},zt=function(st,Ut,Jt){st.done||(st.done=!0,Jt&&(st=Jt),st.value=Ut,st.state=Me,Oe(st,!0))},nn=function(st,Ut,Jt){if(!st.done){st.done=!0,Jt&&(st=Jt);
vendor: 4,084 bytes, line 12
12try{if(st.facade===Ut)throw X("Promise can't be resolved itself");var on=be(Ut);on?b(function(){var ln={done:!1};try{r(on,Ut,Xe(nn,ln,st),Xe(zt,ln,st))}catch(te){zt(ln,te,st)}}):(st.value=Ut,st.state=ve,Oe(st,!1))}catch(ln){zt({done:!1},ln,st)}}};if(j&&(q=function(Ut){v(this,H),s(Ut),r(At,this);var Jt=J(this);try{Ut(Xe(nn,Jt),Xe(zt,Jt))}catch(on){zt(Jt,on)}},H=q.prototype,At=function(Ut){ie(this,{type:U,done:!1,notified:!1,parent:!1,reactions:new _,rejection:!1,state:Pe,value:void 0})},At.prototype=i(H,"then",function(Ut,Jt){var on=J(this),ln=re(g(this,q));return on.parent=!0,ln.ok=f(Ut)?Ut:!0,ln.fail=f(Jt)&&Jt,ln.domain=o?ne.domain:void 0,on.state==Pe?on.reactions.add(ln):b(function(){Le(ln,on)}),ln.promise}),Bt=function(){var st=new At,Ut=J(st);this.promise=st,this.resolve=Xe(nn,Ut),this.reject=Xe(zt,Ut)},M.f=re=function(st){return st===q||st===en?new Bt(st):le(st)},!n&&f(T)&&W!==Object.prototype)){Vt=W.then,G||i(W,"then",function(Ut,Jt){var on=this;return new q(function(ln,te){r(Vt,on,ln,te)}).then(Ut,Jt)},{unsafe:!0});try{delete W.constructor}catch(st){}c&&c(W,H)}a({global:!0,constructor:!0,wrap:!0,forced:j},{Promise:q}),d(q,U,!1,!0),u(U)},967637:function(y,l,e){"use strict";var a=e(532380),n=e(471746),o=e(879707),t=e(105978),r=e(174883),i=e(760331),c=e(407973),d=e(301503),u=e(148134),s=o&&o.prototype,f=!!o&&t(function(){s.finally.call({then:function(){}},function(){})});if(a({target:"Promise",proto:!0,real:!0,forced:f},{finally:function(v){var g=c(this,r("Promise")),m=i(v);return this.then(m?function(b){return d(g,v()).then(function(){return b})}:v,m?function(b){return d(g,v()).then(function(){throw b})}:v)}}),!n&&i(o)){var p=r("Promise").prototype.finally;s.finally!==p&&u(s,"finally",p,{unsafe:!0})}},481737:function(y,l,e){e(942771),e(639866),e(664338),e(169606),e(638124),e(277053)},169606:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(215852),t=e(121683),r=e(86866),i=e(705664),c=e(267933);a({target:"Promise",stat:!0,forced:c},{race:function(u){var s=this,f=t.f(s),p=f.reject,v=r(function(){var g=o(s.resolve);i(u,function(m){n(g,s,m).then(f.resolve,p)})});return v.error&&p(v.value),f.promise}})},638124:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(121683),t=e(630705).CONSTRUCTOR;a({target:"Promise",stat:!0,forced:t},{reject:function(i){var c=o.f(this);return n(c.reject,void 0,i),c.promise}})},277053:function(y,l,e){"use strict";var a=e(532380),n=e(174883),o=e(471746),t=e(879707),r=e(630705).CONSTRUCTOR,i=e(301503),c=n("Promise"),d=o&&!r;a({target:"Promise",stat:!0,forced:o||r},{resolve:function(s){return i(d&&this===c?t:this,s)}})},665991:function(y,l,e){var a=e(532380),n=e(636979),o=e(553837);a({global:!0},{Reflect:{}}),o(n.Reflect,"Reflect",!0)},59892:function(y,l,e){"use strict";var a=e(532380),n=e(563595);a({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},419578:function(y,l,e){"use strict";var a=e(574002),n=e(952222);a("Set",function(o){return function(){return o(this,arguments.length?arguments[0]:void 0)}},n)},348926:function(y,l,e){e(419578)},909401:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("anchor")},{anchor:function(r){return n(this,"a","name",r)}})},902673:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(8511),t=e(92257),r=e(227876),i=e(105978),c=n("".charAt),d=i(function(){return"\uD842\uDFB7".at(-2)!=="\uD842"});a({target:"String",proto:!0,forced:d},{at:function(s){var f=r(o(this)),p=f.length,v=t(s),g=v>=0?v:p+v;return g<0||g>=p?void 0:c(f,g)}})},165324:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("big")},{big:function(){return n(this,"big","","")}})},626776:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("blink")},{blink:function(){return n(this,"blink","","")}})},408093:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("bold")},{bold:function(){return n(this,"b","","")}})},333181:function(y,l,e){"use strict";
12var a=e(532380),n=e(630192).codeAt;a({target:"String",proto:!0},{codePointAt:function(t){return n(this,t)}})},591458:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(522281).f,t=e(350093),r=e(227876),i=e(970188),c=e(8511),d=e(766327),u=e(471746),s=n("".endsWith),f=n("".slice),p=Math.min,v=d("endsWith"),g=!u&&!v&&!!function(){var m=o(String.prototype,"endsWith");return m&&!m.writable}();a({target:"String",proto:!0,forced:!g&&!v},{endsWith:function(b){var C=r(c(this));i(b);var A=arguments.length>1?arguments[1]:void 0,_=C.length,P=A===void 0?_:p(t(A),_),T=r(b);return s?s(C,T,P):f(C,P-T.length,P)===T}})},32068:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("fixed")},{fixed:function(){return n(this,"tt","","")}})},795660:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("fontcolor")},{fontcolor:function(r){return n(this,"font","color",r)}})},172062:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("fontsize")},{fontsize:function(r){return n(this,"font","size",r)}})},711571:function(y,l,e){var a=e(532380),n=e(497315),o=e(292054),t=RangeError,r=String.fromCharCode,i=String.fromCodePoint,c=n([].join),d=!!i&&i.length!=1;a({target:"String",stat:!0,arity:1,forced:d},{fromCodePoint:function(s){for(var f=[],p=arguments.length,v=0,g;p>v;){if(g=+arguments[v++],o(g,1114111)!==g)throw t(g+" is not a valid code point");f[v]=g<65536?r(g):r(((g-=65536)>>10)+55296,g%1024+56320)}return c(f,"")}})},834124:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(970188),t=e(8511),r=e(227876),i=e(766327),c=n("".indexOf);a({target:"String",proto:!0,forced:!i("includes")},{includes:function(u){return!!~c(r(t(this)),r(o(u)),arguments.length>1?arguments[1]:void 0)}})},3081:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("italics")},{italics:function(){return n(this,"i","","")}})},625829:function(y,l,e){"use strict";var a=e(630192).charAt,n=e(227876),o=e(347846),t=e(227235),r=e(282012),i="String Iterator",c=o.set,d=o.getterFor(i);t(String,"String",function(u){c(this,{type:i,string:n(u),index:0})},function(){var s=d(this),f=s.string,p=s.index,v;return p>=f.length?r(void 0,!0):(v=a(f,p),s.index+=v.length,r(v,!1))})},912359:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("link")},{link:function(r){return n(this,"a","href",r)}})},191101:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(497315),t=e(843674),r=e(282012),i=e(8511),c=e(350093),d=e(227876),u=e(454776),s=e(261602),f=e(155124),p=e(994553),v=e(117025),g=e(917293),m=e(148134),b=e(105978),C=e(540496),A=e(407973),_=e(826439),P=e(609757),T=e(347846),x=e(471746),M=C("matchAll"),U="RegExp String",j=U+" Iterator",$=T.set,G=T.getterFor(j),J=RegExp.prototype,ie=TypeError,W=o("".indexOf),q=o("".matchAll),H=!!q&&!b(function(){q("a",/./)}),X=t(function(re,le,se,ae){$(this,{type:j,regexp:re,string:le,global:se,unicode:ae,done:!1})},U,function(){var re=G(this);if(re.done)return r(void 0,!0);var le=re.regexp,se=re.string,ae=P(le,se);return ae===null?(re.done=!0,r(void 0,!0)):re.global?(d(ae[0])===""&&(le.lastIndex=_(se,c(le.lastIndex),re.unicode)),r(ae,!1)):(re.done=!0,r(ae,!1))}),k=function(ne){var re=u(this),le=d(ne),se=A(re,RegExp),ae=d(v(re)),pe,Pe,ve;return pe=new se(se===RegExp?re.source:re,ae),Pe=!!~W(ae,"g"),ve=!!~W(ae,"u"),pe.lastIndex=c(re.lastIndex),new X(pe,le,Pe,ve)};a({target:"String",proto:!0,forced:H},{matchAll:function(re){var le=i(this),se,ae,pe,Pe;if(s(re)){if(H)return q(le,re)}else{if(p(re)&&(se=d(i(v(re))),!~W(se,"g")))throw ie("`.matchAll` does not allow non-global regexes");if(H)return q(le,re);if(pe=g(re,M),pe===void 0&&x&&f(re)=="RegExp"&&(pe=k),pe)return n(pe,re,le)}return ae=d(le),Pe=new RegExp(re,"g"),x?n(k,Pe,ae):Pe[M](ae)}}),x||M in J||m(J,M,k)},746926:function(y,l,e){"use strict";var a=e(50067),n=e(822739),o=e(454776),t=e(261602),r=e(350093),i=e(227876),c=e(8511),d=e(917293),u=e(826439),s=e(6097
1257);n("match",function(f,p,v){return[function(m){var b=c(this),C=t(m)?void 0:d(m,f);return C?a(C,m,b):new RegExp(m)[f](i(b))},function(g){var m=o(this),b=i(g),C=v(p,m,b);if(C.done)return C.value;if(!m.global)return s(m,b);var A=m.unicode;m.lastIndex=0;for(var _=[],P=0,T;(T=s(m,b))!==null;){var x=i(T[0]);_[P]=x,x===""&&(m.lastIndex=u(b,r(m.lastIndex),A)),P++}return P===0?null:_}]})},631459:function(y,l,e){"use strict";var a=e(532380),n=e(973803).end,o=e(614693);a({target:"String",proto:!0,forced:o},{padEnd:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},484828:function(y,l,e){"use strict";var a=e(532380),n=e(973803).start,o=e(614693);a({target:"String",proto:!0,forced:o},{padStart:function(r){return n(this,r,arguments.length>1?arguments[1]:void 0)}})},676763:function(y,l,e){var a=e(532380),n=e(497315),o=e(610508),t=e(180240),r=e(227876),i=e(220446),c=n([].push),d=n([].join);a({target:"String",stat:!0},{raw:function(s){for(var f=o(t(s).raw),p=i(f),v=arguments.length,g=[],m=0;p>m;){if(c(g,r(f[m++])),m===p)return d(g,"");m<v&&c(g,r(arguments[m]))}}})},175196:function(y,l,e){var a=e(532380),n=e(842632);a({target:"String",proto:!0},{repeat:n})},220833:function(y,l,e){"use strict";var a=e(532380),n=e(50067),o=e(497315),t=e(8511),r=e(760331),i=e(261602),c=e(994553),d=e(227876),u=e(917293),s=e(117025),f=e(719501),p=e(540496),v=e(471746),g=p("replace"),m=TypeError,b=o("".indexOf),C=o("".replace),A=o("".slice),_=Math.max,P=function(T,x,M){return M>T.length?-1:x===""?M:b(T,x,M)};a({target:"String",proto:!0},{replaceAll:function(x,M){var U=t(this),j,$,G,J,ie,W,q,H,X,k=0,ne=0,re="";if(!i(x)){if(j=c(x),j&&($=d(t(s(x))),!~b($,"g")))throw m("`.replaceAll` does not allow non-global regexes");if(G=u(x,g),G)return n(G,x,U,M);if(v&&j)return C(d(U),x,M)}for(J=d(U),ie=d(x),W=r(M),W||(M=d(M)),q=ie.length,H=_(1,q),k=P(J,ie,0);k!==-1;)X=W?d(M(ie,k,J)):f(ie,J,k,[],void 0,M),re+=A(J,ne,k)+X,ne=k+q,k=P(J,ie,k+H);return ne<J.length&&(re+=A(J,ne)),re}})},205954:function(y,l,e){"use strict";var a=e(200111),n=e(50067),o=e(497315),t=e(822739),r=e(105978),i=e(454776),c=e(760331),d=e(261602),u=e(92257),s=e(350093),f=e(227876),p=e(8511),v=e(826439),g=e(917293),m=e(719501),b=e(609757),C=e(540496),A=C("replace"),_=Math.max,P=Math.min,T=o([].concat),x=o([].push),M=o("".indexOf),U=o("".slice),j=function(ie){return ie===void 0?ie:String(ie)},$=function(){return"a".replace(/./,"$0")==="$0"}(),G=function(){return/./[A]?/./[A]("a","$0")==="":!1}(),J=!r(function(){var ie=/./;return ie.exec=function(){var W=[];return W.groups={a:"7"},W},"".replace(ie,"$<a>")!=="7"});t("replace",function(ie,W,q){var H=G?"$":"$0";return[function(k,ne){var re=p(this),le=d(k)?void 0:g(k,A);return le?n(le,k,re,ne):n(W,f(re),k,ne)},function(X,k){var ne=i(this),re=f(X);if(typeof k=="string"&&M(k,H)===-1&&M(k,"$<")===-1){var le=q(W,ne,re,k);if(le.done)return le.value}var se=c(k);se||(k=f(k));var ae=ne.global;if(ae){var pe=ne.unicode;ne.lastIndex=0}for(var Pe=[];;){var ve=b(ne,re);if(ve===null||(x(Pe,ve),!ae))break;var Me=f(ve[0]);Me===""&&(ne.lastIndex=v(re,s(ne.lastIndex),pe))}for(var ht="",xt=0,At=0;At<Pe.length;At++){ve=Pe[At];for(var Bt=f(ve[0]),en=_(P(u(ve.index),re.length),0),Vt=[],be=1;be<ve.length;be++)x(Vt,j(ve[be]));var Le=ve.groups;if(se){var Oe=T([Bt],Vt,en,re);Le!==void 0&&x(Oe,Le);var yt=f(a(k,void 0,Oe))}else yt=m(Bt,re,en,Vt,Le,k);en>=xt&&(ht+=U(re,xt,en)+yt,xt=en+Bt.length)}return ht+U(re,xt)}]},!J||!$||G)},830234:function(y,l,e){"use strict";var a=e(50067),n=e(822739),o=e(454776),t=e(261602),r=e(8511),i=e(217311),c=e(227876),d=e(917293),u=e(609757);n("search",function(s,f,p){return[function(g){var m=r(this),b=t(g)?void 0:d(g,s);return b?a(b,g,m):new RegExp(g)[s](c(m))},function(v){var g=o(this),m=c(v),b=p(f,g,m);if(b.done)return b.value;var C=g.lastIndex;i(C,0)||(g.lastIndex=0);var A=u(g,m);return i(g.lastIndex,C)||(g.lastIndex=C),A===null?-1:A.index}]})},250878:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("small")},{small:function(){return n(this,"small","","")}})},267227:function(y,l,e){"use strict";var a=e(200111),n=e(50067),o=e(497315),t=e(822739),r=e(454776),i=e(261602),c=e(994553),d=e(8511),u=e(407973),s=e(826439),f=e(350093),p=e(227876),v=e(917293),g=e(198040
12),m=e(609757),b=e(563595),C=e(131245),A=e(105978),_=C.UNSUPPORTED_Y,P=4294967295,T=Math.min,x=[].push,M=o(/./.exec),U=o(x),j=o("".slice),$=!A(function(){var G=/(?:)/,J=G.exec;G.exec=function(){return J.apply(this,arguments)};var ie="ab".split(G);return ie.length!==2||ie[0]!=="a"||ie[1]!=="b"});t("split",function(G,J,ie){var W;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?W=function(q,H){var X=p(d(this)),k=H===void 0?P:H>>>0;if(k===0)return[];if(q===void 0)return[X];if(!c(q))return n(J,X,q,k);for(var ne=[],re=(q.ignoreCase?"i":"")+(q.multiline?"m":"")+(q.unicode?"u":"")+(q.sticky?"y":""),le=0,se=new RegExp(q.source,re+"g"),ae,pe,Pe;(ae=n(b,se,X))&&(pe=se.lastIndex,!(pe>le&&(U(ne,j(X,le,ae.index)),ae.length>1&&ae.index<X.length&&a(x,ne,g(ae,1)),Pe=ae[0].length,le=pe,ne.length>=k)));)se.lastIndex===ae.index&&se.lastIndex++;return le===X.length?(Pe||!M(se,""))&&U(ne,""):U(ne,j(X,le)),ne.length>k?g(ne,0,k):ne}:"0".split(void 0,0).length?W=function(q,H){return q===void 0&&H===0?[]:n(J,this,q,H)}:W=J,[function(H,X){var k=d(this),ne=i(H)?void 0:v(H,G);return ne?n(ne,H,k,X):n(W,p(k),H,X)},function(q,H){var X=r(this),k=p(q),ne=ie(W,X,k,H,W!==J);if(ne.done)return ne.value;var re=u(X,RegExp),le=X.unicode,se=(X.ignoreCase?"i":"")+(X.multiline?"m":"")+(X.unicode?"u":"")+(_?"g":"y"),ae=new re(_?"^(?:"+X.source+")":X,se),pe=H===void 0?P:H>>>0;if(pe===0)return[];if(k.length===0)return m(ae,k)===null?[k]:[];for(var Pe=0,ve=0,Me=[];ve<k.length;){ae.lastIndex=_?0:ve;var ht=m(ae,_?j(k,ve):k),xt;if(ht===null||(xt=T(f(ae.lastIndex+(_?ve:0)),k.length))===Pe)ve=s(k,ve,le);else{if(U(Me,j(k,Pe,ve)),Me.length===pe)return Me;for(var At=1;At<=ht.length-1;At++)if(U(Me,ht[At]),Me.length===pe)return Me;ve=Pe=xt}}return U(Me,j(k,Pe)),Me}]},!$,_)},832766:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(522281).f,t=e(350093),r=e(227876),i=e(970188),c=e(8511),d=e(766327),u=e(471746),s=n("".startsWith),f=n("".slice),p=Math.min,v=d("startsWith"),g=!u&&!v&&!!function(){var m=o(String.prototype,"startsWith");return m&&!m.writable}();a({target:"String",proto:!0,forced:!g&&!v},{startsWith:function(b){var C=r(c(this));i(b);var A=t(p(arguments.length>1?arguments[1]:void 0,C.length)),_=r(b);return s?s(C,_,A):f(C,A,A+_.length)===_}})},546515:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("strike")},{strike:function(){return n(this,"strike","","")}})},616052:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("sub")},{sub:function(){return n(this,"sub","","")}})},476370:function(y,l,e){"use strict";var a=e(532380),n=e(497315),o=e(8511),t=e(92257),r=e(227876),i=n("".slice),c=Math.max,d=Math.min,u=!"".substr||"ab".substr(-1)!=="b";a({target:"String",proto:!0,forced:u},{substr:function(f,p){var v=r(o(this)),g=v.length,m=t(f),b,C;return m===1/0&&(m=0),m<0&&(m=c(g+m,0)),b=p===void 0?g:t(p),b<=0||b===1/0?"":(C=d(m+b,g),m>=C?"":i(v,m,C))}})},366893:function(y,l,e){"use strict";var a=e(532380),n=e(350469),o=e(887240);a({target:"String",proto:!0,forced:o("sup")},{sup:function(){return n(this,"sup","","")}})},957794:function(y,l,e){e(725619);var a=e(532380),n=e(95019);a({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==n},{trimEnd:n})},590818:function(y,l,e){var a=e(532380),n=e(954230);a({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==n},{trimLeft:n})},725619:function(y,l,e){var a=e(532380),n=e(95019);a({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==n},{trimRight:n})},932233:function(y,l,e){e(590818);var a=e(532380),n=e(954230);a({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==n},{trimStart:n})},586825:function(y,l,e){"use strict";var a=e(532380),n=e(390056).trim,o=e(782410);a({target:"String",proto:!0,forced:o("trim")},{trim:function(){return n(this)}})},507124:function(y,l,e){var a=e(535862);a("asyncIterator")},389162:function(y,l,e){"use strict";var a=e(532380),n=e(636979),o=e(50067),t=e(497315),r=e(471746),i=e(427156),c=e(789539),d=e(105978),u=e(955553),s=e(393535),f=e(454776),p=e(610508),v=e(438978),g=e(227876),m=e(581927),b=e(171197),C=e(385378),A=e(834078),_=e(188275),P=e(306760),T=e(522281),x=e(723314),M=e(49802),U=e(17446),j=e(148134),$=e(93811
vendor: 9,194 bytes, line 12
127),G=e(598784),J=e(347889),ie=e(870068),W=e(540496),q=e(952358),H=e(535862),X=e(857262),k=e(553837),ne=e(347846),re=e(105497).forEach,le=G("hidden"),se="Symbol",ae="prototype",pe=ne.set,Pe=ne.getterFor(se),ve=Object[ae],Me=n.Symbol,ht=Me&&Me[ae],xt=n.TypeError,At=n.QObject,Bt=T.f,en=x.f,Vt=_.f,be=U.f,Le=t([].push),Oe=$("symbols"),yt=$("op-symbols"),wt=$("wks"),Lt=!At||!At[ae]||!At[ae].findChild,jt=i&&d(function(){return b(en({},"a",{get:function(){return en(this,"a",{value:7}).a}})).a!=7})?function(te,Ee,Ue){var ze=Bt(ve,Ee);ze&&delete ve[Ee],en(te,Ee,Ue),ze&&te!==ve&&en(ve,Ee,ze)}:en,Xe=function(te,Ee){var Ue=Oe[te]=b(ht);return pe(Ue,{type:se,tag:te,description:Ee}),i||(Ue.description=Ee),Ue},zt=function(Ee,Ue,ze){Ee===ve&&zt(yt,Ue,ze),f(Ee);var Ve=v(Ue);return f(ze),u(Oe,Ve)?(ze.enumerable?(u(Ee,le)&&Ee[le][Ve]&&(Ee[le][Ve]=!1),ze=b(ze,{enumerable:m(0,!1)})):(u(Ee,le)||en(Ee,le,m(1,{})),Ee[le][Ve]=!0),jt(Ee,Ve,ze)):en(Ee,Ve,ze)},nn=function(Ee,Ue){f(Ee);var ze=p(Ue),Ve=C(ze).concat(ln(ze));return re(Ve,function(fe){(!i||o(Ut,ze,fe))&&zt(Ee,fe,ze[fe])}),Ee},st=function(Ee,Ue){return Ue===void 0?b(Ee):nn(b(Ee),Ue)},Ut=function(Ee){var Ue=v(Ee),ze=o(be,this,Ue);return this===ve&&u(Oe,Ue)&&!u(yt,Ue)?!1:ze||!u(this,Ue)||!u(Oe,Ue)||u(this,le)&&this[le][Ue]?ze:!0},Jt=function(Ee,Ue){var ze=p(Ee),Ve=v(Ue);if(!(ze===ve&&u(Oe,Ve)&&!u(yt,Ve))){var fe=Bt(ze,Ve);return fe&&u(Oe,Ve)&&!(u(ze,le)&&ze[le][Ve])&&(fe.enumerable=!0),fe}},on=function(Ee){var Ue=Vt(p(Ee)),ze=[];return re(Ue,function(Ve){!u(Oe,Ve)&&!u(J,Ve)&&Le(ze,Ve)}),ze},ln=function(te){var Ee=te===ve,Ue=Vt(Ee?yt:p(te)),ze=[];return re(Ue,function(Ve){u(Oe,Ve)&&(!Ee||u(ve,Ve))&&Le(ze,Oe[Ve])}),ze};c||(Me=function(){if(s(ht,this))throw xt("Symbol is not a constructor");var Ee=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),Ue=ie(Ee),ze=function(Ve){this===ve&&o(ze,yt,Ve),u(this,le)&&u(this[le],Ue)&&(this[le][Ue]=!1),jt(this,Ue,m(1,Ve))};return i&&Lt&&jt(ve,Ue,{configurable:!0,set:ze}),Xe(Ue,Ee)},ht=Me[ae],j(ht,"toString",function(){return Pe(this).tag}),j(Me,"withoutSetter",function(te){return Xe(ie(te),te)}),U.f=Ut,x.f=zt,M.f=nn,T.f=Jt,A.f=_.f=on,P.f=ln,q.f=function(te){return Xe(W(te),te)},i&&(en(ht,"description",{configurable:!0,get:function(){return Pe(this).description}}),r||j(ve,"propertyIsEnumerable",Ut,{unsafe:!0}))),a({global:!0,constructor:!0,wrap:!0,forced:!c,sham:!c},{Symbol:Me}),re(C(wt),function(te){H(te)}),a({target:se,stat:!0,forced:!c},{useSetter:function(){Lt=!0},useSimple:function(){Lt=!1}}),a({target:"Object",stat:!0,forced:!c,sham:!i},{create:st,defineProperty:zt,defineProperties:nn,getOwnPropertyDescriptor:Jt}),a({target:"Object",stat:!0,forced:!c},{getOwnPropertyNames:on}),X(),k(Me,se),J[le]=!0},580486:function(y,l,e){"use strict";var a=e(532380),n=e(427156),o=e(636979),t=e(497315),r=e(955553),i=e(760331),c=e(393535),d=e(227876),u=e(723314).f,s=e(375932),f=o.Symbol,p=f&&f.prototype;if(n&&i(f)&&(!("description"in p)||f().description!==void 0)){var v={},g=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:d(arguments[0]),M=c(p,this)?new f(x):x===void 0?f():f(x);return x===""&&(v[M]=!0),M};s(g,f),g.prototype=p,p.constructor=g;var m=String(f("test"))=="Symbol(test)",b=t(p.valueOf),C=t(p.toString),A=/^Symbol\((.*)\)[^)]+$/,_=t("".replace),P=t("".slice);u(p,"description",{configurable:!0,get:function(){var x=b(this);if(r(v,x))return"";var M=C(x),U=m?P(M,7,-1):_(M,A,"$1");return U===""?void 0:U}}),a({global:!0,constructor:!0,forced:!0},{Symbol:g})}},74705:function(y,l,e){var a=e(532380),n=e(174883),o=e(955553),t=e(227876),r=e(938117),i=e(166548),c=r("string-to-symbol-registry"),d=r("symbol-to-string-registry");a({target:"Symbol",stat:!0,forced:!i},{for:function(u){var s=t(u);if(o(c,s))return c[s];var f=n("Symbol")(s);return c[s]=f,d[f]=s,f}})},189854:function(y,l,e){var a=e(535862);a("hasInstance")},55381:function(y,l,e){var a=e(535862);a("isConcatSpreadable")},27129:function(y,l,e){var a=e(535862);a("iterator")},49589:function(y,l,e){e(389162),e(74705),e(444923),e(590945),e(430877)},444923:function(y,l,e){var a=e(532380),n=e(955553),o=e(818652),t=e(458978),r=e(938117),i=e(166548),c=r("symbol-to-string-registry");a({target:"Symbol",stat:!0,forced:!i},{keyFor:function(u){if(!o(u))throw TypeError(t(u)+" is not a symbol");if(n(c,u))return c[u]}})},473230:function(y,l,e){var a=e(535862);a("matchAll")},553698:function(y,l,e){var a=e(535862);a("match")},212212:function(y,l,e){var a=e(535862);a("replace")},849205:function(y,l,e){var a=e(535862);a("search")},462856:function(y,l,e){var a=e(535862);a("species")},662186:function(y,l,e){var a=e(535862);a("split")},580909:function(y,l,e){var a=e(535862),n=e(857262);a("toPrimitive"),n()},797673:function(y,l,e){var a=e(174883),n=e(535862),o=e(553837);n("toStringTag"),o(a("Symbol"),"Symbol")},898495:function(y,l,e){var a=e(535862);a("unscopables")},24115:function(y,l,e){e(191101)},899509:function(y,l,e){var a=e(636979),n=e(59118),o=e(67278),t=e(216686),r=e(847146),i=function(d){if(d&&d.forEach!==t)try{r(d,"forEach",t)}catch(u){d.forEach=t}};for(var c in n)n[c]&&i(a[c]&&a[c].prototype);i(o)},439589:function(y,l,e){var a=e(636979),n=e(59118),o=e(67278),t=e(340053),r=e(847146),i=e(540496),c=i("iterator"),d=i("toStringTag"),u=t.values,s=function(p,v){if(p){if(p[c]!==u)try{r(p,c,u)}catch(m){p[c]=u}if(p[d]||r(p,d,v),n[v]){for(var g in t)if(p[g]!==t[g])try{r(p,g,t[g])}catch(m){p[g]=t[g]}}}};for(var f in n)s(a[f]&&a[f].prototype,f);s(o,"DOMTokenList")},683250:function(y,l,e){"use strict";e(340053);var a=e(532380),n=e(636979),o=e(50067),t=e(497315),r=e(427156),i=e(217525),c=e(148134),d=e(142352),u=e(553837),s=e(843674),f=e(347846),p=e(819767),v=e(760331),g=e(955553),m=e(930415),b=e(473070),C=e(454776),A=e(97865),_=e(227876),P=e(171197),T=e(581927),x=e(307871),M=e(438619),U=e(64668),j=e(540496),$=e(485062),G=j("iterator"),J="URLSearchParams",ie=J+"Iterator",W=f.set,q=f.getterFor(J),H=f.getterFor(ie),X=Object.getOwnPropertyDescriptor,k=function(Ve){if(!r)return n[Ve];var fe=X(n,Ve);return fe&&fe.value},ne=k("fetch"),re=k("Request"),le=k("Headers"),se=re&&re.prototype,ae=le&&le.prototype,pe=n.RegExp,Pe=n.TypeError,ve=n.decodeURIComponent,Me=n.encodeURIComponent,ht=t("".charAt),xt=t([].join),At=t([].push),Bt=t("".replace),en=t([].shift),Vt=t([].splice),be=t("".split),Le=t("".slice),Oe=/\+/g,yt=Array(4),wt=function(Ve){return yt[Ve-1]||(yt[Ve-1]=pe("((?:%[\\da-f]{2}){"+Ve+"})","gi"))},Lt=function(Ve){try{return ve(Ve)}catch(fe){return Ve}},jt=function(Ve){var fe=Bt(Ve,Oe," "),We=4;try{return ve(fe)}catch(tt){for(;We;)fe=Bt(fe,wt(We--),Lt);return fe}},Xe=/[!'()~]|%20/g,zt={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},nn=function(Ve){return zt[Ve]},st=function(Ve){return Bt(Me(Ve),Xe,nn)},Ut=s(function(fe,We){W(this,{type:ie,iterator:x(q(fe).entries),kind:We})},"Iterator",function(){var fe=H(this),We=fe.kind,tt=fe.iterator.next(),St=tt.value;return tt.done||(tt.value=We==="keys"?St.key:We==="values"?St.value:[St.key,St.value]),tt},!0),Jt=function(Ve){this.entries=[],this.url=null,Ve!==void 0&&(A(Ve)?this.parseObject(Ve):this.parseQuery(typeof Ve=="string"?ht(Ve,0)==="?"?Le(Ve,1):Ve:_(Ve)))};Jt.prototype={type:J,bindURL:function(Ve){this.url=Ve,this.update()},parseObject:function(Ve){var fe=M(Ve),We,tt,St,Gt,Zt,Un,Yt;if(fe)for(We=x(Ve,fe),tt=We.next;!(St=o(tt,We)).done;){if(Gt=x(C(St.value)),Zt=Gt.next,(Un=o(Zt,Gt)).done||(Yt=o(Zt,Gt)).done||!o(Zt,Gt).done)throw Pe("Expected sequence with length 2");At(this.entries,{key:_(Un.value),value:_(Yt.value)})}else for(var jn in Ve)g(Ve,jn)&&At(this.entries,{key:jn,value:_(Ve[jn])})},parseQuery:function(Ve){if(Ve)for(var fe=be(Ve,"&"),We=0,tt,St;We<fe.length;)tt=fe[We++],tt.length&&(St=be(tt,"="),At(this.entries,{key:jt(en(St)),value:jt(xt(St,"="))}))},serialize:function(){for(var Ve=this.entries,fe=[],We=0,tt;We<Ve.length;)tt=Ve[We++],At(fe,st(tt.key)+"="+st(tt.value));return xt(fe,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var on=function(){p(this,ln);var fe=arguments.length>0?arguments[0]:void 0;W(this,new Jt(fe))},ln=on.prototype;if(d(ln,{append:function(fe,We){U(arguments.length,2);var tt=q(this);At(tt.entries,{key:_(fe),value:_(We)}),tt.updateURL()},delete:function(Ve){U(arguments.length,1);for(var fe=q(this),We=fe.entries,tt=_(Ve),St=0;St<We.length;)We[St].key===tt?Vt(We,St,1):St++;fe.updateURL()},get:function(fe){U(arguments.length,1);for(var We=q(this).entries,tt=_(fe),St=0;St<We.length;St++)if(We[St].key===tt)return We[St].value;return null},getAll:function(fe){U(arguments.length,1);for(var We=q(this).entries,tt=_(fe),St=[],Gt=0;Gt<We.length;Gt++)We[Gt].key===tt&&At(St,We[Gt].value);return St},has:function(fe){U(arguments.length,1);for(var We=q(this).entries,tt=_(fe),St=0;St<We.length;)if(We[St++].key===tt)return!0;return!1},set:function(fe,We){U(arguments.length,1);for(var tt=q(this),St=tt.entries,Gt=!1,Zt=_(fe),Un=_(We),Yt=0,jn;Yt<St.length;Yt++)jn=St[Yt],jn.key===Zt&&(Gt?Vt(St,Yt--,1):(Gt=!0,jn.value=Un));Gt||At(St,{key:Zt,value:Un}),tt.updateURL()},sort:function(){var fe=q(this);$(fe.entries,function(We,tt){return We.key>tt.key?1:-1}),fe.updateURL()}
12,forEach:function(fe){for(var We=q(this).entries,tt=m(fe,arguments.length>1?arguments[1]:void 0),St=0,Gt;St<We.length;)Gt=We[St++],tt(Gt.value,Gt.key,this)},keys:function(){return new Ut(this,"keys")},values:function(){return new Ut(this,"values")},entries:function(){return new Ut(this,"entries")}},{enumerable:!0}),c(ln,G,ln.entries,{name:"entries"}),c(ln,"toString",function(){return q(this).serialize()},{enumerable:!0}),u(on,J),a({global:!0,constructor:!0,forced:!i},{URLSearchParams:on}),!i&&v(le)){var te=t(ae.has),Ee=t(ae.set),Ue=function(Ve){if(A(Ve)){var fe=Ve.body,We;if(b(fe)===J)return We=Ve.headers?new le(Ve.headers):new le,te(We,"content-type")||Ee(We,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),P(Ve,{body:T(0,_(fe)),headers:T(0,We)})}return Ve};if(v(ne)&&a({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(fe){return ne(fe,arguments.length>1?Ue(arguments[1]):{})}}),v(re)){var ze=function(fe){return p(this,se),new re(fe,arguments.length>1?Ue(arguments[1]):{})};se.constructor=ze,ze.prototype=se,a({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:ze})}}y.exports={URLSearchParams:on,getState:q}},541942:function(y,l,e){e(683250)},968382:function(y,l,e){e(899509);var a=e(216686);y.exports=a},894663:function(y,l,e){var a=e(655961);e(439589),y.exports=a},655961:function(y,l,e){e(541942);var a=e(626003);y.exports=a.URLSearchParams},596852:function(y,l){"use strict";l.__esModule=!0;var e={linear:function(n,o,t,r){return t*n/r+o},easeInQuad:function(n,o,t,r){return t*(n/=r)*n+o},easeOutQuad:function(n,o,t,r){return-t*(n/=r)*(n-2)+o},easeInOutQuad:function(n,o,t,r){return(n/=r/2)<1?t/2*n*n+o:-t/2*(--n*(n-2)-1)+o},easeInCubic:function(n,o,t,r){return t*(n/=r)*n*n+o},easeOutCubic:function(n,o,t,r){return t*((n=n/r-1)*n*n+1)+o},easeInOutCubic:function(n,o,t,r){return(n/=r/2)<1?t/2*n*n*n+o:t/2*((n-=2)*n*n+2)+o},easeInQuart:function(n,o,t,r){return t*(n/=r)*n*n*n+o},easeOutQuart:function(n,o,t,r){return-t*((n=n/r-1)*n*n*n-1)+o},easeInOutQuart:function(n,o,t,r){return(n/=r/2)<1?t/2*n*n*n*n+o:-t/2*((n-=2)*n*n*n-2)+o},easeInQuint:function(n,o,t,r){return t*(n/=r)*n*n*n*n+o},easeOutQuint:function(n,o,t,r){return t*((n=n/r-1)*n*n*n*n+1)+o},easeInOutQuint:function(n,o,t,r){return(n/=r/2)<1?t/2*n*n*n*n*n+o:t/2*((n-=2)*n*n*n*n+2)+o},easeInSine:function(n,o,t,r){return-t*Math.cos(n/r*(Math.PI/2))+t+o},easeOutSine:function(n,o,t,r){return t*Math.sin(n/r*(Math.PI/2))+o},easeInOutSine:function(n,o,t,r){return-t/2*(Math.cos(Math.PI*n/r)-1)+o},easeInExpo:function(n,o,t,r){var i;return(i=n===0)!==null?i:{b:t*Math.pow(2,10*(n/r-1))+o}},easeOutExpo:function(n,o,t,r){var i;return(i=n===r)!==null?i:o+{c:t*(-Math.pow(2,-10*n/r)+1)+o}},easeInOutExpo:function(n,o,t,r){return n===r&&o+t,(n/=r/2)<1?t/2*Math.pow(2,10*(n-1))+o:t/2*(-Math.pow(2,-10*--n)+2)+o},easeInCirc:function(n,o,t,r){return-t*(Math.sqrt(1-(n/=r)*n)-1)+o},easeOutCirc:function(n,o,t,r){return t*Math.sqrt(1-(n=n/r-1)*n)+o},easeInOutCirc:function(n,o,t,r){return(n/=r/2)<1?-t/2*(Math.sqrt(1-n*n)-1)+o:t/2*(Math.sqrt(1-(n-=2)*n)+1)+o},easeInElastic:function(n,o,t,r){var i,c,d;return d=1.70158,c=0,i=t,n===0||(n/=r)===1&&o+t,c||(c=r*.3),i<Math.abs(t)?(i=t,d=c/4):d=c/(2*Math.PI)*Math.asin(t/i),-(i*Math.pow(2,10*(n-=1))*Math.sin((n*r-d)*(2*Math.PI)/c))+o},easeOutElastic:function(n,o,t,r){var i,c,d;return d=1.70158,c=0,i=t,n===0||(n/=r)===1&&o+t,c||(c=r*.3),i<Math.abs(t)?(i=t,d=c/4):d=c/(2*Math.PI)*Math.asin(t/i),i*Math.pow(2,-10*n)*Math.sin((n*r-d)*(2*Math.PI)/c)+t+o},easeInOutElastic:function(n,o,t,r){var i,c,d;return d=1.70158,c=0,i=t,n===0||(n/=r/2)===2&&o+t,c||(c=r*(.3*1.5)),i<Math.abs(t)?(i=t,d=c/4):d=c/(2*Math.PI)*Math.asin(t/i),n<1?-.5*(i*Math.pow(2,10*(n-=1))*Math.sin((n*r-d)*(2*Math.PI)/c))+o:i*Math.pow(2,-10*(n-=1))*Math.sin((n*r-d)*(2*Math.PI)/c)*.5+t+o},easeInBack:function(n,o,t,r,i){return i===void 0&&(i=1.70158),t*(n/=r)*n*((i+1)*n-i)+o},easeOutBack:function(n,o,t,r,i){return i===void 0&&(i=1.70158),t*((n=n/r-1)*n*((i+1)*n+i)+1)+o},easeInOutBack:function(n,o,t,r,i){return i===void 0&&(i=1.70158),(n/=r/2)<1?t/2*(n*n*(((i*=1.525)+1)*n-i))+o:t/2*((n-=2)*n*(((i*=1.525)+1)*n+i)+2)+o},easeInBounce:function(n,o,t,r){var i;return i=e.easeOutBounce(r-n,0,t,r),t-i+o},easeOutBounce:function(n,o,t,r){return(n/=r)<1/2.75?t*(7.5625*n*n)+o:n<2/2.75?t*(7.5625*(n-=1.5/2.75)*n+.75)+o:n<2.5/2.75?t*(7.5625*(n-=2.25/2.75)*n+.9375)+o:t*(7.5625*(n-=2.625/2.75)*n+.984375)+o},easeInOutBounce:function(n,o,t,r){var i;return n<r/2?(i=e.easeInBounce(n*2,0,t,r),i*.5+o):(i=e.easeOutBounce(n*2-r,0,t,r),i*.5+t*.5+o)}};l.default=e,y.exports=l.default},189229:function(y,l,e){"use strict";y.exports=function(){if(typeof globalThis=="object")return globalThis;var a;try{a=this||new Function("return this")()}catch(n){if(typeof window=="object")return window;if(typeof self=="object")return self;if(typeof e.g!="undefined")return e.g}return a}()},187826:function(y){"use strict";var l=function(e,a,n,o,t,r,i,c){if(!e){var d;if(a===void 0)d=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,o,t,r,i,c],s=0;d=new Error("Invariant Violation: "+a.replace(/%s/g,function(){return u[s++]}))}throw d.framesToPop=1,d}};y.exports=l},511828:function(y,l,e){y.exports.Dispatcher=e(970968)},970968:function(y,l,e){"use strict";
12l.__esModule=!0;function a(r,i){if(!(r instanceof i))throw new TypeError("Cannot call a class as a function")}var n=e(187826),o="ID_",t=function(){function r(){a(this,r),this._callbacks={},this._isDispatching=!1,this._isHandled={},this._isPending={},this._lastID=1}return r.prototype.register=function(c){var d=o+this._lastID++;return this._callbacks[d]=c,d},r.prototype.unregister=function(c){this._callbacks[c]||n(!1),delete this._callbacks[c]},r.prototype.waitFor=function(c){this._isDispatching||n(!1);for(var d=0;d<c.length;d++){var u=c[d];if(this._isPending[u]){this._isHandled[u]||n(!1);continue}this._callbacks[u]||n(!1),this._invokeCallback(u)}},r.prototype.dispatch=function(c){this._isDispatching&&n(!1),this._startDispatching(c);try{for(var d in this._callbacks)this._isPending[d]||this._invokeCallback(d)}finally{this._stopDispatching()}},r.prototype.isDispatching=function(){return this._isDispatching},r.prototype._invokeCallback=function(c){this._isPending[c]=!0,this._callbacks[c](this._pendingPayload),this._isHandled[c]=!0},r.prototype._startDispatching=function(c){for(var d in this._callbacks)this._isPending[d]=!1,this._isHandled[d]=!1;this._pendingPayload=c,this._isDispatching=!0},r.prototype._stopDispatching=function(){delete this._pendingPayload,this._isDispatching=!1},r}();y.exports=t},528254:function(y){y.exports=l;function l(){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=l;function l(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=l;function l(e,a,n){var o=Math.sin(n),t=Math.cos(n),r=a[4],i=a[5],c=a[6],d=a[7],u=a[8],s=a[9],f=a[10],p=a[11];return a!==e&&(e[0]=a[0],e[1]=a[1],e[2]=a[2],e[3]=a[3],e[12]=a[12],e[13]=a[13],e[14]=a[14],e[15]=a[15]),e[4]=r*t+u*o,e[5]=i*t+s*o,e[6]=c*t+f*o,e[7]=d*t+p*o,e[8]=u*t-r*o,e[9]=s*t-i*o,e[10]=f*t-c*o,e[11]=p*t-d*o,e}},186375:function(y){y.exports=l;function l(e,a,n){var o=Math.sin(n),t=Math.cos(n),r=a[0],i=a[1],c=a[2],d=a[3],u=a[8],s=a[9],f=a[10],p=a[11];return a!==e&&(e[4]=a[4],e[5]=a[5],e[6]=a[6],e[7]=a[7],e[12]=a[12],e[13]=a[13],e[14]=a[14],e[15]=a[15]),e[0]=r*t-u*o,e[1]=i*t-s*o,e[2]=c*t-f*o,e[3]=d*t-p*o,e[8]=r*o+u*t,e[9]=i*o+s*t,e[10]=c*o+f*t,e[11]=d*o+p*t,e}},907223:function(y){y.exports=l;function l(e,a,n){var o=n[0],t=n[1],r=n[2];return e[0]=a[0]*o,e[1]=a[1]*o,e[2]=a[2]*o,e[3]=a[3]*o,e[4]=a[4]*t,e[5]=a[5]*t,e[6]=a[6]*t,e[7]=a[7]*t,e[8]=a[8]*r,e[9]=a[9]*r,e[10]=a[10]*r,e[11]=a[11]*r,e[12]=a[12],e[13]=a[13],e[14]=a[14],e[15]=a[15],e}},676727:function(y){y.exports=l;function l(e,a,n){var o=n[0],t=n[1],r=n[2],i,c,d,u,s,f,p,v,g,m,b,C;return a===e?(e[12]=a[0]*o+a[4]*t+a[8]*r+a[12],e[13]=a[1]*o+a[5]*t+a[9]*r+a[13],e[14]=a[2]*o+a[6]*t+a[10]*r+a[14],e[15]=a[3]*o+a[7]*t+a[11]*r+a[15]):(i=a[0],c=a[1],d=a[2],u=a[3],s=a[4],f=a[5],p=a[6],v=a[7],g=a[8],m=a[9],b=a[10],C=a[11],e[0]=i,e[1]=c,e[2]=d,e[3]=u,e[4]=s,e[5]=f,e[6]=p,e[7]=v,e[8]=g,e[9]=m,e[10]=b,e[11]=C,e[12]=i*o+s*t+g*r+a[12],e[13]=c*o+f*t+m*r+a[13],e[14]=d*o+p*t+b*r+a[14],e[15]=u*o+v*t+C*r+a[15]),e}},263001:function(y){y.exports=l;function l(e,a){return e[0]=a[0],e[1]=a[1],e}},349509:function(y){y.exports=l;function l(e){var a=e[0],n=e[1];return Math.sqrt(a*a+n*n)}},928152:function(y){y.exports=l;function l(e,a,n){var o=Math.cos(n),t=Math.sin(n),r=a[0],i=a[1];return e[0]=r*o-i*t,e[1]=r*t+i*o,e}},425534:function(y,l,e){y.exports=e(133173)},133173:function(y){y.exports=l;function l(e,a,n){return e[0]=a[0]-n[0],e[1]=a[1]-n[1],e}},226941:function(y){y.exports=l;function l(e,a){return e[0]=a[0],e[1]=a[1],e[2]=a[2],e}},176857:function(y){y.exports=l;function l(e,a){var n=a[0]-e[0],o=a[1]-e[1],t=a[2]-e[2];return Math.sqrt(n*n+o*o+t*t)}},709871:function(y){y.exports=l;function l(e,a){var n=a[0],o=a[1],t=a[2],r=n*n+o*o+t*t;return r>0&&(r=1/Math.sqrt(r),e[0]=a[0]*r,e[1]=a[1]*r,e[2]=a[2]*r),e}},316514:function(y){y.exports=l;function l(e,a,n,o){return e[0]=a,e[1]=n,e[2]=o,e}},138903:function(y,l,e){y.exports=e(517723)},517723:function(y){y.exports=l;function l(e,a,n){return e[0]=a[0]-n[0],e[1]=a[1]-n[1],e[2]=a[2]-n[2],e}},192628:function(y,l,e){"use strict";var a=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},o={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},i={};i[a.ForwardRef]=t,i[a.Memo]=r;function c(m){return a.isMemo(m)?r:i[m.$$typeof]||n}var d=Object.defineProperty,u=Object.getOwnPropertyNames,s=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,v=Object.prototype;function g(m,b,C){if(typeof b!="string"){if(v){var A=p(b);A&&A!==v&&g(m,A,C)}var _=u(b);s&&(_=_.concat(s(b)));for(var P=c(m),T=c(b),x=0;x<_.length;++x){var M=_[x];if(!o[M]&&!(C&&C[M])&&!(T&&T[M])&&!(P&&P[M])){var U=f(b,M);try{d(m,M,U)}catch(j){}}}}return m}y.exports=g},387966:function(y){typeof Object.create=="function"?y.exports=function(e,a){e.super_=a,e.prototype=Object.create(a.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:y.exports=function(e,a){e.super_=a;var n=function(){};n.prototype=a.prototype,e.prototype=new n,e.prototype.constructor=e}},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")}},579085:function(y){y.exports=l;function l(e){return!!e&&(typeof e=="object"||typeof e=="function")&&typeof e.then=="function"}},568324:function(y,l){var e,a,n;(function(o,t){a=[],e=t,n=typeof e=="function"?e.apply(l,a):e,n!==void 0&&(y.exports=n)})(this,function(){var o=function(){},t={},r={},i={};function c(p,v){p=p.push?p:[p];var g=[],m=p.length,b=m,C,A,_,P;for(C=function(T,x){x.length&&g.push(T),b--,b||v(g)};m--;){if(A=p[m],_=r[A],_){C(A,_);continue}P=i[A]=i[A]||[],P.push(C)}}function d(p,v){if(p){var g=i[p];if(r[p]=v,!!g)for(;g.length;)g[0](p,v),g.splice(0,1)}}function u(p,v,g,m){var b=document,C=g.async,A=(g.numRetries||0)+1,_=g.before||o,P,T;m=m||0,/(^css!|\.css$)/.test(p)?(P=!0,T=b.createElement("link"),T.rel="stylesheet",T.href=p.replace(/^css!/,"")):(T=b.createElement("script"),T.src=p,T.async=C===void 0?!0:C),T.onload=T.onerror=T.onbeforeload=function(x){var M=x.type[0];if(P&&"hideFocus"in T)try{T.sheet.cssText.length||(M="e")}catch(U){M="e"}if(M=="e"&&(m+=1,m<A))return u(p,v,g,m);v(p,M,x.defaultPrevented)},_(p,T)!==!1&&b.head.appendChild(T)}function s(p,v,g){p=p.push?p:[p];var m=p.length,b=m,C=[],A,_;for(A=function(P,T,x){if(T=="e"&&C.push(P),T=="b")if(x)C.push(P);else return;m--,m||v(C)},_=0;_<b;_++)u(p[_],A,g)}function f(p,v,g){var m,b;if(v&&v.trim&&(m=v),b=(m?g:v)||{},m){if(m in t)throw"LoadJS";t[m]=!0}s(p,function(C){C.length?(b.error||o)(C):(b.success||o)(),d(m,C)},b)}return f.ready=function(v,g){return c(v,function(m){m.length?(g.error||o)(m):(g.success||o)()}),f},f.done=function(v){d(v,[])},f.reset=function(){t={},r={},i={}}
12,f.isDefined=function(v){return v in t},f})},734301:function(y,l){var e,a,n;(function(o,t){a=[],e=t,n=typeof e=="function"?e.apply(l,a):e,n!==void 0&&(y.exports=n)})(this,function(){var o=function(){},t={},r={},i={};function c(v,g){v=v.push?v:[v];var m=[],b=v.length,C=b,A,_,P,T;for(A=function(x,M){M.length&&m.push(x),C--,C||g(m)};b--;){if(_=v[b],P=r[_],P){A(_,P);continue}T=i[_]=i[_]||[],T.push(A)}}function d(v,g){if(v){var m=i[v];if(r[v]=g,!!m)for(;m.length;)m[0](v,g),m.splice(0,1)}}function u(v,g){v.call&&(v={success:v}),g.length?(v.error||o)(g):(v.success||o)(v)}function s(v,g,m,b){var C=document,A=m.async,_=(m.numRetries||0)+1,P=m.before||o,T=v.replace(/^(css|img)!/,""),x,M;b=b||0,/(^css!|\.css$)/.test(v)?(M=C.createElement("link"),M.rel="stylesheet",M.href=T,x="hideFocus"in M,x&&M.relList&&(x=0,M.rel="preload",M.as="style")):/(^img!|\.(png|gif|jpg|svg)$)/.test(v)?(M=C.createElement("img"),M.src=T):(M=C.createElement("script"),M.src=v,M.async=A===void 0?!0:A),M.onload=M.onerror=M.onbeforeload=function(U){var j=U.type[0];if(x)try{M.sheet.cssText.length||(j="e")}catch($){$.code!=18&&(j="e")}if(j=="e"){if(b+=1,b<_)return s(v,g,m,b)}else if(M.rel=="preload"&&M.as=="style")return M.rel="stylesheet";g(v,j,U.defaultPrevented)},P(v,M)!==!1&&C.head.appendChild(M)}function f(v,g,m){v=v.push?v:[v];var b=v.length,C=b,A=[],_,P;for(_=function(T,x,M){if(x=="e"&&A.push(T),x=="b")if(M)A.push(T);else return;b--,b||g(A)},P=0;P<C;P++)s(v[P],_,m)}function p(v,g,m){var b,C;if(g&&g.trim&&(b=g),C=(b?m:g)||{},b){if(b in t)throw"LoadJS";t[b]=!0}function A(_,P){f(v,function(T){u(C,T),_&&u({success:_,error:P},T),d(b,T)},C)}if(C.returnPromise)return new Promise(A);A()}return p.ready=function(g,m){return c(g,function(b){u(m,b)}),p},p.done=function(g){d(g,[])},p.reset=function(){t={},r={},i={}},p.isDefined=function(g){return g in t},p})},325912:function(y){function l(e,a,n,o){for(var t=-1,r=e==null?0:e.length;++t<r;){var i=e[t];a(o,i,n(i),e)}return o}y.exports=l},728197:function(y){function l(e,a){for(var n=-1,o=e==null?0:e.length;++n<o&&a(e[n],n,e)!==!1;);return e}y.exports=l},501056:function(y){function l(e){return e.split("")}y.exports=l},417362:function(y,l,e){var a=e(666814),n=e(768824),o=Object.prototype,t=o.hasOwnProperty;function r(i,c,d){var u=i[c];(!(t.call(i,c)&&n(u,d))||d===void 0&&!(c in i))&&a(i,c,d)}y.exports=r},657915:function(y,l,e){var a=e(722887);function n(o,t,r,i){return a(o,function(c,d,u){t(i,c,r(c),u)}),i}y.exports=n},808223:function(y,l,e){var a=e(98839),n=e(935215);function o(t,r){return t&&a(r,n(r),t)}y.exports=o},291597:function(y,l,e){var a=e(98839),n=e(726146);function o(t,r){return t&&a(r,n(r),t)}y.exports=o},666814:function(y,l,e){var a=e(343563);function n(o,t,r){t=="__proto__"&&a?a(o,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):o[t]=r}y.exports=n},39171:function(y){function l(e,a,n){return e===e&&(n!==void 0&&(e=e<=n?e:n),a!==void 0&&(e=e>=a?e:a)),e}y.exports=l},162482:function(y,l,e){var a=e(547578),n=e(728197),o=e(417362),t=e(808223),r=e(291597),i=e(144686),c=e(195338),d=e(667366),u=e(503982),s=e(691011),f=e(299953),p=e(518921),v=e(897463),g=e(412210),m=e(276249),b=e(195593),C=e(651023),A=e(85558),_=e(58980),P=e(160571),T=e(935215),x=e(726146),M=1,U=2,j=4,$="[object Arguments]",G="[object Array]",J="[object Boolean]",ie="[object Date]",W="[object Error]",q="[object Function]",H="[object GeneratorFunction]",X="[object Map]",k="[object Number]",ne="[object Object]",re="[object RegExp]",le="[object Set]",se="[object String]",ae="[object Symbol]",pe="[object WeakMap]",Pe="[object ArrayBuffer]",ve="[object DataView]",Me="[object Float32Array]",ht="[object Float64Array]",xt="[object Int8Array]",At="[object Int16Array]",Bt="[object Int32Array]",en="[object Uint8Array]",Vt="[object Uint8ClampedArray]",be="[object Uint16Array]",Le="[object Uint32Array]",Oe={};Oe[$]=Oe[G]=Oe[Pe]=Oe[ve]=Oe[J]=Oe[ie]=Oe[Me]=Oe[ht]=Oe[xt]=Oe[At]=Oe[Bt]=Oe[X]=Oe[k]=Oe[ne]=Oe[re]=Oe[le]=Oe[se]=Oe[ae]=Oe[en]=Oe[Vt]=Oe[be]=Oe[Le]=!0,Oe[W]=Oe[q]=Oe[pe]=!1;function yt(wt,Lt,jt,Xe,zt,nn){var st,Ut=Lt&M,Jt=Lt&U,on=Lt&j;if(jt&&(st=zt?jt(wt,Xe,zt,nn):jt(wt)),st!==void 0)return st;if(!_(wt))return wt;var ln=b(wt);
12if(ln){if(st=v(wt),!Ut)return c(wt,st)}else{var te=p(wt),Ee=te==q||te==H;if(C(wt))return i(wt,Ut);if(te==ne||te==$||Ee&&!zt){if(st=Jt||Ee?{}:m(wt),!Ut)return Jt?u(wt,r(st,wt)):d(wt,t(st,wt))}else{if(!Oe[te])return zt?wt:{};st=g(wt,te,Ut)}}nn||(nn=new a);var Ue=nn.get(wt);if(Ue)return Ue;nn.set(wt,st),P(wt)?wt.forEach(function(fe){st.add(yt(fe,Lt,jt,fe,wt,nn))}):A(wt)&&wt.forEach(function(fe,We){st.set(We,yt(fe,Lt,jt,We,wt,nn))});var ze=on?Jt?f:s:Jt?x:T,Ve=ln?void 0:ze(wt);return n(Ve||wt,function(fe,We){Ve&&(We=fe,fe=wt[We]),o(st,We,yt(fe,Lt,jt,We,wt,nn))}),st}y.exports=yt},836272:function(y,l,e){var a=e(58980),n=Object.create,o=function(){function t(){}return function(r){if(!a(r))return{};if(n)return n(r);t.prototype=r;var i=new t;return t.prototype=void 0,i}}();y.exports=o},790344:function(y){function l(e,a,n,o){for(var t=e.length,r=n+(o?1:-1);o?r--:++r<t;)if(a(e[r],r,e))return r;return-1}y.exports=l},979992:function(y){function l(e,a,n){var o;return n(e,function(t,r,i){if(a(t,r,i))return o=r,!1}),o}y.exports=l},390889:function(y,l,e){var a=e(790344),n=e(545186),o=e(943476);function t(r,i,c){return i===i?o(r,i,c):a(r,n,c)}y.exports=t},431345:function(y,l,e){var a=e(955232);function n(o,t,r,i){return a(o,function(c,d,u){t(i,r(c),d,u)}),i}y.exports=n},134547:function(y,l,e){var a=e(518921),n=e(301602),o="[object Map]";function t(r){return n(r)&&a(r)==o}y.exports=t},545186:function(y){function l(e){return e!==e}y.exports=l},325330:function(y,l,e){var a=e(518921),n=e(301602),o="[object Set]";function t(r){return n(r)&&a(r)==o}y.exports=t},511196:function(y,l,e){var a=e(58980),n=e(605928),o=e(583790),t=Object.prototype,r=t.hasOwnProperty;function i(c){if(!a(c))return o(c);var d=n(c),u=[];for(var s in c)s=="constructor"&&(d||!r.call(c,s))||u.push(s);return u}y.exports=i},659360:function(y,l,e){var a=e(712869),n=e(455070),o=e(335945);function t(r,i,c){for(var d=-1,u=i.length,s={};++d<u;){var f=i[d],p=a(r,f);c(p,f)&&n(s,o(f,r),p)}return s}y.exports=t},455070:function(y,l,e){var a=e(417362),n=e(335945),o=e(843765),t=e(58980),r=e(678958);function i(c,d,u,s){if(!t(c))return c;d=n(d,c);for(var f=-1,p=d.length,v=p-1,g=c;g!=null&&++f<p;){var m=r(d[f]),b=u;if(m==="__proto__"||m==="constructor"||m==="prototype")return c;if(f!=v){var C=g[m];b=s?s(C,m,g):void 0,b===void 0&&(b=t(C)?C:o(d[f+1])?[]:{})}a(g,m,b),g=g[m]}return c}y.exports=i},553911:function(y){function l(e,a,n){var o=-1,t=e.length;a<0&&(a=-a>t?0:t+a),n=n>t?t:n,n<0&&(n+=t),t=a>n?0:n-a>>>0,a>>>=0;for(var r=Array(t);++o<t;)r[o]=e[o+a];return r}y.exports=l},364687:function(y,l,e){var a=e(553911);function n(o,t,r){var i=o.length;return r=r===void 0?i:r,!t&&r>=i?o:a(o,t,r)}y.exports=n},521657:function(y,l,e){var a=e(390889);function n(o,t){for(var r=o.length;r--&&a(t,o[r],0)>-1;);return r}y.exports=n},653420:function(y,l,e){var a=e(390889);function n(o,t){for(var r=-1,i=o.length;++r<i&&a(t,o[r],0)>-1;);return r}y.exports=n},430415:function(y,l,e){var a=e(892252);function n(o){var t=new o.constructor(o.byteLength);return new a(t).set(new a(o)),t}y.exports=n},144686:function(y,l,e){y=e.nmd(y);var a=e(769795),n=l&&!l.nodeType&&l,o=n&&!0&&y&&!y.nodeType&&y,t=o&&o.exports===n,r=t?a.Buffer:void 0,i=r?r.allocUnsafe:void 0;function c(d,u){if(u)return d.slice();var s=d.length,f=i?i(s):new d.constructor(s);return d.copy(f),f}y.exports=c},639081:function(y,l,e){var a=e(430415);function n(o,t){var r=t?a(o.buffer):o.buffer;return new o.constructor(r,o.byteOffset,o.byteLength)}y.exports=n},332439:function(y){var l=/\w*$/;function e(a){var n=new a.constructor(a.source,l.exec(a));return n.lastIndex=a.lastIndex,n}y.exports=e},563555:function(y,l,e){var a=e(655730),n=a?a.prototype:void 0,o=n?n.valueOf:void 0;function t(r){return o?Object(o.call(r)):{}}y.exports=t},327640:function(y,l,e){var a=e(430415);function n(o,t){var r=t?a(o.buffer):o.buffer;return new o.constructor(r,o.byteOffset,o.length)}y.exports=n},195338:function(y){function l(e,a){var n=-1,o=e.length;for(a||(a=Array(o));++n<o;)a[n]=e[n];return a}y.exports=l},98839:function(y,l,e){var a=e(417362),n=e(666814);function o(t,r,i,c){var d=!i;i||(i={});for(var u=-1,s=r.length;++u<s;){var f=r[u],p=c?c(i[f],t[f],f,i,t):void 0;p===void 0&&(p=t[f]),d?n(i,f,p):a(i,f,p)}return i}y.exports=o},667366:function(y,l,e){var a=e(98839),n=e(714357);function o(t,r){return a(t,n(t),r)}y.exports=o},503982:function(y,l,e){var a=e(98839),n=e(764586);function o(t,r){return a(t,n(t),r)}y.exports=o},546785:function(y,l,e){var a=e(325912),n=e(657915),o=e(511079),t=e(195593);
12function r(i,c){return function(d,u){var s=t(d)?a:n,f=c?c():{};return s(d,i,o(u,2),f)}}y.exports=r},894678:function(y,l,e){var a=e(364687),n=e(254837),o=e(342104),t=e(768441);function r(i){return function(c){c=t(c);var d=n(c)?o(c):void 0,u=d?d[0]:c.charAt(0),s=d?a(d,1).join(""):c.slice(1);return u[i]()+s}}y.exports=r},614661:function(y,l,e){var a=e(431345);function n(o,t){return function(r,i){return a(r,o,t(i),{})}}y.exports=n},109257:function(y,l,e){var a=e(769795),n=e(616982),o=e(549712),t=e(768441),r=a.isFinite,i=Math.min;function c(d){var u=Math[d];return function(s,f){if(s=o(s),f=f==null?0:i(n(f),292),f&&r(s)){var p=(t(s)+"e").split("e"),v=u(p[0]+"e"+(+p[1]+f));return p=(t(v)+"e").split("e"),+(p[0]+"e"+(+p[1]-f))}return u(s)}}y.exports=c},343563:function(y,l,e){var a=e(484819),n=function(){try{var o=a(Object,"defineProperty");return o({},"",{}),o}catch(t){}}();y.exports=n},299953:function(y,l,e){var a=e(215502),n=e(764586),o=e(726146);function t(r){return a(r,o,n)}y.exports=t},880304:function(y,l,e){var a=e(564678),n=a(Object.getPrototypeOf,Object);y.exports=n},764586:function(y,l,e){var a=e(66210),n=e(880304),o=e(714357),t=e(307361),r=Object.getOwnPropertySymbols,i=r?function(c){for(var d=[];c;)a(d,o(c)),c=n(c);return d}:t;y.exports=i},254837:function(y){var l="\\ud800-\\udfff",e="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",o=e+a+n,t="\\ufe0e\\ufe0f",r="\\u200d",i=RegExp("["+r+l+o+t+"]");function c(d){return i.test(d)}y.exports=c},897463:function(y){var l=Object.prototype,e=l.hasOwnProperty;function a(n){var o=n.length,t=new n.constructor(o);return o&&typeof n[0]=="string"&&e.call(n,"index")&&(t.index=n.index,t.input=n.input),t}y.exports=a},412210:function(y,l,e){var a=e(430415),n=e(639081),o=e(332439),t=e(563555),r=e(327640),i="[object Boolean]",c="[object Date]",d="[object Map]",u="[object Number]",s="[object RegExp]",f="[object Set]",p="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",m="[object DataView]",b="[object Float32Array]",C="[object Float64Array]",A="[object Int8Array]",_="[object Int16Array]",P="[object Int32Array]",T="[object Uint8Array]",x="[object Uint8ClampedArray]",M="[object Uint16Array]",U="[object Uint32Array]";function j($,G,J){var ie=$.constructor;switch(G){case g:return a($);case i:case c:return new ie(+$);case m:return n($,J);case b:case C:case A:case _:case P:case T:case x:case M:case U:return r($,J);case d:return new ie;case u:case p:return new ie($);case s:return o($);case f:return new ie;case v:return t($)}}y.exports=j},276249:function(y,l,e){var a=e(836272),n=e(880304),o=e(605928);function t(r){return typeof r.constructor=="function"&&!o(r)?a(n(r)):{}}y.exports=t},583790:function(y){function l(e){var a=[];if(e!=null)for(var n in Object(e))a.push(n);return a}y.exports=l},943476:function(y){function l(e,a,n){for(var o=n-1,t=e.length;++o<t;)if(e[o]===a)return o;return-1}y.exports=l},342104:function(y,l,e){var a=e(501056),n=e(254837),o=e(242071);function t(r){return n(r)?o(r):a(r)}y.exports=t},242071:function(y){var l="\\ud800-\\udfff",e="\\u0300-\\u036f",a="\\ufe20-\\ufe2f",n="\\u20d0-\\u20ff",o=e+a+n,t="\\ufe0e\\ufe0f",r="["+l+"]",i="["+o+"]",c="\\ud83c[\\udffb-\\udfff]",d="(?:"+i+"|"+c+")",u="[^"+l+"]",s="(?:\\ud83c[\\udde6-\\uddff]){2}",f="[\\ud800-\\udbff][\\udc00-\\udfff]",p="\\u200d",v=d+"?",g="["+t+"]?",m="(?:"+p+"(?:"+[u,s,f].join("|")+")"+g+v+")*",b=g+v+m,C="(?:"+[u+i+"?",i,s,f,r].join("|")+")",A=RegExp(c+"(?="+c+")|"+C+b,"g");function _(P){return P.match(A)||[]}y.exports=_},304003:function(y,l,e){var a=e(5921),n=e(858544),o=n(function(t,r,i){return r=r.toLowerCase(),t+(i?a(r):r)});y.exports=o},5921:function(y,l,e){var a=e(768441),n=e(157168);function o(t){return n(a(t).toLowerCase())}y.exports=o},700436:function(y,l,e){var a=e(39171),n=e(549712);function o(t,r,i){return i===void 0&&(i=r,r=void 0),i!==void 0&&(i=n(i),i=i===i?i:0),r!==void 0&&(r=n(r),r=r===r?r:0),a(n(t),r,i)}y.exports=o},484623:function(y,l,e){var a=e(162482),n=1,o=4;function t(r){return a(r,n|o)}y.exports=t},764483:function(y){function l(e){return function(){return e}}y.exports=l},210750:function(y,l,e){var a=e(58980),n=e(215422),o=e(549712),t="Expected a function",r=Math.max,i=Math.min;
12function c(d,u,s){var f,p,v,g,m,b,C=0,A=!1,_=!1,P=!0;if(typeof d!="function")throw new TypeError(t);u=o(u)||0,a(s)&&(A=!!s.leading,_="maxWait"in s,v=_?r(o(s.maxWait)||0,u):v,P="trailing"in s?!!s.trailing:P);function T(W){var q=f,H=p;return f=p=void 0,C=W,g=d.apply(H,q),g}function x(W){return C=W,m=setTimeout(j,u),A?T(W):g}function M(W){var q=W-b,H=W-C,X=u-q;return _?i(X,v-H):X}function U(W){var q=W-b,H=W-C;return b===void 0||q>=u||q<0||_&&H>=v}function j(){var W=n();if(U(W))return $(W);m=setTimeout(j,M(W))}function $(W){return m=void 0,P&&f?T(W):(f=p=void 0,g)}function G(){m!==void 0&&clearTimeout(m),C=0,f=b=p=m=void 0}function J(){return m===void 0?g:$(n())}function ie(){var W=n(),q=U(W);if(f=arguments,p=this,b=W,q){if(m===void 0)return x(b);if(_)return clearTimeout(m),m=setTimeout(j,u),T(b)}return m===void 0&&(m=setTimeout(j,u)),g}return ie.cancel=G,ie.flush=J,ie}y.exports=c},485774:function(y,l,e){var a=e(979992),n=e(955232),o=e(511079);function t(r,i){return a(r,o(i,3),n)}y.exports=t},311064:function(y,l,e){var a=e(764483),n=e(614661),o=e(839039),t=Object.prototype,r=t.toString,i=n(function(c,d,u){d!=null&&typeof d.toString!="function"&&(d=r.call(d)),c[d]=u},a(o));y.exports=i},805187:function(y,l,e){var a=e(560825),n=e(518921),o=e(217186),t=e(195593),r=e(820799),i=e(651023),c=e(605928),d=e(79656),u="[object Map]",s="[object Set]",f=Object.prototype,p=f.hasOwnProperty;function v(g){if(g==null)return!0;if(r(g)&&(t(g)||typeof g=="string"||typeof g.splice=="function"||i(g)||d(g)||o(g)))return!g.length;var m=n(g);if(m==u||m==s)return!g.size;if(c(g))return!a(g).length;for(var b in g)if(p.call(g,b))return!1;return!0}y.exports=v},976003:function(y,l,e){var a=e(628982);function n(o,t){return a(o,t)}y.exports=n},691059:function(y,l,e){var a=e(616982);function n(o){return typeof o=="number"&&o==a(o)}y.exports=n},85558:function(y,l,e){var a=e(134547),n=e(557146),o=e(317042),t=o&&o.isMap,r=t?n(t):a;y.exports=r},160571:function(y,l,e){var a=e(325330),n=e(557146),o=e(317042),t=o&&o.isSet,r=t?n(t):a;y.exports=r},548068:function(y,l,e){var a=e(892876),n=e(195593),o=e(301602),t="[object String]";function r(i){return typeof i=="string"||!n(i)&&o(i)&&a(i)==t}y.exports=r},176944:function(y){function l(e){return e===void 0}y.exports=l},737012:function(y,l,e){var a=e(858544),n=a(function(o,t,r){return o+(r?"-":"")+t.toLowerCase()});y.exports=n},321414:function(y,l,e){var a=e(666814),n=e(546785),o=n(function(t,r,i){a(t,i,r)});y.exports=o},726146:function(y,l,e){var a=e(980538),n=e(511196),o=e(820799);function t(r){return o(r)?a(r,!0):n(r)}y.exports=t},419467:function(y,l,e){y=e.nmd(y);var a;/**
13* @license
14* Lodash <https://lodash.com/>
15* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
16* Released under MIT license <https://lodash.com/license>
17* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
18* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
19*/(function(){var n,o="4.17.21",t=200,r="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",c="Invalid `variable` option passed into `_.template`",d="__lodash_hash_undefined__",u=500,s="__lodash_placeholder__",f=1,p=2,v=4,g=1,m=2,b=1,C=2,A=4,_=8,P=16,T=32,x=64,M=128,U=256,j=512,$=30,G="...",J=800,ie=16,W=1,q=2,H=3,X=1/0,k=9007199254740991,ne=17976931348623157e292,re=NaN,le=4294967295,se=le-1,ae=le>>>1,pe=[["ary",M],["bind",b],["bindKey",C],["curry",_],["curryRight",P],["flip",j],["partial",T],["partialRight",x],["rearg",U]],Pe="[object Arguments]",ve="[object Array]",Me="[object AsyncFunction]",ht="[object Boolean]",xt="[object Date]",At="[object DOMException]",Bt="[object Error]",en="[object Function]",Vt="[object GeneratorFunction]",be="[object Map]",Le="[object Number]",Oe="[object Null]",yt="[object Object]",wt="[object Promise]",Lt="[object Proxy]",jt="[object RegExp]",Xe="[object Set]",zt="[object String]",nn="[object Symbol]",st="[object Undefined]",Ut="[object WeakMap]",Jt="[object WeakSet]",on="[object ArrayBuffer]",ln="[object DataView]",te="[object Float32Array]",Ee="[object Float64Array
vendor: 5,855 bytes, line 19
19]",Ue="[object Int8Array]",ze="[object Int16Array]",Ve="[object Int32Array]",fe="[object Uint8Array]",We="[object Uint8ClampedArray]",tt="[object Uint16Array]",St="[object Uint32Array]",Gt=/\b__p \+= '';/g,Zt=/\b(__p \+=) '' \+/g,Un=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Yt=/&(?:amp|lt|gt|quot|#39);/g,jn=/[&<>"']/g,kr=RegExp(Yt.source),Jr=RegExp(jn.source),Tr=/<%-([\s\S]+?)%>/g,Or=/<%([\s\S]+?)%>/g,or=/<%=([\s\S]+?)%>/g,bi=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,zi=/^\w*$/,aa=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,oa=/[\\^$.*+?()[\]{}|]/g,Gi=RegExp(oa.source),Wi=/^\s+/,Ae=/\s/,Pn=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Ii=/\{\n\/\* \[wrapped with (.+)\] \*/,Hr=/,? & /,sa=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,vn=/[()=,{}\[\]\/\s]/,Br=/\\(\\)?/g,Oi=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Zi=/\w*$/,wi=/^[-+]0x[0-9a-f]+$/i,Ri=/^0b[01]+$/i,pr=/^\[object .+?Constructor\]$/,jr=/^0o[0-7]+$/i,fr=/^(?:0|[1-9]\d*)$/,Ca=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ji=/($^)/,_i=/['\n\r\u2028\u2029\\]/g,oi="\\ud800-\\udfff",sn="\\u0300-\\u036f",pa="\\ufe20-\\ufe2f",Yi="\\u20d0-\\u20ff",si=sn+pa+Yi,Kr="\\u2700-\\u27bf",ki="a-z\\xdf-\\xf6\\xf8-\\xff",Da="\\xac\\xb1\\xd7\\xf7",ga="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",qi="\\u2000-\\u206f",Yr=" \\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",qe="A-Z\\xc0-\\xd6\\xd8-\\xde",He="\\ufe0e\\ufe0f",Re=Da+ga+qi+Yr,De="['\u2019]",$e="["+oi+"]",Je="["+Re+"]",It="["+si+"]",Pt="\\d+",tn="["+Kr+"]",kt="["+ki+"]",bn="[^"+oi+Re+Pt+Kr+ki+qe+"]",kn="\\ud83c[\\udffb-\\udfff]",Ar="(?:"+It+"|"+kn+")",Ir="[^"+oi+"]",qr="(?:\\ud83c[\\udde6-\\uddff]){2}",ni="[\\ud800-\\udbff][\\udc00-\\udfff]",Vr="["+qe+"]",zr="\\u200d",ui="(?:"+kt+"|"+bn+")",ea="(?:"+Vr+"|"+bn+")",li="(?:"+De+"(?:d|ll|m|re|s|t|ve))?",Jn="(?:"+De+"(?:D|LL|M|RE|S|T|VE))?",Zr=Ar+"?",ma="["+He+"]?",Pa="(?:"+zr+"(?:"+[Ir,qr,ni].join("|")+")"+ma+Zr+")*",oe="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",we="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",nt=ma+Zr+Pa,Qt="(?:"+[tn,qr,ni].join("|")+")"+nt,On="(?:"+[Ir+It+"?",It,qr,ni,$e].join("|")+")",Mn=RegExp(De,"g"),hi=RegExp(It,"g"),gr=RegExp(kn+"(?="+kn+")|"+On+nt,"g"),dr=RegExp([Vr+"?"+kt+"+"+li+"(?="+[Je,Vr,"$"].join("|")+")",ea+"+"+Jn+"(?="+[Je,Vr+ui,"$"].join("|")+")",Vr+"?"+ui+"+"+li,Vr+"+"+Jn,we,oe,Pt,Qt].join("|"),"g"),pi=RegExp("["+zr+oi+si+He+"]"),Mi=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,An=["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"],ci=-1,Vn={};Vn[te]=Vn[Ee]=Vn[Ue]=Vn[ze]=Vn[Ve]=Vn[fe]=Vn[We]=Vn[tt]=Vn[St]=!0,Vn[Pe]=Vn[ve]=Vn[on]=Vn[ht]=Vn[ln]=Vn[xt]=Vn[Bt]=Vn[en]=Vn[be]=Vn[Le]=Vn[yt]=Vn[jt]=Vn[Xe]=Vn[zt]=Vn[Ut]=!1;var wn={};wn[Pe]=wn[ve]=wn[on]=wn[ln]=wn[ht]=wn[xt]=wn[te]=wn[Ee]=wn[Ue]=wn[ze]=wn[Ve]=wn[be]=wn[Le]=wn[yt]=wn[jt]=wn[Xe]=wn[zt]=wn[nn]=wn[fe]=wn[We]=wn[tt]=wn[St]=!0,wn[Bt]=wn[en]=wn[Ut]=!1;var mo={\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"},yo={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},Xo={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"},Ta={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},_r=parseFloat,Wa=parseInt,Eo=typeof e.g=="object"&&e.g&&e.g.Object===Object&&e.g,Aa=typeof self=="object"&&self&&self.Object===Object&&self,Rr=Eo||Aa||Function("return this")(),ka=l&&!l.nodeType&&l,ya=ka&&!0&&y&&!y.nodeType&&y,Ha=ya&&ya.exports===ka,Ci=
vendor: 15,127 bytes, line 19
19Ha&&Eo.process,ri=function(){try{var rt=ya&&ya.require&&ya.require("util").types;return rt||Ci&&Ci.binding&&Ci.binding("util")}catch(Dt){}}(),Ka=ri&&ri.isArrayBuffer,Te=ri&&ri.isDate,Ce=ri&&ri.isMap,xe=ri&&ri.isRegExp,Ze=ri&&ri.isSet,at=ri&&ri.isTypedArray;function gt(rt,Dt,Et){switch(Et.length){case 0:return rt.call(Dt);case 1:return rt.call(Dt,Et[0]);case 2:return rt.call(Dt,Et[0],Et[1]);case 3:return rt.call(Dt,Et[0],Et[1],Et[2])}return rt.apply(Dt,Et)}function Fe(rt,Dt,Et,yn){for(var Qn=-1,yr=rt==null?0:rt.length;++Qn<yr;){var Pi=rt[Qn];Dt(yn,Pi,Et(Pi),rt)}return yn}function qt(rt,Dt){for(var Et=-1,yn=rt==null?0:rt.length;++Et<yn&&Dt(rt[Et],Et,rt)!==!1;);return rt}function xn(rt,Dt){for(var Et=rt==null?0:rt.length;Et--&&Dt(rt[Et],Et,rt)!==!1;);return rt}function mn(rt,Dt){for(var Et=-1,yn=rt==null?0:rt.length;++Et<yn;)if(!Dt(rt[Et],Et,rt))return!1;return!0}function $n(rt,Dt){for(var Et=-1,yn=rt==null?0:rt.length,Qn=0,yr=[];++Et<yn;){var Pi=rt[Et];Dt(Pi,Et,rt)&&(yr[Qn++]=Pi)}return yr}function xr(rt,Dt){var Et=rt==null?0:rt.length;return!!Et&&dt(rt,Dt,0)>-1}function ua(rt,Dt,Et){for(var yn=-1,Qn=rt==null?0:rt.length;++yn<Qn;)if(Et(Dt,rt[yn]))return!0;return!1}function vr(rt,Dt){for(var Et=-1,yn=rt==null?0:rt.length,Qn=Array(yn);++Et<yn;)Qn[Et]=Dt(rt[Et],Et,rt);return Qn}function Hi(rt,Dt){for(var Et=-1,yn=Dt.length,Qn=rt.length;++Et<yn;)rt[Qn+Et]=Dt[Et];return rt}function Be(rt,Dt,Et,yn){var Qn=-1,yr=rt==null?0:rt.length;for(yn&&yr&&(Et=rt[++Qn]);++Qn<yr;)Et=Dt(Et,rt[Qn],Qn,rt);return Et}function Ke(rt,Dt,Et,yn){var Qn=rt==null?0:rt.length;for(yn&&Qn&&(Et=rt[--Qn]);Qn--;)Et=Dt(Et,rt[Qn],Qn,rt);return Et}function Ie(rt,Dt){for(var Et=-1,yn=rt==null?0:rt.length;++Et<yn;)if(Dt(rt[Et],Et,rt))return!0;return!1}var Ye=In("length");function ut(rt){return rt.split("")}function ft(rt){return rt.match(sa)||[]}function Nt(rt,Dt,Et){var yn;return Et(rt,function(Qn,yr,Pi){if(Dt(Qn,yr,Pi))return yn=yr,!1}),yn}function Rt(rt,Dt,Et,yn){for(var Qn=rt.length,yr=Et+(yn?1:-1);yn?yr--:++yr<Qn;)if(Dt(rt[yr],yr,rt))return yr;return-1}function dt(rt,Dt,Et){return Dt===Dt?an(rt,Dt,Et):Rt(rt,un,Et)}function $t(rt,Dt,Et,yn){for(var Qn=Et-1,yr=rt.length;++Qn<yr;)if(yn(rt[Qn],Dt))return Qn;return-1}function un(rt){return rt!==rt}function bt(rt,Dt){var Et=rt==null?0:rt.length;return Et?Hn(rt,Dt)/Et:re}function In(rt){return function(Dt){return Dt==null?n:Dt[rt]}}function Cn(rt){return function(Dt){return rt==null?n:rt[Dt]}}function rn(rt,Dt,Et,yn,Qn){return Qn(rt,function(yr,Pi,Dr){Et=yn?(yn=!1,yr):Dt(Et,yr,Pi,Dr)}),Et}function zn(rt,Dt){var Et=rt.length;for(rt.sort(Dt);Et--;)rt[Et]=rt[Et].value;return rt}function Hn(rt,Dt){for(var Et,yn=-1,Qn=rt.length;++yn<Qn;){var yr=Dt(rt[yn]);yr!==n&&(Et=Et===n?yr:Et+yr)}return Et}function Gn(rt,Dt){for(var Et=-1,yn=Array(rt);++Et<rt;)yn[Et]=Dt(Et);return yn}function En(rt,Dt){return vr(Dt,function(Et){return[Et,rt[Et]]})}function Mr(rt){return rt&&rt.slice(0,js(rt)+1).replace(Wi,"")}function cn(rt){return function(Dt){return rt(Dt)}}function fi(rt,Dt){return vr(Dt,function(Et){return rt[Et]})}function mr(rt,Dt){return rt.has(Dt)}function $r(rt,Dt){for(var Et=-1,yn=rt.length;++Et<yn&&dt(Dt,rt[Et],0)>-1;);return Et}function hr(rt,Dt){for(var Et=rt.length;Et--&&dt(Dt,rt[Et],0)>-1;);return Et}function ar(rt,Dt){for(var Et=rt.length,yn=0;Et--;)rt[Et]===Dt&&++yn;return yn}var Cr=Cn(mo),Gr=Cn(yo);function ee(rt){return"\\"+Ta[rt]}function z(rt,Dt){return rt==null?n:rt[Dt]}function K(rt){return pi.test(rt)}function ce(rt){return Mi.test(rt)}function me(rt){for(var Dt,Et=[];!(Dt=rt.next()).done;)Et.push(Dt.value);return Et}function de(rt){var Dt=-1,Et=Array(rt.size);return rt.forEach(function(yn,Qn){Et[++Dt]=[Qn,yn]}),Et}function it(rt,Dt){return function(Et){return rt(Dt(Et))}}function Tt(rt,Dt){for(var Et=-1,yn=rt.length,Qn=0,yr=[];++Et<yn;){var Pi=rt[Et];(Pi===Dt||Pi===s)&&(rt[Et]=s,yr[Qn++]=Et)}return yr}function Ot(rt){var Dt=-1,Et=Array(rt.size);return rt.forEach(function(yn){Et[++Dt]=yn}),Et}function hn(rt){var Dt=-1,Et=Array(rt.size);return rt.forEach(function(yn){Et[++Dt]=[yn,yn]}),Et}function an(rt,Dt,Et){for(var yn=Et-1,Qn=rt.length;++yn<Qn;)if(rt[yn]===Dt)return yn;return-1}function Sn(rt,Dt,Et){for(var yn=Et+1;yn--;)if(rt[yn]===Dt)return yn;return yn}function gi(rt){return K(rt)?uc(rt):Ye(rt)}function ei(rt){return K(rt)?Zo(rt):ut(rt)}function js(rt){for(var Dt=rt.length;Dt--&&Ae.test(rt.charAt(Dt)););return Dt}var Es=Cn(Xo);function uc(rt){for(var Dt=gr.lastIndex=0;gr.test(rt);)++Dt;return Dt}function Zo(rt){return rt.match(gr)||[]}function qc(rt){return rt.match(dr)||[]}var lc=function rt(Dt){Dt=Dt==null?Rr:hu.defaults(Rr.Object(),Dt,hu.pick(Rr,An));var Et=Dt.Array,yn=Dt.Date,Qn=Dt.Error,yr=Dt.Function,Pi=Dt.Math,Dr=Dt.Object,pu=Dt.RegExp,sl=Dt.String,La=Dt.TypeError,gu=Et.prototype,cc=yr.prototype,qa=Dr.prototype,zs=Dt["__core-js_shared__"],Ki=cc.toString,Lr=qa.hasOwnProperty,So=0,ul=function(){var E=/[^.]+$/.exec(zs&&zs.keys&&zs.keys.IE_PROTO||"");return E?"Symbol(src)_1."+E:""}(),Gs=qa.toString,mu=Ki.call(Dr),ll=Rr._,cl=pu("^"+Ki.call(Lr).replace(oa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ws=Ha?Dt.Buffer:n,ao=Dt.Symbol,bo=Dt.Uint8Array,yu=Ws?Ws.allocUnsafe:n,Bo=it(Dr.getPrototypeOf,Dr),fl=Dr.create,fc=qa.propertyIsEnumerable,Na=gu.splice,dc=ao?ao.isConcatSpreadable:n,oo=ao?ao.iterator:n,Jo=ao?ao.toStringTag:n,Ss=function(){try{var E=wo(Dr,"defineProperty");return E({},"",{}),E}catch(O){}}(),bs=Dt.clearTimeout!==Rr.clearTimeout&&Dt.clearTimeout,Eu=yn&&yn.now!==Rr.Date.now&&yn.now,ks=Dt.setTimeout!==Rr.setTimeout&&Dt.setTimeout,Yo=Pi.ceil,Hs=Pi.floor,Su=Dr.getOwnPropertySymbols,ef=Ws?Ws.isBuffer:n,dl=Dt.isFinite,tf=gu.join,Ks=it(Dr.keys,Dr),Di=Pi.max,ta=Pi.min,nf=yn.now,vc=Dt.parseInt,vl=Pi.random,hc=gu.reverse,hl=wo(Dt,"DataView"),Os=wo(Dt,"Map"),pl=wo(Dt,"Promise"),Oo=wo(Dt,"Set"),so=wo(Dt,"WeakMap"),Wr=wo(Dr,"create"),ti=so&&new so,di={},la=Us(hl),xa=Us(Os),qo=Us(pl),_s=Us(Oo),Ea=Us(so),es=ao?ao.prototype:n,Cs=es?es.valueOf:n,gl=es?es.toString:n;function ye(E){if(mt(E)&&!ir(E)&&!(E instanceof sr)){if(E instanceof Sa)return E;if(Lr.call(E,"__wrapped__"))return ps(E)}return new Sa(E)}var ts=function(){function E(){}return function(O){if(!pt(O))return{};if(fl)return fl(O);E.prototype=O;var N=new E;return E.prototype=n,N}}();function uo(){}function Sa(E,O){this.__wrapped__=E,this.__actions__=[],this.__chain__=!!O,this.__index__=0,this.__values__=n}ye.templateSettings={escape:Tr,evaluate:Or,interpolate:or,variable:"",imports:{_:ye}},ye.prototype=uo.prototype,ye.prototype.constructor=ye,Sa.prototype=ts(uo.prototype),Sa.prototype.constructor=Sa;function sr(E){this.__wrapped__=E,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=le,this.__views__=[]}function Qr(){var E=new sr(this.__wrapped__);return E.__actions__=Ba(this.__actions__),E.__dir__=this.__dir__,E.__filtered__=this.__filtered__,E.__iteratees__=Ba(this.__iteratees__),E.__takeCount__=this.__takeCount__,E.__views__=Ba(this.__views__),E}function pc(){if(this.__filtered__){var E=new sr(this);E.__dir__=-1,E.__filtered__=!0}else E=this.clone(),E.__dir__*=-1;return E}function Wf(){var E=this.__wrapped__.value(),O=this.__dir__,N=ir(E),Z=O<0,ue=N?E.length:0,_e=Bc(0,ue,this.__views__),ke=_e.start,et=_e.end,ct=et-ke,Ft=Z?et:ke-1,Wt=this.__iteratees__,Kt=Wt.length,gn=0,Ln=ta(ct,this.__takeCount__);if(!N||!Z&&ue==ct&&Ln==ct)return nu(E,this.__actions__);var Yn=[];e:for(;ct--&&gn<Ln;){Ft+=O;for(var br=-1,qn=E[Ft];++br<Kt;){var wr=Wt[br],Fr=wr.iteratee,$o=wr.type,go=Fr(qn);if($o==q)qn=go;else if(!go){if($o==W)continue e;break e}}Yn[gn++]=qn}return Yn}sr.prototype=ts(uo.prototype),sr.prototype.constructor=sr;function lo(E){var O=-1,N=E==null?0:E.length;for(this.clear();++O<N;){var Z=E[O];this.set(Z[0],Z[1])}}function rf(){this.__data__=Wr?Wr(null):{},this.size=0}function af(E){var O=this.has(E)&&delete this.__data__[E];return this.size-=O?1:0,O}function of(E){var O=this.__data__;if(Wr){var N=O[E];return N===d?n:N}return Lr.call(O,E)?O[E]:n}function ml(E){var O=this.__data__;return Wr?O[E]!==n:Lr.call(O,E)}function sf(E,O){var N=this.__data__;return this.size+=this.has(E)?0:1,N[E]=Wr&&O===n?d:O,this}lo.prototype.clear=rf,lo.prototype.delete=af,lo.prototype.get=of,lo.prototype.has=ml,lo.prototype.set=sf;function Nn(E){var O=-1,N=E==null?0:E.length;for(this.clear();++O<N;){var Z=E[O];this.set(Z[0],Z[1])}}function kf(){this.__data__=[],this.size=0}function Va(E){var O=this.__data__,N=Co(O,E);if(N<0)return!1;var Z=O.length-1;return N==Z?O.pop():Na.call(O,N,1),--this.size,!0}function yl(E){var O=this.__data__,N=Co(O,E);return N<0?n:O[N][1]}function El(E){return Co(this.__data__,E)>-1}function uf(E,O){var N=this.__data__,Z=Co(N,E);return Z<0?(++this.size,N.push([E,O])):N[Z][1]=O,this}Nn.prototype.clear=kf,Nn.prototype.delete=Va,Nn.prototype.get=yl,Nn.prototype.has=El,Nn.prototype.set=uf;function Ti(E){var O=-1,N=E==null?0:E.length;for(this.clear();++O<N;){var Z=E[O];this.set(Z[0],Z[1])}}function Vs(){this.size=0,this.__data__={hash:new lo,map:new(Os||Nn),string:new lo}}function gc(E){var O=ko(this,E).delete(E);return this.size-=O?1:0,O}function ns(E){return ko(this,E).get(E)}function lf(E){return ko(this,E).has(E)}function mc(E,O){var N=ko(this,E),Z=N.size;return N.set(E,O),this.size+=N.size==Z?0:1,this}Ti.prototype.clear=Vs,Ti.prototype.delete=gc,Ti.prototype.get=ns,Ti.prototype.has=lf,Ti.prototype.set=mc;function na(E){var O=-1,N=E==null?0:E.length;for(this.__data__=new Ti;++O<N;)this.add(E[O])}function yc(E){return this.__data__.set(E,d),this}function bu(E){return this.__data__.has(E)}na.prototype.add=na.prototype.push=yc,na.prototype.has=bu;function vi(E){var O=this.__data__=new Nn(E);this.size=O.size}function Ou(){this.__data__=new Nn,this.size=0}function _u(E){var O=this.__data__,N=O.delete(E);return this.size=O.size,N}function rs(E){return this.__data__.get(E)}function Sl(E){return this.__data__.has(E)}function Ec(E,O){var N=this.__data__;if(N instanceof Nn){var Z=N.__data__;if(!Os||Z.length<t-1)return Z.push([E,O]),this.size=++N.size,this;N=this.__data__=new Ti(Z)}return N.set(E,O),this.size=N.size,this}vi.prototype.clear=Ou,vi.prototype.delete=_u,vi.prototype.get=rs,vi.prototype.has=Sl,vi.prototype.set=Ec;function bl(E,O){var N=ir(E),Z=!N&&rl(E),ue=!N&&!Z&&w(E),_e=!N&&!Z&&!ue&&da(E),ke=N||Z||ue||_e,et=ke?Gn(E.length,sl):[],ct=et.length;for(var Ft in E)(O||Lr.call(E,Ft))&&!(ke&&(Ft=="length"||ue&&(Ft=="offset"||Ft=="parent")||_e&&(Ft=="buffer"||Ft=="byteLength"||Ft=="byteOffset")||no(Ft,ct)))&&et.push(Ft);return et}function Sc(E){var O=E.length;return O?E[Uu(0,O-1)]:n}function is(E,O){return ql(Ba(E),Ua(O,0,E.length))}function eo(E){return ql(Ba(E))}function _o(E,O,N){(N!==n&&!Ho(E[O],N)||N===n&&!(O in E))&&$a(E,O,N)}function Ps(E,O,N){var Z=E[O];(!(Lr.call(E,O)&&Ho(Z,N))||N===n&&!(O in E))&&$a(E,O,N)}function Co(E,O){for(var N=E.length;N--;)if(Ho(E[N][0],O))return N;return-1}function as(E,O,N,Z){return To(E,function(ue,_e,ke){O(Z,ue,N(ue),ke)}),Z}function Po(E,O){return E&&Ia(O,va(O),E)}function $s(E,O){return E&&Ia(O,Ma(O),E)}function $a(E,O,N){O=="__proto__"&&Ss?Ss(E,O,{configurable:!0,enumerable:!0,value:N,writable:!0}):E[O]=N}function Ol(E,O){for(var N=-1,Z=O.length,ue=Et(Z),_e=E==null;++N<Z;)ue[N]=_e?n:Yc(E,O[N]);return ue}function Ua(E,O,N){return E===E&&(N!==n&&(E=E<=N?E:N),O!==n&&(E=E>=O?E:O)),E}function Fa(E,O,N,Z,ue,_e){var ke,et=O&f,ct=O&p,Ft=O&v;if(N&&(ke=ue?N(E,Z,ue,_e):N(E)),ke!==n)return ke;if(!pt(E))return E;var Wt=ir(E);if(Wt){if(ke=Zu(E),!et)return Ba(E,ke)}else{var Kt=$i(E),gn=Kt==en||Kt==Vt;if(w(E))return xc(E,et);if(Kt==yt||Kt==Pe||gn&&!ue){if(ke=ct||gn?{}:au(E),!et)return ct?Rc(E,$s(ke,E)):Vf(E,Po(ke,E))}else{if(!wn[Kt])return ue?E:{};ke=Ds(E,Kt,et)}}_e||(_e=new vi);var Ln=_e.get(E);if(Ln)return Ln;_e.set(E,ke),Ga(E)?E.forEach(function(qn){ke.add(Fa(qn,O,N,qn,E,_e))}):Ht(E)&&E.forEach(function(qn,wr){ke.set(wr,Fa(qn,O,N,wr,E,_e))});var Yn=Ft?ct?_a:rr:ct?Ma:va,br=Wt?n:Yn(E);return qt(br||E,function(qn,wr){br&&(wr=qn,qn=E[wr]),Ps(ke,wr,Fa(qn,O,N,wr,E,_e))}),ke}function _l(E){var O=va(E);return function(N){return Cu(N,E,O)}}function Cu(E,O,N){var Z=N.length;if(E==null)return!Z;for(E=Dr(E);Z--;){var ue=N[Z],_e=O[ue],ke=E[ue];if(ke===n&&!(ue in E)||!_e(ke))return!1}return!0}function Pu(E,O,N){if(typeof E!="function")throw new La(i);return vs(function(){E.apply(n,N)},O)}function Qs(E,O,N,Z){var ue=-1,_e=xr,ke=!0,et=E.length,ct=[],Ft=O.length;if(!et)return ct;N&&(O=vr(O,cn(N))),Z?(_e=ua,ke=!1):O.length>=t&&(_e=mr,ke=!1,O=new na(O));e:for(;++ue<et;){var Wt=E[ue],Kt=N==null?Wt:N(Wt);if(Wt=Z||Wt!==0?Wt:0,ke&&Kt===Kt){for(var gn=Ft;gn--;)if(O[gn]===Kt)continue e;ct.push(Wt)}else _e(O,Kt,Z)||ct.push(Wt)}return ct}var To=Mc(Vi),Cl=Mc(Ts,!0);function Tu(E,O){var N=!0;return To(E,function(Z,ue,_e){return N=!!O(Z,ue,_e),N}),N}function Ao(E,O,N){for(var Z=-1,ue=E.length;++Z<ue;){var _e=E[Z],ke=O(_e);if(ke!=null&&(et===n?ke===ke&&!Xr(ke):N(ke,et)))var et=ke,ct=_e}return ct}function Pl(E,O,N,Z){var ue=E.length;for(N=tr(N),N<0&&(N=-N>ue?0:ue+N),Z=Z===n||Z>ue?ue:tr(Z),Z<0&&(Z+=ue),Z=N>Z?0:ms(Z);N<Z;)E[N++]=O;return E}function Au(E,O){var N=[];return To(E,function(Z,ue,_e){O(Z,ue,_e)&&N.push(Z)}),N}function mi(E,O,N,Z,ue){var _e=-1,ke=E.length;for(N||(N=Vl),ue||(ue=[]);++_e<ke;){var et=E[_e];O>0&&N(et)?O>1?mi(et,O-1,N,Z,ue):Hi(ue,et):Z||(ue[ue.length]=et)}return ue}var Xs=ku(),Zs=ku(!0);function Vi(E,O){return E&&Xs(E,O,va)}function Ts(E,O){return E&&Zs(E,O,va)}function xo(E,O){return $n(O,function(N){return Ge(E[N])})}function Qa(E,O){O=Io(O,E);for(var N=0,Z=O.length;E!=null&&N<Z;)E=E[Ra(O[N++])];return N&&N==Z?E:n}function Tl(E,O,N){var Z=O(E);return ir(E)?Z:Hi(Z,N(E))}function Li(E){return E==null?E===n?st:Oe:Jo&&Jo in Dr(E)?Hl(E):bf(E)}function Al(E,O){return E>O}function bc(E,O){return E!=null&&Lr.call(E,O)}function yi(E,O){return E!=null&&O in Dr(E)}function xu(E,O,N){return E>=ta(O,N)&&E<Di(O,N)}function Js(E,O,N){for(var Z=N?ua:xr,ue=E[0].length,_e=E.length,ke=_e,et=Et(_e),ct=1/0,Ft=[];ke--;){var Wt=E[ke];ke&&O&&(Wt=vr(Wt,cn(O))),ct=ta(Wt.length,ct),et[ke]=!N&&(O||ue>=120&&Wt.length>=120)?new na(ke&&Wt):n}Wt=E[0];var Kt=-1,gn=et[0];e:for(;++Kt<ue&&Ft.length<ct;){var Ln=Wt[Kt],Yn=O?O(Ln):Ln;if(Ln=N||Ln!==0?Ln:0,!(gn?mr(gn,Yn):Z(Ft,Yn,N))){for(ke=_e;--ke;){var br=et[ke];if(!(br?mr(br,Yn):Z(E[ke],Yn,N)))continue e}gn&&gn.push(Yn),Ft.push(Ln)}}return Ft}function Iu(E,O,N,Z){return Vi(E,function(ue,_e,ke){O(Z,N(ue),_e,ke)}),Z}function ba(E,O,N){O=Io(O,E),E=Xl(E,O);var Z=E==null?E:E[Ra(za(O))];return Z==null?n:gt(Z,E,N)}function co(E){return mt(E)&&Li(E)==Pe}function Ni(E){return mt(E)&&Li(E)==on}function Oa(E){return mt(E)&&Li(E)==xt}function Ei(E,O,N,Z,ue){return E===O?!0:E==null||O==null||!mt(E)&&!mt(O)?E!==E&&O!==O:xl(E,O,N,Z,Ei,ue)}function xl(E,O,N,Z,ue,_e){var ke=ir(E),et=ir(O),ct=ke?ve:$i(E),Ft=et?ve:$i(O);ct=ct==Pe?yt:ct,Ft=Ft==Pe?yt:Ft;var Wt=ct==yt,Kt=Ft==yt,gn=ct==Ft;if(gn&&w(E)){if(!w(O))return!1;ke=!0,Wt=!1}if(gn&&!Wt)return _e||(_e=new vi),ke||da(E)?Qu(E,O,N,Z,ue,_e):Fc(E,O,ct,N,Z,ue,_e);if(!(N&g)){var Ln=Wt&&Lr.call(E,"__wrapped__"),Yn=Kt&&Lr.call(O,"__wrapped__");
vendor: 14,852 bytes, line 19
19if(Ln||Yn){var br=Ln?E.value():E,qn=Yn?O.value():O;return _e||(_e=new vi),ue(br,qn,N,Z,_e)}}return gn?(_e||(_e=new vi),er(E,O,N,Z,ue,_e)):!1}function Xa(E){return mt(E)&&$i(E)==be}function wu(E,O,N,Z){var ue=N.length,_e=ue,ke=!Z;if(E==null)return!_e;for(E=Dr(E);ue--;){var et=N[ue];if(ke&&et[2]?et[1]!==E[et[0]]:!(et[0]in E))return!1}for(;++ue<_e;){et=N[ue];var ct=et[0],Ft=E[ct],Wt=et[1];if(ke&&et[2]){if(Ft===n&&!(ct in E))return!1}else{var Kt=new vi;if(Z)var gn=Z(Ft,Wt,ct,E,O,Kt);if(!(gn===n?Ei(Wt,Ft,g|m,Z,Kt):gn))return!1}}return!0}function Il(E){if(!pt(E)||ho(E))return!1;var O=Ge(E)?cl:pr;return O.test(Us(E))}function As(E){return mt(E)&&Li(E)==jt}function Ys(E){return mt(E)&&$i(E)==Xe}function xs(E){return mt(E)&&ot(E.length)&&!!Vn[Li(E)]}function Ru(E){return typeof E=="function"?E:E==null?Fo:typeof E=="object"?ir(E)?Du(E[0],E[1]):Rl(E):xv(E)}function qs(E){if(!ds(E))return Ks(E);var O=[];for(var N in Dr(E))Lr.call(E,N)&&N!="constructor"&&O.push(N);return O}function wl(E){if(!pt(E))return Ns(E);var O=ds(E),N=[];for(var Z in E)Z=="constructor"&&(O||!Lr.call(E,Z))||N.push(Z);return N}function Mu(E,O){return E<O}function Oc(E,O){var N=-1,Z=Ya(E)?Et(E.length):[];return To(E,function(ue,_e,ke){Z[++N]=O(ue,_e,ke)}),Z}function Rl(E){var O=cs(E);return O.length==1&&O[0][2]?yf(O[0][0],O[0][1]):function(N){return N===E||wu(N,E,O)}}function Du(E,O){return ca(E)&&$l(O)?yf(Ra(E),O):function(N){var Z=Yc(N,E);return Z===n&&Z===O?jf(N,E):Ei(O,Z,g|m)}}function Lu(E,O,N,Z,ue){E!==O&&Xs(O,function(_e,ke){if(ue||(ue=new vi),pt(_e))Nu(E,O,ke,N,Lu,Z,ue);else{var et=Z?Z(Zl(E,ke),_e,ke+"",E,O,ue):n;et===n&&(et=_e),_o(E,ke,et)}},Ma)}function Nu(E,O,N,Z,ue,_e,ke){var et=Zl(E,N),ct=Zl(O,N),Ft=ke.get(ct);if(Ft){_o(E,N,Ft);return}var Wt=_e?_e(et,ct,N+"",E,O,ke):n,Kt=Wt===n;if(Kt){var gn=ir(ct),Ln=!gn&&w(ct),Yn=!gn&&!Ln&&da(ct);Wt=ct,gn||Ln||Yn?ir(et)?Wt=et:ji(et)?Wt=Ba(et):Ln?(Kt=!1,Wt=xc(ct,!0)):Yn?(Kt=!1,Wt=wc(ct,!0)):Wt=[]:Kn(ct)||rl(ct)?(Wt=et,rl(et)?Wt=No(et):(!pt(et)||Ge(et))&&(Wt=au(ct))):Kt=!1}Kt&&(ke.set(ct,Wt),ue(Wt,ct,Z,_e,ke),ke.delete(ct)),_o(E,N,Wt)}function Ml(E,O){var N=E.length;if(N)return O+=O<0?N:0,no(O,N)?E[O]:n}function Dl(E,O,N){O.length?O=vr(O,function(_e){return ir(_e)?function(ke){return Qa(ke,_e.length===1?_e[0]:_e)}:_e}):O=[Fo];var Z=-1;O=vr(O,cn(Dn()));var ue=Oc(E,function(_e,ke,et){var ct=vr(O,function(Ft){return Ft(_e)});return{criteria:ct,index:++Z,value:_e}});return zn(ue,function(_e,ke){return hf(_e,ke,N)})}function cf(E,O){return Ll(E,O,function(N,Z){return jf(E,Z)})}function Ll(E,O,N){for(var Z=-1,ue=O.length,_e={};++Z<ue;){var ke=O[Z],et=Qa(E,ke);N(et,ke)&&Za(_e,Io(ke,E),et)}return _e}function _c(E){return function(O){return Qa(O,E)}}function eu(E,O,N,Z){var ue=Z?$t:dt,_e=-1,ke=O.length,et=E;for(E===O&&(O=Ba(O)),N&&(et=vr(E,cn(N)));++_e<ke;)for(var ct=0,Ft=O[_e],Wt=N?N(Ft):Ft;(ct=ue(et,Wt,ct,Z))>-1;)et!==E&&Na.call(et,ct,1),Na.call(E,ct,1);return E}function os(E,O){for(var N=E?O.length:0,Z=N-1;N--;){var ue=O[N];if(N==Z||ue!==_e){var _e=ue;no(ue)?Na.call(E,ue,1):Ul(E,ue)}}return E}function Uu(E,O){return E+Hs(vl()*(O-E+1))}function Cc(E,O,N,Z){for(var ue=-1,_e=Di(Yo((O-E)/(N||1)),0),ke=Et(_e);_e--;)ke[Z?_e:++ue]=E,E+=N;return ke}function tu(E,O){var N="";if(!E||O<1||O>k)return N;do O%2&&(N+=E),O=Hs(O/2),O&&(E+=E);while(O);return N}function ur(E,O){return Jl(Ql(E,O,Fo),E+"")}function Hf(E){return Sc(Gf(E))}function Kf(E,O){var N=Gf(E);return ql(N,Ua(O,0,N.length))}function Za(E,O,N,Z){if(!pt(E))return E;O=Io(O,E);for(var ue=-1,_e=O.length,ke=_e-1,et=E;et!=null&&++ue<_e;){var ct=Ra(O[ue]),Ft=N;if(ct==="__proto__"||ct==="constructor"||ct==="prototype")return E;if(ue!=ke){var Wt=et[ct];Ft=Z?Z(Wt,ct,et):n,Ft===n&&(Ft=pt(Wt)?Wt:no(O[ue+1])?[]:{})}Ps(et,ct,Ft),et=et[ct]}return E}var jo=ti?function(E,O){return ti.set(E,O),E}:Fo,Is=Ss?function(E,O){return Ss(E,"toString",{configurable:!0,enumerable:!1,value:hv(O),writable:!0})}:Fo;function ff(E){return ql(Gf(E))}function Ja(E,O,N){var Z=-1,ue=E.length;O<0&&(O=-O>ue?0:ue+O),N=N>ue?ue:N,N<0&&(N+=ue),ue=O>N?0:N-O>>>0,O>>>=0;for(var _e=Et(ue);++Z<ue;)_e[Z]=E[Z+O];return _e}function Pc(E,O){var N;return To(E,function(Z,ue,_e){return N=O(Z,ue,_e),!N}),!!N}function Fu(E,O,N){var Z=0,ue=E==null?Z:E.length;if(typeof O=="number"&&O===O&&ue<=ae){for(;Z<ue;){var _e=Z+ue>>>1,ke=E[_e];ke!==null&&!Xr(ke)&&(N?ke<=O:ke<O)?Z=_e+1:ue=_e}return ue}return zo(E,O,Fo,N)}function zo(E,O,N,Z){var ue=0,_e=E==null?0:E.length;if(_e===0)return 0;O=N(O);for(var ke=O!==O,et=O===null,ct=Xr(O),Ft=O===n;ue<_e;){var Wt=Hs((ue+_e)/2),Kt=N(E[Wt]),gn=Kt!==n,Ln=Kt===null,Yn=Kt===Kt,br=Xr(Kt);if(ke)var qn=Z||Yn;else Ft?qn=Yn&&(Z||gn):et?qn=Yn&&gn&&(Z||!Ln):ct?qn=Yn&&gn&&!Ln&&(Z||!br):Ln||br?qn=!1:qn=Z?Kt<=O:Kt<O;qn?ue=Wt+1:_e=Wt}return ta(_e,se)}function Nl(E,O){for(var N=-1,Z=E.length,ue=0,_e=[];++N<Z;){var ke=E[N],et=O?O(ke):ke;if(!N||!Ho(et,ct)){var ct=et;_e[ue++]=ke===0?0:ke}}return _e}function df(E){return typeof E=="number"?E:Xr(E)?re:+E}function Si(E){if(typeof E=="string")return E;if(ir(E))return vr(E,Si)+"";if(Xr(E))return gl?gl.call(E):"";var O=E+"";return O=="0"&&1/E==-X?"-0":O}function Ui(E,O,N){var Z=-1,ue=xr,_e=E.length,ke=!0,et=[],ct=et;if(N)ke=!1,ue=ua;else if(_e>=t){var Ft=O?null:to(E);if(Ft)return Ot(Ft);ke=!1,ue=mr,ct=new na}else ct=O?[]:et;e:for(;++Z<_e;){var Wt=E[Z],Kt=O?O(Wt):Wt;if(Wt=N||Wt!==0?Wt:0,ke&&Kt===Kt){for(var gn=ct.length;gn--;)if(ct[gn]===Kt)continue e;O&&ct.push(Kt),et.push(Wt)}else ue(ct,Kt,N)||(ct!==et&&ct.push(Kt),et.push(Wt))}return et}function Ul(E,O){return O=Io(O,E),E=Xl(E,O),E==null||delete E[Ra(za(O))]}function Tc(E,O,N,Z){return Za(E,O,N(Qa(E,O)),Z)}function Go(E,O,N,Z){for(var ue=E.length,_e=Z?ue:-1;(Z?_e--:++_e<ue)&&O(E[_e],_e,E););return N?Ja(E,Z?0:_e,Z?_e+1:ue):Ja(E,Z?_e+1:0,Z?ue:_e)}function nu(E,O){var N=E;return N instanceof sr&&(N=N.value()),Be(O,function(Z,ue){return ue.func.apply(ue.thisArg,Hi([Z],ue.args))},N)}function Bu(E,O,N){var Z=E.length;if(Z<2)return Z?Ui(E[0]):[];for(var ue=-1,_e=Et(Z);++ue<Z;)for(var ke=E[ue],et=-1;++et<Z;)et!=ue&&(_e[ue]=Qs(_e[ue]||ke,E[et],O,N));return Ui(mi(_e,1),O,N)}function Ac(E,O,N){for(var Z=-1,ue=E.length,_e=O.length,ke={};++Z<ue;){var et=Z<_e?O[Z]:n;N(ke,E[Z],et)}return ke}function ju(E){return ji(E)?E:[]}function Fl(E){return typeof E=="function"?E:Fo}function Io(E,O){return ir(E)?E:ca(E,O)?[E]:Of(Ur(E))}var vf=ur;function Wo(E,O,N){var Z=E.length;return N=N===n?Z:N,!O&&N>=Z?E:Ja(E,O,N)}var Bl=bs||function(E){return Rr.clearTimeout(E)};function xc(E,O){if(O)return E.slice();var N=E.length,Z=yu?yu(N):new E.constructor(N);return E.copy(Z),Z}function fo(E){var O=new E.constructor(E.byteLength);return new bo(O).set(new bo(E)),O}function zu(E,O){var N=O?fo(E.buffer):E.buffer;return new E.constructor(N,E.byteOffset,E.byteLength)}function Ic(E){var O=new E.constructor(E.source,Zi.exec(E));return O.lastIndex=E.lastIndex,O}function Gu(E){return Cs?Dr(Cs.call(E)):{}}function wc(E,O){var N=O?fo(E.buffer):E.buffer;return new E.constructor(N,E.byteOffset,E.length)}function ru(E,O){if(E!==O){var N=E!==n,Z=E===null,ue=E===E,_e=Xr(E),ke=O!==n,et=O===null,ct=O===O,Ft=Xr(O);if(!et&&!Ft&&!_e&&E>O||_e&&ke&&ct&&!et&&!Ft||Z&&ke&&ct||!N&&ct||!ue)return 1;if(!Z&&!_e&&!Ft&&E<O||Ft&&N&&ue&&!Z&&!_e||et&&N&&ue||!ke&&ue||!ct)return-1}return 0}function hf(E,O,N){for(var Z=-1,ue=E.criteria,_e=O.criteria,ke=ue.length,et=N.length;++Z<ke;){var ct=ru(ue[Z],_e[Z]);if(ct){if(Z>=et)return ct;var Ft=N[Z];return ct*(Ft=="desc"?-1:1)}}return E.index-O.index}function pf(E,O,N,Z){for(var ue=-1,_e=E.length,ke=N.length,et=-1,ct=O.length,Ft=Di(_e-ke,0),Wt=Et(ct+Ft),Kt=!Z;++et<ct;)Wt[et]=O[et];for(;++ue<ke;)(Kt||ue<_e)&&(Wt[N[ue]]=E[ue]);for(;Ft--;)Wt[et++]=E[ue++];return Wt}function Wu(E,O,N,Z){for(var ue=-1,_e=E.length,ke=-1,et=N.length,ct=-1,Ft=O.length,Wt=Di(_e-et,0),Kt=Et(Wt+Ft),gn=!Z;++ue<Wt;)Kt[ue]=E[ue];for(var Ln=ue;++ct<Ft;)Kt[Ln+ct]=O[ct];for(;++ke<et;)(gn||ue<_e)&&(Kt[Ln+N[ke]]=E[ue++]);return Kt}function Ba(E,O){var N=-1,Z=E.length;for(O||(O=Et(Z));++N<Z;)O[N]=E[N];return O}function Ia(E,O,N,Z){var ue=!N;N||(N={});for(var _e=-1,ke=O.length;++_e<ke;){var et=O[_e],ct=Z?Z(N[et],E[et],et,N,E):n;ct===n&&(ct=E[et]),ue?$a(N,et,ct):Ps(N,et,ct)}return N}function Vf(E,O){return Ia(E,Kl(E),O)}function Rc(E,O){return Ia(E,dn(E),O)}function jl(E,O){return function(N,Z){var ue=ir(N)?Fe:as,_e=O?O():{};return ue(N,E,Dn(Z,2),_e)}}function ws(E){return ur(function(O,N){var Z=-1,ue=N.length,_e=ue>1?N[ue-1]:n,ke=ue>2?N[2]:n;for(_e=E.length>3&&typeof _e=="function"?(ue--,_e):n,ke&&ii(N[0],N[1],ke)&&(_e=ue<3?n:_e,ue=1),O=Dr(O);++Z<ue;){var et=N[Z];et&&E(O,et,Z,_e)}return O})}function Mc(E,O){return function(N,Z){if(N==null)return N;if(!Ya(N))return E(N,Z);for(var ue=N.length,_e=O?ue:-1,ke=Dr(N);(O?_e--:++_e<ue)&&Z(ke[_e],_e,ke)!==!1;);return N}}function ku(E){return function(O,N,Z){for(var ue=-1,_e=Dr(O),ke=Z(O),et=ke.length;et--;){var ct=ke[E?et:++ue];if(N(_e[ct],ct,_e)===!1)break}return O}}function gf(E,O,N){var Z=O&b,ue=ss(E);function _e(){var ke=this&&this!==Rr&&this instanceof _e?ue:E;return ke.apply(Z?N:this,arguments)}return _e}function zl(E){return function(O){O=Ur(O);var N=K(O)?ei(O):n,Z=N?N[0]:O.charAt(0),ue=N?Wo(N,1).join(""):O.slice(1);return Z[E]()+ue}}function Rs(E){return function(O){return Be(Tv(Pv(O).replace(Mn,"")),E,"")}}function ss(E){return function(){var O=arguments;switch(O.length){case 0:return new E;case 1:return new E(O[0]);case 2:return new E(O[0],O[1]);case 3:return new E(O[0],O[1],O[2]);case 4:return new E(O[0],O[1],O[2],O[3]);case 5:return new E(O[0],O[1],O[2],O[3],O[4]);case 6:return new E(O[0],O[1],O[2],O[3],O[4],O[5]);case 7:return new E(O[0],O[1],O[2],O[3],O[4],O[5],O[6])}var N=ts(E.prototype),Z=E.apply(N,O);return pt(Z)?Z:N}}function Dc(E,O,N){var Z=ss(E);function ue(){for(var _e=arguments.length,ke=Et(_e),et=_e,ct=ja(ue);et--;)ke[et]=arguments[et];var Ft=_e<3&&ke[0]!==ct&&ke[_e-1]!==ct?[]:Tt(ke,ct);if(_e-=Ft.length,_e<N)return Fi(E,O,Ms,ue.placeholder,n,ke,Ft,n,n,N-_e);var Wt=this&&this!==Rr&&this instanceof ue?Z:E;return gt(Wt,this,ke)}return ue}function Gl(E){return function(O,N,Z){var ue=Dr(O);if(!Ya(O)){var _e=Dn(N,3);O=va(O),N=function(et){return _e(ue[et],et,ue)}}var ke=E(O,N,Z);return ke>-1?ue[_e?O[ke]:ke]:n}}function Lc(E){return Ai(function(O){var N=O.length,Z=N,ue=Sa.prototype.thru;for(E&&O.reverse();Z--;){var _e=O[Z];if(typeof _e!="function")throw new La(i);if(ue&&!ke&&ls(_e)=="wrapper")var ke=new Sa([],!0)}for(Z=ke?Z:N;++Z<N;){_e=O[Z];var et=ls(_e),ct=et=="wrapper"?Bi(_e):n;ct&&Ls(ct[0])&&ct[1]==(M|_|T|U)&&!ct[4].length&&ct[9]==1?ke=ke[ls(ct[0])].apply(ke,ct[3]):ke=_e.length==1&&Ls(_e)?ke[et]():ke.thru(_e)}return function(){var Ft=arguments,Wt=Ft[0];if(ke&&Ft.length==1&&ir(Wt))return ke.plant(Wt).value();for(var Kt=0,gn=N?O[Kt].apply(this,Ft):Wt;++Kt<N;)gn=O[Kt].call(this,gn);return gn}})}function Ms(E,O,N,Z,ue,_e,ke,et,ct,Ft){var Wt=O&M,Kt=O&b,gn=O&C,Ln=O&(_|P),Yn=O&j,br=gn?n:ss(E);function qn(){for(var wr=arguments.length,Fr=Et(wr),$o=wr;$o--;)Fr[$o]=arguments[$o];if(Ln)var go=ja(qn),Qo=ar(Fr,go);if(Z&&(Fr=pf(Fr,Z,ue,Ln)),_e&&(Fr=Wu(Fr,_e,ke,Ln)),wr-=Qo,Ln&&wr<Ft){var ha=Tt(Fr,go);return Fi(E,O,Ms,qn.placeholder,N,Fr,ha,et,ct,Ft-wr)}var Bs=Kt?N:this,ol=gn?Bs[E]:E;return wr=Fr.length,et?Fr=Yu(Fr,et):Yn&&wr>1&&Fr.reverse(),Wt&&ct<wr&&(Fr.length=ct),this&&this!==Rr&&this instanceof qn&&(ol=br||ss(ol)),ol.apply(Bs,Fr)}return qn}function Nc(E,O){return function(N,Z){return Iu(N,E,O(Z),{})}}function Wl(E,O){return function(N,Z){var ue;if(N===n&&Z===n)return O;if(N!==n&&(ue=N),Z!==n){if(ue===n)return Z;typeof N=="string"||typeof Z=="string"?(N=Si(N),Z=Si(Z)):(N=df(N),Z=df(Z)),ue=E(N,Z)}return ue}}function kl(E){return Ai(function(O){return O=vr(O,cn(Dn())),ur(function(N){var Z=this;return E(O,function(ue){return gt(ue,Z,N)})})})}function Hu(E,O){O=O===n?" ":Si(O);var N=O.length;if(N<2)return N?tu(O,E):O;var Z=tu(O,Yo(E/gi(O)));return K(O)?Wo(ei(Z),0,E).join(""):Z.slice(0,E)}function mf(E,O,N,Z){var ue=O&b,_e=ss(E);function ke(){for(var et=-1,ct=arguments.length,Ft=-1,Wt=Z.length,Kt=Et(Wt+ct),gn=this&&this!==Rr&&this instanceof ke?_e:E;++Ft<Wt;)Kt[Ft]=Z[Ft];for(;ct--;)Kt[Ft++]=arguments[++et];return gt(gn,ue?N:this,Kt)}return ke}function Ku(E){return function(O,N,Z){return Z&&typeof Z!="number"&&ii(O,N,Z)&&(N=Z=n),O=Xi(O),N===n?(N=O,O=0):N=Xi(N),Z=Z===n?O<N?1:-1:Xi(Z),Cc(O,N,Z,E)}}function us(E){return function(O,N){return typeof O=="string"&&typeof N=="string"||(O=ia(O),N=ia(N)),E(O,N)}}function Fi(E,O,N,Z,ue,_e,ke,et,ct,Ft){var Wt=O&_,Kt=Wt?ke:n,gn=Wt?n:ke,Ln=Wt?_e:n,Yn=Wt?n:_e;O|=Wt?T:x,O&=~(Wt?x:T),O&A||(O&=~(b|C));var br=[E,O,ue,Ln,Kt,Yn,gn,et,ct,Ft],qn=N.apply(n,br);return Ls(E)&&jc(qn,br),qn.placeholder=Z,Yl(qn,E,O)}function Vu(E){var O=Pi[E];return function(N,Z){if(N=ia(N),Z=Z==null?0:ta(tr(Z),292),Z&&dl(N)){var ue=(Ur(N)+"e").split("e"),_e=O(ue[0]+"e"+(+ue[1]+Z));return ue=(Ur(_e)+"e").split("e"),+(ue[0]+"e"+(+ue[1]-Z))}return O(N)}}var to=Oo&&1/Ot(new Oo([,-0]))[1]==X?function(E){return new Oo(E)}:mv;function vo(E){return function(O){var N=$i(O);return N==be?de(O):N==Xe?hn(O):En(O,E(O))}}function wa(E,O,N,Z,ue,_e,ke,et){var ct=O&C;if(!ct&&typeof E!="function")throw new La(i);var Ft=Z?Z.length:0;if(Ft||(O&=~(T|x),Z=ue=n),ke=ke===n?ke:Di(tr(ke),0),et=et===n?et:tr(et),Ft-=ue?ue.length:0,O&x){var Wt=Z,Kt=ue;Z=ue=n}var gn=ct?n:Bi(E),Ln=[E,O,N,Z,ue,Wt,Kt,_e,ke,et];if(gn&&Sf(Ln,gn),E=Ln[0],O=Ln[1],N=Ln[2],Z=Ln[3],ue=Ln[4],et=Ln[9]=Ln[9]===n?ct?0:E.length:Di(Ln[9]-Ft,0),!et&&O&(_|P)&&(O&=~(_|P)),!O||O==b)var Yn=gf(E,O,N);else O==_||O==P?Yn=Dc(E,O,et):(O==T||O==(b|T))&&!ue.length?Yn=mf(E,O,N,Z):Yn=Ms.apply(n,Ln);var br=gn?jo:jc;return Yl(br(Yn,Ln),E,O)}function iu(E,O,N,Z){return E===n||Ho(E,qa[N])&&!Lr.call(Z,N)?O:E}function Uc(E,O,N,Z,ue,_e){return pt(E)&&pt(O)&&(_e.set(O,E),Lu(E,O,n,Uc,_e),_e.delete(O)),E}function $u(E){return Kn(E)?n:E}function Qu(E,O,N,Z,ue,_e){var ke=N&g,et=E.length,ct=O.length;if(et!=ct&&!(ke&&ct>et))return!1;var Ft=_e.get(E),Wt=_e.get(O);if(Ft&&Wt)return Ft==O&&Wt==E;var Kt=-1,gn=!0,Ln=N&m?new na:n;for(_e.set(E,O),_e.set(O,E);++Kt<et;){var Yn=E[Kt],br=O[Kt];if(Z)var qn=ke?Z(br,Yn,Kt,O,E,_e):Z(Yn,br,Kt,E,O,_e);if(qn!==n){if(qn)continue;gn=!1;break}if(Ln){if(!Ie(O,function(wr,Fr){if(!mr(Ln,Fr)&&(Yn===wr||ue(Yn,wr,N,Z,_e)))return Ln.push(Fr)})){gn=!1;break}}else if(!(Yn===br||ue(Yn,br,N,Z,_e))){gn=!1;break}}return _e.delete(E),_e.delete(O),gn}function Fc(E,O,N,Z,ue,_e,ke){switch(N){case ln:if(E.byteLength!=O.byteLength||E.byteOffset!=O.byteOffset)return!1;E=E.buffer,O=O.buffer;case on:return!(E.byteLength!=O.byteLength||!_e(new bo(E),new bo(O)));case ht:case xt:case Le:return Ho(+E,+O);case Bt:return E.name==O.name&&E.message==O.message;case jt:case zt:return E==O+"";case be:var et=de;case Xe:var ct=Z&g;if(et||(et=Ot),E.size!=O.size&&!ct)return!1;var Ft=ke.get(E);if(Ft)return Ft==O;Z|=m,ke.set(E,O);var Wt=Qu(et(E),et(O),Z,ue,_e,ke);return ke.delete(E),Wt;
vendor: 18,607 bytes, line 19
19case nn:if(Cs)return Cs.call(E)==Cs.call(O)}return!1}function er(E,O,N,Z,ue,_e){var ke=N&g,et=rr(E),ct=et.length,Ft=rr(O),Wt=Ft.length;if(ct!=Wt&&!ke)return!1;for(var Kt=ct;Kt--;){var gn=et[Kt];if(!(ke?gn in O:Lr.call(O,gn)))return!1}var Ln=_e.get(E),Yn=_e.get(O);if(Ln&&Yn)return Ln==O&&Yn==E;var br=!0;_e.set(E,O),_e.set(O,E);for(var qn=ke;++Kt<ct;){gn=et[Kt];var wr=E[gn],Fr=O[gn];if(Z)var $o=ke?Z(Fr,wr,gn,O,E,_e):Z(wr,Fr,gn,E,O,_e);if(!($o===n?wr===Fr||ue(wr,Fr,N,Z,_e):$o)){br=!1;break}qn||(qn=gn=="constructor")}if(br&&!qn){var go=E.constructor,Qo=O.constructor;go!=Qo&&"constructor"in E&&"constructor"in O&&!(typeof go=="function"&&go instanceof go&&typeof Qo=="function"&&Qo instanceof Qo)&&(br=!1)}return _e.delete(E),_e.delete(O),br}function Ai(E){return Jl(Ql(E,n,nc),E+"")}function rr(E){return Tl(E,va,Kl)}function _a(E){return Tl(E,Ma,dn)}var Bi=ti?function(E){return ti.get(E)}:mv;function ls(E){for(var O=E.name+"",N=di[O],Z=Lr.call(di,O)?N.length:0;Z--;){var ue=N[Z],_e=ue.func;if(_e==null||_e==E)return ue.name}return O}function ja(E){var O=Lr.call(ye,"placeholder")?ye:E;return O.placeholder}function Dn(){var E=ye.iteratee||pv;return E=E===pv?Ru:E,arguments.length?E(arguments[0],arguments[1]):E}function ko(E,O){var N=E.__data__;return fa(O)?N[typeof O=="string"?"string":"hash"]:N.map}function cs(E){for(var O=va(E),N=O.length;N--;){var Z=O[N],ue=E[Z];O[N]=[Z,ue,$l(ue)]}return O}function wo(E,O){var N=z(E,O);return Il(N)?N:n}function Hl(E){var O=Lr.call(E,Jo),N=E[Jo];try{E[Jo]=n;var Z=!0}catch(_e){}var ue=Gs.call(E);return Z&&(O?E[Jo]=N:delete E[Jo]),ue}var Kl=Su?function(E){return E==null?[]:(E=Dr(E),$n(Su(E),function(O){return fc.call(E,O)}))}:yv,dn=Su?function(E){for(var O=[];E;)Hi(O,Kl(E)),E=Bo(E);return O}:yv,$i=Li;(hl&&$i(new hl(new ArrayBuffer(1)))!=ln||Os&&$i(new Os)!=be||pl&&$i(pl.resolve())!=wt||Oo&&$i(new Oo)!=Xe||so&&$i(new so)!=Ut)&&($i=function(E){var O=Li(E),N=O==yt?E.constructor:n,Z=N?Us(N):"";if(Z)switch(Z){case la:return ln;case xa:return be;case qo:return wt;case _s:return Xe;case Ea:return Ut}return O});function Bc(E,O,N){for(var Z=-1,ue=N.length;++Z<ue;){var _e=N[Z],ke=_e.size;switch(_e.type){case"drop":E+=ke;break;case"dropRight":O-=ke;break;case"take":O=ta(O,E+ke);break;case"takeRight":E=Di(E,O-ke);break}}return{start:E,end:O}}function fs(E){var O=E.match(Ii);return O?O[1].split(Hr):[]}function Xu(E,O,N){O=Io(O,E);for(var Z=-1,ue=O.length,_e=!1;++Z<ue;){var ke=Ra(O[Z]);if(!(_e=E!=null&&N(E,ke)))break;E=E[ke]}return _e||++Z!=ue?_e:(ue=E==null?0:E.length,!!ue&&ot(ue)&&no(ke,ue)&&(ir(E)||rl(E)))}function Zu(E){var O=E.length,N=new E.constructor(O);return O&&typeof E[0]=="string"&&Lr.call(E,"index")&&(N.index=E.index,N.input=E.input),N}function au(E){return typeof E.constructor=="function"&&!ds(E)?ts(Bo(E)):{}}function Ds(E,O,N){var Z=E.constructor;switch(O){case on:return fo(E);case ht:case xt:return new Z(+E);case ln:return zu(E,N);case te:case Ee:case Ue:case ze:case Ve:case fe:case We:case tt:case St:return wc(E,N);case be:return new Z;case Le:case zt:return new Z(E);case jt:return Ic(E);case Xe:return new Z;case nn:return Gu(E)}}function Ju(E,O){var N=O.length;if(!N)return E;var Z=N-1;return O[Z]=(N>1?"& ":"")+O[Z],O=O.join(N>2?", ":" "),E.replace(Pn,"{\n/* [wrapped with "+O+"] */\n")}function Vl(E){return ir(E)||rl(E)||!!(dc&&E&&E[dc])}function no(E,O){var N=typeof E;return O=O==null?k:O,!!O&&(N=="number"||N!="symbol"&&fr.test(E))&&E>-1&&E%1==0&&E<O}function ii(E,O,N){if(!pt(N))return!1;var Z=typeof O;return(Z=="number"?Ya(N)&&no(O,N.length):Z=="string"&&O in N)?Ho(N[O],E):!1}function ca(E,O){if(ir(E))return!1;var N=typeof E;return N=="number"||N=="symbol"||N=="boolean"||E==null||Xr(E)?!0:zi.test(E)||!bi.test(E)||O!=null&&E in Dr(O)}function fa(E){var O=typeof E;return O=="string"||O=="number"||O=="symbol"||O=="boolean"?E!=="__proto__":E===null}function Ls(E){var O=ls(E),N=ye[O];if(typeof N!="function"||!(O in sr.prototype))return!1;if(E===N)return!0;var Z=Bi(N);return!!Z&&E===Z[0]}function ho(E){return!!ul&&ul in E}var xi=zs?Ge:Ev;function ds(E){var O=E&&E.constructor,N=typeof O=="function"&&O.prototype||qa;return E===N}function $l(E){return E===E&&!pt(E)}function yf(E,O){return function(N){return N==null?!1:N[E]===O&&(O!==n||E in Dr(N))}}function Ef(E){var O=Zc(E,function(Z){return N.size===u&&N.clear(),Z}),N=O.cache;return O}function Sf(E,O){var N=E[1],Z=O[1],ue=N|Z,_e=ue<(b|C|M),ke=Z==M&&N==_||Z==M&&N==U&&E[7].length<=O[8]||Z==(M|U)&&O[7].length<=O[8]&&N==_;if(!(_e||ke))return E;Z&b&&(E[2]=O[2],ue|=N&b?0:A);var et=O[3];if(et){var ct=E[3];E[3]=ct?pf(ct,et,O[4]):et,E[4]=ct?Tt(E[3],s):O[4]}return et=O[5],et&&(ct=E[5],E[5]=ct?Wu(ct,et,O[6]):et,E[6]=ct?Tt(E[5],s):O[6]),et=O[7],et&&(E[7]=et),Z&M&&(E[8]=E[8]==null?O[8]:ta(E[8],O[8])),E[9]==null&&(E[9]=O[9]),E[0]=O[0],E[1]=ue,E}function Ns(E){var O=[];if(E!=null)for(var N in Dr(E))O.push(N);return O}function bf(E){return Gs.call(E)}function Ql(E,O,N){return O=Di(O===n?E.length-1:O,0),function(){for(var Z=arguments,ue=-1,_e=Di(Z.length-O,0),ke=Et(_e);++ue<_e;)ke[ue]=Z[O+ue];ue=-1;for(var et=Et(O+1);++ue<O;)et[ue]=Z[ue];return et[O]=N(ke),gt(E,this,et)}}function Xl(E,O){return O.length<2?E:Qa(E,Ja(O,0,-1))}function Yu(E,O){for(var N=E.length,Z=ta(O.length,N),ue=Ba(E);Z--;){var _e=O[Z];E[Z]=no(_e,N)?ue[_e]:n}return E}function Zl(E,O){if(!(O==="constructor"&&typeof E[O]=="function")&&O!="__proto__")return E[O]}var jc=hs(jo),vs=ks||function(E,O){return Rr.setTimeout(E,O)},Jl=hs(Is);function Yl(E,O,N){var Z=O+"";return Jl(E,Ju(Z,_f(fs(Z),N)))}function hs(E){var O=0,N=0;return function(){var Z=nf(),ue=ie-(Z-N);if(N=Z,ue>0){if(++O>=J)return arguments[0]}else O=0;return E.apply(n,arguments)}}function ql(E,O){var N=-1,Z=E.length,ue=Z-1;for(O=O===n?Z:O;++N<O;){var _e=Uu(N,ue),ke=E[_e];E[_e]=E[N],E[N]=ke}return E.length=O,E}var Of=Ef(function(E){var O=[];return E.charCodeAt(0)===46&&O.push(""),E.replace(aa,function(N,Z,ue,_e){O.push(ue?_e.replace(Br,"$1"):Z||N)}),O});function Ra(E){if(typeof E=="string"||Xr(E))return E;var O=E+"";return O=="0"&&1/E==-X?"-0":O}function Us(E){if(E!=null){try{return Ki.call(E)}catch(O){}try{return E+""}catch(O){}}return""}function _f(E,O){return qt(pe,function(N){var Z="_."+N[0];O&N[1]&&!xr(E,Z)&&E.push(Z)}),E.sort()}function ps(E){if(E instanceof sr)return E.clone();var O=new Sa(E.__wrapped__,E.__chain__);return O.__actions__=Ba(E.__actions__),O.__index__=E.__index__,O.__values__=E.__values__,O}function $f(E,O,N){(N?ii(E,O,N):O===n)?O=1:O=Di(tr(O),0);var Z=E==null?0:E.length;if(!Z||O<1)return[];for(var ue=0,_e=0,ke=Et(Yo(Z/O));ue<Z;)ke[_e++]=Ja(E,ue,ue+=O);return ke}function Qf(E){for(var O=-1,N=E==null?0:E.length,Z=0,ue=[];++O<N;){var _e=E[O];_e&&(ue[Z++]=_e)}return ue}function Cf(){var E=arguments.length;if(!E)return[];for(var O=Et(E-1),N=arguments[0],Z=E;Z--;)O[Z-1]=arguments[Z];return Hi(ir(N)?Ba(N):[N],mi(O,1))}var zc=ur(function(E,O){return ji(E)?Qs(E,mi(O,1,ji,!0)):[]}),Gc=ur(function(E,O){var N=za(O);return ji(N)&&(N=n),ji(E)?Qs(E,mi(O,1,ji,!0),Dn(N,2)):[]}),Xf=ur(function(E,O){var N=za(O);return ji(N)&&(N=n),ji(E)?Qs(E,mi(O,1,ji,!0),n,N):[]});function ec(E,O,N){var Z=E==null?0:E.length;return Z?(O=N||O===n?1:tr(O),Ja(E,O<0?0:O,Z)):[]}function Ro(E,O,N){var Z=E==null?0:E.length;return Z?(O=N||O===n?1:tr(O),O=Z-O,Ja(E,0,O<0?0:O)):[]}function tc(E,O){return E&&E.length?Go(E,Dn(O,3),!0,!0):[]}function Zf(E,O){return E&&E.length?Go(E,Dn(O,3),!0):[]}function Fs(E,O,N,Z){var ue=E==null?0:E.length;return ue?(N&&typeof N!="number"&&ii(E,O,N)&&(N=0,Z=ue),Pl(E,O,N,Z)):[]}function ou(E,O,N){var Z=E==null?0:E.length;if(!Z)return-1;var ue=N==null?0:tr(N);return ue<0&&(ue=Di(Z+ue,0)),Rt(E,Dn(O,3),ue)}function Mo(E,O,N){var Z=E==null?0:E.length;if(!Z)return-1;var ue=Z-1;return N!==n&&(ue=tr(N),ue=N<0?Di(Z+ue,0):ta(ue,Z-1)),Rt(E,Dn(O,3),ue,!0)}function nc(E){var O=E==null?0:E.length;return O?mi(E,1):[]}function Wc(E){var O=E==null?0:E.length;return O?mi(E,X):[]}function kc(E,O){var N=E==null?0:E.length;return N?(O=O===n?1:tr(O),mi(E,O)):[]}function Pf(E){for(var O=-1,N=E==null?0:E.length,Z={};++O<N;){var ue=E[O];Z[ue[0]]=ue[1]}return Z}function Do(E){return E&&E.length?E[0]:n}function Tf(E,O,N){var Z=E==null?0:E.length;if(!Z)return-1;var ue=N==null?0:tr(N);return ue<0&&(ue=Di(Z+ue,0)),dt(E,O,ue)}function Hc(E){var O=E==null?0:E.length;return O?Ja(E,0,-1):[]}var su=ur(function(E){var O=vr(E,ju);return O.length&&O[0]===E[0]?Js(O):[]}),Kc=ur(function(E){var O=za(E),N=vr(E,ju);return O===za(N)?O=n:N.pop(),N.length&&N[0]===E[0]?Js(N,Dn(O,2)):[]}),Af=ur(function(E){var O=za(E),N=vr(E,ju);return O=typeof O=="function"?O:n,O&&N.pop(),N.length&&N[0]===E[0]?Js(N,n,O):[]});function qu(E,O){return E==null?"":tf.call(E,O)}function za(E){var O=E==null?0:E.length;return O?E[O-1]:n}function uu(E,O,N){var Z=E==null?0:E.length;if(!Z)return-1;var ue=Z;return N!==n&&(ue=tr(N),ue=ue<0?Di(Z+ue,0):ta(ue,Z-1)),O===O?Sn(E,O,ue):Rt(E,un,ue,!0)}function Jf(E,O){return E&&E.length?Ml(E,tr(O)):n}var rc=ur(xf);function xf(E,O){return E&&E.length&&O&&O.length?eu(E,O):E}function If(E,O,N){return E&&E.length&&O&&O.length?eu(E,O,Dn(N,2)):E}function Yf(E,O,N){return E&&E.length&&O&&O.length?eu(E,O,n,N):E}var h=Ai(function(E,O){var N=E==null?0:E.length,Z=Ol(E,O);return os(E,vr(O,function(ue){return no(ue,N)?+ue:ue}).sort(ru)),Z});function S(E,O){var N=[];if(!(E&&E.length))return N;var Z=-1,ue=[],_e=E.length;for(O=Dn(O,3);++Z<_e;){var ke=E[Z];O(ke,Z,E)&&(N.push(ke),ue.push(Z))}return os(E,ue),N}function I(E){return E==null?E:hc.call(E)}function B(E,O,N){var Z=E==null?0:E.length;return Z?(N&&typeof N!="number"&&ii(E,O,N)?(O=0,N=Z):(O=O==null?0:tr(O),N=N===n?Z:tr(N)),Ja(E,O,N)):[]}function V(E,O){return Fu(E,O)}function he(E,O,N){return zo(E,O,Dn(N,2))}function Se(E,O){var N=E==null?0:E.length;if(N){var Z=Fu(E,O);if(Z<N&&Ho(E[Z],O))return Z}return-1}function je(E,O){return Fu(E,O,!0)}function _t(E,O,N){return zo(E,O,Dn(N,2),!0)}function Ct(E,O){var N=E==null?0:E.length;if(N){var Z=Fu(E,O,!0)-1;if(Ho(E[Z],O))return Z}return-1}function pn(E){return E&&E.length?Nl(E):[]}function _n(E,O){return E&&E.length?Nl(E,Dn(O,2)):[]}function lr(E){var O=E==null?0:E.length;return O?Ja(E,1,O):[]}function Nr(E,O,N){return E&&E.length?(O=N||O===n?1:tr(O),Ja(E,0,O<0?0:O)):[]}function ro(E,O,N){var Z=E==null?0:E.length;return Z?(O=N||O===n?1:tr(O),O=Z-O,Ja(E,O<0?0:O,Z)):[]}function ra(E,O){return E&&E.length?Go(E,Dn(O,3),!1,!0):[]}function vt(E,O){return E&&E.length?Go(E,Dn(O,3)):[]}var lt=ur(function(E){return Ui(mi(E,1,ji,!0))}),Mt=ur(function(E){var O=za(E);return ji(O)&&(O=n),Ui(mi(E,1,ji,!0),Dn(O,2))}),Xt=ur(function(E){var O=za(E);return O=typeof O=="function"?O:n,Ui(mi(E,1,ji,!0),n,O)});function fn(E){return E&&E.length?Ui(E):[]}function Tn(E,O){return E&&E.length?Ui(E,Dn(O,2)):[]}function Xn(E,O){return O=typeof O=="function"?O:n,E&&E.length?Ui(E,n,O):[]}function Pr(E){if(!(E&&E.length))return[];var O=0;return E=$n(E,function(N){if(ji(N))return O=Di(N.length,O),!0}),Gn(O,function(N){return vr(E,In(N))})}function ai(E,O){if(!(E&&E.length))return[];var N=Pr(E);return O==null?N:vr(N,function(Z){return gt(O,n,Z)})}var cr=ur(function(E,O){return ji(E)?Qs(E,O):[]}),gs=ur(function(E){return Bu($n(E,ji))}),Vc=ur(function(E){var O=za(E);return ji(O)&&(O=n),Bu($n(E,ji),Dn(O,2))}),Cd=ur(function(E){var O=za(E);return O=typeof O=="function"?O:n,Bu($n(E,ji),n,O)}),Pd=ur(Pr);function sd(E,O){return Ac(E||[],O||[],Ps)}function Td(E,O){return Ac(E||[],O||[],Za)}var Ad=ur(function(E){var O=E.length,N=O>1?E[O-1]:n;return N=typeof N=="function"?(E.pop(),N):n,ai(E,N)});function ud(E){var O=ye(E);return O.__chain__=!0,O}function xd(E,O){return O(E),E}function wf(E,O){return O(E)}var Id=Ai(function(E){var O=E.length,N=O?E[0]:0,Z=this.__wrapped__,ue=function(_e){return Ol(_e,E)};return O>1||this.__actions__.length||!(Z instanceof sr)||!no(N)?this.thru(ue):(Z=Z.slice(N,+N+(O?1:0)),Z.__actions__.push({func:wf,args:[ue],thisArg:n}),new Sa(Z,this.__chain__).thru(function(_e){return O&&!_e.length&&_e.push(n),_e}))});function ld(){return ud(this)}function wd(){return new Sa(this.value(),this.__chain__)}function Rd(){this.__values__===n&&(this.__values__=Ko(this.value()));var E=this.__index__>=this.__values__.length,O=E?n:this.__values__[this.__index__++];return{done:E,value:O}}function Md(){return this}function Dd(E){for(var O,N=this;N instanceof uo;){var Z=ps(N);Z.__index__=0,Z.__values__=n,O?ue.__wrapped__=Z:O=Z;var ue=Z;N=N.__wrapped__}return ue.__wrapped__=E,O}function qf(){var E=this.__wrapped__;if(E instanceof sr){var O=E;return this.__actions__.length&&(O=new sr(this)),O=O.reverse(),O.__actions__.push({func:wf,args:[I],thisArg:n}),new Sa(O,this.__chain__)}return this.thru(I)}function ed(){return nu(this.__wrapped__,this.__actions__)}var Ld=jl(function(E,O,N){Lr.call(E,N)?++E[N]:$a(E,N,1)});function ic(E,O,N){var Z=ir(E)?mn:Tu;return N&&ii(E,O,N)&&(O=n),Z(E,Dn(O,3))}function Nd(E,O){var N=ir(E)?$n:Au;return N(E,Dn(O,3))}var Ud=Gl(ou),Fd=Gl(Mo);function Bd(E,O){return mi($c(E,O),1)}function jd(E,O){return mi($c(E,O),X)}function zd(E,O,N){return N=N===n?1:tr(N),mi($c(E,O),N)}function td(E,O){var N=ir(E)?qt:To;return N(E,Dn(O,3))}function ac(E,O){var N=ir(E)?xn:Cl;return N(E,Dn(O,3))}var Gd=jl(function(E,O,N){Lr.call(E,N)?E[N].push(O):$a(E,N,[O])});function Wd(E,O,N,Z){E=Ya(E)?E:Gf(E),N=N&&!Z?tr(N):0;var ue=E.length;return N<0&&(N=Di(ue+N,0)),io(E)?N<=ue&&E.indexOf(O,N)>-1:!!ue&&dt(E,O,N)>-1}var el=ur(function(E,O,N){var Z=-1,ue=typeof O=="function",_e=Ya(E)?Et(E.length):[];return To(E,function(ke){_e[++Z]=ue?gt(O,ke,N):ba(ke,O,N)}),_e}),kd=jl(function(E,O,N){$a(E,N,O)});function $c(E,O){var N=ir(E)?vr:Oc;return N(E,Dn(O,3))}function Hd(E,O,N,Z){return E==null?[]:(ir(O)||(O=O==null?[]:[O]),N=Z?n:N,ir(N)||(N=N==null?[]:[N]),Dl(E,O,N))}var Kd=jl(function(E,O,N){E[N?0:1].push(O)},function(){return[[],[]]});function Vd(E,O,N){var Z=ir(E)?Be:rn,ue=arguments.length<3;return Z(E,Dn(O,4),N,ue,To)}function nd(E,O,N){var Z=ir(E)?Ke:rn,ue=arguments.length<3;return Z(E,Dn(O,4),N,ue,Cl)}function $d(E,O){var N=ir(E)?$n:Au;return N(E,Rf(Dn(O,3)))}function tl(E){var O=ir(E)?Sc:Hf;return O(E)}function Qd(E,O,N){(N?ii(E,O,N):O===n)?O=1:O=tr(O);var Z=ir(E)?is:Kf;return Z(E,O)}function cd(E){var O=ir(E)?eo:ff;return O(E)}function Xd(E){if(E==null)return 0;if(Ya(E))return io(E)?gi(E):E.length;var O=$i(E);return O==be||O==Xe?E.size:qs(E).length}function Zd(E,O,N){var Z=ir(E)?Ie:Pc;return N&&ii(E,O,N)&&(O=n),Z(E,Dn(O,3))}var Jd=ur(function(E,O){if(E==null)return[];var N=O.length;return N>1&&ii(E,O[0],O[1])?O=[]:N>2&&ii(O[0],O[1],O[2])&&(O=[O[0]]),Dl(E,mi(O,1),[])}),oc=Eu||function(){return Rr.Date.now()};function Yd(E,O){if(typeof O!="function")throw new La(i);return E=tr(E),function(){if(--E<1)return O.apply(this,arguments)}}function fd(E,O,N){return O=N?n:O,O=E&&O==null?E.length:O,wa(E,M,n,n,n,n,O)}function nl(E,O){var N;if(typeof O!="function")throw new La(i);return E=tr(E),function(){return--E>0&&(N=O.apply(this,arguments)),E<=1&&(O=n),N}}var Qc=ur(function(E,O,N){var Z=b;if(N.length){var ue=Tt(N,ja(Qc));Z|=T}return wa(E,Z,O,N,ue)}),dd=ur(function(E,O,N){var Z=b|C;if(N.length){var ue=Tt(N,ja(dd));Z|=T}return wa(O,Z,E,N,ue)});function vd(E,O,N){O=N?n:O;var Z=wa(E,_,n,n,n,n,n,O);return Z.placeholder=vd.placeholder,Z}function hd(E,O,N){O=N?n:O;var Z=wa(E,P,n,n,n,n,n,O);return Z.placeholder=hd.placeholder,Z}function pd(E,O,N){var Z,ue,_e,ke,et,ct,Ft=0,Wt=!1,Kt=!1,gn=!0;if(typeof E!="function")throw new La(i);O=ia(O)||0,pt(N)&&(Wt=!!N.leading,Kt="maxWait"in N,_e=Kt?Di(ia(N.maxWait)||0,O):_e,gn="trailing"in N?!!N.trailing:gn);function Ln(ha){var Bs=Z,ol=ue;return Z=ue=n,Ft=ha,ke=E.apply(ol,Bs),ke}function Yn(ha){return Ft=ha,et=vs(wr,O),Wt?Ln(ha):ke}function br(ha){var Bs=ha-ct,ol=ha-Ft,Iv=O-Bs;return Kt?ta(Iv,_e-ol):Iv}function qn(ha){var Bs=ha-ct,ol=ha-Ft;return ct===n||Bs>=O||Bs<0||Kt&&ol>=_e}function wr(){var ha=oc();if(qn(ha))return Fr(ha);et=vs(wr,br(ha))}function Fr(ha){return et=n,gn&&Z?Ln(ha):(Z=ue=n,ke)}function $o(){et!==n&&Bl(et),Ft=0,Z=ct=ue=et=n}function go(){return et===n?ke:Fr(oc())}function Qo(){var ha=oc(),Bs=qn(ha);if(Z=arguments,ue=this,ct=ha,Bs){if(et===n)return Yn(ct);if(Kt)return Bl(et),et=vs(wr,O),Ln(ct)}return et===n&&(et=vs(wr,O)),ke}return Qo.cancel=$o,Qo.flush=go,Qo}var qd=ur(function(E,O){return Pu(E,1,O)}),ev=ur(function(E,O,N){return Pu(E,ia(O)||0,N)});function Xc(E){return wa(E,j)}function Zc(E,O){if(typeof E!="function"||O!=null&&typeof O!="function")throw new La(i);var N=function(){var Z=arguments,ue=O?O.apply(this,Z):Z[0],_e=N.cache;if(_e.has(ue))return _e.get(ue);var ke=E.apply(this,Z);return N.cache=_e.set(ue,ke)||_e,ke};return N.cache=new(Zc.Cache||Ti),N}Zc.Cache=Ti;function Rf(E){if(typeof E!="function")throw new La(i);return function(){var O=arguments;switch(O.length){case 0:return!E.call(this);case 1:return!E.call(this,O[0]);case 2:return!E.call(this,O[0],O[1]);case 3:return!E.call(this,O[0],O[1],O[2])}return!E.apply(this,O)}}function gd(E){return nl(2,E)}var tv=vf(function(E,O){O=O.length==1&&ir(O[0])?vr(O[0],cn(Dn())):vr(mi(O,1),cn(Dn()));var N=O.length;return ur(function(Z){for(var ue=-1,_e=ta(Z.length,N);++ue<_e;)Z[ue]=O[ue].call(this,Z[ue]);return gt(E,this,Z)})}),Mf=ur(function(E,O){var N=Tt(O,ja(Mf));return wa(E,T,n,O,N)}),md=ur(function(E,O){var N=Tt(O,ja(md));return wa(E,x,n,O,N)}),nv=Ai(function(E,O){return wa(E,U,n,n,n,O)});function rv(E,O){if(typeof E!="function")throw new La(i);return O=O===n?O:tr(O),ur(E,O)}function rd(E,O){if(typeof E!="function")throw new La(i);return O=O==null?0:Di(tr(O),0),ur(function(N){var Z=N[O],ue=Wo(N,0,O);return Z&&Hi(ue,Z),gt(E,this,ue)})}function iv(E,O,N){var Z=!0,ue=!0;if(typeof E!="function")throw new La(i);return pt(N)&&(Z="leading"in N?!!N.leading:Z,ue="trailing"in N?!!N.trailing:ue),pd(E,O,{leading:Z,maxWait:O,trailing:ue})}function yd(E){return fd(E,1)}function av(E,O){return Mf(Fl(O),E)}function ov(){if(!arguments.length)return[];var E=arguments[0];return ir(E)?E:[E]}function sv(E){return Fa(E,v)}function id(E,O){return O=typeof O=="function"?O:n,Fa(E,v,O)}function uv(E){return Fa(E,f|v)}function Ed(E,O){return O=typeof O=="function"?O:n,Fa(E,f|v,O)}function lv(E,O){return O==null||Cu(E,O,va(O))}function Ho(E,O){return E===O||E!==E&&O!==O}var cv=us(Al),ad=us(function(E,O){return E>=O}),rl=co(function(){return arguments}())?co:function(E){return mt(E)&&Lr.call(E,"callee")&&!fc.call(E,"callee")},ir=Et.isArray,fv=Ka?cn(Ka):Ni;function Ya(E){return E!=null&&ot(E.length)&&!Ge(E)}function ji(E){return mt(E)&&Ya(E)}function Sd(E){return E===!0||E===!1||mt(E)&&Li(E)==ht}var w=ef||Ev,D=Te?cn(Te):Oa;function R(E){return mt(E)&&E.nodeType===1&&!Kn(E)}function L(E){if(E==null)return!0;
vendor: 4,565 bytes, line 19
19if(Ya(E)&&(ir(E)||typeof E=="string"||typeof E.splice=="function"||w(E)||da(E)||rl(E)))return!E.length;var O=$i(E);if(O==be||O==Xe)return!E.size;if(ds(E))return!qs(E).length;for(var N in E)if(Lr.call(E,N))return!1;return!0}function F(E,O){return Ei(E,O)}function Q(E,O,N){N=typeof N=="function"?N:n;var Z=N?N(E,O):n;return Z===n?Ei(E,O,n,N):!!Z}function ge(E){if(!mt(E))return!1;var O=Li(E);return O==Bt||O==At||typeof E.message=="string"&&typeof E.name=="string"&&!Kn(E)}function Ne(E){return typeof E=="number"&&dl(E)}function Ge(E){if(!pt(E))return!1;var O=Li(E);return O==en||O==Vt||O==Me||O==Lt}function Qe(E){return typeof E=="number"&&E==tr(E)}function ot(E){return typeof E=="number"&&E>-1&&E%1==0&&E<=k}function pt(E){var O=typeof E;return E!=null&&(O=="object"||O=="function")}function mt(E){return E!=null&&typeof E=="object"}var Ht=Ce?cn(Ce):Xa;function Rn(E,O){return E===O||wu(E,O,cs(O))}function Wn(E,O,N){return N=typeof N=="function"?N:n,wu(E,O,cs(O),N)}function Fn(E){return Bn(E)&&E!=+E}function Er(E){if(xi(E))throw new Qn(r);return Il(E)}function Sr(E){return E===null}function Zn(E){return E==null}function Bn(E){return typeof E=="number"||mt(E)&&Li(E)==Le}function Kn(E){if(!mt(E)||Li(E)!=yt)return!1;var O=Bo(E);if(O===null)return!0;var N=Lr.call(O,"constructor")&&O.constructor;return typeof N=="function"&&N instanceof N&&Ki.call(N)==mu}var nr=xe?cn(xe):As;function Qi(E){return Qe(E)&&E>=-k&&E<=k}var Ga=Ze?cn(Ze):Ys;function io(E){return typeof E=="string"||!ir(E)&&mt(E)&&Li(E)==zt}function Xr(E){return typeof E=="symbol"||mt(E)&&Li(E)==nn}var da=at?cn(at):xs;function lu(E){return E===n}function po(E){return mt(E)&&$i(E)==Ut}function cu(E){return mt(E)&&Li(E)==Jt}var Lo=us(Mu),fu=us(function(E,O){return E<=O});function Ko(E){if(!E)return[];if(Ya(E))return io(E)?ei(E):Ba(E);if(oo&&E[oo])return me(E[oo]());var O=$i(E),N=O==be?de:O==Xe?Ot:Gf;return N(E)}function Xi(E){if(!E)return E===0?E:0;if(E=ia(E),E===X||E===-X){var O=E<0?-1:1;return O*ne}return E===E?E:0}function tr(E){var O=Xi(E),N=O%1;return O===O?N?O-N:O:0}function ms(E){return E?Ua(tr(E),0,le):0}function ia(E){if(typeof E=="number")return E;if(Xr(E))return re;if(pt(E)){var O=typeof E.valueOf=="function"?E.valueOf():E;E=pt(O)?O+"":O}if(typeof E!="string")return E===0?E:+E;E=Mr(E);var N=Ri.test(E);return N||jr.test(E)?Wa(E.slice(2),N?2:8):wi.test(E)?re:+E}function No(E){return Ia(E,Ma(E))}function Df(E){return E?Ua(tr(E),-k,k):E===0?E:0}function Ur(E){return E==null?"":Si(E)}var Lf=ws(function(E,O){if(ds(O)||Ya(O)){Ia(O,va(O),E);return}for(var N in O)Lr.call(O,N)&&Ps(E,N,O[N])}),Jc=ws(function(E,O){Ia(O,Ma(O),E)}),Vo=ws(function(E,O,N,Z){Ia(O,Ma(O),E,Z)}),Uo=ws(function(E,O,N,Z){Ia(O,va(O),E,Z)}),od=Ai(Ol);function il(E,O){var N=ts(E);return O==null?N:Po(N,O)}var sc=ur(function(E,O){E=Dr(E);var N=-1,Z=O.length,ue=Z>2?O[2]:n;for(ue&&ii(O[0],O[1],ue)&&(Z=1);++N<Z;)for(var _e=O[N],ke=Ma(_e),et=-1,ct=ke.length;++et<ct;){var Ft=ke[et],Wt=E[Ft];(Wt===n||Ho(Wt,qa[Ft])&&!Lr.call(E,Ft))&&(E[Ft]=_e[Ft])}return E}),Nf=ur(function(E){return E.push(n,Uc),gt(Sv,n,E)});function al(E,O){return Nt(E,Dn(O,3),Vi)}function bd(E,O){return Nt(E,Dn(O,3),Ts)}function ys(E,O){return E==null?E:Xs(E,Dn(O,3),Ma)}function du(E,O){return E==null?E:Zs(E,Dn(O,3),Ma)}function Uf(E,O){return E&&Vi(E,Dn(O,3))}function vu(E,O){return E&&Ts(E,Dn(O,3))}function Ff(E){return E==null?[]:xo(E,va(E))}function Bf(E){return E==null?[]:xo(E,Ma(E))}function Yc(E,O,N){var Z=E==null?n:Qa(E,O);return Z===n?N:Z}function dv(E,O){return E!=null&&Xu(E,O,bc)}function jf(E,O){return E!=null&&Xu(E,O,yi)}var Od=Nc(function(E,O,N){O!=null&&typeof O.toString!="function"&&(O=Gs.call(O)),E[O]=N},hv(Fo)),_d=Nc(function(E,O,N){O!=null&&typeof O.toString!="function"&&(O=Gs.call(O)),Lr.call(E,O)?E[O].push(N):E[O]=[N]},Dn),zf=ur(ba);function va(E){return Ya(E)?bl(E):qs(E)}function Ma(E){return Ya(E)?bl(E,!0):wl(E)}function wv(E,O){var N={};return O=Dn(O,3),Vi(E,function(Z,ue,_e){$a(N,O(Z,ue,_e),Z)}),N}function Rv(E,O){var N={};return O=Dn(O,3),Vi(E,function(Z,ue,_e){$a(N,ue,O(Z,ue,_e))}),N}var Mv=ws(function(E,O,N){Lu(E,O,N)}),Sv=ws(function(E,O,N,Z){Lu(E,O,N,Z)}),Dv=Ai(function(E,O){var N={};if(E==null)return N;var Z=!1;O=vr(O,function(_e){return _e=Io(_e,E),Z||(Z=_e.length>1),_e}),Ia(E,_a(E),N),Z&&(N=Fa(N,f|p|v,$u));for(var ue=O.length;ue--;)Ul(N,O[ue]);return N});function Lv(E,O){return bv(E,Rf(Dn(O)))}var Nv=Ai(function(E,O){return E==null?{}:cf(E,O)});function bv(E,O){if(E==null)return{};var N=vr(_a(E),function(Z){return[Z]});return O=Dn(O),Ll(E,N,function(Z,ue){return O(Z,ue[0])})}
vendor: 16,012 bytes, line 19
19function Uv(E,O,N){O=Io(O,E);var Z=-1,ue=O.length;for(ue||(ue=1,E=n);++Z<ue;){var _e=E==null?n:E[Ra(O[Z])];_e===n&&(Z=ue,_e=N),E=Ge(_e)?_e.call(E):_e}return E}function Fv(E,O,N){return E==null?E:Za(E,O,N)}function Bv(E,O,N,Z){return Z=typeof Z=="function"?Z:n,E==null?E:Za(E,O,N,Z)}var Ov=vo(va),_v=vo(Ma);function jv(E,O,N){var Z=ir(E),ue=Z||w(E)||da(E);if(O=Dn(O,4),N==null){var _e=E&&E.constructor;ue?N=Z?new _e:[]:pt(E)?N=Ge(_e)?ts(Bo(E)):{}:N={}}return(ue?qt:Vi)(E,function(ke,et,ct){return O(N,ke,et,ct)}),N}function zv(E,O){return E==null?!0:Ul(E,O)}function Gv(E,O,N){return E==null?E:Tc(E,O,Fl(N))}function Wv(E,O,N,Z){return Z=typeof Z=="function"?Z:n,E==null?E:Tc(E,O,Fl(N),Z)}function Gf(E){return E==null?[]:fi(E,va(E))}function kv(E){return E==null?[]:fi(E,Ma(E))}function Hv(E,O,N){return N===n&&(N=O,O=n),N!==n&&(N=ia(N),N=N===N?N:0),O!==n&&(O=ia(O),O=O===O?O:0),Ua(ia(E),O,N)}function Kv(E,O,N){return O=Xi(O),N===n?(N=O,O=0):N=Xi(N),E=ia(E),xu(E,O,N)}function Vv(E,O,N){if(N&&typeof N!="boolean"&&ii(E,O,N)&&(O=N=n),N===n&&(typeof O=="boolean"?(N=O,O=n):typeof E=="boolean"&&(N=E,E=n)),E===n&&O===n?(E=0,O=1):(E=Xi(E),O===n?(O=E,E=0):O=Xi(O)),E>O){var Z=E;E=O,O=Z}if(N||E%1||O%1){var ue=vl();return ta(E+ue*(O-E+_r("1e-"+((ue+"").length-1))),O)}return Uu(E,O)}var $v=Rs(function(E,O,N){return O=O.toLowerCase(),E+(N?Cv(O):O)});function Cv(E){return vv(Ur(E).toLowerCase())}function Pv(E){return E=Ur(E),E&&E.replace(Ca,Cr).replace(hi,"")}function Qv(E,O,N){E=Ur(E),O=Si(O);var Z=E.length;N=N===n?Z:Ua(tr(N),0,Z);var ue=N;return N-=O.length,N>=0&&E.slice(N,ue)==O}function Xv(E){return E=Ur(E),E&&Jr.test(E)?E.replace(jn,Gr):E}function Zv(E){return E=Ur(E),E&&Gi.test(E)?E.replace(oa,"\\$&"):E}var Jv=Rs(function(E,O,N){return E+(N?"-":"")+O.toLowerCase()}),Yv=Rs(function(E,O,N){return E+(N?" ":"")+O.toLowerCase()}),qv=zl("toLowerCase");function eh(E,O,N){E=Ur(E),O=tr(O);var Z=O?gi(E):0;if(!O||Z>=O)return E;var ue=(O-Z)/2;return Hu(Hs(ue),N)+E+Hu(Yo(ue),N)}function th(E,O,N){E=Ur(E),O=tr(O);var Z=O?gi(E):0;return O&&Z<O?E+Hu(O-Z,N):E}function nh(E,O,N){E=Ur(E),O=tr(O);var Z=O?gi(E):0;return O&&Z<O?Hu(O-Z,N)+E:E}function rh(E,O,N){return N||O==null?O=0:O&&(O=+O),vc(Ur(E).replace(Wi,""),O||0)}function ih(E,O,N){return(N?ii(E,O,N):O===n)?O=1:O=tr(O),tu(Ur(E),O)}function ah(){var E=arguments,O=Ur(E[0]);return E.length<3?O:O.replace(E[1],E[2])}var oh=Rs(function(E,O,N){return E+(N?"_":"")+O.toLowerCase()});function sh(E,O,N){return N&&typeof N!="number"&&ii(E,O,N)&&(O=N=n),N=N===n?le:N>>>0,N?(E=Ur(E),E&&(typeof O=="string"||O!=null&&!nr(O))&&(O=Si(O),!O&&K(E))?Wo(ei(E),0,N):E.split(O,N)):[]}var uh=Rs(function(E,O,N){return E+(N?" ":"")+vv(O)});function lh(E,O,N){return E=Ur(E),N=N==null?0:Ua(tr(N),0,E.length),O=Si(O),E.slice(N,N+O.length)==O}function ch(E,O,N){var Z=ye.templateSettings;N&&ii(E,O,N)&&(O=n),E=Ur(E),O=Vo({},O,Z,iu);var ue=Vo({},O.imports,Z.imports,iu),_e=va(ue),ke=fi(ue,_e),et,ct,Ft=0,Wt=O.interpolate||Ji,Kt="__p += '",gn=pu((O.escape||Ji).source+"|"+Wt.source+"|"+(Wt===or?Oi:Ji).source+"|"+(O.evaluate||Ji).source+"|$","g"),Ln="//# sourceURL="+(Lr.call(O,"sourceURL")?(O.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ci+"]")+"\n";E.replace(gn,function(qn,wr,Fr,$o,go,Qo){return Fr||(Fr=$o),Kt+=E.slice(Ft,Qo).replace(_i,ee),wr&&(et=!0,Kt+="' +\n__e("+wr+") +\n'"),go&&(ct=!0,Kt+="';\n"+go+";\n__p += '"),Fr&&(Kt+="' +\n((__t = ("+Fr+")) == null ? '' : __t) +\n'"),Ft=Qo+qn.length,qn}),Kt+="';\n";var Yn=Lr.call(O,"variable")&&O.variable;if(!Yn)Kt="with (obj) {\n"+Kt+"\n}\n";else if(vn.test(Yn))throw new Qn(c);Kt=(ct?Kt.replace(Gt,""):Kt).replace(Zt,"$1").replace(Un,"$1;"),Kt="function("+(Yn||"obj")+") {\n"+(Yn?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(et?", __e = _.escape":"")+(ct?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Kt+"return __p\n}";var br=Av(function(){return yr(_e,Ln+"return "+Kt).apply(n,ke)});if(br.source=Kt,ge(br))throw br;return br}function fh(E){return Ur(E).toLowerCase()}function dh(E){return Ur(E).toUpperCase()}function vh(E,O,N){if(E=Ur(E),E&&(N||O===n))return Mr(E);if(!E||!(O=Si(O)))return E;var Z=ei(E),ue=ei(O),_e=$r(Z,ue),ke=hr(Z,ue)+1;return Wo(Z,_e,ke).join("")}function hh(E,O,N){if(E=Ur(E),E&&(N||O===n))return E.slice(0,js(E)+1);if(!E||!(O=Si(O)))return E;var Z=ei(E),ue=hr(Z,ei(O))+1;return Wo(Z,0,ue).join("")}function ph(E,O,N){if(E=Ur(E),E&&(N||O===n))return E.replace(Wi,"");if(!E||!(O=Si(O)))return E;var Z=ei(E),ue=$r(Z,ei(O));return Wo(Z,ue).join("")}function gh(E,O){var N=$,Z=G;if(pt(O)){var ue="separator"in O?O.separator:ue;N="length"in O?tr(O.length):N,Z="omission"in O?Si(O.omission):Z}E=Ur(E);var _e=E.length;if(K(E)){var ke=ei(E);_e=ke.length}if(N>=_e)return E;var et=N-gi(Z);if(et<1)return Z;var ct=ke?Wo(ke,0,et).join(""):E.slice(0,et);if(ue===n)return ct+Z;if(ke&&(et+=ct.length-et),nr(ue)){if(E.slice(et).search(ue)){var Ft,Wt=ct;for(ue.global||(ue=pu(ue.source,Ur(Zi.exec(ue))+"g")),ue.lastIndex=0;Ft=ue.exec(Wt);)var Kt=Ft.index;ct=ct.slice(0,Kt===n?et:Kt)}}else if(E.indexOf(Si(ue),et)!=et){var gn=ct.lastIndexOf(ue);gn>-1&&(ct=ct.slice(0,gn))}return ct+Z}function mh(E){return E=Ur(E),E&&kr.test(E)?E.replace(Yt,Es):E}var yh=Rs(function(E,O,N){return E+(N?" ":"")+O.toUpperCase()}),vv=zl("toUpperCase");function Tv(E,O,N){return E=Ur(E),O=N?n:O,O===n?ce(E)?qc(E):ft(E):E.match(O)||[]}var Av=ur(function(E,O){try{return gt(E,n,O)}catch(N){return ge(N)?N:new Qn(N)}}),Eh=Ai(function(E,O){return qt(O,function(N){N=Ra(N),$a(E,N,Qc(E[N],E))}),E});function Sh(E){var O=E==null?0:E.length,N=Dn();return E=O?vr(E,function(Z){if(typeof Z[1]!="function")throw new La(i);return[N(Z[0]),Z[1]]}):[],ur(function(Z){for(var ue=-1;++ue<O;){var _e=E[ue];if(gt(_e[0],this,Z))return gt(_e[1],this,Z)}})}function bh(E){return _l(Fa(E,f))}function hv(E){return function(){return E}}function Oh(E,O){return E==null||E!==E?O:E}var _h=Lc(),Ch=Lc(!0);function Fo(E){return E}function pv(E){return Ru(typeof E=="function"?E:Fa(E,f))}function Ph(E){return Rl(Fa(E,f))}function Th(E,O){return Du(E,Fa(O,f))}var Ah=ur(function(E,O){return function(N){return ba(N,E,O)}}),xh=ur(function(E,O){return function(N){return ba(E,N,O)}});function gv(E,O,N){var Z=va(O),ue=xo(O,Z);N==null&&!(pt(O)&&(ue.length||!Z.length))&&(N=O,O=E,E=this,ue=xo(O,va(O)));var _e=!(pt(N)&&"chain"in N)||!!N.chain,ke=Ge(E);return qt(ue,function(et){var ct=O[et];E[et]=ct,ke&&(E.prototype[et]=function(){var Ft=this.__chain__;if(_e||Ft){var Wt=E(this.__wrapped__),Kt=Wt.__actions__=Ba(this.__actions__);return Kt.push({func:ct,args:arguments,thisArg:E}),Wt.__chain__=Ft,Wt}return ct.apply(E,Hi([this.value()],arguments))})}),E}function Ih(){return Rr._===this&&(Rr._=ll),this}function mv(){}function wh(E){return E=tr(E),ur(function(O){return Ml(O,E)})}var Rh=kl(vr),Mh=kl(mn),Dh=kl(Ie);function xv(E){return ca(E)?In(Ra(E)):_c(E)}function Lh(E){return function(O){return E==null?n:Qa(E,O)}}var Nh=Ku(),Uh=Ku(!0);function yv(){return[]}function Ev(){return!1}function Fh(){return{}}function Bh(){return""}function jh(){return!0}function zh(E,O){if(E=tr(E),E<1||E>k)return[];var N=le,Z=ta(E,le);O=Dn(O),E-=le;for(var ue=Gn(Z,O);++N<E;)O(N);return ue}function Gh(E){return ir(E)?vr(E,Ra):Xr(E)?[E]:Ba(Of(Ur(E)))}function Wh(E){var O=++So;return Ur(E)+O}var kh=Wl(function(E,O){return E+O},0),Hh=Vu("ceil"),Kh=Wl(function(E,O){return E/O},1),Vh=Vu("floor");function $h(E){return E&&E.length?Ao(E,Fo,Al):n}function Qh(E,O){return E&&E.length?Ao(E,Dn(O,2),Al):n}function Xh(E){return bt(E,Fo)}function Zh(E,O){return bt(E,Dn(O,2))}function Jh(E){return E&&E.length?Ao(E,Fo,Mu):n}function Yh(E,O){return E&&E.length?Ao(E,Dn(O,2),Mu):n}var qh=Wl(function(E,O){return E*O},1),ep=Vu("round"),tp=Wl(function(E,O){return E-O},0);function np(E){return E&&E.length?Hn(E,Fo):0}function rp(E,O){return E&&E.length?Hn(E,Dn(O,2)):0}return ye.after=Yd,ye.ary=fd,ye.assign=Lf,ye.assignIn=Jc,ye.assignInWith=Vo,ye.assignWith=Uo,ye.at=od,ye.before=nl,ye.bind=Qc,ye.bindAll=Eh,ye.bindKey=dd,ye.castArray=ov,ye.chain=ud,ye.chunk=$f,ye.compact=Qf,ye.concat=Cf,ye.cond=Sh,ye.conforms=bh,ye.constant=hv,ye.countBy=Ld,ye.create=il,ye.curry=vd,ye.curryRight=hd,ye.debounce=pd,ye.defaults=sc,ye.defaultsDeep=Nf,ye.defer=qd,ye.delay=ev,ye.difference=zc,ye.differenceBy=Gc,ye.differenceWith=Xf,ye.drop=ec,ye.dropRight=Ro,ye.dropRightWhile=tc,ye.dropWhile=Zf,ye.fill=Fs,ye.filter=Nd,ye.flatMap=Bd,ye.flatMapDeep=jd,ye.flatMapDepth=zd,ye.flatten=nc,ye.flattenDeep=Wc,ye.flattenDepth=kc,ye.flip=Xc,ye.flow=_h,ye.flowRight=Ch,ye.fromPairs=Pf,ye.functions=Ff,ye.functionsIn=Bf,ye.groupBy=Gd,ye.initial=Hc,ye.intersection=su,ye.intersectionBy=Kc,ye.intersectionWith=Af,ye.invert=Od,ye.invertBy=_d,ye.invokeMap=el,ye.iteratee=pv,ye.keyBy=kd,ye.keys=va,ye.keysIn=Ma,ye.map=$c,ye.mapKeys=wv,ye.mapValues=Rv,ye.matches=Ph,ye.matchesProperty=Th,ye.memoize=Zc,ye.merge=Mv,ye.mergeWith=Sv,ye.method=Ah,ye.methodOf=xh,ye.mixin=gv,ye.negate=Rf,ye.nthArg=wh,ye.omit=Dv,ye.omitBy=Lv,ye.once=gd,ye.orderBy=Hd,ye.over=Rh,ye.overArgs=tv,ye.overEvery=Mh,ye.overSome=Dh,ye.partial=Mf,ye.partialRight=md,ye.partition=Kd,ye.pick=Nv,ye.pickBy=bv,ye.property=xv,ye.propertyOf=Lh,ye.pull=rc,ye.pullAll=xf,ye.pullAllBy=If,ye.pullAllWith=Yf,ye.pullAt=h,ye.range=Nh,ye.rangeRight=Uh,ye.rearg=nv,ye.reject=$d,ye.remove=S,ye.rest=rv,ye.reverse=I,ye.sampleSize=Qd,ye.set=Fv,ye.setWith=Bv,ye.shuffle=cd,ye.slice=B,ye.sortBy=Jd,ye.sortedUniq=pn,ye.sortedUniqBy=_n,ye.split=sh,ye.spread=rd,ye.tail=lr,ye.take=Nr,ye.takeRight=ro,ye.takeRightWhile=ra,ye.takeWhile=vt,ye.tap=xd,ye.throttle=iv,ye.thru=wf,ye.toArray=Ko,ye.toPairs=Ov,ye.toPairsIn=_v,ye.toPath=Gh,ye.toPlainObject=No,ye.transform=jv,ye.unary=yd,ye.union=lt,ye.unionBy=Mt,ye.unionWith=Xt,ye.uniq=fn,ye.uniqBy=Tn,ye.uniqWith=Xn,ye.unset=zv,ye.unzip=Pr,ye.unzipWith=ai,ye.update=Gv,ye.updateWith=Wv,ye.values=Gf,ye.valuesIn=kv,ye.without=cr,ye.words=Tv,ye.wrap=av,ye.xor=gs,ye.xorBy=Vc,ye.xorWith=Cd,ye.zip=Pd,ye.zipObject=sd,ye.zipObjectDeep=Td,ye.zipWith=Ad,ye.entries=Ov,ye.entriesIn=_v,ye.extend=Jc,ye.extendWith=Vo,gv(ye,ye),ye.add=kh,ye.attempt=Av,ye.camelCase=$v,ye.capitalize=Cv,ye.ceil=Hh,ye.clamp=Hv,ye.clone=sv,ye.cloneDeep=uv,ye.cloneDeepWith=Ed,ye.cloneWith=id,ye.conformsTo=lv,ye.deburr=Pv,ye.defaultTo=Oh,ye.divide=Kh,ye.endsWith=Qv,ye.eq=Ho,ye.escape=Xv,ye.escapeRegExp=Zv,ye.every=ic,ye.find=Ud,ye.findIndex=ou,ye.findKey=al,ye.findLast=Fd,ye.findLastIndex=Mo,ye.findLastKey=bd,ye.floor=Vh,ye.forEach=td,ye.forEachRight=ac,ye.forIn=ys,ye.forInRight=du,ye.forOwn=Uf,ye.forOwnRight=vu,ye.get=Yc,ye.gt=cv,ye.gte=ad,ye.has=dv,ye.hasIn=jf,ye.head=Do,ye.identity=Fo,ye.includes=Wd,ye.indexOf=Tf,ye.inRange=Kv,ye.invoke=zf,ye.isArguments=rl,ye.isArray=ir,ye.isArrayBuffer=fv,ye.isArrayLike=Ya,ye.isArrayLikeObject=ji,ye.isBoolean=Sd,ye.isBuffer=w,ye.isDate=D,ye.isElement=R,ye.isEmpty=L,ye.isEqual=F,ye.isEqualWith=Q,ye.isError=ge,ye.isFinite=Ne,ye.isFunction=Ge,ye.isInteger=Qe,ye.isLength=ot,ye.isMap=Ht,ye.isMatch=Rn,ye.isMatchWith=Wn,ye.isNaN=Fn,ye.isNative=Er,ye.isNil=Zn,ye.isNull=Sr,ye.isNumber=Bn,ye.isObject=pt,ye.isObjectLike=mt,ye.isPlainObject=Kn,ye.isRegExp=nr,ye.isSafeInteger=Qi,ye.isSet=Ga,ye.isString=io,ye.isSymbol=Xr,ye.isTypedArray=da,ye.isUndefined=lu,ye.isWeakMap=po,ye.isWeakSet=cu,ye.join=qu,ye.kebabCase=Jv,ye.last=za,ye.lastIndexOf=uu,ye.lowerCase=Yv,ye.lowerFirst=qv,ye.lt=Lo,ye.lte=fu,ye.max=$h,ye.maxBy=Qh,ye.mean=Xh,ye.meanBy=Zh,ye.min=Jh,ye.minBy=Yh,ye.stubArray=yv,ye.stubFalse=Ev,ye.stubObject=Fh,ye.stubString=Bh,ye.stubTrue=jh,ye.multiply=qh,ye.nth=Jf,ye.noConflict=Ih,ye.noop=mv,ye.now=oc,ye.pad=eh,ye.padEnd=th,ye.padStart=nh,ye.parseInt=rh,ye.random=Vv,ye.reduce=Vd,ye.reduceRight=nd,ye.repeat=ih,ye.replace=ah,ye.result=Uv,ye.round=ep,ye.runInContext=rt,ye.sample=tl,ye.size=Xd,ye.snakeCase=oh,ye.some=Zd,ye.sortedIndex=V,ye.sortedIndexBy=he,ye.sortedIndexOf=Se,ye.sortedLastIndex=je,ye.sortedLastIndexBy=_t,ye.sortedLastIndexOf=Ct,ye.startCase=uh,ye.startsWith=lh,ye.subtract=tp,ye.sum=np,ye.sumBy=rp,ye.template=ch,ye.times=zh,ye.toFinite=Xi,ye.toInteger=tr,ye.toLength=ms,ye.toLower=fh,ye.toNumber=ia,ye.toSafeInteger=Df,ye.toString=Ur,ye.toUpper=dh,ye.trim=vh,ye.trimEnd=hh,ye.trimStart=ph,ye.truncate=gh,ye.unescape=mh,ye.uniqueId=Wh,ye.upperCase=yh,ye.upperFirst=vv,ye.each=td,ye.eachRight=ac,ye.first=Do,gv(ye,function(){var E={};return Vi(ye,function(O,N){Lr.call(ye.prototype,N)||(E[N]=O)}),E}(),{chain:!1}),ye.VERSION=o,qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(E){ye[E].placeholder=ye}),qt(["drop","take"],function(E,O){sr.prototype[E]=function(N){N=N===n?1:Di(tr(N),0);var Z=this.__filtered__&&!O?new sr(this):this.clone();return Z.__filtered__?Z.__takeCount__=ta(N,Z.__takeCount__):Z.__views__.push({size:ta(N,le),type:E+(Z.__dir__<0?"Right":"")}),Z},sr.prototype[E+"Right"]=function(N){return this.reverse()[E](N).reverse()}}),qt(["filter","map","takeWhile"],function(E,O){var N=O+1,Z=N==W||N==H;sr.prototype[E]=function(ue){var _e=this.clone();return _e.__iteratees__.push({iteratee:Dn(ue,3),type:N}),_e.__filtered__=_e.__filtered__||Z,_e}}),qt(["head","last"],function(E,O){var N="take"+(O?"Right":"");sr.prototype[E]=function(){return this[N](1).value()[0]}}),qt(["initial","tail"],function(E,O){var N="drop"+(O?"":"Right");sr.prototype[E]=function(){return this.__filtered__?new sr(this):this[N](1)}}),sr.prototype.compact=function(){return this.filter(Fo)},sr.prototype.find=function(E){return this.filter(E).head()},sr.prototype.findLast=function(E){return this.reverse().find(E)},sr.prototype.invokeMap=ur(function(E,O){return typeof E=="function"?new sr(this):this.map(function(N){return ba(N,E,O)})}),sr.prototype.reject=function(E){return this.filter(Rf(Dn(E)))},sr.prototype.slice=function(E,O){E=tr(E);var N=this;return N.__filtered__&&(E>0||O<0)?new sr(N):(E<0?N=N.takeRight(-E):E&&(N=N.drop(E)),O!==n&&(O=tr(O),N=O<0?N.dropRight(-O):N.take(O-E)),N)},sr.prototype.takeRightWhile=function(E){return this.reverse().takeWhile(E).reverse()},sr.prototype.toArray=function(){return this.take(le)},Vi(sr.prototype,function(E,O){var N=/^(?:filter|find|map|reject)|While$/.test(O),Z=/^(?:head|last)$/.test(O),ue=ye[Z?"take"+(O=="last"?"Right":""):O],_e=Z||/^find/.test(O);ue&&(ye.prototype[O]=function(){var ke=this.__wrapped__,et=Z?[1]:arguments,ct=ke instanceof sr,Ft=et[0],Wt=ct||ir(ke),Kt=function(wr){var Fr=ue.apply(ye,Hi([wr],et));return Z&&gn?Fr[0]:Fr};Wt&&N&&typeof Ft=="function"&&Ft.length!=1&&(ct=Wt=!1);var gn=this.__chain__,Ln=!!this.__actions__.length,Yn=_e&&!gn,br=ct&&!Ln;if(!_e&&Wt){ke=br?ke:new sr(this);var qn=E.apply(ke,et);return qn.__actions__.push({func:wf,args:[Kt],thisArg:n}),new Sa(qn,gn)}return Yn&&br?E.apply(this,et):(qn=this.thru(Kt),Yn?Z?qn.value()[0]:qn.value():qn)})}),qt(["pop","push","shift","sort","splice","unshift"],function(E){var O=gu[E],N=/^(?:push|sort|unshift)$/.test(E)?"tap":"thru",Z=/^(?:pop|shift)$/.test(E);ye.prototype[E]=function(){var ue=arguments;if(Z&&!this.__chain__){var _e=this.value();return O.apply(ir(_e)?_e:[],ue)}return this[N](function(ke){return O.apply(ir(ke)?ke:[],ue)})}}),Vi(sr.prototype,function(E,O){var N=ye[O];if(N){var Z=N.name+"";Lr.call(di,Z)||(di[Z]=[]),di[Z].push({name:O,func:N})}}),di[Ms(n,C).name]=[{name:"wrapper",func:n}],sr.prototype.clone=Qr,sr.prototype.reverse=pc,sr.prototype.value=Wf,ye.prototype.at=Id,ye.prototype.chain=ld,ye.prototype.commit=wd,ye.prototype.next=Rd,ye.prototype.plant=Dd,ye.prototype.reverse=qf,ye.prototype.toJSON=ye.prototype.valueOf=ye.prototype.value=ed,ye.prototype.first=ye.prototype.head,oo&&(ye.prototype[oo]=Md),ye},hu=lc();Rr._=hu,a=function(){return hu}.call(l,e,l,y),a!==n&&(y.exports=a)}).call(this)},130399:function(y,l,e){var a=e(666814),n=e(955232),o=e(511079);function t(r,i){var c={};return i=o(i,3),n(r,function(d,u,s){a(c,u,i(d,u,s))}),c}y.exports=t},860921:function(y){function l(){}y.exports=l},215422:function(y,l,e){var a=e(769795),n=function(){return a.Date.now()};y.exports=n},291341:function(y,l,e){var a=e(856575),n=e(511079),o=e(659360),t=e(299953);
19function r(i,c){if(i==null)return{};var d=a(t(i),function(u){return[u]});return c=n(c),o(i,d,function(u,s){return c(u,s[0])})}y.exports=r},792495:function(y,l,e){var a=e(109257),n=a("round");y.exports=n},971676:function(y,l,e){var a=e(455070);function n(o,t,r){return o==null?o:a(o,t,r)}y.exports=n},690411:function(y,l,e){var a=e(858544),n=e(157168),o=a(function(t,r,i){return t+(i?" ":"")+n(r)});y.exports=o},134521:function(y,l,e){var a=e(210750),n=e(58980),o="Expected a function";function t(r,i,c){var d=!0,u=!0;if(typeof r!="function")throw new TypeError(o);return n(c)&&(d="leading"in c?!!c.leading:d,u="trailing"in c?!!c.trailing:u),a(r,i,{leading:d,maxWait:i,trailing:u})}y.exports=t},487109:function(y,l,e){var a=e(58602),n=e(369664),o=e(364687),t=e(521657),r=e(653420),i=e(342104),c=e(768441);function d(u,s,f){if(u=c(u),u&&(f||s===void 0))return n(u);if(!u||!(s=a(s)))return u;var p=i(u),v=i(s),g=r(p,v),m=t(p,v)+1;return o(p,g,m).join("")}y.exports=d},157168:function(y,l,e){var a=e(894678),n=a("toUpperCase");y.exports=n},993990:function(y){"use strict";var l=typeof Element!="undefined"?Element.prototype:{},e=l.matches||l.matchesSelector||l.webkitMatchesSelector||l.mozMatchesSelector||l.msMatchesSelector||l.oMatchesSelector;y.exports=a;function a(n,o){if(!n||n.nodeType!==1)return!1;if(e)return e.call(n,o);for(var t=n.parentNode.querySelectorAll(o),r=0;r<t.length;r++)if(t[r]==n)return!0;return!1}},164940:function(y,l,e){/*!
20 * matter-js 0.17.1 by @liabru
21 * http://brm.io/matter-js/
22 * License MIT
23 * 
24 * The MIT License (MIT)
25 * 
26 * Copyright (c) Liam Brummitt and contributors.
27 * 
28 * Permission is hereby granted, free of charge, to any person obtaining a copy
29 * of this software and associated documentation files (the "Software"), to deal
30 * in the Software without restriction, including without limitation the rights
31 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
32 * copies of the Software, and to permit persons to whom the Software is
33 * furnished to do so, subject to the following conditions:
34 * 
35 * The above copyright notice and this permission notice shall be included in
36 * all copies or substantial portions of the Software.
37 * 
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
39 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
41 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
42 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
43 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
44 * THE SOFTWARE.
45 */(function(n,o){y.exports=o()})(this,function(){return function(a){var n={};function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return a[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}return o.m=a,o.c=n,o.d=function(t,r,i){o.o(t,r)||Object.defineProperty(t,r,{enumerable:!0,get:i})},o.r=function(t){typeof Symbol!="undefined"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,r){if(r&1&&(t=o(t)),r&8||r&4&&typeof t=="object"&&t&&t.__esModule)return t;var i=Object.create(null);if(o.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:t}),r&2&&typeof t!="string")for(var c in t)o.d(i,c,function(d){return t[d]}.bind(null,c));return i},o.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(r,"a",r),r},o.o=function(t,r){return Object.prototype.hasOwnProperty.call(t,r)},o.p="",o(o.s=22)}([function(a,n){var o={};a.exports=o,function(){o._nextId=0,o._seed=0,o._nowStartTime=+new Date,o._warnedOnce={},o._decomp=null,o.extend=function(r,i){var c,d,u;typeof i=="boolean"?(c=2,u=i):(c=1,u=!0);for(var s=c;s<arguments.length;s++){var f=arguments[s];if(f)for(var p in f)u&&f[p]&&f[p].constructor===Object&&(!r[p]||r[p].constructor===Object)?(r[p]=r[p]||{},o.extend(r[p],u,f[p])):r[p]=f[p]}return r},o.clone=function(r,i){return o.extend({},i,r)},o.keys=function(r){if(Object.keys)return Object.keys(r);var i=[];for(var c in r)i.push(c);return i},o.values=function(r){var i=[];if(Object.keys){for(var c=Object.keys(r),d=0;d<c.length;d++)i.push(r[c[d]]);return i}for(var u in r)i.push(r[u]);return i},o.get=function(r,i,c,d){i=i.split(".").slice(c,d);for(var u=0;u<i.length;u+=1)r=r[i[u]];return r},o.set=function(r,i,c,d,u){var s=i.split(".").slice(d,u);return o.get(r,i,0,-1)[s[s.length-1]]=c,c},o.shuffle=function(r){for(var i=r.length-1;i>0;i--){var c=Math.floor(o.random()*(i+1)),d=r[i];r[i]=r[c],r[c]=d}return r},o.choose=function(r){return r[Math.floor(o.random()*r.length)]},o.isElement=function(r){return typeof HTMLElement!="undefined"?r instanceof HTMLElement:!!(r&&r.nodeType&&r.nodeName)},o.isArray=function(r){return Object.prototype.toString.call(r)==="[object Array]"},o.isFunction=function(r){return typeof r=="function"},o.isPlainObject=function(r){return typeof r=="object"&&r.constructor===Object},o.isString=function(r){return toString.call(r)==="[object String]"},o.clamp=function(r,i,c){return r<i?i:r>c?c:r},o.sign=function(r){return r<0?-1:1},o.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-o._nowStartTime},o.random=function(r,i){return r=typeof r!="undefined"?r:0,i=typeof i!="undefined"?i:1,r+t()*(i-r)};var t=function(){return o._seed=(o._seed*9301+49297)%233280,o._seed/233280};o.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)},o.logLevel=1,o.log=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.log.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.info=function(){console&&o.logLevel>0&&o.logLevel<=2&&console.info.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warn=function(){console&&o.logLevel>0&&o.logLevel<=3&&console.warn.apply(console,["matter-js:"].concat(Array.prototype.slice.call(arguments)))},o.warnOnce=function(){var r=Array.prototype.slice.call(arguments).join(" ");o._warnedOnce[r]||(o.warn(r),o._warnedOnce[r]=!0)},o.deprecated=function(r,i,c){r[i]=o.chain(function(){o.warnOnce("\uD83D\uDD05 deprecated \uD83D\uDD05",c)},r[i])},o.nextId=function(){return o._nextId++},o.indexOf=function(r,i){if(r.indexOf)return r.indexOf(i);for(var c=0;c<r.length;c++)if(r[c]===i)return c;return-1},o.map=function(r,i){if(r.map)return r.map(i);for(var c=[],d=0;d<r.length;d+=1)c.push(i(r[d]));return c},o.topologicalSort=function(r){var i=[],c=[],d=[];for(var u in r)!c[u]&&!d[u]&&o._topologicalSort(u,c,d,r,i);return i},o._topologicalSort=function(r,i,c,d,u){var s=d[r]||[];c[r]=!0;for(var f=0;f<s.length;f+=1){var p=s[f];c[p]||i[p]||o._topologicalSort(p,i,c,d,u)}c[r]=!1,i[r]=!0,u.push(r)},o.chain=function(){for(var r=[],i=0;i<arguments.length;i+=1){var c=arguments[i];c._chained?r.push.apply(r,c._chained):r.push(c)}var d=function(){for(var u,s=new Array(arguments.length),f=0,p=arguments.length;f<p;f++)s[f]=arguments[f];for(f=0;f<r.length;f+=1){var v=r[f].apply(u,s);typeof v!="undefined"&&(u=v)}return u};return d._chained=r,d},o.chainPathBefore=function(r,i,c){return o.set(r,i,o.chain(c,o.get(r,i)))},o.chainPathAfter=function(r,i,c){return o.set(r,i,o.chain(o.get(r,i),c))},o.setDecomp=function(r){o._decomp=r},o.getDecomp=function(){var r=o._decomp;try{!r&&typeof window!="undefined"&&(r=window.decomp),!r&&typeof e.g!="undefined"&&(r=e.g.decomp)}catch(i){r=null}return r}}()},function(a,n){var o={};a.exports=o,function(){o.create=function(t){var r={min:{x:0,y:0},max:{x:0,y:0}};return t&&o.update(r,t),r},o.update=function(t,r,i){t.min.x=1/0,t.max.x=-1/0,t.min.y=1/0,t.max.y=-1/0;for(var c=0;c<r.length;c++){var d=r[c];d.x>t.max.x&&(t.max.x=d.x),d.x<t.min.x&&(t.min.x=d.x),d.y>t.max.y&&(t.max.y=d.y),d.y<t.min.y&&(t.min.y=d.y)}i&&(i.x>0?t.max.x+=i.x:t.min.x+=i.x,i.y>0?t.max.y+=i.y:t.min.y+=i.y)},o.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},o.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},o.translate=function(t,r){t.min.x+=r.x,t.max.x+=r.x,t.min.y+=r.y,t.max.y+=r.y},o.shift=function(t,r){var i=t.max.x-t.min.x,c=t.max.y-t.min.y;t.min.x=r.x,t.max.x=r.x+i,t.min.y=r.y,t.max.y=r.y+c}}()},function(a,n){var o={};a.exports=o,function(){o.create=function(t,r){return{x:t||0,y:r||0}},o.clone=function(t){return{x:t.x,y:t.y}},o.magnitude=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},o.magnitudeSquared=function(t){return t.x*t.x+t.y*t.y},o.rotate=function(t,r,i){var c=Math.cos(r),d=Math.sin(r);i||(i={});var u=t.x*c-t.y*d;return i.y=t.x*d+t.y*c,i.x=u,i},o.rotateAbout=function(t,r,i,c){var d=Math.cos(r),u=Math.sin(r);c||(c={});var s=i.x+((t.x-i.x)*d-(t.y-i.y)*u);return c.y=i.y+((t.x-i.x)*u+(t.y-i.y)*d),c.x=s,c},o.normalise=function(t){var r=o.magnitude(t);return r===0?{x:0,y:0}:{x:t.x/r,y:t.y/r}},o.dot=function(t,r){return t.x*r.x+t.y*r.y},o.cross=function(t,r){return t.x*r.y-t.y*r.x},o.cross3=function(t,r,i){return(r.x-t.x)*(i.y-t.y)-(r.y-t.y)*(i.x-t.x)}
45,o.add=function(t,r,i){return i||(i={}),i.x=t.x+r.x,i.y=t.y+r.y,i},o.sub=function(t,r,i){return i||(i={}),i.x=t.x-r.x,i.y=t.y-r.y,i},o.mult=function(t,r){return{x:t.x*r,y:t.y*r}},o.div=function(t,r){return{x:t.x/r,y:t.y/r}},o.perp=function(t,r){return r=r===!0?-1:1,{x:r*-t.y,y:r*t.x}},o.neg=function(t){return{x:-t.x,y:-t.y}},o.angle=function(t,r){return Math.atan2(r.y-t.y,r.x-t.x)},o._temp=[o.create(),o.create(),o.create(),o.create(),o.create(),o.create()]}()},function(a,n,o){var t={};a.exports=t;var r=o(2),i=o(0);(function(){t.create=function(c,d){for(var u=[],s=0;s<c.length;s++){var f=c[s],p={x:f.x,y:f.y,index:s,body:d,isInternal:!1};u.push(p)}return u},t.fromPath=function(c,d){var u=/L?\s*([-\d.e]+)[\s,]*([-\d.e]+)*/ig,s=[];return c.replace(u,function(f,p,v){s.push({x:parseFloat(p),y:parseFloat(v)})}),t.create(s,d)},t.centre=function(c){for(var d=t.area(c,!0),u={x:0,y:0},s,f,p,v=0;v<c.length;v++)p=(v+1)%c.length,s=r.cross(c[v],c[p]),f=r.mult(r.add(c[v],c[p]),s),u=r.add(u,f);return r.div(u,6*d)},t.mean=function(c){for(var d={x:0,y:0},u=0;u<c.length;u++)d.x+=c[u].x,d.y+=c[u].y;return r.div(d,c.length)},t.area=function(c,d){for(var u=0,s=c.length-1,f=0;f<c.length;f++)u+=(c[s].x-c[f].x)*(c[s].y+c[f].y),s=f;return d?u/2:Math.abs(u)/2},t.inertia=function(c,d){for(var u=0,s=0,f=c,p,v,g=0;g<f.length;g++)v=(g+1)%f.length,p=Math.abs(r.cross(f[v],f[g])),u+=p*(r.dot(f[v],f[v])+r.dot(f[v],f[g])+r.dot(f[g],f[g])),s+=p;return d/6*(u/s)},t.translate=function(c,d,u){var s;if(u)for(s=0;s<c.length;s++)c[s].x+=d.x*u,c[s].y+=d.y*u;else for(s=0;s<c.length;s++)c[s].x+=d.x,c[s].y+=d.y;return c},t.rotate=function(c,d,u){if(d!==0){for(var s=Math.cos(d),f=Math.sin(d),p=0;p<c.length;p++){var v=c[p],g=v.x-u.x,m=v.y-u.y;v.x=u.x+(g*s-m*f),v.y=u.y+(g*f+m*s)}return c}},t.contains=function(c,d){for(var u=0;u<c.length;u++){var s=c[u],f=c[(u+1)%c.length];if((d.x-s.x)*(f.y-s.y)+(d.y-s.y)*(s.x-f.x)>0)return!1}return!0},t.scale=function(c,d,u,s){if(d===1&&u===1)return c;s=s||t.centre(c);for(var f,p,v=0;v<c.length;v++)f=c[v],p=r.sub(f,s),c[v].x=s.x+p.x*d,c[v].y=s.y+p.y*u;return c},t.chamfer=function(c,d,u,s,f){typeof d=="number"?d=[d]:d=d||[8],u=typeof u!="undefined"?u:-1,s=s||2,f=f||14;for(var p=[],v=0;v<c.length;v++){var g=c[v-1>=0?v-1:c.length-1],m=c[v],b=c[(v+1)%c.length],C=d[v<d.length?v:d.length-1];if(C===0){p.push(m);continue}var A=r.normalise({x:m.y-g.y,y:g.x-m.x}),_=r.normalise({x:b.y-m.y,y:m.x-b.x}),P=Math.sqrt(2*Math.pow(C,2)),T=r.mult(i.clone(A),C),x=r.normalise(r.mult(r.add(A,_),.5)),M=r.sub(m,r.mult(x,P)),U=u;u===-1&&(U=Math.pow(C,.32)*1.75),U=i.clamp(U,s,f),U%2===1&&(U+=1);for(var j=Math.acos(r.dot(A,_)),$=j/U,G=0;G<U;G++)p.push(r.add(r.rotate(T,$*G),M))}return p},t.clockwiseSort=function(c){var d=t.mean(c);return c.sort(function(u,s){return r.angle(d,u)-r.angle(d,s)}),c},t.isConvex=function(c){var d=0,u=c.length,s,f,p,v;if(u<3)return null;for(s=0;s<u;s++)if(f=(s+1)%u,p=(s+2)%u,v=(c[f].x-c[s].x)*(c[p].y-c[f].y),v-=(c[f].y-c[s].y)*(c[p].x-c[f].x),v<0?d|=1:v>0&&(d|=2),d===3)return!1;return d!==0?!0:null},t.hull=function(c){var d=[],u=[],s,f;for(c=c.slice(0),c.sort(function(p,v){var g=p.x-v.x;return g!==0?g:p.y-v.y}),f=0;f<c.length;f+=1){for(s=c[f];u.length>=2&&r.cross3(u[u.length-2],u[u.length-1],s)<=0;)u.pop();u.push(s)}for(f=c.length-1;f>=0;f-=1){for(s=c[f];d.length>=2&&r.cross3(d[d.length-2],d[d.length-1],s)<=0;)d.pop();d.push(s)}return d.pop(),u.pop(),d.concat(u)}})()},function(a,n,o){var t={};a.exports=t;var r=o(0);(function(){t.on=function(i,c,d){for(var u=c.split(" "),s,f=0;f<u.length;f++)s=u[f],i.events=i.events||{},i.events[s]=i.events[s]||[],i.events[s].push(d);return d},t.off=function(i,c,d){if(!c){i.events={};return}typeof c=="function"&&(d=c,c=r.keys(i.events).join(" "));for(var u=c.split(" "),s=0;s<u.length;s++){var f=i.events[u[s]],p=[];if(d&&f)for(var v=0;v<f.length;v++)f[v]!==d&&p.push(f[v]);i.events[u[s]]=p}},t.trigger=function(i,c,d){var u,s,f,p,v=i.events;if(v&&r.keys(v).length>0){d||(d={}),u=c.split(" ");for(var g=0;g<u.length;g++)if(s=u[g],f=v[s],f){p=r.clone(d,!1),p.name=s,p.source=i;for(var m=0;m<f.length;m++)f[m].apply(i,[p])}}}})()},function(a,n,o){var t={};a.exports=t;var r=o(4),i=o(0),c=o(1),d=o(6);(function(){t.create=function(u){return i.extend({id:i.nextId(),type:"composite",parent:null,isModified:!1,bodies:[],constraints:[],composites:[],label:"Composite",plugin:{}},u)},t.setModified=function(u,s,f,p){if(u.isModified=s,f&&u.parent&&t.setModified(u.parent,s,f,p),p)for(var v=0;v<u.composites.length;v++){var g=u.composites[v];t.setModified(g,s,f,p)}},t.add=function(u,s){var f=[].concat(s);r.trigger(u,"beforeAdd",{object:s});for(var p=0;p<f.length;p++){var v=f[p];switch(v.type){case"body":if(v.parent!==v){i.warn("Composite.add: skipped adding a compound body part (you must add its parent instead)");break}t.addBody(u,v);break;case"constraint":t.addConstraint(u,v);break;case"composite":t.addComposite(u,v);break;case"mouseConstraint":t.addConstraint(u,v.constraint);break}}return r.trigger(u,"afterAdd",{object:s}),u},t.remove=function(u,s,f){var p=[].concat(s);r.trigger(u,"beforeRemove",{object:s});for(var v=0;v<p.length;v++){var g=p[v];switch(g.type){case"body":t.removeBody(u,g,f);break;case"constraint":t.removeConstraint(u,g,f);break;case"composite":t.removeComposite(u,g,f);break;case"mouseConstraint":t.removeConstraint(u,g.constraint);break}}return r.trigger(u,"afterRemove",{object:s}),u},t.addComposite=function(u,s){return u.composites.push(s),s.parent=u,t.setModified(u,!0,!0,!1),u},t.removeComposite=function(u,s,f){var p=i.indexOf(u.composites,s);if(p!==-1&&(t.removeCompositeAt(u,p),t.setModified(u,!0,!0,!1)),f)for(var v=0;v<u.composites.length;v++)t.removeComposite(u.composites[v],s,!0);return u},t.removeCompositeAt=function(u,s){return u.composites.splice(s,1),t.setModified(u,!0,!0,!1),u},t.addBody=function(u,s){return u.bodies.push(s),t.setModified(u,!0,!0,!1),u},t.removeBody=function(u,s,f){var p=i.indexOf(u.bodies,s);if(p!==-1&&(t.removeBodyAt(u,p),t.setModified(u,!0,!0,!1)),f)for(var v=0;v<u.composites.length;v++)t.removeBody(u.composites[v],s,!0);return u},t.removeBodyAt=function(u,s){return u.bodies.splice(s,1),t.setModified(u,!0,!0,!1),u},t.addConstraint=function(u,s){return u.constraints.push(s),t.setModified(u,!0,!0,!1),u},t.removeConstraint=function(u,s,f){var p=i.indexOf(u.constraints,s);if(p!==-1&&t.removeConstraintAt(u,p),f)for(var v=0;v<u.composites.length;v++)t.removeConstraint(u.composites[v],s,!0);return u},t.removeConstraintAt=function(u,s){return u.constraints.splice(s,1),t.setModified(u,!0,!0,!1),u},t.clear=function(u,s,f){if(f)for(var p=0;p<u.composites.length;p++)t.clear(u.composites[p],s,!0);return s?u.bodies=u.bodies.filter(function(v){return v.isStatic}):u.bodies.length=0,u.constraints.length=0,u.composites.length=0,t.setModified(u,!0,!0,!1),u},t.allBodies=function(u){for(var s=[].concat(u.bodies),f=0;f<u.composites.length;f++)s=s.concat(t.allBodies(u.composites[f]));return s},t.allConstraints=function(u){for(var s=[].concat(u.constraints),f=0;f<u.composites.length;f++)s=s.concat(t.allConstraints(u.composites[f]));return s},t.allComposites=function(u){for(var s=[].concat(u.composites),f=0;f<u.composites.length;f++)s=s.concat(t.allComposites(u.composites[f]));return s},t.get=function(u,s,f){var p,v;switch(f){case"body":p=t.allBodies(u);break;case"constraint":p=t.allConstraints(u);break;case"composite":p=t.allComposites(u).concat(u);break}return p?(v=p.filter(function(g){return g.id.toString()===s.toString()}),v.length===0?null:v[0]):null},t.move=function(u,s,f){return t.remove(u,s),t.add(f,s),u},t.rebase=function(u){for(var s=t.allBodies(u).concat(t.allConstraints(u)).concat(t.allComposites(u)),f=0;f<s.length;f++)s[f].id=i.nextId();return t.setModified(u,!0,!0,!1),u},t.translate=function(u,s,f){for(var p=f?t.allBodies(u):u.bodies,v=0;v<p.length;v++)d.translate(p[v],s);return t.setModified(u,!0,!0,!1),u},t.rotate=function(u,s,f,p){for(var v=Math.cos(s),g=Math.sin(s),m=p?t.allBodies(u):u.bodies,b=0;b<m.length;b++){var C=m[b],A=C.position.x-f.x,_=C.position.y-f.y;d.setPosition(C,{x:f.x+(A*v-_*g),y:f.y+(A*g+_*v)}),d.rotate(C,s)}return t.setModified(u,!0,!0,!1),u},t.scale=function(u,s,f,p,v){for(var g=v?t.allBodies(u):u.bodies,m=0;m<g.length;m++){var b=g[m],C=b.position.x-p.x,A=b.position.y-p.y;d.setPosition(b,{x:p.x+C*s,y:p.y+A*f}),d.scale(b,s,f)}return t.setModified(u,!0,!0,!1),u},t.bounds=function(u){for(var s=t.allBodies(u),f=[],p=0;p<s.length;p+=1){var v=s[p];f.push(v.bounds.min,v.bounds.max)}return c.create(f)}})()},function(a,n,o){var t={};a.exports=t;var r=o(3),i=o(2),c=o(7),d=o(16),u=o(0),s=o(1),f=o(10);(function(){t._inertiaScale=4,t._nextCollidingGroupId=1,t._nextNonCollidingGroupId=-1,t._nextCategory=1,t.create=function(v){var g={id:u.nextId(),type:"body",label:"Body",parts:[],plugin:{},angle:0,vertices:r.fromPath("L 0 0 L 40 0 L 40 40 L 0 40"),position:{x:0,y:0},force:{x:0,y:0},torque:0,positionImpulse:{x:0,y:0},constraintImpulse:{x:0,y:0,angle:0},totalContacts:0,speed:0,angularSpeed:0,velocity:{x:0,y:0},angularVelocity:0,isSensor:!1,isStatic:!1,isSleeping:!1,motion:0,sleepThreshold:60,density:.001,restitution:0,friction:.1,frictionStatic:.5,frictionAir:.01,collisionFilter:{category:1,mask:4294967295,group:0},slop:.05,timeScale:1,render:{visible:!0,opacity:1,strokeStyle:null,fillStyle:null,lineWidth:null,sprite:{xScale:1,yScale:1,xOffset:0,yOffset:0}},events:null,bounds:null,chamfer:null,circleRadius:0,positionPrev:null,anglePrev:0,parent:null,axes:null,area:0,mass:0,inertia:0,_original:null},m=u.extend(g,v);return p(m,v),m},t.nextGroup=function(v){return v?t._nextNonCollidingGroupId--:t._nextCollidingGroupId++},t.nextCategory=function(){return t._nextCategory=t._nextCategory<<1,t._nextCategory};var p=function(v,g){g=g||{},t.set(v,{bounds:v.bounds||s.create(v.vertices),positionPrev:v.positionPrev||i.clone(v.position),anglePrev:v.anglePrev||v.angle,vertices:v.vertices,parts:v.parts||[v],isStatic:v.isStatic,isSleeping:v.isSleeping,parent:v.parent||v}),r.rotate(v.vertices,v.angle,v.position),f.rotate(v.axes,v.angle),s.update(v.bounds,v.vertices,v.velocity),t.set(v,{axes:g.axes||v.axes,area:g.area||v.area,mass:g.mass||v.mass,inertia:g.inertia||v.inertia});var m=v.isStatic?"#14151f":u.choose(["#f19648","#f5d259","#f55a3c","#063e7b","#ececd1"]),b=v.isStatic?"#555":"#ccc",C=v.isStatic&&v.render.fillStyle===null?1:0;v.render.fillStyle=v.render.fillStyle||m,v.render.strokeStyle=v.render.strokeStyle||b,v.render.lineWidth=v.render.lineWidth||C,v.render.sprite.xOffset+=-(v.bounds.min.x-v.position.x)/(v.bounds.max.x-v.bounds.min.x),v.render.sprite.yOffset+=-(v.bounds.min.y-v.position.y)/(v.bounds.max.y-v.bounds.min.y)};t.set=function(v,g,m){var b;typeof g=="string"&&(b=g,g={},g[b]=m);for(b in g)if(Object.prototype.hasOwnProperty.call(g,b))switch(m=g[b],b){case"isStatic":t.setStatic(v,m);break;case"isSleeping":c.set(v,m);break;case"mass":t.setMass(v,m);break;
vendor: 1,579 bytes, line 45
45case"density":t.setDensity(v,m);break;case"inertia":t.setInertia(v,m);break;case"vertices":t.setVertices(v,m);break;case"position":t.setPosition(v,m);break;case"angle":t.setAngle(v,m);break;case"velocity":t.setVelocity(v,m);break;case"angularVelocity":t.setAngularVelocity(v,m);break;case"parts":t.setParts(v,m);break;case"centre":t.setCentre(v,m);break;default:v[b]=m}},t.setStatic=function(v,g){for(var m=0;m<v.parts.length;m++){var b=v.parts[m];b.isStatic=g,g?(b._original={restitution:b.restitution,friction:b.friction,mass:b.mass,inertia:b.inertia,density:b.density,inverseMass:b.inverseMass,inverseInertia:b.inverseInertia},b.restitution=0,b.friction=1,b.mass=b.inertia=b.density=1/0,b.inverseMass=b.inverseInertia=0,b.positionPrev.x=b.position.x,b.positionPrev.y=b.position.y,b.anglePrev=b.angle,b.angularVelocity=0,b.speed=0,b.angularSpeed=0,b.motion=0):b._original&&(b.restitution=b._original.restitution,b.friction=b._original.friction,b.mass=b._original.mass,b.inertia=b._original.inertia,b.density=b._original.density,b.inverseMass=b._original.inverseMass,b.inverseInertia=b._original.inverseInertia,b._original=null)}},t.setMass=function(v,g){var m=v.inertia/(v.mass/6);v.inertia=m*(g/6),v.inverseInertia=1/v.inertia,v.mass=g,v.inverseMass=1/v.mass,v.density=v.mass/v.area},t.setDensity=function(v,g){t.setMass(v,g*v.area),v.density=g},t.setInertia=function(v,g){v.inertia=g,v.inverseInertia=1/v.inertia},t.setVertices=function(v,g){g[0].body===v?v.vertices=g:v.vertices=r.create(g,v),v.axes=f.fromVertices(v.vertices),v.area=r.area(v.vertices),t.setMass(v,v.density
45*v.area);var m=r.centre(v.vertices);r.translate(v.vertices,m,-1),t.setInertia(v,t._inertiaScale*r.inertia(v.vertices,v.mass)),r.translate(v.vertices,v.position),s.update(v.bounds,v.vertices,v.velocity)},t.setParts=function(v,g,m){var b;for(g=g.slice(0),v.parts.length=0,v.parts.push(v),v.parent=v,b=0;b<g.length;b++){var C=g[b];C!==v&&(C.parent=v,v.parts.push(C))}if(v.parts.length!==1){if(m=typeof m!="undefined"?m:!0,m){var A=[];for(b=0;b<g.length;b++)A=A.concat(g[b].vertices);r.clockwiseSort(A);var _=r.hull(A),P=r.centre(_);t.setVertices(v,_),r.translate(v.vertices,P)}var T=t._totalProperties(v);v.area=T.area,v.parent=v,v.position.x=T.centre.x,v.position.y=T.centre.y,v.positionPrev.x=T.centre.x,v.positionPrev.y=T.centre.y,t.setMass(v,T.mass),t.setInertia(v,T.inertia),t.setPosition(v,T.centre)}},t.setCentre=function(v,g,m){m?(v.positionPrev.x+=g.x,v.positionPrev.y+=g.y,v.position.x+=g.x,v.position.y+=g.y):(v.positionPrev.x=g.x-(v.position.x-v.positionPrev.x),v.positionPrev.y=g.y-(v.position.y-v.positionPrev.y),v.position.x=g.x,v.position.y=g.y)},t.setPosition=function(v,g){var m=i.sub(g,v.position);v.positionPrev.x+=m.x,v.positionPrev.y+=m.y;for(var b=0;b<v.parts.length;b++){var C=v.parts[b];C.position.x+=m.x,C.position.y+=m.y,r.translate(C.vertices,m),s.update(C.bounds,C.vertices,v.velocity)}},t.setAngle=function(v,g){var m=g-v.angle;v.anglePrev+=m;for(var b=0;b<v.parts.length;b++){var C=v.parts[b];C.angle+=m,r.rotate(C.vertices,m,v.position),f.rotate(C.axes,m),s.update(C.bounds,C.vertices,v.velocity),b>0&&i.rotateAbout(C.position,m,v.position,C.position)}},t.setVelocity=function(v,g){v.positionPrev.x=v.position.x-g.x,v.positionPrev.y=v.position.y-g.y,v.velocity.x=g.x,v.velocity.y=g.y,v.speed=i.magnitude(v.velocity)},t.setAngularVelocity=function(v,g){v.anglePrev=v.angle-g,v.angularVelocity=g,v.angularSpeed=Math.abs(v.angularVelocity)},t.translate=function(v,g){t.setPosition(v,i.add(v.position,g))},t.rotate=function(v,g,m){if(!m)t.setAngle(v,v.angle+g);else{var b=Math.cos(g),C=Math.sin(g),A=v.position.x-m.x,_=v.position.y-m.y;t.setPosition(v,{x:m.x+(A*b-_*C),y:m.y+(A*C+_*b)}),t.setAngle(v,v.angle+g)}},t.scale=function(v,g,m,b){var C=0,A=0;b=b||v.position;for(var _=0;_<v.parts.length;_++){var P=v.parts[_];r.scale(P.vertices,g,m,b),P.axes=f.fromVertices(P.vertices),P.area=r.area(P.vertices),t.setMass(P,v.density*P.area),r.translate(P.vertices,{x:-P.position.x,y:-P.position.y}),t.setInertia(P,t._inertiaScale*r.inertia(P.vertices,P.mass)),r.translate(P.vertices,{x:P.position.x,y:P.position.y}),_>0&&(C+=P.area,A+=P.inertia),P.position.x=b.x+(P.position.x-b.x)*g,P.position.y=b.y+(P.position.y-b.y)*m,s.update(P.bounds,P.vertices,v.velocity)}v.parts.length>
451&&(v.area=C,v.isStatic||(t.setMass(v,v.density*C),t.setInertia(v,A))),v.circleRadius&&(g===m?v.circleRadius*=g:v.circleRadius=null)},t.update=function(v,g,m,b){var C=Math.pow(g*m*v.timeScale,2),A=1-v.frictionAir*m*v.timeScale,_=v.position.x-v.positionPrev.x,P=v.position.y-v.positionPrev.y;v.velocity.x=_*A*b+v.force.x/v.mass*C,v.velocity.y=P*A*b+v.force.y/v.mass*C,v.positionPrev.x=v.position.x,v.positionPrev.y=v.position.y,v.position.x+=v.velocity.x,v.position.y+=v.velocity.y,v.angularVelocity=(v.angle-v.anglePrev)*A*b+v.torque/v.inertia*C,v.anglePrev=v.angle,v.angle+=v.angularVelocity,v.speed=i.magnitude(v.velocity),v.angularSpeed=Math.abs(v.angularVelocity);for(var T=0;T<v.parts.length;T++){var x=v.parts[T];r.translate(x.vertices,v.velocity),T>0&&(x.position.x+=v.velocity.x,x.position.y+=v.velocity.y),v.angularVelocity!==0&&(r.rotate(x.vertices,v.angularVelocity,v.position),f.rotate(x.axes,v.angularVelocity),T>0&&i.rotateAbout(x.position,v.angularVelocity,v.position,x.position)),s.update(x.bounds,x.vertices,v.velocity)}},t.applyForce=function(v,g,m){v.force.x+=m.x,v.force.y+=m.y;var b={x:g.x-v.position.x,y:g.y-v.position.y};v.torque+=b.x*m.y-b.y*m.x},t._totalProperties=function(v){for(var g={mass:0,area:0,inertia:0,centre:{x:0,y:0}},m=v.parts.length===1?0:1;m<v.parts.length;m++){var b=v.parts[m],C=b.mass!==1/0?b.mass:1;g.mass+=C,g.area+=b.area,g.inertia+=b.inertia,g.centre=i.add(g.centre,i.mult(b.position,C))}return g.centre=i.div(g.centre,g.mass),g}})()},function(a,n,o){var t={};a.exports=t;var r=o(4);(function(){t._motionWakeThreshold=.18,t._motionSleepThreshold=.08,t._minBias=.9,t.update=function(i,c){for(var d=c*c*c,u=0;u<i.length;u++){var s=i[u],f=s.speed*s.speed+s.angularSpeed*s.angularSpeed;if(s.force.x!==0||s.force.y!==0){t.set(s,!1);continue}var p=Math.min(s.motion,f),v=Math.max(s.motion,f);s.motion=t._minBias*p+(1-t._minBias)*v,s.sleepThreshold>0&&s.motion<t._motionSleepThreshold*d?(s.sleepCounter+=1,s.sleepCounter>=s.sleepThreshold&&t.set(s,!0)):s.sleepCounter>0&&(s.sleepCounter-=1)}},t.afterCollisions=function(i,c){for(var d=c*c*c,u=0;u<i.length;u++){var s=i[u];if(s.isActive){var f=s.collision,p=f.bodyA.parent,v=f.bodyB.parent;
45if(!(p.isSleeping&&v.isSleeping||p.isStatic||v.isStatic)&&(p.isSleeping||v.isSleeping)){var g=p.isSleeping&&!p.isStatic?p:v,m=g===p?v:p;!g.isStatic&&m.motion>t._motionWakeThreshold*d&&t.set(g,!1)}}}},t.set=function(i,c){var d=i.isSleeping;c?(i.isSleeping=!0,i.sleepCounter=i.sleepThreshold,i.positionImpulse.x=0,i.positionImpulse.y=0,i.positionPrev.x=i.position.x,i.positionPrev.y=i.position.y,i.anglePrev=i.angle,i.speed=0,i.angularSpeed=0,i.motion=0,d||r.trigger(i,"sleepStart")):(i.isSleeping=!1,i.sleepCounter=0,d&&r.trigger(i,"sleepEnd"))}})()},function(a,n,o){var t={};a.exports=t;var r=o(3),i=o(2),c=o(7),d=o(1),u=o(10),s=o(0);(function(){t._warming=.4,t._torqueDampen=1,t._minLength=1e-6,t.create=function(f){var p=f;p.bodyA&&!p.pointA&&(p.pointA={x:0,y:0}),p.bodyB&&!p.pointB&&(p.pointB={x:0,y:0});var v=p.bodyA?i.add(p.bodyA.position,p.pointA):p.pointA,g=p.bodyB?i.add(p.bodyB.position,p.pointB):p.pointB,m=i.magnitude(i.sub(v,g));p.length=typeof p.length!="undefined"?p.length:m,p.id=p.id||s.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 b={visible:!0,lineWidth:2,strokeStyle:"#ffffff",type:"line",anchors:!0};return p.length===0&&p.stiffness>.1?(b.type="pin",b.anchors=!1):p.stiffness<.9&&(b.type="spring"),p.render=s.extend(b,p.render),p},t.preSolveAll=function(f){for(var p=0;p<f.length;p+=1){var v=f[p],g=v.constraintImpulse;v.isStatic||g.x===0&&g.y===0&&g.angle===0||(v.position.x+=g.x,v.position.y+=g.y,v.angle+=g.angle)}},t.solveAll=function(f,p){for(var v=0;v<f.length;v+=1){var g=f[v],m=!g.bodyA||g.bodyA&&g.bodyA.isStatic,b=!g.bodyB||g.bodyB&&g.bodyB.isStatic;(m||b)&&t.solve(f[v],p)}for(v=0;v<f.length;v+=1)g=f[v],m=!g.bodyA||g.bodyA&&g.bodyA.isStatic,b=!g.bodyB||g.bodyB&&g.bodyB.isStatic,!m&&!b&&t.solve(f[v],p)},t.solve=function(f,p){var v=f.bodyA,g=f.bodyB,m=f.pointA,b=f.pointB;if(!(!v&&!g)){v&&!v.isStatic&&(i.rotate(m,v.angle-f.angleA,m),f.angleA=v.angle),g&&!g.isStatic&&(i.rotate(b,g.angle-f.angleB,b),f.angleB=g.angle);var C=m,A=b;if(v&&(C=i.add(v.position,m)),g&&(A=i.add(g.position,b)),!(!C||!A)){var _=i.sub(C,A),P=i.magnitude(_);P<t._minLength&&(P=t._minLength);var T=(P-f.length)/P,x=f.stiffness<1?f.stiffness*p:f.stiffness,M=i.mult(_,T*x),U=(v?v.inverseMass:0)+(g?g.inverseMass:0),j=(v?v.inverseInertia:0)+(g?g.inverseInertia:0),$=U+j,G,J,ie,W,q;if(f.damping){var H=i.create();ie=i.div(_,P),q=i.sub(g&&i.sub(g.position,g.positionPrev)||H,v&&i.sub(v.position,v.positionPrev)||H),W=i.dot(ie,q)}v&&!v.isStatic&&(J=v.inverseMass/U,v.constraintImpulse.x-=M.x*J,v.constraintImpulse.y-=M.y*J,v.position.x-=M.x*J,v.position.y-=M.y*J,f.damping&&(v.positionPrev.x-=f.damping*ie.x*W*J,v.positionPrev.y-=f.damping*ie.y*W*J),G=i.cross(m,M)/$*t._torqueDampen*v.inverseInertia*(1-f.angularStiffness),v.constraintImpulse.angle-=G,v.angle-=G),g&&!g.isStatic&&(J=g.inverseMass/U,g.constraintImpulse.x+=M.x*J,g.constraintImpulse.y+=M.y*J,g.position.x+=M.x*J,g.position.y+=M.y*J,f.damping&&(g.positionPrev.x+=f.damping*ie.x*W*J,g.positionPrev.y+=f.damping*ie.y*W*J),G=i.cross(b,M)/$*t._torqueDampen*g.inverseInertia*(1-f.angularStiffness),g.constraintImpulse.angle+=G,g.angle+=G)}}},t.postSolveAll=function(f){for(var p=0;p<f.length;p++){var v=f[p],g=v.constraintImpulse;if(!(v.isStatic||g.x===0&&g.y===0&&g.angle===0)){c.set(v,!1);for(var m=0;m<v.parts.length;m++){var b=v.parts[m];r.translate(b.vertices,g),m>0&&(b.position.x+=g.x,b.position.y+=g.y),g.angle!==0&&(r.rotate(b.vertices,g.angle,v.position),u.rotate(b.axes,g.angle),m>0&&i.rotateAbout(b.position,g.angle,v.position,b.position)),d.update(b.bounds,b.vertices,v.velocity)}g.angle*=t._warming,g.x*=t._warming,g.y*=t._warming}}},t.pointAWorld=function(f){return{x:(f.bodyA?f.bodyA.position.x:0)+f.pointA.x,y:(f.bodyA?f.bodyA.position.y:0)+f.pointA.y}},t.pointBWorld=function(f){return{x:(f.bodyB?f.bodyB.position.x:0)+f.pointB.x,y:(f.bodyB?f.bodyB.position.y:0)+f.pointB.y}}})()},function(a,n,o){var t={};a.exports=t;var r=o(17);(function(){t.create=function(i,c){var d=i.bodyA,u=i.bodyB,s=i.parentA,f=i.parentB,p={id:t.id(d,u),bodyA:d,bodyB:u,contacts:{},activeContacts:[],separation:0,isActive:!0,confirmedActive:!0,isSensor:d.isSensor||u.isSensor,timeCreated:c,timeUpdated:c,inverseMass:s.inverseMass+f.inverseMass,friction:Math.min(s.friction,f.friction),frictionStatic:Math.max(s.frictionStatic,f.frictionStatic),restitution:Math.max(s.restitution,f.restitution),slop:Math.max(s.slop,f.slop)};return t.update(p,i,c),p},t.update=function(i,c,d){var u=i.contacts,s=c.supports,f=i.activeContacts,p=c.parentA,v=c.parentB;if(i.collision=c,i.inverseMass=p.inverseMass+v.inverseMass,i.friction=Math.min(p.friction,v.friction),i.frictionStatic=Math.max(p.frictionStatic,v.frictionStatic),i.restitution=Math.max(p.restitution,v.restitution),i.slop=Math.max(p.slop,v.slop),f.length=0,c.collided){for(var g=0;g<s.length;g++){var m=s[g],b=r.id(m),C=u[b];C?f.push(C):f.push(u[b]=r.create(m))}i.separation=c.depth,t.setActive(i,!0,d)}else i.isActive===!0&&t.setActive(i,!1,d)},t.setActive=function(i,c,d){c?(i.isActive=!0,i.timeUpdated=d):(i.isActive=!1,i.activeContacts.length=0)},t.id=function(i,c){return i.id<c.id?"A"+i.id+"B"+c.id:"A"+c.id+"B"+i.id}})()},function(a,n,o){var t={};a.exports=t;var r=o(2),i=o(0);(function(){t.fromVertices=function(c){for(var d={},u=0;u<c.length;u++){var s=(u+1)%c.length,f=r.normalise({x:c[s].y-c[u].y,y:c[u].x-c[s].x}),p=f.y===0?1/0:f.x/f.y;p=p.toFixed(3).toString(),d[p]=f}return i.values(d)},t.rotate=function(c,d){if(d!==0)for(var u=Math.cos(d),s=Math.sin(d),f=0;f<c.length;f++){var p=c[f],v;v=p.x*u-p.y*s,p.y=p.x*s+p.y*u,p.x=v}}})()},function(a,n,o){var t={};a.exports=t;var r=o(3),i=o(0),c=o(6),d=o(1),u=o(2);(function(){t.rectangle=function(s,f,p,v,g){g=g||{};var m={label:"Rectangle Body",position:{x:s,y:f},vertices:r.fromPath("L 0 0 L "+p+" 0 L "+p+" "+v+" L 0 "+v)};if(g.chamfer){var b=g.chamfer;
45m.vertices=r.chamfer(m.vertices,b.radius,b.quality,b.qualityMin,b.qualityMax),delete g.chamfer}return c.create(i.extend({},m,g))},t.trapezoid=function(s,f,p,v,g,m){m=m||{},g*=.5;var b=(1-g*2)*p,C=p*g,A=C+b,_=A+C,P;g<.5?P="L 0 0 L "+C+" "+-v+" L "+A+" "+-v+" L "+_+" 0":P="L 0 0 L "+A+" "+-v+" L "+_+" 0";var T={label:"Trapezoid Body",position:{x:s,y:f},vertices:r.fromPath(P)};if(m.chamfer){var x=m.chamfer;T.vertices=r.chamfer(T.vertices,x.radius,x.quality,x.qualityMin,x.qualityMax),delete m.chamfer}return c.create(i.extend({},T,m))},t.circle=function(s,f,p,v,g){v=v||{};var m={label:"Circle Body",circleRadius:p};g=g||25;var b=Math.ceil(Math.max(10,Math.min(g,p)));return b%2===1&&(b+=1),t.polygon(s,f,b,p,i.extend({},m,v))},t.polygon=function(s,f,p,v,g){if(g=g||{},p<3)return t.circle(s,f,v,g);for(var m=2*Math.PI/p,b="",C=m*.5,A=0;A<p;A+=1){var _=C+A*m,P=Math.cos(_)*v,T=Math.sin(_)*v;b+="L "+P.toFixed(3)+" "+T.toFixed(3)+" "}var x={label:"Polygon Body",position:{x:s,y:f},vertices:r.fromPath(b)};if(g.chamfer){var M=g.chamfer;x.vertices=r.chamfer(x.vertices,M.radius,M.quality,M.qualityMin,M.qualityMax),delete g.chamfer}return c.create(i.extend({},x,g))},t.fromVertices=function(s,f,p,v,g,m,b,C){var A=i.getDecomp(),_,P,T,x,M,U,j,$,G,J,ie;for(_=!!(A&&A.quickDecomp),v=v||{},T=[],g=typeof g!="undefined"?g:!1,m=typeof m!="undefined"?m:.01,b=typeof b!="undefined"?b:10,C=typeof C!="undefined"?C:.01,i.isArray(p[0])||(p=[p]),J=0;J<p.length;J+=1)if(U=p[J],x=r.isConvex(U),M=!x,M&&!_&&i.warnOnce("Bodies.fromVertices: Install the 'poly-decomp' library and use Common.setDecomp or provide 'decomp' as a global to decompose concave vertices."),x||!_)x?U=r.clockwiseSort(U):U=r.hull(U),T.push({position:{x:s,y:f},vertices:U});else{var W=U.map(function(Pe){return[Pe.x,Pe.y]});A.makeCCW(W),m!==!1&&A.removeCollinearPoints(W,m),C!==!1&&A.removeDuplicatePoints&&A.removeDuplicatePoints(W,C);var q=A.quickDecomp(W);for(j=0;j<q.length;j++){var H=q[j],X=H.map(function(Pe){return{x:Pe[0],y:Pe[1]}});b>0&&r.area(X)<b||T.push({position:r.centre(X),vertices:X})}}for(j=0;j<T.length;j++)T[j]=c.create(i.extend(T[j],v));if(g){var k=5;for(j=0;j<T.length;j++){var ne=T[j];for($=j+1;$<T.length;$++){var re=T[$];if(d.overlaps(ne.bounds,re.bounds)){var le=ne.vertices,se=re.vertices;for(G=0;G<ne.vertices.length;G++)for(ie=0;ie<re.vertices.length;ie++){var ae=u.magnitudeSquared(u.sub(le[(G+1)%le.length],se[ie])),pe=u.magnitudeSquared(u.sub(le[G],se[(ie+1)%se.length]));ae<k&&pe<k&&(le[G].isInternal=!0,se[ie].isInternal=!0)}}}}}return T.length>1?(P=c.create(i.extend({parts:T.slice(0)},v)),c.setPosition(P,{x:s,y:f}),P):T[0]}})()},function(a,n,o){var t={};a.exports=t;var r=o(0);(function(){t.create=function(i){var c={};return i||r.log("Mouse.create: element was undefined, defaulting to document.body","warn"),c.element=i||document.body,c.absolute={x:0,y:0},c.position={x:0,y:0},c.mousedownPosition={x:0,y:0},c.mouseupPosition={x:0,y:0},c.offset={x:0,y:0},c.scale={x:1,y:1},c.wheelDelta=0,c.button=-1,c.pixelRatio=parseInt(c.element.getAttribute("data-pixel-ratio"),10)||1,c.sourceEvents={mousemove:null,mousedown:null,mouseup:null,mousewheel:null},c.mousemove=function(d){var u=t._getRelativeMousePosition(d,c.element,c.pixelRatio),s=d.changedTouches;s&&(c.button=0,d.preventDefault()),c.absolute.x=u.x,c.absolute.y=u.y,c.position.x=c.absolute.x*c.scale.x+c.offset.x,c.position.y=c.absolute.y*c.scale.y+c.offset.y,c.sourceEvents.mousemove=d},c.mousedown=function(d){var u=t._getRelativeMousePosition(d,c.element,c.pixelRatio),s=d.changedTouches;s?(c.button=0,d.preventDefault()):c.button=d.button,c.absolute.x=u.x,c.absolute.y=u.y,c.position.x=c.absolute.x*c.scale.x+c.offset.x,c.position.y=c.absolute.y*c.scale.y+c.offset.y,c.mousedownPosition.x=c.position.x,c.mousedownPosition.y=c.position.y,c.sourceEvents.mousedown=d},c.mouseup=function(d){var u=t._getRelativeMousePosition(d,c.element,c.pixelRatio),s=d.changedTouches;s&&d.preventDefault(),c.button=-1,c.absolute.x=u.x,c.absolute.y=u.y,c.position.x=c.absolute.x*c.scale.x+c.offset.x,c.position.y=c.absolute.y*c.scale.y+c.offset.y,c.mouseupPosition.x=c.position.x,c.mouseupPosition.y=c.position.y,c.sourceEvents.mouseup=d},c.mousewheel=function(d){c.wheelDelta=Math.max(-1,Math.min(1,d.wheelDelta||-d.detail)),d.preventDefault()},t.setElement(c,c.element),c},t.setElement=function(i,c){i.element=c,c.addEventListener("mousemove",i.mousemove),c.addEventListener("mousedown",i.mousedown),c.addEventListener("mouseup",i.mouseup),c.addEventListener("mousewheel",i.mousewheel),c.addEventListener("DOMMouseScroll",i.mousewheel),c.addEventListener("touchmove",i.mousemove),c.addEventListener("touchstart",i.mousedown),c.addEventListener("touchend",i.mouseup)},t.clearSourceEvents=function(i){i.sourceEvents.mousemove=null,i.sourceEvents.mousedown=null,i.sourceEvents.mouseup=null,i.sourceEvents.mousewheel=null,i.wheelDelta=0},t.setOffset=function(i,c){i.offset.x=c.x,i.offset.y=c.y,i.position.x=i.absolute.x*i.scale.x+i.offset.x,i.position.y=i.absolute.y*i.scale.y+i.offset.y},t.setScale=function(i,c){i.scale.x=c.x,i.scale.y=c.y,i.position.x=i.absolute.x*i.scale.x+i.offset.x,i.position.y=i.absolute.y*i.scale.y+i.offset.y},t._getRelativeMousePosition=function(i,c,d){var u=c.getBoundingClientRect(),s=document.documentElement||document.body.parentNode||document.body,f=window.pageXOffset!==void 0?window.pageXOffset:s.scrollLeft,p=window.pageYOffset!==void 0?window.pageYOffset:s.scrollTop,v=i.changedTouches,g,m;return v?(g=v[0].pageX-u.left-f,m=v[0].pageY-u.top-p):(g=i.pageX-u.left-f,m=i.pageY-u.top-p),{x:g/(c.clientWidth/(c.width||c.clientWidth)*
45d),y:m/(c.clientHeight/(c.height||c.clientHeight)*d)}}})()},function(a,n,o){var t={};a.exports=t;var r=o(14),i=o(9),c=o(1);(function(){t.collisions=function(d,u){for(var s=[],f=u.pairs.table,p=0;p<d.length;p++){var v=d[p][0],g=d[p][1];if(!((v.isStatic||v.isSleeping)&&(g.isStatic||g.isSleeping))&&t.canCollide(v.collisionFilter,g.collisionFilter)&&c.overlaps(v.bounds,g.bounds))for(var m=v.parts.length>1?1:0;m<v.parts.length;m++)for(var b=v.parts[m],C=g.parts.length>1?1:0;C<g.parts.length;C++){var A=g.parts[C];if(b===v&&A===g||c.overlaps(b.bounds,A.bounds)){var _=i.id(b,A),P=f[_],T;P&&P.isActive?T=P.collision:T=null;var x=r.collides(b,A,T);x.collided&&s.push(x)}}}return s},t.canCollide=function(d,u){return d.group===u.group&&d.group!==0?d.group>0:(d.mask&u.category)!==0&&(u.mask&d.category)!==0}})()},function(a,n,o){var t={};a.exports=t;var r=o(3),i=o(2);(function(){t.collides=function(c,d,u){var s,f,p,v,g=!1;if(u){var m=c.parent,b=d.parent,C=m.speed*m.speed+m.angularSpeed*m.angularSpeed+b.speed*b.speed+b.angularSpeed*b.angularSpeed;g=u&&u.collided&&C<.2,v=u}else v={collided:!1,bodyA:c,bodyB:d};if(u&&g){var A=v.axisBody,_=A===c?d:c,P=[A.axes[u.axisNumber]];if(p=t._overlapAxes(A.vertices,_.vertices,P),v.reused=!0,p.overlap<=0)return v.collided=!1,v}else{if(s=t._overlapAxes(c.vertices,d.vertices,c.axes),s.overlap<=0||(f=t._overlapAxes(d.vertices,c.vertices,d.axes),f.overlap<=0))return v.collided=!1,v;s.overlap<f.overlap?(p=s,v.axisBody=c):(p=f,v.axisBody=d),v.axisNumber=p.axisNumber}v.bodyA=c.id<d.id?c:d,v.bodyB=c.id<d.id?d:c,v.collided=!0,v.depth=p.overlap,v.parentA=v.bodyA.parent,v.parentB=v.bodyB.parent,c=v.bodyA,d=v.bodyB,i.dot(p.axis,i.sub(d.position,c.position))<0?v.normal={x:p.axis.x,y:p.axis.y}:v.normal={x:-p.axis.x,y:-p.axis.y},v.tangent=i.perp(v.normal),v.penetration=v.penetration||{},v.penetration.x=v.normal.x*v.depth,v.penetration.y=v.normal.y*v.depth;var T=t._findSupports(c,d,v.normal),x=[];if(r.contains(c.vertices,T[0])&&x.push(T[0]),r.contains(c.vertices,T[1])&&x.push(T[1]),x.length<2){var M=t._findSupports(d,c,i.neg(v.normal));r.contains(d.vertices,M[0])&&x.push(M[0]),x.length<2&&r.contains(d.vertices,M[1])&&x.push(M[1])}return x.length<1&&(x=[T[0]]),v.supports=x,v},t._overlapAxes=function(c,d,u){for(var s=i._temp[0],f=i._temp[1],p={overlap:Number.MAX_VALUE},v,g,m=0;m<u.length;m++){if(g=u[m],t._projectToAxis(s,c,g),t._projectToAxis(f,d,g),v=Math.min(s.max-f.min,f.max-s.min),v<=0)return p.overlap=v,p;v<p.overlap&&(p.overlap=v,p.axis=g,p.axisNumber=m)}return p},t._projectToAxis=function(c,d,u){for(var s=i.dot(d[0],u),f=s,p=1;p<d.length;p+=1){var v=i.dot(d[p],u);v>f?f=v:v<s&&(s=v)}c.min=s,c.max=f},t._findSupports=function(c,d,u){for(var s=Number.MAX_VALUE,f=i._temp[0],p=d.vertices,v=c.position,g,m,b,C,A=0;A<p.length;A++)m=p[A],f.x=m.x-v.x,f.y=m.y-v.y,g=-i.dot(u,f),g<s&&(s=g,b=m);var _=b.index-1>=0?b.index-1:p.length-1;m=p[_],f.x=m.x-v.x,f.y=m.y-v.y,s=-i.dot(u,f),C=m;var P=(b.index+1)%p.length;return m=p[P],f.x=m.x-v.x,f.y=m.y-v.y,g=-i.dot(u,f),g<s&&(C=m),[b,C]}})()},function(a,n,o){var t={};a.exports=t;var r=o(0);(function(){t._registry={},t.register=function(i){if(t.isPlugin(i)||r.warn("Plugin.register:",t.toString(i),"does not implement all required fields."),i.name in t._registry){var c=t._registry[i.name],d=t.versionParse(i.version).number,u=t.versionParse(c.version).number;d>u?(r.warn("Plugin.register:",t.toString(c),"was upgraded to",t.toString(i)),t._registry[i.name]=i):d<u?r.warn("Plugin.register:",t.toString(c),"can not be downgraded to",t.toString(i)):i!==c&&r.warn("Plugin.register:",t.toString(i),"is already registered to different plugin object")}else t._registry[i.name]=i;return i}
45,t.resolve=function(i){return t._registry[t.dependencyParse(i).name]},t.toString=function(i){return typeof i=="string"?i:(i.name||"anonymous")+"@"+(i.version||i.range||"0.0.0")},t.isPlugin=function(i){return i&&i.name&&i.version&&i.install},t.isUsed=function(i,c){return i.used.indexOf(c)>-1},t.isFor=function(i,c){var d=i.for&&t.dependencyParse(i.for);return!i.for||c.name===d.name&&t.versionSatisfies(c.version,d.range)},t.use=function(i,c){if(i.uses=(i.uses||[]).concat(c||[]),i.uses.length===0){r.warn("Plugin.use:",t.toString(i),"does not specify any dependencies to install.");return}for(var d=t.dependencies(i),u=r.topologicalSort(d),s=[],f=0;f<u.length;f+=1)if(u[f]!==i.name){var p=t.resolve(u[f]);if(!p){s.push("\u274C "+u[f]);continue}t.isUsed(i,p.name)||(t.isFor(p,i)||(r.warn("Plugin.use:",t.toString(p),"is for",p.for,"but installed on",t.toString(i)+"."),p._warned=!0),p.install?p.install(i):(r.warn("Plugin.use:",t.toString(p),"does not specify an install function."),p._warned=!0),p._warned?(s.push("\uD83D\uDD36 "+t.toString(p)),delete p._warned):s.push("\u2705 "+t.toString(p)),i.used.push(p.name))}s.length>0&&r.info(s.join("  "))},t.dependencies=function(i,c){var d=t.dependencyParse(i),u=d.name;if(c=c||{},!(u in c)){i=t.resolve(i)||i,c[u]=r.map(i.uses||[],function(f){t.isPlugin(f)&&t.register(f);var p=t.dependencyParse(f),v=t.resolve(f);return v&&!t.versionSatisfies(v.version,p.range)?(r.warn("Plugin.dependencies:",t.toString(v),"does not satisfy",t.toString(p),"used by",t.toString(d)+"."),v._warned=!0,i._warned=!0):v||(r.warn("Plugin.dependencies:",t.toString(f),"used by",t.toString(d),"could not be resolved."),i._warned=!0),p.name});for(var s=0;s<c[u].length;s+=1)t.dependencies(c[u][s],c);return c}},t.dependencyParse=function(i){if(r.isString(i)){var c=/^[\w-]+(@(\*|[\^~]?\d+\.\d+\.\d+(-[0-9A-Za-z-]+)?))?$/;return c.test(i)||r.warn("Plugin.dependencyParse:",i,"is not a valid dependency string."),{name:i.split("@")[0],range:i.split("@")[1]||"*"}}return{name:i.name,range:i.range||i.version}},t.versionParse=function(i){var c=/^(\*)|(\^|~|>=|>)?\s*((\d+)\.(\d+)\.(\d+))(-[0-9A-Za-z-]+)?$/;c.test(i)||r.warn("Plugin.versionParse:",i,"is not a valid version or range.");var d=c.exec(i),u=Number(d[4]),s=Number(d[5]),f=Number(d[6]);return{isRange:!!(d[1]||d[2]),version:d[3],range:i,operator:d[1]||d[2]||"",major:u,minor:s,patch:f,parts:[u,s,f],prerelease:d[7],number:u*1e8+s*1e4+f}},t.versionSatisfies=function(i,c){c=c||"*";var d=t.versionParse(c),u=t.versionParse(i);if(d.isRange){if(d.operator==="*"||i==="*")return!0;if(d.operator===">")return u.number>d.number;if(d.operator===">=")return u.number>=d.number;if(d.operator==="~")return u.major===d.major&&u.minor===d.minor&&u.patch>=d.patch;if(d.operator==="^")return d.major>0?u.major===d.major&&u.number>=d.number:d.minor>0?u.minor===d.minor&&u.patch>=d.patch:u.patch===d.patch}return i===c||i==="*"}})()},function(a,n,o){var t={};a.exports=t;var r=o(0),i=o(5),c=o(1),d=o(4),u=o(2),s=o(12);(function(){var f,p;typeof window!="undefined"&&(f=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame||function(_){window.setTimeout(function(){_(r.now())},1e3/60)},p=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),t._goodFps=30,t._goodDelta=1e3/60,t.create=function(_){var P={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:!!_.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}},T=r.extend(P,_);return T.canvas&&(T.canvas.width=T.options.width||T.canvas.width,T.canvas.height=T.options.height||T.canvas.height),T.mouse=_.mouse,T.engine=_.engine,T.canvas=T.canvas||m(T.options.width,T.options.height),T.context=T.canvas.getContext("2d"),T.textures={},T.bounds=T.bounds||{min:{x:0,y:0},max:{x:T.canvas.width,y:T.canvas.height}},T.options.pixelRatio!==1&&t.setPixelRatio(T,T.options.pixelRatio),r.isElement(T.element)?T.element.appendChild(T.canvas):T.canvas.parentNode||r.log("Render.create: options.element was undefined, render.canvas was created but not appended","warn"),T},t.run=function(_){(function P(T){_.frameRequestId=f(P),v(_,T),t.world(_,T),(_.options.showStats||_.options.showDebug)&&t.stats(_,_.context,T),(_.options.showPerformance||_.options.showDebug)&&t.performance(_,_.context,T)})()},t.stop=function(_){p(_.frameRequestId)},t.setPixelRatio=function(_,P){var T=_.options,x=_.canvas;P==="auto"&&(P=b(x)),T.pixelRatio=P,x.setAttribute("data-pixel-ratio",P),x.width=T.width*P,x.height=T.height*P,x.style.width=T.width+"px",x.style.height=T.height+"px"},t.lookAt=function(_,P,T,x){x=typeof x!="undefined"?x:!0,P=r.isArray(P)?P:[P],T=T||{x:0,y:0};for(var M={min:{x:1/0,y:1/0},max:{x:-1/0,y:-1/0}},U=0;U<P.length;U+=1){var j=P[U],$=j.bounds?j.bounds.min:j.min||j.position||j,G=j.bounds?j.bounds.max:j.max||j.position||j;$&&G&&($.x<M.min.x&&(M.min.x=$.x),G.x>M.max.x&&(M.max.x=G.x),$.y<M.min.y&&(M.min.y=$.y),G.y>M.max.y&&(M.max.y=G.y))}var J=M.max.x-M.min.x+2*T.x,ie=M.max.y-M.min.y+2*T.y,W=_.canvas.height,q=_.canvas.width,H=q/W,X=J/ie,k=1,ne=1;X>H?ne=X/H:k=H/X,_.options.hasBounds=!0,_.bounds.min.x=M.min.x,_.bounds.max.x=M.min.x+J*k,_.bounds.min.y=M.min.y,_.bounds.max.y=M.min.y+ie*ne,x&&(_.bounds.min.x+=J*.5-J*k*.5,_.bounds.max.x+=J*.5-J*k*.5,_.bounds.min.y+=ie*.5-ie*ne*.5,_.bounds.max.y+=ie*.5-ie*ne*.5),_.bounds.min.x-=T.x,_.bounds.max.x-=T.x,_.bounds.min.y-=T.y,_.bounds.max.y-=T.y,_.mouse&&(s.setScale(_.mouse,{x:(_.bounds.max.x-_.bounds.min.x)/_.canvas.width,y:(_.bounds.max.y-_.bounds.min.y)/_.canvas.height}
45),s.setOffset(_.mouse,_.bounds.min))},t.startViewTransform=function(_){var P=_.bounds.max.x-_.bounds.min.x,T=_.bounds.max.y-_.bounds.min.y,x=P/_.options.width,M=T/_.options.height;_.context.setTransform(_.options.pixelRatio/x,0,0,_.options.pixelRatio/M,0,0),_.context.translate(-_.bounds.min.x,-_.bounds.min.y)},t.endViewTransform=function(_){_.context.setTransform(_.options.pixelRatio,0,0,_.options.pixelRatio,0,0)},t.world=function(_,P){var T=r.now(),x=_.engine,M=x.world,U=_.canvas,j=_.context,$=_.options,G=_.timing,J=i.allBodies(M),ie=i.allConstraints(M),W=$.wireframes?$.wireframeBackground:$.background,q=[],H=[],X,k={timestamp:x.timing.timestamp};if(d.trigger(_,"beforeRender",k),_.currentBackground!==W&&A(_,W),j.globalCompositeOperation="source-in",j.fillStyle="transparent",j.fillRect(0,0,U.width,U.height),j.globalCompositeOperation="source-over",$.hasBounds){for(X=0;X<J.length;X++){var ne=J[X];c.overlaps(ne.bounds,_.bounds)&&q.push(ne)}for(X=0;X<ie.length;X++){var re=ie[X],le=re.bodyA,se=re.bodyB,ae=re.pointA,pe=re.pointB;le&&(ae=u.add(le.position,re.pointA)),se&&(pe=u.add(se.position,re.pointB)),!(!ae||!pe)&&(c.contains(_.bounds,ae)||c.contains(_.bounds,pe))&&H.push(re)}t.startViewTransform(_),_.mouse&&(s.setScale(_.mouse,{x:(_.bounds.max.x-_.bounds.min.x)/_.options.width,y:(_.bounds.max.y-_.bounds.min.y)/_.options.height}),s.setOffset(_.mouse,_.bounds.min))}else H=ie,q=J,_.options.pixelRatio!==1&&_.context.setTransform(_.options.pixelRatio,0,0,_.options.pixelRatio,0,0);!$.wireframes||x.enableSleeping&&$.showSleeping?t.bodies(_,q,j):($.showConvexHulls&&t.bodyConvexHulls(_,q,j),t.bodyWireframes(_,q,j)),$.showBounds&&t.bodyBounds(_,q,j),($.showAxes||$.showAngleIndicator)&&t.bodyAxes(_,q,j),$.showPositions&&t.bodyPositions(_,q,j),$.showVelocity&&t.bodyVelocity(_,q,j),$.showIds&&t.bodyIds(_,q,j),$.showSeparations&&t.separations(_,x.pairs.list,j),$.showCollisions&&t.collisions(_,x.pairs.list,j),$.showVertexNumbers&&t.vertexNumbers(_,q,j),$.showMousePosition&&t.mousePosition(_,_.mouse,j),t.constraints(H,j),$.showBroadphase&&t.grid(_,x.grid,j),$.hasBounds&&t.endViewTransform(_),d.trigger(_,"afterRender",k),G.lastElapsed=r.now()-T},t.stats=function(_,P,T){for(var x=_.engine,M=x.world,U=i.allBodies(M),j=0,$=55,G=44,J=0,ie=0,W=0;W<U.length;W+=1)j+=U[W].parts.length;var q={Part:j,Body:U.length,Cons:i.allConstraints(M).length,Comp:i.allComposites(M).length,Pair:x.pairs.list.length};P.fillStyle="#0e0f19",P.fillRect(J,ie,$*5.5,G),P.font="12px Arial",P.textBaseline="top",P.textAlign="right";for(var H in q){var X=q[H];P.fillStyle="#aaa",P.fillText(H,J+$,ie+8),P.fillStyle="#eee",P.fillText(X,J+$,ie+26),J+=$}},t.performance=function(_,P){var T=_.engine,x=_.timing,M=x.deltaHistory,U=x.elapsedHistory,j=x.timestampElapsedHistory,$=x.engineDeltaHistory,G=x.engineElapsedHistory,J=T.timing.lastDelta,ie=g(M),W=g(U),q=g($),H=g(G),X=g(j),k=X/ie||0,ne=1e3/ie||0,re=4,le=12,se=60,ae=34,pe=10,Pe=69;P.fillStyle="#0e0f19",P.fillRect(0,50,le*4+se*5+22,ae),t.status(P,pe,Pe,se,re,M.length,Math.round(ne)+" fps",ne/t._goodFps,function(ve){return M[ve]/ie-1}),t.status(P,pe+le+se,Pe,se,re,$.length,J.toFixed(2)+" dt",t._goodDelta/J,function(ve){return $[ve]/q-1}),t.status(P,pe+(le+se)*2,Pe,se,re,G.length,H.toFixed(2)+" ut",1-H/t._goodFps,function(ve){return G[ve]/H-1}),t.status(P,pe+(le+se)*3,Pe,se,re,U.length,W.toFixed(2)+" rt",1-W/t._goodFps,function(ve){return U[ve]/W-1}),t.status(P,pe+(le+se)*4,Pe,se,re,j.length,k.toFixed(2)+" x",k*k*k,function(ve){return(j[ve]/M[ve]/k||0)-1})},t.status=function(_,P,T,x,M,U,j,$,G){_.strokeStyle="#888",_.fillStyle="#444",_.lineWidth=1,_.fillRect(P,T+7,x,1),_.beginPath(),_.moveTo(P,T+7-M*r.clamp(.4*G(0),-2,2));for(var J=0;J<x;J+=1)_.lineTo(P+J,T+7-(J<U?M*r.clamp(.4*G(J),-2,2):0));_.stroke(),_.fillStyle="hsl("+r.clamp(25+95*$,0,120)+",100%,60%)",_.fillRect(P,T-7,4,4),_.font="12px Arial",_.textBaseline="middle",_.textAlign="right",_.fillStyle="#eee",_.fillText(j,P+x,T-5)},t.constraints=function(_,P){for(var T=P,x=0;x<_.length;x++){var M=_[x];if(!(!M.render.visible||!M.pointA||!M.pointB)){var U=M.bodyA,j=M.bodyB,$,G;if(U?$=u.add(U.position,M.pointA):$=M.pointA,M.render.type==="pin")T.beginPath(),T.arc($.x,$.y,3,0,2*Math.PI),T.closePath();else{if(j?G=u.add(j.position,M.pointB):G=M.pointB,T.beginPath(),T.moveTo($.x,$.y),M.render.type==="spring")for(var J=u.sub(G,$),ie=u.perp(u.normalise(J)),W=Math.ceil(r.clamp(M.length/5,12,20)),q,H=1;H<W;H+=1)q=H%2===0?1:-1,T.lineTo($.x+J.x*(H/W)+ie.x*q*4,$.y+J.y*(H/W)+ie.y*q*4);T.lineTo(G.x,G.y)}M.render.lineWidth&&(T.lineWidth=M.render.lineWidth,T.strokeStyle=M.render.strokeStyle,T.stroke()),M.render.anchors&&(T.fillStyle=M.render.strokeStyle,T.beginPath(),T.arc($.x,$.y,3,0,2*Math.PI),T.arc(G.x,G.y,3,0,2*Math.PI),T.closePath(),T.fill())}}},t.bodies=function(_,P,T){var x=T,M=_.engine,U=_.options,j=U.showInternalEdges||!U.wireframes,$,G,J,ie;for(J=0;J<P.length;J++)if($=P[J],!!$.render.visible){for(ie=$.parts.length>1?1:0;ie<$.parts.length;ie++)if(G=$.parts[ie],!!G.render.visible){if(U.showSleeping&&$.isSleeping?x.globalAlpha=.5*G.render.opacity:G.render.opacity!==1&&(x.globalAlpha=G.render.opacity),G.render.sprite&&G.render.sprite.texture&&!U.wireframes){var W=G.render.sprite,q=C(_,W.texture);x.translate(G.position.x,G.position.y),x.rotate(G.angle),x.drawImage(q,q.width*-W.xOffset*W.xScale,q.height*-W.yOffset*W.yScale,q.width*W.xScale,q.height*W.yScale),x.rotate(-G.angle),x.translate(-G.position.x,-G.position.y)}else{if(G.circleRadius)x.beginPath(),x.arc(G.position.x,G.position.y,G.circleRadius,0,2*Math.PI);else{x.beginPath(),x.moveTo(G.vertices[0].x,G.vertices[0].y);for(var H=1;H<G.vertices.length;H++)!G.vertices[H-1].isInternal||j?x.lineTo(G.vertices[H].x,G.vertices[H].y):x.moveTo(G.vertices[H].x,G.vertices[H].y),G.vertices[H].isInternal&&!j&&x.moveTo(G.vertices[(H+1)%G.vertices.length].x,G.vertices[(H+1)%G.vertices.length].y);x.lineTo(G.vertices[0].x,G.vertices[0].y),x.closePath()}U.wireframes?(x.lineWidth=1,x.strokeStyle="#bbb",x.stroke()):(x.fillStyle=G.render.fillStyle,G.render.lineWidth&&(x.lineWidth=G.render.lineWidth,x.strokeStyle=G.render.strokeStyle,x.stroke()),x.fill())}x.globalAlpha=1}}},t.bodyWireframes=function(_,P,T){var x=T,M=_.options.showInternalEdges,U,j,$,G,J;for(x.beginPath(),$=0;$<P.length;$++)if(U=P[$],!!U.render.visible)for(J=U.parts.length>1?1:0;
45J<U.parts.length;J++){for(j=U.parts[J],x.moveTo(j.vertices[0].x,j.vertices[0].y),G=1;G<j.vertices.length;G++)!j.vertices[G-1].isInternal||M?x.lineTo(j.vertices[G].x,j.vertices[G].y):x.moveTo(j.vertices[G].x,j.vertices[G].y),j.vertices[G].isInternal&&!M&&x.moveTo(j.vertices[(G+1)%j.vertices.length].x,j.vertices[(G+1)%j.vertices.length].y);x.lineTo(j.vertices[0].x,j.vertices[0].y)}x.lineWidth=1,x.strokeStyle="#bbb",x.stroke()},t.bodyConvexHulls=function(_,P,T){var x=T,M,U,j,$,G;for(x.beginPath(),j=0;j<P.length;j++)if(M=P[j],!(!M.render.visible||M.parts.length===1)){for(x.moveTo(M.vertices[0].x,M.vertices[0].y),$=1;$<M.vertices.length;$++)x.lineTo(M.vertices[$].x,M.vertices[$].y);x.lineTo(M.vertices[0].x,M.vertices[0].y)}x.lineWidth=1,x.strokeStyle="rgba(255,255,255,0.2)",x.stroke()},t.vertexNumbers=function(_,P,T){var x=T,M,U,j;for(M=0;M<P.length;M++){var $=P[M].parts;for(j=$.length>1?1:0;j<$.length;j++){var G=$[j];for(U=0;U<G.vertices.length;U++)x.fillStyle="rgba(255,255,255,0.2)",x.fillText(M+"_"+U,G.position.x+(G.vertices[U].x-G.position.x)*.8,G.position.y+(G.vertices[U].y-G.position.y)*.8)}}},t.mousePosition=function(_,P,T){var x=T;x.fillStyle="rgba(255,255,255,0.8)",x.fillText(P.position.x+"  "+P.position.y,P.position.x+5,P.position.y-5)},t.bodyBounds=function(_,P,T){var x=T,M=_.engine,U=_.options;x.beginPath();for(var j=0;j<P.length;j++){var $=P[j];if($.render.visible)for(var G=P[j].parts,J=G.length>1?1:0;J<G.length;J++){var ie=G[J];x.rect(ie.bounds.min.x,ie.bounds.min.y,ie.bounds.max.x-ie.bounds.min.x,ie.bounds.max.y-ie.bounds.min.y)}}U.wireframes?x.strokeStyle="rgba(255,255,255,0.08)":x.strokeStyle="rgba(0,0,0,0.1)",x.lineWidth=1,x.stroke()},t.bodyAxes=function(_,P,T){var x=T,M=_.engine,U=_.options,j,$,G,J;for(x.beginPath(),$=0;$<P.length;$++){var ie=P[$],W=ie.parts;if(ie.render.visible)if(U.showAxes)for(G=W.length>1?1:0;G<W.length;G++)for(j=W[G],J=0;J<j.axes.length;J++){var q=j.axes[J];x.moveTo(j.position.x,j.position.y),x.lineTo(j.position.x+q.x*20,j.position.y+q.y*20)}else for(G=W.length>1?1:0;G<W.length;G++)for(j=W[G],J=0;J<j.axes.length;J++)x.moveTo(j.position.x,j.position.y),x.lineTo((j.vertices[0].x+j.vertices[j.vertices.length-1].x)/2,(j.vertices[0].y+j.vertices[j.vertices.length-1].y)/2)}U.wireframes?(x.strokeStyle="indianred",x.lineWidth=1):(x.strokeStyle="rgba(255, 255, 255, 0.4)",x.globalCompositeOperation="overlay",x.lineWidth=2),x.stroke(),x.globalCompositeOperation="source-over"},t.bodyPositions=function(_,P,T){var x=T,M=_.engine,U=_.options,j,$,G,J;for(x.beginPath(),G=0;G<P.length;G++)if(j=P[G],!!j.render.visible)for(J=0;J<j.parts.length;J++)$=j.parts[J],x.arc($.position.x,$.position.y,3,0,2*Math.PI,!1),x.closePath();for(U.wireframes?x.fillStyle="indianred":x.fillStyle="rgba(0,0,0,0.5)",x.fill(),x.beginPath(),G=0;G<P.length;G++)j=P[G],j.render.visible&&(x.arc(j.positionPrev.x,j.positionPrev.y,2,0,2*Math.PI,!1),x.closePath());x.fillStyle="rgba(255,165,0,0.8)",x.fill()},t.bodyVelocity=function(_,P,T){var x=T;x.beginPath();for(var M=0;M<P.length;M++){var U=P[M];U.render.visible&&(x.moveTo(U.position.x,U.position.y),x.lineTo(U.position.x+(U.position.x-U.positionPrev.x)*2,U.position.y+(U.position.y-U.positionPrev.y)*2))}x.lineWidth=3,x.strokeStyle="cornflowerblue",x.stroke()},t.bodyIds=function(_,P,T){var x=T,M,U;for(M=0;M<P.length;M++)if(P[M].render.visible){var j=P[M].parts;for(U=j.length>1?1:0;U<j.length;U++){var $=j[U];x.font="12px Arial",x.fillStyle="rgba(255,255,255,0.5)",x.fillText($.id,$.position.x+10,$.position.y-10)}}},t.collisions=function(_,P,T){var x=T,M=_.options,U,j,$,G,J,ie,W;for(x.beginPath(),ie=0;ie<P.length;ie++)if(U=P[ie],!!U.isActive)for(j=U.collision,W=0;W<U.activeContacts.length;W++){var q=U.activeContacts[W],H=q.vertex;x.rect(H.x-1.5,H.y-1.5,3.5,3.5)}for(M.wireframes?x.fillStyle="rgba(255,255,255,0.7)":x.fillStyle="orange",x.fill(),x.beginPath(),ie=0;ie<P.length;ie++)if(U=P[ie],!!U.isActive&&(j=U.collision,U.activeContacts.length>0)){var X=U.activeContacts[0].vertex.x,k=U.activeContacts[0].vertex.y;U.activeContacts.length===2&&(X=(U.activeContacts[0].vertex.x+U.activeContacts[1].vertex.x)/2,k=(U.activeContacts[0].vertex.y+U.activeContacts[1].vertex.y)/2),j.bodyB===j.supports[0].body||j.bodyA.isStatic===!0?x.moveTo(X-j.normal.x*8,k-j.normal.y*8):x.moveTo(X+j.normal.x*8,k+j.normal.y*8),x.lineTo(X,k)}M.wireframes?x.strokeStyle="rgba(255,165,0,0.7)":x.strokeStyle="orange",x.lineWidth=1,x.stroke()},t.separations=function(_,P,T){var x=T,M=_.options,U,j,$,G,J,ie,W;for(x.beginPath(),ie=0;ie<P.length;ie++)if(U=P[ie],!!U.isActive){j=U.collision,G=j.bodyA,J=j.bodyB;var q=1;!J.isStatic&&!G.isStatic&&(q=.5),J.isStatic&&(q=0),x.moveTo(J.position.x,J.position.y),x.lineTo(J.position.x-j.penetration.x*q,J.position.y-j.penetration.y*q),q=1,!J.isStatic&&!G.isStatic&&(q=.5),G.isStatic&&(q=0),x.moveTo(G.position.x,G.position.y),x.lineTo(G.position.x+j.penetration.x*q,G.position.y+j.penetration.y*q)}M.wireframes?x.strokeStyle="rgba(255,165,0,0.5)":x.strokeStyle="orange",x.stroke()},t.grid=function(_,P,T){var x=T,M=_.options;M.wireframes?x.strokeStyle="rgba(255,180,0,0.1)":x.strokeStyle="rgba(255,180,0,0.5)",x.beginPath();for(var U=r.keys(P.buckets),j=0;j<U.length;j++){var $=U[j];if(!(P.buckets[$].length<2)){var G=$.split(/C|R/);
45x.rect(.5+parseInt(G[1],10)*P.bucketWidth,.5+parseInt(G[2],10)*P.bucketHeight,P.bucketWidth,P.bucketHeight)}}x.lineWidth=1,x.stroke()},t.inspector=function(_,P){var T=_.engine,x=_.selected,M=_.render,U=M.options,j;if(U.hasBounds){var $=M.bounds.max.x-M.bounds.min.x,G=M.bounds.max.y-M.bounds.min.y,J=$/M.options.width,ie=G/M.options.height;P.scale(1/J,1/ie),P.translate(-M.bounds.min.x,-M.bounds.min.y)}for(var W=0;W<x.length;W++){var q=x[W].data;switch(P.translate(.5,.5),P.lineWidth=1,P.strokeStyle="rgba(255,165,0,0.9)",P.setLineDash([1,2]),q.type){case"body":j=q.bounds,P.beginPath(),P.rect(Math.floor(j.min.x-3),Math.floor(j.min.y-3),Math.floor(j.max.x-j.min.x+6),Math.floor(j.max.y-j.min.y+6)),P.closePath(),P.stroke();break;case"constraint":var H=q.pointA;q.bodyA&&(H=q.pointB),P.beginPath(),P.arc(H.x,H.y,10,0,2*Math.PI),P.closePath(),P.stroke();break}P.setLineDash([]),P.translate(-.5,-.5)}_.selectStart!==null&&(P.translate(.5,.5),P.lineWidth=1,P.strokeStyle="rgba(255,165,0,0.6)",P.fillStyle="rgba(255,165,0,0.1)",j=_.selectBounds,P.beginPath(),P.rect(Math.floor(j.min.x),Math.floor(j.min.y),Math.floor(j.max.x-j.min.x),Math.floor(j.max.y-j.min.y)),P.closePath(),P.stroke(),P.fill(),P.translate(-.5,-.5)),U.hasBounds&&P.setTransform(1,0,0,1,0,0)};var v=function(_,P){var T=_.engine,x=_.timing,M=x.historySize,U=T.timing.timestamp;x.delta=P-x.lastTime||t._goodDelta,x.lastTime=P,x.timestampElapsed=U-x.lastTimestamp||0,x.lastTimestamp=U,x.deltaHistory.unshift(x.delta),x.deltaHistory.length=Math.min(x.deltaHistory.length,M),x.engineDeltaHistory.unshift(T.timing.lastDelta),x.engineDeltaHistory.length=Math.min(x.engineDeltaHistory.length,M),x.timestampElapsedHistory.unshift(x.timestampElapsed),x.timestampElapsedHistory.length=Math.min(x.timestampElapsedHistory.length,M),x.engineElapsedHistory.unshift(T.timing.lastElapsed),x.engineElapsedHistory.length=Math.min(x.engineElapsedHistory.length,M),x.elapsedHistory.unshift(x.lastElapsed),x.elapsedHistory.length=Math.min(x.elapsedHistory.length,M)},g=function(_){for(var P=0,T=0;T<_.length;T+=1)P+=_[T];return P/_.length||0},m=function(_,P){var T=document.createElement("canvas");return T.width=_,T.height=P,T.oncontextmenu=function(){return!1},T.onselectstart=function(){return!1},T},b=function(_){var P=_.getContext("2d"),T=window.devicePixelRatio||1,x=P.webkitBackingStorePixelRatio||P.mozBackingStorePixelRatio||P.msBackingStorePixelRatio||P.oBackingStorePixelRatio||P.backingStorePixelRatio||1;return T/x},C=function(_,P){var T=_.textures[P];return T||(T=_.textures[P]=new Image,T.src=P,T)},A=function(_,P){var T=P;/(jpg|gif|png)$/.test(P)&&(T="url("+P+")"),_.canvas.style.background=T,_.canvas.style.backgroundSize="contain",_.currentBackground=P}})()},function(a,n){var o={};a.exports=o,function(){o.create=function(t){return{id:o.id(t),vertex:t,normalImpulse:0,tangentImpulse:0}},o.id=function(t){return t.body.id+"_"+t.index}}()},function(a,n,o){var t={};a.exports=t;var r=o(7),i=o(19),c=o(13),d=o(20),u=o(21),s=o(4),f=o(5),p=o(8),v=o(0),g=o(6);(function(){t.create=function(m){m=m||{};var b={positionIterations:6,velocityIterations:4,constraintIterations:2,enableSleeping:!1,events:[],plugin:{},grid:null,gravity:{x:0,y:1,scale:.001},timing:{timestamp:0,timeScale:1,lastDelta:0,lastElapsed:0}},C=v.extend(b,m);return C.world=m.world||f.create({label:"World"}),C.grid=u.create(m.grid||m.broadphase),C.pairs=d.create(),C.world.gravity=C.gravity,C.broadphase=C.grid,C.metrics={},C},t.update=function(m,b,C){var A=v.now();b=b||1e3/60,C=C||1;var _=m.world,P=m.timing,T=m.grid,x=[],M;P.timestamp+=b*P.timeScale,P.lastDelta=b*P.timeScale;var U={timestamp:P.timestamp};s.trigger(m,"beforeUpdate",U);var j=f.allBodies(_),$=f.allConstraints(_);for(m.enableSleeping&&r.update(j,P.timeScale),t._bodiesApplyGravity(j,m.gravity),t._bodiesUpdate(j,b,P.timeScale,C,_.bounds),p.preSolveAll(j),M=0;M<m.constraintIterations;M++)p.solveAll($,P.timeScale);p.postSolveAll(j),_.isModified&&u.clear(T),u.update(T,j,m,_.isModified),x=T.pairsList,_.isModified&&f.setModified(_,!1,!1,!0);var G=c.collisions(x,m),J=m.pairs,ie=P.timestamp;for(d.update(J,G,ie),d.removeOld(J,ie),m.enableSleeping&&r.afterCollisions(J.list,P.timeScale),J.collisionStart.length>0&&s.trigger(m,"collisionStart",{pairs:J.collisionStart}),i.preSolvePosition(J.list),M=0;M<m.positionIterations;M++)i.solvePosition(J.list,P.timeScale);for(i.postSolvePosition(j),p.preSolveAll(j),M=0;M<m.constraintIterations;M++)p.solveAll($,P.timeScale);for(p.postSolveAll(j),i.preSolveVelocity(J.list),M=0;M<m.velocityIterations;M++)i.solveVelocity(J.list,P.timeScale);return J.collisionActive.length>0&&s.trigger(m,"collisionActive",{pairs:J.collisionActive}),J.collisionEnd.length>0&&s.trigger(m,"collisionEnd",{pairs:J.collisionEnd}),t._bodiesClearForces(j),s.trigger(m,"afterUpdate",U),m.timing.lastElapsed=v.now()-A,m},t.merge=function(m,b){if(v.extend(m,b),b.world){m.world=b.world,t.clear(m);for(var C=f.allBodies(m.world),A=0;A<C.length;A++){var _=C[A];r.set(_,!1),_.id=v.nextId()}}},t.clear=function(m){var b=m.world,C=f.allBodies(b);d.clear(m.pairs),u.clear(m.grid),u.update(m.grid,C,m,!0)},t._bodiesClearForces=function(m){for(var b=0;b<m.length;b++){var C=m[b];C.force.x=0,C.force.y=0,C.torque=0}}
45,t._bodiesApplyGravity=function(m,b){var C=typeof b.scale!="undefined"?b.scale:.001;if(!(b.x===0&&b.y===0||C===0))for(var A=0;A<m.length;A++){var _=m[A];_.isStatic||_.isSleeping||(_.force.y+=_.mass*b.y*C,_.force.x+=_.mass*b.x*C)}},t._bodiesUpdate=function(m,b,C,A,_){for(var P=0;P<m.length;P++){var T=m[P];T.isStatic||T.isSleeping||g.update(T,b,C,A)}}})()},function(a,n,o){var t={};a.exports=t;var r=o(3),i=o(2),c=o(0),d=o(1);(function(){t._restingThresh=4,t._restingThreshTangent=6,t._positionDampen=.9,t._positionWarming=.8,t._frictionNormalMultiplier=5,t.preSolvePosition=function(u){var s,f,p;for(s=0;s<u.length;s++)f=u[s],f.isActive&&(p=f.activeContacts.length,f.collision.parentA.totalContacts+=p,f.collision.parentB.totalContacts+=p)},t.solvePosition=function(u,s){var f,p,v,g,m,b,C,A,_,P={},T=i._temp[0],x=i._temp[1],M=i._temp[2],U=i._temp[3];for(f=0;f<u.length;f++)p=u[f],!(!p.isActive||p.isSensor)&&(v=p.collision,g=v.parentA,m=v.parentB,b=v.normal,C=i.sub(i.add(m.positionImpulse,m.position,T),i.add(g.positionImpulse,i.sub(m.position,v.penetration,x),M),U),p.separation=i.dot(b,C));for(f=0;f<u.length;f++)p=u[f],!(!p.isActive||p.isSensor)&&(v=p.collision,g=v.parentA,m=v.parentB,b=v.normal,_=(p.separation-p.slop)*s,(g.isStatic||m.isStatic)&&(_*=2),g.isStatic||g.isSleeping||(A=t._positionDampen/g.totalContacts,g.positionImpulse.x+=b.x*_*A,g.positionImpulse.y+=b.y*_*A),m.isStatic||m.isSleeping||(A=t._positionDampen/m.totalContacts,m.positionImpulse.x-=b.x*_*A,m.positionImpulse.y-=b.y*_*A))},t.postSolvePosition=function(u){for(var s=0;s<u.length;s++){var f=u[s];if(f.totalContacts=0,f.positionImpulse.x!==0||f.positionImpulse.y!==0){for(var p=0;p<f.parts.length;p++){var v=f.parts[p];r.translate(v.vertices,f.positionImpulse),d.update(v.bounds,v.vertices,f.velocity),v.position.x+=f.positionImpulse.x,v.position.y+=f.positionImpulse.y}f.positionPrev.x+=f.positionImpulse.x,f.positionPrev.y+=f.positionImpulse.y,i.dot(f.positionImpulse,f.velocity)<0?(f.positionImpulse.x=0,f.positionImpulse.y=0):(f.positionImpulse.x*=t._positionWarming,f.positionImpulse.y*=t._positionWarming)}}},t.preSolveVelocity=function(u){var s,f,p,v,g,m,b,C,A,_,P,T,x,M,U=i._temp[0],j=i._temp[1];for(s=0;s<u.length;s++)if(p=u[s],!(!p.isActive||p.isSensor))for(v=p.activeContacts,g=p.collision,m=g.parentA,b=g.parentB,C=g.normal,A=g.tangent,f=0;f<v.length;f++)_=v[f],P=_.vertex,T=_.normalImpulse,x=_.tangentImpulse,(T!==0||x!==0)&&(U.x=C.x*T+A.x*x,U.y=C.y*T+A.y*x,m.isStatic||m.isSleeping||(M=i.sub(P,m.position,j),m.positionPrev.x+=U.x*m.inverseMass,m.positionPrev.y+=U.y*m.inverseMass,m.anglePrev+=i.cross(M,U)*m.inverseInertia),b.isStatic||b.isSleeping||(M=i.sub(P,b.position,j),b.positionPrev.x-=U.x*b.inverseMass,b.positionPrev.y-=U.y*b.inverseMass,b.anglePrev-=i.cross(M,U)*b.inverseInertia))},t.solveVelocity=function(u,s){for(var f=s*s,p=i._temp[0],v=i._temp[1],g=i._temp[2],m=i._temp[3],b=i._temp[4],C=i._temp[5],A=0;A<u.length;A++){var _=u[A];if(!(!_.isActive||_.isSensor)){var P=_.collision,T=P.parentA,x=P.parentB,M=P.normal,U=P.tangent,j=_.activeContacts,$=1/j.length;T.velocity.x=T.position.x-T.positionPrev.x,T.velocity.y=T.position.y-T.positionPrev.y,x.velocity.x=x.position.x-x.positionPrev.x,x.velocity.y=x.position.y-x.positionPrev.y,T.angularVelocity=T.angle-T.anglePrev,x.angularVelocity=x.angle-x.anglePrev;for(var G=0;G<j.length;G++){var J=j[G],ie=J.vertex,W=i.sub(ie,T.position,v),q=i.sub(ie,x.position,g),H=i.add(T.velocity,i.mult(i.perp(W),T.angularVelocity),m),X=i.add(x.velocity,i.mult(i.perp(q),x.angularVelocity),b),k=i.sub(H,X,C),ne=i.dot(M,k),re=i.dot(U,k),le=Math.abs(re),se=c.sign(re),ae=(1+_.restitution)*ne,pe=c.clamp(_.separation+ne,0,1)*t._frictionNormalMultiplier,Pe=re,ve=1/0;le>_.friction*_.frictionStatic*pe*f&&(ve=le,Pe=c.clamp(_.friction*se*f,-ve,ve));var Me=i.cross(W,M),ht=i.cross(q,M),xt=$/(T.inverseMass+x.inverseMass+T.inverseInertia*Me*Me+x.inverseInertia*ht*ht);if(ae*=xt,Pe*=xt,ne<0&&ne*ne>t._restingThresh*f)J.normalImpulse=0;else{var At=J.normalImpulse;J.normalImpulse=Math.min(J.normalImpulse+ae,0),ae=J.normalImpulse-At}if(re*re>t._restingThreshTangent*f)J.tangentImpulse=0;else{var Bt=J.tangentImpulse;J.tangentImpulse=c.clamp(J.tangentImpulse+Pe,-ve,ve),Pe=J.tangentImpulse-Bt}p.x=M.x*ae+U.x*Pe,p.y=M.y*ae+U.y*Pe,T.isStatic||T.isSleeping||(T.positionPrev.x+=p.x*T.inverseMass,T.positionPrev.y+=p.y*T.inverseMass,T.anglePrev+=i.cross(W,p)*T.inverseInertia),x.isStatic||x.isSleeping||(x.positionPrev.x-=p.x*x.inverseMass,x.positionPrev.y-=p.y*x.inverseMass,x.anglePrev-=i.cross(q,p)*x.inverseInertia)}}}}})()},function(a,n,o){var t={};a.exports=t;var r=o(9),i=o(0);(function(){t._pairMaxIdleLife=1e3,t.create=function(c){return i.extend({table:{},list:[],collisionStart:[],collisionActive:[],collisionEnd:[]},c)},t.update=function(c,d,u){var s=c.list,f=c.table,p=c.collisionStart,v=c.collisionEnd,g=c.collisionActive,m,b,C,A;for(p.length=0,v.length=0,g.length=0,A=0;A<s.length;A++)s[A].confirmedActive=!1;for(A=0;A<d.length;A++)m=d[A],m.collided&&(b=r.id(m.bodyA,m.bodyB),C=f[b],C?(C.isActive?g.push(C):p.push(C),r.update(C,m,u),C.confirmedActive=!0):(C=r.create(m,u),f[b]=C,p.push(C),s.push(C)));for(A=0;A<s.length;A++)C=s[A],C.isActive&&!C.confirmedActive&&(r.setActive(C,!1,u),v.push(C))},t.removeOld=function(c,d){var u=c.list,s=c.table,f=[],p,v,g,m;for(m=0;m<u.length;m++){if(p=u[m],v=p.collision,v.bodyA.isSleeping||v.bodyB.isSleeping){p.timeUpdated=d;continue}d-p.timeUpdated>
45t._pairMaxIdleLife&&f.push(m)}for(m=0;m<f.length;m++)g=f[m]-m,p=u[g],delete s[p.id],u.splice(g,1)},t.clear=function(c){return c.table={},c.list.length=0,c.collisionStart.length=0,c.collisionActive.length=0,c.collisionEnd.length=0,c}})()},function(a,n,o){var t={};a.exports=t;var r=o(9),i=o(0);(function(){t.create=function(c){var d={buckets:{},pairs:{},pairsList:[],bucketWidth:48,bucketHeight:48};return i.extend(d,c)},t.update=function(c,d,u,s){var f,p,v,g=u.world,m=c.buckets,b,C,A=!1;for(f=0;f<d.length;f++){var _=d[f];if(!(_.isSleeping&&!s)&&!(g.bounds&&(_.bounds.max.x<g.bounds.min.x||_.bounds.min.x>g.bounds.max.x||_.bounds.max.y<g.bounds.min.y||_.bounds.min.y>g.bounds.max.y))){var P=t._getRegion(c,_);if(!_.region||P.id!==_.region.id||s){(!_.region||s)&&(_.region=P);var T=t._regionUnion(P,_.region);for(p=T.startCol;p<=T.endCol;p++)for(v=T.startRow;v<=T.endRow;v++){C=t._getBucketId(p,v),b=m[C];var x=p>=P.startCol&&p<=P.endCol&&v>=P.startRow&&v<=P.endRow,M=p>=_.region.startCol&&p<=_.region.endCol&&v>=_.region.startRow&&v<=_.region.endRow;!x&&M&&M&&b&&t._bucketRemoveBody(c,b,_),(_.region===P||x&&!M||s)&&(b||(b=t._createBucket(m,C)),t._bucketAddBody(c,b,_))}_.region=P,A=!0}}}A&&(c.pairsList=t._createActivePairsList(c))},t.clear=function(c){c.buckets={},c.pairs={},c.pairsList=[]},t._regionUnion=function(c,d){var u=Math.min(c.startCol,d.startCol),s=Math.max(c.endCol,d.endCol),f=Math.min(c.startRow,d.startRow),p=Math.max(c.endRow,d.endRow);return t._createRegion(u,s,f,p)},t._getRegion=function(c,d){var u=d.bounds,s=Math.floor(u.min.x/c.bucketWidth),f=Math.floor(u.max.x/c.bucketWidth),p=Math.floor(u.min.y/c.bucketHeight),v=Math.floor(u.max.y/c.bucketHeight);return t._createRegion(s,f,p,v)},t._createRegion=function(c,d,u,s){return{id:c+","+d+","+u+","+s,startCol:c,endCol:d,startRow:u,endRow:s}},t._getBucketId=function(c,d){return"C"+c+"R"+d},t._createBucket=function(c,d){var u=c[d]=[];return u},t._bucketAddBody=function(c,d,u){for(var s=0;s<d.length;s++){var f=d[s];if(!(u.id===f.id||u.isStatic&&f.isStatic)){var p=r.id(u,f),v=c.pairs[p];v?v[2]+=1:c.pairs[p]=[u,f,1]}}d.push(u)},t._bucketRemoveBody=function(c,d,u){d.splice(i.indexOf(d,u),1);for(var s=0;s<d.length;s++){var f=d[s],p=r.id(u,f),v=c.pairs[p];v&&(v[2]-=1)}},t._createActivePairsList=function(c){var d,u,s=[];d=i.keys(c.pairs);for(var f=0;f<d.length;f++)u=c.pairs[d[f]],u[2]>0?s.push(u):delete c.pairs[d[f]];return s}})()},function(a,n,o){var t=a.exports=o(23);t.Axes=o(10),t.Bodies=o(11),t.Body=o(6),t.Bounds=o(1),t.Common=o(0),t.Composite=o(5),t.Composites=o(24),t.Constraint=o(8),t.Contact=o(17),t.Detector=o(13),t.Engine=o(18),t.Events=o(4),t.Grid=o(21),t.Mouse=o(12),t.MouseConstraint=o(25),t.Pair=o(9),t.Pairs=o(20),t.Plugin=o(15),t.Query=o(26),t.Render=o(16),t.Resolver=o(19),t.Runner=o(27),t.SAT=o(14),t.Sleeping=o(7),t.Svg=o(28),t.Vector=o(2),t.Vertices=o(3),t.World=o(29),t.Engine.run=t.Runner.run,t.Common.deprecated(t.Engine,"run","Engine.run \u27A4 use Matter.Runner.run(engine) instead")},function(a,n,o){var t={};a.exports=t;var r=o(15),i=o(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(c,d){return c=c.replace(/^Matter./,""),i.chainPathBefore(t,c,d)},t.after=function(c,d){return c=c.replace(/^Matter./,""),i.chainPathAfter(t,c,d)}})()},function(a,n,o){var t={};a.exports=t;var r=o(5),i=o(8),c=o(0),d=o(6),u=o(11),s=c.deprecated;(function(){t.stack=function(f,p,v,g,m,b,C){for(var A=r.create({label:"Stack"}),_=f,P=p,T,x=0,M=0;M<g;M++){for(var U=0,j=0;j<v;j++){var $=C(_,P,j,M,T,x);if($){var G=$.bounds.max.y-$.bounds.min.y,J=$.bounds.max.x-$.bounds.min.x;G>U&&(U=G),d.translate($,{x:J*.5,y:G*.5}),_=$.bounds.max.x+m,r.addBody(A,$),T=$,x+=1}else _+=m}P+=U+b,_=f}return A},t.chain=function(f,p,v,g,m,b){for(var C=f.bodies,A=1;A<C.length;A++){var _=C[A-1],P=C[A],T=_.bounds.max.y-_.bounds.min.y,x=_.bounds.max.x-_.bounds.min.x,M=P.bounds.max.y-P.bounds.min.y,U=P.bounds.max.x-P.bounds.min.x,j={bodyA:_,pointA:{x:x*p,y:T*v},bodyB:P,pointB:{x:U*g,y:M*m}},$=c.extend(j,b);r.addConstraint(f,i.create($))}return f.label+=" Chain",f},t.mesh=function(f,p,v,g,m){var b=f.bodies,C,A,_,P,T;for(C=0;C<v;C++){for(A=1;A<p;A++)_=b[A-1+C*p],P=b[A+C*p],r.addConstraint(f,i.create(c.extend({bodyA:_,bodyB:P},m)));if(C>0)for(A=0;A<p;A++)_=b[A+(C-1)*p],P=b[A+C*p],r.addConstraint(f,i.create(c.extend({bodyA:_,bodyB:P},m))),g&&A>0&&(T=b[A-1+(C-1)*p],r.addConstraint(f,i.create(c.extend({bodyA:T,bodyB:P},m)))),g&&A<p-1&&(T=b[A+1+(C-1)*p],r.addConstraint(f,i.create(c.extend({bodyA:T,bodyB:P},m))))}return f.label+=" Mesh",f},t.pyramid=function(f,p,v,g,m,b,C){return t.stack(f,p,v,g,m,b,function(A,_,P,T,x,M){var U=Math.min(g,Math.ceil(v/2)),j=x?x.bounds.max.x-x.bounds.min.x:0;if(!(T>U)){T=U-T;var $=T,G=v-1-T;if(!(P<$||P>G)){M===1&&d.translate(x,{x:(P+(v%2===1?1:-1))*j,y:0});var J=x?P*j:0;return C(f+J+P*m,_,P,T,x,M)}}})},t.newtonsCradle=function(f,p,v,g,m){for(var b=r.create({label:"Newtons Cradle"}),C=0;C<v;
45C++){var A=1.9,_=u.circle(f+C*(g*A),p+m,g,{inertia:1/0,restitution:1,friction:0,frictionAir:1e-4,slop:1}),P=i.create({pointA:{x:f+C*(g*A),y:p},bodyB:_});r.addBody(b,_),r.addConstraint(b,P)}return b},s(t,"newtonsCradle","Composites.newtonsCradle \u27A4 moved to newtonsCradle example"),t.car=function(f,p,v,g,m){var b=d.nextGroup(!0),C=20,A=-v*.5+C,_=v*.5-C,P=0,T=r.create({label:"Car"}),x=u.rectangle(f,p,v,g,{collisionFilter:{group:b},chamfer:{radius:g*.5},density:2e-4}),M=u.circle(f+A,p+P,m,{collisionFilter:{group:b},friction:.8}),U=u.circle(f+_,p+P,m,{collisionFilter:{group:b},friction:.8}),j=i.create({bodyB:x,pointB:{x:A,y:P},bodyA:M,stiffness:1,length:0}),$=i.create({bodyB:x,pointB:{x:_,y:P},bodyA:U,stiffness:1,length:0});return r.addBody(T,x),r.addBody(T,M),r.addBody(T,U),r.addConstraint(T,j),r.addConstraint(T,$),T},s(t,"car","Composites.car \u27A4 moved to car example"),t.softBody=function(f,p,v,g,m,b,C,A,_,P){_=c.extend({inertia:1/0},_),P=c.extend({stiffness:.2,render:{type:"line",anchors:!1}},P);var T=t.stack(f,p,v,g,m,b,function(x,M){return u.circle(x,M,A,_)});return t.mesh(T,v,g,C,P),T.label="Soft Body",T},s(t,"softBody","Composites.softBody \u27A4 moved to softBody and cloth examples")})()},function(a,n,o){var t={};a.exports=t;var r=o(3),i=o(7),c=o(12),d=o(4),u=o(13),s=o(8),f=o(5),p=o(0),v=o(1);(function(){t.create=function(g,m){var b=(g?g.mouse:null)||(m?m.mouse:null);b||(g&&g.render&&g.render.canvas?b=c.create(g.render.canvas):m&&m.element?b=c.create(m.element):(b=c.create(),p.warn("MouseConstraint.create: options.mouse was undefined, options.element was undefined, may not function as expected")));var C=s.create({label:"Mouse Constraint",pointA:b.position,pointB:{x:0,y:0},length:.01,stiffness:.1,angularStiffness:1,render:{strokeStyle:"#90EE90",lineWidth:3}}),A={type:"mouseConstraint",mouse:b,element:null,body:null,constraint:C,collisionFilter:{category:1,mask:4294967295,group:0}},_=p.extend(A,m);return d.on(g,"beforeUpdate",function(){var P=f.allBodies(g.world);t.update(_,P),t._triggerEvents(_)}),_},t.update=function(g,m){var b=g.mouse,C=g.constraint,A=g.body;if(b.button===0){if(C.bodyB)i.set(C.bodyB,!1),C.pointA=b.position;else for(var _=0;_<m.length;_++)if(A=m[_],v.contains(A.bounds,b.position)&&u.canCollide(A.collisionFilter,g.collisionFilter))for(var P=A.parts.length>1?1:0;P<A.parts.length;P++){var T=A.parts[P];if(r.contains(T.vertices,b.position)){C.pointA=b.position,C.bodyB=g.body=A,C.pointB={x:b.position.x-A.position.x,y:b.position.y-A.position.y},C.angleB=A.angle,i.set(A,!1),d.trigger(g,"startdrag",{mouse:b,body:A});break}}}else C.bodyB=g.body=null,C.pointB=null,A&&d.trigger(g,"enddrag",{mouse:b,body:A})},t._triggerEvents=function(g){var m=g.mouse,b=m.sourceEvents;b.mousemove&&d.trigger(g,"mousemove",{mouse:m}),b.mousedown&&d.trigger(g,"mousedown",{mouse:m}),b.mouseup&&d.trigger(g,"mouseup",{mouse:m}),c.clearSourceEvents(m)}})()},function(a,n,o){var t={};a.exports=t;var r=o(2),i=o(14),c=o(1),d=o(11),u=o(3);(function(){t.collides=function(s,f){for(var p=[],v=0;v<f.length;v++){var g=f[v];if(c.overlaps(g.bounds,s.bounds))for(var m=g.parts.length===1?0:1;m<g.parts.length;m++){var b=g.parts[m];if(c.overlaps(b.bounds,s.bounds)){var C=i.collides(b,s);if(C.collided){p.push(C);break}}}}return p}
45,t.ray=function(s,f,p,v){v=v||1e-100;for(var g=r.angle(f,p),m=r.magnitude(r.sub(f,p)),b=(p.x+f.x)*.5,C=(p.y+f.y)*.5,A=d.rectangle(b,C,m,v,{angle:g}),_=t.collides(A,s),P=0;P<_.length;P+=1){var T=_[P];T.body=T.bodyB=T.bodyA}return _},t.region=function(s,f,p){for(var v=[],g=0;g<s.length;g++){var m=s[g],b=c.overlaps(m.bounds,f);(b&&!p||!b&&p)&&v.push(m)}return v},t.point=function(s,f){for(var p=[],v=0;v<s.length;v++){var g=s[v];if(c.contains(g.bounds,f))for(var m=g.parts.length===1?0:1;m<g.parts.length;m++){var b=g.parts[m];if(c.contains(b.bounds,f)&&u.contains(b.vertices,f)){p.push(g);break}}}return p}})()},function(a,n,o){var t={};a.exports=t;var r=o(4),i=o(18),c=o(0);(function(){var d,u;if(typeof window!="undefined"&&(d=window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.msRequestAnimationFrame,u=window.cancelAnimationFrame||window.mozCancelAnimationFrame||window.webkitCancelAnimationFrame||window.msCancelAnimationFrame),!d){var s;d=function(f){s=setTimeout(function(){f(c.now())},1e3/60)},u=function(){clearTimeout(s)}}t.create=function(f){var p={fps:60,correction:1,deltaSampleSize:60,counterTimestamp:0,frameCounter:0,deltaHistory:[],timePrev:null,timeScalePrev:1,frameRequestId:null,isFixed:!1,enabled:!0},v=c.extend(p,f);return v.delta=v.delta||1e3/v.fps,v.deltaMin=v.deltaMin||1e3/v.fps,v.deltaMax=v.deltaMax||1e3/(v.fps*.5),v.fps=1e3/v.delta,v},t.run=function(f,p){return typeof f.positionIterations!="undefined"&&(p=f,f=t.create()),function v(g){f.frameRequestId=d(v),g&&f.enabled&&t.tick(f,p,g)}(),f},t.tick=function(f,p,v){var g=p.timing,m=1,b,C={timestamp:g.timestamp};r.trigger(f,"beforeTick",C),f.isFixed?b=f.delta:(b=v-f.timePrev||f.delta,f.timePrev=v,f.deltaHistory.push(b),f.deltaHistory=f.deltaHistory.slice(-f.deltaSampleSize),b=Math.min.apply(null,f.deltaHistory),b=b<f.deltaMin?f.deltaMin:b,b=b>f.deltaMax?f.deltaMax:b,m=b/f.delta,f.delta=b),f.timeScalePrev!==0&&(m*=g.timeScale/f.timeScalePrev),g.timeScale===0&&(m=0),f.timeScalePrev=g.timeScale,f.correction=m,f.frameCounter+=1,v-f.counterTimestamp>=1e3&&(f.fps=f.frameCounter*((v-f.counterTimestamp)/1e3),f.counterTimestamp=v,f.frameCounter=0),r.trigger(f,"tick",C),r.trigger(f,"beforeUpdate",C),i.update(p,b,m),r.trigger(f,"afterUpdate",C),r.trigger(f,"afterTick",C)},t.stop=function(f){u(f.frameRequestId)},t.start=function(f,p){t.run(f,p)}})()},function(a,n,o){var t={};a.exports=t;var r=o(1),i=o(0);(function(){t.pathToVertices=function(c,d){typeof window!="undefined"&&!("SVGPathSeg"in window)&&i.warn("Svg.pathToVertices: SVGPathSeg not defined, a polyfill is required.");var u,s,f,p,v,g,m,b,C,A,_=[],P,T,x=0,M=0,U=0;d=d||15;var j=function(G,J,ie){var W=ie%2===1&&ie>1;if(!C||G!=C.x||J!=C.y){C&&W?(P=C.x,T=C.y):(P=0,T=0);var q={x:P+G,y:T+J};(W||!C)&&(C=q),_.push(q),M=P+G,U=T+J}},$=function(G){var J=G.pathSegTypeAsLetter.toUpperCase();if(J!=="Z"){switch(J){case"M":case"L":case"T":case"C":case"S":case"Q":M=G.x,U=G.y;break;case"H":M=G.x;break;case"V":U=G.y;break}j(M,U,G.pathSegType)}};for(t._svgPathToAbsolute(c),f=c.getTotalLength(),g=[],u=0;u<c.pathSegList.numberOfItems;u+=1)g.push(c.pathSegList.getItem(u));for(m=g.concat();x<f;){if(A=c.getPathSegAtLength(x),v=g[A],v!=b){for(;m.length&&m[0]!=v;)$(m.shift());b=v}switch(v.pathSegTypeAsLetter.toUpperCase()){case"C":case"T":case"S":case"Q":case"A":p=c.getPointAtLength(x),j(p.x,p.y,0);break}x+=d}for(u=0,s=m.length;u<s;++u)$(m[u]);return _},t._svgPathToAbsolute=function(c){for(var d,u,s,f,p,v,g=c.pathSegList,m=0,b=0,C=g.numberOfItems,A=0;A<C;++A){var _=g.getItem(A),P=_.pathSegTypeAsLetter;if(/[MLHVCSQTA]/.test(P))"x"in _&&(m=_.x),"y"in _&&(b=_.y);else switch("x1"in _&&(s=m+_.x1),"x2"in _&&(p=m+_.x2),"y1"in _&&(f=b+_.y1),"y2"in _&&(v=b+_.y2),"x"in _&&(m+=_.x),"y"in _&&(b+=_.y),P){case"m":g.replaceItem(c.createSVGPathSegMovetoAbs(m,b),A);break;case"l":g.replaceItem(c.createSVGPathSegLinetoAbs(m,b),A);break;case"h":g.replaceItem(c.createSVGPathSegLinetoHorizontalAbs(m),A);break;case"v":g.replaceItem(c.createSVGPathSegLinetoVerticalAbs(b),A);break;case"c":g.replaceItem(c.createSVGPathSegCurvetoCubicAbs(m,b,s,f,p,v),A);break;case"s":g.replaceItem(c.createSVGPathSegCurvetoCubicSmoothAbs(m,b,p,v),A);break;case"q":g.replaceItem(c.createSVGPathSegCurvetoQuadraticAbs(m,b,s,f),A);break;case"t":g.replaceItem(c.createSVGPathSegCurvetoQuadraticSmoothAbs(m,b),A);break;case"a":g.replaceItem(c.createSVGPathSegArcAbs(m,b,_.r1,_.r2,_.angle,_.largeArcFlag,_.sweepFlag),A);break;case"z":case"Z":m=d,b=u;break}(P=="M"||P=="m")&&(d=m,u=b)}}})()},function(a,n,o){var t={};a.exports=t;var r=o(5),i=o(0);(function(){t.create=r.create,t.add=r.add,t.remove=r.remove,t.clear=r.clear,t.addComposite=r.addComposite,t.addBody=r.addBody,t.addConstraint=r.addConstraint})()}])})},575677:function(y,l,e){/*!
46 * matter-wrap 0.2.0 by Liam Brummitt 2017-07-04
47 * https://github.com/liabru/matter-wrap
48 * License MIT
49 */(function(n,o){y.exports=o(e(164940))})(this,function(a){return function(n){var o={};function t(r){if(o[r])return o[r].exports;var i=o[r]={i:r,l:!1,exports:{}};return n[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=n,t.c=o,t.i=function(r){return r},t.d=function(r,i,c){t.o(r,i)||Object.defineProperty(r,i,{configurable:!1,enumerable:!0,get:c})},t.n=function(r){var i=r&&r.__esModule?function(){return r.default}:function(){return r};return t.d(i,"a",i),i},t.o=function(r,i){return Object.prototype.hasOwnProperty.call(r,i)},t.p="/libs",t(t.s=1)}([function(n,o){n.exports=a},function(n,o,t){"use strict";
49var r=t(0),i={name:"matter-wrap",version:"0.1.3",for:"matter-js@^0.12.0",install:function(d){d.after("Engine.update",function(){i.Engine.update(this)})},Engine:{update:function(d){for(var u=d.world,s=r.Composite.allBodies(u),f=r.Composite.allComposites(u),p=0;p<s.length;p+=1){var v=s[p];v.plugin.wrap&&i.Body.wrap(v,v.plugin.wrap)}for(p=0;p<f.length;p+=1){var g=f[p];g.plugin.wrap&&i.Composite.wrap(g,g.plugin.wrap)}}},Bounds:{wrap:function(d,u){var s=null,f=null;if(typeof u.min.x!="undefined"&&typeof u.max.x!="undefined"&&(d.min.x>u.max.x?s=u.min.x-d.max.x:d.max.x<u.min.x&&(s=u.max.x-d.min.x)),typeof u.min.y!="undefined"&&typeof u.max.y!="undefined"&&(d.min.y>u.max.y?f=u.min.y-d.max.y:d.max.y<u.min.y&&(f=u.max.y-d.min.y)),s!==null||f!==null)return{x:s||0,y:f||0}}},Body:{wrap:function(d,u){var s=i.Bounds.wrap(d.bounds,u);return s&&r.Body.translate(d,s),s}},Composite:{bounds:function(d){for(var u=r.Composite.allBodies(d),s=[],f=0;f<u.length;f+=1){var p=u[f];s.push(p.bounds.min,p.bounds.max)}return r.Bounds.create(s)},wrap:function(d,u){var s=i.Bounds.wrap(i.Composite.bounds(d),u);return s&&r.Composite.translate(d,s),s}}};r.Plugin.register(i),n.exports=i}])})},607025:function(y){y.exports={}},820999:function(y){y.exports={}},817315:function(y){y.exports={}},139e3:function(y){"use strict";/*
50object-assign
51(c) Sindre Sorhus
52@license MIT
53*/var l=Object.getOwnPropertySymbols,e=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function n(t){if(t==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function o(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de",Object.getOwnPropertyNames(t)[0]==="5")return!1;for(var r={},i=0;i<10;i++)r["_"+String.fromCharCode(i)]=i;var c=Object.getOwnPropertyNames(r).map(function(u){return r[u]});if(c.join("")!=="0123456789")return!1;var d={};return"abcdefghijklmnopqrst".split("").forEach(function(u){d[u]=u}),Object.keys(Object.assign({},d)).join("")==="abcdefghijklmnopqrst"}catch(u){return!1}}y.exports=o()?Object.assign:function(t,r){for(var i,c=n(t),d,u=1;u<arguments.length;u++){i=Object(arguments[u]);for(var s in i)e.call(i,s)&&(c[s]=i[s]);if(l){d=l(i);for(var f=0;f<d.length;f++)a.call(i,d[f])&&(c[d[f]]=i[d[f]])}}return c}},717925:function(y,l,e){var a=e(760636);(function(){var n,o,t,r,i,c;typeof performance!="undefined"&&performance!==null&&performance.now?y.exports=function(){return performance.now()}:typeof a!="undefined"&&a!==null&&a.hrtime?(y.exports=function(){return(n()-i)/1e6},o=a.hrtime,n=function(){var d;return d=o(),d[0]*1e9+d[1]},r=n(),c=a.uptime()*1e9,i=r-c):Date.now?(y.exports=function(){return Date.now()-t},t=Date.now()):(y.exports=function(){return new Date().getTime()-t},t=new Date().getTime())}).call(this)},540664:function(){Element.prototype.closest=function(l){for(var e=this;e;){if(e.matches(l))return e;e="SVGElement"in window&&e instanceof SVGElement?e.parentNode:e.parentElement}return null}},43421:function(){Document.prototype.remove=Element.prototype.remove=function(){this.parentNode&&this.parentNode.removeChild(this)},"Text"in self&&(Text.prototype.remove=Element.prototype.remove)},752431:function(){(function(y){function l(){return Math.min(A-performance.now(),50)}function e(P){var T=P.options.timeout,x=P.added;m=!0;var M=new y.IdleDeadline;return m=!1,Object.defineProperty(M,"didTimeout",{value:!!T&&x+T<performance.now()}),Object.defineProperty(M,"timeRemaining",{value:l}),M}function a(P){var T=e(P);(0,P.callback)(T)}function n(){if(!v){v=!0;try{c.postMessage(d,"*")}catch(P){c.postMessage(d)}}}function o(){r||(r=requestAnimationFrame(function(P){r=void 0,clearTimeout(i),P-C>performance.now()&&(P-=2*C);var T=P-A+C;T<C&&b<C?(T<8&&(T=8),C=Math.max(b,T)):b=T,A=P+C,n()}),i=setTimeout(function(){cancelAnimationFrame(r),r=void 0,A=performance.now()+50,n()},100))}function t(){for(v=!1,g=!0,f=s.filter(function(T){return T.options.timeout!==void 0?e(T).didTimeout:!1}),s=s.filter(function(T){return!f.includes(T)}),f.sort(function(T,x){return T.options.timeout-x.options.timeout});f.length>0;){var P=f.shift();a(P)}for(;s.length>0&&l()>0;)P=s.shift(),a(P);p.length>0&&(s=s.concat(p),p=[]),s.length>0&&o(),g=!1}var r,i,c,d,u=0,s=[],f=[],p=[],v=!1,g=!1,m=!1,b=33,C=33,A=0;if(typeof MessageChannel=="object"){var _=new MessageChannel;c=_.port2,_.port1.onmessage=t}else d="polyfillIdleCallback"+Math.random().toString(36).slice(2),c=window,window.addEventListener("message",function(P){P.source==window&&P.data===d&&t()});y.requestIdleCallback=function(T,x){var M=++u,U={id:M,callback:T,options:x||{},added:performance.now()};return g?p.push(U):s.push(U),o(),M},y.cancelIdleCallback=function(T){if(arguments.length===0)throw new TypeError("cancelIdleCallback requires at least 1 argument");var x=function(M){return M.id!==T};s=s.filter(x),p=p.filter(x)},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)},572866:function(y,l,e){"use strict";var a=e(477287);function n(){}function o(){}o.resetWarningCache=n,y.exports=function(){function t(c,d,u,s,f,p){if(p!==a){var v=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 v.name="Invariant Violation",v}}t.isRequired=t;function r(){return t}var i={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:o,resetWarningCache:n};return i.PropTypes=i,i}},442629:function(y,l,e){if(0)var a,n;else y.exports=e(572866)()},477287:function(y){"use strict";var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y.exports=l},669953:function(y,l,e){"use strict";var a=e(909747);function n(){}function o(){}o.resetWarningCache=n,y.exports=function(){function t(c,d,u,s,f,p){if(p!==a){var v=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 v.name="Invariant Violation",v}}t.isRequired=t;function r(){return t}var i={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:o,resetWarningCache:n};return i.PropTypes=i,i}},795478:function(y,l,e){if(0)var a,n;else y.exports=e(669953)()},909747:function(y){"use strict";var l="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";y.exports=l},508240:function(y,l,e){"use strict";var a=String.prototype.replace,n=/%20/g,o=e(570520),t={RFC1738:"RFC1738",RFC3986:"RFC3986"};y.exports=o.assign({default:t.RFC3986,formatters:{RFC1738:function(r){return a.call(r,n,"+")}
vendor: 8,815 bytes, line 53
53,RFC3986:function(r){return String(r)}}},t)},51216:function(y,l,e){"use strict";var a=e(230341),n=e(561713),o=e(508240);y.exports={formats:o,parse:n,stringify:a}},561713:function(y,l,e){"use strict";var a=e(570520),n=Object.prototype.hasOwnProperty,o=Array.isArray,t={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:a.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},r=function(v){return v.replace(/&#(\d+);/g,function(g,m){return String.fromCharCode(parseInt(m,10))})},i=function(v,g){return v&&typeof v=="string"&&g.comma&&v.indexOf(",")>-1?v.split(","):v},c="utf8=%26%2310003%3B",d="utf8=%E2%9C%93",u=function(g,m){var b={},C=m.ignoreQueryPrefix?g.replace(/^\?/,""):g,A=m.parameterLimit===1/0?void 0:m.parameterLimit,_=C.split(m.delimiter,A),P=-1,T,x=m.charset;if(m.charsetSentinel)for(T=0;T<_.length;++T)_[T].indexOf("utf8=")===0&&(_[T]===d?x="utf-8":_[T]===c&&(x="iso-8859-1"),P=T,T=_.length);for(T=0;T<_.length;++T)if(T!==P){var M=_[T],U=M.indexOf("]="),j=U===-1?M.indexOf("="):U+1,$,G;j===-1?($=m.decoder(M,t.decoder,x,"key"),G=m.strictNullHandling?null:""):($=m.decoder(M.slice(0,j),t.decoder,x,"key"),G=a.maybeMap(i(M.slice(j+1),m),function(J){return m.decoder(J,t.decoder,x,"value")})),G&&m.interpretNumericEntities&&x==="iso-8859-1"&&(G=r(G)),M.indexOf("[]=")>-1&&(G=o(G)?[G]:G),n.call(b,$)?b[$]=a.combine(b[$],G):b[$]=G}return b},s=function(v,g,m,b){for(var C=b?g:i(g,m),A=v.length-1;A>=0;--A){var _,P=v[A];if(P==="[]"&&m.parseArrays)_=[].concat(C);else{_=m.plainObjects?Object.create(null):{};var T=P.charAt(0)==="["&&P.charAt(P.length-1)==="]"?P.slice(1,-1):P,x=parseInt(T,10);!m.parseArrays&&T===""?_={0:C}:!isNaN(x)&&P!==T&&String(x)===T&&x>=0&&m.parseArrays&&x<=m.arrayLimit?(_=[],_[x]=C):_[T]=C}C=_}return C},f=function(g,m,b,C){if(g){var A=b.allowDots?g.replace(/\.([^.[]+)/g,"[$1]"):g,_=/(\[[^[\]]*])/,P=/(\[[^[\]]*])/g,T=b.depth>0&&_.exec(A),x=T?A.slice(0,T.index):A,M=[];if(x){if(!b.plainObjects&&n.call(Object.prototype,x)&&!b.allowPrototypes)return;M.push(x)}for(var U=0;b.depth>0&&(T=P.exec(A))!==null&&U<b.depth;){if(U+=1,!b.plainObjects&&n.call(Object.prototype,T[1].slice(1,-1))&&!b.allowPrototypes)return;M.push(T[1])}return T&&M.push("["+A.slice(T.index)+"]"),s(M,m,b,C)}},p=function(g){if(!g)return t;if(g.decoder!==null&&g.decoder!==void 0&&typeof g.decoder!="function")throw new TypeError("Decoder has to be a function.");if(typeof g.charset!="undefined"&&g.charset!=="utf-8"&&g.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var m=typeof g.charset=="undefined"?t.charset:g.charset;return{allowDots:typeof g.allowDots=="undefined"?t.allowDots:!!g.allowDots,allowPrototypes:typeof g.allowPrototypes=="boolean"?g.allowPrototypes:t.allowPrototypes,arrayLimit:typeof g.arrayLimit=="number"?g.arrayLimit:t.arrayLimit,charset:m,charsetSentinel:typeof g.charsetSentinel=="boolean"?g.charsetSentinel:t.charsetSentinel,comma:typeof g.comma=="boolean"?g.comma:t.comma,decoder:typeof g.decoder=="function"?g.decoder:t.decoder,delimiter:typeof g.delimiter=="string"||a.isRegExp(g.delimiter)?g.delimiter:t.delimiter,depth:typeof g.depth=="number"||g.depth===!1?+g.depth:t.depth,ignoreQueryPrefix:g.ignoreQueryPrefix===!0,interpretNumericEntities:typeof g.interpretNumericEntities=="boolean"?g.interpretNumericEntities:t.interpretNumericEntities,parameterLimit:typeof g.parameterLimit=="number"?g.parameterLimit:t.parameterLimit,parseArrays:g.parseArrays!==!1,plainObjects:typeof g.plainObjects=="boolean"?g.plainObjects:t.plainObjects,strictNullHandling:typeof g.strictNullHandling=="boolean"?g.strictNullHandling:t.strictNullHandling}};y.exports=function(v,g){var m=p(g);if(v===""||v===null||typeof v=="undefined")return m.plainObjects?Object.create(null):{};for(var b=typeof v=="string"?u(v,m):v,C=m.plainObjects?Object.create(null):{},A=Object.keys(b),_=0;_<A.length;++_){var P=A[_],T=f(P,b[P],m,typeof v=="string");C=a.merge(C,T,m)}return a.compact(C)}},230341:function(y,l,e){"use strict";var a=e(570520),n=e(508240),o=Object.prototype.hasOwnProperty,t={brackets:function(m){return m+"[]"},comma:"comma",indices:function(m,b){return m+"["+b+"]"},repeat:function(m){return m}},r=Array.isArray,i=Array.prototype.push,c=function(g,m){i.apply(g,r(m)?m:[m])},d=Date.prototype.toISOString,u=n.default,s={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:a.encode,encodeValuesOnly:!1,format:u,formatter:n.formatters[u],indices:!1,serializeDate:function(m){return d.call(m)},skipNulls:!1,strictNullHandling:!1},f=function(m){return typeof m=="string"||typeof m=="number"||typeof m=="boolean"||typeof m=="symbol"||typeof m=="bigint"},p=function g(m,b,C,A,_,P,T,x,M,U,j,$,G){var J=m;if(typeof T=="function"?J=T(b,J):J instanceof Date?J=U(J):C==="comma"&&r(J)&&(J=a.maybeMap(J,function(le){return le instanceof Date?U(le):le}).join(",")),J===null){if(A)return P&&!$?P(b,s.encoder,G,"key"):b;J=""}if(f(J)||a.isBuffer(J)){if(P){var ie=$?b:P(b,s.encoder,G,"key");return[j(ie)+"="+j(P(J,s.encoder,G,"value"))]}return[j(b)+"="+j(String(J))]}var W=[];if(typeof J=="undefined")return W;var q;if(r(T))q=T;else{var H=Object.keys(J);q=x?H.sort(x):H}for(var X=0;X<q.length;++X){var k=q[X],ne=J[k];if(!(_&&ne===null)){var re=r(J)?typeof C=="function"?C(b,k):b:b+(M?"."+k:"["+k+"]");c(W,g(ne,re,C,A,_,P,T,x,M,U,j,$,G))}}return W},v=function(m){if(!m)return s;if(m.encoder!==null&&m.encoder!==void 0&&typeof m.encoder!="function")throw new TypeError("Encoder has to be a function.");var b=m.charset||s.charset;if(typeof m.charset!="undefined"&&m.charset!=="utf-8"&&m.charset!=="iso-8859-1")throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var C=n.default;if(typeof m.format!="undefined"){if(!o.call(n.formatters,m.format))throw new TypeError("Unknown format option provided.");C=m.format}var A=n.formatters[C],_=s.filter;return(typeof m.filter=="function"||r(m.filter))&&(_=m.filter),{addQueryPrefix:typeof m.addQueryPrefix=="boolean"?m.addQueryPrefix:s.addQueryPrefix,allowDots:typeof m.allowDots=="undefined"?s.allowDots:!!m.allowDots,charset:b,charsetSentinel:typeof m.charsetSentinel=="boolean"?m.charsetSentinel:s.charsetSentinel,delimiter:typeof m.delimiter=="undefined"?s.delimiter:m.delimiter,encode:typeof m.encode=="boolean"?m.encode:s.encode,encoder:typeof m.encoder=="function"?m.encoder:s.encoder,encodeValuesOnly:typeof m.encodeValuesOnly=="boolean"?m.encodeValuesOnly:s.encodeValuesOnly,filter:_,formatter:A,serializeDate:typeof m.serializeDate=="function"?m.serializeDate:s.serializeDate,skipNulls:typeof m.skipNulls=="boolean"?m.skipNulls:s.skipNulls,sort:typeof m.sort=="function"?m.sort:null,strictNullHandling:typeof m.strictNullHandling=="boolean"?m.strictNullHandling:s.strictNullHandling}};y.exports=function(g,m){var b=g,C=v(m),A,_;typeof C.filter=="function"?(_=C.filter,b=_("",b)):r(C.filter)&&(_=C.filter,A=_);var P=[];if(typeof b!="object"||b===null)return"";var T;m&&m.arrayFormat in t?T=m.arrayFormat:m&&"indices"in m?T=m.indices?"indices":"repeat":T="indices";var x=t[T];A||(A=Object.keys(b)),C.sort&&A.sort(C.sort);for(var M=0;M<A.length;++M){var U=A[M];C.skipNulls&&b[U]===null||c(P,p(b[U],U,x,C.strictNullHandling,C.skipNulls,C.encode?C.encoder:null,C.filter,C.sort,C.allowDots,C.serializeDate,C.formatter,C.encodeValuesOnly,C.charset))}var j=P.join(C.delimiter),$=C.addQueryPrefix===!0?"?":"";return C.charsetSentinel&&(C.charset==="iso-8859-1"?$+="utf8=%26%2310003%3B&":$+="utf8=%E2%9C%93&"),j.length>0?$+j:""}},570520:function(y){"use strict";var l=Object.prototype.hasOwnProperty,e=Array.isArray,a=function(){for(var v=[],g=0;g<256;++g)v.push("%"+((g<16?"0":"")+g.toString(16)).toUpperCase());return v}(),n=function(g){for(;g.length>1;){var m=g.pop(),b=m.obj[m.prop];if(e(b)){for(var C=[],A=0;A<b.length;++A)typeof b[A]!="undefined"&&C.push(b[A]);m.obj[m.prop]=C}}},o=function(g,m){for(var b=m&&m.plainObjects?Object.create(null):{},C=0;C<g.length;++C)typeof g[C]!="undefined"&&(b[C]=g[C]);return b},t=function v(g,m,b){if(!m)return g;if(typeof m!="object"){if(e(g))g.push(m);else if(g&&typeof g=="object")(b&&(b.plainObjects||b.allowPrototypes)||!l.call(Object.prototype,m))&&(g[m]=!0);else return[g,m];return g}if(!g||typeof g!="object")return[g].concat(m);var C=g;return e(g)&&!e(m)&&(C=o(g,b)),e(g)&&e(m)?(m.forEach(function(A,_){if(l.call(g,_)){var P=g[_];P&&typeof P=="object"&&A&&typeof A=="object"?g[_]=v(P,A,b):g.push(A)}else g[_]=A}),g):Object.keys(m).reduce(function(A,_){var P=m[_];return l.call(A,_)?A[_]=v(A[_],P,b):A[_]=P,A},C)},r=function(g,m){return Object.keys(m).reduce(function(b,C){return b[C]=m[C],b},g)},i=function(v,g,m){var b=v.replace(/\+/g," ");
53if(m==="iso-8859-1")return b.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(b)}catch(C){return b}},c=function(g,m,b){if(g.length===0)return g;var C=g;if(typeof g=="symbol"?C=Symbol.prototype.toString.call(g):typeof g!="string"&&(C=String(g)),b==="iso-8859-1")return escape(C).replace(/%u[0-9a-f]{4}/gi,function(T){return"%26%23"+parseInt(T.slice(2),16)+"%3B"});for(var A="",_=0;_<C.length;++_){var P=C.charCodeAt(_);if(P===45||P===46||P===95||P===126||P>=48&&P<=57||P>=65&&P<=90||P>=97&&P<=122){A+=C.charAt(_);continue}if(P<128){A=A+a[P];continue}if(P<2048){A=A+(a[192|P>>6]+a[128|P&63]);continue}if(P<55296||P>=57344){A=A+(a[224|P>>12]+a[128|P>>6&63]+a[128|P&63]);continue}_+=1,P=65536+((P&1023)<<10|C.charCodeAt(_)&1023),A+=a[240|P>>18]+a[128|P>>12&63]+a[128|P>>6&63]+a[128|P&63]}return A},d=function(g){for(var m=[{obj:{o:g},prop:"o"}],b=[],C=0;C<m.length;++C)for(var A=m[C],_=A.obj[A.prop],P=Object.keys(_),T=0;T<P.length;++T){var x=P[T],M=_[x];typeof M=="object"&&M!==null&&b.indexOf(M)===-1&&(m.push({obj:_,prop:x}),b.push(M))}return n(m),g},u=function(g){return Object.prototype.toString.call(g)==="[object RegExp]"},s=function(g){return!g||typeof g!="object"?!1:!!(g.constructor&&g.constructor.isBuffer&&g.constructor.isBuffer(g))},f=function(g,m){return[].concat(g,m)},p=function(g,m){if(e(g)){for(var b=[],C=0;C<g.length;C+=1)b.push(m(g[C]));return b}return m(g)};y.exports={arrayToObject:o,assign:r,combine:f,compact:d,decode:i,encode:c,isBuffer:s,isRegExp:u,maybeMap:p,merge:t}},762809:function(y){"use strict";function l(e,a){return Object.prototype.hasOwnProperty.call(e,a)}y.exports=function(e,a,n,o){a=a||"&",n=n||"=";var t={};if(typeof e!="string"||e.length===0)return t;var r=/\+/g;e=e.split(a);var i=1e3;o&&typeof o.maxKeys=="number"&&(i=o.maxKeys);var c=e.length;i>0&&c>i&&(c=i);for(var d=0;d<c;++d){var u=e[d].replace(r,"%20"),s=u.indexOf(n),f,p,v,g;s>=0?(f=u.substr(0,s),p=u.substr(s+1)):(f=u,p=""),v=decodeURIComponent(f),g=decodeURIComponent(p),l(t,v)?Array.isArray(t[v])?t[v].push(g):t[v]=[t[v],g]:t[v]=g}return t}},910918:function(y){"use strict";var l=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,a,n,o){return a=a||"&",n=n||"=",e===null&&(e=void 0),typeof e=="object"?Object.keys(e).map(function(t){var r=encodeURIComponent(l(t))+n;return Array.isArray(e[t])?e[t].map(function(i){return r+encodeURIComponent(l(i))}).join(a):r+encodeURIComponent(l(e[t]))}).filter(Boolean).join(a):o?encodeURIComponent(l(o))+n+encodeURIComponent(l(e)):""}},876978:function(y,l,e){"use strict";l.decode=l.parse=e(762809),l.encode=l.stringify=e(910918)},731761:function(y,l,e){for(var a=e(717925),n=typeof window=="undefined"?e.g:window,o=["moz","webkit"],t="AnimationFrame",r=n["request"+t],i=n["cancel"+t]||n["cancelRequest"+t],c=0;!r&&c<o.length;c++)r=n[o[c]+"Request"+t],i=n[o[c]+"Cancel"+t]||n[o[c]+"CancelRequest"+t];if(!r||!i){var d=0,u=0,s=[],f=1e3/60;r=function(p){if(s.length===0){var v=a(),g=Math.max(0,f-(v-d));d=g+v,setTimeout(function(){var m=s.slice(0);s.length=0;for(var b=0;b<m.length;b++)if(!m[b].cancelled)try{m[b].callback(d)}catch(C){setTimeout(function(){throw C},0)}},Math.round(g))}return s.push({handle:++u,callback:p,cancelled:!1}),u},i=function(p){for(var v=0;v<s.length;v++)s[v].handle===p&&(s[v].cancelled=!0)}}y.exports=function(p){return r.call(n,p)},y.exports.cancel=function(){i.apply(n,arguments)},y.exports.polyfill=function(p){p||(p=n),p.requestAnimationFrame=r,p.cancelAnimationFrame=i}},677076:function(y,l,e){"use strict";/** @license React v16.14.0
54 * react-dom.production.min.js
55 *
56 * Copyright (c) Facebook, Inc. and its affiliates.
57 *
58 * This source code is licensed under the MIT license found in the
59 * LICENSE file in the root directory of this source tree.
60 */var a=e(508669),n=e(139e3),o=e(550396);function t(h){for(var S="https://reactjs.org/docs/error-decoder.html?invariant="+h,I=1;I<arguments.length;I++)S+="&args[]="+encodeURIComponent(arguments[I]);return"Minified React error #"+h+"; visit "+S+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!a)throw Error(t(227));function r(h,S,I,B,V,he,Se,je,_t){var Ct=Array.prototype.slice.call(arguments,3);try{S.apply(I,Ct)}catch(pn){this.onError(pn)}}var i=!1,c=null,d=!1,u=null,s={onError:function(h){i=!0,c=h}};function f(h,S,I,B,V,he,Se,je,_t){i=!1,c=null,r.apply(s,arguments)}function p(h,S,I,B,V,he,Se,je,_t){if(f.apply(this,arguments),i){if(i){var Ct=c;i=!1,c=null}else throw Error(t(198));d||(d=!0,u=Ct)}}var v=null,g=null,m=null;function b(h,S,I){var B=h.type||"unknown-event";h.currentTarget=m(I),p(B,S,void 0,h),h.currentTarget=null}var C=null,A={};function _(){if(C)for(var h in A){var S=A[h],I=C.indexOf(h);if(!(-1<I))throw Error(t(96,h));if(!T[I]){if(!S.extractEvents)throw Error(t(97,h));T[I]=S,I=S.eventTypes;for(var B in I){var V=void 0,he=I[B],Se=S,je=B;if(x.hasOwnProperty(je))throw Error(t(99,je));x[je]=he;
vendor: 4,450 bytes, line 60
60var _t=he.phasedRegistrationNames;if(_t){for(V in _t)_t.hasOwnProperty(V)&&P(_t[V],Se,je);V=!0}else he.registrationName?(P(he.registrationName,Se,je),V=!0):V=!1;if(!V)throw Error(t(98,B,h))}}}}function P(h,S,I){if(M[h])throw Error(t(100,h));M[h]=S,U[h]=S.eventTypes[I].dependencies}var T=[],x={},M={},U={};function j(h){var S=!1,I;for(I in h)if(h.hasOwnProperty(I)){var B=h[I];if(!A.hasOwnProperty(I)||A[I]!==B){if(A[I])throw Error(t(102,I));A[I]=B,S=!0}}S&&_()}var $=!(typeof window=="undefined"||typeof window.document=="undefined"||typeof window.document.createElement=="undefined"),G=null,J=null,ie=null;function W(h){if(h=g(h)){if(typeof G!="function")throw Error(t(280));var S=h.stateNode;S&&(S=v(S),G(h.stateNode,h.type,S))}}function q(h){J?ie?ie.push(h):ie=[h]:J=h}function H(){if(J){var h=J,S=ie;if(ie=J=null,W(h),S)for(h=0;h<S.length;h++)W(S[h])}}function X(h,S){return h(S)}function k(h,S,I,B,V){return h(S,I,B,V)}function ne(){}var re=X,le=!1,se=!1;function ae(){(J!==null||ie!==null)&&(ne(),H())}function pe(h,S,I){if(se)return h(S,I);se=!0;try{return re(h,S,I)}finally{se=!1,ae()}}var Pe=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,ve=Object.prototype.hasOwnProperty,Me={},ht={};function xt(h){return ve.call(ht,h)?!0:ve.call(Me,h)?!1:Pe.test(h)?ht[h]=!0:(Me[h]=!0,!1)}function At(h,S,I,B){if(I!==null&&I.type===0)return!1;switch(typeof S){case"function":case"symbol":return!0;case"boolean":return B?!1:I!==null?!I.acceptsBooleans:(h=h.toLowerCase().slice(0,5),h!=="data-"&&h!=="aria-");default:return!1}}function Bt(h,S,I,B){if(S===null||typeof S=="undefined"||At(h,S,I,B))return!0;if(B)return!1;if(I!==null)switch(I.type){case 3:return!S;case 4:return S===!1;case 5:return isNaN(S);case 6:return isNaN(S)||1>S}return!1}function en(h,S,I,B,V,he){this.acceptsBooleans=S===2||S===3||S===4,this.attributeName=B,this.attributeNamespace=V,this.mustUseProperty=I,this.propertyName=h,this.type=S,this.sanitizeURL=he}var Vt={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(h){Vt[h]=new en(h,0,!1,h,null,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(h){var S=h[0];Vt[S]=new en(S,1,!1,h[1],null,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(h){Vt[h]=new en(h,2,!1,h.toLowerCase(),null,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(h){Vt[h]=new en(h,2,!1,h,null,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(h){Vt[h]=new en(h,3,!1,h.toLowerCase(),null,!1)}),["checked","multiple","muted","selected"].forEach(function(h){Vt[h]=new en(h,3,!0,h,null,!1)}),["capture","download"].forEach(function(h){Vt[h]=new en(h,4,!1,h,null,!1)}),["cols","rows","size","span"].forEach(function(h){Vt[h]=new en(h,6,!1,h,null,!1)}),["rowSpan","start"].forEach(function(h){Vt[h]=new en(h,5,!1,h.toLowerCase(),null,!1)});var be=/[\-:]([a-z])/g;function Le(h){return h[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
60-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(h){var S=h.replace(be,Le);Vt[S]=new en(S,1,!1,h,null,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(h){var S=h.replace(be,Le);Vt[S]=new en(S,1,!1,h,"http://www.w3.org/1999/xlink",!1)}),["xml:base","xml:lang","xml:space"].forEach(function(h){var S=h.replace(be,Le);Vt[S]=new en(S,1,!1,h,"http://www.w3.org/XML/1998/namespace",!1)}),["tabIndex","crossOrigin"].forEach(function(h){Vt[h]=new en(h,1,!1,h.toLowerCase(),null,!1)}),Vt.xlinkHref=new en("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0),["src","href","action","formAction"].forEach(function(h){Vt[h]=new en(h,1,!1,h.toLowerCase(),null,!0)});var Oe=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;Oe.hasOwnProperty("ReactCurrentDispatcher")||(Oe.ReactCurrentDispatcher={current:null}),Oe.hasOwnProperty("ReactCurrentBatchConfig")||(Oe.ReactCurrentBatchConfig={suspense:null});function yt(h,S,I,B){var V=Vt.hasOwnProperty(S)?Vt[S]:null,he=V!==null?V.type===0:B?!1:!(!(2<S.length)||S[0]!=="o"&&S[0]!=="O"||S[1]!=="n"&&S[1]!=="N");he||(Bt(S,I,V,B)&&(I=null),B||V===null?xt(S)&&(I===null?h.removeAttribute(S):h.setAttribute(S,""+I)):V.mustUseProperty?h[V.propertyName]=I===null?V.type===3?!1:"":I:(S=V.attributeName,B=V.attributeNamespace,I===null?h.removeAttribute(S):(V=V.type,I=V===3||V===4&&I===!0?"":""+I,B?h.setAttributeNS(B,S,I):h.setAttribute(S,I))))}var wt=/^(.*)[\\\/]/,Lt=typeof Symbol=="function"&&Symbol.for,jt=Lt?Symbol.for("react.element"):60103,Xe=Lt?Symbol.for("react.portal"):60106,zt=Lt?Symbol.for("react.fragment"):60107,nn=Lt?Symbol.for("react.strict_mode"):60108,st=Lt?Symbol.for("react.profiler"):60114,Ut=Lt?Symbol.for("react.provider"):60109,Jt=Lt?Symbol.for("react.context"):60110,on=Lt?Symbol.for("react.concurrent_mode"):60111,ln=Lt?Symbol.for("react.forward_ref"):60112,te=Lt?Symbol.for("react.suspense"):60113,Ee=Lt?Symbol.for("react.suspense_list"):60120,Ue=Lt?Symbol.for("react.memo"):60115,ze=Lt?Symbol.for("react.lazy"):60116,Ve=Lt?Symbol.for("react.block"):60121,fe=typeof Symbol=="function"&&Symbol.iterator;function We(h){return h===null||typeof h!="object"?null:(h=fe&&h[fe]||h["@@iterator"],typeof h=="function"?h:null)}function tt(h){if(h._status===-1){h._status=0;var S=h._ctor;S=S(),h._result=S,S.then(function(I){h._status===0&&(I=I.default,h._status=1,h._result=I)},function(I){h._status===0&&(h._status=2,h._result=I)})}}function St(h){if(h==null)return null;if(typeof h=="function")return h.displayName||h.name||null;if(typeof h=="string")return h;switch(h){case zt:return"Fragment";case Xe:return"Portal";case st:return"Profiler";case nn:return"StrictMode";case te:return"Suspense";case Ee:return"SuspenseList"}if(typeof h=="object")switch(h.$$typeof){case Jt:return"Context.Consumer";case Ut:return"Context.Provider";case ln:var S=h.render;return S=S.displayName||S.name||"",h.displayName||(S!==""?"ForwardRef("+S+")":"ForwardRef");case Ue:return St(h.type);case Ve:return St(h.render);case ze:if(h=h._status===1?h._result:null)return St(h)}return null}function Gt(h){var S="";do{e:switch(h.tag){case 3:case 4:case 6:case 7:case 10:case 9:var I="";break e;default:var B=h._debugOwner,V=h._debugSource,he=St(h.type);I=null,B&&(I=St(B.type)),B=he,he="",V?he=" (at "+V.fileName.replace(wt,"")+":"+V.lineNumber+")":I&&(he=" (created by "+I+")"),I="\n    in "+(B||"Unknown")+he}S+=I,h=h.return}while(h);return S}function Zt(h){switch(typeof h){case"boolean":case"number":case"object":case"string":case"undefined":return h;default:return""}}function Un(h){var S=h.type;return(h=h.nodeName)&&h.toLowerCase()==="input"&&(S==="checkbox"||S==="radio")}function Yt(h){var S=Un(h)?"checked":"value",I=Object.getOwnPropertyDescriptor(h.constructor.prototype,S),B=""+h[S];if(!h.hasOwnProperty(S)&&typeof I!="undefined"&&typeof I.get=="function"&&typeof I.set=="function"){var V=I.get,he=I.set;return Object.defineProperty(h,S,{configurable:!0,get:function(){return V.call(this)},set:function(Se){B=""+Se,he.call(this,Se)}}),Object.defineProperty(h,S,{enumerable:I.enumerable}),{getValue:function(){return B},setValue:function(Se){B=""+Se},stopTracking:function(){h._valueTracker=null,delete h[S]}}}}function jn(h){h._valueTracker||(h._valueTracker=Yt(h))}
vendor: 117,083 bytes, lines 60-74
60function kr(h){if(!h)return!1;var S=h._valueTracker;if(!S)return!0;var I=S.getValue(),B="";return h&&(B=Un(h)?h.checked?"true":"false":h.value),h=B,h!==I?(S.setValue(h),!0):!1}function Jr(h,S){var I=S.checked;return n({},S,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:I!=null?I:h._wrapperState.initialChecked})}function Tr(h,S){var I=S.defaultValue==null?"":S.defaultValue,B=S.checked!=null?S.checked:S.defaultChecked;I=Zt(S.value!=null?S.value:I),h._wrapperState={initialChecked:B,initialValue:I,controlled:S.type==="checkbox"||S.type==="radio"?S.checked!=null:S.value!=null}}function Or(h,S){S=S.checked,S!=null&&yt(h,"checked",S,!1)}function or(h,S){Or(h,S);var I=Zt(S.value),B=S.type;if(I!=null)B==="number"?(I===0&&h.value===""||h.value!=I)&&(h.value=""+I):h.value!==""+I&&(h.value=""+I);else if(B==="submit"||B==="reset"){h.removeAttribute("value");return}S.hasOwnProperty("value")?zi(h,S.type,I):S.hasOwnProperty("defaultValue")&&zi(h,S.type,Zt(S.defaultValue)),S.checked==null&&S.defaultChecked!=null&&(h.defaultChecked=!!S.defaultChecked)}function bi(h,S,I){if(S.hasOwnProperty("value")||S.hasOwnProperty("defaultValue")){var B=S.type;if(!(B!=="submit"&&B!=="reset"||S.value!==void 0&&S.value!==null))return;S=""+h._wrapperState.initialValue,I||S===h.value||(h.value=S),h.defaultValue=S}I=h.name,I!==""&&(h.name=""),h.defaultChecked=!!h._wrapperState.initialChecked,I!==""&&(h.name=I)}function zi(h,S,I){(S!=="number"||h.ownerDocument.activeElement!==h)&&(I==null?h.defaultValue=""+h._wrapperState.initialValue:h.defaultValue!==""+I&&(h.defaultValue=""+I))}function aa(h){var S="";return a.Children.forEach(h,function(I){I!=null&&(S+=I)}),S}function oa(h,S){return h=n({children:void 0},S),(S=aa(S.children))&&(h.children=S),h}function Gi(h,S,I,B){if(h=h.options,S){S={};for(var V=0;V<I.length;V++)S["$"+I[V]]=!0;for(I=0;I<h.length;I++)V=S.hasOwnProperty("$"+h[I].value),h[I].selected!==V&&(h[I].selected=V),V&&B&&(h[I].defaultSelected=!0)}else{for(I=""+Zt(I),S=null,V=0;V<h.length;V++){if(h[V].value===I){h[V].selected=!0,B&&(h[V].defaultSelected=!0);return}S!==null||h[V].disabled||(S=h[V])}S!==null&&(S.selected=!0)}}function Wi(h,S){if(S.dangerouslySetInnerHTML!=null)throw Error(t(91));return n({},S,{value:void 0,defaultValue:void 0,children:""+h._wrapperState.initialValue})}function Ae(h,S){var I=S.value;if(I==null){if(I=S.children,S=S.defaultValue,I!=null){if(S!=null)throw Error(t(92));if(Array.isArray(I)){if(!(1>=I.length))throw Error(t(93));I=I[0]}S=I}S==null&&(S=""),I=S}h._wrapperState={initialValue:Zt(I)}}function Pn(h,S){var I=Zt(S.value),B=Zt(S.defaultValue);I!=null&&(I=""+I,I!==h.value&&(h.value=I),S.defaultValue==null&&h.defaultValue!==I&&(h.defaultValue=I)),B!=null&&(h.defaultValue=""+B)}function Ii(h){var S=h.textContent;S===h._wrapperState.initialValue&&S!==""&&S!==null&&(h.value=S)}var Hr={html:"http://www.w3.org/1999/xhtml",mathml:"http://www.w3.org/1998/Math/MathML",svg:"http://www.w3.org/2000/svg"};function sa(h){switch(h){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function vn(h,S){return h==null||h==="http://www.w3.org/1999/xhtml"?sa(S):h==="http://www.w3.org/2000/svg"&&S==="foreignObject"?"http://www.w3.org/1999/xhtml":h}var Br,Oi=function(h){return typeof MSApp!="undefined"&&MSApp.execUnsafeLocalFunction?function(S,I,B,V){MSApp.execUnsafeLocalFunction(function(){return h(S,I,B,V)})}:h}(function(h,S){if(h.namespaceURI!==Hr.svg||"innerHTML"in h)h.innerHTML=S;else{for(Br=Br||document.createElement("div"),Br.innerHTML="<svg>"+S.valueOf().toString()+"</svg>",S=Br.firstChild;h.firstChild;)h.removeChild(h.firstChild);for(;S.firstChild;)h.appendChild(S.firstChild)}});function Zi(h,S){if(S){var I=h.firstChild;if(I&&I===h.lastChild&&I.nodeType===3){I.nodeValue=S;return}}h.textContent=S}function wi(h,S){var I={};return I[h.toLowerCase()]=S.toLowerCase(),I["Webkit"+h]="webkit"+S,I["Moz"+h]="moz"+S,I}var Ri={animationend:wi("Animation","AnimationEnd"),animationiteration:wi("Animation","AnimationIteration"),animationstart:wi("Animation","AnimationStart"),transitionend:wi("Transition","TransitionEnd")},pr={},jr={};$&&(jr=document.createElement("div").style,"AnimationEvent"in window||(delete Ri.animationend.animation,delete Ri.animationiteration.animation,delete Ri.animationstart.animation),"TransitionEvent"in window||delete Ri.transitionend.transition);function fr(h){if(pr[h])return pr[h];if(!Ri[h])return h;var S=Ri[h],I;for(I in S)if(S.hasOwnProperty(I)&&I in jr)return pr[h]=S[I];return h}var Ca=fr("animationend"),Ji=fr("animationiteration"),_i=fr("animationstart"),oi=fr("transitionend"),sn="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),pa=new(typeof WeakMap=="function"?WeakMap:Map);function Yi(h){var S=pa.get(h);return S===void 0&&(S=new Map,pa.set(h,S)),S}function si(h){var S=h,I=h;if(h.alternate)for(;S.return;)S=S.return;else{h=S;do S=h,S.effectTag&1026&&(I=S.return),h=S.return;while(h)}return S.tag===3?I:null}function Kr(h){if(h.tag===13){var S=h.memoizedState;if(S===null&&(h=h.alternate,h!==null&&(S=h.memoizedState)),S!==null)return S.dehydrated}return null}function ki(h){if(si(h)!==h)throw Error(t(188))}function Da(h){var S=h.alternate;if(!S){if(S=si(h),S===null)throw Error(t(188));return S!==h?null:h}for(var I=h,B=S;;){var V=I.return;if(V===null)break;var he=V.alternate;if(he===null){if(B=V.return,B!==null){I=B;continue}break}if(V.child===he.child){for(he=V.child;he;){if(he===I)return ki(V),h;if(he===B)return ki(V),S;he=he.sibling}throw Error(t(188))}if(I.return!==B.return)I=V,B=he;else{for(var Se=!1,je=V.child;je;){if(je===I){Se=!0,I=V,B=he;break}if(je===B){Se=!0,B=V,I=he;break}je=je.sibling}if(!Se){for(je=he.child;je;){if(je===I){Se=!0,I=he,B=V;break}if(je===B){Se=!0,B=he,I=V;break}je=je.sibling}if(!Se)throw Error(t(189))}}if(I.alternate!==B)throw Error(t(190))}if(I.tag!==3)throw Error(t(188));return I.stateNode.current===I?h:S}function ga(h){if(h=Da(h),!h)return null;for(var S=h;;){if(S.tag===5||S.tag===6)return S;if(S.child)S.child.return=S,S=S.child;else{if(S===h)break;for(;!S.sibling;){if(!S.return||S.return===h)return null;S=S.return}S.sibling.return=S.return,S=S.sibling}}return null}function qi(h,S){if(S==null)throw Error(t(30));return h==null?S:Array.isArray(h)?Array.isArray(S)?(h.push.apply(h,S),h):(h.push(S),h):Array.isArray(S)?[h].concat(S):[h,S]}function Yr(h,S,I){Array.isArray(h)?h.forEach(S,I):h&&S.call(I,h)}var qe=null;function He(h){if(h){var S=h._dispatchListeners,I=h._dispatchInstances;if(Array.isArray(S))for(var B=0;B<S.length&&!h.isPropagationStopped();B++)b(h,S[B],I[B]);else S&&b(h,S,I);h._dispatchListeners=null,h._dispatchInstances=null,h.isPersistent()||h.constructor.release(h)}}function Re(h){if(h!==null&&(qe=qi(qe,h)),h=qe,qe=null,h){if(Yr(h,He),qe)throw Error(t(95));if(d)throw h=u,d=!1,u=null,h}}function De(h){return h=h.target||h.srcElement||window,h.correspondingUseElement&&(h=h.correspondingUseElement),h.nodeType===3?h.parentNode:h}function $e(h){if(!$)return!1;h="on"+h;var S=h in document;return S||(S=document.createElement("div"),S.setAttribute(h,"return;"),S=typeof S[h]=="function"),S}var Je=[];function It(h){h.topLevelType=null,h.nativeEvent=null,h.targetInst=null,h.ancestors.length=0,10>Je.length&&Je.push(h)}function Pt(h,S,I,B){if(Je.length){var V=Je.pop();return V.topLevelType=h,V.eventSystemFlags=B,V.nativeEvent=S,V.targetInst=I,V}return{topLevelType:h,eventSystemFlags:B,nativeEvent:S,targetInst:I,ancestors:[]}}function tn(h){var S=h.targetInst,I=S;do{if(!I){h.ancestors.push(I);break}var B=I;if(B.tag===3)B=B.stateNode.containerInfo;else{for(;B.return;)B=B.return;B=B.tag!==3?null:B.stateNode.containerInfo}if(!B)break;S=I.tag,S!==5&&S!==6||h.ancestors.push(I),I=In(B)}while(I);for(I=0;I<h.ancestors.length;I++){S=h.ancestors[I];var V=De(h.nativeEvent);B=h.topLevelType;var he=h.nativeEvent,Se=h.eventSystemFlags;I===0&&(Se|=64);for(var je=null,_t=0;_t<T.length;_t++){var Ct=T[_t];Ct&&(Ct=Ct.extractEvents(B,S,he,V,Se))&&(je=qi(je,Ct))}Re(je)}}function kt(h,S,I){if(!I.has(h)){switch(h){case"scroll":Wa(S,"scroll",!0);break;case"focus":case"blur":Wa(S,"focus",!0),Wa(S,"blur",!0),I.set("blur",null),I.set("focus",null);break;case"cancel":case"close":$e(h)&&Wa(S,h,!0);break;case"invalid":case"submit":case"reset":break;default:sn.indexOf(h)===-1&&_r(h,S)}I.set(h,null)}}var bn,kn,Ar,Ir=!1,qr=[],ni=null,Vr=null,zr=null,ui=new Map,ea=new Map,li=[],Jn="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput close cancel copy cut paste click change contextmenu reset submit".split(" "),Zr="focus blur dragenter dragleave mouseover mouseout pointerover pointerout gotpointercapture lostpointercapture".split(" ");function ma(h,S){var I=Yi(S);Jn.forEach(function(B){kt(B,S,I)}),Zr.forEach(function(B){kt(B,S,I)})}function Pa(h,S,I,B,V){return{blockedOn:h,topLevelType:S,eventSystemFlags:I|32,nativeEvent:V,container:B}}function oe(h,S){switch(h){case"focus":case"blur":ni=null;break;case"dragenter":case"dragleave":Vr=null;break;case"mouseover":case"mouseout":zr=null;break;case"pointerover":case"pointerout":ui.delete(S.pointerId);break;case"gotpointercapture":case"lostpointercapture":ea.delete(S.pointerId)}}function we(h,S,I,B,V,he){return h===null||h.nativeEvent!==he?(h=Pa(S,I,B,V,he),S!==null&&(S=Cn(S),S!==null&&kn(S)),h):(h.eventSystemFlags|=B,h)}function nt(h,S,I,B,V){switch(S){case"focus":return ni=we(ni,h,S,I,B,V),!0;case"dragenter":return Vr=we(Vr,h,S,I,B,V),!0;case"mouseover":return zr=we(zr,h,S,I,B,V),!0;case"pointerover":var he=V.pointerId;return ui.set(he,we(ui.get(he)||null,h,S,I,B,V)),!0;case"gotpointercapture":return he=V.pointerId,ea.set(he,we(ea.get(he)||null,h,S,I,B,V)),!0}return!1}function Qt(h){var S=In(h.target);if(S!==null){var I=si(S);if(I!==null){if(S=I.tag,S===13){if(S=Kr(I),S!==null){h.blockedOn=S,o.unstable_runWithPriority(h.priority,function(){Ar(I)});return}}else if(S===3&&I.stateNode.hydrate){h.blockedOn=I.tag===3?I.stateNode.containerInfo:null;return}}}h.blockedOn=null}function On(h){if(h.blockedOn!==null)return!1;var S=ka(h.topLevelType,h.eventSystemFlags,h.container,h.nativeEvent);if(S!==null){var I=Cn(S);return I!==null&&kn(I),h.blockedOn=S,!1}return!0}function Mn(h,S,I){On(h)&&I.delete(S)}function hi(){for(Ir=!1;0<qr.length;){var h=qr[0];if(h.blockedOn!==null){h=Cn(h.blockedOn),h!==null&&bn(h);break}var S=ka(h.topLevelType,h.eventSystemFlags,h.container,h.nativeEvent);S!==null?h.blockedOn=S:qr.shift()}ni!==null&&On(ni)&&(ni=null),Vr!==null&&On(Vr)&&(Vr=null),zr!==null&&On(zr)&&(zr=null),ui.forEach(Mn),ea.forEach(Mn)}function gr(h,S){h.blockedOn===S&&(h.blockedOn=null,Ir||(Ir=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,hi)))}function dr(h){function S(V){return gr(V,h)}if(0<qr.length){gr(qr[0],h);for(var I=1;I<qr.length;I++){var B=qr[I];B.blockedOn===h&&(B.blockedOn=null)}}for(ni!==null&&gr(ni,h),Vr!==null&&gr(Vr,h),zr!==null&&gr(zr,h),ui.forEach(S),ea.forEach(S),I=0;I<li.length;I++)B=li[I],B.blockedOn===h&&(B.blockedOn=null);for(;0<li.length&&(I=li[0],I.blockedOn===null);)Qt(I),I.blockedOn===null&&li.shift()}var pi={},Mi=new Map,An=new Map,ci=["abort","abort",Ca,"animationEnd",Ji,"animationIteration",_i,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",oi,"transitionEnd","waiting","waiting"];function Vn(h,S){for(var I=0;I<h.length;I+=2){var B=h[I],V=h[I+1],he="on"+(V[0].toUpperCase()+V.slice(1));he={phasedRegistrationNames:{bubbled:he,captured:he+"Capture"},dependencies:[B],eventPriority:S},An.set(B,S),Mi.set(B,he),pi[V]=he}}Vn("blur blur cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focus focus input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),Vn("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),Vn(ci,2);for(var wn="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),mo=0;mo<wn.length;mo++)An.set(wn[mo],0);var yo=o.unstable_UserBlockingPriority,Xo=o.unstable_runWithPriority,Ta=!0;function _r(h,S){Wa(S,h,!1)}function Wa(h,S,I){var B=An.get(S);switch(B===void 0?2:B){case 0:B=Eo.bind(null,S,1,h);break;case 1:B=Aa.bind(null,S,1,h);break;default:B=Rr.bind(null,S,1,h)}I?h.addEventListener(S,B,!0):h.addEventListener(S,B,!1)}function Eo(h,S,I,B){le||ne();var V=Rr,he=le;le=!0;try{k(V,h,S,I,B)}finally{(le=he)||ae()}}function Aa(h,S,I,B){Xo(yo,Rr.bind(null,h,S,I,B))}function Rr(h,S,I,B){if(Ta)if(0<qr.length&&-1<Jn.indexOf(h))h=Pa(null,h,S,I,B),qr.push(h);else{var V=ka(h,S,I,B);if(V===null)oe(h,B);else if(-1<Jn.indexOf(h))h=Pa(V,h,S,I,B),qr.push(h);else if(!nt(V,h,S,I,B)){oe(h,B),h=Pt(h,B,null,S);try{pe(tn,h)}finally{It(h)}}}}function ka(h,S,I,B){if(I=De(B),I=In(I),I!==null){var V=si(I);if(V===null)I=null;else{var he=V.tag;if(he===13){if(I=Kr(V),I!==null)return I;I=null}else if(he===3){if(V.stateNode.hydrate)return V.tag===3?V.stateNode.containerInfo:null;I=null}else V!==I&&(I=null)}}h=Pt(h,B,I,S);try{pe(tn,h)}finally{It(h)}return null}var ya={animationIterationCount:!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},Ha=["Webkit","ms","Moz","O"];Object.keys(ya).forEach(function(h){Ha.forEach(function(S){S=S+h.charAt(0).toUpperCase()+h.substring(1),ya[S]=ya[h]})});function Ci(h,S,I){return S==null||typeof S=="boolean"||S===""?"":I||typeof S!="number"||S===0||ya.hasOwnProperty(h)&&ya[h]?(""+S).trim():S+"px"}function ri(h,S){h=h.style;for(var I in S)if(S.hasOwnProperty(I)){var B=I.indexOf("--")===0,V=Ci(I,S[I],B);I==="float"&&(I="cssFloat"),B?h.setProperty(I,V):h[I]=V}}var Ka=n({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 Te(h,S){if(S){if(Ka[h]&&(S.children!=null||S.dangerouslySetInnerHTML!=null))throw Error(t(137,h,""));if(S.dangerouslySetInnerHTML!=null){if(S.children!=null)throw Error(t(60));if(!(typeof S.dangerouslySetInnerHTML=="object"&&"__html"in S.dangerouslySetInnerHTML))throw Error(t(61))}if(S.style!=null&&typeof S.style!="object")throw Error(t(62,""))}}function Ce(h,S){if(h.indexOf("-")===-1)return typeof S.is=="string";switch(h){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 xe=Hr.html;function Ze(h,S){h=h.nodeType===9||h.nodeType===11?h:h.ownerDocument;var I=Yi(h);S=U[S];for(var B=0;B<S.length;B++)kt(S[B],h,I)}function at(){}function gt(h){if(h=h||(typeof document!="undefined"?document:void 0),typeof h=="undefined")return null;try{return h.activeElement||h.body}catch(S){return h.body}}function Fe(h){for(;h&&h.firstChild;)h=h.firstChild;return h}function qt(h,S){var I=Fe(h);h=0;for(var B;I;){if(I.nodeType===3){if(B=h+I.textContent.length,h<=S&&B>=S)return{node:I,offset:S-h};h=B}e:{for(;I;){if(I.nextSibling){I=I.nextSibling;break e}I=I.parentNode}I=void 0}I=Fe(I)}}function xn(h,S){return h&&S?h===S?!0:h&&h.nodeType===3?!1:S&&S.nodeType===3?xn(h,S.parentNode):"contains"in h?h.contains(S):h.compareDocumentPosition?!!(h.compareDocumentPosition(S)&16):!1:!1}function mn(){for(var h=window,S=gt();S instanceof h.HTMLIFrameElement;){try{var I=typeof S.contentWindow.location.href=="string"}catch(B){I=!1}if(I)h=S.contentWindow;else break;S=gt(h.document)}return S}function $n(h){var S=h&&h.nodeName&&h.nodeName.toLowerCase();return S&&(S==="input"&&(h.type==="text"||h.type==="search"||h.type==="tel"||h.type==="url"||h.type==="password")||S==="textarea"||h.contentEditable==="true")}var xr="$",ua="/$",vr="$?",Hi="$!",Be=null,Ke=null;function Ie(h,S){switch(h){case"button":case"input":case"select":case"textarea":return!!S.autoFocus}return!1}function Ye(h,S){return h==="textarea"||h==="option"||h==="noscript"||typeof S.children=="string"||typeof S.children=="number"||typeof S.dangerouslySetInnerHTML=="object"&&S.dangerouslySetInnerHTML!==null&&S.dangerouslySetInnerHTML.__html!=null}var ut=typeof setTimeout=="function"?setTimeout:void 0,ft=typeof clearTimeout=="function"?clearTimeout:void 0;function Nt(h){for(;h!=null;h=h.nextSibling){var S=h.nodeType;if(S===1||S===3)break}return h}function Rt(h){h=h.previousSibling;for(var S=0;h;){if(h.nodeType===8){var I=h.data;if(I===xr||I===Hi||I===vr){if(S===0)return h;S--}else I===ua&&S++}h=h.previousSibling}return null}var dt=Math.random().toString(36).slice(2),$t="__reactInternalInstance$"+dt,un="__reactEventHandlers$"+dt,bt="__reactContainere$"+dt;function In(h){var S=h[$t];if(S)return S;for(var I=h.parentNode;I;){if(S=I[bt]||I[$t]){if(I=S.alternate,S.child!==null||I!==null&&I.child!==null)for(h=Rt(h);h!==null;){if(I=h[$t])return I;h=Rt(h)}return S}h=I,I=h.parentNode}return null}function Cn(h){return h=h[$t]||h[bt],!h||h.tag!==5&&h.tag!==6&&h.tag!==13&&h.tag!==3?null:h}function rn(h){if(h.tag===5||h.tag===6)return h.stateNode;throw Error(t(33))}function zn(h){return h[un]||null}function Hn(h){do h=h.return;while(h&&h.tag!==5);return h||null}function Gn(h,S){var I=h.stateNode;if(!I)return null;var B=v(I);if(!B)return null;I=B[S];e:switch(S){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(B=!B.disabled)||(h=h.type,B=!(h==="button"||h==="input"||h==="select"||h==="textarea")),h=!B;break e;default:h=!1}if(h)return null;if(I&&typeof I!="function")throw Error(t(231,S,typeof I));return I}function En(h,S,I){(S=Gn(h,I.dispatchConfig.phasedRegistrationNames[S]))&&(I._dispatchListeners=qi(I._dispatchListeners,S),I._dispatchInstances=qi(I._dispatchInstances,h))}function Mr(h){if(h&&h.dispatchConfig.phasedRegistrationNames){for(var S=h._targetInst,I=[];S;)I.push(S),S=Hn(S);for(S=I.length;0<S--;)En(I[S],"captured",h);for(S=0;S<I.length;S++)En(I[S],"bubbled",h)}}function cn(h,S,I){h&&I&&I.dispatchConfig.registrationName&&(S=Gn(h,I.dispatchConfig.registrationName))&&(I._dispatchListeners=qi(I._dispatchListeners,S),I._dispatchInstances=qi(I._dispatchInstances,h))}function fi(h){h&&h.dispatchConfig.registrationName&&cn(h._targetInst,null,h)}function mr(h){Yr(h,Mr)}var $r=null,hr=null,ar=null;function Cr(){if(ar)return ar;var h,S=hr,I=S.length,B,V="value"in $r?$r.value:$r.textContent,he=V.length;for(h=0;h<I&&S[h]===V[h];h++);var Se=I-h;for(B=1;B<=Se&&S[I-B]===V[he-B];B++);return ar=V.slice(h,1<B?1-B:void 0)}function Gr(){return!0}function ee(){return!1}function z(h,S,I,B){this.dispatchConfig=h,this._targetInst=S,this.nativeEvent=I,h=this.constructor.Interface;for(var V in h)h.hasOwnProperty(V)&&((S=h[V])?this[V]=S(I):V==="target"?this.target=B:this[V]=I[V]);return this.isDefaultPrevented=(I.defaultPrevented!=null?I.defaultPrevented:I.returnValue===!1)?Gr:ee,this.isPropagationStopped=ee,this}n(z.prototype,{preventDefault:function(){this.defaultPrevented=!0;var h=this.nativeEvent;h&&(h.preventDefault?h.preventDefault():typeof h.returnValue!="unknown"&&(h.returnValue=!1),this.isDefaultPrevented=Gr)},stopPropagation:function(){var h=this.nativeEvent;h&&(h.stopPropagation?h.stopPropagation():typeof h.cancelBubble!="unknown"&&(h.cancelBubble=!0),this.isPropagationStopped=Gr)},persist:function(){this.isPersistent=Gr},isPersistent:ee,destructor:function(){var h=this.constructor.Interface,S;for(S in h)this[S]=null;this.nativeEvent=this._targetInst=this.dispatchConfig=null,this.isPropagationStopped=this.isDefaultPrevented=ee,this._dispatchInstances=this._dispatchListeners=null}}),z.Interface={type:null,target:null,currentTarget:function(){return null},eventPhase:null,bubbles:null,cancelable:null,timeStamp:function(h){return h.timeStamp||Date.now()},defaultPrevented:null,isTrusted:null},z.extend=function(h){function S(){}function I(){return B.apply(this,arguments)}var B=this;S.prototype=B.prototype;var V=new S;return n(V,I.prototype),I.prototype=V,I.prototype.constructor=I,I.Interface=n({},B.Interface,h),I.extend=B.extend,me(I),I},me(z);function K(h,S,I,B){if(this.eventPool.length){var V=this.eventPool.pop();return this.call(V,h,S,I,B),V}return new this(h,S,I,B)}function ce(h){if(!(h instanceof this))throw Error(t(279));h.destructor(),10>this.eventPool.length&&this.eventPool.push(h)}function me(h){h.eventPool=[],h.getPooled=K,h.release=ce}var de=z.extend({data:null}),it=z.extend({data:null}),Tt=[9,13,27,32],Ot=$&&"CompositionEvent"in window,hn=null;$&&"documentMode"in document&&(hn=document.documentMode);var an=$&&"TextEvent"in window&&!hn,Sn=$&&(!Ot||hn&&8<hn&&11>=hn),gi=" ",ei={beforeInput:{phasedRegistrationNames:{bubbled:"onBeforeInput",captured:"onBeforeInputCapture"},dependencies:["compositionend","keypress","textInput","paste"]},compositionEnd:{phasedRegistrationNames:{bubbled:"onCompositionEnd",captured:"onCompositionEndCapture"},dependencies:"blur compositionend keydown keypress keyup mousedown".split(" ")},compositionStart:{phasedRegistrationNames:{bubbled:"onCompositionStart",captured:"onCompositionStartCapture"},dependencies:"blur compositionstart keydown keypress keyup mousedown".split(" ")},compositionUpdate:{phasedRegistrationNames:{bubbled:"onCompositionUpdate",captured:"onCompositionUpdateCapture"},dependencies:"blur compositionupdate keydown keypress keyup mousedown".split(" ")}},js=!1;function Es(h,S){switch(h){case"keyup":return Tt.indexOf(S.keyCode)!==-1;case"keydown":return S.keyCode!==229;case"keypress":case"mousedown":case"blur":return!0;default:return!1}}function uc(h){return h=h.detail,typeof h=="object"&&"data"in h?h.data:null}var Zo=!1;function qc(h,S){switch(h){case"compositionend":return uc(S);case"keypress":return S.which!==32?null:(js=!0,gi);case"textInput":return h=S.data,h===gi&&js?null:h;default:return null}}function lc(h,S){if(Zo)return h==="compositionend"||!Ot&&Es(h,S)?(h=Cr(),ar=hr=$r=null,Zo=!1,h):null;switch(h){case"paste":return null;case"keypress":if(!(S.ctrlKey||S.altKey||S.metaKey)||S.ctrlKey&&S.altKey){if(S.char&&1<S.char.length)return S.char;if(S.which)return String.fromCharCode(S.which)}return null;case"compositionend":return Sn&&S.locale!=="ko"?null:S.data;default:return null}}var hu={eventTypes:ei,extractEvents:function(h,S,I,B){var V;if(Ot)e:{switch(h){case"compositionstart":var he=ei.compositionStart;break e;case"compositionend":he=ei.compositionEnd;break e;case"compositionupdate":he=ei.compositionUpdate;break e}he=void 0}else Zo?Es(h,I)&&(he=ei.compositionEnd):h==="keydown"&&I.keyCode===229&&(he=ei.compositionStart);return he?(Sn&&I.locale!=="ko"&&(Zo||he!==ei.compositionStart?he===ei.compositionEnd&&Zo&&(V=Cr()):($r=B,hr="value"in $r?$r.value:$r.textContent,Zo=!0)),he=de.getPooled(he,S,I,B),V?he.data=V:(V=uc(I),V!==null&&(he.data=V)),mr(he),V=he):V=null,(h=an?qc(h,I):lc(h,I))?(S=it.getPooled(ei.beforeInput,S,I,B),S.data=h,mr(S)):S=null,V===null?S:S===null?V:[V,S]}},rt={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Dt(h){var S=h&&h.nodeName&&h.nodeName.toLowerCase();return S==="input"?!!rt[h.type]:S==="textarea"}var Et={change:{phasedRegistrationNames:{bubbled:"onChange",captured:"onChangeCapture"},dependencies:"blur change click focus input keydown keyup selectionchange".split(" ")}};function yn(h,S,I){return h=z.getPooled(Et.change,h,S,I),h.type="change",q(I),mr(h),h}var Qn=null,yr=null;function Pi(h){Re(h)}function Dr(h){var S=rn(h);if(kr(S))return h}function pu(h,S){if(h==="change")return S}var sl=!1;$&&(sl=$e("input")&&(!document.documentMode||9<document.documentMode));function La(){Qn&&(Qn.detachEvent("onpropertychange",gu),yr=Qn=null)}function gu(h){if(h.propertyName==="value"&&Dr(yr))if(h=yn(yr,h,De(h)),le)Re(h);else{le=!0;try{X(Pi,h)}finally{le=!1,ae()}}}function cc(h,S,I){h==="focus"?(La(),Qn=S,yr=I,Qn.attachEvent("onpropertychange",gu)):h==="blur"&&La()}function qa(h){if(h==="selectionchange"||h==="keyup"||h==="keydown")return Dr(yr)}function zs(h,S){if(h==="click")return Dr(S)}function Ki(h,S){if(h==="input"||h==="change")return Dr(S)}var Lr={eventTypes:Et,_isInputEventSupported:sl,extractEvents:function(h,S,I,B){var V=S?rn(S):window,he=V.nodeName&&V.nodeName.toLowerCase();if(he==="select"||he==="input"&&V.type==="file")var Se=pu;else if(Dt(V))if(sl)Se=Ki;else{Se=qa;var je=cc}else(he=V.nodeName)&&he.toLowerCase()==="input"&&(V.type==="checkbox"||V.type==="radio")&&(Se=zs);if(Se&&(Se=Se(h,S)))return yn(Se,I,B);je&&je(h,V,S),h==="blur"&&(h=V._wrapperState)&&h.controlled&&V.type==="number"&&zi(V,"number",V.value)}},So=z.extend({view:null,detail:null}),ul={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Gs(h){var S=this.nativeEvent;return S.getModifierState?S.getModifierState(h):(h=ul[h])?!!S[h]:!1}function mu(){return Gs}var ll=0,cl=0,Ws=!1,ao=!1,bo=So.extend({screenX:null,screenY:null,clientX:null,clientY:null,pageX:null,pageY:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,getModifierState:mu,button:null,buttons:null,relatedTarget:function(h){return h.relatedTarget||(h.fromElement===h.srcElement?h.toElement:h.fromElement)},movementX:function(h){if("movementX"in h)return h.movementX;var S=ll;return ll=h.screenX,Ws?h.type==="mousemove"?h.screenX-S:0:(Ws=!0,0)},movementY:function(h){if("movementY"in h)return h.movementY;var S=cl;return cl=h.screenY,ao?h.type==="mousemove"?h.screenY-S:0:(ao=!0,0)}}),yu=bo.extend({pointerId:null,width:null,height:null,pressure:null,tangentialPressure:null,tiltX:null,tiltY:null,twist:null,pointerType:null,isPrimary:null}),Bo={mouseEnter:{registrationName:"onMouseEnter",dependencies:["mouseout","mouseover"]},mouseLeave:{registrationName:"onMouseLeave",dependencies:["mouseout","mouseover"]},pointerEnter:{registrationName:"onPointerEnter",dependencies:["pointerout","pointerover"]},pointerLeave:{registrationName:"onPointerLeave",dependencies:["pointerout","pointerover"]}},fl={eventTypes:Bo,extractEvents:function(h,S,I,B,V){var he=h==="mouseover"||h==="pointerover",Se=h==="mouseout"||h==="pointerout";if(he&&!(V&32)&&(I.relatedTarget||I.fromElement)||!Se&&!he)return null;if(he=B.window===B?B:(he=B.ownerDocument)?he.defaultView||he.parentWindow:window,Se){if(Se=S,S=(S=I.relatedTarget||I.toElement)?In(S):null,S!==null){var je=si(S);(S!==je||S.tag!==5&&S.tag!==6)&&(S=null)}}else Se=null;if(Se===S)return null;if(h==="mouseout"||h==="mouseover")var _t=bo,Ct=Bo.mouseLeave,pn=Bo.mouseEnter,_n="mouse";else(h==="pointerout"||h==="pointerover")&&(_t=yu,Ct=Bo.pointerLeave,pn=Bo.pointerEnter,_n="pointer");if(h=Se==null?he:rn(Se),he=S==null?he:rn(S),Ct=_t.getPooled(Ct,Se,I,B),Ct.type=_n+"leave",Ct.target=h,Ct.relatedTarget=he,I=_t.getPooled(pn,S,I,B),I.type=_n+"enter",I.target=he,I.relatedTarget=h,B=Se,_n=S,B&&_n)e:{for(_t=B,pn=_n,Se=0,h=_t;h;h=Hn(h))Se++;for(h=0,S=pn;S;S=Hn(S))h++;for(;0<Se-h;)_t=Hn(_t),Se--;for(;0<h-Se;)pn=Hn(pn),h--;for(;Se--;){if(_t===pn||_t===pn.alternate)break e;_t=Hn(_t),pn=Hn(pn)}_t=null}else _t=null;for(pn=_t,_t=[];B&&B!==pn&&(Se=B.alternate,!(Se!==null&&Se===pn));)_t.push(B),B=Hn(B);for(B=[];_n&&_n!==pn&&(Se=_n.alternate,!(Se!==null&&Se===pn));)B.push(_n),_n=Hn(_n);for(_n=0;_n<_t.length;_n++)cn(_t[_n],"bubbled",Ct);for(_n=B.length;0<_n--;)cn(B[_n],"captured",I);return V&64?[Ct,I]:[Ct]}};function fc(h,S){return h===S&&(h!==0||1/h===1/S)||h!==h&&S!==S}var Na=typeof Object.is=="function"?Object.is:fc,dc=Object.prototype.hasOwnProperty;function oo(h,S){if(Na(h,S))return!0;if(typeof h!="object"||h===null||typeof S!="object"||S===null)return!1;var I=Object.keys(h),B=Object.keys(S);if(I.length!==B.length)return!1;for(B=0;B<I.length;B++)if(!dc.call(S,I[B])||!Na(h[I[B]],S[I[B]]))return!1;return!0}var Jo=$&&"documentMode"in document&&11>=document.documentMode,Ss={select:{phasedRegistrationNames:{bubbled:"onSelect",captured:"onSelectCapture"},dependencies:"blur contextmenu dragend focus keydown keyup mousedown mouseup selectionchange".split(" ")}},bs=null,Eu=null,ks=null,Yo=!1;function Hs(h,S){var I=S.window===S?S.document:S.nodeType===9?S:S.ownerDocument;return Yo||bs==null||bs!==gt(I)?null:(I=bs,"selectionStart"in I&&$n(I)?I={start:I.selectionStart,end:I.selectionEnd}:(I=(I.ownerDocument&&I.ownerDocument.defaultView||window).getSelection(),I={anchorNode:I.anchorNode,anchorOffset:I.anchorOffset,focusNode:I.focusNode,focusOffset:I.focusOffset}),ks&&oo(ks,I)?null:(ks=I,h=z.getPooled(Ss.select,Eu,h,S),h.type="select",h.target=bs,mr(h),h))}var Su={eventTypes:Ss,extractEvents:function(h,S,I,B,V,he){if(V=he||(B.window===B?B.document:B.nodeType===9?B:B.ownerDocument),!(he=!V)){e:{V=Yi(V),he=U.onSelect;for(var Se=0;Se<he.length;Se++)if(!V.has(he[Se])){V=!1;break e}V=!0}he=!V}if(he)return null;switch(V=S?rn(S):window,h){case"focus":(Dt(V)||V.contentEditable==="true")&&(bs=V,Eu=S,ks=null);break;case"blur":ks=Eu=bs=null;break;case"mousedown":Yo=!0;break;case"contextmenu":case"mouseup":case"dragend":return Yo=!1,Hs(I,B);case"selectionchange":if(Jo)break;case"keydown":case"keyup":return Hs(I,B)}return null}},ef=z.extend({animationName:null,elapsedTime:null,pseudoElement:null}),dl=z.extend({clipboardData:function(h){return"clipboardData"in h?h.clipboardData:window.clipboardData}}),tf=So.extend({relatedTarget:null});function Ks(h){var S=h.keyCode;return"charCode"in h?(h=h.charCode,h===0&&S===13&&(h=13)):h=S,h===10&&(h=13),32<=h||h===13?h:0}var Di={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},ta={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},nf=So.extend({key:function(h){if(h.key){var S=Di[h.key]||h.key;if(S!=="Unidentified")return S}return h.type==="keypress"?(h=Ks(h),h===13?"Enter":String.fromCharCode(h)):h.type==="keydown"||h.type==="keyup"?ta[h.keyCode]||"Unidentified":""},location:null,ctrlKey:null,shiftKey:null,altKey:null,metaKey:null,repeat:null,locale:null,getModifierState:mu,charCode:function(h){return h.type==="keypress"?Ks(h):0},keyCode:function(h){return h.type==="keydown"||h.type==="keyup"?h.keyCode:0},which:function(h){return h.type==="keypress"?Ks(h):h.type==="keydown"||h.type==="keyup"?h.keyCode:0}}),vc=bo.extend({dataTransfer:null}),vl=So.extend({touches:null,targetTouches:null,changedTouches:null,altKey:null,metaKey:null,ctrlKey:null,shiftKey:null,getModifierState:mu}),hc=z.extend({propertyName:null,elapsedTime:null,pseudoElement:null}),hl=bo.extend({deltaX:function(h){return"deltaX"in h?h.deltaX:"wheelDeltaX"in h?-h.wheelDeltaX:0},deltaY:function(h){return"deltaY"in h?h.deltaY:"wheelDeltaY"in h?-h.wheelDeltaY:"wheelDelta"in h?-h.wheelDelta:0},deltaZ:null,deltaMode:null}),Os={eventTypes:pi,extractEvents:function(h,S,I,B){var V=Mi.get(h);if(!V)return null;switch(h){case"keypress":if(Ks(I)===0)return null;case"keydown":case"keyup":h=nf;break;case"blur":case"focus":h=tf;break;case"click":if(I.button===2)return null;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":h=bo;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":h=vc;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":h=vl;break;case Ca:case Ji:case _i:h=ef;break;case oi:h=hc;break;case"scroll":h=So;break;case"wheel":h=hl;break;case"copy":case"cut":case"paste":h=dl;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":h=yu;break;default:h=z}return S=h.getPooled(V,S,I,B),mr(S),S}};if(C)throw Error(t(101));C=Array.prototype.slice.call("ResponderEventPlugin SimpleEventPlugin EnterLeaveEventPlugin ChangeEventPlugin SelectEventPlugin BeforeInputEventPlugin".split(" ")),_();var pl=Cn;v=zn,g=pl,m=rn,j({SimpleEventPlugin:Os,EnterLeaveEventPlugin:fl,ChangeEventPlugin:Lr,SelectEventPlugin:Su,BeforeInputEventPlugin:hu});var Oo=[],so=-1;function Wr(h){0>so||(h.current=Oo[so],Oo[so]=null,so--)}function ti(h,S){so++,Oo[so]=h.current,h.current=S}var di={},la={current:di},xa={current:!1},qo=di;function _s(h,S){var I=h.type.contextTypes;if(!I)return di;var B=h.stateNode;if(B&&B.__reactInternalMemoizedUnmaskedChildContext===S)return B.__reactInternalMemoizedMaskedChildContext;var V={},he;for(he in I)V[he]=S[he];return B&&(h=h.stateNode,h.__reactInternalMemoizedUnmaskedChildContext=S,h.__reactInternalMemoizedMaskedChildContext=V),V}function Ea(h){return h=h.childContextTypes,h!=null}function es(){Wr(xa),Wr(la)}function Cs(h,S,I){if(la.current!==di)throw Error(t(168));ti(la,S),ti(xa,I)}function gl(h,S,I){var B=h.stateNode;if(h=S.childContextTypes,typeof B.getChildContext!="function")return I;B=B.getChildContext();for(var V in B)if(!(V in h))throw Error(t(108,St(S)||"Unknown",V));return n({},I,{},B)}function ye(h){return h=(h=h.stateNode)&&h.__reactInternalMemoizedMergedChildContext||di,qo=la.current,ti(la,h),ti(xa,xa.current),!0}function ts(h,S,I){var B=h.stateNode;if(!B)throw Error(t(169));I?(h=gl(h,S,qo),B.__reactInternalMemoizedMergedChildContext=h,Wr(xa),Wr(la),ti(la,h)):Wr(xa),ti(xa,I)}var uo=o.unstable_runWithPriority,Sa=o.unstable_scheduleCallback,sr=o.unstable_cancelCallback,Qr=o.unstable_requestPaint,pc=o.unstable_now,Wf=o.unstable_getCurrentPriorityLevel,lo=o.unstable_ImmediatePriority,rf=o.unstable_UserBlockingPriority,af=o.unstable_NormalPriority,of=o.unstable_LowPriority,ml=o.unstable_IdlePriority,sf={},Nn=o.unstable_shouldYield,kf=Qr!==void 0?Qr:function(){},Va=null,yl=null,El=!1,uf=pc(),Ti=1e4>uf?pc:function(){return pc()-uf};function Vs(){switch(Wf()){case lo:return 99;case rf:return 98;case af:return 97;case of:return 96;case ml:return 95;default:throw Error(t(332))}}function gc(h){switch(h){case 99:return lo;case 98:return rf;case 97:return af;case 96:return of;case 95:return ml;default:throw Error(t(332))}}function ns(h,S){return h=gc(h),uo(h,S)}function lf(h,S,I){return h=gc(h),Sa(h,S,I)}function mc(h){return Va===null?(Va=[h],yl=Sa(lo,yc)):Va.push(h),sf}function na(){if(yl!==null){var h=yl;yl=null,sr(h)}yc()}function yc(){if(!El&&Va!==null){El=!0;var h=0;try{var S=Va;ns(99,function(){for(;h<S.length;h++){var I=S[h];do I=I(!0);while(I!==null)}}),Va=null}catch(I){throw Va!==null&&(Va=Va.slice(h+1)),Sa(lo,na),I}finally{El=!1}}}function bu(h,S,I){return I/=10,1073741821-(((1073741821-h+S/10)/I|0)+1)*I}function vi(h,S){if(h&&h.defaultProps){S=n({},S),h=h.defaultProps;for(var I in h)S[I]===void 0&&(S[I]=h[I])}return S}var Ou={current:null},_u=null,rs=null,Sl=null;function Ec(){Sl=rs=_u=null}function bl(h){var S=Ou.current;Wr(Ou),h.type._context._currentValue=S}function Sc(h,S){for(;h!==null;){var I=h.alternate;if(h.childExpirationTime<S)h.childExpirationTime=S,I!==null&&I.childExpirationTime<S&&(I.childExpirationTime=S);else if(I!==null&&I.childExpirationTime<S)I.childExpirationTime=S;else break;h=h.return}}function is(h,S){_u=h,Sl=rs=null,h=h.dependencies,h!==null&&h.firstContext!==null&&(h.expirationTime>=S&&(Si=!0),h.firstContext=null)}function eo(h,S){if(Sl!==h&&S!==!1&&S!==0)if((typeof S!="number"||S===1073741823)&&(Sl=h,S=1073741823),S={context:h,observedBits:S,next:null},rs===null){if(_u===null)throw Error(t(308));rs=S,_u.dependencies={expirationTime:0,firstContext:S,responders:null}}else rs=rs.next=S;return h._currentValue}var _o=!1;function Ps(h){h.updateQueue={baseState:h.memoizedState,baseQueue:null,shared:{pending:null},effects:null}}function Co(h,S){h=h.updateQueue,S.updateQueue===h&&(S.updateQueue={baseState:h.baseState,baseQueue:h.baseQueue,shared:h.shared,effects:h.effects})}function as(h,S){return h={expirationTime:h,suspenseConfig:S,tag:0,payload:null,callback:null,next:null},h.next=h}function Po(h,S){if(h=h.updateQueue,h!==null){h=h.shared;var I=h.pending;I===null?S.next=S:(S.next=I.next,I.next=S),h.pending=S}}function $s(h,S){var I=h.alternate;I!==null&&Co(I,h),h=h.updateQueue,I=h.baseQueue,I===null?(h.baseQueue=S.next=S,S.next=S):(S.next=I.next,I.next=S)}function $a(h,S,I,B){var V=h.updateQueue;_o=!1;var he=V.baseQueue,Se=V.shared.pending;if(Se!==null){if(he!==null){var je=he.next;he.next=Se.next,Se.next=je}he=Se,V.shared.pending=null,je=h.alternate,je!==null&&(je=je.updateQueue,je!==null&&(je.baseQueue=Se))}if(he!==null){je=he.next;var _t=V.baseState,Ct=0,pn=null,_n=null,lr=null;if(je!==null){var Nr=je;do{if(Se=Nr.expirationTime,Se<B){var ro={expirationTime:Nr.expirationTime,suspenseConfig:Nr.suspenseConfig,tag:Nr.tag,payload:Nr.payload,callback:Nr.callback,next:null};lr===null?(_n=lr=ro,pn=_t):lr=lr.next=ro,Se>Ct&&(Ct=Se)}else{lr!==null&&(lr=lr.next={expirationTime:1073741823,suspenseConfig:Nr.suspenseConfig,tag:Nr.tag,payload:Nr.payload,callback:Nr.callback,next:null}),Xl(Se,Nr.suspenseConfig);e:{var ra=h,vt=Nr;switch(Se=S,ro=I,vt.tag){case 1:if(ra=vt.payload,typeof ra=="function"){_t=ra.call(ro,_t,Se);break e}_t=ra;break e;case 3:ra.effectTag=ra.effectTag&-4097|64;case 0:if(ra=vt.payload,Se=typeof ra=="function"?ra.call(ro,_t,Se):ra,Se==null)break e;_t=n({},_t,Se);break e;case 2:_o=!0}}Nr.callback!==null&&(h.effectTag|=32,Se=V.effects,Se===null?V.effects=[Nr]:Se.push(Nr))}if(Nr=Nr.next,Nr===null||Nr===je){if(Se=V.shared.pending,Se===null)break;Nr=he.next=Se.next,Se.next=je,V.baseQueue=he=Se,V.shared.pending=null}}while(!0)}lr===null?pn=_t:lr.next=_n,V.baseState=pn,V.baseQueue=lr,Yu(Ct),h.expirationTime=Ct,h.memoizedState=_t}}function Ol(h,S,I){if(h=S.effects,S.effects=null,h!==null)for(S=0;S<h.length;S++){var B=h[S],V=B.callback;if(V!==null){if(B.callback=null,B=V,V=I,typeof B!="function")throw Error(t(191,B));B.call(V)}}}var Ua=Oe.ReactCurrentBatchConfig,Fa=new a.Component().refs;function _l(h,S,I,B){S=h.memoizedState,I=I(B,S),I=I==null?S:n({},S,I),h.memoizedState=I,h.expirationTime===0&&(h.updateQueue.baseState=I)}var Cu={isMounted:function(h){return(h=h._reactInternalFiber)?si(h)===h:!1},enqueueSetState:function(h,S,I){h=h._reactInternalFiber;var B=ii(),V=Ua.suspense;B=ca(B,h,V),V=as(B,V),V.payload=S,I!=null&&(V.callback=I),Po(h,V),fa(h,B)},enqueueReplaceState:function(h,S,I){h=h._reactInternalFiber;var B=ii(),V=Ua.suspense;B=ca(B,h,V),V=as(B,V),V.tag=1,V.payload=S,I!=null&&(V.callback=I),Po(h,V),fa(h,B)},enqueueForceUpdate:function(h,S){h=h._reactInternalFiber;var I=ii(),B=Ua.suspense;I=ca(I,h,B),B=as(I,B),B.tag=2,S!=null&&(B.callback=S),Po(h,B),fa(h,I)}};function Pu(h,S,I,B,V,he,Se){return h=h.stateNode,typeof h.shouldComponentUpdate=="function"?h.shouldComponentUpdate(B,he,Se):S.prototype&&S.prototype.isPureReactComponent?!oo(I,B)||!oo(V,he):!0}function Qs(h,S,I){var B=!1,V=di,he=S.contextType;return typeof he=="object"&&he!==null?he=eo(he):(V=Ea(S)?qo:la.current,B=S.contextTypes,he=(B=B!=null)?_s(h,V):di),S=new S(I,he),h.memoizedState=S.state!==null&&S.state!==void 0?S.state:null,S.updater=Cu,h.stateNode=S,S._reactInternalFiber=h,B&&(h=h.stateNode,h.__reactInternalMemoizedUnmaskedChildContext=V,h.__reactInternalMemoizedMaskedChildContext=he),S}function To(h,S,I,B){h=S.state,typeof S.componentWillReceiveProps=="function"&&S.componentWillReceiveProps(I,B),typeof S.UNSAFE_componentWillReceiveProps=="function"&&S.UNSAFE_componentWillReceiveProps(I,B),S.state!==h&&Cu.enqueueReplaceState(S,S.state,null)}function Cl(h,S,I,B){var V=h.stateNode;V.props=I,V.state=h.memoizedState,V.refs=Fa,Ps(h);var he=S.contextType;typeof he=="object"&&he!==null?V.context=eo(he):(he=Ea(S)?qo:la.current,V.context=_s(h,he)),$a(h,I,V,B),V.state=h.memoizedState,he=S.getDerivedStateFromProps,typeof he=="function"&&(_l(h,S,he,I),V.state=h.memoizedState),typeof S.getDerivedStateFromProps=="function"||typeof V.getSnapshotBeforeUpdate=="function"||typeof V.UNSAFE_componentWillMount!="function"&&typeof V.componentWillMount!="function"||(S=V.state,typeof V.componentWillMount=="function"&&V.componentWillMount(),typeof V.UNSAFE_componentWillMount=="function"&&V.UNSAFE_componentWillMount(),S!==V.state&&Cu.enqueueReplaceState(V,V.state,null),$a(h,I,V,B),V.state=h.memoizedState),typeof V.componentDidMount=="function"&&(h.effectTag|=4)}var Tu=Array.isArray;function Ao(h,S,I){if(h=I.ref,h!==null&&typeof h!="function"&&typeof h!="object"){if(I._owner){if(I=I._owner,I){if(I.tag!==1)throw Error(t(309));var B=I.stateNode}if(!B)throw Error(t(147,h));var V=""+h;return S!==null&&S.ref!==null&&typeof S.ref=="function"&&S.ref._stringRef===V?S.ref:(S=function(he){var Se=B.refs;Se===Fa&&(Se=B.refs={}),he===null?delete Se[V]:Se[V]=he},S._stringRef=V,S)}if(typeof h!="string")throw Error(t(284));if(!I._owner)throw Error(t(290,h))}return h}function Pl(h,S){if(h.type!=="textarea")throw Error(t(31,Object.prototype.toString.call(S)==="[object Object]"?"object with keys {"+Object.keys(S).join(", ")+"}":S,""))}function Au(h){function S(vt,lt){if(h){var Mt=vt.lastEffect;Mt!==null?(Mt.nextEffect=lt,vt.lastEffect=lt):vt.firstEffect=vt.lastEffect=lt,lt.nextEffect=null,lt.effectTag=8}}function I(vt,lt){if(!h)return null;for(;lt!==null;)S(vt,lt),lt=lt.sibling;return null}function B(vt,lt){for(vt=new Map;lt!==null;)lt.key!==null?vt.set(lt.key,lt):vt.set(lt.index,lt),lt=lt.sibling;return vt}function V(vt,lt){return vt=Fs(vt,lt),vt.index=0,vt.sibling=null,vt}function he(vt,lt,Mt){return vt.index=Mt,h?(Mt=vt.alternate,Mt!==null?(Mt=Mt.index,Mt<lt?(vt.effectTag=2,lt):Mt):(vt.effectTag=2,lt)):lt}function Se(vt){return h&&vt.alternate===null&&(vt.effectTag=2),vt}function je(vt,lt,Mt,Xt){return lt===null||lt.tag!==6?(lt=nc(Mt,vt.mode,Xt),lt.return=vt,lt):(lt=V(lt,Mt),lt.return=vt,lt)}function _t(vt,lt,Mt,Xt){return lt!==null&&lt.elementType===Mt.type?(Xt=V(lt,Mt.props),Xt.ref=Ao(vt,lt,Mt),Xt.return=vt,Xt):(Xt=ou(Mt.type,Mt.key,Mt.props,null,vt.mode,Xt),Xt.ref=Ao(vt,lt,Mt),Xt.return=vt,Xt)}function Ct(vt,lt,Mt,Xt){return lt===null||lt.tag!==4||lt.stateNode.containerInfo!==Mt.containerInfo||lt.stateNode.implementation!==Mt.implementation?(lt=Wc(Mt,vt.mode,Xt),lt.return=vt,lt):(lt=V(lt,Mt.children||[]),lt.return=vt,lt)}function pn(vt,lt,Mt,Xt,fn){return lt===null||lt.tag!==7?(lt=Mo(Mt,vt.mode,Xt,fn),lt.return=vt,lt):(lt=V(lt,Mt),lt.return=vt,lt)}function _n(vt,lt,Mt){if(typeof lt=="string"||typeof lt=="number")return lt=nc(""+lt,vt.mode,Mt),lt.return=vt,lt;if(typeof lt=="object"&&lt!==null){switch(lt.$$typeof){case jt:return Mt=ou(lt.type,lt.key,lt.props,null,vt.mode,Mt),Mt.ref=Ao(vt,null,lt),Mt.return=vt,Mt;case Xe:return lt=Wc(lt,vt.mode,Mt),lt.return=vt,lt}if(Tu(lt)||We(lt))return lt=Mo(lt,vt.mode,Mt,null),lt.return=vt,lt;Pl(vt,lt)}return null}function lr(vt,lt,Mt,Xt){var fn=lt!==null?lt.key:null;if(typeof Mt=="string"||typeof Mt=="number")return fn!==null?null:je(vt,lt,""+Mt,Xt);if(typeof Mt=="object"&&Mt!==null){switch(Mt.$$typeof){case jt:return Mt.key===fn?Mt.type===zt?pn(vt,lt,Mt.props.children,Xt,fn):_t(vt,lt,Mt,Xt):null;case Xe:return Mt.key===fn?Ct(vt,lt,Mt,Xt):null}if(Tu(Mt)||We(Mt))return fn!==null?null:pn(vt,lt,Mt,Xt,null);Pl(vt,Mt)}return null}function Nr(vt,lt,Mt,Xt,fn){if(typeof Xt=="string"||typeof Xt=="number")return vt=vt.get(Mt)||null,je(lt,vt,""+Xt,fn);if(typeof Xt=="object"&&Xt!==null){switch(Xt.$$typeof){case jt:return vt=vt.get(Xt.key===null?Mt:Xt.key)||null,Xt.type===zt?pn(lt,vt,Xt.props.children,fn,Xt.key):_t(lt,vt,Xt,fn);case Xe:return vt=vt.get(Xt.key===null?Mt:Xt.key)||null,Ct(lt,vt,Xt,fn)}if(Tu(Xt)||We(Xt))return vt=vt.get(Mt)||null,pn(lt,vt,Xt,fn,null);Pl(lt,Xt)}return null}function ro(vt,lt,Mt,Xt){for(var fn=null,Tn=null,Xn=lt,Pr=lt=0,ai=null;Xn!==null&&Pr<Mt.length;Pr++){Xn.index>Pr?(ai=Xn,Xn=null):ai=Xn.sibling;var cr=lr(vt,Xn,Mt[Pr],Xt);if(cr===null){Xn===null&&(Xn=ai);break}h&&Xn&&cr.alternate===null&&S(vt,Xn),lt=he(cr,lt,Pr),Tn===null?fn=cr:Tn.sibling=cr,Tn=cr,Xn=ai}if(Pr===Mt.length)return I(vt,Xn),fn;if(Xn===null){for(;Pr<Mt.length;Pr++)Xn=_n(vt,Mt[Pr],Xt),Xn!==null&&(lt=he(Xn,lt,Pr),Tn===null?fn=Xn:Tn.sibling=Xn,Tn=Xn);return fn}for(Xn=B(vt,Xn);Pr<Mt.length;Pr++)ai=Nr(Xn,vt,Pr,Mt[Pr],Xt),ai!==null&&(h&&ai.alternate!==null&&Xn.delete(ai.key===null?Pr:ai.key),lt=he(ai,lt,Pr),Tn===null?fn=ai:Tn.sibling=ai,Tn=ai);return h&&Xn.forEach(function(gs){return S(vt,gs)}),fn}function ra(vt,lt,Mt,Xt){var fn=We(Mt);if(typeof fn!="function")throw Error(t(150));if(Mt=fn.call(Mt),Mt==null)throw Error(t(151));for(var Tn=fn=null,Xn=lt,Pr=lt=0,ai=null,cr=Mt.next();Xn!==null&&!cr.done;Pr++,cr=Mt.next()){Xn.index>Pr?(ai=Xn,Xn=null):ai=Xn.sibling;var gs=lr(vt,Xn,cr.value,Xt);if(gs===null){Xn===null&&(Xn=ai);break}h&&Xn&&gs.alternate===null&&S(vt,Xn),lt=he(gs,lt,Pr),Tn===null?fn=gs:Tn.sibling=gs,Tn=gs,Xn=ai}if(cr.done)return I(vt,Xn),fn;if(Xn===null){for(;!cr.done;Pr++,cr=Mt.next())cr=_n(vt,cr.value,Xt),cr!==null&&(lt=he(cr,lt,Pr),Tn===null?fn=cr:Tn.sibling=cr,Tn=cr);return fn}for(Xn=B(vt,Xn);!cr.done;Pr++,cr=Mt.next())cr=Nr(Xn,vt,Pr,cr.value,Xt),cr!==null&&(h&&cr.alternate!==null&&Xn.delete(cr.key===null?Pr:cr.key),lt=he(cr,lt,Pr),Tn===null?fn=cr:Tn.sibling=cr,Tn=cr);return h&&Xn.forEach(function(Vc){return S(vt,Vc)}),fn}return function(vt,lt,Mt,Xt){var fn=typeof Mt=="object"&&Mt!==null&&Mt.type===zt&&Mt.key===null;fn&&(Mt=Mt.props.children);var Tn=typeof Mt=="object"&&Mt!==null;if(Tn)switch(Mt.$$typeof){case jt:e:{for(Tn=Mt.key,fn=lt;fn!==null;){if(fn.key===Tn){switch(fn.tag){case 7:if(Mt.type===zt){I(vt,fn.sibling),lt=V(fn,Mt.props.children),lt.return=vt,vt=lt;break e}break;default:if(fn.elementType===Mt.type){I(vt,fn.sibling),lt=V(fn,Mt.props),lt.ref=Ao(vt,fn,Mt),lt.return=vt,vt=lt;break e}}I(vt,fn);break}else S(vt,fn);fn=fn.sibling}Mt.type===zt?(lt=Mo(Mt.props.children,vt.mode,Xt,Mt.key),lt.return=vt,vt=lt):(Xt=ou(Mt.type,Mt.key,Mt.props,null,vt.mode,Xt),Xt.ref=Ao(vt,lt,Mt),Xt.return=vt,vt=Xt)}return Se(vt);case Xe:e:{for(fn=Mt.key;lt!==null;){if(lt.key===fn)if(lt.tag===4&&lt.stateNode.containerInfo===Mt.containerInfo&&lt.stateNode.implementation===Mt.implementation){I(vt,lt.sibling),lt=V(lt,Mt.children||[]),lt.return=vt,vt=lt;break e}else{I(vt,lt);break}else S(vt,lt);lt=lt.sibling}lt=Wc(Mt,vt.mode,Xt),lt.return=vt,vt=lt}return Se(vt)}if(typeof Mt=="string"||typeof Mt=="number")return Mt=""+Mt,lt!==null&&lt.tag===6?(I(vt,lt.sibling),lt=V(lt,Mt),lt.return=vt,vt=lt):(I(vt,lt),lt=nc(Mt,vt.mode,Xt),lt.return=vt,vt=lt),Se(vt);if(Tu(Mt))return ro(vt,lt,Mt,Xt);if(We(Mt))return ra(vt,lt,Mt,Xt);if(Tn&&Pl(vt,Mt),typeof Mt=="undefined"&&!fn)switch(vt.tag){case 1:case 0:throw vt=vt.type,Error(t(152,vt.displayName||vt.name||"Component"))}return I(vt,lt)}}var mi=Au(!0),Xs=Au(!1),Zs={},Vi={current:Zs},Ts={current:Zs},xo={current:Zs};function Qa(h){if(h===Zs)throw Error(t(174));return h}function Tl(h,S){switch(ti(xo,S),ti(Ts,h),ti(Vi,Zs),h=S.nodeType,h){case 9:case 11:S=(S=S.documentElement)?S.namespaceURI:vn(null,"");break;default:h=h===8?S.parentNode:S,S=h.namespaceURI||null,h=h.tagName,S=vn(S,h)}Wr(Vi),ti(Vi,S)}function Li(){Wr(Vi),Wr(Ts),Wr(xo)}function Al(h){Qa(xo.current);var S=Qa(Vi.current),I=vn(S,h.type);S!==I&&(ti(Ts,h),ti(Vi,I))}function bc(h){Ts.current===h&&(Wr(Vi),Wr(Ts))}var yi={current:0};function xu(h){for(var S=h;S!==null;){if(S.tag===13){var I=S.memoizedState;if(I!==null&&(I=I.dehydrated,I===null||I.data===vr||I.data===Hi))return S}else if(S.tag===19&&S.memoizedProps.revealOrder!==void 0){if(S.effectTag&64)return S}else if(S.child!==null){S.child.return=S,S=S.child;continue}if(S===h)break;for(;S.sibling===null;){if(S.return===null||S.return===h)return null;S=S.return}S.sibling.return=S.return,S=S.sibling}return null}function Js(h,S){return{responder:h,props:S}}var Iu=Oe.ReactCurrentDispatcher,ba=Oe.ReactCurrentBatchConfig,co=0,Ni=null,Oa=null,Ei=null,xl=!1;function Xa(){throw Error(t(321))}function wu(h,S){if(S===null)return!1;for(var I=0;I<S.length&&I<h.length;I++)if(!Na(h[I],S[I]))return!1;return!0}function Il(h,S,I,B,V,he){if(co=he,Ni=S,S.memoizedState=null,S.updateQueue=null,S.expirationTime=0,Iu.current=h===null||h.memoizedState===null?ur:Hf,h=I(B,V),S.expirationTime===co){he=0;do{if(S.expirationTime=0,!(25>he))throw Error(t(301));he+=1,Ei=Oa=null,S.updateQueue=null,Iu.current=Kf,h=I(B,V)}while(S.expirationTime===co)}if(Iu.current=tu,S=Oa!==null&&Oa.next!==null,co=0,Ei=Oa=Ni=null,xl=!1,S)throw Error(t(300));return h}function As(){var h={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Ei===null?Ni.memoizedState=Ei=h:Ei=Ei.next=h,Ei}function Ys(){if(Oa===null){var h=Ni.alternate;h=h!==null?h.memoizedState:null}else h=Oa.next;var S=Ei===null?Ni.memoizedState:Ei.next;if(S!==null)Ei=S,Oa=h;else{if(h===null)throw Error(t(310));Oa=h,h={memoizedState:Oa.memoizedState,baseState:Oa.baseState,baseQueue:Oa.baseQueue,queue:Oa.queue,next:null},Ei===null?Ni.memoizedState=Ei=h:Ei=Ei.next=h}return Ei}function xs(h,S){return typeof S=="function"?S(h):S}function Ru(h){var S=Ys(),I=S.queue;if(I===null)throw Error(t(311));I.lastRenderedReducer=h;var B=Oa,V=B.baseQueue,he=I.pending;if(he!==null){if(V!==null){var Se=V.next;V.next=he.next,he.next=Se}B.baseQueue=V=he,I.pending=null}if(V!==null){V=V.next,B=B.baseState;var je=Se=he=null,_t=V;do{var Ct=_t.expirationTime;if(Ct<co){var pn={expirationTime:_t.expirationTime,suspenseConfig:_t.suspenseConfig,action:_t.action,eagerReducer:_t.eagerReducer,eagerState:_t.eagerState,next:null};je===null?(Se=je=pn,he=B):je=je.next=pn,Ct>Ni.expirationTime&&(Ni.expirationTime=Ct,Yu(Ct))}else je!==null&&(je=je.next={expirationTime:1073741823,suspenseConfig:_t.suspenseConfig,action:_t.action,eagerReducer:_t.eagerReducer,eagerState:_t.eagerState,next:null}),Xl(Ct,_t.suspenseConfig),B=_t.eagerReducer===h?_t.eagerState:h(B,_t.action);_t=_t.next}while(_t!==null&&_t!==V);je===null?he=B:je.next=Se,Na(B,S.memoizedState)||(Si=!0),S.memoizedState=B,S.baseState=he,S.baseQueue=je,I.lastRenderedState=B}return[S.memoizedState,I.dispatch]}function qs(h){var S=Ys(),I=S.queue;if(I===null)throw Error(t(311));I.lastRenderedReducer=h;var B=I.dispatch,V=I.pending,he=S.memoizedState;if(V!==null){I.pending=null;var Se=V=V.next;do he=h(he,Se.action),Se=Se.next;while(Se!==V);Na(he,S.memoizedState)||(Si=!0),S.memoizedState=he,S.baseQueue===null&&(S.baseState=he),I.lastRenderedState=he}return[he,B]}function wl(h){var S=As();return typeof h=="function"&&(h=h()),S.memoizedState=S.baseState=h,h=S.queue={pending:null,dispatch:null,lastRenderedReducer:xs,lastRenderedState:h},h=h.dispatch=Cc.bind(null,Ni,h),[S.memoizedState,h]}function Mu(h,S,I,B){return h={tag:h,create:S,destroy:I,deps:B,next:null},S=Ni.updateQueue,S===null?(S={lastEffect:null},Ni.updateQueue=S,S.lastEffect=h.next=h):(I=S.lastEffect,I===null?S.lastEffect=h.next=h:(B=I.next,I.next=h,h.next=B,S.lastEffect=h)),h}function Oc(){return Ys().memoizedState}function Rl(h,S,I,B){var V=As();Ni.effectTag|=h,V.memoizedState=Mu(1|S,I,void 0,B===void 0?null:B)}function Du(h,S,I,B){var V=Ys();B=B===void 0?null:B;var he=void 0;if(Oa!==null){var Se=Oa.memoizedState;if(he=Se.destroy,B!==null&&wu(B,Se.deps)){Mu(S,I,he,B);return}}Ni.effectTag|=h,V.memoizedState=Mu(1|S,I,he,B)}function Lu(h,S){return Rl(516,4,h,S)}function Nu(h,S){return Du(516,4,h,S)}function Ml(h,S){return Du(4,2,h,S)}function Dl(h,S){if(typeof S=="function")return h=h(),S(h),function(){S(null)};if(S!=null)return h=h(),S.current=h,function(){S.current=null}}function cf(h,S,I){return I=I!=null?I.concat([h]):null,Du(4,2,Dl.bind(null,S,h),I)}function Ll(){}function _c(h,S){return As().memoizedState=[h,S===void 0?null:S],h}function eu(h,S){var I=Ys();S=S===void 0?null:S;var B=I.memoizedState;return B!==null&&S!==null&&wu(S,B[1])?B[0]:(I.memoizedState=[h,S],h)}function os(h,S){var I=Ys();S=S===void 0?null:S;var B=I.memoizedState;return B!==null&&S!==null&&wu(S,B[1])?B[0]:(h=h(),I.memoizedState=[h,S],h)}function Uu(h,S,I){var B=Vs();ns(98>B?98:B,function(){h(!0)}),ns(97<B?97:B,function(){var V=ba.suspense;ba.suspense=S===void 0?null:S;try{h(!1),I()}finally{ba.suspense=V}})}function Cc(h,S,I){var B=ii(),V=Ua.suspense;B=ca(B,h,V),V={expirationTime:B,suspenseConfig:V,action:I,eagerReducer:null,eagerState:null,next:null};var he=S.pending;if(he===null?V.next=V:(V.next=he.next,he.next=V),S.pending=V,he=h.alternate,h===Ni||he!==null&&he===Ni)xl=!0,V.expirationTime=co,Ni.expirationTime=co;else{if(h.expirationTime===0&&(he===null||he.expirationTime===0)&&(he=S.lastRenderedReducer,he!==null))try{var Se=S.lastRenderedState,je=he(Se,I);if(V.eagerReducer=he,V.eagerState=je,Na(je,Se))return}catch(_t){}finally{}fa(h,B)}}var tu={readContext:eo,useCallback:Xa,useContext:Xa,useEffect:Xa,useImperativeHandle:Xa,useLayoutEffect:Xa,useMemo:Xa,useReducer:Xa,useRef:Xa,useState:Xa,useDebugValue:Xa,useResponder:Xa,useDeferredValue:Xa,useTransition:Xa},ur={readContext:eo,useCallback:_c,useContext:eo,useEffect:Lu,useImperativeHandle:function(h,S,I){return I=I!=null?I.concat([h]):null,Rl(4,2,Dl.bind(null,S,h),I)},useLayoutEffect:function(h,S){return Rl(4,2,h,S)},useMemo:function(h,S){var I=As();return S=S===void 0?null:S,h=h(),I.memoizedState=[h,S],h},useReducer:function(h,S,I){var B=As();return S=I!==void 0?I(S):S,B.memoizedState=B.baseState=S,h=B.queue={pending:null,dispatch:null,lastRenderedReducer:h,lastRenderedState:S},h=h.dispatch=Cc.bind(null,Ni,h),[B.memoizedState,h]},useRef:function(h){var S=As();return h={current:h},S.memoizedState=h},useState:wl,useDebugValue:Ll,useResponder:Js,useDeferredValue:function(h,S){var I=wl(h),B=I[0],V=I[1];return Lu(function(){var he=ba.suspense;ba.suspense=S===void 0?null:S;try{V(h)}finally{ba.suspense=he}},[h,S]),B},useTransition:function(h){var S=wl(!1),I=S[0];return S=S[1],[_c(Uu.bind(null,S,h),[S,h]),I]}},Hf={readContext:eo,useCallback:eu,useContext:eo,useEffect:Nu,useImperativeHandle:cf,useLayoutEffect:Ml,useMemo:os,useReducer:Ru,useRef:Oc,useState:function(){return Ru(xs)},useDebugValue:Ll,useResponder:Js,useDeferredValue:function(h,S){var I=Ru(xs),B=I[0],V=I[1];return Nu(function(){var he=ba.suspense;ba.suspense=S===void 0?null:S;try{V(h)}finally{ba.suspense=he}},[h,S]),B},useTransition:function(h){var S=Ru(xs),I=S[0];return S=S[1],[eu(Uu.bind(null,S,h),[S,h]),I]}},Kf={readContext:eo,useCallback:eu,useContext:eo,useEffect:Nu,useImperativeHandle:cf,useLayoutEffect:Ml,useMemo:os,useReducer:qs,useRef:Oc,useState:function(){return qs(xs)},useDebugValue:Ll,useResponder:Js,useDeferredValue:function(h,S){var I=qs(xs),B=I[0],V=I[1];return Nu(function(){var he=ba.suspense;ba.suspense=S===void 0?null:S;try{V(h)}finally{ba.suspense=he}},[h,S]),B},useTransition:function(h){var S=qs(xs),I=S[0];return S=S[1],[eu(Uu.bind(null,S,h),[S,h]),I]}},Za=null,jo=null,Is=!1;function ff(h,S){var I=Ro(5,null,null,0);I.elementType="DELETED",I.type="DELETED",I.stateNode=S,I.return=h,I.effectTag=8,h.lastEffect!==null?(h.lastEffect.nextEffect=I,h.lastEffect=I):h.firstEffect=h.lastEffect=I}function Ja(h,S){switch(h.tag){case 5:var I=h.type;return S=S.nodeType!==1||I.toLowerCase()!==S.nodeName.toLowerCase()?null:S,S!==null?(h.stateNode=S,!0):!1;case 6:return S=h.pendingProps===""||S.nodeType!==3?null:S,S!==null?(h.stateNode=S,!0):!1;case 13:return!1;default:return!1}}function Pc(h){if(Is){var S=jo;if(S){var I=S;if(!Ja(h,S)){if(S=Nt(I.nextSibling),!S||!Ja(h,S)){h.effectTag=h.effectTag&-1025|2,Is=!1,Za=h;return}ff(Za,I)}Za=h,jo=Nt(S.firstChild)}else h.effectTag=h.effectTag&-1025|2,Is=!1,Za=h}}function Fu(h){for(h=h.return;h!==null&&h.tag!==5&&h.tag!==3&&h.tag!==13;)h=h.return;Za=h}function zo(h){if(h!==Za)return!1;if(!Is)return Fu(h),Is=!0,!1;var S=h.type;if(h.tag!==5||S!=="head"&&S!=="body"&&!Ye(S,h.memoizedProps))for(S=jo;S;)ff(h,S),S=Nt(S.nextSibling);if(Fu(h),h.tag===13){if(h=h.memoizedState,h=h!==null?h.dehydrated:null,!h)throw Error(t(317));e:{for(h=h.nextSibling,S=0;h;){if(h.nodeType===8){var I=h.data;if(I===ua){if(S===0){jo=Nt(h.nextSibling);break e}S--}else I!==xr&&I!==Hi&&I!==vr||S++}h=h.nextSibling}jo=null}}else jo=Za?Nt(h.stateNode.nextSibling):null;return!0}function Nl(){jo=Za=null,Is=!1}var df=Oe.ReactCurrentOwner,Si=!1;function Ui(h,S,I,B){S.child=h===null?Xs(S,null,I,B):mi(S,h.child,I,B)}function Ul(h,S,I,B,V){I=I.render;var he=S.ref;return is(S,V),B=Il(h,S,I,B,he,V),h!==null&&!Si?(S.updateQueue=h.updateQueue,S.effectTag&=-517,h.expirationTime<=V&&(h.expirationTime=0),fo(h,S,V)):(S.effectTag|=1,Ui(h,S,B,V),S.child)}function Tc(h,S,I,B,V,he){if(h===null){var Se=I.type;return typeof Se=="function"&&!tc(Se)&&Se.defaultProps===void 0&&I.compare===null&&I.defaultProps===void 0?(S.tag=15,S.type=Se,Go(h,S,Se,B,V,he)):(h=ou(I.type,null,B,null,S.mode,he),h.ref=S.ref,h.return=S,S.child=h)}return Se=h.child,V<he&&(V=Se.memoizedProps,I=I.compare,I=I!==null?I:oo,I(V,B)&&h.ref===S.ref)?fo(h,S,he):(S.effectTag|=1,h=Fs(Se,B),h.ref=S.ref,h.return=S,S.child=h)}function Go(h,S,I,B,V,he){return h!==null&&oo(h.memoizedProps,B)&&h.ref===S.ref&&(Si=!1,V<he)?(S.expirationTime=h.expirationTime,fo(h,S,he)):Bu(h,S,I,B,he)}function nu(h,S){var I=S.ref;(h===null&&I!==null||h!==null&&h.ref!==I)&&(S.effectTag|=128)}function Bu(h,S,I,B,V){var he=Ea(I)?qo:la.current;return he=_s(S,he),is(S,V),I=Il(h,S,I,B,he,V),h!==null&&!Si?(S.updateQueue=h.updateQueue,S.effectTag&=-517,h.expirationTime<=V&&(h.expirationTime=0),fo(h,S,V)):(S.effectTag|=1,Ui(h,S,I,V),S.child)}function Ac(h,S,I,B,V){if(Ea(I)){var he=!0;ye(S)}else he=!1;if(is(S,V),S.stateNode===null)h!==null&&(h.alternate=null,S.alternate=null,S.effectTag|=2),Qs(S,I,B),Cl(S,I,B,V),B=!0;else if(h===null){var Se=S.stateNode,je=S.memoizedProps;Se.props=je;var _t=Se.context,Ct=I.contextType;typeof Ct=="object"&&Ct!==null?Ct=eo(Ct):(Ct=Ea(I)?qo:la.current,Ct=_s(S,Ct));var pn=I.getDerivedStateFromProps,_n=typeof pn=="function"||typeof Se.getSnapshotBeforeUpdate=="function";_n||typeof Se.UNSAFE_componentWillReceiveProps!="function"&&typeof Se.componentWillReceiveProps!="function"||(je!==B||_t!==Ct)&&To(S,Se,B,Ct),_o=!1;var lr=S.memoizedState;Se.state=lr,$a(S,B,Se,V),_t=S.memoizedState,je!==B||lr!==_t||xa.current||_o?(typeof pn=="function"&&(_l(S,I,pn,B),_t=S.memoizedState),(je=_o||Pu(S,I,je,B,lr,_t,Ct))?(_n||typeof Se.UNSAFE_componentWillMount!="function"&&typeof Se.componentWillMount!="function"||(typeof Se.componentWillMount=="function"&&Se.componentWillMount(),typeof Se.UNSAFE_componentWillMount=="function"&&Se.UNSAFE_componentWillMount()),typeof Se.componentDidMount=="function"&&(S.effectTag|=4)):(typeof Se.componentDidMount=="function"&&(S.effectTag|=4),S.memoizedProps=B,S.memoizedState=_t),Se.props=B,Se.state=_t,Se.context=Ct,B=je):(typeof Se.componentDidMount=="function"&&(S.effectTag|=4),B=!1)}else Se=S.stateNode,Co(h,S),je=S.memoizedProps,Se.props=S.type===S.elementType?je:vi(S.type,je),_t=Se.context,Ct=I.contextType,typeof Ct=="object"&&Ct!==null?Ct=eo(Ct):(Ct=Ea(I)?qo:la.current,Ct=_s(S,Ct)),pn=I.getDerivedStateFromProps,(_n=typeof pn=="function"||typeof Se.getSnapshotBeforeUpdate=="function")||typeof Se.UNSAFE_componentWillReceiveProps!="function"&&typeof Se.componentWillReceiveProps!="function"||(je!==B||_t!==Ct)&&To(S,Se,B,Ct),_o=!1,_t=S.memoizedState,Se.state=_t,$a(S,B,Se,V),lr=S.memoizedState,je!==B||_t!==lr||xa.current||_o?(typeof pn=="function"&&(_l(S,I,pn,B),lr=S.memoizedState),(pn=_o||Pu(S,I,je,B,_t,lr,Ct))?(_n||typeof Se.UNSAFE_componentWillUpdate!="function"&&typeof Se.componentWillUpdate!="function"||(typeof Se.componentWillUpdate=="function"&&Se.componentWillUpdate(B,lr,Ct),typeof Se.UNSAFE_componentWillUpdate=="function"&&Se.UNSAFE_componentWillUpdate(B,lr,Ct)),typeof Se.componentDidUpdate=="function"&&(S.effectTag|=4),typeof Se.getSnapshotBeforeUpdate=="function"&&(S.effectTag|=256)):(typeof Se.componentDidUpdate!="function"||je===h.memoizedProps&&_t===h.memoizedState||(S.effectTag|=4),typeof Se.getSnapshotBeforeUpdate!="function"||je===h.memoizedProps&&_t===h.memoizedState||(S.effectTag|=256),S.memoizedProps=B,S.memoizedState=lr),Se.props=B,Se.state=lr,Se.context=Ct,B=pn):(typeof Se.componentDidUpdate!="function"||je===h.memoizedProps&&_t===h.memoizedState||(S.effectTag|=4),typeof Se.getSnapshotBeforeUpdate!="function"||je===h.memoizedProps&&_t===h.memoizedState||(S.effectTag|=256),B=!1);return ju(h,S,I,B,he,V)}function ju(h,S,I,B,V,he){nu(h,S);var Se=(S.effectTag&64)!==0;if(!B&&!Se)return V&&ts(S,I,!1),fo(h,S,he);B=S.stateNode,df.current=S;var je=Se&&typeof I.getDerivedStateFromError!="function"?null:B.render();return S.effectTag|=1,h!==null&&Se?(S.child=mi(S,h.child,null,he),S.child=mi(S,null,je,he)):Ui(h,S,je,he),S.memoizedState=B.state,V&&ts(S,I,!0),S.child}function Fl(h){var S=h.stateNode;S.pendingContext?Cs(h,S.pendingContext,S.pendingContext!==S.context):S.context&&Cs(h,S.context,!1),Tl(h,S.containerInfo)}var Io={dehydrated:null,retryTime:0};function vf(h,S,I){var B=S.mode,V=S.pendingProps,he=yi.current,Se=!1,je;if((je=(S.effectTag&64)!==0)||(je=(he&2)!==0&&(h===null||h.memoizedState!==null)),je?(Se=!0,S.effectTag&=-65):h!==null&&h.memoizedState===null||V.fallback===void 0||V.unstable_avoidThisFallback===!0||(he|=1),ti(yi,he&1),h===null){if(V.fallback!==void 0&&Pc(S),Se){if(Se=V.fallback,V=Mo(null,B,0,null),V.return=S,!(S.mode&2))for(h=S.memoizedState!==null?S.child.child:S.child,V.child=h;h!==null;)h.return=V,h=h.sibling;return I=Mo(Se,B,I,null),I.return=S,V.sibling=I,S.memoizedState=Io,S.child=V,I}return B=V.children,S.memoizedState=null,S.child=Xs(S,null,B,I)}if(h.memoizedState!==null){if(h=h.child,B=h.sibling,Se){if(V=V.fallback,I=Fs(h,h.pendingProps),I.return=S,!(S.mode&2)&&(Se=S.memoizedState!==null?S.child.child:S.child,Se!==h.child))for(I.child=Se;Se!==null;)Se.return=I,Se=Se.sibling;return B=Fs(B,V),B.return=S,I.sibling=B,I.childExpirationTime=0,S.memoizedState=Io,S.child=I,B}return I=mi(S,h.child,V.children,I),S.memoizedState=null,S.child=I}if(h=h.child,Se){if(Se=V.fallback,V=Mo(null,B,0,null),V.return=S,V.child=h,h!==null&&(h.return=V),!(S.mode&2))for(h=S.memoizedState!==null?S.child.child:S.child,V.child=h;h!==null;)h.return=V,h=h.sibling;return I=Mo(Se,B,I,null),I.return=S,V.sibling=I,I.effectTag|=2,V.childExpirationTime=0,S.memoizedState=Io,S.child=V,I}return S.memoizedState=null,S.child=mi(S,h,V.children,I)}function Wo(h,S){h.expirationTime<S&&(h.expirationTime=S);var I=h.alternate;I!==null&&I.expirationTime<S&&(I.expirationTime=S),Sc(h.return,S)}function Bl(h,S,I,B,V,he){var Se=h.memoizedState;Se===null?h.memoizedState={isBackwards:S,rendering:null,renderingStartTime:0,last:B,tail:I,tailExpiration:0,tailMode:V,lastEffect:he}:(Se.isBackwards=S,Se.rendering=null,Se.renderingStartTime=0,Se.last=B,Se.tail=I,Se.tailExpiration=0,Se.tailMode=V,Se.lastEffect=he)}function xc(h,S,I){var B=S.pendingProps,V=B.revealOrder,he=B.tail;if(Ui(h,S,B.children,I),B=yi.current,B&2)B=B&1|2,S.effectTag|=64;else{if(h!==null&&h.effectTag&64)e:for(h=S.child;h!==null;){if(h.tag===13)h.memoizedState!==null&&Wo(h,I);else if(h.tag===19)Wo(h,I);else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===S)break e;for(;h.sibling===null;){if(h.return===null||h.return===S)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}B&=1}if(ti(yi,B),!(S.mode&2))S.memoizedState=null;else switch(V){case"forwards":for(I=S.child,V=null;I!==null;)h=I.alternate,h!==null&&xu(h)===null&&(V=I),I=I.sibling;I=V,I===null?(V=S.child,S.child=null):(V=I.sibling,I.sibling=null),Bl(S,!1,V,I,he,S.lastEffect);break;case"backwards":for(I=null,V=S.child,S.child=null;V!==null;){if(h=V.alternate,h!==null&&xu(h)===null){S.child=V;break}h=V.sibling,V.sibling=I,I=V,V=h}Bl(S,!0,I,null,he,S.lastEffect);break;case"together":Bl(S,!1,null,null,void 0,S.lastEffect);break;default:S.memoizedState=null}return S.child}function fo(h,S,I){h!==null&&(S.dependencies=h.dependencies);var B=S.expirationTime;if(B!==0&&Yu(B),S.childExpirationTime<I)return null;if(h!==null&&S.child!==h.child)throw Error(t(153));if(S.child!==null){for(h=S.child,I=Fs(h,h.pendingProps),S.child=I,I.return=S;h.sibling!==null;)h=h.sibling,I=I.sibling=Fs(h,h.pendingProps),I.return=S;I.sibling=null}return S.child}var zu,Ic,Gu,wc;zu=function(h,S){for(var I=S.child;I!==null;){if(I.tag===5||I.tag===6)h.appendChild(I.stateNode);else if(I.tag!==4&&I.child!==null){I.child.return=I,I=I.child;continue}if(I===S)break;for(;I.sibling===null;){if(I.return===null||I.return===S)return;I=I.return}I.sibling.return=I.return,I=I.sibling}},Ic=function(){},Gu=function(h,S,I,B,V){var he=h.memoizedProps;if(he!==B){var Se=S.stateNode;switch(Qa(Vi.current),h=null,I){case"input":he=Jr(Se,he),B=Jr(Se,B),h=[];break;case"option":he=oa(Se,he),B=oa(Se,B),h=[];break;case"select":he=n({},he,{value:void 0}),B=n({},B,{value:void 0}),h=[];break;case"textarea":he=Wi(Se,he),B=Wi(Se,B),h=[];break;default:typeof he.onClick!="function"&&typeof B.onClick=="function"&&(Se.onclick=at)}Te(I,B);var je,_t;I=null;for(je in he)if(!B.hasOwnProperty(je)&&he.hasOwnProperty(je)&&he[je]!=null)if(je==="style")for(_t in Se=he[je],Se)Se.hasOwnProperty(_t)&&(I||(I={}),I[_t]="");else je!=="dangerouslySetInnerHTML"&&je!=="children"&&je!=="suppressContentEditableWarning"&&je!=="suppressHydrationWarning"&&je!=="autoFocus"&&(M.hasOwnProperty(je)?h||(h=[]):(h=h||[]).push(je,null));for(je in B){var Ct=B[je];if(Se=he!=null?he[je]:void 0,B.hasOwnProperty(je)&&Ct!==Se&&(Ct!=null||Se!=null))if(je==="style")if(Se){for(_t in Se)!Se.hasOwnProperty(_t)||Ct&&Ct.hasOwnProperty(_t)||(I||(I={}),I[_t]="");for(_t in Ct)Ct.hasOwnProperty(_t)&&Se[_t]!==Ct[_t]&&(I||(I={}),I[_t]=Ct[_t])}else I||(h||(h=[]),h.push(je,I)),I=Ct;else je==="dangerouslySetInnerHTML"?(Ct=Ct?Ct.__html:void 0,Se=Se?Se.__html:void 0,Ct!=null&&Se!==Ct&&(h=h||[]).push(je,Ct)):je==="children"?Se===Ct||typeof Ct!="string"&&typeof Ct!="number"||(h=h||[]).push(je,""+Ct):je!=="suppressContentEditableWarning"&&je!=="suppressHydrationWarning"&&(M.hasOwnProperty(je)?(Ct!=null&&Ze(V,je),h||Se===Ct||(h=[])):(h=h||[]).push(je,Ct))}I&&(h=h||[]).push("style",I),V=h,(S.updateQueue=V)&&(S.effectTag|=4)}},wc=function(h,S,I,B){I!==B&&(S.effectTag|=4)};function ru(h,S){switch(h.tailMode){case"hidden":S=h.tail;for(var I=null;S!==null;)S.alternate!==null&&(I=S),S=S.sibling;I===null?h.tail=null:I.sibling=null;break;case"collapsed":I=h.tail;for(var B=null;I!==null;)I.alternate!==null&&(B=I),I=I.sibling;B===null?S||h.tail===null?h.tail=null:h.tail.sibling=null:B.sibling=null}}function hf(h,S,I){var B=S.pendingProps;switch(S.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:return Ea(S.type)&&es(),null;case 3:return Li(),Wr(xa),Wr(la),I=S.stateNode,I.pendingContext&&(I.context=I.pendingContext,I.pendingContext=null),h!==null&&h.child!==null||!zo(S)||(S.effectTag|=4),Ic(S),null;case 5:bc(S),I=Qa(xo.current);var V=S.type;if(h!==null&&S.stateNode!=null)Gu(h,S,V,B,I),h.ref!==S.ref&&(S.effectTag|=128);else{if(!B){if(S.stateNode===null)throw Error(t(166));return null}if(h=Qa(Vi.current),zo(S)){B=S.stateNode,V=S.type;var he=S.memoizedProps;switch(B[$t]=S,B[un]=he,V){case"iframe":case"object":case"embed":_r("load",B);break;case"video":case"audio":for(h=0;h<sn.length;h++)_r(sn[h],B);break;case"source":_r("error",B);break;case"img":case"image":case"link":_r("error",B),_r("load",B);break;case"form":_r("reset",B),_r("submit",B);break;case"details":_r("toggle",B);break;case"input":Tr(B,he),_r("invalid",B),Ze(I,"onChange");break;case"select":B._wrapperState={wasMultiple:!!he.multiple},_r("invalid",B),Ze(I,"onChange");break;case"textarea":Ae(B,he),_r("invalid",B),Ze(I,"onChange")}Te(V,he),h=null;for(var Se in he)if(he.hasOwnProperty(Se)){var je=he[Se];Se==="children"?typeof je=="string"?B.textContent!==je&&(h=["children",je]):typeof je=="number"&&B.textContent!==""+je&&(h=["children",""+je]):M.hasOwnProperty(Se)&&je!=null&&Ze(I,Se)}switch(V){case"input":jn(B),bi(B,he,!0);break;case"textarea":jn(B),Ii(B);break;case"select":case"option":break;default:typeof he.onClick=="function"&&(B.onclick=at)}I=h,S.updateQueue=I,I!==null&&(S.effectTag|=4)}else{switch(Se=I.nodeType===9?I:I.ownerDocument,h===xe&&(h=sa(V)),h===xe?V==="script"?(h=Se.createElement("div"),h.innerHTML="<script><\/script>",h=h.removeChild(h.firstChild)):typeof B.is=="string"?h=Se.createElement(V,{is:B.is}):(h=Se.createElement(V),V==="select"&&(Se=h,B.multiple?Se.multiple=!0:B.size&&(Se.size=B.size))):h=Se.createElementNS(h,V),h[$t]=S,h[un]=B,zu(h,S,!1,!1),S.stateNode=h,Se=Ce(V,B),V){case"iframe":case"object":case"embed":_r("load",h),je=B;break;case"video":case"audio":for(je=0;je<sn.length;je++)_r(sn[je],h);je=B;break;case"source":_r("error",h),je=B;break;case"img":case"image":case"link":_r("error",h),_r("load",h),je=B;break;case"form":_r("reset",h),_r("submit",h),je=B;break;case"details":_r("toggle",h),je=B;break;case"input":Tr(h,B),je=Jr(h,B),_r("invalid",h),Ze(I,"onChange");break;case"option":je=oa(h,B);break;case"select":h._wrapperState={wasMultiple:!!B.multiple},je=n({},B,{value:void 0}),_r("invalid",h),Ze(I,"onChange");break;case"textarea":Ae(h,B),je=Wi(h,B),_r("invalid",h),Ze(I,"onChange");break;default:je=B}Te(V,je);var _t=je;for(he in _t)if(_t.hasOwnProperty(he)){var Ct=_t[he];he==="style"?ri(h,Ct):he==="dangerouslySetInnerHTML"?(Ct=Ct?Ct.__html:void 0,Ct!=null&&Oi(h,Ct)):he==="children"?typeof Ct=="string"?(V!=="textarea"||Ct!=="")&&Zi(h,Ct):typeof Ct=="number"&&Zi(h,""+Ct):he!=="suppressContentEditableWarning"&&he!=="suppressHydrationWarning"&&he!=="autoFocus"&&(M.hasOwnProperty(he)?Ct!=null&&Ze(I,he):Ct!=null&&yt(h,he,Ct,Se))}switch(V){case"input":jn(h),bi(h,B,!1);break;case"textarea":jn(h),Ii(h);break;case"option":B.value!=null&&h.setAttribute("value",""+Zt(B.value));break;case"select":h.multiple=!!B.multiple,I=B.value,I!=null?Gi(h,!!B.multiple,I,!1):B.defaultValue!=null&&Gi(h,!!B.multiple,B.defaultValue,!0);break;default:typeof je.onClick=="function"&&(h.onclick=at)}Ie(V,B)&&(S.effectTag|=4)}S.ref!==null&&(S.effectTag|=128)}return null;case 6:if(h&&S.stateNode!=null)wc(h,S,h.memoizedProps,B);else{if(typeof B!="string"&&S.stateNode===null)throw Error(t(166));I=Qa(xo.current),Qa(Vi.current),zo(S)?(I=S.stateNode,B=S.memoizedProps,I[$t]=S,I.nodeValue!==B&&(S.effectTag|=4)):(I=(I.nodeType===9?I:I.ownerDocument).createTextNode(B),I[$t]=S,S.stateNode=I)}return null;case 13:return Wr(yi),B=S.memoizedState,S.effectTag&64?(S.expirationTime=I,S):(I=B!==null,B=!1,h===null?S.memoizedProps.fallback!==void 0&&zo(S):(V=h.memoizedState,B=V!==null,I||V===null||(V=h.child.sibling,V!==null&&(he=S.firstEffect,he!==null?(S.firstEffect=V,V.nextEffect=he):(S.firstEffect=S.lastEffect=V,V.nextEffect=null),V.effectTag=8))),I&&!B&&S.mode&2&&(h===null&&S.memoizedProps.unstable_avoidThisFallback!==!0||yi.current&1?Bi===wa&&(Bi=$u):((Bi===wa||Bi===$u)&&(Bi=Qu),cs!==0&&Ai!==null&&(Do(Ai,_a),Tf(Ai,cs)))),(I||B)&&(S.effectTag|=4),null);case 4:return Li(),Ic(S),null;case 10:return bl(S),null;case 17:return Ea(S.type)&&es(),null;case 19:if(Wr(yi),B=S.memoizedState,B===null)return null;if(V=(S.effectTag&64)!==0,he=B.rendering,he===null){if(V)ru(B,!1);else if(Bi!==wa||h!==null&&h.effectTag&64)for(he=S.child;he!==null;){if(h=xu(he),h!==null){for(S.effectTag|=64,ru(B,!1),V=h.updateQueue,V!==null&&(S.updateQueue=V,S.effectTag|=4),B.lastEffect===null&&(S.firstEffect=null),S.lastEffect=B.lastEffect,B=S.child;B!==null;)V=B,he=I,V.effectTag&=2,V.nextEffect=null,V.firstEffect=null,V.lastEffect=null,h=V.alternate,h===null?(V.childExpirationTime=0,V.expirationTime=he,V.child=null,V.memoizedProps=null,V.memoizedState=null,V.updateQueue=null,V.dependencies=null):(V.childExpirationTime=h.childExpirationTime,V.expirationTime=h.expirationTime,V.child=h.child,V.memoizedProps=h.memoizedProps,V.memoizedState=h.memoizedState,V.updateQueue=h.updateQueue,he=h.dependencies,V.dependencies=he===null?null:{expirationTime:he.expirationTime,firstContext:he.firstContext,responders:he.responders}),B=B.sibling;return ti(yi,yi.current&1|2),S.child}he=he.sibling}}else{if(!V)if(h=xu(he),h!==null){if(S.effectTag|=64,V=!0,I=h.updateQueue,I!==null&&(S.updateQueue=I,S.effectTag|=4),ru(B,!0),B.tail===null&&B.tailMode==="hidden"&&!he.alternate)return S=S.lastEffect=B.lastEffect,S!==null&&(S.nextEffect=null),null}else 2*Ti()-B.renderingStartTime>B.tailExpiration&&1<I&&(S.effectTag|=64,V=!0,ru(B,!1),S.expirationTime=S.childExpirationTime=I-1);B.isBackwards?(he.sibling=S.child,S.child=he):(I=B.last,I!==null?I.sibling=he:S.child=he,B.last=he)}return B.tail!==null?(B.tailExpiration===0&&(B.tailExpiration=Ti()+500),I=B.tail,B.rendering=I,B.tail=I.sibling,B.lastEffect=S.lastEffect,B.renderingStartTime=Ti(),I.sibling=null,S=yi.current,ti(yi,V?S&1|2:S&1),I):null}throw Error(t(156,S.tag))}function pf(h){switch(h.tag){case 1:Ea(h.type)&&es();var S=h.effectTag;return S&4096?(h.effectTag=S&-4097|64,h):null;case 3:if(Li(),Wr(xa),Wr(la),S=h.effectTag,S&64)throw Error(t(285));return h.effectTag=S&-4097|64,h;case 5:return bc(h),null;case 13:return Wr(yi),S=h.effectTag,S&4096?(h.effectTag=S&-4097|64,h):null;case 19:return Wr(yi),null;case 4:return Li(),null;case 10:return bl(h),null;default:return null}}function Wu(h,S){return{value:h,source:S,stack:Gt(S)}}var Ba=typeof WeakSet=="function"?WeakSet:Set;function Ia(h,S){var I=S.source,B=S.stack;B===null&&I!==null&&(B=Gt(I)),I!==null&&St(I.type),S=S.value,h!==null&&h.tag===1&&St(h.type);try{console.error(S)}catch(V){setTimeout(function(){throw V})}}function Vf(h,S){try{S.props=h.memoizedProps,S.state=h.memoizedState,S.componentWillUnmount()}catch(I){ps(h,I)}}function Rc(h){var S=h.ref;if(S!==null)if(typeof S=="function")try{S(null)}catch(I){ps(h,I)}else S.current=null}function jl(h,S){switch(S.tag){case 0:case 11:case 15:case 22:return;case 1:if(S.effectTag&256&&h!==null){var I=h.memoizedProps,B=h.memoizedState;h=S.stateNode,S=h.getSnapshotBeforeUpdate(S.elementType===S.type?I:vi(S.type,I),B),h.__reactInternalSnapshotBeforeUpdate=S}return;case 3:case 5:case 6:case 4:case 17:return}throw Error(t(163))}function ws(h,S){if(S=S.updateQueue,S=S!==null?S.lastEffect:null,S!==null){var I=S=S.next;do{if((I.tag&h)===h){var B=I.destroy;I.destroy=void 0,B!==void 0&&B()}I=I.next}while(I!==S)}}function Mc(h,S){if(S=S.updateQueue,S=S!==null?S.lastEffect:null,S!==null){var I=S=S.next;do{if((I.tag&h)===h){var B=I.create;I.destroy=B()}I=I.next}while(I!==S)}}function ku(h,S,I){switch(I.tag){case 0:case 11:case 15:case 22:Mc(3,I);return;case 1:if(h=I.stateNode,I.effectTag&4)if(S===null)h.componentDidMount();else{var B=I.elementType===I.type?S.memoizedProps:vi(I.type,S.memoizedProps);h.componentDidUpdate(B,S.memoizedState,h.__reactInternalSnapshotBeforeUpdate)}S=I.updateQueue,S!==null&&Ol(I,S,h);return;case 3:if(S=I.updateQueue,S!==null){if(h=null,I.child!==null)switch(I.child.tag){case 5:h=I.child.stateNode;break;case 1:h=I.child.stateNode}Ol(I,S,h)}return;case 5:h=I.stateNode,S===null&&I.effectTag&4&&Ie(I.type,I.memoizedProps)&&h.focus();return;case 6:return;case 4:return;case 12:return;case 13:I.memoizedState===null&&(I=I.alternate,I!==null&&(I=I.memoizedState,I!==null&&(I=I.dehydrated,I!==null&&dr(I))));return;case 19:case 17:case 20:case 21:return}throw Error(t(163))}function gf(h,S,I){switch(typeof Gc=="function"&&Gc(S),S.tag){case 0:case 11:case 14:case 15:case 22:if(h=S.updateQueue,h!==null&&(h=h.lastEffect,h!==null)){var B=h.next;ns(97<I?97:I,function(){var V=B;do{var he=V.destroy;if(he!==void 0){var Se=S;try{he()}catch(je){ps(Se,je)}}V=V.next}while(V!==B)})}break;case 1:Rc(S),I=S.stateNode,typeof I.componentWillUnmount=="function"&&Vf(S,I);break;case 5:Rc(S);break;case 4:Lc(h,S,I)}}function zl(h){var S=h.alternate;h.return=null,h.child=null,h.memoizedState=null,h.updateQueue=null,h.dependencies=null,h.alternate=null,h.firstEffect=null,h.lastEffect=null,h.pendingProps=null,h.memoizedProps=null,h.stateNode=null,S!==null&&zl(S)}function Rs(h){return h.tag===5||h.tag===3||h.tag===4}function ss(h){e:{for(var S=h.return;S!==null;){if(Rs(S)){var I=S;break e}S=S.return}throw Error(t(160))}switch(S=I.stateNode,I.tag){case 5:var B=!1;break;case 3:S=S.containerInfo,B=!0;break;case 4:S=S.containerInfo,B=!0;break;default:throw Error(t(161))}I.effectTag&16&&(Zi(S,""),I.effectTag&=-17);e:t:for(I=h;;){for(;I.sibling===null;){if(I.return===null||Rs(I.return)){I=null;break e}I=I.return}for(I.sibling.return=I.return,I=I.sibling;I.tag!==5&&I.tag!==6&&I.tag!==18;){if(I.effectTag&2||I.child===null||I.tag===4)continue t;I.child.return=I,I=I.child}if(!(I.effectTag&2)){I=I.stateNode;break e}}B?Dc(h,I,S):Gl(h,I,S)}function Dc(h,S,I){var B=h.tag,V=B===5||B===6;if(V)h=V?h.stateNode:h.stateNode.instance,S?I.nodeType===8?I.parentNode.insertBefore(h,S):I.insertBefore(h,S):(I.nodeType===8?(S=I.parentNode,S.insertBefore(h,I)):(S=I,S.appendChild(h)),I=I._reactRootContainer,I!=null||S.onclick!==null||(S.onclick=at));else if(B!==4&&(h=h.child,h!==null))for(Dc(h,S,I),h=h.sibling;h!==null;)Dc(h,S,I),h=h.sibling}function Gl(h,S,I){var B=h.tag,V=B===5||B===6;if(V)h=V?h.stateNode:h.stateNode.instance,S?I.insertBefore(h,S):I.appendChild(h);else if(B!==4&&(h=h.child,h!==null))for(Gl(h,S,I),h=h.sibling;h!==null;)Gl(h,S,I),h=h.sibling}function Lc(h,S,I){for(var B=S,V=!1,he,Se;;){if(!V){V=B.return;e:for(;;){if(V===null)throw Error(t(160));switch(he=V.stateNode,V.tag){case 5:Se=!1;break e;case 3:he=he.containerInfo,Se=!0;break e;case 4:he=he.containerInfo,Se=!0;break e}V=V.return}V=!0}if(B.tag===5||B.tag===6){e:for(var je=h,_t=B,Ct=I,pn=_t;;)if(gf(je,pn,Ct),pn.child!==null&&pn.tag!==4)pn.child.return=pn,pn=pn.child;else{if(pn===_t)break e;for(;pn.sibling===null;){if(pn.return===null||pn.return===_t)break e;pn=pn.return}pn.sibling.return=pn.return,pn=pn.sibling}Se?(je=he,_t=B.stateNode,je.nodeType===8?je.parentNode.removeChild(_t):je.removeChild(_t)):he.removeChild(B.stateNode)}else if(B.tag===4){if(B.child!==null){he=B.stateNode.containerInfo,Se=!0,B.child.return=B,B=B.child;continue}}else if(gf(h,B,I),B.child!==null){B.child.return=B,B=B.child;continue}if(B===S)break;for(;B.sibling===null;){if(B.return===null||B.return===S)return;B=B.return,B.tag===4&&(V=!1)}B.sibling.return=B.return,B=B.sibling}}function Ms(h,S){switch(S.tag){case 0:case 11:case 14:case 15:case 22:ws(3,S);return;case 1:return;case 5:var I=S.stateNode;if(I!=null){var B=S.memoizedProps,V=h!==null?h.memoizedProps:B;h=S.type;var he=S.updateQueue;if(S.updateQueue=null,he!==null){for(I[un]=B,h==="input"&&B.type==="radio"&&B.name!=null&&Or(I,B),Ce(h,V),S=Ce(h,B),V=0;V<he.length;V+=2){var Se=he[V],je=he[V+1];Se==="style"?ri(I,je):Se==="dangerouslySetInnerHTML"?Oi(I,je):Se==="children"?Zi(I,je):yt(I,Se,je,S)}switch(h){case"input":or(I,B);break;case"textarea":Pn(I,B);break;case"select":S=I._wrapperState.wasMultiple,I._wrapperState.wasMultiple=!!B.multiple,h=B.value,h!=null?Gi(I,!!B.multiple,h,!1):S!==!!B.multiple&&(B.defaultValue!=null?Gi(I,!!B.multiple,B.defaultValue,!0):Gi(I,!!B.multiple,B.multiple?[]:"",!1))}}}return;case 6:if(S.stateNode===null)throw Error(t(162));S.stateNode.nodeValue=S.memoizedProps;return;case 3:S=S.stateNode,S.hydrate&&(S.hydrate=!1,dr(S.containerInfo));return;case 12:return;case 13:if(I=S,S.memoizedState===null?B=!1:(B=!0,I=S.child,Hl=Ti()),I!==null)e:for(h=I;;){if(h.tag===5)he=h.stateNode,B?(he=he.style,typeof he.setProperty=="function"?he.setProperty("display","none","important"):he.display="none"):(he=h.stateNode,V=h.memoizedProps.style,V=V!=null&&V.hasOwnProperty("display")?V.display:null,he.style.display=Ci("display",V));else if(h.tag===6)h.stateNode.nodeValue=B?"":h.memoizedProps;else if(h.tag===13&&h.memoizedState!==null&&h.memoizedState.dehydrated===null){he=h.child.sibling,he.return=h,h=he;continue}else if(h.child!==null){h.child.return=h,h=h.child;continue}if(h===I)break;for(;h.sibling===null;){if(h.return===null||h.return===I)break e;h=h.return}h.sibling.return=h.return,h=h.sibling}Nc(S);return;case 19:Nc(S);return;case 17:return}throw Error(t(163))}function Nc(h){var S=h.updateQueue;if(S!==null){h.updateQueue=null;var I=h.stateNode;I===null&&(I=h.stateNode=new Ba),S.forEach(function(B){var V=Qf.bind(null,h,B);I.has(B)||(I.add(B),B.then(V,V))})}}var Wl=typeof WeakMap=="function"?WeakMap:Map;function kl(h,S,I){I=as(I,null),I.tag=3,I.payload={element:null};var B=S.value;return I.callback=function(){$i||($i=!0,Bc=B),Ia(h,S)},I}function Hu(h,S,I){I=as(I,null),I.tag=3;var B=h.type.getDerivedStateFromError;if(typeof B=="function"){var V=S.value;I.payload=function(){return Ia(h,S),B(V)}}var he=h.stateNode;return he!==null&&typeof he.componentDidCatch=="function"&&(I.callback=function(){typeof B!="function"&&(fs===null?fs=new Set([this]):fs.add(this),Ia(h,S));var Se=S.stack;this.componentDidCatch(S.value,{componentStack:Se!==null?Se:""})}),I}var mf=Math.ceil,Ku=Oe.ReactCurrentDispatcher,us=Oe.ReactCurrentOwner,Fi=0,Vu=8,to=16,vo=32,wa=0,iu=1,Uc=2,$u=3,Qu=4,Fc=5,er=Fi,Ai=null,rr=null,_a=0,Bi=wa,ls=null,ja=1073741823,Dn=1073741823,ko=null,cs=0,wo=!1,Hl=0,Kl=500,dn=null,$i=!1,Bc=null,fs=null,Xu=!1,Zu=null,au=90,Ds=null,Ju=0,Vl=null,no=0;function ii(){return(er&(to|vo))!==Fi?1073741821-(Ti()/10|0):no!==0?no:no=1073741821-(Ti()/10|0)}function ca(h,S,I){if(S=S.mode,!(S&2))return 1073741823;var B=Vs();if(!(S&4))return B===99?1073741823:1073741822;if((er&to)!==Fi)return _a;if(I!==null)h=bu(h,I.timeoutMs|0||5e3,250);else switch(B){case 99:h=1073741823;break;case 98:h=bu(h,150,100);break;case 97:case 96:h=bu(h,5e3,250);break;case 95:h=2;break;default:throw Error(t(326))}return Ai!==null&&h===_a&&--h,h}function fa(h,S){if(50<Ju)throw Ju=0,Vl=null,Error(t(185));if(h=Ls(h,S),h!==null){var I=Vs();S===1073741823?(er&Vu)!==Fi&&(er&(to|vo))===Fi?$l(h):(xi(h),er===Fi&&na()):xi(h),(er&4)===Fi||I!==98&&I!==99||(Ds===null?Ds=new Map([[h,S]]):(I=Ds.get(h),(I===void 0||I>S)&&Ds.set(h,S)))}}function Ls(h,S){h.expirationTime<S&&(h.expirationTime=S);var I=h.alternate;I!==null&&I.expirationTime<S&&(I.expirationTime=S);var B=h.return,V=null;if(B===null&&h.tag===3)V=h.stateNode;else for(;B!==null;){if(I=B.alternate,B.childExpirationTime<S&&(B.childExpirationTime=S),I!==null&&I.childExpirationTime<S&&(I.childExpirationTime=S),B.return===null&&B.tag===3){V=B.stateNode;break}B=B.return}return V!==null&&(Ai===V&&(Yu(S),Bi===Qu&&Do(V,_a)),Tf(V,S)),V}function ho(h){var S=h.lastExpiredTime;if(S!==0||(S=h.firstPendingTime,!Pf(h,S)))return S;var I=h.lastPingedTime;return h=h.nextKnownPendingLevel,h=I>h?I:h,2>=h&&S!==h?0:h}function xi(h){if(h.lastExpiredTime!==0)h.callbackExpirationTime=1073741823,h.callbackPriority=99,h.callbackNode=mc($l.bind(null,h));else{var S=ho(h),I=h.callbackNode;if(S===0)I!==null&&(h.callbackNode=null,h.callbackExpirationTime=0,h.callbackPriority=90);else{var B=ii();if(S===1073741823?B=99:S===1||S===2?B=95:(B=10*(1073741821-S)-10*(1073741821-B),B=0>=B?99:250>=B?98:5250>=B?97:95),I!==null){var V=h.callbackPriority;if(h.callbackExpirationTime===S&&V>=B)return;I!==sf&&sr(I)}h.callbackExpirationTime=S,h.callbackPriority=B,S=S===1073741823?mc($l.bind(null,h)):lf(B,ds.bind(null,h),{timeout:10*(1073741821-S)-Ti()}),h.callbackNode=S}}}function ds(h,S){if(no=0,S)return S=ii(),Hc(h,S),xi(h),null;var I=ho(h);if(I!==0){if(S=h.callbackNode,(er&(to|vo))!==Fi)throw Error(t(327));if(Ra(),h===Ai&&I===_a||Ns(h,I),rr!==null){var B=er;er|=to;var V=Ql();do try{jc();break}catch(je){bf(h,je)}while(!0);if(Ec(),er=B,Ku.current=V,Bi===iu)throw S=ls,Ns(h,I),Do(h,I),xi(h),S;if(rr===null)switch(V=h.finishedWork=h.current.alternate,h.finishedExpirationTime=I,B=Bi,Ai=null,B){case wa:case iu:throw Error(t(345));case Uc:Hc(h,2<I?2:I);break;case $u:if(Do(h,I),B=h.lastSuspendedTime,I===B&&(h.nextKnownPendingLevel=Yl(V)),ja===1073741823&&(V=Hl+Kl-Ti(),10<V)){if(wo){var he=h.lastPingedTime;if(he===0||he>=I){h.lastPingedTime=I,Ns(h,I);break}}if(he=ho(h),he!==0&&he!==I)break;if(B!==0&&B!==I){h.lastPingedTime=B;break}h.timeoutHandle=ut(hs.bind(null,h),V);break}hs(h);break;case Qu:if(Do(h,I),B=h.lastSuspendedTime,I===B&&(h.nextKnownPendingLevel=Yl(V)),wo&&(V=h.lastPingedTime,V===0||V>=I)){h.lastPingedTime=I,Ns(h,I);break}if(V=ho(h),V!==0&&V!==I)break;if(B!==0&&B!==I){h.lastPingedTime=B;break}if(Dn!==1073741823?B=10*(1073741821-Dn)-Ti():ja===1073741823?B=0:(B=10*(1073741821-ja)-5e3,V=Ti(),I=10*(1073741821-I)-V,B=V-B,0>B&&(B=0),B=(120>B?120:480>B?480:1080>B?1080:1920>B?1920:3e3>B?3e3:4320>B?4320:1960*mf(B/1960))-B,I<B&&(B=I)),10<B){h.timeoutHandle=ut(hs.bind(null,h),B);break}hs(h);break;case Fc:if(ja!==1073741823&&ko!==null){he=ja;var Se=ko;if(B=Se.busyMinDurationMs|0,0>=B?B=0:(V=Se.busyDelayMs|0,he=Ti()-(10*(1073741821-he)-(Se.timeoutMs|0||5e3)),B=he<=V?0:V+B-he),10<B){Do(h,I),h.timeoutHandle=ut(hs.bind(null,h),B);break}}hs(h);break;default:throw Error(t(329))}if(xi(h),h.callbackNode===S)return ds.bind(null,h)}}return null}function $l(h){var S=h.lastExpiredTime;if(S=S!==0?S:1073741823,(er&(to|vo))!==Fi)throw Error(t(327));if(Ra(),h===Ai&&S===_a||Ns(h,S),rr!==null){var I=er;er|=to;var B=Ql();do try{Zl();break}catch(V){bf(h,V)}while(!0);if(Ec(),er=I,Ku.current=B,Bi===iu)throw I=ls,Ns(h,S),Do(h,S),xi(h),I;if(rr!==null)throw Error(t(261));h.finishedWork=h.current.alternate,h.finishedExpirationTime=S,Ai=null,hs(h),xi(h)}return null}function yf(){if(Ds!==null){var h=Ds;Ds=null,h.forEach(function(S,I){Hc(I,S),xi(I)}),na()}}function Ef(h,S){var I=er;er|=1;try{return h(S)}finally{er=I,er===Fi&&na()}}function Sf(h,S){var I=er;er&=-2,er|=Vu;try{return h(S)}finally{er=I,er===Fi&&na()}}function Ns(h,S){h.finishedWork=null,h.finishedExpirationTime=0;var I=h.timeoutHandle;if(I!==-1&&(h.timeoutHandle=-1,ft(I)),rr!==null)for(I=rr.return;I!==null;){var B=I;switch(B.tag){case 1:B=B.type.childContextTypes,B!=null&&es();break;case 3:Li(),Wr(xa),Wr(la);break;case 5:bc(B);break;case 4:Li();break;case 13:Wr(yi);break;case 19:Wr(yi);break;case 10:bl(B)}I=I.return}Ai=h,rr=Fs(h.current,null),_a=S,Bi=wa,ls=null,Dn=ja=1073741823,ko=null,cs=0,wo=!1}function bf(h,S){do{try{if(Ec(),Iu.current=tu,xl)for(var I=Ni.memoizedState;I!==null;){var B=I.queue;B!==null&&(B.pending=null),I=I.next}if(co=0,Ei=Oa=Ni=null,xl=!1,rr===null||rr.return===null)return Bi=iu,ls=S,rr=null;e:{var V=h,he=rr.return,Se=rr,je=S;if(S=_a,Se.effectTag|=2048,Se.firstEffect=Se.lastEffect=null,je!==null&&typeof je=="object"&&typeof je.then=="function"){var _t=je;if(!(Se.mode&2)){var Ct=Se.alternate;Ct?(Se.updateQueue=Ct.updateQueue,Se.memoizedState=Ct.memoizedState,Se.expirationTime=Ct.expirationTime):(Se.updateQueue=null,Se.memoizedState=null)}var pn=(yi.current&1)!==0,_n=he;do{var lr;if(lr=_n.tag===13){var Nr=_n.memoizedState;if(Nr!==null)lr=Nr.dehydrated!==null;else{var ro=_n.memoizedProps;lr=ro.fallback===void 0?!1:ro.unstable_avoidThisFallback!==!0?!0:!pn}}if(lr){var ra=_n.updateQueue;if(ra===null){var vt=new Set;vt.add(_t),_n.updateQueue=vt}else ra.add(_t);if(!(_n.mode&2)){if(_n.effectTag|=64,Se.effectTag&=-2981,Se.tag===1)if(Se.alternate===null)Se.tag=17;else{var lt=as(1073741823,null);lt.tag=2,Po(Se,lt)}Se.expirationTime=1073741823;break e}je=void 0,Se=S;var Mt=V.pingCache;if(Mt===null?(Mt=V.pingCache=new Wl,je=new Set,Mt.set(_t,je)):(je=Mt.get(_t),je===void 0&&(je=new Set,Mt.set(_t,je))),!je.has(Se)){je.add(Se);var Xt=$f.bind(null,V,_t,Se);_t.then(Xt,Xt)}_n.effectTag|=4096,_n.expirationTime=S;break e}_n=_n.return}while(_n!==null);je=Error((St(Se.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display."+Gt(Se))}Bi!==Fc&&(Bi=Uc),je=Wu(je,Se),_n=he;do{switch(_n.tag){case 3:_t=je,_n.effectTag|=4096,_n.expirationTime=S;var fn=kl(_n,_t,S);$s(_n,fn);break e;case 1:_t=je;var Tn=_n.type,Xn=_n.stateNode;if(!(_n.effectTag&64)&&(typeof Tn.getDerivedStateFromError=="function"||Xn!==null&&typeof Xn.componentDidCatch=="function"&&(fs===null||!fs.has(Xn)))){_n.effectTag|=4096,_n.expirationTime=S;var Pr=Hu(_n,_t,S);$s(_n,Pr);break e}}_n=_n.return}while(_n!==null)}rr=Jl(rr)}catch(ai){S=ai;continue}break}while(!0)}function Ql(){var h=Ku.current;return Ku.current=tu,h===null?tu:h}function Xl(h,S){h<ja&&2<h&&(ja=h),S!==null&&h<Dn&&2<h&&(Dn=h,ko=S)}function Yu(h){h>cs&&(cs=h)}function Zl(){for(;rr!==null;)rr=vs(rr)}function jc(){for(;rr!==null&&!Nn();)rr=vs(rr)}function vs(h){var S=Cf(h.alternate,h,_a);return h.memoizedProps=h.pendingProps,S===null&&(S=Jl(h)),us.current=null,S}function Jl(h){rr=h;do{var S=rr.alternate;if(h=rr.return,rr.effectTag&2048){if(S=pf(rr),S!==null)return S.effectTag&=2047,S;h!==null&&(h.firstEffect=h.lastEffect=null,h.effectTag|=2048)}else{if(S=hf(S,rr,_a),_a===1||rr.childExpirationTime!==1){for(var I=0,B=rr.child;B!==null;){var V=B.expirationTime,he=B.childExpirationTime;V>I&&(I=V),he>I&&(I=he),B=B.sibling}rr.childExpirationTime=I}if(S!==null)return S;h!==null&&!(h.effectTag&2048)&&(h.firstEffect===null&&(h.firstEffect=rr.firstEffect),rr.lastEffect!==null&&(h.lastEffect!==null&&(h.lastEffect.nextEffect=rr.firstEffect),h.lastEffect=rr.lastEffect),1<rr.effectTag&&(h.lastEffect!==null?h.lastEffect.nextEffect=rr:h.firstEffect=rr,h.lastEffect=rr))}if(S=rr.sibling,S!==null)return S;rr=h}while(rr!==null);return Bi===wa&&(Bi=Fc),null}function Yl(h){var S=h.expirationTime;return h=h.childExpirationTime,S>h?S:h}function hs(h){var S=Vs();return ns(99,ql.bind(null,h,S)),null}function ql(h,S){do Ra();while(Zu!==null);if((er&(to|vo))!==Fi)throw Error(t(327));var I=h.finishedWork,B=h.finishedExpirationTime;if(I===null)return null;if(h.finishedWork=null,h.finishedExpirationTime=0,I===h.current)throw Error(t(177));h.callbackNode=null,h.callbackExpirationTime=0,h.callbackPriority=90,h.nextKnownPendingLevel=0;var V=Yl(I);if(h.firstPendingTime=V,B<=h.lastSuspendedTime?h.firstSuspendedTime=h.lastSuspendedTime=h.nextKnownPendingLevel=0:B<=h.firstSuspendedTime&&(h.firstSuspendedTime=B-1),B<=h.lastPingedTime&&(h.lastPingedTime=0),B<=h.lastExpiredTime&&(h.lastExpiredTime=0),h===Ai&&(rr=Ai=null,_a=0),1<I.effectTag?I.lastEffect!==null?(I.lastEffect.nextEffect=I,V=I.firstEffect):V=I:V=I.firstEffect,V!==null){var he=er;er|=vo,us.current=null,Be=Ta;var Se=mn();if($n(Se)){if("selectionStart"in Se)var je={start:Se.selectionStart,end:Se.selectionEnd};else e:{je=(je=Se.ownerDocument)&&je.defaultView||window;var _t=je.getSelection&&je.getSelection();if(_t&&_t.rangeCount!==0){je=_t.anchorNode;var Ct=_t.anchorOffset,pn=_t.focusNode;_t=_t.focusOffset;try{je.nodeType,pn.nodeType}catch(cr){je=null;break e}var _n=0,lr=-1,Nr=-1,ro=0,ra=0,vt=Se,lt=null;t:for(;;){for(var Mt;vt!==je||Ct!==0&&vt.nodeType!==3||(lr=_n+Ct),vt!==pn||_t!==0&&vt.nodeType!==3||(Nr=_n+_t),vt.nodeType===3&&(_n+=vt.nodeValue.length),(Mt=vt.firstChild)!==null;)lt=vt,vt=Mt;for(;;){if(vt===Se)break t;if(lt===je&&++ro===Ct&&(lr=_n),lt===pn&&++ra===_t&&(Nr=_n),(Mt=vt.nextSibling)!==null)break;vt=lt,lt=vt.parentNode}vt=Mt}je=lr===-1||Nr===-1?null:{start:lr,end:Nr}}else je=null}je=je||{start:0,end:0}}else je=null;Ke={activeElementDetached:null,focusedElem:Se,selectionRange:je},Ta=!1,dn=V;do try{Of()}catch(cr){if(dn===null)throw Error(t(330));ps(dn,cr),dn=dn.nextEffect}while(dn!==null);dn=V;do try{for(Se=h,je=S;dn!==null;){var Xt=dn.effectTag;if(Xt&16&&Zi(dn.stateNode,""),Xt&128){var fn=dn.alternate;if(fn!==null){var Tn=fn.ref;Tn!==null&&(typeof Tn=="function"?Tn(null):Tn.current=null)}}switch(Xt&1038){case 2:ss(dn),dn.effectTag&=-3;break;case 6:ss(dn),dn.effectTag&=-3,Ms(dn.alternate,dn);break;case 1024:dn.effectTag&=-1025;break;case 1028:dn.effectTag&=-1025,Ms(dn.alternate,dn);break;case 4:Ms(dn.alternate,dn);break;case 8:Ct=dn,Lc(Se,Ct,je),zl(Ct)}dn=dn.nextEffect}}catch(cr){if(dn===null)throw Error(t(330));ps(dn,cr),dn=dn.nextEffect}while(dn!==null);if(Tn=Ke,fn=mn(),Xt=Tn.focusedElem,je=Tn.selectionRange,fn!==Xt&&Xt&&Xt.ownerDocument&&xn(Xt.ownerDocument.documentElement,Xt)){for(je!==null&&$n(Xt)&&(fn=je.start,Tn=je.end,Tn===void 0&&(Tn=fn),"selectionStart"in Xt?(Xt.selectionStart=fn,Xt.selectionEnd=Math.min(Tn,Xt.value.length)):(Tn=(fn=Xt.ownerDocument||document)&&fn.defaultView||window,Tn.getSelection&&(Tn=Tn.getSelection(),Ct=Xt.textContent.length,Se=Math.min(je.start,Ct),je=je.end===void 0?Se:Math.min(je.end,Ct),!Tn.extend&&Se>je&&(Ct=je,je=Se,Se=Ct),Ct=qt(Xt,Se),pn=qt(Xt,je),Ct&&pn&&(Tn.rangeCount!==1||Tn.anchorNode!==Ct.node||Tn.anchorOffset!==Ct.offset||Tn.focusNode!==pn.node||Tn.focusOffset!==pn.offset)&&(fn=fn.createRange(),fn.setStart(Ct.node,Ct.offset),Tn.removeAllRanges(),Se>je?(Tn.addRange(fn),Tn.extend(pn.node,pn.offset)):(fn.setEnd(pn.node,pn.offset),Tn.addRange(fn)))))),fn=[],Tn=Xt;Tn=Tn.parentNode;)Tn.nodeType===1&&fn.push({element:Tn,left:Tn.scrollLeft,top:Tn.scrollTop});for(typeof Xt.focus=="function"&&Xt.focus(),Xt=0;Xt<fn.length;Xt++)Tn=fn[Xt],Tn.element.scrollLeft=Tn.left,Tn.element.scrollTop=Tn.top}Ta=!!Be,Ke=Be=null,h.current=I,dn=V;do try{for(Xt=h;dn!==null;){var Xn=dn.effectTag;if(Xn&36&&ku(Xt,dn.alternate,dn),Xn&128){fn=void 0;var Pr=dn.ref;if(Pr!==null){var ai=dn.stateNode;switch(dn.tag){case 5:fn=ai;break;default:fn=ai}typeof Pr=="function"?Pr(fn):Pr.current=fn}}dn=dn.nextEffect}}catch(cr){if(dn===null)throw Error(t(330));ps(dn,cr),dn=dn.nextEffect}while(dn!==null);dn=null,kf(),er=he}else h.current=I;if(Xu)Xu=!1,Zu=h,au=S;else for(dn=V;dn!==null;)S=dn.nextEffect,dn.nextEffect=null,dn=S;if(S=h.firstPendingTime,S===0&&(fs=null),S===1073741823?h===Vl?Ju++:(Ju=0,Vl=h):Ju=0,typeof zc=="function"&&zc(I.stateNode,B),xi(h),$i)throw $i=!1,h=Bc,Bc=null,h;return(er&Vu)!==Fi||na(),null}function Of(){for(;dn!==null;){var h=dn.effectTag;h&256&&jl(dn.alternate,dn),!(h&512)||Xu||(Xu=!0,lf(97,function(){return Ra(),null})),dn=dn.nextEffect}}function Ra(){if(au!==90){var h=97<au?97:au;return au=90,ns(h,Us)}}function Us(){if(Zu===null)return!1;var h=Zu;if(Zu=null,(er&(to|vo))!==Fi)throw Error(t(331));var S=er;for(er|=vo,h=h.current.firstEffect;h!==null;){try{var I=h;if(I.effectTag&512)switch(I.tag){case 0:case 11:case 15:case 22:ws(5,I),Mc(5,I)}}catch(B){if(h===null)throw Error(t(330));ps(h,B)}I=h.nextEffect,h.nextEffect=null,h=I}return er=S,na(),!0}function _f(h,S,I){S=Wu(I,S),S=kl(h,S,1073741823),Po(h,S),h=Ls(h,1073741823),h!==null&&xi(h)}function ps(h,S){if(h.tag===3)_f(h,h,S);else for(var I=h.return;I!==null;){if(I.tag===3){_f(I,h,S);break}else if(I.tag===1){var B=I.stateNode;if(typeof I.type.getDerivedStateFromError=="function"||typeof B.componentDidCatch=="function"&&(fs===null||!fs.has(B))){h=Wu(S,h),h=Hu(I,h,1073741823),Po(I,h),I=Ls(I,1073741823),I!==null&&xi(I);break}}I=I.return}}function $f(h,S,I){var B=h.pingCache;B!==null&&B.delete(S),Ai===h&&_a===I?Bi===Qu||Bi===$u&&ja===1073741823&&Ti()-Hl<Kl?Ns(h,_a):wo=!0:Pf(h,I)&&(S=h.lastPingedTime,S!==0&&S<I||(h.lastPingedTime=I,xi(h)))}function Qf(h,S){var I=h.stateNode;I!==null&&I.delete(S),S=0,S===0&&(S=ii(),S=ca(S,h,null)),h=Ls(h,S),h!==null&&xi(h)}var Cf;Cf=function(h,S,I){var B=S.expirationTime;if(h!==null){var V=S.pendingProps;if(h.memoizedProps!==V||xa.current)Si=!0;else{if(B<I){switch(Si=!1,S.tag){case 3:Fl(S),Nl();break;case 5:if(Al(S),S.mode&4&&I!==1&&V.hidden)return S.expirationTime=S.childExpirationTime=1,null;break;case 1:Ea(S.type)&&ye(S);break;case 4:Tl(S,S.stateNode.containerInfo);break;case 10:B=S.memoizedProps.value,V=S.type._context,ti(Ou,V._currentValue),V._currentValue=B;break;case 13:if(S.memoizedState!==null)return B=S.child.childExpirationTime,B!==0&&B>=I?vf(h,S,I):(ti(yi,yi.current&1),S=fo(h,S,I),S!==null?S.sibling:null);ti(yi,yi.current&1);break;case 19:if(B=S.childExpirationTime>=I,h.effectTag&64){if(B)return xc(h,S,I);S.effectTag|=64}if(V=S.memoizedState,V!==null&&(V.rendering=null,V.tail=null),ti(yi,yi.current),!B)return null}return fo(h,S,I)}Si=!1}}else Si=!1;switch(S.expirationTime=0,S.tag){case 2:if(B=S.type,h!==null&&(h.alternate=null,S.alternate=null,S.effectTag|=2),h=S.pendingProps,V=_s(S,la.current),is(S,I),V=Il(null,S,B,h,V,I),S.effectTag|=1,typeof V=="object"&&V!==null&&typeof V.render=="function"&&V.$$typeof===void 0){if(S.tag=1,S.memoizedState=null,S.updateQueue=null,Ea(B)){var he=!0;ye(S)}else he=!1;S.memoizedState=V.state!==null&&V.state!==void 0?V.state:null,Ps(S);var Se=B.getDerivedStateFromProps;typeof Se=="function"&&_l(S,B,Se,h),V.updater=Cu,S.stateNode=V,V._reactInternalFiber=S,Cl(S,B,h,I),S=ju(null,S,B,!0,he,I)}else S.tag=0,Ui(null,S,V,I),S=S.child;return S;case 16:e:{if(V=S.elementType,h!==null&&(h.alternate=null,S.alternate=null,S.effectTag|=2),h=S.pendingProps,tt(V),V._status!==1)throw V._result;switch(V=V._result,S.type=V,he=S.tag=Zf(V),h=vi(V,h),he){case 0:S=Bu(null,S,V,h,I);break e;case 1:S=Ac(null,S,V,h,I);break e;case 11:S=Ul(null,S,V,h,I);break e;case 14:S=Tc(null,S,V,vi(V.type,h),B,I);break e}throw Error(t(306,V,""))}return S;case 0:return B=S.type,V=S.pendingProps,V=S.elementType===B?V:vi(B,V),Bu(h,S,B,V,I);case 1:return B=S.type,V=S.pendingProps,V=S.elementType===B?V:vi(B,V),Ac(h,S,B,V,I);case 3:if(Fl(S),B=S.updateQueue,h===null||B===null)throw Error(t(282));if(B=S.pendingProps,V=S.memoizedState,V=V!==null?V.element:null,Co(h,S),$a(S,B,null,I),B=S.memoizedState.element,B===V)Nl(),S=fo(h,S,I);else{if((V=S.stateNode.hydrate)&&(jo=Nt(S.stateNode.containerInfo.firstChild),Za=S,V=Is=!0),V)for(I=Xs(S,null,B,I),S.child=I;I;)I.effectTag=I.effectTag&-3|1024,I=I.sibling;else Ui(h,S,B,I),Nl();S=S.child}return S;case 5:return Al(S),h===null&&Pc(S),B=S.type,V=S.pendingProps,he=h!==null?h.memoizedProps:null,Se=V.children,Ye(B,V)?Se=null:he!==null&&Ye(B,he)&&(S.effectTag|=16),nu(h,S),S.mode&4&&I!==1&&V.hidden?(S.expirationTime=S.childExpirationTime=1,S=null):(Ui(h,S,Se,I),S=S.child),S;case 6:return h===null&&Pc(S),null;case 13:return vf(h,S,I);case 4:return Tl(S,S.stateNode.containerInfo),B=S.pendingProps,h===null?S.child=mi(S,null,B,I):Ui(h,S,B,I),S.child;case 11:return B=S.type,V=S.pendingProps,V=S.elementType===B?V:vi(B,V),Ul(h,S,B,V,I);case 7:return Ui(h,S,S.pendingProps,I),S.child;case 8:return Ui(h,S,S.pendingProps.children,I),S.child;case 12:return Ui(h,S,S.pendingProps.children,I),S.child;case 10:e:{B=S.type._context,V=S.pendingProps,Se=S.memoizedProps,he=V.value;var je=S.type._context;if(ti(Ou,je._currentValue),je._currentValue=he,Se!==null)if(je=Se.value,he=Na(je,he)?0:(typeof B._calculateChangedBits=="function"?B._calculateChangedBits(je,he):1073741823)|0,he===0){if(Se.children===V.children&&!xa.current){S=fo(h,S,I);break e}}else for(je=S.child,je!==null&&(je.return=S);je!==null;){var _t=je.dependencies;if(_t!==null){Se=je.child;for(var Ct=_t.firstContext;Ct!==null;){if(Ct.context===B&&Ct.observedBits&he){je.tag===1&&(Ct=as(I,null),Ct.tag=2,Po(je,Ct)),je.expirationTime<I&&(je.expirationTime=I),Ct=je.alternate,Ct!==null&&Ct.expirationTime<I&&(Ct.expirationTime=I),Sc(je.return,I),_t.expirationTime<I&&(_t.expirationTime=I);break}Ct=Ct.next}}else Se=je.tag===10&&je.type===S.type?null:je.child;if(Se!==null)Se.return=je;else for(Se=je;Se!==null;){if(Se===S){Se=null;break}if(je=Se.sibling,je!==null){je.return=Se.return,Se=je;break}Se=Se.return}je=Se}Ui(h,S,V.children,I),S=S.child}return S;case 9:return V=S.type,he=S.pendingProps,B=he.children,is(S,I),V=eo(V,he.unstable_observedBits),B=B(V),S.effectTag|=1,Ui(h,S,B,I),S.child;case 14:return V=S.type,he=vi(V,S.pendingProps),he=vi(V.type,he),Tc(h,S,V,he,B,I);case 15:return Go(h,S,S.type,S.pendingProps,B,I);case 17:return B=S.type,V=S.pendingProps,V=S.elementType===B?V:vi(B,V),h!==null&&(h.alternate=null,S.alternate=null,S.effectTag|=2),S.tag=1,Ea(B)?(h=!0,ye(S)):h=!1,is(S,I),Qs(S,B,V),Cl(S,B,V,I),ju(null,S,B,!0,h,I);case 19:return xc(h,S,I)}throw Error(t(156,S.tag))};var zc=null,Gc=null;function Xf(h){if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined")return!1;var S=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(S.isDisabled||!S.supportsFiber)return!0;try{var I=S.inject(h);zc=function(B){try{S.onCommitFiberRoot(I,B,void 0,(B.current.effectTag&64)===64)}catch(V){}},Gc=function(B){try{S.onCommitFiberUnmount(I,B)}catch(V){}}}catch(B){}return!0}function ec(h,S,I,B){this.tag=h,this.key=I,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=S,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=B,this.effectTag=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childExpirationTime=this.expirationTime=0,this.alternate=null}function Ro(h,S,I,B){return new ec(h,S,I,B)}function tc(h){return h=h.prototype,!(!h||!h.isReactComponent)}function Zf(h){if(typeof h=="function")return tc(h)?1:0;if(h!=null){if(h=h.$$typeof,h===ln)return 11;if(h===Ue)return 14}return 2}function Fs(h,S){var I=h.alternate;return I===null?(I=Ro(h.tag,S,h.key,h.mode),I.elementType=h.elementType,I.type=h.type,I.stateNode=h.stateNode,I.alternate=h,h.alternate=I):(I.pendingProps=S,I.effectTag=0,I.nextEffect=null,I.firstEffect=null,I.lastEffect=null),I.childExpirationTime=h.childExpirationTime,I.expirationTime=h.expirationTime,I.child=h.child,I.memoizedProps=h.memoizedProps,I.memoizedState=h.memoizedState,I.updateQueue=h.updateQueue,S=h.dependencies,I.dependencies=S===null?null:{expirationTime:S.expirationTime,firstContext:S.firstContext,responders:S.responders},I.sibling=h.sibling,I.index=h.index,I.ref=h.ref,I}function ou(h,S,I,B,V,he){var Se=2;if(B=h,typeof h=="function")tc(h)&&(Se=1);else if(typeof h=="string")Se=5;else e:switch(h){case zt:return Mo(I.children,V,he,S);case on:Se=8,V|=7;break;case nn:Se=8,V|=1;break;case st:return h=Ro(12,I,S,V|8),h.elementType=st,h.type=st,h.expirationTime=he,h;case te:return h=Ro(13,I,S,V),h.type=te,h.elementType=te,h.expirationTime=he,h;case Ee:return h=Ro(19,I,S,V),h.elementType=Ee,h.expirationTime=he,h;default:if(typeof h=="object"&&h!==null)switch(h.$$typeof){case Ut:Se=10;break e;case Jt:Se=9;break e;case ln:Se=11;break e;case Ue:Se=14;break e;case ze:Se=16,B=null;break e;case Ve:Se=22;break e}throw Error(t(130,h==null?h:typeof h,""))}return S=Ro(Se,I,S,V),S.elementType=h,S.type=B,S.expirationTime=he,S}function Mo(h,S,I,B){return h=Ro(7,h,B,S),h.expirationTime=I,h}function nc(h,S,I){return h=Ro(6,h,null,S),h.expirationTime=I,h}function Wc(h,S,I){return S=Ro(4,h.children!==null?h.children:[],h.key,S),S.expirationTime=I,S.stateNode={containerInfo:h.containerInfo,pendingChildren:null,implementation:h.implementation},S}function kc(h,S,I){this.tag=S,this.current=null,this.containerInfo=h,this.pingCache=this.pendingChildren=null,this.finishedExpirationTime=0,this.finishedWork=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=I,this.callbackNode=null,this.callbackPriority=90,this.lastExpiredTime=this.lastPingedTime=this.nextKnownPendingLevel=this.lastSuspendedTime=this.firstSuspendedTime=this.firstPendingTime=0}function Pf(h,S){var I=h.firstSuspendedTime;return h=h.lastSuspendedTime,I!==0&&I>=S&&h<=S}function Do(h,S){var I=h.firstSuspendedTime,B=h.lastSuspendedTime;I<S&&(h.firstSuspendedTime=S),(B>S||I===0)&&(h.lastSuspendedTime=S),S<=h.lastPingedTime&&(h.lastPingedTime=0),S<=h.lastExpiredTime&&(h.lastExpiredTime=0)}function Tf(h,S){S>h.firstPendingTime&&(h.firstPendingTime=S);var I=h.firstSuspendedTime;I!==0&&(S>=I?h.firstSuspendedTime=h.lastSuspendedTime=h.nextKnownPendingLevel=0:S>=h.lastSuspendedTime&&(h.lastSuspendedTime=S+1),S>h.nextKnownPendingLevel&&(h.nextKnownPendingLevel=S))}function Hc(h,S){var I=h.lastExpiredTime;(I===0||I>S)&&(h.lastExpiredTime=S)}function su(h,S,I,B){var V=S.current,he=ii(),Se=Ua.suspense;he=ca(he,V,Se);e:if(I){I=I._reactInternalFiber;t:{if(si(I)!==I||I.tag!==1)throw Error(t(170));var je=I;do{switch(je.tag){case 3:je=je.stateNode.context;break t;case 1:if(Ea(je.type)){je=je.stateNode.__reactInternalMemoizedMergedChildContext;break t}}je=je.return}while(je!==null);throw Error(t(171))}if(I.tag===1){var _t=I.type;if(Ea(_t)){I=gl(I,_t,je);break e}}I=je}else I=di;return S.context===null?S.context=I:S.pendingContext=I,S=as(he,Se),S.payload={element:h},B=B===void 0?null:B,B!==null&&(S.callback=B),Po(V,S),fa(V,he),he}function Kc(h){if(h=h.current,!h.child)return null;switch(h.child.tag){case 5:return h.child.stateNode;default:return h.child.stateNode}}function Af(h,S){h=h.memoizedState,h!==null&&h.dehydrated!==null&&h.retryTime<S&&(h.retryTime=S)}function qu(h,S){Af(h,S),(h=h.alternate)&&Af(h,S)}function za(h,S,I){I=I!=null&&I.hydrate===!0;var B=new kc(h,S,I),V=Ro(3,null,null,S===2?7:S===1?3:0);B.current=V,V.stateNode=B,Ps(V),h[bt]=B.current,I&&S!==0&&ma(h,h.nodeType===9?h:h.ownerDocument),this._internalRoot=B}za.prototype.render=function(h){su(h,this._internalRoot,null,null)},za.prototype.unmount=function(){var h=this._internalRoot,S=h.containerInfo;su(null,h,null,function(){S[bt]=null})};function uu(h){return!(!h||h.nodeType!==1&&h.nodeType!==9&&h.nodeType!==11&&(h.nodeType!==8||h.nodeValue!==" react-mount-point-unstable "))}function Jf(h,S){if(S||(S=h?h.nodeType===9?h.documentElement:h.firstChild:null,S=!(!S||S.nodeType!==1||!S.hasAttribute("data-reactroot"))),!S)for(var I;I=h.lastChild;)h.removeChild(I);return new za(h,0,S?{hydrate:!0}:void 0)}function rc(h,S,I,B,V){var he=I._reactRootContainer;if(he){var Se=he._internalRoot;if(typeof V=="function"){var je=V;V=function(){var Ct=Kc(Se);je.call(Ct)}}su(S,Se,h,V)}else{if(he=I._reactRootContainer=Jf(I,B),Se=he._internalRoot,typeof V=="function"){var _t=V;V=function(){var Ct=Kc(Se);_t.call(Ct)}}Sf(function(){su(S,Se,h,V)})}return Kc(Se)}function xf(h,S,I){var B=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:Xe,key:B==null?null:""+B,children:h,containerInfo:S,implementation:I}}bn=function(h){if(h.tag===13){var S=bu(ii(),150,100);fa(h,S),qu(h,S)}},kn=function(h){h.tag===13&&(fa(h,3),qu(h,3))},Ar=function(h){if(h.tag===13){var S=ii();S=ca(S,h,null),fa(h,S),qu(h,S)}},G=function(h,S,I){switch(S){case"input":if(or(h,I),S=I.name,I.type==="radio"&&S!=null){for(I=h;I.parentNode;)I=I.parentNode;for(I=I.querySelectorAll("input[name="+JSON.stringify(""+S)+'][type="radio"]'),S=0;S<I.length;S++){var B=I[S];if(B!==h&&B.form===h.form){var V=zn(B);if(!V)throw Error(t(90));kr(B),or(B,V)}}}break;case"textarea":Pn(h,I);break;case"select":S=I.value,S!=null&&Gi(h,!!I.multiple,S,!1)}},X=Ef,k=function(h,S,I,B,V){var he=er;er|=4;try{return ns(98,h.bind(null,S,I,B,V))}finally{er=he,er===Fi&&na()}},ne=function(){(er&(1|to|vo))===Fi&&(yf(),Ra())},re=function(h,S){var I=er;er|=2;try{return h(S)}finally{er=I,er===Fi&&na()}};function If(h,S){var I=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!uu(S))throw Error(t(200));return xf(h,S,null,I)}var Yf={Events:[Cn,rn,zn,j,x,mr,function(h){Yr(h,fi)},q,H,Rr,Re,Ra,{current:!1}]};(function(h){var S=h.findFiberByHostInstance;return Xf(n({},h,{overrideHookState:null,overrideProps:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:Oe.ReactCurrentDispatcher,findHostInstanceByFiber:function(I){return I=ga(I),I===null?null:I.stateNode},findFiberByHostInstance:function(I){return S?S(I):null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null}))})({findFiberByHostInstance:In,bundleType:0,version:"16.14.0",rendererPackageName:"react-dom"}),l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Yf,l.createPortal=If,l.findDOMNode=function(h){if(h==null)return null;if(h.nodeType===1)return h;var S=h._reactInternalFiber;if(S===void 0)throw typeof h.render=="function"?Error(t(188)):Error(t(268,Object.keys(h)));return h=ga(S),h=h===null?null:h.stateNode,h},l.flushSync=function(h,S){if((er&(to|vo))!==Fi)throw Error(t(187));var I=er;er|=1;try{return ns(99,h.bind(null,S))}finally{er=I,na()}},l.hydrate=function(h,S,I){if(!uu(S))throw Error(t(200));return rc(null,h,S,!0,I)},l.render=function(h,S,I){if(!uu(S))throw Error(t(200));return rc(null,h,S,!1,I)},l.unmountComponentAtNode=function(h){if(!uu(h))throw Error(t(40));return h._reactRootContainer?(Sf(function(){rc(null,null,h,!1,function(){h._reactRootContainer=null,h[bt]=null})}),!0):!1},l.unstable_batchedUpdates=Ef,l.unstable_createPortal=function(h,S){return If(h,S,2<arguments.length&&arguments[2]!==void 0?arguments[2]:null)},l.unstable_renderSubtreeIntoContainer=function(h,S,I,B){if(!uu(I))throw Error(t(200));if(h==null||h._reactInternalFiber===void 0)throw Error(t(38));return rc(h,S,I,!1,B)},l.version="16.14.0"},439806:function(y,l,e){"use strict";function a(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__=="undefined"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(a)}catch(n){console.error(n)}}a(),y.exports=e(677076)},739847:function(y,l){"use strict";/** @license React v16.13.1
61 * react-is.production.min.js
62 *
63 * Copyright (c) Facebook, Inc. and its affiliates.
64 *
65 * This source code is licensed under the MIT license found in the
66 * LICENSE file in the root directory of this source tree.
67 */var e=typeof Symbol=="function"&&Symbol.for,a=e?Symbol.for("react.element"):60103,n=e?Symbol.for("react.portal"):60106,o=e?Symbol.for("react.fragment"):60107,t=e?Symbol.for("react.strict_mode"):60108,r=e?Symbol.for("react.profiler"):60114,i=e?Symbol.for("react.provider"):60109,c=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,s=e?Symbol.for("react.forward_ref"):60112,f=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,v=e?Symbol.for("react.memo"):60115,g=e?Symbol.for("react.lazy"):60116,m=e?Symbol.for("react.block"):60121,b=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,A=e?Symbol.for("react.scope"):60119;function _(T){if(typeof T=="object"&&T!==null){var x=T.$$typeof;switch(x){case a:switch(T=T.type,T){case d:case u:case o:case r:case t:case f:return T;default:switch(T=T&&T.$$typeof,T){case c:case s:case g:case v:case i:return T;default:return x}}case n:return x}}}function P(T){return _(T)===u}l.AsyncMode=d,l.ConcurrentMode=u,l.ContextConsumer=c,l.ContextProvider=i,l.Element=a,l.ForwardRef=s,l.Fragment=o,l.Lazy=g,l.Memo=v,l.Portal=n,l.Profiler=r,l.StrictMode=t,l.Suspense=f,l.isAsyncMode=function(T){return P(T)||_(T)===d},l.isConcurrentMode=P,l.isContextConsumer=function(T){return _(T)===c},l.isContextProvider=function(T){return _(T)===i},l.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===a},l.isForwardRef=function(T){return _(T)===s},l.isFragment=function(T){return _(T)===o},l.isLazy=function(T){return _(T)===g},l.isMemo=function(T){return _(T)===v},l.isPortal=function(T){return _(T)===n},l.isProfiler=function(T){return _(T)===r},l.isStrictMode=function(T){return _(T)===t},l.isSuspense=function(T){return _(T)===f},l.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===o||T===u||T===r||T===t||T===f||T===p||typeof T=="object"&&T!==null&&(T.$$typeof===g||T.$$typeof===v||T.$$typeof===i||T.$$typeof===c||T.$$typeof===s||T.$$typeof===b||T.$$typeof===C||T.$$typeof===A||T.$$typeof===m)},l.typeOf=_},870752:function(y,l,e){"use strict";y.exports=e(739847)},713320:function(y,l,e){"use strict";/** @license React v16.14.0
68 * react.production.min.js
69 *
70 * Copyright (c) Facebook, Inc. and its affiliates.
71 *
72 * This source code is licensed under the MIT license found in the
73 * LICENSE file in the root directory of this source tree.
74 */var a=e(139e3),n=typeof Symbol=="function"&&Symbol.for,o=n?Symbol.for("react.element"):60103,t=n?Symbol.for("react.portal"):60106,r=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,c=n?Symbol.for("react.profiler"):60114,d=n?Symbol.for("react.provider"):60109,u=n?Symbol.for("react.context"):60110,s=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.memo"):60115,v=n?Symbol.for("react.lazy"):60116,g=typeof Symbol=="function"&&Symbol.iterator;function m(ve){for(var Me="https://reactjs.org/docs/error-decoder.html?invariant="+ve,ht=1;ht<arguments.length;ht++)Me+="&args[]="+encodeURIComponent(arguments[ht]);return"Minified React error #"+ve+"; visit "+Me+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var b={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},C={};function A(ve,Me,ht){this.props=ve,this.context=Me,this.refs=C,this.updater=ht||b}A.prototype.isReactComponent={},A.prototype.setState=function(ve,Me){if(typeof ve!="object"&&typeof ve!="function"&&ve!=null)throw Error(m(85));this.updater.enqueueSetState(this,ve,Me,"setState")},A.prototype.forceUpdate=function(ve){this.updater.enqueueForceUpdate(this,ve,"forceUpdate")};function _(){}_.prototype=A.prototype;function P(ve,Me,ht){this.props=ve,this.context=Me,this.refs=C,this.updater=ht||b}var T=P.prototype=new _;T.constructor=P,a(T,A.prototype),T.isPureReactComponent=!0;var x={current:null},M=Object.prototype.hasOwnProperty,U={key:!0,ref:!0,__self:!0,__source:!0};function j(ve,Me,ht){var xt,At={},Bt=null,en=null;if(Me!=null)for(xt in Me.ref!==void 0&&(en=Me.ref),Me.key!==void 0&&(Bt=""+Me.key),Me)M.call(Me,xt)&&!U.hasOwnProperty(xt)&&(At[xt]=Me[xt]);var Vt=arguments.length-2;if(Vt===1)At.children=ht;else if(1<Vt){for(var be=Array(Vt),Le=0;Le<Vt;Le++)be[Le]=arguments[Le+2];At.children=be}if(ve&&ve.defaultProps)for(xt in Vt=ve.defaultProps,Vt)At[xt]===void 0&&(At[xt]=Vt[xt]);return{$$typeof:o,type:ve,key:Bt,ref:en,props:At,_owner:x.current}}function $(ve,Me){return{$$typeof:o,type:ve.type,key:Me,ref:ve.ref,props:ve.props,_owner:ve._owner}}function G(ve){return typeof ve=="object"&&ve!==null&&ve.$$typeof===o}function J(ve){var Me={"=":"=0",":":"=2"};return"$"+(""+ve).replace(/[=:]/g,function(ht){return Me[ht]})}var ie=/\/+/g,W=[];function q(ve,Me,ht,xt){if(W.length){var At=W.pop();return At.result=ve,At.keyPrefix=Me,At.func=ht,At.context=xt,At.count=0,At}return{result:ve,keyPrefix:Me,func:ht,context:xt,count:0}}function H(ve){ve.result=null,ve.keyPrefix=null,ve.func=null,ve.context=null,ve.count=0,10>W.length&&W.push(ve)}function X(ve,Me,ht,xt){var At=typeof ve;(At==="undefined"||At==="boolean")&&(ve=null);var Bt=!1;if(ve===null)Bt=!0;else switch(At){case"string":case"number":Bt=!0;break;case"object":switch(ve.$$typeof){case o:case t:Bt=!0}}if(Bt)return ht(xt,ve,Me===""?"."+ne(ve,0):Me),1;if(Bt=0,Me=Me===""?".":Me+":",Array.isArray(ve))for(var en=0;en<ve.length;en++){At=ve[en];var Vt=Me+ne(At,en);Bt+=X(At,Vt,ht,xt)}else if(ve===null||typeof ve!="object"?Vt=null:(Vt=g&&ve[g]||ve["@@iterator"],Vt=typeof Vt=="function"?Vt:null),typeof Vt=="function")for(ve=Vt.call(ve),en=0;!(At=ve.next()).done;)At=At.value,Vt=Me+ne(At,en++),Bt+=X(At,Vt,ht,xt);else if(At==="object")throw ht=""+ve,Error(m(31,ht==="[object Object]"?"object with keys {"+Object.keys(ve).join(", ")+"}":ht,""));return Bt}function k(ve,Me,ht){return ve==null?0:X(ve,"",Me,ht)}function ne(ve,Me){return typeof ve=="object"&&ve!==null&&ve.key!=null?J(ve.key):Me.toString(36)}function re(ve,Me){ve.func.call(ve.context,Me,ve.count++)}function le(ve,Me,ht){var xt=ve.result,At=ve.keyPrefix;ve=ve.func.call(ve.context,Me,ve.count++),Array.isArray(ve)?se(ve,xt,ht,function(Bt){return Bt}):ve!=null&&(G(ve)&&(ve=$(ve,At+(!ve.key||Me&&Me.key===ve.key?"":(""+ve.key).replace(ie,"$&/")+"/")+ht)),xt.push(ve))}function se(ve,Me,ht,xt,At){var Bt="";ht!=null&&(Bt=(""+ht).replace(ie,"$&/")+"/"),Me=q(Me,Bt,xt,At),k(ve,le,Me),H(Me)}var ae={current:null};function pe(){var ve=ae.current;if(ve===null)throw Error(m(321));return ve}var Pe={ReactCurrentDispatcher:ae,ReactCurrentBatchConfig:{suspense:null},ReactCurrentOwner:x,IsSomeRendererActing:{current:!1},assign:a};l.Children={map:function(ve,Me,ht){if(ve==null)return ve;var xt=[];
74return se(ve,xt,null,Me,ht),xt},forEach:function(ve,Me,ht){if(ve==null)return ve;Me=q(null,null,Me,ht),k(ve,re,Me),H(Me)},count:function(ve){return k(ve,function(){return null},null)},toArray:function(ve){var Me=[];return se(ve,Me,null,function(ht){return ht}),Me},only:function(ve){if(!G(ve))throw Error(m(143));return ve}},l.Component=A,l.Fragment=r,l.Profiler=c,l.PureComponent=P,l.StrictMode=i,l.Suspense=f,l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=Pe,l.cloneElement=function(ve,Me,ht){if(ve==null)throw Error(m(267,ve));var xt=a({},ve.props),At=ve.key,Bt=ve.ref,en=ve._owner;if(Me!=null){if(Me.ref!==void 0&&(Bt=Me.ref,en=x.current),Me.key!==void 0&&(At=""+Me.key),ve.type&&ve.type.defaultProps)var Vt=ve.type.defaultProps;for(be in Me)M.call(Me,be)&&!U.hasOwnProperty(be)&&(xt[be]=Me[be]===void 0&&Vt!==void 0?Vt[be]:Me[be])}var be=arguments.length-2;if(be===1)xt.children=ht;else if(1<be){Vt=Array(be);for(var Le=0;Le<be;Le++)Vt[Le]=arguments[Le+2];xt.children=Vt}return{$$typeof:o,type:ve.type,key:At,ref:Bt,props:xt,_owner:en}},l.createContext=function(ve,Me){return Me===void 0&&(Me=null),ve={$$typeof:u,_calculateChangedBits:Me,_currentValue:ve,_currentValue2:ve,_threadCount:0,Provider:null,Consumer:null},ve.Provider={$$typeof:d,_context:ve},ve.Consumer=ve},l.createElement=j,l.createFactory=function(ve){var Me=j.bind(null,ve);return Me.type=ve,Me},l.createRef=function(){return{current:null}},l.forwardRef=function(ve){return{$$typeof:s,render:ve}},l.isValidElement=G,l.lazy=function(ve){return{$$typeof:v,_ctor:ve,_status:-1,_result:null}},l.memo=function(ve,Me){return{$$typeof:p,type:ve,compare:Me===void 0?null:Me}},l.useCallback=function(ve,Me){return pe().useCallback(ve,Me)},l.useContext=function(ve,Me){return pe().useContext(ve,Me)},l.useDebugValue=function(){},l.useEffect=function(ve,Me){return pe().useEffect(ve,Me)},l.useImperativeHandle=function(ve,Me,ht){return pe().useImperativeHandle(ve,Me,ht)},l.useLayoutEffect=function(ve,Me){return pe().useLayoutEffect(ve,Me)},l.useMemo=function(ve,Me){return pe().useMemo(ve,Me)},l.useReducer=function(ve,Me,ht){return pe().useReducer(ve,Me,ht)},l.useRef=function(ve){return pe().useRef(ve)},l.useState=function(ve){return pe().useState(ve)},l.version="16.14.0"},508669:function(y,l,e){"use strict";y.exports=e(713320)},255919:function(y,l,e){y.exports=e(169650)},169650:function(y,l,e){var a=e(165118),n={es3:3,es5:5,es2015:6,es7:7,es6:6,default:5,next:6},o=l.KEYWORDS={};l.check=function(i,c,d){c=c||n.default;var u=n[c]||c;return d&&u>=5&&(u+="-strict"),a(o[u],"Unknown dialect"),o[u].hasOwnProperty(i)},o[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"),o[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"),o["5-strict"]=t(o[5],"implements let     private   public yield","interface  package protected static"),o[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"),o["6-strict"]=t(o[6],"let static","implements package protected","interface private public");function t(){var r=Array.prototype.map.call(arguments,function(i){return typeof i=="string"?i:Object.keys(i).join(" ")}).join(" ");return r.split(/\s+/).reduce(function(i,c){return i[c]=!0,i},{})}},743565:function(y,l){"use strict";/** @license React v0.19.1
75 * scheduler.production.min.js
76 *
77 * Copyright (c) Facebook, Inc. and its affiliates.
78 *
79 * This source code is licensed under the MIT license found in the
80 * LICENSE file in the root directory of this source tree.
81 */var e,a,n,o,t;if(typeof window=="undefined"||typeof MessageChannel!="function"){var r=null,i=null,c=function(){if(r!==null)try{var ae=l.unstable_now();r(!0,ae),r=null}catch(pe){throw setTimeout(c,0),pe}},d=Date.now();l.unstable_now=function(){return Date.now()-d},e=function(ae){r!==null?setTimeout(e,0,ae):(r=ae,setTimeout(c,0))},a=function(ae,pe){i=setTimeout(ae,pe)},n=function(){clearTimeout(i)},o=function(){return!1},t=l.unstable_forceFrameRate=function(){}}else{var u=window.performance,s=window.Date,f=window.setTimeout,p=window.clearTimeout;if(typeof console!="undefined"){var v=window.cancelAnimationFrame;typeof window.requestAnimationFrame!="function"&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills"),typeof v!="function"&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://fb.me/react-polyfills")}if(typeof u=="object"&&typeof u.now=="function")l.unstable_now=function(){return u.now()};else{var g=s.now();l.unstable_now=function(){return s.now()-g}}var m=!1,b=null,C=-1,A=5,_=0;o=function(){return l.unstable_now()>=_},t=function(){},l.unstable_forceFrameRate=function(ae){0>ae||125<ae?console.error("forceFrameRate takes a positive int between 0 and 125, forcing framerates higher than 125 fps is not unsupported"):A=0<ae?Math.floor(1e3/ae):5};var P=new MessageChannel,T=P.port2;P.port1.onmessage=function(){if(b!==null){var ae=l.unstable_now();_=ae+A;try{b(!0,ae)?T.postMessage(null):(m=!1,b=null)}catch(pe){throw T.postMessage(null),pe}}else m=!1},e=function(ae){b=ae,m||(m=!0,T.postMessage(null))},a=function(ae,pe){C=f(function(){ae(l.unstable_now())},pe)},n=function(){p(C),C=-1}}function x(ae,pe){var Pe=ae.length;ae.push(pe);e:for(;;){var ve=Pe-1>>>1,Me=ae[ve];if(Me!==void 0&&0<j(Me,pe))ae[ve]=pe,ae[Pe]=Me,Pe=ve;else break e}}function M(ae){return ae=ae[0],ae===void 0?null:ae}function U(ae){var pe=ae[0];if(pe!==void 0){var Pe=ae.pop();if(Pe!==pe){ae[0]=Pe;e:for(var ve=0,Me=ae.length;ve<Me;){var ht=2*(ve+1)-1,xt=ae[ht],At=ht+1,Bt=ae[At];if(xt!==void 0&&0>j(xt,Pe))Bt!==void 0&&0>j(Bt,xt)?(ae[ve]=Bt,ae[At]=Pe,ve=At):(ae[ve]=xt,ae[ht]=Pe,ve=ht);else if(Bt!==void 0&&0>j(Bt,Pe))ae[ve]=Bt,ae[At]=Pe,ve=At;else break e}}return pe}return null}function j(ae,pe){var Pe=ae.sortIndex-pe.sortIndex;return Pe!==0?Pe:ae.id-pe.id}var $=[],G=[],J=1,ie=null,W=3,q=!1,H=!1,X=!1;function k(ae){for(var pe=M(G);pe!==null;){if(pe.callback===null)U(G);else if(pe.startTime<=ae)U(G),pe.sortIndex=pe.expirationTime,x($,pe);else break;pe=M(G)}}function ne(ae){if(X=!1,k(ae),!H)if(M($)!==null)H=!0,e(re);else{var pe=M(G);pe!==null&&a(ne,pe.startTime-ae)}}function re(ae,pe){H=!1,X&&(X=!1,n()),q=!0;var Pe=W;try{for(k(pe),ie=M($);ie!==null&&(!(ie.expirationTime>pe)||ae&&!o());){var ve=ie.callback;if(ve!==null){ie.callback=null,W=ie.priorityLevel;var Me=ve(ie.expirationTime<=pe);pe=l.unstable_now(),typeof Me=="function"?ie.callback=Me:ie===M($)&&U($),k(pe)}else U($);ie=M($)}if(ie!==null)var ht=!0;else{var xt=M(G);xt!==null&&a(ne,xt.startTime-pe),ht=!1}return ht}finally{ie=null,W=Pe,q=!1}}function le(ae){switch(ae){case 1:return-1;case 2:return 250;case 5:return 1073741823;case 4:return 1e4;default:return 5e3}}var se=t;l.unstable_IdlePriority=5,l.unstable_ImmediatePriority=1,l.unstable_LowPriority=4,l.unstable_NormalPriority=3,l.unstable_Profiling=null,l.unstable_UserBlockingPriority=2,l.unstable_cancelCallback=function(ae){ae.callback=null},l.unstable_continueExecution=function(){H||q||(H=!0,e(re))},l.unstable_getCurrentPriorityLevel=function(){return W},l.unstable_getFirstCallbackNode=function(){return M($)},l.unstable_next=function(ae){switch(W){case 1:case 2:case 3:var pe=3;break;default:pe=W}var Pe=W;W=pe;try{return ae()}finally{W=Pe}},l.unstable_pauseExecution=function(){},l.unstable_requestPaint=se,l.unstable_runWithPriority=function(ae,pe){switch(ae){case 1:case 2:case 3:case 4:case 5:break;default:ae=3}var Pe=W;W=ae;try{return pe()}finally{W=Pe}},l.unstable_scheduleCallback=function(ae,pe,Pe){var ve=l.unstable_now();if(typeof Pe=="object"&&Pe!==null){var Me=Pe.delay;Me=typeof Me=="number"&&0<Me?ve+Me:ve,Pe=typeof Pe.timeout=="number"?Pe.timeout:le(ae)}else Pe=le(ae),Me=ve;return Pe=Me+Pe,ae={id:J++,callback:pe,priorityLevel:ae,startTime:Me,expirationTime:Pe,sortIndex:-1},Me>ve?(ae.sortIndex=Me,x(G,ae),M($)===null&&ae===M(G)&&(X?n():X=!0,a(ne,Me-ve))):(ae.sortIndex=Pe,x($,ae),H||q||(H=!0,e(re))),ae},l.unstable_shouldYield=function(){var ae=l.unstable_now();k(ae);var pe=M($);return pe!==ie&&ie!==null&&pe!==null&&pe.callback!==null&&pe.startTime<=ae&&pe.expirationTime<ie.expirationTime||o()},l.unstable_wrapCallback=function(ae){var pe=W;return function(){var Pe=W;W=pe;try{return ae.apply(this,arguments)}finally{W=Pe}}}},550396:function(y,l,e){"use strict";y.exports=e(743565)},578174:function(y,l,e){"use strict";var a=e(310365),n=Array.prototype.concat,o=Array.prototype.slice,t=y.exports=function(i){for(var c=[],d=0,u=i.length;d<u;d++){var s=i[d];a(s)?c=n.call(c,o.call(s)):c.push(s)}return c};t.wrap=function(r){return function(){return r(t(arguments))}}},436854:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(l,{getDropShadowCss:function(){return a},applyFilters:function(){return n},applyBlendMode:function(){return o}});function a(t){var r=t.angle,i=t.distance,c=t.blur,d=(180-r)*Math.PI/180,u=Math.round(Math.cos(d))*i.value,s=Math.round(Math.sin(d))*i.value;return"drop-shadow(".concat(u).concat(i.unit," ").concat(s).concat(i.unit," ").concat(c.value).concat(c.unit,")")}function n(t,r,i){var c="",d=t.parentElement;if(r){c=a(r);var u=window.getComputedStyle(t).getPropertyValue("color");d.style.color=u}var s=i!=null&&i.enabled?"blur(".concat(i.blurRadius.value).concat(i.blurRadius.unit,") "):"";d.style.filter="".concat(s).concat(c)}function o(t,r){var i=t.parentElement;i.style.mixBlendMode=r}},433967:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(W,q){for(var H in q)Object.defineProperty(W,H,{enumerable:!0,get:q[H]})}a(l,{RESIZE_OBSERVER_NAME:function(){return c},isFluidImage:function(){return d},initializeFluidImageInVisitorView:function(){return u},formatImageUploaderContainer:function(){return C},setFluidImageContainerEditorStyles:function(){return _},adjustFluidImageMask:function(){return P},syncDimensionsWithObjectFitContain:function(){return $},unsyncDimensionsWithObjectFitContain:function(){return J}});var n=i(e(174285)),o=t(e(815858));function t(W){return W&&W.__esModule?W:{default:W}}function r(W){if(typeof WeakMap!="function")return null;var q=new WeakMap,H=new WeakMap;return(r=function(X){return X?H:q})(W)}function i(W,q){if(!q&&W&&W.__esModule)return W;if(W===null||typeof W!="object"&&typeof W!="function")return{default:W};var H=r(q);if(H&&H.has(W))return H.get(W);var X={},k=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ne in W)if(ne!=="default"&&Object.prototype.hasOwnProperty.call(W,ne)){var re=k?Object.getOwnPropertyDescriptor(W,ne):null;re&&(re.get||re.set)?Object.defineProperty(X,ne,re):X[ne]=W[ne]}return X.default=W,H&&H.set(W,X),X}var c="objectFitContain";function d(W){return W&&!!W.closest(".design-layout-fluid")}function u(W){if(b(W),m(W)){var q=g(W),H=!1,X=p(W);$(q,X,H)}}function s(W){var q=g(W),H=q&&q.getAttribute("data-shape-mask");return H}function f(W){var q=o.default[W],H={width:100,height:q};return H}function p(W){if(!W)return null;var q=s(W),H=v(W),X=q?f(q):H;return X}function v(W){var q=W.getAttribute("data-image-dimensions");if(!(!W||!q)){var H=q.split("x"),X={width:H[0],height:H[1]};return X}}function g(W){return W==null?void 0:W.closest(".sqs-image-content")}function m(W){var q=W.getAttribute("data-stretch")!=="true";return q}function b(W){var q=W.closest(".sqs-block-content"),H={height:"100%",width:"100%"};A(q,H)}function C(W){var q={height:"100%",width:"100%"};A(W,q),A(W.closest(".sqs-image"),q),A(W.closest(".fluid-image-editor-wrapper"),q),A(W.closest(".sqs-block-content"),q)}function A(W,q){!W||!q||Object.assign(W.style,q)}function _(W){var q={height:"100%",width:"100%"};A(W,q),A(W.closest(".sqs-image"),q),A(W.closest(".fluid-image-editor-wrapper"),q),A(W.closest(".design-layout-fluid"),q);var H={position:"absolute",left:0,top:0};A(W.closest(".fluid-image-editor-wrapper"),H)}function P(W,q,H){H?T(W):x(W,q)}function T(W){W.style.height="100%",W.style.width="100%"}function x(W,q){if(!(!q||!W)){var H=W.parentElement;if(H){M(W)&&U(H);var X=H.clientWidth,k=H.clientHeight,ne=X/k,re=q.width/q.height,le=ne>re?"height":"width";W.style[le]="100%",le==="height"?W.style.width=k*re+"px":W.style.height=X/re+"px"}}}function M(W){return!!W.closest(".fluid-image-editor-wrapper")}function U(W){W.classList.add("sqs-block-alignment-wrapper"),A(W,{display:"flex",justifyContent:j(W)})}function j(W){var q="center",H=W.closest(".design-layout-fluid");return H&&(H.classList.contains("image-position-left")&&(q="flex-start"),H.classList.contains("image-position-right")&&(q="flex-end")),q}function $(W,q,H){var X=ie(W),k=W.querySelector("img"),ne=n.doesObserverExist(c,X);ne&&J(W);var re=G(W,k,q,H);n.attachResizeObserver({observerName:c,resizeListenerTarget:X,callback:re})}
81function G(W,q,H,X){var k=function(){var re=H;if(X){var le=X.contentImage.get("model");re=le.get("dimensions")}var se=s(q);se&&(re=f(se));var ae=!1;P(W,re,ae)};return k}function J(W){var q=ie(W);q._sqsResizeObservers&&n.removeResizeObserver({resizeListenerTarget:q,observerName:c})}function ie(W){return W.closest(".image-block-outer-wrapper")}},174285:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(t,r){for(var i in r)Object.defineProperty(t,i,{enumerable:!0,get:r[i]})}e(l,{doesObserverExist:function(){return a},attachResizeObserver:function(){return n},removeResizeObserver:function(){return o}});function a(t,r){return!!(r._sqsResizeObservers&&r._sqsResizeObservers[t])}function n(t){var r=t.observerName,i=t.resizeListenerTarget,c=t.callback,d=new ResizeObserver(function(u){for(var s=0;s<u.length;s++)c()});d.observe(i),i._sqsResizeObservers||(i._sqsResizeObservers={}),i._sqsResizeObservers[r]=d}function o(t){var r=t.resizeListenerTarget,i=t.observerName,c=r._sqsResizeObservers&&r._sqsResizeObservers[i];c&&(c.unobserve(r),r._sqsResizeObservers[i]=null)}},961794:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(P,T){for(var x in T)Object.defineProperty(P,x,{enumerable:!0,get:T[x]})}a(l,{RESIZE_OBSERVER_NAME:function(){return d},setPreserveAspectRatio:function(){return v},syncDimensionsForShape:function(){return b},adjustDimensionsForShapeFit:function(){return C},adjustDimensionsForShapeFill:function(){return A},initializeShapeBlockInVisitorView:function(){return _}});var n=r(e(222794)),o=c(e(174285)),t=e(436854);function r(P){return P&&P.__esModule?P:{default:P}}function i(P){if(typeof WeakMap!="function")return null;var T=new WeakMap,x=new WeakMap;return(i=function(M){return M?x:T})(P)}function c(P,T){if(!T&&P&&P.__esModule)return P;if(P===null||typeof P!="object"&&typeof P!="function")return{default:P};var x=i(T);if(x&&x.has(P))return x.get(P);var M={},U=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var j in P)if(j!=="default"&&Object.prototype.hasOwnProperty.call(P,j)){var $=U?Object.getOwnPropertyDescriptor(P,j):null;$&&($.get||$.set)?Object.defineProperty(M,j,$):M[j]=P[j]}return M.default=P,x&&x.set(P,M),M}var d="shapeFit",u="data-drop-shadow",s="data-blend-mode",f="data-blur";
81function p(P,T){!P||!T||Object.assign(P.style,T)}function v(P){!P||P.nodeName!=="svg"||P.setAttribute("preserveAspectRatio","none")}function g(P){return P.classList.contains("sqs-stretched")}function m(P){var T=P.querySelector(".sqs-shape-block-container");return T.getAttribute("data-shape-name")}function b(P,T){var x=o.doesObserverExist(d,P);x&&o.removeResizeObserver({resizeListenerTarget:P,observerName:d}),v(T),g(P)?A(T):o.attachResizeObserver({observerName:d,resizeListenerTarget:P,callback:function(){return C(P,T)}})}function C(P,T){if(T){var x,M;if(m(P)===n.default.RECTANGLE)x=1,M=1;else{var U=T.getAttribute("viewBox").split(" ");M=U.pop(),x=U.pop()}var j=P.clientWidth,$=P.clientHeight,G=j/$,J=x/M,ie={},W=G>J?"height":"width";ie[W]="100%",W==="height"?ie.width=$*J+"px":ie.height=j/J+"px",p(T,ie)}}function A(P){p(P,{width:"100%",height:"100%"})}function _(P){var T=P.querySelector(".sqs-shape"),x=T.parentElement;if(b(P,T),x.hasAttribute(u)||x.hasAttribute(f))try{var M=JSON.parse(x.getAttribute(u)),U=JSON.parse(x.getAttribute(f));(0,t.applyFilters)(P,M,U)}catch($){console.error($)}if(x.hasAttribute(s))try{var j=x.getAttribute(s);(0,t.applyBlendMode)(P,j)}catch($){console.error($)}}},211306:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(g,m){for(var b in m)Object.defineProperty(g,b,{enumerable:!0,get:m[b]})}a(l,{getBarPosition:function(){return u},getPopupPosition:function(){return s},getWithDefaults:function(){return f},transformComponentDataToApiPayload:function(){return p},transformApiDataToComponentProps:function(){return v}});var n=r(e(784530));function o(g,m,b){return m in g?Object.defineProperty(g,m,{value:b,enumerable:!0,configurable:!0,writable:!0}):g[m]=b,g}function t(g){if(typeof WeakMap!="function")return null;var m=new WeakMap,b=new WeakMap;return(t=function(C){return C?b: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 b=t(m);if(b&&b.has(g))return b.get(g);var C={},A=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var _ in g)if(_!=="default"&&Object.prototype.hasOwnProperty.call(g,_)){var P=A?Object.getOwnPropertyDescriptor(g,_):null;P&&(P.get||P.set)?Object.defineProperty(C,_,P):C[_]=g[_]}return C.default=g,b&&b.set(g,C),C}function i(g){for(var m=1;m<arguments.length;m++){var b=arguments[m]!=null?arguments[m]:{},C=Object.keys(b);typeof Object.getOwnPropertySymbols=="function"&&(C=C.concat(Object.getOwnPropertySymbols(b).filter(function(A){return Object.getOwnPropertyDescriptor(b,A).enumerable}))),C.forEach(function(A){o(g,A,b[A])})}return g}function c(g,m){if(g==null)return{};var b=d(g,m),C,A;if(Object.getOwnPropertySymbols){var _=Object.getOwnPropertySymbols(g);for(A=0;A<_.length;A++)C=_[A],!(m.indexOf(C)>=0)&&Object.prototype.propertyIsEnumerable.call(g,C)&&(b[C]=g[C])}return b}function d(g,m){if(g==null)return{};var b={},C=Object.keys(g),A,_;for(_=0;_<C.length;_++)A=C[_],!(m.indexOf(A)>=0)&&(b[A]=g[A]);return b}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},s=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},f=function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},b=m.cookieBannerCtaText,C=m.cookieBannerCtaVariant,A=m.cookieBannerPosition,_=m.cookieBannerText,P=_===void 0?n.DEFAULT_TEXT:_,T=m.cookieBannerTheme,x=m.cookieBannerVariant,M=m.cookieBannerOptOutCtaText,U=m.cookieBannerAcceptType,j=c(m,["cookieBannerCtaText","cookieBannerCtaVariant","cookieBannerPosition","cookieBannerText","cookieBannerTheme","cookieBannerVariant","cookieBannerOptOutCtaText","cookieBannerAcceptType"]);return b=b||n.DEFAULT_CTA_TEXT,P=P.replace("<p></p>","")||n.DEFAULT_TEXT,C=C&&n.CTA_VARIANTS[C]?C:n.CTA_VARIANTS.ICON,T=T&&n.THEMES[T]?T:n.THEMES.DARK,x=x&&n.VARIANTS[x]?x:n.VARIANTS.BAR,A=x===n.VARIANTS.BAR?u(A):s(A),M=M||n.DEFAULT_OPT_OUT_TEXT,U=U||n.ACCEPT_TYPES.OPT_IN,i({cookieBannerCtaText:b,cookieBannerCtaVariant:C,cookieBannerPosition:A,cookieBannerText:P,cookieBannerTheme:T,cookieBannerVariant:x,cookieBannerOptOutCtaText:M,cookieBannerAcceptType:U},j)},p=function(m){var b=f(m),C=b.cookieBannerCtaText,A=b.cookieBannerCtaVariant,_=b.cookieBannerPosition,P=b.cookieBannerText,T=b.cookieBannerTheme,x=b.cookieBannerVariant,M=b.cookieBannerOptOutCtaText,U=b.cookieBannerAcceptType,j=b.isActivityLogEnabled,$=b.isAnalyticsCookiesDisabled,G=b.isCookieBannerEnabled,J=b.isRestrictiveCookiePolicyAbsolute;return{cookieBannerCtaText:C,cookieBannerVariant:x,cookieBannerPosition:_,co
81okieBannerCtaVariant:A,cookieBannerText:""+P=="<p></p>"?"":""+P,cookieBannerTheme:T,cookieBannerOptOutCtaText:M,cookieBannerAcceptType:U,isCookieBannerEnabled:G,isRestrictiveCookiePolicyEnabled:$||!1,isVisitorDataRestricted:!j,isRestrictiveCookiePolicyAbsolute:J||!1}},v=function(m){var b=f(m),C=b.cookieBannerCtaText,A=b.cookieBannerCtaVariant,_=b.cookieBannerPosition,P=b.cookieBannerText,T=b.cookieBannerTheme,x=b.cookieBannerVariant,M=b.cookieBannerOptOutCtaText,U=b.cookieBannerAcceptType,j=b.isCookieBannerEnabled,$=b.isRestrictiveCookiePolicyAbsolute,G=b.isRestrictiveCookiePolicyEnabled,J=b.isVisitorDataRestricted;return{cookieBannerCtaText:C,cookieBannerCtaVariant:A,cookieBannerPosition:_,cookieBannerText:P,cookieBannerTheme:T,cookieBannerVariant:x,cookieBannerOptOutCtaText:M,cookieBannerAcceptType:U,isActivityLogEnabled:!J,isAnalyticsCookiesDisabled:G,isCookieBannerEnabled:j,isRestrictiveCookiePolicyAbsolute:$}}},445238:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return r}});var a=o(e(557936));function n(i,c){if(!(i instanceof c))throw new TypeError("Cannot call a class as a function")}function o(i){return i&&i.__esModule?i:{default:i}}var t=function i(){"use strict";n(this,i),this.generateActions("refresh","setUrl","setEditingCustomCss","ifLoaded","exitSiteStylesEditMode","disableSevenZeroFullScreenPreview","toggleFullScreenPreviewMode","enableSevenZeroFullScreenPreview","frameUnload","enterItemEditingMode","enterItemInlineEditingMode")},r=a.default.createActions(t)},497788:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(P,T){for(var x in T)Object.defineProperty(P,x,{enumerable:!0,get:T[x]})}a(l,{SystemColorConfigs:function(){return f},presetDisplayName:function(){return p},PaletteSelectorMode:function(){return v},PaletteCustomizerMode:function(){return g},PaletteFromImageMode:function(){return m},PaletteFromColorMode:function(){return b},PaletteSwatchIdentifiers:function(){return C},ColorTypes:function(){return A},CustomColorUserFormats:function(){return _}});var n=e(769452),o=e(163015),t=e(572260);function r(P,T,x){return T in P?Object.defineProperty(P,T,{value:x,enumerable:!0,configurable:!0,writable:!0}):P[T]=x,P}function i(P){for(var T=1;T<arguments.length;T++){var x=arguments[T]!=null?arguments[T]:{},M=Object.keys(x);typeof Object.getOwnPropertySymbols=="function"&&(M=M.concat(Object.getOwnPropertySymbols(x).filter(function(U){return Object.getOwnPropertyDescriptor(x,U).enumerable}))),M.forEach(function(U){r(P,U,x[U])})}return P}function c(P,T){var x=Object.keys(P);if(Object.getOwnPropertySymbols){var M=Object.getOwnPropertySymbols(P);T&&(M=M.filter(function(U){return Object.getOwnPropertyDescriptor(P,U).enumerable})),x.push.apply(x,M)}return x}function d(P,T){return T=T!=null?T:{},Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(T)):c(Object(T)).forEach(function(x){Object.defineProperty(P,x,Object.getOwnPropertyDescriptor(T,x))}),P}var u,s=(u={},r(u,o.SystemColorId.safeLightAccent,(0,n.t)("Safe\u2122 Light")),r(u,o.SystemColorId.safeDarkAccent,(0,n.t)("Safe\u2122 Dark")),r(u,o.SystemColorId.safeInverseAccent,(0,n.t)("Safe\u2122 Inverse")),r(u,o.SystemColorId.safeInverseLightAccent,(0,n.t)("Safe\u2122 Inverse Light")),r(u,o.SystemColorId.safeInverseDarkAccent,(0,n.t)("Safe\u2122 Inverse Dark")),r(u,o.SystemColorId.white,(0,n.t)("Lightest")),r(u,o.SystemColorId.lightAccent,(0,n.t)("Light")),r(u,o.SystemColorId.accent,(0,n.t)("Bright")),r(u,o.SystemColorId.darkAccent,(0,n.t)("Dark")),r(u,o.SystemColorId.black,(0,n.t)("Darkest")),u),f=t.SYSTEM_COLOR_AS_ORDERED_ARRAY_V2.map(function(P){return d(i({},P),{name:s[P.id]})}),p={monochrome:(0,n.t)("Monochrome"),complementary:(0,n.t)("Complementary"),"analogous-i":(0,n.t)("Analogous I"),"analogous-ii":(0,n.t)("Analogous II")},v={label:(0,n.t)("Presets"),value:"designerPalettes"},g={label:(0,n.t)("Custom Colors"),value:"custom"},m={label:(0,n.t)("From Image"),value:"from-image"},b={label:(0,n.t)("From Color"),value:"from-color"},C=Object.values(o.SystemColorId).filter(function(P){return!P.startsWith("safe")}),A={SITE_PALETTE_COLOR:"SITE_PALETTE_COLOR",CUSTOM_COLOR:"CUSTOM_COLOR",THEME_COLOR:"THEME_COLOR"},_=["rgb","hsl","hex"]},572260:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0});function a(f,p){for(var v in p)Object.defineProperty(f,v,{enumerable:!0,get:p[v]})}a(l,{SYSTEM_COLOR_CONFIG_MAP:function(){return d},SYSTEM_COLOR_AS_ORDERED_ARRAY_V2:function(){return u},SELECTOR_COLOR_AS_ORDERED_ARRAY_V2:function(){return s}});var n=e(163015);function o(f,p,v){return p in f?Object.defineProperty(f,p,{value:v,enumerable:!0,configurable:!0,writable:!0}):f[p]=v,f}function t(f){for(var p=1;p<arguments.length;p++){var v=arguments[p]!=null?arguments[p]:{},g=Object.keys(v);typeof Object.getOwnPropertySymbols=="function"&&(g=g.concat(Object.getOwnPropertySymbols(v).filter(function(m){return Object.getOwnPropertyDescriptor(v,m).enumerable}))),g.forEach(function(m){o(f,m,v[m])})}return f}function r(f,p){var v=Object.keys(f);if(Object.getOwnPropertySymbols){var g=Object.getOwnPropertySymbols(f);p&&(g=g.filter(function(m){return Object.getOwnPropertyDescriptor(f,m).enumerable})),v.push.apply(v,g)}return v}function i(f,p){return p=p!=null?p:{},Object.getOwnPropertyDescriptors?Object.defineProperties(f,Object.getOwnPropertyDescriptors(p)):r(Object(p)).forEach(function(v){Object.defineProperty(f,v,Object.getOwnPropertyDescriptor(p,v))}),f}var c,d=Object.freeze(i(t({},n.SYSTEM_COLOR_CONFIG_MAP),(c={},o(c,n.SystemColorId.white,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.white]),{name:"Lightest",order:0})),o(c,n.SystemColorId.lightAccent,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.lightAccent]),{name:"Light",order:1})),o(c,n.SystemColorId.accent,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.accent]),{name:"Bright",order:2})),o(c,n.SystemColorId.darkAccent,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.darkAccent]),{name:"Dark",order:3})),o(c,n.SystemColorId.black,i(t({},n.SYSTEM_COLOR_CONFIG_MAP[n.SystemColorId.black]),{name:"Darkest",order:4})),c))),u=Object.keys(d).sort(function(f,p){return d[f].order-d[p].order}).map(function(f){return d[f]}).filter(function(f){var p=f.userVisible;return p}),s=Object.keys(d).sort(function(f,p){return d[f].order-d[p].order}).map(function(f){return d[f]}).filter(function(f){var p=f.userVisible,v=f.hideInSelector;return p&&!v})},32148:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return d}});var a=i(e(508669)),n=e(439806),o=i(e(461761)),t=i(e(602775)),r=i(e(166253));function i(u){return u&&u.__esModule?u:{default:u}}var c=function(u){if(!(!u||!(0,o.default)(u,"config.win.Static.COOKIE_BANNER_CAPABLE"))){var s=(0,o.default)(u,"config.win.Static.SQUARESPACE_CONTEXT.cookieSettings"),f=s&&r.default.shouldShowCookieBanner({settings:s,urlSearch:window.location.search});if(f){var p=document.createElement("div");p.setAttribute("id","gdpr-cookie-banner"),document.body.appendChild(p),(0,n.render)(a.default.createElement(t.default,null),p)}}},d=c},108848:function(y,l,e){"use strict";var a;a={value:!0},e(233243),e(862766),e(869857),e(4590);var n=Le(e(461761)),o=Le(e(860921)),t=e(579888),r=Le(e(344800)),i=Le(e(597885)),c=Le(e(975303)),d=e(338872),u=Le(e(904156)),s=e(90642),f=e(175333),p=Le(e(450943)),v=e(912658),g=e(688893),m=Le(e(667806)),b=e(481207),C=e(647864),A=e(744149),_=e(246403),P=e(825571),T=e(769452),x=Le(e(132461)),M=Le(e(53573)),U=Le(e(197446)),j=Le(e(432346)),$=Le(e(142611)),G=Le(e(913880)),J=Le(e(651521)),ie=Le(e(359129)),W=Le(e(876034)),q=yt(e(674007)),H=Le(e(466740)),X=Le(e(166253)),k=e(789204),ne=e(923019),re=e(842486),le=e(277156),se=e(684353),ae=e(903753),pe=Le(e(896863)),Pe=Le(e(337771)),ve=Le(e(826408)),Me=Le(e(32148)),ht=Le(e(359208)),xt=Le(e(128628)),At=Le(e(657734)),Bt=e(59069),en=Le(e(900990));function Vt(jt,Xe,zt,nn,st,Ut,Jt){try{var on=jt[Ut](Jt),ln=on.value}catch(te){zt(te);return}on.done?Xe(ln):Promise.resolve(ln).then(nn,st)}function be(jt){return function(){var Xe=this,zt=arguments;return new Promise(function(nn,st){var Ut=jt.apply(Xe,zt);function Jt(ln){Vt(Ut,nn,st,Jt,on,"next",ln)}function on(ln){Vt(Ut,nn,st,Jt,on,"throw",ln)}Jt(void 0)})}}function Le(jt){return jt&&jt.__esModule?jt:{default:jt}}function Oe(jt){if(typeof WeakMap!="function")return null;var Xe=new WeakMap,zt=new WeakMap;return(Oe=function(nn){return nn?zt:Xe})(jt)}
81function yt(jt,Xe){if(!Xe&&jt&&jt.__esModule)return jt;if(jt===null||typeof jt!="object"&&typeof jt!="function")return{default:jt};var zt=Oe(Xe);if(zt&&zt.has(jt))return zt.get(jt);var nn={},st=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Ut in jt)if(Ut!=="default"&&Object.prototype.hasOwnProperty.call(jt,Ut)){var Jt=st?Object.getOwnPropertyDescriptor(jt,Ut):null;Jt&&(Jt.get||Jt.set)?Object.defineProperty(nn,Ut,Jt):nn[Ut]=jt[Ut]}return nn.default=jt,zt&&zt.set(jt,nn),nn}var wt=function(jt,Xe){var zt,nn,st,Ut,Jt={label:0,sent:function(){if(st[0]&1)throw st[1];return st[1]},trys:[],ops:[]};return Ut={next:on(0),throw:on(1),return:on(2)},typeof Symbol=="function"&&(Ut[Symbol.iterator]=function(){return this}),Ut;function on(te){return function(Ee){return ln([te,Ee])}}function ln(te){if(zt)throw new TypeError("Generator is already executing.");for(;Jt;)try{if(zt=1,nn&&(st=te[0]&2?nn.return:te[0]?nn.throw||((st=nn.return)&&st.call(nn),0):nn.next)&&!(st=st.call(nn,te[1])).done)return st;switch(nn=0,st&&(te=[te[0]&2,st.value]),te[0]){case 0:case 1:st=te;break;case 4:return Jt.label++,{value:te[1],done:!1};case 5:Jt.label++,nn=te[1],te=[0];continue;case 7:te=Jt.ops.pop(),Jt.trys.pop();continue;default:if(st=Jt.trys,!(st=st.length>0&&st[st.length-1])&&(te[0]===6||te[0]===2)){Jt=0;continue}if(te[0]===3&&(!st||te[1]>st[0]&&te[1]<st[3])){Jt.label=te[1];break}if(te[0]===6&&Jt.label<st[1]){Jt.label=st[1],st=te;break}if(st&&Jt.label<st[2]){Jt.label=st[2],Jt.ops.push(te);break}st[2]&&Jt.ops.pop(),Jt.trys.pop();continue}te=Xe.call(jt,Jt)}catch(Ee){te=[6,Ee],nn=0}finally{zt=st=0}if(te[0]&5)throw te[1];return{value:te[0]?te[1]:void 0,done:!0}}},Lt=/Trident.*rv[ :]*11\./.test(navigator.userAgent);window.Common=function(Xe){var zt=function(Ee){var Ue=Xe.Y.clone(Ee),ze=Ue[Jt];Xe.Y.Lang.isValue(ze)&&(Ue["squarespace-commerce-email-preview"]=ze,delete Ue[Jt]);var Ve=!0,fe=!1,We=void 0;try{for(var tt=on[Symbol.iterator](),St;!(Ve=(St=tt.next()).done);Ve=!0){var Gt=St.value;Ue.hasOwnProperty(Gt)&&delete Ue[Gt]}}catch(Zt){fe=!0,We=Zt}finally{try{!Ve&&tt.return!=null&&tt.return()}finally{if(fe)throw We}}return Ue},nn=function(Ee){var Ue=Ee.win,ze=Ee.formEl;try{var Ve=le.EnterpriseV3RecaptchaAPI.getCaptchaContainer(ze);Ve&&(le.EnterpriseV3RecaptchaAPI.getKeyAndLoadRecaptchaEnterprise(Ue),le.EnterpriseV3RecaptchaAPI.addBadgeEventListenersToFieldElements({formEl:ze,win:Ue}));var fe=ze.getAttribute("data-form-id");fe&&(0,b.trackFormRender)(fe)}catch(We){console.error("Could not render form",{formEl:ze,error:We})}},st=function(){window.SquarespaceFonts.loadViaContext(),window.Squarespace.load(window),window.Squarespace.afterBodyLoad(window.Y)},Ut=function(){return!!document.getElementById("order-status-page-root")};if(Xe.COMMON_ALREADY_RAN){console.warn("Detected second run, this is bad.");return}Xe.COMMON_ALREADY_RAN=!0,Xe.Static=Xe.Static||{},Xe.noop=o.default,(0,x.default)(Xe),Xe.Singleton=ie.default,Xe.Class={create:function(Ee){var Ue;return Ee.initialize?Ue=function(){this.initialize.apply(this,arguments)}:Ue=function(){},Ue.prototype=Ee,Ue.extend=function(ze){return Xe.Class.extend(this,ze)},Ue.specialize=function(ze,Ve){var fe=Xe.Class.specialize(this,ze);return fe._parent=Ve,fe},Ue},extend:function(Ee,Ue){Ue.initialize||(Ue.initialize=Ee.prototype.initialize);var ze=Xe.Class.create(Ue),Ve=/xyz/.test(function(){xyz})?/\b_super\b/:/.*/;for(var fe in Ee.prototype)ze.prototype[fe]?typeof ze.prototype[fe]=="function"&&Ve.test(ze.prototype[fe])&&(ze.prototype[fe]=function(We,tt){return function(){var St=this._super;this._super=Ee.prototype[We];var Gt=tt.apply(this,arguments);return this._super=St,Gt}}(fe,ze.prototype[fe])):ze.prototype[fe]=Ee.prototype[fe];return ze.prototype.superclass=Ee.prototype,ze},specialize:function(Ee,Ue){var ze=Xe.Class.extend(Ee,Ue);return new ze}},Xe.Squarespace=Xe.Squarespace||{},Xe.Squarespace.INITIALIZED=!1,Xe.Squarespace.SQUARESPACE_INITIALIZED_ONCE=!1,(0,Bt.mixin)(Xe),Xe.Squarespace.shouldRedirectToConfig=function(te){var Ee="noredirect",Ue=["noredirect"];
81if(te.location.hostname==="localhost"||this.getSession(Ee,te))return!1;for(var ze=0;ze<Ue.length;ze++)if(te.location.search.indexOf(Ue[ze])!==-1)return this.setSession(Ee,!0,te),!1;return te.Static.SQUARESPACE_CONTEXT.websiteSettings&&te.Static.SQUARESPACE_CONTEXT.authenticatedAccount&&!te.Static.SQUARESPACE_CONTEXT.website.developerMode&&!te.Static.SQUARESPACE_CONTEXT.website.cloneable&&!this._userHasViewerRole(te.Static.SQUARESPACE_CONTEXT.websiteRoles)&&te.top===te},Xe.Squarespace.getSession=function(te,Ee){try{if(Ee.sessionStorage&&Ee.sessionStorage[te])return Ee.sessionStorage[te]}catch(Ue){return null}return null},Xe.Squarespace.setSession=function(te,Ee,Ue){try{if(Ue.sessionStorage)return Ue.sessionStorage[te]=Ee,{success:!0,error:null}}catch(ze){return{success:!1,error:ze}}return{success:!1,error:"Browser does not support session storage"}},Xe.Squarespace.createCookie=function(te,Ee,Ue,ze,Ve){var fe;if(Ue){var We=new Date;We.setTime(We.getTime()+Ue*24*60*60*1e3),fe="; expires="+We.toGMTString()}else fe="";Ve.document.cookie=te+"="+Ee+fe+"; path="+ze},Xe.Squarespace.load=function(te){if(te||(console.error("Squarespace.load running with an assumed window context! Results may vary!"),te=window),this.shouldRedirectToConfig(te)){te.stop&&te.stop(),this.createCookie(t.Constants.PREVIEW_FRAME_EXPANDED_COOKIE,!0,null,"/",te);var Ee=encodeURIComponent(te.location.pathname+te.location.search);te.location.href="/config/?frameUrl="+Ee;return}(0,Pe.default)(te),te.document.addEventListener("DOMContentLoaded",function(){(0,ht.default)(te)}),te.Y=te.YUI(function(){var ze={};for(var Ve in te.YUI_CONFIG)ze[Ve]=te.YUI_CONFIG[Ve];return ze}()),(0,At.default)(te),te.Y.use("squarespace-image-loader"),te.Y.use("squarespace-public-api"),te.Y.on("domready",te.Squarespace.afterBodyLoad,te.Squarespace);var Ue=(0,A.setResolvedWebsiteLocaleFromContext)();(0,T.setLocale)(se.translationLocale,Ue)},Xe.Squarespace.injectRollups=function(te){try{if(te.top.YUI!==te.YUI){for(var Ee in te.top.YUI.Env.mods)te.YUI.Env.mods.hasOwnProperty(Ee)||(te.YUI.Env.mods[Ee]=te.top.YUI.Env.mods[Ee]);var Ue=te.top.Static.SQUARESPACE_CONTEXT.frameRollups;for(var ze in Ue)Ue[ze].css&&this._injectStylesheetFromTopFrame(Ue[ze].css,te.document)}}catch(Ve){}},Xe.Squarespace._injectStylesheetFromTopFrame=function(te,Ee){var Ue='<link rel="stylesheet" href="'+te+'" type="text/css" />';Ee.head?Xe.Y.one(Ee.head).append(Ue):Ee.write(Ue)};var Jt="squarespace-commerce_email_preview",on=["squarespace-error_reporter"];Xe.Squarespace._humanizeAllDates=function(te){Y.all(te).each(function(Ee){var Ue=parseInt(Ee.getAttribute("data-date"),10);if(!Y.Lang.isNumber(Ue)){console.warn("Invalid date on node: ",Ee);return}Ee.set("innerHTML",(0,U.default)(Ue).capitalize())})},Xe.Squarespace.afterBodyLoad=function(){var te=Xe.Y,Ee=te.config.doc.readyState==="loading",Ue=te.Squarespace.Utils.isInDamaskFrame();if(!Ee&&Ue&&Xe.top.YUI_NOT_YET_LOADED){te.use(Object.keys(zt(te.config.win.SQUARESPACE_ROLLUPS)),o.default);return}if(Ee&&Ue){te.once("domready",te.config.win.Squarespace.afterBodyLoad,te.config.win.Squarespace);return}this.AFTER_BODY_LOADED||(this.AFTER_BODY_LOADED=!0,Ue&&this.injectRollups(Xe),te.use(function(ze){var Ve=te.Object.keys(zt(ze));if(Ue){var fe=["squarespace-management"];fe.forEach(function(We){Ve.indexOf(We)===-1&&Ve.push(We)})}return Ve}(te.config.win.SQUARESPACE_ROLLUPS),Xe.Squarespace.globalInit))},Xe.Squarespace.addLoadTrigger=function(te,Ee){var Ue=Xe.Y;if(Ue.one(te)){if(Ue.Squarespace.Utils.isInDamaskFrame()){var ze=[];Ue.Array.each(Ee,function(Zt){Ue.Lang.isObject(Xe.YUI.Env.mods[Zt])&&ze.push(Zt)}),Ee=Ue.Array.filter(Ee,function(Zt){return!ze.includes(Zt)}),Ue.Array.each(ze,function(Zt){Ue.use(Zt);var Un=Ue.config.win.Static.SQUARESPACE_CONTEXT.rollups[Zt];if(!Un){console.warn("Unable to load module '"+Zt+"' for trigger '"+te+"'");return}if(Un.css){var Yt=Un.css.split(",");Ue.Array.each(Yt,function(jn){this._injectStylesheetFromTopFrame(jn,Ue.config.doc)},this)}},this),Ee.length>0&&console.error("addLoadTrigger","There are modules that were requested, that were not available in the Seven top frame.",Ee)}if(Ee.length!==0){for(var Ve=[],fe=[],We=0,tt=Ee.length;We<tt;++We){var St=Ee[We],Gt=Ue.config.win.Static.SQUARESPACE_CONTEXT.rollups[St];
81if(!Gt){console.warn("Unable to load module '"+St+"' for trigger '"+te+"'");return}Gt.js&&Ue.Array.each(Gt.js.split(","),function(Zt){Zt.length>0&&Ve.push(Zt)}),Gt.css&&Ue.Array.each(Gt.css.split(","),function(Zt){Zt.length>0&&fe.push(Zt)})}Ue.Get.load([].concat(Ve,fe),{win:Ue.config.win},function(Zt){Ue.use(Ee)})}}},Xe.Squarespace.globalInit=function(te){var Ee=function(or){(0,v.polyfillAndObserve)(or)},Ue,ze;(0,At.default)(Xe),H.default.isSevenOne()&&te.one("body").addClass("seven-one-global-animations"),te.Squarespace.EscManager&&te.Squarespace.EscManager.attach(te.one(te.config.win)),(0,b.manageCookies)(),(0,b.trackPageview)(),te.config.win.Squarespace._humanizeAllDates(".timesince"),te.config.win.Squarespace.initializeLayoutBlocks(te),te.config.win.Squarespace.initializeImageBlockDynamicElements(te),te.config.win.Squarespace.initializeGlobalLightbox(te),te.config.win.Squarespace.initializeWebsiteComponent(te),te.config.win.Squarespace.initializeVideo(te),te.config.win.Squarespace.initializeNativeVideo(te,{isVisitorWebsite:!0}),te.config.win.Squarespace.initializeCartPage(te),te.config.win.Squarespace.initializeSvgs(te);var Ve=Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortname;if(te.Lang.isValue(Ve)&&Ve!==""&&te.config.win.Squarespace.initializeDisqusCommentLinks(te),te.config.doc.location.href.indexOf("logout=true")!==-1&&te.on("domready",function(){new te.Squarespace.Widgets.Information({"strings.title":(0,T.t)("Logout Successful"),"strings.message":(0,T.t)("You have been successfully logged out.")})}),Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.commentsEnabled){var fe=Xe.Static.SQUARESPACE_CONTEXT.demoCollections,We=Xe.Static.SQUARESPACE_CONTEXT.collectionId,tt=!1;if(te.Lang.isArray(fe)&&te.Lang.isValue(We)){var St=te.Array.map(fe,function(Or){return Or.collectionId});St.indexOf(We)!==-1&&(tt=!0)}tt||te.config.win.Squarespace.addLoadTrigger(".squarespace-comments",["squarespace-dialog","squarespace-comments"])}var Gt;te.Squarespace.Utils.isInDamaskFrame()?Gt=Xe.top.SQUARESPACE_LOGIN&&Xe.top.SQUARESPACE_LOGIN.isLoggedIn():Gt=Xe.SQUARESPACE_LOGIN&&Xe.SQUARESPACE_LOGIN.isLoggedIn();var Zt=Xe.Static.SQUARESPACE_CONTEXT.showAnnouncementBar;(Gt||Zt)&&te.config.win.Squarespace.addLoadTrigger("body",["squarespace-announcement-bar"]);var Un=X.default.shouldShowSSBadge({websiteSettings:Xe.Static.SQUARESPACE_CONTEXT.websiteSettings}),Yt=X.default.shouldShowMobileInformationBar({win:te.config.win,isMobile:te.UA.mobile,settings:Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.mobileInfoBarSettings}),jn=X.default.shouldShowLicensedAssetsBar({YNodeBody:te.one(te.config.doc.body)});(Gt||Un||Yt||jn)&&te.config.win.Squarespace.addLoadTrigger("body",["squarespace-website-overlays-manager"]);var kr=Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.popupOverlaySettings,Jr=kr&&X.default.shouldShowPopupOverlay({settings:kr,context:{pageType:Xe.Static.SQUARESPACE_CONTEXT.pageType,collection:Xe.Static.SQUARESPACE_CONTEXT.collection},isMobile:te.UA.mobile,urlSearch:window.location.search});(Gt||Jr)&&te.config.win.Squarespace.addLoadTrigger("body",["squarespace-popup-overlay"]),(Xe==null||(Ue=Xe.Static)===null||Ue===void 0||(ze=Ue.SQUARESPACE_CONTEXT)===null||ze===void 0?void 0:ze.pageType)===i.default.REVIEWS_REQUEST&&Promise.all([e.e(21661),e.e(31989),e.e(5068),e.e(24340),e.e(94106),e.e(73237)]).then(e.bind(e,576495)).then(function(Or){var or=Or.bootstrapProductReviewsPage;or()}),!window.UserAccountApi&&d.legacyV6Flags.isFeatureEnabled(u.default.DIGITAL_PRODUCTS_MONETIZATION_GA_ENABLED)&&(document.querySelector(".join-button")||document.querySelector(".sign-in-button"))&&Promise.all([e.e(21661),e.e(49727),e.e(6794),e.e(48784),e.e(88978)]).then(e.bind(e,806577)),d.legacyV6Flags.isFeatureEnabled(u.default.GDPR_COOKIE_BANNER)?(0,Me.default)(te):(0,ve.default)(te),te.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),te.Lang.isObject(Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions)&&Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.pinterestOverlayOptions.mode!=="disabled"&&te.config.win.Squarespace.addLoadTrigger(t.PinterestSelectors.TRIGGER_SELECTORS.join(","),["squarespace-pinterest"]),te.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-list .products-collection-v2",["squarespace-products-collection-list-v2"]),te.config.win.Squarespace.addLoadTrigger(".collection-type-products.view-item .products-collection-v2",["squarespace-products-collection-item-v2"]),te.config.win.Squarespace.addLoadTrigger(".sqs-image-zoom-area",["squarespace-image-zoom"]),te.config.win.Squarespace.addLoadTrigger(".collection-type-blog.view-list .sqs-blog-list",["squarespace-blog-collection-list"]),te.config.win.Squarespace.addLoadTrigger(".collection-type-gallery .sqs-gallery-list",["squarespace-gallery-collection-list"]),te.config.win.Squarespace.addLoadTrigger(".sqs-block-calendar",["squarespace-calendar-block-renderer"]),te.config.win.Squarespace.addLoadTrigger(".collection-type-events.view-list",["squarespace-events-collection"]),te.config.win.Squarespace.addLoadTrigger(".sqs-product-quick-view-button[data-id]",["squarespace-product-quick-view","squarespace-image-zoom","squarespace-products-collection-item-v2"]),te.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"]),te.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),te.config.win.Squarespace.addLoadTrigger(".sqs-search-page",["squarespace-search-page"]),te.config.win.Squarespace.addLoadTrigger(".sqs-simple-like",["squarespace-simple-liking"]),te.config.win.Squarespace.addLoadTrigger(".squarespace-social-buttons",["squarespace-social-buttons"]),te.one(".sqs-share-buttons")&&e.e(99058).then(e.t.bind(e,600277,23)).then(function(Or){var or=Or.initializeShareButtons,bi=Or.destroyShareButtons;Xe.Squarespace.onInitialize(te,function(){or(te)}),Xe.Squarespace.onDestroy(te,function(){bi(te)})}),(0,v.initializeAnimations)(te.config.win);var Tr=te.Global.on("_syncBodyClasses",Ee);Xe.addEventListener("beforeunload",function(){Tr.detach(),Tr=null},{once:!0}),(0,Bt.markReady)(te)},Xe.Squarespace.initializeDisqusCommentLinks=function(te){var Ee="#disqus_thread",Ue="#comment-{id}",ze=te.all(".sqs-comment-link"),Ve="href",fe="data-id",We,tt=Xe.Static.SQUARESPACE_CONTEXT.websiteSettings.disqusShortn
81ame,St=te.Lang.isString(tt)&&tt!=="";St?We=function(Zt){return Xe.Static.SQUARESPACE_CONTEXT.website.baseUrl+Zt.getAttribute(Ve)+Ee}:We=function(Zt){return Xe.Static.SQUARESPACE_CONTEXT.website.baseUrl+Zt.getAttribute(Ve)+te.substitute(Ue,{id:Zt.getAttribute(fe)})},ze.each(function(Gt){Gt.setHTML("Comments"),Gt.setAttribute(Ve,We(Gt))},this),St&&(Xe.disqus_shortname=tt,te.Get.script("//"+tt+".disqus.com/count.js"))},Xe.Squarespace.initializeCollectionPages=function(te,Ee){te.Squarespace.EventsCollection?(Ee.all(".sqs-events-collection-list").each(te.Squarespace.EventsCollection.initializeListView),Ee.all(".sqs-events-collection-calendar").each(te.Squarespace.EventsCollection.initializeCalendarView)):te.config.win.Squarespace.addLoadTrigger(".sqs-events-collection-list, .sqs-events-collection-calendar",["squarespace-events-collection"])},Xe.Squarespace.initializeLayoutBlocks=function(te,Ee){Ee||(Ee=te),this.initializeSummaryV2Block(te),Ee.all([".sqs-block-video",".sqs-block-embed"].join(",")).each(function(tt){(0,xt.default)(tt,te,Xe)}),Ee.all(".sqs-block-image img[data-image]").each(function(tt){j.default.initializeImageBlock(tt,te)}),Ee.all(".sqs-block-shape").each(function(tt){(0,re.initializeShapeBlock)(tt.getDOMNode())});var Ue=[".sqs-block-product img[data-image]"];te.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE&&Ue.push(".sqs-block-collectionlink img[data-image]"),Ee.all(Ue.join(",")).each(function(tt){j.default.initializeBasicBlockWithImage(tt,te)}),Ee.all(".sqs-block-soundcloud").each(function(tt){Xe.Squarespace.initializeSoundcloudBlock(tt,te)}),Ee.all(".sqs-block-map[data-block-json]").each(function(tt){var St=te.JSON.parse(tt.getAttribute("data-block-json")),Gt=(0,C.mapModelToViewConfig)(St),Zt=(0,A.getResolvedWebsiteLocale)();tt.setAttribute("data-animation-role","image"),H.default.isSevenOne()&&(Gt.ui=te.merge({},Gt.ui,{scrollwheel:!1})),r.default.createView(Gt.ui,Gt.location,tt.one(".sqs-block-content").getDOMNode(),Zt)}),Xe.Squarespace.initializeFormBlocks(Ee,te),Ee.all(".sqs-block-newsletter").each(function(tt){Xe.Squarespace.initializeNewsletterBlock(tt,te)}),Ee.all(".sqs-block-donation").each(function(tt){Xe.Squarespace.initializeDonationButton(tt,te)}),document.querySelectorAll(".sqs-block-accordion").forEach(function(tt){Xe.Squarespace.initializeAccordionBlock(tt)}),document.querySelectorAll(".sqs-block-marquee").forEach(function(tt){Xe.Squarespace.initializeMarqueeBlock(tt)}),document.querySelectorAll(".sqs-block-html .sqsrte-scaled-text-container:first-of-type").forEach(function(tt){Xe.Squarespace.initializeScaledText(tt)}),document.querySelectorAll(".sqs-block-html .sqsrte-text-highlight").forEach(function(tt){Xe.Squarespace.initializeTextHighlight(tt)}),Ee.all(".sqs-block-button").each(function(tt){Xe.Squarespace.initializeButtonBlock(tt,te)}),Ee.all(".sqs-block-member-area").each(function(tt){Xe.Squarespace.initializeMemberAreaBlock(tt,te)}),Ee.all(".sqs-block-pricing-plan").each(function(tt){Xe.Squarespace.initializePricingPlanBlock(tt,te)}),Xe.Squarespace.initializeAspectRatioBlocks(te);var ze=[".sqs-block-gallery",".sqs-block-video"].join(",");Ee.all(ze).each(function(tt){te.SQS.Gallery.Manager.initializeBlock(tt)});var Ve=[{selector:".sqs-block-flickr",blockType:t.BlockType.FLICKR},{selector:".sqs-block-instagram",blockType:t.BlockType.INSTAGRAM},{selector:".sqs-block-fivehundredpix",blockType:t.BlockType.FIVEHUNDREDPIX}];Ve.forEach(function(tt){Ee.all(tt.selector).each(function(St){var Gt=St.one(".sqs-gallery-container"),Zt=Gt&&Gt.getAttribute("data-async-rendering-enabled")==="true";Zt?(0,W.default)(St,tt.blockType).then(function(){Squarespace.initializeAspectRatioBlocks(te),te.SQS.Gallery.Manager.initializeBlock(St)}):te.SQS.Gallery.Manager.initializeBlock(St)})}),Ee.all(".sqs-block-opentable").each(function(tt){Xe.Squarespace.initializeOpenTableBlock(tt,te)}),Ee.all(".sqs-block-opentable-v2").each(function(tt){Xe.Squarespace.initializeOpenTableV2Block(tt.getDOMNode())}),Ee.all(".sqs-block-tock").each(function(tt){(0,m.default)(tt.getDOMNode())}),te.Squarespace.Widgets.AudioPlayer?Ee.all(".sqs-audio-embed").each(te.Squarespace.Widgets.AudioPlayer.initializeNode):te.config.win.Squarespace.addLoadTrigger(".sqs-audio-embed, .sqs-audio-playlist, .sqs-album-block",["squarespace-audio-player"]),te.Squarespace.Tourdates?Ee.all
81(".sqs-block-tourdates[data-block-json]").each(te.Squarespace.Tourdates.initializeNode):te.config.win.Squarespace.addLoadTrigger(".sqs-block-tourdates[data-block-json]",["squarespace-tourdates"]),te.Squarespace.CalendarBlockRenderer?Ee.all(".sqs-block.calendar-block[data-block-json]").each(te.Squarespace.CalendarBlockRenderer.initializeNode):te.config.win.Squarespace.addLoadTrigger(".sqs-block.calendar-block[data-block-json]",["squarespace-calendar-block-renderer"]);var fe=Ee.one(".sqs-block-zola");fe&&this.initializeZolaBlocks(fe,te);var We=Ee.one(".sqs-block-acuity");We&&this.initializeAcuityBlocks(We,te),this.initializeSearchBlock(te),this.initializeChartBlock(te),this.initializeSocialLinks(te),this.initializeMenuBlock(te)},Xe.Squarespace.initializeSocialLinks=function(te){te.UA.gecko<=0||te.all('use[class^="SocialLinks"][*|href]').each(function(Ee){var Ue=Ee.getAttribute("xlink:href"),ze=Ue.indexOf("#");ze!==-1&&Ee.setAttribute("xlink:href",te.config.win.location.origin+te.config.win.location.pathname+Ue.substr(ze))})},Xe.Squarespace.initializeMenuBlock=function(te){te.all(".menu-wrapper").each(function(Ee){(0,g.initializeMenuBlock)(Ee._node)})},Xe.Squarespace.initializePageContent=function(te,Ee){Xe.Squarespace.initializeLayoutBlocks(te,Ee),Xe.Squarespace.initializeWebsiteComponentForContentPreview(te,Ee),Xe.Squarespace.initializeCollectionPages(te,Ee)},Xe.Squarespace.initializeImageBlockDynamicElements=function(te){var Ee=function(){te.all(".image-block-v2").each(function(Ve){Ve.toggleClass("sqs-narrow-width",Ve.get("offsetWidth")<415);var fe=Ve.one("img");fe&&Ue.ImageLoader.load(fe)}),(0,ht.default)(Ue)},Ue=te.config.win;this._resizeEmitter=new te.Squarespace.ResizeEmitter,this._resizeEmitter.on("resize",Ee,this),te.Global.on("tweak:change",Ee)},Xe.Squarespace.initializeSummaryV2Block=function(te){te.all(".sqs-block-summary-v2").each(function(Ee){(0,q.default)(Ee).then(function(){var Ue,ze,Ve;Ee.hasAttribute("data-block-json")&&(Ve=JSON.parse(Ee.getAttribute("data-block-json")).imageAspectRatio),(Ue=Ee.one(".summary-block-collection-type-lessons"))===null||Ue===void 0||Ue.all(".summary-description").each(function(fe){fe._node.style.visibility="visible";var We=fe._node.innerHTML;We=We.replaceAll(/<p[^>]*>/g,""),We=We.slice(0,-4),We=We.replaceAll("</p>","<br/>"),We="<p>"+We+"</p>",fe._node.innerHTML=We}),(ze=Ee.one(".summary-block-collection-type-lessons"))===null||ze===void 0||ze.all("img").each(function(fe){fe.once("load",function(){window.dispatchEvent(new Event("resize"))},this)}),Ee.all(".sqsSummaryBlockThumbnailPlaceholder").each(function(fe){var We=(0,q.calculateVideoPlaceholderAspectRatio)(Ve);fe.setStyle("paddingBottom",We+"%"),fe.get("parentNode").setStyle("paddingBottom",We+"%")}),te.SQS.Gallery.Manager.initializeBlock(Ee),Ee.all(".sqsSummaryBlockThumbnailPlaceholder").each(function(fe){var We=fe.ancestor(".summary-item").getDOMNode();We.classList.remove("no-image")})})})},Xe.Squarespace.initializeButtonBlock=function(te,Ee){(0,M.default)(te)},Xe.Squarespace.initializeOpenTableBlock=function(te,Ee){(0,$.default)(te,Ee)},Xe.Squarespace.initializeOpenTableV2Block=function(te){(0,G.default)(te)},Xe.Squarespace.initializeZolaBlocks=function(te,Ee){var Ue="zola-wjs",ze=Ee.config.win.document.getElementById(Ue);if(ze){if(!Ee.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE)return;if(Ee.config.win.ZolaWidget){Ee.config.win.ZolaWidget.init();return}ze.remove()}var Ve=document.createElement("script");Ve.src=te.one("[data-zola-script-src]").getAttribute("data-zola-script-src"),Ve.id=Ue,Ve.async=!0,Ee.config.win.document.head.appendChild(Ve)},Xe.Squarespace.initializeAcuityBlocks=function(te,Ee){if(Ee.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE){var Ue=te.one("script"),ze=document.createElement("script");ze.src=Ue.getAttribute("src"),ze.async=!0,Ue.remove(),te.appendChild(ze)}},Xe.Squarespace.initializeSoundcloudBlock=function(te,Ee){var Ue=te.one("iframe");if(Ue){var ze=Ue.getAttribute("src");try{var Ve=Ee.QueryString.parse(ze).url;if(Ve){var fe=Ve.indexOf("/playlists/")>=0;te.toggleClass("isPlaylist",fe)}}catch(We){console.error("Issue parsing SoundCloud url: "+ze,We)}}},Xe.Squarespace.initializeVideoBlock=function(te,Ee){te.videoloader||te.plug(Ee.Squarespace.VideoLoader)},Xe.Squarespace.initializeFormBlocks=function(te,Ee){var Ue=d.localizedFormsFlagBouncer.areLocalizedFormsEnabled(),ze=te.all(".sqs-block-form");ze.size()&&Ue&&Promise.all([e.e(47561),e.e(31989),e.e(44752),e.e(37737)]).then(e.bind(e,264053)).then(function(We){var tt=We.bootstrapVisitorForms;return tt()}),ze.each(function(tt){var St=tt.one("form");St&&nn({win:Ee.config.win,formEl:St.getDOMNode()})}),(0,J.default)(Ee.config.doc);var Ve=".sqs-block-form .lightbox-handle",fe=te.all(Ve);if(!fe.isEmpty()){if(Ee.Squarespace.FormRenderingUtils){Ee.Squarespace.FormRenderingUtils.initializeFormLightbox(te);return}Ee.config.win.Squarespace.addLoadTrigger(Ve,["squarespace-form-rendering-utils"])}},Xe.Squarespace.initializeNewsletterBlock=function(te,Ee){var Ue=te.one(".newsletter-form");if(Ue){nn({win:Ee.config.win,formEl:Ue.getDOMNode()});var ze=te.ancestor();te.toggleClass("newsletter-form-has-small-container",ze.get("offsetWidth")<320).addClass("rendered")}},Xe.Squarespace.initializeAccordionBlock=function(te){(0,f.initializeAccordionBlock)(te)},Xe.Squarespace.initializeMarqueeBlock=function(te){(0,p.default)(te,Y)},Xe.Squarespace.initializeScaledText=function(te){Promise.resolve().then(e.bind(e,708380)).then(function(Ee){var Ue=Ee.default;(0,k.scaleAllTextInNode)(te),document.fonts.ready.then(function(){(0,k.scaleAllTextInNode)(te)}),Y.Global.on("tweak:change",function(){window.setTimeout(function(){(0,k.scaleAllTextInNode)(te)})}),Ue.on(function(){(0,k.scaleAllTextInNode)(te)},10)})},Xe.Squarespace.initializeTextHighlight=function(te){var Ee=(0,ne.initializeTextHighlight)(te);Y.Global.on("colors:updateThemeStyles",function(){(0,ne.updateTextHighlightColor)(Ee)})},Xe.Squarespace.initializeDonationButton=function(te,Ee){var Ue=te.one(".sqs-donate-button");if(!Ue){console.error("Careful, there was no button found inside this node!",te.getDOMNode());return}var ze=function(){Ee.Squarespace.Commerce.goToDonatePage(Ue.getAttribute("data-donate-page-id"))};
81Ue.on("click",ze),Ue.on("keydown",function(Ve){(Ve.keyCode===13||Ve.keyCode===32)&&ze()})},Xe.Squarespace.initializeMemberAreaBlock=function(te,Ee){(0,_.setupToggleHandlers)(te)},Xe.Squarespace.initializePricingPlanBlock=function(te,Ee){(0,P.setupToggleHandlers)(te)},Xe.Squarespace.initializeGlobalLightbox=function(te){te.all('[rel="lightbox"][data-lightbox]').plug(te.Squarespace.Lightbox2Plug)},Xe.Squarespace.initializeCommerce=function(te){if(!te.Squarespace.Commerce.initializeCommerce){console.warn("Commerce rollup not loaded, exiting initializeCommerce() invocation.");return}te.Squarespace.Commerce.initializeCommerce(te)},Xe.Squarespace.initializeChartBlock=function(te){te.ChartJS&&te.ChartJS.initializeCharts?te.ChartJS.initializeCharts():te.config.win.Squarespace.addLoadTrigger(".sqs-block-chart",["squarespace-chartjs-helpers"])},Xe.Squarespace.initializeWebsiteComponent=function(){var te=be(function(Ee){var Ue;return wt(this,function(ze){switch(ze.label){case 0:return[4,(0,ae.getVisitorInstanceLoader)()];case 1:return Ue=ze.sent(),Ee.all(".sqs-block-website-component[data-definition-name]").each(function(Ve){var fe=Ve.getDOMNode(),We=fe.dataset.definitionName,tt=fe.id;We&&tt&&Ue.load(We,tt,fe)}),[2]}})});return function(Ee){return te.apply(this,arguments)}}(),Xe.Squarespace.initializeWebsiteComponentForContentPreview=function(){var te=be(function(Ee,Ue){var ze;return wt(this,function(Ve){switch(Ve.label){case 0:return Ue||(Ue=Ee),[4,(0,ae.getVisitorInstanceLoader)()];case 1:return ze=Ve.sent(),Ue.all(".sqs-block-website-component[data-definition-name]").each(function(){var fe=be(function(We){var tt,St,Gt,Zt;return wt(this,function(Un){switch(Un.label){case 0:return tt=We.getDOMNode(),St=tt.dataset.definitionName,Gt=tt.id,Zt=!0,St&&Gt?[4,pe.default.load(St)]:[3,2];case 1:Un.sent(),ze.load(St,Gt,tt,Zt),Un.label=2;case 2:return[2]}})});return function(We){return fe.apply(this,arguments)}}()),[2]}})});return function(Ee,Ue){return te.apply(this,arguments)}}(),Xe.Squarespace.initializeVideo=function(te){te.all(".sqs-video-wrapper").each(function(Ee){!Ee.videoloader&&!Ee.ancestor(".sqs-block-video")&&!Ee.ancestor(".slide")&&Ee.plug(te.Squarespace.VideoLoader,{load:Ee.getAttribute("data-load")!=="false"})})},Xe.Squarespace.initializeNativeVideo=function(te,Ee){var Ue=Ee.parentElement,ze=Ee.isVisitorWebsite,Ve=".sqs-native-video",fe=Ue?Ue.all(Ve):te.all(Ve);fe.isEmpty()||Promise.all([e.e(21661),e.e(49727),e.e(71614),e.e(26251)]).then(e.bind(e,730121)).then(function(){te.use("squarespace-native-video-loader"),fe.each(function(We){We.plug(te.Squarespace.NativeVideoLoader,{isVisitorWebsite:ze})})})},Xe.Squarespace.initializeSearchBlock=function(te){var Ee=te.all(".sqs-search-ui-text-input");if(!Ee.isEmpty()){if(!te.Squarespace.Widgets.SearchPreview&&te.one(".sqs-search-ui-text-input")){Promise.all([e.e(14255),e.e(88343),e.e(61260)]).then(e.bind(e,999873)).then(function(){te.use("squarespace-search-preview")});return}te.Squarespace.Widgets.SearchPreview.renderAllSearchPreviewNodes()}};var ln=function(Ee){var Ue=(0,n.default)(Ee,"SQS.LayoutEngine.AspectRatioManager");Ue&&Ue.initAllBlocks()};Xe.Squarespace.initializeAspectRatioBlocks=ln,Xe.Squarespace._userHasViewerRole=function(te){return te?Object.keys(te).length>0&&te[c.default.VIEWER]:!1},Xe.Squarespace.initializeCartPage=function(te){(0,s.isCartPage)(Xe)&&Promise.all([e.e(21661),e.e(31989),e.e(24340),e.e(54274),e.e(13914),e.e(70127)]).then(e.bind(e,290195)).then(function(Ee){var Ue=Ee.bootstrapCartPage,ze=Ee.unmountCartPage;Xe.Squarespace.onInitialize(te,function(){(0,s.isCartPage)(Xe)&&Ue({setLocale:T.setLocale})}),Xe.Squarespace.onDestroy(te,function(){(0,s.isCartPage)(Xe)&&ze()})})},Xe.Squarespace.initializeSvgs=function(te){te.config.win.Squarespace.onInitialize(te,function(){te.on("domready",function(){Lt&&e.e(11268).then(e.bind(e,50052)).then(function(Ee){var Ue=Ee.default;Ue.parse()})})})},window.SquarespaceFonts=(0,en.default)(Xe),H.default.isSevenOne()&&Xe.document.addEventListener("DOMContentLoaded",function(){Ut()||st()})},Common(window)},869857:function(){"use strict";typeof console=="undefined"&&(console={assert:function(){},group:function(){},groupEnd:function(){},log:function(){},dir:function(){},warn:function(){},error:function(l){var e=Array.prototype.slice.call(arguments);throw new Error(e)}})},826408:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return r}});var a=t(e(461761)),n=e(59731),o=t(e(166253));function t(i){return i&&i.__esModule?i:{default:i}}function r(i){if(!(!i||!(0,a.default)(i,"config.win.Static.COOKIE_BANNER_CAPABLE"))){var c=(0,a.default)(i,"config.win.Static.SQUARESPACE_CONTEXT.cookieSettings"),d=c&&o.default.shouldShowCookieBanner({settings:c,urlSearch:window.location.search});d&&(0,n.mount)(i.config.win.Static.SQUARESPACE_CONTEXT.cookieSettings),i.Global.on("cookieBanner:force",function(s){(0,a.default)(i,"config.win.document.body")&&((0,n.mount)(i.merge({force:!0},s)),i.config.win.document.body.classList.add("sqs-cookie-banner-v2-forced"),i.Global.once("cookieBanner:unforce",function(p){i.Global.detach("cookieBanner:update"),(0,a.default)(i,"config.win.document.body")&&(i.config.win.document.body.classList.remove("sqs-cookie-banner-v2-forced"),(0,n.mount)(p))}),i.Global.on("cookieBanner:update",function(p){(0,a.default)(i,"config.win.document.body")&&((0,n.unmount)(),(0,n.mount)(i.merge({force:!0},p)))}))})}}},359208:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return s}});var a=t(e(628312));function n(f,p){(p==null||p>f.length)&&(p=f.length);for(var v=0,g=new Array(p);v<p;v++)g[v]=f[v];return g}function o(f){if(Array.isArray(f))return n(f)}function t(f){return f&&f.__esModule?f:{default:f}}function r(f){if(typeof Symbol!="undefined"&&f[Symbol.iterator]!=null||f["@@iterator"]!=null)return Array.from(f)}function i(){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 c(f){return o(f)||r(f)||d(f)||i()}function d(f,p){if(f){if(typeof f=="string")return n(f,p);var v=Object.prototype.toString.call(f).slice(8,-1);if(v==="Object"&&f.constructor&&(v=f.constructor.name),v==="Map"||v==="Set")return Array.from(v);if(v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v))return n(f,p)}}var u=[".image-block-v2 .sqs-dynamic-text-container"].join(",");function s(){var f=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,p=arguments.length>1&&arguments[1]!==void 0?arguments[1]:u;c(f.document.querySelectorAll(p)).forEach(function(v){return(0,a.default)(v)})}},128628:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return o}});var a=e(202361),n=function(t,r){if(t){var i=t.getAttribute("data-block-json");if(i){var c=r.JSON.parse(i);c&&c.providerName!=="Twitter"&&t.get("children").each(function(d){return d.resizetoparent({sizeonly:!0})})}t.setStyles({visibility:"visible",opacity:1,height:"auto"})}},o=function(t,r,i){var c=t.one(".sqs-block-content");if(c){(0,a.securifyBlockEmbed)(c);var d=c.test(".sqs-block-video .sqs-block-content");if(d){var u=c.one(".sqs-video-wrapper");u&&i.Squarespace.initializeVideoBlock(u,r);return}var s=c.one(".intrinsic");s||n(c,r)}}},900990:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return t}});var a=n(e(529813));function n(r){return r&&r.__esModule?r:{default:r}}var o="https://fonts.googleapis.com/css2",t=function(r){var i=function(u){var s=u.map(function(f){return"family=".concat(f)}).join("&");return"".concat(o,"?").concat(s)},c=function(u){var s=r.document.createElement("link");s.rel="stylesheet",s.href=u;var f=r.document.getElementsByTagName("script")[0];f.parentNode.insertBefore(s,f)};return{alreadyLoaded:[],alreadyPreloaded:[],load:function(u){if(u=u||{},u.googleFamilies=u.googleFamilies||[],u.googleFamilies==="all"){if(this.everythingLoaded)return;u.googleFamilies=[];for(var s in r.Static.SQUARESPACE_CONTEXT.googleFonts){var f=r.Static.SQUARESPACE_CONTEXT.googleFonts[s];u.googleFamilies.push(f.includeName)}this.everythingLoaded=!0}else for(var p=0;p<u.googleFamilies.length;p++)this.alreadyLoaded.indexOf(u.googleFamilies[p])===-1?this.alreadyLoaded.push(u.googleFamilies[p]):(u.googleFamilies.splice(p,1),p--);u.googleFamilies.length!==0&&c(i(u.googleFamilies))},loadViaContext:function(){var u={googleFamilies:r.Static.SQUARESPACE_CONTEXT.googleFonts};r.Static.SQUARESPACE_CONTEXT.website.typekitId&&(u.typeKit={id:r.Static.SQUARESPACE_CONTEXT.website.typekitId}),this.load(u)},setupTypekit:function(){if(!r.TypekitPreview){console.error("TypekitPreview not available");return}if(!this.isTypekitSetup)try{r.TypekitPreview.setup({auth_id:"ss",auth_token:"BInhlQ%2Bl4i%2FTK2LNzmpe2QC%2Bdl6Qc7iJa15oy7OfSGK%2BY7lwDRam4FlQCIzQGEqAiJZo10MshaDLZWgX%2FckdPK0bOW%2FAfpkj2O5MO1d7Aul7v1RGoa7OBxfdciGAxZqjHAPKKo0fqkxxKF%2F9mM9JjA%3D%3D"}),this.isTypekitSetup=!0}catch(u){console.error(u),a.default.trackCaughtError("common","TypekitPreview.setup issue",u.stack)}},loadTypekit:function(u,s){this.setupTypekit();var f=[],p;try{if(r.Y.Lang.isArray(u))u.forEach(function(v,g){if(!(this.alreadyLoaded.indexOf(v)!==-1&&this.alreadyPreloaded.indexOf(v)!==-1)){if(p=r.Static.SQUARESPACE_CONTEXT.typekitFonts[v],!p)throw new Error('Requested font no longer in Typekit "'+v+'"');this.alreadyPreloaded.push(v),f.push({id:p.id,css_name:v,variations:["n4"]})}});else{if(this.alreadyLoaded.indexOf(u)!==-1){s&&s();return}if(p=r.Static.SQUARESPACE_CONTEXT.typekitFonts[u],!p)throw new Error('Requested font no longer in Typekit "'+u+'"');this.alreadyLoaded.push(u),f.push({id:p.id,css_name:u,variations:p.variations})}r.TypekitPreview.load(f,{active:function(){s&&s()},inactive:function(){s&&s()}})}catch(v){console.error(v),a.default.trackCaughtError("common","loadTypekit issue",v.stack)}},preloadTypekit:function(u,s){this.setupTypekit();for(var f=[],p=0;p<u.length;p++)this.alreadyPreloaded.indexOf(u[p])!==-1||this.alreadyLoaded.indexOf(u[p])!==-1||(this.alreadyPreloaded.push(u[p]),f.pu
81sh({id:r.Static.SQUARESPACE_CONTEXT.typekitFonts[u[p]]?r.Static.SQUARESPACE_CONTEXT.typekitFonts[u[p]].id:r.Static.SQUARESPACE_CONTEXT.typekitkitFonts[u[p]].id,css_name:u[p],variations:["n4"]}));r.TypekitPreview.load(f,{active:function(){s&&s()},inactive:function(){s&&s()}})}}}},337771:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return i}});var a=o(e(461761)),n=e(24169);function o(c){return c&&c.__esModule?c:{default:c}}function t(c){try{var d=c.top!==c,u=(0,a.default)(c,"top.YUI.Env",!1);return d&&u}catch(s){}return!1}function r(c){return c.top.Static.SQUARESPACE_CONTEXT}function i(c){var d=n.IS_SQUARESPACE_MOBILE_APP||t(c);if(d){c.YUI.Env.globalEvents=c.top.YUI.Env.globalEvents;var u=(0,a.default)(c,"StaticActions.bootstrap",null);if(u){var s=r(c);u(s)}}}},59069:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(d,u){for(var s in u)Object.defineProperty(d,s,{enumerable:!0,get:u[s]})}e(l,{initializers:function(){return a},destructors:function(){return n},onInitialize:function(){return o},onDestroy:function(){return t},markReady:function(){return r},globalDestroy:function(){return i},mixin:function(){return c}});var a=[],n=[],o=function(d,u){a.map(function(s){return s.toString()}).indexOf(u.toString())===-1&&(d.config.win.Squarespace.INITIALIZED&&u(),a.push(u))},t=function(d,u){n.map(function(s){return s.toString()}).indexOf(u.toString())===-1&&n.push(u)},r=function(d){d.config.win.Squarespace.INITIALIZED||(a.forEach(function(u){try{u()}catch(s){console.error("[mercury.markReady] Error invoking initializer.",s)}}),d.config.win.Squarespace.INITIALIZED=!0,d.config.win.Squarespace.SQUARESPACE_INITIALIZED_ONCE=!0)},i=function(d){d.config.win.Squarespace.INITIALIZED&&(d.config.win.Squarespace.INITIALIZED=!1,n.forEach(function(u){return u()}))},c=function(d){d.Squarespace=d.Squarespace||{},d.Squarespace.onInitialize=o,d.Squarespace.onDestroy=t,d.Squarespace.globalMarkReady=r,d.Squarespace.globalDestroy=i}},657734:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return e}});function e(a){a.Static.SQUARESPACE_CONTEXT.collection&&(a.Static.SQUARESPACE_CONTEXT.collectionId=a.Static.SQUARESPACE_CONTEXT.collection.id),a.Static.SQUARESPACE_CONTEXT.item&&(a.Static.SQUARESPACE_CONTEXT.itemId=a.Static.SQUARESPACE_CONTEXT.item.id)}},651521:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return n}});var e=function(o,t,r,i){var c=t.value.length;r.innerText="".concat(c," / ").concat(i),o.classList.toggle("error",c>i)},a=function(o){var t=o.querySelector("textarea");if(!(!t||t.dataset.characterCounter)){t.dataset.characterCounter=!0;var r;if(r=parseInt(o.dataset.maxLength,10),r=isNaN(r)?0:Math.max(r,0),r!==0){var i=document.createElement("div");i.style.textAlign="right",o.appendChild(i),e(o,t,i,r),t.addEventListener("input",function(c){e(o,t,i,r)})}}};function n(o){Array.from(o.querySelectorAll(".textarea[data-max-length]")).forEach(a)}},784530:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(C,A){for(var _ in A)Object.defineProperty(C,_,{enumerable:!0,get:A[_]})}a(l,{DEFAULT_CTA_TEXT:function(){return i},DEFAULT_TEXT:function(){return c},VARIANTS:function(){return d},BAR_POSITIONS:function(){return u},POPUP_POSITIONS:function(){return s},THEMES:function(){return f},CTA_VARIANTS:function(){return p},DEFAULT_OPT_OUT_TEXT:function(){return v},ACCEPT_TYPES:function(){return g},STRINGS:function(){return b}});var n=e(769452),o=r(e(177327));function t(C,A,_){return A in C?Object.defineProperty(C,A,{value:_,enumerable:!0,configurable:!0,writable:!0}):C[A]=_,C}function r(C){return C&&C.__esModule?C:{default:C}}var i=(0,n.t)("Accept"),c=(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."),d=(0,o.default)("BAR","POPUP"),u=(0,o.default)("TOP","BOTTOM"),s=(0,o.default)("TOP_LEFT","TOP_RIGHT","BOTTOM_LEFT","BOTTOM_RIGHT"),f=(0,o.default)("LIGHT","DARK"),p=(0,o.default)("TEXT","BUTTON","ICON"),v=(0,n.t)("Decline"),g=(0,o.default)("OPT_IN","OPT_IN_AND_OUT"),m,b
81=(m={},t(m,d.BAR,(0,n.t)("Bar")),t(m,d.POPUP,(0,n.t)("Pop-up")),t(m,u.TOP,(0,n.t)("Top")),t(m,u.BOTTOM,(0,n.t)("Bottom")),t(m,s.TOP_LEFT,(0,n.t)("Top Left")),t(m,s.TOP_RIGHT,(0,n.t)("Top Right")),t(m,s.BOTTOM_LEFT,(0,n.t)("Bottom Left")),t(m,s.BOTTOM_RIGHT,(0,n.t)("Bottom Right")),t(m,f.LIGHT,(0,n.t)("Light")),t(m,f.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)},818868:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(i,c){for(var d in c)Object.defineProperty(i,d,{enumerable:!0,get:c[d]})}e(l,{zIndexes:function(){return a},yuiDialogClassName:function(){return n},yuiDialogOverlayClassName:function(){return o},yuiDialogSelector:function(){return t},yuiDialogOverlaySelector:function(){return r}});var a={BASE:3e4},n="squarespace-managed-ui",o="dialog-screen-overlay",t=".".concat(n),r=".".concat(o)},815858:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return u}});var a=o(e(699933));function n(s,f,p){return f in s?Object.defineProperty(s,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):s[f]=p,s}function o(s){return s&&s.__esModule?s:{default:s}}var t=100,r=150,i=67,c,d=(c={},n(c,a.default.CIRCLE,t),n(c,a.default.DIAMOND,t),n(c,a.default.BOTTOM_LEFT_CURVE,t),n(c,a.default.RABBET,t),n(c,a.default.FOUR_PETAL_FLOWER,t),n(c,a.default.FOUR_POINT_STAR,t),n(c,a.default.DESCENDING_RAMP,t),n(c,a.default.DESCENDING_STAIRS,t),n(c,a.default.OCTAGON,t),n(c,a.default.STEPPED_CROSS,t),n(c,a.default.TV,t),n(c,a.default.OPEN_BOOK,t),n(c,a.default.FLOWER,t),n(c,a.default.EIGHT_SIDED_SHIELD,t),n(c,a.default.ROUNDED_PENTAGON,t),n(c,a.default.GEAR,t),n(c,a.default.VERTICAL_OVAL,r),n(c,a.default.HOURGLASS,r),n(c,a.default.KEYSTONE,r),n(c,a.default.VERTICAL_PARALLELOGRAM,r),n(c,a.default.VERTICAL_RIGHT_LEANING_OVAL,r),n(c,a.default.ARCHED_WINDOW,r),n(c,a.default.VERTICAL_STACKED_CIRCLES,r),n(c,a.default.POINTED_WINDOW,r),n(c,a.default.AWARD,r),n(c,a.default.NARROW_HORIZONTAL_STACKED_PILLS,r),n(c,a.default.EGG,r),n(c,a.default.NARROW_POW,r),n(c,a.default.HORIZONTAL_STACKED_CIRCLES,i),n(c,a.default.WIDE_VERTICAL_STACKED_PILLS,i),n(c,a.default.WIDE_HORIZONTAL_STACKED_PILLS,i),n(c,a.default.HORIZONTAL_OVAL,i),n(c,a.default.HORIZONTAL_RIGHT_LEANING_OVAL,i),n(c,a.default.WIDE_EIGHT_SIDED_SHIELD,i),n(c,a.default.WIDE_OPEN_BOOK,i),c),u=d},147467:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});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 a=e},322914:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});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_U
81RL_COPY="commerce_facebook_ads_feed_url_copy",n.FACEBOOK_PIXEL_SAVE_ID="commerce_facebook_pixel_save_id"})(e||(e={}));var a=e},232404:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return i}});var a=o(e(327743));function n(c,d,u){return d in c?Object.defineProperty(c,d,{value:u,enumerable:!0,configurable:!0,writable:!0}):c[d]=u,c}function o(c){return c&&c.__esModule?c:{default:c}}var t,r=(t={},n(t,a.default.LEFT,-1),n(t,a.default.RIGHT,1),t),i=r},557936:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return v}});var a=t(e(293298));function n(g,m){(m==null||m>g.length)&&(m=g.length);for(var b=0,C=new Array(m);b<m;b++)C[b]=g[b];return C}function o(g){if(Array.isArray(g))return n(g)}function t(g){return g&&g.__esModule?g:{default:g}}function r(g){if(typeof Symbol!="undefined"&&g[Symbol.iterator]!=null||g["@@iterator"]!=null)return Array.from(g)}function i(){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 c(g){return o(g)||r(g)||d(g)||i()}function d(g,m){if(g){if(typeof g=="string")return n(g,m);var b=Object.prototype.toString.call(g).slice(8,-1);if(b==="Object"&&g.constructor&&(b=g.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return n(g,m)}}var u=new a.default;if(0)var s,f,p;var v=u},349600:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return C}}),e(114194);var a=d(e(691059)),n=d(e(309350)),o=e(458887),t=d(e(792495));function r(A,_){if(!(A instanceof _))throw new TypeError("Cannot call a class as a function")}function i(A,_,P){return _ in A?Object.defineProperty(A,_,{value:P,enumerable:!0,configurable:!0,writable:!0}):A[_]=P,A}function c(A,_){return _!=null&&typeof Symbol!="undefined"&&_[Symbol.hasInstance]?!!_[Symbol.hasInstance](A):A instanceof _}function d(A){return A&&A.__esModule?A:{default:A}}function u(A){for(var _=1;_<arguments.length;_++){var P=arguments[_]!=null?arguments[_]:{},T=Object.keys(P);typeof Object.getOwnPropertySymbols=="function"&&(T=T.concat(Object.getOwnPropertySymbols(P).filter(function(x){return Object.getOwnPropertyDescriptor(P,x).enumerable}))),T.forEach(function(x){i(A,x,P[x])})}return A}var s={trimZeroFractions:!1,group:!0},f=/^(\d+)(\d{3})/;function p(A){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:".";return A.replace(".",_)}function v(A){for(var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:",";A.match(f);)A=A.replace(f,"$1".concat(_,"$2"));return A}function g(A){return u({},o.DEFAULT_CURRENCY_TEMPLATE,A.DEFAULT||{})}function m(A,_){return u({},A.DEFAULT,A[_]||{})}function b(A,_,P){return P.trimZeroFractions&&(0,a.default)(A)?0:(0,o.getFractionDigits)(_)}var C=function(){"use strict";function A(P){var T=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;r(this,A),this.templates=o.CurrencyTemplates[P]||{},this.templates.DEFAULT=g(this.templates),this.templates,T&&A.enableDebugging(),this.locale=P}var _=A.prototype;return _.format=function(T){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!c(T,n.default))throw new Error("Format expects a Money instance.");x=u({},s,x);var M=A.debug?"\uD83D\uDCB0":"",U=T.toFloat(),j=Math.abs(U),$=U<0?"-":"",G=T.currencyCode,J=m(this.templates,G),ie=b(U,G,x),W=String((0,t.default)(j,ie).toFixed(ie));W=p(W,J.decimalSeparator),x.group&&(W=v(W,J.thousandsSeparator));var q=J.symbol,H=J.formatter,X=H({currencyCode:G,symbol:q,value:W,sign:$});return M+X+M},A.enableDebugging=function(){A.debug=!0},A.disableDebugging=function(){A.debug=!1},A}()},973185:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(v,g){for(var m in g)Object.defineProperty(v,m,{enumerable:!0,get:g[m]})}a(l,{MoneyFormatterProvider:function(){return f},moneyFormatterProviderInstance:function(){return p}});var n=u(e(904156)),o=e(338872),t=e(769452),r=u(e(349600));function i(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g){for(var m=0;m<g.length;m++){var b=g[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(v,b.key,b)}}function d(v,g,m){return g&&c(v.prototype,g),m&&c(v,m),v}
81function u(v){return v&&v.__esModule?v:{default:v}}var s={format:t.formatMoney,get templates(){throw new Error("[MoneyFormatterProvider] custom templates are not supported in CLDR mode")}},f=function(){"use strict";function v(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1;i(this,v),this.useCldrMode=m,this.commerceMoneyFormatter=new r.default("native")}var g=v.prototype;return g.setUseCldrMode=function(b){this.useCldrMode=b},d(v,[{key:"formatter",get:function(){return this.useCldrMode?s:this.commerceMoneyFormatter}}]),v}(),p=new f(o.legacyV6Flags.isFeatureEnabled(n.default.CLDR_NUMBER_FORMATTER))},466358:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),e(113610);var a=e(245090),n=o(e(769452));function o(t){return t&&t.__esModule?t:{default:t}}(0,a.setI18nInstance)(n.default)},233243:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),e(466358),e(990519);var a=e(572904),n=o(e(769452));function o(t){return t&&t.__esModule?t:{default:t}}(0,a.setI18nInstance)(n.default)},114194:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=o(e(769452)),n=e(928761);function o(t){return t&&t.__esModule?t:{default:t}}(0,n.setI18nInstance)(a.default)},990519:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(358322),n=o(e(769452));function o(t){return t&&t.__esModule?t:{default:t}}(0,a.setI18nInstance)(n.default)},113610:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=e(425524),n=e(398122),o=e(692731),t=r(e(769452));function r(i){return i&&i.__esModule?i:{default:i}}(0,a.setI18nInstance)(t.default),(0,n.setI18nInstance)(t.default),(0,o.setI18nInstance)(t.default)},862766:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),e(113610);var a=o(e(769452)),n=e(206158);function o(t){return t&&t.__esModule?t:{default:t}}(0,n.setI18nInstance)(a.default)},175333:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(X,k){for(var ne in k)Object.defineProperty(X,ne,{enumerable:!0,get:k[ne]})}a(l,{ACCORDION_ITEMS_CONTAINER_SELECTOR:function(){return t},ACCORDION_ITEM_CLICK_TARGET_CLASSNAME:function(){return r},ACCORDION_ITEM_CLICK_TARGET_SELECTOR:function(){return i},ACCORDION_ITEM_CLASSNAME:function(){return c},ACCORDION_ITEM_SELECTOR:function(){return d},ACCORDION_DROPDOWN_CLASSNAME:function(){return u},ACCORDION_DROPDOWN_SELECTOR:function(){return s},DROPDOWN_OPEN_CLASSNAME:function(){return f},DROPDOWN_PRE_OPEN_CLASSNAME:function(){return p},IS_EXPANDED_FIRST_ITEM_ATTRIBUTE:function(){return v},initializeAccordionBlock:function(){return g},openAccordionItem:function(){return m},closeAccordionItem:function(){return b},closeAllAccordionItems:function(){return C},toggleRelevantAccordionItem:function(){return A},syncIsFirstItemExpanded:function(){return _},getInitialAccordionBlockHeight:function(){return P}});var n=e(45937),o=250,t=".accordion-items-container",r="accordion-item__click-target",i=".".concat(r),c="accordion-item",d=".".concat(c),u="accordion-item__dropdown",s=".".concat(u),f="accordion-item__dropdown--open",p="accordion-item__dropdown--pre-open",v="data-is-expanded-first-item";function g(X){var k=X.querySelector(t);if(k===null)throw new Error("Could not find accordion block items container");var ne=Array.from(k.querySelectorAll(d)),re=k.getAttribute("data-should-allow-multiple-open-items")==="true",le=!0;ne.forEach(function(se,ae){var pe=se.querySelector(i);if(!pe)throw new Error("Could not find accordion item click target");var Pe=se.querySelector(s);if(!Pe)throw new Error("Could not find accordion item dropdown element");pe.addEventListener("click",function(){U({item:se,dropdownElement:Pe,accordionItems:ne,allowMultipleOpenItems:re,shouldAnimate:le})}),H(X,pe,Pe,ae)}),_(k)}function m(X,k){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,re=X.querySelectorAll(d)[k];if(re){var le=re.querySelector(s);if(!le)throw new Error("Could not find dropdownElement within accordion item");j(re,le,ne)}}function b(X,k){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,re=X.querySelectorAll(d)[k];if(re){var le=re.querySelector(s);if(!le)throw new Error("Could not find dropdownElement within accordion item");G(re,le,ne)}}function C(X,k){var ne=Array.from(X.querySelectorAll(d));ie(ne,k)}function A(X,k){var ne=x(k),re=!1,le=ne!==-1&&typeof ne!="undefined";le?m(X,ne,re):C(X,re)}function _(X,k){if(!T(k)){var ne=X.getAttribute(v)==="true",re=0;ne?m(X,re):b(X,re)}}function P(X){var k=X.querySelector(t);if(!k)return X.clientHeight;var ne=Array.from(k.querySelectorAll(d)),re=ne.filter(W);ie(ne),_(k);var le=k.clientHeight;return re.forEach(function(se){var ae=se.querySelector(s);if(ae===null)throw new Error("Could not find clickTarget node inside accordion item");j(se,ae)}),le}function T(X){if(!X)return!1;var k=["accordionItems/","accordionItemDescription"],ne=new RegExp(k.join("|")).test(X);return ne}function x(X){if(!X)return-1;if(M(X))return 0;var k=X.split("/")[1],ne=parseInt(k,10);return Number.isNaN(ne)?-1:ne}function M(X){return X==="accordionItemDescription"}function U(X){var k=X.item,ne=X.dropdownElement,re=X.accordionItems,le=X.allowMultipleOpenItems,se=X.shouldAnimate,ae=k.hasAttribute("data-is-item-animating");ae||(W(k)?G(k,ne,se):(le||ie(re,se),j(k,ne,se)))}function j(X,k){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,re=X.querySelector(i);if(!re)throw new Error("Could not find clickTarget node inside accordion item");if(X.setAttribute("data-is-open","true"),re.setAttribute("aria-expanded","true"),!ne){k.classList.add(f);return}$(X,k)}
81function $(X,k){X.setAttribute("data-is-item-animating","true"),k.classList.add(p);var ne=k.getBoundingClientRect().height;k.classList.remove(p),k.style.height="0px",k.classList.add(f),k.style.transition="height "+o+"ms "+n.easing.product.default,q(function(){k.style.height=ne+"px",window.setTimeout(function(){k.style.removeProperty("height"),k.style.removeProperty("transition"),X.removeAttribute("data-is-item-animating")},o)})}function G(X,k){var ne=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,re=X.querySelector(i);if(!re)throw new Error("Could not find clickTarget node inside accordion item");if(X.removeAttribute("data-is-open"),re.setAttribute("aria-expanded","false"),!ne){k.classList.remove(f);return}J(X,k)}function J(X,k){X.setAttribute("data-is-item-animating","true");var ne=k.getBoundingClientRect().height;k.style.height=ne+"px",k.style.transition="height "+o+"ms "+n.easing.product.default,q(function(){k.style.height="0px",window.setTimeout(function(){k.classList.remove(f),k.style.removeProperty("height"),k.style.removeProperty("transition"),X.removeAttribute("data-is-item-animating")},o)})}function ie(X){var k=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,ne=X.filter(W);ne.forEach(function(re){var le=re.querySelector(s);if(!le)throw new Error("Could not find dropdown element inside accordion item");G(re,le,k)})}function W(X){return X.hasAttribute("data-is-open")}function q(X){window.requestAnimationFrame(function(){window.requestAnimationFrame(X)})}function H(X,k,ne,re){var le=X.id;if(le){var se="button-"+le+"-"+re,ae="dropdown-"+le+"-"+re;k.setAttribute("id",se),k.setAttribute("aria-controls",ae),ne.setAttribute("id",ae),ne.setAttribute("aria-labelledby",se)}}},912658:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(g,m){for(var b in m)Object.defineProperty(g,b,{enumerable:!0,get:m[b]})}a(l,{animationsQueries:function(){return s},polyfillAndObserve:function(){return p},initializeAnimations:function(){return v}});var n=e(192428),o=i(e(631181)),t=e(302246),r=e(26018);function i(g){return g&&g.__esModule?g:{default:g}}var c=(0,r.createLoggers)("BlockAnimationsInitializer","#fc0"),d=c.err,u,s=['[class*="block-animation-"]:not(.block-animation-none):not(.animation-loaded)','.comb
81ination-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(","),f=function(m,b){m.forEach(function(C){if(!document.body.contains(C.target)){b.unobserve(C.target);return}var A=C.target.querySelector("img.loading");if(A){if(A.dataset.queuedBlockAnimation)return;A.dataset.queuedBlockAnimation="true";var _=function(T){T.currentTarget.removeEventListener("load",_),f([C],b)};A.addEventListener("load",_);return}if((0,t.isRatioIntersecting)(C)){if(C.target.classList.add("animation-loaded"),!b||!b.unobserve){d("missing IntersectionObserver");return}b.unobserve(C.target)}})},p=function(g){if(!g||!g.document){d("Cannot init animations without a window context");return}(0,o.default)().then(function(){u||(u=new IntersectionObserver(f,{root:null,threshold:[0,.1,.25,.5,1]}));var m=g.document.body.querySelectorAll(s);m.length>0&&m.forEach(function(C){C.classList.remove("animation-loaded"),u.observe(C)})}).catch(function(){var m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};d(m.message)})},v=function(g){if(!g||!g.document){d("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()}))}},192428:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"isEditMode",{enumerable:!0,get:function(){return n}});var a=e(419467),n=function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window,t="sqs-edit-mode",r=(0,a.get)(o,"document.body");return r&&r.classList.contains(t)}},382851:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(W,q){for(var H in q)Object.defineProperty(W,H,{enumerable:!0,get:q[H]})}a(l,{isHex:function(){return f},isHsl:function(){return p},colorDifference:function(){return g},generatePaletteColorReference:function(){return m},generateCustomColorReference:function(){return b},getHeaderEffectsTrackingInfo:function(){return A},resolveColorReference:function(){return _},isThemeColor:function(){return P},isPaletteColor:function(){return T},isCustomColor:function(){return x},getFormattedColorReference:function(){return $},convertHslaToDecimal:function(){return G},convertHslaToPercent:function(){return J},getColorValue:function(){return ie}});var n=c(e(119972)),o=e(407596),t=e(163015),r=e(497788);function i(W,q,H){return q in W?Object.defineProperty(W,q,{value:H,enumerable:!0,configurable:!0,writable:!0}):W[q]=H,W}function c(W){return W&&W.__esModule?W:{default:W}}function d(W){for(var q=1;q<arguments.length;q++){var H=arguments[q]!=null?arguments[q]:{},X=Object.keys(H);typeof Object.getOwnPropertySymbols=="function"&&(X=X.concat(Object.getOwnPropertySymbols(H).filter(function(k){return Object.getOwnPropertyDescriptor(H,k).enumerable}))),X.forEach(function(k){i(W,k,H[k])})}return W}function u(W,q){var H=Object.keys(W);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(W);q&&(X=X.filter(function(k){return Object.getOwnPropertyDescriptor(W,k).enumerable})),H.push.apply(H,X)}return H}function s(W,q){return q=q!=null?q:{},Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(q)):u(Object(q)).forEach(function(H){Object.defineProperty(W,H,Object.getOwnPropertyDescriptor(q,H))}),W}var f=function(W){return typeof W=="string"&&W.charAt(0)==="#"},p=function(W){return typeof W=="string"&&W.substring(0,3)==="hsl"},v=["red","green","blue"],g=function(W,q){var H=(0,n.default)(W),X=(0,n.default)(q);return!H||!X?null:v.reduce(function(k,ne){return k+Math.max(H[ne],X[ne])-Math.min(H[ne],X[ne])},0)*H.alpha},m=function(W){var q=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return{type:r.ColorTypes.SITE_PALETTE_COLOR,sitePaletteColor:{id:W,alpha:q}}},b=function(W){return{type:r.ColorTypes.CUSTOM_COLOR,customColor:(0,o.stringifyPaletteColorValue)(W)}},C=new Set(["solidHeaderBorderColor","gradientHeaderBorderColor","solidHeaderDropShadowColor","gradientHeaderDropShadowColor","solidHeaderBackgroun
81dColor","gradientHeaderBackgroundColor","solidHeaderNavigationColor","gradientHeaderNavigationColor"]),A=function(W,q){if(!C.has(W))return null;var H=W.split(/(?=[A-Z])/),X=H.shift(),k=H[0].toLowerCase()+H.slice(1).join(""),ne=q.type===r.ColorTypes.SITE_PALETTE_COLOR?"palette":"custom";return[X,k,ne]};function _(W,q){switch(W==null?void 0:W.type){case r.ColorTypes.SITE_PALETTE_COLOR:{var H=W.sitePaletteColor,X=H.id,k=H.alpha,ne=(0,o.getPaletteColorById)({colors:q},X);return ne?(0,o.stringifyPaletteColorValue)({userFormat:t.ColorModel.hsl,values:s(d({},ne.value.values),{alpha:k!=null?k:1})}):null}case r.ColorTypes.CUSTOM_COLOR:var re;return(re=W.customColor)!==null&&re!==void 0?re:null}}var P=function(W){return W&&W.type===r.ColorTypes.THEME_COLOR},T=function(W){return W&&W.type===r.ColorTypes.SITE_PALETTE_COLOR},x=function(W){return W&&W.type===r.ColorTypes.CUSTOM_COLOR},M=function(){return{type:r.ColorTypes.THEME_COLOR}},U=function(W){var q=W==null?void 0:W.sitePaletteColor;return{type:r.ColorTypes.SITE_PALETTE_COLOR,sitePaletteColor:{id:q.colorName,alpha:q.alphaModifier}}},j=function(W){var q=J(W.customColor.hslaValue),H={userFormat:W.customColor.userFormat,values:q},X=(0,o.stringifyPaletteColorValue)(H);return{type:r.ColorTypes.CUSTOM_COLOR,customColor:X}},$=function(W){if(P(W))return M(W);if(T(W))return U(W);if(x(W))return j(W)};function G(W){var q=W.saturation,H=W.lightness,X=q>=0&&q<=1?q:q/100,k=H>=0&&H<=1?H:H/100;return s(d({},W),{saturation:X,lightness:k})}function J(W){var q=W.saturation,H=W.lightness,X=q>=0&&q<=1?q*100:q,k=H>=0&&H<=1?H*100:H;return s(d({},W),{saturation:X,lightness:k})}function ie(W,q){var H,X;return((W==null?void 0:W.type)===r.ColorTypes.SITE_PALETTE_COLOR&&(!((H=W.sitePaletteColor)===null||H===void 0)&&H.colorName)||(W==null?void 0:W.type)===r.ColorTypes.CUSTOM_COLOR&&(!((X=W.customColor)===null||X===void 0)&&X.hslaValue))&&(W=$(W)),_(W,q)}},59731:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(x,M){for(var U in M)Object.defineProperty(x,U,{enumerable:!0,get:M[U]})}a(l,{applySettings:function(){return A},renderDom:function(){return C},mount:function(){return T},unmount:function(){return P}});var n=r(e(638286)),o=c(e(784530)),t=e(211306);function r(x){return x&&x.__esModule?x:{default:x}}function i(x){if(typeof WeakMap!="function")return null;var M=new WeakMap,U=new WeakMap;return(i=function(j){return j?U:M})(x)}function c(x,M){if(!M&&x&&x.__esModule)return x;if(x===null||typeof x!="object"&&typeof x!="function")return{default:x};var U=i(M);if(U&&U.has(x))return U.get(x);var j={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var G in x)if(G!=="default"&&Object.prototype.hasOwnProperty.call(x,G)){var J=$?Object.getOwnPropertyDescriptor(x,G):null;J&&(J.get||J.set)?Object.defineProperty(j,G,J):j[G]=x[G]}return j.default=x,U&&U.set(x,j),j}var d=2,u="sqs-cookie-banner-v".concat(d),s,f,p,v,g,m,b=function(x){if(document.body.classList.contains("sqs-cookie-banner-v2-forced"))return!1;var M=x.target.closest(".".concat(u,"-cta"));if(M){var U=new Date,j=M.classList.contains("".concat(u,"-accept")),$=Date.now()+1e3*60*60*24*30;U.setTime($),n.default.set("ss_cookieAllowed",j,{path:"/",expires:U.toUTCString()}),f.removeEventListener("click",b),f.remove()}},C=function(x){var M=(0,t.getWithDefaults)(x),U=M.cookieBannerAcceptType,j=M.cookieBannerCtaVariant;f=document.createElement("div"),f.className=u,p=document.createElement("div"),p.className="".concat(u,"-text"),v=document.createElement("button"),v.classList.add("".concat(u,"-accept"),"".concat(u,"-cta"));var $=document.createElement("div");$.className="".concat(u,"-acceptWrapper"),$.appendChild(v),f.appendChild(p);var G=U===o.ACCEPT_TYPES.OPT_IN_AND_OUT&&j!==o.CTA_VARIANTS.ICON;if(G){g=document.createElement("button"),g.classList.add("".concat(u,"-deny"),"".concat(u,"-cta"));var J=document.createElement("div");J.className="".concat(u,"-denyWrapper"),J.appendChild(g),m=document.createElement("div"),m.className="".concat(u,"-cta-container"),m.appendChild($),m.appendChild(J),f.appendChild(m)}else f.appendChild($);return f.addEventListener("click",b),f},A=function(x){var M=x.isCookieBannerEnabled,U=(0,t.getWithDefaults)(x),j=U.cookieBannerCtaText,$=U.cookieBannerCtaVariant,G=U.cookieBannerPosition,J=U.cookieBannerText,ie=U.cookieBannerTheme,W=U.cookieBannerVariant,q=U.cookieBannerAcceptType,H=U.cookieBannerOptOutCtaText;if(s=G===o.BAR_POSITIONS.TOP&&document.body.querySelector(".sqs-announcement-bar-dropzone")||document.body,f.className=u,f.classList.add(W,ie,G,$,q),p.innerHTML=J.indexOf("<p>")===0?J:"<p>".concat(J,"</p>"),q===o.ACCEPT_TYPES.OPT_IN_AND_OUT)switch($){case o.CTA_VARIANTS.BUTTON:v.innerText=j,g.innerText=H;break;case o.CTA_VARIANTS.TEXT:v.innerText=j,g.innerText=H;break;case o.CTA_VARIANTS.ICON:v.innerText=" ";break}else switch($){case o.CTA_VARIANTS.BUTTON:v.innerText=j;break;case o.CTA_VARIANTS.TEXT:v.innerText=j;break;case o.CTA_VARIANTS.ICON:v.innerText=" ";break}return G===o.BAR_POSITIONS.TOP?document.body.classList.add("".concat(u,"-top")):document.body.classList.remove("".concat(u,"-top")),M?(s.classList.add("".concat(u,"-enabled")),s.appendChild(f)):s.classList.remove("".concat(u,"-enabled")),f},_=function(){var x={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(M){return n.default.set(M,"",x)})},P=function(){f&&(f.removeEventListener("click",b),f.remove()),f=null,s&&s.classList.remove("".concat(u,"-enabled"))},T=function(x){if(!x.force){var M=n.default.get("ss_cookieAllowed"),U=M==="true";if(!U&&x.isRestrictiveCookiePolicyEnabled&&_(),typeof M!="undefined"&&M!==null)return!1}return f||C(x),A(x),!0}},111024:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0});function a(c,d){for(var u in d)Object.defineProperty(c,u,{enumerable:!0,get:d[u]})}a(l,{EMAIL_PATTERN:function(){return t},VALID_EMAIL_REGEX:function(){return r},isValidEmail:function(){return i}});var n=o(e(548068));function o(c){return c&&c.__esModule?c:{default:c}}var t="^([a-zA-Z0-9_.!#$%&'*+-/=?^_`{|}~])+\\@(([a-zA-Z0-9\\-])+\\.)+([a-zA-Z0-9]{2,4})+$",r=new RegExp(t),i=function(c){return!(0,n.default)(c)||c.length<3||c.length>256?!1:r.test(c)}},703653:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(P,T){for(var x in T)Object.defineProperty(P,x,{enumerable:!0,get:T[x]})}a(l,{ACTION_TYPES:function(){return d},getKeyAndLoadRecaptchaEnterprise:function(){return p},showRecaptchaBadge:function(){return g},hideRecaptchaBadge:function(){return m},addBadgeEventListenersToElement:function(){return b},addBadgeEventListenersToFieldElements:function(){return C},getReCaptchaToken:function(){return A},getCaptchaContainer:function(){return _}});var n=e(26018);function o(P,T,x,M,U,j,$){try{var G=P[j]($),J=G.value}catch(ie){x(ie);return}G.done?T(J):Promise.resolve(J).then(M,U)}function t(P){return function(){var T=this,x=arguments;return new Promise(function(M,U){var j=P.apply(T,x);function $(J){o(j,M,U,$,G,"next",J)}function G(J){o(j,M,U,$,G,"throw",J)}$(void 0)})}}var r=function(P,T){var x,M,U,j,$={label:0,sent:function(){if(U[0]&1)throw U[1];return U[1]},trys:[],ops:[]};return j={next:G(0),throw:G(1),return:G(2)},typeof Symbol=="function"&&(j[Symbol.iterator]=function(){return this}),j;function G(ie){return function(W){return J([ie,W])}}function J(ie){if(x)throw new TypeError("Generator is already executing.");for(;$;)try{if(x=1,M&&(U=ie[0]&2?M.return:ie[0]?M.throw||((U=M.return)&&U.call(M),0):M.next)&&!(U=U.call(M,ie[1])).done)return U;switch(M=0,U&&(ie=[ie[0]&2,U.value]),ie[0]){case 0:case 1:U=ie;break;case 4:return $.label++,{value:ie[1],done:!1};case 5:$.label++,M=ie[1],ie=[0];continue;case 7:ie=$.ops.pop(),$.trys.pop();continue;default:if(U=$.trys,!(U=U.length>0&&U[U.length-1])&&(ie[0]===6||ie[0]===2)){$=0;continue}if(ie[0]===3&&(!U||ie[1]>U[0]&&ie[1]<U[3])){$.label=ie[1];break}if(ie[0]===6&&$.label<U[1]){$.label=U[1],U=ie;break}if(U&&$.label<U[2]){$.label=U[2],$.ops.push(ie);break}U[2]&&$.ops.pop(),$.trys.pop();continue}ie=T.call(P,$)}catch(W){ie=[6,W],M=0}finally{x=U=0}if(ie[0]&5)throw ie[1];return{value:ie[0]?ie[1]:void 0,done:!0}}},i="forms-grecaptcha-badge-style",c;(function(P){P.HIDDEN=".grecaptcha-badge { visibility: hidden; }",P.UNHIDDEN=".grecaptcha-badge { visibility: visible; z-index: 12000 }",P.UNHIDDEN_LIGHTBOX=".grecaptcha-badge { visibility: visible; z-index: 100000001 }"})(c||(c={}));var d={FORM_BLOCK:"FORM_BLOCK_SUBMISSION",NEWSLETTER_BLOCK:"NEWSLETTER_BLOCK_SUBMISSION",PRODUCT_WAITLIST:"PRODUCT_WAITLIST_SUBMISSION",PROMO_POPUP:"PROMO_POPUP_SUBMISSION"},u="https://www.google.com/recaptcha/enterprise.js?onload=__grecaptchaOnLoadCallback&render=",s=function(P){var T,x,M;return(T=P.Static)===null||T===void 0||(x=T.SQUARESPACE_CONTEXT)===null||x===void 0||(M=x.recaptchaEnterpriseContext)===null||M===void 0?void 0:M.recaptchaEnterpriseSiteKey},f=function(P,T){var x='script[src*="https://www.google.com/recaptcha/api.js"]',M=P.document.querySelector(x);if(M)M.remove();else if(P.__grecaptchaOnLoadPromise)return P.__grecaptchaOnLoadPromise;return P.__grecaptchaOnLoadPromise=new Promise(function(U,j){P.__grecaptchaOnLoadCallback=function(){return U()},P.document?(0,n.loadScript)(u+T,{doc:P.document}).catch(j):j("[EnterpriseV3ReCaptchaApi] Document was destroyed")}),P.__grecaptchaOnLoadPromise},p=function(){var P=t(function(T){var x,M;return r(this,function(U){switch(U.label){case 0:return x=s(T),x?[4,f(T,x)]:[2,Promise.reject("Enterprise V3 ReCaptcha site key not found")];case 1:return U.sent(),T.document.getElementById(i)||(M=T.document.createElement("style"),M.id=i,M.textContent=c.HIDDEN,T.document.head.appendChild(M)),[2]}})});return function(x){return P.apply(this,arguments)}}(),v=function(P,T){var x=P.document.getElementById(i);x&&(x.textContent=T)},g=function(P){var T=P.win,x=P.isLightbox,M=x===void 0?!1:x;M?v(T,c.UNHIDDEN_LIGHTBOX):v(T,c.UNHIDDEN)},m=function(P){var T=P.win;v(T,c.HIDDEN)},b=function(P){var T=P.element,x=P.win,M=P.isLightbox,U=M===void 0?!1:M;T.addEventListener("focus",function(){g({win:x,isLightbox:U})})},C=function(P){var T=P.formEl,x=P.isLightbox,M=x===void 0?!1:x,U=P.win;T.querySelectorAll("input, textarea, select").forEach(function(j){b({element:j,win:U,isLightbox:M})})},A=function(){var P=t(function(T,x){var M,U,j;return r(this,function($){return U=T==null||(M=T.grecaptcha)===null||M===void 0?void 0:M.enterprise,U?(j=s(T),j?[2,new Promise(function(G){U.ready(function(){try{U.execute(j,{action:x}).then(function(J){G(J)})}catch(J){G(null)}})})]:[2,Promise.resolve(null)]):[2,Promise.resolve(null)]})});return function(x,M){return P.apply(this,arguments)}}(),_=function(P){var T=P.querySelector(".captcha-container");return T||null}},277156:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"EnterpriseV3RecaptchaAPI",{enumerable:!0,get:function(){return a}});var a=o(e(703653));function n(t){if(typeof WeakMap!="function")return null;var r=new WeakMap,i=new WeakMap;return(n=function(c){return c?i:r})(t)}function o(t,r){if(!r&&t&&t.__esModule)return t;if(t===null||typeof t!="object"&&typeof t!="function")return{default:t};var i=n(r);if(i&&i.has(t))return i.get(t);var c={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var u in t)if(u!=="default"&&Object.prototype.hasOwnProperty.call(t,u)){var s=d?Object.getOwnPropertyDescriptor(t,u):null;s&&(s.get||s.set)?Object.defineProperty(c,u,s):c[u]=t[u]}return c.default=t,i&&i.set(t,c),c}},569180:function(y,l,e){"use strict";var a;a={value:!0},Object.defineProperty(l,"Z",{enumerable:!0,get:function(){return ie}});var n=e(769452),o=e(419467),t=A(e(51216)),r=e(817869),i=e(579888),c=e(203758),d=e(26018),u=e(111024),s=A(e(808847)),f=e(481207);function p(W,q){(q==null||q>W.length)&&(q=W.length);for(var H=0,X=new Array(q);H<q;H++)X[H]=W[H];return X}function v(W){if(Array.isArray(W))return W}function g(W){if(Array.isArray(W))return p(W)}function m(W,q){if(!(W instanceof q))throw new TypeError("Cannot call a class as a function")}function b(W,q,H){return q in W?Object.defineProperty(W,q,{value:H,enumerable:!0,configurable:!0,writable:!0}):W[q]=H,W}function C(W,q){return q!=null&&typeof Symbol!="undefined"&&q[Symbol.hasInstance]?!!q[Symbol.hasInstance](W):W instanceof q}function A(W){return W&&W.__esModule?W:{default:W}}function _(W){if(typeof Symbol!="undefined"&&W[Symbol.iterator]!=null||W["@@iterator"]!=null)return Array.from(W)}function P(W,q){var H=W==null?null:typeof Symbol!="undefined"&&W[Symbol.iterator]||W["@@iterator"];if(H!=null){var X=[],k=!0,ne=!1,re,le;try{for(H=H.call(W);!(k=(re=H.next()).done)&&(X.push(re.value),!(q&&X.length===q));k=!0);}catch(se){ne=!0,le=se}finally{try{!k&&H.return!=null&&H.return()}finally{if(ne)throw le}}return X}}function T(){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 x(){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 M(W){for(var q=1;q<arguments.length;q++){var H=arguments[q]!=null?arguments[q]:{},X=Object.keys(H);typeof Object.getOwnPropertySymbols=="function"&&(X=X.concat(Object.getOwnPropertySymbols(H).filter(function(k){return Object.getOwnPropertyDescriptor(H,k).enumerable}))),X.forEach(function(k){b(W,k,H[k])})}return W}function U(W,q){var H=Object.keys(W);if(Object.getOwnPropertySymbols){var X=Object.getOwnPropertySymbols(W);q&&(X=X.filter(function(k){return Object.getOwnPropertyDescriptor(W,k).enumerable})),H.push.apply(H,X)}return H}function j(W,q){return q=q!=null?q:{},Object.getOwnPropertyDescriptors?Object.defineProperties(W,Object.getOwnPropertyDescriptors(q)):U(Object(q)).forEach(function(H){Object.defineProperty(W,H,Object.getOwnPropertyDescriptor(q,H))}),W}function $(W,q){return v(W)||P(W,q)||J(W,q)||T()}function G(W){return g(W)||_(W)||J(W)||x()}function J(W,q){if(W){if(typeof W=="string")return p(W,q);var H=Object.prototype.toString.call(W).slice(8,-1);if(H==="Object"&&W.constructor&&(H=W.constructor.name),H==="Map"||H==="Set")return Array.from(H);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return p(W,q)}}var ie=function(){"use strict";function W(H,X){var k=this;if(m(this,W),this.success=function(ne){k.isNewsletterForm()&&(0,c.trackSubscribeNewsletter)(),(0,o.invoke)(k.win,"Y.Global.fire","form:submitSuccess"),k.redirectToSuccessRedirect()||(k.unlock(),k.renderSuccess())},this.createErrorNode=function(ne){var re=k.win.document.createElement("div");return re.className="field-error",re.innerHTML=ne,re},this.fail=function(ne){k.renderErrors(ne),k.isNewsletterForm()||k.renderSurroundingErrors();var re=d.GoogleReCaptchaAPI.getCaptchaContainer(k.win,k.formEl);re&&(k.submitEl&&k.submitEl.getAttribute("data-captcha-bound")&&(k.submitEl.disabled=!0),d.GoogleReCaptchaAPI.reset(k.win,re)),k.unlock()},!H||!X)throw new Error("Invalid FormHandler construction.");
81if(this.win=H,C(X,Element)?this.formEl=X:X.formNode&&(this.formEl=X.formNode.getDOMNode()),!this.formEl)throw new Error("FormHandler needs a valid <form> for formEl.");this.submitEl=this.formEl.querySelector('[type="submit"]')||document.createElement("div"),this.submitText=this.submitEl.value}var q=W.prototype;return q.clearErrors=function(){G(this.formEl.querySelectorAll(".field-error")).forEach(function(X){return X.remove()}),G(this.formEl.querySelectorAll(".form-item.error")).forEach(function(X){return X.classList.remove("error")})},q.isLocked=function(){this.formEl.classList.contains("submitting")},q.lock=function(){this.submitEl.classList.add("submitting"),this.submitEl.value=W.strings.SUBMIT_TEXT_IN_PROGRESS},q.unlock=function(){this.submitEl.classList.remove("submitting"),this.submitEl.value=this.submitText},q.validate=function(){return G(this.formEl.querySelectorAll(".form-item")).reduce(function(X,k){var ne=W.validateField(k),re=ne.isValid,le=ne.message;return re||(X.isValid=!1,X.errors.push({fieldId:k.id,message:le})),X},{isValid:!0,errors:[]})},q.withCaptcha=function(X){var k=d.GoogleReCaptchaAPI.getCaptchaContainer(this.win,this.formEl);if(!k)return X;var ne=d.GoogleReCaptchaAPI.validate(this.win,k);return ne?j(M({},X),{captchaKey:ne}):null},q.submit=function(X){var k=this;if(this.isLocked())return!1;if(this.lock(),!X.disableValidation){this.clearErrors();var ne=this.validate(),re=ne.isValid,le=ne.errors;if(!re)return this.fail(W.strings.FIELD_VALIDATION_ERROR),this.renderFieldClientErrors(le),!1}var se;try{se=this.withCaptcha(X)}catch(ae){return this.fail(W.strings.CAPTCHA_INCOMPLETE_ERROR),!1}return W.getFormKey().catch(function(ae){k.fail(W.strings.FORM_KEY_ERROR)}).then(function(ae){se.key=ae;try{var pe=k.getSanitizedFieldValues();se.form=JSON.stringify(pe)}catch(Pe){throw new Error(W.strings.FIELD_SANITIZATION_ERROR)}try{k.save(se)}catch(Pe){throw new Error(W.strings.SUBMIT_ERROR)}}).catch(function(ae){k.fail(ae.message)}),!1},q.getSanitizedFieldValues=function(){return G(this.formEl.querySelectorAll(".form-item")).reduce(function(X,k){return X[k.id]=W.getSanitizedFieldValue(k),X},{})},q.save=function(X){var k=M({},X);return(0,f.addIntraPageEventFields)(k),s.default.post(W.endpoints.SAVE,k,W.NETWORK_OPTIONS).then(this.success).catch(this.fail)},q.isNewsletterForm=function(){return!!(this.formEl.classList.contains("newsletter-form")||this.formEl.querySelector(i.FacebookPixelConstants.NEWSLETTER_OVERLAY_NODE_ID))},q.renderFieldError=function(X,k){var ne=this.formEl.querySelector("#".concat(X));if(ne){ne.classList.add("error");var re=ne.querySelector(".title");k&&re&&re.parentNode&&re.parentNode.insertBefore(this.createErrorNode(k),re)}},q.renderFieldClientErrors=function(X){var k=this;X.forEach(function(ne){var re=ne.fieldId,le=ne.message;return k.renderFieldError(re,le)})},q.renderFieldServerErrors=function(X){var k=this;Object.entries(X).forEach(function(ne){var re=$(ne,2),le=re[0],se=re[1];k.renderFieldError(le,se)})},q.renderErrorMessage=function(X){this.formEl.insertBefore(this.createErrorNode(X),this.isNewsletterForm()?this.formEl.querySelector(".newsletter-form-body"):this.formEl.firstChild)},q.renderSurroundingErrors=function(){var X=this.formEl;X.insertBefore(this.createErrorNode(W.strings.ERROR_ABOVE),X.firstChild),this.formEl.appendChild(this.createErrorNode(W.strings.ERROR_BELOW))},q.renderErrors=function(X){if(W.isFieldErrors(X))this.renderFieldServerErrors(X.data.errors);else{var k=W.getErrorMessage(X)||W.strings.UNKNOWN_ERROR;this.renderErrorMessage(k)}},q.showSubmissionText=function(){var X=this.formEl.querySelector(".form-submission-text");X&&(X.classList.remove("hidden"),G(X.querySelectorAll("*")).forEach(function(k){return k.classList.remove("hidden")}))},q.hideForm=function(){G(this.formEl.querySelectorAll("*")).forEach(function(X){return X.classList.add("hidden")})},q.redirectToSuccessRedirect=function(){var X=this.formEl.dataset.successRedirect;return X?(window.history.replaceState&&window.history.replaceState({},document.title,window.location.href),window.location.href=X,!0):!1},q.getPostSubmitHtml=function(){var X=this.formEl.querySelector(".form-submission-html");return X?X.dataset.submissionHtml:""},q.appendAndRunPostSubmitHtml=function(){var X=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",k=this,ne=this.formEl.querySelector(".form-submission-html");ne.innerHTML=this.getPostSubmitHtml(),ne.classList.remove("hidden"),G(ne.querySelectorAll("script")).forEac
81h(function(re){try{if(re.src){var le=document.createElement("script");G(re.attributes).forEach(function(se){le[se.name]=se.value}),re.parentNode.insertBefore(le,re)}else k.win.eval(re.innerText)}catch(se){}})},q.renderSuccess=function(){this.hideForm(),this.showSubmissionText(),(0,r.scrollIntoView)(this.formEl,!0),this.appendAndRunPostSubmitHtml(this.getPostSubmitHtml())},W}();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 [email protected].")},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 s.default.post(ie.endpoints.FORM_KEY,{},ie.NETWORK_OPTIONS).then(function(W){var q=W.data.key;return q})},ie.isFieldErrors=function(W){var q=W.response;return(0,o.isObject)(q)&&q&&q.status===400&&q.data&&q.data.errors&&Object.keys(q.data.errors).length>0},ie.getErrorMessage=function(){var W=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return(0,o.isString)(W)?W:(0,o.isObject)(W)?W.status&&ie.errorCodes[W.status]?ie.errorCodes[W.status]:W.data&&W.data.error?W.data.error:"":""},ie.sanitizeValue=function(W){var q=W.querySelector(".field-element");return q?q.value:null},ie.sanitizeChildValuesToArray=function(W){return W?G(W.querySelectorAll(".field-element")).map(function(q){var H=q.value;return H}):[]},ie.sanitizePhone=function(W){var q=ie.sanitizeChildValuesToArray(W);return q.length===3?[""].concat(G(q)):q},ie.sanitizeCheckbox=function(W){return G(W.querySelectorAll("input")).reduce(function(q,H){return H.checked&&q.push(H.value),q},[])},ie.sanitizeRadio=function(W){return ie.sanitizeCheckbox(W)[0]},ie.sanitizeSelect=function(W){var q=W.querySelector("select");return q?q.value:null},ie.sanitizeLike=function(W){return G(W.querySelectorAll(".item")).reduce(function(q,H){var X=ie.sanitizeCheckbox(H),k=H.dataset.question;return k&&X.length>0&&(q[k]=X),q},{})},ie.sanitizeHidden=function(W){var q=ie.initialQuery||t.default.parse(window.location.search.replace(/^\?/,""));return(W.name&&q[W.name]?q[W.name]:W.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(W){if(!W.classList.contains("section")){var q=G(W.classList).find(function(X){return ie.sanitizersHash[X]})||"default",H=ie.sanitizersHash[q];return H(W)}},ie.validateField=function(W){if(W.classList.contains("section"))return{isValid:!0};var q=W.classList.contains("required");if(W.dataset.maxLength){var H=W.querySelector("textarea"),X=H.value.trim(),k=!q&&X.length===0,ne=parseInt(W.dataset.maxLength,10),re=!!(ne&&!isNaN(ne)),le=k||!re||H.value.length<=ne;return{isValid:le,message:ie.strings.FAIL_MAX_LENGTH}}if(W.classList.contains("email")){var se=W.querySelector("input"),ae=se.value.trim(),pe=!q&&ae.length===0,Pe=pe||(0,u.isValidEmail)(ae);return{isValid:Pe,message:ie.strings.FAIL_EMAIL}}return{isValid:!0}}},302188:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0});function e(c,d){for(var u in d)Object.defineProperty(c,u,{enumerable:!0,get:d[u]})}e(l,{getFrameElement:function(){return n},getFrameWindow:function(){return o},getFrameDocument:function(){return r},isWindowInFrame:function(){return i}});var a="sqs-site-frame";function n(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return c.getElementById(a)}function o(){var c=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,d=n(c),u=d==null?void 0:d.contentWindow;return u!=null?u:null}var t,r=function(){var c;return(t=(c=o())===null||c===void 0?void 0:c.document)!==null&&t!==void 0?t:null},i=function(c){return c.frameElement&&c.frameElement.id===a}},647864:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(b,C){for(var A in C)Object.defineProperty(b,A,{enumerable:!0,get:C[A]})}a(l,{getStyleById:function(){return u},Styles:function(){return s},mapModelToViewConfig:function(){return f},updateUiOptions:function(){return g},destroyUpdater:function(){return m}});var n=r(e(636536)),o=e(26018);function t(b,C,A){return C in b?Object.defineProperty(b,C,{value:A,enumerable:!0,configurable:!0,writable:!0}):b[C]=A,b}function r(b){return b&&b.__esModule?b:{default:b}}function i(b){for(var C=1;C<arguments.length;C++){var A=arguments[C]!=null?arguments[C]:{},_=Object.keys(A);typeof Object.getOwnPropertySymbols=="function"&&(_=_.concat(Object.getOwnPropertySymbols(A).filter(function(P){return Object.getOwnPropertyDescriptor(A,P).enumerable}))),_.forEach(function(P){t(b,P,A[P])})}return b}var c=(0,o.createErrorLogger)("GoogleMapsUtils"),d=[null,n.default.Original,n.default.Grayscale,n.default.Satellite,n.default.MinimalLight,n.default.MinimalDark,n.default.MinimalBlue],u=function(b){return d[b]},s={ORIGINAL:1,GRAYSCALE:2,SATELLITE:3,MINIMAL_LIGHT:4,MINIMAL_DARK:5,MINIMAL_BLUE:6},f=function(b){var C=b.location,A=b.controls,_=b.terrain,P=b.labels,T=b.style;return{location:C,ui:{showControls:A,showTerrain:_,showLabels:P,style:d[T]}}},p=60,v=new Map,g=function(b,C){if(!(!b||!C)){var A=v.get(b)||{},_=A.timeout,P=A.options,T=P===void 0?{}:P;_&&window.clearTimeout(_);var x=i({},T,C),M=function(){try{b.updateUIOptions(x)}catch(U){c(U)}};v.set(b,{cb:M,timeout:window.setTimeout(M,p),options:x})}},m=function(b){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(b){var A=v.get(b)||{},_=A.cb,P=A.timeout;P&&window.clearTimeout(P),!C&&_&&_(),v.delete(b)}}},432346:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return f}});var a=e(769452),n=i(e(628312)),o=i(e(466740)),t=e(433967),r=i(e(727742));function i(p){return p&&p.__esModule?p:{default:p}}var c=function(p){return!!p.getAttribute("data-loader")},d=function(p,v){var g=p.one("img[data-image]");if(g){var m=g.loader,b={title:(0,a.t)("Image")};if(m)b.content=m.getBareElement();else if(c(g))b.content=g;else return;var C=p.getAttribute("data-description");C&&(b.meta=C);var A=p.getAttribute("data-lightbox-theme");A&&(b.theme=A),p.plug(v.Squarespace.Lightbox2Plug,{lightboxOptions:b})}},u=function(p,v){c(p)||p.setStyles({position:null,top:null,left:null,width:null,height:null});var g=!!p.ancestor(".sized,.content-fill");if(g){var m=v.on("resize",function(){p.getDOMNode()&&p.inDoc()?p.fire("refresh"):(m.detach(),m=null)},v.config.win),b=p.ancestor(".image-block-wrapper"),C=p.ancestor(".sqs-layout");b&&C&&!C.hasClass("editing")&&p.setStyles({maxWidth:"none"})}var A=!!p.ancestor(".has-aspect-ratio");c(p)||p.plug(v.Squarespace.Loader2,{mode:A||g?"fill":"none",fixedRatio:A})},s=function(p,v){u(p,v);var g=p.ancestor(".sqs-block");if(g){var m=g.one(".lightbox");if(m&&d(m,v),!!g.hasClass("sqs-block-image")){var b=p.getDOMNode();(0,t.isFluidImage)(b)&&((0,t.initializeFluidImageInVisitorView)(b),r.default.createImageEffect(b));var C=!1,A=g.one(".image-block-outer-wrapper");if(A){var _=A.get("offsetWidth")<415;A.toggleClass("sqs-narrow-width",_),_&&(C=!0)}var P=g.one(".sqs-dynamic-text-container");if(P&&(0,n.default)(P.getDOMNode()),g.addClass("sqs-text-ready"),!c(p)&&C){var T=o.default.isSevenOne()&&v.config.win.ImageLoader.loadLazy,x=(T?v.config.win.ImageLoader.loadLazy:v.config.win.ImageLoader.load).bind(v.config.win.ImageLoader);x(p)}}}},f={initializeImageBlock:s,initializeBasicBlockWithImage:u}},302246:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"isRatioIntersecting",{enumerable:!0,get:function(){return o}});var a=e(26018),n=(0,a.createLogger)("IntersectionObserverUtils","#fc0"),o=function(t){var r=t.target,i=t.intersectionRatio,c=t.isIntersecting,d=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(i>=u)return!0;var s=d.height>window.innerHeight;return s&&c}},214787:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(o,t){for(var r in t)Object.defineProperty(o,r,{enumerable:!0,get:t[r]})}e(l,{getLocalStorageData:function(){return n},saveToLocalStorage:function(){return a}});function a(o,t){if(localStorage){typeof t!="string"&&(t=JSON.stringify(t));try{localStorage.setItem(o,t)}catch(r){console.warn(r)}}}function n(o){var t=null;if(localStorage)try{var r=localStorage.getItem(o);t=JSON.parse(r)}catch(i){t=null}return t}},246247:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return r}});var a=n(e(808847));function n(i){return i&&i.__esModule?i:{default:i}}var o="/api/auth/Logout",t={logout:function(){return a.default.post(o)}},r=t},246403:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(c,d){for(var u in d)Object.defineProperty(c,u,{enumerable:!0,get:d[u]})}e(l,{setupToggleHandlers:function(){return r},togglePricingOptionsAccessScreen:function(){return i}});var a=".ma-pricing-options .left-button",n=".ma-pricing-options .right-button",o="#sqs-member-access-page-root",t=function(c,d){var u="ma-pricing-option-selected";if(!c.classList.contains(u)){var s=d.querySelector(a),f=d.querySelector(n);if(s&&f){var p=s.getAttribute("aria-pressed")==="true";s.setAttribute("aria-pressed","".concat(!p)),f.setAttribute("aria-pressed","".concat(p)),s.classList.toggle(u),f.classList.toggle(u),d.querySelectorAll(".product-price > div").forEach(function(g){g.classList.toggle("hide")});var v=d.querySelectorAll(".join-ma-section");v.length>0?v.forEach(function(g){g.classList.toggle("hide")}):d.querySelectorAll(".join-button").forEach(function(g){g.classList.toggle("hide")})}}},r=function(c){c.delegate("click",function(){t(c.one(a).getDOMNode(),c.getDOMNode())},a),c.delegate("click",function(){t(c.one(n).getDOMNode(),c.getDOMNode())},n)},i=function(c){var d=document.querySelector(o);if(d){var u=d.querySelector(c);t(u,d)}}},688893:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"initializeMenuBlock",{enumerable:!0,get:function(){return d}});function e(u,s){(s==null||s>u.length)&&(s=u.length);for(var f=0,p=new Array(s);f<s;f++)p[f]=u[f];return p}function a(u){if(Array.isArray(u))return e(u)}function n(u){if(typeof Symbol!="undefined"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}function o(){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 t(u){return a(u)||n(u)||r(u)||o()}function r(u,s){if(u){if(typeof u=="string")return e(u,s);var f=Object.prototype.toString.call(u).slice(8,-1);if(f==="Object"&&u.constructor&&(f=u.constructor.name),f==="Map"||f==="Set")return Array.from(f);if(f==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(f))return e(u,s)}}var i=0,c="menu-select-labels--active";function d(u){var s=function(m,b){f.forEach(function(C,A){A===m?(C.setAttribute("tabindex",0),C.setAttribute("aria-selected",!0),C.classList.add(c),b&&C.focus()):(C.setAttribute("tabindex",-1),C.setAttribute("aria-selected",!1),C.classList.remove(c))}),v.forEach(function(C,A){A===m?C.style.display="block":C.style.display="none"})},f=t(u.querySelectorAll(".js-menu-select-labels")),p=f.length;if(p!==0){var v=t(u.querySelectorAll(".js-menu"));s(i,!1),f.forEach(function(g,m){g.addEventListener("click",function(){s(m,!0)}),g.addEventListener("keydown",function(b){b.keyCode===13||b.keyCode===32?(b.stopPropagation(),s(m,!0)):b.keyCode===37?(b.stopPropagation(),s((m-1+p)%p,!0)):b.keyCode===39&&(b.stopPropagation(),s((m+1)%p,!0))})})}}},142611:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return e}});var e=function(a,n){var o=n.config.win;o.Squarespace.onInitialize(n,function(){var t=function(){d&&d.remove(),c.removeClass("sqs-block-opentable-hidden")},r=o.SQUARESPACE_LOGIN&&o.SQUARESPACE_LOGIN.isLoggedIn(),i=n.config.doc.location.protocol==="https:",c=a.one(".OT_Faux_Block"),d=a.one("#OT_form:not(.OT_Faux_Block)");r?(t(),c.all(".OT_list li").removeClass("sqs-block-opentable-hidden"),c.on("click",function(u){u.preventDefault(),n.Squarespace.Widgets.Alert({"strings.title":"Preview Only","strings.message":"Please log out of your Squarespace account in order to use the OpenTable Block."})})):(o.Squarespace.SQUARESPACE_INITIALIZED_ONCE||i)&&t()}),o.Squarespace.onDestroy(n,function(){n.one("#ui-datepicker-div")&&n.one("#ui-datepicker-div").hide()})}},913880:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return u}});var a=t(e(568324)),n=t(e(144702)),o=t(e(395095));function t(s){return s&&s.__esModule?s:{default:s}}var r=function(s,f){var p=0,v=(0,n.default)(s[0],".".concat(f),function(){return++p>3});if(!v){var g=s[0],m=g.parentNode;v=m.ownerDocument.createElement("div"),v.classList.add(f),m.insertBefore(v,g)}return s.forEach(function(b){return v.appendChild(b)}),v},i=function(s){var f=s.querySelector(".squarespace-opentable-new-age-wrapper");f.classList.add("loaded"),f.classList.remove("loading")},c=function(s){var f=s.querySelector(".squarespace-opentable-new-age-wrapper");if(!f)return Promise.reject("[opentablev2] No wrappers");if(f.classList.add("loading"),f.querySelector("iframe"))return i(s),Promise.resolve();var p=document.cookie.split(";"),v=function(x){var M=x&&x.split("=")[1].split(",");return M&&M.includes("eu")},g=function(x){var M=x.split("=")[1].split(","),U=M.includes("2")||M.includes("3");return U},m=function(){var x=p.find(function(M){if(M.includes("notice_behavior"))return M});return v(x)},b=function(){var x=p.find(function(U){if(U.includes("cmapi_cookie_privacy"))return U}),M=m(p);return!!(!M||M&&x&&g(x))};if(window.Static.SQUARESPACE_CONTEXT.website.cloneable&&b()){var C=f.dataset.script,A=document.createElement("script");A.setAttribute("src",C),f.appendChild(A)}var _=(0,o.default)({parent:f,selector:".ot-date-picker, .ot-time-picker, .ot-party-size-picker"}).then(function(x){return r(x,"squarespace-opentable-picker-wrapper")}),P=(0,o.default)({parent:f,selector:".ot-dtp-picker-button"}).then(function(x){return r(x,"squarespace-opentable-button-wrapper")}),T=(0,o.default)({parent:f,selector:".ot-title"}).then(function(x){x.forEach(function(M){var U=M.innerHTML,j=M.ownerDocument.createElement("h1");j.classList.add("squarespace-ot-title"),j.innerHTML=U,M.parentNode.insertBefore(j,M),M.parentNode.removeChild(M)})});return Promise.all([_,P,T]).then((0,o.default)({parent:f,selector:".ot-select-label"})).then(function(){return i(s)}).catch(function(x){console.error("[opentable] widget DOM never rendered")})},d=function(s,f){return new Promise(function(p,v){var g=f.querySelector("script"),m=f.clientWidth>850?"wide":"standard",b=s.Y.Squarespace.Utils&&s.Y.Squarespace.Utils.isInDamaskFrame(),C=b?"false":"true",A=g.getAttribute("src"),_=A.replace(/&(iframe|overlay|theme)=\w+/g,""),P="".concat(_,"&iframe=").concat(C,"&overlay=false&theme=").concat(m);(0,a.default)(P,{before:function(T,x){var M=g.parentNode;try{s.OT&&s.OT.Events&&Object.keys(s.OT.Events.get()).forEach(function(U){return s.OT.Events.remove(U)}),s.oc&&s.oc.events.reset()}catch(U){console.error(U.message)}return M.innerHTML="",M.appendChild(x),!1},success:function(){try{b&&s.oc&&s.oc.renderUnloadedComponents(),c(f).then(function(){if(s.oc&&f.querySelector(".ot-hide")){var T=f.querySelector(".ot-dtp-picker");s.oc.$(T).OTdtp("init")}p()})}catch(T){console.error(T.message),v("[opentable] could not reloadScript and reinit block")}},error:function(){v("[opentable] loadjs failed")}})})},u=function(s){var f=s.ownerDocument.defaultView;f.Squarespace.SQUARESPACE_INITIALIZED_ONCE?d(f,s).catch(function(p){console.error(p)}):c(s)}},825571:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0});function e(b,C){for(var A in C)Object.defineProperty(b,A,{enumerable:!0,get:C[A]})}e(l,{setupToggleHandlers:function(){return f},togglePaywallPagePricingOptionsButtons:function(){return v},alignPaywallPagePricingPlanTitles:function(){return g},toggleSeeMoreText:function(){return m}});function a(b,C){(C==null||C>b.length)&&(C=b.length);for(var A=0,_=new Array(C);A<C;A++)_[A]=b[A];return _}function n(b){if(Array.isArray(b))return a(b)}function o(b){if(typeof Symbol!="undefined"&&b[Symbol.iterator]!=null||b["@@iterator"]!=null)return Array.from(b)}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(b){return n(b)||o(b)||i(b)||t()}function i(b,C){if(b){if(typeof b=="string")return a(b,C);var A=Object.prototype.toString.call(b).slice(8,-1);if(A==="Object"&&b.constructor&&(A=b.constructor.name),A==="Map"||A==="Set")return Array.from(A);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return a(b,C)}}var c=".pricing-plan-pricing-options .left-button",d=".pricing-plan-pricing-options .right-button",u="#sqs-paywall-page-root",s=function(b,C){var A="pricing-plan-pricing-option-selected";if(!b.classList.contains(A)){var _=C.querySelector(c),P=C.querySelector(d);if(_&&P){var T=_.getAttribute("aria-pressed")==="true";_.setAttribute("aria-pressed","".concat(!T)),P.setAttribute("aria-pressed","".concat(T)),_.classList.toggle(A),P.classList.toggle(A),C.querySelectorAll(".product-price > div").forEach(function(M){M.classList.toggle("hide")});var x=C.querySelectorAll(".join-pricing-plan-section");x.length>0?x.forEach(function(M){M.classList.toggle("hide")}):C.querySelectorAll(".join-button").forEach(function(M){M.classList.toggle("hide")})}}},f=function(b){b.delegate("click",function(){s(b.one(c).getDOMNode(),b.getDOMNode())},c),b.delegate("click",function(){s(b.one(d).getDOMNode(),b.getDOMNode())},d)},p=function(b,C){if(C){var A=C.querySelector(b);s(A,C)}},v=function(){var b=document.querySelectorAll("".concat(u," .pricing-plan-pricing-option-button.left-button")),C=document.querySelectorAll("".concat(u," .pricing-plan-pricing-option-button.right-button"));b.forEach(function(A){A.addEventListener("click",function(){p(c,A.closest(".product-block"))})}),C.forEach(function(A){A.addEventListener("click",function(){p(d,A.closest(".product-block"))})})},g=function(){var b=document.querySelector("".concat(u," .product-blocks-container")),C={attributes:!1,childList:!0,subtree:!1},A=function(){var P=document.querySelectorAll("".concat(u," .pricing-plan-title"));if((P==null?void 0:P.length)>0){var T,x=r(P).map(function(j){return j.style.height="",Math.floor(j.getBoundingClientRect().height)}),M=(T=Math).max.apply(T,r(x));P.forEach(function(j){j.style.height="".concat(M,"px")})}var U=document.querySelectorAll("".concat(u," .pricing-plan-pricing-toggle-wrapper"));(U==null?void 0:U.length)>0?b.classList.add("paywall-pricing-aligner"):b.classList.remove("paywall-pricing-aligner")};if(b){A();var _=new MutationObserver(A);_.observe(b,C)}},m=function(){var b=document.querySelectorAll("".concat(u," .pricing-plan-description"));b.forEach(function(_){_.scrollHeight>_.offsetHeight&&_.closest(".product-block").classList.add("see-more-node")});var C=document.querySelectorAll("".concat(u," .see-more-text"));C.forEach(function(_){_.addEventListener("click",function(){var P=_.closest(".product-block");P.classList.remove("see-more-node"),P.classList.add("see-less-node")})});var A=document.querySelectorAll("".concat(u," .see-less-text"));A.forEach(function(_){_.addEventListener("click",function(){var P=_.closest(".product-block");P.classList.remove("see-less-node"),P.classList.add("see-more-node")})})}},923019:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(v,g){for(var m in g)Object.defineProperty(v,m,{enumerable:!0,get:g[m]})}a(l,{initializeTextHighlight:function(){return f},updateTextHighlightColor:function(){return p}});var n=c(e(321414)),o=e(789204),t=e(382851),r=e(407596),i=e(497788);
81function c(v){return v&&v.__esModule?v:{default:v}}var d="sqs-background-enabled";function u(v){var g=v.closest(".sqs-block-html");if(g){var m=g.querySelector(".TextAttributes-props");if(m){var b=m!=null&&m.textContent?JSON.parse(m.textContent):{};return(0,n.default)(b,"id")}}}function s(v){var g,m=v.closest(".sqs-block-html"),b=m.classList.contains(d),C=u(v),A=v.getAttribute("data-text-attribute-id"),_=C==null||(g=C[A])===null||g===void 0?void 0:g.color;if((_==null?void 0:_.type)===i.ColorTypes.THEME_COLOR){var P="--text-highlight-color";return b&&(P="--text-highlight-color-on-background"),"var(".concat(P,")")}else{if((_==null?void 0:_.type)===i.ColorTypes.SITE_PALETTE_COLOR)return"hsla(var(--".concat(_.sitePaletteColor.colorName,"-hsl),").concat(_.sitePaletteColor.alphaModifier,")");if((_==null?void 0:_.type)===i.ColorTypes.CUSTOM_COLOR){var T;return!((T=_.customColor)===null||T===void 0)&&T.hslaValue&&(_=(0,t.getFormattedColorReference)(_)),(0,r.stringifyPaletteColorValue)(_.customColor)}}}function f(v){if(v){var g=u(v),m=s(v),b=v.getAttribute("data-text-attribute-id");if(g&&m)g[b].color=m;else return;var C=v.closest(".sqs-block-content"),A=new o.TextShape(v,g,C);return A}}function p(v){if(v.node){var g=s(v.node);v.onStateChange({color:g})}}},842486:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"initializeShapeBlock",{enumerable:!0,get:function(){return n}});var a=e(961794);function n(o){(0,a.initializeShapeBlockInVisitorView)(o)}},359129:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});var e={create:function(o){var t=function(){};t.prototype=o;var r=new t;return r.ready&&r.ready(),r}},a=e},876034:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return o}});var a=n(e(808847));function n(t){return t&&t.__esModule?t:{default:t}}function o(t,r){t.getDOMNode&&(t=t.getDOMNode());var i;try{i=JSON.parse(t.getAttribute("data-block-json"))}catch(u){return console.warn("Issue with decoding the JSON: ",u),Promise.reject()}var c=JSON.stringify({type:r,id:t.getAttribute("id").replace("block-",""),value:i}),d="widgetJSON=".concat(c);return a.default.post("/api/widget/GetWidgetRendering",d).then(function(u){var s=t.querySelector(".sqs-block-content");s&&u.data&&u.data.html&&(s.innerHTML=u.data.html)})}},24169:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(m,b){for(var C in b)Object.defineProperty(m,C,{enumerable:!0,get:b[C]})}a(l,{IS_SQUARESPACE_IOS_APP:function(){return s},IS_SQUARESPACE_ANDROID_APP:function(){return f},IS_SQUARESPACE_MOBILE_APP:function(){return p},IS_SQUARESPACE_MOBILE_APP_SEVEN_ONE:function(){return v},IS_SQUARESPACE_MOBILE_APP_SEVEN_ZERO:function(){return g}});var n=e(87994),o=t(e(9833));function t(m){return m&&m.__esModule?m:{default:m}}var r,i,c;function d(){return(n.context===null||n.context===void 0?void 0:n.context.templateVersion)===o.default.SEVEN_ONE}function u(){return(n.context===null||n.context===void 0?void 0:n.context.templateVersion)===o.default.SEVEN}var s=!!(!(window==null||(r=window.webkit)===null||r===void 0||(i=r.messageHandlers)===null||i===void 0)&&i.isSquarespaceEditor),f=!!(!(window==null||(c=window.SquarespaceApp)===null||c===void 0)&&c.isSquarespaceEditor),p=f||s,v=d()&&p,g=u()&&p},232794:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(o,t){for(var r in t)Object.defineProperty(o,r,{enumerable:!0,get:t[r]})}e(l,{splitUnits:function(){return a},collapseChar:function(){return n}});function a(o){if(o===void 0||typeof o!="string"||o==="")return{value:o,unit:""};var t=/\d+:\d+.*/.test(o);if(t)return{value:o,unit:""};var r=o.match(/^([-.\d]+(?:\.\d+)?)(.*)$/);return!r||r.length===0?{value:o,unit:""}:{value:parseFloat(r[1].trim()),unit:r[2].trim()}}function n(){var o=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 o.replace(r,t)}},674007:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0});function a(m,b){for(var C in b)Object.defineProperty(m,C,{enumerable:!0,get:b[C]})}a(l,{calculateVideoPlaceholderAspectRatio:function(){return v},default:function(){return g}});var n=e(579888),o=c(e(808847)),t=c(e(51216));function r(m,b){(b==null||b>m.length)&&(b=m.length);for(var C=0,A=new Array(b);C<b;C++)A[C]=m[C];return A}function i(m){if(Array.isArray(m))return r(m)}function c(m){return m&&m.__esModule?m:{default:m}}function d(m){if(typeof Symbol!="undefined"&&m[Symbol.iterator]!=null||m["@@iterator"]!=null)return Array.from(m)}function u(){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 s(m){return i(m)||d(m)||f(m)||u()}function f(m,b){if(m){if(typeof m=="string")return r(m,b);var C=Object.prototype.toString.call(m).slice(8,-1);if(C==="Object"&&m.constructor&&(C=m.constructor.name),C==="Map"||C==="Set")return Array.from(C);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return r(m,b)}}function p(m){var b=m.querySelector(".summary-block-wrapper");if(!b||!b.matches(".summary-block-collection-type-events"))return Promise.resolve();var C;try{C=JSON.parse(m.getAttribute("data-block-json"))}catch(x){return console.warn("Issue with decoding the JSON: ",x),Promise.resolve()}var A=m.ownerDocument.defaultView.Static.SQUARESPACE_CONTEXT.collectionId,_=m.closest('.sqs-layout[data-type="page"]');_&&(A=_.getAttribute("id").replace("page-",""));var P=t.default.stringify({collectionId:A,widgetJSON:JSON.stringify({type:n.BlockType.SUMMARY_V2,id:m.getAttribute("id").replace("block-",""),value:C})},{arrayFormat:"repeat"}),T={headers:{"Content-Type":"application/x-www-form-urlencoded; charset=UTF-8"}};return o.default.post("/api/widget/GetWidgetRendering",P,T).then(function(x){var M=m.querySelector(".sqs-block-content");M&&(M.innerHTML=x.data.html)})}var v=function(m){var b=65;return m!=="Auto"&&(b=100/m),b||0},g=function(m){return m.getDOMNode&&(m=m.getDOMNode()),p(m).then(function(){if(!m.querySelector(".summary-block-setting-design-autogrid"))return Promise.resolve();var b=s(m.querySelectorAll("img")),C=0,A=function(P){P.target.removeEventListener("load",A),C++,C===b.length&&(C=0,window.dispatchEvent(new Event("resize")))},_=function(P){P.addEventListener("load",A)};b.forEach(_)})}},466740:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return t}});var a=o(e(461761)),n=o(e(9833));function o(r){return r&&r.__esModule?r:{default:r}}var t=function(){var r=(0,a.default)(window,"Static.SQUARESPACE_CONTEXT.templateVersion");return{getVersion:function(){return r},isVersion:function(c){return r===c},isSevenOne:function(){return r===n.default.SEVEN_ONE}}}()},667806:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return i}});var e="https://www.exploretock.com/tock.js",a=750,n="Tock_widget_container-columnLayout",o=function(c){var d=c.closest(".tock-block");d&&c.classList.toggle(n,d.clientWidth<=a)},t=function(c){return new ResizeObserver(function(){o(c)})},r=function(c){var d=c.ownerDocument,u=d.defaultView,s=c.querySelector("#Tock_widget_container"),f=new MutationObserver(function(){var v=s.querySelector(".TockButton-blue");v.classList.add("sqs-button-element--primary"),f.disconnect()});f.observe(s,{childList:!0});var p;s&&(p=s.getAttribute("data-tock-business-slug"),o(s),u._tockResizeObserver&&(u._tockResizeObserver.disconnect(),u._tockResizeObserver=void 0),u.ResizeObserver&&(u._tockResizeObserver=t(s),u._tockResizeObserver.observe(c))),u.tock||(u.tock={version:"1.0"},u._tockLoadPromise=new Promise(function(v,g){var m=d.createElement("script");d.head.appendChild(m),m.onload=function(){return v()},m.onerror=function(){return g()},m.async=!0,m.src=e})),u._tockLoadPromise.then(function(){u.tock.load(p)})},i=r},561810:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});var e=Object.freeze({ANCHOR:"ANCHOR",CONTENT_LINK:"CONTENT_LINK",DEFAULT:"DEFAULT",EMPTY_STRING:"EMPTY_STRING",EXTERNAL_LINK:"EXTERNAL_LINK",FILE_LINK:"FILE_LINK",MALFORMED_PROTOCOL:"MALFORMED_PROTOCOL",MISC_PROTOCOL:"MISC_PROTOCOL"}),a=e},202361:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(fe,We){for(var tt in We)Object.defineProperty(fe,tt,{enumerable:!0,get:We[tt]})}a(l,{addHttpIfMissing:function(){return Ue},addQueryParam:function(){return ie},constructUrlFromContent:function(){return ze},createUrlSafeString:function(){return X},createUrlWithSlash:function(){return W},deconstructUrlToContent:function(){return Ve},doubleEncode:function(){return re},encodeUrl:function(){return se},ensurePrefixedUrl:function(){return Vt},ensureProtocol:function(){return Bt},ensureUriOrProtocol:function(){return en},getNode:function(){return ae},getCategory:function(){return G},getHash:function(){return ve},getHostName:function(){return Me},getPath:function(){return pe},getSearch:function(){return Pe},hasExternalProtocol:function(){return xt},isAnchor:function(){return yt},isFtp:function(){return Ut},isInternalUrl:function(){return Jt},isIP:function(){return Oe},isJavascript:function(){return st},isLinkExternal:function(){return be},isMailto:function(){return zt},isProperMailTo:function(){return nn},isProperSms:function(){return Xe},isProperTel:function(){return Lt},isProperUrl:function(){return Le},isSecure:function(){return on},isSlash:function(){return At},isSms:function(){return jt},isTel:function(){return wt},pathMatches:function(){return ht},removeHttpAndWwwFromUrl:function(){return Ee},sanitizeTokenizedBlogUrl:function(){return H}
81,securifyBlockEmbed:function(){return te},securifyURL:function(){return ln},stripProtocolAndSlashes:function(){return J},stripTrailingSlashes:function(){return $},tokenizedBlogUrlInputFilter:function(){return q},URI_REGEX:function(){return b}});var n=d(e(487109)),o=d(e(51216)),t=e(232794),r=d(e(561810));function i(fe,We){(We==null||We>fe.length)&&(We=fe.length);for(var tt=0,St=new Array(We);tt<We;tt++)St[tt]=fe[tt];return St}function c(fe){if(Array.isArray(fe))return fe}function d(fe){return fe&&fe.__esModule?fe:{default:fe}}function u(fe,We){var tt=fe==null?null:typeof Symbol!="undefined"&&fe[Symbol.iterator]||fe["@@iterator"];if(tt!=null){var St=[],Gt=!0,Zt=!1,Un,Yt;try{for(tt=tt.call(fe);!(Gt=(Un=tt.next()).done)&&(St.push(Un.value),!(We&&St.length===We));Gt=!0);}catch(jn){Zt=!0,Yt=jn}finally{try{!Gt&&tt.return!=null&&tt.return()}finally{if(Zt)throw Yt}}return St}}function s(){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 f(fe,We){return c(fe)||u(fe,We)||p(fe,We)||s()}function p(fe,We){if(fe){if(typeof fe=="string")return i(fe,We);var tt=Object.prototype.toString.call(fe).slice(8,-1);if(tt==="Object"&&fe.constructor&&(tt=fe.constructor.name),tt==="Map"||tt==="Set")return Array.from(tt);if(tt==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(tt))return i(fe,We)}}var v="https:",g=["http","https","ftp"],m=/^https?:\/\//i,b=/[\w\:]*\:(\w+)/,C=/(?:https?:\/\/)?(?:www\.)?(.*)\/?$/i,A=/^(https?:)?(\/\/)?[a-zA-Z0-9][a-zA-Z0-9_\-\.]*\.[a-zA-Z]{2,3}(\S*)?$/i,_=/(?:^#)|(?:^\.{0,2}\/)|(?:^(mailto|tel|sms|ftp|javascript):)|^(https?:)?\/\//,P=/^((https?:)?\/\/)|(ftp:\/\/)/i,T=/^([a-z]+):(.*)/i,x=/^(https?:)?(\/\/)?[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/i,M=/^[\+\-\d]{4,}$/,U=/^([\+\-\(\)\d]*\d[\+\-\(\)\d]*,?)+$/,j=/\.[\w\d]+$/,$=function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe.replace(new RegExp("^(/?)(.*[^/])?(/+)?$"),"$1$2")},G=function(fe){if(fe=(0,n.default)(fe),fe==="")return r.default.EMPTY_STRING;var We=fe.match(T);if(We&&We.length>2){var tt=We[1].toLowerCase(),St=We[2].startsWith("//"),Gt=g.includes(tt);if(!Gt)return r.default.MISC_PROTOCOL;if(!St)return r.default.MALFORMED_PROTOCOL}return fe.charAt(0)==="#"?r.default.ANCHOR:be(fe)?r.default.EXTERNAL_LINK:fe.indexOf("/s/")===0?r.default.FILE_LINK:fe.charAt(0)==="/"?r.default.CONTENT_LINK:null},J=function(fe){return fe.replace(P,"")},ie=function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",We=arguments.length>1?arguments[1]:void 0,tt=arguments.length>2?arguments[2]:void 0,St="";if((!fe||typeof fe!="string")&&(window.SQUARESPACE_SENTRY&&window.SQUARESPACE_SENTRY.captureMessage("Invalid url passed to UrlUtils.addQueryParam"),fe=""),fe){var Gt=fe.split("#");Gt.length>1&&(St=Gt.slice(1).join(),fe=Gt[0])}if(typeof We=="string"&&We){var Zt=fe.indexOf("?")!==-1?"&":"?";fe+=Zt+We+"="+tt}return St&&(fe+="#"+St),fe},W=function(fe){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],tt=We.join(""),St="[^a-zA-Z0-9/\\-".concat(tt,"]");return fe=fe.trim().replace(new RegExp("[ ]+","g")," ").replace(new RegExp("[ ]","g"),"-").replace(new RegExp(St,"g"),"").replace(new RegExp("[\\.\\-]{2,}","g"),"-").replace(new RegExp("[\\.\\/]{2,}","g"),"/").toLowerCase(),fe},q=function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return fe=fe.replace(/^\/+/g,""),fe=(0,t.collapseChar)(fe,"%"),fe=fe.replace(/%[^ymdt]/,"%"),fe=(0,t.collapseChar)(fe,"/"),fe?W(fe,["%"]):""},H=function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"";return $(q(fe).replace(/%+$/,""))},X=function(fe,We){var tt=fe;return We&&(tt+=We),tt=tt.replace(/\//g,""),W(tt)},k=function(fe,We){return!!fe&&fe.search(new RegExp("^"+We+".+","i"))===0},ne=[[/\//g,"%2F"],[/\?/g,"%3F"],[/\*/g,"%2A"]],re=function(fe){var We=ne.reduce(function(tt,St){return tt.replace(St[0],St[1])},fe);return encodeURIComponent(We)},le=function(fe){return!!fe||fe===""||fe===0},se=function(fe){var We=[];return Object.keys(fe).forEach(function(tt){if(fe.hasOwnProperty(tt)&&le(fe[tt])){var St=typeof fe[tt]=="str
81ing"?fe[tt]:JSON.stringify(fe[tt]);We.push(encodeURIComponent(tt)+"="+encodeURIComponent(St))}}),We.join("&")},ae=function(fe){var We=document.createElement("a");return We.href=fe,We},pe=function(fe){return fe=ae(fe),fe.pathname},Pe=function(fe){return fe=ae(fe),fe.search},ve=function(fe){return fe=ae(fe),fe.hash},Me=function(fe){var We=J(fe),tt=We.split("/")[0];return tt},ht=function(fe,We){return fe=ae(fe),We=ae(We),fe.pathname===We.pathname},xt=function(fe){return P.test(fe)},At=function(fe){return fe==="/"},Bt=function(fe){return fe.search(m)<0?fe="http://"+fe.replace(/^(\/\/)+/,""):fe=fe.replace(P,function(We,tt){return tt}),fe},en=function(fe){return fe.search(b)<0?Bt(fe):fe},Vt=function(fe){return fe?_.test(fe)?fe:"http://"+J(fe):""},be=function(fe){var We=arguments.length>1&&arguments[1]!==void 0?arguments[1]:window.location.host;if(!fe||!xt(fe))return!1;var tt=J(fe),St=tt.split("/")[0];return St.toLowerCase()!==We.toLowerCase()},Le=function(fe){return fe.search(A)>-1},Oe=function(fe){return fe.search(x)>-1},yt=function(fe){return k(fe,"#")&&fe.length<100},wt=function(fe){return k(fe,"tel:")&&fe.length<50},Lt=function(fe){return wt(fe)&&M.test(fe.split("tel:")[1])},jt=function(fe){return k(fe,"sms:")&&fe.length<1e3},Xe=function(fe){return jt(fe)?U.test(fe.split("sms:")[1]):!1},zt=function(fe){return k(fe,"mailto:")&&fe.length<1e3},nn=function(fe){if(!zt(fe))return!1;var We=fe.split("?")[0],tt=We.split("@");return tt.length===2&&j.test(tt[1])},st=function(fe){return k(fe,"javascript:")&&fe.length<250},Ut=function(fe){return k(fe,"ftp:")&&fe.length<100},Jt=function(fe){return k(fe,"\\/[^\\/]")&&fe.length<150},on=function(fe){var We="";return fe?We=(fe+"").toLowerCase().substring(0,6):window&&(We=window.location.protocol),We===v},ln=function(fe){return fe&&v+"//"+J(fe)},te=function(fe,We){if(!(!on()||!fe)){var tt=fe.all("object embed, iframe"),St=tt.size();tt.each(function(Gt,Zt){var Un=Gt.getAttribute("src");Un&&Gt.setAttribute("src",ln(Un)),We&&St===Zt+1&&(Gt.setStyle("display","none"),Gt.setStyle("display",null))})}},Ee=function(fe){return fe.replace(C,"$1")},Ue=function(){var fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",We="https://".startsWith(fe.slice(0,8))||"http://".startsWith(fe.slice(0,7))||"ftp://".startsWith(fe.slice(0,6));return We?fe:"http://".concat(fe)},ze=function(fe){var We=fe.filters,tt=fe.urlId,St=We?o.default.stringify(We,{arrayFormat:"repeat"}):"";return"/".concat(tt)+(St?"?".concat(St):"")},Ve=function(fe){if(!Jt(fe))return{};var We=f(fe.replace(/^\//,"").split("?"),2),tt=We[0],St=We[1],Gt=St?o.default.parse(St):null;return{urlId:tt,filters:Gt}}},166253:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return A}});var a=f(e(1986)),n=f(e(453420)),o=f(e(597885)),t=f(e(438457)),r=f(e(15634)),i=f(e(845193)),c=e(214787),d=e(579888),u=f(e(805187)),s=f(e(466740));function f(_){return _&&_.__esModule?_:{default:_}}function p(){var _=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},P=(0,c.getLocalStorageData)(d.PopupOverlayLocalStorage.KEY);if(P&&!(0,u.default)(P)){var T=P[d.PopupOverlayLocalStorage.VERSION];if(T&&T<_.version)return!0;var x=P[d.PopupOverlayLocalStorage.SUBMITTED];if(x&&_.showUntilSignup)return!1;var M=Date.now(),U=P[d.PopupOverlayLocalStorage.CLOSED_DATE];if(U){var j=new Date(U);if(j.setDate(j.getDate()+_.displayFrequency),j<M&&_.displayFrequency!==-1)return!0}return!1}return!0}function v(_){var P=_.settings,T=P===void 0?{}:P,x=_.context,M=x===void 0?{}:x,U=_.isMobile,j=U===void 0?!1:U,$=_.urlSearch,G=$===void 0?"":$,J=M.pageType===o.default.NOT_FOUND&&M.collection&&M.collection.type===n.default.SPLASH_PAGE,ie=J||M.pageType===o.default.LOCK_SCREEN;return T.enableMobile===!1&&j||!T.style||T.style===a.default.NONE||ie||G.includes("sqsscreenshot=true")?!1:p(T)}function g(_){var P=_.websiteSettings;return s.default.isSevenOne()||!P.hasOwnProperty("ssBadgeType")?!1:P.ssBadgeType!==r.default.NONE}function m(_){var P=_.win,T=_.isMobile,x=_.settings;if(!T)return!1;var M=P.innerWidth,U=M<=1024;return!(!U||!x||!(0,i.default)(x.style)||x.style===t.default.NONE)}function b(_){var P=_.YNodeBody,T=P.all('img[data-licensed-asset-preview="true"]'),x=P.hasClass("has-preview-getty-imgs");return!T.isEmpty()||x}function C(_){var P=_.settings,T=P===void 0?{}:P,x=_.urlSearch,M=x===void 0?"":x;return M.includes("sqsscreenshot=true")?!1:T.isCookieBannerEnabled}var A={shouldShowPopupOverlay:v,shouldShowMobileInformationBar:m,shouldShowLicensedAssetsBar:b,shouldShowSSBadge:g,shouldShowCookieBanner:C}},863176:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});function e(n){var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t=window.top;t.fbq&&t.fbq("track",n,o)}var a=e},825012:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return c}});var a=t(e(920768)),n=t(e(142361));function o(d,u,s){return u in d?Object.defineProperty(d,u,{value:s,enumerable:!0,configurable:!0,writable:!0}):d[u]=s,d}function t(d){return d&&d.__esModule?d:{default:d}}function r(d){for(var u=1;u<arguments.length;u++){var s=arguments[u]!=null?arguments[u]:{},f=Object.keys(s);typeof Object.getOwnPropertySymbols=="function"&&(f=f.concat(Object.getOwnPropertySymbols(s).filter(function(p){return Object.getOwnPropertyDescriptor(s,p).enumerable}))),f.forEach(function(p){o(d,p,s[p])})}return d}var i=new a.default;function c(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return i.track(d,r({},u,(0,n.default)()),s).catch(function(f){})}},142361:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return n}});var a=e(744149);function n(){var o={},t=window.Static,r=t.SQUARESPACE_CONTEXT;r.website&&(o.websiteId=r.website.id),r.templateId&&(o.templateId=r.templateId),r.templateInstallation&&r.templateInstallation.templateWebsite&&(o.variantId=r.templateInstallation.templateWebsite.id),r.authenticatedAccount&&r.authenticatedAccount.id&&(o.memberAccountId=r.authenticatedAccount.id);var i=window.location,c=i.pathname,d=i.hash;return o.pagePath=o.pagePath||c||"",d&&d!==""&&(o.pageHash=d.substring(1)),o.member_locale=(0,a.getResolvedMemberLocale)(),o.website_locale=(0,a.getResolvedWebsiteLocale)(),o}},251736:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(d,u){for(var s in u)Object.defineProperty(d,s,{enumerable:!0,get:u[s]})}a(l,{getAppDomain:function(){return t},getWebsiteDomain:function(){return i},getDomainForIdentifier:function(){return r},getStaticDomain:function(){return c}});var n=o(e(461761));function o(d){return d&&d.__esModule?d:{default:d}}var t=function(){return(0,n.default)(window,"Static.SQUARESPACE_CONTEXT.appDomain","")},r=function(u,s){return u+"."+(s||t())},i=function(u,s){return r(u.identifier,s||t())},c=function(){var u=t();return u?"//assets."+u+"/universal":"/universal"}},53573:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return i}});var a=t(e(663579)),n=e(202361),o=e(481207);function t(c){return c&&c.__esModule?c:{default:c}}function r(c){var d=c.one("a");if(!(!d||d.getAttribute("data-initialized"))){var u=d.get("parentNode"),s=d.ancestor(".sqs-block-button"),f=s.getAttribute("id"),p=d.getAttribute("href"),v=d.hasAttribute("target"),g=(0,n.isMailto)(p),m={id:f,buttonText:d.get("innerHTML"),clickthroughUrl:p,alignment:u.getAttribute("data-alignment"),size:u.getAttribute("data-button-size"),newWindow:v,context:a.default.BUTTON_BLOCK};(0,o.trackButtonView)(m),d.on("click",function(b){if(d.hasAttribute("data-tracked")){d.removeAttribute("data-tracked");return}var C=(!v||b.metaKey||b.ctrlKey||b.shiftKey)&&!g;C&&(b.preventDefault(),b.stopImmediatePropagation()),(0,o.trackButtonClick)(m).then(function(){C&&(d.setAttribute("data-tracked",!0),d.simulate("click"))})}),d.setAttribute("data-initialized",!0)}}var i=r},481207:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(re,le){for(var se in le)Object.defineProperty(re,se,{enumerable:!0,get:le[se]})}a(l,{addIntraPageEventFields:function(){return A},manageCookies:function(){return J},track:function(){return ie},trackButtonClick:function(){return W},trackButtonView:function(){return q},trackFormRender:function(){return H},trackOverlayEvent:function(){return X},trackPageview:function(){return k},trackProductQuickView:function(){return ne}});var n=s(e(492136)),o=s(e(638286)),t=s(e(597885)),r=s(e(919334)),i=s(e(975303)),c=e(744149),d=s(e(808847)),u=s(e(51216));
81function s(re){return re&&re.__esModule?re:{default:re}}var f=["ss_cid","ss_cpvisit","ss_cvisit","ss_cvr","ss_cvt"],p=function(){return Promise.resolve()},v={headers:{"Content-type":"application/x-www-form-urlencoded; charset=utf-8"}};function g(){return window.Static.SQUARESPACE_CONTEXT}function m(){return window.__WE_ARE_SQUARESPACE_DISABLING_CENSUS__}function b(){try{return window.localStorage.setItem("test","1"),!0}catch(re){return!1}}function C(re,le){return le&&(re.pagePermissionTypeValue=le.permissionType),re}function A(re){var le=g(),se=le.itemId,ae=le.item,pe=le.collectionId,Pe=le.collection;C(re,Pe),se&&ae?(re.pageTitle=ae.title,re.pageId=se,re.contentSource="i"):pe&&Pe&&(re.pageTitle=Pe.title,re.pageId=pe,re.contentSource="c"),re.pagePath=window.location.pathname}function _(){var re=g(),le=re.authenticatedAccount,se=re.pageType,ae=re.websiteRoles,pe=ae&&Object.keys(ae).map(function(ve){return parseInt(ve,10)}).includes(i.default.VIEWER)&&Object.keys(ae).length===1,Pe=!window.location.pathname.match(/\/config\/*/)&&pe;return(!le||Pe)&&se!==t.default.NOT_FOUND&&se!==t.default.LOCK_SCREEN&&se!==t.default.MEMBER_AREA_ACCESS_DENIED&&m()!==!0}function P(){var re=g().website;return!!(re!=null&&re.cloneable)}function T(){var re=g().cookieSettings;return P()?!0:re&&re.isRestrictiveCookiePolicyEnabled&&(re.isRestrictiveCookiePolicyAbsolute||!re.isCookieBannerEnabled||!o.default.get("ss_cookieAllowed")||o.default.get("ss_cookieAllowed")==="false")}function x(re){return function(le){if(_()){var se=n.default.hit(T());return le.visitorCookie=se,A(le),d.default.post(re,le,{timeout:2500}).catch(p)}return Promise.resolve()}}function M(re){return re.userAgent=navigator.userAgent,re.clientDate=new Date().getTime(),re.viewportInnerHeight=window.innerHeight,re.viewportInnerWidth=window.innerWidth,re.screenHeight=window.screen.height,re.screenWidth=window.screen.width,re}function U(re){var le=g(),se=le.website,ae=le.templateId;return se&&(re.websiteId=se.id),ae&&(re.templateId=ae),re.website_locale=(0,c.getResolvedWebsiteLocale)(),re}function j(re){re.url=window.location.pathname;var le=g(),se=le.itemId,ae=le.item,pe=le.collectionId,Pe=le.collection;return C(re,Pe),se&&ae?(re.title=ae.title,re.itemId=se,re.recordType=ae.recordType):pe&&Pe&&(re.title=Pe.title,re.collectionId=pe),re}function $(){return{localStorageSupported:b(),queryString:window.location.search,referrer:window.document.referrer}}function G(){return window.location.pathname==="/search"}function J(){if(T())for(var re=0;re<f.length;re++)o.default.get(f[re])&&o.default.set(f[re],"",{path:"/",expires:new Date(0).toUTCString()})}function ie(re,le){if(_()){(typeof le!="object"||le===null)&&(le={}),U(le),M(le),j(le);var se=n.default.hit(T());d.default.post("/api/census/RecordHit",u.default.stringify({event:re,data:JSON.stringify(le),ss_cvr:se},{arrayFormat:"repeat"}),v).catch(p)}}var W=x("/api/census/button-click"),q=x("/api/census/button-render");function H(re){if(_()){var le=n.default.hit(T()),se={formId:re,visitorCookie:le};return A(se),d.default.post("/api/census/form-render",se).catch(p)}return Promise.resolve()}function X(re){if(_()){var le=n.default.hit(T());return re.visitorCookie=le,A(re),d.default.post("/api/census/overlay",re).catch(p)}}function k(){if(!G()){var re=$();ie(r.default.PAGE_VIEW,re)}}function ne(re){_()&&d.default.post("/api/census/RecordQuickView/".concat(re))}},212656:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return r}});var a=e(419467),n="USD",o=null,t={getStoreCurrency:function(){return o||(o=(0,a.get)(window,["Static","SQUARESPACE_CONTEXT","websiteSettings","storeSettings","selectedCurrency"],n)),o},updateStoreCurrency:function(c){o=c}},r=t},203758:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(ne,re){for(var le in re)Object.defineProperty(ne,le,{enumerable:!0,get:re[le]})}a(l,{trackCartPageProductFormOpen:function(){return u},trackCartPageProductFormClose:function(){return s},trackCartPageProductFormSubmit:function(){return f},trackCreateCustomerAccount:function(){return p},trackAddToCart:function(){return v},trackSearch:function(){return g},trackSubscribeNewsletter:function(){return m},trackViewProductPage:function(){return b},trackApiKeysPanelLearnMore:function(){return C},trackApiKeysPanelTermsOfUse:function(){return A},trackApiKeysPanelCreateKey:function(){return _},trackApiKeysPanelDeleteKey:function(){return P},trackApiKeysPanelDeleteKeyConfirm:function(){return T},trackApiKeyCreationModalCopy:function(){return x},trackApiKeyCreationModalNext:function(){return M},trackApiKeyCreationModalCancel:function(){return U},trackApiKeyCreationModalComplete:function(){return j},trackDynamicAdsProductsFeedUrlCopy:function(){return $},trackFacebookPixelSaveId:function(){return G},trackInventoryPanelSearchProducts:function(){return J},trackInventoryPanelSortOnName:function(){return ie},trackInventoryPanelSortOnStock:function(){return W},trackInventoryPanelSortOnPrice:function(){return q},trackInventoryPanelClickRowExpander:function(){return H},trackInventoryPanelClickRow:function(){return X},trackInventoryPanelClickNextPage:function(){return k}});var n=c(e(322914)),o=c(e(147467)),t=c(e(863176)),r=c(e(825012));function i(ne,re,le){return re in ne?Object.defineProperty(ne,re,{value:le,enumerable:!0,configurable:!0,writable:!0}):ne[re]=le,ne}function c(ne){return ne&&ne.__esModule?ne:{default:ne}}function d(ne){for(var re=1;re<arguments.length;re++){var le=arguments[re]!=null?arguments[re]:{},se=Object.keys(le);typeof Object.getOwnPropertySymbols=="function"&&(se=se.concat(Object.getOwnPropertySymbols(le).filter(function(ae){return Object.getOwnPropertyDescriptor(le,ae).enumerable}))),se.forEach(function(ae){i(ne,ae,le[ae])})}return ne}var u=function(){return(0,r.default)(n.default.CART_PAGE_PRODUCT_FORM_OPEN)},s=function(){return(0,r.default)(n.default.CART_PAGE_PRODUCT_FORM_CLOSE)},f=function(){return(0,r.default)(n.default.CART_PAGE_PRODUCT_FORM_SUBMIT)},p=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.CREATE_CUSTOMER_ACCOUNT,ne)},v=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.ADD_TO_CART,ne)},g=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.SEARCH,ne)},m=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.SUBSCRIBE_NEWSLETTER,ne)},b=function(){var ne=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};return(0,t.default)(n.default.VIEW_PRODUCT_PAGE,ne)},C=function(){return(0,r.default)("interface_click",{identifier:o.default.API_KEYS_PANEL_LEARN_MORE})},A=function(){return(0,r.default)("interface_click",{identifier:o.default.API_KEYS_PANEL_TERMS_OF_USE})},_=function(){return(0,r.default)("interface_click",{identifier:o.default.API_KEYS_PANEL_CREATE_KEY})},P=function(ne){return(0,r.default)("interface_click",d({identifier:o.default.API_KEYS_PANEL_DELETE_KEY},ne))},T=function(ne){return(0,r.default)("interface_click",d({identifier:o.default.API_KEYS_PANEL_DELETE_KEY_CONFIRM},ne))},x=function(ne){return(0,r.default)("interface_click",d({identifier:o.default.API_KEY_CREATION_MODAL_COPY},ne))},M=function(ne){return(0,r.default)("interface_click",d({identifier:o.default.API_KEY_CREATION_MODAL_NEXT},ne))},U=function(ne){return(0,r.default)("interface_click",d({identifier:o.default.API_KEY_CREATION_MODAL_CANCEL},ne))},j=function(ne){return(0,r.default)("interface_click",d({identifier:o.default.API_KEY_CREATION_MODAL_COMPLETE},ne))},$=function(){return(0,r.default)(n.default.FACEBOOK_DYNAMIC_ADS_PRODUCTS_FEED_U
81RL_COPY)},G=function(){return(0,r.default)(n.default.FACEBOOK_PIXEL_SAVE_ID)},J=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SEARCH_PRODUCTS)},ie=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_NAME)},W=function(){return(0,r.default)(n.default.INVENTORY_PANEL_SORT_ON_STOCK)},q=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)},X=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_ROW)},k=function(){return(0,r.default)(n.default.INVENTORY_PANEL_CLICK_NEXT_PAGE)}},851166:function(){"use strict"},177327:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return t}});var a=o(e(795478)),n=e(419467);function o(r){return r&&r.__esModule?r:{default:r}}function t(){for(var r=arguments.length,i=new Array(r),c=0;c<r;c++)i[c]=arguments[c];var d=(0,n.keyBy)(i);return Object.defineProperties(d,{includes:{value:function(u){return i.includes(u)}},propType:{value:a.default.oneOf(i)}}),Object.freeze(d)}},603808:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return u}});var a=n(e(625392));function n(s){return s&&s.__esModule?s:{default:s}}var o=/({[^}]+})/g,t=/{([^}]+)}/,r=function(s){return typeof s=="string"},i=(0,a.default)(function(s){return s.split(o)}),c=function(s,f){return s+"-"+JSON.stringify(f)},d=(0,a.default)(function(s,f){return typeof f=="object"&&f!==null&&(s=s.map(function(p){var v=p.match(t);return v&&f.hasOwnProperty(v[1])?f[v[1]]+"":p})),s.join("")},c),u=function(s){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!f||!r(s))return s;var p=i(s);return d(p,f)}},197446:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return o}});var a=n(e(572063));function n(t){return t&&t.__esModule?t:{default:t}}function o(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;t=(0,a.default)(t);var i=t.isAfter()||!r&&t.diff((0,a.default)(),"s")>-60;return i?t.from(t):t.fromNow()}},727742:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return u}});var a=e(373887);function n(s,f,p,v,g,m,b){try{var C=s[m](b),A=C.value}catch(_){p(_);return}C.done?f(A):Promise.resolve(A).then(v,g)}function o(s){return function(){var f=this,p=arguments;return new Promise(function(v,g){var m=s.apply(f,p);function b(A){n(m,v,g,b,C,"next",A)}function C(A){n(m,v,g,b,C,"throw",A)}b(void 0)})}}function t(s,f,p){return f in s?Object.defineProperty(s,f,{value:p,enumerable:!0,configurable:!0,writable:!0}):s[f]=p,s}function r(s){for(var f=1;f<arguments.length;f++){var p=arguments[f]!=null?arguments[f]:{},v=Object.keys(p);typeof Object.getOwnPropertySymbols=="function"&&(v=v.concat(Object.getOwnPropertySymbols(p).filter(function(g){return Object.getOwnPropertyDescriptor(p,g).enumerable}))),v.forEach(function(g){t(s,g,p[g])})}return s}var i=function(s,f){var p,v,g,m,b={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]};return m={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function C(_){return function(P){return A([_,P])}}function A(_){if(p)throw new TypeError("Generator is already executing.");for(;b;)try{if(p=1,v&&(g=_[0]&2?v.return:_[0]?v.throw||((g=v.return)&&g.call(v),0):v.next)&&!(g=g.call(v,_[1])).done)return g;switch(v=0,g&&(_=[_[0]&2,g.value]),_[0]){case 0:case 1:g=_;break;case 4:return b.label++,{value:_[1],done:!1};case 5:b.label++,v=_[1],_=[0];continue;case 7:_=b.ops.pop(),b.trys.pop();continue;default:if(g=b.trys,!(g=g.length>0&&g[g.length-1])&&(_[0]===6||_[0]===2)){b=0;continue}if(_[0]===3&&(!g||_[1]>g[0]&&_[1]<g[3])){b.label=_[1];break}if(_[0]===6&&b.label<g[1]){b.label=g[1],g=_;break}if(g&&b.label<g[2]){b.label=g[2],b.ops.push(_);break}g[2]&&b.ops.pop(),b.trys.pop();continue}_=f.call(s,b)}catch(P){_=[6,P],v=0}finally{p=g=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}},c=function(){var s=o(function(f){return i(this,function(p){switch(p.label){case 0:switch(f){case a.effectTypes.liquid:return[3,1];case a.effectTypes.filmGrain:return[3,3];case a.effectTypes.parallax:return[3,5];case a.effectTypes.refractedCircles:return[3,7];case a.effectTypes.refractedLines:return[3,9]}return[3,11];case 1:return[4,e.e(6910).then(e.bind(e,545787))];case 2:return[2,p.sent()];case 3:return[4,e.e(72994).then(e.bind(e,32525))];case 4:return[2,p.sent()];case 5:return[4,e.e(86567).then(e.bind(e,601984))];case 6:return[2,p.sent()];case 7:return[4,e.e(85364).then(e.bind(e,242453))];case 8:return[2,p.sent()];case 9:return[4,e.e(98659).then(e.bind(e,358452))];case 10:return[2,p.sent()];case 11:return[2]}})});return function(p){return s.apply(this,arguments)}}(),d=function(){var s=o(function(f,p){var v,g,m,b,C,A;return i(this,function(_){switch(_.label){case 0:return v=f.parentNode.querySelector(".imageEffe
81ctContainer"),v?(g=p||JSON.parse(v.dataset.effect),g?(m=g.type,!m||m==="none"?[2]:[4,c(m)]):[2]):[2];case 1:return b=_.sent(),C=b.default,A=new C({image:f,container:v,effectProps:r({},g)}),[2,A]}})});return function(p,v){return s.apply(this,arguments)}}(),u={createImageEffect:d}},197957:function(y,l){"use strict";var e;e={value:!0},Object.defineProperty(l,"Z",{enumerable:!0,get:function(){return n}});var a=function(){var o=window.navigator.userAgent.toLowerCase(),t=o.indexOf("safari/"),r="ontouchstart"in window;if(t<=-1||!r||window.screen.width<700)return!1;var i=typeof window!="undefined"&&"PointerEvent"in window&&window.PointerEvent.prototype.constructor.length===1;return i},n=a},628312:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});function e(n,o){if(typeof n.closest=="function")return n.closest(o)||null;for(;n;){if(n.matches(o))return n;n=n.parentElement}return null}function a(n){if(!n)return!1;var o=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"sqs-dynamic-text",t=n.ownerDocument,r=t.defaultView;if(!r)return!1;var i=r.innerWidth,c=Array.from(n.querySelectorAll("."+o));return c.forEach(function(d){var u=d.offsetWidth,s=Math.floor(u/i*1e3)/10,f=parseInt(d.getAttribute("data-width-percentage"),10);if(f!==s){d.style.fontSize="calc(0.5rem + "+s+"%)",d.style.fontSize="max(.75rem, "+s+"%)",d.setAttribute("data-width-percentage",s);var p=parseInt(r.getComputedStyle(d,null).getPropertyValue("font-size"),10),v=d.firstChild;v&&v.classList&&(p>0&&p<=13?v.classList.add("min-font-set"):v.classList.contains("min-font-set")&&v.classList.remove("min-font-set"));var g=e(d,".image-block-outer-wrapper");g&&g.classList.add("sqs-text-ready")}}),!0}},857008:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return x}});var a=e(419467),n=g(e(708380)),o=g(e(749189)),t=g(e(327743)),r=g(e(232404)),i=g(e(65670)),c=g(e(54149)),d=g(e(827814)),u=g(e(843384));function s(M,U){(U==null||U>M.length)&&(U=M.length);for(var j=0,$=new Array(U);j<U;j++)$[j]=M[j];return $}function f(M){if(Array.isArray(M))return s(M)}function p(M,U){if(!(M instanceof U))throw new TypeError("Cannot call a class as a function")}function v(M,U,j){return U in M?Object.defineProperty(M,U,{value:j,enumerable:!0,configurable:!0,writable:!0}):M[U]=j,M}function g(M){return M&&M.__esModule?M:{default:M}}function m(M){if(typeof Symbol!="undefined"&&M[Symbol.iterator]!=null||M["@@iterator"]!=null)return Array.from(M)}function b(){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 C(M){for(var U=1;U<arguments.length;U++){var j=arguments[U]!=null?arguments[U]:{},$=Object.keys(j);typeof Object.getOwnPropertySymbols=="function"&&($=$.concat(Object.getOwnPropertySymbols(j).filter(function(G){return Object.getOwnPropertyDescriptor(j,G).enumerable}))),$.forEach(function(G){v(M,G,j[G])})}return M}function A(M){return f(M)||m(M)||_(M)||b()}function _(M,U){if(M){if(typeof M=="string")return s(M,U);var j=Object.prototype.toString.call(M).slice(8,-1);if(j==="Object"&&M.constructor&&(j=M.constructor.name),j==="Map"||j==="Set")return Array.from(j);if(j==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(j))return s(M,U)}}var P=window.matchMedia("(prefers-reduced-motion: reduce)"),T=function(){return P.matches},x=function(){"use strict";function M(j,$){var G=this;p(this,M),this.defaultAnimationProps={waveFrequency:1,waveIntensity:0,animationDirection:t.default.LEFT,animationSpeed:1,pausedOnHover:!1},this.info={pathLength:0},this.prevRegionWidth=-1,this.prevTextHeight=-1,this.uniforms={hover:{value:1}},this.intersectionScroll=null,this.resizeObserver=null,this.rAFID=null,this.render=function(){var H=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},X=H.isForce,k=X===void 0?!1:X;if(G.node){var ne=G.props,re=ne.waveIntensity,le=ne.waveFrequency,se=(0,i.default)(250,1e3,(0,a.clamp)(le*.1,0,1)),ae=Math.max(G.node.clientWidth,50),pe
81=G.ref.measurementContainer.clientWidth,Pe=G.ref.originGroupItemNodes.map(function(ht){var xt=ht.clientWidth,At=window.getComputedStyle(ht),Bt=parseFloat(At.marginRight)||0;return{width:xt,spacing:Bt}}),ve=G.ref.firstMeasuredItemNode.clientHeight,Me=ve*.1;(ae!==G.prevRegionWidth||ve!==G.prevTextHeight||k)&&G.redrawPath({regionWidth:ae,waveFrequencyWidth:se,textHeight:ve,transformYOffset:Me}),G.prevRegionWidth=ae,G.prevTextHeight=ve,G.wave.onResize({measuredItems:Pe,measuredWidth:Math.max(pe,50),pathLength:G.info.pathLength,regionWidth:ae,padding:se}),G.ref.svg.style.height="".concat(ve+re,"px"),G.ref.svg.style.transform="translateY(".concat(Me,"px)"),G.ref.svg.style.overflow="visible",G.ref.pathHitboxFocusOutline.style.transform="translateY(".concat(Me,"px)")}},this.rerender=function(){G.debouncedRerender=(0,a.debounce)(G.render,1e3),G.debouncedRerender()},this.handleMediaQueryListChange=function(H){var X=H.matches;X?G.stop():G.start()},this.onIntersection=function(H){if(H&&!T()){G.isImmediate=!0,G.start();return}G.stop()},this.onPointerEnter=function(){G.ref.pathHitbox.dataset.hover=!0,G.uniforms.hover.value=0},this.onPointerLeave=function(){G.ref.pathHitbox.dataset.hover=!1,G.uniforms.hover.value=1},this.tick=function(){G.onTick(),G.rAFID=requestAnimationFrame(G.tick)},this.destroy=function(){var H,X;G.unbindListeners(),G.stop(),G.wave.destroy(),(H=G.debouncedRerender)===null||H===void 0||(X=H.cancel)===null||X===void 0||X.call(H),delete G.node},this.node=j,this.Y=$,this.ref=(0,c.default)(this.node);var J=this.node.closest(".sqs-block-marquee").id.replace("block-","");(0,d.default)(J,this.ref),this.props=C({},this.defaultAnimationProps,JSON.parse(this.ref.props.textContent)),this.ref.wrapper.dataset.ready=!0;var ie=this.props,W=ie.animationDirection,q=ie.animationSpeed;this.wave=new u.default({container:this.ref.textPath,animationDirection:W,originGroupItemNodes:this.ref.originGroupItemNodes,path:this.ref.path,sharedUniforms:this.uniforms,animationSpeed:r.default[W]*q,svgGroupItemNodes:this.ref.svgGroupItemNodes,trackContainer:this.ref.trackContainer}),this.render(),this.bindListeners()}var U=M.prototype;return U.redrawPath=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},G=$.regionWidth,J=G===void 0?100:G,ie=$.textHeight,W=ie===void 0?10:ie,q=$.transformYOffset,H=q===void 0?0:q,X=$.waveFrequencyWidth,k=X===void 0?0:X,ne=this.props.waveIntensity,re=k*.333,le=Math.ceil((J+k*2)/k)+1,se=-k,ae=W*.662,pe=function(){var Me=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return A(Array(le).keys()).reduce(function(ht,xt){var At=se+xt*k,Bt=Me+(xt%2===0?0:ne);return ht+(xt===0?" L".concat(At,",").concat(Bt):" S".concat(At-re,",").concat(Bt," ").concat(At,",").concat(Bt))},"")},Pe="M".concat(se,",").concat(ae," ").concat(pe(ae)),ve="\n      M".concat(se,",").concat(ne+W,"\n      ").concat(pe(W-H),"\n      M").concat(se,",").concat(Math.max(ne,H),"\n      ").concat(pe(H),"\n    ");this.ref.path.setAttribute("d",Pe),this.ref.pathGroup.setAttribute("transform","translate(0, ".concat(W*.05,")")),this.ref.pathHitbox.setAttribute("d",Pe),this.ref.pathHitbox.setAttribute("stroke-width",W),this.ref.pathHitboxFocusOutline.setAttribute("d",ve),this.ref.pathHitboxGroup.setAttribute("transform","translate(0, ".concat(-ae+ae*.75,")")),this.info.pathLength=this.ref.path.getTotalLength(),this.lerps=this.buildLerps(3)},U.buildLerps=function(){var $=arguments.length>0&&arguments[0]!==void 0?arguments[0]:3,G=this,J=Math.ceil(this.info.pathLength/$)+1;return A(Array(J).keys()).reduce(function(ie,W){var q=W*$,H=G.ref.path.getPointAtLength(q);if(ie.points[W]=H,ie.index[W]=q,ie.x[W]=H.x,ie.y[W]=H.y,W>0){var X=W-1,k=ie.points[X],ne=ie.points[W];ie.rotation[X]=Math.atan2(ne.y-k.y,ne.x-k.x)*180/Math.PI,W===J-1&&(ie.rotation[W]=ie.rotation[X])}return ie},{index:[],points:[],x:[],y:[],rotation:[]})},U.onTick=function(){this.wave.tick(this.lerps)},U.bindListeners=function(){var $=this;n.default.on(this.render,0),this.resizeObserver=new ResizeObserver(this.render),this.resizeObserver.observe(this.ref.measurementContainer),P!=null&&P.addEventListener?P.addEventListener("change",this.handleMediaQueryListChange):P.addListener(this.handleMediaQueryListChange),this.intersectionScroll=ne
81w o.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(){$.rerender()})},U.unbindListeners=function(){var $,G;n.default.off(this.render,0),this.resizeObserver.disconnect(),P!=null&&P.removeEventListener?P.removeEventListener("change",this.handleMediaQueryListChange):P.removeListener(this.handleMediaQueryListChange),($=this.intersectionScroll)===null||$===void 0||$.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)),(G=this.tweakListener)===null||G===void 0||G.detach()},U.start=function(){this.rAFID=requestAnimationFrame(this.tick)},U.stop=function(){cancelAnimationFrame(this.rAFID)},U.restart=function(){this.stop(),this.start()},M}()},843384:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return d}});var a=t(e(571713));function n(u,s){if(!(u instanceof s))throw new TypeError("Cannot call a class as a function")}function o(u,s,f){return s in u?Object.defineProperty(u,s,{value:f,enumerable:!0,configurable:!0,writable:!0}):u[s]=f,u}function t(u){return u&&u.__esModule?u:{default:u}}function r(u){for(var s=1;s<arguments.length;s++){var f=arguments[s]!=null?arguments[s]:{},p=Object.keys(f);typeof Object.getOwnPropertySymbols=="function"&&(p=p.concat(Object.getOwnPropertySymbols(f).filter(function(v){return Object.getOwnPropertyDescriptor(f,v).enumerable}))),p.forEach(function(v){o(u,v,f[v])})}return u}function i(u,s){var f=Object.keys(u);if(Object.getOwnPropertySymbols){var p=Object.getOwnPropertySymbols(u);s&&(p=p.filter(function(v){return Object.getOwnPropertyDescriptor(u,v).enumerable})),f.push.apply(f,p)}return f}function c(u,s){return s=s!=null?s:{},Object.getOwnPropertyDescriptors?Object.defineProperties(u,Object.getOwnPropertyDescriptors(s)):i(Object(s)).forEach(function(f){Object.defineProperty(u,f,Object.getOwnPropertyDescriptor(s,f))}),u}var d=function(){"use strict";function u(f){n(this,u),this.waveGroups=[],this.info={pathLength:0,padding:0,measuredWidth:0,numGroups:0},this.props=f,this.uniforms=c(r({},this.props.sharedUniforms),{progress:{value:0}})}var s=u.prototype;return s.onResize=function(p){var v=p.measuredItems,g=p.measuredWidth,m=p.padding,b=p.pathLength,C=this.props,A=C.path,_=C.trackContainer,P=C.container,T=C.originGroupItemNodes,x=C.svgGroupItemNodes,M=Math.ceil((b+g)/g)*g,U=Math.ceil(M/g);for(this.info.measuredWidth=g,this.info.pathLength=b,this.info.padding=m,A.setAttribute("stroke-dasharray",this.getStrokeDashArray(v));this.info.numGroups<U&&P.childElementCount/T.length<U;){this.info.numGroups+=1;var j=new a.default({container:P,domContainer:_,originGroupItemNodes:T,path:A,svgGroupItemNodes:x});this.waveGroups.push(j)}this.positionGroups(v)},s.getStrokeDashArray=function(p){return p.reduce(function(v,g){return v+"".concat(g.width," ").concat(g.spacing," ")},"")},s.positionGroups=function(p){var v=0;this.waveGroups.forEach(function(g){v=g.positionItems({x:v,measuredItems:p})})},s.tick=function(p){var v=this,g,m=this.props,b=m.container,C=m.path,A=m.animationSpeed,_=this.info.measuredWidth;this.uniforms.progress.value-=A*this.uniforms.hover.value;var P=((_+this.uniforms.progress.value)%_+_)%_;b.setAttribute("startOffset",-P),C.setAttribute("stroke-dashoffset",P),(g=this.waveGroups)===null||g===void 0||g.forEach(function(T){return T.updateItemVisibility(P,v.info.pathLength,v.info.padding)})},s.destroy=function(){var p;(p=this.waveGroups)===null||p===void 0||p.forEach(function(v){return v.destroy()}),this.waveGroups=null},u}();d.defaultProps={animationDirection:"left",animationSpeed:-1,container:null,originGroupItemNodes:[],path:null,sharedUniforms:{hover:{value:0}},svgGroupItemNodes:[],trackContainer:null}},571713:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});function e(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")}var a=function(){"use strict";function n(t){e(this,n),this.info={numItems:0},this.props=t,this.items=this.getItems(),this.info.numItems=this.items.length}var o=n.prototype;return o.getItems=function(){var r=this.props,i=r.container,c=r.svgGroupItemNodes;return c.reduce(function(d,u){var s=u.cloneNode(!0),f={x:0,width:0,node:s,domNode:null,isOffscreen:!1};return d.push(f),i.appendChild(s),d},[])},o.positionItems=function(){for(var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},i=r.x,c=r.measuredItems,d=i,u=0;u<this.info.numItems;u+=1){var s=this.items[u],f=c[u],p=f.width+f.spacing;s.x=d,s.width=p,s.node.setAttribute("x",s.x),d+=p}return d},o.updateItemVisibility=function(r,i,c){for(var d=0;d<this.info.numItems;d+=1){var u=this.items[d],s=u.x-r>i-c||u.x+u.width-r<c;u.isOffscreen!==s&&(u.node.style.display=s?"none":"block"),u.isOffscreen=s}},o.destroy=function(){this.items=[],this.info.numItems=0},n}();a.defaultProps={container:null,domContainer:null,originGroupItemNodes:[],path:null,svgGroupItemNodes:[]}},54149:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});var e=function(n){return{wrapper:n.querySelector(".Marquee"),display:n.querySelector(".Marquee-display"),props:n.querySelector(".Marquee-props"),measurementContainer:n.querySelector(".Marquee-measure"),firstMeasuredItemNode:n.querySelector(".Marquee-measure h1, .Marquee-measure p"),originGroupItemNodes:Array.from(n.querySelectorAll(".Marquee-measure .Marquee-item")),trackContainer:n.querySelector(".Marquee-track"),svg:n.querySelector(".Marquee-svg"),svgGroup:n.querySelector(".Marquee-svg-group"),svgGroupItemNodes:Array.from(n.querySelectorAll(".Marquee-svg-group > *")),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")}},a=e},450943:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return o}});var a=n(e(857008));function n(t){return t&&t.__esModule?t:{default:t}}var o=function(t,r){return new a.default(t,r)}},65670:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});var e=function(n,o,t){return n*(1-t)+o*t},a=e},827814:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});var e=function(n,o){o.path.setAttribute("id",n),o.pathHitbox.setAttribute("id",n),o.textPath.setAttribute("href","#"+n),o.svgGroup.setAttribute("href","#"+n),o.visuallyHiddenTextContent.setAttribute("id","ariaLabel"+n),o.hitbox.setAttribute("aria-labelledby","ariaLabel"+n)},a=e},631181:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return t}});function a(r,i,c,d,u,s,f){try{var p=r[s](f),v=p.value}catch(g){c(g);return}p.done?i(v):Promise.resolve(v).then(d,u)}function n(r){return function(){var i=this,c=arguments;return new Promise(function(d,u){var s=r.apply(i,c);function f(v){a(s,d,u,f,p,"next",v)}function p(v){a(s,d,u,f,p,"throw",v)}f(void 0)})}}var o=function(r,i){var c,d,u,s,f={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return s={next:p(0),throw:p(1),return:p(2)},typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function p(g){return function(m){return v([g,m])}}function v(g){if(c)throw new TypeError("Generator is already executing.");for(;f;)try{if(c=1,d&&(u=g[0]&2?d.return:g[0]?d.throw||((u=d.return)&&u.call(d),0):d.next)&&!(u=u.call(d,g[1])).done)return u;switch(d=0,u&&(g=[g[0]&2,u.value]),g[0]){case 0:case 1:u=g;break;case 4:return f.label++,{value:g[1],done:!1};case 5:f.label++,d=g[1],g=[0];continue;case 7:g=f.ops.pop(),f.trys.pop();continue;default:if(u=f.trys,!(u=u.length>0&&u[u.length-1])&&(g[0]===6||g[0]===2)){f=0;continue}if(g[0]===3&&(!u||g[1]>u[0]&&g[1]<u[3])){f.label=g[1];break}if(g[0]===6&&f.label<u[1]){f.label=u[1],u=g;break}if(u&&f.label<u[2]){f.label=u[2],f.ops.push(g);break}u[2]&&f.ops.pop(),f.trys.pop();continue}g=i.call(r,f)}catch(m){g=[6,m],d=0}finally{c=u=0}if(g[0]&5)throw g[1];return{value:g[0]?g[1]:void 0,done:!0}}},t=n(function(){return o(this,function(r){switch(r.label){case 0:if(!window||!window.document)throw new Error("Cannot init animations without a window context");return window.hasOwnProperty("IntersectionObserver")?[3,2]:[4,e.e(93107).then(e.t.bind(e,693334,23))];case 1:r.sent(),r.label=2;case 2:return[2]}})})},132461:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return e}});var e=function(a){if(a.Element.prototype.matches||(a.Element.prototype.matches=a.Element.prototype.matchesSelector||a.Element.prototype.mozMatchesSelector||a.Element.prototype.msMatchesSelector||a.Element.prototype.oMatchesSelector||a.Element.prototype.webkitMatchesSelector||function(t){for(var r=(this.document||this.ownerDocument).querySelectorAll(t),i=r.length;--i>=0&&r.item(i)!==this;);return i>-1}),typeof a.CustomEvent!="function"){var n=function(r,i){i=i||{bubbles:!1,cancelable:!1,detail:void 0};var c=document.createEvent("CustomEvent");return c.initCustomEvent(r,i.bubbles,i.cancelable,i.detail),c};n.prototype=a.Event.prototype,a.CustomEvent=n,typeof a.Event!="function"&&(a.Event=n)}a.String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)},a.Array.prototype.removeRange=function(t,r){return this.splice(t,!r||1+r-t+(!(r<0^t>=0)&&(r<0||-1)*this.length)),this.length},a.Array.prototype.removeAt=function(t){this.removeRange(t,t)},a.Array.prototype.remove=function(t){for(var r=0;r<this.length;++r)if(this[r]===t){this.removeAt(r);return}},a.Array.prototype.shuffle||(a.Array.prototype.shuffle=function(){for(var t=[];this.length;)t.push(this.splice(Math.random()*this.length,1));for(;t.length;)this.push(t.pop()[0]);return this});var o="Array.prototype.contains is non standard. Use Array.prototype.includes instead";a.Array.prototype.contains=function(t){if(0)var r;return this.indexOf(t)>-1},a.Number.prototype.formatMoney=function(t,r,i,c){var d=this;t=isNaN(t=Math.abs(t))?2:t,c&&d%1===0&&(t=0),r||(r="."),i||(i=",");var u=d<0?"-":"",s=parseInt(d=Math.abs(+d||0).toFixed(t),10)+"",f=(f=s.length)>3?f%3:0;return u+(f?s.substr(0,f)+i:"")+s.substr(f).replace(/(\d{3})(?=\d)/g,"$1"+i)+(t?r+Math.abs(d-s).toFixed(t).slice(2):"")},a.Date.prototype.toRelativeTime=function(t){t=t||new Date;var r=(t.getTime()-this.getTime())/1e3;return r<60?"less than a minute ago":r<120?"about a minute ago":r<3600?Math.floor(r/60)+" minutes ago":r<7200?"about an hour ago":r<86400?"about "+Math.floor(r/3600)+" hours ago":r<172800?"1 day ago":Math.floor(r/86400)+" days ago"},a.Date.prototype.stdTimezoneOffset=function(){var t=new Date(this.getFullYear(),0,1),r=new Date(this.getFullYear(),6,1);return Math.max(t.getTimezoneOffset(),r.getTimezoneOffset())},a.Date.prototype.isDST=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()},a.Date.isLeapYear=function(t){return t%4===0&&t%100!==0||t%400===0},a.Date.getDaysInMonth=function(t,r){return[31,Date.isLeapYear(t)?29:28,31,30,31,30,31,31,30,31,30,31][r]},a.Date.prototype.isLeapYear=function(){return a.Date.isLeapYear(this.getFullYear())},a.Date.prototype.getDaysInMonth=function(){return a.Date.getDaysInMonth(this.getFullYear(),this.getMonth())},a.Date.prototype.moveToFirstDayOfMonth=function(){return this.set({day:1})},a.Date.prototype.moveToLastDayOfMonth=function(){return this.set({day:this.getDaysInMonth()})},a.Date.prototype.addDays=function(t){return this.addMilliseconds(t*864e5)},a.Date.prototype.addMilliseconds=function(t){return this.setMilliseconds(this.getMilliseconds()+t),this},a.Date.prototype.addSeconds=function(t){return this.addMilliseconds(t*1e3)},a.Date.prototype.addMinutes=function(t){return this.addMilliseconds(t*6e4)},a.Date.prototype.addHours=function(t){return this.addMilliseconds(t*36e5)},a.Date.prototype.addDays=function(t){return this.addMilliseconds(t*864e5)},a.Date.prototype.addWeeks=function(t){return this.addMilliseconds(t*6048e5)},a.Date.prototype.addMonths=function(t){var r=this.getDate();return this.setDate(1),this.setMonth(this.getMonth()+t),this.setDate(Math.min(r,this.getDaysInMonth())),this},a.Date.prototype.addYears=function(t){return this.addMonths(t*12)},a.Date._validate=function(t,r,i,c){return!0},a.Date.validateMillisecond=function(t){return a.Date._validate(t,0,999,"milliseconds")},a.Date.validateSecond=function(t){return a.Date._validate(t,0,59,"seconds")},a.Date.validateMinute=function(t){return a.Date._validate(t,0,59,"minutes")},a.Date.validateHour=function(t){return a.Date._validate(t,0,23,"hours")},a.Date.validateDay=function(t,r,i){return a.Date._validate(t,1,a.Date.getDaysInMonth(r,i),"days")},a.Date.validateMonth=function(t){return a.Date._validate(t,0,11,"months")},a.Date.validateYear=function(t){return a.Date._validate(t,1,9999,"seconds")},a.Date.prototype.set=function(t){var r=t;return!r.millisecond&&r.millisecond!==0&&(r.millisecond=-1),!r.second&&r.second!==0&&(r.second=-1),!r.minute&&r.minute!==0&&(r.minute=-1),!r.hour&&r.hour!==0&&(r.hour=-1),!r.day&&r.day!==0&&(r.day=-1),!r.month&&r.month!==0&&(r.month=-1),!r.year&&r.year!==0&&(r.year=-1),r.millisecond!==-1&&a.Date.validateMillisecond(r.millisecond)&&this.addMilliseconds(r.millisecond-this.getMilliseconds()),r.second!==-1&&a.Date.validateSecond(r.second)&&this.addSeconds(r.second-this.getSeconds()),r.minute!==-1&&a.Date.validateMinute(r.minute)&&this.addMinutes(r.minute-this.getMinutes()),r.hour!==-1&&a.Date.validateHour(r.hour)&&this.addHours(r.hour-this.getHours()),r.month!==-1&&a.Date.validateMonth(r.month)&&this.addMonths(r.month-this.getMonth()),r.year!==-1&&a.Date.validateYear(r.year)&&this.addYears(r.year-this.getFullYear()),r.day!==-1&&a.Date.validateDay(r.day,this.getFullYear(),this.getMonth())&&this.addDays(r.day-this.getDate()),r.timezone&&this.setTimezone(r.timezone),r.timezoneOffset&&this.setTimezoneOffset(r.timezoneOffset),this}}},938710:function(){"use strict";/*! @source http://purl.eligrey.com/github/classList.js/blob/master/classList.js */"document"in self&&("classList"in document.createElement("_")?function(){"use strict";var y=document.createElement("_");if(y.classList.add("c1","c2"),!y.classList.contains("c2")){var l=function(n){var o=DOMTokenList.prototype[n];DOMTokenList.prototype[n]=function(t){var r,i=arguments.length;for(r=0;r<i;r++)t=arguments[r],o.call(this,t)}};l("add"),l("remove")}if(y.classList.toggle("c3",!1),y.classList.contains("c3")){var e=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(a,n){return 1 in arguments&&!this.contains(a)==!n?n:e.call(this,a)}}y=null}():function(y){"use strict";if("Element"in y){var l="classList",e="prototype",a=y.Element[e],n=Object,o=String[e].trim||function(){return this.replace(/^\s+|\s+$/g,"")},t=Array[e].indexOf||function(f){for(var p=0,v=this.length;p<v;p++)if(p in this&&this[p]===f)return p;return-1},r=function(p,v){this.name=p,this.code=DOMException[p],this.message=v},i=function(p,v){if(v==="")throw new r("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(v))throw new r("INVALID_CHARACTER_ERR","String contains an invali
81d character");return t.call(p,v)},c=function(p){for(var v=o.call(p.getAttribute("class")||""),g=v?v.split(/\s+/):[],m=0,b=g.length;m<b;m++)this.push(g[m]);this._updateClassName=function(){p.setAttribute("class",this.toString())}},d=c[e]=[],u=function(){return new c(this)};if(r[e]=Error[e],d.item=function(f){return this[f]||null},d.contains=function(f){return f+="",i(this,f)!==-1},d.add=function(){var f=arguments,p=0,v=f.length,g,m=!1;do g=f[p]+"",i(this,g)===-1&&(this.push(g),m=!0);while(++p<v);m&&this._updateClassName()},d.remove=function(){var f=arguments,p=0,v=f.length,g,m=!1,b;do for(g=f[p]+"",b=i(this,g);b!==-1;)this.splice(b,1),m=!0,b=i(this,g);while(++p<v);m&&this._updateClassName()},d.toggle=function(f,p){f+="";var v=this.contains(f),g=v?p!==!0&&"remove":p!==!1&&"add";return g&&this[g](f),p===!0||p===!1?p:!v},d.toString=function(){return this.join(" ")},n.defineProperty){var s={get:u,enumerable:!0,configurable:!0};try{n.defineProperty(a,l,s)}catch(f){f.number===-2146823252&&(s.enumerable=!1,n.defineProperty(a,l,s))}}else n[e].__defineGetter__&&a.__defineGetter__(l,u)}}(self))},4590:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),e(42405),e(644640),e(871502),e(134051),e(945498),e(328571),e(744166),e(968382),e(894663),e(938710),e(752431),e(43421),e(540664),e(447569)},447569:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});var a=t(e(439806)),n=t(e(851166));function o(i){if(typeof WeakMap!="function")return null;var c=new WeakMap,d=new WeakMap;return(o=function(u){return u?d:c})(i)}function t(i,c){if(!c&&i&&i.__esModule)return i;if(i===null||typeof i!="object"&&typeof i!="function")return{default:i};var d=o(c);if(d&&d.has(i))return d.get(i);var u={},s=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var f in i)if(f!=="default"&&Object.prototype.hasOwnProperty.call(i,f)){var p=s?Object.getOwnPropertyDescriptor(i,f):null;p&&(p.get||p.set)?Object.defineProperty(u,f,p):u[f]=i[f]}return u.default=i,d&&d.set(i,u),u}if(parseFloat(a.version)>=18){var r=new Map;a.default.render=function(i,c){var d=r.get(c);d||(d=n.createRoot(c),r.set(c,d)),d.render(i)},a.default.unmountComponentAtNode=function(i){var c=r.get(i);c&&(c.unmount(),r.delete(i))}}},634796:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return i}});function e(c,d){if(!(c instanceof d))throw new TypeError("Cannot call a class as a function")}var a=!1,n=22,o=2,t=function(){"use strict";function c(u){e(this,c),this.workFn=u,this.pending=!1,this.samples=[],this.lastCompleteExecution=null,this.sampledAverageExecution=null,this.pendingDowntime=null}var d=c.prototype;return d.invoke=function(){var s=this,f=this,p=f.lastCompleteExecution,v=f.sampledAverageExecution;if(this.pending){a&&console.log("pending!");return}if(p!==null&&v!==null){var g=Date.now()-p,m=v*o;if(g<m){var b=m-g;if(this.pendingDowntime){a&&console.log("no downtime, and timer is set just going to wait");return}a&&console.log("no downtime, not allowing. need to wait another ",b),this.pendingDowntime=setTimeout(function(){s.invoke(),s.pendingDowntime=null},b);return}}this.doWork()},d.doWork=function(){var s=Date.now();this.pending=!0;try{this.workFn()}catch(v){console.error(v)}this.lastCompleteExecution=Date.now();var f=this.lastCompleteExecution-s;this.pending=!1;var p=this.samples;p.unshift(f),p.length>n&&(this.samples=p=p.slice(0,n)),this.sampledAverageExecution=p.reduce(function(v,g){return v+g},0)/p.length,a&&console.log("executionTime",f,"sampledAverageExecution",this.sampledAverageExecution)},c}();function r(c){var d=new t(c);return function(){return d.invoke()}}var i=r},395095:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});function e(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},o=n.parent,t=n.selector,r=n.minLength,i=r===void 0?1:r,c=n.frequencyMs,d=c===void 0?100:c,u=n.maxRetries,s=u===void 0?0:u;return!o||!t?Promise.reject("[waitForExistence] Called without a parent or selector"):new Promise(function(f,p){var v=0;s>99999999&&(s=0);var g=function(){if(!o){p("[waitForExistence] parent does not or no longer exists");return}var m=Array.from(o.querySelectorAll(t));if(m.length>=i){f(m);return}if(s!==0&&(v=v+1,v>s)){p("[waitForExistence] Did not find ".concat(t," in ").concat(d*v,"ms"));return}window.setTimeout(g,d)};g()})}var a=e},828350:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return d}});var a=r(e(808847));function n(u,s,f,p,v,g,m){try{var b=u[g](m),C=b.value}catch(A){f(A);return}b.done?s(C):Promise.resolve(C).then(p,v)}function o(u){return function(){var s=this,f=arguments;return new Promise(function(p,v){var g=u.apply(s,f);function m(C){n(g,p,v,m,b,"next",C)}function b(C){n(g,p,v,m,b,"throw",C)}m(void 0)})}}function t(u,s){if(!(u instanceof s))throw new TypeError("Cannot call a class as a function")}function r(u){return u&&u.__esModule?u:{default:u}}var i=function(u,s){var f,p,v,g,m={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]};return g={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function b(A){return function(_){return C([A,_])}}function C(A){if(f)throw new TypeError("Generator is already executing.");for(;m;)try{if(f=1,p&&(v=A[0]&2?p.return:A[0]?p.throw||((v=p.return)&&v.call(p),0):p.next)&&!(v=v.call(p,A[1])).done)return v;switch(p=0,v&&(A=[A[0]&2,v.value]),A[0]){case 0:case 1:v=A;break;case 4:return m.label++,{value:A[1],done:!1};case 5:m.label++,p=A[1],A=[0];continue;case 7:A=m.ops.pop(),m.trys.pop();continue;default:if(v=m.trys,!(v=v.length>0&&v[v.length-1])&&(A[0]===6||A[0]===2)){m=0;continue}if(A[0]===3&&(!v||A[1]>v[0]&&A[1]<v[3])){m.label=A[1];break}if(A[0]===6&&m.label<v[1]){m.label=v[1],v=A;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(A);break}v[2]&&m.ops.pop(),m.trys.pop();continue}A=s.call(u,m)}catch(_){A=[6,_],p=0}finally{f=v=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}},c=function(){"use strict";function u(){t(this,u)}var s=u.prototype;return s.fetch=function(){var p=this;return o(function(){return i(this,function(v){return p.cachedResponse||(p.cachedResponse=u.fetch()),[2,p.cachedResponse]})})()},s.clearCache=function(){this.cachedResponse=void 0},u.fetch=function(){return o(function(){var p,v;return i(this,function(g){switch(g.label){case 0:return g.trys.push([0,2,,3]),[4,a.default.get(u.url)];case 1:return p=g.sent().data,[2,p];case 2:return v=g.sent(),[2,{definitions:[],merchandisingDetails:[]}];case 3:return[2]}})})()},u}();c.url="/api/1/website-component-definitions";var d=new c},4621:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return u}});var a=i(e(828350)),n=e(55478);function o(s,f,p,v,g,m,b){try{var C=s[m](b),A=C.value}catch(_){p(_);return}C.done?f(A):Promise.resolve(A).then(v,g)}function t(s){return function(){var f=this,p=arguments;return new Promise(function(v,g){var m=s.apply(f,p);function b(A){o(m,v,g,b,C,"next",A)}function C(A){o(m,v,g,b,C,"throw",A)}b(void 0)})}}function r(s,f){if(!(s instanceof f))throw new TypeError("Cannot call a class as a function")}function i(s){return s&&s.__esModule?s:{default:s}}var c=function(s,f){var p,v,g,m,b={label:0,sent:function(){if(g[0]&1)throw g[1];return g[1]},trys:[],ops:[]};return m={next:C(0),throw:C(1),return:C(2)},typeof Symbol=="function"&&(m[Symbol.iterator]=function(){return this}),m;function C(_){return function(P){return A([_,P])}}function A(_){if(p)throw new TypeError("Generator is already executing.");for(;b;)try{if(p=1,v&&(g=_[0]&2?v.return:_[0]?v.throw||((g=v.return)&&g.call(v),0):v.next)&&!(g=g.call(v,_[1])).done)return g;switch(v=0,g&&(_=[_[0]&2,g.value]),_[0]){case 0:case 1:g=_;break;case 4:return b.label++,{value:_[1],done:!1};case 5:b.label++,v=_[1],_=[0];continue;case 7:_=b.ops.pop(),b.trys.pop();continue;default:if(g=b.trys,!(g=g.length>0&&g[g.length-1])&&(_[0]===6||_[0]===2)){b=0;continue}if(_[0]===3&&(!g||_[1]>g[0]&&_[1]<g[3])){b.label=_[1];break}if(_[0]===6&&b.label<g[1]){b.label=g[1],g=_;break}if(g&&b.label<g[2]){b.label=g[2],b.ops.push(_);break}g[2]&&b.ops.pop(),b.trys.pop();continue}_=f.call(s,b)}catch(P){_=[6,P],v=0}finally{p=g=0}if(_[0]&5)throw _[1];return{value:_[0]?_[1]:void 0,done:!0}}},d=function(){"use strict";function s(){r(this,s)}var f=s.prototype;return f.fetchAll=function(){var v=this;return t(function(){return c(this,function(g){return v.cachedResponse||(v.cachedResponse=s.fetchAll()),[2,v.cachedResponse]})})()},f.fetch=function(v){var g=this;return t(function(){var m;return c(this,function(b){switch(b.label){case 0:return[4,g.fetchAll()];case 1:return m=b.sent(),[2,m[v]]}})})()},f.clearCache=function(){this.cachedResponse=void 0},s.getStaticAssetsFromWebsiteComponentDefinitionDTO=function(v){return v.reduce(function(g,m){if(m.contentType===n.StaticAssetContentType.CSS)g.css.push(m.url);else if(m.contentType===n.StaticAssetContentType.JS&&m.moduleName)g.importMap[m.moduleName]=m.url;else if(m.contentType===n.StaticAssetContentType.UI_SCHEMA){var b;!((b=m.moduleName)===null||b===void 0)&&b.endsWith("quickActions")?g.uiSchema.quickActions=m.url:g.uiSchema.form=m.url}return g},{css:[],importMap:{},uiSchema:{form:""}}
81)},s.getTemplateFromWebsiteComponentDefinitionDTO=function(v){var g=v.entrypointFilename,m="",b=v.renderMarkupFiles.reduce(function(C,A){return A.filename===g?m=A.contents:C[A.filename]=A.contents,C},{});return{mainTemplate:m,partials:b}},s.convertWebsiteComponentDefinitionDTOToWebsiteComponentDefinition=function(v){return{definitionName:v.definitionName,editorSettings:v.editorSettings,staticAssets:s.getStaticAssetsFromWebsiteComponentDefinitionDTO(v.staticAssetReferences),template:s.getTemplateFromWebsiteComponentDefinitionDTO(v.renderMarkup)}},s.fetchAll=function(){return t(function(){var v;return c(this,function(g){switch(g.label){case 0:return[4,a.default.fetch()];case 1:return v=g.sent(),[2,v.definitions.reduce(function(m,b){return m[b.definitionName]=s.convertWebsiteComponentDefinitionDTOToWebsiteComponentDefinition(b),m},{})]}})})()},s}(),u=new d},721505:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return v}});var a=c(e(171097));function n(g,m){(m==null||m>g.length)&&(m=g.length);for(var b=0,C=new Array(m);b<m;b++)C[b]=g[b];return C}function o(g){if(Array.isArray(g))return n(g)}function t(g,m,b,C,A,_,P){try{var T=g[_](P),x=T.value}catch(M){b(M);return}T.done?m(x):Promise.resolve(x).then(C,A)}function r(g){return function(){var m=this,b=arguments;return new Promise(function(C,A){var _=g.apply(m,b);function P(x){t(_,C,A,P,T,"next",x)}function T(x){t(_,C,A,P,T,"throw",x)}P(void 0)})}}function i(g,m){if(!(g instanceof m))throw new TypeError("Cannot call a class as a function")}function c(g){return g&&g.__esModule?g:{default:g}}function d(g){if(typeof Symbol!="undefined"&&g[Symbol.iterator]!=null||g["@@iterator"]!=null)return Array.from(g)}function u(){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 s(g){return o(g)||d(g)||f(g)||u()}function f(g,m){if(g){if(typeof g=="string")return n(g,m);var b=Object.prototype.toString.call(g).slice(8,-1);if(b==="Object"&&g.constructor&&(b=g.constructor.name),b==="Map"||b==="Set")return Array.from(b);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return n(g,m)}}var p=function(g,m){var b,C,A,_,P={label:0,sent:function(){if(A[0]&1)throw A[1];return A[1]},trys:[],ops:[]};return _={next:T(0),throw:T(1),return:T(2)},typeof Symbol=="function"&&(_[Symbol.iterator]=function(){return this}),_;function T(M){return function(U){return x([M,U])}}function x(M){if(b)throw new TypeError("Generator is already executing.");for(;P;)try{if(b=1,C&&(A=M[0]&2?C.return:M[0]?C.throw||((A=C.return)&&A.call(C),0):C.next)&&!(A=A.call(C,M[1])).done)return A;switch(C=0,A&&(M=[M[0]&2,A.value]),M[0]){case 0:case 1:A=M;break;case 4:return P.label++,{value:M[1],done:!1};case 5:P.label++,C=M[1],M=[0];continue;case 7:M=P.ops.pop(),P.trys.pop();continue;default:if(A=P.trys,!(A=A.length>0&&A[A.length-1])&&(M[0]===6||M[0]===2)){P=0;continue}if(M[0]===3&&(!A||M[1]>A[0]&&M[1]<A[3])){P.label=M[1];break}if(M[0]===6&&P.label<A[1]){P.label=A[1],A=M;break}if(A&&P.label<A[2]){P.label=A[2],P.ops.push(M);break}A[2]&&P.ops.pop(),P.trys.pop();continue}M=m.call(g,P)}catch(U){M=[6,U],C=0}finally{b=A=0}if(M[0]&5)throw M[1];return{value:M[0]?M[1]:void 0,done:!0}}},v=function g(m,b){"use strict";var C=this;i(this,g),this.name=m,this.define=function(P,T){if(C.script.resolve(),C.loadDependenciesAndBindThemToExecutableContext)throw new Error("[".concat(C.name,"] is already defined"));C.loadDependenciesAndBindThemToExecutableContext=function(){C.executableContext||T.map(function(M){M.loadDependencies()});var x=C;return function(){var M=r(function(U){var j;return p(this,function($){switch($.label){case 0:return[4,Promise.all(T.map(function(G){return G.load(U)}))];case 1:return j=$.sent(),x.exports=P.apply(void 0,s(j)),U[x.name]&&Object.assign(U[x.name],x.exports
81),[2,x.exports]}})});return function(U){return M.apply(this,arguments)}}()}};var A=this;this.load=r(function(){var P,T=arguments;return p(this,function(x){switch(x.label){case 0:return P=T.length>0&&T[0]!==void 0?T[0]:{},A.exports?[2,A.exports]:P[A.name]?[2,P[A.name]]:(P[A.name]={__esModule:!0},A.executingContext||(A.executingContext=A.loadDependencies().then(function(M){return M(P)})),[4,A.executingContext]);case 1:return[2,x.sent()]}})});var _=this;this.loadDependencies=r(function(){return p(this,function(P){switch(P.label){case 0:return _.executableContext?[2,_.executableContext]:_.loadDependenciesAndBindThemToExecutableContext?[3,2]:[4,_.script.load()];case 1:P.sent(),P.label=2;case 2:if(!_.loadDependenciesAndBindThemToExecutableContext)throw new Error("[".concat(_.name,"] failed to load"));return _.executableContext=_.loadDependenciesAndBindThemToExecutableContext(),[2,_.executableContext]}})}),this.script=new a.default(b)}},171097:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return d}});var a=i(e(250848)),n=i(e(704025));function o(u,s,f,p,v,g,m){try{var b=u[g](m),C=b.value}catch(A){f(A);return}b.done?s(C):Promise.resolve(C).then(p,v)}function t(u){return function(){var s=this,f=arguments;return new Promise(function(p,v){var g=u.apply(s,f);function m(C){o(g,p,v,m,b,"next",C)}function b(C){o(g,p,v,m,b,"throw",C)}m(void 0)})}}function r(u,s){if(!(u instanceof s))throw new TypeError("Cannot call a class as a function")}function i(u){return u&&u.__esModule?u:{default:u}}var c=function(u,s){var f,p,v,g,m={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]};return g={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function b(A){return function(_){return C([A,_])}}function C(A){if(f)throw new TypeError("Generator is already executing.");for(;m;)try{if(f=1,p&&(v=A[0]&2?p.return:A[0]?p.throw||((v=p.return)&&v.call(p),0):p.next)&&!(v=v.call(p,A[1])).done)return v;switch(p=0,v&&(A=[A[0]&2,v.value]),A[0]){case 0:case 1:v=A;break;case 4:return m.label++,{value:A[1],done:!1};case 5:m.label++,p=A[1],A=[0];continue;case 7:A=m.ops.pop(),m.trys.pop();continue;default:if(v=m.trys,!(v=v.length>0&&v[v.length-1])&&(A[0]===6||A[0]===2)){m=0;continue}if(A[0]===3&&(!v||A[1]>v[0]&&A[1]<v[3])){m.label=A[1];break}if(A[0]===6&&m.label<v[1]){m.label=v[1],v=A;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(A);break}v[2]&&m.ops.pop(),m.trys.pop();continue}A=s.call(u,m)}catch(_){A=[6,_],p=0}finally{f=v=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}},d=function(){"use strict";function u(s){var f=this;r(this,u),this.src=s,this.resolvablePromise=new n.default;var p=this;this.load=t(function(){return c(this,function(v){return p.src&&u.findOrCreate(p.src),[2,p.resolvablePromise.promise]})}),this.resolve=function(){f.resolvablePromise.resolve()}}return u.findOrCreate=function(f){var p=(0,a.default)(),v=p.querySelector("script[src='".concat(f,"']"));if(!v){var g=p.createElement("script");g.src=f,g.defer=!0,p.head.appendChild(g)}},u}()},290700:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(v,g){for(var m in g)Object.defineProperty(v,m,{enumerable:!0,get:g[m]})}a(l,{AmdLoader:function(){return f},getAmdLoader:function(){return p}});var n=e(5974),o=d(e(721505));function t(v,g,m,b,C,A,_){try{var P=v[A](_),T=P.value}catch(x){m(x);return}P.done?g(T):Promise.resolve(T).then(b,C)}function r(v){return function(){var g=this,m=arguments;return new Promise(function(b,C){var A=v.apply(g,m);function _(T){t(A,b,C,_,P,"next",T)}function P(T){t(A,b,C,_,P,"throw",T)}_(void 0)})}}function i(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function c(v,g,m){return g in v?Object.defineProperty(v,g,{value:m,enumerable:!0,configurable:!0,writable:!0}):v[g]=m,v}function d(v){return v&&v.__esModule?v:{default:v}}function u(v){for(var g=1;g<arguments.length;g++){var m=arguments[g]!=null?arguments[g]:{},b=Object.keys(m);typeof Object.getOwnPropertySymbols=="function"&&(b=b.concat(Object.getOwnPropertySymbols(m).filter(function(C){return Object.getOwnPropertyDescriptor(m,C).enumerable}))),b.forEach(function(C){c(v,C,m[C])})}return v}var s=function(v,g){var m,b,C,A,_={label:0,sent:function(){if(C[0]&1)throw C[1];return C[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(x){return function(M){return T([x,M])}}function T(x){if(m)throw new TypeError("Generator is already executing.");for(;_;)try{if(m=1,b&&(C=x[0]&2?b.return:x[0]?b.throw||((C=b.return)&&C.call(b),
810):b.next)&&!(C=C.call(b,x[1])).done)return C;switch(b=0,C&&(x=[x[0]&2,C.value]),x[0]){case 0:case 1:C=x;break;case 4:return _.label++,{value:x[1],done:!1};case 5:_.label++,b=x[1],x=[0];continue;case 7:x=_.ops.pop(),_.trys.pop();continue;default:if(C=_.trys,!(C=C.length>0&&C[C.length-1])&&(x[0]===6||x[0]===2)){_=0;continue}if(x[0]===3&&(!C||x[1]>C[0]&&x[1]<C[3])){_.label=x[1];break}if(x[0]===6&&_.label<C[1]){_.label=C[1],C=x;break}if(C&&_.label<C[2]){_.label=C[2],_.ops.push(x);break}C[2]&&_.ops.pop(),_.trys.pop();continue}x=g.call(v,_)}catch(M){x=[6,M],b=0}finally{m=C=0}if(x[0]&5)throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}},f=function(){"use strict";function v(){var m=this;i(this,v),this.modules={},this.importMap={},this.define=function(C,A,_){m.findOrCreateModule(C).define(_,A.map(function(P){return m.findOrCreateModule(P)}))};var b=this;this.load=function(){var C=r(function(A){return s(this,function(_){if(!b.canLoadModule(A))throw new Error("Amd Module cannot be loaded due to missing import map for module: ".concat(A));return[2,b.findOrCreateModule(A).load()]})});return function(A){return C.apply(this,arguments)}}()}var g=v.prototype;return g.canLoadModule=function(b){return this.modules[b]!==void 0||this.importMap[b]!==void 0},g.updateImportMap=function(b){this.importMap=u({},this.importMap,b)},g.defineSystemModule=function(b,C){this.define(b,[],function(){return{__esModule:!0,default:C}})},g.findOrCreateModule=function(b){return this.modules[b]||(this.modules[b]=new o.default(b,this.importMap[b])),this.modules[b]},v}();function p(){return(0,n.getSharedEditorVisitorSingleton)("loader")}(0,n.createVisitorSingleton)("loader",function(){return new f})},695870:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return c}});var a=r(e(808847));function n(d,u,s,f,p,v,g){try{var m=d[v](g),b=m.value}catch(C){s(C);return}m.done?u(b):Promise.resolve(b).then(f,p)}function o(d){return function(){var u=this,s=arguments;return new Promise(function(f,p){var v=d.apply(u,s);function g(b){n(v,f,p,g,m,"next",b)}function m(b){n(v,f,p,g,m,"throw",b)}g(void 0)})}}function t(d,u){if(!(d instanceof u))throw new TypeError("Cannot call a class as a function")}function r(d){return d&&d.__esModule?d:{default:d}}var i=function(d,u){var s,f,p,v,g={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]};return v={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function m(C){return function(A){return b([C,A])}}function b(C){if(s)throw new TypeError("Generator is already executing.");for(;g;)try{if(s=1,f&&(p=C[0]&2?f.return:C[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,C[1])).done)return p;switch(f=0,p&&(C=[C[0]&2,p.value]),C[0]){case 0:case 1:p=C;break;case 4:return g.label++,{value:C[1],done:!1};case 5:g.label++,f=C[1],C=[0];continue;case 7:C=g.ops.pop(),g.trys.pop();continue;default:if(p=g.trys,!(p=p.length>0&&p[p.length-1])&&(C[0]===6||C[0]===2)){g=0;continue}if(C[0]===3&&(!p||C[1]>p[0]&&C[1]<p[3])){g.label=C[1];break}if(C[0]===6&&g.label<p[1]){g.label=p[1],p=C;break}if(p&&g.label<p[2]){g.label=p[2],g.ops.push(C);break}p[2]&&g.ops.pop(),g.trys.pop();continue}C=u.call(d,g)}catch(A){C=[6,A],f=0}finally{s=p=0}if(C[0]&5)throw C[1];return{value:C[0]?C[1]:void 0,done:!0}}},c=function(){"use strict";function d(s,f){t(this,d),this.owningIframeDocument=s,this.href=f}var u=d.prototype;return u.isValid=function(){return!0},u.loadCssAvoidingIframeCors=function(){var f=this;return o(function(){var p,v;return i(this,function(g){switch(g.label){case 0:return f.owningIframeDocument.querySelector("link[href='".concat(f.href,"']"))||f.owningIframeDocument.querySelector("style[data-definition-css-url='".concat(f.href,"']"))?[2]:[4,a.default.get(f.href)];case 1:return p=g.sent().data,v=f.owningIframeDocument.createElement("style"),v.dataset.definitionCssUrl=f.href,v.innerText=p,f.owningIframeDocument.head.appendChild(v),[2]}})})()},d}()},410338:function(y,l,e){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return p}});var a=s(e(4621)),n=s(e(250848)),o=s(e(704025)),t=s(e(695870));function r(v,g,m,b,C,A,_){try{var P=v[A](_),T=P.value}catch(x){m(x);return}P.done?g(T):Promise.resolve(T).then(b,C)}function i(v){return function(){var g=this,m=arguments;return new Promise(function(b,C){var A=v.apply(g,m);function _(T){r(A,b,C,_,P,"next",T)}function P(T){r(A,b,C,_,P,"throw",T)}_(void 0)})}}function c(v,g){if(!(v instanceof g))throw new TypeError("Cannot call a class as a function")}function d(v,g){for(var m=0;m<g.length;m++){var b=g[m];b.enumerable=b.enumerable||!1,b.configurable=!0,"value"in b&&(b.writable=!0),Object.defineProperty(v,b.key,b)}}function u(v,g,m){return g&&d(v.prototype,g),m&&d(v,m),v}function s(v){return v&&v.__esModule?v:{default:v}}var f=function(v,g){var m,b,C,A,_={label:0,sent:function(){if(C[0]&1)throw C[1];return C[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(x){return function(M){return T([x,M])}}function T(x){if(m)throw new TypeError("Generator is already executing.");for(;_;)try{if(m=1,b&&(C=x[0]&2?b.return:x[0]?b.throw||((C=b.return)&&C.call(b),0):b.next)&&!(C=C.call(b,x[1])).done)return C;switch(b=0,C&&(x=[x[0]&2,C.value]),x[0]){case 0:case 1:C=x;break;case 4:return _.label++,{value:x[1],done:!1};case 5:_.label++,b=x[1],x=[0];continue;case 7:x=_.ops.pop(),_.trys.pop();continue;default:if(C=_.trys,!(C=C.length>0&&C[C.length-1])&&(x[0]===6||x[0]===2)){_=0;continue}if(x[0]===3&&(!C||x[1]>C[0]&&x[1]<C[3])){_.label=x[1];break}if(x[0]===6&&_.label<C[1]){_.label=C[1],C=x;break}if(C&&_.label<C[2]){_.label=C[2],_.ops.push(x);break}C[2]&&_.ops.pop(),_.trys.pop();continue}x=g.call(v,_)}catch(M){x=[6,M],b=0}finally{m=C=0}if(x[0]&5)throw x[1];return{value:x[0]?x[1]:void 0,done:!0}}},p=function(){"use strict";function v(m){c(this,v),this.definitionName=m,this.cssTags=[],this.owningIframeDocument=(0,n.default)()}var g=v.prototype;return g.isValid=function(){return this.owningIframeDocument===(0,n.default)()&&(!this.isLoaded||this.cssTags.every(function(b){return b.isValid()}))},g.load=function(){var b=this;return i(function(){var C,A,_;return f(this,function(P){switch(P.label){case 0:return b.isLoaded?[2,(C=b.resolvablePromise)===null||C===void 0?void 0:C.promise]:(b.resolvablePromise=new o.default,[4,a.default.fetch(b.definitionName)]);case 1:return A=P.sent(),_=(A==null?void 0:A.staticAssets.css)||[],b.cssTags=_.map(function(T){return new t.default(b.owningIframeDocument,T)}),[2,Promise.all(b.cssTags.map(function(T){return T.loadCssAvoidingIframeCors()})).then(function(){var T;return(T=b.resolvablePromise)===null||T===void 0?void 0:T.resolve()})]}})})()},u(v,[{key:"isLoaded",get:function(){return this.resolvablePromise!==void 0}}]),v}()},896863:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return d}});var a=r(e(410338));function n(u,s,f,p,v,g,m){try{var b=u[g](m),C=b.value}catch(A){f(A);return}b.done?s(C):Promise.resolve(C).then(p,v)}function o(u){return function(){var s=this,f=arguments;return new Promise(function(p,v){var g=u.apply(s,f);function m(C){n(g,p,v,m,b,"next",C)}function b(C){n(g,p,v,m,b,"throw",C)}m(void 0)})}}function t(u,s){if(!(u instanceof s))throw new TypeError("Cannot call a class as a function")}function r(u){return u&&u.__esModule?u:{default:u}}var i=function(u,s){var f,p,v,g,m={label:0,sent:function(){if(v[0]&1)throw v[1];return v[1]},trys:[],ops:[]};return g={next:b(0),throw:b(1),return:b(2)},typeof Symbol=="function"&&(g[Symbol.iterator]=function(){return this}),g;function b(A){return function(_){return C([A,_])}}function C(A){if(f)throw new TypeError("Generator is already executing.");for(;m;)try{if(f=1,p&&(v=A[0]&2?p.return:A[0]?p.throw||((v=p.return)&&v.call(p),0):p.next)&&!(v=v.call(p,A[1])).done)return v;switch(p=0,v&&(A=[A[0]&2,v.value]),A[0]){case 0:case 1:v=A;break;case 4:return m.label++,{value:A[1],done:!1};case 5:m.label++,p=A[1],A=[0];continue;case 7:A=m.ops.pop(),m.trys.pop();continue;default:if(v=m.trys,!(v=v.length>0&&v[v.length-1])&&(A[0]===6||A[0]===2)){m=0;continue}if(A[0]===3&&(!v||A[1]>v[0]&&A[1]<v[3])){m.label=A[1];break}if(A[0]===6&&m.label<v[1]){m.label=v[1],v=A;break}if(v&&m.label<v[2]){m.label=v[2],m.ops.push(A);break}v[2]&&m.ops.pop(),m.trys.pop();continue}A=s.call(u,m)}catch(_){A=[6,_],p=0}finally{f=v=0}if(A[0]&5)throw A[1];return{value:A[0]?A[1]:void 0,done:!0}}},c=function(){"use strict";function u(){t(this,u),this.definitionCssByName={}}var s=u.prototype;return s.findOrCreateDefinitionCss=function(p){return this.definitionCssByName[p]&&!this.definitionCssByName[p].isValid()&&delete this.definitionCssByName[p],this.definitionCssByName[p]||(this.definitionCssByName[p]=new a.default(p)),this.definitionCssByName[p]},s.load=function(p){var v=this;return o(function(){return i(this,function(g){return[2,v.findOrCreateDefinitionCss(p).load()]})})()},u}(),d=new c},704025:function(y,l){"use strict";
81Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return a}});function e(n,o){if(!(n instanceof o))throw new TypeError("Cannot call a class as a function")}var a=function n(){"use strict";var o=this;e(this,n),this.promise=new Promise(function(t){o.resolve=t})}},250848:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return o}});var a=e(302188),n=function(){return(0,a.getFrameDocument)()||document},o=n},903753:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"getVisitorInstanceLoader",{enumerable:!0,get:function(){return s}});var a=e(5974),n=c(e(191423)),o=e(290700);function t(f,p,v,g,m,b,C){try{var A=f[b](C),_=A.value}catch(P){v(P);return}A.done?p(_):Promise.resolve(_).then(g,m)}function r(f){return function(){var p=this,v=arguments;return new Promise(function(g,m){var b=f.apply(p,v);function C(_){t(b,g,m,C,A,"next",_)}function A(_){t(b,g,m,C,A,"throw",_)}C(void 0)})}}function i(f,p){if(!(f instanceof p))throw new TypeError("Cannot call a class as a function")}function c(f){return f&&f.__esModule?f:{default:f}}var d=function(f,p){var v,g,m,b,C={label:0,sent:function(){if(m[0]&1)throw m[1];return m[1]},trys:[],ops:[]};return b={next:A(0),throw:A(1),return:A(2)},typeof Symbol=="function"&&(b[Symbol.iterator]=function(){return this}),b;function A(P){return function(T){return _([P,T])}}function _(P){if(v)throw new TypeError("Generator is already executing.");for(;C;)try{if(v=1,g&&(m=P[0]&2?g.return:P[0]?g.throw||((m=g.return)&&m.call(g),0):g.next)&&!(m=m.call(g,P[1])).done)return m;switch(g=0,m&&(P=[P[0]&2,m.value]),P[0]){case 0:case 1:m=P;break;case 4:return C.label++,{value:P[1],done:!1};case 5:C.label++,g=P[1],P=[0];continue;case 7:P=C.ops.pop(),C.trys.pop();continue;default:if(m=C.trys,!(m=m.length>0&&m[m.length-1])&&(P[0]===6||P[0]===2)){C=0;continue}if(P[0]===3&&(!m||P[1]>m[0]&&P[1]<m[3])){C.label=P[1];break}if(P[0]===6&&C.label<m[1]){C.label=m[1],m=P;break}if(m&&C.label<m[2]){C.label=m[2],C.ops.push(P);break}m[2]&&C.ops.pop(),C.trys.pop();continue}P=p.call(f,C)}catch(T){P=[6,T],g=0}finally{v=m=0}if(P[0]&5)throw P[1];return{value:P[0]?P[1]:void 0,done:!0}}},u=function(){"use strict";function f(){i(this,f),this.instancesByDefinitionNameAndId={}}var p=f.prototype;return p.load=function(g,m,b){var C=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1,A=this;return r(function(){return d(this,function(_){return A.instancesByDefinitionNameAndId[g]||(A.instancesByDefinitionNameAndId[g]={}),(!A.instancesByDefinitionNameAndId[g][m]||C)&&(A.instancesByDefinitionNameAndId[g][m]=A.instantiateVisitorJs(g,b)),[2,A.instancesByDefinitionNameAndId[g][m]]})})()},p.instantiateVisitorJs=function(g,m){return r(function(){var b,C,A;return d(this,function(_){switch(_.label){case 0:return[4,(0,o.getAmdLoader)()];case 1:return b=_.sent(),C="".concat(g,".visitor"),b.canLoadModule(C)?[3,3]:[4,(0,n.default)(g,b)];case 2:_.sent(),_.label=3;case 3:return[4,b.load(C)];case 4:if(A=_.sent(),!f.isVisitorJs(A))throw new Error("visitorJS failed to load for ".concat(g));return[2,A.default(m)]}})})()},f.isVisitorJs=function(g){return typeof g=="object"&&typeof g.default=="function"},f}();function s(){return(0,a.createVisitorSingleton)("visitorInstanceLoader",function(){return new u}),(0,a.getSharedEditorVisitorSingleton)("visitorInstanceLoader")}},55478:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function e(o,t){for(var r in t)Object.defineProperty(o,r,{enumerable:!0,get:t[r]})}e(l,{RenderMarkupFileType:function(){return a},StaticAssetContentType:function(){return n}});var a;(function(o){o.JSONT="JSONT"})(a||(a={}));var n;(function(o){o.CSS="CSS",o.JS="JS",o.UI_SCHEMA="UI_SCHEMA"})(n||(n={}))},5974:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0});function a(m,b){for(var C in b)Object.defineProperty(m,C,{enumerable:!0,get:b[C]})}a(l,{createVisitorSingleton:function(){return v},getSharedEditorVisitorSingleton:function(){return g}});var n=e(302188);function o(m,b,C,A,_,P,T){try{var x=m[P](T),M=x.value}catch(U){C(U);return}x.done?b(M):Promise.resolve(M).then(A,_)}function t(m){return function(){var b=this,C=arguments;return new Promise(function(A,_){var P=m.apply(b,C);function T(M){o(P,A,_,T,x,"next",M)}function x(M){o(P,A,_,T,x,"throw",M)}T(void 0)})}}
81var r=function(m,b){var C,A,_,P,T={label:0,sent:function(){if(_[0]&1)throw _[1];return _[1]},trys:[],ops:[]};return P={next:x(0),throw:x(1),return:x(2)},typeof Symbol=="function"&&(P[Symbol.iterator]=function(){return this}),P;function x(U){return function(j){return M([U,j])}}function M(U){if(C)throw new TypeError("Generator is already executing.");for(;T;)try{if(C=1,A&&(_=U[0]&2?A.return:U[0]?A.throw||((_=A.return)&&_.call(A),0):A.next)&&!(_=_.call(A,U[1])).done)return _;switch(A=0,_&&(U=[U[0]&2,_.value]),U[0]){case 0:case 1:_=U;break;case 4:return T.label++,{value:U[1],done:!1};case 5:T.label++,A=U[1],U=[0];continue;case 7:U=T.ops.pop(),T.trys.pop();continue;default:if(_=T.trys,!(_=_.length>0&&_[_.length-1])&&(U[0]===6||U[0]===2)){T=0;continue}if(U[0]===3&&(!_||U[1]>_[0]&&U[1]<_[3])){T.label=U[1];break}if(U[0]===6&&T.label<_[1]){T.label=_[1],_=U;break}if(_&&T.label<_[2]){T.label=_[2],T.ops.push(U);break}_[2]&&T.ops.pop(),T.trys.pop();continue}U=b.call(m,T)}catch(j){U=[6,j],A=0}finally{C=_=0}if(U[0]&5)throw U[1];return{value:U[0]?U[1]:void 0,done:!0}}},i="SQSWebsiteComponentSingletonCreated:",c=function(m){return window.websiteComponents[m]},d=function(m){var b=c(m);if(b)return b;throw new Error("Shared editor visitor singleton '".concat(m,"' ")+"does not exist when requested from the visitor!")},u=function(m){var b,C=((b=(0,n.getFrameWindow)())===null||b===void 0?void 0:b.websiteComponents)||{};return C[m]},s=function(m,b,C){return function(){var A=u(m);A?b(A):C(new Error("Notified of singleton instantiation for '".concat(m,"' but singleton was not found")))}},f=function(m){return new Promise(function(b,C){var A=u(m);A?b(A):window.Y?window.Y.once(i+m,s(m,b,C)):window.addEventListener("DOMContentLoaded",function(){window.Y?window.Y.once(i+m,s(m,b,C)):C(new Error("Unable to listen for singleton initialization event for '".concat(m,"'")))})})},p=function(){try{var m,b=window.top&&!!(!((m=window.top.Static)===null||m===void 0)&&m.IS_IN_CONFIG),C=window.top?window.top:window;return b?window===(0,n.getFrameWindow)(C.document):!0}catch(A){return!0}},v=function(m,b){p()&&(window.websiteComponents||(window.websiteComponents={}),window.websiteComponents[m]||(window.websiteComponents[m]=b(),window.Y?window.Y.fire(i+m):window.addEventListener("DOMContentLoaded",function(){if(window.Y)window.Y.fire(i+m);else throw new Error("Unable to fire singleton initialization event for '".concat(m,"'"))})))},g=function(){var m=t(function(b){return r(this,function(C){switch(C.label){case 0:return p()?[2,d(b)]:[4,f(b)];case 1:return[2,C.sent()]}})});return function(C){return m.apply(this,arguments)}}()},191423:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"default",{enumerable:!0,get:function(){return c}});var a=t(e(4621));function n(d,u,s,f,p,v,g){try{var m=d[v](g),b=m.value}catch(C){s(C);return}m.done?u(b):Promise.resolve(b).then(f,p)}function o(d){return function(){var u=this,s=arguments;return new Promise(function(f,p){var v=d.apply(u,s);function g(b){n(v,f,p,g,m,"next",b)}function m(b){n(v,f,p,g,m,"throw",b)}g(void 0)})}}function t(d){return d&&d.__esModule?d:{default:d}}var r=function(d,u){var s,f,p,v,g={label:0,sent:function(){if(p[0]&1)throw p[1];return p[1]},trys:[],ops:[]};return v={next:m(0),throw:m(1),return:m(2)},typeof Symbol=="function"&&(v[Symbol.iterator]=function(){return this}),v;function m(C){return function(A){return b([C,A])}}function b(C){if(s)throw new TypeError("Generator is already executing.");for(;g;)try{if(s=1,f&&(p=C[0]&2?f.return:C[0]?f.throw||((p=f.return)&&p.call(f),0):f.next)&&!(p=p.call(f,C[1])).done)return p;switch(f=0,p&&(C=[C[0]&2,p.value]),C[0]){case 0:case 1:p=C;break;case 4:return g.label++,{value:C[1],done:!1};case 5:g.label++,f=C[1],C=[0];continue;case 7:C=g.ops.pop(),g.trys.pop();continue;default:if(p=g.trys,!(p=p.length>0&&p[p.length-1])&&(C[0]===6||C[0]===2)){g=0;continue}if(C[0]===3&&(!p||C[1]>p[0]&&C[1]<p[3])){g.label=C[1];break}if(C[0]===6&&g.label<p[1]){g.label=p[1],p=C;break}if(p&&g.label<p[2]){g.label=p[2],g.ops.push(C);break}p[2]&&g.ops.pop(),g.trys.pop();continue}C=u.call(d,g)}catch(A){C=[6,A],f=0}finally{s=p=0}if(C[0]&5)throw C[1];return{value:C[0]?C[1]:void 0,done:!0}}},i=function(){var d=o(function(u,s){var f;return r(this,function(p){switch(p.label){case 0:return[4,a.default.fetch(u)];case 1:return f=p.sent(),f!=null&&f.staticAssets&&s.updateImportMap(f.staticAssets.importMap),[2]}})});return function(s,f){return d.apply(this,arguments)}}(),c=i},3274:function(y){"use strict";for(var l=[],e=0;e<256;++e)l[e]=(e+256).toString(16).substr(1);function a(n,o){var t=o||0,r=l;return[r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],"-",r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]],r[n[t++]]].join("")}y.exports=a},702480:function(y){"use strict";var l=typeof crypto!="undefined"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto!="undefined"&&typeof window.msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto);if(l){var e=new Uint8Array(16);y.exports=function(){return l(e),e}}else{var a=new Array(16);y.exports=function(){for(var o=0,t;o<16;o++)o&3||(t=Math.random()*4294967296),a[o]=t>>
81>((o&3)<<3)&255;return a}}},904406:function(y,l,e){"use strict";var a=e(702480),n=e(3274);function o(t,r,i){var c=r&&i||0;typeof t=="string"&&(r=t==="binary"?new Array(16):null,t=null),t=t||{};var d=t.random||(t.rng||a)();if(d[6]=d[6]&15|64,d[8]=d[8]&63|128,r)for(var u=0;u<16;++u)r[c+u]=d[u];return r||n(d)}y.exports=o},779291:function(y,l,e){var a;(function(n){var o=/^\s+/,t=/\s+$/,r=0,i=n.round,c=n.min,d=n.max,u=n.random;function s(be,Le){if(be=be||"",Le=Le||{},be instanceof s)return be;if(!(this instanceof s))return new s(be,Le);var Oe=f(be);this._originalInput=be,this._r=Oe.r,this._g=Oe.g,this._b=Oe.b,this._a=Oe.a,this._roundA=i(100*this._a)/100,this._format=Le.format||Oe.format,this._gradientType=Le.gradientType,this._r<1&&(this._r=i(this._r)),this._g<1&&(this._g=i(this._g)),this._b<1&&(this._b=i(this._b)),this._ok=Oe.ok,this._tc_id=r++}s.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 be=this.toRgb();return(be.r*299+be.g*587+be.b*114)/1e3},getLuminance:function(){var be=this.toRgb(),Le,Oe,yt,wt,Lt,jt;return Le=be.r/255,Oe=be.g/255,yt=be.b/255,Le<=.03928?wt=Le/12.92:wt=n.pow((Le+.055)/1.055,2.4),Oe<=.03928?Lt=Oe/12.92:Lt=n.pow((Oe+.055)/1.055,2.4),yt<=.03928?jt=yt/12.92:jt=n.pow((yt+.055)/1.055,2.4),.2126*wt+.7152*Lt+.0722*jt},setAlpha:function(be){return this._a=re(be),this._roundA=i(100*this._a)/100,this},toHsv:function(){var be=m(this._r,this._g,this._b);return{h:be.h*360,s:be.s,v:be.v,a:this._a}},toHsvString:function(){var be=m(this._r,this._g,this._b),Le=i(be.h*360),Oe=i(be.s*100),yt=i(be.v*100);return this._a==1?"hsv("+Le+", "+Oe+"%, "+yt+"%)":"hsva("+Le+", "+Oe+"%, "+yt+"%, "+this._roundA+")"},toHsl:function(){var be=v(this._r,this._g,this._b);return{h:be.h*360,s:be.s,l:be.l,a:this._a}},toHslString:function(){var be=v(this._r,this._g,this._b),Le=i(be.h*360),Oe=i(be.s*100),yt=i(be.l*100);return this._a==1?"hsl("+Le+", "+Oe+"%, "+yt+"%)":"hsla("+Le+", "+Oe+"%, "+yt+"%, "+this._roundA+")"},toHex:function(be){return C(this._r,this._g,this._b,be)},toHexString:function(be){return"#"+this.toHex(be)},toHex8:function(be){return A(this._r,this._g,this._b,this._a,be)},toHex8String:function(be){return"#"+this.toHex8(be)},toRgb:function(){return{r:i(this._r),g:i(this._g),b:i(this._b),a:this._a}},toRgbString:function(){return this._a==1?"rgb("+i(this._r)+", "+i(this._g)+", "+i(this._b)+")":"rgba("+i(this._r)+", "+i(this._g)+", "+i(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:i(le(this._r,255)*100)+"%",g:i(le(this._g,255)*100)+"%",b:i(le(this._b,255)*100)+"%",a:this._a}},toPercentageRgbString:function(){return this._a==1?"rgb("+i(le(this._r,255)*100)+"%, "+i(le(this._g,255)*100)+"%, "+i(le(this._b,255)*100)+"%)":"rgba("+i(le(this._r,255)*100)+"%, "+i(le(this._g,255)*100)+"%, "+i(le(this._b,255)*100)+"%, "+this._roundA+")"},toName:function(){return this._a===0?"transparent":this._a<1?!1:k[C(this._r,this._g,this._b,!0)]||!1},toFilter:function(be){var Le="#"+_(this._r,this._g,this._b,this._a),Oe=Le,yt=this._gradientType?"GradientType = 1, ":"";if(be){var wt=s(be);Oe="#"+_(wt._r,wt._g,wt._b,wt._a)}return"progid:DXImageTransform.Microsoft.gradient("+yt+"startColorstr="+Le+",endColorstr="+Oe+")"},toString:function(be){var Le=!!be;be=be||this._format;var Oe=!1,yt=this._a<1&&this._a>=0,wt=!Le&&yt&&(be==="hex"||be==="hex6"||be==="hex3"||be==="hex4"||be==="hex8"||be==="name");return wt?be==="name"&&this._a===0?this.toName():this.toRgbString():(be==="rgb"&&(Oe=this.toRgbString()),be==="prgb"&&(Oe=this.toPercentageRgbString()),(be==="hex"||be==="hex6")&&(Oe=this.toHexString()),be==="hex3"&&(Oe=this.toHexString(!0)),be==="hex4"&&(Oe=this.toHex8String(!0)),be==="hex8"&&(Oe=this.toHex8String()),be==="name"&&(Oe=this.toName()),be==="hsl"&&(Oe=this.toHslString()),be==="hsv"&&(Oe=this.toHsvString()),Oe||this.toHexString())},clone:function(){return s(this.toString())},_applyModification:function(be,Le){var Oe=be.apply(null,[this].concat([].slice.call(Le)));return this._r=Oe._r,this._g=Oe._g,this._b=Oe._b,this.setAlpha(Oe._a),this},lighten:function(){return this._applyModification(M,arguments)},brighten:function(){return this._applyModification(U,arguments)},darken:function(){return this._applyModification(j,arguments)},desaturate:function(){return this._applyModification(P,arguments)},saturate:function(){return this._applyModification(T,arguments)},greyscale:function(){return this._applyModification(x,arguments)},spin:function(){return this._applyModification($,arguments)},_applyCombination:function(be,Le){return be.apply(null,[this].concat([].slice.call(Le)))},analogous:function(){return this._applyCombination(q,arguments)},complement:function(){return this._applyCombination(G,arguments)},monochromatic:function(){return this._applyCombination(H,arguments)},splitcomplement:function(){return this._applyCombination(W,arguments)},triad:function(){return this._applyCombination(J,arguments)},tetrad:function(){return this._applyCombination(ie,arguments)}},s.fromRatio=function(be,Le){if(typeof be=="object"){var Oe={};for(var yt in be)be.hasOwnProperty(yt)&&(yt==="a"?Oe[yt]=be[yt]:Oe[yt]=Me(be[yt]));be=Oe}return s(be,Le)};function f(be){var Le={r:0,g:0,b:0},Oe=1,yt=null,wt=null,Lt=null,jt=!1,Xe=!1;return typeof be=="string"&&(be=en(be)),typeof be=="object"&&(Bt(be.r)&&Bt(be.g)&&Bt(be.b)?(Le=p(be.r,be.g,be.b),jt=!0,Xe=String(be.r).substr(-1)==="%"?"prgb":"rgb"):Bt(be.h)&&Bt(be.s)&&Bt(be.v)?(yt=Me(be.s),wt=Me(be.v),Le=b(be.h,yt,wt),jt=!0,Xe="hsv"):Bt(be.h)&&Bt(be.s)&&Bt(be.l)&&(yt=Me(be.s),Lt=Me(be.l),Le=g(be.h,yt,Lt),jt=!0,Xe="hsl"),be.hasOwnProperty("a")&&(Oe=be.a)),Oe=re(Oe),{ok:jt,format:be.format||Xe,r:c(255,d(Le.r,0)),g:c(255,d(Le.g,0)),b:c(255,d(Le.b,0)),a:Oe}}function p(be,Le,Oe){return{r:le(be,255)*255,g:le(Le,255)*255,b:le(Oe,25
vendor: 4,214 bytes, line 81
815)*255}}function v(be,Le,Oe){be=le(be,255),Le=le(Le,255),Oe=le(Oe,255);var yt=d(be,Le,Oe),wt=c(be,Le,Oe),Lt,jt,Xe=(yt+wt)/2;if(yt==wt)Lt=jt=0;else{var zt=yt-wt;switch(jt=Xe>.5?zt/(2-yt-wt):zt/(yt+wt),yt){case be:Lt=(Le-Oe)/zt+(Le<Oe?6:0);break;case Le:Lt=(Oe-be)/zt+2;break;case Oe:Lt=(be-Le)/zt+4;break}Lt/=6}return{h:Lt,s:jt,l:Xe}}function g(be,Le,Oe){var yt,wt,Lt;be=le(be,360),Le=le(Le,100),Oe=le(Oe,100);function jt(nn,st,Ut){return Ut<0&&(Ut+=1),Ut>1&&(Ut-=1),Ut<1/6?nn+(st-nn)*6*Ut:Ut<1/2?st:Ut<2/3?nn+(st-nn)*(2/3-Ut)*6:nn}if(Le===0)yt=wt=Lt=Oe;else{var Xe=Oe<.5?Oe*(1+Le):Oe+Le-Oe*Le,zt=2*Oe-Xe;yt=jt(zt,Xe,be+1/3),wt=jt(zt,Xe,be),Lt=jt(zt,Xe,be-1/3)}return{r:yt*255,g:wt*255,b:Lt*255}}function m(be,Le,Oe){be=le(be,255),Le=le(Le,255),Oe=le(Oe,255);var yt=d(be,Le,Oe),wt=c(be,Le,Oe),Lt,jt,Xe=yt,zt=yt-wt;if(jt=yt===0?0:zt/yt,yt==wt)Lt=0;else{switch(yt){case be:Lt=(Le-Oe)/zt+(Le<Oe?6:0);break;case Le:Lt=(Oe-be)/zt+2;break;case Oe:Lt=(be-Le)/zt+4;break}Lt/=6}return{h:Lt,s:jt,v:Xe}}function b(be,Le,Oe){be=le(be,360)*6,Le=le(Le,100),Oe=le(Oe,100);var yt=n.floor(be),wt=be-yt,Lt=Oe*(1-Le),jt=Oe*(1-wt*Le),Xe=Oe*(1-(1-wt)*Le),zt=yt%6,nn=[Oe,jt,Lt,Lt,Xe,Oe][zt],st=[Xe,Oe,Oe,jt,Lt,Lt][zt],Ut=[Lt,Lt,Xe,Oe,Oe,jt][zt];return{r:nn*255,g:st*255,b:Ut*255}}function C(be,Le,Oe,yt){var wt=[ve(i(be).toString(16)),ve(i(Le).toString(16)),ve(i(Oe).toString(16))];return yt&&wt[0].charAt(0)==wt[0].charAt(1)&&wt[1].charAt(0)==wt[1].charAt(1)&&wt[2].charAt(0)==wt[2].charAt(1)?wt[0].charAt(0)+wt[1].charAt(0)+wt[2].charAt(0):wt.join("")}function A(be,Le,Oe,yt,wt){var Lt=[ve(i(be).toString(16)),ve(i(Le).toString(16)),ve(i(Oe).toString(16)),ve(ht(yt))];return wt&&Lt[0].charAt(0)==Lt[0].charAt(1)&&Lt[1].charAt(0)==Lt[1].charAt(1)&&Lt[2].charAt(0)==Lt[2].charAt(1)&&Lt[3].charAt(0)==Lt[3].charAt(1)?Lt[0].charAt(0)+Lt[1].charAt(0)+Lt[2].charAt(0)+Lt[3].charAt(0):Lt.join("")}function _(be,Le,Oe,yt){var wt=[ve(ht(yt)),ve(i(be).toString(16)),ve(i(Le).toString(16)),ve(i(Oe).toString(16))];return wt.join("")}s.equals=function(be,Le){return!be||!Le?!1:s(be).toRgbString()==s(Le).toRgbString()},s.random=function(){return s.fromRatio({r:u(),g:u(),b:u()})};function P(be,Le){Le=Le===0?0:Le||10;var Oe=s(be).toHsl();return Oe.s-=Le/100,Oe.s=se(Oe.s),s(Oe)}function T(be,Le){Le=Le===0?0:Le||10;var Oe=s(be).toHsl();return Oe.s+=Le/100,Oe.s=se(Oe.s),s(Oe)}function x(be){return s(be).desaturate(100)}function M(be,Le){Le=Le===0?0:Le||10;var Oe=s(be).toHsl();return Oe.l+=Le/100,Oe.l=se(Oe.l),s(Oe)}function U(be,Le){Le=Le===0?0:Le||10;var Oe=s(be).toRgb();return Oe.r=d(0,c(255,Oe.r-i(255*-(Le/100)))),Oe.g=d(0,c(255,Oe.g-i(255*-(Le/100)))),Oe.b=d(0,c(255,Oe.b-i(255*-(Le/100)))),s(Oe)}function j(be,Le){Le=Le===0?0:Le||10;var Oe=s(be).toHsl();return Oe.l-=Le/100,Oe.l=se(Oe.l),s(Oe)}function $(be,Le){var Oe=s(be).toHsl(),yt=(Oe.h+Le)%360;return Oe.h=yt<0?360+yt:yt,s(Oe)}function G(be){var Le=s(be).toHsl();return Le.h=(Le.h+180)%360,s(Le)}function J(be){var Le=s(be).toHsl(),Oe=Le.h;return[s(be),s({h:(Oe+120)%360,s:Le.s,l:Le.l}),s({h:(Oe+240)%360,s:Le.s,l:Le.l})]}function ie(be){var Le=s(be).toHsl(),Oe=Le.h;return[s(be),s({h:(Oe+90)%360,s:Le.s,l:Le.l}),s({h:(Oe+180)%360,s:Le.s,l:Le.l}),s({h:(Oe+270)%360,s:Le.s,l:Le.l})]}function W(be){var Le=s(be).toHsl(),Oe=Le.h;return[s(be),s({h:(Oe+72)%360,s:Le.s,l:Le.l}),s({h:(Oe+216)%360,s:Le.s,l:Le.l})]}function q(be,Le,Oe){Le=Le||6,Oe=Oe||30;var yt=s(be).toHsl(),wt=360/Oe,Lt=[s(be)];for(yt.h=(yt.h-(wt*Le>>1)+720)%360;--Le;)yt.h=(yt.h+wt)%360,Lt.push(s(yt));return Lt}function H(be,Le){Le=Le||6;for(var Oe=s(be).toHsv(),yt=Oe.h,wt=Oe.s,Lt=Oe.v,jt=[],Xe=1/Le;Le--;)jt.push(s({h:yt,s:wt,v:Lt})),Lt=(Lt+Xe)%1;return jt}s.mix=function(be,Le,Oe){Oe=Oe===0?0:Oe||50;var yt=s(be).toRgb(),wt=s(Le).toRgb(),Lt=Oe/100,jt={r:(wt.r-yt.r)*Lt+yt.r,g:(wt.g-yt.g)*Lt+yt.g,b:(wt.b-yt.b)*Lt+yt.b,a:(wt.a-yt.a)*Lt+yt.a};return s(jt)},s.readability=function(be,Le){var Oe=s(be),yt=s(Le);return(n.max(Oe.getLuminance(),yt.getLuminance())+.05)/(n.min(Oe.getLuminance(),yt.getLuminance())+.05)},s.isReadable=function(be,Le,Oe){var yt=s.readability(be,Le),wt,Lt;switch(Lt=!1,wt=Vt(Oe),wt.level+wt.size){case"AAsmall":case"AAAlarge":Lt=yt>=4.5;break;case"AAlarge":Lt=yt>=3;break;case"AAAsmall":Lt=yt>
vendor: 1,751 bytes, line 81
81=7;break}return Lt},s.mostReadable=function(be,Le,Oe){var yt=null,wt=0,Lt,jt,Xe,zt;Oe=Oe||{},jt=Oe.includeFallbackColors,Xe=Oe.level,zt=Oe.size;for(var nn=0;nn<Le.length;nn++)Lt=s.readability(be,Le[nn]),Lt>wt&&(wt=Lt,yt=s(Le[nn]));return s.isReadable(be,yt,{level:Xe,size:zt})||!jt?yt:(Oe.includeFallbackColors=!1,s.mostReadable(be,["#fff","#000"],Oe))};var X=s.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:"90ee9
810",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"},k=s.hexNames=ne(X);function ne(be){var Le={};for(var Oe in be)be.hasOwnProperty(Oe)&&(Le[be[Oe]]=Oe);return Le}function re(be){return be=parseFloat(be),(isNaN(be)||be<0||be>1)&&(be=1),be}function le(be,Le){pe(be)&&(be="100%");var Oe=Pe(be);return be=c(Le,d(0,parseFloat(be))),Oe&&(be=parseInt(be*Le,10)/100),n.abs(be-Le)<1e-6?1:be%Le/parseFloat(Le)}function se(be){return c(1,d(0,be))}function ae(be){return parseInt(be,16)}function pe(be){return typeof be=="string"&&be.indexOf(".")!=-1&&parseFloat(be)===1}function Pe(be){return typeof be=="string"&&be.indexOf("%")!=-1}function ve(be){return be.length==1?"0"+be:""+be}function Me(be){return be<=1&&(be=be*100+"%"),be}function ht(be){return n.round(parseFloat(be)*255).toString(16)}function xt(be){return ae(be)/255}var At=function(){var be="[-\\+]?\\d+%?",Le="[-\\+]?\\d*\\.\\d+%?",Oe="(?:"+Le+")|(?:"+be+")",yt="[\\s|\\(]+("+Oe+")[,|\\s]+("+Oe+")[,|\\s]+("+Oe+")\\s*\\)?",wt="[\\s|\\(]+("+Oe+")[,|\\s]+("+Oe+")[,|\\s]+("+Oe+")[,|\\s]+("+Oe+")\\s*\\)?";return{CSS_UNIT:new RegExp(Oe),rgb:new RegExp("rgb"+yt),rgba:new RegExp("rgba"+wt),hsl:new RegExp("hsl"+yt),hsla:new RegExp("hsla"+wt),hsv:new RegExp("hsv"+yt),hsva:new RegExp("hsva"
81+wt),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 Bt(be){return!!At.CSS_UNIT.exec(be)}function en(be){be=be.replace(o,"").replace(t,"").toLowerCase();var Le=!1;if(X[be])be=X[be],Le=!0;else if(be=="transparent")return{r:0,g:0,b:0,a:0,format:"name"};var Oe;return(Oe=At.rgb.exec(be))?{r:Oe[1],g:Oe[2],b:Oe[3]}:(Oe=At.rgba.exec(be))?{r:Oe[1],g:Oe[2],b:Oe[3],a:Oe[4]}:(Oe=At.hsl.exec(be))?{h:Oe[1],s:Oe[2],l:Oe[3]}:(Oe=At.hsla.exec(be))?{h:Oe[1],s:Oe[2],l:Oe[3],a:Oe[4]}:(Oe=At.hsv.exec(be))?{h:Oe[1],s:Oe[2],v:Oe[3]}:(Oe=At.hsva.exec(be))?{h:Oe[1],s:Oe[2],v:Oe[3],a:Oe[4]}:(Oe=At.hex8.exec(be))?{r:ae(Oe[1]),g:ae(Oe[2]),b:ae(Oe[3]),a:xt(Oe[4]),format:Le?"name":"hex8"}:(Oe=At.hex6.exec(be))?{r:ae(Oe[1]),g:ae(Oe[2]),b:ae(Oe[3]),format:Le?"name":"hex"}:(Oe=At.hex4.exec(be))?{r:ae(Oe[1]+""+Oe[1]),g:ae(Oe[2]+""+Oe[2]),b:ae(Oe[3]+""+Oe[3]),a:xt(Oe[4]+""+Oe[4]),format:Le?"name":"hex8"}:(Oe=At.hex3.exec(be))?{r:ae(Oe[1]+""+Oe[1]),g:ae(Oe[2]+""+Oe[2]),b:ae(Oe[3]+""+Oe[3]),format:Le?"name":"hex"}:!1}function Vt(be){var Le,Oe;return be=be||{level:"AA",size:"small"},Le=(be.level||"AA").toUpperCase(),Oe=(be.size||"small").toLowerCase(),Le!=="AA"&&Le!=="AAA"&&(Le="AA"),Oe!=="small"&&Oe!=="large"&&(Oe="small"),{level:Le,size:Oe}}y.exports?y.exports=s:(a=function(){return s}.call(l,e,l,y),a!==void 0&&(y.exports=a))})(Math)},75857:function(y){"use strict";function l(){var e=[],a=!1,n={},o=function(c){var d=e.indexOf(c);if(!(d<0)){if(a){n[d]=c;return}e.splice(d,1)}},t=function(c){var d=e.push(c),u=function(){return o(c)};return{dispose:u}},r=function(){for(var c=arguments.length,d=Array(c),u=0;u<c;u++)d[u]=arguments[u];a=!0;try{e.forEach(function(s,f){return n[f]||s.apply(void 0,d)})}finally{a=!1,Object.keys(n).forEach(function(s){return o(n[s])}),n={}}};return{publish:r,subscribe:t,$subscriptions:e}}y.exports=l},700236:function(y){y.exports=function(e){return e&&typeof e=="object"&&typeof e.copy=="function"&&typeof e.fill=="function"&&typeof e.readUInt8=="function"}},962601:function(y,l,e){var a=e(760636),n=/%[sdj%]/g;l.format=function(k){if(!P(k)){for(var ne=[],re=0;re<arguments.length;re++)ne.push(r(arguments[re]));return ne.join(" ")}for(var re=1,le=arguments,se=le.length,ae=String(k).replace(n,function(Pe){if(Pe==="%%")return"%";if(re>=se)return Pe;switch(Pe){case"%s":return String(le[re++]);case"%d":return Number(le[re++]);case"%j":try{return JSON.stringify(le[re++])}catch(ve){return"[Circular]"}default:return Pe}}),pe=le[re];re<se;pe=le[++re])C(pe)||!U(pe)?ae+=" "+pe:ae+=" "+r(pe);return ae},l.deprecate=function(k,ne){if(x(e.g.process))return function(){return l.deprecate(k,ne).apply(this,arguments)};if(a.noDeprecation===!0)return k;var re=!1;function le(){if(!re){if(a.throwDeprecation)throw new Error(ne);a.traceDeprecation?console.trace(ne):console.error(ne),re=!0}return k.apply(this,arguments)}return le};var o={},t;l.debuglog=function(k){if(x(t)&&(t=a.env.NODE_DEBUG||""),k=k.toUpperCase(),!o[k])if(new RegExp("\\b"+k+"\\b","i").test(t)){var ne=a.pid;o[k]=function(){var re=l.format.apply(l,arguments);console.error("%s %d: %s",k,ne,re)}}else o[k]=function(){};return o[k]};function r(k,ne){var re={seen:[],stylize:c};return arguments.length>=3&&(re.depth=arguments[2]),arguments.length>=4&&(re.colors=arguments[3]),b(ne)?re.showHidden=ne:ne&&l._extend(re,ne),x(re.showHidden)&&(re.showHidden=!1),x(re.depth)&&(re.depth=2),x(re.colors)&&(re.colors=!1),x(re.customInspect)&&(re.customInspect=!0),re.colors&&(re.stylize=i),u(re,k,re.depth)}l.inspect=r,r.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]},r.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function i(k,ne){var re=r.styles[ne];return re?"\x1B["+r.colors[re][0]+"m"+k+"\x1B["+r.colors[re][1]+"m":k}function c(k,ne){return k}function d(k){var ne={};
vendor: 4,110 bytes, line 81
81return k.forEach(function(re,le){ne[re]=!0}),ne}function u(k,ne,re){if(k.customInspect&&ne&&G(ne.inspect)&&ne.inspect!==l.inspect&&!(ne.constructor&&ne.constructor.prototype===ne)){var le=ne.inspect(re,k);return P(le)||(le=u(k,le,re)),le}var se=s(k,ne);if(se)return se;var ae=Object.keys(ne),pe=d(ae);if(k.showHidden&&(ae=Object.getOwnPropertyNames(ne)),$(ne)&&(ae.indexOf("message")>=0||ae.indexOf("description")>=0))return f(ne);if(ae.length===0){if(G(ne)){var Pe=ne.name?": "+ne.name:"";return k.stylize("[Function"+Pe+"]","special")}if(M(ne))return k.stylize(RegExp.prototype.toString.call(ne),"regexp");if(j(ne))return k.stylize(Date.prototype.toString.call(ne),"date");if($(ne))return f(ne)}var ve="",Me=!1,ht=["{","}"];if(m(ne)&&(Me=!0,ht=["[","]"]),G(ne)){var xt=ne.name?": "+ne.name:"";ve=" [Function"+xt+"]"}if(M(ne)&&(ve=" "+RegExp.prototype.toString.call(ne)),j(ne)&&(ve=" "+Date.prototype.toUTCString.call(ne)),$(ne)&&(ve=" "+f(ne)),ae.length===0&&(!Me||ne.length==0))return ht[0]+ve+ht[1];if(re<0)return M(ne)?k.stylize(RegExp.prototype.toString.call(ne),"regexp"):k.stylize("[Object]","special");k.seen.push(ne);var At;return Me?At=p(k,ne,re,pe,ae):At=ae.map(function(Bt){return v(k,ne,re,pe,Bt,Me)}),k.seen.pop(),g(At,ve,ht)}function s(k,ne){if(x(ne))return k.stylize("undefined","undefined");if(P(ne)){var re="'"+JSON.stringify(ne).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return k.stylize(re,"string")}if(_(ne))return k.stylize(""+ne,"number");if(b(ne))return k.stylize(""+ne,"boolean");if(C(ne))return k.stylize("null","null")}function f(k){return"["+Error.prototype.toString.call(k)+"]"}function p(k,ne,re,le,se){for(var ae=[],pe=0,Pe=ne.length;pe<Pe;++pe)X(ne,String(pe))?ae.push(v(k,ne,re,le,String(pe),!0)):ae.push("");return se.forEach(function(ve){ve.match(/^\d+$/)||ae.push(v(k,ne,re,le,ve,!0))}),ae}function v(k,ne,re,le,se,ae){var pe,Pe,ve;if(ve=Object.getOwnPropertyDescriptor(ne,se)||{value:ne[se]},ve.get?ve.set?Pe=k.stylize("[Getter/Setter]","special"):Pe=k.stylize("[Getter]","special"):ve.set&&(Pe=k.stylize("[Setter]","special")),X(le,se)||(pe="["+se+"]"),Pe||(k.seen.indexOf(ve.value)<0?(C(re)?Pe=u(k,ve.value,null):Pe=u(k,ve.value,re-1),Pe.indexOf("\n")>-1&&(ae?Pe=Pe.split("\n").map(function(Me){return"  "+Me}).join("\n").substr(2):Pe="\n"+Pe.split("\n").map(function(Me){return"   "+Me}).join("\n"))):Pe=k.stylize("[Circular]","special")),x(pe)){if(ae&&se.match(/^\d+$/))return Pe;pe=JSON.stringify(""+se),pe.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(pe=pe.substr(1,pe.length-2),pe=k.stylize(pe,"name")):(pe=pe.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),pe=k.stylize(pe,"string"))}return pe+": "+Pe}function g(k,ne,re){var le=0,se=k.reduce(function(ae,pe){return le++,pe.indexOf("\n")>=0&&le++,ae+pe.replace(/\u001b\[\d\d?m/g,"").length+1},0);return se>60?re[0]+(ne===""?"":ne+"\n ")+" "+k.join(",\n  ")+" "+re[1]:re[0]+ne+" "+k.join(", ")+" "+re[1]}function m(k){return Array.isArray(k)}l.isArray=m;function b(k){return typeof k=="boolean"}l.isBoolean=b;function C(k){return k===null}l.isNull=C;function A(k){return k==null}l.isNullOrUndefined=A;function _(k){return typeof k=="number"}l.isNumber=_;function P(k){return typeof k=="string"}l.isString=P;function T(k){return typeof k=="symbol"}l.isSymbol=T;function x(k){return k===void 0}l.isUndefined=x;function M(k){return U(k)&&ie(k)==="[object RegExp]"}l.isRegExp=M;function U(k){return typeof k=="object"&&k!==null}l.isObject=U;function j(k){return U(k)&&ie(k)==="[object Date]"}l.isDate=j;function $(k){return U(k)&&(ie(k)==="[object Error]"||k instanceof Error)}l.isError=$;function G(k){return typeof k=="function"}l.isFunction=G;function J(k){return k===null||typeof k=="boolean"||typeof k=="number"||typeof k=="string"||typeof k=="symbol"||typeof k=="undefined"}l.isPrimitive=J,l.isBuffer=e(700236);function ie(k){return Object.prototype.toString.call(k)}function W(k){return k<10?"0"+k.toString(10):k.toString(10)}var q=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function H(){var k=new Date,ne=[W(k.getHours()),W(k.getMinutes()),W(k.get
81Seconds())].join(":");return[k.getDate(),q[k.getMonth()],ne].join(" ")}l.log=function(){console.log("%s - %s",H(),l.format.apply(l,arguments))},l.inherits=e(387966),l._extend=function(k,ne){if(!ne||!U(ne))return k;for(var re=Object.keys(ne),le=re.length;le--;)k[re[le]]=ne[re[le]];return k};function X(k,ne){return Object.prototype.hasOwnProperty.call(k,ne)}},301314:function(y){"use strict";var l=function(){};y.exports=l},245090:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var a=e(63571),n="commerce-afterpay";function o(c){return e(88685)("./".concat(n,".").concat(c,".yaml"))}var t=(0,a.setupLibrary)(n,o),r=t.getI18nInstance,i=t.setI18nInstance;l.setI18nInstance=i,l.getI18nInstance=r},88685:function(y,l,e){var a={"./commerce-afterpay.en-US.yaml":19470,"src/main/webapp/frontend/packages/commerce-afterpay/sqs-i18n-translations/strings/commerce-afterpay.en-US.yaml":19470};function n(t){var r=o(t);return e(r)}function o(t){if(!e.o(a,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,y.exports=n,n.id=88685},358322:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var a=e(63571),n="commerce.utils";function o(c){return e(268449)("./".concat(n,".").concat(c,".yaml"))}var t=(0,a.setupLibrary)(n,o),r=t.getI18nInstance,i=t.setI18nInstance;l.setI18nInstance=i,l.getI18nInstance=r},268449:function(y,l,e){var a={"./commerce.utils.en-US.yaml":481708,"src/main/webapp/frontend/packages/commerce-utils/sqs-i18n-translations/strings/commerce.utils.en-US.yaml":481708};function n(t){var r=o(t);return e(r)}function o(t){if(!e.o(a,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,y.exports=n,n.id=268449},789204:function(y,l,e){"use strict";e.r(l),e.d(l,{TextAttributeId:function(){return qi},TextHighlightMarkClassName:function(){return Yr},TextShape:function(){return ga},scaleAllTextInNode:function(){return o}});var a=e(392338);function n(qe){if(qe){var He=qe.parentElement;if(He){var Re=Array.from(He.querySelectorAll(".sqsrte-scaled-text-container"));Re.forEach(function(De){De.classList.remove("loaded")}),Re.forEach(function(De){var $e=De.getBoundingClientRect().width,Je=De.querySelector(".sqsrte-scaled-text"),It=window.getComputedStyle(Je),Pt=It.fontSize,tn=parseFloat(Pt),kt=Je.getBoundingClientRect(),bn=kt.width,kn=$e/bn;Je.style.fontSize="".concat(Math.round(kn*tn*10)/10,"px"),De.classList.add("loaded")})}}}var o=n,t=e(858240),r=e.n(t),i=e(4636),c=e.n(i),d=e(346797),u=e.n(d),s=e(708380),f=e(749189),p=e(210750),v=e.n(p),g=e(569644),m=e.n(g),b=e(976003),C=e.n(b);function A(qe){return qe&&qe.constructor&&qe.constructor.name==="Object"}function _(qe,He){return!qe&&!He||Array.isArray(qe)&&Array.isArray(He)||A(qe)&&A(He)||typeof qe=="string"&&typeof He=="string"||!isNaN(qe)&&!isNaN(He)}
81function P(qe){var He=qe.newPointer,Re=qe.oldPointer,De=new Set;return He.forEach(function($e){Re.includes($e)||De.add($e)}),Array.isArray(Re)&&Re.forEach(function($e){He.includes($e)||De.add($e)}),Array.from(De)}function T(qe,He){var Re=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"";if(m()(qe)!=="object"||m()(He)!=="object")throw new Error("".concat(T.name," parameters must be Arrays or Objects, received: ").concat(qe," and ").concat(He));if(!C()(qe,He)){if(Array.isArray(qe)&&Array.isArray(He))return P({newPointer:qe,oldPointer:He});var De=Object.keys(qe),$e=De.map(function(It){var Pt=qe[It],tn=He[It];if(!_(Pt,tn))return"".concat(Re).concat(It);if(A(Pt)&&A(tn))return T(Pt,tn,"".concat(Re).concat(It,"."));if(Array.isArray(Pt)){if(C()(Pt,tn))return null;var kt=P({newPointer:Pt,oldPointer:tn});return"".concat(Re).concat(It,"[").concat(kt,"]")}return C()(Pt,tn)?null:"".concat(Re).concat(It)}).filter(function(It){return!!It}),Je=P({newPointer:Object.keys(qe),oldPointer:Object.keys(He)});return Je.forEach(function(It){$e.includes("".concat(Re).concat(It))||$e.push("".concat(Re).concat(It))}),$e.flat()}return[]}var x=T,M=e(721854),U=e.n(M),j=e(699467),$=e.n(j),G=e(506051),J=e.n(G),ie=e(375798),W=e.n(ie),q=function(He){return"<svg>".concat(He,"</svg>")},H=function(){var He=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"M0,0";return'<path d="'.concat(He,'" vector-effect="non-scaling-stroke" />')},X=function(He,Re){var De=Re[0]-He[0],$e=Re[1]-He[1];return{length:Math.sqrt(Math.pow(De,2)+Math.pow($e,2)),angle:Math.atan2($e,De)}},k=function(He,Re){return function(De,$e,Je,It){var Pt=$e||De,tn=Je||De,kt=He(Pt,tn),bn=kt.angle+(It?Math.PI:0),kn=kt.length*.5*Re,Ar=De[0]+Math.cos(bn)*kn,Ir=De[1]+Math.sin(bn)*kn;return[Ar,Ir]}},ne=function(He){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;return function(De,$e,Je){var It=W()(Je[$e-1],2),Pt=It[0],tn=It[1],kt=He(Je[$e-1],Je[$e-2],De),bn=He(De,Je[$e-1],Je[$e+1],!0),kn=Re&&$e===Je.length-1?" z":"";return"c ".concat(kt[0]-Pt,",").concat(kt[1]-tn," ").concat(bn[0]-Pt,",").concat(bn[1]-tn," ").concat(De[0]-Pt,",").concat(De[1]-tn).concat(kn)}},re=function(He,Re){var De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return He.reduce(function($e,Je,It,Pt){return It===0?De?"":"M ".concat(Je[0],",").concat(Je[1]):"".concat($e," ").concat(Re(Je,It,Pt))},"")};function le(qe,He){var Re=Object.keys(qe);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(qe);He&&(De=De.filter(function($e){return Object.getOwnPropertyDescriptor(qe,$e).enumerable})),Re.push.apply(Re,De)}return Re}function se(qe){for(var He=1;He<arguments.length;He++){var Re=arguments[He]!=null?arguments[He]:{};He%2?le(Object(Re),!0).forEach(function(De){u()(qe,De,Re[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(Re)):le(Object(Re)).forEac
81h(function(De){Object.defineProperty(qe,De,Object.getOwnPropertyDescriptor(Re,De))})}return qe}var ae=function(){function qe(He,Re){var De=this;r()(this,qe),u()(this,"node",document.createElement("svg")),u()(this,"paths",[]),u()(this,"pathsLen",[]),u()(this,"lastWidth",-1),u()(this,"lastHeight",-1),u()(this,"setRefs",function(){De.svg=De.container.querySelector("svg"),De.paths=Array.from(De.container.querySelectorAll("path"))});var $e=Re.uniforms;this.uniforms=se({progress:{value:-1}},$e),this.container=He}return c()(qe,[{key:"calculatePathLengths",value:function(){this.pathsLen=this.paths.map(function(Re){return Re.getTotalLength()})}},{key:"onSetSize",value:function(Re,De){}},{key:"onUpdate",value:function(){}},{key:"onDestroy",value:function(){}},{key:"setSize",value:function(Re,De){Re===this.lastWidth&&De===this.lastHeight||(this.onSetSize(Re,De),this.calculatePathLengths(),this.lastWidth=Re,this.lastHeight=De,this.update())}},{key:"update",value:function(){var Re=this,De=this.uniforms.progressDraw;this.paths.forEach(function($e,Je){var It=Math.ceil(Re.pathsLen[Je]);It&&($e.setAttribute("stroke-dasharray",It),$e.setAttribute("stroke-dashoffset",It*2+De.value*-It))}),this.onUpdate()}},{key:"destroy",value:function(){this.onDestroy(),this.node.remove()}}]),qe}();function pe(qe){var He=Pe();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function Pe(){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(qe){return!1}}var ve=function(qe){U()(Re,qe);var He=pe(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=Math.min($e*.2,10),Pt=Math.min(Je*.25,5),tn=$e+It*2,kt=Je+Pt*2,bn=["M".concat(-It+tn*.35,",").concat(-Pt+kt*.95),"C ".concat(-It+tn*.554,",").concat(-Pt+kt*.994," ").concat(-It+tn,",").concat(-Pt+kt*.94," ").concat(-It+tn,",").concat(-Pt+kt*.52),"C ".concat(-It+tn,",").concat(-Pt+kt*.165," ").concat(-It+tn*.706,",",0," ").concat(-It+tn*.496,",",0),"S ".concat(-It+tn*.01,",").concat(-Pt+kt*.165," ").concat(-It+tn*.01,",").concat(-Pt+kt*.508),"S ".concat(-It+tn*.241,",").concat(-Pt+kt*1.039," ").concat(-It+tn*.74,",").concat(-Pt+kt*.994)];this.paths[0].setAttribute("d",bn.join(" "))}}]),Re}(ae);function Me(qe){var He=ht();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function ht(){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(qe){return!1}}var xt=function(qe){U()(Re,qe);var He=Me(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.5)),De.innerHTML=q(H()+H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=this;this.paths.forEach(function(Pt,tn){var kt=Re.paths[tn].map(function(bn){return[bn[0]*$e,bn[1]*Je]});Pt.setAttribute("d",re(kt,It.bezierCalc))})}}]),Re}(ae);xt.paths=[[[0,1],[.5,.55],[1,.25]],[[0,.23],[.6,.6],[1,.9]]];function At(qe){var He=Bt();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function Bt(){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(qe){return!1}}var en=function(qe){U()(Re,qe);var He=At(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.7)),De.innerHTML=q(H()+H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=this;this.paths.forEach(function(Pt,tn){var kt=Re.paths[tn].map(function(bn){return[bn[0]*$e,bn[1]*Je]});Pt.setAttribute("d",re(kt,It.bezierCalc))})}}]),Re}(ae);en.paths=[[[0,.22],[.25,.21],[.5,.2],[.75,.21],[1,.24]],[[0,.92],[.25,.9],[.5,.88],[.75,.9],[1,.92]]];function Vt(qe){var He=be();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function be(){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(qe){return!1}}var Le=function(qe){U()(Re,qe);var He=Vt(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.5)),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=this.uniforms.fontSize.value,Pt=It*.25,tn=It*.12,kt=Math.floor($e/(Pt*.7)),bn=Je*.97,kn=[[0,bn],[Pt,bn-tn],[Pt*.7,bn]],Ar=re(kn,this.bezierCalc,!0);this.paths[0].setAttribute("d","M0,".concat(bn," ").concat(Ar.repeat(kt)))}}]),Re}(ae);function Oe(qe){var He=yt();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function yt(){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(qe){return!1}}var wt=function(qe){U()(Re,qe);var He=Oe(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.3)),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=Re.path.map(function(Pt){return[Pt[0]*$e,Pt[1]*Je]});this.paths[0].setAttribute("d",re(It,this.bezierCalc))}}]),Re}(ae);wt.path=[[0,.88],[.5,.85],[1,.9],[.6,.85],[.1,.95],[.5,.93],[.8,.95],[.5,1],[.3,1]];function Lt(qe){var He=jt();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function jt(){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(qe){return!1}}var Xe=function(qe){U()(Re,qe);var He=Lt(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.5)),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=Re.paths[0].map(function(Pt){return[Pt[0]*$e,Pt[1]*Je]});this.paths[0].setAttribute("d",re(It,this.bezierCalc))}}]),Re}(ae);Xe.paths=[[[0,.55],[.5,.55],[1,.55]]];function zt(qe){var He=nn();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function nn(){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(qe){return!1}}var st=function(qe){U()(Re,qe);var He=zt(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.5)),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=Re.paths[0].map(function(Pt){return[Pt[0]*$e,Pt[1]*Je]});this.paths[0].setAttribute("d",re(It,this.bezierCalc))}}]),Re}(ae);st.paths=[[[0,.33],[.6,.6],[1,.88]]];function Ut(qe){var He=Jt();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}
81function Jt(){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(qe){return!1}}var on=function(qe){U()(Re,qe);var He=Ut(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){this.paths[0].setAttribute("d","M0,".concat(Je*.9," L").concat($e,",").concat(Je*.9))}}]),Re}(ae);function ln(qe){var He=te();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function te(){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(qe){return!1}}var Ee=function(qe){U()(Re,qe);var He=ln(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=[[0,Je*.99],[$e*.5,Je*.88],[$e,Je*.89],[$e*.98,Je*.92]],Pt=[.5,.5,.5,.1],tn=function(bn,kn,Ar){var Ir=k(X,Pt[kn]),qr=W()(Ar[kn-1],2),ni=qr[0],Vr=qr[1],zr=Ir(Ar[kn-1],Ar[kn-2],bn),ui=Ir(bn,Ar[kn-1],Ar[kn+1],!0);return"c ".concat(zr[0]-ni,",").concat(zr[1]-Vr," ").concat(ui[0]-ni,",").concat(ui[1]-Vr," ").concat(bn[0]-ni,",").concat(bn[1]-Vr)};this.paths[0].setAttribute("d",re(It,tn))}}]),Re}(ae);function Ue(qe){var He=ze();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function ze(){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(qe){return!1}}var Ve=function(qe){U()(Re,qe);var He=Ue(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.5)),De.innerHTML=q(H()+H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=this;this.paths.forEach(function(Pt,tn){var kt=Re.paths[tn].map(function(bn){return[bn[0]*$e,bn[1]*Je]});Pt.setAttribute("d",re(kt,It.bezierCalc))})}}]),Re}(ae);Ve.paths=[[[0,.9],[.5,.9],[1,.9]],[[0,1],[.5,1],[1,1]]];var fe=e(603912),We=e.n(fe);function tt(qe){var He=St();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function St(){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(qe){return!1}}var Gt=function(qe){U()(Re,qe);var He=tt(Re);function Re(De,$e){var Je;return r()(this,Re),Je=He.call(this,De,$e),Je.bezierCalc=ne(k(X,.5)),De.innerHTML=q(H()),Je.setRefs(),Je}return c()(Re,[{key:"onSetSize",value:function($e,Je){var It=this.uniforms.fontSize.value,Pt=It*.25,tn=It*.15,kt=Math.ceil($e/Pt)+1,bn=Je*.97,kn=We()(Array(kt)).map(function(Ar,Ir){return[Ir*Pt,Ir%2===0?bn:bn-tn]});this.paths[0].setAttribute("d",re(kn,this.bezierCalc))}}]),Re}(ae),Zt={circle:ve,cross:xt,enclose:en,jagged:Le,marker:Xe,scribble:wt,strike:Xe,strikeDiagonal:st,underline:on,underlineCurve:Ee,underlineDouble:Ve,wave:Gt},Un=Object.keys(Zt),Yt=Zt,jn=function(He,Re){for(var De in Re)He.setProperty(De,Re[De])},kr=function(He){return{left:He.left,right:He.right,top:He.top,bottom:He.bottom,x:He.x,y:He.y,width:Math.max(0,Math.round(He.width)),height:Math.max(0,Math.round(He.height))}},Jr=function(He){for(;He&&He.nodeType!==Node.ELEMENT_NODE;)He=He.parentNode;return He};function Tr(qe,He){var Re=Object.keys(qe);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(qe);He&&(De=De.filter(function($e){return Object.getOwnPropertyDescriptor(qe,$e).enumerable})),Re.push.apply(Re,De)}return Re}function Or(qe){for(var He=1;He<arguments.length;He++){var Re=arguments[He]!=null?arguments[He]:{};
81He%2?Tr(Object(Re),!0).forEach(function(De){u()(qe,De,Re[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(Re)):Tr(Object(Re)).forEach(function(De){Object.defineProperty(qe,De,Object.getOwnPropertyDescriptor(Re,De))})}return qe}var or=function(){function qe(He,Re){r()(this,qe),u()(this,"currentShapeType",null),this.state=Or(Or({},qe.defaultState),Re),this.uniforms=Or({thickness:{value:.1}},Re.uniforms),this.container=He,this.node=document.createElement("div"),this.node.className="TextShape-node",this.onUpdateState(),this.container.appendChild(this.node),this.update()}return c()(qe,[{key:"onUpdateState",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.state=Or(Or({},this.state),Re);var De=this.state,$e=De.id,Je=De.isFront,It=De.shape,Pt=De.color,tn=De.thickness,kt=De.linecap,bn=De.fontSize,kn=De.blend,Ar=De.opacity;this.node.dataset.textAttributeId=$e,this.node.dataset.shape=It,this.node.dataset.fontSize=bn,this.node.dataset.isFront=Je,Object.assign(this.node.style,{fontSize:"".concat(bn,"px")}),this.uniforms.fontSize.value=bn,this.uniforms.thickness.value=tn.unit==="em"?bn*parseFloat(tn.value):tn.value,jn(this.node.style,{"--stroke":Pt,"--stroke-width":"".concat(tn.value).concat(tn.unit),"--stroke-linecap":kt,"--stroke-linejoin":kt==="round"?"round":"bevel","--blend":kn,"--opacity":Ar}),It!==this.currentShapeType&&this.createShape(It)}},{key:"createShape",value:function(Re){this.shape&&this.shape.destroy(),this.currentShapeType=Re,this.shape=Yt[Re]?new Yt[Re](this.node,{uniforms:this.uniforms}):null}},{key:"setSizeAndPosition",value:function(Re,De,$e){var Je=1/$e,It=this.uniforms.thickness.value-this.uniforms.fontSize.value*.25,Pt=Math.round(Re.width*Je-It),tn=Math.round(Re.height*Je),kt=Re.x*Je,bn=Re.y*Je,kn=De.x*Je,Ar=De.y*Je;this.node.dataset.index=Re.index,Object.assign(this.node.style,{width:"".concat(Pt,"px"),height:"".concat(tn,"px"),left:"".concat(Math.round(kt-kn+It*.5),"px"),top:"".concat(Math.round(bn-Ar),"px")}),this.shape&&this.shape.setSize(Pt,tn)}},{key:"update",value:function(){var Re=this.state.animation,De=this.uniforms.progressReveal,$e=Re==="fadeScale"?.5+De.value*.5:1;this.node.style.opacity=De.value,this.node.style.transform="scale(".concat($e,")"),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}}]),qe}();or.defaultState={};var bi=e(860921),zi=e.n(bi),aa=e(700436),oa=e.n(aa),Gi=e(177928),Wi=e.n(Gi);function Ae(qe,He){var Re=Object.keys(qe);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(qe);He&&(De=De.filter(function($e){return Object.getOwnPropertyDescriptor(qe,$e).enumerable})),Re.push.apply(Re,De)}return Re}function Pn(qe){for(var He=1;He<arguments.length;He++){var Re=arguments[He]!=null?arguments[He]:{};He%2?Ae(Object(Re),!0).forEach(function(De){u()(qe,De,Re[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(Re)):Ae(Object(Re)).forEac
81h(function(De){Object.defineProperty(qe,De,Object.getOwnPropertyDescriptor(Re,De))})}return qe}var Ii=function(){function qe(He){var Re=this;r()(this,qe),u()(this,"setState",function(De){Re.state=Pn(Pn({},Re.state),De)}),this.props=Pn(Pn({},this.constructor.defaultProps),He),this.state=Pn(Pn({},this.constructor.defaultState),this.constructor.state),window.Y&&window.Y.Global&&window.Y.Global.after("frame:device:change",this.flushResizeOnDeviceChange,this)}return c()(qe,[{key:"flushResizeOnDeviceChange",value:function(){this.onResize&&this.onResize.flush&&this.onResize.flush()}},{key:"destroy",value:function(){window.Y&&window.Y.Global&&window.Y.Global.detach("frame:device:change",this.flushResizeOnDeviceChange,this)}}]),qe}();u()(Ii,"defaultProps",{}),u()(Ii,"defaultState",{});var Hr=function(He,Re,De){return He*(1-De)+Re*De},sa=null,vn=function(He){return He*He},Br=function(He){var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,De=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,$e=arguments.length>3&&arguments[3]!==void 0?arguments[3]:1;return-De*(He/=$e)*(He-2)+Re},Oi=function(He){return He<.5?2*He*He:-1+(4-2*He)*He};function Zi(qe){var He=wi();return function(){var De=J()(qe),$e;if(He){var Je=J()(this).constructor;$e=Reflect.construct(De,arguments,Je)}else $e=De.apply(this,arguments);return $()(this,$e)}}function wi(){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(qe){return!1}}var Ri=function(qe){U()(Re,qe);var He=Zi(Re);function Re(De){var $e;r()(this,Re),$e=He.call(this,De),u()(Wi()($e),"tick",function(){var It=$e.props,Pt=It.ease,tn=It.from,kt=It.to,bn=It.duration,kn=It.onUpdate,Ar=It.onComplete,Ir=Date.now()-$e.lastUpdate;if($e.lastUpdate+=Ir,$e.time=($e.lastUpdate-$e.startTime)/1e3,$e.time>bn&&($e.time=bn),kn(Hr(tn,kt,Pt($e.time/bn))),$e.time>=bn){Ar(kt);return}$e.frame=requestAnimationFrame($e.tick)});var Je=$e.props.autoStart;return $e.state={isActive:!1},$e.startTime=null,$e.lastUpdate=null,$e.frame=null,Je&&$e.start(),$e}return c()(Re,[{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)}}]),Re}(Ii);u()(Ri,"defaultProps",{autoStart:!0,ease:Br,duration:1,from:0,to:0,onUpdate:zi(),onComplete:zi()});function pr(qe,He){var Re=Object.keys(qe);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(qe);He&&(De=De.filter(function($e){return Object.getOwnPropertyDescriptor(qe,$e).enumerable})),Re.push.apply(Re,De)}return Re}function jr(qe){for(var He=1;He<arguments.length;He++){var Re=arguments[He]!=null?arguments[He]:{};He%2?pr(Object(Re),!0).forEach(function(De){u()(qe,De,Re[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(Re)):pr(Object(Re)).forEac
81h(function(De){Object.defineProperty(qe,De,Object.getOwnPropertyDescriptor(Re,De))})}return qe}var fr=function(){function qe(He,Re){var De=this;r()(this,qe),u()(this,"timeout",{ready:null}),u()(this,"tween",null),u()(this,"initAnimation",function(){De.animateTo(0)}),u()(this,"onUpdateDraw",function(Pt){var tn=De.props.onUpdate;De.uniforms.progressDraw.value=Pt,tn()}),u()(this,"onUpdateReveal",function(Pt){var tn=De.props.onUpdate;De.uniforms.progressReveal.value=Pt,tn()}),u()(this,"onAnimationComplete",function(){}),this.props=jr(jr({},qe.defaultProps),Re);var $e=this.props,Je=$e.uniforms,It=$e.config;this.node=He,this.config=jr({isAnimationEnabled:!1,animation:"draw",direction:"right",duration:1},It),this.uniforms=jr({progressDraw:{value:-1}},Je),this.reset()}return c()(qe,[{key:"setConfig",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},De=jr(jr({},this.config),Re),$e=x(this.config,De);$e.length&&(this.config=jr({},De))}},{key:"ready",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:250,De=this.props.onUpdate;this.reset(),De(),this.timeout.ready=setTimeout(this.initAnimation,Re)}},{key:"setInitialState",value:function(){var Re=this.config,De=Re.isAnimationEnabled,$e=Re.animation,Je=Re.direction;if(De&&$e==="draw"){this.uniforms.progressReveal.value=1,this.uniforms.progressDraw.value=Je==="right"?-1:1;return}if(De&&($e==="fade"||$e==="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 Re=this.props.onUpdate;clearTimeout(this.timeout.ready),this.destroyTween(),this.setInitialState(),Re()}},{key:"animateTo",value:function(Re){var De=this.config,$e=De.animation,Je=De.duration;if(this.destroyTween(),$e==="draw"){var It=oa()(Math.abs(this.uniforms.progressDraw.value-Re),.2,1);this.tween=new Ri({duration:Je*It,from:this.uniforms.progressDraw.value,to:Re,onUpdate:this.onUpdateDraw,onComplete:this.onAnimationComplete});return}var Pt=1-Math.abs(Re),tn=oa()(Math.abs(this.uniforms.progressReveal.value-Pt),.2,1);this.tween=new Ri({duration:Je*tn,from:this.uniforms.progressReveal.value,to:Pt,onUpdate:this.onUpdateReveal,onComplete:this.onAnimationComplete})}},{key:"destroyTween",value:function(){this.tween&&(this.tween.destroy(),this.tween=null)}},{key:"destroy",value:function(){var Re;this.destroyTween(),(Re=this.timeout)!==null&&Re!==void 0&&Re.ready&&clearTimeout(this.timeout.ready)}}]),qe}();fr.defaultProps={config:{},onUpdate:zi(),uniforms:{}};var Ca=e(24115),Ji=function(He){for(var Re=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,De=[],$e=document.createTreeWalker(He,NodeFilter.SHOW_TEXT,null,!1),Je;Je=$e.nextNode();)Re&&!Je.parentNode.closest(Re)&&De.push(Je);return De};function _i(qe){var He=Array.from(qe.getClientRects());return He.map(kr)}function oi(qe,He){return He.reduce(function(Re,De){return We()(De.textContent.matchAll(/ /g)).forEach(function($e){qe.setStart(De,$e.index),qe.setEnd(De,$e.index+1),Re.push(kr(qe.getBoundingClientRect()))}),Re},[])}function sn(qe){var He=Jr(qe.commonAncestorContainer),Re=He.closest(".catalog-entry-container");if(!Re)return 1;var De=window.getComputedStyle(Re),$e=new DOMMatrix(De.transform),Je=$e.a||1;return Je}var pa=function(He,Re){var De=He.reduce(function(Je,It){var Pt=Je.rows[Je.rowIndex];return(!Pt||Pt.y!==It.y&&(Pt.y<It.y||Pt.y+Pt.height>It.y+It.height)&&Math.abs(Pt.endX-It.x)>1)&&(Je.rowIndex+=1,Je.rows[Je.rowIndex]={left:It.left,right:It.right,top:It.top,bottom:It.bottom,x:It.x,endX:It.x,y:It.y,width:0,height:It.height},Pt=Je.rows[Je.rowIndex]),Pt.endX=Math.max(Pt.endX,It.right),Pt.width=Math.max(0,Pt.endX-Pt.x),Je},{rowIndex:-1,rows:[]}
81),$e=De.rows;return $e.sort(function(Je,It){return It.width-Je.width}).sort(function(Je,It){return It.y-Je.y}),$e=$e.reduce(function(Je,It){if(Je.length){var Pt=Je[Je.length-1];if(It.y===Pt.y&&It.x===Pt.x||It.y===Pt.y&&It.endX===Pt.endX)return Je}var tn=Re.findIndex(function(kt){return It.endX===kt.right&&It.y===kt.y});return~tn&&(It.width-=Re[tn].width),Je.push(It),Je},[]),$e},Yi=function(He){if(!He||!He.length)return[];var Re=document.createRange();Re.setStart(He[0],0),Re.setEnd(He[He.length-1],He[He.length-1].length);var De=_i(Re),$e=sn(Re),Je=oi(Re,He),It=pa(De,Je);return Re.detach(),{scale:$e,rowRects:It.reverse().map(function(Pt,tn){return Pt.index=tn,Pt})}};function si(qe,He){var Re=Object.keys(qe);if(Object.getOwnPropertySymbols){var De=Object.getOwnPropertySymbols(qe);He&&(De=De.filter(function($e){return Object.getOwnPropertyDescriptor(qe,$e).enumerable})),Re.push.apply(Re,De)}return Re}function Kr(qe){for(var He=1;He<arguments.length;He++){var Re=arguments[He]!=null?arguments[He]:{};He%2?si(Object(Re),!0).forEach(function(De){u()(qe,De,Re[De])}):Object.getOwnPropertyDescriptors?Object.defineProperties(qe,Object.getOwnPropertyDescriptors(Re)):si(Object(Re)).forEac
81h(function(De){Object.defineProperty(qe,De,Object.getOwnPropertyDescriptor(Re,De))})}return qe}var ki=function(){function qe(He,Re,De){var $e=this;r()(this,qe),u()(this,"textNodes",[]),u()(this,"rowsPool",[]),u()(this,"intersectionScroll",null),u()(this,"uniforms",{progressReveal:{value:-1},progressDraw:{value:0},fontSize:{value:1}}),u()(this,"rAFID",null),u()(this,"timeoutGlobalAnimation",null),u()(this,"isTickingGlobalAnimation",!1),u()(this,"prefersReducedMotion",!0),u()(this,"_onMutation",function(){$e.isDestroyed||$e.onResized()}),u()(this,"onResized",function(){$e.isDestroyed||($e.refreshFontSize(),$e.refreshRows())}),u()(this,"onPrefersReducedMotionChange",function(Ir){$e.prefersReducedMotion=!Ir.matches}),u()(this,"onIntersection",function(Ir){Ir&&(parseInt(window.getComputedStyle($e.parentNode).opacity)&&$e.animation.ready(0),$e.destroyIntersectionScroll())}),u()(this,"onGlobalAnimationStart",function(){$e.onResized(),$e.startGlobalAnimationWatch()}),u()(this,"onGlobalAnimationEnd",function(){$e.onResized()}),u()(this,"tickSyncGlobalAnimation",function(){$e.onResized(),$e.isTickingGlobalAnimation&&($e.rAFID=requestAnimationFrame($e.tickSyncGlobalAnimation))}),u()(this,"update",function(){$e.rowsPool.forEach(function(Ir){return Ir.update()})}),this.node=He;var Je={};try{var It=this.node.dataset.textAttributeId,Pt=Re;Je=Pt[It]||{}}catch(Ir){}this.prefersReducedMotion=!window.matchMedia("(prefers-reduced-motion: no-preference)").matches,this.state=this.getStateFromProps(Kr(Kr({},Je),{},{isAnimationEnabled:!this.prefersReducedMotion&&Je.isAnimationEnabled})),this.container=De||this.node.closest("div"),this.parentNode=this.node.closest("h1, h2, h3, h4, h5, h6, p, div, pre"),this.onMutation=v()(this._onMutation,10),Object.assign(this.container.style,{position:"relative",zIndex:0}),this.bindListeners();var tn=this.state,kt=tn.isAnimationEnabled,bn=tn.animation,kn=tn.direction,Ar=tn.duration;this.animation=new fr(this.node,{uniforms:this.uniforms,onUpdate:this.update,config:{isAnimationEnabled:kt,animation:bn,direction:kn,duration:Ar}})}return c()(qe,[{key:"getStateFromProps",value:function(){var Re=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},De=Kr(Kr({},qe.defaultState),Re);
81return typeof De.duration=="string"&&(De.duration=parseInt(De.duration,10)),De}},{key:"onStateChange",value:function(){var Re=this,De=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},$e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,Je=this.getStateFromProps(Kr(Kr({},this.state),De)),It=x(this.state,Je);if(this.state=Kr(Kr({},this.state),Je),this.rowsPool.forEach(function(Ar){return Ar.onUpdateState(Re.state)}),!(!$e||!It.length)){var Pt=this.state,tn=Pt.isAnimationEnabled,kt=Pt.animation,bn=Pt.direction,kn=Pt.duration;this.animation.setConfig({isAnimationEnabled:tn,animation:kt,direction:bn,duration:kn}),Da(It)&&this.animation.ready(0),this.onMutation()}}},{key:"bindListeners",value:function(){s.default.on(this.onResized,0),this.intersectionScroll=new f.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),s.default.off(this.onResized),this.mediaQueryList.removeEventListener?this.mediaQueryList.removeEventListener("change",this.onPrefersReducedMotionChange):this.mediaQueryList.removeListener(this.onPrefersReducedMotionChange)}},{key:"startGlobalAnimationWatch",value:function(){var Re=this;clearTimeout(this.timeoutGlobalAnimation),this.timeoutGlobalAnimation=setTimeout(function(){Re.isTickingGlobalAnimation=!1},2e3),!this.isTickingGlobalAnimation&&(this.animation.ready(0),this.isTickingGlobalAnimation=!0,this.rAFID=requestAnimationFrame(this.tickSyncGlobalAnimation))}},{key:"refreshFontSize",value:function(){var Re=window.getComputedStyle(this.node),De=parseInt(Re.fontSize);Number.isNaN(De)||this.onStateChange({fontSize:De},!1)}},{key:"refreshTextNodes",value:function(){var Re=this.node.ownerDocument;if(!Re.contains(this.node)){var De=this.container.getAttribute("id"),$e=this.node.getAttribute("data-text-attribute-id"),Je=Re.querySelector('[id="'.concat(De,'"]')),It=Je&&Je.querySelector('.sqsrte-text-highlight[data-text-attribute-id="'.concat($e,'"]'));It&&(this.container=Je,this.node=It)}this.textNodes=Ji(this.node,".TextShape-node")}},{key:"refreshRows",value:function(){this.refreshTextNodes();var Re=this.container.getBoundingClientRect(),De=Yi(this.textNodes),$e=De.rowRects,Je=De.scale,It=this.rowsPool.splice($e.length);It.forEach(function(kn){return kn.destroy()});for(var Pt=0,tn=$e.length;Pt<tn;Pt+=1){var kt=$e[Pt],bn=this.rowsPool[Pt]||new or(this.container,Kr(Kr({},this.state),{},{uniforms:this.uniforms}));this.rowsPool[Pt]=bn,bn.setSizeAndPosition(kt,Re,Je)}}},{key:"destroyIntersectionScroll",value:function(){this.intersectionScroll&&(this.intersectionScroll.destroy(),this.intersectionScroll=null)}},{key:"destroy",value:function(){this.isDestroyed=!0,this.unbindListeners(),this.animation.destroy(),this.onMutation.cancel(),this.rowsPool.forEach(function(Re){return Re.destroy()}),clearTimeout(this.timeoutGlobalAnimation),cancelAnimationFrame(this.rAFID),delete this.rowsPool,delete this.node,delete this.state,delete this.animation}}]),qe}();ki.ANIMATION_CHANGE_PROPS=["shape","isAnimationEnabled","animation","duration","direction"];function Da(qe){return qe.some(function(He){return ki.ANIMATION_CHANGE_PROPS.includes(He)})}ki.defaultState={fontSize:12,isFront:!0,isAnimationEnabled:!1,animation:"draw",duration:.75,direction:"right",color:"currentcolor",shape:"wave",thickness:{unit:"em",value:.06},linecap:"square",blend:"none"};var ga=ki,qi="data-text-attribute-id",Yr="sqsrte-text-highlight"},981491:function(y,l,e){"use strict";e.r(l),e.d(l,{getDomain:function(){return o},isDev:function(){return c},isInternal:function(){return t},isQA:function(){return i},isStage:function(){return r}});var a=e(392338),n=e.n(a),o=function(){var u,s,f,p,v,g=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;if(typeof g=="string"){var m=new URL(g);return m.hostname}return(u=(s=(f=g.Static)===null||f===void 0||(p=f.SQUARESPACE_CONTEXT)===null||p===void 0?void 0:p.appDomain)!==null&&s!==void 0?s:(v=g.location)===null||v===void 0?void 0:v.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(o(u))},r=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/stage\.(sqsp|squarespace)\.net$/.test(o(u))},i=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/qa[0-9]+\.(sqsp|squarespace)\.net$/.test(o(u))},c=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return/dev\.(sqsp|squarespace)\.net$/.test(o(u))}},542411:function(y,l,e){"use strict";e.r(l),e.d(l,{getDetails:function(){return p},getPlacePredictions:function(){return f}});var a=e(392338),n=e.n(a),o=e(346797),t=e.n(o),r=e(808847);function i(v,g){var m=Object.keys(v);if(Object.getOwnPropertySymbols){var b=Object.getOwnPropertySymbols(v);g&&(b=b.filter(function(C){return Object.getOwnPropertyDescriptor(v,C).enumerable})),m.push.apply(m,b)}return m}function c(v){for(var g=1;g<arguments.length;g++){var m=arguments[g]!=null?arguments[g]:{};
81g%2?i(Object(m),!0).forEach(function(b){t()(v,b,m[b])}):Object.getOwnPropertyDescriptors?Object.defineProperties(v,Object.getOwnPropertyDescriptors(m)):i(Object(m)).forEach(function(b){Object.defineProperty(v,b,Object.getOwnPropertyDescriptor(m,b))})}return v}var d="/api/google-maps/places/autocomplete",u="/api/google-maps/places/details",s=function(g,m){},f=function(g,m){return s(g,m),r.default.get(d,{params:c(c({},m),g)})},p=function(g,m){return s(g,m),(!m||!m.productPage||!m.productSection)&&console.error("Please provide a tracking context when using Google Places API details to track cost"),r.default.get(u,{params:c(c({},m),g)})}},963327:function(y,l,e){"use strict";e.r(l),e.d(l,{RECAPTCHA_RENDER_TYPE:function(){return f},destroy:function(){return T},execute:function(){return C},executeFirst:function(){return b},getCaptchaContainer:function(){return P},getSiteKey:function(){return s},loadReCaptcha:function(){return p},render:function(){return v},renderAll:function(){return g},reset:function(){return A},resetFirst:function(){return _},validate:function(){return m}});var a=e(392338),n=e.n(a),o=e(346797),t=e.n(o),r=e(39994);function i(x,M){var U=Object.keys(x);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(x);M&&(j=j.filter(function($){return Object.getOwnPropertyDescriptor(x,$).enumerable})),U.push.apply(U,j)}return U}function c(x){for(var M=1;M<arguments.length;M++){var U=arguments[M]!=null?arguments[M]:{};M%2?i(Object(U),!0).forEach(function(j){t()(x,j,U[j])}):Object.getOwnPropertyDescriptors?Object.defineProperties(x,Object.getOwnPropertyDescriptors(U)):i(Object(U)).forEach(function(j){Object.defineProperty(x,j,Object.getOwnPropertyDescriptor(U,j))})}return x}var d="https://www.google.com/recaptcha/api.js?onload=__grecaptchaOnLoadCallback&render=",u="data-id",s=function(M){var U,j,$,G;return M==null||(U=M.Static)===null||U===void 0||(j=U.SQUARESPACE_CONTEXT)===null||j===void 0||($=j.website)===null||$===void 0||(G=$.captchaSettings)===null||G===void 0?void 0:G.siteKey},f;(function(x){x.EXPLICIT="explicit",x.ONLOAD="onload"})(f||(f={}));function p(x){var M=arguments.length>1&&arguments[1]!==void 0?arguments[1]:f.EXPLICIT,U='script[src*="https://www.google.com/recaptcha/enterprise.js"]',j=x.document.querySelector(U);if(j){j.remove();var $=x.document.querySelector("#forms-grecaptcha-badge-style"),G=x.document.querySelector(".grecaptcha-badge");$==null||$.remove(),G==null||G.remove()}else if(x.__grecaptchaOnLoadPromise)return x.__grecaptchaOnLoadPromise;return x.__grecaptchaOnLoadPromise=new Promise(function(J,ie){x.__grecaptchaOnLoadCallback=function(){return J()},x.document?(0,r.Z)(d+M,{doc:x.document}).catch(ie):ie("[GoogleReCaptchaAPI] Document was destroyed")}),x.__grecaptchaOnLoadPromise}function v(x,M){var U=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},j=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{customSiteKey:""},$=j.customSiteKey||s(x);if($)return p(x).then(function(){var G;if(!M||M.getAttribute(u)||x.document!==M.ownerDocument||!(M!=null&&(G=M.ownerDocument)!==null&&G!==void 0&&G.defaultView)||!x.grecaptcha){console.error("Error rendering captcha into node",{node:M});return}var J=M.clientWidth<320?"compact":"normal",ie=x.grecaptcha.render(M,c({sitekey:$,size:J},U),!0);M.setAttribute(u,"".concat(ie)),M.classList.add("rendered")})}function g(x){if(x.document){var M=x.document.querySelectorAll(".captcha-container:not('.rendered')");Array.from(M).forEach(function(U){return v(x,U)})}}function m(x,M){var U=M.getAttribute(u);if(!(!U||!x.grecaptcha))return x.grecaptcha.getResponse(parseFloat(U))}function b(x){return x.grecaptcha?Promise.resolve(x.grecaptcha.execute()):Promise.reject({error:"ReCaptcha has not been set up!"})}function C(x,M){var U=M.getAttribute(u);return U?x.grecaptcha?Promise.resolve(x.grecaptcha.execute(parseFloat(U))):Promise.reject({error:"ReCaptcha has not been set up!"}):Promise.resolve()}function A(x,M){var U=M.getAttribute(u);!U||!x.grecaptcha||x.grecaptcha.reset(parseFloat(U))}function _(x){x&&x.grecaptcha&&x.grecaptcha.reset()}function P(x,M){var U=M.querySelector(".captcha-container");return s(x)?U:null}function T(x){for(;x.firstChild;)x.removeChild(x.firstChild);x.removeAttribute(u)}},204482:function(y,l,e){"use strict";e.r(l),e.d(l,{hasShiftModifierKey:function(){return H},isAlphanumericKey:function(){return J},isArrowDownKey:function(){return _},isArrowLeftKey:function(){return T},isArrowRightKey:function(){return x},isArrowUpKey:function(){return P},isBackspaceKey:function(){return U},isCommaKey:function(){return ie},isDeleteKey:function(){return j},isEnterKey:function(){return M},isEscapeKey:function(){return $},isNumericKey:function(){return G},isSlashKey:function(){return q},isSpaceBar:function(){return W},isTabKey:function(){return C},isTabKeyWithShift:function(){return A}});var a=9,n=13,o=38,t=40,r=37,i=39,c=8,d=46,u=48,s=57,f=65,p=90,v=27,g=188,m=191,b=32,C=function(k){return k.keyCode===a&&!k.shiftKey}
81,A=function(k){return k.keyCode===a&&k.shiftKey},_=function(k){return k.keyCode===t},P=function(k){return k.keyCode===o},T=function(k){return k.keyCode===r},x=function(k){return k.keyCode===i},M=function(k){var ne=k.keyCode;return ne===n},U=function(k){var ne=k.keyCode;return ne===c},j=function(k){var ne=k.keyCode;return ne===d},$=function(k){var ne=k.keyCode;return ne===v},G=function(k){var ne=k.keyCode;return u<=ne&&ne<=s},J=function(k){var ne=k.keyCode;return G(k)||f<=ne&&ne<=p},ie=function(k){var ne=k.keyCode;return ne===g},W=function(k){var ne=k.keyCode;return ne===b},q=function(k){var ne=k.keyCode;return ne===m},H=function(k){var ne=k.shiftKey;return ne}},723796:function(y,l,e){"use strict";e.d(l,{$S:function(){return s},Em:function(){return m},FB:function(){return u},TT:function(){return f},g$:function(){return d},hu:function(){return c},sS:function(){return p}});var a=e(603912),n=e.n(a),o=e(860921),t=e.n(o),r=e(392338),i=e.n(r),c=function(C,A){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return _?console.log.bind(console,"%c[".concat(C,"] %c"),"color: ".concat(A,"; font-weight: 300;"),"color: #000; font-weight: 400;"):t()},d=function(C,A){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;return _?console.debug.bind(console,"%c[".concat(C,"] %c"),"color: ".concat(A,"; font-weight: 300;"),"color: #000; font-weight: 400;"):t()},u=function(C){return console.warn.bind(console,"[".concat(C,"]"))},s=function(C){return function(){console.error.bind(console,"[".concat(C,"]")).apply(void 0,arguments)}},f=function(C,A){var _,P=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],T=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return T?(_=console.groupCollapsed).bind.apply(_,[console,C,"color: ".concat(A,"; font-weight: 300;")].concat(n()(P))):t()},p=function(C,A){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[],P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:!1;return{group:f(C,A,_,P),groupEnd:function(){return console.groupEnd()}}},v={createLogger:c,createDebugLogger:d,createWarningLogger:u,createGroupCollapsed:f,createGroup:p,createErrorLogger:s},g=function(C,A){var _=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,P=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"";return{debug:d(C,A,_),err:s(C),log:c(C,A,_),warn:u(C)}},m=Object.assign(g,v)},777868:function(y,l,e){"use strict";var a=e(392338),n=e.n(a),o=e(858240),t=e.n(o),r=e(4636),i=e.n(r),c=e(721854),d=e.n(c),u=e(699467),s=e.n(u),f=e(506051),p=e.n(f),v=e(852156),g=e.n(v);function m(A){var _=b();return function(){var T=p()(A),x;if(_){var M=p()(this).constructor;x=Reflect.construct(T,arguments,M)}else x=T.apply(this,arguments);return s()(this,x)}}function b(){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}}var C=function(A){d()(P,A);var _=m(P);function P(T){var x;return t()(this,P),x=_.call(this),x.name="NotFoundError",x.path=T,x}return i()(P,[{key:"getPath",value:function(){return this.path}}]),P}(g()(Error));l.Z=C},26018:function(y,l,e){"use strict";e.r(l),e.d(l,{EnvUtils:function(){return H},FullStory:function(){return t},GooglePlacesAPI:function(){return J},GoogleReCaptchaAPI:function(){return G},Keyboard:function(){return q},Mouse:function(){return n},MultilingualAPI:function(){return j},NotFoundError:function(){return St.Z},PositionPropTypes:function(){return tt},SetDragEffect:function(){return Pe.Z},SiteHeaderFooterAPI:function(){return M},UserSessionApi:function(){return _},UserSessionApiAxios:function(){return g},WindowUtils:function(){return o},createConfirmModal:function(){return pi},createDebugLogger:function(){return ae.g$},createEmptyStore:function(){return nt},createErrorLogger:function(){return ae.$S},createGenericContext:function(){return An},createGenericErrorHandling:function(){return ka},createGroup:function(){return ae.sS},createGroupCollapsed:function(){return ae.TT},createLogger:function(){return ae.hu},createLoggers:function(){return ae.Em},createRootStoreCategory:function(){return Pa},createWarningLogger:function(){return ae.FB},getSessionData:function(){return Jr}
vendor: 4,121 bytes, line 81
81,handleEnterKeyDown:function(){return Vn},humanizeFileSize:function(){return ze},iframe:function(){return a},loadScript:function(){return pe.Z},mediaQueries:function(){return le},navigationUtils:function(){return r},removeSessionData:function(){return Tr},saveSessionData:function(){return kr},setupNamespace:function(){return ua},setupPraetorFlagging:function(){return Pn},sort:function(){return $},useFetch:function(){return Ri},waitForDomNodeToSettle:function(){return Hi},withBreakpoint:function(){return Ue}});var a={};e.r(a),e.d(a,{getFrameElement:function(){return W},isInIframe:function(){return ie}});var n={};e.r(n),e.d(n,{bind:function(){return ne},debug:function(){return re},getPosition:function(){return k}});var o={};e.r(o),e.d(o,{getCenteredPopUpOptions:function(){return se}});var t={};e.r(t),e.d(t,{exclude:function(){return bn},fireEvent:function(){return De},getIsFullStoryEligible:function(){return Je},injectFullStoryScript:function(){return Pt},mask:function(){return kt},unmask:function(){return tn}});var r={};e.r(r),e.d(r,{addCollectionToMainNav:function(){return Jn},getSiteNavigation:function(){return ea}});var i=e(392338),c=e(569644),d=e.n(c),u=e(385870),s=e.n(u),f=e(808847),p="X-SiteUser-XSRF-Token",v=Object.assign(f.default,{setXsrfToken:function(Ke){Ke&&(v.defaults.headers[p]=Ke)}}),g=v;function m(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */m=function(){return Be};var Be={},Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);
81if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}var b="/api/site-users/account/session",C="/api/site-users/account/locale",A={login:function(Ke){return s()(m().mark(function Ie(){var Ye,ut;return m().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,g.post(b,{email:Ke.email,password:Ke.password,rememberMe:Ke.rememberMe});case 2:return Ye=Nt.sent,ut=Ye.data,Nt.abrupt("return",g.setXsrfToken(ut.xsrfToken));case 5:case"end":return Nt.stop()}},Ie)}))()},logout:function(){var Ke=arguments,Ie=this;return s()(m().mark(function Ye(){var ut,ft;return m().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:return ut=Ke.length>0&&Ke[0]!==void 0?Ke[0]:{},Rt.next=3,Ie.callLogoutEndpoint(ut);case 3:if(ft=Rt.sent,!(ft.data&&ft.data.crumbFail)){Rt.next=6;break}return Rt.abrupt("return",Ie.callLogoutEndpoint(ut));case 6:return Rt.abrupt("return",ft);case 7:case"end":return Rt.stop()}},Ye)}))()},updateLocale:function(){var Ke,Ie=(Ke=window.top)===null||Ke===void 0?void 0:Ke.Weglot;if(Ie!=null&&Ie.getCurrentLang){var Ye,ut,ft=Ie.getCurrentLang(),Nt=(Ye=Ie.options)===null||Ye===void 0||(ut=Ye.languages)===null||ut===void 0?void 0:ut.find(function(Rt){return Rt.custom_code===ft});if(!Nt)return g.post(C,{language:ft})}},callLogoutEndpoint:function(Ke){return g.delete(b,{params:{cloneCart:!!Ke.cloneCart}})}},_=A;function P(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */P=function(){return Be};var Be={}
vendor: 4,869 bytes, line 81
81,Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
81h(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}var T="/api/site-header-footer",x={load:function(){var Be=s()(P().mark(function Ie(){var Ye,ut;return P().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:return Nt.next=2,f.default.get(T);case 2:return Ye=Nt.sent,ut=Ye.data,Nt.abrupt("return",ut);case 5:case"end":return Nt.stop()}},Ie)}));function Ke(){return Be.apply(this,arguments)}return Ke}(),save:function(){var Be=s()(P().mark(function Ie(Ye){var ut,ft,Nt,Rt;return P().wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:return ut=Ye.header,ft=Ye.footer,$t.next=3,f.default.put(T,{header:ut,footer:ft});case 3:return Nt=$t.sent,Rt=Nt.data,$t.abrupt("return",Rt);case 6:case"end":return $t.stop()}},Ie)}));function Ke(Ie){return Be.apply(this,arguments)}return Ke}()},M=x,U={fetchSettings:function(){return f.default.get("/api/multilingual/settings")},getStatus:function(){return f.default.get("/api/multilingual/status")},getLanguages:function(){return f.default.get("/api/multilingual/languages")},saveLanguages:function(Ke){return f.default.put("/api/multilingual/languages",{languages:Ke})},disconnectWeglot:function(){return f.default.delete("/api/multilingual/connection")}},j=U,$=e(207598),G=e(963327),J=e(542411),ie=function(Ke){return Ke&&Ke!==Ke.top},W=function(Ke){return Ke.defaultView&&ie(Ke.defaultView)?Ke.defaultView.frameElement:null},q=e(204482),H=e(981491),X={lastX:100,lastY:100,client:{lastX:100,lastY:100}},k=function(){return X},ne=function(Ke){var Ie,Ye=W(Ke),ut=function(dt){var $t=(Ye==null?void 0:Ye.getBoundingClientRect())||{},un=$t.left,bt=un===void 0?0:un,In=$t.top,Cn=In===void 0?0:In;X={lastX:dt.pageX+bt,lastY:dt.pageY+Cn,client:{lastX:dt.clientX+bt,lastY:dt.clientY+Cn}}},ft=function(dt){dt.changedTouches.length===1&&ut(dt.changedTouches[0])};Ke.addEventListener("mousemove",ut),Ke.addEventListener("touchmove",ft);var Nt=function(){Ke.removeEventListener("mousemove",ut),Ke.removeEventListener("touchmove",ft)};return(Ie=Ke.defaultView)===null||Ie===void 0||Ie.addEventListener("beforeunload",Nt),Nt},re=function(){var Be=null,Ke;return function(){var Ie=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(!Ie){var Ye,ut;cancelAnimationFrame(Ke),(Ye=Be)===null||Ye===void 0||(ut=Ye.parentNode)===null||ut===void 0||ut.removeChild(Be),Be=null;return}if(!Be){Be=document.createElement("div"),Be.setAttribute("data-mouse","true"),Be.style.position="fixed",Be.style.width="50px",Be.style.height="50px",Be.style.borderRadius="50%",Be.style.background="rgba(247, 202, 24, 0.5)",Be.style.marginLeft="-25px",Be.style.marginTop="-25px",Be.style.zIndex=Math.pow(10,5)+"",Be.style.pointerEvents="none",document.body.appendChild(Be);var ft=function Nt(){var Rt=k(),dt=Rt.lastX,$t=Rt.lastY,un=Be;un.style.top="".concat($t,"px"),un.style.left="".concat(dt,"px"),Ke=requestAnimationFrame(Nt)};ft()}}}(),le=e(798589),se=function(Ke){var Ie=Ke.w,Ye=Ke.h,ut=window.outerHeight/2+window.screenY-Ye/2,ft=window.outerWidth/2+window.screenX-Ie/2;return"width=".concat(Ie,",height=").concat(Ye,",top=").concat(ut,",left=").concat(ft)},ae=e(723796),pe=e(39994),Pe=e(324959),ve=e(987195),Me=e.n(ve),ht=e(432405),xt=e.n(ht),At=e(858240),Bt=e.n(At),en=e(4636),Vt=e.n(en),be=e(721854),Le=e.n(be),Oe=e(699467),yt=e.n(Oe),wt=e(506051),Lt=e.n(wt),jt=e(346797),Xe=e.n(jt),zt=e(508669),nn=e(795478),st=e.n(nn),Ut=e(192628),Jt=e.n(Ut),on=["childRef"];function ln(Be){var Ke=te();return function(){var Ye=Lt()(Be),ut;if(Ke){var ft=Lt()(this).constructor;ut=Reflect.construct(Ye,arguments,ft)}else ut=Ye.apply(this,arguments);return yt()(this,ut)}}function te(){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(Be){return!1}}var Ee=function(Ke){var Ie;return Jt()((Ie=function(Ye){Le()(ft,Ye);var ut=ln(ft);function ft(){return Bt()(this,ft),ut.apply(this,arguments)}return Vt()(ft,[{key:"render",value:function(){var Rt=this.props,dt=Rt.childRef,$t=xt()(Rt,on);return zt.createElement(Ke,Me()({breakpoint:this.context.breakpoint},$t,{ref:dt}))}}]),ft}
81(zt.Component),Xe()(Ie,"contextTypes",{breakpoint:st().string}),Ie),Ke)},Ue=Ee,ze=function(Be,Ke){if(Be===0)return"0 Bytes";var Ie=1024,Ye=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"],ut=Math.floor(Math.log(Be)/Math.log(Ie)),ft=Be/Math.pow(Ie,ut),Nt=Math.ceil(Math.log10(ft)),Rt=Ke+Nt||Nt;return ft.toPrecision(Rt)+" "+Ye[ut]},Ve=st().oneOfType([st().instanceOf(Node),st().oneOf(["window","mousepointer","selection"]),st().shape({top:st().number,left:st().number})]),fe=st().shape({x:st().number,y:st().number}),We=st().oneOfType([st().oneOf(["left","right","center","top","bottom"]),st().shape({join:st().string,to:st().string})]),tt={anchor:Ve,coords:fe,position:We},St=e(777868),Gt=e(845193),Zt=e.n(Gt),Un=e(638286),Yt=e.n(Un),jn=function(){return!!window.localStorage},kr=function(Ke,Ie,Ye){try{var ut={value:Ie,expires:Ye?Ye.getTime():void 0},ft=JSON.stringify(ut);jn()?localStorage.setItem(Ke,ft):Ye?Yt().set(Ke,ft,{path:"/",expires:Ye.toISOString()}):Yt().set(Ke,ft,{path:"/"})}catch(Nt){console.warn(Nt)}},Jr=function(Ke){try{var Ie=jn()?localStorage.getItem(Ke):Yt().get(Ke);if(Ie){var Ye=JSON.parse(Ie);return jn()&&Zt()(Ye.expires)&&Ye.expires<new Date().getTime()?(localStorage.removeItem(Ke),null):Ye.value}}catch(ut){console.warn(ut)}return null},Tr=function(Ke){try{jn()?localStorage.removeItem(Ke):Yt().set(Ke,"",{expires:new Date(0).toISOString()})}catch(Ie){console.warn(Ie)}},Or=e(461761),or=e.n(Or),bi=e(633629),zi=e.n(bi),aa=e(231269),oa=e.n(aa),Gi=function(Ke,Ie){var Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;try{var ut=or()(window,"Static.SQUARESPACE_CONTEXT.website.siteStatus.value"),ft=Ye||ut===oa().INTERNAL||(0,H.isInternal)();if(ft){var Nt=zi().parse(window.location.search,{ignoreQueryPrefix:!0}),Rt="".concat(Ke,"_").concat(Ie),dt=Nt[Rt];dt&&(dt==="reset"?Tr(Rt):kr(Rt,{variant:dt}));var $t=Jr(Rt);return $t?$t.variant:null}}catch(un){console.error("error reading query param override: ".concat(un))}return null},Wi=Gi,Ae=function(Ke,Ie){return function(Ye){var ut=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"false",ft=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"true",Nt=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},Rt=Nt.skipInternalCheck,dt=function(){var $t=Wi(Ke,Ye,Rt);if($t)return $t;var un=Ie.getABTestVariant(Ye,ut),bt=un.variant;return bt}();return function(){return dt===ft}}},Pn=Ae,Ii=e(375798),Hr=e.n(Ii);function sa(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */sa=function(){return Be};var Be={},Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}
vendor: 5,064 bytes, line 81
81Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}function vn(Be,Ke){var Ie=Object.keys(Be);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(Be);Ke&&(Ye=Ye.filter(function(ut){return Object.getOwnPropertyDescriptor(Be,ut).enumerable})),Ie.push.apply(Ie,Ye)}return Ie}function Br(Be){for(var Ke=1;Ke<arguments.length;Ke++){var Ie=arguments[Ke]!=null?arguments[Ke]:{};
81Ke%2?vn(Object(Ie),!0).forEach(function(Ye){Xe()(Be,Ye,Ie[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(Ie)):vn(Object(Ie)).forEach(function(Ye){Object.defineProperty(Be,Ye,Object.getOwnPropertyDescriptor(Ie,Ye))})}return Be}var Oi;(function(Be){Be.FETCH_PENDING="FETCH_PENDING",Be.FETCH_SUCCESS="FETCH_SUCCESS",Be.FETCH_FAILED="FETCH_FAILED"})(Oi||(Oi={}));var Zi=function(Ke,Ie){switch(Ie.type){case Oi.FETCH_PENDING:return Br(Br({},Ke),{},{isLoading:!0,isError:!1});case Oi.FETCH_SUCCESS:return Br(Br({},Ke),{},{data:Ie.payload,isLoading:!1});case Oi.FETCH_FAILED:return Br(Br({},Ke),{},{error:Ie.error,isError:!0,isLoading:!1});default:throw new Error("Invalid action type")}},wi=function(Ke,Ie){var Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!0,ut={isError:!1,isLoading:Ye},ft=Ye?Date.now():0,Nt=(0,zt.useState)(ft),Rt=Hr()(Nt,2),dt=Rt[0],$t=Rt[1],un=(0,zt.useReducer)(Zi,ut),bt=Hr()(un,2),In=bt[0],Cn=bt[1],rn=function(){var Hn=s()(sa().mark(function Gn(){var En;return sa().wrap(function(cn){for(;;)switch(cn.prev=cn.next){case 0:return Cn({type:Oi.FETCH_PENDING}),cn.prev=1,cn.next=4,Ke();case 4:En=cn.sent,Cn({type:Oi.FETCH_SUCCESS,payload:En}),cn.next=12;break;case 8:cn.prev=8,cn.t0=cn.catch(1),Cn({type:Oi.FETCH_FAILED,error:cn.t0}),Ie?Ie(cn.t0):console.error(cn.t0);case 12:case"end":return cn.stop()}},Gn,null,[[1,8]])}));return function(){return Hn.apply(this,arguments)}}(),zn=(0,zt.useCallback)(function(){$t(Date.now())},[$t]);return(0,zt.useEffect)(function(){dt&&rn()},[dt]),Br(Br({},In),{},{refetch:zn})},Ri=wi,pr=e(547740),jr=e.n(pr),fr=e(476888),Ca=e(217111),Ji=e.n(Ca),_i=e(87994);function oi(Be,Ke){var Ie=Object.keys(Be);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(Be);Ke&&(Ye=Ye.filter(function(ut){return Object.getOwnPropertyDescriptor(Be,ut).enumerable})),Ie.push.apply(Ie,Ye)}return Ie}function sn(Be){for(var Ke=1;Ke<arguments.length;Ke++){var Ie=arguments[Ke]!=null?arguments[Ke]:{};Ke%2?oi(Object(Ie),!0).forEach(function(Ye){Xe()(Be,Ye,Ie[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(Ie)):oi(Object(Ie)).forEac
81h(function(Ye){Object.defineProperty(Be,Ye,Object.getOwnPropertyDescriptor(Ie,Ye))})}return Be}var pa=function(Ke,Ie){return"".concat(Ke,"_").concat(Ji()(Ie))},Yi=function(Ke,Ie){var Ye=Ie.filter(function(ft){var Nt=ft.status;return Nt==="ACTIVE"}),ut={};return Ye.forEach(function(ft){var Nt=ft.name,Rt=ft.variant;ut[pa(Ke,Nt)]=Rt}),ut},si=function(){var Ke={};return Object.entries(_i.praetorExperiments).forEach(function(Ie){var Ye=Hr()(Ie,2),ut=Ye[0],ft=Ye[1];ft&&(Ke=sn(sn({},Ke),Yi(ut,ft)))}),Ke},Kr=function(){var Ke={},Ie=_i.context===null||_i.context===void 0?void 0:_i.context.xpsFeatureFlags;return Ie&&Object.entries(Ie).forEach(function(Ye){var ut=Hr()(Ye,2),ft=ut[0],Nt=ut[1];Ke[pa("xpsFeatureFlags",ft)]="".concat(Nt)}),Ke},ki=function(){return sn(sn({},si()),Kr())},Da=ki,ga=e(221006),qi=function(Ke){var Ie,Ye=_i.context===null||_i.context===void 0||(Ie=_i.context.websiteSettings)===null||Ie===void 0?void 0:Ie.country;return Ye?Ke.includes(Ye):!1},Yr=function(Ke){var Ie=Intl.DateTimeFormat().resolvedOptions().timeZone;return Ie?Ke.some(function(Ye){return Ie.startsWith(Ye)}):!1};function qe(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */qe=function(){return Be};var Be={},Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
81h(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}var He="17E67V",Re=function(Ke){try{var Ie=or()(window,"FS");Ie&&Ke(Ie)}catch(Ye){}},De=function(Ke,Ie){Re(function(Ye){Ye.event(Ke,Ie)})},$e=function(){return!(navigator.hardwareConcurrency<=2)},Je=jr()(function(){var Be="commerce-activation",Ke="fullstory-sampled";try{if(!qi(["US","JP"])||!Yr(["America","Asia/Tokyo"]))return!1;var Ie=new fr.StaticPraetorClient({isConfigurationLoaded:!0,experimentContextList:or()(window,["Static","SQUARESPACE_CONTEXT","commerceSettings","commerceActivationExperimentList"],[])}),Ye=Pn(Be,Ie),ut=Ie.getFeatureToggle("fullstory-enabled",!1),ft=ut.enabled,Nt=Ye(Ke,"false","true");if(ft&&Nt()&&$e())return!0}catch(Rt){console.error("Error determining FullStory eligibility",Rt)}return!1}),It=function(){var Ke=Da();De("praetor_experiment_assignment",Ke)},Pt=jr()(s()(qe().mark(function Be(){var Ke,Ie,Ye,ut;return qe().wrap(function(Nt){for(;;)switch(Nt.prev=Nt.next){case 0:if(Nt.prev=0,Ke=Je(),Ke){Nt.next=4;break}return Nt.abrupt("return");case 4:return Nt.next=6,f.default.get("/api/commerce/fullstory/getId");case 6:if(Ie=Nt.sent,Ye=Ie.data,Ye!=="automated-mock-id"){Nt.next=10;break}return Nt.abrupt("return");case 10:ga.init({orgId:He}),ga.identify(Ye),ut=or()(window,"Static.SQUARESPACE_CONTEXT.websiteSettings.bundleEligible",""),De("FullStory Initialized",{bundlingEligible:ut}),It(),Nt.next=20;break;case 17:Nt.prev=17,Nt.t0=Nt.catch(0),console.error("Error injecting FullStory script",Nt.t0);case 20:case"end":return Nt.stop()}},Be,null,[[0,17]])}))),tn="fs-unmask",kt="fs-mask",bn="fs-exclude",kn=e(737012),Ar=e.n(kn),Ir=function(Ke,Ie,Ye){var ut=Ar()(Ke);if((ut===""||ut.length<3)&&(ut=Ie),Ye.includes(ut)){var ft=1,Nt=new Intl.Collator([],{numeric:!0});return Ye.sort(function(Rt,dt){return Nt.compare(Rt,dt)}).forEach(function(Rt){Rt==="".concat(ut,"-").concat(ft)&&(ft+=1)}),"".concat(ut,"-").concat(ft)}return ut},qr=Ir,ni=e(603912),Vr=e.n(ni);function zr(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */zr=function(){return Be};var Be={}
vendor: 4,869 bytes, line 81
81,Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEac
81h(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}var ui=function(){var Be=s()(zr().mark(function Ke(Ie){return zr().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:return ut.next=2,f.default.post("/api/widget/UpdateNavigation",Ie);case 2:case"end":return ut.stop()}},Ke)}));return function(Ie){return Be.apply(this,arguments)}}(),ea=function(){var Be=s()(zr().mark(function Ke(){var Ie,Ye;return zr().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:return ft.next=2,f.default.get("/api/commondata/GetSiteLayout");case 2:return Ie=ft.sent,Ye=Ie.data,ft.abrupt("return",Ye);case 5:case"end":return ft.stop()}},Ke)}));return function(){return Be.apply(this,arguments)}}(),li=function Be(Ke){return Ke.map(function(Ie){var Ye=Ie.collectionId,ut=Ie.children,ft=Ie.externalLink,Nt=Ie.memberAreaId;return{items:ut?Be(ut):[],collectionId:Ye,externalLink:ft,memberAreaId:Nt}})},Jn=function(){var Be=s()(zr().mark(function Ke(Ie,Ye){var ut,ft,Nt,Rt;return zr().wrap(function($t){for(;;)switch($t.prev=$t.next){case 0:return $t.next=2,ea();case 2:if(ut=$t.sent,ft=ut.layout[0],ft){$t.next=6;break}throw new Error("Unable to find site main navigation");case 6:return Nt={collectionId:Ie},Rt=[Nt].concat(Vr()(li(ft.links))),$t.next=10,ui({fieldName:ft.identifier,templateId:Ye,navigation:{items:Rt}});case 10:case"end":return $t.stop()}},Ke)}));return function(Ie,Ye){return Be.apply(this,arguments)}}();function Zr(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Zr=function(){return Be};var Be={},Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=ne
vendor: 15,741 bytes, line 81
81w ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}var ma=function(){var Be=s()(Zr().mark(function Ke(Ie){var Ye,ut,ft,Nt,Rt,dt,$t;return Zr().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return Ye=Ie.websiteId,ut=Ie.navigationTitle,ft=Ie.title,Nt=Ie.urlId,Rt=Ie.description,bt.next=3,f.default.post("/api/content-service/product/1.1/websites/".concat(Ye,"/products"),{navigationTitle:ut,title:ft,urlId:Nt,description:Rt,enabled:!0});case 3:return dt=bt.sent,$t=dt.data,bt.abrupt("return",$t);case 6:case"end":return bt.stop()}},Ke)}));return function(Ie){return Be.apply(this,arguments)}}(),Pa=function(){var Be=s()(Zr().mark(function Ke(Ie){var Ye,ut,ft;return Zr().wrap(function(Rt){for(;;)switch(Rt.prev=Rt.next){case 0:return Ye=Ie.websiteId,ut=Ie.collectionId,ft=Ie.displayName,Rt.next=3,f.default.post("/api/content-service/product/1.1/websites/".concat(Ye,"/products/").concat(ut,"/categories"),{displayName:ft,parentCategoryId:void 0,type:"ROOT",pageRendering:"LIST_VIEW",displayIndex:1});case 3:case"end":return Rt.stop()}},Ke)}));return function(Ie){return Be.apply(this,arguments)}}();function oe(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */oe=function(){return Be};var Be={},Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}var we=function(){var Be=s()(oe().mark(function Ke(Ie){var Ye,ut,ft,Nt,Rt,dt,$t,un,bt,In,Cn;return oe().wrap(function(zn){for(;;)switch(zn.prev=zn.next){case 0:return Ye=Ie.storeTitle,ut=Ie.addToMainNav,ft=Ie.fallbackStoreTitle,Nt=Ie.allCategoryDisplayName,Rt=Ie.websiteId,dt=Ie.templateId,$t=Ie.isSevenOne,un=Ie.storeUrls,bt=qr(Ye,ft,un),zn.next=4,ma({websiteId:Rt,navigationTitle:Ye,title:Ye,urlId:bt,description:$t?void 0:""});case 4:return In=zn.sent,Cn=In.id,zn.next=8,Pa({websiteId:Rt,collectionId:Cn,displayName:Nt});case 8:if(!ut){zn.next=11;break}return zn.next=11,Jn(Cn,dt);case 11:return zn.abrupt("return",{collection:In});case 12:case"end":return zn.stop()}},Ke)}));return function(Ie){return Be.apply(this,arguments)}}(),nt=we,Qt=e(860921),On=e.n(Qt),Mn=["isCancellable","autoClose"];function hi(Be,Ke){var Ie=Object.keys(Be);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(Be);Ke&&(Ye=Ye.filter(function(ut){return Object.getOwnPropertyDescriptor(Be,ut).enumerable})),Ie.push.apply(Ie,Ye)}return Ie}function gr(Be){for(var Ke=1;Ke<arguments.length;Ke++){var Ie=arguments[Ke]!=null?arguments[Ke]:{};
81Ke%2?hi(Object(Ie),!0).forEach(function(Ye){Xe()(Be,Ye,Ie[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(Ie)):hi(Object(Ie)).forEach(function(Ye){Object.defineProperty(Be,Ye,Object.getOwnPropertyDescriptor(Ie,Ye))})}return Be}var dr=function(Ke){var Ie=zt.createContext({showConfirmModal:function(){return Promise.resolve(!0)},closeConfirmModal:On()});function Ye(ft){var Nt=ft.children,Rt=(0,zt.useState)(null),dt=Hr()(Rt,2),$t=dt[0],un=dt[1],bt=function(){un(null)},In=$t&&zt.createElement(Ke,$t);return zt.createElement(zt.Fragment,null,In,zt.createElement(Ie.Provider,{value:{showConfirmModal:function(rn){var zn=rn.isCancellable,Hn=zn===void 0?!0:zn,Gn=rn.autoClose,En=Gn===void 0?!0:Gn,Mr=xt()(rn,Mn);return new Promise(function(cn){un(gr(gr({},Mr),{},{onConfirm:function(){cn(!0),En&&bt()},onCancel:function(){if(Hn)return function(){cn(!1),En&&bt()}}()}))})},closeConfirmModal:bt}},Nt))}function ut(){return zt.useContext(Ie)}return{ConfirmModalProvider:Ye,ConfirmModalContext:Ie,useConfirmModal:ut}},pi=dr,Mi=function(){var Ke=zt.createContext(void 0),Ie=function(){var ut=zt.useContext(Ke);if(!ut)throw new Error("useGenericContext must be used within a Provider");return ut};return[Ie,Ke.Provider]},An=Mi,ci=function(Ke){return function(Ie){(Ie.key==="Enter"||Ie.key==="Return")&&(Ie.preventDefault(),Ke(Ie))}},Vn=ci,wn=e(291341),mo=e.n(wn),yo=e(176944),Xo=e.n(yo),Ta=e(177928),_r=e.n(Ta);function Wa(Be){var Ke=Eo();return function(){var Ye=Lt()(Be),ut;if(Ke){var ft=Lt()(this).constructor;ut=Reflect.construct(Ye,arguments,ft)}else ut=Ye.apply(this,arguments);return yt()(this,ut)}}function Eo(){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(Be){return!1}}var Aa=null,Rr=function(){return Aa=Aa||or()(window,"SQUARESPACE_SENTRY"),!!Aa},ka=function(Be){var Ke=Be.project,Ie=function(Rt,dt,$t){Rt.setTag("project",Ke),dt&&Rt.setExtra("context",JSON.stringify(dt)),$t&&Rt.setExtra("componentStack",$t)},Ye=function(Rt,dt){Rr()&&Aa.withScope(function($t){Ie($t,dt),Aa.captureMessage(Rt),console.error("[".concat(Ke," Sentry] context: "),dt)})},ut=function(Rt,dt,$t){De("Error [".concat(Ke,"]"),{message:Rt}),Rr()&&Aa.withScope(function(un){Ie(un,dt,$t),Aa.captureException(Rt),console.error("[".concat(Ke," Sentry] context: "),dt)})},ft=function(Nt){Le()(dt,Nt);var Rt=Wa(dt);function dt(){var $t;Bt()(this,dt);for(var un=arguments.length,bt=new Array(un),In=0;In<un;In++)bt[In]=arguments[In];return $t=Rt.call.apply(Rt,[this].concat(bt)),Xe()(_r()($t),"state",{hasError:!1}),$t}return Vt()(dt,[{key:"componentDidCatch",value:function(un,bt){ut("[".concat(Ke," boundary] ").concat(un),void 0,bt==null?void 0:bt.componentStack),this.setState({hasError:!0})}},{key:"render",value:function(){var un=this.state.hasError,bt=this.props,In=bt.errorContents,Cn=bt.children;return un?In:Cn}}]),dt}(zt.Component);return{captureMessage:Ye,captureException:ut,BaseErrorBoundary:ft}},ya=["websiteId"],Ha=["preferences"];function Ci(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */Ci=function(){return Be};var Be={},Ke=Object.prototype,Ie=Ke.hasOwnProperty,Ye=Object.defineProperty||function(ee,z,K){ee[z]=K.value},ut=typeof Symbol=="function"?Symbol:{},ft=ut.iterator||"@@iterator",Nt=ut.asyncIterator||"@@asyncIterator",Rt=ut.toStringTag||"@@toStringTag";function dt(ee,z,K){return Object.defineProperty(ee,z,{value:K,enumerable:!0,configurable:!0,writable:!0}),ee[z]}try{dt({},"")}catch(ee){dt=function(K,ce,me){return K[ce]=me}}function $t(ee,z,K,ce){var me=z&&z.prototype instanceof In?z:In,de=Object.create(me.prototype),it=new ar(ce||[]);return Ye(de,"_invoke",{value:fi(ee,K,it)}),de}function un(ee,z,K){try{return{type:"normal",arg:ee.call(z,K)}}catch(ce){return{type:"throw",arg:ce}}}Be.wrap=$t;var bt={};function In(){}function Cn(){}function rn(){}var zn={};dt(zn,ft,function(){return this});var Hn=Object.getPrototypeOf,Gn=Hn&&Hn(Hn(Cr([])));Gn&&Gn!==Ke&&Ie.call(Gn,ft)&&(zn=Gn);var En=rn.prototype=In.prototype=Object.create(zn);function Mr(ee){["next","throw","return"].forEach(function(z){dt(ee,z,function(K){return this._invoke(z,K)})})}function cn(ee,z){function K(me,de,it,Tt){var Ot=un(ee[me],ee,de);if(Ot.type!=="throw"){var hn=Ot.arg,an=hn.value;return an&&d()(an)=="object"&&Ie.call(an,"__await")?z.resolve(an.__await).then(function(Sn){K("next",Sn,it,Tt)},function(Sn){K("throw",Sn,it,Tt)}):z.resolve(an).then(function(Sn){hn.value=Sn,it(hn)},function(Sn){return K("throw",Sn,it,Tt)})}Tt(Ot.arg)}var ce;Ye(this,"_invoke",{value:function(de,it){function Tt(){return new z(function(Ot,hn){K(de,it,Ot,hn)})}return ce=ce?ce.then(Tt,Tt):Tt()}})}function fi(ee,z,K){var ce="suspendedStart";return function(me,de){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(me==="throw")throw de;return Gr()}for(K.method=me,K.arg=de;;){var it=K.delegate;if(it){var Tt=mr(it,K);if(Tt){if(Tt===bt)continue;return Tt}}if(K.method==="next")K.sent=K._sent=K.arg;else if(K.method==="throw"){if(ce==="suspendedStart")throw ce="completed",K.arg;K.dispatchException(K.arg)}else K.method==="return"&&K.abrupt("return",K.arg);ce="executing";var Ot=un(ee,z,K);if(Ot.type==="normal"){if(ce=K.done?"completed":"suspendedYield",Ot.arg===bt)continue;return{value:Ot.arg,done:K.done}}
vendor: 5,064 bytes, line 81
81Ot.type==="throw"&&(ce="completed",K.method="throw",K.arg=Ot.arg)}}}function mr(ee,z){var K=z.method,ce=ee.iterator[K];if(ce===void 0)return z.delegate=null,K==="throw"&&ee.iterator.return&&(z.method="return",z.arg=void 0,mr(ee,z),z.method==="throw")||K!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+K+"' method")),bt;var me=un(ce,ee.iterator,z.arg);if(me.type==="throw")return z.method="throw",z.arg=me.arg,z.delegate=null,bt;var de=me.arg;return de?de.done?(z[ee.resultName]=de.value,z.next=ee.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,bt):de:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,bt)}function $r(ee){var z={tryLoc:ee[0]};1 in ee&&(z.catchLoc=ee[1]),2 in ee&&(z.finallyLoc=ee[2],z.afterLoc=ee[3]),this.tryEntries.push(z)}function hr(ee){var z=ee.completion||{};z.type="normal",delete z.arg,ee.completion=z}function ar(ee){this.tryEntries=[{tryLoc:"root"}],ee.forEach($r,this),this.reset(!0)}function Cr(ee){if(ee){var z=ee[ft];if(z)return z.call(ee);if(typeof ee.next=="function")return ee;if(!isNaN(ee.length)){var K=-1,ce=function me(){for(;++K<ee.length;)if(Ie.call(ee,K))return me.value=ee[K],me.done=!1,me;return me.value=void 0,me.done=!0,me};return ce.next=ce}}return{next:Gr}}function Gr(){return{value:void 0,done:!0}}return Cn.prototype=rn,Ye(En,"constructor",{value:rn,configurable:!0}),Ye(rn,"constructor",{value:Cn,configurable:!0}),Cn.displayName=dt(rn,Rt,"GeneratorFunction"),Be.isGeneratorFunction=function(ee){var z=typeof ee=="function"&&ee.constructor;return!!z&&(z===Cn||(z.displayName||z.name)==="GeneratorFunction")},Be.mark=function(ee){return Object.setPrototypeOf?Object.setPrototypeOf(ee,rn):(ee.__proto__=rn,dt(ee,Rt,"GeneratorFunction")),ee.prototype=Object.create(En),ee},Be.awrap=function(ee){return{__await:ee}},Mr(cn.prototype),dt(cn.prototype,Nt,function(){return this}),Be.AsyncIterator=cn,Be.async=function(ee,z,K,ce,me){me===void 0&&(me=Promise);var de=new cn($t(ee,z,K,ce),me);return Be.isGeneratorFunction(z)?de:de.next().then(function(it){return it.done?it.value:de.next()})},Mr(En),dt(En,Rt,"Generator"),dt(En,ft,function(){return this}),dt(En,"toString",function(){return"[object Generator]"}),Be.keys=function(ee){var z=Object(ee),K=[];for(var ce in z)K.push(ce);return K.reverse(),function me(){for(;K.length;){var de=K.pop();if(de in z)return me.value=de,me.done=!1,me}return me.done=!0,me}},Be.values=Cr,ar.prototype={constructor:ar,reset:function(z){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(hr),!z)for(var K in this)K.charAt(0)==="t"&&Ie.call(this,K)&&!isNaN(+K.slice(1))&&(this[K]=void 0)},stop:function(){this.done=!0;var z=this.tryEntries[0].completion;if(z.type==="throw")throw z.arg;return this.rval},dispatchException:function(z){if(this.done)throw z;var K=this;function ce(hn,an){return it.type="throw",it.arg=z,K.next=hn,an&&(K.method="next",K.arg=void 0),!!an}for(var me=this.tryEntries.length-1;me>=0;--me){var de=this.tryEntries[me],it=de.completion;if(de.tryLoc==="root")return ce("end");if(de.tryLoc<=this.prev){var Tt=Ie.call(de,"catchLoc"),Ot=Ie.call(de,"finallyLoc");if(Tt&&Ot){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0);if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}else if(Tt){if(this.prev<de.catchLoc)return ce(de.catchLoc,!0)}else{if(!Ot)throw new Error("try statement without catch or finally");if(this.prev<de.finallyLoc)return ce(de.finallyLoc)}}}},abrupt:function(z,K){for(var ce=this.tryEntries.length-1;ce>=0;--ce){var me=this.tryEntries[ce];if(me.tryLoc<=this.prev&&Ie.call(me,"finallyLoc")&&this.prev<me.finallyLoc){var de=me;break}}de&&(z==="break"||z==="continue")&&de.tryLoc<=K&&K<=de.finallyLoc&&(de=null);var it=de?de.completion:{};return it.type=z,it.arg=K,de?(this.method="next",this.next=de.finallyLoc,bt):this.complete(it)},complete:function(z,K){if(z.type==="throw")throw z.arg;return z.type==="break"||z.type==="continue"?this.next=z.arg:z.type==="return"?(this.rval=this.arg=z.arg,this.method="return",this.next="end"):z.type==="normal"&&K&&(this.next=K),bt},finish:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.finallyLoc===z)return this.complete(ce.completion,ce.afterLoc),hr(ce),bt}},catch:function(z){for(var K=this.tryEntries.length-1;K>=0;--K){var ce=this.tryEntries[K];if(ce.tryLoc===z){var me=ce.completion;if(me.type==="throw"){var de=me.arg;hr(ce)}return de}}throw new Error("illegal catch attempt")},delegateYield:function(z,K,ce){return this.delegate={iterator:Cr(z),resultName:K,nextLoc:ce},this.method==="next"&&(this.arg=void 0),bt}},Be}function ri(Be,Ke){var Ie=Object.keys(Be);if(Object.getOwnPropertySymbols){var Ye=Object.getOwnPropertySymbols(Be);Ke&&(Ye=Ye.filter(function(ut){return Object.getOwnPropertyDescriptor(Be,ut).enumerable})),Ie.push.apply(Ie,Ye)}return Ie}function Ka(Be){for(var Ke=1;Ke<arguments.length;Ke++){var Ie=arguments[Ke]!=null?arguments[Ke]:{};
81Ke%2?ri(Object(Ie),!0).forEach(function(Ye){Xe()(Be,Ye,Ie[Ye])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Be,Object.getOwnPropertyDescriptors(Ie)):ri(Object(Ie)).forEach(function(Ye){Object.defineProperty(Be,Ye,Object.getOwnPropertyDescriptor(Ie,Ye))})}return Be}var Te=ka({project:"commerce-preferences-service"}),Ce=Te.captureException,xe=function(Ke){return"COMMERCE_PREFERENCES_REFETCH_".concat(Ke)},Ze={},at=function(Ke,Ie){Ze[Ke]=Ka(Ka({},Ze[Ke]),Ie)},gt=function(Ke,Ie){try{return Object.keys(Ie).some(function(Ye){var ut,ft=(ut=Ze[Ke])===null||ut===void 0?void 0:ut[Ye],Nt=Ie[Ye];return Nt!==ft})}catch(Ye){return Ce(Ye),!0}},Fe=function(){var Be=s()(Ci().mark(function Ke(Ie,Ye){return Ci().wrap(function(ft){for(;;)switch(ft.prev=ft.next){case 0:if(gt(Ie,Ye)){ft.next=2;break}return ft.abrupt("return");case 2:return at(Ie,Ye),document.dispatchEvent(new CustomEvent(xe(Ie))),ft.prev=4,ft.next=7,f.default.put("/api/v1/commerce-preferences/".concat(Ie),Ye);case 7:ft.next=13;break;case 9:throw ft.prev=9,ft.t0=ft.catch(4),Ce(ft.t0),ft.t0;case 13:case"end":return ft.stop()}},Ke,null,[[4,9]])}));return function(Ie,Ye){return Be.apply(this,arguments)}}(),qt={},xn=function(){var Be=s()(Ci().mark(function Ke(Ie){return Ci().wrap(function(ut){for(;;)switch(ut.prev=ut.next){case 0:if(!Ze[Ie]){ut.next=2;break}return ut.abrupt("return",Ze[Ie]);case 2:return qt[Ie]||(qt[Ie]=s()(Ci().mark(function ft(){var Nt,Rt,dt,$t;return Ci().wrap(function(bt){for(;;)switch(bt.prev=bt.next){case 0:return bt.prev=0,bt.next=3,f.default.get("/api/v1/commerce-preferences/".concat(Ie));case 3:return Nt=bt.sent,Rt=Nt.data,dt=Rt.websiteId,$t=xt()(Rt,ya),at(Ie,$t),bt.abrupt("return",$t);case 11:throw bt.prev=11,bt.t0=bt.catch(0),Ce(bt.t0),bt.t0;case 15:case"end":return bt.stop()}},ft,null,[[0,11]])}))()),ut.abrupt("return",qt[Ie]);case 4:case"end":return ut.stop()}},Ke)}));return function(Ie){return Be.apply(this,arguments)}}(),mn=function(Ke){var Ie="__setCommercePreferences_".concat(Ke);window[Ie]=function(Ye){return Fe(Ke,Ye)}},$n=function(Ke){var Ie=Ri(function(){return xn(Ke)}),Ye=Ie.data,ut=Ye===void 0?Ze[Ke]:Ye,ft=Ie.isError,Nt=Ie.isLoading,Rt=Ie.refetch;return(0,zt.useEffect)(function(){return document.addEventListener(xe(Ke),Rt),function(){document.removeEventListener(xe(Ke),Rt)}},[Rt,Ke]),{preferences:Ka({},mo()(ut,function(dt){return!Xo()(dt)})),isError:ft,isLoading:Nt,hasLoaded:!!ut||ft}},xr=function(Ke){return function(Ie){return function(Ye){var ut=$n(Ke),ft=ut.hasLoaded;return ft?zt.createElement(Ie,Ye):null}}};function ua(Be){var Ke=Be.namespace,Ie=Be.injectHelper,Ye=Ie===void 0?!0:Ie;return Ye&&mn(Ke),{withEnsurePreferences:xr(Ke),setPreferences:function(ft){Fe(Ke,ft)},fetchPreferences:function(){var ut=s()(Ci().mark(function Nt(){return Ci().wrap(function(dt){for(;;)switch(dt.prev=dt.next){case 0:return dt.next=2,xn(Ke);case 2:return dt.abrupt("return",dt.sent);case 3:case"end":return dt.stop()}},Nt)}));function ft(){return ut.apply(this,arguments)}return ft}(),usePreferences:function(){var ft=$n(Ke),Nt=ft.preferences,Rt=xt()(ft,Ha);return Ka({preferences:Nt},Rt)}}}var vr=function(Ke){var Ie=arguments.length>1&&arguments[1]!==void 0?arguments[1]:3e3,Ye=arguments.length>2&&arguments[2]!==void 0?arguments[2]:100,ut,ft;return new Promise(function(Nt){var Rt,dt=function(){Rt=document.querySelector(Ke),clearTimeout(ft),ft=setTimeout(function(){var un=document.querySelector(Ke);if(Rt&&Rt===un){ut.disconnect(),Nt(un);return}Rt=un},Ye)};ut=new MutationObserver(dt),ut.observe(document.body,{childList:!0,subtree:!0}),dt(),setTimeout(function(){ut.disconnect(),clearTimeout(ft)},Ie)})},Hi=vr},39994:function(y,l,e){"use strict";var a=e(392338),n=e.n(a),o=e(734301),t=e.n(o);l.Z=function(r){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{async:!0,doc:document},c=i.async,d=c===void 0?!0:c,u=i.doc,s=u===void 0?document:u;return new Promise(function(f,p){t()(r,{before:function(g,m){return s.body.appendChild(m),!1},success:function(){return f()},error:function(){return p()},async:d})})}},798589:function(y,l,e){"use strict";e.r(l),e.d(l,{checkBreakpoint:function(){return r},determineCurrentMedia:function(){return t},isDesktop:function(){return c},isMobile:function(){return i},isSubDesktop:function(){return u},isTablet:function(){return d},mediaQueries:function(){return o}});var a=e(392338),n=e.n(a),o={mobile:"screen and (max-width: 432px)",desktop:"screen and (min-width: 433px)",tablet:"screen and (max-width: 0px)"},t=function(){return Object.keys(o).find(function(f){return window.matchMedia(o[f]).matches})},r=function(f,p){return p?p===f:t()===f},i=function(f){return r("mobile",f)},c=function(f){return r("desktop",f)},d=function(f){return r("tablet",f)},u=function(f){return i(f)||d(f)}},324959:function(y,l,e){"use strict";e.d(l,{Z:function(){return a}});function a(n,o){try{n.dropEffect=o,n.effectAllowed=o}catch(t){}}},207598:function(y,l,e){"use strict";e.r(l),e.d(l,{alphabetical:function(){return i}});var a=e(603912),n=e.n(a),o=e(392338),t=e.n(o),r=function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";
81return typeof d=="string"?d:typeof d[u]=="string"?d[u]:(console.warn("Value is neither a string nor an object containing a string at ".concat(u),d),"")},i=function(d){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return n()(d).sort(function(s,f){var p=r(s,u.key).toLowerCase(),v=r(f,u.key).toLowerCase();return p<v?-1:p>v?1:0})}},365270:function(y,l,e){"use strict";e.r(l),e.d(l,{FLUID_ENGINE_BLUE_HEX:function(){return n},FLUID_ENGINE_YELLOW:function(){return o},FluidEngineBreakpoints:function(){return a}});var a;(function(t){t.MOBILE="mobile",t.DESKTOP="desktop"})(a||(a={}));var n="#027AFF",o="#FFB802"},579888:function(y,l,e){"use strict";e.r(l),e.d(l,{BlockType:function(){return x},BlockTypeStrings:function(){return k},BlockTypeToBetaFlags:function(){return le},BlockTypeToFeature:function(){return Pe},BlockVariantTypeKeys:function(){return ht},BlockVariantTypes:function(){return Me},CMSAppShellPerformanceEvents:function(){return n},CMSPerformanceEvents:function(){return o},CollectionView:function(){return wi},CommercePerformanceEvents:function(){return a},ConnectedAccountLinkConfigurations:function(){return fr},Constants:function(){return Ji},ContentGeneratorTypes:function(){return oi},DeviceViewType:function(){return pa},DomainsPerformanceEvents:function(){return t},EditorSelectors:function(){return r},FacebookPixelConstants:function(){return He},FluidEngine:function(){return Yr},FormBuilderFieldNames:function(){return It},FormModelFieldsets:function(){return tn},GalleryBlockConstants:function(){return bn},GalleryItemMediaTypes:function(){return Ar},GooglePlaces:function(){return i},LayoutEngine:function(){return d},LayoutEngineClassnames:function(){return c},PinterestSelectors:function(){return nt},PopupOverlayLocalStorage:function(){return Qt},Positions:function(){return Mn},SectionEditorClassnames:function(){return u},SiteAesthetics:function(){return pi},SliceTypeByName:function(){return Vn},SliceTypeNames:function(){return yo},SlideTypeByName:function(){return Aa},SlideTypeNames:function(){return Eo},SurveyCohorts:function(){return ka},TextFilterNames:function(){return Ha},TweakEvents:function(){return ri},TweakPageTypes:function(){return Te},TypekitPreviewApi:function(){return Ze},Units:function(){return gt},UpsellDestination:function(){return s},UpsellUrls:function(){return g}});var a={};e.r(a),e.d(a,{AFTERPAY_PDP_LOAD:function(){return b},AFTERPAY_PDP_OPEN_MODAL:function(){return m},KLARNA_PDP_LOAD:function(){return _},KLARNA_PDP_OPEN_MODAL:function(){return A},PDP_PAGE_LOAD:function(){return C},PLP_PAGE_LOAD:function(){return P}});var n={};e.r(n),e.d(n,{BILLING_APP_ROOT_INITIALIZED:function(){return Bt},CAMPAIGNS_APP_ROOT_INITIALIZED:function(){return en},CONFIG_APP_SHELL_INITIALIZED:function(){return Vt},PERMISSIONS_APP_ROOT_INITIALIZED:function(){return At},PROJECTS_APP_SHELL_INITIALIZED:function(){return be},SCHEDULING_APP_ROOT_INITIALIZED:function(){return xt}});var o={};e.r(o),e.d(o,{ADD_SECTION_FROM_CATALOG:function(){return Oi},ANIMATIONS_EDIT_SAVE:function(){return Jt},ANIMATIONS_PANEL_INTERACTIVE:function(){return on},ASSET_UPLOAD:function(){return Ii},COLLECTION_NEW_LAYOUT_LOAD:function(){return nn},COLORS_PANEL_GENERATE_PALETTE:function(){return St},COLORS_PANEL_INTERACTIVE:function(){return fe},COLORS_PANEL_SAVE:function(){return Ve},COLORS_PANEL_SELECT_PALETTE:function(){return tt},COLORS_PANEL_UPDATE_PALETTE_COLOR:function(){return Gt},COLORS_PANEL_UPDATE_TWEAK_COLOR:function(){return Zt},DESIGN_BUTTONS_PANEL_LOAD:function(){return Ae},FONTS_PANEL_BASE_FONT_SIZE_CHANGE:function(){return bi},FONTS_PANEL_CUSTOM_FONT_FAMILY_CHANGE:function(){return Gi},FONTS_PANEL_CUSTOM_FONT_PROPERTY_CHANGE:function(){return oa},FONTS_PANEL_FETCHED_DATA:function(){return Un},FONTS_PANEL_FETCHED_DATA_TO_INTERACTIVE:function(){return Yt},FONTS_PANEL_INTERACTIVE:function(){return jn},FONTS_PANEL_MAPPING_CHANGE:function(){return Wi},FONTS_PANEL_MASTER_FONT_FAMILY_CHANGE:function(){return aa},FONTS_PANEL_MASTER_FONT_PROPERTY_CHANGE:function(){return zi},FONTS_PANEL_PACK_CHANGE_CLEAN_DIRTY:function(){return Or},FONTS_PANEL_PACK_CHANGE_DIRTY_DIRTY:function(){return or},FONTS_PANEL_RENDER_ACTIVE_CARD:function(){return kr},FONTS_PANEL_SAVE:function(){return Jr},FONTS_PANEL_TAB_SWITCH_INTERACTIVE:function(){return Tr},FRAME_TOOLBAR_EDIT:function(){return yt},GALLERY_SECTION_NEW_LAYOUT_LOAD:function(){return zt},HEADER_NEW_LAYOUT_LOAD:function(){return Xe},HEADER_PROPERTY_UPDATE:function(){return jt},LAYOUT_ENGINE_SECTION_COLOR_PREVIEW:function(){return Ut},MEDIA_UPLOAD_SERVICE_ASSET_PROCESSING_ONLY:function(){return Br},MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD:function(){return sa},MEDIA_UPLOAD_SERVICE_ASSET_UPLOAD_ONLY:function(){return vn},ONBOARDING_SAVE_TITLE:function(){return Le},PAGES_ADD_BLANK:function(){return Oe},PAGE_EDIT_SAVE:function(){return wt},RENDER_LAYOUT_ENGINE_SECTION:function(){return st},SECTION_DUPLICATION:function(){return Pn},SITE_HEADER_FOOTER_LOAD:function(){return Lt}
81,SITE_SERVER_ASSET_UPLOAD:function(){return Hr},THEME_EDITOR_INTERACTIVE:function(){return We},TWEAKACTION_FETCH_CUSTOM_CSS:function(){return ln},TWEAKACTION_FETCH_DATA:function(){return te},TWEAKACTION_FETCH_TEMPLATE_TWEAK_SETTINGS:function(){return Ee},TWEAKACTION_FETCH_TWEAK_ENGINE_PROPERTIES:function(){return ze},TWEAKACTION_FETCH_TYPEKIT_DATA:function(){return Ue}});var t={};e.r(t),e.d(t,{OPEN_SEARCH_DSC_INITIALIZED:function(){return si},OPEN_SEARCH_INITIALIZED:function(){return Yi},PERFORM_DISPLAY_RESULTS:function(){return ga},PERFORM_SEARCH_FIRST_AVAILABLE_RESULT:function(){return ki},PERFORM_SEARCH_INTERACTIVE:function(){return Kr},PERFORM_SEARCH_STABLE:function(){return Da}});var r={};e.r(r),e.d(r,{DESKTOP_FRAME_TOOLBAR_ID:function(){return qi}});var i={};e.r(i),e.d(i,{AUTOCOMPLETE_URL:function(){return qr},DETAILS_URL:function(){return ni},googleTrackingContextProp:function(){return Vr}});var c={};e.r(c),e.d(c,{BLOCK_FOCUS_IGNORE_CLASSNAME:function(){return zr},ESCMANAGER_IGNORE_CLASSNAME:function(){return ui},NONINTERACTIVE_CLASSNAME:function(){return li},NONINTERACTIVE_CLASSNAMES:function(){return ea},TEXT_BLOCK:function(){return Jn}});var d={};e.r(d),e.d(d,{AttrChangeProps:function(){return ma},BlockFocusIgnoredSelectors:function(){return oe},EMPTY_DATA:function(){return Zr},SetDetails:function(){return Pa}});var u={};e.r(u),e.d(u,{SECTION_EDITOR_FRAME_OVERLAY_CLASS:function(){return gr},SPACE_AROUND_FRAME_CLASS:function(){return hi}});var s={TRIAL_UPGRADE_PLAN:"trial-upgrade",UPGRADE_PLAN:"upgrade"},f=e(346797),p=e.n(f),v,g=(v={},p()(v,s.TRIAL_UPGRADE_PLAN,"/settings/billing/upgrade"),p()(v,s.UPGRADE_PLAN,"/settings/billing/subscriptions/website"),v),m="commerce-merch-open-afterpay-pdp-modal",b="commerce-merch-load-afterpay-pdp-string",C="commerce-merch-pdp-page-load",A="commerce-merch-open-klarna-pdp-modal",_="commerce-merch-load-klarna-pdp-string",P="commerce-merch-plp-page-load",T;(function(Fe){Fe[Fe.NAVIGATION=1]="NAVIGATION",Fe[Fe.HTML=2]="HTML",Fe[Fe.LOGO=3]="LOGO",Fe[Fe.MAP=4]="MAP",Fe[Fe.IMAGE=5]="IMAGE",Fe[Fe.TWITTER=6]="TWITTER",Fe[Fe.JOURNAL=7]="JOURNAL",Fe[Fe.GALLERY=8]="GALLERY",Fe[Fe.FORM=9]="FORM",Fe[Fe.GEO=10]="GEO",Fe[Fe.INDEX=11]="INDEX",Fe[Fe.COLLECTION_LINK=12]="COLLECTION_LINK",Fe[Fe.LINK=13]="LINK",Fe[Fe.TAGCLOUD=14]="TAGCLOUD",Fe[Fe.COMMENTS=16]="COMMENTS",Fe[Fe.FOLDER=17]="FOLDER",Fe[Fe.MENU=18]="MENU",Fe[Fe.SOCIAL_LINKS=19]="SOCIAL_LINKS",Fe[Fe.SUMMARY=20]="SUMMARY",Fe[Fe.SPACER=21]="SPACER",Fe[Fe.EMBED=22]="EMBED",Fe[Fe.CODE=23]="CODE",Fe[Fe.FOURSQUARE=24]="FOURSQUARE",Fe[Fe.INSTAGRAM=25]="INSTAGRAM",Fe[Fe.CALENDAR=26]="CALENDAR",Fe[Fe.POSTS_BY_AUTHOR=27]="POSTS_BY_AUTHOR",Fe[Fe.POSTS_BY_TAG=28]="POSTS_BY_TAG",Fe[Fe.POSTS_BY_CATEGORY=29]="POSTS_BY_CATEGORY",Fe[Fe.POSTS_BY_MONTH=30]="POSTS_BY_MONTH",Fe[Fe.QUOTE=31]="QUOTE",Fe[Fe.VIDEO=32]="VIDEO",Fe[Fe.SEARCH=33]="SEARCH",Fe[Fe.AUDIO=41]="AUDIO",Fe[Fe.FIVEHUNDREDPIX=42]="FIVEHUNDREDPIX",Fe[Fe.PRODUCT=43]="PRODUCT",Fe[Fe.MARKDOWN=44]="MARKDOWN",Fe[Fe.FLICKR=45]="FLICKR",Fe[Fe.AMAZON=46]="AMAZON",Fe[Fe.HORIZONTAL_RULE=47]="HORIZONTAL_RULE",Fe[Fe.SOCIAL_ACCOUNT_LINKS=48]="SOCIAL_ACCOUNT_LINKS",Fe[Fe.RSS=49]="RSS",Fe[Fe.OPENTABLE=50]="OPENTABLE",Fe[Fe.NEWSLETTER=51]="NEWSLETTER",Fe[Fe.DONATION=52]="DONATION",Fe[Fe.BUTTON=53]="BUTTON",Fe[Fe.SOCIAL_ACCOUNT_LINKS_V2=54]="SOCIAL_ACCOUNT_LINKS_V2",Fe[Fe.SUMMARY_V2=55]="SUMMARY_V2",Fe[Fe.SOUNDCLOUD=56]="SOUNDCLOUD",Fe[Fe.EMAIL_FOOTER=57]="EMAIL_FOOTER",Fe[Fe.IN_BROWSER_MESSAGE_LINK=58]="IN_BROWSER_MESSAGE_LINK",Fe[Fe.TOURDATES=59]="TOURDATES",Fe[Fe.ALBUM=60]="ALBUM",Fe[Fe.ARCHIVE=61]="ARCHIVE",Fe[Fe.CHART=62]="CHART",Fe[Fe.ZOLA=63]="ZOLA",Fe[Fe.ACUITY=65]="ACUITY",Fe[Fe.OPENTABLE_V2=66]="OPENTABLE_V2",Fe[Fe.MEMBER_AREA=67]="MEMBER_AREA",Fe[Fe.TOCK=68]="TOCK",Fe[Fe.ACCORDION=69]="ACCORDION",Fe[Fe.MARQUEE=70]="MARQUEE",Fe[Fe.SHAPE=71]="SHAPE",Fe[Fe.PRICING_PLAN=72]="PRICING_PLAN",Fe[Fe.WEBSITE_COMPONENT=1337]="WEBSITE_COMPONENT"})(T||(T={}));var x=T,M=e(690411),U=e.n(M),j=e(304003),$=e.n(j),G=e(130399),J=e.n(G),ie=e(311064),W=e.n(ie),q=W()(x),H=J()(q,$()),X=J()(q,U()),k={BlockTypeKeys:q,BlockTypeNames:H,BlockTypeLabels:X},ne=e(392338),re=Object.freeze({}),le=re,se=e(730139),ae=e.n(se),pe,Pe=(pe={},p()(pe,x.AMAZON,ae().BLOCK_AMAZON),p()(pe,x.DONATION,ae().BLOCK_DONATION),p()(pe,x.MENU,ae().BLOCK_MENU),p()(pe,x.OP
81ENTABLE,ae().BLOCK_OPENTABLE),p()(pe,x.OPENTABLE_V2,ae().BLOCK_OPENTABLE),pe),ve={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},Me=ve,ht=W()(Me),xt="scheduling-app-root-initialized",At="permissions-app-root-initialized",Bt="billing-app-root-initialized",en="campaigns-app-root-initialized",Vt="config-app-shell-initialized",be="projects-app-shell-initialized",Le="cms-onboarding-save-title",Oe="cms-pages-add-blank",yt="cms-frame-toolbar-edit",wt="cms-page-edit-save",Lt="cms-site-header-footer-load",jt="cms-header-property-update",Xe="cms-header-new-layout-load",zt="cms-section-gallery-new-layout-load",nn="cms-collection-new-layout-load",st="cms-render-layout-engine-section",Ut="cms-layout-engine-section-color-preview",Jt="cms-design-animations-panel-save",on="cms-design-animations-panel-interactive",ln="cms-tweakactions-fetch-custom-css",te="cms-tweakactions-fetchdata",Ee="cms-tweakactions-fetch-template-tweak-settings",Ue="cms-tweakactions-fetch-typekit-data",ze="cms-tweakactions-fetch-tweak-engine-properties",Ve="cms-design-colors-panel-save",fe="cms-design-colors-panel-interactive",We="cms-design-colors-theme-editor-interactive",tt="cms-design-colors-panel-select-palette",St="cms-design-colors-panel-generate-palette",Gt="cms-design-colors-panel-update-palette-color",Zt="cms-design-colors-panel-update-tweak-color",Un="cms-design-fonts-panel-fetched-data",Yt="cms-design-fonts-panel-fetched-data-interactive",jn="cms-design-fonts-panel-packs-interactive",kr="cms-design-fonts-render-active-card",Jr="cms-design-fonts-panel-save",Tr="cms-design-fonts-panel-tab-switch-interactive",Or="cms-design-fonts-panel-pack-change-clean-dirty",or="cms-design-fonts-panel-pack-change-dirty-dirty",bi="cms-design-fonts-panel-base-font-size-change",zi="cms-design-fonts-panel-master-font-property-change",aa="cms-design-fonts-panel-master-font-family-change",oa="cms-design-fonts-panel-custom-font-property-change",Gi="cms-design-fonts-panel-custom-font-family-change",Wi="cms-design-fonts-panel-mapping-change",Ae="cms-design-buttons-panel-load",Pn="cms-section-duplicate",Ii="cms-asset-upload",Hr="cms-site-server-asset-upload",sa="cms-media-upload-service-asset-upload",vn="cms-media-upload-service-asset-upload-only",Br="cms-media-upload-service-asset-processing-only",Oi="cms-add-section-from-catalog",Zi={LIST:"list",GRID:"grid",PRODUCT:"product"},wi=Zi,Ri=e(659701),pr=e.n(Ri),jr=p()({},pr().CHOWNOW,{serviceId:pr().CHOWNOW,displayName:"ChowNow",defaultLinkTitle:"Order Now",slug:"chownow"}),fr=jr,Ca={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__"},Ji=Ca,_i={DEFAULT:0,ICON:1},oi=_i,sn;(function(Fe){Fe.DESKTOP="desktop",Fe.PHONE="phone",Fe.TABLET="tablet"})(sn||(sn={}));var pa=sn,Yi="domains-open-search-initialized",si="domains-open-search-dsc-initialized",Kr="domains-perform-search-interactive",ki="domains-perform-search-first-available-result",Da="domains-perform-search-stable",ga="domains-perform-display-results",qi="frame-toolbar-desktop",Yr=e(365270),qe={NEWSLETTER_OVERLAY_NODE_ID:"overlayNewsletterEmail"},He=qe,Re=e(904156),De=e.n(Re),$e=e(762379),Je={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"]};$e.default.isFeatureEnabled(De().VANILLA_FORM_HANDLER)&&Je.textarea.push("maxLength");var It=Je,Pt={BUILD:1,STORAGE:2,ADVANCED:3,CAPTCHA:4,DISCLAIMER:5},tn=Pt,kt={DEFAULT_SLIDER_ASPECT_RATIO:50,RERENDER_ATTR_WHITELIST:["aspectRatio","auto
81play","autoplay-duration","lightbox","lightboxTheme","methodOption","padding","thumbnail-strip-height","thumbnail-strip-margin","transientGallery","vSize"]},bn=kt,kn={IMAGE_EMPTY:"imageEmpty",IMAGE_FILE:"imageFile",IMAGE_LICENSED:"imageLicensed",IMAGE_REUSED:"imageReused",ASSET_REUSED:"assetReused",VIDEO:"video"},Ar=kn,Ir=e(795478),qr="/api/google-maps/places/autocomplete",ni="/api/google-maps/places/details",Vr=(0,Ir.shape)({productPage:Ir.string.isRequired,productSection:Ir.string.isRequired}),zr="sqs-prevent-block-focus-change",ui="escmanager-ignore",ea=[zr,ui],li=ea.join(" "),Jn="sqs-block-html",Zr={body:{raw:!1,layout:{columns:12,rows:[]}}},ma={FROM_WYSIWYG:"fromWysiwyg",FROM_DIALOG:"fromDialog"},Pa={FROM_DIALOG:p()({},ma.FROM_DIALOG,!0),FROM_WYSIWYG:p()({},ma.FROM_WYSIWYG,!0)},oe=[".".concat(zr),"#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(", "),we={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"]},nt=we,Qt={CLOSED_DATE:"date-closed",KEY:"squarespace-popup-overlay",VERSION:"version",SUBMITTED:"submitted"},On={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"},Mn=On,hi="js-space-around-frame",gr="js-section-editor-frame-overlay",dr=["colors.defaultThemeId","fonts.activeThemeId","colors.palette","colors.themes","fonts.themes","fonts.fontUsageCategories"],pi={SITE_AESTHETICS_DIRTY_PATHS:dr},Mi=e(781144),An=e.n(Mi),ci={heading:An().HEADING,"sub-heading":An().SUB_HEADING,body:An().BODY,image:An().IMAGE,gallery:An().GALLERY,video:An().VIDEO,"social-icons":An().SOCIAL_ICONS,buttons:An().BUTTONS,navigation:An().NAVIGATION,"custom-form":An().CUSTOM_FORM,newsletter:An().NEWSLETTER,album:An().ALBUM,map:An().MAP,lock:An().LOCK,password:An().PASSWORD,twitter:An().TWITTER,logo:An().LOGO,action:An().ACTION,"popup-overlay-action":An().POPUP_OVERLAY_ACTION,"temp-lock-inject":An().TEMP_LOCK_INJECT,"sso-options":An().SSO_OPTIONS},Vn=ci,wn,mo=(wn={},p()(wn,An().HEADING,"heading"),p()(wn,An().SUB_HEADING,"sub-heading"),p()(wn,An().BODY,"body"),p()(wn,An().IMAGE,"image"),p()(wn,An().GALLERY,"gallery"),p()(wn,An().VIDEO,"video"),p()(wn,An().SOCIAL_ICONS,"social-icons"),p()(wn,An().BUTTONS,"buttons"),p()(wn,An().NAVIGATION,"navigation"),p()(wn,An().CUSTOM_FORM,"custom-form"),p()(wn,An().NEWSLETTER,"newsletter"),p()(wn,An().ALBUM,"album"),p()(wn,An().MAP,"map"),p()(wn,An().LOCK,"lock"),p()(wn,An().PASSWORD,"password"),p()(wn,An().TWITTER,"twitter"),p()(wn,An().LOGO,"logo"),p()(wn,An().ACTION,"action"),p()(wn,An().POPUP_OVERLAY_ACTION,"popup-overlay-action"),p()(wn,An().TEMP_LOCK_INJECT,"temp-lock-inject"),wn),yo=mo,Xo=e(721485),Ta=e.n(Xo),_r,Wa=(_r={},p()(_r,Ta().COVER_PAGE,"cover-page"),p()(_r,Ta().LOCK_SCREEN,"lock-screen"),p()(_r,Ta().POPUP_OVERLAY,"popup-overlay"),p()(_r,Ta().SSO_SCREEN,"sso-screen"),_r),Eo=Wa,Aa=W()(Eo),Rr;(function(Fe){Fe.A="cohort-A",Fe.B="cohort-B",Fe.C="cohort-C",Fe.D="cohort-D",Fe.E="cohort-E"})(Rr||(Rr={}));var ka=Rr,ya={URL_SLUG:"url-slug",URL_SLUG_WITH_SLASH:"url-slug-with-slash"},Ha=ya,Ci={CHANGE:"tweak:change",CLOSE:"tweak:close",SAVE:"tweak:save",RESET:"tweak:reset",AFTER_SHOW:"tweak:aftershow",AFTER_CLOSE:"tweak:afterclose",BEFORE_OPEN:"tweak:beforeopen"},ri=Ci,Ka={SPLASH_PAGE:"SPLASH_PAGE",LOCK_SCREEN:"LOCK_SCREEN",POPUP_OVERLAY:"POPUP_OVERLAY",CHECKOUT:"CHECKOUT",STYLE:"STYLE",SSO_PAGE:"SSO_PAGE"},Te=Ka,Ce="ss",xe="BInhlQ%2Bl4i%2FTK2LNzmpe2QC%2Bdl6Qc7iJa15oy7OfSGK%2BY7lwDRam4FlQCIzQGEqAiJZo10MshaDLZWgX%2FckdPK0bOW%2FAfpkj2O5MO1d7Aul7v1RGoa7OBxfdciGAxZqjHAPKKo0fqkxxKF%2F9mM9JjA%3D%3D",Ze={AUTH_ID:Ce,AUTH_TOKEN:xe},at;(function(Fe){Fe[Fe.BYTES_IN_MB=1e6]="BYTES_IN_MB"})(at||(at={}));var gt=at},895786:function(y,l,e){"use strict";var a=e(875832);
81Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0,e(392338),e(392338),e(392338),e(392338),e(392338);var n=a(e(858240)),o=a(e(4636)),t=a(e(346797)),r=a(e(134521)),i=e(530653),c=e(441127);e(607025);var d=100,u=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return v>d?"".concat(d,"+"):v.toString()},s=function(){var v=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return v>d?(0,c.pluralize)({one:"More than one item in cart",other:"More than {%n} items in cart"},d,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,c.pluralize)({one:"One item in cart",other:"{%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 N items.",project:"website.CartPage"})},f=function(){function p(v){(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=v,this.containerEl.classList.add(p.CLASSNAME),this.containerEl.setAttribute("data-test","continue-to-cart"),this.containerEl.setAttribute("aria-label",s(0)),this.quantityEl=v.getElementsByClassName(p.QUANTITY_CLASSNAME)[0],this.subtotalEl=v.getElementsByClassName(p.SUBTOTAL_CLASSNAME)[0]}return(0,o.default)(p,[{key:"sync",value:function(g){var m=g.items,b=m===void 0?0:m,C=g.subtotal,A=C===void 0?"":C;!this.initialized&&this.containerEl&&(this.containerEl.classList.add(p.INITIALIZED_CLASS),this.initialized=!0),this.containerEl&&(this.quantityEl?(b===0?this.containerEl.classList.add(i.TEMPLATE_CART_EMPTY_CLASS):this.containerEl.classList.remove(i.TEMPLATE_CART_EMPTY_CLASS),this.quantityEl.textContent=u(b),this.containerEl.setAttribute("aria-label",s(b))):this.containerEl.setAttribute("aria-label",(0,c.t)("Cart",null,{notes:"Shopping cart label",project:"website.CartPage"}))),this.subtotalEl&&(this.subtotalEl.textContent=A)}}],[{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,b=g;m<b.length;m++){var C=b[m];p.instances.push(new p(C))}}},{key:"isInstanceVisible",value:function(g){var m=g.containerEl;return m&&m.clientWidth&&m.clientHeight&&m.getBoundingClientRect().top>0}},{key:"removePopoverIfExists",value:function(){p.popover&&(p.popover.remove(),p.popover=null)}},{key:"showAddedItemPopover",value:function(g){var m,b=p.createProductAddedToCartPopover(g.title),C=null,A=null,_=(0,r.default)(function(){p.popover&&(A&&A.getBoundingClientRect().top<=0&&p.setPopoverToTopRight(),p.instances.forEach(function(P){if(p.isInstanceVisible(P)){var T=P.containerEl;A=T,C=P,p.snapPopoverToCart(P,p.popover)}}))},100);p.popover&&window.removeEventListener("scroll",_),p.removePopoverIfExists(),p.popover=b,p.instances.forEach(function(P){if(p.isInstanceVisible(P)){var T=P.containerEl;A=T,C=P}}),p.popover.querySelector(".close").addEventListener("click",function(P){p.removePopoverIfExists(),window.removeEventListener("scroll",_)}),window.addEventListener("scroll",_),setTimeout(function(){p.removePopoverIfExists(),window.removeEventListener("scroll",_)},3e3),A&&C?p.snapPopoverToCart(C,b):p.setPopoverToTopRight(),(m=document.querySelector(".products.products-list"))===null||m===void 0||m.append(p.popover),b.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 b,C,A=g.containerEl,_=A==null?void 0:A.parentNode,P=A;if(P){var T=P.getBoundingClientRect();if(_!=null&&_.classList.contains("floating-cart")){T=_==null?void 0:_.getBoundingClientRect(),m.style.bottom="".concat(T.bottom-T.top+33,"px"),m.style.right="".concat(window.innerWidth-T.right,"px");return}
81var x=(b=document.querySelector("header"))===null||b===void 0||(C=b.getBoundingClientRect())===null||C===void 0?void 0:C.height,M=T.top+T.height,U=16;x?M=x+U:M+=U,m.style.marginTop="0",m.style.top="".concat(M,"px")}}},{key:"createProductAddedToCartPopover",value:function(g){var m=(0,c.t)("{productName} was added to your cart.",{productName:g},{project:"website.CartPage"}),b=(0,c.t)("Close",null,{project:"website.CartPage"}),C=document.createElement("div"),A=document.createElement("p"),_=document.createElement("span");return C.classList.add("template-cart-item-added-popover","hidden"),_.classList.add("close"),A.append(m),_.setAttribute("aria-label",b),_.setAttribute("role","button"),_.innerHTML='<svg color="gray.100" fill="currentColor" height="28" viewBox="0 0 22 22" width="28" xmlns="http://www.w3.org/2000/svg" role="img" class="css-1fy6kej"><path d="M11 12.414l-3.293 3.293-1.414-1.414L9.586 11 6.293 7.707l1.414-1.414L11 9.586l3.293-3.293 1.414 1.414L12.414 11l3.293 3.293-1.414 1.414L11 12.414z"></path></svg>',C.append(A),C.append(_),C}},{key:"unmountAll",value:function(){p.instances=[]}}]),p}();l.default=f,(0,t.default)(f,"CONTAINER_CLASSNAME",i.TEMPLATE_CART_CONTAINER_CLASS),(0,t.default)(f,"QUANTITY_CLASSNAME",i.TEMPLATE_CART_QUANTITY_CLASS),(0,t.default)(f,"SUBTOTAL_CLASSNAME",i.TEMPLATE_CART_SUBTOTAL_CLASS),(0,t.default)(f,"CLASSNAME",i.TEMPLATE_CART_CLASS),(0,t.default)(f,"INITIALIZED_CLASS",i.TEMPLATE_CART_INITIALIZED_CLASS),(0,t.default)(f,"instances",[]),(0,t.default)(f,"popover",null),y.exports=l.default},441127:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),l.t=l.pluralize=l.parseNumber=l.getCurrencySymbol=l.formatRelativeTime=l.formatQuantity=l.formatNumber=l.formatMoney=l.formatIcuMessage=l.formatDateTime=l.formatCurrencyToParts=l.formatCurrency=l.T=void 0;var n=a(e(933452)),o=a(e(63488)),t=a(e(56827)),r=e(572904),i=(0,r.getI18nInstance)(),c=new t.default(i),d=new n.default(i),u=new o.default(i),s=d.formatIcuMessage;l.formatIcuMessage=s;var f=u.parseNumber;l.parseNumber=f;var p=i.formatNumber,v=i.formatCurrency,g=i.formatCurrencyToParts,m=i.getCurrencySymbol,b=i.formatQuantity,C=i.formatDateTime,A=i.formatRelativeTime,_=i.translate,P=i.pluralize,T=i.formatMoney;l.formatMoney=T,l.pluralize=P,l.t=_,l.formatRelativeTime=A,l.formatDateTime=C,l.formatQuantity=b,l.getCurrencySymbol=m,l.formatCurrencyToParts=g,l.formatCurrency=v,l.formatNumber=p;var x=c.T;l.T=x},572904:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var a=e(63571),n="website.CartPage";function o(c){return e(314909)("./".concat(n,".").concat(c,".yaml"))}var t=(0,a.setupLibrary)(n,o),r=t.getI18nInstance,i=t.setI18nInstance;l.setI18nInstance=i,l.getI18nInstance=r},530653:function(y,l){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.TEMPLATE_CART_SUBTOTAL_CLASS=l.TEMPLATE_CART_QUANTITY_CLASS=l.TEMPLATE_CART_INITIALIZED_CLASS=l.TEMPLATE_CART_INDICATOR_CLASS=l.TEMPLATE_CART_EMPTY_CLASS=l.TEMPLATE_CART_CONTAINER_CLASS=l.TEMPLATE_CART_CLASS=l.FULL_PAGE_CART_ROOT_ID=l.FULL_PAGE_CART_CONTAINER_ID=void 0;var e="sqs-cart-root";l.FULL_PAGE_CART_ROOT_ID=e;var a="sqs-cart-container";l.FULL_PAGE_CART_CONTAINER_ID=a;var n="sqs-has-custom-cart";l.TEMPLATE_CART_INDICATOR_CLASS=n;var o="sqs-custom-cart";l.TEMPLATE_CART_CONTAINER_CLASS=o;var t="sqs-template-integrated-shopping-cart";l.TEMPLATE_CART_CLASS=t;var r="sqs-cart-initialized";l.TEMPLATE_CART_INITIALIZED_CLASS=r;var i="sqs-cart-quantity";l.TEMPLATE_CART_QUANTITY_CLASS=i;var c="sqs-cart-subtotal";l.TEMPLATE_CART_SUBTOTAL_CLASS=c;var d="cart-quantity-zero";l.TEMPLATE_CART_EMPTY_CLASS=d},719540:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var a=e(530653),n=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:window;return!!t.document.getElementById(a.FULL_PAGE_CART_ROOT_ID)};l.default=n,y.exports=l.default},90642:function(y,l,e){"use strict";var a=e(875832);Object.defineProperty(l,"__esModule",{value:!0}),Object.defineProperty(l,"TemplateCart",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(l,"isCartPage",{enumerable:!0,get:function(){return n.default}});var n=a(e(719540)),o=a(e(895786))},314909:function(y,l,e){var a={"./website.CartPage.en-US.yaml":228946,"src/main/webapp/frontend/website/commerce-cart/sqs-i18n-translations/strings/website.CartPage.en-US.yaml":228946};function n(t){var r=o(t);return e(r)}function o(t){if(!e.o(a,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,y.exports=n,n.id=314909},602775:function(y,l,e){"use strict";var a=e(875832);
81Object.defineProperty(l,"__esModule",{value:!0}),l.default=void 0;var n=a(e(508669)),o=function(){return n.default.createElement("div",null,"The new cookie banner")},t=o;l.default=t,y.exports=l.default},206158:function(y,l,e){"use strict";Object.defineProperty(l,"__esModule",{value:!0}),l.setI18nInstance=l.getI18nInstance=void 0;var a=e(63571),n="website.ProductReviews";function o(c){return e(801252)("./".concat(n,".").concat(c,".yaml"))}var t=(0,a.setupLibrary)(n,o),r=t.getI18nInstance,i=t.setI18nInstance;l.setI18nInstance=i,l.getI18nInstance=r},801252:function(y,l,e){var a={"./website.ProductReviews.en-US.yaml":859094,"src/main/webapp/frontend/website/product-reviews/sqs-i18n-translations/strings/website.ProductReviews.en-US.yaml":859094};function n(t){var r=o(t);return e(r)}function o(t){if(!e.o(a,t)){var r=new Error("Cannot find module '"+t+"'");throw r.code="MODULE_NOT_FOUND",r}return a[t]}n.keys=function(){return Object.keys(a)},n.resolve=o,y.exports=n,n.id=801252},232630:function(){(function(){function y(l){l.Modernizr=function(e,a,n){var o="2.8.3",t={},r=!0,i=a.documentElement,c="modernizr",d=a.createElement(c),u=d.style,s=a.createElement("input"),f=":)",p={}.toString,v=" -webkit- -moz- -o- -ms- ".split(" "),g="Webkit Moz O ms",m=g.split(" "),b=g.toLowerCase().split(" "),C={svg:"http://www.w3.org/2000/svg"},A={},_={},P={},T=[],x=T.slice,M,U=function(le,se,ae,pe){c+="x";var Pe,ve,Me,ht,xt=a.createElement("div"),At=a.body,Bt=At||a.createElement("body");if(parseInt(ae,10))for(;ae--;)Me=a.createElement("div"),Me.id=pe?pe[ae]:c+(ae+1),xt.appendChild(Me);return Pe=["&#173;",'<style id="s',c,'">',le,"</style>"].join(""),xt.id=c,(At?xt:Bt).innerHTML+=Pe,Bt.appendChild(xt),At||(Bt.style.background="",Bt.style.overflow="hidden",ht=i.style.overflow,i.style.overflow="hidden",i.appendChild(Bt)),ve=se(xt,le),At?(xt.style.display="none",e.setTimeout(function(){xt.parentNode.removeChild(xt)},1e3)):(Bt.parentNode.removeChild(Bt),i.style.overflow=ht),!!ve},j=function(){var le={select:"input",change:"input",submit:"form",reset:"form",error:"img",load:"img",abort:"img"};function se(ae,pe){pe=pe||a.createElement(le[ae]||"div"),ae="on"+ae;var Pe=ae in pe;return Pe||(pe.setAttribute||(pe=a.createElement("div")),pe.setAttribute&&pe.removeAttribute&&(pe.setAttribute(ae,""),Pe=W(pe[ae],"function"),W(pe[ae],"undefined")||(pe[ae]=n),pe.removeAttribute(ae))),pe=null,Pe}return se}(),$={}.hasOwnProperty,G;!W($,"undefined")&&!W($.call,"undefined")?G=function(le,se){return $.call(le,se)}:G=function(le,se){return se in le&&W(le.constructor.prototype[se],"undefined")},Function.prototype.bind||(Function.prototype.bind=function(se){var ae=this;if(typeof ae!="function")throw new TypeError;var pe=x.call(arguments,1),Pe=function(){if(this instanceof Pe){var ve=function(){};ve.prototype=ae.prototype;var Me=new ve,ht=ae.apply(Me,pe.concat(x.call(arguments)));return Object(ht)===ht?ht:Me}else return ae.apply(se,pe.concat(x.call(arguments)))};return Pe});function J(le){u.cssText=le}function ie(le,se){return J(v.join(le+";")+(se||""))}function W(le,se){return typeof le===se}function q(le,se){return!!~(""+le).indexOf(se)}function H(le,se){for(var ae in le){var pe=le[ae];if(!q(pe,"-")&&u[pe]!==n)return se=="pfx"?pe:!0}return!1}function X(le,se,ae){for(var pe in le){var Pe=se[le[pe]];if(Pe!==n)return ae===!1?le[pe]:W(Pe,"function")?Pe.bind(ae||se):Pe}return!1}function k(le,se,ae){var pe=le.charAt(0).toUpperCase()+le.slice(1),Pe=(le+" "+m.join(pe+" ")+pe).split(" ");return W(se,"string")||W(se,"undefined")?H(Pe,se):(Pe=(le+" "+b.join(pe+" ")+pe).split(" "),X(Pe,se,ae))}A.flexbox=function(){return k("flexWrap")},A.canvas=function(){var le=a.createElement("canvas");return!!(le.getContext&&le.getContext("2d"))},A.canvastext=function(){return!!(t.canvas&&W(a.createElement("canvas").getContext("2d").fillText,"function"))},A.webgl=function(){return!!e.WebGLRenderingContext},A.touch=function(){var le;return"ontouchstart"in e||e.DocumentTouch&&a instanceof DocumentTouch?le=!0:U(["@media (",v.join("touch-enabled),("),c,")","{#modernizr{top:9px;position:absolute}}"].join(""),function(se){le=se.offsetTop===9}),le}
81,A.hashchange=function(){return j("hashchange",e)&&(a.documentMode===n||a.documentMode>7)},A.history=function(){return!!(e.history&&history.pushState)},A.draganddrop=function(){var le=a.createElement("div");return"draggable"in le||"ondragstart"in le&&"ondrop"in le},A.rgba=function(){return J("background-color:rgba(150,255,150,.5)"),q(u.backgroundColor,"rgba")},A.hsla=function(){return J("background-color:hsla(120,40%,100%,.5)"),q(u.backgroundColor,"rgba")||q(u.backgroundColor,"hsla")},A.multiplebgs=function(){return J("background:url(https://),url(https://),red url(https://)"),/(url\s*\(.*?){3}/.test(u.background)},A.backgroundsize=function(){return k("backgroundSize")},A.borderimage=function(){return k("borderImage")},A.borderradius=function(){return k("borderRadius")},A.boxshadow=function(){return k("boxShadow")},A.textshadow=function(){return a.createElement("div").style.textShadow===""},A.opacity=function(){return ie("opacity:.55"),/^0.55$/.test(u.opacity)},A.cssanimations=function(){return k("animationName")},A.csscolumns=function(){return k("columnCount")},A.cssgradients=function(){var le="background-image:",se="gradient(linear,left top,right bottom,from(#9f9),to(white));",ae="linear-gradient(left top,#9f9, white);";return J((le+"-webkit- ".split(" ").join(se+le)+v.join(ae+le)).slice(0,-le.length)),q(u.backgroundImage,"gradient")},A.cssreflections=function(){return k("boxReflect")},A.csstransforms=function(){return!!k("transform")},A.csstransforms3d=function(){var le=!!k("perspective");return le&&"webkitPerspective"in i.style&&U("@media (transform-3d),(-webkit-transform-3d){#modernizr{left:9px;position:absolute;height:3px;}}",function(se,ae){le=se.offsetLeft===9&&se.offsetHeight===3}),le},A.csstransitions=function(){return k("transition")},A.video=function(){var le=a.createElement("video"),se=!1;try{(se=!!le.canPlayType)&&(se=new Boolean(se),se.ogg=le.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,""),se.h264=le.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,""),se.webm=le.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,""))}catch(ae){}return se},A.audio=function(){var le=a.createElement("audio"),se=!1;try{(se=!!le.canPlayType)&&(se=new Boolean(se),se.ogg=le.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,""),se.mp3=le.canPlayType("audio/mpeg;").replace(/^no$/,""),se.wav=le.canPlayType('audio/wav; codecs="1"').replace(/^no$/,""),se.m4a=(le.canPlayType("audio/x-m4a;")||le.canPlayType("audio/aac;")).replace(/^no$/,""))}catch(ae){}return se},A.svg=function(){return!!a.createElementNS&&!!a.createElementNS(C.svg,"svg").createSVGRect},A.inlinesvg=function(){var le=a.createElement("div");return le.innerHTML="<svg/>",(le.firstChild&&le.firstChild.namespaceURI)==C.svg},A.svgclippaths=function(){return!!a.createElementNS&&/SVGClipPath/.test(p.call(a.createElementNS(C.svg,"clipPath")))};function ne(){t.input=function(le){for(var se=0,ae=le.length;se<ae;se++)P[le[se]]=le[se]in s;return P.list&&(P.list=!!(a.createElement("datalist")&&e.HTMLDataListElement)),P}("autocomplete autofocus list placeholder max min multiple pattern required step".split(" ")),t.inputtypes=function(le){for(var se=0,ae,pe,Pe,ve=le.length;se<ve;se++)s.setAttribute("type",pe=le[se]),ae=s.type!=="text",ae&&(s.value=f,s.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(pe)&&s.style.WebkitAppearance!==n?(i.appendChild(s),Pe=a.defaultView,ae=Pe.getComputedStyle&&Pe.getComputedStyle(s,null).WebkitAppearance!=="textfield"&&s.offsetHeight!==0,i.removeChild(s)):/^(search|tel)$/.test(pe)||(/^(url|email)$/.test(pe)?ae=s.checkValidity&&s.checkValidity()===!1:ae=s.value!=f)),_[le[se]]=!!ae;return _}("search tel url email datetime date month week time datetime-local number range color".split(" "))}for(var re in A)G(A,re)&&(M=re.toLowerCase(),t[M]=A[re](),T.push((t[M]?"":"no-")+M));return t.input||ne(),t.addTest=function(le,se){if(typeof le=="object")for(var ae in le)G(le,ae)&&t.addTest(ae,le[ae]);else{if(le=le.toLowerCase(),t[le]!==n)return t;se=typeof se=="function"?se():se,typeof r!="undefined"&&r&&(i.className+=" "+(se?"":"no-")+le),t[le]=se}return t},J(""),d=s=null,t._version=o,t._prefixes=v,t._domPrefixes=b,t._cssomPrefixes=m,t.hasEvent=j,t.testProp=function(le){return H([le])},t.testAllProps=k,t.testStyles=U,i.className=i.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+(r?" js "+T.join(" "):""),t}(l,l.document)}YUI.add("thirdparty-modernizr",function(l){y(l.config.win)},"1.0",{})})()},392338:function(y){"use strict";y.exports=void 0},82078:function(y,l,e){var a=e(6578);function n(o){if(Array.isArray(o))return a(o)}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},4636:function(y){function l(a,n){for(var o=0;o<n.length;o++){var t=n[o];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(a,t.key,t)}}function e(a,n,o){return n&&l(a.prototype,n),o&&l(a,o),Object.defineProperty(a,"prototype",{writable:!1}),a}y.exports=e,y.exports.__esModule=!0,y.exports.default=y.exports},987195:function(y){function l(){return y.exports=l=Object.assign?Object.assign.bind():function(e){for(var a=1;a<arguments.length;a++){var n=arguments[a];for(var o in n)Object.prototype.hasOwnProperty.call(n,o)&&(e[o]=n[o])}return e},y.exports.__esModule=!0,y.exports.default=y.exports,l.apply(this,arguments)}y.exports=l,y.exports.__esModule=!0,y.exports.default=y.exports},820721:function(y,l,e){var a=e(333852);function n(){return typeof Reflect!="undefined"&&Reflect.get?(y.exports=n=Reflect.get.bind(),y.exports.__esModule=!0,y.exports.default=y.exports
81):(y.exports=n=function(t,r,i){var c=a(t,r);if(c){var d=Object.getOwnPropertyDescriptor(c,r);return d.get?d.get.call(arguments.length<3?t:i):d.value}},y.exports.__esModule=!0,y.exports.default=y.exports),n.apply(this,arguments)}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},221300:function(y){function l(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}y.exports=l,y.exports.__esModule=!0,y.exports.default=y.exports},609893:function(y){function l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}y.exports=l,y.exports.__esModule=!0,y.exports.default=y.exports},432405:function(y,l,e){var a=e(203634);function n(o,t){if(o==null)return{};var r=a(o,t),i,c;if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(o);for(c=0;c<d.length;c++)i=d[c],!(t.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(o,i)&&(r[i]=o[i])}return r}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},203634:function(y){function l(e,a){if(e==null)return{};var n={},o=Object.keys(e),t,r;for(r=0;r<o.length;r++)t=o[r],!(a.indexOf(t)>=0)&&(n[t]=e[t]);return n}y.exports=l,y.exports.__esModule=!0,y.exports.default=y.exports},333852:function(y,l,e){var a=e(506051);function n(o,t){for(;!Object.prototype.hasOwnProperty.call(o,t)&&(o=a(o),o!==null););return o}y.exports=n,y.exports.__esModule=!0,y.exports.default=y.exports},603912:function(y,l,e){var a=e(82078),n=e(221300),o=e(274603),t=e(609893);function r(i){return a(i)||n(i)||o(i)||t()}y.exports=r,y.exports.__esModule=!0,y.exports.default=y.exports},317500:function(y){"use strict";function l(Te,Ce){(Ce==null||Ce>Te.length)&&(Ce=Te.length);for(var xe=0,Ze=new Array(Ce);xe<Ce;xe++)Ze[xe]=Te[xe];return Ze}function e(Te){if(Array.isArray(Te))return Te}function a(Te){if(Array.isArray(Te))return l(Te)}function n(Te,Ce,xe,Ze,at,gt,Fe){try{var qt=Te[gt](Fe),xn=qt.value}catch(mn){xe(mn);return}qt.done?Ce(xn):Promise.resolve(xn).then(Ze,at)}function o(Te){return function(){var Ce=this,xe=arguments;return new Promise(function(Ze,at){var gt=Te.apply(Ce,xe);function Fe(xn){n(gt,Ze,at,Fe,qt,"next",xn)}function qt(xn){n(gt,Ze,at,Fe,qt,"throw",xn)}Fe(void 0)})}}function t(Te,Ce,xe){return Ce in Te?Object.defineProperty(Te,Ce,{value:xe,enumerable:!0,configurable:!0,writable:!0}):Te[Ce]=xe,Te}function r(Te,Ce){return Ce!=null&&typeof Symbol!="undefined"&&Ce[Symbol.hasInstance]?!!Ce[Symbol.hasInstance](Te):Te instanceof Ce}function i(Te){if(typeof Symbol!="undefined"&&Te[Symbol.iterator]!=null||Te["@@iterator"]!=null)return Array.from(Te)}function c(Te,Ce){var xe=Te==null?null:typeof Symbol!="undefined"&&Te[Symbol.iterator]||Te["@@iterator"];if(xe!=null){var Ze=[],at=!0,gt=!1,Fe,qt;try{for(xe=xe.call(Te);!(at=(Fe=xe.next()).done)&&(Ze.push(Fe.value),!(Ce&&Ze.length===Ce));at=!0);}catch(xn){gt=!0,qt=xn}finally{try{!at&&xe.return!=null&&xe.return()}finally{if(gt)throw qt}}return Ze}}function d(){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 u(){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 s(Te){for(var Ce=1;Ce<arguments.length;Ce++){var xe=arguments[Ce]!=null?arguments[Ce]:{},Ze=Object.keys(xe);typeof Object.getOwnPropertySymbols=="function"&&(Ze=Ze.concat(Object.getOwnPropertySymbols(xe).filter(function(at){return Object.getOwnPropertyDescriptor(xe,at).enumerable}))),Ze.forEach(function(at){t(Te,at,xe[at])})}return Te}function f(Te,Ce){if(Te==null)return{};var xe=p(Te,Ce),Ze,at;if(Object.getOwnPropertySymbols){var gt=Object.getOwnPropertySymbols(Te);for(at=0;at<gt.length;at++)Ze=gt[at],!(Ce.indexOf(Ze)>=0)&&Object.prototype.propertyIsEnumerable.call(Te,Ze)&&(xe[Ze]=Te[Ze])}return xe}function p(Te,Ce){if(Te==null)return{};var xe={},Ze=Object.keys(Te),at,gt;for(gt=0;gt<Ze.length;gt++)at=Ze[gt],!(Ce.indexOf(at)>=0)&&(xe[at]=Te[at]);return xe}function v(Te,Ce){return e(Te)||c(Te,Ce)||m(Te,Ce)||d()}function g(Te){return a(Te)||i(Te)||m(Te)||u()}function m(Te,Ce){if(Te){if(typeof Te=="string")return l(Te,Ce);var xe=Object.prototype.toString.call(Te).slice(8,-1);
81if(xe==="Object"&&Te.constructor&&(xe=Te.constructor.name),xe==="Map"||xe==="Set")return Array.from(xe);if(xe==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(xe))return l(Te,Ce)}}function b(Te,Ce){var xe,Ze,at,gt,Fe={label:0,sent:function(){if(at[0]&1)throw at[1];return at[1]},trys:[],ops:[]};return gt={next:qt(0),throw:qt(1),return:qt(2)},typeof Symbol=="function"&&(gt[Symbol.iterator]=function(){return this}),gt;function qt(mn){return function($n){return xn([mn,$n])}}function xn(mn){if(xe)throw new TypeError("Generator is already executing.");for(;Fe;)try{if(xe=1,Ze&&(at=mn[0]&2?Ze.return:mn[0]?Ze.throw||((at=Ze.return)&&at.call(Ze),0):Ze.next)&&!(at=at.call(Ze,mn[1])).done)return at;switch(Ze=0,at&&(mn=[mn[0]&2,at.value]),mn[0]){case 0:case 1:at=mn;break;case 4:return Fe.label++,{value:mn[1],done:!1};case 5:Fe.label++,Ze=mn[1],mn=[0];continue;case 7:mn=Fe.ops.pop(),Fe.trys.pop();continue;default:if(at=Fe.trys,!(at=at.length>0&&at[at.length-1])&&(mn[0]===6||mn[0]===2)){Fe=0;continue}if(mn[0]===3&&(!at||mn[1]>at[0]&&mn[1]<at[3])){Fe.label=mn[1];break}if(mn[0]===6&&Fe.label<at[1]){Fe.label=at[1],at=mn;break}if(at&&Fe.label<at[2]){Fe.label=at[2],Fe.ops.push(mn);break}at[2]&&Fe.ops.pop(),Fe.trys.pop();continue}mn=Ce.call(Te,Fe)}catch($n){mn=[6,$n],Ze=0}finally{xe=at=0}if(mn[0]&5)throw mn[1];return{value:mn[0]?mn[1]:void 0,done:!0}}}var C=Object.defineProperty,A=Object.getOwnPropertyDescriptor,_=Object.getOwnPropertyNames,P=Object.prototype.hasOwnProperty,T=function(Te,Ce){return function(){return Te&&(Ce=(0,Te[_(Te)[0]])(Te=0)),Ce}},x=function(Te,Ce){for(var xe in Ce)C(Te,xe,{get:Ce[xe],enumerable:!0})},M=function(Te,Ce,xe,Ze){if(Ce&&typeof Ce=="object"||typeof Ce=="function"){var at=!0,gt=!1,Fe=void 0;try{for(var qt=function(){var $n=mn.value;!P.call(Te,$n)&&$n!==xe&&C(Te,$n,{get:function(){return Ce[$n]},enumerable:!(Ze=A(Ce,$n))||Ze.enumerable})},xn=_(Ce)[Symbol.iterator](),mn;!(at=(mn=xn.next()).done);at=!0)qt()}catch($n){gt=!0,Fe=$n}finally{try{!at&&xn.return!=null&&xn.return()}finally{if(gt)throw Fe}}}return Te},U=function(Te){return M(C({},"__esModule",{value:!0}),Te)},j,$=T({
vendor: 368 bytes, line 81
81"../../node_modules/.pnpm/[email protected]/node_modules/nanoid/url-alphabet/index.js":function(){"use strict";j="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}}),G={};x(G,{customAlphabet:function(){return W},customRandom:function(){return ie},nanoid:function(){return q},random:function(){return J},urlAlphabet:function(){return j}});var J,ie,W,q,H=T({
vendor: 809 bytes, line 81
81"../../node_modules/.pnpm/[email protected]/node_modules/nanoid/index.browser.js":function(){"use strict";$(),J=function(Te){return crypto.getRandomValues(new Uint8Array(Te))},ie=function(Te,Ce,xe){var Ze=(2<<Math.log(Te.length-1)/Math.LN2)-1,at=-~(1.6*Ze*Ce/Te.length);return function(){for(var gt=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ce,Fe="";;)for(var qt=xe(at),xn=at;xn--;)if(Fe+=Te[qt[xn]&Ze]||"",Fe.length===gt)return Fe}},W=function(Te){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:21;return ie(Te,Ce,J)},q=function(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:21;return crypto.getRandomValues(new Uint8Array(Te)).reduce(function(Ce,xe){return xe&=63,xe<36?Ce+=xe.toString(36):xe<62?Ce+=(xe-26).toString(36).toUpperCase():xe>62?Ce+="-":Ce+="_",Ce},"")}}
81}),X={};x(X,{RUM_PREFIX:function(){return oe},default:function(){return Ka},getA11yData:function(){return $e},getCumulativeLayoutShift:function(){return si},getDomainLookup:function(){return Lt},getFirstContentfulPaint:function(){return Kr},getFirstInputDelay:function(){return ki},getInteractionToNextPaint:function(){return Da},getLargestContentfulPaint:function(){return ga},getNavigationTimingType:function(){return jt},getPerformanceMetrics:function(){return He},getServerTiming:function(){return Xe},getTcpConnection:function(){return zt},getTlsNegotiation:function(){return nn},init:function(){return Aa},mark:function(){return nt},measure:function(){return Qt},trackEventsV2Factory:function(){return Ha},trackLoadPerformance:function(){return ri},trackSqspImages:function(){return Jn}}),y.exports=U(X);var k={};x(k,{getCumulativeLayoutShift:function(){return si},getDomainLookup:function(){return Lt},getFirstContentfulPaint:function(){return Kr},getFirstInputDelay:function(){return ki},getInteractionToNextPaint:function(){return Da},getLargestContentfulPaint:function(){return ga},getNavigationTimingType:function(){return jt},getServerTiming:function(){return Xe},getTcpConnection:function(){return zt},getTlsNegotiation:function(){return nn}});var ne="/api/1/performance/records",re="load",le="visibilitychange",se=["Tab","ArrowDown","ArrowLeft","ArrowRight","ArrowUp","End","Home","PageDown","PageUp"," ","Enter"],ae="SS_MID",pe="SS_ANALYTICS_ID",Pe=3e4,ve=/(iPhone|iPod|iPad) OS ((1[0-2])|[2-9])_\d+.*AppleWebKit(?!.*Safari)/i,Me="4.12.1",ht=function(Te){return function(){for(var Ce=arguments.length,xe=new Array(Ce),Ze=0;Ze<Ce;Ze++)xe[Ze]=arguments[Ze];return new Promise(function(at,gt){try{Te.apply(void 0,[function(Fe){at(Fe)}].concat(g(xe)))}catch(Fe){gt(Fe)}})}},xt=function(Te){return ht(setTimeout)(Te)},At=function(){return ht(function(Te){var Ce=function(xe){(xe.type==="pagehide"||document.visibilityState==="hidden")&&(Te(xe),removeEventListener("visibilitychange",Ce,!0),removeEventListener("pagehide",Ce,!0))};window.addEventListener("visibilitychange",Ce,!0),window.addEventListener("pagehide",Ce,!0)})()},Bt=function(Te){document.readyState==="complete"?window.setTimeout(Te,0):window.addEventListener("pageshow",Te,{once:!0})},en=function(){return ht(Bt)},Vt=function(){var Te={entryType:"navigation",startTime:0},Ce=performance.timing;for(var xe in Ce)if(xe!=="navigationStart"&&xe!=="toJSON"){var Ze=Math.max(Ce[xe]-Ce.navigationStart,0);Te[xe]=Ze}return Te},be=function(){var Te=o(function(){var Ce,xe;return b(this,function(Ze){switch(Ze.label){case 0:return[4,en()];case 1:return Ze.sent(),Ce=v(window.performance.getEntriesByType("navigation"),1),xe=Ce[0],[2,xe!=null?xe:Vt()]}})});return function(){return Te.apply(this,arguments)}}(),Le=function(){var Te=o(function(Ce){var xe,Ze;return b(this,function(at){switch(at.label){case 0:return[4,be()];case 1:return xe=at.sent(),Ze=xe[Ce],typeof Ze!="number"||Ze<0||Ze>2147483647?[2]:[2,Math.round(Ze)]}})});return function(xe){return Te.apply(this,arguments)}}(),Oe=function(){var Te=o(function(){var Ce;return b(this,function(xe){switch(xe.label){case 0:return[4,be()];case 1:return Ce=xe.sent(),[2,Ce.serverTiming]}})});return function(){return Te.apply(this,arguments)}}(),yt=function(){var Te=o(function(Ce){var xe,Ze;return b(this,function(at){switch(at.label){case 0:return[4,be()];case 1:return xe=at.sent(),Ze=xe[Ce],typeof Ze!="string"?[2]:[2,Ze]}})});return function(xe){return Te.apply(this,arguments)}}(),wt=function(Te,Ce){if(typeof Te=="number"&&typeof Ce=="number"&&Te>=Ce)return Te-Ce},Lt=function(Te){return Promise.all([Le("domainLookupEnd"),Le("domainLookupStart")]).then(function(Ce){var xe=v(Ce,2),Ze=xe[0],at=xe[1];Te({domainLookup:wt(Ze,at)})})},jt=function(Te){return yt("type").then(function(Ce){Te({navigationTimingType:Ce})})},Xe=function(Te){return Oe().then(function(Ce){Te({serverTiming:JSON.stringify(Ce)})})},zt=function(Te){return Promise.all([Le("connectEnd"),Le("connectStart")]).then(function(Ce){var xe=v(Ce,2),Ze=xe[0],at=xe[1];Te({tcpConnection:wt(Ze,at)})})}
vendor: 4,250 bytes, line 81
81,nn=function(Te){return Promise.all([Le("connectEnd"),Le("secureConnectionStart")]).then(function(Ce){var xe=v(Ce,2),Ze=xe[0],at=xe[1];Te({tlsNegotiation:wt(Ze,at)})})},st,Ut,Jt,on,ln,te=-1,Ee=function(Ce){addEventListener("pageshow",function(xe){xe.persisted&&(te=xe.timeStamp,Ce(xe))},!0)},Ue=function(){return window.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]},ze=function(){var Ce=Ue();return Ce&&Ce.activationStart||0},Ve=function(Ce,xe){var Ze=Ue(),at="navigate";return te>=0?at="back-forward-cache":Ze&&(at=document.prerendering||ze()>0?"prerender":document.wasDiscarded?"restore":Ze.type.replace(/_/g,"-")),{name:Ce,value:xe===void 0?-1:xe,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:at}},fe=function(Ce,xe,Ze){try{if(PerformanceObserver.supportedEntryTypes.includes(Ce)){var at=new PerformanceObserver(function(gt){Promise.resolve().then(function(){xe(gt.getEntries())})});return at.observe(Object.assign({type:Ce,buffered:!0},Ze||{})),at}}catch(gt){}},We=function(Ce,xe,Ze,at){var gt,Fe;return function(qt){xe.value>=0&&(qt||at)&&((Fe=xe.value-(gt||0))||gt===void 0)&&(gt=xe.value,xe.delta=Fe,xe.rating=function(xn,mn){return xn>mn[1]?"poor":xn>mn[0]?"needs-improvement":"good"}(xe.value,Ze),Ce(xe))}},tt=function(Ce){requestAnimationFrame(function(){return requestAnimationFrame(function(){return Ce()})})},St=function(Ce){var xe=function(at){at.type!=="pagehide"&&document.visibilityState!=="hidden"||Ce(at)};addEventListener("visibilitychange",xe,!0),addEventListener("pagehide",xe,!0)},Gt=function(Ce){var xe=!1;return function(Ze){xe||(Ce(Ze),xe=!0)}},Zt=-1,Un=function(){return document.visibilityState!=="hidden"||document.prerendering?1/0:0},Yt=function(Ce){document.visibilityState==="hidden"&&Zt>-1&&(Zt=Ce.type==="visibilitychange"?Ce.timeStamp:0,kr())},jn=function(){addEventListener("visibilitychange",Yt,!0),addEventListener("prerenderingchange",Yt,!0)},kr=function(){removeEventListener("visibilitychange",Yt,!0),removeEventListener("prerenderingchange",Yt,!0)},Jr=function(){return Zt<0&&(Zt=Un(),jn(),Ee(function(){setTimeout(function(){Zt=Un(),jn()},0)})),{get firstHiddenTime(){return Zt}}},Tr=function(Ce){document.prerendering?addEventListener("prerenderingchange",function(){return Ce()},!0):Ce()},Or=[1800,3e3],or=function(Ce,xe){xe=xe||{},Tr(function(){var Ze,at=Jr(),gt=Ve("FCP"),Fe=fe("paint",function(qt){qt.forEach(function(xn){xn.name==="first-contentful-paint"&&(Fe.disconnect(),xn.startTime<at.firstHiddenTime&&(gt.value=Math.max(xn.startTime-ze(),0),gt.entries.push(xn),Ze(!0)))})});Fe&&(Ze=We(Ce,gt,Or,xe.reportAllChanges),Ee(function(qt){gt=Ve("FCP"),Ze=We(Ce,gt,Or,xe.reportAllChanges),tt(function(){gt.value=performance.now()-qt.timeStamp,Ze(!0)})}))})},bi=[.1,.25],zi=function(Ce,xe){xe=xe||{},or(Gt(function(){var Ze,at=Ve("CLS",0),gt=0,Fe=[],qt=function($n){$n.forEach(function(xr){if(!xr.hadRecentInput){var ua=Fe[0],vr=Fe[Fe.length-1];gt&&xr.startTime-vr.startTime<1e3&&xr.startTime-ua.startTime<5e3?(gt+=xr.value,Fe.push(xr)):(gt=xr.value,Fe=[xr])}}),gt>at.value&&(at.value=gt,at.entries=Fe,Ze())},xn=fe("layout-shift",qt);xn&&(Ze=We(Ce,at,bi,xe.reportAllChanges),St(function(){qt(xn.takeRecords()),Ze(!0)}),Ee(function(){gt=0,at=Ve("CLS",0),Ze=We(Ce,at,bi,xe.reportAllChanges),tt(function(){return Ze()})}),setTimeout(Ze,0))}))},aa={passive:!0,capture:!0},oa=new Date,Gi=function(Ce,xe){st||(st=xe,Ut=Ce,Jt=new Date,Pn(removeEventListener),Wi())},Wi=function(){if(Ut>=0&&Ut<Jt-oa){var Ce={entryType:"first-input",name:st.type,target:st.target,cancelable:st.cancelable,startTime:st.timeStamp,processingStart:st.timeStamp+Ut};on.forEach(function(xe){xe(Ce)}),on=[]}},Ae=function(Ce){if(Ce.cancelable){var xe=(Ce.timeStamp>1e12?new Date:performance.now())-Ce.timeStamp;Ce.type=="pointerdown"?function(Ze,at){var gt=function(){Gi(Ze,at),qt()},Fe=function(){qt()},qt=function(){removeEventListener("pointerup",gt,aa),removeEventListener("pointercancel",Fe,aa)};addEventListener("pointerup",gt,aa),addEventListener("pointercancel",Fe,aa)}(xe,Ce):Gi(xe,Ce)}},Pn=function(Ce){["mousedown","keydown","touchstart","pointerdown"].forEach(function(xe){return Ce(xe,Ae,aa)})}
81,Ii=[100,300],Hr=function(Ce,xe){xe=xe||{},Tr(function(){var Ze,at=Jr(),gt=Ve("FID"),Fe=function($n){$n.startTime<at.firstHiddenTime&&(gt.value=$n.processingStart-$n.startTime,gt.entries.push($n),Ze(!0))},qt=function($n){$n.forEach(Fe)},xn=fe("first-input",qt);Ze=We(Ce,gt,Ii,xe.reportAllChanges),xn&&St(Gt(function(){qt(xn.takeRecords()),xn.disconnect()})),xn&&Ee(function(){var mn;gt=Ve("FID"),Ze=We(Ce,gt,Ii,xe.reportAllChanges),on=[],Ut=-1,st=null,Pn(addEventListener),mn=Fe,on.push(mn),Wi()})})},sa=0,vn=1/0,Br=0,Oi=function(Ce){Ce.forEach(function(xe){xe.interactionId&&(vn=Math.min(vn,xe.interactionId),Br=Math.max(Br,xe.interactionId),sa=Br?(Br-vn)/7+1:0)})},Zi=function(){return ln?sa:performance.interactionCount||0},wi=function(){"interactionCount"in performance||ln||(ln=fe("event",Oi,{type:"event",buffered:!0,durationThreshold:0}))},Ri=[200,500],pr=0,jr=function(){return Zi()-pr},fr=[],Ca={},Ji=function(Ce){var xe=fr[fr.length-1],Ze=Ca[Ce.interactionId];if(Ze||fr.length<10||Ce.duration>xe.latency){if(Ze)Ze.entries.push(Ce),Ze.latency=Math.max(Ze.latency,Ce.duration);else{var at={id:Ce.interactionId,latency:Ce.duration,entries:[Ce]};Ca[at.id]=at,fr.push(at)}fr.sort(function(gt,Fe){return Fe.latency-gt.latency}),fr.splice(10).forEach(function(gt){delete Ca[gt.id]})}},_i=function(Ce,xe){xe=xe||{},Tr(function(){wi();var Ze,at=Ve("INP"),gt=function(xn){xn.forEach(function(xr){xr.interactionId&&Ji(xr),xr.entryType==="first-input"&&!fr.some(function(ua){return ua.entries.some(function(vr){return xr.duration===vr.duration&&xr.startTime===vr.startTime})})&&Ji(xr)});var mn,$n=(mn=Math.min(fr.length-1,Math.floor(jr()/50)),fr[mn]);$n&&$n.latency!==at.value&&(at.value=$n.latency,at.entries=$n.entries,Ze())},Fe=fe("event",gt,{durationThreshold:xe.durationThreshold||40});Ze=We(Ce,at,Ri,xe.reportAllChanges),Fe&&(Fe.observe({type:"first-input",buffered:!0}),St(function(){gt(Fe.takeRecords()),at.value<0&&jr()>0&&(at.value=0,at.entries=[]),Ze(!0)}),Ee(function(){fr=[],pr=Zi(),at=Ve("INP"),Ze=We(Ce,at,Ri,xe.reportAllChanges)}))})},oi=[2500,4e3],sn={},pa=function(Ce,xe){xe=xe||{},Tr(function(){var Ze,at=Jr(),gt=Ve("LCP"),Fe=function($n){var xr=$n[$n.length-1];xr&&xr.startTime<at.firstHiddenTime&&(gt.value=Math.max(xr.startTime-ze(),0),gt.entries=[xr],Ze())},qt=fe("largest-contentful-paint",Fe);if(qt){Ze=We(Ce,gt,oi,xe.reportAllChanges);var xn=Gt(function(){sn[gt.id]||(Fe(qt.takeRecords()),qt.disconnect(),sn[gt.id]=!0,Ze(!0))});["keydown","click"].forEach(function(mn){addEventListener(mn,xn,!0)}),St(xn),Ee(function(mn){gt=Ve("LCP"),Ze=We(Ce,gt,oi,xe.reportAllChanges),tt(function(){gt.value=performance.now()-mn.timeStamp,sn[gt.id]=!0,Ze(!0)})})}})},Yi=function(Te){return Te?Math.round(Te.value):void 0},si=function(Te){zi(function(Ce){var xe;Te({cumulativeLayoutShift:(xe=Ce==null?void 0:Ce.value)!==null&&xe!==void 0?xe:void 0})},{reportAllChanges:!0})},Kr=function(Te){or(function(Ce){return Te({firstContentfulPaint:Yi(Ce)})})},ki=function(Te){Hr(function(Ce){return Te({firstInputDelay:Yi(Ce)})})},Da=function(Te){_i(function(Ce){return Te({interactionToNextPaint:Yi(Ce)})})},ga=function(Te){pa(function(Ce){return Te({largestContentfulPaint:Yi(Ce)})})},qi=["connectEnd","connectStart","decodedBodySize","domComplete","domContentLoadedEventEnd","domContentLoadedEventStart","domInteractive","encodedBodySize","fetchStart","loadEventEnd","loadEventStart","redirectCount","redirectEnd","redirectStart","responseStart","responseEnd","responseStatus","secureConnectionStart","transferSize","unloadEventEnd","unloadEventStart","workerStart"],Yr=["initiatorType","nextHopProtocol"],qe=function(Te,Ce){return function(){var xe=o(function(Ze){var at,gt,Fe,qt,xn;return b(this,function(mn){switch(mn.label){case 0:return mn.trys.push([0,2,,3]),at=[{},Ze],[4,Te(Ze)];case 1:return Ce.apply(void 0,[t.apply(void 0,at.concat([mn.sent()]))]),[3,3];case 2:return gt=mn.sent(),(xn=window)===null||xn===void 0||(qt=xn.SQUARESPACE_SENTRY)===null||qt===void 0||(Fe=qt.captureException)===null||Fe===void 0||Fe.call(qt,gt),[3,3];case 3:return[2]}})});return function(Ze){return xe.apply(this,arguments)}}()};
81function He(Te){Object.values(k).forEach(function(){var Ce=o(function(xe){var Ze,at,gt,Fe;return b(this,function(qt){switch(qt.label){case 0:return qt.trys.push([0,2,,3]),[4,xe(Te)];case 1:return qt.sent(),[3,3];case 2:return Ze=qt.sent(),(Fe=window)===null||Fe===void 0||(gt=Fe.SQUARESPACE_SENTRY)===null||gt===void 0||(at=gt.captureException)===null||at===void 0||at.call(gt,Ze),[3,3];case 3:return[2]}})});return function(xe){return Ce.apply(this,arguments)}}()),qi.forEach(qe(Le,Te)),Yr.forEach(qe(yt,Te))}var Re=["more","less","custom"],De=function(){var Te;return(Te=Re.find(function(Ce){return window.matchMedia("prefers-contrast: ".concat(Ce)).matches}))!==null&&Te!==void 0?Te:"no-preference"},$e=function(){var Te;return{forceColors:window.matchMedia("(forced-colors: active)").matches,networkInformationType:(Te=navigator.connection)===null||Te===void 0?void 0:Te.type,prefersContrast:De(),prefersReducedMotion:window.matchMedia("(prefers-reduced-motion: reduce)").matches,primaryInputHasHover:window.matchMedia("(hover: hover)").matches,keyboardUsage:!1}},Je=function(Te){var Ce=$e(),xe=function(){Te(Ce,"a11y")},Ze=function(at){var gt;["INPUT","TEXTAREA"].includes((gt=at.target)===null||gt===void 0?void 0:gt.tagName)||!se.includes(at.key)||(Ce.keyboardUsage=!0,xe(),document.removeEventListener("keydown",Ze))};document.addEventListener("keydown",Ze),document.addEventListener(le,function(){document.visibilityState==="hidden"&&xe()})};function It(Te){var Ce=new RegExp("(^| )".concat(Te,"=([^;]+)")),xe=document.cookie.match(Ce);return xe?xe[2]:""}function Pt(){return!!(window.PerformanceMeasure&&window.PerformanceMark)}function tn(){if(!Object.prototype.hasOwnProperty.call(window,"PerformanceObserver"))return!1;try{var Te=new window.PerformanceObserver(function(){return null});Te.observe({entryTypes:["mark"]}),Te.disconnect()}catch(Ce){return!1}return!0}function kt(){var Te;return typeof((Te=window.navigator)===null||Te===void 0?void 0:Te.sendBeacon)=="function"&&!ve.test(window.navigator.userAgent)}function bn(){var Te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},Ce,xe,Ze,at,gt,Fe,qt;return{context:Te,analyticsId:It(pe),marketingId:It(ae),memberId:(Ze=window.Static)===null||Ze===void 0||(xe=Ze.SQUARESPACE_CONTEXT)===null||xe===void 0||(Ce=xe.authenticatedAccount)===null||Ce===void 0?void 0:Ce.id,version:Me,downlink:(at=navigator.connection)===null||at===void 0?void 0:at.downlink,effectiveType:(gt=navigator.connection)===null||gt===void 0?void 0:gt.effectiveType,rtt:(Fe=navigator.connection)===null||Fe===void 0?void 0:Fe.rtt,saveData:(qt=navigator.connection)===null||qt===void 0?void 0:qt.saveData,deliveryType:kt()?"beacon":"xhr",devicePixelRatio:window.devicePixelRatio,screenHeight:window.screen.height,screenWidth:window.screen.width,viewportHeight:window.innerHeight,viewportWidth:window.innerWidth,deviceMemory:navigator.deviceMemory,hardwareConcurrency:navigator.hardwareConcurrency,hash:window.location.hash||"",hostname:window.location.hostname||"",pathname:window.location.pathname||"/"}}var kn=function(){var Te=o(function(Ce){var xe,Ze;return b(this,function(at){switch(at.label){case 0:return xe=bn(Ce),Ze={},He(function(gt){Object.assign(Ze,gt)}),[4,Promise.race([xt(6e4),At()])];case 1:return at.sent(),[2,s({},xe,Ze)]}})});return function(xe){return Te.apply(this,arguments)}}(),Ar=function(){var Te=o(function(Ce,xe){var Ze;return b(this,function(at){switch(at.label){case 0:return[4,kn(xe)];case 1:return Ze=at.sent(),Ce(Ze,"page_speed"),[2]}})});return function(xe,Ze){return Te.apply(this,arguments)}}(),Ir=["media-www.sqspcdn.com","images.squarespace-cdn.com","static1.squarespace.com"],qr=function(Te){return Ir.some(function(Ce){return Te.includes(Ce)})},ni=function(Te){return Te.hasAttribute("data-loader")?2:Te.hasAttribute("data-src")?1:0},Vr=function(Te,Ce){if(Te.hasAttribute("data-image-resolution")){var xe;return Number((xe=Te.getAttribute("data-image-resolution"))===null||xe===void 0?void 0:xe.replace("w",""))}var Ze=Ce.indexOf("format=");return Ze!==-1?Number(Ce.slice(Ze+7).replace(/w.*/,"")):NaN},zr=function(Te,Ce,xe){if(xe===1&&r(Te,HTMLImageElement)&&Te.naturalHeight===0){var Ze=document.querySelector('div[style*="'.concat(Ce,'"]'));if(Ze)return Ze}return Te},ui=function(Te){if(r(Te,HTMLImageElement)){var Ce=Te.naturalHeight,xe=Te.naturalWi
81dth,Ze=Te.width,at=Te.height;return{naturalHeight:Ce,naturalWidth:xe,width:Ze,height:at}}var gt=Te.getBoundingClientRect(),Fe=Math.floor(gt.width),qt=Math.floor(gt.height);return{naturalHeight:qt,naturalWidth:Fe}},ea=function(){var Te=o(function(Ce,xe){var Ze,at,gt,Fe,qt,xn,mn,$n,xr,ua,vr,Hi,Be,Ke,Ie,Ye,ut,ft;return b(this,function(Nt){Ze=Vr(xe,Ce.name),at=ni(xe),gt=xe.getAttribute("data-loader"),Fe=xe.getAttribute("elementtiming"),qt=Ce.toJSON(),xn=qt.serverTiming,mn=qt.workerTiming,$n=f(qt,["serverTiming","workerTiming"]),xr=!0,ua=!1,vr=void 0;try{for(Hi=Object.entries($n)[Symbol.iterator]();!(xr=(Be=Hi.next()).done);xr=!0)Ke=v(Be.value,2),Ie=Ke[0],Ye=Ke[1],typeof Ye=="number"&&($n[Ie]=Math.floor(Ye))}catch(Rt){ua=!0,vr=Rt}finally{try{!xr&&Hi.return!=null&&Hi.return()}finally{if(ua)throw vr}}return ut=zr(xe,Ce.name,at),ft=ui(ut),[2,new Promise(function(Rt){var dt=new IntersectionObserver(function($t){$t.forEach(function(un){if(un.target===ut)return dt.disconnect(),Rt(s({visibleOnLoad:un.isIntersecting,observationTime:Math.floor(un.time),intersectionRatio:un.intersectionRatio,squarespaceSize:Ze,imageType:at,imageLoaderType:gt,elementTiming:Fe},ft,$n))})});dt.observe(ut)})]})});return function(xe,Ze){return Te.apply(this,arguments)}}(),li=function(){var Te=o(function(Ce){var xe,Ze,at,gt,Fe;return b(this,function(qt){switch(qt.label){case 0:return xe=Ce.resource,Ze=Ce.deliverMetrics,!(r(xe,PerformanceResourceTiming)&&xe.initiatorType==="img")||!qr(xe.name)?[2]:(at=xe.name.replace(/\?.*/,""),gt=Array.from(document.querySelectorAll('img[src="'.concat(xe.name,'"], img[data-src*="').concat(at,'"], img[srcset*="').concat(xe.name,'"]'))),document.querySelectorAll('picture > source[srcset*="'.concat(xe.name,'"]')).forEach(function(xn){var mn=xn.parentElement;mn!==null&&gt.push(mn.lastElementChild)}),gt.length!==1?[2]:[4,ea(xe,gt[0])]);case 1:return Fe=qt.sent(),Ze(Fe,"image"),[2]}})});return function(xe){return Te.apply(this,arguments)}}(),Jn=function(){var Te=o(function(Ce){var xe,Ze;return b(this,function(at){return tn()?(xe=function(gt){return li({resource:gt,deliverMetrics:Ce})},performance.getEntriesByType("resource").forEach(xe),Ze=new PerformanceObserver(function(gt){gt.getEntries().forEach(xe)}),Ze.observe({entryTypes:["resource"]}),[2]):[2]})});return function(xe){return Te.apply(this,arguments)}}(),Zr,ma=function(Te){var Ce=Te.spanName,xe=Te.tracer,Ze=Te.startTime,at=Te.spanAttributes,gt=at===void 0?{}:at;Zr===void 0&&(Zr=new Map);var Fe=xe.startSpan(Ce,{startTime:Ze});Fe.setAttributes(gt),Zr.set(Ce,Fe)},Pa=function(Te){var Ce=Te.spanName,xe=Te.spanAttributes,Ze=xe===void 0?{}:xe,at=Te.updateName;if(!(Zr===void 0||!Zr.has(Ce))){var gt=Zr.get(Ce);gt.setAttributes(Ze),at!==void 0&&gt.updateName(at),gt.end(),Zr.delete(Ce)}},oe="rum-",we=function(Te){var Ce,xe;typeof((xe=window)===null||xe===void 0||(Ce=xe.SQUARESPACE_SENTRY)===null||Ce===void 0?void 0:Ce.captureException)=="function"?window.SQUARESPACE_SENTRY.captureException(Te):console.warn("@sqs/rum-collector: user timing exception: ".concat(Te))};function nt(Te){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};try{if(!Mn())return;var xe=oe+Te;window.performance.clearMarks(xe);var Ze=window.performance.mark(xe,{detail:Ce.detail,startTime:Ce.startTime});if(Ce.tracer!==void 0){var at=v(window.performance.getEntriesByName(xe,"mark").slice(-1),1),gt=at[0];ma({spanName:xe,tracer:Ce.tracer,startTime:gt.startTime,spanAttributes:Ce.spanAttributes})}return Ze}catch(Fe){we(Fe)}}function Qt(Te){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{requireStart:!1};try{if(!(Mn()&&On()))return;var xe=oe+Te,Ze={detail:Ce.detail,duration:Ce.duration};if(Ce.start===void 0?window.performance.getEntriesByName(xe,"mark").length>0&&(Ze.start=xe):typeof Ce.start=="string"?Ze.start=oe+Ce.start:Ze.start=Ce.start,Ze.end=typeof Ce.end=="string"?oe+Ce.end:Ce.end,Ce.requireStart&&typeof Ze.start!="string")return;if(Ce.tracer!==void 0){var at=s({measureName:xe},Ce.spanAttributes);if(typeof Ze.start=="number")ma({spanName:xe,tracer:Ce.tracer,startTime:Ze.start}),Pa({spanName:xe,spanAttributes:at});else{var gt;if(window.performance.getEntriesByName((gt=Ze.start)!==null&&gt!==void 0?gt:xe,"mark").length===0){var Fe;ma({spanName:(Fe=Ze.start)!==null&&Fe!==void 0?Fe:xe,tracer:Ce.tracer,startTime:0})}var qt;Pa({spanName:(qt=Ze.start)!==null&&qt!==void 0?qt:xe,spanAttributes:at,updateName:Ze.start!==xe?xe:void 0})}}gr(xe,Ze);var xn=hi(xe);return xn}catch(mn){we(mn)}}function On(){return"performance"in window&&"getEntries"in window.performance&&"getEntriesByType"in window.performance&&"getEntriesByName"in window.performance}function Mn(){return"mark"in window.performance&&"measure"in window.performance}function hi(Te){var Ce=window.performance.getEntriesByName(Te,"measure");return Ce[Ce.length-1]}function gr(Te,Ce){try{window.performance.measure(Te,Ce)}catch(at){var xe=typeof Ce.start=="string"?Ce.start:Te,Ze=typeof Ce.end=="string"?Ce.end:void 0;try{window.performance.measure(Te,xe,Ze)}catch(gt){if(!r(gt,DOMException))throw gt;try{window.performance.measure(Te,"navigationStart")}catch(Fe){if(!r(Fe,DOMException))throw Fe;window.performance.measure(Te)}}}}function dr(Te){return typeof Te=="string"&&Te.substring(0,4)===oe}function pi(Te){var Ce={};for(var xe in Te)typeof Te[xe]!="function"&&(Ce[xe]=Te[xe]);return Ce}var Mi=new Set,An=function(Te){if(Pt()){var Ce=function(Ze){var at=Ze.map(pi);
81at.forEach(function(gt){if(dr(gt.name)){var Fe="".concat(gt.name,"|").concat(gt.duration);Mi.has(Fe)||(Te(gt,"user"),Mi.add(Fe))}})};if(Ce(window.performance.getEntriesByType("measure")),tn()){var xe=new window.PerformanceObserver(function(Ze){return Ce(Ze.getEntries())});xe.observe({entryTypes:["measure"]})}else document.addEventListener(le,function(){document.visibilityState==="hidden"&&Ce(window.performance.getEntriesByType("measure"))})}},ci,Vn=[],wn=function(Te){Vn.push(Te)};function mo(Te,Ce){if(!(kt()&&navigator.sendBeacon(Te,Ce))){var xe=new XMLHttpRequest;xe.open("POST",Te,!0),xe.setRequestHeader("Content-Type","text/plain;charset=UTF-8"),xe.send(Ce)}}function yo(Te){if(Vn.length){var Ce=JSON.stringify(Vn);mo(Te,Ce),Vn=[]}}function Xo(Te){window.addEventListener(re,function(){ci=window.setTimeout(function(){return yo(Te)},Pe)}),document.addEventListener(le,function(){document.visibilityState==="hidden"&&(window.clearTimeout(ci),yo(Te))})}function Ta(Te){wn(s({raw:!0},Te))}var _r=function(Te,Ce){return function(xe,Ze){var at={app:Te,data:xe,event:Ze,pageLoadId:Ce,ts:Date.now()};Ta(at)}},Wa=function(Te){return function(){for(var Ce=arguments.length,xe=new Array(Ce),Ze=0;Ze<Ce;Ze++)xe[Ze]=arguments[Ze];Te&&Te.apply(void 0,g(xe))}},Eo=function(Te){var Ce={appName:Te.appName||"",context:Te.context||{},enabled:typeof Te.enabled=="boolean"?Te.enabled:!0,serviceURL:Te.serviceURL||ne,captureException:Wa(Te.captureException)};return Ce};function Aa(Te){return Rr.apply(this,arguments)}function Rr(){return Rr=o(function(Te){var Ce,xe,Ze;return b(this,function(at){switch(at.label){case 0:return Ce=Eo(Te),Ce.enabled?[4,Promise.resolve().then(function(){return H(),G})]:[2];case 1:xe=at.sent().nanoid();try{Ze=_r(Ce.appName,xe),Ar(Ze,Ce.context),An(Ze),Jn(Ze),Je(Ze),Xo(Ce.serviceURL)}catch(gt){Ce.captureException(gt,{pageLoadId:xe,parsedOptions:Ce})}return[2]}})}),Rr.apply(this,arguments)}var ka={action:"load",actor:"user",event_owner_team:"web_performance",event_source:"web",object_type:"website"},ya=function(){var Te=/^qa\d+.sqsp.net/g,Ce=/^stage.sqsp.net/g,xe=/(dev.squarespace.net|localhost|127.0.0.1|0.0.0.0)/g,Ze=window.location.hostname.substr(window.location.hostname.indexOf(".")+1);return Ce.test(Ze)||Te.test(Ze)?"staging":xe.test(Ze)?"dev":"prod"},Ha=function(Te){var Ce=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ya();return new Te({customSchemaName:"Performance",sourceEnvironment:Ce},ka)},Ci=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"}),ri=function(){var Te=o(function(Ce){var xe;return b(this,function(Ze){switch(Ze.label){case 0:return xe={},He(function(at){Object.entries(at).forEach(function(gt){var Fe=v(gt,2),qt=Fe[0],xn=Fe[1];Object.prototype.hasOwnProperty.call(Ci,qt)&&(xe[Ci[qt]]=xn)})}),[4,Promise.race([xt(6e4),At()])];case 1:return Ze.sent(),Ce(xe),[2]}})});return function(xe){return Te.apply(this,arguments)}}();function Ka(){for(var Te=arguments.length,Ce=new Array(Te),xe=0;xe<Te;xe++)Ce[xe]=arguments[xe];return console.warn("@sqs/rum-collector default export is deprecated. Use named export `init` instead."),Aa.apply(void 0,g(Ce))}},325844:function(y){"use strict";y.exports=JSON.parse('{"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!","491
81a80eddb896f15e739ee582e456dd2":"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":"[email protected]","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":"Backgroun
81d 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","d67a7a90682d75e37f3c27ee21d026b0":"Copy","e38848bae5b39dad125df53483b3877e":"Copied","ef75c1a57b1d4a43d94f68047e5ff3c4":"Clear","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","a80b5618f581876697eb5288659d839a":"This page available only site members","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","b93679c1ac66c43fec049
810f125e9db13":"Script","1eb42c6cb31f4879bee51821f8eb7325":"Slab Serif","a7e614da684a289259a757da5b11ffd5":"Mono","178ebbe3d6ece8c96fe884badf3c80fa":"Other","6d5a11f2853e61c87f02430972402414":"Fonts in Style Guide","ad6805ba5b472b9af26e2d3154e20dae":"Typekit Kit","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":"[email protected]","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 protected]","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}","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","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","e48f2a5f37c31bee87701f0c57e3ba93":"Sort By","46748b0874ac29d6af48bcf1e1f45708":"Sort by column header","d5867f1ab51dabe19cd38a34a4dade09":"Unsorted"}')}},function(y){var l=function(a){return y(y.s=a)};y.O(0,[80276,46001,97684],function(){return l(688242)});var e=y.O()}]);
82
83//# sourceMappingURL=https://sourcemaps.squarespace.net/universal/scripts-compressed/sourcemaps/b755ac55815ec92e2d9c93907452fc3e/common-2a010cbb97d3039bf6dc-min.en-US.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.