/*! For license information please see tabbed-feature-bundle.js.LICENSE.txt */ (()=>{var t={1858:t=>{var e;self,e=()=>(()=>{"use strict";var t={5957:(t,e,r)=>{function i(t,e){var r=e&&e.cache?e.cache:c,i=e&&e.serializer?e.serializer:l;return(e&&e.strategy?e.strategy:a)(t,{cache:r,serializer:i})}function n(t,e,r,i){var n,s=null==(n=i)||"number"==typeof n||"boolean"==typeof n?i:r(i),o=e.get(s);return void 0===o&&(o=t.call(this,i),e.set(s,o)),o}function s(t,e,r){var i=Array.prototype.slice.call(arguments,3),n=r(i),s=e.get(n);return void 0===s&&(s=t.apply(this,i),e.set(n,s)),s}function o(t,e,r,i,n){return r.bind(e,t,i,n)}function a(t,e){return o(t,this,1===t.length?n:s,e.cache.create(),e.serializer)}r.d(e,{A:()=>u,H:()=>i});var l=function(){return JSON.stringify(arguments)};function h(){this.cache=Object.create(null)}h.prototype.get=function(t){return this.cache[t]},h.prototype.set=function(t,e){this.cache[t]=e};var c={create:function(){return new h}},u={variadic:function(t,e){return o(t,this,s,e.cache.create(),e.serializer)},monadic:function(t,e){return o(t,this,n,e.cache.create(),e.serializer)}}},2271:(t,e,r)=>{r.d(e,{T:()=>n});var i=r(1526);function n(t,e){for(var r="",i=0;i>1),h=s(e);for("H"!=h&&"k"!=h||(l=0);l-- >0;)r+="a";for(;a-- >0;)r=h+r}else r+="J"===n?"H":n}return r}function s(t){var e=t.hourCycle;if(void 0===e&&t.hourCycles&&t.hourCycles.length&&(e=t.hourCycles[0]),e)switch(e){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}var r,n=t.language;return"root"!==n&&(r=t.maximize().region),(i._[r||""]||i._[n||""]||i._["".concat(n,"-001")]||i._["001"])[0]}},9493:(t,e,r)=>{var i;r.d(e,{o:()=>i}),function(t){t[t.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",t[t.EMPTY_ARGUMENT=2]="EMPTY_ARGUMENT",t[t.MALFORMED_ARGUMENT=3]="MALFORMED_ARGUMENT",t[t.EXPECT_ARGUMENT_TYPE=4]="EXPECT_ARGUMENT_TYPE",t[t.INVALID_ARGUMENT_TYPE=5]="INVALID_ARGUMENT_TYPE",t[t.EXPECT_ARGUMENT_STYLE=6]="EXPECT_ARGUMENT_STYLE",t[t.INVALID_NUMBER_SKELETON=7]="INVALID_NUMBER_SKELETON",t[t.INVALID_DATE_TIME_SKELETON=8]="INVALID_DATE_TIME_SKELETON",t[t.EXPECT_NUMBER_SKELETON=9]="EXPECT_NUMBER_SKELETON",t[t.EXPECT_DATE_TIME_SKELETON=10]="EXPECT_DATE_TIME_SKELETON",t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE=11]="UNCLOSED_QUOTE_IN_ARGUMENT_STYLE",t[t.EXPECT_SELECT_ARGUMENT_OPTIONS=12]="EXPECT_SELECT_ARGUMENT_OPTIONS",t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE=13]="EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE=14]="INVALID_PLURAL_ARGUMENT_OFFSET_VALUE",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR=15]="EXPECT_SELECT_ARGUMENT_SELECTOR",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR=16]="EXPECT_PLURAL_ARGUMENT_SELECTOR",t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT=17]="EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT",t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT=18]="EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT",t[t.INVALID_PLURAL_ARGUMENT_SELECTOR=19]="INVALID_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR=20]="DUPLICATE_PLURAL_ARGUMENT_SELECTOR",t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR=21]="DUPLICATE_SELECT_ARGUMENT_SELECTOR",t[t.MISSING_OTHER_CLAUSE=22]="MISSING_OTHER_CLAUSE",t[t.INVALID_TAG=23]="INVALID_TAG",t[t.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",t[t.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",t[t.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(i||(i={}))},9263:(t,e,r)=>{r.d(e,{HI:()=>o.HI,Ii:()=>o.Ii,Jo:()=>o.Jo,O4:()=>o.O4,Qc:()=>l,VG:()=>o.VG,Wh:()=>o.Wh,Wi:()=>o.Wi,pe:()=>o.pe,rp:()=>o.rp,uf:()=>o.uf,yx:()=>o.yx});var i=r(7582),n=r(9493),s=r(5891),o=r(5047);function a(t){t.forEach((function(t){if(delete t.location,(0,o.Wi)(t)||(0,o.Jo)(t))for(var e in t.options)delete t.options[e].location,a(t.options[e].value);else(0,o.uf)(t)&&(0,o.Wh)(t.style)||((0,o.rp)(t)||(0,o.pe)(t))&&(0,o.Ii)(t.style)?delete t.style.location:(0,o.HI)(t)&&a(t.children)}))}function l(t,e){void 0===e&&(e={}),e=(0,i.pi)({shouldParseSkeletons:!0,requiresOtherClause:!0},e);var r=new s._(t,e).parse();if(r.err){var o=SyntaxError(n.o[r.err.kind]);throw o.location=r.err.location,o.originalMessage=r.err.message,o}return(null==e?void 0:e.captureLocation)||a(r.val),r.val}},5891:(t,e,r)=>{r.d(e,{_:()=>M});var i,n=r(7582),s=r(9493),o=r(5047),a=r(8580),l=r(5178),h=r(4477),c=r(2271),u=new RegExp("^".concat(a.p.source,"*")),d=new RegExp("".concat(a.p.source,"*$"));function p(t,e){return{start:t,end:e}}var f=!!String.prototype.startsWith&&"_a".startsWith("a",1),g=!!String.fromCodePoint,m=!!Object.fromEntries,v=!!String.prototype.codePointAt,_=!!String.prototype.trimStart,b=!!String.prototype.trimEnd,y=Number.isSafeInteger?Number.isSafeInteger:function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t&&Math.abs(t)<=9007199254740991},x=!0;try{x="a"===(null===(i=k("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===i?void 0:i[0])}catch(t){x=!1}var E,w=f?function(t,e,r){return t.startsWith(e,r)}:function(t,e,r){return t.slice(r,r+e.length)===e},T=g?String.fromCodePoint:function(){for(var t=[],e=0;es;){if((r=t[s++])>1114111)throw RangeError(r+" is not a valid code point");i+=r<65536?String.fromCharCode(r):String.fromCharCode(55296+((r-=65536)>>10),r%1024+56320)}return i},A=m?Object.fromEntries:function(t){for(var e={},r=0,i=t;r=r)){var i,n=t.charCodeAt(e);return n<55296||n>56319||e+1===r||(i=t.charCodeAt(e+1))<56320||i>57343?n:i-56320+(n-55296<<10)+65536}},C=_?function(t){return t.trimStart()}:function(t){return t.replace(u,"")},P=b?function(t){return t.trimEnd()}:function(t){return t.replace(d,"")};function k(t,e){return new RegExp(t,e)}if(x){var H=k("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");E=function(t,e){var r;return H.lastIndex=e,null!==(r=H.exec(t)[1])&&void 0!==r?r:""}}else E=function(t,e){for(var r=[];;){var i=S(t,e);if(void 0===i||O(i)||L(i))break;r.push(i),e+=i>=65536?2:1}return T.apply(void 0,r)};var M=function(){function t(t,e){void 0===e&&(e={}),this.message=t,this.position={offset:0,line:1,column:1},this.ignoreTag=!!e.ignoreTag,this.locale=e.locale,this.requiresOtherClause=!!e.requiresOtherClause,this.shouldParseSkeletons=!!e.shouldParseSkeletons}return t.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},t.prototype.parseMessage=function(t,e,r){for(var i=[];!this.isEOF();){var n=this.char();if(123===n){if((a=this.parseArgument(t,r)).err)return a;i.push(a.val)}else{if(125===n&&t>0)break;if(35!==n||"plural"!==e&&"selectordinal"!==e){if(60===n&&!this.ignoreTag&&47===this.peek()){if(r)break;return this.error(s.o.UNMATCHED_CLOSING_TAG,p(this.clonePosition(),this.clonePosition()))}if(60===n&&!this.ignoreTag&&B(this.peek()||0)){if((a=this.parseTag(t,e)).err)return a;i.push(a.val)}else{var a;if((a=this.parseLiteral(t,e)).err)return a;i.push(a.val)}}else{var l=this.clonePosition();this.bump(),i.push({type:o.wD.pound,location:p(l,this.clonePosition())})}}}return{val:i,err:null}},t.prototype.parseTag=function(t,e){var r=this.clonePosition();this.bump();var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))return{val:{type:o.wD.literal,value:"<".concat(i,"/>"),location:p(r,this.clonePosition())},err:null};if(this.bumpIf(">")){var n=this.parseMessage(t+1,e,!0);if(n.err)return n;var a=n.val,l=this.clonePosition();if(this.bumpIf("")?{val:{type:o.wD.tag,value:i,children:a,location:p(r,this.clonePosition())},err:null}:this.error(s.o.INVALID_TAG,p(l,this.clonePosition())))}return this.error(s.o.UNCLOSED_TAG,p(r,this.clonePosition()))}return this.error(s.o.INVALID_TAG,p(r,this.clonePosition()))},t.prototype.parseTagName=function(){var t,e=this.offset();for(this.bump();!this.isEOF()&&(45===(t=this.char())||46===t||t>=48&&t<=57||95===t||t>=97&&t<=122||t>=65&&t<=90||183==t||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8255&&t<=8256||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039);)this.bump();return this.message.slice(e,this.offset())},t.prototype.parseLiteral=function(t,e){for(var r=this.clonePosition(),i="";;){var n=this.tryParseQuote(e);if(n)i+=n;else{var s=this.tryParseUnquoted(t,e);if(s)i+=s;else{var a=this.tryParseLeftAngleBracket();if(!a)break;i+=a}}}var l=p(r,this.clonePosition());return{val:{type:o.wD.literal,value:i,location:l},err:null}},t.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60!==this.char()||!this.ignoreTag&&(B(t=this.peek()||0)||47===t)?null:(this.bump(),"<");var t},t.prototype.tryParseQuote=function(t){if(this.isEOF()||39!==this.char())return null;switch(this.peek()){case 39:return this.bump(),this.bump(),"'";case 123:case 60:case 62:case 125:break;case 35:if("plural"===t||"selectordinal"===t)break;return null;default:return null}this.bump();var e=[this.char()];for(this.bump();!this.isEOF();){var r=this.char();if(39===r){if(39!==this.peek()){this.bump();break}e.push(39),this.bump()}else e.push(r);this.bump()}return T.apply(void 0,e)},t.prototype.tryParseUnquoted=function(t,e){if(this.isEOF())return null;var r=this.char();return 60===r||123===r||35===r&&("plural"===e||"selectordinal"===e)||125===r&&t>0?null:(this.bump(),T(r))},t.prototype.parseArgument=function(t,e){var r=this.clonePosition();if(this.bump(),this.bumpSpace(),this.isEOF())return this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(r,this.clonePosition()));if(125===this.char())return this.bump(),this.error(s.o.EMPTY_ARGUMENT,p(r,this.clonePosition()));var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(s.o.MALFORMED_ARGUMENT,p(r,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(r,this.clonePosition()));switch(this.char()){case 125:return this.bump(),{val:{type:o.wD.argument,value:i,location:p(r,this.clonePosition())},err:null};case 44:return this.bump(),this.bumpSpace(),this.isEOF()?this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(r,this.clonePosition())):this.parseArgumentOptions(t,e,i,r);default:return this.error(s.o.MALFORMED_ARGUMENT,p(r,this.clonePosition()))}},t.prototype.parseIdentifierIfPossible=function(){var t=this.clonePosition(),e=this.offset(),r=E(this.message,e),i=e+r.length;return this.bumpTo(i),{value:r,location:p(t,this.clonePosition())}},t.prototype.parseArgumentOptions=function(t,e,r,i){var a,h=this.clonePosition(),u=this.parseIdentifierIfPossible().value,d=this.clonePosition();switch(u){case"":return this.error(s.o.EXPECT_ARGUMENT_TYPE,p(h,d));case"number":case"date":case"time":this.bumpSpace();var f=null;if(this.bumpIf(",")){this.bumpSpace();var g=this.clonePosition();if((T=this.parseSimpleArgStyleIfPossible()).err)return T;if(0===(b=P(T.val)).length)return this.error(s.o.EXPECT_ARGUMENT_STYLE,p(this.clonePosition(),this.clonePosition()));f={style:b,styleLocation:p(g,this.clonePosition())}}if((S=this.tryParseArgumentClose(i)).err)return S;var m=p(i,this.clonePosition());if(f&&w(null==f?void 0:f.style,"::",0)){var v=C(f.style.slice(2));if("number"===u)return(T=this.parseNumberSkeletonFromString(v,f.styleLocation)).err?T:{val:{type:o.wD.number,value:r,location:m,style:T.val},err:null};if(0===v.length)return this.error(s.o.EXPECT_DATE_TIME_SKELETON,m);var _=v;this.locale&&(_=(0,c.T)(v,this.locale));var b={type:o.aV.dateTime,pattern:_,location:f.styleLocation,parsedOptions:this.shouldParseSkeletons?(0,l.T)(_):{}};return{val:{type:"date"===u?o.wD.date:o.wD.time,value:r,location:m,style:b},err:null}}return{val:{type:"number"===u?o.wD.number:"date"===u?o.wD.date:o.wD.time,value:r,location:m,style:null!==(a=null==f?void 0:f.style)&&void 0!==a?a:null},err:null};case"plural":case"selectordinal":case"select":var y=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(s.o.EXPECT_SELECT_ARGUMENT_OPTIONS,p(y,(0,n.pi)({},y)));this.bumpSpace();var x=this.parseIdentifierIfPossible(),E=0;if("select"!==u&&"offset"===x.value){if(!this.bumpIf(":"))return this.error(s.o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,p(this.clonePosition(),this.clonePosition()));var T;if(this.bumpSpace(),(T=this.tryParseDecimalInteger(s.o.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,s.o.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return T;this.bumpSpace(),x=this.parseIdentifierIfPossible(),E=T.val}var S,k=this.tryParsePluralOrSelectOptions(t,u,e,x);if(k.err)return k;if((S=this.tryParseArgumentClose(i)).err)return S;var H=p(i,this.clonePosition());return"select"===u?{val:{type:o.wD.select,value:r,options:A(k.val),location:H},err:null}:{val:{type:o.wD.plural,value:r,options:A(k.val),offset:E,pluralType:"plural"===u?"cardinal":"ordinal",location:H},err:null};default:return this.error(s.o.INVALID_ARGUMENT_TYPE,p(h,d))}},t.prototype.tryParseArgumentClose=function(t){return this.isEOF()||125!==this.char()?this.error(s.o.EXPECT_ARGUMENT_CLOSING_BRACE,p(t,this.clonePosition())):(this.bump(),{val:!0,err:null})},t.prototype.parseSimpleArgStyleIfPossible=function(){for(var t=0,e=this.clonePosition();!this.isEOF();)switch(this.char()){case 39:this.bump();var r=this.clonePosition();if(!this.bumpUntil("'"))return this.error(s.o.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,p(r,this.clonePosition()));this.bump();break;case 123:t+=1,this.bump();break;case 125:if(!(t>0))return{val:this.message.slice(e.offset,this.offset()),err:null};t-=1;break;default:this.bump()}return{val:this.message.slice(e.offset,this.offset()),err:null}},t.prototype.parseNumberSkeletonFromString=function(t,e){var r=[];try{r=(0,h.O)(t)}catch(t){return this.error(s.o.INVALID_NUMBER_SKELETON,e)}return{val:{type:o.aV.number,tokens:r,location:e,parsedOptions:this.shouldParseSkeletons?(0,h.I)(r):{}},err:null}},t.prototype.tryParsePluralOrSelectOptions=function(t,e,r,i){for(var n,o=!1,a=[],l=new Set,h=i.value,c=i.location;;){if(0===h.length){var u=this.clonePosition();if("select"===e||!this.bumpIf("="))break;var d=this.tryParseDecimalInteger(s.o.EXPECT_PLURAL_ARGUMENT_SELECTOR,s.o.INVALID_PLURAL_ARGUMENT_SELECTOR);if(d.err)return d;c=p(u,this.clonePosition()),h=this.message.slice(u.offset,this.offset())}if(l.has(h))return this.error("select"===e?s.o.DUPLICATE_SELECT_ARGUMENT_SELECTOR:s.o.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===h&&(o=!0),this.bumpSpace();var f=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===e?s.o.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:s.o.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,p(this.clonePosition(),this.clonePosition()));var g=this.parseMessage(t+1,e,r);if(g.err)return g;var m=this.tryParseArgumentClose(f);if(m.err)return m;a.push([h,{value:g.val,location:p(f,this.clonePosition())}]),l.add(h),this.bumpSpace(),h=(n=this.parseIdentifierIfPossible()).value,c=n.location}return 0===a.length?this.error("select"===e?s.o.EXPECT_SELECT_ARGUMENT_SELECTOR:s.o.EXPECT_PLURAL_ARGUMENT_SELECTOR,p(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(s.o.MISSING_OTHER_CLAUSE,p(this.clonePosition(),this.clonePosition())):{val:a,err:null}},t.prototype.tryParseDecimalInteger=function(t,e){var r=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(r=-1);for(var n=!1,s=0;!this.isEOF();){var o=this.char();if(!(o>=48&&o<=57))break;n=!0,s=10*s+(o-48),this.bump()}var a=p(i,this.clonePosition());return n?y(s*=r)?{val:s,err:null}:this.error(e,a):this.error(t,a)},t.prototype.offset=function(){return this.position.offset},t.prototype.isEOF=function(){return this.offset()===this.message.length},t.prototype.clonePosition=function(){return{offset:this.position.offset,line:this.position.line,column:this.position.column}},t.prototype.char=function(){var t=this.position.offset;if(t>=this.message.length)throw Error("out of bound");var e=S(this.message,t);if(void 0===e)throw Error("Offset ".concat(t," is at invalid UTF-16 code unit boundary"));return e},t.prototype.error=function(t,e){return{val:null,err:{kind:t,message:this.message,location:e}}},t.prototype.bump=function(){if(!this.isEOF()){var t=this.char();10===t?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,this.position.offset+=t<65536?1:2)}},t.prototype.bumpIf=function(t){if(w(this.message,t,this.offset())){for(var e=0;e=0?(this.bumpTo(r),!0):(this.bumpTo(this.message.length),!1)},t.prototype.bumpTo=function(t){if(this.offset()>t)throw Error("targetOffset ".concat(t," must be greater than or equal to the current offset ").concat(this.offset()));for(t=Math.min(t,this.message.length);;){var e=this.offset();if(e===t)break;if(e>t)throw Error("targetOffset ".concat(t," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},t.prototype.bumpSpace=function(){for(;!this.isEOF()&&O(this.char());)this.bump()},t.prototype.peek=function(){if(this.isEOF())return null;var t=this.char(),e=this.offset(),r=this.message.charCodeAt(e+(t>=65536?2:1));return null!=r?r:null},t}();function B(t){return t>=97&&t<=122||t>=65&&t<=90}function O(t){return t>=9&&t<=13||32===t||133===t||t>=8206&&t<=8207||8232===t||8233===t}function L(t){return t>=33&&t<=35||36===t||t>=37&&t<=39||40===t||41===t||42===t||43===t||44===t||45===t||t>=46&&t<=47||t>=58&&t<=59||t>=60&&t<=62||t>=63&&t<=64||91===t||92===t||93===t||94===t||96===t||123===t||124===t||125===t||126===t||161===t||t>=162&&t<=165||166===t||167===t||169===t||171===t||172===t||174===t||176===t||177===t||182===t||187===t||191===t||215===t||247===t||t>=8208&&t<=8213||t>=8214&&t<=8215||8216===t||8217===t||8218===t||t>=8219&&t<=8220||8221===t||8222===t||8223===t||t>=8224&&t<=8231||t>=8240&&t<=8248||8249===t||8250===t||t>=8251&&t<=8254||t>=8257&&t<=8259||8260===t||8261===t||8262===t||t>=8263&&t<=8273||8274===t||8275===t||t>=8277&&t<=8286||t>=8592&&t<=8596||t>=8597&&t<=8601||t>=8602&&t<=8603||t>=8604&&t<=8607||8608===t||t>=8609&&t<=8610||8611===t||t>=8612&&t<=8613||8614===t||t>=8615&&t<=8621||8622===t||t>=8623&&t<=8653||t>=8654&&t<=8655||t>=8656&&t<=8657||8658===t||8659===t||8660===t||t>=8661&&t<=8691||t>=8692&&t<=8959||t>=8960&&t<=8967||8968===t||8969===t||8970===t||8971===t||t>=8972&&t<=8991||t>=8992&&t<=8993||t>=8994&&t<=9e3||9001===t||9002===t||t>=9003&&t<=9083||9084===t||t>=9085&&t<=9114||t>=9115&&t<=9139||t>=9140&&t<=9179||t>=9180&&t<=9185||t>=9186&&t<=9254||t>=9255&&t<=9279||t>=9280&&t<=9290||t>=9291&&t<=9311||t>=9472&&t<=9654||9655===t||t>=9656&&t<=9664||9665===t||t>=9666&&t<=9719||t>=9720&&t<=9727||t>=9728&&t<=9838||9839===t||t>=9840&&t<=10087||10088===t||10089===t||10090===t||10091===t||10092===t||10093===t||10094===t||10095===t||10096===t||10097===t||10098===t||10099===t||10100===t||10101===t||t>=10132&&t<=10175||t>=10176&&t<=10180||10181===t||10182===t||t>=10183&&t<=10213||10214===t||10215===t||10216===t||10217===t||10218===t||10219===t||10220===t||10221===t||10222===t||10223===t||t>=10224&&t<=10239||t>=10240&&t<=10495||t>=10496&&t<=10626||10627===t||10628===t||10629===t||10630===t||10631===t||10632===t||10633===t||10634===t||10635===t||10636===t||10637===t||10638===t||10639===t||10640===t||10641===t||10642===t||10643===t||10644===t||10645===t||10646===t||10647===t||10648===t||t>=10649&&t<=10711||10712===t||10713===t||10714===t||10715===t||t>=10716&&t<=10747||10748===t||10749===t||t>=10750&&t<=11007||t>=11008&&t<=11055||t>=11056&&t<=11076||t>=11077&&t<=11078||t>=11079&&t<=11084||t>=11085&&t<=11123||t>=11124&&t<=11125||t>=11126&&t<=11157||11158===t||t>=11159&&t<=11263||t>=11776&&t<=11777||11778===t||11779===t||11780===t||11781===t||t>=11782&&t<=11784||11785===t||11786===t||11787===t||11788===t||11789===t||t>=11790&&t<=11798||11799===t||t>=11800&&t<=11801||11802===t||11803===t||11804===t||11805===t||t>=11806&&t<=11807||11808===t||11809===t||11810===t||11811===t||11812===t||11813===t||11814===t||11815===t||11816===t||11817===t||t>=11818&&t<=11822||11823===t||t>=11824&&t<=11833||t>=11834&&t<=11835||t>=11836&&t<=11839||11840===t||11841===t||11842===t||t>=11843&&t<=11855||t>=11856&&t<=11857||11858===t||t>=11859&&t<=11903||t>=12289&&t<=12291||12296===t||12297===t||12298===t||12299===t||12300===t||12301===t||12302===t||12303===t||12304===t||12305===t||t>=12306&&t<=12307||12308===t||12309===t||12310===t||12311===t||12312===t||12313===t||12314===t||12315===t||12316===t||12317===t||t>=12318&&t<=12319||12320===t||12336===t||64830===t||64831===t||t>=65093&&t<=65094}},8580:(t,e,r)=>{r.d(e,{p:()=>i});var i=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/},1526:(t,e,r)=>{r.d(e,{_:()=>i});var i={"001":["H","h"],AC:["H","h","hb","hB"],AD:["H","hB"],AE:["h","hB","hb","H"],AF:["H","hb","hB","h"],AG:["h","hb","H","hB"],AI:["H","h","hb","hB"],AL:["h","H","hB"],AM:["H","hB"],AO:["H","hB"],AR:["H","h","hB","hb"],AS:["h","H"],AT:["H","hB"],AU:["h","hb","H","hB"],AW:["H","hB"],AX:["H"],AZ:["H","hB","h"],BA:["H","hB","h"],BB:["h","hb","H","hB"],BD:["h","hB","H"],BE:["H","hB"],BF:["H","hB"],BG:["H","hB","h"],BH:["h","hB","hb","H"],BI:["H","h"],BJ:["H","hB"],BL:["H","hB"],BM:["h","hb","H","hB"],BN:["hb","hB","h","H"],BO:["H","hB","h","hb"],BQ:["H"],BR:["H","hB"],BS:["h","hb","H","hB"],BT:["h","H"],BW:["H","h","hb","hB"],BY:["H","h"],BZ:["H","h","hb","hB"],CA:["h","hb","H","hB"],CC:["H","h","hb","hB"],CD:["hB","H"],CF:["H","h","hB"],CG:["H","hB"],CH:["H","hB","h"],CI:["H","hB"],CK:["H","h","hb","hB"],CL:["H","h","hB","hb"],CM:["H","h","hB"],CN:["H","hB","hb","h"],CO:["h","H","hB","hb"],CP:["H"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],CV:["H","hB"],CW:["H","hB"],CX:["H","h","hb","hB"],CY:["h","H","hb","hB"],CZ:["H"],DE:["H","hB"],DG:["H","h","hb","hB"],DJ:["h","H"],DK:["H"],DM:["h","hb","H","hB"],DO:["h","H","hB","hb"],DZ:["h","hB","hb","H"],EA:["H","h","hB","hb"],EC:["H","hB","h","hb"],EE:["H","hB"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],ER:["h","H"],ES:["H","hB","h","hb"],ET:["hB","hb","h","H"],FI:["H"],FJ:["h","hb","H","hB"],FK:["H","h","hb","hB"],FM:["h","hb","H","hB"],FO:["H","h"],FR:["H","hB"],GA:["H","hB"],GB:["H","h","hb","hB"],GD:["h","hb","H","hB"],GE:["H","hB","h"],GF:["H","hB"],GG:["H","h","hb","hB"],GH:["h","H"],GI:["H","h","hb","hB"],GL:["H","h"],GM:["h","hb","H","hB"],GN:["H","hB"],GP:["H","hB"],GQ:["H","hB","h","hb"],GR:["h","H","hb","hB"],GT:["H","h","hB","hb"],GU:["h","hb","H","hB"],GW:["H","hB"],GY:["h","hb","H","hB"],HK:["h","hB","hb","H"],HN:["H","h","hB","hb"],HR:["H","hB"],HU:["H","h"],IC:["H","h","hB","hb"],ID:["H"],IE:["H","h","hb","hB"],IL:["H","hB"],IM:["H","h","hb","hB"],IN:["h","H"],IO:["H","h","hb","hB"],IQ:["h","hB","hb","H"],IR:["hB","H"],IS:["H"],IT:["H","hB"],JE:["H","h","hb","hB"],JM:["h","hb","H","hB"],JO:["h","hB","hb","H"],JP:["H","K","h"],KE:["hB","hb","H","h"],KG:["H","h","hB","hb"],KH:["hB","h","H","hb"],KI:["h","hb","H","hB"],KM:["H","h","hB","hb"],KN:["h","hb","H","hB"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],KW:["h","hB","hb","H"],KY:["h","hb","H","hB"],KZ:["H","hB"],LA:["H","hb","hB","h"],LB:["h","hB","hb","H"],LC:["h","hb","H","hB"],LI:["H","hB","h"],LK:["H","h","hB","hb"],LR:["h","hb","H","hB"],LS:["h","H"],LT:["H","h","hb","hB"],LU:["H","h","hB"],LV:["H","hB","hb","h"],LY:["h","hB","hb","H"],MA:["H","h","hB","hb"],MC:["H","hB"],MD:["H","hB"],ME:["H","hB","h"],MF:["H","hB"],MG:["H","h"],MH:["h","hb","H","hB"],MK:["H","h","hb","hB"],ML:["H"],MM:["hB","hb","H","h"],MN:["H","h","hb","hB"],MO:["h","hB","hb","H"],MP:["h","hb","H","hB"],MQ:["H","hB"],MR:["h","hB","hb","H"],MS:["H","h","hb","hB"],MT:["H","h"],MU:["H","h"],MV:["H","h"],MW:["h","hb","H","hB"],MX:["H","h","hB","hb"],MY:["hb","hB","h","H"],MZ:["H","hB"],NA:["h","H","hB","hb"],NC:["H","hB"],NE:["H"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NI:["H","h","hB","hb"],NL:["H","hB"],NO:["H","h"],NP:["H","h","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],NZ:["h","hb","H","hB"],OM:["h","hB","hb","H"],PA:["h","H","hB","hb"],PE:["H","hB","h","hb"],PF:["H","h","hB"],PG:["h","H"],PH:["h","hB","hb","H"],PK:["h","hB","H"],PL:["H","h"],PM:["H","hB"],PN:["H","h","hb","hB"],PR:["h","H","hB","hb"],PS:["h","hB","hb","H"],PT:["H","hB"],PW:["h","H"],PY:["H","h","hB","hb"],QA:["h","hB","hb","H"],RE:["H","hB"],RO:["H","hB"],RS:["H","hB","h"],RU:["H"],RW:["H","h"],SA:["h","hB","hb","H"],SB:["h","hb","H","hB"],SC:["H","h","hB"],SD:["h","hB","hb","H"],SE:["H"],SG:["h","hb","H","hB"],SH:["H","h","hb","hB"],SI:["H","hB"],SJ:["H"],SK:["H"],SL:["h","hb","H","hB"],SM:["H","h","hB"],SN:["H","h","hB"],SO:["h","H"],SR:["H","hB"],SS:["h","hb","H","hB"],ST:["H","hB"],SV:["H","h","hB","hb"],SX:["H","h","hb","hB"],SY:["h","hB","hb","H"],SZ:["h","hb","H","hB"],TA:["H","h","hb","hB"],TC:["h","hb","H","hB"],TD:["h","H","hB"],TF:["H","h","hB"],TG:["H","hB"],TH:["H","h"],TJ:["H","h"],TL:["H","hB","hb","h"],TM:["H","h"],TN:["h","hB","hb","H"],TO:["h","H"],TR:["H","hB"],TT:["h","hb","H","hB"],TW:["hB","hb","h","H"],TZ:["hB","hb","H","h"],UA:["H","hB","h"],UG:["hB","hb","H","h"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],UY:["H","h","hB","hb"],UZ:["H","hB","h"],VA:["H","h","hB"],VC:["h","hb","H","hB"],VE:["h","H","hB","hb"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],VN:["H","h"],VU:["h","H"],WF:["H","hB"],WS:["h","H"],XK:["H","hB","h"],YE:["h","hB","hb","H"],YT:["H","hB"],ZA:["H","h","hb","hB"],ZM:["h","hb","H","hB"],ZW:["H","h"],"af-ZA":["H","h","hB","hb"],"ar-001":["h","hB","hb","H"],"ca-ES":["H","h","hB"],"en-001":["h","hb","H","hB"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"gu-IN":["hB","hb","h","H"],"hi-IN":["hB","h","H"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],"ta-IN":["hB","h","hb","H"],"te-IN":["hB","h","H"],"zu-ZA":["H","hB","hb","h"]}},5047:(t,e,r)=>{var i,n;function s(t){return t.type===i.literal}function o(t){return t.type===i.argument}function a(t){return t.type===i.number}function l(t){return t.type===i.date}function h(t){return t.type===i.time}function c(t){return t.type===i.select}function u(t){return t.type===i.plural}function d(t){return t.type===i.pound}function p(t){return t.type===i.tag}function f(t){return!(!t||"object"!=typeof t||t.type!==n.number)}function g(t){return!(!t||"object"!=typeof t||t.type!==n.dateTime)}r.d(e,{HI:()=>p,Ii:()=>g,Jo:()=>u,O4:()=>s,VG:()=>o,Wh:()=>f,Wi:()=>c,aV:()=>n,pe:()=>h,rp:()=>l,uf:()=>a,wD:()=>i,yx:()=>d}),function(t){t[t.literal=0]="literal",t[t.argument=1]="argument",t[t.number=2]="number",t[t.date=3]="date",t[t.time=4]="time",t[t.select=5]="select",t[t.plural=6]="plural",t[t.pound=7]="pound",t[t.tag=8]="tag"}(i||(i={})),function(t){t[t.number=0]="number",t[t.dateTime=1]="dateTime"}(n||(n={}))},5178:(t,e,r)=>{r.d(e,{T:()=>n});var i=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;function n(t){var e={};return t.replace(i,(function(t){var r=t.length;switch(t[0]){case"G":e.era=4===r?"long":5===r?"narrow":"short";break;case"y":e.year=2===r?"2-digit":"numeric";break;case"Y":case"u":case"U":case"r":throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");case"q":case"Q":throw new RangeError("`q/Q` (quarter) patterns are not supported");case"M":case"L":e.month=["numeric","2-digit","short","long","narrow"][r-1];break;case"w":case"W":throw new RangeError("`w/W` (week) patterns are not supported");case"d":e.day=["numeric","2-digit"][r-1];break;case"D":case"F":case"g":throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");case"E":e.weekday=4===r?"long":5===r?"narrow":"short";break;case"e":if(r<4)throw new RangeError("`e..eee` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"c":if(r<4)throw new RangeError("`c..ccc` (weekday) patterns are not supported");e.weekday=["short","long","narrow","short"][r-4];break;case"a":e.hour12=!0;break;case"b":case"B":throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");case"h":e.hourCycle="h12",e.hour=["numeric","2-digit"][r-1];break;case"H":e.hourCycle="h23",e.hour=["numeric","2-digit"][r-1];break;case"K":e.hourCycle="h11",e.hour=["numeric","2-digit"][r-1];break;case"k":e.hourCycle="h24",e.hour=["numeric","2-digit"][r-1];break;case"j":case"J":case"C":throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");case"m":e.minute=["numeric","2-digit"][r-1];break;case"s":e.second=["numeric","2-digit"][r-1];break;case"S":case"A":throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");case"z":e.timeZoneName=r<4?"short":"long";break;case"Z":case"O":case"v":case"V":case"X":case"x":throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),e}},4477:(t,e,r)=>{r.d(e,{I:()=>f,O:()=>s});var i=r(7582),n=r(4455);function s(t){if(0===t.length)throw new Error("Number skeleton cannot be empty");for(var e=[],r=0,i=t.split(n.r).filter((function(t){return t.length>0}));r1)throw new RangeError("integer-width stems only accept a single optional option");s.options[0].replace(l,(function(t,r,i,n,s,o){if(r)e.minimumIntegerDigits=i.length;else{if(n&&s)throw new Error("We currently do not support maximum integer digits");if(o)throw new Error("We currently do not support exact integer digits")}return""}));continue}if(h.test(s.stem))e.minimumIntegerDigits=s.stem.length;else if(o.test(s.stem)){if(s.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");s.stem.replace(o,(function(t,r,i,n,s,o){return"*"===i?e.minimumFractionDigits=r.length:n&&"#"===n[0]?e.maximumFractionDigits=n.length:s&&o?(e.minimumFractionDigits=s.length,e.maximumFractionDigits=s.length+o.length):(e.minimumFractionDigits=r.length,e.maximumFractionDigits=r.length),""}));var f=s.options[0];"w"===f?e=(0,i.pi)((0,i.pi)({},e),{trailingZeroDisplay:"stripIfInteger"}):f&&(e=(0,i.pi)((0,i.pi)({},e),c(f)))}else if(a.test(s.stem))e=(0,i.pi)((0,i.pi)({},e),c(s.stem));else{var g=u(s.stem);g&&(e=(0,i.pi)((0,i.pi)({},e),g));var m=d(s.stem);m&&(e=(0,i.pi)((0,i.pi)({},e),m))}}return e}},4455:(t,e,r)=>{r.d(e,{r:()=>i});var i=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i},1697:(t,e,r)=>{r.d(e,{ZP:()=>i});const i=r(6284).C},6284:(t,e,r)=>{r.d(e,{C:()=>l});var i=r(7582),n=r(9263),s=r(5957),o=r(1092);function a(t){return{create:function(){return{get:function(e){return t[e]},set:function(e,r){t[e]=r}}}}}var l=function(){function t(e,r,n,l){var h,c,u,d=this;if(void 0===r&&(r=t.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(t){var e=d.formatToParts(t);if(1===e.length)return e[0].value;var r=e.reduce((function(t,e){return t.length&&e.type===o.du.literal&&"string"==typeof t[t.length-1]?t[t.length-1]+=e.value:t.push(e.value),t}),[]);return r.length<=1?r[0]||"":r},this.formatToParts=function(t){return(0,o.FK)(d.ast,d.locales,d.formatters,d.formats,t,void 0,d.message)},this.resolvedOptions=function(){var t;return{locale:(null===(t=d.resolvedLocale)||void 0===t?void 0:t.toString())||Intl.NumberFormat.supportedLocalesOf(d.locales)[0]}},this.getAst=function(){return d.ast},this.locales=r,this.resolvedLocale=t.resolveLocale(r),"string"==typeof e){if(this.message=e,!t.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");var p=l||{},f=(p.formatters,(0,i._T)(p,["formatters"]));this.ast=t.__parse(e,(0,i.pi)((0,i.pi)({},f),{locale:this.resolvedLocale}))}else this.ast=e;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");this.formats=(c=t.formats,(u=n)?Object.keys(c).reduce((function(t,e){var r,n;return t[e]=(r=c[e],(n=u[e])?(0,i.pi)((0,i.pi)((0,i.pi)({},r||{}),n||{}),Object.keys(r).reduce((function(t,e){return t[e]=(0,i.pi)((0,i.pi)({},r[e]),n[e]||{}),t}),{})):r),t}),(0,i.pi)({},c)):c),this.formatters=l&&l.formatters||(void 0===(h=this.formatterCache)&&(h={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:(0,s.H)((function(){for(var t,e=[],r=0;r0?new Intl.Locale(e[0]):new Intl.Locale("string"==typeof t?t:t[0])}},t.__parse=n.Qc,t.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},t}()},1050:(t,e,r)=>{r.d(e,{C8:()=>o,HR:()=>l,YR:()=>a,jK:()=>i,u_:()=>s});var i,n=r(7582);!function(t){t.MISSING_VALUE="MISSING_VALUE",t.INVALID_VALUE="INVALID_VALUE",t.MISSING_INTL_API="MISSING_INTL_API"}(i||(i={}));var s=function(t){function e(e,r,i){var n=t.call(this,e)||this;return n.code=r,n.originalMessage=i,n}return(0,n.ZT)(e,t),e.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},e}(Error),o=function(t){function e(e,r,n,s){return t.call(this,'Invalid values for "'.concat(e,'": "').concat(r,'". Options are "').concat(Object.keys(n).join('", "'),'"'),i.INVALID_VALUE,s)||this}return(0,n.ZT)(e,t),e}(s),a=function(t){function e(e,r,n){return t.call(this,'Value for "'.concat(e,'" must be of type ').concat(r),i.INVALID_VALUE,n)||this}return(0,n.ZT)(e,t),e}(s),l=function(t){function e(e,r){return t.call(this,'The intl string context variable "'.concat(e,'" was not provided to the string "').concat(r,'"'),i.MISSING_VALUE,r)||this}return(0,n.ZT)(e,t),e}(s)},1092:(t,e,r)=>{r.d(e,{FK:()=>a,du:()=>i});var i,n=r(9263),s=r(1050);function o(t){return"function"==typeof t}function a(t,e,r,l,h,c,u){if(1===t.length&&(0,n.O4)(t[0]))return[{type:i.literal,value:t[0].value}];for(var d=[],p=0,f=t;p{var i=r(7582),n=r(5862),s=r(9662);const o="rgba(84, 64, 241, 0.3)",a=n.iv` .app-tabs { display: flex; flex-direction: column; gap: 16px; justify-content: center; width: var(--ds-app-tabs-width, ${(0,n.$m)("200px")}); } .app-tabs__tab-item { gap: var( --ds-app-tabs-tab-item-vertical-gap, ${(0,n.$m)("12px")} ); display: flex; flex-direction: row; width: 100%; height: 100%; align-items: center; background: none; color: inherit; border: none; padding: 0; font: inherit; cursor: pointer; outline: inherit; } .tab-items { display: flex; flex-direction: column; width: 100%; gap: var( --ds-app-tabs-tab-items-vertical-gap, ${(0,n.$m)("12px")} ); } .app-tabs__tab-logo-container { height: 48px; width: 48px; } .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; } .app-tabs__nav { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; } .app-tabs__nav-btn { background-color: var( --ds-app-tabs-nav-button-background-color, ${(0,n.$m)("#fff")} ); color: var( --ds-app-tabs-nav-button-text-color, ${(0,n.$m)("#000")} ); border-radius: 50%; width: 40px; height: 40px; box-sizing: border-box; position: relative; display: block; transform: scale(var(--ggs, 1)); border: var( --ds-app-tabs-nav-button-border-color, ${(0,n.$m)("#5440f1")} ) 2px solid; border-radius: 50%; cursor: pointer; min-width: 40px; background-image: var( --ds-app-tabs-nav-button-background-image, ${(0,n.$m)("none")} ); background-origin: var( --ds-app-tabs-nav-button-background-origin, ${(0,n.$m)("unset")} ); background-clip: var( --ds-app-tabs-nav-button-background-clip, ${(0,n.$m)("unset")} ); } .app-tabs__tab-item:focus-visible, .app-tabs__nav-btn:focus-visible { outline: 0.1875rem dotted currentColor; outline-offset: 4px; } .app-tabs__nav-prev::after { content: ''; display: block; box-sizing: border-box; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid; border-left: 2px solid; transform: rotate(135deg); left: 13.5px; top: 15px; } :host([dir='rtl']) .horizontal .app-tabs__nav-prev::after { transform: rotate(-135deg); left: 12px; top: 13px; } .app-tabs__nav-next::after { content: ''; display: block; box-sizing: border-box; position: absolute; width: 10px; height: 10px; border-bottom: 2px solid; border-right: 2px solid; transform: rotate(45deg); right: 13px; top: 12px; } :host([dir='rtl']) .horizontal .app-tabs__nav-next::after { transform: rotate(135deg); right: 12px; top: 13px; } ::slotted(img) { background-color: var( --ds-app-tabs-tab-logo-background-color, ${(0,n.$m)("#fff")} ); object-fit: contain; width: 40px; height: 40px; box-shadow: 0px 2px 4px 0px #0000000f; border-radius: 6px; padding: var( --ds-app-tabs-tab-logo-padding, ${(0,n.$m)("0")} ); box-sizing: border-box; } ::slotted(p) { font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 0em; text-align: left; color: var( --ds-app-tabs-tab-title-color, ${(0,n.$m)("#757575")} ); overflow: auto; word-wrap: break-word; } :host([dir='rtl']) ::slotted(p) { text-align: right; } :host([dir='rtl']) .horizontal ::slotted(p) { text-align: center; } .active::slotted(img) { box-shadow: 0 0 10px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ), 0 0 20px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ), 0 0 30px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ), 0 0 40px var( --ds-app-tabs-tab-logo-glow-color, ${(0,n.$m)(o)} ); height: 48px; width: 48px; } .active::slotted(p) { color: var( --ds-app-tabs-active-tab-title-color, ${(0,n.$m)("#1d0f60")} ); } .horizontal { flex-direction: row; width: 100%; .app-tabs__tab-item { flex-direction: column; gap: var( --ds-app-tabs-tab-item-horizontal-gap, ${(0,n.$m)("0")} ); } .tab-items { flex-direction: row; gap: var( --ds-app-tabs-tab-items-horizontal-gap, ${(0,n.$m)("0")} ); } .app-tabs__nav-prev::after { transform: rotate(45deg); left: 15px; top: 13px; } .app-tabs__nav-next::after { transform: rotate(-45deg); right: 15px; top: 13px; } ::slotted(img) { width: 48px; height: 48px; } ::slotted(p) { font-size: 16px; line-height: 24px; margin-top: 8px; text-align: center; } .active::slotted(img) { height: 56px; width: 56px; } .app-tabs__tab-logo-container { height: 56px; width: 56px; } .app-tabs__nav { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; } } @media (forced-colors: active) { .app-tabs__nav-btn { forced-color-adjust: none; color: #fff; background-color: #000; border-color: #fff; background-image: none; } @media (prefers-color-scheme: light) { .app-tabs__nav-btn { forced-color-adjust: none; color: #000; background-color: #fff; border-color: #000; } } } `;var l=r(4638),h=r(5270);let c=class extends l.R{constructor(){super(...arguments),this.total=0,this.activeIndex=0,this.isHorizontal=!1,this.maxVisibleTabs=5,this.isSwipable=!1,this.visibleItems=[],this.numVisibleItems=this.maxVisibleTabs,this.dataBiEcn=[],this.ariaLabels=[],this.handleResize=()=>{const t=this.numVisibleItems;this.updateNumVisibleItems(),(this.isHorizontal||this.numVisibleItems!==t)&&this.setVisibleItems()}}connectedCallback(){super.connectedCallback(),this.dataset.biEcn&&(this.dataBiEcn=JSON.parse(this.dataset.biEcn||"[]")),this.dataset.ariaLabel&&(this.ariaLabels=JSON.parse(this.dataset.ariaLabel||"[]")),window.addEventListener("resize",this.handleResize),this.handleResize()}firstUpdated(){this.isSwipable&&this.setupTouchListeners()}willUpdate(t){if(t.has("maxVisibleTabs")){const e=t.get("maxVisibleTabs");this.maxVisibleTabs!==e&&(this.updateNumVisibleItems(),this.setVisibleItems())}t.has("isHorizontal")&&this.handleResize()}async setupTouchListeners(){let t=0,e=0,r=!1;this.touchStartListener=e=>{t=e.touches[0].clientX},this.touchMoveListener=t=>{e=t.touches[0].clientX,r=!0},this.touchEndListener=()=>{r&&(t-e>100?this.handleNext():t-e<-100&&this.handlePrev(),r=!1)},this.tabItems?.addEventListener("touchstart",this.touchStartListener),this.tabItems?.addEventListener("touchmove",this.touchMoveListener),this.tabItems?.addEventListener("touchend",this.touchEndListener)}updateNumVisibleItems(){this.isHorizontal?window.matchMedia("(min-width: 861px)").matches?this.numVisibleItems=Math.min(this.total,this.maxVisibleTabs):window.matchMedia("(min-width: 701px) and (max-width: 860px)").matches?this.numVisibleItems=Math.min(this.total,5):window.matchMedia("(min-width: 451px) and (max-width: 700px)").matches?this.numVisibleItems=Math.min(this.total,3):window.matchMedia("(max-width: 450px)").matches&&(this.numVisibleItems=1):this.numVisibleItems=Math.min(this.total,this.maxVisibleTabs),this.maxVisibleTabs&&(this.numVisibleItems=Math.min(this.numVisibleItems,this.maxVisibleTabs)),this.isHorizontal&&this.numVisibleItems%2==0&&(this.numVisibleItems=Math.max(1,this.numVisibleItems-1))}setVisibleItems(){let t=this.isHorizontal?this.activeIndex-Math.floor(this.numVisibleItems/2):this.activeIndex;t<0&&(t+=this.total),this.visibleItems=[];for(let e=0;e0?this.activeIndex--:this.activeIndex=this.total-1,this.isHorizontal?this.setVisibleItems():this.visibleItems.includes(this.activeIndex)||(this.visibleItems.pop(),this.visibleItems.unshift(this.activeIndex)),this.dispatchNavClickEvent(this.activeIndex)}handleNext(){this.activeIndex
${this.visibleItems?.map((t=>{const e=t===this.activeIndex?"active":"";return n.dy` `}))}
`}};c.styles=[a],c.dict={previous:"Previous",next:"Next",ofText:"{0} of {1}"},(0,i.gn)([(0,s.Cb)({attribute:"total",type:Number})],c.prototype,"total",void 0),(0,i.gn)([(0,s.Cb)({attribute:"active-index",reflect:!0,type:Number})],c.prototype,"activeIndex",void 0),(0,i.gn)([(0,s.Cb)({attribute:"horizontal",type:Boolean})],c.prototype,"isHorizontal",void 0),(0,i.gn)([(0,s.Cb)({attribute:"max-visible-tabs",type:Number})],c.prototype,"maxVisibleTabs",void 0),(0,i.gn)([(0,s.Cb)({attribute:"swipable",type:Boolean})],c.prototype,"isSwipable",void 0),(0,i.gn)([(0,s.IO)("#prev")],c.prototype,"prevBtn",void 0),(0,i.gn)([(0,s.IO)("#next")],c.prototype,"nextBtn",void 0),(0,i.gn)([(0,s.IO)("#status-msg")],c.prototype,"statusMsg",void 0),(0,i.gn)([(0,s.IO)(".tab-items")],c.prototype,"tabItems",void 0),(0,i.gn)([(0,s.SB)()],c.prototype,"visibleItems",void 0),(0,i.gn)([(0,s.SB)()],c.prototype,"numVisibleItems",void 0),c=(0,i.gn)([(0,h.M)("cascade-app-tabs")],c)},2530:(t,e,r)=>{var i=r(7582),n=r(5862),s=r(9662);const o=n.iv` :host() { display: block; } .layout { --_column-gap: var( --ds-nupcards-layout-column-gap, var( --root-density-horizontal-default, ${(0,n.$m)("1rem")} ) ); --_row-gap: var( --ds-nupcards-layout-row-gap, var(--root-density-vertical-default, ${(0,n.$m)("1rem")}) ); --_column-count: var( --ds-nupcards-layout-column-count, var(--layout-column-count, ${(0,n.$m)("1")}) ); --_column-gap-offset: calc(var(--_column-gap) * (var(--_column-count) - 1)); --_available-width: calc(100% - var(--_column-gap-offset)); --layout-column-width: calc(var(--_available-width) / var(--_column-count)); column-gap: var(--_column-gap); row-gap: var(--_row-gap); display: flex; flex-wrap: wrap; } .layout > .layout__col { flex: 0 0 var(--layout-column-width); } @media (min-width: 860px) { .layout { --_column-count: var( --ds-nupcards-layout-column-count, var(--layout-column-count, 3) ); } } @media (prefers-reduced-motion: reduce) { transition: none; } `;var a=r(5270);let l=class extends n.oi{constructor(){super(...arguments),this.total=3}render(){return n.dy`
${function*(t,e){if(void 0!==t){let r=0;for(const i of t)yield e(i,r++)}}(function*(t,e,r=1){const i=void 0===e?0:t;e??=t;for(let t=i;r>0?tn.dy`
`))}
`}};l.styles=[o],(0,i.gn)([(0,s.Cb)({attribute:"total"})],l.prototype,"total",void 0),l=(0,i.gn)([(0,a.M)("cascade-n-up-cards")],l)},7267:(t,e,r)=>{var i=r(7582),n=r(5862),s=r(9662);const o="12px",a="transparent",l=n.iv` .specs-and-stats { --ds-nupcards-layout-column-gap: 24px; --ds-nupcards-layout-row-gap: 24px; --ds-hero-layout-col-first-child-flex: 0 1 60%; --ds-hero-layout-col-first-child-justify-content: unset; --ds-hero-layout-col-last-child-flex: 0 1 40%; --ds-hero-layout-col-last-child-justify-content: center; --ds-hero-cta-layout-height: 100%; --ds-hero-cta-layout-align-items: center; --ds-hero-cta-layout-col-display: flex; --ds-hero-cta-layout-justify-content: center; --ds-hero-cta-background-color: var( --ds-specs-and-stats-card-background-color, ${(0,n.$m)(a)} ); } .specs-and-stats__block-heading { margin: var( --ds-specs-and-stats-block-heading-margin, ${(0,n.$m)("0 auto 40px auto")} ); } .specs-and-stats__card { box-sizing: border-box; border: 1px solid var( --ds-specs-and-stats-card-border-color, ${(0,n.$m)("#5440F1")} ); border-radius: var( --ds-specs-and-stats-card-border-radius, ${(0,n.$m)(o)} ); display: flex; align-items: center; padding: var( --ds-specs-and-stats-card-padding, ${(0,n.$m)("24px")} ); height: 100%; background-color: var( --ds-specs-and-stats-card-background-color, ${(0,n.$m)(a)} ); background: var( --ds-specs-and-stats-card-background, ${(0,n.$m)("unset")} ); position: relative; } .specs-and-stats__card::before, .specs-and-stats__card::after { content: ''; height: 1px; left: var( --ds-specs-and-stats-card-border-radius, ${(0,n.$m)(o)} ); position: absolute; right: var( --ds-specs-and-stats-card-border-radius, ${(0,n.$m)(o)} ); background: var( --ds-specs-and-stats-card-border-gradient, ${(0,n.$m)("unset")} ); } .specs-and-stats__card::before { top: -1px; transform: rotate(180deg); } .specs-and-stats__card::after { bottom: -1px; } .card-three { --ds-hero-cta-layout-flex-direction: column-reverse; --ds-hero-cta-layout-align-items: start; } ::slotted([slot^='card']) { width: 100%; } @media (max-width: 1083.99px) { .specs-and-stats { --ds-nupcards-layout-column-count: 1; --ds-hero-cta-layout-align-items: start; --ds-hero-cta-layout-flex-direction: column-reverse; } } @media (max-width: 1083.99px) { .specs-and-stats { --ds-hero-layout-col-first-child-flex: 0 1 50%; --ds-hero-layout-col-last-child-flex: 0 1 50%; } } `;r(2530);var h=r(5270);let c=class extends n.oi{constructor(){super(...arguments),this.cardCount=4}render(){const t=3===this.cardCount?"card-three":"";return n.dy`
${Array.from({length:this.cardCount},((e,r)=>n.dy` `))}
`}};c.styles=[l],(0,i.gn)([(0,s.Cb)({attribute:"card-count",type:Number})],c.prototype,"cardCount",void 0),c=(0,i.gn)([(0,h.M)("cascade-specs-and-stats")],c)},2576:(t,e,r)=>{r.d(e,{Y$:()=>s});class i{constructor(){this.lang=n("lang",document?.documentElement?.getAttribute("lang")),this.dir=n("dir",document?.documentElement?.getAttribute("dir")),new MutationObserver((()=>{document.dispatchEvent(new CustomEvent("localeChanged",{detail:{lang:this.lang=n("lang",document.documentElement.lang),dir:this.dir=n("dir",document.documentElement.dir)}}))})).observe(document.documentElement,{attributes:!0,attributeFilter:["dir","lang"]})}}function n(t,e){return"lang"===t?e&&e.includes("-")&&e.length>=5?e.toLowerCase():"en-us":"dir"===t?e&&e.match(/^(ltr|rtl)$/i)?e.toLowerCase():"ltr":(console.warn("Invalid validation type!"),"")}const s=function(){let t;return function(){return t||(t=new i),t}}()},4638:(t,e,r)=>{r.d(e,{R:()=>l});var i=r(7582),n=r(5862),s=r(9662),o=r(1697),a=r(2576);const l=(t=>{class e extends t{constructor(){super(...arguments),this.i18nManager=(0,a.Y$)(),this.locChangeHandler=t=>{this.lang=t.detail.lang,this.dir=t.detail.dir,this.requestUpdate()},this.errorHandler=(t,e)=>{if(console.warn(`I18nMixin ${t}: ${e}`),"undefined"!=typeof process&&process?.env?.STORYBOOK&&"ERROR"===t)throw new Error(e)}}connectedCallback(){super.connectedCallback(),this.lang=this.i18nManager?.lang||"en-us",this.dir=this.i18nManager?.dir||"ltr",document.addEventListener("localeChanged",this.locChangeHandler),Object.keys(this.translations||{})?.forEach((t=>{const{dict:e}=this.constructor;e&&Object.keys(e).length||this.errorHandler("ERROR","Found translations but dictionary is not defined"),t in e||this.errorHandler("ERROR",`Translation passed in for wrong or obsolete key: '${t}'`)}))}disconnectedCallback(){super.disconnectedCallback(),document.removeEventListener("localeChanged",this.locChangeHandler)}msg(t,e){if(!t)return"";const r=this.constructor.dict?.[t]||"";if(!this.lang)return r;const{dict:i}=this.constructor;i&&!(t in i)&&this.errorHandler("ERROR",`Invalid key: '${t}'`);let n=this.translations?.[t];return n||(this.translations&&this.errorHandler("WARNING",`Missing translation for key: '${t}'`),n=r),this.format(n,e)}format(t,e){return new o.ZP(t,this.lang).format(e)}}return e.dict={},(0,i.gn)([(0,s.Cb)({type:Object,reflect:!1})],e.prototype,"translations",void 0),e})(n.oi)},5270:(t,e,r)=>{r.d(e,{M:()=>i});const i=t=>(e,r)=>{customElements.get(t)?console.warn(`${t} is already defined.`):void 0!==r?r.addInitializer((()=>{customElements.define(t,e)})):customElements.define(t,e)}},8701:(t,e,r)=>{r.d(e,{$m:()=>l,ec:()=>c,i1:()=>u,iv:()=>h});const i=globalThis,n=i.ShadowRoot&&(void 0===i.ShadyCSS||i.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o=new WeakMap;class a{constructor(t,e,r){if(this._$cssResult$=!0,r!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o;const e=this.t;if(n&&void 0===t){const r=void 0!==e&&1===e.length;r&&(t=o.get(e)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),r&&o.set(e,t))}return t}toString(){return this.cssText}}const l=t=>new a("string"==typeof t?t:t+"",void 0,s),h=(t,...e)=>{const r=1===t.length?t[0]:e.reduce(((e,r,i)=>e+(t=>{if(!0===t._$cssResult$)return t.cssText;if("number"==typeof t)return t;throw Error("Value passed to 'css' function must be a 'css' function result: "+t+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+t[i+1]),t[0]);return new a(r,t,s)},c=(t,e)=>{if(n)t.adoptedStyleSheets=e.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const r of e){const e=document.createElement("style"),n=i.litNonce;void 0!==n&&e.setAttribute("nonce",n),e.textContent=r.cssText,t.appendChild(e)}},u=n?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const r of t.cssRules)e+=r.cssText;return l(e)})(t):t},5674:(t,e,r)=>{r.d(e,{C:()=>i});const i=(t,e,r)=>(r.configurable=!0,r.enumerable=!0,Reflect.decorate&&"object"!=typeof e&&Object.defineProperty(t,e,r),r)},760:(t,e,r)=>{r.d(e,{C:()=>o});var i=r(8732);const n={attribute:!0,type:String,converter:i.Ts,reflect:!1,hasChanged:i.Qu},s=(t=n,e,r)=>{const{kind:i,metadata:s}=r;let o=globalThis.litPropertyMetadata.get(s);if(void 0===o&&globalThis.litPropertyMetadata.set(s,o=new Map),o.set(r.name,t),"accessor"===i){const{name:i}=r;return{set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(i,n,t)},init(e){return void 0!==e&&this.P(i,void 0,t),e}}}if("setter"===i){const{name:i}=r;return function(r){const n=this[i];e.call(this,r),this.requestUpdate(i,n,t)}}throw Error("Unsupported decorator location: "+i)};function o(t){return(e,r)=>"object"==typeof r?s(t,e,r):((t,e,r)=>{const i=e.hasOwnProperty(r);return e.constructor.createProperty(r,i?{...t,wrapped:!0}:t),i?Object.getOwnPropertyDescriptor(e,r):void 0})(t,e,r)}},3711:(t,e,r)=>{r.d(e,{K:()=>s});var i=r(5674);let n;function s(t){return(e,r)=>(0,i.C)(e,r,{get(){return(this.renderRoot??(n??=document.createDocumentFragment())).querySelectorAll(t)}})}},2669:(t,e,r)=>{r.d(e,{I:()=>n});var i=r(5674);function n(t,e){return(r,n,s)=>{const o=e=>e.renderRoot?.querySelector(t)??null;if(e){const{get:t,set:e}="object"==typeof n?r:s??(()=>{const t=Symbol();return{get(){return this[t]},set(e){this[t]=e}}})();return(0,i.C)(r,n,{get(){let r=t.call(this);return void 0===r&&(r=o(this),(null!==r||this.hasUpdated)&&e.call(this,r)),r}})}return(0,i.C)(r,n,{get(){return o(this)}})}}},9158:(t,e,r)=>{r.d(e,{S:()=>n});var i=r(760);function n(t){return(0,i.C)({...t,state:!0,attribute:!1})}},8732:(t,e,r)=>{r.d(e,{$m:()=>i.$m,Qu:()=>m,Ts:()=>g,fl:()=>_,iv:()=>i.iv});var i=r(8701);const{is:n,defineProperty:s,getOwnPropertyDescriptor:o,getOwnPropertyNames:a,getOwnPropertySymbols:l,getPrototypeOf:h}=Object,c=globalThis,u=c.trustedTypes,d=u?u.emptyScript:"",p=c.reactiveElementPolyfillSupport,f=(t,e)=>t,g={toAttribute(t,e){switch(e){case Boolean:t=t?d:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=null!==t;break;case Number:r=null===t?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch(t){r=null}}return r}},m=(t,e)=>!n(t,e),v={attribute:!0,type:String,converter:g,reflect:!1,hasChanged:m};Symbol.metadata??=Symbol("metadata"),c.litPropertyMetadata??=new WeakMap;class _ extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=v){if(e.state&&(e.attribute=!1),this._$Ei(),this.elementProperties.set(t,e),!e.noAccessor){const r=Symbol(),i=this.getPropertyDescriptor(t,r,e);void 0!==i&&s(this.prototype,t,i)}}static getPropertyDescriptor(t,e,r){const{get:i,set:n}=o(this.prototype,t)??{get(){return this[e]},set(t){this[e]=t}};return{get(){return i?.call(this)},set(e){const s=i?.call(this);n.call(this,e),this.requestUpdate(t,s,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??v}static _$Ei(){if(this.hasOwnProperty(f("elementProperties")))return;const t=h(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(f("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(f("properties"))){const t=this.properties,e=[...a(t),...l(t)];for(const r of e)this.createProperty(r,t[r])}const t=this[Symbol.metadata];if(null!==t){const e=litPropertyMetadata.get(t);if(void 0!==e)for(const[t,r]of e)this.elementProperties.set(t,r)}this._$Eh=new Map;for(const[t,e]of this.elementProperties){const r=this._$Eu(t,e);void 0!==r&&this._$Eh.set(r,t)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){const e=[];if(Array.isArray(t)){const r=new Set(t.flat(1/0).reverse());for(const t of r)e.unshift((0,i.i1)(t))}else void 0!==t&&e.push((0,i.i1)(t));return e}static _$Eu(t,e){const r=e.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)))}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){const t=new Map,e=this.constructor.elementProperties;for(const r of e.keys())this.hasOwnProperty(r)&&(t.set(r,this[r]),delete this[r]);t.size>0&&(this._$Ep=t)}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return(0,i.ec)(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((t=>t.hostConnected?.()))}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()))}attributeChangedCallback(t,e,r){this._$AK(t,r)}_$EC(t,e){const r=this.constructor.elementProperties.get(t),i=this.constructor._$Eu(t,r);if(void 0!==i&&!0===r.reflect){const n=(void 0!==r.converter?.toAttribute?r.converter:g).toAttribute(e,r.type);this._$Em=t,null==n?this.removeAttribute(i):this.setAttribute(i,n),this._$Em=null}}_$AK(t,e){const r=this.constructor,i=r._$Eh.get(t);if(void 0!==i&&this._$Em!==i){const t=r.getPropertyOptions(i),n="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:g;this._$Em=i,this[i]=n.fromAttribute(e,t.type),this._$Em=null}}requestUpdate(t,e,r){if(void 0!==t){if(r??=this.constructor.getPropertyOptions(t),!(r.hasChanged??m)(this[t],e))return;this.P(t,e,r)}!1===this.isUpdatePending&&(this._$ES=this._$ET())}P(t,e,r){this._$AL.has(t)||this._$AL.set(t,e),!0===r.reflect&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(t){Promise.reject(t)}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,e]of this._$Ep)this[t]=e;this._$Ep=void 0}const t=this.constructor.elementProperties;if(t.size>0)for(const[e,r]of t)!0!==r.wrapped||this._$AL.has(e)||void 0===this[e]||this.P(e,this[e],r)}let t=!1;const e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(e)):this._$EU()}catch(e){throw t=!1,this._$EU(),e}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach((t=>this._$EC(t,this[t]))),this._$EU()}updated(t){}firstUpdated(t){}}_.elementStyles=[],_.shadowRootOptions={mode:"open"},_[f("elementProperties")]=new Map,_[f("finalized")]=new Map,p?.({ReactiveElement:_}),(c.reactiveElementVersions??=[]).push("2.0.4")},8922:(t,e,r)=>{r.d(e,{$m:()=>i.$m,dy:()=>n.dy,iv:()=>i.iv,oi:()=>s});var i=r(8732),n=r(3692);class s extends i.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){const e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=(0,n.sY)(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return n.Jb}}s._$litElement$=!0,s.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:s});const o=globalThis.litElementPolyfillSupport;o?.({LitElement:s}),(globalThis.litElementVersions??=[]).push("4.0.4")},3692:(t,e,r)=>{r.d(e,{Jb:()=>A,YP:()=>T,dy:()=>w,sY:()=>V});const i=globalThis,n=i.trustedTypes,s=n?n.createPolicy("lit-html",{createHTML:t=>t}):void 0,o="$lit$",a=`lit$${(Math.random()+"").slice(9)}$`,l="?"+a,h=`<${l}>`,c=document,u=()=>c.createComment(""),d=t=>null===t||"object"!=typeof t&&"function"!=typeof t,p=Array.isArray,f="[ \t\n\f\r]",g=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,m=/-->/g,v=/>/g,_=RegExp(`>|${f}(?:([^\\s"'>=/]+)(${f}*=${f}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),b=/'/g,y=/"/g,x=/^(?:script|style|textarea|title)$/i,E=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),w=E(1),T=E(2),A=Symbol.for("lit-noChange"),S=Symbol.for("lit-nothing"),C=new WeakMap,P=c.createTreeWalker(c,129);function k(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(e):e}const H=(t,e)=>{const r=t.length-1,i=[];let n,s=2===e?"":"",l=g;for(let e=0;e"===u[0]?(l=n??g,d=-1):void 0===u[1]?d=-2:(d=l.lastIndex-u[2].length,c=u[1],l=void 0===u[3]?_:'"'===u[3]?y:b):l===y||l===b?l=_:l===m||l===v?l=g:(l=_,n=void 0);const f=l===_&&t[e+1].startsWith("/>")?" ":"";s+=l===g?r+h:d>=0?(i.push(c),r.slice(0,d)+o+r.slice(d)+a+f):r+a+(-2===d?e:f)}return[k(t,s+(t[r]||"")+(2===e?"":"")),i]};class M{constructor({strings:t,_$litType$:e},r){let i;this.parts=[];let s=0,h=0;const c=t.length-1,d=this.parts,[p,f]=H(t,e);if(this.el=M.createElement(p,r),P.currentNode=this.el.content,2===e){const t=this.el.content.firstChild;t.replaceWith(...t.childNodes)}for(;null!==(i=P.nextNode())&&d.length0){i.textContent=n?n.emptyScript:"";for(let r=0;rp(t)||"function"==typeof t?.[Symbol.iterator])(t)?this.k(t):this._(t)}S(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.S(t))}_(t){this._$AH!==S&&d(this._$AH)?this._$AA.nextSibling.data=t:this.T(c.createTextNode(t)),this._$AH=t}$(t){const{values:e,_$litType$:r}=t,i="number"==typeof r?this._$AC(t):(void 0===r.el&&(r.el=M.createElement(k(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===i)this._$AH.p(e);else{const t=new O(i,this),r=t.u(this.options);t.p(e),this.T(r),this._$AH=t}}_$AC(t){let e=C.get(t.strings);return void 0===e&&C.set(t.strings,e=new M(t)),e}k(t){p(this._$AH)||(this._$AH=[],this._$AR());const e=this._$AH;let r,i=0;for(const n of t)i===e.length?e.push(r=new L(this.S(u()),this.S(u()),this,this.options)):r=e[i],r._$AI(n),i++;i2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=S}_$AI(t,e=this,r,i){const n=this.strings;let s=!1;if(void 0===n)t=B(this,t,e,0),s=!d(t)||t!==this._$AH&&t!==A,s&&(this._$AH=t);else{const i=t;let o,a;for(t=n[0],o=0;o{const i=r?.renderBefore??e;let n=i._$litPart$;if(void 0===n){const t=r?.renderBefore??null;i._$litPart$=n=new L(e.insertBefore(u(),t),t,void 0,r??{})}return n._$AI(t),n}},9662:(t,e,r)=>{r.d(e,{Cb:()=>i.C,IO:()=>s.I,Kt:()=>o.K,SB:()=>n.S});var i=r(760),n=r(9158),s=r(2669),o=r(3711)},5862:(t,e,r)=>{r.d(e,{$m:()=>i.$m,dy:()=>i.dy,iv:()=>i.iv,oi:()=>i.oi}),r(8732),r(3692);var i=r(8922)},7582:(t,e,r)=>{r.d(e,{ZT:()=>n,_T:()=>o,ev:()=>l,gn:()=>a,pi:()=>s});var i=function(t,e){return i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},i(t,e)};function n(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var s=function(){return s=Object.assign||function(t){for(var e,r=1,i=arguments.length;r=0;a--)(n=t[a])&&(o=(s<3?n(o):s>3?n(e,r,o):n(e,r))||o);return s>3&&o&&Object.defineProperty(e,r,o),o}function l(t,e,r){if(r||2===arguments.length)for(var i,n=0,s=e.length;n{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};return(()=>{r.r(i),r.d(i,{TabbedFeature:()=>Da});var t=r(7582),e=r(9662),n=r(5862);const s="#000",o=n.iv` :host { --ds-specs-and-stats-card-background: var( --ds-tabbed-feature-card-background, ${(0,n.$m)("#fff")} ); --ds-specs-and-stats-block-heading-margin: 0; line-height: initial; position: relative; display: flex; justify-content: center; padding: var( --ds-tabbed-feature-container-padding, ${(0,n.$m)("1rem")} ); --asset-xsmall-height: 208px; --asset-small-height: 316px; --asset-medium-height: 493.33px; --asset-large-height: 428px; --asset-xlarge-height: 554.66px; } .tabbed-feature { width: 1400px; } .overlapping-header { transition: transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 0.5); transform: translateY(var(--translateY, 0)); } .tabbed-container-wrapper { transition: transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 0.5); } .tabbed-container { display: flex; flex-direction: row; position: relative; transition: transform 0.7s cubic-bezier(0.1, 0.7, 0.1, 0.5); /* Note: The scroll trigger relies on the 'margin-top' value being exactly 40px. If you need to change this value, remember to also update the scroll trigger. */ margin-top: 40px; justify-content: space-between; } .asset-container { position: relative; display: flex; justify-content: center; } .play-button { display: none; background-color: var( --ds-tabbed-feature-play-button-background-color, ${(0,n.$m)("#fff")} ); border-radius: 50%; width: 40px; height: 40px; box-sizing: border-box; border: var( --ds-tabbed-feature-play-button-border, ${(0,n.$m)("#5440f1")} ) 2px solid; border-radius: 50%; cursor: pointer; order: 2; background-image: var( --ds-tabbed-feature-play-button-background-image, ${(0,n.$m)("unset")} ); background-origin: var( --ds-tabbed-feature-play-button-background-origin, ${(0,n.$m)("unset")} ); background-clip: var( --ds-tabbed-feature-play-button-background-clip, ${(0,n.$m)("unset")} ); padding: 0; } .play-icon, .pause-icon { width: 20px; top: 2px; position: relative; fill: var( --ds-tabbed-feature-play-button-color, ${(0,n.$m)(s)} ); } .play-button:focus-visible { outline: 0.1875rem dotted var( --ds-tabbed-feature-play-button-color, ${(0,n.$m)(s)} ); outline-offset: 4px; } .nav-container { display: flex; flex-direction: column; order: 1; justify-content: center; align-items: center; } .play-button-wrapper { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: 40px; } .tab-assets-container { position: relative; order: 2; flex: 3; height: var(--asset-xlarge-height); } .tab-assets { display: none; } .nav-container, .spacing-container { flex: 1; } .spacing-container { order: 3; } .card-container { will-change: transform; position: absolute; right: 0; top: 50%; width: 364px; height: auto; --ds-block-heading-text-align: left; } :host([dir='rtl']) .card-container { --ds-block-heading-text-align: right; } .card-container::before { content: ''; position: absolute; top: 0; right: 0; bottom: 0; left: 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); z-index: -1; } :host([no-animation]) .card-container { transform: translateX(60%) translateY(-30%); } :host([no-animation][dir='rtl']) .card-container { transform: translateX(-180%) translateY(-30%); } :host([no-overlap]) .card-container { /* this is marked as important to make sure no-overlap transform takes precedence over no-animation */ transform: translateX(110%) translateY(-60%) !important; width: 30%; } :host([no-overlap][dir='rtl']) .card-container { /* this is marked as important to make sure no-overlap transform takes precedence over no-animation */ transform: translateX(-345%) translateY(-60%) !important; width: 30%; } .play-button.show, .tab-assets.reveal, .tab-assets.active { display: block; } .tabbed-feature__block-heading { margin: 0 auto 40px auto; overflow: hidden; } ::slotted([slot='block-heading']) { --ds-block-heading-paragraph-width: 55%; --ds-block-heading-paragraph-margin-right: auto; --ds-block-heading-paragraph-margin-left: auto; } .tabbed-feature__asset { position: relative; order: 2; flex: 2; max-width: 60%; width: 100%; height: auto; } ::slotted([slot$='-asset']) { clip-path: inset(1.5px); max-width: 100%; max-height: var(--asset-xlarge-height); border-radius: var( --ds-specs-and-stats-asset-border-radius, ${(0,n.$m)("12px")} ); } @media only screen and (max-width: 1350px) { :host([no-animation][dir='rtl']) .card-container { transform: translateX(-150%) translateY(-30%); } } @media only screen and (max-width: 1200px) { :host([no-animation]) .card-container { transform: translateX(50%) translateY(-40%); } :host([no-animation][dir='rtl']) .card-container { transform: translateX(-120%) translateY(-40%); } } @media only screen and (max-width: 1084px) { :host { --ds-app-tabs-width: 150px; } ::slotted([slot$='-asset']) { max-height: var(--asset-large-height); } .tab-assets-container { height: var(--asset-large-height); } :host([no-animation]) .card-container { transform: translateX(40%) translateY(-50%); } :host([no-animation][dir='rtl']) .card-container { transform: translateX(-100%) translateY(-50%); } } @media only screen and (max-width: 950px) { :host([no-animation][dir='rtl']) .card-container { transform: translateX(-80%) translateY(-50%); } } @media only screen and (max-width: 860px) { :host { --ds-app-tabs-width: 100%; padding: var( --ds-tabbed-feature-container-padding-mobile, ${(0,n.$m)("1rem")} ); } .tabbed-feature { margin-bottom: 0; } tabbed-feature__app-tabs { width: 100%; } ::slotted([slot='block-heading']) { --ds-block-heading-paragraph-width: 100%; } .container { padding: 16px; } .tabbed-container { display: grid; position: relative; } .asset-container { padding: 0; } ::slotted([slot$='-asset']) { max-height: var(--asset-medium-height); } .tab-assets-container { padding: 0; order: 1; height: auto; } .tab-assets { display: none; } .card-container { margin-top: 15px; transform: none; position: initial; width: 100%; } :host([no-overlap]) .card-container, :host([no-overlap][dir='rtl']) .card-container, :host([no-animation]) .card-container, :host([no-animation][dir='rtl']) .card-container { transform: none !important; width: 100%; } .nav-container { align-items: center; min-width: 150px; padding-top: 24px; order: 2; bottom: 0; width: 100%; } .nav-items { width: 100%; } .play-button-wrapper { margin-bottom: 0; margin-top: 0; position: absolute; bottom: 5%; left: 5%; } } @media only screen and (max-width: 540px) { ::slotted([slot$='-asset']) { max-height: var(--asset-small-height); } } @media only screen and (max-width: 360px) { ::slotted([slot$='-asset']) { max-height: var(--asset-xsmall-height); } } @media only screen and (max-width: 235px) { .app-tabs { flex-direction: column; min-width: 0; } } @media (forced-colors: active) { .play-button { forced-color-adjust: none; color: #fff; background-color: #000; border-color: #fff; background-image: none; } .play-icon, .pause-icon { fill: #fff; } @media (prefers-color-scheme: light) { .play-button { forced-color-adjust: none; color: #000; background-color: #fff; border-color: #000; } .play-icon, .pause-icon { fill: #000; } } } `;var a=r(3692);const l=Symbol.for(""),h=t=>{if(t?.r===l)return t?._$litStatic$},c=new Map,u=t=>(e,...r)=>{const i=r.length;let n,s;const o=[],a=[];let l,u=0,d=!1;for(;u{"function"==typeof t.requestUpdate&&t.requestUpdate()}))}));let v=document.documentElement.dir||"ltr";m.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]});class _{constructor(t){this.host=t,this.host.addController(this)}hostConnected(){g.add(this.host)}hostDisconnected(){g.delete(this.host)}dir(){return`${this.host.dir||v}`.toLowerCase()}}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}var x,E,w,T,A,S,C,P,k,H,M,B={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},O={duration:.5,overwrite:!1,delay:0},L=1e8,I=1e-8,$=2*Math.PI,R=$/4,N=0,D=Math.sqrt,U=Math.cos,V=Math.sin,F=function(t){return"string"==typeof t},z=function(t){return"function"==typeof t},G=function(t){return"number"==typeof t},Y=function(t){return void 0===t},X=function(t){return"object"==typeof t},j=function(t){return!1!==t},W=function(){return"undefined"!=typeof window},q=function(t){return z(t)||F(t)},K="function"==typeof ArrayBuffer&&ArrayBuffer.isView||function(){},Z=Array.isArray,J=/(?:-?\.?\d|\.)+/gi,Q=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,tt=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,et=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,rt=/[+-]=-?[.\d]+/,it=/[^,'"\[\]\s]+/gi,nt=/^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i,st={},ot={},at=function(t){return(ot=$t(t,st))&&$r},lt=function(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()")},ht=function(t,e){return!e&&console.warn(t)},ct=function(t,e){return t&&(st[t]=e)&&ot&&(ot[t]=e)||st},ut=function(){return 0},dt={suppressEvents:!0,isStart:!0,kill:!1},pt={suppressEvents:!0,kill:!1},ft={suppressEvents:!0},gt={},mt=[],vt={},_t={},bt={},yt=30,xt=[],Et="",wt=function(t){var e,r,i=t[0];if(X(i)||z(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=xt.length;r--&&!xt[r].targetTest(i););e=xt[r]}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Ke(t[r],e)))||t.splice(r,1);return t},Tt=function(t){return t._gsap||wt(pe(t))[0]._gsap},At=function(t,e,r){return(r=t[e])&&z(r)?t[e]():Y(r)&&t.getAttribute&&t.getAttribute(e)||r},St=function(t,e){return(t=t.split(",")).forEach(e)||t},Ct=function(t){return Math.round(1e5*t)/1e5||0},Pt=function(t){return Math.round(1e7*t)/1e7||0},kt=function(t,e){var r=e.charAt(0),i=parseFloat(e.substr(2));return t=parseFloat(t),"+"===r?t+i:"-"===r?t-i:"*"===r?t*i:t/i},Ht=function(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++is;)o=o._prev;return o?(e._next=o._next,o._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=o,e.parent=e._dp=t,e},Vt=function(t,e,r,i){void 0===r&&(r="_first"),void 0===i&&(i="_last");var n=e._prev,s=e._next;n?n._next=s:t[r]===e&&(t[r]=s),s?s._prev=n:t[i]===e&&(t[i]=n),e._next=e._prev=e.parent=null},Ft=function(t,e){t.parent&&(!e||t.parent.autoRemoveChildren)&&t.parent.remove&&t.parent.remove(t),t._act=0},zt=function(t,e){if(t&&(!e||e._end>t._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t},Gt=function(t,e,r,i){return t._startAt&&(E?t._startAt.revert(pt):t.vars.immediateRender&&!t.vars.autoRevert||t._startAt.render(e,!0,i))},Yt=function t(e){return!e||e._ts&&t(e.parent)},Xt=function(t){return t._repeat?jt(t._tTime,t=t.duration()+t._rDelay)*t:0},jt=function(t,e){var r=Math.floor(t/=e);return t&&r===t?r-1:r},Wt=function(t,e){return(t-e._start)*e._ts+(e._ts>=0?0:e._dirty?e.totalDuration():e._tDur)},qt=function(t){return t._end=Pt(t._start+(t._tDur/Math.abs(t._ts||t._rts||I)||0))},Kt=function(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=Pt(r._time-(t._ts>0?e/t._ts:((t._dirty?t.totalDuration():t._tDur)-e)/-t._ts)),qt(t),r._dirty||zt(r,t)),t},Zt=function(t,e){var r;if((e._time||!e._dur&&e._initted||e._startI)&&e.render(r,!0)),zt(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._dur=0&&r.totalTime(r._tTime),r=r._dp;t._zTime=-1e-8}},Jt=function(t,e,r,i){return e.parent&&Ft(e),e._start=Pt((G(r)?r:r||t!==T?oe(t,r,e):t._time)+e._delay),e._end=Pt(e._start+(e.totalDuration()/Math.abs(e.timeScale())||0)),Ut(t,e,"_first","_last",t._sort?"_start":0),re(e)||(t._recent=e),i||Zt(t,e),t._ts<0&&Kt(t,t._tTime),t},Qt=function(t,e){return(st.ScrollTrigger||lt("scrollTrigger",e))&&st.ScrollTrigger.create(e,t)},te=function(t,e,r,i,n){return nr(t,e,n),t._initted?!r&&t._pt&&!E&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&k!==Re.frame?(mt.push(t),t._lazy=[n,i],1):void 0:1},ee=function t(e){var r=e.parent;return r&&r._ts&&r._initted&&!r._lock&&(r.rawTime()<0||t(r))},re=function(t){var e=t.data;return"isFromStart"===e||"isStart"===e},ie=function(t,e,r,i){var n=t._repeat,s=Pt(e)||0,o=t._tTime/t._tDur;return o&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:Pt(s*(n+1)+t._rDelay*n):s,o>0&&!i&&Kt(t,t._tTime=t._tDur*o),t.parent&&qt(t),r||zt(t.parent,t),t},ne=function(t){return t instanceof Je?zt(t):ie(t,t._dur)},se={_start:0,endTime:ut,totalDuration:ut},oe=function t(e,r,i){var n,s,o,a=e.labels,l=e._recent||se,h=e.duration()>=L?l.endTime(!1):e._dur;return F(r)&&(isNaN(r)||r in a)?(s=r.charAt(0),o="%"===r.substr(-1),n=r.indexOf("="),"<"===s||">"===s?(n>=0&&(r=r.replace(/=/,"")),("<"===s?l._start:l.endTime(l._repeat>=0))+(parseFloat(r.substr(1))||0)*(o?(n<0?l:i).totalDuration()/100:1)):n<0?(r in a||(a[r]=h),a[r]):(s=parseFloat(r.charAt(n-1)+r.substr(n+1)),o&&i&&(s=s/100*(Z(i)?i[0]:i).totalDuration()),n>1?t(e,r.substr(0,n-1),i)+s:h+s)):null==r?h:+r},ae=function(t,e,r){var i,n,s=G(e[1]),o=(s?2:1)+(t<2?0:1),a=e[o];if(s&&(a.duration=e[1]),a.parent=r,t){for(i=a,n=r;n&&!("immediateRender"in i);)i=n.vars.defaults||{},n=j(n.vars.inherit)&&n.parent;a.immediateRender=j(i.immediateRender),t<2?a.runBackwards=1:a.startAt=e[o-1]}return new hr(e[0],a,e[o+1])},le=function(t,e){return t||0===t?e(t):e},he=function(t,e,r){return re?e:r},ce=function(t,e){return F(t)&&(e=nt.exec(t))?e[1]:""},ue=[].slice,de=function(t,e){return t&&X(t)&&"length"in t&&(!e&&!t.length||t.length-1 in t&&X(t[0]))&&!t.nodeType&&t!==A},pe=function(t,e,r){return w&&!e&&w.selector?w.selector(t):!F(t)||r||!S&&Ne()?Z(t)?function(t,e,r){return void 0===r&&(r=[]),t.forEach((function(t){var i;return F(t)&&!e||de(t,1)?(i=r).push.apply(i,pe(t)):r.push(t)}))||r}(t,r):de(t)?ue.call(t,0):t?[t]:[]:ue.call((e||C).querySelectorAll(t),0)},fe=function(t){return t=pe(t)[0]||ht("Invalid scope")||{},function(e){var r=t.current||t.nativeElement||t;return pe(e,r.querySelectorAll?r:r===t?ht("Invalid scope")||C.createElement("div"):t)}},ge=function(t){return t.sort((function(){return.5-Math.random()}))},me=function(t){if(z(t))return t;var e=X(t)?t:{each:t},r=Ye(e.ease),i=e.from||0,n=parseFloat(e.base)||0,s={},o=i>0&&i<1,a=isNaN(i)||o,l=e.axis,h=i,c=i;return F(i)?h=c={center:.5,edges:.5,end:1}[i]||0:!o&&a&&(h=i[0],c=i[1]),function(t,o,u){var d,p,f,g,m,v,_,b,y,x=(u||e).length,E=s[x];if(!E){if(!(y="auto"===e.grid?0:(e.grid||[1,L])[1])){for(_=-L;_<(_=u[y++].getBoundingClientRect().left)&&y_&&(_=m),mx?x-1:l?"y"===l?x/y:y:Math.max(y,x/y))||0)*("edges"===i?-1:1),E.b=x<0?n-x:n,E.u=ce(e.amount||e.each)||0,r=r&&x<0?ze(r):r}return x=(E[t]-E.min)/E.max||0,Pt(E.b+(r?r(x):x)*E.v)+E.u}},ve=function(t){var e=Math.pow(10,((t+"").split(".")[1]||"").length);return function(r){var i=Pt(Math.round(parseFloat(r)/t)*t*e);return(i-i%1)/e+(G(r)?0:ce(r))}},_e=function(t,e){var r,i,n=Z(t);return!n&&X(t)&&(r=n=t.radius||L,t.values?(t=pe(t.values),(i=!G(t[0]))&&(r*=r)):t=ve(t.increment)),le(e,n?z(t)?function(e){return i=t(e),Math.abs(i-e)<=r?i:e}:function(e){for(var n,s,o=parseFloat(i?e.x:e),a=parseFloat(i?e.y:0),l=L,h=0,c=t.length;c--;)(n=i?(n=t[c].x-o)*n+(s=t[c].y-a)*s:Math.abs(t[c]-o))(n=Math.abs(n))&&(s=i,a=n);return s},Te=function(t,e,r){var i,n,s,o=t.vars,a=o[e],l=w,h=t._ctx;if(a)return i=o[e+"Params"],n=o.callbackScope||t,r&&mt.length&&Mt(),h&&(w=h),s=i?a.apply(n,i):a.call(n),w=l,s},Ae=function(t){return Ft(t),t.scrollTrigger&&t.scrollTrigger.kill(!!E),t.progress()<1&&Te(t,"onInterrupt"),t},Se=[],Ce=function(t){if(t)if(t=!t.name&&t.default||t,W()||t.headless){var e=t.name,r=z(t),i=e&&!r&&t.init?function(){this._props=[]}:t,n={init:ut,render:_r,add:rr,kill:yr,modifier:br,rawVars:0},s={targetTest:0,get:0,getSetter:fr,aliases:{},register:0};if(Ne(),t!==i){if(_t[e])return;It(i,It(Nt(t,n),s)),$t(i.prototype,$t(n,Nt(t,s))),_t[i.prop=e]=i,t.targetTest&&(xt.push(i),gt[e]=1),e=("css"===e?"CSS":e.charAt(0).toUpperCase()+e.substr(1))+"Plugin"}ct(e,i),t.register&&t.register($r,i,wr)}else Se.push(t)},Pe=255,ke={aqua:[0,Pe,Pe],lime:[0,Pe,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,Pe],navy:[0,0,128],white:[Pe,Pe,Pe],olive:[128,128,0],yellow:[Pe,Pe,0],orange:[Pe,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[Pe,0,0],pink:[Pe,192,203],cyan:[0,Pe,Pe],transparent:[Pe,Pe,Pe,0]},He=function(t,e,r){return(6*(t+=t<0?1:t>1?-1:0)<1?e+(r-e)*t*6:t<.5?r:3*t<2?e+(r-e)*(2/3-t)*6:e)*Pe+.5|0},Me=function(t,e,r){var i,n,s,o,a,l,h,c,u,d,p=t?G(t)?[t>>16,t>>8&Pe,t&Pe]:0:ke.black;if(!p){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),ke[t])p=ke[t];else if("#"===t.charAt(0)){if(t.length<6&&(i=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+i+i+n+n+s+s+(5===t.length?t.charAt(4)+t.charAt(4):"")),9===t.length)return[(p=parseInt(t.substr(1,6),16))>>16,p>>8&Pe,p&Pe,parseInt(t.substr(7),16)/255];p=[(t=parseInt(t.substr(1),16))>>16,t>>8&Pe,t&Pe]}else if("hsl"===t.substr(0,3))if(p=d=t.match(J),e){if(~t.indexOf("="))return p=t.match(Q),r&&p.length<4&&(p[3]=1),p}else o=+p[0]%360/360,a=+p[1]/100,i=2*(l=+p[2]/100)-(n=l<=.5?l*(a+1):l+a-l*a),p.length>3&&(p[3]*=1),p[0]=He(o+1/3,i,n),p[1]=He(o,i,n),p[2]=He(o-1/3,i,n);else p=t.match(J)||ke.transparent;p=p.map(Number)}return e&&!d&&(i=p[0]/Pe,n=p[1]/Pe,s=p[2]/Pe,l=((h=Math.max(i,n,s))+(c=Math.min(i,n,s)))/2,h===c?o=a=0:(u=h-c,a=l>.5?u/(2-h-c):u/(h+c),o=h===i?(n-s)/u+(na||b<0)&&(h+=b-l),((g=(v=(c+=b)-h)-d)>0||y)&&(_=++i.frame,n=v-1e3*i.time,i.time=v/=1e3,d+=g+(g>=u?4:u-g),m=1),y||(t=e(r)),m)for(s=0;s=e&&s--},_listeners:p},i}(),Ne=function(){return!M&&Re.wake()},De={},Ue=/^[\d.\-M][\d.\-,\s]/,Ve=/["']/g,Fe=function(t){for(var e,r,i,n={},s=t.substr(1,t.length-3).split(":"),o=s[0],a=1,l=s.length;a1&&o.config?o.config.apply(null,~t.indexOf("{")?[Fe(s[1])]:(e=t,r=e.indexOf("(")+1,i=e.indexOf(")"),n=e.indexOf("(",r),e.substring(r,~n&&n=1?r:1,s=(i||(e?.3:.45))/(r<1?r:1),o=s/$*(Math.asin(1/n)||0),a=function(t){return 1===t?1:n*Math.pow(2,-10*t)*V((t-o)*s)+1},l="out"===e?a:"in"===e?function(t){return 1-a(1-t)}:je(a);return s=$/s,l.config=function(r,i){return t(e,r,i)},l},qe=function t(e,r){void 0===r&&(r=1.70158);var i=function(t){return t?--t*t*((r+1)*t+r)+1:0},n="out"===e?i:"in"===e?function(t){return 1-i(1-t)}:je(i);return n.config=function(r){return t(e,r)},n};St("Linear,Quad,Cubic,Quart,Quint,Strong",(function(t,e){var r=e<5?e+1:e;Xe(t+",Power"+(r-1),e?function(t){return Math.pow(t,r)}:function(t){return t},(function(t){return 1-Math.pow(1-t,r)}),(function(t){return t<.5?Math.pow(2*t,r)/2:1-Math.pow(2*(1-t),r)/2}))})),De.Linear.easeNone=De.none=De.Linear.easeIn,Xe("Elastic",We("in"),We("out"),We()),function(t,e){var r=function(r){return r<.36363636363636365?t*r*r:r<.7272727272727273?t*Math.pow(r-1.5/e,2)+.75:r<.9090909090909092?t*(r-=2.25/e)*r+.9375:t*Math.pow(r-2.625/e,2)+.984375};Xe("Bounce",(function(t){return 1-r(1-t)}),r)}(7.5625,2.75),Xe("Expo",(function(t){return t?Math.pow(2,10*(t-1)):0})),Xe("Circ",(function(t){return-(D(1-t*t)-1)})),Xe("Sine",(function(t){return 1===t?1:1-U(t*R)})),Xe("Back",qe("in"),qe("out"),qe()),De.SteppedEase=De.steps=st.SteppedEase={config:function(t,e){void 0===t&&(t=1);var r=1/t,i=t+(e?0:1),n=e?1:0;return function(t){return((i*he(0,.99999999,t)|0)+n)*r}}},O.ease=De["quad.out"],St("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",(function(t){return Et+=t+","+t+"Params,"}));var Ke=function(t,e){this.id=N++,t._gsap=this,this.target=t,this.harness=e,this.get=e?e.get:At,this.set=e?e.getSetter:fr},Ze=function(){function t(t){this.vars=t,this._delay=+t.delay||0,(this._repeat=t.repeat===1/0?-2:t.repeat||0)&&(this._rDelay=t.repeatDelay||0,this._yoyo=!!t.yoyo||!!t.yoyoEase),this._ts=1,ie(this,+t.duration,1,1),this.data=t.data,w&&(this._ctx=w,w.data.push(this)),M||Re.wake()}var e=t.prototype;return e.delay=function(t){return t||0===t?(this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+t-this._delay),this._delay=t,this):this._delay},e.duration=function(t){return arguments.length?this.totalDuration(this._repeat>0?t+(t+this._rDelay)*this._repeat:t):this.totalDuration()&&this._dur},e.totalDuration=function(t){return arguments.length?(this._dirty=0,ie(this,this._repeat<0?t:(t-this._repeat*this._rDelay)/(this._repeat+1))):this._tDur},e.totalTime=function(t,e){if(Ne(),!arguments.length)return this._tTime;var r=this._dp;if(r&&r.smoothChildTiming&&this._ts){for(Kt(this,t),!r._dp||r.parent||Zt(r,this);r&&r.parent;)r.parent._time!==r._start+(r._ts>=0?r._tTime/r._ts:(r.totalDuration()-r._tTime)/-r._ts)&&r.totalTime(r._tTime,!0),r=r.parent;!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&t0||!this._tDur&&!t)&&Jt(this._dp,this,this._start-this._delay)}return(this._tTime!==t||!this._dur&&!e||this._initted&&Math.abs(this._zTime)===I||!t&&!this._initted&&(this.add||this._ptLookup))&&(this._ts||(this._pTime=t),Bt(this,t,e)),this},e.time=function(t,e){return arguments.length?this.totalTime(Math.min(this.totalDuration(),t+Xt(this))%(this._dur+this._rDelay)||(t?this._dur:0),e):this._time},e.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.rawTime()>0?1:0},e.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(!this._yoyo||1&this.iteration()?t:1-t)+Xt(this),e):this.duration()?Math.min(1,this._time/this._dur):this.rawTime()>0?1:0},e.iteration=function(t,e){var r=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(t-1)*r,e):this._repeat?jt(this._tTime,r)+1:1},e.timeScale=function(t,e){if(!arguments.length)return-1e-8===this._rts?0:this._rts;if(this._rts===t)return this;var r=this.parent&&this._ts?Wt(this.parent._time,this):this._tTime;return this._rts=+t||0,this._ts=this._ps||-1e-8===t?0:this._rts,this.totalTime(he(-Math.abs(this._delay),this._tDur,r),!1!==e),qt(this),function(t){for(var e=t.parent;e&&e.parent;)e._dirty=1,e.totalDuration(),e=e.parent;return t}(this)},e.paused=function(t){return arguments.length?(this._ps!==t&&(this._ps=t,t?(this._pTime=this._tTime||Math.max(-this._delay,this.rawTime()),this._ts=this._act=0):(Ne(),this._ts=this._rts,this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,1===this.progress()&&Math.abs(this._zTime)!==I&&(this._tTime-=I)))),this):this._ps},e.startTime=function(t){if(arguments.length){this._start=t;var e=this.parent||this._dp;return e&&(e._sort||!this.parent)&&Jt(e,this,t-this._delay),this}return this._start},e.endTime=function(t){return this._start+(j(t)?this.totalDuration():this.duration())/Math.abs(this._ts||1)},e.rawTime=function(t){var e=this.parent||this._dp;return e?t&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):this._ts?Wt(e.rawTime(t),this):this._tTime:this._tTime},e.revert=function(t){void 0===t&&(t=ft);var e=E;return E=t,(this._initted||this._startAt)&&(this.timeline&&this.timeline.revert(t),this.totalTime(-.01,t.suppressEvents)),"nested"!==this.data&&!1!==t.kill&&this.kill(),E=e,this},e.globalTime=function(t){for(var e=this,r=arguments.length?t:e.rawTime();e;)r=e._start+r/(Math.abs(e._ts)||1),e=e._dp;return!this.parent&&this._sat?this._sat.globalTime(t):r},e.repeat=function(t){return arguments.length?(this._repeat=t===1/0?-2:t,ne(this)):-2===this._repeat?1/0:this._repeat},e.repeatDelay=function(t){if(arguments.length){var e=this._time;return this._rDelay=t,ne(this),e?this.time(e):this}return this._rDelay},e.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},e.seek=function(t,e){return this.totalTime(oe(this,t),j(e))},e.restart=function(t,e){return this.play().totalTime(t?-this._delay:0,j(e))},e.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},e.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},e.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},e.resume=function(){return this.paused(!1)},e.reversed=function(t){return arguments.length?(!!t!==this.reversed()&&this.timeScale(-this._rts||(t?-1e-8:0)),this):this._rts<0},e.invalidate=function(){return this._initted=this._act=0,this._zTime=-1e-8,this},e.isActive=function(){var t,e=this.parent||this._dp,r=this._start;return!(e&&!(this._ts&&this._initted&&e.isActive()&&(t=e.rawTime(!0))>=r&&t1?(e?(i[t]=e,r&&(i[t+"Params"]=r),"onUpdate"===t&&(this._onUpdate=e)):delete i[t],this):i[t]},e.then=function(t){var e=this;return new Promise((function(r){var i=z(t)?t:Lt,n=function(){var t=e.then;e.then=null,z(i)&&(i=i(e))&&(i.then||i===e)&&(e.then=t),r(i),e.then=t};e._initted&&1===e.totalProgress()&&e._ts>=0||!e._tTime&&e._ts<0?n():e._prom=n}))},e.kill=function(){Ae(this)},t}();It(Ze.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-1e-8,_prom:0,_ps:!1,_rts:1});var Je=function(t){function e(e,r){var i;return void 0===e&&(e={}),(i=t.call(this,e)||this).labels={},i.smoothChildTiming=!!e.smoothChildTiming,i.autoRemoveChildren=!!e.autoRemoveChildren,i._sort=j(e.sortChildren),T&&Jt(e.parent||T,b(i),r),e.reversed&&i.reverse(),e.paused&&i.paused(!0),e.scrollTrigger&&Qt(b(i),e.scrollTrigger),i}y(e,t);var r=e.prototype;return r.to=function(t,e,r){return ae(0,arguments,this),this},r.from=function(t,e,r){return ae(1,arguments,this),this},r.fromTo=function(t,e,r,i){return ae(2,arguments,this),this},r.set=function(t,e,r){return e.duration=0,e.parent=this,Dt(e).repeatDelay||(e.repeat=0),e.immediateRender=!!e.immediateRender,new hr(t,e,oe(this,r),1),this},r.call=function(t,e,r){return Jt(this,hr.delayedCall(0,t,e),r)},r.staggerTo=function(t,e,r,i,n,s,o){return r.duration=e,r.stagger=r.stagger||i,r.onComplete=s,r.onCompleteParams=o,r.parent=this,new hr(t,r,oe(this,n)),this},r.staggerFrom=function(t,e,r,i,n,s,o){return r.runBackwards=1,Dt(r).immediateRender=j(r.immediateRender),this.staggerTo(t,e,r,i,n,s,o)},r.staggerFromTo=function(t,e,r,i,n,s,o,a){return i.startAt=r,Dt(i).immediateRender=j(i.immediateRender),this.staggerTo(t,e,i,n,s,o,a)},r.render=function(t,e,r){var i,n,s,o,a,l,h,c,u,d,p,f,g=this._time,m=this._dirty?this.totalDuration():this._tDur,v=this._dur,_=t<=0?0:Pt(t),b=this._zTime<0!=t<0&&(this._initted||!v);if(this!==T&&_>m&&t>=0&&(_=m),_!==this._tTime||r||b){if(g!==this._time&&v&&(_+=this._time-g,t+=this._time-g),i=_,u=this._start,l=!(c=this._ts),b&&(v||(g=this._zTime),(t||!e)&&(this._zTime=t)),this._repeat){if(p=this._yoyo,a=v+this._rDelay,this._repeat<-1&&t<0)return this.totalTime(100*a+t,e,r);if(i=Pt(_%a),_===m?(o=this._repeat,i=v):((o=~~(_/a))&&o===_/a&&(i=v,o--),i>v&&(i=v)),d=jt(this._tTime,a),!g&&this._tTime&&d!==o&&this._tTime-d*a-this._dur<=0&&(d=o),p&&1&o&&(i=v-i,f=1),o!==d&&!this._lock){var y=p&&1&d,x=y===(p&&1&o);if(oe)for(i=t._first;i&&i._start<=r;){if("isPause"===i.data&&i._start>e)return i;i=i._next}else for(i=t._last;i&&i._start>=r;){if("isPause"===i.data&&i._start=g&&t>=0)for(n=this._first;n;){if(s=n._next,(n._act||i>=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(i-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(i-n._start)*n._ts,e,r),i!==this._time||!this._ts&&!l){h=0,s&&(_+=this._zTime=-1e-8);break}}n=s}else{n=this._last;for(var w=t<0?t:i;n;){if(s=n._prev,(n._act||w<=n._end)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(n._ts>0?(w-n._start)*n._ts:(n._dirty?n.totalDuration():n._tDur)+(w-n._start)*n._ts,e,r||E&&(n._initted||n._startAt)),i!==this._time||!this._ts&&!l){h=0,s&&(_+=this._zTime=w?-1e-8:I);break}}n=s}}if(h&&!e&&(this.pause(),h.render(i>=g?0:-1e-8)._zTime=i>=g?1:-1,this._ts))return this._start=u,qt(this),this.render(t,e,r);this._onUpdate&&!e&&Te(this,"onUpdate",!0),(_===m&&this._tTime>=this.totalDuration()||!_&&g)&&(u!==this._start&&Math.abs(c)===Math.abs(this._ts)||this._lock||((t||!v)&&(_===m&&this._ts>0||!_&&this._ts<0)&&Ft(this,1),e||t<0&&!g||!_&&!g&&m||(Te(this,_===m&&t>=0?"onComplete":"onReverseComplete",!0),this._prom&&!(_0)&&this._prom())))}return this},r.add=function(t,e){var r=this;if(G(e)||(e=oe(this,e,t)),!(t instanceof Ze)){if(Z(t))return t.forEach((function(t){return r.add(t,e)})),this;if(F(t))return this.addLabel(t,e);if(!z(t))return this;t=hr.delayedCall(0,t)}return this!==t?Jt(this,t,e):this},r.getChildren=function(t,e,r,i){void 0===t&&(t=!0),void 0===e&&(e=!0),void 0===r&&(r=!0),void 0===i&&(i=-L);for(var n=[],s=this._first;s;)s._start>=i&&(s instanceof hr?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n},r.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r]},r.remove=function(t){return F(t)?this.removeLabel(t):z(t)?this.killTweensOf(t):(Vt(this,t),t===this._recent&&(this._recent=this._last),zt(this))},r.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=Pt(Re.time-(this._ts>0?e/this._ts:(this.totalDuration()-e)/-this._ts))),t.prototype.totalTime.call(this,e,r),this._forcing=0,this):this._tTime},r.addLabel=function(t,e){return this.labels[t]=oe(this,e),this},r.removeLabel=function(t){return delete this.labels[t],this},r.addPause=function(t,e,r){var i=hr.delayedCall(0,e||ut,r);return i.data="isPause",this._hasPause=1,Jt(this,i,oe(this,t))},r.removePause=function(t){var e=this._first;for(t=oe(this,t);e;)e._start===t&&"isPause"===e.data&&Ft(e),e=e._next},r.killTweensOf=function(t,e,r){for(var i=this.getTweensOf(t,r),n=i.length;n--;)Qe!==i[n]&&i[n].kill(t,e);return this},r.getTweensOf=function(t,e){for(var r,i=[],n=pe(t),s=this._first,o=G(e);s;)s instanceof hr?Ht(s._targets,n)&&(o?(!Qe||s._initted&&s._ts)&&s.globalTime(0)<=e&&s.globalTime(s.totalDuration())>e:!e||s.isActive())&&i.push(s):(r=s.getTweensOf(n,e)).length&&i.push.apply(i,r),s=s._next;return i},r.tweenTo=function(t,e){e=e||{};var r,i=this,n=oe(i,t),s=e,o=s.startAt,a=s.onStart,l=s.onStartParams,h=s.immediateRender,c=hr.to(i,It({ease:e.ease||"none",lazy:!1,immediateRender:!1,time:n,overwrite:"auto",duration:e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale())||I,onStart:function(){if(i.pause(),!r){var t=e.duration||Math.abs((n-(o&&"time"in o?o.time:i._time))/i.timeScale());c._dur!==t&&ie(c,t,0,1).render(c._time,!0,!0),r=1}a&&a.apply(c,l||[])}},e));return h?c.render(0):c},r.tweenFromTo=function(t,e,r){return this.tweenTo(e,It({startAt:{time:oe(this,t)}},r))},r.recent=function(){return this._recent},r.nextLabel=function(t){return void 0===t&&(t=this._time),we(this,oe(this,t))},r.previousLabel=function(t){return void 0===t&&(t=this._time),we(this,oe(this,t),1)},r.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+I)},r.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return zt(this)},r.invalidate=function(e){var r=this._first;for(this._lock=0;r;)r.invalidate(e),r=r._next;return t.prototype.invalidate.call(this,e)},r.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._dp&&(this._time=this._tTime=this._pTime=0),t&&(this.labels={}),zt(this)},r.totalDuration=function(t){var e,r,i,n=0,s=this,o=s._last,a=L;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;o;)e=o._prev,o._dirty&&o.totalDuration(),(r=o._start)>a&&s._sort&&o._ts&&!s._lock?(s._lock=1,Jt(s,o,r-o._delay,1)._lock=0):a=r,r<0&&o._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-Infinity),a=0),o._end>n&&o._ts&&(n=o._end),o=e;ie(s,s===T&&s._time>n?s._time:n,1,1),s._dirty=0}return s._tDur},e.updateRoot=function(t){if(T._ts&&(Bt(T,Wt(t,T)),k=Re.frame),Re.frame>=yt){yt+=B.autoSleep||120;var e=T._first;if((!e||!e._ts)&&B.autoSleep&&Re._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Re.sleep()}}},e}(Ze);It(Je.prototype,{_lock:0,_hasPause:0,_forcing:0});var Qe,tr,er=function(t,e,r,i,n,s,o){var a,l,h,c,u,d,p,f,g=new wr(this._pt,t,e,0,1,vr,null,n),m=0,v=0;for(g.b=r,g.e=i,r+="",(p=~(i+="").indexOf("random("))&&(i=xe(i)),s&&(s(f=[r,i],t,e),r=f[0],i=f[1]),l=r.match(et)||[];a=et.exec(i);)c=a[0],u=i.substring(m,a.index),h?h=(h+1)%5:"rgba("===u.substr(-5)&&(h=1),c!==l[v++]&&(d=parseFloat(l[v-1])||0,g._pt={_next:g._pt,p:u||1===v?u:",",s:d,c:"="===c.charAt(1)?kt(d,c)-d:parseFloat(c)-d,m:h&&h<4?Math.round:0},m=et.lastIndex);return g.c=m")})),o.duration();else{for(c in l={},E)"ease"===c||"easeEach"===c||sr(c,E[c],l,E.easeEach);for(c in l)for(k=l[c].sort((function(t,e){return t.t-e.t})),O=0,a=0;ap-I&&!g?p:tf&&(i=f)),(l=this._yoyo&&1&s)&&(u=this._yEase,i=f-i),a=jt(this._tTime,o),i===d&&!r&&this._initted&&s===a)return this._tTime=m,this;s!==a&&(c&&this._yEase&&Ge(c,l),this.vars.repeatRefresh&&!l&&!this._lock&&this._time!==o&&this._initted&&(this._lock=r=1,this.render(Pt(o*s),!0).invalidate()._lock=0))}if(!this._initted){if(te(this,g?t:i,r,e,m))return this._tTime=0,this;if(!(d===this._time||r&&this.vars.repeatRefresh&&s!==a))return this;if(f!==this._dur)return this.render(t,e,r)}if(this._tTime=m,this._time=i,!this._act&&this._ts&&(this._act=1,this._lazy=0),this.ratio=h=(u||this._ease)(i/f),this._from&&(this.ratio=h=1-h),i&&!d&&!e&&!s&&(Te(this,"onStart"),this._tTime!==m))return this;for(n=this._pt;n;)n.r(h,n.d),n=n._next;c&&c.render(t<0?t:c._dur*c._ease(i/this._dur),e,r)||this._startAt&&(this._zTime=t),this._onUpdate&&!e&&(g&&Gt(this,t,0,r),Te(this,"onUpdate")),this._repeat&&s!==a&&this.vars.onRepeat&&!e&&this.parent&&Te(this,"onRepeat"),m!==this._tDur&&m||this._tTime!==m||(g&&!this._onUpdate&&Gt(this,t,0,!0),(t||!f)&&(m===this._tDur&&this._ts>0||!m&&this._ts<0)&&Ft(this,1),e||g&&!d||!(m||d||l)||(Te(this,m===p?"onComplete":"onReverseComplete",!0),this._prom&&!(m0)&&this._prom()))}}else!function(t,e,r,i){var n,s,o,a=t.ratio,l=e<0||!e&&(!t._start&&ee(t)&&(t._initted||!re(t))||(t._ts<0||t._dp._ts<0)&&!re(t))?0:1,h=t._rDelay,c=0;if(h&&t._repeat&&(c=he(0,t._tDur,e),s=jt(c,h),t._yoyo&&1&s&&(l=1-l),s!==jt(t._tTime,h)&&(a=1-l,t.vars.repeatRefresh&&t._initted&&t.invalidate())),l!==a||E||i||t._zTime===I||!e&&t._zTime){if(!t._initted&&te(t,e,i,r,c))return;for(o=t._zTime,t._zTime=e||(r?I:0),r||(r=e&&!o),t.ratio=l,t._from&&(l=1-l),t._time=0,t._tTime=c,n=t._pt;n;)n.r(l,n.d),n=n._next;e<0&&Gt(t,e,0,!0),t._onUpdate&&!r&&Te(t,"onUpdate"),c&&t._repeat&&!r&&t.parent&&Te(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===l&&(l&&Ft(t,1),r||E||(Te(t,l?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()))}else t._zTime||(t._zTime=e)}(this,t,e,r);return this},r.targets=function(){return this._targets},r.invalidate=function(e){return(!e||!this.vars.runBackwards)&&(this._startAt=0),this._pt=this._op=this._onUpdate=this._lazy=this.ratio=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(e),t.prototype.invalidate.call(this,e)},r.resetTo=function(t,e,r,i,n){M||Re.wake(),this._ts||this.play();var s=Math.min(this._dur,(this._dp._time-this._start)*this._ts);return this._initted||nr(this,s),function(t,e,r,i,n,s,o,a){var l,h,c,u,d=(t._pt&&t._ptCache||(t._ptCache={}))[e];if(!d)for(d=t._ptCache[e]=[],c=t._ptLookup,u=t._targets.length;u--;){if((l=c[u][e])&&l.d&&l.d._pt)for(l=l.d._pt;l&&l.p!==e&&l.fp!==e;)l=l._next;if(!l)return tr=1,t.vars[e]="+=0",nr(t,o),tr=0,a?ht(e+" not eligible for reset"):1;d.push(l)}for(u=d.length;u--;)(l=(h=d[u])._pt||h).s=!i&&0!==i||n?l.s+(i||0)+s*l.c:i,l.c=r-l.s,h.e&&(h.e=Ct(r)+ce(h.e)),h.b&&(h.b=l.s+ce(h.b))}(this,t,e,r,i,this._ease(s/this._dur),s,n)?this.resetTo(t,e,r,i,1):(Kt(this,0),this.parent||Ut(this._dp,this,"_first","_last",this._dp._sort?"_start":0),this.render(0))},r.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e))return this._lazy=this._pt=0,this.parent?Ae(this):this;if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Qe&&!0!==Qe.vars.overwrite)._first||Ae(this),this.parent&&r!==this.timeline.totalDuration()&&ie(this,this._dur*this.timeline._tDur/r,0,1),this}var i,n,s,o,a,l,h,c=this._targets,u=t?pe(t):c,d=this._ptLookup,p=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0}(c,u))return"all"===e&&(this._pt=0),Ae(this);for(i=this._op=this._op||[],"all"!==e&&(F(e)&&(a={},St(e,(function(t){return a[t]=1})),e=a),e=function(t,e){var r,i,n,s,o=t[0]?Tt(t[0]).harness:0,a=o&&o.aliases;if(!a)return e;for(i in r=$t({},e),a)if(i in r)for(n=(s=a[i].split(",")).length;n--;)r[s[n]]=r[i];return r}(c,e)),h=c.length;h--;)if(~u.indexOf(c[h]))for(a in n=d[h],"all"===e?(i[h]=e,o=n,s={}):(s=i[h]=i[h]||{},o=e),o)(l=n&&n[a])&&("kill"in l.d&&!0!==l.d.kill(a)||Vt(this,l,"_pt"),delete n[a]),"all"!==s&&(s[a]=1);return this._initted&&!this._pt&&p&&Ae(this),this},e.to=function(t,r){return new e(t,r,arguments[2])},e.from=function(t,e){return ae(1,arguments)},e.delayedCall=function(t,r,i,n){return new e(r,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:r,onReverseComplete:r,onCompleteParams:i,onReverseCompleteParams:i,callbackScope:n})},e.fromTo=function(t,e,r){return ae(2,arguments)},e.set=function(t,r){return r.duration=0,r.repeatDelay||(r.repeat=0),new e(t,r)},e.killTweensOf=function(t,e,r){return T.killTweensOf(t,e,r)},e}(Ze);It(hr.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),St("staggerTo,staggerFrom,staggerFromTo",(function(t){hr[t]=function(){var e=new Je,r=ue.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r)}}));var cr=function(t,e,r){return t[e]=r},ur=function(t,e,r){return t[e](r)},dr=function(t,e,r,i){return t[e](i.fp,r)},pr=function(t,e,r){return t.setAttribute(e,r)},fr=function(t,e){return z(t[e])?ur:Y(t[e])&&t.setAttribute?pr:cr},gr=function(t,e){return e.set(e.t,e.p,Math.round(1e6*(e.s+e.c*t))/1e6,e)},mr=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e)},vr=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c}e.set(e.t,e.p,i,e)},_r=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next},br=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n},yr=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?Vt(this,i,"_pt"):i.dep||(e=1),i=r;return!e},xr=function(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i)},Er=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e}t._pt=i},wr=function(){function t(t,e,r,i,n,s,o,a,l){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||gr,this.d=o||this,this.set=a||cr,this.pr=l||0,this._next=t,t&&(t._prev=this)}return t.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=xr,this.m=t,this.mt=r,this.tween=e},t}();St(Et+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return gt[t]=1})),st.TweenMax=st.TweenLite=hr,st.TimelineLite=st.TimelineMax=Je,T=new Je({sortChildren:!1,defaults:O,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),B.stringFilter=$e;var Tr=[],Ar={},Sr=[],Cr=0,Pr=0,kr=function(t){return(Ar[t]||Sr).map((function(t){return t()}))},Hr=function(){var t=Date.now(),e=[];t-Cr>2&&(kr("matchMediaInit"),Tr.forEach((function(t){var r,i,n,s,o=t.queries,a=t.conditions;for(i in o)(r=A.matchMedia(o[i]).matches)&&(n=1),r!==a[i]&&(a[i]=r,s=1);s&&(t.revert(),n&&e.push(t))})),kr("matchMediaRevert"),e.forEach((function(t){return t.onMatch(t,(function(e){return t.add(null,e)}))})),Cr=t,kr("matchMedia"))},Mr=function(){function t(t,e){this.selector=e&&fe(e),this.data=[],this._r=[],this.isReverted=!1,this.id=Pr++,t&&this.add(t)}var e=t.prototype;return e.add=function(t,e,r){z(t)&&(r=e,e=t,t=z);var i=this,n=function(){var t,n=w,s=i.selector;return n&&n!==i&&n.data.push(i),r&&(i.selector=fe(r)),w=i,t=e.apply(i,arguments),z(t)&&i._r.push(t),w=n,i.selector=s,i.isReverted=!1,t};return i.last=n,t===z?n(i,(function(t){return i.add(null,t)})):t?i[t]=n:n},e.ignore=function(t){var e=w;w=null,t(this),w=e},e.getTweens=function(){var e=[];return this.data.forEach((function(r){return r instanceof t?e.push.apply(e,r.getTweens()):r instanceof hr&&!(r.parent&&"nested"===r.parent.data)&&e.push(r)})),e},e.clear=function(){this._r.length=this.data.length=0},e.kill=function(t,e){var r=this;if(t?function(){for(var e,i=r.getTweens(),n=r.data.length;n--;)"isFlip"===(e=r.data[n]).data&&(e.revert(),e.getChildren(!0,!0,!1).forEach((function(t){return i.splice(i.indexOf(t),1)})));for(i.map((function(t){return{g:t._dur||t._delay||t._sat&&!t._sat.vars.immediateRender?t.globalTime(0):-1/0,t}})).sort((function(t,e){return e.g-t.g||-1/0})).forEach((function(e){return e.t.revert(t)})),n=r.data.length;n--;)(e=r.data[n])instanceof Je?"nested"!==e.data&&(e.scrollTrigger&&e.scrollTrigger.revert(),e.kill()):!(e instanceof hr)&&e.revert&&e.revert(t);r._r.forEach((function(e){return e(t,r)})),r.isReverted=!0}():this.data.forEach((function(t){return t.kill&&t.kill()})),this.clear(),e)for(var i=Tr.length;i--;)Tr[i].id===this.id&&Tr.splice(i,1)},e.revert=function(t){this.kill(t||{})},t}(),Br=function(){function t(t){this.contexts=[],this.scope=t,w&&w.data.push(this)}var e=t.prototype;return e.add=function(t,e,r){X(t)||(t={matches:t});var i,n,s,o=new Mr(0,r||this.scope),a=o.conditions={};for(n in w&&!o.selector&&(o.selector=w.selector),this.contexts.push(o),e=o.add("onMatch",e),o.queries=t,t)"all"===n?s=1:(i=A.matchMedia(t[n]))&&(Tr.indexOf(o)<0&&Tr.push(o),(a[n]=i.matches)&&(s=1),i.addListener?i.addListener(Hr):i.addEventListener("change",Hr));return s&&e(o,(function(t){return o.add(null,t)})),this},e.revert=function(t){this.kill(t||{})},e.kill=function(t){this.contexts.forEach((function(e){return e.kill(t,!0)}))},t}(),Or={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;r1){var i=t.map((function(t){return $r.quickSetter(t,e,r)})),n=i.length;return function(t){for(var e=n;e--;)i[e](t)}}t=t[0]||{};var s=_t[e],o=Tt(t),a=o.harness&&(o.harness.aliases||{})[e]||e,l=s?function(e){var i=new s;H._pt=0,i.init(t,r?e+r:e,H,0,[t]),i.render(1,i),H._pt&&_r(1,H)}:o.set(t,a);return s?l:function(e){return l(t,a,r?e+r:e,o,1)}},quickTo:function(t,e,r){var i,n=$r.to(t,$t(((i={})[e]="+=0.1",i.paused=!0,i),r||{})),s=function(t,r,i){return n.resetTo(e,t,r,i)};return s.tween=n,s},isTweening:function(t){return T.getTweensOf(t,!0).length>0},defaults:function(t){return t&&t.ease&&(t.ease=Ye(t.ease,O.ease)),Rt(O,t||{})},config:function(t){return Rt(B,t||{})},registerEffect:function(t){var e=t.name,r=t.effect,i=t.plugins,n=t.defaults,s=t.extendTimeline;(i||"").split(",").forEach((function(t){return t&&!_t[t]&&!st[t]&&ht(e+" effect requires "+t+" plugin.")})),bt[e]=function(t,e,i){return r(pe(t),It(e||{},n),i)},s&&(Je.prototype[e]=function(t,r,i){return this.add(bt[e](t,X(r)?r:(i=r)&&{},this),i)})},registerEase:function(t,e){De[t]=Ye(e)},parseEase:function(t,e){return arguments.length?Ye(t,e):De},getById:function(t){return T.getById(t)},exportRoot:function(t,e){void 0===t&&(t={});var r,i,n=new Je(t);for(n.smoothChildTiming=j(t.smoothChildTiming),T.remove(n),n._dp=0,n._time=n._tTime=T._time,r=T._first;r;)i=r._next,!e&&!r._dur&&r instanceof hr&&r.vars.onComplete===r._targets[0]||Jt(n,r,r._start-r._delay),r=i;return Jt(T,n,0),n},context:function(t,e){return t?new Mr(t,e):w},matchMedia:function(t){return new Br(t)},matchMediaRefresh:function(){return Tr.forEach((function(t){var e,r,i=t.conditions;for(r in i)i[r]&&(i[r]=!1,e=1);e&&t.revert()}))||Hr()},addEventListener:function(t,e){var r=Ar[t]||(Ar[t]=[]);~r.indexOf(e)||r.push(e)},removeEventListener:function(t,e){var r=Ar[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},utils:{wrap:function t(e,r,i){var n=r-e;return Z(e)?ye(e,t(0,e.length),r):le(i,(function(t){return(n+(t-e)%n)%n+e}))},wrapYoyo:function t(e,r,i){var n=r-e,s=2*n;return Z(e)?ye(e,t(0,e.length-1),r):le(i,(function(t){return e+((t=(s+(t-e)%s)%s||0)>n?s-t:t)}))},distribute:me,random:be,snap:_e,normalize:function(t,e,r){return Ee(t,e,0,1,r)},getUnit:ce,clamp:function(t,e,r){return le(r,(function(r){return he(t,e,r)}))},splitColor:Me,toArray:pe,selector:fe,mapRange:Ee,pipe:function(){for(var t=arguments.length,e=new Array(t),r=0;r=0)return;o.svg&&(this.svgo=n.getAttribute("data-svg-origin"),this.props.push(di,r,"")),e=ui}(s||r)&&this.props.push(e,r,s[e])},fi=function(t){t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},gi=function(){var t,e,r=this.props,i=this.target,n=i.style,s=i._gsap;for(t=0;t=0?bi[n]:"")+t},xi=function(){"undefined"!=typeof window&&window.document&&(Rr=window,Nr=Rr.document,Dr=Nr.documentElement,Vr=vi("div")||{style:{}},vi("div"),ui=yi(ui),di=ui+"Origin",Vr.style.cssText="border-width:0;line-height:0;position:absolute;padding:0",Gr=!!yi("perspective"),zr=$r.core.reverting,Ur=1)},Ei=function t(e){var r,i=vi("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Dr.appendChild(i),i.appendChild(this),this.style.display="block",e)try{r=this.getBBox(),this._gsapBBox=this.getBBox,this.getBBox=t}catch(t){}else this._gsapBBox&&(r=this._gsapBBox());return n&&(s?n.insertBefore(this,s):n.appendChild(this)),Dr.removeChild(i),this.style.cssText=o,r},wi=function(t,e){for(var r=e.length;r--;)if(t.hasAttribute(e[r]))return t.getAttribute(e[r])},Ti=function(t){var e;try{e=t.getBBox()}catch(r){e=Ei.call(t,!0)}return e&&(e.width||e.height)||t.getBBox===Ei||(e=Ei.call(t,!0)),!e||e.width||e.x||e.y?e:{x:+wi(t,["x","cx","x1"])||0,y:+wi(t,["y","cy","y1"])||0,width:0,height:0}},Ai=function(t){return!(!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Ti(t))},Si=function(t,e){if(e){var r,i=t.style;e in Yr&&e!==di&&(e=ui),i.removeProperty?("ms"!==(r=e.substr(0,2))&&"webkit"!==e.substr(0,6)||(e="-"+e),i.removeProperty("--"===r?e:e.replace(qr,"-$1").toLowerCase())):i.removeAttribute(e)}},Ci=function(t,e,r,i,n,s){var o=new wr(t._pt,e,r,0,1,s?ni:ii);return t._pt=o,o.b=i,o.e=n,t._props.push(r),o},Pi={deg:1,rad:1,turn:1},ki={grid:1,flex:1},Hi=function t(e,r,i,n){var s,o,a,l,h=parseFloat(i)||0,c=(i+"").trim().substr((h+"").length)||"px",u=Vr.style,d=Kr.test(r),p="svg"===e.tagName.toLowerCase(),f=(p?"client":"offset")+(d?"Width":"Height"),g=100,m="px"===n,v="%"===n;if(n===c||!h||Pi[n]||Pi[c])return h;if("px"!==c&&!m&&(h=t(e,r,i,"px")),l=e.getCTM&&Ai(e),(v||"%"===c)&&(Yr[r]||~r.indexOf("adius")))return s=l?e.getBBox()[d?"width":"height"]:e[f],Ct(v?h/s*g:h/100*s);if(u[d?"width":"height"]=g+(m?c:n),o=~r.indexOf("adius")||"em"===n&&e.appendChild&&!p?e:e.parentNode,l&&(o=(e.ownerSVGElement||{}).parentNode),o&&o!==Nr&&o.appendChild||(o=Nr.body),(a=o._gsap)&&v&&a.width&&d&&a.time===Re.time&&!a.uncache)return Ct(h/a.width*g);if(!v||"height"!==r&&"width"!==r)(v||"%"===c)&&!ki[_i(o,"display")]&&(u.position=_i(e,"position")),o===e&&(u.position="static"),o.appendChild(Vr),s=Vr[f],o.removeChild(Vr),u.position="absolute";else{var _=e.style[r];e.style[r]=g+n,s=e[f],_?e.style[r]=_:Si(e,r)}return d&&v&&((a=Tt(o)).time=Re.time,a.width=o[f]),Ct(m?s*h/g:s&&h?g/s*h:0)},Mi=function(t,e,r,i){var n;return Ur||xi(),e in Jr&&"transform"!==e&&~(e=Jr[e]).indexOf(",")&&(e=e.split(",")[0]),Yr[e]&&"transform"!==e?(n=Fi(t,i),n="transformOrigin"!==e?n[e]:n.svg?n.origin:zi(_i(t,di))+" "+n.zOrigin+"px"):(!(n=t.style[e])||"auto"===n||i||~(n+"").indexOf("calc("))&&(n=Ii[e]&&Ii[e](t,e,r)||_i(t,e)||At(t,e)||("opacity"===e?1:0)),r&&!~(n+"").trim().indexOf(" ")?Hi(t,e,n,r)+r:n},Bi=function(t,e,r,i){if(!r||"none"===r){var n=yi(e,t,1),s=n&&_i(t,n,1);s&&s!==r?(e=n,r=s):"borderColor"===e&&(r=_i(t,"borderTopColor"))}var o,a,l,h,c,u,d,p,f,g,m,v=new wr(this._pt,t.style,e,0,1,vr),_=0,b=0;if(v.b=r,v.e=i,r+="","auto"==(i+="")&&(u=t.style[e],t.style[e]=i,i=_i(t,e)||i,u?t.style[e]=u:Si(t,e)),$e(o=[r,i]),i=o[1],l=(r=o[0]).match(tt)||[],(i.match(tt)||[]).length){for(;a=tt.exec(i);)d=a[0],f=i.substring(_,a.index),c?c=(c+1)%5:"rgba("!==f.substr(-5)&&"hsla("!==f.substr(-5)||(c=1),d!==(u=l[b++]||"")&&(h=parseFloat(u)||0,m=u.substr((h+"").length),"="===d.charAt(1)&&(d=kt(h,d)+m),p=parseFloat(d),g=d.substr((p+"").length),_=tt.lastIndex-g.length,g||(g=g||B.units[e]||m,_===i.length&&(i+=g,v.e+=g)),m!==g&&(h=Hi(t,e,u,g)||0),v._pt={_next:v._pt,p:f||1===b?f:",",s:h,c:p-h,m:c&&c<4||"zIndex"===e?Math.round:0});v.c=_-1;)r=a[n],Yr[r]&&(i=1,r="transformOrigin"===r?di:ui),Si(s,r);i&&(Si(s,ui),l&&(l.svg&&s.removeAttribute("transform"),Fi(s,1),l.uncache=1,fi(o)))}},Ii={clearProps:function(t,e,r,i,n){if("isFromStart"!==n.data){var s=t._pt=new wr(t._pt,e,r,0,0,Li);return s.u=i,s.pr=-10,s.tween=n,t._props.push(r),1}}},$i=[1,0,0,1,0,0],Ri={},Ni=function(t){return"matrix(1, 0, 0, 1, 0, 0)"===t||"none"===t||!t},Di=function(t){var e=_i(t,ui);return Ni(e)?$i:e.substr(7).match(Q).map(Ct)},Ui=function(t,e){var r,i,n,s,o=t._gsap||Tt(t),a=t.style,l=Di(t);return o.svg&&t.getAttribute("transform")?"1,0,0,1,0,0"===(l=[(n=t.transform.baseVal.consolidate().matrix).a,n.b,n.c,n.d,n.e,n.f]).join(",")?$i:l:(l!==$i||t.offsetParent||t===Dr||o.svg||(n=a.display,a.display="block",(r=t.parentNode)&&t.offsetParent||(s=1,i=t.nextElementSibling,Dr.appendChild(t)),l=Di(t),n?a.display=n:Si(t,"display"),s&&(i?r.insertBefore(t,i):r?r.appendChild(t):Dr.removeChild(t))),e&&l.length>6?[l[0],l[1],l[4],l[5],l[12],l[13]]:l)},Vi=function(t,e,r,i,n,s){var o,a,l,h=t._gsap,c=n||Ui(t,!0),u=h.xOrigin||0,d=h.yOrigin||0,p=h.xOffset||0,f=h.yOffset||0,g=c[0],m=c[1],v=c[2],_=c[3],b=c[4],y=c[5],x=e.split(" "),E=parseFloat(x[0])||0,w=parseFloat(x[1])||0;r?c!==$i&&(a=g*_-m*v)&&(l=E*(-m/a)+w*(g/a)-(g*y-m*b)/a,E=E*(_/a)+w*(-v/a)+(v*y-_*b)/a,w=l):(E=(o=Ti(t)).x+(~x[0].indexOf("%")?E/100*o.width:E),w=o.y+(~(x[1]||x[0]).indexOf("%")?w/100*o.height:w)),i||!1!==i&&h.smooth?(b=E-u,y=w-d,h.xOffset=p+(b*g+y*v)-b,h.yOffset=f+(b*m+y*_)-y):h.xOffset=h.yOffset=0,h.xOrigin=E,h.yOrigin=w,h.smooth=!!i,h.origin=e,h.originIsAbsolute=!!r,t.style[di]="0px 0px",s&&(Ci(s,h,"xOrigin",u,E),Ci(s,h,"yOrigin",d,w),Ci(s,h,"xOffset",p,h.xOffset),Ci(s,h,"yOffset",f,h.yOffset)),t.setAttribute("data-svg-origin",E+" "+w)},Fi=function(t,e){var r=t._gsap||new Ke(t);if("x"in r&&!e&&!r.uncache)return r;var i,n,s,o,a,l,h,c,u,d,p,f,g,m,v,_,b,y,x,E,w,T,A,S,C,P,k,H,M,O,L,I,$=t.style,R=r.scaleX<0,N="px",D="deg",U=getComputedStyle(t),V=_i(t,di)||"0";return i=n=s=l=h=c=u=d=p=0,o=a=1,r.svg=!(!t.getCTM||!Ai(t)),U.translate&&("none"===U.translate&&"none"===U.scale&&"none"===U.rotate||($[ui]=("none"!==U.translate?"translate3d("+(U.translate+" 0 0").split(" ").slice(0,3).join(", ")+") ":"")+("none"!==U.rotate?"rotate("+U.rotate+") ":"")+("none"!==U.scale?"scale("+U.scale.split(" ").join(",")+") ":"")+("none"!==U[ui]?U[ui]:"")),$.scale=$.rotate=$.translate="none"),m=Ui(t,r.svg),r.svg&&(r.uncache?(C=t.getBBox(),V=r.xOrigin-C.x+"px "+(r.yOrigin-C.y)+"px",S=""):S=!e&&t.getAttribute("data-svg-origin"),Vi(t,S||V,!!S||r.originIsAbsolute,!1!==r.smooth,m)),f=r.xOrigin||0,g=r.yOrigin||0,m!==$i&&(y=m[0],x=m[1],E=m[2],w=m[3],i=T=m[4],n=A=m[5],6===m.length?(o=Math.sqrt(y*y+x*x),a=Math.sqrt(w*w+E*E),l=y||x?Wr(x,y)*Xr:0,(u=E||w?Wr(E,w)*Xr+l:0)&&(a*=Math.abs(Math.cos(u*jr))),r.svg&&(i-=f-(f*y+g*E),n-=g-(f*x+g*w))):(I=m[6],O=m[7],k=m[8],H=m[9],M=m[10],L=m[11],i=m[12],n=m[13],s=m[14],h=(v=Wr(I,M))*Xr,v&&(S=T*(_=Math.cos(-v))+k*(b=Math.sin(-v)),C=A*_+H*b,P=I*_+M*b,k=T*-b+k*_,H=A*-b+H*_,M=I*-b+M*_,L=O*-b+L*_,T=S,A=C,I=P),c=(v=Wr(-E,M))*Xr,v&&(_=Math.cos(-v),L=w*(b=Math.sin(-v))+L*_,y=S=y*_-k*b,x=C=x*_-H*b,E=P=E*_-M*b),l=(v=Wr(x,y))*Xr,v&&(S=y*(_=Math.cos(v))+x*(b=Math.sin(v)),C=T*_+A*b,x=x*_-y*b,A=A*_-T*b,y=S,T=C),h&&Math.abs(h)+Math.abs(l)>359.9&&(h=l=0,c=180-c),o=Ct(Math.sqrt(y*y+x*x+E*E)),a=Ct(Math.sqrt(A*A+I*I)),v=Wr(T,A),u=Math.abs(v)>2e-4?v*Xr:0,p=L?1/(L<0?-L:L):0),r.svg&&(S=t.getAttribute("transform"),r.forceCSS=t.setAttribute("transform","")||!Ni(_i(t,ui)),S&&t.setAttribute("transform",S))),Math.abs(u)>90&&Math.abs(u)<270&&(R?(o*=-1,u+=l<=0?180:-180,l+=l<=0?180:-180):(a*=-1,u+=u<=0?180:-180)),e=e||r.uncache,r.x=i-((r.xPercent=i&&(!e&&r.xPercent||(Math.round(t.offsetWidth/2)===Math.round(-i)?-50:0)))?t.offsetWidth*r.xPercent/100:0)+N,r.y=n-((r.yPercent=n&&(!e&&r.yPercent||(Math.round(t.offsetHeight/2)===Math.round(-n)?-50:0)))?t.offsetHeight*r.yPercent/100:0)+N,r.z=s+N,r.scaleX=Ct(o),r.scaleY=Ct(a),r.rotation=Ct(l)+D,r.rotationX=Ct(h)+D,r.rotationY=Ct(c)+D,r.skewX=u+D,r.skewY=d+D,r.transformPerspective=p+N,(r.zOrigin=parseFloat(V.split(" ")[2])||!e&&r.zOrigin||0)&&($[di]=zi(V)),r.xOffset=r.yOffset=0,r.force3D=B.force3D,r.renderTransform=r.svg?Ki:Gr?qi:Yi,r.uncache=0,r},zi=function(t){return(t=t.split(" "))[0]+" "+t[1]},Gi=function(t,e,r){var i=ce(e);return Ct(parseFloat(e)+parseFloat(Hi(t,"x",r+"px",i)))+i},Yi=function(t,e){e.z="0px",e.rotationY=e.rotationX="0deg",e.force3D=0,qi(t,e)},Xi="0deg",ji="0px",Wi=") ",qi=function(t,e){var r=e||this,i=r.xPercent,n=r.yPercent,s=r.x,o=r.y,a=r.z,l=r.rotation,h=r.rotationY,c=r.rotationX,u=r.skewX,d=r.skewY,p=r.scaleX,f=r.scaleY,g=r.transformPerspective,m=r.force3D,v=r.target,_=r.zOrigin,b="",y="auto"===m&&t&&1!==t||!0===m;if(_&&(c!==Xi||h!==Xi)){var x,E=parseFloat(h)*jr,w=Math.sin(E),T=Math.cos(E);E=parseFloat(c)*jr,x=Math.cos(E),s=Gi(v,s,w*x*-_),o=Gi(v,o,-Math.sin(E)*-_),a=Gi(v,a,T*x*-_+_)}g!==ji&&(b+="perspective("+g+Wi),(i||n)&&(b+="translate("+i+"%, "+n+"%) "),(y||s!==ji||o!==ji||a!==ji)&&(b+=a!==ji||y?"translate3d("+s+", "+o+", "+a+") ":"translate("+s+", "+o+Wi),l!==Xi&&(b+="rotate("+l+Wi),h!==Xi&&(b+="rotateY("+h+Wi),c!==Xi&&(b+="rotateX("+c+Wi),u===Xi&&d===Xi||(b+="skew("+u+", "+d+Wi),1===p&&1===f||(b+="scale("+p+", "+f+Wi),v.style[ui]=b||"translate(0, 0)"},Ki=function(t,e){var r,i,n,s,o,a=e||this,l=a.xPercent,h=a.yPercent,c=a.x,u=a.y,d=a.rotation,p=a.skewX,f=a.skewY,g=a.scaleX,m=a.scaleY,v=a.target,_=a.xOrigin,b=a.yOrigin,y=a.xOffset,x=a.yOffset,E=a.forceCSS,w=parseFloat(c),T=parseFloat(u);d=parseFloat(d),p=parseFloat(p),(f=parseFloat(f))&&(p+=f=parseFloat(f),d+=f),d||p?(d*=jr,p*=jr,r=Math.cos(d)*g,i=Math.sin(d)*g,n=Math.sin(d-p)*-m,s=Math.cos(d-p)*m,p&&(f*=jr,o=Math.tan(p-f),n*=o=Math.sqrt(1+o*o),s*=o,f&&(o=Math.tan(f),r*=o=Math.sqrt(1+o*o),i*=o)),r=Ct(r),i=Ct(i),n=Ct(n),s=Ct(s)):(r=g,s=m,i=n=0),(w&&!~(c+"").indexOf("px")||T&&!~(u+"").indexOf("px"))&&(w=Hi(v,"x",c,"px"),T=Hi(v,"y",u,"px")),(_||b||y||x)&&(w=Ct(w+_-(_*r+b*n)+y),T=Ct(T+b-(_*i+b*s)+x)),(l||h)&&(o=v.getBBox(),w=Ct(w+l/100*o.width),T=Ct(T+h/100*o.height)),o="matrix("+r+","+i+","+n+","+s+","+w+","+T+")",v.setAttribute("transform",o),E&&(v.style[ui]=o)},Zi=function(t,e,r,i,n){var s,o,a=360,l=F(n),h=parseFloat(n)*(l&&~n.indexOf("rad")?Xr:1)-i,c=i+h+"deg";return l&&("short"===(s=n.split("_")[1])&&(h%=a)!=h%180&&(h+=h<0?a:-360),"cw"===s&&h<0?h=(h+36e9)%a-~~(h/a)*a:"ccw"===s&&h>0&&(h=(h-36e9)%a-~~(h/a)*a)),t._pt=o=new wr(t._pt,e,r,i,h,ti),o.e=c,o.u="deg",t._props.push(r),o},Ji=function(t,e){for(var r in e)t[r]=e[r];return t},Qi=function(t,e,r){var i,n,s,o,a,l,h,c=Ji({},r._gsap),u=r.style;for(n in c.svg?(s=r.getAttribute("transform"),r.setAttribute("transform",""),u[ui]=e,i=Fi(r,1),Si(r,ui),r.setAttribute("transform",s)):(s=getComputedStyle(r)[ui],u[ui]=e,i=Fi(r,1),u[ui]=s),Yr)(s=c[n])!==(o=i[n])&&"perspective,force3D,transformOrigin,svgOrigin".indexOf(n)<0&&(a=ce(s)!==(h=ce(o))?Hi(r,n,s,h):parseFloat(s),l=parseFloat(o),t._pt=new wr(t._pt,i,n,a,l-a,Qr),t._pt.u=h||0,t._props.push(n));Ji(i,c)};St("padding,margin,Width,Radius",(function(t,e){var r="Top",i="Right",n="Bottom",s="Left",o=(e<3?[r,i,n,s]:[r+s,r+i,n+i,n+s]).map((function(r){return e<2?t+r:"border"+r+t}));Ii[e>1?"border"+t:t]=function(t,e,r,i,n){var s,a;if(arguments.length<4)return s=o.map((function(e){return Mi(t,e,r)})),5===(a=s.join(" ")).split(s[0]).length?s[0]:a;s=(i+"").split(" "),a={},o.forEach((function(t,e){return a[t]=s[e]=s[e]||s[(e-1)/2|0]})),t.init(e,a,n)}}));var tn,en,rn={name:"css",register:xi,targetTest:function(t){return t.style&&t.nodeType},init:function(t,e,r,i,n){var s,o,a,l,h,c,u,d,p,f,g,m,v,_,b,y,x,E,w,T,A=this._props,S=t.style,C=r.vars.startAt;for(u in Ur||xi(),this.styles=this.styles||mi(t),y=this.styles.props,this.tween=r,e)if("autoRound"!==u&&(o=e[u],!_t[u]||!ir(u,e,r,i,t,n)))if(h=typeof o,c=Ii[u],"function"===h&&(h=typeof(o=o.call(r,i,t,n))),"string"===h&&~o.indexOf("random(")&&(o=xe(o)),c)c(this,t,u,o,r)&&(b=1);else if("--"===u.substr(0,2))s=(getComputedStyle(t).getPropertyValue(u)+"").trim(),o+="",Le.lastIndex=0,Le.test(s)||(d=ce(s),p=ce(o)),p?d!==p&&(s=Hi(t,u,s,p)+p):d&&(o+=d),this.add(S,"setProperty",s,o,i,n,0,0,u),A.push(u),y.push(u,0,S[u]);else if("undefined"!==h){if(C&&u in C?(s="function"==typeof C[u]?C[u].call(r,i,t,n):C[u],F(s)&&~s.indexOf("random(")&&(s=xe(s)),ce(s+"")||"auto"===s||(s+=B.units[u]||ce(Mi(t,u))||""),"="===(s+"").charAt(1)&&(s=Mi(t,u))):s=Mi(t,u),l=parseFloat(s),(f="string"===h&&"="===o.charAt(1)&&o.substr(0,2))&&(o=o.substr(2)),a=parseFloat(o),u in Jr&&("autoAlpha"===u&&(1===l&&"hidden"===Mi(t,"visibility")&&a&&(l=0),y.push("visibility",0,S.visibility),Ci(this,S,"visibility",l?"inherit":"hidden",a?"inherit":"hidden",!a)),"scale"!==u&&"transform"!==u&&~(u=Jr[u]).indexOf(",")&&(u=u.split(",")[0])),g=u in Yr)if(this.styles.save(u),m||((v=t._gsap).renderTransform&&!e.parseTransform||Fi(t,e.parseTransform),_=!1!==e.smoothOrigin&&v.smooth,(m=this._pt=new wr(this._pt,S,ui,0,1,v.renderTransform,v,0,-1)).dep=1),"scale"===u)this._pt=new wr(this._pt,v,"scaleY",v.scaleY,(f?kt(v.scaleY,f+a):a)-v.scaleY||0,Qr),this._pt.u=0,A.push("scaleY",u),u+="X";else{if("transformOrigin"===u){y.push(di,0,S[di]),E=void 0,w=void 0,T=void 0,w=(E=(x=o).split(" "))[0],T=E[1]||"50%","top"!==w&&"bottom"!==w&&"left"!==T&&"right"!==T||(x=w,w=T,T=x),E[0]=Oi[w]||w,E[1]=Oi[T]||T,o=E.join(" "),v.svg?Vi(t,o,0,_,0,this):((p=parseFloat(o.split(" ")[2])||0)!==v.zOrigin&&Ci(this,v,"zOrigin",v.zOrigin,p),Ci(this,S,u,zi(s),zi(o)));continue}if("svgOrigin"===u){Vi(t,o,1,_,0,this);continue}if(u in Ri){Zi(this,v,u,l,f?kt(l,f+o):o);continue}if("smoothOrigin"===u){Ci(this,v,"smooth",v.smooth,o);continue}if("force3D"===u){v[u]=o;continue}if("transform"===u){Qi(this,o,t);continue}}else u in S||(u=yi(u)||u);if(g||(a||0===a)&&(l||0===l)&&!Zr.test(o)&&u in S)a||(a=0),(d=(s+"").substr((l+"").length))!==(p=ce(o)||(u in B.units?B.units[u]:d))&&(l=Hi(t,u,s,p)),this._pt=new wr(this._pt,g?v:S,u,l,(f?kt(l,f+a):a)-l,g||"px"!==p&&"zIndex"!==u||!1===e.autoRound?Qr:ri),this._pt.u=p||0,d!==p&&"%"!==p&&(this._pt.b=s,this._pt.r=ei);else if(u in S)Bi.call(this,t,u,s,f?f+o:o);else if(u in t)this.add(t,u,s||t[u],f?f+o:o,i,n);else if("parseTransform"!==u){lt(u,o);continue}g||(u in S?y.push(u,0,S[u]):y.push(u,1,s||t[u])),A.push(u)}b&&Er(this)},render:function(t,e){if(e.tween._time||!zr())for(var r=e._pt;r;)r.r(t,r.d),r=r._next;else e.styles.revert()},get:Mi,aliases:Jr,getSetter:function(t,e,r){var i=Jr[e];return i&&i.indexOf(",")<0&&(e=i),e in Yr&&e!==di&&(t._gsap.x||Mi(t,"x"))?r&&Fr===r?"scale"===e?li:ai:(Fr=r||{})&&("scale"===e?hi:ci):t.style&&!Y(t.style[e])?si:~e.indexOf("-")?oi:fr(t,e)},core:{_removeProperty:Si,_getMatrix:Ui}};$r.utils.checkPrefix=yi,$r.core.getStyleSaver=mi,en=St("x,y,z,scale,scaleX,scaleY,xPercent,yPercent"+","+(tn="rotation,rotationX,rotationY,skewX,skewY")+",transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective",(function(t){Yr[t]=1})),St(tn,(function(t){B.units[t]="deg",Ri[t]=1})),Jr[en[13]]="x,y,z,scale,scaleX,scaleY,xPercent,yPercent,"+tn,St("0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY",(function(t){var e=t.split(":");Jr[e[1]]=en[e[0]]})),St("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",(function(t){B.units[t]="px"})),$r.registerPlugin(rn);var nn=$r.registerPlugin(rn)||$r;function sn(t,e){for(var r=0;ra?(n=i,i=t,o=s,s=l):r?i+=t:i=n+(t-n)/(l-o)*(s-o)};return{update:h,reset:function(){n=i=r?0:i,o=s=0},getVelocity:function(t){var e=o,a=n,c=Tn();return(t||0===t)&&t!==i&&h(t),s===o||c-o>l?0:(i+(r?a:-a))/((r?c:s)-e)*1e3}}},Dn=function(t,e){return e&&!t._gsapAllow&&t.preventDefault(),t.changedTouches?t.changedTouches[0]:t},Un=function(t){var e=Math.max.apply(Math,t),r=Math.min.apply(Math,t);return Math.abs(e)>=Math.abs(r)?e:r},Vn=function(){var t,e,r,i;(fn=on.core.globals().ScrollTrigger)&&fn.core&&(t=fn.core,e=t.bridge||{},r=t._scrollers,i=t._proxies,r.push.apply(r,En),i.push.apply(i,wn),En=r,wn=i,An=function(t,r){return e[t](r)})},Fn=function(t){return on=t||bn(),!an&&on&&"undefined"!=typeof document&&document.body&&(ln=window,hn=document,cn=hn.documentElement,un=hn.body,gn=[ln,hn,cn,un],on.utils.clamp,_n=on.core.context||function(){},pn="onpointerenter"in un?"pointer":"mouse",dn=zn.isTouch=ln.matchMedia&&ln.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in ln||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,vn=zn.eventTypes=("ontouchstart"in cn?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in cn?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout((function(){return yn=0}),500),Vn(),an=1),an};Ln.op=In,En.cache=0;var zn=function(){function t(t){this.init(t)}var e,r;return t.prototype.init=function(t){an||Fn(on)||console.warn("Please gsap.registerPlugin(Observer)"),fn||Vn();var e=t.tolerance,r=t.dragMinimum,i=t.type,n=t.target,s=t.lineHeight,o=t.debounce,a=t.preventDefault,l=t.onStop,h=t.onStopDelay,c=t.ignore,u=t.wheelSpeed,d=t.event,p=t.onDragStart,f=t.onDragEnd,g=t.onDrag,m=t.onPress,v=t.onRelease,_=t.onRight,b=t.onLeft,y=t.onUp,x=t.onDown,E=t.onChangeX,w=t.onChangeY,T=t.onChange,A=t.onToggleX,S=t.onToggleY,C=t.onHover,P=t.onHoverEnd,k=t.onMove,H=t.ignoreCheck,M=t.isNormalizer,B=t.onGestureStart,O=t.onGestureEnd,L=t.onWheel,I=t.onEnable,$=t.onDisable,R=t.onClick,N=t.scrollSpeed,D=t.capture,U=t.allowClicks,V=t.lockAxis,F=t.onLockAxis;this.target=n=$n(n)||cn,this.vars=t,c&&(c=on.utils.toArray(c)),e=e||1e-9,r=r||0,u=u||1,N=N||1,i=i||"wheel,touch,pointer",o=!1!==o,s||(s=parseFloat(ln.getComputedStyle(un).lineHeight)||22);var z,G,Y,X,j,W,q,K=this,Z=0,J=0,Q=t.passive||!a,tt=Rn(n,Ln),et=Rn(n,In),rt=tt(),it=et(),nt=~i.indexOf("touch")&&!~i.indexOf("pointer")&&"pointerdown"===vn[0],st=Cn(n),ot=n.ownerDocument||hn,at=[0,0,0],lt=[0,0,0],ht=0,ct=function(){return ht=Tn()},ut=function(t,e){return(K.event=t)&&c&&~c.indexOf(t.target)||e&&nt&&"touch"!==t.pointerType||H&&H(t,e)},dt=function(){var t=K.deltaX=Un(at),r=K.deltaY=Un(lt),i=Math.abs(t)>=e,n=Math.abs(r)>=e;T&&(i||n)&&T(K,t,r,at,lt),i&&(_&&K.deltaX>0&&_(K),b&&K.deltaX<0&&b(K),E&&E(K),A&&K.deltaX<0!=Z<0&&A(K),Z=K.deltaX,at[0]=at[1]=at[2]=0),n&&(x&&K.deltaY>0&&x(K),y&&K.deltaY<0&&y(K),w&&w(K),S&&K.deltaY<0!=J<0&&S(K),J=K.deltaY,lt[0]=lt[1]=lt[2]=0),(X||Y)&&(k&&k(K),Y&&(g(K),Y=!1),X=!1),W&&!(W=!1)&&F&&F(K),j&&(L(K),j=!1),z=0},pt=function(t,e,r){at[r]+=t,lt[r]+=e,K._vx.update(t),K._vy.update(e),o?z||(z=requestAnimationFrame(dt)):dt()},ft=function(t,e){V&&!q&&(K.axis=q=Math.abs(t)>Math.abs(e)?"x":"y",W=!0),"y"!==q&&(at[2]+=t,K._vx.update(t,!0)),"x"!==q&&(lt[2]+=e,K._vy.update(e,!0)),o?z||(z=requestAnimationFrame(dt)):dt()},gt=function(t){if(!ut(t,1)){var e=(t=Dn(t,a)).clientX,i=t.clientY,n=e-K.x,s=i-K.y,o=K.isDragging;K.x=e,K.y=i,(o||Math.abs(K.startX-e)>=r||Math.abs(K.startY-i)>=r)&&(g&&(Y=!0),o||(K.isDragging=!0),ft(n,s),o||p&&p(K))}},mt=K.onPress=function(t){ut(t,1)||t&&t.button||(K.axis=q=null,G.pause(),K.isPressed=!0,t=Dn(t),Z=J=0,K.startX=K.x=t.clientX,K.startY=K.y=t.clientY,K._vx.reset(),K._vy.reset(),Pn(M?n:ot,vn[1],gt,Q,!0),K.deltaX=K.deltaY=0,m&&m(K))},vt=K.onRelease=function(t){if(!ut(t,1)){kn(M?n:ot,vn[1],gt,!0);var e=!isNaN(K.y-K.startY),r=K.isDragging,i=r&&(Math.abs(K.x-K.startX)>3||Math.abs(K.y-K.startY)>3),s=Dn(t);!i&&e&&(K._vx.reset(),K._vy.reset(),a&&U&&on.delayedCall(.08,(function(){if(Tn()-ht>300&&!t.defaultPrevented)if(t.target.click)t.target.click();else if(ot.createEvent){var e=ot.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,ln,1,s.screenX,s.screenY,s.clientX,s.clientY,!1,!1,!1,!1,0,null),t.target.dispatchEvent(e)}}))),K.isDragging=K.isGesturing=K.isPressed=!1,l&&r&&!M&&G.restart(!0),f&&r&&f(K),v&&v(K,i)}},_t=function(t){return t.touches&&t.touches.length>1&&(K.isGesturing=!0)&&B(t,K.isDragging)},bt=function(){return(K.isGesturing=!1)||O(K)},yt=function(t){if(!ut(t)){var e=tt(),r=et();pt((e-rt)*N,(r-it)*N,1),rt=e,it=r,l&&G.restart(!0)}},xt=function(t){if(!ut(t)){t=Dn(t,a),L&&(j=!0);var e=(1===t.deltaMode?s:2===t.deltaMode?ln.innerHeight:1)*u;pt(t.deltaX*e,t.deltaY*e,0),l&&!M&&G.restart(!0)}},Et=function(t){if(!ut(t)){var e=t.clientX,r=t.clientY,i=e-K.x,n=r-K.y;K.x=e,K.y=r,X=!0,l&&G.restart(!0),(i||n)&&ft(i,n)}},wt=function(t){K.event=t,C(K)},Tt=function(t){K.event=t,P(K)},At=function(t){return ut(t)||Dn(t,a)&&R(K)};G=K._dc=on.delayedCall(h||.25,(function(){K._vx.reset(),K._vy.reset(),G.pause(),l&&l(K)})).pause(),K.deltaX=K.deltaY=0,K._vx=Nn(0,50,!0),K._vy=Nn(0,50,!0),K.scrollX=tt,K.scrollY=et,K.isDragging=K.isGesturing=K.isPressed=!1,_n(this),K.enable=function(t){return K.isEnabled||(Pn(st?ot:n,"scroll",Bn),i.indexOf("scroll")>=0&&Pn(st?ot:n,"scroll",yt,Q,D),i.indexOf("wheel")>=0&&Pn(n,"wheel",xt,Q,D),(i.indexOf("touch")>=0&&dn||i.indexOf("pointer")>=0)&&(Pn(n,vn[0],mt,Q,D),Pn(ot,vn[2],vt),Pn(ot,vn[3],vt),U&&Pn(n,"click",ct,!0,!0),R&&Pn(n,"click",At),B&&Pn(ot,"gesturestart",_t),O&&Pn(ot,"gestureend",bt),C&&Pn(n,pn+"enter",wt),P&&Pn(n,pn+"leave",Tt),k&&Pn(n,pn+"move",Et)),K.isEnabled=!0,t&&t.type&&mt(t),I&&I(K)),K},K.disable=function(){K.isEnabled&&(xn.filter((function(t){return t!==K&&Cn(t.target)})).length||kn(st?ot:n,"scroll",Bn),K.isPressed&&(K._vx.reset(),K._vy.reset(),kn(M?n:ot,vn[1],gt,!0)),kn(st?ot:n,"scroll",yt,D),kn(n,"wheel",xt,D),kn(n,vn[0],mt,D),kn(ot,vn[2],vt),kn(ot,vn[3],vt),kn(n,"click",ct,!0),kn(n,"click",At),kn(ot,"gesturestart",_t),kn(ot,"gestureend",bt),kn(n,pn+"enter",wt),kn(n,pn+"leave",Tt),kn(n,pn+"move",Et),K.isEnabled=K.isPressed=K.isDragging=!1,$&&$(K))},K.kill=K.revert=function(){K.disable();var t=xn.indexOf(K);t>=0&&xn.splice(t,1),mn===K&&(mn=0)},xn.push(K),M&&Cn(n)&&(mn=K),K.enable(d)},e=t,(r=[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}])&&sn(e.prototype,r),t}();zn.version="3.12.5",zn.create=function(t){return new zn(t)},zn.register=Fn,zn.getAll=function(){return xn.slice()},zn.getById=function(t){return xn.filter((function(e){return e.vars.id===t}))[0]},bn()&&on.registerPlugin(zn);var Gn,Yn,Xn,jn,Wn,qn,Kn,Zn,Jn,Qn,ts,es,rs,is,ns,ss,os,as,ls,hs,cs,us,ds,ps,fs,gs,ms,vs,_s,bs,ys,xs,Es,ws,Ts,As,Ss,Cs,Ps=1,ks=Date.now,Hs=ks(),Ms=0,Bs=0,Os=function(t,e,r){var i=js(t)&&("clamp("===t.substr(0,6)||t.indexOf("max")>-1);return r["_"+e+"Clamp"]=i,i?t.substr(6,t.length-7):t},Ls=function(t,e){return!e||js(t)&&"clamp("===t.substr(0,6)?t:"clamp("+t+")"},Is=function t(){return Bs&&requestAnimationFrame(t)},$s=function(){return is=1},Rs=function(){return is=0},Ns=function(t){return t},Ds=function(t){return Math.round(1e5*t)/1e5||0},Us=function(){return"undefined"!=typeof window},Vs=function(){return Gn||Us()&&(Gn=window.gsap)&&Gn.registerPlugin&&Gn},Fs=function(t){return!!~Kn.indexOf(t)},zs=function(t){return("Height"===t?ys:Xn["inner"+t])||Wn["client"+t]||qn["client"+t]},Gs=function(t){return Sn(t,"getBoundingClientRect")||(Fs(t)?function(){return na.width=Xn.innerWidth,na.height=ys,na}:function(){return vo(t)})},Ys=function(t,e){var r=e.s,i=e.d2,n=e.d,s=e.a;return Math.max(0,(r="scroll"+i)&&(s=Sn(t,r))?s()-Gs(t)()[n]:Fs(t)?(Wn[r]||qn[r])-zs(i):t[r]-t["offset"+i])},Xs=function(t,e){for(var r=0;r0){for(t-=n,s=0;s=t)return r[s];return r[s-1]}for(s=r.length,t+=n;s--;)if(r[s]<=t)return r[s];return r[0]}:function(r,i,n){void 0===n&&(n=.001);var s=e(r);return!i||Math.abs(s-r)r&&(i*=e/100),t=t.substr(0,r-1)),t=i+(t in Co?Co[t]*e:~t.indexOf("%")?parseFloat(t)*e/100:parseFloat(t)||0)}return t},ko=function(t,e,r,i,n,s,o,a){var l=n.startColor,h=n.endColor,c=n.fontSize,u=n.indent,d=n.fontWeight,p=jn.createElement("div"),f=Fs(r)||"fixed"===Sn(r,"pinType"),g=-1!==t.indexOf("scroller"),m=f?qn:r,v=-1!==t.indexOf("start"),_=v?l:h,b="border-color:"+_+";font-size:"+c+";color:"+_+";font-weight:"+d+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+((g||a)&&f?"fixed;":"absolute;"),(g||a||!f)&&(b+=(i===In?eo:ro)+":"+(s+parseFloat(u))+"px;"),o&&(b+="box-sizing:border-box;text-align:left;width:"+o.offsetWidth+"px;"),p._isStart=v,p.setAttribute("class","gsap-marker-"+t+(e?" marker-"+e:"")),p.style.cssText=b,p.innerText=e||0===e?t+"-"+e:t,m.children[0]?m.insertBefore(p,m.children[0]):m.appendChild(p),p._offset=p["offset"+i.op.d2],Ho(p,0,i,v),p},Ho=function(t,e,r,i){var n={display:"block"},s=r[i?"os2":"p2"],o=r[i?"p2":"os2"];t._isFlipped=i,n[r.a+"Percent"]=i?-100:0,n[r.a]=i?"1px":0,n["border"+s+uo]=1,n["border"+o+uo]=0,n[r.p]=e+"px",Gn.set(t,n)},Mo=[],Bo={},Oo=function(){return ks()-Ms>34&&(Ts||(Ts=requestAnimationFrame(Zo)))},Lo=function(){(!ds||!ds.isPressed||ds.startX>qn.clientWidth)&&(En.cache++,ds?Ts||(Ts=requestAnimationFrame(Zo)):Zo(),Ms||Uo("scrollStart"),Ms=ks())},Io=function(){gs=Xn.innerWidth,fs=Xn.innerHeight},$o=function(){En.cache++,!rs&&!us&&!jn.fullscreenElement&&!jn.webkitFullscreenElement&&(!ps||gs!==Xn.innerWidth||Math.abs(Xn.innerHeight-fs)>.25*Xn.innerHeight)&&Zn.restart(!0)},Ro={},No=[],Do=function t(){return wo(ua,"scrollEnd",t)||Wo(!0)},Uo=function(t){return Ro[t]&&Ro[t].map((function(t){return t()}))||No},Vo=[],Fo=function(t){for(var e=0;ee,i=t._startClamp&&t.start>=e;(r||i)&&t.setPositions(i?e-1:t.start,r?Math.max(i?e:t.start+1,e):t.end,!0)})),jo(!1),Es=0,r.forEach((function(t){return t&&t.render&&t.render(-1)})),En.forEach((function(t){Ws(t)&&(t.smooth&&requestAnimationFrame((function(){return t.target.style.scrollBehavior="smooth"})),t.rec&&t(t.rec))})),Go(_s,1),Zn.pause(),Yo++,As=2,Zo(2),Mo.forEach((function(t){return Ws(t.vars.onRefresh)&&t.vars.onRefresh(t)})),As=ua.isRefreshing=!1,Uo("refresh")}else Eo(ua,"scrollEnd",Do)},qo=0,Ko=1,Zo=function(t){if(2===t||!As&&!xs){ua.isUpdating=!0,Cs&&Cs.update(0);var e=Mo.length,r=ks(),i=r-Hs>=50,n=e&&Mo[0].scroll();if(Ko=qo>n?-1:1,As||(qo=n),i&&(Ms&&!is&&r-Ms>200&&(Ms=0,Uo("scrollEnd")),ts=Hs,Hs=r),Ko<0){for(ss=e;ss-- >0;)Mo[ss]&&Mo[ss].update(0,i);Ko=1}else for(ss=0;ss20),r-=r-y}if(p&&(a[p]=t||-.001,t<0&&(t=0)),s){var w=t+r,T=s._isStart;f="scroll"+i.d2,Ho(s,w,i,T&&w>20||!T&&(c?Math.max(qn[f],Wn[f]):s.parentNode[f])<=w+1),c&&(l=vo(o),c&&(s.style[i.op.p]=l[i.op.p]-i.op.m-s._offset+fo))}return d&&m&&(f=vo(m),d.seek(u),g=vo(m),d._caScrollDist=f[i.p]-g[i.p],t=t/d._caScrollDist*u),d&&d.seek(v),d?t:Math.round(t)},oa=/(webkit|moz|length|cssText|inset)/i,aa=function(t,e,r,i){if(t.parentNode!==e){var n,s,o=t.style;if(e===qn){for(n in t._stOrig=o.cssText,s=go(t))+n||oa.test(n)||!s[n]||"string"!=typeof o[n]||"0"===n||(o[n]=s[n]);o.top=r,o.left=i}else o.cssText=t._stOrig;Gn.core.getCache(t).uncache=1,e.appendChild(t)}},la=function(t,e,r){var i=e,n=i;return function(e){var s=Math.round(t());return s!==i&&s!==n&&Math.abs(s-i)>3&&Math.abs(s-n)>3&&(e=s,r&&r()),n=i,i=e,e}},ha=function(t,e,r){var i={};i[e.p]="+="+r,Gn.set(t,i)},ca=function(t,e){var r=Rn(t,e),i="_scroll"+e.p2,n=function e(n,s,o,a,l){var h=e.tween,c=s.onComplete,u={};o=o||r();var d=la(r,o,(function(){h.kill(),e.tween=0}));return l=a&&l||0,a=a||n-o,h&&h.kill(),s[i]=n,s.inherit=!1,s.modifiers=u,u[i]=function(){return d(o+a*h.ratio+l*h.ratio*h.ratio)},s.onUpdate=function(){En.cache++,e.tween&&Zo()},s.onComplete=function(){e.tween=0,c&&c.call(h)},h=e.tween=Gn.to(t,s)};return t[i]=r,r.wheelHandler=function(){return n.tween&&n.tween.kill()&&(n.tween=0)},Eo(t,"wheel",r.wheelHandler),ua.isTouch&&Eo(t,"touchmove",r.wheelHandler),n},ua=function(){function t(e,r){Yn||t.register(Gn)||console.warn("Please gsap.registerPlugin(ScrollTrigger)"),vs(this),this.init(e,r)}return t.prototype.init=function(e,r){if(this.progress=this.start=0,this.vars&&this.kill(!0,!0),Bs){var i,n,s,o,a,l,h,c,u,d,p,f,g,m,v,_,b,y,x,E,w,T,A,S,C,P,k,H,M,B,O,L,I,$,R,N,D,U,V,F,z,G,Y=e=mo(js(e)||qs(e)||e.nodeType?{trigger:e}:e,So),X=Y.onUpdate,j=Y.toggleClass,W=Y.id,q=Y.onToggle,K=Y.onRefresh,Z=Y.scrub,J=Y.trigger,Q=Y.pin,tt=Y.pinSpacing,et=Y.invalidateOnRefresh,rt=Y.anticipatePin,it=Y.onScrubComplete,nt=Y.onSnapComplete,st=Y.once,ot=Y.snap,at=Y.pinReparent,lt=Y.pinSpacer,ht=Y.containerAnimation,ct=Y.fastScrollEnd,ut=Y.preventOverlaps,dt=e.horizontal||e.containerAnimation&&!1!==e.horizontal?Ln:In,pt=!Z&&0!==Z,ft=$n(e.scroller||Xn),gt=Gn.core.getCache(ft),mt=Fs(ft),vt="fixed"===("pinType"in e?e.pinType:Sn(ft,"pinType")||mt&&"fixed"),_t=[e.onEnter,e.onLeave,e.onEnterBack,e.onLeaveBack],bt=pt&&e.toggleActions.split(" "),yt="markers"in e?e.markers:So.markers,xt=mt?0:parseFloat(go(ft)["border"+dt.p2+uo])||0,Et=this,wt=e.onRefreshInit&&function(){return e.onRefreshInit(Et)},Tt=function(t,e,r){var i=r.d,n=r.d2,s=r.a;return(s=Sn(t,"getBoundingClientRect"))?function(){return s()[i]}:function(){return(e?zs(n):t["client"+n])||0}}(ft,mt,dt),At=function(t,e){return!e||~wn.indexOf(t)?Gs(t):function(){return na}}(ft,mt),St=0,Ct=0,Pt=0,kt=Rn(ft,dt);if(Et._startClamp=Et._endClamp=!1,Et._dir=dt,rt*=45,Et.scroller=ft,Et.scroll=ht?ht.time.bind(ht):kt,o=kt(),Et.vars=e,r=r||e.animation,"refreshPriority"in e&&(hs=1,-9999===e.refreshPriority&&(Cs=Et)),gt.tweenScroll=gt.tweenScroll||{top:ca(ft,In),left:ca(ft,Ln)},Et.tweenTo=i=gt.tweenScroll[dt.p],Et.scrubDuration=function(t){(I=qs(t)&&t)?L?L.duration(t):L=Gn.to(r,{ease:"expo",totalProgress:"+=0",inherit:!1,duration:I,paused:!0,onComplete:function(){return it&&it(Et)}}):(L&&L.progress(1).kill(),L=0)},r&&(r.vars.lazy=!1,r._initted&&!Et.isReverted||!1!==r.vars.immediateRender&&!1!==e.immediateRender&&r.duration()&&r.render(0,!0,!0),Et.animation=r.pause(),r.scrollTrigger=Et,Et.scrubDuration(Z),B=0,W||(W=r.vars.id)),ot&&(Ks(ot)&&!ot.push||(ot={snapTo:ot}),"scrollBehavior"in qn.style&&Gn.set(mt?[qn,Wn]:ft,{scrollBehavior:"auto"}),En.forEach((function(t){return Ws(t)&&t.target===(mt?jn.scrollingElement||Wn:ft)&&(t.smooth=!1)})),s=Ws(ot.snapTo)?ot.snapTo:"labels"===ot.snapTo?function(t){return function(e){return Gn.utils.snap(bo(t),e)}}(r):"labelsDirectional"===ot.snapTo?(F=r,function(t,e){return yo(bo(F))(t,e.direction)}):!1!==ot.directional?function(t,e){return yo(ot.snapTo)(t,ks()-Ct<500?0:e.direction)}:Gn.utils.snap(ot.snapTo),$=ot.duration||{min:.1,max:2},$=Ks($)?Qn($.min,$.max):Qn($,$),R=Gn.delayedCall(ot.delay||I/2||.1,(function(){var t=kt(),e=ks()-Ct<500,n=i.tween;if(!(e||Math.abs(Et.getVelocity())<10)||n||is||St===t)Et.isActive&&St!==t&&R.restart(!0);else{var o,a,c=(t-l)/m,u=r&&!pt?r.totalProgress():c,d=e?0:(u-O)/(ks()-ts)*1e3||0,p=Gn.utils.clamp(-c,1-c,Qs(d/2)*d/.185),f=c+(!1===ot.inertia?0:p),g=ot,v=g.onStart,_=g.onInterrupt,b=g.onComplete;if(o=s(f,Et),qs(o)||(o=f),a=Math.round(l+o*m),t<=h&&t>=l&&a!==t){if(n&&!n._initted&&n.data<=Qs(a-t))return;!1===ot.inertia&&(p=o-c),i(a,{duration:$(Qs(.185*Math.max(Qs(f-u),Qs(o-u))/d/.05||0)),ease:ot.ease||"power3",data:Qs(a-t),onInterrupt:function(){return R.restart(!0)&&_&&_(Et)},onComplete:function(){Et.update(),St=kt(),r&&(L?L.resetTo("totalProgress",o,r._tTime/r._tDur):r.progress(o)),B=O=r&&!pt?r.totalProgress():Et.progress,nt&&nt(Et),b&&b(Et)}},t,p*m,a-t-p*m),v&&v(Et,i.tween)}}})).pause()),W&&(Bo[W]=Et),(V=(J=Et.trigger=$n(J||!0!==Q&&Q))&&J._gsap&&J._gsap.stRevert)&&(V=V(Et)),Q=!0===Q?J:$n(Q),js(j)&&(j={targets:J,className:j}),Q&&(!1===tt||tt===co||(tt=!(!tt&&Q.parentNode&&Q.parentNode.style&&"flex"===go(Q.parentNode).display)&&ho),Et.pin=Q,(n=Gn.core.getCache(Q)).spacer?v=n.pinState:(lt&&((lt=$n(lt))&&!lt.nodeType&&(lt=lt.current||lt.nativeElement),n.spacerIsNative=!!lt,lt&&(n.spacerState=ia(lt))),n.spacer=y=lt||jn.createElement("div"),y.classList.add("pin-spacer"),W&&y.classList.add("pin-spacer-"+W),n.pinState=v=ia(Q)),!1!==e.force3D&&Gn.set(Q,{force3D:!0}),Et.spacer=y=n.spacer,M=go(Q),S=M[tt+dt.os2],E=Gn.getProperty(Q),w=Gn.quickSetter(Q,dt.a,fo),ta(Q,y,M),b=ia(Q)),yt){f=Ks(yt)?mo(yt,Ao):Ao,d=ko("scroller-start",W,ft,dt,f,0),p=ko("scroller-end",W,ft,dt,f,0,d),x=d["offset"+dt.op.d2];var Ht=$n(Sn(ft,"content")||ft);c=this.markerStart=ko("start",W,Ht,dt,f,x,0,ht),u=this.markerEnd=ko("end",W,Ht,dt,f,x,0,ht),ht&&(U=Gn.quickSetter([c,u],dt.a,fo)),vt||wn.length&&!0===Sn(ft,"fixedMarkers")||(G=go(z=mt?qn:ft).position,z.style.position="absolute"===G||"fixed"===G?G:"relative",Gn.set([d,p],{force3D:!0}),P=Gn.quickSetter(d,dt.a,fo),H=Gn.quickSetter(p,dt.a,fo))}if(ht){var Mt=ht.vars.onUpdate,Bt=ht.vars.onUpdateParams;ht.eventCallback("onUpdate",(function(){Et.update(0,0,1),Mt&&Mt.apply(ht,Bt||[])}))}if(Et.previous=function(){return Mo[Mo.indexOf(Et)-1]},Et.next=function(){return Mo[Mo.indexOf(Et)+1]},Et.revert=function(t,e){if(!e)return Et.kill(!0);var i=!1!==t||!Et.enabled,n=rs;i!==Et.isReverted&&(i&&(N=Math.max(kt(),Et.scroll.rec||0),Pt=Et.progress,D=r&&r.progress()),c&&[c,u,d,p].forEach((function(t){return t.style.display=i?"none":"block"})),i&&(rs=Et,Et.update(i)),!Q||at&&Et.isActive||(i?function(t,e,r){ra(r);var i=t._gsap;if(i.spacerIsNative)ra(i.spacerState);else if(t._gsap.swappedIn){var n=e.parentNode;n&&(n.insertBefore(t,e),n.removeChild(e))}t._gsap.swappedIn=!1}(Q,y,v):ta(Q,y,go(Q),C)),i||Et.update(i),rs=n,Et.isReverted=i)},Et.refresh=function(n,s,f,x){if(!rs&&Et.enabled||s)if(Q&&n&&Ms)Eo(t,"scrollEnd",Do);else{!As&&wt&&wt(Et),rs=Et,i.tween&&!f&&(i.tween.kill(),i.tween=0),L&&L.pause(),et&&r&&r.revert({kill:!1}).invalidate(),Et.isReverted||Et.revert(!0,!0),Et._subPinOffset=!1;var w,S,P,H,M,B,O,I,$,U,V,F,z,G=Tt(),Y=At(),X=ht?ht.duration():Ys(ft,dt),j=m<=.01,W=0,q=x||0,Z=Ks(f)?f.end:e.end,rt=e.endTrigger||J,it=Ks(f)?f.start:e.start||(0!==e.start&&J?Q?"0 0":"0 100%":0),nt=Et.pinnedContainer=e.pinnedContainer&&$n(e.pinnedContainer,Et),st=J&&Math.max(0,Mo.indexOf(Et))||0,ot=st;for(yt&&Ks(f)&&(F=Gn.getProperty(d,dt.p),z=Gn.getProperty(p,dt.p));ot--;)(B=Mo[ot]).end||B.refresh(0,1)||(rs=Et),!(O=B.pin)||O!==J&&O!==Q&&O!==nt||B.isReverted||(U||(U=[]),U.unshift(B),B.revert(!0,!0)),B!==Mo[ot]&&(st--,ot--);for(Ws(it)&&(it=it(Et)),it=Os(it,"start",Et),l=sa(it,J,G,dt,kt(),c,d,Et,Y,xt,vt,X,ht,Et._startClamp&&"_startClamp")||(Q?-.001:0),Ws(Z)&&(Z=Z(Et)),js(Z)&&!Z.indexOf("+=")&&(~Z.indexOf(" ")?Z=(js(it)?it.split(" ")[0]:"")+Z:(W=Po(Z.substr(2),G),Z=js(it)?it:(ht?Gn.utils.mapRange(0,ht.duration(),ht.scrollTrigger.start,ht.scrollTrigger.end,l):l)+W,rt=J)),Z=Os(Z,"end",Et),h=Math.max(l,sa(Z||(rt?"100% 0":X),rt,G,dt,kt()+W,u,p,Et,Y,xt,vt,X,ht,Et._endClamp&&"_endClamp"))||-.001,W=0,ot=st;ot--;)(O=(B=Mo[ot]).pin)&&B.start-B._pinPush<=l&&!ht&&B.end>0&&(w=B.end-(Et._startClamp?Math.max(0,B.start):B.start),(O===J&&B.start-B._pinPush=Ys(ft,dt)){if(J&&kt()&&!ht)for(S=J.parentNode;S&&S!==qn;)S._pinOffset&&(l-=S._pinOffset,h-=S._pinOffset),S=S.parentNode}else w=go(Q),H=dt===In,P=kt(),T=parseFloat(E(dt.a))+q,!X&&h>1&&(V={style:V=(mt?jn.scrollingElement||Wn:ft).style,value:V["overflow"+dt.a.toUpperCase()]},mt&&"scroll"!==go(qn)["overflow"+dt.a.toUpperCase()]&&(V.style["overflow"+dt.a.toUpperCase()]="scroll")),ta(Q,y,w),b=ia(Q),S=vo(Q,!0),I=vt&&Rn(ft,H?Ln:In)(),tt?((C=[tt+dt.os2,m+q+fo]).t=y,(ot=tt===ho?_o(Q,dt)+m+q:0)&&(C.push(dt.d,ot+fo),"auto"!==y.style.flexBasis&&(y.style.flexBasis=ot+fo)),ra(C),nt&&Mo.forEach((function(t){t.pin===nt&&!1!==t.vars.pinSpacing&&(t._subPinOffset=!0)})),vt&&kt(N)):(ot=_o(Q,dt))&&"auto"!==y.style.flexBasis&&(y.style.flexBasis=ot+fo),vt&&((M={top:S.top+(H?P-l:I)+fo,left:S.left+(H?I:P-l)+fo,boxSizing:"border-box",position:"fixed"})[io]=M["max"+uo]=Math.ceil(S.width)+fo,M[no]=M["max"+po]=Math.ceil(S.height)+fo,M[co]=M[co+ao]=M[co+so]=M[co+lo]=M[co+oo]="0",M[ho]=w[ho],M[ho+ao]=w[ho+ao],M[ho+so]=w[ho+so],M[ho+lo]=w[ho+lo],M[ho+oo]=w[ho+oo],_=function(t,e,r){for(var i,n=[],s=t.length,o=r?8:0;o1,vt&&k&&_.splice(_.length-2,2),r.render(0,!0,!0),$||r.invalidate(!0),r.parent||r.totalTime(r.totalTime()),cs(0)):A=m,V&&(V.value?V.style["overflow"+dt.a.toUpperCase()]=V.value:V.style.removeProperty("overflow-"+dt.a));U&&U.forEach((function(t){return t.revert(!1,!0)})),Et.start=l,Et.end=h,o=a=As?N:kt(),ht||As||(o0?Mo.slice(0,e).reverse():Mo.slice(e+1);return(js(t)?r.filter((function(e){return e.vars.preventOverlaps===t})):r).filter((function(t){return Et.direction>0?t.end<=l:t.start>=h}))},Et.update=function(t,e,n){if(!ht||n||t){var s,c,u,p,f,g,v,x=!0===As?N:Et.scroll(),E=t?0:(x-l)/m,C=E<0?0:E>1?1:E||0,M=Et.progress;if(e&&(a=o,o=ht?kt():x,ot&&(O=B,B=r&&!pt?r.totalProgress():C)),rt&&Q&&!rs&&!Ps&&Ms&&(!C&&lx+(x-a)/(ks()-ts)*rt&&(C=.9999)),C!==M&&Et.enabled){if(p=(f=(s=Et.isActive=!!C&&C<1)!=(!!M&&M<1))||!!C!=!!M,Et.direction=C>M?1:-1,Et.progress=C,p&&!rs&&(c=C&&!M?0:1===C?1:1===M?2:3,pt&&(u=!f&&"none"!==bt[c+1]&&bt[c+1]||bt[c],v=r&&("complete"===u||"reset"===u||u in r))),ut&&(f||v)&&(v||Z||!r)&&(Ws(ut)?ut(Et):Et.getTrailing(ut).forEach((function(t){return t.endAnimation()}))),pt||(!L||rs||Ps?r&&r.totalProgress(C,!(!rs||!Ct&&!t)):(L._dp._time-L._start!==L._time&&L.render(L._dp._time-L._start),L.resetTo?L.resetTo("totalProgress",C,r._tTime/r._tDur):(L.vars.totalProgress=C,L.invalidate().restart()))),Q)if(t&&tt&&(y.style[tt+dt.os2]=S),vt){if(p){if(g=!t&&C>M&&h+1>x&&x+1>=Ys(ft,dt),at)if(t||!s&&!g)aa(Q,y);else{var I=vo(Q,!0),$=x-l;aa(Q,qn,I.top+(dt===In?$:0)+fo,I.left+(dt===In?0:$)+fo)}ra(s||g?_:b),k&&C<1&&s||w(T+(1!==C||g?0:A))}}else w(Ds(T+A*C));ot&&!i.tween&&!rs&&!Ps&&R.restart(!0),j&&(f||st&&C&&(C<1||!ws))&&Jn(j.targets).forEach((function(t){return t.classList[s||st?"add":"remove"](j.className)})),X&&!pt&&!t&&X(Et),p&&!rs?(pt&&(v&&("complete"===u?r.pause().totalProgress(1):"reset"===u?r.restart(!0).pause():"restart"===u?r.restart(!0):r[u]()),X&&X(Et)),!f&&ws||(q&&f&&Js(Et,q),_t[c]&&Js(Et,_t[c]),st&&(1===C?Et.kill(!1,1):_t[c]=0),f||_t[c=1===C?1:3]&&Js(Et,_t[c])),ct&&!s&&Math.abs(Et.getVelocity())>(qs(ct)?ct:2500)&&(Zs(Et.callbackAnimation),L?L.progress(1):Zs(r,"reverse"===u?1:!C,1))):pt&&X&&!rs&&X(Et)}if(H){var D=ht?x/ht.duration()*(ht._caScrollDist||0):x;P(D+(d._isFlipped?1:0)),H(D)}U&&U(-x/ht.duration()*(ht._caScrollDist||0))}},Et.enable=function(e,r){Et.enabled||(Et.enabled=!0,Eo(ft,"resize",$o),mt||Eo(ft,"scroll",Lo),wt&&Eo(t,"refreshInit",wt),!1!==e&&(Et.progress=Pt=0,o=a=St=kt()),!1!==r&&Et.refresh())},Et.getTween=function(t){return t&&i?i.tween:L},Et.setPositions=function(t,e,r,i){if(ht){var n=ht.scrollTrigger,s=ht.duration(),o=n.end-n.start;t=n.start+o*t/s,e=n.start+o*e/s}Et.refresh(!1,!1,{start:Ls(t,r&&!!Et._startClamp),end:Ls(e,r&&!!Et._endClamp)},i),Et.update()},Et.adjustPinSpacing=function(t){if(C&&t){var e=C.indexOf(dt.d)+1;C[e]=parseFloat(C[e])+t+fo,C[1]=parseFloat(C[1])+t+fo,ra(C)}},Et.disable=function(e,r){if(Et.enabled&&(!1!==e&&Et.revert(!0,!0),Et.enabled=Et.isActive=!1,r||L&&L.pause(),N=0,n&&(n.uncache=1),wt&&wo(t,"refreshInit",wt),R&&(R.pause(),i.tween&&i.tween.kill()&&(i.tween=0)),!mt)){for(var s=Mo.length;s--;)if(Mo[s].scroller===ft&&Mo[s]!==Et)return;wo(ft,"resize",$o),mt||wo(ft,"scroll",Lo)}},Et.kill=function(t,i){Et.disable(t,i),L&&!i&&L.kill(),W&&delete Bo[W];var s=Mo.indexOf(Et);s>=0&&Mo.splice(s,1),s===ss&&Ko>0&&ss--,s=0,Mo.forEach((function(t){return t.scroller===Et.scroller&&(s=1)})),s||As||(Et.scroll.rec=0),r&&(r.scrollTrigger=null,t&&r.revert({kill:!1}),i||r.kill()),c&&[c,u,d,p].forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),Cs===Et&&(Cs=0),Q&&(n&&(n.uncache=1),s=0,Mo.forEach((function(t){return t.pin===Q&&s++})),s||(n.spacer=0)),e.onKill&&e.onKill(Et)},Mo.push(Et),Et.enable(!1,!1),V&&V(Et),r&&r.add&&!m){var Ot=Et.update;Et.update=function(){Et.update=Ot,l||h||Et.refresh()},Gn.delayedCall(.01,Et.update),m=.01,l=h=0}else Et.refresh();Q&&function(){if(Ss!==Yo){var t=Ss=Yo;requestAnimationFrame((function(){return t===Yo&&Wo(!0)}))}}()}else this.update=this.refresh=this.kill=Ns},t.register=function(e){return Yn||(Gn=e||Vs(),Us()&&window.document&&t.enable(),Yn=Bs),Yn},t.defaults=function(t){if(t)for(var e in t)So[e]=t[e];return So},t.disable=function(t,e){Bs=0,Mo.forEach((function(r){return r[e?"kill":"disable"](t)})),wo(Xn,"wheel",Lo),wo(jn,"scroll",Lo),clearInterval(es),wo(jn,"touchcancel",Ns),wo(qn,"touchstart",Ns),xo(wo,jn,"pointerdown,touchstart,mousedown",$s),xo(wo,jn,"pointerup,touchend,mouseup",Rs),Zn.kill(),Xs(wo);for(var r=0;r0&&i.left+n0&&i.top+n=0&&Vo.splice(e,5),Vo.push(t,t.style.cssText,t.getBBox&&t.getAttribute("transform"),Gn.core.getCache(t),vs())}})):Vo},ua.revert=function(t,e){return zo(!t,e)},ua.create=function(t,e){return new ua(t,e)},ua.refresh=function(t){return t?$o():(Yn||ua.register())&&Wo(!0)},ua.update=function(t){return++En.cache&&Zo(!0===t?2:0)},ua.clearScrollMemory=Go,ua.maxScroll=function(t,e){return Ys(t,e?Ln:In)},ua.getScrollFunc=function(t,e){return Rn($n(t),e?Ln:In)},ua.getById=function(t){return Bo[t]},ua.getAll=function(){return Mo.filter((function(t){return"ScrollSmoother"!==t.vars.id}))},ua.isScrolling=function(){return!!Ms},ua.snapDirectional=yo,ua.addEventListener=function(t,e){var r=Ro[t]||(Ro[t]=[]);~r.indexOf(e)||r.push(e)},ua.removeEventListener=function(t,e){var r=Ro[t],i=r&&r.indexOf(e);i>=0&&r.splice(i,1)},ua.batch=function(t,e){var r,i=[],n={},s=e.interval||.016,o=e.batchMax||1e9,a=function(t,e){var r=[],i=[],n=Gn.delayedCall(s,(function(){e(r,i),r=[],i=[]})).pause();return function(t){r.length||n.restart(!0),r.push(t.trigger),i.push(t),o<=r.length&&n.progress(1)}};for(r in e)n[r]="on"===r.substr(0,2)&&Ws(e[r])&&"onRefreshInit"!==r?a(0,e[r]):e[r];return Ws(o)&&(o=o(),Eo(ua,"refresh",(function(){return o=e.batchMax()}))),Jn(t).forEach((function(t){var e={};for(r in n)e[r]=n[r];e.trigger=t,i.push(ua.create(e))})),i};var da,pa=function(t,e,r,i){return e>i?t(i):e<0&&t(0),r>i?(i-e)/(r-e):r<0?e/(e-r):1},fa=function t(e,r){!0===r?e.style.removeProperty("touch-action"):e.style.touchAction=!0===r?"auto":r?"pan-"+r+(zn.isTouch?" pinch-zoom":""):"none",e===Wn&&t(qn,r)},ga={auto:1,scroll:1},ma=function(t){var e,r=t.event,i=t.target,n=t.axis,s=(r.changedTouches?r.changedTouches[0]:r).target,o=s._gsap||Gn.core.getCache(s),a=ks();if(!o._isScrollT||a-o._isScrollT>2e3){for(;s&&s!==qn&&(s.scrollHeight<=s.clientHeight&&s.scrollWidth<=s.clientWidth||!ga[(e=go(s)).overflowY]&&!ga[e.overflowX]);)s=s.parentNode;o._isScroll=s&&s!==i&&!Fs(s)&&(ga[(e=go(s)).overflowY]||ga[e.overflowX]),o._isScrollT=a}(o._isScroll||"x"===n)&&(r.stopPropagation(),r._gsapAllow=!0)},va=function(t,e,r,i){return zn.create({target:t,capture:!0,debounce:!1,lockAxis:!0,type:e,onWheel:i=i&&ma,onPress:i,onDrag:i,onScroll:i,onEnable:function(){return r&&Eo(jn,zn.eventTypes[0],ba,!1,!0)},onDisable:function(){return wo(jn,zn.eventTypes[0],ba,!0)}})},_a=/(input|label|select|textarea)/i,ba=function(t){var e=_a.test(t.target.tagName);(e||da)&&(t._gsapAllow=!0,da=e)};ua.sort=function(t){return Mo.sort(t||function(t,e){return-1e6*(t.vars.refreshPriority||0)+t.start-(e.start+-1e6*(e.vars.refreshPriority||0))})},ua.observe=function(t){return new zn(t)},ua.normalizeScroll=function(t){if(void 0===t)return ds;if(!0===t&&ds)return ds.enable();if(!1===t)return ds&&ds.kill(),void(ds=t);var e=t instanceof zn?t:function(t){Ks(t)||(t={}),t.preventDefault=t.isNormalizer=t.allowClicks=!0,t.type||(t.type="wheel,touch"),t.debounce=!!t.debounce,t.id=t.id||"normalizer";var e,r,i,n,s,o,a,l,h=t,c=h.normalizeScrollX,u=h.momentum,d=h.allowNestedScroll,p=h.onRelease,f=$n(t.target)||Wn,g=Gn.core.globals().ScrollSmoother,m=g&&g.get(),v=ms&&(t.content&&$n(t.content)||m&&!1!==t.content&&!m.smooth()&&m.content()),_=Rn(f,In),b=Rn(f,Ln),y=1,x=(zn.isTouch&&Xn.visualViewport?Xn.visualViewport.scale*Xn.visualViewport.width:Xn.outerWidth)/Xn.innerWidth,E=0,w=Ws(u)?function(){return u(e)}:function(){return u||2.8},T=va(f,t.type,!0,d),A=function(){return n=!1},S=Ns,C=Ns,P=function(){r=Ys(f,In),C=Qn(ms?1:0,r),c&&(S=Qn(0,Ys(f,Ln))),i=Yo},k=function(){v._gsap.y=Ds(parseFloat(v._gsap.y)+_.offset)+"px",v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+parseFloat(v._gsap.y)+", 0, 1)",_.offset=_.cacheID=0},H=function(){P(),s.isActive()&&s.vars.scrollY>r&&(_()>r?s.progress(1)&&_(r):s.resetTo("scrollY",r))};return v&&Gn.set(v,{y:"+=0"}),t.ignoreCheck=function(t){return ms&&"touchmove"===t.type&&function(){if(n){requestAnimationFrame(A);var t=Ds(e.deltaY/2),r=C(_.v-t);if(v&&r!==_.v+_.offset){_.offset=r-_.v;var i=Ds((parseFloat(v&&v._gsap.y)||0)-_.offset);v.style.transform="matrix3d(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, "+i+", 0, 1)",v._gsap.y=i+"px",_.cacheID=En.cache,Zo()}return!0}_.offset&&k(),n=!0}()||y>1.05&&"touchstart"!==t.type||e.isGesturing||t.touches&&t.touches.length>1},t.onPress=function(){n=!1;var t=y;y=Ds((Xn.visualViewport&&Xn.visualViewport.scale||1)/x),s.pause(),t!==y&&fa(f,y>1.01||!c&&"x"),o=b(),a=_(),P(),i=Yo},t.onRelease=t.onGestureStart=function(t,e){if(_.offset&&k(),e){En.cache++;var i,n,o=w();c&&(n=(i=b())+.05*o*-t.velocityX/.227,o*=pa(b,i,n,Ys(f,Ln)),s.vars.scrollX=S(n)),n=(i=_())+.05*o*-t.velocityY/.227,o*=pa(_,i,n,Ys(f,In)),s.vars.scrollY=C(n),s.invalidate().duration(o).play(.01),(ms&&s.vars.scrollY>=r||i>=r-1)&&Gn.to({},{onUpdate:H,duration:o})}else l.restart(!0);p&&p(t)},t.onWheel=function(){s._ts&&s.pause(),ks()-E>1e3&&(i=0,E=ks())},t.onChange=function(t,e,r,n,s){if(Yo!==i&&P(),e&&c&&b(S(n[2]===e?o+(t.startX-t.x):b()+e-n[1])),r){_.offset&&k();var l=s[2]===r,h=l?a+t.startY-t.y:_()+r-s[1],u=C(h);l&&h!==u&&(a+=u-h),_(u)}(r||e)&&Zo()},t.onEnable=function(){fa(f,!c&&"x"),ua.addEventListener("refresh",H),Eo(Xn,"resize",H),_.smooth&&(_.target.style.scrollBehavior="auto",_.smooth=b.smooth=!1),T.enable()},t.onDisable=function(){fa(f,!0),wo(Xn,"resize",H),ua.removeEventListener("refresh",H),T.kill()},t.lockAxis=!1!==t.lockAxis,(e=new zn(t)).iOS=ms,ms&&!_()&&_(1),ms&&Gn.ticker.add(Ns),l=e._dc,s=Gn.to(e,{ease:"power4",paused:!0,inherit:!1,scrollX:c?"+=0.1":"+=0",scrollY:"+=0.1",modifiers:{scrollY:la(_,_(),(function(){return s.pause()}))},onUpdate:Zo,onComplete:l.vars.onComplete}),e}(t);return ds&&ds.target===e.target&&ds.kill(),Fs(e.target)&&(ds=e),e},ua.core={_getVelocityProp:Nn,_inputObserver:va,_scrollers:En,_proxies:wn,bridge:{ss:function(){Ms||Uo("scrollStart"),Ms=ks()},ref:function(){return rs}}},Vs()&&Gn.registerPlugin(ua);var ya,xa,Ea,wa,Ta,Aa,Sa,Ca,Pa=function(){return"undefined"!=typeof window},ka=function(){return ya||Pa()&&(ya=window.gsap)&&ya.registerPlugin&&ya},Ha=function(t){return"string"==typeof t},Ma=function(t){return"function"==typeof t},Ba=function(t,e){var r="x"===e?"Width":"Height",i="scroll"+r,n="client"+r;return t===Ea||t===wa||t===Ta?Math.max(wa[i],Ta[i])-(Ea["inner"+r]||wa[n]||Ta[n]):t[i]-t["offset"+r]},Oa=function(t,e){var r="scroll"+("x"===e?"Left":"Top");return t===Ea&&(null!=t.pageXOffset?r="page"+e.toUpperCase()+"Offset":t=null!=wa[r]?wa:Ta),function(){return t[r]}},La=function(t,e){if(!(t=Aa(t)[0])||!t.getBoundingClientRect)return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0};var r=t.getBoundingClientRect(),i=!e||e===Ea||e===Ta,n=i?{top:wa.clientTop-(Ea.pageYOffset||wa.scrollTop||Ta.scrollTop||0),left:wa.clientLeft-(Ea.pageXOffset||wa.scrollLeft||Ta.scrollLeft||0)}:e.getBoundingClientRect(),s={x:r.left-n.left,y:r.top-n.top};return!i&&e&&(s.x+=Oa(e,"x")(),s.y+=Oa(e,"y")()),s},Ia=function(t,e,r,i,n){return isNaN(t)||"object"==typeof t?Ha(t)&&"="===t.charAt(1)?parseFloat(t.substr(2))*("-"===t.charAt(0)?-1:1)+i-n:"max"===t?Ba(e,r)-n:Math.min(Ba(e,r),La(t,e)[r]-n):parseFloat(t)-n},$a=function(){ya=ka(),Pa()&&ya&&"undefined"!=typeof document&&document.body&&(Ea=window,Ta=document.body,wa=document.documentElement,Aa=ya.utils.toArray,ya.config({autoKillThreshold:7}),Sa=ya.config(),xa=1)},Ra={version:"3.12.5",name:"scrollTo",rawVars:1,register:function(t){ya=t,$a()},init:function(t,e,r,i,n){xa||$a();var s=this,o=ya.getProperty(t,"scrollSnapType");s.isWin=t===Ea,s.target=t,s.tween=r,e=function(t,e,r,i){if(Ma(t)&&(t=t(e,r,i)),"object"!=typeof t)return Ha(t)&&"max"!==t&&"="!==t.charAt(1)?{x:t,y:t}:{y:t};if(t.nodeType)return{y:t,x:t};var n,s={};for(n in t)s[n]="onAutoKill"!==n&&Ma(t[n])?t[n](e,r,i):t[n];return s}(e,i,t,n),s.vars=e,s.autoKill=!!e.autoKill,s.getX=Oa(t,"x"),s.getY=Oa(t,"y"),s.x=s.xPrev=s.getX(),s.y=s.yPrev=s.getY(),Ca||(Ca=ya.core.globals().ScrollTrigger),"smooth"===ya.getProperty(t,"scrollBehavior")&&ya.set(t,{scrollBehavior:"auto"}),o&&"none"!==o&&(s.snap=1,s.snapInline=t.style.scrollSnapType,t.style.scrollSnapType="none"),null!=e.x?(s.add(s,"x",s.x,Ia(e.x,t,"x",s.x,e.offsetX||0),i,n),s._props.push("scrollTo_x")):s.skipX=1,null!=e.y?(s.add(s,"y",s.y,Ia(e.y,t,"y",s.y,e.offsetY||0),i,n),s._props.push("scrollTo_y")):s.skipY=1},render:function(t,e){for(var r,i,n,s,o,a=e._pt,l=e.target,h=e.tween,c=e.autoKill,u=e.xPrev,d=e.yPrev,p=e.isWin,f=e.snap,g=e.snapInline;a;)a.r(t,a.d),a=a._next;r=p||!e.skipX?e.getX():u,n=(i=p||!e.skipY?e.getY():d)-d,s=r-u,o=Sa.autoKillThreshold,e.x<0&&(e.x=0),e.y<0&&(e.y=0),c&&(!e.skipX&&(s>o||s<-o)&&ro||n<-o)&&i-1&&this._props.splice(r,1),!this._props.length}};Ra.max=Ba,Ra.getOffset=La,Ra.buildGetter=Oa,ka()&&ya.registerPlugin(Ra);class Na{constructor(t,{target:e,config:r,callback:i,skipInitial:n}){this.t=new Set,this.o=!1,this.i=!1,this.h=t,null!==e&&this.t.add(e??t),this.o=n??this.o,this.callback=i,window.IntersectionObserver?(this.u=new IntersectionObserver((t=>{const e=this.i;this.i=!1,this.o&&e||(this.handleChanges(t),this.h.requestUpdate())}),r),t.addController(this)):console.warn("IntersectionController error: browser does not support IntersectionObserver.")}handleChanges(t){this.value=this.callback?.(t,this.u)}hostConnected(){for(const t of this.t)this.observe(t)}hostDisconnected(){this.disconnect()}async hostUpdated(){const t=this.u.takeRecords();t.length&&this.handleChanges(t)}observe(t){this.t.add(t),this.u.observe(t),this.i=!0}unobserve(t){this.t.delete(t),this.u.unobserve(t)}disconnect(){this.u.disconnect()}}let Da=class extends p.R{constructor(){super(...arguments),this.noAnimation=!1,this.total=0,this.reduceMotion=!1,this.activeItemIndex=0,this.isMobileView=window.matchMedia("(max-width: 860px)").matches,this.isCardVisible=!1,this.cardHeadingSlots=[],this.activeVideo=null,this.playPromise=null,this.scrollTriggers=[],this.slottedBlockHeadingElements=[],this.headingLinks=[]||0,this.cardLinks=[]||0,this.blockHeadingLoaded=!1,this.appTabsLoaded=!1,this.assetsLoaded=!1,this.cardsLoaded=!1,this.cardsLoadedCount=0,this.assetsLoadedCount=0,this.firstLoad=!0,this.loadedAssetSlots=new Set,this.loadedCardSlots=new Set,this.directionController=new _(this)}get playButton(){return this.isMobileView?this.playButtonMobile:this.playButtonDesktop}connectedCallback(){super.connectedCallback(),window.addEventListener("resize",(()=>{this.handleResize()})),this.handleResize(),this.gsap=function(){const t=window.gsap?window.gsap:nn,e=window.ScrollTrigger?window.ScrollTrigger:ua,r=window.ScrollToPlugin?window.ScrollToPlugin:Ra;return t.registerPlugin(e),t.registerPlugin(r),t}(),this.onIntersectionChange=this.onIntersectionChange.bind(this)}updated(t){super.updated(t),t.has("noAnimation")&&(this.isCardVisible=this.noAnimation,this.resetActiveVideo(),this.firstLoad||this.setupScrollListener(!0)),t.has("isMobileView")&&(this.handleMobileViewChange(),this.firstLoad||this.setupScrollListener(!0)),t.has("activeItemIndex")&&this.resetActiveVideo(),this.firstLoad=!1}firstUpdated(){new Na(this,{target:this.tabAssetsContainer,callback:this.onIntersectionChange,config:{threshold:[.2]}})}disconnectedCallback(){window.removeEventListener("resize",this.handleResize),this.linksElement?.removeEventListener("focus",this.focusListener),this.removeAnimation(),super.disconnectedCallback()}onIntersectionChange(t){t[0].isIntersecting&&this.isMobileView&&!this.noAnimation&&this.setupVideo()}handleMobileViewChange(){if(this.appTabsSlot&&this.appTabsSlot.assignedNodes()?.length>0){const t=this.appTabsSlot.assignedNodes()[0];this.isMobileView?(t.setAttribute("max-visible-tabs","5"),t.setAttribute("horizontal","")):(t.setAttribute("max-visible-tabs","4"),t.removeAttribute("horizontal"))}}setEqualHeight(){if(this.tabAssets?.length>0){this.toggleAssetContainer(!0);let t=0;this.tabAssets.forEach((e=>{t=Math.max(t,e.offsetHeight)})),this.toggleAssetContainer(!1),t>0&&(this.tabAssetsContainer.style.height=`${t}px`)}}toggleAssetContainer(t){this.tabAssets?.forEach((e=>{t?e.classList.add("reveal"):e.classList.remove("reveal")}))}handleResize(){window.matchMedia("(min-width: 861px)").matches?this.isMobileView=!1:this.isMobileView=!0,this.setEqualHeight(),this.firstLoad||this.setupScrollListener(!0)}setupScrollListener(t){if(this.isMobileView||this.noAnimation||this.reduceMotion&&window.location.hash)return void this.removeAnimation();if(t&&this.removeAnimation(),this.scrollTriggers.length>0)return;let e=this.eyebrowElement?.offsetHeight||0;this.eyebrowElement&&(e+=parseInt(getComputedStyle(this.eyebrowElement).marginTop)+parseInt(getComputedStyle(this.eyebrowElement).marginBottom));let r=this.titleElement?.offsetHeight||0,i=0;this.titleElement&&(r+=parseInt(getComputedStyle(this.titleElement).marginTop)+parseInt(getComputedStyle(this.titleElement).marginBottom),i=parseInt(getComputedStyle(this.titleElement).marginBottom)+parseInt(getComputedStyle(this.titleElement).paddingBottom)),r-=i;const n=this.tabbedFeatureHeading?.offsetHeight||0,s=-(n+40-e-r),o=-(n+40-e-.8*r),a=this.gsap.timeline({scrollTrigger:{trigger:this.tabbedFeatureElement,start:"top 80%",end:"center -30%",scrub:1,pin:!1,markers:!1,invalidateOnRefresh:!0,onStart:()=>{this.isCardVisible=!1}}});if(this.titleElement&&a?.fromTo(this.titleElement,{y:200},{y:0,ease:"sine.out",duration:.5},0),this.eyebrowElement&&a?.fromTo(this.eyebrowElement,{y:200},{y:0,ease:"sine.out",duration:.5},0),this.cards&&a?.from(this.cards,{opacity:0},0),this.paragraphElement&&a?.fromTo(this.paragraphElement,{opacity:0,y:40},{opacity:1,y:0,ease:"sine.out",duration:.2},.5),this.linksElement&&a?.fromTo(this.linksElement,{opacity:0,y:50},{opacity:1,y:0,ease:"sine.out",duration:.2},.5),this.tabAssetsContainer&&a?.fromTo(this.tabAssetsContainer,{opacity:0,y:200},{opacity:1,y:0,ease:"sine.out",duration:1},1),this.navContainer&&a?.fromTo(this.navContainer,{opacity:0,y:70},{opacity:1,y:s,ease:"sine.out",duration:.5},1),a?.addLabel("navContainerEnd"),this.tabAssetsContainer&&a?.to(this.tabAssetsContainer,{duration:2,ease:"none"},"+=2"),this.cards&&a?.to(this.cards,{duration:1,ease:"none"},"+=2"),this.tabAssetsContainer&&a?.fromTo(this.tabAssetsContainer,{y:0},{y:o,ease:"sine.out",duration:.5},3.5),this.cards){const t="rtl"===this.directionController.dir();let e=window.innerWidth<950?t?"-80%":"40%":window.innerWidth<1084?t?"-100%":"40%":window.innerWidth<1200?t?"-120%":"50%":window.innerWidth<1350?t?"-150%":"60%":t?"-180%":"60%",r=window.innerWidth<1084?"-50%":window.innerWidth<1200?"-40%":"-30%";this.hasAttribute("no-overlap")&&(e=t?"-345%":"110%",r="-60%"),a?.fromTo(this.cards,{x:e,y:0,opacity:0,roundProps:"x,y"},{x:e,y:r,opacity:1,roundProps:"x,y",onStart:()=>{this.isCardVisible=!0,this.setupVideo()},onReverseComplete:()=>{this.isCardVisible=!1,this.setupVideo()}},"<")}a?.scrollTrigger&&this.scrollTriggers.push(a.scrollTrigger),a&&this.setupFocusListener(a)}killScrollTriggerAnimation(){const t=[];this.scrollTriggers?.forEach((e=>{e.kill(!0);const r=e.animation;if(r)if(r instanceof this.gsap.core.Timeline)r.getChildren(!0,!0,!1).forEach((e=>{t.push(...e.targets())}));else if(r instanceof this.gsap.core.Tween){const e=r;t.push(...e.targets())}})),t.length>0&&this.gsap.set(t,{clearProps:"translate,rotate,scale,transform,opacity"}),this.scrollTriggers=[]}removeAnimation(){this.killScrollTriggerAnimation(),this.removeFocusListener(),this.isCardVisible=!0}setupFocusListener(t){this.headingFocusListener=()=>{this.gsap.to(window,{scrollTo:t?.scrollTrigger?.labelToScroll("navContainerEnd")})},this.headingLinks=this.linksElement?.shadowRoot?.querySelector("slot")?.assignedElements()||[];const e=Array.from(this.titleElement?.querySelectorAll("a")||[]),r=Array.from(this.paragraphElement?.querySelectorAll("a")||[]);this.headingLinks.push(...e,...r),this.headingLinks?.forEach((t=>{t.addEventListener("focus",this.headingFocusListener)})),this.cardFocusListener=()=>{this.gsap.to(this.tabbedFeatureElement,{duration:2,scrollTo:250})},this.cardHeadingSlots?.forEach((t=>{const e=t.querySelector('[slot="links"]')?.shadowRoot?.querySelector("slot")?.assignedElements()||[],r=t.querySelector('[slot="title"]'),i=t.querySelector('[slot="paragraph"]'),n=Array.from(r?.querySelectorAll("a")||[]),s=Array.from(i?.querySelectorAll("a")||[]);this.cardLinks.push(...e,...n,...s)})),this.cardLinks.forEach((t=>{t.addEventListener("focus",this.cardFocusListener)}))}removeFocusListener(){this.headingLinks?.forEach((t=>{t.removeEventListener("focus",this.headingFocusListener)})),this.cardLinks?.forEach((t=>{t.removeEventListener("focus",this.cardFocusListener)})),this.prevButton?.removeEventListener("focus",this.headingFocusListener)}setActiveVideo(t){if(this.activeVideo=null,t){const e=t.assignedNodes();if(e.length>0){const t=e[0];"VIDEO"===t.tagName&&(this.activeVideo=t)}}}resetActiveVideo(){this.playPromise?this.playPromise?.then((t=>{this.activeVideo?.pause(),this.resetActiveVideoHelper()})).catch((t=>{console.warn("Error: ",t)})):this.resetActiveVideoHelper()}resetActiveVideoHelper(){this.removeVideoEndListener(),this.setActiveVideo(this.activeAssetSlot),this.activeVideo?this.setupVideo():this.setPlayButtonVisibility(!1)}setupVideo(){this.activeVideo&&(this.activeVideo.autoplay=!1,this.activeVideo.currentTime=0,this.setupVideoEndListener(),!this.noAnimation&&this.isCardVisible?(this.playPromise=this.activeVideo.play(),this.updatePlayButtonState()):this.playPromise?this.playPromise?.then((t=>{this.pauseVideo()})).catch((t=>{console.warn("Error: ",t)})):this.pauseVideo(),this.setPlayButtonVisibility(!0))}pauseVideo(){this.activeVideo?.pause(),this.updatePlayButtonState()}removeVideoEndListener(){this.activeVideo?.removeEventListener("ended",this.videoEndListener)}setupVideoEndListener(){this.videoEndListener=()=>{this.updatePlayButtonState()},this.activeVideo?.addEventListener("ended",this.videoEndListener)}setPlayButtonVisibility(t){const e=this.playButton;e&&(t?e.classList.add("show"):e.classList.remove("show"))}toggleButtonIcons(t){const e=this.playButton?.querySelector(".play-icon"),r=this.playButton?.querySelector(".pause-icon");e&&(e.style.display=t?"inline-block":"none"),r&&(r.style.display=t?"none":"inline-block")}updatePlayButtonState(){this.activeVideo&&this.playButton&&(this.activeVideo.paused?(this.toggleButtonIcons(!0),this.playButton.title=this.msg("play"),this.playButton.ariaLabel=this.msg("play"),this.playButton.dataset.state="paused"):(this.toggleButtonIcons(!1),this.playButton.title=this.msg("pause"),this.playButton.ariaLabel=this.msg("pause"),this.playButton.dataset.state="playing"))}handlePlayButtonClick(){this.activeVideo&&this.playButton&&(this.activeVideo.paused?(this.playPromise=this.activeVideo.play(),this.updatePlayButtonState()):void 0!==this.playPromise&&this.playPromise?.then((t=>{this.activeVideo?.pause(),this.updatePlayButtonState()})).catch((t=>{console.warn("Error: ",t)})))}async checkAllLoaded(){if(this.cardsLoadedCount===this.total&&this.assetsLoadedCount===this.total&&this.blockHeadingLoaded&&this.slottedBlockHeadingElements?.length>0){this.cardsLoaded=!0,this.assetsLoaded=!0;const t=this.slottedBlockHeadingElements[0]?.tagName.toLowerCase();await customElements.whenDefined(t);const e=this.slottedBlockHeadingElements.filter((t=>t instanceof n.oi));await Promise.all([...e].map((t=>t.updateComplete))),this.setBlockHeadingElements(),this.setupScrollListener(!1),this.setupVideo(),await new Promise((t=>setTimeout(t,500))),this.setEqualHeight()}}setBlockHeadingElements(){this.blockHeading&&(this.eyebrowElement=this.blockHeading.querySelector('[slot="eyebrow"]'),this.titleElement=this.blockHeading.querySelector('[slot="title"]'),this.paragraphElement=this.blockHeading.querySelector('[slot="paragraph"]'),this.linksElement=this.blockHeading.querySelector('[slot="links"]'))}blockHeadingSlotChangeListener(t){const e=t.target;!this.blockHeadingLoaded&&e.assignedElements().length>0&&(this.blockHeading=e.assignedElements()[0],this.slottedBlockHeadingElements.push(this.blockHeading),this.blockHeadingLoaded=!0,this.checkAllLoaded())}assetSlotChangeListener(t,e){if(!this.assetsLoaded){const r=t.target;e==this.activeItemIndex&&this.setActiveVideo(r),this.loadedAssetSlots.has(r.name)||(this.loadedAssetSlots.add(r.name),this.assetsLoadedCount++),this.checkAllLoaded()}}cardSlotChangeListener(t){if(!this.cardsLoaded){const e=t.target,r=e.assignedElements();this.cardHeadingSlots.push(...r),this.slottedBlockHeadingElements.push(...r),this.loadedCardSlots.has(e.name)||(this.loadedCardSlots.add(e.name),this.cardsLoadedCount++),this.checkAllLoaded()}}appTabsSlotChangeListener(){this.appTabsSlot&&!this.appTabsLoaded&&(this.appTabsSlot.addEventListener("app-tabs-nav-click",(t=>{const e=t;this.activeItemIndex=e.detail.position})),this.handleMobileViewChange(),this.appTabsLoaded=!0)}renderBlockHeading(){return d`
`}renderAsset(t){return d`
${this.isMobileView?this.renderPlayButton():""}
`}renderCard(t){return d`
`}renderAssetContainer(){return d`
${Array.from({length:this.total},((t,e)=>d`
${this.renderAsset(e)} ${this.renderCard(e)}
`))} `}renderAppTabs(){return d` `}renderPlayIcon(){return d` `}renderPauseIcon(){return d` `}renderPlayButton(){return d`
`}render(){return d`
${this.renderBlockHeading()}
${this.renderAssetContainer()}
`}};Da.styles=o,Da.dict={play:"Play",pause:"Pause"},(0,t.gn)([(0,e.Cb)({attribute:"no-animation",type:Boolean})],Da.prototype,"noAnimation",void 0),(0,t.gn)([(0,e.Cb)({attribute:"total",type:Number})],Da.prototype,"total",void 0),(0,t.gn)([(0,e.Cb)({attribute:"reduce-motion",type:Boolean})],Da.prototype,"reduceMotion",void 0),(0,t.gn)([(0,e.SB)()],Da.prototype,"activeItemIndex",void 0),(0,t.gn)([(0,e.SB)()],Da.prototype,"isMobileView",void 0),(0,t.gn)([(0,e.SB)()],Da.prototype,"isCardVisible",void 0),(0,t.gn)([(0,e.IO)(".tabbed-feature__block-heading")],Da.prototype,"tabbedFeatureHeading",void 0),(0,t.gn)([(0,e.IO)(".nav-container")],Da.prototype,"navContainer",void 0),(0,t.gn)([(0,e.Kt)(".asset-container")],Da.prototype,"assetsContainer",void 0),(0,t.gn)([(0,e.IO)(".tabbed-feature")],Da.prototype,"tabbedFeatureElement",void 0),(0,t.gn)([(0,e.Kt)(".tab-assets")],Da.prototype,"tabAssets",void 0),(0,t.gn)([(0,e.IO)(".tab-assets-container")],Da.prototype,"tabAssetsContainer",void 0),(0,t.gn)([(0,e.IO)('.tab-assets.active slot[name$="-asset"]')],Da.prototype,"activeAssetSlot",void 0),(0,t.gn)([(0,e.IO)('slot[name="app-tabs"]')],Da.prototype,"appTabsSlot",void 0),(0,t.gn)([(0,e.Kt)(".tab-assets .card-container")],Da.prototype,"cards",void 0),(0,t.gn)([(0,e.Kt)(".tab-assets .asset-container")],Da.prototype,"assets",void 0),(0,t.gn)([(0,e.IO)(".tab-assets.active .play-button")],Da.prototype,"playButtonMobile",void 0),(0,t.gn)([(0,e.IO)(".play-button")],Da.prototype,"playButtonDesktop",void 0),Da=(0,t.gn)([(0,f.M)("cascade-tabbed-feature")],Da)})(),i})(),t.exports=e()}},e={};function r(i){var n=e[i];if(void 0!==n)return n.exports;var s=e[i]={exports:{}};return t[i](s,s.exports,r),s.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var i in e)r.o(e,i)&&!r.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";r(1858)})()})(); var aniCommon = aniCommon || {}; "use strict"; (function () { // check if a JS file is already loaded var isFirstLoad = function isFirstLoad(nameSpace) { var isFirst = nameSpace.firstLoad === undefined; nameSpace.firstLoad = false; return isFirst; }; // if global.js is already loaded, don't run below code if (!isFirstLoad(aniCommon)) return; aniCommon.utility = function () { var delayCall = function delayCall(func, wait) { var anonyf = func; var period = wait; var timeOutFunctionId; return function () { clearTimeout(timeOutFunctionId); timeOutFunctionId = setTimeout(anonyf, period); }; }; var reducedAnimation = function reducedAnimation() { aniCommon.isReducedAnimation = window.matchMedia("(prefers-reduced-motion)").matches; if (aniCommon.isReducedAnimation === true) { $('body').addClass('animation-off'); } else { $('body').addClass('animation-on'); } return aniCommon.isReducedAnimation; }; return { delayCall: delayCall, reducedAnimation: reducedAnimation }; }(); aniCommon.isReducedAnimation = aniCommon.utility.reducedAnimation(); var mediaQuery = window.matchMedia('(prefers-reduced-motion: reduce)'); mediaQuery.addEventListener('change', () => { aniCommon.isReducedAnimation = aniCommon.utility.reducedAnimation(); }); })(); (function () { "use strict"; $(document).ready(function() { if (aniCommon.isReducedAnimation || !$("body").hasClass("animation-toggle")) { $("cascade-tabbed-feature").each(function() { $(this).attr("no-animation", ""); }); } setAttributes(); }); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.attributeName === "class") { var classList = $("body").attr("class").split(/\s+/); if (!classList.includes("animation-toggle")) { $("cascade-tabbed-feature").each(function() { $(this).attr("no-animation", ""); }); } else { setAttributes(true); } } }); }); observer.observe(document.body, { attributes: true }); }()); function setAttributes(removeAttribute = false) { const tabbedFeatureElements = document.querySelectorAll('.tabbed-feature-container'); tabbedFeatureElements.forEach(element => { const cascadeTabbedFeature = element.querySelector("cascade-tabbed-feature"); if (cascadeTabbedFeature) { if (element.hasAttribute('data-no-overlap')) { cascadeTabbedFeature.setAttribute("no-overlap", ""); } if (removeAttribute && !element.hasAttribute('data-reduced-motion')) { cascadeTabbedFeature.removeAttribute("no-animation"); } else if (element.hasAttribute('data-reduced-motion')) { cascadeTabbedFeature.setAttribute("no-animation", ""); } } }); } document.addEventListener('DOMContentLoaded', function() { var tabbedFeatureElements = document.querySelectorAll('.tabbed-feature-container'); tabbedFeatureElements.forEach(function(tabbedFeatureElement) { var inactiveTabTextColor = tabbedFeatureElement.getAttribute('data-inactive-tab-text-color'); var activeTabTextColor = tabbedFeatureElement.getAttribute('data-active-tab-text-color'); var activeTabGlowColor = tabbedFeatureElement.getAttribute('data-active-tab-glow-color'); var paddingDesktop = tabbedFeatureElement.getAttribute('data-padding-desktop'); var paddingMobile = tabbedFeatureElement.getAttribute('data-padding-mobile'); if (inactiveTabTextColor) { tabbedFeatureElement.style.setProperty('--ds-app-tabs-tab-title-color', inactiveTabTextColor); } if (activeTabTextColor) { tabbedFeatureElement.style.setProperty('--ds-app-tabs-active-tab-title-color', activeTabTextColor); } if (activeTabGlowColor) { tabbedFeatureElement.style.setProperty('--ds-app-tabs-tab-logo-glow-color', activeTabGlowColor); } tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-container-padding', paddingDesktop ? paddingDesktop : '0 0 40px 0'); if (paddingMobile) { tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-container-padding-mobile', paddingMobile); } var cardBorderBaseColor = tabbedFeatureElement.getAttribute('data-card-border-base-color'); var cardBorderGradient = tabbedFeatureElement.getAttribute('data-card-border-gradient-color'); var buttonBorderGradient = tabbedFeatureElement.getAttribute('data-button-border-gradient-color'); var backgroundGradient = tabbedFeatureElement.getAttribute('data-background-gradient'); var cardBackgroundGradient = tabbedFeatureElement.getAttribute('data-card-background-gradient'); var baseColor = tabbedFeatureElement.classList.contains('dark-theme') ? 'var(--dark-mode-background-color)' : 'white'; tabbedFeatureElement.style.setProperty('background', backgroundGradient); if (cardBorderBaseColor) { tabbedFeatureElement.style.setProperty('--ds-specs-and-stats-card-border-color', cardBorderBaseColor); } if (cardBorderGradient) { tabbedFeatureElement.style.setProperty('--ds-specs-and-stats-card-border-gradient', cardBorderGradient); } if (cardBackgroundGradient) { tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-card-background', cardBackgroundGradient); } if (tabbedFeatureElement.classList.contains('button-border-gradient')) { var backgroundGradient = `linear-gradient(${baseColor}, ${baseColor})`; var gradient = `${backgroundGradient}, ${buttonBorderGradient}`; tabbedFeatureElement.style.setProperty('--ds-tabbed-feature-play-button-background-image', gradient); tabbedFeatureElement.style.setProperty('--ds-app-tabs-nav-button-background-image', gradient); } }); });