/*! For license information please see main.bundle.js.LICENSE.txt */ !function(e){function t(t){for(var o,r,a=t[0],l=t[1],u=t[2],c=0,h=[];c-1})})&&(h||(h=!0,e()))}t.push=function(){n.apply(void 0,arguments),o()},o()}).then(e)}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonEffectExtensionChunk=void 0;var o=n(328);class r{static syncRequire(e,t){const o=new r(e,t);return n(n(67).resolve(`./${o.styleType}/${o.styleName}/index.ts`)).default}constructor(e,t){this.config=e,this.effects=t,this.name=void 0,this.name=`extension/button-effect/${this.styleType}-${this.styleName}-index-ts`}get styleType(){return"solid"===this.config.style_type||"line"===this.config.style_type||"transparent"===this.config.style_type?this.config.style_type:"solid"}get styleName(){return this.config[`${this.styleType}_button_effect`]||this.effects[`${this.styleType}_button_effect`]}load(){return o.ButtonEffectExtensionLazy.load({styleType:this.config.style_type,styleName:this.styleName})}}t.ButtonEffectExtensionChunk=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getOwnWindow=void 0;t.getOwnWindow=()=>"undefined"==typeof window?null:window},,function(e,t,n){"use strict";let o,r,i,s,a=n(23),l=n(26),u=n(24),{isClean:c,my:d}=n(42);function h(e){return e.map(e=>(e.nodes&&(e.nodes=h(e.nodes)),delete e.source,e))}function f(e){if(e[c]=!1,e.proxyOf.nodes)for(let t of e.proxyOf.nodes)f(t)}class p extends u{get first(){if(this.proxyOf.nodes)return this.proxyOf.nodes[0]}get last(){if(this.proxyOf.nodes)return this.proxyOf.nodes[this.proxyOf.nodes.length-1]}append(...e){for(let t of e){let e=this.normalize(t,this.last);for(let t of e)this.proxyOf.nodes.push(t)}return this.markDirty(),this}cleanRaws(e){if(super.cleanRaws(e),this.nodes)for(let t of this.nodes)t.cleanRaws(e)}each(e){if(!this.proxyOf.nodes)return;let t,n,o=this.getIterator();for(;this.indexes[o]"proxyOf"===t?e:e[t]?"each"===t||"string"==typeof t&&t.startsWith("walk")?(...n)=>e[t](...n.map(e=>"function"==typeof e?(t,n)=>e(t.toProxy(),n):e)):"every"===t||"some"===t?n=>e[t]((e,...t)=>n(e.toProxy(),...t)):"root"===t?()=>e.root().toProxy():"nodes"===t?e.nodes.map(e=>e.toProxy()):"first"===t||"last"===t?e[t].toProxy():e[t]:e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"name"!==t&&"params"!==t&&"selector"!==t||e.markDirty()),!0)}}index(e){return"number"==typeof e?e:(e.proxyOf&&(e=e.proxyOf),this.proxyOf.nodes.indexOf(e))}insertAfter(e,t){let n,o=this.index(e),r=this.normalize(t,this.proxyOf.nodes[o]).reverse();o=this.index(e);for(let e of r)this.proxyOf.nodes.splice(o+1,0,e);for(let e in this.indexes)n=this.indexes[e],o(e[d]||p.rebuild(e),(e=e.proxyOf).parent&&e.parent.removeChild(e),e[c]&&f(e),e.raws||(e.raws={}),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/\S/g,"")),e.parent=this.proxyOf,e))}prepend(...e){e=e.reverse();for(let t of e){let e=this.normalize(t,this.first,"prepend").reverse();for(let t of e)this.proxyOf.nodes.unshift(t);for(let t in this.indexes)this.indexes[t]=this.indexes[t]+e.length}return this.markDirty(),this}push(e){return e.parent=this,this.proxyOf.nodes.push(e),this}removeAll(){for(let e of this.proxyOf.nodes)e.parent=void 0;return this.proxyOf.nodes=[],this.markDirty(),this}removeChild(e){let t;e=this.index(e),this.proxyOf.nodes[e].parent=void 0,this.proxyOf.nodes.splice(e,1);for(let n in this.indexes)t=this.indexes[n],t>=e&&(this.indexes[n]=t-1);return this.markDirty(),this}replaceValues(e,t,n){return n||(n=t,t={}),this.walkDecls(o=>{t.props&&!t.props.includes(o.prop)||t.fast&&!o.value.includes(t.fast)||(o.value=o.value.replace(e,n))}),this.markDirty(),this}some(e){return this.nodes.some(e)}walk(e){return this.each((t,n)=>{let o;try{o=e(t,n)}catch(e){throw t.addToError(e)}return!1!==o&&t.walk&&(o=t.walk(e)),o})}walkAtRules(e,t){return t?e instanceof RegExp?this.walk((n,o)=>{if("atrule"===n.type&&e.test(n.name))return t(n,o)}):this.walk((n,o)=>{if("atrule"===n.type&&n.name===e)return t(n,o)}):(t=e,this.walk((e,n)=>{if("atrule"===e.type)return t(e,n)}))}walkComments(e){return this.walk((t,n)=>{if("comment"===t.type)return e(t,n)})}walkDecls(e,t){return t?e instanceof RegExp?this.walk((n,o)=>{if("decl"===n.type&&e.test(n.prop))return t(n,o)}):this.walk((n,o)=>{if("decl"===n.type&&n.prop===e)return t(n,o)}):(t=e,this.walk((e,n)=>{if("decl"===e.type)return t(e,n)}))}walkRules(e,t){return t?e instanceof RegExp?this.walk((n,o)=>{if("rule"===n.type&&e.test(n.selector))return t(n,o)}):this.walk((n,o)=>{if("rule"===n.type&&n.selector===e)return t(n,o)}):(t=e,this.walk((e,n)=>{if("rule"===e.type)return t(e,n)}))}}p.registerParse=e=>{r=e},p.registerRule=e=>{s=e},p.registerAtRule=e=>{o=e},p.registerRoot=e=>{i=e},e.exports=p,p.default=p,p.rebuild=e=>{"atrule"===e.type?Object.setPrototypeOf(e,o.prototype):"rule"===e.type?Object.setPrototypeOf(e,s.prototype):"decl"===e.type?Object.setPrototypeOf(e,l.prototype):"comment"===e.type?Object.setPrototypeOf(e,a.prototype):"root"===e.type&&Object.setPrototypeOf(e,i.prototype),e[d]=!0,e.nodes&&e.nodes.forEach(e=>{p.rebuild(e)})}},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getGlobalDeviceType=function(){return window.__deviceType},t.getGlobalFeaturesData=function(){return window.__features_data||{}},t.getGlobalHost=function(){return window.__env.CON_API},t.getGlobalPageData=function(){var e,t;const n=null!==(e=null===(t=document.getElementById("one-page-data"))||void 0===t?void 0:t.textContent)&&void 0!==e?e:"";return JSON.parse(n)},t.getGlobalSiteData=function(){var e,t;const n=null!==(e=null===(t=document.getElementById("one-site-data"))||void 0===t?void 0:t.textContent)&&void 0!==e?e:"";return JSON.parse(n)},t.getIsPrivateVersion=function(){var e;return null!==(e=window.isPrivateVersion)&&void 0!==e&&e}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractMoleculeChunk=void 0;var o=n(104);t.AbstractMoleculeChunk=class{constructor(e,t){this.moleculeModel=e,this.pageModel=t,this.name=void 0,this.order=40,this.name=`molecule/${e.moleculeModel}-${e.moleculeModel}-molecule-tsx`}load(){return o.LazyMolecule.load({moleculeModelType:this.moleculeModel.moleculeModel})}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SiteContext=void 0;var r=o(n(0));t.SiteContext=r.default.createContext({})},function(e,t,n){"use strict";e.exports=n(458)()},function(e,t,n){"use strict";e.exports=n(397)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OrganismLocationEnum=void 0;t.OrganismLocationEnum=function(e){return e.SECTION="section",e.MODAL="modal",e.GLOBAL="global",e.MEGAMENU="megamenu",e}({})},function(e,t,n){"use strict";let o,r,i=n(9);class s extends i{constructor(e){super(e),this.type="root",this.nodes||(this.nodes=[])}normalize(e,t,n){let o=super.normalize(e);if(t)if("prepend"===n)this.nodes.length>1?t.raws.before=this.nodes[1].raws.before:delete t.raws.before;else if(this.first!==t)for(let e of o)e.raws.before=t.raws.before;return o}removeChild(e,t){let n=this.index(e);return!t&&0===n&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[n].raws.before),super.removeChild(e)}toResult(e={}){return new o(new r,this,e).stringify()}}s.registerLazyResult=e=>{o=e},s.registerProcessor=e=>{r=e},e.exports=s,s.default=s,i.registerRoot(s)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractLayerChunk=void 0;var o=n(123);t.AbstractLayerChunk=class{constructor(e,t){this.layerModel=e,this.pageModel=t,this.name=void 0,this.order=40,this.deps=[],this.name=`layer/${e.type}-${e.type}-layer-tsx`}load(){return o.LayerLazy.load({layerType:this.layerModel.type,layerModel:this.layerModel,organismModel:this.layerModel.$organismModel})}}},function(e,t,n){"use strict";e.exports=function(e,t,n,o,r){var i={};return Object.keys(o).forEach(function(e){i[e]=o[e]}),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce(function(n,o){return o(e,t,n)||n},i),r&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(r):void 0,i.initializer=void 0),void 0===i.initializer?(Object.defineProperty(e,t,i),null):i},e.exports.__esModule=!0,e.exports.default=e.exports},,function(e,t,n){"use strict";var o;o=function(){return this}();try{o=o||new Function("return this")()}catch(e){"object"==typeof window&&(o=window)}e.exports=o},function(e,t,n){"use strict";var o,r,i=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(o===setTimeout)return setTimeout(e,0);if((o===s||!o)&&setTimeout)return o=setTimeout,setTimeout(e,0);try{return o(e,0)}catch(t){try{return o.call(null,e,0)}catch(t){return o.call(this,e,0)}}}!function(){try{o="function"==typeof setTimeout?setTimeout:s}catch(e){o=s}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var u,c=[],d=!1,h=-1;function f(){d&&u&&(d=!1,u.length?c=u.concat(c):h=-1,c.length&&p())}function p(){if(!d){var e=l(f);d=!0;for(var t=c.length;t;){for(u=c,c=[];++h1)for(var n=1;nl(e,n)):("object"===i&&null!==r&&(r=l(r)),n[o]=r)}return n}function u(e,t){if(t&&void 0!==t.offset)return t.offset;let n=1,o=1,r=0;for(let i=0;i"proxyOf"===t?e:"root"===t?()=>e.root().toProxy():e[t],set:(e,t,n)=>(e[t]===n||(e[t]=n,"prop"!==t&&"value"!==t&&"name"!==t&&"params"!==t&&"important"!==t&&"text"!==t||e.markDirty()),!0)}}markClean(){this[s]=!0}markDirty(){if(this[s]){this[s]=!1;let e=this;for(;e=e.parent;)e[s]=!1}}next(){if(!this.parent)return;let e=this.parent.index(this);return this.parent.nodes[e+1]}positionBy(e={}){let t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){let n="document"in this.source.input?this.source.input.document:this.source.input.css,o=n.slice(u(n,this.source.start),u(n,this.source.end)).indexOf(e.word);-1!==o&&(t=this.positionInside(o))}return t}positionInside(e){let t=this.source.start.column,n=this.source.start.line,o="document"in this.source.input?this.source.input.document:this.source.input.css,r=u(o,this.source.start),i=r+e;for(let e=r;e"object"==typeof e&&e.toJSON?e.toJSON(null,t):e);else if("object"==typeof o&&o.toJSON)n[e]=o.toJSON(null,t);else if("source"===e){if(null==o)continue;let i=t.get(o.input);null==i&&(i=r,t.set(o.input,r),r++),n[e]={end:o.end,inputId:i,start:o.start}}else n[e]=o}return o&&(n.inputs=[...t.keys()].map(e=>e.toJSON())),n}toProxy(){return this.proxyCache||(this.proxyCache=new Proxy(this,this.getProxyProcessor())),this.proxyCache}toString(e=i){e.stringify&&(e=e.stringify);let t="";return e(this,e=>{t+=e}),t}warn(e,t,n={}){let o={node:this};for(let e in n)o[e]=n[e];return e.warn(t,o)}}e.exports=c,c.default=c},function(e,t,n){"use strict";let o=n(74);function r(e,t){new o(t).stringify(e)}e.exports=r,r.default=r},function(e,t,n){"use strict";let o=n(24);class r extends o{get variable(){return this.prop.startsWith("--")||"$"===this.prop[0]}constructor(e){e&&void 0!==e.value&&"string"!=typeof e.value&&(e={...e,value:String(e.value)}),super(e),this.type="decl"}}e.exports=r,r.default=r},function(e,t,n){"use strict";let{nanoid:o}=n(384),{isAbsolute:r,resolve:i}=n(44),{SourceMapConsumer:s,SourceMapGenerator:a}=n(45),{fileURLToPath:l,pathToFileURL:u}=n(75),c=n(41),d=n(76),h=n(73),f=Symbol("lineToIndexCache"),p=Boolean(s&&a),m=Boolean(i&&r);function y(e){if(e[f])return e[f];let t=e.css.split("\n"),n=new Array(t.length),o=0;for(let e=0,r=t.length;e"),this.map&&(this.map.file=this.from)}error(e,t,n,o={}){let r,i,s,a,l;if(t&&"object"==typeof t){let e=t,o=n;if("number"==typeof e.offset){a=e.offset;let o=this.fromOffset(a);t=o.line,n=o.col}else t=e.line,n=e.column,a=this.fromLineAndColumn(t,n);if("number"==typeof o.offset){s=o.offset;let e=this.fromOffset(s);i=e.line,r=e.col}else i=o.line,r=o.column,s=this.fromLineAndColumn(o.line,o.column)}else if(n)a=this.fromLineAndColumn(t,n);else{a=t;let e=this.fromOffset(a);t=e.line,n=e.col}let d=this.origin(t,n,i,r);return l=d?new c(e,void 0===d.endLine?d.line:{column:d.column,line:d.line},void 0===d.endLine?d.column:{column:d.endColumn,line:d.endLine},d.source,d.file,o.plugin):new c(e,void 0===i?t:{column:n,line:t},void 0===i?n:{column:r,line:i},this.css,this.file,o.plugin),l.input={column:n,endColumn:r,endLine:i,endOffset:s,line:t,offset:a,source:this.css},this.file&&(u&&(l.input.url=u(this.file).toString()),l.input.file=this.file),l}fromLineAndColumn(e,t){return y(this)[e-1]+t-1}fromOffset(e){let t=y(this),n=0;if(e>=t[t.length-1])n=t.length-1;else{let o,r=t.length-2;for(;n>1),e=t[o+1])){n=o;break}n=o+1}}return{col:e-t[n]+1,line:n+1}}mapResolve(e){return/^\w+:\/\//.test(e)?e:i(this.map.consumer().sourceRoot||this.map.root||".",e)}origin(e,t,n,o){if(!this.map)return!1;let i,s,a=this.map.consumer(),c=a.originalPositionFor({column:t,line:e});if(!c.source)return!1;"number"==typeof n&&(i=a.originalPositionFor({column:o,line:n})),s=r(c.source)?u(c.source):new URL(c.source,this.map.consumer().sourceRoot||u(this.map.mapFile));let d={column:c.column,endColumn:i&&i.column,endLine:i&&i.line,line:c.line,url:s.toString()};if("file:"===s.protocol){if(!l)throw new Error("file: protocol is not available in this PostCSS build");d.file=l(s)}let h=a.sourceContentFor(c.source);return h&&(d.source=h),d}toJSON(){let e={};for(let t of["hasBOM","css","file","id"])null!=this[t]&&(e[t]=this[t]);return this.map&&(e.map={...this.map},e.map.consumerCache&&(e.map.consumerCache=void 0)),e}}e.exports=v,v.default=v,h&&h.registerInput&&h.registerInput(v)},function(e,t,n){"use strict";(function(e){var n;function o(e,t){-1===e.indexOf(t)&&e.push(t)}function r(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}Object.defineProperty(t,"__esModule",{value:!0});const i=(e,t,n)=>n>t?t:n{},t.invariant=()=>{},void 0!==e&&"production"!==(null===(n=e.env)||void 0===n?void 0:"production")&&(t.warning=(e,t,n)=>{e||"undefined"==typeof console||console.warn(s(t,n))},t.invariant=(e,t,n)=>{if(!e)throw new Error(s(t,n))});const a=e=>e;const l=new Set;const u=(e,t,n)=>{const o=t-e;return((n-e)%o+o)%o+e},c=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function d(e,t,n,o){if(e===t&&n===o)return a;const r=t=>function(e,t,n,o,r){let i,s,a=0;do{s=t+(n-t)/2,i=c(s,o,r)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(t,0,1,e,n);return e=>0===e||1===e?e:c(r(e),t,o)}const h=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,f=e=>t=>1-e(1-t),p=d(.33,1.53,.69,.99),m=f(p),y=h(m),v=e=>e>=1?1:(e*=2)<1?.5*m(e):.5*(2-Math.pow(2,-10*(e-1))),g=e=>1-Math.sin(Math.acos(e)),b=f(g),x=h(g),w=d(.42,0,1,1),_=d(0,0,.58,1),M=d(.42,0,.58,1);const E=e=>Array.isArray(e)&&"number"!=typeof e[0];const P=e=>Array.isArray(e)&&"number"==typeof e[0],k={linear:a,easeIn:w,easeInOut:M,easeOut:_,circIn:g,circInOut:x,circOut:b,backIn:m,backInOut:y,backOut:p,anticipate:v};t.MotionGlobalConfig={},t.SubscriptionManager=class{constructor(){this.subscriptions=[]}add(e){return o(this.subscriptions,e),()=>r(this.subscriptions,e)}notify(e,t,n){const o=this.subscriptions.length;if(o)if(1===o)this.subscriptions[0](e,t,n);else for(let r=0;r{if(P(e)){t.invariant(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[n,o,r,i]=e;return d(n,o,r,i)}return"string"==typeof e?(t.invariant(void 0!==k[e],`Invalid easing type '${e}'`,"invalid-easing-type"),k[e]):e},t.getEasingForSegment=function(e,t){return E(e)?e[u(0,e.length,t)]:e},t.hasWarned=function(e){return l.has(e)},t.isBezierDefinition=P,t.isEasingArray=E,t.isNumericalString=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),t.isObject=e=>"object"==typeof e&&null!==e,t.isZeroValueString=e=>/^0[^.\s]+$/u.test(e),t.memo=function(e){let t;return()=>(void 0===t&&(t=e()),t)},t.millisecondsToSeconds=e=>e/1e3,t.mirrorEasing=h,t.moveItem=function([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&oe.reduce((e,t)=>n=>t(e(n))),t.progress=(e,t,n)=>{const o=t-e;return o?(n-e)/o:1},t.removeItem=r,t.reverseEasing=f,t.secondsToMilliseconds=e=>1e3*e,t.steps=function(e,t="end"){return n=>{const o=(n="end"===t?Math.min(n,.999):Math.max(n,.001))*e,r="end"===t?Math.floor(o):Math.ceil(o);return i(0,1,r/e)}},t.velocityPerSecond=(e,t)=>t?e*(1e3/t):0,t.warnOnce=function(e,t,n){e||l.has(t)||(console.warn(s(t,n)),l.add(t))},t.wrap=u}).call(this,n(22))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayerModelFactory=void 0;var o=n(3),r=n(431),i=n(442);t.LayerModelFactory=class{static make(e,t){return(0,o.action)(()=>{const n=new i.LayerModel(t);return n._id=e._id,n.type=e.type,n.data=e.data,n.styles=e.styles,e.frames.forEach(e=>{const t=r.FrameModelFactory.make(e,n);n.frameMap.set(t._id,t)}),n})()}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.transformToLayer=function(e){const t=e.molecules.sort((e,t)=>e.position-t.position);if((0,i.isSectionOrganismModel)(e)&&"header"===e.type&&t.some(e=>"header"===e.moleculeModel))return a([s(1,t)],"header");switch(e.layout){case"h11b":return a([s(1,t)],"header-v2");case"h11a":case"l11a":case"l22a":default:return a([s(1,t)]);case"l21a":return a([s(1,[t[0]]),s(2,[t[1]])]);case"l31a":return a([s(1,[t[0]]),s(2,[t[1]]),s(3,[t[2]])]);case"l32a":return a([s(1,[t[0]]),s(2,[t[1],t[2]])]);case"l32b":return a([s(1,[t[0],t[1]]),s(2,[t[2]])]);case"l33a":return a([s(1,[t[0],t[1],t[2]])]);case"l42a":return a([s(1,[t[0]]),s(2,[t[1],t[2]]),s(3,[t[3]])]);case"l44a":return a([s(1,[t[0],t[1],t[2],t[3]])])}};var r=o(n(57)),i=n(138);function s(e,t){return{_id:(0,r.default)(),position:e,data:{},styles:{},archivedMolecules:[],molecules:t.filter(Boolean).map((e,t)=>({...e,position:t+1}))}}function a(e,t="flex"){return{_id:(0,r.default)(),type:t,data:{},styles:{},frames:[{_id:(0,r.default)(),position:1,data:{},styles:{},type:"default",rows:e}]}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractOrganismModel=void 0;var r,i,s,a,l,u,c,d,h,f=o(n(51)),p=o(n(19)),m=(o(n(52)),n(3));t.AbstractOrganismModel=(r=class{constructor(){(0,f.default)(this,"_id",i,this),(0,f.default)(this,"title",s,this),(0,f.default)(this,"layout",a,this),(0,f.default)(this,"layer",l,this),(0,f.default)(this,"data",u,this),(0,f.default)(this,"styles",c,this),(0,f.default)(this,"_preview_data",d,this),(0,f.default)(this,"_preview_styles",h,this),(0,m.makeObservable)(this)}get molecules(){return Array.from(this.moleculeMap.values()).sort((e,t)=>e.position-t.position)}get moleculesSorted(){return this.molecules.slice().sort((e,t)=>e.position-t.position)}get moleculeMap(){return this.layer.frames.reduce((e,t)=>(t.rows.forEach(t=>{t.molecules.forEach(t=>{e.set(t._id,t)})}),e),new Map)}getMolecule(e){return this.moleculeMap.get(e)}makeComputedStyles(e){return new Proxy(this.styles,{get:(t,n)=>n in this._preview_styles?this._preview_styles[n]:n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}makeComputedData(e){return new Proxy(this.data,{get:(t,n)=>n in this._preview_data?this._preview_data[n]:n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}},i=(0,p.default)(r.prototype,"_id",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,p.default)(r.prototype,"title",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,p.default)(r.prototype,"layout",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,p.default)(r.prototype,"layer",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,p.default)(r.prototype,"data",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return m.observable.object({})}}),c=(0,p.default)(r.prototype,"styles",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d=(0,p.default)(r.prototype,"_preview_data",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return m.observable.object({})}}),h=(0,p.default)(r.prototype,"_preview_styles",[m.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return m.observable.object({})}}),(0,p.default)(r.prototype,"molecules",[m.computed],Object.getOwnPropertyDescriptor(r.prototype,"molecules"),r.prototype),(0,p.default)(r.prototype,"moleculesSorted",[m.computed],Object.getOwnPropertyDescriptor(r.prototype,"moleculesSorted"),r.prototype),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importOrganismInit=function(e){{var t,n;if(o.has(e))return o.get(e);const r=null!==(t=null===(n=document.getElementById("one-organism-init"))||void 0===n?void 0:n.textContent)&&void 0!==t?t:"",i=JSON.parse(r);return Object.entries(i).forEach(([e,t])=>{o.set(e,t)}),o.get(e)}0;throw new Error("Unknown environment")};const o=new Map},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSectionHide=t.checkSectionUseNextBG=t.checkSectionIsLast=t.checkSectionIsFirst=t.checkClearHeader=void 0;var o=n(7);t.checkSectionIsLast=(e,t)=>!!Array.isArray(e)&&(!!e.length&&e[e.length-1]._id===t._id);t.checkSectionIsFirst=(e,t)=>!!Array.isArray(e)&&(!!e.length&&e[0]._id===t._id);t.checkClearHeader=(e,t)=>{if(Array.isArray(e)){const{position:n}=t,o=e.find(e=>e.position===n+1);if(o&&("header"===o.layer.type||"header-v2"===o.layer.type))return!0}return!1};t.checkSectionUseNextBG=(e,t)=>{if(Array.isArray(e)){const{position:n}=t;if(e.find(e=>e.position===n+1))return!0}return!1};t.isSectionHide=(e,t,n="client")=>{const r="client"===n,i=(0,o.getOwnWindow)(),s="mobile"===t||"tablet"===t,a="desktop"===t,l="hidden"===e.styles$.visibility_breakpoints,u="mobile"===e.styles$.visibility_breakpoints,c="desktop"===e.styles$.visibility_breakpoints,d="custom"===e.styles$.visibility_breakpoints&&i&&(i.innerWidthe.styles$.visibility_breakpoints_custom[1]&&1200!==e.styles$.visibility_breakpoints_custom[1]),h="custom"===e.styles$.visibility_breakpoints&&i&&e.styles$.visibility_breakpoints_custom[0]===e.styles$.visibility_breakpoints_custom[1];return r&&(l||s&&c||a&&u||!!d||!!h)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChunkTree=t.ChunkProcessorBulk=t.ChunkProcessor=void 0;var o=n(310),r=n(407),i=n(419);class s{constructor(e,t){var n;this.chunk=e,this.parent=t,this.children=[],null===(n=e.deps)||void 0===n||n.forEach(([e,t])=>{t&&this.children.push(new s(e,this))})}setChild(e){this.children.push(e)}getUsedChunks(){const e=new Map;for(const t of this.children){const n=t.getUsedChunks();n.length>0&&(n.forEach(t=>e.set(t.name,t)),e.set(t.parent.chunk.name,t.parent.chunk))}return e.set(this.chunk.name,this.chunk),Array.from(e.values())}load(){const e=this.getUsedChunks().sort((e,t)=>{var n,o;return(null!==(n=e.order)&&void 0!==n?n:0)-(null!==(o=t.order)&&void 0!==o?o:0)});return Promise.all(e.map(e=>e.load()))}}t.ChunkTree=s;class a{constructor(e,t,n){this.root=void 0,this.root=new s(t),this.root.setChild(new s((0,i.makeLayerChunk)(e.layer,n),this.root)),e.layer.frameMap.forEach(e=>{e.rowMap.forEach(e=>{e.moleculeMap.forEach(e=>{const t=new s((0,r.makeMoleculeChunk)(e,n),this.root);this.root.setChild(t),e.atomMap.forEach(e=>{const r=new s((0,o.makeAtomChunk)(e,n),t);t.setChild(r)}),e.childrenMap.forEach(e=>{const i=new s((0,r.makeMoleculeChunk)(e,n),t);t.setChild(i),e.atomMap.forEach(e=>{const t=new s((0,o.makeAtomChunk)(e,n),i);i.setChild(t)})})})})})}load(){return this.root.load()}}t.ChunkProcessor=a;t.ChunkProcessorBulk=class{constructor(e,t,n){this.processors=[],e.forEach(e=>{this.processors.push(new a(e,new t(e,n),n))})}load(){return Promise.all(this.processors.map(e=>e.load()))}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.enabledFeatures=t.defaultFeatures=t.FeaturesContext=void 0;var r=o(n(0));const i=t.defaultFeatures={};t.enabledFeatures={cookieBanner:!0},t.FeaturesContext=r.default.createContext(i)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridListExtensionChunk=void 0;var o=n(120);t.GridListExtensionChunk=class{constructor(){this.name="extension/grid-list"}load(){return o.GridListExtensionComponentAsync.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarqueeExtensionChunk=void 0;var o=n(121);t.MarqueeExtensionChunk=class{constructor(){this.name="extension/marquee"}load(){return o.MARQUEE_EXTENSION_CHUNK.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DraftExtensionChunk=void 0;var o=n(357),r=n(122);function i(e){const t=function(e){return e.text||e.header_text||e.plain_text||e.pricing_header_text||e.pricing_plain_text}(e);if(!t)return[];const n=Object.values(t.entityMap).filter(e=>"highlight_type"in e.data).map(e=>e.data.highlight_type);return[...new Set(n)]}t.DraftExtensionChunk=class{constructor(e){this.data=e,this.name="extension/draft",this.deps=void 0,this.deps=[...i(this.data).map(e=>[new o.HighlightConfigChunk(e),!0])]}load(){return r.RendererLazy.load()}}},function(e,t,n){"use strict";let o=n(9);class r extends o{constructor(e){super(e),this.type="atrule"}append(...e){return this.proxyOf.nodes||(this.nodes=[]),super.append(...e)}prepend(...e){return this.proxyOf.nodes||(this.nodes=[]),super.prepend(...e)}}e.exports=r,r.default=r,o.registerAtRule(r)},function(e,t,n){"use strict";let o=n(382),r=n(73);class i extends Error{constructor(e,t,n,o,r,s){super(e),this.name="CssSyntaxError",this.reason=e,r&&(this.file=r),o&&(this.source=o),s&&(this.plugin=s),void 0!==t&&void 0!==n&&("number"==typeof t?(this.line=t,this.column=n):(this.line=t.line,this.column=t.column,this.endLine=n.line,this.endColumn=n.column)),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,i)}setMessage(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason}showSourceCode(e){if(!this.source)return"";let t=this.source;null==e&&(e=o.isColorSupported);let n=e=>e,i=e=>e,s=e=>e;if(e){let{bold:e,gray:t,red:a}=o.createColors(!0);i=t=>e(a(t)),n=e=>t(e),r&&(s=e=>r(e))}let a=t.split(/\r?\n/),l=Math.max(this.line-3,0),u=Math.min(this.line+2,a.length),c=String(u).length;return a.slice(l,u).map((e,t)=>{let o=l+1+t,r=" "+(" "+o).slice(-c)+" | ";if(o===this.line){if(e.length>160){let t=20,o=Math.max(0,this.column-t),a=Math.max(this.column+t,this.endColumn+t),l=e.slice(o,a),u=n(r.replace(/\d/g," "))+e.slice(0,Math.min(this.column-1,t-1)).replace(/[^\t]/g," ");return i(">")+n(r)+s(l)+"\n "+u+i("^")}let t=n(r.replace(/\d/g," "))+e.slice(0,this.column-1).replace(/[^\t]/g," ");return i(">")+n(r)+s(e)+"\n "+t+i("^")}return" "+n(r)+s(e)}).join("\n")}toString(){let e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e}}e.exports=i,i.default=i},function(e,t,n){"use strict";e.exports.isClean=Symbol("isClean"),e.exports.my=Symbol("my")},function(e,t,n){"use strict";let o,r,i=n(9);class s extends i{constructor(e){super({type:"document",...e}),this.nodes||(this.nodes=[])}toResult(e={}){return new o(new r,this,e).stringify()}}s.registerLazyResult=e=>{o=e},s.registerProcessor=e=>{r=e},e.exports=s,s.default=s},function(e,t){},function(e,t){},function(e,t,n){"use strict";let o=n(9),r=n(77);class i extends o{get selectors(){return r.comma(this.selector)}set selectors(e){let t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}constructor(e){super(e),this.type="rule",this.nodes||(this.nodes=[])}}e.exports=i,i.default=i,o.registerRule(i)},function(e,t,n){"use strict";let o=n(9),r=n(27),i=n(389);function s(e,t){let n=new r(e,t),o=new i(n);try{o.parse()}catch(e){throw e}return o.root}e.exports=s,s.default=s,o.registerParse(s)},function(e,t,n){"use strict";let o=n(80);class r{get content(){return this.css}constructor(e,t,n){this.processor=e,this.messages=[],this.root=t,this.opts=n,this.css="",this.map=void 0}toString(){return this.css}warn(e,t={}){t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);let n=new o(e,t);return this.messages.push(n),n}warnings(){return this.messages.filter(e=>"warning"===e.type)}}e.exports=r,r.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(28);const r=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function i(e,t){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,l=r.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,o=!1,r=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){i.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,r=!1,s=!1)=>{const a=s&&o?t:n;return r&&i.add(e),a.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{if(s=e,o)return void(r=!0);o=!0;const i=t;t=n,n=i,t.forEach(a),t.clear(),o=!1,r&&(r=!1,l.process(e))}};return l}(a),e),{}),{setup:u,read:c,resolveKeyframes:d,preUpdate:h,update:f,preRender:p,render:m,postRender:y}=l,v=()=>{const r=o.MotionGlobalConfig.useManualTiming,a=r?s.timestamp:performance.now();n=!1,r||(s.delta=i?1e3/60:Math.max(Math.min(a-s.timestamp,40),1)),s.timestamp=a,s.isProcessing=!0,u.process(s),c.process(s),d.process(s),h.process(s),f.process(s),p.process(s),m.process(s),y.process(s),s.isProcessing=!1,n&&t&&(i=!1,e(v))};return{schedule:r.reduce((t,o)=>{const r=l[o];return t[o]=(t,o=!1,a=!1)=>(n||(n=!0,i=!0,s.isProcessing||e(v)),r.schedule(t,o,a)),t},{}),cancel:e=>{for(let t=0;t(void 0===c&&h.set(l.isProcessing||o.MotionGlobalConfig.useManualTiming?l.timestamp:performance.now()),c),set:e=>{c=e,queueMicrotask(d)}},f=e=>t=>"string"==typeof t&&t.startsWith(e),p=f("--"),m=f("var(--"),y=e=>!!m(e)&&v.test(e.split("/*")[0].trim()),v=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function g(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}const b={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},x={...b,transform:e=>o.clamp(0,1,e)},w={...b,default:1},_=e=>Math.round(1e5*e)/1e5,M=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const E=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,P=(e,t)=>n=>Boolean("string"==typeof n&&E.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),k=(e,t,n)=>o=>{if("string"!=typeof o)return o;const[r,i,s,a]=o.match(M);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},C={...b,transform:e=>Math.round((e=>o.clamp(0,255,e))(e))},A={test:P("rgb","red"),parse:k("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+C.transform(e)+", "+C.transform(t)+", "+C.transform(n)+", "+_(x.transform(o))+")"};const S={test:P("#"),parse:function(e){let t="",n="",o="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,o+=o,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:r?parseInt(r,16)/255:1}},transform:A.transform},O=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),T=O("deg"),R=O("%"),j=O("px"),D=O("vh"),L=O("vw"),I=(()=>({...R,parse:e=>R.parse(e)/100,transform:e=>R.transform(100*e)}))(),V={test:P("hsl","hue"),parse:k("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+R.transform(_(t))+", "+R.transform(_(n))+", "+_(x.transform(o))+")"},B={test:e=>A.test(e)||S.test(e)||V.test(e),parse:e=>A.test(e)?A.parse(e):V.test(e)?V.parse(e):S.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?A.transform(e):V.transform(e),getAnimatableNone:e=>{const t=B.parse(e);return t.alpha=0,B.transform(t)}},$=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const F="number",U="color",N=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function z(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},r=[];let i=0;const s=t.replace(N,e=>(B.test(e)?(o.color.push(i),r.push(U),n.push(B.parse(e))):e.startsWith("var(")?(o.var.push(i),r.push("var"),n.push(e)):(o.number.push(i),r.push(F),n.push(parseFloat(e))),++i,"${}")).split("${}");return{values:n,split:s,indexes:o,types:r}}function W({split:e,types:t}){const n=e.length;return o=>{let r="";for(let i=0;i{return"number"==typeof e?(null==t?void 0:t.trim().endsWith("/"))?e:0:"number"==typeof(n=e)?0:B.test(n)?B.getAnimatableNone(n):n;var n};const H={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(M))||void 0===t?void 0:t.length)||0)+((null===(n=e.match($))||void 0===n?void 0:n.length)||0)>0},parse:function(e){return z(e).values},createTransformer:function(e){return W(z(e))},getAnimatableNone:function(e){const t=z(e);return W(t)(t.values.map((e,n)=>q(e,t.split[n])))}};function G(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function K({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,n/=100;let r=0,i=0,s=0;if(t/=100){const o=n<.5?n*(1+t):n+t-n*t,a=2*n-o;r=G(a,o,e+1/3),i=G(a,o,e),s=G(a,o,e-1/3)}else r=i=s=n;return{red:Math.round(255*r),green:Math.round(255*i),blue:Math.round(255*s),alpha:o}}function Y(e,t){return n=>n>0?t:e}const X=(e,t,n)=>e+(t-e)*n,J=(e,t,n)=>{const o=e*e,r=n*(t*t-o)+o;return r<0?0:Math.sqrt(r)},Z=[S,A,V];function Q(e){const t=(n=e,Z.find(e=>e.test(n)));var n;if(o.warning(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!Boolean(t))return!1;let r=t.parse(e);return t===V&&(r=K(r)),r}const ee=(e,t)=>{const n=Q(e),o=Q(t);if(!n||!o)return Y(e,t);const r={...n};return e=>(r.red=J(n.red,o.red,e),r.green=J(n.green,o.green,e),r.blue=J(n.blue,o.blue,e),r.alpha=X(n.alpha,o.alpha,e),A.transform(r))},te=new Set(["none","hidden"]);function ne(e,t){return te.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function oe(e,t){return n=>X(e,t,n)}function re(e){return"number"==typeof e?oe:"string"==typeof e?y(e)?Y:B.test(e)?ee:ae:Array.isArray(e)?ie:"object"==typeof e?B.test(e)?ee:se:Y}function ie(e,t){const n=[...e],o=n.length,r=e.map((e,n)=>re(e)(e,t[n]));return e=>{for(let t=0;t{for(const t in o)n[t]=o[t](e);return n}}const ae=(e,t)=>{const n=H.createTransformer(t),r=z(e),i=z(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?te.has(e)&&!i.values.length||te.has(t)&&!r.values.length?ne(e,t):o.pipe(ie(function(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i{const t=({timestamp:t})=>e(t);return{start:(e=!0)=>s.update(t,e),stop:()=>a(t),now:()=>l.isProcessing?l.timestamp:h.now()}},ce=(e,t,n=10)=>{let o="";const r=Math.max(Math.round(t/n),2);for(let t=0;t=de?1/0:t}function fe(e,t=100,n){const r=n({...e,keyframes:[0,t]}),i=Math.min(he(r),de);return{type:"keyframes",ease:e=>r.next(i*e).value/t,duration:o.millisecondsToSeconds(i)}}const pe=100,me=10,ye=1,ve=0,ge=800,be=.3,xe=.3,we={granular:.01,default:2},_e={granular:.005,default:.5},Me=.01,Ee=10,Pe=.05,ke=1;function Ce(e,t){return e*Math.sqrt(1-t*t)}const Ae=.001;const Se=["duration","bounce"],Oe=["stiffness","damping","mass"];function Te(e,t){return t.some(t=>void 0!==e[t])}function Re(e){let t={velocity:ve,stiffness:pe,damping:me,mass:ye,isResolvedFromDuration:!1,...e};if(!Te(e,Oe)&&Te(e,Se))if(t.velocity=0,e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(1.2*n),i=r*r,s=2*o.clamp(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ye,stiffness:i,damping:s}}else{const n=function({duration:e=ge,bounce:t=be,velocity:n=ve,mass:r=ye}){let i,s;o.warning(e<=o.secondsToMilliseconds(Ee),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-t;a=o.clamp(Pe,ke,a),e=o.clamp(Me,Ee,o.millisecondsToSeconds(e)),a<1?(i=t=>{const o=t*a,r=o*e,i=o-n,s=Ce(t,a),l=Math.exp(-r);return Ae-i/s*l},s=t=>{const o=t*a*e,r=o*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-o),u=Ce(Math.pow(t,2),a);return(-i(t)+Ae>0?-1:1)*((r-s)*l)/u}):(i=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,s=t=>Math.exp(-t*e)*(e*e*(n-t)));const l=function(e,t,n){let o=n;for(let n=1;n<12;n++)o-=e(o)/t(o);return o}(i,s,5/e);if(e=o.secondsToMilliseconds(e),isNaN(l))return{stiffness:pe,damping:me,duration:e};{const t=Math.pow(l,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}({...e,velocity:0});t={...t,...n,mass:ye},t.isResolvedFromDuration=!0}return t}function je(e=xe,t=be){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:i}=n;const s=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:s},{stiffness:u,damping:c,mass:d,duration:h,velocity:f,isResolvedFromDuration:p}=Re({...n,velocity:-o.millisecondsToSeconds(n.velocity||0)}),m=f||0,y=c/(2*Math.sqrt(u*d)),v=a-s,g=o.millisecondsToSeconds(Math.sqrt(u/d)),b=Math.abs(v)<5;let x,w,_,M,E,P;if(r||(r=b?we.granular:we.default),i||(i=b?_e.granular:_e.default),y<1)_=Ce(g,y),M=(m+y*g*v)/_,x=e=>{const t=Math.exp(-y*g*e);return a-t*(M*Math.sin(_*e)+v*Math.cos(_*e))},E=y*g*M+v*_,P=y*g*v-M*_,w=e=>Math.exp(-y*g*e)*(E*Math.sin(_*e)+P*Math.cos(_*e));else if(1===y){x=e=>a-Math.exp(-g*e)*(v+(m+g*v)*e);const e=m+g*v;w=t=>Math.exp(-g*t)*(g*e*t-m)}else{const e=g*Math.sqrt(y*y-1);x=t=>{const n=Math.exp(-y*g*t),o=Math.min(e*t,300);return a-n*((m+y*g*v)*Math.sinh(o)+e*v*Math.cosh(o))/e};const t=(m+y*g*v)/e,n=y*g*t-v*e,o=y*g*v-t*e;w=t=>{const r=Math.exp(-y*g*t),i=Math.min(e*t,300);return r*(n*Math.sinh(i)+o*Math.cosh(i))}}const k={calculatedDuration:p&&h||null,velocity:e=>o.secondsToMilliseconds(w(e)),next:e=>{if(!p&&y<1){const t=Math.exp(-y*g*e),n=Math.sin(_*e),s=Math.cos(_*e),u=a-t*(M*n+v*s),c=o.secondsToMilliseconds(t*(E*n+P*s));return l.done=Math.abs(c)<=r&&Math.abs(a-u)<=i,l.value=l.done?a:u,l}const t=x(e);if(p)l.done=e>=h;else{const n=o.secondsToMilliseconds(w(e));l.done=Math.abs(n)<=r&&Math.abs(a-t)<=i}return l.value=l.done?a:t,l},toString:()=>{const e=Math.min(he(k),de),t=ce(t=>k.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return k}je.applyToOptions=e=>{const t=fe(e,100,je);return e.ease=t.ease,e.duration=o.secondsToMilliseconds(t.duration),e.type="keyframes",e};function De(e,t,n){const r=Math.max(t-5,0);return o.velocityPerSecond(n-e(r),t-r)}function Le({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)-p*Math.exp(-e/o),g=e=>y+v(e),b=e=>{const t=v(e),n=g(e);h.done=Math.abs(t)<=u,h.value=h.done?y:n};let x,w;const _=e=>{var t;(t=h.value,void 0!==a&&tl)&&(x=e,w=je({keyframes:[h.value,f(h.value)],velocity:De(g,e,h.value),damping:r,stiffness:i,restDelta:u,restSpeed:c}))};return _(0),{calculatedDuration:null,next:e=>{let t=!1;return w||void 0!==x||(t=!0,b(e),_(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&b(e),h)}}}function Ie(e,t,{clamp:n=!0,ease:r,mixer:i}={}){const s=e.length;if(o.invariant(s===t.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>t[0];if(2===s&&t[0]===t[1])return()=>t[1];const a=e[0]===e[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());const l=function(e,t,n){const r=[],i=n||o.MotionGlobalConfig.mix||le,s=e.length-1;for(let n=0;n{if(a&&n1)for(;rc(o.clamp(e[0],e[s-1],t)):c}function Ve(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const i=o.progress(0,t,r);e.push(X(n,1,i))}}function Be(e){const t=[0];return Ve(t,e.length-1),t}function $e(e,t){return e.map(e=>e*t)}function Fe(e,t){return e.map(()=>t||o.easeInOut).splice(0,e.length-1)}function Ue({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const i=o.isEasingArray(r)?r.map(o.easingDefinitionToFunction):o.easingDefinitionToFunction(r),s={done:!1,value:t[0]},a=Ie($e(n&&n.length===t.length?n:Be(t),e),t,{ease:Array.isArray(i)?i:Fe(t,i)});return{calculatedDuration:e,next:t=>(s.value=a(t),s.done=t>=e,s)}}const Ne=e=>null!==e;function ze(e,{repeat:t,repeatType:n="loop"},o,r=1){const i=e.filter(Ne),s=r<0||t&&"loop"!==n&&t%2==1?0:i.length-1;return s&&void 0!==o?o:i[s]}const We={decay:Le,inertia:Le,tween:Ue,keyframes:Ue,spring:je};function qe(e){"string"==typeof e.type&&(e.type=We[e.type])}class He{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}const Ge=e=>e/100;class Ke extends He{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{var e,t;const{motionValue:n}=this.options;n&&n.updatedAt!==h.now()&&this.tick(h.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),null===(e=(t=this.options).onStop)||void 0===e||e.call(t))},this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){const{options:e}=this;qe(e);const{type:t=Ue,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:s=0}=e;let{keyframes:a}=e;const l=t||Ue;l!==Ue&&"number"!=typeof a[0]&&(this.mixKeyframes=o.pipe(Ge,le(a[0],a[1])),a=[0,100]);const u=l({...e,keyframes:a});"mirror"===i&&(this.mirroredGenerator=l({...e,keyframes:[...a].reverse(),velocity:-s})),null===u.calculatedDuration&&(u.calculatedDuration=he(u));const{calculatedDuration:c}=u;this.calculatedDuration=c,this.resolvedDuration=c+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=u}updateTime(e){const t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){const{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:s,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);const{delay:u=0,keyframes:c,repeat:d,repeatType:h,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);const v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let b,x=this.currentTime,w=n;if(d){const e=Math.min(this.currentTime,r)/a;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,d+1);Boolean(t%2)&&("reverse"===h?(n=1-n,f&&(n-=f/a)):"mirror"===h&&(w=s)),x=o.clamp(0,1,n)*a}g?(this.delayState.value=c[0],b=this.delayState):b=w.next(x),i&&!g&&(b.value=i(b.value));let{done:_}=b;g||null===l||(_=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);const M=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return M&&p!==Le&&(b.value=ze(c,this.options,y,this.speed)),m&&m(b.value),M&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return o.millisecondsToSeconds(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+o.millisecondsToSeconds(e)}get time(){return o.millisecondsToSeconds(this.currentTime)}set time(e){e=o.secondsToMilliseconds(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){const e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);return De(e=>this.generator.next(e).value,e,this.generator.next(e).value)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(h.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=o.millisecondsToSeconds(this.currentTime))}play(){var e,t;if(this.isStopped)return;const{driver:n=ue,startTime:o}=this.options;this.driver||(this.driver=n(e=>this.tick(e))),null===(e=(t=this.options).onPlay)||void 0===e||e.call(t);const r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=null!=o?o:r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(h.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){var e,t;this.notifyFinished(),this.teardown(),this.state="finished",null===(e=(t=this.options).onComplete)||void 0===e||e.call(t)}cancel(){var e,t;this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),null===(e=(t=this.options).onCancel)||void 0===e||e.call(t)}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){var t;return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),null===(t=this.driver)||void 0===t||t.stop(),e.observe(this)}}function Ye(e){for(let n=1;n180*e/Math.PI,Je=e=>{const t=Xe(Math.atan2(e[1],e[0]));return Qe(t)},Ze={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Je,rotateZ:Je,skewX:e=>Xe(Math.atan(e[1])),skewY:e=>Xe(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Qe=e=>((e%=360)<0&&(e+=360),e),et=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),tt=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),nt={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:et,scaleY:tt,scale:e=>(et(e)+tt(e))/2,rotateX:e=>Qe(Xe(Math.atan2(e[6],e[5]))),rotateY:e=>Qe(Xe(Math.atan2(-e[2],e[0]))),rotateZ:Je,rotate:Je,skewX:e=>Xe(Math.atan(e[4])),skewY:e=>Xe(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ot(e){return e.includes("scale")?1:0}function rt(e,t){if(!e||"none"===e)return ot(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,r;if(n)o=nt,r=n;else{const t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=Ze,r=t}if(!r)return ot(t);const i=o[t],s=r[1].split(",").map(st);return"function"==typeof i?i(s):s[i]}const it=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return rt(n,t)};function st(e){return parseFloat(e.trim())}const at=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],lt=(()=>new Set([...at,"pathRotation"]))(),ut=e=>e===b||e===j,ct=new Set(["x","y","z"]),dt=at.filter(e=>!ct.has(e));const ht={width:({x:e},{paddingLeft:t="0",paddingRight:n="0",boxSizing:o})=>{const r=e.max-e.min;return"border-box"===o?r:r-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t="0",paddingBottom:n="0",boxSizing:o})=>{const r=e.max-e.min;return"border-box"===o?r:r-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>rt(t,"x"),y:(e,{transform:t})=>rt(t,"y")};ht.translateX=ht.x,ht.translateY=ht.y;const ft=new Set;let pt=!1,mt=!1,yt=!1;function vt(){if(mt){const e=Array.from(ft).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=function(e){const t=[];return dt.forEach(n=>{const o=e.getValue(n);void 0!==o&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{var o;null===(o=e.getValue(t))||void 0===o||o.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}mt=!1,pt=!1,ft.forEach(e=>e.complete(yt)),ft.clear()}function gt(){ft.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(mt=!0)})}function bt(){yt=!0,gt(),vt(),yt=!1}class xt{constructor(e,t,n,o,r,i=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=o,this.element=r,this.isAsync=i}scheduleResolve(){this.state="scheduled",this.isAsync?(ft.add(this),pt||(pt=!0,s.read(gt),s.resolveKeyframes(vt))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:o}=this;if(null===e[0]){const r=null==o?void 0:o.get(),i=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){const o=n.readValue(t,i);null!=o&&(e[0]=o)}void 0===e[0]&&(e[0]=i),o&&void 0===r&&o.set(e[0])}Ye(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),ft.delete(this)}cancel(){"scheduled"===this.state&&(ft.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const wt=e=>e.startsWith("--");function _t(e,t,n){wt(t)?e.style.setProperty(t,n):e.style[t]=n}const Mt={};function Et(e,t){const n=o.memo(e);return()=>{var e;return null!==(e=Mt[t])&&void 0!==e?e:n()}}const Pt=Et(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),kt=Et(()=>void 0!==window.ViewTimeline,"viewTimeline"),Ct=Et(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),At=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,St={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:At([0,.65,.55,1]),circOut:At([.55,0,1,.45]),backIn:At([.31,.01,.66,-.59]),backOut:At([.33,1.53,.69,.99])};function Ot(e,t){return e?"function"==typeof e?Ct()?ce(e,t):"ease-out":o.isBezierDefinition(e)?At(e):Array.isArray(e)?e.map(e=>Ot(e,t)||St.easeOut):St[e]:void 0}function Tt(e,t,n,{delay:o=0,duration:r=300,repeat:i=0,repeatType:s="loop",ease:a="easeOut",times:l}={},u=void 0){const c={[t]:n};l&&(c.offset=l);const d=Ot(a,r);Array.isArray(d)&&(c.easing=d);const h={delay:o,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"};return u&&(h.pseudoElement=u),e.animate(c,h)}function Rt(e){return"function"==typeof e&&"applyToOptions"in e}function jt({type:e,...t}){return Rt(e)&&Ct()?e.applyToOptions(t):(null!==(n=t.duration)&&void 0!==n||(t.duration=300),null!==(o=t.ease)&&void 0!==o||(t.ease="easeOut"),t);var n,o}class Dt extends He{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:s=!1,finalKeyframe:a,onComplete:l}=e;this.isPseudoElement=Boolean(i),this.allowFlatten=s,this.options=e,o.invariant("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const u=jt(e);this.animation=Tt(t,n,r,u,i),!1===u.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){const e=ze(r,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(e),_t(t,n,e),this.animation.cancel()}null==l||l(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){var e,t;null===(e=(t=this.animation).finish)||void 0===e||e.call(t)}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){var e;const t=null===(e=this.options)||void 0===e?void 0:e.element;var n,o;!this.isPseudoElement&&(null==t?void 0:t.isConnected)&&(null===(n=(o=this.animation).commitStyles)||void 0===n||n.call(o))}get duration(){var e,t;const n=(null===(e=this.animation.effect)||void 0===e||null===(t=e.getComputedTiming)||void 0===t?void 0:t.call(e).duration)||0;return o.millisecondsToSeconds(Number(n))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+o.millisecondsToSeconds(e)}get time(){return o.millisecondsToSeconds(Number(this.animation.currentTime)||0)}set time(e){const t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=o.secondsToMilliseconds(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){var e;return null!==(e=this.manualStartTime)&&void 0!==e?e:Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){var i;this.allowFlatten&&(null===(i=this.animation.effect)||void 0===i||i.updateTiming({easing:"linear"}));return this.animation.onfinish=null,e&&Pt()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),o.noop):r(this)}}const Lt={anticipate:o.anticipate,backInOut:o.backInOut,circInOut:o.circInOut};function It(e){"string"==typeof e.ease&&e.ease in Lt&&(e.ease=Lt[e.ease])}class Vt extends Dt{constructor(e){It(e),qe(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:t,onUpdate:n,onComplete:r,element:i,...s}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);const a=new Ke({...s,autoplay:!1}),l=Math.max(10,h.now()-this.startTime),u=o.clamp(0,10,l-10),c=a.sample(l).value,{name:d}=this.options;i&&d&&_t(i,d,c),t.setWithVelocity(a.sample(Math.max(0,l-u)).value,c,u),a.stop()}}const Bt=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!H.test(e)&&"0"!==e||e.startsWith("url(")));function $t(e){e.duration=0,e.type="keyframes"}const Ft=new Set(["opacity","clipPath","filter","transform"]),Ut=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;const Nt=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),zt=o.memo(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Wt(e){var t;const{motionValue:n,name:o,repeatDelay:r,repeatType:i,damping:s,type:a,keyframes:l}=e;if(!((null==n||null===(t=n.owner)||void 0===t?void 0:t.current)instanceof HTMLElement))return!1;const{onUpdate:u,transformTemplate:c}=n.owner.getProps();return zt()&&o&&(Ft.has(o)||Nt.has(o)&&function(e){for(let t=0;t{var e,t;this._animation&&(this._animation.stop(),null===(t=this.stopTimeline)||void 0===t||t.call(this));null===(e=this.keyframeResolver)||void 0===e||e.cancel()},this.createdAt=h.now();const f={autoplay:e,delay:t,type:n,repeat:o,repeatDelay:r,repeatType:i,name:a,motionValue:l,element:u,...c},p=(null==u?void 0:u.KeyframeResolver)||xt;this.keyframeResolver=new p(s,(e,t,n)=>this.onKeyframesResolved(e,t,f,!n),a,l,u),null===(d=this.keyframeResolver)||void 0===d||d.scheduleResolve()}onKeyframesResolved(e,t,n,r){var i,s;this.keyframeResolver=void 0;const{name:a,type:l,velocity:u,delay:c,isHandoff:d,onUpdate:f}=n;this.resolvedAt=h.now();let p=!0;(function(e,t,n,r){const i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;const s=e[e.length-1],a=Bt(i,t),l=Bt(s,t);return o.warning(a===l,`You are trying to animate ${t} from "${i}" to "${s}". "${a?s:i}" is not an animatable value.`,"value-not-animatable"),!(!a||!l)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},y=p&&!d&&Wt(m),v=null===(i=m.motionValue)||void 0===i||null===(s=i.owner)||void 0===s?void 0:s.current;let g;if(y)try{g=new Vt({...m,element:v})}catch{g=new Ke(m)}else g=new Ke(m);g.finished.then(()=>{this.notifyFinished()}).catch(o.noop),this.pendingTimeline&&(this.stopTimeline=g.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=g}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){var e;this._animation||(null===(e=this.keyframeResolver)||void 0===e||e.resume(),bt());return this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){var e;this._animation&&this.animation.cancel(),null===(e=this.keyframeResolver)||void 0===e||e.cancel()}}class Ht{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>e.finished))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;nt.attachTimeline(e));return()=>{t.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get state(){return this.getAll("state")}get startTime(){return this.getAll("startTime")}get duration(){return Gt(this.animations,"duration")}get iterationDuration(){return Gt(this.animations,"iterationDuration")}runAll(e){this.animations.forEach(t=>t[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Gt(e,t){let n=0;for(let o=0;on&&(n=r)}return n}class Kt extends Dt{constructor(e){super(),this.animation=e,e.onfinish=()=>{this.finishedTime=this.time,this.notifyFinished()}}}const Yt=new WeakMap;function Xt(e,t,n,o=0,r=1){const i=Array.from(e).sort((e,t)=>e.sortNodePosition(t)).indexOf(t),s=e.size,a=(s-1)*o;return"function"==typeof n?n(i,s):1===r?i*o:a-i*o}const Jt={current:void 0};class Zt{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{const t=h.now();var n;if((this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev)&&(null===(n=this.events.change)||void 0===n||n.notify(this.current),this.dependents))for(const e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=h.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new o.SubscriptionManager);const n=this.events[e].add(t);return"change"===e?()=>{n(),s.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){var e;null===(e=this.events.change)||void 0===e||e.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Jt.current&&Jt.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=h.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return o.velocityPerSecond(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){var e,t;null===(e=this.dependents)||void 0===e||e.clear(),null===(t=this.events.destroy)||void 0===t||t.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Qt(e,t){return new Zt(e,t)}function en(e,t){if((null==e?void 0:e.inherit)&&t){const{inherit:n,...o}=e;return{...t,...o}}return e}function tn(e,t){var n,o;const r=null!==(n=null!==(o=null==e?void 0:e[t])&&void 0!==o?o:null==e?void 0:e.default)&&void 0!==n?n:e;return r!==e?en(r,e):r}const nn={type:"spring",stiffness:500,damping:25,restSpeed:10},on={type:"keyframes",duration:.8},rn={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sn=(e,{keyframes:t})=>t.length>2?on:lt.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:nn:rn,an=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function ln(e){for(const t in e)if(!an.has(t))return!0;return!1}const un=(e,t,n,r={},i,a)=>l=>{const u=tn(r,e)||{},c=u.delay||r.delay||0;let{elapsed:d=0}=r;d-=o.secondsToMilliseconds(c);const h={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...u,delay:-d,onUpdate:e=>{t.set(e),u.onUpdate&&u.onUpdate(e)},onComplete:()=>{l(),u.onComplete&&u.onComplete()},name:e,motionValue:t,element:a?void 0:i};ln(u)||Object.assign(h,sn(e,h)),h.duration&&(h.duration=o.secondsToMilliseconds(h.duration)),h.repeatDelay&&(h.repeatDelay=o.secondsToMilliseconds(h.repeatDelay)),void 0!==h.from&&(h.keyframes[0]=h.from);let f=!1;if((!1===h.type||0===h.duration&&!h.repeatDelay)&&($t(h),0===h.delay&&(f=!0)),(o.MotionGlobalConfig.instantAnimations||o.MotionGlobalConfig.skipAnimations||(null==i?void 0:i.shouldSkipAnimations)||u.skipAnimations)&&(f=!0,$t(h),h.delay=0),h.allowFlatten=!u.type&&!u.ease,f&&!a&&void 0!==t.get()){const e=ze(h.keyframes,u);if(void 0!==e)return void s.update(()=>{h.onUpdate(e),h.onComplete()})}return u.isSync?new Ke(h):new qt(h)};function cn(e,t,n,o){const r=1-e;return r*r*t+2*r*e*n+e*e*o}function dn(e,t,n,o,r,i,s){const a=2*(1-e)*(n-t)+2*e*(o-n),l=2*(1-e)*(i-r)+2*e*(s-i);return Math.atan2(l,a)*(180/Math.PI)}function hn(e,t,n,o,r,i){const s=n-e,a=o-t,l=Math.sqrt(s*s+a*a);if(l>0){const n=r*l;return{x:e+s*i+-a/l*n,y:t+a*i+s/l*n}}return{x:e,y:t}}const fn=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function pn(e){const t=fn.exec(e);if(!t)return[,];const[,n,o,r]=t;return[`--${null!=n?n:o}`,r]}function mn(e,t,n=1){o.invariant(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[r,i]=pn(e);if(!r)return;const s=window.getComputedStyle(t).getPropertyValue(r);if(s){const e=s.trim();return o.isNumericalString(e)?parseFloat(e):e}return y(i)?mn(i,t,n+1):i}function yn(e){const t=[{},{}];return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function vn(e,t,n,o){if("function"==typeof t){const[r,i]=yn(o);t=t(void 0!==n?n:e.custom,r,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[r,i]=yn(o);t=t(void 0!==n?n:e.custom,r,i)}return t}function gn(e,t,n){const o=e.getProps();return vn(o,t,void 0!==n?n:o.custom,e)}const bn=new Set(["width","height","top","left","right","bottom",...at]),xn=e=>Array.isArray(e);function wn(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Qt(n))}function _n(e){return xn(e)?e[e.length-1]||0:e}function Mn(e,t){const n=gn(e,t);let{transitionEnd:o={},transition:r={},...i}=n||{};i={...i,...o};for(const t in i){wn(e,t,_n(i[t]))}}const En=e=>Boolean(e&&e.getVelocity);function Pn(e){return Boolean(En(e)&&e.add)}function kn(e,t){const n=e.getValue("willChange");if(Pn(n))return n.add(t);if(!n&&o.MotionGlobalConfig.WillChange){const n=new o.MotionGlobalConfig.WillChange("auto");e.addValue("willChange",n),n.add(t)}}function Cn(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const An="framerAppearId",Sn="data-"+Cn(An);function On(e){return e.props[Sn]}function Tn({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,o}function Rn(e,t,{delay:n=0,transitionOverride:o,type:r}={}){var i,a,l;let{transition:u,transitionEnd:c,...d}=t;const h=e.getDefaultTransition();u=u?en(u,h):h;const f=null===(i=u)||void 0===i?void 0:i.reduceMotion,p=null===(a=u)||void 0===a?void 0:a.skipAnimations;o&&(u=o);const m=[],y=r&&e.animationState&&e.animationState.getState()[r],v=null===(l=u)||void 0===l?void 0:l.path;v&&v.animateVisualElement(e,d,u,n,m);for(const t in d){var g;const o=e.getValue(t,null!==(g=e.latestValues[t])&&void 0!==g?g:null),r=d[t];if(void 0===r||y&&Tn(y,t))continue;const i={delay:n,...tn(u||{},t)};p&&(i.skipAnimations=!0);const a=o.get();if(void 0!==a&&!o.isAnimating()&&!Array.isArray(r)&&r===a&&!i.velocity){s.update(()=>o.set(r));continue}let l=!1;if(window.MotionHandoffAnimation){const n=On(e);if(n){const e=window.MotionHandoffAnimation(n,t,s);null!==e&&(i.startTime=e,l=!0)}}kn(e,t);const c=null!=f?f:e.shouldReduceMotion;o.start(un(t,o,r,c&&bn.has(t)?{type:!1}:i,e,l));const h=o.animation;h&&m.push(h)}if(c){const t=()=>s.update(()=>{c&&Mn(e,c)});m.length?Promise.all(m).then(t):t()}return m}function jn(e,t,n={}){var o;const r=gn(e,t,"exit"===n.type?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const s=r?()=>Promise.all(Rn(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(o=0)=>{const{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,o=0,r=0,i=1,s){const a=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),a.push(jn(l,t,{...s,delay:n+("function"==typeof o?0:o)+Xt(e.variantChildren,l,o,r,i)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(a)}(e,t,o,r,s,a,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then(()=>t())}return Promise.all([s(),a(n.delay)])}function Dn(e,t,n={}){let o;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>jn(e,t,n));o=Promise.all(r)}else if("string"==typeof t)o=jn(e,t,n);else{const r="function"==typeof t?gn(e,t,n.custom):t;o=Promise.all(Rn(e,r,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}const Ln=e=>t=>t.test(e),In=[b,j,R,T,L,D,{test:e=>"auto"===e,parse:e=>e}],Vn=e=>In.find(Ln(e));function Bn(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||o.isZeroValueString(e))}const $n=new Set(["brightness","contrast","saturate","opacity"]);function Fn(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[o]=n.match(M)||[];if(!o)return e;const r=n.replace(o,"");let i=$n.has(t)?1:0;return o!==n&&(i*=100),t+"("+i+r+")"}const Un=/\b([a-z-]*)\(.*?\)/gu,Nn={...H,getAnimatableNone:e=>{const t=e.match(Un);return t?t.map(Fn).join(" "):e}},zn={...H,getAnimatableNone:e=>{const t=H.parse(e);return H.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},Wn={...b,transform:Math.round},qn={rotate:T,pathRotation:T,rotateX:T,rotateY:T,rotateZ:T,scale:w,scaleX:w,scaleY:w,scaleZ:w,skew:T,skewX:T,skewY:T,distance:j,translateX:j,translateY:j,translateZ:j,x:j,y:j,z:j,perspective:j,transformPerspective:j,opacity:x,originX:I,originY:I,originZ:j},Hn={borderWidth:j,borderTopWidth:j,borderRightWidth:j,borderBottomWidth:j,borderLeftWidth:j,borderRadius:j,borderTopLeftRadius:j,borderTopRightRadius:j,borderBottomRightRadius:j,borderBottomLeftRadius:j,width:j,maxWidth:j,height:j,maxHeight:j,top:j,right:j,bottom:j,left:j,inset:j,insetBlock:j,insetBlockStart:j,insetBlockEnd:j,insetInline:j,insetInlineStart:j,insetInlineEnd:j,padding:j,paddingTop:j,paddingRight:j,paddingBottom:j,paddingLeft:j,paddingBlock:j,paddingBlockStart:j,paddingBlockEnd:j,paddingInline:j,paddingInlineStart:j,paddingInlineEnd:j,margin:j,marginTop:j,marginRight:j,marginBottom:j,marginLeft:j,marginBlock:j,marginBlockStart:j,marginBlockEnd:j,marginInline:j,marginInlineStart:j,marginInlineEnd:j,fontSize:j,backgroundPositionX:j,backgroundPositionY:j,...qn,zIndex:Wn,fillOpacity:x,strokeOpacity:x,numOctaves:Wn},Gn={...Hn,color:B,backgroundColor:B,outlineColor:B,fill:B,stroke:B,borderColor:B,borderTopColor:B,borderRightColor:B,borderBottomColor:B,borderLeftColor:B,filter:Nn,WebkitFilter:Nn,mask:zn,WebkitMask:zn},Kn=e=>Gn[e],Yn=new Set([Nn,zn]);function Xn(e,t){let n=Kn(e);return Yn.has(n)||(n=H),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Jn=new Set(["auto","none","0"]);class Zn extends xt{constructor(e,t,n,o,r){super(e,t,n,o,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const Qn=new Set(["borderWidth","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","width","maxWidth","height","maxHeight","top","right","bottom","left","inset","insetBlock","insetBlockStart","insetBlockEnd","insetInline","insetInlineStart","insetInlineEnd","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingBlock","paddingBlockStart","paddingBlockEnd","paddingInline","paddingInlineStart","paddingInlineEnd","margin","marginTop","marginRight","marginBottom","marginLeft","marginBlock","marginBlockStart","marginBlockEnd","marginInline","marginInlineStart","marginInlineEnd","fontSize","backgroundPositionX","backgroundPositionY"]);const eo=o.memo(()=>{try{document.createElement("div").animate({opacity:[1]})}catch(e){return!1}return!0});function to(e,t,n){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){var o;let r=document;t&&(r=t.current);const i=null!==(o=null==n?void 0:n[e])&&void 0!==o?o:r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}function no(e){return(t,n)=>{const o=to(t),r=[];for(const t of o){const o=e(t,n);r.push(o)}return()=>{for(const e of r)e()}}}const oo=(e,t)=>t&&"number"==typeof e?t.transform(e):e;class ro{constructor(){this.latest={},this.values=new Map}set(e,t,n,o,r=!0){const i=this.values.get(e);i&&i.onRemove();const l=()=>{const o=t.get();this.latest[e]=r?oo(o,Hn[e]):o,n&&s.render(n)};l();const u=t.on("change",l);o&&t.addDependent(o);const c=()=>{u(),n&&a(n),this.values.delete(e),o&&t.removeDependent(o)};return this.values.set(e,{value:t,onRemove:c}),c}get(e){var t;return null===(t=this.values.get(e))||void 0===t?void 0:t.value}}function io(e){const t=new WeakMap;return(n,o)=>{var r;const i=null!==(r=t.get(n))&&void 0!==r?r:new ro;t.set(n,i);const s=[];for(const t in o){const r=o[t],a=e(n,i,t,r);s.push(a)}return()=>{for(const e of s)e()}}}const so=(e,t,n,o)=>{const r=function(e,t){if(!(t in e))return!1;const n=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),t)||Object.getOwnPropertyDescriptor(e,t);return n&&"function"==typeof n.set}(e,n),i=r?n:n.startsWith("data")||n.startsWith("aria")?Cn(n):n,s=r?()=>{e[i]=t.latest[n]}:()=>{const o=t.latest[n];null==o?e.removeAttribute(i):e.setAttribute(i,String(o))};return t.set(n,o,s)},ao=no(io(so)),lo=io((e,t,n,o)=>t.set(n,o,()=>{e[n]=t.latest[n]},void 0,!1));function uo(e){return o.isObject(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}const co={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};const ho=new Set(["originX","originY","originZ"]),fo=(e,t,n,o)=>{let r,i;return lt.has(n)?(t.get("transform")||(uo(e)||t.get("transformBox")||fo(e,t,"transformBox",new Zt("fill-box")),t.set("transform",new Zt("none"),()=>{e.style.transform=function(e){let t="",n=!0;for(let o=0;o{var n,o,r;const i=null!==(n=t.latest.originX)&&void 0!==n?n:"50%",s=null!==(o=t.latest.originY)&&void 0!==o?o:"50%",a=null!==(r=t.latest.originZ)&&void 0!==r?r:0;e.style.transformOrigin=`${i} ${s} ${a}`}),i=t.get("transformOrigin")):r=wt(n)?()=>{e.style.setProperty(n,t.latest[n])}:()=>{e.style[n]=t.latest[n]},t.set(n,o,r,i)},po=no(io(fo));const mo=no(io((e,t,n,o)=>{if(n.startsWith("path"))return function(e,t,n,o){return s.render(()=>e.setAttribute("pathLength","1")),"pathOffset"===n?t.set(n,o,()=>{const o=t.latest[n];e.setAttribute("stroke-dashoffset",""+-o)}):(t.get("stroke-dasharray")||t.set("stroke-dasharray",new Zt("1 1"),()=>{const{pathLength:n=1,pathSpacing:o}=t.latest;e.setAttribute("stroke-dasharray",`${n} ${null!=o?o:1-Number(n)}`)}),t.set(n,o,void 0,t.get("stroke-dasharray")))}(e,t,n,o);if(n.startsWith("attr"))return so(e,t,function(e){return e.replace(/^attr([A-Z])/,(e,t)=>t.toLowerCase())}(n),o);return(n in e.style?fo:so)(e,t,n,o)}));const{schedule:yo,cancel:vo}=i(queueMicrotask,!1),go={x:!1,y:!1};function bo(){return go.x||go.y}function xo(e,t){const n=to(e),o=new AbortController;return[n,{passive:!0,...t,signal:o.signal},()=>o.abort()]}const wo=(e,t)=>!!t&&(e===t||wo(e,t.parentElement)),_o=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,Mo=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Eo(e){return Mo.has(e.tagName)||!0===e.isContentEditable}const Po=new Set(["INPUT","SELECT","TEXTAREA"]);const ko=new WeakSet;function Co(e){return t=>{"Enter"===t.key&&e(t)}}function Ao(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function So(e){return _o(e)&&!bo()}const Oo=new WeakSet;function To(e){return o.isObject(e)&&"ownerSVGElement"in e}const Ro=new WeakMap;let jo;const Do=(e,t,n)=>(o,r)=>r&&r[0]?r[0][e+"Size"]:To(o)&&"getBBox"in o?o.getBBox()[t]:o[n],Lo=Do("inline","width","offsetWidth"),Io=Do("block","height","offsetHeight");function Vo({target:e,borderBoxSize:t}){var n;null===(n=Ro.get(e))||void 0===n||n.forEach(n=>{n(e,{get width(){return Lo(e,t)},get height(){return Io(e,t)}})})}function Bo(e){e.forEach(Vo)}function $o(e,t){jo||"undefined"!=typeof ResizeObserver&&(jo=new ResizeObserver(Bo));const n=to(e);return n.forEach(e=>{var n;let o=Ro.get(e);o||(o=new Set,Ro.set(e,o)),o.add(t),null===(n=jo)||void 0===n||n.observe(e)}),()=>{n.forEach(e=>{const n=Ro.get(e);var o;(null==n||n.delete(t),null==n?void 0:n.size)||(null===(o=jo)||void 0===o||o.unobserve(e))})}}const Fo=new Set;let Uo;function No(e){return Fo.add(e),Uo||(Uo=()=>{const e={get width(){return window.innerWidth},get height(){return window.innerHeight}};Fo.forEach(t=>t(e))},window.addEventListener("resize",Uo)),()=>{Fo.delete(e),Fo.size||"function"!=typeof Uo||(window.removeEventListener("resize",Uo),Uo=void 0)}}const zo={value:null,addProjectionMetrics:null};function Wo(e){return To(e)&&"svg"===e.tagName}function qo(e,t){if("first"===e)return 0;{const n=t-1;return"last"===e?n:n/2}}function Ho(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],r=Ie(e[1+n],e[2+n],e[3+n]);return t?r(o):r}function Go(e,t){const n=Qt(En(e)?e.get():e);return Ko(n,e,t),n}function Ko(e,t,n={}){const o=e.get();let r,i=null,a=o;const l="string"==typeof o?o.replace(/[\d.-]/g,""):void 0,u=()=>{i&&(i.stop(),i=null),e.animation=void 0},c=()=>{var t,o,s;(()=>{const t=Xo(e.get()),o=Xo(a);if(t===o)return void u();const s=i?i.getGeneratorVelocity():e.getVelocity();u(),i=new Ke({keyframes:[t,o],velocity:s,type:"spring",restDelta:.001,restSpeed:.01,...n,onUpdate:r})})(),e.animation=null!==(t=i)&&void 0!==t?t:void 0,null===(o=e.events.animationStart)||void 0===o||o.notify(),null===(s=i)||void 0===s||s.then(()=>{var t;e.animation=void 0,null===(t=e.events.animationComplete)||void 0===t||t.notify()})};if(e.attach((e,t)=>{a=e,r=e=>t(Yo(e,l)),s.postRender(c)},u),En(t)){let o=!0===n.skipInitialAnimation;const r=t.on("change",t=>{o?(o=!1,e.jump(Yo(t,l),!1)):e.set(Yo(t,l))}),i=e.on("destroy",r);return()=>{r(),i()}}return u}function Yo(e,t){return t?e+t:e}function Xo(e){return"number"==typeof e?e:parseFloat(e)}function Jo(e){const t=[];Jt.current=t;const n=e();Jt.current=void 0;const o=Qt(n);return function(e,t,n){const o=()=>t.set(n()),r=()=>s.preRender(o,!1,!0),i=e.map(e=>e.on("change",r));t.on("destroy",()=>{i.forEach(e=>e()),a(o)})}(t,o,e),o}const Zo=[...In,B,H],Qo=e=>Zo.find(Ln(e));let er=0;const tr=()=>"motion-view-"+er++;function nr(e,t,n){var o;t&&(null===(o=e.style)||void 0===o||o.setProperty("view-transition-class",t),n.push(e))}function or(e,t,n,o,r){var i;if(n&&(null===(i=e.style)||void 0===i||i.setProperty("view-transition-group",n),o.push(e),"none"!==n&&r)){const n=getComputedStyle(e);"visible"===n.overflowX&&"visible"===n.overflowY||r.add(t)}}function rr(e,t,n,o,r,i=[],s,a=[],l){const u=to(e);if(o)return u.map((e,u)=>{var c,d;const h=t.get(e);if(h)return h;const f=null!==(c=o[u])&&void 0!==c?c:tr();return null===(d=e.style)||void 0===d||d.setProperty("view-transition-name",f),n.push(e),t.set(e,f),nr(e,r,i),or(e,f,s,a,l),f});const c=u.map(e=>t.has(e)?void 0:getComputedStyle(e).getPropertyValue("view-transition-name"));return u.map((e,o)=>{const u=t.get(e);if(u)return u;const d=c[o];let h;var f;d&&"none"!==d&&"auto"!==d&&"match-element"!==d&&!(e=>e.startsWith("motion-view-"))(d)?h=d:(h=tr(),null===(f=e.style)||void 0===f||f.setProperty("view-transition-name",h),n.push(e));return t.set(e,h),nr(e,r,i),or(e,h,s,a,l),h})}function ir(e){return"layout"===e?"group":"enter"===e||"new"===e?"new":"old"}let sr={},ar=null;const lr=(e,t)=>{sr[e]=t},ur=()=>{ar||(ar=document.createElement("style"),ar.id="motion-view");let e="";for(const t in sr){const n=sr[t];e+=`${t} {\n`;for(const[t,o]of Object.entries(n))e+=` ${t}: ${o};\n`;e+="}\n"}ar.textContent=e,document.head.appendChild(ar),sr={}},cr=()=>{ar&&ar.parentElement&&ar.parentElement.removeChild(ar)};function dr(e){const t=e.match(/::view-transition-(old|new|group-children|group|image-pair)\((.*?)\)/);return t?{layer:t[2],type:t[1]}:null}function hr(){return document.getAnimations().filter(e=>{var t;const{effect:n}=e;return!!n&&n.target===document.documentElement&&(null===(t=n.pseudoElement)||void 0===t?void 0:t.startsWith("::view-transition"))})}const fr=["layout","enter","exit","new","old"],pr={group:["layout"],new:["new","enter"],old:["old","exit"]},mr={new:{opacity:0,scale:.85},old:{opacity:1,scale:1}};function yr(e){const{update:t,targets:n,resolveDefs:r,cropOverride:i,pairs:s,classNames:a,flatGroups:l,options:u}=e;if(!document.startViewTransition)return(async()=>(await t(),new Ht([])))();const c=new Map,d=[],h=[],f=[],p=new Set,m=new Map,y=new Set,v=new Map,g=new Map,b=new Map,x=new Map,w=e=>{n.forEach((t,n)=>{const o=a.get(n),u="root"!==n&&r.has(n)?l.has(n)?"none":"contain":void 0;let y;if("root"!==n&&r.has(n))if(s.has(n))if("old"===e)x.set(n,to(n)),y=rr(n,c,d,void 0,o,h,u,f,p),b.set(n,y);else{for(const e of null!==(w=x.get(n))&&void 0!==w?w:[]){var w,_;null===(_=e.style)||void 0===_||_.removeProperty("view-transition-name"),c.delete(e)}y=rr(s.get(n),c,d,b.get(n),o,h,u,f,p)}else y=rr(n,c,d,void 0,o,h,u,f,p);else y=[n];const M=i.get(n);y.forEach((n,o)=>{var r;const i=m.get(n);m.set(n,i&&i!==t?{...i,...t}:t),void 0!==M&&v.set(n,M);const s=null!==(r=g.get(n))&&void 0!==r?r:{};s[e]=[o,y.length],g.set(n,s)})})},_=(e,t)=>{var n;const o=g.get(e),r="old"===t?null==o?void 0:o.old:"new"===t?null==o?void 0:o.new:null!==(n=null==o?void 0:o.new)&&void 0!==n?n:null==o?void 0:o.old;return null!=r?r:[-1,1]},M=(e,t,n,o,r)=>{var i;const s=vr(tn(u,n),tn(null!==(i=function(e,t){for(const r of null!==(n=pr[t])&&void 0!==n?n:[]){var n,o;const t=null==e||null===(o=e[r])||void 0===o?void 0:o.options;if(t)return t}}(e,t))&&void 0!==i?i:{},n));return"function"==typeof s.delay&&(s.delay=s.delay(o,r)),s},E=new Map,P=e=>c.forEach((t,n)=>{var o;const r=null===(o=n.getBoundingClientRect)||void 0===o?void 0:o.call(n);if(r&&r.height){var i;const n=null!==(i=E.get(t))&&void 0!==i?i:{};n[e]={width:r.width,height:r.height},E.set(t,n)}}),k=e=>{const t=E.get(e);return!!((null==t?void 0:t.old)&&(null==t?void 0:t.new)&&t.old.height&&t.new.height)&&Math.abs(t.old.width/t.old.height-t.new.width/t.new.height)>.2},C=()=>{(function(e,t){return t.has(e)&&Object.keys(t.get(e)).length>0})("root",n)||lr(":root",{"view-transition-name":"none"}),lr("::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*)",{"animation-timing-function":"linear !important"}),y.forEach(e=>{lr(`::view-transition-group(${e})`,{overflow:"clip"}),lr(`::view-transition-old(${e}), ::view-transition-new(${e})`,{width:"100%",height:"100%","object-fit":"cover"})}),p.forEach(e=>{lr(`::view-transition-group-children(${e})`,{overflow:"clip"})}),ur()},A=()=>{!function(e,t=[],n=[]){for(const t of e){var o;null===(o=t.style)||void 0===o||o.removeProperty("view-transition-name")}for(const e of t){var r;null===(r=e.style)||void 0===r||r.removeProperty("view-transition-class")}for(const e of n){var i;null===(i=e.style)||void 0===i||i.removeProperty("view-transition-group")}}(d,h,f),cr()},S=async()=>{await t(),w("new"),P("new"),(()=>{y.clear();for(const t of g.keys()){var e;"root"!==t&&(null!==(e=v.get(t))&&void 0!==e?e:k(t))&&y.add(t)}})(),C()};let O;try{w("old"),P("old"),C(),O=document.startViewTransition(S)}catch(e){return A(),Promise.reject(e)}return O.finished.finally(A),new Promise((e,t)=>{O.ready.then(()=>{const t=hr(),n=[],r=new Set,i=new Set;m.forEach((e,t)=>{const s=g.get(t),a=!!(null==s?void 0:s.new)&&!(null==s?void 0:s.old),l=!!(null==s?void 0:s.old)&&!(null==s?void 0:s.new);for(const s of fr){if(!e[s])continue;if("enter"===s&&!a)continue;if("exit"===s&&!l)continue;const p=ir(s),[m,y]=_(t,p);if(-1===m)continue;const{keyframes:v,options:g}=e[s];for(let[b,x]of Object.entries(v)){var c,d;if(null==x)continue;if("x"===b||"y"===b){o.warnOnce(!1,`animateView() animates view-transition layers with CSS properties; the "${b}" shorthand has no effect - use transform, e.g. { transform: "translateX(40px)" }.`);continue}if("new"===s&&a&&null!=(null===(c=e.enter)||void 0===c?void 0:c.keyframes[b]))continue;if("old"===s&&l&&null!=(null===(d=e.exit)||void 0===d?void 0:d.keyframes[b]))continue;const v=vr(tn(u,b),tn(g,b));if(!Array.isArray(x)){var h,f;const t="enter"===s?null===(h=e.exit)||void 0===h?void 0:h.keyframes[b]:void 0,n="opacity"===b||("new"===p?a:l),o=null!=t?Array.isArray(t)?t[t.length-1]:t:n?null===(f=mr[p])||void 0===f?void 0:f[b]:void 0;void 0!==o&&(x=[o,x])}"function"==typeof v.delay&&(v.delay=v.delay(m,y)),v.duration&&(v.duration=o.secondsToMilliseconds(v.duration)),v.delay&&(v.delay=o.secondsToMilliseconds(v.delay)),n.push(new Dt({...v,element:document.documentElement,name:b,pseudoElement:`::view-transition-${p}(${t})`,keyframes:x})),r.add(`${t}:${p}`),"opacity"===b&&i.add(`${t}:${p}`)}}});for(const e of t){var s;if("finished"===e.playState)continue;const{effect:t}=e;if(!(t&&t instanceof KeyframeEffect))continue;const{pseudoElement:a}=t;if(!a)continue;const l=dr(a);if(!l)continue;const u=m.get(l.layer);if(r.has(`${l.layer}:${l.type}`)){i.has(`${l.layer}:new`)&&i.has(`${l.layer}:old`)&&t.getKeyframes().some(e=>e.mixBlendMode)?n.push(new Kt(e)):e.cancel();continue}const c=g.get(l.layer),d=!("old"!==l.type&&"new"!==l.type||!(null==c?void 0:c.old)||!(null==c?void 0:c.new)),h=l.type.startsWith("group")||d?"group":l.type,[f,p]=_(l.layer,h);let y=M(u,h,"group"===h?"layout":"",-1===f?0:f,p);const v=y.visualDuration;y.duration&&(y.duration=o.secondsToMilliseconds(y.duration)),y=jt(y);const b=d&&void 0!==v?o.secondsToMilliseconds(v):y.duration,x=d?"linear":Ot(y.ease,y.duration);t.updateTiming({delay:o.secondsToMilliseconds(null!==(s=y.delay)&&void 0!==s?s:0),duration:b,easing:x}),n.push(new Kt(e))}e(new Ht(n))}).catch(()=>O.updateCallbackDone.then(()=>e(new Ht([])),t))})}function vr(e,t){const n={...e,...t};return void 0!==t.duration&&(void 0===t.visualDuration&&delete n.visualDuration,void 0===t.type&&delete n.type),n}let gr=[],br=null;function xr(){br=null;const[e]=gr;var t;e&&(t=e,o.removeItem(gr,t),br=t,yr(t).then(e=>(t.notifyReady(e),e.finished)).catch(e=>t.notifyReject(e)).finally(xr))}function wr(){var e;for(let e=gr.length-1;e>=0;e--){const t=gr[e],{interrupt:n}=t.options;if("immediate"===n){const n=gr.slice(0,e+1).map(e=>e.update),o=gr.slice(e+1);t.update=()=>{n.forEach(e=>e())},gr=[t,...o];break}}br&&"immediate"!==(null===(e=gr[0])||void 0===e?void 0:e.options.interrupt)||xr()}class _r{constructor(e,t={}){var n;this.currentSubject="root",this.targets=new Map,this.resolveDefs=new Set,this.cropOverride=new Map,this.pairs=new Map,this.classNames=new Map,this.flatGroups=new Set,this.notifyReady=o.noop,this.notifyReject=o.noop,this.readyPromise=new Promise((e,t)=>{this.notifyReady=e,this.notifyReject=t}),this.update=e,this.options={interrupt:"wait",...t},this.readyPromise.catch(o.noop),n=this,gr.push(n),yo.render(wr)}add(e,t){return this.currentSubject=e,this.resolveDefs.add(e),void 0!==t&&this.pairs.set(e,t),this.targets.has(e)||this.targets.set(e,{}),this}crop(e=!0){return this.cropOverride.set(this.currentSubject,e),this}group(e=!0){return e?this.flatGroups.delete(this.currentSubject):this.flatGroups.add(this.currentSubject),this}class(e){return this.classNames.set(this.currentSubject,e),this}layout(e={}){return this.updateTarget("layout",{},e),this}enter(e,t){return this.updateTarget("enter",e,t),this}exit(e,t){return this.updateTarget("exit",e,t),this}new(e,t){return this.updateTarget("new",e,t),this}old(e,t){return this.updateTarget("old",e,t),this}updateTarget(e,t,n={}){const{currentSubject:o,targets:r}=this;r.has(o)||r.set(o,{});r.get(o)[e]={keyframes:t,options:n}}then(e,t){return this.readyPromise.then(e,t)}}const Mr=()=>({translate:0,scale:1,origin:0,originPoint:0}),Er=()=>({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),Pr=()=>({min:0,max:0}),kr=()=>({x:{min:0,max:0},y:{min:0,max:0}}),Cr=new WeakMap;function Ar(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function Sr(e){return"string"==typeof e||Array.isArray(e)}const Or=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Tr=["initial",...Or];function Rr(e){return Ar(e.animate)||Tr.some(t=>Sr(e[t]))}function jr(e){return Boolean(Rr(e)||e.variants)}function Dr(e,t,n){for(const o in t){const r=t[o],i=n[o];if(En(r))e.addValue(o,r);else if(En(i))e.addValue(o,Qt(r,{owner:e}));else if(i!==r)if(e.hasValue(o)){const t=e.getValue(o);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{const t=e.getStaticValue(o);e.addValue(o,Qt(void 0!==t?t:r,{owner:e}))}}for(const o in n)void 0===t[o]&&e.removeValue(o);return t}const Lr={current:null},Ir={current:!1},Vr="undefined"!=typeof window;function Br(){if(Ir.current=!0,Vr)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Lr.current=e.matches;e.addEventListener("change",t),t()}else Lr.current=!1}const $r=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let Fr={};class Ur{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:o,skipAnimations:r,blockInitialAnimation:i,visualState:a},l={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=xt,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=h.now();this.renderScheduledAtthis.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(Ir.current||Br(),this.shouldReduceMotion=Lr.current),this.shouldSkipAnimations=null!==(t=this.skipAnimationsConfig)&&void 0!==t&&t,null===(n=this.parent)||void 0===n||n.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){var e;this.projection&&this.projection.unmount(),a(this.notifyUpdate),a(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),null===(e=this.parent)||void 0===e||e.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){var t;this.children.add(e),null!==(t=this.enteringChildren)&&void 0!==t||(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Ft.has(e)&&this.current instanceof HTMLElement){const{factory:n,keyframes:r,times:i,ease:s,duration:a}=t.accelerate,l=new Dt({element:this.current,name:e,keyframes:r,times:i,ease:s,duration:o.secondsToMilliseconds(a)}),u=n(l);return void this.valueSubscriptions.set(e,()=>{u(),l.cancel()})}const n=lt.has(e);n&&this.onBindTransform&&this.onBindTransform();const r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&s.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let i;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in Fr){const t=Fr[e];if(!t)continue;const{isEnabled:n,Feature:o}=t;if(!this.features[e]&&o&&n(this.props)&&(this.features[e]=new o(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<$r.length;t++){const n=$r[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const o=e["on"+n];o&&(this.propEventSubscriptions[n]=this.on(n,o))}this.prevMotionValues=Dr(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Qt(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(o.isNumericalString(r)||o.isZeroValueString(r))?r=parseFloat(r):!Qo(r)&&H.test(t)&&(r=Xn(e,t)),this.setBaseTarget(e,En(r)?r.get():r)),En(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){const{initial:t}=this.props;let n;if("string"==typeof t||"object"==typeof t){var o;const r=vn(this.props,t,null===(o=this.presenceContext)||void 0===o?void 0:o.custom);r&&(n=r[e])}if(t&&void 0!==n)return n;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||En(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new o.SubscriptionManager),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){yo.render(this.render)}}class Nr extends Ur{constructor(){super(...arguments),this.KeyframeResolver=Zn}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){const n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;En(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function zr({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Wr(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function qr(e){return void 0===e||1===e}function Hr({scale:e,scaleX:t,scaleY:n}){return!qr(e)||!qr(t)||!qr(n)}function Gr(e){return Hr(e)||Kr(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Kr(e){return Yr(e.x)||Yr(e.y)}function Yr(e){return e&&"0%"!==e}function Xr(e,t,n){return n+t*(e-n)}function Jr(e,t,n,o,r){return void 0!==r&&(e=Xr(e,r,o)),Xr(e,n,o)+t}function Zr(e,t=0,n=1,o,r){e.min=Jr(e.min,t,n,o,r),e.max=Jr(e.max,t,n,o,r)}function Qr(e,{x:t,y:n}){Zr(e.x,t.translate,t.scale,t.originPoint),Zr(e.y,n.translate,n.scale,n.originPoint)}const ei=.999999999999,ti=1.0000000000001;function ni(e,t,n,o=!1){const r=n.length;if(!r)return;let i,s;t.x=t.y=1;for(let l=0;lei&&(t.x=1),t.yei&&(t.y=1)}function oi(e,t){e.min+=t,e.max+=t}function ri(e,t,n,o,r=.5){Zr(e,t,n,X(e.min,e.max,r),o)}function ii(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function si(e,t,n){const o=null!=n?n:e;ri(e.x,ii(t.x,o.x),t.scaleX,t.scale,t.originX),ri(e.y,ii(t.y,o.y),t.scaleY,t.scale,t.originY)}function ai(e,t){return zr(Wr(e.getBoundingClientRect(),t))}const li={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ui=at.length;function ci(e,t,n){let o="",r=!0;for(let i=0;i{if(!t.target)return e;if("string"==typeof e){if(!j.test(e))return e;e=parseFloat(e)}return`${fi(e,t.target.x)}% ${fi(e,t.target.y)}%`}},mi={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,r=H.parse(e);if(r.length>5)return o;const i=H.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const u=X(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=u),"number"==typeof r[3+s]&&(r[3+s]/=u),i(r)}},yi={borderRadius:{...pi,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:pi,borderTopRightRadius:pi,borderBottomLeftRadius:pi,borderBottomRightRadius:pi,boxShadow:mi};function vi(e,{layout:t,layoutId:n}){return lt.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!yi[e]||"opacity"===e)}function gi(e,t,n){const o=e.style,r=null==t?void 0:t.style,i={};if(!o)return i;for(const t in o){var s;(En(o[t])||r&&En(r[t])||vi(t,e)||void 0!==(null==n||null===(s=n.getValue(t))||void 0===s?void 0:s.liveStyle))&&(i[t]=o[t])}return i}class bi extends Nr{constructor(){super(...arguments),this.type="html",this.renderInstance=hi}readValueFromInstance(e,t){var n,o;if(lt.has(t))return(null===(n=this.projection)||void 0===n?void 0:n.isProjecting)?ot(t):it(e,t);{const n=(o=e,window.getComputedStyle(o)),r=(p(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ai(e,t)}build(e,t,n){di(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return gi(e,t,n)}}const xi={offset:"stroke-dashoffset",array:"stroke-dasharray"},wi={offset:"strokeDashoffset",array:"strokeDasharray"};function _i(e,t,n=1,o=0,r=!0){e.pathLength=1;const i=r?xi:wi;e[i.offset]=""+-o,e[i.array]=`${t} ${n}`}const Mi=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function Ei(e,{attrX:t,attrY:n,attrScale:o,pathLength:r,pathSpacing:i=1,pathOffset:s=0,...a},l,u,c){if(di(e,a,u),l)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:d,style:h}=e;var f,p;(d.transform&&(h.transform=d.transform,delete d.transform),h.transform||d.transformOrigin)&&(h.transformOrigin=null!==(f=d.transformOrigin)&&void 0!==f?f:"50% 50%",delete d.transformOrigin);h.transform&&(h.transformBox=null!==(p=null==c?void 0:c.transformBox)&&void 0!==p?p:"fill-box",delete d.transformBox);for(const e of Mi)void 0!==d[e]&&(h[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==n&&(d.y=n),void 0!==o&&(d.scale=o),void 0!==r&&_i(d,r,i,s,!1)}const Pi=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),ki=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Ci(e,t,n,o){hi(e,t,void 0,o);for(const n in t.attrs)e.setAttribute(Pi.has(n)?n:Cn(n),t.attrs[n])}function Ai(e,t,n){const o=gi(e,t,n);for(const n in e)if(En(e[n])||En(t[n])){o[-1!==at.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]}return o}const Si=Tr.length;function Oi(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&Oi(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function zi(e,t,n,o){Ni(e.x,t.x,n.x,o?o.originX:void 0),Ni(e.y,t.y,n.y,o?o.originY:void 0)}function Wi(e,t,n,o=0){const r=o?X(n.min,n.max,o):n.min;e.min=r+t.min,e.max=e.min+Fi(t)}function qi(e,t,n,o){Wi(e.x,t.x,n.x,null==o?void 0:o.x),Wi(e.y,t.y,n.y,null==o?void 0:o.y)}function Hi(e,t,n,o=0){const r=o?X(n.min,n.max,o):n.min;e.min=t.min-r,e.max=e.min+Fi(t)}function Gi(e,t,n,o){Hi(e.x,t.x,n.x,null==o?void 0:o.x),Hi(e.y,t.y,n.y,null==o?void 0:o.y)}function Ki(e,t,n,o,r){return e=Xr(e-=t,1/n,o),void 0!==r&&(e=Xr(e,1/r,o)),e}function Yi(e,t=0,n=1,o=.5,r,i=e,s=e){if(R.test(t)){t=parseFloat(t);t=X(s.min,s.max,t/100)-s.min}if("number"!=typeof t)return;let a=X(i.min,i.max,o);e===i&&(a-=t),e.min=Ki(e.min,t,n,a,r),e.max=Ki(e.max,t,n,a,r)}function Xi(e,t,[n,o,r],i,s){Yi(e,t[n],t[o],t[r],t.scale,i,s)}const Ji=["x","scaleX","originX"],Zi=["y","scaleY","originY"];function Qi(e,t,n,o){Xi(e.x,t,Ji,n?n.x:void 0,o?o.x:void 0),Xi(e.y,t,Zi,n?n.y:void 0,o?o.y:void 0)}function es(e){return 0===e.translate&&1===e.scale}function ts(e){return es(e.x)&&es(e.y)}function ns(e,t){return e.min===t.min&&e.max===t.max}function os(e,t){return ns(e.x,t.x)&&ns(e.y,t.y)}function rs(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function is(e,t){return rs(e.x,t.x)&&rs(e.y,t.y)}function ss(e){return Fi(e.x)/Fi(e.y)}function as(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function ls(e){return[e("x"),e("y")]}function us(e,t,n){let o="";const r=e.x.translate/t.x,i=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((r||i||s)&&(o=`translate3d(${r}px, ${i}px, ${s}px) `),1===t.x&&1===t.y||(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,pathRotation:r,rotateX:i,rotateY:s,skewX:a,skewY:l}=n;e&&(o=`perspective(${e}px) ${o}`),t&&(o+=`rotate(${t}deg) `),r&&(o+=`rotate(${r}deg) `),i&&(o+=`rotateX(${i}deg) `),s&&(o+=`rotateY(${s}deg) `),a&&(o+=`skewX(${a}deg) `),l&&(o+=`skewY(${l}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(o+=`scale(${a}, ${l})`),o||"none"}const cs=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ds=cs.length,hs=e=>"string"==typeof e?parseFloat(e):e,fs=e=>"number"==typeof e||j.test(e);function ps(e,t,n,o,r,i){var s,a;if(r)e.opacity=X(0,null!==(s=n.opacity)&&void 0!==s?s:1,ys(o)),e.opacityExit=X(null!==(a=t.opacity)&&void 0!==a?a:1,0,vs(o));else if(i){var l,u;e.opacity=X(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=n.opacity)&&void 0!==u?u:1,o)}for(let r=0;rrt?1:n(o.progress(e,t,r))}function bs(e,t,n){const o=En(e)?e:Qt(e);return o.start(un("",o,t,n)),o.animation}function xs(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}const ws=(e,t)=>e.depth-t.depth;class _s{constructor(){this.children=[],this.isDirty=!1}add(e){o.addUniqueItem(this.children,e),this.isDirty=!0}remove(e){o.removeItem(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(ws),this.isDirty=!1,this.children.forEach(e)}}function Ms(e,t){const n=h.now(),o=({timestamp:r})=>{const i=r-n;i>=t&&(a(o),e(i-t))};return s.setup(o,!0),()=>a(o)}function Es(e){return En(e)?e.get():e}class Ps{constructor(){this.members=[]}add(e){o.addUniqueItem(this.members,e);for(let t=this.members.length-1;t>=0;t--){const n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;const r=n.instance;r&&!1!==r.isConnected||n.snapshot||(o.removeItem(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(o.removeItem(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let n=this.members.indexOf(e)-1;n>=0;n--){var t;const e=this.members[n];if(!1!==e.isPresent&&!1!==(null===(t=e.instance)||void 0===t?void 0:t.isConnected))return this.promote(e),!0}return!1}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();const{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;var o;if(void 0===r||r!==i)e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),(null===(o=e.root)||void 0===o?void 0:o.isUpdating)&&(e.isLayoutDirty=!0);!1===e.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{var t,n,o,r,i;null===(t=(n=e.options).onExitComplete)||void 0===t||t.call(n),null===(o=e.resumingFrom)||void 0===o||null===(r=(i=o.options).onExitComplete)||void 0===r||r.call(i)})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){var e;(null===(e=this.lead)||void 0===e?void 0:e.snapshot)&&(this.lead.snapshot=void 0)}}const ks={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Cs={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},As=["","X","Y","Z"];let Ss=0;function Os(e,t,n,o){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),o&&(o[e]=0))}function Ts(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=On(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:o}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",s,!(t||o))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&Ts(o)}function Rs({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ss++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,zo.value&&(Cs.nodes=Cs.calculatedTargetDeltas=Cs.calculatedProjections=0),this.nodes.forEach(Ls),this.nodes.forEach(Ws),this.nodes.forEach(qs),this.nodes.forEach(Is),zo.addProjectionMetrics&&zo.addProjectionMetrics(Cs)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;s.read(()=>{o=window.innerWidth}),e(t,()=>{const e=window.innerWidth;e!==o&&(o=e,this.root.updateBlockedByResize=!0,n&&n(),n=Ms(r,250),ks.hasAnimatedSinceResize&&(ks.hasAnimatedSinceResize=!1,this.nodes.forEach(zs)))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&r&&(n||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:o})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const i=this.options.transition||r.getDefaultTransition()||Js,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=r.getProps(),l=!this.targetLayout||!is(this.targetLayout,o),u=!t&&n;if(this.options.layoutRoot||this.resumeFrom||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const t={...tn(i,"layout"),onPlay:s,onComplete:a};(r.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,u,t.path)}else t||zs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=o})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),a(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Hs),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Ts(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||Fi(this.snapshot.measuredBox.x)||Fi(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e{const n=t/1e3,o=null==f?void 0:f(n);var u,p,m,y;o?(s.x.translate=o.x,s.x.scale=X(e.x.scale,1,n),s.x.origin=e.x.origin,s.x.originPoint=e.x.originPoint,s.y.translate=o.y,s.y.scale=X(e.y.scale,1,n),s.y.origin=e.y.origin,s.y.originPoint=e.y.originPoint):(Ks(s.x,e.x,n),Ks(s.y,e.y,n)),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Gi(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),u=this.relativeTarget,p=this.relativeTargetOrigin,m=a,y=n,Ys(u.x,p.x,m.x,y),Ys(u.y,p.y,m.y,y),h&&os(this.relativeTarget,h)&&(this.isProjectionDirty=!1),h||(h={x:{min:0,max:0},y:{min:0,max:0}}),Bi(h,this.relativeTarget)),l&&(this.animationValues=i,ps(i,r,this.latestValues,n,d,c)),o&&void 0!==o.rotate&&(this.animationValues||(this.animationValues=i),this.animationValues.pathRotation=o.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){var t,n,o;this.notifyListeners("animationStart"),null===(t=this.currentAnimation)||void 0===t||t.stop(),null===(n=this.resumingFrom)||void 0===n||null===(o=n.currentAnimation)||void 0===o||o.stop(),this.pendingAnimation&&(a(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=s.update(()=>{ks.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Qt(0)),this.motionValue.jump(0,!1),this.currentAnimation=bs(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:o,latestValues:r}=e;if(t&&n&&o){if(this!==e&&this.layout&&o&&ta(this.options.animationType,this.layout.layoutBox,o.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Fi(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const o=Fi(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+o}Bi(t,n),si(t,r),zi(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Ps);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const o=this.getStack();o&&o.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const o={};n.z&&Os("z",e,o,this.animationValues);for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(Bs),this.root.sharedNodes.clear()}}}function js(e){e.updateLayout()}function Ds(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:o}=e.layout,{animationType:r}=e.options,i=n.source!==e.layout.source;if("size"===r)ls(e=>{const o=i?n.measuredBox[e]:n.layoutBox[e],r=Fi(o);o.min=t[e].min,o.max=o.min+r});else if("x"===r||"y"===r){const e="x"===r?"y":"x";Vi(i?n.measuredBox[e]:n.layoutBox[e],t[e])}else ta(r,n.layoutBox,t)&&ls(o=>{const r=i?n.measuredBox[o]:n.layoutBox[o],s=Fi(t[o]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[o].max=e.relativeTarget[o].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};zi(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?zi(a,e.applyTransform(o,!0),n.measuredBox):zi(a,t,n.layoutBox);const l=!ts(s);let u=!1;if(!e.resumeFrom){const o=e.getClosestProjectingParent();if(o&&!o.resumeFrom){const{snapshot:r,layout:i}=o;if(r&&i){const s=e.options.layoutAnchor||void 0,a={x:{min:0,max:0},y:{min:0,max:0}};Gi(a,n.layoutBox,r.layoutBox,s);const l={x:{min:0,max:0},y:{min:0,max:0}};Gi(l,t,i.layoutBox,s),is(a,l)||(u=!0),o.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=a,e.relativeParent=o)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Ls(e){zo.value&&Cs.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Is(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Vs(e){e.clearSnapshot()}function Bs(e){e.clearMeasurements()}function $s(e){e.isLayoutDirty=!0,e.updateLayout()}function Fs(e){e.isLayoutDirty=!1}function Us(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function Ns(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function zs(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ws(e){e.resolveTargetDelta()}function qs(e){e.calcProjection()}function Hs(e){e.resetSkewAndRotation()}function Gs(e){e.removeLeadSnapshot()}function Ks(e,t,n){e.translate=X(t.translate,0,n),e.scale=X(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ys(e,t,n,o){e.min=X(t.min,n.min,o),e.max=X(t.max,n.max,o)}function Xs(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Js={duration:.45,ease:[.4,0,.1,1]},Zs=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Qs=Zs("applewebkit/")&&!Zs("chrome/")?Math.round:o.noop;function ea(e){e.min=Qs(e.min),e.max=Qs(e.max)}function ta(e,t,n){return"position"===e||"preserve-aspect"===e&&!Ui(ss(t),ss(n),.2)}function na(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const oa=Rs({attachResizeListener:(e,t)=>xs(e,"resize",t),measureScroll:()=>{var e,t;return{x:document.documentElement.scrollLeft||(null===(e=document.body)||void 0===e?void 0:e.scrollLeft)||0,y:document.documentElement.scrollTop||(null===(t=document.body)||void 0===t?void 0:t.scrollTop)||0}},checkIsScrollRoot:()=>!0}),ra=e=>!e.isLayoutDirty&&e.willUpdate(!1);const ia={current:void 0},sa=Rs({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ia.current){const e=new oa({});e.mount(window),e.setOptions({layoutScroll:!0}),ia.current=e}return ia.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),aa="[data-layout],[data-layout-id]",la=new WeakMap;let ua;function ca(e){const t=[];return e instanceof HTMLElement&&e.matches(aa)&&t.push(e),e.querySelectorAll(aa).forEach(e=>{e instanceof HTMLElement&&t.push(e)}),t}function da(e,t){var n;const o=e.getAttribute("data-layout");return{layoutId:null!==(n=e.getAttribute("data-layout-id"))&&void 0!==n?n:void 0,layout:null!==o||void 0,animationType:o&&"true"!==o?o:"both",transition:t}}function ha(e,t){let n=la.get(e);if(n)n.setOptions(da(e,t));else{let o=Cr.get(e);o||(o=new bi({props:{},presenceContext:null,visualState:{latestValues:{},renderState:{transform:{},transformOrigin:{},style:{},vars:{}}}},{allowProjection:!0})),e.style.transform&&!Gr(o.latestValues)&&(e.style.transform=""),n=new sa(o.latestValues,function(e){let t=e.parentElement;for(;t;){const e=la.get(t);if(e&&e.instance)return e;t=t.parentElement}}(e)),o.projection=n,n.setOptions({...da(e,t),visualElement:o}),n.mount(e),la.set(e,n)}return n.isPresent=!0,n.options.onExitComplete&&n.setOptions({onExitComplete:void 0}),n}function fa(e,t){var n;t.setOptions({onExitComplete:void 0});t.getStack()&&!t.isLead()||null===(n=t.currentAnimation)||void 0===n||n.stop(),t.unmount(),la.delete(e)}function pa(){const e=ua;ua=void 0,function(){if(l.isProcessing)return;const e=h.now();l.delta=o.clamp(0,1e3/60,e-l.timestamp),l.timestamp=e,l.isProcessing=!0,u.update.process(l),u.preRender.process(l),u.render.process(l),l.isProcessing=!1}();const t=new Map;for(const n of e)for(const e of n.collectTargets()){const o=t.get(e);o?o.push(n):t.set(e,[n])}const n=new Map;for(const e of(r=t.keys(),[...r].sort((e,t)=>e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1))){const o=t.get(e),r=ha(e,o[o.length-1].transitionFor(e));for(const t of o)t.adopt(e,r);n.set(e,r)}var r;n.forEach(e=>{e.isLayoutDirty=!1,e.willUpdate()});const i=[];for(const t of e){const e=t.runUpdate();e&&i.push(e)}const s=()=>{var t;const o=new Set;for(const t of e)t.reconcileAdditions(o);for(const t of e)t.reconcileRemovals(o);let r;n.forEach(e=>r||(r=e.root));for(const t of e)r||(r=t.getRoot());null===(t=r)||void 0===t||t.didUpdate(),yo.render(()=>{for(const t of e)t.finalize()})};i.length?Promise.all(i).then(s):s()}const ma=s,ya=r.reduce((e,t)=>(e[t]=e=>a(e),e),{});t.AsyncMotionValueAnimation=qt,t.DOMKeyframesResolver=Zn,t.DOMVisualElement=Nr,t.DocumentProjectionNode=oa,t.Feature=class{constructor(e){this.isMounted=!1,this.node=e}update(){}},t.FlatTree=_s,t.GroupAnimation=Ht,t.GroupAnimationWithThen=class extends Ht{then(e,t){return this.finished.finally(e).then(()=>{})}},t.HTMLProjectionNode=sa,t.HTMLVisualElement=bi,t.JSAnimation=Ke,t.KeyframeResolver=xt,t.LayoutAnimationBuilder=class{constructor(e,t,n){this.scope=e,this.updateDom=t,this.defaultOptions=n,this.sharedTransitions=new Map,this.notifyReady=()=>{},this.rejectReady=()=>{},this.tracked=new Map,this.restorePoints=new Map,this.readyPromise=new Promise((e,t)=>{this.notifyReady=e,this.rejectReady=t}),ua||(ua=[],queueMicrotask(pa)),ua.push(this)}shared(e,t){return this.sharedTransitions.set(e,t),this}then(e,t){return this.readyPromise.then(e,t)}transitionFor(e){const t=e.getAttribute("data-layout-id");return t&&this.sharedTransitions.get(t)||this.defaultOptions}adopt(e,t){this.tracked.set(e,t),this.restorePoints.set(e,{parent:e.parentElement,next:e.nextSibling})}collectTargets(){return ca(this.scope)}runUpdate(){try{const e=this.updateDom();if(e&&"function"==typeof e.then)return e.then(void 0,e=>{this.updateError=e})}catch(e){this.updateError=e}}reconcileAdditions(e){for(const t of ca(this.scope)){if(this.tracked.has(t))continue;const n=ha(t,this.transitionFor(t));this.adopt(t,n),n.options.layoutId&&e.add(n.options.layoutId)}}reconcileRemovals(e){this.tracked.forEach((t,n)=>{if(n.isConnected)return;const o=this.restorePoints.get(n);this.restorePoints.delete(n);const{layoutId:r}=t.options,i=t.getStack(),s=i&&i.members.some(e=>{var n;return e!==t&&(null===(n=e.instance)||void 0===n?void 0:n.isConnected)});if(r&&t.isLead()&&s&&!e.has(r)&&o&&o.parent.isConnected){if(o.parent.insertBefore(n,o.next&&o.next.parentNode===o.parent?o.next:null),t.isPresent=!1,t.setOptions({onExitComplete:()=>{n.remove(),fa(n,t)}}),t.relegate())return;n.remove()}fa(n,t),this.tracked.delete(n)})}getRoot(){let e;return this.tracked.forEach(t=>e||(e=t.root)),e}finalize(){if(this.updateError)return void this.rejectReady(this.updateError);const e=new Set;this.tracked.forEach(t=>{t.instance&&t.currentAnimation&&e.add(t.currentAnimation)}),this.notifyReady(new Ht([...e]))}},t.MotionValue=Zt,t.NativeAnimation=Dt,t.NativeAnimationExtended=Vt,t.NativeAnimationWrapper=Kt,t.NodeStack=Ps,t.ObjectVisualElement=class extends Ur{constructor(){super(...arguments),this.type="object"}readValueFromInstance(e,t){if(function(e,t){return e in t}(t,e)){const n=e[t];if("string"==typeof n||"number"==typeof n)return n}}getBaseTargetFromProps(){}removeValueFromRenderState(e,t){delete t.output[e]}measureInstanceViewportBox(){return{x:{min:0,max:0},y:{min:0,max:0}}}build(e,t){Object.assign(e.output,t)}renderInstance(e,{output:t}){Object.assign(e,t)}sortInstanceNodePosition(){return 0}},t.SVGVisualElement=class extends Nr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=kr}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(lt.has(t)){const e=Kn(t);return e&&e.default||0}return t=Pi.has(t)?t:Cn(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Ai(e,t,n)}build(e,t,n){Ei(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,o){Ci(e,t,0,o)}mount(e){this.isSVGTag=ki(e.tagName),super.mount(e)}},t.ViewTransitionBuilder=_r,t.VisualElement=Ur,t.acceleratedValues=Ft,t.addAttrValue=so,t.addDomEvent=xs,t.addScaleCorrector=function(e){for(const t in e)yi[t]=e[t],p(t)&&(yi[t].isCSSVariable=!0)},t.addStyleValue=fo,t.addValueToWillChange=kn,t.alpha=x,t.analyseComplexValue=z,t.animateMotionValue=un,t.animateSingleValue=bs,t.animateTarget=Rn,t.animateValue=function(e){return new Ke(e)},t.animateVariant=jn,t.animateView=function(e,t={}){return new _r(e,t)},t.animateVisualElement=Dn,t.animationMapKey=(e,t="")=>`${e}:${t}`,t.applyAxisDelta=Zr,t.applyBoxDelta=Qr,t.applyGeneratorOptions=jt,t.applyPointDelta=Jr,t.applyPxDefaults=function(e,t){for(let n=0;n{const l=a.x-r.x,u=a.y-r.y;let c;c="cw"===n?-e:"ccw"===n?e:(Math.abs(l)>=Math.abs(u)?l:u)<0?-e:e;let d=hn(r.x,r.y,a.x,a.y,c,t);if(void 0===n){const e=Math.abs(l){const t={x:cn(e,r.x,d.x,a.x),y:cn(e,r.y,d.y,a.y)};if(i){const n=dn(e,r.x,d.x,a.x,r.y,d.y,a.y),s=h+p*e;t.rotate=o.wrap(-180,180,n-s)*i}return t}}}(e),n={interpolateProjection(e){const n=e.x.translate,o=e.y.translate;if(!(Math.sqrt(n*n+o*o)<20))return t({x:n,y:o},{x:0,y:0})},animateVisualElement(e,n,o,r,i){var s,a,l,u;if(!("x"in n)&&!("y"in n))return;const c=e.getValue("x",null!==(s=e.latestValues.x)&&void 0!==s?s:0),d=e.getValue("y",null!==(a=e.latestValues.y)&&void 0!==a?a:0),h=n.x,f=n.y,p=null!==(l=Array.isArray(h)&&null!=h[0]?h[0]:null==c?void 0:c.get())&&void 0!==l?l:0,m=null!==(u=Array.isArray(f)&&null!=f[0]?f[0]:null==d?void 0:d.get())&&void 0!==u?u:0,y=Array.isArray(h)?h[h.length-1]:null!=h?h:p,v=Array.isArray(f)?f[f.length-1]:null!=f?f:m,g=t({x:p,y:m},{x:y,y:v}),b=void 0!==g(0).rotate?e.getValue("pathRotation",0):void 0,x={delay:r,...tn(o||{},"x")};delete x.path;const w=Qt(0);w.start(un("",w,[0,1e3],{...x,isSync:!0,velocity:0,onUpdate:e=>{const t=g(e/1e3);null==c||c.set(t.x),null==d||d.set(t.y),b&&void 0!==t.rotate&&b.set(t.rotate)},onComplete:()=>{null==c||c.set(y),null==d||d.set(v),null==b||b.set(0)},onStop:()=>null==b?void 0:b.set(0),onCancel:()=>null==b?void 0:b.set(0)})),w.animation&&i.push(w.animation),delete n.x,delete n.y}};return n},t.aspectRatio=ss,t.attachFollow=Ko,t.attachSpring=function(e,t,n){return Ko(e,t,{type:"spring",...n})},t.attrEffect=ao,t.axisDeltaEquals=as,t.axisEquals=ns,t.axisEqualsRounded=rs,t.boxEquals=os,t.boxEqualsRounded=is,t.buildHTMLStyles=di,t.buildProjectionTransform=us,t.buildSVGAttrs=Ei,t.buildSVGPath=_i,t.buildTransform=ci,t.calcAxisDelta=Ni,t.calcBoxDelta=zi,t.calcChildStagger=Xt,t.calcGeneratorDuration=he,t.calcLength=Fi,t.calcRelativeAxis=Wi,t.calcRelativeAxisPosition=Hi,t.calcRelativeBox=qi,t.calcRelativePosition=Gi,t.camelCaseAttributes=Pi,t.camelToDash=Cn,t.cancelFrame=a,t.cancelMicrotask=vo,t.cancelSync=ya,t.checkVariantsDidChange=Di,t.cleanDirtyNodes=Is,t.collectMotionValues=Jt,t.color=B,t.compareByDepth=ws,t.complex=H,t.containsCSSVariable=g,t.convertBoundingBoxToBox=zr,t.convertBoxToBoundingBox=function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}},t.convertOffsetToTimes=$e,t.copyAxisDeltaInto=$i,t.copyAxisInto=Vi,t.copyBoxInto=Bi,t.correctBorderRadius=pi,t.correctBoxShadow=mi,t.createAnimationState=function(e){let t=function(e){return t=>Promise.all(t.map(({animation:t,options:n})=>Dn(e,t,n)))}(e),n=Ii(),o=!0,r=!1;const i=t=>(n,o)=>{var r;const i=gn(e,o,"exit"===t?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);if(i){const{transition:e,transitionEnd:t,...o}=i;n={...n,...o,...t}}return n};function s(s){const{props:a}=e,l=Oi(e.parent)||{},u=[],c=new Set;let d={},h=1/0;for(let t=0;th&&y,w=!1;const _=Array.isArray(m)?m:[m];let M=_.reduce(i(f),{});!1===v&&(M={});const{prevResolvedValues:E={}}=p,P={...E,...M},k=t=>{x=!0,c.has(t)&&(w=!0,c.delete(t)),p.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in P){const t=M[e],n=E[e];if(d.hasOwnProperty(e))continue;let o=!1;o=xn(t)&&xn(n)?!Ti(t,n)||b:t!==n,o?null!=t?k(e):c.add(e):void 0!==t&&c.has(e)?k(e):p.protectedKeys[e]=!0}p.prevProp=m,p.prevResolvedValues=M,p.isActive&&(d={...d,...M}),(o||r)&&e.blockInitialAnimation&&(x=!1);const C=g&&b;x&&(!C||w)&&u.push(..._.map(t=>{const n={type:f};if("string"==typeof t&&(o||r)&&!C&&e.manuallyAnimateOnMount&&e.parent){const{parent:o}=e,r=gn(o,t);if(o.enteringChildren&&r){const{delayChildren:t}=r.transition||{};n.delay=Xt(o.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(c.size){const t={};if("boolean"!=typeof a.initial){const n=gn(e,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(t.transition=n.transition)}c.forEach(n=>{const o=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=null!=o?o:null}),u.push({animation:t})}let f=Boolean(u.length);return!o||!1!==a.initial&&a.initial!==a.animate||e.manuallyAnimateOnMount||(f=!1),o=!1,r=!1,f?t(u):Promise.resolve()}return{animateChanges:s,setActive:function(t,o){var r;if(n[t].isActive===o)return Promise.resolve();null===(r=e.variantChildren)||void 0===r||r.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,o)}),n[t].isActive=o;const i=s(t);for(const e in n)n[e].protectedKeys={};return i},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=Ii(),r=!0}}},t.createAxis=Pr,t.createAxisDelta=Mr,t.createBox=kr,t.createDelta=Er,t.createGeneratorEasing=fe,t.createProjectionNode=Rs,t.createRenderBatcher=i,t.cubicBezierAsString=At,t.defaultEasing=Fe,t.defaultOffset=Be,t.defaultTransformValue=ot,t.defaultValueTypes=Gn,t.degrees=T,t.delay=Ms,t.delayInSeconds=function(e,t){return Ms(e,o.secondsToMilliseconds(t))},t.dimensionValueTypes=In,t.eachAxis=ls,t.fillOffset=Ve,t.fillWildcards=Ye,t.findDimensionValueType=Vn,t.findValueType=Qo,t.flushKeyframeResolvers=bt,t.followValue=Go,t.frame=s,t.frameData=l,t.frameSteps=u,t.generateLinearEasing=ce,t.getAnimatableNone=Xn,t.getAnimationMap=function(e){let t=Yt.get(e);return t||(t=new Map,Yt.set(e,t)),t},t.getComputedStyle=function(e,t){const n=window.getComputedStyle(e);return wt(t)?n.getPropertyValue(t):n[t]},t.getDefaultTransition=sn,t.getDefaultValueType=Kn,t.getFeatureDefinitions=function(){return Fr},t.getFinalKeyframe=ze,t.getMixer=re,t.getOptimisedAppearId=On,t.getOriginIndex=qo,t.getValueAsType=oo,t.getValueTransition=tn,t.getVariableValue=mn,t.getVariantContext=Oi,t.getViewAnimationLayerInfo=dr,t.getViewAnimations=hr,t.globalProjectionState=ks,t.has2DTranslate=Kr,t.hasReducedMotionListener=Ir,t.hasScale=Hr,t.hasTransform=Gr,t.hex=S,t.hover=function(e,t,n={}){const[o,r,i]=xo(e,n);return o.forEach(e=>{let n,o=!1,i=!1;const s=t=>{n&&(n(t),n=void 0),e.removeEventListener("pointerleave",l)},a=e=>{o=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),i&&(i=!1,s(e))},l=e=>{"touch"!==e.pointerType&&(o?i=!0:s(e))};e.addEventListener("pointerenter",o=>{if("touch"===o.pointerType||bo())return;i=!1;const s=t(e,o);"function"==typeof s&&(n=s,e.addEventListener("pointerleave",l,r))},r),e.addEventListener("pointerdown",()=>{o=!0,window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",a,r)},r)}),i},t.hsla=V,t.hslaToRgba=K,t.inertia=Le,t.initPrefersReducedMotion=Br,t.interpolate=Ie,t.invisibleValues=te,t.isAnimationControls=Ar,t.isCSSVariableName=p,t.isCSSVariableToken=y,t.isControllingVariants=Rr,t.isDeltaZero=ts,t.isDragActive=bo,t.isDragging=go,t.isElementKeyboardAccessible=Eo,t.isElementTextInput=function(e){return Po.has(e.tagName)||!0===e.isContentEditable},t.isForcedMotionValue=vi,t.isGenerator=Rt,t.isHTMLElement=uo,t.isKeyframesTarget=xn,t.isMotionValue=En,t.isNear=Ui,t.isNodeOrChild=wo,t.isPrimaryPointer=_o,t.isSVGElement=To,t.isSVGSVGElement=Wo,t.isSVGTag=ki,t.isTransitionDefined=ln,t.isVariantLabel=Sr,t.isVariantNode=jr,t.isWaapiSupportedEasing=function e(t){return Boolean("function"==typeof t&&Ct()||!t||"string"==typeof t&&(t in St||Ct())||o.isBezierDefinition(t)||Array.isArray(t)&&t.every(e))},t.isWillChangeMotionValue=Pn,t.keyframes=Ue,t.makeAnimationInstant=$t,t.mapEasingToNativeEasing=Ot,t.mapValue=function(e,t,n,o){const r=Ho(t,n,o);return Jo(()=>r(e.get()))},t.maxGeneratorDuration=de,t.measurePageBox=function(e,t,n){const o=ai(e,n),{scroll:r}=t;return r&&(oi(o.x,r.offset.x),oi(o.y,r.offset.y)),o},t.measureViewportBox=ai,t.microtask=yo,t.mix=le,t.mixArray=ie,t.mixColor=ee,t.mixComplex=ae,t.mixImmediate=Y,t.mixLinearColor=J,t.mixNumber=X,t.mixObject=se,t.mixValues=ps,t.mixVisibility=ne,t.motionValue=Qt,t.nodeGroup=function(){const e=new Set,t=new WeakMap,n=()=>e.forEach(ra);return{add:o=>{e.add(o),t.set(o,o.addEventListener("willUpdate",n))},remove:o=>{e.delete(o);const r=t.get(o);r&&(r(),t.delete(o)),n()},dirty:n}},t.number=b,t.numberValueTypes=Hn,t.observeTimeline=function(e,t){let n;const o=()=>{const{currentTime:o}=t,r=(null===o?0:o.value)/100;n!==r&&e(r),n=r};return s.preUpdate(o,!0),()=>a(o)},t.optimizedAppearDataAttribute=Sn,t.optimizedAppearDataId=An,t.parseAnimateLayoutArgs=function(e,t,n){var o;return"function"==typeof e?{scope:document,updateDom:e,defaultOptions:t}:{scope:e instanceof Document?e:null!==(o=to(e)[0])&&void 0!==o?o:document,updateDom:t,defaultOptions:n}},t.parseCSSVariable=pn,t.parseValueFromTransform=rt,t.percent=R,t.pixelsToPercent=fi,t.positionalKeys=bn,t.prefersReducedMotion=Lr,t.press=function(e,t,n={}){const[o,r,i]=xo(e,n),s=e=>{const o=e.currentTarget;if(!So(e))return;if(Oo.has(e))return;ko.add(o),n.stopPropagation&&Oo.add(e);const i=t(o,e),s={...r,capture:!0},a=(e,t)=>{window.removeEventListener("pointerup",l,s),window.removeEventListener("pointercancel",u,s),ko.has(o)&&ko.delete(o),So(e)&&"function"==typeof i&&i(e,{success:t})},l=e=>{a(e,o===window||o===document||n.useGlobalTarget||wo(o,e.target))},u=e=>{a(e,!1)};window.addEventListener("pointerup",l,s),window.addEventListener("pointercancel",u,s)};return o.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),uo(e)&&(e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const o=Co(()=>{if(ko.has(n))return;Ao(n,"down");const e=Co(()=>{Ao(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>Ao(n,"cancel"),t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)})(e,r)),Eo(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),i},t.progressPercentage=I,t.propEffect=lo,t.propagateDirtyNodes=Ls,t.px=j,t.readTransformValue=it,t.recordStats=function(){if(zo.value)throw zo.value=null,zo.addProjectionMetrics=null,new Error("Stats are already being measured");const e=zo;e.value={layoutProjection:{nodes:[],calculatedTargetDeltas:[],calculatedProjections:[]}},e.addProjectionMetrics=t=>{const{layoutProjection:n}=e.value;n.nodes.push(t.nodes),n.calculatedTargetDeltas.push(t.calculatedTargetDeltas),n.calculatedProjections.push(t.calculatedProjections)}},t.removeAxisDelta=Yi,t.removeAxisTransforms=Xi,t.removeBoxTransforms=Qi,t.removePointDelta=Ki,t.renderHTML=hi,t.renderSVG=Ci,t.resize=function(e,t){return"function"==typeof e?No(e):$o(e,t)},t.resolveElements=to,t.resolveMotionValue=Es,t.resolveTransition=en,t.resolveVariant=gn,t.resolveVariantFromProps=vn,t.rgbUnit=C,t.rgba=A,t.rootProjectionNode=ia,t.scale=w,t.scaleCorrectors=yi,t.scalePoint=Xr,t.scrapeHTMLMotionValuesFromProps=gi,t.scrapeSVGMotionValuesFromProps=Ai,t.setDragLock=function(e){return"x"===e||"y"===e?go[e]?null:(go[e]=!0,()=>{go[e]=!1}):go.x||go.y?null:(go.x=go.y=!0,()=>{go.x=go.y=!1})},t.setFeatureDefinitions=function(e){Fr=e},t.setStyle=_t,t.setTarget=Mn,t.spring=je,t.springValue=function(e,t){return Go(e,{type:"spring",...t})},t.stagger=function(e=.1,{startDelay:t=0,from:n=0,ease:r}={}){return(i,s)=>{const a="number"==typeof n?n:qo(n,s),l=Math.abs(a-i);let u=e*l;if(r){const t=s*e;u=o.easingDefinitionToFunction(r)(u/t)*t}return t+u}},t.startWaapiAnimation=Tt,t.statsBuffer=zo,t.styleEffect=po,t.supportedWaapiEasing=St,t.supportsBrowserAnimation=Wt,t.supportsFlags=Mt,t.supportsLinearEasing=Ct,t.supportsPartialKeyframes=eo,t.supportsScrollTimeline=Pt,t.supportsViewTimeline=kt,t.svgEffect=mo,t.sync=ma,t.testValueType=Ln,t.time=h,t.transform=Ho,t.transformAxis=ri,t.transformBox=si,t.transformBoxPoints=Wr,t.transformPropOrder=at,t.transformProps=lt,t.transformValue=Jo,t.transformValueTypes=qn,t.translateAxis=oi,t.updateMotionValuesFromProps=Dr,t.variantPriorityOrder=Or,t.variantProps=Tr,t.vh=D,t.visualElementStore=Cr,t.vw=L},,function(e,t,n){"use strict";e.exports=function(e,t,n,o){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(o):void 0})},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";e.exports=function(e,t){throw Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")},e.exports.__esModule=!0,e.exports.default=e.exports},,,function(e,t,n){"use strict";function o(){return e.exports=o=Object.assign?Object.assign.bind():function(e){for(var t=1;te>992?"desktop":e<992&&e>768?"tablet":"mobile";t.getMedia=s;t.getCurrentDevice=()=>{const e=(0,i.getOwnWindow)();return e?s(e.innerWidth):"desktop"};const a=()=>{const e=(0,o.useContext)(r.DeviceContext),[t,n]=(0,o.useState)(()=>{const t=(0,i.getOwnWindow)();return(null==t?void 0:t.innerWidth)?s(t.innerWidth):null!=e?e:"desktop"});return(0,o.useEffect)(()=>{const e=(0,i.getOwnWindow)();if(!e)return;const t=()=>{n(s(e.innerWidth))};return e.addEventListener("resize",t),()=>e.removeEventListener("resize",t)},[]),t};t.useMedia=a;t.useDevice=a},function(e,t,n){"use strict";var o=n(151),r=n(152);e.exports=function(e,t,n){var i=t&&n||0;"string"==typeof e&&(t="binary"===e?new Array(16):null,e=null);var s=(e=e||{}).random||(e.rng||o)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t)for(var a=0;a<16;++a)t[i+a]=s[a];return t||r(s)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MegamenuApiState=t.MegamenuApiProvider=void 0,t.createMegamenuApi=l,t.useCreateMegamenuApi=function(e=new Map){return(0,o.useMemo)(()=>l(e),[])},t.useMegamenuApi=function(){return(0,o.useContext)(a)};var o=n(0),r=n(3);function i(e,t,n=!1){return n?e/t:e}class s{constructor(e){this.registry=e,this.isShowing=!1,this.activeMegamenuId=null,this.activeMoleculeId=null,this.show_on_hover=void 0,this.openedByHover=!1,this.openedByKeyboard=!1,this.positions={xLinkLeft:0,xLinkRight:0,y:0},this.linkPosition={x:0,y:0,h:0,w:0},this.parent={width:0,node:null},this.scrollTop=0,(0,r.makeAutoObservable)(this,void 0,{autoBind:!0})}get megamenus(){return Array.from(this.registry.values())}get activeMegamenu(){return this.registry.get(this.activeMegamenuId||"")}setRegistry(e){this.registry=e}close(){this.activeMegamenuId=null,this.activeMoleculeId=null,this.openedByHover=!1,this.openedByKeyboard=!1}activate(e,t=null,n=void 0,o=!1,r=!1){return this.activeMegamenuId=e,this.activeMoleculeId=t,this.show_on_hover=n,this.openedByHover=o,this.openedByKeyboard=r,this}disactivate(){this.activeMegamenuId=null,this.activeMoleculeId=null,this.isShowing=!1,this.openedByHover=!1,this.openedByKeyboard=!1}show(e,t=!1){if(!this.activeMegamenuId||!e)return;const{x:n=0,y:o=0,height:r=0,width:s=0}=e.getBoundingClientRect();if(this.linkPosition={x:n,y:o,h:r,w:s},!this.activeMegamenu)return;const a=e.closest(".con-kit-site");if(!a)return;const l=a.getBoundingClientRect();this.scrollTop=l.top;const u=parseFloat(getComputedStyle(a).getPropertyValue("--one-scale-content")||"1")||1;switch(this.activeMegamenu.styles.mega_location){case"item":{var c;const n=null===(c=e.closest('[data-mega-place="item"]'))||void 0===c?void 0:c.querySelector(".con-kit-atom-menu-v2-item-inside__wrapp"),o=e.closest(".con-kit-container");if(!n||!o)return;const r=n.getBoundingClientRect(),s=o.getBoundingClientRect();this.positions={xLinkLeft:i(r.left-l.left,u,t),xLinkRight:i(r.right+l.left,u,t),y:i(s.top-l.top+s.height,u,t)};break}case"molecule":{const n=e.closest(".con-kit-container"),o=e.closest(".con-kit-organism");if(!n||!o)return;const r=n.getBoundingClientRect();this.positions={xLinkLeft:i(r.left-l.left,u,t),y:i(r.top-l.top+r.height,u,t)},this.parent={width:i(r.width,u,t),node:o};break}}this.isShowing=!0}async open(e,t=null){console.log("megamenuId",e),this.activeMegamenuId=e,this.activeMoleculeId=t}}t.MegamenuApiState=s;const a=(0,o.createContext)({});t.MegamenuApiProvider=a.Provider;function l(e){return new s(e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCustomIdentifierAttrs=function(e){const t=e.data$.custom_class||void 0,n=e.data$.custom_id||void 0,r=e.data$.custom_data_attrs||[];return{...t?{className:t}:{},...n?{id:n}:{},...Object.fromEntries(r.filter(e=>e.key).map(e=>[e.key.startsWith("data-")?e.key:`data-${e.key}`,e.value]).filter(([e])=>!o.has(e)))}};const o=new Set(["data-id","data-atom","data-atom-id","data-molecule","data-molecule-id","data-row-id","data-child-id","data-organism","data-global-organism-id","data-p","data-position","data-popover","data-kit-animation","data-kit-organism-padding","data-one-animation","data-one-animation-easing","data-component","data-action","data-size","data-state","data-parent-id","data-mode","data-options","data-atom-horizontal","data-atom-vertical","data-atom-full-height","data-atom-pull-down","data-atom-zero-indenet","data-mega-place","data-frame-id","data-layer-type","data-temporary-wrap-atoms","data-popover-target","data-popover-backdrop"])},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.AtomLazyComponent=t.AtomLazy=t.ATOM_CHUNK_NAME=void 0;var r=l(n(0)),i=o(n(4)),s=n(316),a=n(323);function l(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(l=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const u=t.AtomLazy=(0,i.default)({resolved:{},chunkName:e=>"atom/"+(e.type+e.type).replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:e=>n(324)(`./${e.type}/${e.type}.atom.tsx`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(e){return n(325).resolve(`./${e.type}/${e.type}.atom.tsx`)}},{cacheKey:e=>e.type}),c=e=>`atom/${e}-${e}-atom-tsx`;t.ATOM_CHUNK_NAME=c;const d=t.AtomLazyComponent=(0,r.memo)(e=>r.default.createElement(s.AtomItemComponent,{atomModel:e.atomModel,align_horizontal:e.align_horizontal,align_vertical:e.align_vertical},r.default.createElement(a.AtomErrorBoundary,null,r.default.createElement(u,{type:e.atomModel.type,atomModel:e.atomModel,fallback:null}))))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GeneratedMotionHydrationPolicyProvider=void 0,t.createFramerMotionRuntime=E,t.framerMotionRuntime=void 0,t.isStaticAnimationTarget=u,t.normalizeMotionEntranceProps=v,t.shouldSuppressMountAnimate=c;var o=i(n(0)),r=i(n(398));function i(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(i=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const s={skipInitialForAlreadyVisibleWhileInView:!1,renderStaticFinalState:!1},a=o.createContext(s);t.GeneratedMotionHydrationPolicyProvider=a.Provider;function l(e){return!!e&&"object"==typeof e}function u(e){return"string"==typeof e||(Array.isArray(e)?e.every(e=>"string"==typeof e):!!l(e)&&!function(e){return l(e)&&("function"==typeof e.start||"function"==typeof e.stop||"function"==typeof e.set||"function"==typeof e.mount)}(e))}function c(e){return!1!==e.initial&&void 0!==e.animate&&void 0!==e.whileInView&&u(e.animate)}function d(e){return Array.isArray(e)?e[e.length-1]:e}const h=new Set(["duration","delay","delayChildren","staggerChildren","repeat","repeatDelay"]);function f(e){return l(e)?Object.keys(e).reduce((t,n)=>(h.has(n)?t[n]=0:l(e[n])||Array.isArray(e[n])?t[n]=f(e[n]):t[n]=e[n],t),{}):{duration:0,delay:0,delayChildren:0,staggerChildren:0,repeat:0,repeatDelay:0}}function p(e){return l(e)?Object.keys(e).reduce((t,n)=>(t[n]="transition"===n?f(e[n]):d(e[n]),t),{}):e}function m(e){return l(e)?Object.keys(e).reduce((t,n)=>(t[n]=d(e[n]),t),{}):e}function y(e){const t=function(e){return void 0!==e.whileInView&&u(e.whileInView)?m(e.whileInView):void 0!==e.animate&&u(e.animate)?m(e.animate):void 0}(e);if(void 0===t)return e;const n={...e,animate:p(t),transition:f(e.transition)};var o;return!1!==e.initial&&(n.initial=t),void 0!==e.variants&&(n.variants=l(o=e.variants)?Object.keys(o).reduce((e,t)=>{const n=o[t];return e[t]="function"==typeof n?(...e)=>{try{return p(n(...e))}catch(e){return}}:p(n),e},{}):o),delete n.whileInView,delete n.viewport,n}function v(e,t=s){if(t.renderStaticFinalState)return y(e);const n=c(e),o=function(e,t){return t.skipInitialForAlreadyVisibleWhileInView&&void 0!==e.initial&&!1!==e.initial&&void 0!==e.whileInView&&u(e.whileInView)}(e,t);if(!n&&!o)return e;const r={...e};return n&&delete r.animate,o&&(r.initial=m(e.whileInView)),r}const g={some:0,all:1};function b(e){return"number"==typeof e?e:g[null!=e?e:"some"]}function x(e,{root:t,margin:n,amount:r,once:i=!1,initial:s=!1}={}){const[a,l]=o.useState(s);return o.useEffect(()=>{const o=e.current;if(!o||i&&a)return;const s=o.ownerDocument.defaultView,u=null==s?void 0:s.IntersectionObserver;if(!u)return;const c=new u(e=>{const t=e[e.length-1];t&&(t.isIntersecting?(l(!0),i&&c.disconnect()):i||l(!1))},{root:(null==t?void 0:t.current)||void 0,rootMargin:n,threshold:b(r)});return c.observe(o),()=>c.disconnect()},[t,e,n,i,r]),a}const w={current:null};function _(e,t){const n=o.forwardRef((n,r)=>{const i=function(e,t,n){const r=o.useRef(null),i=n&&!1,s=i?e.viewport:void 0,a=x(i?r:w,{margin:null==s?void 0:s.margin,amount:null==s?void 0:s.amount,once:null==s?void 0:s.once}),l=o.useCallback(e=>{var n,o;r.current=e,o=e,"function"==typeof(n=t)?n(o):n&&"object"==typeof n&&(n.current=o)},[t]);if(!i)return{props:e,ref:l};const u={...e};delete u.whileInView,delete u.viewport;const c=!1!==e.initial?e.initial:void 0;return u.animate=a?e.whileInView:c,{props:u,ref:l}}(v(n,o.useContext(a)),r,t);return o.createElement(e,{...i.props,ref:i.ref})});var r,i;return n.displayName=e.displayName||"OnepageMotionComponent",i=n,l(r=e)&&l(i)&&Reflect.ownKeys(r).forEach(e=>{if("symbol"!=typeof e&&"displayName"!==e)return;const t=Object.getOwnPropertyDescriptor(r,e);if(t)try{Object.defineProperty(i,e,t)}catch(e){}}),n}function M(e,t){const n=new Map,o=new WeakMap,r=e=>{if(!l(e))return _(e,t);const n=o.get(e);if(n)return n;const r=_(e,t);return o.set(e,r),r};return new Proxy(function(...t){return r(e(...t))},{apply:(t,n,o)=>r(e(...o)),get(t,o){if(n.has(o))return n.get(o);const i=e[o];if("create"===o&&"function"==typeof i){const e=(...e)=>r(i(...e));return n.set(o,e),e}if(l(i)||"function"==typeof i){const e=r(i);return n.set(o,e),e}return i}})}function E(e=r,t={}){var n;const o=null!==(n=t.bridgeRealm)&&void 0!==n&&n,i=M(e.motion,o),s=M(e.m,o);return{...e,motion:i,m:s,...o?{useInView:x}:{}}}t.framerMotionRuntime=E()},function(e,t,n){"use strict";(function(e){var o=n(385),r=n(386),i=n(387);function s(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function a(e,t){if(s()=s())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+s().toString(16)+" bytes");return 0|e}function p(e,t){if(l.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var n=e.length;if(0===n)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return n;case"utf8":case"utf-8":case void 0:return U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*n;case"hex":return n>>>1;case"base64":return N(e).length;default:if(o)return U(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,n){var o=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return"";if((n>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return O(this,t,n);case"utf8":case"utf-8":return k(this,t,n);case"ascii":return A(this,t,n);case"latin1":case"binary":return S(this,t,n);case"base64":return P(this,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,n);default:if(o)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),o=!0}}function y(e,t,n){var o=e[t];e[t]=e[n],e[n]=o}function v(e,t,n,o,r){if(0===e.length)return-1;if("string"==typeof n?(o=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=r?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(r)return-1;n=e.length-1}else if(n<0){if(!r)return-1;n=0}if("string"==typeof t&&(t=l.from(t,o)),l.isBuffer(t))return 0===t.length?-1:g(e,t,n,o,r);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?r?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):g(e,[t],n,o,r);throw new TypeError("val must be string, number or Buffer")}function g(e,t,n,o,r){var i,s=1,a=e.length,l=t.length;if(void 0!==o&&("ucs2"===(o=String(o).toLowerCase())||"ucs-2"===o||"utf16le"===o||"utf-16le"===o)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,n/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){var c=-1;for(i=n;ia&&(n=a-l),i=n;i>=0;i--){for(var d=!0,h=0;hr&&(o=r):o=r;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");o>i/2&&(o=i/2);for(var s=0;s>8,r=n%256,i.push(r),i.push(o);return i}(t,e.length-n),e,n,o)}function P(e,t,n){return 0===t&&n===e.length?o.fromByteArray(e):o.fromByteArray(e.slice(t,n))}function k(e,t,n){n=Math.min(e.length,n);for(var o=[],r=t;r239?4:u>223?3:u>191?2:1;if(r+d<=n)switch(d){case 1:u<128&&(c=u);break;case 2:128==(192&(i=e[r+1]))&&(l=(31&u)<<6|63&i)>127&&(c=l);break;case 3:i=e[r+1],s=e[r+2],128==(192&i)&&128==(192&s)&&(l=(15&u)<<12|(63&i)<<6|63&s)>2047&&(l<55296||l>57343)&&(c=l);break;case 4:i=e[r+1],s=e[r+2],a=e[r+3],128==(192&i)&&128==(192&s)&&128==(192&a)&&(l=(15&u)<<18|(63&i)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(c=l)}null===c?(c=65533,d=1):c>65535&&(c-=65536,o.push(c>>>10&1023|55296),c=56320|1023&c),o.push(c),r+=d}return function(e){var t=e.length;if(t<=C)return String.fromCharCode.apply(String,e);var n="",o=0;for(;o0&&(e=this.toString("hex",0,n).match(/.{2}/g).join(" "),this.length>n&&(e+=" ... ")),""},l.prototype.compare=function(e,t,n,o,r){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===o&&(o=0),void 0===r&&(r=this.length),t<0||n>e.length||o<0||r>this.length)throw new RangeError("out of range index");if(o>=r&&t>=n)return 0;if(o>=r)return-1;if(t>=n)return 1;if(this===e)return 0;for(var i=(r>>>=0)-(o>>>=0),s=(n>>>=0)-(t>>>=0),a=Math.min(i,s),u=this.slice(o,r),c=e.slice(t,n),d=0;dr)&&(n=r),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");o||(o="utf8");for(var i=!1;;)switch(o){case"hex":return b(this,e,t,n);case"utf8":case"utf-8":return x(this,e,t,n);case"ascii":return w(this,e,t,n);case"latin1":case"binary":return _(this,e,t,n);case"base64":return M(this,e,t,n);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,n);default:if(i)throw new TypeError("Unknown encoding: "+o);o=(""+o).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var C=4096;function A(e,t,n){var o="";n=Math.min(e.length,n);for(var r=t;ro)&&(n=o);for(var r="",i=t;in)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,n,o,r,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw new RangeError("Index out of range")}function D(e,t,n,o){t<0&&(t=65535+t+1);for(var r=0,i=Math.min(e.length-n,2);r>>8*(o?r:1-r)}function L(e,t,n,o){t<0&&(t=4294967295+t+1);for(var r=0,i=Math.min(e.length-n,4);r>>8*(o?r:3-r)&255}function I(e,t,n,o,r,i){if(n+o>e.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("Index out of range")}function V(e,t,n,o,i){return i||I(e,0,n,4),r.write(e,t,n,o,23,4),n+4}function B(e,t,n,o,i){return i||I(e,0,n,8),r.write(e,t,n,o,52,8),n+8}l.prototype.slice=function(e,t){var n,o=this.length;if((e=~~e)<0?(e+=o)<0&&(e=0):e>o&&(e=o),(t=void 0===t?o:~~t)<0?(t+=o)<0&&(t=0):t>o&&(t=o),t0&&(r*=256);)o+=this[e+--t]*r;return o},l.prototype.readUInt8=function(e,t){return t||R(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var o=this[e],r=1,i=0;++i=(r*=128)&&(o-=Math.pow(2,8*t)),o},l.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||R(e,t,this.length);for(var o=t,r=1,i=this[e+--o];o>0&&(r*=256);)i+=this[e+--o]*r;return i>=(r*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||R(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt16BE=function(e,t){t||R(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},l.prototype.readInt32LE=function(e,t){return t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||R(e,4,this.length),r.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||R(e,4,this.length),r.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||R(e,8,this.length),r.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||R(e,8,this.length),r.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,n,o){(e=+e,t|=0,n|=0,o)||j(this,e,t,n,Math.pow(2,8*n)-1,0);var r=1,i=0;for(this[t]=255&e;++i=0&&(i*=256);)this[t+r]=e/i&255;return t+n},l.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,n,o){if(e=+e,t|=0,!o){var r=Math.pow(2,8*n-1);j(this,e,t,n,r-1,-r)}var i=0,s=1,a=0;for(this[t]=255&e;++i=0&&(s*=256);)e<0&&0===a&&0!==this[t+i+1]&&(a=1),this[t+i]=(e/s|0)-a&255;return t+n},l.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,n){return V(this,e,t,!0,n)},l.prototype.writeFloatBE=function(e,t,n){return V(this,e,t,!1,n)},l.prototype.writeDoubleLE=function(e,t,n){return B(this,e,t,!0,n)},l.prototype.writeDoubleBE=function(e,t,n){return B(this,e,t,!1,n)},l.prototype.copy=function(e,t,n,o){if(n||(n=0),o||0===o||(o=this.length),t>=e.length&&(t=e.length),t||(t=0),o>0&&o=this.length)throw new RangeError("sourceStart out of bounds");if(o<0)throw new RangeError("sourceEnd out of bounds");o>this.length&&(o=this.length),e.length-t=0;--r)e[r+t]=this[r+n];else if(i<1e3||!l.TYPED_ARRAY_SUPPORT)for(r=0;r>>=0,n=void 0===n?this.length:n>>>0,e||(e=0),"number"==typeof e)for(i=t;i55295&&n<57344){if(!r){if(n>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(s+1===o){(t-=3)>-1&&i.push(239,191,189);continue}r=n;continue}if(n<56320){(t-=3)>-1&&i.push(239,191,189),r=n;continue}n=65536+(r-55296<<10|n-56320)}else r&&(t-=3)>-1&&i.push(239,191,189);if(r=null,n<128){if((t-=1)<0)break;i.push(n)}else if(n<2048){if((t-=2)<0)break;i.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;i.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return i}function N(e){return o.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace($,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,n,o){for(var r=0;r=t.length||r>=e.length);++r)t[r+n]=e[r];return r}}).call(this,n(21))},function(e,t,n){"use strict";var o=n(10);t.createRoot=o.createRoot,t.hydrateRoot=o.hydrateRoot},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.initDI=t.DI=void 0;var r=o(n(0));const i=t.initDI={enableLazyLoading:!0,progressiveHydration:!1};t.DI=r.default.createContext({...i})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteViewportEnum=t.SiteViewportContextProvider=t.SiteViewportContext=void 0;var o=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0));t.SiteViewportEnum=function(e){return e.DESKTOP="DESKTOP",e.MOBILE="MOBILE",e}({});const r=t.SiteViewportContext=o.default.createContext({});t.SiteViewportContextProvider=e=>{const[t,n]=(0,o.useState)(()=>!1),[i,s]=(0,o.useState)(()=>!1),[a,l]=(0,o.useState)([]),[u,c]=(0,o.useState)(()=>{});return o.default.createElement(r.Provider,{value:{viewport:u,setViewport:c,showHiddenSections:t,setShowHiddenSections:n,allowSectionCollapse:i,setAllowSectionCollapse:s,expandedHiddenSectionIds:a,setExpandedHiddenSectionIds:l}},e.children)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AbstractOrganismChunk=void 0;t.AbstractOrganismChunk=class{constructor(e,t){this.organismModel=e,this.pageModel=t,this.name=void 0,this.order=50}}},function(e,t,n){var o={"./line/add-background-circle/index.ts":210,"./line/add-background/index.ts":209,"./line/border-width/index.ts":211,"./line/change-color/index.ts":212,"./line/default/index.ts":213,"./line/extrude-hover-2/index.ts":216,"./line/extrude-hover/index.ts":215,"./line/extrude/index.ts":214,"./line/material/index.ts":217,"./line/skew/index.ts":218,"./line/soft-bg/index.ts":219,"./line/soft-line-hover/index.ts":221,"./line/soft-line/index.ts":220,"./solid/blur/index.ts":222,"./solid/default/index.ts":223,"./solid/extrude-3d/index.ts":225,"./solid/extrude-contrast-hover-2/index.ts":227,"./solid/extrude-contrast-hover/index.ts":226,"./solid/extrude-gradient-2/index.ts":229,"./solid/extrude-gradient/index.ts":228,"./solid/extrude-outline/index.ts":230,"./solid/extrude/index.ts":224,"./solid/glass-glowing/index.ts":231,"./solid/gradient-light/index.ts":233,"./solid/gradient/index.ts":232,"./solid/material/index.ts":234,"./solid/shadow-key/index.ts":236,"./solid/shadow/index.ts":235,"./solid/skew/index.ts":237,"./solid/soft-line-hover/index.ts":239,"./solid/soft-line/index.ts":238,"./solid/volume/index.ts":240,"./solid/web-2-0/index.ts":241,"./solid/web-2-1/index.ts":242,"./solid/win-98/index.ts":243,"./transparent/bg-change/index.ts":244,"./transparent/bg-slide/index.ts":245,"./transparent/change-color/index.ts":246,"./transparent/default/index.ts":247,"./transparent/light-bg-hover/index.ts":249,"./transparent/light-bg/index.ts":248,"./transparent/marker/index.ts":250,"./transparent/opacity/index.ts":251,"./transparent/underline-hover/index.ts":253,"./transparent/underline-move-2/index.ts":255,"./transparent/underline-move/index.ts":254,"./transparent/underline/index.ts":252};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=67,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UiKitFormChunk=void 0;var o=n(134);t.UiKitFormChunk=class{constructor(e){this.effects=e,this.name=void 0,this.name=`ui-kit/form/${this.effects.form}-scss`}load(){return o.UIKitFormLazy.load({formEffect:this.effects.form})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MasonryExtensionChunk=void 0;var o=n(135);t.MasonryExtensionChunk=class{constructor(){this.name="extension/masonry"}load(){return o.MasonryExtensionComponentLazy.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SliderExtensionChunk=void 0;var o=n(113);t.SliderExtensionChunk=class{constructor(){this.name="extension/slider"}load(){return o.SliderExtensionComponentLazy.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.VideoExtensionChunk=void 0;var o=n(114);t.VideoExtensionChunk=class{constructor(){this.name="extension/video"}load(){return o.VideoExtensionComponentLazy.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ReactAppExtensionChunk=void 0;var o=n(136),r=n(137),i=n(148),s=n(110);class a{constructor(){this.name=void 0,this.name="extension/react-app"}load(){return o.ReactAppExtensionComponentLazy.load()}}t.ReactAppExtensionChunk=class{constructor(e,t,n){this.reactAppId=e,this.pageModel=t,this.reactAppVersionId=n,this.name=void 0,this.deps=void 0,this.name=`extension/react-app/${e}/${n||t.version.type}`,this.deps=[[new a,!0]]}async fetchBundle(){if(this.reactAppId)try{const e=await i.ReactAppBundleService.fetchBundles({reactAppId:this.reactAppId,pageModel:this.pageModel,reactAppVersionId:this.reactAppVersionId}),t=s.BundleRegistry.getInstance(),n=r.DependenciesRegistry.getInstance();for(const n of e)t.set(n._id,n);await Promise.all(e.map(async e=>{var o;const r=null!==(o=e.externalDeps)&&void 0!==o?o:{};if(0===Object.keys(r).length)return;const i=t.getSiteUiDependencyKey(e._id);try{const o=await n.loadMany(r,i);t.replaceSiteUiDeps(e._id,o.siteUiVersions)}catch(t){console.error("[React Layer Chunk] Failed to prewarm deps for",e._id,t)}}))}catch(e){console.error("[React Layer Chunk] Error loading bundles",e)}}load(){return Promise.all([this.fetchBundle()])}}},function(e,t){},function(e,t,n){"use strict";const o=/(<)(\/?style\b)/gi,r=/(<)(!--)/g;function i(e){return"string"!=typeof e?e:e.includes("<")?e.replace(o,"\\3c $2").replace(r,"\\3c $2"):e}const s={after:"\n",beforeClose:"\n",beforeComment:"\n",beforeDecl:"\n",beforeOpen:" ",beforeRule:"\n",colon:": ",commentLeft:" ",commentRight:" ",emptyBody:"",indent:" ",semicolon:!1};class a{constructor(e){this.builder=e}atrule(e,t){let n=e.raws,o="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==n.afterName?o+=n.afterName:r&&(o+=" "),e.nodes)this.block(e,o+r);else{let s=(n.between||"")+(t?";":"");this.builder(i(o+r+s),e)}}beforeAfter(e,t){let n;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");let o=e.parent,r=0;for(;o&&"root"!==o.type;)r+=1,o=o.parent;if(n.includes("\n")){let t=this.raw(e,null,"indent");if(t.length)for(let e=0;e0&&"comment"===t[n].type;)n-=1;let o=this.raw(e,"semicolon"),r="document"===e.type;for(let e=0;e{if(o=e.raws[t],void 0!==o)return!1})}var l;return void 0===o&&(o=s[n]),a[n]=o,o}rawBeforeClose(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return t=e.raws.after,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawBeforeComment(e,t){let n;return e.walkComments(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeDecl(e,t){let n;return e.walkDecls(e=>{if(void 0!==e.raws.before)return n=e.raws.before,n.includes("\n")&&(n=n.replace(/[^\n]+$/,"")),!1}),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/\S/g,"")),n}rawBeforeOpen(e){let t;return e.walk(e=>{if("decl"!==e.type&&(t=e.raws.between,void 0!==t))return!1}),t}rawBeforeRule(e){let t;return e.walk(n=>{if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return t=n.raws.before,t.includes("\n")&&(t=t.replace(/[^\n]+$/,"")),!1}),t&&(t=t.replace(/\S/g,"")),t}rawColon(e){let t;return e.walkDecls(e=>{if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1}),t}rawEmptyBody(e){let t;return e.walk(e=>{if(e.nodes&&0===e.nodes.length&&(t=e.raws.after,void 0!==t))return!1}),t}rawIndent(e){if(e.raws.indent)return e.raws.indent;let t;return e.walk(n=>{let o=n.parent;if(o&&o!==e&&o.parent&&o.parent===e&&void 0!==n.raws.before){let e=n.raws.before.split("\n");return t=e[e.length-1],t=t.replace(/\S/g,""),!1}}),t}rawSemicolon(e){let t;return e.walk(e=>{if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&(t=e.raws.semicolon,void 0!==t))return!1}),t}rawValue(e,t){let n=e[t],o=e.raws[t];return o&&o.value===n?o.raw:n}root(e){if(this.body(e),e.raws.after){let t=e.raws.after,n=e.parent&&"document"===e.parent.type;this.builder(n?t:i(t))}}rule(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(i(e.raws.ownSemicolon),e,"end")}stringify(e,t){if(!this[e.type])throw new Error("Unknown AST node type "+e.type+". Maybe you need to change PostCSS stringifier.");this[e.type](e,t)}}e.exports=a,a.default=a},function(e,t){},function(e,t,n){"use strict";(function(t){let{existsSync:o,readFileSync:r}=n(388),{dirname:i,join:s}=n(44),{SourceMapConsumer:a,SourceMapGenerator:l}=n(45);class u{constructor(e,t){if(!1===t.map)return;t.unsafeMap&&(this.unsafeMap=!0),this.loadAnnotation(e),this.inline=this.startWith(this.annotation,"data:");let n=t.map?t.map.prev:void 0,o=this.loadMap(t.from,n);!this.mapFile&&t.from&&(this.mapFile=t.from),this.mapFile&&(this.root=i(this.mapFile)),o&&(this.text=o)}consumer(){return this.consumerCache||(this.consumerCache=new a(this.json||this.text)),this.consumerCache}decodeInline(e){let n=e.match(/^data:application\/json;charset=utf-?8,/)||e.match(/^data:application\/json,/);if(n)return decodeURIComponent(e.substr(n[0].length));let o=e.match(/^data:application\/json;charset=utf-?8;base64,/)||e.match(/^data:application\/json;base64,/);if(o)return r=e.substr(o[0].length),t?t.from(r,"base64").toString():window.atob(r);var r;let i=e.slice(22);throw i=i.slice(0,i.indexOf(",")),new Error("Unsupported source map encoding "+i)}getAnnotationURL(e){return e.replace(/^\/\*\s*# sourceMappingURL=/,"").trim()}isMap(e){return"object"==typeof e&&("string"==typeof e.mappings||"string"==typeof e._mappings||Array.isArray(e.sections))}loadAnnotation(e){let t=e.match(/\/\*\s*# sourceMappingURL=/g);if(!t)return;let n=e.lastIndexOf(t.pop()),o=e.indexOf("*/",n);n>-1&&o>-1&&(this.annotation=this.getAnnotationURL(e.substring(n,o)))}loadFile(e,t,n){if(n||this.unsafeMap||/\.map$/i.test(e))return this.root=i(e),o(e)?(this.mapFile=e,r(e,"utf-8").toString().trim()):void 0}loadMap(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"!=typeof t){if(t instanceof a)return l.fromSourceMap(t).toString();if(t instanceof l)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}{let n=t(e);if(n){let t=this.loadFile(n,e,!0);if(!t)throw new Error("Unable to load previous source map: "+n.toString());return t}}}else{if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){let t=this.annotation;e&&(t=s(i(e),t));let n=this.loadFile(t,e,!1);if(n)try{this.json=JSON.parse(n.replace(/^\)]}'[^\n]*\n/,""))}catch{return}return n}}}startWith(e,t){return!!e&&e.substr(0,t.length)===t}withContent(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)}}e.exports=u,u.default=u}).call(this,n(62).Buffer)},function(e,t,n){"use strict";let o={comma:e=>o.split(e,[","],!0),space:e=>o.split(e,[" ","\n","\t"]),split(e,t,n){let o=[],r="",i=!1,s=0,a=!1,l="",u=!1;for(let n of e)u?u=!1:"\\"===n?u=!0:a?n===l&&(a=!1):'"'===n||"'"===n?(a=!0,l=n):"("===n?s+=1:")"===n?s>0&&(s-=1):0===s&&t.includes(n)&&(i=!0),i?(""!==r&&o.push(r.trim()),r="",i=!1):r+=n;return(n||""!==r)&&o.push(r.trim()),o}};e.exports=o,o.default=o},function(e,t,n){"use strict";let o=n(9),r=n(43),i=n(79),s=n(47),a=n(48),l=n(17),u=n(25),{isClean:c,my:d}=n(42);n(81);const h={atrule:"AtRule",comment:"Comment",decl:"Declaration",document:"Document",root:"Root",rule:"Rule"},f={AtRule:!0,AtRuleExit:!0,Comment:!0,CommentExit:!0,Declaration:!0,DeclarationExit:!0,Document:!0,DocumentExit:!0,Once:!0,OnceExit:!0,postcssPlugin:!0,prepare:!0,Root:!0,RootExit:!0,Rule:!0,RuleExit:!0},p={Once:!0,postcssPlugin:!0,prepare:!0};function m(e){return"object"==typeof e&&"function"==typeof e.then}function y(e){let t=!1,n=h[e.type];return"decl"===e.type?t=e.prop.toLowerCase():"atrule"===e.type&&(t=e.name.toLowerCase()),t&&e.append?[n,n+"-"+t,0,n+"Exit",n+"Exit-"+t]:t?[n,n+"-"+t,n+"Exit",n+"Exit-"+t]:e.append?[n,0,n+"Exit"]:[n,n+"Exit"]}function v(e){let t;return t="document"===e.type?["Document",0,"DocumentExit"]:"root"===e.type?["Root",0,"RootExit"]:y(e),{eventIndex:0,events:t,iterator:0,node:e,visitorIndex:0,visitors:[]}}function g(e){return e[c]=!1,e.nodes&&e.nodes.forEach(e=>g(e)),e}let b={};class x{get content(){return this.stringify().content}get css(){return this.stringify().css}get map(){return this.stringify().map}get messages(){return this.sync().messages}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){return this.sync().root}get[Symbol.toStringTag](){return"LazyResult"}constructor(e,t,n){let r;if(this.stringified=!1,this.processed=!1,"object"!=typeof t||null===t||"root"!==t.type&&"document"!==t.type)if(t instanceof x||t instanceof a)r=g(t.root),t.map&&(void 0===n.map&&(n.map={}),n.map.inline||(n.map.inline=!1),n.map.prev=t.map);else{let e=s;n.syntax&&(e=n.syntax.parse),n.parser&&(e=n.parser),e.parse&&(e=e.parse);try{r=e(t,n)}catch(e){this.processed=!0,this.error=e}r&&!r[d]&&o.rebuild(r)}else r=g(t);this.result=new a(e,r,n),this.helpers={...b,postcss:b,result:this.result},this.plugins=this.processor.plugins.map(e=>"object"==typeof e&&e.prepare?{...e,...e.prepare(this.result)}:e)}async(){return this.error?Promise.reject(this.error):this.processed?Promise.resolve(this.result):(this.processing||(this.processing=this.runAsync()),this.processing)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}getAsyncError(){throw new Error("Use process(css).then(cb) to work with async plugins")}handleError(e,t){let n=this.result.lastPlugin;try{t&&t.addToError(e),this.error=e,"CssSyntaxError"!==e.name||e.plugin?n.postcssVersion:(e.plugin=n.postcssPlugin,e.setMessage())}catch(e){console&&console.error&&console.error(e)}return e}prepareVisitors(){this.listeners={};let e=(e,t,n)=>{this.listeners[t]||(this.listeners[t]=[]),this.listeners[t].push([e,n])};for(let t of this.plugins)if("object"==typeof t)for(let n in t){if(!f[n]&&/^[A-Z]/.test(n))throw new Error(`Unknown event ${n} in ${t.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);if(!p[n])if("object"==typeof t[n])for(let o in t[n])e(t,"*"===o?n:n+"-"+o.toLowerCase(),t[n][o]);else"function"==typeof t[n]&&e(t,n,t[n])}this.hasListener=Object.keys(this.listeners).length>0}async runAsync(){this.plugin=0;for(let e=0;e0;){let e=this.visitTick(t);if(m(e))try{await e}catch(e){let n=t[t.length-1].node;throw this.handleError(e,n)}}}if(this.listeners.OnceExit)for(let[t,n]of this.listeners.OnceExit){this.result.lastPlugin=t;try{if("document"===e.type){let t=e.nodes.map(e=>n(e,this.helpers));await Promise.all(t)}else await n(e,this.helpers)}catch(e){throw this.handleError(e)}}}return this.processed=!0,this.stringify()}runOnRoot(e){this.result.lastPlugin=e;try{if("object"==typeof e&&e.Once){if("document"===this.result.root.type){let t=this.result.root.nodes.map(t=>e.Once(t,this.helpers));return m(t[0])?Promise.all(t):t}return e.Once(this.result.root,this.helpers)}if("function"==typeof e)return e(this.result.root,this.result)}catch(e){throw this.handleError(e)}}stringify(){if(this.error)throw this.error;if(this.stringified)return this.result;this.stringified=!0,this.sync();let e=this.result.opts,t=u;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);let n=this.result.root.source;if(void 0===e.map&&!(n&&n.input&&n.input.map)){let e="";return t(this.result.root,t=>{e+=t}),this.result.css=e,this.result}let o=new i(t,this.result.root,this.result.opts).generate();return this.result.css=o[0],this.result.map=o[1],this.result}sync(){if(this.error)throw this.error;if(this.processed)return this.result;if(this.processed=!0,this.processing)throw this.getAsyncError();for(let e of this.plugins){if(m(this.runOnRoot(e)))throw this.getAsyncError()}if(this.prepareVisitors(),this.hasListener){let e=this.result.root;for(;!e[c];)e[c]=!0,this.walkSync(e);if(this.listeners.OnceExit)if("document"===e.type)for(let t of e.nodes)this.visitSync(this.listeners.OnceExit,t);else this.visitSync(this.listeners.OnceExit,e)}return this.result}then(e,t){return this.async().then(e,t)}toString(){return this.css}visitSync(e,t){for(let[n,o]of e){let e;this.result.lastPlugin=n;try{e=o(t,this.helpers)}catch(e){throw this.handleError(e,t.proxyOf)}if("root"!==t.type&&"document"!==t.type&&!t.parent)return!0;if(m(e))throw this.getAsyncError()}}visitTick(e){let t=e[e.length-1],{node:n,visitors:o}=t;if("root"!==n.type&&"document"!==n.type&&!n.parent)return void e.pop();if(o.length>0&&t.visitorIndex{e[c]||this.walkSync(e)});else{let t=this.listeners[n];if(t&&this.visitSync(t,e.toProxy()))return}}warnings(){return this.sync().warnings()}}x.registerPostcss=e=>{b=e},e.exports=x,x.default=x,l.registerLazyResult(x),r.registerLazyResult(x)},function(e,t,n){"use strict";(function(t){let{dirname:o,relative:r,resolve:i,sep:s}=n(44),{SourceMapConsumer:a,SourceMapGenerator:l}=n(45),{pathToFileURL:u}=n(75),c=n(27),d=Boolean(a&&l),h=Boolean(o&&i&&r&&s);e.exports=class{constructor(e,t,n,o){this.stringify=e,this.mapOpts=n.map||{},this.root=t,this.opts=n,this.css=o,this.originalCSS=o,this.usesFileUrls=!this.mapOpts.from&&this.mapOpts.absolute,this.memoizedFileURLs=new Map,this.memoizedPaths=new Map,this.memoizedURLs=new Map}addAnnotation(){let e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:"function"==typeof this.mapOpts.annotation?this.mapOpts.annotation(this.opts.to,this.root):this.outputFile()+".map";let t="\n";this.css.includes("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"}applyPrevMaps(){for(let e of this.previous()){let t,n=this.toUrl(this.path(e.file)),r=e.root||o(e.file);!1===this.mapOpts.sourcesContent?(t=new a(e.text),t.sourcesContent&&(t.sourcesContent=null)):t=e.consumer(),this.map.applySourceMap(t,n,this.toUrl(this.path(r)))}}clearAnnotation(){if(!1!==this.mapOpts.annotation)if(this.root){let e;for(let t=this.root.nodes.length-1;t>=0;t--)e=this.root.nodes[t],"comment"===e.type&&e.text.startsWith("# sourceMappingURL=")&&this.root.removeChild(t)}else if(this.css){let e;for(;-1!==(e=this.css.lastIndexOf("/*#"));){let t=this.css.indexOf("*/",e+3);if(-1===t)break;for(;e>0&&"\n"===this.css[e-1];)e--;this.css=this.css.slice(0,e)+this.css.slice(t+2)}}}generate(){if(this.clearAnnotation(),h&&d&&this.isMap())return this.generateMap();{let e="";return this.stringify(this.root,t=>{e+=t}),[e]}}generateMap(){if(this.root)this.generateString();else if(1===this.previous().length){let e=this.previous()[0].consumer();e.file=this.outputFile(),this.map=l.fromSourceMap(e,{ignoreInvalidMapping:!0})}else this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0}),this.map.addMapping({generated:{column:0,line:1},original:{column:0,line:1},source:this.opts.from?this.toUrl(this.path(this.opts.from)):""});return this.isSourcesContent()&&this.setSourcesContent(),this.root&&this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]}generateString(){this.css="",this.map=new l({file:this.outputFile(),ignoreInvalidMapping:!0});let e,t,n=1,o=1,r="",i={generated:{column:0,line:0},original:{column:0,line:0},source:""};this.stringify(this.root,(s,a,l)=>{if(this.css+=s,a&&"end"!==l&&(i.generated.line=n,i.generated.column=o-1,a.source&&a.source.start?(i.source=this.sourcePath(a),i.original.line=a.source.start.line,i.original.column=a.source.start.column-1,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,this.map.addMapping(i))),t=s.match(/\n/g),t?(n+=t.length,e=s.lastIndexOf("\n"),o=s.length-e):o+=s.length,a&&"start"!==l){let e=a.parent||{raws:{}};("decl"===a.type||"atrule"===a.type&&!a.nodes)&&a===e.last&&!e.raws.semicolon||(a.source&&a.source.end?(i.source=this.sourcePath(a),i.original.line=a.source.end.line,i.original.column=a.source.end.column-1,i.generated.line=n,i.generated.column=o-2,this.map.addMapping(i)):(i.source=r,i.original.line=1,i.original.column=0,i.generated.line=n,i.generated.column=o-1,this.map.addMapping(i)))}})}isAnnotation(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some(e=>e.annotation))}isInline(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;let e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some(e=>e.inline))}isMap(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0}isSourcesContent(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some(e=>e.withContent())}outputFile(){return this.opts.to?this.path(this.opts.to):this.opts.from?this.path(this.opts.from):"to.css"}path(e){if(this.mapOpts.absolute)return e;if(60===e.charCodeAt(0))return e;if(/^\w+:\/\//.test(e))return e;let t=this.memoizedPaths.get(e);if(t)return t;let n=this.opts.to?o(this.opts.to):".";"string"==typeof this.mapOpts.annotation&&(n=o(i(n,this.mapOpts.annotation)));let s=r(n,e);return this.memoizedPaths.set(e,s),s}previous(){if(!this.previousMaps)if(this.previousMaps=[],this.root)this.root.walk(e=>{if(e.source&&e.source.input.map){let t=e.source.input.map;this.previousMaps.includes(t)||this.previousMaps.push(t)}});else{let e=new c(this.originalCSS,this.opts);e.map&&this.previousMaps.push(e.map)}return this.previousMaps}setSourcesContent(){let e={};if(this.root)this.root.walk(t=>{if(t.source){let n=t.source.input.from;if(n&&!e[n]){e[n]=!0;let o=this.usesFileUrls?this.toFileUrl(n):this.toUrl(this.path(n));this.map.setSourceContent(o,t.source.input.css)}}});else if(this.css){let e=this.opts.from?this.toUrl(this.path(this.opts.from)):"";this.map.setSourceContent(e,this.css)}}sourcePath(e){return this.mapOpts.from?this.toUrl(this.mapOpts.from):this.usesFileUrls?this.toFileUrl(e.source.input.from):this.toUrl(this.path(e.source.input.from))}toBase64(e){return t?t.from(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))}toFileUrl(e){let t=this.memoizedFileURLs.get(e);if(t)return t;if(u){let t=u(e).toString();return this.memoizedFileURLs.set(e,t),t}throw new Error("`map.absolute` option is not available in this PostCSS build")}toUrl(e){let t=this.memoizedURLs.get(e);if(t)return t;"\\"===s&&(e=e.replace(/\\/g,"/"));let n=encodeURI(e).replace(/[#?]/g,encodeURIComponent);return this.memoizedURLs.set(e,n),n}}}).call(this,n(62).Buffer)},function(e,t,n){"use strict";class o{constructor(e,t={}){if(this.type="warning",this.text=e,t.node&&t.node.source){let e=t.node.rangeBy(t);this.line=e.start.line,this.column=e.start.column,this.endLine=e.end.line,this.endColumn=e.end.column}for(let e in t)this[e]=t[e]}toString(){return this.node?this.node.error(this.text,{index:this.index,plugin:this.plugin,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text}}e.exports=o,o.default=o},function(e,t,n){"use strict";let o={};e.exports=function(e){o[e]||(o[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))}},function(e,t,n){"use strict";var o=n(15),r=(n(28),n(0)),i=n(49);const s=r.createContext({});function a(e){const t=r.useRef(null);return null===t.current&&(t.current=e()),t.current}const l="undefined"!=typeof window,u=l?r.useLayoutEffect:r.useEffect,c=r.createContext(null),d=r.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),h=r.createContext({strict:!1}),f={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]};let p=!1;function m(){return function(){if(p)return;const e={};for(const t in f)e[t]={isEnabled:e=>f[t].some(t=>!!e[t])};i.setFeatureDefinitions(e),p=!0}(),i.getFeatureDefinitions()}function y(e){const t=m();for(const n in e)t[n]={...t[n],...e[n]};i.setFeatureDefinitions(t)}const v=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function g(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||v.has(e)}let b=e=>!g(e);function x(e){"function"==typeof e&&(b=t=>t.startsWith("on")?!g(t):e(t))}try{const e="@emotion/is-prop-valid";x(n(399)(e).default)}catch{}function w(e,t,n){const o={};for(const r in e)"values"===r&&"object"==typeof e.values||i.isMotionValue(e[r])||(b(r)||!0===n&&g(r)||!t&&!g(r)||e.draggable&&r.startsWith("onDrag"))&&(o[r]=e[r]);return o}const _=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function M(e){return"string"==typeof e&&!e.includes("-")&&!!(_.indexOf(e)>-1||/[A-Z]/u.test(e))}const E=r.createContext({});function P(e){const{initial:t,animate:n}=function(e,t){if(i.isControllingVariants(e)){const{initial:t,animate:n}=e;return{initial:!1===t||i.isVariantLabel(t)?t:void 0,animate:i.isVariantLabel(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,r.useContext(E));return r.useMemo(()=>({initial:t,animate:n}),[k(t),k(n)])}function k(e){return Array.isArray(e)?e.join(" "):e}const C=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function A(e,t,n){for(const o in t)i.isMotionValue(t[o])||i.isForcedMotionValue(o,n)||(e[o]=t[o])}function S(e,t){const n={};return A(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return r.useMemo(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return i.buildHTMLStyles(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function O(e,t){const n={},o=S(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const T=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}});function R(e,t,n,o){const s=r.useMemo(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return i.buildSVGAttrs(n,t,i.isSVGTag(o),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};A(t,e.style,e),s.style={...t,...s.style}}return s}function j(e,t,n,{latestValues:o},s,a=!1,l){const u=((null!=l?l:M(e))?R:O)(t,o,s,e),c=w(t,"string"==typeof e,a),d=e!==r.Fragment?{...c,...u,ref:n}:{},{children:h}=t,f=r.useMemo(()=>i.isMotionValue(h)?h.get():h,[h]);return r.createElement(e,{...d,children:f})}function D(e,t,n,o){const r={},s=o(e,{});for(const e in s)r[e]=i.resolveMotionValue(s[e]);let{initial:a,animate:l}=e;const u=i.isControllingVariants(e),c=i.isVariantNode(e);t&&c&&!u&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let d=!!n&&!1===n.initial;d=d||!1===a;const h=d?l:a;if(h&&"boolean"!=typeof h&&!i.isAnimationControls(h)){const t=Array.isArray(h)?h:[h];for(let n=0;n(t,n)=>{const o=r.useContext(E),i=r.useContext(c),s=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,r){return{latestValues:D(n,o,r,e),renderState:t()}}(e,t,o,i);return n?s():a(s)},I=L({scrapeMotionValuesFromProps:i.scrapeHTMLMotionValuesFromProps,createRenderState:C}),V=L({scrapeMotionValuesFromProps:i.scrapeSVGMotionValuesFromProps,createRenderState:T}),B=Symbol.for("motionComponentSymbol");function $(e,t,n){const o=r.useRef(n);r.useInsertionEffect(()=>{o.current=n});const i=r.useRef(null);return r.useCallback(n=>{var r;n&&(null===(r=e.onMount)||void 0===r||r.call(e,n));t&&(n?t.mount(n):t.unmount());const s=o.current;if("function"==typeof s)if(n){const e=s(n);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):s(n);else s&&(s.current=n)},[t])}const F=r.createContext({});function U(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function N(e,t,n,o,s,a){var l,f,p,m;const{visualElement:y}=r.useContext(E),v=r.useContext(h),g=r.useContext(c),b=r.useContext(d),x=b.reducedMotion,w=b.skipAnimations,_=r.useRef(null),M=r.useRef(!1);o=o||v.renderer,!_.current&&o&&(_.current=o(e,{visualState:t,parent:y,props:n,presenceContext:g,blockInitialAnimation:!!g&&!1===g.initial,reducedMotionConfig:x,skipAnimations:w,isSVG:a}),M.current&&_.current&&(_.current.manuallyAnimateOnMount=!0));const P=_.current,k=r.useContext(F);!P||P.projection||!s||"html"!==P.type&&"svg"!==P.type||function(e,t,n,o){const{layoutId:r,layout:i,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:c,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:z(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:Boolean(s)||a&&U(a),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:o,crossfade:d,layoutScroll:l,layoutRoot:u,layoutAnchor:c})}(_.current,n,s,k);const C=r.useRef(!1);r.useInsertionEffect(()=>{P&&C.current&&P.update(n,g)});const A=n[i.optimizedAppearDataAttribute],S=r.useRef(Boolean(A)&&"undefined"!=typeof window&&!(null===(l=(f=window).MotionHandoffIsComplete)||void 0===l?void 0:l.call(f,A))&&(null===(p=(m=window).MotionHasOptimisedAnimation)||void 0===p?void 0:p.call(m,A)));return u(()=>{M.current=!0,P&&(C.current=!0,window.MotionIsMounted=!0,P.updateFeatures(),P.scheduleRenderMicrotask(),S.current&&P.animationState&&P.animationState.animateChanges())}),r.useEffect(()=>{P&&(!S.current&&P.animationState&&P.animationState.animateChanges(),S.current&&(queueMicrotask(()=>{var e,t;null===(e=(t=window).MotionHandoffMarkAsComplete)||void 0===e||e.call(t,A)}),S.current=!1),P.enteringChildren=void 0)}),P}function z(e){if(e)return!1!==e.options.allowProjection?e.projection:z(e.parent)}function W({layoutId:e}){const t=r.useContext(s).id;return t&&void 0!==e?t+"-"+e:e}t.LayoutGroupContext=s,t.LazyContext=h,t.MotionConfigContext=d,t.MotionContext=E,t.PresenceContext=c,t.SwitchLayoutGroupContext=F,t.createMotionComponent=function(e,{forwardMotionProps:t=!1,type:n}={},i,s){var a,l;i&&y(i);const u=n?"svg"===n:M(e),c=u?V:I;function f(n,i){let a;const l={...r.useContext(d),...n,layoutId:W(n)},{isStatic:f}=l,p=P(n),y=c(n,f);if(!f&&"undefined"!=typeof window){!function(){r.useContext(h).strict;0}();const t=function(e){const t=m(),{drag:n,layout:o}=t;if(!n&&!o)return{};const r={...n,...o};return{MeasureLayout:(null==n?void 0:n.isEnabled(e))||(null==o?void 0:o.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);a=t.MeasureLayout,p.visualElement=N(e,y,l,s,t.ProjectionNode,u)}return o.jsxs(E.Provider,{value:p,children:[a&&p.visualElement?o.jsx(a,{visualElement:p.visualElement,...l}):null,j(e,n,$(y,p.visualElement,i),y,f,t,u)]})}f.displayName=`motion.${"string"==typeof e?e:`create(${null!==(a=null!==(l=e.displayName)&&void 0!==l?l:e.name)&&void 0!==a?a:""})`}`;const p=r.forwardRef(f);return p[B]=e,p},t.filterProps=w,t.isBrowser=l,t.isRefObject=U,t.isSVGComponent=M,t.isValidMotionProp=g,t.loadExternalIsValidProp=x,t.loadFeatures=y,t.makeUseVisualState=L,t.motionComponentSymbol=B,t.useConstant=a,t.useIsomorphicLayoutEffect=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteUiVersionIndex=void 0;var o,r=n(3);class i{static getInstance(){return i.instance}constructor(){this.versions=new Map,(0,r.makeAutoObservable)(this,{},{autoBind:!0})}get(e){return this.versions.get(e)}merge(e){if(e)for(const[t,n]of Object.entries(e)){const e=this.versions.get(t);(null==e||n>e)&&this.versions.set(t,n)}}clear(){this.versions.clear()}}t.SiteUiVersionIndex=i,o=i,i.instance=new o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.yieldToMain=function(){return new Promise(e=>{setTimeout(e,0)})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isHeaderLikeSection=t.groupSectionsByLocation=t.getSectionLocation=t.findSkipTargetIndex=void 0;var o=n(59),r=n(34);const i=e=>{var t;return null!==(t=e.location)&&void 0!==t?t:"main"};t.getSectionLocation=i;const s=e=>"header"===e.layer.type||"header-v2"===e.layer.type;t.isHeaderLikeSection=s;const a=(e,t)=>{var n;const{globalOrganismId:o}=e.data$;return o&&null!==(n=t.get(o))&&void 0!==n?n:e};t.findSkipTargetIndex=(e,t)=>0!==e.length&&s(a(e[0],t))?e.findIndex(e=>{const n=a(e,t);return!s(n)&&("custom"!==n.styles$.visibility_breakpoints&&(!(0,r.isSectionHide)(n,"desktop")&&!(0,r.isSectionHide)(n,"mobile")&&!(0,o.getCustomIdentifierAttrs)(n).id))}):-1;t.groupSectionsByLocation=e=>{const t=e.slice().sort((e,t)=>e.position-t.position),n=[],o=[],r=[];for(const e of t){const t=i(e);"header"===t?n.push(e):"footer"===t?r.push(e):o.push(e)}return{header:n,main:o,footer:r}}},,,,,,,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.DeviceContext=void 0;var r=o(n(0));t.DeviceContext=r.default.createContext(void 0)},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.ModalOrganismLazy=t.ModalOrganismComponentLazy=void 0;var r=u(n(0)),i=o(n(4)),s=n(35),a=n(8),l=n(490);function u(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(u=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const c=t.ModalOrganismLazy=(0,i.default)({resolved:{},chunkName:()=>"organism/modal",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(145)]).then(n.t.bind(null,298,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 298}}),d=t.ModalOrganismComponentLazy=(0,r.memo)(e=>{const t=(0,r.useContext)(a.PageContext),n=(0,r.useMemo)(()=>(0,r.lazy)(()=>new Promise(async n=>{const o=new s.ChunkProcessor(e.organismModel,new l.ModalOrganismChunk(e.organismModel,t),t);n((await o.load()).pop())})),[e.organismModel._id]);return r.default.createElement(r.Suspense,{fallback:""},r.default.createElement(n,e))})},,function(e,t,n){"use strict";(function(e){var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SectionOrganismLazy=t.SectionOrganismComponentLazy=void 0;var r=p(n(0)),i=o(n(4)),s=n(35),a=n(64),l=n(11),u=n(501),c=n(56),d=n(8),h=o(n(502)),f=n(34);function p(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(p=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const m=t.SectionOrganismLazy=(0,i.default)({resolved:{},chunkName:()=>"organism/section",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(146)]).then(n.t.bind(null,301,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 301}}),y=t.SectionOrganismComponentLazy=(0,r.memo)(t=>{const n=(0,r.useContext)(d.PageContext),o=(0,r.useContext)(a.DI),i=(0,r.useContext)(u.OrganismProgressiveHydrationContext),p=(0,r.useMemo)(()=>i||e.env.IS_SERVER||!o.progressiveHydration?m:r.default.lazy(()=>new Promise(e=>{const o=async o=>{var r;console.log(o,t.organismModel.position);const i=t.organismModel.data$.globalOrganismId&&null!==(r=n.version.globalOrganismMap.get(t.organismModel.data$.globalOrganismId))&&void 0!==r?r:t.organismModel,a=new s.ChunkProcessor(i,new h.default(t.organismModel,n),n),l=(await a.load()).pop();console.log(o,t.organismModel.position,"done"),e(l)},r=[],i=()=>r.forEach(e=>e.disconnect()),a=document.querySelector(`.con-kit-organism[data-id="${t.organismModel._id}"]`);if(a){const e=new IntersectionObserver(async([e])=>{e.isIntersecting&&(i(),await o("Progressive Hydration section"))},{rootMargin:"200px"});e.observe(a),r.push(e)}if((0,f.isSectionHide)(t.organismModel,(0,l.getGlobalDeviceType)())){const e=new ResizeObserver(async()=>{(0,f.isSectionHide)(t.organismModel,(0,c.getCurrentDevice)())||(i(),await o("Hydration hidden section"))});e.observe(document.body),r.push(e)}})),[t.organismModel._id,i]);return r.default.createElement(r.Suspense,{fallback:""},r.default.createElement(p,t))})}).call(this,n(22))},,function(e,t,n){"use strict";var o;!function(){var n={}.hasOwnProperty;function r(){for(var e=[],t=0;t({[t]:e[o(t,n)]})).reduce((e,t)=>({...e,...t}))};t.composeCssStyle=e=>t=>t.filter(e=>void 0!==e.value).reduce((t,n)=>{var o;return{...t,[r(n.attr,e)]:`${n.value}${null!==(o=n.unit)&&void 0!==o?o:""}`}},{})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.styleCompose=void 0;var r=o(n(97));t.styleCompose=e=>(...t)=>{const n=t.reduce((t,n)=>{const o=n(e);return Object.keys(o).reduce((e,n)=>{const i=t[n],s=o[n];return"string"==typeof i&&"string"==typeof s?{...e,[n]:(0,r.default)(i,s)}:"object"==typeof i&&"object"==typeof s?{...e,[n]:{...i,...s}}:{...e,[n]:s}},{...t})},{});return Object.keys(n).sort().reduce((e,t)=>({...e,[t]:n[t]}),{})}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAttr=void 0;t.makeAttr=e=>()=>e},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.useAlignContext=t.AlignContextProvider=void 0;var r=o(n(0));const i=r.default.createContext({}),s=()=>r.default.useContext(i);t.useAlignContext=s;t.AlignContextProvider=({children:e,...t})=>{const n=s();return t.disable?r.default.createElement(r.default.Fragment,null,e):r.default.createElement(i.Provider,{value:{align_horizontal:t.align_horizontal||n.align_horizontal,align_vertical:t.align_vertical||n.align_vertical}},e)}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importAtomInit=function(e){{var t,n;if(o.has(e))return o.get(e);const r=null!==(t=null===(n=document.getElementById("one-atom-init"))||void 0===n?void 0:n.textContent)&&void 0!==t?t:"",i=JSON.parse(r);return Object.entries(i).forEach(([e,t])=>{o.set(e,t)}),o.get(e)}0;throw new Error("Unknown environment")};const o=new Map},function(e,t,n){"use strict";e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.LazyMoleculeComponent=t.LazyMolecule=void 0;var r=s(n(0)),i=o(n(4));function s(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(s=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const a=t.LazyMolecule=(0,i.default)({resolved:{},chunkName:({moleculeModelType:e})=>"molecule/"+(e+e).replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:({moleculeModelType:e})=>n(411)(`./${e}/${e}.molecule.tsx`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve({moleculeModelType:e}){return n(412).resolve(`./${e}/${e}.molecule.tsx`)}},{cacheKey:e=>e.moleculeModelType}),l=t.LazyMoleculeComponent=(0,r.memo)(e=>r.default.createElement(a,{moleculeModelType:e.moleculeModel.moleculeModel,moleculeModel:e.moleculeModel,fallback:r.default.createElement(r.default.Fragment,null,"Loading...")}))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.animationApplyExtensionStyler=void 0;var o=n(98);t.animationApplyExtensionStyler=e=>()=>({className:`con-kit-animation__${null==e?void 0:e.type}`,style:{[(0,o.makeCssPrefix)("animation-item-delay",null==e?void 0:e.prefix)]:`${null==e?void 0:e.index}s`}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AtomItemModeContext=void 0;var o=n(0);t.AtomItemModeContext=(0,o.createContext)("vertical")},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.scrollToSectionBottomIfNeeded=t.scrollToSectionBottom=t.scrollToSection=t.getHighestHeader=void 0;var r=o(n(129)),i=n(7);const s=e=>{let t=0;return e.forEach(e=>{const n=e.getBoundingClientRect();n.height>=t&&(t=n.height||0)}),t};t.getHighestHeader=s;t.scrollToSection=(e,t=!1)=>{const n=`\n .con-kit-page .con-kit-organism[data-id="${e}"],\n .con-kit-page .con-kit-organism[data-global-organism-id="${e}"]`,o=(0,i.getOwnWindow)(),a=null==o?void 0:o.matchMedia("(prefers-reduced-motion: reduce)").matches,l=null==o?void 0:o.document.querySelector(n),u=null==o?void 0:o.document.querySelectorAll(".con-kit-section--fixed"),c=null==o?void 0:o.document.querySelector(".con-kit-section--fixed"),d=null==l?void 0:l.classList.contains("con-kit-layer-header-v2--style-type-solid"),h=null==c?void 0:c.querySelector(".con-kit-organism-background"),f=null==h?void 0:h.getBoundingClientRect(),p=u&&u.length>1?s(u):null==f?void 0:f.height,m=(e=>{if(null==e?void 0:e.classList.contains("con-kit-section--fixed")){const t=parseInt((null==e?void 0:e.dataset.p)||"0");return(null==o?void 0:o.document.querySelector(`.con-kit-section[data-p="${t+1}"]`))||e}return e})(l),y=null==l?void 0:l.closest(".con-kit-component-modal__content"),v=null==y?void 0:y.querySelector(".con-kit-layer-form");y?setTimeout(()=>{(v||y).scrollTo({top:0,behavior:a?"auto":"smooth"})},0):!y&&m&&window.requestAnimationFrame(()=>{(0,r.default)(m,{time:a||!t?0:600,align:{top:0,left:0,topOffset:(c&&h&&!d?p:0)||-1,leftOffset:0}})})};const a=(e,t=!0)=>{const n=(0,i.getOwnWindow)();if(!n)return;const o=`\n .con-kit-page .con-kit-organism[data-id="${e}"],\n .con-kit-page .con-kit-organism[data-global-organism-id="${e}"]`,r=n.document.querySelector(o);r&&window.requestAnimationFrame(()=>{((e,t)=>{const n=(0,i.getOwnWindow)();if(!n)return;const{time:o=3e3,align:r={}}=t,{topOffset:s=0}=r,a=e.closest(".con-kit-section");if(!a)return;const l=a.getBoundingClientRect(),u=l.top+l.height+n.scrollY-n.innerHeight+s+20;if(o<=0)return void n.scrollTo(0,u);const c=n.scrollY,d=u-c,h=performance.now(),f=()=>{const e=(performance.now()-h)/o,t=(r=Math.min(e,1))<.5?2*r*r:(4-2*r)*r-1;var r;n.scrollTo(0,c+d*t),e<1&&n.requestAnimationFrame(f)};n.requestAnimationFrame(f)})(r,{time:t?100:0,align:{topOffset:0}})})};t.scrollToSectionBottom=a;t.scrollToSectionBottomIfNeeded=(e,t=!0)=>{(e=>{const t=(0,i.getOwnWindow)();if(!t)return!0;const n=`\n .con-kit-page .con-kit-organism[data-id="${e}"],\n .con-kit-page .con-kit-organism[data-global-organism-id="${e}"]`,o=t.document.querySelector(n);if(!o)return!0;const r=o.getBoundingClientRect();return r.top0})(e)||a(e,t)}},,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.oneStatsMultiple=t.oneStats=void 0;var r=o(n(57)),i=n(11);const s=()=>{const e={uid:(0,r.default)(),expiry:Date.now()+263e7,history:[]};return localStorage.setItem("one_stats_metadata",JSON.stringify(e)),e},a=()=>{const e=localStorage.getItem("one_stats_metadata");if(!e)return s();const t=JSON.parse(e);return t.expiry{const t=a();return t.history.find(t=>{switch(e.event){case"pageView":return t.event===e.event&&t.slug===e.slug;case"formView":case"formLead":return t.event===e.event&&t.formId===e.formId;case"formStepView":return t.event===e.event&&t.stepId===e.stepId;case"formValue":return t.event===e.event&&t.fieldId===e.fieldId;default:return!1}})?0:(localStorage.setItem("one_stats_metadata",JSON.stringify({...t,history:[...t.history,{...e}]})),1)},u=()=>{let e="Unknown OS";return-1!==navigator.appVersion.indexOf("Win")&&(e="Windows"),-1!==navigator.appVersion.indexOf("Mac")&&(e="MacOS"),-1!==navigator.appVersion.indexOf("Linux")&&(e="Linux"),e},c=e=>{var t,n;const o=(0,i.getGlobalDeviceType)(),r=new URLSearchParams(window.location.search);return{...e,uid:a().uid,firstView:l(e),host:window.location.host,referrer:null!==(t=null===(n=document.referrer.match(/:\/\/(.[^/]+)/))||void 0===n?void 0:n[1])&&void 0!==t?t:"",device:o,utm_source:r.get("utm_source"),utm_medium:r.get("utm_medium"),utm_campaign:r.get("utm_campaign"),utm_content:r.get("utm_content"),utm_term:r.get("utm_term"),platform:u()}};t.oneStatsMultiple=e=>{if("undefined"==typeof window||"undefined"==typeof document)return;if((0,i.getIsPrivateVersion)())return;const t=()=>fetch("/_api/stats-service?_collect.events",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:(0,r.default)(),method:"collect.events",params:e.map(e=>c(e))})});return window._execAfterConsent?window._execAfterConsent("analytics",t):t()};t.oneStats=e=>{if("undefined"==typeof window||"undefined"==typeof document)return;if((0,i.getIsPrivateVersion)())return;const t=()=>fetch("/_api/stats-service?_collect.event",{method:"post",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:(0,r.default)(),method:"collect.event",params:{...c(e)}})});return window._execAfterConsent?window._execAfterConsent("analytics",t):t()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useBundleRegistry=t.BundleRegistry=void 0,t.useReactAppBundle=function(e){const t=a();if(!e)return null;return t.get(e)||null},t.useReactAppLoading=function(e){const t=a();if(!e)return!1;return t.isLoading(e)},t.useReactAppReloadNonce=function(e){const t=a();if(!e)return 0;return t.getReloadNonce(e)},t.useReactAppRenderEmpty=function(e){const t=a();if(!e)return!1;return t.isRenderEmpty(e)};var o,r=n(3),i=n(83);class s{static getInstance(){return s.instance}constructor(){this.registry=new Map,this.renderErrors=new Map,this.siteUiDepIdsByReactApp=new Map,this.loadingIds=new Set,this.renderEmptyIds=new Set,this.reloadNonces=new Map,(0,r.makeAutoObservable)(this,{},{autoBind:!0})}set(e,t){var n;this.registry.set(e,t),this.replaceSiteUiDeps(e,null!==(n=t.siteUiVersions)&&void 0!==n?n:{})}setSectionStatus(e,t){const n=this.registry.get(e);n&&this.registry.set(e,{...n,sectionStatus:t})}get(e){return this.registry.get(e)}delete(e){this.registry.delete(e),this.siteUiDepIdsByReactApp.delete(e)}clear(){this.registry.clear(),this.siteUiDepIdsByReactApp.clear()}setRenderError(e,t){this.renderErrors.set(e,t)}clearRenderError(e){this.renderErrors.delete(e)}getRenderError(e){return this.renderErrors.get(e)}setLoading(e,t){t?this.loadingIds.add(e):this.loadingIds.delete(e)}isLoading(e){return this.loadingIds.has(e)}setRenderEmpty(e,t){t?this.renderEmptyIds.add(e):this.renderEmptyIds.delete(e)}isRenderEmpty(e){return this.renderEmptyIds.has(e)}bumpReloadNonce(e){var t;this.reloadNonces.set(e,(null!==(t=this.reloadNonces.get(e))&&void 0!==t?t:0)+1)}getReloadNonce(e){var t;return null!==(t=this.reloadNonces.get(e))&&void 0!==t?t:0}replaceSiteUiDeps(e,t){i.SiteUiVersionIndex.getInstance().merge(t);const n=Object.keys(t).sort();this.siteUiDepIdsByReactApp.set(e,n)}getSiteUiDepIds(e){var t;return null!==(t=this.siteUiDepIdsByReactApp.get(e))&&void 0!==t?t:[]}getSiteUiDependencyKey(e){var t;const n=this.registry.get(e);if(!n)return"";const o=i.SiteUiVersionIndex.getInstance();return(null!==(t=this.siteUiDepIdsByReactApp.get(e))&&void 0!==t?t:[]).map(e=>{var t,r,i;return`siteui:${e}:${null!==(t=null!==(r=o.get(e))&&void 0!==r?r:null===(i=n.siteUiVersions)||void 0===i?void 0:i[e])&&void 0!==t?t:0}`}).join("|")}getRuntimeDependencyKey(e){const t=this.registry.get(e);if(!t)return"";const n=`app:${t.compiledAt}`,o=this.getSiteUiDependencyKey(e);return o?`${n}|${o}`:n}}t.BundleRegistry=s,o=s,s.instance=new o;const a=()=>s.getInstance();t.useBundleRegistry=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useEventListenerEffect=t.useEventListener=t.EventListenerContextProvider=t.EventListenerContext=void 0;var o=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0)),r=n(7);const i=t.EventListenerContext=(0,o.createContext)({});t.EventListenerContextProvider=e=>{const t=[],n=(0,r.getOwnWindow)(),s=e.builderMode?document:null==n?void 0:n.document;return(0,o.useEffect)(()=>()=>{t.forEach(e=>null==s?void 0:s.removeEventListener(e.type,e.handler))},[]),o.default.createElement(i.Provider,{value:{add:e=>{if(!t.find(t=>t.name===e.name)){if(e.querySelector){const t=null==s?void 0:s.querySelector(e.querySelector);null==t||t.addEventListener(e.type,e.handler)}null==s||s.addEventListener(e.type,e.handler),t.push(e)}},list:t,remove:e=>{const n=t.find(t=>t.name===e);n&&(null==s||s.removeEventListener(n.type,n.handler),t.splice(t.indexOf(n),1))}}},e.children)};const s=()=>o.default.useContext(i);t.useEventListener=s;t.useEventListenerEffect=(e,t)=>{const n=s();(0,o.useEffect)(()=>(n.add(e),()=>n.remove(e.name)),t||[])}},function(e,t,n){"use strict";var o=n(132);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,o(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SliderExtensionComponentLazy=void 0;var r=o(n(4));const i=t.SliderExtensionComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"extension/slider",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(126)]).then(n.t.bind(null,144,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 144}})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.VideoExtensionComponentLazy=void 0;var r=o(n(4));const i=t.VideoExtensionComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"extension/video",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(127)]).then(n.t.bind(null,282,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 282}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ConversionContextProvider=t.ConversionContext=void 0;var o=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0)),r=n(116);const i=()=>{console.error("Tracking unavailable")},s={track:(e,t)=>{i(),null==t||t()},trackPage:()=>{i()},isReceivedConsent:()=>(i(),!0)},a=t.ConversionContext=(0,o.createContext)(s);t.ConversionContextProvider=e=>{const t=(0,r.useTrackConversion)();return o.default.createElement(a.Provider,{value:t},e.children)}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.currencyExistEntities=t._track=t._isReceivedConsent=void 0,t.normalizeEventValue=y,t.useTrackConversion=function(){const e=(0,r.useContext)(c.SiteContext),t=(0,r.useContext)(u.PageContext),n=e=>{-1===e.indexOf("analytics")&&(g.start(),console.log("analyticsQueue started")),-1===e.indexOf("marketing")&&(b.start(),console.log("marketingQueue started"))};(0,r.useEffect)(()=>{"undefined"!=typeof window&&e._id&&((0,l.isCookieBannerEnabled)(e,t)?(0,l.hasReceivedConsent)()&&window.onepagePrivacyLib?n(window.onepagePrivacyLib.disabledCategories):window.onepagePrivacyLib&&window.onepagePrivacyLib.eventEmitter.on("received_consent",n):(g.start(),b.start(),console.log("marketingQueue and analyticsQueue started")))},[e]);const o=(t,n,o,r=void 0)=>{t&&_(e,t,n,o,r)};return{track:o,trackPage:e=>{e&&o((e=>({track_events:e.trackEvents.map(e=>({_id:e._id,service:e.service,event_name:e.eventName,event_value:e.eventValue,event_currency:e.eventCurrency,event_trigger:e.eventTrigger,event_trigger_config:e.eventTriggerConfig}))}))(e))},isReceivedConsent:()=>M(e,t)}};var r=n(0),i=o(n(480)),s=n(481),a=o(n(154)),l=n(125),u=n(8),c=n(13);const d=(e,t)=>t.includes(e),h=["AddToCart","CompletePayment","PlaceAnOrder","ViewContent"],f=["Purchase"],p=["generate_lead","view_item"],m=t.currencyExistEntities={capi:e=>d(e,f),pixel:e=>d(e,f),ga:e=>d(e,p),ttp:e=>d(e,h),ttpa:e=>d(e,h),liit:()=>!1};function y(e,t,n){if(m[e](t)||"capi"===e){const t=parseFloat(n);return"capi"!==e&&"pixel"!==e||!n?Number.isNaN(t)?0:t.toString():Number.isNaN(t)?"":t}return n}const v=/__DOT__/g,g=new a.default({concurrency:1,autoStart:!1}),b=new a.default({concurrency:1,autoStart:!1});function x(e,t){if(!t)return"";if(e)return`${function(e){if(!e)return"";const t=e.split(".");return`${t[0]}.${t[1]}`}(e)}.${Date.now()}.${t}`;if("undefined"!=typeof window){return`fb.${window.location.hostname.split(".").length-1}.${Date.now()}.${t}`}return""}const w=new Set(["Contact","FindLocation","Lead","Purchase","Schedule","Search","SubmitApplication","ViewContent","InitiateCheckout","CompleteRegistration"]),_=(e,t,n,o,r=void 0)=>{var a;if(!(null===(a=t.track_events)||void 0===a?void 0:a.length))return;const l=o||(0,s.nanoid)();for(const n of t.track_events)"pixel"===n.service&&"undefined"!=typeof window&&b.add(()=>{if(window.fbq){if(r&&e.trPixel){const t={};r.email&&(t.em=r.email.trim().toLowerCase()),r.phone&&(t.ph=r.phone.replace(/\D/g,"")),r.firstName&&(t.fn=r.firstName.trim().toLowerCase()),r.lastName&&(t.ln=r.lastName.trim().toLowerCase()),Object.keys(t).length>0&&window.fbq("init",e.trPixel,t)}const t=w.has(n.event_name);window.fbq(t?"track":"trackCustom",n.event_name,{value:y(n.service,n.event_name,n.event_value),...n.event_currency?{currency:n.event_currency}:{}},{eventID:l})}}),"ga"===n.service&&"undefined"!=typeof window&&g.add(()=>{window.gtag&&window.gtag("event",n.event_name,{value:y(n.service,n.event_name,n.event_value),...n.event_currency?{currency:n.event_currency}:{}})}),"capi"===n.service&&"undefined"!=typeof window&&b.add(()=>{var t;const o=new URLSearchParams(window.location.search).get("fbclid"),s={id:l,i:e._id,n:n.event_name,v:y(n.service,n.event_name,n.event_value),s:"capi",c1:i.default.get("_fbp"),c2:(null===(t=i.default.get("_fbc"))||void 0===t?void 0:t.replace(v,"."))||x(i.default.get("_fbp"),o)||"",x:e.trPixel,...n.event_currency?{c:n.event_currency}:{},...(null==r?void 0:r.phone)?{p:r.phone}:{},...(null==r?void 0:r.email)?{e:r.email}:{},...(null==r?void 0:r.country)?{a_co:r.country}:{},...(null==r?void 0:r.postalCode)?{a_pc:r.postalCode}:{},...(null==r?void 0:r.province)?{a_pr:r.province}:{},...(null==r?void 0:r.city)?{a_cy:r.city}:{},...(null==r?void 0:r.firstName)?{fn:r.firstName}:{},...(null==r?void 0:r.lastName)?{ln:r.lastName}:{}};fetch(`/_t?d=${window.btoa(JSON.stringify(s))}`)}),"ttpa"===n.service&&"undefined"!=typeof window&&b.add(()=>{const t=new URLSearchParams(window.location.search).get("ttclid"),o={i:e._id,n:n.event_name,v:y(n.service,n.event_name,n.event_value),s:"ttpa",c1:i.default.get("_ttp"),c2:t||"",x:e.trTikTokPixel,...n.event_currency?{c:n.event_currency}:{}};fetch(`/_t?d=${window.btoa(JSON.stringify(o))}`)}),"ttp"===n.service&&"undefined"!=typeof window&&b.add(()=>{window.ttq&&window.ttq.track(n.event_name,{value:y(n.service,n.event_name,n.event_value),...n.event_currency?{currency:n.event_currency}:{}})}),"liit"===n.service&&"undefined"!=typeof window&&b.add(()=>{window.lintrk&&window.lintrk("track",{conversion_id:+n.event_name})});null==n||n()};t._track=_;const M=(e,t)=>"undefined"==typeof window||!(0,l.isCookieBannerEnabled)(e,t)||(0,l.hasReceivedConsent)();t._isReceivedConsent=M},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.FontKitContext=void 0;var r=o(n(0));t.FontKitContext=r.default.createContext({})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useUiKit=t.EffectsContext=void 0;var o=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0));const r=t.EffectsContext=o.default.createContext({});t.useUiKit=()=>(0,o.useContext)(r)},,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.GridListExtensionComponentAsync=void 0;var r=o(n(4));const i=t.GridListExtensionComponentAsync=(0,r.default)({resolved:{},chunkName:()=>"extension/grid-list",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(121)]).then(n.t.bind(null,262,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 262}})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MarqueeExtensionComponentLazy=t.MARQUEE_EXTENSION_CHUNK=void 0;var r=o(n(4));const i=t.MarqueeExtensionComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"extension/marquee",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(123)]).then(n.t.bind(null,264,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 264}}),s=t.MARQUEE_EXTENSION_CHUNK={name:"extension/marquee",load:()=>i.load()}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.RendererLazy=void 0;var r=o(n(4));const i=t.RendererLazy=(0,r.default)({resolved:{},chunkName:()=>"extension/draft",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(105)]).then(n.t.bind(null,281,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 281}})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.LayerLazyComponent=t.LayerLazy=void 0;var r=o(n(0)),i=o(n(4)),s=n(5);const a=t.LayerLazy=(0,i.default)({resolved:{},chunkName:e=>"layer/"+(e.layerType+e.layerType).replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:e=>n(422)(`./${e.layerType}/${e.layerType}.layer.tsx`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(e){return n(423).resolve(`./${e.layerType}/${e.layerType}.layer.tsx`)}},{cacheKey:e=>e.layerType}),l=t.LayerLazyComponent=(0,s.observer)(e=>r.default.createElement(a,{layerType:e.layerModel.type,layerModel:e.layerModel,organismModel:e.organismModel,originalSectionOrganismModel:e.originalSectionOrganismModel,containerPaddingClearOnTransparent:e.containerPaddingClearOnTransparent,fallback:r.default.createElement(r.default.Fragment,null,"Loading...")}))},function(e,t,n){"use strict";(function(t){var n=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,r=/^0b[01]+$/i,i=/^0o[0-7]+$/i,s=parseInt,a="object"==typeof t&&t&&t.Object===Object&&t,l="object"==typeof self&&self&&self.Object===Object&&self,u=a||l||Function("return this")(),c=Object.prototype.toString,d=Math.max,h=Math.min,f=function(){return u.Date.now()};function p(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function m(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==c.call(e)}(e))return NaN;if(p(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=p(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var a=r.test(e);return a||i.test(e)?s(e.slice(2),a?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,n){var o,r,i,s,a,l,u=0,c=!1,y=!1,v=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var n=o,i=r;return o=r=void 0,u=t,s=e.apply(i,n)}function b(e){var n=e-l;return void 0===l||n>=t||n<0||y&&e-u>=i}function x(){var e=f();if(b(e))return w(e);a=setTimeout(x,function(e){var n=t-(e-l);return y?h(n,i-(e-u)):n}(e))}function w(e){return a=void 0,v&&o?g(e):(o=r=void 0,s)}function _(){var e=f(),n=b(e);if(o=arguments,r=this,l=e,n){if(void 0===a)return function(e){return u=e,a=setTimeout(x,t),c?g(e):s}(l);if(y)return a=setTimeout(x,t),g(l)}return void 0===a&&(a=setTimeout(x,t)),s}return t=m(t)||0,p(n)&&(c=!!n.leading,i=(y="maxWait"in n)?d(m(n.maxWait)||0,t):i,v="trailing"in n?!!n.trailing:v),_.cancel=function(){void 0!==a&&clearTimeout(a),u=0,o=l=r=a=void 0},_.flush=function(){return void 0===a?s:w(f())},_}}).call(this,n(21))},function(e,t,n){"use strict";function o(e){return["compact","advanced"].includes(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.hasReceivedConsent=function(){try{var e;return"function"==typeof(null===(e=window.onepagePrivacyLib)||void 0===e?void 0:e.isReceivedConsent)&&window.onepagePrivacyLib.isReceivedConsent()}catch(e){return!1}},t.isCookieBannerEnabled=function(e,t){try{var n;const r=e.gdpr.enable&&o(e.gdpr.type),i=null===(n=t.version.gdpr)||void 0===n?void 0:n.disable;return r&&!i}catch(e){return!1}},t.isLegacyCookieBannerEnabled=function(e,t){try{var n;const o=e.gdpr.enable&&["notification"].includes(e.gdpr.type),r=null===(n=t.version.gdpr)||void 0===n?void 0:n.disable;return o&&!r}catch(e){return!1}},t.isSmartCookieBanner=o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modalApiStore=void 0;var o=n(3);t.modalApiStore=new class{constructor(){this.active=null,(0,o.makeAutoObservable)(this)}close(){this.active=null}open(e){this.active=e}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SectionsContext=void 0;var r=o(n(0));t.SectionsContext=r.default.createContext([])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useKitLocation=function(){return(0,o.useMemo)(()=>{const e=(0,r.getOwnWindow)();return e?{search:e.location.search}:{search:""}},[])};var o=n(0),r=n(7)},function(e,t,n){"use strict";var o="complete",r="canceled";function i(e,t,n){Math.max(0,t),Math.max(0,n),e.self===e?e.scrollTo(t,n):(e.scrollLeft=t,e.scrollTop=n)}function s(e){var t=e._scrollSettings;if(t){var n=t.maxSynchronousAlignments,r=function(e,t){var n,o,r,i,s,a,l,u=e.align,c=e.target.getBoundingClientRect(),d=u&&null!=u.left?u.left:.5,h=u&&null!=u.top?u.top:.5,f=u&&null!=u.leftOffset?u.leftOffset:0,p=u&&null!=u.topOffset?u.topOffset:0,m=d,y=h;if(e.isWindow(t))a=Math.min(c.width,t.innerWidth),l=Math.min(c.height,t.innerHeight),o=c.left+t.pageXOffset-t.innerWidth*m+a*m,r=c.top+t.pageYOffset-t.innerHeight*y+l*y,o-=f,r-=p,o=e.align.lockX?t.pageXOffset:o,r=e.align.lockY?t.pageYOffset:r,i=o-t.pageXOffset,s=r-t.pageYOffset;else{a=c.width,l=c.height,n=t.getBoundingClientRect();var v=c.left-(n.left-t.scrollLeft),g=c.top-(n.top-t.scrollTop);o=v+a*m-t.clientWidth*m,r=g+l*y-t.clientHeight*y,o-=f,r-=p,o=Math.max(Math.min(o,t.scrollWidth-t.clientWidth),0),r=Math.max(Math.min(r,t.scrollHeight-t.clientHeight),0),o=e.align.lockX?t.scrollLeft:o,r=e.align.lockY?t.scrollTop:r,i=o-t.scrollLeft,s=r-t.scrollTop}return{x:o,y:r,differenceX:i,differenceY:s}}(t,e),a=Date.now()-t.startTime,l=Math.min(1/t.time*a,1);if(t.endIterations>=n)return i(e,r.x,r.y),e._scrollSettings=null,t.end(o);var u=1-t.ease(l);if(i(e,r.x-r.differenceX*u,r.y-r.differenceY*u),a>=t.time)return t.endIterations++,t.scrollAncestor&&s(t.scrollAncestor),void s(e);!function(e){if("requestAnimationFrame"in window)return window.requestAnimationFrame(e);setTimeout(e,16)}(s.bind(null,e))}}function a(e){return e.self===e}function l(e){return"pageXOffset"in e||(e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth)&&"hidden"!==getComputedStyle(e).overflow}function u(){return!0}function c(e){if(e.assignedSlot)return c(e.assignedSlot);if(e.parentElement)return"body"===e.parentElement.tagName.toLowerCase()?e.parentElement.ownerDocument.defaultView||e.parentElement.ownerDocument.ownerWindow:e.parentElement;if(e.getRootNode){var t=e.getRootNode();if(11===t.nodeType)return t.host}}e.exports=function(e,t,n){if(e){"function"==typeof t&&(n=t,t=null),t||(t={}),t.time=isNaN(t.time)?1e3:t.time,t.ease=t.ease||function(e){return 1-Math.pow(1-e,e/2)},t.align=t.align||{};var i=c(e),d=1,h=t.validTarget||u,f=t.isScrollable;t.debug&&(console.log("About to scroll to",e),i||console.error("Target did not have a parent, is it mounted in the DOM?"));for(var p=[];i;)if(t.debug&&console.log("Scrolling parent node",i),h(i,d)&&(f?f(i,l):l(i))&&(d++,p.push(i)),!(i=c(i))){m(o);break}return p.reduce((n,o,i)=>function(e,t,n,o,i){var l,u=!t._scrollSettings,c=t._scrollSettings,d=Date.now(),h={passive:!0};function f(e){t._scrollSettings=null,t.parentElement&&t.parentElement._scrollSettings&&t.parentElement._scrollSettings.end(e),n.debug&&console.log("Scrolling ended with type",e,"for",t),i(e),l&&(t.removeEventListener("touchstart",l,h),t.removeEventListener("wheel",l,h))}c&&c.end(r);var p=n.maxSynchronousAlignments;return null==p&&(p=3),t._scrollSettings={startTime:d,endIterations:0,target:e,time:n.time,ease:n.ease,align:n.align,isWindow:n.isWindow||a,maxSynchronousAlignments:p,end:f,scrollAncestor:o},"cancellable"in n&&!n.cancellable||(l=f.bind(null,r),t.addEventListener("touchstart",l,h),t.addEventListener("wheel",l,h)),u&&s(t),l}(e,o,t,p[i+1],m),null)}function m(e){--d||n&&n(e)}}},,function(e,t,n){"use strict";e.exports=function(e,t){if(null==e)return{};var n={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(-1!==t.indexOf(o))continue;n[o]=e[o]}return n},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";function o(t,n){return e.exports=o=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,o(t,n)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SpacerType=t.Spacer=void 0;var r=o(n(0)),i=n(5);n(321);t.SpacerType=function(e){return e.ROW="row",e.ATOM="atom",e.FORM_LAYER_PROGRESS_BAR="form-layer-progress-bar",e}({});t.Spacer=(0,i.observer)(e=>r.default.createElement("div",{className:"con-kit-component-spacer",style:{pointerEvents:"none"},"aria-hidden":"true"},r.default.createElement("div",{"data-spacer-type":e.spacerType,className:"con-kit-component-spacer__handler"})))},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.UIKitFormLazy=void 0,t.UIKitFormLazySync=s;var r=o(n(4));const i=t.UIKitFormLazy=(0,r.default)({resolved:{},chunkName:e=>"ui-kit/form/"+e.formEffect.replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:e=>n(351)(`./${e.formEffect}.scss`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(e){return n(352).resolve(`./${e.formEffect}.scss`)}});function s(e){0}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MasonryExtensionComponentLazy=void 0;var r=o(n(4));const i=t.MasonryExtensionComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"extension/masonry",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(0).then(n.t.bind(null,143,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 143}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReactAppExtensionComponentLazy",{enumerable:!0,get:function(){return o.ReactAppExtensionComponentLazy}});var o=n(378)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DependenciesRegistry=void 0;var o,r=n(3),i=n(7),s=(n(11),n(379)),a=n(395),l=n(396),u=n(401),c=n(83);const d="__siteui__";class h{static getInstance(){return h.instance}constructor(){this.modules=new Map,this.inflight=new Map,this.siteUiBundleData=new Map,this.siteUiVersionsByUrl=new Map,(0,r.makeAutoObservable)(this,{modules:!1,inflight:!1,siteUiBundleData:!1,siteUiVersionsByUrl:!1},{autoBind:!0})}has(e){return this.modules.has(e)}get(e){return this.modules.get(e)}hasMany(e,t){return Object.values(e).every(e=>this.modules.has(this.resolveUrl(e,t)))}clear(){this.modules.clear(),this.inflight.clear(),this.siteUiBundleData.clear(),this.siteUiVersionsByUrl.clear()}resolveUrl(e,t){var n;if("cdn"===e.type)return e.url;const o=null!==(n=c.SiteUiVersionIndex.getInstance().get(e.id))&&void 0!==n?n:0;return function(e,t,n){return`${d}:${e}:${t}:${n}`}(e.id,o,function(e){let t=5381;for(let n=0;n>>0).toString(36)}(t))}getResolvedMap(e,t){const n={};for(const[o,r]of Object.entries(e))n[o]=this.modules.get(this.resolveUrl(r,t));return n}async load(e){if(this.modules.has(e))return this.modules.get(e);const t=this.inflight.get(e);if(t)return t;const n=(e.startsWith("http")?this.loadCdnModule(e):this.loadSiteUiModule(e)).then(t=>(this.modules.set(e,t),this.inflight.delete(e),t),t=>{throw this.inflight.delete(e),t});return this.inflight.set(e,n),n}async loadMany(e,t){const n=await Promise.all(Object.entries(e).map(async([e,n])=>{var o;const r=this.resolveUrl(n,t);let i;try{i=await this.load(r)}catch(t){const n=t instanceof Error?t.message:String(t);throw new Error(`Failed to load dependency "${e}" from ${r}: ${n}`)}return[e,{module:i,siteUiVersions:"siteui"===n.type&&null!==(o=this.siteUiVersionsByUrl.get(r))&&void 0!==o?o:{}}]})),o={};let r={};for(const[e,{module:t,siteUiVersions:i}]of n)o[e]=t,r={...r,...i};return{modules:o,siteUiVersions:r}}async loadCdnModule(e){const t=(0,i.getOwnWindow)();(0,u.ensureOnepageRuntimeGlobal)(t),(0,u.ensureOnepageImportMap)(null==t?void 0:t.document);const n=t;if(null==n?void 0:n.Function){const t=n.Function("url","return import(url)");return(0,u.normalizeCdnModule)(await t(e))}return(0,u.normalizeCdnModule)(await import(e))}async fetchSiteUiBundle(e,t){{const n=await fetch(`/_react/siteui/${e}?v=${t}`);if(!n.ok)throw new Error(`@siteui bundle HTTP ${n.status} for ${e}`);return await n.json()}}async loadSiteUiModule(e){var t,n,o;const r=function(e){var t;return e.startsWith(`${d}:`)&&null!==(t=e.split(":")[1])&&void 0!==t?t:null}(e);if(!r)throw new Error(`Invalid @siteui dep url: ${e}`);const i=function(e){return e.startsWith(`${d}:`)&&Number(e.split(":")[2])||0}(e),u=`${r}:${i}`;let h=this.siteUiBundleData.get(u);if(h||(h=await this.fetchSiteUiBundle(r,i),this.siteUiBundleData.set(`${r}:${h.compiledAt}`,h)),h.lastError)throw new Error(`@siteui ${r} has lastError: ${h.lastError}`);c.SiteUiVersionIndex.getInstance().merge({[r]:h.compiledAt,...h.siteUiVersions});const f=null!==(t=e.split(":")[3])&&void 0!==t?t:"",p=await this.loadMany(h.externalDeps,f),m={[r]:h.compiledAt,...p.siteUiVersions};this.siteUiVersionsByUrl.set(e,m);const{module:y,error:v}=(0,l.executeModuleBundle)(h.compiledBundle,p.modules);if(v)throw new Error(`@siteui ${r} execution failed: ${v}`);return null===(n=(0,s.getBrowserTailwindStyleRuntime)())||void 0===n||n.add(null!==(o=h.compiledTailwindCss)&&void 0!==o?o:""),h.compiledCss&&(0,a.injectSiteUiCss)(r,h.compiledCss),y}}t.DependenciesRegistry=h,o=h,h.instance=new o},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isSectionOrganismModel=function(e){return"object"==typeof e&&null!==e&&"organismPath"in e&&e.organismPath.organismLocation===o.OrganismLocationEnum.SECTION};var o=n(16)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FormListContext=void 0;var o=n(0);t.FormListContext=(0,o.createContext)([])},function(e,t,n){"use strict";function o(e,t,n){n||(n=1);const o="highlight-container",r="data-highlight-container-id",i="--highlight-height",s="--highlight-width",a=[i,s,"--one-kit-quark-border-width","--one-kit-quark-radius","--one-kit-quark-transform","--color-text","--alpha-text","--color-bg","--alpha-bg","--color-border","--alpha-border"];function l(e){let t=[];for(e=e.firstChild;e;e=e.nextSibling)3===e.nodeType?t.push(e):t=t.concat(l(e));return t}function u(t){const n=t.closest("[data-atom]");if(!n)return;const o=n.querySelector(".con-kit-atom__effects");if(!o)return;const r=n.getAttribute("data-id"),a=n.getBoundingClientRect(),u=t.getAttribute("data-highlight-id");let c=t;const d=c.getBoundingClientRect(),h=c.getAttribute("data-highlight-type"),f=c.style.cssText.split(";").reduce((e,t)=>{const[n,o]=t.split(":");return n&&o&&(e[n.trim()]=o.trim()),e},{}),p=c.querySelector("svg"),m=window.getComputedStyle(c).fontSize,y={y:d.y-a.y,x:d.x-a.x},v=l(t),g={};for(let t=0;ta.style.left?(g[l].style.left=a.style.left,g[l].style.width+=o.width):g[l]?g[l].style.width+=o.width:g[l]=a}return{atomId:r,containerStyles:{top:y.y,left:y.x,width:d.width,height:d.height},mountTo:o,children:Object.values(g),highlightId:u,highlightType:h,highlightStyle:f,highlightFontSize:m,innerHTML:p?p.outerHTML:null}}function c(e,t){e.className=o,e.style.top=t.containerStyles.top/n+"px",e.style.left=t.containerStyles.left/n+"px",e.style.width=t.containerStyles.width/n+"px",e.style.height=t.containerStyles.height/n+"px",e.setAttribute(r,t.highlightId),e.setAttribute("data-highlight-atom-id",t.atomId)}for(let i=0;i{r.style.setProperty(e,s.highlightStyle[e])}),r.style.top=o.style.top/n+"px",r.style.left=o.style.left/n+"px",r.style.width=o.style.width/n+"px",r.style.height=o.style.height/n+"px";for(let e=0;e"extension/animation/"+e.animationType.replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:e=>n(503)(`./${e.animationType}.scss`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(e){return n(504).resolve(`./${e.animationType}.scss`)}});function s(e){0}},function(e,t,n){"use strict";var o;t.__esModule=!0,t.default=void 0;var r=((o=n(0))&&o.__esModule?o:{default:o}).default.createContext(null);t.default=r,e.exports=t.default},,,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MasonryHorizontalExtensionComponentAsync=void 0;var r=o(n(4));const i=t.MasonryHorizontalExtensionComponentAsync=(0,r.default)({resolved:{},chunkName:()=>"extension/masonry-horizontal",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(124).then(n.t.bind(null,263,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 263}})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MarqueeGalleryComponentLazy=void 0;var r=o(n(4));const i=t.MarqueeGalleryComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"component/marquee-gallery",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(50).then(n.t.bind(null,265,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 265}})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.HighlightConfigLazy=void 0;var r=o(n(0)),i=o(n(4));const s=t.HighlightConfigLazy=(0,i.default)({resolved:{},chunkName:e=>"extension/draft/highlight/"+(e.type+e.type).replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:e=>n(358)(`./${e.type}/${e.type}.config.tsx`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(e){return n(359).resolve(`./${e.type}/${e.type}.config.tsx`)}},{cacheKey:e=>e.type,resolveComponent:e=>t=>{var n,o,i;return r.default.createElement(r.default.Fragment,null,null!==(n=null===(o=(i=e.default).wrapper)||void 0===o?void 0:o.call(i,t.children,t))&&void 0!==n?n:t.children,e.default.svg)}})},function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.ReactAppBundleService=void 0;var o=n(11);t.ReactAppBundleService=class{static async fetchBundles(e){const{reactAppId:t,pageModel:n,reactAppVersionId:o}=e;if(!t)return[];{const e=await fetch(`/_react/bundle/${t}?v=${n.version._id}&page_version=${n.version.type}`,{headers:{"Content-Type":"application/json"}});return e.ok?[await e.json()]:[]}}static async fetchJsonRpcBundles(t,n){const r=await fetch(`${"undefined"==typeof window?e.env.CON_API_LOCAL||"":(0,o.getGlobalHost)()}/react-app-service?_${t}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:"undefined"!=typeof crypto&&crypto.randomUUID?crypto.randomUUID():`${Date.now()}-${Math.random()}`,method:t,params:n})});if(!r.ok)return[];const i=await r.json();return Array.isArray(i.result)?i.result:[]}}}).call(this,n(22))},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.GridTimelineExtensionComponentAsync=void 0;var r=o(n(4));const i=t.GridTimelineExtensionComponentAsync=(0,r.default)({resolved:{},chunkName:()=>"extension/grid-timeline",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(122)]).then(n.t.bind(null,119,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 119}})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MarqueeGridComponentLazy=t.MARQUEE_GRID_COMPONENT_CHUNK_NAME=void 0;var r=o(n(4));const i=t.MARQUEE_GRID_COMPONENT_CHUNK_NAME="component/marquee-grid",s=t.MarqueeGridComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"component/marquee-grid",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(51)]).then(n.t.bind(null,290,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 290}})},function(e,t,n){"use strict";var o="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof window.msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto);if(o){var r=new Uint8Array(16);e.exports=function(){return o(r),r}}else{var i=new Array(16);e.exports=function(){for(var e,t=0;t<16;t++)3&t||(e=4294967296*Math.random()),i[t]=e>>>((3&t)<<3)&255;return i}}},function(e,t,n){"use strict";for(var o=[],r=0;r<256;++r)o[r]=(r+256).toString(16).substr(1);e.exports=function(e,t){var n=t||0,r=o;return[r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],"-",r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]],r[e[n++]]].join("")}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n(483),r=n(484),i=n(486),s=()=>{},a=new r.TimeoutError;t.default=class extends o{constructor(e){var t,n,o,r;if(super(),this._intervalCount=0,this._intervalEnd=0,this._pendingCount=0,this._resolveEmpty=s,this._resolveIdle=s,!("number"==typeof(e=Object.assign({carryoverConcurrencyCount:!1,intervalCap:1/0,interval:0,concurrency:1/0,autoStart:!0,queueClass:i.default},e)).intervalCap&&e.intervalCap>=1))throw new TypeError(`Expected \`intervalCap\` to be a number from 1 and up, got \`${null!==(n=null===(t=e.intervalCap)||void 0===t?void 0:t.toString())&&void 0!==n?n:""}\` (${typeof e.intervalCap})`);if(void 0===e.interval||!(Number.isFinite(e.interval)&&e.interval>=0))throw new TypeError(`Expected \`interval\` to be a finite number >= 0, got \`${null!==(r=null===(o=e.interval)||void 0===o?void 0:o.toString())&&void 0!==r?r:""}\` (${typeof e.interval})`);this._carryoverConcurrencyCount=e.carryoverConcurrencyCount,this._isIntervalIgnored=e.intervalCap===1/0||0===e.interval,this._intervalCap=e.intervalCap,this._interval=e.interval,this._queue=new e.queueClass,this._queueClass=e.queueClass,this.concurrency=e.concurrency,this._timeout=e.timeout,this._throwOnTimeout=!0===e.throwOnTimeout,this._isPaused=!1===e.autoStart}get _doesIntervalAllowAnother(){return this._isIntervalIgnored||this._intervalCount{this._onResumeInterval()},t)),!0;this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0}return!1}_tryToStartAnother(){if(0===this._queue.size)return this._intervalId&&clearInterval(this._intervalId),this._intervalId=void 0,this._resolvePromises(),!1;if(!this._isPaused){const e=!this._isIntervalPaused();if(this._doesIntervalAllowAnother&&this._doesConcurrentAllowAnother){const t=this._queue.dequeue();return!!t&&(this.emit("active"),t(),e&&this._initializeIntervalIfNeeded(),!0)}}return!1}_initializeIntervalIfNeeded(){this._isIntervalIgnored||void 0!==this._intervalId||(this._intervalId=setInterval(()=>{this._onInterval()},this._interval),this._intervalEnd=Date.now()+this._interval)}_onInterval(){0===this._intervalCount&&0===this._pendingCount&&this._intervalId&&(clearInterval(this._intervalId),this._intervalId=void 0),this._intervalCount=this._carryoverConcurrencyCount?this._pendingCount:0,this._processQueue()}_processQueue(){for(;this._tryToStartAnother(););}get concurrency(){return this._concurrency}set concurrency(e){if(!("number"==typeof e&&e>=1))throw new TypeError(`Expected \`concurrency\` to be a number from 1 and up, got \`${e}\` (${typeof e})`);this._concurrency=e,this._processQueue()}async add(e,t={}){return new Promise((n,o)=>{this._queue.enqueue(async()=>{this._pendingCount++,this._intervalCount++;try{const i=void 0===this._timeout&&void 0===t.timeout?e():r.default(Promise.resolve(e()),void 0===t.timeout?this._timeout:t.timeout,()=>{(void 0===t.throwOnTimeout?this._throwOnTimeout:t.throwOnTimeout)&&o(a)});n(await i)}catch(e){o(e)}this._next()},t),this._tryToStartAnother(),this.emit("add")})}async addAll(e,t){return Promise.all(e.map(async e=>this.add(e,t)))}start(){return this._isPaused?(this._isPaused=!1,this._processQueue(),this):this}pause(){this._isPaused=!0}clear(){this._queue=new this._queueClass}async onEmpty(){if(0!==this._queue.size)return new Promise(e=>{const t=this._resolveEmpty;this._resolveEmpty=()=>{t(),e()}})}async onIdle(){if(0!==this._pendingCount||0!==this._queue.size)return new Promise(e=>{const t=this._resolveIdle;this._resolveIdle=()=>{t(),e()}})}get size(){return this._queue.size}sizeBy(e){return this._queue.filter(e).length}get pending(){return this._pendingCount}get isPaused(){return this._isPaused}get timeout(){return this._timeout}set timeout(e){this._timeout=e}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalOrganismListContext=void 0;var o=n(0);t.GlobalOrganismListContext=(0,o.createContext)([])},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useSafeMode=function(){return{isSafeModeDisabled:!1};let e;try{const t=(0,r.useLocation)();e=t.search}catch(t){const n=(0,i.useKitLocation)();e=n.search}return{isSafeModeDisabled:(0,o.useMemo)(()=>new URLSearchParams(e).has("SAFE_MODE"),[e])}};var o=n(0),r=n(494),i=n(128)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AnimationExtensionChunk=void 0;var o=n(141);t.AnimationExtensionChunk=class{constructor(e){this.organismModel=e,this.name=void 0,this.name=`extension/animation/${e.styles$.animation_type}-scss`}load(){return o.AnimationExtensionLazy.load({animationType:this.organismModel.styles$.animation_type})}}},function(e,t,n){"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e.default:e}Object.defineProperty(t,"__esModule",{value:!0});var r=n(0),i=o(r),s=o(n(10)),a=function(){throw new Error("Attempted to call useModal outside of modal context. Make sure your app is rendered inside ModalProvider.")},l=i.createContext({showModal:a,hideModal:a}),u=function(){return u=Object.assign||function(e){for(var t,n=1,o=arguments.length;n=0||(r[n]=e[n]);return r}(e,["component","childFactory"]),s=this.state.contextValue,a=l(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?o.default.createElement(r.default.Provider,{value:s},a):o.default.createElement(r.default.Provider,{value:s},o.default.createElement(t,i,a))},s}(o.default.Component);u.propTypes={},u.defaultProps={component:"div",childFactory:function(e){return e}};var c=u;t.default=c,e.exports=t.default},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){"use strict";n(306),n(308);var o=n(309),r=n(456);(0,o.siteHydrate)(document.getElementById("root"),r.App)},function(e,t,n){"use strict";var o=n(1)(n(307));"undefined"==typeof window||window.ResizeObserver||(window.ResizeObserver=o.default)},function(e,t,n){"use strict";(function(t){var n;n=function(){var e=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,o){return e[0]===t&&(n=o,!0)}),n}return function(){function t(){this.__entries__=[]}var n={size:{configurable:!0}};return n.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n0},a.prototype.connect_=function(){n&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),s?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},a.prototype.disconnect_=function(){n&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},a.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),i.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},a.getInstance=function(){return this.instance_||(this.instance_=new a),this.instance_},a.instance_=null;var l=function(e,t){for(var n=0,o=Object.keys(t);n0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+d(e["border-"+n+"-width"])},0)}function f(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return c;var o=u(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n0};var x="undefined"!=typeof WeakMap?new WeakMap:new e,w=function(e){if(!(this instanceof w))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=a.getInstance(),n=new b(e,t,this);x.set(this,n)};return["observe","unobserve","disconnect"].forEach(function(e){w.prototype[e]=function(){return(t=x.get(this))[e].apply(t,arguments);var t}}),void 0!==o.ResizeObserver?o.ResizeObserver:w},e.exports=n()}).call(this,n(21))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.onepageEventEmitter=t.EventEmitter=void 0;class o{constructor(){this.callbacks={},this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),()=>{this.off(e,t)}}off(e,t){this.callbacks[e]=this.callbacks[e].filter(e=>e!==t)}emit(e,t){const n=(this.callbacks[e]||[]).concat(this.callbacks["*"]||[]);n&&n.forEach(n=>n(t,e))}}t.EventEmitter=o;const r=t.onepageEventEmitter=new o;"undefined"!=typeof window&&(window.onepageEventEmitter=r)},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.siteHydrate=async function(e,t){const n=(0,a.getGlobalSiteData)(),o=(0,a.getGlobalPageData)(),l=(0,a.getGlobalFeaturesData)();await(0,u.yieldToMain)();const f=d.SiteModelFactory.make(n);await(0,u.yieldToMain)();const p=await c.PageModelFactory.makeAsync(o,f);await(0,u.yieldToMain)();const m=new s.ChunkTree(new h(f));return await m.load(),await(0,u.yieldToMain)(),console.log("hydrateRoot"),i.default.hydrateRoot(e,r.default.createElement(t,{siteData:f,pageData:p,featuresData:l}))};var r=o(n(0)),i=o(n(10)),s=n(35),a=n(11),l=n(6),u=n(84),c=n(50),d=n(452);class h{constructor(e){this.siteModel=e,this.name="site",this.deps=void 0,this.deps=[[new l.ButtonEffectExtensionChunk({style_type:"solid"},e.effects),!0],[new l.ButtonEffectExtensionChunk({style_type:"line"},e.effects),!0],[new l.ButtonEffectExtensionChunk({style_type:"transparent"},e.effects),!0],[new l.ButtonEffectExtensionChunk({style_type:"solid",solid_button_effect:"default"},e.effects),!0],[new l.ButtonEffectExtensionChunk({style_type:"line",line_button_effect:"default"},e.effects),!0],[new l.ButtonEffectExtensionChunk({style_type:"transparent",transparent_button_effect:"default"},e.effects),!0]]}load(){return Promise.resolve()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeAtomChunk=function(e,t){return new(n(311)(`./${e.type}/${e.type}.atom.chunk.ts`).default)(e,t)}},function(e,t,n){var o={"./atom-group/atom-group.atom.chunk.ts":312,"./before-after/before-after.atom.chunk.ts":326,"./contacts/contacts.atom.chunk.ts":327,"./countdown/countdown.atom.chunk.ts":330,"./custom-code/custom-code.atom.chunk.ts":331,"./form-address/form-address.atom.chunk.ts":332,"./form-calendly/form-calendly.atom.chunk.ts":333,"./form-consent/form-consent.atom.chunk.ts":334,"./form-datepicker-range/form-datepicker-range.atom.chunk.ts":335,"./form-datepicker/form-datepicker.atom.chunk.ts":336,"./form-email/form-email.atom.chunk.ts":337,"./form-hidden-field/form-hidden-field.atom.chunk.ts":338,"./form-input/form-input.atom.chunk.ts":339,"./form-loader/form-loader.atom.chunk.ts":340,"./form-name/form-name.atom.chunk.ts":341,"./form-number/form-number.atom.chunk.ts":342,"./form-option-scale/form-option-scale.atom.chunk.ts":343,"./form-phone-number/form-phone-number.atom.chunk.ts":344,"./form-range-slider/form-range-slider.atom.chunk.ts":345,"./form-recaptcha/form-recaptcha.atom.chunk.ts":346,"./form-select/form-select.atom.chunk.ts":347,"./form-textarea/form-textarea.atom.chunk.ts":348,"./form-uploader/form-uploader.atom.chunk.ts":349,"./form/form.atom.chunk.ts":350,"./gallery/gallery.atom.chunk.ts":353,"./header/header.atom.chunk.ts":356,"./icon/icon.atom.chunk.ts":360,"./image/image.atom.chunk.ts":361,"./label-text/label-text.atom.chunk.ts":362,"./line/line.atom.chunk.ts":363,"./link-group/link-group.atom.chunk.ts":364,"./list/list.atom.chunk.ts":365,"./logo/logo.atom.chunk.ts":366,"./map/map.atom.chunk.ts":367,"./menu-v2/menu-v2.atom.chunk.ts":368,"./menu/menu.atom.chunk.ts":369,"./number/number.atom.chunk.ts":370,"./password-input/password-input.atom.chunk.ts":371,"./person/person.atom.chunk.ts":372,"./plain-text/plain-text.atom.chunk.ts":373,"./pricing/pricing.atom.chunk.ts":374,"./quiz/quiz.atom.chunk.ts":375,"./rating/rating.atom.chunk.ts":376,"./react-fragment/react-fragment.atom.chunk.ts":377,"./slider/slider.atom.chunk.ts":402,"./social/social.atom.chunk.ts":403,"./stats/stats.atom.chunk.ts":404,"./tagline/tagline.atom.chunk.ts":405,"./video/video.atom.chunk.ts":406};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=311},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";var o=n(314),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return o.isMemo(e)?s:a[e.$$typeof]||r}a[o.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[o.Memo]=s;var u=Object.defineProperty,c=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,n,o){if("string"!=typeof n){if(p){var r=f(n);r&&r!==p&&e(t,r,o)}var s=c(n);d&&(s=s.concat(d(n)));for(var a=l(t),m=l(n),y=0;y{var t;const n=(0,i.useContext)(f.AtomItemModeContext),o=(0,a.useAlignContext)(),s=(0,i.useMemo)(()=>{if(e.atomModel.styles$.full_size){const t=e.atomModel.styles$.full_size_disable;return`fullSize ${(null==t?void 0:t.length)?t.map(e=>`disable-${e}`).join(" "):""}`}if(("slider"===e.atomModel.styles$.grid_type||"slider-solo"===e.atomModel.styles$.grid_type)&&e.atomModel.styles$.slider_hanging||"slider-hanging"===e.atomModel.styles$.grid_type)return"fullHorizontal"},[e.atomModel.styles$.full_size,e.atomModel.styles$.slider_hanging,e.atomModel.styles$.grid_type,e.atomModel.styles$.full_size_disable]);return i.default.createElement("div",(0,r.default)({"data-atom":e.atomModel.type,"data-id":e.atomModel._id,"data-position":e.atomModel.position$,"data-parent-id":e.atomModel.parentId,"data-mode":n,"data-options":s,"data-atom-horizontal":e.align_horizontal||e.atomModel.styles$.align_horizontal||o.align_horizontal,"data-atom-vertical":e.align_vertical||e.atomModel.styles$.align_vertical||o.align_vertical,"data-atom-full-height":e.atomModel.styles$.full_height||void 0,"data-atom-pull-down":"spacer"===e.atomModel.styles$.line_style||void 0,"data-atom-zero-indenet":e.atomModel.styles$.indentLg?void 0:""},(0,d.styleCompose)({})((0,c.makeAttr)({...(0,u.getCustomIdentifierAttrs)(e.atomModel),style:{"--a-indent-lg":`${e.atomModel.styles$.indentLg||0}px`,"--a-width":`${null!==(t=e.atomModel.styles$.atom_width)&&void 0!==t?t:100}%`,"--a-min-width":e.atomModel.styles$.atom_min_width?`${e.atomModel.styles$.atom_min_width}px`:void 0}}),(0,l.animationApplyExtensionStyler)({index:e.atomModel.position$,type:"atom"}))),e.children,i.default.createElement(h.Spacer,{spacerType:h.SpacerType.ATOM}))})},,,,,function(e,t,n){},function(e,t,n){},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.AtomErrorBoundary=void 0;var r=o(n(0));class i extends r.default.Component{constructor(e){super(e),this.state={hasError:!1}}static getDerivedStateFromError(){return{hasError:!0}}componentDidCatch(e,t){console.error("Caught an error",e,t)}render(){return this.state.hasError?null:this.props.children}}t.AtomErrorBoundary=i},function(e,t,n){var o={"./atom-group/atom-group.atom.tsx":[160,0,1],"./before-after/before-after.atom.tsx":[161,0,2],"./contacts/contacts.atom.tsx":[162,0,3],"./countdown/countdown.atom.tsx":[163,0,4],"./custom-code/custom-code.atom.tsx":[164,0,5],"./form-address/form-address.atom.tsx":[166,0,6],"./form-calendly/form-calendly.atom.tsx":[167,0,7],"./form-consent/form-consent.atom.tsx":[168,0,8],"./form-datepicker-range/form-datepicker-range.atom.tsx":[170,0,10],"./form-datepicker/form-datepicker.atom.tsx":[169,0,9],"./form-email/form-email.atom.tsx":[171,0,11],"./form-hidden-field/form-hidden-field.atom.tsx":[172,0,13],"./form-input/form-input.atom.tsx":[173,0,14],"./form-loader/form-loader.atom.tsx":[174,0,15],"./form-name/form-name.atom.tsx":[175,0,16],"./form-number/form-number.atom.tsx":[176,0,17],"./form-option-scale/form-option-scale.atom.tsx":[177,0,18],"./form-phone-number/form-phone-number.atom.tsx":[178,0,19],"./form-range-slider/form-range-slider.atom.tsx":[179,0,20],"./form-recaptcha/form-recaptcha.atom.tsx":[180,0,21],"./form-select/form-select.atom.tsx":[181,0,22],"./form-textarea/form-textarea.atom.tsx":[182,0,23],"./form-uploader/form-uploader.atom.tsx":[183,0,24],"./form/form.atom.tsx":[165,0,12],"./gallery/gallery.atom.tsx":[184,0,25],"./header/header.atom.tsx":[185,0,26],"./icon/icon.atom.tsx":[186,0,27],"./image/image.atom.tsx":[187,0,28],"./label-text/label-text.atom.tsx":[188,0,29],"./line/line.atom.tsx":[189,0,30],"./link-group/link-group.atom.tsx":[190,0,31],"./list/list.atom.tsx":[191,0,32],"./logo/logo.atom.tsx":[192,0,33],"./map/map.atom.tsx":[193,0,34],"./menu-v2/menu-v2.atom.tsx":[195,0,36],"./menu/menu.atom.tsx":[194,0,35],"./number/number.atom.tsx":[196,0,37],"./password-input/password-input.atom.tsx":[197,0,38],"./person/person.atom.tsx":[198,0,39],"./plain-text/plain-text.atom.tsx":[199,0,40],"./pricing/pricing.atom.tsx":[200,0,41],"./quiz/quiz.atom.tsx":[201,0,42],"./rating/rating.atom.tsx":[202,0,43],"./react-fragment/react-fragment.atom.tsx":[203,0,44],"./slider/slider.atom.tsx":[204,0,45],"./social/social.atom.tsx":[205,0,46],"./stats/stats.atom.tsx":[206,0,47],"./tagline/tagline.atom.tsx":[207,0,48],"./video/video.atom.tsx":[208,0,49]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=324,e.exports=r},function(e,t,n){var o={"./atom-group/atom-group.atom.tsx":160,"./before-after/before-after.atom.tsx":161,"./contacts/contacts.atom.tsx":162,"./countdown/countdown.atom.tsx":163,"./custom-code/custom-code.atom.tsx":164,"./form-address/form-address.atom.tsx":166,"./form-calendly/form-calendly.atom.tsx":167,"./form-consent/form-consent.atom.tsx":168,"./form-datepicker-range/form-datepicker-range.atom.tsx":170,"./form-datepicker/form-datepicker.atom.tsx":169,"./form-email/form-email.atom.tsx":171,"./form-hidden-field/form-hidden-field.atom.tsx":172,"./form-input/form-input.atom.tsx":173,"./form-loader/form-loader.atom.tsx":174,"./form-name/form-name.atom.tsx":175,"./form-number/form-number.atom.tsx":176,"./form-option-scale/form-option-scale.atom.tsx":177,"./form-phone-number/form-phone-number.atom.tsx":178,"./form-range-slider/form-range-slider.atom.tsx":179,"./form-recaptcha/form-recaptcha.atom.tsx":180,"./form-select/form-select.atom.tsx":181,"./form-textarea/form-textarea.atom.tsx":182,"./form-uploader/form-uploader.atom.tsx":183,"./form/form.atom.tsx":165,"./gallery/gallery.atom.tsx":184,"./header/header.atom.tsx":185,"./icon/icon.atom.tsx":186,"./image/image.atom.tsx":187,"./label-text/label-text.atom.tsx":188,"./line/line.atom.tsx":189,"./link-group/link-group.atom.tsx":190,"./list/list.atom.tsx":191,"./logo/logo.atom.tsx":192,"./map/map.atom.tsx":193,"./menu-v2/menu-v2.atom.tsx":195,"./menu/menu.atom.tsx":194,"./number/number.atom.tsx":196,"./password-input/password-input.atom.tsx":197,"./person/person.atom.tsx":198,"./plain-text/plain-text.atom.tsx":199,"./pricing/pricing.atom.tsx":200,"./quiz/quiz.atom.tsx":201,"./rating/rating.atom.tsx":202,"./react-fragment/react-fragment.atom.tsx":203,"./slider/slider.atom.tsx":204,"./social/social.atom.tsx":205,"./stats/stats.atom.tsx":206,"./tagline/tagline.atom.tsx":207,"./video/video.atom.tsx":208};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=325,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:"transparent",transparent_button_effect:"default"},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.ButtonEffectExtensionLazy=void 0;var r=o(n(4));const i=t.ButtonEffectExtensionLazy=(0,r.default)({resolved:{},chunkName:e=>"extension/button-effect/"+(e.styleType+e.styleName).replace(/[^a-zA-Z0-9_!§$()=\-^°]+/g,"-"),isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:e=>n(329)(`./${e.styleType}/${e.styleName}/index.ts`),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(e){return n(67).resolve(`./${e.styleType}/${e.styleName}/index.ts`)}})},function(e,t,n){var o={"./line/add-background-circle/index.ts":[210,0,58],"./line/add-background/index.ts":[209,0,59],"./line/border-width/index.ts":[211,60],"./line/change-color/index.ts":[212,61],"./line/default/index.ts":[213,62],"./line/extrude-hover-2/index.ts":[216,63],"./line/extrude-hover/index.ts":[215,64],"./line/extrude/index.ts":[214,65],"./line/material/index.ts":[217,66],"./line/skew/index.ts":[218,67],"./line/soft-bg/index.ts":[219,68],"./line/soft-line-hover/index.ts":[221,69],"./line/soft-line/index.ts":[220,70],"./solid/blur/index.ts":[222,71],"./solid/default/index.ts":[223,0,72],"./solid/extrude-3d/index.ts":[225,0,73],"./solid/extrude-contrast-hover-2/index.ts":[227,74],"./solid/extrude-contrast-hover/index.ts":[226,75],"./solid/extrude-gradient-2/index.ts":[229,0,76],"./solid/extrude-gradient/index.ts":[228,0,77],"./solid/extrude-outline/index.ts":[230,0,79],"./solid/extrude/index.ts":[224,0,78],"./solid/glass-glowing/index.ts":[231,0,80],"./solid/gradient-light/index.ts":[233,0,82],"./solid/gradient/index.ts":[232,0,81],"./solid/material/index.ts":[234,83],"./solid/shadow-key/index.ts":[236,85],"./solid/shadow/index.ts":[235,84],"./solid/skew/index.ts":[237,86],"./solid/soft-line-hover/index.ts":[239,87],"./solid/soft-line/index.ts":[238,88],"./solid/volume/index.ts":[240,89],"./solid/web-2-0/index.ts":[241,0,90],"./solid/web-2-1/index.ts":[242,0,91],"./solid/win-98/index.ts":[243,0,92],"./transparent/bg-change/index.ts":[244,0,93],"./transparent/bg-slide/index.ts":[245,0,94],"./transparent/change-color/index.ts":[246,95],"./transparent/default/index.ts":[247,96],"./transparent/light-bg-hover/index.ts":[249,97],"./transparent/light-bg/index.ts":[248,98],"./transparent/marker/index.ts":[250,99],"./transparent/opacity/index.ts":[251,100],"./transparent/underline-hover/index.ts":[253,101],"./transparent/underline-move-2/index.ts":[255,103],"./transparent/underline-move/index.ts":[254,104],"./transparent/underline/index.ts":[252,102]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=329,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(68),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new o.UiKitFormChunk(this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){var o={"./borderless.scss":[256,168],"./default.scss":[257,169],"./hard-line.scss":[258,170],"./material.scss":[259,171],"./soft-line-hover.scss":[260,172],"./soft-line.scss":[261,173]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return n.e(t[1]).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=351,e.exports=r},function(e,t,n){var o={"./borderless.scss":256,"./default.scss":257,"./hard-line.scss":258,"./material.scss":259,"./soft-line-hover.scss":260,"./soft-line.scss":261};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=352,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(37),r=n(69),i=n(354),s=n(70),a=n(2),l=n(60),u=n(355);function c(e){return"masonry"===e.styles$.grid_type}function d(e){return"masonry-horizontal"===e.styles$.grid_type}function h(e){return"list"===e.styles$.grid_type}function f(e){return"marquee"===e.styles$.grid_type}class p extends a.AbstractAtomChunk{constructor(e,t){var n;super(e,t),this.atomModel=e,this.pageModel=t,this.name=void 0,this.name=(0,l.ATOM_CHUNK_NAME)(this.atomModel.type),this.deps=[[new s.SliderExtensionChunk,(n=this.atomModel,/^slider/.test(n.styles$.grid_type))],[new r.MasonryExtensionChunk,c(this.atomModel)],[new i.MasonryHorizontalExtensionChunk,d(this.atomModel)],[new o.GridListExtensionChunk,h(this.atomModel)],[new u.MarqueeGalleryComponentChunk,f(this.atomModel)]]}}t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MasonryHorizontalExtensionChunk=void 0;var o=n(145);t.MasonryHorizontalExtensionChunk=class{constructor(){this.name="extension/masonry-horizontal"}load(){return o.MasonryHorizontalExtensionComponentAsync.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarqueeGalleryComponentChunk=void 0;var o=n(38),r=n(146);t.MarqueeGalleryComponentChunk=class{constructor(){this.name="component/marquee-gallery",this.deps=[[new o.MarqueeExtensionChunk,!0]]}load(){return r.MarqueeGalleryComponentLazy.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(39),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=void 0,this.deps=[[new o.DraftExtensionChunk(this.atomModel.data$),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.HighlightConfigChunk=void 0;var o=n(38),r=n(147);t.HighlightConfigChunk=class{constructor(e){this.highlightType=e,this.name=void 0,this.deps=void 0,this.name=`extension/draft/highlight/${this.highlightType}-${this.highlightType}-config-tsx`,this.deps=[[new o.MarqueeExtensionChunk,"marquee"===this.highlightType]]}load(){return r.HighlightConfigLazy.load({type:this.highlightType})}}},function(e,t,n){var o={"./background-skew/background-skew.config.tsx":[267,0,107],"./background/background.config.tsx":[266,0,106],"./border/border.config.tsx":[268,0,108],"./brush-marker/brush-marker.config.tsx":[269,0,109],"./brush-orlined/brush-orlined.config.tsx":[270,0,110],"./brush-underline/brush-underline.config.tsx":[271,0,111],"./hand-underlined-2/hand-underlined-2.config.tsx":[273,0,112],"./hand-underlined-3/hand-underlined-3.config.tsx":[274,0,113],"./hand-underlined/hand-underlined.config.tsx":[272,0,114],"./marker/marker.config.tsx":[275,0,115],"./marquee/marquee.config.tsx":[276,0,116],"./orlined/orlined.config.tsx":[277,0,117],"./oval/oval.config.tsx":[278,0,118],"./soft-background/soft-background.config.tsx":[279,0,119],"./underline/underline.config.tsx":[280,0,120]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=358,e.exports=r},function(e,t,n){var o={"./background-skew/background-skew.config.tsx":267,"./background/background.config.tsx":266,"./border/border.config.tsx":268,"./brush-marker/brush-marker.config.tsx":269,"./brush-orlined/brush-orlined.config.tsx":270,"./brush-underline/brush-underline.config.tsx":271,"./hand-underlined-2/hand-underlined-2.config.tsx":273,"./hand-underlined-3/hand-underlined-3.config.tsx":274,"./hand-underlined/hand-underlined.config.tsx":272,"./marker/marker.config.tsx":275,"./marquee/marquee.config.tsx":276,"./orlined/orlined.config.tsx":277,"./oval/oval.config.tsx":278,"./soft-background/soft-background.config.tsx":279,"./underline/underline.config.tsx":280};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=359,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t}}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:this.atomModel.styles$.first_link_style_type,solid_button_effect:this.atomModel.styles$.first_link_solid_button_effect,line_button_effect:this.atomModel.styles$.first_link_line_button_effect,transparent_button_effect:this.atomModel.styles$.first_link_transparent_button_effect},this.pageModel.$siteModel.effects),!0],[new o.ButtonEffectExtensionChunk({style_type:this.atomModel.styles$.second_link_style_type,solid_button_effect:this.atomModel.styles$.second_link_solid_button_effect,line_button_effect:this.atomModel.styles$.second_link_line_button_effect,transparent_button_effect:this.atomModel.styles$.second_link_transparent_button_effect},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(39),r=n(37),i=n(2);class s extends i.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[],this.deps=[[new r.GridListExtensionChunk,!0]],this.atomModel.data$.items.forEach(e=>{this.deps.push([new o.DraftExtensionChunk(e.data),!0])})}}t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(39),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new o.DraftExtensionChunk(this.atomModel.data$),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(71),i=n(68),s=n(2);class a extends s.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new i.UiKitFormChunk(this.pageModel.$siteModel.effects),!0],[new r.VideoExtensionChunk,!0],[new o.ButtonEffectExtensionChunk({style_type:"solid",solid_button_effect:"default"},this.pageModel.$siteModel.effects),!0]]}}t.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(72),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t;const n=t.version.getReactAppVersionId(e.data$.reactAppId);this.deps=[[new o.ReactAppExtensionChunk(e.data$.reactAppId,t,n),!0]]}}t.default=i},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.ReactAppExtensionComponentLazy=void 0;var r=o(n(4));const i=t.ReactAppExtensionComponentLazy=(0,r.default)({resolved:{},chunkName:()=>"extension/react-app",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(125).then(n.t.bind(null,283,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 283}})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserTailwindStyleRuntime=void 0,t.getBrowserTailwindStyleRuntime=function(e){var t,n;if(!s.TAILWIND_RUNTIME_ENABLED)return null;const u=null!==(t=null!=e?e:null===(n=(0,o.getOwnWindow)())||void 0===n?void 0:n.document)&&void 0!==t?t:"undefined"!=typeof document?document:null;if(!u)return null;const c=l.get(u);if(c)return c;const d=new r.TailwindCssRegistry;d.seed((0,i.readTailwindHashesFromSsr)(u));const h=new a(d,u);return l.set(u,h),h};var o=n(7),r=n(380),i=n(393),s=n(394);class a{constructor(e,t){this.registry=e,this.targetDocument=t}add(e){const t=this.registry.add(e);if(!t.css)return;const n=this.targetDocument.createElement("style");n.dataset.oneTailwind="true",n.textContent=t.css,this.targetDocument.head.appendChild(n)}}t.BrowserTailwindStyleRuntime=a;const l=new WeakMap},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TailwindCssRegistry=void 0;var o=n(381);function r(e){return e.replace(/\s+/g," ").trim()}function i(e){let t=2166136261;for(let n=0;n>>0).toString(36)}function s(e){return e.params?`@${e.name} ${e.params}`:`@${e.name}`}function a(e,t){return t.reduceRight((e,t)=>`${s(t)} {\n${e}\n}`,e)}function l(e,t,n){if("comment"===e.type)return;if("atrule"===e.type){const o=e;if(!o.nodes||0===o.nodes.length){const e=a(function(e){return`${e.toString()};`.replace(" ;",";")}(o),t);return void n.push({css:e,hashInput:`${t.map(s).join("|")}|${r(e)}`})}if(function(e){return e.name.toLowerCase().endsWith("keyframes")}(o)){const e=a(o.toString(),t);return void n.push({css:e,hashInput:`${t.map(s).join("|")}|${r(o.toString())}`})}const i=[...t,{name:o.name,params:o.params}];for(const e of o.nodes)l(e,i,n);return}const o=a(e.toString(),t);n.push({css:o,hashInput:`${t.map(s).join("|")}|${r(e.toString())}`})}t.TailwindCssRegistry=class{constructor(){this.ruleHashes=new Set}add(e){if(!e)return{css:"",hashes:[]};let t;try{t=function(e){const t=(0,o.parse)(e),n=[];for(const e of null!==(r=t.nodes)&&void 0!==r?r:[]){var r;l(e,[],n)}return n}(e)}catch{return{css:e,hashes:[]}}const n=[],r=[];for(const e of t){const t=i(e.hashInput);this.ruleHashes.has(t)||(this.ruleHashes.add(t),r.push(t),n.push(e.css))}return{css:n.join("\n"),hashes:r}}seed(e){for(const t of e)this.ruleHashes.add(t)}getHashes(){return Array.from(this.ruleHashes)}clear(){this.ruleHashes.clear()}}},function(e,t,n){"use strict";(function(t){let o=n(40),r=n(23),i=n(9),s=n(41),a=n(26),l=n(43),u=n(383),c=n(27),d=n(78),h=n(77),f=n(24),p=n(47),m=n(391),y=n(48),v=n(17),g=n(46),b=n(25),x=n(80);function w(...e){return 1===e.length&&Array.isArray(e[0])&&(e=e[0]),new m(e)}w.plugin=function(e,n){let o,r=!1;function i(...o){console&&console.warn&&!r&&(r=!0,console.warn(e+": postcss.plugin was deprecated. Migration guide:\nhttps://evilmartians.com/chronicles/postcss-8-plugin-migration"),t.env.LANG&&t.env.LANG.startsWith("cn")&&console.warn(e+": 里面 postcss.plugin 被弃用. 迁移指南:\nhttps://www.w3ctech.com/topic/2226"));let i=n(...o);return i.postcssPlugin=e,i.postcssVersion=(new m).version,i}return Object.defineProperty(i,"postcss",{get:()=>(o||(o=i()),o)}),i.process=function(e,t,n){return w([i(n)]).process(e,t)},i},w.stringify=b,w.parse=p,w.fromJSON=u,w.list=h,w.comment=e=>new r(e),w.atRule=e=>new o(e),w.decl=e=>new a(e),w.rule=e=>new g(e),w.root=e=>new v(e),w.document=e=>new l(e),w.CssSyntaxError=s,w.Declaration=a,w.Container=i,w.Processor=m,w.Document=l,w.Comment=r,w.Warning=x,w.AtRule=o,w.Result=y,w.Input=c,w.Rule=g,w.Root=v,w.Node=f,d.registerPostcss(w),e.exports=w,w.default=w}).call(this,n(22))},function(e,t,n){"use strict";var o=String,r=function(){return{isColorSupported:!1,reset:o,bold:o,dim:o,italic:o,underline:o,inverse:o,hidden:o,strikethrough:o,black:o,red:o,green:o,yellow:o,blue:o,magenta:o,cyan:o,white:o,gray:o,bgBlack:o,bgRed:o,bgGreen:o,bgYellow:o,bgBlue:o,bgMagenta:o,bgCyan:o,bgWhite:o,blackBright:o,redBright:o,greenBright:o,yellowBright:o,blueBright:o,magentaBright:o,cyanBright:o,whiteBright:o,bgBlackBright:o,bgRedBright:o,bgGreenBright:o,bgYellowBright:o,bgBlueBright:o,bgMagentaBright:o,bgCyanBright:o,bgWhiteBright:o}};e.exports=r(),e.exports.createColors=r},function(e,t,n){"use strict";let o=n(40),r=n(23),i=n(26),s=n(27),a=n(76),l=n(17),u=n(46);function c(e,t){if(Array.isArray(e))return e.map(e=>c(e));let{inputs:n,...d}=e;if(n){t=[];for(let e of n){let n={...e,__proto__:s.prototype};n.map&&(n.map={...n.map,__proto__:a.prototype}),t.push(n)}}if(d.nodes&&(d.nodes=e.nodes.map(e=>c(e,t))),d.source){let{inputId:e,...n}=d.source;d.source=n,null!=e&&(d.source.input=t[e])}if("root"===d.type)return new l(d);if("decl"===d.type)return new i(d);if("rule"===d.type)return new u(d);if("comment"===d.type)return new r(d);if("atrule"===d.type)return new o(d);throw new Error("Unknown node type: "+e.type)}e.exports=c,c.default=c},function(e,t){e.exports={nanoid:(e=21)=>{let t="",n=0|e;for(;n--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[64*Math.random()|0];return t},customAlphabet:(e,t=21)=>(n=t)=>{let o="",r=0|n;for(;r--;)o+=e[Math.random()*e.length|0];return o}}},function(e,t,n){"use strict";t.byteLength=function(e){var t=l(e),n=t[0],o=t[1];return 3*(n+o)/4-o},t.toByteArray=function(e){var t,n,o=l(e),s=o[0],a=o[1],u=new i(function(e,t,n){return 3*(t+n)/4-n}(0,s,a)),c=0,d=a>0?s-4:s;for(n=0;n>16&255,u[c++]=t>>8&255,u[c++]=255&t;2===a&&(t=r[e.charCodeAt(n)]<<2|r[e.charCodeAt(n+1)]>>4,u[c++]=255&t);1===a&&(t=r[e.charCodeAt(n)]<<10|r[e.charCodeAt(n+1)]<<4|r[e.charCodeAt(n+2)]>>2,u[c++]=t>>8&255,u[c++]=255&t);return u},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,i=[],s=16383,a=0,l=n-r;al?l:a+s));1===r?(t=e[n-1],i.push(o[t>>2]+o[t<<4&63]+"==")):2===r&&(t=(e[n-2]<<8)+e[n-1],i.push(o[t>>10]+o[t>>4&63]+o[t<<2&63]+"="));return i.join("")};for(var o=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0;a<64;++a)o[a]=s[a],r[s.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var n=e.indexOf("=");return-1===n&&(n=t),[n,n===t?0:4-n%4]}function u(e){return o[e>>18&63]+o[e>>12&63]+o[e>>6&63]+o[63&e]}function c(e,t,n){for(var o,r=[],i=t;i>1,c=-7,d=n?r-1:0,h=n?-1:1,f=e[t+d];for(d+=h,i=f&(1<<-c)-1,f>>=-c,c+=a;c>0;i=256*i+e[t+d],d+=h,c-=8);for(s=i&(1<<-c)-1,i>>=-c,c+=o;c>0;s=256*s+e[t+d],d+=h,c-=8);if(0===i)i=1-u;else{if(i===l)return s?NaN:1/0*(f?-1:1);s+=Math.pow(2,o),i-=u}return(f?-1:1)*s*Math.pow(2,i-o)},t.write=function(e,t,n,o,r,i){var s,a,l,u=8*i-r-1,c=(1<>1,h=23===r?Math.pow(2,-24)-Math.pow(2,-77):0,f=o?0:i-1,p=o?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=c):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=c?(a=0,s=c):s+d>=1?(a=(t*l-1)*Math.pow(2,r),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,r),s=0));r>=8;e[n+f]=255&a,f+=p,a/=256,r-=8);for(s=s<0;e[n+f]=255&s,f+=p,s/=256,u-=8);e[n+f-p]|=128*m}},function(e,t,n){"use strict";var o={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==o.call(e)}},function(e,t){},function(e,t,n){"use strict";let o=n(40),r=n(23),i=n(26),s=n(17),a=n(46),l=n(390);const u={empty:!0,space:!0};function c(e,t,n){let o="";for(let r=t;r0?u.push("}"):t===u[u.length-1]&&u.pop(),0===u.length){if(";"===t){i.source.end=this.getPosition(e[2]),i.source.end.offset++,this.semicolon=!0;break}if("{"===t){a=!0;break}if("}"===t){if(l.length>0){for(r=l.length-1,n=l[r];n&&"space"===n[0];)n=l[--r];n&&(i.source.end=this.getPosition(n[3]||n[2]),i.source.end.offset++)}this.end(e);break}l.push(e)}else l.push(e);if(this.tokenizer.endOfFile()){s=!0;break}}i.raws.between=this.spacesAndCommentsFromEnd(l),l.length?(i.raws.afterName=this.spacesAndCommentsFromStart(l),this.raw(i,"params",l),s&&(e=l[l.length-1],i.source.end=this.getPosition(e[3]||e[2]),i.source.end.offset++,this.spaces=i.raws.between,i.raws.between="")):(i.raws.afterName="",i.params=""),a&&(i.nodes=[],this.current=i)}checkMissedSemicolon(e){let t=this.colon(e);if(!1===t)return;let n,o=0;for(let r=t-1;r>=0&&(n=e[r],"space"===n[0]||(o+=1,2!==o));r--);throw this.input.error("Missed semicolon","word"===n[0]?n[3]+1:n[2])}colon(e){let t,n,o,r=0;for(let[i,s]of e.entries()){if(n=s,o=n[0],"("===o&&(r+=1),")"===o&&(r-=1),0===r&&":"===o){if(t){if("word"===t[0]&&"progid"===t[1])continue;return i}this.doubleColon(n)}t=n}return!1}comment(e){let t=new r;this.init(t,e[2]),t.source.end=this.getPosition(e[3]||e[2]),t.source.end.offset++;let n=e[1].slice(2,-2);if(n.trim()){let e=n.match(/^(\s*)([^]*\S)(\s*)$/);t.text=e[2],t.raws.left=e[1],t.raws.right=e[3]}else t.text="",t.raws.left=n,t.raws.right=""}createTokenizer(){this.tokenizer=l(this.input)}decl(e,t){let n=new i;this.init(n,e[0][2]);let o=e[e.length-1];";"===o[0]&&(this.semicolon=!0,e.pop()),n.source.end=this.getPosition(o[3]||o[2]||function(e){for(let t=e.length-1;t>=0;t--){let n=e[t],o=n[3]||n[2];if(o)return o}}(e)),n.source.end.offset++;let r=0;for(;"word"!==e[r][0];)r===e.length-1&&this.unknownWord([e[r]]),r++;n.raws.before+=c(e,0,r),n.source.start=this.getPosition(e[r][2]);let s=r;for(;r=0;t--){if(a=e[t],"!important"===a[1].toLowerCase()){n.important=!0;let o=this.stringFrom(e,t);o=this.spacesFromEnd(e)+o," !important"!==o&&(n.raws.important=o);break}if("important"===a[1].toLowerCase()){let o=e.slice(0),r="";for(let e=t;e>0;e--){let t=o[e][0];if(r.trim().startsWith("!")&&"space"!==t)break;r=o.pop()[1]+r}r.trim().startsWith("!")&&(n.important=!0,n.raws.important=r,e=o)}if("space"!==a[0]&&"comment"!==a[0])break}e.some(e=>"space"!==e[0]&&"comment"!==e[0])&&(n.raws.between+=d.map(e=>e[1]).join(""),d=[]),this.raw(n,"value",d.concat(e),t),n.value.includes(":")&&!t&&this.checkMissedSemicolon(e)}doubleColon(e){throw this.input.error("Double colon",{offset:e[2]},{offset:e[2]+e[1].length})}emptyRule(e){let t=new a;this.init(t,e[2]),t.selector="",t.raws.between="",this.current=t}end(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end=this.getPosition(e[2]),this.current.source.end.offset++,this.current=this.current.parent):this.unexpectedClose(e)}endFile(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.root.source.end=this.getPosition(this.tokenizer.position())}freeSemicolon(e){if(this.spaces+=e[1],this.current.nodes){let t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="",t.source.end=this.getPosition(e[2]),t.source.end.offset+=t.raws.ownSemicolon.length)}}getPosition(e){let t=this.input.fromOffset(e);return{column:t.col,line:t.line,offset:e}}init(e,t){this.current.push(e),e.source={input:this.input,start:this.getPosition(t)},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)}other(e){let t=!1,n=null,o=!1,r=null,i=[],s=e[1].startsWith("--"),a=[],l=e;for(;l;){if(n=l[0],a.push(l),"("===n||"["===n)r||(r=l),i.push("("===n?")":"]");else if(s&&o&&"{"===n)r||(r=l),i.push("}");else if(0===i.length){if(";"===n){if(o)return void this.decl(a,s);break}if("{"===n)return void this.rule(a);if("}"===n){this.tokenizer.back(a.pop()),t=!0;break}":"===n&&(o=!0)}else n===i[i.length-1]&&(i.pop(),0===i.length&&(r=null));l=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),i.length>0&&this.unclosedBracket(r),t&&o){if(!s)for(;a.length&&(l=a[a.length-1][0],"space"===l||"comment"===l);)this.tokenizer.back(a.pop());this.decl(a,s)}else this.unknownWord(a)}parse(){let e;for(;!this.tokenizer.endOfFile();)switch(e=this.tokenizer.nextToken(),e[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()}precheckMissedSemicolon(){}raw(e,t,n,o){let r,i,s,a,l=n.length,c="",d=!0;for(let e=0;ee+t[1],"");e.raws[t]={raw:o,value:c}}e[t]=c}rule(e){e.pop();let t=new a;this.init(t,e[0][2]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t}spacesAndCommentsFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t||"comment"===t);)n=e.pop()[1]+n;return n}spacesAndCommentsFromStart(e){let t,n="";for(;e.length&&(t=e[0][0],"space"===t||"comment"===t);)n+=e.shift()[1];return n}spacesFromEnd(e){let t,n="";for(;e.length&&(t=e[e.length-1][0],"space"===t);)n=e.pop()[1]+n;return n}stringFrom(e,t){let n="";for(let o=t;o=V},nextToken:function(e){if(F.length)return F.pop();if(B>=V)return;let t=!!e&&e.ignoreUnclosed;switch(n=L.charCodeAt(B),n){case a:case l:case c:case d:case u:A=B;do{A+=1,n=L.charCodeAt(A)}while(n===l||n===a||n===c||n===d||n===u);O=["space",L.slice(B,A)],B=A-1;break;case h:case f:case y:case v:case x:case g:case m:{let e=String.fromCharCode(n);O=[e,e,B];break}case p:if(D=$.length?$.pop()[1]:"",j=L.charCodeAt(B+1),"url"===D&&j!==o&&j!==r&&j!==l&&j!==a&&j!==c&&j!==u&&j!==d){A=B;do{if(T=!1,A=L.indexOf(")",A+1),-1===A){if(I||t){A=B;break}N("bracket")}for(R=A;L.charCodeAt(R-1)===i;)R-=1,T=!T}while(T);O=["brackets",L.slice(B,A+1),B,A],B=A}else B<=U?O=["(","(",B]:(A=L.indexOf(")",B+1),k=L.slice(B,A+1),-1===A||E.test(k)?(U=-1===A?V:A,O=["(","(",B]):(O=["brackets",k,B,A],B=A));break;case o:case r:S=n===o?"'":'"',A=B;do{if(T=!1,A=L.indexOf(S,A+1),-1===A){if(I||t){A=B+1;break}N("string")}for(R=A;L.charCodeAt(R-1)===i;)R-=1,T=!T}while(T);O=["string",L.slice(B,A+1),B,A],B=A;break;case w:_.lastIndex=B+1,_.test(L),A=0===_.lastIndex?L.length-1:_.lastIndex-2,O=["at-word",L.slice(B,A+1),B,A],B=A;break;case i:for(A=B,C=!0;L.charCodeAt(A+1)===i;)A+=1,C=!C;if(n=L.charCodeAt(A+1),C&&n!==s&&n!==l&&n!==a&&n!==c&&n!==d&&n!==u&&(A+=1,P.test(L.charAt(A)))){for(;P.test(L.charAt(A+1));)A+=1;L.charCodeAt(A+1)===l&&(A+=1)}O=["word",L.slice(B,A+1),B,A],B=A;break;default:n===s&&L.charCodeAt(B+1)===b?(A=L.indexOf("*/",B+2)+1,0===A&&(I||t?A=L.length:N("comment")),O=["comment",L.slice(B,A+1),B,A],B=A):(M.lastIndex=B+1,M.test(L),A=0===M.lastIndex?L.length-1:M.lastIndex-2,O=["word",L.slice(B,A+1),B,A],$.push(O),B=A)}return B++,O},position:function(){return B}}}},function(e,t,n){"use strict";let o=n(43),r=n(78),i=n(392),s=n(17);class a{constructor(e=[]){this.version="8.5.15",this.plugins=this.normalize(e)}normalize(e){let t=[];for(let n of e)if(!0===n.postcss?n=n():n.postcss&&(n=n.postcss),"object"==typeof n&&Array.isArray(n.plugins))t=t.concat(n.plugins);else if("object"==typeof n&&n.postcssPlugin)t.push(n);else if("function"==typeof n)t.push(n);else{if("object"!=typeof n||!n.parse&&!n.stringify)throw new Error(n+" is not a PostCSS plugin")}return t}process(e,t={}){return this.plugins.length||t.parser||t.stringifier||t.syntax?new r(this,e,t):new i(this,e,t)}use(e){return this.plugins=this.plugins.concat(this.normalize([e])),this}}e.exports=a,a.default=a,s.registerProcessor(a),o.registerProcessor(a)},function(e,t,n){"use strict";let o=n(79),r=n(47),i=n(48),s=n(25);n(81);class a{get content(){return this.result.css}get css(){return this.result.css}get map(){return this.result.map}get messages(){return[]}get opts(){return this.result.opts}get processor(){return this.result.processor}get root(){if(this._root)return this._root;let e,t=r;try{e=t(this._css,this._opts)}catch(e){this.error=e}if(this.error)throw this.error;return this._root=e,e}get[Symbol.toStringTag](){return"NoWorkResult"}constructor(e,t,n){t=t.toString(),this.stringified=!1,this._processor=e,this._css=t,this._opts=n,this._map=void 0;let r=s;this.result=new i(this._processor,void 0,this._opts),this.result.css=t;let a=this;Object.defineProperty(this.result,"root",{get:()=>a.root});let l=new o(r,void 0,this._opts,t);if(l.isMap()){let[e,t]=l.generate();e&&(this.result.css=e),t&&(this.result.map=t)}else l.clearAnnotation(),this.result.css=l.css}async(){return this.error?Promise.reject(this.error):Promise.resolve(this.result)}catch(e){return this.async().catch(e)}finally(e){return this.async().then(e,e)}sync(){if(this.error)throw this.error;return this.result}then(e,t){return this.async().then(e,t)}toString(){return this._css}warnings(){return[]}}e.exports=a,a.default=a},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TAILWIND_HASH_MANIFEST_ID=void 0,t.readTailwindHashesFromSsr=function(e=document){const t=e.getElementById(o);if(!(null==t?void 0:t.textContent))return[];try{const e=JSON.parse(t.textContent);return Array.isArray(e)?e.filter(e=>"string"==typeof e):[]}catch{return[]}};const o=t.TAILWIND_HASH_MANIFEST_ID="one-tailwind-hashes"},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TAILWIND_RUNTIME_ENABLED=void 0;t.TAILWIND_RUNTIME_ENABLED=!1},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.injectSiteUiCss=function(e,t){if("undefined"==typeof document)return;if(!t)return;const n=`style[data-siteui-id="${e}"]`;let o=document.head.querySelector(n);o||(o=document.createElement("style"),o.setAttribute("data-siteui-id",e),document.head.appendChild(o));o.textContent!==t&&(o.textContent=t)},t.removeSiteUiCss=function(e){if("undefined"==typeof document)return;const t=document.head.querySelector(`style[data-siteui-id="${e}"]`);t&&t.remove()}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.executeModuleBundle=function(e,t={}){if(!e)return{module:null,error:"No code to execute"};try{var n;const h={react:o,"react-dom":i,"react-dom/client":s,"react/jsx-runtime":r,mobx:a,"mobx-react":l,...t,"framer-motion":c.framerMotionRuntime,"motion/react":c.framerMotionRuntime},f=(d=h,e=>{if(e in d)return d[e];throw new Error(`@siteui require: module not found: ${e}`)}),p=(0,u.getOwnWindow)(),m=null!==(n=null==p?void 0:p.Function)&&void 0!==n?n:Function,y=new m("require","__REACT_FRAGMENT_MODULES__",`\nvar __REACT_FRAGMENT_EXPORT__ = {};\nvar exports = __REACT_FRAGMENT_EXPORT__;\nvar module = { exports: exports };\n${e}\nreturn module.exports !== exports ? module.exports : __REACT_FRAGMENT_EXPORT__;\n`);return{module:y(f,h),error:null}}catch(e){return console.error("[SiteUi] Module execution error:",e),{module:null,error:e instanceof Error?`${e.message}\n\nStack: ${e.stack||"N/A"}`:String(e)}}var d};var o=d(n(0)),r=d(n(15)),i=d(n(10)),s=d(n(63)),a=d(n(3)),l=d(n(5)),u=n(7),c=n(61);function d(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(d=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}},function(e,t,n){"use strict";var o=n(0),r=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=o.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var o,i={},u=null,c=null;for(o in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,o)&&!l.hasOwnProperty(o)&&(i[o]=t[o]);if(e&&e.defaultProps)for(o in t=e.defaultProps)void 0===i[o]&&(i[o]=t[o]);return{$$typeof:r,type:e,key:u,ref:c,props:i,_owner:a.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(15),r=n(0),i=n(82),s=n(49),a=n(400),l=n(28);function u(e){var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var c=u(r);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function h(...e){return c.useCallback(function(...e){return t=>{let n=!1;const o=e.map(e=>{const o=d(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;t{const{width:e,height:o,top:r,left:i,right:u,bottom:c,direction:d}=y.current;if(t||!1===l||!m.current||!e||!o)return;const h="rtl"===d,f="left"===n?h?`right: ${u}`:`left: ${i}`:h?`left: ${i}`:`right: ${u}`,g="bottom"===s?`bottom: ${c}`:`top: ${r}`;m.current.dataset.motionPopId=p;const b=document.createElement("style");v&&(b.nonce=v);const x=null!=a?a:document.head;return x.appendChild(b),b.sheet&&b.sheet.insertRule(`\n [data-motion-pop-id="${p}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${o}px !important;\n ${f}px !important;\n ${g}px !important;\n }\n `),()=>{var e;null===(e=m.current)||void 0===e||e.removeAttribute("data-motion-pop-id"),x.contains(b)&&x.removeChild(b)}},[t]),o.jsx(f,{isPresent:t,childRef:m,sizeRef:y,pop:l,children:!1===l?e:c.cloneElement(e,{ref:b})})}const m=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:a,presenceAffectsLayout:l,mode:u,anchorX:d,anchorY:h,root:f})=>{const m=i.useConstant(y),v=r.useId();let g=!0,b=r.useMemo(()=>(g=!1,{id:v,initial:t,isPresent:n,custom:a,onExitComplete:e=>{m.set(e,!0);for(const e of m.values())if(!e)return;s&&s()},register:e=>(m.set(e,!1),()=>m.delete(e))}),[n,m,s]);return l&&g&&(b={...b}),r.useMemo(()=>{m.forEach((e,t)=>m.set(t,!1))},[n]),c.useEffect(()=>{!n&&!m.size&&s&&s()},[n]),e=o.jsx(p,{pop:"popLayout"===u,isPresent:n,anchorX:d,anchorY:h,root:f,children:e}),o.jsx(i.PresenceContext.Provider,{value:b,children:e})};function y(){return new Map}const v=e=>e.key||"";function g(e){const t=[];return r.Children.forEach(e,e=>{r.isValidElement(e)&&t.push(e)}),t}const b=r.createContext(null);function x(){const e=function(){const e=r.useRef(!1);return i.useIsomorphicLayoutEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),e}(),[t,n]=r.useState(0),o=r.useCallback(()=>{e.current&&n(t+1)},[t]);return[r.useCallback(()=>s.frame.postRender(o),[o]),t]}const w=e=>!0===e,_=({children:e,id:t,inherit:n=!0})=>{const a=r.useContext(i.LayoutGroupContext),l=r.useContext(b),[u,c]=x(),d=r.useRef(null),h=a.id||l;null===d.current&&((e=>w(!0===e)||"id"===e)(n)&&h&&(t=t?h+"-"+t:h),d.current={id:t,group:w(n)&&a.group||s.nodeGroup()});const f=r.useMemo(()=>({...d.current,forceRender:u}),[c]);return o.jsx(i.LayoutGroupContext.Provider,{value:f,children:e})};function M(e){return"function"==typeof e}const E=r.createContext(null);function P(e,t){if("undefined"==typeof Proxy)return i.createMotionComponent;const n=new Map,o=(n,o)=>i.createMotionComponent(n,o,e,t);return new Proxy((e,t)=>o(e,t),{get:(r,s)=>"create"===s?o:(n.has(s)||n.set(s,i.createMotionComponent(s,void 0,e,t)),n.get(s))})}const k=P(a.featureBundle,a.createDomVisualElement);function C({children:e,as:t="ul",axis:n="y",onReorder:a,values:u,...c},d){const h=i.useConstant(()=>k[t]),f=[],p=r.useRef(!1),m=r.useRef(null);l.invariant(Boolean(u),"Reorder.Group must be provided a values prop","reorder-values");const y={axis:n,groupRef:m,registerItem:(e,t)=>{const o=f.findIndex(t=>e===t.value);-1!==o?f[o].layout=t[n]:f.push({value:e,layout:t[n]}),f.sort(S)},updateOrder:(e,t,n)=>{if(p.current)return;const o=function(e,t,n,o){if(!o)return e;const r=e.findIndex(e=>e.value===t);if(-1===r)return e;const i=o>0?1:-1,a=e[r+i];if(!a)return e;const u=e[r],c=a.layout,d=s.mixNumber(c.min,c.max,.5);return 1===i&&u.layout.max+n>d||-1===i&&u.layout.min+n{p.current=!1});const v={overflowAnchor:"none",...c.style};return o.jsx(h,{...c,style:v,ref:e=>{m.current=e,"function"==typeof d?d(e):d&&(d.current=e)},ignoreStrict:!0,children:o.jsx(E.Provider,{value:y,children:e})})}const A=r.forwardRef(C);function S(e,t){return e.layout.min-t.layout.min}function O(e){const t=i.useConstant(()=>s.motionValue(e)),{isStatic:n}=r.useContext(i.MotionConfigContext);if(n){const[,n]=r.useState(e);r.useEffect(()=>t.on("change",n),[])}return t}function T(e,t){const n=O(t()),o=()=>n.set(t());return o(),i.useIsomorphicLayoutEffect(()=>{const t=()=>s.frame.preRender(o,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),s.cancelFrame(o)}}),n}function R(e,t,n,o){if("function"==typeof e)return function(e){s.collectMotionValues.current=[],e();const t=T(s.collectMotionValues.current,e);return s.collectMotionValues.current=void 0,t}(e);if(void 0!==n&&!Array.isArray(n)&&"function"!=typeof t)return function(e,t,n,o){const r=i.useConstant(()=>Object.keys(n)),s=i.useConstant(()=>({}));for(const i of r)s[i]=R(e,t,n[i],o);return s}(e,t,n,o);const r=n,a="function"==typeof t?t:s.transform(t,r,o),l=Array.isArray(e)?j(e,a):j([e],([e])=>a(e)),u=Array.isArray(e)?void 0:e.accelerate;return u&&!u.isTransformed&&"function"!=typeof t&&Array.isArray(n)&&!1!==(null==o?void 0:o.clamp)&&(l.accelerate={...u,times:t,keyframes:n,isTransformed:!0,...(null==o?void 0:o.ease)?{ease:o.ease}:{}}),l}function j(e,t){const n=i.useConstant(()=>[]);return T(e,()=>{n.length=0;const o=e.length;for(let t=0;t0))return;I.set(r,a);const e="x"===n?r.scrollWidth-(u?window.innerWidth:r.clientWidth):r.scrollHeight-(u?window.innerHeight:r.clientHeight);L.set(r,e)}if(s>0){const e=L.get(r);if(("x"===n?u?window.scrollX:r.scrollLeft:u?window.scrollY:r.scrollTop)>=e)return}"x"===n?u?window.scrollBy({left:s}):r.scrollLeft+=s:u?window.scrollBy({top:s}):r.scrollTop+=s}function U(e,t=0){return s.isMotionValue(e)?e:O(t)}function N({children:e,style:t={},value:n,as:s="li",onDrag:a,onDragEnd:u,layout:c=!0,...d},h){const f=i.useConstant(()=>k[s]),p=r.useContext(E),m={x:U(t.x),y:U(t.y)},y=R([m.x,m.y],([e,t])=>e||t?1:"unset");l.invariant(Boolean(p),"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:v,registerItem:g,updateOrder:b,groupRef:x}=p;return o.jsx(f,{drag:v,...d,dragSnapToOrigin:!0,style:{...t,x:m.x,y:m.y,zIndex:y},layout:c,onDrag:(e,t)=>{const{velocity:o,point:r}=t,i=m[v].get();b(n,i,o[v]),F(x.current,r[v],v,o[v]),a&&a(e,t)},onDragEnd:(e,t)=>{!function(){if(V){const e=$(V,"y");e&&(I.delete(e),L.delete(e));const t=$(V,"x");t&&t!==e&&(I.delete(t),L.delete(t)),V=null}}(),u&&u(e,t)},onLayoutMeasure:e=>{g(n,e)},ref:h,ignoreStrict:!0,children:e})}const z=r.forwardRef(N);var W=Object.freeze({__proto__:null,Group:A,Item:z});function q(e){return"object"==typeof e&&!Array.isArray(e)}function H(e,t,n,o){return null==e?[]:"string"==typeof e&&q(t)?s.resolveElements(e,n,o):e instanceof NodeList?Array.from(e):Array.isArray(e)?e.filter(e=>null!=e):[e]}function G(e,t,n){return e*(t+1)+n*t}function K(e,t,n,o){return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?n:t.startsWith("<")?Math.max(0,n+parseFloat(t.slice(1))):null!==(r=o.get(t))&&void 0!==r?r:e;var r}function Y(e,t,n,o,r,i){!function(e,t,n){for(let o=0;ot&&r.at"number"==typeof e,oe=e=>e.every(ne);function re(e){const t={presenceContext:null,props:{},visualState:{renderState:{transform:{},transformOrigin:{},style:{},vars:{},attrs:{}},latestValues:{}}},n=s.isSVGElement(e)&&!s.isSVGSVGElement(e)?new s.SVGVisualElement(t):new s.HTMLVisualElement(t);n.mount(e),s.visualElementStore.set(e,n)}function ie(e){const t=new s.ObjectVisualElement({presenceContext:null,props:{},visualState:{renderState:{output:{}},latestValues:{}}});t.mount(e),s.visualElementStore.set(e,t)}function se(e,t,n,o){const r=[];if(function(e,t){return s.isMotionValue(e)||"number"==typeof e||"string"==typeof e&&!q(t)}(e,t))r.push(s.animateSingleValue(e,q(t)&&t.default||t,n&&n.default||n));else{if(null==e)return r;const i=H(e,t,o),a=i.length;l.invariant(Boolean(a),"No valid elements provided.","no-valid-elements");for(let e=0;e{var c;const d=ee(e),{delay:h=0,times:m=s.defaultOffset(d),type:y=t.type||"keyframes",repeat:v,repeatType:b,repeatDelay:x=0,...w}=n;let{ease:_=t.ease||"easeOut",duration:M}=n;const E="function"==typeof h?h(a,u):h,P=d.length,k=s.isGenerator(y)?y:null==r?void 0:r[y||"keyframes"];if(P<=2&&k){let e=100;if(2===P&&oe(d)){const t=d[1]-d[0];e=Math.abs(t)}const n={...t,...w};void 0!==M&&(n.duration=l.secondsToMilliseconds(M));const o=s.createGeneratorEasing(n,e,k);_=o.ease,M=o.duration}null!==(c=M)&&void 0!==c||(M=i);const C=f+E;1===m.length&&0===m[0]&&(m[1]=1);const A=m.length-d.length;if(A>0&&s.fillOffset(m,A),1===d.length&&d.unshift(null),v&&l.warning(v<20,`Sequence segments can't repeat ${v} times — ignoring repeat option. Use a value below 20 or apply repeat at the sequence level instead.`),v&&v<20){const e=M>0?x/M:0;M=G(M,v,x);const t=[...d],n=[...m];_=Array.isArray(_)?[..._]:[_];const o=[..._],r="reverse"===b||"mirror"===b;let i=t,s=o;r&&(i=[...t].reverse(),"reverse"===b&&(s=[...o].reverse().map(e=>"function"==typeof e?l.reverseEasing(e):e)));for(let a=0;a0&&(d.push(d[d.length-1]),m.push(f),_.push("linear")),d.push(...c);for(let e=0;e{for(const r in e){const i=e[r];i.sort(J);const s=[],u=[],c=[];for(let e=0;e{if(Array.isArray(e)&&"function"==typeof e[0]){const t=e[0],n=s.motionValue(0);return n.on("change",t),1===e.length?[n,[0,1]]:2===e.length?[n,[0,1],e[1]]:[n,e[1],e[2]]}return e}),t,n,{spring:s.spring});return r.forEach(({keyframes:e,transition:t},n)=>{o.push(...se(n,e,t))}),o}function le(e={}){const{scope:t,reduceMotion:n,skipAnimations:o}=e;return function(e,r,i){let a,u=[];const c={};if(void 0!==n&&(c.reduceMotion=n),void 0!==o&&(c.skipAnimations=o),d=e,Array.isArray(d)&&d.some(Array.isArray)){const{onComplete:n,...o}=r||{};"function"==typeof n&&(a=n),u=ae(e,{...c,...o},t)}else{const{onComplete:n,...o}=i||{};"function"==typeof n&&(a=n),u=se(e,r,{...c,...o},t)}var d;const h=new s.GroupAnimationWithThen(u);return a&&h.finished.then(a),t&&(t.animations.push(h),h.finished.then(()=>{l.removeItem(t.animations,h)})),h}}const ue=le();const ce=e=>function(t,n,o){return new s.GroupAnimationWithThen(function(e,t,n,o){if(null==e)return[];const r=s.resolveElements(e,o),i=r.length;l.invariant(Boolean(i),"No valid elements provided.","no-valid-elements");const a=[];for(let e=0;et.delete(n)),u.push(r)}return u}(t,n,o,e))},de=ce();function he(e){return"undefined"!=typeof window&&(e?s.supportsViewTimeline():s.supportsScrollTimeline())}const fe={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function pe(e,t,n,o){const r=n[t],{length:i,position:s}=fe[t],a=r.current,u=n.time;r.current=Math.abs(e[`scroll${s}`]),r.scrollLength=e[`scroll${i}`]-e[`client${i}`],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=l.progress(0,r.scrollLength,r.current);const c=o-u;r.velocity=c>50?0:l.velocityPerSecond(r.current-a,c)}const me={start:0,center:.5,end:1};function ye(e,t,n=0){let o=0;if(e in me&&(e=me[e]),"string"==typeof e){const t=parseFloat(e);e.endsWith("px")?o=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?o=t/100*document.documentElement.clientWidth:e.endsWith("vh")?o=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(o=t*e),n+o}const ve=[0,0];function ge(e,t,n,o){let r=Array.isArray(e)?e:ve,i=0,s=0;return"number"==typeof e?r=[e,e]:"string"==typeof e&&(r=(e=e.trim()).includes(" ")?e.split(" "):[e,me[e]?e:"0"]),i=ye(r[0],n,o),s=ye(r[1],t),i-s}const be={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},xe={x:0,y:0};function we(e,t,n){const{offset:o=be.All}=n,{target:r=e,axis:i="y"}=n,a="y"===i?"height":"width",u=r!==e?function(e,t){const n={x:0,y:0};let o=e;for(;o&&o!==t;)if(s.isHTMLElement(o))n.x+=o.offsetLeft,n.y+=o.offsetTop,o=o.offsetParent;else if("svg"===o.tagName){const e=o.getBoundingClientRect();o=o.parentElement;const t=o.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else{if(!(o instanceof SVGGraphicsElement))break;{const{x:e,y:t}=o.getBBox();n.x+=e,n.y+=t;let r=null,i=o.parentNode;for(;!r;)"svg"===i.tagName&&(r=i),i=o.parentNode;o=r}}return n}(r,e):xe,c=r===e?{width:e.scrollWidth,height:e.scrollHeight}:function(e){return"getBBox"in e&&"svg"!==e.tagName?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}(r),d={width:e.clientWidth,height:e.clientHeight};t[i].offset.length=0;let h=!t[i].interpolate;const f=o.length;for(let e=0;e{!function(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let o=t;for(;o&&o!==e;)n.x.targetOffset+=o.offsetLeft,n.y.targetOffset+=o.offsetTop,o=o.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}(e,o.target,n),function(e,t,n){pe(e,"x",t,n),pe(e,"y",t,n),t.time=n}(e,n,t),(o.offset||o.target)&&we(e,n,o)},notify:()=>t(n)}}const Me=new WeakMap,Ee=new WeakMap,Pe=new WeakMap,ke=new WeakMap,Ce=new WeakMap,Ae=e=>e===document.scrollingElement?window:e;function Se(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...o}={}){if(!t)return l.noop;let r=Pe.get(t);r||(r=new Set,Pe.set(t,r));const i=_e(t,e,{time:0,x:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0},y:{current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}},o);if(r.add(i),!Me.has(t)){const e=()=>{for(const e of r)e.measure(s.frameData.timestamp);s.frame.preUpdate(n)},n=()=>{for(const e of r)e.notify()},o=()=>s.frame.read(e);Me.set(t,o);const i=Ae(t);window.addEventListener("resize",o),t!==document.documentElement&&Ee.set(t,s.resize(t,o)),i.addEventListener("scroll",o),o()}if(n&&!Ce.has(t)){const e=Me.get(t),n={width:t.scrollWidth,height:t.scrollHeight};ke.set(t,n);const o=()=>{const o=t.scrollWidth,r=t.scrollHeight;n.width===o&&n.height===r||(e(),n.width=o,n.height=r)},r=s.frame.read(o,!0);Ce.set(t,r)}const a=Me.get(t);return s.frame.read(a,!1,!0),()=>{s.cancelFrame(a);const e=Pe.get(t);if(!e)return;if(e.delete(i),e.size)return;const n=Me.get(t);var o;(Me.delete(t),n)&&(Ae(t).removeEventListener("scroll",n),null===(o=Ee.get(t))||void 0===o||o(),window.removeEventListener("resize",n));const r=Ce.get(t);r&&(s.cancelFrame(r),Ce.delete(t)),ke.delete(t)}}const Oe=[[be.Enter,"entry"],[be.Exit,"exit"],[be.Any,"cover"],[be.All,"contain"]],Te={start:0,end:1};function Re(e){const t=e.trim().split(/\s+/);if(2!==t.length)return;const n=Te[t[0]],o=Te[t[1]];return void 0!==n&&void 0!==o?[n,o]:void 0}function je(e,t){const n=function(e){if(2!==e.length)return;const t=[];for(const n of e)if(Array.isArray(n))t.push(n);else{if("string"!=typeof n)return;{const e=Re(n);if(!e)return;t.push(e)}}return t}(e);if(!n)return!1;for(let e=0;e<2;e++){const o=n[e],r=t[e];if(o[0]!==r[0]||o[1]!==r[1])return!1}return!0}function De(e){if(!e)return{rangeStart:"contain 0%",rangeEnd:"contain 100%"};for(const[t,n]of Oe)if(je(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}const Le=new Map;function Ie(e){const t={value:0},n=Se(n=>{t.value=100*n[e.axis].progress},e);return{currentTime:t,cancel:n}}function Ve({source:e,container:t,...n}){var o,r;const{axis:i}=n;e&&(t=e);let s=Le.get(t);s||(s=new Map,Le.set(t,s));const a=null!==(o=n.target)&&void 0!==o?o:"self";let l=s.get(a);l||(l={},s.set(a,l));const u=i+(null!==(r=n.offset)&&void 0!==r?r:[]).join(",");if(!l[u])if(n.target&&he(n.target)){const e=De(n.offset);l[u]=e?new ViewTimeline({subject:n.target,axis:i}):Ie({container:t,...n})}else he()?l[u]=new ScrollTimeline({source:t,axis:i}):l[u]=Ie({container:t,...n});return l[u]}function Be(e,{axis:t="y",container:n=document.scrollingElement,...o}={}){if(!n)return l.noop;const r={axis:t,container:n,...o};return"function"==typeof e?function(e,t){return function(e){return 2===e.length}(e)||function(e){return e&&(e.target||e.offset)}(t)?Se(n=>{e(n[t.axis].progress,n)},t):s.observeTimeline(e,Ve(t))}(e,r):function(e,t){const n=Ve(t),o=t.target?De(t.offset):void 0,r=t.target?he(t.target)&&!!o:he();return e.attachTimeline({timeline:r?n:void 0,...o&&r&&{rangeStart:o.rangeStart,rangeEnd:o.rangeEnd},observe:e=>(e.pause(),s.observeTimeline(t=>{e.time=e.iterationDuration*t},n))})}(e,r)}const $e={some:0,all:1};function Fe(e,t,{root:n,margin:o,amount:r="some"}={}){const i=s.resolveElements(e),a=new WeakMap,l=new IntersectionObserver(e=>{e.forEach(e=>{const n=a.get(e.target);if(e.isIntersecting!==Boolean(n))if(e.isIntersecting){const n=t(e.target,e);"function"==typeof n?a.set(e.target,n):l.unobserve(e.target)}else"function"==typeof n&&(n(e),a.delete(e.target))})},{root:n,rootMargin:o,threshold:"number"==typeof r?r:$e[r]});return i.forEach(e=>l.observe(e)),()=>l.disconnect()}const Ue=P();function Ne(e){return r.useEffect(()=>()=>e(),[])}const ze={renderer:a.createDomVisualElement,...a.animations,...a.gestureAnimations},We={...ze,...a.drag,...a.layout},qe={renderer:a.createDomVisualElement,...a.animations};function He(e,t,n){r.useInsertionEffect(()=>e.on(t,n),[e,t,n])}const Ge=()=>({scrollX:s.motionValue(0),scrollY:s.motionValue(0),scrollXProgress:s.motionValue(0),scrollYProgress:s.motionValue(0)}),Ke=e=>!!e&&!e.current;function Ye(e,t,n,o){return{factory:r=>{let i;const a=()=>{Ke(n)||Ke(o)?s.microtask.read(a):i=Be(r,{...t,axis:e,container:(null==n?void 0:n.current)||void 0,target:(null==o?void 0:o.current)||void 0})};return s.microtask.read(a),()=>{var e;s.cancelMicrotask(a),null===(e=i)||void 0===e||e()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function Xe({container:e,target:t,...n}={}){const o=i.useConstant(Ge);(function(e,t){return"undefined"!=typeof window&&(e?s.supportsViewTimeline()&&!!De(t):s.supportsScrollTimeline())})(t,n.offset)&&(o.scrollXProgress.accelerate=Ye("x",n,e,t),o.scrollYProgress.accelerate=Ye("y",n,e,t));const a=r.useRef(null),u=r.useRef(!1),c=r.useCallback(()=>(a.current=Be((e,{x:t,y:n})=>{o.scrollX.set(t.current),o.scrollXProgress.set(t.progress),o.scrollY.set(n.current),o.scrollYProgress.set(n.progress)},{...n,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0}),()=>{var e;null===(e=a.current)||void 0===e||e.call(a)}),[e,t,JSON.stringify(n.offset)]);return i.useIsomorphicLayoutEffect(()=>(u.current=!1,Ke(e)||Ke(t)?void(u.current=!0):c()),[c]),r.useEffect(()=>{if(!u.current)return;let n;const o=()=>{const o=Ke(e),r=Ke(t);l.invariant(!o,"Container ref is defined but not hydrated","use-scroll-ref"),l.invariant(!r,"Target ref is defined but not hydrated","use-scroll-ref"),o||r||(n=c())};return s.microtask.read(o),()=>{var e;s.cancelMicrotask(o),null===(e=n)||void 0===e||e()}},[c]),o}function Je(e,t={}){const{isStatic:n}=r.useContext(i.MotionConfigContext),o=()=>s.isMotionValue(e)?e.get():e;if(n)return R(o);const a=O(o());return r.useInsertionEffect(()=>s.attachFollow(a,e,t),[a,JSON.stringify(t)]),a}function Ze(e){const t=r.useRef(0),{isStatic:n}=r.useContext(i.MotionConfigContext);r.useEffect(()=>{if(n)return;const o=({timestamp:n,delta:o})=>{t.current||(t.current=n),e(n-t.current,o)};return s.frame.update(o,!0),()=>s.cancelFrame(o)},[e])}class Qe extends s.MotionValue{constructor(){super(...arguments),this.isEnabled=!1}add(e){(s.transformProps.has(e)||s.acceleratedValues.has(e))&&(this.isEnabled=!0,this.update())}update(){this.set(this.isEnabled?"transform":"auto")}}function et(){!s.hasReducedMotionListener.current&&s.initPrefersReducedMotion();const[e]=r.useState(s.prefersReducedMotion.current);return e}function tt(){const e=et(),{reducedMotion:t}=r.useContext(i.MotionConfigContext);return"never"!==t&&("always"===t||e)}function nt(e,t){[...t].reverse().forEach(n=>{const o=e.getVariant(n);o&&s.setTarget(e,o),e.variantChildren&&e.variantChildren.forEach(e=>{nt(e,t)})})}function ot(){let e=!1;const t=new Set,n={subscribe:e=>(t.add(e),()=>{t.delete(e)}),start(n,o){l.invariant(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");const r=[];return t.forEach(e=>{r.push(s.animateVisualElement(e,n,{transitionOverride:o}))}),Promise.all(r)},set:n=>(l.invariant(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{!function(e,t){Array.isArray(t)?nt(e,t):"string"==typeof t?nt(e,[t]):s.setTarget(e,t)}(e,n)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,n.stop()})};return n}function rt(){const e=i.useConstant(ot);return i.useIsomorphicLayoutEffect(e.mount,[]),e}const it=rt;class st{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}cancel(){this.componentControls.forEach(e=>{e.cancel()})}stop(){this.componentControls.forEach(e=>{e.stop()})}}const at=()=>new st;function lt(e){return null!==e&&"object"==typeof e&&i.motionComponentSymbol in e}function ut(){return ct}function ct(e){s.rootProjectionNode.current&&(s.rootProjectionNode.current.isUpdating=!1,s.rootProjectionNode.current.blockUpdate(),e&&e())}const dt=new Map,ht=new Map,ft=(e,t)=>`${e}: ${s.transformProps.has(t)?"transform":t}`;function pt(e,t,n){var o,r;const i=ft(e,t),s=dt.get(i);if(!s)return null;const{animation:a,startTime:l}=s;function u(){var o,r;null===(o=(r=window).MotionCancelOptimisedAnimation)||void 0===o||o.call(r,e,t,n)}return a.onfinish=u,null===l||(null===(o=(r=window).MotionHandoffIsComplete)||void 0===o?void 0:o.call(r,e))?(u(),null):l}let mt,yt;const vt=new Set;function gt(){vt.forEach(e=>{e.animation.play(),e.animation.startTime=e.startTime}),vt.clear()}const bt=()=>({});class xt extends s.VisualElement{constructor(){super(...arguments),this.measureInstanceViewportBox=s.createBox}build(){}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return{}}getBaseTargetFromProps(){}readValueFromInstance(e,t,n){return n.initialState[t]||0}sortInstanceNodePosition(){return 0}}const wt=i.makeUseVisualState({scrapeMotionValuesFromProps:bt,createRenderState:bt});let _t=0;const Mt=e=>e>.001?1/e:1e5;let Et=!1;t.LayoutGroupContext=i.LayoutGroupContext,t.MotionConfigContext=i.MotionConfigContext,t.MotionContext=i.MotionContext,t.PresenceContext=i.PresenceContext,t.SwitchLayoutGroupContext=i.SwitchLayoutGroupContext,t.filterProps=i.filterProps,t.isBrowser=i.isBrowser,t.isValidMotionProp=i.isValidMotionProp,t.makeUseVisualState=i.makeUseVisualState,t.useIsomorphicLayoutEffect=i.useIsomorphicLayoutEffect,Object.defineProperty(t,"VisualElement",{enumerable:!0,get:function(){return s.VisualElement}}),Object.defineProperty(t,"addScaleCorrector",{enumerable:!0,get:function(){return s.addScaleCorrector}}),Object.defineProperty(t,"animateVisualElement",{enumerable:!0,get:function(){return s.animateVisualElement}}),Object.defineProperty(t,"arc",{enumerable:!0,get:function(){return s.arc}}),Object.defineProperty(t,"buildTransform",{enumerable:!0,get:function(){return s.buildTransform}}),Object.defineProperty(t,"calcLength",{enumerable:!0,get:function(){return s.calcLength}}),Object.defineProperty(t,"createBox",{enumerable:!0,get:function(){return s.createBox}}),Object.defineProperty(t,"delay",{enumerable:!0,get:function(){return s.delay}}),Object.defineProperty(t,"optimizedAppearDataAttribute",{enumerable:!0,get:function(){return s.optimizedAppearDataAttribute}}),Object.defineProperty(t,"resolveMotionValue",{enumerable:!0,get:function(){return s.resolveMotionValue}}),Object.defineProperty(t,"visualElementStore",{enumerable:!0,get:function(){return s.visualElementStore}}),t.addPointerEvent=a.addPointerEvent,t.addPointerInfo=a.addPointerInfo,t.animations=a.animations,t.distance=a.distance,t.distance2D=a.distance2D,t.useIsPresent=a.useIsPresent,t.usePresence=a.usePresence,Object.defineProperty(t,"MotionGlobalConfig",{enumerable:!0,get:function(){return l.MotionGlobalConfig}}),t.AnimatePresence=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1,anchorX:d="left",anchorY:h="top",root:f})=>{const[p,y]=a.usePresence(c),b=r.useMemo(()=>g(e),[e]),x=c&&!p?[]:b.map(v),w=r.useRef(!0),_=r.useRef(b),M=i.useConstant(()=>new Map),E=r.useRef(new Set),[P,k]=r.useState(b),[C,A]=r.useState(b);i.useIsomorphicLayoutEffect(()=>{w.current=!1,_.current=b;for(let e=0;e{const r=v(e),i=!(c&&!p)&&(b===C||x.includes(r));return o.jsx(m,{isPresent:i,initial:!(w.current&&!n)&&void 0,custom:t,presenceAffectsLayout:l,mode:u,root:f,onExitComplete:i?void 0:()=>{if(E.current.has(r))return;if(!M.has(r))return;E.current.add(r),M.set(r,!0);let e=!0;M.forEach(t=>{t||(e=!1)}),e&&(null==O||O(),A(_.current),c&&(null==y||y()),s&&s())},anchorX:d,anchorY:h,children:e},r)})})},t.AnimateSharedLayout=({children:e})=>(c.useEffect(()=>{l.invariant(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),o.jsx(_,{id:i.useConstant(()=>"asl-"+_t++),children:e})),t.DeprecatedLayoutGroupContext=b,t.DragControls=st,t.LayoutGroup=_,t.LazyMotion=function({children:e,features:t,strict:n=!1}){const[,s]=r.useState(!M(t)),a=r.useRef(void 0);if(!M(t)){const{renderer:e,...n}=t;a.current=e,i.loadFeatures(n)}return r.useEffect(()=>{M(t)&&t().then(({renderer:e,...t})=>{i.loadFeatures(t),a.current=e,s(!0)})},[]),o.jsx(i.LazyContext.Provider,{value:{renderer:a.current,strict:n},children:e})},t.MotionConfig=function({children:e,isValidProp:t,...n}){t&&i.loadExternalIsValidProp(t);const a=r.useContext(i.MotionConfigContext);(n={...a,...n}).transition=s.resolveTransition(n.transition,a.transition),n.isStatic=i.useConstant(()=>n.isStatic);const l=r.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion,n.skipAnimations]);return o.jsx(i.MotionConfigContext.Provider,{value:l,children:e})},t.PopChild=p,t.PresenceChild=m,t.Reorder=W,t.WillChangeMotionValue=Qe,t.animate=ue,t.animateMini=de,t.animationControls=ot,t.correctParentTransform=function(e){return t=>{const n=e.current;if(!n)return t;const o=function(e){const{transform:t}=getComputedStyle(e);if(!t||"none"===t)return null;const n=t.match(/^matrix3d\((.*)\)$/u)||t.match(/^matrix\((.*)\)$/u);if(!n)return null;const o=n[1].split(",").map(Number),r=t.startsWith("matrix3d"),i=o[0],s=o[1],a=r?o[4]:o[2],l=r?o[5]:o[3],u=i*l-s*a;return Math.abs(u)<1e-10?null:{a:l/u,b:-s/u,c:-a/u,d:i/u}}(n);if(!o)return t;const r=n.getBoundingClientRect(),i=r.left+window.scrollX+r.width/2,s=r.top+window.scrollY+r.height/2,a=t.x-i,l=t.y-s;return{x:i+o.a*a+o.c*l,y:s+o.b*a+o.d*l}}},t.createScopedAnimate=le,t.disableInstantTransitions=function(){l.MotionGlobalConfig.instantAnimations=!1},t.domAnimation=ze,t.domMax=We,t.domMin=qe,t.inView=Fe,t.isMotionComponent=lt,t.m=Ue,t.motion=k,t.scroll=Be,t.scrollInfo=Se,t.startOptimizedAppearAnimation=function(e,t,n,o,r){if(window.MotionIsMounted)return;const i=e.dataset[s.optimizedAppearDataId];if(!i)return;window.MotionHandoffAnimation=pt;const a=ft(i,t);yt||(yt=s.startWaapiAnimation(e,t,[n[0],n[0]],{duration:1e4,ease:"linear"}),dt.set(a,{animation:yt,startTime:null}),window.MotionHandoffAnimation=pt,window.MotionHasOptimisedAnimation=(e,t)=>{if(!e)return!1;if(!t)return ht.has(e);const n=ft(e,t);return Boolean(dt.get(n))},window.MotionHandoffMarkAsComplete=e=>{ht.has(e)&&ht.set(e,!0)},window.MotionHandoffIsComplete=e=>!0===ht.get(e),window.MotionCancelOptimisedAnimation=(e,t,n,o)=>{const r=ft(e,t),i=dt.get(r);i&&(n&&void 0===o?n.postRender(()=>{n.postRender(()=>{i.animation.cancel()})}):i.animation.cancel(),n&&o?(vt.add(i),n.render(gt)):(dt.delete(r),dt.size||(window.MotionCancelOptimisedAnimation=void 0)))},window.MotionCheckAppearSync=(e,t,n)=>{var o,r,i;const a=s.getOptimisedAppearId(e);if(!a)return;const l=null===(o=(r=window).MotionHasOptimisedAnimation)||void 0===o?void 0:o.call(r,a,t),u=null===(i=e.props.values)||void 0===i?void 0:i[t];if(!l||!u)return;const c=n.on("change",e=>{var n,o;u.get()!==e&&(null===(n=(o=window).MotionCancelOptimisedAnimation)||void 0===n||n.call(o,a,t),c())});return c});const u=()=>{yt.cancel();const i=s.startWaapiAnimation(e,t,n,o);void 0===mt&&(mt=performance.now()),i.startTime=mt,dt.set(a,{animation:i,startTime:mt}),r&&r(i)};ht.set(i,!1),yt.ready?yt.ready.then(u).catch(l.noop):u()},t.transformViewBoxPoint=function(e){return t=>{var n;const o=e.current;if(!o)return t;const r=null===(n=o.viewBox)||void 0===n?void 0:n.baseVal;if(!r||0===r.width&&0===r.height)return t;const i=o.getBoundingClientRect();if(0===i.width||0===i.height)return t;const s=r.width/i.width,a=r.height/i.height,l=i.left+window.scrollX,u=i.top+window.scrollY;return{x:(t.x-l)*s+l,y:(t.y-u)*a+u}}},t.unwrapMotionComponent=function(e){if(lt(e))return e[i.motionComponentSymbol]},t.useAnimate=function(){var e;const t=i.useConstant(()=>({current:null,animations:[]})),n=null!==(e=tt())&&void 0!==e?e:void 0,{skipAnimations:o}=r.useContext(i.MotionConfigContext),s=r.useMemo(()=>le({scope:t,reduceMotion:n,skipAnimations:o}),[t,n,o]);return Ne(()=>{t.animations.forEach(e=>e.stop()),t.animations.length=0}),[t,s]},t.useAnimateMini=function(){const e=i.useConstant(()=>({current:null,animations:[]})),t=i.useConstant(()=>ce(e));return Ne(()=>{e.animations.forEach(e=>e.stop())}),[e,t]},t.useAnimation=it,t.useAnimationControls=rt,t.useAnimationFrame=Ze,t.useComposedRefs=h,t.useCycle=function(...e){const t=r.useRef(0),[n,o]=r.useState(e[t.current]);return[n,r.useCallback(n=>{t.current="number"!=typeof n?l.wrap(0,e.length,t.current+1):n,o(e[t.current])},[e.length,...e])]},t.useDeprecatedAnimatedState=function(e){const[t,n]=r.useState(e),o=wt({},!1),a=i.useConstant(()=>new xt({props:{onUpdate:e=>{n({...e})}},visualState:o,presenceContext:null},{initialState:e}));return r.useLayoutEffect(()=>(a.mount({}),()=>a.unmount()),[a]),[t,i.useConstant(()=>e=>s.animateVisualElement(a,e))]},t.useDeprecatedInvertedScale=function(e){let t=O(1),n=O(1);const{visualElement:o}=r.useContext(i.MotionContext);return l.invariant(!(!e&&!o),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),l.warning(Et,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),Et=!0,e?(t=e.scaleX||t,n=e.scaleY||n):o&&(t=o.getValue("scaleX",1),n=o.getValue("scaleY",1)),{scaleX:R(t,Mt),scaleY:R(n,Mt)}},t.useDomEvent=function(e,t,n,o){r.useEffect(()=>{const r=e.current;if(n&&r)return s.addDomEvent(r,t,n,o)},[e,t,n,o])},t.useDragControls=function(){return i.useConstant(at)},t.useElementScroll=function(e){return Xe({container:e})},t.useFollowValue=Je,t.useForceUpdate=x,t.useInView=function(e,{root:t,margin:n,amount:o,once:i=!1,initial:s=!1}={}){const[a,l]=r.useState(s);return r.useEffect(()=>{if(!e.current||i&&a)return;const r={root:t&&t.current||void 0,margin:n,amount:o};return Fe(e.current,()=>(l(!0),i?void 0:()=>l(!1)),r)},[t,e,n,i,o]),a},t.useInstantLayoutTransition=ut,t.useInstantTransition=function(){const[e,t]=x(),n=ut(),o=r.useRef(-1);return r.useEffect(()=>{s.frame.postRender(()=>s.frame.postRender(()=>{t===o.current&&(l.MotionGlobalConfig.instantAnimations=!1)}))},[t]),r=>{n(()=>{l.MotionGlobalConfig.instantAnimations=!0,e(),r(),o.current=t+1})}},t.useMotionTemplate=function(e,...t){const n=e.length;return T(t.filter(s.isMotionValue),function(){let o="";for(let r=0;r{const e=()=>t(!document.hidden);return document.hidden&&e(),document.addEventListener("visibilitychange",e),()=>{document.removeEventListener("visibilitychange",e)}},[]),e},t.usePresenceData=function(){const e=r.useContext(i.PresenceContext);return e?e.custom:void 0},t.useReducedMotion=et,t.useReducedMotionConfig=tt,t.useResetProjection=function(){return r.useCallback(()=>{const e=s.rootProjectionNode.current;e&&e.resetTree()},[])},t.useScroll=Xe,t.useSpring=function(e,t={}){return Je(e,{type:"spring",...t})},t.useTime=function(){const e=O(0);return Ze(t=>e.set(t)),e},t.useTransform=R,t.useUnmountEffect=Ne,t.useVelocity=function(e){const t=O(e.getVelocity()),n=()=>{const o=e.getVelocity();t.set(o),o&&s.frame.update(n)};return He(e,"change",()=>{s.frame.update(n,!1,!0)}),t},t.useViewportScroll=function(){return Xe()},t.useWillChange=function(){return i.useConstant(()=>new Qe("auto"))},Object.keys(s).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}})}),Object.keys(l).forEach(function(e){"default"===e||Object.prototype.hasOwnProperty.call(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}})})},function(e,t){function n(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id=399},function(e,t,n){"use strict";var o=n(49),r=n(0),i=n(82),s=n(28),a=n(15);function l(e=!0){const t=r.useContext(i.PresenceContext);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:o,register:s}=t,a=r.useId();r.useEffect(()=>{if(e)return s(a)},[e]);const l=r.useCallback(()=>e&&o&&o(a),[a,o,e]);return!n&&o?[!1,l]:[!0]}class u extends o.Feature{constructor(e){super(e),e.animationState||(e.animationState=o.createAnimationState(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();o.isAnimationControls(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}let c=0;class d extends o.Feature{constructor(){super(...arguments),this.id=c++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&!1===n){if(this.isExitComplete){const{initial:e,custom:t}=this.node.getProps();if("string"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)){const n=o.resolveVariant(this.node,e,t);if(n){const{transition:e,transitionEnd:t,...o}=n;for(const e in o){var r;null===(r=this.node.getValue(e))||void 0===r||r.jump(o[e])}}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){const{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const h={animation:{Feature:u},exit:{Feature:d}};function f(e){return{point:{x:e.pageX,y:e.pageY}}}const p=e=>t=>o.isPrimaryPointer(t)&&e(t,f(t));function m(e,t,n,r){return o.addDomEvent(e,t,p(n),r)}const y=({current:e})=>e?e.ownerDocument.defaultView:null,v=(e,t)=>Math.abs(e-t);function g(e,t){const n=v(e.x,t.x),o=v(e.y,t.y);return Math.sqrt(n**2+o**2)}const b=new Set(["auto","scroll"]);class x{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:l}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=w(this.lastRawMoveEventInfo,this.transformPagePoint));const e=M(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=g(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;const{point:r}=e,{timestamp:i}=o.frameData;this.history.push({...r,timestamp:i});const{onStart:s,onMove:a}=this.handlers;t||(s&&s(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=w(t,this.transformPagePoint),o.frame.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:o,resumeAnimation:r}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=M("pointercancel"===e.type?this.lastMoveEventInfo:w(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),o&&o(e,i)},!o.isPrimaryPointer(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;const u=w(f(e),this.transformPagePoint),{point:c}=u,{timestamp:d}=o.frameData;this.history=[{...c,timestamp:d}];const{onSessionStart:h}=t;h&&h(e,M(u,this.history)),this.removeListeners=s.pipe(m(this.contextWindow,"pointermove",this.handlePointerMove),m(this.contextWindow,"pointerup",this.handlePointerUp),m(this.contextWindow,"pointercancel",this.handlePointerUp)),l&&this.startScrollTracking(l)}startScrollTracking(e){let t=e.parentElement;for(;t;){const e=getComputedStyle(t);(b.has(e.overflowX)||b.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const t=this.scrollPositions.get(e);if(!t)return;const n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i=r.x-t.x,s=r.y-t.y;0===i&&0===s||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i,this.lastMoveEventInfo.point.y+=s):this.history.length>0&&(this.history[0].x-=i,this.history[0].y-=s),this.scrollPositions.set(e,r),o.frame.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),o.cancelFrame(this.updatePoint)}}function w(e,t){return t?{point:t(e.point)}:e}function _(e,t){return{x:e.x-t.x,y:e.y-t.y}}function M({point:e},t){return{point:e,delta:_(e,P(t)),offset:_(e,E(t)),velocity:k(t,.1)}}function E(e){return e[0]}function P(e){return e[e.length-1]}function k(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const r=P(e);for(;n>=0&&(o=e[n],!(r.timestamp-o.timestamp>s.secondsToMilliseconds(t)));)n--;if(!o)return{x:0,y:0};o===e[0]&&e.length>2&&r.timestamp-o.timestamp>2*s.secondsToMilliseconds(t)&&(o=e[1]);const i=s.millisecondsToSeconds(r.timestamp-o.timestamp);if(0===i)return{x:0,y:0};const a={x:(r.x-o.x)/i,y:(r.y-o.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function C(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function A(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min{t&&this.snapToCursor(f(e).point),this.stopAnimation()},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=o.setDragLock(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),o.eachAxis(e=>{let t=this.getAxisMotionValue(e).get()||0;if(o.percent.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];if(r){t=o.calcLength(r)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),i&&o.frame.update(()=>i(e,t),!1,!0),o.addValueToWillChange(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:s}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(a),void(null!==this.currentDirection&&i&&i(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),s&&o.frame.update(()=>s(e,t),!1,!0)},onSessionEnd:(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,distanceThreshold:n,contextWindow:y(this.visualElement),element:this.visualElement.current})}stop(e,t){const n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;const{velocity:s}=r;this.startAnimation(s);const{onDragEnd:a}=this.getProps();a&&o.frame.postRender(()=>a(n,r))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!L(e,r,this.currentDirection))return;const i=this.getAxisMotionValue(e);let s=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:n},r){return void 0!==t&&en&&(e=r?o.mixNumber(n,e,r.max):Math.min(e,n)),e}(s,this.constraints[e],this.elastic[e])),i.set(s)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,s=this.constraints;t&&i.isRefObject(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:o,right:r}){return{x:C(e.x,n,r),y:C(e.y,t,o)}}(r.layoutBox,t),this.elastic=function(e=S){return!1===e?e=0:!0===e&&(e=S),{x:O(e,"left","right"),y:O(e,"top","bottom")}}(n),s!==this.constraints&&!i.isRefObject(t)&&r&&this.constraints&&!this.hasMutatedConstraints&&o.eachAxis(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!i.isRefObject(e))return!1;const n=e.current;s.invariant(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());const a=o.measurePageBox(n,r.root,this.visualElement.getTransformPagePoint());let l=function(e,t){return{x:A(e.x,t.x),y:A(e.y,t.y)}}(r.layout.layoutBox,a);if(t){const e=t(o.convertBoxToBoundingBox(l));this.hasMutatedConstraints=!!e,e&&(l=o.convertBoundingBoxToBox(e))}return l}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=o.eachAxis(o=>{if(!L(o,t,this.currentDirection))return;let a=l&&l[o]||{};!0!==s&&s!==o||(a={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[o]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...i,...a};return this.startAxisValueAnimation(o,d)});return Promise.all(u).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return o.addValueToWillChange(this.visualElement,e),n.start(o.animateMotionValue(e,n,0,t,this.visualElement,!1))}stopAnimation(){o.eachAxis(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){var t;const n=`_drag${e.toUpperCase()}`,o=this.visualElement.getProps()[n];return o||this.visualElement.getValue(e,null!==(t=this.visualElement.latestValues[e])&&void 0!==t?t:0)}snapToCursor(e){o.eachAxis(t=>{const{drag:n}=this.getProps();if(!L(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:s}=r.layout.layoutBox[t],a=i.get()||0;i.set(e[t]-o.mixNumber(n,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!i.isRefObject(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};o.eachAxis(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=o.calcLength(e),i=o.calcLength(t);return i>r?n=s.progress(t.min,t.max-r,e.min):r>i&&(n=s.progress(e.min,e.max-i,t.min)),s.clamp(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:a}=this.visualElement.getProps();this.visualElement.current.style.transform=a?a({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),o.eachAxis(t=>{if(!L(t,e,null))return;const n=this.getAxisMotionValue(t),{min:i,max:s}=this.constraints[t];n.set(o.mixNumber(i,s,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;R.set(this.visualElement,this);const e=this.visualElement.current,t=m(e,"pointerdown",t=>{const{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,s=i!==e&&o.isElementTextInput(i);n&&r&&!s&&this.start(t)});let n;const r=()=>{const{dragConstraints:t}=this.getProps();i.isRefObject(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(e,t,n){const r=o.resize(e,D(n)),i=o.resize(t,D(n));return()=>{r(),i()}}(e,t.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,a=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),o.frame.read(r);const l=o.addDomEvent(window,"resize",()=>this.scalePositionWithinConstraints()),u=s.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(o.eachAxis(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{l(),t(),a(),u&&u(),n&&n()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:o=!1,dragConstraints:r=!1,dragElastic:i=S,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:o,dragConstraints:r,dragElastic:i,dragMomentum:s}}}function D(e){let t=!0;return()=>{t?t=!1:e()}}function L(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}class I extends o.Feature{constructor(e){super(e),this.removeGroupControls=s.noop,this.removeListeners=s.noop,this.controls=new j(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||s.noop}update(){const{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const V=e=>(t,n)=>{e&&o.frame.update(()=>e(t,n),!1,!0)};class B extends o.Feature{constructor(){super(...arguments),this.removePointerDownListener=s.noop}onPointerDown(e){this.session=new x(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:y(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:V(e),onStart:V(t),onMove:V(n),onEnd:(e,t)=>{delete this.session,r&&o.frame.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=m(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let $=!1;class F extends r.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),$&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),o.globalProjectionState.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:s}=n;return s?(s.isPresent=i,e.layoutDependency!==t&&s.setOptions({...s.options,layoutDependency:t}),$=!0,r||e.layoutDependency!==t||void 0===t||e.isPresent!==i?s.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?s.promote():s.relegate()||o.frame.postRender(()=>{const e=s.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),o.microtask.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:o}=e;$=!0,o&&(o.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(o),n&&n.deregister&&n.deregister(o))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function U(e){const[t,n]=l(),o=r.useContext(i.LayoutGroupContext);return a.jsx(F,{...e,layoutGroup:o,switchLayoutGroup:r.useContext(i.SwitchLayoutGroupContext),isPresent:t,safeToRemove:n})}const N={pan:{Feature:B},drag:{Feature:I,ProjectionNode:o.HTMLProjectionNode,MeasureLayout:U}};function z(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover","Start"===n);const i=r["onHover"+n];i&&o.frame.postRender(()=>i(t,f(t)))}class W extends o.Feature{mount(){const{current:e}=this.node;e&&(this.unmount=o.hover(e,(e,t)=>(z(this.node,t,"Start"),e=>z(this.node,e,"End"))))}unmount(){}}class q extends o.Feature{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=s.pipe(o.addDomEvent(this.node.current,"focus",()=>this.onFocus()),o.addDomEvent(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function H(e,t,n){const{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap","Start"===n);const i=r["onTap"+("End"===n?"":n)];i&&o.frame.postRender(()=>i(t,f(t)))}class G extends o.Feature{mount(){const{current:e}=this.node;if(!e)return;const{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=o.press(e,(e,t)=>(H(this.node,t,"Start"),(e,{success:t})=>H(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:!1===(null==n?void 0:n.tap)})}unmount(){}}const K=new WeakMap,Y=new WeakMap,X=e=>{const t=K.get(e.target);t&&t(e)},J=e=>{e.forEach(X)};function Z(e,t,n){const o=function({root:e,...t}){const n=e||document;Y.has(n)||Y.set(n,{});const o=Y.get(n),r=JSON.stringify(t);return o[r]||(o[r]=new IntersectionObserver(J,{root:e,...t})),o[r]}(t);return K.set(e,n),o.observe(e),()=>{K.delete(e),o.unobserve(e)}}const Q={some:0,all:1};class ee extends o.Feature{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;null===(e=this.stopObserver)||void 0===e||e.call(this);const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:r="some",once:i}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:"number"==typeof r?r:Q[r]};this.stopObserver=Z(this.node.current,s,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,i&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:o}=this.node.getProps(),r=t?n:o;r&&r(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){var e;null===(e=this.stopObserver)||void 0===e||e.call(this),this.hasEnteredView=!1,this.isInView=!1}}const te={inView:{Feature:ee},tap:{Feature:G},focus:{Feature:q},hover:{Feature:W}},ne={layout:{ProjectionNode:o.HTMLProjectionNode,MeasureLayout:U}},oe={...h,...te,...N,...ne};t.addPointerEvent=m,t.addPointerInfo=p,t.animations=h,t.createDomVisualElement=(e,t)=>{var n;return(null!==(n=t.isSVG)&&void 0!==n?n:i.isSVGComponent(e))?new o.SVGVisualElement(t):new o.HTMLVisualElement(t,{allowProjection:e!==r.Fragment})},t.distance=v,t.distance2D=g,t.drag=N,t.featureBundle=oe,t.gestureAnimations=te,t.layout=ne,t.useIsPresent=function(){return null===(e=r.useContext(i.PresenceContext))||e.isPresent;var e},t.usePresence=l},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ensureOnepageImportMap=function(e){if(!e)return;if(e.getElementById(d))return;const t=e.createElement("script");t.id=d,t.type="importmap",t.textContent=JSON.stringify({imports:h});const n=e.head.querySelector("script");e.head.insertBefore(t,n)},t.ensureOnepageRuntimeGlobal=function(e=("undefined"==typeof window?null:window)){if(!e)return;e.__ONEPAGE_REACT_RUNTIME__={React:o,ReactDOM:i,ReactDOMClient:s,jsxRuntime:r,mobx:a,mobxReact:l,framerMotion:u.framerMotionRuntime}},t.normalizeCdnModule=function(e){var t;if(!e||"object"!=typeof e)return{__esModule:!0,default:e};const n=e;return{__esModule:!0,...n,default:null!==(t=n.default)&&void 0!==t?t:n}};var o=c(n(0)),r=c(n(15)),i=c(n(10)),s=c(n(63)),a=c(n(3)),l=c(n(5)),u=n(61);function c(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(c=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const d="one-runtime-importmap",h={react:"/one-runtime/react.mjs","react-dom":"/one-runtime/react-dom.mjs","react-dom/client":"/one-runtime/react-dom-client.mjs","react/jsx-runtime":"/one-runtime/react-jsx-runtime.mjs",mobx:"/one-runtime/mobx.mjs","mobx-react":"/one-runtime/mobx-react.mjs","framer-motion":"/one-runtime/framer-motion.mjs","motion/react":"/one-runtime/framer-motion.mjs"}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(2);class i extends r.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:this.atomModel.styles$.style_type,solid_button_effect:this.atomModel.styles$.solid_button_effect,line_button_effect:this.atomModel.styles$.line_button_effect,transparent_button_effect:this.atomModel.styles$.transparent_button_effect},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(2);class r extends o.AbstractAtomChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(71),i=n(2);class s extends i.AbstractAtomChunk{constructor(e,t){super(e,t),this.atomModel=e,this.pageModel=t,this.deps=[[new r.VideoExtensionChunk,!0],[new o.ButtonEffectExtensionChunk({style_type:this.atomModel.styles$.button_style_type,solid_button_effect:this.atomModel.styles$.button_solid_button_effect,line_button_effect:this.atomModel.styles$.button_line_button_effect,transparent_button_effect:this.atomModel.styles$.button_transparent_button_effect},this.pageModel.$siteModel.effects),!0]]}}t.default=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeMoleculeChunk=function(e,t){return new(n(408)(`./${e.moleculeModel}/${e.moleculeModel}.molecule.chunk.ts`).default)(e,t)}},function(e,t,n){var o={"./grid/grid.molecule.chunk.ts":409,"./header-v2/header-v2.molecule.chunk.ts":414,"./header/header.molecule.chunk.ts":415,"./map/map.molecule.chunk.ts":416,"./media/media.molecule.chunk.ts":417,"./text-block/text-block.molecule.chunk.ts":418};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=408},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(37),r=n(410),i=n(69),s=n(70),a=n(12),l=n(413);function u(e){return"slider"===e.styles.grid_type}function c(e){return"list"===e.styles.grid_type}function d(e){return"masonry"===e.styles.grid_type}function h(e){return"marquee"===e.styles.grid_type}function f(e){return"timeline"===e.styles.grid_type}class p extends a.AbstractMoleculeChunk{constructor(e,t){super(e,t),this.moleculeModel=e,this.pageModel=t,this.deps=void 0,this.deps=[[new o.GridListExtensionChunk,c(this.moleculeModel)],[new s.SliderExtensionChunk,u(this.moleculeModel)],[new i.MasonryExtensionChunk,d(this.moleculeModel)],[new l.MarqueeGridComponentChunk,h(this.moleculeModel)],[new r.GridTimelineExtensionChunk,f(this.moleculeModel)]]}}t.default=p},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GridTimelineExtensionChunk=void 0;var o=n(149);t.GridTimelineExtensionChunk=class{constructor(){this.name="extension/grid-timeline"}load(){return o.GridTimelineExtensionComponentAsync.load()}}},function(e,t,n){var o={"./grid/grid.molecule.tsx":[284,0,137],"./header-v2/header-v2.molecule.tsx":[286,0,139],"./header/header.molecule.tsx":[285,0,138],"./map/map.molecule.tsx":[287,0,140],"./media/media.molecule.tsx":[288,0,141],"./text-block/text-block.molecule.tsx":[289,0,142]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=411,e.exports=r},function(e,t,n){var o={"./grid/grid.molecule.tsx":284,"./header-v2/header-v2.molecule.tsx":286,"./header/header.molecule.tsx":285,"./map/map.molecule.tsx":287,"./media/media.molecule.tsx":288,"./text-block/text-block.molecule.tsx":289};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=412,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MarqueeGridComponentChunk=void 0;var o=n(38),r=n(150);t.MarqueeGridComponentChunk=class{constructor(){this.name="component/marquee-grid",this.deps=[[new o.MarqueeExtensionChunk,!0]]}load(){return r.MarqueeGridComponentLazy.load()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(12);class i extends r.AbstractMoleculeChunk{constructor(e,t){super(e,t),this.moleculeModel=e,this.pageModel=t,this.deps=void 0,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:this.moleculeModel.styles$.burger_style_type,solid_button_effect:this.moleculeModel.styles$.burger_solid_button_effect,line_button_effect:this.moleculeModel.styles$.burger_line_button_effect,transparent_button_effect:this.moleculeModel.styles$.burger_transparent_button_effect},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(12);class i extends r.AbstractMoleculeChunk{constructor(e,t){super(e,t),this.moleculeModel=e,this.pageModel=t,this.deps=void 0,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:"transparent"},this.pageModel.$siteModel.effects),!0],[new o.ButtonEffectExtensionChunk({style_type:"transparent",transparent_button_effect:"default"},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(12);class r extends o.AbstractMoleculeChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(12);class i extends r.AbstractMoleculeChunk{constructor(e,t){super(e,t),this.moleculeModel=e,this.pageModel=t,this.deps=void 0,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:this.moleculeModel.styles$.video_button_style_type,solid_button_effect:this.moleculeModel.styles$.video_button_solid_button_effect,line_button_effect:this.moleculeModel.styles$.video_button_line_button_effect,transparent_button_effect:this.moleculeModel.styles$.video_button_transparent_button_effect},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(12);class r extends o.AbstractMoleculeChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeLayerChunk=function(e,t){return new(n(420)(`./${e.type}/${e.type}.layer.chunk.ts`).default)(e,t)}},function(e,t,n){var o={"./flex/flex.layer.chunk.ts":421,"./form/form.layer.chunk.ts":424,"./header-v2/header-v2.layer.chunk.ts":425,"./header/header.layer.chunk.ts":426,"./react/react.layer.chunk.ts":427};function r(e){var t=i(e);return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,e.exports=r,r.id=420},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(18);class r extends o.AbstractLayerChunk{}t.default=r},function(e,t,n){var o={"./flex/flex.layer.tsx":[291,0,128],"./form/form.layer.tsx":[292,0,129],"./header-v2/header-v2.layer.tsx":[294,0,131],"./header/header.layer.tsx":[293,0,130],"./react/react.layer.tsx":[295,0,132]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return Promise.all(t.slice(1).map(n.e)).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=422,e.exports=r},function(e,t,n){var o={"./flex/flex.layer.tsx":291,"./form/form.layer.tsx":292,"./header-v2/header-v2.layer.tsx":294,"./header/header.layer.tsx":293,"./react/react.layer.tsx":295};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=423,e.exports=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(6),r=n(18);class i extends r.AbstractLayerChunk{constructor(e,t){super(e,t),this.layerModel=e,this.pageModel=t,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:this.layerModel.styles$.form_action_prev_style_type,solid_button_effect:this.layerModel.styles$.form_action_prev_solid_button_effect,line_button_effect:this.layerModel.styles$.form_action_prev_line_button_effect,transparent_button_effect:this.layerModel.styles$.form_action_prev_transparent_button_effect},this.pageModel.$siteModel.effects),!0],[new o.ButtonEffectExtensionChunk({style_type:this.layerModel.styles$.form_action_next_style_type,solid_button_effect:this.layerModel.styles$.form_action_next_solid_button_effect,line_button_effect:this.layerModel.styles$.form_action_next_line_button_effect,transparent_button_effect:this.layerModel.styles$.form_action_next_transparent_button_effect},this.pageModel.$siteModel.effects),!0],[new o.ButtonEffectExtensionChunk({style_type:this.layerModel.styles$.form_action_submit_style_type,solid_button_effect:this.layerModel.styles$.form_action_submit_solid_button_effect,line_button_effect:this.layerModel.styles$.form_action_submit_line_button_effect,transparent_button_effect:this.layerModel.styles$.form_action_submit_transparent_button_effect},this.pageModel.$siteModel.effects),!0]]}}t.default=i},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(18);class r extends o.AbstractLayerChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(18);class r extends o.AbstractLayerChunk{}t.default=r},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(72),r=n(18);class i extends r.AbstractLayerChunk{constructor(e,t){super(e,t),this.layerModel=e,this.pageModel=t;const n=t.version.getReactAppVersionId(e.data$.reactAppId);this.deps=[[new o.ReactAppExtensionChunk(e.data$.reactAppId,t,n),!0]]}}t.default=i},,,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalOrganismModelFactory=void 0;var o=n(3),r=n(29),i=n(30),s=n(444);t.GlobalOrganismModelFactory=class{static make(e){return(0,o.action)(()=>{const t=new s.GlobalOrganismModel;return t._id=e._id,t.title=e.title,t.type=e.type,t.layout=e.layout,t.data=e.data,t.styles=e.styles,t.siteId=e.siteId,t.versionType=e.versionType,t.versionId=e.versionId,t.deletedAt=e.deletedAt,t.createdAt=e.createdAt,e.layer?t.layer=r.LayerModelFactory.make(e.layer,t):t.layer=r.LayerModelFactory.make((0,i.transformToLayer)(e),t),t})()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FrameModelFactory=void 0;var o=n(3),r=n(432),i=n(440);t.FrameModelFactory=class{static make(e,t){return(0,o.action)(()=>{const n=new i.FrameModel(t);return n._id=e._id,n.position=e.position,n.type=e.type,n.data=e.data,n.styles=e.styles,e.rows.forEach(e=>{const t=r.RowModelFactory.make(e,n);n.rowMap.set(t._id,t)}),n})()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowModelFactory=void 0;var o=n(3),r=n(433),i=n(438);t.RowModelFactory=class{static make(e,t){return(0,o.action)(()=>{var n;const o=new i.RowModel(t);return o._id=e._id,o.position=e.position,o.data=e.data,o.styles=e.styles,e.molecules.forEach(e=>{const t=r.MoleculeModelFactory.make(e,o);o.moleculeMap.set(t._id,t)}),o.archivedMolecules=null!==(n=e.archivedMolecules)&&void 0!==n?n:[],o})()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MoleculeModelFactory=void 0;var o=n(3),r=n(434),i=n(436);class s{static make(e,t,n){return(0,o.action)(()=>{const o=new i.MoleculeModel(t,n);return o._id=e._id,o.type=e.type,o.moleculeModel=e.moleculeModel,o.position=e.position,o.data=e.data,o.styles=e.styles,e.atoms.forEach(e=>{const t=r.AtomModelFactory.make(e,o,null==n?void 0:n.atoms.find(t=>t._id===e.parentId));o.atomMap.set(t._id,t)}),e.children.forEach(e=>{const n=s.make(e,t,o);o.childrenMap.set(n._id,n)}),o})()}}t.MoleculeModelFactory=s},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AtomModelFactory=void 0;var o=n(3),r=n(435);t.AtomModelFactory=class{static make(e,t,n){return(0,o.action)(()=>{const o=new r.AtomModel(t,n);return o._id=e._id,o.type=e.type,o.parentId=e.parentId,o.position=e.position,o.data=e.data||{},o.styles=e.styles||{},o})()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AtomModel=void 0;var o=n(3),r=n(102);t.AtomModel=class{constructor(e,t){this.$moleculeModel=e,this.$parentAtomModel=t,this._id=void 0,this.position=void 0,this.type=void 0,this.parentId=void 0,this.data=void 0,this.styles=void 0,this._preview_data=o.observable.object({}),this._preview_styles=o.observable.object({}),(0,o.makeAutoObservable)(this)}get data$(){return this.makeComputedData()}get styles$(){return this.makeComputedStyles()}get position$(){return this.$parentAtomModel?this.$parentAtomModel.position:this.position}get atomPath(){return{...this.$moleculeModel.moleculePath,atomId:this._id,atomParentId:this.parentId}}serialize(){return{_id:this._id,position:this.position,type:this.type,parentId:this.parentId,data:(0,o.toJS)(this.data),styles:(0,o.toJS)(this.styles)}}serialize$(){return{_id:this._id,position:this.position,type:this.type,parentId:this.parentId,data:(0,o.toJS)({...this.data,...this.makeComputedData()}),styles:(0,o.toJS)({...this.styles,...this.makeComputedStyles()})}}getChildAtom(){if(!this.parentId){let e;return this.$moleculeModel.children.forEach(t=>{e||(e=t.atoms.find(e=>e.parentId===this._id))}),e}}makeComputedData(){const{initData:e}=(0,r.importAtomInit)(this.type);return new Proxy(this.data,{get:(t,n)=>"items"!==n&&n in this._preview_data?this._preview_data[n]:n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}makeComputedStyles(){const{initStyles:e}=(0,r.importAtomInit)(this.type);return new Proxy(this.styles,{get:(t,n)=>{if(n in this._preview_styles)return this._preview_styles[n];if(n in t&&null!==t[n])return this.$parentAtomModel&&["resize_percent","indentLg"].includes(n)?this.$parentAtomModel.styles[n]:t[n];if(this.$parentAtomModel){if(n in this.$parentAtomModel._preview_styles)return this.$parentAtomModel._preview_styles[n];if(n in this.$parentAtomModel.styles)return this.$parentAtomModel.styles[n]}return e[n]},ownKeys:()=>Array.from(new Set([...Object.keys(e),...Object.keys(this.styles)])),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MoleculeModel=void 0;var o=n(3),r=n(437);t.MoleculeModel=class{constructor(e,t){this.$rowModel=e,this.$parentModel=t,this._id=void 0,this.position=void 0,this.type=void 0,this.moleculeModel=void 0,this.data=void 0,this.styles=void 0,this._preview_data=o.observable.object({}),this._preview_styles=o.observable.object({}),this.atomMap=new Map,this.childrenMap=new Map,(0,o.makeAutoObservable)(this)}get data$(){return this.makeComputedData()}get styles$(){return this.makeComputedStyles()}get atoms(){return Array.from(this.atomMap.values()).slice().sort((e,t)=>e.position$-t.position$)}get atomsSorted(){return this.atoms}get children(){return Array.from(this.childrenMap.values()).slice().sort((e,t)=>e.position-t.position)}get moleculePath(){var e;return{...this.$rowModel.rowPath,moleculeId:this._id,moleculeParentId:null===(e=this.$parentModel)||void 0===e?void 0:e._id}}get childrenSorted(){return this.children}serialize(){return{_id:this._id,position:this.position,styles:(0,o.toJS)(this.styles),data:(0,o.toJS)(this.data),type:this.type,moleculeModel:this.moleculeModel,children:this.children.map(e=>e.serialize()),atoms:this.atoms.map(e=>e.serialize())}}getAtom(e){return this.atoms.find(t=>t._id===e)}getChild(e){return this.children.find(t=>t._id===e)}makeComputedData(){const{initData:e}=(0,r.importMoleculeInit)(this.moleculeModel),t=["items","social_items","menu_left_items","menu_right_items","contacts_items"];return new Proxy(this.data,{get:(n,o)=>!t.includes(o)&&o in this._preview_data?this._preview_data[o]:o in n&&null!==n[o]?n[o]:e[o],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}makeComputedStyles(){const{initStyles:e}=(0,r.importMoleculeInit)(this.moleculeModel);return new Proxy(this.styles,{get:(t,n)=>{if(n in this._preview_styles)return this._preview_styles[n];if(n in t&&null!==t[n])return t[n];if(this.$parentModel){if(n in this.$parentModel._preview_styles)return this.$parentModel._preview_styles[n];if(n in this.$parentModel.styles)return this.$parentModel.styles[n]}return e[n]},ownKeys:()=>Array.from(new Set([...Object.keys(e),...Object.keys(this.styles)])),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.importMoleculeInit=function(e){{var t,n;if(o.has(e))return o.get(e);const r=null!==(t=null===(n=document.getElementById("one-molecule-init"))||void 0===n?void 0:n.textContent)&&void 0!==t?t:"",i=JSON.parse(r);return Object.entries(i).forEach(([e,t])=>{o.set(e,t)}),o.get(e)}0;throw new Error("Unknown environment")};const o=new Map},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RowModel=void 0;var o=n(3),r=n(439);t.RowModel=class{constructor(e){this.$layoutModel=e,this._id=void 0,this.data=void 0,this.styles=void 0,this.position=void 0,this.archivedMolecules=[],this._preview_data={},this._preview_styles={},this.moleculeMap=new Map,(0,o.makeAutoObservable)(this)}get data$(){const{initData:e}=(0,r.importRowInit)();return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,r.importRowInit)();return this.makeComputedStyles(e)}get molecules(){return Array.from(this.moleculeMap.values()).slice().sort((e,t)=>e.position-t.position)}get rowPath(){return{...this.$layoutModel.framePath,rowId:this._id}}serialize(){return{_id:this._id,data:(0,o.toJS)(this.data),styles:(0,o.toJS)(this.styles),position:this.position,molecules:this.molecules.map(e=>e.serialize()),archivedMolecules:this.archivedMolecules}}getMolecule(e){return this.moleculeMap.get(e)}makeComputedData(e){return new Proxy(this.data,{get:(t,n)=>n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}makeComputedStyles(e){return new Proxy(this.styles,{get:(t,n)=>n in this._preview_styles?this._preview_styles[n]:n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}}},function(e,t,n){"use strict";let o;Object.defineProperty(t,"__esModule",{value:!0}),t.importRowInit=function(){{var e,t;if(o)return o;const n=null!==(e=null===(t=document.getElementById("one-row-init"))||void 0===t?void 0:t.textContent)&&void 0!==e?e:"";return JSON.parse(n)}0;throw new Error("Unknown environment")}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FrameModel=void 0;var o=n(3),r=n(441);t.FrameModel=class{constructor(e){this.$layerModel=e,this._id=void 0,this.position=void 0,this.type=void 0,this.data=void 0,this.styles=void 0,this._preview_data={},this._preview_styles={},this.rowMap=new Map,(0,o.makeAutoObservable)(this)}get data$(){const{initData:e}=(0,r.initFrameInit)(this.type);return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,r.initFrameInit)(this.type);return this.makeComputedStyles(e)}get rows(){return Array.from(this.rowMap.values()).slice().sort((e,t)=>e.position-t.position)}get framePath(){return{...this.$layerModel.layerPath,frameId:this._id}}serialize(){return{_id:this._id,position:this.position,type:this.type,data:(0,o.toJS)(this.data),styles:(0,o.toJS)(this.styles),rows:this.rows.map(e=>e.serialize())}}getRow(e){return this.rowMap.get(e)}makeComputedData(e){return new Proxy(this.data,{get:(t,n)=>n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}makeComputedStyles(e){return new Proxy(this.styles,{get:(t,n)=>n in this._preview_styles?this._preview_styles[n]:n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initFrameInit=function(e){{var t,n;if(o.has(e))return o.get(e);const r=null!==(t=null===(n=document.getElementById("one-frame-init"))||void 0===n?void 0:n.textContent)&&void 0!==t?t:"",i=JSON.parse(r);return Object.entries(i).forEach(([e,t])=>{o.set(e,t)}),o.get(e)}0;throw new Error("Unknown environment")};const o=new Map},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LayerModel=void 0;var o=n(3),r=n(443);t.LayerModel=class{constructor(e){this.$organismModel=e,this._id=void 0,this.type=void 0,this.data=void 0,this.styles=void 0,this._preview_data={},this._preview_styles={},this.frameMap=new Map,(0,o.makeAutoObservable)(this)}get data$(){const{initData:e}=(0,r.initLayerInit)(this.type);return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,r.initLayerInit)(this.type);return this.makeComputedStyles(e)}get frames(){return Array.from(this.frameMap.values()).slice().sort((e,t)=>e.position-t.position)}get layerPath(){return{...this.$organismModel.organismPath,layerId:this._id}}serialize(){return{_id:this._id,type:this.type,data:(0,o.toJS)(this.data),styles:(0,o.toJS)(this.styles),frames:this.frames.map(e=>e.serialize())}}getFrame(e){return this.frameMap.get(e)}makeComputedData(e){return new Proxy(this.data,{get:(t,n)=>n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}makeComputedStyles(e){return new Proxy(this.styles,{get:(t,n)=>n in this._preview_styles?this._preview_styles[n]:n in t&&null!==t[n]?t[n]:e[n],ownKeys:()=>Object.keys(e),getOwnPropertyDescriptor:()=>({enumerable:!0,configurable:!0})})}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.initLayerInit=function(e){{var t,n;if(o.has(e))return o.get(e);const r=null!==(t=null===(n=document.getElementById("one-layer-init"))||void 0===n?void 0:n.textContent)&&void 0!==t?t:"",i=JSON.parse(r);return Object.entries(i).forEach(([e,t])=>{o.set(e,t)}),o.get(e)}0;throw new Error("Unknown environment")};const o=new Map},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.GlobalOrganismModel=void 0;var r,i=o(n(19)),s=n(3),a=n(16),l=n(31),u=n(32);t.GlobalOrganismModel=(r=class extends l.AbstractOrganismModel{constructor(){super(),this.siteId=void 0,this.versionType=void 0,this.versionId=void 0,this.type=void 0,this.deletedAt=void 0,this.createdAt=void 0,this.organismLocation=a.OrganismLocationEnum.GLOBAL,(0,s.makeObservable)(this)}get data$(){const{initData:e}=(0,u.importOrganismInit)("global");return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,u.importOrganismInit)("global");return this.makeComputedStyles(e)}get organismPath(){return{siteId:this.siteId,organismId:this._id,organismLocation:this.organismLocation}}serialize(){return{_id:this._id,layout:this.layout,title:this.title,data:(0,s.toJS)(this.data),styles:(0,s.toJS)(this.styles),layer:this.layer.serialize(),type:this.type,siteId:this.siteId,versionType:this.versionType,versionId:this.versionId,deletedAt:this.deletedAt,createdAt:this.createdAt}}},(0,i.default)(r.prototype,"data$",[s.computed],Object.getOwnPropertyDescriptor(r.prototype,"data$"),r.prototype),(0,i.default)(r.prototype,"styles$",[s.computed],Object.getOwnPropertyDescriptor(r.prototype,"styles$"),r.prototype),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MegamenuOrganismModelFactory=void 0;var o=n(3),r=n(29),i=n(30),s=n(446);t.MegamenuOrganismModelFactory=class{static make(e){return(0,o.action)(()=>{const t=new s.MegamenuOrganismModel;return t._id=e._id,t.title=e.title,t.layout=e.layout,t.data=e.data,t.styles=e.styles,t.siteId=e.siteId,t.versionType=e.versionType,t.versionId=e.versionId,t.deletedAt=e.deletedAt,t.createdAt=e.createdAt,e.layer?t.layer=r.LayerModelFactory.make(e.layer,t):t.layer=r.LayerModelFactory.make((0,i.transformToLayer)(e),t),t})()}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MegamenuOrganismModel=void 0;var r,i,s,a,l,u,c=o(n(51)),d=o(n(19)),h=(o(n(52)),n(3)),f=n(16),p=n(31),m=n(32);t.MegamenuOrganismModel=(r=class extends p.AbstractOrganismModel{constructor(){super(),(0,c.default)(this,"siteId",i,this),(0,c.default)(this,"versionId",s,this),(0,c.default)(this,"versionType",a,this),(0,c.default)(this,"deletedAt",l,this),(0,c.default)(this,"createdAt",u,this),this.organismLocation=f.OrganismLocationEnum.MEGAMENU,(0,h.makeObservable)(this)}get data$(){const{initData:e}=(0,m.importOrganismInit)("megamenu");return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,m.importOrganismInit)("megamenu");return this.makeComputedStyles(e)}get organismPath(){return{siteId:this.siteId,organismId:this._id,organismLocation:this.organismLocation}}serialize(){return{_id:this._id,layout:this.layout,title:this.title,data:(0,h.toJS)(this.data),styles:(0,h.toJS)(this.styles),layer:this.layer.serialize(),siteId:this.siteId,versionId:this.versionId,versionType:this.versionType,deletedAt:this.deletedAt,createdAt:this.createdAt}}},i=(0,d.default)(r.prototype,"siteId",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,d.default)(r.prototype,"versionId",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,d.default)(r.prototype,"versionType",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l=(0,d.default)(r.prototype,"deletedAt",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u=(0,d.default)(r.prototype,"createdAt",[h.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,d.default)(r.prototype,"data$",[h.computed],Object.getOwnPropertyDescriptor(r.prototype,"data$"),r.prototype),(0,d.default)(r.prototype,"styles$",[h.computed],Object.getOwnPropertyDescriptor(r.prototype,"styles$"),r.prototype),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalOrganismModelFactory=void 0;var o=n(3),r=n(29),i=n(30),s=n(448);t.ModalOrganismModelFactory=class{static make(e,t,n){return(0,o.action)(()=>{var o;const a=new s.ModalOrganismModel(t,n);return a._id=e._id,a.title=e.title,a.layout=e.layout,a.data=null!==(o=e.data)&&void 0!==o?o:{},a.styles=e.styles,e.layer?a.layer=r.LayerModelFactory.make(e.layer,a):a.layer=r.LayerModelFactory.make((0,i.transformToLayer)(e),a),a})()}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.ModalOrganismModel=void 0;var r,i=o(n(19)),s=n(3),a=n(16),l=n(31),u=n(32);t.ModalOrganismModel=(r=class extends l.AbstractOrganismModel{constructor(e,t){super(),this.siteId=e,this.pageId=t,this.organismLocation=a.OrganismLocationEnum.MODAL,(0,s.makeObservable)(this)}get data$(){const{initData:e}=(0,u.importOrganismInit)("modal");return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,u.importOrganismInit)("modal");return this.makeComputedStyles(e)}get organismPath(){return{siteId:this.siteId,pageId:this.pageId,organismId:this._id,organismLocation:this.organismLocation}}serialize(){return{_id:this._id,layout:this.layout,title:this.title,data:(0,s.toJS)(this.data),styles:(0,s.toJS)(this.styles),layer:this.layer.serialize()}}},(0,i.default)(r.prototype,"data$",[s.computed],Object.getOwnPropertyDescriptor(r.prototype,"data$"),r.prototype),(0,i.default)(r.prototype,"styles$",[s.computed],Object.getOwnPropertyDescriptor(r.prototype,"styles$"),r.prototype),r)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SectionOrganismModelFactory=void 0;var o=n(3),r=n(29),i=n(30),s=n(450),a=n(85);t.SectionOrganismModelFactory=class{static make(e,t,n){return(0,o.action)(()=>{var o;const l=new s.SectionOrganismModel(t,n);return l._id=e._id,l.title=e.title,l.layout=e.layout,l.data=null!==(o=e.data)&&void 0!==o?o:{},l.styles=e.styles,l.position=e.position,l.type=e.type,l.location=(0,a.getSectionLocation)(e),e.layer?l.layer=r.LayerModelFactory.make(e.layer,l):l.layer=r.LayerModelFactory.make((0,i.transformToLayer)(e),l),l})()}}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SectionOrganismModel=void 0;var r,i,s,a,l=o(n(51)),u=o(n(19)),c=(o(n(52)),n(3)),d=n(16),h=n(31),f=n(32);t.SectionOrganismModel=(r=class extends h.AbstractOrganismModel{constructor(e,t){super(),this.siteId=e,this.pageId=t,(0,l.default)(this,"type",i,this),(0,l.default)(this,"position",s,this),this.organismLocation=d.OrganismLocationEnum.SECTION,(0,l.default)(this,"location",a,this),(0,c.makeObservable)(this)}get data$(){const{initData:e}=(0,f.importOrganismInit)("section");return this.makeComputedData(e)}get styles$(){const{initStyles:e}=(0,f.importOrganismInit)("section");return this.makeComputedStyles(e)}get organismPath(){return{siteId:this.siteId,pageId:this.pageId,organismId:this._id,organismLocation:this.organismLocation}}serialize(){return{_id:this._id,layout:this.layout,title:this.title,data:(0,c.toJS)(this.data),styles:(0,c.toJS)(this.styles),position:this.position,type:this.type,location:this.location,layer:this.layer.serialize()}}},i=(0,u.default)(r.prototype,"type",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s=(0,u.default)(r.prototype,"position",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),a=(0,u.default)(r.prototype,"location",[c.observable],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,u.default)(r.prototype,"data$",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"data$"),r.prototype),(0,u.default)(r.prototype,"styles$",[c.computed],Object.getOwnPropertyDescriptor(r.prototype,"styles$"),r.prototype),r)},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteModelFactory=void 0;var o=n(3),r=n(453),i=n(50),s=n(86),a=n(455);t.SiteModelFactory=class{static make(e){return(0,o.action)(()=>{const t=new a.SiteModel;return t.fontKit=e.fontKit,t.customFont=e.customFont,t.color=e.color,t.customColor=e.customColor,t.conversion=e.conversion,t.templateConfig=e.templateConfig,t.googleSearchConsole=e.googleSearchConsole,this.remake(t,e)})()}static remake(e,t){return(0,o.action)(()=>{var n,o,a,l,u,c,d,h;return e._id=t._id,e.lang=t.lang,e.enable=t.enable,e.project_title=t.project_title,e.codeBody=t.codeBody,e.codeHead=t.codeHead,e.trGtag=t.trGtag,e.trGtagIpAnon=t.trGtagIpAnon,e.trPixel=t.trPixel,e.trHotjar=t.trHotjar,e.trTikTokPixel=t.trTikTokPixel,e.trLinkedInInsightTag=t.trLinkedInInsightTag,e.description=t.description,e.googleAPIKey=t.googleAPIKey,e.googleRecaptchaSiteKey=t.googleRecaptchaSiteKey,e.noindex=t.noindex,e.effects=t.effects,e.faviconSrc=t.faviconSrc,e.gdpr=t.gdpr,e.styles=t.styles,e.transferId=t.transferId,e.onepageBar=t.onepageBar,e.onepageAnalytics=t.onepageAnalytics,e.createdAt=t.createdAt,e.updatedAt=t.updatedAt,e.updatedBy=t.updatedBy,e.lastPublishedAt=t.lastPublishedAt,e.deletedAt=t.deletedAt,e.isPinned=t.isPinned,e.isBanned=t.isBanned,e.isTemplate=t.isTemplate,e.templateConfig=t.templateConfig,e.builderVersion=t.builderVersion,e.folderId=t.folderId,e.favoriteFor=t.favoriteFor||[],e.gradientLibrary=t.gradientLibrary||[],e.colorLibrary=t.colorLibrary||[],e.googleSearchConsole=t.googleSearchConsole,e.useCustomSitemap=t.useCustomSitemap,e.customSitemap=t.customSitemap,e.disableFontSwap=t.disableFontSwap,e.viewportScaling=t.viewportScaling,e.notFoundPageSlug=t.notFoundPageSlug,e.passwordProtection=t.passwordProtection,e.websiteName=t.websiteName,e.pageTitleTpl=t.pageTitleTpl,e.sitemapXmlType=t.sitemapXmlType,e.robotsTxtType=t.robotsTxtType,e.llmsTxtType=t.llmsTxtType,e.schemaOrgType=t.schemaOrgType,e.schemaOrg=t.schemaOrg,e.autoRedirectOnSlugChange=t.autoRedirectOnSlugChange,e.aiWriterInstructions=t.aiWriterInstructions,e.aiWriterToneOfVoice=t.aiWriterToneOfVoice,e.aiWriterHeadingLength=t.aiWriterHeadingLength,e.aiWriterTextLength=t.aiWriterTextLength,e.aiWriterLanguage=t.aiWriterLanguage,e.aiWriterRegion=t.aiWriterRegion,e.aiWriterStyle=t.aiWriterStyle,e.aiWriterTheme=t.aiWriterTheme,(0,r.objectSetter)(e.fontKit,t.fontKit),(0,r.objectSetter)(e.customFont,t.customFont),(0,r.objectSetter)(e.color,t.color),(0,r.objectSetter)(e.customColor,t.customColor),(0,r.objectSetter)(e.conversion,t.conversion),(0,r.objectSetter)(e.templateConfig,t.templateConfig),(0,r.objectSetter)(e.googleSearchConsole,t.googleSearchConsole),null===(n=t.domains)||void 0===n||n.forEach(t=>{const n=e.domainMap.get(t._id);n?(0,r.objectSetter)(n,t):e.domainMap.set(t._id,t)}),e.primaryDomain=t.primaryDomain||t.domains.find(e=>e.primary)||(null===(o=t.domains)||void 0===o?void 0:o[0]),e.primaryHost=t.primaryHost||(null===(a=t.domains.find(e=>e.primary))||void 0===a?void 0:a.name)||(null===(l=t.domains)||void 0===l||null===(u=l[0])||void 0===u?void 0:u.name),null===(c=t.policies)||void 0===c||c.forEach(t=>{const n=e.policyMap.get(t.userId);n?(0,r.objectSetter)(n,t):e.policyMap.set(t.userId,t)}),null===(d=t.pages)||void 0===d||d.forEach(t=>{const n=e.getPage(t._id);n?i.PageModelFactory.remake(n,t):e.pageMap.set(t._id,i.PageModelFactory.make(t,e))}),null===(h=t.folders)||void 0===h||h.forEach(t=>{const n=e.getPageFolder(t._id);n?s.PageFolderModel.remake(n,t):e.pageFolderMap.set(t._id,s.PageFolderModel.make(t,e))}),e})()}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.objectSetter=function(e,t){if(!e||!t)return;Object.entries(t).forEach(([t,n])=>{e[t]=n})}},,function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SiteModel=void 0;var o=n(3),r=n(50);t.SiteModel=class{constructor(){this.pageMap=new Map,this.pageFolderMap=o.observable.map(),this.domainMap=o.observable.map(),this.policyMap=o.observable.map(),this._id=void 0,this.title=void 0,this.enable=void 0,this.project_title=void 0,this.codeBody=void 0,this.codeHead=void 0,this.trGtag=void 0,this.trGtagIpAnon=void 0,this.trPixel=void 0,this.trHotjar=void 0,this.trTikTokPixel=void 0,this.trLinkedInInsightTag=void 0,this.googleAPIKey=void 0,this.googleRecaptchaSiteKey=void 0,this.description=void 0,this.noindex=void 0,this.lang=void 0,this.effects=void 0,this.faviconSrc=void 0,this.gdpr=void 0,this.styles=void 0,this.transferId=void 0,this.onepageBar=void 0,this.onepageAnalytics=void 0,this.createdAt=void 0,this.updatedAt=void 0,this.updatedBy=void 0,this.lastPublishedAt=void 0,this.deletedAt=void 0,this.conversion=void 0,this.notFoundPageSlug=void 0,this.passwordProtection=void 0,this.fontKit=void 0,this.customFont=void 0,this.color=void 0,this.customColor=void 0,this.colorLibrary=void 0,this.gradientLibrary=void 0,this.isBanned=void 0,this.isTemplate=void 0,this.isPinned=void 0,this.templateConfig=void 0,this.folderId=void 0,this.builderVersion=void 0,this.favoriteFor=void 0,this.primaryDomain=void 0,this.primaryHost=void 0,this.googleSearchConsole=void 0,this.useCustomSitemap=void 0,this.customSitemap=void 0,this.robotsTxt=void 0,this.disableFontSwap=void 0,this.viewportScaling=void 0,this.autoRedirectOnSlugChange=void 0,this.aiWriterStyle=void 0,this.aiWriterTheme=void 0,this.pageListFilter={status:"active",sort:"create",searchString:"",folderId:null},(0,o.makeAutoObservable)(this)}get pages(){return Array.from(this.pageMap.values())}get folders(){return Array.from(this.pageFolderMap.values())}get domains(){return Array.from(this.domainMap.values())}get policies(){return Array.from(this.policyMap.values())}get sitePath(){return{siteId:this._id}}get internalDomain(){return this.domains.find(e=>"internal"===e.type)}get externalDomain(){return this.domains.find(e=>"external"===e.type)}get domain(){var e;return this.primaryHost||(null===(e=this.getDomain())||void 0===e?void 0:e.name)}get url(){return`https://${this.domain}`}get mainPage(){return this.pages.find(e=>"/"===e.slug)}get colorComputed(){return this.customColor||this.color}get normalPages(){return this.pages.filter(e=>!e.deletedAt).sort((e,t)=>e._id-t._id)}getPage(e){return this.pageMap.get(e)}getPageFolder(e){return this.pageFolderMap.get(e)}addPage(e){this.pageMap.set(e._id,r.PageModelFactory.make(e,this))}removePage(e){this.pageMap.delete(e)}getDomain(){return this.primaryDomain||this.externalDomain||this.internalDomain}setPageListFilter(e){this.pageListFilter={...this.pageListFilter,...e}}resetPageListFilter(){this.pageListFilter={status:"active",sort:"create",searchString:"",folderId:null}}setPasswordProtectionMode(e){this.passwordProtection?this.passwordProtection.mode=e:this.passwordProtection={mode:e}}setPasswordPageScope(e,t){var n;this.passwordProtection||(this.passwordProtection={mode:"pages"});const o={...null!==(n=this.passwordProtection.pages)&&void 0!==n?n:{}};o[e]={...o[e],...void 0!==t?{entryPageId:t}:{}},this.passwordProtection.pages=o}setPasswordPageProtected(e,t){var n;this.passwordProtection||(this.passwordProtection={mode:"pages"});const o={...null!==(n=this.passwordProtection.pages)&&void 0!==n?n:{}};o[e]={...o[e],isProtected:t},this.passwordProtection.pages=o}setPasswordSiteScope(e){this.passwordProtection||(this.passwordProtection={mode:"site"}),this.passwordProtection.site={...this.passwordProtection.site,...void 0!==e?{entryPageId:e}:{}}}clearPasswordPageScope(e){var t;if(!(null===(t=this.passwordProtection)||void 0===t?void 0:t.pages))return;const n={...this.passwordProtection.pages};delete n[e],this.passwordProtection.pages=n}clearPasswordSiteScope(){this.passwordProtection&&(this.passwordProtection.site=void 0)}get pageAndFolderList(){let e=[],t=[],n=!1;if(this.pageListFilter.folderId?(e=this.pages.filter(e=>e.folderId===this.pageListFilter.folderId),n=!0):e=[...this.pages.filter(e=>!e.folderId)],n||(t=[...this.folders]),this.pageListFilter.searchString){const o=new RegExp(this.pageListFilter.searchString,"giu");n||(t=t.filter(e=>e.title.match(o))),e=e.filter(e=>e.version.title.match(o))}return"active"===this.pageListFilter.status&&(n||(t=t.filter(e=>!e.deletedAt)),e=e.filter(e=>!e.deletedAt)),"archive"===this.pageListFilter.status&&(n||(t=t.filter(e=>!!e.deletedAt)),e=e.filter(e=>!!e.deletedAt)),"create"===this.pageListFilter.sort&&(n||(t=t.sort((e,t)=>new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime())),e=e.sort((e,t)=>new Date(e.createdAt).getTime()-new Date(t.createdAt).getTime())),"change"===this.pageListFilter.sort&&(n||(t=t.sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime())),e=e.sort((e,t)=>new Date(t.updatedAt).getTime()-new Date(e.updatedAt).getTime())),"alphabet"===this.pageListFilter.sort&&(n||(t=t.sort((e,t)=>e.title.localeCompare(t.title))),e=e.sort((e,t)=>e.version.title.localeCompare(t.version.title))),[...t,...e]}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.App=void 0;var o=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0)),r=n(153),i=n(92),s=n(64),a=n(11),l=n(36),u=n(58),c=n(476),d=n(507),h=n(13),f=n(109),p=n(118);n(521);const m={...s.initDI,progressiveHydration:!0},y=(0,a.getGlobalDeviceType)();t.App=(0,o.memo)(e=>{(0,o.useEffect)(()=>{e.siteData&&(e.siteData.onepageAnalytics&&(0,f.oneStats)({event:"pageView",siteId:e.siteData._id,slug:"$host"}),e.pageData&&e.siteData.onepageAnalytics&&(0,f.oneStats)({event:"pageView",siteId:e.siteData._id,slug:e.pageData.slug}))},[]);const t=(0,u.useCreateMegamenuApi)(e.pageData.version.megamenuMap);return o.default.createElement(r.ParallaxProvider,null,o.default.createElement(i.DeviceContext.Provider,{value:y},o.default.createElement(s.DI.Provider,{value:m},o.default.createElement(u.MegamenuApiProvider,{value:t},o.default.createElement(l.FeaturesContext.Provider,{value:e.featuresData},o.default.createElement(h.SiteContext.Provider,{value:e.siteData},o.default.createElement(p.EffectsContext.Provider,{value:e.siteData.effects},o.default.createElement(d.SiteContainer,{siteSchema:e.siteData},o.default.createElement(c.StaticRouter,{pageModel:e.pageData})))))))))})},,function(e,t,n){"use strict";var o=n(459);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,s){if(s!==o){var a=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 a.name="Invariant Violation",a}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},function(e,t,n){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},,,,,,,,,,,,,,,,,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.StaticRouter=void 0;var r=o(n(0)),i=n(5),s=n(139),a=n(477),l=n(8);t.StaticRouter=(0,i.observer)(e=>r.default.createElement(l.PageContext.Provider,{value:e.pageModel},r.default.createElement(s.FormListContext.Provider,{value:e.pageModel.version.forms},r.default.createElement(a.Page,null))))},,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.CookieBannerLazyComponent=void 0;var r=s(n(0)),i=o(n(4));function s(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(s=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const a=(0,i.default)({resolved:{},chunkName:()=>"cookie-banner",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>Promise.all([n.e(0),n.e(54)]).then(n.t.bind(null,296,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 296}},{ssr:!1}),l=t.CookieBannerLazyComponent=(0,r.memo)(e=>e.siteModel.gdpr.enable?r.default.createElement(a,{site:e.siteModel}):null)},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.useRedrawHighlights=void 0;n(0);var r=o(n(124)),i=o(n(140));t.useRedrawHighlights=e=>{if("undefined"==typeof window)return;const t=window,n=document,o=()=>{n&&function(e){const t=e.querySelectorAll(".con-kit-quark-highlight");(0,i.default)(e,Array.from(t),1)}(n)};const s=(0,r.default)(()=>{requestAnimationFrame(o)},300,{leading:!1,trailing:!0,maxWait:350});return t&&t.addEventListener("resize",s),()=>{t&&t.removeEventListener("resize",s)}}},function(e,t,n){"use strict";var o,r;!function(i){if(void 0===(r="function"==typeof(o=i)?o.call(t,n,t,e):o)||(e.exports=r),e.exports=i(),!!0){var s=window.Cookies,a=window.Cookies=i();a.noConflict=function(){return window.Cookies=s,a}}}(function(){function e(){for(var e=0,t={};ecrypto.getRandomValues(new Uint8Array(e)),i=(e,t,n)=>{let o=(2<{let i="";for(;;){let s=n(r),a=r;for(;a--;)if(i+=e[s[a]&o]||"",i.length===t)return i}}};e.exports={nanoid:(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;){let o=63&n[e];t+=o<36?o.toString(36):o<62?(o-26).toString(36).toUpperCase():o<63?"_":"-"}return t},customAlphabet:(e,t)=>i(e,t,r),customRandom:i,urlAlphabet:o,random:r}},function(e,t){e.exports={urlAlphabet:"useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"}},function(e,t,n){"use strict";var o=Object.prototype.hasOwnProperty,r="~";function i(){}function s(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function a(e,t,n,o,i){if("function"!=typeof n)throw new TypeError("The listener must be a function");var a=new s(n,o||e,i),l=r?r+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],a]:e._events[l].push(a):(e._events[l]=a,e._eventsCount++),e}function l(e,t){0===--e._eventsCount?e._events=new i:delete e._events[t]}function u(){this._events=new i,this._eventsCount=0}Object.create&&(i.prototype=Object.create(null),(new i).__proto__||(r=!1)),u.prototype.eventNames=function(){var e,t,n=[];if(0===this._eventsCount)return n;for(t in e=this._events)o.call(e,t)&&n.push(r?t.slice(1):t);return Object.getOwnPropertySymbols?n.concat(Object.getOwnPropertySymbols(e)):n},u.prototype.listeners=function(e){var t=r?r+e:e,n=this._events[t];if(!n)return[];if(n.fn)return[n.fn];for(var o=0,i=n.length,s=new Array(i);onew Promise((i,s)=>{if("number"!=typeof t||t<0)throw new TypeError("Expected `milliseconds` to be a positive number");if(t===1/0)return void i(e);const a=setTimeout(()=>{if("function"==typeof n){try{i(n())}catch(e){s(e)}return}const o=n instanceof Error?n:new r("string"==typeof n?n:`Promise timed out after ${t} milliseconds`);"function"==typeof e.cancel&&e.cancel(),s(o)},t);o(e.then(i,s),()=>{clearTimeout(a)})});e.exports=i,e.exports.default=i,e.exports.TimeoutError=r},function(e,t,n){"use strict";e.exports=(e,t)=>(t=t||(()=>{}),e.then(e=>new Promise(e=>{e(t())}).then(()=>e),e=>new Promise(e=>{e(t())}).then(()=>{throw e})))},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const o=n(487);t.default=class{constructor(){this._queue=[]}enqueue(e,t){const n={priority:(t=Object.assign({priority:0},t)).priority,run:e};if(this.size&&this._queue[this.size-1].priority>=t.priority)return void this._queue.push(n);const r=o.default(this._queue,n,(e,t)=>t.priority-e.priority);this._queue.splice(r,0,n)}dequeue(){const e=this._queue.shift();return null==e?void 0:e.run}filter(e){return this._queue.filter(t=>t.priority===e.priority).map(e=>e.run)}get size(){return this._queue.length}}},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,n){let o=0,r=e.length;for(;r>0;){const i=r/2|0;let s=o+i;n(e[s],t)<=0?(o=++s,r-=i+1):r=i}return o}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.MegamenuPrerenderComponentAsync=void 0;var r=o(n(4));const i=t.MegamenuPrerenderComponentAsync=(0,r.default)({resolved:{},chunkName:()=>"component/megamenu-prerender",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(52).then(n.t.bind(null,297,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 297}},{ssr:!1})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalManagerComponent=void 0;var o=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0)),r=n(5),i=n(7),s=n(93),a=n(126);t.ModalManagerComponent=(0,r.observer)(e=>{const t=e.pageModel.version.modalMap.get(a.modalApiStore.active||"");return(0,o.useEffect)(()=>{const e=(0,i.getOwnWindow)();t?(null==e||e.document.body.classList.add("con-kit-component-modal--open"),null==e||e.document.body.style.setProperty("--window-inner-scroll",`${e.scrollY}px`)):(null==e||e.document.body.classList.remove("con-kit-component-modal--open"),null==e||e.document.body.style.removeProperty("--window-inner-scroll"))},[t]),t?o.default.createElement(s.ModalOrganismComponentLazy,{organismModel:t,bindTo:e.bindTo}):null})},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ModalOrganismChunk=void 0;var o=n(6),r=n(66),i=n(93);class s extends r.AbstractOrganismChunk{constructor(e,t){super(e,t),this.modalOrganismModel=e,this.pageModel=t,this.name="organism/modal",this.order=50,this.deps=void 0,this.deps=[[new o.ButtonEffectExtensionChunk({style_type:e.styles$.close_button_style_type,solid_button_effect:e.styles$.close_button_solid_button_effect,line_button_effect:e.styles$.close_button_line_button_effect,transparent_button_effect:e.styles$.close_button_transparent_button_effect},t.$siteModel.effects),!0]]}load(){return i.ModalOrganismLazy.load()}}t.ModalOrganismChunk=s},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.breakpointsMap=t.SectionBreakpointsManager=void 0;var r=o(n(0)),i=n(5),s=n(65),a=n(56),l=n(34);const u=t.breakpointsMap={mobile:[0,768],desktop:[768,1200]},c=(e,t,n,o,r,i)=>`\n/** visible: ${t?"true":"false"} **/\n/** showWhenHidden: ${o?"true":"false"} **/\n/** device: ${n} **/\n\nsection[data-id="${e}"] {\n display: ${t?"block":"none"};\n}\n\n${i?`\n/* section[data-id="${e}"] {\n height: 85px !important;\n transition: height 0.3s ease;\n overflow: hidden !important;\n \n .con-kit-container {\n display: none;\n }\n .con-kit-layout {\n pointer-events: none;\n * {\n pointer-events: none;\n }\n }\n} */\n`:""}\n\n${o&&!t||r?`\nsection[data-id="${e}"]{\n display: block;\n}\nsection[data-id="${e}"] .con-kit-organism-background1,\nsection[data-id="${e}"] .con-kit-layer-react{\n opacity: 0.5;\n}\nsection.con-kit-section--full-height[data-id="${e}"] {\n display: flex;\n}\n`:""}\n${n===s.SiteViewportEnum.MOBILE?`\n@media(min-width: ${u.mobile[0]}px) and (max-width: ${u.mobile[1]}px) {\n section[data-id="${e}"] {\n display: block!important;\n }\n section.con-kit-section--full-height[data-id="${e}"] {\n display: flex!important;\n }\n} `:""}\n\n${n===s.SiteViewportEnum.DESKTOP?`\n@media(min-width: ${u.desktop[0]}px) {\n section[data-id="${e}"] {\n display: block!important;\n }\n section.con-kit-section--full-height[data-id="${e}"] {\n display: flex!important;\n }\n} `:""}\n\n\n`;(t.SectionBreakpointsManager=(0,i.observer)(e=>{const{showHiddenSections:t=!1,allowSectionCollapse:n,expandedHiddenSectionIds:o,viewport:i}=e,d=(0,a.useDevice)(),h=e.sections.map(r=>{const a=r.data.globalOrganismId?e.pageModel.version.globalOrganismMap.get(r.data.globalOrganismId):void 0,h=!("header-v2"===r.layer.type||!(0,l.isSectionHide)(r,d,"builder")||!n||o.includes(r._id)),{visibility_breakpoints:f,visibility_breakpoints_custom:p}=(null==a?void 0:a.styles)||r.styles;if("custom"===f){if(!p)return"";if(i===s.SiteViewportEnum.MOBILE){const e=u.mobile[1]<=p[1]&&u.mobile[1]>=p[0];return c(r._id,e,s.SiteViewportEnum.MOBILE,t,!1,h)}return p[1]===u.desktop[1]?c(r._id,p[0]>=u.mobile[0],s.SiteViewportEnum.DESKTOP,t,!1,h):(m=r._id,y=p[0],v=p[1],`\n/** min: ${y} **/\n/** max: ${v} **/\n/** showWhenHidden: ${(g=t)?"true":"false"} **/\n\nsection[data-id="${m}"] {\n display: none;\n}\n\n@media(min-width: ${y}px) and (max-width: ${v}px) {\n section[data-id="${m}"] {\n display: block!important;\n }\n section.con-kit-section--full-height[data-id="${m}"] {\n display: flex!important;\n }\n}\n\n${g?`\nsection[data-id="${m}"] {\n display: block!important;\n opacity: 0.5;\n}\nsection.con-kit-section--full-height[data-id="${m}"] {\n display: flex!important;\n} `:""}\n`)}var m,y,v,g;return""}).join("");return r.default.createElement("style",{dangerouslySetInnerHTML:{__html:h}})})).defaultProps={showHiddenSections:!1}},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.OnepageBarLazy=t.OnepageBarAsyncComponent=void 0;var r=l(n(0)),i=o(n(4)),s=n(36),a=n(13);function l(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(l=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const u=t.OnepageBarLazy=(0,i.default)({resolved:{},chunkName:()=>"shared/one-page-bar",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(165).then(n.t.bind(null,299,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 299}},{ssr:!1}),c=t.OnepageBarAsyncComponent=(0,r.memo)(()=>{const e=(0,r.useContext)(a.SiteContext),t=(0,r.useContext)(s.FeaturesContext);return e.onepageBar||!(!e.onepageBar&&t.deactivateOnepageBar)?r.default.createElement(u,null):null})},function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.UpgradeBannerLazy=t.UpgradeBannerAsyncComponent=void 0;var r=u(n(0)),i=o(n(4)),s=n(5),a=n(36),l=n(8);function u(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return(u=function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s})(e,t)}const c=t.UpgradeBannerLazy=(0,i.default)({resolved:{},chunkName:()=>"shared/one-page-bar",isReady(e){const t=this.resolve(e);return!0===this.resolved[t]&&!!n.m[t]},importAsync:()=>n.e(165).then(n.t.bind(null,300,7)),requireAsync(e){const t=this.resolve(e);return this.resolved[t]=!1,this.importAsync(e).then(e=>(this.resolved[t]=!0,e))},requireSync(e){const t=this.resolve(e);return n(t)},resolve(){return 300}},{ssr:!1}),d=t.UpgradeBannerAsyncComponent=(0,s.observer)(()=>{const e=(0,r.useContext)(l.PageContext),t=(0,r.useContext)(a.FeaturesContext),[n,o]=(0,r.useState)([]);return(0,r.useEffect)(()=>{const n=new Set,r=!(t.formUpload&&t.formHiddenFieldElement&&t.formCustomHTMLElement&&t.formCalendlyElement&&t.formCaptchaElement&&t.formLoaderElement);if(!t.formMultiStep){e.version.sections.filter(e=>"form"===e.layer.type).some(e=>e.layer.frames.length>2)&&n.add("formMultiStep")}const i=e=>{t[e]||n.add(e)};r&&e.version.sections.filter(e=>"form"===e.layer.type).forEach(e=>e.layer.frames.forEach(e=>e.rows.forEach(e=>e.molecules.forEach(e=>e.atoms.forEach(e=>{switch(e.type){default:break;case"form-uploader":i("formUpload");break;case"form-hidden-field":i("formHiddenFieldElement");break;case"form-calendly":i("formCalendlyElement");break;case"custom-code":i("formCustomHTMLElement");break;case"form-recaptcha":i("formCaptchaElement");break;case"form-loader":i("formLoaderElement")}}))))),o([...n])},[t,e.version.sections.length]),n.length?r.default.createElement(c,{featureList:n}):null})},function(e,t,n){"use strict";e.exports=n(495)},function(e,t,n){"use strict";!function(e,t,n){function o(e){if(e&&e.__esModule)return e;var t=Object.create(null);return e&&Object.keys(e).forEach(function(n){if("default"!==n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}}),t.default=e,Object.freeze(t)}var r=o(n);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{r.value=o,r.getSnapshot=t,d(r)&&i({inst:r})},[e,o,t]),l(()=>(d(r)&&i({inst:r}),e(()=>{d(r)&&i({inst:r})})),[e]),c(o),o},f="useSyncExternalStore"in r?(e=>e.useSyncExternalStore)(r):h,p=r.createContext(null),m=r.createContext(null),y=r.createContext(null),v=r.createContext(null),g=r.createContext(null),b=r.createContext({outlet:null,matches:[]}),x=r.createContext(null);function w(){return null!=r.useContext(g)}function _(){return w()||t.invariant(!1),r.useContext(g).location}function M(){w()||t.invariant(!1);let{basename:e,navigator:n}=r.useContext(v),{matches:o}=r.useContext(b),{pathname:i}=_(),s=JSON.stringify(t.UNSAFE_getPathContributingMatches(o).map(e=>e.pathnameBase)),a=r.useRef(!1);return r.useEffect(()=>{a.current=!0}),r.useCallback(function(o,r){if(void 0===r&&(r={}),!a.current)return;if("number"==typeof o)return void n.go(o);let l=t.resolveTo(o,JSON.parse(s),i,"path"===r.relative);"/"!==e&&(l.pathname="/"===l.pathname?e:t.joinPaths([e,l.pathname])),(r.replace?n.replace:n.push)(l,r.state,r)},[e,n,s,i])}const E=r.createContext(null);function P(e){let t=r.useContext(b).outlet;return t?r.createElement(E.Provider,{value:e},t):t}function k(e,n){let{relative:o}=void 0===n?{}:n,{matches:i}=r.useContext(b),{pathname:s}=_(),a=JSON.stringify(t.UNSAFE_getPathContributingMatches(i).map(e=>e.pathnameBase));return r.useMemo(()=>t.resolveTo(e,JSON.parse(a),s,"path"===o),[e,a,s,o])}function C(e,n){w()||t.invariant(!1);let{navigator:o}=r.useContext(v),s=r.useContext(m),{matches:a}=r.useContext(b),l=a[a.length-1],u=l?l.params:{};!l||l.pathname;let c=l?l.pathnameBase:"/";l&&l.route;let d,h=_();if(n){var f;let e="string"==typeof n?t.parsePath(n):n;"/"===c||(null==(f=e.pathname)?void 0:f.startsWith(c))||t.invariant(!1),d=e}else d=h;let p=d.pathname||"/",y="/"===c?p:p.slice(c.length)||"/",x=t.matchRoutes(e,{pathname:y}),M=T(x&&x.map(e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:t.joinPaths([c,o.encodeLocation?o.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?c:t.joinPaths([c,o.encodeLocation?o.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),a,s||void 0);return n&&M?r.createElement(g.Provider,{value:{location:i({pathname:"/",search:"",hash:"",state:null,key:"default"},d),navigationType:t.Action.Pop}},M):M}function A(){let e=V(),n=t.isRouteErrorResponse(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),o=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},n),o?r.createElement("pre",{style:i},o):null,null)}class S extends r.Component{constructor(e){super(e),this.state={location:e.location,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location?{error:e.error,location:e.location}:{error:e.error||t.error,location:t.location}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return this.state.error?r.createElement(b.Provider,{value:this.props.routeContext},r.createElement(x.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function O(e){let{routeContext:t,match:n,children:o}=e,i=r.useContext(p);return i&&i.static&&i.staticContext&&n.route.errorElement&&(i.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(b.Provider,{value:t},o)}function T(e,n,o){if(void 0===n&&(n=[]),null==e){if(null==o||!o.errors)return null;e=o.matches}let i=e,s=null==o?void 0:o.errors;if(null!=s){let e=i.findIndex(e=>e.route.id&&(null==s?void 0:s[e.route.id]));e>=0||t.invariant(!1),i=i.slice(0,Math.min(i.length,e+1))}return i.reduceRight((e,t,a)=>{let l=t.route.id?null==s?void 0:s[t.route.id]:null,u=o?t.route.errorElement||r.createElement(A,null):null,c=n.concat(i.slice(0,a+1)),d=()=>r.createElement(O,{match:t,routeContext:{outlet:e,matches:c}},l?u:void 0!==t.route.element?t.route.element:e);return o&&(t.route.errorElement||0===a)?r.createElement(S,{location:o.location,component:u,error:l,children:d(),routeContext:{outlet:null,matches:c}}):d()},null)}var R,j;function D(e){let n=r.useContext(p);return n||t.invariant(!1),n}function L(e){let n=r.useContext(m);return n||t.invariant(!1),n}function I(e){let n=function(){let e=r.useContext(b);return e||t.invariant(!1),e}(),o=n.matches[n.matches.length-1];return o.route.id||t.invariant(!1),o.route.id}function V(){var e;let t=r.useContext(x),n=L(j.UseRouteError),o=I(j.UseRouteError);return t||(null==(e=n.errors)?void 0:e[o])}function B(){let e=r.useContext(y);return null==e?void 0:e._data}!function(e){e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator"}(R||(R={})),function(e){e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator"}(j||(j={}));let $="blocker-singleton";function F(e){t.invariant(!1)}function U(e){let{basename:n="/",children:o=null,location:i,navigationType:s=t.Action.Pop,navigator:a,static:l=!1}=e;w()&&t.invariant(!1);let u=n.replace(/^\/*/,"/"),c=r.useMemo(()=>({basename:u,navigator:a,static:l}),[u,a,l]);"string"==typeof i&&(i=t.parsePath(i));let{pathname:d="/",search:h="",hash:f="",state:p=null,key:m="default"}=i,y=r.useMemo(()=>{let e=t.stripBasename(d,u);return null==e?null:{pathname:e,search:h,hash:f,state:p,key:m}},[u,d,h,f,p,m]);return null==y?null:r.createElement(v.Provider,{value:c},r.createElement(g.Provider,{children:o,value:{location:y,navigationType:s}}))}function N(e){let{children:t,location:n}=e,o=r.useContext(p);return C(o&&!t?o.router.routes:G(t),n)}var z;!function(e){e[e.pending=0]="pending",e[e.success=1]="success",e[e.error=2]="error"}(z||(z={}));const W=new Promise(()=>{});class q extends r.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,t){console.error(" caught the following error during render",e,t)}render(){let{children:e,errorElement:n,resolve:o}=this.props,i=null,s=z.pending;if(o instanceof Promise)if(this.state.error){s=z.error;let e=this.state.error;i=Promise.reject().catch(()=>{}),Object.defineProperty(i,"_tracked",{get:()=>!0}),Object.defineProperty(i,"_error",{get:()=>e})}else o._tracked?(i=o,s=void 0!==i._error?z.error:void 0!==i._data?z.success:z.pending):(s=z.pending,Object.defineProperty(o,"_tracked",{get:()=>!0}),i=o.then(e=>Object.defineProperty(o,"_data",{get:()=>e}),e=>Object.defineProperty(o,"_error",{get:()=>e})));else s=z.success,i=Promise.resolve(),Object.defineProperty(i,"_tracked",{get:()=>!0}),Object.defineProperty(i,"_data",{get:()=>o});if(s===z.error&&i._error instanceof t.AbortedDeferredError)throw W;if(s===z.error&&!n)throw i._error;if(s===z.error)return r.createElement(y.Provider,{value:i,children:n});if(s===z.success)return r.createElement(y.Provider,{value:i,children:e});throw i}}function H(e){let{children:t}=e,n=B(),o="function"==typeof t?t(n):t;return r.createElement(r.Fragment,null,o)}function G(e,n){void 0===n&&(n=[]);let o=[];return r.Children.forEach(e,(e,i)=>{if(!r.isValidElement(e))return;if(e.type===r.Fragment)return void o.push.apply(o,G(e.props.children,n));e.type!==F&&t.invariant(!1),e.props.index&&e.props.children&&t.invariant(!1);let s=[...n,i],a={id:e.props.id||s.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,hasErrorBoundary:null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle};e.props.children&&(a.children=G(e.props.children,s)),o.push(a)}),o}function K(e){return e.map(e=>{let t=i({},e);return null==t.hasErrorBoundary&&(t.hasErrorBoundary=null!=t.errorElement),t.children&&(t.children=K(t.children)),t})}Object.defineProperty(e,"AbortedDeferredError",{enumerable:!0,get:function(){return t.AbortedDeferredError}}),Object.defineProperty(e,"NavigationType",{enumerable:!0,get:function(){return t.Action}}),Object.defineProperty(e,"createPath",{enumerable:!0,get:function(){return t.createPath}}),Object.defineProperty(e,"defer",{enumerable:!0,get:function(){return t.defer}}),Object.defineProperty(e,"generatePath",{enumerable:!0,get:function(){return t.generatePath}}),Object.defineProperty(e,"isRouteErrorResponse",{enumerable:!0,get:function(){return t.isRouteErrorResponse}}),Object.defineProperty(e,"json",{enumerable:!0,get:function(){return t.json}}),Object.defineProperty(e,"matchPath",{enumerable:!0,get:function(){return t.matchPath}}),Object.defineProperty(e,"matchRoutes",{enumerable:!0,get:function(){return t.matchRoutes}}),Object.defineProperty(e,"parsePath",{enumerable:!0,get:function(){return t.parsePath}}),Object.defineProperty(e,"redirect",{enumerable:!0,get:function(){return t.redirect}}),Object.defineProperty(e,"resolvePath",{enumerable:!0,get:function(){return t.resolvePath}}),e.Await=function(e){let{children:t,errorElement:n,resolve:o}=e;return r.createElement(q,{resolve:o,errorElement:n},r.createElement(H,null,t))},e.MemoryRouter=function(e){let{basename:n,children:o,initialEntries:i,initialIndex:s}=e,a=r.useRef();null==a.current&&(a.current=t.createMemoryHistory({initialEntries:i,initialIndex:s,v5Compat:!0}));let l=a.current,[u,c]=r.useState({action:l.action,location:l.location});return r.useLayoutEffect(()=>l.listen(c),[l]),r.createElement(U,{basename:n,children:o,location:u.location,navigationType:u.action,navigator:l})},e.Navigate=function(e){let{to:n,replace:o,state:i,relative:s}=e;w()||t.invariant(!1);let a=r.useContext(m),l=M();return r.useEffect(()=>{a&&"idle"!==a.navigation.state||l(n,{replace:o,state:i,relative:s})}),null},e.Outlet=function(e){return P(e.context)},e.Route=F,e.Router=U,e.RouterProvider=function(e){let{fallbackElement:t,router:n}=e,o=f(n.subscribe,()=>n.state,()=>n.state),i=r.useMemo(()=>({createHref:n.createHref,encodeLocation:n.encodeLocation,go:e=>n.navigate(e),push:(e,t,o)=>n.navigate(e,{state:t,preventScrollReset:null==o?void 0:o.preventScrollReset}),replace:(e,t,o)=>n.navigate(e,{replace:!0,state:t,preventScrollReset:null==o?void 0:o.preventScrollReset})}),[n]),s=n.basename||"/";return r.createElement(r.Fragment,null,r.createElement(p.Provider,{value:{router:n,navigator:i,static:!1,basename:s}},r.createElement(m.Provider,{value:o},r.createElement(U,{basename:n.basename,location:n.state.location,navigationType:n.state.historyAction,navigator:i},n.state.initialized?r.createElement(N,null):t))),null)},e.Routes=N,e.UNSAFE_DataRouterContext=p,e.UNSAFE_DataRouterStateContext=m,e.UNSAFE_LocationContext=g,e.UNSAFE_NavigationContext=v,e.UNSAFE_RouteContext=b,e.UNSAFE_enhanceManualRouteObjects=K,e.createMemoryRouter=function(e,n){return t.createRouter({basename:null==n?void 0:n.basename,history:t.createMemoryHistory({initialEntries:null==n?void 0:n.initialEntries,initialIndex:null==n?void 0:n.initialIndex}),hydrationData:null==n?void 0:n.hydrationData,routes:K(e)}).initialize()},e.createRoutesFromChildren=G,e.createRoutesFromElements=G,e.renderMatches=function(e){return T(e)},e.unstable_useBlocker=function(e){let{router:t}=D(R.UseBlocker),n=r.useCallback(t=>"function"==typeof e?!!e(t):!!e,[e]),o=t.getBlocker($,n);return r.useEffect(()=>()=>t.deleteBlocker($),[t]),o},e.useActionData=function(){let e=L(j.UseActionData);return r.useContext(b)||t.invariant(!1),Object.values((null==e?void 0:e.actionData)||{})[0]},e.useAsyncError=function(){let e=r.useContext(y);return null==e?void 0:e._error},e.useAsyncValue=B,e.useHref=function(e,n){let{relative:o}=void 0===n?{}:n;w()||t.invariant(!1);let{basename:i,navigator:s}=r.useContext(v),{hash:a,pathname:l,search:u}=k(e,{relative:o}),c=l;return"/"!==i&&(c="/"===l?i:t.joinPaths([i,l])),s.createHref({pathname:c,search:u,hash:a})},e.useInRouterContext=w,e.useLoaderData=function(){let e=L(j.UseLoaderData),t=I(j.UseLoaderData);if(!e.errors||null==e.errors[t])return e.loaderData[t];console.error("You cannot `useLoaderData` in an errorElement (routeId: "+t+")")},e.useLocation=_,e.useMatch=function(e){w()||t.invariant(!1);let{pathname:n}=_();return r.useMemo(()=>t.matchPath(e,n),[n,e])},e.useMatches=function(){let{matches:e,loaderData:t}=L(j.UseMatches);return r.useMemo(()=>e.map(e=>{let{pathname:n,params:o}=e;return{id:e.route.id,pathname:n,params:o,data:t[e.route.id],handle:e.route.handle}}),[e,t])},e.useNavigate=M,e.useNavigation=function(){return L(j.UseNavigation).navigation},e.useNavigationType=function(){return r.useContext(g).navigationType},e.useOutlet=P,e.useOutletContext=function(){return r.useContext(E)},e.useParams=function(){let{matches:e}=r.useContext(b),t=e[e.length-1];return t?t.params:{}},e.useResolvedPath=k,e.useRevalidator=function(){let e=D(R.UseRevalidator),t=L(j.UseRevalidator);return{revalidate:e.router.revalidate,state:t.revalidation}},e.useRouteError=V,e.useRouteLoaderData=function(e){return L(j.UseRouteLoaderData).loaderData[e]},e.useRoutes=C,Object.defineProperty(e,"__esModule",{value:!0})}(t,n(496),n(0))},function(e,t,n){"use strict";function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0&&(t.hash=e.substr(n),e=e.substr(0,n));let o=e.indexOf("?");o>=0&&(t.search=e.substr(o),e=e.substr(0,o)),e&&(t.pathname=e)}return t}function h(e,n,r,a){void 0===a&&(a={});let{window:d=document.defaultView,v5Compat:h=!1}=a,f=d.history,p=t.Action.Pop,m=null,y=v();function v(){return(f.state||{idx:null}).idx}function g(){p=t.Action.Pop;let e=v(),n=null==e?null:e-y;y=e,m&&m({action:p,location:x.location,delta:n})}function b(e){let t="null"!==d.location.origin?d.location.origin:d.location.href,n="string"==typeof e?e:c(e);return s(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==y&&(y=0,f.replaceState(o({},f.state,{idx:y}),""));let x={get action(){return p},get location(){return e(d,f)},listen(e){if(m)throw new Error("A history only accepts one active listener");return d.addEventListener(i,g),m=e,()=>{d.removeEventListener(i,g),m=null}},createHref:e=>n(d,e),createURL:b,encodeLocation(e){let t=b(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,n){p=t.Action.Push;let o=u(x.location,e,n);r&&r(o,e),y=v()+1;let i=l(o,y),s=x.createHref(o);try{f.pushState(i,"",s)}catch(e){d.location.assign(s)}h&&m&&m({action:p,location:x.location,delta:1})},replace:function(e,n){p=t.Action.Replace;let o=u(x.location,e,n);r&&r(o,e),y=v();let i=l(o,y),s=x.createHref(o);f.replaceState(i,"",s),h&&m&&m({action:p,location:x.location,delta:0})},go:e=>f.go(e)};return x}let f;function p(e,t,n){return void 0===t&&(t=[]),void 0===n&&(n=new Set),e.map((e,r)=>{let i=[...t,r],a="string"==typeof e.id?e.id:i.join("-");if(s(!0!==e.index||!e.children,"Cannot specify children on an index route"),s(!n.has(a),'Found a route id collision on id "'+a+"\". Route id's must be globally unique within Data Router usages"),n.add(a),function(e){return!0===e.index}(e)){return o({},e,{id:a})}return o({},e,{id:a,children:e.children?p(e.children,i,n):void 0})})}function m(e,t,n){void 0===n&&(n="/");let o=S(("string"==typeof t?d(t):t).pathname||"/",n);if(null==o)return null;let r=y(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(r);let i=null;for(let e=0;null==i&&e{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};a.relativePath.startsWith("/")&&(s(a.relativePath.startsWith(o),'Absolute route path "'+a.relativePath+'" nested under path "'+o+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(o.length));let l=L([o,a.relativePath]),u=n.concat(a);e.children&&e.children.length>0&&(s(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+l+'".'),y(e.children,t,u,l)),(null!=e.path||e.index)&&t.push({path:l,score:P(l,e.index),routesMeta:u})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of v(e.path))r(e,t,n);else r(e,t)}),t}function v(e){let t=e.split("/");if(0===t.length)return[];let[n,...o]=t,r=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===o.length)return r?[i,""]:[i];let s=v(o.join("/")),a=[];return a.push(...s.map(e=>""===e?i:[i,e].join("/"))),r&&a.push(...s),a.map(t=>e.startsWith("/")&&""===t?"/":t)}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(f||(f={}));const g=/^:\w+$/,b=3,x=2,w=1,_=10,M=-2,E=e=>"*"===e;function P(e,t){let n=e.split("/"),o=n.length;return n.some(E)&&(o+=M),t&&(o+=x),n.filter(e=>!E(e)).reduce((e,t)=>e+(g.test(t)?b:""===t?w:_),o)}function k(e,t){let{routesMeta:n}=e,o={},r="/",i=[];for(let e=0;e(o.push(t),"/([^\\/]+)"));e.endsWith("*")?(o.push("*"),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))");let i=new RegExp(r,t?void 0:"i");return[i,o]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let i=r[0],s=i.replace(/(.)\/+$/,"$1"),a=r.slice(1);return{params:o.reduce((e,t,n)=>{if("*"===t){let e=a[n]||"";s=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}return e[t]=function(e,t){try{return decodeURIComponent(e)}catch(n){return O(!1,'The value for the URL param "'+t+'" will not be decoded because the string "'+e+'" is a malformed URL segment. This is probably due to a bad percent encoding ('+n+")."),e}}(a[n]||"",t),e},{}),pathname:i,pathnameBase:s,pattern:e}}function A(e){try{return decodeURI(e)}catch(t){return O(!1,'The URL path "'+e+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+t+")."),e}}function S(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,o=e.charAt(n);return o&&"/"!==o?null:e.slice(n)||"/"}function O(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function T(e,t){void 0===t&&(t="/");let{pathname:n,search:o="",hash:r=""}="string"==typeof e?d(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach(e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)}),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:V(o),hash:B(r)}}function R(e,t,n,o){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(o)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function j(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}function D(e,t,n,r){let i;void 0===r&&(r=!1),"string"==typeof e?i=d(e):(i=o({},e),s(!i.pathname||!i.pathname.includes("?"),R("?","pathname","search",i)),s(!i.pathname||!i.pathname.includes("#"),R("#","pathname","hash",i)),s(!i.search||!i.search.includes("#"),R("#","search","hash",i)));let a,l=""===e||""===i.pathname,u=l?"/":i.pathname;if(r||null==u)a=n;else{let e=t.length-1;if(u.startsWith("..")){let t=u.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=T(i,a),h=u&&"/"!==u&&u.endsWith("/"),f=(l||"."===u)&&n.endsWith("/");return c.pathname.endsWith("/")||!h&&!f||(c.pathname+="/"),c}const L=e=>e.join("/").replace(/\/\/+/g,"/"),I=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),V=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",B=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";class $ extends Error{}class F{constructor(e,t){let n;this.pendingKeysSet=new Set,this.subscribers=new Set,this.deferredKeys=[],s(e&&"object"==typeof e&&!Array.isArray(e),"defer() only accepts plain objects"),this.abortPromise=new Promise((e,t)=>n=t),this.controller=new AbortController;let o=()=>n(new $("Deferred data aborted"));this.unlistenAbortSignal=()=>this.controller.signal.removeEventListener("abort",o),this.controller.signal.addEventListener("abort",o),this.data=Object.entries(e).reduce((e,t)=>{let[n,o]=t;return Object.assign(e,{[n]:this.trackPromise(n,o)})},{}),this.done&&this.unlistenAbortSignal(),this.init=t}trackPromise(e,t){if(!(t instanceof Promise))return t;this.deferredKeys.push(e),this.pendingKeysSet.add(e);let n=Promise.race([t,this.abortPromise]).then(t=>this.onSettle(n,e,null,t),t=>this.onSettle(n,e,t));return n.catch(()=>{}),Object.defineProperty(n,"_tracked",{get:()=>!0}),n}onSettle(e,t,n,o){return this.controller.signal.aborted&&n instanceof $?(this.unlistenAbortSignal(),Object.defineProperty(e,"_error",{get:()=>n}),Promise.reject(n)):(this.pendingKeysSet.delete(t),this.done&&this.unlistenAbortSignal(),n?(Object.defineProperty(e,"_error",{get:()=>n}),this.emit(!1,t),Promise.reject(n)):(Object.defineProperty(e,"_data",{get:()=>o}),this.emit(!1,t),o))}emit(e,t){this.subscribers.forEach(n=>n(e,t))}subscribe(e){return this.subscribers.add(e),()=>this.subscribers.delete(e)}cancel(){this.controller.abort(),this.pendingKeysSet.forEach((e,t)=>this.pendingKeysSet.delete(t)),this.emit(!0)}async resolveData(e){let t=!1;if(!this.done){let n=()=>this.cancel();e.addEventListener("abort",n),t=await new Promise(t=>{this.subscribe(o=>{e.removeEventListener("abort",n),(o||this.done)&&t(o)})})}return t}get done(){return 0===this.pendingKeysSet.size}get unwrappedData(){return s(null!==this.data&&this.done,"Can only unwrap data on initialized and settled deferreds"),Object.entries(this.data).reduce((e,t)=>{let[n,o]=t;return Object.assign(e,{[n]:U(o)})},{})}get pendingKeys(){return Array.from(this.pendingKeysSet)}}function U(e){if(!function(e){return e instanceof Promise&&!0===e._tracked}(e))return e;if(e._error)throw e._error;return e._data}class N{constructor(e,t,n,o){void 0===o&&(o=!1),this.status=e,this.statusText=t||"",this.internal=o,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}}function z(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}const W=["post","put","patch","delete"],q=new Set(W),H=["get",...W],G=new Set(H),K=new Set([301,302,303,307,308]),Y=new Set([307,308]),X={state:"idle",location:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},J={state:"idle",data:void 0,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},Z={state:"unblocked",proceed:void 0,reset:void 0,location:void 0},Q="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,ee=!Q;const te=Symbol("deferred");function ne(e,t,n){void 0===n&&(n=!1);let o,r="string"==typeof e?e:c(e);if(!t||!function(e){return null!=e&&"formData"in e}(t))return{path:r};if(t.formMethod&&!Me(t.formMethod))return{path:r,error:me(405,{method:t.formMethod})};if(t.formData&&(o={formMethod:t.formMethod||"get",formAction:ve(r),formEncType:t&&t.formEncType||"application/x-www-form-urlencoded",formData:t.formData},Ee(o.formMethod)))return{path:r,submission:o};let i=d(r),s=ue(t.formData);return n&&i.search&&Ce(i.search)&&s.append("index",""),i.search="?"+s,{path:c(i),submission:o}}function oe(e,t){let n=e;if(t){let o=e.findIndex(e=>e.route.id===t);o>=0&&(n=e.slice(0,o))}return n}function re(e,t,n,r,i,s,a,l,u,c,d){let h=c?Object.values(c)[0]:u?Object.values(u)[0]:void 0,f=e.createURL(t.location),p=e.createURL(i),m=s||f.toString()===p.toString()||f.search!==p.search,y=c?Object.keys(c)[0]:void 0,v=oe(n,y).filter((e,n)=>{if(null==e.route.loader)return!1;if(function(e,t,n){let o=!t||n.route.id!==t.route.id,r=void 0===e[n.route.id];return o||r}(t.loaderData,t.matches[n],e)||a.some(t=>t===e.route.id))return!0;let i=t.matches[n],s=e;return se(e,o({currentUrl:f,currentParams:i.params,nextUrl:p,nextParams:s.params},r,{actionResult:h,defaultShouldRevalidate:m||ie(i,s)}))}),g=[];return d&&d.forEach((e,i)=>{if(n.some(t=>t.route.id===e.routeId))if(l.includes(i))g.push(o({key:i},e));else{se(e.match,o({currentUrl:f,currentParams:t.matches[t.matches.length-1].params,nextUrl:p,nextParams:n[n.length-1].params},r,{actionResult:h,defaultShouldRevalidate:m}))&&g.push(o({key:i},e))}}),[v,g]}function ie(e,t){let n=e.route.path;return e.pathname!==t.pathname||null!=n&&n.endsWith("*")&&e.params["*"]!==t.params["*"]}function se(e,t){if(e.route.shouldRevalidate){let n=e.route.shouldRevalidate(t);if("boolean"==typeof n)return n}return t.defaultShouldRevalidate}async function ae(e,t,n,o,r,i,a,l){let u,d,h;void 0===r&&(r="/"),void 0===i&&(i=!1),void 0===a&&(a=!1);let p=new Promise((e,t)=>h=t),m=()=>h();t.signal.addEventListener("abort",m);try{let o=n.route[e];s(o,"Could not find the "+e+' to run on the "'+n.route.id+'" route'),d=await Promise.race([o({request:t,params:n.params,context:l}),p]),s(void 0!==d,"You defined "+("action"===e?"an action":"a loader")+' for route "'+n.route.id+"\" but didn't return anything from your `"+e+"` function. Please return a value or `null`.")}catch(e){u=f.error,d=e}finally{t.signal.removeEventListener("abort",m)}if(we(d)){let e,l=d.status;if(K.has(l)){let e=d.headers.get("Location");if(s(e,"Redirects returned/thrown from loaders/actions must have a Location header"),/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i.test(e)){if(!i){let n=new URL(t.url),o=e.startsWith("//")?new URL(n.protocol+e):new URL(e);o.origin===n.origin&&(e=o.pathname+o.search+o.hash)}}else{let i=D(e,j(o.slice(0,o.indexOf(n)+1)).map(e=>e.pathnameBase),new URL(t.url).pathname);if(s(c(i),"Unable to resolve redirect location: "+e),r){let e=i.pathname;i.pathname="/"===e?r:L([r,e])}e=c(i)}if(i)throw d.headers.set("Location",e),d;return{type:f.redirect,status:l,location:e,revalidate:null!==d.headers.get("X-Remix-Revalidate")}}if(a)throw{type:u||f.data,response:d};let h=d.headers.get("Content-Type");return e=h&&/\bapplication\/json\b/.test(h)?await d.json():await d.text(),u===f.error?{type:u,error:new N(l,d.statusText,e),headers:d.headers}:{type:f.data,data:e,statusCode:d.status,headers:d.headers}}return u===f.error?{type:u,error:d}:d instanceof F?{type:f.deferred,deferredData:d}:{type:f.data,data:d}}function le(e,t,n,o){let r=e.createURL(ve(t)).toString(),i={signal:n};if(o&&Ee(o.formMethod)){let{formMethod:e,formEncType:t,formData:n}=o;i.method=e.toUpperCase(),i.body="application/x-www-form-urlencoded"===t?ue(n):n}return new Request(r,i)}function ue(e){let t=new URLSearchParams;for(let[n,o]of e.entries())t.append(n,o instanceof File?o.name:o);return t}function ce(e,t,n,o,r){let i,a={},l=null,u=!1,c={};return n.forEach((n,d)=>{let h=t[d].route.id;if(s(!xe(n),"Cannot handle redirect results in processLoaderData"),be(n)){let t=fe(e,h),r=n.error;o&&(r=Object.values(o)[0],o=void 0),l=l||{},null==l[t.route.id]&&(l[t.route.id]=r),a[h]=void 0,u||(u=!0,i=z(n.error)?n.error.status:500),n.headers&&(c[h]=n.headers)}else ge(n)?(r.set(h,n.deferredData),a[h]=n.deferredData.data):a[h]=n.data,null==n.statusCode||200===n.statusCode||u||(i=n.statusCode),n.headers&&(c[h]=n.headers)}),o&&(l=o,a[Object.keys(o)[0]]=void 0),{loaderData:a,errors:l,statusCode:i||200,loaderHeaders:c}}function de(e,t,n,r,i,a,l,u){let{loaderData:c,errors:d}=ce(t,n,r,i,u);for(let t=0;te.route.id===t)+1):[...e]).reverse().find(e=>!0===e.route.hasErrorBoundary)||e[0]}function pe(e){let t=e.find(e=>e.index||!e.path||"/"===e.path)||{id:"__shim-error-route__"};return{matches:[{params:{},pathname:"",pathnameBase:"",route:t}],route:t}}function me(e,t){let{pathname:n,routeId:o,method:r,type:i}=void 0===t?{}:t,s="Unknown Server Error",a="Unknown @remix-run/router error";return 400===e?(s="Bad Request",r&&n&&o?a="You made a "+r+' request to "'+n+'" but did not provide a `loader` for route "'+o+'", so there is no way to handle the request.':"defer-action"===i&&(a="defer() is not supported in actions")):403===e?(s="Forbidden",a='Route "'+o+'" does not match URL "'+n+'"'):404===e?(s="Not Found",a='No route matches URL "'+n+'"'):405===e&&(s="Method Not Allowed",r&&n&&o?a="You made a "+r.toUpperCase()+' request to "'+n+'" but did not provide an `action` for route "'+o+'", so there is no way to handle the request.':r&&(a='Invalid request method "'+r.toUpperCase()+'"')),new N(e||500,s,new Error(a),!0)}function ye(e){for(let t=e.length-1;t>=0;t--){let n=e[t];if(xe(n))return n}}function ve(e){return c(o({},"string"==typeof e?d(e):e,{hash:""}))}function ge(e){return e.type===f.deferred}function be(e){return e.type===f.error}function xe(e){return(e&&e.type)===f.redirect}function we(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"object"==typeof e.headers&&void 0!==e.body}function _e(e){if(!we(e))return!1;let t=e.status,n=e.headers.get("Location");return t>=300&&t<=399&&null!=n}function Me(e){return G.has(e)}function Ee(e){return q.has(e)}async function Pe(e,t,n,o,r,i){for(let s=0;se.route.id===l.route.id),c=null!=u&&!ie(u,l)&&void 0!==(i&&i[l.route.id]);ge(a)&&(r||c)&&await ke(a,o,r).then(e=>{e&&(n[s]=e||n[s])})}}async function ke(e,t,n){if(void 0===n&&(n=!1),!await e.deferredData.resolveData(t)){if(n)try{return{type:f.data,data:e.deferredData.unwrappedData}}catch(e){return{type:f.error,error:e}}return{type:f.data,data:e.deferredData.data}}}function Ce(e){return new URLSearchParams(e).getAll("index").some(e=>""===e)}function Ae(e,t){let{route:n,pathname:o,params:r}=e;return{id:n.id,pathname:o,params:r,data:t[n.id],handle:n.handle}}function Se(e,t){let n="string"==typeof t?d(t).search:t.search;if(e[e.length-1].route.index&&Ce(n||""))return e[e.length-1];let o=j(e);return o[o.length-1]}t.AbortedDeferredError=$,t.ErrorResponse=N,t.IDLE_BLOCKER=Z,t.IDLE_FETCHER=J,t.IDLE_NAVIGATION=X,t.UNSAFE_DEFERRED_SYMBOL=te,t.UNSAFE_DeferredData=F,t.UNSAFE_convertRoutesToDataRoutes=p,t.UNSAFE_getPathContributingMatches=j,t.createBrowserHistory=function(e){return void 0===e&&(e={}),h(function(e,t){let{pathname:n,search:o,hash:r}=e.location;return u("",{pathname:n,search:o,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){return"string"==typeof t?t:c(t)},null,e)},t.createHashHistory=function(e){return void 0===e&&(e={}),h(function(e,t){let{pathname:n="/",search:o="",hash:r=""}=d(e.location.hash.substr(1));return u("",{pathname:n,search:o,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),o="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");o=-1===n?t:t.slice(0,n)}return o+"#"+("string"==typeof t?t:c(t))},function(e,t){a("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},e)},t.createMemoryHistory=function(e){void 0===e&&(e={});let n,{initialEntries:o=["/"],initialIndex:r,v5Compat:i=!1}=e;n=o.map((e,t)=>m(e,"string"==typeof e?null:e.state,0===t?"default":void 0));let s=f(null==r?n.length-1:r),l=t.Action.Pop,h=null;function f(e){return Math.min(Math.max(e,0),n.length-1)}function p(){return n[s]}function m(e,t,o){void 0===t&&(t=null);let r=u(n?p().pathname:"/",e,t,o);return a("/"===r.pathname.charAt(0),"relative pathnames are not supported in memory history: "+JSON.stringify(e)),r}function y(e){return"string"==typeof e?e:c(e)}return{get index(){return s},get action(){return l},get location(){return p()},createHref:y,createURL:e=>new URL(y(e),"http://localhost"),encodeLocation(e){let t="string"==typeof e?d(e):e;return{pathname:t.pathname||"",search:t.search||"",hash:t.hash||""}},push(e,o){l=t.Action.Push;let r=m(e,o);s+=1,n.splice(s,n.length,r),i&&h&&h({action:l,location:r,delta:1})},replace(e,o){l=t.Action.Replace;let r=m(e,o);n[s]=r,i&&h&&h({action:l,location:r,delta:0})},go(e){l=t.Action.Pop;let o=f(s+e),r=n[o];s=o,h&&h({action:l,location:r,delta:e})},listen:e=>(h=e,()=>{h=null})}},t.createPath=c,t.createRouter=function(e){s(e.routes.length>0,"You must provide a non-empty routes array to createRouter");let n=p(e.routes),r=null,i=new Set,a=null,l=null,c=null,d=null!=e.hydrationData,h=m(n,e.history.location,e.basename),y=null;if(null==h){let t=me(404,{pathname:e.history.location.pathname}),{matches:o,route:r}=pe(n);h=o,y={[r.id]:t}}let v,g,b=!h.some(e=>e.route.loader)||null!=e.hydrationData,x={historyAction:e.history.action,location:e.history.location,matches:h,initialized:b,navigation:X,restoreScrollPosition:null==e.hydrationData&&null,preventScrollReset:!1,revalidation:"idle",loaderData:e.hydrationData&&e.hydrationData.loaderData||{},actionData:e.hydrationData&&e.hydrationData.actionData||null,errors:e.hydrationData&&e.hydrationData.errors||y,fetchers:new Map,blockers:new Map},w=t.Action.Pop,_=!1,M=!1,E=!1,P=[],k=[],C=new Map,A=0,S=-1,T=new Map,R=new Set,j=new Map,D=new Map,L=null,I=new Map,V=!1;function B(e){x=o({},x,e),i.forEach(e=>e(x))}function $(n,r){var i,s;let a,l=null!=x.actionData&&null!=x.navigation.formMethod&&Ee(x.navigation.formMethod)&&"loading"===x.navigation.state&&!0!==(null==(i=n.state)?void 0:i._isRedirect);a=r.actionData?Object.keys(r.actionData).length>0?r.actionData:null:l?x.actionData:null;let u=r.loaderData?he(x.loaderData,r.loaderData,r.matches||[],r.errors):x.loaderData;for(let[e]of I)oe(e);let c=!0===_||null!=x.navigation.formMethod&&Ee(x.navigation.formMethod)&&!0!==(null==(s=n.state)?void 0:s._isRedirect);B(o({},r,{actionData:a,loaderData:u,historyAction:w,location:n,initialized:!0,navigation:X,revalidation:"idle",restoreScrollPosition:ce(n,r.matches||x.matches),preventScrollReset:c,blockers:new Map(x.blockers)})),M||w===t.Action.Pop||(w===t.Action.Push?e.history.push(n,n.state):w===t.Action.Replace&&e.history.replace(n,n.state)),w=t.Action.Pop,_=!1,M=!1,E=!1,P=[],k=[]}async function F(r,i,u){g&&g.abort(),g=null,w=r,M=!0===(u&&u.startUninterruptedRevalidation),function(e,t){if(a&&l&&c){let n=t.map(e=>Ae(e,x.loaderData)),o=l(e,n)||e.key;a[o]=c()}}(x.location,x.matches),_=!0===(u&&u.preventScrollReset);let d=u&&u.overrideNavigation,h=m(n,i,e.basename);if(!h){let e=me(404,{pathname:i.pathname}),{matches:t,route:o}=pe(n);return ue(),void $(i,{matches:t,loaderData:{},errors:{[o.id]:e}})}if(!(p=x.location,y=i,p.pathname!==y.pathname||p.search!==y.search||p.hash===y.hash||u&&u.submission&&Ee(u.submission.formMethod)))return void $(i,{matches:h});var p,y;g=new AbortController;let b,O,T=le(e.history,i,g.signal,u&&u.submission);if(u&&u.pendingError)O={[fe(h).route.id]:u.pendingError};else if(u&&u.submission&&Ee(u.submission.formMethod)){let e=await async function(e,n,r,i,s){W();let a,l=o({state:"submitting",location:n},r);B({navigation:l});let u=Se(i,n);if(u.route.action){if(a=await ae("action",e,u,i,v.basename),e.signal.aborted)return{shortCircuited:!0}}else a={type:f.error,error:me(405,{method:e.method,pathname:n.pathname,routeId:u.route.id})};if(xe(a)){let e;return e=s&&null!=s.replace?s.replace:a.location===x.location.pathname+x.location.search,await N(x,a,{submission:r,replace:e}),{shortCircuited:!0}}if(be(a)){let e=fe(i,u.route.id);return!0!==(s&&s.replace)&&(w=t.Action.Push),{pendingActionData:{},pendingActionError:{[e.route.id]:a.error}}}if(ge(a))throw me(400,{type:"defer-action"});return{pendingActionData:{[u.route.id]:a.data}}}(T,i,u.submission,h,{replace:u.replace});if(e.shortCircuited)return;b=e.pendingActionData,O=e.pendingActionError,d=o({state:"loading",location:i},u.submission),T=new Request(T.url,{signal:T.signal})}let{shortCircuited:L,loaderData:I,errors:V}=await async function(t,n,r,i,a,l,u,c){let d=i;if(!d){d=o({state:"loading",location:n,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},a)}let h=a||(d.formMethod&&d.formAction&&d.formData&&d.formEncType?{formMethod:d.formMethod,formAction:d.formAction,formData:d.formData,formEncType:d.formEncType}:void 0),[f,p]=re(e.history,x,r,h,n,E,P,k,u,c,j);if(ue(e=>!(r&&r.some(t=>t.route.id===e))||f&&f.some(t=>t.route.id===e)),0===f.length&&0===p.length)return $(n,o({matches:r,loaderData:{},errors:c||null},u?{actionData:u}:{})),{shortCircuited:!0};if(!M){p.forEach(e=>{let t=x.fetchers.get(e.key),n={state:"loading",data:t&&t.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(e.key,n)});let e=u||x.actionData;B(o({navigation:d},e?0===Object.keys(e).length?{actionData:null}:{actionData:e}:{},p.length>0?{fetchers:new Map(x.fetchers)}:{}))}S=++A,p.forEach(e=>C.set(e.key,g));let{results:m,loaderResults:y,fetcherResults:v}=await z(x.matches,r,f,p,t);if(t.signal.aborted)return{shortCircuited:!0};p.forEach(e=>C.delete(e.key));let b=ye(m);if(b)return await N(x,b,{replace:l}),{shortCircuited:!0};let{loaderData:w,errors:_}=de(x,r,f,y,c,p,v,D);D.forEach((e,t)=>{e.subscribe(n=>{(n||e.done)&&D.delete(t)})}),function(){let e=[];for(let t of R){let n=x.fetchers.get(t);s(n,"Expected fetcher: "+t),"loading"===n.state&&(R.delete(t),e.push(t))}K(e)}();let O=te(S);return o({loaderData:w,errors:_},O||p.length>0?{fetchers:new Map(x.fetchers)}:{})}(T,i,h,d,u&&u.submission,u&&u.replace,b,O);L||(g=null,$(i,o({matches:h},b?{actionData:b}:{},{loaderData:I,errors:V})))}function U(e){return x.fetchers.get(e)||J}async function N(n,r,i){var a;let{submission:l,replace:c,isFetchActionRedirect:d}=void 0===i?{}:i;r.revalidate&&(E=!0);let h=u(n.location,r.location,o({_isRedirect:!0},d?{_isFetchActionRedirect:!0}:{}));if(s(h,"Expected a location on the redirect navigation"),Q&&void 0!==(null==(a=window)?void 0:a.location)){let t=e.history.createURL(r.location).origin;if(window.location.origin!==t)return void(c?window.location.replace(r.location):window.location.assign(r.location))}g=null;let f=!0===c?t.Action.Replace:t.Action.Push,{formMethod:p,formAction:m,formEncType:y,formData:v}=n.navigation;!l&&p&&m&&v&&y&&(l={formMethod:p,formAction:m,formEncType:y,formData:v}),Y.has(r.status)&&l&&Ee(l.formMethod)?await F(f,h,{submission:o({},l,{formAction:r.location}),preventScrollReset:_}):await F(f,h,{overrideNavigation:{state:"loading",location:h,formMethod:l?l.formMethod:void 0,formAction:l?l.formAction:void 0,formEncType:l?l.formEncType:void 0,formData:l?l.formData:void 0},preventScrollReset:_})}async function z(t,n,o,r,i){let s=await Promise.all([...o.map(e=>ae("loader",i,e,n,v.basename)),...r.map(t=>ae("loader",le(e.history,t.path,i.signal),t.match,t.matches,v.basename))]),a=s.slice(0,o.length),l=s.slice(o.length);return await Promise.all([Pe(t,o,a,i.signal,!1,x.loaderData),Pe(t,r.map(e=>e.match),l,i.signal,!0)]),{results:s,loaderResults:a,fetcherResults:l}}function W(){E=!0,P.push(...ue()),j.forEach((e,t)=>{C.has(t)&&(k.push(t),G(t))})}function q(e,t,n){let o=fe(x.matches,t);H(e),B({errors:{[o.route.id]:n},fetchers:new Map(x.fetchers)})}function H(e){C.has(e)&&G(e),j.delete(e),T.delete(e),R.delete(e),x.fetchers.delete(e)}function G(e){let t=C.get(e);s(t,"Expected fetch controller: "+e),t.abort(),C.delete(e)}function K(e){for(let t of e){let e={state:"idle",data:U(t).data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,e)}}function te(e){let t=[];for(let[n,o]of T)if(o0}function oe(e){x.blockers.delete(e),I.delete(e),L===e&&(L=null)}function ie(e,t){let n=x.blockers.get(e)||Z;s("unblocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"blocked"===t.state||"blocked"===n.state&&"proceeding"===t.state||"blocked"===n.state&&"unblocked"===t.state||"proceeding"===n.state&&"unblocked"===t.state,"Invalid blocker state transition: "+n.state+" -> "+t.state),x.blockers.set(e,t),B({blockers:new Map(x.blockers)})}function se(e){let{currentLocation:t,nextLocation:n,historyAction:o}=e;if(null==L)return;let r=I.get(L);s(r,"Could not find a function for the active blocker");let i=x.blockers.get(L);return i&&"proceeding"===i.state?void 0:r({currentLocation:t,nextLocation:n,historyAction:o})?L:void 0}function ue(e){let t=[];return D.forEach((n,o)=>{e&&!e(o)||(n.cancel(),t.push(o),D.delete(o))}),t}function ce(e,t){if(a&&l&&c){let n=t.map(e=>Ae(e,x.loaderData)),o=l(e,n)||e.key,r=a[o];if("number"==typeof r)return r}return null}return v={get basename(){return e.basename},get state(){return x},get routes(){return n},initialize:function(){return r=e.history.listen(t=>{let{action:n,location:o,delta:r}=t;if(V)return void(V=!1);O(null!=L&&null===r,"You are trying to use a blocker on a POP navigation to a location that was not created by @remix-run/router. This will fail silently in production. This can happen if you are navigating outside the router via `window.history.pushState`/`window.location.hash` instead of using router navigation APIs. This can also happen if you are using createHashRouter and the user manually changes the URL.");let i=se({currentLocation:x.location,nextLocation:o,historyAction:n});return i&&null!=r?(V=!0,e.history.go(-1*r),void ie(i,{state:"blocked",location:o,proceed(){ie(i,{state:"proceeding",proceed:void 0,reset:void 0,location:o}),e.history.go(r)},reset(){oe(i),B({blockers:new Map(v.state.blockers)})}})):F(n,o)}),x.initialized||F(t.Action.Pop,x.location),v},subscribe:function(e){return i.add(e),()=>i.delete(e)},enableScrollRestoration:function(e,t,n){if(a=e,c=t,l=n||(e=>e.key),!d&&x.navigation===X){d=!0;let e=ce(x.location,x.matches);null!=e&&B({restoreScrollPosition:e})}return()=>{a=null,c=null,l=null}},navigate:async function n(r,i){if("number"==typeof r)return void e.history.go(r);let{path:s,submission:a,error:l}=ne(r,i),c=x.location,d=u(x.location,s,i&&i.state);d=o({},d,e.history.encodeLocation(d));let h=i&&null!=i.replace?i.replace:void 0,f=t.Action.Push;!0===h?f=t.Action.Replace:!1===h||null!=a&&Ee(a.formMethod)&&a.formAction===x.location.pathname+x.location.search&&(f=t.Action.Replace);let p=i&&"preventScrollReset"in i?!0===i.preventScrollReset:void 0,m=se({currentLocation:c,nextLocation:d,historyAction:f});if(!m)return await F(f,d,{submission:a,pendingError:l,preventScrollReset:p,replace:i&&i.replace});ie(m,{state:"blocked",location:d,proceed(){ie(m,{state:"proceeding",proceed:void 0,reset:void 0,location:d}),n(r,i)},reset(){oe(m),B({blockers:new Map(x.blockers)})}})},fetch:function(t,r,i,a){if(ee)throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");C.has(t)&&G(t);let l=m(n,i,e.basename);if(!l)return void q(t,r,me(404,{pathname:i}));let{path:u,submission:c}=ne(i,a,!0),d=Se(l,u);_=!0===(a&&a.preventScrollReset),c&&Ee(c.formMethod)?async function(t,r,i,a,l,u){if(W(),j.delete(t),!a.route.action){let e=me(405,{method:u.formMethod,pathname:i,routeId:r});return void q(t,r,e)}let c=x.fetchers.get(t),d=o({state:"submitting"},u,{data:c&&c.data," _hasFetcherDoneAnything ":!0});x.fetchers.set(t,d),B({fetchers:new Map(x.fetchers)});let h=new AbortController,f=le(e.history,i,h.signal,u);C.set(t,h);let p=await ae("action",f,a,l,v.basename);if(f.signal.aborted)return void(C.get(t)===h&&C.delete(t));if(xe(p)){C.delete(t),R.add(t);let e=o({state:"loading"},u,{data:void 0," _hasFetcherDoneAnything ":!0});return x.fetchers.set(t,e),B({fetchers:new Map(x.fetchers)}),N(x,p,{isFetchActionRedirect:!0})}if(be(p))return void q(t,r,p.error);if(ge(p))throw me(400,{type:"defer-action"});let y=x.navigation.location||x.location,b=le(e.history,y,h.signal),_="idle"!==x.navigation.state?m(n,x.navigation.location,e.basename):x.matches;s(_,"Didn't find any matches after fetcher action");let M=++A;T.set(t,M);let O=o({state:"loading",data:p.data},u,{" _hasFetcherDoneAnything ":!0});x.fetchers.set(t,O);let[L,I]=re(e.history,x,_,u,y,E,P,k,{[a.route.id]:p.data},void 0,j);I.filter(e=>e.key!==t).forEach(e=>{let t=e.key,n=x.fetchers.get(t),o={state:"loading",data:n&&n.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,o),C.set(t,h)}),B({fetchers:new Map(x.fetchers)});let{results:V,loaderResults:F,fetcherResults:U}=await z(x.matches,_,L,I,b);if(h.signal.aborted)return;T.delete(t),C.delete(t),I.forEach(e=>C.delete(e.key));let H=ye(V);if(H)return N(x,H);let{loaderData:G,errors:K}=de(x,x.matches,L,F,void 0,I,U,D),Y={state:"idle",data:p.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,Y);let X=te(M);"loading"===x.navigation.state&&M>S?(s(w,"Expected pending action"),g&&g.abort(),$(x.navigation.location,{matches:_,loaderData:G,errors:K,fetchers:new Map(x.fetchers)})):(B(o({errors:K,loaderData:he(x.loaderData,G,_,K)},X?{fetchers:new Map(x.fetchers)}:{})),E=!1)}(t,r,u,d,l,c):(j.set(t,{routeId:r,path:u,match:d,matches:l}),async function(t,n,r,i,a,l){let u=x.fetchers.get(t),c=o({state:"loading",formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0},l,{data:u&&u.data," _hasFetcherDoneAnything ":!0});x.fetchers.set(t,c),B({fetchers:new Map(x.fetchers)});let d=new AbortController,h=le(e.history,r,d.signal);C.set(t,d);let f=await ae("loader",h,i,a,v.basename);ge(f)&&(f=await ke(f,h.signal,!0)||f);C.get(t)===d&&C.delete(t);if(h.signal.aborted)return;if(xe(f))return void await N(x,f);if(be(f)){let e=fe(x.matches,n);return x.fetchers.delete(t),void B({fetchers:new Map(x.fetchers),errors:{[e.route.id]:f.error}})}s(!ge(f),"Unhandled fetcher deferred data");let p={state:"idle",data:f.data,formMethod:void 0,formAction:void 0,formEncType:void 0,formData:void 0," _hasFetcherDoneAnything ":!0};x.fetchers.set(t,p),B({fetchers:new Map(x.fetchers)})}(t,r,u,d,l,c))},revalidate:function(){W(),B({revalidation:"loading"}),"submitting"!==x.navigation.state&&("idle"!==x.navigation.state?F(w||x.historyAction,x.navigation.location,{overrideNavigation:x.navigation}):F(x.historyAction,x.location,{startUninterruptedRevalidation:!0}))},createHref:t=>e.history.createHref(t),encodeLocation:t=>e.history.encodeLocation(t),getFetcher:U,deleteFetcher:H,dispose:function(){r&&r(),i.clear(),g&&g.abort(),x.fetchers.forEach((e,t)=>H(t)),x.blockers.forEach((e,t)=>oe(t))},getBlocker:function(e,t){let n=x.blockers.get(e)||Z;return I.get(e)!==t&&(I.set(e,t),null==L?L=e:e!==L&&O(!1,"A router only supports one blocker at a time")),n},deleteBlocker:oe,_internalFetchControllers:C,_internalActiveDeferreds:D},v},t.createStaticHandler=function(e,t){s(e.length>0,"You must provide a non-empty routes array to createStaticHandler");let n=p(e),r=(t?t.basename:null)||"/";async function i(e,t,n,i,l){s(e.signal,"query()/queryRoute() requests must contain an AbortController signal");try{if(Ee(e.method.toLowerCase())){let s=await async function(e,t,n,i,s){let l;if(n.route.action){if(l=await ae("action",e,n,t,r,!0,s,i),e.signal.aborted){throw new Error((s?"queryRoute":"query")+"() call aborted")}}else{let t=me(405,{method:e.method,pathname:new URL(e.url).pathname,routeId:n.route.id});if(s)throw t;l={type:f.error,error:t}}if(xe(l))throw new Response(null,{status:l.status,headers:{Location:l.location}});if(ge(l)){let e=me(400,{type:"defer-action"});if(s)throw e;l={type:f.error,error:e}}if(s){if(be(l))throw l.error;return{matches:[n],loaderData:{},actionData:{[n.route.id]:l.data},errors:null,statusCode:200,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(be(l)){let r=fe(t,n.route.id);return o({},await a(e,t,i,void 0,{[r.route.id]:l.error}),{statusCode:z(l.error)?l.error.status:500,actionData:null,actionHeaders:o({},l.headers?{[n.route.id]:l.headers}:{})})}let u=new Request(e.url,{headers:e.headers,redirect:e.redirect,signal:e.signal}),c=await a(u,t,i);return o({},c,l.statusCode?{statusCode:l.statusCode}:{},{actionData:{[n.route.id]:l.data},actionHeaders:o({},l.headers?{[n.route.id]:l.headers}:{})})}(e,n,l||Se(n,t),i,null!=l);return s}let s=await a(e,n,i,l);return we(s)?s:o({},s,{actionData:null,actionHeaders:{}})}catch(e){if((u=e)&&we(u.response)&&(u.type===f.data||f.error)){if(e.type===f.error&&!_e(e.response))throw e.response;return e.response}if(_e(e))return e;throw e}var u}async function a(e,t,n,i,s){let a=null!=i;if(a&&(null==i||!i.route.loader))throw me(400,{method:e.method,pathname:new URL(e.url).pathname,routeId:null==i?void 0:i.route.id});let l=(i?[i]:oe(t,Object.keys(s||{})[0])).filter(e=>e.route.loader);if(0===l.length)return{matches:t,loaderData:t.reduce((e,t)=>Object.assign(e,{[t.route.id]:null}),{}),errors:s||null,statusCode:200,loaderHeaders:{},activeDeferreds:null};let u=await Promise.all([...l.map(o=>ae("loader",e,o,t,r,!0,a,n))]);if(e.signal.aborted){throw new Error((a?"queryRoute":"query")+"() call aborted")}let c=new Map,d=ce(t,l,u,s,c),h=new Set(l.map(e=>e.route.id));return t.forEach(e=>{h.has(e.route.id)||(d.loaderData[e.route.id]=null)}),o({},d,{matches:t,activeDeferreds:c.size>0?Object.fromEntries(c.entries()):null})}return{dataRoutes:n,query:async function(e,t){let{requestContext:s}=void 0===t?{}:t,a=new URL(e.url),l=e.method.toLowerCase(),d=u("",c(a),null,"default"),h=m(n,d,r);if(!Me(l)&&"head"!==l){let e=me(405,{method:l}),{matches:t,route:o}=pe(n);return{basename:r,location:d,matches:t,loaderData:{},actionData:null,errors:{[o.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}if(!h){let e=me(404,{pathname:d.pathname}),{matches:t,route:o}=pe(n);return{basename:r,location:d,matches:t,loaderData:{},actionData:null,errors:{[o.id]:e},statusCode:e.status,loaderHeaders:{},actionHeaders:{},activeDeferreds:null}}let f=await i(e,d,h,s);return we(f)?f:o({location:d,basename:r},f)},queryRoute:async function(e,t){let{routeId:o,requestContext:s}=void 0===t?{}:t,a=new URL(e.url),l=e.method.toLowerCase(),d=u("",c(a),null,"default"),h=m(n,d,r);if(!Me(l)&&"head"!==l&&"options"!==l)throw me(405,{method:l});if(!h)throw me(404,{pathname:d.pathname});let f=o?h.find(e=>e.route.id===o):Se(h,d);if(o&&!f)throw me(403,{pathname:d.pathname,routeId:o});if(!f)throw me(404,{pathname:d.pathname});let p=await i(e,d,h,s,f);if(we(p))return p;let y=p.errors?Object.values(p.errors)[0]:void 0;if(void 0!==y)throw y;if(p.actionData)return Object.values(p.actionData)[0];if(p.loaderData){var v;let e=Object.values(p.loaderData)[0];return null!=(v=p.activeDeferreds)&&v[f.route.id]&&(e[te]=p.activeDeferreds[f.route.id]),e}}}},t.defer=function(e,t){return void 0===t&&(t={}),new F(e,"number"==typeof t?{status:t}:t)},t.generatePath=function(e,t){void 0===t&&(t={});let n=e;return n.endsWith("*")&&"*"!==n&&!n.endsWith("/*")&&(O(!1,'Route path "'+n+'" will be treated as if it were "'+n.replace(/\*$/,"/*")+'" because the `*` character must always follow a `/` in the pattern. To get rid of this warning, please change the route path to "'+n.replace(/\*$/,"/*")+'".'),n=n.replace(/\*$/,"/*")),n.replace(/^:(\w+)(\??)/g,(e,n,o)=>{let r=t[n];return"?"===o?null==r?"":r:(null==r&&s(!1,'Missing ":'+n+'" param'),r)}).replace(/\/:(\w+)(\??)/g,(e,n,o)=>{let r=t[n];return"?"===o?null==r?"":"/"+r:(null==r&&s(!1,'Missing ":'+n+'" param'),"/"+r)}).replace(/\?/g,"").replace(/(\/?)\*/,(e,n,o,r)=>null==t["*"]?"/*"===r?"/":"":""+n+t["*"])},t.getStaticContextFromError=function(e,t,n){return o({},t,{statusCode:500,errors:{[t._deepestRenderedBoundaryId||e[0].id]:n}})},t.getToPathname=function(e){return""===e||""===e.pathname?"/":"string"==typeof e?d(e).pathname:e.pathname},t.invariant=s,t.isRouteErrorResponse=z,t.joinPaths=L,t.json=function(e,t){void 0===t&&(t={});let n="number"==typeof t?{status:t}:t,r=new Headers(n.headers);return r.has("Content-Type")||r.set("Content-Type","application/json; charset=utf-8"),new Response(JSON.stringify(e),o({},n,{headers:r}))},t.matchPath=C,t.matchRoutes=m,t.normalizePathname=I,t.parsePath=d,t.redirect=function(e,t){void 0===t&&(t=302);let n=t;"number"==typeof n?n={status:n}:void 0===n.status&&(n.status=302);let r=new Headers(n.headers);return r.set("Location",e),new Response(null,o({},n,{headers:r}))},t.resolvePath=T,t.resolveTo=D,t.stripBasename=S,t.warning=O},,,,,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.OrganismProgressiveHydrationContext=void 0;var r=o(n(0));t.OrganismProgressiveHydrationContext=r.default.createContext(!1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(157),r=n(66),i=n(95);class s extends r.AbstractOrganismChunk{constructor(e,t){var n;super(e,t),this.sectionOrganismModel=e,this.pageModel=t,this.name="organism/section",this.deps=void 0;const r=e.data$.globalOrganismId&&null!==(n=t.version.globalOrganismMap.get(e.data$.globalOrganismId))&&void 0!==n?n:e;this.deps=[[new o.AnimationExtensionChunk(r),"off"!==r.styles$.animation_type]]}async load(){return i.SectionOrganismLazy.load()}}t.default=s},function(e,t,n){var o={"./fade.scss":[302,55],"./slide.scss":[303,56],"./zoom.scss":[304,57]};function r(e){if(!n.o(o,e))return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t});var t=o[e],r=t[0];return n.e(t[1]).then(function(){return n.t(r,7)})}r.keys=function(){return Object.keys(o)},r.id=503,e.exports=r},function(e,t,n){var o={"./fade.scss":302,"./slide.scss":303,"./zoom.scss":304};function r(e){var t=i(e);if(!n.m[t]){var o=new Error("Module '"+e+"' ('"+t+"') is not available (weak dependency)");throw o.code="MODULE_NOT_FOUND",o}return n(t)}function i(e){if(!n.o(o,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return o[e]}r.keys=function(){return Object.keys(o)},r.resolve=i,r.id=504,e.exports=r},,,function(e,t,n){"use strict";var o=n(1);Object.defineProperty(t,"__esModule",{value:!0}),t.SiteContainer=void 0;var r=function(e,t){if("function"==typeof WeakMap)var n=new WeakMap,o=new WeakMap;return function(e,t){if(!t&&e&&e.__esModule)return e;var r,i,s={__proto__:null,default:e};if(null===e||"object"!=typeof e&&"function"!=typeof e)return s;if(r=t?o:n){if(r.has(e))return r.get(e);r.set(e,s)}for(const t in e)"default"!==t&&{}.hasOwnProperty.call(e,t)&&((i=(r=Object.defineProperty)&&Object.getOwnPropertyDescriptor(e,t))&&(i.get||i.set)?r(s,t,i):s[t]=e[t]);return s}(e,t)}(n(0)),i=n(158),s=o(n(159)),a=n(5),l=n(130),u=n(509),c=n(117),d=n(517);n(518),n(519),n(520);t.SiteContainer=(0,a.observer)(e=>{const t=(0,r.useMemo)(()=>e.siteSchema.customFont||e.siteSchema.fontKit,[e.siteSchema.customFont,e.siteSchema.fontKit]),n=(0,r.useMemo)(()=>(0,d.generateFontCssVars)(t),[t]),o=(0,r.useMemo)(()=>e.siteSchema.customColor||e.siteSchema.color,[e.siteSchema.customColor,e.siteSchema.color]),a=(0,r.useMemo)(()=>(0,u.colorRootGenerate)(o),[o]);return(0,r.useEffect)(()=>{0},[t,e.siteSchema._id]),r.default.createElement("div",{className:"con-kit-site",style:{...e.style}},r.default.createElement("style",{id:"site-kit-font-styles",dangerouslySetInnerHTML:{__html:`:root, :host, .con-kit-site { ${Object.entries(n).map(([e,t])=>`${e}: ${t};`).join("\n")} }`}}),r.default.createElement("style",{id:"site-kit-color-styles",dangerouslySetInnerHTML:{__html:`:root, :host { ${Object.entries(a).map(([e,t])=>`${e}: ${t};`).join("\n")} }`}}),r.default.createElement(l.ColorKitContext.Provider,{value:o},r.default.createElement(c.FontKitContext.Provider,{value:t},r.default.createElement(i.ModalProvider,{rootComponent:s.default},e.children))))})},function(e,t,n){"use strict";t.__esModule=!0,t.getChildMapping=r,t.mergeChildMappings=i,t.getInitialChildMapping=function(e,t){return r(e.children,function(n){return(0,o.cloneElement)(n,{onExited:t.bind(null,n),in:!0,appear:s(n,"appear",e),enter:s(n,"enter",e),exit:s(n,"exit",e)})})},t.getNextChildMapping=function(e,t,n){var a=r(e.children),l=i(t,a);return Object.keys(l).forEach(function(r){var i=l[r];if((0,o.isValidElement)(i)){var u=r in t,c=r in a,d=t[r],h=(0,o.isValidElement)(d)&&!d.props.in;!c||u&&!h?c||!u||h?c&&u&&(0,o.isValidElement)(d)&&(l[r]=(0,o.cloneElement)(i,{onExited:n.bind(null,i),in:d.props.in,exit:s(i,"exit",e),enter:s(i,"enter",e)})):l[r]=(0,o.cloneElement)(i,{in:!1}):l[r]=(0,o.cloneElement)(i,{onExited:n.bind(null,i),in:!0,exit:s(i,"exit",e),enter:s(i,"enter",e)})}}),l};var o=n(0);function r(e,t){var n=Object.create(null);return e&&o.Children.map(e,function(e){return e}).forEach(function(e){n[e.key]=function(e){return t&&(0,o.isValidElement)(e)?t(e):e}(e)}),n}function i(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var o,r=Object.create(null),i=[];for(var s in e)s in t?i.length&&(r[s]=i,i=[]):i.push(s);var a={};for(var l in t){if(r[l])for(o=0;o=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&"String"!==e.constructor.name))}},,,,function(e,t,n){"use strict";function o(e){return e.match(/,/g)?e:`'${e.replace(/'/g,"\\'")}'`}Object.defineProperty(t,"__esModule",{value:!0}),t.escapeFontName=o,t.generateFontCssVars=void 0;t.generateFontCssVars=e=>({"--font-kit-base-font":e.options.base_font,"--font-kit-contrast":e.options.contrast,"--font-kit-header-font":o(e.options.header_font),"--font-kit-header-font-weight":e.options.header_font_weight,"--font-kit-header-font-style":e.options.header_font_style||"normal","--font-kit-header-line-height":e.options.header_line_height,"--font-kit-header-letter-spacing":`${e.options.header_letter_spacing}px`,"--font-kit-header-transform":e.options.header_uppercase?"uppercase":"none","--font-kit-text-font":o(e.options.text_font),"--font-kit-text-font-weight":e.options.text_font_weight,"--font-kit-text-font-style":e.options.text_font_style||"normal","--font-kit-text-line-height":e.options.text_line_height,"--font-kit-text-letter-spacing":`${e.options.text_letter_spacing}px`,"--font-kit-text-transform":e.options.text_uppercase?"uppercase":"none","--font-kit-text-font-weight-bold":e.options.text_font_weight_bold})},function(e,t,n){},function(e,t,n){},function(e,t,n){},function(e,t,n){}]);