(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[92888],{8417:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var n=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?v[_]+" "+E:u(E,/&\f/g,v[_])).trim())&&(f[w++]=S);return b(e,t,n,0===i?P:s,f,d,p)}function D(e,t,n,r){return b(e,t,n,I,l(e,0,r),l(e,r+1,-1),r)}var M=function(e,t,n){for(var r=0,o=0;r=o,o=E(),38===r&&12===o&&(t[n]=1),!S(o);)_();return l(y,e,m)},G=function(e,t){var n=-1,r=44;do switch(S(r)){case 0:38===r&&12===E()&&(t[n]=1),e[n]+=M(m-1,t,n);break;case 2:e[n]+=T(r);break;case 4:if(44===r){e[++n]=58===E()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=i(r)}while(r=_());return e},U=function(e,t){var n;return n=G(O(e),t),y="",n},F=new WeakMap,B=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||F.get(n))&&!r){F.set(e,!0);for(var o=[],i=U(t,o),a=n.props,u=0,c=0;u-1&&!e.return)switch(e.type){case I:e.return=function e(t,n){switch(45^s(t,0)?(((n<<2^s(t,0))<<2^s(t,1))<<2^s(t,2))<<2^s(t,3):0){case 5103:return A+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return A+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return A+t+k+t+x+t+t;case 6828:case 4268:return A+t+x+t+t;case 6165:return A+t+x+"flex-"+t+t;case 5187:return A+t+u(t,/(\w+).+(:[^]+)/,A+"box-$1$2"+x+"flex-$1$2")+t;case 5443:return A+t+x+"flex-item-"+u(t,/flex-|-self/,"")+t;case 4675:return A+t+x+"flex-line-pack"+u(t,/align-content|flex-|-self/,"")+t;case 5548:return A+t+x+u(t,"shrink","negative")+t;case 5292:return A+t+x+u(t,"basis","preferred-size")+t;case 6060:return A+"box-"+u(t,"-grow","")+A+t+x+u(t,"grow","positive")+t;case 4554:return A+u(t,/([^-])(transform)/g,"$1"+A+"$2")+t;case 6187:return u(u(u(t,/(zoom-|grab)/,A+"$1"),/(image-set)/,A+"$1"),t,"")+t;case 5495:case 3959:return u(t,/(image-set\([^]*)/,A+"$1$`$1");case 4968:return u(u(t,/(.+:)(flex-)?(.*)/,A+"box-pack:$3"+x+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+A+t+t;case 4095:case 3583:case 4068:case 2532:return u(t,/(.+)-inline(.+)/,A+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(t)-1-n>6)switch(s(t,n+1)){case 109:if(45!==s(t,n+4))break;case 102:return u(t,/(.+:)(.+)-([^]+)/,"$1"+A+"$2-$3$1"+k+(108==s(t,n+3)?"$3":"$2-$3"))+t;case 115:return~c(t,"stretch")?e(u(t,"stretch","fill-available"),n)+t:t}break;case 4949:if(115!==s(t,n+1))break;case 6444:switch(s(t,f(t)-3-(~c(t,"!important")&&10))){case 107:return u(t,":",":"+A)+t;case 101:return u(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+A+(45===s(t,14)?"inline-":"")+"box$3$1"+A+"$2$3$1"+x+"$2box$3")+t}break;case 5936:switch(s(t,n+11)){case 114:return A+t+x+u(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return A+t+x+u(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return A+t+x+u(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return A+t+x+t+t}return t}(e.value,e.length);break;case R:return j([w(e,{value:u(e.value,"@","@"+A)})],r);case P:if(e.length){var o,i;return o=e.props,i=function(t){var n;switch(n=t,(n=/(::plac\w+|:read-\w+)/.exec(n))?n[0]:n){case":read-only":case":read-write":return j([w(e,{props:[u(t,/:(read-\w+)/,":"+k+"$1")]})],r);case"::placeholder":return j([w(e,{props:[u(t,/:(plac\w+)/,":"+A+"input-$1")]}),w(e,{props:[u(t,/:(plac\w+)/,":"+k+"$1")]}),w(e,{props:[u(t,/:(plac\w+)/,x+"input-$1")]})],r)}return""},o.map(i).join("")}}}],Z=function(e){var t,n,o,a,v,w,x=e.key;if("css"===x){var k=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(k,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var A=e.stylisPlugins||H,P={},I=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+x+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n2||S(g)>3?"":" "}(L);break;case 92:W+=function(e,t){for(var n;--t&&_()&&!(g<48)&&!(g>102)&&(!(g>57)||!(g<65))&&(!(g>70)||!(g<97)););return n=m+(t<6&&32==E()&&32==_()),l(y,e,n)}(m-1,7);continue;case 47:switch(E()){case 42:case 47:d(b(k=function(e,t){for(;_();)if(e+g===57)break;else if(e+g===84&&47===E())break;return"/*"+l(y,t,m-1)+"*"+i(47===e?e:_())}(_(),m),n,r,C,i(g),l(k,2,-2),0),x);break;default:W+="/"}break;case 123*M:O[A++]=f(W)*U;case 125*M:case 59:case 0:switch(F){case 0:case 125:G=0;case 59+P:-1==U&&(W=u(W,/\f/g,"")),j>0&&f(W)-I&&d(j>32?D(W+";",o,r,I-1):D(u(W," ","")+";",o,r,I-2),x);break;case 59:W+=";";default:if(d(Z=N(W,n,r,A,P,a,O,B,V=[],H=[],I),v),123===F){if(0===P)e(W,n,Z,Z,V,v,I,O,H);else switch(99===R&&110===s(W,3)?100:R){case 100:case 108:case 109:case 115:e(t,Z,Z,o&&d(N(t,Z,Z,0,0,a,O,B,a,V=[],I),H),a,H,I,O,o?V:H);break;default:e(W,Z,Z,Z,[""],H,0,O,H)}}}A=P=j=0,M=U=1,B=W="",I=w;break;case 58:I=1+f(W),j=L;default:if(M<1){if(123==F)--M;else if(125==F&&0==M++&&125==(g=m>0?s(y,--m):0,h--,10===g&&(h=1,p--),g))continue}switch(W+=i(F),F*M){case 38:U=P>0?1:(W+="\f",-1);break;case 44:O[A++]=(f(W)-1)*U,U=1;break;case 64:45===E()&&(W+=T(_())),R=E(),P=I=f(B=W+=function(e){for(;!S(E());)_();return l(y,e,m)}(m)),F++;break;case 45:45===L&&2==f(W)&&(M=0)}}return v}("",null,null,null,[""],t=O(t=e),0,[0],t),y="",n),R)};v=function(e,t,n,r){w=n,M(e?e+"{"+t.styles+"}":t.styles),r&&(G.inserted[t.name]=!0)};var G={key:x,sheet:new r({key:x,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:P,registered:{},insert:v};return G.sheet.hydrate(I),G}},71068:function(e,t,n){"use strict";n.d(t,{Z:function(){return i}});var r=n(45042),o=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=(0,r.Z)(function(e){return o.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},45042:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},76330:function(e,t,n){"use strict";n.d(t,{E:function(){return _},T:function(){return h},a:function(){return g},c:function(){return b},h:function(){return f},i:function(){return l},u:function(){return v},w:function(){return p}});var r=n(67294),o=n(8417),i=n(87462),a=function(e){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var r=e(n);return t.set(n,r),r}},u=n(70444),c=n(48137),s=n(27278),l=!0,f={}.hasOwnProperty,d=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);d.Provider;var p=function(e){return(0,r.forwardRef)(function(t,n){return e(t,(0,r.useContext)(d),n)})};l||(p=function(e){return function(t){var n=(0,r.useContext)(d);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(d.Provider,{value:n},e(t,n))):e(t,n)}});var h=r.createContext({}),v=function(){return r.useContext(h)},m=a(function(e){return a(function(t){return"function"==typeof t?t(e):(0,i.Z)({},e,t)})}),g=function(e){var t=r.useContext(h);return e.theme!==t&&(t=m(t)(e.theme)),r.createElement(h.Provider,{value:t},e.children)},y="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",b=function(e,t){var n={};for(var r in t)f.call(t,r)&&(n[r]=t[r]);return n[y]=e,n},w=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,s.L)(function(){return(0,u.My)(t,n,r)}),null},_=p(function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[y],a=[o],s="";"string"==typeof e.className?s=(0,u.fp)(t.registered,a,e.className):null!=e.className&&(s=e.className+" ");var l=(0,c.O)(a,void 0,r.useContext(h));s+=t.key+"-"+l.name;var d={};for(var p in e)f.call(e,p)&&"css"!==p&&p!==y&&(d[p]=e[p]);return d.ref=n,d.className=s,r.createElement(r.Fragment,null,r.createElement(w,{cache:t,serialized:l,isStringTag:"string"==typeof i}),r.createElement(i,d))})},70917:function(e,t,n){"use strict";n.d(t,{F4:function(){return f},az:function(){return c},iv:function(){return l},xB:function(){return s}});var r=n(76330),o=n(67294),i=n(70444),a=n(27278),u=n(48137);n(8417),n(8679);var c=function(e,t){var n=arguments;if(null==t||!r.h.call(t,"css"))return o.createElement.apply(void 0,n);var i=n.length,a=Array(i);a[0]=r.E,a[1]=(0,r.c)(e,t);for(var u=2;u=4;++r,o-=4)t=(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,n=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&n)*1540483477+((n>>>16)*59797<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n^=255&e.charCodeAt(r),n=(65535&n)*1540483477+((n>>>16)*59797<<16)}return n^=n>>>13,(((n=(65535&n)*1540483477+((n>>>16)*59797<<16))^n>>>15)>>>0).toString(36)}(a)+s,styles:a,next:r}}},55319:function(e,t,n){"use strict";n.d(t,{Z:function(){return v}});var r=n(87462),o=n(67294),i=n(71068),a=n(76330),u=n(70444),c=n(48137),s=n(27278),l=i.Z,f=function(e){return"theme"!==e},d=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?l:f},p=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},h=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,u.hC)(t,n,r),(0,s.L)(function(){return(0,u.My)(t,n,r)}),null},v=function e(t,n){var i,s,l=t.__emotion_real===t,f=l&&t.__emotion_base||t;void 0!==n&&(i=n.label,s=n.target);var v=p(t,n,l),m=v||d(f),g=!m("as");return function(){var y=arguments,b=l&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==i&&b.push("label:"+i+";"),null==y[0]||void 0===y[0].raw)b.push.apply(b,y);else{b.push(y[0][0]);for(var w=y.length,_=1;_1){var e=this._logs.reduce(function(e,t){var n,r,o,a=(0,i.pi)((0,i.pi)({},t),{json:JSON.stringify(t.extras,null," "),extras:t.extras});delete a.time;var u=null!==(o=null===(r=t.time)||void 0===r?void 0:r.toISOString())&&void 0!==o?o:"";return e[u]&&(u="".concat(u,"-").concat(Math.random())),(0,i.pi)((0,i.pi)({},e),((n={})[u]=a,n))},{});console.table?console.table(e):console.log(e)}else this.logs.forEach(function(e){var t=e.level,n=e.message,r=e.extras;"info"===t||"debug"===t?console.log(n,null!=r?r:""):console[t](n,null!=r?r:"")});this._logs=[]},e}(),u=n(50732),c=function(e){var t,n,r;this.retry=null===(t=e.retry)||void 0===t||t,this.type=null!==(n=e.type)&&void 0!==n?n:"plugin Error",this.reason=null!==(r=e.reason)&&void 0!==r?r:""},s=function(){function e(e,t,n,o){void 0===t&&(t=(0,r.v4)()),void 0===n&&(n=new u.i),void 0===o&&(o=new a),this.attempts=0,this.event=e,this._id=t,this.logger=o,this.stats=n}return e.system=function(){},e.prototype.isSame=function(e){return e.id===this.id},e.prototype.cancel=function(e){if(e)throw e;throw new c({reason:"Context Cancel"})},e.prototype.log=function(e,t,n){this.logger.log(e,t,n)},Object.defineProperty(e.prototype,"id",{get:function(){return this._id},enumerable:!1,configurable:!0}),e.prototype.updateEvent=function(e,t){var n;if("integrations"===e.split(".")[0]){var r=e.split(".")[1];if((null===(n=this.event.integrations)||void 0===n?void 0:n[r])===!1)return this.event}return(0,o.N)(this.event,e,t),this.event},e.prototype.failedDelivery=function(){return this._failedDelivery},e.prototype.setFailedDelivery=function(e){this._failedDelivery=e},e.prototype.logs=function(){return this.logger.logs},e.prototype.flush=function(){this.logger.flush(),this.stats.flush()},e.prototype.toJSON=function(){return{id:this._id,event:this.event,logs:this.logger.logs,metrics:this.stats.metrics}},e}()},51181:function(e,t,n){"use strict";n.d(t,{M:function(){return i},Z:function(){return a}});var r=n(97582),o=n(38714),i="onRemoveFromFuture",a=function(e){function t(t,n,r){var o=e.call(this)||this;return o.future=[],o.maxAttempts=t,o.queue=n,o.seen=null!=r?r:{},o}return(0,r.ZT)(t,e),t.prototype.push=function(){for(var e=this,t=[],n=0;ne.maxAttempts||e.includes(t))&&(e.queue.push(t),!0)});return this.queue=this.queue.sort(function(t,n){return e.getAttempts(t)-e.getAttempts(n)}),r},t.prototype.pushWithBackoff=function(e){var t,n,r,o,a,u=this;if(0===this.getAttempts(e))return this.push(e)[0];var c=this.updateAttempts(e);return!(c>this.maxAttempts||this.includes(e))&&(setTimeout(function(){u.queue.push(e),u.future=u.future.filter(function(t){return t.id!==e.id}),u.emit(i)},(t={attempt:c-1},n=Math.random()+1,r=t.minTimeout,Math.min(n*(void 0===r?500:r)*Math.pow(void 0===(o=t.factor)?2:o,t.attempt),void 0===(a=t.maxTimeout)?1/0:a))),this.future.push(e),!0)},t.prototype.getAttempts=function(e){var t;return null!==(t=this.seen[e.id])&&void 0!==t?t:0},t.prototype.updateAttempts=function(e){return this.seen[e.id]=this.getAttempts(e)+1,this.getAttempts(e)},t.prototype.includes=function(e){return this.queue.includes(e)||this.future.includes(e)||!!this.queue.find(function(t){return t.id===e.id})||!!this.future.find(function(t){return t.id===e.id})},t.prototype.pop=function(){return this.queue.shift()},Object.defineProperty(t.prototype,"length",{get:function(){return this.queue.length},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"todo",{get:function(){return this.queue.length+this.future.length},enumerable:!1,configurable:!0}),t}(o.Q)},69147:function(e,t,n){"use strict";n.d(t,{a:function(){return i},z:function(){return a}});var r=n(97582),o=n(98191);function i(e,t){e.log("debug","plugin",{plugin:t.name});var n=new Date().getTime(),i=t[e.event.type];return void 0===i?Promise.resolve(e):(function(e){return(0,r.mG)(this,void 0,void 0,function(){return(0,r.Jh)(this,function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,e()];case 1:return[2,t.sent()];case 2:return[2,Promise.reject(t.sent())];case 3:return[2]}})})})(function(){return i.apply(t,[e])}).then(function(e){var r=new Date().getTime()-n;return e.stats.gauge("plugin_time",r,["plugin:".concat(t.name)]),e}).catch(function(n){if(n instanceof o.Y&&"middleware_cancellation"===n.type)throw n;return n instanceof o.Y?e.log("warn",n.type,{plugin:t.name,error:n}):(e.log("error","plugin Error",{plugin:t.name,error:n}),e.stats.increment("plugin_error",1,["plugin:".concat(t.name)])),n})}function a(e,t){return i(e,t).then(function(t){if(t instanceof o._)return t;e.log("debug","Context canceled"),e.stats.increment("context_canceled"),e.cancel(t)})}},50732:function(e,t,n){"use strict";n.d(t,{i:function(){return i},s:function(){return o}});var r=n(97582),o=function(){function e(){this.metrics=[]}return e.prototype.increment=function(e,t,n){void 0===t&&(t=1),this.metrics.push({metric:e,value:t,tags:null!=n?n:[],type:"counter",timestamp:Date.now()})},e.prototype.gauge=function(e,t,n){this.metrics.push({metric:e,value:t,tags:null!=n?n:[],type:"gauge",timestamp:Date.now()})},e.prototype.flush=function(){var e=this.metrics.map(function(e){return(0,r.pi)((0,r.pi)({},e),{tags:e.tags.join(",")})});console.table?console.table(e):console.log(e),this.metrics=[]},e.prototype.serialize=function(){return this.metrics.map(function(e){return{m:e.metric,v:e.value,t:e.tags,k:({gauge:"g",counter:"c"})[e.type],e:e.timestamp}})},e}(),i=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.ZT)(t,e),t.prototype.gauge=function(){for(var e=[],t=0;tthis.maxListeners&&(console.warn("Event Emitter: Possible memory leak detected; ".concat(String(e)," has exceeded ").concat(this.maxListeners," listeners.")),this.warned=!0)},e.prototype.on=function(e,t){return this.callbacks[e]?(this.callbacks[e].push(t),this.warnIfPossibleMemoryLeak(e)):this.callbacks[e]=[t],this},e.prototype.once=function(e,t){var n=this,r=function(){for(var o=[],i=0;i0){var u=!1,c=function(){u||(u=!0,a.flush().catch(f),u=!1,setTimeout(c,a.flushTimer))};c()}}return e.prototype.increment=function(e,t){if(!(!e.includes("analytics_js.")||0===t.length||Math.random()>this.sampleRate)&&!(this.queue.length>=this.maxQueueSize)){var n=l(e,t,(0,c.B)());this.queue.push(n),e.includes("error")&&this.flush().catch(f)}},e.prototype.flush=function(){return(0,o.mG)(this,void 0,void 0,function(){var e=this;return(0,o.Jh)(this,function(t){switch(t.label){case 0:if(this.queue.length<=0)return[2];return[4,this.send().catch(function(t){f(t),e.sampleRate=0})];case 1:return t.sent(),[2]}})})},e.prototype.send=function(){return(0,o.mG)(this,void 0,void 0,function(){var e,t,n;return(0,o.Jh)(this,function(r){return e={series:this.queue},this.queue=[],t={"Content-Type":"text/plain"},n="".concat(this.protocol,"://").concat(this.host,"/m"),[2,(0,a.h)(n,{headers:t,body:JSON.stringify(e),method:"POST"})]})})},e}(),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,o.ZT)(t,e),t.initRemoteMetrics=function(e){r=new d(e)},t.prototype.increment=function(t,n,o){e.prototype.increment.call(this,t,n,o),null==r||r.increment(t,null!=o?o:[])},t}(i.s)},92311:function(e,t,n){"use strict";function r(e,t){var n=t.methodName,r=t.integrationName,o=t.type,i=t.didError;e.stats.increment("analytics_js.integration.invoke".concat(void 0!==i&&i?".error":""),1,["method:".concat(n),"integration_name:".concat(r),"type:".concat(o)])}n.d(t,{z:function(){return r}})},39821:function(e,t,n){"use strict";n.d(t,{i:function(){return r}});var r="1.70.0"},55609:function(e,t,n){"use strict";n.d(t,{h:function(){return a}});var r=n(63144),o=n.n(r),i=n(44083),a=function(){for(var e=[],t=0;ti;if(a){u.setItem(r,JSON.stringify(new Date().getTime()+50)),t(),u.removeItem(r);return}!a&&n<3?setTimeout(function(){f(e,t,n+1)},50):console.error("Unable to retrieve lock")}var d=function(e){function t(t,n){var o=e.call(this,t,[])||this,i="persisted-queue:v1:".concat(n,":items"),a="persisted-queue:v1:".concat(n,":seen"),d=[],p={};return f(n,function(){try{d=c(i),p=s(a),l(i),l(a),o.queue=(0,r.ev)((0,r.ev)([],d,!0),o.queue,!0),o.seen=(0,r.pi)((0,r.pi)({},p),o.seen)}catch(e){console.error(e)}}),window.addEventListener("pagehide",function(){if(o.todo>0){var e=(0,r.ev)((0,r.ev)([],o.queue,!0),o.future,!0);try{f(n,function(){var t,n,l,f;t=c(i),n=(0,r.ev)((0,r.ev)([],e,!0),t,!0).reduce(function(e,t){var n;return(0,r.pi)((0,r.pi)({},e),((n={})[t.id]=t,n))},{}),u.setItem(i,JSON.stringify(Object.values(n))),l=o.seen,f=s(a),u.setItem(a,JSON.stringify((0,r.pi)((0,r.pi)({},f),l)))})}catch(e){console.error(e)}}}),o}return(0,r.ZT)(t,e),t}(o.Z)},23888:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(49969);function o(e,t){var n=new r.Facade(e,t);return"track"===e.type&&(n=new r.Track(e,t)),"identify"===e.type&&(n=new r.Identify(e,t)),"page"===e.type&&(n=new r.Page(e,t)),"alias"===e.type&&(n=new r.Alias(e,t)),"group"===e.type&&(n=new r.Group(e,t)),"screen"===e.type&&(n=new r.Screen(e,t)),Object.defineProperty(n,"obj",{value:e,writable:!0}),n}},7227:function(e,t,n){"use strict";function r(){return"npm"}n.d(t,{B:function(){return r}})},66170:function(e,t,n){"use strict";n.r(t),n.d(t,{applyDestinationMiddleware:function(){return a},sourceMiddlewarePlugin:function(){return u}});var r=n(97582),o=n(98191),i=n(23888);function a(e,t,n){return(0,r.mG)(this,void 0,void 0,function(){var o,a,u,c,s;return(0,r.Jh)(this,function(l){switch(l.label){case 0:o=(0,i.D)(t,{clone:!0,traverse:!1}).rawEvent(),a=0,u=n,l.label=1;case 1:if(!(a-1&&(e.type="ios"),t.indexOf("android")>-1&&(e.type="android")),e},f.userAgent=l.proxy("context.userAgent"),f.timezone=l.proxy("context.timezone"),f.timestamp=l.field("timestamp"),f.channel=l.field("channel"),f.ip=l.proxy("context.ip"),f.userId=l.field("userId"),o.default(f)},63789:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Group=void 0;var o=r(n(35717)),i=r(n(66243)),a=r(n(18013)),u=n(40747);function c(e,t){u.Facade.call(this,e,t)}t.Group=c,o.default(c,u.Facade);var s=c.prototype;s.action=function(){return"group"},s.type=s.action,s.groupId=u.Facade.field("groupId"),s.created=function(){var e=this.proxy("traits.createdAt")||this.proxy("traits.created")||this.proxy("properties.createdAt")||this.proxy("properties.created");if(e)return a.default(e)},s.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.groupId();if(i.default(t))return t},s.traits=function(e){var t=this.properties(),n=this.groupId();for(var r in e=e||{},n&&(t.id=n),e)if(Object.prototype.hasOwnProperty.call(e,r)){var o=null==this[r]?this.proxy("traits."+r):this[r]();if(null==o)continue;t[e[r]]=o,delete t[r]}return t},s.name=u.Facade.proxy("traits.name"),s.industry=u.Facade.proxy("traits.industry"),s.employees=u.Facade.proxy("traits.employees"),s.properties=function(){return this.field("traits")||this.field("properties")||{}}},98649:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.Identify=void 0;var o=n(40747),i=r(n(53410)),a=r(n(35717)),u=r(n(66243)),c=r(n(18013)),s=function(e){return e.trim()};function l(e,t){o.Facade.call(this,e,t)}t.Identify=l,a.default(l,o.Facade);var f=l.prototype;f.action=function(){return"identify"},f.type=f.action,f.traits=function(e){var t=this.field("traits")||{},n=this.userId();for(var r in e=e||{},n&&(t.id=n),e){var o=null==this[r]?this.proxy("traits."+r):this[r]();null!=o&&(t[e[r]]=o,r!==e[r]&&delete t[r])}return t},f.email=function(){var e=this.proxy("traits.email");if(e)return e;var t=this.userId();if(u.default(t))return t},f.created=function(){var e=this.proxy("traits.created")||this.proxy("traits.createdAt");if(e)return c.default(e)},f.companyCreated=function(){var e=this.proxy("traits.company.created")||this.proxy("traits.company.createdAt");if(e)return c.default(e)},f.companyName=function(){return this.proxy("traits.company.name")},f.name=function(){var e=this.proxy("traits.name");if("string"==typeof e)return s(e);var t=this.firstName(),n=this.lastName();if(t&&n)return s(t+" "+n)},f.firstName=function(){var e=this.proxy("traits.firstName");if("string"==typeof e)return s(e);var t=this.proxy("traits.name");if("string"==typeof t)return s(t).split(" ")[0]},f.lastName=function(){var e=this.proxy("traits.lastName");if("string"==typeof e)return s(e);var t=this.proxy("traits.name");if("string"==typeof t){var n=s(t).indexOf(" ");if(-1!==n)return s(t.substr(n+1))}},f.uid=function(){return this.userId()||this.username()||this.email()},f.description=function(){return this.proxy("traits.description")||this.proxy("traits.background")},f.age=function(){var e=this.birthday(),t=i.default(this.traits(),"age");return null!=t?t:e instanceof Date?new Date().getFullYear()-e.getFullYear():void 0},f.avatar=function(){var e=this.traits();return i.default(e,"avatar")||i.default(e,"photoUrl")||i.default(e,"avatarUrl")},f.position=function(){var e=this.traits();return i.default(e,"position")||i.default(e,"jobTitle")},f.username=o.Facade.proxy("traits.username"),f.website=o.Facade.one("traits.website"),f.websites=o.Facade.multi("traits.website"),f.phone=o.Facade.one("traits.phone"),f.phones=o.Facade.multi("traits.phone"),f.address=o.Facade.proxy("traits.address"),f.gender=o.Facade.proxy("traits.gender"),f.birthday=o.Facade.proxy("traits.birthday")},49969:function(e,t,n){"use strict";var r=this&&this.__assign||function(){return(r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var u=n.call(i,"catchLoc"),c=n.call(i,"finallyLoc");if(u&&c){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),S(n),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;S(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:T(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),d}},e}function a(e,t,n,r,o,i,a){try{var u=e[i](a),c=u.value}catch(e){n(e);return}u.done?t(c):Promise.resolve(c).then(r,o)}function u(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function u(e){a(i,r,o,u,c,"next",e)}function c(e){a(i,r,o,u,c,"throw",e)}u(void 0)})}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.url,r=t||n;if(!r)throw Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(!isNaN(parseFloat(r))&&isFinite(r)&&Math.floor(r)==r)return"https://vimeo.com/".concat(r);if(A(r))return r.replace("http:","https:");if(t)throw TypeError("“".concat(t,"” is not a valid video id."));throw TypeError("“".concat(r,"” is not a vimeo.com url."))}var I=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"addEventListener",o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"removeEventListener",i="string"==typeof t?[t]:t;return i.forEach(function(t){e[r](t,n)}),{cancel:function(){return i.forEach(function(t){return e[o](t,n)})}}},R=void 0!==Array.prototype.indexOf,j="undefined"!=typeof window&&void 0!==window.postMessage;if(!x&&(!R||!j))throw Error("Sorry, the Vimeo Player API is not available in this browser.");var L="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};!/*! * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill * https://github.com/polygonplanet/weakmap-polyfill * Copyright (c) 2015-2021 polygonplanet * @license MIT */function(e){if(!e.WeakMap){var t=Object.prototype.hasOwnProperty,n=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(e){}}(),r=function(e,t,r){n?Object.defineProperty(e,t,{configurable:!0,writable:!0,value:r}):e[t]=r};e.WeakMap=function(){function e(){if(void 0===this)throw TypeError("Constructor WeakMap requires 'new'");if(r(this,"_id","_WeakMap_"+i()+"."+i()),arguments.length>0)throw TypeError("WeakMap iterable is not supported")}function n(e,n){if(!o(e)||!t.call(e,"_id"))throw TypeError(n+" method called on incompatible receiver "+typeof e)}function i(){return Math.random().toString().substring(2)}return r(e.prototype,"delete",function(e){if(n(this,"delete"),!o(e))return!1;var t=e[this._id];return!!t&&t[0]===e&&(delete e[this._id],!0)}),r(e.prototype,"get",function(e){if(n(this,"get"),o(e)){var t=e[this._id];if(t&&t[0]===e)return t[1]}}),r(e.prototype,"has",function(e){if(n(this,"has"),!o(e))return!1;var t=e[this._id];return!!t&&t[0]===e}),r(e.prototype,"set",function(e,t){if(n(this,"set"),!o(e))throw TypeError("Invalid value used as weak map key");var i=e[this._id];return i&&i[0]===e?i[1]=t:r(e,this._id,[e,t]),this}),r(e,"_polyfill",!0),e}()}function o(e){return Object(e)===e}}("undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:L);var N=(b=E={exports:{}},E.exports,w="Promise",_=function(){var e,t,n,r=Object.prototype.toString,o="undefined"!=typeof setImmediate?function(e){return setImmediate(e)}:setTimeout;try{Object.defineProperty({},"x",{}),e=function(e,t,n,r){return Object.defineProperty(e,t,{value:n,writable:!0,configurable:!1!==r})}}catch(t){e=function(e,t,n){return e[t]=n,e}}function i(e,r){n.add(e,r),t||(t=o(n.drain))}function a(e){var t,n=typeof e;return null!=e&&("object"==n||"function"==n)&&(t=e.then),"function"==typeof t&&t}function u(){for(var e=0;e0&&i(u,n))}catch(e){s.call(new f(n),e)}}}function s(e){var t=this;!t.triggered&&(t.triggered=!0,t.def&&(t=t.def),t.msg=e,t.state=2,t.chain.length>0&&i(u,t))}function l(e,t,n,r){for(var o=0;o=8&&o<10&&(r=JSON.stringify(r)),e.element.contentWindow.postMessage(r,e.origin)}}var V=["airplay","audio_tracks","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","interactive_params","keyboard","loop","maxheight","maxwidth","muted","play_button_position","playsinline","portrait","progress_bar","quality_selector","responsive","speed","start_time","texttrack","title","transcript","transparent","url","vimeo_logo","volume","watch_full_video","width"];function H(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return V.reduce(function(t,n){var r=e.getAttribute("data-vimeo-".concat(n));return(r||""===r)&&(t[n]=""===r?1:r),t},t)}function Z(e,t){var n=e.html;if(!t)throw TypeError("An element must be provided");if(null!==t.getAttribute("data-vimeo-initialized"))return t.querySelector("iframe");var r=document.createElement("div");return r.innerHTML=n,t.appendChild(r.firstChild),t.setAttribute("data-vimeo-initialized","true"),t.querySelector("iframe")}function W(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return new Promise(function(r,o){if(!A(e))throw TypeError("“".concat(e,"” is not a vimeo.com url."));var i,a,u=(a=((i=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/))&&i[1]||"").replace("player.","")).endsWith(".videoji.hk")?a:"vimeo.com",c="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var s in t)t.hasOwnProperty(s)&&(c+="&".concat(s,"=").concat(encodeURIComponent(t[s])));var l="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;l.open("GET",c,!0),l.onload=function(){if(404===l.status){o(Error("“".concat(e,"” was not found.")));return}if(403===l.status){o(Error("“".concat(e,"” is not embeddable.")));return}try{var t=JSON.parse(l.responseText);if(403===t.domain_status_code){Z(t,n),o(Error("“".concat(e,"” is not embeddable.")));return}r(t)}catch(e){o(e)}},l.onerror=function(){var e=l.status?" (".concat(l.status,")"):"";o(Error("There was an error fetching the embed code from Vimeo".concat(e,".")))},l.send()})}var z={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},q=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(v,e);var t,n,r,a,s=(t=h(),function(){var e,n=d(v);return e=t?Reflect.construct(n,arguments,d(this).constructor):n.apply(this,arguments),function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return g(e)}(this,e)});function v(e,t){var n,r,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=arguments.length>3?arguments[3]:void 0;return c(this,v),f(g(r=s.call(this)),"logger",void 0),f(g(r),"speedAdjustment",0),f(g(r),"adjustSpeed",(n=u(i().mark(function e(t,n){var o;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r.speedAdjustment!==n){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,t.getPlaybackRate();case 4:return e.t0=e.sent,e.t1=r.speedAdjustment,e.t2=e.t0-e.t1,e.t3=n,o=e.t2+e.t3,r.log("New playbackRate: ".concat(o)),e.next=12,t.setPlaybackRate(o);case 12:r.speedAdjustment=n;case 13:case"end":return e.stop()}},e)})),function(e,t){return n.apply(this,arguments)})),r.logger=l,r.init(t,e,o(o({},z),a)),r}return l(v,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:(n=u(i().mark(function e(t,n,r){var o,a,u,c=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitForTOReadyState(t,"open");case 2:if("viewer"!==r.role){e.next=10;break}return e.next=5,this.updatePlayer(t,n,r);case 5:o=I(t,"change",function(){return c.updatePlayer(t,n,r)}),a=this.maintainPlaybackPosition(t,n,r),this.addEventListener("disconnect",function(){a.cancel(),o.cancel()}),e.next=14;break;case 10:return e.next=12,this.updateTimingObject(t,n);case 12:u=I(n,["seeked","play","pause","ratechange"],function(){return c.updateTimingObject(t,n)},"on","off"),this.addEventListener("disconnect",function(){return u.cancel()});case 14:case"end":return e.stop()}},e,this)})),function(e,t,r){return n.apply(this,arguments)})},{key:"updateTimingObject",value:(r=u(i().mark(function e(t,n){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.t0=t,e.next=3,n.getCurrentTime();case 3:return e.t1=e.sent,e.next=6,n.getPaused();case 6:if(!e.sent){e.next=10;break}e.t2=0,e.next=13;break;case 10:return e.next=12,n.getPlaybackRate();case 12:e.t2=e.sent;case 13:e.t3=e.t2,e.t4={position:e.t1,velocity:e.t3},e.t0.update.call(e.t0,e.t4);case 16:case"end":return e.stop()}},e)})),function(e,t){return r.apply(this,arguments)})},{key:"updatePlayer",value:(a=u(i().mark(function e(t,n,r){var o,a,c;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(a=(o=t.query()).position,c=o.velocity,"number"==typeof a&&n.setCurrentTime(a),"number"!=typeof c){e.next=25;break}if(0!==c){e.next=11;break}return e.next=6,n.getPaused();case 6:if(e.t0=e.sent,!1!==e.t0){e.next=9;break}n.pause();case 9:e.next=25;break;case 11:if(!(c>0)){e.next=25;break}return e.next=14,n.getPaused();case 14:if(e.t1=e.sent,!0!==e.t1){e.next=19;break}return e.next=18,n.play().catch(function(){var e=u(i().mark(function e(t){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!("NotAllowedError"===t.name&&r.autoPlayMuted)){e.next=5;break}return e.next=3,n.setMuted(!0);case 3:return e.next=5,n.play().catch(function(e){return console.error("Couldn't play the video from TimingSrcConnector. Error:",e)});case 5:case"end":return e.stop()}},e)}));return function(t){return e.apply(this,arguments)}}());case 18:this.updatePlayer(t,n,r);case 19:return e.next=21,n.getPlaybackRate();case 21:if(e.t2=e.sent,e.t3=c,!(e.t2!==e.t3)){e.next=25;break}n.setPlaybackRate(c);case 25:case"end":return e.stop()}},e,this)})),function(e,t,n){return a.apply(this,arguments)})},{key:"maintainPlaybackPosition",value:function(e,t,n){var r,o=this,a=n.allowedDrift,c=n.maxAllowedDrift,s=n.minCheckInterval,l=n.maxRateAdjustment,f=n.maxTimeToCatchUp,d=1e3*Math.min(f,Math.max(s,c)),p=(r=u(i().mark(function n(){var r,u,s,d,p;return i().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:if(n.t0=0===e.query().velocity,n.t0){n.next=6;break}return n.next=4,t.getPaused();case 4:n.t1=n.sent,n.t0=!0===n.t1;case 6:if(!n.t0){n.next=8;break}return n.abrupt("return");case 8:return n.t2=e.query().position,n.next=11,t.getCurrentTime();case 11:if(n.t3=n.sent,u=Math.abs(r=n.t2-n.t3),o.log("Drift: ".concat(r)),!(u>c)){n.next=22;break}return n.next=18,o.adjustSpeed(t,0);case 18:t.setCurrentTime(e.query().position),o.log("Resync by currentTime"),n.next=29;break;case 22:if(!(u>a)){n.next=29;break}return p=(s=u/f)<(d=l)?(d-s)/2:d,n.next=28,o.adjustSpeed(t,p*Math.sign(r));case 28:o.log("Resync by playbackRate");case 29:case"end":return n.stop()}},n)})),function(){return r.apply(this,arguments)}),h=setInterval(function(){return p()},d);return{cancel:function(){return clearInterval(h)}}}},{key:"log",value:function(e){var t;null===(t=this.logger)||void 0===t||t.call(this,"TimingSrcConnector: ".concat(e))}},{key:"waitForTOReadyState",value:function(e,t){return new Promise(function(n){!function r(){e.readyState===t?n():e.addEventListener("readystatechange",r,{once:!0})}()})}}]),v}(m(EventTarget)),K=new WeakMap,Y=new WeakMap,J={},$=function(){var e;function t(e){var n,r=this,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,t),window.jQuery&&e instanceof jQuery&&(e.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),e=e[0]),"undefined"!=typeof document&&"string"==typeof e&&(e=document.getElementById(e)),!((n=e)&&1===n.nodeType&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView))throw TypeError("You must pass either a valid element or a valid id.");if("IFRAME"!==e.nodeName){var i=e.querySelector("iframe");i&&(e=i)}if("IFRAME"===e.nodeName&&!A(e.getAttribute("src")||""))throw Error("The player element passed isn’t a Vimeo embed.");if(K.has(e))return K.get(e);this._window=e.ownerDocument.defaultView,this.element=e,this.origin="*";var a=new N(function(t,n){if(r._onMessage=function(e){if(A(e.origin)&&r.element.contentWindow===e.source){"*"===r.origin&&(r.origin=e.origin);var o=F(e.data);if(o&&"error"===o.event&&o.data&&"ready"===o.data.method){var i=Error(o.data.message);i.name=o.data.name,n(i);return}var a=o&&"ready"===o.event,u=o&&"ping"===o.method;if(a||u){r.element.setAttribute("data-ready","true"),t();return}!function(e,t){t=F(t);var n,r=[];if(t.event)"error"===t.event&&G(e,t.data.method).forEach(function(n){var r=Error(t.data.message);r.name=t.data.name,n.reject(r),U(e,t.data.method,n)}),r=G(e,"event:".concat(t.event)),n=t.data;else if(t.method){var o=function(e,t){var n=G(e,t);if(n.length<1)return!1;var r=n.shift();return U(e,t,r),r}(e,t.method);o&&(r.push(o),n=t.value)}r.forEach(function(t){try{if("function"==typeof t){t.call(e,n);return}t.resolve(n)}catch(e){}})}(r,o)}},r._window.addEventListener("message",r._onMessage),"IFRAME"!==r.element.nodeName){var i=H(e,o);W(P(i),i,e).then(function(t){var n,o,i=Z(t,e);return r.element=i,r._originalElement=e,n=e,o=D.get(n),D.set(i,o),D.delete(n),K.set(r.element,r),t}).catch(n)}});if(Y.set(this,a),K.set(this.element,this),"IFRAME"===this.element.nodeName&&B(this,"ping"),J.isEnabled){var u=function(){return J.exit()};this.fullscreenchangeHandler=function(){J.isFullscreen?M(r,"event:exitFullscreen",u):U(r,"event:exitFullscreen",u),r.ready().then(function(){B(r,"fullscreenchange",J.isFullscreen)})},J.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return l(t,[{key:"callMethod",value:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new N(function(r,o){return t.ready().then(function(){M(t,e,{resolve:r,reject:o}),B(t,e,n)}).catch(o)})}},{key:"get",value:function(e){var t=this;return new N(function(n,r){return e=k(e,"get"),t.ready().then(function(){M(t,e,{resolve:n,reject:r}),B(t,e)}).catch(r)})}},{key:"set",value:function(e,t){var n=this;return new N(function(r,o){if(e=k(e,"set"),null==t)throw TypeError("There must be a value to set.");return n.ready().then(function(){M(n,e,{resolve:r,reject:o}),B(n,e,t)}).catch(o)})}},{key:"on",value:function(e,t){if(!e)throw TypeError("You must pass an event name.");if(!t)throw TypeError("You must pass a callback function.");if("function"!=typeof t)throw TypeError("The callback must be a function.");0===G(this,"event:".concat(e)).length&&this.callMethod("addEventListener",e).catch(function(){}),M(this,"event:".concat(e),t)}},{key:"off",value:function(e,t){if(!e)throw TypeError("You must pass an event name.");if(t&&"function"!=typeof t)throw TypeError("The callback must be a function.");U(this,"event:".concat(e),t)&&this.callMethod("removeEventListener",e).catch(function(e){})}},{key:"loadVideo",value:function(e){return this.callMethod("loadVideo",e)}},{key:"ready",value:function(){var e=Y.get(this)||new N(function(e,t){t(Error("Unknown player. Probably unloaded."))});return N.resolve(e)}},{key:"addCuePoint",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.callMethod("addCuePoint",{time:e,data:t})}},{key:"removeCuePoint",value:function(e){return this.callMethod("removeCuePoint",e)}},{key:"enableTextTrack",value:function(e,t){if(!e)throw TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:e,kind:t})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return J.isEnabled?J.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return J.isEnabled?J.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return J.isEnabled?N.resolve(J.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new N(function(t){if(Y.delete(e),K.delete(e.element),e._originalElement&&(K.delete(e._originalElement),e._originalElement.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e._originalElement&&e._originalElement!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode){e.element.removeAttribute("data-vimeo-initialized");var n=e.element.querySelector("iframe");n&&n.parentNode&&(n.parentNode.parentNode&&e._originalElement&&e._originalElement!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))}e._window.removeEventListener("message",e._onMessage),J.isEnabled&&J.off("fullscreenchange",e.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(e){return this.set("autopause",e)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(e){return this.set("cameraProps",e)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return N.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(e){return this.set("color",e)}},{key:"setColors",value:function(e){if(!Array.isArray(e))return new N(function(e,t){return t(TypeError("Argument must be an array."))});var t=new N(function(e){return e(null)}),n=[e[0]?this.set("colorOne",e[0]):t,e[1]?this.set("colorTwo",e[1]):t,e[2]?this.set("colorThree",e[2]):t,e[3]?this.set("colorFour",e[3]):t];return N.all(n)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(e){return this.set("currentTime",e)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(e){return this.set("loop",e)}},{key:"setMuted",value:function(e){return this.set("muted",e)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(e){return this.set("playbackRate",e)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(e){return this.set("quality",e)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(e){return this.set("volume",e)}},{key:"setTimingSrc",value:(e=u(i().mark(function e(t,n){var r,o=this;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw TypeError("A Timing Object must be provided.");case 2:return e.next=4,this.ready();case 4:return r=new q(this,t,n),B(this,"notifyTimingObjectConnect"),r.addEventListener("disconnect",function(){return B(o,"notifyTimingObjectDisconnect")}),e.abrupt("return",r);case 8:case"end":return e.stop()}},e,this)})),function(t,n){return e.apply(this,arguments)})}]),t}();x||(O={fullscreenchange:(S=function(){for(var e,t=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],n=0,r=t.length,o={};n0&&void 0!==arguments[0]?arguments[0]:document,t=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),n=function(e){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(e))};t.forEach(function(e){try{if(null!==e.getAttribute("data-vimeo-defer"))return;var t=H(e),r=P(t);W(r,t,e).then(function(t){return Z(t,e)}).catch(n)}catch(e){n(e)}})}(),function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(A(t.origin)&&t.data&&"spacechange"===t.data.event){for(var n=e.querySelectorAll("iframe"),r=0;r0&&void 0!==arguments[0]?arguments[0]:document;window.VimeoSeoMetadataAppended||(window.VimeoSeoMetadataAppended=!0,window.addEventListener("message",function(t){if(A(t.origin)){var n=F(t.data);if(n&&"ready"===n.event)for(var r=e.querySelectorAll("iframe"),o=0;o0&&void 0!==arguments[0]?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var t=function(e){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(e))};window.addEventListener("message",function(n){if(A(n.origin)){var r=F(n.data);if(r&&"ready"===r.event)for(var o=e.querySelectorAll("iframe"),i=0;io?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r=o?e:r(e,t,n)}},74318:function(e,t,n){var r=n(11149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new r(t).set(new r(e)),t}},64626:function(e,t,n){e=n.nmd(e);var r=n(55639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?r.Buffer:void 0,u=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var n=e.length,r=u?u(n):new e.constructor(n);return e.copy(r),r}},77133:function(e,t,n){var r=n(74318);e.exports=function(e,t){var n=t?r(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var n=-1,r=e.length;for(t||(t=Array(r));++n1?n[i-1]:void 0,u=i>2?n[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,u&&o(n[0],n[1],u)&&(a=i<3?void 0:a,i=1),t=Object(t);++rl))return!1;var d=c.get(e),p=c.get(t);if(d&&p)return d==t&&p==e;var h=-1,v=!0,m=2&n?new r:void 0;for(c.set(e,t),c.set(t,e);++h-1&&e%1==0&&e-1}},54705:function(e,t,n){var r=n(18470);e.exports=function(e,t){var n=this.__data__,o=r(n,e);return o<0?(++this.size,n.push([e,t])):n[o][1]=t,this}},24785:function(e,t,n){var r=n(1989),o=n(38407),i=n(57071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(i||o),string:new r}}},11285:function(e,t,n){var r=n(45050);e.exports=function(e){var t=r(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).get(e)}},49916:function(e,t,n){var r=n(45050);e.exports=function(e){return r(this,e).has(e)}},95265:function(e,t,n){var r=n(45050);e.exports=function(e,t){var n=r(this,e),o=n.size;return n.set(e,t),this.size+=n.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach(function(e,r){n[++t]=[r,e]}),n}},42634:function(e){e.exports=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}}},24523:function(e,t,n){var r=n(88306);e.exports=function(e){var t=r(e,function(e){return 500===n.size&&n.clear(),e}),n=t.cache;return t}},94536:function(e,t,n){var r=n(10852)(Object,"create");e.exports=r},86916:function(e,t,n){var r=n(5569)(Object.keys,Object);e.exports=r},33498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var n in Object(e))t.push(n);return t}},31167:function(e,t,n){e=n.nmd(e);var r=n(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&r.process,u=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=u},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(n){return e(t(n))}}},45357:function(e,t,n){var r=n(96874),o=Math.max;e.exports=function(e,t,n){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,u=o(i.length-t,0),c=Array(u);++a0){if(++n>=800)return arguments[0]}else n=0;return e.apply(void 0,arguments)}}},37465:function(e,t,n){var r=n(38407);e.exports=function(){this.__data__=new r,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,n){var r=n(38407),o=n(57071),i=n(83369);e.exports=function(e,t){var n=this.__data__;if(n instanceof r){var a=n.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(a)}return n.set(e,t),this.size=n.size,this}},83140:function(e,t,n){var r=n(44286),o=n(62689),i=n(676);e.exports=function(e){return o(e)?i(e):r(e)}},55514:function(e,t,n){var r=n(24523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=r(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,function(e,n,r,o){t.push(r?o.replace(i,"$1"):n||e)}),t});e.exports=a},40327:function(e,t,n){var r=n(33448),o=1/0;e.exports=function(e){if("string"==typeof e||r(e))return e;var t=e+"";return"0"==t&&1/e==-o?"-0":t}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},676:function(e){var t="\ud800-\udfff",n="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",r="\ud83c[\udffb-\udfff]",o="[^"+t+"]",i="(?:\ud83c[\udde6-\uddff]){2}",a="[\ud800-\udbff][\udc00-\udfff]",u="(?:"+n+"|"+r+")?",c="[\\ufe0e\\ufe0f]?",s="(?:\\u200d(?:"+[o,i,a].join("|")+")"+c+u+")*",l=RegExp(r+"(?="+r+")|(?:"+[o+n+"?",n,i,a,"["+t+"]"].join("|")+")"+(c+u+s),"g");e.exports=function(e){return e.match(l)||[]}},2757:function(e){var t="\ud800-\udfff",n="\\u2700-\\u27bf",r="a-z\\xdf-\\xf6\\xf8-\\xff",o="A-Z\\xc0-\\xd6\\xd8-\\xde",i="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",a="['’]",u="["+i+"]",c="["+r+"]",s="[^"+t+i+"\\d+"+n+r+o+"]",l="(?:\ud83c[\udde6-\uddff]){2}",f="[\ud800-\udbff][\udc00-\udfff]",d="["+o+"]",p="(?:"+c+"|"+s+")",h="(?:"+a+"(?:d|ll|m|re|s|t|ve))?",v="(?:"+a+"(?:D|LL|M|RE|S|T|VE))?",m="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\ud83c[\udffb-\udfff])?",g="[\\ufe0e\\ufe0f]?",y="(?:\\u200d(?:"+["[^"+t+"]",l,f].join("|")+")"+g+m+")*",b="(?:"+["["+n+"]",l,f].join("|")+")"+(g+m+y),w=RegExp([d+"?"+c+"+"+h+"(?="+[u,d,"$"].join("|")+")","(?:"+d+"|"+s+")+"+v+"(?="+[u,d+p,"$"].join("|")+")",d+"?"+p+"+"+h,d+"+"+v,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])","\\d+",b].join("|"),"g");e.exports=function(e){return e.match(w)||[]}},75703:function(e){e.exports=function(e){return function(){return e}}},53816:function(e,t,n){var r=n(69389),o=n(79833),i=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,a=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");e.exports=function(e){return(e=o(e))&&e.replace(i,r).replace(a,"")}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},27361:function(e,t,n){var r=n(97786);e.exports=function(e,t,n){var o=null==e?void 0:r(e,t);return void 0===o?n:o}},79095:function(e,t,n){var r=n(13),o=n(222);e.exports=function(e,t){return null!=e&&o(e,t,r)}},6557:function(e){e.exports=function(e){return e}},35694:function(e,t,n){var r=n(9454),o=n(37005),i=Object.prototype,a=i.hasOwnProperty,u=i.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(e){return o(e)&&a.call(e,"callee")&&!u.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,n){var r=n(23560),o=n(41780);e.exports=function(e){return null!=e&&o(e.length)&&!r(e)}},29246:function(e,t,n){var r=n(98612),o=n(37005);e.exports=function(e){return o(e)&&r(e)}},44144:function(e,t,n){e=n.nmd(e);var r=n(55639),o=n(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,u=a&&a.exports===i?r.Buffer:void 0,c=u?u.isBuffer:void 0;e.exports=c||o},41609:function(e,t,n){var r=n(280),o=n(64160),i=n(35694),a=n(1469),u=n(98612),c=n(44144),s=n(25726),l=n(36719),f=Object.prototype.hasOwnProperty;e.exports=function(e){if(null==e)return!0;if(u(e)&&(a(e)||"string"==typeof e||"function"==typeof e.splice||c(e)||l(e)||i(e)))return!e.length;var t=o(e);if("[object Map]"==t||"[object Set]"==t)return!e.size;if(s(e))return!r(e).length;for(var n in e)if(f.call(e,n))return!1;return!0}},23560:function(e,t,n){var r=n(44239),o=n(13218);e.exports=function(e){if(!o(e))return!1;var t=r(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},68630:function(e,t,n){var r=n(44239),o=n(85924),i=n(37005),a=Object.prototype,u=Function.prototype.toString,c=a.hasOwnProperty,s=u.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=r(e))return!1;var t=o(e);if(null===t)return!0;var n=c.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&u.call(n)==s}},33448:function(e,t,n){var r=n(44239),o=n(37005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==r(e)}},36719:function(e,t,n){var r=n(38749),o=n(7518),i=n(31167),a=i&&i.isTypedArray,u=a?o(a):r;e.exports=u},3674:function(e,t,n){var r=n(14636),o=n(280),i=n(98612);e.exports=function(e){return i(e)?r(e):o(e)}},81704:function(e,t,n){var r=n(14636),o=n(10313),i=n(98612);e.exports=function(e){return i(e)?r(e,!0):o(e)}},66604:function(e,t,n){var r=n(89465),o=n(47816),i=n(67206);e.exports=function(e,t){var n={};return t=i(t,3),o(e,function(e,o,i){r(n,o,t(e,o,i))}),n}},88306:function(e,t,n){var r=n(83369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(o.Cache||r),n}o.Cache=r,e.exports=o},82492:function(e,t,n){var r=n(42980),o=n(21463)(function(e,t,n){r(e,t,n)});e.exports=o},39601:function(e,t,n){var r=n(40371),o=n(79152),i=n(15403),a=n(40327);e.exports=function(e){return i(e)?r(a(e)):o(e)}},18029:function(e,t,n){var r=n(35393),o=n(11700),i=r(function(e,t,n){return e+(n?" ":"")+o(t)});e.exports=i},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},59881:function(e,t,n){var r=n(98363),o=n(81704);e.exports=function(e){return r(e,o(e))}},79833:function(e,t,n){var r=n(80531);e.exports=function(e){return null==e?"":r(e)}},11700:function(e,t,n){var r=n(98805)("toUpperCase");e.exports=r},58748:function(e,t,n){var r=n(49029),o=n(93157),i=n(79833),a=n(2757);e.exports=function(e,t,n){return(e=i(e),void 0===(t=n?void 0:t))?o(e)?a(e):r(e):e.match(t)||[]}},18013:function(e,t,n){"use strict";var r=n(28336),o=n(18040),i=n(24085),a=Object.prototype.toString;e.exports=function(e){return"[object Date]"===a.call(e)?e:"[object Number]"===a.call(e)?new Date(e<315576e5?1e3*e:e):r.is(e)?r.parse(e):o.is(e)?o.parse(e):i.is(e)?i.parse(e):new Date(e)}},18040:function(e,t){"use strict";var n=/\d{13}/;t.is=function(e){return n.test(e)},t.parse=function(e){return new Date(e=parseInt(e,10))}},24085:function(e,t){"use strict";var n=/\d{10}/;t.is=function(e){return n.test(e)},t.parse=function(e){return new Date(1e3*parseInt(e,10))}},23196:function(e,t,n){"use strict";n.d(t,{Ze:function(){return u},u8:function(){return d}});var r,o,i,a,u=((r={})[r.NOT_IN_EXPERIMENT=-1]="NOT_IN_EXPERIMENT",r[r.CONTROL=0]="CONTROL",r),c=((o={})[o.PAGELOAD=0]="PAGELOAD",o[o.DEFERRED=1]="DEFERRED",o[o.EDGE=2]="EDGE",o),s=((i=s||{})[i.DESKTOP_ONLY=0]="DESKTOP_ONLY",i[i.NON_DESKTOP=1]="NON_DESKTOP",i),l=((a=l||{})[a.DESKTOP_MIN_WIDTH=961]="DESKTOP_MIN_WIDTH",a[a.DESKTOP_1120=1120]="DESKTOP_1120",a[a.TABLET_MAX_WIDTH=960]="TABLET_MAX_WIDTH",a),f={dev_only_experiment:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},pln_005_social_proof_iteration:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},suf_014_en_gb_copy:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},pro_004_card_style_footer_cta:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},chex_024_lihp_paid_domain:{enrollmentType:c.EDGE,numVariants:1,variantLabels:["Control","Variant 1"]},fd_004_media_alignment:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},pro_006_product_ai:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},pnp_014_south_east_asia_discount:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},pnp_014_south_east_asia_discount_redirect:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},cam_002_sales_modal:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},mtm_drive_trial_starts_from_logged_in_interstitial_page_gb:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Flag off","Flag on"]},chex_yir_2024:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["off","on"]},slg_023_demo_form_copy:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:1,variantLabels:["Control","Variant 1"]},app_002_lead_form_cta:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},tea_005_repositioned_roi:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},tem_013_templates_hero:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},fd_003_image_feature_cards:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:1,variantLabels:["Control","Variant 1"]},slg_025_form_position:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:1,variantLabels:["Control","Variant 1"]},pln_008_hero_video:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},nav_001_product_cta:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},pro_001_hero_cta:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},slg_026_full_width_cta:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},pnp_001_remove_innecesary:{enrollmentType:c.PAGELOAD,minWidth:l.DESKTOP_MIN_WIDTH,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},int_001_homepage_video:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]},nav_008_remove_enterprise:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},use_001_hero_cta_interaction:{enrollmentType:c.PAGELOAD,numVariants:2,variantLabels:["Control","Variant 1","Variant 2"]},ja_004_homepage_video:{enrollmentType:c.PAGELOAD,numVariants:1,variantLabels:["Control","Variant 1"]}},d={REDIRECT_TESTS:{pnp_014_south_east_asia_discount_redirect:[{redirectType:"none"},{redirectType:"external",externalUrl:"https://app.asana.com/-/upgrade?coupon&coupon_code=QVBBQy0zNyUtRGlzY291bnQ"}]},ENROLLMENT_TYPES:c,DEVICE_TYPE_FILTER:s,getExperiments:function(){return f}}},83556:function(e,t,n){"use strict";n.d(t,{Mv:function(){return r},QC:function(){return o},jV:function(){return i}});var r={IS_LOGGED_IN:"is_logged_in",LAST_DOMAIN:"last_domain",BUCKETING_ID:"logged_out_uuid",GOOGLE_CLIENT_ID:"_ga",CAN_VIEW_BILLING_INTERSTITIAL_UPGRADE_FLOW:"can_view_upgrade_flow",LOGGED_IN_HOME_ENABLED:"enable_asanadotcom_homepage",LOGGED_IN_HOME_DOMAIN_TEST_BUCKET:"lihp_domain_test_bucket",LOGGED_IN_HOME_DOMAIN_TEST_SHOULD_SHOW_MODAL:"lihp_domain_test_should_show_modal",IS_ORG_PAYING_BILLING_OWNER:"is_org_paying_billing_owner",USER_GEO:"user_geo",USER_IS_FREE_OR_TRIALING:"is_free_or_trialing",LANGUAGE_PREFERENCE:"lang_pref"},o="asanadotcomLoggedOutExperimentEnrollment",i="expSplitPoint"},19380:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r}});var r=(0,n(53050).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},96807:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"actionAsyncStorage",{enumerable:!0,get:function(){return r.actionAsyncStorage}});var r=n(19380);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},53050:function(e,t,n){"use strict";var r=n(23322),o=n(16089);Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"createAsyncLocalStorage",{enumerable:!0,get:function(){return c}});var i=Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),a=function(){function e(){r(this,e)}return o(e,[{key:"disable",value:function(){throw i}},{key:"getStore",value:function(){}},{key:"run",value:function(){throw i}},{key:"exit",value:function(){throw i}},{key:"enterWith",value:function(){throw i}}]),e}(),u=globalThis.AsyncLocalStorage;function c(){return u?new u:new a}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},31892:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return c.ReadonlyURLSearchParams},RedirectType:function(){return c.RedirectType},ServerInsertedHTMLContext:function(){return s.ServerInsertedHTMLContext},notFound:function(){return c.notFound},permanentRedirect:function(){return c.permanentRedirect},redirect:function(){return c.redirect},useParams:function(){return p},usePathname:function(){return f},useRouter:function(){return d},useSearchParams:function(){return l},useSelectedLayoutSegment:function(){return v},useSelectedLayoutSegments:function(){return h},useServerInsertedHTML:function(){return s.useServerInsertedHTML}});var r=n(67294),o=n(4302),i=n(69034),a=n(85629),u=n(27937),c=n(43413),s=n(71645);function l(){var e=(0,r.useContext)(i.SearchParamsContext);return(0,r.useMemo)(function(){return e?new c.ReadonlyURLSearchParams(e):null},[e])}function f(){return(0,r.useContext)(i.PathnameContext)}function d(){var e=(0,r.useContext)(o.AppRouterContext);if(null===e)throw Error("invariant expected app router to be mounted");return e}function p(){return(0,r.useContext)(i.PathParamsContext)}function h(e){void 0===e&&(e="children");var t=(0,r.useContext)(o.LayoutRouterContext);return t?function e(t,n,r,o){if(void 0===r&&(r=!0),void 0===o&&(o=[]),r)i=t[1][n];else{var i,c,s=t[1];i=null!=(c=s.children)?c:Object.values(s)[0]}if(!i)return o;var l=i[0],f=(0,a.getSegmentValue)(l);return!f||f.startsWith(u.PAGE_SEGMENT_KEY)?o:(o.push(f),e(i,n,!1,o))}(t.tree,e):null}function v(e){void 0===e&&(e="children");var t=h(e);if(!t||0===t.length)return null;var n="children"===e?t[0]:t[t.length-1];return n===u.DEFAULT_SEGMENT_KEY?null:n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},43413:function(e,t,n){"use strict";var r=n(16089),o=n(23322),i=n(55667),a=n(81961),u=n(67731),c=n(27033);function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var n,r=u(e);return n=t?Reflect.construct(r,arguments,u(this).constructor):r.apply(this,arguments),a(this,n)}}Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ReadonlyURLSearchParams:function(){return p},RedirectType:function(){return l.RedirectType},notFound:function(){return f.notFound},permanentRedirect:function(){return l.permanentRedirect},redirect:function(){return l.redirect}});var l=n(1751),f=n(71124),d=function(e){i(n,e);var t=s(n);function n(){return o(this,n),t.call(this,"Method unavailable on `ReadonlyURLSearchParams`. Read more: https://nextjs.org/docs/app/api-reference/functions/use-search-params#updating-searchparams")}return r(n)}(c(Error)),p=function(e){i(n,e);var t=s(n);function n(){return o(this,n),t.apply(this,arguments)}return r(n,[{key:"append",value:function(){throw new d}},{key:"delete",value:function(){throw new d}},{key:"set",value:function(){throw new d}},{key:"sort",value:function(){throw new d}}]),n}(c(URLSearchParams));("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},71124:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{isNotFoundError:function(){return o},notFound:function(){return r}});var n="NEXT_NOT_FOUND";function r(){var e=Error(n);throw e.digest=n,e}function o(e){return"object"==typeof e&&null!==e&&"digest"in e&&e.digest===n}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},44980:function(e,t){"use strict";var n,r;Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"RedirectStatusCode",{enumerable:!0,get:function(){return n}}),(r=n||(n={}))[r.SeeOther=303]="SeeOther",r[r.TemporaryRedirect=307]="TemporaryRedirect",r[r.PermanentRedirect=308]="PermanentRedirect",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},1751:function(e,t,n){"use strict";var r,o,i=n(43171);Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{RedirectType:function(){return o},getRedirectError:function(){return l},getRedirectStatusCodeFromError:function(){return m},getRedirectTypeFromError:function(){return v},getURLFromRedirectError:function(){return h},isRedirectError:function(){return p},permanentRedirect:function(){return d},redirect:function(){return f}});var a=n(73495),u=n(96807),c=n(44980),s="NEXT_REDIRECT";function l(e,t,n){void 0===n&&(n=c.RedirectStatusCode.TemporaryRedirect);var r=Error(s);r.digest=s+";"+t+";"+e+";"+n+";";var o=a.requestAsyncStorage.getStore();return o&&(r.mutableCookies=o.mutableCookies),r}function f(e,t){void 0===t&&(t="replace");var n=u.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?c.RedirectStatusCode.SeeOther:c.RedirectStatusCode.TemporaryRedirect)}function d(e,t){void 0===t&&(t="replace");var n=u.actionAsyncStorage.getStore();throw l(e,t,(null==n?void 0:n.isAction)?c.RedirectStatusCode.SeeOther:c.RedirectStatusCode.PermanentRedirect)}function p(e){if("object"!=typeof e||null===e||!("digest"in e)||"string"!=typeof e.digest)return!1;var t=i(e.digest.split(";",4),4),n=t[0],r=t[1],o=t[2],a=Number(t[3]);return n===s&&("replace"===r||"push"===r)&&"string"==typeof o&&!isNaN(a)&&a in c.RedirectStatusCode}function h(e){return p(e)?e.digest.split(";",3)[2]:null}function v(e){if(!p(e))throw Error("Not a redirect error");return e.digest.split(";",2)[1]}function m(e){if(!p(e))throw Error("Not a redirect error");return Number(e.digest.split(";",4)[3])}(r=o||(o={})).push="push",r.replace="replace",("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50904:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"requestAsyncStorage",{enumerable:!0,get:function(){return r}});var r=(0,n(53050).createAsyncLocalStorage)();("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},73495:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{getExpectedRequestStore:function(){return o},requestAsyncStorage:function(){return r.requestAsyncStorage}});var r=n(50904);function o(e){var t=r.requestAsyncStorage.getStore();if(t)return t;throw Error("`"+e+"` was called outside a request scope. Read more: https://nextjs.org/docs/messages/next-dynamic-api-wrong-context")}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},85629:function(e,t){"use strict";function n(e){return Array.isArray(e)?e[1]:e}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getSegmentValue",{enumerable:!0,get:function(){return n}}),("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},41293:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AmpStateContext",{enumerable:!0,get:function(){return r}});var r=n(38754)._(n(67294)).default.createContext({})},19017:function(e,t){"use strict";function n(e){var t=void 0===e?{}:e,n=t.ampFirst,r=t.hybrid,o=t.hasQuery;return void 0!==n&&n||void 0!==r&&r&&void 0!==o&&o}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isInAmpMode",{enumerable:!0,get:function(){return n}})},76985:function(e,t,n){"use strict";var r=n(20968);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t0){r=!0;var o=e.key.slice(e.key.indexOf("$")+1);n.has(o)?t=!1:n.add(o)}switch(e.type){case"title":case"base":i.has(e.type)?t=!1:i.add(e.type);break;case"meta":for(var c=0,s=v.length;c MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE */var r=n(20968),o=n(23322),i=n(16089);function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function u(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(i);try{for(n.s();!(t=n.n()).done;){var r=t.value;if(e.includes(r))return o()}}catch(e){n.e(e)}finally{n.f()}})}function a(e,t){o(),(i=s.default.useContext(l.LoadableContext))&&Array.isArray(n.modules)&&n.modules.forEach(function(e){i(e)});var i,a=s.default.useSyncExternalStore(r.subscribe,r.getCurrentValue,r.getCurrentValue);return s.default.useImperativeHandle(t,function(){return{retry:r.retry}},[]),s.default.useMemo(function(){var t;return a.loading||a.error?s.default.createElement(n.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:r.retry}):a.loaded?s.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return a.preload=function(){return o()},a.displayName="LoadableComponent",s.default.forwardRef(a)}(h,e)}function g(e,t){for(var n=[];e.length;){var r=e.pop();n.push(r(t))}return Promise.all(n).then(function(){if(e.length)return g(e,t)})}m.preloadAll=function(){return new Promise(function(e,t){g(f).then(e,t)})},m.preloadReady=function(e){return void 0===e&&(e=[]),new Promise(function(t){var n=function(){return p=!0,t()};g(d,e).then(n,n)})},window.__NEXT_PRELOADREADY=m.preloadReady;var y=m},71645:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{ServerInsertedHTMLContext:function(){return o},useServerInsertedHTML:function(){return i}});var r=n(61757)._(n(67294)),o=r.default.createContext(null);function i(e){var t=(0,r.useContext)(o);t&&t(e)}},7072:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return a}});var r=n(67294),o=r.useLayoutEffect,i=r.useEffect;function a(e){var t=e.headManager,n=e.reduceComponentsToState;function a(){if(t&&t.mountedInstances){var o=r.Children.toArray(Array.from(t.mountedInstances).filter(Boolean));t.updateHead(n(o,e))}}return o(function(){var n;return null==t||null==(n=t.mountedInstances)||n.add(e.children),function(){var n;null==t||null==(n=t.mountedInstances)||n.delete(e.children)}}),o(function(){return t&&(t._pendingUpdate=a),function(){t&&(t._pendingUpdate=a)}}),i(function(){return t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null),function(){t&&t._pendingUpdate&&(t._pendingUpdate(),t._pendingUpdate=null)}}),null}},42877:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"warnOnce",{enumerable:!0,get:function(){return n}});var n=function(e){}},67834:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return b}});var r=n(59499),o=n(4730);n(67294);var i=n(16397),a=n(38841),u=n(5152),c=n.n(u),s={approval:c()(function(){return n.e(63282).then(n.bind(n,63282))},{loadableGenerated:{webpack:function(){return[63282]}}}),admin:c()(function(){return n.e(85360).then(n.bind(n,85360))},{loadableGenerated:{webpack:function(){return[85360]}}}),apps:c()(function(){return n.e(60515).then(n.bind(n,60515))},{loadableGenerated:{webpack:function(){return[60515]}}}),"asana-intelligence":c()(function(){return n.e(43173).then(n.bind(n,43173))},{loadableGenerated:{webpack:function(){return[43173]}}}),"arrow-down":c()(function(){return n.e(22736).then(n.bind(n,22736))},{loadableGenerated:{webpack:function(){return[22736]}}}),"arrow-left":c()(function(){return n.e(1840).then(n.bind(n,1840))},{loadableGenerated:{webpack:function(){return[1840]}}}),"arrow-right":c()(function(){return n.e(99167).then(n.bind(n,99167))},{loadableGenerated:{webpack:function(){return[99167]}}}),"arrow-up":c()(function(){return n.e(85869).then(n.bind(n,85869))},{loadableGenerated:{webpack:function(){return[85869]}}}),"asana-logo":c()(function(){return n.e(74145).then(n.bind(n,74145))},{loadableGenerated:{webpack:function(){return[74145]}}}),automation:c()(function(){return n.e(22024).then(n.bind(n,22024))},{loadableGenerated:{webpack:function(){return[22024]}}}),bell:c()(function(){return n.e(44916).then(n.bind(n,44916))},{loadableGenerated:{webpack:function(){return[44916]}}}),"bell-fill":c()(function(){return n.e(40434).then(n.bind(n,40434))},{loadableGenerated:{webpack:function(){return[40434]}}}),board:c()(function(){return n.e(19136).then(n.bind(n,19136))},{loadableGenerated:{webpack:function(){return[19136]}}}),brief:c()(function(){return n.e(47166).then(n.bind(n,47166))},{loadableGenerated:{webpack:function(){return[47166]}}}),briefcase:c()(function(){return n.e(84059).then(n.bind(n,84059))},{loadableGenerated:{webpack:function(){return[84059]}}}),building:c()(function(){return n.e(49160).then(n.bind(n,49160))},{loadableGenerated:{webpack:function(){return[49160]}}}),bullet:c()(function(){return n.e(69276).then(n.bind(n,69276))},{loadableGenerated:{webpack:function(){return[69276]}}}),bundle:c()(function(){return n.e(86281).then(n.bind(n,86281))},{loadableGenerated:{webpack:function(){return[86281]}}}),calendar:c()(function(){return n.e(33077).then(n.bind(n,33077))},{loadableGenerated:{webpack:function(){return[33077]}}}),"calendar-star":c()(function(){return n.e(41500).then(n.bind(n,41500))},{loadableGenerated:{webpack:function(){return[41500]}}}),"capacity-planning":c()(function(){return n.e(7720).then(n.bind(n,7720))},{loadableGenerated:{webpack:function(){return[7720]}}}),"caret-down":c()(function(){return n.e(99265).then(n.bind(n,99265))},{loadableGenerated:{webpack:function(){return[99265]}}}),"caret-left":c()(function(){return n.e(62883).then(n.bind(n,62883))},{loadableGenerated:{webpack:function(){return[62883]}}}),"caret-right":c()(function(){return n.e(55939).then(n.bind(n,55939))},{loadableGenerated:{webpack:function(){return[55939]}}}),"caret-up":c()(function(){return n.e(69140).then(n.bind(n,69140))},{loadableGenerated:{webpack:function(){return[69140]}}}),check:c()(function(){return n.e(47863).then(n.bind(n,47863))},{loadableGenerated:{webpack:function(){return[47863]}}}),"check-circle":c()(function(){return n.e(70576).then(n.bind(n,70576))},{loadableGenerated:{webpack:function(){return[70576]}}}),"check-fill":c()(function(){return n.e(40869).then(n.bind(n,40869))},{loadableGenerated:{webpack:function(){return[40869]}}}),"chevron-down":c()(function(){return n.e(32790).then(n.bind(n,32790))},{loadableGenerated:{webpack:function(){return[32790]}}}),"chevron-left":c()(function(){return n.e(39960).then(n.bind(n,39960))},{loadableGenerated:{webpack:function(){return[39960]}}}),"chevron-right":c()(function(){return n.e(25302).then(n.bind(n,25302))},{loadableGenerated:{webpack:function(){return[25302]}}}),"chevron-up":c()(function(){return n.e(92427).then(n.bind(n,92427))},{loadableGenerated:{webpack:function(){return[92427]}}}),clock:c()(function(){return n.e(12523).then(n.bind(n,12523))},{loadableGenerated:{webpack:function(){return[12523]}}}),dashboard:c()(function(){return n.e(80644).then(n.bind(n,80644))},{loadableGenerated:{webpack:function(){return[80644]}}}),dependency:c()(function(){return n.e(36961).then(n.bind(n,36961))},{loadableGenerated:{webpack:function(){return[36961]}}}),download:c()(function(){return n.e(99596).then(n.bind(n,99596))},{loadableGenerated:{webpack:function(){return[99596]}}}),edit:c()(function(){return n.e(60546).then(n.bind(n,60546))},{loadableGenerated:{webpack:function(){return[60546]}}}),error:c()(function(){return n.e(53164).then(n.bind(n,53164))},{loadableGenerated:{webpack:function(){return[53164]}}}),"error-fill":c()(function(){return n.e(97640).then(n.bind(n,97640))},{loadableGenerated:{webpack:function(){return[97640]}}}),"external-link":c()(function(){return n.e(48037).then(n.bind(n,48037))},{loadableGenerated:{webpack:function(){return[48037]}}}),facebook:c()(function(){return n.e(95495).then(n.bind(n,95495))},{loadableGenerated:{webpack:function(){return[95495]}}}),field:c()(function(){return n.e(88605).then(n.bind(n,88605))},{loadableGenerated:{webpack:function(){return[88605]}}}),"field-add":c()(function(){return n.e(82258).then(n.bind(n,82258))},{loadableGenerated:{webpack:function(){return[82258]}}}),filter:c()(function(){return n.e(8822).then(n.bind(n,8822))},{loadableGenerated:{webpack:function(){return[8822]}}}),form:c()(function(){return n.e(83489).then(n.bind(n,83489))},{loadableGenerated:{webpack:function(){return[83489]}}}),globe:c()(function(){return n.e(89477).then(n.bind(n,89477))},{loadableGenerated:{webpack:function(){return[89477]}}}),goal:c()(function(){return n.e(89321).then(n.bind(n,89321))},{loadableGenerated:{webpack:function(){return[89321]}}}),hamburger:c()(function(){return n.e(5259).then(n.bind(n,5259))},{loadableGenerated:{webpack:function(){return[5259]}}}),home:c()(function(){return n.e(44823).then(n.bind(n,44823))},{loadableGenerated:{webpack:function(){return[44823]}}}),info:c()(function(){return n.e(74157).then(n.bind(n,74157))},{loadableGenerated:{webpack:function(){return[74157]}}}),"info-fill":c()(function(){return n.e(65576).then(n.bind(n,65576))},{loadableGenerated:{webpack:function(){return[65576]}}}),instagram:c()(function(){return n.e(30647).then(n.bind(n,30647))},{loadableGenerated:{webpack:function(){return[30647]}}}),language:c()(function(){return n.e(43112).then(n.bind(n,43112))},{loadableGenerated:{webpack:function(){return[43112]}}}),launch:c()(function(){return n.e(98394).then(n.bind(n,98394))},{loadableGenerated:{webpack:function(){return[98394]}}}),lightbulb:c()(function(){return n.e(59598).then(n.bind(n,59598))},{loadableGenerated:{webpack:function(){return[59598]}}}),link:c()(function(){return n.e(27634).then(n.bind(n,27634))},{loadableGenerated:{webpack:function(){return[27634]}}}),linkedin:c()(function(){return n.e(83562).then(n.bind(n,83562))},{loadableGenerated:{webpack:function(){return[83562]}}}),list:c()(function(){return n.e(72817).then(n.bind(n,72817))},{loadableGenerated:{webpack:function(){return[72817]}}}),location:c()(function(){return n.e(72621).then(n.bind(n,72621))},{loadableGenerated:{webpack:function(){return[72621]}}}),"location-unfilled":c()(function(){return n.e(35207).then(n.bind(n,35207))},{loadableGenerated:{webpack:function(){return[35207]}}}),lock:c()(function(){return n.e(2449).then(n.bind(n,2449))},{loadableGenerated:{webpack:function(){return[2449]}}}),"lock-fill":c()(function(){return n.e(86367).then(n.bind(n,86367))},{loadableGenerated:{webpack:function(){return[86367]}}}),mail:c()(function(){return n.e(73484).then(n.bind(n,73484))},{loadableGenerated:{webpack:function(){return[73484]}}}),message:c()(function(){return n.e(83956).then(n.bind(n,83956))},{loadableGenerated:{webpack:function(){return[83956]}}}),"message-group":c()(function(){return n.e(92162).then(n.bind(n,92162))},{loadableGenerated:{webpack:function(){return[92162]}}}),milestone:c()(function(){return n.e(18452).then(n.bind(n,18452))},{loadableGenerated:{webpack:function(){return[18452]}}}),"milestone-fill":c()(function(){return n.e(66937).then(n.bind(n,66937))},{loadableGenerated:{webpack:function(){return[66937]}}}),minus:c()(function(){return n.e(46988).then(n.bind(n,46988))},{loadableGenerated:{webpack:function(){return[46988]}}}),mobile:c()(function(){return n.e(72825).then(n.bind(n,72825))},{loadableGenerated:{webpack:function(){return[72825]}}}),more:c()(function(){return n.e(75902).then(n.bind(n,75902))},{loadableGenerated:{webpack:function(){return[75902]}}}),"more-vertical":c()(function(){return n.e(7691).then(n.bind(n,7691))},{loadableGenerated:{webpack:function(){return[7691]}}}),multihome:c()(function(){return n.e(42925).then(n.bind(n,42925))},{loadableGenerated:{webpack:function(){return[42925]}}}),"my-task":c()(function(){return n.e(40550).then(n.bind(n,40550))},{loadableGenerated:{webpack:function(){return[40550]}}}),pause:c()(function(){return n.e(92946).then(n.bind(n,92946))},{loadableGenerated:{webpack:function(){return[92946]}}}),people:c()(function(){return n.e(30267).then(n.bind(n,30267))},{loadableGenerated:{webpack:function(){return[30267]}}}),play:c()(function(){return n.e(80090).then(n.bind(n,80090))},{loadableGenerated:{webpack:function(){return[80090]}}}),"plus-fill":c()(function(){return n.e(61215).then(n.bind(n,61215))},{loadableGenerated:{webpack:function(){return[61215]}}}),plus:c()(function(){return n.e(32194).then(n.bind(n,32194))},{loadableGenerated:{webpack:function(){return[32194]}}}),"plus-small":c()(function(){return n.e(74153).then(n.bind(n,74153))},{loadableGenerated:{webpack:function(){return[74153]}}}),portfolio:c()(function(){return n.e(77869).then(n.bind(n,77869))},{loadableGenerated:{webpack:function(){return[77869]}}}),premium:c()(function(){return n.e(56002).then(n.bind(n,56002))},{loadableGenerated:{webpack:function(){return[56002]}}}),project:c()(function(){return n.e(12211).then(n.bind(n,12211))},{loadableGenerated:{webpack:function(){return[12211]}}}),"project-view":c()(function(){return n.e(30865).then(n.bind(n,30865))},{loadableGenerated:{webpack:function(){return[30865]}}}),proof:c()(function(){return n.e(93971).then(n.bind(n,93971))},{loadableGenerated:{webpack:function(){return[93971]}}}),question:c()(function(){return n.e(80294).then(n.bind(n,80294))},{loadableGenerated:{webpack:function(){return[80294]}}}),"question-circle":c()(function(){return n.e(10631).then(n.bind(n,10631))},{loadableGenerated:{webpack:function(){return[10631]}}}),reporting:c()(function(){return n.e(60294).then(n.bind(n,60294))},{loadableGenerated:{webpack:function(){return[60294]}}}),search:c()(function(){return n.e(32510).then(n.bind(n,32510))},{loadableGenerated:{webpack:function(){return[32510]}}}),section:c()(function(){return n.e(49395).then(n.bind(n,49395))},{loadableGenerated:{webpack:function(){return[49395]}}}),settings:c()(function(){return n.e(94250).then(n.bind(n,94250))},{loadableGenerated:{webpack:function(){return[94250]}}}),"settings-fill":c()(function(){return n.e(32972).then(n.bind(n,32972))},{loadableGenerated:{webpack:function(){return[32972]}}}),share:c()(function(){return n.e(72727).then(n.bind(n,72727))},{loadableGenerated:{webpack:function(){return[72727]}}}),subtask:c()(function(){return n.e(61859).then(n.bind(n,61859))},{loadableGenerated:{webpack:function(){return[61859]}}}),template:c()(function(){return n.e(2873).then(n.bind(n,2873))},{loadableGenerated:{webpack:function(){return[2873]}}}),threads:c()(function(){return n.e(59814).then(n.bind(n,59814))},{loadableGenerated:{webpack:function(){return[59814]}}}),timeline:c()(function(){return n.e(7510).then(n.bind(n,7510))},{loadableGenerated:{webpack:function(){return[7510]}}}),"time-tracking":c()(function(){return n.e(82875).then(n.bind(n,82875))},{loadableGenerated:{webpack:function(){return[82875]}}}),trash:c()(function(){return n.e(14723).then(n.bind(n,14723))},{loadableGenerated:{webpack:function(){return[14723]}}}),"x-twitter":c()(function(){return n.e(35595).then(n.bind(n,35595))},{loadableGenerated:{webpack:function(){return[35595]}}}),undo:c()(function(){return n.e(69119).then(n.bind(n,69119))},{loadableGenerated:{webpack:function(){return[69119]}}}),user:c()(function(){return n.e(45945).then(n.bind(n,45945))},{loadableGenerated:{webpack:function(){return[45945]}}}),users:c()(function(){return n.e(51243).then(n.bind(n,51243))},{loadableGenerated:{webpack:function(){return[51243]}}}),"user-plus-sign":c()(function(){return n.e(49524).then(n.bind(n,49524))},{loadableGenerated:{webpack:function(){return[49524]}}}),workflow:c()(function(){return n.e(36754).then(n.bind(n,36754))},{loadableGenerated:{webpack:function(){return[36754]}}}),workload:c()(function(){return n.e(46437).then(n.bind(n,46437))},{loadableGenerated:{webpack:function(){return[46437]}}}),x:c()(function(){return n.e(80123).then(n.bind(n,80123))},{loadableGenerated:{webpack:function(){return[80123]}}}),"x-fill":c()(function(){return n.e(50896).then(n.bind(n,50896))},{loadableGenerated:{webpack:function(){return[50896]}}}),"x-small":c()(function(){return n.e(53833).then(n.bind(n,53833))},{loadableGenerated:{webpack:function(){return[53833]}}}),youtube:c()(function(){return n.e(49632).then(n.bind(n,49632))},{loadableGenerated:{webpack:function(){return[49632]}}}),"check-filled":c()(function(){return n.e(40869).then(n.bind(n,40869))},{loadableGenerated:{webpack:function(){return[40869]}}}),comment:c()(function(){return n.e(11523).then(n.bind(n,11523))},{loadableGenerated:{webpack:function(){return[11523]}}}),desktop:c()(function(){return n.e(94041).then(n.bind(n,94041))},{loadableGenerated:{webpack:function(){return[94041]}}}),rocket:c()(function(){return n.e(94069).then(n.bind(n,94069))},{loadableGenerated:{webpack:function(){return[94069]}}})};Object.keys(s);var l=n(56429),f=n(8003),d=n(35944),p=["type","title","desc","hidden","heightOrWidthVal","shouldShowoverflowHidden"];function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function v(e){for(var t=1;t0&&(t.className="".concat(t.className," ").concat(r.join(" ")).trim())}}},[e])}},56429:function(e,t,n){"use strict";n.d(t,{w:function(){return c}});var r=n(59499),o=n(97248),i=n(67294),a=n(35944);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function c(e,t){return function(n){var c=(0,i.useContext)(o.C);return(0,a.tZ)(c?t:e,function(e){for(var t=1;te.length)&&(t=e.length);for(var n=0,r=Array(t);n=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}(document.cookie.split("; ").map(function(e){return e.split("=")}));try{for(n.s();!(e=n.n()).done;){var r=e.value,o=decodeURI(r[1]);t[r[0]]="null"===o?null:o}}catch(e){n.e(e)}finally{n.f()}return t}),u=n[0],f=n[1];return(0,a.tZ)(l.Provider,{value:{cookies:u,setCookie:function(e,t,n){var i=n.daysToExpire,a=n.groupId,u=n.isCrossDomain,s=n.path;(function(e,t,n,r,i,a){var u,c,s,l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"Lax";if(n!==o.En.NECESSARY&&!((u=window.OptanonActiveGroups)&&u.includes(n))){window.AsanaStorage.pendingCookies.push({name:e,value:t,groupId:n,expires_in_days:r,cross_domain:i,path:a});return}r=r||30,i=void 0===i||i;var f=new Date;f.setTime(f.getTime()+864e5*r);var d="expires="+f.toUTCString(),p=a||"/";document.cookie=e+"="+t+";"+d+";path="+p+(c=i,s=/netlify\.app/.test(window.location.hostname),c&&!s?";domain=.asana.com":"")+";SameSite=".concat(l)+";secure"})(e,t,a,void 0===i?30:i,void 0===u||u,void 0===s?"/":s),f(function(n){return c(c({},n),{},(0,r.Z)({},e,t))})}},children:t})}var d={},p=function(){return!0}},14991:function(e){e.exports={isSandbox:!1,isDevelopment:!1,isTest:!1,isStaging:!1,isProduction:!0,isQaEnv:!1,isPreview:!1,isDeployPreview:!1,env:"production"}},42601:function(e,t,n){var r=n(23322),o=n(16089),i=function(){"use strict";function e(){r(this,e)}return o(e,[{key:"info",value:function(e){console.info("INFO:",e)}},{key:"warn",value:function(e){console.warn("WARN",e)}},{key:"error",value:function(e){console.error("ERROR",e)}}]),e}();e.exports=i},29326:function(e,t,n){"use strict";n.d(t,{ts:function(){return i}});var r=n(23196);n(83556);var o=n(29793);function i(e){var t=r.u8.getExperiments()[e];if(void 0===t)return r.Ze.CONTROL;var n=(0,o.dz)();return void 0!==t.minWidth&&nt.maxWidth?r.Ze.CONTROL:window.experimentVariants&&window.experimentVariants[e]||r.Ze.CONTROL}},54401:function(e,t,n){"use strict";var r=n(67294).createContext({global_CTAgoToAppDesktop:"",global_CTAlaunchAsana:"",global_CtaTrialHref:"",global_CTAsignupEmail:"",global_CtaFreeSignupHref:"",preview:!1,microcopy:{},footerColumns:[],header_navigation:[]});r.displayName="GlobalsContext",t.Z=r},67925:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=(0,r.useState)(function(){return i(e)}),n=t[0],o=t[1];return(0,r.useEffect)(function(){o(i(e))},[e]),(0,r.useDebugValue)(n),{cookieValue:n,setCookieValue:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.expiresInDays,i=n.groupId,a=n.crossDomain,u=n.path;window.AsanaStorage.setCookie(e,t,i,void 0===r?30:r,void 0===a||a,void 0===u?"/":u),o(t)}}}function i(e){if(!(null!==(t=window)&&void 0!==t&&null!==(t=t.AsanaStorage)&&void 0!==t&&t.getCookie))return null;var t,n=window.AsanaStorage.getCookie(e);return"null"===n?null:n}},29793:function(e,t,n){"use strict";n.d(t,{ZP:function(){return c},dz:function(){return u}});var r=n(67294),o=n(91225),i=o.u3[o.Uo.MOBILE_480].width,a=o.u3[o.Uo.TABLET_960].width;function u(){return document?Math.max(document.body.scrollWidth,document.documentElement.scrollWidth,document.body.offsetWidth,document.documentElement.offsetWidth,document.documentElement.clientWidth):0}function c(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.defaultViewportWidth,n=(0,r.useState)(t||0),o=n[0],c=n[1],s=(0,r.useState)(0),l=s[0],f=s[1],d=(0,r.useState)(0),p=d[0],h=d[1],v=(0,r.useState)(0),m=v[0],g=v[1],y=(0,r.useState)(0),b=y[0],w=y[1],_=(0,r.useState)(null),E=_[0],S=_[1],O=(0,r.useState)(""),T=O[0],x=O[1],k=(0,r.useState)(""),A=k[0],C=k[1];function P(){return document?Math.max(document.body.scrollHeight,document.documentElement.scrollHeight,document.body.offsetHeight,document.documentElement.offsetHeight,document.documentElement.clientHeight):0}return(0,r.useDebugValue)(o),(0,r.useDebugValue)(E),(0,r.useEffect)(function(){if(document){var e,t,n,r,o,i;return f(P()),c(u()),h(window.innerWidth),g(window.innerHeight),S((e=navigator.userAgent,t=document,e?e.includes("iPhone")&&!e.includes("Win")||e.includes("iPod")||e.includes("iPad")||t&&e.includes("Mac")&&"ontouchend"in t?"ios":e.includes("Macintosh")?"mac":e.includes("Windows")?"win":e.match(/Android|Pixel/)?"android":e.match(/MSIE/)?"ie":null:null)),x(function(){var e,t,n=navigator.userAgent;if(!n)return"";var r=n.match(/\(Mac[^)]*/)&&(null===(e=n.match(/\(Mac[^)]*/))||void 0===e?void 0:e[0])+")",o=n.match(/\(Win[^)]*/)&&(null===(t=n.match(/\(Win[^)]*/))||void 0===t?void 0:t[0])+")";return r||o||""}()),C(function(){var e,t,n=navigator.userAgent;if(!n)return"";var r=null===(e=n.match(/Firefox[^\s]*/))||void 0===e?void 0:e[0],o=null===(t=n.match(/Chrome[^\s]*/))||void 0===t?void 0:t[0],i=n.match(/Version\/[^\s]*/)&&"Safari "+n.match(/Version\/[^\s]*/);return r||o||i||""}()),w(((n=document.createElement("p")).style.width="100%",n.style.height="200px",(r=document.createElement("div")).style.position="absolute",r.style.top="0px",r.style.left="0px",r.style.visibility="hidden",r.style.width="200px",r.style.height="150px",r.style.overflow="hidden",r.appendChild(n),document.body.appendChild(r),o=n.offsetWidth,r.style.overflow="scroll",o==(i=n.offsetWidth)&&(i=r.clientWidth),document.body.removeChild(r),o-i)),window.addEventListener("resize",a),function(){window.removeEventListener("resize",a)}}function a(){c(u()),f(P()),h(window.innerWidth),g(window.innerHeight)}},[]),{isMobile:o<=i,isTablet:ia,isMobilePlatform:"ios"===E||"android"===E,platform:E,browser:A,os:T,viewportWidth:o,viewportHeight:l,scrollbarWidth:b,windowInnerWidth:p,windowInnerHeight:m}}},47794:function(e,t,n){"use strict";n.d(t,{Z:function(){return u}});var r=n(39332),o=n(67294),i=n(67925),a=n(50145);function u(){var e=(0,i.Z)("is_logged_in").cookieValue,t=(0,o.useState)(null),n=t[0],u=t[1],c=(0,r.useSearchParams)();(0,o.useDebugValue)(n),(0,o.useEffect)(function(){u("true"===e)},[]);var s=c.get(a.g.AUTH_STATUS);return s?[s===a.m.LOGGED_IN]:[n]}},53230:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(67294);function o(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:100,i=(0,r.useState)(!1),a=i[0],u=i[1],c=(0,r.useState)(new Date().getTime())[0];return(0,r.useEffect)(function(){var r=window.setInterval(function(){if(new Date().getTime()-c>t)return n&&u(!0),clearInterval(r);var o=e();if(u(o),o)return clearInterval(r)},o);return function(){return clearInterval(r)}},[]),a}},27001:function(e,t,n){var r=n(43171),o=n(20968);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function a(e){for(var t=1;t-1?t:"en"}e.exports={getPageLanguage:g,getContentfulLocale:function(e){if("string"!=typeof e)throw Error("Non string provided to contentfulLocale");if("en"===e)return m;var t=r(e.split(/[-_]/),2),n=t[0],o=t[1];return o?n.toLowerCase()+"-"+o.toUpperCase():n},getLanguageGeoCode:function(e,t){return"string"!=typeof e||"string"!=typeof t?null:"".concat(e.toLowerCase(),"-").concat(t.toLowerCase())},isPageLanguageDefault:function(e){return"en"===g(e)},removeLanguageFromPath:function(e){var t=(e=c(e)).split("/"),n=t[0];return h.indexOf(n)>-1&&t.shift(),s(t.join("/"))},DEFAULT_LANGUAGE:"en",DEFAULT_LOCALE:"US",LANGUAGES:l,LANGUAGES_NO_FALLBACKS:f,LANGUAGE_MAP:p,LANGUAGE_CODES:h,LANGUAGE_CODES_NO_FALLBACKS:d,ALL_ISO_3166_COUNTRY_CODES:["AD","AE","AF","AG","AI","AL","AM","AO","AQ","AR","AS","AT","AU","AW","AX","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BL","BM","BN","BO","BQ","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CW","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GG","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IM","IN","IO","IQ","IR","IS","IT","JE","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","ME","MF","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RS","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","SS","ST","SV","SX","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TL","TM","TN","TO","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","ZA","ZM","ZW"],ALL_LANGUAGE_CODES:v,CONTENTFUL_DEFAULT_LOCALE:m}},42811:function(e,t,n){"use strict";n.d(t,{Iy:function(){return y},iE:function(){return p}});var r=n(59499),o=n(50029),i=n(64687),a=n.n(i),u=n(32385),c=n(21102);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,u=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return a=e.done,e},e:function(e){u=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(u)throw i}}}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n0&&void 0!==arguments[0]?arguments[0]:u,n=arguments.length>1?arguments[1]:void 0,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{defaultLanguage:u,overrideExistingLanguage:!1};if(/(^http)/.test(n))return n;var i=!g(n),a=o.defaultLanguage||u;if(o.overrideExistingLanguage&&p.test(n)){var s=new RegExp("^\\/?(".concat(c.map(function(e){return e+"\\/"}).join("|"),")+"));n=n.replace(s,"")}return e=p.test(n)||t===a||!/(^[^:]*$)/.test(n)||/(^(#).+)/.test(n)||d.test(g(n))?n:i?r.join(t+l(n)):r.join(t,n),"/"+l(e)}e.exports={englishPath:function(e){for(var t=l(e).split("/");!a(t.join("/"));)t.splice(0,1);return"/"+t.join("/")},cleanPath:g,removeTrailingHashFromPath:m,useCurrentUrl:function(){var e=o();return v()+y(e.locale,e.asPath)},getCurrentDomain:v,getAllUrlParams:function(){var e=o(),t={},n=m(e.asPath).split("?"),r=n.length>1?n[1].split("&"):[];if(1===r.length&&""===r[0])return"";for(var i=0;i-1?t:t+r:A(o);return{path:u,referrer:i,search:r,title:a,url:c}},I=function(){var e=document.querySelector("link[rel='canonical']");return x(location.href,e&&e.getAttribute("href")||void 0,location.search,location.pathname,document.title,document.referrer)},R=function(e,t){void 0===t&&(t=P(I()));var n,r,o,i=e.context;"page"===e.type&&(o=e.properties&&(n=e.properties,r=Object.keys(t),Object.assign.apply(Object,(0,f.ev)([{}],r.map(function(e){var t;if(n&&Object.prototype.hasOwnProperty.call(n,e))return(t={})[e]=n[e],t}),!1))),e.properties=(0,f.pi)((0,f.pi)((0,f.pi)({},t),e.properties),e.name?{name:e.name}:{})),i.page=(0,f.pi)((0,f.pi)((0,f.pi)({},t),o),i.page)},j=n(96475),L=function(e){function t(t,n){var r=e.call(this,"".concat(t," ").concat(n))||this;return r.field=t,r}return(0,f.ZT)(t,e),t}(Error),N="is not a string",D="is not an object",M=function(e){var t,n;this.settings=e,this.createMessageId=e.createMessageId,this.onEventMethodCall=null!==(t=e.onEventMethodCall)&&void 0!==t?t:function(){},this.onFinishedEvent=null!==(n=e.onFinishedEvent)&&void 0!==n?n:function(){}},G=function(e){function t(t){var n=e.call(this,{createMessageId:function(){return"ajs-next-".concat(Date.now(),"-").concat((0,T.v4)())},onEventMethodCall:function(e){var t=e.options;n.maybeUpdateAnonId(t)},onFinishedEvent:function(e){return n.addIdentity(e),e}})||this;return n.user=t,n}return(0,f.ZT)(t,e),t.prototype.maybeUpdateAnonId=function(e){(null==e?void 0:e.anonymousId)&&this.user.anonymousId(e.anonymousId)},t.prototype.addIdentity=function(e){this.user.id()&&(e.userId=this.user.id()),this.user.anonymousId()&&(e.anonymousId=this.user.anonymousId())},t.prototype.track=function(t,n,r,o,i){var a=e.prototype.track.call(this,t,n,r,o);return R(a,i),a},t.prototype.page=function(t,n,r,o,i,a){var u=e.prototype.page.call(this,t,n,r,o,i);return R(u,a),u},t.prototype.screen=function(t,n,r,o,i,a){var u=e.prototype.screen.call(this,t,n,r,o,i);return R(u,a),u},t.prototype.identify=function(t,n,r,o,i){var a=e.prototype.identify.call(this,t,n,r,o);return R(a,i),a},t.prototype.group=function(t,n,r,o,i){var a=e.prototype.group.call(this,t,n,r,o);return R(a,i),a},t.prototype.alias=function(t,n,r,o,i){var a=e.prototype.alias.call(this,t,n,r,o);return R(a,i),a},t}(function(){function e(e){this.settings=new M(e)}return e.prototype.track=function(e,t,n,r){return this.settings.onEventMethodCall({type:"track",options:n}),this.normalize((0,f.pi)((0,f.pi)({},this.baseEvent()),{event:e,type:"track",properties:null!=t?t:{},options:(0,f.pi)({},n),integrations:(0,f.pi)({},r)}))},e.prototype.page=function(e,t,n,r,o){this.settings.onEventMethodCall({type:"page",options:r});var i,a={type:"page",properties:(0,f.pi)({},n),options:(0,f.pi)({},r),integrations:(0,f.pi)({},o)};return null!==e&&(a.category=e,a.properties=null!==(i=a.properties)&&void 0!==i?i:{},a.properties.category=e),null!==t&&(a.name=t),this.normalize((0,f.pi)((0,f.pi)({},this.baseEvent()),a))},e.prototype.screen=function(e,t,n,r,o){this.settings.onEventMethodCall({type:"screen",options:r});var i={type:"screen",properties:(0,f.pi)({},n),options:(0,f.pi)({},r),integrations:(0,f.pi)({},o)};return null!==e&&(i.category=e),null!==t&&(i.name=t),this.normalize((0,f.pi)((0,f.pi)({},this.baseEvent()),i))},e.prototype.identify=function(e,t,n,r){return this.settings.onEventMethodCall({type:"identify",options:n}),this.normalize((0,f.pi)((0,f.pi)({},this.baseEvent()),{type:"identify",userId:e,traits:null!=t?t:{},options:(0,f.pi)({},n),integrations:r}))},e.prototype.group=function(e,t,n,r){return this.settings.onEventMethodCall({type:"group",options:n}),this.normalize((0,f.pi)((0,f.pi)({},this.baseEvent()),{type:"group",traits:null!=t?t:{},options:(0,f.pi)({},n),integrations:(0,f.pi)({},r),groupId:e}))},e.prototype.alias=function(e,t,n,r){this.settings.onEventMethodCall({type:"alias",options:n});var o={userId:e,type:"alias",options:(0,f.pi)({},n),integrations:(0,f.pi)({},r)};return(null!==t&&(o.previousId=t),void 0===e)?this.normalize((0,f.pi)((0,f.pi)({},o),this.baseEvent())):this.normalize((0,f.pi)((0,f.pi)({},this.baseEvent()),o))},e.prototype.baseEvent=function(){return{integrations:{},options:{}}},e.prototype.context=function(e){var t,n=["userId","anonymousId","timestamp","messageId"];delete e.integrations;var r=Object.keys(e),o=null!==(t=e.context)&&void 0!==t?t:{},i={};return r.forEach(function(t){"context"!==t&&(n.includes(t)?(0,j.N)(i,t,e[t]):(0,j.N)(o,t,e[t]))}),[o,i]},e.prototype.normalize=function(e){var t,n,r,o,i=Object.keys(null!==(r=e.integrations)&&void 0!==r?r:{}).reduce(function(t,n){var r,o;return(0,f.pi)((0,f.pi)({},t),((r={})[n]=!!(null===(o=e.integrations)||void 0===o?void 0:o[n]),r))},{});e.options=(t=e.options||{},n=function(e,t){return void 0!==t},Object.keys(t).filter(function(e){return n(e,t[e])}).reduce(function(e,n){return e[n]=t[n],e},{}));var a=(0,f.pi)((0,f.pi)({},i),null===(o=e.options)||void 0===o?void 0:o.integrations),u=e.options?this.context(e.options):[],c=u[0],s=u[1],l=e.options,d=(0,f._T)(e,["options"]),p=(0,f.pi)((0,f.pi)((0,f.pi)((0,f.pi)({timestamp:new Date},d),{context:c,integrations:a}),s),{messageId:l.messageId||this.settings.createMessageId()});return this.settings.onFinishedEvent(p),function(e){if(!(0,m.Gg)(e))throw new L("Event","is nil");if("object"!=typeof e)throw new L("Event",D)}(p),function(e){if(!(0,m.HD)(e.type))throw new L(".type",N)}(p),function(e){if(!(0,m.HD)(e.messageId))throw new L(".messageId",N)}(p),"track"===p.type&&(function(e){if(!(0,m.HD)(e.event))throw new L(".event",N)}(p),function(e){if(!(0,m.PO)(e.properties))throw new L(".properties",D)}(p)),["group","identify"].includes(p.type)&&function(e){if(!(0,m.PO)(e.traits))throw new L(".traits",D)}(p),p},e}()),U=function(e){return"addMiddleware"in e&&"destination"===e.type},F=n(65976),B=n(51181),V=n(98191),H=function(){var e,t,n=0;return{done:function(){return e},run:function(r){var o=r();return"object"==typeof o&&null!==o&&"then"in o&&"function"==typeof o.then&&(1==++n&&(e=new Promise(function(e){return t=e})),o.finally(function(){return 0==--n&&t()})),o}}},Z=n(69147),W=function(e){function t(t){return e.call(this,"string"==typeof t?new F.$(4,t):t)||this}return(0,f.ZT)(t,e),t.prototype.flush=function(){return(0,f.mG)(this,void 0,void 0,function(){return(0,f.Jh)(this,function(t){return(0,_.s)()?[2,[]]:[2,e.prototype.flush.call(this)]})})},t}(function(e){function t(t){var n=e.call(this)||this;return n.criticalTasks=H(),n.plugins=[],n.failedInitializations=[],n.flushing=!1,n.queue=t,n.queue.on(B.M,function(){n.scheduleFlush(0)}),n}return(0,f.ZT)(t,e),t.prototype.register=function(e,t,n){return(0,f.mG)(this,void 0,void 0,function(){var r,o,i=this;return(0,f.Jh)(this,function(a){switch(a.label){case 0:if(this.plugins.push(t),r=function(n){i.failedInitializations.push(t.name),i.emit("initialization_failure",t),console.warn(t.name,n),e.log("warn","Failed to load destination",{plugin:t.name,error:n}),i.plugins=i.plugins.filter(function(e){return e!==t})},!("destination"===t.type&&"Segment.io"!==t.name))return[3,1];return t.load(e,n).catch(r),[3,4];case 1:return a.trys.push([1,3,,4]),[4,t.load(e,n)];case 2:return a.sent(),[3,4];case 3:return o=a.sent(),r(o),[3,4];case 4:return[2]}})})},t.prototype.deregister=function(e,t,n){return(0,f.mG)(this,void 0,void 0,function(){var r;return(0,f.Jh)(this,function(o){switch(o.label){case 0:if(o.trys.push([0,3,,4]),!t.unload)return[3,2];return[4,Promise.resolve(t.unload(e,n))];case 1:o.sent(),o.label=2;case 2:return this.plugins=this.plugins.filter(function(e){return e.name!==t.name}),[3,4];case 3:return r=o.sent(),e.log("warn","Failed to unload destination",{plugin:t.name,error:r}),[3,4];case 4:return[2]}})})},t.prototype.dispatch=function(e){return(0,f.mG)(this,void 0,void 0,function(){var t;return(0,f.Jh)(this,function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.push(e),t=this.subscribeToDelivery(e),this.scheduleFlush(0),[2,t]})})},t.prototype.subscribeToDelivery=function(e){return(0,f.mG)(this,void 0,void 0,function(){var t=this;return(0,f.Jh)(this,function(n){return[2,new Promise(function(n){var r=function(o,i){o.isSame(e)&&(t.off("flush",r),n(o))};t.on("flush",r)})]})})},t.prototype.dispatchSingle=function(e){return(0,f.mG)(this,void 0,void 0,function(){var t=this;return(0,f.Jh)(this,function(n){return e.log("debug","Dispatching"),e.stats.increment("message_dispatched"),this.queue.updateAttempts(e),e.attempts=1,[2,this.deliver(e).catch(function(n){return t.enqueuRetry(n,e)?t.subscribeToDelivery(e):(e.setFailedDelivery({reason:n}),e)})]})})},t.prototype.isEmpty=function(){return 0===this.queue.length},t.prototype.scheduleFlush=function(e){var t=this;void 0===e&&(e=500),this.flushing||(this.flushing=!0,setTimeout(function(){t.flush().then(function(){setTimeout(function(){t.flushing=!1,t.queue.length&&t.scheduleFlush(0)},0)})},e))},t.prototype.deliver=function(e){return(0,f.mG)(this,void 0,void 0,function(){var t,n,r,o;return(0,f.Jh)(this,function(i){switch(i.label){case 0:return[4,this.criticalTasks.done()];case 1:i.sent(),t=Date.now(),i.label=2;case 2:return i.trys.push([2,4,,5]),[4,this.flushOne(e)];case 3:return e=i.sent(),n=Date.now()-t,this.emit("delivery_success",e),e.stats.gauge("delivered",n),e.log("debug","Delivered",e.event),[2,e];case 4:throw o=r=i.sent(),e.log("error","Failed to deliver",o),this.emit("delivery_failure",e,o),e.stats.increment("delivery_failed"),r;case 5:return[2]}})})},t.prototype.enqueuRetry=function(e,t){return(!(e instanceof V.Y)||!!e.retry)&&this.queue.pushWithBackoff(t)},t.prototype.flush=function(){return(0,f.mG)(this,void 0,void 0,function(){var e,t;return(0,f.Jh)(this,function(n){switch(n.label){case 0:if(0===this.queue.length||!(e=this.queue.pop()))return[2,[]];e.attempts=this.queue.getAttempts(e),n.label=1;case 1:return n.trys.push([1,3,,4]),[4,this.deliver(e)];case 2:return e=n.sent(),this.emit("flush",e,!0),[3,4];case 3:return t=n.sent(),this.enqueuRetry(t,e)||(e.setFailedDelivery({reason:t}),this.emit("flush",e,!1)),[2,[]];case 4:return[2,[e]]}})})},t.prototype.isReady=function(){return!0},t.prototype.availableExtensions=function(e){var t,n,r=(t="type",n={},this.plugins.filter(function(t){if("destination"!==t.type&&"Segment.io"!==t.name)return!0;var n,r,o,i=void 0;return null===(n=t.alternativeNames)||void 0===n||n.forEach(function(t){void 0!==e[t]&&(i=e[t])}),null!==(o=null!==(r=e[t.name])&&void 0!==r?r:i)&&void 0!==o?o:!1!==("Segment.io"===t.name||e.All)}).forEach(function(e){var r,o=void 0;if("string"==typeof t){var i=e[t];o="string"!=typeof i?JSON.stringify(i):i}else t instanceof Function&&(o=t(e));void 0!==o&&(n[o]=(0,f.ev)((0,f.ev)([],null!==(r=n[o])&&void 0!==r?r:[],!0),[e],!1))}),n),o=r.before,i=r.enrichment,a=r.destination,u=r.after;return{before:void 0===o?[]:o,enrichment:void 0===i?[]:i,destinations:void 0===a?[]:a,after:void 0===u?[]:u}},t.prototype.flushOne=function(e){var t,n;return(0,f.mG)(this,void 0,void 0,function(){var r,o,i,a,u,c,s,l,d,p,h,v,m;return(0,f.Jh)(this,function(f){switch(f.label){case 0:if(!this.isReady())throw Error("Not ready");e.attempts>1&&this.emit("delivery_retry",e),o=(r=this.availableExtensions(null!==(t=e.event.integrations)&&void 0!==t?t:{})).before,i=r.enrichment,a=0,u=o,f.label=1;case 1:if(!(a0||t.length<=1)return r;for(var o=t.length-2;o>=0;--o)r.push(t.slice(o).join("."));return r}(t),r=0;r4){var i=r.slice(4);"campaign"===i&&(i="name"),e[i]=(0,eR.a)(void 0===o?"":o)}return e},{})));var v=function(){var e=Q.get("_ga");if(e&&e.startsWith("amp"))return e}();v&&(l.amp={id:v}),i=(o=new Y(null!==(s=e.instance.options.disableClientPersistence)&&void 0!==s&&s?[]:[new et(function(){if(r)return r;var e=ee(window.location.href);return r={expires:31536e6,secure:!1,path:"/"},e&&(r.domain=e),r}())])).get("s:context.referrer"),(a=null!==(n=function(e){var t={btid:"dataxu",urid:"millennial-media"};e.startsWith("?")&&(e=e.substring(1));for(var n=(e=e.replace(/\?/g,"&")).split("&"),r=0;r0&&!(0,_.s)()},function(){return(0,f.mG)(r,void 0,void 0,function(){var r;return(0,f.Jh)(this,function(o){switch(o.label){case 0:if(!(r=t.pop()))return[2];return[4,(0,Z.a)(r,e)];case 1:return o.sent() instanceof E._||n.push(r),[2]}})})})];case 1:return o.sent(),n.map(function(e){return t.pushWithBackoff(e)}),[2,t]}})})}(n,t)];case 1:return o=i.sent(),e=!1,t.todo>0&&r(e,o,n,r),[2]}})})},5e3*Math.random())}var eZ=n(36514),eW=(0,el.R)(),ez=null!==(o=eW.__SEGMENT_INSPECTOR__)&&void 0!==o?o:eW.__SEGMENT_INSPECTOR__={},eq=function(e){var t;return null===(t=ez.attach)||void 0===t?void 0:t.call(ez,e)},eK=n(42718),eY=function(e){function t(){var t=this,r=(0,eP.d)(),o=r.promise,i=r.resolve;return(t=e.call(this,function(e){return o.then(function(t){return function(e,t,r){var o,i,a,u,c,s,l,d,m,g;return void 0===t&&(t={}),(0,f.mG)(this,void 0,void 0,function(){var y,b,w,S,O,T,x,k,A,C,P;return(0,f.Jh)(this,function(I){var R,j,L,N;switch(I.label){case 0:if(!0===t.disable)return[2,[new eA,E._.system()]];if(t.globalAnalyticsKey&&(0,ef.jV)(t.globalAnalyticsKey),e.cdnURL&&(0,h.UH)(e.cdnURL),t.initialPageview&&r.push(new ey("page",[])),!(null!==(o=e.cdnSettings)&&void 0!==o))return[3,1];return b=o,[3,3];case 1:return[4,(R=e.writeKey,L=null!=(j=e.cdnURL)?j:(0,h.Vl)(),(0,v.h)("".concat(L,"/v1/projects/").concat(R,"/settings")).then(function(e){return e.ok?e.json():e.text().then(function(e){throw Error(e)})}).catch(function(e){throw console.error(e.message),e}))];case 2:b=I.sent(),I.label=3;case 3:if(y=b,t.updateCDNSettings&&(y=t.updateCDNSettings(y)),"function"!=typeof t.disable)return[3,5];return[4,t.disable(y)];case 4:if(I.sent())return[2,[new eA,E._.system()]];I.label=5;case 5:return w=null===(a=null===(i=y.integrations["Segment.io"])||void 0===i?void 0:i.retryQueue)||void 0===a||a,t=(0,f.pi)({retryQueue:w},t),eq(S=new ek((0,f.pi)((0,f.pi)({},e),{cdnSettings:y}),t)),O=null!==(u=e.plugins)&&void 0!==u?u:[],T=null!==(c=e.classicIntegrations)&&void 0!==c?c:[],x=null===(s=t.integrations)||void 0===s?void 0:s["Segment.io"],eK.j.initRemoteMetrics((0,f.pi)((0,f.pi)({},y.metrics),{host:null!==(l=null==x?void 0:x.apiHost)&&void 0!==l?l:null===(d=y.metrics)||void 0===d?void 0:d.host,protocol:null==x?void 0:x.protocol})),eh(N=S,r),ep(N,r),[4,function(e,t,r,o,i,a){var u,c,s;return void 0===i&&(i=[]),(0,f.mG)(this,void 0,void 0,function(){var l,d,m,g,y,b,w,E,S,O,T,x,k,A,C=this;return(0,f.Jh)(this,function(P){var I,R,j;switch(P.label){case 0:if(l=null==i?void 0:i.filter(function(e){return"object"==typeof e}),d=null==i?void 0:i.filter(function(e){return"function"==typeof e&&"string"==typeof e.pluginName}),"test"===p().NODE_ENV||!((null!==(j=null===(R=null===(I=t.middlewareSettings)||void 0===I?void 0:I.routingRules)||void 0===R?void 0:R.length)&&void 0!==j?j:0)>0))return[3,2];return[4,n.e(4604).then(n.bind(n,37122)).then(function(e){return e.tsubMiddleware(t.middlewareSettings.routingRules)})];case 1:return g=P.sent(),[3,3];case 2:g=void 0,P.label=3;case 3:if(m=g,("test"===p().NODE_ENV||!(Object.keys(t.integrations).length>1))&&!(a.length>0))return[3,5];return[4,n.e(39464).then(n.bind(n,92631)).then(function(n){return n.ajsDestinations(e,t,r.integrations,o,m,a)})];case 4:return b=P.sent(),[3,6];case 5:b=[],P.label=6;case 6:if(y=b,!t.legacyVideoPluginsEnabled)return[3,8];return[4,n.e(48150).then(n.bind(n,66352)).then(function(e){return e.loadLegacyVideoPlugins(r)})];case 7:P.sent(),P.label=8;case 8:if(!(null===(u=o.plan)||void 0===u?void 0:u.track))return[3,10];return[4,n.e(37493).then(n.bind(n,70527)).then(function(e){var n;return e.schemaFilter(null===(n=o.plan)||void 0===n?void 0:n.track,t)})];case 9:return E=P.sent(),[3,11];case 10:E=void 0,P.label=11;case 11:return w=E,S=(0,eC.o)(t,o),[4,(function(e,t,n,r,o,i){var a,u,c;return(0,f.mG)(this,void 0,void 0,function(){var s,l,d=this;return(0,f.Jh)(this,function(p){switch(p.label){case 0:return s=[],l=null!==(u=null===(a=e.middlewareSettings)||void 0===a?void 0:a.routingRules)&&void 0!==u?u:[],[4,Promise.all((null!==(c=e.remotePlugins)&&void 0!==c?c:[]).map(function(e){return(0,f.mG)(d,void 0,void 0,function(){var a,u,c,d,p;return(0,f.Jh)(this,function(v){switch(v.label){case 0:var m,g;if(m=t[e.creationName],g=t[e.name],!1===t.All&&!m&&!g||!1===m||!1===g)return[2];v.label=1;case 1:if(v.trys.push([1,6,,7]),u=null==i?void 0:i.find(function(t){return t.pluginName===e.name}))return[3,3];return[4,function(e,t){return(0,f.mG)(this,void 0,void 0,function(){var n,r,o,i,a;return(0,f.Jh)(this,function(u){switch(u.label){case 0:if(n=RegExp("https://cdn.segment.(com|build)"),r=(0,h.Vl)(),!t)return[3,6];i=(o=e.url.split("/"))[o.length-2],a=e.url.replace(i,btoa(i).replace(/=/g,"")),u.label=1;case 1:return u.trys.push([1,3,,5]),[4,(0,eN.v)(a.replace(n,r))];case 2:case 4:return u.sent(),[3,5];case 3:return u.sent(),[4,(0,eN.v)(e.url.replace(n,r))];case 5:return[3,8];case 6:return[4,(0,eN.v)(e.url.replace(n,r))];case 7:u.sent(),u.label=8;case 8:if("function"==typeof window[e.libraryName])return[2,window[e.libraryName]];return[2]}})})}(e,null==r?void 0:r.obfuscate)];case 2:u=v.sent(),v.label=3;case 3:if(!(a=u))return[3,5];return[4,a((0,f.pi)((0,f.pi)({},e.settings),n[e.name]))];case 4:(function(e){if(!Array.isArray(e))throw Error("Not a valid list of plugins");var t=["load","isLoaded","name","version","type"];e.forEach(function(e){t.forEach(function(t){var n;if(void 0===e[t])throw Error("Plugin: ".concat(null!==(n=e.name)&&void 0!==n?n:"unknown"," missing required function ").concat(t))})})})(d=Array.isArray(c=v.sent())?c:[c]),p=l.filter(function(t){return t.destinationName===e.creationName}),d.forEach(function(t){var n=new eG(e.creationName,t);p.length&&o&&n.addMiddleware(o),s.push(n)}),v.label=5;case 5:return[3,7];case 6:return console.warn("Failed to load Remote Plugin",v.sent()),[3,7];case 7:return[2]}})})}))];case 1:return p.sent(),[2,s.filter(Boolean)]}})})})(t,r.integrations,S,o,m,d).catch(function(){return[]})];case 12:if(O=P.sent(),T=(0,f.ev)((0,f.ev)((0,f.ev)([eL],l,!0),y,!0),O,!0),w&&T.push(w),(null===(c=o.integrations)||void 0===c?void 0:c.All)===!1&&!o.integrations["Segment.io"]||o.integrations&&!1===o.integrations["Segment.io"])return[3,14];return k=(x=T).push,[4,function(e,t,n){window.addEventListener("pagehide",function(){c.push.apply(c,Array.from(s)),s.clear()});var r,o,i,a,u=null!==(o=null==t?void 0:t.apiKey)&&void 0!==o?o:"",c=e.options.disableClientPersistence?new B.Z(e.queue.queue.maxAttempts,[]):new F.$(e.queue.queue.maxAttempts,"".concat(u,":dest-Segment.io")),s=new Set,l=null!==(i=null==t?void 0:t.apiHost)&&void 0!==i?i:eZ.U,d=null!==(a=null==t?void 0:t.protocol)&&void 0!==a?a:"https",p="".concat(d,"://").concat(l),h=null==t?void 0:t.deliveryStrategy,m=(null==h?void 0:h.strategy)==="batching"?function(e,t){var n,r,o,i=[],a=!1,u=null!==(n=null==t?void 0:t.size)&&void 0!==n?n:10,c=null!==(r=null==t?void 0:t.timeout)&&void 0!==r?r:5e3;function s(t){if(0!==t.length){var n,r=null===(n=t[0])||void 0===n?void 0:n.writeKey,o=t.map(function(e){return e.sentAt,(0,f._T)(e,["sentAt"])});return(0,v.h)("https://".concat(e,"/b"),{keepalive:a,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify({writeKey:r,batch:o,sentAt:new Date().toISOString()})})}}function l(){return(0,f.mG)(this,void 0,void 0,function(){var e;return(0,f.Jh)(this,function(t){return i.length?(e=i,i=[],[2,s(e)]):[2]})})}return eF(function(e){if((a=e)&&i.length){var t,n;Promise.all((t=[],n=0,i.forEach(function(e){eB(t[n])>=64&&n++,t[n]?t[n].push(e):t[n]=[e]}),t).map(s)).catch(console.error)}}),{dispatch:function(e,t){return(0,f.mG)(this,void 0,void 0,function(){return(0,f.Jh)(this,function(e){return i.push(t),[2,i.length>=u||eB(i)>=450||a?l():void(o||(o=setTimeout(function(){o=void 0,l().catch(console.error)},c)))]})})}}}(l,h.config):(r=null==h?void 0:h.config,{dispatch:function(e,t){return(0,v.h)(e,{keepalive:null==r?void 0:r.keepalive,headers:{"Content-Type":"text/plain"},method:"post",body:JSON.stringify(t)})}});function g(r){return(0,f.mG)(this,void 0,void 0,function(){var o,i;return(0,f.Jh)(this,function(a){if((0,_.s)())return c.push(r),eH(!1,c,y,eH),[2,r];if(s.add(r),o=r.event.type.charAt(0),i=(0,eU.D)(r.event).json(),"track"===r.event.type&&delete i.traits,"alias"===r.event.type){var u,l,d,h,v,g;u=i,g=e.user(),u.previousId=null!==(h=null!==(d=null!==(l=u.previousId)&&void 0!==l?l:u.from)&&void 0!==d?d:g.id())&&void 0!==h?h:g.anonymousId(),u.userId=null!==(v=u.userId)&&void 0!==v?v:u.to,delete u.from,delete u.to,i=u}return[2,m.dispatch("".concat(p,"/").concat(o),function(e,t,n,r){var o,i=e.user();delete t.options,t.writeKey=null==n?void 0:n.apiKey,t.userId=t.userId||i.id(),t.anonymousId=t.anonymousId||i.anonymousId(),t.sentAt=new Date;var a=e.queue.failedInitializations||[];a.length>0&&(t._metadata={failedInitializations:a});var u=[],c=[];for(var s in r){var l=r[s];"Segment.io"===s&&u.push(s),"bundled"===l.bundlingStatus&&u.push(s),"unbundled"===l.bundlingStatus&&c.push(s)}for(var d=0,p=(null==n?void 0:n.unbundledIntegrations)||[];d0&&void 0!==o[0]?o[0]:"",n=o.length>1&&void 0!==o[1]?o[1]:null,e9(t)){e.next=4;break}return e.abrupt("return");case 4:if(!((r=e5(t))&&e3&&null!=e3&&e3.track)){e.next=13;break}return n&&n.preventDefault(),e3.track(e4.ASSET_DOWNLOAD,{asset_name:r}),e.next=10,(0,eQ.delay)(500);case 10:if(!e$.isTest){e.next=12;break}return e.abrupt("return");case 12:window.location.href=t;case 13:case"end":return e.stop()}},e)}))).apply(this,arguments)}function te(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(e9(e)){var t=e5(e);t&&e3&&null!=e3&&e3.track&&e3.track(e4.ASSET_DOWNLOAD,{asset_name:t})}}e3.addSourceMiddleware(function(e){var t,n=e.payload,r=e.next;n&&null!=n&&null!==(t=n.obj)&&void 0!==t&&t.context&&(n.obj.context.ip="REDACTED"),r(n)})},16397:function(e){function t(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var o=0,i=function(){};return{s:i,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,u=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return u=e.done,e},e:function(e){c=!0,a=e},f:function(){try{u||null==r.return||r.return()}finally{if(c)throw a}}}}function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n1&&void 0!==arguments[1]?arguments[1]:250;return Math.floor(e.split(" ").length/t)},stripHtml:function(e){return e.replace(/(<([^>]+)>)/gi,"")},slugify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(!e)return"";var n=RegExp("[^\\p{L}\\d\\s\\/".concat(t,"]"),"gu");return e.replace(n,"").trim().toLowerCase().replace(/\s+/g,t)},unslugify:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";return r(e.split(t).join(" "))},stripLeadingSlash:function(e){return e&&e.startsWith("/")?e.substring(1):e},addLeadingSlash:function(e){return e.startsWith("/")?e:"/"+e},stripTrailingSlash:function(e){return e&&e.endsWith("/")?e.slice(0,-1):e},stripWhiteSpace:function(e){return e.split(" ").join("")},truncate:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:" ...";if(e.length<=t)return e;var r=e.slice(0,t),o=r.search(/^.*(\s)\S*$/)||r.length-1;return r.slice(0,o)+n},stringsToFunction:function(e){if(!e)return null;"string"==typeof e&&(e=[e]);var n,r=[],o=t(e);try{for(o.s();!(n=o.n()).done;){var i=n.value;if("string"==typeof i){var a,u=i.split(";").filter(function(e){return e}),c=t(u);try{for(c.s();!(a=c.n()).done;){var s=a.value;r.push(s)}}catch(e){c.e(e)}finally{c.f()}}}}catch(e){o.e(e)}finally{o.f()}return 0===r.length?null:Function(r.join(";"))},toTitle:r,insertCharBeforeLastInstance:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if("string"!=typeof e||"string"!=typeof t||"string"!=typeof n)return"";var r=n?e.lastIndexOf(n):e.length;return r>=0?"".concat(e.slice(0,r)).concat(t).concat(e.slice(r)):e},stripWrappingTags:function(e,t){var n="<".concat(t,">"),r=""),o=e.slice(0,n.length),i=e.slice(-r.length);return n===o&&r===i?e.slice(n.length,-r.length):e}}},35234:function(e,t,n){"use strict";n.d(t,{Y_:function(){return u},Hk:function(){return c}});var r=n(67294),o=n(35944),i=["svg","ico"],a=(0,r.createContext)(null);function u(e){var t=e.children,n=(0,r.useState)(!0),i=n[0],u=n[1];return(0,r.useEffect)(function(){new Promise(function(e,t){var n=new Image;n.onload=function(){e(n.width>0&&n.height>0)},n.onerror=function(e){t(e)},n.src="data:image/webp;base64,UklGRhoAAABXRUJQVlA4TA0AAAAvAAAAEAcQERGIiP4HAA=="}).then(function(e){e||u(!1)})},[]),(0,o.tZ)(a.Provider,{value:i,children:t})}function c(e){return!(0,r.useContext)(a)||i.includes(e)?""===e?"png":e:"webp"}},18684:function(e,t,n){"use strict";n.d(t,{f:function(){return p}});var r=n(59499),o=n(41609),i=n.n(o),a=n(67294),u=n(76330),c=n(38841),s=n(35944);function l(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function f(e){for(var t=1;t div[name=vimeo-video-container] > iframe")||t>=100)&&(c({type:b.START_VIDEO,payload:function(e){for(var t=1;t{n.IsDntEnabled&&t||n.IsGpcEnabled&&e||"active"!==n.Status&&"always active"!==n.Status||a.push(n.OptanonGroupId)}));0=0;return n||t.push(e),n}}}()),void 0===t)return e;if("object"!=typeof t||null===t)return t;if(t instanceof Date)return new Date(t.getTime());if(t instanceof RegExp){var r=t.flags||[t.global?"g":"",t.ignoreCase?"i":"",t.multiline?"m":"",t.sticky?"y":"",t.unicode?"u":""].join("");return new RegExp(t.source,r)}if(!n.hasAlreadyBeenSeen(t)){if(Array.isArray(t)){for(var o=Array.isArray(e)?e:[],i=0;i"}finally{r(),o(),i(),a()}}function eu(e){var t=e.toJSON;return t?(delete e.toJSON,function(){e.toJSON=t}):Z}function ec(e,t){void 0===t&&(t=225280);var n,r=eu(Object.prototype),o=eu(Array.prototype),i=[],a=new WeakMap,u=es(e,"$",void 0,i,a),c=(null===(n=JSON.stringify(u))||void 0===n?void 0:n.length)||0;if(c>t){el(t,"discarded",e);return}for(;i.length>0&&ct){el(t,"truncated",e);break}s.target[f]=d}else for(var f in s.source)if(Object.prototype.hasOwnProperty.call(s.source,f)){var d=es(s.source[f],s.path,f,i,a);if(void 0!==d&&(c+=JSON.stringify(d).length+l+f.length+3,l=1),c>t){el(t,"truncated",e);break}s.target[f]=d}}return r(),o(),u}function es(e,t,n,r,o){var i=function(e){if(e&&"function"==typeof e.toJSON)try{return e.toJSON()}catch(e){}return e}(e);if(!i||"object"!=typeof i)return"bigint"==typeof i?"[BigInt] ".concat(i.toString()):"function"==typeof i?"[Function] ".concat(i.name||"unknown"):"symbol"==typeof i?"[Symbol] ".concat(i.description||i.toString()):i;var a=function(e){try{if(e instanceof Event)return{isTrusted:e.isTrusted};var t=Object.prototype.toString.call(e).match(/\[object (.*)\]/);if(t&&t[1])return"[".concat(t[1],"]")}catch(e){}return"[Unserializable]"}(i);if("[Object]"!==a&&"[Array]"!==a&&"[Error]"!==a)return a;if(o.has(e))return"[Reference seen at ".concat(o.get(e),"]");var u=void 0!==n?"".concat(t,".").concat(n):t,c=Array.isArray(i)?[]:{};return o.set(e,u),r.push({source:i,target:c,path:u}),c}function el(e,t,n){R.warn("The data provided has been ".concat(t," as it is over the limit of ").concat(e," characters:"),n)}var ef=function(){function e(e){this.onFirstSubscribe=e,this.observers=[]}return e.prototype.subscribe=function(e){var t=this;return!this.observers.length&&this.onFirstSubscribe&&(this.onLastUnsubscribe=this.onFirstSubscribe()||void 0),this.observers.push(e),{unsubscribe:function(){t.observers=t.observers.filter(function(t){return e!==t}),!t.observers.length&&t.onLastUnsubscribe&&t.onLastUnsubscribe()}}},e.prototype.notify=function(e){this.observers.forEach(function(t){return t(e)})},e}();function ed(){for(var e=[],t=0;t3072&&(R.warn("The ".concat(ep[t]," data exceeds the recommended ").concat(3,"KiB threshold. More details: https://docs.datadoghq.com/real_user_monitoring/browser/troubleshooting/#customer-data-exceeds-the-recommended-3kib-warning")),!0)}function ev(e,t){void 0===t&&(t=et);var n,r={},o=!1,i=new ef,a=H(function(r){n=t(ea(r)),o||(o=eh(n,e))},200).throttled,u={getBytesCount:function(){return n},get:function(){return r},add:function(e,t){r[e]=t,a(r),i.notify()},remove:function(e){delete r[e],a(r),i.notify()},set:function(e){a(r=e),i.notify()},getContext:function(){return eo(r)},setContext:function(e){"object"===en(e)?a(r=ec(e)):u.clearContext(),i.notify()},setContextProperty:function(e,t){r[e]=ec(t),a(r),i.notify()},removeContextProperty:function(e){delete r[e],a(r),i.notify()},clearContext:function(){r={},n=0,i.notify()},changeObservable:i};return u}var em=function(){function e(){this.buffer=[]}return e.prototype.add=function(e){this.buffer.push(e)>500&&this.buffer.splice(0,1)},e.prototype.drain=function(){this.buffer.forEach(function(e){return e()}),this.buffer.length=0},e}();function eg(e){return 0!==e&&100*Math.random()<=e}function ey(e,t){return+e.toFixed(t)}function eb(e){return ew(e)&&e>=0&&e<=100}function ew(e){return"number"==typeof e}function e_(e){var t;return{relative:e,timeStamp:(t=eS()-performance.now())>ek()?Math.round(t+e):Math.round(ek()+e)}}function eE(e){return ew(e)?ey(1e6*e,0):e}function eS(){return new Date().getTime()}function eO(){return performance.now()}function eT(){return{relative:eO(),timeStamp:eS()}}function ex(){return{relative:0,timeStamp:ek()}}function ek(){return void 0===rC&&(rC=performance.timing.navigationStart),rC}function eA(e){return e?(parseInt(e,10)^16*Math.random()>>parseInt(e,10)/4).toString(16):"".concat(1e7,"-").concat(1e3,"-").concat(4e3,"-").concat(8e3,"-").concat(1e11).replace(/[018]/g,eA)}function eC(e,t){var n=new RegExp("(?:^|;)\\s*".concat(t,"\\s*=\\s*([^;]+)")).exec(e);return n?n[1]:void 0}function eP(e,t,n){void 0===n&&(n="");var r=e.charCodeAt(t-1),o=r>=55296&&r<=56319?t+1:t;return e.length<=o?e:"".concat(e.slice(0,o)).concat(n)}function eI(e,t,n,r){var o=new Date;o.setTime(o.getTime()+n);var i="expires=".concat(o.toUTCString()),a=r&&r.crossSite?"none":"strict",u=r&&r.domain?";domain=".concat(r.domain):"",c=r&&r.secure?";secure":"";document.cookie="".concat(e,"=").concat(t,";").concat(i,";path=/;samesite=").concat(a).concat(u).concat(c)}function eR(e){return eC(document.cookie,e)}function ej(e,t){eI(e,"",0,t)}function eL(){return!!(window._DATADOG_SYNTHETICS_INJECTS_RUM||eR("datadog-synthetics-injects-rum"))}function eN(){var e=x().DatadogEventBridge;if(e)return{getAllowedWebViewHosts:function(){return JSON.parse(e.getAllowedWebViewHosts())},send:function(t,n){e.send(JSON.stringify({eventType:t,event:n}))}}}function eD(e){void 0===e&&(e=null===(t=x().location)||void 0===t?void 0:t.hostname);var t,n=eN();return!!n&&n.getAllowedWebViewHosts().some(function(t){var n,r;return e===t||(n=e,r=".".concat(t),n.slice(-r.length)===r)})}function eM(e,t,n,r,o){return eG(e,t,[n],r,o)}function eG(e,t,n,r,o){var i=void 0===o?{}:o,a=i.once,u=i.capture,c=i.passive,s=D(a?function(e){d(),r(e)}:r),l=c?{capture:u,passive:c}:u,f=k(t,"addEventListener");function d(){var e=k(t,"removeEventListener");n.forEach(function(n){return e.call(t,n,s,l)})}return n.forEach(function(e){return f.call(t,e,s,l)}),{stop:d}}var eU=[];function eF(e,t,n,r){void 0===r&&(r=et);var o="".concat("_dd_c","_").concat(t,"_").concat(n),i=ev(n,r);return a(),eU.push(eM(e,window,"storage",function(e){o===e.key&&a()})),i.changeObservable.subscribe(function(){localStorage.setItem(o,JSON.stringify(i.getContext()))}),i;function a(){var e=localStorage.getItem(o),t=null!==e?JSON.parse(e):{};i.setContext(t)}}function eB(e){var t=[],n=eJ(e,"stack"),r=String(e);return n&&$(n,r)&&(n=n.slice(r.length)),n&&n.split("\n").forEach(function(e){var n=function(e){var t=eZ.exec(e);if(t){var n=t[2]&&0===t[2].indexOf("native"),r=t[2]&&0===t[2].indexOf("eval"),o=eW.exec(t[2]);return r&&o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{args:n?[t[2]]:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:t[3]?+t[3]:void 0,url:n?void 0:t[2]}}}(e)||function(e){var t=ez.exec(e);if(t)return{args:[],column:t[3]?+t[3]:void 0,func:"?",line:t[2]?+t[2]:void 0,url:t[1]}}(e)||function(e){var t=eq.exec(e);if(t)return{args:[],column:t[4]?+t[4]:void 0,func:t[1]||"?",line:+t[3],url:t[2]}}(e)||function(e){var t=eK.exec(e);if(t){var n=t[3]&&t[3].indexOf(" > eval")>-1,r=eY.exec(t[3]);return n&&r&&(t[3]=r[1],t[4]=r[2],t[5]=void 0),{args:t[2]?t[2].split(","):[],column:t[5]?+t[5]:void 0,func:t[1]||"?",line:t[4]?+t[4]:void 0,url:t[3]}}}(e);n&&(!n.func&&n.line&&(n.func="?"),t.push(n))}),{message:eJ(e,"message"),name:eJ(e,"name"),stack:t}}var eV="((?:file|https?|blob|chrome-extension|native|eval|webpack|snippet||\\w+\\.|\\/).*?)",eH="(?::(\\d+))",eZ=RegExp("^\\s*at (.*?) ?\\(".concat(eV).concat(eH,"?").concat(eH,"?\\)?\\s*$"),"i"),eW=new RegExp("\\((\\S*)".concat(eH).concat(eH,"\\)")),ez=RegExp("^\\s*at ?".concat(eV).concat(eH,"?").concat(eH,"??\\s*$"),"i"),eq=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,eK=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|capacitor|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,eY=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i;function eJ(e,t){if("object"==typeof e&&e&&t in e){var n=e[t];return"string"==typeof n?n:void 0}}var e$="No stack, consider using an instance of Error";function eX(e){var t=e.stackTrace,n=e.originalError,r=e.handlingStack,o=e.startClocks,i=e.nonErrorPrefix,a=e.source,u=e.handling,c=n instanceof Error,s=(null==t?void 0:t.message)&&(null==t?void 0:t.name)?t.message:c?"Empty message":"".concat(i," ").concat(ea(ec(n))),l=void 0!==t&&(c||t.stack.length>0&&(t.stack.length>1||void 0!==t.stack[0].url))?e0(t):e$,f=c?function(e,t){for(var n=e,r=[];(null==n?void 0:n.cause)instanceof Error&&r.length<10;){var o=eB(n.cause);r.push({message:n.cause.message,source:t,type:null==o?void 0:o.name,stack:o&&e0(o)}),n=n.cause}return r.length?r:void 0}(n,a):void 0,d=null==t?void 0:t.name,p=eQ(n);return{startClocks:o,source:a,handling:u,handlingStack:r,originalError:n,type:d,message:s,stack:l,causes:f,fingerprint:p}}function eQ(e){return e instanceof Error&&"dd_fingerprint"in e?String(e.dd_fingerprint):void 0}function e0(e){var t=e1(e);return e.stack.forEach(function(e){var n="?"===e.func?"":e.func,r=e.args&&e.args.length>0?"(".concat(e.args.join(", "),")"):"",o=e.line?":".concat(e.line):"",i=e.line&&e.column?":".concat(e.column):"";t+="\n at ".concat(n).concat(r," @ ").concat(e.url).concat(o).concat(i)}),t}function e1(e){return"".concat(e.name||"Error",": ").concat(e.message)}function e2(){var e,t=Error();if(!t.stack)try{throw t}catch(e){}return M(function(){var n=eB(t);n.stack=n.stack.slice(2),e=e0(n)}),e}function e4(e){var t=Q({},e);return["id","name","email"].forEach(function(e){e in t&&(t[e]=String(t[e]))}),t}(rE=rI||(rI={})).PAGEHIDE="pagehide",rE.FEATURE_FLAGS="feature_flags",rE.RESOURCE_PAGE_STATES="resource_page_states",rE.PAGE_STATES="page_states",rE.COLLECT_FLUSH_REASON="collect_flush_reason",rE.NO_RESOURCE_DURATION_FROZEN_STATE="no_resource_duration_frozen_state",rE.SCROLLMAP="scrollmap",rE.INTERACTION_TO_NEXT_PAINT="interaction_to_next_paint",rE.WEB_VITALS_ATTRIBUTION="web_vitals_attribution",rE.DISABLE_REPLAY_INLINE_CSS="disable_replay_inline_css";var e3=new Set;function e6(e){return e3.has(e)}function e5(e){return Q({},e)}function e9(e,t){return Object.keys(e).some(function(n){return e[n]===t})}function e7(e){return 0===Object.keys(e).length}var e8="_dd_s",te=/^([a-z]+)=([a-z0-9-]+)$/;function tt(e){e.expire=String(eS()+9e5)}function tn(e){return J(e).map(function(e){var t=e[0],n=e[1];return"".concat(t,"=").concat(n)}).join("&")}function tr(e){var t={};return e&&(-1!==e.indexOf("&")||te.test(e))&&e.split("&").forEach(function(e){var n=te.exec(e);if(null!==n){var r=n[1],o=n[2];t[r]=o}}),t}function to(){return tr(eR(e8))}function ti(e){localStorage.setItem(e8,tn(e))}function ta(){return tr(localStorage.getItem(e8))}function tu(){localStorage.removeItem(e8)}var tc=[];function ts(e,t,n){void 0===n&&(n=0);var r,o,i=t.isLockEnabled,a=t.retrieveSession,u=t.persistSession,c=t.clearSession;if(rL||(rL=e),e!==rL){tc.push(e);return}if(i&&n>=100){tf(t);return}var s=a();if(i&&(s.lock||(o=eA(),s.lock=o,u(s),(s=a()).lock!==o))){tl(e,t,n);return}var l=e.process(s);if(i&&(s=a()).lock!==o){tl(e,t,n);return}if(l&&(e7(l)?c():(tt(l),u(l))),i&&!(l&&e7(l))){if((s=a()).lock!==o){tl(e,t,n);return}delete s.lock,u(s),l=s}null===(r=e.after)||void 0===r||r.call(e,l||s),tf(t)}function tl(e,t,n){U(function(){ts(e,t,n+1)},10)}function tf(e){rL=void 0;var t=tc.shift();t&&ts(t,e)}function td(e){return tp(e,tv(window.location)).href}function tp(e,t){var n=function(){if(void 0===rN)try{var e=new th("http://test/path");rN="http://test/path"===e.href}catch(e){rN=!1}return rN?th:void 0}();if(n)try{return void 0!==t?new n(e,t):new n(e)}catch(n){throw Error("Failed to construct URL: ".concat(String(n)," ").concat(ea({url:e,base:t})))}if(void 0===t&&!/:/.test(e))throw Error("Invalid URL: '".concat(e,"'"));var r=document,o=r.createElement("a");if(void 0!==t){var i=(r=document.implementation.createHTMLDocument("")).createElement("base");i.href=t,r.head.appendChild(i),r.body.appendChild(o)}return o.href=e,o}var th=URL;function tv(e){if(e.origin&&"null"!==e.origin)return e.origin;var t=e.host.replace(/(:80|:443)$/,"");return"".concat(e.protocol,"//").concat(t)}var tm="datad0g.com",tg="datadoghq.com",ty={logs:"logs",rum:"rum",sessionReplay:"session-replay"},tb={logs:"logs",rum:"rum",sessionReplay:"replay"};function tw(e,t,n){var r=function(e,t){var n="/api/v2/".concat(tb[t]),r=e.proxy,o=e.proxyUrl;if(r){var i=td(r);return function(e){return"".concat(i,"?ddforward=").concat(encodeURIComponent("".concat(n,"?").concat(e)))}}var a=function(e,t){var n=e.site,r=void 0===n?tg:n,o=e.internalAnalyticsSubdomain;if(o&&r===tg)return"".concat(o,".").concat(tg);var i=r.split("."),a=i.pop(),u="ap1.datadoghq.com"!==r?"".concat(ty[t],"."):"";return"".concat(u,"browser-intake-").concat(i.join("-"),".").concat(a)}(e,t);if(void 0===r&&o){var u=td(o);return function(e){return"".concat(u,"?ddforward=").concat(encodeURIComponent("https://".concat(a).concat(n,"?").concat(e)))}}return function(e){return"https://".concat(a).concat(n,"?").concat(e)}}(e,t);return{build:function(o,i){var a,u,c,s,l,f,d;return r((a=e.clientToken,u=e.internalAnalyticsSubdomain,c=i.retry,s=i.flushReason,l=i.encoding,f=["sdk_version:".concat("4.50.1"),"api:".concat(o)].concat(n),s&&e6(rI.COLLECT_FLUSH_REASON)&&f.push("flush_reason:".concat(s)),c&&f.push("retry_count:".concat(c.count),"retry_after:".concat(c.lastFailureStatus)),d=["ddsource=browser","ddtags=".concat(encodeURIComponent(f.join(","))),"dd-api-key=".concat(a),"dd-evp-origin-version=".concat(encodeURIComponent("4.50.1")),"dd-evp-origin=browser","dd-request-id=".concat(eA())],l&&d.push("dd-evp-encoding=".concat(l)),"rum"===t&&d.push("batch_time=".concat(eS())),u&&d.reverse(),d.join("&")))},urlPrefix:r(""),endpointType:t}}var t_=/[^a-z0-9_:./-]/;function tE(e,t){var n=200-e.length-1;(t.length>n||t_.test(t))&&R.warn("".concat(e," value doesn't meet tag requirements and will be sanitized"));var r=t.replace(/,/g,"_");return"".concat(e,":").concat(r)}var tS={ALLOW:"allow",MASK:"mask",MASK_USER_INPUT:"mask-user-input"};function tO(e){var t=en(e);return"string"===t||"function"===t||e instanceof RegExp}function tT(e,t,n){return void 0===n&&(n=!1),e.some(function(e){try{if("function"==typeof e)return e(t);if(e instanceof RegExp)return e.test(t);if("string"==typeof e)return n?$(t,e):e===t}catch(e){R.error(e)}return!1})}function tx(e){0!==e.status||e.isAborted||(e.traceId=void 0,e.spanId=void 0,e.traceSampled=void 0)}function tk(e,t,n,r){if(void 0!==tA()&&n.findTrackedSession()){var o,i,a,u,c,s=K(e.allowedTracingUrls,function(e){return tT([e.match],t.url,!0)});s&&(t.traceId=new tC,t.spanId=new tC,t.traceSampled=!ew(e.traceSampleRate)||eg(e.traceSampleRate),r((o=t.traceId,i=t.spanId,a=t.traceSampled,u=s.propagatorTypes,c={},u.forEach(function(e){switch(e){case"datadog":Q(c,{"x-datadog-origin":"rum","x-datadog-parent-id":i.toDecimalString(),"x-datadog-sampling-priority":a?"1":"0","x-datadog-trace-id":o.toDecimalString()});break;case"tracecontext":Q(c,{traceparent:"00-0000000000000000".concat(o.toPaddedHexadecimalString(),"-").concat(i.toPaddedHexadecimalString(),"-0").concat(a?"1":"0")});break;case"b3":Q(c,{b3:"".concat(o.toPaddedHexadecimalString(),"-").concat(i.toPaddedHexadecimalString(),"-").concat(a?"1":"0")});break;case"b3multi":Q(c,{"X-B3-TraceId":o.toPaddedHexadecimalString(),"X-B3-SpanId":i.toPaddedHexadecimalString(),"X-B3-Sampled":a?"1":"0"})}}),c)))}}function tA(){return window.crypto||window.msCrypto}var tC=function(){function e(){this.buffer=new Uint8Array(8),tA().getRandomValues(this.buffer),this.buffer[0]=127&this.buffer[0]}return e.prototype.toString=function(e){var t=this.readInt32(0),n=this.readInt32(4),r="";do{var o=t%e*4294967296+n;t=Math.floor(t/e),n=Math.floor(o/e),r=(o%e).toString(e)+r}while(t||n);return r},e.prototype.toDecimalString=function(){return this.toString(10)},e.prototype.toPaddedHexadecimalString=function(){var e=this.toString(16);return Array(17-e.length).join("0")+e},e.prototype.readInt32=function(e){return 16777216*this.buffer[e]+(this.buffer[e+1]<<16)+(this.buffer[e+2]<<8)+this.buffer[e+3]},e}();function tP(e,t,n){return{context:e.getContext(),user:t.getContext(),hasReplay:!!n.isRecording()||void 0}}function tI(e,t){var n=window.__ddBrowserSdkExtensionCallback;n&&n({type:e,payload:t})}var tR={log:"log",configuration:"configuration"},tj=["https://www.datadoghq-browser-agent.com","https://www.datad0g-browser-agent.com","https://d3uc069fcn7uxw.cloudfront.net","https://d20xtzwzcl0ceb.cloudfront.net","http://localhost",""],tL=["ddog-gov.com"],tN={maxEventsPerPage:0,sentEventCount:0,telemetryEnabled:!1,telemetryConfigurationEnabled:!1};function tD(e,t){G(A.debug,e,t),tG(Q({type:tR.log,message:e,status:"debug"},t))}function tM(e,t){tG(Q({type:tR.log,status:"error"},function(e){if(e instanceof Error){var t=eB(e);return{error:{kind:t.name,stack:e0((t.stack=t.stack.filter(function(e){return!e.url||tj.some(function(t){return $(e.url,t)})}),t))},message:t.message}}return{error:{stack:e$},message:"".concat("Uncaught"," ").concat(ea(e))}}(e),t))}function tG(e){rD&&tN.sentEventCounte[n])return!1;return!0}function tZ(e){if(tH(e.startTime,e.fetchStart,e.domainLookupStart,e.domainLookupEnd,e.connectStart,e.connectEnd,e.requestStart,e.responseStart,e.responseEnd)){if(!tW(e))return e;var t=e.redirectStart,n=e.redirectEnd;if(t=0&&n.entries.splice(e,1)},close:function(e){r.endTime=e}};return this.maxEntries&&this.entries.length>=this.maxEntries&&this.entries.pop(),this.entries.unshift(r),r},e.prototype.find=function(e){void 0===e&&(e=t7);for(var t=0,n=this.entries;t0&&this.entries[this.entries.length-1].endTime0})}});return r}function np(e,t){return tT(e.excludedActivityUrls,t)}var nh="data-dd-action-name";function nv(e,t){if(void 0===rB&&(rB="closest"in HTMLElement.prototype),rB)n=e.closest("[".concat(t,"]"));else for(var n,r=e;r;){if(r.hasAttribute(t)){n=r;break}r=r.parentElement}if(n)return nw(nb(n.getAttribute(t).trim()))}var nm=[function(e,t){if(void 0===rF&&(rF="labels"in HTMLInputElement.prototype),rF){if("labels"in e&&e.labels&&e.labels.length>0)return n_(e.labels[0],t)}else if(e.id){var n=e.ownerDocument&&K(e.ownerDocument.querySelectorAll("label"),function(t){return t.htmlFor===e.id});return n&&n_(n,t)}},function(e){if("INPUT"===e.nodeName){var t=e.getAttribute("type");if("button"===t||"submit"===t||"reset"===t)return e.value}},function(e,t){if("BUTTON"===e.nodeName||"LABEL"===e.nodeName||"button"===e.getAttribute("role"))return n_(e,t)},function(e){return e.getAttribute("aria-label")},function(e,t){var n=e.getAttribute("aria-labelledby");if(n)return n.split(/\s+/).map(function(t){return e.ownerDocument?e.ownerDocument.getElementById(t):null}).filter(function(e){return!!e}).map(function(e){return n_(e,t)}).join(" ")},function(e){return e.getAttribute("alt")},function(e){return e.getAttribute("name")},function(e){return e.getAttribute("title")},function(e){return e.getAttribute("placeholder")},function(e,t){if("options"in e&&e.options.length>0)return n_(e.options[0],t)}],ng=[function(e,t){return n_(e,t)}];function ny(e,t,n){for(var r=e,o=0;o<=10&&r&&"BODY"!==r.nodeName&&"HTML"!==r.nodeName&&"HEAD"!==r.nodeName;){for(var i=0;i100?"".concat(eP(e,100)," [...]"):e}function n_(e,t){if(!e.isContentEditable){if("innerText"in e){var n=e.innerText,r=function(t){for(var r=e.querySelectorAll(t),o=0;o0&&(n=n.replace(a,""))}}};return(null!=rR?rR:rR=!!document.documentMode)&&r("script, style"),r("[".concat(nh,"]")),t&&r("[".concat(t,"]")),n}return e.textContent}}var nE=[nh,"data-testid","data-test","data-qa","data-cy","data-test-id","data-qa-id","data-testing","data-component","data-element","data-source-file"],nS=[nk,function(e){if(e.id&&!nx(e.id))return"#".concat(X(e.id))}],nO=[nk,function(e){if("BODY"!==e.tagName&&e.classList.length>0)for(var t=0;t").concat(t):e}function nR(){var e=window.getSelection();return!e||e.isCollapsed}function nj(e){return e.target instanceof Element&&!1!==e.isPrimary}function nL(e){var t,n;return!e.hasPageActivity&&!e.getUserActivity().input&&(t=e.event.target,n='input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]):not([type="range"]),textarea,select,[contenteditable],[contenteditable] *,canvas,a[href],a[href] *',t.matches?!t.matches(n):!(t.msMatchesSelector&&t.msMatchesSelector(n)))}function nN(e,t){var n=nD(e)?{action:{id:e.id,loading_time:eE(e.duration),frustration:{type:e.frustrationTypes},error:{count:e.counts.errorCount},long_task:{count:e.counts.longTaskCount},resource:{count:e.counts.resourceCount}},_dd:{action:{target:e.target,position:e.position}}}:void 0;return{customerContext:nD(e)?void 0:e.context,rawRumEvent:ei({action:{id:eA(),target:{name:e.name},type:e.type},date:e.startClocks.timeStamp,type:"action",view:{in_foreground:t.isInActivePageStateAt(e.startClocks.relative)}},n),startTime:e.startClocks.relative,domainContext:nD(e)?{event:e.event,events:e.events}:{}}}function nD(e){return"custom"!==e.type}var nM=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?([\s\S]*)$/,nG={},nU="csp_violation";function nF(e,t,n,r,o){return n?e0({name:e,message:t,stack:[{func:"?",url:n,line:null!=r?r:void 0,column:null!=o?o:void 0}]}):void 0}function nB(e){return e.startTime+e.duration}function nV(e){var t,n,r;return{resource:Q({duration:(t=e.duration,n=e.startTime,r=e.responseEnd,0===t&&n=this.messageBytesLimit){R.warn("Discarded a message whose size was bigger than the maximum allowed size ".concat(this.messageBytesLimit,"KB."));return}this.hasMessageFor(t)&&this.remove(t),this.push(r,o,t)},e.prototype.process=function(e){var t=ea(e),n=et(t);return{processedMessage:t,messageBytesCount:n}},e.prototype.push=function(e,t,n){var r=this.flushController.messagesCount>0?1:0;this.flushController.notifyBeforeAddMessage(t+r),void 0!==n?this.upsertBuffer[n]=e:this.pushOnlyBuffer.push(e),this.flushController.notifyAfterAddMessage()},e.prototype.remove=function(e){var t=this.upsertBuffer[e];delete this.upsertBuffer[e];var n=et(t),r=this.flushController.messagesCount>1?1:0;this.flushController.notifyAfterRemoveMessage(n+r)},e.prototype.hasMessageFor=function(e){return void 0!==e&&void 0!==this.upsertBuffer[e]},e}();function n1(e,t,n,r,o){0===t.transportStatus&&0===t.queuedPayloads.size()&&t.bandwidthMonitor.canHandle(e)?n2(e,t,n,{onSuccess:function(){return n4(0,t,n,r,o)},onFailure:function(){t.queuedPayloads.enqueue(e),function e(t,n,r,o){2===t.transportStatus&&U(function(){n2(t.queuedPayloads.first(),t,n,{onSuccess:function(){t.queuedPayloads.dequeue(),t.currentBackoffTime=1e3,n4(1,t,n,r,o)},onFailure:function(){t.currentBackoffTime=Math.min(6e4,2*t.currentBackoffTime),e(t,n,r,o)}})},t.currentBackoffTime)}(t,n,r,o)}}):t.queuedPayloads.enqueue(e)}function n2(e,t,n,r){var o=r.onSuccess,i=r.onFailure;t.bandwidthMonitor.add(e),n(e,function(n){t.bandwidthMonitor.remove(e),"opaque"!==n.type&&(0===n.status&&!navigator.onLine||408===n.status||429===n.status||n.status>=500)?(t.transportStatus=t.bandwidthMonitor.ongoingRequestCount>0?1:2,e.retry={count:e.retry?e.retry.count+1:1,lastFailureStatus:n.status},i()):(t.transportStatus=0,o())})}function n4(e,t,n,r,o){0===e&&t.queuedPayloads.isFull()&&!t.queueFullReported&&(o({message:"Reached max ".concat(r," events size queued for upload: ").concat(3,"MiB"),source:t1.AGENT,startClocks:eT()}),t.queueFullReported=!0);var i=t.queuedPayloads;for(t.queuedPayloads=n3();i.size()>0;)n1(i.dequeue(),t,n,r,o)}function n3(){var e=[];return{bytesCount:0,enqueue:function(t){this.isFull()||(e.push(t),this.bytesCount+=t.bytesCount)},first:function(){return e[0]},dequeue:function(){var t=e.shift();return t&&(this.bytesCount-=t.bytesCount),t},size:function(){return e.length},isFull:function(){return this.bytesCount>=3145728}}}var n6=!1;function n5(e,t,n,r){var o=new XMLHttpRequest;o.open("POST",t,!0),eM(e,o,"loadend",function(){null==r||r({status:o.status})},{once:!0}),o.send(n)}function n9(){0!==rW.batchCount&&(tD("Customer data measures",rW),rt())}function n7(){return{min:1/0,max:0,sum:0}}function n8(e,t){e.sum+=t,e.min=Math.min(e.min,t),e.max=Math.max(e.max,t)}function re(e,t){e.sum+=t.sum,e.min=Math.min(e.min,t.min),e.max=Math.max(e.max,t.max)}function rt(){rW={batchCount:0,batchBytesCount:n7(),batchMessagesCount:n7(),globalContextBytes:n7(),userContextBytes:n7(),featureFlagBytes:n7()}}function rn(){rq=!1,rz={globalContextBytes:n7(),userContextBytes:n7(),featureFlagBytes:n7()}}function rr(){return"hidden"===document.visibilityState?"hidden":document.hasFocus()?"active":"passive"}var ro=function(e,t,n){var r,o,i={}.ignoreInitIfSyntheticsWillInjectRum,a=void 0===i||i,u=!1,c=ev(2),s=ev(1),l=function(){},f=function(){},d=Z,p=function(){},h=new em,v=function(e,t){void 0===t&&(t=eS()),h.add(function(){return v(e,t)})},m=function(e,t){void 0===t&&(t=eT()),h.add(function(){return m(e,t)})},g=function(e,n){void 0===n&&(n=tP(c,s,t)),h.add(function(){return g(e,n)})},y=function(e,n){void 0===n&&(n=tP(c,s,t)),h.add(function(){return y(e,n)})},b=function(e,t){h.add(function(){return b(e,t)})};function w(n,r,o){if(n.storeContextsAcrossPages){var i=c.getContext();(c=eF(r,"rum",2)).setContext(ei(c.getContext(),i));var a=s.getContext();(s=eF(r,"rum",1)).setContext(ei(s.getContext(),a))}var u=e(n,r,t,c,s,o);p=function(){return t.getSessionReplayLink(r,u.session,u.viewContexts)},m=u.startView,g=u.addAction,y=u.addError,v=u.addTiming,b=u.addFeatureFlagEvaluation,l=u.getInternalContext,d=u.stopSession,h.drain(),t.onRumStart(u.lifeCycle,r,u.session,u.viewContexts)}var _=D(function(e){m("object"==typeof e?e:{name:e})});return r={init:D(function(e){if(!e){R.error("Missing configuration");return}if(f=function(){return eo(e)},!(a&&eL())){var t,n=eD();if(n&&(e=Q({},e,{applicationId:"00000000-aaaa-0000-aaaa-000000000000",clientToken:"empty",sessionSampleRate:100})),t=e,!u||(t.silentMultipleInit||R.error("DD_RUM is already initialized."),0)){var r=function(e){if(!e.applicationId){R.error("Application ID is not configured, no RUM data will be collected.");return}if(void 0!==e.sessionReplaySampleRate&&!eb(e.sessionReplaySampleRate)){R.error("Session Replay Sample Rate should be a number between 0 and 100");return}var t,n,r,o,i,a,u=null!==(t=e.premiumSampleRate)&&void 0!==t?t:e.replaySampleRate;if(void 0!==u&&void 0!==e.sessionReplaySampleRate&&(R.warn("Ignoring Premium Sample Rate because Session Replay Sample Rate is set"),u=void 0),void 0!==u&&!eb(u)){R.error("Premium Sample Rate should be a number between 0 and 100");return}var c=null!==(n=e.traceSampleRate)&&void 0!==n?n:e.tracingSampleRate;if(void 0!==c&&!eb(c)){R.error("Trace Sample Rate should be a number between 0 and 100");return}if(void 0!==e.excludedActivityUrls&&!Array.isArray(e.excludedActivityUrls)){R.error("Excluded Activity Urls should be an array");return}var s=function(e){if(void 0!==e.allowedTracingUrls&&void 0!==e.allowedTracingOrigins&&R.warn("Both allowedTracingUrls and allowedTracingOrigins (deprecated) have been defined. The parameter allowedTracingUrls will override allowedTracingOrigins."),void 0!==e.allowedTracingUrls){if(!Array.isArray(e.allowedTracingUrls)){R.error("Allowed Tracing URLs should be an array");return}if(0!==e.allowedTracingUrls.length&&void 0===e.service){R.error("Service needs to be configured when tracing is enabled");return}var t=[];return e.allowedTracingUrls.forEach(function(e){tO(e)?t.push({match:e,propagatorTypes:["datadog"]}):"object"===en(e)&&tO(e.match)&&Array.isArray(e.propagatorTypes)?t.push(e):R.warn("Allowed Tracing Urls parameters should be a string, RegExp, function, or an object. Ignoring parameter",e)}),t}if(void 0!==e.allowedTracingOrigins){if(!Array.isArray(e.allowedTracingOrigins)){R.error("Allowed Tracing Origins should be an array");return}if(0!==e.allowedTracingOrigins.length&&void 0===e.service){R.error("Service needs to be configured when tracing is enabled");return}var n=[];return e.allowedTracingOrigins.forEach(function(e){var t=function(e){var t;if("string"==typeof e?t=e:e instanceof RegExp?t=function(t){return e.test(tv(tp(t)))}:"function"==typeof e&&(t=function(t){return e(tv(tp(t)))}),void 0===t){R.warn("Allowed Tracing Origins parameters should be a string, RegExp or function. Ignoring parameter",e);return}return{match:t,propagatorTypes:["datadog"]}}(e);t&&n.push(t)}),n}return[]}(e);if(s){var l=function(e){if(!e||!e.clientToken){R.error("Client Token is not configured, we will not send any data.");return}var t,n,r,o,i,a,u,c,s,l,f,d,p=null!==(l=e.sessionSampleRate)&&void 0!==l?l:e.sampleRate;if(void 0!==p&&!eb(p)){R.error("Session Sample Rate should be a number between 0 and 100");return}if(void 0!==e.telemetrySampleRate&&!eb(e.telemetrySampleRate)){R.error("Telemetry Sample Rate should be a number between 0 and 100");return}if(void 0!==e.telemetryConfigurationSampleRate&&!eb(e.telemetryConfigurationSampleRate)){R.error("Telemetry Configuration Sample Rate should be a number between 0 and 100");return}return Array.isArray(e.enableExperimentalFeatures)&&function(e){e.forEach(function(e){e3.add(e)})}(e.enableExperimentalFeatures.filter(function(e){return e9(rI,e)})),Q({beforeSend:e.beforeSend&&W(e.beforeSend,"beforeSend threw an error:"),sessionStoreStrategyType:((n=!function(e){if(void 0===document.cookie||null===document.cookie)return!1;try{var t="dd_cookie_test_".concat(eA()),n="test";eI(t,n,6e4,e);var r=eR(t)===n;return ej(t,e),r}catch(e){return R.error(e),!1}}(((t={}).secure=!!e.useSecureSessionCookie||!!e.useCrossSiteSessionCookie,t.crossSite=!!e.useCrossSiteSessionCookie,e.trackSessionAcrossSubdomains&&(t.domain=function(){if(void 0===rP){for(var e="dd_site_test_".concat(eA()),t=window.location.hostname.split("."),n=t.pop();t.length&&!eR(e);)eI(e,"test",1e3,{domain:n="".concat(t.pop(),".").concat(n)});ej(e,{domain:n}),rP=n}return rP}()),t))?void 0:{type:"Cookie",cookieOptions:t})||!e.allowFallbackToLocalStorage||(n=function(){try{var e=eA(),t="".concat("_dd_test_").concat(e);localStorage.setItem(t,e);var n=localStorage.getItem(t);return localStorage.removeItem(t),e===n?{type:"LocalStorage"}:void 0}catch(e){return}}()),n),sessionSampleRate:null!=p?p:100,telemetrySampleRate:null!==(f=e.telemetrySampleRate)&&void 0!==f?f:20,telemetryConfigurationSampleRate:null!==(d=e.telemetryConfigurationSampleRate)&&void 0!==d?d:5,service:e.service,silentMultipleInit:!!e.silentMultipleInit,batchBytesLimit:16384,eventRateLimiterThreshold:3e3,maxTelemetryEventsPerPage:15,flushTimeout:3e4,batchMessagesLimit:50,messageBytesLimit:262144},(r=e.env,o=e.service,i=e.version,a=e.datacenter,u=[],r&&u.push(tE("env",r)),o&&u.push(tE("service",o)),i&&u.push(tE("version",i)),a&&u.push(tE("datacenter",a)),s=Y(c={logsEndpointBuilder:tw(e,"logs",u),rumEndpointBuilder:tw(e,"rum",u),sessionReplayEndpointBuilder:tw(e,"sessionReplay",u)}).map(function(e){return e.urlPrefix}),Q({isIntakeUrl:function(e){return s.some(function(t){return 0===e.indexOf(t)})},replica:function(e,t,n){if(e.replica){var r=Q({},e,{site:tg,clientToken:e.replica.clientToken}),o={logsEndpointBuilder:tw(r,"logs",n),rumEndpointBuilder:tw(r,"rum",n)};return t.push.apply(t,Y(o).map(function(e){return e.urlPrefix})),Q({applicationId:e.replica.applicationId},o)}}(e,s,u),site:e.site||tg},c)))}(e);if(l){var f=!!(null!==(r=e.trackUserInteractions)&&void 0!==r?r:e.trackInteractions),d=!!e.trackFrustrations;return Q({applicationId:e.applicationId,version:e.version,actionNameAttribute:e.actionNameAttribute,sessionReplaySampleRate:null!==(i=null!==(o=e.sessionReplaySampleRate)&&void 0!==o?o:u)&&void 0!==i?i:100,oldPlansBehavior:void 0===e.sessionReplaySampleRate,traceSampleRate:c,allowedTracingUrls:s,excludedActivityUrls:null!==(a=e.excludedActivityUrls)&&void 0!==a?a:[],workerUrl:e.workerUrl,trackUserInteractions:f||d,trackFrustrations:d,trackViewsManually:!!e.trackViewsManually,trackResources:e.trackResources,trackLongTasks:e.trackLongTasks,subdomain:e.subdomain,defaultPrivacyLevel:e9(tS,e.defaultPrivacyLevel)?e.defaultPrivacyLevel:tS.MASK_USER_INPUT,customerDataTelemetrySampleRate:1},l)}}}(e);if(r){if(!n&&!r.sessionStoreStrategyType){R.warn("No storage available for session. We will not send any data.");return}if(r.trackViewsManually){var o=h;h=new em,m=function(t){w(e,r,t)},o.drain()}else w(e,r);u=!0}}}}),addRumGlobalContext:D(function(e,t){return c.add(e,t)}),setGlobalContextProperty:D(function(e,t){return c.setContextProperty(e,t)}),removeRumGlobalContext:D(function(e){return c.remove(e)}),removeGlobalContextProperty:D(function(e){return c.removeContextProperty(e)}),getRumGlobalContext:D(function(){return c.get()}),getGlobalContext:D(function(){return c.getContext()}),setRumGlobalContext:D(function(e){return c.set(e)}),setGlobalContext:D(function(e){return c.setContext(e)}),clearGlobalContext:D(function(){return c.clearContext()}),getInternalContext:D(function(e){return l(e)}),getInitConfiguration:D(function(){return f()}),addAction:D(function(e,t){g({name:ec(e),context:ec(t),startClocks:eT(),type:"custom"})}),addError:function(e,t){var n=e2();M(function(){y({error:e,handlingStack:n,context:ec(t),startClocks:eT()})})},addTiming:D(function(e,t){v(ec(e),t)}),setUser:D(function(e){var t;(t="object"===en(e))||R.error("Unsupported user:",e),t&&s.setContext(e4(e))}),getUser:D(function(){return s.getContext()}),setUserProperty:D(function(e,t){var n,r=e4(((n={})[e]=t,n))[e];s.setContextProperty(e,r)}),removeUserProperty:D(function(e){return s.removeContextProperty(e)}),removeUser:D(function(){return s.clearContext()}),clearUser:D(function(){return s.clearContext()}),startView:_,stopSession:D(function(){d()}),startSessionReplayRecording:D(t.start),stopSessionReplayRecording:D(t.stop),addFeatureFlagEvaluation:D(function(e,t){b(ec(e),ec(t))}),getSessionReplayLink:D(function(){return p()})},Object.defineProperty(o=Q({version:"4.50.1",onReady:function(e){e()}},r),"_setDebug",{get:function(){return N},enumerable:!1}),o}(function(e,t,n,r,o,i){var a,u,c,s,l,f,d,p,h,v,m,g,y,b,w,_,E,S,O,T,x,P,I,j,L=[],N=new t9;N.subscribe(11,function(e){return tI("rum",e)});var G=function(e){var t,n,r,o,i=(t="browser-rum-sdk",r=new ef,tN.telemetryEnabled=!z(tL,e.site)&&eg(e.telemetrySampleRate),tN.telemetryConfigurationEnabled=tN.telemetryEnabled&&eg(e.telemetryConfigurationSampleRate),o={is_local_file:"file:"===window.location.protocol,is_worker:"WorkerGlobalScope"in self},rD=function(e){if(tN.telemetryEnabled){var i=ei({type:"telemetry",date:eS(),service:t,version:"4.50.1",source:"browser",_dd:{format_version:2},telemetry:ei(e,{runtime_env:o}),experimental_features:q(e3)},void 0!==n?n():{});r.notify(i),tI("telemetry",i)}},rk=tM,Q(tN,{maxEventsPerPage:e.maxTelemetryEventsPerPage,sentEventCount:0}),{setContextProvider:function(e){n=e},observable:r,enabled:tN.telemetryEnabled});if(eD()){var a=eN();i.observable.subscribe(function(e){return a.send("internal_telemetry",e)})}return i}(t);G.setContextProvider(function(){var e,n;return{application:{id:t.applicationId},session:{id:null===(e=ee.findTrackedSession())||void 0===e?void 0:e.id},view:{id:null===(n=eZ.findView())||void 0===n?void 0:n.id},action:{id:eq.findActionId()}}});var W=function(e){N.notify(12,{error:e}),tD("Error reported to customer",{"error.message":e.message})},Y=function(e,t){if(void 0===t&&(t=et),!e6(rI.FEATURE_FLAGS))return{findFeatureFlagEvaluations:function(){},getFeatureFlagBytesCount:function(){return 0},addFeatureFlagEvaluation:Z,stop:Z};var n=new t8(144e5),r=0,o=!1;e.subscribe(4,function(e){var t=e.endClocks;n.closeActive(t.relative)}),e.subscribe(2,function(e){var t=e.startClocks;n.add({},t.relative),r=0});var i=H(function(e){r=t(ea(e)),o||(o=eh(r,0))},200),a=i.throttled;return{findFeatureFlagEvaluations:function(e){return n.find(e)},getFeatureFlagBytesCount:function(){return n.find()?r:0},addFeatureFlagEvaluation:function(e,t){var r=n.find();r&&(r[e]=t,a(r))},stop:i.cancel}}(N),$=eu=new ef(function(){var e=e6(rI.PAGEHIDE),n=eG(t,window,["visibilitychange","freeze","pagehide"],function(t){"pagehide"===t.type&&e?eu.notify({reason:tU.PAGEHIDE}):"visibilitychange"===t.type&&"hidden"===document.visibilityState?eu.notify({reason:tU.HIDDEN}):"freeze"===t.type&&eu.notify({reason:tU.FROZEN})},{capture:!0}).stop,r=Z;return e||(r=eM(t,window,"beforeunload",function(){eu.notify({reason:tU.UNLOADING})}).stop),function(){n(),r()}}),X=$.subscribe(function(e){N.notify(9,e)});L.push(function(){return X.unsubscribe()});var ee=eD()?(es={id:"00000000-aaaa-0000-aaaa-000000000000",plan:1,sessionReplayAllowed:!1,longTaskAllowed:!0,resourceAllowed:!0},{findTrackedSession:function(){return es},expire:Z,expireObservable:new ef}):((el=function(e,t,n){var r,o,i,a,u,c=function(e,t,n){var r,o,i,a=new ef,u=new ef,c="Cookie"===e.type?(o=e.cookieOptions,function(e){if(!eR(e8)){var t=eR("_dd"),n=eR("_dd_r"),r=eR("_dd_l"),o={};t&&(o.id=t),r&&/^[01]$/.test(r)&&(o.logs=r),n&&/^[012]$/.test(n)&&(o.rum=n),e7(o)||(tt(o),e.persistSession(o))}}(i={isLockEnabled:null!=rj?rj:rj=!!window.chrome||/HeadlessChrome/.test(window.navigator.userAgent),persistSession:function(e){eI(e8,tn(e),9e5,o)},retrieveSession:to,clearSession:function(){ej(e8,o)}}),i):{isLockEnabled:!1,persistSession:ti,retrieveSession:ta,clearSession:tu},s=c.clearSession,l=c.retrieveSession,f=B(function(){ts({process:function(e){return v(e)?void 0:{}},after:p},c)},1e3),d=v(r=l())?r:{};function p(e){var t;return v(e)||(e={}),h()&&((t=e,d.id!==t.id||d.rum!==t.rum)?(d={},u.notify()):d=e),e}function h(){return void 0!==d[t]}function v(e){return(void 0===e.created||eS()-Number(e.created)<144e5)&&(void 0===e.expire||eS()=r&&d("bytes_limit"),f+=1,l+=e,void 0===t&&(t=U(function(){d("duration_limit")},o))},notifyAfterAddMessage:function(){f>=n?d("messages_limit"):l>=r&&d("bytes_limit")},notifyAfterRemoveMessage:function(e){l-=e,0==(f-=1)&&p()}}}({messagesLimit:e.batchMessagesLimit,bytesLimit:e.batchBytesLimit,durationLimit:e.flushTimeout,pageExitObservable:o,sessionExpireObservable:i}),e.messageBytesLimit)}return{flushObservable:a.flushController.flushObservable,add:function(e,t){void 0===t&&(t=!0),a.add(e),u&&t&&u.add(n.transformMessage?n.transformMessage(e):e)},upsert:function(e,t){a.upsert(e,t),u&&u.upsert(n.transformMessage?n.transformMessage(e):e,t)},stop:function(){a.stop(),null==u||u.stop()}}}(t,{endpoint:t.rumEndpointBuilder},em&&{endpoint:em.rumEndpointBuilder,transformMessage:function(e){return ei(e,{application:{id:em.applicationId}})}},W,$,ev),N.subscribe(11,function(e){"view"===e.type?eb.upsert(e,e.view.id):eb.add(e)}),ep.subscribe(function(e){return eb.add(e,t.site===tm)}),eb);L.push(function(){return eU.stop()}),er=eU.flushObservable,G.enabled&&eg(t.customerDataTelemetrySampleRate)&&(rt(),rn(),N.subscribe(11,function(e){rq=!0,n8(rz.globalContextBytes,e7(r.get())?0:r.getBytesCount()),n8(rz.userContextBytes,e7(o.get())?0:o.getBytesCount());var t=Y.findFeatureFlagEvaluations(),n=z(["view","error"],e.type)&&t&&!e7(t);n8(rz.featureFlagBytes,n?Y.getFeatureFlagBytesCount():0)}),er.subscribe(function(e){var t=e.bytesCount,n=e.messagesCount;rq&&(rW.batchCount+=1,n8(rW.batchBytesCount,t),n8(rW.batchMessagesCount,n),re(rW.globalContextBytes,rz.globalContextBytes),re(rW.userContextBytes,rz.userContextBytes),re(rW.featureFlagBytes,rz.featureFlagBytes),rn())}),B(n9,1e4))}var eF=(d=function(){var e,t=window;if(t.Zone&&(e=k(t,"MutationObserver"),t.MutationObserver&&e===t.MutationObserver)){var n=k(new t.MutationObserver(Z),"originalInstance");e=n&&n.constructor}return e||(e=t.MutationObserver),e}(),p=new ef(function(){if(d){var e=new d(D(function(){return p.notify()}));return e.observe(document,{attributes:!0,characterData:!0,childList:!0,subtree:!0}),function(){return e.disconnect()}}})),eV=function(e,t){var n=e5(t),r=new ef(function(){var t,n,r,i=(t=nt(history,"pushState",{after:o}).stop,n=nt(history,"replaceState",{after:o}).stop,r=eM(e,window,"popstate",o).stop,{stop:function(){t(),n(),r()}}).stop,a=eM(e,window,"hashchange",o).stop;return function(){i(),a()}});function o(){if(n.href!==t.href){var e=e5(t);r.notify({newLocation:e,oldLocation:n}),n=e}}return r}(t,location),eH=function(e,t,n,r,o,i,a,u){var c,s,l,f=(s=new t8(144e5),e.subscribe(2,function(e){s.add({service:e.service,version:e.version,id:e.id,name:e.name,startClocks:e.startClocks},e.startClocks.relative)}),e.subscribe(4,function(e){var t=e.endClocks;s.closeActive(t.relative)}),e.subscribe(8,function(){s.reset()}),{findView:function(e){return s.find(e)},stop:function(){s.stop()}}),d=function(e,t,n){var r,o=new t8(144e5);e.subscribe(4,function(e){var t=e.endClocks;o.closeActive(t.relative)}),e.subscribe(2,function(e){var t=e.startClocks,i=n.href;o.add(a({url:i,referrer:r||document.referrer}),t.relative),r=i});var i=t.subscribe(function(e){var t=e.newLocation,n=o.find();if(n){var r=eO();o.closeActive(r),o.add(a({url:t.href,referrer:n.referrer}),r)}});function a(e){return{url:e.url,referrer:e.referrer}}return{findUrl:function(e){return o.find(e)},stop:function(){i.unsubscribe(),o.stop()}}}(e,o,n),p=function(e,t){void 0===t&&(t=500);var n,r=new t8(144e5,4e3);i(rr(),eO());var o=eG(e,window,["pageshow","focus","blur","visibilitychange","resume","freeze","pagehide"],function(e){e.isTrusted&&i("freeze"===e.type?"frozen":"pagehide"===e.type?e.persisted?"frozen":"terminated":rr(),e.timeStamp)},{capture:!0}).stop;function i(e,t){void 0===t&&(t=eO()),e!==n&&(n=e,r.closeActive(t),r.add({state:n,startTime:t},t))}return{findAll:function(e,n){var o=r.findAll(e,n);if(0!==o.length){for(var i=[],a=Math.max(0,o.length-t),u=o.length-1;u>=a;u--){var c=o[u],s=c.startTime-e;i.push({state:c.state,start:eE(s)})}return i}},isInActivePageStateAt:function(e){var t=r.find(e);return void 0!==t&&"active"===t.state},addPageState:i,stop:function(){o(),r.stop()}}}(t),h=function(e,t,n,r){e.subscribe(1,function(t){return e.notify(10,nN(t,r))});var o={findActionId:Z};return n.trackUserInteractions&&(o=function(e,t,n){var r,o,i,a,u,c,s,l,f=new t8(3e5),d=new ef;e.subscribe(8,function(){f.reset()}),e.subscribe(4,v);var p=(a=(r={onPointerDown:function(r){return function(e,t,n,r,o){if(!(!e.trackFrustrations&&r.find())){var i,a,u,c,s,l=(i=o,a=e.actionNameAttribute,{type:"click",target:{width:Math.round((c=i.target.getBoundingClientRect()).width),height:Math.round(c.height),selector:nT(i.target,a)},position:{x:Math.round(i.clientX-c.left),y:Math.round(i.clientY-c.top)},name:nv(u=i.target,nh)||a&&nv(u,a)||ny(u,a,nm)||ny(u,a,ng)||""});if(e.trackFrustrations||l.name){var f=!1;return s=function(e){f=e.hadActivity},nf(nd(t,n,e),s,100),{clickActionBase:l,hadActivityOnPointerDown:function(){return f}}}}}(n,e,t,f,r)},onPointerUp:function(r,o,i){var a,u,c,s,l,p,v,m,g,y,b,w,_,E,S;return a=n,u=e,c=t,s=f,l=d,p=h,v=r.clickActionBase,m=o,g=i,y=r.hadActivityOnPointerDown,w=function e(t,n,r,o,i){var a,u=eA(),c=eT(),s=n.add(u,c.relative),l=nl({lifeCycle:t,isChildEvent:function(e){return void 0!==e.action&&(Array.isArray(e.action.id)?z(e.action.id,u):e.action.id===u)}}),f=0,d=[],p=new ef;function h(e){0===f&&((f=1,a=e)?s.close(a-ek()):s.remove(),l.stop(),p.notify())}return{event:i,stop:h,stopObservable:p,get hasError(){return l.eventCounts.errorCount>0},get hasPageActivity(){return void 0!==a},getUserActivity:r,addFrustration:function(e){d.push(e)},startClocks:c,isStopped:function(){return 1===f||2===f},clone:function(){return e(t,n,r,o,i)},validate:function(e){if(h(),1===f){var n,r=l.eventCounts,s=r.resourceCount,p=r.errorCount,v=r.longTaskCount,m=Q({type:"click",duration:a&&(n=c.timeStamp,a-n),startClocks:c,id:u,frustrationTypes:d,counts:{resourceCount:s,errorCount:p,longTaskCount:v},events:null!=e?e:[i],event:i},o);t.notify(1,m),f=2}},discard:function(){h(),f=2}}}(u,s,g,v,m),a.trackFrustrations&&p(w),_=(b=function(e){e.hadActivity&&e.end0)||(t=r[r.length-1].event,n=e.event,t.target===n.target&&100>=Math.sqrt(Math.pow(t.clientX-n.clientX,2)+Math.pow(t.clientY-n.clientY,2))&&t.timeStamp-n.timeStamp<=1e3)?(i(e),!0):(u(),!1))},stop:function(){u()}}}(e,function(e){(function(e,t){if(function(e){if(e.some(function(e){return e.getUserActivity().selection}))return!1;for(var t=0;t0,use_allowed_tracing_urls:Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0,selected_tracing_propagators:(w=new Set,Array.isArray(e.allowedTracingUrls)&&e.allowedTracingUrls.length>0&&e.allowedTracingUrls.forEach(function(e){tO(e)?w.add("datadog"):"object"===en(e)&&Array.isArray(e.propagatorTypes)&&e.propagatorTypes.forEach(function(e){return w.add(e)})}),Array.isArray(e.allowedTracingOrigins)&&e.allowedTracingOrigins.length>0&&w.add("datadog"),q(w)),default_privacy_level:e.defaultPrivacyLevel,use_excluded_activity_urls:Array.isArray(e.excludedActivityUrls)&&e.excludedActivityUrls.length>0,use_worker_url:!!e.workerUrl,track_frustrations:e.trackFrustrations,track_views_manually:e.trackViewsManually,track_user_interactions:null!==(y=e.trackUserInteractions)&&void 0!==y?y:e.trackInteractions},b),tN.telemetryConfigurationEnabled&&tG({type:tR.configuration,configuration:_}),function(e,t){e.subscribe(0,function(n){for(var r=0;r=n-1&&nB(t)<=r+1});if(1===n.length)return n[0]}}}(e))?e_(a.startTime):e.startClocks,c=a?nV(a):void 0,s=function(e,t){if(e.traceSampled&&e.traceId&&e.spanId)return{_dd:{span_id:e.spanId.toDecimalString(),trace_id:e.traceId.toDecimalString(),rule_psr:nH(t)}}}(e,t),l=nZ(ee,u),n=e.duration,f=e6(rI.NO_RESOURCE_DURATION_FROZEN_STATE)&&(null===(r=eW.findAll(u.relative,n))||void 0===r?void 0:r.some(function(e){return"frozen"===e.state}))?void 0:eE(n),d=nW(eW,u,null!==(o=null==a?void 0:a.duration)&&void 0!==o?o:e.duration),p=ei({date:u.timeStamp,resource:{id:eA(),type:i,duration:f,method:e.method,status_code:e.status,url:e.url},type:"resource"},s,c,l,d),{startTime:u.relative,rawRumEvent:p,domainContext:{performanceEntry:a&&a,xhr:e.xhr,response:e.response,requestInput:e.input,requestInit:e.init,error:e.error}}))}),N.subscribe(0,function(e){for(var n=0;n=0?o.start:0,u=i?i.start:eE(t);n.push({start:a,duration:u-a})}}return n}(_,e.duration):void 0},feature_flags:b&&!e7(b)?b:void 0,display:e.commonViewMetrics.scroll?{scroll:{max_depth:e.commonViewMetrics.scroll.maxDepth,max_depth_scroll_top:e.commonViewMetrics.scroll.maxDepthScrollTop,max_scroll_height:e.commonViewMetrics.scroll.maxScrollHeight,max_scroll_height_time:eE(e.commonViewMetrics.scroll.maxScrollHeightTime)}}:void 0,session:{has_replay:!!y||void 0,is_active:!!e.sessionIsActive&&void 0},privacy:{replay_level:t.defaultPrivacyLevel}},e7(e.customTimings)||(E.view.custom_timings=function(e,t){for(var n={},r=0,o=Object.keys(e);r0)||i(Math.max.apply(Math,s))}return{stop:(a=function(e){if(c){if(c=!1,e.hadActivity){var t;s.push((t=o.timeStamp,e.end-t))}l()}},nf(nd(e,t,n),a,void 0)).stop,setLoadEvent:function(e){u&&(u=!1,s.push(e),l())}}}(e,t,n,o,s=i,function(e){l.loadingTime=e,ec()})).stop,p=f.setLoadEvent,w=(h=function(e){l.scroll=e},void 0===v&&(void 0===u&&(u=1e3),v=c=new ef(function(){if(window.ResizeObserver){var e=H(function(){var e,t,n;c.notify((t=Math.round((e=window.visualViewport)?e.pageTop-e.offsetTop:void 0!==window.scrollY?window.scrollY:window.pageYOffset||0),n=nJ().height,{scrollHeight:Math.round((document.scrollingElement||document.documentElement).scrollHeight),scrollDepth:Math.round(n+t),scrollTop:t}))},u,{leading:!1,trailing:!0}),t=document.scrollingElement||document.documentElement,r=new ResizeObserver(D(e.throttled));r.observe(t);var o=eM(n,window,"scroll",e.throttled,{passive:!0});return function(){e.cancel(),r.unobserve(t),o.stop()}}})),m=0,g=0,y=0,b=v.subscribe(function(e){var t=e.scrollDepth,n=e.scrollTop,r=e.scrollHeight,o=!1;t>m&&(m=t,o=!0),r>g&&(g=r,y=eO()-s.relative,o=!0),o&&h({maxDepth:Math.min(m,g),maxDepthScrollTop:n,maxScrollHeight:g,maxScrollHeightTime:y})}),{stop:function(){return b.unsubscribe()}}).stop,_=function(e,t,n){if(!tX(rM.LAYOUT_SHIFT))return{stop:Z};var r,o,i,a,u,c,s=0;n({value:0});var l=(u=0,c=0,{update:function(e){var t,n;void 0===r||e.startTime-o>=1e3||e.startTime-r>=5e3?(r=o=e.startTime,u=e.value,c=0,i=void 0):(u+=e.value,o=e.startTime),e.value>c&&(c=e.value,a=e.startTime,i=(null===(t=e.sources)||void 0===t?void 0:t.length)?null===(n=K(e.sources,function(e){return!!e.node&&tK(e.node)}))||void 0===n?void 0:n.node:void 0)},value:function(){return u},largestLayoutShiftTarget:function(){return i},largestLayoutShiftTime:function(){return a}});return{stop:t.subscribe(0,function(t){for(var r=0;rs)){var i=ey(s=l.value(),4),a=l.largestLayoutShiftTarget(),u=void 0;e6(rI.WEB_VITALS_ATTRIBUTION)&&a&&(u=nT(a,e.actionNameAttribute)),n({value:i,targetSelector:u})}}}).unsubscribe}}(n,e,function(e){l.cumulativeLayoutShift=e,ec()}).stop,S=(E=function(e,t,n,r){if(!(tX(rM.EVENT)&&window.PerformanceEventTiming&&"interactionId"in PerformanceEventTiming.prototype)||!e6(rI.INTERACTION_TO_NEXT_PAINT))return{getInteractionToNextPaint:function(){},stop:Z};var o,i,a=("interactionCount"in performance||rH||(rH=new window.PerformanceObserver(D(function(e){e.getEntries().forEach(function(e){e.interactionId&&(nq=Math.min(nq,e.interactionId),nz=((nK=Math.max(nK,e.interactionId))-nq)/7+1)})}))).observe({type:"event",buffered:!0,durationThreshold:0}),o="initial_load"===n?0:nY(),{getViewInteractionCount:function(){return nY()-o}}).getViewInteractionCount,u=function(e){var t=[];function n(){t.sort(function(e,t){return t.duration-e.duration}).splice(10)}return{process:function(e){var r=t.findIndex(function(t){return e.interactionId===t.interactionId}),o=t[t.length-1];-1!==r?e.duration>t[r].duration&&(t[r]=e,n()):(t.length<10||e.duration>o.duration)&&(t.push(e),n())},estimateP98Interaction:function(){var n=Math.min(t.length-1,Math.floor(e()/50));return t[n]}}}(a),c=-1,s=!1;return{getInteractionToNextPaint:function(){return c>=0?{value:c,targetSelector:i}:a()?{value:0}:void 0},stop:r.subscribe(0,function(n){for(var r,o,a=0;a6e5&&!s&&(s=!0,tD("INP outlier",{inp:c,interaction:{timeFromViewStart:(r=t.relative,f.startTime-r),duration:f.duration,startTime:f.startTime,processingStart:f.processingStart,processingEnd:f.processingEnd,interactionId:f.interactionId,name:f.name,targetNodeName:null===(o=f.target)||void 0===o?void 0:o.nodeName}})),i=e6(rI.WEB_VITALS_ATTRIBUTION)&&f.target&&tK(f.target)?nT(f.target,e.actionNameAttribute):void 0)}).unsubscribe}}(n,s,o,e)).stop,O=E.getInteractionToNextPaint,{stop:function(){d(),_(),w(),S()},setLoadEvent:p,getCommonViewMetrics:function(){return l.interactionToNextPaint=O(),l}}),ed=el.setLoadEvent,ep=el.stop,eh=el.getCommonViewMetrics,ev="initial_load"===o?(T={},k=(x=function(e){ed(e.loadEvent),T.navigationTimings=e,ec()},{stop:e.subscribe(0,function(e){for(var t=0;t=0&&n.responseStart<=eO()?n.responseStart:void 0})}}).unsubscribe}).stop,void 0===A&&(A=window),"hidden"===document.visibilityState?C=0:(C=1/0,P=eG(n,A,["pagehide","visibilitychange"],function(e){("pagehide"===e.type||"hidden"===document.visibilityState)&&(C=e.timeStamp,P())},{capture:!0}).stop),I={get timeStamp(){return C},stop:function(){null==P||P()}},L=(j=function(e){T.firstContentfulPaint=e,ec()},{stop:e.subscribe(0,function(e){var t=K(e,function(e){return e.entryType===rM.PAINT&&"first-contentful-paint"===e.name&&e.startTime=0;n-=1){var r=e[n];if(t(r,n,e))return r}}(e,function(e){return e.entryType===rM.LARGEST_CONTENTFUL_PAINT&&e.startTime=0?o:0,time:t.startTime,targetSelector:i})}}).unsubscribe}).stop,{stop:function(){k(),L(),z(),Y(),I.stop()},initialViewMetrics:T}):{stop:Z,initialViewMetrics:{}},em=ev.stop,eg=ev.initialViewMetrics,eb={stop:(J=nl({lifeCycle:e,isChildEvent:function(e){return e.view.id===et},onChange:ec})).stop,eventCounts:J.eventCounts},ew=eb.stop,e_=eb.eventCounts,eE=B(ex,3e5);function ex(){es(),eo+=1;var t=void 0===$?eS():$.timeStamp;e.notify(3,{customTimings:er,documentVersion:eo,id:et,name:X,service:Q,version:ee,loadingType:o,location:ei,startClocks:i,commonViewMetrics:eh(),initialViewMetrics:eg,duration:t-i.timeStamp,isActive:void 0===$,sessionIsActive:ea,eventCounts:e_})}return ex(),{name:X,service:Q,version:ee,stopObservable:en,end:function(t){var n,r,o=this;void 0===t&&(t={}),$||($=null!==(n=t.endClocks)&&void 0!==n?n:eT(),ea=null===(r=t.sessionIsActive)||void 0===r||r,e.notify(4,{endClocks:$}),V(eE),ep(),ex(),U(function(){o.stop()},3e5))},stop:function(){em(),ew(),en.notify()},addTiming:function(e,t){if(!$){var n,r=t<31536e6?t:t-i.timeStamp;er[(n=e.replace(/[^a-zA-Z0-9-_.@$]/g,"_"))!==e&&R.warn("Invalid timing name: ".concat(e,", sanitized to: ").concat(n)),n]=r,ec()}}}}(t,n,r,e,o,i,a);return c.add(u),u.stopObservable.subscribe(function(){c.delete(u)}),u}return t.subscribe(8,function(){s=l("route_change",void 0,{name:s.name,service:s.service,version:s.version})}),t.subscribe(7,function(){s.end({sessionIsActive:!1})}),t.subscribe(9,function(e){(e.reason===tU.UNLOADING||e.reason===tU.PAGEHIDE)&&s.end()}),i&&(u=o.subscribe(function(e){var t,n,r;t=e.oldLocation,n=e.newLocation,t.pathname===n.pathname&&(r=n.hash.substr(1),document.getElementById(r)||n$(n.hash)===n$(t.hash))||(s.end(),s=l("route_change"))})),{addTiming:function(e,t){void 0===t&&(t=eS()),s.addTiming(e,t)},startView:function(e,t){s.end({endClocks:t}),s=l("route_change",t,e)},stop:function(){null==u||u.unsubscribe(),s.end(),c.forEach(function(e){return e.stop()})}}}(E,N,eF,t,eV,!t.trackViewsManually,i)),e$=eJ.addTiming,e4=eJ.startView,e9=eJ.stop;L.push(e9);var te=(a=S=new ef,(u=[A.error].map(function(e){var t;return nG[e]||(nG[e]=t=new ef(function(){var n=C[e];return C[e]=function(){for(var r=[],o=0;on.bytesLimit}t(void 0,e,a)}(function e(){r.read().then(D(function(t){if(t.done){a();return}n.collectStreamBody&&o.push(t.value),(i+=t.value.length)>n.bytesLimit?a():e()}),D(function(e){return t(e)}))})()}(o.body,function(){var t;n((t=e.startClocks.timeStamp,eS()-t))},{bytesLimit:Number.POSITIVE_INFINITY,collectStreamBody:!1}):n((r=e.startClocks.timeStamp,eS()-r))}}),function(e,t){var n;if(n=function(n){t0(e,t,[n])},tF(t,"interactive",function(){var e,t={entryType:rM.RESOURCE,initiatorType:tB,traceId:function(e){var t,n,r=(t=e.querySelector("meta[name=dd-trace-id]"),n=e.querySelector("meta[name=dd-trace-time]"),tY(t&&t.content,n&&n.content)||function(e){var t=function(e){for(var t=0;t=0;t-=1){var r=e.body.childNodes[t],n=tJ(r);if(n)return n;if(r.nodeType!==Node.TEXT_NODE)break}}(e);if(t)return tY(eC(t,"trace-id"),eC(t,"trace-time"))}(e));if(!(!r||r.traceTime<=eS()-12e4))return r.traceId}(document),toJSON:function(){return Q({},e,{toJSON:void 0})}};if(tX(rM.NAVIGATION)&&performance.getEntriesByType(rM.NAVIGATION).length>0)e=Q(performance.getEntriesByType(rM.NAVIGATION)[0].toJSON(),t);else{var r=tQ();e=Q(r,{decodedBodySize:0,duration:r.responseEnd,name:window.location.href,startTime:0},t)}n(e)}),t$()){var r=performance.getEntries();U(function(){return t0(e,t,r)})}if(window.PerformanceObserver){var o=D(function(n){return t0(e,t,n.getEntries())}),i=[rM.RESOURCE,rM.NAVIGATION,rM.LONG_TASK,rM.PAINT],a=[rM.LARGEST_CONTENTFUL_PAINT,rM.FIRST_INPUT,rM.LAYOUT_SHIFT,rM.EVENT];try{a.forEach(function(e){new window.PerformanceObserver(o).observe({type:e,buffered:!0,durationThreshold:40})})}catch(e){i.push.apply(i,a)}new PerformanceObserver(o).observe({entryTypes:i}),t$()&&"addEventListener"in performance&&eM(t,performance,"resourcetimingbufferfull",function(){performance.clearResourceTimings()})}tX(rM.NAVIGATION)||function(e,t){function n(){t(Q(tQ(),{entryType:rM.NAVIGATION}))}tF(e,"complete",function(){U(n)})}(t,function(n){t0(e,t,[n])}),tX(rM.FIRST_INPUT)||function(e,t){var n=eS(),r=!1,o=eG(e,window,["click","mousedown","keydown","touchstart","pointerdown"],function(t){if(t.cancelable){var n={entryType:rM.FIRST_INPUT,processingStart:eO(),processingEnd:eO(),startTime:t.timeStamp,duration:0,name:""};"pointerdown"===t.type?eG(e,window,["pointerup","pointercancel"],function(e){"pointerup"===e.type&&i(n)},{once:!0}):i(n)}},{passive:!0,capture:!0}).stop;function i(e){if(!r){r=!0,o();var i=e.processingStart-e.startTime;i>=0&&i=0?r="back-forward-cache":n&&(document.prerendering||r2()>0?r="prerender":document.wasDiscarded?r="restore":n.type&&(r=n.type.replace(/_/g,"-"))),{name:e,value:void 0===t?-1:t,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},r3=function(e,t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(e)){var r=new PerformanceObserver(function(e){Promise.resolve().then(function(){t(e.getEntries())})});return r.observe(Object.assign({type:e,buffered:!0},n||{})),r}}catch(e){}},r6=function(e,t,n,r){var o,i;return function(a){var u;t.value>=0&&(a||r)&&((i=t.value-(o||0))||void 0===o)&&(o=t.value,t.delta=i,t.rating=(u=t.value)>n[1]?"poor":u>n[0]?"needs-improvement":"good",e(t))}},r5=function(e){requestAnimationFrame(function(){return requestAnimationFrame(function(){return e()})})},r9=function(e){var t=function(t){"pagehide"!==t.type&&"hidden"!==document.visibilityState||e(t)};addEventListener("visibilitychange",t,!0),addEventListener("pagehide",t,!0)},r7=function(e){var t=!1;return function(n){t||(e(n),t=!0)}},r8=-1,oe=function(){return"hidden"!==document.visibilityState||document.prerendering?1/0:0},ot=function(e){"hidden"===document.visibilityState&&r8>-1&&(r8="visibilitychange"===e.type?e.timeStamp:0,or())},on=function(){addEventListener("visibilitychange",ot,!0),addEventListener("prerenderingchange",ot,!0)},or=function(){removeEventListener("visibilitychange",ot,!0),removeEventListener("prerenderingchange",ot,!0)},oo=function(){return r8<0&&(r8=oe(),on(),r0(function(){setTimeout(function(){r8=oe(),on()},0)})),{get firstHiddenTime(){return r8}}},oi=function(e){document.prerendering?addEventListener("prerenderingchange",function(){return e()},!0):e()},oa=[1800,3e3],ou=function(e,t){t=t||{},oi(function(){var n,r=oo(),o=r4("FCP"),i=r3("paint",function(e){e.forEach(function(e){"first-contentful-paint"===e.name&&(i.disconnect(),e.startTimer.value&&(r.value=o,r.entries=i,n())},u=r3("layout-shift",a);u&&(n=r6(e,r,oc,t.reportAllChanges),r9(function(){a(u.takeRecords()),n(!0)}),r0(function(){o=0,n=r6(e,r=r4("CLS",0),oc,t.reportAllChanges),r5(function(){return n()})}),setTimeout(n,0))}))},ol={passive:!0,capture:!0},of=new Date,od=function(e,t){rK||(rK=t,rY=e,rJ=new Date,ov(removeEventListener),op())},op=function(){if(rY>=0&&rY1e12?new Date:performance.now())-e.timeStamp;"pointerdown"==e.type?(t=function(){od(o,e),r()},n=function(){r()},r=function(){removeEventListener("pointerup",t,ol),removeEventListener("pointercancel",n,ol)},addEventListener("pointerup",t,ol),addEventListener("pointercancel",n,ol)):od(o,e)}},ov=function(e){["mousedown","keydown","touchstart","pointerdown"].forEach(function(t){return e(t,oh,ol)})},om=[100,300],og=function(e,t){t=t||{},oi(function(){var n,r=oo(),o=r4("FID"),i=function(e){e.startTimet.latency){if(n)n.entries.push(e),n.latency=Math.max(n.latency,e.duration);else{var r={id:e.interactionId,latency:e.duration,entries:[e]};oA[r.id]=r,ok.push(r)}ok.sort(function(e,t){return t.latency-e.latency}),ok.splice(10).forEach(function(e){delete oA[e.id]})}},oP=function(e,t){t=t||{},oi(function(){oS();var n,r,o=r4("INP"),i=function(e){e.forEach(function(e){e.interactionId&&oC(e),"first-input"!==e.entryType||ok.some(function(t){return t.entries.some(function(t){return e.duration===t.duration&&e.startTime===t.startTime})})||oC(e)});var t,n=(t=Math.min(ok.length-1,Math.floor(ox()/50)),ok[t]);n&&n.latency!==o.value&&(o.value=n.latency,o.entries=n.entries,r())},a=r3("event",i,{durationThreshold:null!==(n=t.durationThreshold)&&void 0!==n?n:40});r=r6(e,o,oO,t.reportAllChanges),a&&("PerformanceEventTiming"in window&&"interactionId"in PerformanceEventTiming.prototype&&a.observe({type:"first-input",buffered:!0}),r9(function(){i(a.takeRecords()),o.value<0&&ox()>0&&(o.value=0,o.entries=[]),r(!0)}),r0(function(){ok=[],oT=oE(),r=r6(e,o=r4("INP"),oO,t.reportAllChanges)}))})},oI=[2500,4e3],oR={},oj=function(e,t){t=t||{},oi(function(){var n,r=oo(),o=r4("LCP"),i=function(e){var t=e[e.length-1];t&&t.startTimeperformance.now())return;n.value=Math.max(i-r2(),0),n.entries=[o],r(!0),r0(function(){(r=r6(e,n=r4("TTFB",0),oL,t.reportAllChanges))(!0)})}})},oM=n(83325);function oG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oU(e){for(var t=1;t cookie.split("=")[0]);\n const hasPreviewCookies = cookieNames.includes("__prerender_bypass") && cookieNames.includes("__next_preview_data");\n \n if (!hasPreviewCookies) {\n window.location.href = "/api/preview?slug=" + window.location.pathname;\n }\n })();\n '}})})}var oW=n(18684),oz=n(15536),oq=n(5152),oK=n.n(oq),oY=function(e){var t,n=e.pageProps,r=rv(n,e.path).split(" ");return r.includes("page-download")?(0,s.tZ)(oX,{}):r.includes("page-feature")?(0,s.tZ)(o$,{}):r.includes("jobs-landing")||r.includes("jobs-team")||r.includes("jobs-office")||r.includes("jobs-apply")?(0,s.tZ)(oJ,{bodyClass:null==n||null===(t=n.page)||void 0===t?void 0:t.body_class}):null},oJ=oK()(function(){return Promise.all([n.e(47642),n.e(60648)]).then(n.bind(n,60648))},{loadableGenerated:{webpack:function(){return[60648]}}}),o$=oK()(function(){return Promise.all([n.e(50704),n.e(58643)]).then(n.bind(n,58643))},{loadableGenerated:{webpack:function(){return[58643]}}}),oX=oK()(function(){return Promise.all([n.e(9266),n.e(59820)]).then(n.bind(n,59820))},{loadableGenerated:{webpack:function(){return[59820]}}}),oQ=n(95484),o0=n(97248),o1=n(88769);function o2(){var e=(0,i.useContext)(T.lX).functional;return(0,i.useEffect)(function(){if(e)try{!function(){var e=window.location.pathname,t=null;if("/"===e||"/product"===e||"/home"===e?t=45066:"/pricing"===e&&(t=50078),t&&!window.AsanaHelpers.specialPlatform()){var n=document.createElement("script");n.src="https://ethn.io/"+t+".js",document.head.appendChild(n)}}()}catch(e){console.error("Problem loading Ethnio",e),"string"==typeof e&&window.AsanaErrors.notifyException(e)}},[e]),null}var o4=n(6527),o3=n(29326);function o6(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function o5(e){var t,n,u=e.Component,h=e.pageProps,v=(0,a.useRouter)().asPath,m=(0,ra.cleanPath)(v);(0,i.useEffect)(function(){window.AsanaTimings.setTiming("reactAppMount"),"retrieveAndTrackSourceVisit"in window.AsanaHelpers||(window.AsanaHelpers.getFullVisitAttribution=o4.m0,window.AsanaHelpers.retrieveAndTrackSourceVisit=o4.pr),(0,o4.pr)()},[]),(0,i.useEffect)(function(){if(console.debug("This page was rendered with content from ".concat(h.globals.dataSource)),h.page.clientLogs)for(var e=0,t=h.page.clientLogs;e2){var c=r.lastIndexOf("/");if(c!==r.length-1){-1===c?(r="",o=0):o=(r=r.slice(0,c)).length-1-r.lastIndexOf("/"),i=u,a=0;continue}}else if(2===r.length||1===r.length){r="",o=0,i=u,a=0;continue}}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(i+1,u):r=e.slice(i+1,u),o=u-i-1;i=u,a=0}else 46===n&&-1!==a?++a:a=-1}return r}var r={resolve:function(){for(var e,r,o="",i=!1,a=arguments.length-1;a>=-1&&!i;a--)a>=0?r=arguments[a]:(void 0===e&&(e=""),r=e),t(r),0!==r.length&&(o=r+"/"+o,i=47===r.charCodeAt(0));return(o=n(o,!i),i)?o.length>0?"/"+o:"/":o.length>0?o:"."},normalize:function(e){if(t(e),0===e.length)return".";var r=47===e.charCodeAt(0),o=47===e.charCodeAt(e.length-1);return(0!==(e=n(e,!r)).length||r||(e="."),e.length>0&&o&&(e+="/"),r)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,n=0;n0&&(void 0===e?e=o:e+="/"+o)}return void 0===e?".":r.normalize(e)},relative:function(e,n){if(t(e),t(n),e===n||(e=r.resolve(e))===(n=r.resolve(n)))return"";for(var o=1;os){if(47===n.charCodeAt(u+f))return n.slice(u+f+1);if(0===f)return n.slice(u+f)}else a>s&&(47===e.charCodeAt(o+f)?l=f:0===f&&(l=0));break}var d=e.charCodeAt(o+f);if(d!==n.charCodeAt(u+f))break;47===d&&(l=f)}var p="";for(f=o+l+1;f<=i;++f)(f===i||47===e.charCodeAt(f))&&(0===p.length?p+="..":p+="/..");return p.length>0?p+n.slice(u+l):(u+=l,47===n.charCodeAt(u)&&++u,n.slice(u))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var n=e.charCodeAt(0),r=47===n,o=-1,i=!0,a=e.length-1;a>=1;--a)if(47===(n=e.charCodeAt(a))){if(!i){o=a;break}}else i=!1;return -1===o?r?"/":".":r&&1===o?"//":e.slice(0,o)},basename:function(e,n){if(void 0!==n&&"string"!=typeof n)throw TypeError('"ext" argument must be a string');t(e);var r,o=0,i=-1,a=!0;if(void 0!==n&&n.length>0&&n.length<=e.length){if(n.length===e.length&&n===e)return"";var u=n.length-1,c=-1;for(r=e.length-1;r>=0;--r){var s=e.charCodeAt(r);if(47===s){if(!a){o=r+1;break}}else -1===c&&(a=!1,c=r+1),u>=0&&(s===n.charCodeAt(u)?-1==--u&&(i=r):(u=-1,i=c))}return o===i?i=c:-1===i&&(i=e.length),e.slice(o,i)}for(r=e.length-1;r>=0;--r)if(47===e.charCodeAt(r)){if(!a){o=r+1;break}}else -1===i&&(a=!1,i=r+1);return -1===i?"":e.slice(o,i)},extname:function(e){t(e);for(var n=-1,r=0,o=-1,i=!0,a=0,u=e.length-1;u>=0;--u){var c=e.charCodeAt(u);if(47===c){if(!i){r=u+1;break}continue}-1===o&&(i=!1,o=u+1),46===c?-1===n?n=u:1!==a&&(a=1):-1!==n&&(a=-1)}return -1===n||-1===o||0===a||1===a&&n===o-1&&n===r+1?"":e.slice(n,o)},format:function(e){var t,n;if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return t=e.dir||e.root,n=e.base||(e.name||"")+(e.ext||""),t?t===e.root?t+n:t+"/"+n:n},parse:function(e){t(e);var n,r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var o=e.charCodeAt(0),i=47===o;i?(r.root="/",n=1):n=0;for(var a=-1,u=0,c=-1,s=!0,l=e.length-1,f=0;l>=n;--l){if(47===(o=e.charCodeAt(l))){if(!s){u=l+1;break}continue}-1===c&&(s=!1,c=l+1),46===o?-1===a?a=l:1!==f&&(f=1):-1!==a&&(f=-1)}return -1===a||-1===c||0===f||1===f&&a===c-1&&a===u+1?-1!==c&&(0===u&&i?r.base=r.name=e.slice(1,c):r.base=r.name=e.slice(u,c)):(0===u&&i?(r.name=e.slice(1,a),r.base=e.slice(1,c)):(r.name=e.slice(u,a),r.base=e.slice(u,c)),r.ext=e.slice(a,c)),u>0?r.dir=e.slice(0,u-1):i&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};r.posix=r,e.exports=r}},n={};function r(e){var o=n[e];if(void 0!==o)return o.exports;var i=n[e]={exports:{}},a=!0;try{t[e](i,i.exports,r),a=!1}finally{a&&delete n[e]}return i.exports}r.ab="//";var o=r(114);e.exports=o}()},5152:function(e,t,n){e.exports=n(76985)},9008:function(e,t,n){e.exports=n(50643)},39332:function(e,t,n){e.exports=n(31892)},11163:function(e,t,n){e.exports=n(57806)},53410:function(e){function t(e){return function(t,n,r,i){var a,u=i&&"function"==typeof i.normalizer?i.normalizer:o;n=u(n);for(var c=!1;!c;)!function(){for(a in t){var e=u(a);if(0===n.indexOf(e)){var r=n.substr(e.length);if("."===r.charAt(0)||0===r.length){n=r.substr(1);var o=t[a];if(null==o||!n.length){c=!0;return}t=o;return}}}a=void 0,c=!0}();if(a)return null==t?t:e(t,a,r)}}function n(e,t){return e.hasOwnProperty(t)&&delete e[t],e}function r(e,t,n){return e.hasOwnProperty(t)&&(e[t]=n),e}function o(e){return e.replace(/[^a-zA-Z0-9\.]+/g,"").toLowerCase()}e.exports=t(function(e,t){if(e.hasOwnProperty(t))return e[t]}),e.exports.find=e.exports,e.exports.replace=function(e,n,o,i){return t(r).call(this,e,n,o,i),e},e.exports.del=function(e,r,o){return t(n).call(this,e,r,null,o),e}},34155:function(e){var t,n,r,o=e.exports={};function i(){throw Error("setTimeout has not been defined")}function a(){throw Error("clearTimeout has not been defined")}function u(e){if(t===setTimeout)return setTimeout(e,0);if((t===i||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:i}catch(e){t=i}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var c=[],s=!1,l=-1;function f(){s&&r&&(s=!1,r.length?c=r.concat(c):l=-1,c.length&&d())}function d(){if(!s){var e=u(f);s=!0;for(var t=c.length;t;){for(r=c,c=[];++l1)for(var n=1;n256){for(r=Array(t=256);t--;)r[t]=256*Math.random()|0;t=o=0}for(;t<16;t++)e=r[o+t],6==t?n+=i[15&e|64]:8==t?n+=i[63&e|128]:n+=i[e],1&t&&t>1&&t<11&&(n+="-");return o++,n}},96475:function(e,t,n){"use strict";function r(e,t,n){t.split&&(t=t.split("."));for(var r,o,i=0,a=t.length,u=e;ie.length)&&(t=e.length);for(var n=0,r=Array(t);n=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}n.d(t,{Z:function(){return r}})},17674:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(14666),o=n(2937),i=n(14882);function a(e,t){return(0,r.Z)(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,u=[],c=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=i.call(n)).done)&&(u.push(r.value),u.length!==t);c=!0);}catch(e){s=!0,o=e}finally{try{if(!c&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(s)throw o}}return u}}(e,t)||(0,o.Z)(e,t)||(0,i.Z)()}},96714:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(86831);function o(e){var t=function(e,t){if("object"!==(0,r.Z)(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!==(0,r.Z)(o))return o;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,r.Z)(t)?t:String(t)}},86831:function(e,t,n){"use strict";function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}n.d(t,{Z:function(){return r}})},2937:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(52587);function o(e,t){if(e){if("string"==typeof e)return(0,r.Z)(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return(0,r.Z)(e,t)}}},97582:function(e,t,n){"use strict";n.d(t,{CR:function(){return s},Jh:function(){return c},ZT:function(){return o},_T:function(){return a},ev:function(){return l},mG:function(){return u},pi:function(){return i}});var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function(e){for(var t,n=1,r=arguments.length;nt.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);ot.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function u(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function u(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,u)}c((r=r.apply(e,t||[])).next())})}function c(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:u(0),throw:u(1),return:u(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function u(u){return function(c){return function(u){if(n)throw TypeError("Generator is already executing.");for(;i&&(i=0,u[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&u[0]?r.return:u[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,u[1])).done)return o;switch(r=0,o&&(u=[2&u[0],o.value]),u[0]){case 0:case 1:o=u;break;case 4:return a.label++,{value:u[1],done:!1};case 5:a.label++,r=u[1],u=[0];continue;case 7:u=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===u[0]||2===u[0])){a=0;continue}if(3===u[0]&&(!o||u[1]>o[0]&&u[1]0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function l(e,t,n){if(n||2==arguments.length)for(var r,o=0,i=t.length;o